From 94c9f6af61ba806257e41eacb305acabc34c0dca Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Sat, 17 Sep 2022 18:11:15 +0200 Subject: [PATCH] Google APIs updated at 2022-09-17 (#20) Co-authored-by: GitHub Actions <> --- .../genproto/ccc.hosted.marketplace.v2.rs | 112 +- gcloud-sdk/genproto/google.actions.r#type.rs | 102 +- .../google.actions.sdk.v2.conversation.rs | 466 +- ....actions.sdk.v2.interactionmodel.prompt.rs | 460 +- ....actions.sdk.v2.interactionmodel.r#type.rs | 112 +- .../google.actions.sdk.v2.interactionmodel.rs | 312 +- gcloud-sdk/genproto/google.actions.sdk.v2.rs | 1456 +- gcloud-sdk/genproto/google.ads.admob.v1.rs | 618 +- .../google.ads.googleads.v10.common.rs | 5284 ++--- .../google.ads.googleads.v10.enums.rs | 8686 ++++---- .../google.ads.googleads.v10.errors.rs | 6374 +++--- .../google.ads.googleads.v10.resources.rs | 7248 +++---- .../google.ads.googleads.v10.services.rs | 7932 ++++---- .../google.ads.googleads.v11.common.rs | 5406 ++--- .../google.ads.googleads.v11.enums.rs | 9100 ++++----- .../google.ads.googleads.v11.errors.rs | 6450 +++--- .../google.ads.googleads.v11.resources.rs | 7404 +++---- .../google.ads.googleads.v11.services.rs | 8428 ++++---- .../google.ads.googleads.v9.common.rs | 4560 ++--- .../genproto/google.ads.googleads.v9.enums.rs | 8260 ++++---- .../google.ads.googleads.v9.errors.rs | 6094 +++--- .../google.ads.googleads.v9.resources.rs | 6868 +++---- .../google.ads.googleads.v9.services.rs | 8012 ++++---- .../google.analytics.admin.v1alpha.rs | 2802 +-- .../genproto/google.analytics.admin.v1beta.rs | 1344 +- .../genproto/google.analytics.data.v1alpha.rs | 1392 +- .../genproto/google.analytics.data.v1beta.rs | 1422 +- gcloud-sdk/genproto/google.api.apikeys.v2.rs | 238 +- .../google.api.expr.conformance.v1alpha1.rs | 94 +- .../genproto/google.api.expr.v1alpha1.rs | 752 +- .../genproto/google.api.expr.v1beta1.rs | 458 +- gcloud-sdk/genproto/google.api.rs | 3070 +-- .../genproto/google.api.servicecontrol.v1.rs | 930 +- .../genproto/google.api.servicecontrol.v2.rs | 88 +- .../google.api.servicemanagement.v1.rs | 450 +- .../genproto/google.api.serviceusage.v1.rs | 262 +- .../google.api.serviceusage.v1beta1.rs | 864 +- .../genproto/google.appengine.legacy.rs | 10 +- .../genproto/google.appengine.logging.v1.rs | 146 +- gcloud-sdk/genproto/google.appengine.v1.rs | 2124 +- .../genproto/google.appengine.v1beta.rs | 2118 +- .../google.apps.alertcenter.v1beta1.rs | 374 +- .../genproto/google.apps.drive.activity.v2.rs | 694 +- .../google.apps.script.r#type.calendar.rs | 74 +- .../google.apps.script.r#type.docs.rs | 16 +- .../google.apps.script.r#type.drive.rs | 20 +- .../google.apps.script.r#type.gmail.rs | 112 +- .../genproto/google.apps.script.r#type.rs | 150 +- .../google.apps.script.r#type.sheets.rs | 16 +- .../google.apps.script.r#type.slides.rs | 16 +- .../google.area120.tables.v1alpha1.rs | 284 +- .../google.assistant.embedded.v1alpha1.rs | 236 +- .../google.assistant.embedded.v1alpha2.rs | 442 +- .../genproto/google.bigtable.admin.v2.rs | 1658 +- gcloud-sdk/genproto/google.bigtable.v2.rs | 866 +- gcloud-sdk/genproto/google.bytestream.rs | 90 +- gcloud-sdk/genproto/google.chat.logging.v1.rs | 16 +- .../google.chromeos.moblab.v1beta1.rs | 240 +- .../google.chromeos.uidetection.v1.rs | 68 +- .../google.cloud.accessapproval.v1.rs | 328 +- .../google.cloud.aiplatform.logging.rs | 18 +- .../genproto/google.cloud.aiplatform.v1.rs | 11748 +++++------ ...d.aiplatform.v1.schema.predict.instance.rs | 180 +- ...oud.aiplatform.v1.schema.predict.params.rs | 112 +- ...aiplatform.v1.schema.predict.prediction.rs | 248 +- ...atform.v1.schema.trainingjob.definition.rs | 666 +- .../google.cloud.aiplatform.v1beta1.rs | 12080 +++++------ ...latform.v1beta1.schema.predict.instance.rs | 180 +- ...iplatform.v1beta1.schema.predict.params.rs | 112 +- ...tform.v1beta1.schema.predict.prediction.rs | 252 +- .../google.cloud.aiplatform.v1beta1.schema.rs | 340 +- ...m.v1beta1.schema.trainingjob.definition.rs | 876 +- .../genproto/google.cloud.apigateway.v1.rs | 428 +- .../genproto/google.cloud.apigeeconnect.v1.rs | 162 +- .../google.cloud.apigeeregistry.v1.rs | 946 +- gcloud-sdk/genproto/google.cloud.asset.v1.rs | 3094 +-- .../genproto/google.cloud.asset.v1p1beta1.rs | 200 +- .../genproto/google.cloud.asset.v1p2beta1.rs | 280 +- .../genproto/google.cloud.asset.v1p5beta1.rs | 160 +- .../genproto/google.cloud.asset.v1p7beta1.rs | 538 +- ...orkloads.regulatoryintercept.logging.v1.rs | 8 +- .../google.cloud.assuredworkloads.v1.rs | 296 +- .../google.cloud.assuredworkloads.v1beta1.rs | 432 +- gcloud-sdk/genproto/google.cloud.audit.rs | 1114 +- gcloud-sdk/genproto/google.cloud.automl.v1.rs | 2254 +-- .../genproto/google.cloud.automl.v1beta1.rs | 2602 +-- .../google.cloud.baremetalsolution.v2.rs | 688 +- gcloud-sdk/genproto/google.cloud.batch.v1.rs | 820 +- .../genproto/google.cloud.batch.v1alpha.rs | 960 +- ...ogle.cloud.beyondcorp.appconnections.v1.rs | 328 +- ...oogle.cloud.beyondcorp.appconnectors.v1.rs | 342 +- .../google.cloud.beyondcorp.appgateways.v1.rs | 214 +- ...d.beyondcorp.clientconnectorservices.v1.rs | 248 +- ...ogle.cloud.beyondcorp.clientgateways.v1.rs | 148 +- .../google.cloud.bigquery.analyticshub.v1.rs | 354 +- .../google.cloud.bigquery.connection.v1.rs | 204 +- ...oogle.cloud.bigquery.connection.v1beta1.rs | 120 +- ...gle.cloud.bigquery.dataexchange.v1beta1.rs | 354 +- ...gle.cloud.bigquery.datapolicies.v1beta1.rs | 156 +- .../google.cloud.bigquery.datatransfer.v1.rs | 816 +- .../google.cloud.bigquery.logging.v1.rs | 478 +- .../google.cloud.bigquery.migration.v2.rs | 564 +- ...google.cloud.bigquery.migration.v2alpha.rs | 610 +- .../google.cloud.bigquery.reservation.v1.rs | 530 +- ...ogle.cloud.bigquery.reservation.v1beta1.rs | 432 +- .../google.cloud.bigquery.storage.v1.rs | 824 +- .../google.cloud.bigquery.storage.v1beta1.rs | 310 +- .../google.cloud.bigquery.storage.v1beta2.rs | 566 +- .../genproto/google.cloud.bigquery.v2.rs | 1070 +- .../google.cloud.billing.budgets.v1.rs | 398 +- .../google.cloud.billing.budgets.v1beta1.rs | 410 +- .../genproto/google.cloud.billing.v1.rs | 428 +- .../google.cloud.binaryauthorization.v1.rs | 422 +- ...oogle.cloud.binaryauthorization.v1beta1.rs | 460 +- ...gle.cloud.certificatemanager.logging.v1.rs | 24 +- .../google.cloud.certificatemanager.v1.rs | 584 +- .../genproto/google.cloud.channel.v1.rs | 2036 +- .../google.cloud.clouddms.logging.v1.rs | 248 +- .../genproto/google.cloud.clouddms.v1.rs | 866 +- .../google.cloud.cloudsetup.logging.v1.rs | 54 +- ....commerce.consumer.procurement.v1alpha1.rs | 262 +- gcloud-sdk/genproto/google.cloud.common.rs | 22 +- .../genproto/google.cloud.compute.v1.rs | 16826 ++++++++-------- .../genproto/google.cloud.compute.v1small.rs | 336 +- .../genproto/google.cloud.connectors.v1.rs | 1032 +- .../google.cloud.contactcenterinsights.v1.rs | 1396 +- .../google.cloud.contentwarehouse.v1.rs | 1796 +- .../genproto/google.cloud.datacatalog.v1.rs | 2056 +- .../google.cloud.datacatalog.v1beta1.rs | 1282 +- .../google.cloud.dataform.v1alpha2.rs | 882 +- .../genproto/google.cloud.dataform.v1beta1.rs | 884 +- .../genproto/google.cloud.datafusion.v1.rs | 376 +- .../google.cloud.datafusion.v1beta1.rs | 460 +- .../google.cloud.datalabeling.v1beta1.rs | 2018 +- .../genproto/google.cloud.dataplex.v1.rs | 2474 +-- .../genproto/google.cloud.dataproc.logging.rs | 108 +- .../genproto/google.cloud.dataproc.v1.rs | 3452 ++-- .../genproto/google.cloud.dataqna.v1alpha.rs | 532 +- .../genproto/google.cloud.datastream.v1.rs | 1324 +- .../google.cloud.datastream.v1alpha1.rs | 966 +- gcloud-sdk/genproto/google.cloud.deploy.v1.rs | 1206 +- .../genproto/google.cloud.dialogflow.cx.v3.rs | 5786 +++--- .../google.cloud.dialogflow.cx.v3beta1.rs | 5784 +++--- .../genproto/google.cloud.dialogflow.v2.rs | 6092 +++--- .../google.cloud.dialogflow.v2beta1.rs | 6780 +++---- .../genproto/google.cloud.documentai.v1.rs | 1370 +- .../google.cloud.documentai.v1beta1.rs | 630 +- .../google.cloud.documentai.v1beta2.rs | 694 +- .../google.cloud.documentai.v1beta3.rs | 1432 +- .../genproto/google.cloud.domains.v1.rs | 750 +- .../genproto/google.cloud.domains.v1alpha2.rs | 750 +- .../genproto/google.cloud.domains.v1beta1.rs | 750 +- .../genproto/google.cloud.edgecontainer.v1.rs | 546 +- .../google.cloud.essentialcontacts.v1.rs | 236 +- .../google.cloud.eventarc.publishing.v1.rs | 20 +- .../genproto/google.cloud.eventarc.v1.rs | 586 +- .../genproto/google.cloud.filestore.v1.rs | 450 +- .../google.cloud.filestore.v1beta1.rs | 476 +- .../genproto/google.cloud.functions.v1.rs | 712 +- .../genproto/google.cloud.functions.v2.rs | 746 +- .../google.cloud.functions.v2alpha.rs | 746 +- .../genproto/google.cloud.functions.v2beta.rs | 746 +- gcloud-sdk/genproto/google.cloud.gaming.v1.rs | 884 +- .../genproto/google.cloud.gaming.v1beta.rs | 810 +- .../google.cloud.gkebackup.logging.v1.rs | 532 +- .../genproto/google.cloud.gkebackup.v1.rs | 1500 +- ....cloud.gkehub.cloudauditlogging.v1alpha.rs | 12 +- ...google.cloud.gkehub.configmanagement.v1.rs | 266 +- ...e.cloud.gkehub.configmanagement.v1alpha.rs | 288 +- ...le.cloud.gkehub.configmanagement.v1beta.rs | 284 +- .../google.cloud.gkehub.metering.v1alpha.rs | 10 +- .../google.cloud.gkehub.metering.v1beta.rs | 10 +- ...gle.cloud.gkehub.multiclusteringress.v1.rs | 8 +- ...loud.gkehub.multiclusteringress.v1alpha.rs | 18 +- ...cloud.gkehub.multiclusteringress.v1beta.rs | 18 +- ...google.cloud.gkehub.servicemesh.v1alpha.rs | 88 +- gcloud-sdk/genproto/google.cloud.gkehub.v1.rs | 798 +- .../genproto/google.cloud.gkehub.v1alpha.rs | 328 +- .../genproto/google.cloud.gkehub.v1alpha2.rs | 514 +- .../genproto/google.cloud.gkehub.v1beta.rs | 322 +- .../genproto/google.cloud.gkehub.v1beta1.rs | 660 +- .../genproto/google.cloud.gkemulticloud.v1.rs | 1808 +- .../google.cloud.gsuiteaddons.logging.v1.rs | 20 +- .../genproto/google.cloud.gsuiteaddons.v1.rs | 146 +- .../google.cloud.healthcare.logging.rs | 166 +- gcloud-sdk/genproto/google.cloud.iap.v1.rs | 366 +- .../google.cloud.identitytoolkit.logging.rs | 70 +- .../google.cloud.identitytoolkit.v2.rs | 176 +- .../genproto/google.cloud.ids.logging.v1.rs | 86 +- gcloud-sdk/genproto/google.cloud.ids.v1.rs | 170 +- .../google.cloud.integrations.v1alpha.rs | 482 +- gcloud-sdk/genproto/google.cloud.iot.v1.rs | 796 +- gcloud-sdk/genproto/google.cloud.kms.v1.rs | 2504 +-- .../genproto/google.cloud.language.v1.rs | 830 +- .../genproto/google.cloud.language.v1beta1.rs | 704 +- .../genproto/google.cloud.language.v1beta2.rs | 836 +- .../google.cloud.lifesciences.v2beta.rs | 714 +- gcloud-sdk/genproto/google.cloud.location.rs | 38 +- .../google.cloud.managedidentities.v1.rs | 324 +- .../google.cloud.managedidentities.v1beta1.rs | 334 +- .../google.cloud.mediatranslation.v1alpha1.rs | 280 +- .../google.cloud.mediatranslation.v1beta1.rs | 170 +- .../genproto/google.cloud.memcache.v1.rs | 280 +- .../genproto/google.cloud.memcache.v1beta2.rs | 312 +- .../google.cloud.metastore.logging.v1.rs | 12 +- .../genproto/google.cloud.metastore.v1.rs | 870 +- .../google.cloud.metastore.v1alpha.rs | 1014 +- .../genproto/google.cloud.metastore.v1beta.rs | 934 +- ...google.cloud.networkanalyzer.logging.v1.rs | 58 +- .../google.cloud.networkconnectivity.v1.rs | 456 +- ...ogle.cloud.networkconnectivity.v1alpha1.rs | 338 +- .../google.cloud.networkmanagement.v1.rs | 1026 +- .../google.cloud.networkmanagement.v1beta1.rs | 1190 +- .../google.cloud.networksecurity.v1.rs | 514 +- .../google.cloud.networksecurity.v1beta1.rs | 528 +- .../google.cloud.networkservices.v1.rs | 1730 +- .../google.cloud.networkservices.v1beta1.rs | 248 +- .../google.cloud.notebooks.logging.v1.rs | 14 +- .../genproto/google.cloud.notebooks.v1.rs | 2092 +- .../google.cloud.notebooks.v1beta1.rs | 516 +- .../genproto/google.cloud.optimization.v1.rs | 2700 +-- ....cloud.orchestration.airflow.service.v1.rs | 750 +- ...d.orchestration.airflow.service.v1beta1.rs | 958 +- .../genproto/google.cloud.orgpolicy.v1.rs | 310 +- .../genproto/google.cloud.orgpolicy.v2.rs | 392 +- .../google.cloud.osconfig.agentendpoint.v1.rs | 1260 +- ...gle.cloud.osconfig.agentendpoint.v1beta.rs | 1014 +- .../genproto/google.cloud.osconfig.v1.rs | 2586 +-- .../genproto/google.cloud.osconfig.v1alpha.rs | 1952 +- .../genproto/google.cloud.osconfig.v1beta.rs | 1564 +- .../genproto/google.cloud.oslogin.common.rs | 50 +- .../genproto/google.cloud.oslogin.v1.rs | 66 +- .../genproto/google.cloud.oslogin.v1alpha.rs | 64 +- .../genproto/google.cloud.oslogin.v1beta.rs | 66 +- ...le.cloud.paymentgateway.issuerswitch.v1.rs | 1920 +- ...google.cloud.phishingprotection.v1beta1.rs | 10 +- .../google.cloud.policytroubleshooter.v1.rs | 256 +- .../google.cloud.privatecatalog.v1beta1.rs | 310 +- .../genproto/google.cloud.pubsublite.v1.rs | 924 +- .../google.cloud.recaptchaenterprise.v1.rs | 652 +- ...oogle.cloud.recaptchaenterprise.v1beta1.rs | 252 +- ...ogle.cloud.recommendationengine.v1beta1.rs | 1020 +- .../google.cloud.recommender.logging.v1.rs | 24 +- ...oogle.cloud.recommender.logging.v1beta1.rs | 24 +- .../genproto/google.cloud.recommender.v1.rs | 748 +- .../google.cloud.recommender.v1beta1.rs | 764 +- gcloud-sdk/genproto/google.cloud.redis.v1.rs | 556 +- .../genproto/google.cloud.redis.v1beta1.rs | 578 +- .../google.cloud.resourcemanager.v2.rs | 216 +- .../google.cloud.resourcemanager.v3.rs | 1070 +- .../google.cloud.resourcesettings.v1.rs | 160 +- .../genproto/google.cloud.retail.logging.rs | 80 +- gcloud-sdk/genproto/google.cloud.retail.v2.rs | 5922 +++--- .../genproto/google.cloud.retail.v2alpha.rs | 6796 +++---- .../genproto/google.cloud.retail.v2beta.rs | 6600 +++--- gcloud-sdk/genproto/google.cloud.rs | 34 +- gcloud-sdk/genproto/google.cloud.run.v2.rs | 986 +- .../google.cloud.runtimeconfig.v1beta1.rs | 486 +- ...loud.saasaccelerator.management.logs.v1.rs | 42 +- .../genproto/google.cloud.scheduler.v1.rs | 718 +- .../google.cloud.scheduler.v1beta1.rs | 718 +- .../google.cloud.secretmanager.logging.v1.rs | 36 +- .../genproto/google.cloud.secretmanager.v1.rs | 492 +- .../genproto/google.cloud.secrets.v1beta1.rs | 242 +- .../google.cloud.security.privateca.v1.rs | 1972 +- ...google.cloud.security.privateca.v1beta1.rs | 1390 +- .../google.cloud.security.publicca.v1beta1.rs | 36 +- ...e.cloud.securitycenter.settings.v1beta1.rs | 436 +- .../google.cloud.securitycenter.v1.rs | 2912 +-- .../google.cloud.securitycenter.v1beta1.rs | 874 +- .../google.cloud.securitycenter.v1p1beta1.rs | 1548 +- .../google.cloud.servicedirectory.v1.rs | 432 +- .../google.cloud.servicedirectory.v1beta1.rs | 478 +- gcloud-sdk/genproto/google.cloud.shell.v1.rs | 260 +- gcloud-sdk/genproto/google.cloud.speech.v1.rs | 1270 +- .../genproto/google.cloud.speech.v1p1beta1.rs | 1330 +- gcloud-sdk/genproto/google.cloud.speech.v2.rs | 1636 +- gcloud-sdk/genproto/google.cloud.sql.v1.rs | 2280 +-- .../genproto/google.cloud.sql.v1beta4.rs | 2252 +-- .../google.cloud.stream.logging.v1.rs | 116 +- .../genproto/google.cloud.support.common.rs | 262 +- .../genproto/google.cloud.support.v1alpha1.rs | 94 +- gcloud-sdk/genproto/google.cloud.talent.v4.rs | 2966 +-- .../genproto/google.cloud.talent.v4beta1.rs | 3018 +-- gcloud-sdk/genproto/google.cloud.tasks.v2.rs | 1424 +- .../genproto/google.cloud.tasks.v2beta2.rs | 1720 +- .../genproto/google.cloud.tasks.v2beta3.rs | 1586 +- .../genproto/google.cloud.texttospeech.v1.rs | 254 +- .../google.cloud.texttospeech.v1beta1.rs | 278 +- .../google.cloud.timeseriesinsights.v1.rs | 840 +- gcloud-sdk/genproto/google.cloud.tpu.v1.rs | 322 +- .../genproto/google.cloud.tpu.v2alpha1.rs | 440 +- .../genproto/google.cloud.translation.v3.rs | 1396 +- .../google.cloud.translation.v3beta1.rs | 1376 +- ...oogle.cloud.video.livestream.logging.v1.rs | 90 +- .../google.cloud.video.livestream.v1.rs | 1176 +- .../google.cloud.video.stitcher.v1.rs | 636 +- .../google.cloud.video.transcoder.v1.rs | 1218 +- .../google.cloud.videointelligence.v1.rs | 818 +- .../google.cloud.videointelligence.v1beta2.rs | 316 +- ...oogle.cloud.videointelligence.v1p1beta1.rs | 384 +- ...oogle.cloud.videointelligence.v1p2beta1.rs | 396 +- ...oogle.cloud.videointelligence.v1p3beta1.rs | 990 +- gcloud-sdk/genproto/google.cloud.vision.v1.rs | 1722 +- .../genproto/google.cloud.vision.v1p1beta1.rs | 758 +- .../genproto/google.cloud.vision.v1p2beta1.rs | 904 +- .../genproto/google.cloud.vision.v1p3beta1.rs | 1568 +- .../genproto/google.cloud.vision.v1p4beta1.rs | 1754 +- .../genproto/google.cloud.vmmigration.v1.rs | 1844 +- .../genproto/google.cloud.vpcaccess.v1.rs | 102 +- .../genproto/google.cloud.webrisk.v1.rs | 238 +- .../genproto/google.cloud.webrisk.v1beta1.rs | 214 +- .../google.cloud.websecurityscanner.v1.rs | 846 +- ...google.cloud.websecurityscanner.v1alpha.rs | 548 +- .../google.cloud.websecurityscanner.v1beta.rs | 742 +- .../google.cloud.workflows.executions.v1.rs | 198 +- ...oogle.cloud.workflows.executions.v1beta.rs | 148 +- .../genproto/google.cloud.workflows.r#type.rs | 132 +- .../genproto/google.cloud.workflows.v1.rs | 206 +- .../genproto/google.cloud.workflows.v1beta.rs | 206 +- gcloud-sdk/genproto/google.container.v1.rs | 3888 ++-- .../genproto/google.container.v1alpha1.rs | 1816 +- .../genproto/google.container.v1beta1.rs | 4310 ++-- .../genproto/google.dataflow.v1beta3.rs | 2460 +-- .../genproto/google.datastore.admin.v1.rs | 448 +- .../google.datastore.admin.v1beta1.rs | 218 +- gcloud-sdk/genproto/google.datastore.v1.rs | 932 +- .../genproto/google.datastore.v1beta3.rs | 790 +- .../google.devtools.artifactregistry.v1.rs | 602 +- ...oogle.devtools.artifactregistry.v1beta2.rs | 514 +- .../genproto/google.devtools.build.v1.rs | 280 +- .../genproto/google.devtools.cloudbuild.v1.rs | 1602 +- .../google.devtools.clouddebugger.v2.rs | 560 +- ...le.devtools.clouderrorreporting.v1beta1.rs | 578 +- .../google.devtools.cloudprofiler.v2.rs | 142 +- .../genproto/google.devtools.cloudtrace.v1.rs | 246 +- .../genproto/google.devtools.cloudtrace.v2.rs | 344 +- .../google.devtools.containeranalysis.v1.rs | 26 +- ...ogle.devtools.containeranalysis.v1beta1.rs | 56 +- .../google.devtools.remoteworkers.v1test2.rs | 746 +- .../google.devtools.resultstore.v2.rs | 2730 +-- .../genproto/google.devtools.source.v1.rs | 140 +- .../genproto/google.devtools.sourcerepo.v1.rs | 88 +- .../genproto/google.devtools.testing.v1.rs | 1470 +- .../google.example.endpointsapis.v1.rs | 40 +- .../genproto/google.example.library.v1.rs | 130 +- ...google.firebase.fcm.connection.v1alpha1.rs | 42 +- .../genproto/google.firestore.admin.v1.rs | 670 +- .../google.firestore.admin.v1beta1.rs | 266 +- .../google.firestore.admin.v1beta2.rs | 494 +- .../genproto/google.firestore.bundle.rs | 62 +- gcloud-sdk/genproto/google.firestore.v1.rs | 1654 +- .../genproto/google.firestore.v1beta1.rs | 1384 +- gcloud-sdk/genproto/google.gapic.metadata.rs | 68 +- gcloud-sdk/genproto/google.genomics.v1.rs | 2048 +- .../genproto/google.genomics.v1alpha2.rs | 540 +- gcloud-sdk/genproto/google.geo.r#type.rs | 26 +- .../genproto/google.home.enterprise.sdm.v1.rs | 154 +- gcloud-sdk/genproto/google.home.graph.v1.rs | 284 +- gcloud-sdk/genproto/google.iam.admin.v1.rs | 1044 +- .../genproto/google.iam.credentials.v1.rs | 148 +- gcloud-sdk/genproto/google.iam.v1.logging.rs | 8 +- gcloud-sdk/genproto/google.iam.v1.rs | 374 +- gcloud-sdk/genproto/google.iam.v1beta.rs | 336 +- gcloud-sdk/genproto/google.iam.v2.rs | 348 +- gcloud-sdk/genproto/google.iam.v2beta.rs | 256 +- ...le.identity.accesscontextmanager.r#type.rs | 44 +- ...google.identity.accesscontextmanager.v1.rs | 1316 +- gcloud-sdk/genproto/google.logging.r#type.rs | 114 +- gcloud-sdk/genproto/google.logging.v2.rs | 1826 +- gcloud-sdk/genproto/google.longrunning.rs | 118 +- .../google.maps.addressvalidation.v1.rs | 652 +- ...oogle.maps.mapsplatformdatasets.v1alpha.rs | 186 +- .../google.maps.playablelocations.v3.rs | 196 +- ...google.maps.playablelocations.v3.sample.rs | 170 +- .../google.maps.regionlookup.v1alpha.rs | 342 +- gcloud-sdk/genproto/google.maps.roads.v1op.rs | 58 +- gcloud-sdk/genproto/google.maps.routes.v1.rs | 1222 +- gcloud-sdk/genproto/google.maps.routing.v2.rs | 960 +- gcloud-sdk/genproto/google.maps.unity.rs | 54 +- .../google.monitoring.dashboard.v1.rs | 1262 +- .../google.monitoring.metricsscope.v1.rs | 120 +- gcloud-sdk/genproto/google.monitoring.v3.rs | 3574 ++-- ...oogle.networking.trafficdirector.r#type.rs | 58 +- .../google.partner.aistreams.v1alpha1.rs | 302 +- gcloud-sdk/genproto/google.privacy.dlp.v2.rs | 5234 ++--- gcloud-sdk/genproto/google.pubsub.v1.rs | 1276 +- gcloud-sdk/genproto/google.pubsub.v1beta2.rs | 266 +- gcloud-sdk/genproto/google.r#type.rs | 794 +- gcloud-sdk/genproto/google.rpc.context.rs | 342 +- gcloud-sdk/genproto/google.rpc.rs | 440 +- ....search.partnerdataingestion.logging.v1.rs | 6 +- .../google.spanner.admin.database.v1.rs | 1142 +- .../google.spanner.admin.instance.v1.rs | 646 +- gcloud-sdk/genproto/google.spanner.v1.rs | 2062 +- gcloud-sdk/genproto/google.storage.v1.rs | 2446 +-- gcloud-sdk/genproto/google.storage.v2.rs | 1916 +- .../google.storagetransfer.logging.rs | 178 +- .../genproto/google.storagetransfer.v1.rs | 1388 +- .../genproto/google.streetview.publish.v1.rs | 444 +- gcloud-sdk/genproto/google.watcher.v1.rs | 100 +- gcloud-sdk/genproto/grafeas.v1.rs | 1724 +- .../genproto/grafeas.v1beta1.attestation.rs | 218 +- gcloud-sdk/genproto/grafeas.v1beta1.build.rs | 82 +- .../genproto/grafeas.v1beta1.deployment.rs | 36 +- .../genproto/grafeas.v1beta1.discovery.rs | 54 +- gcloud-sdk/genproto/grafeas.v1beta1.image.rs | 96 +- .../genproto/grafeas.v1beta1.package.rs | 88 +- .../genproto/grafeas.v1beta1.provenance.rs | 122 +- gcloud-sdk/genproto/grafeas.v1beta1.rs | 370 +- gcloud-sdk/genproto/grafeas.v1beta1.source.rs | 104 +- .../genproto/grafeas.v1beta1.vulnerability.rs | 172 +- .../genproto/maps.fleetengine.delivery.v1.rs | 996 +- gcloud-sdk/genproto/maps.fleetengine.v1.rs | 1824 +- 414 files changed, 234448 insertions(+), 234448 deletions(-) diff --git a/gcloud-sdk/genproto/ccc.hosted.marketplace.v2.rs b/gcloud-sdk/genproto/ccc.hosted.marketplace.v2.rs index 513727cac..0a57795e7 100644 --- a/gcloud-sdk/genproto/ccc.hosted.marketplace.v2.rs +++ b/gcloud-sdk/genproto/ccc.hosted.marketplace.v2.rs @@ -1,26 +1,26 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLicense { - /// The type of API resource. This is always appsmarket#customerLicense. + /// The type of API resource. This is always appsmarket#customerLicense. #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// The customer's license status. One of: + /// The customer's license status. One of: /// - /// - `ACTIVE`: The customer has a valid license. - /// - `UNLICENSED`: There is no license: either this customer has never - /// installed your application, or else has deleted it. + /// - `ACTIVE`: The customer has a valid license. + /// - `UNLICENSED`: There is no license: either this customer has never + /// installed your application, or else has deleted it. #[prost(string, tag="2")] pub state: ::prost::alloc::string::String, - /// The ID of the application corresponding to this license query. + /// The ID of the application corresponding to this license query. #[prost(string, tag="3")] pub application_id: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(message, repeated, tag="4")] pub editions: ::prost::alloc::vec::Vec, - /// The ID of the customer license. + /// The ID of the customer license. #[prost(string, tag="101")] pub id: ::prost::alloc::string::String, - /// The domain name of the customer. + /// The domain name of the customer. #[prost(string, tag="102")] pub customer_id: ::prost::alloc::string::String, } @@ -28,15 +28,15 @@ pub struct CustomerLicense { pub mod customer_license { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Editions { - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="405")] pub edition_id: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(int32, tag="406")] pub seat_count: i32, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(int32, tag="409")] pub assigned_seats: i32, @@ -44,32 +44,32 @@ pub mod customer_license { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseNotification { - /// The ID of the license notification. + /// The ID of the license notification. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The ID of the application according to this notification. + /// The ID of the application according to this notification. #[prost(string, tag="2")] pub application_id: ::prost::alloc::string::String, - /// The time the event occurred, measuring in milliseconds since the UNIX - /// epoch. + /// The time the event occurred, measuring in milliseconds since the UNIX + /// epoch. #[prost(int64, tag="3")] pub timestamp: i64, - /// The domain name of the customer corresponding to this notification. + /// The domain name of the customer corresponding to this notification. #[prost(string, tag="4")] pub customer_id: ::prost::alloc::string::String, - /// The type of API resource. This is always appsmarket#licenseNotification. + /// The type of API resource. This is always appsmarket#licenseNotification. #[prost(string, tag="5")] pub kind: ::prost::alloc::string::String, - /// The list of provisioning notifications. + /// The list of provisioning notifications. #[prost(message, repeated, tag="6")] pub provisions: ::prost::alloc::vec::Vec, - /// The list of expiry notifications. + /// The list of expiry notifications. #[prost(message, repeated, tag="7")] pub expiries: ::prost::alloc::vec::Vec, - /// The list of reassignment notifications. + /// The list of reassignment notifications. #[prost(message, repeated, tag="8")] pub reassignments: ::prost::alloc::vec::Vec, - /// The list of deletion notifications. + /// The list of deletion notifications. #[prost(message, repeated, tag="9")] pub deletes: ::prost::alloc::vec::Vec, } @@ -79,7 +79,7 @@ pub mod license_notification { pub struct Deletes { #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="901")] pub edition_id: ::prost::alloc::string::String, @@ -88,7 +88,7 @@ pub mod license_notification { pub struct Expiries { #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="701")] pub edition_id: ::prost::alloc::string::String, @@ -97,11 +97,11 @@ pub mod license_notification { pub struct Provisions { #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="601")] pub edition_id: ::prost::alloc::string::String, - /// The number of seats that were provisioned. + /// The number of seats that were provisioned. #[prost(int64, tag="602")] pub seat_count: i64, } @@ -109,12 +109,12 @@ pub mod license_notification { pub struct Reassignments { #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// The email address of the reassigned user. + /// The email address of the reassigned user. #[prost(string, tag="801")] pub user_id: ::prost::alloc::string::String, #[prost(string, tag="802")] pub r#type: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="803")] pub edition_id: ::prost::alloc::string::String, @@ -124,83 +124,83 @@ pub mod license_notification { pub struct LicenseNotificationList { #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// The list of notifications. One or more of: + /// The list of notifications. One or more of: /// - /// - `provisions`: A new license of the application has been provisioned. - /// - `expiries`: A license of the application has expired. - /// - `deletions`: An application has been deleted from a domain. - /// - `reassignments`: An administrator has assigned or revoked a seat license - /// for the application on the provided domain. + /// - `provisions`: A new license of the application has been provisioned. + /// - `expiries`: A license of the application has expired. + /// - `deletions`: An application has been deleted from a domain. + /// - `reassignments`: An administrator has assigned or revoked a seat license + /// for the application on the provided domain. #[prost(message, repeated, tag="1007")] pub notifications: ::prost::alloc::vec::Vec, - /// The token used to continue querying for notifications after the final - /// notification in the current result set. + /// The token used to continue querying for notifications after the final + /// notification in the current result set. #[prost(string, tag="100602")] pub next_page_token: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLicense { - /// The type of API resource. This is always appsmarket#userLicense. + /// The type of API resource. This is always appsmarket#userLicense. #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// The domain administrator has activated the application for this domain. + /// The domain administrator has activated the application for this domain. #[prost(bool, tag="2")] pub enabled: bool, - /// The user's licensing status. One of: + /// The user's licensing status. One of: /// - /// - `ACTIVE`: The user has a valid license and should be permitted to use the - /// application. - /// - `UNLICENSED`: The administrator of this user's domain never assigned a - /// seat for the application to this user. - /// - `EXPIRED`: The administrator assigned a seat to this user, but the - /// license is expired. + /// - `ACTIVE`: The user has a valid license and should be permitted to use the + /// application. + /// - `UNLICENSED`: The administrator of this user's domain never assigned a + /// seat for the application to this user. + /// - `EXPIRED`: The administrator assigned a seat to this user, but the + /// license is expired. #[prost(string, tag="3")] pub state: ::prost::alloc::string::String, - /// (Deprecated) + /// (Deprecated) #[deprecated] #[prost(string, tag="4")] pub edition_id: ::prost::alloc::string::String, - /// The domain name of the user. + /// The domain name of the user. #[prost(string, tag="5")] pub customer_id: ::prost::alloc::string::String, - /// The ID of the application corresponding to the license query. + /// The ID of the application corresponding to the license query. #[prost(string, tag="6")] pub application_id: ::prost::alloc::string::String, - /// The ID of user license. + /// The ID of user license. #[prost(string, tag="101")] pub id: ::prost::alloc::string::String, - /// The email address of the user. + /// The email address of the user. #[prost(string, tag="102")] pub user_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLicenseGetRequest { - /// Application Id + /// Application Id #[prost(string, tag="1")] pub application_id: ::prost::alloc::string::String, - /// Customer Id + /// Customer Id #[prost(string, tag="2")] pub customer_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseNotificationListRequest { - /// Application Id + /// Application Id #[prost(string, tag="1")] pub application_id: ::prost::alloc::string::String, #[prost(uint32, tag="2")] pub max_results: u32, #[prost(string, tag="3")] pub start_token: ::prost::alloc::string::String, - /// Timestamp in milliseconds since epoch + /// Timestamp in milliseconds since epoch #[prost(uint64, tag="4")] pub timestamp: u64, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLicenseGetRequest { - /// Application Id + /// Application Id #[prost(string, tag="1")] pub application_id: ::prost::alloc::string::String, - /// User Id + /// User Id #[prost(string, tag="2")] pub user_id: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.actions.r#type.rs b/gcloud-sdk/genproto/google.actions.r#type.rs index 1f2e8f0f1..be6207cf3 100644 --- a/gcloud-sdk/genproto/google.actions.r#type.rs +++ b/gcloud-sdk/genproto/google.actions.r#type.rs @@ -1,32 +1,32 @@ -/// Represents a range based on whole or partial calendar dates, e.g. the -/// duration of a hotel reservation or the Common Era. This can represent: +/// Represents a range based on whole or partial calendar dates, e.g. the +/// duration of a hotel reservation or the Common Era. This can represent: /// -/// * A range between full dates, e.g. the duration of a hotel reservation -/// * A range between years, e.g. a historical era -/// * A range between year/month dates, e.g. the duration of a job on a resume -/// * A range beginning in a year, e.g. the Common Era -/// * A range ending on a specific date, e.g. the period of time before an event +/// * A range between full dates, e.g. the duration of a hotel reservation +/// * A range between years, e.g. a historical era +/// * A range between year/month dates, e.g. the duration of a job on a resume +/// * A range beginning in a year, e.g. the Common Era +/// * A range ending on a specific date, e.g. the period of time before an event /// -/// While \[google.type.Date][google.type.Date\] allows zero years, DateRange does not. Year must -/// always be non-zero. +/// While \[google.type.Date][google.type.Date\] allows zero years, DateRange does not. Year must +/// always be non-zero. /// -/// End cannot be chronologically before start. For example, if start has year -/// 2000, end cannot have year 1999. +/// End cannot be chronologically before start. For example, if start has year +/// 2000, end cannot have year 1999. /// -/// When both set, start and end must have exactly the same precision. That is, -/// they must have the same fields populated with non-zero values. For example, -/// if start specifies only year and month, then end must also specify only year -/// and month (but not day). +/// When both set, start and end must have exactly the same precision. That is, +/// they must have the same fields populated with non-zero values. For example, +/// if start specifies only year and month, then end must also specify only year +/// and month (but not day). /// -/// The date range is inclusive. That is, the dates specified by start and end -/// are part of the date range. For example, the date January 1, 2000 falls -/// within any date with start or end equal to January 1, 2000. When determining -/// whether a date is inside a date range, the date should only be compared to -/// start and end when those values are set. +/// The date range is inclusive. That is, the dates specified by start and end +/// are part of the date range. For example, the date January 1, 2000 falls +/// within any date with start or end equal to January 1, 2000. When determining +/// whether a date is inside a date range, the date should only be compared to +/// start and end when those values are set. /// -/// When a date and date range are specified to different degrees of precision, -/// the rules for evaluating whether that date is inside the date range are as -/// follows: +/// When a date and date range are specified to different degrees of precision, +/// the rules for evaluating whether that date is inside the date range are as +/// follows: /// /// * When comparing the date to the start of the date range, unspecified months /// should be replaced with 1, and unspecified days should be replaced with 1. @@ -41,57 +41,57 @@ /// December 31, 2000. And the date December 31, 2001 is within the date range /// with start equal to the year 2000 and end equal to the year 2001. /// -/// The semantics of start and end are the same as those of \[google.type.Date][google.type.Date\], -/// except that year must always be non-zero in DateRange. +/// The semantics of start and end are the same as those of \[google.type.Date][google.type.Date\], +/// except that year must always be non-zero in DateRange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// Date at which the date range begins. If unset, the date range has no - /// beginning bound. + /// Date at which the date range begins. If unset, the date range has no + /// beginning bound. #[prost(message, optional, tag="1")] pub start: ::core::option::Option, - /// Date at which the date range ends. If unset, the date range has no ending - /// bound. + /// Date at which the date range ends. If unset, the date range has no ending + /// bound. #[prost(message, optional, tag="2")] pub end: ::core::option::Option, } -/// Represents a date and time range. This can represent: +/// Represents a date and time range. This can represent: /// -/// * A range between points in time with time zone or offset, e.g. the duration +/// * A range between points in time with time zone or offset, e.g. the duration /// of a flight which starts in the "America/New_York" time zone and ends in /// the "Australia/Sydney" time zone -/// * A range between points in time without time zone/offset info, e.g. an +/// * A range between points in time without time zone/offset info, e.g. an /// appointment in local time -/// * A range starting at a specific date and time, e.g. the range of time which +/// * A range starting at a specific date and time, e.g. the range of time which /// can be measured in milliseconds since the Unix epoch (period starting with /// 1970-01-01T00:00:00Z) -/// * A range ending at a specific date and time, e.g. range of time before +/// * A range ending at a specific date and time, e.g. range of time before /// a deadline /// -/// When considering whether a DateTime falls within a DateTimeRange, the start -/// of the range is inclusive and the end is exclusive. +/// When considering whether a DateTime falls within a DateTimeRange, the start +/// of the range is inclusive and the end is exclusive. /// -/// While \[google.type.DateTime][google.type.DateTime\] allows zero years, DateTimeRange does not. -/// Year must always be non-zero. +/// While \[google.type.DateTime][google.type.DateTime\] allows zero years, DateTimeRange does not. +/// Year must always be non-zero. /// -/// When both start and end are set, either both or neither must have a -/// time_offset. When set, time_offset can be specified by either utc_offset or -/// time_zone and must match for start and end, that is if start has utc_offset -/// set then end must also have utc_offset set. The values of utc_offset or -/// time_zone need not be the same for start and end. +/// When both start and end are set, either both or neither must have a +/// time_offset. When set, time_offset can be specified by either utc_offset or +/// time_zone and must match for start and end, that is if start has utc_offset +/// set then end must also have utc_offset set. The values of utc_offset or +/// time_zone need not be the same for start and end. /// -/// When both start and end are set, start must be chronologically less than or -/// equal to end. When start and end are equal, the range is empty. +/// When both start and end are set, start must be chronologically less than or +/// equal to end. When start and end are equal, the range is empty. /// -/// The semantics of start and end are the same as those of -/// \[google.type.DateTime][google.type.DateTime\]. +/// The semantics of start and end are the same as those of +/// \[google.type.DateTime][google.type.DateTime\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateTimeRange { - /// DateTime at which the date range begins. If unset, the range has no - /// beginning bound. + /// DateTime at which the date range begins. If unset, the range has no + /// beginning bound. #[prost(message, optional, tag="1")] pub start: ::core::option::Option, - /// DateTime at which the date range ends. If unset, the range has no ending - /// bound. + /// DateTime at which the date range ends. If unset, the range has no ending + /// bound. #[prost(message, optional, tag="2")] pub end: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.actions.sdk.v2.conversation.rs b/gcloud-sdk/genproto/google.actions.sdk.v2.conversation.rs index e82c04a5b..7a0d93428 100644 --- a/gcloud-sdk/genproto/google.actions.sdk.v2.conversation.rs +++ b/gcloud-sdk/genproto/google.actions.sdk.v2.conversation.rs @@ -1,101 +1,101 @@ -/// Represents an intent. +/// Represents an intent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intent { - /// Required. The name of the last matched intent. + /// Required. The name of the last matched intent. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Represents parameters identified as part of intent matching. - /// This is a map of the name of the identified parameter to the value of the - /// parameter identified from user input. All parameters defined in - /// the matched intent that are identified will be surfaced here. + /// Required. Represents parameters identified as part of intent matching. + /// This is a map of the name of the identified parameter to the value of the + /// parameter identified from user input. All parameters defined in + /// the matched intent that are identified will be surfaced here. #[prost(map="string, message", tag="2")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, IntentParameterValue>, - /// Optional. Typed or spoken input from the end user that matched this intent. - /// This will be populated when an intent is matched, based on the user input. + /// Optional. Typed or spoken input from the end user that matched this intent. + /// This will be populated when an intent is matched, based on the user input. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, } -/// Represents a value for intent parameter. +/// Represents a value for intent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentParameterValue { - /// Required. Original text value extracted from user utterance. + /// Required. Original text value extracted from user utterance. #[prost(string, tag="1")] pub original: ::prost::alloc::string::String, - /// Required. Structured value for parameter extracted from user input. - /// This will only be populated if the parameter is defined in the matched - /// intent and the value of the parameter could be identified during intent - /// matching. + /// Required. Structured value for parameter extracted from user input. + /// This will only be populated if the parameter is defined in the matched + /// intent and the value of the parameter could be identified during intent + /// matching. #[prost(message, optional, tag="2")] pub resolved: ::core::option::Option<::prost_types::Value>, } -/// Represents an Interactive Canvas response to be sent to the user. -/// This can be used in conjunction with the "first_simple" field in the -/// containing prompt to speak to the user in addition to displaying a -/// interactive canvas response. The maximum size of the response is 50k bytes. +/// Represents an Interactive Canvas response to be sent to the user. +/// This can be used in conjunction with the "first_simple" field in the +/// containing prompt to speak to the user in addition to displaying a +/// interactive canvas response. The maximum size of the response is 50k bytes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Canvas { - /// URL of the interactive canvas web app to load. If not set, the url from - /// current active canvas will be reused. + /// URL of the interactive canvas web app to load. If not set, the url from + /// current active canvas will be reused. #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Optional. JSON data to be passed through to the immersive experience - /// web page as an event. - /// If the "override" field in the containing prompt is "false" data values - /// defined in this Canvas prompt will be added after data values defined in - /// previous Canvas prompts. + /// Optional. JSON data to be passed through to the immersive experience + /// web page as an event. + /// If the "override" field in the containing prompt is "false" data values + /// defined in this Canvas prompt will be added after data values defined in + /// previous Canvas prompts. #[prost(message, repeated, tag="4")] pub data: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Optional. Default value: false. + /// Optional. Default value: false. #[prost(bool, tag="3")] pub suppress_mic: bool, - /// If `true` the canvas application occupies the full screen and won't - /// have a header at the top. A toast message will also be displayed on the - /// loading screen that includes the Action's display name, the developer's - /// name, and instructions for exiting the Action. Default value: `false`. + /// If `true` the canvas application occupies the full screen and won't + /// have a header at the top. A toast message will also be displayed on the + /// loading screen that includes the Action's display name, the developer's + /// name, and instructions for exiting the Action. Default value: `false`. #[prost(bool, tag="8")] pub enable_full_screen: bool, } -/// An image displayed in the card. +/// An image displayed in the card. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Image { - /// The source url of the image. Images can be JPG, PNG and GIF (animated and - /// non-animated). For example,` Required. + /// The source url of the image. Images can be JPG, PNG and GIF (animated and + /// non-animated). For example,` Required. #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// A text description of the image to be used for accessibility, e.g. screen - /// readers. - /// Required. + /// A text description of the image to be used for accessibility, e.g. screen + /// readers. + /// Required. #[prost(string, tag="2")] pub alt: ::prost::alloc::string::String, - /// The height of the image in pixels. - /// Optional. + /// The height of the image in pixels. + /// Optional. #[prost(int32, tag="3")] pub height: i32, - /// The width of the image in pixels. - /// Optional. + /// The width of the image in pixels. + /// Optional. #[prost(int32, tag="4")] pub width: i32, } /// Nested message and enum types in `Image`. pub mod image { - /// Possible image display options for affecting the presentation of the image. - /// This should be used for when the image's aspect ratio does not match the - /// image container's aspect ratio. + /// Possible image display options for affecting the presentation of the image. + /// This should be used for when the image's aspect ratio does not match the + /// image container's aspect ratio. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageFill { - /// Unspecified image fill. + /// Unspecified image fill. Unspecified = 0, - /// Fill the gaps between the image and the image container with gray bars. + /// Fill the gaps between the image and the image container with gray bars. Gray = 1, - /// Fill the gaps between the image and the image container with white bars. + /// Fill the gaps between the image and the image container with white bars. White = 2, - /// Image is scaled such that the image width and height match or exceed the - /// container dimensions. This may crop the top and bottom of the image if - /// the scaled image height is greater than the container height, or crop the - /// left and right of the image if the scaled image width is greater than the - /// container width. This is similar to "Zoom Mode" on a widescreen TV when - /// playing a 4:3 video. + /// Image is scaled such that the image width and height match or exceed the + /// container dimensions. This may crop the top and bottom of the image if + /// the scaled image height is greater than the container height, or crop the + /// left and right of the image if the scaled image width is greater than the + /// container width. This is similar to "Zoom Mode" on a widescreen TV when + /// playing a 4:3 video. Cropped = 3, } impl ImageFill { @@ -113,35 +113,35 @@ pub mod image { } } } -/// Link content. +/// Link content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Link { - /// Name of the link + /// Name of the link #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// What happens when a user opens the link + /// What happens when a user opens the link #[prost(message, optional, tag="2")] pub open: ::core::option::Option, } -/// Action taken when a user opens a link. +/// Action taken when a user opens a link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OpenUrl { - /// The url field which could be any of: - /// - http/https urls for opening an App-linked App or a webpage + /// The url field which could be any of: + /// - http/https urls for opening an App-linked App or a webpage #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Indicates a hint for the url type. + /// Indicates a hint for the url type. #[prost(enumeration="UrlHint", tag="2")] pub hint: i32, } -/// Different types of url hints. +/// Different types of url hints. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UrlHint { - /// Unspecified + /// Unspecified LinkUnspecified = 0, - /// URL that points directly to AMP content, or to a canonical URL - /// which refers to AMP content via . + /// URL that points directly to AMP content, or to a canonical URL + /// which refers to AMP content via . Amp = 1, } impl UrlHint { @@ -156,115 +156,115 @@ impl UrlHint { } } } -/// A basic card for displaying some information, e.g. an image and/or text. +/// A basic card for displaying some information, e.g. an image and/or text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Card { - /// Overall title of the card. - /// Optional. + /// Overall title of the card. + /// Optional. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Optional. + /// Optional. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Body text of the card. - /// Supports a limited set of markdown syntax for formatting. - /// Required, unless image is present. + /// Body text of the card. + /// Supports a limited set of markdown syntax for formatting. + /// Required, unless image is present. #[prost(string, tag="3")] pub text: ::prost::alloc::string::String, - /// A hero image for the card. The height is fixed to 192dp. - /// Optional. + /// A hero image for the card. The height is fixed to 192dp. + /// Optional. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, - /// How the image background will be filled. Optional. + /// How the image background will be filled. Optional. #[prost(enumeration="image::ImageFill", tag="5")] pub image_fill: i32, - /// Button. - /// Optional. + /// Button. + /// Optional. #[prost(message, optional, tag="6")] pub button: ::core::option::Option, } -/// A card for presenting a collection of options to select from. +/// A card for presenting a collection of options to select from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Collection { - /// Title of the collection. Optional. + /// Title of the collection. Optional. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Subtitle of the collection. Optional. + /// Subtitle of the collection. Optional. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// min: 2 max: 10 + /// min: 2 max: 10 #[prost(message, repeated, tag="3")] pub items: ::prost::alloc::vec::Vec, - /// How the image backgrounds of collection items will be filled. Optional. + /// How the image backgrounds of collection items will be filled. Optional. #[prost(enumeration="image::ImageFill", tag="4")] pub image_fill: i32, } /// Nested message and enum types in `Collection`. pub mod collection { - /// An item in the collection + /// An item in the collection #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionItem { - /// Required. The NLU key that matches the entry key name in the associated - /// Type. + /// Required. The NLU key that matches the entry key name in the associated + /// Type. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, } } -/// A card for presenting a list of options to select from. +/// A card for presenting a list of options to select from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct List { - /// Title of the list. Optional. + /// Title of the list. Optional. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Subtitle of the list. Optional. + /// Subtitle of the list. Optional. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// min: 2 max: 30 + /// min: 2 max: 30 #[prost(message, repeated, tag="3")] pub items: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `List`. pub mod list { - /// An item in the list + /// An item in the list #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListItem { - /// Required. The NLU key that matches the entry key name in the associated - /// Type. + /// Required. The NLU key that matches the entry key name in the associated + /// Type. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, } } -/// Represents one media object. -/// Contains information about the media, such as name, description, url, etc. +/// Represents one media object. +/// Contains information about the media, such as name, description, url, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Media { - /// Media type. + /// Media type. #[prost(enumeration="media::MediaType", tag="8")] pub media_type: i32, - /// Start offset of the first media object. + /// Start offset of the first media object. #[prost(message, optional, tag="5")] pub start_offset: ::core::option::Option<::prost_types::Duration>, - /// Optional media control types this media response session can support. - /// If set, request will be made to 3p when a certain media event happens. - /// If not set, 3p must still handle two default control type, FINISHED and - /// FAILED. + /// Optional media control types this media response session can support. + /// If set, request will be made to 3p when a certain media event happens. + /// If not set, 3p must still handle two default control type, FINISHED and + /// FAILED. #[prost(enumeration="media::OptionalMediaControls", repeated, tag="6")] pub optional_media_controls: ::prost::alloc::vec::Vec, - /// List of Media Objects + /// List of Media Objects #[prost(message, repeated, tag="7")] pub media_objects: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Media`. pub mod media { - /// Media type of this response. + /// Media type of this response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// Unspecified media type. + /// Unspecified media type. Unspecified = 0, - /// Audio file. + /// Audio file. Audio = 1, - /// Response to acknowledge a media status report. + /// Response to acknowledge a media status report. MediaStatusAck = 2, } impl MediaType { @@ -280,16 +280,16 @@ pub mod media { } } } - /// Optional media control types the media response can support + /// Optional media control types the media response can support #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptionalMediaControls { - /// Unspecified value + /// Unspecified value Unspecified = 0, - /// Paused event. Triggered when user pauses the media. + /// Paused event. Triggered when user pauses the media. Paused = 1, - /// Stopped event. Triggered when user exits out of 3p session during media - /// play. + /// Stopped event. Triggered when user exits out of 3p session during media + /// play. Stopped = 2, } impl OptionalMediaControls { @@ -306,93 +306,93 @@ pub mod media { } } } -/// Represents a single media object +/// Represents a single media object #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaObject { - /// Name of this media object. + /// Name of this media object. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Description of this media object. + /// Description of this media object. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The url pointing to the media content. + /// The url pointing to the media content. #[prost(string, tag="3")] pub url: ::prost::alloc::string::String, - /// Image to show with the media card. + /// Image to show with the media card. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, } -/// Image to show with the media card. +/// Image to show with the media card. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaImage { - /// Image. + /// Image. #[prost(oneof="media_image::Image", tags="1, 2")] pub image: ::core::option::Option, } /// Nested message and enum types in `MediaImage`. pub mod media_image { - /// Image. + /// Image. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Image { - /// A large image, such as the cover of the album, etc. + /// A large image, such as the cover of the album, etc. #[prost(message, tag="1")] Large(super::Image), - /// A small image icon displayed on the right from the title. - /// It's resized to 36x36 dp. + /// A small image icon displayed on the right from the title. + /// It's resized to 36x36 dp. #[prost(message, tag="2")] Icon(super::Image), } } -/// A table card for displaying a table of text. +/// A table card for displaying a table of text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Table { - /// Overall title of the table. Optional but must be set if subtitle is set. + /// Overall title of the table. Optional but must be set if subtitle is set. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Subtitle for the table. Optional. + /// Subtitle for the table. Optional. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Image associated with the table. Optional. + /// Image associated with the table. Optional. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, - /// Headers and alignment of columns. + /// Headers and alignment of columns. #[prost(message, repeated, tag="5")] pub columns: ::prost::alloc::vec::Vec, - /// Row data of the table. The first 3 rows are guaranteed to be shown but - /// others might be cut on certain surfaces. Please test with the simulator to - /// see which rows will be shown for a given surface. On surfaces that support - /// the WEB_BROWSER capability, you can point the user to - /// a web page with more data. + /// Row data of the table. The first 3 rows are guaranteed to be shown but + /// others might be cut on certain surfaces. Please test with the simulator to + /// see which rows will be shown for a given surface. On surfaces that support + /// the WEB_BROWSER capability, you can point the user to + /// a web page with more data. #[prost(message, repeated, tag="6")] pub rows: ::prost::alloc::vec::Vec, - /// Button. + /// Button. #[prost(message, optional, tag="7")] pub button: ::core::option::Option, } -/// Describes a column in a table. +/// Describes a column in a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableColumn { - /// Header text for the column. + /// Header text for the column. #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Horizontal alignment of content w.r.t column. If unspecified, content - /// will be aligned to the leading edge. + /// Horizontal alignment of content w.r.t column. If unspecified, content + /// will be aligned to the leading edge. #[prost(enumeration="table_column::HorizontalAlignment", tag="2")] pub align: i32, } /// Nested message and enum types in `TableColumn`. pub mod table_column { - /// The alignment of the content within the cell. + /// The alignment of the content within the cell. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HorizontalAlignment { - /// Unspecified horizontal alignment. + /// Unspecified horizontal alignment. Unspecified = 0, - /// Leading edge of the cell. This is the default. + /// Leading edge of the cell. This is the default. Leading = 1, - /// Content is aligned to the center of the column. + /// Content is aligned to the center of the column. Center = 2, - /// Content is aligned to the trailing edge of the column. + /// Content is aligned to the trailing edge of the column. Trailing = 3, } impl HorizontalAlignment { @@ -410,176 +410,176 @@ pub mod table_column { } } } -/// Describes a cell in a row. +/// Describes a cell in a row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableCell { - /// Text content of the cell. + /// Text content of the cell. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } -/// Describes a row in the table. +/// Describes a row in the table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableRow { - /// Cells in this row. The first 3 cells are guaranteed to be shown but - /// others might be cut on certain surfaces. Please test with the simulator - /// to see which cells will be shown for a given surface. + /// Cells in this row. The first 3 cells are guaranteed to be shown but + /// others might be cut on certain surfaces. Please test with the simulator + /// to see which cells will be shown for a given surface. #[prost(message, repeated, tag="1")] pub cells: ::prost::alloc::vec::Vec, - /// Indicates whether there should be a divider after each row. + /// Indicates whether there should be a divider after each row. #[prost(bool, tag="2")] pub divider: bool, } -/// Content to be shown. +/// Content to be shown. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Content { - /// Content. + /// Content. #[prost(oneof="content::Content", tags="1, 2, 3, 4, 5, 6, 7")] pub content: ::core::option::Option, } /// Nested message and enum types in `Content`. pub mod content { - /// Content. + /// Content. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Content { - /// A basic card. + /// A basic card. #[prost(message, tag="1")] Card(super::Card), - /// An image. + /// An image. #[prost(message, tag="2")] Image(super::Image), - /// Table card. + /// Table card. #[prost(message, tag="3")] Table(super::Table), - /// Response indicating a set of media to be played. + /// Response indicating a set of media to be played. #[prost(message, tag="4")] Media(super::Media), - /// A response to be used for interactive canvas experience. + /// A response to be used for interactive canvas experience. #[prost(message, tag="5")] Canvas(super::Canvas), - /// A card presenting a collection of options to select from. + /// A card presenting a collection of options to select from. #[prost(message, tag="6")] Collection(super::Collection), - /// A card presenting a list of options to select from. + /// A card presenting a list of options to select from. #[prost(message, tag="7")] List(super::List), } } -/// Represents a simple prompt to be send to a user. +/// Represents a simple prompt to be send to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Simple { - /// Optional. Represents the speech to be spoken to the user. Can be SSML or - /// text to speech. - /// If the "override" field in the containing prompt is "true", the speech - /// defined in this field replaces the previous Simple prompt's speech. + /// Optional. Represents the speech to be spoken to the user. Can be SSML or + /// text to speech. + /// If the "override" field in the containing prompt is "true", the speech + /// defined in this field replaces the previous Simple prompt's speech. #[prost(string, tag="1")] pub speech: ::prost::alloc::string::String, - /// Optional text to display in the chat bubble. If not given, a display - /// rendering of the speech field above will be used. Limited to 640 - /// chars. - /// If the "override" field in the containing prompt is "true", the text - /// defined in this field replaces to the previous Simple prompt's text. + /// Optional text to display in the chat bubble. If not given, a display + /// rendering of the speech field above will be used. Limited to 640 + /// chars. + /// If the "override" field in the containing prompt is "true", the text + /// defined in this field replaces to the previous Simple prompt's text. #[prost(string, tag="2")] pub text: ::prost::alloc::string::String, } -/// Input suggestion to be presented to the user. +/// Input suggestion to be presented to the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Suggestion { - /// Required. The text shown in the suggestion chip. When tapped, this text will be - /// posted back to the conversation verbatim as if the user had typed it. - /// Each title must be unique among the set of suggestion chips. - /// Max 25 chars + /// Required. The text shown in the suggestion chip. When tapped, this text will be + /// posted back to the conversation verbatim as if the user had typed it. + /// Each title must be unique among the set of suggestion chips. + /// Max 25 chars #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, } -/// Represent a response to a user. +/// Represent a response to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Prompt { - /// Optional. Mode for how this messages should be merged with previously - /// defined messages. - /// "false" will clear all previously defined messages (first and last - /// simple, content, suggestions link and canvas) and add messages defined in - /// this prompt. - /// "true" will add messages defined in this prompt to messages defined in - /// previous responses. Setting this field to "true" will also enable appending - /// to some fields inside Simple prompts, the Suggestion prompt and the Canvas - /// prompt (part of the Content prompt). The Content and Link messages will - /// always be overwritten if defined in the prompt. - /// Default value is "false". + /// Optional. Mode for how this messages should be merged with previously + /// defined messages. + /// "false" will clear all previously defined messages (first and last + /// simple, content, suggestions link and canvas) and add messages defined in + /// this prompt. + /// "true" will add messages defined in this prompt to messages defined in + /// previous responses. Setting this field to "true" will also enable appending + /// to some fields inside Simple prompts, the Suggestion prompt and the Canvas + /// prompt (part of the Content prompt). The Content and Link messages will + /// always be overwritten if defined in the prompt. + /// Default value is "false". #[deprecated] #[prost(bool, tag="1")] pub append: bool, - /// Optional. Mode for how this messages should be merged with previously - /// defined messages. - /// "true" clears all previously defined messages (first and last - /// simple, content, suggestions link and canvas) and adds messages defined in - /// this prompt. - /// "false" adds messages defined in this prompt to messages defined in - /// previous responses. Leaving this field to "false" also enables - /// appending to some fields inside Simple prompts, the Suggestions prompt, - /// and the Canvas prompt (part of the Content prompt). The Content and Link - /// messages are always overwritten if defined in the prompt. Default - /// value is "false". + /// Optional. Mode for how this messages should be merged with previously + /// defined messages. + /// "true" clears all previously defined messages (first and last + /// simple, content, suggestions link and canvas) and adds messages defined in + /// this prompt. + /// "false" adds messages defined in this prompt to messages defined in + /// previous responses. Leaving this field to "false" also enables + /// appending to some fields inside Simple prompts, the Suggestions prompt, + /// and the Canvas prompt (part of the Content prompt). The Content and Link + /// messages are always overwritten if defined in the prompt. Default + /// value is "false". #[prost(bool, tag="8")] pub r#override: bool, - /// Optional. The first voice and text-only response. + /// Optional. The first voice and text-only response. #[prost(message, optional, tag="2")] pub first_simple: ::core::option::Option, - /// Optional. A content like a card, list or media to display to the user. + /// Optional. A content like a card, list or media to display to the user. #[prost(message, optional, tag="3")] pub content: ::core::option::Option, - /// Optional. The last voice and text-only response. + /// Optional. The last voice and text-only response. #[prost(message, optional, tag="4")] pub last_simple: ::core::option::Option, - /// Optional. Suggestions to be displayed to the user which will always appear - /// at the end of the response. - /// If the "override" field in the containing prompt is "false", the titles - /// defined in this field will be added to titles defined in any previously - /// defined suggestions prompts and duplicate values will be removed. + /// Optional. Suggestions to be displayed to the user which will always appear + /// at the end of the response. + /// If the "override" field in the containing prompt is "false", the titles + /// defined in this field will be added to titles defined in any previously + /// defined suggestions prompts and duplicate values will be removed. #[prost(message, repeated, tag="5")] pub suggestions: ::prost::alloc::vec::Vec, - /// Optional. An additional suggestion chip that can link out to the associated app - /// or site. - /// The chip will be rendered with the title "Open ". Max 20 chars. + /// Optional. An additional suggestion chip that can link out to the associated app + /// or site. + /// The chip will be rendered with the title "Open ". Max 20 chars. #[prost(message, optional, tag="6")] pub link: ::core::option::Option, - /// Optional. Represents a Interactive Canvas response to be sent to the user. + /// Optional. Represents a Interactive Canvas response to be sent to the user. #[prost(message, optional, tag="9")] pub canvas: ::core::option::Option, } -/// Represents a slot. +/// Represents a slot. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Slot { - /// The mode of the slot (required or optional). Can be set by developer. + /// The mode of the slot (required or optional). Can be set by developer. #[prost(enumeration="slot::SlotMode", tag="1")] pub mode: i32, - /// The status of the slot. + /// The status of the slot. #[prost(enumeration="slot::SlotStatus", tag="2")] pub status: i32, - /// The value of the slot. Changing this value in the response, will - /// modify the value in slot filling. + /// The value of the slot. Changing this value in the response, will + /// modify the value in slot filling. #[prost(message, optional, tag="3")] pub value: ::core::option::Option<::prost_types::Value>, - /// Indicates if the slot value was collected on the last turn. - /// This field is read-only. + /// Indicates if the slot value was collected on the last turn. + /// This field is read-only. #[prost(bool, tag="4")] pub updated: bool, - /// Optional. This prompt is sent to the user when needed to fill a required - /// slot. This prompt overrides the existing prompt defined in the console. - /// This field is not included in the webhook request. + /// Optional. This prompt is sent to the user when needed to fill a required + /// slot. This prompt overrides the existing prompt defined in the console. + /// This field is not included in the webhook request. #[prost(message, optional, tag="5")] pub prompt: ::core::option::Option, } /// Nested message and enum types in `Slot`. pub mod slot { - /// Represents the mode of a slot, that is, if it is required or not. + /// Represents the mode of a slot, that is, if it is required or not. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SlotMode { - /// Fallback value when the usage field is not populated. + /// Fallback value when the usage field is not populated. ModeUnspecified = 0, - /// Indicates that the slot is not required to complete slot filling. + /// Indicates that the slot is not required to complete slot filling. Optional = 1, - /// Indicates that the slot is required to complete slot filling. + /// Indicates that the slot is required to complete slot filling. Required = 2, } impl SlotMode { @@ -595,20 +595,20 @@ pub mod slot { } } } - /// Represents the status of a slot. + /// Represents the status of a slot. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SlotStatus { - /// Fallback value when the usage field is not populated. + /// Fallback value when the usage field is not populated. SlotUnspecified = 0, - /// Indicates that the slot does not have any values. This status cannot be - /// modified through the response. + /// Indicates that the slot does not have any values. This status cannot be + /// modified through the response. Empty = 1, - /// Indicates that the slot value is invalid. This status can be set - /// through the response. + /// Indicates that the slot value is invalid. This status can be set + /// through the response. Invalid = 2, - /// Indicates that the slot has a value. This status cannot be modified - /// through the response. + /// Indicates that the slot has a value. This status cannot be modified + /// through the response. Filled = 3, } impl SlotStatus { @@ -626,17 +626,17 @@ pub mod slot { } } } -/// Represents the current status of slot filling. +/// Represents the current status of slot filling. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SlotFillingStatus { - /// Fallback value when the usage field is not populated. + /// Fallback value when the usage field is not populated. Unspecified = 0, - /// The slots have been initialized but slot filling has not started. + /// The slots have been initialized but slot filling has not started. Initialized = 1, - /// The slot values are being collected. + /// The slot values are being collected. Collecting = 2, - /// All slot values are final and cannot be changed. + /// All slot values are final and cannot be changed. Final = 4, } impl SlotFillingStatus { diff --git a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.prompt.rs b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.prompt.rs index 9a4b3e092..ffc24b404 100644 --- a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.prompt.rs +++ b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.prompt.rs @@ -1,71 +1,71 @@ -/// Represents a Interactive Canvas response to be sent to the user. -/// This can be used in conjunction with the `first_simple` field in the -/// containing prompt to speak to the user in addition to displaying a -/// interactive canvas response. +/// Represents a Interactive Canvas response to be sent to the user. +/// This can be used in conjunction with the `first_simple` field in the +/// containing prompt to speak to the user in addition to displaying a +/// interactive canvas response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticCanvasPrompt { - /// Required. URL of the web view to load. + /// Required. URL of the web view to load. #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Optional. JSON data to be passed through to the immersive experience web page as an - /// event. If the `override` field in the containing prompt is `false` data - /// values defined in this Canvas prompt will be added after data values - /// defined in previous Canvas prompts. + /// Optional. JSON data to be passed through to the immersive experience web page as an + /// event. If the `override` field in the containing prompt is `false` data + /// values defined in this Canvas prompt will be added after data values + /// defined in previous Canvas prompts. #[prost(message, repeated, tag="2")] pub data: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Optional. A true value means that the mic won't be opened for capturing input after - /// this immersive response is presented to the user. + /// Optional. A true value means that the mic won't be opened for capturing input after + /// this immersive response is presented to the user. #[prost(bool, tag="3")] pub suppress_mic: bool, - /// Optional. If `true`, conversation related metadata is included and send back to the - /// canvas application. + /// Optional. If `true`, conversation related metadata is included and send back to the + /// canvas application. #[prost(bool, tag="5")] pub send_state_data_to_canvas_app: bool, - /// Optional. If `true` the canvas application occupies the full screen and won't - /// have a header at the top. A toast message will also be displayed on the - /// loading screen that includes the Action's display name, the developer's - /// name, and instructions for exiting the Action. Default value: `false`. + /// Optional. If `true` the canvas application occupies the full screen and won't + /// have a header at the top. A toast message will also be displayed on the + /// loading screen that includes the Action's display name, the developer's + /// name, and instructions for exiting the Action. Default value: `false`. #[prost(bool, tag="6")] pub enable_full_screen: bool, } -/// An image displayed in the card. +/// An image displayed in the card. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticImagePrompt { - /// Required. The source url of the image. Images can be JPG, PNG and GIF (animated and - /// non-animated). For example,` + /// Required. The source url of the image. Images can be JPG, PNG and GIF (animated and + /// non-animated). For example,` #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Required. A text description of the image to be used for accessibility, e.g. screen - /// readers. + /// Required. A text description of the image to be used for accessibility, e.g. screen + /// readers. #[prost(string, tag="2")] pub alt: ::prost::alloc::string::String, - /// Optional. The height of the image in pixels. + /// Optional. The height of the image in pixels. #[prost(int32, tag="3")] pub height: i32, - /// Optional. The width of the image in pixels. + /// Optional. The width of the image in pixels. #[prost(int32, tag="4")] pub width: i32, } /// Nested message and enum types in `StaticImagePrompt`. pub mod static_image_prompt { - /// Possible image display options for affecting the presentation of the image. - /// This should be used for when the image's aspect ratio does not match the - /// image container's aspect ratio. + /// Possible image display options for affecting the presentation of the image. + /// This should be used for when the image's aspect ratio does not match the + /// image container's aspect ratio. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageFill { - /// ImageFill unspecified. + /// ImageFill unspecified. Unspecified = 0, - /// Fill the gaps between the image and the image container with gray bars. + /// Fill the gaps between the image and the image container with gray bars. Gray = 1, - /// Fill the gaps between the image and the image container with white bars. + /// Fill the gaps between the image and the image container with white bars. White = 2, - /// Image is scaled such that the image width and height match or exceed the - /// container dimensions. This may crop the top and bottom of the image if - /// the scaled image height is greater than the container height, or crop the - /// left and right of the image if the scaled image width is greater than the - /// container width. This is similar to "Zoom Mode" on a widescreen TV when - /// playing a 4:3 video. + /// Image is scaled such that the image width and height match or exceed the + /// container dimensions. This may crop the top and bottom of the image if + /// the scaled image height is greater than the container height, or crop the + /// left and right of the image if the scaled image width is greater than the + /// container width. This is similar to "Zoom Mode" on a widescreen TV when + /// playing a 4:3 video. Cropped = 3, } impl ImageFill { @@ -83,36 +83,36 @@ pub mod static_image_prompt { } } } -/// Defines a link which will be displayed as a suggestion chip and can be opened -/// by the user. +/// Defines a link which will be displayed as a suggestion chip and can be opened +/// by the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticLinkPrompt { - /// Name of the link + /// Name of the link #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Defines behavior when the user opens the link. + /// Defines behavior when the user opens the link. #[prost(message, optional, tag="2")] pub open: ::core::option::Option, } -/// Defines behavior when the user opens the link. +/// Defines behavior when the user opens the link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OpenUrl { - /// The url field which could be any of: - /// - http/https urls for opening an App-linked App or a webpage + /// The url field which could be any of: + /// - http/https urls for opening an App-linked App or a webpage #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Indicates a hint for the url type. + /// Indicates a hint for the url type. #[prost(enumeration="UrlHint", tag="2")] pub hint: i32, } -/// Different types of url hints. +/// Different types of url hints. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UrlHint { - /// Unspecified + /// Unspecified HintUnspecified = 0, - /// URL that points directly to AMP content, or to a canonical URL - /// which refers to AMP content via ``. + /// URL that points directly to AMP content, or to a canonical URL + /// which refers to AMP content via ``. Amp = 1, } impl UrlHint { @@ -127,172 +127,172 @@ impl UrlHint { } } } -/// A basic card for displaying some information, e.g. an image and/or text. +/// A basic card for displaying some information, e.g. an image and/or text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticCardPrompt { - /// Optional. Overall title of the card. + /// Optional. Overall title of the card. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Optional. Subtitle of the card. + /// Optional. Subtitle of the card. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Required. Body text of the card which is needed unless image is present. Supports a - /// limited set of markdown syntax for formatting. + /// Required. Body text of the card which is needed unless image is present. Supports a + /// limited set of markdown syntax for formatting. #[prost(string, tag="3")] pub text: ::prost::alloc::string::String, - /// Optional. A hero image for the card. The height is fixed to 192dp. + /// Optional. A hero image for the card. The height is fixed to 192dp. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, - /// Optional. How the image background will be filled. + /// Optional. How the image background will be filled. #[prost(enumeration="static_image_prompt::ImageFill", tag="5")] pub image_fill: i32, - /// Optional. A clickable button to be shown in the Card. + /// Optional. A clickable button to be shown in the Card. #[prost(message, optional, tag="6")] pub button: ::core::option::Option, } -/// Presents a set of web documents as a collection of large-tile items. Items -/// may be selected to launch their associated web document in a web viewer. +/// Presents a set of web documents as a collection of large-tile items. Items +/// may be selected to launch their associated web document in a web viewer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticCollectionBrowsePrompt { - /// Items in the browse collection. The list size should be in the range [2, - /// 10]. + /// Items in the browse collection. The list size should be in the range [2, + /// 10]. #[prost(message, repeated, tag="1")] pub items: ::prost::alloc::vec::Vec, - /// Image display option for images in the collection. + /// Image display option for images in the collection. #[prost(enumeration="static_image_prompt::ImageFill", tag="2")] pub image_fill: i32, } /// Nested message and enum types in `StaticCollectionBrowsePrompt`. pub mod static_collection_browse_prompt { - /// Item in the collection. + /// Item in the collection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionBrowseItem { - /// Required. Title of the collection item. + /// Required. Title of the collection item. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Description of the collection item. + /// Description of the collection item. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Footer text for the collection item, displayed below the description. - /// Single line of text, truncated with an ellipsis. + /// Footer text for the collection item, displayed below the description. + /// Single line of text, truncated with an ellipsis. #[prost(string, tag="3")] pub footer: ::prost::alloc::string::String, - /// Image for the collection item. + /// Image for the collection item. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, - /// Required. URI to open if the item selected. + /// Required. URI to open if the item selected. #[prost(message, optional, tag="5")] pub open_uri_action: ::core::option::Option, } } -/// A card for presenting a collection of options to select from. +/// A card for presenting a collection of options to select from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticCollectionPrompt { - /// Optional. Title of the collection. + /// Optional. Title of the collection. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Optional. Subtitle of the collection. + /// Optional. Subtitle of the collection. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Required. Collection items. + /// Required. Collection items. #[prost(message, repeated, tag="3")] pub items: ::prost::alloc::vec::Vec, - /// Optional. Type of image display option. + /// Optional. Type of image display option. #[prost(enumeration="static_image_prompt::ImageFill", tag="4")] pub image_fill: i32, } /// Nested message and enum types in `StaticCollectionPrompt`. pub mod static_collection_prompt { - /// An item in the collection. + /// An item in the collection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionItem { - /// Required. The NLU key that matches the entry key name in the associated - /// Type. When item tapped, this key will be posted back as a select option - /// parameter. + /// Required. The NLU key that matches the entry key name in the associated + /// Type. When item tapped, this key will be posted back as a select option + /// parameter. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// Required. Title of the item. When tapped, this text will be - /// posted back to the conversation verbatim as if the user had typed it. - /// Each title must be unique among the set of items. + /// Required. Title of the item. When tapped, this text will be + /// posted back to the conversation verbatim as if the user had typed it. + /// Each title must be unique among the set of items. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// Optional. Body text of the item. + /// Optional. Body text of the item. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Item image. + /// Optional. Item image. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, } } -/// A card for presenting a list of options to select from. +/// A card for presenting a list of options to select from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticListPrompt { - /// Optional. Title of the list. + /// Optional. Title of the list. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Optional. Subtitle of the list. + /// Optional. Subtitle of the list. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Required. List items. + /// Required. List items. #[prost(message, repeated, tag="3")] pub items: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `StaticListPrompt`. pub mod static_list_prompt { - /// An item in the list. + /// An item in the list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListItem { - /// Required. The NLU key that matches the entry key name in the associated type. When - /// item tapped, this key will be posted back as a select option parameter. + /// Required. The NLU key that matches the entry key name in the associated type. When + /// item tapped, this key will be posted back as a select option parameter. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// Required. Title of the item. When tapped, this text will be posted back to the - /// conversation verbatim as if the user had typed it. Each title must be - /// unique among the set of items. + /// Required. Title of the item. When tapped, this text will be posted back to the + /// conversation verbatim as if the user had typed it. Each title must be + /// unique among the set of items. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// Optional. Body text of the item. + /// Optional. Body text of the item. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Item image. + /// Optional. Item image. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, } } -/// Contains information about the media, such as name, description, url, etc. -/// Next id: 11 +/// Contains information about the media, such as name, description, url, etc. +/// Next id: 11 #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticMediaPrompt { - /// Media type of this response. + /// Media type of this response. #[prost(enumeration="static_media_prompt::MediaType", tag="8")] pub media_type: i32, - /// Start offset of the first media object. + /// Start offset of the first media object. #[prost(message, optional, tag="5")] pub start_offset: ::core::option::Option<::prost_types::Duration>, - /// Optional media control types this media response session can support. - /// If set, request will be made to 3p when a certain media event happens. - /// If not set, 3p must still handle two default control type, FINISHED and - /// FAILED. + /// Optional media control types this media response session can support. + /// If set, request will be made to 3p when a certain media event happens. + /// If not set, 3p must still handle two default control type, FINISHED and + /// FAILED. #[prost(enumeration="static_media_prompt::OptionalMediaControls", repeated, tag="6")] pub optional_media_controls: ::prost::alloc::vec::Vec, - /// List of media objects. + /// List of media objects. #[prost(message, repeated, tag="7")] pub media_objects: ::prost::alloc::vec::Vec, - /// Repeat mode for the list of Media Objects. + /// Repeat mode for the list of Media Objects. #[prost(enumeration="static_media_prompt::RepeatMode", tag="9")] pub repeat_mode: i32, } /// Nested message and enum types in `StaticMediaPrompt`. pub mod static_media_prompt { - /// Media type of this response. + /// Media type of this response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// UNSPECIFIED value + /// UNSPECIFIED value Unspecified = 0, - /// Audio file. + /// Audio file. Audio = 1, - /// Response to acknowledge a media status report. + /// Response to acknowledge a media status report. MediaStatusAck = 2, } impl MediaType { @@ -308,15 +308,15 @@ pub mod static_media_prompt { } } } - /// Media control types the media response can supported optionally + /// Media control types the media response can supported optionally #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptionalMediaControls { - /// Unspecified value + /// Unspecified value Unspecified = 0, - /// Paused event. Triggered when user pauses the media. + /// Paused event. Triggered when user pauses the media. Paused = 1, - /// Stopped event. Triggered when user exit out 3p session during media play. + /// Stopped event. Triggered when user exit out 3p session during media play. Stopped = 2, } impl OptionalMediaControls { @@ -332,16 +332,16 @@ pub mod static_media_prompt { } } } - /// The types of repeat mode for a list of media objects. + /// The types of repeat mode for a list of media objects. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RepeatMode { - /// Equivalent to OFF. + /// Equivalent to OFF. Unspecified = 0, - /// End media session at the end of the last media object. + /// End media session at the end of the last media object. Off = 1, - /// Loop to the beginning of the first media object when the end of the last - /// media object is reached. + /// Loop to the beginning of the first media object when the end of the last + /// media object is reached. All = 2, } impl RepeatMode { @@ -358,93 +358,93 @@ pub mod static_media_prompt { } } } -/// Represents a single media object. +/// Represents a single media object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaObject { - /// Name of this media object. + /// Name of this media object. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Description of this media object. + /// Description of this media object. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The url pointing to the media content. + /// The url pointing to the media content. #[prost(string, tag="3")] pub url: ::prost::alloc::string::String, - /// Image to show with the media card. + /// Image to show with the media card. #[prost(message, optional, tag="4")] pub image: ::core::option::Option, } -/// Image to be shown inside a MediaPrompt. +/// Image to be shown inside a MediaPrompt. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaImage { - /// Only one type of MediaImage is allowed. + /// Only one type of MediaImage is allowed. #[prost(oneof="media_image::Image", tags="1, 2")] pub image: ::core::option::Option, } /// Nested message and enum types in `MediaImage`. pub mod media_image { - /// Only one type of MediaImage is allowed. + /// Only one type of MediaImage is allowed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Image { - /// A large image, such as the cover of the album, etc. + /// A large image, such as the cover of the album, etc. #[prost(message, tag="1")] Large(super::StaticImagePrompt), - /// A small image icon displayed on the right from the title. - /// It's resized to 36x36 dp. + /// A small image icon displayed on the right from the title. + /// It's resized to 36x36 dp. #[prost(message, tag="2")] Icon(super::StaticImagePrompt), } } -/// A table card for displaying a table of text. +/// A table card for displaying a table of text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticTablePrompt { - /// Optional. Overall title of the table. Must be set if subtitle is set. + /// Optional. Overall title of the table. Must be set if subtitle is set. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Optional. Subtitle for the table. + /// Optional. Subtitle for the table. #[prost(string, tag="2")] pub subtitle: ::prost::alloc::string::String, - /// Optional. Image associated with the table. + /// Optional. Image associated with the table. #[prost(message, optional, tag="3")] pub image: ::core::option::Option, - /// Optional. Headers and alignment of columns. + /// Optional. Headers and alignment of columns. #[prost(message, repeated, tag="4")] pub columns: ::prost::alloc::vec::Vec, - /// Optional. Row data of the table. The first 3 rows are guaranteed to be shown but - /// others might be cut on certain surfaces. Please test with the simulator to - /// see which rows will be shown for a given surface. On surfaces that support - /// the `WEB_BROWSER` capability, you can point the user to - /// a web page with more data. + /// Optional. Row data of the table. The first 3 rows are guaranteed to be shown but + /// others might be cut on certain surfaces. Please test with the simulator to + /// see which rows will be shown for a given surface. On surfaces that support + /// the `WEB_BROWSER` capability, you can point the user to + /// a web page with more data. #[prost(message, repeated, tag="5")] pub rows: ::prost::alloc::vec::Vec, - /// Optional. Button. + /// Optional. Button. #[prost(message, optional, tag="6")] pub button: ::core::option::Option, } -/// Describes a column in the table. +/// Describes a column in the table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableColumn { - /// Header text for the column. + /// Header text for the column. #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Horizontal alignment of content w.r.t column. If unspecified, content - /// will be aligned to the leading edge. + /// Horizontal alignment of content w.r.t column. If unspecified, content + /// will be aligned to the leading edge. #[prost(enumeration="table_column::HorizontalAlignment", tag="2")] pub align: i32, } /// Nested message and enum types in `TableColumn`. pub mod table_column { - /// The alignment of the content within the cell. + /// The alignment of the content within the cell. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HorizontalAlignment { - /// HorizontalAlignment unspecified. + /// HorizontalAlignment unspecified. Unspecified = 0, - /// Leading edge of the cell. This is the default. + /// Leading edge of the cell. This is the default. Leading = 1, - /// Content is aligned to the center of the column. + /// Content is aligned to the center of the column. Center = 2, - /// Content is aligned to the trailing edge of the column. + /// Content is aligned to the trailing edge of the column. Trailing = 3, } impl HorizontalAlignment { @@ -462,125 +462,125 @@ pub mod table_column { } } } -/// Describes a cell in a row. +/// Describes a cell in a row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableCell { - /// Text content of the cell. + /// Text content of the cell. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } -/// Describes a row in the table. +/// Describes a row in the table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableRow { - /// Cells in this row. The first 3 cells are guaranteed to be shown but - /// others might be cut on certain surfaces. Please test with the simulator - /// to see which cells will be shown for a given surface. + /// Cells in this row. The first 3 cells are guaranteed to be shown but + /// others might be cut on certain surfaces. Please test with the simulator + /// to see which cells will be shown for a given surface. #[prost(message, repeated, tag="1")] pub cells: ::prost::alloc::vec::Vec, - /// Indicates whether there should be a divider after each row. + /// Indicates whether there should be a divider after each row. #[prost(bool, tag="2")] pub divider: bool, } -/// A placeholder for the Content part of a StaticPrompt. +/// A placeholder for the Content part of a StaticPrompt. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticContentPrompt { - /// Only one type of content can be present in a Prompt. + /// Only one type of content can be present in a Prompt. #[prost(oneof="static_content_prompt::Content", tags="1, 2, 3, 4, 5, 6, 7")] pub content: ::core::option::Option, } /// Nested message and enum types in `StaticContentPrompt`. pub mod static_content_prompt { - /// Only one type of content can be present in a Prompt. + /// Only one type of content can be present in a Prompt. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Content { - /// A basic card. + /// A basic card. #[prost(message, tag="1")] Card(super::StaticCardPrompt), - /// An image. + /// An image. #[prost(message, tag="2")] Image(super::StaticImagePrompt), - /// Table card. + /// Table card. #[prost(message, tag="3")] Table(super::StaticTablePrompt), - /// Response indicating a set of media to be played. + /// Response indicating a set of media to be played. #[prost(message, tag="4")] Media(super::StaticMediaPrompt), - /// A card for presenting a list of options to select from. + /// A card for presenting a list of options to select from. #[prost(message, tag="5")] List(super::StaticListPrompt), - /// A card presenting a list of options to select from. + /// A card presenting a list of options to select from. #[prost(message, tag="6")] Collection(super::StaticCollectionPrompt), - /// A card presenting a collection of web pages to open. + /// A card presenting a collection of web pages to open. #[prost(message, tag="7")] CollectionBrowse(super::StaticCollectionBrowsePrompt), } } -/// Represents a simple prompt to be send to a user. +/// Represents a simple prompt to be send to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticSimplePrompt { - /// List of possible variants. + /// List of possible variants. #[prost(message, repeated, tag="1")] pub variants: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `StaticSimplePrompt`. pub mod static_simple_prompt { - /// Represents a variant which is part of the simple prompt. + /// Represents a variant which is part of the simple prompt. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Variant { - /// Optional. Represents the speech to be spoken to the user. Can be SSML or text to - /// speech. - /// By default, speech will be appended to previous Simple prompt's - /// speech. If the `override` field in the containing prompt is `true` the - /// speech defined in this field will override previous Simple prompt's - /// speech. + /// Optional. Represents the speech to be spoken to the user. Can be SSML or text to + /// speech. + /// By default, speech will be appended to previous Simple prompt's + /// speech. If the `override` field in the containing prompt is `true` the + /// speech defined in this field will override previous Simple prompt's + /// speech. #[prost(string, tag="1")] pub speech: ::prost::alloc::string::String, - /// Optional. Text to display in the chat bubble. If not given, a display rendering of - /// the speech field above will be used. Limited to 640 chars. - /// By default, text will be appended to previous Simple prompt's text. - /// If the `override` field in the containing prompt is `true` the text - /// defined in this field will override previous Simple prompt's text. + /// Optional. Text to display in the chat bubble. If not given, a display rendering of + /// the speech field above will be used. Limited to 640 chars. + /// By default, text will be appended to previous Simple prompt's text. + /// If the `override` field in the containing prompt is `true` the text + /// defined in this field will override previous Simple prompt's text. #[prost(string, tag="2")] pub text: ::prost::alloc::string::String, } } -/// Represents a suggestion chip, a UI element shown to the user for convenience. +/// Represents a suggestion chip, a UI element shown to the user for convenience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Suggestion { - /// Required. The text shown in the suggestion chip. When tapped, this text will be - /// posted back to the conversation verbatim as if the user had typed it. - /// Each title must be unique among the set of suggestion chips. - /// Max 25 chars + /// Required. The text shown in the suggestion chip. When tapped, this text will be + /// posted back to the conversation verbatim as if the user had typed it. + /// Each title must be unique among the set of suggestion chips. + /// Max 25 chars #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, } -/// Represents the surface the user is using to make a request to the Action. +/// Represents the surface the user is using to make a request to the Action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SurfaceCapabilities { - /// Required. The capabilities of the surface making a request to the Action. + /// Required. The capabilities of the surface making a request to the Action. #[prost(enumeration="surface_capabilities::Capability", repeated, packed="false", tag="1")] pub capabilities: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SurfaceCapabilities`. pub mod surface_capabilities { - /// Capabilities the device surface supports at the time of the request. + /// Capabilities the device surface supports at the time of the request. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Capability { - /// Unspecified surface capability. + /// Unspecified surface capability. Unspecified = 0, - /// Device can speak to the user via text-to-speech or SSML. + /// Device can speak to the user via text-to-speech or SSML. Speech = 1, - /// Device can display rich responses like cards, lists and tables. + /// Device can display rich responses like cards, lists and tables. RichResponse = 2, - /// Device can play long form audio media like music and podcasts. + /// Device can play long form audio media like music and podcasts. LongFormAudio = 3, - /// Device can display a interactive canvas response. + /// Device can display a interactive canvas response. InteractiveCanvas = 4, - /// Device can use web links in rich responses to open a web browser. + /// Device can use web links in rich responses to open a web browser. WebLink = 5, - /// Device can support saving and fetching home storage. + /// Device can support saving and fetching home storage. HomeStorage = 6, } impl Capability { @@ -601,78 +601,78 @@ pub mod surface_capabilities { } } } -/// Represents a list of prompt candidates, one of which will be selected as the -/// prompt to be shown in the response to the user. -/// **This message is localizable.** +/// Represents a list of prompt candidates, one of which will be selected as the +/// prompt to be shown in the response to the user. +/// **This message is localizable.** #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticPrompt { - /// The list of candidate prompts to be sent to the client. Each prompt has a - /// selector to determine when it can be used. The first selector that matches - /// a request will be sent and the rest will be ignored. + /// The list of candidate prompts to be sent to the client. Each prompt has a + /// selector to determine when it can be used. The first selector that matches + /// a request will be sent and the rest will be ignored. #[prost(message, repeated, tag="1")] pub candidates: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `StaticPrompt`. pub mod static_prompt { - /// Represents a static prompt candidate. + /// Represents a static prompt candidate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticPromptCandidate { - /// Optional. The criteria for whether this prompt matches a request. If the selector - /// is empty, this prompt will always be triggered. + /// Optional. The criteria for whether this prompt matches a request. If the selector + /// is empty, this prompt will always be triggered. #[prost(message, optional, tag="1")] pub selector: ::core::option::Option, - /// The prompt response associated with the selector. + /// The prompt response associated with the selector. #[prost(message, optional, tag="2")] pub prompt_response: ::core::option::Option, } /// Nested message and enum types in `StaticPromptCandidate`. pub mod static_prompt_candidate { - /// Represents structured responses to send to the user, such as text, - /// speech, cards, canvas data, suggestion chips, etc. + /// Represents structured responses to send to the user, such as text, + /// speech, cards, canvas data, suggestion chips, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticPromptResponse { - /// Optional. The first voice and text-only response. + /// Optional. The first voice and text-only response. #[prost(message, optional, tag="2")] pub first_simple: ::core::option::Option, - /// Optional. A content like a card, list or media to display to the user. + /// Optional. A content like a card, list or media to display to the user. #[prost(message, optional, tag="3")] pub content: ::core::option::Option, - /// Optional. The last voice and text-only response. + /// Optional. The last voice and text-only response. #[prost(message, optional, tag="4")] pub last_simple: ::core::option::Option, - /// Optional. Suggestions to be displayed to the user which will always - /// appear at the end of the response. If the `append` field in the - /// containing prompt is `true` the titles defined in this field will be - /// added to titles defined in any previously defined suggestions prompts - /// and duplicate values will be removed. + /// Optional. Suggestions to be displayed to the user which will always + /// appear at the end of the response. If the `append` field in the + /// containing prompt is `true` the titles defined in this field will be + /// added to titles defined in any previously defined suggestions prompts + /// and duplicate values will be removed. #[prost(message, repeated, tag="5")] pub suggestions: ::prost::alloc::vec::Vec, - /// Optional. An additional suggestion chip that can link out to the associated app - /// or site. - /// The chip will be rendered with the title "Open ". Max 20 chars. + /// Optional. An additional suggestion chip that can link out to the associated app + /// or site. + /// The chip will be rendered with the title "Open ". Max 20 chars. #[prost(message, optional, tag="6")] pub link: ::core::option::Option, - /// Optional. Mode for how this messages should be merged with previously defined - /// messages. - /// `true` will clear all previously defined messages (first and last - /// simple, content, suggestions link and canvas) and add messages defined - /// in this prompt. `false` will add messages defined in this prompt to - /// messages defined in previous responses. Setting this field to `false` - /// will also enable appending to some fields inside Simple prompts, the - /// Suggestions prompt and the Canvas prompt (part of the Content prompt). - /// The Content and Link messages will always be overwritten if defined in - /// the prompt. Default value is `false`. + /// Optional. Mode for how this messages should be merged with previously defined + /// messages. + /// `true` will clear all previously defined messages (first and last + /// simple, content, suggestions link and canvas) and add messages defined + /// in this prompt. `false` will add messages defined in this prompt to + /// messages defined in previous responses. Setting this field to `false` + /// will also enable appending to some fields inside Simple prompts, the + /// Suggestions prompt and the Canvas prompt (part of the Content prompt). + /// The Content and Link messages will always be overwritten if defined in + /// the prompt. Default value is `false`. #[prost(bool, tag="7")] pub r#override: bool, - /// A response to be used for interactive canvas experience. + /// A response to be used for interactive canvas experience. #[prost(message, optional, tag="8")] pub canvas: ::core::option::Option, } } - /// Defines the criteria for whether a prompt matches a request. + /// Defines the criteria for whether a prompt matches a request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Selector { - /// The set of required surface capabilities. + /// The set of required surface capabilities. #[prost(message, optional, tag="1")] pub surface_capabilities: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.r#type.rs b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.r#type.rs index 2f8a6f759..08f32825f 100644 --- a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.r#type.rs +++ b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.r#type.rs @@ -1,103 +1,103 @@ -/// A reference to a class which is used to declare the type of a field or return -/// value. Enums are also a type of class that can be referenced using -/// ClassReference. +/// A reference to a class which is used to declare the type of a field or return +/// value. Enums are also a type of class that can be referenced using +/// ClassReference. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassReference { - /// Required. Name of a built-in type or custom type of the parameter. Examples: - /// `PizzaToppings`, `actions.type.Number` + /// Required. Name of a built-in type or custom type of the parameter. Examples: + /// `PizzaToppings`, `actions.type.Number` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Indicates whether the data type represents a list of values. + /// Optional. Indicates whether the data type represents a list of values. #[prost(bool, tag="2")] pub list: bool, } -/// Elements that will be displayed on the canvas once a particular type's entity -/// is extracted from a query. Only relevant for canvas enabled apps. -/// **This message is localizable.** +/// Elements that will be displayed on the canvas once a particular type's entity +/// is extracted from a query. Only relevant for canvas enabled apps. +/// **This message is localizable.** #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityDisplay { - /// Optional. Title of the icon. + /// Optional. Title of the icon. #[prost(string, tag="1")] pub icon_title: ::prost::alloc::string::String, - /// Required. Url of the icon. + /// Required. Url of the icon. #[prost(string, tag="2")] pub icon_url: ::prost::alloc::string::String, } -/// Type that matches any text if surrounding words context is close to provided -/// training examples. +/// Type that matches any text if surrounding words context is close to provided +/// training examples. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FreeTextType { - /// Optional. Elements that will be displayed on the canvas once an entity is extracted - /// from a query. Only relevant for canvas enabled apps. + /// Optional. Elements that will be displayed on the canvas once an entity is extracted + /// from a query. Only relevant for canvas enabled apps. #[prost(message, optional, tag="2")] pub display: ::core::option::Option, } -/// Type that matches text by regular expressions. -/// **This message is localizable.** +/// Type that matches text by regular expressions. +/// **This message is localizable.** #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegularExpressionType { - /// Required. Named map of entities which each contain Regex strings. + /// Required. Named map of entities which each contain Regex strings. #[prost(map="string, message", tag="1")] pub entities: ::std::collections::HashMap<::prost::alloc::string::String, regular_expression_type::Entity>, } /// Nested message and enum types in `RegularExpressionType`. pub mod regular_expression_type { - /// Represents an entity object that contains the regular expression that is - /// used for comparison. + /// Represents an entity object that contains the regular expression that is + /// used for comparison. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// Optional. Elements that will be displayed on the canvas once an entity is - /// extracted from a query. Only relevant for canvas enabled apps. + /// Optional. Elements that will be displayed on the canvas once an entity is + /// extracted from a query. Only relevant for canvas enabled apps. #[prost(message, optional, tag="1")] pub display: ::core::option::Option, - /// Required. Uses RE2 regex syntax (See - /// for more details) + /// Required. Uses RE2 regex syntax (See + /// for more details) #[prost(string, repeated, tag="2")] pub regular_expressions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Type that matches text by set of synonyms. +/// Type that matches text by set of synonyms. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SynonymType { - /// Optional. The match type for the synonym. + /// Optional. The match type for the synonym. #[prost(enumeration="synonym_type::MatchType", tag="1")] pub match_type: i32, - /// Optional. When set to true this will match unknown words or phrases based on - /// surrounding input and intent training data, such as items that might be - /// added to a grocery list. + /// Optional. When set to true this will match unknown words or phrases based on + /// surrounding input and intent training data, such as items that might be + /// added to a grocery list. #[prost(bool, tag="3")] pub accept_unknown_values: bool, - /// Required. Named map of synonym entities. + /// Required. Named map of synonym entities. #[prost(map="string, message", tag="2")] pub entities: ::std::collections::HashMap<::prost::alloc::string::String, synonym_type::Entity>, } /// Nested message and enum types in `SynonymType`. pub mod synonym_type { - /// Represents a synonym entity field that contains the details of a single - /// entry inside the type. + /// Represents a synonym entity field that contains the details of a single + /// entry inside the type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// Optional. The entity display details. + /// Optional. The entity display details. #[prost(message, optional, tag="1")] pub display: ::core::option::Option, - /// Optional. The list of synonyms for the entity. - /// **This field is localizable.** + /// Optional. The list of synonyms for the entity. + /// **This field is localizable.** #[prost(string, repeated, tag="2")] pub synonyms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// The type of matching that entries in this type will use. This will ensure - /// all of the types use the same matching method and allow variation of - /// matching for synonym matching (i.e. fuzzy versus exact). If the value is - /// `UNSPECIFIED` it will be defaulted to `EXACT_MATCH`. + /// The type of matching that entries in this type will use. This will ensure + /// all of the types use the same matching method and allow variation of + /// matching for synonym matching (i.e. fuzzy versus exact). If the value is + /// `UNSPECIFIED` it will be defaulted to `EXACT_MATCH`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Defaults to `EXACT_MATCH`. + /// Defaults to `EXACT_MATCH`. Unspecified = 0, - /// Looks for an exact match of the synonym or name. + /// Looks for an exact match of the synonym or name. ExactMatch = 1, - /// Looser than `EXACT_MATCH`. Looks for similar matches as well as exact - /// matches. + /// Looser than `EXACT_MATCH`. Looks for similar matches as well as exact + /// matches. FuzzyMatch = 2, } impl MatchType { @@ -114,34 +114,34 @@ pub mod synonym_type { } } } -/// Declaration of a custom type, as opposed to built-in types. Types can be -/// assigned to slots in a scene or parameters of an intent's training phrases. -/// Practically, Types can be thought of as enums. -/// Note, type name is specified in the name of the file. +/// Declaration of a custom type, as opposed to built-in types. Types can be +/// assigned to slots in a scene or parameters of an intent's training phrases. +/// Practically, Types can be thought of as enums. +/// Note, type name is specified in the name of the file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Type { - /// Set of exceptional words/phrases that shouldn't be matched by type. - /// Note: If word/phrase is matched by the type but listed as an exclusion it - /// won't be returned in parameter extraction result. - /// **This field is localizable.** + /// Set of exceptional words/phrases that shouldn't be matched by type. + /// Note: If word/phrase is matched by the type but listed as an exclusion it + /// won't be returned in parameter extraction result. + /// **This field is localizable.** #[prost(string, repeated, tag="4")] pub exclusions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Selection of sub type based on the type of matching to be done. + /// Selection of sub type based on the type of matching to be done. #[prost(oneof="r#type::SubType", tags="1, 2, 3")] pub sub_type: ::core::option::Option, } /// Nested message and enum types in `Type`. pub mod r#type { - /// Selection of sub type based on the type of matching to be done. + /// Selection of sub type based on the type of matching to be done. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SubType { - /// Synonyms type, which is essentially an enum. + /// Synonyms type, which is essentially an enum. #[prost(message, tag="1")] Synonym(super::SynonymType), - /// Regex type, allows regular expression matching. + /// Regex type, allows regular expression matching. #[prost(message, tag="2")] RegularExpression(super::RegularExpressionType), - /// FreeText type. + /// FreeText type. #[prost(message, tag="3")] FreeText(super::FreeTextType), } diff --git a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.rs b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.rs index cdf641ad1..2eefca43b 100644 --- a/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.rs +++ b/gcloud-sdk/genproto/google.actions.sdk.v2.interactionmodel.rs @@ -1,224 +1,224 @@ -/// Entity sets describe the pre-defined set of entities that the values of -/// built-in intent parameters can come from. Entity sets can be referenced from -/// entity_set in built-in intent parameters. +/// Entity sets describe the pre-defined set of entities that the values of +/// built-in intent parameters can come from. Entity sets can be referenced from +/// entity_set in built-in intent parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntitySet { - /// Required. The list of entities this entity set supports. + /// Required. The list of entities this entity set supports. #[prost(message, repeated, tag="1")] pub entities: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EntitySet`. pub mod entity_set { - /// An entity a built-in intent parameter value can come from. + /// An entity a built-in intent parameter value can come from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// Required. The ID of the entity. - /// For a list of built-in-intent parameters and their supported entities, - /// see - /// + /// Required. The ID of the entity. + /// For a list of built-in-intent parameters and their supported entities, + /// see + /// #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, } } -/// Defines a handler to be executed after an event. Examples of events are -/// intent and condition based events in a scene. +/// Defines a handler to be executed after an event. Examples of events are +/// intent and condition based events in a scene. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventHandler { - /// Name of the webhook handler to call. + /// Name of the webhook handler to call. #[prost(string, tag="1")] pub webhook_handler: ::prost::alloc::string::String, - /// Prompts can either be inlined or referenced by name. + /// Prompts can either be inlined or referenced by name. #[prost(oneof="event_handler::Prompt", tags="2, 3")] pub prompt: ::core::option::Option, } /// Nested message and enum types in `EventHandler`. pub mod event_handler { - /// Prompts can either be inlined or referenced by name. + /// Prompts can either be inlined or referenced by name. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Prompt { - /// Inlined static prompt. Can contain references to string resources in - /// bundles. + /// Inlined static prompt. Can contain references to string resources in + /// bundles. #[prost(message, tag="2")] StaticPrompt(super::prompt::StaticPrompt), - /// Name of the static prompt to invoke. + /// Name of the static prompt to invoke. #[prost(string, tag="3")] StaticPromptName(::prost::alloc::string::String), } } -/// Defines a global intent handler. Global intent events are scoped to the -/// entire Actions project and may be overridden by intent handlers in a scene. -/// Intent names must be unique within an Actions project. +/// Defines a global intent handler. Global intent events are scoped to the +/// entire Actions project and may be overridden by intent handlers in a scene. +/// Intent names must be unique within an Actions project. /// -/// Global intents can be matched anytime during a session, allowing users to -/// access common flows like "get help" or "go back home." They can also be -/// used to deep link users into specific flows when they invoke an Action. +/// Global intents can be matched anytime during a session, allowing users to +/// access common flows like "get help" or "go back home." They can also be +/// used to deep link users into specific flows when they invoke an Action. /// -/// Note, the intent name is specified in the name of the file. +/// Note, the intent name is specified in the name of the file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalIntentEvent { - /// Optional. Destination scene which the conversation should jump to. The state of the - /// current scene is destroyed on the transition. + /// Optional. Destination scene which the conversation should jump to. The state of the + /// current scene is destroyed on the transition. #[prost(string, tag="1")] pub transition_to_scene: ::prost::alloc::string::String, - /// Optional. Event handler which is triggered when the intent is matched. Should execute - /// before transitioning to the destination scene. Useful to generate Prompts - /// in response to events. + /// Optional. Event handler which is triggered when the intent is matched. Should execute + /// before transitioning to the destination scene. Useful to generate Prompts + /// in response to events. #[prost(message, optional, tag="2")] pub handler: ::core::option::Option, } -/// Intents map open-ended user input to structured objects. Spoken -/// phrases are matched to intents with Google's Natural Language Understanding -/// (NLU). Intent matches can trigger events in your conversation design to -/// progress the user's conversation. -/// The intent name is specified in the name of the file. +/// Intents map open-ended user input to structured objects. Spoken +/// phrases are matched to intents with Google's Natural Language Understanding +/// (NLU). Intent matches can trigger events in your conversation design to +/// progress the user's conversation. +/// The intent name is specified in the name of the file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intent { - /// The list of parameters within the training phrases. All parameters must be - /// defined here to be used in the training phrase. + /// The list of parameters within the training phrases. All parameters must be + /// defined here to be used in the training phrase. #[prost(message, repeated, tag="1")] pub parameters: ::prost::alloc::vec::Vec, - /// Training phrases allow Google’s NLU to automatically match intents with - /// user input. The more unique phrases that are provided, the better chance - /// this intent will be matched. - /// The following is the format of training phrase part which are annotated. - /// Note that `auto` field is optional and the default behavior when `auto` is - /// not specified is equivalent to `auto=false`. - /// `($ '' auto=)` - /// `auto = true` means the part was auto annotated by NLU. - /// `auto = false` means the part was annotated by the user. This is the + /// Training phrases allow Google’s NLU to automatically match intents with + /// user input. The more unique phrases that are provided, the better chance + /// this intent will be matched. + /// The following is the format of training phrase part which are annotated. + /// Note that `auto` field is optional and the default behavior when `auto` is + /// not specified is equivalent to `auto=false`. + /// `($ '' auto=)` + /// `auto = true` means the part was auto annotated by NLU. + /// `auto = false` means the part was annotated by the user. This is the /// default when auto is not specified. - /// Example: - /// "Book a flight from ($source 'San Francisco' auto=false) to ($dest - /// 'Vancouver')" + /// Example: + /// "Book a flight from ($source 'San Francisco' auto=false) to ($dest + /// 'Vancouver')" #[prost(string, repeated, tag="2")] pub training_phrases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Intent`. pub mod intent { - /// Definition of a parameter which can be used inside training phrases. + /// Definition of a parameter which can be used inside training phrases. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentParameter { - /// Required. Unique name of the intent parameter. Can be used in conditions and - /// responses to reference intent parameters extracted by NLU with - /// $intent.params.\[name\].resolved + /// Required. Unique name of the intent parameter. Can be used in conditions and + /// responses to reference intent parameters extracted by NLU with + /// $intent.params.\[name\].resolved #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of the intent parameter. + /// The type of the intent parameter. #[prost(oneof="intent_parameter::ParameterType", tags="2, 3")] pub parameter_type: ::core::option::Option, } /// Nested message and enum types in `IntentParameter`. pub mod intent_parameter { - /// Entity set references for an intent parameter. + /// Entity set references for an intent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntitySetReferences { - /// Required. Entity set references for an intent parameter. + /// Required. Entity set references for an intent parameter. #[prost(message, repeated, tag="1")] pub entity_set_references: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EntitySetReferences`. pub mod entity_set_references { - /// A reference to the set of allowed entities for this intent parameter. + /// A reference to the set of allowed entities for this intent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntitySetReference { - /// Required. Identifies the specific collection of entities to be considered for a - /// given parameter. The corresponding entity set definition should be - /// present in the custom/entitySets/ directory. + /// Required. Identifies the specific collection of entities to be considered for a + /// given parameter. The corresponding entity set definition should be + /// present in the custom/entitySets/ directory. #[prost(string, tag="1")] pub entity_set: ::prost::alloc::string::String, } } - /// The type of the intent parameter. + /// The type of the intent parameter. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ParameterType { - /// Optional. Declares the data type of this parameter. - /// This should not be set for built-in intents. + /// Optional. Declares the data type of this parameter. + /// This should not be set for built-in intents. #[prost(message, tag="2")] Type(super::super::r#type::ClassReference), - /// Optional. References to the sets of allowed entities for this intent parameter. - /// Only valid for parameters of a built-in intent. These - /// references point to entity sets in the 'custom/entitySets' directory. + /// Optional. References to the sets of allowed entities for this intent parameter. + /// Only valid for parameters of a built-in intent. These + /// references point to entity sets in the 'custom/entitySets' directory. #[prost(message, tag="3")] EntitySetReferences(EntitySetReferences), } } } -/// Registers events that trigger as the result of a true condition. +/// Registers events that trigger as the result of a true condition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionalEvent { - /// Required. Filter condition for this event to trigger. If condition is evaluated to - /// true then the associated `handler` will be triggered. - /// The following variable references are supported: + /// Required. Filter condition for this event to trigger. If condition is evaluated to + /// true then the associated `handler` will be triggered. + /// The following variable references are supported: /// `$session` - To reference data in session storage. /// `$user` - To reference data in user storage. - /// The following boolean operators are supported (with examples): + /// The following boolean operators are supported (with examples): /// `&&` - `session.params.counter > 0 && session.params.counter < 100` /// `||` - `session.params.foo == "John" || session.params.counter == "Adam"` /// `!` - `!(session.params.counter == 5)` - /// The following comparisons are supported: + /// The following comparisons are supported: /// `==`, `!=`, `<`, `>`, `<=`, `>=` - /// The following list and string operators are supported (with examples): + /// The following list and string operators are supported (with examples): /// `in` - "Watermelon" in `session.params.fruitList` /// `size` - `size(session.params.fruitList) > 2` /// `substring` - `session.params.fullName.contains("John")` #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// Optional. Destination scene which the conversation should jump to when the associated - /// condition is evaluated to true. The state of the current scene is destroyed - /// on the transition. + /// Optional. Destination scene which the conversation should jump to when the associated + /// condition is evaluated to true. The state of the current scene is destroyed + /// on the transition. #[prost(string, tag="2")] pub transition_to_scene: ::prost::alloc::string::String, - /// Optional. Event handler which is triggered when the associated condition is evaluated - /// to `true`. Should execute before transitioning to the destination scene. - /// Useful to generate Prompts in response to events. + /// Optional. Event handler which is triggered when the associated condition is evaluated + /// to `true`. Should execute before transitioning to the destination scene. + /// Useful to generate Prompts in response to events. #[prost(message, optional, tag="3")] pub handler: ::core::option::Option, } -/// Registers Events which trigger as the result of an intent match. +/// Registers Events which trigger as the result of an intent match. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentEvent { - /// Required. Intent triggering the event. + /// Required. Intent triggering the event. #[prost(string, tag="1")] pub intent: ::prost::alloc::string::String, - /// Optional. Destination scene which the conversation should jump to. The state of the - /// current scene is destroyed on the transition. + /// Optional. Destination scene which the conversation should jump to. The state of the + /// current scene is destroyed on the transition. #[prost(string, tag="2")] pub transition_to_scene: ::prost::alloc::string::String, - /// Optional. Event handler which is triggered when the intent is matched. Should execute - /// before transitioning to the destination scene. Useful to generate prompts - /// in response to events. + /// Optional. Event handler which is triggered when the intent is matched. Should execute + /// before transitioning to the destination scene. Useful to generate prompts + /// in response to events. #[prost(message, optional, tag="3")] pub handler: ::core::option::Option, } -/// Configuration for a slot. Slots are single units of data that can be filled -/// through natural language (ie. intent parameters), session parameters, and -/// other sources. +/// Configuration for a slot. Slots are single units of data that can be filled +/// through natural language (ie. intent parameters), session parameters, and +/// other sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Slot { - /// Required. Name of the slot. + /// Required. Name of the slot. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Declares the data type of this slot. + /// Required. Declares the data type of this slot. #[prost(message, optional, tag="2")] pub r#type: ::core::option::Option, - /// Optional. Indicates whether the slot is required to be filled before - /// advancing. Required slots that are not filled will trigger a customizable - /// prompt to the user. + /// Optional. Indicates whether the slot is required to be filled before + /// advancing. Required slots that are not filled will trigger a customizable + /// prompt to the user. #[prost(bool, tag="3")] pub required: bool, - /// Optional. Registers Prompts for different stages of slot filling. + /// Optional. Registers Prompts for different stages of slot filling. #[prost(message, optional, tag="4")] pub prompt_settings: ::core::option::Option, - /// Optional. Commit behavior associated with the slot. + /// Optional. Commit behavior associated with the slot. #[prost(message, optional, tag="5")] pub commit_behavior: ::core::option::Option, - /// Optional. Additional configuration associated with the slot which is - /// used for filling the slot. The format of the config is specific to the - /// type of the slot. Resource references to user or session parameter can be - /// added to this config. This config is needed for filling slots related to - /// transactions and user engagement. + /// Optional. Additional configuration associated with the slot which is + /// used for filling the slot. The format of the config is specific to the + /// type of the slot. Resource references to user or session parameter can be + /// added to this config. This config is needed for filling slots related to + /// transactions and user engagement. /// - /// Example: + /// Example: /// For a slot of type actions.type.CompletePurchaseValue, the following /// config proposes a digital good order with a reference to a client defined /// session parameter `userSelectedSkuId`: @@ -234,106 +234,106 @@ pub struct Slot { /// } #[prost(message, optional, tag="6")] pub config: ::core::option::Option<::prost_types::Value>, - /// Optional. Configuration to populate a default value for this slot. + /// Optional. Configuration to populate a default value for this slot. #[prost(message, optional, tag="7")] pub default_value: ::core::option::Option, } /// Nested message and enum types in `Slot`. pub mod slot { - /// A single place where slot prompts are defined. + /// A single place where slot prompts are defined. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromptSettings { - /// Prompt for the slot value itself. Example: "What size did you want?" + /// Prompt for the slot value itself. Example: "What size did you want?" #[prost(message, optional, tag="1")] pub initial_prompt: ::core::option::Option, - /// Prompt to give when the user's input does not match the expected - /// value type for the slot for the first time. Example: "Sorry, I - /// didn't get that." + /// Prompt to give when the user's input does not match the expected + /// value type for the slot for the first time. Example: "Sorry, I + /// didn't get that." #[prost(message, optional, tag="2")] pub no_match_prompt1: ::core::option::Option, - /// Prompt to give when the user's input does not match the expected - /// value type for the slot for the second time. Example: "Sorry, I - /// didn't get that." + /// Prompt to give when the user's input does not match the expected + /// value type for the slot for the second time. Example: "Sorry, I + /// didn't get that." #[prost(message, optional, tag="3")] pub no_match_prompt2: ::core::option::Option, - /// Prompt to give when the user's input does not match the expected - /// value type for the slot for the last time. Example: "Sorry, I - /// didn't get that." + /// Prompt to give when the user's input does not match the expected + /// value type for the slot for the last time. Example: "Sorry, I + /// didn't get that." #[prost(message, optional, tag="4")] pub no_match_final_prompt: ::core::option::Option, - /// Prompt to give when the user does not provide an input for the first - /// time. Example: "Sorry, I didn't get that." + /// Prompt to give when the user does not provide an input for the first + /// time. Example: "Sorry, I didn't get that." #[prost(message, optional, tag="5")] pub no_input_prompt1: ::core::option::Option, - /// Prompt to give when the user does not provide an input for the second - /// time. Example: "Sorry, I didn't get that." + /// Prompt to give when the user does not provide an input for the second + /// time. Example: "Sorry, I didn't get that." #[prost(message, optional, tag="6")] pub no_input_prompt2: ::core::option::Option, - /// Prompt to give when the user does not provide an input for the last - /// time. Example: "Sorry, I didn't get that." + /// Prompt to give when the user does not provide an input for the last + /// time. Example: "Sorry, I didn't get that." #[prost(message, optional, tag="7")] pub no_input_final_prompt: ::core::option::Option, } - /// Message describing the commit behavior associated with the slot after it - /// has been successfully filled. + /// Message describing the commit behavior associated with the slot after it + /// has been successfully filled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitBehavior { - /// The session parameter to write the slot value after it is filled. Note - /// that nested paths are not currently supported. "$$" is used to write the - /// slot value to a session parameter with same name as the slot. - /// Eg: write_session_param = "fruit" corresponds to "$session.params.fruit". - /// write_session_param = "ticket" corresponds to "$session.params.ticket". + /// The session parameter to write the slot value after it is filled. Note + /// that nested paths are not currently supported. "$$" is used to write the + /// slot value to a session parameter with same name as the slot. + /// Eg: write_session_param = "fruit" corresponds to "$session.params.fruit". + /// write_session_param = "ticket" corresponds to "$session.params.ticket". #[prost(string, tag="1")] pub write_session_param: ::prost::alloc::string::String, } - /// Configuration to populate a default value for this slot. + /// Configuration to populate a default value for this slot. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DefaultValue { - /// Optional. The session parameter to be used to initialize the slot value, if it has - /// a non-empty value. The type of the value must match the type of the slot. - /// Note that nested paths are not currently supported. - /// Eg: `session_param = "fruit"` corresponds to `$session.params.fruit`. - /// `session_param = "ticket"` corresponds to `$session.params.ticket`. + /// Optional. The session parameter to be used to initialize the slot value, if it has + /// a non-empty value. The type of the value must match the type of the slot. + /// Note that nested paths are not currently supported. + /// Eg: `session_param = "fruit"` corresponds to `$session.params.fruit`. + /// `session_param = "ticket"` corresponds to `$session.params.ticket`. #[prost(string, tag="1")] pub session_param: ::prost::alloc::string::String, - /// Optional. Constant default value for the slot. This will only be used if a value - /// for this slot was not populated through the `session_param`. The - /// type for this value must match the type of the slot. + /// Optional. Constant default value for the slot. This will only be used if a value + /// for this slot was not populated through the `session_param`. The + /// type for this value must match the type of the slot. #[prost(message, optional, tag="2")] pub constant: ::core::option::Option<::prost_types::Value>, } } -/// Scene is the basic unit of control flow when designing a conversation. They -/// can be chained together with other scenes, generate prompts for the end user, -/// and define slots. -/// The scene name is specified in the name of the file. +/// Scene is the basic unit of control flow when designing a conversation. They +/// can be chained together with other scenes, generate prompts for the end user, +/// and define slots. +/// The scene name is specified in the name of the file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scene { - /// Handler to invoke when transitioning into this scene. + /// Handler to invoke when transitioning into this scene. #[prost(message, optional, tag="1")] pub on_enter: ::core::option::Option, - /// The list of events that trigger based on intents. These events can - /// be triggered at any time after the on_load Handler has been called. - /// Important - these events define the set of intents which are scoped to - /// this scene and will take precedence over any globally defined events that - /// have the same intents or their triggering phrases. Intent names must be - /// unique within a scene. + /// The list of events that trigger based on intents. These events can + /// be triggered at any time after the on_load Handler has been called. + /// Important - these events define the set of intents which are scoped to + /// this scene and will take precedence over any globally defined events that + /// have the same intents or their triggering phrases. Intent names must be + /// unique within a scene. #[prost(message, repeated, tag="2")] pub intent_events: ::prost::alloc::vec::Vec, - /// The list of events to trigger based on conditional statements. These are - /// evaluated after the form has been filled or immediately after on_load if - /// this scene does not have a form (evaluation is only done once). Only the - /// first matching event will be triggered. + /// The list of events to trigger based on conditional statements. These are + /// evaluated after the form has been filled or immediately after on_load if + /// this scene does not have a form (evaluation is only done once). Only the + /// first matching event will be triggered. #[prost(message, repeated, tag="3")] pub conditional_events: ::prost::alloc::vec::Vec, - /// Ordered list of slots. Each slot defines the type of data - /// that it will resolve and configuration to customize the experience of this - /// resolution (e.g. prompts). + /// Ordered list of slots. Each slot defines the type of data + /// that it will resolve and configuration to customize the experience of this + /// resolution (e.g. prompts). #[prost(message, repeated, tag="4")] pub slots: ::prost::alloc::vec::Vec, - /// Handler called when there is a change in state of a slot not - /// caused by updates within another Handler. This allows slots to be - /// invalidated, the scene invalidated or other changes to scene state. + /// Handler called when there is a change in state of a slot not + /// caused by updates within another Handler. This allows slots to be + /// invalidated, the scene invalidated or other changes to scene state. #[prost(message, optional, tag="5")] pub on_slot_updated: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.actions.sdk.v2.rs b/gcloud-sdk/genproto/google.actions.sdk.v2.rs index c98f8157a..75f585007 100644 --- a/gcloud-sdk/genproto/google.actions.sdk.v2.rs +++ b/gcloud-sdk/genproto/google.actions.sdk.v2.rs @@ -1,89 +1,89 @@ -/// AccountLinking allows Google to guide the user to sign-in to the App's web -/// services. +/// AccountLinking allows Google to guide the user to sign-in to the App's web +/// services. /// -/// For Google Sign In and OAuth + Google Sign In linking types, Google generates -/// a client ID identifying your App to Google ("Client ID issued by Google to -/// your Actions" on Console UI). This field is read-only and can be checked by -/// navigating to the Console UI's Account Linking page. -/// See: +/// For Google Sign In and OAuth + Google Sign In linking types, Google generates +/// a client ID identifying your App to Google ("Client ID issued by Google to +/// your Actions" on Console UI). This field is read-only and can be checked by +/// navigating to the Console UI's Account Linking page. +/// See: /// -/// Note: For all account linking setting types (except for Google Sign In), you -/// must provide a username and password for a test account in -/// Settings.testing_instructions for the review team to review the app (they -/// will not be visible to users). +/// Note: For all account linking setting types (except for Google Sign In), you +/// must provide a username and password for a test account in +/// Settings.testing_instructions for the review team to review the app (they +/// will not be visible to users). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinking { - /// Required. If `true`, users are allowed to sign up for new accounts via voice. - /// If `false`, account creation is only allowed on your website. Select this - /// option if you want to display your terms of service or obtain user consents - /// during sign-up. - /// linking_type cannot be GOOGLE_SIGN_IN when this is `false`. - /// linking_type cannot be OAUTH when this is `true`. + /// Required. If `true`, users are allowed to sign up for new accounts via voice. + /// If `false`, account creation is only allowed on your website. Select this + /// option if you want to display your terms of service or obtain user consents + /// during sign-up. + /// linking_type cannot be GOOGLE_SIGN_IN when this is `false`. + /// linking_type cannot be OAUTH when this is `true`. #[prost(bool, tag="1")] pub enable_account_creation: bool, - /// Required. The linking type to use. - /// See for further details on - /// the linking types. + /// Required. The linking type to use. + /// See for further details on + /// the linking types. #[prost(enumeration="account_linking::LinkingType", tag="2")] pub linking_type: i32, - /// Optional. Indicates the type of authentication for OAUTH linking_type. + /// Optional. Indicates the type of authentication for OAUTH linking_type. #[prost(enumeration="account_linking::AuthGrantType", tag="3")] pub auth_grant_type: i32, - /// Optional. Client ID issued by your App to Google. - /// This is the OAuth2 Client ID identifying Google to your service. - /// Only set when using OAuth. + /// Optional. Client ID issued by your App to Google. + /// This is the OAuth2 Client ID identifying Google to your service. + /// Only set when using OAuth. #[prost(string, tag="4")] pub app_client_id: ::prost::alloc::string::String, - /// Optional. Endpoint for your sign-in web page that supports OAuth2 code or - /// implicit flows. - /// URL must use HTTPS. - /// Only set when using OAuth. + /// Optional. Endpoint for your sign-in web page that supports OAuth2 code or + /// implicit flows. + /// URL must use HTTPS. + /// Only set when using OAuth. #[prost(string, tag="5")] pub authorization_url: ::prost::alloc::string::String, - /// Optional. OAuth2 endpoint for token exchange. - /// URL must use HTTPS. - /// This is not set when only using OAuth with IMPLICIT grant as the - /// linking type. - /// Only set when using OAuth. + /// Optional. OAuth2 endpoint for token exchange. + /// URL must use HTTPS. + /// This is not set when only using OAuth with IMPLICIT grant as the + /// linking type. + /// Only set when using OAuth. #[prost(string, tag="6")] pub token_url: ::prost::alloc::string::String, - /// Optional. List of permissions the user must consent to in order to use - /// your service. - /// Only set when using OAuth. - /// Make sure to provide a Terms of Service in the directory information in - /// LocalizedSettings.terms_of_service_url section if specifying this field. + /// Optional. List of permissions the user must consent to in order to use + /// your service. + /// Only set when using OAuth. + /// Make sure to provide a Terms of Service in the directory information in + /// LocalizedSettings.terms_of_service_url section if specifying this field. #[prost(string, repeated, tag="7")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. This is the web page on your service which describes the - /// permissions the user is granting to Google. - /// Only set if using OAuth and Google Sign In. - /// Make sure to provide a Terms of Service in the directory information in - /// LocalizedSettings.terms_of_service_url section if specifying this field. + /// Optional. This is the web page on your service which describes the + /// permissions the user is granting to Google. + /// Only set if using OAuth and Google Sign In. + /// Make sure to provide a Terms of Service in the directory information in + /// LocalizedSettings.terms_of_service_url section if specifying this field. #[prost(string, tag="8")] pub learn_more_url: ::prost::alloc::string::String, - /// Optional. If true, allow Google to transmit client ID and secret via HTTP - /// basic auth header. Otherwise, Google uses the client ID and secret inside - /// the post body. - /// Only set when using OAuth. - /// Make sure to provide a Terms of Service in the directory information in - /// LocalizedSettings.terms_of_service_url section if specifying this field. + /// Optional. If true, allow Google to transmit client ID and secret via HTTP + /// basic auth header. Otherwise, Google uses the client ID and secret inside + /// the post body. + /// Only set when using OAuth. + /// Make sure to provide a Terms of Service in the directory information in + /// LocalizedSettings.terms_of_service_url section if specifying this field. #[prost(bool, tag="9")] pub use_basic_auth_header: bool, } /// Nested message and enum types in `AccountLinking`. pub mod account_linking { - /// The type of Account Linking to perform. + /// The type of Account Linking to perform. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkingType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Google Sign In linking type. - /// If using this linking type, no OAuth-related fields need to be set below. + /// Google Sign In linking type. + /// If using this linking type, no OAuth-related fields need to be set below. GoogleSignIn = 1, - /// OAuth and Google Sign In linking type. + /// OAuth and Google Sign In linking type. OauthAndGoogleSignIn = 2, - /// OAuth linking type. + /// OAuth linking type. Oauth = 3, } impl LinkingType { @@ -100,18 +100,18 @@ pub mod account_linking { } } } - /// The OAuth2 grant type Google uses to guide the user to sign in to your - /// App's web service. + /// The OAuth2 grant type Google uses to guide the user to sign in to your + /// App's web service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthGrantType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Authorization code grant. Requires you to provide both - /// authentication URL and access token URL. + /// Authorization code grant. Requires you to provide both + /// authentication URL and access token URL. AuthCode = 1, - /// Implicit code grant. Only requires you to provide authentication - /// URL. + /// Implicit code grant. Only requires you to provide authentication + /// URL. Implicit = 2, } impl AuthGrantType { @@ -128,183 +128,183 @@ pub mod account_linking { } } } -/// Information about the encrypted OAuth client secret used in account linking -/// flows (for AUTH_CODE grant type). +/// Information about the encrypted OAuth client secret used in account linking +/// flows (for AUTH_CODE grant type). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkingSecret { - /// Encrypted account linking client secret ciphertext. + /// Encrypted account linking client secret ciphertext. #[prost(bytes="vec", tag="1")] pub encrypted_client_secret: ::prost::alloc::vec::Vec, - /// The version of the crypto key used to encrypt the account linking client - /// secret. - /// Note that this field is ignored in push, preview, and version creation - /// flows. + /// The version of the crypto key used to encrypt the account linking client + /// secret. + /// Note that this field is ignored in push, preview, and version creation + /// flows. #[prost(string, tag="2")] pub encryption_key_version: ::prost::alloc::string::String, } -/// Represents the list of Actions defined in a project. +/// Represents the list of Actions defined in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Actions { - /// Map from intents to custom Actions to configure invocation for the project. - /// The invocation intents could either be system or custom intents defined - /// in the "custom/intents/" package. All intents defined here (system - /// intents & custom intents) must have a corresponding intent file in the - /// "custom/global/" package. + /// Map from intents to custom Actions to configure invocation for the project. + /// The invocation intents could either be system or custom intents defined + /// in the "custom/intents/" package. All intents defined here (system + /// intents & custom intents) must have a corresponding intent file in the + /// "custom/global/" package. #[prost(map="string, message", tag="3")] pub custom: ::std::collections::HashMap<::prost::alloc::string::String, actions::CustomAction>, } /// Nested message and enum types in `Actions`. pub mod actions { - /// Defines the engagement mechanisms associated with this action. This - /// allows end users to subscribe to push notification and daily update. + /// Defines the engagement mechanisms associated with this action. This + /// allows end users to subscribe to push notification and daily update. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Engagement { - /// The title of the engagement that will be sent to end users asking for - /// their permission to receive updates. The prompt sent to end users for - /// daily updates will look like "What time would you like me to send your - /// daily {title}" and for push notifications will look like - /// "Is it ok if I send push notifications for {title}". - /// **This field is localizable.** + /// The title of the engagement that will be sent to end users asking for + /// their permission to receive updates. The prompt sent to end users for + /// daily updates will look like "What time would you like me to send your + /// daily {title}" and for push notifications will look like + /// "Is it ok if I send push notifications for {title}". + /// **This field is localizable.** #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Push notification settings that this engagement supports. + /// Push notification settings that this engagement supports. #[prost(message, optional, tag="2")] pub push_notification: ::core::option::Option, - /// Link config for an action which determines whether sharing links is - /// enabled for the action and if so, contains the user friendly display name - /// for the link. - /// ActionLink is deprecated. Use AssistantLink instead. + /// Link config for an action which determines whether sharing links is + /// enabled for the action and if so, contains the user friendly display name + /// for the link. + /// ActionLink is deprecated. Use AssistantLink instead. #[deprecated] #[prost(message, optional, tag="4")] pub action_link: ::core::option::Option, - /// Link config for an action which determines whether sharing links is - /// enabled for the action and if so, contains the user friendly display name - /// for the link. + /// Link config for an action which determines whether sharing links is + /// enabled for the action and if so, contains the user friendly display name + /// for the link. #[prost(message, optional, tag="6")] pub assistant_link: ::core::option::Option, - /// Recurring update settings that this engagement supports. + /// Recurring update settings that this engagement supports. #[prost(oneof="engagement::RecurringUpdate", tags="3")] pub recurring_update: ::core::option::Option, } /// Nested message and enum types in `Engagement`. pub mod engagement { - /// Defines push notification settings that this engagement supports. + /// Defines push notification settings that this engagement supports. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PushNotification { } - /// Defines daily update settings that this engagement supports. + /// Defines daily update settings that this engagement supports. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DailyUpdate { } - /// Indicates whether sharing links is enabled for this action and the - /// corresponding settings. Action links are used to deep link a user into a - /// specific action. - /// ActionLink is deprecated. Use AssistantLink instead. + /// Indicates whether sharing links is enabled for this action and the + /// corresponding settings. Action links are used to deep link a user into a + /// specific action. + /// ActionLink is deprecated. Use AssistantLink instead. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionLink { - /// User friendly display title for the link. + /// User friendly display title for the link. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, } - /// Indicates whether sharing links is enabled for this action and the - /// corresponding settings. Assistant links are used to deep link a user into - /// a specific action. + /// Indicates whether sharing links is enabled for this action and the + /// corresponding settings. Assistant links are used to deep link a user into + /// a specific action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssistantLink { - /// User friendly display title for the link. + /// User friendly display title for the link. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, } - /// Recurring update settings that this engagement supports. + /// Recurring update settings that this engagement supports. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RecurringUpdate { - /// Daily update settings that this engagement supports. + /// Daily update settings that this engagement supports. #[prost(message, tag="3")] DailyUpdate(DailyUpdate), } } - /// Details regarding a custom action. + /// Details regarding a custom action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAction { - /// Engagement mechanisms associated with the action to help end users - /// subscribe to push notifications and daily updates. - /// Note that the intent name specified in daily updates/push notifications - /// slot config needs to match the intent corresponding to this action for - /// end users to subscribe to these updates. + /// Engagement mechanisms associated with the action to help end users + /// subscribe to push notifications and daily updates. + /// Note that the intent name specified in daily updates/push notifications + /// slot config needs to match the intent corresponding to this action for + /// end users to subscribe to these updates. #[prost(message, optional, tag="2")] pub engagement: ::core::option::Option, } } -/// Contains information that's "transportable" i.e. not specific to any given -/// project and can be moved between projects. +/// Contains information that's "transportable" i.e. not specific to any given +/// project and can be moved between projects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Manifest { - /// Version of the file format. The current file format version is 1.0 - /// Example: "1.0" + /// Version of the file format. The current file format version is 1.0 + /// Example: "1.0" #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, } -/// Styles applied to cards that are presented to users +/// Styles applied to cards that are presented to users #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThemeCustomization { - /// Background color of cards. Acts as a fallback if `background_image` is - /// not provided by developers or `background_image` doesn't fit for certain - /// surfaces. - /// Example usage: #FAFAFA + /// Background color of cards. Acts as a fallback if `background_image` is + /// not provided by developers or `background_image` doesn't fit for certain + /// surfaces. + /// Example usage: #FAFAFA #[prost(string, tag="1")] pub background_color: ::prost::alloc::string::String, - /// Primary theme color of the Action will be used to set text color of title, - /// action item background color for Actions on Google cards. - /// Example usage: #FAFAFA + /// Primary theme color of the Action will be used to set text color of title, + /// action item background color for Actions on Google cards. + /// Example usage: #FAFAFA #[prost(string, tag="2")] pub primary_color: ::prost::alloc::string::String, - /// The font family that will be used for title of cards. - /// Supported fonts: - /// - Sans Serif - /// - Sans Serif Medium - /// - Sans Serif Bold - /// - Sans Serif Black - /// - Sans Serif Condensed - /// - Sans Serif Condensed Medium - /// - Serif - /// - Serif Bold - /// - Monospace - /// - Cursive - /// - Sans Serif Smallcaps + /// The font family that will be used for title of cards. + /// Supported fonts: + /// - Sans Serif + /// - Sans Serif Medium + /// - Sans Serif Bold + /// - Sans Serif Black + /// - Sans Serif Condensed + /// - Sans Serif Condensed Medium + /// - Serif + /// - Serif Bold + /// - Monospace + /// - Cursive + /// - Sans Serif Smallcaps #[prost(string, tag="3")] pub font_family: ::prost::alloc::string::String, - /// Border style of foreground image of cards. For example, can be applied on - /// the foreground image of a basic card or carousel card. + /// Border style of foreground image of cards. For example, can be applied on + /// the foreground image of a basic card or carousel card. #[prost(enumeration="theme_customization::ImageCornerStyle", tag="4")] pub image_corner_style: i32, - /// Landscape mode (minimum 1920x1200 pixels). - /// This should be specified as a reference to the corresponding image in the - /// `resources/images/` directory. Eg: `$resources.images.foo` (without the - /// extension) for image in `resources/images/foo.jpg` - /// When working on a project pulled from Console the Google managed url pulled - /// could be used. + /// Landscape mode (minimum 1920x1200 pixels). + /// This should be specified as a reference to the corresponding image in the + /// `resources/images/` directory. Eg: `$resources.images.foo` (without the + /// extension) for image in `resources/images/foo.jpg` + /// When working on a project pulled from Console the Google managed url pulled + /// could be used. #[prost(string, tag="5")] pub landscape_background_image: ::prost::alloc::string::String, - /// Portrait mode (minimum 1200x1920 pixels). - /// This should be specified as a reference to the corresponding image in the - /// `resources/images/` directory. Eg: `$resources.images.foo` (without the - /// extension) for image in `resources/images/foo.jpg` - /// When working on a project pulled from Console the Google managed url pulled - /// could be used. + /// Portrait mode (minimum 1200x1920 pixels). + /// This should be specified as a reference to the corresponding image in the + /// `resources/images/` directory. Eg: `$resources.images.foo` (without the + /// extension) for image in `resources/images/foo.jpg` + /// When working on a project pulled from Console the Google managed url pulled + /// could be used. #[prost(string, tag="6")] pub portrait_background_image: ::prost::alloc::string::String, } /// Nested message and enum types in `ThemeCustomization`. pub mod theme_customization { - /// Describes how the borders of images should be rendered. + /// Describes how the borders of images should be rendered. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageCornerStyle { - /// Undefined / Unspecified. + /// Undefined / Unspecified. Unspecified = 0, - /// Round corner for image. + /// Round corner for image. Curved = 1, - /// Rectangular corner for image. + /// Rectangular corner for image. Angled = 2, } impl ImageCornerStyle { @@ -321,112 +321,112 @@ pub mod theme_customization { } } } -/// Represents settings of an Actions project that are specific to a user locale. -/// In this instance, user means the end user who invokes your Actions. -/// **This message is localizable.** +/// Represents settings of an Actions project that are specific to a user locale. +/// In this instance, user means the end user who invokes your Actions. +/// **This message is localizable.** #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalizedSettings { - /// Required. The default display name for this Actions project (if there is no - /// translation available) + /// Required. The default display name for this Actions project (if there is no + /// translation available) #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Required. The pronunciation of the display name to invoke it within a voice - /// (spoken) context. + /// Required. The pronunciation of the display name to invoke it within a voice + /// (spoken) context. #[prost(string, tag="2")] pub pronunciation: ::prost::alloc::string::String, - /// Required. The default short description for the Actions project (if there is no - /// translation available). 80 character limit. + /// Required. The default short description for the Actions project (if there is no + /// translation available). 80 character limit. #[prost(string, tag="3")] pub short_description: ::prost::alloc::string::String, - /// Required. The default long description for the Actions project (if there is no - /// translation available). 4000 character limit. + /// Required. The default long description for the Actions project (if there is no + /// translation available). 4000 character limit. #[prost(string, tag="4")] pub full_description: ::prost::alloc::string::String, - /// Required. Small square image, 192 x 192 px. - /// This should be specified as a reference to the corresponding image in the - /// `resources/images/` directory. For example, `$resources.images.foo` (without the - /// extension) for image in `resources/images/foo.jpg` - /// When working on a project pulled from Console, the Google-managed URL - /// pulled could be used. URLs from external sources are not allowed. + /// Required. Small square image, 192 x 192 px. + /// This should be specified as a reference to the corresponding image in the + /// `resources/images/` directory. For example, `$resources.images.foo` (without the + /// extension) for image in `resources/images/foo.jpg` + /// When working on a project pulled from Console, the Google-managed URL + /// pulled could be used. URLs from external sources are not allowed. #[prost(string, tag="5")] pub small_logo_image: ::prost::alloc::string::String, - /// Optional. Large landscape image, 1920 x 1080 px. - /// This should be specified as a reference to the corresponding image in the - /// `resources/images/` directory. For example, `$resources.images.foo` (without the - /// extension) for image in `resources/images/foo.jpg` - /// When working on a project pulled from Console, the Google-managed URL - /// pulled could be used. URLs from external sources are not allowed. + /// Optional. Large landscape image, 1920 x 1080 px. + /// This should be specified as a reference to the corresponding image in the + /// `resources/images/` directory. For example, `$resources.images.foo` (without the + /// extension) for image in `resources/images/foo.jpg` + /// When working on a project pulled from Console, the Google-managed URL + /// pulled could be used. URLs from external sources are not allowed. #[prost(string, tag="6")] pub large_banner_image: ::prost::alloc::string::String, - /// Required. The name of the developer to be displayed to users. + /// Required. The name of the developer to be displayed to users. #[prost(string, tag="7")] pub developer_name: ::prost::alloc::string::String, - /// Required. The contact email address for the developer. + /// Required. The contact email address for the developer. #[prost(string, tag="8")] pub developer_email: ::prost::alloc::string::String, - /// Optional. The terms of service URL. + /// Optional. The terms of service URL. #[prost(string, tag="9")] pub terms_of_service_url: ::prost::alloc::string::String, - /// Required. The Google Assistant voice type that users hear when they interact with - /// your Actions. The supported values are "male_1", "male_2", "female_1", and - /// "female_2". + /// Required. The Google Assistant voice type that users hear when they interact with + /// your Actions. The supported values are "male_1", "male_2", "female_1", and + /// "female_2". #[prost(string, tag="10")] pub voice: ::prost::alloc::string::String, - /// Optional. The locale for the specified voice. If not specified, this resolves - /// to the user's Assistant locale. If specified, the voice locale must have - /// the same root language as the locale specified in LocalizedSettings. + /// Optional. The locale for the specified voice. If not specified, this resolves + /// to the user's Assistant locale. If specified, the voice locale must have + /// the same root language as the locale specified in LocalizedSettings. #[prost(string, tag="14")] pub voice_locale: ::prost::alloc::string::String, - /// Required. The privacy policy URL. + /// Required. The privacy policy URL. #[prost(string, tag="11")] pub privacy_policy_url: ::prost::alloc::string::String, - /// Optional. Sample invocation phrases displayed as part of your Actions project's - /// description in the Assistant directory. This will help users learn how to - /// use it. + /// Optional. Sample invocation phrases displayed as part of your Actions project's + /// description in the Assistant directory. This will help users learn how to + /// use it. #[prost(string, repeated, tag="12")] pub sample_invocations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Theme customizations for visual components of your Actions. + /// Optional. Theme customizations for visual components of your Actions. #[prost(message, optional, tag="13")] pub theme_customization: ::core::option::Option, } -/// Contains a set of requirements that the client surface must support to invoke -/// Actions in your project. +/// Contains a set of requirements that the client surface must support to invoke +/// Actions in your project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SurfaceRequirements { - /// The minimum set of capabilities needed to invoke the Actions in your - /// project. If the surface is missing any of these, the Action will not be - /// triggered. + /// The minimum set of capabilities needed to invoke the Actions in your + /// project. If the surface is missing any of these, the Action will not be + /// triggered. #[prost(message, repeated, tag="1")] pub minimum_requirements: ::prost::alloc::vec::Vec, } -/// Represents a requirement about the availability of a given capability. +/// Represents a requirement about the availability of a given capability. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CapabilityRequirement { - /// The type of capability. + /// The type of capability. #[prost(enumeration="capability_requirement::SurfaceCapability", tag="1")] pub capability: i32, } /// Nested message and enum types in `CapabilityRequirement`. pub mod capability_requirement { - /// Possible set of surface capabilities. + /// Possible set of surface capabilities. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SurfaceCapability { - /// Unknown / Unspecified. + /// Unknown / Unspecified. Unspecified = 0, - /// Surface supports audio output. + /// Surface supports audio output. AudioOutput = 1, - /// Surface supports screen/visual output. + /// Surface supports screen/visual output. ScreenOutput = 2, - /// Surface supports media response audio. + /// Surface supports media response audio. MediaResponseAudio = 3, - /// Surface supports web browsers. + /// Surface supports web browsers. WebBrowser = 4, - /// Surface supports account linking. + /// Surface supports account linking. AccountLinking = 7, - /// Surface supports Interactive Canvas. + /// Surface supports Interactive Canvas. InteractiveCanvas = 8, - /// Surface supports home storage. + /// Surface supports home storage. HomeStorage = 9, } impl SurfaceCapability { @@ -448,148 +448,148 @@ pub mod capability_requirement { } } } -/// Represents settings of an Actions project that are not locale specific. +/// Represents settings of an Actions project that are not locale specific. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Settings { - /// Actions project id. + /// Actions project id. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Locale which is default for the project. For all files except under - /// `resources/` with no locale in the path, the localized data is attributed - /// to this `default_locale`. For files under `resources/` no locale means that - /// the resource is applicable to all locales. + /// Locale which is default for the project. For all files except under + /// `resources/` with no locale in the path, the localized data is attributed + /// to this `default_locale`. For files under `resources/` no locale means that + /// the resource is applicable to all locales. #[prost(string, tag="2")] pub default_locale: ::prost::alloc::string::String, - /// Represents the regions where users can invoke your Actions, which is - /// based on the user's location of presence. Cannot be set if - /// `disabled_regions` is set. If both `enabled_regions` and `disabled_regions` - /// are not specified, users can invoke your Actions in all regions. Each - /// region is represented using the Canonical Name of Adwords geotargets. See - /// - /// Examples include: - /// - "Germany" - /// - "Ghana" - /// - "Greece" - /// - "Grenada" - /// - "United Kingdom" - /// - "United States" - /// - "United States Minor Outlying Islands" - /// - "Uruguay" + /// Represents the regions where users can invoke your Actions, which is + /// based on the user's location of presence. Cannot be set if + /// `disabled_regions` is set. If both `enabled_regions` and `disabled_regions` + /// are not specified, users can invoke your Actions in all regions. Each + /// region is represented using the Canonical Name of Adwords geotargets. See + /// + /// Examples include: + /// - "Germany" + /// - "Ghana" + /// - "Greece" + /// - "Grenada" + /// - "United Kingdom" + /// - "United States" + /// - "United States Minor Outlying Islands" + /// - "Uruguay" #[prost(string, repeated, tag="3")] pub enabled_regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Represents the regions where your Actions are blocked, based on the user's - /// location of presence. Cannot be set if `enabled_regions` is set. - /// Each region is represented using the Canonical Name of Adwords geotargets. - /// See - /// Examples include: - /// - "Germany" - /// - "Ghana" - /// - "Greece" - /// - "Grenada" - /// - "United Kingdom" - /// - "United States" - /// - "United States Minor Outlying Islands" - /// - "Uruguay" + /// Represents the regions where your Actions are blocked, based on the user's + /// location of presence. Cannot be set if `enabled_regions` is set. + /// Each region is represented using the Canonical Name of Adwords geotargets. + /// See + /// Examples include: + /// - "Germany" + /// - "Ghana" + /// - "Greece" + /// - "Grenada" + /// - "United Kingdom" + /// - "United States" + /// - "United States Minor Outlying Islands" + /// - "Uruguay" #[prost(string, repeated, tag="4")] pub disabled_regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The category for this Actions project. + /// The category for this Actions project. #[prost(enumeration="settings::Category", tag="5")] pub category: i32, - /// Whether Actions can use transactions (for example, making - /// reservations, taking orders, etc.). If false, then attempts to use the - /// Transactions APIs fail. + /// Whether Actions can use transactions (for example, making + /// reservations, taking orders, etc.). If false, then attempts to use the + /// Transactions APIs fail. #[prost(bool, tag="6")] pub uses_transactions_api: bool, - /// Whether Actions can perform transactions for digital goods. + /// Whether Actions can perform transactions for digital goods. #[prost(bool, tag="7")] pub uses_digital_purchase_api: bool, - /// Whether Actions use Interactive Canvas. + /// Whether Actions use Interactive Canvas. #[prost(bool, tag="8")] pub uses_interactive_canvas: bool, - /// Whether Actions use the home storage feature. + /// Whether Actions use the home storage feature. #[prost(bool, tag="17")] pub uses_home_storage: bool, - /// Whether Actions content is designed for family (DFF). + /// Whether Actions content is designed for family (DFF). #[prost(bool, tag="9")] pub designed_for_family: bool, - /// Whether Actions contains alcohol or tobacco related content. + /// Whether Actions contains alcohol or tobacco related content. #[prost(bool, tag="11")] pub contains_alcohol_or_tobacco_content: bool, - /// Whether Actions may leave mic open without an explicit prompt during - /// conversation. + /// Whether Actions may leave mic open without an explicit prompt during + /// conversation. #[prost(bool, tag="12")] pub keeps_mic_open: bool, - /// The surface requirements that a client surface must support to invoke - /// Actions in this project. + /// The surface requirements that a client surface must support to invoke + /// Actions in this project. #[prost(message, optional, tag="13")] pub surface_requirements: ::core::option::Option, - /// Free-form testing instructions for Actions reviewer (for example, account - /// linking instructions). + /// Free-form testing instructions for Actions reviewer (for example, account + /// linking instructions). #[prost(string, tag="14")] pub testing_instructions: ::prost::alloc::string::String, - /// Localized settings for the project's default locale. Every additional - /// locale should have its own settings file in its own directory. + /// Localized settings for the project's default locale. Every additional + /// locale should have its own settings file in its own directory. #[prost(message, optional, tag="15")] pub localized_settings: ::core::option::Option, - /// Allow users to create or link accounts through Google sign-in and/or your - /// own OAuth service. + /// Allow users to create or link accounts through Google sign-in and/or your + /// own OAuth service. #[prost(message, optional, tag="16")] pub account_linking: ::core::option::Option, - /// Android apps selected to acccess Google Play purchases for transactions. - /// This is a selection from the Android apps connected to the actions project - /// to verify brand ownership and enable additional features. See - /// for more - /// information. + /// Android apps selected to acccess Google Play purchases for transactions. + /// This is a selection from the Android apps connected to the actions project + /// to verify brand ownership and enable additional features. See + /// for more + /// information. #[prost(string, repeated, tag="20")] pub selected_android_apps: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Settings`. pub mod settings { - /// The category choices for an Actions project. + /// The category choices for an Actions project. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Category { - /// Unknown / Unspecified. + /// Unknown / Unspecified. Unspecified = 0, - /// Business and Finance category. + /// Business and Finance category. BusinessAndFinance = 2, - /// Education and Reference category. + /// Education and Reference category. EducationAndReference = 3, - /// Food and Drink category. + /// Food and Drink category. FoodAndDrink = 4, - /// Games and Trivia category. + /// Games and Trivia category. GamesAndTrivia = 5, - /// Health and Fitness category. + /// Health and Fitness category. HealthAndFitness = 6, - /// Kids and Family category. + /// Kids and Family category. KidsAndFamily = 20, - /// Lifestyle category. + /// Lifestyle category. Lifestyle = 7, - /// Local category. + /// Local category. Local = 8, - /// Movies and TV category. + /// Movies and TV category. MoviesAndTv = 9, - /// Music and Audio category. + /// Music and Audio category. MusicAndAudio = 10, - /// News category, + /// News category, News = 1, - /// Novelty and Humor category. + /// Novelty and Humor category. NoveltyAndHumor = 11, - /// Productivity category. + /// Productivity category. Productivity = 12, - /// Shopping category. + /// Shopping category. Shopping = 13, - /// Social category. + /// Social category. Social = 14, - /// Sports category. + /// Sports category. Sports = 15, - /// Travel and Transportation category. + /// Travel and Transportation category. TravelAndTransportation = 16, - /// Utilities category. + /// Utilities category. Utilities = 17, - /// Weather category. + /// Weather category. Weather = 18, - /// Home Control category. + /// Home Control category. HomeControl = 19, } impl Category { @@ -624,327 +624,327 @@ pub mod settings { } } } -/// Metadata for different types of webhooks. If you're using -/// `inlineCloudFunction`, your source code must be in a directory with the same -/// name as the value for the `executeFunction` key. -/// For example, a value of `my_webhook` for the`executeFunction` key would have -/// a code structure like this: +/// Metadata for different types of webhooks. If you're using +/// `inlineCloudFunction`, your source code must be in a directory with the same +/// name as the value for the `executeFunction` key. +/// For example, a value of `my_webhook` for the`executeFunction` key would have +/// a code structure like this: /// - `/webhooks/my_webhook.yaml` /// - `/webhooks/my_webhook/index.js` /// - `/webhooks/my_webhook/package.json` #[derive(Clone, PartialEq, ::prost::Message)] pub struct Webhook { - /// List of handlers for this webhook. + /// List of handlers for this webhook. #[prost(message, repeated, tag="1")] pub handlers: ::prost::alloc::vec::Vec, - /// Only one webhook type is supported. + /// Only one webhook type is supported. #[prost(oneof="webhook::WebhookType", tags="2, 3")] pub webhook_type: ::core::option::Option, } /// Nested message and enum types in `Webhook`. pub mod webhook { - /// Declares the name of the webhoook handler. A webhook can have - /// multiple handlers registered. These handlers can be called from multiple - /// places in your Actions project. + /// Declares the name of the webhoook handler. A webhook can have + /// multiple handlers registered. These handlers can be called from multiple + /// places in your Actions project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Handler { - /// Required. Name of the handler. Must be unique across all handlers the Actions - /// project. You can check the name of this handler to invoke the correct - /// function in your fulfillment source code. + /// Required. Name of the handler. Must be unique across all handlers the Actions + /// project. You can check the name of this handler to invoke the correct + /// function in your fulfillment source code. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } - /// REST endpoint to notify if you're not using the inline editor. + /// REST endpoint to notify if you're not using the inline editor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpsEndpoint { - /// The HTTPS base URL for your fulfillment endpoint (HTTP is not supported). - /// Handler names are appended to the base URL path after a colon - /// (following the style guide in - /// ). - /// For example a base URL of ' would - /// receive requests with URL ' + /// The HTTPS base URL for your fulfillment endpoint (HTTP is not supported). + /// Handler names are appended to the base URL path after a colon + /// (following the style guide in + /// ). + /// For example a base URL of ' would + /// receive requests with URL ' #[prost(string, tag="1")] pub base_url: ::prost::alloc::string::String, - /// Map of HTTP parameters to be included in the POST request. + /// Map of HTTP parameters to be included in the POST request. #[prost(map="string, string", tag="2")] pub http_headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Version of the protocol used by the endpoint. This is the protocol shared - /// by all fulfillment types and not specific to Google fulfillment type. + /// Version of the protocol used by the endpoint. This is the protocol shared + /// by all fulfillment types and not specific to Google fulfillment type. #[prost(int32, tag="3")] pub endpoint_api_version: i32, } - /// Holds the metadata of an inline Cloud Function deployed from the - /// webhooks folder. + /// Holds the metadata of an inline Cloud Function deployed from the + /// webhooks folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InlineCloudFunction { - /// The name of the Cloud Function entry point. The value of this field - /// should match the name of the method exported from the source code. + /// The name of the Cloud Function entry point. The value of this field + /// should match the name of the method exported from the source code. #[prost(string, tag="1")] pub execute_function: ::prost::alloc::string::String, } - /// Only one webhook type is supported. + /// Only one webhook type is supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum WebhookType { - /// Custom webhook HTTPS endpoint. + /// Custom webhook HTTPS endpoint. #[prost(message, tag="2")] HttpsEndpoint(HttpsEndpoint), - /// Metadata for cloud function deployed from code in the webhooks folder. + /// Metadata for cloud function deployed from code in the webhooks folder. #[prost(message, tag="3")] InlineCloudFunction(InlineCloudFunction), } } -/// Wrapper for repeated config files. Repeated fields cannot exist in a oneof. +/// Wrapper for repeated config files. Repeated fields cannot exist in a oneof. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigFiles { - /// Multiple config files. + /// Multiple config files. #[prost(message, repeated, tag="1")] pub config_files: ::prost::alloc::vec::Vec, } -/// Represents a single file which contains structured data. Developers can -/// define most of their project using structured config including Actions, -/// Settings, Fulfillment. +/// Represents a single file which contains structured data. Developers can +/// define most of their project using structured config including Actions, +/// Settings, Fulfillment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigFile { - /// Relative path of the config file from the project root in the SDK file - /// structure. Each file types below have an allowed file path. - /// Eg: settings/settings.yaml + /// Relative path of the config file from the project root in the SDK file + /// structure. Each file types below have an allowed file path. + /// Eg: settings/settings.yaml #[prost(string, tag="1")] pub file_path: ::prost::alloc::string::String, - /// Each type of config file should have a corresponding field in the oneof. + /// Each type of config file should have a corresponding field in the oneof. #[prost(oneof="config_file::File", tags="2, 3, 4, 6, 7, 8, 15, 9, 10, 11, 13, 12")] pub file: ::core::option::Option, } /// Nested message and enum types in `ConfigFile`. pub mod config_file { - /// Each type of config file should have a corresponding field in the oneof. + /// Each type of config file should have a corresponding field in the oneof. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum File { - /// Single manifest file. - /// Allowed file path: `manifest.yaml` + /// Single manifest file. + /// Allowed file path: `manifest.yaml` #[prost(message, tag="2")] Manifest(super::Manifest), - /// Single actions file with all the actions defined. - /// Allowed file paths: `actions/{language}?/actions.yaml` + /// Single actions file with all the actions defined. + /// Allowed file paths: `actions/{language}?/actions.yaml` #[prost(message, tag="3")] Actions(super::Actions), - /// Single settings config which includes non-localizable settings and - /// settings for the project's default locale (if specified). - /// For a locale override file, only localized_settings field will be - /// populated. - /// Allowed file paths: `settings/{language}?/settings.yaml` - /// Note that the non-localized settings file `settings/settings.yaml` must - /// be present in the write flow requests. + /// Single settings config which includes non-localizable settings and + /// settings for the project's default locale (if specified). + /// For a locale override file, only localized_settings field will be + /// populated. + /// Allowed file paths: `settings/{language}?/settings.yaml` + /// Note that the non-localized settings file `settings/settings.yaml` must + /// be present in the write flow requests. #[prost(message, tag="4")] Settings(super::Settings), - /// Single webhook definition. - /// Allowed file path: `webhooks/{WebhookName}.yaml` + /// Single webhook definition. + /// Allowed file path: `webhooks/{WebhookName}.yaml` #[prost(message, tag="6")] Webhook(super::Webhook), - /// Single intent definition. - /// Allowed file paths: `custom/intents/{language}?/{IntentName}.yaml` + /// Single intent definition. + /// Allowed file paths: `custom/intents/{language}?/{IntentName}.yaml` #[prost(message, tag="7")] Intent(super::interactionmodel::Intent), - /// Single type definition. - /// Allowed file paths: `custom/types/{language}?/{TypeName}.yaml` + /// Single type definition. + /// Allowed file paths: `custom/types/{language}?/{TypeName}.yaml` #[prost(message, tag="8")] Type(super::interactionmodel::r#type::Type), - /// Single entity set definition. - /// Allowed file paths: `custom/entitySets/{language}?/{EntitySetName}.yaml` + /// Single entity set definition. + /// Allowed file paths: `custom/entitySets/{language}?/{EntitySetName}.yaml` #[prost(message, tag="15")] EntitySet(super::interactionmodel::EntitySet), - /// Single global intent event definition. - /// Allowed file paths: `custom/global/{GlobalIntentEventName}.yaml` - /// The file name (GlobalIntentEventName) should be the name of the intent - /// that this global intent event corresponds to. + /// Single global intent event definition. + /// Allowed file paths: `custom/global/{GlobalIntentEventName}.yaml` + /// The file name (GlobalIntentEventName) should be the name of the intent + /// that this global intent event corresponds to. #[prost(message, tag="9")] GlobalIntentEvent(super::interactionmodel::GlobalIntentEvent), - /// Single scene definition. - /// Allowed file paths: `custom/scenes/{SceneName}.yaml` + /// Single scene definition. + /// Allowed file paths: `custom/scenes/{SceneName}.yaml` #[prost(message, tag="10")] Scene(super::interactionmodel::Scene), - /// Single static prompt definition. - /// Allowed file paths: `custom/prompts/{language}?/{StaticPromptName}.yaml` + /// Single static prompt definition. + /// Allowed file paths: `custom/prompts/{language}?/{StaticPromptName}.yaml` #[prost(message, tag="11")] StaticPrompt(super::interactionmodel::prompt::StaticPrompt), - /// Metadata corresponding to the client secret used in account linking. - /// Allowed file path: `settings/accountLinkingSecret.yaml` + /// Metadata corresponding to the client secret used in account linking. + /// Allowed file path: `settings/accountLinkingSecret.yaml` #[prost(message, tag="13")] AccountLinkingSecret(super::AccountLinkingSecret), - /// Single resource bundle, which is a map from a string to a string or list - /// of strings. Resource bundles could be used for localizing strings in - /// static prompts. - /// Allowed file paths: `resources/strings/{language}?/{multiple - /// directories}?/{BundleName}.yaml` + /// Single resource bundle, which is a map from a string to a string or list + /// of strings. Resource bundles could be used for localizing strings in + /// static prompts. + /// Allowed file paths: `resources/strings/{language}?/{multiple + /// directories}?/{BundleName}.yaml` #[prost(message, tag="12")] ResourceBundle(::prost_types::Struct), } } -/// Wrapper for repeated data file. Repeated fields cannot exist in a oneof. +/// Wrapper for repeated data file. Repeated fields cannot exist in a oneof. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataFiles { - /// Multiple data files. + /// Multiple data files. #[prost(message, repeated, tag="1")] pub data_files: ::prost::alloc::vec::Vec, } -/// Represents a single file which contains unstructured data. Examples include -/// image files, audio files, and cloud function source code. +/// Represents a single file which contains unstructured data. Examples include +/// image files, audio files, and cloud function source code. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataFile { - /// Relative path of the data file from the project root in the SDK file - /// structure. - /// Allowed file paths: + /// Relative path of the data file from the project root in the SDK file + /// structure. + /// Allowed file paths: /// - Images: `resources/images/{multiple /// directories}?/{ImageName}.{extension}` /// - Audio: `resources/audio/{multiple /// directories}?/{AudioFileName}.{extension}` /// - Inline Cloud Function Code: `webhooks/{WebhookName}.zip` - /// Allowed extensions: + /// Allowed extensions: /// - Images: `png`, `jpg`, `jpeg` /// - Audio: `mp3`, `mpeg` /// - Inline Cloud Functions: `zip` #[prost(string, tag="1")] pub file_path: ::prost::alloc::string::String, - /// Required. The content type of this asset. Example: `text/html`. The content - /// type must comply with the specification - /// (). - /// Cloud functions must be in zip format and the content type should - /// be `application/zip;zip_type=cloud_function`. The zip_type parameter - /// indicates that the zip is for a cloud function. + /// Required. The content type of this asset. Example: `text/html`. The content + /// type must comply with the specification + /// (). + /// Cloud functions must be in zip format and the content type should + /// be `application/zip;zip_type=cloud_function`. The zip_type parameter + /// indicates that the zip is for a cloud function. #[prost(string, tag="2")] pub content_type: ::prost::alloc::string::String, - /// Content of the data file. Examples would be raw bytes of images, audio - /// files, or cloud function zip format. - /// There is 10 MB strict limit on the payload size. + /// Content of the data file. Examples would be raw bytes of images, audio + /// files, or cloud function zip format. + /// There is 10 MB strict limit on the payload size. #[prost(bytes="vec", tag="3")] pub payload: ::prost::alloc::vec::Vec, } -/// Wrapper for a list of files. +/// Wrapper for a list of files. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Files { - /// Only one type of files can be sent to the server at a time, config files or - /// data files. + /// Only one type of files can be sent to the server at a time, config files or + /// data files. #[prost(oneof="files::FileType", tags="1, 2")] pub file_type: ::core::option::Option, } /// Nested message and enum types in `Files`. pub mod files { - /// Only one type of files can be sent to the server at a time, config files or - /// data files. + /// Only one type of files can be sent to the server at a time, config files or + /// data files. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FileType { - /// List of config files. This includes manifest, settings, interaction model - /// resource bundles and more. + /// List of config files. This includes manifest, settings, interaction model + /// resource bundles and more. #[prost(message, tag="1")] ConfigFiles(super::ConfigFiles), - /// List of data files. This includes image, audio file, cloud function - /// source code. + /// List of data files. This includes image, audio file, cloud function + /// source code. #[prost(message, tag="2")] DataFiles(super::DataFiles), } } -/// Definition of release channel resource. +/// Definition of release channel resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReleaseChannel { - /// The unique name of the release channel in the following format. - /// `projects/{project}/releaseChannels/{release_channel}`. + /// The unique name of the release channel in the following format. + /// `projects/{project}/releaseChannels/{release_channel}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Version currently deployed to this release channel in the following format: - /// `projects/{project}/versions/{version}`. + /// Version currently deployed to this release channel in the following format: + /// `projects/{project}/versions/{version}`. #[prost(string, tag="2")] pub current_version: ::prost::alloc::string::String, - /// Version to be deployed to this release channel in the following format: - /// `projects/{project}/versions/{version}`. + /// Version to be deployed to this release channel in the following format: + /// `projects/{project}/versions/{version}`. #[prost(string, tag="3")] pub pending_version: ::prost::alloc::string::String, } -/// Wrapper for repeated validation result. +/// Wrapper for repeated validation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationResults { - /// Multiple validation results. + /// Multiple validation results. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// Represents a validation result associated with the app content. +/// Represents a validation result associated with the app content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationResult { - /// Holds the validation message. + /// Holds the validation message. #[prost(string, tag="1")] pub validation_message: ::prost::alloc::string::String, - /// Context to identify the resource the validation message relates to. + /// Context to identify the resource the validation message relates to. #[prost(message, optional, tag="2")] pub validation_context: ::core::option::Option, } /// Nested message and enum types in `ValidationResult`. pub mod validation_result { - /// Context to identify the resource the validation message relates to. + /// Context to identify the resource the validation message relates to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationContext { - /// Language code of the lozalized resource. - /// Empty if the error is for non-localized resource. - /// See the list of supported languages in - /// + /// Language code of the lozalized resource. + /// Empty if the error is for non-localized resource. + /// See the list of supported languages in + /// #[prost(string, tag="1")] pub language_code: ::prost::alloc::string::String, } } -/// Definition of version resource. +/// Definition of version resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Version { - /// The unique identifier of the version in the following format. - /// `projects/{project}/versions/{version}`. + /// The unique identifier of the version in the following format. + /// `projects/{project}/versions/{version}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The current state of the version. + /// The current state of the version. #[prost(message, optional, tag="2")] pub version_state: ::core::option::Option, - /// Email of the user who created this version. + /// Email of the user who created this version. #[prost(string, tag="3")] pub creator: ::prost::alloc::string::String, - /// Timestamp of the last change to this version. + /// Timestamp of the last change to this version. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `Version`. pub mod version { - /// Represents the current state of the version. + /// Represents the current state of the version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VersionState { - /// The current state of the version. + /// The current state of the version. #[prost(enumeration="version_state::State", tag="1")] pub state: i32, - /// User-friendly message for the current state of the version. + /// User-friendly message for the current state of the version. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, } /// Nested message and enum types in `VersionState`. pub mod version_state { - /// Enum indicating the states that a Version can take. This enum is not yet - /// frozen and values maybe added later. + /// Enum indicating the states that a Version can take. This enum is not yet + /// frozen and values maybe added later. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value of State. + /// Default value of State. Unspecified = 0, - /// The version creation is in progress. + /// The version creation is in progress. CreationInProgress = 1, - /// The version creation failed. + /// The version creation failed. CreationFailed = 2, - /// The version has been successfully created. + /// The version has been successfully created. Created = 3, - /// The version is under policy review (aka Approval). + /// The version is under policy review (aka Approval). ReviewInProgress = 4, - /// The version has been approved for policy review and can be deployed. + /// The version has been approved for policy review and can be deployed. Approved = 5, - /// The version has been conditionally approved but is pending final - /// review. It may be rolled back if final review is denied. + /// The version has been conditionally approved but is pending final + /// review. It may be rolled back if final review is denied. ConditionallyApproved = 6, - /// The version has been denied for policy review. + /// The version has been denied for policy review. Denied = 7, - /// The version is taken down as entire agent and all versions are taken - /// down. + /// The version is taken down as entire agent and all versions are taken + /// down. UnderTakedown = 8, - /// The version has been deleted. + /// The version has been deleted. Deleted = 9, } impl State { @@ -969,299 +969,299 @@ pub mod version { } } } -/// Streaming RPC request for WriteDraft. +/// Streaming RPC request for WriteDraft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteDraftRequest { - /// Required. The parent resource name in the format `projects/{project}`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The parent resource name in the format `projects/{project}`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. List of files sent to the server at a time. This is a list of config files - /// or data files. - /// 1. The first request must be a ConfigFiles. - /// 2. The first request must have a ConfigFile with 'settings'. - /// 3. The first request must have a ConfigFile with 'manifest'. - /// 4. The webhook ConfigFile corresponding to inline cloud function must be + /// Required. List of files sent to the server at a time. This is a list of config files + /// or data files. + /// 1. The first request must be a ConfigFiles. + /// 2. The first request must have a ConfigFile with 'settings'. + /// 3. The first request must have a ConfigFile with 'manifest'. + /// 4. The webhook ConfigFile corresponding to inline cloud function must be /// streamed before the DataFile corresponding to its source code. #[prost(message, optional, tag="4")] pub files: ::core::option::Option, } -/// Definition of draft resource. +/// Definition of draft resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Draft { - /// The unique identifier of the draft in the following format. - /// `projects/{project}/draft` + /// The unique identifier of the draft in the following format. + /// `projects/{project}/draft` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Validation results associated with the project draft content. Note that - /// WriteDraft updates the draft despite the warnings as warnings are not draft - /// blocking. + /// Validation results associated with the project draft content. Note that + /// WriteDraft updates the draft despite the warnings as warnings are not draft + /// blocking. #[prost(message, optional, tag="2")] pub validation_results: ::core::option::Option, } -/// Streaming RPC request for WritePreview. +/// Streaming RPC request for WritePreview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WritePreviewRequest { - /// Required. The parent resource name in the format `projects/{project}`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The parent resource name in the format `projects/{project}`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The settings for updating the user's preview. + /// Required. The settings for updating the user's preview. #[prost(message, optional, tag="4")] pub preview_settings: ::core::option::Option, - /// Data source used to created the preview. + /// Data source used to created the preview. #[prost(oneof="write_preview_request::Source", tags="5, 6, 7")] pub source: ::core::option::Option, } /// Nested message and enum types in `WritePreviewRequest`. pub mod write_preview_request { - /// Indicates the preview content will be coming from the Draft. + /// Indicates the preview content will be coming from the Draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentFromDraft { } - /// Indicates the preview content will be coming from an exiting version. + /// Indicates the preview content will be coming from an exiting version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentFromSubmittedVersion { - /// Required. Submitted version of the project to be used to create a preview. - /// Format: `projects/{project}/versions/{version}` + /// Required. Submitted version of the project to be used to create a preview. + /// Format: `projects/{project}/versions/{version}` #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, } - /// Settings for updating the preview. + /// Settings for updating the preview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreviewSettings { - /// Indicates whether or not to run certain operations, such as transactions, - /// in sandbox mode. By default, preview requests run these operations in - /// sandbox mode. In other words, the default value for `sandbox` is `true`. + /// Indicates whether or not to run certain operations, such as transactions, + /// in sandbox mode. By default, preview requests run these operations in + /// sandbox mode. In other words, the default value for `sandbox` is `true`. #[prost(message, optional, tag="1")] pub sandbox: ::core::option::Option, } - /// Data source used to created the preview. + /// Data source used to created the preview. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// List of files sent to the server at a time. This is a list of config - /// files or data files. - /// 1. The first request must be a ConfigFiles. - /// 2. The first request must have a ConfigFile with 'settings'. - /// 3. The first request must have a ConfigFile with 'manifest'. - /// 4. The webhook ConfigFile corresponding to inline cloud function must be + /// List of files sent to the server at a time. This is a list of config + /// files or data files. + /// 1. The first request must be a ConfigFiles. + /// 2. The first request must have a ConfigFile with 'settings'. + /// 3. The first request must have a ConfigFile with 'manifest'. + /// 4. The webhook ConfigFile corresponding to inline cloud function must be /// streamed before the DataFile corresponding to its source code. #[prost(message, tag="5")] Files(super::Files), - /// Content sourced from the project draft. + /// Content sourced from the project draft. #[prost(message, tag="6")] Draft(ContentFromDraft), - /// Content sourced from the an exiting version. + /// Content sourced from the an exiting version. #[prost(message, tag="7")] SubmittedVersion(ContentFromSubmittedVersion), } } -/// Definition of preview resource. +/// Definition of preview resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Preview { - /// The unique identifier of the preview. - /// Format: `projects/{project}/preview` + /// The unique identifier of the preview. + /// Format: `projects/{project}/preview` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Validation results associated with the user project preview content. + /// Validation results associated with the user project preview content. #[prost(message, optional, tag="2")] pub validation_results: ::core::option::Option, - /// The simulator URL to test the user preview. + /// The simulator URL to test the user preview. #[prost(string, tag="3")] pub simulator_url: ::prost::alloc::string::String, } -/// Streaming RPC request for CreateVersion. +/// Streaming RPC request for CreateVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionRequest { - /// Required. The parent resource name in the format `projects/{project}`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The parent resource name in the format `projects/{project}`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. List of files sent to the server at a time. This is a list of config files - /// or data files. - /// 1. The first request must be a ConfigFiles. - /// 2. The first request must have a ConfigFile with 'settings'. - /// 3. The first request must have a ConfigFile with 'manifest'. - /// 4. The webhook ConfigFile corresponding to inline cloud function must be + /// Required. List of files sent to the server at a time. This is a list of config files + /// or data files. + /// 1. The first request must be a ConfigFiles. + /// 2. The first request must have a ConfigFile with 'settings'. + /// 3. The first request must have a ConfigFile with 'manifest'. + /// 4. The webhook ConfigFile corresponding to inline cloud function must be /// streamed before the DataFile corresponding to its source code. #[prost(message, optional, tag="5")] pub files: ::core::option::Option, - /// Optional. The release channel to deploy the version, if specified. The supported - /// built in release channels are actions.channels.Production, - /// actions.channels.ClosedBeta, actions.channels.Alpha. - /// . + /// Optional. The release channel to deploy the version, if specified. The supported + /// built in release channels are actions.channels.Production, + /// actions.channels.ClosedBeta, actions.channels.Alpha. + /// . #[prost(string, tag="4")] pub release_channel: ::prost::alloc::string::String, } -/// RPC request for ReadDraft. +/// RPC request for ReadDraft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadDraftRequest { - /// Required. The name of the resource in the format `projects/{project}/draft`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The name of the resource in the format `projects/{project}/draft`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The version of the crypto key used to encrypt the account linking OAuth - /// client secret. If not specified, the primary key version is used for - /// encryption. Only relevant for projects with account linking with client - /// secret. + /// Optional. The version of the crypto key used to encrypt the account linking OAuth + /// client secret. If not specified, the primary key version is used for + /// encryption. Only relevant for projects with account linking with client + /// secret. #[prost(string, tag="2")] pub client_secret_encryption_key_version: ::prost::alloc::string::String, } -/// Streaming RPC response for ReadDraft. +/// Streaming RPC response for ReadDraft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadDraftResponse { - /// List of files sent from the server at a time. + /// List of files sent from the server at a time. #[prost(message, optional, tag="3")] pub files: ::core::option::Option, } -/// RPC request for ReadVersion. +/// RPC request for ReadVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadVersionRequest { - /// Required. The name of the version resource in the format - /// `projects/{project}/versions/{version}`. `{project}` is the - /// cloud project ID associated with the project, `{version}` is the - /// identifier of the version being read. + /// Required. The name of the version resource in the format + /// `projects/{project}/versions/{version}`. `{project}` is the + /// cloud project ID associated with the project, `{version}` is the + /// identifier of the version being read. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The version of the crypto key used to encrypt the account linking OAuth - /// client secret. If not specified, the primary key version is used for - /// encryption. Only relevant for projects with account linking with client - /// secret. + /// Optional. The version of the crypto key used to encrypt the account linking OAuth + /// client secret. If not specified, the primary key version is used for + /// encryption. Only relevant for projects with account linking with client + /// secret. #[prost(string, tag="2")] pub client_secret_encryption_key_version: ::prost::alloc::string::String, } -/// Streaming RPC response for ReadVersion. +/// Streaming RPC response for ReadVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadVersionResponse { - /// List of files sent from the server at a time. + /// List of files sent from the server at a time. #[prost(message, optional, tag="1")] pub files: ::core::option::Option, } -/// RPC request for EncryptSecret. +/// RPC request for EncryptSecret. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptSecretRequest { - /// Required. The account linking client secret plaintext. + /// Required. The account linking client secret plaintext. #[prost(string, tag="1")] pub client_secret: ::prost::alloc::string::String, } -/// RPC response for EncryptSecret. +/// RPC response for EncryptSecret. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptSecretResponse { - /// Contains the encrypted account linking client secret and the key version - /// used to encrypt the secret. + /// Contains the encrypted account linking client secret and the key version + /// used to encrypt the secret. #[prost(message, optional, tag="1")] pub account_linking_secret: ::core::option::Option, } -/// RPC request for DecryptSecret. +/// RPC request for DecryptSecret. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DecryptSecretRequest { - /// Required. The account linking client secret ciphertext. + /// Required. The account linking client secret ciphertext. #[prost(bytes="vec", tag="1")] pub encrypted_client_secret: ::prost::alloc::vec::Vec, } -/// RPC response for DecryptSecret. +/// RPC response for DecryptSecret. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DecryptSecretResponse { - /// The account linking client secret plaintext. + /// The account linking client secret plaintext. #[prost(string, tag="1")] pub client_secret: ::prost::alloc::string::String, } -/// RPC request for ListSampleProjects. +/// RPC request for ListSampleProjects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSampleProjectsRequest { - /// Optional. The maximum number of sample projects to return. The service may return - /// fewer than this value. - /// If unspecified, at most 1000 sample projects will be returned. Values above - /// 1000 will be coerced to 1000. + /// Optional. The maximum number of sample projects to return. The service may return + /// fewer than this value. + /// If unspecified, at most 1000 sample projects will be returned. Values above + /// 1000 will be coerced to 1000. #[prost(int32, tag="1")] pub page_size: i32, - /// Optional. A page token, received from a previous 'ListSampleProjects' call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous 'ListSampleProjects' call. + /// Provide this to retrieve the subsequent page. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// RPC response for ListSampleProjects. +/// RPC response for ListSampleProjects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSampleProjectsResponse { - /// The list of sample projects supported. + /// The list of sample projects supported. #[prost(message, repeated, tag="1")] pub sample_projects: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Definition of sample project resource. +/// Definition of sample project resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampleProject { - /// The name of the sample project. - /// Format: `sampleProjects/{sample_project}` + /// The name of the sample project. + /// Format: `sampleProjects/{sample_project}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The URL to the zip file where the sample is hosted. + /// The URL to the zip file where the sample is hosted. #[prost(string, tag="2")] pub hosted_url: ::prost::alloc::string::String, - /// The description of the sample project. + /// The description of the sample project. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, } -/// RPC request for listing release channels +/// RPC request for listing release channels #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReleaseChannelsRequest { - /// Required. The name of the resource in the format `projects/{project}`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The name of the resource in the format `projects/{project}`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of release channels to return. The service may return - /// fewer than this value. If unspecified, at most 50 release channels will be - /// returned. + /// The maximum number of release channels to return. The service may return + /// fewer than this value. If unspecified, at most 50 release channels will be + /// returned. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListReleaseChannels` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListReleaseChannels` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListReleaseChannels` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListReleaseChannels` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// RPC response for listing release channels +/// RPC response for listing release channels #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReleaseChannelsResponse { - /// List of the release channels for the given project id. + /// List of the release channels for the given project id. #[prost(message, repeated, tag="1")] pub release_channels: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// RPC request for listing versions +/// RPC request for listing versions #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsRequest { - /// Required. The name of the resource in the format `projects/{project}`. The - /// `{project}` is the cloud project ID associated with the project. + /// Required. The name of the resource in the format `projects/{project}`. The + /// `{project}` is the cloud project ID associated with the project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of versions to return. The service may return - /// fewer than this value. If unspecified, at most 50 versions will be - /// returned. + /// The maximum number of versions to return. The service may return + /// fewer than this value. If unspecified, at most 50 versions will be + /// returned. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListVersions` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListVersions` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListVersions` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListVersions` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// RPC response for listing versions +/// RPC response for listing versions #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsResponse { - /// List of the versions for the given project id. + /// List of the versions for the given project id. #[prost(message, repeated, tag="1")] pub versions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -1559,286 +1559,286 @@ pub mod actions_sdk_client { } } } -/// Contains information about execution event which happened during processing -/// Actions Builder conversation request. For an overview of the stages involved -/// in a conversation request, see -/// +/// Contains information about execution event which happened during processing +/// Actions Builder conversation request. For an overview of the stages involved +/// in a conversation request, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionEvent { - /// Timestamp when the event happened. + /// Timestamp when the event happened. #[prost(message, optional, tag="1")] pub event_time: ::core::option::Option<::prost_types::Timestamp>, - /// State of the execution during this event. + /// State of the execution during this event. #[prost(message, optional, tag="2")] pub execution_state: ::core::option::Option, - /// Resulting status of particular execution step. + /// Resulting status of particular execution step. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, - /// List of warnings generated during execution of this Event. Warnings are - /// tips for the developer discovered during the conversation request. These - /// are usually non-critical and do not halt the execution of the request. For - /// example, a warnings might be generated when webhook tries to override a - /// custom Type which does not exist. Errors are reported as a failed status - /// code, but warnings can be present even when the status is OK. + /// List of warnings generated during execution of this Event. Warnings are + /// tips for the developer discovered during the conversation request. These + /// are usually non-critical and do not halt the execution of the request. For + /// example, a warnings might be generated when webhook tries to override a + /// custom Type which does not exist. Errors are reported as a failed status + /// code, but warnings can be present even when the status is OK. #[prost(string, repeated, tag="17")] pub warning_messages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Detailed information specific to different of events that may be involved - /// in processing a conversation round. The field set here defines the type of - /// this event. + /// Detailed information specific to different of events that may be involved + /// in processing a conversation round. The field set here defines the type of + /// this event. #[prost(oneof="execution_event::EventData", tags="4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16")] pub event_data: ::core::option::Option, } /// Nested message and enum types in `ExecutionEvent`. pub mod execution_event { - /// Detailed information specific to different of events that may be involved - /// in processing a conversation round. The field set here defines the type of - /// this event. + /// Detailed information specific to different of events that may be involved + /// in processing a conversation round. The field set here defines the type of + /// this event. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EventData { - /// User input handling event. + /// User input handling event. #[prost(message, tag="4")] UserInput(super::UserConversationInput), - /// Intent matching event. + /// Intent matching event. #[prost(message, tag="5")] IntentMatch(super::IntentMatch), - /// Condition evaluation event. + /// Condition evaluation event. #[prost(message, tag="6")] ConditionsEvaluated(super::ConditionsEvaluated), - /// OnSceneEnter execution event. + /// OnSceneEnter execution event. #[prost(message, tag="7")] OnSceneEnter(super::OnSceneEnter), - /// Webhook request dispatch event. + /// Webhook request dispatch event. #[prost(message, tag="8")] WebhookRequest(super::WebhookRequest), - /// Webhook response receipt event. + /// Webhook response receipt event. #[prost(message, tag="9")] WebhookResponse(super::WebhookResponse), - /// Webhook-initiated transition event. + /// Webhook-initiated transition event. #[prost(message, tag="10")] WebhookInitiatedTransition(super::WebhookInitiatedTransition), - /// Slot matching event. + /// Slot matching event. #[prost(message, tag="11")] SlotMatch(super::SlotMatch), - /// Slot requesting event. + /// Slot requesting event. #[prost(message, tag="12")] SlotRequested(super::SlotRequested), - /// Slot validation event. + /// Slot validation event. #[prost(message, tag="13")] SlotValidated(super::SlotValidated), - /// Form filling event. + /// Form filling event. #[prost(message, tag="14")] FormFilled(super::FormFilled), - /// Waiting-for-user-input event. + /// Waiting-for-user-input event. #[prost(message, tag="15")] WaitingUserInput(super::WaitingForUserInput), - /// End-of-conversation event. + /// End-of-conversation event. #[prost(message, tag="16")] EndConversation(super::EndConversation), } } -/// Current state of the execution. +/// Current state of the execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionState { - /// ID of the scene which is currently active. + /// ID of the scene which is currently active. #[prost(string, tag="1")] pub current_scene_id: ::prost::alloc::string::String, - /// State of the session storage: - /// + /// State of the session storage: + /// #[prost(message, optional, tag="2")] pub session_storage: ::core::option::Option<::prost_types::Struct>, - /// State of the slots filling, if applicable: - /// + /// State of the slots filling, if applicable: + /// #[prost(message, optional, tag="5")] pub slots: ::core::option::Option, - /// Prompt queue: - /// + /// Prompt queue: + /// #[prost(message, repeated, tag="7")] pub prompt_queue: ::prost::alloc::vec::Vec, - /// State of the user storage: - /// + /// State of the user storage: + /// #[prost(message, optional, tag="6")] pub user_storage: ::core::option::Option<::prost_types::Struct>, - /// State of the home storage: - /// + /// State of the home storage: + /// #[prost(message, optional, tag="8")] pub household_storage: ::core::option::Option<::prost_types::Struct>, } -/// Represents the current state of a the scene's slots. +/// Represents the current state of a the scene's slots. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Slots { - /// The current status of slot filling. + /// The current status of slot filling. #[prost(enumeration="conversation::SlotFillingStatus", tag="2")] pub status: i32, - /// The slots associated with the current scene. + /// The slots associated with the current scene. #[prost(map="string, message", tag="3")] pub slots: ::std::collections::HashMap<::prost::alloc::string::String, conversation::Slot>, } -/// Information related to user input. +/// Information related to user input. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserConversationInput { - /// Type of user input. E.g. keyboard, voice, touch, etc. + /// Type of user input. E.g. keyboard, voice, touch, etc. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Original text input from the user. + /// Original text input from the user. #[prost(string, tag="2")] pub original_query: ::prost::alloc::string::String, } -/// Information about triggered intent match (global or within a scene): -/// +/// Information about triggered intent match (global or within a scene): +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentMatch { - /// Intent id which triggered this interaction. + /// Intent id which triggered this interaction. #[prost(string, tag="1")] pub intent_id: ::prost::alloc::string::String, - /// Parameters of intent which triggered this interaction. + /// Parameters of intent which triggered this interaction. #[prost(map="string, message", tag="5")] pub intent_parameters: ::std::collections::HashMap<::prost::alloc::string::String, conversation::IntentParameterValue>, - /// Name of the handler attached to this interaction. + /// Name of the handler attached to this interaction. #[prost(string, tag="3")] pub handler: ::prost::alloc::string::String, - /// Scene to which this interaction leads to. + /// Scene to which this interaction leads to. #[prost(string, tag="4")] pub next_scene_id: ::prost::alloc::string::String, } -/// Results of conditions evaluation: -/// +/// Results of conditions evaluation: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionsEvaluated { - /// List of conditions which were evaluated to 'false'. + /// List of conditions which were evaluated to 'false'. #[prost(message, repeated, tag="1")] pub failed_conditions: ::prost::alloc::vec::Vec, - /// The first condition which was evaluated to 'true', if any. + /// The first condition which was evaluated to 'true', if any. #[prost(message, optional, tag="2")] pub success_condition: ::core::option::Option, } -/// Evaluated condition. +/// Evaluated condition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Condition { - /// Expression specified in this condition. + /// Expression specified in this condition. #[prost(string, tag="1")] pub expression: ::prost::alloc::string::String, - /// Handler name specified in evaluated condition. + /// Handler name specified in evaluated condition. #[prost(string, tag="2")] pub handler: ::prost::alloc::string::String, - /// Destination scene specified in evaluated condition. + /// Destination scene specified in evaluated condition. #[prost(string, tag="3")] pub next_scene_id: ::prost::alloc::string::String, } -/// Information about execution of onSceneEnter stage: -/// +/// Information about execution of onSceneEnter stage: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnSceneEnter { - /// Handler name specified in onSceneEnter event. + /// Handler name specified in onSceneEnter event. #[prost(string, tag="1")] pub handler: ::prost::alloc::string::String, } -/// Event triggered by destination scene returned from webhook: -/// +/// Event triggered by destination scene returned from webhook: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookInitiatedTransition { - /// ID of the scene the transition is leading to. + /// ID of the scene the transition is leading to. #[prost(string, tag="1")] pub next_scene_id: ::prost::alloc::string::String, } -/// Information about a request dispatched to the Action webhook: -/// +/// Information about a request dispatched to the Action webhook: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookRequest { - /// Payload of the webhook request. + /// Payload of the webhook request. #[prost(string, tag="1")] pub request_json: ::prost::alloc::string::String, } -/// Information about a response received from the Action webhook: -/// +/// Information about a response received from the Action webhook: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookResponse { - /// Payload of the webhook response. + /// Payload of the webhook response. #[prost(string, tag="1")] pub response_json: ::prost::alloc::string::String, } -/// Information about matched slot(s): -/// +/// Information about matched slot(s): +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotMatch { - /// Parameters extracted by NLU from user input. + /// Parameters extracted by NLU from user input. #[prost(map="string, message", tag="2")] pub nlu_parameters: ::std::collections::HashMap<::prost::alloc::string::String, conversation::IntentParameterValue>, } -/// Information about currently requested slot: -/// +/// Information about currently requested slot: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotRequested { - /// Name of the requested slot. + /// Name of the requested slot. #[prost(string, tag="1")] pub slot: ::prost::alloc::string::String, - /// Slot prompt. + /// Slot prompt. #[prost(message, optional, tag="3")] pub prompt: ::core::option::Option, } -/// Event which happens after webhook validation was finished for slot(s): -/// +/// Event which happens after webhook validation was finished for slot(s): +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotValidated { } -/// Event which happens when form is fully filled: -/// +/// Event which happens when form is fully filled: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FormFilled { } -/// Event which happens when system needs user input: -/// +/// Event which happens when system needs user input: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitingForUserInput { } -/// Event which informs that conversation with agent was ended. +/// Event which informs that conversation with agent was ended. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndConversation { } -/// Request for playing a round of the conversation. +/// Request for playing a round of the conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SendInteractionRequest { - /// Required. The project being tested, indicated by the Project ID. - /// Format: projects/{project} + /// Required. The project being tested, indicated by the Project ID. + /// Format: projects/{project} #[prost(string, tag="1")] pub project: ::prost::alloc::string::String, - /// Required. Input provided by the user. + /// Required. Input provided by the user. #[prost(message, optional, tag="2")] pub input: ::core::option::Option, - /// Required. Properties of the device used for interacting with the Action. + /// Required. Properties of the device used for interacting with the Action. #[prost(message, optional, tag="3")] pub device_properties: ::core::option::Option, - /// Opaque token that must be passed as received from SendInteractionResponse - /// on the previous interaction. This can be left unset in order to start a new - /// conversation, either as the first interaction of a testing session or to - /// abandon a previous conversation and start a new one. + /// Opaque token that must be passed as received from SendInteractionResponse + /// on the previous interaction. This can be left unset in order to start a new + /// conversation, either as the first interaction of a testing session or to + /// abandon a previous conversation and start a new one. #[prost(string, tag="4")] pub conversation_token: ::prost::alloc::string::String, } -/// User input provided on a conversation round. +/// User input provided on a conversation round. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInput { - /// Content of the input sent by the user. + /// Content of the input sent by the user. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Type of the input. + /// Type of the input. #[prost(enumeration="user_input::InputType", tag="2")] pub r#type: i32, } /// Nested message and enum types in `UserInput`. pub mod user_input { - /// Indicates the input source, typed query or voice query. + /// Indicates the input source, typed query or voice query. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InputType { - /// Unspecified input source. + /// Unspecified input source. Unspecified = 0, - /// Query from a GUI interaction. + /// Query from a GUI interaction. Touch = 1, - /// Voice query. + /// Voice query. Voice = 2, - /// Typed query. + /// Typed query. Keyboard = 3, - /// The action was triggered by a URL link. + /// The action was triggered by a URL link. Url = 4, } impl InputType { @@ -1857,45 +1857,45 @@ pub mod user_input { } } } -/// Properties of device relevant to a conversation round. +/// Properties of device relevant to a conversation round. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceProperties { - /// Surface used for interacting with the Action. + /// Surface used for interacting with the Action. #[prost(enumeration="device_properties::Surface", tag="1")] pub surface: i32, - /// Device location such as latitude, longitude, and formatted address. + /// Device location such as latitude, longitude, and formatted address. #[prost(message, optional, tag="2")] pub location: ::core::option::Option, - /// Locale as set on the device. - /// The format should follow BCP 47: - /// Examples: en, en-US, es-419 (more examples at - /// ). + /// Locale as set on the device. + /// The format should follow BCP 47: + /// Examples: en, en-US, es-419 (more examples at + /// ). #[prost(string, tag="3")] pub locale: ::prost::alloc::string::String, - /// Time zone as set on the device. - /// The format should follow the IANA Time Zone Database, e.g. - /// "America/New_York": + /// Time zone as set on the device. + /// The format should follow the IANA Time Zone Database, e.g. + /// "America/New_York": #[prost(string, tag="4")] pub time_zone: ::prost::alloc::string::String, } /// Nested message and enum types in `DeviceProperties`. pub mod device_properties { - /// Possible surfaces used to interact with the Action. - /// Additional values may be included in the future. + /// Possible surfaces used to interact with the Action. + /// Additional values may be included in the future. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Surface { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Speaker (e.g. Google Home). + /// Speaker (e.g. Google Home). Speaker = 1, - /// Phone. + /// Phone. Phone = 2, - /// Allo Chat. + /// Allo Chat. Allo = 3, - /// Smart Display Device. + /// Smart Display Device. SmartDisplay = 4, - /// KaiOS. + /// KaiOS. KaiOs = 5, } impl Surface { @@ -1915,105 +1915,105 @@ pub mod device_properties { } } } -/// Container that represents a location. +/// Container that represents a location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Location { - /// Geo coordinates. - /// Requires the \[DEVICE_PRECISE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] permission. + /// Geo coordinates. + /// Requires the \[DEVICE_PRECISE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] permission. #[prost(message, optional, tag="1")] pub coordinates: ::core::option::Option, - /// Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". - /// Requires the \[DEVICE_PRECISE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] permission. + /// Display address, e.g., "1600 Amphitheatre Pkwy, Mountain View, CA 94043". + /// Requires the \[DEVICE_PRECISE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] permission. #[prost(string, tag="2")] pub formatted_address: ::prost::alloc::string::String, - /// Zip code. - /// Requires the \[DEVICE_PRECISE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] or - /// \[DEVICE_COARSE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_COARSE_LOCATION\] permission. + /// Zip code. + /// Requires the \[DEVICE_PRECISE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] or + /// \[DEVICE_COARSE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_COARSE_LOCATION\] permission. #[prost(string, tag="3")] pub zip_code: ::prost::alloc::string::String, - /// City. - /// Requires the \[DEVICE_PRECISE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] or - /// \[DEVICE_COARSE_LOCATION\] - /// \[google.actions.v2.Permission.DEVICE_COARSE_LOCATION\] permission. + /// City. + /// Requires the \[DEVICE_PRECISE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_PRECISE_LOCATION\] or + /// \[DEVICE_COARSE_LOCATION\] + /// \[google.actions.v2.Permission.DEVICE_COARSE_LOCATION\] permission. #[prost(string, tag="4")] pub city: ::prost::alloc::string::String, } -/// Response to a round of the conversation. +/// Response to a round of the conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SendInteractionResponse { - /// Output provided to the user. + /// Output provided to the user. #[prost(message, optional, tag="1")] pub output: ::core::option::Option, - /// Diagnostics information that explains how the request was handled. + /// Diagnostics information that explains how the request was handled. #[prost(message, optional, tag="2")] pub diagnostics: ::core::option::Option, - /// Opaque token to be set on SendInteractionRequest on the next RPC call in - /// order to continue the same conversation. + /// Opaque token to be set on SendInteractionRequest on the next RPC call in + /// order to continue the same conversation. #[prost(string, tag="3")] pub conversation_token: ::prost::alloc::string::String, } -/// User-visible output to the conversation round. +/// User-visible output to the conversation round. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Output { - /// Spoken response sent to user as a plain string. + /// Spoken response sent to user as a plain string. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// Speech content produced by the Action. This may include markup elements - /// such as SSML. + /// Speech content produced by the Action. This may include markup elements + /// such as SSML. #[prost(string, repeated, tag="2")] pub speech: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Interactive Canvas content. + /// Interactive Canvas content. #[prost(message, optional, tag="3")] pub canvas: ::core::option::Option, - /// State of the prompt at the end of the conversation round. - /// More information about the prompt: - /// + /// State of the prompt at the end of the conversation round. + /// More information about the prompt: + /// #[prost(message, optional, tag="4")] pub actions_builder_prompt: ::core::option::Option, } -/// Diagnostics information related to the conversation round. +/// Diagnostics information related to the conversation round. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Diagnostics { - /// List of events with details about processing of the conversation round - /// throughout the stages of the Actions Builder interaction model. - /// Populated for Actions Builder & Actions SDK apps only. + /// List of events with details about processing of the conversation round + /// throughout the stages of the Actions Builder interaction model. + /// Populated for Actions Builder & Actions SDK apps only. #[prost(message, repeated, tag="1")] pub actions_builder_events: ::prost::alloc::vec::Vec, } -/// Request for finding matching intents. +/// Request for finding matching intents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchIntentsRequest { - /// Required. The project being tested, indicated by the Project ID. - /// Format: projects/{project} + /// Required. The project being tested, indicated by the Project ID. + /// Format: projects/{project} #[prost(string, tag="1")] pub project: ::prost::alloc::string::String, - /// Required. User query as plain text. + /// Required. User query as plain text. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Required. Locale to use to evaluate the query, such as "en". - /// The format should follow BCP 47: - /// See the list of supported languages in - /// + /// Required. Locale to use to evaluate the query, such as "en". + /// The format should follow BCP 47: + /// See the list of supported languages in + /// #[prost(string, tag="3")] pub locale: ::prost::alloc::string::String, } -/// Response for finding matching intents. +/// Response for finding matching intents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchIntentsResponse { - /// Intents matched, ordered from most to least relevant. Only the first - /// 50 matches are returned. + /// Intents matched, ordered from most to least relevant. Only the first + /// 50 matches are returned. #[prost(message, repeated, tag="1")] pub matched_intents: ::prost::alloc::vec::Vec, } -/// Request for setting Web & App Activity preferences. +/// Request for setting Web & App Activity preferences. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetWebAndAppActivityControlRequest { - /// Whether the setting should be set to an enabled or disabled state. + /// Whether the setting should be set to an enabled or disabled state. #[prost(bool, tag="1")] pub enabled: bool, } diff --git a/gcloud-sdk/genproto/google.ads.admob.v1.rs b/gcloud-sdk/genproto/google.ads.admob.v1.rs index add2367ac..0c8beace2 100644 --- a/gcloud-sdk/genproto/google.ads.admob.v1.rs +++ b/gcloud-sdk/genproto/google.ads.admob.v1.rs @@ -1,29 +1,29 @@ -/// A publisher account contains information relevant to the use of this API, -/// such as the time zone used for the reports. +/// A publisher account contains information relevant to the use of this API, +/// such as the time zone used for the reports. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublisherAccount { - /// Resource name of this account. - /// Format is accounts/{publisher_id}. + /// Resource name of this account. + /// Format is accounts/{publisher_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The unique ID by which this publisher account can be identified - /// in the API requests (for example, pub-1234567890). + /// The unique ID by which this publisher account can be identified + /// in the API requests (for example, pub-1234567890). #[prost(string, tag="2")] pub publisher_id: ::prost::alloc::string::String, - /// The time zone that is used in reports that are generated for this account. - /// The value is a time-zone ID as specified by the CLDR project, - /// for example, "America/Los_Angeles". + /// The time zone that is used in reports that are generated for this account. + /// The value is a time-zone ID as specified by the CLDR project, + /// for example, "America/Los_Angeles". #[prost(string, tag="3")] pub reporting_time_zone: ::prost::alloc::string::String, - /// Currency code of the earning-related metrics, which is the 3-letter code - /// defined in ISO 4217. The daily average rate is used for the currency - /// conversion. + /// Currency code of the earning-related metrics, which is the 3-letter code + /// defined in ISO 4217. The daily average rate is used for the currency + /// conversion. #[prost(string, tag="4")] pub currency_code: ::prost::alloc::string::String, } -/// The specification for generating an AdMob Network report. -/// For example, the specification to get clicks and estimated earnings for only -/// the 'US' and 'CN' countries can look like the following example: +/// The specification for generating an AdMob Network report. +/// For example, the specification to get clicks and estimated earnings for only +/// the 'US' and 'CN' countries can look like the following example: /// /// { /// 'date_range': { @@ -48,8 +48,8 @@ pub struct PublisherAccount { /// } /// } /// -/// For a better understanding, you can treat the preceding specification like -/// the following pseudo SQL: +/// For a better understanding, you can treat the preceding specification like +/// the following pseudo SQL: /// /// SELECT DATE, APP, COUNTRY, CLICKS, ESTIMATED_EARNINGS /// FROM NETWORK_REPORT @@ -59,128 +59,128 @@ pub struct PublisherAccount { /// ORDER BY APP ASC, CLICKS DESC; #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkReportSpec { - /// The date range for which the report is generated. + /// The date range for which the report is generated. #[prost(message, optional, tag="1")] pub date_range: ::core::option::Option, - /// List of dimensions of the report. The value combination of these dimensions - /// determines the row of the report. If no dimensions are specified, the - /// report returns a single row of requested metrics for the entire account. + /// List of dimensions of the report. The value combination of these dimensions + /// determines the row of the report. If no dimensions are specified, the + /// report returns a single row of requested metrics for the entire account. #[prost(enumeration="network_report_spec::Dimension", repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// List of metrics of the report. A report must specify at least one metric. + /// List of metrics of the report. A report must specify at least one metric. #[prost(enumeration="network_report_spec::Metric", repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// Describes which report rows to match based on their dimension values. + /// Describes which report rows to match based on their dimension values. #[prost(message, repeated, tag="4")] pub dimension_filters: ::prost::alloc::vec::Vec, - /// Describes the sorting of report rows. The order of the condition in the - /// list defines its precedence; the earlier the condition, the higher its - /// precedence. If no sort conditions are specified, the row ordering is - /// undefined. + /// Describes the sorting of report rows. The order of the condition in the + /// list defines its precedence; the earlier the condition, the higher its + /// precedence. If no sort conditions are specified, the row ordering is + /// undefined. #[prost(message, repeated, tag="5")] pub sort_conditions: ::prost::alloc::vec::Vec, - /// Localization settings of the report. + /// Localization settings of the report. #[prost(message, optional, tag="6")] pub localization_settings: ::core::option::Option, - /// Maximum number of report data rows to return. If the value is not set, the - /// API returns as many rows as possible, up to 100000. Acceptable values are - /// 1-100000, inclusive. Any other values are treated as 100000. + /// Maximum number of report data rows to return. If the value is not set, the + /// API returns as many rows as possible, up to 100000. Acceptable values are + /// 1-100000, inclusive. Any other values are treated as 100000. #[prost(int32, tag="7")] pub max_report_rows: i32, - /// A report time zone. Accepts an IANA TZ name values, such as - /// "America/Los_Angeles." If no time zone is defined, the account default - /// takes effect. Check default value by the get account action. + /// A report time zone. Accepts an IANA TZ name values, such as + /// "America/Los_Angeles." If no time zone is defined, the account default + /// takes effect. Check default value by the get account action. /// - /// **Warning:** The "America/Los_Angeles" is the only supported value at - /// the moment. + /// **Warning:** The "America/Los_Angeles" is the only supported value at + /// the moment. #[prost(string, tag="8")] pub time_zone: ::prost::alloc::string::String, } /// Nested message and enum types in `NetworkReportSpec`. pub mod network_report_spec { - /// Describes which report rows to match based on their dimension values. + /// Describes which report rows to match based on their dimension values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionFilter { - /// Applies the filter criterion to the specified dimension. + /// Applies the filter criterion to the specified dimension. #[prost(enumeration="Dimension", tag="1")] pub dimension: i32, - /// Filter operator to be applied. + /// Filter operator to be applied. #[prost(oneof="dimension_filter::Operator", tags="2")] pub operator: ::core::option::Option, } /// Nested message and enum types in `DimensionFilter`. pub mod dimension_filter { - /// Filter operator to be applied. + /// Filter operator to be applied. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operator { - /// Matches a row if its value for the specified dimension is in one of the - /// values specified in this condition. + /// Matches a row if its value for the specified dimension is in one of the + /// values specified in this condition. #[prost(message, tag="2")] MatchesAny(super::super::StringList), } } - /// Sorting direction to be applied on a dimension or a metric. + /// Sorting direction to be applied on a dimension or a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SortCondition { - /// Sorting order of the dimension or metric. + /// Sorting order of the dimension or metric. #[prost(enumeration="super::SortOrder", tag="3")] pub order: i32, - /// Identifies which values to sort on. + /// Identifies which values to sort on. #[prost(oneof="sort_condition::SortOn", tags="1, 2")] pub sort_on: ::core::option::Option, } /// Nested message and enum types in `SortCondition`. pub mod sort_condition { - /// Identifies which values to sort on. + /// Identifies which values to sort on. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SortOn { - /// Sort by the specified dimension. + /// Sort by the specified dimension. #[prost(enumeration="super::Dimension", tag="1")] Dimension(i32), - /// Sort by the specified metric. + /// Sort by the specified metric. #[prost(enumeration="super::Metric", tag="2")] Metric(i32), } } - /// The dimensions of the network report. Dimensions are data attributes to - /// break down or refine the quantitative measurements (metrics) by certain - /// attributes, such as the ad format or the platform an ad was viewed on. + /// The dimensions of the network report. Dimensions are data attributes to + /// break down or refine the quantitative measurements (metrics) by certain + /// attributes, such as the ad format or the platform an ad was viewed on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Dimension { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can - /// specify at most one time dimension. + /// A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can + /// specify at most one time dimension. Date = 1, - /// A month in the YYYY-MM format (for example, "2018-12"). Requests can - /// specify at most one time dimension. + /// A month in the YYYY-MM format (for example, "2018-12"). Requests can + /// specify at most one time dimension. Month = 2, - /// The date of the first day of a week in the YYYY-MM-DD format - /// (for example, "2018-12-21"). Requests can specify at most one time - /// dimension. + /// The date of the first day of a week in the YYYY-MM-DD format + /// (for example, "2018-12-21"). Requests can specify at most one time + /// dimension. Week = 3, - /// The unique ID of the ad unit (for example, "ca-app-pub-1234/1234"). - /// If AD_UNIT dimension is specified, then APP is included automatically. + /// The unique ID of the ad unit (for example, "ca-app-pub-1234/1234"). + /// If AD_UNIT dimension is specified, then APP is included automatically. AdUnit = 4, - /// The unique ID of the mobile application (for example, - /// "ca-app-pub-1234~1234"). + /// The unique ID of the mobile application (for example, + /// "ca-app-pub-1234~1234"). App = 5, - /// Type of the ad (for example, "text" or "image"), an ad delivery - /// dimension. + /// Type of the ad (for example, "text" or "image"), an ad delivery + /// dimension. /// - /// **Warning:** The dimension is incompatible with - /// \[AD_REQUESTS\](#Metric.ENUM_VALUES.AD_REQUESTS), - /// \[MATCH_RATE\](#Metric.ENUM_VALUES.MATCH_RATE) and - /// \[IMPRESSION_RPM\](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics. + /// **Warning:** The dimension is incompatible with + /// \[AD_REQUESTS\](#Metric.ENUM_VALUES.AD_REQUESTS), + /// \[MATCH_RATE\](#Metric.ENUM_VALUES.MATCH_RATE) and + /// \[IMPRESSION_RPM\](#Metric.ENUM_VALUES.IMPRESSION_RPM) metrics. AdType = 6, - /// CLDR country code of the place where the ad views/clicks occur (for - /// example, "US" or "FR"). This is a geography dimension. + /// CLDR country code of the place where the ad views/clicks occur (for + /// example, "US" or "FR"). This is a geography dimension. Country = 7, - /// Format of the ad unit (for example, "banner", "native"), an ad delivery - /// dimension. + /// Format of the ad unit (for example, "banner", "native"), an ad delivery + /// dimension. Format = 8, - /// Mobile OS platform of the app (for example, "Android" or "iOS"). + /// Mobile OS platform of the app (for example, "Android" or "iOS"). Platform = 9, } impl Dimension { @@ -203,50 +203,50 @@ pub mod network_report_spec { } } } - /// The metrics of the network report. Metrics are quantitative measurements - /// indicating how the publisher business is performing. They are aggregated - /// from the individual ad events and grouped by the report dimensions. The - /// metric value is either integer, or decimal (without rounding). + /// The metrics of the network report. Metrics are quantitative measurements + /// indicating how the publisher business is performing. They are aggregated + /// from the individual ad events and grouped by the report dimensions. The + /// metric value is either integer, or decimal (without rounding). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Metric { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// The number of ad requests. The value is an integer. + /// The number of ad requests. The value is an integer. /// - /// **Warning:** The metric is incompatible with - /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. + /// **Warning:** The metric is incompatible with + /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. AdRequests = 1, - /// The number of times a user clicks an ad. The value is an integer. + /// The number of times a user clicks an ad. The value is an integer. Clicks = 2, - /// The estimated earnings of the AdMob publisher. The currency unit (USD, - /// EUR, or other) of the earning metrics are determined by the localization - /// setting for currency. The amount is in micros. For example, $6.50 would - /// be represented as 6500000. + /// The estimated earnings of the AdMob publisher. The currency unit (USD, + /// EUR, or other) of the earning metrics are determined by the localization + /// setting for currency. The amount is in micros. For example, $6.50 would + /// be represented as 6500000. EstimatedEarnings = 3, - /// The total number of ads shown to users. The value is an integer. + /// The total number of ads shown to users. The value is an integer. Impressions = 4, - /// The ratio of clicks over impressions. The value is a double precision - /// (approximate) decimal value. + /// The ratio of clicks over impressions. The value is a double precision + /// (approximate) decimal value. ImpressionCtr = 5, - /// The estimated earnings per thousand ad impressions. The value is in - /// micros. For example, $1.03 would be represented as 1030000. + /// The estimated earnings per thousand ad impressions. The value is in + /// micros. For example, $1.03 would be represented as 1030000. /// - /// **Warning:** The metric is incompatible with - /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. + /// **Warning:** The metric is incompatible with + /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. ImpressionRpm = 6, - /// The number of times ads are returned in response to a request. The value - /// is an integer. + /// The number of times ads are returned in response to a request. The value + /// is an integer. MatchedRequests = 7, - /// The ratio of matched ad requests over the total ad requests. The value is - /// a double precision (approximate) decimal value. + /// The ratio of matched ad requests over the total ad requests. The value is + /// a double precision (approximate) decimal value. /// - /// **Warning:** The metric is incompatible with - /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. + /// **Warning:** The metric is incompatible with + /// \[AD_TYPE\](#Dimension.ENUM_VALUES.AD_TYPE) dimension. MatchRate = 8, - /// The ratio of ads that are displayed over ads that are returned, defined - /// as impressions / matched requests. The value is a double precision - /// (approximate) decimal value. + /// The ratio of ads that are displayed over ads that are returned, defined + /// as impressions / matched requests. The value is a double precision + /// (approximate) decimal value. ShowRate = 9, } impl Metric { @@ -270,9 +270,9 @@ pub mod network_report_spec { } } } -/// The specification for generating an AdMob Mediation report. -/// For example, the specification to get observed ECPM sliced by ad source and -/// app for the 'US' and 'CN' countries can look like the following example: +/// The specification for generating an AdMob Mediation report. +/// For example, the specification to get observed ECPM sliced by ad source and +/// app for the 'US' and 'CN' countries can look like the following example: /// /// { /// "date_range": { @@ -296,8 +296,8 @@ pub mod network_report_spec { /// } /// } /// -/// For a better understanding, you can treat the preceding specification like -/// the following pseudo SQL: +/// For a better understanding, you can treat the preceding specification like +/// the following pseudo SQL: /// /// SELECT AD_SOURCE, APP, COUNTRY, OBSERVED_ECPM /// FROM MEDIATION_REPORT @@ -307,129 +307,129 @@ pub mod network_report_spec { /// ORDER BY APP ASC; #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediationReportSpec { - /// The date range for which the report is generated. + /// The date range for which the report is generated. #[prost(message, optional, tag="1")] pub date_range: ::core::option::Option, - /// List of dimensions of the report. The value combination of these dimensions - /// determines the row of the report. If no dimensions are specified, the - /// report returns a single row of requested metrics for the entire account. + /// List of dimensions of the report. The value combination of these dimensions + /// determines the row of the report. If no dimensions are specified, the + /// report returns a single row of requested metrics for the entire account. #[prost(enumeration="mediation_report_spec::Dimension", repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// List of metrics of the report. A report must specify at least one metric. + /// List of metrics of the report. A report must specify at least one metric. #[prost(enumeration="mediation_report_spec::Metric", repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// Describes which report rows to match based on their dimension values. + /// Describes which report rows to match based on their dimension values. #[prost(message, repeated, tag="4")] pub dimension_filters: ::prost::alloc::vec::Vec, - /// Describes the sorting of report rows. The order of the condition in the - /// list defines its precedence; the earlier the condition, the higher its - /// precedence. If no sort conditions are specified, the row ordering is - /// undefined. + /// Describes the sorting of report rows. The order of the condition in the + /// list defines its precedence; the earlier the condition, the higher its + /// precedence. If no sort conditions are specified, the row ordering is + /// undefined. #[prost(message, repeated, tag="5")] pub sort_conditions: ::prost::alloc::vec::Vec, - /// Localization settings of the report. + /// Localization settings of the report. #[prost(message, optional, tag="6")] pub localization_settings: ::core::option::Option, - /// Maximum number of report data rows to return. If the value is not set, the - /// API returns as many rows as possible, up to 100000. Acceptable values are - /// 1-100000, inclusive. Any other values are treated as 100000. + /// Maximum number of report data rows to return. If the value is not set, the + /// API returns as many rows as possible, up to 100000. Acceptable values are + /// 1-100000, inclusive. Any other values are treated as 100000. #[prost(int32, tag="7")] pub max_report_rows: i32, - /// A report time zone. Accepts an IANA TZ name values, such as - /// "America/Los_Angeles." If no time zone is defined, the account default - /// takes effect. Check default value by the get account action. + /// A report time zone. Accepts an IANA TZ name values, such as + /// "America/Los_Angeles." If no time zone is defined, the account default + /// takes effect. Check default value by the get account action. /// - /// **Warning:** The "America/Los_Angeles" is the only supported value at - /// the moment. + /// **Warning:** The "America/Los_Angeles" is the only supported value at + /// the moment. #[prost(string, tag="8")] pub time_zone: ::prost::alloc::string::String, } /// Nested message and enum types in `MediationReportSpec`. pub mod mediation_report_spec { - /// Describes which report rows to match based on their dimension values. + /// Describes which report rows to match based on their dimension values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionFilter { - /// Applies the filter criterion to the specified dimension. + /// Applies the filter criterion to the specified dimension. #[prost(enumeration="Dimension", tag="1")] pub dimension: i32, - /// Filter operator to be applied. + /// Filter operator to be applied. #[prost(oneof="dimension_filter::Operator", tags="2")] pub operator: ::core::option::Option, } /// Nested message and enum types in `DimensionFilter`. pub mod dimension_filter { - /// Filter operator to be applied. + /// Filter operator to be applied. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operator { - /// Matches a row if its value for the specified dimension is in one of the - /// values specified in this condition. + /// Matches a row if its value for the specified dimension is in one of the + /// values specified in this condition. #[prost(message, tag="2")] MatchesAny(super::super::StringList), } } - /// Sorting direction to be applied on a dimension or a metric. + /// Sorting direction to be applied on a dimension or a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SortCondition { - /// Sorting order of the dimension or metric. + /// Sorting order of the dimension or metric. #[prost(enumeration="super::SortOrder", tag="3")] pub order: i32, - /// Identifies which values to sort on. + /// Identifies which values to sort on. #[prost(oneof="sort_condition::SortOn", tags="1, 2")] pub sort_on: ::core::option::Option, } /// Nested message and enum types in `SortCondition`. pub mod sort_condition { - /// Identifies which values to sort on. + /// Identifies which values to sort on. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SortOn { - /// Sort by the specified dimension. + /// Sort by the specified dimension. #[prost(enumeration="super::Dimension", tag="1")] Dimension(i32), - /// Sort by the specified metric. + /// Sort by the specified metric. #[prost(enumeration="super::Metric", tag="2")] Metric(i32), } } - /// The dimensions of the mediation report. Dimensions are data attributes to - /// break down or refine the quantitative measurements (metrics) by certain - /// attributes, such as the ad format or the platform an ad was viewed on. + /// The dimensions of the mediation report. Dimensions are data attributes to + /// break down or refine the quantitative measurements (metrics) by certain + /// attributes, such as the ad format or the platform an ad was viewed on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Dimension { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can - /// specify at most one time dimension. + /// A date in the YYYY-MM-DD format (for example, "2018-12-21"). Requests can + /// specify at most one time dimension. Date = 1, - /// A month in the YYYY-MM format (for example, "2018-12"). Requests can - /// specify at most one time dimension. + /// A month in the YYYY-MM format (for example, "2018-12"). Requests can + /// specify at most one time dimension. Month = 2, - /// The date of the first day of a week in the YYYY-MM-DD format - /// (for example, "2018-12-21"). Requests can specify at most one time - /// dimension. + /// The date of the first day of a week in the YYYY-MM-DD format + /// (for example, "2018-12-21"). Requests can specify at most one time + /// dimension. Week = 3, - /// The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, - /// "5450213213286189855" and "AdMob Network" as label value). + /// The [unique ID of the ad source](/admob/api/v1/ad_sources) (for example, + /// "5450213213286189855" and "AdMob Network" as label value). AdSource = 4, - /// The unique ID of the ad source instance (for example, - /// "ca-app-pub-1234#5678" and "AdMob (default)" as label value). + /// The unique ID of the ad source instance (for example, + /// "ca-app-pub-1234#5678" and "AdMob (default)" as label value). AdSourceInstance = 5, - /// The unique ID of the ad unit (for example, "ca-app-pub-1234/8790"). - /// If AD_UNIT dimension is specified, then APP is included automatically. + /// The unique ID of the ad unit (for example, "ca-app-pub-1234/8790"). + /// If AD_UNIT dimension is specified, then APP is included automatically. AdUnit = 6, - /// The unique ID of the mobile application (for example, - /// "ca-app-pub-1234~1234"). + /// The unique ID of the mobile application (for example, + /// "ca-app-pub-1234~1234"). App = 7, - /// The unique ID of the mediation group (for example, - /// "ca-app-pub-1234:mg:1234" and "AdMob (default)" as label value). + /// The unique ID of the mediation group (for example, + /// "ca-app-pub-1234:mg:1234" and "AdMob (default)" as label value). MediationGroup = 11, - /// CLDR country code of the place where the ad views/clicks occur (for - /// example, "US" or "FR"). This is a geography dimension. + /// CLDR country code of the place where the ad views/clicks occur (for + /// example, "US" or "FR"). This is a geography dimension. Country = 8, - /// Format of the ad unit (for example, "banner", "native"), an ad delivery - /// dimension. + /// Format of the ad unit (for example, "banner", "native"), an ad delivery + /// dimension. Format = 9, - /// Mobile OS platform of the app (for example, "Android" or "iOS"). + /// Mobile OS platform of the app (for example, "Android" or "iOS"). Platform = 10, } impl Dimension { @@ -454,47 +454,47 @@ pub mod mediation_report_spec { } } } - /// The metrics of the mediation report. Metrics are quantitative measurements - /// indicating how the publisher business is performing. They are aggregated - /// from the individual ad events and grouped by the report dimensions. The - /// metric value is either integer, or decimal (without rounding). + /// The metrics of the mediation report. Metrics are quantitative measurements + /// indicating how the publisher business is performing. They are aggregated + /// from the individual ad events and grouped by the report dimensions. The + /// metric value is either integer, or decimal (without rounding). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Metric { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// The number of requests. The value is an integer. + /// The number of requests. The value is an integer. AdRequests = 1, - /// The number of times a user clicks an ad. The value is an integer. + /// The number of times a user clicks an ad. The value is an integer. Clicks = 2, - /// The estimated earnings of the AdMob publisher. The currency unit (USD, - /// EUR, or other) of the earning metrics are determined by the localization - /// setting for currency. The amount is in micros. For example, $6.50 would - /// be represented as 6500000. + /// The estimated earnings of the AdMob publisher. The currency unit (USD, + /// EUR, or other) of the earning metrics are determined by the localization + /// setting for currency. The amount is in micros. For example, $6.50 would + /// be represented as 6500000. /// - /// Estimated earnings per mediation group and per ad source instance level - /// is supported dating back to October 20, 2019. Third-party estimated - /// earnings will show 0 for dates prior to October 20, 2019. + /// Estimated earnings per mediation group and per ad source instance level + /// is supported dating back to October 20, 2019. Third-party estimated + /// earnings will show 0 for dates prior to October 20, 2019. EstimatedEarnings = 3, - /// The total number of ads shown to users. The value is an integer. + /// The total number of ads shown to users. The value is an integer. Impressions = 4, - /// The ratio of clicks over impressions. The value is a double precision - /// (approximate) decimal value. + /// The ratio of clicks over impressions. The value is a double precision + /// (approximate) decimal value. ImpressionCtr = 5, - /// The number of times ads are returned in response to a request. The value - /// is an integer. + /// The number of times ads are returned in response to a request. The value + /// is an integer. MatchedRequests = 6, - /// The ratio of matched ad requests over the total ad requests. The value is - /// a double precision (approximate) decimal value. + /// The ratio of matched ad requests over the total ad requests. The value is + /// a double precision (approximate) decimal value. MatchRate = 7, - /// The third-party ad network's estimated average eCPM. The currency unit - /// (USD, EUR, or other) of the earning metrics are determined by the - /// localization setting for currency. The amount is in micros. For example, - /// $2.30 would be represented as 2300000. + /// The third-party ad network's estimated average eCPM. The currency unit + /// (USD, EUR, or other) of the earning metrics are determined by the + /// localization setting for currency. The amount is in micros. For example, + /// $2.30 would be represented as 2300000. /// - /// The estimated average eCPM per mediation group and per ad source instance - /// level is supported dating back to October 20, 2019. Third-party estimated - /// average eCPM will show 0 for dates prior to October 20, 2019. + /// The estimated average eCPM per mediation group and per ad source instance + /// level is supported dating back to October 20, 2019. Third-party estimated + /// average eCPM will show 0 for dates prior to October 20, 2019. ObservedEcpm = 8, } impl Metric { @@ -517,96 +517,96 @@ pub mod mediation_report_spec { } } } -/// A row of the returning report. +/// A row of the returning report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportRow { - /// Map of dimension values in a row, with keys as enum name of the dimensions. + /// Map of dimension values in a row, with keys as enum name of the dimensions. #[prost(map="string, message", tag="1")] pub dimension_values: ::std::collections::HashMap<::prost::alloc::string::String, report_row::DimensionValue>, - /// Map of metric values in a row, with keys as enum name of the metrics. If - /// a metric being requested has no value returned, the map will not include - /// it. + /// Map of metric values in a row, with keys as enum name of the metrics. If + /// a metric being requested has no value returned, the map will not include + /// it. #[prost(map="string, message", tag="2")] pub metric_values: ::std::collections::HashMap<::prost::alloc::string::String, report_row::MetricValue>, } /// Nested message and enum types in `ReportRow`. pub mod report_row { - /// Representation of a dimension value. + /// Representation of a dimension value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionValue { - /// Dimension value in the format specified in the report's spec Dimension - /// enum. + /// Dimension value in the format specified in the report's spec Dimension + /// enum. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, - /// The localized string representation of the value. If unspecified, the - /// display label should be derived from the value. + /// The localized string representation of the value. If unspecified, the + /// display label should be derived from the value. #[prost(string, tag="2")] pub display_label: ::prost::alloc::string::String, } - /// Representation of a metric value. + /// Representation of a metric value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricValue { - /// Metric value in the format specified in the report's spec Metric enum - /// name. + /// Metric value in the format specified in the report's spec Metric enum + /// name. #[prost(oneof="metric_value::Value", tags="1, 2, 3")] pub value: ::core::option::Option, } /// Nested message and enum types in `MetricValue`. pub mod metric_value { - /// Metric value in the format specified in the report's spec Metric enum - /// name. + /// Metric value in the format specified in the report's spec Metric enum + /// name. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Metric integer value. + /// Metric integer value. #[prost(int64, tag="1")] IntegerValue(i64), - /// Double precision (approximate) decimal values. Rates are from 0 to 1. + /// Double precision (approximate) decimal values. Rates are from 0 to 1. #[prost(double, tag="2")] DoubleValue(f64), - /// Amount in micros. One million is equivalent to one unit. Currency value - /// is in the unit (USD, EUR or other) specified by the request. - /// For example, $6.50 whould be represented as 6500000 micros. + /// Amount in micros. One million is equivalent to one unit. Currency value + /// is in the unit (USD, EUR or other) specified by the request. + /// For example, $6.50 whould be represented as 6500000 micros. #[prost(int64, tag="3")] MicrosValue(i64), } } } -/// Warnings associated with generation of the report. +/// Warnings associated with generation of the report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportWarning { - /// Type of the warning. + /// Type of the warning. #[prost(enumeration="report_warning::Type", tag="1")] pub r#type: i32, - /// Describes the details of the warning message, in English. + /// Describes the details of the warning message, in English. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `ReportWarning`. pub mod report_warning { - /// Warning type. + /// Warning type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// Some data in this report is aggregated based on a time zone different - /// from the requested time zone. This could happen if a local time-zone - /// report has the start time before the last time this time zone changed. - /// The description field will contain the date of the last time zone - /// change. + /// Some data in this report is aggregated based on a time zone different + /// from the requested time zone. This could happen if a local time-zone + /// report has the start time before the last time this time zone changed. + /// The description field will contain the date of the last time zone + /// change. DataBeforeAccountTimezoneChange = 1, - /// There is an unusual delay in processing the source data for the - /// requested date range. The report results might be less up to date than - /// usual. AdMob is aware of the issue and is actively working to resolve - /// it. + /// There is an unusual delay in processing the source data for the + /// requested date range. The report results might be less up to date than + /// usual. AdMob is aware of the issue and is actively working to resolve + /// it. DataDelayed = 2, - /// Warnings that are exposed without a specific type. Useful when new - /// warning types are added but the API is not changed yet. + /// Warnings that are exposed without a specific type. Useful when new + /// warning types are added but the API is not changed yet. Other = 3, - /// The currency being requested is not the account currency. The earning - /// metrics will be based on the requested currency, and thus not a good - /// estimation of the final payment anymore, due to the currency rate - /// fluctuation. + /// The currency being requested is not the account currency. The earning + /// metrics will be based on the requested currency, and thus not a good + /// estimation of the final payment anymore, due to the currency rate + /// fluctuation. ReportCurrencyNotAccountCurrency = 4, } impl Type { @@ -625,80 +625,80 @@ pub mod report_warning { } } } -/// Groups data helps to treat the generated report. Always sent as a first -/// message in the stream response. +/// Groups data helps to treat the generated report. Always sent as a first +/// message in the stream response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportHeader { - /// The date range for which the report is generated. This is identical to the - /// range specified in the report request. + /// The date range for which the report is generated. This is identical to the + /// range specified in the report request. #[prost(message, optional, tag="1")] pub date_range: ::core::option::Option, - /// Localization settings of the report. This is identical to the settings - /// in the report request. + /// Localization settings of the report. This is identical to the settings + /// in the report request. #[prost(message, optional, tag="2")] pub localization_settings: ::core::option::Option, - /// The report time zone. The value is a time-zone ID as specified by the CLDR - /// project, for example, "America/Los_Angeles". + /// The report time zone. The value is a time-zone ID as specified by the CLDR + /// project, for example, "America/Los_Angeles". #[prost(string, tag="3")] pub reporting_time_zone: ::prost::alloc::string::String, } -/// Groups data available after report generation, for example, warnings and row -/// counts. Always sent as the last message in the stream response. +/// Groups data available after report generation, for example, warnings and row +/// counts. Always sent as the last message in the stream response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportFooter { - /// Warnings associated with generation of the report. + /// Warnings associated with generation of the report. #[prost(message, repeated, tag="1")] pub warnings: ::prost::alloc::vec::Vec, - /// Total number of rows that matched the request. + /// Total number of rows that matched the request. /// - /// Warning: This count does NOT always match the number of rows in the - /// response. Do not make that assumption when processing the response. + /// Warning: This count does NOT always match the number of rows in the + /// response. Do not make that assumption when processing the response. #[prost(int64, tag="2")] pub matching_row_count: i64, } -/// Specification of a single date range. Both dates are inclusive. +/// Specification of a single date range. Both dates are inclusive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// Start date of the date range, inclusive. Must be less than or equal to the - /// end date. + /// Start date of the date range, inclusive. Must be less than or equal to the + /// end date. #[prost(message, optional, tag="1")] pub start_date: ::core::option::Option, - /// End date of the date range, inclusive. Must be greater than or equal to the - /// start date. + /// End date of the date range, inclusive. Must be greater than or equal to the + /// start date. #[prost(message, optional, tag="2")] pub end_date: ::core::option::Option, } -/// Localization settings for reports, such as currency and language. It affects -/// how metrics are calculated. +/// Localization settings for reports, such as currency and language. It affects +/// how metrics are calculated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalizationSettings { - /// Currency code of the earning related metrics, which is the 3-letter code - /// defined in ISO 4217. The daily average rate is used for the currency - /// conversion. Defaults to the account currency code if unspecified. + /// Currency code of the earning related metrics, which is the 3-letter code + /// defined in ISO 4217. The daily average rate is used for the currency + /// conversion. Defaults to the account currency code if unspecified. #[prost(string, tag="1")] pub currency_code: ::prost::alloc::string::String, - /// Language used for any localized text, such as some dimension value display - /// labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if - /// unspecified. + /// Language used for any localized text, such as some dimension value display + /// labels. The language tag defined in the IETF BCP47. Defaults to 'en-US' if + /// unspecified. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// List of string values. +/// List of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringList { - /// The string values. + /// The string values. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The sorting order. +/// The sorting order. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SortOrder { - /// Default value for an unset field. Do not use. + /// Default value for an unset field. Do not use. Unspecified = 0, - /// Sort dimension value or metric value in ascending order. + /// Sort dimension value or metric value in ascending order. Ascending = 1, - /// Sort dimension value or metric value in descending order. + /// Sort dimension value or metric value in descending order. Descending = 2, } impl SortOrder { @@ -714,54 +714,54 @@ impl SortOrder { } } } -/// Request to retrieve the specified publisher account. +/// Request to retrieve the specified publisher account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPublisherAccountRequest { - /// Resource name of the publisher account to retrieve. - /// Example: accounts/pub-9876543210987654 + /// Resource name of the publisher account to retrieve. + /// Example: accounts/pub-9876543210987654 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to retrieve the AdMob publisher account accessible with the client -/// credential. Currently all credentials have access to at most 1 account. +/// Request to retrieve the AdMob publisher account accessible with the client +/// credential. Currently all credentials have access to at most 1 account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPublisherAccountsRequest { - /// Maximum number of accounts to return. + /// Maximum number of accounts to return. #[prost(int32, tag="1")] pub page_size: i32, - /// The value returned by the last `ListPublisherAccountsResponse`; indicates - /// that this is a continuation of a prior `ListPublisherAccounts` call, and - /// that the system should return the next page of data. + /// The value returned by the last `ListPublisherAccountsResponse`; indicates + /// that this is a continuation of a prior `ListPublisherAccounts` call, and + /// that the system should return the next page of data. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response for the publisher account list request. +/// Response for the publisher account list request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPublisherAccountsResponse { - /// Publisher that the client credentials can access. + /// Publisher that the client credentials can access. #[prost(message, repeated, tag="1")] pub account: ::prost::alloc::vec::Vec, - /// If not empty, indicates that there might be more accounts for the request; - /// you must pass this value in a new `ListPublisherAccountsRequest`. + /// If not empty, indicates that there might be more accounts for the request; + /// you must pass this value in a new `ListPublisherAccountsRequest`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request to generate an AdMob Mediation report. +/// Request to generate an AdMob Mediation report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateMediationReportRequest { - /// Resource name of the account to generate the report for. - /// Example: accounts/pub-9876543210987654 + /// Resource name of the account to generate the report for. + /// Example: accounts/pub-9876543210987654 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Network report specification. + /// Network report specification. #[prost(message, optional, tag="2")] pub report_spec: ::core::option::Option, } -/// The streaming response for the AdMob Mediation report where the first -/// response contains the report header, then a stream of row responses, and -/// finally a footer as the last response message. +/// The streaming response for the AdMob Mediation report where the first +/// response contains the report header, then a stream of row responses, and +/// finally a footer as the last response message. /// -/// For example: +/// For example: /// /// [{ /// "header": { @@ -794,44 +794,44 @@ pub struct GenerateMediationReportRequest { /// }] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateMediationReportResponse { - /// Each stream response message contains one type of payload. + /// Each stream response message contains one type of payload. #[prost(oneof="generate_mediation_report_response::Payload", tags="1, 2, 3")] pub payload: ::core::option::Option, } /// Nested message and enum types in `GenerateMediationReportResponse`. pub mod generate_mediation_report_response { - /// Each stream response message contains one type of payload. + /// Each stream response message contains one type of payload. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// Report generation settings that describes the report contents, such as - /// the report date range and localization settings. + /// Report generation settings that describes the report contents, such as + /// the report date range and localization settings. #[prost(message, tag="1")] Header(super::ReportHeader), - /// Actual report data. + /// Actual report data. #[prost(message, tag="2")] Row(super::ReportRow), - /// Additional information about the generated report, such as warnings about - /// the data. + /// Additional information about the generated report, such as warnings about + /// the data. #[prost(message, tag="3")] Footer(super::ReportFooter), } } -/// Request to generate an AdMob Network report. +/// Request to generate an AdMob Network report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateNetworkReportRequest { - /// Resource name of the account to generate the report for. - /// Example: accounts/pub-9876543210987654 + /// Resource name of the account to generate the report for. + /// Example: accounts/pub-9876543210987654 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Network report specification. + /// Network report specification. #[prost(message, optional, tag="2")] pub report_spec: ::core::option::Option, } -/// The streaming response for the AdMob Network report where the first response -/// contains the report header, then a stream of row responses, and finally a -/// footer as the last response message. +/// The streaming response for the AdMob Network report where the first response +/// contains the report header, then a stream of row responses, and finally a +/// footer as the last response message. /// -/// For example: +/// For example: /// /// [{ /// "header": { @@ -864,24 +864,24 @@ pub struct GenerateNetworkReportRequest { /// }] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateNetworkReportResponse { - /// Each stream response message contains one type of payload. + /// Each stream response message contains one type of payload. #[prost(oneof="generate_network_report_response::Payload", tags="1, 2, 3")] pub payload: ::core::option::Option, } /// Nested message and enum types in `GenerateNetworkReportResponse`. pub mod generate_network_report_response { - /// Each stream response message contains one type of payload. + /// Each stream response message contains one type of payload. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// Report generation settings that describes the report contents, such as - /// the report date range and localization settings. + /// Report generation settings that describes the report contents, such as + /// the report date range and localization settings. #[prost(message, tag="1")] Header(super::ReportHeader), - /// Actual report data. + /// Actual report data. #[prost(message, tag="2")] Row(super::ReportRow), - /// Additional information about the generated report, such as warnings about - /// the data. + /// Additional information about the generated report, such as warnings about + /// the data. #[prost(message, tag="3")] Footer(super::ReportFooter), } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v10.common.rs b/gcloud-sdk/genproto/google.ads.googleads.v10.common.rs index 4c51c37a0..24a6d5cd8 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v10.common.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v10.common.rs @@ -1,5740 +1,5740 @@ -// Proto file describing policy information. +// Proto file describing policy information. -/// Key of the violation. The key is used for referring to a violation -/// when filing an exemption request. +/// Key of the violation. The key is used for referring to a violation +/// when filing an exemption request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationKey { - /// Unique ID of the violated policy. + /// Unique ID of the violated policy. #[prost(string, optional, tag="3")] pub policy_name: ::core::option::Option<::prost::alloc::string::String>, - /// The text that violates the policy if specified. - /// Otherwise, refers to the policy in general - /// (e.g., when requesting to be exempt from the whole policy). - /// If not specified for criterion exemptions, the whole policy is implied. - /// Must be specified for ad exemptions. + /// The text that violates the policy if specified. + /// Otherwise, refers to the policy in general + /// (e.g., when requesting to be exempt from the whole policy). + /// If not specified for criterion exemptions, the whole policy is implied. + /// Must be specified for ad exemptions. #[prost(string, optional, tag="4")] pub violating_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Parameter for controlling how policy exemption is done. +/// Parameter for controlling how policy exemption is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameter { - /// The list of policy topics that should not cause a PolicyFindingError to - /// be reported. This field is currently only compatible with Enhanced Text Ad. - /// It corresponds to the PolicyTopicEntry.topic field. + /// The list of policy topics that should not cause a PolicyFindingError to + /// be reported. This field is currently only compatible with Enhanced Text Ad. + /// It corresponds to the PolicyTopicEntry.topic field. /// - /// Resources violating these policies will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these policies will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(string, repeated, tag="3")] pub ignorable_policy_topics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, please refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, please refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="2")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, } -/// Policy finding attached to a resource (e.g. alcohol policy associated with -/// a site that sells alcohol). +/// Policy finding attached to a resource (e.g. alcohol policy associated with +/// a site that sells alcohol). /// -/// Each PolicyTopicEntry has a topic that indicates the specific ads policy -/// the entry is about and a type to indicate the effect that the entry will have -/// on serving. It may optionally have one or more evidences that indicate the -/// reason for the finding. It may also optionally have one or more constraints -/// that provide details about how serving may be restricted. +/// Each PolicyTopicEntry has a topic that indicates the specific ads policy +/// the entry is about and a type to indicate the effect that the entry will have +/// on serving. It may optionally have one or more evidences that indicate the +/// reason for the finding. It may also optionally have one or more constraints +/// that provide details about how serving may be restricted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntry { - /// Policy topic this finding refers to. For example, "ALCOHOL", - /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - /// policy topics is not fixed for a particular API version and may change - /// at any time. + /// Policy topic this finding refers to. For example, "ALCOHOL", + /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible + /// policy topics is not fixed for a particular API version and may change + /// at any time. #[prost(string, optional, tag="5")] pub topic: ::core::option::Option<::prost::alloc::string::String>, - /// Describes the negative or positive effect this policy will have on serving. + /// Describes the negative or positive effect this policy will have on serving. #[prost(enumeration="super::enums::policy_topic_entry_type_enum::PolicyTopicEntryType", tag="2")] pub r#type: i32, - /// Additional information that explains policy finding - /// (e.g. the brand name for a trademark finding). + /// Additional information that explains policy finding + /// (e.g. the brand name for a trademark finding). #[prost(message, repeated, tag="3")] pub evidences: ::prost::alloc::vec::Vec, - /// Indicates how serving of this resource may be affected (e.g. not serving - /// in a country). + /// Indicates how serving of this resource may be affected (e.g. not serving + /// in a country). #[prost(message, repeated, tag="4")] pub constraints: ::prost::alloc::vec::Vec, } -/// Additional information that explains a policy finding. +/// Additional information that explains a policy finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidence { - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[prost(oneof="policy_topic_evidence::Value", tags="3, 4, 9, 6, 7, 8")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicEvidence`. pub mod policy_topic_evidence { - /// A list of fragments of text that violated a policy. + /// A list of fragments of text that violated a policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextList { - /// The fragments of text from the resource that caused the policy finding. + /// The fragments of text from the resource that caused the policy finding. #[prost(string, repeated, tag="2")] pub texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of websites that caused a policy finding. Used for - /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - /// than five websites, only the top five (those that appear in resources the - /// most) will be listed here. + /// A list of websites that caused a policy finding. Used for + /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more + /// than five websites, only the top five (those that appear in resources the + /// most) will be listed here. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebsiteList { - /// Websites that caused the policy finding. + /// Websites that caused the policy finding. #[prost(string, repeated, tag="2")] pub websites: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of strings found in a destination page that caused a policy - /// finding. + /// A list of strings found in a destination page that caused a policy + /// finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationTextList { - /// List of text found in the resource's destination page. + /// List of text found in the resource's destination page. #[prost(string, repeated, tag="2")] pub destination_texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Evidence of mismatches between the URLs of a resource. + /// Evidence of mismatches between the URLs of a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationMismatch { - /// The set of URLs that did not match each other. + /// The set of URLs that did not match each other. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_mismatch_url_type_enum::PolicyTopicEvidenceDestinationMismatchUrlType", repeated, tag="1")] pub url_types: ::prost::alloc::vec::Vec, } - /// Evidence details when the destination is returning an HTTP error - /// code or isn't functional in all locations for commonly used devices. + /// Evidence details when the destination is returning an HTTP error + /// code or isn't functional in all locations for commonly used devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationNotWorking { - /// The full URL that didn't work. + /// The full URL that didn't work. #[prost(string, optional, tag="7")] pub expanded_url: ::core::option::Option<::prost::alloc::string::String>, - /// The type of device that failed to load the URL. + /// The type of device that failed to load the URL. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_not_working_device_enum::PolicyTopicEvidenceDestinationNotWorkingDevice", tag="4")] pub device: i32, - /// The time the URL was last checked. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// The time the URL was last checked. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="8")] pub last_checked_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[prost(oneof="destination_not_working::Reason", tags="1, 6")] pub reason: ::core::option::Option, } /// Nested message and enum types in `DestinationNotWorking`. pub mod destination_not_working { - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Reason { - /// The type of DNS error. + /// The type of DNS error. #[prost(enumeration="super::super::super::enums::policy_topic_evidence_destination_not_working_dns_error_type_enum::PolicyTopicEvidenceDestinationNotWorkingDnsErrorType", tag="1")] DnsErrorType(i32), - /// The HTTP error code. + /// The HTTP error code. #[prost(int64, tag="6")] HttpErrorCode(i64), } } - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// List of websites linked with this resource. + /// List of websites linked with this resource. #[prost(message, tag="3")] WebsiteList(WebsiteList), - /// List of evidence found in the text of a resource. + /// List of evidence found in the text of a resource. #[prost(message, tag="4")] TextList(TextList), - /// The language the resource was detected to be written in. - /// This is an IETF language tag such as "en-US". + /// The language the resource was detected to be written in. + /// This is an IETF language tag such as "en-US". #[prost(string, tag="9")] LanguageCode(::prost::alloc::string::String), - /// The text in the destination of the resource that is causing a policy - /// finding. + /// The text in the destination of the resource that is causing a policy + /// finding. #[prost(message, tag="6")] DestinationTextList(DestinationTextList), - /// Mismatch between the destinations of a resource's URLs. + /// Mismatch between the destinations of a resource's URLs. #[prost(message, tag="7")] DestinationMismatch(DestinationMismatch), - /// Details when the destination is returning an HTTP error code or isn't - /// functional in all locations for commonly used devices. + /// Details when the destination is returning an HTTP error code or isn't + /// functional in all locations for commonly used devices. #[prost(message, tag="8")] DestinationNotWorking(DestinationNotWorking), } } -/// Describes the effect on serving that a policy topic entry will have. +/// Describes the effect on serving that a policy topic entry will have. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicConstraint { - /// Specific information about the constraint. + /// Specific information about the constraint. #[prost(oneof="policy_topic_constraint::Value", tags="1, 2, 3, 4")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicConstraint`. pub mod policy_topic_constraint { - /// A list of countries where a resource's serving is constrained. + /// A list of countries where a resource's serving is constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraintList { - /// Total number of countries targeted by the resource. + /// Total number of countries targeted by the resource. #[prost(int32, optional, tag="3")] pub total_targeted_countries: ::core::option::Option, - /// Countries in which serving is restricted. + /// Countries in which serving is restricted. #[prost(message, repeated, tag="2")] pub countries: ::prost::alloc::vec::Vec, } - /// Indicates that a policy topic was constrained due to disapproval of the - /// website for reseller purposes. + /// Indicates that a policy topic was constrained due to disapproval of the + /// website for reseller purposes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResellerConstraint { } - /// Indicates that a resource's ability to serve in a particular country is - /// constrained. + /// Indicates that a resource's ability to serve in a particular country is + /// constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraint { - /// Geo target constant resource name of the country in which serving is - /// constrained. + /// Geo target constant resource name of the country in which serving is + /// constrained. #[prost(string, optional, tag="2")] pub country_criterion: ::core::option::Option<::prost::alloc::string::String>, } - /// Specific information about the constraint. + /// Specific information about the constraint. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Countries where the resource cannot serve. + /// Countries where the resource cannot serve. #[prost(message, tag="1")] CountryConstraintList(CountryConstraintList), - /// Reseller constraint. + /// Reseller constraint. #[prost(message, tag="2")] ResellerConstraint(ResellerConstraint), - /// Countries where a certificate is required for serving. + /// Countries where a certificate is required for serving. #[prost(message, tag="3")] CertificateMissingInCountryList(CountryConstraintList), - /// Countries where the resource's domain is not covered by the - /// certificates associated with it. + /// Countries where the resource's domain is not covered by the + /// certificates associated with it. #[prost(message, tag="4")] CertificateDomainMismatchInCountryList(CountryConstraintList), } } -// Proto file describing asset policies. +// Proto file describing asset policies. -/// Contains policy information for an asset inside an ad. +/// Contains policy information for an asset inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdAssetPolicySummary { - /// The list of policy findings for this asset. + /// The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process this asset. + /// Where in the review process this asset. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status of this asset, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status of this asset, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing assets used inside an ad. +// Proto file describing assets used inside an ad. -/// A text asset used inside an ad. +/// A text asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTextAsset { - /// Asset text. + /// Asset text. #[prost(string, optional, tag="4")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The pinned field of the asset. This restricts the asset to only serve - /// within this field. Multiple assets can be pinned to the same field. An - /// asset that is unpinned or pinned to a different field will not serve in a - /// field where some other asset has been pinned. + /// The pinned field of the asset. This restricts the asset to only serve + /// within this field. Multiple assets can be pinned to the same field. An + /// asset that is unpinned or pinned to a different field will not serve in a + /// field where some other asset has been pinned. #[prost(enumeration="super::enums::served_asset_field_type_enum::ServedAssetFieldType", tag="2")] pub pinned_field: i32, - /// The performance label of this text asset. + /// The performance label of this text asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="5")] pub asset_performance_label: i32, - /// The policy summary of this text asset. + /// The policy summary of this text asset. #[prost(message, optional, tag="6")] pub policy_summary_info: ::core::option::Option, } -/// An image asset used inside an ad. +/// An image asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdImageAsset { - /// The Asset resource name of this image. + /// The Asset resource name of this image. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A video asset used inside an ad. +/// A video asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdVideoAsset { - /// The Asset resource name of this video. + /// The Asset resource name of this video. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A media bundle asset used inside an ad. +/// A media bundle asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdMediaBundleAsset { - /// The Asset resource name of this media bundle. + /// The Asset resource name of this media bundle. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A discovery carousel card asset used inside an ad. +/// A discovery carousel card asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdDiscoveryCarouselCardAsset { - /// The Asset resource name of this discovery carousel card. + /// The Asset resource name of this discovery carousel card. #[prost(string, optional, tag="1")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file containing info messages for specific ad types. +// Proto file containing info messages for specific ad types. -/// A text ad. +/// A text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="4")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, optional, tag="5")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, optional, tag="6")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded text ad. +/// An expanded text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedTextAdInfo { - /// The first part of the ad's headline. + /// The first part of the ad's headline. #[prost(string, optional, tag="8")] pub headline_part1: ::core::option::Option<::prost::alloc::string::String>, - /// The second part of the ad's headline. + /// The second part of the ad's headline. #[prost(string, optional, tag="9")] pub headline_part2: ::core::option::Option<::prost::alloc::string::String>, - /// The third part of the ad's headline. + /// The third part of the ad's headline. #[prost(string, optional, tag="10")] pub headline_part3: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="11")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="12")] pub description2: ::core::option::Option<::prost::alloc::string::String>, - /// The text that can appear alongside the ad's displayed URL. + /// The text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="13")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Additional text that can appear alongside the ad's displayed URL. + /// Additional text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="14")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded dynamic search ad. +/// An expanded dynamic search ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedDynamicSearchAdInfo { - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="3")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="4")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A hotel ad. +/// A hotel ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdInfo { } -/// A Smart Shopping ad. +/// A Smart Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSmartAdInfo { } -/// A standard Shopping ad. +/// A standard Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingProductAdInfo { } -/// A Shopping Comparison Listing ad. +/// A Shopping Comparison Listing ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingComparisonListingAdInfo { - /// Headline of the ad. This field is required. Allowed length is between 25 - /// and 45 characters. + /// Headline of the ad. This field is required. Allowed length is between 25 + /// and 45 characters. #[prost(string, optional, tag="2")] pub headline: ::core::option::Option<::prost::alloc::string::String>, } -/// A Gmail ad. +/// A Gmail ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailAdInfo { - /// The Gmail teaser. + /// The Gmail teaser. #[prost(message, optional, tag="1")] pub teaser: ::core::option::Option, - /// The MediaFile resource name of the header image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must - /// be between 3:1 and 5:1 (+-1%). + /// The MediaFile resource name of the header image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must + /// be between 3:1 and 5:1 (+-1%). #[prost(string, optional, tag="10")] pub header_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image. Valid image types are - /// GIF, JPEG and PNG. The image must either be landscape with a minimum size - /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a - /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) + /// The MediaFile resource name of the marketing image. Valid image types are + /// GIF, JPEG and PNG. The image must either be landscape with a minimum size + /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a + /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) #[prost(string, optional, tag="11")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Headline of the marketing image. + /// Headline of the marketing image. #[prost(string, optional, tag="12")] pub marketing_image_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the marketing image. + /// Description of the marketing image. #[prost(string, optional, tag="13")] pub marketing_image_description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the marketing image. + /// Display-call-to-action of the marketing image. #[prost(message, optional, tag="6")] pub marketing_image_display_call_to_action: ::core::option::Option, - /// Product images. Up to 15 images are supported. + /// Product images. Up to 15 images are supported. #[prost(message, repeated, tag="7")] pub product_images: ::prost::alloc::vec::Vec, - /// Product videos. Up to 7 videos are supported. At least one product video - /// or a marketing image must be specified. + /// Product videos. Up to 7 videos are supported. At least one product video + /// or a marketing image must be specified. #[prost(message, repeated, tag="8")] pub product_videos: ::prost::alloc::vec::Vec, } -/// Gmail teaser data. The teaser is a small header that acts as an invitation -/// to view the rest of the ad (the body). +/// Gmail teaser data. The teaser is a small header that acts as an invitation +/// to view the rest of the ad (the body). #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailTeaser { - /// Headline of the teaser. + /// Headline of the teaser. #[prost(string, optional, tag="5")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the teaser. + /// Description of the teaser. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Business name of the advertiser. + /// Business name of the advertiser. #[prost(string, optional, tag="7")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must - /// be 1:1 (+-1%). + /// The MediaFile resource name of the logo image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must + /// be 1:1 (+-1%). #[prost(string, optional, tag="8")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, } -/// Data for display call to action. The call to action is a piece of the ad -/// that prompts the user to do something. Like clicking a link or making a phone -/// call. +/// Data for display call to action. The call to action is a piece of the ad +/// that prompts the user to do something. Like clicking a link or making a phone +/// call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayCallToAction { - /// Text for the display-call-to-action. + /// Text for the display-call-to-action. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for - /// white. + /// Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for + /// white. #[prost(string, optional, tag="6")] pub text_color: ::core::option::Option<::prost::alloc::string::String>, - /// Identifies the URL collection in the `ad.url_collections` field. If not - /// set, the URL defaults to `final_url`. + /// Identifies the URL collection in the `ad.url_collections` field. If not + /// set, the URL defaults to `final_url`. #[prost(string, optional, tag="7")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Product image specific data. +/// Product image specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductImage { - /// The MediaFile resource name of the product image. Valid image types are - /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - /// must be 1:1 (+-1%). + /// The MediaFile resource name of the product image. Valid image types are + /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio + /// must be 1:1 (+-1%). #[prost(string, optional, tag="4")] pub product_image: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the product. + /// Description of the product. #[prost(string, optional, tag="5")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the product image. + /// Display-call-to-action of the product image. #[prost(message, optional, tag="3")] pub display_call_to_action: ::core::option::Option, } -/// Product video specific data. +/// Product video specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductVideo { - /// The MediaFile resource name of a video which must be hosted on YouTube. + /// The MediaFile resource name of a video which must be hosted on YouTube. #[prost(string, optional, tag="2")] pub product_video: ::core::option::Option<::prost::alloc::string::String>, } -/// An image ad. +/// An image ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAdInfo { - /// Width in pixels of the full size image. + /// Width in pixels of the full size image. #[prost(int64, optional, tag="15")] pub pixel_width: ::core::option::Option, - /// Height in pixels of the full size image. + /// Height in pixels of the full size image. #[prost(int64, optional, tag="16")] pub pixel_height: ::core::option::Option, - /// URL of the full size image. + /// URL of the full size image. #[prost(string, optional, tag="17")] pub image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Width in pixels of the preview size image. + /// Width in pixels of the preview size image. #[prost(int64, optional, tag="18")] pub preview_pixel_width: ::core::option::Option, - /// Height in pixels of the preview size image. + /// Height in pixels of the preview size image. #[prost(int64, optional, tag="19")] pub preview_pixel_height: ::core::option::Option, - /// URL of the preview size image. + /// URL of the preview size image. #[prost(string, optional, tag="20")] pub preview_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// The mime type of the image. + /// The mime type of the image. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="10")] pub mime_type: i32, - /// The name of the image. If the image was created from a MediaFile, this is - /// the MediaFile's name. If the image was created from bytes, this is empty. + /// The name of the image. If the image was created from a MediaFile, this is + /// the MediaFile's name. If the image was created from bytes, this is empty. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[prost(oneof="image_ad_info::Image", tags="12, 13, 14")] pub image: ::core::option::Option, } /// Nested message and enum types in `ImageAdInfo`. pub mod image_ad_info { - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Image { - /// The MediaFile resource to use for the image. + /// The MediaFile resource to use for the image. #[prost(string, tag="12")] MediaFile(::prost::alloc::string::String), - /// Raw image data as bytes. + /// Raw image data as bytes. #[prost(bytes, tag="13")] Data(::prost::alloc::vec::Vec), - /// An ad ID to copy the image from. + /// An ad ID to copy the image from. #[prost(int64, tag="14")] AdIdToCopyImageFrom(i64), } } -/// Representation of video bumper in-stream ad format (very short in-stream -/// non-skippable video ad). +/// Representation of video bumper in-stream ad format (very short in-stream +/// non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoBumperInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="3")] pub companion_banner: ::core::option::Option, } -/// Representation of video non-skippable in-stream ad format (15 second -/// in-stream non-skippable video ad). +/// Representation of video non-skippable in-stream ad format (15 second +/// in-stream non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoNonSkippableInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="5")] pub companion_banner: ::core::option::Option, - /// Label on the "Call To Action" button taking the user to the video ad's - /// final URL. + /// Label on the "Call To Action" button taking the user to the video ad's + /// final URL. #[prost(string, tag="3")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the "Call To Action" button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the "Call To Action" button to give + /// context and encourage clicking on the button. #[prost(string, tag="4")] pub action_headline: ::prost::alloc::string::String, } -/// Representation of video TrueView in-stream ad format (ad shown during video -/// playback, often at beginning, which displays a skip button a few seconds into -/// the video). +/// Representation of video TrueView in-stream ad format (ad shown during video +/// playback, often at beginning, which displays a skip button a few seconds into +/// the video). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoTrueViewInStreamAdInfo { - /// Label on the CTA (call-to-action) button taking the user to the video ad's - /// final URL. - /// Required for TrueView for action campaigns, optional otherwise. + /// Label on the CTA (call-to-action) button taking the user to the video ad's + /// final URL. + /// Required for TrueView for action campaigns, optional otherwise. #[prost(string, tag="4")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the CTA (call-to-action) button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the CTA (call-to-action) button to give + /// context and encourage clicking on the button. #[prost(string, tag="5")] pub action_headline: ::prost::alloc::string::String, - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="7")] pub companion_banner: ::core::option::Option, } -/// Representation of video out-stream ad format (ad shown alongside a feed -/// with automatic playback, without sound). +/// Representation of video out-stream ad format (ad shown alongside a feed +/// with automatic playback, without sound). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoOutstreamAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="3")] pub headline: ::prost::alloc::string::String, - /// The description line. + /// The description line. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, } -/// Representation of In-feed video ad format. +/// Representation of In-feed video ad format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InFeedVideoAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="1")] pub headline: ::prost::alloc::string::String, - /// First text line for the ad. + /// First text line for the ad. #[prost(string, tag="2")] pub description1: ::prost::alloc::string::String, - /// Second text line for the ad. + /// Second text line for the ad. #[prost(string, tag="3")] pub description2: ::prost::alloc::string::String, - /// Video thumbnail image to use. + /// Video thumbnail image to use. #[prost(enumeration="super::enums::video_thumbnail_enum::VideoThumbnail", tag="4")] pub thumbnail: i32, } -/// A video ad. +/// A video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoAdInfo { - /// The YouTube video assets used for the ad. + /// The YouTube video assets used for the ad. #[prost(message, optional, tag="8")] pub video: ::core::option::Option, - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[prost(oneof="video_ad_info::Format", tags="2, 3, 4, 5, 9")] pub format: ::core::option::Option, } /// Nested message and enum types in `VideoAdInfo`. pub mod video_ad_info { - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Format { - /// Video TrueView in-stream ad format. + /// Video TrueView in-stream ad format. #[prost(message, tag="2")] InStream(super::VideoTrueViewInStreamAdInfo), - /// Video bumper in-stream ad format. + /// Video bumper in-stream ad format. #[prost(message, tag="3")] Bumper(super::VideoBumperInStreamAdInfo), - /// Video out-stream ad format. + /// Video out-stream ad format. #[prost(message, tag="4")] OutStream(super::VideoOutstreamAdInfo), - /// Video non-skippable in-stream ad format. + /// Video non-skippable in-stream ad format. #[prost(message, tag="5")] NonSkippable(super::VideoNonSkippableInStreamAdInfo), - /// In-feed video ad format. + /// In-feed video ad format. #[prost(message, tag="9")] InFeed(super::InFeedVideoAdInfo), } } -/// A video responsive ad. +/// A video responsive ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoResponsiveAdInfo { - /// List of text assets used for the short headline, e.g. the "Call To Action" - /// banner. Currently, only a single value for the short headline is supported. + /// List of text assets used for the short headline, e.g. the "Call To Action" + /// banner. Currently, only a single value for the short headline is supported. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the long headline. - /// Currently, only a single value for the long headline is supported. + /// List of text assets used for the long headline. + /// Currently, only a single value for the long headline is supported. #[prost(message, repeated, tag="2")] pub long_headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the description. - /// Currently, only a single value for the description is supported. + /// List of text assets used for the description. + /// Currently, only a single value for the description is supported. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets used for the button, e.g. the "Call To Action" button. - /// Currently, only a single value for the button is supported. + /// List of text assets used for the button, e.g. the "Call To Action" button. + /// Currently, only a single value for the button is supported. #[prost(message, repeated, tag="4")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of YouTube video assets used for the ad. - /// Currently, only a single value for the YouTube video asset is supported. + /// List of YouTube video assets used for the ad. + /// Currently, only a single value for the YouTube video asset is supported. #[prost(message, repeated, tag="5")] pub videos: ::prost::alloc::vec::Vec, - /// List of image assets used for the companion banner. - /// Currently, only a single value for the companion banner asset is supported. + /// List of image assets used for the companion banner. + /// Currently, only a single value for the companion banner asset is supported. #[prost(message, repeated, tag="6")] pub companion_banners: ::prost::alloc::vec::Vec, - /// First part of text that appears in the ad with the displayed URL. + /// First part of text that appears in the ad with the displayed URL. #[prost(string, tag="7")] pub breadcrumb1: ::prost::alloc::string::String, - /// Second part of text that appears in the ad with the displayed URL. + /// Second part of text that appears in the ad with the displayed URL. #[prost(string, tag="8")] pub breadcrumb2: ::prost::alloc::string::String, } -/// A responsive search ad. +/// A responsive search ad. /// -/// Responsive search ads let you create an ad that adapts to show more text, and -/// more relevant messages, to your customers. Enter multiple headlines and -/// descriptions when creating a responsive search ad, and over time, Google Ads -/// will automatically test different combinations and learn which combinations -/// perform best. By adapting your ad's content to more closely match potential -/// customers' search terms, responsive search ads may improve your campaign's -/// performance. +/// Responsive search ads let you create an ad that adapts to show more text, and +/// more relevant messages, to your customers. Enter multiple headlines and +/// descriptions when creating a responsive search ad, and over time, Google Ads +/// will automatically test different combinations and learn which combinations +/// perform best. By adapting your ad's content to more closely match potential +/// customers' search terms, responsive search ads may improve your campaign's +/// performance. /// -/// More information at +/// More information at #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// First part of text that can be appended to the URL in the ad. + /// First part of text that can be appended to the URL in the ad. #[prost(string, optional, tag="5")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. #[prost(string, optional, tag="6")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -/// in the Google Ads UI. +/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' +/// in the Google Ads UI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyResponsiveDisplayAdInfo { - /// The short version of the ad's headline. + /// The short version of the ad's headline. #[prost(string, optional, tag="16")] pub short_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The long version of the ad's headline. + /// The long version of the ad's headline. #[prost(string, optional, tag="17")] pub long_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="18")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, optional, tag="19")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="21")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="22")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The call-to-action text for the ad. + /// The call-to-action text for the ad. #[prost(string, optional, tag="23")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image used in the ad. + /// The MediaFile resource name of the logo image used in the ad. #[prost(string, optional, tag="24")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square logo image used in the ad. + /// The MediaFile resource name of the square logo image used in the ad. #[prost(string, optional, tag="25")] pub square_logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image used in the ad. + /// The MediaFile resource name of the marketing image used in the ad. #[prost(string, optional, tag="26")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square marketing image used in the ad. + /// The MediaFile resource name of the square marketing image used in the ad. #[prost(string, optional, tag="27")] pub square_marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="13")] pub format_setting: i32, - /// Prefix before price. E.g. 'as low as'. + /// Prefix before price. E.g. 'as low as'. #[prost(string, optional, tag="28")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="29")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, } -/// An app ad. +/// An app ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppAdInfo { - /// Mandatory ad text. + /// Mandatory ad text. #[prost(message, optional, tag="1")] pub mandatory_ad_text: ::core::option::Option, - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="2")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. + /// List of YouTube video assets that may be displayed with the ad. #[prost(message, repeated, tag="5")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// List of media bundle assets that may be used with the ad. + /// List of media bundle assets that may be used with the ad. #[prost(message, repeated, tag="6")] pub html5_media_bundles: ::prost::alloc::vec::Vec, } -/// App engagement ads allow you to write text encouraging a specific action in -/// the app, like checking in, making a purchase, or booking a flight. -/// They allow you to send users to a specific part of your app where they can -/// find what they're looking for easier and faster. +/// App engagement ads allow you to write text encouraging a specific action in +/// the app, like checking in, making a purchase, or booking a flight. +/// They allow you to send users to a specific part of your app where they can +/// find what they're looking for easier and faster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppEngagementAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of video assets that may be displayed with the ad. + /// List of video assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub videos: ::prost::alloc::vec::Vec, } -/// App pre-registration ads link to your app or game listing on Google Play, and -/// can run on Google Play, on YouTube (in-stream only), and within other apps -/// and mobile websites on the Display Network. It will help capture people's -/// interest in your app or game and generate an early install base for your app -/// or game before a launch. +/// App pre-registration ads link to your app or game listing on Google Play, and +/// can run on Google Play, on YouTube (in-stream only), and within other apps +/// and mobile websites on the Display Network. It will help capture people's +/// interest in your app or game and generate an early install base for your app +/// or game before a launch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPreRegistrationAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image asset IDs whose images may be displayed with the ad. + /// List of image asset IDs whose images may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video asset IDs whose videos may be displayed with the ad. + /// List of YouTube video asset IDs whose videos may be displayed with the ad. #[prost(message, repeated, tag="4")] pub youtube_videos: ::prost::alloc::vec::Vec, } -/// A legacy app install ad that only can be used by a few select customers. +/// A legacy app install ad that only can be used by a few select customers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdInfo { - /// The ID of the mobile app. + /// The ID of the mobile app. #[prost(string, optional, tag="6")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The app store the mobile app is available in. + /// The app store the mobile app is available in. #[prost(enumeration="super::enums::legacy_app_install_ad_app_store_enum::LegacyAppInstallAdAppStore", tag="2")] pub app_store: i32, - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="7")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first description line of the ad. + /// The first description line of the ad. #[prost(string, optional, tag="8")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second description line of the ad. + /// The second description line of the ad. #[prost(string, optional, tag="9")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A responsive display ad. +/// A responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdInfo { - /// Marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - /// with `square_marketing_images`, the maximum is 15. + /// Marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must + /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined + /// with `square_marketing_images`, the maximum is 15. #[prost(message, repeated, tag="1")] pub marketing_images: ::prost::alloc::vec::Vec, - /// Square marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - /// with `marketing_images`, the maximum is 15. + /// Square marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must + /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined + /// with `marketing_images`, the maximum is 15. #[prost(message, repeated, tag="2")] pub square_marketing_images: ::prost::alloc::vec::Vec, - /// Logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must + /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="3")] pub logo_images: ::prost::alloc::vec::Vec, - /// Square logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Square logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must + /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="4")] pub square_logo_images: ::prost::alloc::vec::Vec, - /// Short format headlines for the ad. The maximum length is 30 characters. - /// At least 1 and max 5 headlines can be specified. + /// Short format headlines for the ad. The maximum length is 30 characters. + /// At least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="5")] pub headlines: ::prost::alloc::vec::Vec, - /// A required long format headline. The maximum length is 90 characters. + /// A required long format headline. The maximum length is 90 characters. #[prost(message, optional, tag="6")] pub long_headline: ::core::option::Option, - /// Descriptive texts for the ad. The maximum length is 90 characters. At - /// least 1 and max 5 headlines can be specified. + /// Descriptive texts for the ad. The maximum length is 90 characters. At + /// least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="7")] pub descriptions: ::prost::alloc::vec::Vec, - /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. #[prost(message, repeated, tag="8")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// The advertiser/brand name. Maximum display width is 25. + /// The advertiser/brand name. Maximum display width is 25. #[prost(string, optional, tag="17")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="18")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="19")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The call-to-action text for the ad. Maximum display width is 30. + /// The call-to-action text for the ad. Maximum display width is 30. #[prost(string, optional, tag="21")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// Prefix before price. E.g. 'as low as'. + /// Prefix before price. E.g. 'as low as'. #[prost(string, optional, tag="22")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="23")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="16")] pub format_setting: i32, - /// Specification for various creative controls. + /// Specification for various creative controls. #[prost(message, optional, tag="24")] pub control_spec: ::core::option::Option, } -/// A local ad. +/// A local ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. At least 1 and at most 5 headlines must be - /// specified. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. At least 1 and at most 5 headlines must be + /// specified. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. At least 1 and at most 5 descriptions must - /// be specified. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. At least 1 and at most 5 descriptions must + /// be specified. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets for call-to-actions. When the ad serves the - /// call-to-actions will be selected from this list. Call-to-actions are - /// optional and at most 5 can be specified. + /// List of text assets for call-to-actions. When the ad serves the + /// call-to-actions will be selected from this list. Call-to-actions are + /// optional and at most 5 can be specified. #[prost(message, repeated, tag="3")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of marketing image assets that may be displayed with the ad. The - /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - /// 20 image assets must be specified. + /// List of marketing image assets that may be displayed with the ad. The + /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most + /// 20 image assets must be specified. #[prost(message, repeated, tag="4")] pub marketing_images: ::prost::alloc::vec::Vec, - /// List of logo image assets that may be displayed with the ad. The images - /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - /// image assets must be specified. + /// List of logo image assets that may be displayed with the ad. The images + /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 + /// image assets must be specified. #[prost(message, repeated, tag="5")] pub logo_images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. Videos - /// are optional and at most 20 can be specified. + /// List of YouTube video assets that may be displayed with the ad. Videos + /// are optional and at most 20 can be specified. #[prost(message, repeated, tag="6")] pub videos: ::prost::alloc::vec::Vec, - /// First part of optional text that can be appended to the URL in the ad. + /// First part of optional text that can be appended to the URL in the ad. #[prost(string, optional, tag="9")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of optional text that can be appended to the URL in the ad. - /// This field can only be set when `path1` is also set. + /// Second part of optional text that can be appended to the URL in the ad. + /// This field can only be set when `path1` is also set. #[prost(string, optional, tag="10")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A generic type of display ad. The exact ad format is controlled by the -/// `display_upload_product_type` field, which determines what kinds of data -/// need to be included with the ad. +/// A generic type of display ad. The exact ad format is controlled by the +/// `display_upload_product_type` field, which determines what kinds of data +/// need to be included with the ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadAdInfo { - /// The product type of this ad. See comments on the enum for details. + /// The product type of this ad. See comments on the enum for details. #[prost(enumeration="super::enums::display_upload_product_type_enum::DisplayUploadProductType", tag="1")] pub display_upload_product_type: i32, - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[prost(oneof="display_upload_ad_info::MediaAsset", tags="2")] pub media_asset: ::core::option::Option, } /// Nested message and enum types in `DisplayUploadAdInfo`. pub mod display_upload_ad_info { - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MediaAsset { - /// A media bundle asset to be used in the ad. For information about the - /// media bundle for HTML5_UPLOAD_AD, see - /// - /// Media bundles that are part of dynamic product types use a special format - /// that needs to be created through the Google Web Designer. See - /// for more - /// information. + /// A media bundle asset to be used in the ad. For information about the + /// media bundle for HTML5_UPLOAD_AD, see + /// + /// Media bundles that are part of dynamic product types use a special format + /// that needs to be created through the Google Web Designer. See + /// for more + /// information. #[prost(message, tag="2")] MediaBundle(super::AdMediaBundleAsset), } } -/// Specification for various creative controls for a responsive display ad. +/// Specification for various creative controls for a responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdControlSpec { - /// Whether the advertiser has opted into the asset enhancements feature. + /// Whether the advertiser has opted into the asset enhancements feature. #[prost(bool, tag="1")] pub enable_asset_enhancements: bool, - /// Whether the advertiser has opted into auto-gen video feature. + /// Whether the advertiser has opted into auto-gen video feature. #[prost(bool, tag="2")] pub enable_autogen_video: bool, } -/// A Smart campaign ad. +/// A Smart campaign ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. 3 headlines must be specified. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. 3 headlines must be specified. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. 2 descriptions must be specified. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. 2 descriptions must be specified. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, } -/// A call ad. +/// A call ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAdInfo { - /// The country code in the ad. + /// The country code in the ad. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// The phone number in the ad. + /// The phone number in the ad. #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, tag="3")] pub business_name: ::prost::alloc::string::String, - /// First headline in the ad. + /// First headline in the ad. #[prost(string, tag="11")] pub headline1: ::prost::alloc::string::String, - /// Second headline in the ad. + /// Second headline in the ad. #[prost(string, tag="12")] pub headline2: ::prost::alloc::string::String, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, tag="4")] pub description1: ::prost::alloc::string::String, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, tag="5")] pub description2: ::prost::alloc::string::String, - /// Whether to enable call tracking for the creative. Enabling call - /// tracking also enables call conversions. + /// Whether to enable call tracking for the creative. Enabling call + /// tracking also enables call conversions. #[prost(bool, tag="6")] pub call_tracked: bool, - /// Whether to disable call conversion for the creative. - /// If set to `true`, disables call conversions even when `call_tracked` is - /// `true`. - /// If `call_tracked` is `false`, this field is ignored. + /// Whether to disable call conversion for the creative. + /// If set to `true`, disables call conversions even when `call_tracked` is + /// `true`. + /// If `call_tracked` is `false`, this field is ignored. #[prost(bool, tag="7")] pub disable_call_conversion: bool, - /// The URL to be used for phone number verification. + /// The URL to be used for phone number verification. #[prost(string, tag="8")] pub phone_number_verification_url: ::prost::alloc::string::String, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// `call_tracked` is set to `true`. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// `call_tracked` is set to `true`. Otherwise this field is ignored. #[prost(string, tag="9")] pub conversion_action: ::prost::alloc::string::String, - /// The call conversion behavior of this call ad. It can use its own call - /// conversion setting, inherit the account level setting, or be disabled. + /// The call conversion behavior of this call ad. It can use its own call + /// conversion setting, inherit the account level setting, or be disabled. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="10")] pub conversion_reporting_state: i32, - /// First part of text that can be appended to the URL in the ad. Optional. + /// First part of text that can be appended to the URL in the ad. Optional. #[prost(string, tag="13")] pub path1: ::prost::alloc::string::String, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. Optional. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. Optional. #[prost(string, tag="14")] pub path2: ::prost::alloc::string::String, } -/// A discovery multi asset ad. +/// A discovery multi asset ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryMultiAssetAdInfo { - /// Marketing image assets to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - /// be 1.91:1 (+-1%). Required if square_marketing_images is - /// not present. Combined with `square_marketing_images` and - /// `portrait_marketing_images` the maximum is 20. + /// Marketing image assets to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must + /// be 1.91:1 (+-1%). Required if square_marketing_images is + /// not present. Combined with `square_marketing_images` and + /// `portrait_marketing_images` the maximum is 20. #[prost(message, repeated, tag="1")] pub marketing_images: ::prost::alloc::vec::Vec, - /// Square marketing image assets to be used in the ad. Valid image types are - /// GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - /// be 1:1 (+-1%). Required if marketing_images is not present. Combined with - /// `marketing_images` and `portrait_marketing_images` the maximum is 20. + /// Square marketing image assets to be used in the ad. Valid image types are + /// GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must + /// be 1:1 (+-1%). Required if marketing_images is not present. Combined with + /// `marketing_images` and `portrait_marketing_images` the maximum is 20. #[prost(message, repeated, tag="2")] pub square_marketing_images: ::prost::alloc::vec::Vec, - /// Portrait marketing image assets to be used in the ad. Valid image types are - /// GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - /// be 4:5 (+-1%). Combined with `marketing_images` and - /// `square_marketing_images` the maximum is 20. + /// Portrait marketing image assets to be used in the ad. Valid image types are + /// GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must + /// be 4:5 (+-1%). Combined with `marketing_images` and + /// `square_marketing_images` the maximum is 20. #[prost(message, repeated, tag="3")] pub portrait_marketing_images: ::prost::alloc::vec::Vec, - /// Logo image assets to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - /// 1:1(+-1%). At least 1 and max 5 logo images can be specified. + /// Logo image assets to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be + /// 1:1(+-1%). At least 1 and max 5 logo images can be specified. #[prost(message, repeated, tag="4")] pub logo_images: ::prost::alloc::vec::Vec, - /// Headline text asset of the ad. Maximum display width is 30. At least 1 and - /// max 5 headlines can be specified. + /// Headline text asset of the ad. Maximum display width is 30. At least 1 and + /// max 5 headlines can be specified. #[prost(message, repeated, tag="5")] pub headlines: ::prost::alloc::vec::Vec, - /// The descriptive text of the ad. Maximum display width is 90. At least 1 and - /// max 5 descriptions can be specified. + /// The descriptive text of the ad. Maximum display width is 90. At least 1 and + /// max 5 descriptions can be specified. #[prost(message, repeated, tag="6")] pub descriptions: ::prost::alloc::vec::Vec, - /// The Advertiser/brand name. Maximum display width is 25. Required. + /// The Advertiser/brand name. Maximum display width is 25. Required. #[prost(string, optional, tag="7")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Call to action text. + /// Call to action text. #[prost(string, optional, tag="8")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// Boolean flag that indicates if this ad must be served with lead form. + /// Boolean flag that indicates if this ad must be served with lead form. #[prost(bool, optional, tag="9")] pub lead_form_only: ::core::option::Option, } -/// A discovery carousel ad. +/// A discovery carousel ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryCarouselAdInfo { - /// Required. The Advertiser/brand name. + /// Required. The Advertiser/brand name. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, - /// Required. Logo image to be used in the ad. The minimum size is 128x128 and the - /// aspect ratio must be 1:1(+-1%). + /// Required. Logo image to be used in the ad. The minimum size is 128x128 and the + /// aspect ratio must be 1:1(+-1%). #[prost(message, optional, tag="2")] pub logo_image: ::core::option::Option, - /// Required. Headline of the ad. + /// Required. Headline of the ad. #[prost(message, optional, tag="3")] pub headline: ::core::option::Option, - /// Required. The descriptive text of the ad. + /// Required. The descriptive text of the ad. #[prost(message, optional, tag="4")] pub description: ::core::option::Option, - /// Call to action text. + /// Call to action text. #[prost(string, tag="5")] pub call_to_action_text: ::prost::alloc::string::String, - /// Required. Carousel cards that will display with the ad. Min 2 max 10. + /// Required. Carousel cards that will display with the ad. Min 2 max 10. #[prost(message, repeated, tag="6")] pub carousel_cards: ::prost::alloc::vec::Vec, } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// A keyword criterion. +/// A keyword criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordInfo { - /// The text of the keyword (at most 80 characters and 10 words). + /// The text of the keyword (at most 80 characters and 10 words). #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. + /// The match type of the keyword. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, } -/// A placement criterion. This can be used to modify bids for sites when -/// targeting the content network. +/// A placement criterion. This can be used to modify bids for sites when +/// targeting the content network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementInfo { - /// URL of the placement. + /// URL of the placement. /// - /// For example, " + /// For example, " #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile app category criterion. +/// A mobile app category criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryInfo { - /// The mobile app category constant resource name. + /// The mobile app category constant resource name. #[prost(string, optional, tag="2")] pub mobile_app_category_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile application criterion. +/// A mobile application criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileApplicationInfo { - /// A string that uniquely identifies a mobile application to Google Ads API. - /// The format of this string is "{platform}-{platform_native_id}", where - /// platform is "1" for iOS apps and "2" for Android apps, and where - /// platform_native_id is the mobile application identifier native to the - /// corresponding platform. - /// For iOS, this native identifier is the 9 digit string that appears at the - /// end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App - /// Store link is "). - /// For Android, this native identifier is the application's package name - /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// "). - /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS - /// and "2-com.labpixies.colordrips" for Android. - /// This field is required and must be set in CREATE operations. + /// A string that uniquely identifies a mobile application to Google Ads API. + /// The format of this string is "{platform}-{platform_native_id}", where + /// platform is "1" for iOS apps and "2" for Android apps, and where + /// platform_native_id is the mobile application identifier native to the + /// corresponding platform. + /// For iOS, this native identifier is the 9 digit string that appears at the + /// end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App + /// Store link is "). + /// For Android, this native identifier is the application's package name + /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// "). + /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS + /// and "2-com.labpixies.colordrips" for Android. + /// This field is required and must be set in CREATE operations. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this mobile application. + /// Name of this mobile application. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A location criterion. +/// A location criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationInfo { - /// The geo target constant resource name. + /// The geo target constant resource name. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A device criterion. +/// A device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceInfo { - /// Type of the device. + /// Type of the device. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub r#type: i32, } -/// A preferred content criterion. +/// A preferred content criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentInfo { - /// Type of the preferred content. + /// Type of the preferred content. #[prost(enumeration="super::enums::preferred_content_type_enum::PreferredContentType", tag="2")] pub r#type: i32, } -/// A listing group criterion. +/// A listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupInfo { - /// Type of the listing group. + /// Type of the listing group. #[prost(enumeration="super::enums::listing_group_type_enum::ListingGroupType", tag="1")] pub r#type: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="2")] pub case_value: ::core::option::Option, - /// Resource name of ad group criterion which is the parent listing group - /// subdivision. Null for the root group. + /// Resource name of ad group criterion which is the parent listing group + /// subdivision. Null for the root group. #[prost(string, optional, tag="4")] pub parent_ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// A listing scope criterion. +/// A listing scope criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingScopeInfo { - /// Scope of the campaign criterion. + /// Scope of the campaign criterion. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, } -/// Listing dimensions for listing group criterion. +/// Listing dimensions for listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingDimensionInfo { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_dimension_info::Dimension", tags="2, 3, 4, 5, 6, 13, 15, 8, 9, 10, 16, 11, 12, 17, 18, 19, 20, 14")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingDimensionInfo`. pub mod listing_dimension_info { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Advertiser-specific hotel ID. + /// Advertiser-specific hotel ID. #[prost(message, tag="2")] HotelId(super::HotelIdInfo), - /// Class of the hotel as a number of stars 1 to 5. + /// Class of the hotel as a number of stars 1 to 5. #[prost(message, tag="3")] HotelClass(super::HotelClassInfo), - /// Country or Region the hotel is located in. + /// Country or Region the hotel is located in. #[prost(message, tag="4")] HotelCountryRegion(super::HotelCountryRegionInfo), - /// State the hotel is located in. + /// State the hotel is located in. #[prost(message, tag="5")] HotelState(super::HotelStateInfo), - /// City the hotel is located in. + /// City the hotel is located in. #[prost(message, tag="6")] HotelCity(super::HotelCityInfo), - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="13")] ProductBiddingCategory(super::ProductBiddingCategoryInfo), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="15")] ProductBrand(super::ProductBrandInfo), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="8")] ProductChannel(super::ProductChannelInfo), - /// Availability of a product offer. + /// Availability of a product offer. #[prost(message, tag="9")] ProductChannelExclusivity(super::ProductChannelExclusivityInfo), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="10")] ProductCondition(super::ProductConditionInfo), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="16")] ProductCustomAttribute(super::ProductCustomAttributeInfo), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="11")] ProductItemId(super::ProductItemIdInfo), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="12")] ProductType(super::ProductTypeInfo), - /// Grouping of a product offer. + /// Grouping of a product offer. #[prost(message, tag="17")] ProductGrouping(super::ProductGroupingInfo), - /// Labels of a product offer. + /// Labels of a product offer. #[prost(message, tag="18")] ProductLabels(super::ProductLabelsInfo), - /// Legacy condition of a product offer. + /// Legacy condition of a product offer. #[prost(message, tag="19")] ProductLegacyCondition(super::ProductLegacyConditionInfo), - /// Full type of a product offer. + /// Full type of a product offer. #[prost(message, tag="20")] ProductTypeFull(super::ProductTypeFullInfo), - /// Unknown dimension. Set when no other listing dimension is set. + /// Unknown dimension. Set when no other listing dimension is set. #[prost(message, tag="14")] UnknownListingDimension(super::UnknownListingDimensionInfo), } } -/// Advertiser-specific hotel ID. +/// Advertiser-specific hotel ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelIdInfo { - /// String value of the hotel ID. + /// String value of the hotel ID. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Class of the hotel as a number of stars 1 to 5. +/// Class of the hotel as a number of stars 1 to 5. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelClassInfo { - /// Long value of the hotel class. + /// Long value of the hotel class. #[prost(int64, optional, tag="2")] pub value: ::core::option::Option, } -/// Country or Region the hotel is located in. +/// Country or Region the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCountryRegionInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub country_region_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// State the hotel is located in. +/// State the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelStateInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub state_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// City the hotel is located in. +/// City the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCityInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub city_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// Bidding category of a product offer. +/// Bidding category of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryInfo { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="4")] pub id: ::core::option::Option, - /// Two-letter upper-case country code of the product bidding category. It must - /// match the campaign.shopping_setting.sales_country field. + /// Two-letter upper-case country code of the product bidding category. It must + /// match the campaign.shopping_setting.sales_country field. #[prost(string, optional, tag="5")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the product bidding category. + /// Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="3")] pub level: i32, } -/// Brand of the product. +/// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrandInfo { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelInfo { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="1")] pub channel: i32, } -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityInfo { - /// Value of the availability. + /// Value of the availability. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="1")] pub channel_exclusivity: i32, } -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionInfo { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="1")] pub condition: i32, } -/// Custom attribute of a product offer. +/// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeInfo { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::enums::product_custom_attribute_index_enum::ProductCustomAttributeIndex", tag="2")] pub index: i32, } -/// Item id of a product offer. +/// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemIdInfo { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Type of a product offer. +/// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeInfo { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::enums::product_type_level_enum::ProductTypeLevel", tag="2")] pub level: i32, } -/// Grouping of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Grouping of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductGroupingInfo { - /// String value of the product grouping. + /// String value of the product grouping. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Labels of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Labels of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductLabelsInfo { - /// String value of the product labels. + /// String value of the product labels. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Legacy condition of a product offer. This listing dimension is deprecated and -/// it is supported only in Display campaigns. +/// Legacy condition of a product offer. This listing dimension is deprecated and +/// it is supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductLegacyConditionInfo { - /// String value of the product legacy condition. + /// String value of the product legacy condition. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Full type of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Full type of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeFullInfo { - /// String value of the product full type. + /// String value of the product full type. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Unknown listing dimension. +/// Unknown listing dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnknownListingDimensionInfo { } -/// Criterion for hotel date selection (default dates vs. user selected). +/// Criterion for hotel date selection (default dates vs. user selected). #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeInfo { - /// Type of the hotel date selection + /// Type of the hotel date selection #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="1")] pub r#type: i32, } -/// Criterion for number of days prior to the stay the booking is being made. +/// Criterion for number of days prior to the stay the booking is being made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdvanceBookingWindowInfo { - /// Low end of the number of days prior to the stay. + /// Low end of the number of days prior to the stay. #[prost(int64, optional, tag="3")] pub min_days: ::core::option::Option, - /// High end of the number of days prior to the stay. + /// High end of the number of days prior to the stay. #[prost(int64, optional, tag="4")] pub max_days: ::core::option::Option, } -/// Criterion for length of hotel stay in nights. +/// Criterion for length of hotel stay in nights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelLengthOfStayInfo { - /// Low end of the number of nights in the stay. + /// Low end of the number of nights in the stay. #[prost(int64, optional, tag="3")] pub min_nights: ::core::option::Option, - /// High end of the number of nights in the stay. + /// High end of the number of nights in the stay. #[prost(int64, optional, tag="4")] pub max_nights: ::core::option::Option, } -/// Criterion for a check-in date range. +/// Criterion for a check-in date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDateRangeInfo { - /// Start date in the YYYY-MM-DD format. + /// Start date in the YYYY-MM-DD format. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// End date in the YYYY-MM-DD format. + /// End date in the YYYY-MM-DD format. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, } -/// Criterion for day of the week the booking is for. +/// Criterion for day of the week the booking is for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDayInfo { - /// The day of the week. + /// The day of the week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="1")] pub day_of_week: i32, } -/// Criterion for Interaction Type. +/// Criterion for Interaction Type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeInfo { - /// The interaction type. + /// The interaction type. #[prost(enumeration="super::enums::interaction_type_enum::InteractionType", tag="1")] pub r#type: i32, } -/// Represents an AdSchedule criterion. +/// Represents an AdSchedule criterion. /// -/// AdSchedule is specified as the day of the week and a time interval -/// within which ads will be shown. +/// AdSchedule is specified as the day of the week and a time interval +/// within which ads will be shown. /// -/// No more than six AdSchedules can be added for the same day. +/// No more than six AdSchedules can be added for the same day. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleInfo { - /// Minutes after the start hour at which this schedule starts. + /// Minutes after the start hour at which this schedule starts. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="1")] pub start_minute: i32, - /// Minutes after the end hour at which this schedule ends. The schedule is - /// exclusive of the end minute. + /// Minutes after the end hour at which this schedule ends. The schedule is + /// exclusive of the end minute. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="2")] pub end_minute: i32, - /// Starting hour in 24 hour time. - /// This field must be between 0 and 23, inclusive. + /// Starting hour in 24 hour time. + /// This field must be between 0 and 23, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="6")] pub start_hour: ::core::option::Option, - /// Ending hour in 24 hour time; 24 signifies end of the day. - /// This field must be between 0 and 24, inclusive. + /// Ending hour in 24 hour time; 24 signifies end of the day. + /// This field must be between 0 and 24, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="7")] pub end_hour: ::core::option::Option, - /// Day of the week the schedule applies to. + /// Day of the week the schedule applies to. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, } -/// An age range criterion. +/// An age range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeInfo { - /// Type of the age range. + /// Type of the age range. #[prost(enumeration="super::enums::age_range_type_enum::AgeRangeType", tag="1")] pub r#type: i32, } -/// A gender criterion. +/// A gender criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderInfo { - /// Type of the gender. + /// Type of the gender. #[prost(enumeration="super::enums::gender_type_enum::GenderType", tag="1")] pub r#type: i32, } -/// An income range criterion. +/// An income range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeInfo { - /// Type of the income range. + /// Type of the income range. #[prost(enumeration="super::enums::income_range_type_enum::IncomeRangeType", tag="1")] pub r#type: i32, } -/// A parental status criterion. +/// A parental status criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusInfo { - /// Type of the parental status. + /// Type of the parental status. #[prost(enumeration="super::enums::parental_status_type_enum::ParentalStatusType", tag="1")] pub r#type: i32, } -/// A YouTube Video criterion. +/// A YouTube Video criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeVideoInfo { - /// YouTube video id as it appears on the YouTube watch page. + /// YouTube video id as it appears on the YouTube watch page. #[prost(string, optional, tag="2")] pub video_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A YouTube Channel criterion. +/// A YouTube Channel criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeChannelInfo { - /// The YouTube uploader channel id or the channel code of a YouTube channel. + /// The YouTube uploader channel id or the channel code of a YouTube channel. #[prost(string, optional, tag="2")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A User List criterion. Represents a user list that is defined by the -/// advertiser to be targeted. +/// A User List criterion. Represents a user list that is defined by the +/// advertiser to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListInfo { - /// The User List resource name. + /// The User List resource name. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// A Proximity criterion. The geo point and radius determine what geographical -/// area is included. The address is a description of the geo point that does -/// not affect ad serving. +/// A Proximity criterion. The geo point and radius determine what geographical +/// area is included. The address is a description of the geo point that does +/// not affect ad serving. /// -/// There are two ways to create a proximity. First, by setting an address -/// and radius. The geo point will be automatically computed. Second, by -/// setting a geo point and radius. The address is an optional label that won't -/// be validated. +/// There are two ways to create a proximity. First, by setting an address +/// and radius. The geo point will be automatically computed. Second, by +/// setting a geo point and radius. The address is an optional label that won't +/// be validated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityInfo { - /// Latitude and longitude. + /// Latitude and longitude. #[prost(message, optional, tag="1")] pub geo_point: ::core::option::Option, - /// The radius of the proximity. + /// The radius of the proximity. #[prost(double, optional, tag="5")] pub radius: ::core::option::Option, - /// The unit of measurement of the radius. Default is KILOMETERS. + /// The unit of measurement of the radius. Default is KILOMETERS. #[prost(enumeration="super::enums::proximity_radius_units_enum::ProximityRadiusUnits", tag="3")] pub radius_units: i32, - /// Full address. + /// Full address. #[prost(message, optional, tag="4")] pub address: ::core::option::Option, } -/// Geo point for proximity criterion. +/// Geo point for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoPointInfo { - /// Micro degrees for the longitude. + /// Micro degrees for the longitude. #[prost(int32, optional, tag="3")] pub longitude_in_micro_degrees: ::core::option::Option, - /// Micro degrees for the latitude. + /// Micro degrees for the latitude. #[prost(int32, optional, tag="4")] pub latitude_in_micro_degrees: ::core::option::Option, } -/// Address for proximity criterion. +/// Address for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressInfo { - /// Postal code. + /// Postal code. #[prost(string, optional, tag="8")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state code. + /// Province or state code. #[prost(string, optional, tag="9")] pub province_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code. + /// Country code. #[prost(string, optional, tag="10")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state name. + /// Province or state name. #[prost(string, optional, tag="11")] pub province_name: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 1. + /// Street address line 1. #[prost(string, optional, tag="12")] pub street_address: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 2. This field is write-only. It is only used for - /// calculating the longitude and latitude of an address when geo_point is - /// empty. + /// Street address line 2. This field is write-only. It is only used for + /// calculating the longitude and latitude of an address when geo_point is + /// empty. #[prost(string, optional, tag="13")] pub street_address2: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the city. + /// Name of the city. #[prost(string, optional, tag="14")] pub city_name: ::core::option::Option<::prost::alloc::string::String>, } -/// A topic criterion. Use topics to target or exclude placements in the -/// Google Display Network based on the category into which the placement falls -/// (for example, "Pets & Animals/Pets/Dogs"). +/// A topic criterion. Use topics to target or exclude placements in the +/// Google Display Network based on the category into which the placement falls +/// (for example, "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicInfo { - /// The Topic Constant resource name. + /// The Topic Constant resource name. #[prost(string, optional, tag="3")] pub topic_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - /// category. + /// The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" + /// category. #[prost(string, repeated, tag="4")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A language criterion. +/// A language criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageInfo { - /// The language constant resource name. + /// The language constant resource name. #[prost(string, optional, tag="2")] pub language_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An IpBlock criterion used for IP exclusions. We allow: +/// An IpBlock criterion used for IP exclusions. We allow: /// - IPv4 and IPv6 addresses /// - individual addresses (192.168.0.1) /// - masks for individual addresses (192.168.0.1/32) /// - masks for Class C networks (192.168.0.1/24) #[derive(Clone, PartialEq, ::prost::Message)] pub struct IpBlockInfo { - /// The IP address of this IP block. + /// The IP address of this IP block. #[prost(string, optional, tag="2")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, } -/// Content Label for category exclusion. +/// Content Label for category exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelInfo { - /// Content label type, required for CREATE operations. + /// Content label type, required for CREATE operations. #[prost(enumeration="super::enums::content_label_type_enum::ContentLabelType", tag="1")] pub r#type: i32, } -/// Represents a Carrier Criterion. +/// Represents a Carrier Criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierInfo { - /// The Carrier constant resource name. + /// The Carrier constant resource name. #[prost(string, optional, tag="2")] pub carrier_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a particular interest-based topic to be targeted. +/// Represents a particular interest-based topic to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestInfo { - /// The UserInterest resource name. + /// The UserInterest resource name. #[prost(string, optional, tag="2")] pub user_interest_category: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a criterion for targeting webpages of an advertiser's website. +/// Represents a criterion for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageInfo { - /// The name of the criterion that is defined by this parameter. The name value - /// will be used for identifying, sorting and filtering criteria with this type - /// of parameters. + /// The name of the criterion that is defined by this parameter. The name value + /// will be used for identifying, sorting and filtering criteria with this type + /// of parameters. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(string, optional, tag="3")] pub criterion_name: ::core::option::Option<::prost::alloc::string::String>, - /// Conditions, or logical expressions, for webpage targeting. The list of - /// webpage targeting conditions are and-ed together when evaluated - /// for targeting. + /// Conditions, or logical expressions, for webpage targeting. The list of + /// webpage targeting conditions are and-ed together when evaluated + /// for targeting. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(message, repeated, tag="2")] pub conditions: ::prost::alloc::vec::Vec, - /// Website criteria coverage percentage. This is the computed percentage - /// of website coverage based on the website target, negative website target - /// and negative keywords in the ad group and campaign. For instance, when - /// coverage returns as 1, it indicates it has 100% coverage. This field is - /// read-only. + /// Website criteria coverage percentage. This is the computed percentage + /// of website coverage based on the website target, negative website target + /// and negative keywords in the ad group and campaign. For instance, when + /// coverage returns as 1, it indicates it has 100% coverage. This field is + /// read-only. #[prost(double, tag="4")] pub coverage_percentage: f64, - /// List of sample urls that match the website target. This field is read-only. + /// List of sample urls that match the website target. This field is read-only. #[prost(message, optional, tag="5")] pub sample: ::core::option::Option, } -/// Logical expression for targeting webpages of an advertiser's website. +/// Logical expression for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionInfo { - /// Operand of webpage targeting condition. + /// Operand of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operand_enum::WebpageConditionOperand", tag="1")] pub operand: i32, - /// Operator of webpage targeting condition. + /// Operator of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operator_enum::WebpageConditionOperator", tag="2")] pub operator: i32, - /// Argument of webpage targeting condition. + /// Argument of webpage targeting condition. #[prost(string, optional, tag="4")] pub argument: ::core::option::Option<::prost::alloc::string::String>, } -/// List of sample urls that match the website target +/// List of sample urls that match the website target #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageSampleInfo { - /// Webpage sample urls + /// Webpage sample urls #[prost(string, repeated, tag="1")] pub sample_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents an operating system version to be targeted. +/// Represents an operating system version to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionInfo { - /// The operating system version constant resource name. + /// The operating system version constant resource name. #[prost(string, optional, tag="2")] pub operating_system_version_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An app payment model criterion. +/// An app payment model criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelInfo { - /// Type of the app payment model. + /// Type of the app payment model. #[prost(enumeration="super::enums::app_payment_model_type_enum::AppPaymentModelType", tag="1")] pub r#type: i32, } -/// A mobile device criterion. +/// A mobile device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceInfo { - /// The mobile device constant resource name. + /// The mobile device constant resource name. #[prost(string, optional, tag="2")] pub mobile_device_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom affinity criterion. -/// A criterion of this type is only targetable. +/// A custom affinity criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAffinityInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_affinity: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom intent criterion. -/// A criterion of this type is only targetable. +/// A custom intent criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomIntentInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_intent: ::core::option::Option<::prost::alloc::string::String>, } -/// A radius around a list of locations specified via a feed. +/// A radius around a list of locations specified via a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupInfo { - /// Feed specifying locations for targeting. - /// This is required and must be set in CREATE operations. + /// Feed specifying locations for targeting. + /// This is required and must be set in CREATE operations. #[prost(string, optional, tag="5")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Geo target constant(s) restricting the scope of the geographic area within - /// the feed. Currently only one geo target constant is allowed. + /// Geo target constant(s) restricting the scope of the geographic area within + /// the feed. Currently only one geo target constant is allowed. #[prost(string, repeated, tag="6")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Distance in units specifying the radius around targeted locations. - /// This is required and must be set in CREATE operations. + /// Distance in units specifying the radius around targeted locations. + /// This is required and must be set in CREATE operations. #[prost(int64, optional, tag="7")] pub radius: ::core::option::Option, - /// Unit of the radius. Miles and meters are supported for geo target - /// constants. Milli miles and meters are supported for feed item sets. - /// This is required and must be set in CREATE operations. + /// Unit of the radius. Miles and meters are supported for geo target + /// constants. Milli miles and meters are supported for feed item sets. + /// This is required and must be set in CREATE operations. #[prost(enumeration="super::enums::location_group_radius_units_enum::LocationGroupRadiusUnits", tag="4")] pub radius_units: i32, - /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - /// then all items that appear in at least one set are targeted. This field - /// cannot be used with geo_target_constants. This is optional and can only be - /// set in CREATE operations. + /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, + /// then all items that appear in at least one set are targeted. This field + /// cannot be used with geo_target_constants. This is optional and can only be + /// set in CREATE operations. #[prost(string, repeated, tag="8")] pub feed_item_sets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A custom audience criterion. +/// A custom audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceInfo { - /// The CustomAudience resource name. + /// The CustomAudience resource name. #[prost(string, tag="1")] pub custom_audience: ::prost::alloc::string::String, } -/// A combined audience criterion. +/// A combined audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceInfo { - /// The CombinedAudience resource name. + /// The CombinedAudience resource name. #[prost(string, tag="1")] pub combined_audience: ::prost::alloc::string::String, } -/// An audience criterion. +/// An audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInfo { - /// The Audience resource name. + /// The Audience resource name. #[prost(string, tag="1")] pub audience: ::prost::alloc::string::String, } -/// A Smart Campaign keyword theme. +/// A Smart Campaign keyword theme. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeInfo { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[prost(oneof="keyword_theme_info::KeywordTheme", tags="1, 2")] pub keyword_theme: ::core::option::Option, } /// Nested message and enum types in `KeywordThemeInfo`. pub mod keyword_theme_info { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum KeywordTheme { - /// The resource name of a Smart Campaign keyword theme constant. - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// The resource name of a Smart Campaign keyword theme constant. + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] KeywordThemeConstant(::prost::alloc::string::String), - /// Free-form text to be matched to a Smart Campaign keyword theme constant - /// on a best-effort basis. + /// Free-form text to be matched to a Smart Campaign keyword theme constant + /// on a best-effort basis. #[prost(string, tag="2")] FreeFormKeywordTheme(::prost::alloc::string::String), } } -// Proto file describing common feed proto messages. +// Proto file describing common feed proto messages. -/// Represents a price in a particular currency. +/// Represents a price in a particular currency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Money { - /// Three-character ISO 4217 currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="3")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Amount in micros. One million is equivalent to one unit. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub amount_micros: ::core::option::Option, } -// Proto file containing info messages for specific asset types. +// Proto file containing info messages for specific asset types. -/// A YouTube asset. +/// A YouTube asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoAsset { - /// YouTube video id. This is the 11 character string value used in the - /// YouTube video URL. + /// YouTube video id. This is the 11 character string value used in the + /// YouTube video URL. #[prost(string, optional, tag="2")] pub youtube_video_id: ::core::option::Option<::prost::alloc::string::String>, - /// YouTube video title. + /// YouTube video title. #[prost(string, tag="3")] pub youtube_video_title: ::prost::alloc::string::String, } -/// A MediaBundle asset. +/// A MediaBundle asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleAsset { - /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - /// depends on the ad field where it will be used. For more information on the - /// format, see the documentation of the ad field where you plan on using the - /// MediaBundleAsset. This field is mutate only. + /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file + /// depends on the ad field where it will be used. For more information on the + /// format, see the documentation of the ad field where you plan on using the + /// MediaBundleAsset. This field is mutate only. #[prost(bytes="vec", optional, tag="2")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, } -/// An Image asset. +/// An Image asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAsset { - /// The raw bytes data of an image. This field is mutate only. + /// The raw bytes data of an image. This field is mutate only. #[prost(bytes="vec", optional, tag="5")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// File size of the image asset in bytes. + /// File size of the image asset in bytes. #[prost(int64, optional, tag="6")] pub file_size: ::core::option::Option, - /// MIME type of the image asset. + /// MIME type of the image asset. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="3")] pub mime_type: i32, - /// Metadata for this image at its original size. + /// Metadata for this image at its original size. #[prost(message, optional, tag="4")] pub full_size: ::core::option::Option, } -/// Metadata for an image at a certain size, either original or resized. +/// Metadata for an image at a certain size, either original or resized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageDimension { - /// Height of the image. + /// Height of the image. #[prost(int64, optional, tag="4")] pub height_pixels: ::core::option::Option, - /// Width of the image. + /// Width of the image. #[prost(int64, optional, tag="5")] pub width_pixels: ::core::option::Option, - /// A URL that returns the image with this height and width. + /// A URL that returns the image with this height and width. #[prost(string, optional, tag="6")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A Text asset. +/// A Text asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAsset { - /// Text content of the text asset. + /// Text content of the text asset. #[prost(string, optional, tag="2")] pub text: ::core::option::Option<::prost::alloc::string::String>, } -/// A Lead Form asset. +/// A Lead Form asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormAsset { - /// Required. The name of the business being advertised. + /// Required. The name of the business being advertised. #[prost(string, tag="10")] pub business_name: ::prost::alloc::string::String, - /// Required. Pre-defined display text that encourages user to expand the form. + /// Required. Pre-defined display text that encourages user to expand the form. #[prost(enumeration="super::enums::lead_form_call_to_action_type_enum::LeadFormCallToActionType", tag="17")] pub call_to_action_type: i32, - /// Required. Text giving a clear value proposition of what users expect once they expand - /// the form. + /// Required. Text giving a clear value proposition of what users expect once they expand + /// the form. #[prost(string, tag="18")] pub call_to_action_description: ::prost::alloc::string::String, - /// Required. Headline of the expanded form to describe what the form is asking for or - /// facilitating. + /// Required. Headline of the expanded form to describe what the form is asking for or + /// facilitating. #[prost(string, tag="12")] pub headline: ::prost::alloc::string::String, - /// Required. Detailed description of the expanded form to describe what the form is - /// asking for or facilitating. + /// Required. Detailed description of the expanded form to describe what the form is + /// asking for or facilitating. #[prost(string, tag="13")] pub description: ::prost::alloc::string::String, - /// Required. Link to a page describing the policy on how the collected data is handled - /// by the advertiser/business. + /// Required. Link to a page describing the policy on how the collected data is handled + /// by the advertiser/business. #[prost(string, tag="14")] pub privacy_policy_url: ::prost::alloc::string::String, - /// Headline of text shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Headline of text shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="15")] pub post_submit_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Detailed description shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Detailed description shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="16")] pub post_submit_description: ::core::option::Option<::prost::alloc::string::String>, - /// Ordered list of input fields. + /// Ordered list of input fields. #[prost(message, repeated, tag="8")] pub fields: ::prost::alloc::vec::Vec, - /// Ordered list of custom question fields. + /// Ordered list of custom question fields. #[prost(message, repeated, tag="23")] pub custom_question_fields: ::prost::alloc::vec::Vec, - /// Configured methods for collected lead data to be delivered to advertiser. - /// Only one method typed as WebhookDelivery can be configured. + /// Configured methods for collected lead data to be delivered to advertiser. + /// Only one method typed as WebhookDelivery can be configured. #[prost(message, repeated, tag="9")] pub delivery_methods: ::prost::alloc::vec::Vec, - /// Pre-defined display text that encourages user action after the form is - /// submitted. + /// Pre-defined display text that encourages user action after the form is + /// submitted. #[prost(enumeration="super::enums::lead_form_post_submit_call_to_action_type_enum::LeadFormPostSubmitCallToActionType", tag="19")] pub post_submit_call_to_action_type: i32, - /// Asset resource name of the background image. The minimum size is 600x314 - /// and the aspect ratio must be 1.91:1 (+-1%). + /// Asset resource name of the background image. The minimum size is 600x314 + /// and the aspect ratio must be 1.91:1 (+-1%). #[prost(string, optional, tag="20")] pub background_image_asset: ::core::option::Option<::prost::alloc::string::String>, - /// Desired intent for the lead form, e.g. more volume or more qualified. + /// Desired intent for the lead form, e.g. more volume or more qualified. #[prost(enumeration="super::enums::lead_form_desired_intent_enum::LeadFormDesiredIntent", tag="21")] pub desired_intent: i32, - /// Custom disclosure shown along with Google disclaimer on the lead form. - /// Accessible to allowed customers only. + /// Custom disclosure shown along with Google disclaimer on the lead form. + /// Accessible to allowed customers only. #[prost(string, optional, tag="22")] pub custom_disclosure: ::core::option::Option<::prost::alloc::string::String>, } -/// One input field instance within a form. +/// One input field instance within a form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormField { - /// Describes the input type, which may be a predefined type such as - /// "full name" or a pre-vetted question like "Do you own a car?". + /// Describes the input type, which may be a predefined type such as + /// "full name" or a pre-vetted question like "Do you own a car?". #[prost(enumeration="super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType", tag="1")] pub input_type: i32, - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[prost(oneof="lead_form_field::Answers", tags="2")] pub answers: ::core::option::Option, } /// Nested message and enum types in `LeadFormField`. pub mod lead_form_field { - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Answers { - /// Answer configuration for a single choice question. Can be set only for - /// pre-vetted question fields. Minimum of 2 answers required and maximum of - /// 12 allowed. + /// Answer configuration for a single choice question. Can be set only for + /// pre-vetted question fields. Minimum of 2 answers required and maximum of + /// 12 allowed. #[prost(message, tag="2")] SingleChoiceAnswers(super::LeadFormSingleChoiceAnswers), } } -/// One custom question input field instance within a form. +/// One custom question input field instance within a form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormCustomQuestionField { - /// The exact custom question field text (e.g. "Do you own a car?"). + /// The exact custom question field text (e.g. "Do you own a car?"). #[prost(string, tag="1")] pub custom_question_text: ::prost::alloc::string::String, - /// Defines answer configuration that this form field accepts. If - /// oneof is not set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If + /// oneof is not set, this is a free-text answer. #[prost(oneof="lead_form_custom_question_field::Answers", tags="2")] pub answers: ::core::option::Option, } /// Nested message and enum types in `LeadFormCustomQuestionField`. pub mod lead_form_custom_question_field { - /// Defines answer configuration that this form field accepts. If - /// oneof is not set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If + /// oneof is not set, this is a free-text answer. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Answers { - /// Answer configuration for a single choice question. - /// Minimum of 2 answers and maximum of 12 allowed. + /// Answer configuration for a single choice question. + /// Minimum of 2 answers and maximum of 12 allowed. #[prost(message, tag="2")] SingleChoiceAnswers(super::LeadFormSingleChoiceAnswers), } } -/// Defines possible answers for a single choice question, usually presented as -/// a single-choice drop-down list. +/// Defines possible answers for a single choice question, usually presented as +/// a single-choice drop-down list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSingleChoiceAnswers { - /// List of choices for a single question field. The order of entries defines - /// UI order. Minimum of 2 answers required and maximum of 12 allowed. + /// List of choices for a single question field. The order of entries defines + /// UI order. Minimum of 2 answers required and maximum of 12 allowed. #[prost(string, repeated, tag="1")] pub answers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A configuration of how leads are delivered to the advertiser. +/// A configuration of how leads are delivered to the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDeliveryMethod { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[prost(oneof="lead_form_delivery_method::DeliveryDetails", tags="1")] pub delivery_details: ::core::option::Option, } /// Nested message and enum types in `LeadFormDeliveryMethod`. pub mod lead_form_delivery_method { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DeliveryDetails { - /// Webhook method of delivery. + /// Webhook method of delivery. #[prost(message, tag="1")] Webhook(super::WebhookDelivery), } } -/// Google notifies the advertiser of leads by making HTTP calls to an -/// endpoint they specify. The requests contain JSON matching a schema that -/// Google publishes as part of form ads documentation. +/// Google notifies the advertiser of leads by making HTTP calls to an +/// endpoint they specify. The requests contain JSON matching a schema that +/// Google publishes as part of form ads documentation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookDelivery { - /// Webhook url specified by advertiser to send the lead. + /// Webhook url specified by advertiser to send the lead. #[prost(string, optional, tag="4")] pub advertiser_webhook_url: ::core::option::Option<::prost::alloc::string::String>, - /// Anti-spoofing secret set by the advertiser as part of the webhook payload. + /// Anti-spoofing secret set by the advertiser as part of the webhook payload. #[prost(string, optional, tag="5")] pub google_secret: ::core::option::Option<::prost::alloc::string::String>, - /// The schema version that this delivery instance will use. + /// The schema version that this delivery instance will use. #[prost(int64, optional, tag="6")] pub payload_schema_version: ::core::option::Option, } -/// A Book on Google asset. Used to redirect user to book through Google. -/// Book on Google will change the redirect url to book directly through -/// Google. +/// A Book on Google asset. Used to redirect user to book through Google. +/// Book on Google will change the redirect url to book directly through +/// Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BookOnGoogleAsset { } -/// A Promotion asset. +/// A Promotion asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionAsset { - /// Required. A freeform description of what the promotion is targeting. + /// Required. A freeform description of what the promotion is targeting. #[prost(string, tag="1")] pub promotion_target: ::prost::alloc::string::String, - /// A modifier for qualification of the discount. + /// A modifier for qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="7")] pub redemption_start_date: ::prost::alloc::string::String, - /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="8")] pub redemption_end_date: ::prost::alloc::string::String, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within the - /// date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within the + /// date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, tag="10")] pub language_code: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="11")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="12")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="13")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_asset::DiscountType", tags="3, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_asset::PromotionTrigger", tags="5, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionAsset`. pub mod promotion_asset { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion. 1,000,000 = 100%. - /// Either this or money_amount_off is required. + /// Percentage off discount in the promotion. 1,000,000 = 100%. + /// Either this or money_amount_off is required. #[prost(int64, tag="3")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="5")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// A Callout asset. +/// A Callout asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutAsset { - /// Required. The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub callout_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="2")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="3")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="4")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Structured Snippet asset. +/// A Structured Snippet asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetAsset { - /// Required. The header of the snippet. - /// This string should be one of the predefined values at - /// + /// Required. The header of the snippet. + /// This string should be one of the predefined values at + /// #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The values in the snippet. - /// The size of this collection should be between 3 and 10, inclusive. - /// The length of each value should be between 1 and 25 characters, inclusive. + /// Required. The values in the snippet. + /// The size of this collection should be between 3 and 10, inclusive. + /// The length of each value should be between 1 and 25 characters, inclusive. #[prost(string, repeated, tag="2")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Sitelink asset. +/// A Sitelink asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkAsset { - /// Required. URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub link_text: ::prost::alloc::string::String, - /// First line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description2 - /// must also be set. + /// First line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description2 + /// must also be set. #[prost(string, tag="2")] pub description1: ::prost::alloc::string::String, - /// Second line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description1 - /// must also be set. + /// Second line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description1 + /// must also be set. #[prost(string, tag="3")] pub description2: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="6")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Page Feed asset. +/// A Page Feed asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PageFeedAsset { - /// Required. The webpage that advertisers want to target. + /// Required. The webpage that advertisers want to target. #[prost(string, tag="1")] pub page_url: ::prost::alloc::string::String, - /// Labels used to group the page urls. + /// Labels used to group the page urls. #[prost(string, repeated, tag="2")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dynamic Education asset. +/// A Dynamic Education asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicEducationAsset { - /// Required. Program ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Program ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub program_id: ::prost::alloc::string::String, - /// Location ID which can be any sequence of letters and digits and must be - /// unique. + /// Location ID which can be any sequence of letters and digits and must be + /// unique. #[prost(string, tag="2")] pub location_id: ::prost::alloc::string::String, - /// Required. Program name, e.g. Nursing. Required. + /// Required. Program name, e.g. Nursing. Required. #[prost(string, tag="3")] pub program_name: ::prost::alloc::string::String, - /// Subject of study, e.g. Health. + /// Subject of study, e.g. Health. #[prost(string, tag="4")] pub subject: ::prost::alloc::string::String, - /// Program description, e.g. Nursing Certification. + /// Program description, e.g. Nursing Certification. #[prost(string, tag="5")] pub program_description: ::prost::alloc::string::String, - /// School name, e.g. Mountain View School of Nursing. + /// School name, e.g. Mountain View School of Nursing. #[prost(string, tag="6")] pub school_name: ::prost::alloc::string::String, - /// School address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 + /// School address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 #[prost(string, tag="7")] pub address: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Nursing certification, Health, Mountain View. + /// Contextual keywords, e.g. Nursing certification, Health, Mountain View. #[prost(string, repeated, tag="8")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="9")] pub android_app_link: ::prost::alloc::string::String, - /// Similar program IDs. + /// Similar program IDs. #[prost(string, repeated, tag="10")] pub similar_program_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="11")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="12")] pub ios_app_store_id: i64, - /// Thumbnail image url, e.g. The - /// thumbnail image will not be uploaded as image asset. + /// Thumbnail image url, e.g. The + /// thumbnail image will not be uploaded as image asset. #[prost(string, tag="13")] pub thumbnail_image_url: ::prost::alloc::string::String, - /// Image url, e.g. The image will not be - /// uploaded as image asset. + /// Image url, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="14")] pub image_url: ::prost::alloc::string::String, } -/// An asset representing a mobile app. +/// An asset representing a mobile app. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppAsset { - /// Required. A string that uniquely identifies a mobile application. It should just - /// contain the platform native id, like "com.android.ebay" for Android or - /// "12345689" for iOS. + /// Required. A string that uniquely identifies a mobile application. It should just + /// contain the platform native id, like "com.android.ebay" for Android or + /// "12345689" for iOS. #[prost(string, tag="1")] pub app_id: ::prost::alloc::string::String, - /// Required. The application store that distributes this specific app. + /// Required. The application store that distributes this specific app. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="2")] pub app_store: i32, - /// Required. The visible text displayed when the link is rendered in an ad. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The visible text displayed when the link is rendered in an ad. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="3")] pub link_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, } -/// An asset representing a hotel callout. +/// An asset representing a hotel callout. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutAsset { - /// Required. The text of the hotel callout asset. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The text of the hotel callout asset. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// Required. The language of the hotel callout. - /// Represented as BCP 47 language tag. + /// Required. The language of the hotel callout. + /// Represented as BCP 47 language tag. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// A Call asset. +/// A Call asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAsset { - /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// Indicates whether this CallAsset should use its own call conversion - /// setting, follow the account level setting, or disable call conversion. + /// Indicates whether this CallAsset should use its own call conversion + /// setting, follow the account level setting, or disable call conversion. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="3")] pub call_conversion_reporting_state: i32, - /// The conversion action to attribute a call conversion to. If not set, the - /// default conversion action is used. This field only has effect if - /// call_conversion_reporting_state is set to - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// The conversion action to attribute a call conversion to. If not set, the + /// default conversion action is used. This field only has effect if + /// call_conversion_reporting_state is set to + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. #[prost(string, tag="4")] pub call_conversion_action: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="5")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// An asset representing a list of price offers. +/// An asset representing a list of price offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceAsset { - /// Required. The type of the price asset. + /// Required. The type of the price asset. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// The price qualifier of the price asset. + /// The price qualifier of the price asset. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Required. The language of the price asset. - /// Represented as BCP 47 language tag. + /// Required. The language of the price asset. + /// Represented as BCP 47 language tag. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// The price offerings of the price asset. - /// The size of this collection should be between 3 and 8, inclusive. + /// The price offerings of the price asset. + /// The size of this collection should be between 3 and 8, inclusive. #[prost(message, repeated, tag="4")] pub price_offerings: ::prost::alloc::vec::Vec, } -/// A single price offering within a PriceAsset. +/// A single price offering within a PriceAsset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffering { - /// Required. The header of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The header of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The description of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The description of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. The price value of the price offering. + /// Required. The price value of the price offering. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// The price unit of the price offering. + /// The price unit of the price offering. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// Required. The final URL after all cross domain redirects. + /// Required. The final URL after all cross domain redirects. #[prost(string, tag="5")] pub final_url: ::prost::alloc::string::String, - /// The final mobile URL after all cross domain redirects. + /// The final mobile URL after all cross domain redirects. #[prost(string, tag="6")] pub final_mobile_url: ::prost::alloc::string::String, } -/// A call to action asset. +/// A call to action asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionAsset { - /// Call to action. + /// Call to action. #[prost(enumeration="super::enums::call_to_action_type_enum::CallToActionType", tag="1")] pub call_to_action: i32, } -/// A dynamic real estate asset. +/// A dynamic real estate asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicRealEstateAsset { - /// Required. Listing ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Listing ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub listing_id: ::prost::alloc::string::String, - /// Required. Listing name, e.g. Boulevard Bungalow. Required. + /// Required. Listing name, e.g. Boulevard Bungalow. Required. #[prost(string, tag="2")] pub listing_name: ::prost::alloc::string::String, - /// City name, e.g. Mountain View, California. + /// City name, e.g. Mountain View, California. #[prost(string, tag="3")] pub city_name: ::prost::alloc::string::String, - /// Description, e.g. 3 beds, 2 baths, 1568 sq. ft. + /// Description, e.g. 3 beds, 2 baths, 1568 sq. ft. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 #[prost(string, tag="5")] pub address: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 200,000.00 USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 200,000.00 USD. #[prost(string, tag="6")] pub price: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="7")] pub image_url: ::prost::alloc::string::String, - /// Property type, e.g. House. + /// Property type, e.g. House. #[prost(string, tag="8")] pub property_type: ::prost::alloc::string::String, - /// Listing type, e.g. For sale. + /// Listing type, e.g. For sale. #[prost(string, tag="9")] pub listing_type: ::prost::alloc::string::String, - /// Contextual keywords, e.g. For sale; Houses for sale. + /// Contextual keywords, e.g. For sale; Houses for sale. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $200,000.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $200,000.00. #[prost(string, tag="11")] pub formatted_price: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="12")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, - /// Similar listing IDs. + /// Similar listing IDs. #[prost(string, repeated, tag="15")] pub similar_listing_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic custom asset. +/// A dynamic custom asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicCustomAsset { - /// Required. ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag, e.g. sedan. Required. + /// Required. ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag, e.g. sedan. Required. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// ID2 which can be any sequence of letters and digits, e.g. red. ID sequence - /// (ID + ID2) must be unique. + /// ID2 which can be any sequence of letters and digits, e.g. red. ID sequence + /// (ID + ID2) must be unique. #[prost(string, tag="2")] pub id2: ::prost::alloc::string::String, - /// Required. Item title, e.g. Mid-size sedan. Required. + /// Required. Item title, e.g. Mid-size sedan. Required. #[prost(string, tag="3")] pub item_title: ::prost::alloc::string::String, - /// Item subtitle, e.g. At your Mountain View dealership. + /// Item subtitle, e.g. At your Mountain View dealership. #[prost(string, tag="4")] pub item_subtitle: ::prost::alloc::string::String, - /// Item description, e.g. Best selling mid-size car. + /// Item description, e.g. Best selling mid-size car. #[prost(string, tag="5")] pub item_description: ::prost::alloc::string::String, - /// Item address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 + /// Item address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 #[prost(string, tag="6")] pub item_address: ::prost::alloc::string::String, - /// Item category, e.g. Sedans. + /// Item category, e.g. Sedans. #[prost(string, tag="7")] pub item_category: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 20,000.00 USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 20,000.00 USD. #[prost(string, tag="8")] pub price: ::prost::alloc::string::String, - /// Sale price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 15,000.00 USD. - /// Must be less than the 'price' field. + /// Sale price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 15,000.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="9")] pub sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $20,000.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $20,000.00. #[prost(string, tag="10")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', e.g. On sale for $15,000.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', e.g. On sale for $15,000.00. #[prost(string, tag="11")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="12")] pub image_url: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Sedans, 4 door sedans. + /// Contextual keywords, e.g. Sedans, 4 door sedans. #[prost(string, repeated, tag="13")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="14")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="16")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="17")] pub ios_app_store_id: i64, - /// Similar IDs. + /// Similar IDs. #[prost(string, repeated, tag="15")] pub similar_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic hotels and rentals asset. +/// A dynamic hotels and rentals asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicHotelsAndRentalsAsset { - /// Required. Property ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Property ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub property_id: ::prost::alloc::string::String, - /// Required. Property name, e.g. Mountain View Hotel. Required. + /// Required. Property name, e.g. Mountain View Hotel. Required. #[prost(string, tag="2")] pub property_name: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="3")] pub image_url: ::prost::alloc::string::String, - /// Destination name, e.g. Downtown Mountain View. + /// Destination name, e.g. Downtown Mountain View. #[prost(string, tag="4")] pub destination_name: ::prost::alloc::string::String, - /// Description, e.g. Close to SJC Airport. + /// Description, e.g. Close to SJC Airport. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 100.00 USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 100.00 USD. #[prost(string, tag="6")] pub price: ::prost::alloc::string::String, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. - /// Must be less than the 'price' field. + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="7")] pub sale_price: ::prost::alloc::string::String, - /// Star rating. Must be a number between 1–5, inclusive. + /// Star rating. Must be a number between 1–5, inclusive. #[prost(int64, tag="8")] pub star_rating: i64, - /// Category, e.g. Hotel suite. + /// Category, e.g. Hotel suite. #[prost(string, tag="9")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Mountain View "Hotels", South Bay hotels. + /// Contextual keywords, e.g. Mountain View "Hotels", South Bay hotels. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 #[prost(string, tag="11")] pub address: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="12")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $100.00. #[prost(string, tag="15")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', e.g. On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', e.g. On sale for $80.00. #[prost(string, tag="16")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Similar property IDs. + /// Similar property IDs. #[prost(string, repeated, tag="17")] pub similar_property_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic flights asset. +/// A dynamic flights asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicFlightsAsset { - /// Required. Destination ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Destination ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub destination_id: ::prost::alloc::string::String, - /// Origin ID which can be any sequence of letters and digits. The ID sequence - /// (destination ID + origin ID) must be unique. + /// Origin ID which can be any sequence of letters and digits. The ID sequence + /// (destination ID + origin ID) must be unique. #[prost(string, tag="2")] pub origin_id: ::prost::alloc::string::String, - /// Required. Flight description, e.g. Book your ticket. Required. + /// Required. Flight description, e.g. Book your ticket. Required. #[prost(string, tag="3")] pub flight_description: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="4")] pub image_url: ::prost::alloc::string::String, - /// Destination name, e.g. Paris. + /// Destination name, e.g. Paris. #[prost(string, tag="5")] pub destination_name: ::prost::alloc::string::String, - /// Origin name, e.g. London. + /// Origin name, e.g. London. #[prost(string, tag="6")] pub origin_name: ::prost::alloc::string::String, - /// Flight price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD. + /// Flight price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD. #[prost(string, tag="7")] pub flight_price: ::prost::alloc::string::String, - /// Flight sale price which can be number followed by the alphabetic currency - /// code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. - /// Must be less than the 'flight_price' field. + /// Flight sale price which can be number followed by the alphabetic currency + /// code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. + /// Must be less than the 'flight_price' field. #[prost(string, tag="8")] pub flight_sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $100.00. #[prost(string, tag="9")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', e.g. On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', e.g. On sale for $80.00. #[prost(string, tag="10")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="11")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="12")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="13")] pub ios_app_store_id: i64, - /// Similar destination IDs, e.g. PAR,LON. + /// Similar destination IDs, e.g. PAR,LON. #[prost(string, repeated, tag="14")] pub similar_destination_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A custom field which can be multiple key to values mapping separated by - /// delimiters (",", "|" and ":"), in the forms of - /// ": , , ... , | : , ... - /// , | ... | : , ... ," e.g. wifi: most | - /// aircraft: 320, 77W | flights: 42 | legroom: 32". + /// A custom field which can be multiple key to values mapping separated by + /// delimiters (",", "|" and ":"), in the forms of + /// ": , , ... , | : , ... + /// , | ... | : , ... ," e.g. wifi: most | + /// aircraft: 320, 77W | flights: 42 | legroom: 32". #[prost(string, tag="15")] pub custom_mapping: ::prost::alloc::string::String, } -/// A Discovery Carousel Card asset. +/// A Discovery Carousel Card asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryCarouselCardAsset { - /// Asset resource name of the associated 1.91:1 marketing image. This and/or - /// square marketing image asset is required. + /// Asset resource name of the associated 1.91:1 marketing image. This and/or + /// square marketing image asset is required. #[prost(string, tag="1")] pub marketing_image_asset: ::prost::alloc::string::String, - /// Asset resource name of the associated square marketing image. This - /// and/or a marketing image asset is required. + /// Asset resource name of the associated square marketing image. This + /// and/or a marketing image asset is required. #[prost(string, tag="2")] pub square_marketing_image_asset: ::prost::alloc::string::String, - /// Asset resource name of the associated 4:5 portrait marketing image. + /// Asset resource name of the associated 4:5 portrait marketing image. #[prost(string, tag="3")] pub portrait_marketing_image_asset: ::prost::alloc::string::String, - /// Required. Headline of the carousel card. + /// Required. Headline of the carousel card. #[prost(string, tag="4")] pub headline: ::prost::alloc::string::String, - /// Call to action text. + /// Call to action text. #[prost(string, tag="5")] pub call_to_action_text: ::prost::alloc::string::String, } -/// A dynamic travel asset. +/// A dynamic travel asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicTravelAsset { - /// Required. Destination ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Destination ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub destination_id: ::prost::alloc::string::String, - /// Origin ID which can be any sequence of letters and digits. The ID sequence - /// (destination ID + origin ID) must be unique. + /// Origin ID which can be any sequence of letters and digits. The ID sequence + /// (destination ID + origin ID) must be unique. #[prost(string, tag="2")] pub origin_id: ::prost::alloc::string::String, - /// Required. Title, e.g. Book your train ticket. Required. + /// Required. Title, e.g. Book your train ticket. Required. #[prost(string, tag="3")] pub title: ::prost::alloc::string::String, - /// Destination name, e.g. Paris. + /// Destination name, e.g. Paris. #[prost(string, tag="4")] pub destination_name: ::prost::alloc::string::String, - /// Destination address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. + /// Destination address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. #[prost(string, tag="5")] pub destination_address: ::prost::alloc::string::String, - /// Origin name, e.g. London. + /// Origin name, e.g. London. #[prost(string, tag="6")] pub origin_name: ::prost::alloc::string::String, - /// Price which can be a number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD. + /// Price which can be a number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark. e.g. 100.00 USD. #[prost(string, tag="7")] pub price: ::prost::alloc::string::String, - /// Sale price which can be a number followed by the alphabetic currency - /// code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. - /// Must be less than the 'price' field. + /// Sale price which can be a number followed by the alphabetic currency + /// code, ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="8")] pub sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $100.00. #[prost(string, tag="9")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', e.g. On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', e.g. On sale for $80.00. #[prost(string, tag="10")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Category, e.g. Express. + /// Category, e.g. Express. #[prost(string, tag="11")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Paris trains. + /// Contextual keywords, e.g. Paris trains. #[prost(string, repeated, tag="12")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Similar destination IDs, e.g. NYC. + /// Similar destination IDs, e.g. NYC. #[prost(string, repeated, tag="13")] pub similar_destination_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="14")] pub image_url: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="15")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="16")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="17")] pub ios_app_store_id: i64, } -/// A dynamic local asset. +/// A dynamic local asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLocalAsset { - /// Required. Deal ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Deal ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub deal_id: ::prost::alloc::string::String, - /// Required. Deal name, e.g. 50% off at Mountain View Grocers. Required. + /// Required. Deal name, e.g. 50% off at Mountain View Grocers. Required. #[prost(string, tag="2")] pub deal_name: ::prost::alloc::string::String, - /// Subtitle, e.g. Groceries. + /// Subtitle, e.g. Groceries. #[prost(string, tag="3")] pub subtitle: ::prost::alloc::string::String, - /// Description, e.g. Save on your weekly bill. + /// Description, e.g. Save on your weekly bill. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Price which can be a number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 100.00 USD. + /// Price which can be a number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 100.00 USD. #[prost(string, tag="5")] pub price: ::prost::alloc::string::String, - /// Sale price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. - /// Must be less than the 'price' field. + /// Sale price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, e.g. 80.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="6")] pub sale_price: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="7")] pub image_url: ::prost::alloc::string::String, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. #[prost(string, tag="8")] pub address: ::prost::alloc::string::String, - /// Category, e.g. Food. + /// Category, e.g. Food. #[prost(string, tag="9")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Save groceries coupons. + /// Contextual keywords, e.g. Save groceries coupons. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', e.g. Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', e.g. Starting at $100.00. #[prost(string, tag="11")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', e.g. On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', e.g. On sale for $80.00. #[prost(string, tag="12")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="13")] pub android_app_link: ::prost::alloc::string::String, - /// Similar deal IDs, e.g. 1275. + /// Similar deal IDs, e.g. 1275. #[prost(string, repeated, tag="14")] pub similar_deal_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="15")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="16")] pub ios_app_store_id: i64, } -/// A dynamic jobs asset. +/// A dynamic jobs asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicJobsAsset { - /// Required. Job ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Job ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub job_id: ::prost::alloc::string::String, - /// Location ID which can be any sequence of letters and digits. The ID - /// sequence (job ID + location ID) must be unique. + /// Location ID which can be any sequence of letters and digits. The ID + /// sequence (job ID + location ID) must be unique. #[prost(string, tag="2")] pub location_id: ::prost::alloc::string::String, - /// Required. Job title, e.g. Software engineer. Required. + /// Required. Job title, e.g. Software engineer. Required. #[prost(string, tag="3")] pub job_title: ::prost::alloc::string::String, - /// Job subtitle, e.g. Level II. + /// Job subtitle, e.g. Level II. #[prost(string, tag="4")] pub job_subtitle: ::prost::alloc::string::String, - /// Description, e.g. Apply your technical skills. + /// Description, e.g. Apply your technical skills. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Image URL, e.g. The image will not be - /// uploaded as image asset. + /// Image URL, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="6")] pub image_url: ::prost::alloc::string::String, - /// Job category, e.g. Technical. + /// Job category, e.g. Technical. #[prost(string, tag="7")] pub job_category: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Software engineering job. + /// Contextual keywords, e.g. Software engineering job. #[prost(string, repeated, tag="8")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403. #[prost(string, tag="9")] pub address: ::prost::alloc::string::String, - /// Salary, e.g. $100,000. + /// Salary, e.g. $100,000. #[prost(string, tag="10")] pub salary: ::prost::alloc::string::String, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="11")] pub android_app_link: ::prost::alloc::string::String, - /// Similar job IDs, e.g. 1275. + /// Similar job IDs, e.g. 1275. #[prost(string, repeated, tag="12")] pub similar_job_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, } -// Proto file describing asset usage. +// Proto file describing asset usage. -/// Contains the usage information of the asset. +/// Contains the usage information of the asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetUsage { - /// Resource name of the asset. + /// Resource name of the asset. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// The served field type of the asset. + /// The served field type of the asset. #[prost(enumeration="super::enums::served_asset_field_type_enum::ServedAssetFieldType", tag="2")] pub served_asset_field_type: i32, } -/// Positive dimension specifying user's audience. +/// Positive dimension specifying user's audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceDimension { - /// Dimension specifying users who belong to the audience. + /// Dimension specifying users who belong to the audience. #[prost(oneof="audience_dimension::Dimension", tags="1, 2, 3, 4, 5")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `AudienceDimension`. pub mod audience_dimension { - /// Dimension specifying users who belong to the audience. + /// Dimension specifying users who belong to the audience. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Dimension specifying users by their age. + /// Dimension specifying users by their age. #[prost(message, tag="1")] Age(super::AgeDimension), - /// Dimension specifying users by their gender. + /// Dimension specifying users by their gender. #[prost(message, tag="2")] Gender(super::GenderDimension), - /// Dimension specifying users by their household income. + /// Dimension specifying users by their household income. #[prost(message, tag="3")] HouseholdIncome(super::HouseholdIncomeDimension), - /// Dimension specifying users by their parental status. + /// Dimension specifying users by their parental status. #[prost(message, tag="4")] ParentalStatus(super::ParentalStatusDimension), - /// Dimension specifying users by their membership in other audience - /// segments. + /// Dimension specifying users by their membership in other audience + /// segments. #[prost(message, tag="5")] AudienceSegments(super::AudienceSegmentDimension), } } -/// Negative dimension specifying users to exclude from the audience. +/// Negative dimension specifying users to exclude from the audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceExclusionDimension { - /// Audience segment to be excluded. + /// Audience segment to be excluded. #[prost(message, repeated, tag="1")] pub exclusions: ::prost::alloc::vec::Vec, } -/// An audience segment to be excluded from an audience. +/// An audience segment to be excluded from an audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExclusionSegment { - /// Segment to be excluded. + /// Segment to be excluded. #[prost(oneof="exclusion_segment::Segment", tags="1")] pub segment: ::core::option::Option, } /// Nested message and enum types in `ExclusionSegment`. pub mod exclusion_segment { - /// Segment to be excluded. + /// Segment to be excluded. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Segment { - /// User list segment to be excluded. + /// User list segment to be excluded. #[prost(message, tag="1")] UserList(super::UserListSegment), } } -/// Dimension specifying users by their age. +/// Dimension specifying users by their age. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeDimension { - /// Contiguous age range to be included in the dimension. + /// Contiguous age range to be included in the dimension. #[prost(message, repeated, tag="1")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Include users whose age is not determined. + /// Include users whose age is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Contiguous age range. +/// Contiguous age range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeSegment { - /// Minimum age to include. A minimum age must be specified and must be at - /// least 18. Allowed values are 18, 25, 35, 45, 55, and 65. + /// Minimum age to include. A minimum age must be specified and must be at + /// least 18. Allowed values are 18, 25, 35, 45, 55, and 65. #[prost(int32, optional, tag="1")] pub min_age: ::core::option::Option, - /// Maximum age to include. A maximum age need not be specified. If specified, - /// max_age must be greater than min_age, and allowed values are 24, 34, 44, - /// 54, and 64. + /// Maximum age to include. A maximum age need not be specified. If specified, + /// max_age must be greater than min_age, and allowed values are 24, 34, 44, + /// 54, and 64. #[prost(int32, optional, tag="2")] pub max_age: ::core::option::Option, } -/// Dimension specifying users by their gender. +/// Dimension specifying users by their gender. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderDimension { - /// Included gender demographic segments. + /// Included gender demographic segments. #[prost(enumeration="super::enums::gender_type_enum::GenderType", repeated, tag="1")] pub genders: ::prost::alloc::vec::Vec, - /// Include users whose gender is not determined. + /// Include users whose gender is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their household income. +/// Dimension specifying users by their household income. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HouseholdIncomeDimension { - /// Included household income demographic segments. + /// Included household income demographic segments. #[prost(enumeration="super::enums::income_range_type_enum::IncomeRangeType", repeated, tag="1")] pub income_ranges: ::prost::alloc::vec::Vec, - /// Include users whose household income is not determined. + /// Include users whose household income is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their parental status. +/// Dimension specifying users by their parental status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusDimension { - /// Included parental status demographic segments. + /// Included parental status demographic segments. #[prost(enumeration="super::enums::parental_status_type_enum::ParentalStatusType", repeated, tag="1")] pub parental_statuses: ::prost::alloc::vec::Vec, - /// Include users whose parental status is undetermined. + /// Include users whose parental status is undetermined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their membership in other audience segments. +/// Dimension specifying users by their membership in other audience segments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSegmentDimension { - /// Included audience segments. Users are included if they belong to at least - /// one segment. + /// Included audience segments. Users are included if they belong to at least + /// one segment. #[prost(message, repeated, tag="1")] pub segments: ::prost::alloc::vec::Vec, } -/// Positive audience segment. +/// Positive audience segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSegment { - /// Positive segment. + /// Positive segment. #[prost(oneof="audience_segment::Segment", tags="1, 2, 3, 4, 5")] pub segment: ::core::option::Option, } /// Nested message and enum types in `AudienceSegment`. pub mod audience_segment { - /// Positive segment. + /// Positive segment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Segment { - /// User list segment. + /// User list segment. #[prost(message, tag="1")] UserList(super::UserListSegment), - /// Affinity or In-market segment. + /// Affinity or In-market segment. #[prost(message, tag="2")] UserInterest(super::UserInterestSegment), - /// Live-event audience segment. + /// Live-event audience segment. #[prost(message, tag="3")] LifeEvent(super::LifeEventSegment), - /// Detailed demographic segment. + /// Detailed demographic segment. #[prost(message, tag="4")] DetailedDemographic(super::DetailedDemographicSegment), - /// Custom audience segment. + /// Custom audience segment. #[prost(message, tag="5")] CustomAudience(super::CustomAudienceSegment), } } -/// User list segment. +/// User list segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListSegment { - /// The user list resource. + /// The user list resource. #[prost(string, optional, tag="1")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// User interest segment. +/// User interest segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestSegment { - /// The user interest resource. + /// The user interest resource. #[prost(string, optional, tag="1")] pub user_interest_category: ::core::option::Option<::prost::alloc::string::String>, } -/// Live event segment. +/// Live event segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifeEventSegment { - /// The life event resource. + /// The life event resource. #[prost(string, optional, tag="1")] pub life_event: ::core::option::Option<::prost::alloc::string::String>, } -/// Detailed demographic segment. +/// Detailed demographic segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailedDemographicSegment { - /// The detailed demographic resource. + /// The detailed demographic resource. #[prost(string, optional, tag="1")] pub detailed_demographic: ::core::option::Option<::prost::alloc::string::String>, } -/// Custom audience segment. +/// Custom audience segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceSegment { - /// The custom audience resource. + /// The custom audience resource. #[prost(string, optional, tag="1")] pub custom_audience: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Commission is an automatic bidding strategy in which the advertiser pays a -/// certain portion of the conversion value. +/// Commission is an automatic bidding strategy in which the advertiser pays a +/// certain portion of the conversion value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Commission { - /// Commission rate defines the portion of the conversion value that the - /// advertiser will be billed. A commission rate of x should be passed into - /// this field as (x * 1,000,000). For example, 106,000 represents a commission - /// rate of 0.106 (10.6%). + /// Commission rate defines the portion of the conversion value that the + /// advertiser will be billed. A commission rate of x should be passed into + /// this field as (x * 1,000,000). For example, 106,000 represents a commission + /// rate of 0.106 (10.6%). #[prost(int64, optional, tag="2")] pub commission_rate_micros: ::core::option::Option, } -/// An automated bidding strategy that raises bids for clicks -/// that seem more likely to lead to a conversion and lowers -/// them for clicks where they seem less likely. +/// An automated bidding strategy that raises bids for clicks +/// that seem more likely to lead to a conversion and lowers +/// them for clicks where they seem less likely. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpc { } -/// Manual click-based bidding where user pays per click. +/// Manual click-based bidding where user pays per click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpc { - /// Whether bids are to be enhanced based on conversion optimizer data. + /// Whether bids are to be enhanced based on conversion optimizer data. #[prost(bool, optional, tag="2")] pub enhanced_cpc_enabled: ::core::option::Option, } -/// Manual impression-based bidding where user pays per thousand impressions. +/// Manual impression-based bidding where user pays per thousand impressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpm { } -/// View based bidding where user pays per video view. +/// View based bidding where user pays per video view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpv { } -/// An automated bidding strategy to help get the most conversions for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversions for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// The target cost-per-action (CPA) option. This is the average amount that - /// you would like to spend per conversion action specified in micro units of - /// the bidding strategy's currency. If set, the bid strategy will get as many - /// conversions as possible at or below the target cost-per-action. If the - /// target CPA is not set, the bid strategy will aim to achieve the lowest - /// possible CPA given the budget. + /// The target cost-per-action (CPA) option. This is the average amount that + /// you would like to spend per conversion action specified in micro units of + /// the bidding strategy's currency. If set, the bid strategy will get as many + /// conversions as possible at or below the target cost-per-action. If the + /// target CPA is not set, the bid strategy will aim to achieve the lowest + /// possible CPA given the budget. #[prost(int64, tag="1")] pub target_cpa: i64, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="2")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_floor_micros: i64, } -/// An automated bidding strategy to help get the most conversion value for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversion value for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// The target return on ad spend (ROAS) option. If set, the bid strategy will - /// maximize revenue while averaging the target return on ad spend. If the - /// target ROAS is high, the bid strategy may not be able to spend the full - /// budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// The target return on ad spend (ROAS) option. If set, the bid strategy will + /// maximize revenue while averaging the target return on ad spend. If the + /// target ROAS is high, the bid strategy may not be able to spend the full + /// budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="2")] pub target_roas: f64, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="4")] pub cpc_bid_floor_micros: i64, } -/// An automated bid strategy that sets bids to help get as many conversions as -/// possible at the target cost-per-acquisition (CPA) you set. +/// An automated bid strategy that sets bids to help get as many conversions as +/// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Average CPA target. - /// This target should be greater than or equal to minimum billable unit based - /// on the currency for the account. + /// Average CPA target. + /// This target should be greater than or equal to minimum billable unit based + /// on the currency for the account. #[prost(int64, optional, tag="4")] pub target_cpa_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// Target CPM (cost per thousand impressions) is an automated bidding strategy -/// that sets bids to optimize performance given the target CPM you set. +/// Target CPM (cost per thousand impressions) is an automated bidding strategy +/// that sets bids to optimize performance given the target CPM you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpm { } -/// An automated bidding strategy that sets bids so that a certain percentage of -/// search ads are shown at the top of the first page (or other targeted -/// location). +/// An automated bidding strategy that sets bids so that a certain percentage of +/// search ads are shown at the top of the first page (or other targeted +/// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// The targeted location on the search results page. + /// The targeted location on the search results page. #[prost(enumeration="super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The desired fraction of ads to be shown in the targeted location in micros. - /// E.g. 1% equals 10,000. + /// The desired fraction of ads to be shown in the targeted location in micros. + /// E.g. 1% equals 10,000. #[prost(int64, optional, tag="4")] pub location_fraction_micros: ::core::option::Option, - /// The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// An automated bidding strategy that helps you maximize revenue while -/// averaging a specific target return on ad spend (ROAS). +/// An automated bidding strategy that helps you maximize revenue while +/// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Required. The desired revenue (based on conversion data) per unit of spend. - /// Value must be between 0.01 and 1000.0, inclusive. + /// Required. The desired revenue (based on conversion data) per unit of spend. + /// Value must be between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="4")] pub target_roas: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// An automated bid strategy that sets your bids to help get as many clicks -/// as possible within your budget. +/// An automated bid strategy that sets your bids to help get as many clicks +/// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="3")] pub target_spend_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="4")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// A bidding strategy where bids are a fraction of the advertised price for -/// some good or service. +/// A bidding strategy where bids are a fraction of the advertised price for +/// some good or service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpc { - /// Maximum bid limit that can be set by the bid strategy. This is - /// an optional field entered by the advertiser and specified in local micros. - /// Note: A zero value is interpreted in the same way as having bid_ceiling - /// undefined. + /// Maximum bid limit that can be set by the bid strategy. This is + /// an optional field entered by the advertiser and specified in local micros. + /// Note: A zero value is interpreted in the same way as having bid_ceiling + /// undefined. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Adjusts the bid for each auction upward or downward, depending on the - /// likelihood of a conversion. Individual bids may exceed - /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should - /// not. + /// Adjusts the bid for each auction upward or downward, depending on the + /// likelihood of a conversion. Individual bids may exceed + /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should + /// not. #[prost(bool, optional, tag="4")] pub enhanced_cpc_enabled: ::core::option::Option, } -// Proto file describing a ClickLocation. +// Proto file describing a ClickLocation. -/// Location criteria associated with a click. +/// Location criteria associated with a click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickLocation { - /// The city location criterion associated with the impression. + /// The city location criterion associated with the impression. #[prost(string, optional, tag="6")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// The country location criterion associated with the impression. + /// The country location criterion associated with the impression. #[prost(string, optional, tag="7")] pub country: ::core::option::Option<::prost::alloc::string::String>, - /// The metro location criterion associated with the impression. + /// The metro location criterion associated with the impression. #[prost(string, optional, tag="8")] pub metro: ::core::option::Option<::prost::alloc::string::String>, - /// The most specific location criterion associated with the impression. + /// The most specific location criterion associated with the impression. #[prost(string, optional, tag="9")] pub most_specific: ::core::option::Option<::prost::alloc::string::String>, - /// The region location criterion associated with the impression. + /// The region location criterion associated with the impression. #[prost(string, optional, tag="10")] pub region: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing criterion category availability information. +// Proto file describing criterion category availability information. -/// Information of category availability, per advertising channel. +/// Information of category availability, per advertising channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryAvailability { - /// Channel types and subtypes that are available to the category. + /// Channel types and subtypes that are available to the category. #[prost(message, optional, tag="1")] pub channel: ::core::option::Option, - /// Locales that are available to the category for the channel. + /// Locales that are available to the category for the channel. #[prost(message, repeated, tag="2")] pub locale: ::prost::alloc::vec::Vec, } -/// Information of advertising channel type and subtypes a category is available -/// in. +/// Information of advertising channel type and subtypes a category is available +/// in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailability { - /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the - /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - /// will be set, the category is available to all sub types under it) or - /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - /// advertising_channel_sub_type, and include_default_channel_sub_type will all - /// be set). + /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the + /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type + /// will be set, the category is available to all sub types under it) or + /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + /// advertising_channel_sub_type, and include_default_channel_sub_type will all + /// be set). #[prost(enumeration="super::enums::criterion_category_channel_availability_mode_enum::CriterionCategoryChannelAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Channel type the category is available to. + /// Channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="2")] pub advertising_channel_type: i32, - /// Channel subtypes under the channel type the category is available to. + /// Channel subtypes under the channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", repeated, tag="3")] pub advertising_channel_sub_type: ::prost::alloc::vec::Vec, - /// Whether default channel sub type is included. For example, - /// advertising_channel_type being DISPLAY and include_default_channel_sub_type - /// being false means that the default display campaign where channel sub type - /// is not set is not included in this availability configuration. + /// Whether default channel sub type is included. For example, + /// advertising_channel_type being DISPLAY and include_default_channel_sub_type + /// being false means that the default display campaign where channel sub type + /// is not set is not included in this availability configuration. #[prost(bool, optional, tag="5")] pub include_default_channel_sub_type: ::core::option::Option, } -/// Information about which locales a category is available in. +/// Information about which locales a category is available in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailability { - /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only - /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - /// be set). + /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and + /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only + /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will + /// be set). #[prost(enumeration="super::enums::criterion_category_locale_availability_mode_enum::CriterionCategoryLocaleAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Code of the country. + /// Code of the country. #[prost(string, optional, tag="4")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Code of the language. + /// Code of the language. #[prost(string, optional, tag="5")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing CustomParameter and operation +// Proto file describing CustomParameter and operation -/// A mapping that can be used by custom parameter tags in a -/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. +/// A mapping that can be used by custom parameter tags in a +/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomParameter { - /// The key matching the parameter tag name. + /// The key matching the parameter tag name. #[prost(string, optional, tag="3")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be substituted. + /// The value to be substituted. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing common customizer value proto messages. +// Proto file describing common customizer value proto messages. -/// A customizer value that is referenced in customizer linkage entities -/// like CustomerCustomizer, CampaignCustomizer, etc. +/// A customizer value that is referenced in customizer linkage entities +/// like CustomerCustomizer, CampaignCustomizer, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValue { - /// Required. The data type for the customizer value. It must match the attribute type. - /// The string_value content must match the constraints associated with the - /// type. + /// Required. The data type for the customizer value. It must match the attribute type. + /// The string_value content must match the constraints associated with the + /// type. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="1")] pub r#type: i32, - /// Required. Value to insert in creative text. Customizer values of all types are stored - /// as string to make formatting unambiguous. + /// Required. Value to insert in creative text. Customizer values of all types are stored + /// as string to make formatting unambiguous. #[prost(string, tag="2")] pub string_value: ::prost::alloc::string::String, } -// Proto file describing date range message. +// Proto file describing date range message. -/// A date range. +/// A date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="3")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The end date, in yyyy-mm-dd format. This date is inclusive. + /// The end date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="4")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -/// The year month range inclusive of the start and end months. -/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). +/// The year month range inclusive of the start and end months. +/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonthRange { - /// The inclusive start year month. + /// The inclusive start year month. #[prost(message, optional, tag="1")] pub start: ::core::option::Option, - /// The inclusive end year month. + /// The inclusive end year month. #[prost(message, optional, tag="2")] pub end: ::core::option::Option, } -/// Year month. +/// Year month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonth { - /// The year (e.g. 2020). + /// The year (e.g. 2020). #[prost(int64, tag="1")] pub year: i64, - /// The month of the year. (e.g. FEBRUARY). + /// The month of the year. (e.g. FEBRUARY). #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, } -// Proto file describing ExplorerAutoOptimizerSetting +// Proto file describing ExplorerAutoOptimizerSetting -/// Settings for the Display Campaign Optimizer, initially named "Explorer". -/// Learn more about -/// [automatic targeting](). +/// Settings for the Display Campaign Optimizer, initially named "Explorer". +/// Learn more about +/// [automatic targeting](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplorerAutoOptimizerSetting { - /// Indicates whether the optimizer is turned on. + /// Indicates whether the optimizer is turned on. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing extension types. +// Proto file describing extension types. -/// Represents an App extension. +/// Represents an App extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppFeedItem { - /// The visible text displayed when the link is rendered in an ad. - /// This string must not be empty, and the length of this string should - /// be between 1 and 25, inclusive. + /// The visible text displayed when the link is rendered in an ad. + /// This string must not be empty, and the length of this string should + /// be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// The store-specific ID for the target application. - /// This string must not be empty. + /// The store-specific ID for the target application. + /// This string must not be empty. #[prost(string, optional, tag="10")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The application store that the target application belongs to. - /// This field is required. + /// The application store that the target application belongs to. + /// This field is required. #[prost(enumeration="super::enums::app_store_enum::AppStore", tag="3")] pub app_store: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This list must not be empty. + /// A list of possible final URLs after all cross domain redirects. + /// This list must not be empty. #[prost(string, repeated, tag="11")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. Default value is "{lpurl}". + /// URL template for constructing a tracking URL. Default value is "{lpurl}". #[prost(string, optional, tag="13")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="14")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Call extension. +/// Represents a Call extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallFeedItem { - /// The advertiser's phone number to append to the ad. - /// This string must not be empty. + /// The advertiser's phone number to append to the ad. + /// This string must not be empty. #[prost(string, optional, tag="7")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This string must not be empty. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This string must not be empty. #[prost(string, optional, tag="8")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether call tracking is enabled. By default, call tracking is - /// not enabled. + /// Indicates whether call tracking is enabled. By default, call tracking is + /// not enabled. #[prost(bool, optional, tag="9")] pub call_tracking_enabled: ::core::option::Option, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// call_tracking_enabled is set to true. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// call_tracking_enabled is set to true. Otherwise this field is ignored. #[prost(string, optional, tag="10")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// If true, disable call conversion tracking. call_conversion_action should - /// not be set if this is true. Optional. + /// If true, disable call conversion tracking. call_conversion_action should + /// not be set if this is true. Optional. #[prost(bool, optional, tag="11")] pub call_conversion_tracking_disabled: ::core::option::Option, - /// Enum value that indicates whether this call extension uses its own call - /// conversion setting (or just have call conversion disabled), or following - /// the account level setting. + /// Enum value that indicates whether this call extension uses its own call + /// conversion setting (or just have call conversion disabled), or following + /// the account level setting. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="6")] pub call_conversion_reporting_state: i32, } -/// Represents a callout extension. +/// Represents a callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="2")] pub callout_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a location extension. +/// Represents a location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="9")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="10")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="11")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="12")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="13")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="14")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="15")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="16")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an affiliate location extension. +/// Represents an affiliate location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="11")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="12")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="13")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="14")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="15")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="16")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="17")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="18")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Id of the retail chain that is advertised as a seller of your product. + /// Id of the retail chain that is advertised as a seller of your product. #[prost(int64, optional, tag="19")] pub chain_id: ::core::option::Option, - /// Name of chain. + /// Name of chain. #[prost(string, optional, tag="20")] pub chain_name: ::core::option::Option<::prost::alloc::string::String>, } -/// An extension that users can click on to send a text message to the -/// advertiser. +/// An extension that users can click on to send a text message to the +/// advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextMessageFeedItem { - /// The business name to prepend to the message text. - /// This field is required. + /// The business name to prepend to the message text. + /// This field is required. #[prost(string, optional, tag="6")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This field is required. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This field is required. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The advertiser's phone number the message will be sent to. Required. + /// The advertiser's phone number the message will be sent to. Required. #[prost(string, optional, tag="8")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// The text to show in the ad. - /// This field is required. + /// The text to show in the ad. + /// This field is required. #[prost(string, optional, tag="9")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The message extension_text populated in the messaging app. + /// The message extension_text populated in the messaging app. #[prost(string, optional, tag="10")] pub extension_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Price extension. +/// Represents a Price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceFeedItem { - /// Price extension type of this extension. + /// Price extension type of this extension. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// Price qualifier for all offers of this price extension. + /// Price qualifier for all offers of this price extension. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="7")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The code of the language used for this price extension. + /// The code of the language used for this price extension. #[prost(string, optional, tag="8")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// The price offerings in this price extension. + /// The price offerings in this price extension. #[prost(message, repeated, tag="5")] pub price_offerings: ::prost::alloc::vec::Vec, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="9")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents one price offer in a price extension. +/// Represents one price offer in a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffer { - /// Header text of this offer. + /// Header text of this offer. #[prost(string, optional, tag="7")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// Description text of this offer. + /// Description text of this offer. #[prost(string, optional, tag="8")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Price value of this offer. + /// Price value of this offer. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// Price unit for this offer. + /// Price unit for this offer. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="9")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="10")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Promotion extension. +/// Represents a Promotion extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionFeedItem { - /// A freeform description of what the promotion is targeting. - /// This field is required. + /// A freeform description of what the promotion is targeting. + /// This field is required. #[prost(string, optional, tag="16")] pub promotion_target: ::core::option::Option<::prost::alloc::string::String>, - /// Enum that modifies the qualification of the discount. + /// Enum that modifies the qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed. + /// Start date of when the promotion is eligible to be redeemed. #[prost(string, optional, tag="19")] pub promotion_start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Last date when the promotion is eligible to be redeemed. + /// Last date when the promotion is eligible to be redeemed. #[prost(string, optional, tag="20")] pub promotion_end_date: ::core::option::Option<::prost::alloc::string::String>, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within - /// the date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within + /// the date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This field is required. + /// A list of possible final URLs after all cross domain redirects. + /// This field is required. #[prost(string, repeated, tag="21")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="22")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="13")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, optional, tag="25")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_feed_item::DiscountType", tags="17, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_feed_item::PromotionTrigger", tags="18, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionFeedItem`. pub mod promotion_feed_item { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion in micros. - /// One million is equivalent to one percent. - /// Either this or money_off_amount is required. + /// Percentage off discount in the promotion in micros. + /// One million is equivalent to one percent. + /// Either this or money_off_amount is required. #[prost(int64, tag="17")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="18")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// Represents a structured snippet extension. +/// Represents a structured snippet extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetFeedItem { - /// The header of the snippet. - /// This string must not be empty. + /// The header of the snippet. + /// This string must not be empty. #[prost(string, optional, tag="3")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// The values in the snippet. - /// The maximum size of this collection is 10. + /// The values in the snippet. + /// The maximum size of this collection is 10. #[prost(string, repeated, tag="4")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a sitelink extension. +/// Represents a sitelink extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkFeedItem { - /// URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// First line of the description for the sitelink. - /// If this value is set, line2 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// First line of the description for the sitelink. + /// If this value is set, line2 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="10")] pub line1: ::core::option::Option<::prost::alloc::string::String>, - /// Second line of the description for the sitelink. - /// If this value is set, line1 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// Second line of the description for the sitelink. + /// If this value is set, line1 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="11")] pub line2: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="13")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="14")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Final URL suffix to be appended to landing page URLs served with - /// parallel tracking. + /// Final URL suffix to be appended to landing page URLs served with + /// parallel tracking. #[prost(string, optional, tag="15")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a hotel callout extension. +/// Represents a hotel callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the hotel callout text. - /// IETF BCP 47 compliant language code. + /// The language of the hotel callout text. + /// IETF BCP 47 compliant language code. #[prost(string, optional, tag="4")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an advertiser provided image extension. +/// Represents an advertiser provided image extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageFeedItem { - /// Required. Resource name of the image asset. + /// Required. Resource name of the image asset. #[prost(string, tag="1")] pub image_asset: ::prost::alloc::string::String, } -/// Represents a filter on locations in a feed item set. -/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. +/// Represents a filter on locations in a feed item set. +/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLocationSetFilter { - /// If multiple labels are set, then only feeditems marked with all the labels - /// will be added to the FeedItemSet. + /// If multiple labels are set, then only feeditems marked with all the labels + /// will be added to the FeedItemSet. #[prost(string, repeated, tag="1")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Business name filter. + /// Business name filter. #[prost(message, optional, tag="2")] pub business_name_filter: ::core::option::Option, } -/// Represents a business name filter on locations in a FeedItemSet. +/// Represents a business name filter on locations in a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessNameFilter { - /// Business name string to use for filtering. + /// Business name string to use for filtering. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, - /// The type of string matching to use when filtering with business_name. + /// The type of string matching to use when filtering with business_name. #[prost(enumeration="super::enums::feed_item_set_string_filter_type_enum::FeedItemSetStringFilterType", tag="2")] pub filter_type: i32, } -/// Represents a filter on affiliate locations in a FeedItemSet. -/// Only applicable if the parent Feed of the FeedItemSet is an -/// AFFILIATE_LOCATION feed. +/// Represents a filter on affiliate locations in a FeedItemSet. +/// Only applicable if the parent Feed of the FeedItemSet is an +/// AFFILIATE_LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicAffiliateLocationSetFilter { - /// Used to filter affiliate locations by chain ids. Only affiliate locations - /// that belong to the specified chain(s) will be added to the FeedItemSet. + /// Used to filter affiliate locations by chain ids. Only affiliate locations + /// that belong to the specified chain(s) will be added to the FeedItemSet. #[prost(int64, repeated, tag="1")] pub chain_ids: ::prost::alloc::vec::Vec, } -// Proto file FinalAppUrl type. +// Proto file FinalAppUrl type. -/// A URL for deep linking into an app for the given operating system. +/// A URL for deep linking into an app for the given operating system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalAppUrl { - /// The operating system targeted by this URL. Required. + /// The operating system targeted by this URL. Required. #[prost(enumeration="super::enums::app_url_operating_system_type_enum::AppUrlOperatingSystemType", tag="1")] pub os_type: i32, - /// The app deep link URL. Deep links specify a location in an app that - /// corresponds to the content you'd like to show, and should be of the form - /// {scheme}://{host_path} - /// The scheme identifies which app to open. For your app, you can use a custom - /// scheme that starts with the app's name. The host and path specify the - /// unique location in the app where your content exists. - /// Example: "exampleapp://productid_1234". Required. + /// The app deep link URL. Deep links specify a location in an app that + /// corresponds to the content you'd like to show, and should be of the form + /// {scheme}://{host_path} + /// The scheme identifies which app to open. For your app, you can use a custom + /// scheme that starts with the app's name. The host and path specify the + /// unique location in the app where your content exists. + /// Example: "exampleapp://productid_1234". Required. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// A rule specifying the maximum number of times an ad (or some set of ads) can -/// be shown to a user over a particular time period. +/// A rule specifying the maximum number of times an ad (or some set of ads) can +/// be shown to a user over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEntry { - /// The key of a particular frequency cap. There can be no more - /// than one frequency cap with the same key. + /// The key of a particular frequency cap. There can be no more + /// than one frequency cap with the same key. #[prost(message, optional, tag="1")] pub key: ::core::option::Option, - /// Maximum number of events allowed during the time range by this cap. + /// Maximum number of events allowed during the time range by this cap. #[prost(int32, optional, tag="3")] pub cap: ::core::option::Option, } -/// A group of fields used as keys for a frequency cap. -/// There can be no more than one frequency cap with the same key. +/// A group of fields used as keys for a frequency cap. +/// There can be no more than one frequency cap with the same key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapKey { - /// The level on which the cap is to be applied (e.g. ad group ad, ad group). - /// The cap is applied to all the entities of this level. + /// The level on which the cap is to be applied (e.g. ad group ad, ad group). + /// The cap is applied to all the entities of this level. #[prost(enumeration="super::enums::frequency_cap_level_enum::FrequencyCapLevel", tag="1")] pub level: i32, - /// The type of event that the cap applies to (e.g. impression). + /// The type of event that the cap applies to (e.g. impression). #[prost(enumeration="super::enums::frequency_cap_event_type_enum::FrequencyCapEventType", tag="3")] pub event_type: i32, - /// Unit of time the cap is defined at (e.g. day, week). + /// Unit of time the cap is defined at (e.g. day, week). #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, - /// Number of time units the cap lasts. + /// Number of time units the cap lasts. #[prost(int32, optional, tag="5")] pub time_length: ::core::option::Option, } -// Proto file describing Keyword Planner messages. +// Proto file describing Keyword Planner messages. -/// Historical metrics specific to the targeting options selected. -/// Targeting options include geographies, network, etc. -/// Refer to for more -/// details. +/// Historical metrics specific to the targeting options selected. +/// Targeting options include geographies, network, etc. +/// Refer to for more +/// details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanHistoricalMetrics { - /// Approximate number of monthly searches on this query averaged - /// for the past 12 months. + /// Approximate number of monthly searches on this query averaged + /// for the past 12 months. #[prost(int64, optional, tag="7")] pub avg_monthly_searches: ::core::option::Option, - /// Approximate number of searches on this query for the past twelve months. + /// Approximate number of searches on this query for the past twelve months. #[prost(message, repeated, tag="6")] pub monthly_search_volumes: ::prost::alloc::vec::Vec, - /// The competition level for the query. + /// The competition level for the query. #[prost(enumeration="super::enums::keyword_plan_competition_level_enum::KeywordPlanCompetitionLevel", tag="2")] pub competition: i32, - /// The competition index for the query in the range [0, 100]. - /// Shows how competitive ad placement is for a keyword. - /// The level of competition from 0-100 is determined by the number of ad slots - /// filled divided by the total number of ad slots available. If not enough - /// data is available, null is returned. + /// The competition index for the query in the range [0, 100]. + /// Shows how competitive ad placement is for a keyword. + /// The level of competition from 0-100 is determined by the number of ad slots + /// filled divided by the total number of ad slots available. If not enough + /// data is available, null is returned. #[prost(int64, optional, tag="8")] pub competition_index: ::core::option::Option, - /// Top of page bid low range (20th percentile) in micros for the keyword. + /// Top of page bid low range (20th percentile) in micros for the keyword. #[prost(int64, optional, tag="9")] pub low_top_of_page_bid_micros: ::core::option::Option, - /// Top of page bid high range (80th percentile) in micros for the keyword. + /// Top of page bid high range (80th percentile) in micros for the keyword. #[prost(int64, optional, tag="10")] pub high_top_of_page_bid_micros: ::core::option::Option, - /// Average Cost Per Click in micros for the keyword. + /// Average Cost Per Click in micros for the keyword. #[prost(int64, optional, tag="11")] pub average_cpc_micros: ::core::option::Option, } -/// Historical metrics options. +/// Historical metrics options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistoricalMetricsOptions { - /// The year month range for historical metrics. If not specified the searches - /// will be returned for past 12 months. - /// Searches data is available for the past 4 years. If the search volume is - /// not available for the entire year_month_range provided, the subset of the - /// year month range for which search volume is available will be returned. + /// The year month range for historical metrics. If not specified the searches + /// will be returned for past 12 months. + /// Searches data is available for the past 4 years. If the search volume is + /// not available for the entire year_month_range provided, the subset of the + /// year month range for which search volume is available will be returned. #[prost(message, optional, tag="1")] pub year_month_range: ::core::option::Option, - /// Indicates whether to include average cost per click value. - /// Average CPC is a legacy value that will be removed and replaced in the - /// future, and as such we are including it as an optioanl value so clients - /// only use it when strictly necessary and to better track clients that use - /// this value. + /// Indicates whether to include average cost per click value. + /// Average CPC is a legacy value that will be removed and replaced in the + /// future, and as such we are including it as an optioanl value so clients + /// only use it when strictly necessary and to better track clients that use + /// this value. #[prost(bool, tag="2")] pub include_average_cpc: bool, } -/// Monthly search volume. +/// Monthly search volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthlySearchVolume { - /// The year of the search volume (e.g. 2020). + /// The year of the search volume (e.g. 2020). #[prost(int64, optional, tag="4")] pub year: ::core::option::Option, - /// The month of the search volume. + /// The month of the search volume. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, - /// Approximate number of searches for the month. - /// A null value indicates the search volume is unavailable for - /// that month. + /// Approximate number of searches for the month. + /// A null value indicates the search volume is unavailable for + /// that month. #[prost(int64, optional, tag="5")] pub monthly_searches: ::core::option::Option, } -/// The aggregate metrics specification of the request. +/// The aggregate metrics specification of the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetrics { - /// The list of aggregate metrics to fetch data. + /// The list of aggregate metrics to fetch data. #[prost(enumeration="super::enums::keyword_plan_aggregate_metric_type_enum::KeywordPlanAggregateMetricType", repeated, tag="1")] pub aggregate_metric_types: ::prost::alloc::vec::Vec, } -/// The aggregated historical metrics for keyword plan keywords. +/// The aggregated historical metrics for keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricResults { - /// The aggregate searches for all the keywords segmented by device - /// for the specified time. - /// Supports the following device types: MOBILE, TABLET, DESKTOP. + /// The aggregate searches for all the keywords segmented by device + /// for the specified time. + /// Supports the following device types: MOBILE, TABLET, DESKTOP. /// - /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - /// in the KeywordPlanAggregateMetrics field in the request. + /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set + /// in the KeywordPlanAggregateMetrics field in the request. #[prost(message, repeated, tag="1")] pub device_searches: ::prost::alloc::vec::Vec, } -/// The total searches for the device type during the specified time period. +/// The total searches for the device type during the specified time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanDeviceSearches { - /// The device type. + /// The device type. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// The total searches for the device. + /// The total searches for the device. #[prost(int64, optional, tag="2")] pub search_count: ::core::option::Option, } -/// The Annotations for the Keyword plan keywords. +/// The Annotations for the Keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAnnotations { - /// The list of concepts for the keyword. + /// The list of concepts for the keyword. #[prost(message, repeated, tag="1")] pub concepts: ::prost::alloc::vec::Vec, } -/// The concept for the keyword. +/// The concept for the keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordConcept { - /// The concept name for the keyword in the concept_group. + /// The concept name for the keyword in the concept_group. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group of the concept details. + /// The concept group of the concept details. #[prost(message, optional, tag="2")] pub concept_group: ::core::option::Option, } -/// The concept group for the keyword concept. +/// The concept group for the keyword concept. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConceptGroup { - /// The concept group name. + /// The concept group name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group type. + /// The concept group type. #[prost(enumeration="super::enums::keyword_plan_concept_group_type_enum::KeywordPlanConceptGroupType", tag="2")] pub r#type: i32, } -// Proto file describing a matching function. +// Proto file describing a matching function. -/// Matching function associated with a -/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -/// to filter the set of feed items selected. +/// Matching function associated with a +/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used +/// to filter the set of feed items selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunction { - /// String representation of the Function. + /// String representation of the Function. /// - /// Examples: + /// Examples: /// - /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") - /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) - /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) + /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. + /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") + /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) + /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) + /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) /// - /// For more details, visit - /// + /// For more details, visit + /// /// - /// Note that because multiple strings may represent the same underlying - /// function (whitespace and single versus double quotation marks, for - /// example), the value returned may not be identical to the string sent in a - /// mutate request. + /// Note that because multiple strings may represent the same underlying + /// function (whitespace and single versus double quotation marks, for + /// example), the value returned may not be identical to the string sent in a + /// mutate request. #[prost(string, optional, tag="5")] pub function_string: ::core::option::Option<::prost::alloc::string::String>, - /// Operator for a function. + /// Operator for a function. #[prost(enumeration="super::enums::matching_function_operator_enum::MatchingFunctionOperator", tag="4")] pub operator: i32, - /// The operands on the left hand side of the equation. This is also the - /// operand to be used for single operand expressions such as NOT. + /// The operands on the left hand side of the equation. This is also the + /// operand to be used for single operand expressions such as NOT. #[prost(message, repeated, tag="2")] pub left_operands: ::prost::alloc::vec::Vec, - /// The operands on the right hand side of the equation. + /// The operands on the right hand side of the equation. #[prost(message, repeated, tag="3")] pub right_operands: ::prost::alloc::vec::Vec, } -/// An operand in a matching function. +/// An operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operand { - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[prost(oneof="operand::FunctionArgumentOperand", tags="1, 2, 3, 4")] pub function_argument_operand: ::core::option::Option, } /// Nested message and enum types in `Operand`. pub mod operand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConstantOperand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[prost(oneof="constant_operand::ConstantOperandValue", tags="5, 6, 7, 8")] pub constant_operand_value: ::core::option::Option, } /// Nested message and enum types in `ConstantOperand`. pub mod constant_operand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConstantOperandValue { - /// String value of the operand if it is a string type. + /// String value of the operand if it is a string type. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), - /// Int64 value of the operand if it is a int64 type. + /// Int64 value of the operand if it is a int64 type. #[prost(int64, tag="6")] LongValue(i64), - /// Boolean value of the operand if it is a boolean type. + /// Boolean value of the operand if it is a boolean type. #[prost(bool, tag="7")] BooleanValue(bool), - /// Double value of the operand if it is a double type. + /// Double value of the operand if it is a double type. #[prost(double, tag="8")] DoubleValue(f64), } } - /// A feed attribute operand in a matching function. - /// Used to represent a feed attribute in feed. + /// A feed attribute operand in a matching function. + /// Used to represent a feed attribute in feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperand { - /// The associated feed. Required. + /// The associated feed. Required. #[prost(int64, optional, tag="3")] pub feed_id: ::core::option::Option, - /// Id of the referenced feed attribute. Required. + /// Id of the referenced feed attribute. Required. #[prost(int64, optional, tag="4")] pub feed_attribute_id: ::core::option::Option, } - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionOperand { - /// The matching function held in this operand. + /// The matching function held in this operand. #[prost(message, optional, tag="1")] pub matching_function: ::core::option::Option, } - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestContextOperand { - /// Type of value to be referred in the request context. + /// Type of value to be referred in the request context. #[prost(enumeration="super::super::enums::matching_function_context_type_enum::MatchingFunctionContextType", tag="1")] pub context_type: i32, } - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FunctionArgumentOperand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[prost(message, tag="1")] ConstantOperand(ConstantOperand), - /// This operand specifies a feed attribute in feed. + /// This operand specifies a feed attribute in feed. #[prost(message, tag="2")] FeedAttributeOperand(FeedAttributeOperand), - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[prost(message, tag="3")] FunctionOperand(FunctionOperand), - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[prost(message, tag="4")] RequestContextOperand(RequestContextOperand), } } -// Proto file describing experiment metric goal. +// Proto file describing experiment metric goal. -/// A metric goal for an experiment. +/// A metric goal for an experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricGoal { - /// The metric of the goal. For example, clicks, impressions, cost, - /// conversions, etc. + /// The metric of the goal. For example, clicks, impressions, cost, + /// conversions, etc. #[prost(enumeration="super::enums::experiment_metric_enum::ExperimentMetric", tag="1")] pub metric: i32, - /// The metric direction of the goal. For example, increase, decrease, no - /// change. + /// The metric direction of the goal. For example, increase, decrease, no + /// change. #[prost(enumeration="super::enums::experiment_metric_direction_enum::ExperimentMetricDirection", tag="2")] pub direction: i32, } -// Proto file describing metrics. +// Proto file describing metrics. -/// Metrics data. +/// Metrics data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The percent of your ad impressions that are shown as the very first ad - /// above the organic search results. + /// The percent of your ad impressions that are shown as the very first ad + /// above the organic search results. #[prost(double, optional, tag="183")] pub absolute_top_impression_percentage: ::core::option::Option, - /// Average cost of viewable impressions (`active_view_impressions`). + /// Average cost of viewable impressions (`active_view_impressions`). #[prost(double, optional, tag="184")] pub active_view_cpm: ::core::option::Option, - /// Active view measurable clicks divided by active view viewable impressions. - /// This metric is reported only for display network. + /// Active view measurable clicks divided by active view viewable impressions. + /// This metric is reported only for display network. #[prost(double, optional, tag="185")] pub active_view_ctr: ::core::option::Option, - /// A measurement of how often your ad has become viewable on a Display - /// Network site. + /// A measurement of how often your ad has become viewable on a Display + /// Network site. #[prost(int64, optional, tag="186")] pub active_view_impressions: ::core::option::Option, - /// The ratio of impressions that could be measured by Active View over the - /// number of served impressions. + /// The ratio of impressions that could be measured by Active View over the + /// number of served impressions. #[prost(double, optional, tag="187")] pub active_view_measurability: ::core::option::Option, - /// The cost of the impressions you received that were measurable by Active - /// View. + /// The cost of the impressions you received that were measurable by Active + /// View. #[prost(int64, optional, tag="188")] pub active_view_measurable_cost_micros: ::core::option::Option, - /// The number of times your ads are appearing on placements in positions - /// where they can be seen. + /// The number of times your ads are appearing on placements in positions + /// where they can be seen. #[prost(int64, optional, tag="189")] pub active_view_measurable_impressions: ::core::option::Option, - /// The percentage of time when your ad appeared on an Active View enabled site - /// (measurable impressions) and was viewable (viewable impressions). + /// The percentage of time when your ad appeared on an Active View enabled site + /// (measurable impressions) and was viewable (viewable impressions). #[prost(double, optional, tag="190")] pub active_view_viewability: ::core::option::Option, - /// All conversions from interactions (as oppose to view through conversions) - /// divided by the number of ad interactions. + /// All conversions from interactions (as oppose to view through conversions) + /// divided by the number of ad interactions. #[prost(double, optional, tag="191")] pub all_conversions_from_interactions_rate: ::core::option::Option, - /// The value of all conversions. + /// The value of all conversions. #[prost(double, optional, tag="192")] pub all_conversions_value: ::core::option::Option, - /// The value of all conversions. When this column is selected with date, the - /// values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of all conversions. When this column is selected with date, the + /// values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, tag="240")] pub all_conversions_value_by_conversion_date: f64, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. #[prost(double, optional, tag="193")] pub all_conversions: ::core::option::Option, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. When this column is selected - /// with date, the values in date column means the conversion date. Details for - /// the by_conversion_date columns are available at - /// + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. When this column is selected + /// with date, the values in date column means the conversion date. Details for + /// the by_conversion_date columns are available at + /// #[prost(double, tag="241")] pub all_conversions_by_conversion_date: f64, - /// The value of all conversions divided by the total cost of ad interactions - /// (such as clicks for text ads or views for video ads). + /// The value of all conversions divided by the total cost of ad interactions + /// (such as clicks for text ads or views for video ads). #[prost(double, optional, tag="194")] pub all_conversions_value_per_cost: ::core::option::Option, - /// The number of times people clicked the "Call" button to call a store during - /// or after clicking an ad. This number doesn't include whether or not calls - /// were connected, or the duration of any calls. - /// This metric applies to feed items only. + /// The number of times people clicked the "Call" button to call a store during + /// or after clicking an ad. This number doesn't include whether or not calls + /// were connected, or the duration of any calls. + /// This metric applies to feed items only. #[prost(double, optional, tag="195")] pub all_conversions_from_click_to_call: ::core::option::Option, - /// The number of times people clicked a "Get directions" button to navigate to - /// a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a "Get directions" button to navigate to + /// a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="196")] pub all_conversions_from_directions: ::core::option::Option, - /// The value of all conversions from interactions divided by the total number - /// of interactions. + /// The value of all conversions from interactions divided by the total number + /// of interactions. #[prost(double, optional, tag="197")] pub all_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of times people clicked a link to view a store's menu after - /// clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a link to view a store's menu after + /// clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="198")] pub all_conversions_from_menu: ::core::option::Option, - /// The number of times people placed an order at a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people placed an order at a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="199")] pub all_conversions_from_order: ::core::option::Option, - /// The number of other conversions (for example, posting a review or saving a - /// location for a store) that occurred after people clicked an ad. - /// This metric applies to feed items only. + /// The number of other conversions (for example, posting a review or saving a + /// location for a store) that occurred after people clicked an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="200")] pub all_conversions_from_other_engagement: ::core::option::Option, - /// Estimated number of times people visited a store after clicking an ad. - /// This metric applies to feed items only. + /// Estimated number of times people visited a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="201")] pub all_conversions_from_store_visit: ::core::option::Option, - /// The number of times that people were taken to a store's URL after clicking - /// an ad. - /// This metric applies to feed items only. + /// The number of times that people were taken to a store's URL after clicking + /// an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="202")] pub all_conversions_from_store_website: ::core::option::Option, - /// The average amount you pay per interaction. This amount is the total cost - /// of your ads divided by the total number of interactions. + /// The average amount you pay per interaction. This amount is the total cost + /// of your ads divided by the total number of interactions. #[prost(double, optional, tag="203")] pub average_cost: ::core::option::Option, - /// The total cost of all clicks divided by the total number of clicks - /// received. + /// The total cost of all clicks divided by the total number of clicks + /// received. #[prost(double, optional, tag="204")] pub average_cpc: ::core::option::Option, - /// The average amount that you've been charged for an ad engagement. This - /// amount is the total cost of all ad engagements divided by the total number - /// of ad engagements. + /// The average amount that you've been charged for an ad engagement. This + /// amount is the total cost of all ad engagements divided by the total number + /// of ad engagements. #[prost(double, optional, tag="205")] pub average_cpe: ::core::option::Option, - /// Average cost-per-thousand impressions (CPM). + /// Average cost-per-thousand impressions (CPM). #[prost(double, optional, tag="206")] pub average_cpm: ::core::option::Option, - /// The average amount you pay each time someone views your ad. - /// The average CPV is defined by the total cost of all ad views divided by - /// the number of views. + /// The average amount you pay each time someone views your ad. + /// The average CPV is defined by the total cost of all ad views divided by + /// the number of views. #[prost(double, optional, tag="207")] pub average_cpv: ::core::option::Option, - /// Average number of pages viewed per session. + /// Average number of pages viewed per session. #[prost(double, optional, tag="208")] pub average_page_views: ::core::option::Option, - /// Total duration of all sessions (in seconds) / number of sessions. Imported - /// from Google Analytics. + /// Total duration of all sessions (in seconds) / number of sessions. Imported + /// from Google Analytics. #[prost(double, optional, tag="209")] pub average_time_on_site: ::core::option::Option, - /// An indication of how other advertisers are bidding on similar products. + /// An indication of how other advertisers are bidding on similar products. #[prost(double, optional, tag="210")] pub benchmark_average_max_cpc: ::core::option::Option, - /// Number of app installs. + /// Number of app installs. #[prost(double, optional, tag="254")] pub biddable_app_install_conversions: ::core::option::Option, - /// Number of in-app actions. + /// Number of in-app actions. #[prost(double, optional, tag="255")] pub biddable_app_post_install_conversions: ::core::option::Option, - /// An indication on how other advertisers' Shopping ads for similar products - /// are performing based on how often people who see their ad click on it. + /// An indication on how other advertisers' Shopping ads for similar products + /// are performing based on how often people who see their ad click on it. #[prost(double, optional, tag="211")] pub benchmark_ctr: ::core::option::Option, - /// Percentage of clicks where the user only visited a single page on your - /// site. Imported from Google Analytics. + /// Percentage of clicks where the user only visited a single page on your + /// site. Imported from Google Analytics. #[prost(double, optional, tag="212")] pub bounce_rate: ::core::option::Option, - /// The number of clicks. + /// The number of clicks. #[prost(int64, optional, tag="131")] pub clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked. See the help page at - /// for details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked. See the help page at + /// for details. #[prost(int64, optional, tag="156")] pub combined_clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked (combined_clicks) divided by combined_queries. See the - /// help page at for - /// details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked (combined_clicks) divided by combined_queries. See the + /// help page at for + /// details. #[prost(double, optional, tag="157")] pub combined_clicks_per_query: ::core::option::Option, - /// The number of searches that returned pages from your site in the unpaid - /// results or showed one of your text ads. See the help page at - /// for details. + /// The number of searches that returned pages from your site in the unpaid + /// results or showed one of your text ads. See the help page at + /// for details. #[prost(int64, optional, tag="158")] pub combined_queries: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show - /// on the Display Network but didn't because your budget was too low. - /// Note: Content budget lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show + /// on the Display Network but didn't because your budget was too low. + /// Note: Content budget lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="159")] pub content_budget_lost_impression_share: ::core::option::Option, - /// The impressions you've received on the Display Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Content impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Display Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Content impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="160")] pub content_impression_share: ::core::option::Option, - /// The last date/time a conversion tag for this conversion action successfully - /// fired and was seen by Google Ads. This firing event may not have been the - /// result of an attributable conversion (e.g. because the tag was fired from a - /// browser that did not previously click an ad from an appropriate - /// advertiser). The date/time is in the customer's time zone. + /// The last date/time a conversion tag for this conversion action successfully + /// fired and was seen by Google Ads. This firing event may not have been the + /// result of an attributable conversion (e.g. because the tag was fired from a + /// browser that did not previously click an ad from an appropriate + /// advertiser). The date/time is in the customer's time zone. #[prost(string, optional, tag="161")] pub conversion_last_received_request_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The date of the most recent conversion for this conversion action. The date - /// is in the customer's time zone. + /// The date of the most recent conversion for this conversion action. The date + /// is in the customer's time zone. #[prost(string, optional, tag="162")] pub conversion_last_conversion_date: ::core::option::Option<::prost::alloc::string::String>, - /// The estimated percentage of impressions on the Display Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Content rank lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Display Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Content rank lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="163")] pub content_rank_lost_impression_share: ::core::option::Option, - /// Conversions from interactions divided by the number of ad interactions - /// (such as clicks for text ads or views for video ads). This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// Conversions from interactions divided by the number of ad interactions + /// (such as clicks for text ads or views for video ads). This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="164")] pub conversions_from_interactions_rate: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="165")] pub conversions_value: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="242")] pub conversions_value_by_conversion_date: f64, - /// The value of conversions divided by the cost of ad interactions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the cost of ad interactions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="166")] pub conversions_value_per_cost: ::core::option::Option, - /// The value of conversions from interactions divided by the number of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions from interactions divided by the number of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="167")] pub conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="168")] pub conversions: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="243")] pub conversions_by_conversion_date: f64, - /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions - /// (CPM) costs during this period. + /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions + /// (CPM) costs during this period. #[prost(int64, optional, tag="169")] pub cost_micros: ::core::option::Option, - /// The cost of ad interactions divided by all conversions. + /// The cost of ad interactions divided by all conversions. #[prost(double, optional, tag="170")] pub cost_per_all_conversions: ::core::option::Option, - /// The cost of ad interactions divided by conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The cost of ad interactions divided by conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="171")] pub cost_per_conversion: ::core::option::Option, - /// The cost of ad interactions divided by current model attributed - /// conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The cost of ad interactions divided by current model attributed + /// conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="172")] pub cost_per_current_model_attributed_conversion: ::core::option::Option, - /// Conversions from when a customer clicks on a Google Ads ad on one device, - /// then converts on a different device or browser. - /// Cross-device conversions are already included in all_conversions. + /// Conversions from when a customer clicks on a Google Ads ad on one device, + /// then converts on a different device or browser. + /// Cross-device conversions are already included in all_conversions. #[prost(double, optional, tag="173")] pub cross_device_conversions: ::core::option::Option, - /// The number of clicks your ad receives (Clicks) divided by the number - /// of times your ad is shown (Impressions). + /// The number of clicks your ad receives (Clicks) divided by the number + /// of times your ad is shown (Impressions). #[prost(double, optional, tag="174")] pub ctr: ::core::option::Option, - /// Shows how your historic conversions data would look under the attribution - /// model you've currently selected. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Shows how your historic conversions data would look under the attribution + /// model you've currently selected. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="175")] pub current_model_attributed_conversions: ::core::option::Option, - /// Current model attributed conversions from interactions divided by the - /// number of ad interactions (such as clicks for text ads or views for video - /// ads). This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Current model attributed conversions from interactions divided by the + /// number of ad interactions (such as clicks for text ads or views for video + /// ads). This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="176")] pub current_model_attributed_conversions_from_interactions_rate: ::core::option::Option, - /// The value of current model attributed conversions from interactions divided - /// by the number of ad interactions. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions from interactions divided + /// by the number of ad interactions. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="177")] pub current_model_attributed_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The value of current model attributed conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The value of current model attributed conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="178")] pub current_model_attributed_conversions_value: ::core::option::Option, - /// The value of current model attributed conversions divided by the cost of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the cost of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="179")] pub current_model_attributed_conversions_value_per_cost: ::core::option::Option, - /// How often people engage with your ad after it's shown to them. This is the - /// number of ad expansions divided by the number of times your ad is shown. + /// How often people engage with your ad after it's shown to them. This is the + /// number of ad expansions divided by the number of times your ad is shown. #[prost(double, optional, tag="180")] pub engagement_rate: ::core::option::Option, - /// The number of engagements. - /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the - /// future, other ad types may support engagement metrics. + /// The number of engagements. + /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the + /// future, other ad types may support engagement metrics. #[prost(int64, optional, tag="181")] pub engagements: ::core::option::Option, - /// Average lead value based on clicks. + /// Average lead value based on clicks. #[prost(double, optional, tag="213")] pub hotel_average_lead_value_micros: ::core::option::Option, - /// Commission bid rate in micros. A 20% commission is represented as - /// 200,000. + /// Commission bid rate in micros. A 20% commission is represented as + /// 200,000. #[prost(int64, optional, tag="256")] pub hotel_commission_rate_micros: ::core::option::Option, - /// Expected commission cost. The result of multiplying the commission value - /// times the hotel_commission_rate in advertiser currency. + /// Expected commission cost. The result of multiplying the commission value + /// times the hotel_commission_rate in advertiser currency. #[prost(double, optional, tag="257")] pub hotel_expected_commission_cost: ::core::option::Option, - /// The average price difference between the price offered by reporting hotel - /// advertiser and the cheapest price offered by the competing advertiser. + /// The average price difference between the price offered by reporting hotel + /// advertiser and the cheapest price offered by the competing advertiser. #[prost(double, optional, tag="214")] pub hotel_price_difference_percentage: ::core::option::Option, - /// The number of impressions that hotel partners could have had given their - /// feed performance. + /// The number of impressions that hotel partners could have had given their + /// feed performance. #[prost(int64, optional, tag="215")] pub hotel_eligible_impressions: ::core::option::Option, - /// The creative historical quality score. + /// The creative historical quality score. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="80")] pub historical_creative_quality_score: i32, - /// The quality of historical landing page experience. + /// The quality of historical landing page experience. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="81")] pub historical_landing_page_quality_score: i32, - /// The historical quality score. + /// The historical quality score. #[prost(int64, optional, tag="216")] pub historical_quality_score: ::core::option::Option, - /// The historical search predicted click through rate (CTR). + /// The historical search predicted click through rate (CTR). #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="83")] pub historical_search_predicted_ctr: i32, - /// The number of times the ad was forwarded to someone else as a message. + /// The number of times the ad was forwarded to someone else as a message. #[prost(int64, optional, tag="217")] pub gmail_forwards: ::core::option::Option, - /// The number of times someone has saved your Gmail ad to their inbox as a - /// message. + /// The number of times someone has saved your Gmail ad to their inbox as a + /// message. #[prost(int64, optional, tag="218")] pub gmail_saves: ::core::option::Option, - /// The number of clicks to the landing page on the expanded state of Gmail - /// ads. + /// The number of clicks to the landing page on the expanded state of Gmail + /// ads. #[prost(int64, optional, tag="219")] pub gmail_secondary_clicks: ::core::option::Option, - /// The number of times a store's location-based ad was shown. - /// This metric applies to feed items only. + /// The number of times a store's location-based ad was shown. + /// This metric applies to feed items only. #[prost(int64, optional, tag="220")] pub impressions_from_store_reach: ::core::option::Option, - /// Count of how often your ad has appeared on a search results page or - /// website on the Google Network. + /// Count of how often your ad has appeared on a search results page or + /// website on the Google Network. #[prost(int64, optional, tag="221")] pub impressions: ::core::option::Option, - /// How often people interact with your ad after it is shown to them. - /// This is the number of interactions divided by the number of times your ad - /// is shown. + /// How often people interact with your ad after it is shown to them. + /// This is the number of interactions divided by the number of times your ad + /// is shown. #[prost(double, optional, tag="222")] pub interaction_rate: ::core::option::Option, - /// The number of interactions. - /// An interaction is the main user action associated with an ad format-clicks - /// for text and shopping ads, views for video ads, and so on. + /// The number of interactions. + /// An interaction is the main user action associated with an ad format-clicks + /// for text and shopping ads, views for video ads, and so on. #[prost(int64, optional, tag="223")] pub interactions: ::core::option::Option, - /// The types of payable and free interactions. + /// The types of payable and free interactions. #[prost(enumeration="super::enums::interaction_event_type_enum::InteractionEventType", repeated, tag="100")] pub interaction_event_types: ::prost::alloc::vec::Vec, - /// The percentage of clicks filtered out of your total number of clicks - /// (filtered + non-filtered clicks) during the reporting period. + /// The percentage of clicks filtered out of your total number of clicks + /// (filtered + non-filtered clicks) during the reporting period. #[prost(double, optional, tag="224")] pub invalid_click_rate: ::core::option::Option, - /// Number of clicks Google considers illegitimate and doesn't charge you for. + /// Number of clicks Google considers illegitimate and doesn't charge you for. #[prost(int64, optional, tag="225")] pub invalid_clicks: ::core::option::Option, - /// Number of message chats initiated for Click To Message impressions that - /// were message tracking eligible. + /// Number of message chats initiated for Click To Message impressions that + /// were message tracking eligible. #[prost(int64, optional, tag="226")] pub message_chats: ::core::option::Option, - /// Number of Click To Message impressions that were message tracking eligible. + /// Number of Click To Message impressions that were message tracking eligible. #[prost(int64, optional, tag="227")] pub message_impressions: ::core::option::Option, - /// Number of message chats initiated (message_chats) divided by the number - /// of message impressions (message_impressions). - /// Rate at which a user initiates a message chat from an ad impression with - /// a messaging option and message tracking enabled. - /// Note that this rate can be more than 1.0 for a given message impression. + /// Number of message chats initiated (message_chats) divided by the number + /// of message impressions (message_impressions). + /// Rate at which a user initiates a message chat from an ad impression with + /// a messaging option and message tracking enabled. + /// Note that this rate can be more than 1.0 for a given message impression. #[prost(double, optional, tag="228")] pub message_chat_rate: ::core::option::Option, - /// The percentage of mobile clicks that go to a mobile-friendly page. + /// The percentage of mobile clicks that go to a mobile-friendly page. #[prost(double, optional, tag="229")] pub mobile_friendly_clicks_percentage: ::core::option::Option, - /// Total optimization score uplift of all recommendations. + /// Total optimization score uplift of all recommendations. #[prost(double, optional, tag="247")] pub optimization_score_uplift: ::core::option::Option, - /// URL for the optimization score page in the Google Ads web interface. - /// This metric can be selected from `customer` or `campaign`, and can be - /// segmented by `segments.recommendation_type`. For example, `SELECT - /// metrics.optimization_score_url, segments.recommendation_type FROM - /// customer` will return a URL for each unique (customer, recommendation_type) - /// combination. + /// URL for the optimization score page in the Google Ads web interface. + /// This metric can be selected from `customer` or `campaign`, and can be + /// segmented by `segments.recommendation_type`. For example, `SELECT + /// metrics.optimization_score_url, segments.recommendation_type FROM + /// customer` will return a URL for each unique (customer, recommendation_type) + /// combination. #[prost(string, optional, tag="248")] pub optimization_score_url: ::core::option::Option<::prost::alloc::string::String>, - /// The number of times someone clicked your site's listing in the unpaid - /// results for a particular query. See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results for a particular query. See the help page at + /// for details. #[prost(int64, optional, tag="230")] pub organic_clicks: ::core::option::Option, - /// The number of times someone clicked your site's listing in the unpaid - /// results (organic_clicks) divided by the total number of searches that - /// returned pages from your site (organic_queries). See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results (organic_clicks) divided by the total number of searches that + /// returned pages from your site (organic_queries). See the help page at + /// for details. #[prost(double, optional, tag="231")] pub organic_clicks_per_query: ::core::option::Option, - /// The number of listings for your site in the unpaid search results. See the - /// help page at for - /// details. + /// The number of listings for your site in the unpaid search results. See the + /// help page at for + /// details. #[prost(int64, optional, tag="232")] pub organic_impressions: ::core::option::Option, - /// The number of times a page from your site was listed in the unpaid search - /// results (organic_impressions) divided by the number of searches returning - /// your site's listing in the unpaid results (organic_queries). See the help - /// page at for details. + /// The number of times a page from your site was listed in the unpaid search + /// results (organic_impressions) divided by the number of searches returning + /// your site's listing in the unpaid results (organic_queries). See the help + /// page at for details. #[prost(double, optional, tag="233")] pub organic_impressions_per_query: ::core::option::Option, - /// The total number of searches that returned your site's listing in the - /// unpaid results. See the help page at - /// for details. + /// The total number of searches that returned your site's listing in the + /// unpaid results. See the help page at + /// for details. #[prost(int64, optional, tag="234")] pub organic_queries: ::core::option::Option, - /// Percentage of first-time sessions (from people who had never visited your - /// site before). Imported from Google Analytics. + /// Percentage of first-time sessions (from people who had never visited your + /// site before). Imported from Google Analytics. #[prost(double, optional, tag="235")] pub percent_new_visitors: ::core::option::Option, - /// Number of offline phone calls. + /// Number of offline phone calls. #[prost(int64, optional, tag="236")] pub phone_calls: ::core::option::Option, - /// Number of offline phone impressions. + /// Number of offline phone impressions. #[prost(int64, optional, tag="237")] pub phone_impressions: ::core::option::Option, - /// Number of phone calls received (phone_calls) divided by the number of - /// times your phone number is shown (phone_impressions). + /// Number of phone calls received (phone_calls) divided by the number of + /// times your phone number is shown (phone_impressions). #[prost(double, optional, tag="238")] pub phone_through_rate: ::core::option::Option, - /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of - /// all advertisers on the websites that show your ads. Measures how your ads - /// perform on Display Network sites compared to other ads on the same sites. + /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of + /// all advertisers on the websites that show your ads. Measures how your ads + /// perform on Display Network sites compared to other ads on the same sites. #[prost(double, optional, tag="239")] pub relative_ctr: ::core::option::Option, - /// The percentage of the customer's Shopping or Search ad impressions that are - /// shown in the most prominent Shopping position. See - /// - /// for details. Any value below 0.1 is reported as 0.0999. + /// The percentage of the customer's Shopping or Search ad impressions that are + /// shown in the most prominent Shopping position. See + /// + /// for details. Any value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="136")] pub search_absolute_top_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to a low budget. Note: Search - /// budget lost absolute top impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to a low budget. Note: Search + /// budget lost absolute top impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="137")] pub search_budget_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show on the - /// Search Network but didn't because your budget was too low. Note: Search - /// budget lost impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show on the + /// Search Network but didn't because your budget was too low. Note: Search + /// budget lost impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="138")] pub search_budget_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to a low budget. Note: Search - /// budget lost top impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to a low budget. Note: Search + /// budget lost top impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="139")] pub search_budget_lost_top_impression_share: ::core::option::Option, - /// The number of clicks you've received on the Search Network - /// divided by the estimated number of clicks you were eligible to receive. - /// Note: Search click share is reported in the range of 0.1 to 1. Any value - /// below 0.1 is reported as 0.0999. + /// The number of clicks you've received on the Search Network + /// divided by the estimated number of clicks you were eligible to receive. + /// Note: Search click share is reported in the range of 0.1 to 1. Any value + /// below 0.1 is reported as 0.0999. #[prost(double, optional, tag="140")] pub search_click_share: ::core::option::Option, - /// The impressions you've received divided by the estimated number of - /// impressions you were eligible to receive on the Search Network for search - /// terms that matched your keywords exactly (or were close variants of your - /// keyword), regardless of your keyword match types. Note: Search exact match - /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 - /// is reported as 0.0999. + /// The impressions you've received divided by the estimated number of + /// impressions you were eligible to receive on the Search Network for search + /// terms that matched your keywords exactly (or were close variants of your + /// keyword), regardless of your keyword match types. Note: Search exact match + /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 + /// is reported as 0.0999. #[prost(double, optional, tag="141")] pub search_exact_match_impression_share: ::core::option::Option, - /// The impressions you've received on the Search Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Search impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Search Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Search impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="142")] pub search_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost absolute top impression share is reported in the - /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost absolute top impression share is reported in the + /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="143")] pub search_rank_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percentage of impressions on the Search Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Search rank lost impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Search Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Search rank lost impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="144")] pub search_rank_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost top impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost top impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="145")] pub search_rank_lost_top_impression_share: ::core::option::Option, - /// The impressions you've received in the top location (anywhere above the - /// organic search results) compared to the estimated number of impressions you - /// were eligible to receive in the top location. - /// Note: Search top impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received in the top location (anywhere above the + /// organic search results) compared to the estimated number of impressions you + /// were eligible to receive in the top location. + /// Note: Search top impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="146")] pub search_top_impression_share: ::core::option::Option, - /// A measure of how quickly your page loads after clicks on your mobile ads. - /// The score is a range from 1 to 10, 10 being the fastest. + /// A measure of how quickly your page loads after clicks on your mobile ads. + /// The score is a range from 1 to 10, 10 being the fastest. #[prost(int64, optional, tag="147")] pub speed_score: ::core::option::Option, - /// The percent of your ad impressions that are shown anywhere above the - /// organic search results. + /// The percent of your ad impressions that are shown anywhere above the + /// organic search results. #[prost(double, optional, tag="148")] pub top_impression_percentage: ::core::option::Option, - /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - /// that reach a valid AMP page. + /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages + /// that reach a valid AMP page. #[prost(double, optional, tag="149")] pub valid_accelerated_mobile_pages_clicks_percentage: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. + /// The value of all conversions divided by the number of all conversions. #[prost(double, optional, tag="150")] pub value_per_all_conversions: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. When - /// this column is selected with date, the values in date column means the - /// conversion date. Details for the by_conversion_date columns are available - /// at + /// The value of all conversions divided by the number of all conversions. When + /// this column is selected with date, the values in date column means the + /// conversion date. Details for the by_conversion_date columns are available + /// at #[prost(double, optional, tag="244")] pub value_per_all_conversions_by_conversion_date: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="151")] pub value_per_conversion: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. When this column is selected with - /// date, the values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. When this column is selected with + /// date, the values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, optional, tag="245")] pub value_per_conversions_by_conversion_date: ::core::option::Option, - /// The value of current model attributed conversions divided by the number of - /// the conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the number of + /// the conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="152")] pub value_per_current_model_attributed_conversion: ::core::option::Option, - /// Percentage of impressions where the viewer watched all of your video. + /// Percentage of impressions where the viewer watched all of your video. #[prost(double, optional, tag="132")] pub video_quartile_p100_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 25% of your video. + /// Percentage of impressions where the viewer watched 25% of your video. #[prost(double, optional, tag="133")] pub video_quartile_p25_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 50% of your video. + /// Percentage of impressions where the viewer watched 50% of your video. #[prost(double, optional, tag="134")] pub video_quartile_p50_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 75% of your video. + /// Percentage of impressions where the viewer watched 75% of your video. #[prost(double, optional, tag="135")] pub video_quartile_p75_rate: ::core::option::Option, - /// The number of views your TrueView video ad receives divided by its number - /// of impressions, including thumbnail impressions for TrueView in-display - /// ads. + /// The number of views your TrueView video ad receives divided by its number + /// of impressions, including thumbnail impressions for TrueView in-display + /// ads. #[prost(double, optional, tag="153")] pub video_view_rate: ::core::option::Option, - /// The number of times your video ads were viewed. + /// The number of times your video ads were viewed. #[prost(int64, optional, tag="154")] pub video_views: ::core::option::Option, - /// The total number of view-through conversions. - /// These happen when a customer sees an image or rich media ad, then later - /// completes a conversion on your site without interacting with (e.g., - /// clicking on) another ad. + /// The total number of view-through conversions. + /// These happen when a customer sees an image or rich media ad, then later + /// completes a conversion on your site without interacting with (e.g., + /// clicking on) another ad. #[prost(int64, optional, tag="155")] pub view_through_conversions: ::core::option::Option, - /// The number of iOS Store Kit Ad Network conversions. + /// The number of iOS Store Kit Ad Network conversions. #[prost(int64, tag="246")] pub sk_ad_network_conversions: i64, } -// Proto file describing offline user data. +// Proto file describing offline user data. -/// Address identifier of offline data. +/// Address identifier of offline data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserAddressInfo { - /// First name of the user, which is hashed as SHA-256 after normalized - /// (Lowercase all characters; Remove any extra spaces before, after, and in - /// between). + /// First name of the user, which is hashed as SHA-256 after normalized + /// (Lowercase all characters; Remove any extra spaces before, after, and in + /// between). #[prost(string, optional, tag="7")] pub hashed_first_name: ::core::option::Option<::prost::alloc::string::String>, - /// Last name of the user, which is hashed as SHA-256 after normalized (lower - /// case only and no punctuation). + /// Last name of the user, which is hashed as SHA-256 after normalized (lower + /// case only and no punctuation). #[prost(string, optional, tag="8")] pub hashed_last_name: ::core::option::Option<::prost::alloc::string::String>, - /// City of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// City of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="9")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// State code of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// State code of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="10")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the user's address. + /// Postal code of the user's address. #[prost(string, optional, tag="12")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// The street address of the user hashed using SHA-256 hash function after - /// normalization (lower case only). Only accepted for - /// ConversionAdjustmentUploadService. + /// The street address of the user hashed using SHA-256 hash function after + /// normalization (lower case only). Only accepted for + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="13")] pub hashed_street_address: ::core::option::Option<::prost::alloc::string::String>, } -/// User identifying information. +/// User identifying information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifier { - /// Source of the user identifier when the upload is from Store Sales, - /// ConversionUploadService, or ConversionAdjustmentUploadService. + /// Source of the user identifier when the upload is from Store Sales, + /// ConversionUploadService, or ConversionAdjustmentUploadService. #[prost(enumeration="super::enums::user_identifier_source_enum::UserIdentifierSource", tag="6")] pub user_identifier_source: i32, - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[prost(oneof="user_identifier::Identifier", tags="7, 8, 9, 10, 5")] pub identifier: ::core::option::Option, } /// Nested message and enum types in `UserIdentifier`. pub mod user_identifier { - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Identifier { - /// Hashed email address using SHA-256 hash function after normalization. - /// Accepted for Customer Match, Store Sales, ConversionUploadService, and - /// ConversionAdjustmentUploadService. + /// Hashed email address using SHA-256 hash function after normalization. + /// Accepted for Customer Match, Store Sales, ConversionUploadService, and + /// ConversionAdjustmentUploadService. #[prost(string, tag="7")] HashedEmail(::prost::alloc::string::String), - /// Hashed phone number using SHA-256 hash function after normalization - /// (E164 standard). Accepted for Customer Match, Store Sales, - /// ConversionUploadService, and ConversionAdjustmentUploadService. + /// Hashed phone number using SHA-256 hash function after normalization + /// (E164 standard). Accepted for Customer Match, Store Sales, + /// ConversionUploadService, and ConversionAdjustmentUploadService. #[prost(string, tag="8")] HashedPhoneNumber(::prost::alloc::string::String), - /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. + /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. #[prost(string, tag="9")] MobileId(::prost::alloc::string::String), - /// Advertiser-assigned user ID for Customer Match upload, or - /// third-party-assigned user ID for Store Sales. Accepted only for Customer - /// Match and Store Sales. + /// Advertiser-assigned user ID for Customer Match upload, or + /// third-party-assigned user ID for Store Sales. Accepted only for Customer + /// Match and Store Sales. #[prost(string, tag="10")] ThirdPartyUserId(::prost::alloc::string::String), - /// Address information. Accepted only for Customer Match, Store Sales, and - /// ConversionAdjustmentUploadService. + /// Address information. Accepted only for Customer Match, Store Sales, and + /// ConversionAdjustmentUploadService. #[prost(message, tag="5")] AddressInfo(super::OfflineUserAddressInfo), } } -/// Attribute of the store sales transaction. +/// Attribute of the store sales transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransactionAttribute { - /// Timestamp when transaction occurred. Required. - /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" + /// Timestamp when transaction occurred. Required. + /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" #[prost(string, optional, tag="8")] pub transaction_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction amount in micros. Required. - /// Transaction amount in micros needs to be greater than 1000. - /// If item Attributes are provided, it represents the total value of the - /// items, after multiplying the unit price per item by the quantity provided - /// in the ItemAttributes. + /// Transaction amount in micros. Required. + /// Transaction amount in micros needs to be greater than 1000. + /// If item Attributes are provided, it represents the total value of the + /// items, after multiplying the unit price per item by the quantity provided + /// in the ItemAttributes. #[prost(double, optional, tag="9")] pub transaction_amount_micros: ::core::option::Option, - /// Transaction currency code. ISO 4217 three-letter code is used. Required. + /// Transaction currency code. ISO 4217 three-letter code is used. Required. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The resource name of conversion action to report conversions to. - /// Required. + /// The resource name of conversion action to report conversions to. + /// Required. #[prost(string, optional, tag="11")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction order id. - /// Accessible only to customers on the allow-list. + /// Transaction order id. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="12")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Store attributes of the transaction. - /// Accessible only to customers on the allow-list. + /// Store attributes of the transaction. + /// Accessible only to customers on the allow-list. #[prost(message, optional, tag="6")] pub store_attribute: ::core::option::Option, - /// Value of the custom variable for each transaction. - /// Accessible only to customers on the allow-list. + /// Value of the custom variable for each transaction. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="13")] pub custom_value: ::core::option::Option<::prost::alloc::string::String>, - /// Item attributes of the transaction. + /// Item attributes of the transaction. #[prost(message, optional, tag="14")] pub item_attribute: ::core::option::Option, } -/// Store attributes of the transaction. +/// Store attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreAttribute { - /// Store code from - /// + /// Store code from + /// #[prost(string, optional, tag="2")] pub store_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Item attributes of the transaction. +/// Item attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ItemAttribute { - /// A unique identifier of a product. It can be either the Merchant Center Item - /// ID or GTIN (Global Trade Item Number). + /// A unique identifier of a product. It can be either the Merchant Center Item + /// ID or GTIN (Global Trade Item Number). #[prost(string, tag="1")] pub item_id: ::prost::alloc::string::String, - /// ID of the Merchant Center Account. + /// ID of the Merchant Center Account. #[prost(int64, optional, tag="2")] pub merchant_id: ::core::option::Option, - /// Common Locale Data Repository (CLDR) territory code of the country - /// associated with the feed where your items are uploaded. See - /// - /// for more information. + /// Common Locale Data Repository (CLDR) territory code of the country + /// associated with the feed where your items are uploaded. See + /// + /// for more information. #[prost(string, tag="3")] pub country_code: ::prost::alloc::string::String, - /// ISO 639-1 code of the language associated with the feed where your items - /// are uploaded + /// ISO 639-1 code of the language associated with the feed where your items + /// are uploaded #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// The number of items sold. Defaults to 1 if not set. + /// The number of items sold. Defaults to 1 if not set. #[prost(int64, tag="5")] pub quantity: i64, } -/// User data holding user identifiers and attributes. +/// User data holding user identifiers and attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserData { - /// User identification info. Required. + /// User identification info. Required. #[prost(message, repeated, tag="1")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// Additional transactions/attributes associated with the user. - /// Required when updating store sales data. + /// Additional transactions/attributes associated with the user. + /// Required when updating store sales data. #[prost(message, optional, tag="2")] pub transaction_attribute: ::core::option::Option, - /// Additional attributes associated with the user. Required when updating - /// customer match attributes. These have an expiration of 540 days. + /// Additional attributes associated with the user. Required when updating + /// customer match attributes. These have an expiration of 540 days. #[prost(message, optional, tag="3")] pub user_attribute: ::core::option::Option, } -/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -/// type. +/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job +/// type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserAttribute { - /// Advertiser defined lifetime value for the user. + /// Advertiser defined lifetime value for the user. #[prost(int64, optional, tag="1")] pub lifetime_value_micros: ::core::option::Option, - /// Advertiser defined lifetime value bucket for the user. The valid range for - /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove - /// operation where 0 will also be accepted. + /// Advertiser defined lifetime value bucket for the user. The valid range for + /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove + /// operation where 0 will also be accepted. #[prost(int32, optional, tag="2")] pub lifetime_value_bucket: ::core::option::Option, - /// Timestamp of the last purchase made by the user. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp of the last purchase made by the user. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="3")] pub last_purchase_date_time: ::prost::alloc::string::String, - /// Advertiser defined average number of purchases that are made by the user in - /// a 30 day period. + /// Advertiser defined average number of purchases that are made by the user in + /// a 30 day period. #[prost(int32, tag="4")] pub average_purchase_count: i32, - /// Advertiser defined average purchase value in micros for the user. + /// Advertiser defined average purchase value in micros for the user. #[prost(int64, tag="5")] pub average_purchase_value_micros: i64, - /// Timestamp when the user was acquired. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp when the user was acquired. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="6")] pub acquisition_date_time: ::prost::alloc::string::String, - /// The shopping loyalty related data. Shopping utilizes this data to provide - /// users with a better experience. Accessible only to merchants on the - /// allow-list with the user's consent. + /// The shopping loyalty related data. Shopping utilizes this data to provide + /// users with a better experience. Accessible only to merchants on the + /// allow-list with the user's consent. #[prost(message, optional, tag="7")] pub shopping_loyalty: ::core::option::Option, } -/// The shopping loyalty related data. Shopping utilizes this data to provide -/// users with a better experience. -/// Accessible only to merchants on the allow-list. +/// The shopping loyalty related data. Shopping utilizes this data to provide +/// users with a better experience. +/// Accessible only to merchants on the allow-list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingLoyalty { - /// The membership tier. It is a free-form string as each merchant may have - /// their own loyalty system. For example, it could be a number from 1 to 10, - /// or a string such as "Golden" or "Silver", or even empty string "". + /// The membership tier. It is a free-form string as each merchant may have + /// their own loyalty system. For example, it could be a number from 1 to 10, + /// or a string such as "Golden" or "Silver", or even empty string "". #[prost(string, optional, tag="1")] pub loyalty_tier: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for customer match user list. +/// Metadata for customer match user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUserListMetadata { - /// The resource name of remarketing list to update data. - /// Required for job of CUSTOMER_MATCH_USER_LIST type. + /// The resource name of remarketing list to update data. + /// Required for job of CUSTOMER_MATCH_USER_LIST type. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for Store Sales Direct. +/// Metadata for Store Sales Direct. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesMetadata { - /// This is the fraction of all transactions that are identifiable (i.e., - /// associated with any form of customer information). - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// This is the fraction of all transactions that are identifiable (i.e., + /// associated with any form of customer information). + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="5")] pub loyalty_fraction: ::core::option::Option, - /// This is the ratio of sales being uploaded compared to the overall sales - /// that can be associated with a customer. Required. - /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you - /// upload half the sales that you are able to associate with a customer, this - /// would be 0.5. + /// This is the ratio of sales being uploaded compared to the overall sales + /// that can be associated with a customer. Required. + /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you + /// upload half the sales that you are able to associate with a customer, this + /// would be 0.5. #[prost(double, optional, tag="6")] pub transaction_upload_fraction: ::core::option::Option, - /// Name of the store sales custom variable key. A predefined key that - /// can be applied to the transaction and then later used for custom - /// segmentation in reporting. - /// Accessible only to customers on the allow-list. + /// Name of the store sales custom variable key. A predefined key that + /// can be applied to the transaction and then later used for custom + /// segmentation in reporting. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="7")] pub custom_key: ::core::option::Option<::prost::alloc::string::String>, - /// Metadata for a third party Store Sales upload. + /// Metadata for a third party Store Sales upload. #[prost(message, optional, tag="3")] pub third_party_metadata: ::core::option::Option, } -/// Metadata for a third party Store Sales. -/// This product is only for customers on the allow-list. Please contact your -/// Google business development representative for details on the upload -/// configuration. +/// Metadata for a third party Store Sales. +/// This product is only for customers on the allow-list. Please contact your +/// Google business development representative for details on the upload +/// configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesThirdPartyMetadata { - /// Time the advertiser uploaded the data to the partner. Required. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Time the advertiser uploaded the data to the partner. Required. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="7")] pub advertiser_upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The fraction of transactions that are valid. Invalid transactions may - /// include invalid formats or values. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of transactions that are valid. Invalid transactions may + /// include invalid formats or values. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="8")] pub valid_transaction_fraction: ::core::option::Option, - /// The fraction of valid transactions that are matched to a third party - /// assigned user ID on the partner side. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are matched to a third party + /// assigned user ID on the partner side. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="9")] pub partner_match_fraction: ::core::option::Option, - /// The fraction of valid transactions that are uploaded by the partner to - /// Google. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are uploaded by the partner to + /// Google. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="10")] pub partner_upload_fraction: ::core::option::Option, - /// Version of partner IDs to be used for uploads. Required. + /// Version of partner IDs to be used for uploads. Required. #[prost(string, optional, tag="11")] pub bridge_map_version_id: ::core::option::Option<::prost::alloc::string::String>, - /// ID of the third party partner updating the transaction feed. + /// ID of the third party partner updating the transaction feed. #[prost(int64, optional, tag="12")] pub partner_id: ::core::option::Option, } -// Proto file describing policy summary. +// Proto file describing policy summary. -/// Contains policy summary information. +/// Contains policy summary information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicySummary { - /// The list of policy findings. + /// The list of policy findings. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process the resource is. + /// Where in the review process the resource is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing RealTimeBiddingSetting +// Proto file describing RealTimeBiddingSetting -/// Settings for Real-Time Bidding, a feature only available for campaigns -/// targeting the Ad Exchange network. +/// Settings for Real-Time Bidding, a feature only available for campaigns +/// targeting the Ad Exchange network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealTimeBiddingSetting { - /// Whether the campaign is opted in to real-time bidding. + /// Whether the campaign is opted in to real-time bidding. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing segment only fields. +// Proto file describing segment only fields. -/// Segment only fields. +/// Segment only fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Segments { - /// Ad Destination type. + /// Ad Destination type. #[prost(enumeration="super::enums::ad_destination_type_enum::AdDestinationType", tag="136")] pub ad_destination_type: i32, - /// Ad network type. + /// Ad network type. #[prost(enumeration="super::enums::ad_network_type_enum::AdNetworkType", tag="3")] pub ad_network_type: i32, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(message, optional, tag="134")] pub budget_campaign_association_status: ::core::option::Option, - /// Click type. + /// Click type. #[prost(enumeration="super::enums::click_type_enum::ClickType", tag="26")] pub click_type: i32, - /// Resource name of the conversion action. + /// Resource name of the conversion action. #[prost(string, optional, tag="113")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Conversion action category. + /// Conversion action category. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="53")] pub conversion_action_category: i32, - /// Conversion action name. + /// Conversion action name. #[prost(string, optional, tag="114")] pub conversion_action_name: ::core::option::Option<::prost::alloc::string::String>, - /// This segments your conversion columns by the original conversion and - /// conversion value vs. the delta if conversions were adjusted. False row has - /// the data as originally stated; While true row has the delta between data - /// now and the data as originally stated. Summing the two together results - /// post-adjustment data. + /// This segments your conversion columns by the original conversion and + /// conversion value vs. the delta if conversions were adjusted. False row has + /// the data as originally stated; While true row has the delta between data + /// now and the data as originally stated. Summing the two together results + /// post-adjustment data. #[prost(bool, optional, tag="115")] pub conversion_adjustment: ::core::option::Option, - /// Conversion attribution event type. + /// Conversion attribution event type. #[prost(enumeration="super::enums::conversion_attribution_event_type_enum::ConversionAttributionEventType", tag="2")] pub conversion_attribution_event_type: i32, - /// An enum value representing the number of days between the impression and - /// the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion. #[prost(enumeration="super::enums::conversion_lag_bucket_enum::ConversionLagBucket", tag="50")] pub conversion_lag_bucket: i32, - /// An enum value representing the number of days between the impression and - /// the conversion or between the impression and adjustments to the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion or between the impression and adjustments to the conversion. #[prost(enumeration="super::enums::conversion_or_adjustment_lag_bucket_enum::ConversionOrAdjustmentLagBucket", tag="51")] pub conversion_or_adjustment_lag_bucket: i32, - /// Date to which metrics apply. - /// yyyy-MM-dd format, e.g., 2018-04-17. + /// Date to which metrics apply. + /// yyyy-MM-dd format, e.g., 2018-04-17. #[prost(string, optional, tag="79")] pub date: ::core::option::Option<::prost::alloc::string::String>, - /// Day of the week, e.g., MONDAY. + /// Day of the week, e.g., MONDAY. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, - /// Device to which metrics apply. + /// Device to which metrics apply. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// External conversion source. + /// External conversion source. #[prost(enumeration="super::enums::external_conversion_source_enum::ExternalConversionSource", tag="55")] pub external_conversion_source: i32, - /// Resource name of the geo target constant that represents an airport. + /// Resource name of the geo target constant that represents an airport. #[prost(string, optional, tag="116")] pub geo_target_airport: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a canton. + /// Resource name of the geo target constant that represents a canton. #[prost(string, optional, tag="117")] pub geo_target_canton: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a city. + /// Resource name of the geo target constant that represents a city. #[prost(string, optional, tag="118")] pub geo_target_city: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a country. + /// Resource name of the geo target constant that represents a country. #[prost(string, optional, tag="119")] pub geo_target_country: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a county. + /// Resource name of the geo target constant that represents a county. #[prost(string, optional, tag="120")] pub geo_target_county: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a district. + /// Resource name of the geo target constant that represents a district. #[prost(string, optional, tag="121")] pub geo_target_district: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a metro. + /// Resource name of the geo target constant that represents a metro. #[prost(string, optional, tag="122")] pub geo_target_metro: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents the most - /// specific location. + /// Resource name of the geo target constant that represents the most + /// specific location. #[prost(string, optional, tag="123")] pub geo_target_most_specific_location: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a postal code. + /// Resource name of the geo target constant that represents a postal code. #[prost(string, optional, tag="124")] pub geo_target_postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a province. + /// Resource name of the geo target constant that represents a province. #[prost(string, optional, tag="125")] pub geo_target_province: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a region. + /// Resource name of the geo target constant that represents a region. #[prost(string, optional, tag="126")] pub geo_target_region: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a state. + /// Resource name of the geo target constant that represents a state. #[prost(string, optional, tag="127")] pub geo_target_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel booking window in days. + /// Hotel booking window in days. #[prost(int64, optional, tag="135")] pub hotel_booking_window_days: ::core::option::Option, - /// Hotel center ID. + /// Hotel center ID. #[prost(int64, optional, tag="80")] pub hotel_center_id: ::core::option::Option, - /// Hotel check-in date. Formatted as yyyy-MM-dd. + /// Hotel check-in date. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="81")] pub hotel_check_in_date: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel check-in day of week. + /// Hotel check-in day of week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="9")] pub hotel_check_in_day_of_week: i32, - /// Hotel city. + /// Hotel city. #[prost(string, optional, tag="82")] pub hotel_city: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel class. + /// Hotel class. #[prost(int32, optional, tag="83")] pub hotel_class: ::core::option::Option, - /// Hotel country. + /// Hotel country. #[prost(string, optional, tag="84")] pub hotel_country: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel date selection type. + /// Hotel date selection type. #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="13")] pub hotel_date_selection_type: i32, - /// Hotel length of stay. + /// Hotel length of stay. #[prost(int32, optional, tag="85")] pub hotel_length_of_stay: ::core::option::Option, - /// Hotel rate rule ID. + /// Hotel rate rule ID. #[prost(string, optional, tag="86")] pub hotel_rate_rule_id: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel rate type. + /// Hotel rate type. #[prost(enumeration="super::enums::hotel_rate_type_enum::HotelRateType", tag="74")] pub hotel_rate_type: i32, - /// Hotel price bucket. + /// Hotel price bucket. #[prost(enumeration="super::enums::hotel_price_bucket_enum::HotelPriceBucket", tag="78")] pub hotel_price_bucket: i32, - /// Hotel state. + /// Hotel state. #[prost(string, optional, tag="87")] pub hotel_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hour of day as a number between 0 and 23, inclusive. + /// Hour of day as a number between 0 and 23, inclusive. #[prost(int32, optional, tag="88")] pub hour: ::core::option::Option, - /// Only used with feed item metrics. - /// Indicates whether the interaction metrics occurred on the feed item itself - /// or a different extension or ad unit. + /// Only used with feed item metrics. + /// Indicates whether the interaction metrics occurred on the feed item itself + /// or a different extension or ad unit. #[prost(bool, optional, tag="89")] pub interaction_on_this_extension: ::core::option::Option, - /// Keyword criterion. + /// Keyword criterion. #[prost(message, optional, tag="61")] pub keyword: ::core::option::Option, - /// Month as represented by the date of the first day of a month. Formatted as - /// yyyy-MM-dd. + /// Month as represented by the date of the first day of a month. Formatted as + /// yyyy-MM-dd. #[prost(string, optional, tag="90")] pub month: ::core::option::Option<::prost::alloc::string::String>, - /// Month of the year, e.g., January. + /// Month of the year, e.g., January. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="18")] pub month_of_year: i32, - /// Partner hotel ID. + /// Partner hotel ID. #[prost(string, optional, tag="91")] pub partner_hotel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Placeholder type. This is only used with feed item metrics. + /// Placeholder type. This is only used with feed item metrics. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="20")] pub placeholder_type: i32, - /// Aggregator ID of the product. + /// Aggregator ID of the product. #[prost(int64, optional, tag="132")] pub product_aggregator_id: ::core::option::Option, - /// Bidding category (level 1) of the product. + /// Bidding category (level 1) of the product. #[prost(string, optional, tag="92")] pub product_bidding_category_level1: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 2) of the product. + /// Bidding category (level 2) of the product. #[prost(string, optional, tag="93")] pub product_bidding_category_level2: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 3) of the product. + /// Bidding category (level 3) of the product. #[prost(string, optional, tag="94")] pub product_bidding_category_level3: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 4) of the product. + /// Bidding category (level 4) of the product. #[prost(string, optional, tag="95")] pub product_bidding_category_level4: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 5) of the product. + /// Bidding category (level 5) of the product. #[prost(string, optional, tag="96")] pub product_bidding_category_level5: ::core::option::Option<::prost::alloc::string::String>, - /// Brand of the product. + /// Brand of the product. #[prost(string, optional, tag="97")] pub product_brand: ::core::option::Option<::prost::alloc::string::String>, - /// Channel of the product. + /// Channel of the product. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="30")] pub product_channel: i32, - /// Channel exclusivity of the product. + /// Channel exclusivity of the product. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="31")] pub product_channel_exclusivity: i32, - /// Condition of the product. + /// Condition of the product. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="32")] pub product_condition: i32, - /// Resource name of the geo target constant for the country of sale of the - /// product. + /// Resource name of the geo target constant for the country of sale of the + /// product. #[prost(string, optional, tag="98")] pub product_country: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 0 of the product. + /// Custom attribute 0 of the product. #[prost(string, optional, tag="99")] pub product_custom_attribute0: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 1 of the product. + /// Custom attribute 1 of the product. #[prost(string, optional, tag="100")] pub product_custom_attribute1: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 2 of the product. + /// Custom attribute 2 of the product. #[prost(string, optional, tag="101")] pub product_custom_attribute2: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 3 of the product. + /// Custom attribute 3 of the product. #[prost(string, optional, tag="102")] pub product_custom_attribute3: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 4 of the product. + /// Custom attribute 4 of the product. #[prost(string, optional, tag="103")] pub product_custom_attribute4: ::core::option::Option<::prost::alloc::string::String>, - /// Item ID of the product. + /// Item ID of the product. #[prost(string, optional, tag="104")] pub product_item_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the language constant for the language of the product. + /// Resource name of the language constant for the language of the product. #[prost(string, optional, tag="105")] pub product_language: ::core::option::Option<::prost::alloc::string::String>, - /// Merchant ID of the product. + /// Merchant ID of the product. #[prost(int64, optional, tag="133")] pub product_merchant_id: ::core::option::Option, - /// Store ID of the product. + /// Store ID of the product. #[prost(string, optional, tag="106")] pub product_store_id: ::core::option::Option<::prost::alloc::string::String>, - /// Title of the product. + /// Title of the product. #[prost(string, optional, tag="107")] pub product_title: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 1) of the product. + /// Type (level 1) of the product. #[prost(string, optional, tag="108")] pub product_type_l1: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 2) of the product. + /// Type (level 2) of the product. #[prost(string, optional, tag="109")] pub product_type_l2: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 3) of the product. + /// Type (level 3) of the product. #[prost(string, optional, tag="110")] pub product_type_l3: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 4) of the product. + /// Type (level 4) of the product. #[prost(string, optional, tag="111")] pub product_type_l4: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 5) of the product. + /// Type (level 5) of the product. #[prost(string, optional, tag="112")] pub product_type_l5: ::core::option::Option<::prost::alloc::string::String>, - /// Quarter as represented by the date of the first day of a quarter. - /// Uses the calendar year for quarters, e.g., the second quarter of 2018 - /// starts on 2018-04-01. Formatted as yyyy-MM-dd. + /// Quarter as represented by the date of the first day of a quarter. + /// Uses the calendar year for quarters, e.g., the second quarter of 2018 + /// starts on 2018-04-01. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="128")] pub quarter: ::core::option::Option<::prost::alloc::string::String>, - /// Recommendation type. + /// Recommendation type. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="140")] pub recommendation_type: i32, - /// Type of the search engine results page. + /// Type of the search engine results page. #[prost(enumeration="super::enums::search_engine_results_page_type_enum::SearchEngineResultsPageType", tag="70")] pub search_engine_results_page_type: i32, - /// Match type of the keyword that triggered the ad, including variants. + /// Match type of the keyword that triggered the ad, including variants. #[prost(enumeration="super::enums::search_term_match_type_enum::SearchTermMatchType", tag="22")] pub search_term_match_type: i32, - /// Position of the ad. + /// Position of the ad. #[prost(enumeration="super::enums::slot_enum::Slot", tag="23")] pub slot: i32, - /// Primary dimension of applied conversion value rules. - /// NO_RULE_APPLIED shows the total recorded value of conversions that - /// do not have a value rule applied. - /// ORIGINAL shows the original value of conversions to which a value rule - /// has been applied. - /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - /// rules were applied. + /// Primary dimension of applied conversion value rules. + /// NO_RULE_APPLIED shows the total recorded value of conversions that + /// do not have a value rule applied. + /// ORIGINAL shows the original value of conversions to which a value rule + /// has been applied. + /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value + /// rules were applied. #[prost(enumeration="super::enums::conversion_value_rule_primary_dimension_enum::ConversionValueRulePrimaryDimension", tag="138")] pub conversion_value_rule_primary_dimension: i32, - /// Resource name of the ad group criterion that represents webpage criterion. + /// Resource name of the ad group criterion that represents webpage criterion. #[prost(string, optional, tag="129")] pub webpage: ::core::option::Option<::prost::alloc::string::String>, - /// Week as defined as Monday through Sunday, and represented by the date of - /// Monday. Formatted as yyyy-MM-dd. + /// Week as defined as Monday through Sunday, and represented by the date of + /// Monday. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="130")] pub week: ::core::option::Option<::prost::alloc::string::String>, - /// Year, formatted as yyyy. + /// Year, formatted as yyyy. #[prost(int32, optional, tag="131")] pub year: ::core::option::Option, - /// iOS Store Kit Ad Network conversion value. - /// Null value means this segment is not applicable, e.g. non-iOS campaign. + /// iOS Store Kit Ad Network conversion value. + /// Null value means this segment is not applicable, e.g. non-iOS campaign. #[prost(int64, optional, tag="137")] pub sk_ad_network_conversion_value: ::core::option::Option, - /// iOS Store Kit Ad Network user type. + /// iOS Store Kit Ad Network user type. #[prost(enumeration="super::enums::sk_ad_network_user_type_enum::SkAdNetworkUserType", tag="141")] pub sk_ad_network_user_type: i32, - /// iOS Store Kit Ad Network ad event type. + /// iOS Store Kit Ad Network ad event type. #[prost(enumeration="super::enums::sk_ad_network_ad_event_type_enum::SkAdNetworkAdEventType", tag="142")] pub sk_ad_network_ad_event_type: i32, - /// App where the ad that drove the iOS Store Kit Ad Network install was - /// shown. Null value means this segment is not applicable, e.g. non-iOS - /// campaign, or was not present in any postbacks sent by Apple. + /// App where the ad that drove the iOS Store Kit Ad Network install was + /// shown. Null value means this segment is not applicable, e.g. non-iOS + /// campaign, or was not present in any postbacks sent by Apple. #[prost(message, optional, tag="143")] pub sk_ad_network_source_app: ::core::option::Option, - /// iOS Store Kit Ad Network attribution credit + /// iOS Store Kit Ad Network attribution credit #[prost(enumeration="super::enums::sk_ad_network_attribution_credit_enum::SkAdNetworkAttributionCredit", tag="144")] pub sk_ad_network_attribution_credit: i32, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself - /// or a different asset or ad unit. - /// Interactions (e.g. clicks) are counted across all the parts of the served - /// ad (e.g. Ad itself and other components like Sitelinks) when they are - /// served together. When interaction_on_this_asset is true, it means the - /// interactions are on this specific asset and when interaction_on_this_asset - /// is false, it means the interactions is not on this specific asset but on - /// other parts of the served ad this asset is served with. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself + /// or a different asset or ad unit. + /// Interactions (e.g. clicks) are counted across all the parts of the served + /// ad (e.g. Ad itself and other components like Sitelinks) when they are + /// served together. When interaction_on_this_asset is true, it means the + /// interactions are on this specific asset and when interaction_on_this_asset + /// is false, it means the interactions is not on this specific asset but on + /// other parts of the served ad this asset is served with. #[prost(message, optional, tag="139")] pub asset_interaction_target: ::core::option::Option, } -/// A Keyword criterion segment. +/// A Keyword criterion segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Keyword { - /// The AdGroupCriterion resource name. + /// The AdGroupCriterion resource name. #[prost(string, optional, tag="3")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Keyword info. + /// Keyword info. #[prost(message, optional, tag="2")] pub info: ::core::option::Option, } -/// A BudgetCampaignAssociationStatus segment. +/// A BudgetCampaignAssociationStatus segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatus { - /// The campaign resource name. + /// The campaign resource name. #[prost(string, optional, tag="1")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(enumeration="super::enums::budget_campaign_association_status_enum::BudgetCampaignAssociationStatus", tag="2")] pub status: i32, } -/// An AssetInteractionTarget segment. +/// An AssetInteractionTarget segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetInteractionTarget { - /// The asset resource name. + /// The asset resource name. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself or a - /// different asset or ad unit. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself or a + /// different asset or ad unit. #[prost(bool, tag="2")] pub interaction_on_this_asset: bool, } -/// A SkAdNetworkSourceApp segment. +/// A SkAdNetworkSourceApp segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkSourceApp { - /// App id where the ad that drove the iOS Store Kit Ad Network install was - /// shown. + /// App id where the ad that drove the iOS Store Kit Ad Network install was + /// shown. #[prost(string, optional, tag="1")] pub sk_ad_network_source_app_id: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing simulation points. +// Proto file describing simulation points. -/// A container for simulation points for simulations of type BID_MODIFIER. +/// A container for simulation points for simulations of type BID_MODIFIER. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPointList { - /// Projected metrics for a series of bid modifier amounts. + /// Projected metrics for a series of bid modifier amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPC_BID. +/// A container for simulation points for simulations of type CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPointList { - /// Projected metrics for a series of CPC bid amounts. + /// Projected metrics for a series of CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPV_BID. +/// A container for simulation points for simulations of type CPV_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPointList { - /// Projected metrics for a series of CPV bid amounts. + /// Projected metrics for a series of CPV bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_CPA. +/// A container for simulation points for simulations of type TARGET_CPA. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPointList { - /// Projected metrics for a series of target CPA amounts. + /// Projected metrics for a series of target CPA amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_ROAS. +/// A container for simulation points for simulations of type TARGET_ROAS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPointList { - /// Projected metrics for a series of target ROAS amounts. + /// Projected metrics for a series of target ROAS amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type PERCENT_CPC_BID. +/// A container for simulation points for simulations of type PERCENT_CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPointList { - /// Projected metrics for a series of percent CPC bid amounts. + /// Projected metrics for a series of percent CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type BUDGET. +/// A container for simulation points for simulations of type BUDGET. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPointList { - /// Projected metrics for a series of budget amounts. + /// Projected metrics for a series of budget amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type -/// TARGET_IMPRESSION_SHARE. +/// A container for simulation points for simulations of type +/// TARGET_IMPRESSION_SHARE. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPointList { - /// Projected metrics for a specific target impression share value. + /// Projected metrics for a specific target impression share value. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// Projected metrics for a specific bid modifier amount. +/// Projected metrics for a specific bid modifier amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPoint { - /// The simulated bid modifier upon which projected metrics are based. + /// The simulated bid modifier upon which projected metrics are based. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Projected number of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="16")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="17")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="18")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="19")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="20")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="21")] pub top_slot_impressions: ::core::option::Option, - /// Projected number of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="22")] pub parent_biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="23")] pub parent_biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks for the parent resource. + /// Projected number of clicks for the parent resource. #[prost(int64, optional, tag="24")] pub parent_clicks: ::core::option::Option, - /// Projected cost in micros for the parent resource. + /// Projected cost in micros for the parent resource. #[prost(int64, optional, tag="25")] pub parent_cost_micros: ::core::option::Option, - /// Projected number of impressions for the parent resource. + /// Projected number of impressions for the parent resource. #[prost(int64, optional, tag="26")] pub parent_impressions: ::core::option::Option, - /// Projected number of top slot impressions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="27")] pub parent_top_slot_impressions: ::core::option::Option, - /// Projected minimum daily budget that must be available to the parent - /// resource to realize this simulation. + /// Projected minimum daily budget that must be available to the parent + /// resource to realize this simulation. #[prost(int64, optional, tag="28")] pub parent_required_budget_micros: ::core::option::Option, } -/// Projected metrics for a specific CPC bid amount. +/// Projected metrics for a specific CPC bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="17")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[prost(oneof="cpc_bid_simulation_point::CpcSimulationKeyValue", tags="15, 16")] pub cpc_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `CpcBidSimulationPoint`. pub mod cpc_bid_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CpcSimulationKeyValue { - /// The simulated CPC bid upon which projected metrics are based. + /// The simulated CPC bid upon which projected metrics are based. #[prost(int64, tag="15")] CpcBidMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPC bids relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPC bids relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="16")] CpcBidScalingModifier(f64), } } -/// Projected metrics for a specific CPV bid amount. +/// Projected metrics for a specific CPV bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPoint { - /// The simulated CPV bid upon which projected metrics are based. + /// The simulated CPV bid upon which projected metrics are based. #[prost(int64, optional, tag="5")] pub cpv_bid_micros: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="6")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="7")] pub impressions: ::core::option::Option, - /// Projected number of views. + /// Projected number of views. #[prost(int64, optional, tag="8")] pub views: ::core::option::Option, } -/// Projected metrics for a specific target CPA amount. +/// Projected metrics for a specific target CPA amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="19")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of app installs. + /// Projected number of app installs. #[prost(double, tag="15")] pub app_installs: f64, - /// Projected number of in-app actions. + /// Projected number of in-app actions. #[prost(double, tag="16")] pub in_app_actions: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[prost(oneof="target_cpa_simulation_point::TargetCpaSimulationKeyValue", tags="17, 18")] pub target_cpa_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `TargetCpaSimulationPoint`. pub mod target_cpa_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetCpaSimulationKeyValue { - /// The simulated target CPA upon which projected metrics are based. + /// The simulated target CPA upon which projected metrics are based. #[prost(int64, tag="17")] TargetCpaMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPA targets relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPA targets relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="18")] TargetCpaScalingModifier(f64), } } -/// Projected metrics for a specific target ROAS amount. +/// Projected metrics for a specific target ROAS amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPoint { - /// The simulated target ROAS upon which projected metrics are based. + /// The simulated target ROAS upon which projected metrics are based. #[prost(double, optional, tag="8")] pub target_roas: ::core::option::Option, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="15")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only Search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only Search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific percent CPC amount. Only Hotel advertising -/// channel type supports this field. +/// Projected metrics for a specific percent CPC amount. Only Hotel advertising +/// channel type supports this field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPoint { - /// The simulated percent CPC upon which projected metrics are based. Percent - /// CPC expressed as fraction of the advertised price for some good or service. - /// The value stored here is 1,000,000 * \[fraction\]. + /// The simulated percent CPC upon which projected metrics are based. Percent + /// CPC expressed as fraction of the advertised price for some good or service. + /// The value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="1")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="2")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions in local currency. + /// Projected total value of biddable conversions in local currency. #[prost(double, optional, tag="3")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="4")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="5")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="6")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. + /// Projected number of top slot impressions. #[prost(int64, optional, tag="7")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific budget amount. +/// Projected metrics for a specific budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPoint { - /// The simulated budget upon which projected metrics are based. + /// The simulated budget upon which projected metrics are based. #[prost(int64, tag="1")] pub budget_amount_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. - /// Only campaigns with the Target Spend bidding strategy support this field. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. + /// Only campaigns with the Target Spend bidding strategy support this field. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="3")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="5")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="6")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="7")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="8")] pub top_slot_impressions: i64, } -/// Projected metrics for a specific target impression share value. +/// Projected metrics for a specific target impression share value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPoint { - /// The simulated target impression share value (in micros) upon which - /// projected metrics are based. - /// E.g. 10% impression share, which is equal to 0.1, is stored as 100_000. - /// This value is validated and will not exceed 1M (100%). + /// The simulated target impression share value (in micros) upon which + /// projected metrics are based. + /// E.g. 10% impression share, which is equal to 0.1, is stored as 100_000. + /// This value is validated and will not exceed 1M (100%). #[prost(int64, tag="1")] pub target_impression_share_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="3")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="5")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="6")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="7")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="8")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="9")] pub top_slot_impressions: i64, - /// Projected number of absolute top impressions. - /// Only search advertising channel type supports this field. + /// Projected number of absolute top impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="10")] pub absolute_top_impressions: i64, } -// Proto file describing TagSnippet +// Proto file describing TagSnippet -/// The site tag and event snippet pair for a TrackingCodeType. +/// The site tag and event snippet pair for a TrackingCodeType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagSnippet { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[prost(enumeration="super::enums::tracking_code_type_enum::TrackingCodeType", tag="1")] pub r#type: i32, - /// The format of the web page where the tracking tag and snippet will be - /// installed, e.g. HTML. + /// The format of the web page where the tracking tag and snippet will be + /// installed, e.g. HTML. #[prost(enumeration="super::enums::tracking_code_page_format_enum::TrackingCodePageFormat", tag="2")] pub page_format: i32, - /// The site tag that adds visitors to your basic remarketing lists and sets - /// new cookies on your domain. + /// The site tag that adds visitors to your basic remarketing lists and sets + /// new cookies on your domain. #[prost(string, optional, tag="5")] pub global_site_tag: ::core::option::Option<::prost::alloc::string::String>, - /// The event snippet that works with the site tag to track actions that - /// should be counted as conversions. + /// The event snippet that works with the site tag to track actions that + /// should be counted as conversions. #[prost(string, optional, tag="6")] pub event_snippet: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing TargetingSetting +// Proto file describing TargetingSetting -/// Settings for the targeting-related features, at the campaign and ad group -/// levels. For more details about the targeting setting, visit -/// +/// Settings for the targeting-related features, at the campaign and ad group +/// levels. For more details about the targeting setting, visit +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingSetting { - /// The per-targeting-dimension setting to restrict the reach of your campaign - /// or ad group. + /// The per-targeting-dimension setting to restrict the reach of your campaign + /// or ad group. #[prost(message, repeated, tag="1")] pub target_restrictions: ::prost::alloc::vec::Vec, - /// The list of operations changing the target restrictions. + /// The list of operations changing the target restrictions. /// - /// Adding a target restriction with a targeting dimension that already exists - /// causes the existing target restriction to be replaced with the new value. + /// Adding a target restriction with a targeting dimension that already exists + /// causes the existing target restriction to be replaced with the new value. #[prost(message, repeated, tag="2")] pub target_restriction_operations: ::prost::alloc::vec::Vec, } -/// The list of per-targeting-dimension targeting settings. +/// The list of per-targeting-dimension targeting settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestriction { - /// The targeting dimension that these settings apply to. + /// The targeting dimension that these settings apply to. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="1")] pub targeting_dimension: i32, - /// Indicates whether to restrict your ads to show only for the criteria you - /// have selected for this targeting_dimension, or to target all values for - /// this targeting_dimension and show ads based on your targeting in other - /// TargetingDimensions. A value of `true` means that these criteria will only - /// apply bid modifiers, and not affect targeting. A value of `false` means - /// that these criteria will restrict targeting as well as applying bid - /// modifiers. + /// Indicates whether to restrict your ads to show only for the criteria you + /// have selected for this targeting_dimension, or to target all values for + /// this targeting_dimension and show ads based on your targeting in other + /// TargetingDimensions. A value of `true` means that these criteria will only + /// apply bid modifiers, and not affect targeting. A value of `false` means + /// that these criteria will restrict targeting as well as applying bid + /// modifiers. #[prost(bool, optional, tag="3")] pub bid_only: ::core::option::Option, } -/// Operation to be performed on a target restriction list in a mutate. +/// Operation to be performed on a target restriction list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestrictionOperation { - /// Type of list operation to perform. + /// Type of list operation to perform. #[prost(enumeration="target_restriction_operation::Operator", tag="1")] pub operator: i32, - /// The target restriction being added to or removed from the list. + /// The target restriction being added to or removed from the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `TargetRestrictionOperation`. pub mod target_restriction_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the restriction to the existing restrictions. + /// Add the restriction to the existing restrictions. Add = 2, - /// Remove the restriction from the existing restrictions. + /// Remove the restriction from the existing restrictions. Remove = 3, } impl Operator { @@ -5752,356 +5752,356 @@ pub mod target_restriction_operation { } } } -/// A type of label displaying text on a colored background. +/// A type of label displaying text on a colored background. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextLabel { - /// Background color of the label in RGB format. This string must match the - /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. - /// Note: The background color may not be visible for manager accounts. + /// Background color of the label in RGB format. This string must match the + /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. + /// Note: The background color may not be visible for manager accounts. #[prost(string, optional, tag="3")] pub background_color: ::core::option::Option<::prost::alloc::string::String>, - /// A short description of the label. The length must be no more than 200 - /// characters. + /// A short description of the label. The length must be no more than 200 + /// characters. #[prost(string, optional, tag="4")] pub description: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file UrlCollection type. +// Proto file UrlCollection type. -/// Collection of urls that is tagged with a unique identifier. +/// Collection of urls that is tagged with a unique identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlCollection { - /// Unique identifier for this UrlCollection instance. + /// Unique identifier for this UrlCollection instance. #[prost(string, optional, tag="5")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs. + /// A list of possible final URLs. #[prost(string, repeated, tag="6")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs. + /// A list of possible final mobile URLs. #[prost(string, repeated, tag="7")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="8")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing user list types. +// Proto file describing user list types. -/// SimilarUserList is a list of users which are similar to users from another -/// UserList. These lists are read-only and automatically created by Google. +/// SimilarUserList is a list of users which are similar to users from another +/// UserList. These lists are read-only and automatically created by Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimilarUserListInfo { - /// Seed UserList from which this list is derived. + /// Seed UserList from which this list is derived. #[prost(string, optional, tag="2")] pub seed_user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// UserList of CRM users provided by the advertiser. +/// UserList of CRM users provided by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrmBasedUserListInfo { - /// A string that uniquely identifies a mobile application from which the data - /// was collected. - /// For iOS, the ID string is the 9 digit string that appears at the end of an - /// App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is - /// ). - /// For Android, the ID string is the application's package name - /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// ). - /// Required when creating CrmBasedUserList for uploading mobile advertising - /// IDs. + /// A string that uniquely identifies a mobile application from which the data + /// was collected. + /// For iOS, the ID string is the 9 digit string that appears at the end of an + /// App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is + /// ). + /// For Android, the ID string is the application's package name + /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// ). + /// Required when creating CrmBasedUserList for uploading mobile advertising + /// IDs. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Matching key type of the list. - /// Mixed data types are not allowed on the same list. - /// This field is required for an ADD operation. + /// Matching key type of the list. + /// Mixed data types are not allowed on the same list. + /// This field is required for an ADD operation. #[prost(enumeration="super::enums::customer_match_upload_key_type_enum::CustomerMatchUploadKeyType", tag="2")] pub upload_key_type: i32, - /// Data source of the list. Default value is FIRST_PARTY. - /// Only customers on the allow-list can create third-party sourced CRM lists. + /// Data source of the list. Default value is FIRST_PARTY. + /// Only customers on the allow-list can create third-party sourced CRM lists. #[prost(enumeration="super::enums::user_list_crm_data_source_type_enum::UserListCrmDataSourceType", tag="3")] pub data_source_type: i32, } -/// A client defined rule based on custom parameters sent by web sites or -/// uploaded by the advertiser. +/// A client defined rule based on custom parameters sent by web sites or +/// uploaded by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleInfo { - /// Rule type is used to determine how to group rule items. + /// Rule type is used to determine how to group rule items. /// - /// The default is OR of ANDs (disjunctive normal form). - /// That is, rule items will be ANDed together within rule item groups and the - /// groups themselves will be ORed together. + /// The default is OR of ANDs (disjunctive normal form). + /// That is, rule items will be ANDed together within rule item groups and the + /// groups themselves will be ORed together. /// - /// Currently AND of ORs (conjunctive normal form) is only supported for - /// ExpressionRuleUserList. + /// Currently AND of ORs (conjunctive normal form) is only supported for + /// ExpressionRuleUserList. #[prost(enumeration="super::enums::user_list_rule_type_enum::UserListRuleType", tag="1")] pub rule_type: i32, - /// List of rule item groups that defines this rule. - /// Rule item groups are grouped together based on rule_type. + /// List of rule item groups that defines this rule. + /// Rule item groups are grouped together based on rule_type. #[prost(message, repeated, tag="2")] pub rule_item_groups: ::prost::alloc::vec::Vec, } -/// A group of rule items. +/// A group of rule items. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemGroupInfo { - /// Rule items that will be grouped together based on rule_type. + /// Rule items that will be grouped together based on rule_type. #[prost(message, repeated, tag="1")] pub rule_items: ::prost::alloc::vec::Vec, } -/// An atomic rule item. +/// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemInfo { - /// Rule variable name. It should match the corresponding key name fired - /// by the pixel. - /// A name must begin with US-ascii letters or underscore or UTF8 code that is - /// greater than 127 and consist of US-ascii letters or digits or underscore or - /// UTF8 code that is greater than 127. - /// For websites, there are two built-in variable URL (name = 'url__') and - /// referrer URL (name = 'ref_url__'). - /// This field must be populated when creating a new rule item. + /// Rule variable name. It should match the corresponding key name fired + /// by the pixel. + /// A name must begin with US-ascii letters or underscore or UTF8 code that is + /// greater than 127 and consist of US-ascii letters or digits or underscore or + /// UTF8 code that is greater than 127. + /// For websites, there are two built-in variable URL (name = 'url__') and + /// referrer URL (name = 'ref_url__'). + /// This field must be populated when creating a new rule item. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An atomic rule item. + /// An atomic rule item. #[prost(oneof="user_list_rule_item_info::RuleItem", tags="2, 3, 4")] pub rule_item: ::core::option::Option, } /// Nested message and enum types in `UserListRuleItemInfo`. pub mod user_list_rule_item_info { - /// An atomic rule item. + /// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleItem { - /// An atomic rule item composed of a number operation. + /// An atomic rule item composed of a number operation. #[prost(message, tag="2")] NumberRuleItem(super::UserListNumberRuleItemInfo), - /// An atomic rule item composed of a string operation. + /// An atomic rule item composed of a string operation. #[prost(message, tag="3")] StringRuleItem(super::UserListStringRuleItemInfo), - /// An atomic rule item composed of a date operation. + /// An atomic rule item composed of a date operation. #[prost(message, tag="4")] DateRuleItem(super::UserListDateRuleItemInfo), } } -/// A rule item composed of a date operation. +/// A rule item composed of a date operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemInfo { - /// Date comparison operator. - /// This field is required and must be populated when creating new date - /// rule item. + /// Date comparison operator. + /// This field is required and must be populated when creating new date + /// rule item. #[prost(enumeration="super::enums::user_list_date_rule_item_operator_enum::UserListDateRuleItemOperator", tag="1")] pub operator: i32, - /// String representing date value to be compared with the rule variable. - /// Supported date format is YYYY-MM-DD. - /// Times are reported in the customer's time zone. + /// String representing date value to be compared with the rule variable. + /// Supported date format is YYYY-MM-DD. + /// Times are reported in the customer's time zone. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// The relative date value of the right hand side denoted by number of days - /// offset from now. The value field will override this field when both are - /// present. + /// The relative date value of the right hand side denoted by number of days + /// offset from now. The value field will override this field when both are + /// present. #[prost(int64, optional, tag="5")] pub offset_in_days: ::core::option::Option, } -/// A rule item composed of a number operation. +/// A rule item composed of a number operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemInfo { - /// Number comparison operator. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number comparison operator. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(enumeration="super::enums::user_list_number_rule_item_operator_enum::UserListNumberRuleItemOperator", tag="1")] pub operator: i32, - /// Number value to be compared with the variable. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number value to be compared with the variable. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(double, optional, tag="3")] pub value: ::core::option::Option, } -/// A rule item composed of a string operation. +/// A rule item composed of a string operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemInfo { - /// String comparison operator. - /// This field is required and must be populated when creating a new string - /// rule item. + /// String comparison operator. + /// This field is required and must be populated when creating a new string + /// rule item. #[prost(enumeration="super::enums::user_list_string_rule_item_operator_enum::UserListStringRuleItemOperator", tag="1")] pub operator: i32, - /// The right hand side of the string rule item. For URLs or referrer URLs, - /// the value can not contain illegal URL chars such as newlines, quotes, - /// tabs, or parentheses. This field is required and must be populated when - /// creating a new string rule item. + /// The right hand side of the string rule item. For URLs or referrer URLs, + /// the value can not contain illegal URL chars such as newlines, quotes, + /// tabs, or parentheses. This field is required and must be populated when + /// creating a new string rule item. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// User lists defined by combining two rules, left operand and right operand. -/// There are two operators: AND where left operand and right operand have to be -/// true; AND_NOT where left operand is true but right operand is false. +/// User lists defined by combining two rules, left operand and right operand. +/// There are two operators: AND where left operand and right operand have to be +/// true; AND_NOT where left operand is true but right operand is false. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedRuleUserListInfo { - /// Left operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Left operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="1")] pub left_operand: ::core::option::Option, - /// Right operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Right operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="2")] pub right_operand: ::core::option::Option, - /// Operator to connect the two operands. + /// Operator to connect the two operands. /// - /// Required for creating a combined rule user list. + /// Required for creating a combined rule user list. #[prost(enumeration="super::enums::user_list_combined_rule_operator_enum::UserListCombinedRuleOperator", tag="3")] pub rule_operator: i32, } -/// Visitors of a page during specific dates. +/// Visitors of a page during specific dates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateSpecificRuleUserListInfo { - /// Boolean rule that defines visitor of a page. + /// Boolean rule that defines visitor of a page. /// - /// Required for creating a date specific rule user list. + /// Required for creating a date specific rule user list. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, - /// Start date of users visit. If set to 2000-01-01, then the list includes all - /// users before end_date. The date's format should be YYYY-MM-DD. + /// Start date of users visit. If set to 2000-01-01, then the list includes all + /// users before end_date. The date's format should be YYYY-MM-DD. /// - /// Required for creating a data specific rule user list. + /// Required for creating a data specific rule user list. #[prost(string, optional, tag="4")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Last date of users visit. If set to 2037-12-30, then the list includes all - /// users after start_date. The date's format should be YYYY-MM-DD. + /// Last date of users visit. If set to 2037-12-30, then the list includes all + /// users after start_date. The date's format should be YYYY-MM-DD. /// - /// Required for creating a data specific rule user list. + /// Required for creating a data specific rule user list. #[prost(string, optional, tag="5")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -/// Visitors of a page. The page visit is defined by one boolean rule expression. +/// Visitors of a page. The page visit is defined by one boolean rule expression. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpressionRuleUserListInfo { - /// Boolean rule that defines this user list. The rule consists of a list of - /// rule item groups and each rule item group consists of a list of rule items. - /// All the rule item groups are ORed or ANDed together for evaluation based on - /// rule.rule_type. + /// Boolean rule that defines this user list. The rule consists of a list of + /// rule item groups and each rule item group consists of a list of rule items. + /// All the rule item groups are ORed or ANDed together for evaluation based on + /// rule.rule_type. /// - /// Required for creating an expression rule user list. + /// Required for creating an expression rule user list. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, } -/// Representation of a userlist that is generated by a rule. +/// Representation of a userlist that is generated by a rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleBasedUserListInfo { - /// The status of pre-population. The field is default to NONE if not set which - /// means the previous users will not be considered. If set to REQUESTED, past - /// site visitors or app users who match the list definition will be included - /// in the list (works on the Display Network only). This will only - /// add past users from within the last 30 days, depending on the - /// list's membership duration and the date when the remarketing tag is added. - /// The status will be updated to FINISHED once request is processed, or FAILED - /// if the request fails. + /// The status of pre-population. The field is default to NONE if not set which + /// means the previous users will not be considered. If set to REQUESTED, past + /// site visitors or app users who match the list definition will be included + /// in the list (works on the Display Network only). This will only + /// add past users from within the last 30 days, depending on the + /// list's membership duration and the date when the remarketing tag is added. + /// The status will be updated to FINISHED once request is processed, or FAILED + /// if the request fails. #[prost(enumeration="super::enums::user_list_prepopulation_status_enum::UserListPrepopulationStatus", tag="1")] pub prepopulation_status: i32, - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[prost(oneof="rule_based_user_list_info::RuleBasedUserList", tags="2, 3, 4")] pub rule_based_user_list: ::core::option::Option, } /// Nested message and enum types in `RuleBasedUserListInfo`. pub mod rule_based_user_list_info { - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleBasedUserList { - /// User lists defined by combining two rules. - /// There are two operators: AND, where the left and right operands have to - /// be true; AND_NOT where left operand is true but right operand is false. + /// User lists defined by combining two rules. + /// There are two operators: AND, where the left and right operands have to + /// be true; AND_NOT where left operand is true but right operand is false. #[prost(message, tag="2")] CombinedRuleUserList(super::CombinedRuleUserListInfo), - /// Visitors of a page during specific dates. The visiting periods are - /// defined as follows: - /// Between start_date (inclusive) and end_date (inclusive); - /// Before end_date (exclusive) with start_date = 2000-01-01; - /// After start_date (exclusive) with end_date = 2037-12-30. + /// Visitors of a page during specific dates. The visiting periods are + /// defined as follows: + /// Between start_date (inclusive) and end_date (inclusive); + /// Before end_date (exclusive) with start_date = 2000-01-01; + /// After start_date (exclusive) with end_date = 2037-12-30. #[prost(message, tag="3")] DateSpecificRuleUserList(super::DateSpecificRuleUserListInfo), - /// Visitors of a page. The page visit is defined by one boolean rule - /// expression. + /// Visitors of a page. The page visit is defined by one boolean rule + /// expression. #[prost(message, tag="4")] ExpressionRuleUserList(super::ExpressionRuleUserListInfo), } } -/// Represents a user list that is a custom combination of user lists. +/// Represents a user list that is a custom combination of user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListInfo { - /// Logical list rules that define this user list. The rules are defined as a - /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - /// ANDed when they are evaluated. + /// Logical list rules that define this user list. The rules are defined as a + /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are + /// ANDed when they are evaluated. /// - /// Required for creating a logical user list. + /// Required for creating a logical user list. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A user list logical rule. A rule has a logical operator (and/or/not) and a -/// list of user lists as operands. +/// A user list logical rule. A rule has a logical operator (and/or/not) and a +/// list of user lists as operands. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleInfo { - /// The logical operator of the rule. + /// The logical operator of the rule. #[prost(enumeration="super::enums::user_list_logical_rule_operator_enum::UserListLogicalRuleOperator", tag="1")] pub operator: i32, - /// The list of operands of the rule. + /// The list of operands of the rule. #[prost(message, repeated, tag="2")] pub rule_operands: ::prost::alloc::vec::Vec, } -/// Operand of logical user list that consists of a user list. +/// Operand of logical user list that consists of a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListOperandInfo { - /// Resource name of a user list as an operand. + /// Resource name of a user list as an operand. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// User list targeting as a collection of conversions or remarketing actions. +/// User list targeting as a collection of conversions or remarketing actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicUserListInfo { - /// Actions associated with this user list. + /// Actions associated with this user list. #[prost(message, repeated, tag="1")] pub actions: ::prost::alloc::vec::Vec, } -/// Represents an action type used for building remarketing user lists. +/// Represents an action type used for building remarketing user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListActionInfo { - /// Subtypes of user list action. + /// Subtypes of user list action. #[prost(oneof="user_list_action_info::UserListAction", tags="3, 4")] pub user_list_action: ::core::option::Option, } /// Nested message and enum types in `UserListActionInfo`. pub mod user_list_action_info { - /// Subtypes of user list action. + /// Subtypes of user list action. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserListAction { - /// A conversion action that's not generated from remarketing. + /// A conversion action that's not generated from remarketing. #[prost(string, tag="3")] ConversionAction(::prost::alloc::string::String), - /// A remarketing action. + /// A remarketing action. #[prost(string, tag="4")] RemarketingAction(::prost::alloc::string::String), } } -// Proto file describing value types. +// Proto file describing value types. -/// A generic data container. +/// A generic data container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// A value. + /// A value. #[prost(oneof="value::Value", tags="1, 2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// A value. + /// A value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A boolean. + /// A boolean. #[prost(bool, tag="1")] BooleanValue(bool), - /// An int64. + /// An int64. #[prost(int64, tag="2")] Int64Value(i64), - /// A float. + /// A float. #[prost(float, tag="3")] FloatValue(f32), - /// A double. + /// A double. #[prost(double, tag="4")] DoubleValue(f64), - /// A string. + /// A string. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v10.enums.rs b/gcloud-sdk/genproto/google.ads.googleads.v10.enums.rs index 513479952..4c5fff3ad 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v10.enums.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v10.enums.rs @@ -1,34 +1,34 @@ -// Proto file describing policy topic entry types. +// Proto file describing policy topic entry types. -/// Container for enum describing possible policy topic entry types. +/// Container for enum describing possible policy topic entry types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntryTypeEnum { } /// Nested message and enum types in `PolicyTopicEntryTypeEnum`. pub mod policy_topic_entry_type_enum { - /// The possible policy topic entry types. + /// The possible policy topic entry types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEntryType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The resource will not be served. + /// The resource will not be served. Prohibited = 2, - /// The resource will not be served under some circumstances. + /// The resource will not be served under some circumstances. Limited = 4, - /// The resource cannot serve at all because of the current targeting - /// criteria. + /// The resource cannot serve at all because of the current targeting + /// criteria. FullyLimited = 8, - /// May be of interest, but does not limit how the resource is served. + /// May be of interest, but does not limit how the resource is served. Descriptive = 5, - /// Could increase coverage beyond normal. + /// Could increase coverage beyond normal. Broadening = 6, - /// Constrained for all targeted countries, but may serve in other countries - /// through area of interest. + /// Constrained for all targeted countries, but may serve in other countries + /// through area of interest. AreaOfInterestOnly = 7, } impl PolicyTopicEntryType { @@ -50,34 +50,34 @@ pub mod policy_topic_entry_type_enum { } } } -// Proto file describing policy topic evidence destination mismatch url types. +// Proto file describing policy topic evidence destination mismatch url types. -/// Container for enum describing possible policy topic evidence destination -/// mismatch url types. +/// Container for enum describing possible policy topic evidence destination +/// mismatch url types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationMismatchUrlTypeEnum`. pub mod policy_topic_evidence_destination_mismatch_url_type_enum { - /// The possible policy topic evidence destination mismatch url types. + /// The possible policy topic evidence destination mismatch url types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationMismatchUrlType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The display url. + /// The display url. DisplayUrl = 2, - /// The final url. + /// The final url. FinalUrl = 3, - /// The final mobile url. + /// The final mobile url. FinalMobileUrl = 4, - /// The tracking url template, with substituted desktop url. + /// The tracking url template, with substituted desktop url. TrackingUrl = 5, - /// The tracking url template, with substituted mobile url. + /// The tracking url template, with substituted mobile url. MobileTrackingUrl = 6, } impl PolicyTopicEvidenceDestinationMismatchUrlType { @@ -98,31 +98,31 @@ pub mod policy_topic_evidence_destination_mismatch_url_type_enum { } } } -// Proto file describing device of destination not working policy topic -// evidence. +// Proto file describing device of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working devices. +/// Container for enum describing possible policy topic evidence destination not +/// working devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDeviceEnum`. pub mod policy_topic_evidence_destination_not_working_device_enum { - /// The possible policy topic evidence destination not working devices. + /// The possible policy topic evidence destination not working devices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDevice { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Landing page doesn't work on desktop device. + /// Landing page doesn't work on desktop device. Desktop = 2, - /// Landing page doesn't work on Android device. + /// Landing page doesn't work on Android device. Android = 3, - /// Landing page doesn't work on iOS device. + /// Landing page doesn't work on iOS device. Ios = 4, } impl PolicyTopicEvidenceDestinationNotWorkingDevice { @@ -141,31 +141,31 @@ pub mod policy_topic_evidence_destination_not_working_device_enum { } } } -// Proto file describing DNS error types of destination not working policy topic -// evidence. +// Proto file describing DNS error types of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working DNS error types. +/// Container for enum describing possible policy topic evidence destination not +/// working DNS error types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum`. pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { - /// The possible policy topic evidence destination not working DNS error types. + /// The possible policy topic evidence destination not working DNS error types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Host name not found in DNS when fetching landing page. + /// Host name not found in DNS when fetching landing page. HostnameNotFound = 2, - /// Google internal crawler issue when communicating with DNS. This error - /// doesn't mean the landing page doesn't work. Google will recrawl the - /// landing page. + /// Google internal crawler issue when communicating with DNS. This error + /// doesn't mean the landing page doesn't work. Google will recrawl the + /// landing page. GoogleCrawlerDnsIssue = 3, } impl PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { @@ -183,34 +183,34 @@ pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { } } } -// Proto file describing policy approval statuses. +// Proto file describing policy approval statuses. -/// Container for enum describing possible policy approval statuses. +/// Container for enum describing possible policy approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyApprovalStatusEnum { } /// Nested message and enum types in `PolicyApprovalStatusEnum`. pub mod policy_approval_status_enum { - /// The possible policy approval statuses. When there are several approval - /// statuses available the most severe one will be used. The order of severity - /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. + /// The possible policy approval statuses. When there are several approval + /// statuses available the most severe one will be used. The order of severity + /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Will not serve. + /// Will not serve. Disapproved = 2, - /// Serves with restrictions. + /// Serves with restrictions. ApprovedLimited = 3, - /// Serves without restrictions. + /// Serves without restrictions. Approved = 4, - /// Will not serve in targeted countries, but may serve for users who are - /// searching for information about the targeted countries. + /// Will not serve in targeted countries, but may serve for users who are + /// searching for information about the targeted countries. AreaOfInterestOnly = 5, } impl PolicyApprovalStatus { @@ -230,33 +230,33 @@ pub mod policy_approval_status_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible policy review statuses. +/// Container for enum describing possible policy review statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyReviewStatusEnum { } /// Nested message and enum types in `PolicyReviewStatusEnum`. pub mod policy_review_status_enum { - /// The possible policy review statuses. + /// The possible policy review statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyReviewStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Currently under review. + /// Currently under review. ReviewInProgress = 2, - /// Primary review complete. Other reviews may be continuing. + /// Primary review complete. Other reviews may be continuing. Reviewed = 3, - /// The resource has been resubmitted for approval or its policy decision has - /// been appealed. + /// The resource has been resubmitted for approval or its policy decision has + /// been appealed. UnderAppeal = 4, - /// The resource is eligible and may be serving but could still undergo - /// further review. + /// The resource is eligible and may be serving but could still undergo + /// further review. EligibleMayServe = 5, } impl PolicyReviewStatus { @@ -276,34 +276,34 @@ pub mod policy_review_status_enum { } } } -// Proto file describing the performance label of an asset. +// Proto file describing the performance label of an asset. -/// Container for enum describing the performance label of an asset. +/// Container for enum describing the performance label of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPerformanceLabelEnum { } /// Nested message and enum types in `AssetPerformanceLabelEnum`. pub mod asset_performance_label_enum { - /// Enum describing the possible performance labels of an asset, usually - /// computed in the context of a linkage. + /// Enum describing the possible performance labels of an asset, usually + /// computed in the context of a linkage. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetPerformanceLabel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This asset does not yet have any performance informantion. This may be - /// because it is still under review. + /// This asset does not yet have any performance informantion. This may be + /// because it is still under review. Pending = 2, - /// The asset has started getting impressions but the stats are not - /// statistically significant enough to get an asset performance label. + /// The asset has started getting impressions but the stats are not + /// statistically significant enough to get an asset performance label. Learning = 3, - /// Worst performing assets. + /// Worst performing assets. Low = 4, - /// Good performing assets. + /// Good performing assets. Good = 5, - /// Best performing assets. + /// Best performing assets. Best = 6, } impl AssetPerformanceLabel { @@ -324,33 +324,33 @@ pub mod asset_performance_label_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible asset field types. +/// Container for enum describing possible asset field types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServedAssetFieldTypeEnum { } /// Nested message and enum types in `ServedAssetFieldTypeEnum`. pub mod served_asset_field_type_enum { - /// The possible asset field types. + /// The possible asset field types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServedAssetFieldType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The asset is used in headline 1. + /// The asset is used in headline 1. Headline1 = 2, - /// The asset is used in headline 2. + /// The asset is used in headline 2. Headline2 = 3, - /// The asset is used in headline 3. + /// The asset is used in headline 3. Headline3 = 4, - /// The asset is used in description 1. + /// The asset is used in description 1. Description1 = 5, - /// The asset is used in description 2. + /// The asset is used in description 2. Description2 = 6, } impl ServedAssetFieldType { @@ -371,30 +371,30 @@ pub mod served_asset_field_type_enum { } } } -// Proto file describing call conversion reporting state. +// Proto file describing call conversion reporting state. -/// Container for enum describing possible data types for call conversion -/// reporting state. +/// Container for enum describing possible data types for call conversion +/// reporting state. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionReportingStateEnum { } /// Nested message and enum types in `CallConversionReportingStateEnum`. pub mod call_conversion_reporting_state_enum { - /// Possible data types for a call conversion action state. + /// Possible data types for a call conversion action state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallConversionReportingState { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Call conversion action is disabled. + /// Call conversion action is disabled. Disabled = 2, - /// Call conversion action will use call conversion type set at the - /// account level. + /// Call conversion action will use call conversion type set at the + /// account level. UseAccountLevelCallConversionAction = 3, - /// Call conversion action will use call conversion type set at the resource - /// (call only ads/call extensions) level. + /// Call conversion action will use call conversion type set at the resource + /// (call only ads/call extensions) level. UseResourceLevelCallConversionAction = 4, } impl CallConversionReportingState { @@ -413,28 +413,28 @@ pub mod call_conversion_reporting_state_enum { } } } -// Proto file describing display ad format settings. +// Proto file describing display ad format settings. -/// Container for display ad format settings. +/// Container for display ad format settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayAdFormatSettingEnum { } /// Nested message and enum types in `DisplayAdFormatSettingEnum`. pub mod display_ad_format_setting_enum { - /// Enumerates display ad format settings. + /// Enumerates display ad format settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayAdFormatSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Text, image and native formats. + /// Text, image and native formats. AllFormats = 2, - /// Text and image formats. + /// Text and image formats. NonNative = 3, - /// Native format, i.e. the format rendering is controlled by the publisher - /// and not by Google. + /// Native format, i.e. the format rendering is controlled by the publisher + /// and not by Google. Native = 4, } impl DisplayAdFormatSetting { @@ -453,64 +453,64 @@ pub mod display_ad_format_setting_enum { } } } -// Proto file describing display upload product types. +// Proto file describing display upload product types. -/// Container for display upload product types. Product types that have the word -/// "DYNAMIC" in them must be associated with a campaign that has a dynamic -/// remarketing feed. See -/// for more info about dynamic remarketing. Other product types are regarded -/// as "static" and do not have this requirement. +/// Container for display upload product types. Product types that have the word +/// "DYNAMIC" in them must be associated with a campaign that has a dynamic +/// remarketing feed. See +/// for more info about dynamic remarketing. Other product types are regarded +/// as "static" and do not have this requirement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadProductTypeEnum { } /// Nested message and enum types in `DisplayUploadProductTypeEnum`. pub mod display_upload_product_type_enum { - /// Enumerates display upload product types. + /// Enumerates display upload product types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayUploadProductType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// HTML5 upload ad. This product type requires the upload_media_bundle - /// field in DisplayUploadAdInfo to be set. + /// HTML5 upload ad. This product type requires the upload_media_bundle + /// field in DisplayUploadAdInfo to be set. Html5UploadAd = 2, - /// Dynamic HTML5 education ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in an education campaign. + /// Dynamic HTML5 education ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in an education campaign. DynamicHtml5EducationAd = 3, - /// Dynamic HTML5 flight ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a flight campaign. + /// Dynamic HTML5 flight ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a flight campaign. DynamicHtml5FlightAd = 4, - /// Dynamic HTML5 hotel and rental ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel and rental ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelRentalAd = 5, - /// Dynamic HTML5 job ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a job campaign. + /// Dynamic HTML5 job ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a job campaign. DynamicHtml5JobAd = 6, - /// Dynamic HTML5 local ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a local campaign. + /// Dynamic HTML5 local ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a local campaign. DynamicHtml5LocalAd = 7, - /// Dynamic HTML5 real estate ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a real estate campaign. + /// Dynamic HTML5 real estate ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a real estate campaign. DynamicHtml5RealEstateAd = 8, - /// Dynamic HTML5 custom ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a custom campaign. + /// Dynamic HTML5 custom ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a custom campaign. DynamicHtml5CustomAd = 9, - /// Dynamic HTML5 travel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a travel campaign. + /// Dynamic HTML5 travel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a travel campaign. DynamicHtml5TravelAd = 10, - /// Dynamic HTML5 hotel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelAd = 11, } impl DisplayUploadProductType { @@ -536,31 +536,31 @@ pub mod display_upload_product_type_enum { } } } -// Proto file describing app store types for a legacy app install ad. +// Proto file describing app store types for a legacy app install ad. -/// Container for enum describing app store type in a legacy app install ad. +/// Container for enum describing app store type in a legacy app install ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdAppStoreEnum { } /// Nested message and enum types in `LegacyAppInstallAdAppStoreEnum`. pub mod legacy_app_install_ad_app_store_enum { - /// App store type in a legacy app install ad. + /// App store type in a legacy app install ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LegacyAppInstallAdAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleAppStore = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, - /// Windows Store. + /// Windows Store. WindowsStore = 4, - /// Windows Phone Store. + /// Windows Phone Store. WindowsPhoneStore = 5, - /// The app is hosted in a Chinese app store. + /// The app is hosted in a Chinese app store. CnAppStore = 6, } impl LegacyAppInstallAdAppStore { @@ -581,47 +581,47 @@ pub mod legacy_app_install_ad_app_store_enum { } } } -// Proto file describing mime types. +// Proto file describing mime types. -/// Container for enum describing the mime types. +/// Container for enum describing the mime types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MimeTypeEnum { } /// Nested message and enum types in `MimeTypeEnum`. pub mod mime_type_enum { - /// The mime type + /// The mime type #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MimeType { - /// The mime type has not been specified. + /// The mime type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// MIME type of image/jpeg. + /// MIME type of image/jpeg. ImageJpeg = 2, - /// MIME type of image/gif. + /// MIME type of image/gif. ImageGif = 3, - /// MIME type of image/png. + /// MIME type of image/png. ImagePng = 4, - /// MIME type of application/x-shockwave-flash. + /// MIME type of application/x-shockwave-flash. Flash = 5, - /// MIME type of text/html. + /// MIME type of text/html. TextHtml = 6, - /// MIME type of application/pdf. + /// MIME type of application/pdf. Pdf = 7, - /// MIME type of application/msword. + /// MIME type of application/msword. Msword = 8, - /// MIME type of application/vnd.ms-excel. + /// MIME type of application/vnd.ms-excel. Msexcel = 9, - /// MIME type of application/rtf. + /// MIME type of application/rtf. Rtf = 10, - /// MIME type of audio/wav. + /// MIME type of audio/wav. AudioWav = 11, - /// MIME type of audio/mp3. + /// MIME type of audio/mp3. AudioMp3 = 12, - /// MIME type of application/x-html5-ad-zip. + /// MIME type of application/x-html5-ad-zip. Html5AdZip = 13, } impl MimeType { @@ -649,32 +649,32 @@ pub mod mime_type_enum { } } } -// Proto file describing video thumbnails. +// Proto file describing video thumbnails. -/// Defines the thumbnail to use for In-Display video ads. Note that -/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -/// auto-generated from the video. +/// Defines the thumbnail to use for In-Display video ads. Note that +/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are +/// auto-generated from the video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoThumbnailEnum { } /// Nested message and enum types in `VideoThumbnailEnum`. pub mod video_thumbnail_enum { - /// Enum listing the possible types of a video thumbnail. + /// Enum listing the possible types of a video thumbnail. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VideoThumbnail { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The default thumbnail. Can be auto-generated or user-uploaded. + /// The default thumbnail. Can be auto-generated or user-uploaded. DefaultThumbnail = 2, - /// Thumbnail 1, generated from the video. + /// Thumbnail 1, generated from the video. Thumbnail1 = 3, - /// Thumbnail 2, generated from the video. + /// Thumbnail 2, generated from the video. Thumbnail2 = 4, - /// Thumbnail 3, generated from the video. + /// Thumbnail 3, generated from the video. Thumbnail3 = 5, } impl VideoThumbnail { @@ -694,35 +694,35 @@ pub mod video_thumbnail_enum { } } } -// Proto file describing age range types. +// Proto file describing age range types. -/// Container for enum describing the type of demographic age ranges. +/// Container for enum describing the type of demographic age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeTypeEnum { } /// Nested message and enum types in `AgeRangeTypeEnum`. pub mod age_range_type_enum { - /// The type of demographic age ranges (e.g. between 18 and 24 years old). + /// The type of demographic age ranges (e.g. between 18 and 24 years old). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AgeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, - /// Undetermined age range. + /// Undetermined age range. AgeRangeUndetermined = 503999, } impl AgeRangeType { @@ -745,23 +745,23 @@ pub mod age_range_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// Represents a criterion for targeting paid apps. +/// Represents a criterion for targeting paid apps. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelTypeEnum { } /// Nested message and enum types in `AppPaymentModelTypeEnum`. pub mod app_payment_model_type_enum { - /// Enum describing possible app payment models. + /// Enum describing possible app payment models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPaymentModelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents paid-for apps. + /// Represents paid-for apps. Paid = 30, } impl AppPaymentModelType { @@ -778,51 +778,51 @@ pub mod app_payment_model_type_enum { } } } -// Proto file describing content label types. +// Proto file describing content label types. -/// Container for enum describing content label types in ContentLabel. +/// Container for enum describing content label types in ContentLabel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelTypeEnum { } /// Nested message and enum types in `ContentLabelTypeEnum`. pub mod content_label_type_enum { - /// Enum listing the content label types supported by ContentLabel criterion. + /// Enum listing the content label types supported by ContentLabel criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentLabelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Sexually suggestive content. + /// Sexually suggestive content. SexuallySuggestive = 2, - /// Below the fold placement. + /// Below the fold placement. BelowTheFold = 3, - /// Parked domain. + /// Parked domain. ParkedDomain = 4, - /// Juvenile, gross & bizarre content. + /// Juvenile, gross & bizarre content. Juvenile = 6, - /// Profanity & rough language. + /// Profanity & rough language. Profanity = 7, - /// Death & tragedy. + /// Death & tragedy. Tragedy = 8, - /// Video. + /// Video. Video = 9, - /// Content rating: G. + /// Content rating: G. VideoRatingDvG = 10, - /// Content rating: PG. + /// Content rating: PG. VideoRatingDvPg = 11, - /// Content rating: T. + /// Content rating: T. VideoRatingDvT = 12, - /// Content rating: MA. + /// Content rating: MA. VideoRatingDvMa = 13, - /// Content rating: not yet rated. + /// Content rating: not yet rated. VideoNotYetRated = 14, - /// Embedded video. + /// Embedded video. EmbeddedVideo = 15, - /// Live streaming video. + /// Live streaming video. LiveStreamingVideo = 16, - /// Sensitive social issues. + /// Sensitive social issues. SocialIssues = 17, } impl ContentLabelType { @@ -853,35 +853,35 @@ pub mod content_label_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of days of the week, e.g., "Monday". +/// Container for enumeration of days of the week, e.g., "Monday". #[derive(Clone, PartialEq, ::prost::Message)] pub struct DayOfWeekEnum { } /// Nested message and enum types in `DayOfWeekEnum`. pub mod day_of_week_enum { - /// Enumerates days of the week, e.g., "Monday". + /// Enumerates days of the week, e.g., "Monday". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DayOfWeek { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Monday. + /// Monday. Monday = 2, - /// Tuesday. + /// Tuesday. Tuesday = 3, - /// Wednesday. + /// Wednesday. Wednesday = 4, - /// Thursday. + /// Thursday. Thursday = 5, - /// Friday. + /// Friday. Friday = 6, - /// Saturday. + /// Saturday. Saturday = 7, - /// Sunday. + /// Sunday. Sunday = 8, } impl DayOfWeek { @@ -904,31 +904,31 @@ pub mod day_of_week_enum { } } } -// Proto file describing devices. +// Proto file describing devices. -/// Container for enumeration of Google Ads devices available for targeting. +/// Container for enumeration of Google Ads devices available for targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceEnum { } /// Nested message and enum types in `DeviceEnum`. pub mod device_enum { - /// Enumerates Google Ads devices available for targeting. + /// Enumerates Google Ads devices available for targeting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Device { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile devices with full browsers. + /// Mobile devices with full browsers. Mobile = 2, - /// Tablets with full browsers. + /// Tablets with full browsers. Tablet = 3, - /// Computers. + /// Computers. Desktop = 4, - /// Smart TVs and game consoles. + /// Smart TVs and game consoles. ConnectedTv = 6, - /// Other device types. + /// Other device types. Other = 5, } impl Device { @@ -949,27 +949,27 @@ pub mod device_enum { } } } -// Proto file describing gender types. +// Proto file describing gender types. -/// Container for enum describing the type of demographic genders. +/// Container for enum describing the type of demographic genders. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderTypeEnum { } /// Nested message and enum types in `GenderTypeEnum`. pub mod gender_type_enum { - /// The type of demographic genders (e.g. female). + /// The type of demographic genders (e.g. female). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GenderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Male. + /// Male. Male = 10, - /// Female. + /// Female. Female = 11, - /// Undetermined gender. + /// Undetermined gender. Undetermined = 20, } impl GenderType { @@ -988,25 +988,25 @@ pub mod gender_type_enum { } } } -// Proto file describing hotel date selection types. +// Proto file describing hotel date selection types. -/// Container for enum describing possible hotel date selection types +/// Container for enum describing possible hotel date selection types #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeEnum { } /// Nested message and enum types in `HotelDateSelectionTypeEnum`. pub mod hotel_date_selection_type_enum { - /// Enum describing possible hotel date selection types. + /// Enum describing possible hotel date selection types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelDateSelectionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dates selected by default. + /// Dates selected by default. DefaultSelection = 50, - /// Dates selected by the user. + /// Dates selected by the user. UserSelected = 51, } impl HotelDateSelectionType { @@ -1024,35 +1024,35 @@ pub mod hotel_date_selection_type_enum { } } } -// Proto file describing income range types. +// Proto file describing income range types. -/// Container for enum describing the type of demographic income ranges. +/// Container for enum describing the type of demographic income ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeTypeEnum { } /// Nested message and enum types in `IncomeRangeTypeEnum`. pub mod income_range_type_enum { - /// The type of demographic income ranges (e.g. between 0% to 50%). + /// The type of demographic income ranges (e.g. between 0% to 50%). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IncomeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 0%-50%. + /// 0%-50%. IncomeRange050 = 510001, - /// 50% to 60%. + /// 50% to 60%. IncomeRange5060 = 510002, - /// 60% to 70%. + /// 60% to 70%. IncomeRange6070 = 510003, - /// 70% to 80%. + /// 70% to 80%. IncomeRange7080 = 510004, - /// 80% to 90%. + /// 80% to 90%. IncomeRange8090 = 510005, - /// Greater than 90%. + /// Greater than 90%. IncomeRange90Up = 510006, - /// Undetermined income range. + /// Undetermined income range. IncomeRangeUndetermined = 510000, } impl IncomeRangeType { @@ -1075,23 +1075,23 @@ pub mod income_range_type_enum { } } } -// Proto file describing interaction types. +// Proto file describing interaction types. -/// Container for enum describing possible interaction types. +/// Container for enum describing possible interaction types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeEnum { } /// Nested message and enum types in `InteractionTypeEnum`. pub mod interaction_type_enum { - /// Enum describing possible interaction types. + /// Enum describing possible interaction types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Calls. + /// Calls. Calls = 8000, } impl InteractionType { @@ -1108,27 +1108,27 @@ pub mod interaction_type_enum { } } } -// Proto file describing Keyword match types. +// Proto file describing Keyword match types. -/// Message describing Keyword match types. +/// Message describing Keyword match types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeEnum { } /// Nested message and enum types in `KeywordMatchTypeEnum`. pub mod keyword_match_type_enum { - /// Possible Keyword match types. + /// Possible Keyword match types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Exact match. + /// Exact match. Exact = 2, - /// Phrase match. + /// Phrase match. Phrase = 3, - /// Broad match. + /// Broad match. Broad = 4, } impl KeywordMatchType { @@ -1147,27 +1147,27 @@ pub mod keyword_match_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group. +/// Container for enum describing the type of the listing group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupTypeEnum { } /// Nested message and enum types in `ListingGroupTypeEnum`. pub mod listing_group_type_enum { - /// The type of the listing group. + /// The type of the listing group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimension. These nodes - /// are not used by serving to target listing entries, but is purely - /// to define the structure of the tree. + /// Subdivision of products along some listing dimension. These nodes + /// are not used by serving to target listing entries, but is purely + /// to define the structure of the tree. Subdivision = 2, - /// Listing group unit that defines a bid. + /// Listing group unit that defines a bid. Unit = 3, } impl ListingGroupType { @@ -1185,27 +1185,27 @@ pub mod listing_group_type_enum { } } } -// Proto file describing location group radius units. +// Proto file describing location group radius units. -/// Container for enum describing unit of radius in location group. +/// Container for enum describing unit of radius in location group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupRadiusUnitsEnum { } /// Nested message and enum types in `LocationGroupRadiusUnitsEnum`. pub mod location_group_radius_units_enum { - /// The unit of radius distance in location group (e.g. MILES) + /// The unit of radius distance in location group (e.g. MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationGroupRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meters + /// Meters Meters = 2, - /// Miles + /// Miles Miles = 3, - /// Milli Miles + /// Milli Miles MilliMiles = 4, } impl LocationGroupRadiusUnits { @@ -1224,29 +1224,29 @@ pub mod location_group_radius_units_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of quarter-hours. +/// Container for enumeration of quarter-hours. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MinuteOfHourEnum { } /// Nested message and enum types in `MinuteOfHourEnum`. pub mod minute_of_hour_enum { - /// Enumerates of quarter-hours. E.g. "FIFTEEN" + /// Enumerates of quarter-hours. E.g. "FIFTEEN" #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinuteOfHour { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Zero minutes past the hour. + /// Zero minutes past the hour. Zero = 2, - /// Fifteen minutes past the hour. + /// Fifteen minutes past the hour. Fifteen = 3, - /// Thirty minutes past the hour. + /// Thirty minutes past the hour. Thirty = 4, - /// Forty-five minutes past the hour. + /// Forty-five minutes past the hour. FortyFive = 5, } impl MinuteOfHour { @@ -1266,27 +1266,27 @@ pub mod minute_of_hour_enum { } } } -// Proto file describing parenal status types. +// Proto file describing parenal status types. -/// Container for enum describing the type of demographic parental statuses. +/// Container for enum describing the type of demographic parental statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusTypeEnum { } /// Nested message and enum types in `ParentalStatusTypeEnum`. pub mod parental_status_type_enum { - /// The type of parental statuses (e.g. not a parent). + /// The type of parental statuses (e.g. not a parent). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ParentalStatusType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Parent. + /// Parent. Parent = 300, - /// Not a parent. + /// Not a parent. NotAParent = 301, - /// Undetermined parental status. + /// Undetermined parental status. Undetermined = 302, } impl ParentalStatusType { @@ -1305,23 +1305,23 @@ pub mod parental_status_type_enum { } } } -// Proto file describing preferred content criterion type. +// Proto file describing preferred content criterion type. -/// Container for enumeration of preferred content criterion type. +/// Container for enumeration of preferred content criterion type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentTypeEnum { } /// Nested message and enum types in `PreferredContentTypeEnum`. pub mod preferred_content_type_enum { - /// Enumerates preferred content criterion type. + /// Enumerates preferred content criterion type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PreferredContentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Represents top content on YouTube. + /// Represents top content on YouTube. YoutubeTopContent = 400, } impl PreferredContentType { @@ -1338,29 +1338,29 @@ pub mod preferred_content_type_enum { } } } -/// Level of a product bidding category. +/// Level of a product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryLevelEnum { } /// Nested message and enum types in `ProductBiddingCategoryLevelEnum`. pub mod product_bidding_category_level_enum { - /// Enum describing the level of the product bidding category. + /// Enum describing the level of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ProductBiddingCategoryLevel { @@ -1381,25 +1381,25 @@ pub mod product_bidding_category_level_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelEnum { } /// Nested message and enum types in `ProductChannelEnum`. pub mod product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ProductChannel { @@ -1417,27 +1417,27 @@ pub mod product_channel_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityEnum { } /// Nested message and enum types in `ProductChannelExclusivityEnum`. pub mod product_channel_exclusivity_enum { - /// Enum describing the availability of a product offer. + /// Enum describing the availability of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannelExclusivity { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold through one channel only, either local stores or online - /// as indicated by its ProductChannel. + /// The item is sold through one channel only, either local stores or online + /// as indicated by its ProductChannel. SingleChannel = 2, - /// The item is matched to its online or local stores counterpart, indicating - /// it is available for purchase in both ShoppingProductChannels. + /// The item is matched to its online or local stores counterpart, indicating + /// it is available for purchase in both ShoppingProductChannels. MultiChannel = 3, } impl ProductChannelExclusivity { @@ -1455,27 +1455,27 @@ pub mod product_channel_exclusivity_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionEnum { } /// Nested message and enum types in `ProductConditionEnum`. pub mod product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 3, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 4, - /// The product condition is used. + /// The product condition is used. Used = 5, } impl ProductCondition { @@ -1494,31 +1494,31 @@ pub mod product_condition_enum { } } } -// Proto file describing product custom attributes. +// Proto file describing product custom attributes. -/// Container for enum describing the index of the product custom attribute. +/// Container for enum describing the index of the product custom attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeIndexEnum { } /// Nested message and enum types in `ProductCustomAttributeIndexEnum`. pub mod product_custom_attribute_index_enum { - /// The index of the product custom attribute. + /// The index of the product custom attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First product custom attribute. + /// First product custom attribute. Index0 = 7, - /// Second product custom attribute. + /// Second product custom attribute. Index1 = 8, - /// Third product custom attribute. + /// Third product custom attribute. Index2 = 9, - /// Fourth product custom attribute. + /// Fourth product custom attribute. Index3 = 10, - /// Fifth product custom attribute. + /// Fifth product custom attribute. Index4 = 11, } impl ProductCustomAttributeIndex { @@ -1539,31 +1539,31 @@ pub mod product_custom_attribute_index_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeLevelEnum { } /// Nested message and enum types in `ProductTypeLevelEnum`. pub mod product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 7, - /// Level 2. + /// Level 2. Level2 = 8, - /// Level 3. + /// Level 3. Level3 = 9, - /// Level 4. + /// Level 4. Level4 = 10, - /// Level 5. + /// Level 5. Level5 = 11, } impl ProductTypeLevel { @@ -1584,25 +1584,25 @@ pub mod product_type_level_enum { } } } -// Proto file describing proximity radius units. +// Proto file describing proximity radius units. -/// Container for enum describing unit of radius in proximity. +/// Container for enum describing unit of radius in proximity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityRadiusUnitsEnum { } /// Nested message and enum types in `ProximityRadiusUnitsEnum`. pub mod proximity_radius_units_enum { - /// The unit of radius distance in proximity (e.g. MILES) + /// The unit of radius distance in proximity (e.g. MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProximityRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Miles + /// Miles Miles = 2, - /// Kilometers + /// Kilometers Kilometers = 3, } impl ProximityRadiusUnits { @@ -1620,31 +1620,31 @@ pub mod proximity_radius_units_enum { } } } -// Proto file describing webpage condition operand. +// Proto file describing webpage condition operand. -/// Container for enum describing webpage condition operand in webpage criterion. +/// Container for enum describing webpage condition operand in webpage criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperandEnum { } /// Nested message and enum types in `WebpageConditionOperandEnum`. pub mod webpage_condition_operand_enum { - /// The webpage condition operand in webpage criterion. + /// The webpage condition operand in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperand { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Operand denoting a webpage URL targeting condition. + /// Operand denoting a webpage URL targeting condition. Url = 2, - /// Operand denoting a webpage category targeting condition. + /// Operand denoting a webpage category targeting condition. Category = 3, - /// Operand denoting a webpage title targeting condition. + /// Operand denoting a webpage title targeting condition. PageTitle = 4, - /// Operand denoting a webpage content targeting condition. + /// Operand denoting a webpage content targeting condition. PageContent = 5, - /// Operand denoting a webpage custom label targeting condition. + /// Operand denoting a webpage custom label targeting condition. CustomLabel = 6, } impl WebpageConditionOperand { @@ -1665,26 +1665,26 @@ pub mod webpage_condition_operand_enum { } } } -// Proto file describing webpage condition operator. +// Proto file describing webpage condition operator. -/// Container for enum describing webpage condition operator in webpage -/// criterion. +/// Container for enum describing webpage condition operator in webpage +/// criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperatorEnum { } /// Nested message and enum types in `WebpageConditionOperatorEnum`. pub mod webpage_condition_operator_enum { - /// The webpage condition operator in webpage criterion. + /// The webpage condition operator in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The argument web condition is equal to the compared web condition. + /// The argument web condition is equal to the compared web condition. Equals = 2, - /// The argument web condition is part of the compared web condition. + /// The argument web condition is part of the compared web condition. Contains = 3, } impl WebpageConditionOperator { @@ -1702,39 +1702,39 @@ pub mod webpage_condition_operator_enum { } } } -// Proto file describing call to action type. +// Proto file describing call to action type. -/// Container for enum describing the call to action types. +/// Container for enum describing the call to action types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionTypeEnum { } /// Nested message and enum types in `CallToActionTypeEnum`. pub mod call_to_action_type_enum { - /// Enum describing possible types of call to action. + /// Enum describing possible types of call to action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call to action type is learn more. + /// The call to action type is learn more. LearnMore = 2, - /// The call to action type is get quote. + /// The call to action type is get quote. GetQuote = 3, - /// The call to action type is apply now. + /// The call to action type is apply now. ApplyNow = 4, - /// The call to action type is sign up. + /// The call to action type is sign up. SignUp = 5, - /// The call to action type is contact us. + /// The call to action type is contact us. ContactUs = 6, - /// The call to action type is subscribe. + /// The call to action type is subscribe. Subscribe = 7, - /// The call to action type is download. + /// The call to action type is download. Download = 8, - /// The call to action type is book now. + /// The call to action type is book now. BookNow = 9, - /// The call to action type is shop now. + /// The call to action type is shop now. ShopNow = 10, } impl CallToActionType { @@ -1759,47 +1759,47 @@ pub mod call_to_action_type_enum { } } } -/// Describes the type of call-to-action phrases in a lead form. +/// Describes the type of call-to-action phrases in a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormCallToActionTypeEnum`. pub mod lead_form_call_to_action_type_enum { - /// Enum describing the type of call-to-action phrases in a lead form. + /// Enum describing the type of call-to-action phrases in a lead form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Learn more. + /// Learn more. LearnMore = 2, - /// Get quote. + /// Get quote. GetQuote = 3, - /// Apply now. + /// Apply now. ApplyNow = 4, - /// Sign Up. + /// Sign Up. SignUp = 5, - /// Contact us. + /// Contact us. ContactUs = 6, - /// Subscribe. + /// Subscribe. Subscribe = 7, - /// Download. + /// Download. Download = 8, - /// Book now. + /// Book now. BookNow = 9, - /// Get offer. + /// Get offer. GetOffer = 10, - /// Register. + /// Register. Register = 11, - /// Get info. + /// Get info. GetInfo = 12, - /// Request a demo. + /// Request a demo. RequestDemo = 13, - /// Join now. + /// Join now. JoinNow = 14, - /// Get started. + /// Get started. GetStarted = 15, } impl LeadFormCallToActionType { @@ -1829,23 +1829,23 @@ pub mod lead_form_call_to_action_type_enum { } } } -/// Describes the desired level of intent of generated leads. +/// Describes the desired level of intent of generated leads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDesiredIntentEnum { } /// Nested message and enum types in `LeadFormDesiredIntentEnum`. pub mod lead_form_desired_intent_enum { - /// Enum describing the desired level of intent of generated leads. + /// Enum describing the desired level of intent of generated leads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormDesiredIntent { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Deliver more leads at a potentially lower quality. + /// Deliver more leads at a potentially lower quality. LowIntent = 2, - /// Deliver leads that are more qualified. + /// Deliver leads that are more qualified. HighIntent = 3, } impl LeadFormDesiredIntent { @@ -1863,204 +1863,204 @@ pub mod lead_form_desired_intent_enum { } } } -/// Describes the input type of a lead form field. +/// Describes the input type of a lead form field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormFieldUserInputTypeEnum { } /// Nested message and enum types in `LeadFormFieldUserInputTypeEnum`. pub mod lead_form_field_user_input_type_enum { - /// Enum describing the input type of a lead form field. + /// Enum describing the input type of a lead form field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormFieldUserInputType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The user will be asked to fill in their given and family name. This field - /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. + /// The user will be asked to fill in their given and family name. This field + /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. FullName = 2, - /// The user will be asked to fill in their email address. + /// The user will be asked to fill in their email address. Email = 3, - /// The user will be asked to fill in their phone number. + /// The user will be asked to fill in their phone number. PhoneNumber = 4, - /// The user will be asked to fill in their zip code. + /// The user will be asked to fill in their zip code. PostalCode = 5, - /// The user will be asked to fill in their city. + /// The user will be asked to fill in their city. City = 9, - /// The user will be asked to fill in their region part of the address (e.g. - /// state for US, province for Canada). + /// The user will be asked to fill in their region part of the address (e.g. + /// state for US, province for Canada). Region = 10, - /// The user will be asked to fill in their country. + /// The user will be asked to fill in their country. Country = 11, - /// The user will be asked to fill in their work email address. + /// The user will be asked to fill in their work email address. WorkEmail = 12, - /// The user will be asked to fill in their company name. + /// The user will be asked to fill in their company name. CompanyName = 13, - /// The user will be asked to fill in their work phone. + /// The user will be asked to fill in their work phone. WorkPhone = 14, - /// The user will be asked to fill in their job title. + /// The user will be asked to fill in their job title. JobTitle = 15, - /// The user will be asked to fill in their CPF for Brazil users. + /// The user will be asked to fill in their CPF for Brazil users. GovernmentIssuedIdCpfBr = 16, - /// The user will be asked to fill in their DNI for Argentina users. + /// The user will be asked to fill in their DNI for Argentina users. GovernmentIssuedIdDniAr = 17, - /// The user will be asked to fill in their DNI for Peru users. + /// The user will be asked to fill in their DNI for Peru users. GovernmentIssuedIdDniPe = 18, - /// The user will be asked to fill in their RUT for Chile users. + /// The user will be asked to fill in their RUT for Chile users. GovernmentIssuedIdRutCl = 19, - /// The user will be asked to fill in their CC for Colombia users. + /// The user will be asked to fill in their CC for Colombia users. GovernmentIssuedIdCcCo = 20, - /// The user will be asked to fill in their CI for Ecuador users. + /// The user will be asked to fill in their CI for Ecuador users. GovernmentIssuedIdCiEc = 21, - /// The user will be asked to fill in their RFC for Mexico users. + /// The user will be asked to fill in their RFC for Mexico users. GovernmentIssuedIdRfcMx = 22, - /// The user will be asked to fill in their first name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their first name. This + /// field can not be set at the same time as FULL_NAME. FirstName = 23, - /// The user will be asked to fill in their last name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their last name. This + /// field can not be set at the same time as FULL_NAME. LastName = 24, - /// Question: "Which model are you interested in?" - /// Category: "Auto" + /// Question: "Which model are you interested in?" + /// Category: "Auto" VehicleModel = 1001, - /// Question: "Which type of vehicle are you interested in?" - /// Category: "Auto" + /// Question: "Which type of vehicle are you interested in?" + /// Category: "Auto" VehicleType = 1002, - /// Question: "What is your preferred dealership?" - /// Category: "Auto" + /// Question: "What is your preferred dealership?" + /// Category: "Auto" PreferredDealership = 1003, - /// Question: "When do you plan on purchasing a vehicle?" - /// Category: "Auto" + /// Question: "When do you plan on purchasing a vehicle?" + /// Category: "Auto" VehiclePurchaseTimeline = 1004, - /// Question: "Do you own a vehicle?" - /// Category: "Auto" + /// Question: "Do you own a vehicle?" + /// Category: "Auto" VehicleOwnership = 1005, - /// Question: "What vehicle ownership option are you interested in?" - /// Category: "Auto" + /// Question: "What vehicle ownership option are you interested in?" + /// Category: "Auto" VehiclePaymentType = 1009, - /// Question: "What type of vehicle condition are you interested in?" - /// Category: "Auto" + /// Question: "What type of vehicle condition are you interested in?" + /// Category: "Auto" VehicleCondition = 1010, - /// Question: "What size is your company?" - /// Category: "Business" + /// Question: "What size is your company?" + /// Category: "Business" CompanySize = 1006, - /// Question: "What is your annual sales volume?" - /// Category: "Business" + /// Question: "What is your annual sales volume?" + /// Category: "Business" AnnualSales = 1007, - /// Question: "How many years have you been in business?" - /// Category: "Business" + /// Question: "How many years have you been in business?" + /// Category: "Business" YearsInBusiness = 1008, - /// Question: "What is your job department?" - /// Category: "Business" + /// Question: "What is your job department?" + /// Category: "Business" JobDepartment = 1011, - /// Question: "What is your job role?" - /// Category: "Business" + /// Question: "What is your job role?" + /// Category: "Business" JobRole = 1012, - /// Question: "Which program are you interested in?" - /// Category: "Education" + /// Question: "Which program are you interested in?" + /// Category: "Education" EducationProgram = 1013, - /// Question: "Which course are you interested in?" - /// Category: "Education" + /// Question: "Which course are you interested in?" + /// Category: "Education" EducationCourse = 1014, - /// Question: "Which product are you interested in?" - /// Category: "General" + /// Question: "Which product are you interested in?" + /// Category: "General" Product = 1016, - /// Question: "Which service are you interested in?" - /// Category: "General" + /// Question: "Which service are you interested in?" + /// Category: "General" Service = 1017, - /// Question: "Which offer are you interested in?" - /// Category: "General" + /// Question: "Which offer are you interested in?" + /// Category: "General" Offer = 1018, - /// Question: "Which category are you interested in?" - /// Category: "General" + /// Question: "Which category are you interested in?" + /// Category: "General" Category = 1019, - /// Question: "What is your preferred method of contact?" - /// Category: "General" + /// Question: "What is your preferred method of contact?" + /// Category: "General" PreferredContactMethod = 1020, - /// Question: "What is your preferred location?" - /// Category: "General" + /// Question: "What is your preferred location?" + /// Category: "General" PreferredLocation = 1021, - /// Question: "What is the best time to contact you?" - /// Category: "General" + /// Question: "What is the best time to contact you?" + /// Category: "General" PreferredContactTime = 1022, - /// Question: "When are you looking to make a purchase?" - /// Category: "General" + /// Question: "When are you looking to make a purchase?" + /// Category: "General" PurchaseTimeline = 1023, - /// Question: "How many years of work experience do you have?" - /// Category: "Jobs" + /// Question: "How many years of work experience do you have?" + /// Category: "Jobs" YearsOfExperience = 1048, - /// Question: "What industry do you work in?" - /// Category: "Jobs" + /// Question: "What industry do you work in?" + /// Category: "Jobs" JobIndustry = 1049, - /// Question: "What is your highest level of education?" - /// Category: "Jobs" + /// Question: "What is your highest level of education?" + /// Category: "Jobs" LevelOfEducation = 1050, - /// Question: "What type of property are you looking for?" - /// Category: "Real Estate" + /// Question: "What type of property are you looking for?" + /// Category: "Real Estate" PropertyType = 1024, - /// Question: "What do you need a realtor's help with?" - /// Category: "Real Estate" + /// Question: "What do you need a realtor's help with?" + /// Category: "Real Estate" RealtorHelpGoal = 1025, - /// Question: "What neighborhood are you interested in?" - /// Category: "Real Estate" + /// Question: "What neighborhood are you interested in?" + /// Category: "Real Estate" PropertyCommunity = 1026, - /// Question: "What price range are you looking for?" - /// Category: "Real Estate" + /// Question: "What price range are you looking for?" + /// Category: "Real Estate" PriceRange = 1027, - /// Question: "How many bedrooms are you looking for?" - /// Category: "Real Estate" + /// Question: "How many bedrooms are you looking for?" + /// Category: "Real Estate" NumberOfBedrooms = 1028, - /// Question: "Are you looking for a fully furnished property?" - /// Category: "Real Estate" + /// Question: "Are you looking for a fully furnished property?" + /// Category: "Real Estate" FurnishedProperty = 1029, - /// Question: "Are you looking for properties that allow pets?" - /// Category: "Real Estate" + /// Question: "Are you looking for properties that allow pets?" + /// Category: "Real Estate" PetsAllowedProperty = 1030, - /// Question: "What is the next product you plan to purchase?" - /// Category: "Retail" + /// Question: "What is the next product you plan to purchase?" + /// Category: "Retail" NextPlannedPurchase = 1031, - /// Question: "Would you like to sign up for an event?" - /// Category: "Retail" + /// Question: "Would you like to sign up for an event?" + /// Category: "Retail" EventSignupInterest = 1033, - /// Question: "Where are you interested in shopping?" - /// Category: "Retail" + /// Question: "Where are you interested in shopping?" + /// Category: "Retail" PreferredShoppingPlaces = 1034, - /// Question: "What is your favorite brand?" - /// Category: "Retail" + /// Question: "What is your favorite brand?" + /// Category: "Retail" FavoriteBrand = 1035, - /// Question: "Which type of valid commercial license do you have?" - /// Category: "Transportation" + /// Question: "Which type of valid commercial license do you have?" + /// Category: "Transportation" TransportationCommercialLicenseType = 1036, - /// Question: "Interested in booking an event?" - /// Category: "Travel" + /// Question: "Interested in booking an event?" + /// Category: "Travel" EventBookingInterest = 1038, - /// Question: "What is your destination country?" - /// Category: "Travel" + /// Question: "What is your destination country?" + /// Category: "Travel" DestinationCountry = 1039, - /// Question: "What is your destination city?" - /// Category: "Travel" + /// Question: "What is your destination city?" + /// Category: "Travel" DestinationCity = 1040, - /// Question: "What is your departure country?" - /// Category: "Travel" + /// Question: "What is your departure country?" + /// Category: "Travel" DepartureCountry = 1041, - /// Question: "What is your departure city?" - /// Category: "Travel" + /// Question: "What is your departure city?" + /// Category: "Travel" DepartureCity = 1042, - /// Question: "What is your departure date?" - /// Category: "Travel" + /// Question: "What is your departure date?" + /// Category: "Travel" DepartureDate = 1043, - /// Question: "What is your return date?" - /// Category: "Travel" + /// Question: "What is your return date?" + /// Category: "Travel" ReturnDate = 1044, - /// Question: "How many people are you traveling with?" - /// Category: "Travel" + /// Question: "How many people are you traveling with?" + /// Category: "Travel" NumberOfTravelers = 1045, - /// Question: "What is your travel budget?" - /// Category: "Travel" + /// Question: "What is your travel budget?" + /// Category: "Travel" TravelBudget = 1046, - /// Question: "Where do you want to stay during your travel?" - /// Category: "Travel" + /// Question: "Where do you want to stay during your travel?" + /// Category: "Travel" TravelAccommodation = 1047, } impl LeadFormFieldUserInputType { @@ -2143,28 +2143,28 @@ pub mod lead_form_field_user_input_type_enum { } } } -/// Describes the type of post-submit call-to-action phrases for a lead form. +/// Describes the type of post-submit call-to-action phrases for a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormPostSubmitCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormPostSubmitCallToActionTypeEnum`. pub mod lead_form_post_submit_call_to_action_type_enum { - /// Enum describing the type of post-submit call-to-action phrases for a lead - /// form. + /// Enum describing the type of post-submit call-to-action phrases for a lead + /// form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormPostSubmitCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Visit site. + /// Visit site. VisitSite = 2, - /// Download. + /// Download. Download = 3, - /// Learn more. + /// Learn more. LearnMore = 4, - /// Shop now. + /// Shop now. ShopNow = 5, } impl LeadFormPostSubmitCallToActionType { @@ -2184,23 +2184,23 @@ pub mod lead_form_post_submit_call_to_action_type_enum { } } } -/// Container for enum describing different types of mobile app vendors. +/// Container for enum describing different types of mobile app vendors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppVendorEnum { } /// Nested message and enum types in `MobileAppVendorEnum`. pub mod mobile_app_vendor_enum { - /// The type of mobile app vendor + /// The type of mobile app vendor #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileAppVendor { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app vendor for Apple app store. + /// Mobile app vendor for Apple app store. AppleAppStore = 2, - /// Mobile app vendor for Google app store. + /// Mobile app vendor for Google app store. GoogleAppStore = 3, } impl MobileAppVendor { @@ -2218,27 +2218,27 @@ pub mod mobile_app_vendor_enum { } } } -// Proto file describing price extension price qualifier type. +// Proto file describing price extension price qualifier type. -/// Container for enum describing a price extension price qualifier. +/// Container for enum describing a price extension price qualifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceQualifierEnum { } /// Nested message and enum types in `PriceExtensionPriceQualifierEnum`. pub mod price_extension_price_qualifier_enum { - /// Enums of price extension price qualifier. + /// Enums of price extension price qualifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceQualifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'From' qualifier for the price. + /// 'From' qualifier for the price. From = 2, - /// 'Up to' qualifier for the price. + /// 'Up to' qualifier for the price. UpTo = 3, - /// 'Average' qualifier for the price. + /// 'Average' qualifier for the price. Average = 4, } impl PriceExtensionPriceQualifier { @@ -2257,33 +2257,33 @@ pub mod price_extension_price_qualifier_enum { } } } -// Proto file describing price extension price unit. +// Proto file describing price extension price unit. -/// Container for enum describing price extension price unit. +/// Container for enum describing price extension price unit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceUnitEnum { } /// Nested message and enum types in `PriceExtensionPriceUnitEnum`. pub mod price_extension_price_unit_enum { - /// Price extension price unit. + /// Price extension price unit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per hour. + /// Per hour. PerHour = 2, - /// Per day. + /// Per day. PerDay = 3, - /// Per week. + /// Per week. PerWeek = 4, - /// Per month. + /// Per month. PerMonth = 5, - /// Per year. + /// Per year. PerYear = 6, - /// Per night. + /// Per night. PerNight = 7, } impl PriceExtensionPriceUnit { @@ -2305,39 +2305,39 @@ pub mod price_extension_price_unit_enum { } } } -// Proto file describing price extension type. +// Proto file describing price extension type. -/// Container for enum describing types for a price extension. +/// Container for enum describing types for a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionTypeEnum { } /// Nested message and enum types in `PriceExtensionTypeEnum`. pub mod price_extension_type_enum { - /// Price extension type. + /// Price extension type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The type for showing a list of brands. + /// The type for showing a list of brands. Brands = 2, - /// The type for showing a list of events. + /// The type for showing a list of events. Events = 3, - /// The type for showing locations relevant to your business. + /// The type for showing locations relevant to your business. Locations = 4, - /// The type for showing sub-regions or districts within a city or region. + /// The type for showing sub-regions or districts within a city or region. Neighborhoods = 5, - /// The type for showing a collection of product categories. + /// The type for showing a collection of product categories. ProductCategories = 6, - /// The type for showing a collection of related product tiers. + /// The type for showing a collection of related product tiers. ProductTiers = 7, - /// The type for showing a collection of services offered by your business. + /// The type for showing a collection of services offered by your business. Services = 8, - /// The type for showing a collection of service categories. + /// The type for showing a collection of service categories. ServiceCategories = 9, - /// The type for showing a collection of related service tiers. + /// The type for showing a collection of related service tiers. ServiceTiers = 10, } impl PriceExtensionType { @@ -2362,24 +2362,24 @@ pub mod price_extension_type_enum { } } } -// Proto file describing promotion extension discount modifier. +// Proto file describing promotion extension discount modifier. -/// Container for enum describing possible a promotion extension -/// discount modifier. +/// Container for enum describing possible a promotion extension +/// discount modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionDiscountModifierEnum { } /// Nested message and enum types in `PromotionExtensionDiscountModifierEnum`. pub mod promotion_extension_discount_modifier_enum { - /// A promotion extension discount modifier. + /// A promotion extension discount modifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionDiscountModifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'Up to'. + /// 'Up to'. UpTo = 2, } impl PromotionExtensionDiscountModifier { @@ -2396,97 +2396,97 @@ pub mod promotion_extension_discount_modifier_enum { } } } -// Proto file describing promotion extension occasion. +// Proto file describing promotion extension occasion. -/// Container for enum describing a promotion extension occasion. -/// For more information about the occasions please check: -/// +/// Container for enum describing a promotion extension occasion. +/// For more information about the occasions please check: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionOccasionEnum { } /// Nested message and enum types in `PromotionExtensionOccasionEnum`. pub mod promotion_extension_occasion_enum { - /// A promotion extension occasion. + /// A promotion extension occasion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionOccasion { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// New Year's. + /// New Year's. NewYears = 2, - /// Chinese New Year. + /// Chinese New Year. ChineseNewYear = 3, - /// Valentine's Day. + /// Valentine's Day. ValentinesDay = 4, - /// Easter. + /// Easter. Easter = 5, - /// Mother's Day. + /// Mother's Day. MothersDay = 6, - /// Father's Day. + /// Father's Day. FathersDay = 7, - /// Labor Day. + /// Labor Day. LaborDay = 8, - /// Back To School. + /// Back To School. BackToSchool = 9, - /// Halloween. + /// Halloween. Halloween = 10, - /// Black Friday. + /// Black Friday. BlackFriday = 11, - /// Cyber Monday. + /// Cyber Monday. CyberMonday = 12, - /// Christmas. + /// Christmas. Christmas = 13, - /// Boxing Day. + /// Boxing Day. BoxingDay = 14, - /// Independence Day in any country. + /// Independence Day in any country. IndependenceDay = 15, - /// National Day in any country. + /// National Day in any country. NationalDay = 16, - /// End of any season. + /// End of any season. EndOfSeason = 17, - /// Winter Sale. + /// Winter Sale. WinterSale = 18, - /// Summer sale. + /// Summer sale. SummerSale = 19, - /// Fall Sale. + /// Fall Sale. FallSale = 20, - /// Spring Sale. + /// Spring Sale. SpringSale = 21, - /// Ramadan. + /// Ramadan. Ramadan = 22, - /// Eid al-Fitr. + /// Eid al-Fitr. EidAlFitr = 23, - /// Eid al-Adha. + /// Eid al-Adha. EidAlAdha = 24, - /// Singles Day. + /// Singles Day. SinglesDay = 25, - /// Women's Day. + /// Women's Day. WomensDay = 26, - /// Holi. + /// Holi. Holi = 27, - /// Parent's Day. + /// Parent's Day. ParentsDay = 28, - /// St. Nicholas Day. + /// St. Nicholas Day. StNicholasDay = 29, - /// Carnival. + /// Carnival. Carnival = 30, - /// Epiphany, also known as Three Kings' Day. + /// Epiphany, also known as Three Kings' Day. Epiphany = 31, - /// Rosh Hashanah. + /// Rosh Hashanah. RoshHashanah = 32, - /// Passover. + /// Passover. Passover = 33, - /// Hanukkah. + /// Hanukkah. Hanukkah = 34, - /// Diwali. + /// Diwali. Diwali = 35, - /// Navratri. + /// Navratri. Navratri = 36, - /// Available in Thai: Songkran. + /// Available in Thai: Songkran. Songkran = 37, - /// Available in Japanese: Year-end Gift. + /// Available in Japanese: Year-end Gift. YearEndGift = 38, } impl PromotionExtensionOccasion { @@ -2539,29 +2539,29 @@ pub mod promotion_extension_occasion_enum { } } } -// Proto file describing target impression share goal. +// Proto file describing target impression share goal. -/// Container for enum describing where on the first search results page the -/// automated bidding system should target impressions for the -/// TargetImpressionShare bidding strategy. +/// Container for enum describing where on the first search results page the +/// automated bidding system should target impressions for the +/// TargetImpressionShare bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareLocationEnum { } /// Nested message and enum types in `TargetImpressionShareLocationEnum`. pub mod target_impression_share_location_enum { - /// Enum describing possible goals. + /// Enum describing possible goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetImpressionShareLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Any location on the web page. + /// Any location on the web page. AnywhereOnPage = 2, - /// Top box of ads. + /// Top box of ads. TopOfPage = 3, - /// Top slot in the top box of ads. + /// Top slot in the top box of ads. AbsoluteTopOfPage = 4, } impl TargetImpressionShareLocation { @@ -2580,62 +2580,62 @@ pub mod target_impression_share_location_enum { } } } -// Proto file describing advertising channel subtypes. +// Proto file describing advertising channel subtypes. -/// An immutable specialization of an Advertising Channel. +/// An immutable specialization of an Advertising Channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelSubTypeEnum { } /// Nested message and enum types in `AdvertisingChannelSubTypeEnum`. pub mod advertising_channel_sub_type_enum { - /// Enum describing the different channel subtypes. + /// Enum describing the different channel subtypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelSubType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app campaigns for Search. + /// Mobile app campaigns for Search. SearchMobileApp = 2, - /// Mobile app campaigns for Display. + /// Mobile app campaigns for Display. DisplayMobileApp = 3, - /// AdWords express campaigns for search. + /// AdWords express campaigns for search. SearchExpress = 4, - /// AdWords Express campaigns for display. + /// AdWords Express campaigns for display. DisplayExpress = 5, - /// Smart Shopping campaigns. + /// Smart Shopping campaigns. ShoppingSmartAds = 6, - /// Gmail Ad campaigns. + /// Gmail Ad campaigns. DisplayGmailAd = 7, - /// Smart display campaigns. + /// Smart display campaigns. DisplaySmartCampaign = 8, - /// Video Outstream campaigns. + /// Video Outstream campaigns. VideoOutstream = 9, - /// Video TrueView for Action campaigns. + /// Video TrueView for Action campaigns. VideoAction = 10, - /// Video campaigns with non-skippable video ads. + /// Video campaigns with non-skippable video ads. VideoNonSkippable = 11, - /// App Campaign that allows you to easily promote your Android or iOS app - /// across Google's top properties including Search, Play, YouTube, and the - /// Google Display Network. + /// App Campaign that allows you to easily promote your Android or iOS app + /// across Google's top properties including Search, Play, YouTube, and the + /// Google Display Network. AppCampaign = 12, - /// App Campaign for engagement, focused on driving re-engagement with the - /// app across several of Google's top properties including Search, YouTube, - /// and the Google Display Network. + /// App Campaign for engagement, focused on driving re-engagement with the + /// app across several of Google's top properties including Search, YouTube, + /// and the Google Display Network. AppCampaignForEngagement = 13, - /// Campaigns specialized for local advertising. + /// Campaigns specialized for local advertising. LocalCampaign = 14, - /// Shopping Comparison Listing campaigns. + /// Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 15, - /// Standard Smart campaigns. + /// Standard Smart campaigns. SmartCampaign = 16, - /// Video campaigns with sequence video ads. + /// Video campaigns with sequence video ads. VideoSequence = 17, - /// App Campaign for pre registration, specialized for advertising mobile - /// app pre-registration, that targets multiple advertising channels across - /// Google Play, YouTube and Display Network. See - /// to learn more. + /// App Campaign for pre registration, specialized for advertising mobile + /// app pre-registration, that targets multiple advertising channels across + /// Google Play, YouTube and Display Network. See + /// to learn more. AppCampaignForPreRegistration = 18, } impl AdvertisingChannelSubType { @@ -2668,45 +2668,45 @@ pub mod advertising_channel_sub_type_enum { } } } -// Proto file describing advertising channel types +// Proto file describing advertising channel types -/// The channel type a campaign may target to serve on. +/// The channel type a campaign may target to serve on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelTypeEnum { } /// Nested message and enum types in `AdvertisingChannelTypeEnum`. pub mod advertising_channel_type_enum { - /// Enum describing the various advertising channel types. + /// Enum describing the various advertising channel types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search Network. Includes display bundled, and Search+ campaigns. + /// Search Network. Includes display bundled, and Search+ campaigns. Search = 2, - /// Google Display Network only. + /// Google Display Network only. Display = 3, - /// Shopping campaigns serve on the shopping property - /// and on google.com search results. + /// Shopping campaigns serve on the shopping property + /// and on google.com search results. Shopping = 4, - /// Hotel Ads campaigns. + /// Hotel Ads campaigns. Hotel = 5, - /// Video campaigns. + /// Video campaigns. Video = 6, - /// App Campaigns, and App Campaigns for Engagement, that run - /// across multiple channels. + /// App Campaigns, and App Campaigns for Engagement, that run + /// across multiple channels. MultiChannel = 7, - /// Local ads campaigns. + /// Local ads campaigns. Local = 8, - /// Smart campaigns. + /// Smart campaigns. Smart = 9, - /// Performance Max campaigns. + /// Performance Max campaigns. PerformanceMax = 10, - /// Local services campaigns. + /// Local services campaigns. LocalServices = 11, - /// Discovery campaigns. + /// Discovery campaigns. Discovery = 12, } impl AdvertisingChannelType { @@ -2733,32 +2733,32 @@ pub mod advertising_channel_type_enum { } } } -// Proto file describing the criterion category channel availability mode. +// Proto file describing the criterion category channel availability mode. -/// Describes channel availability mode for a criterion availability - whether -/// the availability is meant to include all advertising channels, or a -/// particular channel with all its channel subtypes, or a channel with a certain -/// subset of channel subtypes. +/// Describes channel availability mode for a criterion availability - whether +/// the availability is meant to include all advertising channels, or a +/// particular channel with all its channel subtypes, or a channel with a certain +/// subset of channel subtypes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryChannelAvailabilityModeEnum`. pub mod criterion_category_channel_availability_mode_enum { - /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. + /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryChannelAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all channel types and subtypes. + /// The category is available to campaigns of all channel types and subtypes. AllChannels = 2, - /// The category is available to campaigns of a specific channel type, - /// including all subtypes under it. + /// The category is available to campaigns of a specific channel type, + /// including all subtypes under it. ChannelTypeAndAllSubtypes = 3, - /// The category is available to campaigns of a specific channel type and - /// subtype(s). + /// The category is available to campaigns of a specific channel type and + /// subtype(s). ChannelTypeAndSubsetSubtypes = 4, } impl CriterionCategoryChannelAvailabilityMode { @@ -2777,34 +2777,34 @@ pub mod criterion_category_channel_availability_mode_enum { } } } -// Proto file describing the criterion category locale availability mode. +// Proto file describing the criterion category locale availability mode. -/// Describes locale availability mode for a criterion availability - whether -/// it's available globally, or a particular country with all languages, or a -/// particular language with all countries, or a country-language pair. +/// Describes locale availability mode for a criterion availability - whether +/// it's available globally, or a particular country with all languages, or a +/// particular language with all countries, or a country-language pair. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryLocaleAvailabilityModeEnum`. pub mod criterion_category_locale_availability_mode_enum { - /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. + /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryLocaleAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all locales. + /// The category is available to campaigns of all locales. AllLocales = 2, - /// The category is available to campaigns within a list of countries, - /// regardless of language. + /// The category is available to campaigns within a list of countries, + /// regardless of language. CountryAndAllLanguages = 3, - /// The category is available to campaigns within a list of languages, - /// regardless of country. + /// The category is available to campaigns within a list of languages, + /// regardless of country. LanguageAndAllCountries = 4, - /// The category is available to campaigns within a list of country, language - /// pairs. + /// The category is available to campaigns within a list of country, language + /// pairs. CountryAndLanguage = 5, } impl CriterionCategoryLocaleAvailabilityMode { @@ -2824,29 +2824,29 @@ pub mod criterion_category_locale_availability_mode_enum { } } } -// Proto file describing customizer attribute type. +// Proto file describing customizer attribute type. -/// Container for enum describing possible types of a customizer attribute. +/// Container for enum describing possible types of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeTypeEnum { } /// Nested message and enum types in `CustomizerAttributeTypeEnum`. pub mod customizer_attribute_type_enum { - /// The possible types of a customizer attribute. + /// The possible types of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeType { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// Text customizer. + /// Text customizer. Text = 2, - /// Number customizer. + /// Number customizer. Number = 3, - /// Price customizer consisting of a number and a currency. + /// Price customizer consisting of a number and a currency. Price = 4, - /// Percentage customizer consisting of a number and a '%'. + /// Percentage customizer consisting of a number and a '%'. Percent = 5, } impl CustomizerAttributeType { @@ -2866,45 +2866,45 @@ pub mod customizer_attribute_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of months of the year, e.g., "January". +/// Container for enumeration of months of the year, e.g., "January". #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthOfYearEnum { } /// Nested message and enum types in `MonthOfYearEnum`. pub mod month_of_year_enum { - /// Enumerates months of the year, e.g., "January". + /// Enumerates months of the year, e.g., "January". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MonthOfYear { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// January. + /// January. January = 2, - /// February. + /// February. February = 3, - /// March. + /// March. March = 4, - /// April. + /// April. April = 5, - /// May. + /// May. May = 6, - /// June. + /// June. June = 7, - /// July. + /// July. July = 8, - /// August. + /// August. August = 9, - /// September. + /// September. September = 10, - /// October. + /// October. October = 11, - /// November. + /// November. November = 12, - /// December. + /// December. December = 13, } impl MonthOfYear { @@ -2932,25 +2932,25 @@ pub mod month_of_year_enum { } } } -// Proto file describing app store types for an app extension. +// Proto file describing app store types for an app extension. -/// Container for enum describing app store type in an app extension. +/// Container for enum describing app store type in an app extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppStoreEnum { } /// Nested message and enum types in `AppStoreEnum`. pub mod app_store_enum { - /// App store type in an app extension. + /// App store type in an app extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleItunes = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, } impl AppStore { @@ -2968,21 +2968,21 @@ pub mod app_store_enum { } } } -/// The type of string matching to be used for a dynamic FeedItemSet filter. +/// The type of string matching to be used for a dynamic FeedItemSet filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStringFilterTypeEnum { } /// Nested message and enum types in `FeedItemSetStringFilterTypeEnum`. pub mod feed_item_set_string_filter_type_enum { - /// describe the possible types for a FeedItemSetStringFilter. + /// describe the possible types for a FeedItemSetStringFilter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStringFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The dynamic set filter will use exact string matching. + /// The dynamic set filter will use exact string matching. Exact = 2, } impl FeedItemSetStringFilterType { @@ -2999,25 +2999,25 @@ pub mod feed_item_set_string_filter_type_enum { } } } -// Proto file describing operating system for a deeplink app URL. +// Proto file describing operating system for a deeplink app URL. -/// The possible OS types for a deeplink AppUrl. +/// The possible OS types for a deeplink AppUrl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppUrlOperatingSystemTypeEnum { } /// Nested message and enum types in `AppUrlOperatingSystemTypeEnum`. pub mod app_url_operating_system_type_enum { - /// Operating System + /// Operating System #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppUrlOperatingSystemType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The Apple IOS operating system. + /// The Apple IOS operating system. Ios = 2, - /// The Android operating system. + /// The Android operating system. Android = 3, } impl AppUrlOperatingSystemType { @@ -3035,25 +3035,25 @@ pub mod app_url_operating_system_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the type of event that the cap applies to. +/// Container for enum describing the type of event that the cap applies to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEventTypeEnum { } /// Nested message and enum types in `FrequencyCapEventTypeEnum`. pub mod frequency_cap_event_type_enum { - /// The type of event that the cap applies to (e.g. impression). + /// The type of event that the cap applies to (e.g. impression). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap applies on ad impressions. + /// The cap applies on ad impressions. Impression = 2, - /// The cap applies on video ad views. + /// The cap applies on video ad views. VideoView = 3, } impl FrequencyCapEventType { @@ -3071,28 +3071,28 @@ pub mod frequency_cap_event_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the level on which the cap is to be applied. +/// Container for enum describing the level on which the cap is to be applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapLevelEnum { } /// Nested message and enum types in `FrequencyCapLevelEnum`. pub mod frequency_cap_level_enum { - /// The level on which the cap is to be applied (e.g ad group ad, ad group). - /// Cap is applied to all the resources of this level. + /// The level on which the cap is to be applied (e.g ad group ad, ad group). + /// Cap is applied to all the resources of this level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap is applied at the ad group ad level. + /// The cap is applied at the ad group ad level. AdGroupAd = 2, - /// The cap is applied at the ad group level. + /// The cap is applied at the ad group level. AdGroup = 3, - /// The cap is applied at the campaign level. + /// The cap is applied at the campaign level. Campaign = 4, } impl FrequencyCapLevel { @@ -3111,27 +3111,27 @@ pub mod frequency_cap_level_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the unit of time the cap is defined at. +/// Container for enum describing the unit of time the cap is defined at. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapTimeUnitEnum { } /// Nested message and enum types in `FrequencyCapTimeUnitEnum`. pub mod frequency_cap_time_unit_enum { - /// Unit of time the cap is defined at (e.g. day, week). + /// Unit of time the cap is defined at (e.g. day, week). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapTimeUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap would define limit per one day. + /// The cap would define limit per one day. Day = 2, - /// The cap would define limit per one week. + /// The cap would define limit per one week. Week = 3, - /// The cap would define limit per one month. + /// The cap would define limit per one month. Month = 4, } impl FrequencyCapTimeUnit { @@ -3150,23 +3150,23 @@ pub mod frequency_cap_time_unit_enum { } } } -// Proto file describing keyword plan aggregate metric types. +// Proto file describing keyword plan aggregate metric types. -/// The enumeration of keyword plan aggregate metric types. +/// The enumeration of keyword plan aggregate metric types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricTypeEnum { } /// Nested message and enum types in `KeywordPlanAggregateMetricTypeEnum`. pub mod keyword_plan_aggregate_metric_type_enum { - /// Aggregate fields. + /// Aggregate fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAggregateMetricType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The device breakdown of aggregate search volume. + /// The device breakdown of aggregate search volume. Device = 2, } impl KeywordPlanAggregateMetricType { @@ -3183,31 +3183,31 @@ pub mod keyword_plan_aggregate_metric_type_enum { } } } -// Proto file describing Keyword Planner competition levels. +// Proto file describing Keyword Planner competition levels. -/// Container for enumeration of keyword competition levels. The competition -/// level indicates how competitive ad placement is for a keyword and -/// is determined by the number of advertisers bidding on that keyword relative -/// to all keywords across Google. The competition level can depend on the -/// location and Search Network targeting options you've selected. +/// Container for enumeration of keyword competition levels. The competition +/// level indicates how competitive ad placement is for a keyword and +/// is determined by the number of advertisers bidding on that keyword relative +/// to all keywords across Google. The competition level can depend on the +/// location and Search Network targeting options you've selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCompetitionLevelEnum { } /// Nested message and enum types in `KeywordPlanCompetitionLevelEnum`. pub mod keyword_plan_competition_level_enum { - /// Competition level of a keyword. + /// Competition level of a keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCompetitionLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Low competition. The Competition Index range for this is [0, 33]. + /// Low competition. The Competition Index range for this is [0, 33]. Low = 2, - /// Medium competition. The Competition Index range for this is [34, 66]. + /// Medium competition. The Competition Index range for this is [34, 66]. Medium = 3, - /// High competition. The Competition Index range for this is [67, 100]. + /// High competition. The Competition Index range for this is [67, 100]. High = 4, } impl KeywordPlanCompetitionLevel { @@ -3226,32 +3226,32 @@ pub mod keyword_plan_competition_level_enum { } } } -// Proto file describing Keyword Planner Concept Group types. +// Proto file describing Keyword Planner Concept Group types. -/// Container for enumeration of keyword plan concept group types. +/// Container for enumeration of keyword plan concept group types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanConceptGroupTypeEnum { } /// Nested message and enum types in `KeywordPlanConceptGroupTypeEnum`. pub mod keyword_plan_concept_group_type_enum { - /// Enumerates keyword plan concept group types. + /// Enumerates keyword plan concept group types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanConceptGroupType { - /// The concept group classification different from brand/non-brand. - /// This is a catch all bucket for all classifications that are none of the - /// below. + /// The concept group classification different from brand/non-brand. + /// This is a catch all bucket for all classifications that are none of the + /// below. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The concept group classification is based on BRAND. + /// The concept group classification is based on BRAND. Brand = 2, - /// The concept group classification based on BRAND, that didn't fit well - /// with the BRAND classifications. These are generally outliers and can have - /// very few keywords in this type of classification. + /// The concept group classification based on BRAND, that didn't fit well + /// with the BRAND classifications. These are generally outliers and can have + /// very few keywords in this type of classification. OtherBrands = 3, - /// These concept group classification is not based on BRAND. This is - /// returned for generic keywords that don't have a brand association. + /// These concept group classification is not based on BRAND. This is + /// returned for generic keywords that don't have a brand association. NonBrand = 4, } impl KeywordPlanConceptGroupType { @@ -3270,27 +3270,27 @@ pub mod keyword_plan_concept_group_type_enum { } } } -// Proto file describing matching function context types. +// Proto file describing matching function context types. -/// Container for context types for an operand in a matching function. +/// Container for context types for an operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionContextTypeEnum { } /// Nested message and enum types in `MatchingFunctionContextTypeEnum`. pub mod matching_function_context_type_enum { - /// Possible context types for an operand in a matching function. + /// Possible context types for an operand in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionContextType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item id in the request context. + /// Feed item id in the request context. FeedItemId = 2, - /// The device being used (possible values are 'Desktop' or 'Mobile'). + /// The device being used (possible values are 'Desktop' or 'Mobile'). DeviceName = 3, - /// Feed item set id in the request context. + /// Feed item set id in the request context. FeedItemSetId = 4, } impl MatchingFunctionContextType { @@ -3309,37 +3309,37 @@ pub mod matching_function_context_type_enum { } } } -// Proto file describing matching function operators. +// Proto file describing matching function operators. -/// Container for enum describing matching function operator. +/// Container for enum describing matching function operator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionOperatorEnum { } /// Nested message and enum types in `MatchingFunctionOperatorEnum`. pub mod matching_function_operator_enum { - /// Possible operators in a matching function. + /// Possible operators in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The IN operator. + /// The IN operator. In = 2, - /// The IDENTITY operator. + /// The IDENTITY operator. Identity = 3, - /// The EQUALS operator + /// The EQUALS operator Equals = 4, - /// Operator that takes two or more operands that are of type - /// FunctionOperand and checks that all the operands evaluate to true. - /// For functions related to ad formats, all the operands must be in - /// left_operands. + /// Operator that takes two or more operands that are of type + /// FunctionOperand and checks that all the operands evaluate to true. + /// For functions related to ad formats, all the operands must be in + /// left_operands. And = 5, - /// Operator that returns true if the elements in left_operands contain any - /// of the elements in right_operands. Otherwise, return false. The - /// right_operands must contain at least 1 and no more than 3 - /// ConstantOperands. + /// Operator that returns true if the elements in left_operands contain any + /// of the elements in right_operands. Otherwise, return false. The + /// right_operands must contain at least 1 and no more than 3 + /// ConstantOperands. ContainsAny = 6, } impl MatchingFunctionOperator { @@ -3360,47 +3360,47 @@ pub mod matching_function_operator_enum { } } } -// Proto file describing experiment metric. +// Proto file describing experiment metric. -/// Container for enum describing the type of experiment metric. +/// Container for enum describing the type of experiment metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentMetricEnum { } /// Nested message and enum types in `ExperimentMetricEnum`. pub mod experiment_metric_enum { - /// The type of experiment metric. + /// The type of experiment metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentMetric { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The goal of the experiment is clicks. + /// The goal of the experiment is clicks. Clicks = 2, - /// The goal of the experiment is impressions. + /// The goal of the experiment is impressions. Impressions = 3, - /// The goal of the experiment is cost. + /// The goal of the experiment is cost. Cost = 4, - /// The goal of the experiment is conversion rate. + /// The goal of the experiment is conversion rate. ConversionsPerInteractionRate = 5, - /// The goal of the experiment is cost per conversion. + /// The goal of the experiment is cost per conversion. CostPerConversion = 6, - /// The goal of the experiment is conversion value per cost. + /// The goal of the experiment is conversion value per cost. ConversionsValuePerCost = 7, - /// The goal of the experiment is avg cpc. + /// The goal of the experiment is avg cpc. AverageCpc = 8, - /// The goal of the experiment is ctr. + /// The goal of the experiment is ctr. Ctr = 9, - /// The goal of the experiment is incremental conversions. + /// The goal of the experiment is incremental conversions. IncrementalConversions = 10, - /// The goal of the experiment is completed video views. + /// The goal of the experiment is completed video views. CompletedVideoViews = 11, - /// The goal of the experiment is custom algorithms. + /// The goal of the experiment is custom algorithms. CustomAlgorithms = 12, - /// The goal of the experiment is conversions. + /// The goal of the experiment is conversions. Conversions = 13, - /// The goal of the experiment is conversion value. + /// The goal of the experiment is conversion value. ConversionValue = 14, } impl ExperimentMetric { @@ -3429,33 +3429,33 @@ pub mod experiment_metric_enum { } } } -// Proto file describing experiment metric direction. +// Proto file describing experiment metric direction. -/// Container for enum describing the type of experiment metric direction. +/// Container for enum describing the type of experiment metric direction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentMetricDirectionEnum { } /// Nested message and enum types in `ExperimentMetricDirectionEnum`. pub mod experiment_metric_direction_enum { - /// The type of experiment metric direction. + /// The type of experiment metric direction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentMetricDirection { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The goal of the experiment is to not change the metric. + /// The goal of the experiment is to not change the metric. NoChange = 2, - /// The goal of the experiment is to increate the metric. + /// The goal of the experiment is to increate the metric. Increase = 3, - /// The goal of the experiment is to decrease the metric. + /// The goal of the experiment is to decrease the metric. Decrease = 4, - /// The goal of the experiment is to either not change or increase the - /// metric. + /// The goal of the experiment is to either not change or increase the + /// metric. NoChangeOrIncrease = 5, - /// The goal of the experiment is to either not change or decrease the - /// metric. + /// The goal of the experiment is to either not change or decrease the + /// metric. NoChangeOrDecrease = 6, } impl ExperimentMetricDirection { @@ -3476,35 +3476,35 @@ pub mod experiment_metric_direction_enum { } } } -// Proto file describing types of payable and free interactions. +// Proto file describing types of payable and free interactions. -/// Container for enum describing types of payable and free interactions. +/// Container for enum describing types of payable and free interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionEventTypeEnum { } /// Nested message and enum types in `InteractionEventTypeEnum`. pub mod interaction_event_type_enum { - /// Enum describing possible types of payable and free interactions. + /// Enum describing possible types of payable and free interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Click to site. In most cases, this interaction navigates to an external - /// location, usually the advertiser's landing page. This is also the default - /// InteractionEventType for click events. + /// Click to site. In most cases, this interaction navigates to an external + /// location, usually the advertiser's landing page. This is also the default + /// InteractionEventType for click events. Click = 2, - /// The user's expressed intent to engage with the ad in-place. + /// The user's expressed intent to engage with the ad in-place. Engagement = 3, - /// User viewed a video ad. + /// User viewed a video ad. VideoView = 4, - /// The default InteractionEventType for ad conversion events. - /// This is used when an ad conversion row does NOT indicate - /// that the free interactions (i.e., the ad conversions) - /// should be 'promoted' and reported as part of the core metrics. - /// These are simply other (ad) conversions. + /// The default InteractionEventType for ad conversion events. + /// This is used when an ad conversion row does NOT indicate + /// that the free interactions (i.e., the ad conversions) + /// should be 'promoted' and reported as part of the core metrics. + /// These are simply other (ad) conversions. None = 5, } impl InteractionEventType { @@ -3524,27 +3524,27 @@ pub mod interaction_event_type_enum { } } } -// Proto file describing quality score buckets. +// Proto file describing quality score buckets. -/// The relative performance compared to other advertisers. +/// The relative performance compared to other advertisers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityScoreBucketEnum { } /// Nested message and enum types in `QualityScoreBucketEnum`. pub mod quality_score_bucket_enum { - /// Enum listing the possible quality score buckets. + /// Enum listing the possible quality score buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QualityScoreBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Quality of the creative is below average. + /// Quality of the creative is below average. BelowAverage = 2, - /// Quality of the creative is average. + /// Quality of the creative is average. Average = 3, - /// Quality of the creative is above average. + /// Quality of the creative is above average. AboveAverage = 4, } impl QualityScoreBucket { @@ -3563,29 +3563,29 @@ pub mod quality_score_bucket_enum { } } } -// Proto file describing user identifier source +// Proto file describing user identifier source -/// Container for enum describing the source of the user identifier for offline -/// Store Sales, click conversion, and conversion adjustment uploads. +/// Container for enum describing the source of the user identifier for offline +/// Store Sales, click conversion, and conversion adjustment uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifierSourceEnum { } /// Nested message and enum types in `UserIdentifierSourceEnum`. pub mod user_identifier_source_enum { - /// The type of user identifier source for offline Store Sales, click - /// conversion, and conversion adjustment uploads. + /// The type of user identifier source for offline Store Sales, click + /// conversion, and conversion adjustment uploads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserIdentifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version + /// Used for return value only. Represents value unknown in this version Unknown = 1, - /// Indicates that the user identifier was provided by the first party - /// (advertiser). + /// Indicates that the user identifier was provided by the first party + /// (advertiser). FirstParty = 2, - /// Indicates that the user identifier was provided by the third party - /// (partner). + /// Indicates that the user identifier was provided by the third party + /// (partner). ThirdParty = 3, } impl UserIdentifierSource { @@ -3603,43 +3603,43 @@ pub mod user_identifier_source_enum { } } } -// Proto file describing ad destination types. +// Proto file describing ad destination types. -/// Container for enumeration of Google Ads destination types. +/// Container for enumeration of Google Ads destination types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdDestinationTypeEnum { } /// Nested message and enum types in `AdDestinationTypeEnum`. pub mod ad_destination_type_enum { - /// Enumerates Google Ads destination types + /// Enumerates Google Ads destination types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdDestinationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Ads that don't intend to drive users off from ads to other destinations + /// Ads that don't intend to drive users off from ads to other destinations NotApplicable = 2, - /// Website + /// Website Website = 3, - /// App Deep Link + /// App Deep Link AppDeepLink = 4, - /// iOS App Store or Play Store + /// iOS App Store or Play Store AppStore = 5, - /// Call Dialer + /// Call Dialer PhoneCall = 6, - /// Map App + /// Map App MapDirections = 7, - /// Location Dedicated Page + /// Location Dedicated Page LocationListing = 8, - /// Text Message + /// Text Message Message = 9, - /// Lead Generation Form + /// Lead Generation Form LeadForm = 10, - /// YouTube + /// YouTube Youtube = 11, - /// Ad Destination for Conversions with keys unknown + /// Ad Destination for Conversions with keys unknown UnmodeledForConversions = 12, } impl AdDestinationType { @@ -3666,33 +3666,33 @@ pub mod ad_destination_type_enum { } } } -// Proto file describing ad network types. +// Proto file describing ad network types. -/// Container for enumeration of Google Ads network types. +/// Container for enumeration of Google Ads network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdNetworkTypeEnum { } /// Nested message and enum types in `AdNetworkTypeEnum`. pub mod ad_network_type_enum { - /// Enumerates Google Ads network types. + /// Enumerates Google Ads network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdNetworkType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search. + /// Google search. Search = 2, - /// Search partners. + /// Search partners. SearchPartners = 3, - /// Display Network. + /// Display Network. Content = 4, - /// YouTube Search. + /// YouTube Search. YoutubeSearch = 5, - /// YouTube Videos + /// YouTube Videos YoutubeWatch = 6, - /// Cross-network. + /// Cross-network. Mixed = 7, } impl AdNetworkType { @@ -3714,26 +3714,26 @@ pub mod ad_network_type_enum { } } } -// Proto file describing Budget and Campaign association status. +// Proto file describing Budget and Campaign association status. -/// Message describing the status of the association between the Budget and the -/// Campaign. +/// Message describing the status of the association between the Budget and the +/// Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatusEnum { } /// Nested message and enum types in `BudgetCampaignAssociationStatusEnum`. pub mod budget_campaign_association_status_enum { - /// Possible statuses of the association between the Budget and the Campaign. + /// Possible statuses of the association between the Budget and the Campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetCampaignAssociationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign is currently using the budget. + /// The campaign is currently using the budget. Enabled = 2, - /// The campaign is no longer using the budget. + /// The campaign is no longer using the budget. Removed = 3, } impl BudgetCampaignAssociationStatus { @@ -3751,129 +3751,129 @@ pub mod budget_campaign_association_status_enum { } } } -// Proto file describing click types. +// Proto file describing click types. -/// Container for enumeration of Google Ads click types. +/// Container for enumeration of Google Ads click types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickTypeEnum { } /// Nested message and enum types in `ClickTypeEnum`. pub mod click_type_enum { - /// Enumerates Google Ads click types. + /// Enumerates Google Ads click types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ClickType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// App engagement ad deep link. + /// App engagement ad deep link. AppDeeplink = 2, - /// Breadcrumbs. + /// Breadcrumbs. Breadcrumbs = 3, - /// Broadband Plan. + /// Broadband Plan. BroadbandPlan = 4, - /// Manually dialed phone calls. + /// Manually dialed phone calls. CallTracking = 5, - /// Phone calls. + /// Phone calls. Calls = 6, - /// Click on engagement ad. + /// Click on engagement ad. ClickOnEngagementAd = 7, - /// Driving direction. + /// Driving direction. GetDirections = 8, - /// Get location details. + /// Get location details. LocationExpansion = 9, - /// Call. + /// Call. LocationFormatCall = 10, - /// Directions. + /// Directions. LocationFormatDirections = 11, - /// Image(s). + /// Image(s). LocationFormatImage = 12, - /// Go to landing page. + /// Go to landing page. LocationFormatLandingPage = 13, - /// Map. + /// Map. LocationFormatMap = 14, - /// Go to store info. + /// Go to store info. LocationFormatStoreInfo = 15, - /// Text. + /// Text. LocationFormatText = 16, - /// Mobile phone calls. + /// Mobile phone calls. MobileCallTracking = 17, - /// Print offer. + /// Print offer. OfferPrints = 18, - /// Other. + /// Other. Other = 19, - /// Product plusbox offer. + /// Product plusbox offer. ProductExtensionClicks = 20, - /// Shopping - Product - Online. + /// Shopping - Product - Online. ProductListingAdClicks = 21, - /// Sitelink. + /// Sitelink. Sitelinks = 22, - /// Show nearby locations. + /// Show nearby locations. StoreLocator = 23, - /// Headline. + /// Headline. UrlClicks = 25, - /// App store. + /// App store. VideoAppStoreClicks = 26, - /// Call-to-Action overlay. + /// Call-to-Action overlay. VideoCallToActionClicks = 27, - /// Cards. + /// Cards. VideoCardActionHeadlineClicks = 28, - /// End cap. + /// End cap. VideoEndCapClicks = 29, - /// Website. + /// Website. VideoWebsiteClicks = 30, - /// Visual Sitelinks. + /// Visual Sitelinks. VisualSitelinks = 31, - /// Wireless Plan. + /// Wireless Plan. WirelessPlan = 32, - /// Shopping - Product - Local. + /// Shopping - Product - Local. ProductListingAdLocal = 33, - /// Shopping - Product - MultiChannel Local. + /// Shopping - Product - MultiChannel Local. ProductListingAdMultichannelLocal = 34, - /// Shopping - Product - MultiChannel Online. + /// Shopping - Product - MultiChannel Online. ProductListingAdMultichannelOnline = 35, - /// Shopping - Product - Coupon. + /// Shopping - Product - Coupon. ProductListingAdsCoupon = 36, - /// Shopping - Product - Sell on Google. + /// Shopping - Product - Sell on Google. ProductListingAdTransactable = 37, - /// Shopping - Product - App engagement ad deep link. + /// Shopping - Product - App engagement ad deep link. ProductAdAppDeeplink = 38, - /// Shopping - Showcase - Category. + /// Shopping - Showcase - Category. ShowcaseAdCategoryLink = 39, - /// Shopping - Showcase - Local storefront. + /// Shopping - Showcase - Local storefront. ShowcaseAdLocalStorefrontLink = 40, - /// Shopping - Showcase - Online product. + /// Shopping - Showcase - Online product. ShowcaseAdOnlineProductLink = 42, - /// Shopping - Showcase - Local product. + /// Shopping - Showcase - Local product. ShowcaseAdLocalProductLink = 43, - /// Promotion Extension. + /// Promotion Extension. PromotionExtension = 44, - /// Ad Headline. + /// Ad Headline. SwipeableGalleryAdHeadline = 45, - /// Swipes. + /// Swipes. SwipeableGalleryAdSwipes = 46, - /// See More. + /// See More. SwipeableGalleryAdSeeMore = 47, - /// Sitelink 1. + /// Sitelink 1. SwipeableGalleryAdSitelinkOne = 48, - /// Sitelink 2. + /// Sitelink 2. SwipeableGalleryAdSitelinkTwo = 49, - /// Sitelink 3. + /// Sitelink 3. SwipeableGalleryAdSitelinkThree = 50, - /// Sitelink 4. + /// Sitelink 4. SwipeableGalleryAdSitelinkFour = 51, - /// Sitelink 5. + /// Sitelink 5. SwipeableGalleryAdSitelinkFive = 52, - /// Hotel price. + /// Hotel price. HotelPrice = 53, - /// Price Extension. + /// Price Extension. PriceExtension = 54, - /// Book on Google hotel room selection. + /// Book on Google hotel room selection. HotelBookOnGoogleRoomSelection = 55, - /// Shopping - Comparison Listing. + /// Shopping - Comparison Listing. ShoppingComparisonListing = 56, - /// Cross-network. From Performance Max and Discovery Campaigns. + /// Cross-network. From Performance Max and Discovery Campaigns. CrossNetwork = 57, } impl ClickType { @@ -3943,72 +3943,72 @@ pub mod click_type_enum { } } } -/// Container for enum describing the category of conversions that are associated -/// with a ConversionAction. +/// Container for enum describing the category of conversions that are associated +/// with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCategoryEnum { } /// Nested message and enum types in `ConversionActionCategoryEnum`. pub mod conversion_action_category_enum { - /// The category of conversions that are associated with a ConversionAction. + /// The category of conversions that are associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCategory { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Default category. + /// Default category. Default = 2, - /// User visiting a page. + /// User visiting a page. PageView = 3, - /// Purchase, sales, or "order placed" event. + /// Purchase, sales, or "order placed" event. Purchase = 4, - /// Signup user action. + /// Signup user action. Signup = 5, - /// Software download action (as for an app). + /// Software download action (as for an app). Download = 7, - /// The addition of items to a shopping cart or bag on an advertiser site. + /// The addition of items to a shopping cart or bag on an advertiser site. AddToCart = 8, - /// When someone enters the checkout flow on an advertiser site. + /// When someone enters the checkout flow on an advertiser site. BeginCheckout = 9, - /// The start of a paid subscription for a product or service. + /// The start of a paid subscription for a product or service. SubscribePaid = 10, - /// A call to indicate interest in an advertiser's offering. + /// A call to indicate interest in an advertiser's offering. PhoneCallLead = 11, - /// A lead conversion imported from an external source into Google Ads. + /// A lead conversion imported from an external source into Google Ads. ImportedLead = 12, - /// A submission of a form on an advertiser site indicating business - /// interest. + /// A submission of a form on an advertiser site indicating business + /// interest. SubmitLeadForm = 13, - /// A booking of an appointment with an advertiser's business. + /// A booking of an appointment with an advertiser's business. BookAppointment = 14, - /// A quote or price estimate request. + /// A quote or price estimate request. RequestQuote = 15, - /// A search for an advertiser's business location with intention to visit. + /// A search for an advertiser's business location with intention to visit. GetDirections = 16, - /// A click to an advertiser's partner's site. + /// A click to an advertiser's partner's site. OutboundClick = 17, - /// A call, SMS, email, chat or other type of contact to an advertiser. + /// A call, SMS, email, chat or other type of contact to an advertiser. Contact = 18, - /// A website engagement event such as long site time or a Google Analytics - /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - /// imports. + /// A website engagement event such as long site time or a Google Analytics + /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal + /// imports. Engagement = 19, - /// A visit to a physical store location. + /// A visit to a physical store location. StoreVisit = 20, - /// A sale occurring in a physical store. + /// A sale occurring in a physical store. StoreSale = 21, - /// A lead conversion imported from an external source into Google Ads, - /// that has been further qualified by the advertiser (marketing/sales team). - /// In the lead-to-sale journey, advertisers get leads, then act on them - /// by reaching out to the consumer. If the consumer is interested and - /// may end up buying their product, the advertiser marks such leads as - /// "qualified leads". + /// A lead conversion imported from an external source into Google Ads, + /// that has been further qualified by the advertiser (marketing/sales team). + /// In the lead-to-sale journey, advertisers get leads, then act on them + /// by reaching out to the consumer. If the consumer is interested and + /// may end up buying their product, the advertiser marks such leads as + /// "qualified leads". QualifiedLead = 22, - /// A lead conversion imported from an external source into Google Ads, that - /// has further completed a desired stage as defined by the lead gen - /// advertiser. + /// A lead conversion imported from an external source into Google Ads, that + /// has further completed a desired stage as defined by the lead gen + /// advertiser. ConvertedLead = 23, } impl ConversionActionCategory { @@ -4045,23 +4045,23 @@ pub mod conversion_action_category_enum { } } } -/// Container for enum indicating the event type the conversion is attributed to. +/// Container for enum indicating the event type the conversion is attributed to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAttributionEventTypeEnum { } /// Nested message and enum types in `ConversionAttributionEventTypeEnum`. pub mod conversion_attribution_event_type_enum { - /// The event type of conversions that are attributed to. + /// The event type of conversions that are attributed to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAttributionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// The conversion is attributed to an impression. + /// The conversion is attributed to an impression. Impression = 2, - /// The conversion is attributed to an interaction. + /// The conversion is attributed to an interaction. Interaction = 3, } impl ConversionAttributionEventType { @@ -4079,75 +4079,75 @@ pub mod conversion_attribution_event_type_enum { } } } -/// Container for enum representing the number of days between impression and -/// conversion. +/// Container for enum representing the number of days between impression and +/// conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionLagBucketEnum { } /// Nested message and enum types in `ConversionLagBucketEnum`. pub mod conversion_lag_bucket_enum { - /// Enum representing the number of days between impression and conversion. + /// Enum representing the number of days between impression and conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. LessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. OneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. TwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. FourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. FiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. SixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. SevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. EightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. NineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. TenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. TwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. FourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. TwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. FortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. SixtyToNinetyDays = 20, } impl ConversionLagBucket { @@ -4182,142 +4182,142 @@ pub mod conversion_lag_bucket_enum { } } } -/// Container for enum representing the number of days between the impression and -/// the conversion or between the impression and adjustments to the conversion. +/// Container for enum representing the number of days between the impression and +/// the conversion or between the impression and adjustments to the conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOrAdjustmentLagBucketEnum { } /// Nested message and enum types in `ConversionOrAdjustmentLagBucketEnum`. pub mod conversion_or_adjustment_lag_bucket_enum { - /// Enum representing the number of days between the impression and the - /// conversion or between the impression and adjustments to the conversion. + /// Enum representing the number of days between the impression and the + /// conversion or between the impression and adjustments to the conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrAdjustmentLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. ConversionLessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. ConversionOneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. ConversionTwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ConversionThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. ConversionFourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. ConversionFiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. ConversionSixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. ConversionSevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. ConversionEightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. ConversionNineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. ConversionTenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ConversionElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. ConversionTwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ConversionThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. ConversionFourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. ConversionTwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ConversionThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. ConversionFortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. ConversionSixtyToNinetyDays = 20, - /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - /// 1 day is not. + /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, + /// 1 day is not. AdjustmentLessThanOneDay = 21, - /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - /// 2 days is not. + /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, + /// 2 days is not. AdjustmentOneToTwoDays = 22, - /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. AdjustmentTwoToThreeDays = 23, - /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. AdjustmentThreeToFourDays = 24, - /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. AdjustmentFourToFiveDays = 25, - /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. AdjustmentFiveToSixDays = 26, - /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. AdjustmentSixToSevenDays = 27, - /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. AdjustmentSevenToEightDays = 28, - /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. AdjustmentEightToNineDays = 29, - /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. AdjustmentNineToTenDays = 30, - /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. AdjustmentTenToElevenDays = 31, - /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. AdjustmentElevenToTwelveDays = 32, - /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. AdjustmentTwelveToThirteenDays = 33, - /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. AdjustmentThirteenToFourteenDays = 34, - /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. AdjustmentFourteenToTwentyOneDays = 35, - /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. AdjustmentTwentyOneToThirtyDays = 36, - /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. AdjustmentThirtyToFortyFiveDays = 37, - /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. AdjustmentFortyFiveToSixtyDays = 38, - /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. AdjustmentSixtyToNinetyDays = 39, - /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is - /// included, 145 days is not. + /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is + /// included, 145 days is not. AdjustmentNinetyToOneHundredAndFortyFiveDays = 40, - /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag - /// bucket was available in Google Ads. + /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag + /// bucket was available in Google Ads. ConversionUnknown = 41, - /// Conversion adjustment lag bucket UNKNOWN. This is for dates before - /// conversion adjustment lag bucket was available in Google Ads. + /// Conversion adjustment lag bucket UNKNOWN. This is for dates before + /// conversion adjustment lag bucket was available in Google Ads. AdjustmentUnknown = 42, } impl ConversionOrAdjustmentLagBucket { @@ -4374,36 +4374,36 @@ pub mod conversion_or_adjustment_lag_bucket_enum { } } } -// Proto file describing conversion value rule primary dimension. +// Proto file describing conversion value rule primary dimension. -/// Container for enum describing value rule primary dimension for stats. +/// Container for enum describing value rule primary dimension for stats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRulePrimaryDimensionEnum { } /// Nested message and enum types in `ConversionValueRulePrimaryDimensionEnum`. pub mod conversion_value_rule_primary_dimension_enum { - /// Identifies the primary dimension for conversion value rule stats. + /// Identifies the primary dimension for conversion value rule stats. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRulePrimaryDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// For no-value-rule-applied conversions after value rule is enabled. + /// For no-value-rule-applied conversions after value rule is enabled. NoRuleApplied = 2, - /// Below are for value-rule-applied conversions: - /// The original stats. + /// Below are for value-rule-applied conversions: + /// The original stats. Original = 3, - /// When a new or returning customer condition is satisfied. + /// When a new or returning customer condition is satisfied. NewVsReturningUser = 4, - /// When a query-time Geo location condition is satisfied. + /// When a query-time Geo location condition is satisfied. GeoLocation = 5, - /// When a query-time browsing device condition is satisfied. + /// When a query-time browsing device condition is satisfied. Device = 6, - /// When a query-time audience condition is satisfied. + /// When a query-time audience condition is satisfied. Audience = 7, - /// When multiple rules are applied. + /// When multiple rules are applied. Multiple = 8, } impl ConversionValueRulePrimaryDimension { @@ -4426,104 +4426,104 @@ pub mod conversion_value_rule_primary_dimension_enum { } } } -/// Container for enum describing the external conversion source that is -/// associated with a ConversionAction. +/// Container for enum describing the external conversion source that is +/// associated with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalConversionSourceEnum { } /// Nested message and enum types in `ExternalConversionSourceEnum`. pub mod external_conversion_source_enum { - /// The external conversion source that is associated with a ConversionAction. + /// The external conversion source that is associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExternalConversionSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Conversion that occurs when a user navigates to a particular webpage - /// after viewing an ad; Displayed in Google Ads UI as 'Website'. + /// Conversion that occurs when a user navigates to a particular webpage + /// after viewing an ad; Displayed in Google Ads UI as 'Website'. Webpage = 2, - /// Conversion that comes from linked Google Analytics goal or transaction; - /// Displayed in Google Ads UI as 'Analytics'. + /// Conversion that comes from linked Google Analytics goal or transaction; + /// Displayed in Google Ads UI as 'Analytics'. Analytics = 3, - /// Website conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from clicks'. + /// Website conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from clicks'. Upload = 4, - /// Conversion that occurs when a user clicks on a call extension directly on - /// an ad; Displayed in Google Ads UI as 'Calls from ads'. + /// Conversion that occurs when a user clicks on a call extension directly on + /// an ad; Displayed in Google Ads UI as 'Calls from ads'. AdCallMetrics = 5, - /// Conversion that occurs when a user calls a dynamically-generated phone - /// number (by installed javascript) from an advertiser's website after - /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. + /// Conversion that occurs when a user calls a dynamically-generated phone + /// number (by installed javascript) from an advertiser's website after + /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. WebsiteCallMetrics = 6, - /// Conversion that occurs when a user visits an advertiser's retail store - /// after clicking on a Google ad; - /// Displayed in Google Ads UI as 'Store visits'. + /// Conversion that occurs when a user visits an advertiser's retail store + /// after clicking on a Google ad; + /// Displayed in Google Ads UI as 'Store visits'. StoreVisits = 7, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an Android app; - /// Displayed in Google Ads UI as 'Android in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an Android app; + /// Displayed in Google Ads UI as 'Android in-app action'. AndroidInApp = 8, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an iOS app; - /// Displayed in Google Ads UI as 'iOS in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an iOS app; + /// Displayed in Google Ads UI as 'iOS in-app action'. IosInApp = 9, - /// Conversion that occurs when a user opens an iOS app for the first time; - /// Displayed in Google Ads UI as 'iOS app install (first open)'. + /// Conversion that occurs when a user opens an iOS app for the first time; + /// Displayed in Google Ads UI as 'iOS app install (first open)'. IosFirstOpen = 10, - /// Legacy app conversions that do not have an AppPlatform provided; - /// Displayed in Google Ads UI as 'Mobile app'. + /// Legacy app conversions that do not have an AppPlatform provided; + /// Displayed in Google Ads UI as 'Mobile app'. AppUnspecified = 11, - /// Conversion that occurs when a user opens an Android app for the first - /// time; Displayed in Google Ads UI as 'Android app install (first open)'. + /// Conversion that occurs when a user opens an Android app for the first + /// time; Displayed in Google Ads UI as 'Android app install (first open)'. AndroidFirstOpen = 12, - /// Call conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from calls'. + /// Call conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from calls'. UploadCalls = 13, - /// Conversion that comes from a linked Firebase event; - /// Displayed in Google Ads UI as 'Firebase'. + /// Conversion that comes from a linked Firebase event; + /// Displayed in Google Ads UI as 'Firebase'. Firebase = 14, - /// Conversion that occurs when a user clicks on a mobile phone number; - /// Displayed in Google Ads UI as 'Phone number clicks'. + /// Conversion that occurs when a user clicks on a mobile phone number; + /// Displayed in Google Ads UI as 'Phone number clicks'. ClickToCall = 15, - /// Conversion that comes from Salesforce; - /// Displayed in Google Ads UI as 'Salesforce.com'. + /// Conversion that comes from Salesforce; + /// Displayed in Google Ads UI as 'Salesforce.com'. Salesforce = 16, - /// Conversion that comes from in-store purchases recorded by CRM; - /// Displayed in Google Ads UI as 'Store sales (data partner)'. + /// Conversion that comes from in-store purchases recorded by CRM; + /// Displayed in Google Ads UI as 'Store sales (data partner)'. StoreSalesCrm = 17, - /// Conversion that comes from in-store purchases from payment network; - /// Displayed in Google Ads UI as 'Store sales (payment network)'. + /// Conversion that comes from in-store purchases from payment network; + /// Displayed in Google Ads UI as 'Store sales (payment network)'. StoreSalesPaymentNetwork = 18, - /// Codeless Google Play conversion; - /// Displayed in Google Ads UI as 'Google Play'. + /// Codeless Google Play conversion; + /// Displayed in Google Ads UI as 'Google Play'. GooglePlay = 19, - /// Conversion that comes from a linked third-party app analytics event; - /// Displayed in Google Ads UI as 'Third-party app analytics'. + /// Conversion that comes from a linked third-party app analytics event; + /// Displayed in Google Ads UI as 'Third-party app analytics'. ThirdPartyAppAnalytics = 20, - /// Conversion that is controlled by Google Attribution. + /// Conversion that is controlled by Google Attribution. GoogleAttribution = 21, - /// Store Sales conversion based on first-party or third-party merchant data - /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. + /// Store Sales conversion based on first-party or third-party merchant data + /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. StoreSalesDirectUpload = 23, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. Displayed in Google Ads UI as 'Store sales'. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. Displayed in Google Ads UI as 'Store sales'. StoreSales = 24, - /// Conversions imported from Search Ads 360 Floodlight data. + /// Conversions imported from Search Ads 360 Floodlight data. SearchAds360 = 25, - /// Conversions that track local actions from Google's products and services - /// after interacting with an ad. + /// Conversions that track local actions from Google's products and services + /// after interacting with an ad. GoogleHosted = 27, - /// Conversions reported by Floodlight tags. + /// Conversions reported by Floodlight tags. Floodlight = 29, - /// Conversions that come from Google Analytics specifically for Search Ads - /// 360. Displayed in Google Ads UI as Analytics (SA360). + /// Conversions that come from Google Analytics specifically for Search Ads + /// 360. Displayed in Google Ads UI as Analytics (SA360). AnalyticsSearchAds360 = 31, - /// Conversion that comes from a linked Firebase event for Search Ads 360. + /// Conversion that comes from a linked Firebase event for Search Ads 360. FirebaseSearchAds360 = 33, - /// Conversion that is reported by Floodlight for DV360. + /// Conversion that is reported by Floodlight for DV360. DisplayAndVideo360Floodlight = 34, } impl ExternalConversionSource { @@ -4567,32 +4567,32 @@ pub mod external_conversion_source_enum { } } } -// Proto file describing hotel price buckets. +// Proto file describing hotel price buckets. -/// Container for enum describing hotel price bucket for a hotel itinerary. +/// Container for enum describing hotel price bucket for a hotel itinerary. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPriceBucketEnum { } /// Nested message and enum types in `HotelPriceBucketEnum`. pub mod hotel_price_bucket_enum { - /// Enum describing possible hotel price buckets. + /// Enum describing possible hotel price buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPriceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Uniquely lowest price. Partner has the lowest price, and no other - /// partners are within a small variance of that price. + /// Uniquely lowest price. Partner has the lowest price, and no other + /// partners are within a small variance of that price. LowestUnique = 2, - /// Tied for lowest price. Partner is within a small variance of the lowest - /// price. + /// Tied for lowest price. Partner is within a small variance of the lowest + /// price. LowestTied = 3, - /// Not lowest price. Partner is not within a small variance of the lowest - /// price. + /// Not lowest price. Partner is not within a small variance of the lowest + /// price. NotLowest = 4, - /// Partner was the only one shown. + /// Partner was the only one shown. OnlyPartnerShown = 5, } impl HotelPriceBucket { @@ -4612,35 +4612,35 @@ pub mod hotel_price_bucket_enum { } } } -// Proto file describing hotel rate types. +// Proto file describing hotel rate types. -/// Container for enum describing possible hotel rate types. +/// Container for enum describing possible hotel rate types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelRateTypeEnum { } /// Nested message and enum types in `HotelRateTypeEnum`. pub mod hotel_rate_type_enum { - /// Enum describing possible hotel rate types. + /// Enum describing possible hotel rate types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelRateType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Rate type information is unavailable. + /// Rate type information is unavailable. Unavailable = 2, - /// Rates available to everyone. + /// Rates available to everyone. PublicRate = 3, - /// A membership program rate is available and satisfies basic requirements - /// like having a public rate available. UI treatment will strikethrough the - /// public rate and indicate that a discount is available to the user. For - /// more on Qualified Rates, visit - /// + /// A membership program rate is available and satisfies basic requirements + /// like having a public rate available. UI treatment will strikethrough the + /// public rate and indicate that a discount is available to the user. For + /// more on Qualified Rates, visit + /// QualifiedRate = 4, - /// Rates available to users that satisfy some eligibility criteria. e.g. - /// all signed-in users, 20% of mobile users, all mobile users in Canada, - /// etc. + /// Rates available to users that satisfy some eligibility criteria. e.g. + /// all signed-in users, 20% of mobile users, all mobile users in Canada, + /// etc. PrivateRate = 5, } impl HotelRateType { @@ -4660,81 +4660,81 @@ pub mod hotel_rate_type_enum { } } } -// Proto file describing feed placeholder types. +// Proto file describing feed placeholder types. -/// Container for enum describing possible placeholder types for a feed mapping. +/// Container for enum describing possible placeholder types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlaceholderTypeEnum { } /// Nested message and enum types in `PlaceholderTypeEnum`. pub mod placeholder_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlaceholderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Lets you show links in your ad to pages from your website, including the - /// main landing page. + /// Lets you show links in your ad to pages from your website, including the + /// main landing page. Sitelink = 2, - /// Lets you attach a phone number to an ad, allowing customers to call - /// directly from the ad. + /// Lets you attach a phone number to an ad, allowing customers to call + /// directly from the ad. Call = 3, - /// Lets you provide users with a link that points to a mobile app in - /// addition to a website. + /// Lets you provide users with a link that points to a mobile app in + /// addition to a website. App = 4, - /// Lets you show locations of businesses from your Business Profile - /// in your ad. This helps people find your locations by showing your - /// ads with your address, a map to your location, or the distance to your - /// business. This extension type is useful to draw customers to your - /// brick-and-mortar location. + /// Lets you show locations of businesses from your Business Profile + /// in your ad. This helps people find your locations by showing your + /// ads with your address, a map to your location, or the distance to your + /// business. This extension type is useful to draw customers to your + /// brick-and-mortar location. Location = 5, - /// If you sell your product through retail chains, affiliate location - /// extensions let you show nearby stores that carry your products. + /// If you sell your product through retail chains, affiliate location + /// extensions let you show nearby stores that carry your products. AffiliateLocation = 6, - /// Lets you include additional text with your search ads that provide - /// detailed information about your business, including products and services - /// you offer. Callouts appear in ads at the top and bottom of Google search - /// results. + /// Lets you include additional text with your search ads that provide + /// detailed information about your business, including products and services + /// you offer. Callouts appear in ads at the top and bottom of Google search + /// results. Callout = 7, - /// Lets you add more info to your ad, specific to some predefined categories - /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - /// are required. + /// Lets you add more info to your ad, specific to some predefined categories + /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values + /// are required. StructuredSnippet = 8, - /// Allows users to see your ad, click an icon, and contact you directly by - /// text message. With one tap on your ad, people can contact you to book an - /// appointment, get a quote, ask for information, or request a service. + /// Allows users to see your ad, click an icon, and contact you directly by + /// text message. With one tap on your ad, people can contact you to book an + /// appointment, get a quote, ask for information, or request a service. Message = 9, - /// Lets you display prices for a list of items along with your ads. A price - /// feed is composed of three to eight price table rows. + /// Lets you display prices for a list of items along with your ads. A price + /// feed is composed of three to eight price table rows. Price = 10, - /// Allows you to highlight sales and other promotions that let users see how - /// they can save by buying now. + /// Allows you to highlight sales and other promotions that let users see how + /// they can save by buying now. Promotion = 11, - /// Lets you dynamically inject custom data into the title and description - /// of your ads. + /// Lets you dynamically inject custom data into the title and description + /// of your ads. AdCustomizer = 12, - /// Indicates that this feed is for education dynamic remarketing. + /// Indicates that this feed is for education dynamic remarketing. DynamicEducation = 13, - /// Indicates that this feed is for flight dynamic remarketing. + /// Indicates that this feed is for flight dynamic remarketing. DynamicFlight = 14, - /// Indicates that this feed is for a custom dynamic remarketing type. Use - /// this only if the other business types don't apply to your products or - /// services. + /// Indicates that this feed is for a custom dynamic remarketing type. Use + /// this only if the other business types don't apply to your products or + /// services. DynamicCustom = 15, - /// Indicates that this feed is for hotels and rentals dynamic remarketing. + /// Indicates that this feed is for hotels and rentals dynamic remarketing. DynamicHotel = 16, - /// Indicates that this feed is for real estate dynamic remarketing. + /// Indicates that this feed is for real estate dynamic remarketing. DynamicRealEstate = 17, - /// Indicates that this feed is for travel dynamic remarketing. + /// Indicates that this feed is for travel dynamic remarketing. DynamicTravel = 18, - /// Indicates that this feed is for local deals dynamic remarketing. + /// Indicates that this feed is for local deals dynamic remarketing. DynamicLocal = 19, - /// Indicates that this feed is for job dynamic remarketing. + /// Indicates that this feed is for job dynamic remarketing. DynamicJob = 20, - /// Lets you attach an image to an ad. + /// Lets you attach an image to an ad. Image = 21, } impl PlaceholderType { @@ -4770,76 +4770,76 @@ pub mod placeholder_type_enum { } } } -// Proto file describing Recommendation types. +// Proto file describing Recommendation types. -/// Container for enum describing types of recommendations. +/// Container for enum describing types of recommendations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationTypeEnum { } /// Nested message and enum types in `RecommendationTypeEnum`. pub mod recommendation_type_enum { - /// Types of recommendations. + /// Types of recommendations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget recommendation for campaigns that are currently budget-constrained - /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - /// applies to campaigns that are expected to become budget-constrained in - /// the future). + /// Budget recommendation for campaigns that are currently budget-constrained + /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which + /// applies to campaigns that are expected to become budget-constrained in + /// the future). CampaignBudget = 2, - /// Keyword recommendation. + /// Keyword recommendation. Keyword = 3, - /// Recommendation to add a new text ad. + /// Recommendation to add a new text ad. TextAd = 4, - /// Recommendation to update a campaign to use a Target CPA bidding strategy. + /// Recommendation to update a campaign to use a Target CPA bidding strategy. TargetCpaOptIn = 5, - /// Recommendation to update a campaign to use the Maximize Conversions - /// bidding strategy. + /// Recommendation to update a campaign to use the Maximize Conversions + /// bidding strategy. MaximizeConversionsOptIn = 6, - /// Recommendation to enable Enhanced Cost Per Click for a campaign. + /// Recommendation to enable Enhanced Cost Per Click for a campaign. EnhancedCpcOptIn = 7, - /// Recommendation to start showing your campaign's ads on Google Search - /// Partners Websites. + /// Recommendation to start showing your campaign's ads on Google Search + /// Partners Websites. SearchPartnersOptIn = 8, - /// Recommendation to update a campaign to use a Maximize Clicks bidding - /// strategy. + /// Recommendation to update a campaign to use a Maximize Clicks bidding + /// strategy. MaximizeClicksOptIn = 9, - /// Recommendation to start using the "Optimize" ad rotation setting for the - /// given ad group. + /// Recommendation to start using the "Optimize" ad rotation setting for the + /// given ad group. OptimizeAdRotation = 10, - /// Recommendation to add callout extensions to a campaign. + /// Recommendation to add callout extensions to a campaign. CalloutExtension = 11, - /// Recommendation to add sitelink extensions to a campaign. + /// Recommendation to add sitelink extensions to a campaign. SitelinkExtension = 12, - /// Recommendation to add call extensions to a campaign. + /// Recommendation to add call extensions to a campaign. CallExtension = 13, - /// Recommendation to change an existing keyword from one match type to a - /// broader match type. + /// Recommendation to change an existing keyword from one match type to a + /// broader match type. KeywordMatchType = 14, - /// Recommendation to move unused budget from one budget to a constrained - /// budget. + /// Recommendation to move unused budget from one budget to a constrained + /// budget. MoveUnusedBudget = 15, - /// Budget recommendation for campaigns that are expected to become - /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - /// recommendation, which applies to campaigns that are currently - /// budget-constrained). + /// Budget recommendation for campaigns that are expected to become + /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET + /// recommendation, which applies to campaigns that are currently + /// budget-constrained). ForecastingCampaignBudget = 16, - /// Recommendation to update a campaign to use a Target ROAS bidding - /// strategy. + /// Recommendation to update a campaign to use a Target ROAS bidding + /// strategy. TargetRoasOptIn = 17, - /// Recommendation to add a new responsive search ad. + /// Recommendation to add a new responsive search ad. ResponsiveSearchAd = 18, - /// Budget recommendation for campaigns whose ROI is predicted to increase - /// with a budget adjustment. + /// Budget recommendation for campaigns whose ROI is predicted to increase + /// with a budget adjustment. MarginalRoiCampaignBudget = 19, - /// Recommendation to expand keywords to broad match for fully automated - /// conversion-based bidding campaigns. + /// Recommendation to expand keywords to broad match for fully automated + /// conversion-based bidding campaigns. UseBroadMatchKeyword = 20, - /// Recommendation to add new responsive search ad assets. + /// Recommendation to add new responsive search ad assets. ResponsiveSearchAdAsset = 21, } impl RecommendationType { @@ -4875,28 +4875,28 @@ pub mod recommendation_type_enum { } } } -// Proto file describing search engine results page types. +// Proto file describing search engine results page types. -/// The type of the search engine results page. +/// The type of the search engine results page. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchEngineResultsPageTypeEnum { } /// Nested message and enum types in `SearchEngineResultsPageTypeEnum`. pub mod search_engine_results_page_type_enum { - /// The type of the search engine results page. + /// The type of the search engine results page. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchEngineResultsPageType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Only ads were contained in the search engine results page. + /// Only ads were contained in the search engine results page. AdsOnly = 2, - /// Only organic results were contained in the search engine results page. + /// Only organic results were contained in the search engine results page. OrganicOnly = 3, - /// Both ads and organic results were contained in the search engine results - /// page. + /// Both ads and organic results were contained in the search engine results + /// page. AdsAndOrganic = 4, } impl SearchEngineResultsPageType { @@ -4915,31 +4915,31 @@ pub mod search_engine_results_page_type_enum { } } } -// Proto file describing search term match types. +// Proto file describing search term match types. -/// Container for enum describing match types for a keyword triggering an ad. +/// Container for enum describing match types for a keyword triggering an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermMatchTypeEnum { } /// Nested message and enum types in `SearchTermMatchTypeEnum`. pub mod search_term_match_type_enum { - /// Possible match types for a keyword triggering an ad, including variants. + /// Possible match types for a keyword triggering an ad, including variants. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Broad match. + /// Broad match. Broad = 2, - /// Exact match. + /// Exact match. Exact = 3, - /// Phrase match. + /// Phrase match. Phrase = 4, - /// Exact match (close variant). + /// Exact match (close variant). NearExact = 5, - /// Phrase match (close variant). + /// Phrase match (close variant). NearPhrase = 6, } impl SearchTermMatchType { @@ -4960,28 +4960,28 @@ pub mod search_term_match_type_enum { } } } -// Proto file describing SkAdNetwork Ad Event Types. +// Proto file describing SkAdNetwork Ad Event Types. -/// Container for enumeration of SkAdNetwork ad event types. +/// Container for enumeration of SkAdNetwork ad event types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkAdEventTypeEnum { } /// Nested message and enum types in `SkAdNetworkAdEventTypeEnum`. pub mod sk_ad_network_ad_event_type_enum { - /// Enumerates SkAdNetwork ad event types + /// Enumerates SkAdNetwork ad event types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkAdEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// The user interacted with the ad. + /// The user interacted with the ad. Interaction = 3, - /// The user viewed the ad. + /// The user viewed the ad. View = 4, } impl SkAdNetworkAdEventType { @@ -5000,29 +5000,29 @@ pub mod sk_ad_network_ad_event_type_enum { } } } -// Proto file describing SkAdNetwork attribution credits. +// Proto file describing SkAdNetwork attribution credits. -/// Container for enumeration of SkAdNetwork attribution credits. +/// Container for enumeration of SkAdNetwork attribution credits. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkAttributionCreditEnum { } /// Nested message and enum types in `SkAdNetworkAttributionCreditEnum`. pub mod sk_ad_network_attribution_credit_enum { - /// Enumerates SkAdNetwork attribution credits. + /// Enumerates SkAdNetwork attribution credits. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkAttributionCredit { - /// Default value. This value is equivalent to null. + /// Default value. This value is equivalent to null. Unspecified = 0, - /// The value is unknown in this API version. The true enum value cannot be - /// returned in this API version or is not supported yet. + /// The value is unknown in this API version. The true enum value cannot be + /// returned in this API version or is not supported yet. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// Google was the ad network that won ad attribution. + /// Google was the ad network that won ad attribution. Won = 3, - /// Google qualified for attribution, but didn't win. + /// Google qualified for attribution, but didn't win. Contributed = 4, } impl SkAdNetworkAttributionCredit { @@ -5041,28 +5041,28 @@ pub mod sk_ad_network_attribution_credit_enum { } } } -// Proto file describing SkAdNetwork user types. +// Proto file describing SkAdNetwork user types. -/// Container for enumeration of SkAdNetwork user types. +/// Container for enumeration of SkAdNetwork user types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkUserTypeEnum { } /// Nested message and enum types in `SkAdNetworkUserTypeEnum`. pub mod sk_ad_network_user_type_enum { - /// Enumerates SkAdNetwork user types + /// Enumerates SkAdNetwork user types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkUserType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// The user installed the app for the first time. + /// The user installed the app for the first time. NewInstaller = 3, - /// The user has previously installed the app. + /// The user has previously installed the app. Reinstaller = 4, } impl SkAdNetworkUserType { @@ -5081,35 +5081,35 @@ pub mod sk_ad_network_user_type_enum { } } } -// Proto file describing slots. +// Proto file describing slots. -/// Container for enumeration of possible positions of the Ad. +/// Container for enumeration of possible positions of the Ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotEnum { } /// Nested message and enum types in `SlotEnum`. pub mod slot_enum { - /// Enumerates possible positions of the Ad. + /// Enumerates possible positions of the Ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Slot { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search: Side. + /// Google search: Side. SearchSide = 2, - /// Google search: Top. + /// Google search: Top. SearchTop = 3, - /// Google search: Other. + /// Google search: Other. SearchOther = 4, - /// Google Display Network. + /// Google Display Network. Content = 5, - /// Search partners: Top. + /// Search partners: Top. SearchPartnerTop = 6, - /// Search partners: Other. + /// Search partners: Other. SearchPartnerOther = 7, - /// Cross-network. + /// Cross-network. Mixed = 8, } impl Slot { @@ -5132,25 +5132,25 @@ pub mod slot_enum { } } } -/// Container for enum describing the format of the web page where the tracking -/// tag and snippet will be installed. +/// Container for enum describing the format of the web page where the tracking +/// tag and snippet will be installed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodePageFormatEnum { } /// Nested message and enum types in `TrackingCodePageFormatEnum`. pub mod tracking_code_page_format_enum { - /// The format of the web page where the tracking tag and snippet will be - /// installed. + /// The format of the web page where the tracking tag and snippet will be + /// installed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodePageFormat { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Standard HTML page format. + /// Standard HTML page format. Html = 2, - /// Google AMP page format. + /// Google AMP page format. Amp = 3, } impl TrackingCodePageFormat { @@ -5168,32 +5168,32 @@ pub mod tracking_code_page_format_enum { } } } -/// Container for enum describing the type of the generated tag snippets for -/// tracking conversions. +/// Container for enum describing the type of the generated tag snippets for +/// tracking conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodeTypeEnum { } /// Nested message and enum types in `TrackingCodeTypeEnum`. pub mod tracking_code_type_enum { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The snippet that is fired as a result of a website page loading. + /// The snippet that is fired as a result of a website page loading. Webpage = 2, - /// The snippet contains a JavaScript function which fires the tag. This - /// function is typically called from an onClick handler added to a link or - /// button element on the page. + /// The snippet contains a JavaScript function which fires the tag. This + /// function is typically called from an onClick handler added to a link or + /// button element on the page. WebpageOnclick = 3, - /// For embedding on a mobile webpage. The snippet contains a JavaScript - /// function which fires the tag. + /// For embedding on a mobile webpage. The snippet contains a JavaScript + /// function which fires the tag. ClickToCall = 4, - /// The snippet that is used to replace the phone number on your website with - /// a Google forwarding number for call tracking purposes. + /// The snippet that is used to replace the phone number on your website with + /// a Google forwarding number for call tracking purposes. WebsiteCall = 5, } impl TrackingCodeType { @@ -5213,43 +5213,43 @@ pub mod tracking_code_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The dimensions that can be targeted. +/// The dimensions that can be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingDimensionEnum { } /// Nested message and enum types in `TargetingDimensionEnum`. pub mod targeting_dimension_enum { - /// Enum describing possible targeting dimensions. + /// Enum describing possible targeting dimensions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetingDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid - /// dimension. Keywords are always a targeting dimension, so may not be set - /// as a target "ALL" dimension with TargetRestriction. + /// Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid + /// dimension. Keywords are always a targeting dimension, so may not be set + /// as a target "ALL" dimension with TargetRestriction. Keyword = 2, - /// Audience criteria, which include user list, user interest, custom - /// affinity, and custom in market. + /// Audience criteria, which include user list, user interest, custom + /// affinity, and custom in market. Audience = 3, - /// Topic criteria for targeting categories of content, e.g. - /// 'category::Animals>Pets' Used for Display and Video targeting. + /// Topic criteria for targeting categories of content, e.g. + /// 'category::Animals>Pets' Used for Display and Video targeting. Topic = 4, - /// Criteria for targeting gender. + /// Criteria for targeting gender. Gender = 5, - /// Criteria for targeting age ranges. + /// Criteria for targeting age ranges. AgeRange = 6, - /// Placement criteria, which include websites like 'www.flowers4sale.com', - /// as well as mobile applications, mobile app categories, YouTube videos, - /// and YouTube channels. + /// Placement criteria, which include websites like 'www.flowers4sale.com', + /// as well as mobile applications, mobile app categories, YouTube videos, + /// and YouTube channels. Placement = 7, - /// Criteria for parental status targeting. + /// Criteria for parental status targeting. ParentalStatus = 8, - /// Criteria for income range targeting. + /// Criteria for income range targeting. IncomeRange = 9, } impl TargetingDimension { @@ -5273,27 +5273,27 @@ pub mod targeting_dimension_enum { } } } -/// Indicates what type of data are the user list's members matched from. +/// Indicates what type of data are the user list's members matched from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUploadKeyTypeEnum { } /// Nested message and enum types in `CustomerMatchUploadKeyTypeEnum`. pub mod customer_match_upload_key_type_enum { - /// Enum describing possible customer match upload key types. + /// Enum describing possible customer match upload key types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerMatchUploadKeyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Members are matched from customer info such as email address, phone - /// number or physical address. + /// Members are matched from customer info such as email address, phone + /// number or physical address. ContactInfo = 2, - /// Members are matched from a user id generated and assigned by the - /// advertiser. + /// Members are matched from a user id generated and assigned by the + /// advertiser. CrmId = 3, - /// Members are matched from mobile advertising ids. + /// Members are matched from mobile advertising ids. MobileAdvertisingId = 4, } impl CustomerMatchUploadKeyType { @@ -5312,23 +5312,23 @@ pub mod customer_match_upload_key_type_enum { } } } -/// Logical operator connecting two rules. +/// Logical operator connecting two rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCombinedRuleOperatorEnum { } /// Nested message and enum types in `UserListCombinedRuleOperatorEnum`. pub mod user_list_combined_rule_operator_enum { - /// Enum describing possible user list combined rule operators. + /// Enum describing possible user list combined rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCombinedRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A AND B. + /// A AND B. And = 2, - /// A AND NOT B. + /// A AND NOT B. AndNot = 3, } impl UserListCombinedRuleOperator { @@ -5346,25 +5346,25 @@ pub mod user_list_combined_rule_operator_enum { } } } -/// Indicates source of Crm upload data. +/// Indicates source of Crm upload data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCrmDataSourceTypeEnum { } /// Nested message and enum types in `UserListCrmDataSourceTypeEnum`. pub mod user_list_crm_data_source_type_enum { - /// Enum describing possible user list crm data source type. + /// Enum describing possible user list crm data source type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCrmDataSourceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The uploaded data is first-party data. + /// The uploaded data is first-party data. FirstParty = 2, - /// The uploaded data is from a third-party credit bureau. + /// The uploaded data is from a third-party credit bureau. ThirdPartyCreditBureau = 3, - /// The uploaded data is from a third-party voter file. + /// The uploaded data is from a third-party voter file. ThirdPartyVoterFile = 4, } impl UserListCrmDataSourceType { @@ -5383,27 +5383,27 @@ pub mod user_list_crm_data_source_type_enum { } } } -/// Supported rule operator for date type. +/// Supported rule operator for date type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemOperatorEnum { } /// Nested message and enum types in `UserListDateRuleItemOperatorEnum`. pub mod user_list_date_rule_item_operator_enum { - /// Enum describing possible user list date rule item operators. + /// Enum describing possible user list date rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListDateRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals. + /// Equals. Equals = 2, - /// Not Equals. + /// Not Equals. NotEquals = 3, - /// Before. + /// Before. Before = 4, - /// After. + /// After. After = 5, } impl UserListDateRuleItemOperator { @@ -5423,25 +5423,25 @@ pub mod user_list_date_rule_item_operator_enum { } } } -/// The logical operator of the rule. +/// The logical operator of the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleOperatorEnum { } /// Nested message and enum types in `UserListLogicalRuleOperatorEnum`. pub mod user_list_logical_rule_operator_enum { - /// Enum describing possible user list logical rule operators. + /// Enum describing possible user list logical rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListLogicalRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// And - all of the operands. + /// And - all of the operands. All = 2, - /// Or - at least one of the operands. + /// Or - at least one of the operands. Any = 3, - /// Not - none of the operands. + /// Not - none of the operands. None = 4, } impl UserListLogicalRuleOperator { @@ -5460,31 +5460,31 @@ pub mod user_list_logical_rule_operator_enum { } } } -/// Supported rule operator for number type. +/// Supported rule operator for number type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemOperatorEnum { } /// Nested message and enum types in `UserListNumberRuleItemOperatorEnum`. pub mod user_list_number_rule_item_operator_enum { - /// Enum describing possible user list number rule item operators. + /// Enum describing possible user list number rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListNumberRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Greater than. + /// Greater than. GreaterThan = 2, - /// Greater than or equal. + /// Greater than or equal. GreaterThanOrEqual = 3, - /// Equals. + /// Equals. Equals = 4, - /// Not equals. + /// Not equals. NotEquals = 5, - /// Less than. + /// Less than. LessThan = 6, - /// Less than or equal. + /// Less than or equal. LessThanOrEqual = 7, } impl UserListNumberRuleItemOperator { @@ -5506,25 +5506,25 @@ pub mod user_list_number_rule_item_operator_enum { } } } -/// Indicates status of prepopulation based on the rule. +/// Indicates status of prepopulation based on the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListPrepopulationStatusEnum { } /// Nested message and enum types in `UserListPrepopulationStatusEnum`. pub mod user_list_prepopulation_status_enum { - /// Enum describing possible user list prepopulation status. + /// Enum describing possible user list prepopulation status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListPrepopulationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prepopoulation is being requested. + /// Prepopoulation is being requested. Requested = 2, - /// Prepopulation is finished. + /// Prepopulation is finished. Finished = 3, - /// Prepopulation failed. + /// Prepopulation failed. Failed = 4, } impl UserListPrepopulationStatus { @@ -5543,23 +5543,23 @@ pub mod user_list_prepopulation_status_enum { } } } -/// Rule based user list rule type. +/// Rule based user list rule type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleTypeEnum { } /// Nested message and enum types in `UserListRuleTypeEnum`. pub mod user_list_rule_type_enum { - /// Enum describing possible user list rule types. + /// Enum describing possible user list rule types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListRuleType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conjunctive normal form. + /// Conjunctive normal form. AndOfOrs = 2, - /// Disjunctive normal form. + /// Disjunctive normal form. OrOfAnds = 3, } impl UserListRuleType { @@ -5577,35 +5577,35 @@ pub mod user_list_rule_type_enum { } } } -/// Supported rule operator for string type. +/// Supported rule operator for string type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemOperatorEnum { } /// Nested message and enum types in `UserListStringRuleItemOperatorEnum`. pub mod user_list_string_rule_item_operator_enum { - /// Enum describing possible user list string rule item operators. + /// Enum describing possible user list string rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListStringRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Contains. + /// Contains. Contains = 2, - /// Equals. + /// Equals. Equals = 3, - /// Starts with. + /// Starts with. StartsWith = 4, - /// Ends with. + /// Ends with. EndsWith = 5, - /// Not equals. + /// Not equals. NotEquals = 6, - /// Not contains. + /// Not contains. NotContains = 7, - /// Not starts with. + /// Not starts with. NotStartsWith = 8, - /// Not ends with. + /// Not ends with. NotEndsWith = 9, } impl UserListStringRuleItemOperator { @@ -5629,29 +5629,29 @@ pub mod user_list_string_rule_item_operator_enum { } } } -// Proto file describing AccessInvitationStatus enum. +// Proto file describing AccessInvitationStatus enum. -/// Container for enum for identifying the status of access invitation +/// Container for enum for identifying the status of access invitation #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationStatusEnum { } /// Nested message and enum types in `AccessInvitationStatusEnum`. pub mod access_invitation_status_enum { - /// Possible access invitation status of a user + /// Possible access invitation status of a user #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The initial state of an invitation, before being acted upon by anyone. + /// The initial state of an invitation, before being acted upon by anyone. Pending = 2, - /// Invitation process was terminated by the email recipient. No new user was - /// created. + /// Invitation process was terminated by the email recipient. No new user was + /// created. Declined = 3, - /// Invitation URLs expired without being acted upon. No new user can be - /// created. Invitations expire 20 days after creation. + /// Invitation URLs expired without being acted upon. No new user can be + /// created. Invitations expire 20 days after creation. Expired = 4, } impl AccessInvitationStatus { @@ -5670,29 +5670,29 @@ pub mod access_invitation_status_enum { } } } -/// Indicates the way the resource such as user list is related to a user. +/// Indicates the way the resource such as user list is related to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessReasonEnum { } /// Nested message and enum types in `AccessReasonEnum`. pub mod access_reason_enum { - /// Enum describing possible access reasons. + /// Enum describing possible access reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The resource is owned by the user. + /// The resource is owned by the user. Owned = 2, - /// The resource is shared to the user. + /// The resource is shared to the user. Shared = 3, - /// The resource is licensed to the user. + /// The resource is licensed to the user. Licensed = 4, - /// The user subscribed to the resource. + /// The user subscribed to the resource. Subscribed = 5, - /// The resource is accessible to the user. + /// The resource is accessible to the user. Affiliated = 6, } impl AccessReason { @@ -5713,28 +5713,28 @@ pub mod access_reason_enum { } } } -/// Container for enum describing possible access role for user. +/// Container for enum describing possible access role for user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessRoleEnum { } /// Nested message and enum types in `AccessRoleEnum`. pub mod access_role_enum { - /// Possible access role of a user. + /// Possible access role of a user. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessRole { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Owns its account and can control the addition of other users. + /// Owns its account and can control the addition of other users. Admin = 2, - /// Can modify campaigns, but can't affect other users. + /// Can modify campaigns, but can't affect other users. Standard = 3, - /// Can view campaigns and account changes, but cannot make edits. + /// Can view campaigns and account changes, but cannot make edits. ReadOnly = 4, - /// Role for \"email only\" access. Represents an email recipient rather than - /// a true User entity. + /// Role for \"email only\" access. Represents an email recipient rather than + /// a true User entity. EmailOnly = 5, } impl AccessRole { @@ -5754,35 +5754,35 @@ pub mod access_role_enum { } } } -// Proto file describing AccountBudgetProposal statuses. +// Proto file describing AccountBudgetProposal statuses. -/// Message describing AccountBudgetProposal statuses. +/// Message describing AccountBudgetProposal statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalStatusEnum { } /// Nested message and enum types in `AccountBudgetProposalStatusEnum`. pub mod account_budget_proposal_status_enum { - /// The possible statuses of an AccountBudgetProposal. + /// The possible statuses of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The proposal is pending approval. + /// The proposal is pending approval. Pending = 2, - /// The proposal has been approved but the corresponding billing setup - /// has not. This can occur for proposals that set up the first budget - /// when signing up for billing or when performing a change of bill-to - /// operation. + /// The proposal has been approved but the corresponding billing setup + /// has not. This can occur for proposals that set up the first budget + /// when signing up for billing or when performing a change of bill-to + /// operation. ApprovedHeld = 3, - /// The proposal has been approved. + /// The proposal has been approved. Approved = 4, - /// The proposal has been cancelled by the user. + /// The proposal has been cancelled by the user. Cancelled = 5, - /// The proposal has been rejected by the user, e.g. by rejecting an - /// acceptance email. + /// The proposal has been rejected by the user, e.g. by rejecting an + /// acceptance email. Rejected = 6, } impl AccountBudgetProposalStatus { @@ -5803,29 +5803,29 @@ pub mod account_budget_proposal_status_enum { } } } -// Proto file describing AccountBudgetProposal types. +// Proto file describing AccountBudgetProposal types. -/// Message describing AccountBudgetProposal types. +/// Message describing AccountBudgetProposal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalTypeEnum { } /// Nested message and enum types in `AccountBudgetProposalTypeEnum`. pub mod account_budget_proposal_type_enum { - /// The possible types of an AccountBudgetProposal. + /// The possible types of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Identifies a request to create a new budget. + /// Identifies a request to create a new budget. Create = 2, - /// Identifies a request to edit an existing budget. + /// Identifies a request to edit an existing budget. Update = 3, - /// Identifies a request to end a budget that has already started. + /// Identifies a request to end a budget that has already started. End = 4, - /// Identifies a request to remove a budget that hasn't started yet. + /// Identifies a request to remove a budget that hasn't started yet. Remove = 5, } impl AccountBudgetProposalType { @@ -5845,27 +5845,27 @@ pub mod account_budget_proposal_type_enum { } } } -// Proto file describing AccountBudget statuses. +// Proto file describing AccountBudget statuses. -/// Message describing AccountBudget statuses. +/// Message describing AccountBudget statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetStatusEnum { } /// Nested message and enum types in `AccountBudgetStatusEnum`. pub mod account_budget_status_enum { - /// The possible statuses of an AccountBudget. + /// The possible statuses of an AccountBudget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The account budget is pending approval. + /// The account budget is pending approval. Pending = 2, - /// The account budget has been approved. + /// The account budget has been approved. Approved = 3, - /// The account budget has been cancelled by the user. + /// The account budget has been cancelled by the user. Cancelled = 4, } impl AccountBudgetStatus { @@ -5884,34 +5884,34 @@ pub mod account_budget_status_enum { } } } -/// Container for enum describing possible statuses of an account link. +/// Container for enum describing possible statuses of an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkStatusEnum { } /// Nested message and enum types in `AccountLinkStatusEnum`. pub mod account_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and another account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link is removed/disabled. + /// The link is removed/disabled. Removed = 3, - /// The link to the other account has been requested. A user on the other - /// account may now approve the link by setting the status to ENABLED. + /// The link to the other account has been requested. A user on the other + /// account may now approve the link by setting the status to ENABLED. Requested = 4, - /// This link has been requested by a user on the other account. It may be - /// approved by a user on this account by setting the status to ENABLED. + /// This link has been requested by a user on the other account. It may be + /// approved by a user on this account by setting the status to ENABLED. PendingApproval = 5, - /// The link is rejected by the approver. + /// The link is rejected by the approver. Rejected = 6, - /// The link is revoked by the user who requested the link. + /// The link is revoked by the user who requested the link. Revoked = 7, } impl AccountLinkStatus { @@ -5933,29 +5933,29 @@ pub mod account_link_status_enum { } } } -// Proto file describing Ad Customizer placeholder fields. +// Proto file describing Ad Customizer placeholder fields. -/// Values for Ad Customizer placeholder fields. +/// Values for Ad Customizer placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerPlaceholderFieldEnum { } /// Nested message and enum types in `AdCustomizerPlaceholderFieldEnum`. pub mod ad_customizer_placeholder_field_enum { - /// Possible values for Ad Customizers placeholder fields. + /// Possible values for Ad Customizers placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. Integer value to be inserted. + /// Data Type: INT64. Integer value to be inserted. Integer = 2, - /// Data Type: STRING. Price value to be inserted. + /// Data Type: STRING. Price value to be inserted. Price = 3, - /// Data Type: DATE_TIME. Date value to be inserted. + /// Data Type: DATE_TIME. Date value to be inserted. Date = 4, - /// Data Type: STRING. String value to be inserted. + /// Data Type: STRING. String value to be inserted. String = 5, } impl AdCustomizerPlaceholderField { @@ -5975,28 +5975,28 @@ pub mod ad_customizer_placeholder_field_enum { } } } -// Proto file describing ad group ad rotation mode. +// Proto file describing ad group ad rotation mode. -/// Container for enum describing possible ad rotation modes of ads within an -/// ad group. +/// Container for enum describing possible ad rotation modes of ads within an +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdRotationModeEnum { } /// Nested message and enum types in `AdGroupAdRotationModeEnum`. pub mod ad_group_ad_rotation_mode_enum { - /// The possible ad rotation modes of an ad group. + /// The possible ad rotation modes of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdRotationMode { - /// The ad rotation mode has not been specified. + /// The ad rotation mode has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Optimize ad group ads based on clicks or conversions. + /// Optimize ad group ads based on clicks or conversions. Optimize = 2, - /// Rotate evenly forever. + /// Rotate evenly forever. RotateForever = 3, } impl AdGroupAdRotationMode { @@ -6014,29 +6014,29 @@ pub mod ad_group_ad_rotation_mode_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an AdGroupAd. +/// Container for enum describing possible statuses of an AdGroupAd. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdStatusEnum { } /// Nested message and enum types in `AdGroupAdStatusEnum`. pub mod ad_group_ad_status_enum { - /// The possible statuses of an AdGroupAd. + /// The possible statuses of an AdGroupAd. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group ad is enabled. + /// The ad group ad is enabled. Enabled = 2, - /// The ad group ad is paused. + /// The ad group ad is paused. Paused = 3, - /// The ad group ad is removed. + /// The ad group ad is removed. Removed = 4, } impl AdGroupAdStatus { @@ -6055,29 +6055,29 @@ pub mod ad_group_ad_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible AdGroupCriterion approval statuses. +/// Container for enum describing possible AdGroupCriterion approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionApprovalStatusEnum { } /// Nested message and enum types in `AdGroupCriterionApprovalStatusEnum`. pub mod ad_group_criterion_approval_status_enum { - /// Enumerates AdGroupCriterion approval statuses. + /// Enumerates AdGroupCriterion approval statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionApprovalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Approved. + /// Approved. Approved = 2, - /// Disapproved. + /// Disapproved. Disapproved = 3, - /// Pending Review. + /// Pending Review. PendingReview = 4, - /// Under review. + /// Under review. UnderReview = 5, } impl AdGroupCriterionApprovalStatus { @@ -6097,29 +6097,29 @@ pub mod ad_group_criterion_approval_status_enum { } } } -// Proto file describing AdGroupCriterion statuses. +// Proto file describing AdGroupCriterion statuses. -/// Message describing AdGroupCriterion statuses. +/// Message describing AdGroupCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionStatusEnum { } /// Nested message and enum types in `AdGroupCriterionStatusEnum`. pub mod ad_group_criterion_status_enum { - /// The possible statuses of an AdGroupCriterion. + /// The possible statuses of an AdGroupCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group criterion is enabled. + /// The ad group criterion is enabled. Enabled = 2, - /// The ad group criterion is paused. + /// The ad group criterion is paused. Paused = 3, - /// The ad group criterion is removed. + /// The ad group criterion is removed. Removed = 4, } impl AdGroupCriterionStatus { @@ -6138,29 +6138,29 @@ pub mod ad_group_criterion_status_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an ad group. +/// Container for enum describing possible statuses of an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupStatusEnum { } /// Nested message and enum types in `AdGroupStatusEnum`. pub mod ad_group_status_enum { - /// The possible statuses of an ad group. + /// The possible statuses of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group is enabled. + /// The ad group is enabled. Enabled = 2, - /// The ad group is paused. + /// The ad group is paused. Paused = 3, - /// The ad group is removed. + /// The ad group is removed. Removed = 4, } impl AdGroupStatus { @@ -6179,57 +6179,57 @@ pub mod ad_group_status_enum { } } } -// Proto file describing ad group types. +// Proto file describing ad group types. -/// Defines types of an ad group, specific to a particular campaign channel -/// type. This type drives validations that restrict which entities can be -/// added to the ad group. +/// Defines types of an ad group, specific to a particular campaign channel +/// type. This type drives validations that restrict which entities can be +/// added to the ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupTypeEnum { } /// Nested message and enum types in `AdGroupTypeEnum`. pub mod ad_group_type_enum { - /// Enum listing the possible types of an ad group. + /// Enum listing the possible types of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupType { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The default ad group type for Search campaigns. + /// The default ad group type for Search campaigns. SearchStandard = 2, - /// The default ad group type for Display campaigns. + /// The default ad group type for Display campaigns. DisplayStandard = 3, - /// The ad group type for Shopping campaigns serving standard product ads. + /// The ad group type for Shopping campaigns serving standard product ads. ShoppingProductAds = 4, - /// The default ad group type for Hotel campaigns. + /// The default ad group type for Hotel campaigns. HotelAds = 6, - /// The type for ad groups in Smart Shopping campaigns. + /// The type for ad groups in Smart Shopping campaigns. ShoppingSmartAds = 7, - /// Short unskippable in-stream video ads. + /// Short unskippable in-stream video ads. VideoBumper = 8, - /// TrueView (skippable) in-stream video ads. + /// TrueView (skippable) in-stream video ads. VideoTrueViewInStream = 9, - /// TrueView in-display video ads. + /// TrueView in-display video ads. VideoTrueViewInDisplay = 10, - /// Unskippable in-stream video ads. + /// Unskippable in-stream video ads. VideoNonSkippableInStream = 11, - /// Outstream video ads. + /// Outstream video ads. VideoOutstream = 12, - /// Ad group type for Dynamic Search Ads ad groups. + /// Ad group type for Dynamic Search Ads ad groups. SearchDynamicAds = 13, - /// The type for ad groups in Shopping Comparison Listing campaigns. + /// The type for ad groups in Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 14, - /// The ad group type for Promoted Hotel ad groups. + /// The ad group type for Promoted Hotel ad groups. PromotedHotelAds = 15, - /// Video responsive ad groups. + /// Video responsive ad groups. VideoResponsive = 16, - /// Video efficient reach ad groups. + /// Video efficient reach ad groups. VideoEfficientReach = 17, - /// Ad group type for Smart campaigns. + /// Ad group type for Smart campaigns. SmartCampaignAds = 18, } impl AdGroupType { @@ -6261,36 +6261,36 @@ pub mod ad_group_type_enum { } } } -// Proto file describing ad serving statuses. +// Proto file describing ad serving statuses. -/// Possible ad serving statuses of a campaign. +/// Possible ad serving statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdServingOptimizationStatusEnum { } /// Nested message and enum types in `AdServingOptimizationStatusEnum`. pub mod ad_serving_optimization_status_enum { - /// Enum describing possible serving statuses. + /// Enum describing possible serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdServingOptimizationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Ad serving is optimized based on CTR for the campaign. + /// Ad serving is optimized based on CTR for the campaign. Optimize = 2, - /// Ad serving is optimized based on CTR * Conversion for the campaign. If - /// the campaign is not in the conversion optimizer bidding strategy, it will - /// default to OPTIMIZED. + /// Ad serving is optimized based on CTR * Conversion for the campaign. If + /// the campaign is not in the conversion optimizer bidding strategy, it will + /// default to OPTIMIZED. ConversionOptimize = 3, - /// Ads are rotated evenly for 90 days, then optimized for clicks. + /// Ads are rotated evenly for 90 days, then optimized for clicks. Rotate = 4, - /// Show lower performing ads more evenly with higher performing ads, and do - /// not optimize. + /// Show lower performing ads more evenly with higher performing ads, and do + /// not optimize. RotateIndefinitely = 5, - /// Ad serving optimization status is not available. + /// Ad serving optimization status is not available. Unavailable = 6, } impl AdServingOptimizationStatus { @@ -6311,33 +6311,33 @@ pub mod ad_serving_optimization_status_enum { } } } -// Proto file describing ad strengths. +// Proto file describing ad strengths. -/// Container for enum describing possible ad strengths. +/// Container for enum describing possible ad strengths. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdStrengthEnum { } /// Nested message and enum types in `AdStrengthEnum`. pub mod ad_strength_enum { - /// Enum listing the possible ad strengths. + /// Enum listing the possible ad strengths. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdStrength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The ad strength is currently pending. + /// The ad strength is currently pending. Pending = 2, - /// No ads could be generated. + /// No ads could be generated. NoAds = 3, - /// Poor strength. + /// Poor strength. Poor = 4, - /// Average strength. + /// Average strength. Average = 5, - /// Good strength. + /// Good strength. Good = 6, - /// Excellent strength. + /// Excellent strength. Excellent = 7, } impl AdStrength { @@ -6359,84 +6359,84 @@ pub mod ad_strength_enum { } } } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// Container for enum describing possible types of an ad. +/// Container for enum describing possible types of an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTypeEnum { } /// Nested message and enum types in `AdTypeEnum`. pub mod ad_type_enum { - /// The possible types of an ad. + /// The possible types of an ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad is a text ad. + /// The ad is a text ad. TextAd = 2, - /// The ad is an expanded text ad. + /// The ad is an expanded text ad. ExpandedTextAd = 3, - /// The ad is an expanded dynamic search ad. + /// The ad is an expanded dynamic search ad. ExpandedDynamicSearchAd = 7, - /// The ad is a hotel ad. + /// The ad is a hotel ad. HotelAd = 8, - /// The ad is a Smart Shopping ad. + /// The ad is a Smart Shopping ad. ShoppingSmartAd = 9, - /// The ad is a standard Shopping ad. + /// The ad is a standard Shopping ad. ShoppingProductAd = 10, - /// The ad is a video ad. + /// The ad is a video ad. VideoAd = 12, - /// This ad is a Gmail ad. + /// This ad is a Gmail ad. GmailAd = 13, - /// This ad is an Image ad. + /// This ad is an Image ad. ImageAd = 14, - /// The ad is a responsive search ad. + /// The ad is a responsive search ad. ResponsiveSearchAd = 15, - /// The ad is a legacy responsive display ad. + /// The ad is a legacy responsive display ad. LegacyResponsiveDisplayAd = 16, - /// The ad is an app ad. + /// The ad is an app ad. AppAd = 17, - /// The ad is a legacy app install ad. + /// The ad is a legacy app install ad. LegacyAppInstallAd = 18, - /// The ad is a responsive display ad. + /// The ad is a responsive display ad. ResponsiveDisplayAd = 19, - /// The ad is a local ad. + /// The ad is a local ad. LocalAd = 20, - /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. + /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. Html5UploadAd = 21, - /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - /// types. + /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product + /// types. DynamicHtml5Ad = 22, - /// The ad is an app engagement ad. + /// The ad is an app engagement ad. AppEngagementAd = 23, - /// The ad is a Shopping Comparison Listing ad. + /// The ad is a Shopping Comparison Listing ad. ShoppingComparisonListingAd = 24, - /// Video bumper ad. + /// Video bumper ad. VideoBumperAd = 25, - /// Video non-skippable in-stream ad. + /// Video non-skippable in-stream ad. VideoNonSkippableInStreamAd = 26, - /// Video outstream ad. + /// Video outstream ad. VideoOutstreamAd = 27, - /// Video TrueView in-stream ad. + /// Video TrueView in-stream ad. VideoTrueviewInStreamAd = 29, - /// Video responsive ad. + /// Video responsive ad. VideoResponsiveAd = 30, - /// Smart campaign ad. + /// Smart campaign ad. SmartCampaignAd = 31, - /// Call ad. + /// Call ad. CallAd = 32, - /// Universal app pre-registration ad. + /// Universal app pre-registration ad. AppPreRegistrationAd = 33, - /// In-feed video ad. + /// In-feed video ad. InFeedVideoAd = 34, - /// Discovery multi asset ad. + /// Discovery multi asset ad. DiscoveryMultiAssetAd = 35, - /// Discovery carousel ad. + /// Discovery carousel ad. DiscoveryCarouselAd = 36, } impl AdType { @@ -6482,24 +6482,24 @@ pub mod ad_type_enum { } } } -// Proto file describing relation type for affiliate location feeds. +// Proto file describing relation type for affiliate location feeds. -/// Container for enum describing possible values for a relationship type for -/// an affiliate location feed. +/// Container for enum describing possible values for a relationship type for +/// an affiliate location feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedRelationshipTypeEnum { } /// Nested message and enum types in `AffiliateLocationFeedRelationshipTypeEnum`. pub mod affiliate_location_feed_relationship_type_enum { - /// Possible values for a relationship type for an affiliate location feed. + /// Possible values for a relationship type for an affiliate location feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationFeedRelationshipType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// General retailer relationship. + /// General retailer relationship. GeneralRetailer = 2, } impl AffiliateLocationFeedRelationshipType { @@ -6516,43 +6516,43 @@ pub mod affiliate_location_feed_relationship_type_enum { } } } -// Proto file describing Affiliate Location placeholder fields. +// Proto file describing Affiliate Location placeholder fields. -/// Values for Affiliate Location placeholder fields. +/// Values for Affiliate Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationPlaceholderFieldEnum { } /// Nested message and enum types in `AffiliateLocationPlaceholderFieldEnum`. pub mod affiliate_location_placeholder_field_enum { - /// Possible values for Affiliate Location placeholder fields. + /// Possible values for Affiliate Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, - /// Data Type: STRING. Language code of the business. + /// Data Type: STRING. Language code of the business. LanguageCode = 10, - /// Data Type: INT64. ID of the chain. + /// Data Type: INT64. ID of the chain. ChainId = 11, - /// Data Type: STRING. Name of the chain. + /// Data Type: STRING. Name of the chain. ChainName = 12, } impl AffiliateLocationPlaceholderField { @@ -6579,25 +6579,25 @@ pub mod affiliate_location_placeholder_field_enum { } } } -// Proto file describing App Campaign app store. +// Proto file describing App Campaign app store. -/// The application store that distributes mobile applications. +/// The application store that distributes mobile applications. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignAppStoreEnum { } /// Nested message and enum types in `AppCampaignAppStoreEnum`. pub mod app_campaign_app_store_enum { - /// Enum describing app campaign app store. + /// Enum describing app campaign app store. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple app store. + /// Apple app store. AppleAppStore = 2, - /// Google play. + /// Google play. GoogleAppStore = 3, } impl AppCampaignAppStore { @@ -6615,41 +6615,41 @@ pub mod app_campaign_app_store_enum { } } } -// Proto file describing App Campaign bidding strategy goal types. +// Proto file describing App Campaign bidding strategy goal types. -/// Container for enum describing goal towards which the bidding strategy of an -/// app campaign should optimize for. +/// Container for enum describing goal towards which the bidding strategy of an +/// app campaign should optimize for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignBiddingStrategyGoalTypeEnum { } /// Nested message and enum types in `AppCampaignBiddingStrategyGoalTypeEnum`. pub mod app_campaign_bidding_strategy_goal_type_enum { - /// Goal type of App campaign BiddingStrategy. + /// Goal type of App campaign BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignBiddingStrategyGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Aim to maximize the number of app installs. The cpa bid is the - /// target cost per install. + /// Aim to maximize the number of app installs. The cpa bid is the + /// target cost per install. OptimizeInstallsTargetInstallCost = 2, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per install. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per install. OptimizeInAppConversionsTargetInstallCost = 3, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per in-app conversion. Note - /// that the actual cpa may seem higher than the target cpa at first, since - /// the long term conversions haven't happened yet. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per in-app conversion. Note + /// that the actual cpa may seem higher than the target cpa at first, since + /// the long term conversions haven't happened yet. OptimizeInAppConversionsTargetConversionCost = 4, - /// Aim to maximize all conversions' value, i.e. install + selected in-app - /// conversions while achieving or exceeding target return on advertising - /// spend. + /// Aim to maximize all conversions' value, i.e. install + selected in-app + /// conversions while achieving or exceeding target return on advertising + /// spend. OptimizeReturnOnAdvertisingSpend = 5, - /// Aim to maximize the pre-registration of the app. + /// Aim to maximize the pre-registration of the app. OptimizePreRegistrationConversionVolume = 6, - /// Aim to maximize installation of the app without target cost-per-install. + /// Aim to maximize installation of the app without target cost-per-install. OptimizeInstallsWithoutTargetInstallCost = 7, } impl AppCampaignBiddingStrategyGoalType { @@ -6671,44 +6671,44 @@ pub mod app_campaign_bidding_strategy_goal_type_enum { } } } -// Proto file describing App placeholder fields. +// Proto file describing App placeholder fields. -/// Values for App placeholder fields. +/// Values for App placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPlaceholderFieldEnum { } /// Nested message and enum types in `AppPlaceholderFieldEnum`. pub mod app_placeholder_field_enum { - /// Possible values for App placeholder fields. + /// Possible values for App placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The application store that the target application - /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - /// Store. + /// Data Type: INT64. The application store that the target application + /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play + /// Store. Store = 2, - /// Data Type: STRING. The store-specific ID for the target application. + /// Data Type: STRING. The store-specific ID for the target application. Id = 3, - /// Data Type: STRING. The visible text displayed when the link is rendered - /// in an ad. + /// Data Type: STRING. The visible text displayed when the link is rendered + /// in an ad. LinkText = 4, - /// Data Type: STRING. The destination URL of the in-app link. + /// Data Type: STRING. The destination URL of the in-app link. Url = 5, - /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded + /// URLs. FinalUrls = 6, - /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using + /// Upgraded URLs. FinalMobileUrls = 7, - /// Data Type: URL. Tracking template for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the in-app link when using Upgraded + /// URLs. TrackingUrl = 8, - /// Data Type: STRING. Final URL suffix for the in-app link when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the in-app link when using + /// parallel tracking. FinalUrlSuffix = 9, } impl AppPlaceholderField { @@ -6732,70 +6732,70 @@ pub mod app_placeholder_field_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the possible placements of an asset. +/// Container for enum describing the possible placements of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeEnum { } /// Nested message and enum types in `AssetFieldTypeEnum`. pub mod asset_field_type_enum { - /// Enum describing the possible placements of an asset. + /// Enum describing the possible placements of an asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetFieldType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The asset is linked for use as a headline. + /// The asset is linked for use as a headline. Headline = 2, - /// The asset is linked for use as a description. + /// The asset is linked for use as a description. Description = 3, - /// The asset is linked for use as mandatory ad text. + /// The asset is linked for use as mandatory ad text. MandatoryAdText = 4, - /// The asset is linked for use as a marketing image. + /// The asset is linked for use as a marketing image. MarketingImage = 5, - /// The asset is linked for use as a media bundle. + /// The asset is linked for use as a media bundle. MediaBundle = 6, - /// The asset is linked for use as a YouTube video. + /// The asset is linked for use as a YouTube video. YoutubeVideo = 7, - /// The asset is linked to indicate that a hotels campaign is "Book on - /// Google" enabled. + /// The asset is linked to indicate that a hotels campaign is "Book on + /// Google" enabled. BookOnGoogle = 8, - /// The asset is linked for use as a Lead Form extension. + /// The asset is linked for use as a Lead Form extension. LeadForm = 9, - /// The asset is linked for use as a Promotion extension. + /// The asset is linked for use as a Promotion extension. Promotion = 10, - /// The asset is linked for use as a Callout extension. + /// The asset is linked for use as a Callout extension. Callout = 11, - /// The asset is linked for use as a Structured Snippet extension. + /// The asset is linked for use as a Structured Snippet extension. StructuredSnippet = 12, - /// The asset is linked for use as a Sitelink extension. + /// The asset is linked for use as a Sitelink extension. Sitelink = 13, - /// The asset is linked for use as a Mobile App extension. + /// The asset is linked for use as a Mobile App extension. MobileApp = 14, - /// The asset is linked for use as a Hotel Callout extension. + /// The asset is linked for use as a Hotel Callout extension. HotelCallout = 15, - /// The asset is linked for use as a Call extension. + /// The asset is linked for use as a Call extension. Call = 16, - /// The asset is linked for use as a Price extension. + /// The asset is linked for use as a Price extension. Price = 24, - /// The asset is linked for use as a long headline. + /// The asset is linked for use as a long headline. LongHeadline = 17, - /// The asset is linked for use as a business name. + /// The asset is linked for use as a business name. BusinessName = 18, - /// The asset is linked for use as a square marketing image. + /// The asset is linked for use as a square marketing image. SquareMarketingImage = 19, - /// The asset is linked for use as a portrait marketing image. + /// The asset is linked for use as a portrait marketing image. PortraitMarketingImage = 20, - /// The asset is linked for use as a logo. + /// The asset is linked for use as a logo. Logo = 21, - /// The asset is linked for use as a landscape logo. + /// The asset is linked for use as a landscape logo. LandscapeLogo = 22, - /// The asset is linked for use as a non YouTube logo. + /// The asset is linked for use as a non YouTube logo. Video = 23, - /// The asset is linked for use to select a call-to-action. + /// The asset is linked for use to select a call-to-action. CallToActionSelection = 25, } impl AssetFieldType { @@ -6835,27 +6835,27 @@ pub mod asset_field_type_enum { } } } -// Proto file describing asset group status. +// Proto file describing asset group status. -/// Container for enum describing possible statuses of an asset group. +/// Container for enum describing possible statuses of an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupStatusEnum { } /// Nested message and enum types in `AssetGroupStatusEnum`. pub mod asset_group_status_enum { - /// The possible statuses of an asset group. + /// The possible statuses of an asset group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The asset group is enabled. + /// The asset group is enabled. Enabled = 2, - /// The asset group is paused. + /// The asset group is paused. Paused = 3, - /// The asset group is removed. + /// The asset group is removed. Removed = 4, } impl AssetGroupStatus { @@ -6874,27 +6874,27 @@ pub mod asset_group_status_enum { } } } -// Proto file describing status of an asset link. +// Proto file describing status of an asset link. -/// Container for enum describing possible statuses of an asset link. +/// Container for enum describing possible statuses of an asset link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkStatusEnum { } /// Nested message and enum types in `AssetLinkStatusEnum`. pub mod asset_link_status_enum { - /// Enum describing statuses of an asset link. + /// Enum describing statuses of an asset link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Asset link is enabled. + /// Asset link is enabled. Enabled = 2, - /// Asset link has been removed. + /// Asset link has been removed. Removed = 3, - /// Asset link is paused. + /// Asset link is paused. Paused = 4, } impl AssetLinkStatus { @@ -6913,26 +6913,26 @@ pub mod asset_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set asset. +/// Container for enum describing possible statuses of an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetStatusEnum { } /// Nested message and enum types in `AssetSetAssetStatusEnum`. pub mod asset_set_asset_status_enum { - /// The possible statuses of an asset set asset. + /// The possible statuses of an asset set asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set asset is enabled. + /// The asset set asset is enabled. Enabled = 2, - /// The asset set asset is removed. + /// The asset set asset is removed. Removed = 3, } impl AssetSetAssetStatus { @@ -6950,27 +6950,27 @@ pub mod asset_set_asset_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of the linkage between asset -/// set and its container. +/// Container for enum describing possible statuses of the linkage between asset +/// set and its container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkStatusEnum { } /// Nested message and enum types in `AssetSetLinkStatusEnum`. pub mod asset_set_link_status_enum { - /// The possible statuses of he linkage between asset set and its container. + /// The possible statuses of he linkage between asset set and its container. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The linkage between asset set and its container is enabled. + /// The linkage between asset set and its container is enabled. Enabled = 2, - /// The linkage between asset set and its container is removed. + /// The linkage between asset set and its container is removed. Removed = 3, } impl AssetSetLinkStatus { @@ -6988,26 +6988,26 @@ pub mod asset_set_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set. +/// Container for enum describing possible statuses of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetStatusEnum { } /// Nested message and enum types in `AssetSetStatusEnum`. pub mod asset_set_status_enum { - /// The possible statuses of an asset set. + /// The possible statuses of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set is enabled. + /// The asset set is enabled. Enabled = 2, - /// The asset set is removed. + /// The asset set is removed. Removed = 3, } impl AssetSetStatus { @@ -7025,41 +7025,41 @@ pub mod asset_set_status_enum { } } } -// Proto file describing asset set type. +// Proto file describing asset set type. -/// Container for enum describing possible types of an asset set. +/// Container for enum describing possible types of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetTypeEnum { } /// Nested message and enum types in `AssetSetTypeEnum`. pub mod asset_set_type_enum { - /// Possible types of an asset set. + /// Possible types of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Page asset set. + /// Page asset set. PageFeed = 2, - /// Dynamic education asset set. + /// Dynamic education asset set. DynamicEducation = 3, - /// Google Merchant Center asset set. + /// Google Merchant Center asset set. MerchantCenterFeed = 4, - /// Dynamic real estate asset set. + /// Dynamic real estate asset set. DynamicRealEstate = 5, - /// Dynamic custom asset set. + /// Dynamic custom asset set. DynamicCustom = 6, - /// Dynamic hotels and rentals asset set. + /// Dynamic hotels and rentals asset set. DynamicHotelsAndRentals = 7, - /// Dynamic flights asset set. + /// Dynamic flights asset set. DynamicFlights = 8, - /// Dynamic travel asset set. + /// Dynamic travel asset set. DynamicTravel = 9, - /// Dynamic local asset set. + /// Dynamic local asset set. DynamicLocal = 10, - /// Dynamic jobs asset set. + /// Dynamic jobs asset set. DynamicJobs = 11, } impl AssetSetType { @@ -7085,71 +7085,71 @@ pub mod asset_set_type_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the types of asset. +/// Container for enum describing the types of asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetTypeEnum { } /// Nested message and enum types in `AssetTypeEnum`. pub mod asset_type_enum { - /// Enum describing possible types of asset. + /// Enum describing possible types of asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube video asset. + /// YouTube video asset. YoutubeVideo = 2, - /// Media bundle asset. + /// Media bundle asset. MediaBundle = 3, - /// Image asset. + /// Image asset. Image = 4, - /// Text asset. + /// Text asset. Text = 5, - /// Lead form asset. + /// Lead form asset. LeadForm = 6, - /// Book on Google asset. + /// Book on Google asset. BookOnGoogle = 7, - /// Promotion asset. + /// Promotion asset. Promotion = 8, - /// Callout asset. + /// Callout asset. Callout = 9, - /// Structured Snippet asset. + /// Structured Snippet asset. StructuredSnippet = 10, - /// Sitelink asset. + /// Sitelink asset. Sitelink = 11, - /// Page Feed asset. + /// Page Feed asset. PageFeed = 12, - /// Dynamic Education asset. + /// Dynamic Education asset. DynamicEducation = 13, - /// Mobile app asset. + /// Mobile app asset. MobileApp = 14, - /// Hotel callout asset. + /// Hotel callout asset. HotelCallout = 15, - /// Call asset. + /// Call asset. Call = 16, - /// Price asset. + /// Price asset. Price = 17, - /// Call to action asset. + /// Call to action asset. CallToAction = 18, - /// Dynamic real estate asset. + /// Dynamic real estate asset. DynamicRealEstate = 19, - /// Dynamic custom asset. + /// Dynamic custom asset. DynamicCustom = 20, - /// Dynamic hotels and rentals asset. + /// Dynamic hotels and rentals asset. DynamicHotelsAndRentals = 21, - /// Dynamic flights asset. + /// Dynamic flights asset. DynamicFlights = 22, - /// Discovery Carousel Card asset. + /// Discovery Carousel Card asset. DiscoveryCarouselCard = 23, - /// Dynamic travel asset. + /// Dynamic travel asset. DynamicTravel = 24, - /// Dynamic local asset. + /// Dynamic local asset. DynamicLocal = 25, - /// Dynamic jobs asset. + /// Dynamic jobs asset. DynamicJobs = 26, } impl AssetType { @@ -7190,31 +7190,31 @@ pub mod asset_type_enum { } } } -// Proto file describing experiment async action status. +// Proto file describing experiment async action status. -/// Container for enum describing the experiment async action status. +/// Container for enum describing the experiment async action status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AsyncActionStatusEnum { } /// Nested message and enum types in `AsyncActionStatusEnum`. pub mod async_action_status_enum { - /// The async action status of the experiment. + /// The async action status of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AsyncActionStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Action has not started. + /// Action has not started. NotStarted = 2, - /// Action is in progress. + /// Action is in progress. InProgress = 3, - /// Action has completed successfully. + /// Action has completed successfully. Completed = 4, - /// Action has failed. + /// Action has failed. Failed = 5, - /// Action has completed successfully with warnings. + /// Action has completed successfully with warnings. CompletedWithWarning = 6, } impl AsyncActionStatus { @@ -7235,42 +7235,42 @@ pub mod async_action_status_enum { } } } -/// Container for enum representing the attribution model that describes how to -/// distribute credit for a particular conversion across potentially many prior -/// interactions. +/// Container for enum representing the attribution model that describes how to +/// distribute credit for a particular conversion across potentially many prior +/// interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelEnum { } /// Nested message and enum types in `AttributionModelEnum`. pub mod attribution_model_enum { - /// The attribution model that describes how to distribute credit for a - /// particular conversion across potentially many prior interactions. + /// The attribution model that describes how to distribute credit for a + /// particular conversion across potentially many prior interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AttributionModel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Uses external attribution. + /// Uses external attribution. External = 100, - /// Attributes all credit for a conversion to its last click. + /// Attributes all credit for a conversion to its last click. GoogleAdsLastClick = 101, - /// Attributes all credit for a conversion to its first click using Google - /// Search attribution. + /// Attributes all credit for a conversion to its first click using Google + /// Search attribution. GoogleSearchAttributionFirstClick = 102, - /// Attributes credit for a conversion equally across all of its clicks using - /// Google Search attribution. + /// Attributes credit for a conversion equally across all of its clicks using + /// Google Search attribution. GoogleSearchAttributionLinear = 103, - /// Attributes exponentially more credit for a conversion to its more recent - /// clicks using Google Search attribution (half-life is 1 week). + /// Attributes exponentially more credit for a conversion to its more recent + /// clicks using Google Search attribution (half-life is 1 week). GoogleSearchAttributionTimeDecay = 104, - /// Attributes 40% of the credit for a conversion to its first and last - /// clicks. Remaining 20% is evenly distributed across all other clicks. This - /// uses Google Search attribution. + /// Attributes 40% of the credit for a conversion to its first and last + /// clicks. Remaining 20% is evenly distributed across all other clicks. This + /// uses Google Search attribution. GoogleSearchAttributionPositionBased = 105, - /// Flexible model that uses machine learning to determine the appropriate - /// distribution of credit among clicks using Google Search attribution. + /// Flexible model that uses machine learning to determine the appropriate + /// distribution of credit among clicks using Google Search attribution. GoogleSearchAttributionDataDriven = 106, } impl AttributionModel { @@ -7293,26 +7293,26 @@ pub mod attribution_model_enum { } } } -// Proto file describing audience status. +// Proto file describing audience status. -/// The status of audience. +/// The status of audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceStatusEnum { } /// Nested message and enum types in `AudienceStatusEnum`. pub mod audience_status_enum { - /// Enum containing possible audience status types. + /// Enum containing possible audience status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - audience is enabled and can be targeted. + /// Enabled status - audience is enabled and can be targeted. Enabled = 2, - /// Removed status - audience is removed and cannot be used for - /// targeting. + /// Removed status - audience is removed and cannot be used for + /// targeting. Removed = 3, } impl AudienceStatus { @@ -7330,27 +7330,27 @@ pub mod audience_status_enum { } } } -// Proto file describing batch job statuses. +// Proto file describing batch job statuses. -/// Container for enum describing possible batch job statuses. +/// Container for enum describing possible batch job statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobStatusEnum { } /// Nested message and enum types in `BatchJobStatusEnum`. pub mod batch_job_status_enum { - /// The batch job statuses. + /// The batch job statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job is not currently running. + /// The job is not currently running. Pending = 2, - /// The job is running. + /// The job is running. Running = 3, - /// The job is done. + /// The job is done. Done = 4, } impl BatchJobStatus { @@ -7369,26 +7369,26 @@ pub mod batch_job_status_enum { } } } -// Proto file describing bid modifier source. +// Proto file describing bid modifier source. -/// Container for enum describing possible bid modifier sources. +/// Container for enum describing possible bid modifier sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSourceEnum { } /// Nested message and enum types in `BidModifierSourceEnum`. pub mod bid_modifier_source_enum { - /// Enum describing possible bid modifier sources. + /// Enum describing possible bid modifier sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BidModifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The bid modifier is specified at the campaign level, on the campaign - /// level criterion. + /// The bid modifier is specified at the campaign level, on the campaign + /// level criterion. Campaign = 2, - /// The bid modifier is specified (overridden) at the ad group level. + /// The bid modifier is specified (overridden) at the ad group level. AdGroup = 3, } impl BidModifierSource { @@ -7406,29 +7406,29 @@ pub mod bid_modifier_source_enum { } } } -// Proto file describing bidding sources. +// Proto file describing bidding sources. -/// Container for enum describing possible bidding sources. +/// Container for enum describing possible bidding sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSourceEnum { } /// Nested message and enum types in `BiddingSourceEnum`. pub mod bidding_source_enum { - /// Indicates where a bid or target is defined. For example, an ad group - /// criterion may define a cpc bid directly, or it can inherit its cpc bid from - /// the ad group. + /// Indicates where a bid or target is defined. For example, an ad group + /// criterion may define a cpc bid directly, or it can inherit its cpc bid from + /// the ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Effective bid or target is inherited from campaign bidding strategy. + /// Effective bid or target is inherited from campaign bidding strategy. CampaignBiddingStrategy = 5, - /// The bid or target is defined on the ad group. + /// The bid or target is defined on the ad group. AdGroup = 6, - /// The bid or target is defined on the ad group criterion. + /// The bid or target is defined on the ad group criterion. AdGroupCriterion = 7, } impl BiddingSource { @@ -7447,27 +7447,27 @@ pub mod bidding_source_enum { } } } -// Proto file describing BiddingStrategy statuses. +// Proto file describing BiddingStrategy statuses. -/// Message describing BiddingStrategy statuses. +/// Message describing BiddingStrategy statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyStatusEnum { } /// Nested message and enum types in `BiddingStrategyStatusEnum`. pub mod bidding_strategy_status_enum { - /// The possible statuses of a BiddingStrategy. + /// The possible statuses of a BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The bidding strategy is enabled. + /// The bidding strategy is enabled. Enabled = 2, - /// The bidding strategy is removed. + /// The bidding strategy is removed. Removed = 4, } impl BiddingStrategyStatus { @@ -7485,80 +7485,80 @@ pub mod bidding_strategy_status_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Container for enum describing possible bidding strategy types. +/// Container for enum describing possible bidding strategy types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyTypeEnum { } /// Nested message and enum types in `BiddingStrategyTypeEnum`. pub mod bidding_strategy_type_enum { - /// Enum describing possible bidding strategy types. + /// Enum describing possible bidding strategy types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. Commission = 16, - /// Enhanced CPC is a bidding strategy that raises bids for clicks - /// that seem more likely to lead to a conversion and lowers - /// them for clicks where they seem less likely. + /// Enhanced CPC is a bidding strategy that raises bids for clicks + /// that seem more likely to lead to a conversion and lowers + /// them for clicks where they seem less likely. EnhancedCpc = 2, - /// Used for return value only. Indicates that a campaign does not have a - /// bidding strategy. This prevents the campaign from serving. For example, - /// a campaign may be attached to a manager bidding strategy and the serving - /// account is subsequently unlinked from the manager account. In this case - /// the campaign will automatically be detached from the now inaccessible - /// manager bidding strategy and transition to the INVALID bidding strategy - /// type. + /// Used for return value only. Indicates that a campaign does not have a + /// bidding strategy. This prevents the campaign from serving. For example, + /// a campaign may be attached to a manager bidding strategy and the serving + /// account is subsequently unlinked from the manager account. In this case + /// the campaign will automatically be detached from the now inaccessible + /// manager bidding strategy and transition to the INVALID bidding strategy + /// type. Invalid = 17, - /// Manual click based bidding where user pays per click. + /// Manual click based bidding where user pays per click. ManualCpc = 3, - /// Manual impression based bidding - /// where user pays per thousand impressions. + /// Manual impression based bidding + /// where user pays per thousand impressions. ManualCpm = 4, - /// A bidding strategy that pays a configurable amount per video view. + /// A bidding strategy that pays a configurable amount per video view. ManualCpv = 13, - /// A bidding strategy that automatically maximizes number of conversions - /// given a daily budget. + /// A bidding strategy that automatically maximizes number of conversions + /// given a daily budget. MaximizeConversions = 10, - /// An automated bidding strategy that automatically sets bids to maximize - /// revenue while spending your budget. + /// An automated bidding strategy that automatically sets bids to maximize + /// revenue while spending your budget. MaximizeConversionValue = 11, - /// Page-One Promoted bidding scheme, which sets max cpc bids to - /// target impressions on page one or page one promoted slots on google.com. - /// This enum value is deprecated. + /// Page-One Promoted bidding scheme, which sets max cpc bids to + /// target impressions on page one or page one promoted slots on google.com. + /// This enum value is deprecated. PageOnePromoted = 5, - /// Percent Cpc is bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Percent Cpc is bidding strategy where bids are a fraction of the + /// advertised price for some good or service. PercentCpc = 12, - /// Target CPA is an automated bid strategy that sets bids - /// to help get as many conversions as possible - /// at the target cost-per-acquisition (CPA) you set. + /// Target CPA is an automated bid strategy that sets bids + /// to help get as many conversions as possible + /// at the target cost-per-acquisition (CPA) you set. TargetCpa = 6, - /// Target CPM is an automated bid strategy that sets bids to help get - /// as many impressions as possible at the target cost per one thousand - /// impressions (CPM) you set. + /// Target CPM is an automated bid strategy that sets bids to help get + /// as many impressions as possible at the target cost per one thousand + /// impressions (CPM) you set. TargetCpm = 14, - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). TargetImpressionShare = 15, - /// Target Outrank Share is an automated bidding strategy that sets bids - /// based on the target fraction of auctions where the advertiser - /// should outrank a specific competitor. - /// This enum value is deprecated. + /// Target Outrank Share is an automated bidding strategy that sets bids + /// based on the target fraction of auctions where the advertiser + /// should outrank a specific competitor. + /// This enum value is deprecated. TargetOutrankShare = 7, - /// Target ROAS is an automated bidding strategy - /// that helps you maximize revenue while averaging - /// a specific target Return On Average Spend (ROAS). + /// Target ROAS is an automated bidding strategy + /// that helps you maximize revenue while averaging + /// a specific target Return On Average Spend (ROAS). TargetRoas = 8, - /// Target Spend is an automated bid strategy that sets your bids - /// to help get as many clicks as possible within your budget. + /// Target Spend is an automated bid strategy that sets your bids + /// to help get as many clicks as possible within your budget. TargetSpend = 9, } impl BiddingStrategyType { @@ -7590,31 +7590,31 @@ pub mod bidding_strategy_type_enum { } } } -// Proto file describing BillingSetup statuses. +// Proto file describing BillingSetup statuses. -/// Message describing BillingSetup statuses. +/// Message describing BillingSetup statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupStatusEnum { } /// Nested message and enum types in `BillingSetupStatusEnum`. pub mod billing_setup_status_enum { - /// The possible statuses of a BillingSetup. + /// The possible statuses of a BillingSetup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The billing setup is pending approval. + /// The billing setup is pending approval. Pending = 2, - /// The billing setup has been approved but the corresponding first budget - /// has not. This can only occur for billing setups configured for monthly - /// invoicing. + /// The billing setup has been approved but the corresponding first budget + /// has not. This can only occur for billing setups configured for monthly + /// invoicing. ApprovedHeld = 3, - /// The billing setup has been approved. + /// The billing setup has been approved. Approved = 4, - /// The billing setup was cancelled by the user prior to approval. + /// The billing setup was cancelled by the user prior to approval. Cancelled = 5, } impl BillingSetupStatus { @@ -7634,47 +7634,47 @@ pub mod billing_setup_status_enum { } } } -// Proto file describing brand safety suitability settings. +// Proto file describing brand safety suitability settings. -/// Container for enum with 3-Tier brand safety suitability control. +/// Container for enum with 3-Tier brand safety suitability control. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BrandSafetySuitabilityEnum { } /// Nested message and enum types in `BrandSafetySuitabilityEnum`. pub mod brand_safety_suitability_enum { - /// 3-Tier brand safety suitability control. + /// 3-Tier brand safety suitability control. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BrandSafetySuitability { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This option lets you show ads across all inventory on YouTube and video - /// partners that meet our standards for monetization. This option may be an - /// appropriate choice for brands that want maximum access to the full - /// breadth of videos eligible for ads, including, for example, videos that - /// have strong profanity in the context of comedy or a documentary, or - /// excessive violence as featured in video games. + /// This option lets you show ads across all inventory on YouTube and video + /// partners that meet our standards for monetization. This option may be an + /// appropriate choice for brands that want maximum access to the full + /// breadth of videos eligible for ads, including, for example, videos that + /// have strong profanity in the context of comedy or a documentary, or + /// excessive violence as featured in video games. ExpandedInventory = 2, - /// This option lets you show ads across a wide range of content that's - /// appropriate for most brands, such as popular music videos, documentaries, - /// and movie trailers. The content you can show ads on is based on YouTube's - /// advertiser-friendly content guidelines that take into account, for - /// example, the strength or frequency of profanity, or the appropriateness - /// of subject matter like sensitive events. Ads won't show, for example, on - /// content with repeated strong profanity, strong sexual content, or graphic - /// violence. + /// This option lets you show ads across a wide range of content that's + /// appropriate for most brands, such as popular music videos, documentaries, + /// and movie trailers. The content you can show ads on is based on YouTube's + /// advertiser-friendly content guidelines that take into account, for + /// example, the strength or frequency of profanity, or the appropriateness + /// of subject matter like sensitive events. Ads won't show, for example, on + /// content with repeated strong profanity, strong sexual content, or graphic + /// violence. StandardInventory = 3, - /// This option lets you show ads on a reduced range of content that's - /// appropriate for brands with particularly strict guidelines around - /// inappropriate language and sexual suggestiveness; above and beyond what - /// YouTube's advertiser-friendly content guidelines address. The videos - /// accessible in this sensitive category meet heightened requirements, - /// especially for inappropriate language and sexual suggestiveness. For - /// example, your ads will be excluded from showing on some of YouTube's most - /// popular music videos and other pop culture content across YouTube and - /// Google video partners. + /// This option lets you show ads on a reduced range of content that's + /// appropriate for brands with particularly strict guidelines around + /// inappropriate language and sexual suggestiveness; above and beyond what + /// YouTube's advertiser-friendly content guidelines address. The videos + /// accessible in this sensitive category meet heightened requirements, + /// especially for inappropriate language and sexual suggestiveness. For + /// example, your ads will be excluded from showing on some of YouTube's most + /// popular music videos and other pop culture content across YouTube and + /// Google video partners. LimitedInventory = 4, } impl BrandSafetySuitability { @@ -7693,28 +7693,28 @@ pub mod brand_safety_suitability_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget delivery methods. A delivery method determines the -/// rate at which the Budget is spent. +/// Message describing Budget delivery methods. A delivery method determines the +/// rate at which the Budget is spent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetDeliveryMethodEnum { } /// Nested message and enum types in `BudgetDeliveryMethodEnum`. pub mod budget_delivery_method_enum { - /// Possible delivery methods of a Budget. + /// Possible delivery methods of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetDeliveryMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The budget server will throttle serving evenly across - /// the entire time period. + /// The budget server will throttle serving evenly across + /// the entire time period. Standard = 2, - /// The budget server will not throttle serving, - /// and ads will serve as fast as possible. + /// The budget server will not throttle serving, + /// and ads will serve as fast as possible. Accelerated = 3, } impl BudgetDeliveryMethod { @@ -7732,28 +7732,28 @@ pub mod budget_delivery_method_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget period. +/// Message describing Budget period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetPeriodEnum { } /// Nested message and enum types in `BudgetPeriodEnum`. pub mod budget_period_enum { - /// Possible period of a Budget. + /// Possible period of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetPeriod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Daily budget. + /// Daily budget. Daily = 2, - /// Custom budget, added back in V5. - /// Custom bugdet can be used with total_amount to specify lifetime budget - /// limit. See: for more - /// info. + /// Custom budget, added back in V5. + /// Custom bugdet can be used with total_amount to specify lifetime budget + /// limit. See: for more + /// info. CustomPeriod = 5, } impl BudgetPeriod { @@ -7771,25 +7771,25 @@ pub mod budget_period_enum { } } } -// Proto file describing Budget statuses +// Proto file describing Budget statuses -/// Message describing a Budget status +/// Message describing a Budget status #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetStatusEnum { } /// Nested message and enum types in `BudgetStatusEnum`. pub mod budget_status_enum { - /// Possible statuses of a Budget. + /// Possible statuses of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget is enabled. + /// Budget is enabled. Enabled = 2, - /// Budget is removed. + /// Budget is removed. Removed = 3, } impl BudgetStatus { @@ -7807,46 +7807,46 @@ pub mod budget_status_enum { } } } -// Proto file describing Budget types. +// Proto file describing Budget types. -/// Describes Budget types. +/// Describes Budget types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetTypeEnum { } /// Nested message and enum types in `BudgetTypeEnum`. pub mod budget_type_enum { - /// Possible Budget types. + /// Possible Budget types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget type for standard Google Ads usage. - /// Caps daily spend at two times the specified budget amount. - /// Full details: + /// Budget type for standard Google Ads usage. + /// Caps daily spend at two times the specified budget amount. + /// Full details: Standard = 2, - /// Budget type with a fixed cost-per-acquisition (conversion). - /// Full details: + /// Budget type with a fixed cost-per-acquisition (conversion). + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), - /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), + /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. FixedCpa = 4, - /// Budget type for Smart Campaign. - /// Full details: + /// Budget type for Smart Campaign. + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.SMART and - /// AdvertisingChannelSubType.SMART_CAMPAIGN. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.SMART and + /// AdvertisingChannelSubType.SMART_CAMPAIGN. SmartCampaign = 5, - /// Budget type for Local Services Campaign. - /// Full details: + /// Budget type for Local Services Campaign. + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.LOCAL_SERVICES. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.LOCAL_SERVICES. LocalServices = 6, } impl BudgetType { @@ -7866,38 +7866,38 @@ pub mod budget_type_enum { } } } -// Proto file describing Call placeholder fields. +// Proto file describing Call placeholder fields. -/// Values for Call placeholder fields. +/// Values for Call placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallPlaceholderFieldEnum { } /// Nested message and enum types in `CallPlaceholderFieldEnum`. pub mod call_placeholder_field_enum { - /// Possible values for Call placeholder fields. + /// Possible values for Call placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The advertiser's phone number to append to the ad. + /// Data Type: STRING. The advertiser's phone number to append to the ad. PhoneNumber = 2, - /// Data Type: STRING. Uppercase two-letter country code of the advertiser's - /// phone number. + /// Data Type: STRING. Uppercase two-letter country code of the advertiser's + /// phone number. CountryCode = 3, - /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - /// true. + /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: + /// true. Tracked = 4, - /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This - /// object contains the phoneCallDurationfield which is the minimum duration - /// (in seconds) of a call to be considered a conversion. + /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This + /// object contains the phoneCallDurationfield which is the minimum duration + /// (in seconds) of a call to be considered a conversion. ConversionTypeId = 5, - /// Data Type: STRING. Indicates whether this call extension uses its own - /// call conversion setting or follows the account level setting. - /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// Data Type: STRING. Indicates whether this call extension uses its own + /// call conversion setting or follows the account level setting. + /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. ConversionReportingState = 6, } impl CallPlaceholderField { @@ -7918,25 +7918,25 @@ pub mod call_placeholder_field_enum { } } } -// Proto file describing call tracking display location. +// Proto file describing call tracking display location. -/// Container for enum describing possible call tracking display locations. +/// Container for enum describing possible call tracking display locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTrackingDisplayLocationEnum { } /// Nested message and enum types in `CallTrackingDisplayLocationEnum`. pub mod call_tracking_display_location_enum { - /// Possible call tracking display locations. + /// Possible call tracking display locations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallTrackingDisplayLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call placed from the ad. + /// The phone call placed from the ad. Ad = 2, - /// The phone call placed from the landing page ad points to. + /// The phone call placed from the landing page ad points to. LandingPage = 3, } impl CallTrackingDisplayLocation { @@ -7954,26 +7954,26 @@ pub mod call_tracking_display_location_enum { } } } -// Proto file describing call types. +// Proto file describing call types. -/// Container for enum describing possible types of property from where the call -/// was made. +/// Container for enum describing possible types of property from where the call +/// was made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTypeEnum { } /// Nested message and enum types in `CallTypeEnum`. pub mod call_type_enum { - /// Possible types of property from where the call was made. + /// Possible types of property from where the call was made. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call was manually dialed. + /// The phone call was manually dialed. ManuallyDialed = 2, - /// The phone call was a mobile click-to-call. + /// The phone call was a mobile click-to-call. HighEndMobileSearch = 3, } impl CallType { @@ -7991,23 +7991,23 @@ pub mod call_type_enum { } } } -// Proto file describing Callout placeholder fields. +// Proto file describing Callout placeholder fields. -/// Values for Callout placeholder fields. +/// Values for Callout placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutPlaceholderFieldEnum { } /// Nested message and enum types in `CalloutPlaceholderFieldEnum`. pub mod callout_placeholder_field_enum { - /// Possible values for Callout placeholder fields. + /// Possible values for Callout placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CalloutPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Callout text. + /// Data Type: STRING. Callout text. CalloutText = 2, } impl CalloutPlaceholderField { @@ -8024,29 +8024,29 @@ pub mod callout_placeholder_field_enum { } } } -// Proto file describing CampaignCriterion statuses. +// Proto file describing CampaignCriterion statuses. -/// Message describing CampaignCriterion statuses. +/// Message describing CampaignCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionStatusEnum { } /// Nested message and enum types in `CampaignCriterionStatusEnum`. pub mod campaign_criterion_status_enum { - /// The possible statuses of a CampaignCriterion. + /// The possible statuses of a CampaignCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The campaign criterion is enabled. + /// The campaign criterion is enabled. Enabled = 2, - /// The campaign criterion is paused. + /// The campaign criterion is paused. Paused = 3, - /// The campaign criterion is removed. + /// The campaign criterion is removed. Removed = 4, } impl CampaignCriterionStatus { @@ -8065,37 +8065,37 @@ pub mod campaign_criterion_status_enum { } } } -// Proto file describing campaign draft status. +// Proto file describing campaign draft status. -/// Container for enum describing possible statuses of a campaign draft. +/// Container for enum describing possible statuses of a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftStatusEnum { } /// Nested message and enum types in `CampaignDraftStatusEnum`. pub mod campaign_draft_status_enum { - /// Possible statuses of a campaign draft. + /// Possible statuses of a campaign draft. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Initial state of the draft, the advertiser can start adding changes with - /// no effect on serving. + /// Initial state of the draft, the advertiser can start adding changes with + /// no effect on serving. Proposed = 2, - /// The campaign draft is removed. + /// The campaign draft is removed. Removed = 3, - /// Advertiser requested to promote draft's changes back into the original - /// campaign. Advertiser can poll the long running operation returned by - /// the promote action to see the status of the promotion. + /// Advertiser requested to promote draft's changes back into the original + /// campaign. Advertiser can poll the long running operation returned by + /// the promote action to see the status of the promotion. Promoting = 5, - /// The process to merge changes in the draft back to the original campaign - /// has completed successfully. + /// The process to merge changes in the draft back to the original campaign + /// has completed successfully. Promoted = 4, - /// The promotion failed after it was partially applied. Promote cannot be - /// attempted again safely, so the issue must be corrected in the original - /// campaign. + /// The promotion failed after it was partially applied. Promote cannot be + /// attempted again safely, so the issue must be corrected in the original + /// campaign. PromoteFailed = 6, } impl CampaignDraftStatus { @@ -8116,45 +8116,45 @@ pub mod campaign_draft_status_enum { } } } -// Proto file describing campaign experiment status. +// Proto file describing campaign experiment status. -/// Container for enum describing possible statuses of a campaign experiment. +/// Container for enum describing possible statuses of a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentStatusEnum { } /// Nested message and enum types in `CampaignExperimentStatusEnum`. pub mod campaign_experiment_status_enum { - /// Possible statuses of a campaign experiment. + /// Possible statuses of a campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The experiment campaign is being initialized. + /// The experiment campaign is being initialized. Initializing = 2, - /// Initialization of the experiment campaign failed. + /// Initialization of the experiment campaign failed. InitializationFailed = 8, - /// The experiment campaign is fully initialized. The experiment is currently - /// running, scheduled to run in the future or has ended based on its - /// end date. An experiment with the status INITIALIZING will be updated to - /// ENABLED when it is fully created. + /// The experiment campaign is fully initialized. The experiment is currently + /// running, scheduled to run in the future or has ended based on its + /// end date. An experiment with the status INITIALIZING will be updated to + /// ENABLED when it is fully created. Enabled = 3, - /// The experiment campaign was graduated to a stand-alone - /// campaign, existing independently of the experiment. + /// The experiment campaign was graduated to a stand-alone + /// campaign, existing independently of the experiment. Graduated = 4, - /// The experiment is removed. + /// The experiment is removed. Removed = 5, - /// The experiment's changes are being applied to the original campaign. - /// The long running operation returned by the promote method can be polled - /// to see the status of the promotion. + /// The experiment's changes are being applied to the original campaign. + /// The long running operation returned by the promote method can be polled + /// to see the status of the promotion. Promoting = 6, - /// Promote of the experiment campaign failed. + /// Promote of the experiment campaign failed. PromotionFailed = 9, - /// The changes of the experiment are promoted to their original campaign. + /// The changes of the experiment are promoted to their original campaign. Promoted = 7, - /// The experiment was ended manually. It did not end based on its end date. + /// The experiment was ended manually. It did not end based on its end date. EndedManually = 10, } impl CampaignExperimentStatus { @@ -8179,28 +8179,28 @@ pub mod campaign_experiment_status_enum { } } } -// Proto file describing campaign experiment traffic split type. +// Proto file describing campaign experiment traffic split type. -/// Container for enum describing campaign experiment traffic split type. +/// Container for enum describing campaign experiment traffic split type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTrafficSplitTypeEnum { } /// Nested message and enum types in `CampaignExperimentTrafficSplitTypeEnum`. pub mod campaign_experiment_traffic_split_type_enum { - /// Enum of strategies for splitting traffic between base and experiment - /// campaigns in campaign experiment. + /// Enum of strategies for splitting traffic between base and experiment + /// campaigns in campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentTrafficSplitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Traffic is randomly assigned to the base or experiment arm for each - /// query, independent of previous assignments for the same user. + /// Traffic is randomly assigned to the base or experiment arm for each + /// query, independent of previous assignments for the same user. RandomQuery = 2, - /// Traffic is split using cookies to keep users in the same arm (base or - /// experiment) of the experiment. + /// Traffic is split using cookies to keep users in the same arm (base or + /// experiment) of the experiment. Cookie = 3, } impl CampaignExperimentTrafficSplitType { @@ -8218,33 +8218,33 @@ pub mod campaign_experiment_traffic_split_type_enum { } } } -// Proto file describing campaign experiment type. +// Proto file describing campaign experiment type. -/// Container for enum describing campaign experiment type. +/// Container for enum describing campaign experiment type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTypeEnum { } /// Nested message and enum types in `CampaignExperimentTypeEnum`. pub mod campaign_experiment_type_enum { - /// Indicates if this campaign is a normal campaign, - /// a draft campaign, or an experiment campaign. + /// Indicates if this campaign is a normal campaign, + /// a draft campaign, or an experiment campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This is a regular campaign. + /// This is a regular campaign. Base = 2, - /// This is a draft version of a campaign. - /// It has some modifications from a base campaign, - /// but it does not serve or accrue metrics. + /// This is a draft version of a campaign. + /// It has some modifications from a base campaign, + /// but it does not serve or accrue metrics. Draft = 3, - /// This is an experiment version of a campaign. - /// It has some modifications from a base campaign, - /// and a percentage of traffic is being diverted - /// from the BASE campaign to this experiment campaign. + /// This is an experiment version of a campaign. + /// It has some modifications from a base campaign, + /// and a percentage of traffic is being diverted + /// from the BASE campaign to this experiment campaign. Experiment = 4, } impl CampaignExperimentType { @@ -8263,25 +8263,25 @@ pub mod campaign_experiment_type_enum { } } } -// Proto file describing CampaignGroup statuses. +// Proto file describing CampaignGroup statuses. -/// Message describing CampaignGroup statuses. +/// Message describing CampaignGroup statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroupStatusEnum { } /// Nested message and enum types in `CampaignGroupStatusEnum`. pub mod campaign_group_status_enum { - /// Possible statuses of a CampaignGroup. + /// Possible statuses of a CampaignGroup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignGroupStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign group is active. + /// The campaign group is active. Enabled = 2, - /// The campaign group has been removed. + /// The campaign group has been removed. Removed = 3, } impl CampaignGroupStatus { @@ -8299,33 +8299,33 @@ pub mod campaign_group_status_enum { } } } -// Proto file describing Campaign serving statuses. +// Proto file describing Campaign serving statuses. -/// Message describing Campaign serving statuses. +/// Message describing Campaign serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignServingStatusEnum { } /// Nested message and enum types in `CampaignServingStatusEnum`. pub mod campaign_serving_status_enum { - /// Possible serving statuses of a campaign. + /// Possible serving statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignServingStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Serving. + /// Serving. Serving = 2, - /// None. + /// None. None = 3, - /// Ended. + /// Ended. Ended = 4, - /// Pending. + /// Pending. Pending = 5, - /// Suspended. + /// Suspended. Suspended = 6, } impl CampaignServingStatus { @@ -8346,25 +8346,25 @@ pub mod campaign_serving_status_enum { } } } -// Proto file describing campaign shared set statuses. +// Proto file describing campaign shared set statuses. -/// Container for enum describing types of campaign shared set statuses. +/// Container for enum describing types of campaign shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetStatusEnum { } /// Nested message and enum types in `CampaignSharedSetStatusEnum`. pub mod campaign_shared_set_status_enum { - /// Enum listing the possible campaign shared set statuses. + /// Enum listing the possible campaign shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign shared set is enabled. + /// The campaign shared set is enabled. Enabled = 2, - /// The campaign shared set is removed and can no longer be used. + /// The campaign shared set is removed and can no longer be used. Removed = 3, } impl CampaignSharedSetStatus { @@ -8382,27 +8382,27 @@ pub mod campaign_shared_set_status_enum { } } } -// Proto file describing campaign status. +// Proto file describing campaign status. -/// Container for enum describing possible statuses of a campaign. +/// Container for enum describing possible statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignStatusEnum { } /// Nested message and enum types in `CampaignStatusEnum`. pub mod campaign_status_enum { - /// Possible statuses of a campaign. + /// Possible statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Campaign is currently serving ads depending on budget information. + /// Campaign is currently serving ads depending on budget information. Enabled = 2, - /// Campaign has been paused by the user. + /// Campaign has been paused by the user. Paused = 3, - /// Campaign has been removed. + /// Campaign has been removed. Removed = 4, } impl CampaignStatus { @@ -8421,52 +8421,52 @@ pub mod campaign_status_enum { } } } -// Proto file describing the sources that the change event resource was -// made through. +// Proto file describing the sources that the change event resource was +// made through. -/// Container for enum describing the sources that the change event resource -/// was made through. +/// Container for enum describing the sources that the change event resource +/// was made through. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeClientTypeEnum { } /// Nested message and enum types in `ChangeClientTypeEnum`. pub mod change_client_type_enum { - /// The source that the change_event resource was made through. + /// The source that the change_event resource was made through. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeClientType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified client type - /// unknown in this version. + /// Used for return value only. Represents an unclassified client type + /// unknown in this version. Unknown = 1, - /// Changes made through the "ads.google.com". - /// For example, changes made through campaign management. + /// Changes made through the "ads.google.com". + /// For example, changes made through campaign management. GoogleAdsWebClient = 2, - /// Changes made through Google Ads automated rules. + /// Changes made through Google Ads automated rules. GoogleAdsAutomatedRule = 3, - /// Changes made through Google Ads scripts. + /// Changes made through Google Ads scripts. GoogleAdsScripts = 4, - /// Changes made by Google Ads bulk upload. + /// Changes made by Google Ads bulk upload. GoogleAdsBulkUpload = 5, - /// Changes made by Google Ads API. + /// Changes made by Google Ads API. GoogleAdsApi = 6, - /// Changes made by Google Ads Editor. + /// Changes made by Google Ads Editor. GoogleAdsEditor = 7, - /// Changes made by Google Ads mobile app. + /// Changes made by Google Ads mobile app. GoogleAdsMobileApp = 8, - /// Changes made through Google Ads recommendations. + /// Changes made through Google Ads recommendations. GoogleAdsRecommendations = 9, - /// Changes made through Search Ads 360 Sync. + /// Changes made through Search Ads 360 Sync. SearchAds360Sync = 10, - /// Changes made through Search Ads 360 Post. + /// Changes made through Search Ads 360 Post. SearchAds360Post = 11, - /// Changes made through internal tools. - /// For example, when a user sets a URL template on an entity like a - /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. + /// Changes made through internal tools. + /// For example, when a user sets a URL template on an entity like a + /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. InternalTool = 12, - /// Types of changes that are not categorized, for example, - /// changes made by coupon redemption through Google Ads. + /// Types of changes that are not categorized, for example, + /// changes made by coupon redemption through Google Ads. Other = 13, } impl ChangeClientType { @@ -8494,61 +8494,61 @@ pub mod change_client_type_enum { } } } -// Proto file describing the resource types the ChangeEvent resource supports. +// Proto file describing the resource types the ChangeEvent resource supports. -/// Container for enum describing supported resource types for the ChangeEvent -/// resource. +/// Container for enum describing supported resource types for the ChangeEvent +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventResourceTypeEnum { } /// Nested message and enum types in `ChangeEventResourceTypeEnum`. pub mod change_event_resource_type_enum { - /// Enum listing the resource types support by the ChangeEvent resource. + /// Enum listing the resource types support by the ChangeEvent resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An Ad resource change. + /// An Ad resource change. Ad = 2, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 4, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 5, - /// A CampaignBudget resource change. + /// A CampaignBudget resource change. CampaignBudget = 6, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 7, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 8, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 11, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 12, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 13, - /// An Asset resource change. + /// An Asset resource change. Asset = 14, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 15, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 16, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 17, - /// An AssetSet resource change. + /// An AssetSet resource change. AssetSet = 18, - /// An AssetSetAsset resource change. + /// An AssetSetAsset resource change. AssetSetAsset = 19, - /// A CampaignAssetSet resource change. + /// A CampaignAssetSet resource change. CampaignAssetSet = 20, } impl ChangeEventResourceType { @@ -8583,28 +8583,28 @@ pub mod change_event_resource_type_enum { } } } -// Proto file describing the change status operations. +// Proto file describing the change status operations. -/// Container for enum describing operations for the ChangeStatus resource. +/// Container for enum describing operations for the ChangeStatus resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusOperationEnum { } /// Nested message and enum types in `ChangeStatusOperationEnum`. pub mod change_status_operation_enum { - /// Status of the changed resource + /// Status of the changed resource #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Added = 2, - /// The resource was modified. + /// The resource was modified. Changed = 3, - /// The resource was removed. + /// The resource was removed. Removed = 4, } impl ChangeStatusOperation { @@ -8623,55 +8623,55 @@ pub mod change_status_operation_enum { } } } -// Proto file describing the resource types the ChangeStatus resource supports. +// Proto file describing the resource types the ChangeStatus resource supports. -/// Container for enum describing supported resource types for the ChangeStatus -/// resource. +/// Container for enum describing supported resource types for the ChangeStatus +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusResourceTypeEnum { } /// Nested message and enum types in `ChangeStatusResourceTypeEnum`. pub mod change_status_resource_type_enum { - /// Enum listing the resource types support by the ChangeStatus resource. + /// Enum listing the resource types support by the ChangeStatus resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 4, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 5, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 6, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 7, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 11, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 12, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 13, - /// A SharedSet resource change. + /// A SharedSet resource change. SharedSet = 14, - /// A CampaignSharedSet resource change. + /// A CampaignSharedSet resource change. CampaignSharedSet = 15, - /// An Asset resource change. + /// An Asset resource change. Asset = 16, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 17, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 18, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 19, } impl ChangeStatusResourceType { @@ -8703,26 +8703,26 @@ pub mod change_status_resource_type_enum { } } } -// Proto file describing combined audience status. +// Proto file describing combined audience status. -/// The status of combined audience. +/// The status of combined audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceStatusEnum { } /// Nested message and enum types in `CombinedAudienceStatusEnum`. pub mod combined_audience_status_enum { - /// Enum containing possible combined audience status types. + /// Enum containing possible combined audience status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CombinedAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - combined audience is enabled and can be targeted. + /// Enabled status - combined audience is enabled and can be targeted. Enabled = 2, - /// Removed status - combined audience is removed and cannot be used for - /// targeting. + /// Removed status - combined audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CombinedAudienceStatus { @@ -8740,27 +8740,27 @@ pub mod combined_audience_status_enum { } } } -// Proto file describing conversion action counting type. +// Proto file describing conversion action counting type. -/// Container for enum describing the conversion deduplication mode for -/// conversion optimizer. +/// Container for enum describing the conversion deduplication mode for +/// conversion optimizer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCountingTypeEnum { } /// Nested message and enum types in `ConversionActionCountingTypeEnum`. pub mod conversion_action_counting_type_enum { - /// Indicates how conversions for this action will be counted. For more - /// information, see + /// Indicates how conversions for this action will be counted. For more + /// information, see #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCountingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Count only one conversion per click. + /// Count only one conversion per click. OnePerClick = 2, - /// Count all conversions per click. + /// Count all conversions per click. ManyPerClick = 3, } impl ConversionActionCountingType { @@ -8778,28 +8778,28 @@ pub mod conversion_action_counting_type_enum { } } } -// Proto file describing conversion action status. +// Proto file describing conversion action status. -/// Container for enum describing possible statuses of a conversion action. +/// Container for enum describing possible statuses of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionStatusEnum { } /// Nested message and enum types in `ConversionActionStatusEnum`. pub mod conversion_action_status_enum { - /// Possible statuses of a conversion action. + /// Possible statuses of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions will be recorded. + /// Conversions will be recorded. Enabled = 2, - /// Conversions will not be recorded. + /// Conversions will not be recorded. Removed = 3, - /// Conversions will not be recorded and the conversion action will not - /// appear in the UI. + /// Conversions will not be recorded and the conversion action will not + /// appear in the UI. Hidden = 4, } impl ConversionActionStatus { @@ -8818,116 +8818,116 @@ pub mod conversion_action_status_enum { } } } -// Proto file describing conversion action type. +// Proto file describing conversion action type. -/// Container for enum describing possible types of a conversion action. +/// Container for enum describing possible types of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionTypeEnum { } /// Nested message and enum types in `ConversionActionTypeEnum`. pub mod conversion_action_type_enum { - /// Possible types of a conversion action. + /// Possible types of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions that occur when a user clicks on an ad's call extension. + /// Conversions that occur when a user clicks on an ad's call extension. AdCall = 2, - /// Conversions that occur when a user on a mobile device clicks a phone - /// number. + /// Conversions that occur when a user on a mobile device clicks a phone + /// number. ClickToCall = 3, - /// Conversions that occur when a user downloads a mobile app from the Google - /// Play Store. + /// Conversions that occur when a user downloads a mobile app from the Google + /// Play Store. GooglePlayDownload = 4, - /// Conversions that occur when a user makes a purchase in an app through - /// Android billing. + /// Conversions that occur when a user makes a purchase in an app through + /// Android billing. GooglePlayInAppPurchase = 5, - /// Call conversions that are tracked by the advertiser and uploaded. + /// Call conversions that are tracked by the advertiser and uploaded. UploadCalls = 6, - /// Conversions that are tracked by the advertiser and uploaded with - /// attributed clicks. + /// Conversions that are tracked by the advertiser and uploaded with + /// attributed clicks. UploadClicks = 7, - /// Conversions that occur on a webpage. + /// Conversions that occur on a webpage. Webpage = 8, - /// Conversions that occur when a user calls a dynamically-generated phone - /// number from an advertiser's website. + /// Conversions that occur when a user calls a dynamically-generated phone + /// number from an advertiser's website. WebsiteCall = 9, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads. - /// Only customers on the allowlist can use store sales direct upload types. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads. + /// Only customers on the allowlist can use store sales direct upload types. StoreSalesDirectUpload = 10, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. - /// Only customers on the allowlist can use store sales types. - /// Read only. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. + /// Only customers on the allowlist can use store sales types. + /// Read only. StoreSales = 11, - /// Android app first open conversions tracked via Firebase. + /// Android app first open conversions tracked via Firebase. FirebaseAndroidFirstOpen = 12, - /// Android app in app purchase conversions tracked via Firebase. + /// Android app in app purchase conversions tracked via Firebase. FirebaseAndroidInAppPurchase = 13, - /// Android app custom conversions tracked via Firebase. + /// Android app custom conversions tracked via Firebase. FirebaseAndroidCustom = 14, - /// iOS app first open conversions tracked via Firebase. + /// iOS app first open conversions tracked via Firebase. FirebaseIosFirstOpen = 15, - /// iOS app in app purchase conversions tracked via Firebase. + /// iOS app in app purchase conversions tracked via Firebase. FirebaseIosInAppPurchase = 16, - /// iOS app custom conversions tracked via Firebase. + /// iOS app custom conversions tracked via Firebase. FirebaseIosCustom = 17, - /// Android app first open conversions tracked via Third Party App Analytics. + /// Android app first open conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsAndroidFirstOpen = 18, - /// Android app in app purchase conversions tracked via Third Party App - /// Analytics. + /// Android app in app purchase conversions tracked via Third Party App + /// Analytics. ThirdPartyAppAnalyticsAndroidInAppPurchase = 19, - /// Android app custom conversions tracked via Third Party App Analytics. + /// Android app custom conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsAndroidCustom = 20, - /// iOS app first open conversions tracked via Third Party App Analytics. + /// iOS app first open conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsIosFirstOpen = 21, - /// iOS app in app purchase conversions tracked via Third Party App - /// Analytics. + /// iOS app in app purchase conversions tracked via Third Party App + /// Analytics. ThirdPartyAppAnalyticsIosInAppPurchase = 22, - /// iOS app custom conversions tracked via Third Party App Analytics. + /// iOS app custom conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsIosCustom = 23, - /// Conversions that occur when a user pre-registers a mobile app from the - /// Google Play Store. Read only. + /// Conversions that occur when a user pre-registers a mobile app from the + /// Google Play Store. Read only. AndroidAppPreRegistration = 24, - /// Conversions that track all Google Play downloads which aren't tracked - /// by an app-specific type. Read only. + /// Conversions that track all Google Play downloads which aren't tracked + /// by an app-specific type. Read only. AndroidInstallsAllOtherApps = 25, - /// Floodlight activity that counts the number of times that users have - /// visited a particular webpage after seeing or clicking on one of - /// an advertiser's ads. Read only. + /// Floodlight activity that counts the number of times that users have + /// visited a particular webpage after seeing or clicking on one of + /// an advertiser's ads. Read only. FloodlightAction = 26, - /// Floodlight activity that tracks the number of sales made or the number - /// of items purchased. Can also capture the total value of each sale. - /// Read only. + /// Floodlight activity that tracks the number of sales made or the number + /// of items purchased. Can also capture the total value of each sale. + /// Read only. FloodlightTransaction = 27, - /// Conversions that track local actions from Google's products and - /// services after interacting with an ad. Read only. + /// Conversions that track local actions from Google's products and + /// services after interacting with an ad. Read only. GoogleHosted = 28, - /// Conversions reported when a user submits a lead form. Read only. + /// Conversions reported when a user submits a lead form. Read only. LeadFormSubmit = 29, - /// Conversions that come from Salesforce. Read only. + /// Conversions that come from Salesforce. Read only. Salesforce = 30, - /// Conversions imported from Search Ads 360 Floodlight data. Read only. + /// Conversions imported from Search Ads 360 Floodlight data. Read only. SearchAds360 = 31, - /// Call conversions that occur on Smart campaign Ads without call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads without call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignAdClicksToCall = 32, - /// The user clicks on a call element within Google Maps. Smart campaign - /// only. Read only. + /// The user clicks on a call element within Google Maps. Smart campaign + /// only. Read only. SmartCampaignMapClicksToCall = 33, - /// The user requests directions to a business location within Google Maps. - /// Smart campaign only. Read only. + /// The user requests directions to a business location within Google Maps. + /// Smart campaign only. Read only. SmartCampaignMapDirections = 34, - /// Call conversions that occur on Smart campaign Ads with call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads with call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignTrackedCalls = 35, - /// Conversions that occur when a user visits an advertiser's retail store. - /// Read only. + /// Conversions that occur when a user visits an advertiser's retail store. + /// Read only. StoreVisits = 36, } impl ConversionActionType { @@ -8978,30 +8978,30 @@ pub mod conversion_action_type_enum { } } } -// Proto file describing conversion adjustment type. +// Proto file describing conversion adjustment type. -/// Container for enum describing conversion adjustment types. +/// Container for enum describing conversion adjustment types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentTypeEnum { } /// Nested message and enum types in `ConversionAdjustmentTypeEnum`. pub mod conversion_adjustment_type_enum { - /// The different actions advertisers can take to adjust the conversions that - /// they already reported. Retractions negate a conversion. Restatements change - /// the value of a conversion. + /// The different actions advertisers can take to adjust the conversions that + /// they already reported. Retractions negate a conversion. Restatements change + /// the value of a conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Negates a conversion so that its total value and count are both zero. + /// Negates a conversion so that its total value and count are both zero. Retraction = 2, - /// Changes the value of a conversion. + /// Changes the value of a conversion. Restatement = 3, - /// Supplements an existing conversion with provided user identifiers and - /// user agent, which can be used by Google to enhance the conversion count. + /// Supplements an existing conversion with provided user identifiers and + /// user agent, which can be used by Google to enhance the conversion count. Enhancement = 4, } impl ConversionAdjustmentType { @@ -9020,32 +9020,32 @@ pub mod conversion_adjustment_type_enum { } } } -// Proto file describing conversion custom variable status. +// Proto file describing conversion custom variable status. -/// Container for enum describing possible statuses of a conversion custom -/// variable. +/// Container for enum describing possible statuses of a conversion custom +/// variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableStatusEnum { } /// Nested message and enum types in `ConversionCustomVariableStatusEnum`. pub mod conversion_custom_variable_status_enum { - /// Possible statuses of a conversion custom variable. + /// Possible statuses of a conversion custom variable. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The conversion custom variable is pending activation and will not - /// accrue stats until set to ENABLED. + /// The conversion custom variable is pending activation and will not + /// accrue stats until set to ENABLED. /// - /// This status can't be used in CREATE and UPDATE requests. + /// This status can't be used in CREATE and UPDATE requests. ActivationNeeded = 2, - /// The conversion custom variable is enabled and will accrue stats. + /// The conversion custom variable is enabled and will accrue stats. Enabled = 3, - /// The conversion custom variable is paused and will not accrue stats - /// until set to ENABLED again. + /// The conversion custom variable is paused and will not accrue stats + /// until set to ENABLED again. Paused = 4, } impl ConversionCustomVariableStatus { @@ -9064,24 +9064,24 @@ pub mod conversion_custom_variable_status_enum { } } } -/// Container for enum representing the conversion environment an uploaded -/// conversion was recorded on. e.g. App or Web. +/// Container for enum representing the conversion environment an uploaded +/// conversion was recorded on. e.g. App or Web. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionEnvironmentEnum { } /// Nested message and enum types in `ConversionEnvironmentEnum`. pub mod conversion_environment_enum { - /// Conversion environment of the uploaded conversion. + /// Conversion environment of the uploaded conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionEnvironment { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The conversion was recorded on an app. + /// The conversion was recorded on an app. App = 2, - /// The conversion was recorded on a website. + /// The conversion was recorded on a website. Web = 3, } impl ConversionEnvironment { @@ -9099,38 +9099,38 @@ pub mod conversion_environment_enum { } } } -// Proto file describing conversion origin. +// Proto file describing conversion origin. -/// Container for enum describing possible conversion origins. +/// Container for enum describing possible conversion origins. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOriginEnum { } /// Nested message and enum types in `ConversionOriginEnum`. pub mod conversion_origin_enum { - /// The possible places where a conversion can occur. + /// The possible places where a conversion can occur. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrigin { - /// The conversion origin has not been specified. + /// The conversion origin has not been specified. Unspecified = 0, - /// The conversion origin is not known in this version. + /// The conversion origin is not known in this version. Unknown = 1, - /// Conversion that occurs when a user visits a website or takes an action - /// there after viewing an ad. + /// Conversion that occurs when a user visits a website or takes an action + /// there after viewing an ad. Website = 2, - /// Conversions reported by an offline pipeline which collects local actions - /// from Google-hosted pages (e.g. Google Maps, Google Place Page, etc) and - /// attributes them to relevant ad events. + /// Conversions reported by an offline pipeline which collects local actions + /// from Google-hosted pages (e.g. Google Maps, Google Place Page, etc) and + /// attributes them to relevant ad events. GoogleHosted = 3, - /// Conversion that occurs when a user performs an action via any app - /// platforms. + /// Conversion that occurs when a user performs an action via any app + /// platforms. App = 4, - /// Conversion that occurs when a user makes a call from ads. + /// Conversion that occurs when a user makes a call from ads. CallFromAds = 5, - /// Conversion that occurs when a user visits or makes a purchase at a - /// physical store. + /// Conversion that occurs when a user visits or makes a purchase at a + /// physical store. Store = 6, - /// Conversion that occurs on YouTube. + /// Conversion that occurs on YouTube. YoutubeHosted = 7, } impl ConversionOrigin { @@ -9152,31 +9152,31 @@ pub mod conversion_origin_enum { } } } -/// Container for enum representing the conversion tracking status of the -/// customer. +/// Container for enum representing the conversion tracking status of the +/// customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionTrackingStatusEnum { } /// Nested message and enum types in `ConversionTrackingStatusEnum`. pub mod conversion_tracking_status_enum { - /// Conversion Tracking status of the customer. + /// Conversion Tracking status of the customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionTrackingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Customer does not use any conversion tracking. + /// Customer does not use any conversion tracking. NotConversionTracked = 2, - /// The conversion actions are created and managed by this customer. + /// The conversion actions are created and managed by this customer. ConversionTrackingManagedBySelf = 3, - /// The conversion actions are created and managed by the manager specified - /// in the request's `login-customer-id`. + /// The conversion actions are created and managed by the manager specified + /// in the request's `login-customer-id`. ConversionTrackingManagedByThisManager = 4, - /// The conversion actions are created and managed by a manager different - /// from the customer or manager specified in the request's - /// `login-customer-id`. + /// The conversion actions are created and managed by a manager different + /// from the customer or manager specified in the request's + /// `login-customer-id`. ConversionTrackingManagedByAnotherManager = 5, } impl ConversionTrackingStatus { @@ -9196,29 +9196,29 @@ pub mod conversion_tracking_status_enum { } } } -// Proto file describing conversion value rule set status. +// Proto file describing conversion value rule set status. -/// Container for enum describing possible statuses of a conversion value rule -/// set. +/// Container for enum describing possible statuses of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetStatusEnum { } /// Nested message and enum types in `ConversionValueRuleSetStatusEnum`. pub mod conversion_value_rule_set_status_enum { - /// Possible statuses of a conversion value rule set. + /// Possible statuses of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule Set is enabled and can be applied. + /// Conversion Value Rule Set is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule Set is permanently deleted and can't be applied. + /// Conversion Value Rule Set is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule Set is paused and won't be applied. It can be - /// enabled again. + /// Conversion Value Rule Set is paused and won't be applied. It can be + /// enabled again. Paused = 4, } impl ConversionValueRuleSetStatus { @@ -9237,27 +9237,27 @@ pub mod conversion_value_rule_set_status_enum { } } } -// Proto file describing conversion value rule status. +// Proto file describing conversion value rule status. -/// Container for enum describing possible statuses of a conversion value rule. +/// Container for enum describing possible statuses of a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleStatusEnum { } /// Nested message and enum types in `ConversionValueRuleStatusEnum`. pub mod conversion_value_rule_status_enum { - /// Possible statuses of a conversion value rule. + /// Possible statuses of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule is enabled and can be applied. + /// Conversion Value Rule is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule is permanently deleted and can't be applied. + /// Conversion Value Rule is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule is paused, but can be re-enabled. + /// Conversion Value Rule is paused, but can be re-enabled. Paused = 4, } impl ConversionValueRuleStatus { @@ -9276,25 +9276,25 @@ pub mod conversion_value_rule_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible criterion system serving statuses. +/// Container for enum describing possible criterion system serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionSystemServingStatusEnum { } /// Nested message and enum types in `CriterionSystemServingStatusEnum`. pub mod criterion_system_serving_status_enum { - /// Enumerates criterion system serving statuses. + /// Enumerates criterion system serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionSystemServingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Eligible. + /// Eligible. Eligible = 2, - /// Low search volume. + /// Low search volume. RarelyServed = 3, } impl CriterionSystemServingStatus { @@ -9312,89 +9312,89 @@ pub mod criterion_system_serving_status_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The possible types of a criterion. +/// The possible types of a criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionTypeEnum { } /// Nested message and enum types in `CriterionTypeEnum`. pub mod criterion_type_enum { - /// Enum describing possible criterion types. + /// Enum describing possible criterion types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword. e.g. 'mars cruise'. + /// Keyword. e.g. 'mars cruise'. Keyword = 2, - /// Placement, aka Website. e.g. 'www.flowers4sale.com' + /// Placement, aka Website. e.g. 'www.flowers4sale.com' Placement = 3, - /// Mobile application categories to target. + /// Mobile application categories to target. MobileAppCategory = 4, - /// Mobile applications to target. + /// Mobile applications to target. MobileApplication = 5, - /// Devices to target. + /// Devices to target. Device = 6, - /// Locations to target. + /// Locations to target. Location = 7, - /// Listing groups to target. + /// Listing groups to target. ListingGroup = 8, - /// Ad Schedule. + /// Ad Schedule. AdSchedule = 9, - /// Age range. + /// Age range. AgeRange = 10, - /// Gender. + /// Gender. Gender = 11, - /// Income Range. + /// Income Range. IncomeRange = 12, - /// Parental status. + /// Parental status. ParentalStatus = 13, - /// YouTube Video. + /// YouTube Video. YoutubeVideo = 14, - /// YouTube Channel. + /// YouTube Channel. YoutubeChannel = 15, - /// User list. + /// User list. UserList = 16, - /// Proximity. + /// Proximity. Proximity = 17, - /// A topic target on the display network (e.g. "Pets & Animals"). + /// A topic target on the display network (e.g. "Pets & Animals"). Topic = 18, - /// Listing scope to target. + /// Listing scope to target. ListingScope = 19, - /// Language. + /// Language. Language = 20, - /// IpBlock. + /// IpBlock. IpBlock = 21, - /// Content Label for category exclusion. + /// Content Label for category exclusion. ContentLabel = 22, - /// Carrier. + /// Carrier. Carrier = 23, - /// A category the user is interested in. + /// A category the user is interested in. UserInterest = 24, - /// Webpage criterion for dynamic search ads. + /// Webpage criterion for dynamic search ads. Webpage = 25, - /// Operating system version. + /// Operating system version. OperatingSystemVersion = 26, - /// App payment model. + /// App payment model. AppPaymentModel = 27, - /// Mobile device. + /// Mobile device. MobileDevice = 28, - /// Custom affinity. + /// Custom affinity. CustomAffinity = 29, - /// Custom intent. + /// Custom intent. CustomIntent = 30, - /// Location group. + /// Location group. LocationGroup = 31, - /// Custom audience + /// Custom audience CustomAudience = 32, - /// Combined audience + /// Combined audience CombinedAudience = 33, - /// Smart Campaign keyword theme + /// Smart Campaign keyword theme KeywordTheme = 34, - /// Audience + /// Audience Audience = 35, } impl CriterionType { @@ -9444,29 +9444,29 @@ pub mod criterion_type_enum { } } } -// Proto file describing custom audience member type. +// Proto file describing custom audience member type. -/// The type of custom audience member. +/// The type of custom audience member. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMemberTypeEnum { } /// Nested message and enum types in `CustomAudienceMemberTypeEnum`. pub mod custom_audience_member_type_enum { - /// Enum containing possible custom audience member types. + /// Enum containing possible custom audience member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Users whose interests or actions are described by a keyword. + /// Users whose interests or actions are described by a keyword. Keyword = 2, - /// Users who have interests related to the website's content. + /// Users who have interests related to the website's content. Url = 3, - /// Users who visit place types described by a place category. + /// Users who visit place types described by a place category. PlaceCategory = 4, - /// Users who have installed a mobile app. + /// Users who have installed a mobile app. App = 5, } impl CustomAudienceMemberType { @@ -9486,26 +9486,26 @@ pub mod custom_audience_member_type_enum { } } } -// Proto file describing custom audience status. +// Proto file describing custom audience status. -/// The status of custom audience. +/// The status of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceStatusEnum { } /// Nested message and enum types in `CustomAudienceStatusEnum`. pub mod custom_audience_status_enum { - /// Enum containing possible custom audience statuses. + /// Enum containing possible custom audience statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom audience is enabled and can be targeted. + /// Enabled status - custom audience is enabled and can be targeted. Enabled = 2, - /// Removed status - custom audience is removed and cannot be used for - /// targeting. + /// Removed status - custom audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomAudienceStatus { @@ -9523,31 +9523,31 @@ pub mod custom_audience_status_enum { } } } -// Proto file describing custom audience type. +// Proto file describing custom audience type. -/// The types of custom audience. +/// The types of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceTypeEnum { } /// Nested message and enum types in `CustomAudienceTypeEnum`. pub mod custom_audience_type_enum { - /// Enum containing possible custom audience types. + /// Enum containing possible custom audience types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Google Ads will auto-select the best interpretation at serving - /// time. + /// Google Ads will auto-select the best interpretation at serving + /// time. Auto = 2, - /// Matches users by their interests. + /// Matches users by their interests. Interest = 3, - /// Matches users by topics they are researching or products they are - /// considering for purchase. + /// Matches users by topics they are researching or products they are + /// considering for purchase. PurchaseIntent = 4, - /// Matches users by what they searched on Google Search. + /// Matches users by what they searched on Google Search. Search = 5, } impl CustomAudienceType { @@ -9567,25 +9567,25 @@ pub mod custom_audience_type_enum { } } } -// Proto file describing custom conversion goal status. +// Proto file describing custom conversion goal status. -/// Container for enum describing possible statuses of a custom conversion goal. +/// Container for enum describing possible statuses of a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalStatusEnum { } /// Nested message and enum types in `CustomConversionGoalStatusEnum`. pub mod custom_conversion_goal_status_enum { - /// The possible statuses of a custom conversion goal. + /// The possible statuses of a custom conversion goal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The custom conversion goal is enabled. + /// The custom conversion goal is enabled. Enabled = 2, - /// The custom conversion goal is removed. + /// The custom conversion goal is removed. Removed = 3, } impl CustomConversionGoalStatus { @@ -9603,25 +9603,25 @@ pub mod custom_conversion_goal_status_enum { } } } -// Proto file describing custom interest member type. +// Proto file describing custom interest member type. -/// The types of custom interest member, either KEYWORD or URL. +/// The types of custom interest member, either KEYWORD or URL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMemberTypeEnum { } /// Nested message and enum types in `CustomInterestMemberTypeEnum`. pub mod custom_interest_member_type_enum { - /// Enum containing possible custom interest member types. + /// Enum containing possible custom interest member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Custom interest member type KEYWORD. + /// Custom interest member type KEYWORD. Keyword = 2, - /// Custom interest member type URL. + /// Custom interest member type URL. Url = 3, } impl CustomInterestMemberType { @@ -9639,26 +9639,26 @@ pub mod custom_interest_member_type_enum { } } } -// Proto file describing custom interest status. +// Proto file describing custom interest status. -/// The status of custom interest. +/// The status of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestStatusEnum { } /// Nested message and enum types in `CustomInterestStatusEnum`. pub mod custom_interest_status_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom interest is enabled and can be targeted to. + /// Enabled status - custom interest is enabled and can be targeted to. Enabled = 2, - /// Removed status - custom interest is removed and cannot be used for - /// targeting. + /// Removed status - custom interest is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomInterestStatus { @@ -9676,25 +9676,25 @@ pub mod custom_interest_status_enum { } } } -// Proto file describing custom interest type. +// Proto file describing custom interest type. -/// The types of custom interest. +/// The types of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestTypeEnum { } /// Nested message and enum types in `CustomInterestTypeEnum`. pub mod custom_interest_type_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows brand advertisers to define custom affinity audience lists. + /// Allows brand advertisers to define custom affinity audience lists. CustomAffinity = 2, - /// Allows advertisers to define custom intent audience lists. + /// Allows advertisers to define custom intent audience lists. CustomIntent = 3, } impl CustomInterestType { @@ -9712,86 +9712,86 @@ pub mod custom_interest_type_enum { } } } -// Proto file describing Custom placeholder fields. +// Proto file describing Custom placeholder fields. -/// Values for Custom placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Custom placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPlaceholderFieldEnum { } /// Nested message and enum types in `CustomPlaceholderFieldEnum`. pub mod custom_placeholder_field_enum { - /// Possible values for Custom placeholder fields. + /// Possible values for Custom placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination ID and ID2 must be unique per - /// offer. + /// Data Type: STRING. Required. Combination ID and ID2 must be unique per + /// offer. Id = 2, - /// Data Type: STRING. Combination ID and ID2 must be unique per offer. + /// Data Type: STRING. Combination ID and ID2 must be unique per offer. Id2 = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. ItemTitle = 4, - /// Data Type: STRING. Optional text to be shown in the image ad. + /// Data Type: STRING. Optional text to be shown in the image ad. ItemSubtitle = 5, - /// Data Type: STRING. Optional description of the product to be shown in the - /// ad. + /// Data Type: STRING. Optional description of the product to be shown in the + /// ad. ItemDescription = 6, - /// Data Type: STRING. Full address of your offer or service, including - /// postal code. This will be used to identify the closest product to the - /// user when there are multiple offers in the feed that are relevant to the - /// user. + /// Data Type: STRING. Full address of your offer or service, including + /// postal code. This will be used to identify the closest product to the + /// user when there are multiple offers in the feed that are relevant to the + /// user. ItemAddress = 7, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 8, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 9, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 10, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 11, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 12, - /// Data Type: STRING. Used as a recommendation engine signal to serve items - /// in the same category. + /// Data Type: STRING. Used as a recommendation engine signal to serve items + /// in the same category. ItemCategory = 13, - /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific product for ads that have multiple - /// products. + /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific product for ads that have multiple + /// products. FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended IDs to show together with + /// this item. SimilarIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl CustomPlaceholderField { @@ -9827,38 +9827,38 @@ pub mod custom_placeholder_field_enum { } } } -// Proto file describing pay per conversion eligibility failure reasons. +// Proto file describing pay per conversion eligibility failure reasons. -/// Container for enum describing reasons why a customer is not eligible to use -/// PaymentMode.CONVERSIONS. +/// Container for enum describing reasons why a customer is not eligible to use +/// PaymentMode.CONVERSIONS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerPayPerConversionEligibilityFailureReasonEnum { } /// Nested message and enum types in `CustomerPayPerConversionEligibilityFailureReasonEnum`. pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { - /// Enum describing possible reasons a customer is not eligible to use - /// PaymentMode.CONVERSIONS. + /// Enum describing possible reasons a customer is not eligible to use + /// PaymentMode.CONVERSIONS. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerPayPerConversionEligibilityFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Customer does not have enough conversions. + /// Customer does not have enough conversions. NotEnoughConversions = 2, - /// Customer's conversion lag is too high. + /// Customer's conversion lag is too high. ConversionLagTooHigh = 3, - /// Customer uses shared budgets. + /// Customer uses shared budgets. HasCampaignWithSharedBudget = 4, - /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. + /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. HasUploadClicksConversion = 5, - /// Customer's average daily spend is too high. + /// Customer's average daily spend is too high. AverageDailySpendTooHigh = 6, - /// Customer's eligibility has not yet been calculated by the Google Ads - /// backend. Check back soon. + /// Customer's eligibility has not yet been calculated by the Google Ads + /// backend. Check back soon. AnalysisNotComplete = 7, - /// Customer is not eligible due to other reasons. + /// Customer is not eligible due to other reasons. Other = 8, } impl CustomerPayPerConversionEligibilityFailureReason { @@ -9881,31 +9881,31 @@ pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { } } } -/// Container for enum describing possible statuses of a customer. +/// Container for enum describing possible statuses of a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerStatusEnum { } /// Nested message and enum types in `CustomerStatusEnum`. pub mod customer_status_enum { - /// Possible statuses of a customer. + /// Possible statuses of a customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates an active account able to serve ads. + /// Indicates an active account able to serve ads. Enabled = 2, - /// Indicates a canceled account unable to serve ads. - /// Can be reactivated by an admin user. + /// Indicates a canceled account unable to serve ads. + /// Can be reactivated by an admin user. Canceled = 3, - /// Indicates a suspended account unable to serve ads. - /// May only be activated by Google support. + /// Indicates a suspended account unable to serve ads. + /// May only be activated by Google support. Suspended = 4, - /// Indicates a closed account unable to serve ads. - /// Test account will also have CLOSED status. - /// Status is permanent and may not be reopened. + /// Indicates a closed account unable to serve ads. + /// Test account will also have CLOSED status. + /// Status is permanent and may not be reopened. Closed = 5, } impl CustomerStatus { @@ -9925,25 +9925,25 @@ pub mod customer_status_enum { } } } -// Proto file describing customizer attribute status. +// Proto file describing customizer attribute status. -/// Container for enum describing possible statuses of a customizer attribute. +/// Container for enum describing possible statuses of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeStatusEnum { } /// Nested message and enum types in `CustomizerAttributeStatusEnum`. pub mod customizer_attribute_status_enum { - /// The possible statuses of a customizer attribute. + /// The possible statuses of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer attribute is enabled. + /// The customizer attribute is enabled. Enabled = 2, - /// The customizer attribute is removed. + /// The customizer attribute is removed. Removed = 3, } impl CustomizerAttributeStatus { @@ -9961,25 +9961,25 @@ pub mod customizer_attribute_status_enum { } } } -// Proto file describing customizer value status. +// Proto file describing customizer value status. -/// Container for enum describing possible statuses of a customizer value. +/// Container for enum describing possible statuses of a customizer value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValueStatusEnum { } /// Nested message and enum types in `CustomizerValueStatusEnum`. pub mod customizer_value_status_enum { - /// The possible statuses of a customizer value. + /// The possible statuses of a customizer value. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerValueStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer value is enabled. + /// The customizer value is enabled. Enabled = 2, - /// The customizer value is removed. + /// The customizer value is removed. Removed = 3, } impl CustomizerValueStatus { @@ -9997,35 +9997,35 @@ pub mod customizer_value_status_enum { } } } -// Proto file describing data-driven model status. +// Proto file describing data-driven model status. -/// Container for enum indicating data driven model status. +/// Container for enum indicating data driven model status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataDrivenModelStatusEnum { } /// Nested message and enum types in `DataDrivenModelStatusEnum`. pub mod data_driven_model_status_enum { - /// Enumerates data driven model statuses. + /// Enumerates data driven model statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataDrivenModelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The data driven model is available. + /// The data driven model is available. Available = 2, - /// The data driven model is stale. It hasn't been updated for at least 7 - /// days. It is still being used, but will become expired if it does not get - /// updated for 30 days. + /// The data driven model is stale. It hasn't been updated for at least 7 + /// days. It is still being used, but will become expired if it does not get + /// updated for 30 days. Stale = 3, - /// The data driven model expired. It hasn't been updated for at least 30 - /// days and cannot be used. Most commonly this is because there hasn't been - /// the required number of events in a recent 30-day period. + /// The data driven model expired. It hasn't been updated for at least 30 + /// days and cannot be used. Most commonly this is because there hasn't been + /// the required number of events in a recent 30-day period. Expired = 4, - /// The data driven model has never been generated. Most commonly this is - /// because there has never been the required number of events in any 30-day - /// period. + /// The data driven model has never been generated. Most commonly this is + /// because there has never been the required number of events in any 30-day + /// period. NeverGenerated = 5, } impl DataDrivenModelStatus { @@ -10045,77 +10045,77 @@ pub mod data_driven_model_status_enum { } } } -// Proto file describing distance buckets. +// Proto file describing distance buckets. -/// Container for distance buckets of a user's distance from an advertiser's -/// location extension. +/// Container for distance buckets of a user's distance from an advertiser's +/// location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceBucketEnum { } /// Nested message and enum types in `DistanceBucketEnum`. pub mod distance_bucket_enum { - /// The distance bucket for a user's distance from an advertiser's location - /// extension. + /// The distance bucket for a user's distance from an advertiser's location + /// extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistanceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User was within 700m of the location. + /// User was within 700m of the location. Within700m = 2, - /// User was within 1KM of the location. + /// User was within 1KM of the location. Within1km = 3, - /// User was within 5KM of the location. + /// User was within 5KM of the location. Within5km = 4, - /// User was within 10KM of the location. + /// User was within 10KM of the location. Within10km = 5, - /// User was within 15KM of the location. + /// User was within 15KM of the location. Within15km = 6, - /// User was within 20KM of the location. + /// User was within 20KM of the location. Within20km = 7, - /// User was within 25KM of the location. + /// User was within 25KM of the location. Within25km = 8, - /// User was within 30KM of the location. + /// User was within 30KM of the location. Within30km = 9, - /// User was within 35KM of the location. + /// User was within 35KM of the location. Within35km = 10, - /// User was within 40KM of the location. + /// User was within 40KM of the location. Within40km = 11, - /// User was within 45KM of the location. + /// User was within 45KM of the location. Within45km = 12, - /// User was within 50KM of the location. + /// User was within 50KM of the location. Within50km = 13, - /// User was within 55KM of the location. + /// User was within 55KM of the location. Within55km = 14, - /// User was within 60KM of the location. + /// User was within 60KM of the location. Within60km = 15, - /// User was within 65KM of the location. + /// User was within 65KM of the location. Within65km = 16, - /// User was beyond 65KM of the location. + /// User was beyond 65KM of the location. Beyond65km = 17, - /// User was within 0.7 miles of the location. + /// User was within 0.7 miles of the location. Within07miles = 18, - /// User was within 1 mile of the location. + /// User was within 1 mile of the location. Within1mile = 19, - /// User was within 5 miles of the location. + /// User was within 5 miles of the location. Within5miles = 20, - /// User was within 10 miles of the location. + /// User was within 10 miles of the location. Within10miles = 21, - /// User was within 15 miles of the location. + /// User was within 15 miles of the location. Within15miles = 22, - /// User was within 20 miles of the location. + /// User was within 20 miles of the location. Within20miles = 23, - /// User was within 25 miles of the location. + /// User was within 25 miles of the location. Within25miles = 24, - /// User was within 30 miles of the location. + /// User was within 30 miles of the location. Within30miles = 25, - /// User was within 35 miles of the location. + /// User was within 35 miles of the location. Within35miles = 26, - /// User was within 40 miles of the location. + /// User was within 40 miles of the location. Within40miles = 27, - /// User was beyond 40 miles of the location. + /// User was beyond 40 miles of the location. Beyond40miles = 28, } impl DistanceBucket { @@ -10158,26 +10158,26 @@ pub mod distance_bucket_enum { } } } -// Proto file describing Dynamic Search Ad Page Feed criterion fields. +// Proto file describing Dynamic Search Ad Page Feed criterion fields. -/// Values for Dynamic Search Ad Page Feed criterion fields. +/// Values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DsaPageFeedCriterionFieldEnum { } /// Nested message and enum types in `DsaPageFeedCriterionFieldEnum`. pub mod dsa_page_feed_criterion_field_enum { - /// Possible values for Dynamic Search Ad Page Feed criterion fields. + /// Possible values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DsaPageFeedCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: URL or URL_LIST. URL of the web page you want to target. + /// Data Type: URL or URL_LIST. URL of the web page you want to target. PageUrl = 2, - /// Data Type: STRING_LIST. The labels that will help you target ads within - /// your page feed. + /// Data Type: STRING_LIST. The labels that will help you target ads within + /// your page feed. Label = 3, } impl DsaPageFeedCriterionField { @@ -10195,71 +10195,71 @@ pub mod dsa_page_feed_criterion_field_enum { } } } -// Proto file describing Education placeholder fields. +// Proto file describing Education placeholder fields. -/// Values for Education placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Education placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct EducationPlaceholderFieldEnum { } /// Nested message and enum types in `EducationPlaceholderFieldEnum`. pub mod education_placeholder_field_enum { - /// Possible values for Education placeholder fields. + /// Possible values for Education placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EducationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - /// must be unique per offer. + /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID + /// must be unique per offer. ProgramId = 2, - /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - /// unique per offer. + /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be + /// unique per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with program name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with program name to be shown + /// in dynamic ad. ProgramName = 4, - /// Data Type: STRING. Area of study that can be shown in dynamic ad. + /// Data Type: STRING. Area of study that can be shown in dynamic ad. AreaOfStudy = 5, - /// Data Type: STRING. Description of program that can be shown in dynamic - /// ad. + /// Data Type: STRING. Description of program that can be shown in dynamic + /// ad. ProgramDescription = 6, - /// Data Type: STRING. Name of school that can be shown in dynamic ad. + /// Data Type: STRING. Name of school that can be shown in dynamic ad. SchoolName = 7, - /// Data Type: STRING. Complete school address, including postal code. + /// Data Type: STRING. Complete school address, including postal code. Address = 8, - /// Data Type: URL. Image to be displayed in ads. + /// Data Type: URL. Image to be displayed in ads. ThumbnailImageUrl = 9, - /// Data Type: URL. Alternative hosted file of image to be used in the ad. + /// Data Type: URL. Alternative hosted file of image to be used in the ad. AlternativeThumbnailImageUrl = 10, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific program and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific program and its location). FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended program IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended program IDs to show together + /// with this item. SimilarProgramIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl EducationPlaceholderField { @@ -10292,37 +10292,37 @@ pub mod education_placeholder_field_enum { } } } -// Proto file describing experiment status. +// Proto file describing experiment status. -/// Container for enum describing the experiment status. +/// Container for enum describing the experiment status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentStatusEnum { } /// Nested message and enum types in `ExperimentStatusEnum`. pub mod experiment_status_enum { - /// The status of the experiment. + /// The status of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The experiment is enabled. + /// The experiment is enabled. Enabled = 2, - /// The experiment has been removed. + /// The experiment has been removed. Removed = 3, - /// The experiment has been halted. - /// This status can be set from ENABLED status through API. + /// The experiment has been halted. + /// This status can be set from ENABLED status through API. Halted = 4, - /// The experiment will be promoted out of experimental status. + /// The experiment will be promoted out of experimental status. Promoted = 5, - /// Initial status of the experiment. + /// Initial status of the experiment. Setup = 6, - /// The experiment's campaigns are pending materialization. - /// This status can be set from SETUP status through API. + /// The experiment's campaigns are pending materialization. + /// This status can be set from SETUP status through API. Initiated = 7, - /// The experiment has been graduated. + /// The experiment has been graduated. Graduated = 8, } impl ExperimentStatus { @@ -10345,43 +10345,43 @@ pub mod experiment_status_enum { } } } -// Proto file describing experiment type. +// Proto file describing experiment type. -/// Container for enum describing the type of experiment. +/// Container for enum describing the type of experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentTypeEnum { } /// Nested message and enum types in `ExperimentTypeEnum`. pub mod experiment_type_enum { - /// The type of the experiment. + /// The type of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// This is a DISPLAY_AND_VIDEO_360 experiment. + /// This is a DISPLAY_AND_VIDEO_360 experiment. DisplayAndVideo360 = 2, - /// This is an ad variation experiment. + /// This is an ad variation experiment. AdVariation = 3, - /// This is a smart display experiment. + /// This is a smart display experiment. SmartDisplay = 4, - /// A custom experiment consisting of Video campaigns. + /// A custom experiment consisting of Video campaigns. YoutubeCustom = 5, - /// A custom experiment consisting of display campaigns. + /// A custom experiment consisting of display campaigns. DisplayCustom = 6, - /// A custom experiment consisting of search campaigns. + /// A custom experiment consisting of search campaigns. SearchCustom = 7, - /// An experiment that compares bidding strategies for display campaigns. + /// An experiment that compares bidding strategies for display campaigns. DisplayAutomatedBiddingStrategy = 8, - /// An experiment that compares bidding strategies for search campaigns." + /// An experiment that compares bidding strategies for search campaigns." SearchAutomatedBiddingStrategy = 9, - /// An experiment that compares bidding strategies for shopping campaigns. + /// An experiment that compares bidding strategies for shopping campaigns. ShoppingAutomatedBiddingStrategy = 10, - /// DEPRECATED. A smart matching experiment with search campaigns. + /// DEPRECATED. A smart matching experiment with search campaigns. SmartMatching = 11, - /// A custom experiment consisting of hotel campaigns. + /// A custom experiment consisting of hotel campaigns. HotelCustom = 12, } impl ExperimentType { @@ -10408,27 +10408,27 @@ pub mod experiment_type_enum { } } } -// Proto file describing extension setting device type. +// Proto file describing extension setting device type. -/// Container for enum describing extension setting device types. +/// Container for enum describing extension setting device types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingDeviceEnum { } /// Nested message and enum types in `ExtensionSettingDeviceEnum`. pub mod extension_setting_device_enum { - /// Possible device types for an extension setting. + /// Possible device types for an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile. The extensions in the extension setting will only serve on - /// mobile devices. + /// Mobile. The extensions in the extension setting will only serve on + /// mobile devices. Mobile = 2, - /// Desktop. The extensions in the extension setting will only serve on - /// desktop devices. + /// Desktop. The extensions in the extension setting will only serve on + /// desktop devices. Desktop = 3, } impl ExtensionSettingDevice { @@ -10446,48 +10446,48 @@ pub mod extension_setting_device_enum { } } } -// Proto file describing extension type. +// Proto file describing extension type. -/// Container for enum describing possible data types for an extension in an -/// extension setting. +/// Container for enum describing possible data types for an extension in an +/// extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionTypeEnum { } /// Nested message and enum types in `ExtensionTypeEnum`. pub mod extension_type_enum { - /// Possible data types for an extension in an extension setting. + /// Possible data types for an extension in an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// None. + /// None. None = 2, - /// App. + /// App. App = 3, - /// Call. + /// Call. Call = 4, - /// Callout. + /// Callout. Callout = 5, - /// Message. + /// Message. Message = 6, - /// Price. + /// Price. Price = 7, - /// Promotion. + /// Promotion. Promotion = 8, - /// Sitelink. + /// Sitelink. Sitelink = 10, - /// Structured snippet. + /// Structured snippet. StructuredSnippet = 11, - /// Location. + /// Location. Location = 12, - /// Affiliate location. + /// Affiliate location. AffiliateLocation = 13, - /// Hotel callout + /// Hotel callout HotelCallout = 15, - /// Image. + /// Image. Image = 16, } impl ExtensionType { @@ -10516,47 +10516,47 @@ pub mod extension_type_enum { } } } -// Proto file describing feed attribute type. +// Proto file describing feed attribute type. -/// Container for enum describing possible data types for a feed attribute. +/// Container for enum describing possible data types for a feed attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeTypeEnum { } /// Nested message and enum types in `FeedAttributeTypeEnum`. pub mod feed_attribute_type_enum { - /// Possible data types for a feed attribute. + /// Possible data types for a feed attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Int64. + /// Int64. Int64 = 2, - /// Double. + /// Double. Double = 3, - /// String. + /// String. String = 4, - /// Boolean. + /// Boolean. Boolean = 5, - /// Url. + /// Url. Url = 6, - /// Datetime. + /// Datetime. DateTime = 7, - /// Int64 list. + /// Int64 list. Int64List = 8, - /// Double (8 bytes) list. + /// Double (8 bytes) list. DoubleList = 9, - /// String list. + /// String list. StringList = 10, - /// Boolean list. + /// Boolean list. BooleanList = 11, - /// Url list. + /// Url list. UrlList = 12, - /// Datetime list. + /// Datetime list. DateTimeList = 13, - /// Price. + /// Price. Price = 14, } impl FeedAttributeType { @@ -10585,27 +10585,27 @@ pub mod feed_attribute_type_enum { } } } -// Proto file describing feed item quality evaluation approval statuses. +// Proto file describing feed item quality evaluation approval statuses. -/// Container for enum describing possible quality evaluation approval statuses -/// of a feed item. +/// Container for enum describing possible quality evaluation approval statuses +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityApprovalStatusEnum { } /// Nested message and enum types in `FeedItemQualityApprovalStatusEnum`. pub mod feed_item_quality_approval_status_enum { - /// The possible quality evaluation approval statuses of a feed item. + /// The possible quality evaluation approval statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meets all quality expectations. + /// Meets all quality expectations. Approved = 2, - /// Does not meet some quality expectations. The specific reason is found in - /// the quality_disapproval_reasons field. + /// Does not meet some quality expectations. The specific reason is found in + /// the quality_disapproval_reasons field. Disapproved = 3, } impl FeedItemQualityApprovalStatus { @@ -10623,58 +10623,58 @@ pub mod feed_item_quality_approval_status_enum { } } } -// Proto file describing feed item quality disapproval reasons. +// Proto file describing feed item quality disapproval reasons. -/// Container for enum describing possible quality evaluation disapproval reasons -/// of a feed item. +/// Container for enum describing possible quality evaluation disapproval reasons +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityDisapprovalReasonEnum { } /// Nested message and enum types in `FeedItemQualityDisapprovalReasonEnum`. pub mod feed_item_quality_disapproval_reason_enum { - /// The possible quality evaluation disapproval reasons of a feed item. + /// The possible quality evaluation disapproval reasons of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityDisapprovalReason { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Price contains repetitive headers. + /// Price contains repetitive headers. PriceTableRepetitiveHeaders = 2, - /// Price contains repetitive description. + /// Price contains repetitive description. PriceTableRepetitiveDescription = 3, - /// Price contains inconsistent items. + /// Price contains inconsistent items. PriceTableInconsistentRows = 4, - /// Price contains qualifiers in description. + /// Price contains qualifiers in description. PriceDescriptionHasPriceQualifiers = 5, - /// Price contains an unsupported language. + /// Price contains an unsupported language. PriceUnsupportedLanguage = 6, - /// Price item header is not relevant to the price type. + /// Price item header is not relevant to the price type. PriceTableRowHeaderTableTypeMismatch = 7, - /// Price item header has promotional text. + /// Price item header has promotional text. PriceTableRowHeaderHasPromotionalText = 8, - /// Price item description is not relevant to the item header. + /// Price item description is not relevant to the item header. PriceTableRowDescriptionNotRelevant = 9, - /// Price item description contains promotional text. + /// Price item description contains promotional text. PriceTableRowDescriptionHasPromotionalText = 10, - /// Price item header and description are repetitive. + /// Price item header and description are repetitive. PriceTableRowHeaderDescriptionRepetitive = 11, - /// Price item is in a foreign language, nonsense, or can't be rated. + /// Price item is in a foreign language, nonsense, or can't be rated. PriceTableRowUnrateable = 12, - /// Price item price is invalid or inaccurate. + /// Price item price is invalid or inaccurate. PriceTableRowPriceInvalid = 13, - /// Price item URL is invalid or irrelevant. + /// Price item URL is invalid or irrelevant. PriceTableRowUrlInvalid = 14, - /// Price item header or description has price. + /// Price item header or description has price. PriceHeaderOrDescriptionHasPrice = 15, - /// Structured snippet values do not match the header. + /// Structured snippet values do not match the header. StructuredSnippetsHeaderPolicyViolated = 16, - /// Structured snippet values are repeated. + /// Structured snippet values are repeated. StructuredSnippetsRepeatedValues = 17, - /// Structured snippet values violate editorial guidelines like punctuation. + /// Structured snippet values violate editorial guidelines like punctuation. StructuredSnippetsEditorialGuidelines = 18, - /// Structured snippet contain promotional text. + /// Structured snippet contain promotional text. StructuredSnippetsHasPromotionalText = 19, } impl FeedItemQualityDisapprovalReason { @@ -10708,25 +10708,25 @@ pub mod feed_item_quality_disapproval_reason_enum { } } } -// Proto file describing feed item set status. +// Proto file describing feed item set status. -/// Container for enum describing possible statuses of a feed item set. +/// Container for enum describing possible statuses of a feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStatusEnum { } /// Nested message and enum types in `FeedItemSetStatusEnum`. pub mod feed_item_set_status_enum { - /// Possible statuses of a feed item set. + /// Possible statuses of a feed item set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item set is enabled. + /// Feed item set is enabled. Enabled = 2, - /// Feed item set has been removed. + /// Feed item set has been removed. Removed = 3, } impl FeedItemSetStatus { @@ -10744,25 +10744,25 @@ pub mod feed_item_set_status_enum { } } } -// Proto file describing feed item status. +// Proto file describing feed item status. -/// Container for enum describing possible statuses of a feed item. +/// Container for enum describing possible statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemStatusEnum { } /// Nested message and enum types in `FeedItemStatusEnum`. pub mod feed_item_status_enum { - /// Possible statuses of a feed item. + /// Possible statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item is enabled. + /// Feed item is enabled. Enabled = 2, - /// Feed item has been removed. + /// Feed item has been removed. Removed = 3, } impl FeedItemStatus { @@ -10780,24 +10780,24 @@ pub mod feed_item_status_enum { } } } -// Proto file describing feed item target device type. +// Proto file describing feed item target device type. -/// Container for enum describing possible data types for a feed item target -/// device. +/// Container for enum describing possible data types for a feed item target +/// device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetDeviceEnum { } /// Nested message and enum types in `FeedItemTargetDeviceEnum`. pub mod feed_item_target_device_enum { - /// Possible data types for a feed item target device. + /// Possible data types for a feed item target device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile. + /// Mobile. Mobile = 2, } impl FeedItemTargetDevice { @@ -10814,25 +10814,25 @@ pub mod feed_item_target_device_enum { } } } -// Proto file describing feed item target status. +// Proto file describing feed item target status. -/// Container for enum describing possible statuses of a feed item target. +/// Container for enum describing possible statuses of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetStatusEnum { } /// Nested message and enum types in `FeedItemTargetStatusEnum`. pub mod feed_item_target_status_enum { - /// Possible statuses of a feed item target. + /// Possible statuses of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item target is enabled. + /// Feed item target is enabled. Enabled = 2, - /// Feed item target has been removed. + /// Feed item target has been removed. Removed = 3, } impl FeedItemTargetStatus { @@ -10850,27 +10850,27 @@ pub mod feed_item_target_status_enum { } } } -// Proto file describing feed item target type status. +// Proto file describing feed item target type status. -/// Container for enum describing possible types of a feed item target. +/// Container for enum describing possible types of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetTypeEnum { } /// Nested message and enum types in `FeedItemTargetTypeEnum`. pub mod feed_item_target_type_enum { - /// Possible type of a feed item target. + /// Possible type of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item targets a campaign. + /// Feed item targets a campaign. Campaign = 2, - /// Feed item targets an ad group. + /// Feed item targets an ad group. AdGroup = 3, - /// Feed item targets a criterion. + /// Feed item targets a criterion. Criterion = 4, } impl FeedItemTargetType { @@ -10889,27 +10889,27 @@ pub mod feed_item_target_type_enum { } } } -// Proto file describing feed item validation statuses. +// Proto file describing feed item validation statuses. -/// Container for enum describing possible validation statuses of a feed item. +/// Container for enum describing possible validation statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationStatusEnum { } /// Nested message and enum types in `FeedItemValidationStatusEnum`. pub mod feed_item_validation_status_enum { - /// The possible validation statuses of a feed item. + /// The possible validation statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Validation pending. + /// Validation pending. Pending = 2, - /// An error was found. + /// An error was found. Invalid = 3, - /// Feed item is semantically well-formed. + /// Feed item is semantically well-formed. Valid = 4, } impl FeedItemValidationStatus { @@ -10928,25 +10928,25 @@ pub mod feed_item_validation_status_enum { } } } -// Proto file describing status of a feed link. +// Proto file describing status of a feed link. -/// Container for an enum describing possible statuses of a feed link. +/// Container for an enum describing possible statuses of a feed link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedLinkStatusEnum { } /// Nested message and enum types in `FeedLinkStatusEnum`. pub mod feed_link_status_enum { - /// Possible statuses of a feed link. + /// Possible statuses of a feed link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed link is enabled. + /// Feed link is enabled. Enabled = 2, - /// Feed link has been removed. + /// Feed link has been removed. Removed = 3, } impl FeedLinkStatus { @@ -10964,25 +10964,25 @@ pub mod feed_link_status_enum { } } } -// Proto file describing criterion types for feed mappings. +// Proto file describing criterion types for feed mappings. -/// Container for enum describing possible criterion types for a feed mapping. +/// Container for enum describing possible criterion types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingCriterionTypeEnum { } /// Nested message and enum types in `FeedMappingCriterionTypeEnum`. pub mod feed_mapping_criterion_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingCriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows campaign targeting at locations within a location feed. + /// Allows campaign targeting at locations within a location feed. LocationExtensionTargeting = 4, - /// Allows url targeting for your dynamic search ads within a page feed. + /// Allows url targeting for your dynamic search ads within a page feed. DsaPageFeed = 3, } impl FeedMappingCriterionType { @@ -11000,25 +11000,25 @@ pub mod feed_mapping_criterion_type_enum { } } } -// Proto file describing feed mapping status. +// Proto file describing feed mapping status. -/// Container for enum describing possible statuses of a feed mapping. +/// Container for enum describing possible statuses of a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingStatusEnum { } /// Nested message and enum types in `FeedMappingStatusEnum`. pub mod feed_mapping_status_enum { - /// Possible statuses of a feed mapping. + /// Possible statuses of a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed mapping is enabled. + /// Feed mapping is enabled. Enabled = 2, - /// Feed mapping has been removed. + /// Feed mapping has been removed. Removed = 3, } impl FeedMappingStatus { @@ -11036,28 +11036,28 @@ pub mod feed_mapping_status_enum { } } } -// Proto file describing feed origin. +// Proto file describing feed origin. -/// Container for enum describing possible values for a feed origin. +/// Container for enum describing possible values for a feed origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOriginEnum { } /// Nested message and enum types in `FeedOriginEnum`. pub mod feed_origin_enum { - /// Possible values for a feed origin. + /// Possible values for a feed origin. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedOrigin { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The FeedAttributes for this Feed are managed by the - /// user. Users can add FeedAttributes to this Feed. + /// The FeedAttributes for this Feed are managed by the + /// user. Users can add FeedAttributes to this Feed. User = 2, - /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - /// this type is maintained by Google and will have the correct attributes - /// for the placeholder type of the feed. + /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of + /// this type is maintained by Google and will have the correct attributes + /// for the placeholder type of the feed. Google = 3, } impl FeedOrigin { @@ -11075,25 +11075,25 @@ pub mod feed_origin_enum { } } } -// Proto file describing feed status. +// Proto file describing feed status. -/// Container for enum describing possible statuses of a feed. +/// Container for enum describing possible statuses of a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedStatusEnum { } /// Nested message and enum types in `FeedStatusEnum`. pub mod feed_status_enum { - /// Possible statuses of a feed. + /// Possible statuses of a feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed is enabled. + /// Feed is enabled. Enabled = 2, - /// Feed has been removed. + /// Feed has been removed. Removed = 3, } impl FeedStatus { @@ -11111,78 +11111,78 @@ pub mod feed_status_enum { } } } -// Proto file describing Flight placeholder fields. +// Proto file describing Flight placeholder fields. -/// Values for Flight placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Flight placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlightPlaceholderFieldEnum { } /// Nested message and enum types in `FlightPlaceholderFieldEnum`. pub mod flight_placeholder_field_enum { - /// Possible values for Flight placeholder fields. + /// Possible values for Flight placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FlightPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Optional. Combination of destination id and origin id must be unique per - /// offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Optional. Combination of destination id and origin id must be unique per + /// offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. FlightDescription = 4, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. OriginName = 5, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. DestinationName = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" FlightPrice = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" FlightSalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 13, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl FlightPlaceholderField { @@ -11215,27 +11215,27 @@ pub mod flight_placeholder_field_enum { } } } -// Proto file describing geo target constant statuses. +// Proto file describing geo target constant statuses. -/// Container for describing the status of a geo target constant. +/// Container for describing the status of a geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantStatusEnum { } /// Nested message and enum types in `GeoTargetConstantStatusEnum`. pub mod geo_target_constant_status_enum { - /// The possible statuses of a geo target constant. + /// The possible statuses of a geo target constant. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The geo target constant is valid. + /// The geo target constant is valid. Enabled = 2, - /// The geo target constant is obsolete and will be removed. + /// The geo target constant is obsolete and will be removed. RemovalPlanned = 3, } impl GeoTargetConstantStatus { @@ -11253,25 +11253,25 @@ pub mod geo_target_constant_status_enum { } } } -// Proto file describing GeoTargetingRestriction. +// Proto file describing GeoTargetingRestriction. -/// Message describing feed item geo targeting restriction. +/// Message describing feed item geo targeting restriction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingRestrictionEnum { } /// Nested message and enum types in `GeoTargetingRestrictionEnum`. pub mod geo_targeting_restriction_enum { - /// A restriction used to determine if the request context's - /// geo should be matched. + /// A restriction used to determine if the request context's + /// geo should be matched. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingRestriction { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates that request context should match the physical location of - /// the user. + /// Indicates that request context should match the physical location of + /// the user. LocationOfPresence = 2, } impl GeoTargetingRestriction { @@ -11288,25 +11288,25 @@ pub mod geo_targeting_restriction_enum { } } } -// Proto file describing geo targeting types. +// Proto file describing geo targeting types. -/// Container for enum describing possible geo targeting types. +/// Container for enum describing possible geo targeting types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingTypeEnum { } /// Nested message and enum types in `GeoTargetingTypeEnum`. pub mod geo_targeting_type_enum { - /// The possible geo targeting types. + /// The possible geo targeting types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Location the user is interested in while making the query. + /// Location the user is interested in while making the query. AreaOfInterest = 2, - /// Location of the user issuing the query. + /// Location of the user issuing the query. LocationOfPresence = 3, } impl GeoTargetingType { @@ -11324,27 +11324,27 @@ pub mod geo_targeting_type_enum { } } } -// Proto file describing goal config level. +// Proto file describing goal config level. -/// Container for enum describing possible goal config levels. +/// Container for enum describing possible goal config levels. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoalConfigLevelEnum { } /// Nested message and enum types in `GoalConfigLevelEnum`. pub mod goal_config_level_enum { - /// The possible goal config levels. Campaigns automatically inherit the - /// effective conversion account's customer goals unless they have been - /// configured with their own set of campaign goals. + /// The possible goal config levels. Campaigns automatically inherit the + /// effective conversion account's customer goals unless they have been + /// configured with their own set of campaign goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoalConfigLevel { - /// The goal config level has not been specified. + /// The goal config level has not been specified. Unspecified = 0, - /// The goal config level is not known in this version. + /// The goal config level is not known in this version. Unknown = 1, - /// The goal config is defined at the customer level. + /// The goal config is defined at the customer level. Customer = 2, - /// The goal config is defined at the campaign level. + /// The goal config is defined at the campaign level. Campaign = 3, } impl GoalConfigLevel { @@ -11362,34 +11362,34 @@ pub mod goal_config_level_enum { } } } -// Proto file describing GoogleAdsField categories. +// Proto file describing GoogleAdsField categories. -/// Container for enum that determines if the described artifact is a resource -/// or a field, and if it is a field, when it segments search queries. +/// Container for enum that determines if the described artifact is a resource +/// or a field, and if it is a field, when it segments search queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldCategoryEnum { } /// Nested message and enum types in `GoogleAdsFieldCategoryEnum`. pub mod google_ads_field_category_enum { - /// The category of the artifact. + /// The category of the artifact. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldCategory { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// The described artifact is a resource. + /// The described artifact is a resource. Resource = 2, - /// The described artifact is a field and is an attribute of a resource. - /// Including a resource attribute field in a query may segment the query if - /// the resource to which it is attributed segments the resource found in - /// the FROM clause. + /// The described artifact is a field and is an attribute of a resource. + /// Including a resource attribute field in a query may segment the query if + /// the resource to which it is attributed segments the resource found in + /// the FROM clause. Attribute = 3, - /// The described artifact is a field and always segments search queries. + /// The described artifact is a field and always segments search queries. Segment = 5, - /// The described artifact is a field and is a metric. It never segments - /// search queries. + /// The described artifact is a field and is a metric. It never segments + /// search queries. Metric = 6, } impl GoogleAdsFieldCategory { @@ -11409,68 +11409,68 @@ pub mod google_ads_field_category_enum { } } } -// Proto file describing GoogleAdsField data types. +// Proto file describing GoogleAdsField data types. -/// Container holding the various data types. +/// Container holding the various data types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldDataTypeEnum { } /// Nested message and enum types in `GoogleAdsFieldDataTypeEnum`. pub mod google_ads_field_data_type_enum { - /// These are the various types a GoogleAdsService artifact may take on. + /// These are the various types a GoogleAdsService artifact may take on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldDataType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// Maps to google.protobuf.BoolValue + /// Maps to google.protobuf.BoolValue /// - /// Applicable operators: =, != + /// Applicable operators: =, != Boolean = 2, - /// Maps to google.protobuf.StringValue. It can be compared using the set of - /// operators specific to dates however. + /// Maps to google.protobuf.StringValue. It can be compared using the set of + /// operators specific to dates however. /// - /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN + /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN Date = 3, - /// Maps to google.protobuf.DoubleValue + /// Maps to google.protobuf.DoubleValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Double = 4, - /// Maps to an enum. It's specific definition can be found at type_url. + /// Maps to an enum. It's specific definition can be found at type_url. /// - /// Applicable operators: =, !=, IN, NOT IN + /// Applicable operators: =, !=, IN, NOT IN Enum = 5, - /// Maps to google.protobuf.FloatValue + /// Maps to google.protobuf.FloatValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Float = 6, - /// Maps to google.protobuf.Int32Value + /// Maps to google.protobuf.Int32Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int32 = 7, - /// Maps to google.protobuf.Int64Value + /// Maps to google.protobuf.Int64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int64 = 8, - /// Maps to a protocol buffer message type. The data type's details can be - /// found in type_url. + /// Maps to a protocol buffer message type. The data type's details can be + /// found in type_url. /// - /// No operators work with MESSAGE fields. + /// No operators work with MESSAGE fields. Message = 9, - /// Maps to google.protobuf.StringValue. Represents the resource name - /// (unique id) of a resource or one of its foreign keys. + /// Maps to google.protobuf.StringValue. Represents the resource name + /// (unique id) of a resource or one of its foreign keys. /// - /// No operators work with RESOURCE_NAME fields. + /// No operators work with RESOURCE_NAME fields. ResourceName = 10, - /// Maps to google.protobuf.StringValue. + /// Maps to google.protobuf.StringValue. /// - /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN + /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN String = 11, - /// Maps to google.protobuf.UInt64Value + /// Maps to google.protobuf.UInt64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Uint64 = 12, } impl GoogleAdsFieldDataType { @@ -11497,25 +11497,25 @@ pub mod google_ads_field_data_type_enum { } } } -// Proto file describing google voice call status. +// Proto file describing google voice call status. -/// Container for enum describing possible statuses of a google voice call. +/// Container for enum describing possible statuses of a google voice call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleVoiceCallStatusEnum { } /// Nested message and enum types in `GoogleVoiceCallStatusEnum`. pub mod google_voice_call_status_enum { - /// Possible statuses of a google voice call. + /// Possible statuses of a google voice call. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleVoiceCallStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call was missed. + /// The call was missed. Missed = 2, - /// The call was received. + /// The call was received. Received = 3, } impl GoogleVoiceCallStatus { @@ -11533,81 +11533,81 @@ pub mod google_voice_call_status_enum { } } } -// Proto file describing Hotel placeholder fields. +// Proto file describing Hotel placeholder fields. -/// Values for Hotel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Hotel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPlaceholderFieldEnum { } /// Nested message and enum types in `HotelPlaceholderFieldEnum`. pub mod hotel_placeholder_field_enum { - /// Possible values for Hotel placeholder fields. + /// Possible values for Hotel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. PropertyId = 2, - /// Data Type: STRING. Required. Main headline with property name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with property name to be shown + /// in dynamic ad. PropertyName = 3, - /// Data Type: STRING. Name of destination to be shown in dynamic ad. + /// Data Type: STRING. Name of destination to be shown in dynamic ad. DestinationName = 4, - /// Data Type: STRING. Description of destination to be shown in dynamic ad. + /// Data Type: STRING. Description of destination to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 12, - /// Data Type: INT64. Star rating (1 to 5) used to group like items - /// together for recommendation engine. + /// Data Type: INT64. Star rating (1 to 5) used to group like items + /// together for recommendation engine. StarRating = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended property IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended property IDs to show together + /// with this item. SimilarPropertyIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl HotelPlaceholderField { @@ -11643,35 +11643,35 @@ pub mod hotel_placeholder_field_enum { } } } -// Proto file describing hotel reconciliation row status. +// Proto file describing hotel reconciliation row status. -/// Container for HotelReconciliationStatus. +/// Container for HotelReconciliationStatus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliationStatusEnum { } /// Nested message and enum types in `HotelReconciliationStatusEnum`. pub mod hotel_reconciliation_status_enum { - /// Status of the hotel booking reconciliation. + /// Status of the hotel booking reconciliation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelReconciliationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Bookings are for a future date, or a stay is underway but the check-out - /// date hasn't passed. An active reservation can't be reconciled. + /// Bookings are for a future date, or a stay is underway but the check-out + /// date hasn't passed. An active reservation can't be reconciled. ReservationEnabled = 2, - /// Check-out has already taken place, or the booked dates have passed - /// without cancellation. Bookings that are not reconciled within 45 days of - /// the check-out date are billed based on the original booking price. + /// Check-out has already taken place, or the booked dates have passed + /// without cancellation. Bookings that are not reconciled within 45 days of + /// the check-out date are billed based on the original booking price. ReconciliationNeeded = 3, - /// These bookings have been reconciled. Reconciled bookings are billed 45 - /// days after the check-out date. + /// These bookings have been reconciled. Reconciled bookings are billed 45 + /// days after the check-out date. Reconciled = 4, - /// This booking was marked as canceled. Canceled stays with a value greater - /// than zero (due to minimum stay rules or cancellation fees) are billed 45 - /// days after the check-out date. + /// This booking was marked as canceled. Canceled stays with a value greater + /// than zero (due to minimum stay rules or cancellation fees) are billed 45 + /// days after the check-out date. Canceled = 5, } impl HotelReconciliationStatus { @@ -11691,23 +11691,23 @@ pub mod hotel_reconciliation_status_enum { } } } -// Proto file describing Advertiser Provided Image placeholder fields. +// Proto file describing Advertiser Provided Image placeholder fields. -/// Values for Advertiser Provided Image placeholder fields. +/// Values for Advertiser Provided Image placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImagePlaceholderFieldEnum { } /// Nested message and enum types in `ImagePlaceholderFieldEnum`. pub mod image_placeholder_field_enum { - /// Possible values for Advertiser Provided Image placeholder fields. + /// Possible values for Advertiser Provided Image placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The asset ID of the image. + /// Data Type: INT64. The asset ID of the image. AssetId = 2, } impl ImagePlaceholderField { @@ -11724,25 +11724,25 @@ pub mod image_placeholder_field_enum { } } } -// Proto file describing invoice types. +// Proto file describing invoice types. -/// Container for enum describing the type of invoices. +/// Container for enum describing the type of invoices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceTypeEnum { } /// Nested message and enum types in `InvoiceTypeEnum`. pub mod invoice_type_enum { - /// The possible type of invoices. + /// The possible type of invoices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// An invoice with a negative amount. The account receives a credit. + /// An invoice with a negative amount. The account receives a credit. CreditMemo = 2, - /// An invoice with a positive amount. The account owes a balance. + /// An invoice with a positive amount. The account owes a balance. Invoice = 3, } impl InvoiceType { @@ -11760,75 +11760,75 @@ pub mod invoice_type_enum { } } } -// Proto file describing Job placeholder fields. +// Proto file describing Job placeholder fields. -/// Values for Job placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Job placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobPlaceholderFieldEnum { } /// Nested message and enum types in `JobPlaceholderFieldEnum`. pub mod job_placeholder_field_enum { - /// Possible values for Job placeholder fields. + /// Possible values for Job placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be - /// unique. If both JOB_ID and LOCATION_ID are specified, then the - /// pair must be unique. - /// ID) pair must be unique. + /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be + /// unique. If both JOB_ID and LOCATION_ID are specified, then the + /// pair must be unique. + /// ID) pair must be unique. JobId = 2, - /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - /// per offer. + /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique + /// per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with job title to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with job title to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. Job subtitle to be shown in dynamic ad. + /// Data Type: STRING. Job subtitle to be shown in dynamic ad. Subtitle = 5, - /// Data Type: STRING. Description of job to be shown in dynamic ad. + /// Data Type: STRING. Description of job to be shown in dynamic ad. Description = 6, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 7, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 8, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 9, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 10, - /// Data Type: STRING. Salary or salary range of job to be shown in dynamic - /// ad. + /// Data Type: STRING. Salary or salary range of job to be shown in dynamic + /// ad. Salary = 11, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific job and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific job and its location). FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended job IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended job IDs to show together with + /// this item. SimilarJobIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl JobPlaceholderField { @@ -11861,30 +11861,30 @@ pub mod job_placeholder_field_enum { } } } -// Proto file describing keyword plan forecast intervals. +// Proto file describing keyword plan forecast intervals. -/// Container for enumeration of forecast intervals. +/// Container for enumeration of forecast intervals. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastIntervalEnum { } /// Nested message and enum types in `KeywordPlanForecastIntervalEnum`. pub mod keyword_plan_forecast_interval_enum { - /// Forecast intervals. + /// Forecast intervals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanForecastInterval { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The next week date range for keyword plan. The next week is based - /// on the default locale of the user's account and is mostly SUN-SAT or - /// MON-SUN. - /// This can be different from next-7 days. + /// The next week date range for keyword plan. The next week is based + /// on the default locale of the user's account and is mostly SUN-SAT or + /// MON-SUN. + /// This can be different from next-7 days. NextWeek = 3, - /// The next month date range for keyword plan. + /// The next month date range for keyword plan. NextMonth = 4, - /// The next quarter date range for keyword plan. + /// The next quarter date range for keyword plan. NextQuarter = 5, } impl KeywordPlanForecastInterval { @@ -11903,23 +11903,23 @@ pub mod keyword_plan_forecast_interval_enum { } } } -// Proto file describing Keyword Planner Keyword annotation types. +// Proto file describing Keyword Planner Keyword annotation types. -/// Container for enumeration of keyword plan keyword annotations. +/// Container for enumeration of keyword plan keyword annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordAnnotationEnum { } /// Nested message and enum types in `KeywordPlanKeywordAnnotationEnum`. pub mod keyword_plan_keyword_annotation_enum { - /// Enumerates keyword plan annotations that can be requested. + /// Enumerates keyword plan annotations that can be requested. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanKeywordAnnotation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Return the keyword concept and concept group data. + /// Return the keyword concept and concept group data. KeywordConcept = 2, } impl KeywordPlanKeywordAnnotation { @@ -11936,25 +11936,25 @@ pub mod keyword_plan_keyword_annotation_enum { } } } -// Proto file describing Keyword Planner forecastable network types. +// Proto file describing Keyword Planner forecastable network types. -/// Container for enumeration of keyword plan forecastable network types. +/// Container for enumeration of keyword plan forecastable network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanNetworkEnum { } /// Nested message and enum types in `KeywordPlanNetworkEnum`. pub mod keyword_plan_network_enum { - /// Enumerates keyword plan forecastable network types. + /// Enumerates keyword plan forecastable network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google Search. + /// Google Search. GoogleSearch = 2, - /// Google Search + Search partners. + /// Google Search + Search partners. GoogleSearchAndPartners = 3, } impl KeywordPlanNetwork { @@ -11972,23 +11972,23 @@ pub mod keyword_plan_network_enum { } } } -/// Container for enum describing possible status of a label. +/// Container for enum describing possible status of a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelStatusEnum { } /// Nested message and enum types in `LabelStatusEnum`. pub mod label_status_enum { - /// Possible statuses of a label. + /// Possible statuses of a label. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Label is enabled. + /// Label is enabled. Enabled = 2, - /// Label is removed. + /// Label is removed. Removed = 3, } impl LabelStatus { @@ -12006,28 +12006,28 @@ pub mod label_status_enum { } } } -/// Container for enum describing different types of Linked accounts. +/// Container for enum describing different types of Linked accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LinkedAccountTypeEnum { } /// Nested message and enum types in `LinkedAccountTypeEnum`. pub mod linked_account_type_enum { - /// Describes the possible link types between a Google Ads customer - /// and another account. + /// Describes the possible link types between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkedAccountType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A link to provide third party app analytics data. + /// A link to provide third party app analytics data. ThirdPartyAppAnalytics = 2, - /// A link to Data partner. + /// A link to Data partner. DataPartner = 3, - /// A link to Google Ads. + /// A link to Google Ads. GoogleAds = 4, - /// A link to Hotel Center. + /// A link to Hotel Center. HotelCenter = 5, } impl LinkedAccountType { @@ -12047,32 +12047,32 @@ pub mod linked_account_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the levels of bidding category used in -/// ListingGroupFilterDimension. +/// Container for enum describing the levels of bidding category used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterBiddingCategoryLevelEnum { } /// Nested message and enum types in `ListingGroupFilterBiddingCategoryLevelEnum`. pub mod listing_group_filter_bidding_category_level_enum { - /// The level of the listing group filter bidding category. + /// The level of the listing group filter bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterBiddingCategoryLevel { @@ -12093,32 +12093,32 @@ pub mod listing_group_filter_bidding_category_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the indexes of custom attribute used in -/// ListingGroupFilterDimension. +/// Container for enum describing the indexes of custom attribute used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterCustomAttributeIndexEnum { } /// Nested message and enum types in `ListingGroupFilterCustomAttributeIndexEnum`. pub mod listing_group_filter_custom_attribute_index_enum { - /// The index of customer attributes. + /// The index of customer attributes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First listing group filter custom attribute. + /// First listing group filter custom attribute. Index0 = 2, - /// Second listing group filter custom attribute. + /// Second listing group filter custom attribute. Index1 = 3, - /// Third listing group filter custom attribute. + /// Third listing group filter custom attribute. Index2 = 4, - /// Fourth listing group filter custom attribute. + /// Fourth listing group filter custom attribute. Index3 = 5, - /// Fifth listing group filter custom attribute. + /// Fifth listing group filter custom attribute. Index4 = 6, } impl ListingGroupFilterCustomAttributeIndex { @@ -12139,25 +12139,25 @@ pub mod listing_group_filter_custom_attribute_index_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductChannelEnum { } /// Nested message and enum types in `ListingGroupFilterProductChannelEnum`. pub mod listing_group_filter_product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ListingGroupFilterProductChannel { @@ -12175,27 +12175,27 @@ pub mod listing_group_filter_product_channel_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductConditionEnum { } /// Nested message and enum types in `ListingGroupFilterProductConditionEnum`. pub mod listing_group_filter_product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 2, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 3, - /// The product condition is used. + /// The product condition is used. Used = 4, } impl ListingGroupFilterProductCondition { @@ -12214,31 +12214,31 @@ pub mod listing_group_filter_product_condition_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductTypeLevelEnum { } /// Nested message and enum types in `ListingGroupFilterProductTypeLevelEnum`. pub mod listing_group_filter_product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterProductTypeLevel { @@ -12259,27 +12259,27 @@ pub mod listing_group_filter_product_type_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group filter node. +/// Container for enum describing the type of the listing group filter node. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterTypeEnum { } /// Nested message and enum types in `ListingGroupFilterTypeEnum`. pub mod listing_group_filter_type_enum { - /// The type of the listing group filter. + /// The type of the listing group filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimensions. + /// Subdivision of products along some listing dimensions. Subdivision = 2, - /// An included listing group filter leaf node. + /// An included listing group filter leaf node. UnitIncluded = 3, - /// An excluded listing group filter leaf node. + /// An excluded listing group filter leaf node. UnitExcluded = 4, } impl ListingGroupFilterType { @@ -12298,24 +12298,24 @@ pub mod listing_group_filter_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the vertical a listing group filter -/// tree represents. +/// Container for enum describing the type of the vertical a listing group filter +/// tree represents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterVerticalEnum { } /// Nested message and enum types in `ListingGroupFilterVerticalEnum`. pub mod listing_group_filter_vertical_enum { - /// The type of the listing group filter vertical. + /// The type of the listing group filter vertical. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterVertical { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents the shopping vertical. + /// Represents the shopping vertical. Shopping = 2, } impl ListingGroupFilterVertical { @@ -12332,77 +12332,77 @@ pub mod listing_group_filter_vertical_enum { } } } -// Proto file describing Local placeholder fields. +// Proto file describing Local placeholder fields. -/// Values for Local placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Local placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalPlaceholderFieldEnum { } /// Nested message and enum types in `LocalPlaceholderFieldEnum`. pub mod local_placeholder_field_enum { - /// Possible values for Local placeholder fields. + /// Possible values for Local placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. DealId = 2, - /// Data Type: STRING. Required. Main headline with local deal title to be - /// shown in dynamic ad. + /// Data Type: STRING. Required. Main headline with local deal title to be + /// shown in dynamic ad. DealName = 3, - /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. + /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. Subtitle = 4, - /// Data Type: STRING. Description of local deal to be shown in dynamic ad. + /// Data Type: STRING. Description of local deal to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. Example: "100.00 USD" Price = 6, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 7, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 8, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 9, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 10, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 11, - /// Data Type: STRING. Category of local deal used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of local deal used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific local deal and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific local deal and its location). FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 17, - /// Data Type: STRING_LIST. List of recommended local deal IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended local deal IDs to show + /// together with this item. SimilarDealIds = 18, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 19, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 20, } impl LocalPlaceholderField { @@ -12437,33 +12437,33 @@ pub mod local_placeholder_field_enum { } } } -// Proto file describing Location Extension Targeting criterion fields. +// Proto file describing Location Extension Targeting criterion fields. -/// Values for Location Extension Targeting criterion fields. +/// Values for Location Extension Targeting criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationExtensionTargetingCriterionFieldEnum { } /// Nested message and enum types in `LocationExtensionTargetingCriterionFieldEnum`. pub mod location_extension_targeting_criterion_field_enum { - /// Possible values for Location Extension Targeting criterion fields. + /// Possible values for Location Extension Targeting criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationExtensionTargetingCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 2, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 3, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 4, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 5, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 6, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 7, } impl LocationExtensionTargetingCriterionField { @@ -12485,37 +12485,37 @@ pub mod location_extension_targeting_criterion_field_enum { } } } -// Proto file describing Location placeholder fields. +// Proto file describing Location placeholder fields. -/// Values for Location placeholder fields. +/// Values for Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPlaceholderFieldEnum { } /// Nested message and enum types in `LocationPlaceholderFieldEnum`. pub mod location_placeholder_field_enum { - /// Possible values for Location placeholder fields. + /// Possible values for Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, } impl LocationPlaceholderField { @@ -12539,25 +12539,25 @@ pub mod location_placeholder_field_enum { } } } -// Proto file describing location source types. +// Proto file describing location source types. -/// Used to distinguish the location source type. +/// Used to distinguish the location source type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationSourceTypeEnum { } /// Nested message and enum types in `LocationSourceTypeEnum`. pub mod location_source_type_enum { - /// The possible types of a location source. + /// The possible types of a location source. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationSourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Locations associated with the customer's linked Business Profile. + /// Locations associated with the customer's linked Business Profile. GoogleMyBusiness = 2, - /// Affiliate (chain) store locations. For example, Best Buy store locations. + /// Affiliate (chain) store locations. For example, Best Buy store locations. Affiliate = 3, } impl LocationSourceType { @@ -12575,31 +12575,31 @@ pub mod location_source_type_enum { } } } -/// Container for enum describing possible status of a manager and client link. +/// Container for enum describing possible status of a manager and client link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkStatusEnum { } /// Nested message and enum types in `ManagerLinkStatusEnum`. pub mod manager_link_status_enum { - /// Possible statuses of a link. + /// Possible statuses of a link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates current in-effect relationship + /// Indicates current in-effect relationship Active = 2, - /// Indicates terminated relationship + /// Indicates terminated relationship Inactive = 3, - /// Indicates relationship has been requested by manager, but the client - /// hasn't accepted yet. + /// Indicates relationship has been requested by manager, but the client + /// hasn't accepted yet. Pending = 4, - /// Relationship was requested by the manager, but the client has refused. + /// Relationship was requested by the manager, but the client has refused. Refused = 5, - /// Indicates relationship has been requested by manager, but manager - /// canceled it. + /// Indicates relationship has been requested by manager, but manager + /// canceled it. Canceled = 6, } impl ManagerLinkStatus { @@ -12620,35 +12620,35 @@ pub mod manager_link_status_enum { } } } -// Proto file describing media types. +// Proto file describing media types. -/// Container for enum describing the types of media. +/// Container for enum describing the types of media. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaTypeEnum { } /// Nested message and enum types in `MediaTypeEnum`. pub mod media_type_enum { - /// The type of media. + /// The type of media. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// The media type has not been specified. + /// The media type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Static image, used for image ad. + /// Static image, used for image ad. Image = 2, - /// Small image, used for map ad. + /// Small image, used for map ad. Icon = 3, - /// ZIP file, used in fields of template ads. + /// ZIP file, used in fields of template ads. MediaBundle = 4, - /// Audio file. + /// Audio file. Audio = 5, - /// Video file. + /// Video file. Video = 6, - /// Animated image, such as animated GIF. + /// Animated image, such as animated GIF. DynamicImage = 7, } impl MediaType { @@ -12670,28 +12670,28 @@ pub mod media_type_enum { } } } -// Proto file describing Merchant Center link statuses. +// Proto file describing Merchant Center link statuses. -/// Container for enum describing possible statuses of a Google Merchant Center -/// link. +/// Container for enum describing possible statuses of a Google Merchant Center +/// link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkStatusEnum { } /// Nested message and enum types in `MerchantCenterLinkStatusEnum`. pub mod merchant_center_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and a Google Merchant Center account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and a Google Merchant Center account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link has no effect. It was proposed by the Merchant Center Account - /// owner and hasn't been confirmed by the customer. + /// The link has no effect. It was proposed by the Merchant Center Account + /// owner and hasn't been confirmed by the customer. Pending = 3, } impl MerchantCenterLinkStatus { @@ -12709,33 +12709,33 @@ pub mod merchant_center_link_status_enum { } } } -// Proto file describing Message placeholder fields. +// Proto file describing Message placeholder fields. -/// Values for Message placeholder fields. +/// Values for Message placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MessagePlaceholderFieldEnum { } /// Nested message and enum types in `MessagePlaceholderFieldEnum`. pub mod message_placeholder_field_enum { - /// Possible values for Message placeholder fields. + /// Possible values for Message placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MessagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of your business. + /// Data Type: STRING. The name of your business. BusinessName = 2, - /// Data Type: STRING. Country code of phone number. + /// Data Type: STRING. Country code of phone number. CountryCode = 3, - /// Data Type: STRING. A phone number that's capable of sending and receiving - /// text messages. + /// Data Type: STRING. A phone number that's capable of sending and receiving + /// text messages. PhoneNumber = 4, - /// Data Type: STRING. The text that will go in your click-to-message ad. + /// Data Type: STRING. The text that will go in your click-to-message ad. MessageExtensionText = 5, - /// Data Type: STRING. The message text automatically shows in people's - /// messaging apps when they tap to send you a message. + /// Data Type: STRING. The message text automatically shows in people's + /// messaging apps when they tap to send you a message. MessageText = 6, } impl MessagePlaceholderField { @@ -12756,25 +12756,25 @@ pub mod message_placeholder_field_enum { } } } -// Proto file describing mobile device types. +// Proto file describing mobile device types. -/// Container for enum describing the types of mobile device. +/// Container for enum describing the types of mobile device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceTypeEnum { } /// Nested message and enum types in `MobileDeviceTypeEnum`. pub mod mobile_device_type_enum { - /// The type of mobile device. + /// The type of mobile device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile phones. + /// Mobile phones. Mobile = 2, - /// Tablets. + /// Tablets. Tablet = 3, } impl MobileDeviceType { @@ -12792,27 +12792,27 @@ pub mod mobile_device_type_enum { } } } -// Proto file describing negative geo target types. +// Proto file describing negative geo target types. -/// Container for enum describing possible negative geo target types. +/// Container for enum describing possible negative geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NegativeGeoTargetTypeEnum { } /// Nested message and enum types in `NegativeGeoTargetTypeEnum`. pub mod negative_geo_target_type_enum { - /// The possible negative geo target types. + /// The possible negative geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NegativeGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that a user is excluded from seeing the ad if they - /// are in, or show interest in, advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in, or show interest in, advertiser's excluded locations. PresenceOrInterest = 4, - /// Specifies that a user is excluded from seeing the ad if they - /// are in advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in advertiser's excluded locations. Presence = 5, } impl NegativeGeoTargetType { @@ -12830,26 +12830,26 @@ pub mod negative_geo_target_type_enum { } } } -// Proto file describing offline user data job failure reasons. +// Proto file describing offline user data job failure reasons. -/// Container for enum describing reasons why an offline user data job -/// failed to be processed. +/// Container for enum describing reasons why an offline user data job +/// failed to be processed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobFailureReasonEnum { } /// Nested message and enum types in `OfflineUserDataJobFailureReasonEnum`. pub mod offline_user_data_job_failure_reason_enum { - /// The failure reason of an offline user data job. + /// The failure reason of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The matched transactions are insufficient. + /// The matched transactions are insufficient. InsufficientMatchedTransactions = 2, - /// The uploaded transactions are insufficient. + /// The uploaded transactions are insufficient. InsufficientTransactions = 3, } impl OfflineUserDataJobFailureReason { @@ -12867,39 +12867,39 @@ pub mod offline_user_data_job_failure_reason_enum { } } } -/// Container for enum describing reasons match rate ranges for a customer match -/// list upload. +/// Container for enum describing reasons match rate ranges for a customer match +/// list upload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMatchRateRangeEnum { } /// Nested message and enum types in `OfflineUserDataJobMatchRateRangeEnum`. pub mod offline_user_data_job_match_rate_range_enum { - /// The match rate range of an offline user data job. + /// The match rate range of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobMatchRateRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Default value for match rate range. + /// Default value for match rate range. Unknown = 1, - /// Match rate range for offline data upload entity is between 0% and 19%. + /// Match rate range for offline data upload entity is between 0% and 19%. MatchRangeLessThan20 = 2, - /// Match rate range for offline data upload entity is between 20% and 30%. + /// Match rate range for offline data upload entity is between 20% and 30%. MatchRange20To30 = 3, - /// Match rate range for offline data upload entity is between 31% and 40%. + /// Match rate range for offline data upload entity is between 31% and 40%. MatchRange31To40 = 4, - /// Match rate range for offline data upload entity is between 41% and 50%. + /// Match rate range for offline data upload entity is between 41% and 50%. MatchRange41To50 = 5, - /// Match rate range for offline data upload entity is between 51% and 60%. + /// Match rate range for offline data upload entity is between 51% and 60%. MatchRange51To60 = 6, - /// Match rate range for offline data upload entity is between 61% and 70%. + /// Match rate range for offline data upload entity is between 61% and 70%. MatchRange61To70 = 7, - /// Match rate range for offline data upload entity is between 71% and 80%. + /// Match rate range for offline data upload entity is between 71% and 80%. MatchRange71To80 = 8, - /// Match rate range for offline data upload entity is between 81% and 90%. + /// Match rate range for offline data upload entity is between 81% and 90%. MatchRange81To90 = 9, - /// Match rate range for offline data upload entity more than or equal to - /// 91%. + /// Match rate range for offline data upload entity more than or equal to + /// 91%. MatchRange91To100 = 10, } impl OfflineUserDataJobMatchRateRange { @@ -12924,29 +12924,29 @@ pub mod offline_user_data_job_match_rate_range_enum { } } } -// Proto file describing offline user data job status. +// Proto file describing offline user data job status. -/// Container for enum describing status of an offline user data job. +/// Container for enum describing status of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobStatusEnum { } /// Nested message and enum types in `OfflineUserDataJobStatusEnum`. pub mod offline_user_data_job_status_enum { - /// The status of an offline user data job. + /// The status of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job has been successfully created and pending for uploading. + /// The job has been successfully created and pending for uploading. Pending = 2, - /// Upload(s) have been accepted and data is being processed. + /// Upload(s) have been accepted and data is being processed. Running = 3, - /// Uploaded data has been successfully processed. + /// Uploaded data has been successfully processed. Success = 4, - /// Uploaded data has failed to be processed. + /// Uploaded data has failed to be processed. Failed = 5, } impl OfflineUserDataJobStatus { @@ -12966,29 +12966,29 @@ pub mod offline_user_data_job_status_enum { } } } -// Proto file describing offline user data job types. +// Proto file describing offline user data job types. -/// Container for enum describing types of an offline user data job. +/// Container for enum describing types of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobTypeEnum { } /// Nested message and enum types in `OfflineUserDataJobTypeEnum`. pub mod offline_user_data_job_type_enum { - /// The type of an offline user data job. + /// The type of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Store Sales Direct data for self service. + /// Store Sales Direct data for self service. StoreSalesUploadFirstParty = 2, - /// Store Sales Direct data for third party. + /// Store Sales Direct data for third party. StoreSalesUploadThirdParty = 3, - /// Customer Match user list data. + /// Customer Match user list data. CustomerMatchUserList = 4, - /// Customer Match with attribute data. + /// Customer Match with attribute data. CustomerMatchWithAttributes = 5, } impl OfflineUserDataJobType { @@ -13008,25 +13008,25 @@ pub mod offline_user_data_job_type_enum { } } } -// Proto file describing operating system version operator types. +// Proto file describing operating system version operator types. -/// Container for enum describing the type of OS operators. +/// Container for enum describing the type of OS operators. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionOperatorTypeEnum { } /// Nested message and enum types in `OperatingSystemVersionOperatorTypeEnum`. pub mod operating_system_version_operator_type_enum { - /// The type of operating system version. + /// The type of operating system version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatingSystemVersionOperatorType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals to the specified version. + /// Equals to the specified version. EqualsTo = 2, - /// Greater than or equals to the specified version. + /// Greater than or equals to the specified version. GreaterThanEqualsTo = 4, } impl OperatingSystemVersionOperatorType { @@ -13044,32 +13044,32 @@ pub mod operating_system_version_operator_type_enum { } } } -// Proto file describing optimization goal type. +// Proto file describing optimization goal type. -/// Container for enum describing the type of optimization goal. +/// Container for enum describing the type of optimization goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalTypeEnum { } /// Nested message and enum types in `OptimizationGoalTypeEnum`. pub mod optimization_goal_type_enum { - /// The type of optimization goal + /// The type of optimization goal #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptimizationGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Optimize for call clicks. Call click conversions are times people - /// selected 'Call' to contact a store after viewing an ad. + /// Optimize for call clicks. Call click conversions are times people + /// selected 'Call' to contact a store after viewing an ad. CallClicks = 2, - /// Optimize for driving directions. Driving directions conversions are - /// times people selected 'Get directions' to navigate to a store after - /// viewing an ad. + /// Optimize for driving directions. Driving directions conversions are + /// times people selected 'Get directions' to navigate to a store after + /// viewing an ad. DrivingDirections = 3, - /// Optimize for pre-registration. Pre-registration conversions are the - /// number of pre-registration signups to receive a notification when the app - /// is released. + /// Optimize for pre-registration. Pre-registration conversions are the + /// number of pre-registration signups to receive a notification when the app + /// is released. AppPreRegistration = 4, } impl OptimizationGoalType { @@ -13088,37 +13088,37 @@ pub mod optimization_goal_type_enum { } } } -// Proto file describing payment modes. +// Proto file describing payment modes. -/// Container for enum describing possible payment modes. +/// Container for enum describing possible payment modes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentModeEnum { } /// Nested message and enum types in `PaymentModeEnum`. pub mod payment_mode_enum { - /// Enum describing possible payment modes. + /// Enum describing possible payment modes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Pay per click. + /// Pay per click. Clicks = 4, - /// Pay per conversion value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.HOTEL_ADS_COMMISSION. + /// Pay per conversion value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.HOTEL_ADS_COMMISSION. ConversionValue = 5, - /// Pay per conversion. This mode is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - /// and BudgetType.FIXED_CPA. The customer must also be eligible for this - /// mode. See Customer.eligibility_failure_reasons for details. + /// Pay per conversion. This mode is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, + /// and BudgetType.FIXED_CPA. The customer must also be eligible for this + /// mode. See Customer.eligibility_failure_reasons for details. Conversions = 6, - /// Pay per guest stay value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.STANDARD. + /// Pay per guest stay value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.STANDARD. GuestStay = 7, } impl PaymentMode { @@ -13138,31 +13138,31 @@ pub mod payment_mode_enum { } } } -// Proto file describing placement types. +// Proto file describing placement types. -/// Container for enum describing possible placement types. +/// Container for enum describing possible placement types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementTypeEnum { } /// Nested message and enum types in `PlacementTypeEnum`. pub mod placement_type_enum { - /// Possible placement types for a feed mapping. + /// Possible placement types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlacementType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Websites(e.g. 'www.flowers4sale.com'). + /// Websites(e.g. 'www.flowers4sale.com'). Website = 2, - /// Mobile application categories(e.g. 'Games'). + /// Mobile application categories(e.g. 'Games'). MobileAppCategory = 3, - /// mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). + /// mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). MobileApplication = 4, - /// YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). + /// YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). YoutubeVideo = 5, - /// YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). + /// YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). YoutubeChannel = 6, } impl PlacementType { @@ -13183,32 +13183,32 @@ pub mod placement_type_enum { } } } -// Proto file describing positive geo target types. +// Proto file describing positive geo target types. -/// Container for enum describing possible positive geo target types. +/// Container for enum describing possible positive geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositiveGeoTargetTypeEnum { } /// Nested message and enum types in `PositiveGeoTargetTypeEnum`. pub mod positive_geo_target_type_enum { - /// The possible positive geo target types. + /// The possible positive geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PositiveGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that an ad is triggered if the user is in, - /// or shows interest in, advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in, + /// or shows interest in, advertiser's targeted locations. PresenceOrInterest = 5, - /// Specifies that an ad is triggered if the user - /// searches for advertiser's targeted locations. - /// This can only be used with Search and standard - /// Shopping campaigns. + /// Specifies that an ad is triggered if the user + /// searches for advertiser's targeted locations. + /// This can only be used with Search and standard + /// Shopping campaigns. SearchInterest = 6, - /// Specifies that an ad is triggered if the user is in - /// or regularly in advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in + /// or regularly in advertiser's targeted locations. Presence = 7, } impl PositiveGeoTargetType { @@ -13227,164 +13227,164 @@ pub mod positive_geo_target_type_enum { } } } -// Proto file describing Price placeholder fields. +// Proto file describing Price placeholder fields. -/// Values for Price placeholder fields. +/// Values for Price placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricePlaceholderFieldEnum { } /// Nested message and enum types in `PricePlaceholderFieldEnum`. pub mod price_placeholder_field_enum { - /// Possible values for Price placeholder fields. + /// Possible values for Price placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PricePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The type of your price feed. Must match one of the - /// predefined price feed type exactly. + /// Data Type: STRING. The type of your price feed. Must match one of the + /// predefined price feed type exactly. Type = 2, - /// Data Type: STRING. The qualifier of each price. Must match one of the - /// predefined price qualifiers exactly. + /// Data Type: STRING. The qualifier of each price. Must match one of the + /// predefined price qualifiers exactly. PriceQualifier = 3, - /// Data Type: URL. Tracking template for the price feed when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the price feed when using Upgraded + /// URLs. TrackingTemplate = 4, - /// Data Type: STRING. Language of the price feed. Must match one of the - /// available available locale codes exactly. + /// Data Type: STRING. Language of the price feed. Must match one of the + /// available available locale codes exactly. Language = 5, - /// Data Type: STRING. Final URL suffix for the price feed when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the price feed when using + /// parallel tracking. FinalUrlSuffix = 6, - /// Data Type: STRING. The header of item 1 of the table. + /// Data Type: STRING. The header of item 1 of the table. Item1Header = 100, - /// Data Type: STRING. The description of item 1 of the table. + /// Data Type: STRING. The description of item 1 of the table. Item1Description = 101, - /// Data Type: MONEY. The price (money with currency) of item 1 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 1 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item1Price = 102, - /// Data Type: STRING. The price unit of item 1 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 1 of the table. Must match one + /// of the predefined price units. Item1Unit = 103, - /// Data Type: URL_LIST. The final URLs of item 1 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 1 of the table when using + /// Upgraded URLs. Item1FinalUrls = 104, - /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when + /// using Upgraded URLs. Item1FinalMobileUrls = 105, - /// Data Type: STRING. The header of item 2 of the table. + /// Data Type: STRING. The header of item 2 of the table. Item2Header = 200, - /// Data Type: STRING. The description of item 2 of the table. + /// Data Type: STRING. The description of item 2 of the table. Item2Description = 201, - /// Data Type: MONEY. The price (money with currency) of item 2 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 2 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item2Price = 202, - /// Data Type: STRING. The price unit of item 2 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 2 of the table. Must match one + /// of the predefined price units. Item2Unit = 203, - /// Data Type: URL_LIST. The final URLs of item 2 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 2 of the table when using + /// Upgraded URLs. Item2FinalUrls = 204, - /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when + /// using Upgraded URLs. Item2FinalMobileUrls = 205, - /// Data Type: STRING. The header of item 3 of the table. + /// Data Type: STRING. The header of item 3 of the table. Item3Header = 300, - /// Data Type: STRING. The description of item 3 of the table. + /// Data Type: STRING. The description of item 3 of the table. Item3Description = 301, - /// Data Type: MONEY. The price (money with currency) of item 3 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 3 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item3Price = 302, - /// Data Type: STRING. The price unit of item 3 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 3 of the table. Must match one + /// of the predefined price units. Item3Unit = 303, - /// Data Type: URL_LIST. The final URLs of item 3 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 3 of the table when using + /// Upgraded URLs. Item3FinalUrls = 304, - /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when + /// using Upgraded URLs. Item3FinalMobileUrls = 305, - /// Data Type: STRING. The header of item 4 of the table. + /// Data Type: STRING. The header of item 4 of the table. Item4Header = 400, - /// Data Type: STRING. The description of item 4 of the table. + /// Data Type: STRING. The description of item 4 of the table. Item4Description = 401, - /// Data Type: MONEY. The price (money with currency) of item 4 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 4 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item4Price = 402, - /// Data Type: STRING. The price unit of item 4 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 4 of the table. Must match one + /// of the predefined price units. Item4Unit = 403, - /// Data Type: URL_LIST. The final URLs of item 4 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 4 of the table when using + /// Upgraded URLs. Item4FinalUrls = 404, - /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when + /// using Upgraded URLs. Item4FinalMobileUrls = 405, - /// Data Type: STRING. The header of item 5 of the table. + /// Data Type: STRING. The header of item 5 of the table. Item5Header = 500, - /// Data Type: STRING. The description of item 5 of the table. + /// Data Type: STRING. The description of item 5 of the table. Item5Description = 501, - /// Data Type: MONEY. The price (money with currency) of item 5 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 5 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item5Price = 502, - /// Data Type: STRING. The price unit of item 5 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 5 of the table. Must match one + /// of the predefined price units. Item5Unit = 503, - /// Data Type: URL_LIST. The final URLs of item 5 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 5 of the table when using + /// Upgraded URLs. Item5FinalUrls = 504, - /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when + /// using Upgraded URLs. Item5FinalMobileUrls = 505, - /// Data Type: STRING. The header of item 6 of the table. + /// Data Type: STRING. The header of item 6 of the table. Item6Header = 600, - /// Data Type: STRING. The description of item 6 of the table. + /// Data Type: STRING. The description of item 6 of the table. Item6Description = 601, - /// Data Type: MONEY. The price (money with currency) of item 6 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 6 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item6Price = 602, - /// Data Type: STRING. The price unit of item 6 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 6 of the table. Must match one + /// of the predefined price units. Item6Unit = 603, - /// Data Type: URL_LIST. The final URLs of item 6 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 6 of the table when using + /// Upgraded URLs. Item6FinalUrls = 604, - /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when + /// using Upgraded URLs. Item6FinalMobileUrls = 605, - /// Data Type: STRING. The header of item 7 of the table. + /// Data Type: STRING. The header of item 7 of the table. Item7Header = 700, - /// Data Type: STRING. The description of item 7 of the table. + /// Data Type: STRING. The description of item 7 of the table. Item7Description = 701, - /// Data Type: MONEY. The price (money with currency) of item 7 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 7 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item7Price = 702, - /// Data Type: STRING. The price unit of item 7 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 7 of the table. Must match one + /// of the predefined price units. Item7Unit = 703, - /// Data Type: URL_LIST. The final URLs of item 7 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 7 of the table when using + /// Upgraded URLs. Item7FinalUrls = 704, - /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when + /// using Upgraded URLs. Item7FinalMobileUrls = 705, - /// Data Type: STRING. The header of item 8 of the table. + /// Data Type: STRING. The header of item 8 of the table. Item8Header = 800, - /// Data Type: STRING. The description of item 8 of the table. + /// Data Type: STRING. The description of item 8 of the table. Item8Description = 801, - /// Data Type: MONEY. The price (money with currency) of item 8 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 8 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item8Price = 802, - /// Data Type: STRING. The price unit of item 8 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 8 of the table. Must match one + /// of the predefined price units. Item8Unit = 803, - /// Data Type: URL_LIST. The final URLs of item 8 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 8 of the table when using + /// Upgraded URLs. Item8FinalUrls = 804, - /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when + /// using Upgraded URLs. Item8FinalMobileUrls = 805, } impl PricePlaceholderField { @@ -13453,25 +13453,25 @@ pub mod price_placeholder_field_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Status of the product bidding category. +/// Status of the product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryStatusEnum { } /// Nested message and enum types in `ProductBiddingCategoryStatusEnum`. pub mod product_bidding_category_status_enum { - /// Enum describing the status of the product bidding category. + /// Enum describing the status of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is active and can be used for bidding. + /// The category is active and can be used for bidding. Active = 2, - /// The category is obsolete. Used only for reporting purposes. + /// The category is obsolete. Used only for reporting purposes. Obsolete = 3, } impl ProductBiddingCategoryStatus { @@ -13489,58 +13489,58 @@ pub mod product_bidding_category_status_enum { } } } -// Proto file describing Promotion placeholder fields. +// Proto file describing Promotion placeholder fields. -/// Values for Promotion placeholder fields. +/// Values for Promotion placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionPlaceholderFieldEnum { } /// Nested message and enum types in `PromotionPlaceholderFieldEnum`. pub mod promotion_placeholder_field_enum { - /// Possible values for Promotion placeholder fields. + /// Possible values for Promotion placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The text that appears on the ad when the extension is - /// shown. + /// Data Type: STRING. The text that appears on the ad when the extension is + /// shown. PromotionTarget = 2, - /// Data Type: STRING. Allows you to add "up to" phrase to the promotion, - /// in case you have variable promotion rates. + /// Data Type: STRING. Allows you to add "up to" phrase to the promotion, + /// in case you have variable promotion rates. DiscountModifier = 3, - /// Data Type: INT64. Takes a value in micros, where 1 million micros - /// represents 1%, and is shown as a percentage when rendered. + /// Data Type: INT64. Takes a value in micros, where 1 million micros + /// represents 1%, and is shown as a percentage when rendered. PercentOff = 4, - /// Data Type: MONEY. Requires a currency and an amount of money. + /// Data Type: MONEY. Requires a currency and an amount of money. MoneyAmountOff = 5, - /// Data Type: STRING. A string that the user enters to get the discount. + /// Data Type: STRING. A string that the user enters to get the discount. PromotionCode = 6, - /// Data Type: MONEY. A minimum spend before the user qualifies for the - /// promotion. + /// Data Type: MONEY. A minimum spend before the user qualifies for the + /// promotion. OrdersOverAmount = 7, - /// Data Type: DATE. The start date of the promotion. + /// Data Type: DATE. The start date of the promotion. PromotionStart = 8, - /// Data Type: DATE. The end date of the promotion. + /// Data Type: DATE. The end date of the promotion. PromotionEnd = 9, - /// Data Type: STRING. Describes the associated event for the promotion using - /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. + /// Data Type: STRING. Describes the associated event for the promotion using + /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. Occasion = 10, - /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded + /// URLs. FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING. A string represented by a language code for the - /// promotion. + /// Data Type: STRING. A string represented by a language code for the + /// promotion. Language = 14, - /// Data Type: STRING. Final URL suffix for the ad when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for the ad when using parallel + /// tracking. FinalUrlSuffix = 15, } impl PromotionPlaceholderField { @@ -13570,27 +13570,27 @@ pub mod promotion_placeholder_field_enum { } } } -// Proto file describing ad lengths of a plannable video ad. +// Proto file describing ad lengths of a plannable video ad. -/// Message describing length of a plannable video ad. +/// Message describing length of a plannable video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAdLengthEnum { } /// Nested message and enum types in `ReachPlanAdLengthEnum`. pub mod reach_plan_ad_length_enum { - /// Possible ad length values. + /// Possible ad length values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAdLength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// 6 seconds long ad. + /// 6 seconds long ad. SixSeconds = 2, - /// 15 or 20 seconds long ad. + /// 15 or 20 seconds long ad. FifteenOrTwentySeconds = 3, - /// More than 20 seconds long ad. + /// More than 20 seconds long ad. TwentySecondsOrMore = 4, } impl ReachPlanAdLength { @@ -13609,73 +13609,73 @@ pub mod reach_plan_ad_length_enum { } } } -// Proto file describing a plannable age range. +// Proto file describing a plannable age range. -/// Message describing plannable age ranges. +/// Message describing plannable age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAgeRangeEnum { } /// Nested message and enum types in `ReachPlanAgeRangeEnum`. pub mod reach_plan_age_range_enum { - /// Possible plannable age range values. + /// Possible plannable age range values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAgeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 18 and 34 years old. + /// Between 18 and 34 years old. AgeRange1834 = 2, - /// Between 18 and 44 years old. + /// Between 18 and 44 years old. AgeRange1844 = 3, - /// Between 18 and 49 years old. + /// Between 18 and 49 years old. AgeRange1849 = 4, - /// Between 18 and 54 years old. + /// Between 18 and 54 years old. AgeRange1854 = 5, - /// Between 18 and 64 years old. + /// Between 18 and 64 years old. AgeRange1864 = 6, - /// Between 18 and 65+ years old. + /// Between 18 and 65+ years old. AgeRange1865Up = 7, - /// Between 21 and 34 years old. + /// Between 21 and 34 years old. AgeRange2134 = 8, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 25 and 44 years old. + /// Between 25 and 44 years old. AgeRange2544 = 9, - /// Between 25 and 49 years old. + /// Between 25 and 49 years old. AgeRange2549 = 10, - /// Between 25 and 54 years old. + /// Between 25 and 54 years old. AgeRange2554 = 11, - /// Between 25 and 64 years old. + /// Between 25 and 64 years old. AgeRange2564 = 12, - /// Between 25 and 65+ years old. + /// Between 25 and 65+ years old. AgeRange2565Up = 13, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 35 and 49 years old. + /// Between 35 and 49 years old. AgeRange3549 = 14, - /// Between 35 and 54 years old. + /// Between 35 and 54 years old. AgeRange3554 = 15, - /// Between 35 and 64 years old. + /// Between 35 and 64 years old. AgeRange3564 = 16, - /// Between 35 and 65+ years old. + /// Between 35 and 65+ years old. AgeRange3565Up = 17, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 45 and 64 years old. + /// Between 45 and 64 years old. AgeRange4564 = 18, - /// Between 45 and 65+ years old. + /// Between 45 and 65+ years old. AgeRange4565Up = 19, - /// Between 50 and 65+ years old. + /// Between 50 and 65+ years old. AgeRange5065Up = 20, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// Between 55 and 65+ years old. + /// Between 55 and 65+ years old. AgeRange5565Up = 21, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, } impl ReachPlanAgeRange { @@ -13717,28 +13717,28 @@ pub mod reach_plan_age_range_enum { } } } -// Proto file describing a plannable network. +// Proto file describing a plannable network. -/// Container for enum describing plannable networks. +/// Container for enum describing plannable networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanNetworkEnum { } /// Nested message and enum types in `ReachPlanNetworkEnum`. pub mod reach_plan_network_enum { - /// Possible plannable network values. + /// Possible plannable network values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube network. + /// YouTube network. Youtube = 2, - /// Google Video Partners (GVP) network. + /// Google Video Partners (GVP) network. GoogleVideoPartners = 3, - /// A combination of the YouTube network and the Google Video Partners - /// network. + /// A combination of the YouTube network and the Google Video Partners + /// network. YoutubeAndGoogleVideoPartners = 4, } impl ReachPlanNetwork { @@ -13757,74 +13757,74 @@ pub mod reach_plan_network_enum { } } } -// Proto file describing Real Estate placeholder fields. +// Proto file describing Real Estate placeholder fields. -/// Values for Real Estate placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Real Estate placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealEstatePlaceholderFieldEnum { } /// Nested message and enum types in `RealEstatePlaceholderFieldEnum`. pub mod real_estate_placeholder_field_enum { - /// Possible values for Real Estate placeholder fields. + /// Possible values for Real Estate placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RealEstatePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Unique ID. + /// Data Type: STRING. Unique ID. ListingId = 2, - /// Data Type: STRING. Main headline with listing name to be shown in dynamic - /// ad. + /// Data Type: STRING. Main headline with listing name to be shown in dynamic + /// ad. ListingName = 3, - /// Data Type: STRING. City name to be shown in dynamic ad. + /// Data Type: STRING. City name to be shown in dynamic ad. CityName = 4, - /// Data Type: STRING. Description of listing to be shown in dynamic ad. + /// Data Type: STRING. Description of listing to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete listing address, including postal code. + /// Data Type: STRING. Complete listing address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 9, - /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used - /// to group like items together for recommendation engine. + /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used + /// to group like items together for recommendation engine. PropertyType = 10, - /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - /// used to group like items together for recommendation engine. + /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) + /// used to group like items together for recommendation engine. ListingType = 11, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 12, - /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - /// URLs; the more specific the better (e.g. the individual URL of a specific - /// listing and its location). + /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded + /// URLs; the more specific the better (e.g. the individual URL of a specific + /// listing and its location). FinalUrls = 13, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended listing IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended listing IDs to show together + /// with this item. SimilarListingIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl RealEstatePlaceholderField { @@ -13858,29 +13858,29 @@ pub mod real_estate_placeholder_field_enum { } } } -// Proto file describing the resource change operations in change event. +// Proto file describing the resource change operations in change event. -/// Container for enum describing resource change operations -/// in the ChangeEvent resource. +/// Container for enum describing resource change operations +/// in the ChangeEvent resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceChangeOperationEnum { } /// Nested message and enum types in `ResourceChangeOperationEnum`. pub mod resource_change_operation_enum { - /// The operation on the changed resource in change_event resource. + /// The operation on the changed resource in change_event resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceChangeOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Create = 2, - /// The resource was modified. + /// The resource was modified. Update = 3, - /// The resource was removed. + /// The resource was removed. Remove = 4, } impl ResourceChangeOperation { @@ -13899,310 +13899,310 @@ pub mod resource_change_operation_enum { } } } -/// Container for enum describing possible resource limit types. +/// Container for enum describing possible resource limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceLimitTypeEnum { } /// Nested message and enum types in `ResourceLimitTypeEnum`. pub mod resource_limit_type_enum { - /// Resource limit type. + /// Resource limit type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceLimitType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// Number of ENABLED and PAUSED campaigns per customer. + /// Number of ENABLED and PAUSED campaigns per customer. CampaignsPerCustomer = 2, - /// Number of ENABLED and PAUSED base campaigns per customer. + /// Number of ENABLED and PAUSED base campaigns per customer. BaseCampaignsPerCustomer = 3, - /// Number of ENABLED and PAUSED experiment campaigns per customer. + /// Number of ENABLED and PAUSED experiment campaigns per customer. ExperimentCampaignsPerCustomer = 105, - /// Number of ENABLED and PAUSED Hotel campaigns per customer. + /// Number of ENABLED and PAUSED Hotel campaigns per customer. HotelCampaignsPerCustomer = 4, - /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. + /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. SmartShoppingCampaignsPerCustomer = 5, - /// Number of ENABLED ad groups per campaign. + /// Number of ENABLED ad groups per campaign. AdGroupsPerCampaign = 6, - /// Number of ENABLED ad groups per Shopping campaign. + /// Number of ENABLED ad groups per Shopping campaign. AdGroupsPerShoppingCampaign = 8, - /// Number of ENABLED ad groups per Hotel campaign. + /// Number of ENABLED ad groups per Hotel campaign. AdGroupsPerHotelCampaign = 9, - /// Number of ENABLED reporting ad groups per local campaign. + /// Number of ENABLED reporting ad groups per local campaign. ReportingAdGroupsPerLocalCampaign = 10, - /// Number of ENABLED reporting ad groups per App campaign. It includes app - /// campaign and app campaign for engagement. + /// Number of ENABLED reporting ad groups per App campaign. It includes app + /// campaign and app campaign for engagement. ReportingAdGroupsPerAppCampaign = 11, - /// Number of ENABLED managed ad groups per smart campaign. + /// Number of ENABLED managed ad groups per smart campaign. ManagedAdGroupsPerSmartCampaign = 52, - /// Number of ENABLED ad group criteria per customer. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED - /// 3. its campaign is not REMOVED. + /// Number of ENABLED ad group criteria per customer. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED + /// 3. its campaign is not REMOVED. AdGroupCriteriaPerCustomer = 12, - /// Number of ad group criteria across all base campaigns for a customer. + /// Number of ad group criteria across all base campaigns for a customer. BaseAdGroupCriteriaPerCustomer = 13, - /// Number of ad group criteria across all experiment campaigns for a - /// customer. + /// Number of ad group criteria across all experiment campaigns for a + /// customer. ExperimentAdGroupCriteriaPerCustomer = 107, - /// Number of ENABLED ad group criteria per campaign. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED. + /// Number of ENABLED ad group criteria per campaign. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED. AdGroupCriteriaPerCampaign = 14, - /// Number of ENABLED campaign criteria per customer. + /// Number of ENABLED campaign criteria per customer. CampaignCriteriaPerCustomer = 15, - /// Number of ENABLED campaign criteria across all base campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all base campaigns for a + /// customer. BaseCampaignCriteriaPerCustomer = 16, - /// Number of ENABLED campaign criteria across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all experiment campaigns for a + /// customer. ExperimentCampaignCriteriaPerCustomer = 108, - /// Number of ENABLED webpage criteria per customer, including - /// campaign level and ad group level. + /// Number of ENABLED webpage criteria per customer, including + /// campaign level and ad group level. WebpageCriteriaPerCustomer = 17, - /// Number of ENABLED webpage criteria across all base campaigns for - /// a customer. + /// Number of ENABLED webpage criteria across all base campaigns for + /// a customer. BaseWebpageCriteriaPerCustomer = 18, - /// Meximum number of ENABLED webpage criteria across all experiment - /// campaigns for a customer. + /// Meximum number of ENABLED webpage criteria across all experiment + /// campaigns for a customer. ExperimentWebpageCriteriaPerCustomer = 19, - /// Number of combined audience criteria per ad group. + /// Number of combined audience criteria per ad group. CombinedAudienceCriteriaPerAdGroup = 20, - /// Limit for placement criterion type group in customer negative criterion. + /// Limit for placement criterion type group in customer negative criterion. CustomerNegativePlacementCriteriaPerCustomer = 21, - /// Limit for YouTube TV channels in customer negative criterion. + /// Limit for YouTube TV channels in customer negative criterion. CustomerNegativeYoutubeChannelCriteriaPerCustomer = 22, - /// Number of ENABLED criteria per ad group. + /// Number of ENABLED criteria per ad group. CriteriaPerAdGroup = 23, - /// Number of listing group criteria per ad group. + /// Number of listing group criteria per ad group. ListingGroupsPerAdGroup = 24, - /// Number of ENABLED explicitly shared budgets per customer. + /// Number of ENABLED explicitly shared budgets per customer. ExplicitlySharedBudgetsPerCustomer = 25, - /// Number of ENABLED implicitly shared budgets per customer. + /// Number of ENABLED implicitly shared budgets per customer. ImplicitlySharedBudgetsPerCustomer = 26, - /// Number of combined audience criteria per campaign. + /// Number of combined audience criteria per campaign. CombinedAudienceCriteriaPerCampaign = 27, - /// Number of negative keywords per campaign. + /// Number of negative keywords per campaign. NegativeKeywordsPerCampaign = 28, - /// Number of excluded campaign criteria in placement dimension, e.g. - /// placement, mobile application, YouTube channel, etc. The API criterion - /// type is NOT limited to placement only, and this does not include - /// exclusions at the ad group or other levels. + /// Number of excluded campaign criteria in placement dimension, e.g. + /// placement, mobile application, YouTube channel, etc. The API criterion + /// type is NOT limited to placement only, and this does not include + /// exclusions at the ad group or other levels. NegativePlacementsPerCampaign = 29, - /// Number of geo targets per campaign. + /// Number of geo targets per campaign. GeoTargetsPerCampaign = 30, - /// Number of negative IP blocks per campaign. + /// Number of negative IP blocks per campaign. NegativeIpBlocksPerCampaign = 32, - /// Number of proximity targets per campaign. + /// Number of proximity targets per campaign. ProximitiesPerCampaign = 33, - /// Number of listing scopes per Shopping campaign. + /// Number of listing scopes per Shopping campaign. ListingScopesPerShoppingCampaign = 34, - /// Number of listing scopes per non-Shopping campaign. + /// Number of listing scopes per non-Shopping campaign. ListingScopesPerNonShoppingCampaign = 35, - /// Number of criteria per negative keyword shared set. + /// Number of criteria per negative keyword shared set. NegativeKeywordsPerSharedSet = 36, - /// Number of criteria per negative placement shared set. + /// Number of criteria per negative placement shared set. NegativePlacementsPerSharedSet = 37, - /// Default number of shared sets allowed per type per customer. + /// Default number of shared sets allowed per type per customer. SharedSetsPerCustomerForTypeDefault = 40, - /// Number of shared sets of negative placement list type for a - /// manager customer. + /// Number of shared sets of negative placement list type for a + /// manager customer. SharedSetsPerCustomerForNegativePlacementListLower = 41, - /// Number of hotel_advance_booking_window bid modifiers per ad group. + /// Number of hotel_advance_booking_window bid modifiers per ad group. HotelAdvanceBookingWindowBidModifiersPerAdGroup = 44, - /// Number of ENABLED shared bidding strategies per customer. + /// Number of ENABLED shared bidding strategies per customer. BiddingStrategiesPerCustomer = 45, - /// Number of open basic user lists per customer. + /// Number of open basic user lists per customer. BasicUserListsPerCustomer = 47, - /// Number of open logical user lists per customer. + /// Number of open logical user lists per customer. LogicalUserListsPerCustomer = 48, - /// Number of open rule based user lists per customer. + /// Number of open rule based user lists per customer. RuleBasedUserListsPerCustomer = 153, - /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a - /// customer. + /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a + /// customer. BaseAdGroupAdsPerCustomer = 53, - /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns - /// for a customer. + /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns + /// for a customer. ExperimentAdGroupAdsPerCustomer = 54, - /// Number of ENABLED and PAUSED ad group ads per campaign. + /// Number of ENABLED and PAUSED ad group ads per campaign. AdGroupAdsPerCampaign = 55, - /// Number of ENABLED ads per ad group that do not fall in to other buckets. - /// Includes text and many other types. + /// Number of ENABLED ads per ad group that do not fall in to other buckets. + /// Includes text and many other types. TextAndOtherAdsPerAdGroup = 56, - /// Number of ENABLED image ads per ad group. + /// Number of ENABLED image ads per ad group. ImageAdsPerAdGroup = 57, - /// Number of ENABLED shopping smart ads per ad group. + /// Number of ENABLED shopping smart ads per ad group. ShoppingSmartAdsPerAdGroup = 58, - /// Number of ENABLED responsive search ads per ad group. + /// Number of ENABLED responsive search ads per ad group. ResponsiveSearchAdsPerAdGroup = 59, - /// Number of ENABLED app ads per ad group. + /// Number of ENABLED app ads per ad group. AppAdsPerAdGroup = 60, - /// Number of ENABLED app engagement ads per ad group. + /// Number of ENABLED app engagement ads per ad group. AppEngagementAdsPerAdGroup = 61, - /// Number of ENABLED local ads per ad group. + /// Number of ENABLED local ads per ad group. LocalAdsPerAdGroup = 62, - /// Number of ENABLED video ads per ad group. + /// Number of ENABLED video ads per ad group. VideoAdsPerAdGroup = 63, - /// Number of ENABLED lead form CampaignAssets per campaign. + /// Number of ENABLED lead form CampaignAssets per campaign. LeadFormCampaignAssetsPerCampaign = 143, - /// Number of ENABLED promotion CustomerAssets per customer. + /// Number of ENABLED promotion CustomerAssets per customer. PromotionCustomerAssetsPerCustomer = 79, - /// Number of ENABLED promotion CampaignAssets per campaign. + /// Number of ENABLED promotion CampaignAssets per campaign. PromotionCampaignAssetsPerCampaign = 80, - /// Number of ENABLED promotion AdGroupAssets per ad group. + /// Number of ENABLED promotion AdGroupAssets per ad group. PromotionAdGroupAssetsPerAdGroup = 81, - /// Number of ENABLED callout CustomerAssets per customer. + /// Number of ENABLED callout CustomerAssets per customer. CalloutCustomerAssetsPerCustomer = 134, - /// Number of ENABLED callout CampaignAssets per campaign. + /// Number of ENABLED callout CampaignAssets per campaign. CalloutCampaignAssetsPerCampaign = 135, - /// Number of ENABLED callout AdGroupAssets per ad group. + /// Number of ENABLED callout AdGroupAssets per ad group. CalloutAdGroupAssetsPerAdGroup = 136, - /// Number of ENABLED sitelink CustomerAssets per customer. + /// Number of ENABLED sitelink CustomerAssets per customer. SitelinkCustomerAssetsPerCustomer = 137, - /// Number of ENABLED sitelink CampaignAssets per campaign. + /// Number of ENABLED sitelink CampaignAssets per campaign. SitelinkCampaignAssetsPerCampaign = 138, - /// Number of ENABLED sitelink AdGroupAssets per ad group. + /// Number of ENABLED sitelink AdGroupAssets per ad group. SitelinkAdGroupAssetsPerAdGroup = 139, - /// Number of ENABLED structured snippet CustomerAssets per customer. + /// Number of ENABLED structured snippet CustomerAssets per customer. StructuredSnippetCustomerAssetsPerCustomer = 140, - /// Number of ENABLED structured snippet CampaignAssets per campaign. + /// Number of ENABLED structured snippet CampaignAssets per campaign. StructuredSnippetCampaignAssetsPerCampaign = 141, - /// Number of ENABLED structured snippet AdGroupAssets per ad group. + /// Number of ENABLED structured snippet AdGroupAssets per ad group. StructuredSnippetAdGroupAssetsPerAdGroup = 142, - /// Number of ENABLED mobile app CustomerAssets per customer. + /// Number of ENABLED mobile app CustomerAssets per customer. MobileAppCustomerAssetsPerCustomer = 144, - /// Number of ENABLED mobile app CampaignAssets per campaign. + /// Number of ENABLED mobile app CampaignAssets per campaign. MobileAppCampaignAssetsPerCampaign = 145, - /// Number of ENABLED mobile app AdGroupAssets per ad group. + /// Number of ENABLED mobile app AdGroupAssets per ad group. MobileAppAdGroupAssetsPerAdGroup = 146, - /// Number of ENABLED hotel callout CustomerAssets per customer. + /// Number of ENABLED hotel callout CustomerAssets per customer. HotelCalloutCustomerAssetsPerCustomer = 147, - /// Number of ENABLED hotel callout CampaignAssets per campaign. + /// Number of ENABLED hotel callout CampaignAssets per campaign. HotelCalloutCampaignAssetsPerCampaign = 148, - /// Number of ENABLED hotel callout AdGroupAssets per ad group. + /// Number of ENABLED hotel callout AdGroupAssets per ad group. HotelCalloutAdGroupAssetsPerAdGroup = 149, - /// Number of ENABLED call CustomerAssets per customer. + /// Number of ENABLED call CustomerAssets per customer. CallCustomerAssetsPerCustomer = 150, - /// Number of ENABLED call CampaignAssets per campaign. + /// Number of ENABLED call CampaignAssets per campaign. CallCampaignAssetsPerCampaign = 151, - /// Number of ENABLED call AdGroupAssets per ad group. + /// Number of ENABLED call AdGroupAssets per ad group. CallAdGroupAssetsPerAdGroup = 152, - /// Number of ENABLED price CustomerAssets per customer. + /// Number of ENABLED price CustomerAssets per customer. PriceCustomerAssetsPerCustomer = 154, - /// Number of ENABLED price CampaignAssets per campaign. + /// Number of ENABLED price CampaignAssets per campaign. PriceCampaignAssetsPerCampaign = 155, - /// Number of ENABLED price AdGroupAssets per ad group. + /// Number of ENABLED price AdGroupAssets per ad group. PriceAdGroupAssetsPerAdGroup = 156, - /// Number of ENABLED page feed asset sets per customer. + /// Number of ENABLED page feed asset sets per customer. PageFeedAssetSetsPerCustomer = 157, - /// Number of ENABLED dynamic education feed asset sets per customer. + /// Number of ENABLED dynamic education feed asset sets per customer. DynamicEducationFeedAssetSetsPerCustomer = 158, - /// Number of ENABLED assets per page feed asset set. + /// Number of ENABLED assets per page feed asset set. AssetsPerPageFeedAssetSet = 159, - /// Number of ENABLED assets per dynamic education asset set. + /// Number of ENABLED assets per dynamic education asset set. AssetsPerDynamicEducationFeedAssetSet = 160, - /// Number of ENABLED dynamic real estate asset sets per customer. + /// Number of ENABLED dynamic real estate asset sets per customer. DynamicRealEstateAssetSetsPerCustomer = 161, - /// Number of ENABLED assets per dynamic real estate asset set. + /// Number of ENABLED assets per dynamic real estate asset set. AssetsPerDynamicRealEstateAssetSet = 162, - /// Number of ENABLED dynamic custom asset sets per customer. + /// Number of ENABLED dynamic custom asset sets per customer. DynamicCustomAssetSetsPerCustomer = 163, - /// Number of ENABLED assets per dynamic custom asset set. + /// Number of ENABLED assets per dynamic custom asset set. AssetsPerDynamicCustomAssetSet = 164, - /// Number of ENABLED dynamic hotels and rentals asset sets per - /// customer. + /// Number of ENABLED dynamic hotels and rentals asset sets per + /// customer. DynamicHotelsAndRentalsAssetSetsPerCustomer = 165, - /// Number of ENABLED assets per dynamic hotels and rentals asset set. + /// Number of ENABLED assets per dynamic hotels and rentals asset set. AssetsPerDynamicHotelsAndRentalsAssetSet = 166, - /// Number of ENABLED dynamic local asset sets per customer. + /// Number of ENABLED dynamic local asset sets per customer. DynamicLocalAssetSetsPerCustomer = 167, - /// Number of ENABLED assets per dynamic local asset set. + /// Number of ENABLED assets per dynamic local asset set. AssetsPerDynamicLocalAssetSet = 168, - /// Number of ENABLED dynamic flights asset sets per customer. + /// Number of ENABLED dynamic flights asset sets per customer. DynamicFlightsAssetSetsPerCustomer = 169, - /// Number of ENABLED assets per dynamic flights asset set. + /// Number of ENABLED assets per dynamic flights asset set. AssetsPerDynamicFlightsAssetSet = 170, - /// Number of ENABLED dynamic travel asset sets per customer. + /// Number of ENABLED dynamic travel asset sets per customer. DynamicTravelAssetSetsPerCustomer = 171, - /// Number of ENABLED assets per dynamic travel asset set. + /// Number of ENABLED assets per dynamic travel asset set. AssetsPerDynamicTravelAssetSet = 172, - /// Number of ENABLED dynamic jobs asset sets per customer. + /// Number of ENABLED dynamic jobs asset sets per customer. DynamicJobsAssetSetsPerCustomer = 173, - /// Number of ENABLED assets per dynamic jobs asset set. + /// Number of ENABLED assets per dynamic jobs asset set. AssetsPerDynamicJobsAssetSet = 174, - /// Number of versions per ad. + /// Number of versions per ad. VersionsPerAd = 82, - /// Number of ENABLED user feeds per customer. + /// Number of ENABLED user feeds per customer. UserFeedsPerCustomer = 90, - /// Number of ENABLED system feeds per customer. + /// Number of ENABLED system feeds per customer. SystemFeedsPerCustomer = 91, - /// Number of feed attributes per feed. + /// Number of feed attributes per feed. FeedAttributesPerFeed = 92, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemsPerCustomer = 94, - /// Number of ENABLED campaign feeds per customer. + /// Number of ENABLED campaign feeds per customer. CampaignFeedsPerCustomer = 95, - /// Number of ENABLED campaign feeds across all base campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all base campaigns for a + /// customer. BaseCampaignFeedsPerCustomer = 96, - /// Number of ENABLED campaign feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all experiment campaigns for a + /// customer. ExperimentCampaignFeedsPerCustomer = 109, - /// Number of ENABLED ad group feeds per customer. + /// Number of ENABLED ad group feeds per customer. AdGroupFeedsPerCustomer = 97, - /// Number of ENABLED ad group feeds across all base campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all base campaigns for a + /// customer. BaseAdGroupFeedsPerCustomer = 98, - /// Number of ENABLED ad group feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all experiment campaigns for a + /// customer. ExperimentAdGroupFeedsPerCustomer = 110, - /// Number of ENABLED ad group feeds per campaign. + /// Number of ENABLED ad group feeds per campaign. AdGroupFeedsPerCampaign = 99, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemSetsPerCustomer = 100, - /// Number of feed items per feed item set. + /// Number of feed items per feed item set. FeedItemsPerFeedItemSet = 101, - /// Number of ENABLED campaign experiments per customer. + /// Number of ENABLED campaign experiments per customer. CampaignExperimentsPerCustomer = 112, - /// Number of video experiment arms per experiment. + /// Number of video experiment arms per experiment. ExperimentArmsPerVideoExperiment = 113, - /// Number of owned labels per customer. + /// Number of owned labels per customer. OwnedLabelsPerCustomer = 115, - /// Number of applied labels per campaign. + /// Number of applied labels per campaign. LabelsPerCampaign = 117, - /// Number of applied labels per ad group. + /// Number of applied labels per ad group. LabelsPerAdGroup = 118, - /// Number of applied labels per ad group ad. + /// Number of applied labels per ad group ad. LabelsPerAdGroupAd = 119, - /// Number of applied labels per ad group criterion. + /// Number of applied labels per ad group criterion. LabelsPerAdGroupCriterion = 120, - /// Number of customers with a single label applied. + /// Number of customers with a single label applied. TargetCustomersPerLabel = 121, - /// Number of ENABLED keyword plans per user per customer. - /// The limit is applied per pair because by default a plan - /// is private to a user of a customer. Each user of a customer has his or - /// her own independent limit. + /// Number of ENABLED keyword plans per user per customer. + /// The limit is applied per pair because by default a plan + /// is private to a user of a customer. Each user of a customer has his or + /// her own independent limit. KeywordPlansPerUserPerCustomer = 122, - /// Number of keyword plan ad group keywords per keyword plan. + /// Number of keyword plan ad group keywords per keyword plan. KeywordPlanAdGroupKeywordsPerKeywordPlan = 123, - /// Number of keyword plan ad groups per keyword plan. + /// Number of keyword plan ad groups per keyword plan. KeywordPlanAdGroupsPerKeywordPlan = 124, - /// Number of keyword plan negative keywords (both campaign and ad group) per - /// keyword plan. + /// Number of keyword plan negative keywords (both campaign and ad group) per + /// keyword plan. KeywordPlanNegativeKeywordsPerKeywordPlan = 125, - /// Number of keyword plan campaigns per keyword plan. + /// Number of keyword plan campaigns per keyword plan. KeywordPlanCampaignsPerKeywordPlan = 126, - /// Number of ENABLED conversion actions per customer. + /// Number of ENABLED conversion actions per customer. ConversionActionsPerCustomer = 128, - /// Number of operations in a single batch job. + /// Number of operations in a single batch job. BatchJobOperationsPerJob = 130, - /// Number of PENDING or ENABLED batch jobs per customer. + /// Number of PENDING or ENABLED batch jobs per customer. BatchJobsPerCustomer = 131, - /// Number of hotel check-in date range bid modifiers per ad agroup. + /// Number of hotel check-in date range bid modifiers per ad agroup. HotelCheckInDateRangeBidModifiersPerAdGroup = 132, } impl ResourceLimitType { @@ -14348,24 +14348,24 @@ pub mod resource_limit_type_enum { } } } -// Proto file describing the response content types used in mutate operations. +// Proto file describing the response content types used in mutate operations. -/// Container for possible response content types. +/// Container for possible response content types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseContentTypeEnum { } /// Nested message and enum types in `ResponseContentTypeEnum`. pub mod response_content_type_enum { - /// Possible response content types. + /// Possible response content types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResponseContentType { - /// Not specified. Will return the resource name only in the response. + /// Not specified. Will return the resource name only in the response. Unspecified = 0, - /// The mutate response will be the resource name. + /// The mutate response will be the resource name. ResourceNameOnly = 1, - /// The mutate response will be the resource name and the resource with - /// all mutable fields. + /// The mutate response will be the resource name and the resource with + /// all mutable fields. MutableResource = 2, } impl ResponseContentType { @@ -14382,31 +14382,31 @@ pub mod response_content_type_enum { } } } -// Proto file describing search term targeting statuses. +// Proto file describing search term targeting statuses. -/// Container for enum indicating whether a search term is one of your targeted -/// or excluded keywords. +/// Container for enum indicating whether a search term is one of your targeted +/// or excluded keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermTargetingStatusEnum { } /// Nested message and enum types in `SearchTermTargetingStatusEnum`. pub mod search_term_targeting_status_enum { - /// Indicates whether the search term is one of your targeted or excluded - /// keywords. + /// Indicates whether the search term is one of your targeted or excluded + /// keywords. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermTargetingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search term is added to targeted keywords. + /// Search term is added to targeted keywords. Added = 2, - /// Search term matches a negative keyword. + /// Search term matches a negative keyword. Excluded = 3, - /// Search term has been both added and excluded. + /// Search term has been both added and excluded. AddedExcluded = 4, - /// Search term is neither targeted nor excluded. + /// Search term is neither targeted nor excluded. None = 5, } impl SearchTermTargetingStatus { @@ -14426,33 +14426,33 @@ pub mod search_term_targeting_status_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event scopes. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event scopes. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventScopeEnum { } /// Nested message and enum types in `SeasonalityEventScopeEnum`. pub mod seasonality_event_scope_enum { - /// The possible scopes of a Seasonality Event. + /// The possible scopes of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventScope { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is applied to all the customer's traffic for - /// supported advertising channel types and device types. The CUSTOMER scope - /// cannot be used in mutates. + /// The seasonality event is applied to all the customer's traffic for + /// supported advertising channel types and device types. The CUSTOMER scope + /// cannot be used in mutates. Customer = 2, - /// The seasonality event is applied to all specified campaigns. + /// The seasonality event is applied to all specified campaigns. Campaign = 4, - /// The seasonality event is applied to all campaigns that belong to - /// specified channel types. + /// The seasonality event is applied to all campaigns that belong to + /// specified channel types. Channel = 5, } impl SeasonalityEventScope { @@ -14471,28 +14471,28 @@ pub mod seasonality_event_scope_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event statuses. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event statuses. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventStatusEnum { } /// Nested message and enum types in `SeasonalityEventStatusEnum`. pub mod seasonality_event_status_enum { - /// The possible statuses of a Seasonality Event. + /// The possible statuses of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is enabled. + /// The seasonality event is enabled. Enabled = 2, - /// The seasonality event is removed. + /// The seasonality event is removed. Removed = 4, } impl SeasonalityEventStatus { @@ -14510,25 +14510,25 @@ pub mod seasonality_event_status_enum { } } } -// Proto file describing shared set statuses. +// Proto file describing shared set statuses. -/// Container for enum describing types of shared set statuses. +/// Container for enum describing types of shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetStatusEnum { } /// Nested message and enum types in `SharedSetStatusEnum`. pub mod shared_set_status_enum { - /// Enum listing the possible shared set statuses. + /// Enum listing the possible shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The shared set is enabled. + /// The shared set is enabled. Enabled = 2, - /// The shared set is removed and can no longer be used. + /// The shared set is removed and can no longer be used. Removed = 3, } impl SharedSetStatus { @@ -14546,25 +14546,25 @@ pub mod shared_set_status_enum { } } } -// Proto file describing shared set types. +// Proto file describing shared set types. -/// Container for enum describing types of shared sets. +/// Container for enum describing types of shared sets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetTypeEnum { } /// Nested message and enum types in `SharedSetTypeEnum`. pub mod shared_set_type_enum { - /// Enum listing the possible shared set types. + /// Enum listing the possible shared set types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A set of keywords that can be excluded from targeting. + /// A set of keywords that can be excluded from targeting. NegativeKeywords = 2, - /// A set of placements that can be excluded from targeting. + /// A set of placements that can be excluded from targeting. NegativePlacements = 3, } impl SharedSetType { @@ -14582,33 +14582,33 @@ pub mod shared_set_type_enum { } } } -// Proto file describing simulation modification methods. +// Proto file describing simulation modification methods. -/// Container for enum describing the method by which a simulation modifies -/// a field. +/// Container for enum describing the method by which a simulation modifies +/// a field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationModificationMethodEnum { } /// Nested message and enum types in `SimulationModificationMethodEnum`. pub mod simulation_modification_method_enum { - /// Enum describing the method by which a simulation modifies a field. + /// Enum describing the method by which a simulation modifies a field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationModificationMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The values in a simulation were applied to all children of a given - /// resource uniformly. Overrides on child resources were not respected. + /// The values in a simulation were applied to all children of a given + /// resource uniformly. Overrides on child resources were not respected. Uniform = 2, - /// The values in a simulation were applied to the given resource. - /// Overrides on child resources were respected, and traffic estimates - /// do not include these resources. + /// The values in a simulation were applied to the given resource. + /// Overrides on child resources were respected, and traffic estimates + /// do not include these resources. Default = 3, - /// The values in a simulation were all scaled by the same factor. - /// For example, in a simulated TargetCpa campaign, the campaign target and - /// all ad group targets were scaled by a factor of X. + /// The values in a simulation were all scaled by the same factor. + /// For example, in a simulated TargetCpa campaign, the campaign target and + /// all ad group targets were scaled by a factor of X. Scaling = 4, } impl SimulationModificationMethod { @@ -14627,37 +14627,37 @@ pub mod simulation_modification_method_enum { } } } -// Proto file describing simulation types. +// Proto file describing simulation types. -/// Container for enum describing the field a simulation modifies. +/// Container for enum describing the field a simulation modifies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationTypeEnum { } /// Nested message and enum types in `SimulationTypeEnum`. pub mod simulation_type_enum { - /// Enum describing the field a simulation modifies. + /// Enum describing the field a simulation modifies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The simulation is for a CPC bid. + /// The simulation is for a CPC bid. CpcBid = 2, - /// The simulation is for a CPV bid. + /// The simulation is for a CPV bid. CpvBid = 3, - /// The simulation is for a CPA target. + /// The simulation is for a CPA target. TargetCpa = 4, - /// The simulation is for a bid modifier. + /// The simulation is for a bid modifier. BidModifier = 5, - /// The simulation is for a ROAS target. + /// The simulation is for a ROAS target. TargetRoas = 6, - /// The simulation is for a percent CPC bid. + /// The simulation is for a percent CPC bid. PercentCpcBid = 7, - /// The simulation is for an impression share target. + /// The simulation is for an impression share target. TargetImpressionShare = 8, - /// The simulation is for a budget. + /// The simulation is for a budget. Budget = 9, } impl SimulationType { @@ -14681,39 +14681,39 @@ pub mod simulation_type_enum { } } } -// Proto file describing Sitelink placeholder fields. +// Proto file describing Sitelink placeholder fields. -/// Values for Sitelink placeholder fields. +/// Values for Sitelink placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkPlaceholderFieldEnum { } /// Nested message and enum types in `SitelinkPlaceholderFieldEnum`. pub mod sitelink_placeholder_field_enum { - /// Possible values for Sitelink placeholder fields. + /// Possible values for Sitelink placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SitelinkPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The link text for your sitelink. + /// Data Type: STRING. The link text for your sitelink. Text = 2, - /// Data Type: STRING. First line of the sitelink description. + /// Data Type: STRING. First line of the sitelink description. Line1 = 3, - /// Data Type: STRING. Second line of the sitelink description. + /// Data Type: STRING. Second line of the sitelink description. Line2 = 4, - /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded + /// URLs. FinalUrls = 5, - /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using + /// Upgraded URLs. FinalMobileUrls = 6, - /// Data Type: URL. Tracking template for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the sitelink when using Upgraded + /// URLs. TrackingUrl = 7, - /// Data Type: STRING. Final URL suffix for sitelink when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for sitelink when using parallel + /// tracking. FinalUrlSuffix = 8, } impl SitelinkPlaceholderField { @@ -14736,24 +14736,24 @@ pub mod sitelink_placeholder_field_enum { } } } -// Proto file describing SpendingLimit types. +// Proto file describing SpendingLimit types. -/// Message describing spending limit types. +/// Message describing spending limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpendingLimitTypeEnum { } /// Nested message and enum types in `SpendingLimitTypeEnum`. pub mod spending_limit_type_enum { - /// The possible spending limit types used by certain resources as an - /// alternative to absolute money values in micros. + /// The possible spending limit types used by certain resources as an + /// alternative to absolute money values in micros. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SpendingLimitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Infinite, indicates unlimited spending power. + /// Infinite, indicates unlimited spending power. Infinite = 2, } impl SpendingLimitType { @@ -14770,30 +14770,30 @@ pub mod spending_limit_type_enum { } } } -// Proto file describing Structured Snippet placeholder fields. +// Proto file describing Structured Snippet placeholder fields. -/// Values for Structured Snippet placeholder fields. +/// Values for Structured Snippet placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetPlaceholderFieldEnum { } /// Nested message and enum types in `StructuredSnippetPlaceholderFieldEnum`. pub mod structured_snippet_placeholder_field_enum { - /// Possible values for Structured Snippet placeholder fields. + /// Possible values for Structured Snippet placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StructuredSnippetPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The category of snippet of your products/services. - /// Must match exactly one of the predefined structured snippets headers. - /// For a list, visit - /// + /// Data Type: STRING. The category of snippet of your products/services. + /// Must match exactly one of the predefined structured snippets headers. + /// For a list, visit + /// Header = 2, - /// Data Type: STRING_LIST. Text values that describe your products/services. - /// All text must be family safe. Special or non-ASCII characters are not - /// permitted. A snippet can be at most 25 characters. + /// Data Type: STRING_LIST. Text values that describe your products/services. + /// All text must be family safe. Special or non-ASCII characters are not + /// permitted. A snippet can be at most 25 characters. Snippets = 3, } impl StructuredSnippetPlaceholderField { @@ -14811,28 +14811,28 @@ pub mod structured_snippet_placeholder_field_enum { } } } -// Proto file describing summary row setting. +// Proto file describing summary row setting. -/// Indicates summary row setting in request parameter. +/// Indicates summary row setting in request parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SummaryRowSettingEnum { } /// Nested message and enum types in `SummaryRowSettingEnum`. pub mod summary_row_setting_enum { - /// Enum describing return summary row settings. + /// Enum describing return summary row settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SummaryRowSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represent unknown values of return summary row. + /// Represent unknown values of return summary row. Unknown = 1, - /// Do not return summary row. + /// Do not return summary row. NoSummaryRow = 2, - /// Return summary row along with results. The summary row will be returned - /// in the last batch alone (last batch will contain no results). + /// Return summary row along with results. The summary row will be returned + /// in the last batch alone (last batch will contain no results). SummaryRowWithResults = 3, - /// Return summary row only and return no results. + /// Return summary row only and return no results. SummaryRowOnly = 4, } impl SummaryRowSetting { @@ -14851,23 +14851,23 @@ pub mod summary_row_setting_enum { } } } -// Proto file describing system managed entity sources. +// Proto file describing system managed entity sources. -/// Container for enum describing possible system managed entity sources. +/// Container for enum describing possible system managed entity sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemManagedResourceSourceEnum { } /// Nested message and enum types in `SystemManagedResourceSourceEnum`. pub mod system_managed_resource_source_enum { - /// Enum listing the possible system managed entity sources. + /// Enum listing the possible system managed entity sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SystemManagedResourceSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Generated ad variations experiment ad. + /// Generated ad variations experiment ad. AdVariations = 2, } impl SystemManagedResourceSource { @@ -14884,30 +14884,30 @@ pub mod system_managed_resource_source_enum { } } } -// Proto file describing TargetCpaOptIn recommendation goals. +// Proto file describing TargetCpaOptIn recommendation goals. -/// Container for enum describing goals for TargetCpaOptIn recommendation. +/// Container for enum describing goals for TargetCpaOptIn recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationGoalEnum { } /// Nested message and enum types in `TargetCpaOptInRecommendationGoalEnum`. pub mod target_cpa_opt_in_recommendation_goal_enum { - /// Goal of TargetCpaOptIn recommendation. + /// Goal of TargetCpaOptIn recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetCpaOptInRecommendationGoal { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Recommendation to set Target CPA to maintain the same cost. + /// Recommendation to set Target CPA to maintain the same cost. SameCost = 2, - /// Recommendation to set Target CPA to maintain the same conversions. + /// Recommendation to set Target CPA to maintain the same conversions. SameConversions = 3, - /// Recommendation to set Target CPA to maintain the same CPA. + /// Recommendation to set Target CPA to maintain the same CPA. SameCpa = 4, - /// Recommendation to set Target CPA to a value that is as close as possible - /// to, yet lower than, the actual CPA (computed for past 28 days). + /// Recommendation to set Target CPA to a value that is as close as possible + /// to, yet lower than, the actual CPA (computed for past 28 days). ClosestCpa = 5, } impl TargetCpaOptInRecommendationGoal { @@ -14927,26 +14927,26 @@ pub mod target_cpa_opt_in_recommendation_goal_enum { } } } -// Proto file describing TimeType types. +// Proto file describing TimeType types. -/// Message describing time types. +/// Message describing time types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeTypeEnum { } /// Nested message and enum types in `TimeTypeEnum`. pub mod time_type_enum { - /// The possible time types used by certain resources as an alternative to - /// absolute timestamps. + /// The possible time types used by certain resources as an alternative to + /// absolute timestamps. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// As soon as possible. + /// As soon as possible. Now = 2, - /// An infinite point in the future. + /// An infinite point in the future. Forever = 3, } impl TimeType { @@ -14964,85 +14964,85 @@ pub mod time_type_enum { } } } -// Proto file describing Travel placeholder fields. +// Proto file describing Travel placeholder fields. -/// Values for Travel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Travel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TravelPlaceholderFieldEnum { } /// Nested message and enum types in `TravelPlaceholderFieldEnum`. pub mod travel_placeholder_field_enum { - /// Possible values for Travel placeholder fields. + /// Possible values for Travel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TravelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Combination of DESTINATION_ID and ORIGIN_ID must be - /// unique per offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Combination of DESTINATION_ID and ORIGIN_ID must be + /// unique per offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with name to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with name to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. The destination name. Shorter names are recommended. + /// Data Type: STRING. The destination name. Shorter names are recommended. DestinationName = 5, - /// Data Type: STRING. Origin name. Shorter names are recommended. + /// Data Type: STRING. Origin name. Shorter names are recommended. OriginName = 6, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of travel offer used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of travel offer used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: STRING. Address of travel offer, including postal code. + /// Data Type: STRING. Address of travel offer, including postal code. DestinationAddress = 14, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific travel offer and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific travel offer and its location). FinalUrl = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl TravelPlaceholderField { @@ -15078,31 +15078,31 @@ pub mod travel_placeholder_field_enum { } } } -// Proto file describing the UserInterest taxonomy type +// Proto file describing the UserInterest taxonomy type -/// Message describing a UserInterestTaxonomyType. +/// Message describing a UserInterestTaxonomyType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestTaxonomyTypeEnum { } /// Nested message and enum types in `UserInterestTaxonomyTypeEnum`. pub mod user_interest_taxonomy_type_enum { - /// Enum containing the possible UserInterestTaxonomyTypes. + /// Enum containing the possible UserInterestTaxonomyTypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserInterestTaxonomyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The affinity for this user interest. + /// The affinity for this user interest. Affinity = 2, - /// The market for this user interest. + /// The market for this user interest. InMarket = 3, - /// Users known to have installed applications in the specified categories. + /// Users known to have installed applications in the specified categories. MobileAppInstallUser = 4, - /// The geographical location of the interest-based vertical. + /// The geographical location of the interest-based vertical. VerticalGeo = 5, - /// User interest criteria for new smart phone users. + /// User interest criteria for new smart phone users. NewSmartPhoneUser = 6, } impl UserInterestTaxonomyType { @@ -15123,25 +15123,25 @@ pub mod user_interest_taxonomy_type_enum { } } } -// Proto file describing user list access status. +// Proto file describing user list access status. -/// Indicates if this client still has access to the list. +/// Indicates if this client still has access to the list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListAccessStatusEnum { } /// Nested message and enum types in `UserListAccessStatusEnum`. pub mod user_list_access_status_enum { - /// Enum containing possible user list access statuses. + /// Enum containing possible user list access statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListAccessStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The access is enabled. + /// The access is enabled. Enabled = 2, - /// The access is disabled. + /// The access is disabled. Disabled = 3, } impl UserListAccessStatus { @@ -15159,24 +15159,24 @@ pub mod user_list_access_status_enum { } } } -// Proto file describing user list closing reason. +// Proto file describing user list closing reason. -/// Indicates the reason why the userlist was closed. -/// This enum is only used when a list is auto-closed by the system. +/// Indicates the reason why the userlist was closed. +/// This enum is only used when a list is auto-closed by the system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListClosingReasonEnum { } /// Nested message and enum types in `UserListClosingReasonEnum`. pub mod user_list_closing_reason_enum { - /// Enum describing possible user list closing reasons. + /// Enum describing possible user list closing reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListClosingReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The userlist was closed because of not being used for over one year. + /// The userlist was closed because of not being used for over one year. Unused = 2, } impl UserListClosingReason { @@ -15193,27 +15193,27 @@ pub mod user_list_closing_reason_enum { } } } -// Proto file describing user list membership status. +// Proto file describing user list membership status. -/// Membership status of this user list. Indicates whether a user list is open -/// or active. Only open user lists can accumulate more users and can be used for -/// targeting. +/// Membership status of this user list. Indicates whether a user list is open +/// or active. Only open user lists can accumulate more users and can be used for +/// targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListMembershipStatusEnum { } /// Nested message and enum types in `UserListMembershipStatusEnum`. pub mod user_list_membership_status_enum { - /// Enum containing possible user list membership statuses. + /// Enum containing possible user list membership statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListMembershipStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Open status - List is accruing members and can be targeted to. + /// Open status - List is accruing members and can be targeted to. Open = 2, - /// Closed status - No new members being added. Cannot be used for targeting. + /// Closed status - No new members being added. Cannot be used for targeting. Closed = 3, } impl UserListMembershipStatus { @@ -15231,53 +15231,53 @@ pub mod user_list_membership_status_enum { } } } -// Proto file describing user list size range. +// Proto file describing user list size range. -/// Size range in terms of number of users of a UserList. +/// Size range in terms of number of users of a UserList. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListSizeRangeEnum { } /// Nested message and enum types in `UserListSizeRangeEnum`. pub mod user_list_size_range_enum { - /// Enum containing possible user list size ranges. + /// Enum containing possible user list size ranges. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListSizeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User list has less than 500 users. + /// User list has less than 500 users. LessThanFiveHundred = 2, - /// User list has number of users in range of 500 to 1000. + /// User list has number of users in range of 500 to 1000. LessThanOneThousand = 3, - /// User list has number of users in range of 1000 to 10000. + /// User list has number of users in range of 1000 to 10000. OneThousandToTenThousand = 4, - /// User list has number of users in range of 10000 to 50000. + /// User list has number of users in range of 10000 to 50000. TenThousandToFiftyThousand = 5, - /// User list has number of users in range of 50000 to 100000. + /// User list has number of users in range of 50000 to 100000. FiftyThousandToOneHundredThousand = 6, - /// User list has number of users in range of 100000 to 300000. + /// User list has number of users in range of 100000 to 300000. OneHundredThousandToThreeHundredThousand = 7, - /// User list has number of users in range of 300000 to 500000. + /// User list has number of users in range of 300000 to 500000. ThreeHundredThousandToFiveHundredThousand = 8, - /// User list has number of users in range of 500000 to 1 million. + /// User list has number of users in range of 500000 to 1 million. FiveHundredThousandToOneMillion = 9, - /// User list has number of users in range of 1 to 2 millions. + /// User list has number of users in range of 1 to 2 millions. OneMillionToTwoMillion = 10, - /// User list has number of users in range of 2 to 3 millions. + /// User list has number of users in range of 2 to 3 millions. TwoMillionToThreeMillion = 11, - /// User list has number of users in range of 3 to 5 millions. + /// User list has number of users in range of 3 to 5 millions. ThreeMillionToFiveMillion = 12, - /// User list has number of users in range of 5 to 10 millions. + /// User list has number of users in range of 5 to 10 millions. FiveMillionToTenMillion = 13, - /// User list has number of users in range of 10 to 20 millions. + /// User list has number of users in range of 10 to 20 millions. TenMillionToTwentyMillion = 14, - /// User list has number of users in range of 20 to 30 millions. + /// User list has number of users in range of 20 to 30 millions. TwentyMillionToThirtyMillion = 15, - /// User list has number of users in range of 30 to 50 millions. + /// User list has number of users in range of 30 to 50 millions. ThirtyMillionToFiftyMillion = 16, - /// User list has over 50 million users. + /// User list has over 50 million users. OverFiftyMillion = 17, } impl UserListSizeRange { @@ -15309,34 +15309,34 @@ pub mod user_list_size_range_enum { } } } -// Proto file describing user list type. +// Proto file describing user list type. -/// The user list types. +/// The user list types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListTypeEnum { } /// Nested message and enum types in `UserListTypeEnum`. pub mod user_list_type_enum { - /// Enum containing possible user list types. + /// Enum containing possible user list types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// UserList represented as a collection of conversion types. + /// UserList represented as a collection of conversion types. Remarketing = 2, - /// UserList represented as a combination of other user lists/interests. + /// UserList represented as a combination of other user lists/interests. Logical = 3, - /// UserList created in the Google Ad Manager platform. + /// UserList created in the Google Ad Manager platform. ExternalRemarketing = 4, - /// UserList associated with a rule. + /// UserList associated with a rule. RuleBased = 5, - /// UserList with users similar to users of another UserList. + /// UserList with users similar to users of another UserList. Similar = 6, - /// UserList of first-party CRM data provided by advertiser in the form of - /// emails or other formats. + /// UserList of first-party CRM data provided by advertiser in the form of + /// emails or other formats. CrmBased = 7, } impl UserListType { @@ -15358,28 +15358,28 @@ pub mod user_list_type_enum { } } } -// Proto file describing conversion value rule device type. +// Proto file describing conversion value rule device type. -/// Container for enum describing possible device types used in a conversion -/// value rule. +/// Container for enum describing possible device types used in a conversion +/// value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceTypeEnum { } /// Nested message and enum types in `ValueRuleDeviceTypeEnum`. pub mod value_rule_device_type_enum { - /// Possible device types used in conversion value rule. + /// Possible device types used in conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile device. + /// Mobile device. Mobile = 2, - /// Desktop device. + /// Desktop device. Desktop = 3, - /// Tablet device. + /// Tablet device. Tablet = 4, } impl ValueRuleDeviceType { @@ -15398,26 +15398,26 @@ pub mod value_rule_device_type_enum { } } } -// Proto file describing conversion value rule geo location match type. +// Proto file describing conversion value rule geo location match type. -/// Container for enum describing possible geographic location matching types -/// used in a conversion value rule. +/// Container for enum describing possible geographic location matching types +/// used in a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationMatchTypeEnum { } /// Nested message and enum types in `ValueRuleGeoLocationMatchTypeEnum`. pub mod value_rule_geo_location_match_type_enum { - /// Possible geographic location matching types. + /// Possible geographic location matching types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleGeoLocationMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Either Area of Interest or Location of Presence can be used to match. + /// Either Area of Interest or Location of Presence can be used to match. Any = 2, - /// Only Location of Presence can be used to match. + /// Only Location of Presence can be used to match. LocationOfPresence = 3, } impl ValueRuleGeoLocationMatchType { @@ -15435,28 +15435,28 @@ pub mod value_rule_geo_location_match_type_enum { } } } -// Proto file describing conversion value rule operation. +// Proto file describing conversion value rule operation. -/// Container for enum describing possible operations for value rules which are -/// executed when rules are triggered. +/// Container for enum describing possible operations for value rules which are +/// executed when rules are triggered. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleOperationEnum { } /// Nested message and enum types in `ValueRuleOperationEnum`. pub mod value_rule_operation_enum { - /// Possible operations of the action of a conversion value rule. + /// Possible operations of the action of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleOperation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add provided value to conversion value. + /// Add provided value to conversion value. Add = 2, - /// Multiply conversion value by provided value. + /// Multiply conversion value by provided value. Multiply = 3, - /// Set conversion value to provided value. + /// Set conversion value to provided value. Set = 4, } impl ValueRuleOperation { @@ -15475,25 +15475,25 @@ pub mod value_rule_operation_enum { } } } -// Proto file describing where the conversion value rule is attached. +// Proto file describing where the conversion value rule is attached. -/// Container for enum describing where a value rule set is attached. +/// Container for enum describing where a value rule set is attached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetAttachmentTypeEnum { } /// Nested message and enum types in `ValueRuleSetAttachmentTypeEnum`. pub mod value_rule_set_attachment_type_enum { - /// Possible level where a value rule set is attached. + /// Possible level where a value rule set is attached. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetAttachmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Attached to the customer. + /// Attached to the customer. Customer = 2, - /// Attached to a campaign. + /// Attached to a campaign. Campaign = 3, } impl ValueRuleSetAttachmentType { @@ -15511,30 +15511,30 @@ pub mod value_rule_set_attachment_type_enum { } } } -// Proto file describing conversion value rule set dimension. +// Proto file describing conversion value rule set dimension. -/// Container for enum describing possible dimensions of a conversion value rule -/// set. +/// Container for enum describing possible dimensions of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetDimensionEnum { } /// Nested message and enum types in `ValueRuleSetDimensionEnum`. pub mod value_rule_set_dimension_enum { - /// Possible dimensions of a conversion value rule set. + /// Possible dimensions of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dimension for geo location. + /// Dimension for geo location. GeoLocation = 2, - /// Dimension for device type. + /// Dimension for device type. Device = 3, - /// Dimension for audience. + /// Dimension for audience. Audience = 4, - /// This dimension implies the rule will always apply. + /// This dimension implies the rule will always apply. NoCondition = 5, } impl ValueRuleSetDimension { @@ -15554,25 +15554,25 @@ pub mod value_rule_set_dimension_enum { } } } -// Proto file describing vanity pharma display url modes. +// Proto file describing vanity pharma display url modes. -/// The display mode for vanity pharma URLs. +/// The display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaDisplayUrlModeEnum { } /// Nested message and enum types in `VanityPharmaDisplayUrlModeEnum`. pub mod vanity_pharma_display_url_mode_enum { - /// Enum describing possible display modes for vanity pharma URLs. + /// Enum describing possible display modes for vanity pharma URLs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaDisplayUrlMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Replace vanity pharma URL with manufacturer website url. + /// Replace vanity pharma URL with manufacturer website url. ManufacturerWebsiteUrl = 2, - /// Replace vanity pharma URL with description of the website. + /// Replace vanity pharma URL with description of the website. WebsiteDescription = 3, } impl VanityPharmaDisplayUrlMode { @@ -15590,52 +15590,52 @@ pub mod vanity_pharma_display_url_mode_enum { } } } -// Proto file describing vanity pharma texts. +// Proto file describing vanity pharma texts. -/// The text that will be displayed in display URL of the text ad when website -/// description is the selected display mode for vanity pharma URLs. +/// The text that will be displayed in display URL of the text ad when website +/// description is the selected display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaTextEnum { } /// Nested message and enum types in `VanityPharmaTextEnum`. pub mod vanity_pharma_text_enum { - /// Enum describing possible text. + /// Enum describing possible text. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaText { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prescription treatment website with website content in English. + /// Prescription treatment website with website content in English. PrescriptionTreatmentWebsiteEn = 2, - /// Prescription treatment website with website content in Spanish - /// (Sitio de tratamientos con receta). + /// Prescription treatment website with website content in Spanish + /// (Sitio de tratamientos con receta). PrescriptionTreatmentWebsiteEs = 3, - /// Prescription device website with website content in English. + /// Prescription device website with website content in English. PrescriptionDeviceWebsiteEn = 4, - /// Prescription device website with website content in Spanish (Sitio de - /// dispositivos con receta). + /// Prescription device website with website content in Spanish (Sitio de + /// dispositivos con receta). PrescriptionDeviceWebsiteEs = 5, - /// Medical device website with website content in English. + /// Medical device website with website content in English. MedicalDeviceWebsiteEn = 6, - /// Medical device website with website content in Spanish (Sitio de - /// dispositivos médicos). + /// Medical device website with website content in Spanish (Sitio de + /// dispositivos médicos). MedicalDeviceWebsiteEs = 7, - /// Preventative treatment website with website content in English. + /// Preventative treatment website with website content in English. PreventativeTreatmentWebsiteEn = 8, - /// Preventative treatment website with website content in Spanish (Sitio de - /// tratamientos preventivos). + /// Preventative treatment website with website content in Spanish (Sitio de + /// tratamientos preventivos). PreventativeTreatmentWebsiteEs = 9, - /// Prescription contraception website with website content in English. + /// Prescription contraception website with website content in English. PrescriptionContraceptionWebsiteEn = 10, - /// Prescription contraception website with website content in Spanish (Sitio - /// de anticonceptivos con receta). + /// Prescription contraception website with website content in Spanish (Sitio + /// de anticonceptivos con receta). PrescriptionContraceptionWebsiteEs = 11, - /// Prescription vaccine website with website content in English. + /// Prescription vaccine website with website content in English. PrescriptionVaccineWebsiteEn = 12, - /// Prescription vaccine website with website content in Spanish (Sitio de - /// vacunas con receta). + /// Prescription vaccine website with website content in Spanish (Sitio de + /// vacunas con receta). PrescriptionVaccineWebsiteEs = 13, } impl VanityPharmaText { diff --git a/gcloud-sdk/genproto/google.ads.googleads.v10.errors.rs b/gcloud-sdk/genproto/google.ads.googleads.v10.errors.rs index 58e1e44d0..2fae89701 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v10.errors.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v10.errors.rs @@ -1,35 +1,35 @@ -// Proto file describing AccessInvitation errors. +// Proto file describing AccessInvitation errors. -/// Container for enum describing possible AccessInvitation errors. +/// Container for enum describing possible AccessInvitation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationErrorEnum { } /// Nested message and enum types in `AccessInvitationErrorEnum`. pub mod access_invitation_error_enum { - /// Enum describing possible AccessInvitation errors. + /// Enum describing possible AccessInvitation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The email address is invalid for sending an invitation. + /// The email address is invalid for sending an invitation. InvalidEmailAddress = 2, - /// Email address already has access to this customer. + /// Email address already has access to this customer. EmailAddressAlreadyHasAccess = 3, - /// Invalid invitation status for the operation. + /// Invalid invitation status for the operation. InvalidInvitationStatus = 4, - /// Email address cannot be like abc+foo@google.com. + /// Email address cannot be like abc+foo@google.com. GoogleConsumerAccountNotAllowed = 5, - /// Invalid invitation id. + /// Invalid invitation id. InvalidInvitationId = 6, - /// Email address already has a pending invitation. + /// Email address already has a pending invitation. EmailAddressAlreadyHasPendingInvitation = 7, - /// Pending invitation limit exceeded for the customer. + /// Pending invitation limit exceeded for the customer. PendingInvitationsLimitExceeded = 8, - /// Email address doesn't conform to the email domain policy. Please see - /// + /// Email address doesn't conform to the email domain policy. Please see + /// EmailDomainPolicyViolated = 9, } impl AccessInvitationError { @@ -53,75 +53,75 @@ pub mod access_invitation_error_enum { } } } -// Proto file describing account budget proposal errors. +// Proto file describing account budget proposal errors. -/// Container for enum describing possible account budget proposal errors. +/// Container for enum describing possible account budget proposal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalErrorEnum { } /// Nested message and enum types in `AccountBudgetProposalErrorEnum`. pub mod account_budget_proposal_error_enum { - /// Enum describing possible account budget proposal errors. + /// Enum describing possible account budget proposal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be empty for create/end/remove proposals. + /// The field mask must be empty for create/end/remove proposals. FieldMaskNotAllowed = 2, - /// The field cannot be set because of the proposal type. + /// The field cannot be set because of the proposal type. ImmutableField = 3, - /// The field is required because of the proposal type. + /// The field is required because of the proposal type. RequiredFieldMissing = 4, - /// Proposals that have been approved cannot be cancelled. + /// Proposals that have been approved cannot be cancelled. CannotCancelApprovedProposal = 5, - /// Budgets that haven't been approved cannot be removed. + /// Budgets that haven't been approved cannot be removed. CannotRemoveUnapprovedBudget = 6, - /// Budgets that are currently running cannot be removed. + /// Budgets that are currently running cannot be removed. CannotRemoveRunningBudget = 7, - /// Budgets that haven't been approved cannot be truncated. + /// Budgets that haven't been approved cannot be truncated. CannotEndUnapprovedBudget = 8, - /// Only budgets that are currently running can be truncated. + /// Only budgets that are currently running can be truncated. CannotEndInactiveBudget = 9, - /// All budgets must have names. + /// All budgets must have names. BudgetNameRequired = 10, - /// Expired budgets cannot be edited after a sufficient amount of time has - /// passed. + /// Expired budgets cannot be edited after a sufficient amount of time has + /// passed. CannotUpdateOldBudget = 11, - /// It is not permissible a propose a new budget that ends in the past. + /// It is not permissible a propose a new budget that ends in the past. CannotEndInPast = 12, - /// An expired budget cannot be extended to overlap with the running budget. + /// An expired budget cannot be extended to overlap with the running budget. CannotExtendEndTime = 13, - /// A purchase order number is required. + /// A purchase order number is required. PurchaseOrderNumberRequired = 14, - /// Budgets that have a pending update cannot be updated. + /// Budgets that have a pending update cannot be updated. PendingUpdateProposalExists = 15, - /// Cannot propose more than one budget when the corresponding billing setup - /// hasn't been approved. + /// Cannot propose more than one budget when the corresponding billing setup + /// hasn't been approved. MultipleBudgetsNotAllowedForUnapprovedBillingSetup = 16, - /// Cannot update the start time of a budget that has already started. + /// Cannot update the start time of a budget that has already started. CannotUpdateStartTimeForStartedBudget = 17, - /// Cannot update the spending limit of a budget with an amount lower than - /// what has already been spent. + /// Cannot update the spending limit of a budget with an amount lower than + /// what has already been spent. SpendingLimitLowerThanAccruedCostNotAllowed = 18, - /// Cannot propose a budget update without actually changing any fields. + /// Cannot propose a budget update without actually changing any fields. UpdateIsNoOp = 19, - /// The end time must come after the start time. + /// The end time must come after the start time. EndTimeMustFollowStartTime = 20, - /// The budget's date range must fall within the date range of its billing - /// setup. + /// The budget's date range must fall within the date range of its billing + /// setup. BudgetDateRangeIncompatibleWithBillingSetup = 21, - /// The user is not authorized to mutate budgets for the given billing setup. + /// The user is not authorized to mutate budgets for the given billing setup. NotAuthorized = 22, - /// Mutates are not allowed for the given billing setup. + /// Mutates are not allowed for the given billing setup. InvalidBillingSetup = 23, - /// Budget creation failed as it overlaps with an pending budget proposal - /// or an approved budget. + /// Budget creation failed as it overlaps with an pending budget proposal + /// or an approved budget. OverlapsExistingBudget = 24, - /// The control setting in user's payments profile doesn't allow budget - /// creation through API. Log in to Google Ads to create budget. + /// The control setting in user's payments profile doesn't allow budget + /// creation through API. Log in to Google Ads to create budget. CannotCreateBudgetThroughApi = 25, } impl AccountBudgetProposalError { @@ -161,23 +161,23 @@ pub mod account_budget_proposal_error_enum { } } } -// Proto file describing AccountLink errors. +// Proto file describing AccountLink errors. -/// Container for enum describing possible account link errors. +/// Container for enum describing possible account link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkErrorEnum { } /// Nested message and enum types in `AccountLinkErrorEnum`. pub mod account_link_error_enum { - /// Enum describing possible account link errors. + /// Enum describing possible account link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The new link status is invalid. + /// The new link status is invalid. InvalidStatus = 2, } impl AccountLinkError { @@ -194,31 +194,31 @@ pub mod account_link_error_enum { } } } -// Proto file describing ad customizer errors. +// Proto file describing ad customizer errors. -/// Container for enum describing possible ad customizer errors. +/// Container for enum describing possible ad customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerErrorEnum { } /// Nested message and enum types in `AdCustomizerErrorEnum`. pub mod ad_customizer_error_enum { - /// Enum describing possible ad customizer errors. + /// Enum describing possible ad customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date argument in countdown function. + /// Invalid date argument in countdown function. CountdownInvalidDateFormat = 2, - /// Countdown end date is in the past. + /// Countdown end date is in the past. CountdownDateInPast = 3, - /// Invalid locale string in countdown function. + /// Invalid locale string in countdown function. CountdownInvalidLocale = 4, - /// Days-before argument to countdown function is not positive. + /// Days-before argument to countdown function is not positive. CountdownInvalidStartDaysBefore = 5, - /// A user list referenced in an IF function does not exist. + /// A user list referenced in an IF function does not exist. UnknownUserList = 6, } impl AdCustomizerError { @@ -239,355 +239,355 @@ pub mod ad_customizer_error_enum { } } } -// Proto file describing ad errors. +// Proto file describing ad errors. -/// Container for enum describing possible ad errors. +/// Container for enum describing possible ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdErrorEnum { } /// Nested message and enum types in `AdErrorEnum`. pub mod ad_error_enum { - /// Enum describing possible ad errors. + /// Enum describing possible ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ad customizers are not supported for ad type. + /// Ad customizers are not supported for ad type. AdCustomizersNotSupportedForAdType = 2, - /// Estimating character sizes the string is too long. + /// Estimating character sizes the string is too long. ApproximatelyTooLong = 3, - /// Estimating character sizes the string is too short. + /// Estimating character sizes the string is too short. ApproximatelyTooShort = 4, - /// There is a problem with the snippet. + /// There is a problem with the snippet. BadSnippet = 5, - /// Cannot modify an ad. + /// Cannot modify an ad. CannotModifyAd = 6, - /// business name and url cannot be set at the same time + /// business name and url cannot be set at the same time CannotSetBusinessNameIfUrlSet = 7, - /// The specified field is incompatible with this ad's type or settings. + /// The specified field is incompatible with this ad's type or settings. CannotSetField = 8, - /// Cannot set field when originAdId is set. + /// Cannot set field when originAdId is set. CannotSetFieldWithOriginAdIdSet = 9, - /// Cannot set field when an existing ad id is set for sharing. + /// Cannot set field when an existing ad id is set for sharing. CannotSetFieldWithAdIdSetForSharing = 10, - /// Cannot set allowFlexibleColor false if no color is provided by user. + /// Cannot set allowFlexibleColor false if no color is provided by user. CannotSetAllowFlexibleColorFalse = 11, - /// When user select native, no color control is allowed because we will - /// always respect publisher color for native format serving. + /// When user select native, no color control is allowed because we will + /// always respect publisher color for native format serving. CannotSetColorControlWhenNativeFormatSetting = 12, - /// Cannot specify a url for the ad type + /// Cannot specify a url for the ad type CannotSetUrl = 13, - /// Cannot specify a tracking or mobile url without also setting final urls + /// Cannot specify a tracking or mobile url without also setting final urls CannotSetWithoutFinalUrls = 14, - /// Cannot specify a legacy url and a final url simultaneously + /// Cannot specify a legacy url and a final url simultaneously CannotSetWithFinalUrls = 15, - /// Cannot specify a urls in UrlData and in template fields simultaneously. + /// Cannot specify a urls in UrlData and in template fields simultaneously. CannotSetWithUrlData = 17, - /// This operator cannot be used with a subclass of Ad. + /// This operator cannot be used with a subclass of Ad. CannotUseAdSubclassForOperator = 18, - /// Customer is not approved for mobile ads. + /// Customer is not approved for mobile ads. CustomerNotApprovedMobileads = 19, - /// Customer is not approved for 3PAS richmedia ads. + /// Customer is not approved for 3PAS richmedia ads. CustomerNotApprovedThirdpartyAds = 20, - /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. + /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. CustomerNotApprovedThirdpartyRedirectAds = 21, - /// Not an eligible customer + /// Not an eligible customer CustomerNotEligible = 22, - /// Customer is not eligible for updating beacon url + /// Customer is not eligible for updating beacon url CustomerNotEligibleForUpdatingBeaconUrl = 23, - /// There already exists an ad with the same dimensions in the union. + /// There already exists an ad with the same dimensions in the union. DimensionAlreadyInUnion = 24, - /// Ad's dimension must be set before setting union dimension. + /// Ad's dimension must be set before setting union dimension. DimensionMustBeSet = 25, - /// Ad's dimension must be included in the union dimensions. + /// Ad's dimension must be included in the union dimensions. DimensionNotInUnion = 26, - /// Display Url cannot be specified (applies to Ad Exchange Ads) + /// Display Url cannot be specified (applies to Ad Exchange Ads) DisplayUrlCannotBeSpecified = 27, - /// Telephone number contains invalid characters or invalid format. Please - /// re-enter your number using digits (0-9), dashes (-), and parentheses - /// only. + /// Telephone number contains invalid characters or invalid format. Please + /// re-enter your number using digits (0-9), dashes (-), and parentheses + /// only. DomesticPhoneNumberFormat = 28, - /// Emergency telephone numbers are not allowed. Please enter a valid - /// domestic phone number to connect customers to your business. + /// Emergency telephone numbers are not allowed. Please enter a valid + /// domestic phone number to connect customers to your business. EmergencyPhoneNumber = 29, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 30, - /// A feed attribute referenced in an ad customizer tag is not in the ad - /// customizer mapping for the feed. + /// A feed attribute referenced in an ad customizer tag is not in the ad + /// customizer mapping for the feed. FeedAttributeMustHaveMappingForTypeId = 31, - /// The ad customizer field mapping for the feed attribute does not match the - /// expected field type. + /// The ad customizer field mapping for the feed attribute does not match the + /// expected field type. FeedAttributeMappingTypeMismatch = 32, - /// The use of ad customizer tags in the ad text is disallowed. Details in - /// trigger. + /// The use of ad customizer tags in the ad text is disallowed. Details in + /// trigger. IllegalAdCustomizerTagUse = 33, - /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. + /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. IllegalTagUse = 34, - /// The dimensions of the ad are specified or derived in multiple ways and - /// are not consistent. + /// The dimensions of the ad are specified or derived in multiple ways and + /// are not consistent. InconsistentDimensions = 35, - /// The status cannot differ among template ads of the same union. + /// The status cannot differ among template ads of the same union. InconsistentStatusInTemplateUnion = 36, - /// The length of the string is not valid. + /// The length of the string is not valid. IncorrectLength = 37, - /// The ad is ineligible for upgrade. + /// The ad is ineligible for upgrade. IneligibleForUpgrade = 38, - /// User cannot create mobile ad for countries targeted in specified - /// campaign. + /// User cannot create mobile ad for countries targeted in specified + /// campaign. InvalidAdAddressCampaignTarget = 39, - /// Invalid Ad type. A specific type of Ad is required. + /// Invalid Ad type. A specific type of Ad is required. InvalidAdType = 40, - /// Headline, description or phone cannot be present when creating mobile - /// image ad. + /// Headline, description or phone cannot be present when creating mobile + /// image ad. InvalidAttributesForMobileImage = 41, - /// Image cannot be present when creating mobile text ad. + /// Image cannot be present when creating mobile text ad. InvalidAttributesForMobileText = 42, - /// Invalid call to action text. + /// Invalid call to action text. InvalidCallToActionText = 43, - /// Invalid character in URL. + /// Invalid character in URL. InvalidCharacterForUrl = 44, - /// Creative's country code is not valid. + /// Creative's country code is not valid. InvalidCountryCode = 45, - /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) + /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) InvalidExpandedDynamicSearchAdTag = 47, - /// An input error whose real reason was not properly mapped (should not - /// happen). + /// An input error whose real reason was not properly mapped (should not + /// happen). InvalidInput = 48, - /// An invalid markup language was entered. + /// An invalid markup language was entered. InvalidMarkupLanguage = 49, - /// An invalid mobile carrier was entered. + /// An invalid mobile carrier was entered. InvalidMobileCarrier = 50, - /// Specified mobile carriers target a country not targeted by the campaign. + /// Specified mobile carriers target a country not targeted by the campaign. InvalidMobileCarrierTarget = 51, - /// Wrong number of elements for given element type + /// Wrong number of elements for given element type InvalidNumberOfElements = 52, - /// The format of the telephone number is incorrect. Please re-enter the - /// number using the correct format. + /// The format of the telephone number is incorrect. Please re-enter the + /// number using the correct format. InvalidPhoneNumberFormat = 53, - /// The certified vendor format id is incorrect. + /// The certified vendor format id is incorrect. InvalidRichMediaCertifiedVendorFormatId = 54, - /// The template ad data contains validation errors. + /// The template ad data contains validation errors. InvalidTemplateData = 55, - /// The template field doesn't have have the correct type. + /// The template field doesn't have have the correct type. InvalidTemplateElementFieldType = 56, - /// Invalid template id. + /// Invalid template id. InvalidTemplateId = 57, - /// After substituting replacement strings, the line is too wide. + /// After substituting replacement strings, the line is too wide. LineTooWide = 58, - /// The feed referenced must have ad customizer mapping to be used in a - /// customizer tag. + /// The feed referenced must have ad customizer mapping to be used in a + /// customizer tag. MissingAdCustomizerMapping = 59, - /// Missing address component in template element address field. + /// Missing address component in template element address field. MissingAddressComponent = 60, - /// An ad name must be entered. + /// An ad name must be entered. MissingAdvertisementName = 61, - /// Business name must be entered. + /// Business name must be entered. MissingBusinessName = 62, - /// Description (line 2) must be entered. + /// Description (line 2) must be entered. MissingDescription1 = 63, - /// Description (line 3) must be entered. + /// Description (line 3) must be entered. MissingDescription2 = 64, - /// The destination url must contain at least one tag (e.g. {lpurl}) + /// The destination url must contain at least one tag (e.g. {lpurl}) MissingDestinationUrlTag = 65, - /// The tracking url template of ExpandedDynamicSearchAd must contain at - /// least one tag. (e.g. {lpurl}) + /// The tracking url template of ExpandedDynamicSearchAd must contain at + /// least one tag. (e.g. {lpurl}) MissingLandingPageUrlTag = 66, - /// A valid dimension must be specified for this ad. + /// A valid dimension must be specified for this ad. MissingDimension = 67, - /// A display URL must be entered. + /// A display URL must be entered. MissingDisplayUrl = 68, - /// Headline must be entered. + /// Headline must be entered. MissingHeadline = 69, - /// A height must be entered. + /// A height must be entered. MissingHeight = 70, - /// An image must be entered. + /// An image must be entered. MissingImage = 71, - /// Marketing image or product videos are required. + /// Marketing image or product videos are required. MissingMarketingImageOrProductVideos = 72, - /// The markup language in which your site is written must be entered. + /// The markup language in which your site is written must be entered. MissingMarkupLanguages = 73, - /// A mobile carrier must be entered. + /// A mobile carrier must be entered. MissingMobileCarrier = 74, - /// Phone number must be entered. + /// Phone number must be entered. MissingPhone = 75, - /// Missing required template fields + /// Missing required template fields MissingRequiredTemplateFields = 76, - /// Missing a required field value + /// Missing a required field value MissingTemplateFieldValue = 77, - /// The ad must have text. + /// The ad must have text. MissingText = 78, - /// A visible URL must be entered. + /// A visible URL must be entered. MissingVisibleUrl = 79, - /// A width must be entered. + /// A width must be entered. MissingWidth = 80, - /// Only 1 feed can be used as the source of ad customizer substitutions in a - /// single ad. + /// Only 1 feed can be used as the source of ad customizer substitutions in a + /// single ad. MultipleDistinctFeedsUnsupported = 81, - /// TempAdUnionId must be use when adding template ads. + /// TempAdUnionId must be use when adding template ads. MustUseTempAdUnionIdOnAdd = 82, - /// The string has too many characters. + /// The string has too many characters. TooLong = 83, - /// The string has too few characters. + /// The string has too few characters. TooShort = 84, - /// Ad union dimensions cannot change for saved ads. + /// Ad union dimensions cannot change for saved ads. UnionDimensionsCannotChange = 85, - /// Address component is not {country, lat, lng}. + /// Address component is not {country, lat, lng}. UnknownAddressComponent = 86, - /// Unknown unique field name + /// Unknown unique field name UnknownFieldName = 87, - /// Unknown unique name (template element type specifier) + /// Unknown unique name (template element type specifier) UnknownUniqueName = 88, - /// Unsupported ad dimension + /// Unsupported ad dimension UnsupportedDimensions = 89, - /// URL starts with an invalid scheme. + /// URL starts with an invalid scheme. UrlInvalidScheme = 90, - /// URL ends with an invalid top-level domain name. + /// URL ends with an invalid top-level domain name. UrlInvalidTopLevelDomain = 91, - /// URL contains illegal characters. + /// URL contains illegal characters. UrlMalformed = 92, - /// URL must contain a host name. + /// URL must contain a host name. UrlNoHost = 93, - /// URL not equivalent during upgrade. + /// URL not equivalent during upgrade. UrlNotEquivalent = 94, - /// URL host name too long to be stored as visible URL (applies to Ad - /// Exchange ads) + /// URL host name too long to be stored as visible URL (applies to Ad + /// Exchange ads) UrlHostNameTooLong = 95, - /// URL must start with a scheme. + /// URL must start with a scheme. UrlNoScheme = 96, - /// URL should end in a valid domain extension, such as .com or .net. + /// URL should end in a valid domain extension, such as .com or .net. UrlNoTopLevelDomain = 97, - /// URL must not end with a path. + /// URL must not end with a path. UrlPathNotAllowed = 98, - /// URL must not specify a port. + /// URL must not specify a port. UrlPortNotAllowed = 99, - /// URL must not contain a query. + /// URL must not contain a query. UrlQueryNotAllowed = 100, - /// A url scheme is not allowed in front of tag in tracking url template - /// (e.g. ) + /// A url scheme is not allowed in front of tag in tracking url template + /// (e.g. ) UrlSchemeBeforeExpandedDynamicSearchAdTag = 102, - /// The user does not have permissions to create a template ad for the given - /// template. + /// The user does not have permissions to create a template ad for the given + /// template. UserDoesNotHaveAccessToTemplate = 103, - /// Expandable setting is inconsistent/wrong. For example, an AdX ad is - /// invalid if it has a expandable vendor format but no expanding directions - /// specified, or expanding directions is specified, but the vendor format is - /// not expandable. + /// Expandable setting is inconsistent/wrong. For example, an AdX ad is + /// invalid if it has a expandable vendor format but no expanding directions + /// specified, or expanding directions is specified, but the vendor format is + /// not expandable. InconsistentExpandableSettings = 104, - /// Format is invalid + /// Format is invalid InvalidFormat = 105, - /// The text of this field did not match a pattern of allowed values. + /// The text of this field did not match a pattern of allowed values. InvalidFieldText = 106, - /// Template element is mising + /// Template element is mising ElementNotPresent = 107, - /// Error occurred during image processing + /// Error occurred during image processing ImageError = 108, - /// The value is not within the valid range + /// The value is not within the valid range ValueNotInRange = 109, - /// Template element field is not present + /// Template element field is not present FieldNotPresent = 110, - /// Address is incomplete + /// Address is incomplete AddressNotComplete = 111, - /// Invalid address + /// Invalid address AddressInvalid = 112, - /// Error retrieving specified video + /// Error retrieving specified video VideoRetrievalError = 113, - /// Error processing audio + /// Error processing audio AudioError = 114, - /// Display URL is incorrect for YouTube PYV ads + /// Display URL is incorrect for YouTube PYV ads InvalidYoutubeDisplayUrl = 115, - /// Too many product Images in GmailAd + /// Too many product Images in GmailAd TooManyProductImages = 116, - /// Too many product Videos in GmailAd + /// Too many product Videos in GmailAd TooManyProductVideos = 117, - /// The device preference is not compatible with the ad type + /// The device preference is not compatible with the ad type IncompatibleAdTypeAndDevicePreference = 118, - /// Call tracking is not supported for specified country. + /// Call tracking is not supported for specified country. CalltrackingNotSupportedForCountry = 119, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CarrierSpecificShortNumberNotAllowed = 120, - /// Specified phone number type is disallowed. + /// Specified phone number type is disallowed. DisallowedNumberType = 121, - /// Phone number not supported for country. + /// Phone number not supported for country. PhoneNumberNotSupportedForCountry = 122, - /// Phone number not supported with call tracking enabled for country. + /// Phone number not supported with call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 123, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. PremiumRateNumberNotAllowed = 124, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. VanityPhoneNumberNotAllowed = 125, - /// Invalid call conversion type id. + /// Invalid call conversion type id. InvalidCallConversionTypeId = 126, - /// Cannot disable call conversion and set conversion type id. + /// Cannot disable call conversion and set conversion type id. CannotDisableCallConversionAndSetConversionTypeId = 127, - /// Cannot set path2 without path1. + /// Cannot set path2 without path1. CannotSetPath2WithoutPath1 = 128, - /// Missing domain name in campaign setting when adding expanded dynamic - /// search ad. + /// Missing domain name in campaign setting when adding expanded dynamic + /// search ad. MissingDynamicSearchAdsSettingDomainName = 129, - /// The associated ad is not compatible with restriction type. + /// The associated ad is not compatible with restriction type. IncompatibleWithRestrictionType = 130, - /// Consent for call recording is required for creating/updating call only - /// ads. Please see + /// Consent for call recording is required for creating/updating call only + /// ads. Please see CustomerConsentForCallRecordingRequired = 131, - /// Either an image or a media bundle is required in a display upload ad. + /// Either an image or a media bundle is required in a display upload ad. MissingImageOrMediaBundle = 132, - /// The display upload product type is not supported in this campaign. + /// The display upload product type is not supported in this campaign. ProductTypeNotSupportedInThisCampaign = 133, - /// The default value of an ad placeholder can not be the empty string. + /// The default value of an ad placeholder can not be the empty string. PlaceholderCannotHaveEmptyDefaultValue = 134, - /// Ad placeholders with countdown functions must not have a default value. + /// Ad placeholders with countdown functions must not have a default value. PlaceholderCountdownFunctionCannotHaveDefaultValue = 135, - /// A previous ad placeholder that had a default value was found which means - /// that all (non-countdown) placeholders must have a default value. This - /// ad placeholder does not have a default value. + /// A previous ad placeholder that had a default value was found which means + /// that all (non-countdown) placeholders must have a default value. This + /// ad placeholder does not have a default value. PlaceholderDefaultValueMissing = 136, - /// A previous ad placeholder that did not have a default value was found - /// which means that no placeholders may have a default value. This - /// ad placeholder does have a default value. + /// A previous ad placeholder that did not have a default value was found + /// which means that no placeholders may have a default value. This + /// ad placeholder does have a default value. UnexpectedPlaceholderDefaultValue = 137, - /// Two ad customizers may not be directly adjacent in an ad text. They must - /// be separated by at least one character. + /// Two ad customizers may not be directly adjacent in an ad text. They must + /// be separated by at least one character. AdCustomizersMayNotBeAdjacent = 138, - /// The ad is not associated with any enabled AdGroupAd, and cannot be - /// updated. + /// The ad is not associated with any enabled AdGroupAd, and cannot be + /// updated. UpdatingAdWithNoEnabledAssociation = 139, - /// Call Ad verification url and final url don't have same domain. + /// Call Ad verification url and final url don't have same domain. CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain = 140, - /// Final url and verification url cannot both be empty for call ads. + /// Final url and verification url cannot both be empty for call ads. CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty = 154, - /// Too many ad customizers in one asset. + /// Too many ad customizers in one asset. TooManyAdCustomizers = 141, - /// The ad customizer tag is recognized, but the format is invalid. + /// The ad customizer tag is recognized, but the format is invalid. InvalidAdCustomizerFormat = 142, - /// Customizer tags cannot be nested. + /// Customizer tags cannot be nested. NestedAdCustomizerSyntax = 143, - /// The ad customizer syntax used in the ad is not supported. + /// The ad customizer syntax used in the ad is not supported. UnsupportedAdCustomizerSyntax = 144, - /// There exists unpaired brace in the ad customizer tag. + /// There exists unpaired brace in the ad customizer tag. UnpairedBraceInAdCustomizerTag = 145, - /// More than one type of countdown tag exists among all text lines. + /// More than one type of countdown tag exists among all text lines. MoreThanOneCountdownTagTypeExists = 146, - /// Date time in the countdown tag is invalid. + /// Date time in the countdown tag is invalid. DateTimeInCountdownTagIsInvalid = 147, - /// Date time in the countdown tag is in the past. + /// Date time in the countdown tag is in the past. DateTimeInCountdownTagIsPast = 148, - /// Cannot recognize the ad customizer tag. + /// Cannot recognize the ad customizer tag. UnrecognizedAdCustomizerTagFound = 149, - /// Customizer type forbidden for this field. + /// Customizer type forbidden for this field. CustomizerTypeForbiddenForField = 150, - /// Customizer attribute name is invalid. + /// Customizer attribute name is invalid. InvalidCustomizerAttributeName = 151, - /// App store value does not match the value of the app store in the app - /// specified in the campaign. + /// App store value does not match the value of the app store in the app + /// specified in the campaign. StoreMismatch = 152, - /// Missing required image aspect ratio. + /// Missing required image aspect ratio. MissingRequiredImageAspectRatio = 153, - /// Aspect ratios mismatch between different assets. + /// Aspect ratios mismatch between different assets. MismatchedAspectRatios = 155, - /// Images must be unique between different carousel card assets. + /// Images must be unique between different carousel card assets. DuplicateImageAcrossCarouselCards = 156, } impl AdError { @@ -755,46 +755,46 @@ pub mod ad_error_enum { } } } -// Proto file describing ad group ad errors. +// Proto file describing ad group ad errors. -/// Container for enum describing possible ad group ad errors. +/// Container for enum describing possible ad group ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdErrorEnum { } /// Nested message and enum types in `AdGroupAdErrorEnum`. pub mod ad_group_ad_error_enum { - /// Enum describing possible ad group ad errors. + /// Enum describing possible ad group ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the adgroup ad and the label. + /// No link found between the adgroup ad and the label. AdGroupAdLabelDoesNotExist = 2, - /// The label has already been attached to the adgroup ad. + /// The label has already been attached to the adgroup ad. AdGroupAdLabelAlreadyExists = 3, - /// The specified ad was not found in the adgroup + /// The specified ad was not found in the adgroup AdNotUnderAdgroup = 4, - /// Removed ads may not be modified + /// Removed ads may not be modified CannotOperateOnRemovedAdgroupad = 5, - /// An ad of this type is deprecated and cannot be created. Only deletions - /// are permitted. + /// An ad of this type is deprecated and cannot be created. Only deletions + /// are permitted. CannotCreateDeprecatedAds = 6, - /// Text ads are deprecated and cannot be created. Use expanded text ads - /// instead. + /// Text ads are deprecated and cannot be created. Use expanded text ads + /// instead. CannotCreateTextAds = 7, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 8, - /// An ad may only be modified once per call + /// An ad may only be modified once per call ResourceReferencedInMultipleOps = 9, - /// AdGroupAds with the given ad type cannot be paused. + /// AdGroupAds with the given ad type cannot be paused. AdTypeCannotBePaused = 10, - /// AdGroupAds with the given ad type cannot be removed. + /// AdGroupAds with the given ad type cannot be removed. AdTypeCannotBeRemoved = 11, - /// An ad of this type is deprecated and cannot be updated. Only removals - /// are permitted. + /// An ad of this type is deprecated and cannot be updated. Only removals + /// are permitted. CannotUpdateDeprecatedAds = 12, } impl AdGroupAdError { @@ -821,26 +821,26 @@ pub mod ad_group_ad_error_enum { } } } -// Proto file describing ad group bid modifier errors. +// Proto file describing ad group bid modifier errors. -/// Container for enum describing possible ad group bid modifier errors. +/// Container for enum describing possible ad group bid modifier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierErrorEnum { } /// Nested message and enum types in `AdGroupBidModifierErrorEnum`. pub mod ad_group_bid_modifier_error_enum { - /// Enum describing possible ad group bid modifier errors. + /// Enum describing possible ad group bid modifier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupBidModifierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion ID does not support bid modification. + /// The criterion ID does not support bid modification. CriterionIdNotSupported = 2, - /// Cannot override the bid modifier for the given criterion ID if the parent - /// campaign is opted out of the same criterion. + /// Cannot override the bid modifier for the given criterion ID if the parent + /// campaign is opted out of the same criterion. CannotOverrideOptedOutCampaignCriterionBidModifier = 3, } impl AdGroupBidModifierError { @@ -858,23 +858,23 @@ pub mod ad_group_bid_modifier_error_enum { } } } -// Proto file describing ad group criterion customizer errors. +// Proto file describing ad group criterion customizer errors. -/// Container for enum describing possible ad group criterion customizer errors. +/// Container for enum describing possible ad group criterion customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCriterionCustomizerErrorEnum`. pub mod ad_group_criterion_customizer_error_enum { - /// Enum describing possible ad group criterion customizer errors. + /// Enum describing possible ad group criterion customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Only keyword type criterion is allowed to link customizer attribute. + /// Only keyword type criterion is allowed to link customizer attribute. CriterionIsNotKeyword = 2, } impl AdGroupCriterionCustomizerError { @@ -891,86 +891,86 @@ pub mod ad_group_criterion_customizer_error_enum { } } } -// Proto file describing ad group criterion errors. +// Proto file describing ad group criterion errors. -/// Container for enum describing possible ad group criterion errors. +/// Container for enum describing possible ad group criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionErrorEnum { } /// Nested message and enum types in `AdGroupCriterionErrorEnum`. pub mod ad_group_criterion_error_enum { - /// Enum describing possible ad group criterion errors. + /// Enum describing possible ad group criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the AdGroupCriterion and the label. + /// No link found between the AdGroupCriterion and the label. AdGroupCriterionLabelDoesNotExist = 2, - /// The label has already been attached to the AdGroupCriterion. + /// The label has already been attached to the AdGroupCriterion. AdGroupCriterionLabelAlreadyExists = 3, - /// Negative AdGroupCriterion cannot have labels. + /// Negative AdGroupCriterion cannot have labels. CannotAddLabelToNegativeCriterion = 4, - /// Too many operations for a single call. + /// Too many operations for a single call. TooManyOperations = 5, - /// Negative ad group criteria are not updateable. + /// Negative ad group criteria are not updateable. CantUpdateNegative = 6, - /// Concrete type of criterion (keyword v.s. placement) is required for ADD - /// and SET operations. + /// Concrete type of criterion (keyword v.s. placement) is required for ADD + /// and SET operations. ConcreteTypeRequired = 7, - /// Bid is incompatible with ad group's bidding settings. + /// Bid is incompatible with ad group's bidding settings. BidIncompatibleWithAdgroup = 8, - /// Cannot target and exclude the same criterion at once. + /// Cannot target and exclude the same criterion at once. CannotTargetAndExclude = 9, - /// The URL of a placement is invalid. + /// The URL of a placement is invalid. IllegalUrl = 10, - /// Keyword text was invalid. + /// Keyword text was invalid. InvalidKeywordText = 11, - /// Destination URL was invalid. + /// Destination URL was invalid. InvalidDestinationUrl = 12, - /// The destination url must contain at least one tag (e.g. {lpurl}) + /// The destination url must contain at least one tag (e.g. {lpurl}) MissingDestinationUrlTag = 13, - /// Keyword-level cpm bid is not supported + /// Keyword-level cpm bid is not supported KeywordLevelBidNotSupportedForManualcpm = 14, - /// For example, cannot add a biddable ad group criterion that had been - /// removed. + /// For example, cannot add a biddable ad group criterion that had been + /// removed. InvalidUserStatus = 15, - /// Criteria type cannot be targeted for the ad group. Either the account is - /// restricted to keywords only, the criteria type is incompatible with the - /// campaign's bidding strategy, or the criteria type can only be applied to - /// campaigns. + /// Criteria type cannot be targeted for the ad group. Either the account is + /// restricted to keywords only, the criteria type is incompatible with the + /// campaign's bidding strategy, or the criteria type can only be applied to + /// campaigns. CannotAddCriteriaType = 16, - /// Criteria type cannot be excluded for the ad group. Refer to the - /// documentation for a specific criterion to check if it is excludable. + /// Criteria type cannot be excluded for the ad group. Refer to the + /// documentation for a specific criterion to check if it is excludable. CannotExcludeCriteriaType = 17, - /// Partial failure is not supported for shopping campaign mutate operations. + /// Partial failure is not supported for shopping campaign mutate operations. CampaignTypeNotCompatibleWithPartialFailure = 27, - /// Operations in the mutate request changes too many shopping ad groups. - /// Please split requests for multiple shopping ad groups across multiple - /// requests. + /// Operations in the mutate request changes too many shopping ad groups. + /// Please split requests for multiple shopping ad groups across multiple + /// requests. OperationsForTooManyShoppingAdgroups = 28, - /// Not allowed to modify url fields of an ad group criterion if there are - /// duplicate elements for that ad group criterion in the request. + /// Not allowed to modify url fields of an ad group criterion if there are + /// duplicate elements for that ad group criterion in the request. CannotModifyUrlFieldsWithDuplicateElements = 29, - /// Cannot set url fields without also setting final urls. + /// Cannot set url fields without also setting final urls. CannotSetWithoutFinalUrls = 30, - /// Cannot clear final urls if final mobile urls exist. + /// Cannot clear final urls if final mobile urls exist. CannotClearFinalUrlsIfFinalMobileUrlsExist = 31, - /// Cannot clear final urls if final app urls exist. + /// Cannot clear final urls if final app urls exist. CannotClearFinalUrlsIfFinalAppUrlsExist = 32, - /// Cannot clear final urls if tracking url template exists. + /// Cannot clear final urls if tracking url template exists. CannotClearFinalUrlsIfTrackingUrlTemplateExists = 33, - /// Cannot clear final urls if url custom parameters exist. + /// Cannot clear final urls if url custom parameters exist. CannotClearFinalUrlsIfUrlCustomParametersExist = 34, - /// Cannot set both destination url and final urls. + /// Cannot set both destination url and final urls. CannotSetBothDestinationUrlAndFinalUrls = 35, - /// Cannot set both destination url and tracking url template. + /// Cannot set both destination url and tracking url template. CannotSetBothDestinationUrlAndTrackingUrlTemplate = 36, - /// Final urls are not supported for this criterion type. + /// Final urls are not supported for this criterion type. FinalUrlsNotSupportedForCriterionType = 37, - /// Final mobile urls are not supported for this criterion type. + /// Final mobile urls are not supported for this criterion type. FinalMobileUrlsNotSupportedForCriterionType = 38, } impl AdGroupCriterionError { @@ -1014,21 +1014,21 @@ pub mod ad_group_criterion_error_enum { } } } -// Proto file describing ad group customizer errors. +// Proto file describing ad group customizer errors. -/// Container for enum describing possible ad group customizer errors. +/// Container for enum describing possible ad group customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCustomizerErrorEnum`. pub mod ad_group_customizer_error_enum { - /// Enum describing possible ad group customizer errors. + /// Enum describing possible ad group customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl AdGroupCustomizerError { @@ -1044,54 +1044,54 @@ pub mod ad_group_customizer_error_enum { } } } -// Proto file describing ad group errors. +// Proto file describing ad group errors. -/// Container for enum describing possible ad group errors. +/// Container for enum describing possible ad group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupErrorEnum { } /// Nested message and enum types in `AdGroupErrorEnum`. pub mod ad_group_error_enum { - /// Enum describing possible ad group errors. + /// Enum describing possible ad group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// AdGroup with the same name already exists for the campaign. + /// AdGroup with the same name already exists for the campaign. DuplicateAdgroupName = 2, - /// AdGroup name is not valid. + /// AdGroup name is not valid. InvalidAdgroupName = 3, - /// Advertiser is not allowed to target sites or set site bids that are not - /// on the Google Search Network. + /// Advertiser is not allowed to target sites or set site bids that are not + /// on the Google Search Network. AdvertiserNotOnContentNetwork = 5, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 6, - /// AdGroup bid does not match the campaign's bidding strategy. + /// AdGroup bid does not match the campaign's bidding strategy. BidTypeAndBiddingStrategyMismatch = 7, - /// AdGroup name is required for Add. + /// AdGroup name is required for Add. MissingAdgroupName = 8, - /// No link found between the ad group and the label. + /// No link found between the ad group and the label. AdgroupLabelDoesNotExist = 9, - /// The label has already been attached to the ad group. + /// The label has already been attached to the ad group. AdgroupLabelAlreadyExists = 10, - /// The CriterionTypeGroup is not supported for the content bid dimension. + /// The CriterionTypeGroup is not supported for the content bid dimension. InvalidContentBidCriterionTypeGroup = 11, - /// The ad group type is not compatible with the campaign channel type. + /// The ad group type is not compatible with the campaign channel type. AdGroupTypeNotValidForAdvertisingChannelType = 12, - /// The ad group type is not supported in the country of sale of the - /// campaign. + /// The ad group type is not supported in the country of sale of the + /// campaign. AdgroupTypeNotSupportedForCampaignSalesCountry = 13, - /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - /// campaigns that have DynamicSearchAdsSetting attached. + /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to + /// campaigns that have DynamicSearchAdsSetting attached. CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14, - /// Promoted hotels ad groups are only available to customers on the - /// allow-list. + /// Promoted hotels ad groups are only available to customers on the + /// allow-list. PromotedHotelAdGroupsNotAvailableForCustomer = 15, - /// The field type cannot be excluded because an active ad group-asset link - /// of this type exists. + /// The field type cannot be excluded because an active ad group-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 16, } impl AdGroupError { @@ -1121,37 +1121,37 @@ pub mod ad_group_error_enum { } } } -// Proto file describing ad group feed errors. +// Proto file describing ad group feed errors. -/// Container for enum describing possible ad group feed errors. +/// Container for enum describing possible ad group feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedErrorEnum { } /// Nested message and enum types in `AdGroupFeedErrorEnum`. pub mod ad_group_feed_error_enum { - /// Enum describing possible ad group feed errors. + /// Enum describing possible ad group feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this ad group and place holder type. + /// An active feed already exists for this ad group and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The AdGroupFeed already exists. UPDATE operation should be used to modify - /// the existing AdGroupFeed. + /// The AdGroupFeed already exists. UPDATE operation should be used to modify + /// the existing AdGroupFeed. AdgroupFeedAlreadyExists = 4, - /// Cannot operate on removed AdGroupFeed. + /// Cannot operate on removed AdGroupFeed. CannotOperateOnRemovedAdgroupFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Location AdGroupFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location AdGroupFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 8, } impl AdGroupFeedError { @@ -1174,25 +1174,25 @@ pub mod ad_group_feed_error_enum { } } } -// Proto file describing ad parameter errors. +// Proto file describing ad parameter errors. -/// Container for enum describing possible ad parameter errors. +/// Container for enum describing possible ad parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterErrorEnum { } /// Nested message and enum types in `AdParameterErrorEnum`. pub mod ad_parameter_error_enum { - /// Enum describing possible ad parameter errors. + /// Enum describing possible ad parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The ad group criterion must be a keyword criterion. + /// The ad group criterion must be a keyword criterion. AdGroupCriterionMustBeKeyword = 2, - /// The insertion text is invalid. + /// The insertion text is invalid. InvalidInsertionTextFormat = 3, } impl AdParameterError { @@ -1210,28 +1210,28 @@ pub mod ad_parameter_error_enum { } } } -// Proto file describing ad sharing errors. +// Proto file describing ad sharing errors. -/// Container for enum describing possible ad sharing errors. +/// Container for enum describing possible ad sharing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdSharingErrorEnum { } /// Nested message and enum types in `AdSharingErrorEnum`. pub mod ad_sharing_error_enum { - /// Enum describing possible ad sharing errors. + /// Enum describing possible ad sharing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdSharingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error resulting in attempting to add an Ad to an AdGroup that already - /// contains the Ad. + /// Error resulting in attempting to add an Ad to an AdGroup that already + /// contains the Ad. AdGroupAlreadyContainsAd = 2, - /// Ad is not compatible with the AdGroup it is being shared with. + /// Ad is not compatible with the AdGroup it is being shared with. IncompatibleAdUnderAdGroup = 3, - /// Cannot add AdGroupAd on inactive Ad. + /// Cannot add AdGroupAd on inactive Ad. CannotShareInactiveAd = 4, } impl AdSharingError { @@ -1250,23 +1250,23 @@ pub mod ad_sharing_error_enum { } } } -// Proto file describing adx errors. +// Proto file describing adx errors. -/// Container for enum describing possible adx errors. +/// Container for enum describing possible adx errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdxErrorEnum { } /// Nested message and enum types in `AdxErrorEnum`. pub mod adx_error_enum { - /// Enum describing possible adx errors. + /// Enum describing possible adx errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdxError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Attempt to use non-AdX feature by AdX customer. + /// Attempt to use non-AdX feature by AdX customer. UnsupportedFeature = 2, } impl AdxError { @@ -1283,95 +1283,95 @@ pub mod adx_error_enum { } } } -// Proto file describing asset errors. +// Proto file describing asset errors. -/// Container for enum describing possible asset errors. +/// Container for enum describing possible asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetErrorEnum { } /// Nested message and enum types in `AssetErrorEnum`. pub mod asset_error_enum { - /// Enum describing possible asset errors. + /// Enum describing possible asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer is not is not on the allow-list for this asset type. + /// The customer is not is not on the allow-list for this asset type. CustomerNotOnAllowlistForAssetType = 13, - /// Assets are duplicated across operations. + /// Assets are duplicated across operations. DuplicateAsset = 3, - /// The asset name is duplicated, either across operations or with an - /// existing asset. + /// The asset name is duplicated, either across operations or with an + /// existing asset. DuplicateAssetName = 4, - /// The Asset.asset_data oneof is empty. + /// The Asset.asset_data oneof is empty. AssetDataIsMissing = 5, - /// The asset has a name which is different from an existing duplicate that - /// represents the same content. + /// The asset has a name which is different from an existing duplicate that + /// represents the same content. CannotModifyAssetName = 6, - /// The field cannot be set for this asset type. + /// The field cannot be set for this asset type. FieldIncompatibleWithAssetType = 7, - /// Call to action must come from the list of supported values. + /// Call to action must come from the list of supported values. InvalidCallToActionText = 8, - /// A lead form asset is created with an invalid combination of input fields. + /// A lead form asset is created with an invalid combination of input fields. LeadFormInvalidFieldsCombination = 9, - /// Lead forms require that the Terms of Service have been agreed to before - /// mutates can be executed. + /// Lead forms require that the Terms of Service have been agreed to before + /// mutates can be executed. LeadFormMissingAgreement = 10, - /// Asset status is invalid in this operation. + /// Asset status is invalid in this operation. InvalidAssetStatus = 11, - /// The field cannot be modified by this asset type. + /// The field cannot be modified by this asset type. FieldCannotBeModifiedForAssetType = 12, - /// Ad schedules for the same asset cannot overlap. + /// Ad schedules for the same asset cannot overlap. SchedulesCannotOverlap = 14, - /// Cannot set both percent off and money amount off fields of promotion - /// asset. + /// Cannot set both percent off and money amount off fields of promotion + /// asset. PromotionCannotSetPercentOffAndMoneyAmountOff = 15, - /// Cannot set both promotion code and orders over amount fields of promotion - /// asset. + /// Cannot set both promotion code and orders over amount fields of promotion + /// asset. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 16, - /// The field has too many decimal places specified. + /// The field has too many decimal places specified. TooManyDecimalPlacesSpecified = 17, - /// Duplicate assets across operations, which have identical Asset.asset_data - /// oneof, cannot have different asset level fields for asset types which are - /// deduped. + /// Duplicate assets across operations, which have identical Asset.asset_data + /// oneof, cannot have different asset level fields for asset types which are + /// deduped. DuplicateAssetsWithDifferentFieldValue = 18, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CallCarrierSpecificShortNumberNotAllowed = 19, - /// Customer consent required for call recording Terms of Service. + /// Customer consent required for call recording Terms of Service. CallCustomerConsentForCallRecordingRequired = 20, - /// The type of the specified phone number is not allowed. + /// The type of the specified phone number is not allowed. CallDisallowedNumberType = 21, - /// If the default call_conversion_action is not used, the customer must have - /// a ConversionAction with the same id and the ConversionAction must be call - /// conversion type. + /// If the default call_conversion_action is not used, the customer must have + /// a ConversionAction with the same id and the ConversionAction must be call + /// conversion type. CallInvalidConversionAction = 22, - /// The country code of the phone number is invalid. + /// The country code of the phone number is invalid. CallInvalidCountryCode = 23, - /// The format of the phone number is incorrect. + /// The format of the phone number is incorrect. CallInvalidDomesticPhoneNumberFormat = 24, - /// The input phone number is not a valid phone number. + /// The input phone number is not a valid phone number. CallInvalidPhoneNumber = 25, - /// The phone number is not supported for country. + /// The phone number is not supported for country. CallPhoneNumberNotSupportedForCountry = 26, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. CallPremiumRateNumberNotAllowed = 27, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. CallVanityPhoneNumberNotAllowed = 28, - /// PriceOffering cannot have the same value for header and description. + /// PriceOffering cannot have the same value for header and description. PriceHeaderSameAsDescription = 29, - /// AppId is invalid. + /// AppId is invalid. MobileAppInvalidAppId = 30, - /// Invalid App download URL in final URLs. + /// Invalid App download URL in final URLs. MobileAppInvalidFinalUrlForAppDownloadUrl = 31, - /// Asset name is required for the asset type. + /// Asset name is required for the asset type. NameRequiredForAssetType = 32, - /// Legacy qualifying questions cannot be in the same Lead Form as - /// custom questions. + /// Legacy qualifying questions cannot be in the same Lead Form as + /// custom questions. LeadFormLegacyQualifyingQuestionsDisallowed = 33, - /// Unique name is required for this asset type. + /// Unique name is required for this asset type. NameConflictForAssetType = 34, } impl AssetError { @@ -1419,27 +1419,27 @@ pub mod asset_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group asset errors. +/// Container for enum describing possible asset group asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetErrorEnum { } /// Nested message and enum types in `AssetGroupAssetErrorEnum`. pub mod asset_group_asset_error_enum { - /// Enum describing possible asset group asset errors. + /// Enum describing possible asset group asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot add duplicated asset group asset. + /// Cannot add duplicated asset group asset. DuplicateResource = 2, - /// Expandable tags are not allowed in description assets. + /// Expandable tags are not allowed in description assets. ExpandableTagsNotAllowedInDescription = 3, - /// Ad customizers are not supported in assetgroup's text assets. + /// Ad customizers are not supported in assetgroup's text assets. AdCustomizerNotSupported = 4, } impl AssetGroupAssetError { @@ -1458,41 +1458,41 @@ pub mod asset_group_asset_error_enum { } } } -// Proto file describing asset group errors. +// Proto file describing asset group errors. -/// Container for enum describing possible asset group errors. +/// Container for enum describing possible asset group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupErrorEnum { } /// Nested message and enum types in `AssetGroupErrorEnum`. pub mod asset_group_error_enum { - /// Enum describing possible asset group errors. + /// Enum describing possible asset group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each asset group in a single campaign must have a unique name. + /// Each asset group in a single campaign must have a unique name. DuplicateName = 2, - /// Cannot add asset group for the campaign type. + /// Cannot add asset group for the campaign type. CannotAddAssetGroupForCampaignType = 3, - /// Not enough headline asset for a valid asset group. + /// Not enough headline asset for a valid asset group. NotEnoughHeadlineAsset = 4, - /// Not enough long headline asset for a valid asset group. + /// Not enough long headline asset for a valid asset group. NotEnoughLongHeadlineAsset = 5, - /// Not enough description headline asset for a valid asset group. + /// Not enough description headline asset for a valid asset group. NotEnoughDescriptionAsset = 6, - /// Not enough business name asset for a valid asset group. + /// Not enough business name asset for a valid asset group. NotEnoughBusinessNameAsset = 7, - /// Not enough marketing image asset for a valid asset group. + /// Not enough marketing image asset for a valid asset group. NotEnoughMarketingImageAsset = 8, - /// Not enough square marketing image asset for a valid asset group. + /// Not enough square marketing image asset for a valid asset group. NotEnoughSquareMarketingImageAsset = 9, - /// Not enough logo asset for a valid asset group. + /// Not enough logo asset for a valid asset group. NotEnoughLogoAsset = 10, - /// Final url and shopping merchant url does not have the same domain. + /// Final url and shopping merchant url does not have the same domain. FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11, } impl AssetGroupError { @@ -1518,49 +1518,49 @@ pub mod asset_group_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group listing group filter -/// errors. +/// Container for enum describing possible asset group listing group filter +/// errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterErrorEnum { } /// Nested message and enum types in `AssetGroupListingGroupFilterErrorEnum`. pub mod asset_group_listing_group_filter_error_enum { - /// Enum describing possible asset group listing group filter errors. + /// Enum describing possible asset group listing group filter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupListingGroupFilterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Listing group tree is too deep. + /// Listing group tree is too deep. TreeTooDeep = 2, - /// Listing Group UNIT node cannot have children. + /// Listing Group UNIT node cannot have children. UnitCannotHaveChildren = 3, - /// Listing Group SUBDIVISION node must have everything else child. + /// Listing Group SUBDIVISION node must have everything else child. SubdivisionMustHaveEverythingElseChild = 4, - /// Dimension type of Listing Group must be the same as that of its siblings. + /// Dimension type of Listing Group must be the same as that of its siblings. DifferentDimensionTypeBetweenSiblings = 5, - /// The sibling Listing Groups target exactly the same dimension value. + /// The sibling Listing Groups target exactly the same dimension value. SameDimensionValueBetweenSiblings = 6, - /// The dimension type is the same as one of the ancestor Listing Groups. + /// The dimension type is the same as one of the ancestor Listing Groups. SameDimensionTypeBetweenAncestors = 7, - /// Each Listing Group tree must have a single root. + /// Each Listing Group tree must have a single root. MultipleRoots = 8, - /// Invalid Listing Group dimension value. + /// Invalid Listing Group dimension value. InvalidDimensionValue = 9, - /// Hierarchical dimension must refine a dimension of the same type. + /// Hierarchical dimension must refine a dimension of the same type. MustRefineHierarchicalParentType = 10, - /// Invalid Product Bidding Category. + /// Invalid Product Bidding Category. InvalidProductBiddingCategory = 11, - /// Modifying case value is allowed only while updating the entire subtree at - /// the same time. + /// Modifying case value is allowed only while updating the entire subtree at + /// the same time. ChangingCaseValueWithChildren = 12, - /// Subdivision node has children which must be removed first. + /// Subdivision node has children which must be removed first. SubdivisionHasChildren = 13, - /// Dimension can't subdivide everything-else node in its own hierarchy. + /// Dimension can't subdivide everything-else node in its own hierarchy. CannotRefineHierarchicalEverythingElse = 14, } impl AssetGroupListingGroupFilterError { @@ -1589,69 +1589,69 @@ pub mod asset_group_listing_group_filter_error_enum { } } } -// Proto file describing asset link errors. +// Proto file describing asset link errors. -/// Container for enum describing possible asset link errors. +/// Container for enum describing possible asset link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkErrorEnum { } /// Nested message and enum types in `AssetLinkErrorEnum`. pub mod asset_link_error_enum { - /// Enum describing possible asset link errors. + /// Enum describing possible asset link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Pinning is not supported for the given asset link field. + /// Pinning is not supported for the given asset link field. PinningUnsupported = 2, - /// The given field type is not supported to be added directly via asset - /// links. + /// The given field type is not supported to be added directly via asset + /// links. UnsupportedFieldType = 3, - /// The given asset's type and the specified field type are incompatible. + /// The given asset's type and the specified field type are incompatible. FieldTypeIncompatibleWithAssetType = 4, - /// The specified field type is incompatible with the given campaign type. + /// The specified field type is incompatible with the given campaign type. FieldTypeIncompatibleWithCampaignType = 5, - /// The campaign advertising channel type cannot be associated with the given - /// asset due to channel-based restrictions on the asset's fields. + /// The campaign advertising channel type cannot be associated with the given + /// asset due to channel-based restrictions on the asset's fields. IncompatibleAdvertisingChannelType = 6, - /// The image asset provided is not within the dimension constraints - /// specified for the submitted asset field. + /// The image asset provided is not within the dimension constraints + /// specified for the submitted asset field. ImageNotWithinSpecifiedDimensionRange = 7, - /// The pinned field is not valid for the submitted asset field. + /// The pinned field is not valid for the submitted asset field. InvalidPinnedField = 8, - /// The media bundle asset provided is too large for the submitted asset - /// field. + /// The media bundle asset provided is too large for the submitted asset + /// field. MediaBundleAssetFileSizeTooLarge = 9, - /// Not enough assets are available for use with other fields since other - /// assets are pinned to specific fields. + /// Not enough assets are available for use with other fields since other + /// assets are pinned to specific fields. NotEnoughAvailableAssetLinksForValidCombination = 10, - /// Not enough assets with fallback are available. When validating the - /// minimum number of assets, assets without fallback (e.g. assets that - /// contain location tag without default value "{LOCATION(City)}") will not - /// be counted. + /// Not enough assets with fallback are available. When validating the + /// minimum number of assets, assets without fallback (e.g. assets that + /// contain location tag without default value "{LOCATION(City)}") will not + /// be counted. NotEnoughAvailableAssetLinksWithFallback = 11, - /// This is a combination of the - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - /// with fallback are available since some assets are pinned. + /// This is a combination of the + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets + /// with fallback are available since some assets are pinned. NotEnoughAvailableAssetLinksWithFallbackForValidCombination = 12, - /// The YouTube video referenced in the provided asset has been removed. + /// The YouTube video referenced in the provided asset has been removed. YoutubeVideoRemoved = 13, - /// The YouTube video referenced in the provided asset is too long for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too long for the + /// field submitted. YoutubeVideoTooLong = 14, - /// The YouTube video referenced in the provided asset is too short for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too short for the + /// field submitted. YoutubeVideoTooShort = 15, - /// The status is invalid for the operation specified. + /// The status is invalid for the operation specified. InvalidStatus = 17, - /// The YouTube video referenced in the provided asset has unknown duration. - /// This might be the case for a livestream video or a video being currently - /// uploaded to YouTube. In both cases, the video duration should eventually - /// get resolved. + /// The YouTube video referenced in the provided asset has unknown duration. + /// This might be the case for a livestream video or a video being currently + /// uploaded to YouTube. In both cases, the video duration should eventually + /// get resolved. YoutubeVideoDurationNotDefined = 18, } impl AssetLinkError { @@ -1683,30 +1683,30 @@ pub mod asset_link_error_enum { } } } -// Proto file describing asset set asset errors. +// Proto file describing asset set asset errors. -/// Container for enum describing possible asset set asset errors. +/// Container for enum describing possible asset set asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetErrorEnum { } /// Nested message and enum types in `AssetSetAssetErrorEnum`. pub mod asset_set_asset_error_enum { - /// Enum describing possible asset set asset errors. + /// Enum describing possible asset set asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset type is not eligible to be linked to the specific type of asset - /// set. + /// The asset type is not eligible to be linked to the specific type of asset + /// set. InvalidAssetType = 2, - /// The asset set type is not eligible to contain the specified type of - /// assets. + /// The asset set type is not eligible to contain the specified type of + /// assets. InvalidAssetSetType = 3, - /// The asset contains duplicate external key with another asset in the asset - /// set. + /// The asset contains duplicate external key with another asset in the asset + /// set. DuplicateExternalKey = 4, } impl AssetSetAssetError { @@ -1725,23 +1725,23 @@ pub mod asset_set_asset_error_enum { } } } -// Proto file describing asset set errors. +// Proto file describing asset set errors. -/// Container for enum describing possible asset set errors. +/// Container for enum describing possible asset set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetErrorEnum { } /// Nested message and enum types in `AssetSetErrorEnum`. pub mod asset_set_error_enum { - /// Enum describing possible asset set errors. + /// Enum describing possible asset set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset set name matches that of another enabled asset set. + /// The asset set name matches that of another enabled asset set. DuplicateAssetSetName = 2, } impl AssetSetError { @@ -1758,33 +1758,33 @@ pub mod asset_set_error_enum { } } } -// Proto file describing asset set link errors. +// Proto file describing asset set link errors. -/// Container for enum describing possible asset set link errors. +/// Container for enum describing possible asset set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkErrorEnum { } /// Nested message and enum types in `AssetSetLinkErrorEnum`. pub mod asset_set_link_error_enum { - /// Enum describing possible asset set link errors. + /// Enum describing possible asset set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Advertising channel type cannot be attached to the asset set due to - /// channel-based restrictions. + /// Advertising channel type cannot be attached to the asset set due to + /// channel-based restrictions. IncompatibleAdvertisingChannelType = 2, - /// For this asset set type, only one campaign to feed linkage is allowed. + /// For this asset set type, only one campaign to feed linkage is allowed. DuplicateFeedLink = 3, - /// The asset set type and campaign type are incompatible. + /// The asset set type and campaign type are incompatible. IncompatibleAssetSetTypeWithCampaignType = 4, - /// Cannot link duplicate asset sets to the same campaign. + /// Cannot link duplicate asset sets to the same campaign. DuplicateAssetSetLink = 5, - /// Cannot remove the asset set link. If a campaign is linked with only one - /// asset set and you attempt to unlink them, this error will be triggered. + /// Cannot remove the asset set link. If a campaign is linked with only one + /// asset set and you attempt to unlink them, this error will be triggered. AssetSetLinkCannotBeRemoved = 6, } impl AssetSetLinkError { @@ -1805,39 +1805,39 @@ pub mod asset_set_link_error_enum { } } } -// Proto file describing audience errors. +// Proto file describing audience errors. -/// Container for enum describing possible audience errors. +/// Container for enum describing possible audience errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceErrorEnum { } /// Nested message and enum types in `AudienceErrorEnum`. pub mod audience_error_enum { - /// Enum describing possible audience errors. + /// Enum describing possible audience errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An audience with this name already exists. + /// An audience with this name already exists. NameAlreadyInUse = 2, - /// A dimension within the audience definition is not valid. + /// A dimension within the audience definition is not valid. DimensionInvalid = 3, - /// One of the audience segment added is not found. + /// One of the audience segment added is not found. AudienceSegmentNotFound = 4, - /// One of the audience segment type is not supported. + /// One of the audience segment type is not supported. AudienceSegmentTypeNotSupported = 5, - /// The same segment already exists in this audience. + /// The same segment already exists in this audience. DuplicateAudienceSegment = 6, - /// Audience can't have more than allowed number segments. + /// Audience can't have more than allowed number segments. TooManySegments = 7, - /// Audience can't have multiple dimensions of same type. + /// Audience can't have multiple dimensions of same type. TooManyDimensionsOfSameType = 8, - /// The audience cannot be removed, because it is currently used in an - /// ad group criterion or asset group signal in an (enabled or paused) - /// ad group or campaign. + /// The audience cannot be removed, because it is currently used in an + /// ad group criterion or asset group signal in an (enabled or paused) + /// ad group or campaign. InUse = 9, } impl AudienceError { @@ -1861,62 +1861,62 @@ pub mod audience_error_enum { } } } -// Proto file describing authentication errors. +// Proto file describing authentication errors. -/// Container for enum describing possible authentication errors. +/// Container for enum describing possible authentication errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthenticationErrorEnum { } /// Nested message and enum types in `AuthenticationErrorEnum`. pub mod authentication_error_enum { - /// Enum describing possible authentication errors. + /// Enum describing possible authentication errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthenticationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Authentication of the request failed. + /// Authentication of the request failed. AuthenticationError = 2, - /// Client Customer ID is not a number. + /// Client Customer ID is not a number. ClientCustomerIdInvalid = 5, - /// No customer found for the provided customer ID. + /// No customer found for the provided customer ID. CustomerNotFound = 8, - /// Client's Google Account is deleted. + /// Client's Google Account is deleted. GoogleAccountDeleted = 9, - /// Google account login token in the cookie is invalid. + /// Google account login token in the cookie is invalid. GoogleAccountCookieInvalid = 10, - /// A problem occurred during Google account authentication. + /// A problem occurred during Google account authentication. GoogleAccountAuthenticationFailed = 25, - /// The user in the Google account login token does not match the user ID in - /// the cookie. + /// The user in the Google account login token does not match the user ID in + /// the cookie. GoogleAccountUserAndAdsUserMismatch = 12, - /// Login cookie is required for authentication. + /// Login cookie is required for authentication. LoginCookieRequired = 13, - /// User in the cookie is not a valid Ads user. + /// User in the cookie is not a valid Ads user. NotAdsUser = 14, - /// Oauth token in the header is not valid. + /// Oauth token in the header is not valid. OauthTokenInvalid = 15, - /// Oauth token in the header has expired. + /// Oauth token in the header has expired. OauthTokenExpired = 16, - /// Oauth token in the header has been disabled. + /// Oauth token in the header has been disabled. OauthTokenDisabled = 17, - /// Oauth token in the header has been revoked. + /// Oauth token in the header has been revoked. OauthTokenRevoked = 18, - /// Oauth token HTTP header is malformed. + /// Oauth token HTTP header is malformed. OauthTokenHeaderInvalid = 19, - /// Login cookie is not valid. + /// Login cookie is not valid. LoginCookieInvalid = 20, - /// User Id in the header is not a valid id. + /// User Id in the header is not a valid id. UserIdInvalid = 22, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable 2-Step Verification in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable 2-Step Verification in your + /// Google account at TwoStepVerificationNotEnrolled = 23, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable Advanced Protection in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable Advanced Protection in your + /// Google account at AdvancedProtectionNotEnrolled = 24, } impl AuthenticationError { @@ -1950,58 +1950,58 @@ pub mod authentication_error_enum { } } } -// Proto file describing authorization errors. +// Proto file describing authorization errors. -/// Container for enum describing possible authorization errors. +/// Container for enum describing possible authorization errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationErrorEnum { } /// Nested message and enum types in `AuthorizationErrorEnum`. pub mod authorization_error_enum { - /// Enum describing possible authorization errors. + /// Enum describing possible authorization errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User doesn't have permission to access customer. Note: If you're - /// accessing a client customer, the manager's customer ID must be set in the - /// `login-customer-id` header. Learn more at - /// + /// User doesn't have permission to access customer. Note: If you're + /// accessing a client customer, the manager's customer ID must be set in the + /// `login-customer-id` header. Learn more at + /// UserPermissionDenied = 2, - /// The developer token is not on the allow-list. + /// The developer token is not on the allow-list. DeveloperTokenNotOnAllowlist = 13, - /// The developer token is not allowed with the project sent in the request. + /// The developer token is not allowed with the project sent in the request. DeveloperTokenProhibited = 4, - /// The Google Cloud project sent in the request does not have permission to - /// access the api. + /// The Google Cloud project sent in the request does not have permission to + /// access the api. ProjectDisabled = 5, - /// Authorization of the client failed. + /// Authorization of the client failed. AuthorizationError = 6, - /// The user does not have permission to perform this action - /// (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. + /// The user does not have permission to perform this action + /// (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. ActionNotPermitted = 7, - /// Signup not complete. + /// Signup not complete. IncompleteSignup = 8, - /// The customer can't be used because it isn't enabled. + /// The customer can't be used because it isn't enabled. CustomerNotEnabled = 24, - /// The developer must sign the terms of service. They can be found here: - /// ads.google.com/aw/apicenter + /// The developer must sign the terms of service. They can be found here: + /// ads.google.com/aw/apicenter MissingTos = 9, - /// The developer token is not approved. Non-approved developer tokens can - /// only be used with test accounts. + /// The developer token is not approved. Non-approved developer tokens can + /// only be used with test accounts. DeveloperTokenNotApproved = 10, - /// The login customer specified does not have access to the account - /// specified, so the request is invalid. + /// The login customer specified does not have access to the account + /// specified, so the request is invalid. InvalidLoginCustomerIdServingCustomerIdCombination = 11, - /// The developer specified does not have access to the service. + /// The developer specified does not have access to the service. ServiceAccessDenied = 12, - /// The customer (or login customer) isn't in Google Ads. It belongs to - /// another ads system. + /// The customer (or login customer) isn't in Google Ads. It belongs to + /// another ads system. AccessDeniedForAccountType = 25, - /// The developer does not have access to the metrics queried. + /// The developer does not have access to the metrics queried. MetricAccessDenied = 26, } impl AuthorizationError { @@ -2031,34 +2031,34 @@ pub mod authorization_error_enum { } } } -// Proto file describing batch job errors. +// Proto file describing batch job errors. -/// Container for enum describing possible batch job errors. +/// Container for enum describing possible batch job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobErrorEnum { } /// Nested message and enum types in `BatchJobErrorEnum`. pub mod batch_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The batch job cannot add more operations or run after it has started - /// running. + /// The batch job cannot add more operations or run after it has started + /// running. CannotModifyJobAfterJobStartsRunning = 2, - /// The operations for an AddBatchJobOperations request were empty. + /// The operations for an AddBatchJobOperations request were empty. EmptyOperations = 3, - /// The sequence token for an AddBatchJobOperations request was invalid. + /// The sequence token for an AddBatchJobOperations request was invalid. InvalidSequenceToken = 4, - /// Batch job results can only be retrieved once the job is finished. + /// Batch job results can only be retrieved once the job is finished. ResultsNotReady = 5, - /// The page size for ListBatchJobResults was invalid. + /// The page size for ListBatchJobResults was invalid. InvalidPageSize = 6, - /// The batch job cannot be removed because it has started running. + /// The batch job cannot be removed because it has started running. CanOnlyRemovePendingJob = 7, } impl BatchJobError { @@ -2080,83 +2080,83 @@ pub mod batch_job_error_enum { } } } -// Proto file describing bidding errors. +// Proto file describing bidding errors. -/// Container for enum describing possible bidding errors. +/// Container for enum describing possible bidding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingErrorEnum { } /// Nested message and enum types in `BiddingErrorEnum`. pub mod bidding_error_enum { - /// Enum describing possible bidding errors. + /// Enum describing possible bidding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot transition to new bidding strategy. + /// Cannot transition to new bidding strategy. BiddingStrategyTransitionNotAllowed = 2, - /// Cannot attach bidding strategy to campaign. + /// Cannot attach bidding strategy to campaign. CannotAttachBiddingStrategyToCampaign = 7, - /// Bidding strategy is not supported or cannot be used as anonymous. + /// Bidding strategy is not supported or cannot be used as anonymous. InvalidAnonymousBiddingStrategyType = 10, - /// The type does not match the named strategy's type. + /// The type does not match the named strategy's type. InvalidBiddingStrategyType = 14, - /// The bid is invalid. + /// The bid is invalid. InvalidBid = 17, - /// Bidding strategy is not available for the account type. + /// Bidding strategy is not available for the account type. BiddingStrategyNotAvailableForAccountType = 18, - /// Conversion tracking is not enabled in the campaign that has value-based - /// bidding transitions. + /// Conversion tracking is not enabled in the campaign that has value-based + /// bidding transitions. ConversionTrackingNotEnabled = 19, - /// Not enough conversions tracked for value-based bidding transitions. + /// Not enough conversions tracked for value-based bidding transitions. NotEnoughConversions = 20, - /// Campaign can not be created with given bidding strategy. It can be - /// transitioned to the strategy, once eligible. + /// Campaign can not be created with given bidding strategy. It can be + /// transitioned to the strategy, once eligible. CannotCreateCampaignWithBiddingStrategy = 21, - /// Cannot target content network only as campaign uses Page One Promoted - /// bidding strategy. + /// Cannot target content network only as campaign uses Page One Promoted + /// bidding strategy. CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy = 23, - /// Budget Optimizer and Target Spend bidding strategies are not supported - /// for campaigns with AdSchedule targeting. + /// Budget Optimizer and Target Spend bidding strategies are not supported + /// for campaigns with AdSchedule targeting. BiddingStrategyNotSupportedWithAdSchedule = 24, - /// Pay per conversion is not available to all the customer, only few - /// customers on the allow-list can use this. + /// Pay per conversion is not available to all the customer, only few + /// customers on the allow-list can use this. PayPerConversionNotAvailableForCustomer = 25, - /// Pay per conversion is not allowed with Target CPA. + /// Pay per conversion is not allowed with Target CPA. PayPerConversionNotAllowedWithTargetCpa = 26, - /// Cannot set bidding strategy to Manual CPM for search network only - /// campaigns. + /// Cannot set bidding strategy to Manual CPM for search network only + /// campaigns. BiddingStrategyNotAllowedForSearchOnlyCampaigns = 27, - /// The bidding strategy is not supported for use in drafts or experiments. + /// The bidding strategy is not supported for use in drafts or experiments. BiddingStrategyNotSupportedInDraftsOrExperiments = 28, - /// Bidding strategy type does not support product type ad group criterion. + /// Bidding strategy type does not support product type ad group criterion. BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion = 29, - /// Bid amount is too small. + /// Bid amount is too small. BidTooSmall = 30, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 31, - /// Bid has too many fractional digit precision. + /// Bid has too many fractional digit precision. BidTooManyFractionalDigits = 32, - /// Invalid domain name specified. + /// Invalid domain name specified. InvalidDomainName = 33, - /// The field is not compatible with the payment mode. + /// The field is not compatible with the payment mode. NotCompatibleWithPaymentMode = 34, - /// The field is not compatible with the budget type. + /// The field is not compatible with the budget type. NotCompatibleWithBudgetType = 35, - /// The field is not compatible with the bidding strategy type. + /// The field is not compatible with the bidding strategy type. NotCompatibleWithBiddingStrategyType = 36, - /// Bidding strategy type is incompatible with shared budget. + /// Bidding strategy type is incompatible with shared budget. BiddingStrategyTypeIncompatibleWithSharedBudget = 37, - /// The attached bidding strategy and budget must be aligned with each other - /// if alignment is specified on either entity. + /// The attached bidding strategy and budget must be aligned with each other + /// if alignment is specified on either entity. BiddingStrategyAndBudgetMustBeAligned = 38, - /// The attached bidding strategy and budget must be attached to the same - /// campaigns to become aligned. + /// The attached bidding strategy and budget must be attached to the same + /// campaigns to become aligned. BiddingStrategyAndBudgetMustBeAttachedToTheSameCampaignsToAlign = 39, - /// The aligned bidding strategy and budget must be removed at the same time. + /// The aligned bidding strategy and budget must be removed at the same time. BiddingStrategyAndBudgetMustBeRemovedTogether = 40, } impl BiddingError { @@ -2199,33 +2199,33 @@ pub mod bidding_error_enum { } } } -// Proto file describing bidding strategy errors. +// Proto file describing bidding strategy errors. -/// Container for enum describing possible bidding strategy errors. +/// Container for enum describing possible bidding strategy errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyErrorEnum { } /// Nested message and enum types in `BiddingStrategyErrorEnum`. pub mod bidding_strategy_error_enum { - /// Enum describing possible bidding strategy errors. + /// Enum describing possible bidding strategy errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each bidding strategy must have a unique name. + /// Each bidding strategy must have a unique name. DuplicateName = 2, - /// Bidding strategy type is immutable. + /// Bidding strategy type is immutable. CannotChangeBiddingStrategyType = 3, - /// Only bidding strategies not linked to campaigns, adgroups or adgroup - /// criteria can be removed. + /// Only bidding strategies not linked to campaigns, adgroups or adgroup + /// criteria can be removed. CannotRemoveAssociatedStrategy = 4, - /// The specified bidding strategy is not supported. + /// The specified bidding strategy is not supported. BiddingStrategyNotSupported = 5, - /// The bidding strategy is incompatible with the campaign's bidding - /// strategy goal type. + /// The bidding strategy is incompatible with the campaign's bidding + /// strategy goal type. IncompatibleBiddingStrategyAndBiddingStrategyGoalType = 6, } impl BiddingStrategyError { @@ -2246,68 +2246,68 @@ pub mod bidding_strategy_error_enum { } } } -// Proto file describing billing setup errors. +// Proto file describing billing setup errors. -/// Container for enum describing possible billing setup errors. +/// Container for enum describing possible billing setup errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupErrorEnum { } /// Nested message and enum types in `BillingSetupErrorEnum`. pub mod billing_setup_error_enum { - /// Enum describing possible billing setup errors. + /// Enum describing possible billing setup errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot specify both an existing payments account and a new payments - /// account when setting up billing. + /// Cannot specify both an existing payments account and a new payments + /// account when setting up billing. CannotUseExistingAndNewAccount = 2, - /// Cannot cancel an approved billing setup whose start time has passed. + /// Cannot cancel an approved billing setup whose start time has passed. CannotRemoveStartedBillingSetup = 3, - /// Cannot perform a Change of Bill-To (CBT) to the same payments account. + /// Cannot perform a Change of Bill-To (CBT) to the same payments account. CannotChangeBillingToSamePaymentsAccount = 4, - /// Billing setups can only be used by customers with ENABLED or DRAFT - /// status. + /// Billing setups can only be used by customers with ENABLED or DRAFT + /// status. BillingSetupNotPermittedForCustomerStatus = 5, - /// Billing setups must either include a correctly formatted existing - /// payments account id, or a non-empty new payments account name. + /// Billing setups must either include a correctly formatted existing + /// payments account id, or a non-empty new payments account name. InvalidPaymentsAccount = 6, - /// Only billable and third-party customers can create billing setups. + /// Only billable and third-party customers can create billing setups. BillingSetupNotPermittedForCustomerCategory = 7, - /// Billing setup creations can only use NOW for start time type. + /// Billing setup creations can only use NOW for start time type. InvalidStartTimeType = 8, - /// Billing setups can only be created for a third-party customer if they do - /// not already have a setup. + /// Billing setups can only be created for a third-party customer if they do + /// not already have a setup. ThirdPartyAlreadyHasBilling = 9, - /// Billing setups cannot be created if there is already a pending billing in - /// progress. + /// Billing setups cannot be created if there is already a pending billing in + /// progress. BillingSetupInProgress = 10, - /// Billing setups can only be created by customers who have permission to - /// setup billings. Users can contact a representative for help setting up - /// permissions. + /// Billing setups can only be created by customers who have permission to + /// setup billings. Users can contact a representative for help setting up + /// permissions. NoSignupPermission = 11, - /// Billing setups cannot be created if there is already a future-approved - /// billing. + /// Billing setups cannot be created if there is already a future-approved + /// billing. ChangeOfBillToInProgress = 12, - /// Requested payments profile not found. + /// Requested payments profile not found. PaymentsProfileNotFound = 13, - /// Requested payments account not found. + /// Requested payments account not found. PaymentsAccountNotFound = 14, - /// Billing setup creation failed because the payments profile is ineligible. + /// Billing setup creation failed because the payments profile is ineligible. PaymentsProfileIneligible = 15, - /// Billing setup creation failed because the payments account is ineligible. + /// Billing setup creation failed because the payments account is ineligible. PaymentsAccountIneligible = 16, - /// Billing setup creation failed because the payments profile needs internal - /// approval. + /// Billing setup creation failed because the payments profile needs internal + /// approval. CustomerNeedsInternalApproval = 17, - /// Payments account has different currency code than the current customer - /// and hence cannot be used to setup billing. + /// Payments account has different currency code than the current customer + /// and hence cannot be used to setup billing. PaymentsAccountIneligibleCurrencyCodeMismatch = 19, - /// A start time in the future cannot be used because there is currently no - /// active billing setup for this customer. + /// A start time in the future cannot be used because there is currently no + /// active billing setup for this customer. FutureStartTimeProhibited = 20, } impl BillingSetupError { @@ -2341,60 +2341,60 @@ pub mod billing_setup_error_enum { } } } -// Proto file describing campaign budget errors. +// Proto file describing campaign budget errors. -/// Container for enum describing possible campaign budget errors. +/// Container for enum describing possible campaign budget errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetErrorEnum { } /// Nested message and enum types in `CampaignBudgetErrorEnum`. pub mod campaign_budget_error_enum { - /// Enum describing possible campaign budget errors. + /// Enum describing possible campaign budget errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignBudgetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign budget cannot be shared. + /// The campaign budget cannot be shared. CampaignBudgetCannotBeShared = 17, - /// The requested campaign budget no longer exists. + /// The requested campaign budget no longer exists. CampaignBudgetRemoved = 2, - /// The campaign budget is associated with at least one campaign, and so the - /// campaign budget cannot be removed. + /// The campaign budget is associated with at least one campaign, and so the + /// campaign budget cannot be removed. CampaignBudgetInUse = 3, - /// Customer is not on the allow-list for this campaign budget period. + /// Customer is not on the allow-list for this campaign budget period. CampaignBudgetPeriodNotAvailable = 4, - /// This field is not mutable on implicitly shared campaign budgets + /// This field is not mutable on implicitly shared campaign budgets CannotModifyFieldOfImplicitlySharedCampaignBudget = 6, - /// Cannot change explicitly shared campaign budgets back to implicitly - /// shared ones. + /// Cannot change explicitly shared campaign budgets back to implicitly + /// shared ones. CannotUpdateCampaignBudgetToImplicitlyShared = 7, - /// An implicit campaign budget without a name cannot be changed to - /// explicitly shared campaign budget. + /// An implicit campaign budget without a name cannot be changed to + /// explicitly shared campaign budget. CannotUpdateCampaignBudgetToExplicitlySharedWithoutName = 8, - /// Cannot change an implicitly shared campaign budget to an explicitly - /// shared one. + /// Cannot change an implicitly shared campaign budget to an explicitly + /// shared one. CannotUpdateCampaignBudgetToExplicitlyShared = 9, - /// Only explicitly shared campaign budgets can be used with multiple - /// campaigns. + /// Only explicitly shared campaign budgets can be used with multiple + /// campaigns. CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns = 10, - /// A campaign budget with this name already exists. + /// A campaign budget with this name already exists. DuplicateName = 11, - /// A money amount was not in the expected currency. + /// A money amount was not in the expected currency. MoneyAmountInWrongCurrency = 12, - /// A money amount was less than the minimum CPC for currency. + /// A money amount was less than the minimum CPC for currency. MoneyAmountLessThanCurrencyMinimumCpc = 13, - /// A money amount was greater than the maximum allowed. + /// A money amount was greater than the maximum allowed. MoneyAmountTooLarge = 14, - /// A money amount was negative. + /// A money amount was negative. NegativeMoneyAmount = 15, - /// A money amount was not a multiple of a minimum unit. + /// A money amount was not a multiple of a minimum unit. NonMultipleOfMinimumCurrencyUnit = 16, - /// Total budget amount must be unset when BudgetPeriod is DAILY. + /// Total budget amount must be unset when BudgetPeriod is DAILY. TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily = 18, - /// The period of the budget is not allowed. + /// The period of the budget is not allowed. InvalidPeriod = 19, } impl CampaignBudgetError { @@ -2427,23 +2427,23 @@ pub mod campaign_budget_error_enum { } } } -// Proto file describing campaign conversion goal errors. +// Proto file describing campaign conversion goal errors. -/// Container for enum describing possible campaign conversion goal errors. +/// Container for enum describing possible campaign conversion goal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoalErrorEnum { } /// Nested message and enum types in `CampaignConversionGoalErrorEnum`. pub mod campaign_conversion_goal_error_enum { - /// Enum describing possible campaign conversion goal errors. + /// Enum describing possible campaign conversion goal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignConversionGoalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Campaign is managed by Search Ads 360 but uses Unified Goal. + /// Campaign is managed by Search Ads 360 but uses Unified Goal. CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2, } impl CampaignConversionGoalError { @@ -2460,60 +2460,60 @@ pub mod campaign_conversion_goal_error_enum { } } } -// Proto file describing campaign criterion errors. +// Proto file describing campaign criterion errors. -/// Container for enum describing possible campaign criterion errors. +/// Container for enum describing possible campaign criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionErrorEnum { } /// Nested message and enum types in `CampaignCriterionErrorEnum`. pub mod campaign_criterion_error_enum { - /// Enum describing possible campaign criterion errors. + /// Enum describing possible campaign criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion (keyword v.s. placement) is required for - /// CREATE and UPDATE operations. + /// Concrete type of criterion (keyword v.s. placement) is required for + /// CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 3, - /// Criteria type can not be excluded for the campaign by the customer. like - /// AOL account type cannot target site type criteria + /// Criteria type can not be excluded for the campaign by the customer. like + /// AOL account type cannot target site type criteria CannotExcludeCriteriaType = 4, - /// Cannot set the campaign criterion status for this criteria type. + /// Cannot set the campaign criterion status for this criteria type. CannotSetStatusForCriteriaType = 5, - /// Cannot set the campaign criterion status for an excluded criteria. + /// Cannot set the campaign criterion status for an excluded criteria. CannotSetStatusForExcludedCriteria = 6, - /// Cannot target and exclude the same criterion. + /// Cannot target and exclude the same criterion. CannotTargetAndExclude = 7, - /// The mutate contained too many operations. + /// The mutate contained too many operations. TooManyOperations = 8, - /// This operator cannot be applied to a criterion of this type. + /// This operator cannot be applied to a criterion of this type. OperatorNotSupportedForCriterionType = 9, - /// The Shopping campaign sales country is not supported for - /// ProductSalesChannel targeting. + /// The Shopping campaign sales country is not supported for + /// ProductSalesChannel targeting. ShoppingCampaignSalesCountryNotSupportedForSalesChannel = 10, - /// The existing field can't be updated with CREATE operation. It can be - /// updated with UPDATE operation only. + /// The existing field can't be updated with CREATE operation. It can be + /// updated with UPDATE operation only. CannotAddExistingField = 11, - /// Negative criteria are immutable, so updates are not allowed. + /// Negative criteria are immutable, so updates are not allowed. CannotUpdateNegativeCriterion = 12, - /// Only free form names are allowed for negative Smart campaign keyword - /// theme. + /// Only free form names are allowed for negative Smart campaign keyword + /// theme. CannotSetNegativeKeywordThemeConstantCriterion = 13, - /// Invalid Smart campaign keyword theme constant criterion. + /// Invalid Smart campaign keyword theme constant criterion. InvalidKeywordThemeConstant = 14, - /// A Smart campaign keyword theme constant or free-form Smart campaign - /// keyword theme is required. + /// A Smart campaign keyword theme constant or free-form Smart campaign + /// keyword theme is required. MissingKeywordThemeConstantOrFreeFormKeywordTheme = 15, - /// A Smart campaign may not target proximity and location criteria - /// simultaneously. + /// A Smart campaign may not target proximity and location criteria + /// simultaneously. CannotTargetBothProximityAndLocationCriteriaForSmartCampaign = 16, - /// A Smart campaign may not target multiple proximity criteria. + /// A Smart campaign may not target multiple proximity criteria. CannotTargetMultipleProximityCriteriaForSmartCampaign = 17, } impl CampaignCriterionError { @@ -2545,21 +2545,21 @@ pub mod campaign_criterion_error_enum { } } } -// Proto file describing campaign customizer errors. +// Proto file describing campaign customizer errors. -/// Container for enum describing possible campaign customizer errors. +/// Container for enum describing possible campaign customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerErrorEnum { } /// Nested message and enum types in `CampaignCustomizerErrorEnum`. pub mod campaign_customizer_error_enum { - /// Enum describing possible campaign customizer errors. + /// Enum describing possible campaign customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CampaignCustomizerError { @@ -2575,46 +2575,46 @@ pub mod campaign_customizer_error_enum { } } } -// Proto file describing campaign draft errors. +// Proto file describing campaign draft errors. -/// Container for enum describing possible campaign draft errors. +/// Container for enum describing possible campaign draft errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftErrorEnum { } /// Nested message and enum types in `CampaignDraftErrorEnum`. pub mod campaign_draft_error_enum { - /// Enum describing possible campaign draft errors. + /// Enum describing possible campaign draft errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A draft with this name already exists for this campaign. + /// A draft with this name already exists for this campaign. DuplicateDraftName = 2, - /// The draft is removed and cannot be transitioned to another status. + /// The draft is removed and cannot be transitioned to another status. InvalidStatusTransitionFromRemoved = 3, - /// The draft has been promoted and cannot be transitioned to the specified - /// status. + /// The draft has been promoted and cannot be transitioned to the specified + /// status. InvalidStatusTransitionFromPromoted = 4, - /// The draft has failed to be promoted and cannot be transitioned to the - /// specified status. + /// The draft has failed to be promoted and cannot be transitioned to the + /// specified status. InvalidStatusTransitionFromPromoteFailed = 5, - /// This customer is not allowed to create drafts. + /// This customer is not allowed to create drafts. CustomerCannotCreateDraft = 6, - /// This campaign is not allowed to create drafts. + /// This campaign is not allowed to create drafts. CampaignCannotCreateDraft = 7, - /// This modification cannot be made on a draft. + /// This modification cannot be made on a draft. InvalidDraftChange = 8, - /// The draft cannot be transitioned to the specified status from its - /// current status. + /// The draft cannot be transitioned to the specified status from its + /// current status. InvalidStatusTransition = 9, - /// The campaign has reached the maximum number of drafts that can be created - /// for a campaign throughout its lifetime. No additional drafts can be - /// created for this campaign. Removed drafts also count towards this limit. + /// The campaign has reached the maximum number of drafts that can be created + /// for a campaign throughout its lifetime. No additional drafts can be + /// created for this campaign. Removed drafts also count towards this limit. MaxNumberOfDraftsPerCampaignReached = 10, - /// ListAsyncErrors was called without first promoting the draft. + /// ListAsyncErrors was called without first promoting the draft. ListErrorsForPromotedDraftOnly = 11, } impl CampaignDraftError { @@ -2640,132 +2640,132 @@ pub mod campaign_draft_error_enum { } } } -// Proto file describing campaign errors. +// Proto file describing campaign errors. -/// Container for enum describing possible campaign errors. +/// Container for enum describing possible campaign errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignErrorEnum { } /// Nested message and enum types in `CampaignErrorEnum`. pub mod campaign_error_enum { - /// Enum describing possible campaign errors. + /// Enum describing possible campaign errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot target content network. + /// Cannot target content network. CannotTargetContentNetwork = 3, - /// Cannot target search network. + /// Cannot target search network. CannotTargetSearchNetwork = 4, - /// Cannot cover search network without google search network. + /// Cannot cover search network without google search network. CannotTargetSearchNetworkWithoutGoogleSearch = 5, - /// Cannot target Google Search network for a CPM campaign. + /// Cannot target Google Search network for a CPM campaign. CannotTargetGoogleSearchForCpmCampaign = 6, - /// Must target at least one network. + /// Must target at least one network. CampaignMustTargetAtLeastOneNetwork = 7, - /// Only some Google partners are allowed to target partner search network. + /// Only some Google partners are allowed to target partner search network. CannotTargetPartnerSearchNetwork = 8, - /// Cannot target content network only as campaign has criteria-level bidding - /// strategy. + /// Cannot target content network only as campaign has criteria-level bidding + /// strategy. CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy = 9, - /// Cannot modify the start or end date such that the campaign duration would - /// not contain the durations of all runnable trials. + /// Cannot modify the start or end date such that the campaign duration would + /// not contain the durations of all runnable trials. CampaignDurationMustContainAllRunnableTrials = 10, - /// Cannot modify dates, budget or status of a trial campaign. + /// Cannot modify dates, budget or status of a trial campaign. CannotModifyForTrialCampaign = 11, - /// Trying to modify the name of an active or paused campaign, where the name - /// is already assigned to another active or paused campaign. + /// Trying to modify the name of an active or paused campaign, where the name + /// is already assigned to another active or paused campaign. DuplicateCampaignName = 12, - /// Two fields are in conflicting modes. + /// Two fields are in conflicting modes. IncompatibleCampaignField = 13, - /// Campaign name cannot be used. + /// Campaign name cannot be used. InvalidCampaignName = 14, - /// Given status is invalid. + /// Given status is invalid. InvalidAdServingOptimizationStatus = 15, - /// Error in the campaign level tracking URL. + /// Error in the campaign level tracking URL. InvalidTrackingUrl = 16, - /// Cannot set both tracking URL template and tracking setting. A user has - /// to clear legacy tracking setting in order to add tracking URL template. + /// Cannot set both tracking URL template and tracking setting. A user has + /// to clear legacy tracking setting in order to add tracking URL template. CannotSetBothTrackingUrlTemplateAndTrackingSetting = 17, - /// The maximum number of impressions for Frequency Cap should be an integer - /// greater than 0. + /// The maximum number of impressions for Frequency Cap should be an integer + /// greater than 0. MaxImpressionsNotInRange = 18, - /// Only the Day, Week and Month time units are supported. + /// Only the Day, Week and Month time units are supported. TimeUnitNotSupported = 19, - /// Operation not allowed on a campaign whose serving status has ended + /// Operation not allowed on a campaign whose serving status has ended InvalidOperationIfServingStatusHasEnded = 20, - /// This budget is exclusively linked to a Campaign that is using experiments - /// so it cannot be shared. + /// This budget is exclusively linked to a Campaign that is using experiments + /// so it cannot be shared. BudgetCannotBeShared = 21, - /// Campaigns using experiments cannot use a shared budget. + /// Campaigns using experiments cannot use a shared budget. CampaignCannotUseSharedBudget = 22, - /// A different budget cannot be assigned to a campaign when there are - /// running or scheduled trials. + /// A different budget cannot be assigned to a campaign when there are + /// running or scheduled trials. CannotChangeBudgetOnCampaignWithTrials = 23, - /// No link found between the campaign and the label. + /// No link found between the campaign and the label. CampaignLabelDoesNotExist = 24, - /// The label has already been attached to the campaign. + /// The label has already been attached to the campaign. CampaignLabelAlreadyExists = 25, - /// A ShoppingSetting was not found when creating a shopping campaign. + /// A ShoppingSetting was not found when creating a shopping campaign. MissingShoppingSetting = 26, - /// The country in shopping setting is not an allowed country. + /// The country in shopping setting is not an allowed country. InvalidShoppingSalesCountry = 27, - /// The requested channel type is not available according to the customer's - /// account setting. + /// The requested channel type is not available according to the customer's + /// account setting. AdvertisingChannelTypeNotAvailableForAccountType = 31, - /// The AdvertisingChannelSubType is not a valid subtype of the primary - /// channel type. + /// The AdvertisingChannelSubType is not a valid subtype of the primary + /// channel type. InvalidAdvertisingChannelSubType = 32, - /// At least one conversion must be selected. + /// At least one conversion must be selected. AtLeastOneConversionMustBeSelected = 33, - /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - /// at campaign is deprecated. + /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode + /// at campaign is deprecated. CannotSetAdRotationMode = 34, - /// Trying to change start date on a campaign that has started. + /// Trying to change start date on a campaign that has started. CannotModifyStartDateIfAlreadyStarted = 35, - /// Trying to modify a date into the past. + /// Trying to modify a date into the past. CannotSetDateToPast = 36, - /// Hotel center id in the hotel setting does not match any customer links. + /// Hotel center id in the hotel setting does not match any customer links. MissingHotelCustomerLink = 37, - /// Hotel center id in the hotel setting must match an active customer link. + /// Hotel center id in the hotel setting must match an active customer link. InvalidHotelCustomerLink = 38, - /// Hotel setting was not found when creating a hotel ads campaign. + /// Hotel setting was not found when creating a hotel ads campaign. MissingHotelSetting = 39, - /// A Campaign cannot use shared campaign budgets and be part of a campaign - /// group. + /// A Campaign cannot use shared campaign budgets and be part of a campaign + /// group. CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup = 40, - /// The app ID was not found. + /// The app ID was not found. AppNotFound = 41, - /// Campaign.shopping_setting.enable_local is not supported for the specified - /// campaign type. + /// Campaign.shopping_setting.enable_local is not supported for the specified + /// campaign type. ShoppingEnableLocalNotSupportedForCampaignType = 42, - /// The merchant does not support the creation of campaigns for Shopping - /// Comparison Listing Ads. + /// The merchant does not support the creation of campaigns for Shopping + /// Comparison Listing Ads. MerchantNotAllowedForComparisonListingAds = 43, - /// The App campaign for engagement cannot be created because there aren't - /// enough installs. + /// The App campaign for engagement cannot be created because there aren't + /// enough installs. InsufficientAppInstallsCount = 44, - /// The App campaign for engagement cannot be created because the app is - /// sensitive. + /// The App campaign for engagement cannot be created because the app is + /// sensitive. SensitiveCategoryApp = 45, - /// Customers with Housing, Employment, or Credit ads must accept updated - /// personalized ads policy to continue creating campaigns. + /// Customers with Housing, Employment, or Credit ads must accept updated + /// personalized ads policy to continue creating campaigns. HecAgreementRequired = 46, - /// The field is not compatible with view through conversion optimization. + /// The field is not compatible with view through conversion optimization. NotCompatibleWithViewThroughConversionOptimization = 49, - /// The field type cannot be excluded because an active campaign-asset link - /// of this type exists. + /// The field type cannot be excluded because an active campaign-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 48, - /// The app pre-registration campaign cannot be created for non-Android - /// applications. + /// The app pre-registration campaign cannot be created for non-Android + /// applications. CannotCreateAppPreRegistrationForNonAndroidApp = 50, - /// The campaign cannot be created since the app is not available for - /// pre-registration in any country. + /// The campaign cannot be created since the app is not available for + /// pre-registration in any country. AppNotAvailableToCreateAppPreRegistrationCampaign = 51, - /// The type of the Budget is not compatible with this Campaign. + /// The type of the Budget is not compatible with this Campaign. IncompatibleBudgetType = 52, } impl CampaignError { @@ -2827,48 +2827,48 @@ pub mod campaign_error_enum { } } } -// Proto file describing campaign experiment errors. +// Proto file describing campaign experiment errors. -/// Container for enum describing possible campaign experiment errors. +/// Container for enum describing possible campaign experiment errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentErrorEnum { } /// Nested message and enum types in `CampaignExperimentErrorEnum`. pub mod campaign_experiment_error_enum { - /// Enum describing possible campaign experiment errors. + /// Enum describing possible campaign experiment errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active campaign or experiment with this name already exists. + /// An active campaign or experiment with this name already exists. DuplicateName = 2, - /// Experiment cannot be updated from the current state to the - /// requested target state. For example, an experiment can only graduate - /// if its status is ENABLED. + /// Experiment cannot be updated from the current state to the + /// requested target state. For example, an experiment can only graduate + /// if its status is ENABLED. InvalidTransition = 3, - /// Cannot create an experiment from a campaign using an explicitly shared - /// budget. + /// Cannot create an experiment from a campaign using an explicitly shared + /// budget. CannotCreateExperimentWithSharedBudget = 4, - /// Cannot create an experiment for a removed base campaign. + /// Cannot create an experiment for a removed base campaign. CannotCreateExperimentForRemovedBaseCampaign = 5, - /// Cannot create an experiment from a draft, which has a status other than - /// proposed. + /// Cannot create an experiment from a draft, which has a status other than + /// proposed. CannotCreateExperimentForNonProposedDraft = 6, - /// This customer is not allowed to create an experiment. + /// This customer is not allowed to create an experiment. CustomerCannotCreateExperiment = 7, - /// This campaign is not allowed to create an experiment. + /// This campaign is not allowed to create an experiment. CampaignCannotCreateExperiment = 8, - /// Trying to set an experiment duration which overlaps with another - /// experiment. + /// Trying to set an experiment duration which overlaps with another + /// experiment. ExperimentDurationsMustNotOverlap = 9, - /// All non-removed experiments must start and end within their campaign's - /// duration. + /// All non-removed experiments must start and end within their campaign's + /// duration. ExperimentDurationMustBeWithinCampaignDuration = 10, - /// The experiment cannot be modified because its status is in a terminal - /// state, such as REMOVED. + /// The experiment cannot be modified because its status is in a terminal + /// state, such as REMOVED. CannotMutateExperimentDueToStatus = 11, } impl CampaignExperimentError { @@ -2894,37 +2894,37 @@ pub mod campaign_experiment_error_enum { } } } -// Proto file describing campaign feed errors. +// Proto file describing campaign feed errors. -/// Container for enum describing possible campaign feed errors. +/// Container for enum describing possible campaign feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedErrorEnum { } /// Nested message and enum types in `CampaignFeedErrorEnum`. pub mod campaign_feed_error_enum { - /// Enum describing possible campaign feed errors. + /// Enum describing possible campaign feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this campaign and placeholder type. + /// An active feed already exists for this campaign and placeholder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 4, - /// The CampaignFeed already exists. UPDATE should be used to modify the - /// existing CampaignFeed. + /// The CampaignFeed already exists. UPDATE should be used to modify the + /// existing CampaignFeed. CannotCreateAlreadyExistingCampaignFeed = 5, - /// Cannot update removed campaign feed. + /// Cannot update removed campaign feed. CannotModifyRemovedCampaignFeed = 6, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 7, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 8, - /// Location CampaignFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location CampaignFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 9, } impl CampaignFeedError { @@ -2947,23 +2947,23 @@ pub mod campaign_feed_error_enum { } } } -// Proto file describing campaign shared set errors. +// Proto file describing campaign shared set errors. -/// Container for enum describing possible campaign shared set errors. +/// Container for enum describing possible campaign shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetErrorEnum { } /// Nested message and enum types in `CampaignSharedSetErrorEnum`. pub mod campaign_shared_set_error_enum { - /// Enum describing possible campaign shared set errors. + /// Enum describing possible campaign shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The shared set belongs to another customer and permission isn't granted. + /// The shared set belongs to another customer and permission isn't granted. SharedSetAccessDenied = 2, } impl CampaignSharedSetError { @@ -2980,35 +2980,35 @@ pub mod campaign_shared_set_error_enum { } } } -// Proto file describing change event errors. +// Proto file describing change event errors. -/// Container for enum describing possible change event errors. +/// Container for enum describing possible change event errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventErrorEnum { } /// Nested message and enum types in `ChangeEventErrorEnum`. pub mod change_event_error_enum { - /// Enum describing possible change event errors. + /// Enum describing possible change event errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. It cannot be older than 30 days. + /// The requested start date is too old. It cannot be older than 30 days. StartDateTooOld = 2, - /// The change_event search request must specify a finite range filter - /// on change_date_time. + /// The change_event search request must specify a finite range filter + /// on change_date_time. ChangeDateRangeInfinite = 3, - /// The change event search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change event search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 4, - /// The change_event search request must specify a LIMIT. + /// The change_event search request must specify a LIMIT. LimitNotSpecified = 5, - /// The LIMIT specified by change_event request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_event request should be less than or equal + /// to 10K. InvalidLimitClause = 6, } impl ChangeEventError { @@ -3029,35 +3029,35 @@ pub mod change_event_error_enum { } } } -// Proto file describing change status errors. +// Proto file describing change status errors. -/// Container for enum describing possible change status errors. +/// Container for enum describing possible change status errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusErrorEnum { } /// Nested message and enum types in `ChangeStatusErrorEnum`. pub mod change_status_error_enum { - /// Enum describing possible change status errors. + /// Enum describing possible change status errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. + /// The requested start date is too old. StartDateTooOld = 3, - /// The change_status search request must specify a finite range filter - /// on last_change_date_time. + /// The change_status search request must specify a finite range filter + /// on last_change_date_time. ChangeDateRangeInfinite = 4, - /// The change status search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change status search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 5, - /// The change_status search request must specify a LIMIT. + /// The change_status search request must specify a LIMIT. LimitNotSpecified = 6, - /// The LIMIT specified by change_status request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_status request should be less than or equal + /// to 10K. InvalidLimitClause = 7, } impl ChangeStatusError { @@ -3078,25 +3078,25 @@ pub mod change_status_error_enum { } } } -// Proto file describing collection size errors. +// Proto file describing collection size errors. -/// Container for enum describing possible collection size errors. +/// Container for enum describing possible collection size errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionSizeErrorEnum { } /// Nested message and enum types in `CollectionSizeErrorEnum`. pub mod collection_size_error_enum { - /// Enum describing possible collection size errors. + /// Enum describing possible collection size errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CollectionSizeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too few. + /// Too few. TooFew = 2, - /// Too many. + /// Too many. TooMany = 3, } impl CollectionSizeError { @@ -3114,25 +3114,25 @@ pub mod collection_size_error_enum { } } } -// Proto file describing context errors. +// Proto file describing context errors. -/// Container for enum describing possible context errors. +/// Container for enum describing possible context errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextErrorEnum { } /// Nested message and enum types in `ContextErrorEnum`. pub mod context_error_enum { - /// Enum describing possible context errors. + /// Enum describing possible context errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContextError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The operation is not allowed for the given context. + /// The operation is not allowed for the given context. OperationNotPermittedForContext = 2, - /// The operation is not allowed for removed resources. + /// The operation is not allowed for removed resources. OperationNotPermittedForRemovedResource = 3, } impl ContextError { @@ -3150,49 +3150,49 @@ pub mod context_error_enum { } } } -// Proto file describing conversion action errors. +// Proto file describing conversion action errors. -/// Container for enum describing possible conversion action errors. +/// Container for enum describing possible conversion action errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionErrorEnum { } /// Nested message and enum types in `ConversionActionErrorEnum`. pub mod conversion_action_error_enum { - /// Enum describing possible conversion action errors. + /// Enum describing possible conversion action errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action name already exists. + /// The specified conversion action name already exists. DuplicateName = 2, - /// Another conversion action with the specified app id already exists. + /// Another conversion action with the specified app id already exists. DuplicateAppId = 3, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. TwoConversionActionsBiddingOnSameAppDownload = 4, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. BiddingOnSameAppDownloadAsGlobalAction = 5, - /// The attribution model cannot be set to DATA_DRIVEN because a data-driven - /// model has never been generated. + /// The attribution model cannot be set to DATA_DRIVEN because a data-driven + /// model has never been generated. DataDrivenModelWasNeverGenerated = 6, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is expired. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is expired. DataDrivenModelExpired = 7, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is stale. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is stale. DataDrivenModelStale = 8, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is unavailable or the conversion action was newly - /// added. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is unavailable or the conversion action was newly + /// added. DataDrivenModelUnknown = 9, - /// Creation of this conversion action type isn't supported by Google - /// Ads API. + /// Creation of this conversion action type isn't supported by Google + /// Ads API. CreationNotSupported = 10, - /// Update of this conversion action isn't supported by Google Ads API. + /// Update of this conversion action isn't supported by Google Ads API. UpdateNotSupported = 11, } impl ConversionActionError { @@ -3218,87 +3218,87 @@ pub mod conversion_action_error_enum { } } } -// Proto file describing conversion adjustment upload errors. +// Proto file describing conversion adjustment upload errors. -/// Container for enum describing possible conversion adjustment upload errors. +/// Container for enum describing possible conversion adjustment upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentUploadErrorEnum { } /// Nested message and enum types in `ConversionAdjustmentUploadErrorEnum`. pub mod conversion_adjustment_upload_error_enum { - /// Enum describing possible conversion adjustment upload errors. + /// Enum describing possible conversion adjustment upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentUploadError { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action was created too recently. - /// Please try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Please try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 2, - /// No conversion action of a supported ConversionActionType that matches the - /// provided information can be found for the customer. + /// No conversion action of a supported ConversionActionType that matches the + /// provided information can be found for the customer. InvalidConversionAction = 3, - /// A retraction was already reported for this conversion. + /// A retraction was already reported for this conversion. ConversionAlreadyRetracted = 4, - /// A conversion for the supplied combination of conversion - /// action and conversion identifier could not be found. + /// A conversion for the supplied combination of conversion + /// action and conversion identifier could not be found. ConversionNotFound = 5, - /// The specified conversion has already expired. Conversions expire after 55 - /// days, after which adjustments cannot be reported against them. + /// The specified conversion has already expired. Conversions expire after 55 + /// days, after which adjustments cannot be reported against them. ConversionExpired = 6, - /// The supplied adjustment date time precedes that of the original - /// conversion. + /// The supplied adjustment date time precedes that of the original + /// conversion. AdjustmentPrecedesConversion = 7, - /// A restatement with a more recent adjustment date time was already - /// reported for this conversion. + /// A restatement with a more recent adjustment date time was already + /// reported for this conversion. MoreRecentRestatementFound = 8, - /// The conversion was created too recently. + /// The conversion was created too recently. TooRecentConversion = 9, - /// Restatements cannot be reported for a conversion action that always uses - /// the default value. + /// Restatements cannot be reported for a conversion action that always uses + /// the default value. CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10, - /// The request contained more than 2000 adjustments. + /// The request contained more than 2000 adjustments. TooManyAdjustmentsInRequest = 11, - /// The conversion has been adjusted too many times. + /// The conversion has been adjusted too many times. TooManyAdjustments = 12, - /// A restatement with this timestamp already exists for this conversion. To - /// upload another adjustment, please use a different timestamp. + /// A restatement with this timestamp already exists for this conversion. To + /// upload another adjustment, please use a different timestamp. RestatementAlreadyExists = 13, - /// This adjustment has the same timestamp as another adjustment in the - /// request for this conversion. To upload another adjustment, please use a - /// different timestamp. + /// This adjustment has the same timestamp as another adjustment in the + /// request for this conversion. To upload another adjustment, please use a + /// different timestamp. DuplicateAdjustmentInRequest = 14, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 15, - /// The enhanced conversion settings of the conversion action supplied is - /// not eligible for enhancements. + /// The enhanced conversion settings of the conversion action supplied is + /// not eligible for enhancements. ConversionActionNotEligibleForEnhancement = 16, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 17, - /// The provided user identifier is not supported. - /// ConversionAdjustmentUploadService only supports hashed_email, - /// hashed_phone_number, and address_info. + /// The provided user identifier is not supported. + /// ConversionAdjustmentUploadService only supports hashed_email, + /// hashed_phone_number, and address_info. UnsupportedUserIdentifier = 18, - /// Cannot set both gclid_date_time_pair and order_id. + /// Cannot set both gclid_date_time_pair and order_id. GclidDateTimePairAndOrderIdBothSet = 20, - /// An enhancement with this conversion action and order_id already exists - /// for this conversion. + /// An enhancement with this conversion action and order_id already exists + /// for this conversion. ConversionAlreadyEnhanced = 21, - /// This enhancement has the same conversion action and order_id as - /// another enhancement in the request. + /// This enhancement has the same conversion action and order_id as + /// another enhancement in the request. DuplicateEnhancementInRequest = 22, - /// Per our customer data policies, enhancement has been prohibited in your - /// account. If you have any questions, please contact your Google - /// representative. + /// Per our customer data policies, enhancement has been prohibited in your + /// account. If you have any questions, please contact your Google + /// representative. CustomerDataPolicyProhibitsEnhancement = 23, - /// The conversion adjustment is for a conversion action of type WEBPAGE, but - /// does not have an order_id. The order_id is required for an adjustment for - /// a WEBPAGE conversion action. + /// The conversion adjustment is for a conversion action of type WEBPAGE, but + /// does not have an order_id. The order_id is required for an adjustment for + /// a WEBPAGE conversion action. MissingOrderIdForWebpage = 24, } impl ConversionAdjustmentUploadError { @@ -3336,28 +3336,28 @@ pub mod conversion_adjustment_upload_error_enum { } } } -// Proto file describing conversion custom variable errors. +// Proto file describing conversion custom variable errors. -/// Container for enum describing possible conversion custom variable errors. +/// Container for enum describing possible conversion custom variable errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableErrorEnum { } /// Nested message and enum types in `ConversionCustomVariableErrorEnum`. pub mod conversion_custom_variable_error_enum { - /// Enum describing possible conversion custom variable errors. + /// Enum describing possible conversion custom variable errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A conversion custom variable with the specified name already exists. + /// A conversion custom variable with the specified name already exists. DuplicateName = 2, - /// A conversion custom variable with the specified tag already exists. + /// A conversion custom variable with the specified tag already exists. DuplicateTag = 3, - /// A conversion custom variable with the specified tag is reserved for other - /// uses. + /// A conversion custom variable with the specified tag is reserved for other + /// uses. ReservedTag = 4, } impl ConversionCustomVariableError { @@ -3376,29 +3376,29 @@ pub mod conversion_custom_variable_error_enum { } } } -// Proto file describing conversion goal campaign config errors. +// Proto file describing conversion goal campaign config errors. -/// Container for enum describing possible conversion goal campaign config -/// errors. +/// Container for enum describing possible conversion goal campaign config +/// errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfigErrorEnum { } /// Nested message and enum types in `ConversionGoalCampaignConfigErrorEnum`. pub mod conversion_goal_campaign_config_error_enum { - /// Enum describing possible conversion goal campaign config errors. + /// Enum describing possible conversion goal campaign config errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionGoalCampaignConfigError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Campaign is managed by Search Ads 360 but uses Unified Goal. + /// Campaign is managed by Search Ads 360 but uses Unified Goal. CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2, - /// The campaign is using a custom goal that does not belong to its Google - /// Ads conversion customer (conversion tracking customer). + /// The campaign is using a custom goal that does not belong to its Google + /// Ads conversion customer (conversion tracking customer). CustomGoalDoesNotBelongToGoogleAdsConversionCustomer = 3, - /// The campaign is not allowed to use unified goals. + /// The campaign is not allowed to use unified goals. CampaignCannotUseUnifiedGoals = 4, } impl ConversionGoalCampaignConfigError { @@ -3417,147 +3417,147 @@ pub mod conversion_goal_campaign_config_error_enum { } } } -// Proto file describing conversion upload errors. +// Proto file describing conversion upload errors. -/// Container for enum describing possible conversion upload errors. +/// Container for enum describing possible conversion upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionUploadErrorEnum { } /// Nested message and enum types in `ConversionUploadErrorEnum`. pub mod conversion_upload_error_enum { - /// Enum describing possible conversion upload errors. + /// Enum describing possible conversion upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The request contained more than 2000 conversions. + /// The request contained more than 2000 conversions. TooManyConversionsInRequest = 2, - /// The specified gclid could not be decoded. + /// The specified gclid could not be decoded. UnparseableGclid = 3, - /// The specified conversion_date_time is before the event time - /// associated with the given identifier or iOS URL parameter. + /// The specified conversion_date_time is before the event time + /// associated with the given identifier or iOS URL parameter. ConversionPrecedesEvent = 42, - /// The click associated with the given identifier or iOS URL parameter is - /// either too old to be imported or occurred outside of the click through - /// lookback window for the specified conversion action. + /// The click associated with the given identifier or iOS URL parameter is + /// either too old to be imported or occurred outside of the click through + /// lookback window for the specified conversion action. ExpiredEvent = 43, - /// The click associated with the given identifier or iOS URL parameter - /// occurred too recently. Please try uploading again after 6 hours have - /// passed since the click occurred. + /// The click associated with the given identifier or iOS URL parameter + /// occurred too recently. Please try uploading again after 6 hours have + /// passed since the click occurred. TooRecentEvent = 44, - /// The click associated with the given identifier or iOS URL parameter could - /// not be found in the system. This can happen if the identifier or iOS URL - /// parameter are collected for non Google Ads clicks. + /// The click associated with the given identifier or iOS URL parameter could + /// not be found in the system. This can happen if the identifier or iOS URL + /// parameter are collected for non Google Ads clicks. EventNotFound = 45, - /// The click associated with the given identifier or iOS URL parameter is - /// owned by a customer account that the uploading customer does not manage. + /// The click associated with the given identifier or iOS URL parameter is + /// owned by a customer account that the uploading customer does not manage. UnauthorizedCustomer = 8, - /// No upload eligible conversion action that matches the provided - /// information can be found for the customer. + /// No upload eligible conversion action that matches the provided + /// information can be found for the customer. InvalidConversionAction = 9, - /// The specified conversion action was created too recently. - /// Please try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Please try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 10, - /// The click associated with the given identifier does not contain - /// conversion tracking information. + /// The click associated with the given identifier does not contain + /// conversion tracking information. ConversionTrackingNotEnabledAtImpressionTime = 11, - /// The specified conversion action does not use an external attribution - /// model, but external_attribution_data was set. + /// The specified conversion action does not use an external attribution + /// model, but external_attribution_data was set. ExternalAttributionDataSetForNonExternallyAttributedConversionAction = 12, - /// The specified conversion action uses an external attribution model, but - /// external_attribution_data or one of its contained fields was not set. - /// Both external_attribution_credit and external_attribution_model must be - /// set for externally attributed conversion actions. + /// The specified conversion action uses an external attribution model, but + /// external_attribution_data or one of its contained fields was not set. + /// Both external_attribution_credit and external_attribution_model must be + /// set for externally attributed conversion actions. ExternalAttributionDataNotSetForExternallyAttributedConversionAction = 13, - /// Order IDs are not supported for conversion actions which use an external - /// attribution model. + /// Order IDs are not supported for conversion actions which use an external + /// attribution model. OrderIdNotPermittedForExternallyAttributedConversionAction = 14, - /// A conversion with the same order id and conversion action combination - /// already exists in our system. + /// A conversion with the same order id and conversion action combination + /// already exists in our system. OrderIdAlreadyInUse = 15, - /// The request contained two or more conversions with the same order id and - /// conversion action combination. + /// The request contained two or more conversions with the same order id and + /// conversion action combination. DuplicateOrderId = 16, - /// The call occurred too recently. Please try uploading again after 12 hours - /// have passed since the call occurred. + /// The call occurred too recently. Please try uploading again after 12 hours + /// have passed since the call occurred. TooRecentCall = 17, - /// The click that initiated the call is too old for this conversion to be - /// imported. + /// The click that initiated the call is too old for this conversion to be + /// imported. ExpiredCall = 18, - /// The call or the click leading to the call was not found. + /// The call or the click leading to the call was not found. CallNotFound = 19, - /// The specified conversion_date_time is before the call_start_date_time. + /// The specified conversion_date_time is before the call_start_date_time. ConversionPrecedesCall = 20, - /// The click associated with the call does not contain conversion tracking - /// information. + /// The click associated with the call does not contain conversion tracking + /// information. ConversionTrackingNotEnabledAtCallTime = 21, - /// The caller's phone number cannot be parsed. It should be formatted either - /// as E.164 "+16502531234", International "+64 3-331 6005" or US national - /// number "6502531234". + /// The caller's phone number cannot be parsed. It should be formatted either + /// as E.164 "+16502531234", International "+64 3-331 6005" or US national + /// number "6502531234". UnparseableCallersPhoneNumber = 22, - /// A conversion with this timestamp already exists for this click. To upload - /// another conversion, please use a different timestamp. + /// A conversion with this timestamp already exists for this click. To upload + /// another conversion, please use a different timestamp. ClickConversionAlreadyExists = 23, - /// A conversion with this timestamp already exists for this call. To upload - /// another conversion, please use a different timestamp. + /// A conversion with this timestamp already exists for this call. To upload + /// another conversion, please use a different timestamp. CallConversionAlreadyExists = 24, - /// This conversion has the same click and timestamp as another conversion in - /// the request. To upload another conversion for this click, please use a - /// different timestamp. + /// This conversion has the same click and timestamp as another conversion in + /// the request. To upload another conversion for this click, please use a + /// different timestamp. DuplicateClickConversionInRequest = 25, - /// This conversion has the same call and timestamp as another conversion in - /// the request. To upload another conversion for this call, please use a - /// different timestamp. + /// This conversion has the same call and timestamp as another conversion in + /// the request. To upload another conversion for this call, please use a + /// different timestamp. DuplicateCallConversionInRequest = 26, - /// The custom variable is not enabled. + /// The custom variable is not enabled. CustomVariableNotEnabled = 28, - /// The value of the custom variable contains personally identifiable - /// information (PII), such as an email address or phone number. + /// The value of the custom variable contains personally identifiable + /// information (PII), such as an email address or phone number. CustomVariableValueContainsPii = 29, - /// The click associated with the given identifier or iOS URL parameter isn't - /// from the account where conversion tracking is set up. + /// The click associated with the given identifier or iOS URL parameter isn't + /// from the account where conversion tracking is set up. InvalidCustomerForClick = 30, - /// The click associated with the given call isn't from the account where - /// conversion tracking is set up. + /// The click associated with the given call isn't from the account where + /// conversion tracking is set up. InvalidCustomerForCall = 31, - /// The conversion can't be uploaded because the conversion source didn't - /// comply with the App Tracking Transparency (ATT) policy or the person who - /// converted didn't consent to tracking. + /// The conversion can't be uploaded because the conversion source didn't + /// comply with the App Tracking Transparency (ATT) policy or the person who + /// converted didn't consent to tracking. ConversionNotCompliantWithAttPolicy = 32, - /// No click was found for the provided user identifiers that could be - /// applied to the specified conversion action. + /// No click was found for the provided user identifiers that could be + /// applied to the specified conversion action. ClickNotFound = 33, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 34, - /// Conversion actions which use an external attribution model cannot be used - /// with UserIdentifier. + /// Conversion actions which use an external attribution model cannot be used + /// with UserIdentifier. ExternallyAttributedConversionActionNotPermittedWithUserIdentifier = 35, - /// The provided user identifier is not supported. ConversionUploadService - /// only supports hashed_email and hashed_phone_number. + /// The provided user identifier is not supported. ConversionUploadService + /// only supports hashed_email and hashed_phone_number. UnsupportedUserIdentifier = 36, - /// gbraid and wbraid are both set in the request. Only one is allowed. + /// gbraid and wbraid are both set in the request. Only one is allowed. GbraidWbraidBothSet = 38, - /// The specified wbraid could not be decoded. + /// The specified wbraid could not be decoded. UnparseableWbraid = 39, - /// The specified gbraid could not be decoded. + /// The specified gbraid could not be decoded. UnparseableGbraid = 40, - /// Conversion types which use an external attribution model cannot be used - /// with gbraid or wbraid. + /// Conversion types which use an external attribution model cannot be used + /// with gbraid or wbraid. ExternallyAttributedConversionTypeNotPermittedWithBraid = 41, - /// Conversion actions which use the one-per-click counting type cannot be - /// used with gbraid or wbraid. + /// Conversion actions which use the one-per-click counting type cannot be + /// used with gbraid or wbraid. OnePerClickConversionActionNotPermittedWithBraid = 46, - /// Per our customer data policies, enhanced conversions have been prohibited - /// in your account. If you have any questions, please contact your Google - /// representative. + /// Per our customer data policies, enhanced conversions have been prohibited + /// in your account. If you have any questions, please contact your Google + /// representative. CustomerDataPolicyProhibitsEnhancedConversions = 47, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 48, } impl ConversionUploadError { @@ -3614,57 +3614,57 @@ pub mod conversion_upload_error_enum { } } } -// Proto file describing conversion value rule errors. +// Proto file describing conversion value rule errors. -/// Container for enum describing possible conversion value rule errors. +/// Container for enum describing possible conversion value rule errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleErrorEnum { } /// Nested message and enum types in `ConversionValueRuleErrorEnum`. pub mod conversion_value_rule_error_enum { - /// Enum describing possible conversion value rule errors. + /// Enum describing possible conversion value rule errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The value rule's geo location condition contains invalid geo target - /// constant(s), i.e. there's no matching geo target. + /// The value rule's geo location condition contains invalid geo target + /// constant(s), i.e. there's no matching geo target. InvalidGeoTargetConstant = 2, - /// The value rule's geo location condition contains conflicting included and - /// excluded geo targets. Specifically, some of the excluded geo target(s) - /// are the same as or contain some of the included geo target(s). For - /// example, the geo location condition includes California but excludes U.S. + /// The value rule's geo location condition contains conflicting included and + /// excluded geo targets. Specifically, some of the excluded geo target(s) + /// are the same as or contain some of the included geo target(s). For + /// example, the geo location condition includes California but excludes U.S. ConflictingIncludedAndExcludedGeoTarget = 3, - /// User specified conflicting conditions for two value rules in the same - /// value rule set. + /// User specified conflicting conditions for two value rules in the same + /// value rule set. ConflictingConditions = 4, - /// The value rule cannot be removed because it's still included in some - /// value rule set. + /// The value rule cannot be removed because it's still included in some + /// value rule set. CannotRemoveIfIncludedInValueRuleSet = 5, - /// The value rule contains a condition that's not allowed by the value rule - /// set including this value rule. + /// The value rule contains a condition that's not allowed by the value rule + /// set including this value rule. ConditionNotAllowed = 6, - /// The value rule contains a field that should be unset. + /// The value rule contains a field that should be unset. FieldMustBeUnset = 7, - /// Pausing the value rule requires pausing the value rule set because the - /// value rule is (one of) the last enabled in the value rule set. + /// Pausing the value rule requires pausing the value rule set because the + /// value rule is (one of) the last enabled in the value rule set. CannotPauseUnlessValueRuleSetIsPaused = 8, - /// The value rule's geo location condition contains untargetable geo target - /// constant(s). + /// The value rule's geo location condition contains untargetable geo target + /// constant(s). UntargetableGeoTarget = 9, - /// The value rule's audience condition contains invalid user list(s). In - /// another word, there's no matching user list. + /// The value rule's audience condition contains invalid user list(s). In + /// another word, there's no matching user list. InvalidAudienceUserList = 10, - /// The value rule's audience condition contains inaccessible user list(s). + /// The value rule's audience condition contains inaccessible user list(s). InaccessibleUserList = 11, - /// The value rule's audience condition contains invalid user_interest(s). - /// This might be because there is no matching user interest, or the user - /// interest is not visible. + /// The value rule's audience condition contains invalid user_interest(s). + /// This might be because there is no matching user interest, or the user + /// interest is not visible. InvalidAudienceUserInterest = 12, - /// When a value rule is created, it shouldn't have REMOVED status. + /// When a value rule is created, it shouldn't have REMOVED status. CannotAddRuleWithStatusRemoved = 13, } impl ConversionValueRuleError { @@ -3692,66 +3692,66 @@ pub mod conversion_value_rule_error_enum { } } } -// Proto file describing conversion value rule set errors. +// Proto file describing conversion value rule set errors. -/// Container for enum describing possible conversion value rule set errors. +/// Container for enum describing possible conversion value rule set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetErrorEnum { } /// Nested message and enum types in `ConversionValueRuleSetErrorEnum`. pub mod conversion_value_rule_set_error_enum { - /// Enum describing possible conversion value rule set errors. + /// Enum describing possible conversion value rule set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Two value rules in this value rule set contain conflicting conditions. + /// Two value rules in this value rule set contain conflicting conditions. ConflictingValueRuleConditions = 2, - /// This value rule set includes a value rule that cannot be found, has been - /// permanently removed or belongs to a different customer. + /// This value rule set includes a value rule that cannot be found, has been + /// permanently removed or belongs to a different customer. InvalidValueRule = 3, - /// An error that's thrown when a mutate operation is trying to - /// replace/remove some existing elements in the dimensions field. In other - /// words, ADD op is always fine and UPDATE op is fine if it's only appending - /// new elements into dimensions list. + /// An error that's thrown when a mutate operation is trying to + /// replace/remove some existing elements in the dimensions field. In other + /// words, ADD op is always fine and UPDATE op is fine if it's only appending + /// new elements into dimensions list. DimensionsUpdateOnlyAllowAppend = 4, - /// An error that's thrown when a mutate is adding new value rule(s) into a - /// value rule set and the added value rule(s) include conditions that are - /// not specified in the dimensions of the value rule set. + /// An error that's thrown when a mutate is adding new value rule(s) into a + /// value rule set and the added value rule(s) include conditions that are + /// not specified in the dimensions of the value rule set. ConditionTypeNotAllowed = 5, - /// The dimensions field contains duplicate elements. + /// The dimensions field contains duplicate elements. DuplicateDimensions = 6, - /// This value rule set is attached to an invalid campaign id. Either a - /// campaign with this campaign id doesn't exist or it belongs to a different - /// customer. + /// This value rule set is attached to an invalid campaign id. Either a + /// campaign with this campaign id doesn't exist or it belongs to a different + /// customer. InvalidCampaignId = 7, - /// When a mutate request tries to pause a value rule set, the enabled - /// value rules in this set must be paused in the same command, or this error - /// will be thrown. + /// When a mutate request tries to pause a value rule set, the enabled + /// value rules in this set must be paused in the same command, or this error + /// will be thrown. CannotPauseUnlessAllValueRulesArePaused = 8, - /// When a mutate request tries to pause all the value rules in a value rule - /// set, the value rule set must be paused, or this error will be thrown. + /// When a mutate request tries to pause all the value rules in a value rule + /// set, the value rule set must be paused, or this error will be thrown. ShouldPauseWhenAllValueRulesArePaused = 9, - /// This value rule set is attached to a campaign that does not support value - /// rules. Currently, campaign level value rule sets can only be created on - /// Search, or Display campaigns. + /// This value rule set is attached to a campaign that does not support value + /// rules. Currently, campaign level value rule sets can only be created on + /// Search, or Display campaigns. ValueRulesNotSupportedForCampaignType = 10, - /// To add a value rule set that applies on Store Visits/Store Sales - /// conversion action categories, the customer must have valid Store Visits/ - /// Store Sales conversion actions. + /// To add a value rule set that applies on Store Visits/Store Sales + /// conversion action categories, the customer must have valid Store Visits/ + /// Store Sales conversion actions. IneligibleConversionActionCategories = 11, - /// If NO_CONDITION is used as a dimension of a value rule set, it must be - /// the only dimension. + /// If NO_CONDITION is used as a dimension of a value rule set, it must be + /// the only dimension. DimensionNoConditionUsedWithOtherDimensions = 12, - /// Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - /// rule set. + /// Dimension NO_CONDITION can only be used by Store Visits/Store Sales value + /// rule set. DimensionNoConditionNotAllowed = 13, - /// Value rule sets defined on the specified conversion action categories are - /// not supported. The list of conversion action categories must be an empty - /// list, only STORE_VISIT, or only STORE_SALE. + /// Value rule sets defined on the specified conversion action categories are + /// not supported. The list of conversion action categories must be an empty + /// list, only STORE_VISIT, or only STORE_SALE. UnsupportedConversionActionCategories = 14, } impl ConversionValueRuleSetError { @@ -3780,23 +3780,23 @@ pub mod conversion_value_rule_set_error_enum { } } } -// Proto file describing country code errors. +// Proto file describing country code errors. -/// Container for enum describing country code errors. +/// Container for enum describing country code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryCodeErrorEnum { } /// Nested message and enum types in `CountryCodeErrorEnum`. pub mod country_code_error_enum { - /// Enum describing country code errors. + /// Enum describing country code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CountryCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 2, } impl CountryCodeError { @@ -3813,318 +3813,318 @@ pub mod country_code_error_enum { } } } -// Proto file describing criterion errors. +// Proto file describing criterion errors. -/// Container for enum describing possible criterion errors. +/// Container for enum describing possible criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionErrorEnum { } /// Nested message and enum types in `CriterionErrorEnum`. pub mod criterion_error_enum { - /// Enum describing possible criterion errors. + /// Enum describing possible criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion is required for CREATE and UPDATE operations. + /// Concrete type of criterion is required for CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// The category requested for exclusion is invalid. + /// The category requested for exclusion is invalid. InvalidExcludedCategory = 3, - /// Invalid keyword criteria text. + /// Invalid keyword criteria text. InvalidKeywordText = 4, - /// Keyword text should be less than 80 chars. + /// Keyword text should be less than 80 chars. KeywordTextTooLong = 5, - /// Keyword text has too many words. + /// Keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword text has invalid characters or symbols. + /// Keyword text has invalid characters or symbols. KeywordHasInvalidChars = 7, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 8, - /// Invalid user list criterion. + /// Invalid user list criterion. InvalidUserList = 9, - /// Invalid user interest criterion. + /// Invalid user interest criterion. InvalidUserInterest = 10, - /// Placement URL has wrong format. + /// Placement URL has wrong format. InvalidFormatForPlacementUrl = 11, - /// Placement URL is too long. + /// Placement URL is too long. PlacementUrlIsTooLong = 12, - /// Indicates the URL contains an illegal character. + /// Indicates the URL contains an illegal character. PlacementUrlHasIllegalChar = 13, - /// Indicates the URL contains multiple comma separated URLs. + /// Indicates the URL contains multiple comma separated URLs. PlacementUrlHasMultipleSitesInLine = 14, - /// Indicates the domain is blocked. + /// Indicates the domain is blocked. PlacementIsNotAvailableForTargetingOrExclusion = 15, - /// Invalid topic path. + /// Invalid topic path. InvalidTopicPath = 16, - /// The YouTube Channel Id is invalid. + /// The YouTube Channel Id is invalid. InvalidYoutubeChannelId = 17, - /// The YouTube Video Id is invalid. + /// The YouTube Video Id is invalid. InvalidYoutubeVideoId = 18, - /// Indicates the placement is a YouTube vertical channel, which is no longer - /// supported. + /// Indicates the placement is a YouTube vertical channel, which is no longer + /// supported. YoutubeVerticalChannelDeprecated = 19, - /// Indicates the placement is a YouTube demographic channel, which is no - /// longer supported. + /// Indicates the placement is a YouTube demographic channel, which is no + /// longer supported. YoutubeDemographicChannelDeprecated = 20, - /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel - /// and YouTubeVideo criterion instead. + /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel + /// and YouTubeVideo criterion instead. YoutubeUrlUnsupported = 21, - /// Criteria type can not be excluded by the customer, like AOL account type - /// cannot target site type criteria. + /// Criteria type can not be excluded by the customer, like AOL account type + /// cannot target site type criteria. CannotExcludeCriteriaType = 22, - /// Criteria type can not be targeted. + /// Criteria type can not be targeted. CannotAddCriteriaType = 23, - /// Not allowed to exclude similar user list. + /// Not allowed to exclude similar user list. CannotExcludeSimilarUserList = 26, - /// Not allowed to target a closed user list. + /// Not allowed to target a closed user list. CannotAddClosedUserList = 27, - /// Not allowed to add display only UserLists to search only campaigns. + /// Not allowed to add display only UserLists to search only campaigns. CannotAddDisplayOnlyListsToSearchOnlyCampaigns = 28, - /// Not allowed to add display only UserLists to search plus campaigns. + /// Not allowed to add display only UserLists to search plus campaigns. CannotAddDisplayOnlyListsToSearchCampaigns = 29, - /// Not allowed to add display only UserLists to shopping campaigns. + /// Not allowed to add display only UserLists to shopping campaigns. CannotAddDisplayOnlyListsToShoppingCampaigns = 30, - /// Not allowed to add User interests to search only campaigns. + /// Not allowed to add User interests to search only campaigns. CannotAddUserInterestsToSearchCampaigns = 31, - /// Not allowed to set bids for this criterion type in search campaigns + /// Not allowed to set bids for this criterion type in search campaigns CannotSetBidsOnCriterionTypeInSearchCampaigns = 32, - /// Final URLs, URL Templates and CustomParameters cannot be set for the - /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - /// MobileAppCategory in search campaigns and shopping campaigns. + /// Final URLs, URL Templates and CustomParameters cannot be set for the + /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and + /// MobileAppCategory in search campaigns and shopping campaigns. CannotAddUrlsToCriterionTypeForCampaignType = 33, - /// Invalid combined audience criterion. + /// Invalid combined audience criterion. InvalidCombinedAudience = 122, - /// Invalid custom affinity criterion. + /// Invalid custom affinity criterion. InvalidCustomAffinity = 96, - /// Invalid custom intent criterion. + /// Invalid custom intent criterion. InvalidCustomIntent = 97, - /// Invalid custom audience criterion. + /// Invalid custom audience criterion. InvalidCustomAudience = 121, - /// IP address is not valid. + /// IP address is not valid. InvalidIpAddress = 34, - /// IP format is not valid. + /// IP format is not valid. InvalidIpFormat = 35, - /// Mobile application is not valid. + /// Mobile application is not valid. InvalidMobileApp = 36, - /// Mobile application category is not valid. + /// Mobile application category is not valid. InvalidMobileAppCategory = 37, - /// The CriterionId does not exist or is of the incorrect type. + /// The CriterionId does not exist or is of the incorrect type. InvalidCriterionId = 38, - /// The Criterion is not allowed to be targeted. + /// The Criterion is not allowed to be targeted. CannotTargetCriterion = 39, - /// The criterion is not allowed to be targeted as it is deprecated. + /// The criterion is not allowed to be targeted as it is deprecated. CannotTargetObsoleteCriterion = 40, - /// The CriterionId is not valid for the type. + /// The CriterionId is not valid for the type. CriterionIdAndTypeMismatch = 41, - /// Distance for the radius for the proximity criterion is invalid. + /// Distance for the radius for the proximity criterion is invalid. InvalidProximityRadius = 42, - /// Units for the distance for the radius for the proximity criterion is - /// invalid. + /// Units for the distance for the radius for the proximity criterion is + /// invalid. InvalidProximityRadiusUnits = 43, - /// Street address in the address is not valid. + /// Street address in the address is not valid. InvalidStreetaddressLength = 44, - /// City name in the address is not valid. + /// City name in the address is not valid. InvalidCitynameLength = 45, - /// Region code in the address is not valid. + /// Region code in the address is not valid. InvalidRegioncodeLength = 46, - /// Region name in the address is not valid. + /// Region name in the address is not valid. InvalidRegionnameLength = 47, - /// Postal code in the address is not valid. + /// Postal code in the address is not valid. InvalidPostalcodeLength = 48, - /// Country code in the address is not valid. + /// Country code in the address is not valid. InvalidCountryCode = 49, - /// Latitude for the GeoPoint is not valid. + /// Latitude for the GeoPoint is not valid. InvalidLatitude = 50, - /// Longitude for the GeoPoint is not valid. + /// Longitude for the GeoPoint is not valid. InvalidLongitude = 51, - /// The Proximity input is not valid. Both address and geoPoint cannot be - /// null. + /// The Proximity input is not valid. Both address and geoPoint cannot be + /// null. ProximityGeopointAndAddressBothCannotBeNull = 52, - /// The Proximity address cannot be geocoded to a valid lat/long. + /// The Proximity address cannot be geocoded to a valid lat/long. InvalidProximityAddress = 53, - /// User domain name is not valid. + /// User domain name is not valid. InvalidUserDomainName = 54, - /// Length of serialized criterion parameter exceeded size limit. + /// Length of serialized criterion parameter exceeded size limit. CriterionParameterTooLong = 55, - /// Time interval in the AdSchedule overlaps with another AdSchedule. + /// Time interval in the AdSchedule overlaps with another AdSchedule. AdScheduleTimeIntervalsOverlap = 56, - /// AdSchedule time interval cannot span multiple days. + /// AdSchedule time interval cannot span multiple days. AdScheduleIntervalCannotSpanMultipleDays = 57, - /// AdSchedule time interval specified is invalid, endTime cannot be earlier - /// than startTime. + /// AdSchedule time interval specified is invalid, endTime cannot be earlier + /// than startTime. AdScheduleInvalidTimeInterval = 58, - /// The number of AdSchedule entries in a day exceeds the limit. + /// The number of AdSchedule entries in a day exceeds the limit. AdScheduleExceededIntervalsPerDayLimit = 59, - /// CriteriaId does not match the interval of the AdSchedule specified. + /// CriteriaId does not match the interval of the AdSchedule specified. AdScheduleCriterionIdMismatchingFields = 60, - /// Cannot set bid modifier for this criterion type. + /// Cannot set bid modifier for this criterion type. CannotBidModifyCriterionType = 61, - /// Cannot bid modify criterion, since it is opted out of the campaign. + /// Cannot bid modify criterion, since it is opted out of the campaign. CannotBidModifyCriterionCampaignOptedOut = 62, - /// Cannot set bid modifier for a negative criterion. + /// Cannot set bid modifier for a negative criterion. CannotBidModifyNegativeCriterion = 63, - /// Bid Modifier already exists. Use SET operation to update. + /// Bid Modifier already exists. Use SET operation to update. BidModifierAlreadyExists = 64, - /// Feed Id is not allowed in these Location Groups. + /// Feed Id is not allowed in these Location Groups. FeedIdNotAllowed = 65, - /// The account may not use the requested criteria type. For example, some - /// accounts are restricted to keywords only. + /// The account may not use the requested criteria type. For example, some + /// accounts are restricted to keywords only. AccountIneligibleForCriteriaType = 66, - /// The requested criteria type cannot be used with campaign or ad group - /// bidding strategy. + /// The requested criteria type cannot be used with campaign or ad group + /// bidding strategy. CriteriaTypeInvalidForBiddingStrategy = 67, - /// The Criterion is not allowed to be excluded. + /// The Criterion is not allowed to be excluded. CannotExcludeCriterion = 68, - /// The criterion is not allowed to be removed. For example, we cannot remove - /// any of the device criterion. + /// The criterion is not allowed to be removed. For example, we cannot remove + /// any of the device criterion. CannotRemoveCriterion = 69, - /// Bidding categories do not form a valid path in the Shopping bidding - /// category taxonomy. + /// Bidding categories do not form a valid path in the Shopping bidding + /// category taxonomy. InvalidProductBiddingCategory = 76, - /// ShoppingSetting must be added to the campaign before ProductScope - /// criteria can be added. + /// ShoppingSetting must be added to the campaign before ProductScope + /// criteria can be added. MissingShoppingSetting = 77, - /// Matching function is invalid. + /// Matching function is invalid. InvalidMatchingFunction = 78, - /// Filter parameters not allowed for location groups targeting. + /// Filter parameters not allowed for location groups targeting. LocationFilterNotAllowed = 79, - /// Feed not found, or the feed is not an enabled location feed. + /// Feed not found, or the feed is not an enabled location feed. InvalidFeedForLocationFilter = 98, - /// Given location filter parameter is invalid for location groups targeting. + /// Given location filter parameter is invalid for location groups targeting. LocationFilterInvalid = 80, - /// Cannot set geo target constants and feed item sets at the same time. + /// Cannot set geo target constants and feed item sets at the same time. CannotSetGeoTargetConstantsWithFeedItemSets = 123, - /// The location group radius is in the range but not at the valid increment. + /// The location group radius is in the range but not at the valid increment. InvalidLocationGroupRadius = 124, - /// The location group radius unit is invalid. + /// The location group radius unit is invalid. InvalidLocationGroupRadiusUnit = 125, - /// Criteria type cannot be associated with a campaign and its ad group(s) - /// simultaneously. + /// Criteria type cannot be associated with a campaign and its ad group(s) + /// simultaneously. CannotAttachCriteriaAtCampaignAndAdgroup = 81, - /// Range represented by hotel length of stay's min nights and max nights - /// overlaps with an existing criterion. + /// Range represented by hotel length of stay's min nights and max nights + /// overlaps with an existing criterion. HotelLengthOfStayOverlapsWithExistingCriterion = 82, - /// Range represented by hotel advance booking window's min days and max days - /// overlaps with an existing criterion. + /// Range represented by hotel advance booking window's min days and max days + /// overlaps with an existing criterion. HotelAdvanceBookingWindowOverlapsWithExistingCriterion = 83, - /// The field is not allowed to be set when the negative field is set to - /// true, e.g. we don't allow bids in negative ad group or campaign criteria. + /// The field is not allowed to be set when the negative field is set to + /// true, e.g. we don't allow bids in negative ad group or campaign criteria. FieldIncompatibleWithNegativeTargeting = 84, - /// The combination of operand and operator in webpage condition is invalid. + /// The combination of operand and operator in webpage condition is invalid. InvalidWebpageCondition = 85, - /// The URL of webpage condition is invalid. + /// The URL of webpage condition is invalid. InvalidWebpageConditionUrl = 86, - /// The URL of webpage condition cannot be empty or contain white space. + /// The URL of webpage condition cannot be empty or contain white space. WebpageConditionUrlCannotBeEmpty = 87, - /// The URL of webpage condition contains an unsupported protocol. + /// The URL of webpage condition contains an unsupported protocol. WebpageConditionUrlUnsupportedProtocol = 88, - /// The URL of webpage condition cannot be an IP address. + /// The URL of webpage condition cannot be an IP address. WebpageConditionUrlCannotBeIpAddress = 89, - /// The domain of the URL is not consistent with the domain in campaign - /// setting. + /// The domain of the URL is not consistent with the domain in campaign + /// setting. WebpageConditionUrlDomainNotConsistentWithCampaignSetting = 90, - /// The URL of webpage condition cannot be a public suffix itself. + /// The URL of webpage condition cannot be a public suffix itself. WebpageConditionUrlCannotBePublicSuffix = 91, - /// The URL of webpage condition has an invalid public suffix. + /// The URL of webpage condition has an invalid public suffix. WebpageConditionUrlInvalidPublicSuffix = 92, - /// Value track parameter is not supported in webpage condition URL. + /// Value track parameter is not supported in webpage condition URL. WebpageConditionUrlValueTrackValueNotSupported = 93, - /// Only one URL-EQUALS webpage condition is allowed in a webpage - /// criterion and it cannot be combined with other conditions. + /// Only one URL-EQUALS webpage condition is allowed in a webpage + /// criterion and it cannot be combined with other conditions. WebpageCriterionUrlEqualsCanHaveOnlyOneCondition = 94, - /// A webpage criterion cannot be added to a non-DSA ad group. + /// A webpage criterion cannot be added to a non-DSA ad group. WebpageCriterionNotSupportedOnNonDsaAdGroup = 95, - /// Cannot add positive user list criteria in Smart Display campaigns. + /// Cannot add positive user list criteria in Smart Display campaigns. CannotTargetUserListForSmartDisplayCampaigns = 99, - /// Cannot add positive placement criterion types in search campaigns. + /// Cannot add positive placement criterion types in search campaigns. CannotTargetPlacementsForSearchCampaigns = 126, - /// Listing scope contains too many dimension types. + /// Listing scope contains too many dimension types. ListingScopeTooManyDimensionTypes = 100, - /// Listing scope has too many IN operators. + /// Listing scope has too many IN operators. ListingScopeTooManyInOperators = 101, - /// Listing scope contains IN operator on an unsupported dimension type. + /// Listing scope contains IN operator on an unsupported dimension type. ListingScopeInOperatorNotSupported = 102, - /// There are dimensions with duplicate dimension type. + /// There are dimensions with duplicate dimension type. DuplicateListingDimensionType = 103, - /// There are dimensions with duplicate dimension value. + /// There are dimensions with duplicate dimension value. DuplicateListingDimensionValue = 104, - /// Listing group SUBDIVISION nodes cannot have bids. + /// Listing group SUBDIVISION nodes cannot have bids. CannotSetBidsOnListingGroupSubdivision = 105, - /// Ad group is invalid due to the listing groups it contains. + /// Ad group is invalid due to the listing groups it contains. InvalidListingGroupHierarchy = 106, - /// Listing group unit cannot have children. + /// Listing group unit cannot have children. ListingGroupUnitCannotHaveChildren = 107, - /// Subdivided listing groups must have an "others" case. + /// Subdivided listing groups must have an "others" case. ListingGroupSubdivisionRequiresOthersCase = 108, - /// Dimension type of listing group must be the same as that of its siblings. + /// Dimension type of listing group must be the same as that of its siblings. ListingGroupRequiresSameDimensionTypeAsSiblings = 109, - /// Listing group cannot be added to the ad group because it already exists. + /// Listing group cannot be added to the ad group because it already exists. ListingGroupAlreadyExists = 110, - /// Listing group referenced in the operation was not found in the ad group. + /// Listing group referenced in the operation was not found in the ad group. ListingGroupDoesNotExist = 111, - /// Recursive removal failed because listing group subdivision is being - /// created or modified in this request. + /// Recursive removal failed because listing group subdivision is being + /// created or modified in this request. ListingGroupCannotBeRemoved = 112, - /// Listing group type is not allowed for specified ad group criterion type. + /// Listing group type is not allowed for specified ad group criterion type. InvalidListingGroupType = 113, - /// Listing group in an ADD operation specifies a non temporary criterion id. + /// Listing group in an ADD operation specifies a non temporary criterion id. ListingGroupAddMayOnlyUseTempId = 114, - /// The combined length of dimension values of the Listing scope criterion - /// is too long. + /// The combined length of dimension values of the Listing scope criterion + /// is too long. ListingScopeTooLong = 115, - /// Listing scope contains too many dimensions. + /// Listing scope contains too many dimensions. ListingScopeTooManyDimensions = 116, - /// The combined length of dimension values of the Listing group criterion is - /// too long. + /// The combined length of dimension values of the Listing group criterion is + /// too long. ListingGroupTooLong = 117, - /// Listing group tree is too deep. + /// Listing group tree is too deep. ListingGroupTreeTooDeep = 118, - /// Listing dimension is invalid (e.g. dimension contains illegal value, - /// dimension type is represented with wrong class, etc). Listing dimension - /// value can not contain "==" or "&+". + /// Listing dimension is invalid (e.g. dimension contains illegal value, + /// dimension type is represented with wrong class, etc). Listing dimension + /// value can not contain "==" or "&+". InvalidListingDimension = 119, - /// Listing dimension type is either invalid for campaigns of this type or - /// cannot be used in the current context. BIDDING_CATEGORY_Lx and - /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - /// and start from L1. Furthermore, an "others" Listing group cannot be - /// subdivided with a dimension of the same type but of a higher level - /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - /// BIDDING_CATEGORY_L4). + /// Listing dimension type is either invalid for campaigns of this type or + /// cannot be used in the current context. BIDDING_CATEGORY_Lx and + /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their + /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially + /// and start from L1. Furthermore, an "others" Listing group cannot be + /// subdivided with a dimension of the same type but of a higher level + /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with + /// BIDDING_CATEGORY_L4). InvalidListingDimensionType = 120, - /// Customer is not on allowlist for composite audience in display campaigns. + /// Customer is not on allowlist for composite audience in display campaigns. AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay = 127, - /// Cannot target on a removed combined audience. + /// Cannot target on a removed combined audience. CannotTargetRemovedCombinedAudience = 128, - /// Combined audience ID is invalid. + /// Combined audience ID is invalid. InvalidCombinedAudienceId = 129, - /// Can not target removed combined audience. + /// Can not target removed combined audience. CannotTargetRemovedCustomAudience = 130, - /// Range represented by hotel check-in date's start date and end date - /// overlaps with an existing criterion. + /// Range represented by hotel check-in date's start date and end date + /// overlaps with an existing criterion. HotelCheckInDateRangeOverlapsWithExistingCriterion = 131, - /// Start date is earlier than earliest allowed value of yesterday UTC. + /// Start date is earlier than earliest allowed value of yesterday UTC. HotelCheckInDateRangeStartDateTooEarly = 132, - /// End date later is than latest allowed day of 330 days in the future UTC. + /// End date later is than latest allowed day of 330 days in the future UTC. HotelCheckInDateRangeEndDateTooLate = 133, - /// Start date is after end date. + /// Start date is after end date. HotelCheckInDateRangeReversed = 134, - /// Broad match modifier (BMM) keywords can no longer be created. Please see - /// + /// Broad match modifier (BMM) keywords can no longer be created. Please see + /// BroadMatchModifierKeywordNotAllowed = 135, - /// Only one audience is allowed in an asset group. + /// Only one audience is allowed in an asset group. OneAudienceAllowedPerAssetGroup = 136, - /// Audience is not supported for the specified campaign type. + /// Audience is not supported for the specified campaign type. AudienceNotEligibleForCampaignType = 137, - /// Audience is not allowed to attach when use_audience_grouped bit is set to - /// false. + /// Audience is not allowed to attach when use_audience_grouped bit is set to + /// false. AudienceNotAllowedToAttachWhenAudienceGroupedSetToFalse = 138, - /// Targeting is not allowed for Customer Match lists as per Customer Match - /// policy. Please see - /// + /// Targeting is not allowed for Customer Match lists as per Customer Match + /// policy. Please see + /// CannotTargetCustomerMatchUserList = 139, } impl CriterionError { @@ -4270,23 +4270,23 @@ pub mod criterion_error_enum { } } } -// Proto file describing currency code errors. +// Proto file describing currency code errors. -/// Container for enum describing possible currency code errors. +/// Container for enum describing possible currency code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyCodeErrorEnum { } /// Nested message and enum types in `CurrencyCodeErrorEnum`. pub mod currency_code_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CurrencyCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The currency code is not supported. + /// The currency code is not supported. Unsupported = 2, } impl CurrencyCodeError { @@ -4303,37 +4303,37 @@ pub mod currency_code_error_enum { } } } -// Proto file describing custom audience errors. +// Proto file describing custom audience errors. -/// Container for enum describing possible custom audience errors. +/// Container for enum describing possible custom audience errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceErrorEnum { } /// Nested message and enum types in `CustomAudienceErrorEnum`. pub mod custom_audience_error_enum { - /// Enum describing possible custom audience errors. + /// Enum describing possible custom audience errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// New name in the custom audience is duplicated ignoring cases. + /// New name in the custom audience is duplicated ignoring cases. NameAlreadyUsed = 2, - /// Cannot remove a custom audience while it's still being used as targeting. + /// Cannot remove a custom audience while it's still being used as targeting. CannotRemoveWhileInUse = 3, - /// Cannot update or remove a custom audience that is already removed. + /// Cannot update or remove a custom audience that is already removed. ResourceAlreadyRemoved = 4, - /// The pair of [type, value] already exists in members. + /// The pair of [type, value] already exists in members. MemberTypeAndParameterAlreadyExisted = 5, - /// Member type is invalid. + /// Member type is invalid. InvalidMemberType = 6, - /// Member type does not have associated value. + /// Member type does not have associated value. MemberTypeAndValueDoesNotMatch = 7, - /// Custom audience contains a member that violates policy. + /// Custom audience contains a member that violates policy. PolicyViolation = 8, - /// Change in custom audience type is not allowed. + /// Change in custom audience type is not allowed. InvalidTypeChange = 9, } impl CustomAudienceError { @@ -4357,33 +4357,33 @@ pub mod custom_audience_error_enum { } } } -// Proto file describing CustomConversionGoal errors. +// Proto file describing CustomConversionGoal errors. -/// Container for enum describing possible custom conversion goal errors. +/// Container for enum describing possible custom conversion goal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalErrorEnum { } /// Nested message and enum types in `CustomConversionGoalErrorEnum`. pub mod custom_conversion_goal_error_enum { - /// Enum describing possible custom conversion goal errors. + /// Enum describing possible custom conversion goal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot find a conversion action with the specified id. + /// Cannot find a conversion action with the specified id. InvalidConversionAction = 2, - /// The conversion action is not enabled so it cannot be included in a custom - /// conversion goal. + /// The conversion action is not enabled so it cannot be included in a custom + /// conversion goal. ConversionActionNotEnabled = 3, - /// The custom conversion goal cannot be removed because it's linked to a - /// campaign. + /// The custom conversion goal cannot be removed because it's linked to a + /// campaign. CannotRemoveLinkedCustomConversionGoal = 4, - /// Custom goal with the same name already exists. + /// Custom goal with the same name already exists. CustomGoalDuplicateName = 5, - /// Custom goal with the same conversion action list already exists. + /// Custom goal with the same conversion action list already exists. DuplicateConversionActionList = 6, } impl CustomConversionGoalError { @@ -4404,36 +4404,36 @@ pub mod custom_conversion_goal_error_enum { } } } -// Proto file describing custom interest errors. +// Proto file describing custom interest errors. -/// Container for enum describing possible custom interest errors. +/// Container for enum describing possible custom interest errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestErrorEnum { } /// Nested message and enum types in `CustomInterestErrorEnum`. pub mod custom_interest_error_enum { - /// Enum describing possible custom interest errors. + /// Enum describing possible custom interest errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate custom interest name ignoring case. + /// Duplicate custom interest name ignoring case. NameAlreadyUsed = 2, - /// In the remove custom interest member operation, both member ID and - /// pair [type, parameter] are not present. + /// In the remove custom interest member operation, both member ID and + /// pair [type, parameter] are not present. CustomInterestMemberIdAndTypeParameterNotPresentInRemove = 3, - /// The pair of [type, parameter] does not exist. + /// The pair of [type, parameter] does not exist. TypeAndParameterNotFound = 4, - /// The pair of [type, parameter] already exists. + /// The pair of [type, parameter] already exists. TypeAndParameterAlreadyExisted = 5, - /// Unsupported custom interest member type. + /// Unsupported custom interest member type. InvalidCustomInterestMemberType = 6, - /// Cannot remove a custom interest while it's still being targeted. + /// Cannot remove a custom interest while it's still being targeted. CannotRemoveWhileInUse = 7, - /// Cannot mutate custom interest type. + /// Cannot mutate custom interest type. CannotChangeType = 8, } impl CustomInterestError { @@ -4456,37 +4456,37 @@ pub mod custom_interest_error_enum { } } } -// Proto file describing CustomerClientLink errors. +// Proto file describing CustomerClientLink errors. -/// Container for enum describing possible CustomeClientLink errors. +/// Container for enum describing possible CustomeClientLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkErrorEnum { } /// Nested message and enum types in `CustomerClientLinkErrorEnum`. pub mod customer_client_link_error_enum { - /// Enum describing possible CustomerClientLink errors. + /// Enum describing possible CustomerClientLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerClientLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Trying to manage a client that already in being managed by customer. + /// Trying to manage a client that already in being managed by customer. ClientAlreadyInvitedByThisManager = 2, - /// Already managed by some other manager in the hierarchy. + /// Already managed by some other manager in the hierarchy. ClientAlreadyManagedInHierarchy = 3, - /// Attempt to create a cycle in the hierarchy. + /// Attempt to create a cycle in the hierarchy. CyclicLinkNotAllowed = 4, - /// Managed accounts has the maximum number of linked accounts. + /// Managed accounts has the maximum number of linked accounts. CustomerHasTooManyAccounts = 5, - /// Invitor has the maximum pending invitations. + /// Invitor has the maximum pending invitations. ClientHasTooManyInvitations = 6, - /// Attempt to change hidden status of a link that is not active. + /// Attempt to change hidden status of a link that is not active. CannotHideOrUnhideManagerAccounts = 7, - /// Parent manager account has the maximum number of linked accounts. + /// Parent manager account has the maximum number of linked accounts. CustomerHasTooManyAccountsAtManager = 8, - /// Client has too many managers. + /// Client has too many managers. ClientHasTooManyManagers = 9, } impl CustomerClientLinkError { @@ -4510,21 +4510,21 @@ pub mod customer_client_link_error_enum { } } } -// Proto file describing customer customizer errors. +// Proto file describing customer customizer errors. -/// Container for enum describing possible customer customizer errors. +/// Container for enum describing possible customer customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerErrorEnum { } /// Nested message and enum types in `CustomerCustomizerErrorEnum`. pub mod customer_customizer_error_enum { - /// Enum describing possible customer customizer errors. + /// Enum describing possible customer customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CustomerCustomizerError { @@ -4540,25 +4540,25 @@ pub mod customer_customizer_error_enum { } } } -/// Container for enum describing possible customer errors. +/// Container for enum describing possible customer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerErrorEnum { } /// Nested message and enum types in `CustomerErrorEnum`. pub mod customer_error_enum { - /// Set of errors that are related to requests dealing with Customer. + /// Set of errors that are related to requests dealing with Customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer status is not allowed to be changed from DRAFT and CLOSED. - /// Currency code and at least one of country code and time zone needs to be - /// set when status is changed to ENABLED. + /// Customer status is not allowed to be changed from DRAFT and CLOSED. + /// Currency code and at least one of country code and time zone needs to be + /// set when status is changed to ENABLED. StatusChangeDisallowed = 2, - /// CustomerService cannot get a customer that has not been fully set up. + /// CustomerService cannot get a customer that has not been fully set up. AccountNotSetUp = 3, } impl CustomerError { @@ -4576,36 +4576,36 @@ pub mod customer_error_enum { } } } -// Proto file describing customer feed errors. +// Proto file describing customer feed errors. -/// Container for enum describing possible customer feed errors. +/// Container for enum describing possible customer feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedErrorEnum { } /// Nested message and enum types in `CustomerFeedErrorEnum`. pub mod customer_feed_error_enum { - /// Enum describing possible customer feed errors. + /// Enum describing possible customer feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this customer and place holder type. + /// An active feed already exists for this customer and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The CustomerFeed already exists. Update should be used to modify the - /// existing CustomerFeed. + /// The CustomerFeed already exists. Update should be used to modify the + /// existing CustomerFeed. CannotCreateAlreadyExistingCustomerFeed = 4, - /// Cannot update removed customer feed. + /// Cannot update removed customer feed. CannotModifyRemovedCustomerFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Placeholder not allowed at the account level. + /// Placeholder not allowed at the account level. PlaceholderTypeNotAllowedOnCustomerFeed = 8, } impl CustomerFeedError { @@ -4628,43 +4628,43 @@ pub mod customer_feed_error_enum { } } } -// Proto file describing CustomerManagerLink errors. +// Proto file describing CustomerManagerLink errors. -/// Container for enum describing possible CustomerManagerLink errors. +/// Container for enum describing possible CustomerManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkErrorEnum { } /// Nested message and enum types in `CustomerManagerLinkErrorEnum`. pub mod customer_manager_link_error_enum { - /// Enum describing possible CustomerManagerLink errors. + /// Enum describing possible CustomerManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No pending invitation. + /// No pending invitation. NoPendingInvite = 2, - /// Attempt to operate on the same client more than once in the same call. + /// Attempt to operate on the same client more than once in the same call. SameClientMoreThanOncePerCall = 3, - /// Manager account has the maximum number of linked accounts. + /// Manager account has the maximum number of linked accounts. ManagerHasMaxNumberOfLinkedAccounts = 4, - /// If no active user on account it cannot be unlinked from its manager. + /// If no active user on account it cannot be unlinked from its manager. CannotUnlinkAccountWithoutActiveUser = 5, - /// Account should have at least one active owner on it before being - /// unlinked. + /// Account should have at least one active owner on it before being + /// unlinked. CannotRemoveLastClientAccountOwner = 6, - /// Only account owners may change their permission role. + /// Only account owners may change their permission role. CannotChangeRoleByNonAccountOwner = 7, - /// When a client's link to its manager is not active, the link role cannot - /// be changed. + /// When a client's link to its manager is not active, the link role cannot + /// be changed. CannotChangeRoleForNonActiveLinkAccount = 8, - /// Attempt to link a child to a parent that contains or will contain - /// duplicate children. + /// Attempt to link a child to a parent that contains or will contain + /// duplicate children. DuplicateChildFound = 9, - /// The authorized customer is a test account. It can add no more than the - /// allowed number of accounts + /// The authorized customer is a test account. It can add no more than the + /// allowed number of accounts TestAccountLinksTooManyChildAccounts = 10, } impl CustomerManagerLinkError { @@ -4689,32 +4689,32 @@ pub mod customer_manager_link_error_enum { } } } -// Proto file describing CustomerUserAccess errors. +// Proto file describing CustomerUserAccess errors. -/// Container for enum describing possible CustomerUserAccess errors. +/// Container for enum describing possible CustomerUserAccess errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessErrorEnum { } /// Nested message and enum types in `CustomerUserAccessErrorEnum`. pub mod customer_user_access_error_enum { - /// Enum describing possible customer user access errors. + /// Enum describing possible customer user access errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerUserAccessError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There is no user associated with the user id specified. + /// There is no user associated with the user id specified. InvalidUserId = 2, - /// Unable to remove the access between the user and customer. + /// Unable to remove the access between the user and customer. RemovalDisallowed = 3, - /// Unable to add or update the access role as specified. + /// Unable to add or update the access role as specified. DisallowedAccessRole = 4, - /// The user can't remove itself from an active serving customer if it's the - /// last admin user and the customer doesn't have any owner manager + /// The user can't remove itself from an active serving customer if it's the + /// last admin user and the customer doesn't have any owner manager LastAdminUserOfServingCustomer = 5, - /// Last admin user cannot be removed from a manager. + /// Last admin user cannot be removed from a manager. LastAdminUserOfManager = 6, } impl CustomerUserAccessError { @@ -4735,24 +4735,24 @@ pub mod customer_user_access_error_enum { } } } -// Proto file describing customizer attribute errors. +// Proto file describing customizer attribute errors. -/// Container for enum describing possible customizer attribute errors. +/// Container for enum describing possible customizer attribute errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeErrorEnum { } /// Nested message and enum types in `CustomizerAttributeErrorEnum`. pub mod customizer_attribute_error_enum { - /// Enum describing possible customizer attribute errors. + /// Enum describing possible customizer attribute errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// CustomizerAttribute name matches that of another active - /// CustomizerAttribute. + /// CustomizerAttribute name matches that of another active + /// CustomizerAttribute. DuplicateCustomizerAttributeName = 2, } impl CustomizerAttributeError { @@ -4769,30 +4769,30 @@ pub mod customizer_attribute_error_enum { } } } -// Proto file describing database errors. +// Proto file describing database errors. -/// Container for enum describing possible database errors. +/// Container for enum describing possible database errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseErrorEnum { } /// Nested message and enum types in `DatabaseErrorEnum`. pub mod database_error_enum { - /// Enum describing possible database errors. + /// Enum describing possible database errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiple requests were attempting to modify the same resource at once. - /// Please retry the request. + /// Multiple requests were attempting to modify the same resource at once. + /// Please retry the request. ConcurrentModification = 2, - /// The request conflicted with existing data. This error will usually be - /// replaced with a more specific error if the request is retried. + /// The request conflicted with existing data. This error will usually be + /// replaced with a more specific error if the request is retried. DataConstraintViolation = 3, - /// The data written is too large. Please split the request into smaller - /// requests. + /// The data written is too large. Please split the request into smaller + /// requests. RequestTooLarge = 4, } impl DatabaseError { @@ -4811,41 +4811,41 @@ pub mod database_error_enum { } } } -// Proto file describing date errors. +// Proto file describing date errors. -/// Container for enum describing possible date errors. +/// Container for enum describing possible date errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateErrorEnum { } /// Nested message and enum types in `DateErrorEnum`. pub mod date_error_enum { - /// Enum describing possible date errors. + /// Enum describing possible date errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Given field values do not correspond to a valid date. + /// Given field values do not correspond to a valid date. InvalidFieldValuesInDate = 2, - /// Given field values do not correspond to a valid date time. + /// Given field values do not correspond to a valid date time. InvalidFieldValuesInDateTime = 3, - /// The string date's format should be yyyy-mm-dd. + /// The string date's format should be yyyy-mm-dd. InvalidStringDate = 4, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. InvalidStringDateTimeMicros = 6, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss. InvalidStringDateTimeSeconds = 11, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. InvalidStringDateTimeSecondsWithOffset = 12, - /// Date is before allowed minimum. + /// Date is before allowed minimum. EarlierThanMinimumDate = 7, - /// Date is after allowed maximum. + /// Date is after allowed maximum. LaterThanMaximumDate = 8, - /// Date range bounds are not in order. + /// Date range bounds are not in order. DateRangeMinimumDateLaterThanMaximumDate = 9, - /// Both dates in range are null. + /// Both dates in range are null. DateRangeMinimumAndMaximumDatesBothNull = 10, } impl DateError { @@ -4871,31 +4871,31 @@ pub mod date_error_enum { } } } -// Proto file describing date range errors. +// Proto file describing date range errors. -/// Container for enum describing possible date range errors. +/// Container for enum describing possible date range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRangeErrorEnum { } /// Nested message and enum types in `DateRangeErrorEnum`. pub mod date_range_error_enum { - /// Enum describing possible date range errors. + /// Enum describing possible date range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateRangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date. + /// Invalid date. InvalidDate = 2, - /// The start date was after the end date. + /// The start date was after the end date. StartDateAfterEndDate = 3, - /// Cannot set date to past time + /// Cannot set date to past time CannotSetDateToPast = 4, - /// A date was used that is past the system "last" date. + /// A date was used that is past the system "last" date. AfterMaximumAllowableDate = 5, - /// Trying to change start date on a resource that has started. + /// Trying to change start date on a resource that has started. CannotModifyStartDateIfAlreadyStarted = 6, } impl DateRangeError { @@ -4916,25 +4916,25 @@ pub mod date_range_error_enum { } } } -// Proto file describing distinct errors. +// Proto file describing distinct errors. -/// Container for enum describing possible distinct errors. +/// Container for enum describing possible distinct errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistinctErrorEnum { } /// Nested message and enum types in `DistinctErrorEnum`. pub mod distinct_error_enum { - /// Enum describing possible distinct errors. + /// Enum describing possible distinct errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistinctError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate element. + /// Duplicate element. DuplicateElement = 2, - /// Duplicate type. + /// Duplicate type. DuplicateType = 3, } impl DistinctError { @@ -4952,23 +4952,23 @@ pub mod distinct_error_enum { } } } -// Proto file describing enum errors. +// Proto file describing enum errors. -/// Container for enum describing possible enum errors. +/// Container for enum describing possible enum errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumErrorEnum { } /// Nested message and enum types in `EnumErrorEnum`. pub mod enum_error_enum { - /// Enum describing possible enum errors. + /// Enum describing possible enum errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnumError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The enum value is not permitted. + /// The enum value is not permitted. EnumValueNotPermitted = 3, } impl EnumError { @@ -4985,51 +4985,51 @@ pub mod enum_error_enum { } } } -// Proto file describing experiment arm errors. +// Proto file describing experiment arm errors. -/// Container for enum describing possible experiment arm error. +/// Container for enum describing possible experiment arm error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArmErrorEnum { } /// Nested message and enum types in `ExperimentArmErrorEnum`. pub mod experiment_arm_error_enum { - /// Enum describing possible experiment arm errors. + /// Enum describing possible experiment arm errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentArmError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Number of experiment arms is above limit. + /// Number of experiment arms is above limit. ExperimentArmCountLimitExceeded = 2, - /// Cannot add campaign with invalid status to the experiment arm. + /// Cannot add campaign with invalid status to the experiment arm. InvalidCampaignStatus = 3, - /// Cannot add duplicate experiment arm name in one experiment. + /// Cannot add duplicate experiment arm name in one experiment. DuplicateExperimentArmName = 4, - /// Cannot set campaigns of treatment experiment arm. + /// Cannot set campaigns of treatment experiment arm. CannotSetTreatmentArmCampaign = 5, - /// Cannot edit campaign ids in trial arms in non SETUP experiment. + /// Cannot edit campaign ids in trial arms in non SETUP experiment. CannotModifyCampaignIds = 6, - /// Cannot modify the campaigns in the control arm - /// if there is not a suffix set in the trial. + /// Cannot modify the campaigns in the control arm + /// if there is not a suffix set in the trial. CannotModifyCampaignWithoutSuffixSet = 7, - /// Traffic split related settings (like traffic share bounds) can't be - /// modified after the trial has started. + /// Traffic split related settings (like traffic share bounds) can't be + /// modified after the trial has started. CannotMutateTrafficSplitAfterStart = 8, - /// Cannot use shared budget on experiment's control campaign. + /// Cannot use shared budget on experiment's control campaign. CannotAddCampaignWithSharedBudget = 9, - /// Cannot use custom budget on experiment's control campaigns. + /// Cannot use custom budget on experiment's control campaigns. CannotAddCampaignWithCustomBudget = 10, - /// Cannot have enable_dynamic_assets turned on in experiment's campaigns. + /// Cannot have enable_dynamic_assets turned on in experiment's campaigns. CannotAddCampaignsWithDynamicAssetsEnabled = 11, - /// Cannot use campaign's advertising channel sub type in experiment. + /// Cannot use campaign's advertising channel sub type in experiment. UnsupportedCampaignAdvertisingChannelSubType = 12, - /// Experiment date range must be within base campaign's date range. + /// Experiment date range must be within base campaign's date range. CannotAddBaseCampaignWithDateRange = 13, - /// Bidding strategy is not supported in experiments. + /// Bidding strategy is not supported in experiments. BiddingStrategyNotSupportedInExperiments = 14, - /// Traffic split is not supported for some channel types. + /// Traffic split is not supported for some channel types. TrafficSplitNotSupportedForChannelType = 15, } impl ExperimentArmError { @@ -5059,75 +5059,75 @@ pub mod experiment_arm_error_enum { } } } -// Proto file describing experiment errors. +// Proto file describing experiment errors. -/// Container for enum describing possible experiment error. +/// Container for enum describing possible experiment error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentErrorEnum { } /// Nested message and enum types in `ExperimentErrorEnum`. pub mod experiment_error_enum { - /// Enum describing possible experiment errors. + /// Enum describing possible experiment errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The start date of an experiment cannot be set in the past. - /// Please use a start date in the future. + /// The start date of an experiment cannot be set in the past. + /// Please use a start date in the future. CannotSetStartDateInPast = 2, - /// The end date of an experiment is before its start date. - /// Please use an end date after the start date. + /// The end date of an experiment is before its start date. + /// Please use an end date after the start date. EndDateBeforeStartDate = 3, - /// The start date of an experiment is too far in the future. - /// Please use a start date no more than 1 year in the future. + /// The start date of an experiment is too far in the future. + /// Please use a start date no more than 1 year in the future. StartDateTooFarInFuture = 4, - /// The experiment has the same name as an existing active experiment. + /// The experiment has the same name as an existing active experiment. DuplicateExperimentName = 5, - /// Experiments can only be modified when they are ENABLED. + /// Experiments can only be modified when they are ENABLED. CannotModifyRemovedExperiment = 6, - /// The start date of an experiment cannot be modified if the existing start - /// date has already passed. + /// The start date of an experiment cannot be modified if the existing start + /// date has already passed. StartDateAlreadyPassed = 7, - /// The end date of an experiment cannot be set in the past. + /// The end date of an experiment cannot be set in the past. CannotSetEndDateInPast = 8, - /// The status of an experiment cannot be set to REMOVED. + /// The status of an experiment cannot be set to REMOVED. CannotSetStatusToRemoved = 9, - /// The end date of an expired experiment cannot be modified. + /// The end date of an expired experiment cannot be modified. CannotModifyPastEndDate = 10, - /// The status is invalid. + /// The status is invalid. InvalidStatus = 11, - /// Experiment arm contains campaigns with invalid advertising channel type. + /// Experiment arm contains campaigns with invalid advertising channel type. InvalidCampaignChannelType = 12, - /// A pair of trials share members and have overlapping date ranges. + /// A pair of trials share members and have overlapping date ranges. OverlappingMembersAndDateRange = 13, - /// Experiment arm contains invalid traffic split. + /// Experiment arm contains invalid traffic split. InvalidTrialArmTrafficSplit = 14, - /// Experiment contains trial arms with overlapping traffic split. + /// Experiment contains trial arms with overlapping traffic split. TrafficSplitOverlapping = 15, - /// The total traffic split of trial arms is not equal to 100. + /// The total traffic split of trial arms is not equal to 100. SumTrialArmTrafficUnequalsToTrialTrafficSplitDenominator = 16, - /// Traffic split related settings (like traffic share bounds) can't be - /// modified after the experiment has started. + /// Traffic split related settings (like traffic share bounds) can't be + /// modified after the experiment has started. CannotModifyTrafficSplitAfterStart = 17, - /// The experiment could not be found. + /// The experiment could not be found. ExperimentNotFound = 18, - /// Experiment has not begun. + /// Experiment has not begun. ExperimentNotYetStarted = 19, - /// The experiment cannot have more than one control arm. + /// The experiment cannot have more than one control arm. CannotHaveMultipleControlArms = 20, - /// The experiment doesn't set in-design campaigns. + /// The experiment doesn't set in-design campaigns. InDesignCampaignsNotSet = 21, - /// Clients must use the graduate action to graduate experiments and cannot - /// set the status to GRADUATED directly. + /// Clients must use the graduate action to graduate experiments and cannot + /// set the status to GRADUATED directly. CannotSetStatusToGraduated = 22, - /// Cannot use shared budget on base campaign when scheduling an experiment. + /// Cannot use shared budget on base campaign when scheduling an experiment. CannotCreateExperimentCampaignWithSharedBudget = 23, - /// Cannot use custom budget on base campaign when scheduling an experiment. + /// Cannot use custom budget on base campaign when scheduling an experiment. CannotCreateExperimentCampaignWithCustomBudget = 24, - /// Invalid status transition. + /// Invalid status transition. StatusTransitionInvalid = 25, } impl ExperimentError { @@ -5167,127 +5167,127 @@ pub mod experiment_error_enum { } } } -// Proto file describing extension feed item errors. +// Proto file describing extension feed item errors. -/// Container for enum describing possible extension feed item error. +/// Container for enum describing possible extension feed item error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemErrorEnum { } /// Nested message and enum types in `ExtensionFeedItemErrorEnum`. pub mod extension_feed_item_error_enum { - /// Enum describing possible extension feed item errors. + /// Enum describing possible extension feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionFeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 2, - /// Url list is too long. + /// Url list is too long. UrlListTooLong = 3, - /// Cannot have a geo targeting restriction without having geo targeting. + /// Cannot have a geo targeting restriction without having geo targeting. CannotHaveRestrictionOnEmptyGeoTargeting = 4, - /// Cannot simultaneously set sitelink field with final urls. + /// Cannot simultaneously set sitelink field with final urls. CannotSetWithFinalUrls = 5, - /// Must set field with final urls. + /// Must set field with final urls. CannotSetWithoutFinalUrls = 6, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 7, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 8, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 9, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 10, - /// Phone number type for a call extension is not allowed. - /// For example, personal number is not allowed for a call extension in - /// most regions. + /// Phone number type for a call extension is not allowed. + /// For example, personal number is not allowed for a call extension in + /// most regions. DisallowedNumberType = 11, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 12, - /// Vanity phone numbers (i.e. those including letters) are not allowed for - /// call extensions. + /// Vanity phone numbers (i.e. those including letters) are not allowed for + /// call extensions. VanityPhoneNumberNotAllowed = 13, - /// Call conversion action provided for a call extension is invalid. + /// Call conversion action provided for a call extension is invalid. InvalidCallConversionAction = 14, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotOnAllowlistForCalltracking = 47, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 16, - /// Customer hasn't consented for call recording, which is required for - /// creating/updating call feed items. Please see - /// + /// Customer hasn't consented for call recording, which is required for + /// creating/updating call feed items. Please see + /// CustomerConsentForCallRecordingRequired = 17, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 18, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 19, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 20, - /// A denylisted review source name or url was provided for a review - /// extension. + /// A denylisted review source name or url was provided for a review + /// extension. ReviewExtensionSourceIneligible = 21, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 22, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 23, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 24, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 25, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 26, - /// Price extension has too many items. + /// Price extension has too many items. PriceExtensionHasTooManyItems = 27, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 28, - /// The input value is not currently supported in the selected language of an - /// extension. + /// The input value is not currently supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 29, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 30, - /// Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != - /// 0). + /// Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != + /// 0). InvalidScheduleEnd = 31, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 32, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 33, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 34, - /// Phone number not supported when call tracking enabled for country. + /// Phone number not supported when call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 35, - /// Cannot set call_conversion_action while call_conversion_tracking_enabled - /// is set to true. + /// Cannot set call_conversion_action while call_conversion_tracking_enabled + /// is set to true. ConflictingCallConversionSettings = 36, - /// The type of the input extension feed item doesn't match the existing - /// extension feed item. + /// The type of the input extension feed item doesn't match the existing + /// extension feed item. ExtensionTypeMismatch = 37, - /// The oneof field extension i.e. subtype of extension feed item is - /// required. + /// The oneof field extension i.e. subtype of extension feed item is + /// required. ExtensionSubtypeRequired = 38, - /// The referenced feed item is not mapped to a supported extension type. + /// The referenced feed item is not mapped to a supported extension type. ExtensionTypeUnsupported = 39, - /// Cannot operate on a Feed with more than one active FeedMapping. + /// Cannot operate on a Feed with more than one active FeedMapping. CannotOperateOnFeedWithMultipleMappings = 40, - /// Cannot operate on a Feed that has key attributes. + /// Cannot operate on a Feed that has key attributes. CannotOperateOnFeedWithKeyAttributes = 41, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 42, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 43, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 44, - /// Concrete sub type of ExtensionFeedItem is required for this operation. + /// Concrete sub type of ExtensionFeedItem is required for this operation. ConcreteExtensionTypeRequired = 45, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 46, } impl ExtensionFeedItemError { @@ -5348,173 +5348,173 @@ pub mod extension_feed_item_error_enum { } } } -// Proto file describing extension setting validation errors. +// Proto file describing extension setting validation errors. -/// Container for enum describing validation errors of extension settings. +/// Container for enum describing validation errors of extension settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingErrorEnum { } /// Nested message and enum types in `ExtensionSettingErrorEnum`. pub mod extension_setting_error_enum { - /// Enum describing possible extension setting errors. + /// Enum describing possible extension setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A platform restriction was provided without input extensions or existing - /// extensions. + /// A platform restriction was provided without input extensions or existing + /// extensions. ExtensionsRequired = 2, - /// The provided feed type does not correspond to the provided extensions. + /// The provided feed type does not correspond to the provided extensions. FeedTypeExtensionTypeMismatch = 3, - /// The provided feed type cannot be used. + /// The provided feed type cannot be used. InvalidFeedType = 4, - /// The provided feed type cannot be used at the customer level. + /// The provided feed type cannot be used at the customer level. InvalidFeedTypeForCustomerExtensionSetting = 5, - /// Cannot change a feed item field on a CREATE operation. + /// Cannot change a feed item field on a CREATE operation. CannotChangeFeedItemOnCreate = 6, - /// Cannot update an extension that is not already in this setting. + /// Cannot update an extension that is not already in this setting. CannotUpdateNewlyCreatedExtension = 7, - /// There is no existing AdGroupExtensionSetting for this type. + /// There is no existing AdGroupExtensionSetting for this type. NoExistingAdGroupExtensionSettingForType = 8, - /// There is no existing CampaignExtensionSetting for this type. + /// There is no existing CampaignExtensionSetting for this type. NoExistingCampaignExtensionSettingForType = 9, - /// There is no existing CustomerExtensionSetting for this type. + /// There is no existing CustomerExtensionSetting for this type. NoExistingCustomerExtensionSettingForType = 10, - /// The AdGroupExtensionSetting already exists. UPDATE should be used to - /// modify the existing AdGroupExtensionSetting. + /// The AdGroupExtensionSetting already exists. UPDATE should be used to + /// modify the existing AdGroupExtensionSetting. AdGroupExtensionSettingAlreadyExists = 11, - /// The CampaignExtensionSetting already exists. UPDATE should be used to - /// modify the existing CampaignExtensionSetting. + /// The CampaignExtensionSetting already exists. UPDATE should be used to + /// modify the existing CampaignExtensionSetting. CampaignExtensionSettingAlreadyExists = 12, - /// The CustomerExtensionSetting already exists. UPDATE should be used to - /// modify the existing CustomerExtensionSetting. + /// The CustomerExtensionSetting already exists. UPDATE should be used to + /// modify the existing CustomerExtensionSetting. CustomerExtensionSettingAlreadyExists = 13, - /// An active ad group feed already exists for this place holder type. + /// An active ad group feed already exists for this place holder type. AdGroupFeedAlreadyExistsForPlaceholderType = 14, - /// An active campaign feed already exists for this place holder type. + /// An active campaign feed already exists for this place holder type. CampaignFeedAlreadyExistsForPlaceholderType = 15, - /// An active customer feed already exists for this place holder type. + /// An active customer feed already exists for this place holder type. CustomerFeedAlreadyExistsForPlaceholderType = 16, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 17, - /// Cannot simultaneously set specified field with final urls. + /// Cannot simultaneously set specified field with final urls. CannotSetFieldWithFinalUrls = 18, - /// Must set field with final urls. + /// Must set field with final urls. FinalUrlsNotSet = 19, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 20, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 21, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 22, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 23, - /// Phone number type for a call extension is not allowed. + /// Phone number type for a call extension is not allowed. DisallowedNumberType = 24, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 25, - /// Vanity phone numbers (i.e. those including letters) are not allowed for - /// call extensions. + /// Vanity phone numbers (i.e. those including letters) are not allowed for + /// call extensions. VanityPhoneNumberNotAllowed = 26, - /// Country code provided for a call extension is invalid. + /// Country code provided for a call extension is invalid. InvalidCountryCode = 27, - /// Call conversion type id provided for a call extension is invalid. + /// Call conversion type id provided for a call extension is invalid. InvalidCallConversionTypeId = 28, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotInAllowlistForCalltracking = 69, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 30, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 31, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 32, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 33, - /// A blocked review source name or url was provided for a review - /// extension. + /// A blocked review source name or url was provided for a review + /// extension. ReviewExtensionSourceNotEligible = 34, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 35, - /// Field must be set. + /// Field must be set. MissingField = 36, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 37, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 38, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 39, - /// Price extension has too few items + /// Price extension has too few items PriceExtensionHasTooFewItems = 40, - /// Price extension has too many items + /// Price extension has too many items PriceExtensionHasTooManyItems = 41, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 42, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 43, - /// Invalid feed item schedule end time (i.e., endHour = 24 and - /// endMinute != 0). + /// Invalid feed item schedule end time (i.e., endHour = 24 and + /// endMinute != 0). InvalidScheduleEnd = 45, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 47, - /// Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not - /// allowed. + /// Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not + /// allowed. OverlappingSchedulesNotAllowed = 48, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 49, - /// There are too many feed item schedules per day. + /// There are too many feed item schedules per day. TooManySchedulesPerDay = 50, - /// Cannot edit the same extension feed item more than once in the same - /// request. + /// Cannot edit the same extension feed item more than once in the same + /// request. DuplicateExtensionFeedItemEdit = 51, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 52, - /// Phone number with call tracking enabled is not supported for the - /// specified country. + /// Phone number with call tracking enabled is not supported for the + /// specified country. PhoneNumberNotSupportedWithCalltrackingForCountry = 53, - /// The targeted adgroup must belong to the targeted campaign. + /// The targeted adgroup must belong to the targeted campaign. CampaignTargetingMismatch = 54, - /// The feed used by the ExtensionSetting is removed and cannot be operated - /// on. Remove the ExtensionSetting to allow a new one to be created using - /// an active feed. + /// The feed used by the ExtensionSetting is removed and cannot be operated + /// on. Remove the ExtensionSetting to allow a new one to be created using + /// an active feed. CannotOperateOnRemovedFeed = 55, - /// The ExtensionFeedItem type is required for this operation. + /// The ExtensionFeedItem type is required for this operation. ExtensionTypeRequired = 56, - /// The matching function that links the extension feed to the customer, - /// campaign, or ad group is not compatible with the ExtensionSetting - /// services. + /// The matching function that links the extension feed to the customer, + /// campaign, or ad group is not compatible with the ExtensionSetting + /// services. IncompatibleUnderlyingMatchingFunction = 57, - /// Start date must be before end date. + /// Start date must be before end date. StartDateAfterEndDate = 58, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 59, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 60, - /// Cannot set both percent discount and money discount fields. + /// Cannot set both percent discount and money discount fields. PromotionCannotSetPercentDiscountAndMoneyDiscount = 61, - /// Cannot set both promotion code and orders over amount fields. + /// Cannot set both promotion code and orders over amount fields. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 62, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 63, - /// The language code is not valid. + /// The language code is not valid. InvalidLanguageCode = 64, - /// The language is not supported. + /// The language is not supported. UnsupportedLanguage = 65, - /// Customer hasn't consented for call recording, which is required for - /// adding/updating call extensions. Please see - /// + /// Customer hasn't consented for call recording, which is required for + /// adding/updating call extensions. Please see + /// CustomerConsentForCallRecordingRequired = 66, - /// The UPDATE operation does not specify any fields other than the resource - /// name in the update mask. + /// The UPDATE operation does not specify any fields other than the resource + /// name in the update mask. ExtensionSettingUpdateIsANoop = 67, - /// The extension contains text which has been prohibited on policy grounds. + /// The extension contains text which has been prohibited on policy grounds. DisallowedText = 68, } impl ExtensionSettingError { @@ -5595,27 +5595,27 @@ pub mod extension_setting_error_enum { } } } -// Proto file describing feed attribute reference errors. +// Proto file describing feed attribute reference errors. -/// Container for enum describing possible feed attribute reference errors. +/// Container for enum describing possible feed attribute reference errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeReferenceErrorEnum { } /// Nested message and enum types in `FeedAttributeReferenceErrorEnum`. pub mod feed_attribute_reference_error_enum { - /// Enum describing possible feed attribute reference errors. + /// Enum describing possible feed attribute reference errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeReferenceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A feed referenced by ID has been removed. + /// A feed referenced by ID has been removed. CannotReferenceRemovedFeed = 2, - /// There is no enabled feed with the given name. + /// There is no enabled feed with the given name. InvalidFeedName = 3, - /// There is no feed attribute in an enabled feed with the given name. + /// There is no feed attribute in an enabled feed with the given name. InvalidFeedAttributeName = 4, } impl FeedAttributeReferenceError { @@ -5634,68 +5634,68 @@ pub mod feed_attribute_reference_error_enum { } } } -// Proto file describing feed errors. +// Proto file describing feed errors. -/// Container for enum describing possible feed errors. +/// Container for enum describing possible feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedErrorEnum { } /// Nested message and enum types in `FeedErrorEnum`. pub mod feed_error_enum { - /// Enum describing possible feed errors. + /// Enum describing possible feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The names of the FeedAttributes must be unique. + /// The names of the FeedAttributes must be unique. AttributeNamesNotUnique = 2, - /// The attribute list must be an exact copy of the existing list if the - /// attribute ID's are present. + /// The attribute list must be an exact copy of the existing list if the + /// attribute ID's are present. AttributesDoNotMatchExistingAttributes = 3, - /// Cannot specify USER origin for a system generated feed. + /// Cannot specify USER origin for a system generated feed. CannotSpecifyUserOriginForSystemFeed = 4, - /// Cannot specify GOOGLE origin for a non-system generated feed. + /// Cannot specify GOOGLE origin for a non-system generated feed. CannotSpecifyGoogleOriginForNonSystemFeed = 5, - /// Cannot specify feed attributes for system feed. + /// Cannot specify feed attributes for system feed. CannotSpecifyFeedAttributesForSystemFeed = 6, - /// Cannot update FeedAttributes on feed with origin GOOGLE. + /// Cannot update FeedAttributes on feed with origin GOOGLE. CannotUpdateFeedAttributesWithOriginGoogle = 7, - /// The given ID refers to a removed Feed. Removed Feeds are immutable. + /// The given ID refers to a removed Feed. Removed Feeds are immutable. FeedRemoved = 8, - /// The origin of the feed is not valid for the client. + /// The origin of the feed is not valid for the client. InvalidOriginValue = 9, - /// A user can only create and modify feeds with USER origin. + /// A user can only create and modify feeds with USER origin. FeedOriginIsNotUser = 10, - /// Invalid auth token for the given email. + /// Invalid auth token for the given email. InvalidAuthTokenForEmail = 11, - /// Invalid email specified. + /// Invalid email specified. InvalidEmail = 12, - /// Feed name matches that of another active Feed. + /// Feed name matches that of another active Feed. DuplicateFeedName = 13, - /// Name of feed is not allowed. + /// Name of feed is not allowed. InvalidFeedName = 14, - /// Missing OAuthInfo. + /// Missing OAuthInfo. MissingOauthInfo = 15, - /// New FeedAttributes must not affect the unique key. + /// New FeedAttributes must not affect the unique key. NewAttributeCannotBePartOfUniqueKey = 16, - /// Too many FeedAttributes for a Feed. + /// Too many FeedAttributes for a Feed. TooManyAttributes = 17, - /// The business account is not valid. + /// The business account is not valid. InvalidBusinessAccount = 18, - /// Business account cannot access Business Profile. + /// Business account cannot access Business Profile. BusinessAccountCannotAccessLocationAccount = 19, - /// Invalid chain ID provided for affiliate location feed. + /// Invalid chain ID provided for affiliate location feed. InvalidAffiliateChainId = 20, - /// There is already a feed with the given system feed generation data. + /// There is already a feed with the given system feed generation data. DuplicateSystemFeed = 21, - /// An error occurred accessing Business Profile. + /// An error occurred accessing Business Profile. GmbAccessError = 22, - /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. + /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. CannotHaveLocationAndAffiliateLocationFeeds = 23, - /// Feed-based extension is read-only for this extension type. + /// Feed-based extension is read-only for this extension type. LegacyExtensionTypeReadOnly = 24, } impl FeedError { @@ -5734,39 +5734,39 @@ pub mod feed_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemErrorEnum { } /// Nested message and enum types in `FeedItemErrorEnum`. pub mod feed_item_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot convert the feed attribute value from string to its real type. + /// Cannot convert the feed attribute value from string to its real type. CannotConvertAttributeValueFromString = 2, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 3, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 4, - /// Feed item with the key attributes could not be found. + /// Feed item with the key attributes could not be found. KeyAttributesNotFound = 5, - /// Url feed attribute value is not valid. + /// Url feed attribute value is not valid. InvalidUrl = 6, - /// Some key attributes are missing. + /// Some key attributes are missing. MissingKeyAttributes = 7, - /// Feed item has same key attributes as another feed item. + /// Feed item has same key attributes as another feed item. KeyAttributesNotUnique = 8, - /// Cannot modify key attributes on an existing feed item. + /// Cannot modify key attributes on an existing feed item. CannotModifyKeyAttributeValue = 9, - /// The feed attribute value is too large. + /// The feed attribute value is too large. SizeTooLargeForMultiValueAttribute = 10, } impl FeedItemError { @@ -5791,41 +5791,41 @@ pub mod feed_item_error_enum { } } } -// Proto file describing feed item set errors. +// Proto file describing feed item set errors. -/// Container for enum describing possible feed item set errors. +/// Container for enum describing possible feed item set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetErrorEnum { } /// Nested message and enum types in `FeedItemSetErrorEnum`. pub mod feed_item_set_error_enum { - /// Enum describing possible feed item set errors. + /// Enum describing possible feed item set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given ID refers to a removed FeedItemSet. + /// The given ID refers to a removed FeedItemSet. FeedItemSetRemoved = 2, - /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it - /// exists. A set is either static or dynamic once added, and that cannot - /// change. + /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it + /// exists. A set is either static or dynamic once added, and that cannot + /// change. CannotClearDynamicFilter = 3, - /// The dynamic filter of a feed item set cannot be created on UPDATE if it - /// does not exist. A set is either static or dynamic once added, and that - /// cannot change. + /// The dynamic filter of a feed item set cannot be created on UPDATE if it + /// does not exist. A set is either static or dynamic once added, and that + /// cannot change. CannotCreateDynamicFilter = 4, - /// FeedItemSets can only be made for location or affiliate location feeds. + /// FeedItemSets can only be made for location or affiliate location feeds. InvalidFeedType = 5, - /// FeedItemSets duplicate name. Name should be unique within an account. + /// FeedItemSets duplicate name. Name should be unique within an account. DuplicateName = 6, - /// The feed type of the parent Feed is not compatible with the type of - /// dynamic filter being set. For example, you can only set - /// dynamic_location_set_filter for LOCATION feed item sets. + /// The feed type of the parent Feed is not compatible with the type of + /// dynamic filter being set. For example, you can only set + /// dynamic_location_set_filter for LOCATION feed item sets. WrongDynamicFilterForFeedType = 7, - /// Chain ID specified for AffiliateLocationFeedData is invalid. + /// Chain ID specified for AffiliateLocationFeedData is invalid. DynamicFilterInvalidChainIds = 8, } impl FeedItemSetError { @@ -5848,26 +5848,26 @@ pub mod feed_item_set_error_enum { } } } -// Proto file describing feed item set link errors. +// Proto file describing feed item set link errors. -/// Container for enum describing possible feed item set link errors. +/// Container for enum describing possible feed item set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkErrorEnum { } /// Nested message and enum types in `FeedItemSetLinkErrorEnum`. pub mod feed_item_set_link_error_enum { - /// Enum describing possible feed item set link errors. + /// Enum describing possible feed item set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - /// in a given Feed can be linked to a FeedItemSet in that Feed. + /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems + /// in a given Feed can be linked to a FeedItemSet in that Feed. FeedIdMismatch = 2, - /// Cannot add or remove links to a dynamic set. + /// Cannot add or remove links to a dynamic set. NoMutateAllowedForDynamicSet = 3, } impl FeedItemSetLinkError { @@ -5885,39 +5885,39 @@ pub mod feed_item_set_link_error_enum { } } } -// Proto file describing feed item target errors. +// Proto file describing feed item target errors. -/// Container for enum describing possible feed item target errors. +/// Container for enum describing possible feed item target errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetErrorEnum { } /// Nested message and enum types in `FeedItemTargetErrorEnum`. pub mod feed_item_target_error_enum { - /// Enum describing possible feed item target errors. + /// Enum describing possible feed item target errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// On CREATE, the FeedItemTarget must have a populated field in the oneof - /// target. + /// On CREATE, the FeedItemTarget must have a populated field in the oneof + /// target. MustSetTargetOneofOnCreate = 2, - /// The specified feed item target already exists, so it cannot be added. + /// The specified feed item target already exists, so it cannot be added. FeedItemTargetAlreadyExists = 3, - /// The schedules for a given feed item cannot overlap. + /// The schedules for a given feed item cannot overlap. FeedItemSchedulesCannotOverlap = 4, - /// Too many targets of a given type were added for a single feed item. + /// Too many targets of a given type were added for a single feed item. TargetLimitExceededForGivenType = 5, - /// Too many AdSchedules are enabled for the feed item for the given day. + /// Too many AdSchedules are enabled for the feed item for the given day. TooManySchedulesPerDay = 6, - /// A feed item may either have an enabled campaign target or an enabled ad - /// group target. + /// A feed item may either have an enabled campaign target or an enabled ad + /// group target. CannotHaveEnabledCampaignAndEnabledAdGroupTargets = 7, - /// Duplicate ad schedules aren't allowed. + /// Duplicate ad schedules aren't allowed. DuplicateAdSchedule = 8, - /// Duplicate keywords aren't allowed. + /// Duplicate keywords aren't allowed. DuplicateKeyword = 9, } impl FeedItemTargetError { @@ -5941,249 +5941,249 @@ pub mod feed_item_target_error_enum { } } } -// Proto file describing feed item validation errors. +// Proto file describing feed item validation errors. -/// Container for enum describing possible validation errors of a feed item. +/// Container for enum describing possible validation errors of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationErrorEnum { } /// Nested message and enum types in `FeedItemValidationErrorEnum`. pub mod feed_item_validation_error_enum { - /// The possible validation errors of a feed item. + /// The possible validation errors of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationError { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// String is too short. + /// String is too short. StringTooShort = 2, - /// String is too long. + /// String is too long. StringTooLong = 3, - /// Value is not provided. + /// Value is not provided. ValueNotSpecified = 4, - /// Phone number format is invalid for region. + /// Phone number format is invalid for region. InvalidDomesticPhoneNumberFormat = 5, - /// String does not represent a phone number. + /// String does not represent a phone number. InvalidPhoneNumber = 6, - /// Phone number format is not compatible with country code. + /// Phone number format is not compatible with country code. PhoneNumberNotSupportedForCountry = 7, - /// Premium rate number is not allowed. + /// Premium rate number is not allowed. PremiumRateNumberNotAllowed = 8, - /// Phone number type is not allowed. + /// Phone number type is not allowed. DisallowedNumberType = 9, - /// Specified value is outside of the valid range. + /// Specified value is outside of the valid range. ValueOutOfRange = 10, - /// Call tracking is not supported in the selected country. + /// Call tracking is not supported in the selected country. CalltrackingNotSupportedForCountry = 11, - /// Customer is not on the allow-list for call tracking. + /// Customer is not on the allow-list for call tracking. CustomerNotInAllowlistForCalltracking = 99, - /// Country code is invalid. + /// Country code is invalid. InvalidCountryCode = 13, - /// The specified mobile app id is invalid. + /// The specified mobile app id is invalid. InvalidAppId = 14, - /// Some required field attributes are missing. + /// Some required field attributes are missing. MissingAttributesForFields = 15, - /// Invalid email button type for email extension. + /// Invalid email button type for email extension. InvalidTypeId = 16, - /// Email address is invalid. + /// Email address is invalid. InvalidEmailAddress = 17, - /// The HTTPS URL in email extension is invalid. + /// The HTTPS URL in email extension is invalid. InvalidHttpsUrl = 18, - /// Delivery address is missing from email extension. + /// Delivery address is missing from email extension. MissingDeliveryAddress = 19, - /// FeedItem scheduling start date comes after end date. + /// FeedItem scheduling start date comes after end date. StartDateAfterEndDate = 20, - /// FeedItem scheduling start time is missing. + /// FeedItem scheduling start time is missing. MissingFeedItemStartTime = 21, - /// FeedItem scheduling end time is missing. + /// FeedItem scheduling end time is missing. MissingFeedItemEndTime = 22, - /// Cannot compute system attributes on a FeedItem that has no FeedItemId. + /// Cannot compute system attributes on a FeedItem that has no FeedItemId. MissingFeedItemId = 23, - /// Call extension vanity phone numbers are not supported. + /// Call extension vanity phone numbers are not supported. VanityPhoneNumberNotAllowed = 24, - /// Invalid review text. + /// Invalid review text. InvalidReviewExtensionSnippet = 25, - /// Invalid format for numeric value in ad parameter. + /// Invalid format for numeric value in ad parameter. InvalidNumberFormat = 26, - /// Invalid format for date value in ad parameter. + /// Invalid format for date value in ad parameter. InvalidDateFormat = 27, - /// Invalid format for price value in ad parameter. + /// Invalid format for price value in ad parameter. InvalidPriceFormat = 28, - /// Unrecognized type given for value in ad parameter. + /// Unrecognized type given for value in ad parameter. UnknownPlaceholderField = 29, - /// Enhanced sitelinks must have both description lines specified. + /// Enhanced sitelinks must have both description lines specified. MissingEnhancedSitelinkDescriptionLine = 30, - /// Review source is ineligible. + /// Review source is ineligible. ReviewExtensionSourceIneligible = 31, - /// Review text cannot contain hyphens or dashes. + /// Review text cannot contain hyphens or dashes. HyphensInReviewExtensionSnippet = 32, - /// Review text cannot contain double quote characters. + /// Review text cannot contain double quote characters. DoubleQuotesInReviewExtensionSnippet = 33, - /// Review text cannot contain quote characters. + /// Review text cannot contain quote characters. QuotesInReviewExtensionSnippet = 34, - /// Parameters are encoded in the wrong format. + /// Parameters are encoded in the wrong format. InvalidFormEncodedParams = 35, - /// URL parameter name must contain only letters, numbers, underscores, and - /// dashes. + /// URL parameter name must contain only letters, numbers, underscores, and + /// dashes. InvalidUrlParameterName = 36, - /// Cannot find address location. + /// Cannot find address location. NoGeocodingResult = 37, - /// Review extension text has source name. + /// Review extension text has source name. SourceNameInReviewExtensionText = 38, - /// Some phone numbers can be shorter than usual. Some of these short numbers - /// are carrier-specific, and we disallow those in ad extensions because they - /// will not be available to all users. + /// Some phone numbers can be shorter than usual. Some of these short numbers + /// are carrier-specific, and we disallow those in ad extensions because they + /// will not be available to all users. CarrierSpecificShortNumberNotAllowed = 39, - /// Triggered when a request references a placeholder field id that does not - /// exist. + /// Triggered when a request references a placeholder field id that does not + /// exist. InvalidPlaceholderFieldId = 40, - /// URL contains invalid ValueTrack tags or format. + /// URL contains invalid ValueTrack tags or format. InvalidUrlTag = 41, - /// Provided list exceeds acceptable size. + /// Provided list exceeds acceptable size. ListTooLong = 42, - /// Certain combinations of attributes aren't allowed to be specified in the - /// same feed item. + /// Certain combinations of attributes aren't allowed to be specified in the + /// same feed item. InvalidAttributesCombination = 43, - /// An attribute has the same value repeatedly. + /// An attribute has the same value repeatedly. DuplicateValues = 44, - /// Advertisers can link a conversion action with a phone number to indicate - /// that sufficiently long calls forwarded to that phone number should be - /// counted as conversions of the specified type. This is an error message - /// indicating that the conversion action specified is invalid (e.g., the - /// conversion action does not exist within the appropriate Google Ads - /// account, or it is a type of conversion not appropriate to phone call - /// conversions). + /// Advertisers can link a conversion action with a phone number to indicate + /// that sufficiently long calls forwarded to that phone number should be + /// counted as conversions of the specified type. This is an error message + /// indicating that the conversion action specified is invalid (e.g., the + /// conversion action does not exist within the appropriate Google Ads + /// account, or it is a type of conversion not appropriate to phone call + /// conversions). InvalidCallConversionActionId = 45, - /// Tracking template requires final url to be set. + /// Tracking template requires final url to be set. CannotSetWithoutFinalUrls = 46, - /// An app id was provided that doesn't exist in the given app store. + /// An app id was provided that doesn't exist in the given app store. AppIdDoesntExistInAppStore = 47, - /// Invalid U2 final url. + /// Invalid U2 final url. InvalidFinalUrl = 48, - /// Invalid U2 tracking url. + /// Invalid U2 tracking url. InvalidTrackingUrl = 49, - /// Final URL should start from App download URL. + /// Final URL should start from App download URL. InvalidFinalUrlForAppDownloadUrl = 50, - /// List provided is too short. + /// List provided is too short. ListTooShort = 51, - /// User Action field has invalid value. + /// User Action field has invalid value. InvalidUserAction = 52, - /// Type field has invalid value. + /// Type field has invalid value. InvalidTypeName = 53, - /// Change status for event is invalid. + /// Change status for event is invalid. InvalidEventChangeStatus = 54, - /// The header of a structured snippets extension is not one of the valid - /// headers. + /// The header of a structured snippets extension is not one of the valid + /// headers. InvalidSnippetsHeader = 55, - /// Android app link is not formatted correctly + /// Android app link is not formatted correctly InvalidAndroidAppLink = 56, - /// Phone number incompatible with call tracking for country. + /// Phone number incompatible with call tracking for country. NumberTypeWithCalltrackingNotSupportedForCountry = 57, - /// The input is identical to a reserved keyword + /// The input is identical to a reserved keyword ReservedKeywordOther = 58, - /// Each option label in the message extension must be unique. + /// Each option label in the message extension must be unique. DuplicateOptionLabels = 59, - /// Each option prefill in the message extension must be unique. + /// Each option prefill in the message extension must be unique. DuplicateOptionPrefills = 60, - /// In message extensions, the number of optional labels and optional - /// prefills must be the same. + /// In message extensions, the number of optional labels and optional + /// prefills must be the same. UnequalListLengths = 61, - /// All currency codes in an ad extension must be the same. + /// All currency codes in an ad extension must be the same. InconsistentCurrencyCodes = 62, - /// Headers in price extension are not unique. + /// Headers in price extension are not unique. PriceExtensionHasDuplicatedHeaders = 63, - /// Header and description in an item are the same. + /// Header and description in an item are the same. ItemHasDuplicatedHeaderAndDescription = 64, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 65, - /// The given value is not supported. + /// The given value is not supported. UnsupportedValue = 66, - /// Invalid final mobile url. + /// Invalid final mobile url. InvalidFinalMobileUrl = 67, - /// The given string value of Label contains invalid characters + /// The given string value of Label contains invalid characters InvalidKeywordlessAdRuleLabel = 68, - /// The given URL contains value track parameters. + /// The given URL contains value track parameters. ValueTrackParameterNotSupported = 69, - /// The given value is not supported in the selected language of an - /// extension. + /// The given value is not supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 70, - /// The iOS app link is not formatted correctly. + /// The iOS app link is not formatted correctly. InvalidIosAppLink = 71, - /// iOS app link or iOS app store id is missing. + /// iOS app link or iOS app store id is missing. MissingIosAppLinkOrIosAppStoreId = 72, - /// Promotion time is invalid. + /// Promotion time is invalid. PromotionInvalidTime = 73, - /// Both the percent off and money amount off fields are set. + /// Both the percent off and money amount off fields are set. PromotionCannotSetPercentOffAndMoneyAmountOff = 74, - /// Both the promotion code and orders over amount fields are set. + /// Both the promotion code and orders over amount fields are set. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 75, - /// Too many decimal places are specified. + /// Too many decimal places are specified. TooManyDecimalPlacesSpecified = 76, - /// Ad Customizers are present and not allowed. + /// Ad Customizers are present and not allowed. AdCustomizersNotAllowed = 77, - /// Language code is not valid. + /// Language code is not valid. InvalidLanguageCode = 78, - /// Language is not supported. + /// Language is not supported. UnsupportedLanguage = 79, - /// IF Function is present and not allowed. + /// IF Function is present and not allowed. IfFunctionNotAllowed = 80, - /// Final url suffix is not valid. + /// Final url suffix is not valid. InvalidFinalUrlSuffix = 81, - /// Final url suffix contains an invalid tag. + /// Final url suffix contains an invalid tag. InvalidTagInFinalUrlSuffix = 82, - /// Final url suffix is formatted incorrectly. + /// Final url suffix is formatted incorrectly. InvalidFinalUrlSuffixFormat = 83, - /// Consent for call recording, which is required for the use of call - /// extensions, was not provided by the advertiser. Please see - /// + /// Consent for call recording, which is required for the use of call + /// extensions, was not provided by the advertiser. Please see + /// CustomerConsentForCallRecordingRequired = 84, - /// Multiple message delivery options are set. + /// Multiple message delivery options are set. OnlyOneDeliveryOptionIsAllowed = 85, - /// No message delivery option is set. + /// No message delivery option is set. NoDeliveryOptionIsSet = 86, - /// String value of conversion reporting state field is not valid. + /// String value of conversion reporting state field is not valid. InvalidConversionReportingState = 87, - /// Image size is not right. + /// Image size is not right. ImageSizeWrong = 88, - /// Email delivery is not supported in the country specified in the country - /// code field. + /// Email delivery is not supported in the country specified in the country + /// code field. EmailDeliveryNotAvailableInCountry = 89, - /// Auto reply is not supported in the country specified in the country code - /// field. + /// Auto reply is not supported in the country specified in the country code + /// field. AutoReplyNotAvailableInCountry = 90, - /// Invalid value specified for latitude. + /// Invalid value specified for latitude. InvalidLatitudeValue = 91, - /// Invalid value specified for longitude. + /// Invalid value specified for longitude. InvalidLongitudeValue = 92, - /// Too many label fields provided. + /// Too many label fields provided. TooManyLabels = 93, - /// Invalid image url. + /// Invalid image url. InvalidImageUrl = 94, - /// Latitude value is missing. + /// Latitude value is missing. MissingLatitudeValue = 95, - /// Longitude value is missing. + /// Longitude value is missing. MissingLongitudeValue = 96, - /// Unable to find address. + /// Unable to find address. AddressNotFound = 97, - /// Cannot target provided address. + /// Cannot target provided address. AddressNotTargetable = 98, - /// The specified asset ID does not exist. + /// The specified asset ID does not exist. InvalidAssetId = 100, - /// The asset type cannot be set for the field. + /// The asset type cannot be set for the field. IncompatibleAssetType = 101, - /// The image has unexpected size. + /// The image has unexpected size. ImageErrorUnexpectedSize = 102, - /// The image aspect ratio is not allowed. + /// The image aspect ratio is not allowed. ImageErrorAspectRatioNotAllowed = 103, - /// The image file is too large. + /// The image file is too large. ImageErrorFileTooLarge = 104, - /// The image format is unsupported. + /// The image format is unsupported. ImageErrorFormatNotAllowed = 105, - /// Image violates constraints without more details. + /// Image violates constraints without more details. ImageErrorConstraintsViolated = 106, - /// An error occurred when validating image. + /// An error occurred when validating image. ImageErrorServerError = 107, } impl FeedItemValidationError { @@ -6304,60 +6304,60 @@ pub mod feed_item_validation_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingErrorEnum { } /// Nested message and enum types in `FeedMappingErrorEnum`. pub mod feed_mapping_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given placeholder field does not exist. + /// The given placeholder field does not exist. InvalidPlaceholderField = 2, - /// The given criterion field does not exist. + /// The given criterion field does not exist. InvalidCriterionField = 3, - /// The given placeholder type does not exist. + /// The given placeholder type does not exist. InvalidPlaceholderType = 4, - /// The given criterion type does not exist. + /// The given criterion type does not exist. InvalidCriterionType = 5, - /// A feed mapping must contain at least one attribute field mapping. + /// A feed mapping must contain at least one attribute field mapping. NoAttributeFieldMappings = 7, - /// The type of the feed attribute referenced in the attribute field mapping - /// must match the type of the placeholder field. + /// The type of the feed attribute referenced in the attribute field mapping + /// must match the type of the placeholder field. FeedAttributeTypeMismatch = 8, - /// A feed mapping for a system generated feed cannot be operated on. + /// A feed mapping for a system generated feed cannot be operated on. CannotOperateOnMappingsForSystemGeneratedFeed = 9, - /// Only one feed mapping for a placeholder type is allowed per feed or - /// customer (depending on the placeholder type). + /// Only one feed mapping for a placeholder type is allowed per feed or + /// customer (depending on the placeholder type). MultipleMappingsForPlaceholderType = 10, - /// Only one feed mapping for a criterion type is allowed per customer. + /// Only one feed mapping for a criterion type is allowed per customer. MultipleMappingsForCriterionType = 11, - /// Only one feed attribute mapping for a placeholder field is allowed - /// (depending on the placeholder type). + /// Only one feed attribute mapping for a placeholder field is allowed + /// (depending on the placeholder type). MultipleMappingsForPlaceholderField = 12, - /// Only one feed attribute mapping for a criterion field is allowed - /// (depending on the criterion type). + /// Only one feed attribute mapping for a criterion field is allowed + /// (depending on the criterion type). MultipleMappingsForCriterionField = 13, - /// This feed mapping may not contain any explicit attribute field mappings. + /// This feed mapping may not contain any explicit attribute field mappings. UnexpectedAttributeFieldMappings = 14, - /// Location placeholder feed mappings can only be created for Places feeds. + /// Location placeholder feed mappings can only be created for Places feeds. LocationPlaceholderOnlyForPlacesFeeds = 15, - /// Mappings for typed feeds cannot be modified. + /// Mappings for typed feeds cannot be modified. CannotModifyMappingsForTypedFeed = 16, - /// The given placeholder type can only be mapped to system generated feeds. + /// The given placeholder type can only be mapped to system generated feeds. InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17, - /// The given placeholder type cannot be mapped to a system generated feed - /// with the given type. + /// The given placeholder type cannot be mapped to a system generated feed + /// with the given type. InvalidPlaceholderTypeForSystemGeneratedFeedType = 18, - /// The "field" oneof was not set in an AttributeFieldMapping. + /// The "field" oneof was not set in an AttributeFieldMapping. AttributeFieldMappingMissingField = 19, } impl FeedMappingError { @@ -6390,35 +6390,35 @@ pub mod feed_mapping_error_enum { } } } -// Proto file describing field errors. +// Proto file describing field errors. -/// Container for enum describing possible field errors. +/// Container for enum describing possible field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldErrorEnum { } /// Nested message and enum types in `FieldErrorEnum`. pub mod field_error_enum { - /// Enum describing possible field errors. + /// Enum describing possible field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The required field was not present. + /// The required field was not present. Required = 2, - /// The field attempted to be mutated is immutable. + /// The field attempted to be mutated is immutable. ImmutableField = 3, - /// The field's value is invalid. + /// The field's value is invalid. InvalidValue = 4, - /// The field cannot be set. + /// The field cannot be set. ValueMustBeUnset = 5, - /// The required repeated field was empty. + /// The required repeated field was empty. RequiredNonemptyList = 6, - /// The field cannot be cleared. + /// The field cannot be cleared. FieldCannotBeCleared = 7, - /// The field's value is on a deny-list for this field. + /// The field's value is on a deny-list for this field. BlockedValue = 9, } impl FieldError { @@ -6441,31 +6441,31 @@ pub mod field_error_enum { } } } -// Proto file describing field mask errors. +// Proto file describing field mask errors. -/// Container for enum describing possible field mask errors. +/// Container for enum describing possible field mask errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldMaskErrorEnum { } /// Nested message and enum types in `FieldMaskErrorEnum`. pub mod field_mask_error_enum { - /// Enum describing possible field mask errors. + /// Enum describing possible field mask errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldMaskError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be provided for update operations. + /// The field mask must be provided for update operations. FieldMaskMissing = 5, - /// The field mask must be empty for create and remove operations. + /// The field mask must be empty for create and remove operations. FieldMaskNotAllowed = 4, - /// The field mask contained an invalid field. + /// The field mask contained an invalid field. FieldNotFound = 2, - /// The field mask updated a field with subfields. Fields with subfields may - /// be cleared, but not updated. To fix this, the field mask should select - /// all the subfields of the invalid field. + /// The field mask updated a field with subfields. Fields with subfields may + /// be cleared, but not updated. To fix this, the field mask should select + /// all the subfields of the invalid field. FieldHasSubfields = 3, } impl FieldMaskError { @@ -6485,54 +6485,54 @@ pub mod field_mask_error_enum { } } } -// Proto file describing function errors. +// Proto file describing function errors. -/// Container for enum describing possible function errors. +/// Container for enum describing possible function errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionErrorEnum { } /// Nested message and enum types in `FunctionErrorEnum`. pub mod function_error_enum { - /// Enum describing possible function errors. + /// Enum describing possible function errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The format of the function is not recognized as a supported function - /// format. + /// The format of the function is not recognized as a supported function + /// format. InvalidFunctionFormat = 2, - /// Operand data types do not match. + /// Operand data types do not match. DataTypeMismatch = 3, - /// The operands cannot be used together in a conjunction. + /// The operands cannot be used together in a conjunction. InvalidConjunctionOperands = 4, - /// Invalid numer of Operands. + /// Invalid numer of Operands. InvalidNumberOfOperands = 5, - /// Operand Type not supported. + /// Operand Type not supported. InvalidOperandType = 6, - /// Operator not supported. + /// Operator not supported. InvalidOperator = 7, - /// Request context type not supported. + /// Request context type not supported. InvalidRequestContextType = 8, - /// The matching function is not allowed for call placeholders + /// The matching function is not allowed for call placeholders InvalidFunctionForCallPlaceholder = 9, - /// The matching function is not allowed for the specified placeholder + /// The matching function is not allowed for the specified placeholder InvalidFunctionForPlaceholder = 10, - /// Invalid operand. + /// Invalid operand. InvalidOperand = 11, - /// Missing value for the constant operand. + /// Missing value for the constant operand. MissingConstantOperandValue = 12, - /// The value of the constant operand is invalid. + /// The value of the constant operand is invalid. InvalidConstantOperandValue = 13, - /// Invalid function nesting. + /// Invalid function nesting. InvalidNesting = 14, - /// The Feed ID was different from another Feed ID in the same function. + /// The Feed ID was different from another Feed ID in the same function. MultipleFeedIdsNotSupported = 15, - /// The matching function is invalid for use with a feed with a fixed schema. + /// The matching function is invalid for use with a feed with a fixed schema. InvalidFunctionForFeedWithFixedSchema = 16, - /// Invalid attribute name. + /// Invalid attribute name. InvalidAttributeName = 17, } impl FunctionError { @@ -6564,43 +6564,43 @@ pub mod function_error_enum { } } } -// Proto file describing function parsing errors. +// Proto file describing function parsing errors. -/// Container for enum describing possible function parsing errors. +/// Container for enum describing possible function parsing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionParsingErrorEnum { } /// Nested message and enum types in `FunctionParsingErrorEnum`. pub mod function_parsing_error_enum { - /// Enum describing possible function parsing errors. + /// Enum describing possible function parsing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionParsingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unexpected end of function string. + /// Unexpected end of function string. NoMoreInput = 2, - /// Could not find an expected character. + /// Could not find an expected character. ExpectedCharacter = 3, - /// Unexpected separator character. + /// Unexpected separator character. UnexpectedSeparator = 4, - /// Unmatched left bracket or parenthesis. + /// Unmatched left bracket or parenthesis. UnmatchedLeftBracket = 5, - /// Unmatched right bracket or parenthesis. + /// Unmatched right bracket or parenthesis. UnmatchedRightBracket = 6, - /// Functions are nested too deeply. + /// Functions are nested too deeply. TooManyNestedFunctions = 7, - /// Missing right-hand-side operand. + /// Missing right-hand-side operand. MissingRightHandOperand = 8, - /// Invalid operator/function name. + /// Invalid operator/function name. InvalidOperatorName = 9, - /// Feed attribute operand's argument is not an integer. + /// Feed attribute operand's argument is not an integer. FeedAttributeOperandArgumentNotInteger = 10, - /// Missing function operands. + /// Missing function operands. NoOperands = 11, - /// Function had too many operands. + /// Function had too many operands. TooManyOperands = 12, } impl FunctionParsingError { @@ -6627,29 +6627,29 @@ pub mod function_parsing_error_enum { } } } -/// Container for enum describing possible geo target constant suggestion errors. +/// Container for enum describing possible geo target constant suggestion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestionErrorEnum { } /// Nested message and enum types in `GeoTargetConstantSuggestionErrorEnum`. pub mod geo_target_constant_suggestion_error_enum { - /// Enum describing possible geo target constant suggestion errors. + /// Enum describing possible geo target constant suggestion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantSuggestionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A location name cannot be greater than 300 characters. + /// A location name cannot be greater than 300 characters. LocationNameSizeLimit = 2, - /// At most 25 location names can be specified in a SuggestGeoTargetConstants - /// method. + /// At most 25 location names can be specified in a SuggestGeoTargetConstants + /// method. LocationNameLimit = 3, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 4, - /// Geo target constant resource names or location names must be provided in - /// the request. + /// Geo target constant resource names or location names must be provided in + /// the request. RequestParametersUnset = 5, } impl GeoTargetConstantSuggestionError { @@ -6669,25 +6669,25 @@ pub mod geo_target_constant_suggestion_error_enum { } } } -// Proto file describing header errors. +// Proto file describing header errors. -/// Container for enum describing possible header errors. +/// Container for enum describing possible header errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HeaderErrorEnum { } /// Nested message and enum types in `HeaderErrorEnum`. pub mod header_error_enum { - /// Enum describing possible header errors. + /// Enum describing possible header errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HeaderError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The login customer ID could not be validated. + /// The login customer ID could not be validated. InvalidLoginCustomerId = 3, - /// The linked customer ID could not be validated. + /// The linked customer ID could not be validated. InvalidLinkedCustomerId = 7, } impl HeaderError { @@ -6705,23 +6705,23 @@ pub mod header_error_enum { } } } -// Proto file describing id errors. +// Proto file describing id errors. -/// Container for enum describing possible id errors. +/// Container for enum describing possible id errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdErrorEnum { } /// Nested message and enum types in `IdErrorEnum`. pub mod id_error_enum { - /// Enum describing possible id errors. + /// Enum describing possible id errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Id not found + /// Id not found NotFound = 2, } impl IdError { @@ -6738,102 +6738,102 @@ pub mod id_error_enum { } } } -// Proto file describing image errors. +// Proto file describing image errors. -/// Container for enum describing possible image errors. +/// Container for enum describing possible image errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageErrorEnum { } /// Nested message and enum types in `ImageErrorEnum`. pub mod image_error_enum { - /// Enum describing possible image errors. + /// Enum describing possible image errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The image is not valid. + /// The image is not valid. InvalidImage = 2, - /// The image could not be stored. + /// The image could not be stored. StorageError = 3, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 4, - /// The image is not of legal dimensions. + /// The image is not of legal dimensions. UnexpectedSize = 5, - /// Animated image are not permitted. + /// Animated image are not permitted. AnimatedNotAllowed = 6, - /// Animation is too long. + /// Animation is too long. AnimationTooLong = 7, - /// There was an error on the server. + /// There was an error on the server. ServerError = 8, - /// Image cannot be in CMYK color format. + /// Image cannot be in CMYK color format. CmykJpegNotAllowed = 9, - /// Flash images are not permitted. + /// Flash images are not permitted. FlashNotAllowed = 10, - /// Flash images must support clickTag. + /// Flash images must support clickTag. FlashWithoutClicktag = 11, - /// A flash error has occurred after fixing the click tag. + /// A flash error has occurred after fixing the click tag. FlashErrorAfterFixingClickTag = 12, - /// Unacceptable visual effects. + /// Unacceptable visual effects. AnimatedVisualEffect = 13, - /// There was a problem with the flash image. + /// There was a problem with the flash image. FlashError = 14, - /// Incorrect image layout. + /// Incorrect image layout. LayoutProblem = 15, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingImageFile = 16, - /// There was an error storing the image. + /// There was an error storing the image. ErrorStoringImage = 17, - /// The aspect ratio of the image is not allowed. + /// The aspect ratio of the image is not allowed. AspectRatioNotAllowed = 18, - /// Flash cannot have network objects. + /// Flash cannot have network objects. FlashHasNetworkObjects = 19, - /// Flash cannot have network methods. + /// Flash cannot have network methods. FlashHasNetworkMethods = 20, - /// Flash cannot have a Url. + /// Flash cannot have a Url. FlashHasUrl = 21, - /// Flash cannot use mouse tracking. + /// Flash cannot use mouse tracking. FlashHasMouseTracking = 22, - /// Flash cannot have a random number. + /// Flash cannot have a random number. FlashHasRandomNum = 23, - /// Ad click target cannot be '_self'. + /// Ad click target cannot be '_self'. FlashSelfTargets = 24, - /// GetUrl method should only use '_blank'. + /// GetUrl method should only use '_blank'. FlashBadGeturlTarget = 25, - /// Flash version is not supported. + /// Flash version is not supported. FlashVersionNotSupported = 26, - /// Flash movies need to have hard coded click URL or clickTAG + /// Flash movies need to have hard coded click URL or clickTAG FlashWithoutHardCodedClickUrl = 27, - /// Uploaded flash file is corrupted. + /// Uploaded flash file is corrupted. InvalidFlashFile = 28, - /// Uploaded flash file can be parsed, but the click tag can not be fixed - /// properly. + /// Uploaded flash file can be parsed, but the click tag can not be fixed + /// properly. FailedToFixClickTagInFlash = 29, - /// Flash movie accesses network resources + /// Flash movie accesses network resources FlashAccessesNetworkResources = 30, - /// Flash movie attempts to call external javascript code + /// Flash movie attempts to call external javascript code FlashExternalJsCall = 31, - /// Flash movie attempts to call flash system commands + /// Flash movie attempts to call flash system commands FlashExternalFsCall = 32, - /// Image file is too large. + /// Image file is too large. FileTooLarge = 33, - /// Image data is too large. + /// Image data is too large. ImageDataTooLarge = 34, - /// Error while processing the image. + /// Error while processing the image. ImageProcessingError = 35, - /// Image is too small. + /// Image is too small. ImageTooSmall = 36, - /// Input was invalid. + /// Input was invalid. InvalidInput = 37, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingFile = 38, - /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - /// can't be provided. This happens when asset spec contains more than one - /// constraint and different criteria of different constraints are violated. + /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED + /// can't be provided. This happens when asset spec contains more than one + /// constraint and different criteria of different constraints are violated. ImageConstraintsViolated = 39, - /// Image format is not allowed. + /// Image format is not allowed. FormatNotAllowed = 40, } impl ImageError { @@ -6888,31 +6888,31 @@ pub mod image_error_enum { } } } -// Proto file describing internal errors. +// Proto file describing internal errors. -/// Container for enum describing possible internal errors. +/// Container for enum describing possible internal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InternalErrorEnum { } /// Nested message and enum types in `InternalErrorEnum`. pub mod internal_error_enum { - /// Enum describing possible internal errors. + /// Enum describing possible internal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InternalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Google Ads API encountered unexpected internal error. + /// Google Ads API encountered unexpected internal error. InternalError = 2, - /// The intended error code doesn't exist in specified API version. It will - /// be released in a future API version. + /// The intended error code doesn't exist in specified API version. It will + /// be released in a future API version. ErrorCodeNotPublished = 3, - /// Google Ads API encountered an unexpected transient error. The user - /// should retry their request in these cases. + /// Google Ads API encountered an unexpected transient error. The user + /// should retry their request in these cases. TransientError = 4, - /// The request took longer than a deadline. + /// The request took longer than a deadline. DeadlineExceeded = 5, } impl InternalError { @@ -6932,32 +6932,32 @@ pub mod internal_error_enum { } } } -// Proto file describing invoice errors. +// Proto file describing invoice errors. -/// Container for enum describing possible invoice errors. +/// Container for enum describing possible invoice errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceErrorEnum { } /// Nested message and enum types in `InvoiceErrorEnum`. pub mod invoice_error_enum { - /// Enum describing possible invoice errors. + /// Enum describing possible invoice errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot request invoices issued before 2019-01-01. + /// Cannot request invoices issued before 2019-01-01. YearMonthTooOld = 2, - /// Cannot request invoices for customer who doesn't receive invoices. + /// Cannot request invoices for customer who doesn't receive invoices. NotInvoicedCustomer = 3, - /// Cannot request invoices for a non approved billing setup. + /// Cannot request invoices for a non approved billing setup. BillingSetupNotApproved = 4, - /// Cannot request invoices for a billing setup that is not on monthly - /// invoicing. + /// Cannot request invoices for a billing setup that is not on monthly + /// invoicing. BillingSetupNotOnMonthlyInvoicing = 5, - /// Cannot request invoices for a non serving customer. + /// Cannot request invoices for a non serving customer. NonServingCustomer = 6, } impl InvoiceError { @@ -6978,28 +6978,28 @@ pub mod invoice_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group. +// Proto file describing errors from applying a keyword plan ad group. -/// Container for enum describing possible errors from applying a keyword plan -/// ad group. +/// Container for enum describing possible errors from applying a keyword plan +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupErrorEnum`. pub mod keyword_plan_ad_group_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group. + /// Enum describing possible errors from applying a keyword plan ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The keyword plan ad group name is missing, empty, longer than allowed - /// limit or contains invalid chars. + /// The keyword plan ad group name is missing, empty, longer than allowed + /// limit or contains invalid chars. InvalidName = 2, - /// The keyword plan ad group name is duplicate to an existing keyword plan - /// AdGroup name or other keyword plan AdGroup name in the request. + /// The keyword plan ad group name is duplicate to an existing keyword plan + /// AdGroup name or other keyword plan AdGroup name in the request. DuplicateName = 3, } impl KeywordPlanAdGroupError { @@ -7017,41 +7017,41 @@ pub mod keyword_plan_ad_group_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan ad group keyword or +// keyword plan campaign keyword. -/// Container for enum describing possible errors from applying an ad group -/// keyword or a campaign keyword from a keyword plan. +/// Container for enum describing possible errors from applying an ad group +/// keyword or a campaign keyword from a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupKeywordErrorEnum`. pub mod keyword_plan_ad_group_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group - /// keyword or keyword plan campaign keyword. + /// Enum describing possible errors from applying a keyword plan ad group + /// keyword or keyword plan campaign keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword or negative keyword has invalid match type. + /// A keyword or negative keyword has invalid match type. InvalidKeywordMatchType = 2, - /// A keyword or negative keyword with same text and match type already - /// exists. + /// A keyword or negative keyword with same text and match type already + /// exists. DuplicateKeyword = 3, - /// Keyword or negative keyword text exceeds the allowed limit. + /// Keyword or negative keyword text exceeds the allowed limit. KeywordTextTooLong = 4, - /// Keyword or negative keyword text has invalid characters or symbols. + /// Keyword or negative keyword text has invalid characters or symbols. KeywordHasInvalidChars = 5, - /// Keyword or negative keyword text has too many words. + /// Keyword or negative keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword or negative keyword has invalid text. + /// Keyword or negative keyword has invalid text. InvalidKeywordText = 7, - /// Cpc Bid set for negative keyword. + /// Cpc Bid set for negative keyword. NegativeKeywordHasCpcBid = 8, - /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. + /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. NewBmmKeywordsNotAllowed = 9, } impl KeywordPlanAdGroupKeywordError { @@ -7075,36 +7075,36 @@ pub mod keyword_plan_ad_group_keyword_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign. +// Proto file describing errors from applying a keyword plan campaign. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignErrorEnum`. pub mod keyword_plan_campaign_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign. + /// Enum describing possible errors from applying a keyword plan campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword plan campaign name is missing, empty, longer than allowed limit - /// or contains invalid chars. + /// A keyword plan campaign name is missing, empty, longer than allowed limit + /// or contains invalid chars. InvalidName = 2, - /// A keyword plan campaign contains one or more untargetable languages. + /// A keyword plan campaign contains one or more untargetable languages. InvalidLanguages = 3, - /// A keyword plan campaign contains one or more invalid geo targets. + /// A keyword plan campaign contains one or more invalid geo targets. InvalidGeos = 4, - /// The keyword plan campaign name is duplicate to an existing keyword plan - /// campaign name or other keyword plan campaign name in the request. + /// The keyword plan campaign name is duplicate to an existing keyword plan + /// campaign name or other keyword plan campaign name in the request. DuplicateName = 5, - /// The number of geo targets in the keyword plan campaign exceeds limits. + /// The number of geo targets in the keyword plan campaign exceeds limits. MaxGeosExceeded = 6, - /// The number of languages in the keyword plan campaign exceeds limits. + /// The number of languages in the keyword plan campaign exceeds limits. MaxLanguagesExceeded = 7, } impl KeywordPlanCampaignError { @@ -7126,25 +7126,25 @@ pub mod keyword_plan_campaign_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan campaign keyword. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign keyword. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignKeywordErrorEnum`. pub mod keyword_plan_campaign_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign - /// keyword. + /// Enum describing possible errors from applying a keyword plan campaign + /// keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Keyword plan campaign keyword is positive. + /// Keyword plan campaign keyword is positive. CampaignKeywordIsPositive = 8, } impl KeywordPlanCampaignKeywordError { @@ -7161,54 +7161,54 @@ pub mod keyword_plan_campaign_keyword_error_enum { } } } -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. +// Proto file describing errors from applying keyword plan resources (keyword +// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) +// or KeywordPlanService RPC. -/// Container for enum describing possible errors from applying a keyword plan -/// resource (keyword plan, keyword plan campaign, keyword plan ad group or -/// keyword plan keyword) or KeywordPlanService RPC. +/// Container for enum describing possible errors from applying a keyword plan +/// resource (keyword plan, keyword plan campaign, keyword plan ad group or +/// keyword plan keyword) or KeywordPlanService RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanErrorEnum { } /// Nested message and enum types in `KeywordPlanErrorEnum`. pub mod keyword_plan_error_enum { - /// Enum describing possible errors from applying a keyword plan. + /// Enum describing possible errors from applying a keyword plan. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The plan's bid multiplier value is outside the valid range. + /// The plan's bid multiplier value is outside the valid range. BidMultiplierOutOfRange = 2, - /// The plan's bid value is too high. + /// The plan's bid value is too high. BidTooHigh = 3, - /// The plan's bid value is too low. + /// The plan's bid value is too low. BidTooLow = 4, - /// The plan's cpc bid is not a multiple of the minimum billable unit. + /// The plan's cpc bid is not a multiple of the minimum billable unit. BidTooManyFractionalDigits = 5, - /// The plan's daily budget value is too low. + /// The plan's daily budget value is too low. DailyBudgetTooLow = 6, - /// The plan's daily budget is not a multiple of the minimum billable unit. + /// The plan's daily budget is not a multiple of the minimum billable unit. DailyBudgetTooManyFractionalDigits = 7, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 8, - /// The plan has no keyword. + /// The plan has no keyword. KeywordPlanHasNoKeywords = 9, - /// The plan is not enabled and API cannot provide mutation, forecast or - /// stats. + /// The plan is not enabled and API cannot provide mutation, forecast or + /// stats. KeywordPlanNotEnabled = 10, - /// The requested plan cannot be found for providing forecast or stats. + /// The requested plan cannot be found for providing forecast or stats. KeywordPlanNotFound = 11, - /// The plan is missing a cpc bid. + /// The plan is missing a cpc bid. MissingBid = 13, - /// The plan is missing required forecast_period field. + /// The plan is missing required forecast_period field. MissingForecastPeriod = 14, - /// The plan's forecast_period has invalid forecast date range. + /// The plan's forecast_period has invalid forecast date range. InvalidForecastDateRange = 15, - /// The plan's name is invalid. + /// The plan's name is invalid. InvalidName = 16, } impl KeywordPlanError { @@ -7238,25 +7238,25 @@ pub mod keyword_plan_error_enum { } } } -// Proto file describing errors from KeywordPlanIdeaService. +// Proto file describing errors from KeywordPlanIdeaService. -/// Container for enum describing possible errors from KeywordPlanIdeaService. +/// Container for enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanIdeaErrorEnum { } /// Nested message and enum types in `KeywordPlanIdeaErrorEnum`. pub mod keyword_plan_idea_error_enum { - /// Enum describing possible errors from KeywordPlanIdeaService. + /// Enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanIdeaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error when crawling the input URL. + /// Error when crawling the input URL. UrlCrawlError = 2, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 3, } impl KeywordPlanIdeaError { @@ -7274,41 +7274,41 @@ pub mod keyword_plan_idea_error_enum { } } } -// Proto file describing label errors. +// Proto file describing label errors. -/// Container for enum describing possible label errors. +/// Container for enum describing possible label errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelErrorEnum { } /// Nested message and enum types in `LabelErrorEnum`. pub mod label_error_enum { - /// Enum describing possible label errors. + /// Enum describing possible label errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An inactive label cannot be applied. + /// An inactive label cannot be applied. CannotApplyInactiveLabel = 2, - /// A label cannot be applied to a disabled ad group criterion. + /// A label cannot be applied to a disabled ad group criterion. CannotApplyLabelToDisabledAdGroupCriterion = 3, - /// A label cannot be applied to a negative ad group criterion. + /// A label cannot be applied to a negative ad group criterion. CannotApplyLabelToNegativeAdGroupCriterion = 4, - /// Cannot apply more than 50 labels per resource. + /// Cannot apply more than 50 labels per resource. ExceededLabelLimitPerType = 5, - /// Labels from a manager account cannot be applied to campaign, ad group, - /// ad group ad, or ad group criterion resources. + /// Labels from a manager account cannot be applied to campaign, ad group, + /// ad group ad, or ad group criterion resources. InvalidResourceForManagerLabel = 6, - /// Label names must be unique. + /// Label names must be unique. DuplicateName = 7, - /// Label names cannot be empty. + /// Label names cannot be empty. InvalidLabelName = 8, - /// Labels cannot be applied to a draft. + /// Labels cannot be applied to a draft. CannotAttachLabelToDraft = 9, - /// Labels not from a manager account cannot be applied to the customer - /// resource. + /// Labels not from a manager account cannot be applied to the customer + /// resource. CannotAttachNonManagerLabelToCustomer = 10, } impl LabelError { @@ -7333,25 +7333,25 @@ pub mod label_error_enum { } } } -// Proto file describing language code errors. +// Proto file describing language code errors. -/// Container for enum describing language code errors. +/// Container for enum describing language code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageCodeErrorEnum { } /// Nested message and enum types in `LanguageCodeErrorEnum`. pub mod language_code_error_enum { - /// Enum describing language code errors. + /// Enum describing language code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LanguageCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input language code is not recognized. + /// The input language code is not recognized. LanguageCodeNotFound = 2, - /// The language code is not supported. + /// The language code is not supported. InvalidLanguageCode = 3, } impl LanguageCodeError { @@ -7369,25 +7369,25 @@ pub mod language_code_error_enum { } } } -// Proto file describing list operation errors. +// Proto file describing list operation errors. -/// Container for enum describing possible list operation errors. +/// Container for enum describing possible list operation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationErrorEnum { } /// Nested message and enum types in `ListOperationErrorEnum`. pub mod list_operation_error_enum { - /// Enum describing possible list operation errors. + /// Enum describing possible list operation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListOperationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Field required in value is missing. + /// Field required in value is missing. RequiredFieldMissing = 7, - /// Duplicate or identical value is sent in multiple list operations. + /// Duplicate or identical value is sent in multiple list operations. DuplicateValues = 8, } impl ListOperationError { @@ -7405,61 +7405,61 @@ pub mod list_operation_error_enum { } } } -// Proto file describing ManagerLink errors. +// Proto file describing ManagerLink errors. -/// Container for enum describing possible ManagerLink errors. +/// Container for enum describing possible ManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkErrorEnum { } /// Nested message and enum types in `ManagerLinkErrorEnum`. pub mod manager_link_error_enum { - /// Enum describing possible ManagerLink errors. + /// Enum describing possible ManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The manager and client have incompatible account types. + /// The manager and client have incompatible account types. AccountsNotCompatibleForLinking = 2, - /// Client is already linked to too many managers. + /// Client is already linked to too many managers. TooManyManagers = 3, - /// Manager has too many pending invitations. + /// Manager has too many pending invitations. TooManyInvites = 4, - /// Client is already invited by this manager. + /// Client is already invited by this manager. AlreadyInvitedByThisManager = 5, - /// The client is already managed by this manager. + /// The client is already managed by this manager. AlreadyManagedByThisManager = 6, - /// Client is already managed in hierarchy. + /// Client is already managed in hierarchy. AlreadyManagedInHierarchy = 7, - /// Manager and sub-manager to be linked have duplicate client. + /// Manager and sub-manager to be linked have duplicate client. DuplicateChildFound = 8, - /// Client has no active user that can access the client account. + /// Client has no active user that can access the client account. ClientHasNoAdminUser = 9, - /// Adding this link would exceed the maximum hierarchy depth. + /// Adding this link would exceed the maximum hierarchy depth. MaxDepthExceeded = 10, - /// Adding this link will create a cycle. + /// Adding this link will create a cycle. CycleNotAllowed = 11, - /// Manager account has the maximum number of linked clients. + /// Manager account has the maximum number of linked clients. TooManyAccounts = 12, - /// Parent manager account has the maximum number of linked clients. + /// Parent manager account has the maximum number of linked clients. TooManyAccountsAtManager = 13, - /// The account is not authorized owner. + /// The account is not authorized owner. NonOwnerUserCannotModifyLink = 14, - /// Your manager account is suspended, and you are no longer allowed to link - /// to clients. + /// Your manager account is suspended, and you are no longer allowed to link + /// to clients. SuspendedAccountCannotAddClients = 15, - /// You are not allowed to move a client to a manager that is not under your - /// current hierarchy. + /// You are not allowed to move a client to a manager that is not under your + /// current hierarchy. ClientOutsideTree = 16, - /// The changed status for mutate link is invalid. + /// The changed status for mutate link is invalid. InvalidStatusChange = 17, - /// The change for mutate link is invalid. + /// The change for mutate link is invalid. InvalidChange = 18, - /// You are not allowed to link a manager account to itself. + /// You are not allowed to link a manager account to itself. CustomerCannotManageSelf = 19, - /// The link was created with status ACTIVE and not PENDING. + /// The link was created with status ACTIVE and not PENDING. CreatingEnabledLinkNotAllowed = 20, } impl ManagerLinkError { @@ -7494,65 +7494,65 @@ pub mod manager_link_error_enum { } } } -// Proto file describing media bundle errors. +// Proto file describing media bundle errors. -/// Container for enum describing possible media bundle errors. +/// Container for enum describing possible media bundle errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleErrorEnum { } /// Nested message and enum types in `MediaBundleErrorEnum`. pub mod media_bundle_error_enum { - /// Enum describing possible media bundle errors. + /// Enum describing possible media bundle errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaBundleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 3, - /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. + /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. DoubleclickBundleNotAllowed = 4, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 5, - /// Media bundle file is too large. + /// Media bundle file is too large. FileTooLarge = 6, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 7, - /// Input was invalid. + /// Input was invalid. InvalidInput = 8, - /// There was a problem with the media bundle. + /// There was a problem with the media bundle. InvalidMediaBundle = 9, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 10, - /// The media bundle contains a file with an unknown mime type + /// The media bundle contains a file with an unknown mime type InvalidMimeType = 11, - /// The media bundle contain an invalid asset path. + /// The media bundle contain an invalid asset path. InvalidPath = 12, - /// HTML5 ad is trying to reference an asset not in .ZIP file + /// HTML5 ad is trying to reference an asset not in .ZIP file InvalidUrlReference = 13, - /// Media data is too large. + /// Media data is too large. MediaDataTooLarge = 14, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 15, - /// There was an error on the server. + /// There was an error on the server. ServerError = 16, - /// The image could not be stored. + /// The image could not be stored. StorageError = 17, - /// Media bundle created with the Swiffy tool is not allowed. + /// Media bundle created with the Swiffy tool is not allowed. SwiffyBundleNotAllowed = 18, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFiles = 19, - /// The media bundle is not of legal dimensions. + /// The media bundle is not of legal dimensions. UnexpectedSize = 20, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 21, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 22, - /// URL in HTML5 entry is not ssl compliant. + /// URL in HTML5 entry is not ssl compliant. UrlInMediaBundleNotSslCompliant = 23, - /// Custom exits not allowed in HTML5 entry. + /// Custom exits not allowed in HTML5 entry. CustomExitNotAllowed = 24, } impl MediaBundleError { @@ -7590,67 +7590,67 @@ pub mod media_bundle_error_enum { } } } -// Proto file describing media file errors. +// Proto file describing media file errors. -/// Container for enum describing possible media file errors. +/// Container for enum describing possible media file errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileErrorEnum { } /// Nested message and enum types in `MediaFileErrorEnum`. pub mod media_file_error_enum { - /// Enum describing possible media file errors. + /// Enum describing possible media file errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaFileError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot create a standard icon type. + /// Cannot create a standard icon type. CannotCreateStandardIcon = 2, - /// May only select Standard Icons alone. + /// May only select Standard Icons alone. CannotSelectStandardIconWithOtherTypes = 3, - /// Image contains both a media file ID and data. + /// Image contains both a media file ID and data. CannotSpecifyMediaFileIdAndData = 4, - /// A media file with given type and reference ID already exists. + /// A media file with given type and reference ID already exists. DuplicateMedia = 5, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 6, - /// A media file may only be modified once per call. + /// A media file may only be modified once per call. ResourceReferencedInMultipleOps = 7, - /// Field is not supported for the media sub type. + /// Field is not supported for the media sub type. FieldNotSupportedForMediaSubType = 8, - /// The media file ID is invalid. + /// The media file ID is invalid. InvalidMediaFileId = 9, - /// The media subtype is invalid. + /// The media subtype is invalid. InvalidMediaSubType = 10, - /// The media file type is invalid. + /// The media file type is invalid. InvalidMediaFileType = 11, - /// The mimetype is invalid. + /// The mimetype is invalid. InvalidMimeType = 12, - /// The media reference ID is invalid. + /// The media reference ID is invalid. InvalidReferenceId = 13, - /// The YouTube video ID is invalid. + /// The YouTube video ID is invalid. InvalidYouTubeId = 14, - /// Media file has failed transcoding + /// Media file has failed transcoding MediaFileFailedTranscoding = 15, - /// Media file has not been transcoded. + /// Media file has not been transcoded. MediaNotTranscoded = 16, - /// The media type does not match the actual media file's type. + /// The media type does not match the actual media file's type. MediaTypeDoesNotMatchMediaFileType = 17, - /// None of the fields have been specified. + /// None of the fields have been specified. NoFieldsSpecified = 18, - /// One of reference ID or media file ID must be specified. + /// One of reference ID or media file ID must be specified. NullReferenceIdAndMediaId = 19, - /// The string has too many characters. + /// The string has too many characters. TooLong = 20, - /// The specified type is not supported. + /// The specified type is not supported. UnsupportedType = 21, - /// YouTube is unavailable for requesting video data. + /// YouTube is unavailable for requesting video data. YouTubeServiceUnavailable = 22, - /// The YouTube video has a non positive duration. + /// The YouTube video has a non positive duration. YouTubeVideoHasNonPositiveDuration = 23, - /// The YouTube video ID is syntactically valid but the video was not found. + /// The YouTube video ID is syntactically valid but the video was not found. YouTubeVideoNotFound = 24, } impl MediaFileError { @@ -7689,95 +7689,95 @@ pub mod media_file_error_enum { } } } -// Proto file describing media uploading errors. +// Proto file describing media uploading errors. -/// Container for enum describing possible media uploading errors. +/// Container for enum describing possible media uploading errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaUploadErrorEnum { } /// Nested message and enum types in `MediaUploadErrorEnum`. pub mod media_upload_error_enum { - /// Enum describing possible media uploading errors. + /// Enum describing possible media uploading errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The uploaded file is too big. + /// The uploaded file is too big. FileTooBig = 2, - /// Image data is unparseable. + /// Image data is unparseable. UnparseableImage = 3, - /// Animated images are not allowed. + /// Animated images are not allowed. AnimatedImageNotAllowed = 4, - /// The image or media bundle format is not allowed. + /// The image or media bundle format is not allowed. FormatNotAllowed = 5, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 6, - /// HTML5 ad is trying to reference an asset not in .ZIP file. + /// HTML5 ad is trying to reference an asset not in .ZIP file. InvalidUrlReference = 7, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 8, - /// Animation has disallowed visual effects. + /// Animation has disallowed visual effects. AnimatedVisualEffect = 9, - /// Animation longer than the allowed 30 second limit. + /// Animation longer than the allowed 30 second limit. AnimationTooLong = 10, - /// The aspect ratio of the image does not match the expected aspect ratios - /// provided in the asset spec. + /// The aspect ratio of the image does not match the expected aspect ratios + /// provided in the asset spec. AspectRatioNotAllowed = 11, - /// Audio files are not allowed in bundle. + /// Audio files are not allowed in bundle. AudioNotAllowedInMediaBundle = 12, - /// CMYK jpegs are not supported. + /// CMYK jpegs are not supported. CmykJpegNotAllowed = 13, - /// Flash movies are not allowed. + /// Flash movies are not allowed. FlashNotAllowed = 14, - /// The frame rate of the video is higher than the allowed 5fps. + /// The frame rate of the video is higher than the allowed 5fps. FrameRateTooHigh = 15, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 16, - /// Image constraints are violated, but more details (like - /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - /// This happens when asset spec contains more than one constraint and - /// criteria of different constraints are violated. + /// Image constraints are violated, but more details (like + /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. + /// This happens when asset spec contains more than one constraint and + /// criteria of different constraints are violated. ImageConstraintsViolated = 17, - /// Media bundle data is unrecognizable. + /// Media bundle data is unrecognizable. InvalidMediaBundle = 18, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 19, - /// The asset has an invalid mime type. + /// The asset has an invalid mime type. InvalidMimeType = 20, - /// The media bundle contains an invalid asset path. + /// The media bundle contains an invalid asset path. InvalidPath = 21, - /// Image has layout problem. + /// Image has layout problem. LayoutProblem = 22, - /// An asset had a URL reference that is malformed per RFC 1738 convention. + /// An asset had a URL reference that is malformed per RFC 1738 convention. MalformedUrl = 23, - /// The uploaded media bundle format is not allowed. + /// The uploaded media bundle format is not allowed. MediaBundleNotAllowed = 24, - /// The media bundle is not compatible with the asset spec product type. - /// (E.g. Gmail, dynamic remarketing, etc.) + /// The media bundle is not compatible with the asset spec product type. + /// (E.g. Gmail, dynamic remarketing, etc.) MediaBundleNotCompatibleToProductType = 25, - /// A bundle being uploaded that is incompatible with multiple assets for - /// different reasons. + /// A bundle being uploaded that is incompatible with multiple assets for + /// different reasons. MediaBundleRejectedByMultipleAssetSpecs = 26, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFilesInMediaBundle = 27, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 28, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 29, - /// URL in HTML5 entry is not SSL compliant. + /// URL in HTML5 entry is not SSL compliant. UrlInMediaBundleNotSslCompliant = 30, - /// Video file name is longer than the 50 allowed characters. + /// Video file name is longer than the 50 allowed characters. VideoFileNameTooLong = 31, - /// Multiple videos with same name in a bundle. + /// Multiple videos with same name in a bundle. VideoMultipleFilesWithSameName = 32, - /// Videos are not allowed in media bundle. + /// Videos are not allowed in media bundle. VideoNotAllowedInMediaBundle = 33, - /// This type of media cannot be uploaded through the Google Ads API. + /// This type of media cannot be uploaded through the Google Ads API. CannotUploadMediaTypeThroughApi = 34, - /// The dimensions of the image are not allowed. + /// The dimensions of the image are not allowed. DimensionsNotAllowed = 35, } impl MediaUploadError { @@ -7827,25 +7827,25 @@ pub mod media_upload_error_enum { } } } -// Proto file describing merchant center errors. +// Proto file describing merchant center errors. -/// Container for enum describing possible merchant center errors. +/// Container for enum describing possible merchant center errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterErrorEnum { } /// Nested message and enum types in `MerchantCenterErrorEnum`. pub mod merchant_center_error_enum { - /// Enum describing Merchant Center errors. + /// Enum describing Merchant Center errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Merchant ID is either not found or not linked to the Google Ads customer. + /// Merchant ID is either not found or not linked to the Google Ads customer. MerchantIdCannotBeAccessed = 2, - /// Customer not allowlisted for Shopping in Performance Max Campaign. + /// Customer not allowlisted for Shopping in Performance Max Campaign. CustomerNotAllowedForShoppingPerformanceMax = 3, } impl MerchantCenterError { @@ -7863,46 +7863,46 @@ pub mod merchant_center_error_enum { } } } -// Proto file describing multiplier errors. +// Proto file describing multiplier errors. -/// Container for enum describing possible multiplier errors. +/// Container for enum describing possible multiplier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MultiplierErrorEnum { } /// Nested message and enum types in `MultiplierErrorEnum`. pub mod multiplier_error_enum { - /// Enum describing possible multiplier errors. + /// Enum describing possible multiplier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MultiplierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiplier value is too high + /// Multiplier value is too high MultiplierTooHigh = 2, - /// Multiplier value is too low + /// Multiplier value is too low MultiplierTooLow = 3, - /// Too many fractional digits + /// Too many fractional digits TooManyFractionalDigits = 4, - /// A multiplier cannot be set for this bidding strategy + /// A multiplier cannot be set for this bidding strategy MultiplierNotAllowedForBiddingStrategy = 5, - /// A multiplier cannot be set when there is no base bid (e.g., content max - /// cpc) + /// A multiplier cannot be set when there is no base bid (e.g., content max + /// cpc) MultiplierNotAllowedWhenBaseBidIsMissing = 6, - /// A bid multiplier must be specified + /// A bid multiplier must be specified NoMultiplierSpecified = 7, - /// Multiplier causes bid to exceed daily budget + /// Multiplier causes bid to exceed daily budget MultiplierCausesBidToExceedDailyBudget = 8, - /// Multiplier causes bid to exceed monthly budget + /// Multiplier causes bid to exceed monthly budget MultiplierCausesBidToExceedMonthlyBudget = 9, - /// Multiplier causes bid to exceed custom budget + /// Multiplier causes bid to exceed custom budget MultiplierCausesBidToExceedCustomBudget = 10, - /// Multiplier causes bid to exceed maximum allowed bid + /// Multiplier causes bid to exceed maximum allowed bid MultiplierCausesBidToExceedMaxAllowedBid = 11, - /// Multiplier causes bid to become less than the minimum bid allowed + /// Multiplier causes bid to become less than the minimum bid allowed BidLessThanMinAllowedBidWithMultiplier = 12, - /// Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy + /// Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy MultiplierAndBiddingStrategyTypeMismatch = 13, } impl MultiplierError { @@ -7930,40 +7930,40 @@ pub mod multiplier_error_enum { } } } -// Proto file describing mutate errors. +// Proto file describing mutate errors. -/// Container for enum describing possible mutate errors. +/// Container for enum describing possible mutate errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateErrorEnum { } /// Nested message and enum types in `MutateErrorEnum`. pub mod mutate_error_enum { - /// Enum describing possible mutate errors. + /// Enum describing possible mutate errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MutateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Requested resource was not found. + /// Requested resource was not found. ResourceNotFound = 3, - /// Cannot mutate the same resource twice in one request. + /// Cannot mutate the same resource twice in one request. IdExistsInMultipleMutates = 7, - /// The field's contents don't match another field that represents the same - /// data. + /// The field's contents don't match another field that represents the same + /// data. InconsistentFieldValues = 8, - /// Mutates are not allowed for the requested resource. + /// Mutates are not allowed for the requested resource. MutateNotAllowed = 9, - /// The resource isn't in Google Ads. It belongs to another ads system. + /// The resource isn't in Google Ads. It belongs to another ads system. ResourceNotInGoogleAds = 10, - /// The resource being created already exists. + /// The resource being created already exists. ResourceAlreadyExists = 11, - /// This resource cannot be used with "validate_only". + /// This resource cannot be used with "validate_only". ResourceDoesNotSupportValidateOnly = 12, - /// This operation cannot be used with "partial_failure". + /// This operation cannot be used with "partial_failure". OperationDoesNotSupportPartialFailure = 16, - /// Attempt to write to read-only fields. + /// Attempt to write to read-only fields. ResourceReadOnly = 13, } impl MutateError { @@ -7988,28 +7988,28 @@ pub mod mutate_error_enum { } } } -// Proto file describing new resource creation errors. +// Proto file describing new resource creation errors. -/// Container for enum describing possible new resource creation errors. +/// Container for enum describing possible new resource creation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NewResourceCreationErrorEnum { } /// Nested message and enum types in `NewResourceCreationErrorEnum`. pub mod new_resource_creation_error_enum { - /// Enum describing possible new resource creation errors. + /// Enum describing possible new resource creation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NewResourceCreationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Do not set the id field while creating new resources. + /// Do not set the id field while creating new resources. CannotSetIdForCreate = 2, - /// Creating more than one resource with the same temp ID is not allowed. + /// Creating more than one resource with the same temp ID is not allowed. DuplicateTempIds = 3, - /// Parent resource with specified temp ID failed validation, so no - /// validation will be done for this child resource. + /// Parent resource with specified temp ID failed validation, so no + /// validation will be done for this child resource. TempIdResourceHadErrors = 4, } impl NewResourceCreationError { @@ -8028,23 +8028,23 @@ pub mod new_resource_creation_error_enum { } } } -// Proto file describing not allowlisted errors. +// Proto file describing not allowlisted errors. -/// Container for enum describing possible not allowlisted errors. +/// Container for enum describing possible not allowlisted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotAllowlistedErrorEnum { } /// Nested message and enum types in `NotAllowlistedErrorEnum`. pub mod not_allowlisted_error_enum { - /// Enum describing possible not allowlisted errors. + /// Enum describing possible not allowlisted errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotAllowlistedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowlisted for accessing this feature. + /// Customer is not allowlisted for accessing this feature. CustomerNotAllowlistedForThisFeature = 2, } impl NotAllowlistedError { @@ -8061,23 +8061,23 @@ pub mod not_allowlisted_error_enum { } } } -// Proto file describing not empty errors. +// Proto file describing not empty errors. -/// Container for enum describing possible not empty errors. +/// Container for enum describing possible not empty errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotEmptyErrorEnum { } /// Nested message and enum types in `NotEmptyErrorEnum`. pub mod not_empty_error_enum { - /// Enum describing possible not empty errors. + /// Enum describing possible not empty errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotEmptyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Empty list. + /// Empty list. EmptyList = 2, } impl NotEmptyError { @@ -8094,23 +8094,23 @@ pub mod not_empty_error_enum { } } } -// Proto file describing null errors. +// Proto file describing null errors. -/// Container for enum describing possible null errors. +/// Container for enum describing possible null errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NullErrorEnum { } /// Nested message and enum types in `NullErrorEnum`. pub mod null_error_enum { - /// Enum describing possible null errors. + /// Enum describing possible null errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NullError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Specified list/container must not contain any null elements + /// Specified list/container must not contain any null elements NullContent = 2, } impl NullError { @@ -8127,104 +8127,104 @@ pub mod null_error_enum { } } } -// Proto file describing offline user data job errors. +// Proto file describing offline user data job errors. -/// Container for enum describing possible offline user data job errors. +/// Container for enum describing possible offline user data job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobErrorEnum { } /// Nested message and enum types in `OfflineUserDataJobErrorEnum`. pub mod offline_user_data_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The user list ID provided for the job is invalid. + /// The user list ID provided for the job is invalid. InvalidUserListId = 3, - /// Type of the user list is not applicable for the job. + /// Type of the user list is not applicable for the job. InvalidUserListType = 4, - /// Customer is not allowisted for using user ID in upload data. + /// Customer is not allowisted for using user ID in upload data. NotOnAllowlistForUserId = 33, - /// Upload data is not compatible with the upload key type of the associated - /// user list. + /// Upload data is not compatible with the upload key type of the associated + /// user list. IncompatibleUploadKeyType = 6, - /// The user identifier is missing valid data. + /// The user identifier is missing valid data. MissingUserIdentifier = 7, - /// The mobile ID is malformed. + /// The mobile ID is malformed. InvalidMobileIdFormat = 8, - /// Maximum number of user identifiers allowed per request is 100,000 and per - /// operation is 20. + /// Maximum number of user identifiers allowed per request is 100,000 and per + /// operation is 20. TooManyUserIdentifiers = 9, - /// Customer is not on the allow-list for store sales direct data. + /// Customer is not on the allow-list for store sales direct data. NotOnAllowlistForStoreSalesDirect = 31, - /// Customer is not on the allow-list for unified store sales data. + /// Customer is not on the allow-list for unified store sales data. NotOnAllowlistForUnifiedStoreSales = 32, - /// The partner ID in store sales direct metadata is invalid. + /// The partner ID in store sales direct metadata is invalid. InvalidPartnerId = 11, - /// The data in user identifier should not be encoded. + /// The data in user identifier should not be encoded. InvalidEncoding = 12, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 13, - /// Incompatible user identifier when using third_party_user_id for store - /// sales direct first party data or not using third_party_user_id for store - /// sales third party data. + /// Incompatible user identifier when using third_party_user_id for store + /// sales direct first party data or not using third_party_user_id for store + /// sales third party data. IncompatibleUserIdentifier = 14, - /// A transaction time in the future is not allowed. + /// A transaction time in the future is not allowed. FutureTransactionTime = 15, - /// The conversion_action specified in transaction_attributes is used to - /// report conversions to a conversion action configured in Google Ads. This - /// error indicates there is no such conversion action in the account. + /// The conversion_action specified in transaction_attributes is used to + /// report conversions to a conversion action configured in Google Ads. This + /// error indicates there is no such conversion action in the account. InvalidConversionAction = 16, - /// Mobile ID is not supported for store sales direct data. + /// Mobile ID is not supported for store sales direct data. MobileIdNotSupported = 17, - /// When a remove-all operation is provided, it has to be the first operation - /// of the operation list. + /// When a remove-all operation is provided, it has to be the first operation + /// of the operation list. InvalidOperationOrder = 18, - /// Mixing creation and removal of offline data in the same job is not - /// allowed. + /// Mixing creation and removal of offline data in the same job is not + /// allowed. ConflictingOperation = 19, - /// The external update ID already exists. + /// The external update ID already exists. ExternalUpdateIdAlreadyExists = 21, - /// Once the upload job is started, new operations cannot be added. + /// Once the upload job is started, new operations cannot be added. JobAlreadyStarted = 22, - /// Remove operation is not allowed for store sales direct updates. + /// Remove operation is not allowed for store sales direct updates. RemoveNotSupported = 23, - /// Remove-all is not supported for certain offline user data job types. + /// Remove-all is not supported for certain offline user data job types. RemoveAllNotSupported = 24, - /// The SHA256 encoded value is malformed. + /// The SHA256 encoded value is malformed. InvalidSha256Format = 25, - /// The custom key specified is not enabled for the unified store sales - /// upload. + /// The custom key specified is not enabled for the unified store sales + /// upload. CustomKeyDisabled = 26, - /// The custom key specified is not predefined through the Google Ads UI. + /// The custom key specified is not predefined through the Google Ads UI. CustomKeyNotPredefined = 27, - /// The custom key specified is not set in the upload. + /// The custom key specified is not set in the upload. CustomKeyNotSet = 29, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 30, - /// User attributes cannot be uploaded into a user list. + /// User attributes cannot be uploaded into a user list. AttributesNotApplicableForCustomerMatchUserList = 34, - /// Lifetime value bucket must be a number from 1-10, except for remove - /// operation where 0 will be accepted. + /// Lifetime value bucket must be a number from 1-10, except for remove + /// operation where 0 will be accepted. LifetimeValueBucketNotInRange = 35, - /// Identifiers not supported for Customer Match attributes. User attributes - /// can only be provided with contact info (email, phone, address) user - /// identifiers. + /// Identifiers not supported for Customer Match attributes. User attributes + /// can only be provided with contact info (email, phone, address) user + /// identifiers. IncompatibleUserIdentifierForAttributes = 36, - /// A time in the future is not allowed. + /// A time in the future is not allowed. FutureTimeNotAllowed = 37, - /// Last purchase date time cannot be less than acquisition date time. + /// Last purchase date time cannot be less than acquisition date time. LastPurchaseTimeLessThanAcquisitionTime = 38, - /// Only emails are accepted as user identifiers for shopping loyalty match. - /// {-- api.dev/not-precedent: The identifier is not limited to ids, but - /// also include other user info eg. phone numbers.} + /// Only emails are accepted as user identifiers for shopping loyalty match. + /// {-- api.dev/not-precedent: The identifier is not limited to ids, but + /// also include other user info eg. phone numbers.} CustomerIdentifierNotAllowed = 39, - /// Provided item ID is invalid. + /// Provided item ID is invalid. InvalidItemId = 40, } impl OfflineUserDataJobError { @@ -8274,41 +8274,41 @@ pub mod offline_user_data_job_error_enum { } } } -// Proto file describing operation access denied errors. +// Proto file describing operation access denied errors. -/// Container for enum describing possible operation access denied errors. +/// Container for enum describing possible operation access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationAccessDeniedErrorEnum { } /// Nested message and enum types in `OperationAccessDeniedErrorEnum`. pub mod operation_access_denied_error_enum { - /// Enum describing possible operation access denied errors. + /// Enum describing possible operation access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unauthorized invocation of a service's method (get, mutate, etc.) + /// Unauthorized invocation of a service's method (get, mutate, etc.) ActionNotPermitted = 2, - /// Unauthorized CREATE operation in invoking a service's mutate method. + /// Unauthorized CREATE operation in invoking a service's mutate method. CreateOperationNotPermitted = 3, - /// Unauthorized REMOVE operation in invoking a service's mutate method. + /// Unauthorized REMOVE operation in invoking a service's mutate method. RemoveOperationNotPermitted = 4, - /// Unauthorized UPDATE operation in invoking a service's mutate method. + /// Unauthorized UPDATE operation in invoking a service's mutate method. UpdateOperationNotPermitted = 5, - /// A mutate action is not allowed on this resource, from this client. + /// A mutate action is not allowed on this resource, from this client. MutateActionNotPermittedForClient = 6, - /// This operation is not permitted on this campaign type + /// This operation is not permitted on this campaign type OperationNotPermittedForCampaignType = 7, - /// A CREATE operation may not set status to REMOVED. + /// A CREATE operation may not set status to REMOVED. CreateAsRemovedNotPermitted = 8, - /// This operation is not allowed because the resource is removed. + /// This operation is not allowed because the resource is removed. OperationNotPermittedForRemovedResource = 9, - /// This operation is not permitted on this ad group type. + /// This operation is not permitted on this ad group type. OperationNotPermittedForAdGroupType = 10, - /// The mutate is not allowed for this customer. + /// The mutate is not allowed for this customer. MutateNotPermittedForCustomer = 11, } impl OperationAccessDeniedError { @@ -8334,23 +8334,23 @@ pub mod operation_access_denied_error_enum { } } } -// Proto file describing operator errors. +// Proto file describing operator errors. -/// Container for enum describing possible operator errors. +/// Container for enum describing possible operator errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatorErrorEnum { } /// Nested message and enum types in `OperatorErrorEnum`. pub mod operator_error_enum { - /// Enum describing possible operator errors. + /// Enum describing possible operator errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatorError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Operator not supported. + /// Operator not supported. OperatorNotSupported = 2, } impl OperatorError { @@ -8367,24 +8367,24 @@ pub mod operator_error_enum { } } } -// Proto file describing partial failure errors. +// Proto file describing partial failure errors. -/// Container for enum describing possible partial failure errors. +/// Container for enum describing possible partial failure errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialFailureErrorEnum { } /// Nested message and enum types in `PartialFailureErrorEnum`. pub mod partial_failure_error_enum { - /// Enum describing possible partial failure errors. + /// Enum describing possible partial failure errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartialFailureError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The partial failure field was false in the request. - /// This method requires this field be set to true. + /// The partial failure field was false in the request. + /// This method requires this field be set to true. PartialFailureModeRequired = 2, } impl PartialFailureError { @@ -8401,23 +8401,23 @@ pub mod partial_failure_error_enum { } } } -// Proto file describing payments account service errors. +// Proto file describing payments account service errors. -/// Container for enum describing possible errors in payments account service. +/// Container for enum describing possible errors in payments account service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountErrorEnum { } /// Nested message and enum types in `PaymentsAccountErrorEnum`. pub mod payments_account_error_enum { - /// Enum describing possible errors in payments account service. + /// Enum describing possible errors in payments account service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentsAccountError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Manager customers are not supported for payments account service. + /// Manager customers are not supported for payments account service. NotSupportedForManagerCustomer = 2, } impl PaymentsAccountError { @@ -8434,26 +8434,26 @@ pub mod payments_account_error_enum { } } } -// Proto file describing policy finding errors. +// Proto file describing policy finding errors. -/// Container for enum describing possible policy finding errors. +/// Container for enum describing possible policy finding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingErrorEnum { } /// Nested message and enum types in `PolicyFindingErrorEnum`. pub mod policy_finding_error_enum { - /// Enum describing possible policy finding errors. + /// Enum describing possible policy finding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyFindingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The resource has been disapproved since the policy summary includes - /// policy topics of type PROHIBITED. + /// The resource has been disapproved since the policy summary includes + /// policy topics of type PROHIBITED. PolicyFinding = 2, - /// The given policy topic does not exist. + /// The given policy topic does not exist. PolicyTopicNotFound = 3, } impl PolicyFindingError { @@ -8471,28 +8471,28 @@ pub mod policy_finding_error_enum { } } } -// Proto file describing policy validation parameter errors. +// Proto file describing policy validation parameter errors. -/// Container for enum describing possible policy validation parameter errors. +/// Container for enum describing possible policy validation parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameterErrorEnum { } /// Nested message and enum types in `PolicyValidationParameterErrorEnum`. pub mod policy_validation_parameter_error_enum { - /// Enum describing possible policy validation parameter errors. + /// Enum describing possible policy validation parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyValidationParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ignorable policy topics are not supported for the ad type. + /// Ignorable policy topics are not supported for the ad type. UnsupportedAdTypeForIgnorablePolicyTopics = 2, - /// Exempt policy violation keys are not supported for the ad type. + /// Exempt policy violation keys are not supported for the ad type. UnsupportedAdTypeForExemptPolicyViolationKeys = 3, - /// Cannot set ignorable policy topics and exempt policy violation keys in - /// the same policy violation parameter. + /// Cannot set ignorable policy topics and exempt policy violation keys in + /// the same policy violation parameter. CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys = 4, } impl PolicyValidationParameterError { @@ -8511,23 +8511,23 @@ pub mod policy_validation_parameter_error_enum { } } } -// Proto file describing policy violation errors. +// Proto file describing policy violation errors. -/// Container for enum describing possible policy violation errors. +/// Container for enum describing possible policy violation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationErrorEnum { } /// Nested message and enum types in `PolicyViolationErrorEnum`. pub mod policy_violation_error_enum { - /// Enum describing possible policy violation errors. + /// Enum describing possible policy violation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyViolationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A policy was violated. See PolicyViolationDetails for more detail. + /// A policy was violated. See PolicyViolationDetails for more detail. PolicyError = 2, } impl PolicyViolationError { @@ -8544,149 +8544,149 @@ pub mod policy_violation_error_enum { } } } -// Proto file describing query errors. +// Proto file describing query errors. -/// Container for enum describing possible query errors. +/// Container for enum describing possible query errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryErrorEnum { } /// Nested message and enum types in `QueryErrorEnum`. pub mod query_error_enum { - /// Enum describing possible query errors. + /// Enum describing possible query errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QueryError { - /// Name unspecified. + /// Name unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Returned if all other query error reasons are not applicable. + /// Returned if all other query error reasons are not applicable. QueryError = 50, - /// A condition used in the query references an invalid enum constant. + /// A condition used in the query references an invalid enum constant. BadEnumConstant = 18, - /// Query contains an invalid escape sequence. + /// Query contains an invalid escape sequence. BadEscapeSequence = 7, - /// Field name is invalid. + /// Field name is invalid. BadFieldName = 12, - /// Limit value is invalid (i.e. not a number) + /// Limit value is invalid (i.e. not a number) BadLimitValue = 15, - /// Encountered number can not be parsed. + /// Encountered number can not be parsed. BadNumber = 5, - /// Invalid operator encountered. + /// Invalid operator encountered. BadOperator = 3, - /// Parameter unknown or not supported. + /// Parameter unknown or not supported. BadParameterName = 61, - /// Parameter have invalid value. + /// Parameter have invalid value. BadParameterValue = 62, - /// Invalid resource type was specified in the FROM clause. + /// Invalid resource type was specified in the FROM clause. BadResourceTypeInFromClause = 45, - /// Non-ASCII symbol encountered outside of strings. + /// Non-ASCII symbol encountered outside of strings. BadSymbol = 2, - /// Value is invalid. + /// Value is invalid. BadValue = 4, - /// Date filters fail to restrict date to a range smaller than 31 days. - /// Applicable if the query is segmented by date. + /// Date filters fail to restrict date to a range smaller than 31 days. + /// Applicable if the query is segmented by date. DateRangeTooWide = 36, - /// Filters on date/week/month/quarter have a start date after - /// end date. + /// Filters on date/week/month/quarter have a start date after + /// end date. DateRangeTooNarrow = 60, - /// Expected AND between values with BETWEEN operator. + /// Expected AND between values with BETWEEN operator. ExpectedAnd = 30, - /// Expecting ORDER BY to have BY. + /// Expecting ORDER BY to have BY. ExpectedBy = 14, - /// There was no dimension field selected. + /// There was no dimension field selected. ExpectedDimensionFieldInSelectClause = 37, - /// Missing filters on date related fields. + /// Missing filters on date related fields. ExpectedFiltersOnDateRange = 55, - /// Missing FROM clause. + /// Missing FROM clause. ExpectedFrom = 44, - /// The operator used in the conditions requires the value to be a list. + /// The operator used in the conditions requires the value to be a list. ExpectedList = 41, - /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT - /// clause. + /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT + /// clause. ExpectedReferencedFieldInSelectClause = 16, - /// SELECT is missing at the beginning of query. + /// SELECT is missing at the beginning of query. ExpectedSelect = 13, - /// A list was passed as a value to a condition whose operator expects a - /// single value. + /// A list was passed as a value to a condition whose operator expects a + /// single value. ExpectedSingleValue = 42, - /// Missing one or both values with BETWEEN operator. + /// Missing one or both values with BETWEEN operator. ExpectedValueWithBetweenOperator = 29, - /// Invalid date format. Expected 'YYYY-MM-DD'. + /// Invalid date format. Expected 'YYYY-MM-DD'. InvalidDateFormat = 38, - /// Misaligned date value for the filter. The date should be the start of a - /// week/month/quarter if the filtered field is - /// segments.week/segments.month/segments.quarter. + /// Misaligned date value for the filter. The date should be the start of a + /// week/month/quarter if the filtered field is + /// segments.week/segments.month/segments.quarter. MisalignedDateForFilter = 64, - /// Value passed was not a string when it should have been. I.e., it was a - /// number or unquoted literal. + /// Value passed was not a string when it should have been. I.e., it was a + /// number or unquoted literal. InvalidStringValue = 57, - /// A String value passed to the BETWEEN operator does not parse as a date. + /// A String value passed to the BETWEEN operator does not parse as a date. InvalidValueWithBetweenOperator = 26, - /// The value passed to the DURING operator is not a Date range literal + /// The value passed to the DURING operator is not a Date range literal InvalidValueWithDuringOperator = 22, - /// An invalid value was passed to the LIKE operator. + /// An invalid value was passed to the LIKE operator. InvalidValueWithLikeOperator = 56, - /// An operator was provided that is inapplicable to the field being - /// filtered. + /// An operator was provided that is inapplicable to the field being + /// filtered. OperatorFieldMismatch = 35, - /// A Condition was found with an empty list. + /// A Condition was found with an empty list. ProhibitedEmptyListInCondition = 28, - /// A condition used in the query references an unsupported enum constant. + /// A condition used in the query references an unsupported enum constant. ProhibitedEnumConstant = 54, - /// Fields that are not allowed to be selected together were included in - /// the SELECT clause. + /// Fields that are not allowed to be selected together were included in + /// the SELECT clause. ProhibitedFieldCombinationInSelectClause = 31, - /// A field that is not orderable was included in the ORDER BY clause. + /// A field that is not orderable was included in the ORDER BY clause. ProhibitedFieldInOrderByClause = 40, - /// A field that is not selectable was included in the SELECT clause. + /// A field that is not selectable was included in the SELECT clause. ProhibitedFieldInSelectClause = 23, - /// A field that is not filterable was included in the WHERE clause. + /// A field that is not filterable was included in the WHERE clause. ProhibitedFieldInWhereClause = 24, - /// Resource type specified in the FROM clause is not supported by this - /// service. + /// Resource type specified in the FROM clause is not supported by this + /// service. ProhibitedResourceTypeInFromClause = 43, - /// A field that comes from an incompatible resource was included in the - /// SELECT clause. + /// A field that comes from an incompatible resource was included in the + /// SELECT clause. ProhibitedResourceTypeInSelectClause = 48, - /// A field that comes from an incompatible resource was included in the - /// WHERE clause. + /// A field that comes from an incompatible resource was included in the + /// WHERE clause. ProhibitedResourceTypeInWhereClause = 58, - /// A metric incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A metric incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedMetricInSelectOrWhereClause = 49, - /// A segment incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A segment incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedSegmentInSelectOrWhereClause = 51, - /// A segment in the SELECT clause is incompatible with a metric in the - /// SELECT or WHERE clause. + /// A segment in the SELECT clause is incompatible with a metric in the + /// SELECT or WHERE clause. ProhibitedSegmentWithMetricInSelectOrWhereClause = 53, - /// The value passed to the limit clause is too low. + /// The value passed to the limit clause is too low. LimitValueTooLow = 25, - /// Query has a string containing a newline character. + /// Query has a string containing a newline character. ProhibitedNewlineInString = 8, - /// List contains values of different types. + /// List contains values of different types. ProhibitedValueCombinationInList = 10, - /// The values passed to the BETWEEN operator are not of the same type. + /// The values passed to the BETWEEN operator are not of the same type. ProhibitedValueCombinationWithBetweenOperator = 21, - /// Query contains unterminated string. + /// Query contains unterminated string. StringNotTerminated = 6, - /// Too many segments are specified in SELECT clause. + /// Too many segments are specified in SELECT clause. TooManySegments = 34, - /// Query is incomplete and cannot be parsed. + /// Query is incomplete and cannot be parsed. UnexpectedEndOfQuery = 9, - /// FROM clause cannot be specified in this query. + /// FROM clause cannot be specified in this query. UnexpectedFromClause = 47, - /// Query contains one or more unrecognized fields. + /// Query contains one or more unrecognized fields. UnrecognizedField = 32, - /// Query has an unexpected extra part. + /// Query has an unexpected extra part. UnexpectedInput = 11, - /// Metrics cannot be requested for a manager account. To retrieve metrics, - /// issue separate requests against each client account under the manager - /// account. + /// Metrics cannot be requested for a manager account. To retrieve metrics, + /// issue separate requests against each client account under the manager + /// account. RequestedMetricsForManager = 59, - /// The number of values (right-hand-side operands) in a filter exceeds the - /// limit. + /// The number of values (right-hand-side operands) in a filter exceeds the + /// limit. FilterHasTooManyValues = 63, } impl QueryError { @@ -8757,27 +8757,27 @@ pub mod query_error_enum { } } } -// Proto file describing quota errors. +// Proto file describing quota errors. -/// Container for enum describing possible quota errors. +/// Container for enum describing possible quota errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorEnum { } /// Nested message and enum types in `QuotaErrorEnum`. pub mod quota_error_enum { - /// Enum describing possible quota errors. + /// Enum describing possible quota errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too many requests. + /// Too many requests. ResourceExhausted = 2, - /// Access is prohibited. + /// Access is prohibited. AccessProhibited = 3, - /// Too many requests in a short amount of time. + /// Too many requests in a short amount of time. ResourceTemporarilyExhausted = 4, } impl QuotaError { @@ -8796,25 +8796,25 @@ pub mod quota_error_enum { } } } -// Proto file describing range errors. +// Proto file describing range errors. -/// Container for enum describing possible range errors. +/// Container for enum describing possible range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RangeErrorEnum { } /// Nested message and enum types in `RangeErrorEnum`. pub mod range_error_enum { - /// Enum describing possible range errors. + /// Enum describing possible range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too low. + /// Too low. TooLow = 2, - /// Too high. + /// Too high. TooHigh = 3, } impl RangeError { @@ -8832,24 +8832,24 @@ pub mod range_error_enum { } } } -// Proto file describing errors generated from ReachPlanService. +// Proto file describing errors generated from ReachPlanService. -/// Container for enum describing possible errors returned from -/// the ReachPlanService. +/// Container for enum describing possible errors returned from +/// the ReachPlanService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanErrorEnum { } /// Nested message and enum types in `ReachPlanErrorEnum`. pub mod reach_plan_error_enum { - /// Enum describing possible errors from ReachPlanService. + /// Enum describing possible errors from ReachPlanService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Not forecastable due to missing rate card data. + /// Not forecastable due to missing rate card data. NotForecastableMissingRate = 2, } impl ReachPlanError { @@ -8866,53 +8866,53 @@ pub mod reach_plan_error_enum { } } } -// Proto file describing errors from applying a recommendation. +// Proto file describing errors from applying a recommendation. -/// Container for enum describing possible errors from applying a recommendation. +/// Container for enum describing possible errors from applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationErrorEnum { } /// Nested message and enum types in `RecommendationErrorEnum`. pub mod recommendation_error_enum { - /// Enum describing possible errors from applying a recommendation. + /// Enum describing possible errors from applying a recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified budget amount is too low e.g. lower than minimum currency - /// unit or lower than ad group minimum cost-per-click. + /// The specified budget amount is too low e.g. lower than minimum currency + /// unit or lower than ad group minimum cost-per-click. BudgetAmountTooSmall = 2, - /// The specified budget amount is too large. + /// The specified budget amount is too large. BudgetAmountTooLarge = 3, - /// The specified budget amount is not a valid amount. e.g. not a multiple - /// of minimum currency unit. + /// The specified budget amount is not a valid amount. e.g. not a multiple + /// of minimum currency unit. InvalidBudgetAmount = 4, - /// The specified keyword or ad violates ad policy. + /// The specified keyword or ad violates ad policy. PolicyError = 5, - /// The specified bid amount is not valid. e.g. too many fractional digits, - /// or negative amount. + /// The specified bid amount is not valid. e.g. too many fractional digits, + /// or negative amount. InvalidBidAmount = 6, - /// The number of keywords in ad group have reached the maximum allowed. + /// The number of keywords in ad group have reached the maximum allowed. AdgroupKeywordLimit = 7, - /// The recommendation requested to apply has already been applied. + /// The recommendation requested to apply has already been applied. RecommendationAlreadyApplied = 8, - /// The recommendation requested to apply has been invalidated. + /// The recommendation requested to apply has been invalidated. RecommendationInvalidated = 9, - /// The number of operations in a single request exceeds the maximum allowed. + /// The number of operations in a single request exceeds the maximum allowed. TooManyOperations = 10, - /// There are no operations in the request. + /// There are no operations in the request. NoOperations = 11, - /// Operations with multiple recommendation types are not supported when - /// partial failure mode is not enabled. + /// Operations with multiple recommendation types are not supported when + /// partial failure mode is not enabled. DifferentTypesNotSupported = 12, - /// Request contains multiple operations with the same resource_name. + /// Request contains multiple operations with the same resource_name. DuplicateResourceName = 13, - /// The recommendation requested to dismiss has already been dismissed. + /// The recommendation requested to dismiss has already been dismissed. RecommendationAlreadyDismissed = 14, - /// The recommendation apply request was malformed and invalid. + /// The recommendation apply request was malformed and invalid. InvalidApplyRequest = 15, } impl RecommendationError { @@ -8942,23 +8942,23 @@ pub mod recommendation_error_enum { } } } -// Proto file describing region code errors. +// Proto file describing region code errors. -/// Container for enum describing possible region code errors. +/// Container for enum describing possible region code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionCodeErrorEnum { } /// Nested message and enum types in `RegionCodeErrorEnum`. pub mod region_code_error_enum { - /// Enum describing possible region code errors. + /// Enum describing possible region code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RegionCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid region code. + /// Invalid region code. InvalidRegionCode = 2, } impl RegionCodeError { @@ -8975,73 +8975,73 @@ pub mod region_code_error_enum { } } } -// Proto file describing request errors. +// Proto file describing request errors. -/// Container for enum describing possible request errors. +/// Container for enum describing possible request errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestErrorEnum { } /// Nested message and enum types in `RequestErrorEnum`. pub mod request_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RequestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Resource name is required for this request. + /// Resource name is required for this request. ResourceNameMissing = 3, - /// Resource name provided is malformed. + /// Resource name provided is malformed. ResourceNameMalformed = 4, - /// Resource name provided is malformed. + /// Resource name provided is malformed. BadResourceId = 17, - /// Customer ID is invalid. + /// Customer ID is invalid. InvalidCustomerId = 16, - /// Mutate operation should have either create, update, or remove specified. + /// Mutate operation should have either create, update, or remove specified. OperationRequired = 5, - /// Requested resource not found. + /// Requested resource not found. ResourceNotFound = 6, - /// Next page token specified in user request is invalid. + /// Next page token specified in user request is invalid. InvalidPageToken = 7, - /// Next page token specified in user request has expired. + /// Next page token specified in user request has expired. ExpiredPageToken = 8, - /// Page size specified in user request is invalid. + /// Page size specified in user request is invalid. InvalidPageSize = 22, - /// Required field is missing. + /// Required field is missing. RequiredFieldMissing = 9, - /// The field cannot be modified because it's immutable. It's also possible - /// that the field can be modified using 'create' operation but not 'update'. + /// The field cannot be modified because it's immutable. It's also possible + /// that the field can be modified using 'create' operation but not 'update'. ImmutableField = 11, - /// Received too many entries in request. + /// Received too many entries in request. TooManyMutateOperations = 13, - /// Request cannot be executed by a manager account. + /// Request cannot be executed by a manager account. CannotBeExecutedByManagerAccount = 14, - /// Mutate request was attempting to modify a readonly field. - /// For instance, Budget fields can be requested for Ad Group, - /// but are read-only for adGroups:mutate. + /// Mutate request was attempting to modify a readonly field. + /// For instance, Budget fields can be requested for Ad Group, + /// but are read-only for adGroups:mutate. CannotModifyForeignField = 15, - /// Enum value is not permitted. + /// Enum value is not permitted. InvalidEnumValue = 18, - /// The developer-token parameter is required for all requests. + /// The developer-token parameter is required for all requests. DeveloperTokenParameterMissing = 19, - /// The login-customer-id parameter is required for this request. + /// The login-customer-id parameter is required for this request. LoginCustomerIdParameterMissing = 20, - /// page_token is set in the validate only request + /// page_token is set in the validate only request ValidateOnlyRequestHasPageToken = 21, - /// return_summary_row cannot be enabled if request did not select any - /// metrics field. + /// return_summary_row cannot be enabled if request did not select any + /// metrics field. CannotReturnSummaryRowForRequestWithoutMetrics = 29, - /// return_summary_row should not be enabled for validate only requests. + /// return_summary_row should not be enabled for validate only requests. CannotReturnSummaryRowForValidateOnlyRequests = 30, - /// return_summary_row parameter value should be the same between requests - /// with page_token field set and their original request. + /// return_summary_row parameter value should be the same between requests + /// with page_token field set and their original request. InconsistentReturnSummaryRowValue = 31, - /// The total results count cannot be returned if it was not requested in the - /// original request. + /// The total results count cannot be returned if it was not requested in the + /// original request. TotalResultsCountNotOriginallyRequested = 32, - /// Deadline specified by the client was too short. + /// Deadline specified by the client was too short. RpcDeadlineTooShort = 33, } impl RequestError { @@ -9080,23 +9080,23 @@ pub mod request_error_enum { } } } -// Proto file describing resource access denied errors. +// Proto file describing resource access denied errors. -/// Container for enum describing possible resource access denied errors. +/// Container for enum describing possible resource access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceAccessDeniedErrorEnum { } /// Nested message and enum types in `ResourceAccessDeniedErrorEnum`. pub mod resource_access_denied_error_enum { - /// Enum describing possible resource access denied errors. + /// Enum describing possible resource access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User did not have write access. + /// User did not have write access. WriteAccessDenied = 3, } impl ResourceAccessDeniedError { @@ -9113,61 +9113,61 @@ pub mod resource_access_denied_error_enum { } } } -// Proto file describing resource count limit exceeded errors. +// Proto file describing resource count limit exceeded errors. -/// Container for enum describing possible resource count limit exceeded errors. +/// Container for enum describing possible resource count limit exceeded errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountLimitExceededErrorEnum { } /// Nested message and enum types in `ResourceCountLimitExceededErrorEnum`. pub mod resource_count_limit_exceeded_error_enum { - /// Enum describing possible resource count limit exceeded errors. + /// Enum describing possible resource count limit exceeded errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceCountLimitExceededError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Indicates that this request would exceed the number of allowed resources - /// for the Google Ads account. The exact resource type and limit being - /// checked can be inferred from accountLimitType. + /// Indicates that this request would exceed the number of allowed resources + /// for the Google Ads account. The exact resource type and limit being + /// checked can be inferred from accountLimitType. AccountLimit = 2, - /// Indicates that this request would exceed the number of allowed resources - /// in a Campaign. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// Campaign involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in a Campaign. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// Campaign involved is given by enclosingId. CampaignLimit = 3, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// ad group involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// ad group involved is given by enclosingId. AdgroupLimit = 4, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group ad. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the enclosingId - /// contains the ad group id followed by the ad id, separated by a single - /// comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group ad. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the enclosingId + /// contains the ad group id followed by the ad id, separated by a single + /// comma (,). AdGroupAdLimit = 5, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group criterion. The exact resource type and limit being checked - /// can be inferred from accountLimitType, and the - /// enclosingId contains the ad group id followed by the - /// criterion id, separated by a single comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group criterion. The exact resource type and limit being checked + /// can be inferred from accountLimitType, and the + /// enclosingId contains the ad group id followed by the + /// criterion id, separated by a single comma (,). AdGroupCriterionLimit = 6, - /// Indicates that this request would exceed the number of allowed resources - /// in this shared set. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the numeric id of the - /// shared set involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in this shared set. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the numeric id of the + /// shared set involved is given by enclosingId. SharedSetLimit = 7, - /// Exceeds a limit related to a matching function. + /// Exceeds a limit related to a matching function. MatchingFunctionLimit = 8, - /// The response for this request would exceed the maximum number of rows - /// that can be returned. + /// The response for this request would exceed the maximum number of rows + /// that can be returned. ResponseRowLimitExceeded = 9, - /// This request would exceed a limit on the number of allowed resources. - /// The details of which type of limit was exceeded will eventually be - /// returned in ErrorDetails. + /// This request would exceed a limit on the number of allowed resources. + /// The details of which type of limit was exceeded will eventually be + /// returned in ErrorDetails. ResourceLimit = 10, } impl ResourceCountLimitExceededError { @@ -9192,51 +9192,51 @@ pub mod resource_count_limit_exceeded_error_enum { } } } -// Proto file describing setting errors. +// Proto file describing setting errors. -/// Container for enum describing possible setting errors. +/// Container for enum describing possible setting errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SettingErrorEnum { } /// Nested message and enum types in `SettingErrorEnum`. pub mod setting_error_enum { - /// Enum describing possible setting errors. + /// Enum describing possible setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign setting is not available for this Google Ads account. + /// The campaign setting is not available for this Google Ads account. SettingTypeIsNotAvailable = 3, - /// The setting is not compatible with the campaign. + /// The setting is not compatible with the campaign. SettingTypeIsNotCompatibleWithCampaign = 4, - /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - /// CriterionTypeGroup documentation for CriterionTypeGroups allowed - /// in Campaign or AdGroup TargetingSettings. + /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See + /// CriterionTypeGroup documentation for CriterionTypeGroups allowed + /// in Campaign or AdGroup TargetingSettings. TargetingSettingContainsInvalidCriterionTypeGroup = 5, - /// TargetingSetting must not explicitly - /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - /// which case the system will set them to true automatically). + /// TargetingSetting must not explicitly + /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, + /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in + /// which case the system will set them to true automatically). TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll = 6, - /// TargetingSetting cannot change any of - /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - /// INCOME_RANGE) from true to false. + /// TargetingSetting cannot change any of + /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, + /// INCOME_RANGE) from true to false. TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup = 7, - /// At least one feed id should be present. + /// At least one feed id should be present. DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent = 8, - /// The supplied DynamicSearchAdsSetting contains an invalid domain name. + /// The supplied DynamicSearchAdsSetting contains an invalid domain name. DynamicSearchAdsSettingContainsInvalidDomainName = 9, - /// The supplied DynamicSearchAdsSetting contains a subdomain name. + /// The supplied DynamicSearchAdsSetting contains a subdomain name. DynamicSearchAdsSettingContainsSubdomainName = 10, - /// The supplied DynamicSearchAdsSetting contains an invalid language code. + /// The supplied DynamicSearchAdsSetting contains an invalid language code. DynamicSearchAdsSettingContainsInvalidLanguageCode = 11, - /// TargetingSettings in search campaigns should not have - /// CriterionTypeGroup.PLACEMENT set to targetAll. + /// TargetingSettings in search campaigns should not have + /// CriterionTypeGroup.PLACEMENT set to targetAll. TargetAllIsNotAllowedForPlacementInSearchCampaign = 12, - /// The setting value is not compatible with the campaign type. + /// The setting value is not compatible with the campaign type. SettingValueNotCompatibleWithCampaign = 20, } impl SettingError { @@ -9263,23 +9263,23 @@ pub mod setting_error_enum { } } } -// Proto file describing shared criterion errors. +// Proto file describing shared criterion errors. -/// Container for enum describing possible shared criterion errors. +/// Container for enum describing possible shared criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionErrorEnum { } /// Nested message and enum types in `SharedCriterionErrorEnum`. pub mod shared_criterion_error_enum { - /// Enum describing possible shared criterion errors. + /// Enum describing possible shared criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion is not appropriate for the shared set type. + /// The criterion is not appropriate for the shared set type. CriterionTypeNotAllowedForSharedSetType = 2, } impl SharedCriterionError { @@ -9296,29 +9296,29 @@ pub mod shared_criterion_error_enum { } } } -// Proto file describing shared set errors. +// Proto file describing shared set errors. -/// Container for enum describing possible shared set errors. +/// Container for enum describing possible shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetErrorEnum { } /// Nested message and enum types in `SharedSetErrorEnum`. pub mod shared_set_error_enum { - /// Enum describing possible shared set errors. + /// Enum describing possible shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer cannot create this type of shared set. + /// The customer cannot create this type of shared set. CustomerCannotCreateSharedSetOfThisType = 2, - /// A shared set with this name already exists. + /// A shared set with this name already exists. DuplicateName = 3, - /// Removed shared sets cannot be mutated. + /// Removed shared sets cannot be mutated. SharedSetRemoved = 4, - /// The shared set cannot be removed because it is in use. + /// The shared set cannot be removed because it is in use. SharedSetInUse = 5, } impl SharedSetError { @@ -9338,25 +9338,25 @@ pub mod shared_set_error_enum { } } } -// Proto file describing size limit errors. +// Proto file describing size limit errors. -/// Container for enum describing possible size limit errors. +/// Container for enum describing possible size limit errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SizeLimitErrorEnum { } /// Nested message and enum types in `SizeLimitErrorEnum`. pub mod size_limit_error_enum { - /// Enum describing possible size limit errors. + /// Enum describing possible size limit errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SizeLimitError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The number of entries in the request exceeds the system limit. + /// The number of entries in the request exceeds the system limit. RequestSizeLimitExceeded = 2, - /// The number of entries in the response exceeds the system limit. + /// The number of entries in the response exceeds the system limit. ResponseSizeLimitExceeded = 3, } impl SizeLimitError { @@ -9374,25 +9374,25 @@ pub mod size_limit_error_enum { } } } -// Proto file describing string format errors. +// Proto file describing string format errors. -/// Container for enum describing possible string format errors. +/// Container for enum describing possible string format errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFormatErrorEnum { } /// Nested message and enum types in `StringFormatErrorEnum`. pub mod string_format_error_enum { - /// Enum describing possible string format errors. + /// Enum describing possible string format errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringFormatError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input string value contains disallowed characters. + /// The input string value contains disallowed characters. IllegalChars = 2, - /// The input string value is invalid for the associated field. + /// The input string value is invalid for the associated field. InvalidFormat = 3, } impl StringFormatError { @@ -9410,28 +9410,28 @@ pub mod string_format_error_enum { } } } -// Proto file describing string length errors. +// Proto file describing string length errors. -/// Container for enum describing possible string length errors. +/// Container for enum describing possible string length errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringLengthErrorEnum { } /// Nested message and enum types in `StringLengthErrorEnum`. pub mod string_length_error_enum { - /// Enum describing possible string length errors. + /// Enum describing possible string length errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringLengthError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified field should have a least one non-whitespace character in - /// it. + /// The specified field should have a least one non-whitespace character in + /// it. Empty = 4, - /// Too short. + /// Too short. TooShort = 2, - /// Too long. + /// Too long. TooLong = 3, } impl StringLengthError { @@ -9450,30 +9450,30 @@ pub mod string_length_error_enum { } } } -// Proto file describing ThirdPartyAppAnalyticsLink errors. +// Proto file describing ThirdPartyAppAnalyticsLink errors. -/// Container for enum describing possible third party app analytics link errors. +/// Container for enum describing possible third party app analytics link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkErrorEnum { } /// Nested message and enum types in `ThirdPartyAppAnalyticsLinkErrorEnum`. pub mod third_party_app_analytics_link_error_enum { - /// Enum describing possible third party app analytics link errors. + /// Enum describing possible third party app analytics link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ThirdPartyAppAnalyticsLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The provided analytics provider ID is invalid. + /// The provided analytics provider ID is invalid. InvalidAnalyticsProviderId = 2, - /// The provided mobile app ID is invalid. + /// The provided mobile app ID is invalid. InvalidMobileAppId = 3, - /// The mobile app corresponding to the provided app ID is not - /// active/enabled. + /// The mobile app corresponding to the provided app ID is not + /// active/enabled. MobileAppIsNotEnabled = 4, - /// Regenerating shareable link ID is only allowed on active links + /// Regenerating shareable link ID is only allowed on active links CannotRegenerateShareableLinkIdForRemovedLink = 5, } impl ThirdPartyAppAnalyticsLinkError { @@ -9493,23 +9493,23 @@ pub mod third_party_app_analytics_link_error_enum { } } } -// Proto file describing time zone errors. +// Proto file describing time zone errors. -/// Container for enum describing possible time zone errors. +/// Container for enum describing possible time zone errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeZoneErrorEnum { } /// Nested message and enum types in `TimeZoneErrorEnum`. pub mod time_zone_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeZoneError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Time zone is not valid. + /// Time zone is not valid. InvalidTimeZone = 5, } impl TimeZoneError { @@ -9526,141 +9526,141 @@ pub mod time_zone_error_enum { } } } -// Proto file describing url field errors. +// Proto file describing url field errors. -/// Container for enum describing possible url field errors. +/// Container for enum describing possible url field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlFieldErrorEnum { } /// Nested message and enum types in `UrlFieldErrorEnum`. pub mod url_field_error_enum { - /// Enum describing possible url field errors. + /// Enum describing possible url field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UrlFieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The tracking url template is invalid. + /// The tracking url template is invalid. InvalidTrackingUrlTemplate = 2, - /// The tracking url template contains invalid tag. + /// The tracking url template contains invalid tag. InvalidTagInTrackingUrlTemplate = 3, - /// The tracking url template must contain at least one tag (e.g. {lpurl}), - /// This applies only to tracking url template associated with website ads or - /// product ads. + /// The tracking url template must contain at least one tag (e.g. {lpurl}), + /// This applies only to tracking url template associated with website ads or + /// product ads. MissingTrackingUrlTemplateTag = 4, - /// The tracking url template must start with a valid protocol (or lpurl - /// tag). + /// The tracking url template must start with a valid protocol (or lpurl + /// tag). MissingProtocolInTrackingUrlTemplate = 5, - /// The tracking url template starts with an invalid protocol. + /// The tracking url template starts with an invalid protocol. InvalidProtocolInTrackingUrlTemplate = 6, - /// The tracking url template contains illegal characters. + /// The tracking url template contains illegal characters. MalformedTrackingUrlTemplate = 7, - /// The tracking url template must contain a host name (or lpurl tag). + /// The tracking url template must contain a host name (or lpurl tag). MissingHostInTrackingUrlTemplate = 8, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInTrackingUrlTemplate = 9, - /// The tracking url template contains nested occurrences of the same - /// conditional tag (i.e. {ifmobile:{ifmobile:x}}). + /// The tracking url template contains nested occurrences of the same + /// conditional tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedTrackingUrlTemplateTag = 10, - /// The final url is invalid. + /// The final url is invalid. InvalidFinalUrl = 11, - /// The final url contains invalid tag. + /// The final url contains invalid tag. InvalidTagInFinalUrl = 12, - /// The final url contains nested occurrences of the same conditional tag - /// (i.e. {ifmobile:{ifmobile:x}}). + /// The final url contains nested occurrences of the same conditional tag + /// (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalUrlTag = 13, - /// The final url must start with a valid protocol. + /// The final url must start with a valid protocol. MissingProtocolInFinalUrl = 14, - /// The final url starts with an invalid protocol. + /// The final url starts with an invalid protocol. InvalidProtocolInFinalUrl = 15, - /// The final url contains illegal characters. + /// The final url contains illegal characters. MalformedFinalUrl = 16, - /// The final url must contain a host name. + /// The final url must contain a host name. MissingHostInFinalUrl = 17, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalUrl = 18, - /// The final mobile url is invalid. + /// The final mobile url is invalid. InvalidFinalMobileUrl = 19, - /// The final mobile url contains invalid tag. + /// The final mobile url contains invalid tag. InvalidTagInFinalMobileUrl = 20, - /// The final mobile url contains nested occurrences of the same conditional - /// tag (i.e. {ifmobile:{ifmobile:x}}). + /// The final mobile url contains nested occurrences of the same conditional + /// tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalMobileUrlTag = 21, - /// The final mobile url must start with a valid protocol. + /// The final mobile url must start with a valid protocol. MissingProtocolInFinalMobileUrl = 22, - /// The final mobile url starts with an invalid protocol. + /// The final mobile url starts with an invalid protocol. InvalidProtocolInFinalMobileUrl = 23, - /// The final mobile url contains illegal characters. + /// The final mobile url contains illegal characters. MalformedFinalMobileUrl = 24, - /// The final mobile url must contain a host name. + /// The final mobile url must contain a host name. MissingHostInFinalMobileUrl = 25, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalMobileUrl = 26, - /// The final app url is invalid. + /// The final app url is invalid. InvalidFinalAppUrl = 27, - /// The final app url contains invalid tag. + /// The final app url contains invalid tag. InvalidTagInFinalAppUrl = 28, - /// The final app url contains nested occurrences of the same conditional tag - /// (i.e. {ifmobile:{ifmobile:x}}). + /// The final app url contains nested occurrences of the same conditional tag + /// (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalAppUrlTag = 29, - /// More than one app url found for the same OS type. + /// More than one app url found for the same OS type. MultipleAppUrlsForOstype = 30, - /// The OS type given for an app url is not valid. + /// The OS type given for an app url is not valid. InvalidOstype = 31, - /// The protocol given for an app url is not valid. (E.g. "android-app://") + /// The protocol given for an app url is not valid. (E.g. "android-app://") InvalidProtocolForAppUrl = 32, - /// The package id (app id) given for an app url is not valid. + /// The package id (app id) given for an app url is not valid. InvalidPackageIdForAppUrl = 33, - /// The number of url custom parameters for an resource exceeds the maximum - /// limit allowed. + /// The number of url custom parameters for an resource exceeds the maximum + /// limit allowed. UrlCustomParametersCountExceedsLimit = 34, - /// An invalid character appears in the parameter key. + /// An invalid character appears in the parameter key. InvalidCharactersInUrlCustomParameterKey = 39, - /// An invalid character appears in the parameter value. + /// An invalid character appears in the parameter value. InvalidCharactersInUrlCustomParameterValue = 40, - /// The url custom parameter value fails url tag validation. + /// The url custom parameter value fails url tag validation. InvalidTagInUrlCustomParameterValue = 41, - /// The custom parameter contains nested occurrences of the same conditional - /// tag (i.e. {ifmobile:{ifmobile:x}}). + /// The custom parameter contains nested occurrences of the same conditional + /// tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedUrlCustomParameterTag = 42, - /// The protocol (http:// or https://) is missing. + /// The protocol (http:// or https://) is missing. MissingProtocol = 43, - /// Unsupported protocol in URL. Only http and https are supported. + /// Unsupported protocol in URL. Only http and https are supported. InvalidProtocol = 52, - /// The url is invalid. + /// The url is invalid. InvalidUrl = 44, - /// Destination Url is deprecated. + /// Destination Url is deprecated. DestinationUrlDeprecated = 45, - /// The url contains invalid tag. + /// The url contains invalid tag. InvalidTagInUrl = 46, - /// The url must contain at least one tag (e.g. {lpurl}). + /// The url must contain at least one tag (e.g. {lpurl}). MissingUrlTag = 47, - /// Duplicate url id. + /// Duplicate url id. DuplicateUrlId = 48, - /// Invalid url id. + /// Invalid url id. InvalidUrlId = 49, - /// The final url suffix cannot begin with '?' or '&' characters and must be - /// a valid query string. + /// The final url suffix cannot begin with '?' or '&' characters and must be + /// a valid query string. FinalUrlSuffixMalformed = 50, - /// The final url suffix cannot contain {lpurl} related or {ignore} tags. + /// The final url suffix cannot contain {lpurl} related or {ignore} tags. InvalidTagInFinalUrlSuffix = 51, - /// The top level domain is invalid, e.g. not a public top level domain - /// listed in publicsuffix.org. + /// The top level domain is invalid, e.g. not a public top level domain + /// listed in publicsuffix.org. InvalidTopLevelDomain = 53, - /// Malformed top level domain in URL. + /// Malformed top level domain in URL. MalformedTopLevelDomain = 54, - /// Malformed URL. + /// Malformed URL. MalformedUrl = 55, - /// No host found in URL. + /// No host found in URL. MissingHost = 56, - /// Custom parameter value cannot be null. + /// Custom parameter value cannot be null. NullCustomParameterValue = 57, - /// Track parameter is not supported. + /// Track parameter is not supported. ValueTrackParameterNotSupported = 58, } impl UrlFieldError { @@ -9729,28 +9729,28 @@ pub mod url_field_error_enum { } } } -// Proto file describing user data errors. +// Proto file describing user data errors. -/// Container for enum describing possible user data errors. +/// Container for enum describing possible user data errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataErrorEnum { } /// Nested message and enum types in `UserDataErrorEnum`. pub mod user_data_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserDataError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowed to perform operations related to Customer Match. + /// Customer is not allowed to perform operations related to Customer Match. OperationsForCustomerMatchNotAllowed = 2, - /// Maximum number of user identifiers allowed for each request is 100 and - /// for each operation is 20. + /// Maximum number of user identifiers allowed for each request is 100 and + /// for each operation is 20. TooManyUserIdentifiers = 3, - /// Current user list is not applicable for the given customer. + /// Current user list is not applicable for the given customer. UserListNotApplicable = 4, } impl UserDataError { @@ -9769,80 +9769,80 @@ pub mod user_data_error_enum { } } } -// Proto file describing user list errors. +// Proto file describing user list errors. -/// Container for enum describing possible user list errors. +/// Container for enum describing possible user list errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListErrorEnum { } /// Nested message and enum types in `UserListErrorEnum`. pub mod user_list_error_enum { - /// Enum describing possible user list errors. + /// Enum describing possible user list errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Creating and updating external remarketing user lists is not supported. + /// Creating and updating external remarketing user lists is not supported. ExternalRemarketingUserListMutateNotSupported = 2, - /// Concrete type of user list is required. + /// Concrete type of user list is required. ConcreteTypeRequired = 3, - /// Creating/updating user list conversion types requires specifying the - /// conversion type Id. + /// Creating/updating user list conversion types requires specifying the + /// conversion type Id. ConversionTypeIdRequired = 4, - /// Remarketing user list cannot have duplicate conversion types. + /// Remarketing user list cannot have duplicate conversion types. DuplicateConversionTypes = 5, - /// Conversion type is invalid/unknown. + /// Conversion type is invalid/unknown. InvalidConversionType = 6, - /// User list description is empty or invalid. + /// User list description is empty or invalid. InvalidDescription = 7, - /// User list name is empty or invalid. + /// User list name is empty or invalid. InvalidName = 8, - /// Type of the UserList does not match. + /// Type of the UserList does not match. InvalidType = 9, - /// Embedded logical user lists are not allowed. + /// Embedded logical user lists are not allowed. CanNotAddLogicalListAsLogicalListOperand = 10, - /// User list rule operand is invalid. + /// User list rule operand is invalid. InvalidUserListLogicalRuleOperand = 11, - /// Name is already being used for another user list for the account. + /// Name is already being used for another user list for the account. NameAlreadyUsed = 12, - /// Name is required when creating a new conversion type. + /// Name is required when creating a new conversion type. NewConversionTypeNameRequired = 13, - /// The given conversion type name has been used. + /// The given conversion type name has been used. ConversionTypeNameAlreadyUsed = 14, - /// Only an owner account may edit a user list. + /// Only an owner account may edit a user list. OwnershipRequiredForSet = 15, - /// Creating user list without setting type in oneof user_list field, or - /// creating/updating read-only user list types is not allowed. + /// Creating user list without setting type in oneof user_list field, or + /// creating/updating read-only user list types is not allowed. UserListMutateNotSupported = 16, - /// Rule is invalid. + /// Rule is invalid. InvalidRule = 17, - /// The specified date range is empty. + /// The specified date range is empty. InvalidDateRange = 27, - /// A UserList which is privacy sensitive or legal rejected cannot be mutated - /// by external users. + /// A UserList which is privacy sensitive or legal rejected cannot be mutated + /// by external users. CanNotMutateSensitiveUserlist = 28, - /// Maximum number of rulebased user lists a customer can have. + /// Maximum number of rulebased user lists a customer can have. MaxNumRulebasedUserlists = 29, - /// BasicUserList's billable record field cannot be modified once it is set. + /// BasicUserList's billable record field cannot be modified once it is set. CannotModifyBillableRecordCount = 30, - /// crm_based_user_list.app_id field must be set when upload_key_type is - /// MOBILE_ADVERTISING_ID. + /// crm_based_user_list.app_id field must be set when upload_key_type is + /// MOBILE_ADVERTISING_ID. AppIdNotSet = 31, - /// Name of the user list is reserved for system generated lists and cannot - /// be used. + /// Name of the user list is reserved for system generated lists and cannot + /// be used. UserlistNameIsReservedForSystemList = 32, - /// Advertiser needs to be on the allow-list to use remarketing lists created - /// from advertiser uploaded data (e.g., Customer Match lists). + /// Advertiser needs to be on the allow-list to use remarketing lists created + /// from advertiser uploaded data (e.g., Customer Match lists). AdvertiserNotOnAllowlistForUsingUploadedData = 37, - /// The provided rule_type is not supported for the user list. + /// The provided rule_type is not supported for the user list. RuleTypeIsNotSupported = 34, - /// Similar user list cannot be used as a logical user list operand. + /// Similar user list cannot be used as a logical user list operand. CanNotAddASimilarUserlistAsLogicalListOperand = 35, - /// Logical user list should not have a mix of CRM based user list and other - /// types of lists in its rules. + /// Logical user list should not have a mix of CRM based user list and other + /// types of lists in its rules. CanNotMixCrmBasedInLogicalListWithOtherLists = 36, } impl UserListError { @@ -9884,27 +9884,27 @@ pub mod user_list_error_enum { } } } -// Proto file describing YouTube video registration errors. +// Proto file describing YouTube video registration errors. -/// Container for enum describing YouTube video registration errors. +/// Container for enum describing YouTube video registration errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoRegistrationErrorEnum { } /// Nested message and enum types in `YoutubeVideoRegistrationErrorEnum`. pub mod youtube_video_registration_error_enum { - /// Enum describing YouTube video registration errors. + /// Enum describing YouTube video registration errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum YoutubeVideoRegistrationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Video to be registered wasn't found. + /// Video to be registered wasn't found. VideoNotFound = 2, - /// Video to be registered is not accessible (e.g. private). + /// Video to be registered is not accessible (e.g. private). VideoNotAccessible = 3, - /// Video to be registered is not eligible (e.g. mature content). + /// Video to be registered is not eligible (e.g. mature content). VideoNotEligible = 4, } impl YoutubeVideoRegistrationError { @@ -9923,568 +9923,568 @@ pub mod youtube_video_registration_error_enum { } } } -// Proto file describing the common error protos +// Proto file describing the common error protos -/// Describes how a GoogleAds API call failed. It's returned inside -/// google.rpc.Status.details when a call fails. +/// Describes how a GoogleAds API call failed. It's returned inside +/// google.rpc.Status.details when a call fails. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFailure { - /// The list of errors that occurred. + /// The list of errors that occurred. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// The unique ID of the request that is used for debugging purposes. + /// The unique ID of the request that is used for debugging purposes. #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// GoogleAds-specific error. +/// GoogleAds-specific error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsError { - /// An enum value that indicates which error occurred. + /// An enum value that indicates which error occurred. #[prost(message, optional, tag="1")] pub error_code: ::core::option::Option, - /// A human-readable description of the error. + /// A human-readable description of the error. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// The value that triggered the error. + /// The value that triggered the error. #[prost(message, optional, tag="3")] pub trigger: ::core::option::Option, - /// Describes the part of the request proto that caused the error. + /// Describes the part of the request proto that caused the error. #[prost(message, optional, tag="4")] pub location: ::core::option::Option, - /// Additional error details, which are returned by certain error codes. Most - /// error codes do not include details. + /// Additional error details, which are returned by certain error codes. Most + /// error codes do not include details. #[prost(message, optional, tag="5")] pub details: ::core::option::Option, } -/// The error reason represented by type and enum. +/// The error reason represented by type and enum. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorCode { - /// The list of error enums + /// The list of error enums #[prost(oneof="error_code::ErrorCode", tags="1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 161, 18, 159, 19, 21, 24, 25, 107, 149, 155, 148, 153, 154, 152, 26, 29, 166, 160, 31, 165, 109, 32, 150, 158, 90, 151, 33, 34, 35, 36, 37, 38, 39, 40, 110, 42, 116, 86, 162, 44, 45, 46, 47, 48, 49, 58, 51, 52, 53, 54, 55, 56, 57, 117, 59, 60, 61, 62, 63, 64, 65, 115, 143, 111, 145, 146, 66, 67, 68, 70, 71, 72, 132, 74, 133, 76, 77, 78, 136, 79, 80, 81, 82, 83, 84, 87, 88, 91, 92, 93, 94, 96, 97, 98, 100, 101, 102, 103, 140, 141, 104, 105, 112, 114, 118, 119, 137, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 134, 135, 138, 139, 164, 156")] pub error_code: ::core::option::Option, } /// Nested message and enum types in `ErrorCode`. pub mod error_code { - /// The list of error enums + /// The list of error enums #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ErrorCode { - /// An error caused by the request + /// An error caused by the request #[prost(enumeration="super::request_error_enum::RequestError", tag="1")] RequestError(i32), - /// An error with a Bidding Strategy mutate. + /// An error with a Bidding Strategy mutate. #[prost(enumeration="super::bidding_strategy_error_enum::BiddingStrategyError", tag="2")] BiddingStrategyError(i32), - /// An error with a URL field mutate. + /// An error with a URL field mutate. #[prost(enumeration="super::url_field_error_enum::UrlFieldError", tag="3")] UrlFieldError(i32), - /// An error with a list operation. + /// An error with a list operation. #[prost(enumeration="super::list_operation_error_enum::ListOperationError", tag="4")] ListOperationError(i32), - /// An error with an AWQL query + /// An error with an AWQL query #[prost(enumeration="super::query_error_enum::QueryError", tag="5")] QueryError(i32), - /// An error with a mutate + /// An error with a mutate #[prost(enumeration="super::mutate_error_enum::MutateError", tag="7")] MutateError(i32), - /// An error with a field mask + /// An error with a field mask #[prost(enumeration="super::field_mask_error_enum::FieldMaskError", tag="8")] FieldMaskError(i32), - /// An error encountered when trying to authorize a user. + /// An error encountered when trying to authorize a user. #[prost(enumeration="super::authorization_error_enum::AuthorizationError", tag="9")] AuthorizationError(i32), - /// An unexpected server-side error. + /// An unexpected server-side error. #[prost(enumeration="super::internal_error_enum::InternalError", tag="10")] InternalError(i32), - /// An error with the amonut of quota remaining. + /// An error with the amonut of quota remaining. #[prost(enumeration="super::quota_error_enum::QuotaError", tag="11")] QuotaError(i32), - /// An error with an Ad Group Ad mutate. + /// An error with an Ad Group Ad mutate. #[prost(enumeration="super::ad_error_enum::AdError", tag="12")] AdError(i32), - /// An error with an Ad Group mutate. + /// An error with an Ad Group mutate. #[prost(enumeration="super::ad_group_error_enum::AdGroupError", tag="13")] AdGroupError(i32), - /// An error with a Campaign Budget mutate. + /// An error with a Campaign Budget mutate. #[prost(enumeration="super::campaign_budget_error_enum::CampaignBudgetError", tag="14")] CampaignBudgetError(i32), - /// An error with a Campaign mutate. + /// An error with a Campaign mutate. #[prost(enumeration="super::campaign_error_enum::CampaignError", tag="15")] CampaignError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::authentication_error_enum::AuthenticationError", tag="17")] AuthenticationError(i32), - /// The reasons for the ad group criterion customizer error. + /// The reasons for the ad group criterion customizer error. #[prost(enumeration="super::ad_group_criterion_customizer_error_enum::AdGroupCriterionCustomizerError", tag="161")] AdGroupCriterionCustomizerError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::ad_group_criterion_error_enum::AdGroupCriterionError", tag="18")] AdGroupCriterionError(i32), - /// The reasons for the ad group customizer error. + /// The reasons for the ad group customizer error. #[prost(enumeration="super::ad_group_customizer_error_enum::AdGroupCustomizerError", tag="159")] AdGroupCustomizerError(i32), - /// The reasons for the ad customizer error + /// The reasons for the ad customizer error #[prost(enumeration="super::ad_customizer_error_enum::AdCustomizerError", tag="19")] AdCustomizerError(i32), - /// The reasons for the ad group ad error + /// The reasons for the ad group ad error #[prost(enumeration="super::ad_group_ad_error_enum::AdGroupAdError", tag="21")] AdGroupAdError(i32), - /// The reasons for the ad sharing error + /// The reasons for the ad sharing error #[prost(enumeration="super::ad_sharing_error_enum::AdSharingError", tag="24")] AdSharingError(i32), - /// The reasons for the adx error + /// The reasons for the adx error #[prost(enumeration="super::adx_error_enum::AdxError", tag="25")] AdxError(i32), - /// The reasons for the asset error + /// The reasons for the asset error #[prost(enumeration="super::asset_error_enum::AssetError", tag="107")] AssetError(i32), - /// The reasons for the asset group asset error + /// The reasons for the asset group asset error #[prost(enumeration="super::asset_group_asset_error_enum::AssetGroupAssetError", tag="149")] AssetGroupAssetError(i32), - /// The reasons for the asset group listing group filter error + /// The reasons for the asset group listing group filter error #[prost(enumeration="super::asset_group_listing_group_filter_error_enum::AssetGroupListingGroupFilterError", tag="155")] AssetGroupListingGroupFilterError(i32), - /// The reasons for the asset group error + /// The reasons for the asset group error #[prost(enumeration="super::asset_group_error_enum::AssetGroupError", tag="148")] AssetGroupError(i32), - /// The reasons for the asset set asset error + /// The reasons for the asset set asset error #[prost(enumeration="super::asset_set_asset_error_enum::AssetSetAssetError", tag="153")] AssetSetAssetError(i32), - /// The reasons for the asset set link error + /// The reasons for the asset set link error #[prost(enumeration="super::asset_set_link_error_enum::AssetSetLinkError", tag="154")] AssetSetLinkError(i32), - /// The reasons for the asset set error + /// The reasons for the asset set error #[prost(enumeration="super::asset_set_error_enum::AssetSetError", tag="152")] AssetSetError(i32), - /// The reasons for the bidding errors + /// The reasons for the bidding errors #[prost(enumeration="super::bidding_error_enum::BiddingError", tag="26")] BiddingError(i32), - /// The reasons for the campaign criterion error + /// The reasons for the campaign criterion error #[prost(enumeration="super::campaign_criterion_error_enum::CampaignCriterionError", tag="29")] CampaignCriterionError(i32), - /// The reasons for the campaign conversion goal error + /// The reasons for the campaign conversion goal error #[prost(enumeration="super::campaign_conversion_goal_error_enum::CampaignConversionGoalError", tag="166")] CampaignConversionGoalError(i32), - /// The reasons for the campaign customizer error. + /// The reasons for the campaign customizer error. #[prost(enumeration="super::campaign_customizer_error_enum::CampaignCustomizerError", tag="160")] CampaignCustomizerError(i32), - /// The reasons for the collection size error + /// The reasons for the collection size error #[prost(enumeration="super::collection_size_error_enum::CollectionSizeError", tag="31")] CollectionSizeError(i32), - /// The reasons for the conversion goal campaign config error + /// The reasons for the conversion goal campaign config error #[prost(enumeration="super::conversion_goal_campaign_config_error_enum::ConversionGoalCampaignConfigError", tag="165")] ConversionGoalCampaignConfigError(i32), - /// The reasons for the country code error + /// The reasons for the country code error #[prost(enumeration="super::country_code_error_enum::CountryCodeError", tag="109")] CountryCodeError(i32), - /// The reasons for the criterion error + /// The reasons for the criterion error #[prost(enumeration="super::criterion_error_enum::CriterionError", tag="32")] CriterionError(i32), - /// The reasons for the custom conversion goal error + /// The reasons for the custom conversion goal error #[prost(enumeration="super::custom_conversion_goal_error_enum::CustomConversionGoalError", tag="150")] CustomConversionGoalError(i32), - /// The reasons for the customer customizer error. + /// The reasons for the customer customizer error. #[prost(enumeration="super::customer_customizer_error_enum::CustomerCustomizerError", tag="158")] CustomerCustomizerError(i32), - /// The reasons for the customer error + /// The reasons for the customer error #[prost(enumeration="super::customer_error_enum::CustomerError", tag="90")] CustomerError(i32), - /// The reasons for the customizer attribute error. + /// The reasons for the customizer attribute error. #[prost(enumeration="super::customizer_attribute_error_enum::CustomizerAttributeError", tag="151")] CustomizerAttributeError(i32), - /// The reasons for the date error + /// The reasons for the date error #[prost(enumeration="super::date_error_enum::DateError", tag="33")] DateError(i32), - /// The reasons for the date range error + /// The reasons for the date range error #[prost(enumeration="super::date_range_error_enum::DateRangeError", tag="34")] DateRangeError(i32), - /// The reasons for the distinct error + /// The reasons for the distinct error #[prost(enumeration="super::distinct_error_enum::DistinctError", tag="35")] DistinctError(i32), - /// The reasons for the feed attribute reference error + /// The reasons for the feed attribute reference error #[prost(enumeration="super::feed_attribute_reference_error_enum::FeedAttributeReferenceError", tag="36")] FeedAttributeReferenceError(i32), - /// The reasons for the function error + /// The reasons for the function error #[prost(enumeration="super::function_error_enum::FunctionError", tag="37")] FunctionError(i32), - /// The reasons for the function parsing error + /// The reasons for the function parsing error #[prost(enumeration="super::function_parsing_error_enum::FunctionParsingError", tag="38")] FunctionParsingError(i32), - /// The reasons for the id error + /// The reasons for the id error #[prost(enumeration="super::id_error_enum::IdError", tag="39")] IdError(i32), - /// The reasons for the image error + /// The reasons for the image error #[prost(enumeration="super::image_error_enum::ImageError", tag="40")] ImageError(i32), - /// The reasons for the language code error + /// The reasons for the language code error #[prost(enumeration="super::language_code_error_enum::LanguageCodeError", tag="110")] LanguageCodeError(i32), - /// The reasons for the media bundle error + /// The reasons for the media bundle error #[prost(enumeration="super::media_bundle_error_enum::MediaBundleError", tag="42")] MediaBundleError(i32), - /// The reasons for media uploading errors. + /// The reasons for media uploading errors. #[prost(enumeration="super::media_upload_error_enum::MediaUploadError", tag="116")] MediaUploadError(i32), - /// The reasons for the media file error + /// The reasons for the media file error #[prost(enumeration="super::media_file_error_enum::MediaFileError", tag="86")] MediaFileError(i32), - /// Container for enum describing possible merchant center errors. + /// Container for enum describing possible merchant center errors. #[prost(enumeration="super::merchant_center_error_enum::MerchantCenterError", tag="162")] MerchantCenterError(i32), - /// The reasons for the multiplier error + /// The reasons for the multiplier error #[prost(enumeration="super::multiplier_error_enum::MultiplierError", tag="44")] MultiplierError(i32), - /// The reasons for the new resource creation error + /// The reasons for the new resource creation error #[prost(enumeration="super::new_resource_creation_error_enum::NewResourceCreationError", tag="45")] NewResourceCreationError(i32), - /// The reasons for the not empty error + /// The reasons for the not empty error #[prost(enumeration="super::not_empty_error_enum::NotEmptyError", tag="46")] NotEmptyError(i32), - /// The reasons for the null error + /// The reasons for the null error #[prost(enumeration="super::null_error_enum::NullError", tag="47")] NullError(i32), - /// The reasons for the operator error + /// The reasons for the operator error #[prost(enumeration="super::operator_error_enum::OperatorError", tag="48")] OperatorError(i32), - /// The reasons for the range error + /// The reasons for the range error #[prost(enumeration="super::range_error_enum::RangeError", tag="49")] RangeError(i32), - /// The reasons for error in applying a recommendation + /// The reasons for error in applying a recommendation #[prost(enumeration="super::recommendation_error_enum::RecommendationError", tag="58")] RecommendationError(i32), - /// The reasons for the region code error + /// The reasons for the region code error #[prost(enumeration="super::region_code_error_enum::RegionCodeError", tag="51")] RegionCodeError(i32), - /// The reasons for the setting error + /// The reasons for the setting error #[prost(enumeration="super::setting_error_enum::SettingError", tag="52")] SettingError(i32), - /// The reasons for the string format error + /// The reasons for the string format error #[prost(enumeration="super::string_format_error_enum::StringFormatError", tag="53")] StringFormatError(i32), - /// The reasons for the string length error + /// The reasons for the string length error #[prost(enumeration="super::string_length_error_enum::StringLengthError", tag="54")] StringLengthError(i32), - /// The reasons for the operation access denied error + /// The reasons for the operation access denied error #[prost(enumeration="super::operation_access_denied_error_enum::OperationAccessDeniedError", tag="55")] OperationAccessDeniedError(i32), - /// The reasons for the resource access denied error + /// The reasons for the resource access denied error #[prost(enumeration="super::resource_access_denied_error_enum::ResourceAccessDeniedError", tag="56")] ResourceAccessDeniedError(i32), - /// The reasons for the resource count limit exceeded error + /// The reasons for the resource count limit exceeded error #[prost(enumeration="super::resource_count_limit_exceeded_error_enum::ResourceCountLimitExceededError", tag="57")] ResourceCountLimitExceededError(i32), - /// The reasons for YouTube video registration errors. + /// The reasons for YouTube video registration errors. #[prost(enumeration="super::youtube_video_registration_error_enum::YoutubeVideoRegistrationError", tag="117")] YoutubeVideoRegistrationError(i32), - /// The reasons for the ad group bid modifier error + /// The reasons for the ad group bid modifier error #[prost(enumeration="super::ad_group_bid_modifier_error_enum::AdGroupBidModifierError", tag="59")] AdGroupBidModifierError(i32), - /// The reasons for the context error + /// The reasons for the context error #[prost(enumeration="super::context_error_enum::ContextError", tag="60")] ContextError(i32), - /// The reasons for the field error + /// The reasons for the field error #[prost(enumeration="super::field_error_enum::FieldError", tag="61")] FieldError(i32), - /// The reasons for the shared set error + /// The reasons for the shared set error #[prost(enumeration="super::shared_set_error_enum::SharedSetError", tag="62")] SharedSetError(i32), - /// The reasons for the shared criterion error + /// The reasons for the shared criterion error #[prost(enumeration="super::shared_criterion_error_enum::SharedCriterionError", tag="63")] SharedCriterionError(i32), - /// The reasons for the campaign shared set error + /// The reasons for the campaign shared set error #[prost(enumeration="super::campaign_shared_set_error_enum::CampaignSharedSetError", tag="64")] CampaignSharedSetError(i32), - /// The reasons for the conversion action error + /// The reasons for the conversion action error #[prost(enumeration="super::conversion_action_error_enum::ConversionActionError", tag="65")] ConversionActionError(i32), - /// The reasons for the conversion adjustment upload error + /// The reasons for the conversion adjustment upload error #[prost(enumeration="super::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError", tag="115")] ConversionAdjustmentUploadError(i32), - /// The reasons for the conversion custom variable error + /// The reasons for the conversion custom variable error #[prost(enumeration="super::conversion_custom_variable_error_enum::ConversionCustomVariableError", tag="143")] ConversionCustomVariableError(i32), - /// The reasons for the conversion upload error + /// The reasons for the conversion upload error #[prost(enumeration="super::conversion_upload_error_enum::ConversionUploadError", tag="111")] ConversionUploadError(i32), - /// The reasons for the conversion value rule error + /// The reasons for the conversion value rule error #[prost(enumeration="super::conversion_value_rule_error_enum::ConversionValueRuleError", tag="145")] ConversionValueRuleError(i32), - /// The reasons for the conversion value rule set error + /// The reasons for the conversion value rule set error #[prost(enumeration="super::conversion_value_rule_set_error_enum::ConversionValueRuleSetError", tag="146")] ConversionValueRuleSetError(i32), - /// The reasons for the header error. + /// The reasons for the header error. #[prost(enumeration="super::header_error_enum::HeaderError", tag="66")] HeaderError(i32), - /// The reasons for the database error. + /// The reasons for the database error. #[prost(enumeration="super::database_error_enum::DatabaseError", tag="67")] DatabaseError(i32), - /// The reasons for the policy finding error. + /// The reasons for the policy finding error. #[prost(enumeration="super::policy_finding_error_enum::PolicyFindingError", tag="68")] PolicyFindingError(i32), - /// The reason for enum error. + /// The reason for enum error. #[prost(enumeration="super::enum_error_enum::EnumError", tag="70")] EnumError(i32), - /// The reason for keyword plan error. + /// The reason for keyword plan error. #[prost(enumeration="super::keyword_plan_error_enum::KeywordPlanError", tag="71")] KeywordPlanError(i32), - /// The reason for keyword plan campaign error. + /// The reason for keyword plan campaign error. #[prost(enumeration="super::keyword_plan_campaign_error_enum::KeywordPlanCampaignError", tag="72")] KeywordPlanCampaignError(i32), - /// The reason for keyword plan campaign keyword error. + /// The reason for keyword plan campaign keyword error. #[prost(enumeration="super::keyword_plan_campaign_keyword_error_enum::KeywordPlanCampaignKeywordError", tag="132")] KeywordPlanCampaignKeywordError(i32), - /// The reason for keyword plan ad group error. + /// The reason for keyword plan ad group error. #[prost(enumeration="super::keyword_plan_ad_group_error_enum::KeywordPlanAdGroupError", tag="74")] KeywordPlanAdGroupError(i32), - /// The reason for keyword plan ad group keyword error. + /// The reason for keyword plan ad group keyword error. #[prost(enumeration="super::keyword_plan_ad_group_keyword_error_enum::KeywordPlanAdGroupKeywordError", tag="133")] KeywordPlanAdGroupKeywordError(i32), - /// The reason for keyword idea error. + /// The reason for keyword idea error. #[prost(enumeration="super::keyword_plan_idea_error_enum::KeywordPlanIdeaError", tag="76")] KeywordPlanIdeaError(i32), - /// The reasons for account budget proposal errors. + /// The reasons for account budget proposal errors. #[prost(enumeration="super::account_budget_proposal_error_enum::AccountBudgetProposalError", tag="77")] AccountBudgetProposalError(i32), - /// The reasons for the user list error + /// The reasons for the user list error #[prost(enumeration="super::user_list_error_enum::UserListError", tag="78")] UserListError(i32), - /// The reasons for the change event error + /// The reasons for the change event error #[prost(enumeration="super::change_event_error_enum::ChangeEventError", tag="136")] ChangeEventError(i32), - /// The reasons for the change status error + /// The reasons for the change status error #[prost(enumeration="super::change_status_error_enum::ChangeStatusError", tag="79")] ChangeStatusError(i32), - /// The reasons for the feed error + /// The reasons for the feed error #[prost(enumeration="super::feed_error_enum::FeedError", tag="80")] FeedError(i32), - /// The reasons for the geo target constant suggestion error. + /// The reasons for the geo target constant suggestion error. #[prost(enumeration="super::geo_target_constant_suggestion_error_enum::GeoTargetConstantSuggestionError", tag="81")] GeoTargetConstantSuggestionError(i32), - /// The reasons for the campaign draft error + /// The reasons for the campaign draft error #[prost(enumeration="super::campaign_draft_error_enum::CampaignDraftError", tag="82")] CampaignDraftError(i32), - /// The reasons for the feed item error + /// The reasons for the feed item error #[prost(enumeration="super::feed_item_error_enum::FeedItemError", tag="83")] FeedItemError(i32), - /// The reason for the label error. + /// The reason for the label error. #[prost(enumeration="super::label_error_enum::LabelError", tag="84")] LabelError(i32), - /// The reasons for the billing setup error + /// The reasons for the billing setup error #[prost(enumeration="super::billing_setup_error_enum::BillingSetupError", tag="87")] BillingSetupError(i32), - /// The reasons for the customer client link error + /// The reasons for the customer client link error #[prost(enumeration="super::customer_client_link_error_enum::CustomerClientLinkError", tag="88")] CustomerClientLinkError(i32), - /// The reasons for the customer manager link error + /// The reasons for the customer manager link error #[prost(enumeration="super::customer_manager_link_error_enum::CustomerManagerLinkError", tag="91")] CustomerManagerLinkError(i32), - /// The reasons for the feed mapping error + /// The reasons for the feed mapping error #[prost(enumeration="super::feed_mapping_error_enum::FeedMappingError", tag="92")] FeedMappingError(i32), - /// The reasons for the customer feed error + /// The reasons for the customer feed error #[prost(enumeration="super::customer_feed_error_enum::CustomerFeedError", tag="93")] CustomerFeedError(i32), - /// The reasons for the ad group feed error + /// The reasons for the ad group feed error #[prost(enumeration="super::ad_group_feed_error_enum::AdGroupFeedError", tag="94")] AdGroupFeedError(i32), - /// The reasons for the campaign feed error + /// The reasons for the campaign feed error #[prost(enumeration="super::campaign_feed_error_enum::CampaignFeedError", tag="96")] CampaignFeedError(i32), - /// The reasons for the custom interest error + /// The reasons for the custom interest error #[prost(enumeration="super::custom_interest_error_enum::CustomInterestError", tag="97")] CustomInterestError(i32), - /// The reasons for the campaign experiment error + /// The reasons for the campaign experiment error #[prost(enumeration="super::campaign_experiment_error_enum::CampaignExperimentError", tag="98")] CampaignExperimentError(i32), - /// The reasons for the extension feed item error + /// The reasons for the extension feed item error #[prost(enumeration="super::extension_feed_item_error_enum::ExtensionFeedItemError", tag="100")] ExtensionFeedItemError(i32), - /// The reasons for the ad parameter error + /// The reasons for the ad parameter error #[prost(enumeration="super::ad_parameter_error_enum::AdParameterError", tag="101")] AdParameterError(i32), - /// The reasons for the feed item validation error + /// The reasons for the feed item validation error #[prost(enumeration="super::feed_item_validation_error_enum::FeedItemValidationError", tag="102")] FeedItemValidationError(i32), - /// The reasons for the extension setting error + /// The reasons for the extension setting error #[prost(enumeration="super::extension_setting_error_enum::ExtensionSettingError", tag="103")] ExtensionSettingError(i32), - /// The reasons for the feed item set error + /// The reasons for the feed item set error #[prost(enumeration="super::feed_item_set_error_enum::FeedItemSetError", tag="140")] FeedItemSetError(i32), - /// The reasons for the feed item set link error + /// The reasons for the feed item set link error #[prost(enumeration="super::feed_item_set_link_error_enum::FeedItemSetLinkError", tag="141")] FeedItemSetLinkError(i32), - /// The reasons for the feed item target error + /// The reasons for the feed item target error #[prost(enumeration="super::feed_item_target_error_enum::FeedItemTargetError", tag="104")] FeedItemTargetError(i32), - /// The reasons for the policy violation error + /// The reasons for the policy violation error #[prost(enumeration="super::policy_violation_error_enum::PolicyViolationError", tag="105")] PolicyViolationError(i32), - /// The reasons for the mutate job error + /// The reasons for the mutate job error #[prost(enumeration="super::partial_failure_error_enum::PartialFailureError", tag="112")] PartialFailureError(i32), - /// The reasons for the policy validation parameter error + /// The reasons for the policy validation parameter error #[prost(enumeration="super::policy_validation_parameter_error_enum::PolicyValidationParameterError", tag="114")] PolicyValidationParameterError(i32), - /// The reasons for the size limit error + /// The reasons for the size limit error #[prost(enumeration="super::size_limit_error_enum::SizeLimitError", tag="118")] SizeLimitError(i32), - /// The reasons for the offline user data job error. + /// The reasons for the offline user data job error. #[prost(enumeration="super::offline_user_data_job_error_enum::OfflineUserDataJobError", tag="119")] OfflineUserDataJobError(i32), - /// The reasons for the not allowlisted error + /// The reasons for the not allowlisted error #[prost(enumeration="super::not_allowlisted_error_enum::NotAllowlistedError", tag="137")] NotAllowlistedError(i32), - /// The reasons for the manager link error + /// The reasons for the manager link error #[prost(enumeration="super::manager_link_error_enum::ManagerLinkError", tag="121")] ManagerLinkError(i32), - /// The reasons for the currency code error + /// The reasons for the currency code error #[prost(enumeration="super::currency_code_error_enum::CurrencyCodeError", tag="122")] CurrencyCodeError(i32), - /// The reasons for the experiment error + /// The reasons for the experiment error #[prost(enumeration="super::experiment_error_enum::ExperimentError", tag="123")] ExperimentError(i32), - /// The reasons for the access invitation error + /// The reasons for the access invitation error #[prost(enumeration="super::access_invitation_error_enum::AccessInvitationError", tag="124")] AccessInvitationError(i32), - /// The reasons for the reach plan error + /// The reasons for the reach plan error #[prost(enumeration="super::reach_plan_error_enum::ReachPlanError", tag="125")] ReachPlanError(i32), - /// The reasons for the invoice error + /// The reasons for the invoice error #[prost(enumeration="super::invoice_error_enum::InvoiceError", tag="126")] InvoiceError(i32), - /// The reasons for errors in payments accounts service + /// The reasons for errors in payments accounts service #[prost(enumeration="super::payments_account_error_enum::PaymentsAccountError", tag="127")] PaymentsAccountError(i32), - /// The reasons for the time zone error + /// The reasons for the time zone error #[prost(enumeration="super::time_zone_error_enum::TimeZoneError", tag="128")] TimeZoneError(i32), - /// The reasons for the asset link error + /// The reasons for the asset link error #[prost(enumeration="super::asset_link_error_enum::AssetLinkError", tag="129")] AssetLinkError(i32), - /// The reasons for the user data error. + /// The reasons for the user data error. #[prost(enumeration="super::user_data_error_enum::UserDataError", tag="130")] UserDataError(i32), - /// The reasons for the batch job error + /// The reasons for the batch job error #[prost(enumeration="super::batch_job_error_enum::BatchJobError", tag="131")] BatchJobError(i32), - /// The reasons for the account link status change error + /// The reasons for the account link status change error #[prost(enumeration="super::account_link_error_enum::AccountLinkError", tag="134")] AccountLinkError(i32), - /// The reasons for the third party app analytics link mutate error + /// The reasons for the third party app analytics link mutate error #[prost(enumeration="super::third_party_app_analytics_link_error_enum::ThirdPartyAppAnalyticsLinkError", tag="135")] ThirdPartyAppAnalyticsLinkError(i32), - /// The reasons for the customer user access mutate error + /// The reasons for the customer user access mutate error #[prost(enumeration="super::customer_user_access_error_enum::CustomerUserAccessError", tag="138")] CustomerUserAccessError(i32), - /// The reasons for the custom audience error + /// The reasons for the custom audience error #[prost(enumeration="super::custom_audience_error_enum::CustomAudienceError", tag="139")] CustomAudienceError(i32), - /// The reasons for the audience error + /// The reasons for the audience error #[prost(enumeration="super::audience_error_enum::AudienceError", tag="164")] AudienceError(i32), - /// The reasons for the experiment arm error + /// The reasons for the experiment arm error #[prost(enumeration="super::experiment_arm_error_enum::ExperimentArmError", tag="156")] ExperimentArmError(i32), } } -/// Describes the part of the request proto that caused the error. +/// Describes the part of the request proto that caused the error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorLocation { - /// A field path that indicates which field was invalid in the request. + /// A field path that indicates which field was invalid in the request. #[prost(message, repeated, tag="2")] pub field_path_elements: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ErrorLocation`. pub mod error_location { - /// A part of a field path. + /// A part of a field path. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldPathElement { - /// The name of a field or a oneof + /// The name of a field or a oneof #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// If field_name is a repeated field, this is the element that failed + /// If field_name is a repeated field, this is the element that failed #[prost(int32, optional, tag="3")] pub index: ::core::option::Option, } } -/// Additional error details. +/// Additional error details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorDetails { - /// The error code that should have been returned, but wasn't. This is used - /// when the error code is not published in the client specified version. + /// The error code that should have been returned, but wasn't. This is used + /// when the error code is not published in the client specified version. #[prost(string, tag="1")] pub unpublished_error_code: ::prost::alloc::string::String, - /// Describes an ad policy violation. + /// Describes an ad policy violation. #[prost(message, optional, tag="2")] pub policy_violation_details: ::core::option::Option, - /// Describes policy violation findings. + /// Describes policy violation findings. #[prost(message, optional, tag="3")] pub policy_finding_details: ::core::option::Option, - /// Details on the quota error, including the scope (account or developer), the - /// rate bucket name and the retry delay. + /// Details on the quota error, including the scope (account or developer), the + /// rate bucket name and the retry delay. #[prost(message, optional, tag="4")] pub quota_error_details: ::core::option::Option, - /// Details for a resource count limit exceeded error. + /// Details for a resource count limit exceeded error. #[prost(message, optional, tag="5")] pub resource_count_details: ::core::option::Option, } -/// Error returned as part of a mutate response. -/// This error indicates single policy violation by some text -/// in one of the fields. +/// Error returned as part of a mutate response. +/// This error indicates single policy violation by some text +/// in one of the fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationDetails { - /// Human readable description of policy violation. + /// Human readable description of policy violation. #[prost(string, tag="2")] pub external_policy_description: ::prost::alloc::string::String, - /// Unique identifier for this violation. - /// If policy is exemptible, this key may be used to request exemption. + /// Unique identifier for this violation. + /// If policy is exemptible, this key may be used to request exemption. #[prost(message, optional, tag="4")] pub key: ::core::option::Option, - /// Human readable name of the policy. + /// Human readable name of the policy. #[prost(string, tag="5")] pub external_policy_name: ::prost::alloc::string::String, - /// Whether user can file an exemption request for this violation. + /// Whether user can file an exemption request for this violation. #[prost(bool, tag="6")] pub is_exemptible: bool, } -/// Error returned as part of a mutate response. -/// This error indicates one or more policy findings in the fields of a -/// resource. +/// Error returned as part of a mutate response. +/// This error indicates one or more policy findings in the fields of a +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingDetails { - /// The list of policy topics for the resource. Contains the PROHIBITED or - /// FULLY_LIMITED policy topic entries that prevented the resource from being - /// saved (among any other entries the resource may also have). + /// The list of policy topics for the resource. Contains the PROHIBITED or + /// FULLY_LIMITED policy topic entries that prevented the resource from being + /// saved (among any other entries the resource may also have). #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, } -/// Additional quota error details when there is QuotaError. +/// Additional quota error details when there is QuotaError. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorDetails { - /// The rate scope of the quota limit. + /// The rate scope of the quota limit. #[prost(enumeration="quota_error_details::QuotaRateScope", tag="1")] pub rate_scope: i32, - /// The high level description of the quota bucket. - /// Examples are "Get requests for standard access" or "Requests per account". + /// The high level description of the quota bucket. + /// Examples are "Get requests for standard access" or "Requests per account". #[prost(string, tag="2")] pub rate_name: ::prost::alloc::string::String, - /// Backoff period that customers should wait before sending next request. + /// Backoff period that customers should wait before sending next request. #[prost(message, optional, tag="3")] pub retry_delay: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `QuotaErrorDetails`. pub mod quota_error_details { - /// Enum of possible scopes that quota buckets belong to. + /// Enum of possible scopes that quota buckets belong to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaRateScope { - /// Unspecified enum + /// Unspecified enum Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per customer account quota + /// Per customer account quota Account = 2, - /// Per project or DevToken quota + /// Per project or DevToken quota Developer = 3, } impl QuotaRateScope { @@ -10502,24 +10502,24 @@ pub mod quota_error_details { } } } -/// Error details returned when an resource count limit was exceeded. +/// Error details returned when an resource count limit was exceeded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountDetails { - /// The ID of the resource whose limit was exceeded. - /// External customer ID if the limit is for a customer. + /// The ID of the resource whose limit was exceeded. + /// External customer ID if the limit is for a customer. #[prost(string, tag="1")] pub enclosing_id: ::prost::alloc::string::String, - /// The name of the resource (Customer, Campaign etc.) whose limit was - /// exceeded. + /// The name of the resource (Customer, Campaign etc.) whose limit was + /// exceeded. #[prost(string, tag="5")] pub enclosing_resource: ::prost::alloc::string::String, - /// The limit which was exceeded. + /// The limit which was exceeded. #[prost(int32, tag="2")] pub limit: i32, - /// The resource limit type which was exceeded. + /// The resource limit type which was exceeded. #[prost(enumeration="super::enums::resource_limit_type_enum::ResourceLimitType", tag="3")] pub limit_type: i32, - /// The count of existing entities. + /// The count of existing entities. #[prost(int32, tag="4")] pub existing_count: i32, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v10.resources.rs b/gcloud-sdk/genproto/google.ads.googleads.v10.resources.rs index 306d270c1..40742de0e 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v10.resources.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v10.resources.rs @@ -1,1704 +1,1704 @@ -/// Represents a view of BiddingStrategies owned by and shared with the customer. +/// Represents a view of BiddingStrategies owned by and shared with the customer. /// -/// In contrast to BiddingStrategy, this resource includes strategies owned by -/// managers of the customer and shared with this customer - in addition to -/// strategies owned by this customer. This resource does not provide metrics and -/// only exposes a limited subset of the BiddingStrategy attributes. +/// In contrast to BiddingStrategy, this resource includes strategies owned by +/// managers of the customer and shared with this customer - in addition to +/// strategies owned by this customer. This resource does not provide metrics and +/// only exposes a limited subset of the BiddingStrategy attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessibleBiddingStrategy { - /// Output only. The resource name of the accessible bidding strategy. - /// AccessibleBiddingStrategy resource names have the form: + /// Output only. The resource name of the accessible bidding strategy. + /// AccessibleBiddingStrategy resource names have the form: /// - /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the bidding strategy. + /// Output only. The name of the bidding strategy. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The type of the bidding strategy. + /// Output only. The type of the bidding strategy. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="4")] pub r#type: i32, - /// Output only. The ID of the Customer which owns the bidding strategy. + /// Output only. The ID of the Customer which owns the bidding strategy. #[prost(int64, tag="5")] pub owner_customer_id: i64, - /// Output only. descriptive_name of the Customer which owns the bidding strategy. + /// Output only. descriptive_name of the Customer which owns the bidding strategy. #[prost(string, tag="6")] pub owner_descriptive_name: ::prost::alloc::string::String, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="accessible_bidding_strategy::Scheme", tags="7, 8, 9, 10, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `AccessibleBiddingStrategy`. pub mod accessible_bidding_strategy { - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy - /// will maximize revenue while averaging the target return on ad spend. If - /// the target ROAS is high, the bid strategy may not be able to spend the - /// full budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy + /// will maximize revenue while averaging the target return on ad spend. If + /// the target ROAS is high, the bid strategy may not be able to spend the + /// full budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="1")] pub target_roas: f64, } - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// Output only. The target cost per acquisition (CPA) option. This is the average amount - /// that you would like to spend per acquisition. + /// Output only. The target cost per acquisition (CPA) option. This is the average amount + /// that you would like to spend per acquisition. #[prost(int64, tag="1")] pub target_cpa: i64, } - /// An automated bid strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// An automated bid strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Output only. Average CPA target. - /// This target should be greater than or equal to minimum billable unit - /// based on the currency for the account. + /// Output only. Average CPA target. + /// This target should be greater than or equal to minimum billable unit + /// based on the currency for the account. #[prost(int64, optional, tag="1")] pub target_cpa_micros: ::core::option::Option, } - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// Output only. The targeted location on the search results page. + /// Output only. The targeted location on the search results page. #[prost(enumeration="super::super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The desired fraction of ads to be shown in the targeted location in - /// micros. E.g. 1% equals 10,000. + /// The desired fraction of ads to be shown in the targeted location in + /// micros. E.g. 1% equals 10,000. #[prost(int64, optional, tag="2")] pub location_fraction_micros: ::core::option::Option, - /// Output only. The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// Output only. The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// An automated bidding strategy that helps you maximize revenue while - /// averaging a specific target return on ad spend (ROAS). + /// An automated bidding strategy that helps you maximize revenue while + /// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Output only. The desired revenue (based on conversion data) per unit of spend. + /// Output only. The desired revenue (based on conversion data) per unit of spend. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, } - /// An automated bid strategy that sets your bids to help get as many clicks - /// as possible within your budget. + /// An automated bid strategy that sets your bids to help get as many clicks + /// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// Output only. The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// Output only. The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="1")] pub target_spend_micros: ::core::option::Option, - /// Output only. Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Output only. Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="2")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// Output only. An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="7")] MaximizeConversionValue(MaximizeConversionValue), - /// Output only. An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="8")] MaximizeConversions(MaximizeConversions), - /// Output only. A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// Output only. A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(TargetCpa), - /// Output only. A bidding strategy that automatically optimizes towards a desired - /// percentage of impressions. + /// Output only. A bidding strategy that automatically optimizes towards a desired + /// percentage of impressions. #[prost(message, tag="10")] TargetImpressionShare(TargetImpressionShare), - /// Output only. A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// Output only. A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(TargetRoas), - /// Output only. A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// Output only. A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(TargetSpend), } } -// Proto file describing the AccountBudget resource. +// Proto file describing the AccountBudget resource. -/// An account-level budget. It contains information about the budget itself, -/// as well as the most recently approved changes to the budget and proposed -/// changes that are pending approval. The proposed changes that are pending -/// approval, if any, are found in 'pending_proposal'. Effective details about -/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -/// without a prefix. Since some effective details may differ from what the user -/// had originally requested (e.g. spending limit), these differences are -/// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. +/// An account-level budget. It contains information about the budget itself, +/// as well as the most recently approved changes to the budget and proposed +/// changes that are pending approval. The proposed changes that are pending +/// approval, if any, are found in 'pending_proposal'. Effective details about +/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those +/// without a prefix. Since some effective details may differ from what the user +/// had originally requested (e.g. spending limit), these differences are +/// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. /// -/// This resource is mutated using AccountBudgetProposal and cannot be mutated -/// directly. A budget may have at most one pending proposal at any given time. -/// It is read through pending_proposal. +/// This resource is mutated using AccountBudgetProposal and cannot be mutated +/// directly. A budget may have at most one pending proposal at any given time. +/// It is read through pending_proposal. /// -/// Once approved, a budget may be subject to adjustments, such as credit -/// adjustments. Adjustments create differences between the 'approved' and -/// 'adjusted' fields, which would otherwise be identical. +/// Once approved, a budget may be subject to adjustments, such as credit +/// adjustments. Adjustments create differences between the 'approved' and +/// 'adjusted' fields, which would otherwise be identical. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudget { - /// Output only. The resource name of the account-level budget. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account-level budget. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the account-level budget. + /// Output only. The ID of the account-level budget. #[prost(int64, optional, tag="23")] pub id: ::core::option::Option, - /// Output only. The resource name of the billing setup associated with this account-level - /// budget. BillingSetup resource names have the form: + /// Output only. The resource name of the billing setup associated with this account-level + /// budget. BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="24")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this account-level budget. + /// Output only. The status of this account-level budget. #[prost(enumeration="super::enums::account_budget_status_enum::AccountBudgetStatus", tag="4")] pub status: i32, - /// Output only. The name of the account-level budget. + /// Output only. The name of the account-level budget. #[prost(string, optional, tag="25")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The proposed start time of the account-level budget in - /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - /// this is the time of request. + /// Output only. The proposed start time of the account-level budget in + /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, + /// this is the time of request. #[prost(string, optional, tag="26")] pub proposed_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss - /// format. + /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss + /// format. /// - /// For example, if a new budget is approved after the proposed start time, - /// the approved start time is the time of approval. + /// For example, if a new budget is approved after the proposed start time, + /// the approved start time is the time of approval. #[prost(string, optional, tag="27")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The total adjustments amount. + /// Output only. The total adjustments amount. /// - /// An example of an adjustment is courtesy credits. + /// An example of an adjustment is courtesy credits. #[prost(int64, tag="33")] pub total_adjustments_micros: i64, - /// Output only. The value of Ads that have been served, in micros. + /// Output only. The value of Ads that have been served, in micros. /// - /// This includes overdelivery costs, in which case a credit might be - /// automatically applied to the budget (see total_adjustments_micros). + /// This includes overdelivery costs, in which case a credit might be + /// automatically applied to the budget (see total_adjustments_micros). #[prost(int64, tag="34")] pub amount_served_micros: i64, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="35")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with the budget. + /// Output only. Notes associated with the budget. #[prost(string, optional, tag="36")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pending proposal to modify this budget, if applicable. + /// Output only. The pending proposal to modify this budget, if applicable. #[prost(message, optional, tag="22")] pub pending_proposal: ::core::option::Option, - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[prost(oneof="account_budget::ProposedEndTime", tags="28, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[prost(oneof="account_budget::ApprovedEndTime", tags="29, 11")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget::ProposedSpendingLimit", tags="30, 13")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[prost(oneof="account_budget::ApprovedSpendingLimit", tags="31, 15")] pub approved_spending_limit: ::core::option::Option, - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[prost(oneof="account_budget::AdjustedSpendingLimit", tags="32, 17")] pub adjusted_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudget`. pub mod account_budget { - /// A pending proposal associated with the enclosing account-level budget, - /// if applicable. + /// A pending proposal associated with the enclosing account-level budget, + /// if applicable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PendingAccountBudgetProposal { - /// Output only. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Output only. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, optional, tag="12")] pub account_budget_proposal: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of this proposal, e.g. END to end the budget associated - /// with this proposal. + /// Output only. The type of this proposal, e.g. END to end the budget associated + /// with this proposal. #[prost(enumeration="super::super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="2")] pub proposal_type: i32, - /// Output only. The name to assign to the account-level budget. + /// Output only. The name to assign to the account-level budget. #[prost(string, optional, tag="13")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. #[prost(string, optional, tag="14")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="17")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with this budget. + /// Output only. Notes associated with this budget. #[prost(string, optional, tag="18")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this account-level budget proposal was created. - /// Formatted as yyyy-MM-dd HH:mm:ss. + /// Output only. The time when this account-level budget proposal was created. + /// Formatted as yyyy-MM-dd HH:mm:ss. #[prost(string, optional, tag="19")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[prost(oneof="pending_account_budget_proposal::EndTime", tags="15, 6")] pub end_time: ::core::option::Option, - /// The spending limit. + /// The spending limit. #[prost(oneof="pending_account_budget_proposal::SpendingLimit", tags="16, 8")] pub spending_limit: ::core::option::Option, } /// Nested message and enum types in `PendingAccountBudgetProposal`. pub mod pending_account_budget_proposal { - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="15")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a well-defined type, e.g. FOREVER. + /// Output only. The end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::super::enums::time_type_enum::TimeType", tag="6")] EndTimeType(i32), } - /// The spending limit. + /// The spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SpendingLimit { - /// Output only. The spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="16")] SpendingLimitMicros(i64), - /// Output only. The spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="8")] SpendingLimitType(i32), } } - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="28")] ProposedEndDateTime(::prost::alloc::string::String), - /// Output only. The proposed end time as a well-defined type, e.g. FOREVER. + /// Output only. The proposed end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="29")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end time as a well-defined type, e.g. FOREVER. + /// Output only. The approved end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="11")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Output only. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="30")] ProposedSpendingLimitMicros(i64), - /// Output only. The proposed spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The proposed spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="13")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. This will only be populated if the proposed spending limit - /// is finite, and will always be greater than or equal to the - /// proposed spending limit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. This will only be populated if the proposed spending limit + /// is finite, and will always be greater than or equal to the + /// proposed spending limit. #[prost(int64, tag="31")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This - /// will only be populated if the approved spending limit is INFINITE. + /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This + /// will only be populated if the approved spending limit is INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="15")] ApprovedSpendingLimitType(i32), } - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdjustedSpendingLimit { - /// Output only. The adjusted spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The adjusted spending limit in micros. One million is equivalent to + /// one unit. /// - /// If the approved spending limit is finite, the adjusted - /// spending limit may vary depending on the types of adjustments applied - /// to this budget, if applicable. + /// If the approved spending limit is finite, the adjusted + /// spending limit may vary depending on the types of adjustments applied + /// to this budget, if applicable. /// - /// The different kinds of adjustments are described here: - /// + /// The different kinds of adjustments are described here: + /// /// - /// For example, a debit adjustment reduces how much the account is - /// allowed to spend. + /// For example, a debit adjustment reduces how much the account is + /// allowed to spend. #[prost(int64, tag="32")] AdjustedSpendingLimitMicros(i64), - /// Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. - /// This will only be populated if the adjusted spending limit is INFINITE, - /// which is guaranteed to be true if the approved spending limit is - /// INFINITE. + /// Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. + /// This will only be populated if the adjusted spending limit is INFINITE, + /// which is guaranteed to be true if the approved spending limit is + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="17")] AdjustedSpendingLimitType(i32), } } -// Proto file describing the AccountBudgetProposal resource. +// Proto file describing the AccountBudgetProposal resource. -/// An account-level budget proposal. +/// An account-level budget proposal. /// -/// All fields prefixed with 'proposed' may not necessarily be applied directly. -/// For example, proposed spending limits may be adjusted before their -/// application. This is true if the 'proposed' field has an 'approved' -/// counterpart, e.g. spending limits. +/// All fields prefixed with 'proposed' may not necessarily be applied directly. +/// For example, proposed spending limits may be adjusted before their +/// application. This is true if the 'proposed' field has an 'approved' +/// counterpart, e.g. spending limits. /// -/// Please note that the proposal type (proposal_type) changes which fields are -/// required and which must remain empty. +/// Please note that the proposal type (proposal_type) changes which fields are +/// required and which must remain empty. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposal { - /// Immutable. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Immutable. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the proposal. + /// Output only. The ID of the proposal. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Immutable. The resource name of the billing setup associated with this proposal. + /// Immutable. The resource name of the billing setup associated with this proposal. #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The resource name of the account-level budget associated with this - /// proposal. + /// Immutable. The resource name of the account-level budget associated with this + /// proposal. #[prost(string, optional, tag="27")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The type of this proposal, e.g. END to end the budget associated with this - /// proposal. + /// Immutable. The type of this proposal, e.g. END to end the budget associated with this + /// proposal. #[prost(enumeration="super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="4")] pub proposal_type: i32, - /// Output only. The status of this proposal. - /// When a new proposal is created, the status defaults to PENDING. + /// Output only. The status of this proposal. + /// When a new proposal is created, the status defaults to PENDING. #[prost(enumeration="super::enums::account_budget_proposal_status_enum::AccountBudgetProposalStatus", tag="15")] pub status: i32, - /// Immutable. The name to assign to the account-level budget. + /// Immutable. The name to assign to the account-level budget. #[prost(string, optional, tag="28")] pub proposed_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, optional, tag="30")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A purchase order number is a value that enables the user to help them - /// reference this budget in their monthly invoices. + /// Immutable. A purchase order number is a value that enables the user to help them + /// reference this budget in their monthly invoices. #[prost(string, optional, tag="35")] pub proposed_purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Notes associated with this budget. + /// Immutable. Notes associated with this budget. #[prost(string, optional, tag="36")] pub proposed_notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget proposal was created, which is - /// not the same as its approval date time, if applicable. + /// Output only. The date time when this account-level budget proposal was created, which is + /// not the same as its approval date time, if applicable. #[prost(string, optional, tag="37")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget was approved, if applicable. + /// Output only. The date time when this account-level budget was approved, if applicable. #[prost(string, optional, tag="38")] pub approval_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[prost(oneof="account_budget_proposal::ProposedStartTime", tags="29, 7")] pub proposed_start_time: ::core::option::Option, - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[prost(oneof="account_budget_proposal::ProposedEndTime", tags="31, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[prost(oneof="account_budget_proposal::ApprovedEndTime", tags="32, 22")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget_proposal::ProposedSpendingLimit", tags="33, 11")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. #[prost(oneof="account_budget_proposal::ApprovedSpendingLimit", tags="34, 24")] pub approved_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposal`. pub mod account_budget_proposal { - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedStartTime { - /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="29")] ProposedStartDateTime(::prost::alloc::string::String), - /// Immutable. The proposed start date time as a well-defined type, e.g. NOW. + /// Immutable. The proposed start date time as a well-defined type, e.g. NOW. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="7")] ProposedStartTimeType(i32), } - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="31")] ProposedEndDateTime(::prost::alloc::string::String), - /// Immutable. The proposed end date time as a well-defined type, e.g. FOREVER. + /// Immutable. The proposed end date time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="32")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end date time as a well-defined type, e.g. FOREVER. + /// Output only. The approved end date time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="22")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Immutable. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Immutable. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="33")] ProposedSpendingLimitMicros(i64), - /// Immutable. The proposed spending limit as a well-defined type, e.g. INFINITE. + /// Immutable. The proposed spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="11")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="34")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="24")] ApprovedSpendingLimitType(i32), } } -/// Represents the data sharing connection between a Google Ads account and -/// another account +/// Represents the data sharing connection between a Google Ads account and +/// another account #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLink { - /// Immutable. Resource name of the account link. - /// AccountLink resource names have the form: - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// Immutable. Resource name of the account link. + /// AccountLink resource names have the form: + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the link. - /// This field is read only. + /// Output only. The ID of the link. + /// This field is read only. #[prost(int64, optional, tag="8")] pub account_link_id: ::core::option::Option, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::account_link_status_enum::AccountLinkStatus", tag="3")] pub status: i32, - /// Output only. The type of the linked account. + /// Output only. The type of the linked account. #[prost(enumeration="super::enums::linked_account_type_enum::LinkedAccountType", tag="4")] pub r#type: i32, - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[prost(oneof="account_link::LinkedAccount", tags="5, 6, 7, 9")] pub linked_account: ::core::option::Option, } /// Nested message and enum types in `AccountLink`. pub mod account_link { - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LinkedAccount { - /// Immutable. A third party app analytics link. + /// Immutable. A third party app analytics link. #[prost(message, tag="5")] ThirdPartyAppAnalytics(super::ThirdPartyAppAnalyticsLinkIdentifier), - /// Output only. Data partner link. + /// Output only. Data partner link. #[prost(message, tag="6")] DataPartner(super::DataPartnerLinkIdentifier), - /// Output only. Google Ads link. + /// Output only. Google Ads link. #[prost(message, tag="7")] GoogleAds(super::GoogleAdsLinkIdentifier), - /// Output only. Hotel link + /// Output only. Hotel link #[prost(message, tag="9")] HotelCenter(super::HotelCenterLinkIdentifier), } } -/// The identifiers of a Third Party App Analytics Link. +/// The identifiers of a Third Party App Analytics Link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkIdentifier { - /// Immutable. The ID of the app analytics provider. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The ID of the app analytics provider. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="4")] pub app_analytics_provider_id: ::core::option::Option, - /// Immutable. A string that uniquely identifies a mobile application from which the data - /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit - /// string that appears at the end of an App Store URL (e.g., "422689480" for - /// "Gmail" whose App Store link is - /// ). For - /// Android, the ID string is the application's package name (e.g., - /// "com.google.android.gm" for "Gmail" given Google Play link - /// ) - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. A string that uniquely identifies a mobile application from which the data + /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit + /// string that appears at the end of an App Store URL (e.g., "422689480" for + /// "Gmail" whose App Store link is + /// ). For + /// Android, the ID string is the application's package name (e.g., + /// "com.google.android.gm" for "Gmail" given Google Play link + /// ) + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="5")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The vendor of the app. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The vendor of the app. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="3")] pub app_vendor: i32, } -/// The identifier for Data Partner account. +/// The identifier for Data Partner account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataPartnerLinkIdentifier { - /// Immutable. The customer ID of the Data partner account. - /// This field is required and should not be empty when creating a new - /// data partner link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The customer ID of the Data partner account. + /// This field is required and should not be empty when creating a new + /// data partner link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="1")] pub data_partner_id: ::core::option::Option, } -/// The identifier for Hotel account. +/// The identifier for Hotel account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCenterLinkIdentifier { - /// Output only. The hotel center id of the hotel account. + /// Output only. The hotel center id of the hotel account. #[prost(int64, tag="1")] pub hotel_center_id: i64, } -/// The identifier for Google Ads account. +/// The identifier for Google Ads account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsLinkIdentifier { - /// Immutable. The resource name of the Google Ads account. - /// This field is required and should not be empty when creating a new - /// Google Ads link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The resource name of the Google Ads account. + /// This field is required and should not be empty when creating a new + /// Google Ads link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="3")] pub customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// An ad. +/// An ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Ad { - /// Immutable. The resource name of the ad. - /// Ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad resource names have the form: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(string, tag="37")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad. + /// Output only. The ID of the ad. #[prost(int64, optional, tag="40")] pub id: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="41")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final app URLs that will be used on mobile if the user has the - /// specific app installed. + /// A list of final app URLs that will be used on mobile if the user has the + /// specific app installed. #[prost(message, repeated, tag="35")] pub final_app_urls: ::prost::alloc::vec::Vec, - /// The list of possible final mobile URLs after all cross-domain redirects - /// for the ad. + /// The list of possible final mobile URLs after all cross-domain redirects + /// for the ad. #[prost(string, repeated, tag="42")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="43")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The suffix to use when constructing a final URL. + /// The suffix to use when constructing a final URL. #[prost(string, optional, tag="44")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings that can be used to substitute custom parameter tags - /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - /// For mutates, please use url custom parameter operations. + /// The list of mappings that can be used to substitute custom parameter tags + /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// For mutates, please use url custom parameter operations. #[prost(message, repeated, tag="10")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The URL that appears in the ad description for some ad formats. + /// The URL that appears in the ad description for some ad formats. #[prost(string, optional, tag="45")] pub display_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of ad. + /// Output only. The type of ad. #[prost(enumeration="super::enums::ad_type_enum::AdType", tag="5")] pub r#type: i32, - /// Output only. Indicates if this ad was automatically added by Google Ads and not by a - /// user. For example, this could happen when ads are automatically created as - /// suggestions for new ads based on knowledge of how existing ads are - /// performing. + /// Output only. Indicates if this ad was automatically added by Google Ads and not by a + /// user. For example, this could happen when ads are automatically created as + /// suggestions for new ads based on knowledge of how existing ads are + /// performing. #[prost(bool, optional, tag="46")] pub added_by_google_ads: ::core::option::Option, - /// The device preference for the ad. You can only specify a preference for - /// mobile devices. When this preference is set the ad will be preferred over - /// other ads when being displayed on a mobile device. The ad can still be - /// displayed on other device types, e.g. if no other ads are available. - /// If unspecified (no device preference), all devices are targeted. - /// This is only supported by some ad types. + /// The device preference for the ad. You can only specify a preference for + /// mobile devices. When this preference is set the ad will be preferred over + /// other ads when being displayed on a mobile device. The ad can still be + /// displayed on other device types, e.g. if no other ads are available. + /// If unspecified (no device preference), all devices are targeted. + /// This is only supported by some ad types. #[prost(enumeration="super::enums::device_enum::Device", tag="20")] pub device_preference: i32, - /// Additional URLs for the ad that are tagged with a unique identifier that - /// can be referenced from other fields in the ad. + /// Additional URLs for the ad that are tagged with a unique identifier that + /// can be referenced from other fields in the ad. #[prost(message, repeated, tag="26")] pub url_collections: ::prost::alloc::vec::Vec, - /// Immutable. The name of the ad. This is only used to be able to identify the ad. It - /// does not need to be unique and does not affect the served ad. The name - /// field is currently only supported for DisplayUploadAd, ImageAd, - /// ShoppingComparisonListingAd and VideoAd. + /// Immutable. The name of the ad. This is only used to be able to identify the ad. It + /// does not need to be unique and does not affect the served ad. The name + /// field is currently only supported for DisplayUploadAd, ImageAd, + /// ShoppingComparisonListingAd and VideoAd. #[prost(string, optional, tag="47")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. If this ad is system managed, then this field will indicate the source. - /// This field is read-only. + /// Output only. If this ad is system managed, then this field will indicate the source. + /// This field is read-only. #[prost(enumeration="super::enums::system_managed_resource_source_enum::SystemManagedResourceSource", tag="27")] pub system_managed_resource_source: i32, - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[prost(oneof="ad::AdData", tags="6, 7, 49, 14, 15, 17, 18, 21, 22, 24, 39, 25, 28, 29, 30, 31, 32, 33, 34, 36, 48, 50, 51, 52")] pub ad_data: ::core::option::Option, } /// Nested message and enum types in `Ad`. pub mod ad { - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdData { - /// Immutable. Details pertaining to a text ad. + /// Immutable. Details pertaining to a text ad. #[prost(message, tag="6")] TextAd(super::super::common::TextAdInfo), - /// Details pertaining to an expanded text ad. + /// Details pertaining to an expanded text ad. #[prost(message, tag="7")] ExpandedTextAd(super::super::common::ExpandedTextAdInfo), - /// Details pertaining to a call ad. + /// Details pertaining to a call ad. #[prost(message, tag="49")] CallAd(super::super::common::CallAdInfo), - /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. - /// This type of ad has its headline, final URLs, and display URL - /// auto-generated at serving time according to domain name specific - /// information provided by `dynamic_search_ads_setting` linked at the - /// campaign level. + /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. + /// This type of ad has its headline, final URLs, and display URL + /// auto-generated at serving time according to domain name specific + /// information provided by `dynamic_search_ads_setting` linked at the + /// campaign level. #[prost(message, tag="14")] ExpandedDynamicSearchAd(super::super::common::ExpandedDynamicSearchAdInfo), - /// Details pertaining to a hotel ad. + /// Details pertaining to a hotel ad. #[prost(message, tag="15")] HotelAd(super::super::common::HotelAdInfo), - /// Details pertaining to a Smart Shopping ad. + /// Details pertaining to a Smart Shopping ad. #[prost(message, tag="17")] ShoppingSmartAd(super::super::common::ShoppingSmartAdInfo), - /// Details pertaining to a Shopping product ad. + /// Details pertaining to a Shopping product ad. #[prost(message, tag="18")] ShoppingProductAd(super::super::common::ShoppingProductAdInfo), - /// Immutable. Details pertaining to a Gmail ad. + /// Immutable. Details pertaining to a Gmail ad. #[prost(message, tag="21")] GmailAd(super::super::common::GmailAdInfo), - /// Immutable. Details pertaining to an Image ad. + /// Immutable. Details pertaining to an Image ad. #[prost(message, tag="22")] ImageAd(super::super::common::ImageAdInfo), - /// Details pertaining to a Video ad. + /// Details pertaining to a Video ad. #[prost(message, tag="24")] VideoAd(super::super::common::VideoAdInfo), - /// Details pertaining to a Video responsive ad. + /// Details pertaining to a Video responsive ad. #[prost(message, tag="39")] VideoResponsiveAd(super::super::common::VideoResponsiveAdInfo), - /// Details pertaining to a responsive search ad. + /// Details pertaining to a responsive search ad. #[prost(message, tag="25")] ResponsiveSearchAd(super::super::common::ResponsiveSearchAdInfo), - /// Details pertaining to a legacy responsive display ad. + /// Details pertaining to a legacy responsive display ad. #[prost(message, tag="28")] LegacyResponsiveDisplayAd(super::super::common::LegacyResponsiveDisplayAdInfo), - /// Details pertaining to an app ad. + /// Details pertaining to an app ad. #[prost(message, tag="29")] AppAd(super::super::common::AppAdInfo), - /// Immutable. Details pertaining to a legacy app install ad. + /// Immutable. Details pertaining to a legacy app install ad. #[prost(message, tag="30")] LegacyAppInstallAd(super::super::common::LegacyAppInstallAdInfo), - /// Details pertaining to a responsive display ad. + /// Details pertaining to a responsive display ad. #[prost(message, tag="31")] ResponsiveDisplayAd(super::super::common::ResponsiveDisplayAdInfo), - /// Details pertaining to a local ad. + /// Details pertaining to a local ad. #[prost(message, tag="32")] LocalAd(super::super::common::LocalAdInfo), - /// Details pertaining to a display upload ad. + /// Details pertaining to a display upload ad. #[prost(message, tag="33")] DisplayUploadAd(super::super::common::DisplayUploadAdInfo), - /// Details pertaining to an app engagement ad. + /// Details pertaining to an app engagement ad. #[prost(message, tag="34")] AppEngagementAd(super::super::common::AppEngagementAdInfo), - /// Details pertaining to a Shopping Comparison Listing ad. + /// Details pertaining to a Shopping Comparison Listing ad. #[prost(message, tag="36")] ShoppingComparisonListingAd(super::super::common::ShoppingComparisonListingAdInfo), - /// Details pertaining to a Smart campaign ad. + /// Details pertaining to a Smart campaign ad. #[prost(message, tag="48")] SmartCampaignAd(super::super::common::SmartCampaignAdInfo), - /// Details pertaining to an app pre-registration ad. + /// Details pertaining to an app pre-registration ad. #[prost(message, tag="50")] AppPreRegistrationAd(super::super::common::AppPreRegistrationAdInfo), - /// Details pertaining to a discovery multi asset ad. + /// Details pertaining to a discovery multi asset ad. #[prost(message, tag="51")] DiscoveryMultiAssetAd(super::super::common::DiscoveryMultiAssetAdInfo), - /// Details pertaining to a discovery carousel ad. + /// Details pertaining to a discovery carousel ad. #[prost(message, tag="52")] DiscoveryCarouselAd(super::super::common::DiscoveryCarouselAdInfo), } } -// Proto file describing the ad group resource. +// Proto file describing the ad group resource. -/// An ad group. +/// An ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroup { - /// Immutable. The resource name of the ad group. - /// Ad group resource names have the form: + /// Immutable. The resource name of the ad group. + /// Ad group resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad group. + /// Output only. The ID of the ad group. #[prost(int64, optional, tag="34")] pub id: ::core::option::Option, - /// The name of the ad group. + /// The name of the ad group. /// - /// This field is required and should not be empty when creating new ad - /// groups. + /// This field is required and should not be empty when creating new ad + /// groups. /// - /// It must contain fewer than 255 UTF-8 full-width characters. + /// It must contain fewer than 255 UTF-8 full-width characters. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="35")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the ad group. + /// The status of the ad group. #[prost(enumeration="super::enums::ad_group_status_enum::AdGroupStatus", tag="5")] pub status: i32, - /// Immutable. The type of the ad group. + /// Immutable. The type of the ad group. #[prost(enumeration="super::enums::ad_group_type_enum::AdGroupType", tag="12")] pub r#type: i32, - /// The ad rotation mode of the ad group. + /// The ad rotation mode of the ad group. #[prost(enumeration="super::enums::ad_group_ad_rotation_mode_enum::AdGroupAdRotationMode", tag="22")] pub ad_rotation_mode: i32, - /// Output only. For draft or experiment ad groups, this field is the resource name of the - /// base ad group from which this ad group was created. If a draft or - /// experiment ad group does not have a base ad group, then this field is null. + /// Output only. For draft or experiment ad groups, this field is the resource name of the + /// base ad group from which this ad group was created. If a draft or + /// experiment ad group does not have a base ad group, then this field is null. /// - /// For base ad groups, this field equals the ad group resource name. + /// For base ad groups, this field equals the ad group resource name. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="36")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="37")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="6")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Immutable. The campaign to which the ad group belongs. + /// Immutable. The campaign to which the ad group belongs. #[prost(string, optional, tag="38")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum CPC (cost-per-click) bid. + /// The maximum CPC (cost-per-click) bid. #[prost(int64, optional, tag="39")] pub cpc_bid_micros: ::core::option::Option, - /// Output only. Value will be same as that of the CPC (cost-per-click) bid value when the - /// bidding strategy is one of manual cpc, enhanced cpc, page one promoted or - /// target outrank share, otherwise the value will be null. + /// Output only. Value will be same as that of the CPC (cost-per-click) bid value when the + /// bidding strategy is one of manual cpc, enhanced cpc, page one promoted or + /// target outrank share, otherwise the value will be null. #[prost(int64, optional, tag="57")] pub effective_cpc_bid_micros: ::core::option::Option, - /// The maximum CPM (cost-per-thousand viewable impressions) bid. + /// The maximum CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="40")] pub cpm_bid_micros: ::core::option::Option, - /// The target CPA (cost-per-acquisition). If the ad group's campaign - /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - /// field set), then this field overrides the target CPA specified in the - /// campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target CPA (cost-per-acquisition). If the ad group's campaign + /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa + /// field set), then this field overrides the target CPA specified in the + /// campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(int64, optional, tag="41")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The CPV (cost-per-view) bid. + /// Output only. The CPV (cost-per-view) bid. #[prost(int64, optional, tag="42")] pub cpv_bid_micros: ::core::option::Option, - /// Average amount in micros that the advertiser is willing to pay for every - /// thousand times the ad is shown. + /// Average amount in micros that the advertiser is willing to pay for every + /// thousand times the ad is shown. #[prost(int64, optional, tag="43")] pub target_cpm_micros: ::core::option::Option, - /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign - /// bidding strategy is TargetRoas or MaximizeConversionValue (with its - /// target_roas field set), then this field overrides the target ROAS specified - /// in the campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign + /// bidding strategy is TargetRoas or MaximizeConversionValue (with its + /// target_roas field set), then this field overrides the target ROAS specified + /// in the campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(double, optional, tag="44")] pub target_roas: ::core::option::Option, - /// The percent cpc bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The percent cpc bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="45")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Settings for the Display Campaign Optimizer, initially termed "Explorer". + /// Settings for the Display Campaign Optimizer, initially termed "Explorer". #[prost(message, optional, tag="21")] pub explorer_auto_optimizer_setting: ::core::option::Option, - /// Allows advertisers to specify a targeting dimension on which to place - /// absolute bids. This is only applicable for campaigns that target only the - /// display network and not search. + /// Allows advertisers to specify a targeting dimension on which to place + /// absolute bids. This is only applicable for campaigns that target only the + /// display network and not search. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="23")] pub display_custom_bid_dimension: i32, - /// URL template for appending params to Final URL. + /// URL template for appending params to Final URL. #[prost(string, optional, tag="46")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="25")] pub targeting_setting: ::core::option::Option, - /// Immutable. Setting for audience related features. + /// Immutable. Setting for audience related features. #[prost(message, optional, tag="56")] pub audience_setting: ::core::option::Option, - /// Output only. The effective target CPA (cost-per-acquisition). - /// This field is read-only. + /// Output only. The effective target CPA (cost-per-acquisition). + /// This field is read-only. #[prost(int64, optional, tag="47")] pub effective_target_cpa_micros: ::core::option::Option, - /// Output only. Source of the effective target CPA. - /// This field is read-only. + /// Output only. Source of the effective target CPA. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="29")] pub effective_target_cpa_source: i32, - /// Output only. The effective target ROAS (return-on-ad-spend). - /// This field is read-only. + /// Output only. The effective target ROAS (return-on-ad-spend). + /// This field is read-only. #[prost(double, optional, tag="48")] pub effective_target_roas: ::core::option::Option, - /// Output only. Source of the effective target ROAS. - /// This field is read-only. + /// Output only. Source of the effective target ROAS. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="32")] pub effective_target_roas_source: i32, - /// Output only. The resource names of labels attached to this ad group. + /// Output only. The resource names of labels attached to this ad group. #[prost(string, repeated, tag="49")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The asset field types that should be excluded from this ad group. Asset - /// links with these field types will not be inherited by this ad group from - /// the upper levels. + /// The asset field types that should be excluded from this ad group. Asset + /// links with these field types will not be inherited by this ad group from + /// the upper levels. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="54")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `AdGroup`. pub mod ad_group { - /// Settings for the audience targeting. + /// Settings for the audience targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSetting { - /// Immutable. If true, this ad group uses an Audience resource for audience targeting. - /// If false, this ad group may use audience segment criteria instead. + /// Immutable. If true, this ad group uses an Audience resource for audience targeting. + /// If false, this ad group may use audience segment criteria instead. #[prost(bool, tag="1")] pub use_audience_grouped: bool, } } -// Proto file describing the ad group ad resource. +// Proto file describing the ad group ad resource. -/// An ad group ad. +/// An ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAd { - /// Immutable. The resource name of the ad. - /// Ad group ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad group ad resource names have the form: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The status of the ad. + /// The status of the ad. #[prost(enumeration="super::enums::ad_group_ad_status_enum::AdGroupAdStatus", tag="3")] pub status: i32, - /// Immutable. The ad group to which the ad belongs. + /// Immutable. The ad group to which the ad belongs. #[prost(string, optional, tag="9")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad. + /// Immutable. The ad. #[prost(message, optional, tag="5")] pub ad: ::core::option::Option, - /// Output only. Policy information for the ad. + /// Output only. Policy information for the ad. #[prost(message, optional, tag="6")] pub policy_summary: ::core::option::Option, - /// Output only. Overall ad strength for this ad group ad. + /// Output only. Overall ad strength for this ad group ad. #[prost(enumeration="super::enums::ad_strength_enum::AdStrength", tag="7")] pub ad_strength: i32, - /// Output only. A list of recommendations to improve the ad strength. For example, a - /// recommendation could be "Your headlines are a little too similar. - /// Try adding more distinct headlines.". + /// Output only. A list of recommendations to improve the ad strength. For example, a + /// recommendation could be "Your headlines are a little too similar. + /// Try adding more distinct headlines.". #[prost(string, repeated, tag="13")] pub action_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group ad. + /// Output only. The resource names of labels attached to this ad group ad. #[prost(string, repeated, tag="10")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Contains policy information for an ad. +/// Contains policy information for an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdPolicySummary { - /// Output only. The list of policy findings for this ad. + /// Output only. The list of policy findings for this ad. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad is. + /// Output only. Where in the review process this ad is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad, calculated based on the status of - /// its individual policy topic entries. + /// Output only. The overall approval status of this ad, calculated based on the status of + /// its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the asset combination view resource. +// Proto file describing the asset combination view resource. -/// A view on the usage of ad group ad asset combination. -/// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, -/// with more ad types planned for the future. +/// A view on the usage of ad group ad asset combination. +/// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, +/// with more ad types planned for the future. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetCombinationView { - /// Output only. The resource name of the ad group ad asset combination view. The - /// combination ID is 128 bits long, where the upper 64 bits are stored in - /// asset_combination_id_high, and the lower 64 bits are stored in - /// asset_combination_id_low. - /// AdGroupAd Asset Combination view resource names have the form: - /// `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` + /// Output only. The resource name of the ad group ad asset combination view. The + /// combination ID is 128 bits long, where the upper 64 bits are stored in + /// asset_combination_id_high, and the lower 64 bits are stored in + /// asset_combination_id_low. + /// AdGroupAd Asset Combination view resource names have the form: + /// `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Served assets. + /// Output only. Served assets. #[prost(message, repeated, tag="2")] pub served_assets: ::prost::alloc::vec::Vec, - /// Output only. The status between the asset combination and the latest version of the ad. - /// If true, the asset combination is linked to the latest version of the ad. - /// If false, it means the link once existed but has been removed and is no - /// longer present in the latest version of the ad. + /// Output only. The status between the asset combination and the latest version of the ad. + /// If true, the asset combination is linked to the latest version of the ad. + /// If false, it means the link once existed but has been removed and is no + /// longer present in the latest version of the ad. #[prost(bool, optional, tag="3")] pub enabled: ::core::option::Option, } -// Proto file describing the ad group ad asset view resource. +// Proto file describing the ad group ad asset view resource. -/// A link between an AdGroupAd and an Asset. -/// Currently we only support AdGroupAdAssetView for AppAds. +/// A link between an AdGroupAd and an Asset. +/// Currently we only support AdGroupAdAssetView for AppAds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetView { - /// Output only. The resource name of the ad group ad asset view. - /// Ad group ad asset view resource names have the form (Before V4): + /// Output only. The resource name of the ad group ad asset view. + /// Ad group ad asset view resource names have the form (Before V4): /// - /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` /// - /// Ad group ad asset view resource names have the form (Beginning from V4): + /// Ad group ad asset view resource names have the form (Beginning from V4): /// - /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ad group ad to which the asset is linked. + /// Output only. The ad group ad to which the asset is linked. #[prost(string, optional, tag="9")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The asset which is linked to the ad group ad. + /// Output only. The asset which is linked to the ad group ad. #[prost(string, optional, tag="10")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Role that the asset takes in the ad. + /// Output only. Role that the asset takes in the ad. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="2")] pub field_type: i32, - /// Output only. The status between the asset and the latest version of the ad. If true, the - /// asset is linked to the latest version of the ad. If false, it means the - /// link once existed but has been removed and is no longer present in the - /// latest version of the ad. + /// Output only. The status between the asset and the latest version of the ad. If true, the + /// asset is linked to the latest version of the ad. If false, it means the + /// link once existed but has been removed and is no longer present in the + /// latest version of the ad. #[prost(bool, optional, tag="8")] pub enabled: ::core::option::Option, - /// Output only. Policy information for the ad group ad asset. + /// Output only. Policy information for the ad group ad asset. #[prost(message, optional, tag="3")] pub policy_summary: ::core::option::Option, - /// Output only. Performance of an asset linkage. + /// Output only. Performance of an asset linkage. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="4")] pub performance_label: i32, } -/// Contains policy information for an ad group ad asset. +/// Contains policy information for an ad group ad asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetPolicySummary { - /// Output only. The list of policy findings for the ad group ad asset. + /// Output only. The list of policy findings for the ad group ad asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad group ad asset is. + /// Output only. Where in the review process this ad group ad asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad group ad asset, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of this ad group ad asset, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the ad group ad label resource. +// Proto file describing the ad group ad label resource. -/// A relationship between an ad group ad and a label. +/// A relationship between an ad group ad and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabel { - /// Immutable. The resource name of the ad group ad label. - /// Ad group ad label resource names have the form: - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + /// Immutable. The resource name of the ad group ad label. + /// Ad group ad label resource names have the form: + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group ad to which the label is attached. + /// Immutable. The ad group ad to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group ad. + /// Immutable. The label assigned to the ad group ad. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the AdGroupAsset resource. +// Proto file describing the AdGroupAsset resource. -/// A link between an ad group and an asset. +/// A link between an ad group and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAsset { - /// Immutable. The resource name of the ad group asset. - /// AdGroupAsset resource names have the form: + /// Immutable. The resource name of the ad group asset. + /// AdGroupAsset resource names have the form: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The ad group to which the asset is linked. + /// Required. Immutable. The ad group to which the asset is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the ad group. + /// Required. Immutable. The asset which is linked to the ad group. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes under the linked ad group. + /// Required. Immutable. Role that the asset takes under the linked ad group. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Status of the ad group asset. + /// Status of the ad group asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the ad group audience view resource. +// Proto file describing the ad group audience view resource. -/// An ad group audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated at the audience level. +/// An ad group audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated at the audience level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAudienceView { - /// Output only. The resource name of the ad group audience view. - /// Ad group audience view resource names have the form: + /// Output only. The resource name of the ad group audience view. + /// Ad group audience view resource names have the form: /// - /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the ad group bid modifier resource. +// Proto file describing the ad group bid modifier resource. -/// Represents an ad group bid modifier. +/// Represents an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifier { - /// Immutable. The resource name of the ad group bid modifier. - /// Ad group bid modifier resource names have the form: + /// Immutable. The resource name of the ad group bid modifier. + /// Ad group bid modifier resource names have the form: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which this criterion belongs. + /// Immutable. The ad group to which this criterion belongs. #[prost(string, optional, tag="13")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="14")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - /// Use 0 to opt out of a Device type. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. + /// Use 0 to opt out of a Device type. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Output only. The base ad group from which this draft/trial adgroup bid modifier was - /// created. If ad_group is a base ad group then this field will be equal to - /// ad_group. If the ad group was created in the draft or trial and has no - /// corresponding base ad group, then this field will be null. - /// This field is readonly. + /// Output only. The base ad group from which this draft/trial adgroup bid modifier was + /// created. If ad_group is a base ad group then this field will be equal to + /// ad_group. If the ad group was created in the draft or trial and has no + /// corresponding base ad group, then this field will be null. + /// This field is readonly. #[prost(string, optional, tag="16")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Bid modifier source. + /// Output only. Bid modifier source. #[prost(enumeration="super::enums::bid_modifier_source_enum::BidModifierSource", tag="10")] pub bid_modifier_source: i32, - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="ad_group_bid_modifier::Criterion", tags="5, 6, 7, 8, 11, 12, 17")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifier`. pub mod ad_group_bid_modifier { - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for hotel date selection (default dates vs. user selected). + /// Immutable. Criterion for hotel date selection (default dates vs. user selected). #[prost(message, tag="5")] HotelDateSelectionType(super::super::common::HotelDateSelectionTypeInfo), - /// Immutable. Criterion for number of days prior to the stay the booking is being made. + /// Immutable. Criterion for number of days prior to the stay the booking is being made. #[prost(message, tag="6")] HotelAdvanceBookingWindow(super::super::common::HotelAdvanceBookingWindowInfo), - /// Immutable. Criterion for length of hotel stay in nights. + /// Immutable. Criterion for length of hotel stay in nights. #[prost(message, tag="7")] HotelLengthOfStay(super::super::common::HotelLengthOfStayInfo), - /// Immutable. Criterion for day of the week the booking is for. + /// Immutable. Criterion for day of the week the booking is for. #[prost(message, tag="8")] HotelCheckInDay(super::super::common::HotelCheckInDayInfo), - /// Immutable. A device criterion. + /// Immutable. A device criterion. #[prost(message, tag="11")] Device(super::super::common::DeviceInfo), - /// Immutable. A preferred content criterion. + /// Immutable. A preferred content criterion. #[prost(message, tag="12")] PreferredContent(super::super::common::PreferredContentInfo), - /// Immutable. Criterion for a hotel check-in date range. + /// Immutable. Criterion for a hotel check-in date range. #[prost(message, tag="17")] HotelCheckInDateRange(super::super::common::HotelCheckInDateRangeInfo), } } -// Proto file describing the ad group criterion resource. +// Proto file describing the ad group criterion resource. -/// An ad group criterion. +/// An ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterion { - /// Immutable. The resource name of the ad group criterion. - /// Ad group criterion resource names have the form: + /// Immutable. The resource name of the ad group criterion. + /// Ad group criterion resource names have the form: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="56")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="77")] pub display_name: ::prost::alloc::string::String, - /// The status of the criterion. - /// - /// This is the status of the ad group criterion entity, set by the client. - /// Note: UI reports may incorporate additional information that affects - /// whether a criterion is eligible to run. In some cases a criterion that's - /// REMOVED in the API can still show as enabled in the UI. - /// For example, campaigns by default show to users of all age ranges unless - /// excluded. The UI will show each age range as "enabled", since they're - /// eligible to see the ads; but AdGroupCriterion.status will show "removed", - /// since no positive criterion was added. + /// The status of the criterion. + /// + /// This is the status of the ad group criterion entity, set by the client. + /// Note: UI reports may incorporate additional information that affects + /// whether a criterion is eligible to run. In some cases a criterion that's + /// REMOVED in the API can still show as enabled in the UI. + /// For example, campaigns by default show to users of all age ranges unless + /// excluded. The UI will show each age range as "enabled", since they're + /// eligible to see the ads; but AdGroupCriterion.status will show "removed", + /// since no positive criterion was added. #[prost(enumeration="super::enums::ad_group_criterion_status_enum::AdGroupCriterionStatus", tag="3")] pub status: i32, - /// Output only. Information regarding the quality of the criterion. + /// Output only. Information regarding the quality of the criterion. #[prost(message, optional, tag="4")] pub quality_info: ::core::option::Option, - /// Immutable. The ad group to which the criterion belongs. + /// Immutable. The ad group to which the criterion belongs. #[prost(string, optional, tag="57")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="25")] pub r#type: i32, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. /// - /// This field is immutable. To switch a criterion from positive to negative, - /// remove then re-add it. + /// This field is immutable. To switch a criterion from positive to negative, + /// remove then re-add it. #[prost(bool, optional, tag="58")] pub negative: ::core::option::Option, - /// Output only. Serving status of the criterion. + /// Output only. Serving status of the criterion. #[prost(enumeration="super::enums::criterion_system_serving_status_enum::CriterionSystemServingStatus", tag="52")] pub system_serving_status: i32, - /// Output only. Approval status of the criterion. + /// Output only. Approval status of the criterion. #[prost(enumeration="super::enums::ad_group_criterion_approval_status_enum::AdGroupCriterionApprovalStatus", tag="53")] pub approval_status: i32, - /// Output only. List of disapproval reasons of the criterion. + /// Output only. List of disapproval reasons of the criterion. /// - /// The different reasons for disapproving a criterion can be found here: - /// + /// The different reasons for disapproving a criterion can be found here: + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(string, repeated, tag="59")] pub disapproval_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group criterion. + /// Output only. The resource names of labels attached to this ad group criterion. #[prost(string, repeated, tag="60")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. #[prost(double, optional, tag="61")] pub bid_modifier: ::core::option::Option, - /// The CPC (cost-per-click) bid. + /// The CPC (cost-per-click) bid. #[prost(int64, optional, tag="62")] pub cpc_bid_micros: ::core::option::Option, - /// The CPM (cost-per-thousand viewable impressions) bid. + /// The CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="63")] pub cpm_bid_micros: ::core::option::Option, - /// The CPV (cost-per-view) bid. + /// The CPV (cost-per-view) bid. #[prost(int64, optional, tag="64")] pub cpv_bid_micros: ::core::option::Option, - /// The CPC bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The CPC bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="65")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPC (cost-per-click) bid. + /// Output only. The effective CPC (cost-per-click) bid. #[prost(int64, optional, tag="66")] pub effective_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="67")] pub effective_cpm_bid_micros: ::core::option::Option, - /// Output only. The effective CPV (cost-per-view) bid. + /// Output only. The effective CPV (cost-per-view) bid. #[prost(int64, optional, tag="68")] pub effective_cpv_bid_micros: ::core::option::Option, - /// Output only. The effective Percent CPC bid amount. + /// Output only. The effective Percent CPC bid amount. #[prost(int64, optional, tag="69")] pub effective_percent_cpc_bid_micros: ::core::option::Option, - /// Output only. Source of the effective CPC bid. + /// Output only. Source of the effective CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="21")] pub effective_cpc_bid_source: i32, - /// Output only. Source of the effective CPM bid. + /// Output only. Source of the effective CPM bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="22")] pub effective_cpm_bid_source: i32, - /// Output only. Source of the effective CPV bid. + /// Output only. Source of the effective CPV bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="23")] pub effective_cpv_bid_source: i32, - /// Output only. Source of the effective Percent CPC bid. + /// Output only. Source of the effective Percent CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="35")] pub effective_percent_cpc_bid_source: i32, - /// Output only. Estimates for criterion bids at various positions. + /// Output only. Estimates for criterion bids at various positions. #[prost(message, optional, tag="10")] pub position_estimates: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="70")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of possible final mobile URLs after all cross-domain redirects. + /// The list of possible final mobile URLs after all cross-domain redirects. #[prost(string, repeated, tag="71")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for appending params to final URL. + /// URL template for appending params to final URL. #[prost(string, optional, tag="72")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="73")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="14")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="ad_group_criterion::Criterion", tags="27, 28, 29, 30, 32, 36, 37, 38, 39, 42, 40, 41, 43, 45, 46, 47, 48, 49, 74, 75, 79")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterion`. pub mod ad_group_criterion { - /// A container for ad group criterion quality information. + /// A container for ad group criterion quality information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityInfo { - /// Output only. The quality score. + /// Output only. The quality score. /// - /// This field may not be populated if Google does not have enough - /// information to determine a value. + /// This field may not be populated if Google does not have enough + /// information to determine a value. #[prost(int32, optional, tag="5")] pub quality_score: ::core::option::Option, - /// Output only. The performance of the ad compared to other advertisers. + /// Output only. The performance of the ad compared to other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="2")] pub creative_quality_score: i32, - /// Output only. The quality score of the landing page. + /// Output only. The quality score of the landing page. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="3")] pub post_click_quality_score: i32, - /// Output only. The click-through rate compared to that of other advertisers. + /// Output only. The click-through rate compared to that of other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="4")] pub search_predicted_ctr: i32, } - /// Estimates for criterion bids at various positions. + /// Estimates for criterion bids at various positions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositionEstimates { - /// Output only. The estimate of the CPC bid required for ad to be shown on first - /// page of search results. + /// Output only. The estimate of the CPC bid required for ad to be shown on first + /// page of search results. #[prost(int64, optional, tag="6")] pub first_page_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed in first - /// position, at the top of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed in first + /// position, at the top of the first page of search results. #[prost(int64, optional, tag="7")] pub first_position_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed at the top - /// of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed at the top + /// of the first page of search results. #[prost(int64, optional, tag="8")] pub top_of_page_cpc_micros: ::core::option::Option, - /// Output only. Estimate of how many clicks per week you might get by changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how many clicks per week you might get by changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="9")] pub estimated_add_clicks_at_first_position_cpc: ::core::option::Option, - /// Output only. Estimate of how your cost per week might change when changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how your cost per week might change when changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="10")] pub estimated_add_cost_at_first_position_cpc: ::core::option::Option, } - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="27")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="28")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="29")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="30")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Listing group. + /// Immutable. Listing group. #[prost(message, tag="32")] ListingGroup(super::super::common::ListingGroupInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="36")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="37")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="38")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="39")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="42")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="40")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="41")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="43")] Topic(super::super::common::TopicInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="45")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage + /// Immutable. Webpage #[prost(message, tag="46")] Webpage(super::super::common::WebpageInfo), - /// Immutable. App Payment Model. + /// Immutable. App Payment Model. #[prost(message, tag="47")] AppPaymentModel(super::super::common::AppPaymentModelInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="48")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Intent. + /// Immutable. Custom Intent. #[prost(message, tag="49")] CustomIntent(super::super::common::CustomIntentInfo), - /// Immutable. Custom Audience. + /// Immutable. Custom Audience. #[prost(message, tag="74")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="75")] CombinedAudience(super::super::common::CombinedAudienceInfo), - /// Immutable. Audience. + /// Immutable. Audience. #[prost(message, tag="79")] Audience(super::super::common::AudienceInfo), } } -/// A customizer value for the associated CustomizerAttribute at the -/// AdGroupCriterion level. +/// A customizer value for the associated CustomizerAttribute at the +/// AdGroupCriterion level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizer { - /// Immutable. The resource name of the ad group criterion customizer. - /// Ad group criterion customizer resource names have the form: + /// Immutable. The resource name of the ad group criterion customizer. + /// Ad group criterion customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the customizer attribute is linked. - /// It must be a keyword criterion. + /// Immutable. The ad group criterion to which the customizer attribute is linked. + /// It must be a keyword criterion. #[prost(string, optional, tag="2")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. + /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group criterion customizer. + /// Output only. The status of the ad group criterion customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the ad group criterion label resource. +// Proto file describing the ad group criterion label resource. -/// A relationship between an ad group criterion and a label. +/// A relationship between an ad group criterion and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabel { - /// Immutable. The resource name of the ad group criterion label. - /// Ad group criterion label resource names have the form: - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// Immutable. The resource name of the ad group criterion label. + /// Ad group criterion label resource names have the form: + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the label is attached. + /// Immutable. The ad group criterion to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group criterion. + /// Immutable. The label assigned to the ad group criterion. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group criterion simulation resource. +// Proto file describing the ad group criterion simulation resource. -/// An ad group criterion simulation. Supported combinations of advertising -/// channel type, criterion type, simulation type, and simulation modification -/// method are detailed below respectively. Hotel AdGroupCriterion simulation -/// operations starting in V5. +/// An ad group criterion simulation. Supported combinations of advertising +/// channel type, criterion type, simulation type, and simulation modification +/// method are detailed below respectively. Hotel AdGroupCriterion simulation +/// operations starting in V5. /// -/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM +/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM +/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM +/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM +/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM +/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionSimulation { - /// Output only. The resource name of the ad group criterion simulation. - /// Ad group criterion simulation resource names have the form: + /// Output only. The resource name of the ad group criterion simulation. + /// Ad group criterion simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. AdGroup ID of the simulation. + /// Output only. AdGroup ID of the simulation. #[prost(int64, optional, tag="9")] pub ad_group_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_criterion_simulation::PointList", tags="8, 13")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionSimulation`. pub mod ad_group_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. #[prost(message, tag="13")] PercentCpcBidPointList(super::super::common::PercentCpcBidSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the AdGroup -/// level. +/// A customizer value for the associated CustomizerAttribute at the AdGroup +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizer { - /// Immutable. The resource name of the ad group customizer. - /// Ad group customizer resource names have the form: + /// Immutable. The resource name of the ad group customizer. + /// Ad group customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the customizer attribute is linked. + /// Immutable. The ad group to which the customizer attribute is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the ad group. + /// Required. Immutable. The customizer attribute which is linked to the ad group. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group customizer. + /// Output only. The status of the ad group customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the AdGroupExtensionSetting resource. +// Proto file describing the AdGroupExtensionSetting resource. -/// An ad group extension setting. +/// An ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSetting { - /// Immutable. The resource name of the ad group extension setting. - /// AdGroupExtensionSetting resource names have the form: + /// Immutable. The resource name of the ad group extension setting. + /// AdGroupExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the ad group extension setting. + /// Immutable. The extension type of the ad group extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the ad group. The linked extension feed items will - /// serve under this ad group. - /// AdGroup resource names have the form: + /// Immutable. The resource name of the ad group. The linked extension feed items will + /// serve under this ad group. + /// AdGroup resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the ad group. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the ad group. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the AdGroupFeed resource. +// Proto file describing the AdGroupFeed resource. -/// An ad group feed. +/// An ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeed { - /// Immutable. The resource name of the ad group feed. - /// Ad group feed resource names have the form: + /// Immutable. The resource name of the ad group feed. + /// Ad group feed resource names have the form: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the ad group. + /// Immutable. The feed being linked to the ad group. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad group being linked to the feed. + /// Immutable. The ad group being linked to the feed. #[prost(string, optional, tag="8")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// ad group. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// ad group. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the AdGroupFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the AdGroupFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the ad group feed. - /// This field is read-only. + /// Output only. Status of the ad group feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the ad group label resource. +// Proto file describing the ad group label resource. -/// A relationship between an ad group and a label. +/// A relationship between an ad group and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabel { - /// Immutable. The resource name of the ad group label. - /// Ad group label resource names have the form: - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// Immutable. The resource name of the ad group label. + /// Ad group label resource names have the form: + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the label is attached. + /// Immutable. The ad group to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group. + /// Immutable. The label assigned to the ad group. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group simulation resource. +// Proto file describing the ad group simulation resource. -/// An ad group simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification method is -/// detailed below respectively. +/// An ad group simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification method is +/// detailed below respectively. /// -/// 1. SEARCH - CPC_BID - DEFAULT -/// 2. SEARCH - CPC_BID - UNIFORM -/// 3. SEARCH - TARGET_CPA - UNIFORM -/// 4. SEARCH - TARGET_ROAS - UNIFORM -/// 5. DISPLAY - CPC_BID - DEFAULT -/// 6. DISPLAY - CPC_BID - UNIFORM -/// 7. DISPLAY - TARGET_CPA - UNIFORM +/// 1. SEARCH - CPC_BID - DEFAULT +/// 2. SEARCH - CPC_BID - UNIFORM +/// 3. SEARCH - TARGET_CPA - UNIFORM +/// 4. SEARCH - TARGET_ROAS - UNIFORM +/// 5. DISPLAY - CPC_BID - DEFAULT +/// 6. DISPLAY - CPC_BID - UNIFORM +/// 7. DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupSimulation { - /// Output only. The resource name of the ad group simulation. - /// Ad group simulation resource names have the form: + /// Output only. The resource name of the ad group simulation. + /// Ad group simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Ad group id of the simulation. + /// Output only. Ad group id of the simulation. #[prost(int64, optional, tag="12")] pub ad_group_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="13")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, optional, tag="14")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_simulation::PointList", tags="8, 10, 9, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupSimulation`. pub mod ad_group_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is CPV_BID. + /// Output only. Simulation points if the simulation type is CPV_BID. #[prost(message, tag="10")] CpvBidPointList(super::super::common::CpvBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="9")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="11")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the ad parameter resource. +// Proto file describing the ad parameter resource. -/// An ad parameter that is used to update numeric values (such as prices or -/// inventory levels) in any text line of an ad (including URLs). There can -/// be a maximum of two AdParameters per ad group criterion. (One with -/// parameter_index = 1 and one with parameter_index = 2.) -/// In the ad the parameters are referenced by a placeholder of the form -/// "{param#:value}". E.g. "{param1:$17}" +/// An ad parameter that is used to update numeric values (such as prices or +/// inventory levels) in any text line of an ad (including URLs). There can +/// be a maximum of two AdParameters per ad group criterion. (One with +/// parameter_index = 1 and one with parameter_index = 2.) +/// In the ad the parameters are referenced by a placeholder of the form +/// "{param#:value}". E.g. "{param1:$17}" #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameter { - /// Immutable. The resource name of the ad parameter. - /// Ad parameter resource names have the form: + /// Immutable. The resource name of the ad parameter. + /// Ad parameter resource names have the form: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion that this ad parameter belongs to. + /// Immutable. The ad group criterion that this ad parameter belongs to. #[prost(string, optional, tag="5")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. + /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. #[prost(int64, optional, tag="6")] pub parameter_index: ::core::option::Option, - /// Numeric value to insert into the ad text. The following restrictions + /// Numeric value to insert into the ad text. The following restrictions /// apply: /// - Can use comma or period as a separator, with an optional period or /// comma (respectively) for fractional values. For example, 1,000,000.00 @@ -1714,2408 +1714,2408 @@ pub struct AdParameter { #[prost(string, optional, tag="7")] pub insertion_text: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad schedule view resource. +// Proto file describing the ad schedule view resource. -/// An ad schedule view summarizes the performance of campaigns by -/// AdSchedule criteria. +/// An ad schedule view summarizes the performance of campaigns by +/// AdSchedule criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleView { - /// Output only. The resource name of the ad schedule view. - /// AdSchedule view resource names have the form: + /// Output only. The resource name of the ad schedule view. + /// AdSchedule view resource names have the form: /// - /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the age range view resource. +// Proto file describing the age range view resource. -/// An age range view. +/// An age range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeView { - /// Output only. The resource name of the age range view. - /// Age range view resource names have the form: + /// Output only. The resource name of the age range view. + /// Age range view resource names have the form: /// - /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the asset resource. +// Proto file describing the asset resource. -/// Asset is a part of an ad which can be shared across multiple ads. -/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -/// Assets are immutable and cannot be removed. To stop an asset from serving, -/// remove the asset from the entity that is using it. +/// Asset is a part of an ad which can be shared across multiple ads. +/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. +/// Assets are immutable and cannot be removed. To stop an asset from serving, +/// remove the asset from the entity that is using it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// Immutable. The resource name of the asset. - /// Asset resource names have the form: + /// Immutable. The resource name of the asset. + /// Asset resource names have the form: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset. + /// Output only. The ID of the asset. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Optional name of the asset. + /// Optional name of the asset. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the asset. + /// Output only. Type of the asset. #[prost(enumeration="super::enums::asset_type_enum::AssetType", tag="4")] pub r#type: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="14")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="16")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="17")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="18")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="19")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Policy information for the asset. + /// Output only. Policy information for the asset. #[prost(message, optional, tag="13")] pub policy_summary: ::core::option::Option, - /// The specific type of the asset. + /// The specific type of the asset. #[prost(oneof="asset::AssetData", tags="5, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37")] pub asset_data: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// The specific type of the asset. + /// The specific type of the asset. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AssetData { - /// Immutable. A YouTube video asset. + /// Immutable. A YouTube video asset. #[prost(message, tag="5")] YoutubeVideoAsset(super::super::common::YoutubeVideoAsset), - /// Immutable. A media bundle asset. + /// Immutable. A media bundle asset. #[prost(message, tag="6")] MediaBundleAsset(super::super::common::MediaBundleAsset), - /// Output only. An image asset. + /// Output only. An image asset. #[prost(message, tag="7")] ImageAsset(super::super::common::ImageAsset), - /// Immutable. A text asset. + /// Immutable. A text asset. #[prost(message, tag="8")] TextAsset(super::super::common::TextAsset), - /// A lead form asset. + /// A lead form asset. #[prost(message, tag="9")] LeadFormAsset(super::super::common::LeadFormAsset), - /// A book on google asset. + /// A book on google asset. #[prost(message, tag="10")] BookOnGoogleAsset(super::super::common::BookOnGoogleAsset), - /// A promotion asset. + /// A promotion asset. #[prost(message, tag="15")] PromotionAsset(super::super::common::PromotionAsset), - /// A callout asset. + /// A callout asset. #[prost(message, tag="20")] CalloutAsset(super::super::common::CalloutAsset), - /// A structured snippet asset. + /// A structured snippet asset. #[prost(message, tag="21")] StructuredSnippetAsset(super::super::common::StructuredSnippetAsset), - /// A sitelink asset. + /// A sitelink asset. #[prost(message, tag="22")] SitelinkAsset(super::super::common::SitelinkAsset), - /// A page feed asset. + /// A page feed asset. #[prost(message, tag="23")] PageFeedAsset(super::super::common::PageFeedAsset), - /// A dynamic education asset. + /// A dynamic education asset. #[prost(message, tag="24")] DynamicEducationAsset(super::super::common::DynamicEducationAsset), - /// A mobile app asset. + /// A mobile app asset. #[prost(message, tag="25")] MobileAppAsset(super::super::common::MobileAppAsset), - /// A hotel callout asset. + /// A hotel callout asset. #[prost(message, tag="26")] HotelCalloutAsset(super::super::common::HotelCalloutAsset), - /// A call asset. + /// A call asset. #[prost(message, tag="27")] CallAsset(super::super::common::CallAsset), - /// A price asset. + /// A price asset. #[prost(message, tag="28")] PriceAsset(super::super::common::PriceAsset), - /// Immutable. A call to action asset. + /// Immutable. A call to action asset. #[prost(message, tag="29")] CallToActionAsset(super::super::common::CallToActionAsset), - /// A dynamic real estate asset. + /// A dynamic real estate asset. #[prost(message, tag="30")] DynamicRealEstateAsset(super::super::common::DynamicRealEstateAsset), - /// A dynamic custom asset. + /// A dynamic custom asset. #[prost(message, tag="31")] DynamicCustomAsset(super::super::common::DynamicCustomAsset), - /// A dynamic hotels and rentals asset. + /// A dynamic hotels and rentals asset. #[prost(message, tag="32")] DynamicHotelsAndRentalsAsset(super::super::common::DynamicHotelsAndRentalsAsset), - /// A dynamic flights asset. + /// A dynamic flights asset. #[prost(message, tag="33")] DynamicFlightsAsset(super::super::common::DynamicFlightsAsset), - /// Immutable. A discovery carousel card asset. + /// Immutable. A discovery carousel card asset. #[prost(message, tag="34")] DiscoveryCarouselCardAsset(super::super::common::DiscoveryCarouselCardAsset), - /// A dynamic travel asset. + /// A dynamic travel asset. #[prost(message, tag="35")] DynamicTravelAsset(super::super::common::DynamicTravelAsset), - /// A dynamic local asset. + /// A dynamic local asset. #[prost(message, tag="36")] DynamicLocalAsset(super::super::common::DynamicLocalAsset), - /// A dynamic jobs asset. + /// A dynamic jobs asset. #[prost(message, tag="37")] DynamicJobsAsset(super::super::common::DynamicJobsAsset), } } -/// Contains policy information for an asset. +/// Contains policy information for an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPolicySummary { - /// Output only. The list of policy findings for this asset. + /// Output only. The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this asset is. + /// Output only. Where in the review process this asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this asset, calculated based on the status - /// of its individual policy topic entries. + /// Output only. The overall approval status of this asset, calculated based on the status + /// of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the AssetFieldTypeView resource. +// Proto file describing the AssetFieldTypeView resource. -/// An asset field type view. -/// This view reports non-overcounted metrics for each asset field type when the -/// asset is used as extension. +/// An asset field type view. +/// This view reports non-overcounted metrics for each asset field type when the +/// asset is used as extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeView { - /// Output only. The resource name of the asset field type view. - /// Asset field type view resource names have the form: + /// Output only. The resource name of the asset field type view. + /// Asset field type view resource names have the form: /// - /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` + /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The asset field type of the asset field type view. + /// Output only. The asset field type of the asset field type view. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, } -/// An asset group. -/// AssetGroupAsset is used to link an asset to the asset group. -/// AssetGroupSignal is used to associate a signal to an asset group. +/// An asset group. +/// AssetGroupAsset is used to link an asset to the asset group. +/// AssetGroupSignal is used to associate a signal to an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroup { - /// Immutable. The resource name of the asset group. - /// Asset group resource names have the form: + /// Immutable. The resource name of the asset group. + /// Asset group resource names have the form: /// - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset group. + /// Output only. The ID of the asset group. #[prost(int64, tag="9")] pub id: i64, - /// Immutable. The campaign with which this asset group is associated. - /// The asset which is linked to the asset group. + /// Immutable. The campaign with which this asset group is associated. + /// The asset which is linked to the asset group. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Name of the asset group. Required. It must have a minimum length of 1 and - /// maximum length of 128. It must be unique under a campaign. + /// Required. Name of the asset group. Required. It must have a minimum length of 1 and + /// maximum length of 128. It must be unique under a campaign. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// A list of final URLs after all cross domain redirects. In performance max, - /// by default, the urls are eligible for expansion unless opted out. + /// A list of final URLs after all cross domain redirects. In performance max, + /// by default, the urls are eligible for expansion unless opted out. #[prost(string, repeated, tag="4")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final mobile URLs after all cross domain redirects. In - /// performance max, by default, the urls are eligible for expansion - /// unless opted out. + /// A list of final mobile URLs after all cross domain redirects. In + /// performance max, by default, the urls are eligible for expansion + /// unless opted out. #[prost(string, repeated, tag="5")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the asset group. + /// The status of the asset group. #[prost(enumeration="super::enums::asset_group_status_enum::AssetGroupStatus", tag="6")] pub status: i32, - /// First part of text that may appear appended to the url displayed in - /// the ad. + /// First part of text that may appear appended to the url displayed in + /// the ad. #[prost(string, tag="7")] pub path1: ::prost::alloc::string::String, - /// Second part of text that may appear appended to the url displayed in - /// the ad. This field can only be set when path1 is set. + /// Second part of text that may appear appended to the url displayed in + /// the ad. This field can only be set when path1 is set. #[prost(string, tag="8")] pub path2: ::prost::alloc::string::String, } -/// AssetGroupAsset is the link between an asset and an asset group. -/// Adding an AssetGroupAsset links an asset with an asset group. +/// AssetGroupAsset is the link between an asset and an asset group. +/// Adding an AssetGroupAsset links an asset with an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAsset { - /// Immutable. The resource name of the asset group asset. - /// Asset group asset resource name have the form: + /// Immutable. The resource name of the asset group asset. + /// Asset group asset resource name have the form: /// - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group asset is linking. + /// Immutable. The asset group which this asset group asset is linking. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Immutable. The asset which this asset group asset is linking. + /// Immutable. The asset which this asset group asset is linking. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// The description of the placement of the asset within the asset group. E.g.: - /// HEADLINE, YOUTUBE_VIDEO etc + /// The description of the placement of the asset within the asset group. E.g.: + /// HEADLINE, YOUTUBE_VIDEO etc #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// The status of the link between an asset and asset group. + /// The status of the link between an asset and asset group. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, - /// Output only. The performance of this asset group asset. + /// Output only. The performance of this asset group asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="6")] pub performance_label: i32, - /// Output only. The policy information for this asset group asset. + /// Output only. The policy information for this asset group asset. #[prost(message, optional, tag="7")] pub policy_summary: ::core::option::Option, } -/// AssetGroupListingGroupFilter represents a listing group filter tree node in -/// an asset group. +/// AssetGroupListingGroupFilter represents a listing group filter tree node in +/// an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilter { - /// Immutable. The resource name of the asset group listing group filter. - /// Asset group listing group filter resource name have the form: + /// Immutable. The resource name of the asset group listing group filter. + /// Asset group listing group filter resource name have the form: /// - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group listing group filter is part of. + /// Immutable. The asset group which this asset group listing group filter is part of. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Output only. The ID of the ListingGroupFilter. + /// Output only. The ID of the ListingGroupFilter. #[prost(int64, tag="3")] pub id: i64, - /// Immutable. Type of a listing group filter node. + /// Immutable. Type of a listing group filter node. #[prost(enumeration="super::enums::listing_group_filter_type_enum::ListingGroupFilterType", tag="4")] pub r#type: i32, - /// Immutable. The vertical the current node tree represents. All nodes in the same tree - /// must belong to the same vertical. + /// Immutable. The vertical the current node tree represents. All nodes in the same tree + /// must belong to the same vertical. #[prost(enumeration="super::enums::listing_group_filter_vertical_enum::ListingGroupFilterVertical", tag="5")] pub vertical: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="6")] pub case_value: ::core::option::Option, - /// Immutable. Resource name of the parent listing group subdivision. Null for the root - /// listing group filter node. + /// Immutable. Resource name of the parent listing group subdivision. Null for the root + /// listing group filter node. #[prost(string, tag="7")] pub parent_listing_group_filter: ::prost::alloc::string::String, } -/// Listing dimensions for the asset group listing group filter. +/// Listing dimensions for the asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterDimension { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_group_filter_dimension::Dimension", tags="1, 2, 3, 4, 5, 6, 7")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingGroupFilterDimension`. pub mod listing_group_filter_dimension { - /// One element of a bidding category at a certain level. Top-level categories - /// are at level 1, their children at level 2, and so on. We currently support - /// up to 5 levels. The user must specify a dimension type that indicates the - /// level of the category. All cases of the same subdivision must have the same - /// dimension type (category level). + /// One element of a bidding category at a certain level. Top-level categories + /// are at level 1, their children at level 2, and so on. We currently support + /// up to 5 levels. The user must specify a dimension type that indicates the + /// level of the category. All cases of the same subdivision must have the same + /// dimension type (category level). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategory { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="1")] pub id: ::core::option::Option, - /// Indicates the level of the category in the taxonomy. + /// Indicates the level of the category in the taxonomy. #[prost(enumeration="super::super::enums::listing_group_filter_bidding_category_level_enum::ListingGroupFilterBiddingCategoryLevel", tag="2")] pub level: i32, } - /// Brand of the product. + /// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrand { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Locality of a product offer. + /// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannel { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::super::enums::listing_group_filter_product_channel_enum::ListingGroupFilterProductChannel", tag="1")] pub channel: i32, } - /// Condition of a product offer. + /// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCondition { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::super::enums::listing_group_filter_product_condition_enum::ListingGroupFilterProductCondition", tag="1")] pub condition: i32, } - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttribute { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::super::enums::listing_group_filter_custom_attribute_index_enum::ListingGroupFilterCustomAttributeIndex", tag="2")] pub index: i32, } - /// Item id of a product offer. + /// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemId { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Type of a product offer. + /// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductType { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::super::enums::listing_group_filter_product_type_level_enum::ListingGroupFilterProductTypeLevel", tag="2")] pub level: i32, } - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="1")] ProductBiddingCategory(ProductBiddingCategory), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="2")] ProductBrand(ProductBrand), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="3")] ProductChannel(ProductChannel), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="4")] ProductCondition(ProductCondition), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="5")] ProductCustomAttribute(ProductCustomAttribute), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="6")] ProductItemId(ProductItemId), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="7")] ProductType(ProductType), } } -// Proto file describing the AssetGroupProductGroupView resource. +// Proto file describing the AssetGroupProductGroupView resource. -/// An asset group product group view. +/// An asset group product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupProductGroupView { - /// Output only. The resource name of the asset group product group view. - /// Asset group product group view resource names have the form: + /// Output only. The resource name of the asset group product group view. + /// Asset group product group view resource names have the form: /// - /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The asset group associated with the listing group filter. + /// Output only. The asset group associated with the listing group filter. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Output only. The resource name of the asset group listing group filter. + /// Output only. The resource name of the asset group listing group filter. #[prost(string, tag="4")] pub asset_group_listing_group_filter: ::prost::alloc::string::String, } -/// AssetGroupSignal represents a signal in an asset group. The existence of a -/// signal tells the performance max campaign who's most likely to convert. -/// Performance Max uses the signal to look for new people with similar or -/// stronger intent to find conversions across Search, Display, Video, and more. +/// AssetGroupSignal represents a signal in an asset group. The existence of a +/// signal tells the performance max campaign who's most likely to convert. +/// Performance Max uses the signal to look for new people with similar or +/// stronger intent to find conversions across Search, Display, Video, and more. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupSignal { - /// Immutable. The resource name of the asset group signal. - /// Asset group signal resource name have the form: + /// Immutable. The resource name of the asset group signal. + /// Asset group signal resource name have the form: /// - /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` + /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group signal belongs to. + /// Immutable. The asset group which this asset group signal belongs to. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Immutable. The signal(audience criterion) to be used by the performance max campaign. + /// Immutable. The signal(audience criterion) to be used by the performance max campaign. #[prost(message, optional, tag="3")] pub audience: ::core::option::Option, } -/// An asset set representing a collection of assets. -/// Use AssetSetAsset to link an asset to the asset set. +/// An asset set representing a collection of assets. +/// Use AssetSetAsset to link an asset to the asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSet { - /// Output only. The ID of the asset set. + /// Output only. The ID of the asset set. #[prost(int64, tag="6")] pub id: i64, - /// Immutable. The resource name of the asset set. - /// Asset set resource names have the form: + /// Immutable. The resource name of the asset set. + /// Asset set resource names have the form: /// - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Name of the asset set. Required. It must have a minimum length of 1 and - /// maximum length of 128. + /// Required. Name of the asset set. Required. It must have a minimum length of 1 and + /// maximum length of 128. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of the asset set. Required. + /// Required. Immutable. The type of the asset set. Required. #[prost(enumeration="super::enums::asset_set_type_enum::AssetSetType", tag="3")] pub r#type: i32, - /// Output only. The status of the asset set. Read-only. + /// Output only. The status of the asset set. Read-only. #[prost(enumeration="super::enums::asset_set_status_enum::AssetSetStatus", tag="4")] pub status: i32, - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[prost(message, optional, tag="5")] pub merchant_center_feed: ::core::option::Option, } /// Nested message and enum types in `AssetSet`. pub mod asset_set { - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterFeed { - /// Required. Merchant ID from Google Merchant Center + /// Required. Merchant ID from Google Merchant Center #[prost(int64, tag="1")] pub merchant_id: i64, - /// Optional. Feed Label from Google Merchant Center. + /// Optional. Feed Label from Google Merchant Center. #[prost(string, optional, tag="2")] pub feed_label: ::core::option::Option<::prost::alloc::string::String>, } } -/// AssetSetAsset is the link between an asset and an asset set. -/// Adding an AssetSetAsset links an asset with an asset set. +/// AssetSetAsset is the link between an asset and an asset set. +/// Adding an AssetSetAsset links an asset with an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAsset { - /// Immutable. The resource name of the asset set asset. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the asset set asset. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset set which this asset set asset is linking to. + /// Immutable. The asset set which this asset set asset is linking to. #[prost(string, tag="2")] pub asset_set: ::prost::alloc::string::String, - /// Immutable. The asset which this asset set asset is linking to. + /// Immutable. The asset which this asset set asset is linking to. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Output only. The status of the asset set asset. Read-only. + /// Output only. The status of the asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_asset_status_enum::AssetSetAssetStatus", tag="4")] pub status: i32, } -// Proto file describing the Audience resource. +// Proto file describing the Audience resource. -/// Audience is an effective targeting option that allows you to -/// intersect different segment attributes, such as detailed demographics and -/// affinities, to create audiences that represent sections of your target -/// segments. +/// Audience is an effective targeting option that allows you to +/// intersect different segment attributes, such as detailed demographics and +/// affinities, to create audiences that represent sections of your target +/// segments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Audience { - /// Immutable. The resource name of the audience. - /// Audience names have the form: + /// Immutable. The resource name of the audience. + /// Audience names have the form: /// - /// `customers/{customer_id}/audiences/{audience_id}` + /// `customers/{customer_id}/audiences/{audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the audience. + /// Output only. ID of the audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this audience. Indicates whether the audience - /// is enabled or removed. + /// Output only. Status of this audience. Indicates whether the audience + /// is enabled or removed. #[prost(enumeration="super::enums::audience_status_enum::AudienceStatus", tag="3")] pub status: i32, - /// Required. Name of the audience. It should be unique across all - /// audiences. It must have a minimum length of 1 and - /// maximum length of 255. + /// Required. Name of the audience. It should be unique across all + /// audiences. It must have a minimum length of 1 and + /// maximum length of 255. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Description of this audience. + /// Description of this audience. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Positive dimensions specifying the audience composition. + /// Positive dimensions specifying the audience composition. #[prost(message, repeated, tag="6")] pub dimensions: ::prost::alloc::vec::Vec, - /// Negative dimension specifying the audience composition. + /// Negative dimension specifying the audience composition. #[prost(message, optional, tag="7")] pub exclusion_dimension: ::core::option::Option, } -// Proto file describing the batch job resource. +// Proto file describing the batch job resource. -/// A list of mutates being processed asynchronously. The mutates are uploaded -/// by the user. The mutates themselves aren't readable and the results of the -/// job can only be read using BatchJobService.ListBatchJobResults. +/// A list of mutates being processed asynchronously. The mutates are uploaded +/// by the user. The mutates themselves aren't readable and the results of the +/// job can only be read using BatchJobService.ListBatchJobResults. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJob { - /// Immutable. The resource name of the batch job. - /// Batch job resource names have the form: + /// Immutable. The resource name of the batch job. + /// Batch job resource names have the form: /// - /// `customers/{customer_id}/batchJobs/{batch_job_id}` + /// `customers/{customer_id}/batchJobs/{batch_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this batch job. + /// Output only. ID of this batch job. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The next sequence token to use when adding operations. Only set when the - /// batch job status is PENDING. + /// Output only. The next sequence token to use when adding operations. Only set when the + /// batch job status is PENDING. #[prost(string, optional, tag="8")] pub next_add_sequence_token: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Contains additional information about this batch job. + /// Output only. Contains additional information about this batch job. #[prost(message, optional, tag="4")] pub metadata: ::core::option::Option, - /// Output only. Status of this batch job. + /// Output only. Status of this batch job. #[prost(enumeration="super::enums::batch_job_status_enum::BatchJobStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion. Only set when the batch job status is RUNNING or DONE. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion. Only set when the batch job status is RUNNING or DONE. #[prost(string, optional, tag="9")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BatchJob`. pub mod batch_job { - /// Additional information about the batch job. This message is also used as - /// metadata returned in batch job Long Running Operations. + /// Additional information about the batch job. This message is also used as + /// metadata returned in batch job Long Running Operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobMetadata { - /// Output only. The time when this batch job was created. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" + /// Output only. The time when this batch job was created. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" #[prost(string, optional, tag="8")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job started running. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" + /// Output only. The time when this batch job started running. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" #[prost(string, optional, tag="7")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job was completed. - /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" + /// Output only. The time when this batch job was completed. + /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" #[prost(string, optional, tag="9")] pub completion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. - /// This is empty if the job hasn't started running yet. + /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. + /// This is empty if the job hasn't started running yet. #[prost(double, optional, tag="10")] pub estimated_completion_ratio: ::core::option::Option, - /// Output only. The number of mutate operations in the batch job. + /// Output only. The number of mutate operations in the batch job. #[prost(int64, optional, tag="11")] pub operation_count: ::core::option::Option, - /// Output only. The number of mutate operations executed by the batch job. - /// Present only if the job has started running. + /// Output only. The number of mutate operations executed by the batch job. + /// Present only if the job has started running. #[prost(int64, optional, tag="12")] pub executed_operation_count: ::core::option::Option, } } -/// Represents a bidding data exclusion. +/// Represents a bidding data exclusion. /// -/// See "About data exclusions" at -/// +/// See "About data exclusions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusion { - /// Immutable. The resource name of the data exclusion. - /// Data exclusion resource names have the form: + /// Immutable. The resource name of the data exclusion. + /// Data exclusion resource names have the form: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the data exclusion. + /// Output only. The ID of the data exclusion. #[prost(int64, tag="2")] pub data_exclusion_id: i64, - /// The scope of the data exclusion. + /// The scope of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the data exclusion. + /// Output only. The status of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss + /// format. /// - /// A data exclusion is backward looking and should be used for events that - /// start in the past and end either in the past or future. + /// A data exclusion is backward looking and should be used for events that + /// start in the past and end either in the past or future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. + /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the data exclusion. The name can be at most 255 - /// characters. + /// The name of the data exclusion. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the data exclusion. The description can be at - /// most 2048 characters. + /// The description of the data exclusion. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this exclusion. - /// Otherwise, only the specified targeted devices will be included in this - /// exclusion. + /// If not specified, all devices will be included in this exclusion. + /// Otherwise, only the specified targeted devices will be included in this + /// exclusion. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// The data exclusion will apply to the campaigns listed when the scope of - /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is - /// 2000. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data exclusion will apply to the campaigns listed when the scope of + /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is + /// 2000. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="10")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The data_exclusion will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// exclusion is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data_exclusion will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// exclusion is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="11")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -/// Represents a bidding seasonality adjustment. +/// Represents a bidding seasonality adjustment. /// -/// See "About seasonality adjustments" at -/// +/// See "About seasonality adjustments" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustment { - /// Immutable. The resource name of the seasonality adjustment. - /// Seasonality adjustment resource names have the form: + /// Immutable. The resource name of the seasonality adjustment. + /// Seasonality adjustment resource names have the form: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the seasonality adjustment. + /// Output only. The ID of the seasonality adjustment. #[prost(int64, tag="2")] pub seasonality_adjustment_id: i64, - /// The scope of the seasonality adjustment. + /// The scope of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the seasonality adjustment. + /// Output only. The status of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd - /// HH:mm:ss format. + /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd + /// HH:mm:ss format. /// - /// A seasonality adjustment is forward looking and should be used for events - /// that start and end in the future. + /// A seasonality adjustment is forward looking and should be used for events + /// that start and end in the future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss + /// format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the seasonality adjustment. The name can be at most 255 - /// characters. + /// The name of the seasonality adjustment. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the seasonality adjustment. The description can be at - /// most 2048 characters. + /// The description of the seasonality adjustment. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this adjustment. - /// Otherwise, only the specified targeted devices will be included in this - /// adjustment. + /// If not specified, all devices will be included in this adjustment. + /// Otherwise, only the specified targeted devices will be included in this + /// adjustment. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// Conversion rate modifier estimated based on expected conversion rate - /// changes. When this field is unset or set to 1.0 no adjustment will be - /// applied to traffic. The allowed range is 0.1 to 10.0. + /// Conversion rate modifier estimated based on expected conversion rate + /// changes. When this field is unset or set to 1.0 no adjustment will be + /// applied to traffic. The allowed range is 0.1 to 10.0. #[prost(double, tag="10")] pub conversion_rate_modifier: f64, - /// The seasonality adjustment will apply to the campaigns listed when the - /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - /// event is 2000. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to the campaigns listed when the + /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per + /// event is 2000. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="11")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The seasonality adjustment will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// adjustment is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// adjustment is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="12")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -// Proto file describing the BiddingStrategy resource +// Proto file describing the BiddingStrategy resource -/// A bidding strategy. +/// A bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategy { - /// Immutable. The resource name of the bidding strategy. - /// Bidding strategy resource names have the form: + /// Immutable. The resource name of the bidding strategy. + /// Bidding strategy resource names have the form: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, optional, tag="16")] pub id: ::core::option::Option, - /// The name of the bidding strategy. - /// All bidding strategies within an account must be named distinctly. + /// The name of the bidding strategy. + /// All bidding strategies within an account must be named distinctly. /// - /// The length of this string should be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string should be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="17")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the bidding strategy. + /// Output only. The status of the bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_status_enum::BiddingStrategyStatus", tag="15")] pub status: i32, - /// Output only. The type of the bidding strategy. - /// Create a bidding strategy by setting the bidding scheme. + /// Output only. The type of the bidding strategy. + /// Create a bidding strategy by setting the bidding scheme. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="5")] pub r#type: i32, - /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this currency can be set on - /// creation and defaults to the manager customer's currency. For serving - /// customers, this field cannot be set; all strategies in a serving customer - /// implicitly use the serving customer's currency. In all cases the - /// effective_currency_code field returns the currency used by the strategy. + /// For bidding strategies in manager customers, this currency can be set on + /// creation and defaults to the manager customer's currency. For serving + /// customers, this field cannot be set; all strategies in a serving customer + /// implicitly use the serving customer's currency. In all cases the + /// effective_currency_code field returns the currency used by the strategy. #[prost(string, tag="23")] pub currency_code: ::prost::alloc::string::String, - /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this is the currency set by - /// the advertiser when creating the strategy. For serving customers, this is - /// the customer's currency_code. + /// For bidding strategies in manager customers, this is the currency set by + /// the advertiser when creating the strategy. For serving customers, this is + /// the customer's currency_code. /// - /// Bidding strategy metrics are reported in this currency. + /// Bidding strategy metrics are reported in this currency. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="20")] pub effective_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The number of campaigns attached to this bidding strategy. + /// Output only. The number of campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="18")] pub campaign_count: ::core::option::Option, - /// Output only. The number of non-removed campaigns attached to this bidding strategy. + /// Output only. The number of non-removed campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="19")] pub non_removed_campaign_count: ::core::option::Option, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="bidding_strategy::Scheme", tags="7, 21, 22, 9, 48, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategy`. pub mod bidding_strategy { - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// A bidding strategy that raises bids for clicks that seem more likely to - /// lead to a conversion and lowers them for clicks where they seem less - /// likely. + /// A bidding strategy that raises bids for clicks that seem more likely to + /// lead to a conversion and lowers them for clicks where they seem less + /// likely. #[prost(message, tag="7")] EnhancedCpc(super::super::common::EnhancedCpc), - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="21")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="22")] MaximizeConversions(super::super::common::MaximizeConversions), - /// A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(super::super::common::TargetCpa), - /// A bidding strategy that automatically optimizes towards a desired - /// percentage of impressions. + /// A bidding strategy that automatically optimizes towards a desired + /// percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(super::super::common::TargetRoas), - /// A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(super::super::common::TargetSpend), } } -// Proto file describing the bidding strategy simulation resource. +// Proto file describing the bidding strategy simulation resource. -/// A bidding strategy simulation. Supported combinations of simulation type -/// and simulation modification method are detailed below respectively. +/// A bidding strategy simulation. Supported combinations of simulation type +/// and simulation modification method are detailed below respectively. /// -/// 1. TARGET_CPA - UNIFORM -/// 2. TARGET_ROAS - UNIFORM +/// 1. TARGET_CPA - UNIFORM +/// 2. TARGET_ROAS - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategySimulation { - /// Output only. The resource name of the bidding strategy simulation. - /// Bidding strategy simulation resource names have the form: + /// Output only. The resource name of the bidding strategy simulation. + /// Bidding strategy simulation resource names have the form: /// - /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Bidding strategy shared set id of the simulation. + /// Output only. Bidding strategy shared set id of the simulation. #[prost(int64, tag="2")] pub bidding_strategy_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="bidding_strategy_simulation::PointList", tags="7, 8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategySimulation`. pub mod bidding_strategy_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="7")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="8")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the BillingSetup resource. +// Proto file describing the BillingSetup resource. -/// A billing setup, which associates a payments account and an advertiser. A -/// billing setup is specific to one advertiser. +/// A billing setup, which associates a payments account and an advertiser. A +/// billing setup is specific to one advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetup { - /// Immutable. The resource name of the billing setup. - /// BillingSetup resource names have the form: + /// Immutable. The resource name of the billing setup. + /// BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the billing setup. + /// Output only. The ID of the billing setup. #[prost(int64, optional, tag="15")] pub id: ::core::option::Option, - /// Output only. The status of the billing setup. + /// Output only. The status of the billing setup. #[prost(enumeration="super::enums::billing_setup_status_enum::BillingSetupStatus", tag="3")] pub status: i32, - /// Immutable. The resource name of the payments account associated with this billing - /// setup. Payments resource names have the form: - /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - /// When setting up billing, this is used to signup with an existing payments - /// account (and then payments_account_info should not be set). - /// When getting a billing setup, this and payments_account_info will be - /// populated. + /// Immutable. The resource name of the payments account associated with this billing + /// setup. Payments resource names have the form: + /// + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// When setting up billing, this is used to signup with an existing payments + /// account (and then payments_account_info should not be set). + /// When getting a billing setup, this and payments_account_info will be + /// populated. #[prost(string, optional, tag="18")] pub payments_account: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The payments account information associated with this billing setup. - /// When setting up billing, this is used to signup with a new payments account - /// (and then payments_account should not be set). - /// When getting a billing setup, this and payments_account will be - /// populated. + /// Immutable. The payments account information associated with this billing setup. + /// When setting up billing, this is used to signup with a new payments account + /// (and then payments_account should not be set). + /// When getting a billing setup, this and payments_account will be + /// populated. #[prost(message, optional, tag="12")] pub payments_account_info: ::core::option::Option, - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[prost(oneof="billing_setup::StartTime", tags="16, 10")] pub start_time: ::core::option::Option, - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[prost(oneof="billing_setup::EndTime", tags="17, 14")] pub end_time: ::core::option::Option, } /// Nested message and enum types in `BillingSetup`. pub mod billing_setup { - /// Container of payments account information for this billing. + /// Container of payments account information for this billing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountInfo { - /// Output only. A 16 digit id used to identify the payments account associated with the - /// billing setup. + /// Output only. A 16 digit id used to identify the payments account associated with the + /// billing setup. /// - /// This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". + /// This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". #[prost(string, optional, tag="6")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the payments account associated with the billing setup. + /// Immutable. The name of the payments account associated with the billing setup. /// - /// This enables the user to specify a meaningful name for a payments account - /// to aid in reconciling monthly invoices. + /// This enables the user to specify a meaningful name for a payments account + /// to aid in reconciling monthly invoices. /// - /// This name will be printed in the monthly invoices. + /// This name will be printed in the monthly invoices. #[prost(string, optional, tag="7")] pub payments_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A 12 digit id used to identify the payments profile associated with the - /// billing setup. + /// Immutable. A 12 digit id used to identify the payments profile associated with the + /// billing setup. /// - /// This must be passed in as a string with dashes, e.g. "1234-5678-9012". + /// This must be passed in as a string with dashes, e.g. "1234-5678-9012". #[prost(string, optional, tag="8")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments profile associated with the billing setup. + /// Output only. The name of the payments profile associated with the billing setup. #[prost(string, optional, tag="9")] pub payments_profile_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile id present in uncommon situations, e.g. - /// when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile id present in uncommon situations, e.g. + /// when a sequential liability agreement has been arranged. #[prost(string, optional, tag="10")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, } - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartTime { - /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a - /// future time is allowed. + /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a + /// future time is allowed. #[prost(string, tag="16")] StartDateTime(::prost::alloc::string::String), - /// Immutable. The start time as a type. Only NOW is allowed. + /// Immutable. The start time as a type. Only NOW is allowed. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="10")] StartTimeType(i32), } - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="17")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a type. The only possible value is FOREVER. + /// Output only. The end time as a type. The only possible value is FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="14")] EndTimeType(i32), } } -// Proto file describing the call view resource. +// Proto file describing the call view resource. -/// A call view that includes data for call tracking of call-only ads or call -/// extensions. +/// A call view that includes data for call tracking of call-only ads or call +/// extensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallView { - /// Output only. The resource name of the call view. - /// Call view resource names have the form: + /// Output only. The resource name of the call view. + /// Call view resource names have the form: /// - /// `customers/{customer_id}/callViews/{call_detail_id}` + /// `customers/{customer_id}/callViews/{call_detail_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Country code of the caller. + /// Output only. Country code of the caller. #[prost(string, tag="2")] pub caller_country_code: ::prost::alloc::string::String, - /// Output only. Area code of the caller. Null if the call duration is shorter than 15 - /// seconds. + /// Output only. Area code of the caller. Null if the call duration is shorter than 15 + /// seconds. #[prost(string, tag="3")] pub caller_area_code: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call duration in seconds. + /// Output only. The advertiser-provided call duration in seconds. #[prost(int64, tag="4")] pub call_duration_seconds: i64, - /// Output only. The advertiser-provided call start date time. + /// Output only. The advertiser-provided call start date time. #[prost(string, tag="5")] pub start_call_date_time: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call end date time. + /// Output only. The advertiser-provided call end date time. #[prost(string, tag="6")] pub end_call_date_time: ::prost::alloc::string::String, - /// Output only. The call tracking display location. + /// Output only. The call tracking display location. #[prost(enumeration="super::enums::call_tracking_display_location_enum::CallTrackingDisplayLocation", tag="7")] pub call_tracking_display_location: i32, - /// Output only. The type of the call. + /// Output only. The type of the call. #[prost(enumeration="super::enums::call_type_enum::CallType", tag="8")] pub r#type: i32, - /// Output only. The status of the call. + /// Output only. The status of the call. #[prost(enumeration="super::enums::google_voice_call_status_enum::GoogleVoiceCallStatus", tag="9")] pub call_status: i32, } -// Proto file describing the Campaign resource. +// Proto file describing the Campaign resource. -/// A campaign. +/// A campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Campaign { - /// Immutable. The resource name of the campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign. + /// Output only. The ID of the campaign. #[prost(int64, optional, tag="59")] pub id: ::core::option::Option, - /// The name of the campaign. + /// The name of the campaign. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="58")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the campaign. + /// The status of the campaign. /// - /// When a new campaign is added, the status defaults to ENABLED. + /// When a new campaign is added, the status defaults to ENABLED. #[prost(enumeration="super::enums::campaign_status_enum::CampaignStatus", tag="5")] pub status: i32, - /// Output only. The ad serving status of the campaign. + /// Output only. The ad serving status of the campaign. #[prost(enumeration="super::enums::campaign_serving_status_enum::CampaignServingStatus", tag="21")] pub serving_status: i32, - /// The ad serving optimization status of the campaign. + /// The ad serving optimization status of the campaign. #[prost(enumeration="super::enums::ad_serving_optimization_status_enum::AdServingOptimizationStatus", tag="8")] pub ad_serving_optimization_status: i32, - /// Immutable. The primary serving target for ads within the campaign. - /// The targeting options can be refined in `network_settings`. + /// Immutable. The primary serving target for ads within the campaign. + /// The targeting options can be refined in `network_settings`. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// Can be set only when creating campaigns. - /// After the campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After the campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="9")] pub advertising_channel_type: i32, - /// Immutable. Optional refinement to `advertising_channel_type`. - /// Must be a valid sub-type of the parent channel type. + /// Immutable. Optional refinement to `advertising_channel_type`. + /// Must be a valid sub-type of the parent channel type. /// - /// Can be set only when creating campaigns. - /// After campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", tag="10")] pub advertising_channel_sub_type: i32, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="60")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="12")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Settings for Real-Time Bidding, a feature only available for campaigns - /// targeting the Ad Exchange network. + /// Settings for Real-Time Bidding, a feature only available for campaigns + /// targeting the Ad Exchange network. #[prost(message, optional, tag="39")] pub real_time_bidding_setting: ::core::option::Option, - /// The network settings for the campaign. + /// The network settings for the campaign. #[prost(message, optional, tag="14")] pub network_settings: ::core::option::Option, - /// Immutable. The hotel setting for the campaign. + /// Immutable. The hotel setting for the campaign. #[prost(message, optional, tag="32")] pub hotel_setting: ::core::option::Option, - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[prost(message, optional, tag="33")] pub dynamic_search_ads_setting: ::core::option::Option, - /// The setting for controlling Shopping campaigns. + /// The setting for controlling Shopping campaigns. #[prost(message, optional, tag="36")] pub shopping_setting: ::core::option::Option, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="43")] pub targeting_setting: ::core::option::Option, - /// Immutable. Setting for audience related features. + /// Immutable. Setting for audience related features. #[prost(message, optional, tag="73")] pub audience_setting: ::core::option::Option, - /// The setting for ads geotargeting. + /// The setting for ads geotargeting. #[prost(message, optional, tag="47")] pub geo_target_type_setting: ::core::option::Option, - /// The setting for local campaign. + /// The setting for local campaign. #[prost(message, optional, tag="50")] pub local_campaign_setting: ::core::option::Option, - /// The setting related to App Campaign. + /// The setting related to App Campaign. #[prost(message, optional, tag="51")] pub app_campaign_setting: ::core::option::Option, - /// Output only. The resource names of labels attached to this campaign. + /// Output only. The resource names of labels attached to this campaign. #[prost(string, repeated, tag="61")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The type of campaign: normal, draft, or experiment. + /// Output only. The type of campaign: normal, draft, or experiment. #[prost(enumeration="super::enums::campaign_experiment_type_enum::CampaignExperimentType", tag="17")] pub experiment_type: i32, - /// Output only. The resource name of the base campaign of a draft or experiment campaign. - /// For base campaigns, this is equal to `resource_name`. + /// Output only. The resource name of the base campaign of a draft or experiment campaign. + /// For base campaigns, this is equal to `resource_name`. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="56")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The budget of the campaign. + /// The budget of the campaign. #[prost(string, optional, tag="62")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of bidding strategy. + /// Output only. The type of bidding strategy. /// - /// A bidding strategy can be created by setting either the bidding scheme to - /// create a standard bidding strategy or the `bidding_strategy` field to - /// create a portfolio bidding strategy. + /// A bidding strategy can be created by setting either the bidding scheme to + /// create a standard bidding strategy or the `bidding_strategy` field to + /// create a portfolio bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="22")] pub bidding_strategy_type: i32, - /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the - /// unrestricted attributes of the attached portfolio bidding - /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not - /// use a portfolio strategy. - /// Unrestricted strategy attributes are available to all customers - /// with whom the strategy is shared and are read from the - /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are - /// only available to the owner customer of the strategy and their managers. - /// Restricted attributes can only be read from the BiddingStrategy resource. + /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the + /// unrestricted attributes of the attached portfolio bidding + /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not + /// use a portfolio strategy. + /// Unrestricted strategy attributes are available to all customers + /// with whom the strategy is shared and are read from the + /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are + /// only available to the owner customer of the strategy and their managers. + /// Restricted attributes can only be read from the BiddingStrategy resource. #[prost(string, tag="71")] pub accessible_bidding_strategy: ::prost::alloc::string::String, - /// The date when campaign started in serving customer's timezone in YYYY-MM-DD - /// format. + /// The date when campaign started in serving customer's timezone in YYYY-MM-DD + /// format. #[prost(string, optional, tag="63")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The campaign group this campaign belongs to. + /// The campaign group this campaign belongs to. #[prost(string, optional, tag="76")] pub campaign_group: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign in serving customer's timezone in YYYY-MM-DD - /// format. + /// The last day of the campaign in serving customer's timezone in YYYY-MM-DD + /// format. #[prost(string, optional, tag="64")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// Suffix used to append query parameters to landing pages that are served - /// with parallel tracking. + /// Suffix used to append query parameters to landing pages that are served + /// with parallel tracking. #[prost(string, optional, tag="65")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// A list that limits how often each user will see this campaign's ads. + /// A list that limits how often each user will see this campaign's ads. #[prost(message, repeated, tag="40")] pub frequency_caps: ::prost::alloc::vec::Vec, - /// Output only. 3-Tier Brand Safety setting for the campaign. + /// Output only. 3-Tier Brand Safety setting for the campaign. #[prost(enumeration="super::enums::brand_safety_suitability_enum::BrandSafetySuitability", tag="42")] pub video_brand_safety_suitability: i32, - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[prost(message, optional, tag="44")] pub vanity_pharma: ::core::option::Option, - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[prost(message, optional, tag="45")] pub selective_optimization: ::core::option::Option, - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[prost(message, optional, tag="54")] pub optimization_goal_setting: ::core::option::Option, - /// Output only. Campaign-level settings for tracking information. + /// Output only. Campaign-level settings for tracking information. #[prost(message, optional, tag="46")] pub tracking_setting: ::core::option::Option, - /// Payment mode for the campaign. + /// Payment mode for the campaign. #[prost(enumeration="super::enums::payment_mode_enum::PaymentMode", tag="52")] pub payment_mode: i32, - /// Output only. Optimization score of the campaign. + /// Output only. Optimization score of the campaign. /// - /// Optimization score is an estimate of how well a campaign is set to perform. - /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - /// campaign is performing at full potential. This field is null for unscored - /// campaigns. + /// Optimization score is an estimate of how well a campaign is set to perform. + /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the + /// campaign is performing at full potential. This field is null for unscored + /// campaigns. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="66")] pub optimization_score: ::core::option::Option, - /// The asset field types that should be excluded from this campaign. Asset - /// links with these field types will not be inherited by this campaign from - /// the upper level. + /// The asset field types that should be excluded from this campaign. Asset + /// links with these field types will not be inherited by this campaign from + /// the upper level. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="69")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, - /// Represents opting out of URL expansion to more targeted URLs. If opted out - /// (true), only the final URLs in the asset group or URLs specified in the - /// advertiser's Google Merchant Center or business data feeds are targeted. - /// If opted in (false), the entire domain will be targeted. This field can - /// only be set for Performance Max campaigns, where the default value is - /// false. + /// Represents opting out of URL expansion to more targeted URLs. If opted out + /// (true), only the final URLs in the asset group or URLs specified in the + /// advertiser's Google Merchant Center or business data feeds are targeted. + /// If opted in (false), the entire domain will be targeted. This field can + /// only be set for Performance Max campaigns, where the default value is + /// false. #[prost(bool, optional, tag="72")] pub url_expansion_opt_out: ::core::option::Option, - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created via BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created via BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[prost(oneof="campaign::CampaignBiddingStrategy", tags="67, 49, 24, 25, 37, 30, 31, 26, 48, 29, 27, 34, 41")] pub campaign_bidding_strategy: ::core::option::Option, } /// Nested message and enum types in `Campaign`. pub mod campaign { - /// The network settings for the campaign. + /// The network settings for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkSettings { - /// Whether ads will be served with google.com search results. + /// Whether ads will be served with google.com search results. #[prost(bool, optional, tag="5")] pub target_google_search: ::core::option::Option, - /// Whether ads will be served on partner sites in the Google Search Network - /// (requires `target_google_search` to also be `true`). + /// Whether ads will be served on partner sites in the Google Search Network + /// (requires `target_google_search` to also be `true`). #[prost(bool, optional, tag="6")] pub target_search_network: ::core::option::Option, - /// Whether ads will be served on specified placements in the Google Display - /// Network. Placements are specified using the Placement criterion. + /// Whether ads will be served on specified placements in the Google Display + /// Network. Placements are specified using the Placement criterion. #[prost(bool, optional, tag="7")] pub target_content_network: ::core::option::Option, - /// Whether ads will be served on the Google Partner Network. - /// This is available only to some select Google partner accounts. + /// Whether ads will be served on the Google Partner Network. + /// This is available only to some select Google partner accounts. #[prost(bool, optional, tag="8")] pub target_partner_search_network: ::core::option::Option, } - /// Campaign-level settings for hotel ads. + /// Campaign-level settings for hotel ads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelSettingInfo { - /// Immutable. The linked Hotel Center account. + /// Immutable. The linked Hotel Center account. #[prost(int64, optional, tag="2")] pub hotel_center_id: ::core::option::Option, } - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSetting { - /// Required. The Internet domain name that this setting represents, e.g., "google.com" - /// or "www.google.com". + /// Required. The Internet domain name that this setting represents, e.g., "google.com" + /// or "www.google.com". #[prost(string, tag="6")] pub domain_name: ::prost::alloc::string::String, - /// Required. The language code specifying the language of the domain, e.g., "en". + /// Required. The language code specifying the language of the domain, e.g., "en". #[prost(string, tag="7")] pub language_code: ::prost::alloc::string::String, - /// Whether the campaign uses advertiser supplied URLs exclusively. + /// Whether the campaign uses advertiser supplied URLs exclusively. #[prost(bool, optional, tag="8")] pub use_supplied_urls_only: ::core::option::Option, - /// The list of page feeds associated with the campaign. + /// The list of page feeds associated with the campaign. #[prost(string, repeated, tag="9")] pub feeds: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// The setting for Shopping campaigns. Defines the universe of products that - /// can be advertised by the campaign, and how this campaign interacts with - /// other Shopping campaigns. + /// The setting for Shopping campaigns. Defines the universe of products that + /// can be advertised by the campaign, and how this campaign interacts with + /// other Shopping campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSetting { - /// Immutable. ID of the Merchant Center account. - /// This field is required for create operations. This field is immutable for - /// Shopping campaigns. + /// Immutable. ID of the Merchant Center account. + /// This field is required for create operations. This field is immutable for + /// Shopping campaigns. #[prost(int64, optional, tag="5")] pub merchant_id: ::core::option::Option, - /// Sales country of products to include in the campaign. - /// This field is required for Shopping campaigns. - /// This field is optional for non-Shopping campaigns, but it must be equal - /// to 'ZZ' if set. + /// Sales country of products to include in the campaign. + /// This field is required for Shopping campaigns. + /// This field is optional for non-Shopping campaigns, but it must be equal + /// to 'ZZ' if set. #[prost(string, optional, tag="6")] pub sales_country: ::core::option::Option<::prost::alloc::string::String>, - /// Priority of the campaign. Campaigns with numerically higher priorities - /// take precedence over those with lower priorities. - /// This field is required for Shopping campaigns, with values between 0 and - /// 2, inclusive. - /// This field is optional for Smart Shopping campaigns, but must be equal to - /// 3 if set. + /// Priority of the campaign. Campaigns with numerically higher priorities + /// take precedence over those with lower priorities. + /// This field is required for Shopping campaigns, with values between 0 and + /// 2, inclusive. + /// This field is optional for Smart Shopping campaigns, but must be equal to + /// 3 if set. #[prost(int32, optional, tag="7")] pub campaign_priority: ::core::option::Option, - /// Whether to include local products. + /// Whether to include local products. #[prost(bool, optional, tag="8")] pub enable_local: ::core::option::Option, - /// Immutable. Whether to target Vehicle Listing inventory. + /// Immutable. Whether to target Vehicle Listing inventory. #[prost(bool, tag="9")] pub use_vehicle_inventory: bool, } - /// Campaign-level settings for tracking information. + /// Campaign-level settings for tracking information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingSetting { - /// Output only. The url used for dynamic tracking. + /// Output only. The url used for dynamic tracking. #[prost(string, optional, tag="2")] pub tracking_url: ::core::option::Option<::prost::alloc::string::String>, } - /// Represents a collection of settings related to ads geotargeting. + /// Represents a collection of settings related to ads geotargeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetTypeSetting { - /// The setting used for positive geotargeting in this particular campaign. + /// The setting used for positive geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::positive_geo_target_type_enum::PositiveGeoTargetType", tag="1")] pub positive_geo_target_type: i32, - /// The setting used for negative geotargeting in this particular campaign. + /// The setting used for negative geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::negative_geo_target_type_enum::NegativeGeoTargetType", tag="2")] pub negative_geo_target_type: i32, } - /// Campaign setting for local campaigns. + /// Campaign setting for local campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalCampaignSetting { - /// The location source type for this local campaign. + /// The location source type for this local campaign. #[prost(enumeration="super::super::enums::location_source_type_enum::LocationSourceType", tag="1")] pub location_source_type: i32, } - /// Campaign-level settings for App Campaigns. + /// Campaign-level settings for App Campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignSetting { - /// Represents the goal which the bidding strategy of this app campaign - /// should optimize towards. + /// Represents the goal which the bidding strategy of this app campaign + /// should optimize towards. #[prost(enumeration="super::super::enums::app_campaign_bidding_strategy_goal_type_enum::AppCampaignBiddingStrategyGoalType", tag="1")] pub bidding_strategy_goal_type: i32, - /// Immutable. A string that uniquely identifies a mobile application. + /// Immutable. A string that uniquely identifies a mobile application. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The application store that distributes this specific app. + /// Immutable. The application store that distributes this specific app. #[prost(enumeration="super::super::enums::app_campaign_app_store_enum::AppCampaignAppStore", tag="3")] pub app_store: i32, } - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharma { - /// The display mode for vanity pharma URLs. + /// The display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_display_url_mode_enum::VanityPharmaDisplayUrlMode", tag="1")] pub vanity_pharma_display_url_mode: i32, - /// The text that will be displayed in display URL of the text ad when - /// website description is the selected display mode for vanity pharma URLs. + /// The text that will be displayed in display URL of the text ad when + /// website description is the selected display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_text_enum::VanityPharmaText", tag="2")] pub vanity_pharma_text: i32, } - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SelectiveOptimization { - /// The selected set of conversion actions for optimizing this campaign. + /// The selected set of conversion actions for optimizing this campaign. #[prost(string, repeated, tag="2")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalSetting { - /// The list of optimization goal types. + /// The list of optimization goal types. #[prost(enumeration="super::super::enums::optimization_goal_type_enum::OptimizationGoalType", repeated, tag="1")] pub optimization_goal_types: ::prost::alloc::vec::Vec, } - /// Settings for the audience targeting. + /// Settings for the audience targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSetting { - /// Immutable. If true, this campaign uses an Audience resource for audience targeting. - /// If false, this campaign may use audience segment criteria instead. + /// Immutable. If true, this campaign uses an Audience resource for audience targeting. + /// If false, this campaign may use audience segment criteria instead. #[prost(bool, optional, tag="1")] pub use_audience_grouped: ::core::option::Option, } - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created via BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created via BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CampaignBiddingStrategy { - /// Portfolio bidding strategy used by campaign. + /// Portfolio bidding strategy used by campaign. #[prost(string, tag="67")] BiddingStrategy(::prost::alloc::string::String), - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. #[prost(message, tag="49")] Commission(super::super::common::Commission), - /// Standard Manual CPC bidding strategy. - /// Manual click-based bidding where user pays per click. + /// Standard Manual CPC bidding strategy. + /// Manual click-based bidding where user pays per click. #[prost(message, tag="24")] ManualCpc(super::super::common::ManualCpc), - /// Standard Manual CPM bidding strategy. - /// Manual impression-based bidding where user pays per thousand - /// impressions. + /// Standard Manual CPM bidding strategy. + /// Manual impression-based bidding where user pays per thousand + /// impressions. #[prost(message, tag="25")] ManualCpm(super::super::common::ManualCpm), - /// Output only. A bidding strategy that pays a configurable amount per video view. + /// Output only. A bidding strategy that pays a configurable amount per video view. #[prost(message, tag="37")] ManualCpv(super::super::common::ManualCpv), - /// Standard Maximize Conversions bidding strategy that automatically - /// maximizes number of conversions while spending your budget. + /// Standard Maximize Conversions bidding strategy that automatically + /// maximizes number of conversions while spending your budget. #[prost(message, tag="30")] MaximizeConversions(super::super::common::MaximizeConversions), - /// Standard Maximize Conversion Value bidding strategy that automatically - /// sets bids to maximize revenue while spending your budget. + /// Standard Maximize Conversion Value bidding strategy that automatically + /// sets bids to maximize revenue while spending your budget. #[prost(message, tag="31")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// Standard Target CPA bidding strategy that automatically sets bids to - /// help get as many conversions as possible at the target - /// cost-per-acquisition (CPA) you set. + /// Standard Target CPA bidding strategy that automatically sets bids to + /// help get as many conversions as possible at the target + /// cost-per-acquisition (CPA) you set. #[prost(message, tag="26")] TargetCpa(super::super::common::TargetCpa), - /// Target Impression Share bidding strategy. An automated bidding strategy - /// that sets bids to achieve a desired percentage of impressions. + /// Target Impression Share bidding strategy. An automated bidding strategy + /// that sets bids to achieve a desired percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// Standard Target ROAS bidding strategy that automatically maximizes - /// revenue while averaging a specific target return on ad spend (ROAS). + /// Standard Target ROAS bidding strategy that automatically maximizes + /// revenue while averaging a specific target return on ad spend (ROAS). #[prost(message, tag="29")] TargetRoas(super::super::common::TargetRoas), - /// Standard Target Spend bidding strategy that automatically sets your bids - /// to help get as many clicks as possible within your budget. + /// Standard Target Spend bidding strategy that automatically sets your bids + /// to help get as many clicks as possible within your budget. #[prost(message, tag="27")] TargetSpend(super::super::common::TargetSpend), - /// Standard Percent Cpc bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Standard Percent Cpc bidding strategy where bids are a fraction of the + /// advertised price for some good or service. #[prost(message, tag="34")] PercentCpc(super::super::common::PercentCpc), - /// A bidding strategy that automatically optimizes cost per thousand - /// impressions. + /// A bidding strategy that automatically optimizes cost per thousand + /// impressions. #[prost(message, tag="41")] TargetCpm(super::super::common::TargetCpm), } } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// A link between a Campaign and an Asset. +/// A link between a Campaign and an Asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAsset { - /// Immutable. The resource name of the campaign asset. - /// CampaignAsset resource names have the form: + /// Immutable. The resource name of the campaign asset. + /// CampaignAsset resource names have the form: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the asset is linked. + /// Immutable. The campaign to which the asset is linked. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The asset which is linked to the campaign. + /// Immutable. The asset which is linked to the campaign. #[prost(string, optional, tag="7")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Role that the asset takes under the linked campaign. - /// Required. + /// Immutable. Role that the asset takes under the linked campaign. + /// Required. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Status of the campaign asset. + /// Status of the campaign asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// CampaignAssetSet is the linkage between a campaign and an asset set. -/// Adding a CampaignAssetSet links an asset set with a campaign. +/// CampaignAssetSet is the linkage between a campaign and an asset set. +/// Adding a CampaignAssetSet links an asset set with a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSet { - /// Immutable. The resource name of the campaign asset set. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the campaign asset set. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which this asset set is linked. + /// Immutable. The campaign to which this asset set is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Immutable. The asset set which is linked to the campaign. + /// Immutable. The asset set which is linked to the campaign. #[prost(string, tag="3")] pub asset_set: ::prost::alloc::string::String, - /// Output only. The status of the campaign asset set asset. Read-only. + /// Output only. The status of the campaign asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_link_status_enum::AssetSetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the campaign audience view resource. +// Proto file describing the campaign audience view resource. -/// A campaign audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated by campaign and audience criterion. This view only includes -/// audiences attached at the campaign level. +/// A campaign audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated by campaign and audience criterion. This view only includes +/// audiences attached at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAudienceView { - /// Output only. The resource name of the campaign audience view. - /// Campaign audience view resource names have the form: + /// Output only. The resource name of the campaign audience view. + /// Campaign audience view resource names have the form: /// - /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Campaign Bid Modifier resource. +// Proto file describing the Campaign Bid Modifier resource. -/// Represents a bid-modifiable only criterion at the campaign level. +/// Represents a bid-modifiable only criterion at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifier { - /// Immutable. The resource name of the campaign bid modifier. - /// Campaign bid modifier resource names have the form: + /// Immutable. The resource name of the campaign bid modifier. + /// Campaign bid modifier resource names have the form: /// - /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which this criterion belongs. + /// Output only. The campaign to which this criterion belongs. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="7")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. + /// The modifier for the bid when the criterion matches. #[prost(double, optional, tag="8")] pub bid_modifier: ::core::option::Option, - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="campaign_bid_modifier::Criterion", tags="5")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifier`. pub mod campaign_bid_modifier { - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for interaction type. Only supported for search campaigns. + /// Immutable. Criterion for interaction type. Only supported for search campaigns. #[prost(message, tag="5")] InteractionType(super::super::common::InteractionTypeInfo), } } -// Proto file describing the Budget resource. +// Proto file describing the Budget resource. -/// A campaign budget. +/// A campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudget { - /// Immutable. The resource name of the campaign budget. - /// Campaign budget resource names have the form: + /// Immutable. The resource name of the campaign budget. + /// Campaign budget resource names have the form: /// - /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign budget. + /// Output only. The ID of the campaign budget. /// - /// A campaign budget is created using the CampaignBudgetService create - /// operation and is assigned a budget ID. A budget ID can be shared across - /// different campaigns; the system will then allocate the campaign budget - /// among different campaigns to get optimum results. + /// A campaign budget is created using the CampaignBudgetService create + /// operation and is assigned a budget ID. A budget ID can be shared across + /// different campaigns; the system will then allocate the campaign budget + /// among different campaigns to get optimum results. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// The name of the campaign budget. + /// The name of the campaign budget. /// - /// When creating a campaign budget through CampaignBudgetService, every - /// explicitly shared campaign budget must have a non-null, non-empty name. - /// Campaign budgets that are not explicitly shared derive their name from the - /// attached campaign's name. + /// When creating a campaign budget through CampaignBudgetService, every + /// explicitly shared campaign budget must have a non-null, non-empty name. + /// Campaign budgets that are not explicitly shared derive their name from the + /// attached campaign's name. /// - /// The length of this string must be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string must be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="20")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. Monthly spend is capped at 30.4 times this amount. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. Monthly spend is capped at 30.4 times this amount. #[prost(int64, optional, tag="21")] pub amount_micros: ::core::option::Option, - /// The lifetime amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The lifetime amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="22")] pub total_amount_micros: ::core::option::Option, - /// Output only. The status of this campaign budget. This field is read-only. + /// Output only. The status of this campaign budget. This field is read-only. #[prost(enumeration="super::enums::budget_status_enum::BudgetStatus", tag="6")] pub status: i32, - /// The delivery method that determines the rate at which the campaign budget - /// is spent. + /// The delivery method that determines the rate at which the campaign budget + /// is spent. /// - /// Defaults to STANDARD if unspecified in a create operation. + /// Defaults to STANDARD if unspecified in a create operation. #[prost(enumeration="super::enums::budget_delivery_method_enum::BudgetDeliveryMethod", tag="7")] pub delivery_method: i32, - /// Specifies whether the budget is explicitly shared. Defaults to true if - /// unspecified in a create operation. + /// Specifies whether the budget is explicitly shared. Defaults to true if + /// unspecified in a create operation. /// - /// If true, the budget was created with the purpose of sharing - /// across one or more campaigns. + /// If true, the budget was created with the purpose of sharing + /// across one or more campaigns. /// - /// If false, the budget was created with the intention of only being used - /// with a single campaign. The budget's name and status will stay in sync - /// with the campaign's name and status. Attempting to share the budget with a - /// second campaign will result in an error. + /// If false, the budget was created with the intention of only being used + /// with a single campaign. The budget's name and status will stay in sync + /// with the campaign's name and status. Attempting to share the budget with a + /// second campaign will result in an error. /// - /// A non-shared budget can become an explicitly shared. The same operation - /// must also assign the budget a name. + /// A non-shared budget can become an explicitly shared. The same operation + /// must also assign the budget a name. /// - /// A shared campaign budget can never become non-shared. + /// A shared campaign budget can never become non-shared. #[prost(bool, optional, tag="23")] pub explicitly_shared: ::core::option::Option, - /// Output only. The number of campaigns actively using the budget. + /// Output only. The number of campaigns actively using the budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="24")] pub reference_count: ::core::option::Option, - /// Output only. Indicates whether there is a recommended budget for this campaign budget. + /// Output only. Indicates whether there is a recommended budget for this campaign budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="25")] pub has_recommended_budget: ::core::option::Option, - /// Output only. The recommended budget amount. If no recommendation is available, this will - /// be set to the budget amount. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The recommended budget amount. If no recommendation is available, this will + /// be set to the budget amount. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="26")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. #[prost(enumeration="super::enums::budget_period_enum::BudgetPeriod", tag="13")] pub period: i32, - /// Output only. The estimated change in weekly clicks if the recommended budget is applied. + /// Output only. The estimated change in weekly clicks if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="27")] pub recommended_budget_estimated_change_weekly_clicks: ::core::option::Option, - /// Output only. The estimated change in weekly cost in micros if the recommended budget is - /// applied. One million is equivalent to one currency unit. + /// Output only. The estimated change in weekly cost in micros if the recommended budget is + /// applied. One million is equivalent to one currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="28")] pub recommended_budget_estimated_change_weekly_cost_micros: ::core::option::Option, - /// Output only. The estimated change in weekly interactions if the recommended budget is - /// applied. + /// Output only. The estimated change in weekly interactions if the recommended budget is + /// applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="29")] pub recommended_budget_estimated_change_weekly_interactions: ::core::option::Option, - /// Output only. The estimated change in weekly views if the recommended budget is applied. + /// Output only. The estimated change in weekly views if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="30")] pub recommended_budget_estimated_change_weekly_views: ::core::option::Option, - /// Immutable. The type of the campaign budget. + /// Immutable. The type of the campaign budget. #[prost(enumeration="super::enums::budget_type_enum::BudgetType", tag="18")] pub r#type: i32, } -/// The biddability setting for the specified campaign only for all -/// conversion actions with a matching category and origin. +/// The biddability setting for the specified campaign only for all +/// conversion actions with a matching category and origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoal { - /// Immutable. The resource name of the campaign conversion goal. - /// Campaign conversion goal resource names have the form: + /// Immutable. The resource name of the campaign conversion goal. + /// Campaign conversion goal resource names have the form: /// - /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this campaign conversion goal is associated. + /// Immutable. The campaign with which this campaign conversion goal is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The conversion category of this campaign conversion goal. + /// The conversion category of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="3")] pub category: i32, - /// The conversion origin of this campaign conversion goal. + /// The conversion origin of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="4")] pub origin: i32, - /// The biddability of the campaign conversion goal. + /// The biddability of the campaign conversion goal. #[prost(bool, tag="5")] pub biddable: bool, } -// Proto file describing the Campaign Criterion resource. +// Proto file describing the Campaign Criterion resource. -/// A campaign criterion. +/// A campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterion { - /// Immutable. The resource name of the campaign criterion. - /// Campaign criterion resource names have the form: + /// Immutable. The resource name of the campaign criterion. + /// Campaign criterion resource names have the form: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the criterion belongs. + /// Immutable. The campaign to which the criterion belongs. #[prost(string, optional, tag="37")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored during mutate. + /// This field is ignored during mutate. #[prost(int64, optional, tag="38")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="43")] pub display_name: ::prost::alloc::string::String, - /// The modifier for the bids when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - /// Use 0 to opt out of a Device type. + /// The modifier for the bids when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// Use 0 to opt out of a Device type. #[prost(float, optional, tag="39")] pub bid_modifier: ::core::option::Option, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. #[prost(bool, optional, tag="40")] pub negative: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="6")] pub r#type: i32, - /// The status of the criterion. + /// The status of the criterion. #[prost(enumeration="super::enums::campaign_criterion_status_enum::CampaignCriterionStatus", tag="35")] pub status: i32, - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="campaign_criterion::Criterion", tags="8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 22, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 41, 42, 45")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterion`. pub mod campaign_criterion { - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="8")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="9")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="10")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="11")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Location. + /// Immutable. Location. #[prost(message, tag="12")] Location(super::super::common::LocationInfo), - /// Immutable. Device. + /// Immutable. Device. #[prost(message, tag="13")] Device(super::super::common::DeviceInfo), - /// Immutable. Ad Schedule. + /// Immutable. Ad Schedule. #[prost(message, tag="15")] AdSchedule(super::super::common::AdScheduleInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="16")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="17")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="18")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="19")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="22")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="20")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="21")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Proximity. + /// Immutable. Proximity. #[prost(message, tag="23")] Proximity(super::super::common::ProximityInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="24")] Topic(super::super::common::TopicInfo), - /// Immutable. Listing scope. + /// Immutable. Listing scope. #[prost(message, tag="25")] ListingScope(super::super::common::ListingScopeInfo), - /// Immutable. Language. + /// Immutable. Language. #[prost(message, tag="26")] Language(super::super::common::LanguageInfo), - /// Immutable. IpBlock. + /// Immutable. IpBlock. #[prost(message, tag="27")] IpBlock(super::super::common::IpBlockInfo), - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="28")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. Carrier. + /// Immutable. Carrier. #[prost(message, tag="29")] Carrier(super::super::common::CarrierInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="30")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage. + /// Immutable. Webpage. #[prost(message, tag="31")] Webpage(super::super::common::WebpageInfo), - /// Immutable. Operating system version. + /// Immutable. Operating system version. #[prost(message, tag="32")] OperatingSystemVersion(super::super::common::OperatingSystemVersionInfo), - /// Immutable. Mobile Device. + /// Immutable. Mobile Device. #[prost(message, tag="33")] MobileDevice(super::super::common::MobileDeviceInfo), - /// Immutable. Location Group + /// Immutable. Location Group #[prost(message, tag="34")] LocationGroup(super::super::common::LocationGroupInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="36")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Audience + /// Immutable. Custom Audience #[prost(message, tag="41")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="42")] CombinedAudience(super::super::common::CombinedAudienceInfo), - /// Immutable. Smart Campaign Keyword Theme. + /// Immutable. Smart Campaign Keyword Theme. #[prost(message, tag="45")] KeywordTheme(super::super::common::KeywordThemeInfo), } } -// Proto file describing the campaign criterion simulation resource. +// Proto file describing the campaign criterion simulation resource. -/// A campaign criterion simulation. Supported combinations of advertising -/// channel type, criterion ids, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign criterion simulation. Supported combinations of advertising +/// channel type, criterion ids, simulation type and simulation modification +/// method is detailed below respectively. /// -/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM +/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM +/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionSimulation { - /// Output only. The resource name of the campaign criterion simulation. - /// Campaign criterion simulation resource names have the form: + /// Output only. The resource name of the campaign criterion simulation. + /// Campaign criterion simulation resource names have the form: /// - /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign ID of the simulation. + /// Output only. Campaign ID of the simulation. #[prost(int64, optional, tag="9")] pub campaign_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_criterion_simulation::PointList", tags="8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionSimulation`. pub mod campaign_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is BID_MODIFIER. + /// Output only. Simulation points if the simulation type is BID_MODIFIER. #[prost(message, tag="8")] BidModifierPointList(super::super::common::BidModifierSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the Campaign -/// level. +/// A customizer value for the associated CustomizerAttribute at the Campaign +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizer { - /// Immutable. The resource name of the campaign customizer. - /// Campaign customizer resource names have the form: + /// Immutable. The resource name of the campaign customizer. + /// Campaign customizer resource names have the form: /// - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the customizer attribute is linked. + /// Immutable. The campaign to which the customizer attribute is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the campaign. + /// Required. Immutable. The customizer attribute which is linked to the campaign. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the campaign customizer. + /// Output only. The status of the campaign customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the Campaign Draft resource. +// Proto file describing the Campaign Draft resource. -/// A campaign draft. +/// A campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraft { - /// Immutable. The resource name of the campaign draft. - /// Campaign draft resource names have the form: + /// Immutable. The resource name of the campaign draft. + /// Campaign draft resource names have the form: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the draft. + /// Output only. The ID of the draft. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="9")] pub draft_id: ::core::option::Option, - /// Immutable. The base campaign to which the draft belongs. + /// Immutable. The base campaign to which the draft belongs. #[prost(string, optional, tag="10")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign draft. + /// The name of the campaign draft. /// - /// This field is required and should not be empty when creating new - /// campaign drafts. + /// This field is required and should not be empty when creating new + /// campaign drafts. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the Campaign that results from overlaying the draft - /// changes onto the base campaign. + /// Output only. Resource name of the Campaign that results from overlaying the draft + /// changes onto the base campaign. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub draft_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign draft. This field is read-only. + /// Output only. The status of the campaign draft. This field is read-only. /// - /// When a new campaign draft is added, the status defaults to PROPOSED. + /// When a new campaign draft is added, the status defaults to PROPOSED. #[prost(enumeration="super::enums::campaign_draft_status_enum::CampaignDraftStatus", tag="6")] pub status: i32, - /// Output only. Whether there is an experiment based on this draft currently serving. + /// Output only. Whether there is an experiment based on this draft currently serving. #[prost(bool, optional, tag="13")] pub has_experiment_running: ::core::option::Option, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of draft promotion. This is only set if the draft promotion - /// is in progress or finished. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of draft promotion. This is only set if the draft promotion + /// is in progress or finished. #[prost(string, optional, tag="14")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Campaign Experiment resource. +// Proto file describing the Campaign Experiment resource. -/// An A/B experiment that compares the performance of the base campaign -/// (the control) and a variation of that campaign (the experiment). +/// An A/B experiment that compares the performance of the base campaign +/// (the control) and a variation of that campaign (the experiment). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperiment { - /// Immutable. The resource name of the campaign experiment. - /// Campaign experiment resource names have the form: + /// Immutable. The resource name of the campaign experiment. + /// Campaign experiment resource names have the form: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign experiment. + /// Output only. The ID of the campaign experiment. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="13")] pub id: ::core::option::Option, - /// Immutable. The campaign draft with staged changes to the base campaign. + /// Immutable. The campaign draft with staged changes to the base campaign. #[prost(string, optional, tag="14")] pub campaign_draft: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign experiment. + /// The name of the campaign experiment. /// - /// This field is required when creating new campaign experiments - /// and must not conflict with the name of another non-removed - /// campaign experiment or campaign. + /// This field is required when creating new campaign experiments + /// and must not conflict with the name of another non-removed + /// campaign experiment or campaign. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="15")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the experiment. + /// The description of the experiment. #[prost(string, optional, tag="16")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and - /// 99 inclusive. Base campaign receives the remainder of the traffic - /// (100 - traffic_split_percent). Required for create. + /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and + /// 99 inclusive. Base campaign receives the remainder of the traffic + /// (100 - traffic_split_percent). Required for create. #[prost(int64, optional, tag="17")] pub traffic_split_percent: ::core::option::Option, - /// Immutable. Determines the behavior of the traffic split. + /// Immutable. Determines the behavior of the traffic split. #[prost(enumeration="super::enums::campaign_experiment_traffic_split_type_enum::CampaignExperimentTrafficSplitType", tag="7")] pub traffic_split_type: i32, - /// Output only. The experiment campaign, as opposed to the base campaign. + /// Output only. The experiment campaign, as opposed to the base campaign. #[prost(string, optional, tag="18")] pub experiment_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign experiment. This field is read-only. + /// Output only. The status of the campaign experiment. This field is read-only. #[prost(enumeration="super::enums::campaign_experiment_status_enum::CampaignExperimentStatus", tag="9")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of experiment create or promote. The most recent long - /// running operation is returned. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of experiment create or promote. The most recent long + /// running operation is returned. #[prost(string, optional, tag="19")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, - /// Date when the campaign experiment starts. By default, the experiment starts - /// now or on the campaign's start date, whichever is later. If this field is - /// set, then the experiment starts at the beginning of the specified date in - /// the customer's time zone. Cannot be changed once the experiment starts. + /// Date when the campaign experiment starts. By default, the experiment starts + /// now or on the campaign's start date, whichever is later. If this field is + /// set, then the experiment starts at the beginning of the specified date in + /// the customer's time zone. Cannot be changed once the experiment starts. /// - /// Format: YYYY-MM-DD - /// Example: 2019-03-14 + /// Format: YYYY-MM-DD + /// Example: 2019-03-14 #[prost(string, optional, tag="20")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign experiment. By default, the experiment ends on - /// the campaign's end date. If this field is set, then the experiment ends at - /// the end of the specified date in the customer's time zone. + /// The last day of the campaign experiment. By default, the experiment ends on + /// the campaign's end date. If this field is set, then the experiment ends at + /// the end of the specified date in the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-04-18 + /// Format: YYYY-MM-DD + /// Example: 2019-04-18 #[prost(string, optional, tag="21")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignExtensionSetting resource. +// Proto file describing the CampaignExtensionSetting resource. -/// A campaign extension setting. +/// A campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSetting { - /// Immutable. The resource name of the campaign extension setting. - /// CampaignExtensionSetting resource names have the form: + /// Immutable. The resource name of the campaign extension setting. + /// CampaignExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the campaign. The linked extension feed items will - /// serve under this campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. The linked extension feed items will + /// serve under this campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the campaign. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the campaign. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the CampaignFeed resource. +// Proto file describing the CampaignFeed resource. -/// A campaign feed. +/// A campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeed { - /// Immutable. The resource name of the campaign feed. - /// Campaign feed resource names have the form: + /// Immutable. The resource name of the campaign feed. + /// Campaign feed resource names have the form: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which the CampaignFeed belongs. + /// Immutable. The feed to which the CampaignFeed belongs. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The campaign to which the CampaignFeed belongs. + /// Immutable. The campaign to which the CampaignFeed belongs. #[prost(string, optional, tag="8")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// campaign. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// campaign. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CampaignFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CampaignFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the campaign feed. - /// This field is read-only. + /// Output only. Status of the campaign feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the Campaign group resource. +// Proto file describing the Campaign group resource. -/// A campaign group. +/// A campaign group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroup { - /// Immutable. The resource name of the campaign group. - /// Campaign group resource names have the form: + /// Immutable. The resource name of the campaign group. + /// Campaign group resource names have the form: /// - /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` + /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign group. + /// Output only. The ID of the campaign group. #[prost(int64, tag="3")] pub id: i64, - /// The name of the campaign group. + /// The name of the campaign group. /// - /// This field is required and should not be empty when creating new campaign - /// groups. + /// This field is required and should not be empty when creating new campaign + /// groups. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// The status of the campaign group. + /// The status of the campaign group. /// - /// When a new campaign group is added, the status defaults to ENABLED. + /// When a new campaign group is added, the status defaults to ENABLED. #[prost(enumeration="super::enums::campaign_group_status_enum::CampaignGroupStatus", tag="5")] pub status: i32, } -// Proto file describing the campaign label resource. +// Proto file describing the campaign label resource. -/// Represents a relationship between a campaign and a label. +/// Represents a relationship between a campaign and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabel { - /// Immutable. Name of the resource. - /// Campaign label resource names have the form: - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// Immutable. Name of the resource. + /// Campaign label resource names have the form: + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the label is attached. + /// Immutable. The campaign to which the label is attached. #[prost(string, optional, tag="4")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the campaign. + /// Immutable. The label assigned to the campaign. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignSharedSet resource. +// Proto file describing the CampaignSharedSet resource. -/// CampaignSharedSets are used for managing the shared sets associated with a -/// campaign. +/// CampaignSharedSets are used for managing the shared sets associated with a +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSet { - /// Immutable. The resource name of the campaign shared set. - /// Campaign shared set resource names have the form: + /// Immutable. The resource name of the campaign shared set. + /// Campaign shared set resource names have the form: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the campaign shared set belongs. + /// Immutable. The campaign to which the campaign shared set belongs. #[prost(string, optional, tag="5")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The shared set associated with the campaign. This may be a negative keyword - /// shared set of another customer. This customer should be a manager of the - /// other customer, otherwise the campaign shared set will exist but have no - /// serving effect. Only negative keyword shared sets can be associated with - /// Shopping campaigns. Only negative placement shared sets can be associated - /// with Display mobile app campaigns. + /// Immutable. The shared set associated with the campaign. This may be a negative keyword + /// shared set of another customer. This customer should be a manager of the + /// other customer, otherwise the campaign shared set will exist but have no + /// serving effect. Only negative keyword shared sets can be associated with + /// Shopping campaigns. Only negative placement shared sets can be associated + /// with Display mobile app campaigns. #[prost(string, optional, tag="6")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this campaign shared set. Read only. + /// Output only. The status of this campaign shared set. Read only. #[prost(enumeration="super::enums::campaign_shared_set_status_enum::CampaignSharedSetStatus", tag="2")] pub status: i32, } -// Proto file describing the campaign simulation resource. +// Proto file describing the campaign simulation resource. -/// A campaign simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification +/// method is detailed below respectively. /// -/// SEARCH - CPC_BID - UNIFORM -/// SEARCH - CPC_BID - SCALING -/// SEARCH - TARGET_CPA - UNIFORM -/// SEARCH - TARGET_CPA - SCALING -/// SEARCH - TARGET_ROAS - UNIFORM -/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -/// SEARCH - BUDGET - UNIFORM -/// SHOPPING - BUDGET - UNIFORM -/// SHOPPING - TARGET_ROAS - UNIFORM -/// MULTIPLE - TARGET_CPA - UNIFORM -/// OWNED_AND_OPERATED - TARGET_CPA - DEFAULT -/// DISPLAY - TARGET_CPA - UNIFORM +/// SEARCH - CPC_BID - UNIFORM +/// SEARCH - CPC_BID - SCALING +/// SEARCH - TARGET_CPA - UNIFORM +/// SEARCH - TARGET_CPA - SCALING +/// SEARCH - TARGET_ROAS - UNIFORM +/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM +/// SEARCH - BUDGET - UNIFORM +/// SHOPPING - BUDGET - UNIFORM +/// SHOPPING - TARGET_ROAS - UNIFORM +/// MULTIPLE - TARGET_CPA - UNIFORM +/// OWNED_AND_OPERATED - TARGET_CPA - DEFAULT +/// DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSimulation { - /// Output only. The resource name of the campaign simulation. - /// Campaign simulation resource names have the form: + /// Output only. The resource name of the campaign simulation. + /// Campaign simulation resource names have the form: /// - /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign id of the simulation. + /// Output only. Campaign id of the simulation. #[prost(int64, tag="2")] pub campaign_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_simulation::PointList", tags="7, 8, 9, 10, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignSimulation`. pub mod campaign_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="7")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="8")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="9")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. #[prost(message, tag="10")] TargetImpressionSharePointList(super::super::common::TargetImpressionShareSimulationPointList), - /// Output only. Simulation points if the simulation type is BUDGET. + /// Output only. Simulation points if the simulation type is BUDGET. #[prost(message, tag="11")] BudgetPointList(super::super::common::BudgetSimulationPointList), } } -// Proto file describing the Carrier constant resource. +// Proto file describing the Carrier constant resource. -/// A carrier criterion that can be used in campaign targeting. +/// A carrier criterion that can be used in campaign targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierConstant { - /// Output only. The resource name of the carrier criterion. - /// Carrier criterion resource names have the form: + /// Output only. The resource name of the carrier criterion. + /// Carrier criterion resource names have the form: /// - /// `carrierConstants/{criterion_id}` + /// `carrierConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the carrier criterion. + /// Output only. The ID of the carrier criterion. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. The full name of the carrier in English. + /// Output only. The full name of the carrier in English. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The country code of the country where the carrier is located, e.g., "AR", - /// "FR", etc. + /// Output only. The country code of the country where the carrier is located, e.g., "AR", + /// "FR", etc. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerAsset resource. +// Proto file describing the CustomerAsset resource. -/// A link between a customer and an asset. +/// A link between a customer and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAsset { - /// Immutable. The resource name of the customer asset. - /// CustomerAsset resource names have the form: + /// Immutable. The resource name of the customer asset. + /// CustomerAsset resource names have the form: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the customer. + /// Required. Immutable. The asset which is linked to the customer. #[prost(string, tag="2")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes for the customer link. + /// Required. Immutable. Role that the asset takes for the customer link. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, - /// Status of the customer asset. + /// Status of the customer asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the Feed resource. +// Proto file describing the Feed resource. -/// A feed. +/// A feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feed { - /// Immutable. The resource name of the feed. - /// Feed resource names have the form: + /// Immutable. The resource name of the feed. + /// Feed resource names have the form: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the feed. - /// This field is read-only. + /// Output only. The ID of the feed. + /// This field is read-only. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Immutable. Name of the feed. Required. + /// Immutable. Name of the feed. Required. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The Feed's attributes. Required on CREATE, unless - /// system_feed_generation_data is provided, in which case Google Ads will - /// update the feed with the correct attributes. - /// Disallowed on UPDATE. Use attribute_operations to add new attributes. + /// The Feed's attributes. Required on CREATE, unless + /// system_feed_generation_data is provided, in which case Google Ads will + /// update the feed with the correct attributes. + /// Disallowed on UPDATE. Use attribute_operations to add new attributes. #[prost(message, repeated, tag="4")] pub attributes: ::prost::alloc::vec::Vec, - /// The list of operations changing the feed attributes. Attributes can only - /// be added, not removed. + /// The list of operations changing the feed attributes. Attributes can only + /// be added, not removed. #[prost(message, repeated, tag="9")] pub attribute_operations: ::prost::alloc::vec::Vec, - /// Immutable. Specifies who manages the FeedAttributes for the Feed. + /// Immutable. Specifies who manages the FeedAttributes for the Feed. #[prost(enumeration="super::enums::feed_origin_enum::FeedOrigin", tag="5")] pub origin: i32, - /// Output only. Status of the feed. - /// This field is read-only. + /// Output only. Status of the feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_status_enum::FeedStatus", tag="8")] pub status: i32, - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[prost(oneof="feed::SystemFeedGenerationData", tags="6, 7")] pub system_feed_generation_data: ::core::option::Option, } /// Nested message and enum types in `Feed`. pub mod feed { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacesLocationFeedData { - /// Immutable. Required authentication token (from OAuth API) for the email. - /// This field can only be specified in a create request. All its subfields - /// are not selectable. + /// Immutable. Required authentication token (from OAuth API) for the email. + /// This field can only be specified in a create request. All its subfields + /// are not selectable. #[prost(message, optional, tag="1")] pub oauth_info: ::core::option::Option, - /// Email address of a Business Profile or email address of a - /// manager of the Business Profile. Required. + /// Email address of a Business Profile or email address of a + /// manager of the Business Profile. Required. #[prost(string, optional, tag="7")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Plus page ID of the managed business whose locations should be used. If - /// this field is not set, then all businesses accessible by the user - /// (specified by email_address) are used. - /// This field is mutate-only and is not selectable. + /// Plus page ID of the managed business whose locations should be used. If + /// this field is not set, then all businesses accessible by the user + /// (specified by email_address) are used. + /// This field is mutate-only and is not selectable. #[prost(string, tag="8")] pub business_account_id: ::prost::alloc::string::String, - /// Used to filter Business Profile listings by business name. If - /// business_name_filter is set, only listings with a matching business name - /// are candidates to be sync'd into FeedItems. + /// Used to filter Business Profile listings by business name. If + /// business_name_filter is set, only listings with a matching business name + /// are candidates to be sync'd into FeedItems. #[prost(string, optional, tag="9")] pub business_name_filter: ::core::option::Option<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by categories. If entries - /// exist in category_filters, only listings that belong to any of the - /// categories are candidates to be sync'd into FeedItems. If no entries - /// exist in category_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by categories. If entries + /// exist in category_filters, only listings that belong to any of the + /// categories are candidates to be sync'd into FeedItems. If no entries + /// exist in category_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="11")] pub category_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by labels. If entries exist in - /// label_filters, only listings that has any of the labels set are - /// candidates to be synchronized into FeedItems. If no entries exist in - /// label_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by labels. If entries exist in + /// label_filters, only listings that has any of the labels set are + /// candidates to be synchronized into FeedItems. If no entries exist in + /// label_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="12")] pub label_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `PlacesLocationFeedData`. pub mod places_location_feed_data { - /// Data used for authorization using OAuth. + /// Data used for authorization using OAuth. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OAuthInfo { - /// The HTTP method used to obtain authorization. + /// The HTTP method used to obtain authorization. #[prost(string, optional, tag="4")] pub http_method: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP request URL used to obtain authorization. + /// The HTTP request URL used to obtain authorization. #[prost(string, optional, tag="5")] pub http_request_url: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP authorization header used to obtain authorization. + /// The HTTP authorization header used to obtain authorization. #[prost(string, optional, tag="6")] pub http_authorization_header: ::core::option::Option<::prost::alloc::string::String>, } } - /// Data used to configure an affiliate location feed populated with the - /// specified chains. + /// Data used to configure an affiliate location feed populated with the + /// specified chains. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedData { - /// The list of chains that the affiliate location feed will sync the - /// locations from. + /// The list of chains that the affiliate location feed will sync the + /// locations from. #[prost(int64, repeated, tag="3")] pub chain_ids: ::prost::alloc::vec::Vec, - /// The relationship the chains have with the advertiser. + /// The relationship the chains have with the advertiser. #[prost(enumeration="super::super::enums::affiliate_location_feed_relationship_type_enum::AffiliateLocationFeedRelationshipType", tag="2")] pub relationship_type: i32, } - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SystemFeedGenerationData { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[prost(message, tag="6")] PlacesLocationFeedData(PlacesLocationFeedData), - /// Data used to configure an affiliate location feed populated with - /// the specified chains. + /// Data used to configure an affiliate location feed populated with + /// the specified chains. #[prost(message, tag="7")] AffiliateLocationFeedData(AffiliateLocationFeedData), } } -/// FeedAttributes define the types of data expected to be present in a Feed. A -/// single FeedAttribute specifies the expected type of the FeedItemAttributes -/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -/// being part of a FeedItem's unique key. +/// FeedAttributes define the types of data expected to be present in a Feed. A +/// single FeedAttribute specifies the expected type of the FeedItemAttributes +/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as +/// being part of a FeedItem's unique key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttribute { - /// ID of the attribute. + /// ID of the attribute. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the attribute. Required. + /// The name of the attribute. Required. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Data type for feed attribute. Required. + /// Data type for feed attribute. Required. #[prost(enumeration="super::enums::feed_attribute_type_enum::FeedAttributeType", tag="3")] pub r#type: i32, - /// Indicates that data corresponding to this attribute is part of a - /// FeedItem's unique key. It defaults to false if it is unspecified. Note - /// that a unique key is not required in a Feed's schema, in which case the - /// FeedItems must be referenced by their feed_item_id. + /// Indicates that data corresponding to this attribute is part of a + /// FeedItem's unique key. It defaults to false if it is unspecified. Note + /// that a unique key is not required in a Feed's schema, in which case the + /// FeedItems must be referenced by their feed_item_id. #[prost(bool, optional, tag="7")] pub is_part_of_key: ::core::option::Option, } -/// Operation to be performed on a feed attribute list in a mutate. +/// Operation to be performed on a feed attribute list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperation { - /// Output only. Type of list operation to perform. + /// Output only. Type of list operation to perform. #[prost(enumeration="feed_attribute_operation::Operator", tag="1")] pub operator: i32, - /// Output only. The feed attribute being added to the list. + /// Output only. The feed attribute being added to the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `FeedAttributeOperation`. pub mod feed_attribute_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the attribute to the existing attributes. + /// Add the attribute to the existing attributes. Add = 2, } impl Operator { @@ -4132,4203 +4132,4203 @@ pub mod feed_attribute_operation { } } } -// Proto file describing the FeedItem resource. +// Proto file describing the FeedItem resource. -/// A feed item. +/// A feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItem { - /// Immutable. The resource name of the feed item. - /// Feed item resource names have the form: + /// Immutable. The resource name of the feed item. + /// Feed item resource names have the form: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which this feed item belongs. + /// Immutable. The feed to which this feed item belongs. #[prost(string, optional, tag="11")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of this feed item. + /// Output only. The ID of this feed item. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="13")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="14")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The feed item's attribute values. + /// The feed item's attribute values. #[prost(message, repeated, tag="6")] pub attribute_values: ::prost::alloc::vec::Vec, - /// Geo targeting restriction specifies the type of location that can be used - /// for targeting. + /// Geo targeting restriction specifies the type of location that can be used + /// for targeting. #[prost(enumeration="super::enums::geo_targeting_restriction_enum::GeoTargetingRestriction", tag="7")] pub geo_targeting_restriction: i32, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="8")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="9")] pub status: i32, - /// Output only. List of info about a feed item's validation and approval state for active - /// feed mappings. There will be an entry in the list for each type of feed - /// mapping associated with the feed, e.g. a feed with a sitelink and a call - /// feed mapping would cause every feed item associated with that feed to have - /// an entry in this list for both sitelink and call. - /// This field is read-only. + /// Output only. List of info about a feed item's validation and approval state for active + /// feed mappings. There will be an entry in the list for each type of feed + /// mapping associated with the feed, e.g. a feed with a sitelink and a call + /// feed mapping would cause every feed item associated with that feed to have + /// an entry in this list for both sitelink and call. + /// This field is read-only. #[prost(message, repeated, tag="10")] pub policy_infos: ::prost::alloc::vec::Vec, } -/// A feed item attribute value. +/// A feed item attribute value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemAttributeValue { - /// Id of the feed attribute for which the value is associated with. + /// Id of the feed attribute for which the value is associated with. #[prost(int64, optional, tag="11")] pub feed_attribute_id: ::core::option::Option, - /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute - /// of type INT64. + /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute + /// of type INT64. #[prost(int64, optional, tag="12")] pub integer_value: ::core::option::Option, - /// Bool value. Should be set if feed_attribute_id refers to a feed attribute - /// of type BOOLEAN. + /// Bool value. Should be set if feed_attribute_id refers to a feed attribute + /// of type BOOLEAN. #[prost(bool, optional, tag="13")] pub boolean_value: ::core::option::Option, - /// String value. Should be set if feed_attribute_id refers to a feed attribute - /// of type STRING, URL or DATE_TIME. - /// For STRING the maximum length is 1500 characters. For URL the maximum - /// length is 2076 characters. For DATE_TIME the string must be in the format - /// "YYYYMMDD HHMMSS". + /// String value. Should be set if feed_attribute_id refers to a feed attribute + /// of type STRING, URL or DATE_TIME. + /// For STRING the maximum length is 1500 characters. For URL the maximum + /// length is 2076 characters. For DATE_TIME the string must be in the format + /// "YYYYMMDD HHMMSS". #[prost(string, optional, tag="14")] pub string_value: ::core::option::Option<::prost::alloc::string::String>, - /// Double value. Should be set if feed_attribute_id refers to a feed attribute - /// of type DOUBLE. + /// Double value. Should be set if feed_attribute_id refers to a feed attribute + /// of type DOUBLE. #[prost(double, optional, tag="15")] pub double_value: ::core::option::Option, - /// Price value. Should be set if feed_attribute_id refers to a feed attribute - /// of type PRICE. + /// Price value. Should be set if feed_attribute_id refers to a feed attribute + /// of type PRICE. #[prost(message, optional, tag="6")] pub price_value: ::core::option::Option, - /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed - /// attribute of type INT64_LIST. + /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed + /// attribute of type INT64_LIST. #[prost(int64, repeated, tag="16")] pub integer_values: ::prost::alloc::vec::Vec, - /// Repeated bool value. Should be set if feed_attribute_id refers to a feed - /// attribute of type BOOLEAN_LIST. + /// Repeated bool value. Should be set if feed_attribute_id refers to a feed + /// attribute of type BOOLEAN_LIST. #[prost(bool, repeated, tag="17")] pub boolean_values: ::prost::alloc::vec::Vec, - /// Repeated string value. Should be set if feed_attribute_id refers to a feed - /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - /// For STRING_LIST and URL_LIST the total size of the list in bytes may not - /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - /// - /// For STRING_LIST the maximum length of each string element is 1500 - /// characters. For URL_LIST the maximum length is 2076 characters. For - /// DATE_TIME the format of the string must be the same as start and end time - /// for the feed item. + /// Repeated string value. Should be set if feed_attribute_id refers to a feed + /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. + /// For STRING_LIST and URL_LIST the total size of the list in bytes may not + /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. + /// + /// For STRING_LIST the maximum length of each string element is 1500 + /// characters. For URL_LIST the maximum length is 2076 characters. For + /// DATE_TIME the format of the string must be the same as start and end time + /// for the feed item. #[prost(string, repeated, tag="18")] pub string_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Repeated double value. Should be set if feed_attribute_id refers to a feed - /// attribute of type DOUBLE_LIST. + /// Repeated double value. Should be set if feed_attribute_id refers to a feed + /// attribute of type DOUBLE_LIST. #[prost(double, repeated, tag="19")] pub double_values: ::prost::alloc::vec::Vec, } -/// Policy, validation, and quality approval info for a feed item for the -/// specified placeholder type. +/// Policy, validation, and quality approval info for a feed item for the +/// specified placeholder type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemPlaceholderPolicyInfo { - /// Output only. The placeholder type. + /// Output only. The placeholder type. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="10")] pub placeholder_type_enum: i32, - /// Output only. The FeedMapping that contains the placeholder type. + /// Output only. The FeedMapping that contains the placeholder type. #[prost(string, optional, tag="11")] pub feed_mapping_resource_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Where the placeholder type is in the review process. + /// Output only. Where the placeholder type is in the review process. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="3")] pub review_status: i32, - /// Output only. The overall approval status of the placeholder type, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of the placeholder type, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="4")] pub approval_status: i32, - /// Output only. The list of policy findings for the placeholder type. + /// Output only. The list of policy findings for the placeholder type. #[prost(message, repeated, tag="5")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. The validation status of the palceholder type. + /// Output only. The validation status of the palceholder type. #[prost(enumeration="super::enums::feed_item_validation_status_enum::FeedItemValidationStatus", tag="6")] pub validation_status: i32, - /// Output only. List of placeholder type validation errors. + /// Output only. List of placeholder type validation errors. #[prost(message, repeated, tag="7")] pub validation_errors: ::prost::alloc::vec::Vec, - /// Output only. Placeholder type quality evaluation approval status. + /// Output only. Placeholder type quality evaluation approval status. #[prost(enumeration="super::enums::feed_item_quality_approval_status_enum::FeedItemQualityApprovalStatus", tag="8")] pub quality_approval_status: i32, - /// Output only. List of placeholder type quality evaluation disapproval reasons. + /// Output only. List of placeholder type quality evaluation disapproval reasons. #[prost(enumeration="super::enums::feed_item_quality_disapproval_reason_enum::FeedItemQualityDisapprovalReason", repeated, packed="false", tag="9")] pub quality_disapproval_reasons: ::prost::alloc::vec::Vec, } -/// Stores a validation error and the set of offending feed attributes which -/// together are responsible for causing a feed item validation error. +/// Stores a validation error and the set of offending feed attributes which +/// together are responsible for causing a feed item validation error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationError { - /// Output only. Error code indicating what validation error was triggered. The description - /// of the error can be found in the 'description' field. + /// Output only. Error code indicating what validation error was triggered. The description + /// of the error can be found in the 'description' field. #[prost(enumeration="super::errors::feed_item_validation_error_enum::FeedItemValidationError", tag="1")] pub validation_error: i32, - /// Output only. The description of the validation error. + /// Output only. The description of the validation error. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Set of feed attributes in the feed item flagged during validation. If - /// empty, no specific feed attributes can be associated with the error - /// (e.g. error across the entire feed item). + /// Output only. Set of feed attributes in the feed item flagged during validation. If + /// empty, no specific feed attributes can be associated with the error + /// (e.g. error across the entire feed item). #[prost(int64, repeated, packed="false", tag="7")] pub feed_attribute_ids: ::prost::alloc::vec::Vec, - /// Output only. Any extra information related to this error which is not captured by - /// validation_error and feed_attribute_id (e.g. placeholder field IDs when - /// feed_attribute_id is not mapped). Note that extra_info is not localized. + /// Output only. Any extra information related to this error which is not captured by + /// validation_error and feed_attribute_id (e.g. placeholder field IDs when + /// feed_attribute_id is not mapped). Note that extra_info is not localized. #[prost(string, optional, tag="8")] pub extra_info: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Change Event resource. +// Proto file describing the Change Event resource. -/// Describes the granular change of returned resource of certain resource types. -/// Changes made through UI, API and new versions of Editor -/// by external users (including external users, and internal users that can be -/// shown externally) in the past 30 days will be shown. The change shows the old -/// values of the changed fields before the change and the new values right after -/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new -/// change. +/// Describes the granular change of returned resource of certain resource types. +/// Changes made through UI, API and new versions of Editor +/// by external users (including external users, and internal users that can be +/// shown externally) in the past 30 days will be shown. The change shows the old +/// values of the changed fields before the change and the new values right after +/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new +/// change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEvent { - /// Output only. The resource name of the change event. - /// Change event resource names have the form: + /// Output only. The resource name of the change event. + /// Change event resource names have the form: /// - /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the change was committed on this resource. + /// Output only. Time at which the change was committed on this resource. #[prost(string, tag="2")] pub change_date_time: ::prost::alloc::string::String, - /// Output only. The type of the changed resource. This dictates what resource - /// will be set in old_resource and new_resource. + /// Output only. The type of the changed resource. This dictates what resource + /// will be set in old_resource and new_resource. #[prost(enumeration="super::enums::change_event_resource_type_enum::ChangeEventResourceType", tag="3")] pub change_resource_type: i32, - /// Output only. The Simply resource this change occurred on. + /// Output only. The Simply resource this change occurred on. #[prost(string, tag="4")] pub change_resource_name: ::prost::alloc::string::String, - /// Output only. Where the change was made through. + /// Output only. Where the change was made through. #[prost(enumeration="super::enums::change_client_type_enum::ChangeClientType", tag="5")] pub client_type: i32, - /// Output only. The email of the user who made this change. + /// Output only. The email of the user who made this change. #[prost(string, tag="6")] pub user_email: ::prost::alloc::string::String, - /// Output only. The old resource before the change. Only changed fields will be populated. + /// Output only. The old resource before the change. Only changed fields will be populated. #[prost(message, optional, tag="7")] pub old_resource: ::core::option::Option, - /// Output only. The new resource after the change. Only changed fields will be populated. + /// Output only. The new resource after the change. Only changed fields will be populated. #[prost(message, optional, tag="8")] pub new_resource: ::core::option::Option, - /// Output only. The operation on the changed resource. + /// Output only. The operation on the changed resource. #[prost(enumeration="super::enums::resource_change_operation_enum::ResourceChangeOperation", tag="9")] pub resource_change_operation: i32, - /// Output only. A list of fields that are changed in the returned resource. + /// Output only. A list of fields that are changed in the returned resource. #[prost(message, optional, tag="10")] pub changed_fields: ::core::option::Option<::prost_types::FieldMask>, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, tag="11")] pub campaign: ::prost::alloc::string::String, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, tag="12")] pub ad_group: ::prost::alloc::string::String, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, tag="13")] pub feed: ::prost::alloc::string::String, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, tag="14")] pub feed_item: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="20")] pub asset: ::prost::alloc::string::String, } /// Nested message and enum types in `ChangeEvent`. pub mod change_event { - /// A wrapper proto presenting all supported resources. - /// Only the resource of the change_resource_type will be set. + /// A wrapper proto presenting all supported resources. + /// Only the resource of the change_resource_type will be set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangedResource { - /// Output only. Set if change_resource_type == AD. + /// Output only. Set if change_resource_type == AD. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP. + /// Output only. Set if change_resource_type == AD_GROUP. #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. + /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. #[prost(message, optional, tag="3")] pub ad_group_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN. + /// Output only. Set if change_resource_type == CAMPAIGN. #[prost(message, optional, tag="4")] pub campaign: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. #[prost(message, optional, tag="5")] pub campaign_budget: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. #[prost(message, optional, tag="6")] pub ad_group_bid_modifier: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. #[prost(message, optional, tag="7")] pub campaign_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED. + /// Output only. Set if change_resource_type == FEED. #[prost(message, optional, tag="8")] pub feed: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED_ITEM. + /// Output only. Set if change_resource_type == FEED_ITEM. #[prost(message, optional, tag="9")] pub feed_item: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_FEED. + /// Output only. Set if change_resource_type == CAMPAIGN_FEED. #[prost(message, optional, tag="10")] pub campaign_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_FEED. + /// Output only. Set if change_resource_type == AD_GROUP_FEED. #[prost(message, optional, tag="11")] pub ad_group_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_AD. + /// Output only. Set if change_resource_type == AD_GROUP_AD. #[prost(message, optional, tag="12")] pub ad_group_ad: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET. + /// Output only. Set if change_resource_type == ASSET. #[prost(message, optional, tag="13")] pub asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CUSTOMER_ASSET. + /// Output only. Set if change_resource_type == CUSTOMER_ASSET. #[prost(message, optional, tag="14")] pub customer_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. + /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. #[prost(message, optional, tag="15")] pub campaign_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_ASSET. + /// Output only. Set if change_resource_type == AD_GROUP_ASSET. #[prost(message, optional, tag="16")] pub ad_group_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET_SET. + /// Output only. Set if change_resource_type == ASSET_SET. #[prost(message, optional, tag="17")] pub asset_set: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET_SET_ASSET. + /// Output only. Set if change_resource_type == ASSET_SET_ASSET. #[prost(message, optional, tag="18")] pub asset_set_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. + /// Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. #[prost(message, optional, tag="19")] pub campaign_asset_set: ::core::option::Option, } } -// Proto file describing the Change Status resource. +// Proto file describing the Change Status resource. -/// Describes the status of returned resource. ChangeStatus could have up to 3 -/// minutes delay to reflect a new change. +/// Describes the status of returned resource. ChangeStatus could have up to 3 +/// minutes delay to reflect a new change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatus { - /// Output only. The resource name of the change status. - /// Change status resource names have the form: + /// Output only. The resource name of the change status. + /// Change status resource names have the form: /// - /// `customers/{customer_id}/changeStatus/{change_status_id}` + /// `customers/{customer_id}/changeStatus/{change_status_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the most recent change has occurred on this resource. + /// Output only. Time at which the most recent change has occurred on this resource. #[prost(string, optional, tag="24")] pub last_change_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the type of the changed resource. This dictates what fields - /// will be set. For example, for AD_GROUP, campaign and ad_group fields will - /// be set. + /// Output only. Represents the type of the changed resource. This dictates what fields + /// will be set. For example, for AD_GROUP, campaign and ad_group fields will + /// be set. #[prost(enumeration="super::enums::change_status_resource_type_enum::ChangeStatusResourceType", tag="4")] pub resource_type: i32, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, optional, tag="17")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, optional, tag="18")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the status of the changed resource. + /// Output only. Represents the status of the changed resource. #[prost(enumeration="super::enums::change_status_operation_enum::ChangeStatusOperation", tag="8")] pub resource_status: i32, - /// Output only. The AdGroupAd affected by this change. + /// Output only. The AdGroupAd affected by this change. #[prost(string, optional, tag="25")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupCriterion affected by this change. + /// Output only. The AdGroupCriterion affected by this change. #[prost(string, optional, tag="26")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignCriterion affected by this change. + /// Output only. The CampaignCriterion affected by this change. #[prost(string, optional, tag="27")] pub campaign_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, optional, tag="28")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, optional, tag="29")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupFeed affected by this change. + /// Output only. The AdGroupFeed affected by this change. #[prost(string, optional, tag="30")] pub ad_group_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignFeed affected by this change. + /// Output only. The CampaignFeed affected by this change. #[prost(string, optional, tag="31")] pub campaign_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupBidModifier affected by this change. + /// Output only. The AdGroupBidModifier affected by this change. #[prost(string, optional, tag="32")] pub ad_group_bid_modifier: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The SharedSet affected by this change. + /// Output only. The SharedSet affected by this change. #[prost(string, tag="33")] pub shared_set: ::prost::alloc::string::String, - /// Output only. The CampaignSharedSet affected by this change. + /// Output only. The CampaignSharedSet affected by this change. #[prost(string, tag="34")] pub campaign_shared_set: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="35")] pub asset: ::prost::alloc::string::String, - /// Output only. The CustomerAsset affected by this change. + /// Output only. The CustomerAsset affected by this change. #[prost(string, tag="36")] pub customer_asset: ::prost::alloc::string::String, - /// Output only. The CampaignAsset affected by this change. + /// Output only. The CampaignAsset affected by this change. #[prost(string, tag="37")] pub campaign_asset: ::prost::alloc::string::String, - /// Output only. The AdGroupAsset affected by this change. + /// Output only. The AdGroupAsset affected by this change. #[prost(string, tag="38")] pub ad_group_asset: ::prost::alloc::string::String, } -// Proto file describing the ClickView resource. +// Proto file describing the ClickView resource. -/// A click view with metrics aggregated at each click level, including both -/// valid and invalid clicks. For non-Search campaigns, metrics.clicks -/// represents the number of valid and invalid interactions. -/// Queries including ClickView must have a filter limiting the results to one -/// day and can be requested for dates back to 90 days before the time of the -/// request. +/// A click view with metrics aggregated at each click level, including both +/// valid and invalid clicks. For non-Search campaigns, metrics.clicks +/// represents the number of valid and invalid interactions. +/// Queries including ClickView must have a filter limiting the results to one +/// day and can be requested for dates back to 90 days before the time of the +/// request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickView { - /// Output only. The resource name of the click view. - /// Click view resource names have the form: + /// Output only. The resource name of the click view. + /// Click view resource names have the form: /// - /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The Google Click ID. + /// Output only. The Google Click ID. #[prost(string, optional, tag="8")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The location criteria matching the area of interest associated with the - /// impression. + /// Output only. The location criteria matching the area of interest associated with the + /// impression. #[prost(message, optional, tag="3")] pub area_of_interest: ::core::option::Option, - /// Output only. The location criteria matching the location of presence associated with the - /// impression. + /// Output only. The location criteria matching the location of presence associated with the + /// impression. #[prost(message, optional, tag="4")] pub location_of_presence: ::core::option::Option, - /// Output only. Page number in search results where the ad was shown. + /// Output only. Page number in search results where the ad was shown. #[prost(int64, optional, tag="9")] pub page_number: ::core::option::Option, - /// Output only. The associated ad. + /// Output only. The associated ad. #[prost(string, optional, tag="10")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated campaign location target, if one exists. + /// Output only. The associated campaign location target, if one exists. #[prost(string, optional, tag="11")] pub campaign_location_target: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated user list, if one exists. + /// Output only. The associated user list, if one exists. #[prost(string, optional, tag="12")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated keyword, if one exists and the click corresponds to the - /// SEARCH channel. + /// Output only. The associated keyword, if one exists and the click corresponds to the + /// SEARCH channel. #[prost(string, tag="13")] pub keyword: ::prost::alloc::string::String, - /// Output only. Basic information about the associated keyword, if it exists. + /// Output only. Basic information about the associated keyword, if it exists. #[prost(message, optional, tag="14")] pub keyword_info: ::core::option::Option, } -// Proto file describing the Combined Audience resource. +// Proto file describing the Combined Audience resource. -/// Describe a resource for combined audiences which includes different -/// audiences. +/// Describe a resource for combined audiences which includes different +/// audiences. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudience { - /// Immutable. The resource name of the combined audience. - /// Combined audience names have the form: + /// Immutable. The resource name of the combined audience. + /// Combined audience names have the form: /// - /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` + /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the combined audience. + /// Output only. ID of the combined audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this combined audience. Indicates whether the combined audience - /// is enabled or removed. + /// Output only. Status of this combined audience. Indicates whether the combined audience + /// is enabled or removed. #[prost(enumeration="super::enums::combined_audience_status_enum::CombinedAudienceStatus", tag="3")] pub status: i32, - /// Output only. Name of the combined audience. It should be unique across all combined - /// audiences. + /// Output only. Name of the combined audience. It should be unique across all combined + /// audiences. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Output only. Description of this combined audience. + /// Output only. Description of this combined audience. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, } -// Proto file describing the Conversion Action resource. +// Proto file describing the Conversion Action resource. -/// A conversion action. +/// A conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAction { - /// Immutable. The resource name of the conversion action. - /// Conversion action resource names have the form: + /// Immutable. The resource name of the conversion action. + /// Conversion action resource names have the form: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion action. + /// Output only. The ID of the conversion action. #[prost(int64, optional, tag="21")] pub id: ::core::option::Option, - /// The name of the conversion action. + /// The name of the conversion action. /// - /// This field is required and should not be empty when creating new - /// conversion actions. + /// This field is required and should not be empty when creating new + /// conversion actions. #[prost(string, optional, tag="22")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of this conversion action for conversion event accrual. + /// The status of this conversion action for conversion event accrual. #[prost(enumeration="super::enums::conversion_action_status_enum::ConversionActionStatus", tag="4")] pub status: i32, - /// Immutable. The type of this conversion action. + /// Immutable. The type of this conversion action. #[prost(enumeration="super::enums::conversion_action_type_enum::ConversionActionType", tag="5")] pub r#type: i32, - /// Output only. The conversion origin of this conversion action. + /// Output only. The conversion origin of this conversion action. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="30")] pub origin: i32, - /// If a conversion action's primary_for_goal bit is false, the conversion - /// action is non-biddable for all campaigns regardless of their customer - /// conversion goal or campaign conversion goal. - /// However, custom conversion goals do not respect primary_for_goal, so if - /// a campaign has a custom conversion goal configured with a - /// primary_for_goal = false conversion action, that conversion action is - /// still biddable. - /// By default, primary_for_goal will be true if not set. In V9, - /// primary_for_goal can only be set to false after creation via an 'update' - /// operation because it's not declared as optional. + /// If a conversion action's primary_for_goal bit is false, the conversion + /// action is non-biddable for all campaigns regardless of their customer + /// conversion goal or campaign conversion goal. + /// However, custom conversion goals do not respect primary_for_goal, so if + /// a campaign has a custom conversion goal configured with a + /// primary_for_goal = false conversion action, that conversion action is + /// still biddable. + /// By default, primary_for_goal will be true if not set. In V9, + /// primary_for_goal can only be set to false after creation via an 'update' + /// operation because it's not declared as optional. #[prost(bool, optional, tag="31")] pub primary_for_goal: ::core::option::Option, - /// The category of conversions reported for this conversion action. + /// The category of conversions reported for this conversion action. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="6")] pub category: i32, - /// Output only. The resource name of the conversion action owner customer, or null if this - /// is a system-defined conversion action. + /// Output only. The resource name of the conversion action owner customer, or null if this + /// is a system-defined conversion action. #[prost(string, optional, tag="23")] pub owner_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Whether this conversion action should be included in the "conversions" - /// metric. + /// Whether this conversion action should be included in the "conversions" + /// metric. #[prost(bool, optional, tag="24")] pub include_in_conversions_metric: ::core::option::Option, - /// The maximum number of days that may elapse between an interaction - /// (e.g., a click) and a conversion event. + /// The maximum number of days that may elapse between an interaction + /// (e.g., a click) and a conversion event. #[prost(int64, optional, tag="25")] pub click_through_lookback_window_days: ::core::option::Option, - /// The maximum number of days which may elapse between an impression and a - /// conversion without an interaction. + /// The maximum number of days which may elapse between an impression and a + /// conversion without an interaction. #[prost(int64, optional, tag="26")] pub view_through_lookback_window_days: ::core::option::Option, - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[prost(message, optional, tag="11")] pub value_settings: ::core::option::Option, - /// How to count conversion events for the conversion action. + /// How to count conversion events for the conversion action. #[prost(enumeration="super::enums::conversion_action_counting_type_enum::ConversionActionCountingType", tag="12")] pub counting_type: i32, - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[prost(message, optional, tag="13")] pub attribution_model_settings: ::core::option::Option, - /// Output only. The snippets used for tracking conversions. + /// Output only. The snippets used for tracking conversions. #[prost(message, repeated, tag="14")] pub tag_snippets: ::prost::alloc::vec::Vec, - /// The phone call duration in seconds after which a conversion should be - /// reported for this conversion action. + /// The phone call duration in seconds after which a conversion should be + /// reported for this conversion action. /// - /// The value must be between 0 and 10000, inclusive. + /// The value must be between 0 and 10000, inclusive. #[prost(int64, optional, tag="27")] pub phone_call_duration_seconds: ::core::option::Option, - /// App ID for an app conversion action. + /// App ID for an app conversion action. #[prost(string, optional, tag="28")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Mobile app vendor for an app conversion action. + /// Output only. Mobile app vendor for an app conversion action. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="17")] pub mobile_app_vendor: i32, - /// Output only. Firebase settings for Firebase conversion types. + /// Output only. Firebase settings for Firebase conversion types. #[prost(message, optional, tag="18")] pub firebase_settings: ::core::option::Option, - /// Output only. Third Party App Analytics settings for third party conversion types. + /// Output only. Third Party App Analytics settings for third party conversion types. #[prost(message, optional, tag="19")] pub third_party_app_analytics_settings: ::core::option::Option, } /// Nested message and enum types in `ConversionAction`. pub mod conversion_action { - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelSettings { - /// The attribution model type of this conversion action. + /// The attribution model type of this conversion action. #[prost(enumeration="super::super::enums::attribution_model_enum::AttributionModel", tag="1")] pub attribution_model: i32, - /// Output only. The status of the data-driven attribution model for the conversion - /// action. + /// Output only. The status of the data-driven attribution model for the conversion + /// action. #[prost(enumeration="super::super::enums::data_driven_model_status_enum::DataDrivenModelStatus", tag="2")] pub data_driven_model_status: i32, } - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueSettings { - /// The value to use when conversion events for this conversion action are - /// sent with an invalid, disallowed or missing value, or when - /// this conversion action is configured to always use the default value. + /// The value to use when conversion events for this conversion action are + /// sent with an invalid, disallowed or missing value, or when + /// this conversion action is configured to always use the default value. #[prost(double, optional, tag="4")] pub default_value: ::core::option::Option, - /// The currency code to use when conversion events for this conversion - /// action are sent with an invalid or missing currency code, or when this - /// conversion action is configured to always use the default value. + /// The currency code to use when conversion events for this conversion + /// action are sent with an invalid or missing currency code, or when this + /// conversion action is configured to always use the default value. #[prost(string, optional, tag="5")] pub default_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Controls whether the default value and default currency code are used in - /// place of the value and currency code specified in conversion events for - /// this conversion action. + /// Controls whether the default value and default currency code are used in + /// place of the value and currency code specified in conversion events for + /// this conversion action. #[prost(bool, optional, tag="6")] pub always_use_default_value: ::core::option::Option, } - /// Settings related to a third party app analytics conversion action. + /// Settings related to a third party app analytics conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsSettings { - /// Output only. The event name of a third-party app analytics conversion. + /// Output only. The event name of a third-party app analytics conversion. #[prost(string, optional, tag="2")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Name of the third-party app analytics provider. + /// Output only. Name of the third-party app analytics provider. #[prost(string, tag="3")] pub provider_name: ::prost::alloc::string::String, } - /// Settings related to a Firebase conversion action. + /// Settings related to a Firebase conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirebaseSettings { - /// Output only. The event name of a Firebase conversion. + /// Output only. The event name of a Firebase conversion. #[prost(string, optional, tag="3")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Firebase project ID of the conversion. + /// Output only. The Firebase project ID of the conversion. #[prost(string, optional, tag="4")] pub project_id: ::core::option::Option<::prost::alloc::string::String>, } } -// Proto file describing the Conversion Custom Variable resource. +// Proto file describing the Conversion Custom Variable resource. -/// A conversion custom variable -/// See "About custom variables for conversions" at -/// +/// A conversion custom variable +/// See "About custom variables for conversions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariable { - /// Immutable. The resource name of the conversion custom variable. - /// Conversion custom variable resource names have the form: + /// Immutable. The resource name of the conversion custom variable. + /// Conversion custom variable resource names have the form: /// - /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion custom variable. + /// Output only. The ID of the conversion custom variable. #[prost(int64, tag="2")] pub id: i64, - /// Required. The name of the conversion custom variable. - /// Name should be unique. The maximum length of name is 100 characters. - /// There should not be any extra spaces before and after. + /// Required. The name of the conversion custom variable. + /// Name should be unique. The maximum length of name is 100 characters. + /// There should not be any extra spaces before and after. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet - /// and sent to Google Ads along with conversion pings. For conversion uploads - /// in Google Ads API, the resource name of the conversion custom variable is - /// used. - /// Tag should be unique. The maximum size of tag is 100 bytes. - /// There should not be any extra spaces before and after. - /// Currently only lowercase letters, numbers and underscores are allowed in - /// the tag. + /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet + /// and sent to Google Ads along with conversion pings. For conversion uploads + /// in Google Ads API, the resource name of the conversion custom variable is + /// used. + /// Tag should be unique. The maximum size of tag is 100 bytes. + /// There should not be any extra spaces before and after. + /// Currently only lowercase letters, numbers and underscores are allowed in + /// the tag. #[prost(string, tag="4")] pub tag: ::prost::alloc::string::String, - /// The status of the conversion custom variable for conversion event accrual. + /// The status of the conversion custom variable for conversion event accrual. #[prost(enumeration="super::enums::conversion_custom_variable_status_enum::ConversionCustomVariableStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the customer that owns the conversion custom variable. + /// Output only. The resource name of the customer that owns the conversion custom variable. #[prost(string, tag="6")] pub owner_customer: ::prost::alloc::string::String, } -/// Conversion goal settings for a Campaign. +/// Conversion goal settings for a Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfig { - /// Immutable. The resource name of the conversion goal campaign config. - /// Conversion goal campaign config resource names have the form: + /// Immutable. The resource name of the conversion goal campaign config. + /// Conversion goal campaign config resource names have the form: /// - /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this conversion goal campaign config is associated. + /// Immutable. The campaign with which this conversion goal campaign config is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The level of goal config the campaign is using. + /// The level of goal config the campaign is using. #[prost(enumeration="super::enums::goal_config_level_enum::GoalConfigLevel", tag="3")] pub goal_config_level: i32, - /// The custom conversion goal the campaign is using for optimization. + /// The custom conversion goal the campaign is using for optimization. #[prost(string, tag="4")] pub custom_conversion_goal: ::prost::alloc::string::String, } -// Proto file describing the Conversion Value Rule resource. +// Proto file describing the Conversion Value Rule resource. -/// A conversion value rule +/// A conversion value rule #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRule { - /// Immutable. The resource name of the conversion value rule. - /// Conversion value rule resource names have the form: + /// Immutable. The resource name of the conversion value rule. + /// Conversion value rule resource names have the form: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule. + /// Output only. The ID of the conversion value rule. #[prost(int64, tag="2")] pub id: i64, - /// Action applied when the rule is triggered. + /// Action applied when the rule is triggered. #[prost(message, optional, tag="3")] pub action: ::core::option::Option, - /// Condition for Geo location that must be satisfied for the value rule to - /// apply. + /// Condition for Geo location that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="4")] pub geo_location_condition: ::core::option::Option, - /// Condition for device type that must be satisfied for the value rule to - /// apply. + /// Condition for device type that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="5")] pub device_condition: ::core::option::Option, - /// Condition for audience that must be satisfied for the value rule to apply. + /// Condition for audience that must be satisfied for the value rule to apply. #[prost(message, optional, tag="6")] pub audience_condition: ::core::option::Option, - /// Output only. The resource name of the conversion value rule's owner customer. - /// When the value rule is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule's owner customer. + /// When the value rule is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="7")] pub owner_customer: ::prost::alloc::string::String, - /// The status of the conversion value rule. + /// The status of the conversion value rule. #[prost(enumeration="super::enums::conversion_value_rule_status_enum::ConversionValueRuleStatus", tag="8")] pub status: i32, } /// Nested message and enum types in `ConversionValueRule`. pub mod conversion_value_rule { - /// Action applied when rule is applied. + /// Action applied when rule is applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAction { - /// Specifies applied operation. + /// Specifies applied operation. #[prost(enumeration="super::super::enums::value_rule_operation_enum::ValueRuleOperation", tag="1")] pub operation: i32, - /// Specifies applied value. + /// Specifies applied value. #[prost(double, tag="2")] pub value: f64, } - /// Condition on Geo dimension. + /// Condition on Geo dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationCondition { - /// Geo locations that advertisers want to exclude. + /// Geo locations that advertisers want to exclude. #[prost(string, repeated, tag="1")] pub excluded_geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Excluded Geo location match type. + /// Excluded Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="2")] pub excluded_geo_match_type: i32, - /// Geo locations that advertisers want to include. + /// Geo locations that advertisers want to include. #[prost(string, repeated, tag="3")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Included Geo location match type. + /// Included Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="4")] pub geo_match_type: i32, } - /// Condition on Device dimension. + /// Condition on Device dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceCondition { - /// Value for device type condition. + /// Value for device type condition. #[prost(enumeration="super::super::enums::value_rule_device_type_enum::ValueRuleDeviceType", repeated, tag="1")] pub device_types: ::prost::alloc::vec::Vec, } - /// Condition on Audience dimension. + /// Condition on Audience dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAudienceCondition { - /// User Lists. + /// User Lists. #[prost(string, repeated, tag="1")] pub user_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User Interests. + /// User Interests. #[prost(string, repeated, tag="2")] pub user_interests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -// Proto file describing the Conversion Value Rule Set resource. +// Proto file describing the Conversion Value Rule Set resource. -/// A conversion value rule set +/// A conversion value rule set #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSet { - /// Immutable. The resource name of the conversion value rule set. - /// Conversion value rule set resource names have the form: + /// Immutable. The resource name of the conversion value rule set. + /// Conversion value rule set resource names have the form: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule set. + /// Output only. The ID of the conversion value rule set. #[prost(int64, tag="2")] pub id: i64, - /// Resource names of rules within the rule set. + /// Resource names of rules within the rule set. #[prost(string, repeated, tag="3")] pub conversion_value_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Defines dimensions for Value Rule conditions. The condition types of value - /// rules within this value rule set must be of these dimensions. The first - /// entry in this list is the primary dimension of the included value rules. - /// When using value rule primary dimension segmentation, conversion values - /// will be segmented into the values adjusted by value rules and the original - /// values, if some value rules apply. + /// Defines dimensions for Value Rule conditions. The condition types of value + /// rules within this value rule set must be of these dimensions. The first + /// entry in this list is the primary dimension of the included value rules. + /// When using value rule primary dimension segmentation, conversion values + /// will be segmented into the values adjusted by value rules and the original + /// values, if some value rules apply. #[prost(enumeration="super::enums::value_rule_set_dimension_enum::ValueRuleSetDimension", repeated, tag="4")] pub dimensions: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the conversion value rule set's owner customer. - /// When the value rule set is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule set's owner customer. + /// When the value rule set is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="5")] pub owner_customer: ::prost::alloc::string::String, - /// Immutable. Defines the scope where the conversion value rule set is attached. + /// Immutable. Defines the scope where the conversion value rule set is attached. #[prost(enumeration="super::enums::value_rule_set_attachment_type_enum::ValueRuleSetAttachmentType", tag="6")] pub attachment_type: i32, - /// The resource name of the campaign when the conversion value rule - /// set is attached to a campaign. + /// The resource name of the campaign when the conversion value rule + /// set is attached to a campaign. #[prost(string, tag="7")] pub campaign: ::prost::alloc::string::String, - /// Output only. The status of the conversion value rule set. - /// ** Read-only ** + /// Output only. The status of the conversion value rule set. + /// ** Read-only ** #[prost(enumeration="super::enums::conversion_value_rule_set_status_enum::ConversionValueRuleSetStatus", tag="8")] pub status: i32, - /// Immutable. The conversion action categories of the conversion value rule set. + /// Immutable. The conversion action categories of the conversion value rule set. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", repeated, packed="false", tag="9")] pub conversion_action_categories: ::prost::alloc::vec::Vec, } -// Proto file describing the Currency Constant resource. +// Proto file describing the Currency Constant resource. -/// A currency constant. +/// A currency constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyConstant { - /// Output only. The resource name of the currency constant. - /// Currency constant resource names have the form: + /// Output only. The resource name of the currency constant. + /// Currency constant resource names have the form: /// - /// `currencyConstants/{code}` + /// `currencyConstants/{code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ISO 4217 three-letter currency code, e.g. "USD" + /// Output only. ISO 4217 three-letter currency code, e.g. "USD" #[prost(string, optional, tag="6")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Full English name of the currency. + /// Output only. Full English name of the currency. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars. + /// Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars. #[prost(string, optional, tag="8")] pub symbol: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The billable unit for this currency. Billed amounts should be multiples of - /// this value. + /// Output only. The billable unit for this currency. Billed amounts should be multiples of + /// this value. #[prost(int64, optional, tag="9")] pub billable_unit_micros: ::core::option::Option, } -// Proto file describing the Custom Audience resource. +// Proto file describing the Custom Audience resource. -/// A custom audience. This is a list of users by interest. +/// A custom audience. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudience { - /// Immutable. The resource name of the custom audience. - /// Custom audience resource names have the form: + /// Immutable. The resource name of the custom audience. + /// Custom audience resource names have the form: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the custom audience. + /// Output only. ID of the custom audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this custom audience. Indicates whether the custom audience is - /// enabled or removed. + /// Output only. Status of this custom audience. Indicates whether the custom audience is + /// enabled or removed. #[prost(enumeration="super::enums::custom_audience_status_enum::CustomAudienceStatus", tag="3")] pub status: i32, - /// Name of the custom audience. It should be unique for all custom audiences - /// created by a customer. - /// This field is required for creating operations. + /// Name of the custom audience. It should be unique for all custom audiences + /// created by a customer. + /// This field is required for creating operations. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Type of the custom audience. - /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - /// audience but kept for existing audiences) + /// Type of the custom audience. + /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom + /// audience but kept for existing audiences) #[prost(enumeration="super::enums::custom_audience_type_enum::CustomAudienceType", tag="5")] pub r#type: i32, - /// Description of this custom audience. + /// Description of this custom audience. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// List of custom audience members that this custom audience is composed of. - /// Members can be added during CustomAudience creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom audience members that this custom audience is composed of. + /// Members can be added during CustomAudience creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom audience. A member can be a KEYWORD, URL, -/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. +/// A member of custom audience. A member can be a KEYWORD, URL, +/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMember { - /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. #[prost(enumeration="super::enums::custom_audience_member_type_enum::CustomAudienceMemberType", tag="1")] pub member_type: i32, - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[prost(oneof="custom_audience_member::Value", tags="2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceMember`. pub mod custom_audience_member { - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A keyword or keyword phrase — at most 10 words and 80 characters. - /// Languages with double-width characters such as Chinese, Japanese, - /// or Korean, are allowed 40 characters, which describes the user's - /// interests or actions. + /// A keyword or keyword phrase — at most 10 words and 80 characters. + /// Languages with double-width characters such as Chinese, Japanese, + /// or Korean, are allowed 40 characters, which describes the user's + /// interests or actions. #[prost(string, tag="2")] Keyword(::prost::alloc::string::String), - /// An HTTP URL, protocol-included — at most 2048 characters, which includes - /// contents users have interests in. + /// An HTTP URL, protocol-included — at most 2048 characters, which includes + /// contents users have interests in. #[prost(string, tag="3")] Url(::prost::alloc::string::String), - /// A place type described by a place category users visit. + /// A place type described by a place category users visit. #[prost(int64, tag="4")] PlaceCategory(i64), - /// A package name of Android apps which users installed such as - /// com.google.example. + /// A package name of Android apps which users installed such as + /// com.google.example. #[prost(string, tag="5")] App(::prost::alloc::string::String), } } -/// Custom conversion goal that can make arbitrary conversion actions biddable. +/// Custom conversion goal that can make arbitrary conversion actions biddable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoal { - /// Immutable. The resource name of the custom conversion goal. - /// Custom conversion goal resource names have the form: + /// Immutable. The resource name of the custom conversion goal. + /// Custom conversion goal resource names have the form: /// - /// `customers/{customer_id}/customConversionGoals/{goal_id}` + /// `customers/{customer_id}/customConversionGoals/{goal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ID for this custom conversion goal. + /// Immutable. The ID for this custom conversion goal. #[prost(int64, tag="2")] pub id: i64, - /// The name for this custom conversion goal. + /// The name for this custom conversion goal. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Conversion actions that the custom conversion goal makes biddable. + /// Conversion actions that the custom conversion goal makes biddable. #[prost(string, repeated, tag="4")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the custom conversion goal. + /// The status of the custom conversion goal. #[prost(enumeration="super::enums::custom_conversion_goal_status_enum::CustomConversionGoalStatus", tag="5")] pub status: i32, } -// Proto file describing the Custom Interest resource. +// Proto file describing the Custom Interest resource. -/// A custom interest. This is a list of users by interest. +/// A custom interest. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterest { - /// Immutable. The resource name of the custom interest. - /// Custom interest resource names have the form: + /// Immutable. The resource name of the custom interest. + /// Custom interest resource names have the form: /// - /// `customers/{customer_id}/customInterests/{custom_interest_id}` + /// `customers/{customer_id}/customInterests/{custom_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the custom interest. + /// Output only. Id of the custom interest. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Status of this custom interest. Indicates whether the custom interest is - /// enabled or removed. + /// Status of this custom interest. Indicates whether the custom interest is + /// enabled or removed. #[prost(enumeration="super::enums::custom_interest_status_enum::CustomInterestStatus", tag="3")] pub status: i32, - /// Name of the custom interest. It should be unique across the same custom - /// affinity audience. - /// This field is required for create operations. + /// Name of the custom interest. It should be unique across the same custom + /// affinity audience. + /// This field is required for create operations. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - /// By default the type is set to CUSTOM_AFFINITY. + /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. + /// By default the type is set to CUSTOM_AFFINITY. #[prost(enumeration="super::enums::custom_interest_type_enum::CustomInterestType", tag="5")] pub r#type: i32, - /// Description of this custom interest audience. + /// Description of this custom interest audience. #[prost(string, optional, tag="10")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// List of custom interest members that this custom interest is composed of. - /// Members can be added during CustomInterest creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom interest members that this custom interest is composed of. + /// Members can be added during CustomInterest creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom interest audience. A member can be a keyword or url. -/// It is immutable, that is, it can only be created or removed but not changed. +/// A member of custom interest audience. A member can be a keyword or url. +/// It is immutable, that is, it can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMember { - /// The type of custom interest member, KEYWORD or URL. + /// The type of custom interest member, KEYWORD or URL. #[prost(enumeration="super::enums::custom_interest_member_type_enum::CustomInterestMemberType", tag="1")] pub member_type: i32, - /// Keyword text when member_type is KEYWORD or URL string when - /// member_type is URL. + /// Keyword text when member_type is KEYWORD or URL string when + /// member_type is URL. #[prost(string, optional, tag="3")] pub parameter: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Customer resource. +// Proto file describing the Customer resource. -/// A customer. +/// A customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Customer { - /// Immutable. The resource name of the customer. - /// Customer resource names have the form: + /// Immutable. The resource name of the customer. + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customer. + /// Output only. The ID of the customer. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// Optional, non-unique descriptive name of the customer. + /// Optional, non-unique descriptive name of the customer. #[prost(string, optional, tag="20")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The currency in which the account operates. - /// A subset of the currency codes from the ISO 4217 standard is - /// supported. + /// Immutable. The currency in which the account operates. + /// A subset of the currency codes from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="21")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The local timezone ID of the customer. + /// Immutable. The local timezone ID of the customer. #[prost(string, optional, tag="22")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL out of parameters. + /// The URL template for constructing a tracking URL out of parameters. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for appending params to the final URL + /// The URL template for appending params to the final URL #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Whether auto-tagging is enabled for the customer. + /// Whether auto-tagging is enabled for the customer. #[prost(bool, optional, tag="25")] pub auto_tagging_enabled: ::core::option::Option, - /// Output only. Whether the Customer has a Partners program badge. If the Customer is not - /// associated with the Partners program, this will be false. For more - /// information, see + /// Output only. Whether the Customer has a Partners program badge. If the Customer is not + /// associated with the Partners program, this will be false. For more + /// information, see #[prost(bool, optional, tag="26")] pub has_partners_badge: ::core::option::Option, - /// Output only. Whether the customer is a manager. + /// Output only. Whether the customer is a manager. #[prost(bool, optional, tag="27")] pub manager: ::core::option::Option, - /// Output only. Whether the customer is a test account. + /// Output only. Whether the customer is a test account. #[prost(bool, optional, tag="28")] pub test_account: ::core::option::Option, - /// Call reporting setting for a customer. + /// Call reporting setting for a customer. #[prost(message, optional, tag="10")] pub call_reporting_setting: ::core::option::Option, - /// Output only. Conversion tracking setting for a customer. + /// Output only. Conversion tracking setting for a customer. #[prost(message, optional, tag="14")] pub conversion_tracking_setting: ::core::option::Option, - /// Output only. Remarketing setting for a customer. + /// Output only. Remarketing setting for a customer. #[prost(message, optional, tag="15")] pub remarketing_setting: ::core::option::Option, - /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - /// the list is empty, the customer is eligible. This field is read-only. + /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If + /// the list is empty, the customer is eligible. This field is read-only. #[prost(enumeration="super::enums::customer_pay_per_conversion_eligibility_failure_reason_enum::CustomerPayPerConversionEligibilityFailureReason", repeated, packed="false", tag="16")] pub pay_per_conversion_eligibility_failure_reasons: ::prost::alloc::vec::Vec, - /// Output only. Optimization score of the customer. + /// Output only. Optimization score of the customer. /// - /// Optimization score is an estimate of how well a customer's campaigns are - /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - /// for all manager customers, and for unscored non-manager customers. + /// Optimization score is an estimate of how well a customer's campaigns are + /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null + /// for all manager customers, and for unscored non-manager customers. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="29")] pub optimization_score: ::core::option::Option, - /// Output only. Optimization score weight of the customer. + /// Output only. Optimization score weight of the customer. /// - /// Optimization score weight can be used to compare/aggregate optimization - /// scores across multiple non-manager customers. The aggregate optimization - /// score of a manager is computed as the sum over all of their customers of - /// `Customer.optimization_score * Customer.optimization_score_weight`. This - /// field is 0 for all manager customers, and for unscored non-manager - /// customers. + /// Optimization score weight can be used to compare/aggregate optimization + /// scores across multiple non-manager customers. The aggregate optimization + /// score of a manager is computed as the sum over all of their customers of + /// `Customer.optimization_score * Customer.optimization_score_weight`. This + /// field is 0 for all manager customers, and for unscored non-manager + /// customers. /// - /// This field is read-only. + /// This field is read-only. #[prost(double, tag="30")] pub optimization_score_weight: f64, - /// Output only. The status of the customer. + /// Output only. The status of the customer. #[prost(enumeration="super::enums::customer_status_enum::CustomerStatus", tag="36")] pub status: i32, } -/// Call reporting setting for a customer. +/// Call reporting setting for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallReportingSetting { - /// Enable reporting of phone call events by redirecting them via Google - /// System. + /// Enable reporting of phone call events by redirecting them via Google + /// System. #[prost(bool, optional, tag="10")] pub call_reporting_enabled: ::core::option::Option, - /// Whether to enable call conversion reporting. + /// Whether to enable call conversion reporting. #[prost(bool, optional, tag="11")] pub call_conversion_reporting_enabled: ::core::option::Option, - /// Customer-level call conversion action to attribute a call conversion to. - /// If not set a default conversion action is used. Only in effect when - /// call_conversion_reporting_enabled is set to true. + /// Customer-level call conversion action to attribute a call conversion to. + /// If not set a default conversion action is used. Only in effect when + /// call_conversion_reporting_enabled is set to true. #[prost(string, optional, tag="12")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, } -/// A collection of customer-wide settings related to Google Ads Conversion -/// Tracking. +/// A collection of customer-wide settings related to Google Ads Conversion +/// Tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionTrackingSetting { - /// Output only. The conversion tracking id used for this account. This id is automatically - /// assigned after any conversion tracking feature is used. If the customer - /// doesn't use conversion tracking, this is 0. This field is read-only. + /// Output only. The conversion tracking id used for this account. This id is automatically + /// assigned after any conversion tracking feature is used. If the customer + /// doesn't use conversion tracking, this is 0. This field is read-only. #[prost(int64, optional, tag="3")] pub conversion_tracking_id: ::core::option::Option, - /// Output only. The conversion tracking id of the customer's manager. This is set when the - /// customer is opted into cross account conversion tracking, and it overrides - /// conversion_tracking_id. This field can only be managed through the Google - /// Ads UI. This field is read-only. + /// Output only. The conversion tracking id of the customer's manager. This is set when the + /// customer is opted into cross account conversion tracking, and it overrides + /// conversion_tracking_id. This field can only be managed through the Google + /// Ads UI. This field is read-only. #[prost(int64, optional, tag="4")] pub cross_account_conversion_tracking_id: ::core::option::Option, - /// Output only. Whether the customer has accepted customer data terms. If using - /// cross-account conversion tracking, this value is inherited from the - /// manager. This field is read-only. For more - /// information, see + /// Output only. Whether the customer has accepted customer data terms. If using + /// cross-account conversion tracking, this value is inherited from the + /// manager. This field is read-only. For more + /// information, see #[prost(bool, tag="5")] pub accepted_customer_data_terms: bool, - /// Output only. Conversion tracking status. It indicates whether the customer is using - /// conversion tracking, and who is the conversion tracking owner of this - /// customer. If this customer is using cross-account conversion tracking, - /// the value returned will differ based on the `login-customer-id` of the - /// request. + /// Output only. Conversion tracking status. It indicates whether the customer is using + /// conversion tracking, and who is the conversion tracking owner of this + /// customer. If this customer is using cross-account conversion tracking, + /// the value returned will differ based on the `login-customer-id` of the + /// request. #[prost(enumeration="super::enums::conversion_tracking_status_enum::ConversionTrackingStatus", tag="6")] pub conversion_tracking_status: i32, - /// Output only. Whether the customer is opted-in for enhanced conversions - /// for leads. If using cross-account conversion tracking, this value is - /// inherited from the manager. This field is read-only. + /// Output only. Whether the customer is opted-in for enhanced conversions + /// for leads. If using cross-account conversion tracking, this value is + /// inherited from the manager. This field is read-only. #[prost(bool, tag="7")] pub enhanced_conversions_for_leads_enabled: bool, - /// Output only. The resource name of the customer where conversions are created and - /// managed. This field is read-only. + /// Output only. The resource name of the customer where conversions are created and + /// managed. This field is read-only. #[prost(string, tag="8")] pub google_ads_conversion_customer: ::prost::alloc::string::String, } -/// Remarketing setting for a customer. +/// Remarketing setting for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingSetting { - /// Output only. The Google tag. + /// Output only. The Google tag. #[prost(string, optional, tag="2")] pub google_global_site_tag: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerClient resource. +// Proto file describing the CustomerClient resource. -/// A link between the given customer and a client customer. CustomerClients only -/// exist for manager customers. All direct and indirect client customers are -/// included, as well as the manager itself. +/// A link between the given customer and a client customer. CustomerClients only +/// exist for manager customers. All direct and indirect client customers are +/// included, as well as the manager itself. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClient { - /// Output only. The resource name of the customer client. - /// CustomerClient resource names have the form: - /// `customers/{customer_id}/customerClients/{client_customer_id}` + /// Output only. The resource name of the customer client. + /// CustomerClient resource names have the form: + /// `customers/{customer_id}/customerClients/{client_customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the client-customer which is linked to - /// the given customer. Read only. + /// Output only. The resource name of the client-customer which is linked to + /// the given customer. Read only. #[prost(string, optional, tag="12")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Specifies whether this is a - /// [hidden account](). - /// Read only. + /// Output only. Specifies whether this is a + /// [hidden account](). + /// Read only. #[prost(bool, optional, tag="13")] pub hidden: ::core::option::Option, - /// Output only. Distance between given customer and client. For self link, the level value - /// will be 0. Read only. + /// Output only. Distance between given customer and client. For self link, the level value + /// will be 0. Read only. #[prost(int64, optional, tag="14")] pub level: ::core::option::Option, - /// Output only. Common Locale Data Repository (CLDR) string representation of the - /// time zone of the client, e.g. America/Los_Angeles. Read only. + /// Output only. Common Locale Data Repository (CLDR) string representation of the + /// time zone of the client, e.g. America/Los_Angeles. Read only. #[prost(string, optional, tag="15")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Identifies if the client is a test account. Read only. + /// Output only. Identifies if the client is a test account. Read only. #[prost(bool, optional, tag="16")] pub test_account: ::core::option::Option, - /// Output only. Identifies if the client is a manager. Read only. + /// Output only. Identifies if the client is a manager. Read only. #[prost(bool, optional, tag="17")] pub manager: ::core::option::Option, - /// Output only. Descriptive name for the client. Read only. + /// Output only. Descriptive name for the client. Read only. #[prost(string, optional, tag="18")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only. + /// Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only. #[prost(string, optional, tag="19")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the client customer. Read only. + /// Output only. The ID of the client customer. Read only. #[prost(int64, optional, tag="20")] pub id: ::core::option::Option, - /// Output only. The resource names of the labels owned by the requesting customer that are - /// applied to the client customer. - /// Label resource names have the form: + /// Output only. The resource names of the labels owned by the requesting customer that are + /// applied to the client customer. + /// Label resource names have the form: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, repeated, tag="21")] pub applied_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The status of the client customer. Read only. + /// Output only. The status of the client customer. Read only. #[prost(enumeration="super::enums::customer_status_enum::CustomerStatus", tag="22")] pub status: i32, } -// Proto file describing the CustomerClientLink resource. +// Proto file describing the CustomerClientLink resource. -/// Represents customer client link relationship. +/// Represents customer client link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLink { - /// Immutable. Name of the resource. - /// CustomerClientLink resource names have the form: - /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerClientLink resource names have the form: + /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The client customer linked to this customer. + /// Immutable. The client customer linked to this customer. #[prost(string, optional, tag="7")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. This is uniquely identifies a customer client link. Read only. + /// Output only. This is uniquely identifies a customer client link. Read only. #[prost(int64, optional, tag="8")] pub manager_link_id: ::core::option::Option, - /// This is the status of the link between client and manager. + /// This is the status of the link between client and manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, - /// The visibility of the link. Users can choose whether or not to see hidden - /// links in the Google Ads UI. - /// Default value is false + /// The visibility of the link. Users can choose whether or not to see hidden + /// links in the Google Ads UI. + /// Default value is false #[prost(bool, optional, tag="9")] pub hidden: ::core::option::Option, } -/// Biddability control for conversion actions with a matching category and -/// origin. +/// Biddability control for conversion actions with a matching category and +/// origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoal { - /// Immutable. The resource name of the customer conversion goal. - /// Customer conversion goal resource names have the form: + /// Immutable. The resource name of the customer conversion goal. + /// Customer conversion goal resource names have the form: /// - /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The conversion category of this customer conversion goal. Only - /// conversion actions that have this category will be included in this goal. + /// The conversion category of this customer conversion goal. Only + /// conversion actions that have this category will be included in this goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="2")] pub category: i32, - /// The conversion origin of this customer conversion goal. Only - /// conversion actions that have this conversion origin will be included in - /// this goal. + /// The conversion origin of this customer conversion goal. Only + /// conversion actions that have this conversion origin will be included in + /// this goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="3")] pub origin: i32, - /// The biddability of the customer conversion goal. + /// The biddability of the customer conversion goal. #[prost(bool, tag="4")] pub biddable: bool, } -/// A customizer value for the associated CustomizerAttribute at the Customer -/// level. +/// A customizer value for the associated CustomizerAttribute at the Customer +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizer { - /// Immutable. The resource name of the customer customizer. - /// Customer customizer resource names have the form: + /// Immutable. The resource name of the customer customizer. + /// Customer customizer resource names have the form: /// - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the customer. + /// Required. Immutable. The customizer attribute which is linked to the customer. #[prost(string, tag="2")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the customer customizer attribute. + /// Output only. The status of the customer customizer attribute. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="3")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="4")] pub value: ::core::option::Option, } -// Proto file describing the CustomerExtensionSetting resource. +// Proto file describing the CustomerExtensionSetting resource. -/// A customer extension setting. +/// A customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSetting { - /// Immutable. The resource name of the customer extension setting. - /// CustomerExtensionSetting resource names have the form: + /// Immutable. The resource name of the customer extension setting. + /// CustomerExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// The resource names of the extension feed items to serve under the customer. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the customer. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="5")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="4")] pub device: i32, } -// Proto file describing the CustomerFeed resource. +// Proto file describing the CustomerFeed resource. -/// A customer feed. +/// A customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeed { - /// Immutable. The resource name of the customer feed. - /// Customer feed resource names have the form: + /// Immutable. The resource name of the customer feed. + /// Customer feed resource names have the form: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the customer. + /// Immutable. The feed being linked to the customer. #[prost(string, optional, tag="6")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// customer. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// customer. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="3")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CustomerFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CustomerFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="4")] pub matching_function: ::core::option::Option, - /// Output only. Status of the customer feed. - /// This field is read-only. + /// Output only. Status of the customer feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the customer label resource. +// Proto file describing the customer label resource. -/// Represents a relationship between a customer and a label. This customer may -/// not have access to all the labels attached to it. Additional CustomerLabels -/// may be returned by increasing permissions with login-customer-id. +/// Represents a relationship between a customer and a label. This customer may +/// not have access to all the labels attached to it. Additional CustomerLabels +/// may be returned by increasing permissions with login-customer-id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabel { - /// Immutable. Name of the resource. - /// Customer label resource names have the form: - /// `customers/{customer_id}/customerLabels/{label_id}` + /// Immutable. Name of the resource. + /// Customer label resource names have the form: + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the customer to which the label is attached. - /// Read only. + /// Output only. The resource name of the customer to which the label is attached. + /// Read only. #[prost(string, optional, tag="4")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the label assigned to the customer. + /// Output only. The resource name of the label assigned to the customer. /// - /// Note: the Customer ID portion of the label resource name is not - /// validated when creating a new CustomerLabel. + /// Note: the Customer ID portion of the label resource name is not + /// validated when creating a new CustomerLabel. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerManagerLink resource. +// Proto file describing the CustomerManagerLink resource. -/// Represents customer-manager link relationship. +/// Represents customer-manager link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLink { - /// Immutable. Name of the resource. - /// CustomerManagerLink resource names have the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerManagerLink resource names have the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The manager customer linked to the customer. + /// Output only. The manager customer linked to the customer. #[prost(string, optional, tag="6")] pub manager_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. ID of the customer-manager link. This field is read only. + /// Output only. ID of the customer-manager link. This field is read only. #[prost(int64, optional, tag="7")] pub manager_link_id: ::core::option::Option, - /// Status of the link between the customer and the manager. + /// Status of the link between the customer and the manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Customer Negative Criterion resource. +// Proto file describing the Customer Negative Criterion resource. -/// A negative criterion for exclusions at the customer level. +/// A negative criterion for exclusions at the customer level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterion { - /// Immutable. The resource name of the customer negative criterion. - /// Customer negative criterion resource names have the form: + /// Immutable. The resource name of the customer negative criterion. + /// Customer negative criterion resource names have the form: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="3")] pub r#type: i32, - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="customer_negative_criterion::Criterion", tags="4, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterion`. pub mod customer_negative_criterion { - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="4")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. MobileApplication. + /// Immutable. MobileApplication. #[prost(message, tag="5")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. MobileAppCategory. + /// Immutable. MobileAppCategory. #[prost(message, tag="6")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="8")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="9")] YoutubeChannel(super::super::common::YouTubeChannelInfo), } } -// Proto file describing the CustomerUserAccess resource. +// Proto file describing the CustomerUserAccess resource. -/// Represents the permission of a single user onto a single customer. +/// Represents the permission of a single user onto a single customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccess { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccesses/{user_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccesses/{user_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. User id of the user with the customer access. - /// Read only field + /// Output only. User id of the user with the customer access. + /// Read only field #[prost(int64, tag="2")] pub user_id: i64, - /// Output only. Email address of the user. - /// Read only field + /// Output only. Email address of the user. + /// Read only field #[prost(string, optional, tag="3")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Access role of the user. + /// Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// Output only. The customer user access creation time. - /// Read only field - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. The customer user access creation time. + /// Read only field + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="6")] pub access_creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The email address of the inviter user. - /// Read only field + /// Output only. The email address of the inviter user. + /// Read only field #[prost(string, optional, tag="7")] pub inviter_user_email_address: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerUserAccessInvitation resource. +// Proto file describing the CustomerUserAccessInvitation resource. -/// Represent an invitation to a new user on this customer account. +/// Represent an invitation to a new user on this customer account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitation { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invitation. - /// This field is read-only. + /// Output only. The ID of the invitation. + /// This field is read-only. #[prost(int64, tag="2")] pub invitation_id: i64, - /// Immutable. Access role of the user. + /// Immutable. Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="3")] pub access_role: i32, - /// Immutable. Email address the invitation was sent to. - /// This can differ from the email address of the account - /// that accepts the invite. + /// Immutable. Email address the invitation was sent to. + /// This can differ from the email address of the account + /// that accepts the invite. #[prost(string, tag="4")] pub email_address: ::prost::alloc::string::String, - /// Output only. Time invitation was created. - /// This field is read-only. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. Time invitation was created. + /// This field is read-only. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, tag="5")] pub creation_date_time: ::prost::alloc::string::String, - /// Output only. Invitation status of the user. + /// Output only. Invitation status of the user. #[prost(enumeration="super::enums::access_invitation_status_enum::AccessInvitationStatus", tag="6")] pub invitation_status: i32, } -/// A customizer attribute. -/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -/// AdGroupCriterionCustomizer to associate a customizer attribute and -/// set its value at the customer, campaign, ad group, or ad group criterion -/// level, respectively. +/// A customizer attribute. +/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or +/// AdGroupCriterionCustomizer to associate a customizer attribute and +/// set its value at the customer, campaign, ad group, or ad group criterion +/// level, respectively. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttribute { - /// Immutable. The resource name of the customizer attribute. - /// Customizer Attribute resource names have the form: + /// Immutable. The resource name of the customizer attribute. + /// Customizer Attribute resource names have the form: /// - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customizer attribute. + /// Output only. The ID of the customizer attribute. #[prost(int64, tag="2")] pub id: i64, - /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length - /// of 1 and maximum length of 40. Name of an enabled customizer attribute must - /// be unique (case insensitive). + /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + /// of 1 and maximum length of 40. Name of an enabled customizer attribute must + /// be unique (case insensitive). #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Immutable. The type of the customizer attribute. + /// Immutable. The type of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="4")] pub r#type: i32, - /// Output only. The status of the customizer attribute. + /// Output only. The status of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_status_enum::CustomizerAttributeStatus", tag="5")] pub status: i32, } -// Proto file describing the detail placement view resource. +// Proto file describing the detail placement view resource. -/// A view with metrics aggregated by ad group and URL or YouTube video. +/// A view with metrics aggregated by ad group and URL or YouTube video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailPlacementView { - /// Output only. The resource name of the detail placement view. - /// Detail placement view resource names have the form: + /// Output only. The resource name of the detail placement view. + /// Detail placement view resource names have the form: /// - /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at detail level, e. g. website URL, mobile - /// application ID, or a YouTube video ID. + /// Output only. The automatic placement string at detail level, e. g. website URL, mobile + /// application ID, or a YouTube video ID. #[prost(string, optional, tag="7")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name is URL name for websites, YouTube video name for YouTube - /// videos, and translated mobile app name for mobile apps. + /// Output only. The display name is URL name for websites, YouTube video name for YouTube + /// videos, and translated mobile app name for mobile apps. #[prost(string, optional, tag="8")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, e.g. domain, link to the mobile application in - /// app store, or a YouTube channel URL. + /// Output only. URL of the group placement, e.g. domain, link to the mobile application in + /// app store, or a YouTube channel URL. #[prost(string, optional, tag="9")] pub group_placement_target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the placement, e.g. website, link to the mobile application in app - /// store, or a YouTube video URL. + /// Output only. URL of the placement, e.g. website, link to the mobile application in app + /// store, or a YouTube video URL. #[prost(string, optional, tag="10")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, e.g. Website, YouTube Video, and Mobile Application. + /// Output only. Type of the placement, e.g. Website, YouTube Video, and Mobile Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="6")] pub placement_type: i32, } -// Proto file describing the Detailed Demographic resource. +// Proto file describing the Detailed Demographic resource. -/// A detailed demographic: a particular interest-based vertical to be targeted -/// to reach users based on long-term life facts. +/// A detailed demographic: a particular interest-based vertical to be targeted +/// to reach users based on long-term life facts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailedDemographic { - /// Output only. The resource name of the detailed demographic. - /// Detailed demographic resource names have the form: + /// Output only. The resource name of the detailed demographic. + /// Detailed demographic resource names have the form: /// - /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the detailed demographic. + /// Output only. The ID of the detailed demographic. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the detailed demographic. E.g."Highest Level of Educational - /// Attainment" + /// Output only. The name of the detailed demographic. E.g."Highest Level of Educational + /// Attainment" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the detailed_demographic. + /// Output only. The parent of the detailed_demographic. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the detailed demographic is launched to all channels and locales. + /// Output only. True if the detailed demographic is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the detailed demographic. + /// Output only. Availability information of the detailed demographic. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the display keyword view resource. +// Proto file describing the display keyword view resource. -/// A display keyword view. +/// A display keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayKeywordView { - /// Output only. The resource name of the display keyword view. - /// Display Keyword view resource names have the form: + /// Output only. The resource name of the display keyword view. + /// Display Keyword view resource names have the form: /// - /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the DistanceView resource. +// Proto file describing the DistanceView resource. -/// A distance view with metrics aggregated by the user's distance from an -/// advertiser's location extensions. Each DistanceBucket includes all -/// impressions that fall within its distance and a single impression will -/// contribute to the metrics for all DistanceBuckets that include the user's -/// distance. +/// A distance view with metrics aggregated by the user's distance from an +/// advertiser's location extensions. Each DistanceBucket includes all +/// impressions that fall within its distance and a single impression will +/// contribute to the metrics for all DistanceBuckets that include the user's +/// distance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceView { - /// Output only. The resource name of the distance view. - /// Distance view resource names have the form: + /// Output only. The resource name of the distance view. + /// Distance view resource names have the form: /// - /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` + /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Grouping of user distance from location extensions. + /// Output only. Grouping of user distance from location extensions. #[prost(enumeration="super::enums::distance_bucket_enum::DistanceBucket", tag="2")] pub distance_bucket: i32, - /// Output only. True if the DistanceBucket is using the metric system, false otherwise. + /// Output only. True if the DistanceBucket is using the metric system, false otherwise. #[prost(bool, optional, tag="4")] pub metric_system: ::core::option::Option, } -// Proto file describing the Domain Category resource. +// Proto file describing the Domain Category resource. -/// A category generated automatically by crawling a domain. If a campaign uses -/// the DynamicSearchAdsSetting, then domain categories will be generated for -/// the domain. The categories can be targeted using WebpageConditionInfo. -/// See: +/// A category generated automatically by crawling a domain. If a campaign uses +/// the DynamicSearchAdsSetting, then domain categories will be generated for +/// the domain. The categories can be targeted using WebpageConditionInfo. +/// See: #[derive(Clone, PartialEq, ::prost::Message)] pub struct DomainCategory { - /// Output only. The resource name of the domain category. - /// Domain category resource names have the form: + /// Output only. The resource name of the domain category. + /// Domain category resource names have the form: /// - /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` + /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign this category is recommended for. + /// Output only. The campaign this category is recommended for. #[prost(string, optional, tag="10")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Recommended category for the website domain. e.g. if you have a website - /// about electronics, the categories could be "cameras", "televisions", etc. + /// Output only. Recommended category for the website domain. e.g. if you have a website + /// about electronics, the categories could be "cameras", "televisions", etc. #[prost(string, optional, tag="11")] pub category: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The language code specifying the language of the website. e.g. "en" for - /// English. The language can be specified in the DynamicSearchAdsSetting - /// required for dynamic search ads. This is the language of the pages from - /// your website that you want Google Ads to find, create ads for, - /// and match searches with. + /// Output only. The language code specifying the language of the website. e.g. "en" for + /// English. The language can be specified in the DynamicSearchAdsSetting + /// required for dynamic search ads. This is the language of the pages from + /// your website that you want Google Ads to find, create ads for, + /// and match searches with. #[prost(string, optional, tag="12")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The domain for the website. The domain can be specified in the - /// DynamicSearchAdsSetting required for dynamic search ads. + /// Output only. The domain for the website. The domain can be specified in the + /// DynamicSearchAdsSetting required for dynamic search ads. #[prost(string, optional, tag="13")] pub domain: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Fraction of pages on your site that this category matches. + /// Output only. Fraction of pages on your site that this category matches. #[prost(double, optional, tag="14")] pub coverage_fraction: ::core::option::Option, - /// Output only. The position of this category in the set of categories. Lower numbers - /// indicate a better match for the domain. null indicates not recommended. + /// Output only. The position of this category in the set of categories. Lower numbers + /// indicate a better match for the domain. null indicates not recommended. #[prost(int64, optional, tag="15")] pub category_rank: ::core::option::Option, - /// Output only. Indicates whether this category has sub-categories. + /// Output only. Indicates whether this category has sub-categories. #[prost(bool, optional, tag="16")] pub has_children: ::core::option::Option, - /// Output only. The recommended cost per click for the category. + /// Output only. The recommended cost per click for the category. #[prost(int64, optional, tag="17")] pub recommended_cpc_bid_micros: ::core::option::Option, } -// Proto file describing the Dynamic Search Ads Search Term View resource. +// Proto file describing the Dynamic Search Ads Search Term View resource. -/// A dynamic search ads search term view. +/// A dynamic search ads search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSearchTermView { - /// Output only. The resource name of the dynamic search ads search term view. - /// Dynamic search ads search term view resource names have the form: + /// Output only. The resource name of the dynamic search ads search term view. + /// Dynamic search ads search term view resource names have the form: /// - /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` + /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Search term + /// Output only. Search term /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="9")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically generated headline of the Dynamic Search Ad. + /// Output only. The dynamically generated headline of the Dynamic Search Ad. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="10")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically selected landing page URL of the impression. + /// Output only. The dynamically selected landing page URL of the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="11")] pub landing_page: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The URL of page feed item served for the impression. + /// Output only. The URL of page feed item served for the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub page_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if query matches a negative keyword. + /// Output only. True if query matches a negative keyword. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="13")] pub has_negative_keyword: ::core::option::Option, - /// Output only. True if query is added to targeted keywords. + /// Output only. True if query is added to targeted keywords. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="14")] pub has_matching_keyword: ::core::option::Option, - /// Output only. True if query matches a negative url. + /// Output only. True if query matches a negative url. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="15")] pub has_negative_url: ::core::option::Option, } -// Proto file describing the expanded landing page view resource. +// Proto file describing the expanded landing page view resource. -/// A landing page view with metrics aggregated at the expanded final URL -/// level. +/// A landing page view with metrics aggregated at the expanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedLandingPageView { - /// Output only. The resource name of the expanded landing page view. - /// Expanded landing page view resource names have the form: + /// Output only. The resource name of the expanded landing page view. + /// Expanded landing page view resource names have the form: /// - /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The final URL that clicks are directed to. + /// Output only. The final URL that clicks are directed to. #[prost(string, optional, tag="3")] pub expanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Experiment resource. +// Proto file describing the Experiment resource. -/// A Google ads experiment for users to experiment changes on multiple -/// campaigns, compare the performance, and apply the effective changes. +/// A Google ads experiment for users to experiment changes on multiple +/// campaigns, compare the performance, and apply the effective changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Experiment { - /// Immutable. The resource name of the experiment. - /// Experiment resource names have the form: + /// Immutable. The resource name of the experiment. + /// Experiment resource names have the form: /// - /// `customers/{customer_id}/experiments/{experiment_id}` + /// `customers/{customer_id}/experiments/{experiment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the experiment. Read only. + /// Output only. The ID of the experiment. Read only. #[prost(int64, optional, tag="9")] pub experiment_id: ::core::option::Option, - /// Required. The name of the experiment. It must have a minimum length of 1 and - /// maximum length of 1024. It must be unique under a customer. + /// Required. The name of the experiment. It must have a minimum length of 1 and + /// maximum length of 1024. It must be unique under a customer. #[prost(string, tag="10")] pub name: ::prost::alloc::string::String, - /// The description of the experiment. It must have a minimum length of 1 and - /// maximum length of 2048. + /// The description of the experiment. It must have a minimum length of 1 and + /// maximum length of 2048. #[prost(string, tag="11")] pub description: ::prost::alloc::string::String, - /// For system managed experiments, the advertiser must provide a suffix during - /// construction, in the setup stage before moving to initiated. The suffix - /// will be appended to the in-design and experiment campaign names so that the - /// name is base campaign name + suffix. + /// For system managed experiments, the advertiser must provide a suffix during + /// construction, in the setup stage before moving to initiated. The suffix + /// will be appended to the in-design and experiment campaign names so that the + /// name is base campaign name + suffix. #[prost(string, tag="12")] pub suffix: ::prost::alloc::string::String, - /// The product/feature that uses this experiment. + /// The product/feature that uses this experiment. #[prost(enumeration="super::enums::experiment_type_enum::ExperimentType", tag="13")] pub r#type: i32, - /// The Advertiser-desired status of this experiment. + /// The Advertiser-desired status of this experiment. #[prost(enumeration="super::enums::experiment_status_enum::ExperimentStatus", tag="14")] pub status: i32, - /// Date when the experiment starts. By default, the experiment starts - /// now or on the campaign's start date, whichever is later. If this field is - /// set, then the experiment starts at the beginning of the specified date in - /// the customer's time zone. + /// Date when the experiment starts. By default, the experiment starts + /// now or on the campaign's start date, whichever is later. If this field is + /// set, then the experiment starts at the beginning of the specified date in + /// the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-03-14 + /// Format: YYYY-MM-DD + /// Example: 2019-03-14 #[prost(string, optional, tag="15")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Date when the experiment ends. By default, the experiment ends on - /// the campaign's end date. If this field is set, then the experiment ends at - /// the end of the specified date in the customer's time zone. + /// Date when the experiment ends. By default, the experiment ends on + /// the campaign's end date. If this field is set, then the experiment ends at + /// the end of the specified date in the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-04-18 + /// Format: YYYY-MM-DD + /// Example: 2019-04-18 #[prost(string, optional, tag="16")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// The goals of this experiment. + /// The goals of this experiment. #[prost(message, repeated, tag="17")] pub goals: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of experiment schedule or promote. The most recent long - /// running operation is returned. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of experiment schedule or promote. The most recent long + /// running operation is returned. #[prost(string, optional, tag="18")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the experiment promotion process. + /// Output only. The status of the experiment promotion process. #[prost(enumeration="super::enums::async_action_status_enum::AsyncActionStatus", tag="19")] pub promote_status: i32, } -// Proto file describing the Experiment arm resource. +// Proto file describing the Experiment arm resource. -/// A Google ads experiment for users to experiment changes on multiple -/// campaigns, compare the performance, and apply the effective changes. +/// A Google ads experiment for users to experiment changes on multiple +/// campaigns, compare the performance, and apply the effective changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArm { - /// Immutable. The resource name of the experiment arm. - /// Experiment arm resource names have the form: + /// Immutable. The resource name of the experiment arm. + /// Experiment arm resource names have the form: /// - /// `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` + /// `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The experiment to which the ExperimentArm belongs. + /// Immutable. The experiment to which the ExperimentArm belongs. #[prost(string, tag="2")] pub trial: ::prost::alloc::string::String, - /// Required. The name of the experiment arm. It must have a minimum length of 1 and - /// maximum length of 1024. It must be unique under an experiment. + /// Required. The name of the experiment arm. It must have a minimum length of 1 and + /// maximum length of 1024. It must be unique under an experiment. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Whether this arm is a control arm. A control arm is the arm against - /// which the other arms are compared. + /// Whether this arm is a control arm. A control arm is the arm against + /// which the other arms are compared. #[prost(bool, tag="4")] pub control: bool, - /// Traffic split of the trial arm. The value should be between 1 and 100 - /// and must total 100 between the two trial arms. + /// Traffic split of the trial arm. The value should be between 1 and 100 + /// and must total 100 between the two trial arms. #[prost(int64, tag="5")] pub traffic_split: i64, - /// List of campaigns in the trial arm. The max length is one. + /// List of campaigns in the trial arm. The max length is one. #[prost(string, repeated, tag="6")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The in design campaigns in the treatment experiment arm. + /// Output only. The in design campaigns in the treatment experiment arm. #[prost(string, repeated, tag="7")] pub in_design_campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the ExtensionFeedItem resource. +// Proto file describing the ExtensionFeedItem resource. -/// An extension feed item. +/// An extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItem { - /// Immutable. The resource name of the extension feed item. - /// Extension feed item resource names have the form: + /// Immutable. The resource name of the extension feed item. + /// Extension feed item resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this feed item. Read-only. + /// Output only. The ID of this feed item. Read-only. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. The extension type of the extension feed item. - /// This field is read-only. + /// Output only. The extension type of the extension feed item. + /// This field is read-only. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="13")] pub extension_type: i32, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="26")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="27")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// List of non-overlapping schedules specifying all time intervals - /// for which the feed item may serve. There can be a maximum of 6 schedules - /// per day. + /// List of non-overlapping schedules specifying all time intervals + /// for which the feed item may serve. There can be a maximum of 6 schedules + /// per day. #[prost(message, repeated, tag="16")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// The targeted device. + /// The targeted device. #[prost(enumeration="super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="17")] pub device: i32, - /// The targeted geo target constant. + /// The targeted geo target constant. #[prost(string, optional, tag="30")] pub targeted_geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The targeted keyword. + /// The targeted keyword. #[prost(message, optional, tag="22")] pub targeted_keyword: ::core::option::Option, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="4")] pub status: i32, - /// Extension type. + /// Extension type. #[prost(oneof="extension_feed_item::Extension", tags="2, 3, 7, 8, 9, 10, 11, 12, 14, 15, 23, 31")] pub extension: ::core::option::Option, - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[prost(oneof="extension_feed_item::ServingResourceTargeting", tags="28, 29")] pub serving_resource_targeting: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItem`. pub mod extension_feed_item { - /// Extension type. + /// Extension type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Extension { - /// Sitelink extension. + /// Sitelink extension. #[prost(message, tag="2")] SitelinkFeedItem(super::super::common::SitelinkFeedItem), - /// Structured snippet extension. + /// Structured snippet extension. #[prost(message, tag="3")] StructuredSnippetFeedItem(super::super::common::StructuredSnippetFeedItem), - /// App extension. + /// App extension. #[prost(message, tag="7")] AppFeedItem(super::super::common::AppFeedItem), - /// Call extension. + /// Call extension. #[prost(message, tag="8")] CallFeedItem(super::super::common::CallFeedItem), - /// Callout extension. + /// Callout extension. #[prost(message, tag="9")] CalloutFeedItem(super::super::common::CalloutFeedItem), - /// Text message extension. + /// Text message extension. #[prost(message, tag="10")] TextMessageFeedItem(super::super::common::TextMessageFeedItem), - /// Price extension. + /// Price extension. #[prost(message, tag="11")] PriceFeedItem(super::super::common::PriceFeedItem), - /// Promotion extension. + /// Promotion extension. #[prost(message, tag="12")] PromotionFeedItem(super::super::common::PromotionFeedItem), - /// Output only. Location extension. Locations are synced from a Business Profile into a - /// feed. This field is read-only. + /// Output only. Location extension. Locations are synced from a Business Profile into a + /// feed. This field is read-only. #[prost(message, tag="14")] LocationFeedItem(super::super::common::LocationFeedItem), - /// Output only. Affiliate location extension. Feed locations are populated by Google Ads - /// based on a chain ID. - /// This field is read-only. + /// Output only. Affiliate location extension. Feed locations are populated by Google Ads + /// based on a chain ID. + /// This field is read-only. #[prost(message, tag="15")] AffiliateLocationFeedItem(super::super::common::AffiliateLocationFeedItem), - /// Hotel Callout extension. + /// Hotel Callout extension. #[prost(message, tag="23")] HotelCalloutFeedItem(super::super::common::HotelCalloutFeedItem), - /// Immutable. Advertiser provided image extension. + /// Immutable. Advertiser provided image extension. #[prost(message, tag="31")] ImageFeedItem(super::super::common::ImageFeedItem), } - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ServingResourceTargeting { - /// The targeted campaign. + /// The targeted campaign. #[prost(string, tag="28")] TargetedCampaign(::prost::alloc::string::String), - /// The targeted ad group. + /// The targeted ad group. #[prost(string, tag="29")] TargetedAdGroup(::prost::alloc::string::String), } } -/// Represents a set of feed items. The set can be used and shared among certain -/// feed item features. For instance, the set can be referenced within the -/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. +/// Represents a set of feed items. The set can be used and shared among certain +/// feed item features. For instance, the set can be referenced within the +/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSet { - /// Immutable. The resource name of the feed item set. - /// Feed item set resource names have the form: - /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` + /// Immutable. The resource name of the feed item set. + /// Feed item set resource names have the form: + /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The resource name of the feed containing the feed items in the set. - /// Immutable. Required. + /// Immutable. The resource name of the feed containing the feed items in the set. + /// Immutable. Required. #[prost(string, tag="2")] pub feed: ::prost::alloc::string::String, - /// Output only. ID of the set. + /// Output only. ID of the set. #[prost(int64, tag="3")] pub feed_item_set_id: i64, - /// Name of the set. Must be unique within the account. + /// Name of the set. Must be unique within the account. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Output only. Status of the feed item set. - /// This field is read-only. + /// Output only. Status of the feed item set. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_set_status_enum::FeedItemSetStatus", tag="8")] pub status: i32, - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[prost(oneof="feed_item_set::DynamicSetFilter", tags="5, 6")] pub dynamic_set_filter: ::core::option::Option, } /// Nested message and enum types in `FeedItemSet`. pub mod feed_item_set { - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DynamicSetFilter { - /// Filter for dynamic location set. - /// It is only used for sets of locations. + /// Filter for dynamic location set. + /// It is only used for sets of locations. #[prost(message, tag="5")] DynamicLocationSetFilter(super::super::common::DynamicLocationSetFilter), - /// Filter for dynamic affiliate location set. - /// This field doesn't apply generally to feed item sets. It is only used for - /// sets of affiliate locations. + /// Filter for dynamic affiliate location set. + /// This field doesn't apply generally to feed item sets. It is only used for + /// sets of affiliate locations. #[prost(message, tag="6")] DynamicAffiliateLocationSetFilter(super::super::common::DynamicAffiliateLocationSetFilter), } } -// Proto file describing the FeedItemSetLink resource. +// Proto file describing the FeedItemSetLink resource. -/// Represents a link between a FeedItem and a FeedItemSet. +/// Represents a link between a FeedItem and a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLink { - /// Immutable. The resource name of the feed item set link. - /// Feed item set link resource names have the form: - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` + /// Immutable. The resource name of the feed item set link. + /// Feed item set link resource names have the form: + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The linked FeedItem. + /// Immutable. The linked FeedItem. #[prost(string, tag="2")] pub feed_item: ::prost::alloc::string::String, - /// Immutable. The linked FeedItemSet. + /// Immutable. The linked FeedItemSet. #[prost(string, tag="3")] pub feed_item_set: ::prost::alloc::string::String, } -// Proto file describing the FeedItemTarget resource. +// Proto file describing the FeedItemTarget resource. -/// A feed item target. +/// A feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTarget { - /// Immutable. The resource name of the feed item target. - /// Feed item target resource names have the form: - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// Immutable. The resource name of the feed item target. + /// Feed item target resource names have the form: + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed item to which this feed item target belongs. + /// Immutable. The feed item to which this feed item target belongs. #[prost(string, optional, tag="12")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The target type of this feed item target. This field is read-only. + /// Output only. The target type of this feed item target. This field is read-only. #[prost(enumeration="super::enums::feed_item_target_type_enum::FeedItemTargetType", tag="3")] pub feed_item_target_type: i32, - /// Output only. The ID of the targeted resource. This field is read-only. + /// Output only. The ID of the targeted resource. This field is read-only. #[prost(int64, optional, tag="13")] pub feed_item_target_id: ::core::option::Option, - /// Output only. Status of the feed item target. - /// This field is read-only. + /// Output only. Status of the feed item target. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_target_status_enum::FeedItemTargetStatus", tag="11")] pub status: i32, - /// The targeted resource. + /// The targeted resource. #[prost(oneof="feed_item_target::Target", tags="14, 15, 7, 16, 9, 10")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedItemTarget`. pub mod feed_item_target { - /// The targeted resource. + /// The targeted resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The targeted campaign. + /// Immutable. The targeted campaign. #[prost(string, tag="14")] Campaign(::prost::alloc::string::String), - /// Immutable. The targeted ad group. + /// Immutable. The targeted ad group. #[prost(string, tag="15")] AdGroup(::prost::alloc::string::String), - /// Immutable. The targeted keyword. + /// Immutable. The targeted keyword. #[prost(message, tag="7")] Keyword(super::super::common::KeywordInfo), - /// Immutable. The targeted geo target constant resource name. + /// Immutable. The targeted geo target constant resource name. #[prost(string, tag="16")] GeoTargetConstant(::prost::alloc::string::String), - /// Immutable. The targeted device. + /// Immutable. The targeted device. #[prost(enumeration="super::super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="9")] Device(i32), - /// Immutable. The targeted schedule. + /// Immutable. The targeted schedule. #[prost(message, tag="10")] AdSchedule(super::super::common::AdScheduleInfo), } } -// Proto file describing the FeedMapping resource. +// Proto file describing the FeedMapping resource. -/// A feed mapping. +/// A feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMapping { - /// Immutable. The resource name of the feed mapping. - /// Feed mapping resource names have the form: + /// Immutable. The resource name of the feed mapping. + /// Feed mapping resource names have the form: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed of this feed mapping. + /// Immutable. The feed of this feed mapping. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many - /// relationship meaning that 1 feed attribute can be used to populate - /// multiple placeholder fields, but 1 placeholder field can only draw - /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - /// field can be mapped to multiple feed attributes. Required. + /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many + /// relationship meaning that 1 feed attribute can be used to populate + /// multiple placeholder fields, but 1 placeholder field can only draw + /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder + /// field can be mapped to multiple feed attributes. Required. #[prost(message, repeated, tag="5")] pub attribute_field_mappings: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed mapping. - /// This field is read-only. + /// Output only. Status of the feed mapping. + /// This field is read-only. #[prost(enumeration="super::enums::feed_mapping_status_enum::FeedMappingStatus", tag="6")] pub status: i32, - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[prost(oneof="feed_mapping::Target", tags="3, 4")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedMapping`. pub mod feed_mapping { - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The placeholder type of this mapping (i.e., if the mapping maps feed - /// attributes to placeholder fields). + /// Immutable. The placeholder type of this mapping (i.e., if the mapping maps feed + /// attributes to placeholder fields). #[prost(enumeration="super::super::enums::placeholder_type_enum::PlaceholderType", tag="3")] PlaceholderType(i32), - /// Immutable. The criterion type of this mapping (i.e., if the mapping maps feed - /// attributes to criterion fields). + /// Immutable. The criterion type of this mapping (i.e., if the mapping maps feed + /// attributes to criterion fields). #[prost(enumeration="super::super::enums::feed_mapping_criterion_type_enum::FeedMappingCriterionType", tag="4")] CriterionType(i32), } } -/// Maps from feed attribute id to a placeholder or criterion field id. +/// Maps from feed attribute id to a placeholder or criterion field id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributeFieldMapping { - /// Immutable. Feed attribute from which to map. + /// Immutable. Feed attribute from which to map. #[prost(int64, optional, tag="24")] pub feed_attribute_id: ::core::option::Option, - /// Output only. The placeholder field ID. If a placeholder field enum is not published in - /// the current API version, then this field will be populated and the field - /// oneof will be empty. - /// This field is read-only. + /// Output only. The placeholder field ID. If a placeholder field enum is not published in + /// the current API version, then this field will be populated and the field + /// oneof will be empty. + /// This field is read-only. #[prost(int64, optional, tag="25")] pub field_id: ::core::option::Option, - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[prost(oneof="attribute_field_mapping::Field", tags="3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26")] pub field: ::core::option::Option, } /// Nested message and enum types in `AttributeFieldMapping`. pub mod attribute_field_mapping { - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Field { - /// Immutable. Sitelink Placeholder Fields. + /// Immutable. Sitelink Placeholder Fields. #[prost(enumeration="super::super::enums::sitelink_placeholder_field_enum::SitelinkPlaceholderField", tag="3")] SitelinkField(i32), - /// Immutable. Call Placeholder Fields. + /// Immutable. Call Placeholder Fields. #[prost(enumeration="super::super::enums::call_placeholder_field_enum::CallPlaceholderField", tag="4")] CallField(i32), - /// Immutable. App Placeholder Fields. + /// Immutable. App Placeholder Fields. #[prost(enumeration="super::super::enums::app_placeholder_field_enum::AppPlaceholderField", tag="5")] AppField(i32), - /// Output only. Location Placeholder Fields. This field is read-only. + /// Output only. Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::location_placeholder_field_enum::LocationPlaceholderField", tag="6")] LocationField(i32), - /// Output only. Affiliate Location Placeholder Fields. This field is read-only. + /// Output only. Affiliate Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::affiliate_location_placeholder_field_enum::AffiliateLocationPlaceholderField", tag="7")] AffiliateLocationField(i32), - /// Immutable. Callout Placeholder Fields. + /// Immutable. Callout Placeholder Fields. #[prost(enumeration="super::super::enums::callout_placeholder_field_enum::CalloutPlaceholderField", tag="8")] CalloutField(i32), - /// Immutable. Structured Snippet Placeholder Fields. + /// Immutable. Structured Snippet Placeholder Fields. #[prost(enumeration="super::super::enums::structured_snippet_placeholder_field_enum::StructuredSnippetPlaceholderField", tag="9")] StructuredSnippetField(i32), - /// Immutable. Message Placeholder Fields. + /// Immutable. Message Placeholder Fields. #[prost(enumeration="super::super::enums::message_placeholder_field_enum::MessagePlaceholderField", tag="10")] MessageField(i32), - /// Immutable. Price Placeholder Fields. + /// Immutable. Price Placeholder Fields. #[prost(enumeration="super::super::enums::price_placeholder_field_enum::PricePlaceholderField", tag="11")] PriceField(i32), - /// Immutable. Promotion Placeholder Fields. + /// Immutable. Promotion Placeholder Fields. #[prost(enumeration="super::super::enums::promotion_placeholder_field_enum::PromotionPlaceholderField", tag="12")] PromotionField(i32), - /// Immutable. Ad Customizer Placeholder Fields + /// Immutable. Ad Customizer Placeholder Fields #[prost(enumeration="super::super::enums::ad_customizer_placeholder_field_enum::AdCustomizerPlaceholderField", tag="13")] AdCustomizerField(i32), - /// Immutable. Dynamic Search Ad Page Feed Fields. + /// Immutable. Dynamic Search Ad Page Feed Fields. #[prost(enumeration="super::super::enums::dsa_page_feed_criterion_field_enum::DsaPageFeedCriterionField", tag="14")] DsaPageFeedField(i32), - /// Immutable. Location Target Fields. + /// Immutable. Location Target Fields. #[prost(enumeration="super::super::enums::location_extension_targeting_criterion_field_enum::LocationExtensionTargetingCriterionField", tag="15")] LocationExtensionTargetingField(i32), - /// Immutable. Education Placeholder Fields + /// Immutable. Education Placeholder Fields #[prost(enumeration="super::super::enums::education_placeholder_field_enum::EducationPlaceholderField", tag="16")] EducationField(i32), - /// Immutable. Flight Placeholder Fields + /// Immutable. Flight Placeholder Fields #[prost(enumeration="super::super::enums::flight_placeholder_field_enum::FlightPlaceholderField", tag="17")] FlightField(i32), - /// Immutable. Custom Placeholder Fields + /// Immutable. Custom Placeholder Fields #[prost(enumeration="super::super::enums::custom_placeholder_field_enum::CustomPlaceholderField", tag="18")] CustomField(i32), - /// Immutable. Hotel Placeholder Fields + /// Immutable. Hotel Placeholder Fields #[prost(enumeration="super::super::enums::hotel_placeholder_field_enum::HotelPlaceholderField", tag="19")] HotelField(i32), - /// Immutable. Real Estate Placeholder Fields + /// Immutable. Real Estate Placeholder Fields #[prost(enumeration="super::super::enums::real_estate_placeholder_field_enum::RealEstatePlaceholderField", tag="20")] RealEstateField(i32), - /// Immutable. Travel Placeholder Fields + /// Immutable. Travel Placeholder Fields #[prost(enumeration="super::super::enums::travel_placeholder_field_enum::TravelPlaceholderField", tag="21")] TravelField(i32), - /// Immutable. Local Placeholder Fields + /// Immutable. Local Placeholder Fields #[prost(enumeration="super::super::enums::local_placeholder_field_enum::LocalPlaceholderField", tag="22")] LocalField(i32), - /// Immutable. Job Placeholder Fields + /// Immutable. Job Placeholder Fields #[prost(enumeration="super::super::enums::job_placeholder_field_enum::JobPlaceholderField", tag="23")] JobField(i32), - /// Immutable. Image Placeholder Fields + /// Immutable. Image Placeholder Fields #[prost(enumeration="super::super::enums::image_placeholder_field_enum::ImagePlaceholderField", tag="26")] ImageField(i32), } } -// Proto file describing the FeedPlaceholderView resource. +// Proto file describing the FeedPlaceholderView resource. -/// A feed placeholder view. +/// A feed placeholder view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedPlaceholderView { - /// Output only. The resource name of the feed placeholder view. - /// Feed placeholder view resource names have the form: + /// Output only. The resource name of the feed placeholder view. + /// Feed placeholder view resource names have the form: /// - /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` + /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The placeholder type of the feed placeholder view. + /// Output only. The placeholder type of the feed placeholder view. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="2")] pub placeholder_type: i32, } -// Proto file describing the gender view resource. +// Proto file describing the gender view resource. -/// A gender view. +/// A gender view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderView { - /// Output only. The resource name of the gender view. - /// Gender view resource names have the form: + /// Output only. The resource name of the gender view. + /// Gender view resource names have the form: /// - /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the geo target constant resource. +// Proto file describing the geo target constant resource. -/// A geo target constant. +/// A geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstant { - /// Output only. The resource name of the geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{geo_target_constant_id}` + /// `geoTargetConstants/{geo_target_constant_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the geo target constant. + /// Output only. The ID of the geo target constant. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Geo target constant English name. + /// Output only. Geo target constant English name. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. #[prost(string, optional, tag="12")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant target type. + /// Output only. Geo target constant target type. #[prost(string, optional, tag="13")] pub target_type: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant status. + /// Output only. Geo target constant status. #[prost(enumeration="super::enums::geo_target_constant_status_enum::GeoTargetConstantStatus", tag="7")] pub status: i32, - /// Output only. The fully qualified English name, consisting of the target's name and that - /// of its parent and country. + /// Output only. The fully qualified English name, consisting of the target's name and that + /// of its parent and country. #[prost(string, optional, tag="14")] pub canonical_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the parent geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the parent geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{parent_geo_target_constant_id}` + /// `geoTargetConstants/{parent_geo_target_constant_id}` #[prost(string, optional, tag="9")] pub parent_geo_target: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the geographic view resource. +// Proto file describing the geographic view resource. -/// A geographic view. +/// A geographic view. /// -/// Geographic View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at either actual physical location of -/// the user or an area of interest. If other segment fields are used, you may -/// get more than one row per country. +/// Geographic View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at either actual physical location of +/// the user or an area of interest. If other segment fields are used, you may +/// get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeographicView { - /// Output only. The resource name of the geographic view. - /// Geographic view resource names have the form: + /// Output only. The resource name of the geographic view. + /// Geographic view resource names have the form: /// - /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Type of the geo targeting of the campaign. + /// Output only. Type of the geo targeting of the campaign. #[prost(enumeration="super::enums::geo_targeting_type_enum::GeoTargetingType", tag="3")] pub location_type: i32, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="5")] pub country_criterion_id: ::core::option::Option, } -// Proto file describing the Google Ads Field resource. +// Proto file describing the Google Ads Field resource. -/// A field or resource (artifact) used by GoogleAdsService. +/// A field or resource (artifact) used by GoogleAdsService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsField { - /// Output only. The resource name of the artifact. - /// Artifact resource names have the form: + /// Output only. The resource name of the artifact. + /// Artifact resource names have the form: /// - /// `googleAdsFields/{name}` + /// `googleAdsFields/{name}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The name of the artifact. + /// Output only. The name of the artifact. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category of the artifact. + /// Output only. The category of the artifact. #[prost(enumeration="super::enums::google_ads_field_category_enum::GoogleAdsFieldCategory", tag="3")] pub category: i32, - /// Output only. Whether the artifact can be used in a SELECT clause in search - /// queries. + /// Output only. Whether the artifact can be used in a SELECT clause in search + /// queries. #[prost(bool, optional, tag="22")] pub selectable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a WHERE clause in search - /// queries. + /// Output only. Whether the artifact can be used in a WHERE clause in search + /// queries. #[prost(bool, optional, tag="23")] pub filterable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a ORDER BY clause in search - /// queries. + /// Output only. Whether the artifact can be used in a ORDER BY clause in search + /// queries. #[prost(bool, optional, tag="24")] pub sortable: ::core::option::Option, - /// Output only. The names of all resources, segments, and metrics that are selectable with - /// the described artifact. + /// Output only. The names of all resources, segments, and metrics that are selectable with + /// the described artifact. #[prost(string, repeated, tag="25")] pub selectable_with: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The names of all resources that are selectable with the described - /// artifact. Fields from these resources do not segment metrics when included - /// in search queries. + /// Output only. The names of all resources that are selectable with the described + /// artifact. Fields from these resources do not segment metrics when included + /// in search queries. /// - /// This field is only set for artifacts whose category is RESOURCE. + /// This field is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="26")] pub attribute_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all metrics that are selectable with the - /// described artifact when it is used in the FROM clause. - /// It is only set for artifacts whose category is RESOURCE. + /// Output only. This field lists the names of all metrics that are selectable with the + /// described artifact when it is used in the FROM clause. + /// It is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="27")] pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all artifacts, whether a segment or another - /// resource, that segment metrics when included in search queries and when the - /// described artifact is used in the FROM clause. It is only set for artifacts - /// whose category is RESOURCE. + /// Output only. This field lists the names of all artifacts, whether a segment or another + /// resource, that segment metrics when included in search queries and when the + /// described artifact is used in the FROM clause. It is only set for artifacts + /// whose category is RESOURCE. #[prost(string, repeated, tag="28")] pub segments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Values the artifact can assume if it is a field of type ENUM. + /// Output only. Values the artifact can assume if it is a field of type ENUM. /// - /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. + /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. #[prost(string, repeated, tag="29")] pub enum_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field determines the operators that can be used with the artifact - /// in WHERE clauses. + /// Output only. This field determines the operators that can be used with the artifact + /// in WHERE clauses. #[prost(enumeration="super::enums::google_ads_field_data_type_enum::GoogleAdsFieldDataType", tag="12")] pub data_type: i32, - /// Output only. The URL of proto describing the artifact's data type. + /// Output only. The URL of proto describing the artifact's data type. #[prost(string, optional, tag="30")] pub type_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the field artifact is repeated. + /// Output only. Whether the field artifact is repeated. #[prost(bool, optional, tag="31")] pub is_repeated: ::core::option::Option, } -// Proto file describing the group placement view resource. +// Proto file describing the group placement view resource. -/// A group placement view. +/// A group placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GroupPlacementView { - /// Output only. The resource name of the group placement view. - /// Group placement view resource names have the form: + /// Output only. The resource name of the group placement view. + /// Group placement view resource names have the form: /// - /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at group level, e. g. web domain, mobile - /// app ID, or a YouTube channel ID. + /// Output only. The automatic placement string at group level, e. g. web domain, mobile + /// app ID, or a YouTube channel ID. #[prost(string, optional, tag="6")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Domain name for websites and YouTube channel name for YouTube channels. + /// Output only. Domain name for websites and YouTube channel name for YouTube channels. #[prost(string, optional, tag="7")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, e.g. domain, link to the mobile application in - /// app store, or a YouTube channel URL. + /// Output only. URL of the group placement, e.g. domain, link to the mobile application in + /// app store, or a YouTube channel URL. #[prost(string, optional, tag="8")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, e.g. Website, YouTube Channel, Mobile Application. + /// Output only. Type of the placement, e.g. Website, YouTube Channel, Mobile Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="5")] pub placement_type: i32, } -// Proto file describing the hotel group view resource. +// Proto file describing the hotel group view resource. -/// A hotel group view. +/// A hotel group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelGroupView { - /// Output only. The resource name of the hotel group view. - /// Hotel Group view resource names have the form: + /// Output only. The resource name of the hotel group view. + /// Hotel Group view resource names have the form: /// - /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel performance view resource. +// Proto file describing the hotel performance view resource. -/// A hotel performance view. +/// A hotel performance view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPerformanceView { - /// Output only. The resource name of the hotel performance view. - /// Hotel performance view resource names have the form: + /// Output only. The resource name of the hotel performance view. + /// Hotel performance view resource names have the form: /// - /// `customers/{customer_id}/hotelPerformanceView` + /// `customers/{customer_id}/hotelPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel reconciliation resource. +// Proto file describing the hotel reconciliation resource. -/// A hotel reconciliation. It contains conversion information from Hotel -/// bookings to reconcile with advertiser records. These rows may be updated -/// or canceled before billing via Bulk Uploads. +/// A hotel reconciliation. It contains conversion information from Hotel +/// bookings to reconcile with advertiser records. These rows may be updated +/// or canceled before billing via Bulk Uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliation { - /// Immutable. The resource name of the hotel reconciliation. - /// Hotel reconciliation resource names have the form: + /// Immutable. The resource name of the hotel reconciliation. + /// Hotel reconciliation resource names have the form: /// - /// `customers/{customer_id}/hotelReconciliations/{commission_id}` + /// `customers/{customer_id}/hotelReconciliations/{commission_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is - /// assigned a Commission ID to help you match it to a guest stay. + /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is + /// assigned a Commission ID to help you match it to a guest stay. #[prost(string, tag="2")] pub commission_id: ::prost::alloc::string::String, - /// Output only. The order ID is the identifier for this booking as provided in the - /// 'transaction_id' parameter of the conversion tracking tag. + /// Output only. The order ID is the identifier for this booking as provided in the + /// 'transaction_id' parameter of the conversion tracking tag. #[prost(string, tag="3")] pub order_id: ::prost::alloc::string::String, - /// Output only. The resource name for the Campaign associated with the conversion. + /// Output only. The resource name for the Campaign associated with the conversion. #[prost(string, tag="11")] pub campaign: ::prost::alloc::string::String, - /// Output only. Identifier for the Hotel Center account which provides the rates for the - /// Hotel campaign. + /// Output only. Identifier for the Hotel Center account which provides the rates for the + /// Hotel campaign. #[prost(int64, tag="4")] pub hotel_center_id: i64, - /// Output only. Unique identifier for the booked property, as provided in the Hotel Center - /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking - /// tag. + /// Output only. Unique identifier for the booked property, as provided in the Hotel Center + /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking + /// tag. #[prost(string, tag="5")] pub hotel_id: ::prost::alloc::string::String, - /// Output only. Check-in date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-in date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="6")] pub check_in_date: ::prost::alloc::string::String, - /// Output only. Check-out date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-out date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="7")] pub check_out_date: ::prost::alloc::string::String, - /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If - /// original booking value changes for any reason, such as itinerary changes or - /// room upsells, the reconciled value should be the full final amount - /// collected. If a booking is canceled, the reconciled value should include - /// the value of any cancellation fees or non-refundable nights charged. Value - /// is in millionths of the base unit currency. For example, $12.35 would be - /// represented as 12350000. Currency unit is in the default customer currency. + /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If + /// original booking value changes for any reason, such as itinerary changes or + /// room upsells, the reconciled value should be the full final amount + /// collected. If a booking is canceled, the reconciled value should include + /// the value of any cancellation fees or non-refundable nights charged. Value + /// is in millionths of the base unit currency. For example, $12.35 would be + /// represented as 12350000. Currency unit is in the default customer currency. #[prost(int64, tag="8")] pub reconciled_value_micros: i64, - /// Output only. Whether a given booking has been billed. Once billed, a booking can't be - /// modified. + /// Output only. Whether a given booking has been billed. Once billed, a booking can't be + /// modified. #[prost(bool, tag="9")] pub billed: bool, - /// Required. Output only. Current status of a booking with regards to reconciliation and billing. - /// Bookings should be reconciled within 45 days after the check-out date. - /// Any booking not reconciled within 45 days will be billed at its original - /// value. + /// Required. Output only. Current status of a booking with regards to reconciliation and billing. + /// Bookings should be reconciled within 45 days after the check-out date. + /// Any booking not reconciled within 45 days will be billed at its original + /// value. #[prost(enumeration="super::enums::hotel_reconciliation_status_enum::HotelReconciliationStatus", tag="10")] pub status: i32, } -// Proto file describing the income range view resource. +// Proto file describing the income range view resource. -/// An income range view. +/// An income range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeView { - /// Output only. The resource name of the income range view. - /// Income range view resource names have the form: + /// Output only. The resource name of the income range view. + /// Income range view resource names have the form: /// - /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Invoice resource. +// Proto file describing the Invoice resource. -/// An invoice. All invoice information is snapshotted to match the PDF invoice. -/// For invoices older than the launch of InvoiceService, the snapshotted -/// information may not match the PDF invoice. +/// An invoice. All invoice information is snapshotted to match the PDF invoice. +/// For invoices older than the launch of InvoiceService, the snapshotted +/// information may not match the PDF invoice. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Invoice { - /// Output only. The resource name of the invoice. Multiple customers can share a given - /// invoice, so multiple resource names may point to the same invoice. - /// Invoice resource names have the form: + /// Output only. The resource name of the invoice. Multiple customers can share a given + /// invoice, so multiple resource names may point to the same invoice. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". #[prost(string, optional, tag="25")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of invoice. + /// Output only. The type of invoice. #[prost(enumeration="super::enums::invoice_type_enum::InvoiceType", tag="3")] pub r#type: i32, - /// Output only. The resource name of this invoice's billing setup. + /// Output only. The resource name of this invoice's billing setup. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 16 digit ID used to identify the payments account associated with the - /// billing setup, e.g. "1234-5678-9012-3456". It appears on the invoice PDF as - /// "Billing Account Number". + /// Output only. A 16 digit ID used to identify the payments account associated with the + /// billing setup, e.g. "1234-5678-9012-3456". It appears on the invoice PDF as + /// "Billing Account Number". #[prost(string, optional, tag="27")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// billing setup, e.g. "1234-5678-9012". It appears on the invoice PDF as - /// "Billing ID". + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// billing setup, e.g. "1234-5678-9012". It appears on the invoice PDF as + /// "Billing ID". #[prost(string, optional, tag="28")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - /// either "Issue date" or "Invoice date". + /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as + /// either "Issue date" or "Invoice date". #[prost(string, optional, tag="29")] pub issue_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The due date in yyyy-mm-dd format. + /// Output only. The due date in yyyy-mm-dd format. #[prost(string, optional, tag="30")] pub due_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The service period date range of this invoice. The end date is inclusive. + /// Output only. The service period date range of this invoice. The end date is inclusive. #[prost(message, optional, tag="9")] pub service_date_range: ::core::option::Option, - /// Output only. The currency code. All costs are returned in this currency. A subset of the - /// currency codes derived from the ISO 4217 standard is supported. + /// Output only. The currency code. All costs are returned in this currency. A subset of the + /// currency codes derived from the ISO 4217 standard is supported. #[prost(string, optional, tag="31")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. + /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. #[prost(int64, tag="19")] pub adjustments_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level adjustments, in micros. + /// Output only. The sum of taxes on the invoice level adjustments, in micros. #[prost(int64, tag="20")] pub adjustments_tax_amount_micros: i64, - /// Output only. The total amount of invoice level adjustments, in micros. + /// Output only. The total amount of invoice level adjustments, in micros. #[prost(int64, tag="21")] pub adjustments_total_amount_micros: i64, - /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. #[prost(int64, tag="22")] pub regulatory_costs_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. + /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. #[prost(int64, tag="23")] pub regulatory_costs_tax_amount_micros: i64, - /// Output only. The total amount of invoice level regulatory costs, in micros. + /// Output only. The total amount of invoice level regulatory costs, in micros. #[prost(int64, tag="24")] pub regulatory_costs_total_amount_micros: i64, - /// Output only. The pretax subtotal amount, in micros. This equals the - /// sum of the AccountBudgetSummary subtotal amounts, - /// Invoice.adjustments_subtotal_amount_micros, and - /// Invoice.regulatory_costs_subtotal_amount_micros. - /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - /// longer included. + /// Output only. The pretax subtotal amount, in micros. This equals the + /// sum of the AccountBudgetSummary subtotal amounts, + /// Invoice.adjustments_subtotal_amount_micros, and + /// Invoice.regulatory_costs_subtotal_amount_micros. + /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no + /// longer included. #[prost(int64, optional, tag="33")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the - /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific - /// account budget. + /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific + /// account budget. #[prost(int64, optional, tag="34")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount, in micros. This equals the sum of - /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - /// also added as it is no longer already included in - /// Invoice.tax_amount_micros. + /// Output only. The total amount, in micros. This equals the sum of + /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. + /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is + /// also added as it is no longer already included in + /// Invoice.tax_amount_micros. #[prost(int64, optional, tag="35")] pub total_amount_micros: ::core::option::Option, - /// Output only. The resource name of the original invoice corrected, wrote off, or canceled - /// by this invoice, if applicable. If `corrected_invoice` is set, - /// `replaced_invoices` will not be set. - /// Invoice resource names have the form: + /// Output only. The resource name of the original invoice corrected, wrote off, or canceled + /// by this invoice, if applicable. If `corrected_invoice` is set, + /// `replaced_invoices` will not be set. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, optional, tag="36")] pub corrected_invoice: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the original invoice(s) being rebilled or replaced by - /// this invoice, if applicable. There might be multiple replaced invoices due - /// to invoice consolidation. The replaced invoices may not belong to the same - /// payments account. If `replaced_invoices` is set, `corrected_invoice` will - /// not be set. - /// Invoice resource names have the form: - /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// Output only. The resource name of the original invoice(s) being rebilled or replaced by + /// this invoice, if applicable. There might be multiple replaced invoices due + /// to invoice consolidation. The replaced invoices may not belong to the same + /// payments account. If `replaced_invoices` is set, `corrected_invoice` will + /// not be set. + /// Invoice resource names have the form: + /// + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, repeated, tag="37")] pub replaced_invoices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth - /// token to request the PDF with this URL. + /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth + /// token to request the PDF with this URL. #[prost(string, optional, tag="38")] pub pdf_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The list of summarized account budget information associated with this - /// invoice. + /// Output only. The list of summarized account budget information associated with this + /// invoice. #[prost(message, repeated, tag="18")] pub account_budget_summaries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Invoice`. pub mod invoice { - /// Represents a summarized account budget billable cost. + /// Represents a summarized account budget billable cost. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetSummary { - /// Output only. The resource name of the customer associated with this account budget. - /// This contains the customer ID, which appears on the invoice PDF as - /// "Account ID". - /// Customer resource names have the form: + /// Output only. The resource name of the customer associated with this account budget. + /// This contains the customer ID, which appears on the invoice PDF as + /// "Account ID". + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, optional, tag="10")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The descriptive name of the account budget's customer. It appears on the - /// invoice PDF as "Account". + /// Output only. The descriptive name of the account budget's customer. It appears on the + /// invoice PDF as "Account". #[prost(string, optional, tag="11")] pub customer_descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the account budget associated with this summarized - /// billable cost. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account budget associated with this summarized + /// billable cost. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, optional, tag="12")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the account budget. It appears on the invoice PDF as "Account - /// budget". + /// Output only. The name of the account budget. It appears on the invoice PDF as "Account + /// budget". #[prost(string, optional, tag="13")] pub account_budget_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The purchase order number of the account budget. It appears on the - /// invoice PDF as "Purchase order". + /// Output only. The purchase order number of the account budget. It appears on the + /// invoice PDF as "Purchase order". #[prost(string, optional, tag="14")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount attributable to this budget during the service - /// period, in micros. + /// Output only. The pretax subtotal amount attributable to this budget during the service + /// period, in micros. #[prost(int64, optional, tag="15")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The tax amount attributable to this budget during the service period, in - /// micros. + /// Output only. The tax amount attributable to this budget during the service period, in + /// micros. #[prost(int64, optional, tag="16")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount attributable to this budget during the service period, - /// in micros. This equals the sum of the account budget subtotal amount and - /// the account budget tax amount. + /// Output only. The total amount attributable to this budget during the service period, + /// in micros. This equals the sum of the account budget subtotal amount and + /// the account budget tax amount. #[prost(int64, optional, tag="17")] pub total_amount_micros: ::core::option::Option, - /// Output only. The billable activity date range of the account budget, within the - /// service date range of this invoice. The end date is inclusive. This can - /// be different from the account budget's start and end time. + /// Output only. The billable activity date range of the account budget, within the + /// service date range of this invoice. The end date is inclusive. This can + /// be different from the account budget's start and end time. #[prost(message, optional, tag="9")] pub billable_activity_date_range: ::core::option::Option, } } -// Proto file describing the keyword plan resource. +// Proto file describing the keyword plan resource. -/// A Keyword Planner plan. -/// Max number of saved keyword plans: 10000. -/// It's possible to remove plans if limit is reached. +/// A Keyword Planner plan. +/// Max number of saved keyword plans: 10000. +/// It's possible to remove plans if limit is reached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlan { - /// Immutable. The resource name of the Keyword Planner plan. - /// KeywordPlan resource names have the form: + /// Immutable. The resource name of the Keyword Planner plan. + /// KeywordPlan resource names have the form: /// - /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` + /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the keyword plan. + /// Output only. The ID of the keyword plan. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the keyword plan. + /// The name of the keyword plan. /// - /// This field is required and should not be empty when creating new keyword - /// plans. + /// This field is required and should not be empty when creating new keyword + /// plans. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The date period used for forecasting the plan. + /// The date period used for forecasting the plan. #[prost(message, optional, tag="4")] pub forecast_period: ::core::option::Option, } -/// The forecasting period associated with the keyword plan. +/// The forecasting period associated with the keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastPeriod { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[prost(oneof="keyword_plan_forecast_period::Interval", tags="1, 2")] pub interval: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanForecastPeriod`. pub mod keyword_plan_forecast_period { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Interval { - /// A future date range relative to the current date used for forecasting. + /// A future date range relative to the current date used for forecasting. #[prost(enumeration="super::super::enums::keyword_plan_forecast_interval_enum::KeywordPlanForecastInterval", tag="1")] DateInterval(i32), - /// The custom date range used for forecasting. - /// The start and end dates must be in the future. Otherwise, an error will - /// be returned when the forecasting action is performed. - /// The start and end dates are inclusive. + /// The custom date range used for forecasting. + /// The start and end dates must be in the future. Otherwise, an error will + /// be returned when the forecasting action is performed. + /// The start and end dates are inclusive. #[prost(message, tag="2")] DateRange(super::super::common::DateRange), } } -// Proto file describing the keyword plan ad group resource. +// Proto file describing the keyword plan ad group resource. -/// A Keyword Planner ad group. -/// Max number of keyword plan ad groups per plan: 200. +/// A Keyword Planner ad group. +/// Max number of keyword plan ad groups per plan: 200. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroup { - /// Immutable. The resource name of the Keyword Planner ad group. - /// KeywordPlanAdGroup resource names have the form: + /// Immutable. The resource name of the Keyword Planner ad group. + /// KeywordPlanAdGroup resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan campaign to which this ad group belongs. + /// The keyword plan campaign to which this ad group belongs. #[prost(string, optional, tag="6")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the keyword plan ad group. + /// Output only. The ID of the keyword plan ad group. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// The name of the keyword plan ad group. + /// The name of the keyword plan ad group. /// - /// This field is required and should not be empty when creating keyword plan - /// ad group. + /// This field is required and should not be empty when creating keyword plan + /// ad group. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A default ad group max cpc bid in micros in account currency for all - /// biddable keywords under the keyword plan ad group. - /// If not set, will inherit from parent campaign. + /// A default ad group max cpc bid in micros in account currency for all + /// biddable keywords under the keyword plan ad group. + /// If not set, will inherit from parent campaign. #[prost(int64, optional, tag="9")] pub cpc_bid_micros: ::core::option::Option, } -// Proto file describing the keyword plan ad group keyword resource. +// Proto file describing the keyword plan ad group keyword resource. -/// A Keyword Plan ad group keyword. -/// Max number of keyword plan keywords per plan: 10000. +/// A Keyword Plan ad group keyword. +/// Max number of keyword plan keywords per plan: 10000. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeyword { - /// Immutable. The resource name of the Keyword Plan ad group keyword. - /// KeywordPlanAdGroupKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan ad group keyword. + /// KeywordPlanAdGroupKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan ad group to which this keyword belongs. + /// The Keyword Plan ad group to which this keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan keyword. + /// Output only. The ID of the Keyword Plan keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// A keyword level max cpc bid in micros (e.g. $1 = 1mm). The currency is the - /// same as the account currency code. This will override any CPC bid set at - /// the keyword plan ad group level. - /// Not applicable for negative keywords. (negative = true) - /// This field is Optional. + /// A keyword level max cpc bid in micros (e.g. $1 = 1mm). The currency is the + /// same as the account currency code. This will override any CPC bid set at + /// the keyword plan ad group level. + /// Not applicable for negative keywords. (negative = true) + /// This field is Optional. #[prost(int64, optional, tag="11")] pub cpc_bid_micros: ::core::option::Option, - /// Immutable. If true, the keyword is negative. + /// Immutable. If true, the keyword is negative. #[prost(bool, optional, tag="12")] pub negative: ::core::option::Option, } -// Proto file describing the keyword plan campaign resource. +// Proto file describing the keyword plan campaign resource. -/// A Keyword Plan campaign. -/// Max number of keyword plan campaigns per plan allowed: 1. +/// A Keyword Plan campaign. +/// Max number of keyword plan campaigns per plan allowed: 1. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaign { - /// Immutable. The resource name of the Keyword Plan campaign. - /// KeywordPlanCampaign resource names have the form: + /// Immutable. The resource name of the Keyword Plan campaign. + /// KeywordPlanCampaign resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan this campaign belongs to. + /// The keyword plan this campaign belongs to. #[prost(string, optional, tag="9")] pub keyword_plan: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan campaign. + /// Output only. The ID of the Keyword Plan campaign. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// The name of the Keyword Plan campaign. + /// The name of the Keyword Plan campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The languages targeted for the Keyword Plan campaign. - /// Max allowed: 1. + /// The languages targeted for the Keyword Plan campaign. + /// Max allowed: 1. #[prost(string, repeated, tag="12")] pub language_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Targeting network. + /// Targeting network. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="6")] pub keyword_plan_network: i32, - /// A default max cpc bid in micros, and in the account currency, for all ad - /// groups under the campaign. + /// A default max cpc bid in micros, and in the account currency, for all ad + /// groups under the campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(int64, optional, tag="13")] pub cpc_bid_micros: ::core::option::Option, - /// The geo targets. - /// Max number allowed: 20. + /// The geo targets. + /// Max number allowed: 20. #[prost(message, repeated, tag="8")] pub geo_targets: ::prost::alloc::vec::Vec, } -/// A geo target. +/// A geo target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanGeoTarget { - /// Required. The resource name of the geo target. + /// Required. The resource name of the geo target. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword plan negative keyword resource. +// Proto file describing the keyword plan negative keyword resource. -/// A Keyword Plan Campaign keyword. -/// Only negative keywords are supported for Campaign Keyword. +/// A Keyword Plan Campaign keyword. +/// Only negative keywords are supported for Campaign Keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeyword { - /// Immutable. The resource name of the Keyword Plan Campaign keyword. - /// KeywordPlanCampaignKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan Campaign keyword. + /// KeywordPlanCampaignKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan campaign to which this negative keyword belongs. + /// The Keyword Plan campaign to which this negative keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan negative keyword. + /// Output only. The ID of the Keyword Plan negative keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// Immutable. If true, the keyword is negative. - /// Must be set to true. Only negative campaign keywords are supported. + /// Immutable. If true, the keyword is negative. + /// Must be set to true. Only negative campaign keywords are supported. #[prost(bool, optional, tag="11")] pub negative: ::core::option::Option, } -// Proto file describing the Smart Campaign keyword theme constant resource. +// Proto file describing the Smart Campaign keyword theme constant resource. -/// A Smart Campaign keyword theme constant. +/// A Smart Campaign keyword theme constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeConstant { - /// Output only. The resource name of the keyword theme constant. - /// Keyword theme constant resource names have the form: + /// Output only. The resource name of the keyword theme constant. + /// Keyword theme constant resource names have the form: /// - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="3")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name of the keyword theme or sub keyword theme. + /// Output only. The display name of the keyword theme or sub keyword theme. #[prost(string, optional, tag="4")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword view resource. +// Proto file describing the keyword view resource. -/// A keyword view. +/// A keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordView { - /// Output only. The resource name of the keyword view. - /// Keyword view resource names have the form: + /// Output only. The resource name of the keyword view. + /// Keyword view resource names have the form: /// - /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// A label. +/// A label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Label { - /// Immutable. Name of the resource. - /// Label resource names have the form: - /// `customers/{customer_id}/labels/{label_id}` + /// Immutable. Name of the resource. + /// Label resource names have the form: + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the label. Read only. + /// Output only. Id of the label. Read only. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// The name of the label. + /// The name of the label. /// - /// This field is required and should not be empty when creating a new label. + /// This field is required and should not be empty when creating a new label. /// - /// The length of this string should be between 1 and 80, inclusive. + /// The length of this string should be between 1 and 80, inclusive. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Status of the label. Read only. + /// Output only. Status of the label. Read only. #[prost(enumeration="super::enums::label_status_enum::LabelStatus", tag="4")] pub status: i32, - /// A type of label displaying text on a colored background. + /// A type of label displaying text on a colored background. #[prost(message, optional, tag="5")] pub text_label: ::core::option::Option, } -// Proto file describing the landing page view resource. +// Proto file describing the landing page view resource. -/// A landing page view with metrics aggregated at the unexpanded final URL -/// level. +/// A landing page view with metrics aggregated at the unexpanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LandingPageView { - /// Output only. The resource name of the landing page view. - /// Landing page view resource names have the form: + /// Output only. The resource name of the landing page view. + /// Landing page view resource names have the form: /// - /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The advertiser-specified final URL. + /// Output only. The advertiser-specified final URL. #[prost(string, optional, tag="3")] pub unexpanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the language constant resource. +// Proto file describing the language constant resource. -/// A language. +/// A language. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageConstant { - /// Output only. The resource name of the language constant. - /// Language constant resource names have the form: + /// Output only. The resource name of the language constant. + /// Language constant resource names have the form: /// - /// `languageConstants/{criterion_id}` + /// `languageConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the language constant. + /// Output only. The ID of the language constant. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc. + /// Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc. #[prost(string, optional, tag="7")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The full name of the language in English, e.g., "English (US)", "Spanish", - /// etc. + /// Output only. The full name of the language in English, e.g., "English (US)", "Spanish", + /// etc. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the language is targetable. + /// Output only. Whether the language is targetable. #[prost(bool, optional, tag="9")] pub targetable: ::core::option::Option, } -// Proto file describing the lead form submission data resource. +// Proto file describing the lead form submission data resource. -/// Data from lead form submissions. +/// Data from lead form submissions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSubmissionData { - /// Output only. The resource name of the lead form submission data. - /// Lead form submission data resource names have the form: + /// Output only. The resource name of the lead form submission data. + /// Lead form submission data resource names have the form: /// - /// `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` + /// `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this lead form submission. + /// Output only. ID of this lead form submission. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. Asset associated with the submitted lead form. + /// Output only. Asset associated with the submitted lead form. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Output only. Campaign associated with the submitted lead form. + /// Output only. Campaign associated with the submitted lead form. #[prost(string, tag="4")] pub campaign: ::prost::alloc::string::String, - /// Output only. Submission data associated with a lead form. + /// Output only. Submission data associated with a lead form. #[prost(message, repeated, tag="5")] pub lead_form_submission_fields: ::prost::alloc::vec::Vec, - /// Output only. AdGroup associated with the submitted lead form. + /// Output only. AdGroup associated with the submitted lead form. #[prost(string, tag="6")] pub ad_group: ::prost::alloc::string::String, - /// Output only. AdGroupAd associated with the submitted lead form. + /// Output only. AdGroupAd associated with the submitted lead form. #[prost(string, tag="7")] pub ad_group_ad: ::prost::alloc::string::String, - /// Output only. Google Click Id associated with the submissed lead form. + /// Output only. Google Click Id associated with the submissed lead form. #[prost(string, tag="8")] pub gclid: ::prost::alloc::string::String, - /// Output only. The date and time at which the lead form was submitted. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// Output only. The date and time at which the lead form was submitted. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, tag="9")] pub submission_date_time: ::prost::alloc::string::String, } -/// Fields in the submitted lead form. +/// Fields in the submitted lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSubmissionField { - /// Output only. Field type for lead form fields. + /// Output only. Field type for lead form fields. #[prost(enumeration="super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType", tag="1")] pub field_type: i32, - /// Output only. Field value for lead form fields. + /// Output only. Field value for lead form fields. #[prost(string, tag="2")] pub field_value: ::prost::alloc::string::String, } -// Proto file describing the Life Event resource. +// Proto file describing the Life Event resource. -/// A life event: a particular interest-based vertical to be targeted to reach -/// users when they are in the midst of important life milestones. +/// A life event: a particular interest-based vertical to be targeted to reach +/// users when they are in the midst of important life milestones. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifeEvent { - /// Output only. The resource name of the life event. - /// Life event resource names have the form: + /// Output only. The resource name of the life event. + /// Life event resource names have the form: /// - /// `customers/{customer_id}/lifeEvents/{life_event_id}` + /// `customers/{customer_id}/lifeEvents/{life_event_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the life event. + /// Output only. The ID of the life event. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the life event. E.g.,"Recently Moved" + /// Output only. The name of the life event. E.g.,"Recently Moved" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the life_event. + /// Output only. The parent of the life_event. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the life event is launched to all channels and locales. + /// Output only. True if the life event is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the life event. + /// Output only. Availability information of the life event. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the location view resource. +// Proto file describing the location view resource. -/// A location view summarizes the performance of campaigns by -/// Location criteria. +/// A location view summarizes the performance of campaigns by +/// Location criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationView { - /// Output only. The resource name of the location view. - /// Location view resource names have the form: + /// Output only. The resource name of the location view. + /// Location view resource names have the form: /// - /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Managed Placement view resource. +// Proto file describing the Managed Placement view resource. -/// A managed placement view. +/// A managed placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedPlacementView { - /// Output only. The resource name of the Managed Placement view. - /// Managed placement view resource names have the form: + /// Output only. The resource name of the Managed Placement view. + /// Managed placement view resource names have the form: /// - /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the media file resource. +// Proto file describing the media file resource. -/// A media file. +/// A media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFile { - /// Immutable. The resource name of the media file. - /// Media file resource names have the form: + /// Immutable. The resource name of the media file. + /// Media file resource names have the form: /// - /// `customers/{customer_id}/mediaFiles/{media_file_id}` + /// `customers/{customer_id}/mediaFiles/{media_file_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the media file. + /// Output only. The ID of the media file. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Immutable. Type of the media file. + /// Immutable. Type of the media file. #[prost(enumeration="super::enums::media_type_enum::MediaType", tag="5")] pub r#type: i32, - /// Output only. The mime type of the media file. + /// Output only. The mime type of the media file. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="6")] pub mime_type: i32, - /// Immutable. The URL of where the original media file was downloaded from (or a file - /// name). Only used for media of type AUDIO and IMAGE. + /// Immutable. The URL of where the original media file was downloaded from (or a file + /// name). Only used for media of type AUDIO and IMAGE. #[prost(string, optional, tag="13")] pub source_url: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the media file. The name can be used by clients to help - /// identify previously uploaded media. + /// Immutable. The name of the media file. The name can be used by clients to help + /// identify previously uploaded media. #[prost(string, optional, tag="14")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The size of the media file in bytes. + /// Output only. The size of the media file in bytes. #[prost(int64, optional, tag="15")] pub file_size: ::core::option::Option, - /// The specific type of the media file. + /// The specific type of the media file. #[prost(oneof="media_file::Mediatype", tags="3, 4, 10, 11")] pub mediatype: ::core::option::Option, } /// Nested message and enum types in `MediaFile`. pub mod media_file { - /// The specific type of the media file. + /// The specific type of the media file. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mediatype { - /// Immutable. Encapsulates an Image. + /// Immutable. Encapsulates an Image. #[prost(message, tag="3")] Image(super::MediaImage), - /// Immutable. A ZIP archive media the content of which contains HTML5 assets. + /// Immutable. A ZIP archive media the content of which contains HTML5 assets. #[prost(message, tag="4")] MediaBundle(super::MediaBundle), - /// Output only. Encapsulates an Audio. + /// Output only. Encapsulates an Audio. #[prost(message, tag="10")] Audio(super::MediaAudio), - /// Immutable. Encapsulates a Video. + /// Immutable. Encapsulates a Video. #[prost(message, tag="11")] Video(super::MediaVideo), } } -/// Encapsulates an Image. +/// Encapsulates an Image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaImage { - /// Immutable. Raw image data. + /// Immutable. Raw image data. #[prost(bytes="vec", optional, tag="4")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to the full size version of the image. + /// Output only. The url to the full size version of the image. #[prost(string, optional, tag="2")] pub full_size_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The url to the preview size version of the image. + /// Output only. The url to the preview size version of the image. #[prost(string, optional, tag="3")] pub preview_size_image_url: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a ZIP archive media the content of which contains HTML5 assets. +/// Represents a ZIP archive media the content of which contains HTML5 assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundle { - /// Immutable. Raw zipped data. + /// Immutable. Raw zipped data. #[prost(bytes="vec", optional, tag="3")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to access the uploaded zipped data. - /// E.g. - /// This field is read-only. + /// Output only. The url to access the uploaded zipped data. + /// E.g. + /// This field is read-only. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Encapsulates an Audio. +/// Encapsulates an Audio. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaAudio { - /// Output only. The duration of the Audio in milliseconds. + /// Output only. The duration of the Audio in milliseconds. #[prost(int64, optional, tag="2")] pub ad_duration_millis: ::core::option::Option, } -/// Encapsulates a Video. +/// Encapsulates a Video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaVideo { - /// Output only. The duration of the Video in milliseconds. + /// Output only. The duration of the Video in milliseconds. #[prost(int64, optional, tag="5")] pub ad_duration_millis: ::core::option::Option, - /// Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - /// ", - /// Output only. The Advertising Digital Identification code for this video, as defined by - /// the American Association of Advertising Agencies, used mainly for - /// television commercials. + /// Output only. The Advertising Digital Identification code for this video, as defined by + /// the American Association of Advertising Agencies, used mainly for + /// television commercials. #[prost(string, optional, tag="7")] pub advertising_id_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Industry Standard Commercial Identifier code for this video, used - /// mainly for television commercials. + /// Output only. The Industry Standard Commercial Identifier code for this video, used + /// mainly for television commercials. #[prost(string, optional, tag="8")] pub isci_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Merchant Center link resource. +// Proto file describing the Merchant Center link resource. -/// A data sharing connection, proposed or in use, -/// between a Google Ads Customer and a Merchant Center account. +/// A data sharing connection, proposed or in use, +/// between a Google Ads Customer and a Merchant Center account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLink { - /// Immutable. The resource name of the merchant center link. - /// Merchant center link resource names have the form: + /// Immutable. The resource name of the merchant center link. + /// Merchant center link resource names have the form: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the Merchant Center account. - /// This field is readonly. + /// Output only. The ID of the Merchant Center account. + /// This field is readonly. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The name of the Merchant Center account. - /// This field is readonly. + /// Output only. The name of the Merchant Center account. + /// This field is readonly. #[prost(string, optional, tag="7")] pub merchant_center_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::merchant_center_link_status_enum::MerchantCenterLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Mobile App Category Constant resource. +// Proto file describing the Mobile App Category Constant resource. -/// A mobile application category constant. +/// A mobile application category constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryConstant { - /// Output only. The resource name of the mobile app category constant. - /// Mobile app category constant resource names have the form: + /// Output only. The resource name of the mobile app category constant. + /// Mobile app category constant resource names have the form: /// - /// `mobileAppCategoryConstants/{mobile_app_category_id}` + /// `mobileAppCategoryConstants/{mobile_app_category_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile app category constant. + /// Output only. The ID of the mobile app category constant. #[prost(int32, optional, tag="4")] pub id: ::core::option::Option, - /// Output only. Mobile app category name. + /// Output only. Mobile app category name. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the mobile device constant resource. +// Proto file describing the mobile device constant resource. -/// A mobile device constant. +/// A mobile device constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceConstant { - /// Output only. The resource name of the mobile device constant. - /// Mobile device constant resource names have the form: + /// Output only. The resource name of the mobile device constant. + /// Mobile device constant resource names have the form: /// - /// `mobileDeviceConstants/{criterion_id}` + /// `mobileDeviceConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile device constant. + /// Output only. The ID of the mobile device constant. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The name of the mobile device. + /// Output only. The name of the mobile device. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The manufacturer of the mobile device. + /// Output only. The manufacturer of the mobile device. #[prost(string, optional, tag="9")] pub manufacturer_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The operating system of the mobile device. + /// Output only. The operating system of the mobile device. #[prost(string, optional, tag="10")] pub operating_system_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of mobile device. + /// Output only. The type of mobile device. #[prost(enumeration="super::enums::mobile_device_type_enum::MobileDeviceType", tag="6")] pub r#type: i32, } -// Proto file describing the offline user data job resource. +// Proto file describing the offline user data job resource. -/// A job containing offline user data of store visitors, or user list members -/// that will be processed asynchronously. The uploaded data isn't readable and -/// the processing results of the job can only be read using -/// GoogleAdsService.Search/SearchStream. +/// A job containing offline user data of store visitors, or user list members +/// that will be processed asynchronously. The uploaded data isn't readable and +/// the processing results of the job can only be read using +/// GoogleAdsService.Search/SearchStream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJob { - /// Immutable. The resource name of the offline user data job. - /// Offline user data job resource names have the form: + /// Immutable. The resource name of the offline user data job. + /// Offline user data job resource names have the form: /// - /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this offline user data job. + /// Output only. ID of this offline user data job. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// Immutable. User specified job ID. + /// Immutable. User specified job ID. #[prost(int64, optional, tag="10")] pub external_id: ::core::option::Option, - /// Immutable. Type of the job. + /// Immutable. Type of the job. #[prost(enumeration="super::enums::offline_user_data_job_type_enum::OfflineUserDataJobType", tag="4")] pub r#type: i32, - /// Output only. Status of the job. + /// Output only. Status of the job. #[prost(enumeration="super::enums::offline_user_data_job_status_enum::OfflineUserDataJobStatus", tag="5")] pub status: i32, - /// Output only. Reason for the processing failure, if status is FAILED. + /// Output only. Reason for the processing failure, if status is FAILED. #[prost(enumeration="super::enums::offline_user_data_job_failure_reason_enum::OfflineUserDataJobFailureReason", tag="6")] pub failure_reason: i32, - /// Output only. Metadata of offline user data job depicting match rate range. + /// Output only. Metadata of offline user data job depicting match rate range. #[prost(message, optional, tag="11")] pub operation_metadata: ::core::option::Option, - /// Metadata of the job. + /// Metadata of the job. #[prost(oneof="offline_user_data_job::Metadata", tags="7, 8")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJob`. pub mod offline_user_data_job { - /// Metadata of the job. + /// Metadata of the job. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Immutable. Metadata for data updates to a CRM-based user list. + /// Immutable. Metadata for data updates to a CRM-based user list. #[prost(message, tag="7")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), - /// Immutable. Metadata for store sales data update. + /// Immutable. Metadata for store sales data update. #[prost(message, tag="8")] StoreSalesMetadata(super::super::common::StoreSalesMetadata), } } -/// Metadata of offline user data job. +/// Metadata of offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMetadata { - /// Output only. Match rate of the Customer Match user list upload. Describes the estimated - /// match rate when the status of the job is "RUNNING" and final match rate - /// when the final match rate is available after the status of the job is - /// "SUCCESS/FAILED". + /// Output only. Match rate of the Customer Match user list upload. Describes the estimated + /// match rate when the status of the job is "RUNNING" and final match rate + /// when the final match rate is available after the status of the job is + /// "SUCCESS/FAILED". #[prost(enumeration="super::enums::offline_user_data_job_match_rate_range_enum::OfflineUserDataJobMatchRateRange", tag="1")] pub match_rate_range: i32, } -// Proto file describing the operating system version constant resource. +// Proto file describing the operating system version constant resource. -/// A mobile operating system version or a range of versions, depending on -/// `operator_type`. List of available mobile platforms at -/// +/// A mobile operating system version or a range of versions, depending on +/// `operator_type`. List of available mobile platforms at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionConstant { - /// Output only. The resource name of the operating system version constant. - /// Operating system version constant resource names have the form: + /// Output only. The resource name of the operating system version constant. + /// Operating system version constant resource names have the form: /// - /// `operatingSystemVersionConstants/{criterion_id}` + /// `operatingSystemVersionConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the operating system version. + /// Output only. The ID of the operating system version. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. Name of the operating system. + /// Output only. Name of the operating system. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The OS Major Version number. + /// Output only. The OS Major Version number. #[prost(int32, optional, tag="9")] pub os_major_version: ::core::option::Option, - /// Output only. The OS Minor Version number. + /// Output only. The OS Minor Version number. #[prost(int32, optional, tag="10")] pub os_minor_version: ::core::option::Option, - /// Output only. Determines whether this constant represents a single version or a range of - /// versions. + /// Output only. Determines whether this constant represents a single version or a range of + /// versions. #[prost(enumeration="super::enums::operating_system_version_operator_type_enum::OperatingSystemVersionOperatorType", tag="6")] pub operator_type: i32, } -// Proto file describing the PaidOrganicSearchTermView resource. +// Proto file describing the PaidOrganicSearchTermView resource. -/// A paid organic search term view providing a view of search stats across -/// ads and organic listings aggregated by search term at the ad group level. +/// A paid organic search term view providing a view of search stats across +/// ads and organic listings aggregated by search term at the ad group level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaidOrganicSearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - /// {ad_group_id}~{URL-base64 search term}` + /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + /// {ad_group_id}~{URL-base64 search term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="3")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the parental status view resource. +// Proto file describing the parental status view resource. -/// A parental status view. +/// A parental status view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusView { - /// Output only. The resource name of the parental status view. - /// Parental Status view resource names have the form: + /// Output only. The resource name of the parental status view. + /// Parental Status view resource names have the form: /// - /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the PaymentsAccount resource. +// Proto file describing the PaymentsAccount resource. -/// A payments account, which can be used to set up billing for an Ads customer. +/// A payments account, which can be used to set up billing for an Ads customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccount { - /// Output only. The resource name of the payments account. - /// PaymentsAccount resource names have the form: + /// Output only. The resource name of the payments account. + /// PaymentsAccount resource names have the form: /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. A 16 digit ID used to identify a payments account. + /// Output only. A 16 digit ID used to identify a payments account. #[prost(string, optional, tag="8")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments account. + /// Output only. The name of the payments account. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The currency code of the payments account. - /// A subset of the currency codes derived from the ISO 4217 standard is - /// supported. + /// Output only. The currency code of the payments account. + /// A subset of the currency codes derived from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// payments account. + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// payments account. #[prost(string, optional, tag="11")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile ID present in uncommon situations, e.g. - /// when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile ID present in uncommon situations, e.g. + /// when a sequential liability agreement has been arranged. #[prost(string, optional, tag="12")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Paying manager of this payment account. + /// Output only. Paying manager of this payment account. #[prost(string, optional, tag="13")] pub paying_manager_customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductBiddingCategoryConstant resource. +// Proto file describing the ProductBiddingCategoryConstant resource. -/// A Product Bidding Category. +/// A Product Bidding Category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryConstant { - /// Output only. The resource name of the product bidding category. - /// Product bidding category resource names have the form: + /// Output only. The resource name of the product bidding category. + /// Product bidding category resource names have the form: /// - /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` + /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the product bidding category. + /// Output only. ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Two-letter upper-case country code of the product bidding category. + /// Output only. Two-letter upper-case country code of the product bidding category. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the parent product bidding category. + /// Output only. Resource name of the parent product bidding category. #[prost(string, optional, tag="12")] pub product_bidding_category_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Level of the product bidding category. + /// Output only. Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="5")] pub level: i32, - /// Output only. Status of the product bidding category. + /// Output only. Status of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_status_enum::ProductBiddingCategoryStatus", tag="6")] pub status: i32, - /// Output only. Language code of the product bidding category. + /// Output only. Language code of the product bidding category. #[prost(string, optional, tag="13")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Display value of the product bidding category localized according to - /// language_code. + /// Output only. Display value of the product bidding category localized according to + /// language_code. #[prost(string, optional, tag="14")] pub localized_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductGroup View resource. +// Proto file describing the ProductGroup View resource. -/// A product group view. +/// A product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductGroupView { - /// Output only. The resource name of the product group view. - /// Product group view resource names have the form: + /// Output only. The resource name of the product group view. + /// Product group view resource names have the form: /// - /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Recommendation resource. +// Proto file describing the Recommendation resource. -/// A recommendation. +/// A recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Recommendation { - /// Immutable. The resource name of the recommendation. + /// Immutable. The resource name of the recommendation. /// - /// `customers/{customer_id}/recommendations/{recommendation_id}` + /// `customers/{customer_id}/recommendations/{recommendation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The type of recommendation. + /// Output only. The type of recommendation. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="2")] pub r#type: i32, - /// Output only. The impact on account performance as a result of applying the - /// recommendation. + /// Output only. The impact on account performance as a result of applying the + /// recommendation. #[prost(message, optional, tag="3")] pub impact: ::core::option::Option, - /// Output only. The budget targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign budget. + /// Output only. The budget targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign budget. /// - /// This field will be set for the following recommendation types: - /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - /// MOVE_UNUSED_BUDGET + /// This field will be set for the following recommendation types: + /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, + /// MOVE_UNUSED_BUDGET #[prost(string, optional, tag="24")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The campaign targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign. - /// - /// This field will be set for the following recommendation types: - /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - /// USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - /// MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - /// RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, SEARCH_PARTNERS_OPT_IN, - /// SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD + /// Output only. The campaign targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign. + /// + /// This field will be set for the following recommendation types: + /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, + /// USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, + /// MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, + /// RESPONSIVE_SEARCH_AD, RESPONSIVE_SEARCH_AD_ASSET, SEARCH_PARTNERS_OPT_IN, + /// SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD #[prost(string, optional, tag="25")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group targeted by this recommendation. This will be set only when - /// the recommendation affects a single ad group. + /// Output only. The ad group targeted by this recommendation. This will be set only when + /// the recommendation affects a single ad group. /// - /// This field will be set for the following recommendation types: - /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - /// RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD + /// This field will be set for the following recommendation types: + /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, + /// RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD #[prost(string, optional, tag="26")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the recommendation is dismissed or not. + /// Output only. Whether the recommendation is dismissed or not. #[prost(bool, optional, tag="27")] pub dismissed: ::core::option::Option, - /// The details of recommendation. + /// The details of recommendation. #[prost(oneof="recommendation::Recommendation", tags="4, 22, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 28, 29, 30, 31")] pub recommendation: ::core::option::Option, } /// Nested message and enum types in `Recommendation`. pub mod recommendation { - /// The impact of making the change as described in the recommendation. - /// Some types of recommendations may not have impact information. + /// The impact of making the change as described in the recommendation. + /// Some types of recommendations may not have impact information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationImpact { - /// Output only. Base metrics at the time the recommendation was generated. + /// Output only. Base metrics at the time the recommendation was generated. #[prost(message, optional, tag="1")] pub base_metrics: ::core::option::Option, - /// Output only. Estimated metrics if the recommendation is applied. + /// Output only. Estimated metrics if the recommendation is applied. #[prost(message, optional, tag="2")] pub potential_metrics: ::core::option::Option, } - /// Weekly account performance metrics. For some recommendation types, these - /// are averaged over the past 90-day period and hence can be fractional. + /// Weekly account performance metrics. For some recommendation types, these + /// are averaged over the past 90-day period and hence can be fractional. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationMetrics { - /// Output only. Number of ad impressions. + /// Output only. Number of ad impressions. #[prost(double, optional, tag="6")] pub impressions: ::core::option::Option, - /// Output only. Number of ad clicks. + /// Output only. Number of ad clicks. #[prost(double, optional, tag="7")] pub clicks: ::core::option::Option, - /// Output only. Cost (in micros) for advertising, in the local currency for the account. + /// Output only. Cost (in micros) for advertising, in the local currency for the account. #[prost(int64, optional, tag="8")] pub cost_micros: ::core::option::Option, - /// Output only. Number of conversions. + /// Output only. Number of conversions. #[prost(double, optional, tag="9")] pub conversions: ::core::option::Option, - /// Output only. Number of video views for a video ad campaign. + /// Output only. Number of video views for a video ad campaign. #[prost(double, optional, tag="10")] pub video_views: ::core::option::Option, } - /// The budget recommendation for budget constrained campaigns. + /// The budget recommendation for budget constrained campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendation { - /// Output only. The current budget amount in micros. + /// Output only. The current budget amount in micros. #[prost(int64, optional, tag="7")] pub current_budget_amount_micros: ::core::option::Option, - /// Output only. The recommended budget amount in micros. + /// Output only. The recommended budget amount in micros. #[prost(int64, optional, tag="8")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Output only. The budget amounts and associated impact estimates for some values of - /// possible budget amounts. + /// Output only. The budget amounts and associated impact estimates for some values of + /// possible budget amounts. #[prost(message, repeated, tag="3")] pub budget_options: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CampaignBudgetRecommendation`. pub mod campaign_budget_recommendation { - /// The impact estimates for a given budget amount. + /// The impact estimates for a given budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendationOption { - /// Output only. The budget amount for this option. + /// Output only. The budget amount for this option. #[prost(int64, optional, tag="3")] pub budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if budget is changed to amount specified in this - /// option. + /// Output only. The impact estimate if budget is changed to amount specified in this + /// option. #[prost(message, optional, tag="2")] pub impact: ::core::option::Option, } } - /// The keyword recommendation. + /// The keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordRecommendation { - /// Output only. The recommended keyword. + /// Output only. The recommended keyword. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended CPC (cost-per-click) bid. + /// Output only. The recommended CPC (cost-per-click) bid. #[prost(int64, optional, tag="3")] pub recommended_cpc_bid_micros: ::core::option::Option, } - /// The text ad recommendation. + /// The text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Creation date of the recommended ad. - /// YYYY-MM-DD format, e.g., 2018-04-17. + /// Output only. Creation date of the recommended ad. + /// YYYY-MM-DD format, e.g., 2018-04-17. #[prost(string, optional, tag="4")] pub creation_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Date, if present, is the earliest when the recommendation will be auto - /// applied. - /// YYYY-MM-DD format, e.g., 2018-04-17. + /// Output only. Date, if present, is the earliest when the recommendation will be auto + /// applied. + /// YYYY-MM-DD format, e.g., 2018-04-17. #[prost(string, optional, tag="5")] pub auto_apply_date: ::core::option::Option<::prost::alloc::string::String>, } - /// The Target CPA opt-in recommendation. + /// The Target CPA opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendation { - /// Output only. The available goals and corresponding options for Target CPA strategy. + /// Output only. The available goals and corresponding options for Target CPA strategy. #[prost(message, repeated, tag="1")] pub options: ::prost::alloc::vec::Vec, - /// Output only. The recommended average CPA target. See required budget amount and impact - /// of using this recommendation in options list. + /// Output only. The recommended average CPA target. See required budget amount and impact + /// of using this recommendation in options list. #[prost(int64, optional, tag="3")] pub recommended_target_cpa_micros: ::core::option::Option, } /// Nested message and enum types in `TargetCpaOptInRecommendation`. pub mod target_cpa_opt_in_recommendation { - /// The Target CPA opt-in option with impact estimate. + /// The Target CPA opt-in option with impact estimate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationOption { - /// Output only. The goal achieved by this option. + /// Output only. The goal achieved by this option. #[prost(enumeration="super::super::super::enums::target_cpa_opt_in_recommendation_goal_enum::TargetCpaOptInRecommendationGoal", tag="1")] pub goal: i32, - /// Output only. Average CPA target. + /// Output only. Average CPA target. #[prost(int64, optional, tag="5")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target CPA. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target CPA. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="6")] pub required_campaign_budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if this option is selected. + /// Output only. The impact estimate if this option is selected. #[prost(message, optional, tag="4")] pub impact: ::core::option::Option, } } - /// The Maximize Conversions Opt-In recommendation. + /// The Maximize Conversions Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionsOptInRecommendation { - /// Output only. The recommended new budget amount. + /// Output only. The recommended new budget amount. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Enhanced Cost-Per-Click Opt-In recommendation. + /// The Enhanced Cost-Per-Click Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpcOptInRecommendation { } - /// The Search Partners Opt-In recommendation. + /// The Search Partners Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchPartnersOptInRecommendation { } - /// The Maximize Clicks opt-in recommendation. + /// The Maximize Clicks opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeClicksOptInRecommendation { - /// Output only. The recommended new budget amount. - /// Only set if the current budget is too high. + /// Output only. The recommended new budget amount. + /// Only set if the current budget is too high. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Optimize Ad Rotation recommendation. + /// The Optimize Ad Rotation recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizeAdRotationRecommendation { } - /// The Callout extension recommendation. + /// The Callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionRecommendation { - /// Output only. Callout extensions recommended to be added. + /// Output only. Callout extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Sitelink extension recommendation. + /// The Sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionRecommendation { - /// Output only. Sitelink extensions recommended to be added. + /// Output only. Sitelink extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Call extension recommendation. + /// The Call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionRecommendation { - /// Output only. Call extensions recommended to be added. + /// Output only. Call extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The keyword match type recommendation. + /// The keyword match type recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeRecommendation { - /// Output only. The existing keyword where the match type should be more broad. + /// Output only. The existing keyword where the match type should be more broad. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended new match type. + /// Output only. The recommended new match type. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub recommended_match_type: i32, } - /// The move unused budget recommendation. + /// The move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetRecommendation { - /// Output only. The excess budget's resource_name. + /// Output only. The excess budget's resource_name. #[prost(string, optional, tag="3")] pub excess_campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The recommendation for the constrained budget to increase. + /// Output only. The recommendation for the constrained budget to increase. #[prost(message, optional, tag="2")] pub budget_recommendation: ::core::option::Option, } - /// The Target ROAS opt-in recommendation. + /// The Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInRecommendation { - /// Output only. The recommended target ROAS (revenue per unit of spend). - /// The value is between 0.01 and 1000.0, inclusive. + /// Output only. The recommended target ROAS (revenue per unit of spend). + /// The value is between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="1")] pub recommended_target_roas: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target ROAS. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target ROAS. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="2")] pub required_campaign_budget_amount_micros: ::core::option::Option, } - /// The add responsive search ad asset recommendation. + /// The add responsive search ad asset recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdAssetRecommendation { - /// Output only. The current ad to be updated. + /// Output only. The current ad to be updated. #[prost(message, optional, tag="1")] pub current_ad: ::core::option::Option, - /// Output only. The recommended assets. This is populated only with the new headlines - /// and/or descriptions, and is otherwise empty. + /// Output only. The recommended assets. This is populated only with the new headlines + /// and/or descriptions, and is otherwise empty. #[prost(message, optional, tag="2")] pub recommended_assets: ::core::option::Option, } - /// The add responsive search ad recommendation. + /// The add responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// The use broad match keyword recommendation. + /// The use broad match keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UseBroadMatchKeywordRecommendation { - /// Output only. Sample of keywords to be expanded to Broad Match. + /// Output only. Sample of keywords to be expanded to Broad Match. #[prost(message, repeated, tag="1")] pub keyword: ::prost::alloc::vec::Vec, - /// Output only. Total number of keywords to be expanded to Broad Match in the campaign. + /// Output only. Total number of keywords to be expanded to Broad Match in the campaign. #[prost(int64, tag="2")] pub suggested_keywords_count: i64, - /// Output only. Total number of keywords in the campaign. + /// Output only. Total number of keywords in the campaign. #[prost(int64, tag="3")] pub campaign_keywords_count: i64, - /// Output only. Whether the associated campaign uses a shared budget. + /// Output only. Whether the associated campaign uses a shared budget. #[prost(bool, tag="4")] pub campaign_uses_shared_budget: bool, - /// Output only. The budget recommended to avoid becoming budget constrained after - /// applying the recommendation. + /// Output only. The budget recommended to avoid becoming budget constrained after + /// applying the recommendation. #[prost(int64, tag="5")] pub required_campaign_budget_amount_micros: i64, } - /// The details of recommendation. + /// The details of recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Recommendation { - /// Output only. The campaign budget recommendation. + /// Output only. The campaign budget recommendation. #[prost(message, tag="4")] CampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The forecasting campaign budget recommendation. + /// Output only. The forecasting campaign budget recommendation. #[prost(message, tag="22")] ForecastingCampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The keyword recommendation. + /// Output only. The keyword recommendation. #[prost(message, tag="8")] KeywordRecommendation(KeywordRecommendation), - /// Output only. Add expanded text ad recommendation. + /// Output only. Add expanded text ad recommendation. #[prost(message, tag="9")] TextAdRecommendation(TextAdRecommendation), - /// Output only. The TargetCPA opt-in recommendation. + /// Output only. The TargetCPA opt-in recommendation. #[prost(message, tag="10")] TargetCpaOptInRecommendation(TargetCpaOptInRecommendation), - /// Output only. The MaximizeConversions Opt-In recommendation. + /// Output only. The MaximizeConversions Opt-In recommendation. #[prost(message, tag="11")] MaximizeConversionsOptInRecommendation(MaximizeConversionsOptInRecommendation), - /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. #[prost(message, tag="12")] EnhancedCpcOptInRecommendation(EnhancedCpcOptInRecommendation), - /// Output only. The Search Partners Opt-In recommendation. + /// Output only. The Search Partners Opt-In recommendation. #[prost(message, tag="14")] SearchPartnersOptInRecommendation(SearchPartnersOptInRecommendation), - /// Output only. The MaximizeClicks Opt-In recommendation. + /// Output only. The MaximizeClicks Opt-In recommendation. #[prost(message, tag="15")] MaximizeClicksOptInRecommendation(MaximizeClicksOptInRecommendation), - /// Output only. The Optimize Ad Rotation recommendation. + /// Output only. The Optimize Ad Rotation recommendation. #[prost(message, tag="16")] OptimizeAdRotationRecommendation(OptimizeAdRotationRecommendation), - /// Output only. The Callout extension recommendation. + /// Output only. The Callout extension recommendation. #[prost(message, tag="17")] CalloutExtensionRecommendation(CalloutExtensionRecommendation), - /// Output only. The Sitelink extension recommendation. + /// Output only. The Sitelink extension recommendation. #[prost(message, tag="18")] SitelinkExtensionRecommendation(SitelinkExtensionRecommendation), - /// Output only. The Call extension recommendation. + /// Output only. The Call extension recommendation. #[prost(message, tag="19")] CallExtensionRecommendation(CallExtensionRecommendation), - /// Output only. The keyword match type recommendation. + /// Output only. The keyword match type recommendation. #[prost(message, tag="20")] KeywordMatchTypeRecommendation(KeywordMatchTypeRecommendation), - /// Output only. The move unused budget recommendation. + /// Output only. The move unused budget recommendation. #[prost(message, tag="21")] MoveUnusedBudgetRecommendation(MoveUnusedBudgetRecommendation), - /// Output only. The Target ROAS opt-in recommendation. + /// Output only. The Target ROAS opt-in recommendation. #[prost(message, tag="23")] TargetRoasOptInRecommendation(TargetRoasOptInRecommendation), - /// Output only. The add responsive search ad recommendation. + /// Output only. The add responsive search ad recommendation. #[prost(message, tag="28")] ResponsiveSearchAdRecommendation(ResponsiveSearchAdRecommendation), - /// Output only. The marginal ROI campaign budget recommendation. + /// Output only. The marginal ROI campaign budget recommendation. #[prost(message, tag="29")] MarginalRoiCampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The use broad match keyword recommendation. + /// Output only. The use broad match keyword recommendation. #[prost(message, tag="30")] UseBroadMatchKeywordRecommendation(UseBroadMatchKeywordRecommendation), - /// Output only. The add responsive search ad asset recommendation. + /// Output only. The add responsive search ad asset recommendation. #[prost(message, tag="31")] ResponsiveSearchAdAssetRecommendation(ResponsiveSearchAdAssetRecommendation), } } -// Proto file describing the Remarketing Action resource. +// Proto file describing the Remarketing Action resource. -/// A remarketing action. A snippet of JavaScript code that will collect the -/// product id and the type of page people visited (product page, shopping cart -/// page, purchase page, general site visit) on an advertiser's website. +/// A remarketing action. A snippet of JavaScript code that will collect the +/// product id and the type of page people visited (product page, shopping cart +/// page, purchase page, general site visit) on an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingAction { - /// Immutable. The resource name of the remarketing action. - /// Remarketing action resource names have the form: + /// Immutable. The resource name of the remarketing action. + /// Remarketing action resource names have the form: /// - /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the remarketing action. + /// Output only. Id of the remarketing action. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the remarketing action. + /// The name of the remarketing action. /// - /// This field is required and should not be empty when creating new - /// remarketing actions. + /// This field is required and should not be empty when creating new + /// remarketing actions. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The snippets used for tracking remarketing actions. + /// Output only. The snippets used for tracking remarketing actions. #[prost(message, repeated, tag="4")] pub tag_snippets: ::prost::alloc::vec::Vec, } -// Proto file describing the SearchTermView resource. +// Proto file describing the SearchTermView resource. -/// A search term view with metrics aggregated by search term at the ad group -/// level. +/// A search term view with metrics aggregated by search term at the ad group +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="5")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group the search term served in. + /// Output only. The ad group the search term served in. #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Indicates whether the search term is currently one of your - /// targeted or excluded keywords. + /// Output only. Indicates whether the search term is currently one of your + /// targeted or excluded keywords. #[prost(enumeration="super::enums::search_term_targeting_status_enum::SearchTermTargetingStatus", tag="4")] pub status: i32, } -// Proto file describing the SharedCriterion resource. +// Proto file describing the SharedCriterion resource. -/// A criterion belonging to a shared set. +/// A criterion belonging to a shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterion { - /// Immutable. The resource name of the shared criterion. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared criterion. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The shared set to which the shared criterion belongs. + /// Immutable. The shared set to which the shared criterion belongs. #[prost(string, optional, tag="10")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="11")] pub criterion_id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="4")] pub r#type: i32, - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="shared_criterion::Criterion", tags="3, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `SharedCriterion`. pub mod shared_criterion { - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="3")] Keyword(super::super::common::KeywordInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="5")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="6")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile App Category. + /// Immutable. Mobile App Category. #[prost(message, tag="8")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="9")] MobileApplication(super::super::common::MobileApplicationInfo), } } -// Proto file describing the SharedSet resource. +// Proto file describing the SharedSet resource. -/// SharedSets are used for sharing criterion exclusions across multiple -/// campaigns. +/// SharedSets are used for sharing criterion exclusions across multiple +/// campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSet { - /// Immutable. The resource name of the shared set. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared set. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this shared set. Read only. + /// Output only. The ID of this shared set. Read only. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Immutable. The type of this shared set: each shared set holds only a single kind - /// of resource. Required. Immutable. + /// Immutable. The type of this shared set: each shared set holds only a single kind + /// of resource. Required. Immutable. #[prost(enumeration="super::enums::shared_set_type_enum::SharedSetType", tag="3")] pub r#type: i32, - /// The name of this shared set. Required. - /// Shared Sets must have names that are unique among active shared sets of - /// the same type. - /// The length of this string should be between 1 and 255 UTF-8 bytes, - /// inclusive. + /// The name of this shared set. Required. + /// Shared Sets must have names that are unique among active shared sets of + /// the same type. + /// The length of this string should be between 1 and 255 UTF-8 bytes, + /// inclusive. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this shared set. Read only. + /// Output only. The status of this shared set. Read only. #[prost(enumeration="super::enums::shared_set_status_enum::SharedSetStatus", tag="5")] pub status: i32, - /// Output only. The number of shared criteria within this shared set. Read only. + /// Output only. The number of shared criteria within this shared set. Read only. #[prost(int64, optional, tag="10")] pub member_count: ::core::option::Option, - /// Output only. The number of campaigns associated with this shared set. Read only. + /// Output only. The number of campaigns associated with this shared set. Read only. #[prost(int64, optional, tag="11")] pub reference_count: ::core::option::Option, } -// Proto file describing the ShoppingPerformanceView resource. +// Proto file describing the ShoppingPerformanceView resource. -/// Shopping performance view. -/// Provides Shopping campaign statistics aggregated at several product dimension -/// levels. Product dimension values from Merchant Center such as brand, -/// category, custom attributes, product condition and product type will reflect -/// the state of each dimension as of the date and time when the corresponding -/// event was recorded. +/// Shopping performance view. +/// Provides Shopping campaign statistics aggregated at several product dimension +/// levels. Product dimension values from Merchant Center such as brand, +/// category, custom attributes, product condition and product type will reflect +/// the state of each dimension as of the date and time when the corresponding +/// event was recorded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingPerformanceView { - /// Output only. The resource name of the Shopping performance view. - /// Shopping performance view resource names have the form: - /// `customers/{customer_id}/shoppingPerformanceView` + /// Output only. The resource name of the Shopping performance view. + /// Shopping performance view resource names have the form: + /// `customers/{customer_id}/shoppingPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the SmartCampaignSearchTermView resource. +// Proto file describing the SmartCampaignSearchTermView resource. -/// A Smart campaign search term view. +/// A Smart campaign search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSearchTermView { - /// Output only. The resource name of the Smart campaign search term view. - /// Smart campaign search term view resource names have the form: + /// Output only. The resource name of the Smart campaign search term view. + /// Smart campaign search term view resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, tag="2")] pub search_term: ::prost::alloc::string::String, - /// Output only. The Smart campaign the search term served in. + /// Output only. The Smart campaign the search term served in. #[prost(string, tag="3")] pub campaign: ::prost::alloc::string::String, } -// Proto file describing the Smart campaign setting resource. +// Proto file describing the Smart campaign setting resource. -/// Settings for configuring Smart campaigns. +/// Settings for configuring Smart campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSetting { - /// Immutable. The resource name of the Smart campaign setting. - /// Smart campaign setting resource names have the form: + /// Immutable. The resource name of the Smart campaign setting. + /// Smart campaign setting resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which these settings apply. + /// Output only. The campaign to which these settings apply. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Phone number and country code. + /// Phone number and country code. #[prost(message, optional, tag="3")] pub phone_number: ::core::option::Option, - /// Landing page url given by user for this Campaign. + /// Landing page url given by user for this Campaign. #[prost(string, tag="4")] pub final_url: ::prost::alloc::string::String, - /// The ISO-639-1 language code to advertise in. + /// The ISO-639-1 language code to advertise in. #[prost(string, tag="7")] pub advertising_language_code: ::prost::alloc::string::String, - /// The business setting of this campaign. + /// The business setting of this campaign. #[prost(oneof="smart_campaign_setting::BusinessSetting", tags="5, 6")] pub business_setting: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSetting`. pub mod smart_campaign_setting { - /// Phone number and country code in smart campaign settings. + /// Phone number and country code in smart campaign settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhoneNumber { - /// Phone number of the smart campaign. + /// Phone number of the smart campaign. #[prost(string, optional, tag="1")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Upper-case, two-letter country code as defined by ISO-3166. + /// Upper-case, two-letter country code as defined by ISO-3166. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } - /// The business setting of this campaign. + /// The business setting of this campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// The name of the business. + /// The name of the business. #[prost(string, tag="5")] BusinessName(::prost::alloc::string::String), - /// The ID of the Business Profile location. - /// The location ID can be fetched by Business Profile API with its form: - /// accounts/{accountId}/locations/{locationId}. The last {locationId} - /// component from the Business Profile API represents the - /// business_location_id. See the [Business Profile API] - /// () + /// The ID of the Business Profile location. + /// The location ID can be fetched by Business Profile API with its form: + /// accounts/{accountId}/locations/{locationId}. The last {locationId} + /// component from the Business Profile API represents the + /// business_location_id. See the [Business Profile API] + /// () #[prost(int64, tag="6")] BusinessLocationId(i64), } } -/// A data sharing connection, allowing the import of third party app analytics -/// into a Google Ads Customer. +/// A data sharing connection, allowing the import of third party app analytics +/// into a Google Ads Customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLink { - /// Immutable. The resource name of the third party app analytics link. - /// Third party app analytics link resource names have the form: + /// Immutable. The resource name of the third party app analytics link. + /// Third party app analytics link resource names have the form: /// - /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The shareable link ID that should be provided to the third party when - /// setting up app analytics. This is able to be regenerated using regenerate - /// method in the ThirdPartyAppAnalyticsLinkService. + /// Output only. The shareable link ID that should be provided to the third party when + /// setting up app analytics. This is able to be regenerated using regenerate + /// method in the ThirdPartyAppAnalyticsLinkService. #[prost(string, optional, tag="3")] pub shareable_link_id: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Topic Constant resource. +// Proto file describing the Topic Constant resource. -/// Use topics to target or exclude placements in the Google Display Network -/// based on the category into which the placement falls (for example, -/// "Pets & Animals/Pets/Dogs"). +/// Use topics to target or exclude placements in the Google Display Network +/// based on the category into which the placement falls (for example, +/// "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicConstant { - /// Output only. The resource name of the topic constant. - /// topic constant resource names have the form: + /// Output only. The resource name of the topic constant. + /// topic constant resource names have the form: /// - /// `topicConstants/{topic_id}` + /// `topicConstants/{topic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the topic. + /// Output only. The ID of the topic. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. Resource name of parent of the topic constant. + /// Output only. Resource name of parent of the topic constant. #[prost(string, optional, tag="6")] pub topic_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// {"Pets & Animals", "Pets", "Dogs"} represents the - /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at - /// + /// Output only. The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// {"Pets & Animals", "Pets", "Dogs"} represents the + /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at + /// #[prost(string, repeated, tag="7")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the topic view resource. +// Proto file describing the topic view resource. -/// A topic view. +/// A topic view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicView { - /// Output only. The resource name of the topic view. - /// Topic view resource names have the form: + /// Output only. The resource name of the topic view. + /// Topic view resource names have the form: /// - /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the User Interest resource. +// Proto file describing the User Interest resource. -/// A user interest: a particular interest-based vertical to be targeted. +/// A user interest: a particular interest-based vertical to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterest { - /// Output only. The resource name of the user interest. - /// User interest resource names have the form: + /// Output only. The resource name of the user interest. + /// User interest resource names have the form: /// - /// `customers/{customer_id}/userInterests/{user_interest_id}` + /// `customers/{customer_id}/userInterests/{user_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Taxonomy type of the user interest. + /// Output only. Taxonomy type of the user interest. #[prost(enumeration="super::enums::user_interest_taxonomy_type_enum::UserInterestTaxonomyType", tag="2")] pub taxonomy_type: i32, - /// Output only. The ID of the user interest. + /// Output only. The ID of the user interest. #[prost(int64, optional, tag="8")] pub user_interest_id: ::core::option::Option, - /// Output only. The name of the user interest. + /// Output only. The name of the user interest. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The parent of the user interest. + /// Output only. The parent of the user interest. #[prost(string, optional, tag="10")] pub user_interest_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if the user interest is launched to all channels and locales. + /// Output only. True if the user interest is launched to all channels and locales. #[prost(bool, optional, tag="11")] pub launched_to_all: ::core::option::Option, - /// Output only. Availability information of the user interest. + /// Output only. Availability information of the user interest. #[prost(message, repeated, tag="7")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the User List resource. +// Proto file describing the User List resource. -/// A user list. This is a list of users a customer may target. +/// A user list. This is a list of users a customer may target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserList { - /// Immutable. The resource name of the user list. - /// User list resource names have the form: + /// Immutable. The resource name of the user list. + /// User list resource names have the form: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the user list. + /// Output only. Id of the user list. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. A flag that indicates if a user may edit a list. Depends on the list - /// ownership and list type. For example, external remarketing user lists are - /// not editable. + /// Output only. A flag that indicates if a user may edit a list. Depends on the list + /// ownership and list type. For example, external remarketing user lists are + /// not editable. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="26")] pub read_only: ::core::option::Option, - /// Name of this user list. Depending on its access_reason, the user list name - /// may not be unique (e.g. if access_reason=SHARED) + /// Name of this user list. Depending on its access_reason, the user list name + /// may not be unique (e.g. if access_reason=SHARED) #[prost(string, optional, tag="27")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Description of this user list. + /// Description of this user list. #[prost(string, optional, tag="28")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Membership status of this user list. Indicates whether a user list is open - /// or active. Only open user lists can accumulate more users and can be - /// targeted to. + /// Membership status of this user list. Indicates whether a user list is open + /// or active. Only open user lists can accumulate more users and can be + /// targeted to. #[prost(enumeration="super::enums::user_list_membership_status_enum::UserListMembershipStatus", tag="6")] pub membership_status: i32, - /// An ID from external system. It is used by user list sellers to correlate - /// IDs on their systems. + /// An ID from external system. It is used by user list sellers to correlate + /// IDs on their systems. #[prost(string, optional, tag="29")] pub integration_code: ::core::option::Option<::prost::alloc::string::String>, - /// Number of days a user's cookie stays on your list since its most recent - /// addition to the list. This field must be between 0 and 540 inclusive. - /// However, for CRM based userlists, this field can be set to 10000 which - /// means no expiration. + /// Number of days a user's cookie stays on your list since its most recent + /// addition to the list. This field must be between 0 and 540 inclusive. + /// However, for CRM based userlists, this field can be set to 10000 which + /// means no expiration. /// - /// It'll be ignored for logical_user_list. + /// It'll be ignored for logical_user_list. #[prost(int64, optional, tag="30")] pub membership_life_span: ::core::option::Option, - /// Output only. Estimated number of users in this user list, on the Google Display Network. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list, on the Google Display Network. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="31")] pub size_for_display: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, on the Google - /// Display Network. + /// Output only. Size range in terms of number of users of the UserList, on the Google + /// Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="10")] pub size_range_for_display: i32, - /// Output only. Estimated number of users in this user list in the google.com domain. - /// These are the users available for targeting in Search campaigns. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list in the google.com domain. + /// These are the users available for targeting in Search campaigns. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="32")] pub size_for_search: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, for Search ads. + /// Output only. Size range in terms of number of users of the UserList, for Search ads. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="12")] pub size_range_for_search: i32, - /// Output only. Type of this list. + /// Output only. Type of this list. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_type_enum::UserListType", tag="13")] pub r#type: i32, - /// Indicating the reason why this user list membership status is closed. It is - /// only populated on lists that were automatically closed due to inactivity, - /// and will be cleared once the list membership status becomes open. + /// Indicating the reason why this user list membership status is closed. It is + /// only populated on lists that were automatically closed due to inactivity, + /// and will be cleared once the list membership status becomes open. #[prost(enumeration="super::enums::user_list_closing_reason_enum::UserListClosingReason", tag="14")] pub closing_reason: i32, - /// Output only. Indicates the reason this account has been granted access to the list. - /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. + /// Output only. Indicates the reason this account has been granted access to the list. + /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::access_reason_enum::AccessReason", tag="15")] pub access_reason: i32, - /// Indicates if this share is still enabled. When a UserList is shared with - /// the user this field is set to ENABLED. Later the userList owner can decide - /// to revoke the share and make it DISABLED. - /// The default value of this field is set to ENABLED. + /// Indicates if this share is still enabled. When a UserList is shared with + /// the user this field is set to ENABLED. Later the userList owner can decide + /// to revoke the share and make it DISABLED. + /// The default value of this field is set to ENABLED. #[prost(enumeration="super::enums::user_list_access_status_enum::UserListAccessStatus", tag="16")] pub account_user_list_status: i32, - /// Indicates if this user list is eligible for Google Search Network. + /// Indicates if this user list is eligible for Google Search Network. #[prost(bool, optional, tag="33")] pub eligible_for_search: ::core::option::Option, - /// Output only. Indicates this user list is eligible for Google Display Network. + /// Output only. Indicates this user list is eligible for Google Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="34")] pub eligible_for_display: ::core::option::Option, - /// Output only. Indicates match rate for Customer Match lists. The range of this field is - /// \[0-100\]. This will be null for other list types or when it's not possible - /// to calculate the match rate. + /// Output only. Indicates match rate for Customer Match lists. The range of this field is + /// \[0-100\]. This will be null for other list types or when it's not possible + /// to calculate the match rate. /// - /// This field is read-only. + /// This field is read-only. #[prost(int32, optional, tag="24")] pub match_rate_percentage: ::core::option::Option, - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="user_list::UserList", tags="19, 20, 21, 22, 23")] pub user_list: ::core::option::Option, } /// Nested message and enum types in `UserList`. pub mod user_list { - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserList { - /// User list of CRM users provided by the advertiser. + /// User list of CRM users provided by the advertiser. #[prost(message, tag="19")] CrmBasedUserList(super::super::common::CrmBasedUserListInfo), - /// Output only. User list which are similar to users from another UserList. - /// These lists are readonly and automatically created by google. + /// Output only. User list which are similar to users from another UserList. + /// These lists are readonly and automatically created by google. #[prost(message, tag="20")] SimilarUserList(super::super::common::SimilarUserListInfo), - /// User list generated by a rule. + /// User list generated by a rule. #[prost(message, tag="21")] RuleBasedUserList(super::super::common::RuleBasedUserListInfo), - /// User list that is a custom combination of user lists and user interests. + /// User list that is a custom combination of user lists and user interests. #[prost(message, tag="22")] LogicalUserList(super::super::common::LogicalUserListInfo), - /// User list targeting as a collection of conversion or remarketing actions. + /// User list targeting as a collection of conversion or remarketing actions. #[prost(message, tag="23")] BasicUserList(super::super::common::BasicUserListInfo), } } -// Proto file describing the user location view resource. +// Proto file describing the user location view resource. -/// A user location view. +/// A user location view. /// -/// User Location View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at the actual physical location of -/// the user by targeted or not targeted location. If other segment fields are -/// used, you may get more than one row per country. +/// User Location View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at the actual physical location of +/// the user by targeted or not targeted location. If other segment fields are +/// used, you may get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLocationView { - /// Output only. The resource name of the user location view. - /// UserLocation view resource names have the form: + /// Output only. The resource name of the user location view. + /// UserLocation view resource names have the form: /// - /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="4")] pub country_criterion_id: ::core::option::Option, - /// Output only. Indicates whether location was targeted or not. + /// Output only. Indicates whether location was targeted or not. #[prost(bool, optional, tag="5")] pub targeting_location: ::core::option::Option, } -// Proto file describing the video resource. +// Proto file describing the video resource. -/// A video. +/// A video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Video { - /// Output only. The resource name of the video. - /// Video resource names have the form: + /// Output only. The resource name of the video. + /// Video resource names have the form: /// - /// `customers/{customer_id}/videos/{video_id}` + /// `customers/{customer_id}/videos/{video_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the video. + /// Output only. The ID of the video. #[prost(string, optional, tag="6")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The owner channel id of the video. + /// Output only. The owner channel id of the video. #[prost(string, optional, tag="7")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The duration of the video in milliseconds. + /// Output only. The duration of the video in milliseconds. #[prost(int64, optional, tag="8")] pub duration_millis: ::core::option::Option, - /// Output only. The title of the video. + /// Output only. The title of the video. #[prost(string, optional, tag="9")] pub title: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the webpage view resource. +// Proto file describing the webpage view resource. -/// A webpage view. +/// A webpage view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageView { - /// Output only. The resource name of the webpage view. - /// Webpage view resource names have the form: + /// Output only. The resource name of the webpage view. + /// Webpage view resource names have the form: /// - /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v10.services.rs b/gcloud-sdk/genproto/google.ads.googleads.v10.services.rs index 7ba6984e2..3a4797919 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v10.services.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v10.services.rs @@ -1,65 +1,65 @@ -/// Request message for -/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v10.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. +/// Request message for +/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v10.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual account-level budget proposal. + /// Required. The operation to perform on an individual account-level budget proposal. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation to propose the creation of a new account-level budget or -/// edit/end/remove an existing one. +/// A single operation to propose the creation of a new account-level budget or +/// edit/end/remove an existing one. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalOperation { - /// FieldMask that determines which budget fields are modified. While budgets - /// may be modified, proposals that propose such modifications are final. - /// Therefore, update operations are not supported for proposals. + /// FieldMask that determines which budget fields are modified. While budgets + /// may be modified, proposals that propose such modifications are final. + /// Therefore, update operations are not supported for proposals. /// - /// Proposals that modify budgets have the 'update' proposal type. Specifying - /// a mask for any other proposal type is considered an error. + /// Proposals that modify budgets have the 'update' proposal type. Specifying + /// a mask for any other proposal type is considered an error. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="account_budget_proposal_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposalOperation`. pub mod account_budget_proposal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: A new proposal to create a new budget, edit an - /// existing budget, end an actively running budget, or remove an approved - /// budget scheduled to start in the future. - /// No resource name is expected for the new proposal. + /// Create operation: A new proposal to create a new budget, edit an + /// existing budget, end an actively running budget, or remove an approved + /// budget scheduled to start in the future. + /// No resource name is expected for the new proposal. #[prost(message, tag="2")] Create(super::super::resources::AccountBudgetProposal), - /// Remove operation: A resource name for the removed proposal is expected, - /// in this format: + /// Remove operation: A resource name for the removed proposal is expected, + /// in this format: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - /// A request may be cancelled iff it is pending. + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// A request may be cancelled iff it is pending. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for account-level budget mutate operations. +/// Response message for account-level budget mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResponse { - /// The result of the mutate. + /// The result of the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the account budget proposal mutate. +/// The result for the account budget proposal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -184,89 +184,89 @@ pub mod account_budget_proposal_service_client { } } } -/// Request message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v10.services.AccountLinkService.CreateAccountLink\]. +/// Request message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v10.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkRequest { - /// Required. The ID of the customer for which the account link is created. + /// Required. The ID of the customer for which the account link is created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The account link to be created. + /// Required. The account link to be created. #[prost(message, optional, tag="2")] pub account_link: ::core::option::Option, } -/// Response message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v10.services.AccountLinkService.CreateAccountLink\]. +/// Response message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v10.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkResponse { - /// Returned for successful operations. Resource name of the account link. + /// Returned for successful operations. Resource name of the account link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v10.services.AccountLinkService.MutateAccountLink\]. +/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v10.services.AccountLinkService.MutateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link. + /// Required. The operation to perform on the link. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single update on an account link. +/// A single update on an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform. + /// The operation to perform. #[prost(oneof="account_link_operation::Operation", tags="2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountLinkOperation`. pub mod account_link_operation { - /// The operation to perform. + /// The operation to perform. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The account link is expected to have - /// a valid resource name. + /// Update operation: The account link is expected to have + /// a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AccountLink), - /// Remove operation: A resource name for the account link to remove is - /// expected, in this format: + /// Remove operation: A resource name for the account link to remove is + /// expected, in this format: /// - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for account link mutate. +/// Response message for account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the account link mutate. +/// The result for the account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -409,67 +409,67 @@ pub mod account_link_service_client { } } } -/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v10.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. +/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v10.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsRequest { - /// Required. ID of the customer whose ad group ad labels are being modified. + /// Required. ID of the customer whose ad group ad labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group ad labels. + /// Required. The list of operations to perform on ad group ad labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group ad label. +/// A single operation (create, remove) on an ad group ad label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdLabelOperation`. pub mod ad_group_ad_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group ad - /// label. + /// Create operation: No resource name is expected for the new ad group ad + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAdLabel), - /// Remove operation: A resource name for the ad group ad label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group ad label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}` + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad labels mutate. +/// Response message for an ad group ad labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group ad label mutate. +/// The result for an ad group ad label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -581,84 +581,84 @@ pub mod ad_group_ad_label_service_client { } } } -/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v10.services.AdGroupAdService.MutateAdGroupAds\]. +/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v10.services.AdGroupAdService.MutateAdGroupAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group ad. +/// A single operation (create, update, remove) on an ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="5")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdOperation`. pub mod ad_group_ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad. + /// Create operation: No resource name is expected for the new ad. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAd), - /// Update operation: The ad is expected to have a valid resource name. + /// Update operation: The ad is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupAd), - /// Remove operation: A resource name for the removed ad is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad mutate. +/// Response message for an ad group ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group ad with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group ad with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_ad: ::core::option::Option, } @@ -799,83 +799,83 @@ pub mod ad_group_ad_service_client { } } } -/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v10.services.AdGroupAssetService.MutateAdGroupAssets\]. +/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v10.services.AdGroupAssetService.MutateAdGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsRequest { - /// Required. The ID of the customer whose ad group assets are being modified. + /// Required. The ID of the customer whose ad group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group assets. + /// Required. The list of operations to perform on individual ad group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group asset. +/// A single operation (create, update, remove) on an ad group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAssetOperation`. pub mod ad_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// asset. + /// Create operation: No resource name is expected for the new ad group + /// asset. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAsset), - /// Update operation: The ad group asset is expected to have a valid resource - /// name. + /// Update operation: The ad group asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::AdGroupAsset), - /// Remove operation: A resource name for the removed ad group asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group asset is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group asset mutate. +/// Response message for an ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group asset mutate. +/// The result for the ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ad group asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_asset: ::core::option::Option, } @@ -985,83 +985,83 @@ pub mod ad_group_asset_service_client { } } } -/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v10.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. +/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v10.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersRequest { - /// Required. ID of the customer whose ad group bid modifiers are being modified. + /// Required. ID of the customer whose ad group bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group bid modifiers. + /// Required. The list of operations to perform on individual ad group bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group bid modifier. +/// A single operation (create, remove, update) on an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifierOperation`. pub mod ad_group_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group bid - /// modifier. + /// Create operation: No resource name is expected for the new ad group bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::AdGroupBidModifier), - /// Update operation: The ad group bid modifier is expected to have a valid - /// resource name. + /// Update operation: The ad group bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupBidModifier), - /// Remove operation: A resource name for the removed ad group bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed ad group bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for ad group bid modifiers mutate. +/// Response message for ad group bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_bid_modifier: ::core::option::Option, } @@ -1188,79 +1188,79 @@ pub mod ad_group_bid_modifier_service_client { } } } -/// Request message for -/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v10.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. +/// Request message for +/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v10.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersRequest { - /// Required. The ID of the customer whose ad group criterion customizers are being - /// modified. + /// Required. The ID of the customer whose ad group criterion customizers are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group criterion - /// customizers. + /// Required. The list of operations to perform on individual ad group criterion + /// customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionCustomizerOperation`. pub mod ad_group_criterion_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// criterion customizer. + /// Create operation: No resource name is expected for the new ad group + /// criterion customizer. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionCustomizer), - /// Remove operation: A resource name for the removed ad group criterion - /// customizer is expected, in this format: + /// Remove operation: A resource name for the removed ad group criterion + /// customizer is expected, in this format: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion customizer mutate. +/// Response message for an ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group criterion customizer mutate. +/// The result for the ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCriterionCustomizer with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AdGroupCriterionCustomizer with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion_customizer: ::core::option::Option, } @@ -1364,68 +1364,68 @@ pub mod ad_group_criterion_customizer_service_client { } } } -/// Request message for -/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v10.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. +/// Request message for +/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v10.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsRequest { - /// Required. ID of the customer whose ad group criterion labels are being modified. + /// Required. ID of the customer whose ad group criterion labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group criterion labels. + /// Required. The list of operations to perform on ad group criterion labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group criterion label. +/// A single operation (create, remove) on an ad group criterion label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionLabelOperation`. pub mod ad_group_criterion_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionLabel), - /// Remove operation: A resource name for the ad group criterion label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group criterion label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion labels mutate. +/// Response message for an ad group criterion labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group criterion label mutate. +/// The result for an ad group criterion label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -1537,93 +1537,93 @@ pub mod ad_group_criterion_label_service_client { } } } -/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v10.services.AdGroupCriterionService.MutateAdGroupCriteria\]. +/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v10.services.AdGroupCriterionService.MutateAdGroupCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaRequest { - /// Required. ID of the customer whose criteria are being modified. + /// Required. ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group criterion. +/// A single operation (create, remove, update) on an ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, please refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, please refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="5")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionOperation`. pub mod ad_group_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion mutate. +/// Response message for an ad group criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion: ::core::option::Option, } @@ -1759,76 +1759,76 @@ pub mod ad_group_criterion_service_client { } } } -/// Request message for -/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v10.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. +/// Request message for +/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v10.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersRequest { - /// Required. The ID of the customer whose ad group customizers are being modified. + /// Required. The ID of the customer whose ad group customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group customizers. + /// Required. The list of operations to perform on individual ad group customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCustomizerOperation`. pub mod ad_group_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// customizer + /// Create operation: No resource name is expected for the new ad group + /// customizer #[prost(message, tag="1")] Create(super::super::resources::AdGroupCustomizer), - /// Remove operation: A resource name for the removed ad group customizer is - /// expected, in this format: - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed ad group customizer is + /// expected, in this format: + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group customizer mutate. +/// Response message for an ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group customizer mutate. +/// The result for the ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_customizer: ::core::option::Option, } @@ -1930,86 +1930,86 @@ pub mod ad_group_customizer_service_client { } } } -/// Request message for -/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v10.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. +/// Request message for +/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v10.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsRequest { - /// Required. The ID of the customer whose ad group extension settings are being - /// modified. + /// Required. The ID of the customer whose ad group extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group extension - /// settings. + /// Required. The list of operations to perform on individual ad group extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on an ad group extension setting. +/// A single operation (create, update, remove) on an ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupExtensionSettingOperation`. pub mod ad_group_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// extension setting. + /// Create operation: No resource name is expected for the new ad group + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::AdGroupExtensionSetting), - /// Update operation: The ad group extension setting is expected to have a - /// valid resource name. + /// Update operation: The ad group extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupExtensionSetting), - /// Remove operation: A resource name for the removed ad group extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed ad group extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group extension setting mutate. +/// Response message for an ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group extension setting mutate. +/// The result for the ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_extension_setting: ::core::option::Option, } @@ -2143,82 +2143,82 @@ pub mod ad_group_extension_setting_service_client { } } } -/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v10.services.AdGroupFeedService.MutateAdGroupFeeds\]. +/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v10.services.AdGroupFeedService.MutateAdGroupFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsRequest { - /// Required. The ID of the customer whose ad group feeds are being modified. + /// Required. The ID of the customer whose ad group feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group feeds. + /// Required. The list of operations to perform on individual ad group feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group feed. +/// A single operation (create, update, remove) on an ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupFeedOperation`. pub mod ad_group_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group feed. + /// Create operation: No resource name is expected for the new ad group feed. #[prost(message, tag="1")] Create(super::super::resources::AdGroupFeed), - /// Update operation: The ad group feed is expected to have a valid resource - /// name. + /// Update operation: The ad group feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupFeed), - /// Remove operation: A resource name for the removed ad group feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group feed is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group feed mutate. +/// Response message for an ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group feed mutate. +/// The result for the ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_feed: ::core::option::Option, } @@ -2339,67 +2339,67 @@ pub mod ad_group_feed_service_client { } } } -/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v10.services.AdGroupLabelService.MutateAdGroupLabels\]. +/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v10.services.AdGroupLabelService.MutateAdGroupLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsRequest { - /// Required. ID of the customer whose ad group labels are being modified. + /// Required. ID of the customer whose ad group labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group labels. + /// Required. The list of operations to perform on ad group labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group label. +/// A single operation (create, remove) on an ad group label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupLabelOperation`. pub mod ad_group_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupLabel), - /// Remove operation: A resource name for the ad group label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group labels mutate. +/// Response message for an ad group labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group label mutate. +/// The result for an ad group label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -2509,80 +2509,80 @@ pub mod ad_group_label_service_client { } } } -/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v10.services.AdGroupService.MutateAdGroups\]. +/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v10.services.AdGroupService.MutateAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsRequest { - /// Required. The ID of the customer whose ad groups are being modified. + /// Required. The ID of the customer whose ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad groups. + /// Required. The list of operations to perform on individual ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group. +/// A single operation (create, update, remove) on an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupOperation`. pub mod ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group. + /// Create operation: No resource name is expected for the new ad group. #[prost(message, tag="1")] Create(super::super::resources::AdGroup), - /// Update operation: The ad group is expected to have a valid resource name. + /// Update operation: The ad group is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroup), - /// Remove operation: A resource name for the removed ad group is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad group is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group mutate. +/// Response message for an ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group mutate. +/// The result for the ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad group with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, } @@ -2711,82 +2711,82 @@ pub mod ad_group_service_client { } } } -/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v10.services.AdParameterService.MutateAdParameters\] +/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v10.services.AdParameterService.MutateAdParameters\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersRequest { - /// Required. The ID of the customer whose ad parameters are being modified. + /// Required. The ID of the customer whose ad parameters are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad parameters. + /// Required. The list of operations to perform on individual ad parameters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on ad parameter. +/// A single operation (create, update, remove) on ad parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_parameter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdParameterOperation`. pub mod ad_parameter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad parameter. + /// Create operation: No resource name is expected for the new ad parameter. #[prost(message, tag="1")] Create(super::super::resources::AdParameter), - /// Update operation: The ad parameter is expected to have a valid resource - /// name. + /// Update operation: The ad parameter is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdParameter), - /// Remove operation: A resource name for the ad parameter to remove is - /// expected in this format: + /// Remove operation: A resource name for the ad parameter to remove is + /// expected in this format: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad parameter mutate. +/// Response message for an ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad parameter mutate. +/// The result for the ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParameterResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdParameter with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdParameter with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_parameter: ::core::option::Option, } @@ -2897,84 +2897,84 @@ pub mod ad_parameter_service_client { } } } -/// Request message for \[AdService.GetAd][google.ads.googleads.v10.services.AdService.GetAd\]. +/// Request message for \[AdService.GetAd][google.ads.googleads.v10.services.AdService.GetAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdRequest { - /// Required. The resource name of the ad to fetch. + /// Required. The resource name of the ad to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdService.MutateAds][google.ads.googleads.v10.services.AdService.MutateAds\]. +/// Request message for \[AdService.MutateAds][google.ads.googleads.v10.services.AdService.MutateAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update operation on an ad. +/// A single update operation on an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="3")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdOperation`. pub mod ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The ad is expected to have a valid resource name - /// in this format: + /// Update operation: The ad is expected to have a valid resource name + /// in this format: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(message, tag="1")] Update(super::super::resources::Ad), } } -/// Response message for an ad mutate. +/// Response message for an ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad: ::core::option::Option, } @@ -3139,73 +3139,73 @@ pub mod ad_service_client { } } } -/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v10.services.AssetGroupAssetService.MutateAssetGroupAssets\]. +/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v10.services.AssetGroupAssetService.MutateAssetGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsRequest { - /// Required. The ID of the customer whose asset group assets are being modified. + /// Required. The ID of the customer whose asset group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group assets. + /// Required. The list of operations to perform on individual asset group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group asset. +/// A single operation (create, remove) on an asset group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_asset_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupAssetOperation`. pub mod asset_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// asset + /// Create operation: No resource name is expected for the new asset group + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetGroupAsset), - /// Update operation: The asset group asset sis expected to have a valid - /// resource name. + /// Update operation: The asset group asset sis expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupAsset), - /// Remove operation: A resource name for the removed asset group asset is - /// expected, in this format: - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// Remove operation: A resource name for the removed asset group asset is + /// expected, in this format: + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group asset mutate. +/// Response message for an asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group asset mutate. +/// The result for the asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3307,78 +3307,78 @@ pub mod asset_group_asset_service_client { } } } -/// Request message for -/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v10.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. -/// partial_failure is not supported because the tree needs to be validated -/// together. +/// Request message for +/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v10.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. +/// partial_failure is not supported because the tree needs to be validated +/// together. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersRequest { - /// Required. The ID of the customer whose asset group listing group filters are being - /// modified. + /// Required. The ID of the customer whose asset group listing group filters are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group listing group - /// filters. + /// Required. The list of operations to perform on individual asset group listing group + /// filters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset group listing group filter. +/// A single operation (create, remove) on an asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_listing_group_filter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupListingGroupFilterOperation`. pub mod asset_group_listing_group_filter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// listing group filter. + /// Create operation: No resource name is expected for the new asset group + /// listing group filter. #[prost(message, tag="1")] Create(super::super::resources::AssetGroupListingGroupFilter), - /// Update operation: The asset group listing group filter is expected to - /// have a valid resource name. + /// Update operation: The asset group listing group filter is expected to + /// have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupListingGroupFilter), - /// Remove operation: A resource name for the removed asset group listing - /// group filter is expected, in this format: - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - /// An entity can be removed only if it's not referenced by other - /// parent_listing_group_id. If multiple entities are being deleted, the - /// mutates must be in the correct order. + /// Remove operation: A resource name for the removed asset group listing + /// group filter is expected, in this format: + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// An entity can be removed only if it's not referenced by other + /// parent_listing_group_id. If multiple entities are being deleted, the + /// mutates must be in the correct order. #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group listing group filter mutate. +/// Response message for an asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset group listing group filter mutate. +/// The result for the asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFilterResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AssetGroupListingGroupFilter with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AssetGroupListingGroupFilter with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_group_listing_group_filter: ::core::option::Option, } @@ -3482,66 +3482,66 @@ pub mod asset_group_listing_group_filter_service_client { } } } -/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v10.services.AssetGroupService.MutateAssetGroups\]. +/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v10.services.AssetGroupService.MutateAssetGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsRequest { - /// Required. The ID of the customer whose asset groups are being modified. + /// Required. The ID of the customer whose asset groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset groups. + /// Required. The list of operations to perform on individual asset groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group. +/// A single operation (create, remove) on an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupOperation`. pub mod asset_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group + /// Create operation: No resource name is expected for the new asset group #[prost(message, tag="1")] Create(super::super::resources::AssetGroup), - /// Update operation: The asset group is expected to have a valid resource - /// name. + /// Update operation: The asset group is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroup), - /// Remove operation: A resource name for the removed asset group is - /// expected, in this format: - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// Remove operation: A resource name for the removed asset group is + /// expected, in this format: + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group mutate. +/// Response message for an asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group mutate. +/// The result for the asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3638,75 +3638,75 @@ pub mod asset_group_service_client { } } } -/// Request message for -/// \[AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v10.services.AssetGroupSignalService.MutateAssetGroupSignals\]. +/// Request message for +/// \[AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v10.services.AssetGroupSignalService.MutateAssetGroupSignals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalsRequest { - /// Required. The ID of the customer whose asset group signals are being modified. + /// Required. The ID of the customer whose asset group signals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group signals. + /// Required. The list of operations to perform on individual asset group signals. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid operations - /// will return errors. If false, all operations will be carried out in one - /// transaction if and only if they are all valid. Default is false. + /// If true, successful operations will be carried out and invalid operations + /// will return errors. If false, all operations will be carried out in one + /// transaction if and only if they are all valid. Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset group signal. +/// A single operation (create, remove) on an asset group signal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupSignalOperation { - /// The mutate operation. Update is not supported. + /// The mutate operation. Update is not supported. #[prost(oneof="asset_group_signal_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupSignalOperation`. pub mod asset_group_signal_operation { - /// The mutate operation. Update is not supported. + /// The mutate operation. Update is not supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// signal. + /// Create operation: No resource name is expected for the new asset group + /// signal. #[prost(message, tag="1")] Create(super::super::resources::AssetGroupSignal), - /// Remove operation: A resource name for the removed asset group signal is - /// expected, in this format: - /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` + /// Remove operation: A resource name for the removed asset group signal is + /// expected, in this format: + /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group signal mutate. +/// Response message for an asset group signal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group signal mutate. +/// The result for the asset group signal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AssetGroupSignal with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AssetGroupSignal with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_group_signal: ::core::option::Option, } @@ -3808,79 +3808,79 @@ pub mod asset_group_signal_service_client { } } } -/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v10.services.AssetService.MutateAssets\] +/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v10.services.AssetService.MutateAssets\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsRequest { - /// Required. The ID of the customer whose assets are being modified. + /// Required. The ID of the customer whose assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual assets. + /// Required. The list of operations to perform on individual assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="3")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation to create an asset. Supported asset types are -/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset -/// should be created with Ad inline. +/// A single operation to create an asset. Supported asset types are +/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset +/// should be created with Ad inline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetOperation`. pub mod asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset. + /// Create operation: No resource name is expected for the new asset. #[prost(message, tag="1")] Create(super::super::resources::Asset), - /// Update operation: The asset is expected to have a valid resource name in - /// this format: + /// Update operation: The asset is expected to have a valid resource name in + /// this format: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(message, tag="2")] Update(super::super::resources::Asset), } } -/// Response message for an asset mutate. +/// Response message for an asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset mutate. +/// The result for the asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset: ::core::option::Option, } @@ -4007,75 +4007,75 @@ pub mod asset_service_client { } } } -/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v10.services.AssetSetAssetService.MutateAssetSetAssets\]. +/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v10.services.AssetSetAssetService.MutateAssetSetAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsRequest { - /// Required. The ID of the customer whose asset set assets are being modified. + /// Required. The ID of the customer whose asset set assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset set assets. + /// Required. The list of operations to perform on individual asset set assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set asset. +/// A single operation (create, remove) on an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetAssetOperation`. pub mod asset_set_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set - /// asset + /// Create operation: No resource name is expected for the new asset set + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetSetAsset), - /// Remove operation: A resource name for the removed asset set asset is - /// expected, in this format: - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// Remove operation: A resource name for the removed asset set asset is + /// expected, in this format: + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set asset mutate. +/// Response message for an asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set asset mutate. +/// The result for the asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set asset with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated asset set asset with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set_asset: ::core::option::Option, } @@ -4175,80 +4175,80 @@ pub mod asset_set_asset_service_client { } } } -/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v10.services.AssetSetService.MutateAssetSets\]. +/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v10.services.AssetSetService.MutateAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsRequest { - /// Required. The ID of the customer whose asset sets are being modified. + /// Required. The ID of the customer whose asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset sets. + /// Required. The list of operations to perform on individual asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set. +/// A single operation (create, remove) on an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetOperation`. pub mod asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set + /// Create operation: No resource name is expected for the new asset set #[prost(message, tag="1")] Create(super::super::resources::AssetSet), - /// Update operation: The asset set is expected to have a valid resource - /// name. + /// Update operation: The asset set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetSet), - /// Remove operation: A resource name for the removed asset set is - /// expected, in this format: - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// Remove operation: A resource name for the removed asset set is + /// expected, in this format: + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set mutate. +/// Response message for an asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set mutate. +/// The result for the asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset set with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set: ::core::option::Option, } @@ -4345,75 +4345,75 @@ pub mod asset_set_service_client { } } } -/// Request message for \[AudienceService.MutateAudiences][google.ads.googleads.v10.services.AudienceService.MutateAudiences\]. +/// Request message for \[AudienceService.MutateAudiences][google.ads.googleads.v10.services.AudienceService.MutateAudiences\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudiencesRequest { - /// Required. The ID of the customer whose audiences are being modified. + /// Required. The ID of the customer whose audiences are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual audiences. + /// Required. The list of operations to perform on individual audiences. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid operations - /// will return errors. If false, all operations will be carried out in one - /// transaction if and only if they are all valid. Default is false. + /// If true, successful operations will be carried out and invalid operations + /// will return errors. If false, all operations will be carried out in one + /// transaction if and only if they are all valid. Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Response message for an audience mutate. +/// Response message for an audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudiencesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// A single operation (create, update) on an audience. +/// A single operation (create, update) on an audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="audience_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AudienceOperation`. pub mod audience_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new audience + /// Create operation: No resource name is expected for the new audience #[prost(message, tag="1")] Create(super::super::resources::Audience), - /// Update operation: The audience is expected to have a valid resource - /// name. + /// Update operation: The audience is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::Audience), } } -/// The result for the audience mutate. +/// The result for the audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudienceResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated Audience with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated Audience with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub audience: ::core::option::Option, } @@ -4512,84 +4512,84 @@ pub mod audience_service_client { } } } -/// Request message for -/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v10.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. +/// Request message for +/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v10.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsRequest { - /// Required. ID of the customer whose data exclusions are being modified. + /// Required. ID of the customer whose data exclusions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual data exclusions. + /// Required. The list of operations to perform on individual data exclusions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a data exclusion. +/// A single operation (create, remove, update) on a data exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_data_exclusion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingDataExclusionOperation`. pub mod bidding_data_exclusion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new data - /// exclusion. + /// Create operation: No resource name is expected for the new data + /// exclusion. #[prost(message, tag="1")] Create(super::super::resources::BiddingDataExclusion), - /// Update operation: The data exclusion is expected to have a valid - /// resource name. + /// Update operation: The data exclusion is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingDataExclusion), - /// Remove operation: A resource name for the removed data exclusion - /// is expected, in this format: + /// Remove operation: A resource name for the removed data exclusion + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for data exlusions mutate. +/// Response message for data exlusions mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the data exclusion mutate. +/// The result for the data exclusion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding data exclusion with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding data exclusion with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_data_exclusion: ::core::option::Option, } @@ -4691,84 +4691,84 @@ pub mod bidding_data_exclusion_service_client { } } } -/// Request message for -/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. +/// Request message for +/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v10.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsRequest { - /// Required. ID of the customer whose seasonality adjustments are being modified. + /// Required. ID of the customer whose seasonality adjustments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual seasonality adjustments. + /// Required. The list of operations to perform on individual seasonality adjustments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a seasonality adjustment. +/// A single operation (create, remove, update) on a seasonality adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustmentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_seasonality_adjustment_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingSeasonalityAdjustmentOperation`. pub mod bidding_seasonality_adjustment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new seasonality - /// adjustment. + /// Create operation: No resource name is expected for the new seasonality + /// adjustment. #[prost(message, tag="1")] Create(super::super::resources::BiddingSeasonalityAdjustment), - /// Update operation: The seasonality adjustment is expected to have a valid - /// resource name. + /// Update operation: The seasonality adjustment is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingSeasonalityAdjustment), - /// Remove operation: A resource name for the removed seasonality adjustment - /// is expected, in this format: + /// Remove operation: A resource name for the removed seasonality adjustment + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for seasonality adjustments mutate. +/// Response message for seasonality adjustments mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the seasonality adjustment mutate. +/// The result for the seasonality adjustment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding seasonality adjustment with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding seasonality adjustment with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_seasonality_adjustment: ::core::option::Option, } @@ -4872,83 +4872,83 @@ pub mod bidding_seasonality_adjustment_service_client { } } } -/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v10.services.BiddingStrategyService.MutateBiddingStrategies\]. +/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v10.services.BiddingStrategyService.MutateBiddingStrategies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesRequest { - /// Required. The ID of the customer whose bidding strategies are being modified. + /// Required. The ID of the customer whose bidding strategies are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual bidding strategies. + /// Required. The list of operations to perform on individual bidding strategies. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a bidding strategy. +/// A single operation (create, update, remove) on a bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_strategy_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategyOperation`. pub mod bidding_strategy_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new bidding - /// strategy. + /// Create operation: No resource name is expected for the new bidding + /// strategy. #[prost(message, tag="1")] Create(super::super::resources::BiddingStrategy), - /// Update operation: The bidding strategy is expected to have a valid - /// resource name. + /// Update operation: The bidding strategy is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingStrategy), - /// Remove operation: A resource name for the removed bidding strategy is - /// expected, in this format: + /// Remove operation: A resource name for the removed bidding strategy is + /// expected, in this format: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for bidding strategy mutate. +/// Response message for bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the bidding strategy mutate. +/// The result for the bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategyResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding strategy with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated bidding strategy with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_strategy: ::core::option::Option, } @@ -5078,83 +5078,83 @@ pub mod bidding_strategy_service_client { } } } -/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v10.services.CampaignAssetService.MutateCampaignAssets\]. +/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v10.services.CampaignAssetService.MutateCampaignAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsRequest { - /// Required. The ID of the customer whose campaign assets are being modified. + /// Required. The ID of the customer whose campaign assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign assets. + /// Required. The list of operations to perform on individual campaign assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign asset. +/// A single operation (create, update, remove) on a campaign asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetOperation`. pub mod campaign_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// asset. + /// Create operation: No resource name is expected for the new campaign + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CampaignAsset), - /// Update operation: The campaign asset is expected to have a valid resource - /// name. + /// Update operation: The campaign asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CampaignAsset), - /// Remove operation: A resource name for the removed campaign asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign asset is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset mutate. +/// Response message for a campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign asset mutate. +/// The result for the campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset: ::core::option::Option, } @@ -5268,75 +5268,75 @@ pub mod campaign_asset_service_client { } } } -/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v10.services.CampaignAssetSetService.MutateCampaignAssetSets\]. +/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v10.services.CampaignAssetSetService.MutateCampaignAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsRequest { - /// Required. The ID of the customer whose campaign asset sets are being modified. + /// Required. The ID of the customer whose campaign asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign asset sets. + /// Required. The list of operations to perform on individual campaign asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a campaign asset set. +/// A single operation (create, remove) on a campaign asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_set_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetSetOperation`. pub mod campaign_asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign asset - /// set. + /// Create operation: No resource name is expected for the new campaign asset + /// set. #[prost(message, tag="1")] Create(super::super::resources::CampaignAssetSet), - /// Remove operation: A resource name for the removed campaign asset set is - /// expected, in this format: - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// Remove operation: A resource name for the removed campaign asset set is + /// expected, in this format: + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset set mutate. +/// Response message for a campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign asset set mutate. +/// The result for the campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign asset set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset_set: ::core::option::Option, } @@ -5438,84 +5438,84 @@ pub mod campaign_asset_set_service_client { } } } -/// Request message for -/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v10.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. +/// Request message for +/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v10.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersRequest { - /// Required. ID of the customer whose campaign bid modifiers are being modified. + /// Required. ID of the customer whose campaign bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign bid modifiers. + /// Required. The list of operations to perform on individual campaign bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a campaign bid modifier. +/// A single operation (create, remove, update) on a campaign bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifierOperation`. pub mod campaign_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign bid - /// modifier. + /// Create operation: No resource name is expected for the new campaign bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::CampaignBidModifier), - /// Update operation: The campaign bid modifier is expected to have a valid - /// resource name. + /// Update operation: The campaign bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBidModifier), - /// Remove operation: A resource name for the removed campaign bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed campaign bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign bid modifiers mutate. +/// Response message for campaign bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_bid_modifier: ::core::option::Option, } @@ -5641,82 +5641,82 @@ pub mod campaign_bid_modifier_service_client { } } } -/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v10.services.CampaignBudgetService.MutateCampaignBudgets\]. +/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v10.services.CampaignBudgetService.MutateCampaignBudgets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsRequest { - /// Required. The ID of the customer whose campaign budgets are being modified. + /// Required. The ID of the customer whose campaign budgets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign budgets. + /// Required. The list of operations to perform on individual campaign budgets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign budget. +/// A single operation (create, update, remove) on a campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_budget_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBudgetOperation`. pub mod campaign_budget_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new budget. + /// Create operation: No resource name is expected for the new budget. #[prost(message, tag="1")] Create(super::super::resources::CampaignBudget), - /// Update operation: The campaign budget is expected to have a valid - /// resource name. + /// Update operation: The campaign budget is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBudget), - /// Remove operation: A resource name for the removed budget is expected, in - /// this format: + /// Remove operation: A resource name for the removed budget is expected, in + /// this format: /// - /// `customers/{customer_id}/campaignBudgets/{budget_id}` + /// `customers/{customer_id}/campaignBudgets/{budget_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign budget mutate. +/// Response message for campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign budget mutate. +/// The result for the campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign budget with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign budget with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_budget: ::core::option::Option, } @@ -5835,53 +5835,53 @@ pub mod campaign_budget_service_client { } } } -/// Request message for -/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v10.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. +/// Request message for +/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v10.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsRequest { - /// Required. The ID of the customer whose campaign conversion goals are being modified. + /// Required. The ID of the customer whose campaign conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign conversion goal. + /// Required. The list of operations to perform on individual campaign conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a campaign conversion goal. +/// A single operation (update) on a campaign conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignConversionGoalOperation`. pub mod campaign_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignConversionGoal), } } -/// Response message for a campaign conversion goal mutate. +/// Response message for a campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign conversion goal mutate. +/// The result for the campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -5983,82 +5983,82 @@ pub mod campaign_conversion_goal_service_client { } } } -/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v10.services.CampaignCriterionService.MutateCampaignCriteria\]. +/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v10.services.CampaignCriterionService.MutateCampaignCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign criterion. +/// A single operation (create, update, remove) on a campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionOperation`. pub mod campaign_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CampaignCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign criterion mutate. +/// Response message for campaign criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_criterion: ::core::option::Option, } @@ -6190,76 +6190,76 @@ pub mod campaign_criterion_service_client { } } } -/// Request message for -/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v10.services.CampaignCustomizerService.MutateCampaignCustomizers\]. +/// Request message for +/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v10.services.CampaignCustomizerService.MutateCampaignCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersRequest { - /// Required. The ID of the customer whose campaign customizers are being modified. + /// Required. The ID of the customer whose campaign customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign customizers. + /// Required. The list of operations to perform on individual campaign customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCustomizerOperation`. pub mod campaign_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// customizer + /// Create operation: No resource name is expected for the new campaign + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CampaignCustomizer), - /// Remove operation: A resource name for the removed campaign customizer is - /// expected, in this format: - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed campaign customizer is + /// expected, in this format: + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an campaign customizer mutate. +/// Response message for an campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign customizer mutate. +/// The result for the campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CampaignCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CampaignCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_customizer: ::core::option::Option, } @@ -6361,125 +6361,125 @@ pub mod campaign_customizer_service_client { } } } -/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v10.services.CampaignDraftService.MutateCampaignDrafts\]. +/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v10.services.CampaignDraftService.MutateCampaignDrafts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsRequest { - /// Required. The ID of the customer whose campaign drafts are being modified. + /// Required. The ID of the customer whose campaign drafts are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign drafts. + /// Required. The list of operations to perform on individual campaign drafts. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v10.services.CampaignDraftService.PromoteCampaignDraft\]. +/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v10.services.CampaignDraftService.PromoteCampaignDraft\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignDraftRequest { - /// Required. The resource name of the campaign draft to promote. + /// Required. The resource name of the campaign draft to promote. #[prost(string, tag="1")] pub campaign_draft: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a campaign draft. +/// A single operation (create, update, remove) on a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_draft_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignDraftOperation`. pub mod campaign_draft_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// draft. + /// Create operation: No resource name is expected for the new campaign + /// draft. #[prost(message, tag="1")] Create(super::super::resources::CampaignDraft), - /// Update operation: The campaign draft is expected to have a valid - /// resource name. + /// Update operation: The campaign draft is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignDraft), - /// Remove operation: The campaign draft is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign draft is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign draft mutate. +/// Response message for campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign draft mutate. +/// The result for the campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign draft with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign draft with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_draft: ::core::option::Option, } -/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsRequest { - /// Required. The name of the campaign draft from which to retrieve the async errors. + /// Required. The name of the campaign draft from which to retrieve the async errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v10.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -6664,180 +6664,180 @@ pub mod campaign_draft_service_client { } } } -/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v10.services.CampaignExperimentService.MutateCampaignExperiments\]. +/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v10.services.CampaignExperimentService.MutateCampaignExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsRequest { - /// Required. The ID of the customer whose campaign experiments are being modified. + /// Required. The ID of the customer whose campaign experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign experiments. + /// Required. The list of operations to perform on individual campaign experiments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single update operation on a campaign experiment. +/// A single update operation on a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_experiment_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExperimentOperation`. pub mod campaign_experiment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The campaign experiment is expected to have a valid - /// resource name. + /// Update operation: The campaign experiment is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignExperiment), - /// Remove operation: The campaign experiment is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign experiment is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign experiment mutate. +/// Response message for campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign experiment mutate. +/// The result for the campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign experiment with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign experiment with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, } -/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.CreateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.CreateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentRequest { - /// Required. The ID of the customer whose campaign experiment is being created. + /// Required. The ID of the customer whose campaign experiment is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The campaign experiment to be created. + /// Required. The campaign experiment to be created. #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Message used as metadata returned in Long Running Operations for -/// CreateCampaignExperimentRequest +/// Message used as metadata returned in Long Running Operations for +/// CreateCampaignExperimentRequest #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentMetadata { - /// Resource name of campaign experiment created. + /// Resource name of campaign experiment created. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.GraduateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.GraduateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to graduate. + /// Required. The resource name of the campaign experiment to graduate. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// Required. Resource name of the budget to attach to the campaign graduated from the - /// experiment. + /// Required. Resource name of the budget to attach to the campaign graduated from the + /// experiment. #[prost(string, tag="2")] pub campaign_budget: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Response message for campaign experiment graduate. +/// Response message for campaign experiment graduate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentResponse { - /// The resource name of the campaign from the graduated experiment. - /// This campaign is the same one as CampaignExperiment.experiment_campaign. + /// The resource name of the campaign from the graduated experiment. + /// This campaign is the same one as CampaignExperiment.experiment_campaign. #[prost(string, tag="1")] pub graduated_campaign: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.PromoteCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.PromoteCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to promote. + /// Required. The resource name of the campaign experiment to promote. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.EndCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v10.services.CampaignExperimentService.EndCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to end. + /// Required. The resource name of the campaign experiment to end. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v10.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Request message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v10.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsRequest { - /// Required. The name of the campaign experiment from which to retrieve the async - /// errors. + /// Required. The name of the campaign experiment from which to retrieve the async + /// errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v10.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Response message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v10.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -7138,86 +7138,86 @@ pub mod campaign_experiment_service_client { } } } -/// Request message for -/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v10.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. +/// Request message for +/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v10.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsRequest { - /// Required. The ID of the customer whose campaign extension settings are being - /// modified. + /// Required. The ID of the customer whose campaign extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign extension - /// settings. + /// Required. The list of operations to perform on individual campaign extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign extension setting. +/// A single operation (create, update, remove) on a campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExtensionSettingOperation`. pub mod campaign_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// extension setting. + /// Create operation: No resource name is expected for the new campaign + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CampaignExtensionSetting), - /// Update operation: The campaign extension setting is expected to have a - /// valid resource name. + /// Update operation: The campaign extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignExtensionSetting), - /// Remove operation: A resource name for the removed campaign extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed campaign extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign extension setting mutate. +/// Response message for a campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign extension setting mutate. +/// The result for the campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign extension setting with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign extension setting with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_extension_setting: ::core::option::Option, } @@ -7350,82 +7350,82 @@ pub mod campaign_extension_setting_service_client { } } } -/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v10.services.CampaignFeedService.MutateCampaignFeeds\]. +/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v10.services.CampaignFeedService.MutateCampaignFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsRequest { - /// Required. The ID of the customer whose campaign feeds are being modified. + /// Required. The ID of the customer whose campaign feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign feeds. + /// Required. The list of operations to perform on individual campaign feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign feed. +/// A single operation (create, update, remove) on a campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignFeedOperation`. pub mod campaign_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign feed. + /// Create operation: No resource name is expected for the new campaign feed. #[prost(message, tag="1")] Create(super::super::resources::CampaignFeed), - /// Update operation: The campaign feed is expected to have a valid resource - /// name. + /// Update operation: The campaign feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignFeed), - /// Remove operation: A resource name for the removed campaign feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign feed is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign feed mutate. +/// Response message for a campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign feed mutate. +/// The result for the campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_feed: ::core::option::Option, } @@ -7547,83 +7547,83 @@ pub mod campaign_feed_service_client { } } } -/// Request message for \[CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v10.services.CampaignGroupService.MutateCampaignGroups\]. +/// Request message for \[CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v10.services.CampaignGroupService.MutateCampaignGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupsRequest { - /// Required. The ID of the customer whose campaign groups are being modified. + /// Required. The ID of the customer whose campaign groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign groups. + /// Required. The list of operations to perform on individual campaign groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign group. +/// A single operation (create, update, remove) on a campaign group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignGroupOperation`. pub mod campaign_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// group. + /// Create operation: No resource name is expected for the new campaign + /// group. #[prost(message, tag="1")] Create(super::super::resources::CampaignGroup), - /// Update operation: The campaign group is expected to have a valid - /// resource name. + /// Update operation: The campaign group is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignGroup), - /// Remove operation: A resource name for the removed campaign group is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign group is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` + /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign group mutate. +/// Response message for campaign group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign group mutate. +/// The result for the campaign group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupResult { - /// Required. Returned for successful operations. + /// Required. Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign group with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign group with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_group: ::core::option::Option, } @@ -7723,67 +7723,67 @@ pub mod campaign_group_service_client { } } } -/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v10.services.CampaignLabelService.MutateCampaignLabels\]. +/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v10.services.CampaignLabelService.MutateCampaignLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsRequest { - /// Required. ID of the customer whose campaign-label relationships are being modified. + /// Required. ID of the customer whose campaign-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on campaign-label relationships. + /// Required. The list of operations to perform on campaign-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a campaign-label relationship. +/// A single operation (create, remove) on a campaign-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignLabelOperation`. pub mod campaign_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign-label - /// relationship. + /// Create operation: No resource name is expected for the new campaign-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CampaignLabel), - /// Remove operation: A resource name for the campaign-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the campaign-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign labels mutate. +/// Response message for a campaign labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a campaign label mutate. +/// The result for a campaign label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -7896,81 +7896,81 @@ pub mod campaign_label_service_client { } } } -/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v10.services.CampaignService.MutateCampaigns\]. +/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v10.services.CampaignService.MutateCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsRequest { - /// Required. The ID of the customer whose campaigns are being modified. + /// Required. The ID of the customer whose campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaigns. + /// Required. The list of operations to perform on individual campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign. +/// A single operation (create, update, remove) on a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignOperation`. pub mod campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign. + /// Create operation: No resource name is expected for the new campaign. #[prost(message, tag="1")] Create(super::super::resources::Campaign), - /// Update operation: The campaign is expected to have a valid - /// resource name. + /// Update operation: The campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::Campaign), - /// Remove operation: A resource name for the removed campaign is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign is + /// expected, in this format: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign mutate. +/// The result for the campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated campaign with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, } @@ -8103,76 +8103,76 @@ pub mod campaign_service_client { } } } -/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v10.services.CampaignSharedSetService.MutateCampaignSharedSets\]. +/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v10.services.CampaignSharedSetService.MutateCampaignSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsRequest { - /// Required. The ID of the customer whose campaign shared sets are being modified. + /// Required. The ID of the customer whose campaign shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign shared sets. + /// Required. The list of operations to perform on individual campaign shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an campaign shared set. +/// A single operation (create, remove) on an campaign shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_shared_set_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignSharedSetOperation`. pub mod campaign_shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// shared set. + /// Create operation: No resource name is expected for the new campaign + /// shared set. #[prost(message, tag="1")] Create(super::super::resources::CampaignSharedSet), - /// Remove operation: A resource name for the removed campaign shared set is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign shared set is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign shared set mutate. +/// Response message for a campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign shared set mutate. +/// The result for the campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign shared set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign shared set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_shared_set: ::core::option::Option, } @@ -8297,83 +8297,83 @@ pub mod campaign_shared_set_service_client { } } } -/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v10.services.ConversionActionService.MutateConversionActions\]. +/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v10.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsRequest { - /// Required. The ID of the customer whose conversion actions are being modified. + /// Required. The ID of the customer whose conversion actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion actions. + /// Required. The list of operations to perform on individual conversion actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion action. +/// A single operation (create, update, remove) on a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_action_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionActionOperation`. pub mod conversion_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// action. + /// Create operation: No resource name is expected for the new conversion + /// action. #[prost(message, tag="1")] Create(super::super::resources::ConversionAction), - /// Update operation: The conversion action is expected to have a valid - /// resource name. + /// Update operation: The conversion action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionAction), - /// Remove operation: A resource name for the removed conversion action is - /// expected, in this format: + /// Remove operation: A resource name for the removed conversion action is + /// expected, in this format: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v10.services.ConversionActionService.MutateConversionActions\]. +/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v10.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion action mutate. +/// The result for the conversion action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion action with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated conversion action with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_action: ::core::option::Option, } @@ -8493,81 +8493,81 @@ pub mod conversion_action_service_client { } } } -/// Request message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v10.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Request message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v10.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesRequest { - /// Required. The ID of the customer whose conversion custom variables are being - /// modified. + /// Required. The ID of the customer whose conversion custom variables are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion custom - /// variables. + /// Required. The list of operations to perform on individual conversion custom + /// variables. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update) on a conversion custom variable. +/// A single operation (create, update) on a conversion custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_custom_variable_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionCustomVariableOperation`. pub mod conversion_custom_variable_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// custom variable. + /// Create operation: No resource name is expected for the new conversion + /// custom variable. #[prost(message, tag="1")] Create(super::super::resources::ConversionCustomVariable), - /// Update operation: The conversion custom variable is expected to have a - /// valid resource name. + /// Update operation: The conversion custom variable is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionCustomVariable), } } -/// Response message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v10.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Response message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v10.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion custom variable mutate. +/// The result for the conversion custom variable mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariableResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion custom variable with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion custom variable with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_custom_variable: ::core::option::Option, } @@ -8681,63 +8681,63 @@ pub mod conversion_custom_variable_service_client { } } } -/// Request message for -/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. +/// Request message for +/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion goal campaign - /// config. + /// Required. The list of operations to perform on individual conversion goal campaign + /// config. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (update) on a conversion goal campaign config. +/// A single operation (update) on a conversion goal campaign config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfigOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_goal_campaign_config_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionGoalCampaignConfigOperation`. pub mod conversion_goal_campaign_config_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The conversion goal campaign config is expected to have - /// a valid resource name. + /// Update operation: The conversion goal campaign config is expected to have + /// a valid resource name. #[prost(message, tag="1")] Update(super::super::resources::ConversionGoalCampaignConfig), } } -/// Response message for a conversion goal campaign config mutate. +/// Response message for a conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion goal campaign config mutate. +/// The result for the conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ConversionGoalCampaignConfig with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ConversionGoalCampaignConfig with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_goal_campaign_config: ::core::option::Option, } @@ -8841,85 +8841,85 @@ pub mod conversion_goal_campaign_config_service_client { } } } -/// Request message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v10.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Request message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v10.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesRequest { - /// Required. The ID of the customer whose conversion value rules are being modified. + /// Required. The ID of the customer whose conversion value rules are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rules. + /// Required. The list of operations to perform on individual conversion value rules. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule. +/// A single operation (create, update, remove) on a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleOperation`. pub mod conversion_value_rule_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule. + /// Create operation: No resource name is expected for the new conversion + /// value rule. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRule), - /// Update operation: The conversion value rule is expected to have a valid - /// resource name. + /// Update operation: The conversion value rule is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRule), - /// Remove operation: A resource name for the removed conversion value rule - /// is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v10.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Response message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v10.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule mutate. +/// The result for the conversion value rule mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule: ::core::option::Option, } @@ -9021,85 +9021,85 @@ pub mod conversion_value_rule_service_client { } } } -/// Request message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v10.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Request message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v10.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsRequest { - /// Required. The ID of the customer whose conversion value rule sets are being modified. + /// Required. The ID of the customer whose conversion value rule sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rule sets. + /// Required. The list of operations to perform on individual conversion value rule sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule set. +/// A single operation (create, update, remove) on a conversion value rule set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleSetOperation`. pub mod conversion_value_rule_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule set. + /// Create operation: No resource name is expected for the new conversion + /// value rule set. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRuleSet), - /// Update operation: The conversion value rule set is expected to have a - /// valid resource name. + /// Update operation: The conversion value rule set is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRuleSet), - /// Remove operation: A resource name for the removed conversion value rule - /// set is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// set is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v10.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Response message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v10.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule set mutate. +/// The result for the conversion value rule set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule set with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule set with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule_set: ::core::option::Option, } @@ -9201,72 +9201,72 @@ pub mod conversion_value_rule_set_service_client { } } } -/// Request message for -/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v10.services.CustomConversionGoalService.MutateCustomConversionGoals\]. +/// Request message for +/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v10.services.CustomConversionGoalService.MutateCustomConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom conversion goal. + /// Required. The list of operations to perform on individual custom conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on a custom conversion goal. +/// A single operation (create, remove) on a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_conversion_goal_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomConversionGoalOperation`. pub mod custom_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// conversion goal + /// Create operation: No resource name is expected for the new custom + /// conversion goal #[prost(message, tag="1")] Create(super::super::resources::CustomConversionGoal), - /// Update operation: The custom conversion goal is expected to have a - /// valid resource name. + /// Update operation: The custom conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomConversionGoal), - /// Remove operation: A resource name for the removed custom conversion goal - /// is expected, in this format: + /// Remove operation: A resource name for the removed custom conversion goal + /// is expected, in this format: /// - /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a custom conversion goal mutate. +/// Response message for a custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom conversion goal mutate. +/// The result for the custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomConversionGoal with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomConversionGoal with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub custom_conversion_goal: ::core::option::Option, } @@ -9368,83 +9368,83 @@ pub mod custom_conversion_goal_service_client { } } } -/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v10.services.CustomerAssetService.MutateCustomerAssets\]. +/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v10.services.CustomerAssetService.MutateCustomerAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsRequest { - /// Required. The ID of the customer whose customer assets are being modified. + /// Required. The ID of the customer whose customer assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer assets. + /// Required. The list of operations to perform on individual customer assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer asset. +/// A single operation (create, update, remove) on a customer asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerAssetOperation`. pub mod customer_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// asset. + /// Create operation: No resource name is expected for the new customer + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CustomerAsset), - /// Update operation: The customer asset is expected to have a valid resource - /// name. + /// Update operation: The customer asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CustomerAsset), - /// Remove operation: A resource name for the removed customer asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer asset is + /// expected, in this format: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer asset mutate. +/// Response message for a customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer asset mutate. +/// The result for the customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated customer asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_asset: ::core::option::Option, } @@ -9555,53 +9555,53 @@ pub mod customer_asset_service_client { } } } -/// Request message for -/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v10.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. +/// Request message for +/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v10.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsRequest { - /// Required. The ID of the customer whose customer conversion goals are being modified. + /// Required. The ID of the customer whose customer conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer conversion goal. + /// Required. The list of operations to perform on individual customer conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a customer conversion goal. +/// A single operation (update) on a customer conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerConversionGoalOperation`. pub mod customer_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerConversionGoal), } } -/// Response message for a customer conversion goal mutate. +/// Response message for a customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer conversion goal mutate. +/// The result for the customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -9703,76 +9703,76 @@ pub mod customer_conversion_goal_service_client { } } } -/// Request message for -/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v10.services.CustomerCustomizerService.MutateCustomerCustomizers\]. +/// Request message for +/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v10.services.CustomerCustomizerService.MutateCustomerCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersRequest { - /// Required. The ID of the customer whose customer customizers are being modified. + /// Required. The ID of the customer whose customer customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer customizers. + /// Required. The list of operations to perform on individual customer customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerCustomizerOperation`. pub mod customer_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// customizer + /// Create operation: No resource name is expected for the new customer + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CustomerCustomizer), - /// Remove operation: A resource name for the removed customer customizer is - /// expected, in this format: - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customer customizer is + /// expected, in this format: + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_customizer: ::core::option::Option, } @@ -9874,86 +9874,86 @@ pub mod customer_customizer_service_client { } } } -/// Request message for -/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v10.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. +/// Request message for +/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v10.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsRequest { - /// Required. The ID of the customer whose customer extension settings are being - /// modified. + /// Required. The ID of the customer whose customer extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer extension - /// settings. + /// Required. The list of operations to perform on individual customer extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer extension setting. +/// A single operation (create, update, remove) on a customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerExtensionSettingOperation`. pub mod customer_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// extension setting. + /// Create operation: No resource name is expected for the new customer + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CustomerExtensionSetting), - /// Update operation: The customer extension setting is expected to have a - /// valid resource name. + /// Update operation: The customer extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerExtensionSetting), - /// Remove operation: A resource name for the removed customer extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed customer extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer extension setting mutate. +/// Response message for a customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer extension setting mutate. +/// The result for the customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_extension_setting: ::core::option::Option, } @@ -10084,82 +10084,82 @@ pub mod customer_extension_setting_service_client { } } } -/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v10.services.CustomerFeedService.MutateCustomerFeeds\]. +/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v10.services.CustomerFeedService.MutateCustomerFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsRequest { - /// Required. The ID of the customer whose customer feeds are being modified. + /// Required. The ID of the customer whose customer feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer feeds. + /// Required. The list of operations to perform on individual customer feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer feed. +/// A single operation (create, update, remove) on a customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerFeedOperation`. pub mod customer_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer feed. + /// Create operation: No resource name is expected for the new customer feed. #[prost(message, tag="1")] Create(super::super::resources::CustomerFeed), - /// Update operation: The customer feed is expected to have a valid resource - /// name. + /// Update operation: The customer feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CustomerFeed), - /// Remove operation: A resource name for the removed customer feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer feed is + /// expected, in this format: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer feed mutate. +/// Response message for a customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer feed mutate. +/// The result for the customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated customer feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_feed: ::core::option::Option, } @@ -10280,67 +10280,67 @@ pub mod customer_feed_service_client { } } } -/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v10.services.CustomerLabelService.MutateCustomerLabels\]. +/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v10.services.CustomerLabelService.MutateCustomerLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsRequest { - /// Required. ID of the customer whose customer-label relationships are being modified. + /// Required. ID of the customer whose customer-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on customer-label relationships. + /// Required. The list of operations to perform on customer-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a customer-label relationship. +/// A single operation (create, remove) on a customer-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerLabelOperation`. pub mod customer_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer-label - /// relationship. + /// Create operation: No resource name is expected for the new customer-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CustomerLabel), - /// Remove operation: A resource name for the customer-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the customer-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/customerLabels/{label_id}` + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer labels mutate. +/// Response message for a customer labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a customer label mutate. +/// The result for a customer label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -10451,75 +10451,75 @@ pub mod customer_label_service_client { } } } -/// Request message for -/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v10.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. +/// Request message for +/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v10.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create or remove) on a customer level negative criterion. +/// A single operation (create or remove) on a customer level negative criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_negative_criterion_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterionOperation`. pub mod customer_negative_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CustomerNegativeCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer negative criterion mutate. +/// Response message for customer negative criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated criterion with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated criterion with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_negative_criterion: ::core::option::Option, } @@ -10634,95 +10634,95 @@ pub mod customer_negative_criterion_service_client { } } } -/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v10.services.CustomerService.MutateCustomer\]. +/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v10.services.CustomerService.MutateCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="4")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="6")] pub response_content_type: i32, } -/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v10.services.CustomerService.CreateCustomerClient\]. +/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v10.services.CustomerService.CreateCustomerClient\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientRequest { - /// Required. The ID of the Manager under whom client customer is being created. + /// Required. The ID of the Manager under whom client customer is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The new client customer to create. The resource name on this customer - /// will be ignored. + /// Required. The new client customer to create. The resource name on this customer + /// will be ignored. #[prost(message, optional, tag="2")] pub customer_client: ::core::option::Option, - /// Email address of the user who should be invited on the created client - /// customer. Accessible only to customers on the allow-list. + /// Email address of the user who should be invited on the created client + /// customer. Accessible only to customers on the allow-list. #[prost(string, optional, tag="5")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed role of user on the created client customer. - /// Accessible only to customers on the allow-list. + /// The proposed role of user on the created client customer. + /// Accessible only to customers on the allow-list. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="6")] pub validate_only: bool, } -/// A single update on a customer. +/// A single update on a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerOperation { - /// Mutate operation. Only updates are supported for customer. + /// Mutate operation. Only updates are supported for customer. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for CreateCustomerClient mutate. +/// Response message for CreateCustomerClient mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientResponse { - /// The resource name of the newly created customer client. + /// The resource name of the newly created customer client. #[prost(string, tag="2")] pub resource_name: ::prost::alloc::string::String, - /// Link for inviting user to access the created customer. Accessible to - /// allowlisted customers only. + /// Link for inviting user to access the created customer. Accessible to + /// allowlisted customers only. #[prost(string, tag="3")] pub invitation_link: ::prost::alloc::string::String, } -/// Response message for customer mutate. +/// Response message for customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the customer mutate. +/// The result for the customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer with only mutable fields after mutate. The fields will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated customer with only mutable fields after mutate. The fields will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer: ::core::option::Option, } -/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v10.services.CustomerService.ListAccessibleCustomers\]. +/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v10.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersRequest { } -/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v10.services.CustomerService.ListAccessibleCustomers\]. +/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v10.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersResponse { - /// Resource name of customers directly accessible by the - /// user authenticating the call. + /// Resource name of customers directly accessible by the + /// user authenticating the call. #[prost(string, repeated, tag="1")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -10897,79 +10897,79 @@ pub mod customer_service_client { } } } -/// Request message for -/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v10.services.CustomizerAttributeService.MutateCustomizerAttributes\]. +/// Request message for +/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v10.services.CustomizerAttributeService.MutateCustomizerAttributes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesRequest { - /// Required. The ID of the customer whose customizer attributes are being modified. + /// Required. The ID of the customer whose customizer attributes are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customizer attributes. + /// Required. The list of operations to perform on individual customizer attributes. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customizer_attribute_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomizerAttributeOperation`. pub mod customizer_attribute_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customizer - /// attribute + /// Create operation: No resource name is expected for the new customizer + /// attribute #[prost(message, tag="1")] Create(super::super::resources::CustomizerAttribute), - /// Remove operation: A resource name for the removed customizer attribute is - /// expected, in this format: - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customizer attribute is + /// expected, in this format: + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributeResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomizerAttribute with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomizerAttribute with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customizer_attribute: ::core::option::Option, } @@ -11071,82 +11071,82 @@ pub mod customizer_attribute_service_client { } } } -/// Request message for \[ExperimentArmService.MutateExperimentArms][google.ads.googleads.v10.services.ExperimentArmService.MutateExperimentArms\]. +/// Request message for \[ExperimentArmService.MutateExperimentArms][google.ads.googleads.v10.services.ExperimentArmService.MutateExperimentArms\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmsRequest { - /// Required. The ID of the customer whose experiments are being modified. + /// Required. The ID of the customer whose experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual experiment arm. + /// Required. The list of operations to perform on individual experiment arm. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation on an experiment arm. +/// A single operation on an experiment arm. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArmOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="experiment_arm_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExperimentArmOperation`. pub mod experiment_arm_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation + /// Create operation #[prost(message, tag="1")] Create(super::super::resources::ExperimentArm), - /// Update operation: The experiment arm is expected to have a valid - /// resource name. + /// Update operation: The experiment arm is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ExperimentArm), - /// Remove operation: The experiment arm is expected to have a valid - /// resource name, in this format: + /// Remove operation: The experiment arm is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/experiments/{campaign_experiment_id}` + /// `customers/{customer_id}/experiments/{campaign_experiment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for experiment arm mutate. +/// Response message for experiment arm mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the experiment arm mutate. +/// The result for the experiment arm mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated experiment arm with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated experiment arm with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub experiment_arm: ::core::option::Option, } @@ -11255,181 +11255,181 @@ pub mod experiment_arm_service_client { } } } -/// Request message for \[ExperimentService.MutateExperiments][google.ads.googleads.v10.services.ExperimentService.MutateExperiments\]. +/// Request message for \[ExperimentService.MutateExperiments][google.ads.googleads.v10.services.ExperimentService.MutateExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentsRequest { - /// Required. The ID of the customer whose experiments are being modified. + /// Required. The ID of the customer whose experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual experiments. + /// Required. The list of operations to perform on individual experiments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation on an experiment. +/// A single operation on an experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="experiment_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExperimentOperation`. pub mod experiment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation + /// Create operation #[prost(message, tag="1")] Create(super::super::resources::Experiment), - /// Update operation: The experiment is expected to have a valid - /// resource name. + /// Update operation: The experiment is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::Experiment), - /// Remove operation: The experiment is expected to have a valid - /// resource name, in this format: + /// Remove operation: The experiment is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/experiments/{campaign_experiment_id}` + /// `customers/{customer_id}/experiments/{campaign_experiment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for experiment mutate. +/// Response message for experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign experiment mutate. +/// The result for the campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.EndExperiment][google.ads.googleads.v10.services.ExperimentService.EndExperiment\]. +/// Request message for \[ExperimentService.EndExperiment][google.ads.googleads.v10.services.ExperimentService.EndExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndExperimentRequest { - /// Required. The resource name of the campaign experiment to end. + /// Required. The resource name of the campaign experiment to end. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v10.services.ExperimentService.ListExperimentAsyncErrors\]. +/// Request message for +/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v10.services.ExperimentService.ListExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentAsyncErrorsRequest { - /// Required. The name of the experiment from which to retrieve the async - /// errors. + /// Required. The name of the experiment from which to retrieve the async + /// errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. - /// The maximum page size is 1000. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. + /// The maximum page size is 1000. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for -/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v10.services.ExperimentService.ListExperimentAsyncErrors\]. +/// Response message for +/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v10.services.ExperimentService.ListExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentAsyncErrorsResponse { - /// details of the errors when performing the asynchronous operation. + /// details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.GraduateExperiment][google.ads.googleads.v10.services.ExperimentService.GraduateExperiment\]. +/// Request message for \[ExperimentService.GraduateExperiment][google.ads.googleads.v10.services.ExperimentService.GraduateExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateExperimentRequest { - /// Required. The experiment to be graduated. + /// Required. The experiment to be graduated. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, - /// Required. List of campaign budget mappings for graduation. Each campaign that - /// appears here will graduate, and will be assigned a new budget that is - /// paired with it in the mapping. The maximum size is one. + /// Required. List of campaign budget mappings for graduation. Each campaign that + /// appears here will graduate, and will be assigned a new budget that is + /// paired with it in the mapping. The maximum size is one. #[prost(message, repeated, tag="2")] pub campaign_budget_mappings: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// The mapping of experiment campaign and budget to be graduated. +/// The mapping of experiment campaign and budget to be graduated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetMapping { - /// Required. The experiment campaign to graduate. + /// Required. The experiment campaign to graduate. #[prost(string, tag="1")] pub experiment_campaign: ::prost::alloc::string::String, - /// Required. The budget that should be attached to the graduating experiment campaign. + /// Required. The budget that should be attached to the graduating experiment campaign. #[prost(string, tag="2")] pub campaign_budget: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.ScheduleExperiment][google.ads.googleads.v10.services.ExperimentService.ScheduleExperiment\]. +/// Request message for \[ExperimentService.ScheduleExperiment][google.ads.googleads.v10.services.ExperimentService.ScheduleExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleExperimentRequest { - /// Required. The scheduled experiment. + /// Required. The scheduled experiment. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// The metadata of the scheduled experiment. +/// The metadata of the scheduled experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleExperimentMetadata { - /// Required. The scheduled experiment. + /// Required. The scheduled experiment. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.PromoteExperiment][google.ads.googleads.v10.services.ExperimentService.PromoteExperiment\]. +/// Request message for \[ExperimentService.PromoteExperiment][google.ads.googleads.v10.services.ExperimentService.PromoteExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteExperimentRequest { - /// Required. The resource name of the experiment to promote. + /// Required. The resource name of the experiment to promote. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// The metadata of the promoted experiment. +/// The metadata of the promoted experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteExperimentMetadata { - /// Required. The promoted experiment. + /// Required. The promoted experiment. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, } @@ -11712,84 +11712,84 @@ pub mod experiment_service_client { } } } -/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v10.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. +/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v10.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsRequest { - /// Required. The ID of the customer whose extension feed items are being - /// modified. + /// Required. The ID of the customer whose extension feed items are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual extension feed items. + /// Required. The list of operations to perform on individual extension feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an extension feed item. +/// A single operation (create, update, remove) on an extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="extension_feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItemOperation`. pub mod extension_feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new extension - /// feed item. + /// Create operation: No resource name is expected for the new extension + /// feed item. #[prost(message, tag="1")] Create(super::super::resources::ExtensionFeedItem), - /// Update operation: The extension feed item is expected to have a - /// valid resource name. + /// Update operation: The extension feed item is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ExtensionFeedItem), - /// Remove operation: A resource name for the removed extension feed item - /// is expected, in this format: + /// Remove operation: A resource name for the removed extension feed item + /// is expected, in this format: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an extension feed item mutate. +/// Response message for an extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the extension feed item mutate. +/// The result for the extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated extension feed item with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated extension feed item with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub extension_feed_item: ::core::option::Option, } @@ -11916,81 +11916,81 @@ pub mod extension_feed_item_service_client { } } } -/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v10.services.FeedItemService.MutateFeedItems\]. +/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v10.services.FeedItemService.MutateFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsRequest { - /// Required. The ID of the customer whose feed items are being modified. + /// Required. The ID of the customer whose feed items are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed items. + /// Required. The list of operations to perform on individual feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed item. +/// A single operation (create, update, remove) on an feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemOperation`. pub mod feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item. + /// Create operation: No resource name is expected for the new feed item. #[prost(message, tag="1")] Create(super::super::resources::FeedItem), - /// Update operation: The feed item is expected to have a valid resource - /// name. + /// Update operation: The feed item is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItem), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item mutate. +/// Response message for an feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item mutate. +/// The result for the feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed item with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item: ::core::option::Option, } @@ -12114,67 +12114,67 @@ pub mod feed_item_service_client { } } } -/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v10.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. +/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v10.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksRequest { - /// Required. The ID of the customer whose feed item set links are being modified. + /// Required. The ID of the customer whose feed item set links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item set links. + /// Required. The list of operations to perform on individual feed item set links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a feed item set link. +/// A single operation (create, update, remove) on a feed item set link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetLinkOperation`. pub mod feed_item_set_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the - /// new feed item set link. + /// Create operation: No resource name is expected for the + /// new feed item set link. #[prost(message, tag="1")] Create(super::super::resources::FeedItemSetLink), - /// Remove operation: A resource name for the removed feed item set link is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item set link is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed item set link mutate. +/// Response message for a feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set link mutate. +/// The result for the feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -12283,72 +12283,72 @@ pub mod feed_item_set_link_service_client { } } } -/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v10.services.FeedItemSetService.MutateFeedItemSets\]. +/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v10.services.FeedItemSetService.MutateFeedItemSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsRequest { - /// Required. The ID of the customer whose feed item sets are being modified. + /// Required. The ID of the customer whose feed item sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item sets. + /// Required. The list of operations to perform on individual feed item sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item set. +/// A single operation (create, remove) on an feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetOperation`. pub mod feed_item_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item set + /// Create operation: No resource name is expected for the new feed item set #[prost(message, tag="1")] Create(super::super::resources::FeedItemSet), - /// Update operation: The feed item set is expected to have a valid resource - /// name. + /// Update operation: The feed item set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItemSet), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item set mutate. +/// Response message for an feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set mutate. +/// The result for the feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -12454,76 +12454,76 @@ pub mod feed_item_set_service_client { } } } -/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v10.services.FeedItemTargetService.MutateFeedItemTargets\]. +/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v10.services.FeedItemTargetService.MutateFeedItemTargets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsRequest { - /// Required. The ID of the customer whose feed item targets are being modified. + /// Required. The ID of the customer whose feed item targets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item targets. + /// Required. The list of operations to perform on individual feed item targets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item target. +/// A single operation (create, remove) on an feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_target_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemTargetOperation`. pub mod feed_item_target_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item - /// target. + /// Create operation: No resource name is expected for the new feed item + /// target. #[prost(message, tag="1")] Create(super::super::resources::FeedItemTarget), - /// Remove operation: A resource name for the removed feed item target is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item target is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item target mutate. +/// Response message for an feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item target mutate. +/// The result for the feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item target with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed item target with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item_target: ::core::option::Option, } @@ -12643,75 +12643,75 @@ pub mod feed_item_target_service_client { } } } -/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v10.services.FeedMappingService.MutateFeedMappings\]. +/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v10.services.FeedMappingService.MutateFeedMappings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsRequest { - /// Required. The ID of the customer whose feed mappings are being modified. + /// Required. The ID of the customer whose feed mappings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed mappings. + /// Required. The list of operations to perform on individual feed mappings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a feed mapping. +/// A single operation (create, remove) on a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_mapping_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedMappingOperation`. pub mod feed_mapping_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed mapping. + /// Create operation: No resource name is expected for the new feed mapping. #[prost(message, tag="1")] Create(super::super::resources::FeedMapping), - /// Remove operation: A resource name for the removed feed mapping is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed mapping is + /// expected, in this format: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed mapping mutate. +/// Response message for a feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mapping mutate. +/// The result for the feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed mapping with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed mapping with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_mapping: ::core::option::Option, } @@ -12829,81 +12829,81 @@ pub mod feed_mapping_service_client { } } } -/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v10.services.FeedService.MutateFeeds\]. +/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v10.services.FeedService.MutateFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsRequest { - /// Required. The ID of the customer whose feeds are being modified. + /// Required. The ID of the customer whose feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feeds. + /// Required. The list of operations to perform on individual feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed. +/// A single operation (create, update, remove) on an feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedOperation`. pub mod feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed. + /// Create operation: No resource name is expected for the new feed. #[prost(message, tag="1")] Create(super::super::resources::Feed), - /// Update operation: The feed is expected to have a valid resource - /// name. + /// Update operation: The feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::Feed), - /// Remove operation: A resource name for the removed feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed is + /// expected, in this format: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed mutate. +/// Response message for an feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mutate. +/// The result for the feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed: ::core::option::Option, } @@ -13026,79 +13026,79 @@ pub mod feed_service_client { } } } -/// Request message for -/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v10.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. +/// Request message for +/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v10.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsRequest { - /// Required. The ID of the customer whose Keyword Plan ad group keywords are being - /// modified. + /// Required. The ID of the customer whose Keyword Plan ad group keywords are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad group - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan ad group + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan ad group +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupKeywordOperation`. pub mod keyword_plan_ad_group_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroupKeyword), - /// Update operation: The Keyword Plan ad group keyword is expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan ad group keyword is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroupKeyword), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// keyword is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// keyword is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group keyword mutate. +/// Response message for a Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group keyword mutate. +/// The result for the Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13220,76 +13220,76 @@ pub mod keyword_plan_ad_group_keyword_service_client { } } } -/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v10.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. +/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v10.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsRequest { - /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. + /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad groups. + /// Required. The list of operations to perform on individual Keyword Plan ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group. +/// A single operation (create, update, remove) on a Keyword Plan ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupOperation`. pub mod keyword_plan_ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroup), - /// Update operation: The Keyword Plan ad group is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan ad group is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroup), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group mutate. +/// Response message for a Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. The order of the results is determined by the - /// order of the keywords in the original request. + /// All results for the mutate. The order of the results is determined by the + /// order of the keywords in the original request. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group mutate. +/// The result for the Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13407,78 +13407,78 @@ pub mod keyword_plan_ad_group_service_client { } } } -/// Request message for -/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v10.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. +/// Request message for +/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v10.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsRequest { - /// Required. The ID of the customer whose campaign keywords are being modified. + /// Required. The ID of the customer whose campaign keywords are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaign - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan campaign + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan campaign +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignKeywordOperation`. pub mod keyword_plan_campaign_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaignKeyword), - /// Update operation: The Keyword Plan campaign keyword expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan campaign keyword expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaignKeyword), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// keywords expected in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// keywords expected in this format: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign keyword mutate. +/// Response message for a Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign keyword mutate. +/// The result for the Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13598,76 +13598,76 @@ pub mod keyword_plan_campaign_keyword_service_client { } } } -/// Request message for -/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v10.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. +/// Request message for +/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v10.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsRequest { - /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. + /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaigns. + /// Required. The list of operations to perform on individual Keyword Plan campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign. +/// A single operation (create, update, remove) on a Keyword Plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignOperation`. pub mod keyword_plan_campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaign), - /// Update operation: The Keyword Plan campaign is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaign), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign mutate. +/// Response message for a Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign mutate. +/// The result for the Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13786,278 +13786,278 @@ pub mod keyword_plan_campaign_service_client { } } } -/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v10.services.KeywordPlanService.MutateKeywordPlans\]. +/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v10.services.KeywordPlanService.MutateKeywordPlans\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansRequest { - /// Required. The ID of the customer whose keyword plans are being modified. + /// Required. The ID of the customer whose keyword plans are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual keyword plans. + /// Required. The list of operations to perform on individual keyword plans. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a keyword plan. +/// A single operation (create, update, remove) on a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanOperation`. pub mod keyword_plan_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new keyword plan. + /// Create operation: No resource name is expected for the new keyword plan. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlan), - /// Update operation: The keyword plan is expected to have a valid resource - /// name. + /// Update operation: The keyword plan is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlan), - /// Remove operation: A resource name for the removed keyword plan is - /// expected in this format: + /// Remove operation: A resource name for the removed keyword plan is + /// expected in this format: /// - /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a keyword plan mutate. +/// Response message for a keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the keyword plan mutate. +/// The result for the keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastCurve\]. +/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastCurve\]. +/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveResponse { - /// List of forecast curves for the keyword plan campaign. - /// One maximum. + /// List of forecast curves for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecast_curves: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesResponse { - /// List of weekly time series forecasts for the keyword plan campaign. - /// One maximum. + /// List of weekly time series forecasts for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub weekly_time_series_forecasts: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsResponse { - /// List of campaign forecasts. - /// One maximum. + /// List of campaign forecasts. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecasts: ::prost::alloc::vec::Vec, - /// List of ad group forecasts. + /// List of ad group forecasts. #[prost(message, repeated, tag="2")] pub ad_group_forecasts: ::prost::alloc::vec::Vec, - /// List of keyword forecasts. + /// List of keyword forecasts. #[prost(message, repeated, tag="3")] pub keyword_forecasts: ::prost::alloc::vec::Vec, } -/// A campaign forecast. +/// A campaign forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign. + /// The forecast for the Keyword Plan campaign. #[prost(message, optional, tag="2")] pub campaign_forecast: ::core::option::Option, } -/// An ad group forecast. +/// An ad group forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupForecast { - /// The resource name of the Keyword Plan ad group related to the forecast. + /// The resource name of the Keyword Plan ad group related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan ad group. + /// The forecast for the Keyword Plan ad group. #[prost(message, optional, tag="2")] pub ad_group_forecast: ::core::option::Option, } -/// A keyword forecast. +/// A keyword forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordForecast { - /// The resource name of the Keyword Plan keyword related to the forecast. + /// The resource name of the Keyword Plan keyword related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group_keyword: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan keyword. + /// The forecast for the Keyword Plan keyword. #[prost(message, optional, tag="2")] pub keyword_forecast: ::core::option::Option, } -/// The forecast curve for the campaign. +/// The forecast curve for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecastCurve { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The max cpc bid forecast curve for the campaign. + /// The max cpc bid forecast curve for the campaign. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast_curve: ::core::option::Option, } -/// The max cpc bid forecast curve. +/// The max cpc bid forecast curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecastCurve { - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="1")] pub max_cpc_bid_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign at a specific bid. +/// The forecast of the campaign at a specific bid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecast { - /// The max cpc bid in micros. + /// The max cpc bid in micros. #[prost(int64, optional, tag="3")] pub max_cpc_bid_micros: ::core::option::Option, - /// The forecast for the Keyword Plan campaign at the specific bid. + /// The forecast for the Keyword Plan campaign at the specific bid. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast: ::core::option::Option, } -/// The weekly time series forecast for the keyword plan campaign. +/// The weekly time series forecast for the keyword plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyTimeSeriesForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="1")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="2")] pub weekly_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign for the week starting start_date. +/// The forecast of the campaign for the week starting start_date. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyForecast { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="1")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign for the week. + /// The forecast for the Keyword Plan campaign for the week. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, } -/// Forecast metrics. +/// Forecast metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForecastMetrics { - /// Impressions + /// Impressions #[prost(double, optional, tag="7")] pub impressions: ::core::option::Option, - /// Ctr + /// Ctr #[prost(double, optional, tag="8")] pub ctr: ::core::option::Option, - /// AVG cpc + /// AVG cpc #[prost(int64, optional, tag="9")] pub average_cpc: ::core::option::Option, - /// Clicks + /// Clicks #[prost(double, optional, tag="10")] pub clicks: ::core::option::Option, - /// Cost + /// Cost #[prost(int64, optional, tag="11")] pub cost_micros: ::core::option::Option, } -/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsRequest { - /// Required. The resource name of the keyword plan of which historical metrics are - /// requested. + /// Required. The resource name of the keyword plan of which historical metrics are + /// requested. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="2")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="3")] pub historical_metrics_options: ::core::option::Option, } -/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsResponse { - /// List of keyword historical metrics. + /// List of keyword historical metrics. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all the keywords in the keyword planner plan. + /// The aggregate metrics for all the keywords in the keyword planner plan. #[prost(message, optional, tag="2")] pub aggregate_metric_results: ::core::option::Option, } -/// A keyword historical metrics. +/// A keyword historical metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordHistoricalMetrics { - /// The text of the query associated with one or more ad_group_keywords in the - /// plan. + /// The text of the query associated with one or more ad_group_keywords in the + /// plan. /// - /// Note that we de-dupe your keywords list, eliminating close variants before - /// returning the plan's keywords as text. For example, if your plan originally - /// contained the keywords 'car' and 'cars', the returned search query will - /// only contain 'cars'. - /// Starting V5, the list of de-duped queries will be included in - /// close_variants field. + /// Note that we de-dupe your keywords list, eliminating close variants before + /// returning the plan's keywords as text. For example, if your plan originally + /// contained the keywords 'car' and 'cars', the returned search query will + /// only contain 'cars'. + /// Starting V5, the list of de-duped queries will be included in + /// close_variants field. #[prost(string, optional, tag="4")] pub search_query: ::core::option::Option<::prost::alloc::string::String>, - /// The list of close variant queries for search_query whose search results - /// are combined into the search_query. + /// The list of close variant queries for search_query whose search results + /// are combined into the search_query. #[prost(string, repeated, tag="3")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The historical metrics for the query associated with one or more - /// ad_group_keywords in the plan. + /// The historical metrics for the query associated with one or more + /// ad_group_keywords in the plan. #[prost(message, optional, tag="2")] pub keyword_metrics: ::core::option::Option, } @@ -14308,80 +14308,80 @@ pub mod keyword_plan_service_client { } } } -/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v10.services.LabelService.MutateLabels\]. +/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v10.services.LabelService.MutateLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsRequest { - /// Required. ID of the customer whose labels are being modified. + /// Required. ID of the customer whose labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on labels. + /// Required. The list of operations to perform on labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a label. +/// A single operation (create, remove, update) on a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="label_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `LabelOperation`. pub mod label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new label. + /// Create operation: No resource name is expected for the new label. #[prost(message, tag="1")] Create(super::super::resources::Label), - /// Update operation: The label is expected to have a valid resource name. + /// Update operation: The label is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::Label), - /// Remove operation: A resource name for the label being removed, in - /// this format: + /// Remove operation: A resource name for the label being removed, in + /// this format: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a labels mutate. +/// Response message for a labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a label mutate. +/// The result for a label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated label with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated label with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub label: ::core::option::Option, } @@ -14502,69 +14502,69 @@ pub mod label_service_client { } } } -/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v10.services.MediaFileService.MutateMediaFiles\] +/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v10.services.MediaFileService.MutateMediaFiles\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesRequest { - /// Required. The ID of the customer whose media files are being modified. + /// Required. The ID of the customer whose media files are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual media file. + /// Required. The list of operations to perform on individual media file. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to create media file. +/// A single operation to create media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="media_file_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MediaFileOperation`. pub mod media_file_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new media file. + /// Create operation: No resource name is expected for the new media file. #[prost(message, tag="1")] Create(super::super::resources::MediaFile), } } -/// Response message for a media file mutate. +/// Response message for a media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the media file mutate. +/// The result for the media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFileResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated media file with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated media file with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub media_file: ::core::option::Option, } @@ -14683,68 +14683,68 @@ pub mod media_file_service_client { } } } -/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v10.services.RemarketingActionService.MutateRemarketingActions\]. +/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v10.services.RemarketingActionService.MutateRemarketingActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsRequest { - /// Required. The ID of the customer whose remarketing actions are being modified. + /// Required. The ID of the customer whose remarketing actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual remarketing actions. + /// Required. The list of operations to perform on individual remarketing actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a remarketing action. +/// A single operation (create, update) on a remarketing action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="remarketing_action_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `RemarketingActionOperation`. pub mod remarketing_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new remarketing - /// action. + /// Create operation: No resource name is expected for the new remarketing + /// action. #[prost(message, tag="1")] Create(super::super::resources::RemarketingAction), - /// Update operation: The remarketing action is expected to have a valid - /// resource name. + /// Update operation: The remarketing action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::RemarketingAction), } } -/// Response message for remarketing action mutate. +/// Response message for remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the remarketing action mutate. +/// The result for the remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -14854,76 +14854,76 @@ pub mod remarketing_action_service_client { } } } -/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v10.services.SharedCriterionService.MutateSharedCriteria\]. +/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v10.services.SharedCriterionService.MutateSharedCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaRequest { - /// Required. The ID of the customer whose shared criteria are being modified. + /// Required. The ID of the customer whose shared criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared criteria. + /// Required. The list of operations to perform on individual shared criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an shared criterion. +/// A single operation (create, remove) on an shared criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_criterion_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedCriterionOperation`. pub mod shared_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared - /// criterion. + /// Create operation: No resource name is expected for the new shared + /// criterion. #[prost(message, tag="1")] Create(super::super::resources::SharedCriterion), - /// Remove operation: A resource name for the removed shared criterion is - /// expected, in this format: + /// Remove operation: A resource name for the removed shared criterion is + /// expected, in this format: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared criterion mutate. +/// Response message for a shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared criterion mutate. +/// The result for the shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_criterion: ::core::option::Option, } @@ -15046,82 +15046,82 @@ pub mod shared_criterion_service_client { } } } -/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v10.services.SharedSetService.MutateSharedSets\]. +/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v10.services.SharedSetService.MutateSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsRequest { - /// Required. The ID of the customer whose shared sets are being modified. + /// Required. The ID of the customer whose shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared sets. + /// Required. The list of operations to perform on individual shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an shared set. +/// A single operation (create, update, remove) on an shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedSetOperation`. pub mod shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared set. + /// Create operation: No resource name is expected for the new shared set. #[prost(message, tag="1")] Create(super::super::resources::SharedSet), - /// Update operation: The shared set is expected to have a valid resource - /// name. + /// Update operation: The shared set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::SharedSet), - /// Remove operation: A resource name for the removed shared set is expected, - /// in this format: + /// Remove operation: A resource name for the removed shared set is expected, + /// in this format: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared set mutate. +/// Response message for a shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared set mutate. +/// The result for the shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared set with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared set with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_set: ::core::option::Option, } @@ -15242,64 +15242,64 @@ pub mod shared_set_service_client { } } } -/// Request message for -/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. +/// Request message for +/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsRequest { - /// Required. The ID of the customer whose Smart campaign settings are being modified. + /// Required. The ID of the customer whose Smart campaign settings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Smart campaign settings. + /// Required. The list of operations to perform on individual Smart campaign settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to update Smart campaign settings for a campaign. +/// A single operation to update Smart campaign settings for a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSettingOperation { - /// Update operation: The Smart campaign setting must specify a valid - /// resource name. + /// Update operation: The Smart campaign setting must specify a valid + /// resource name. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Smart campaign setting mutate. +/// The result for the Smart campaign setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated Smart campaign setting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated Smart campaign setting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub smart_campaign_setting: ::core::option::Option, } @@ -15400,73 +15400,73 @@ pub mod smart_campaign_setting_service_client { } } } -/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v10.services.UserListService.MutateUserLists\]. +/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v10.services.UserListService.MutateUserLists\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsRequest { - /// Required. The ID of the customer whose user lists are being modified. + /// Required. The ID of the customer whose user lists are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual user lists. + /// Required. The list of operations to perform on individual user lists. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a user list. +/// A single operation (create, update) on a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="user_list_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserListOperation`. pub mod user_list_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new user list. + /// Create operation: No resource name is expected for the new user list. #[prost(message, tag="1")] Create(super::super::resources::UserList), - /// Update operation: The user list is expected to have a valid resource - /// name. + /// Update operation: The user list is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::UserList), - /// Remove operation: A resource name for the removed user list is expected, - /// in this format: + /// Remove operation: A resource name for the removed user list is expected, + /// in this format: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for user list mutate. +/// Response message for user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the user list mutate. +/// The result for the user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -15584,1074 +15584,1074 @@ pub mod user_list_service_client { } } } -/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v10.services.GoogleAdsService.Search\]. +/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v10.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="4")] pub page_size: i32, - /// If true, the request is validated but not executed. + /// If true, the request is validated but not executed. #[prost(bool, tag="5")] pub validate_only: bool, - /// If true, the total number of results that match the query ignoring the - /// LIMIT clause will be included in the response. - /// Default is false. + /// If true, the total number of results that match the query ignoring the + /// LIMIT clause will be included in the response. + /// Default is false. #[prost(bool, tag="7")] pub return_total_results_count: bool, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="8")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v10.services.GoogleAdsService.Search\]. +/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v10.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT - /// clause. + /// Total number of results that match the query ignoring the LIMIT + /// clause. #[prost(int64, tag="3")] pub total_results_count: i64, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="5")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="6")] pub summary_row: ::core::option::Option, } -/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v10.services.GoogleAdsService.SearchStream\]. +/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v10.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="3")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v10.services.GoogleAdsService.SearchStream\]. +/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v10.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="3")] pub summary_row: ::core::option::Option, - /// The unique id of the request that is used for debugging purposes. + /// The unique id of the request that is used for debugging purposes. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// A returned row from the query. +/// A returned row from the query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsRow { - /// The account budget in the query. + /// The account budget in the query. #[prost(message, optional, tag="42")] pub account_budget: ::core::option::Option, - /// The account budget proposal referenced in the query. + /// The account budget proposal referenced in the query. #[prost(message, optional, tag="43")] pub account_budget_proposal: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="143")] pub account_link: ::core::option::Option, - /// The ad group referenced in the query. + /// The ad group referenced in the query. #[prost(message, optional, tag="3")] pub ad_group: ::core::option::Option, - /// The ad referenced in the query. + /// The ad referenced in the query. #[prost(message, optional, tag="16")] pub ad_group_ad: ::core::option::Option, - /// The ad group ad asset combination view in the query. + /// The ad group ad asset combination view in the query. #[prost(message, optional, tag="193")] pub ad_group_ad_asset_combination_view: ::core::option::Option, - /// The ad group ad asset view in the query. + /// The ad group ad asset view in the query. #[prost(message, optional, tag="131")] pub ad_group_ad_asset_view: ::core::option::Option, - /// The ad group ad label referenced in the query. + /// The ad group ad label referenced in the query. #[prost(message, optional, tag="120")] pub ad_group_ad_label: ::core::option::Option, - /// The ad group asset referenced in the query. + /// The ad group asset referenced in the query. #[prost(message, optional, tag="154")] pub ad_group_asset: ::core::option::Option, - /// The ad group audience view referenced in the query. + /// The ad group audience view referenced in the query. #[prost(message, optional, tag="57")] pub ad_group_audience_view: ::core::option::Option, - /// The bid modifier referenced in the query. + /// The bid modifier referenced in the query. #[prost(message, optional, tag="24")] pub ad_group_bid_modifier: ::core::option::Option, - /// The criterion referenced in the query. + /// The criterion referenced in the query. #[prost(message, optional, tag="17")] pub ad_group_criterion: ::core::option::Option, - /// The ad group criterion customizer referenced in the query. + /// The ad group criterion customizer referenced in the query. #[prost(message, optional, tag="187")] pub ad_group_criterion_customizer: ::core::option::Option, - /// The ad group criterion label referenced in the query. + /// The ad group criterion label referenced in the query. #[prost(message, optional, tag="121")] pub ad_group_criterion_label: ::core::option::Option, - /// The ad group criterion simulation referenced in the query. + /// The ad group criterion simulation referenced in the query. #[prost(message, optional, tag="110")] pub ad_group_criterion_simulation: ::core::option::Option, - /// The ad group customizer referenced in the query. + /// The ad group customizer referenced in the query. #[prost(message, optional, tag="185")] pub ad_group_customizer: ::core::option::Option, - /// The ad group extension setting referenced in the query. + /// The ad group extension setting referenced in the query. #[prost(message, optional, tag="112")] pub ad_group_extension_setting: ::core::option::Option, - /// The ad group feed referenced in the query. + /// The ad group feed referenced in the query. #[prost(message, optional, tag="67")] pub ad_group_feed: ::core::option::Option, - /// The ad group label referenced in the query. + /// The ad group label referenced in the query. #[prost(message, optional, tag="115")] pub ad_group_label: ::core::option::Option, - /// The ad group simulation referenced in the query. + /// The ad group simulation referenced in the query. #[prost(message, optional, tag="107")] pub ad_group_simulation: ::core::option::Option, - /// The ad parameter referenced in the query. + /// The ad parameter referenced in the query. #[prost(message, optional, tag="130")] pub ad_parameter: ::core::option::Option, - /// The age range view referenced in the query. + /// The age range view referenced in the query. #[prost(message, optional, tag="48")] pub age_range_view: ::core::option::Option, - /// The ad schedule view referenced in the query. + /// The ad schedule view referenced in the query. #[prost(message, optional, tag="89")] pub ad_schedule_view: ::core::option::Option, - /// The domain category referenced in the query. + /// The domain category referenced in the query. #[prost(message, optional, tag="91")] pub domain_category: ::core::option::Option, - /// The asset referenced in the query. + /// The asset referenced in the query. #[prost(message, optional, tag="105")] pub asset: ::core::option::Option, - /// The asset field type view referenced in the query. + /// The asset field type view referenced in the query. #[prost(message, optional, tag="168")] pub asset_field_type_view: ::core::option::Option, - /// The asset group asset referenced in the query. + /// The asset group asset referenced in the query. #[prost(message, optional, tag="173")] pub asset_group_asset: ::core::option::Option, - /// The asset group signal referenced in the query. + /// The asset group signal referenced in the query. #[prost(message, optional, tag="191")] pub asset_group_signal: ::core::option::Option, - /// The asset group listing group filter referenced in the query. + /// The asset group listing group filter referenced in the query. #[prost(message, optional, tag="182")] pub asset_group_listing_group_filter: ::core::option::Option, - /// The asset group product group view referenced in the query. + /// The asset group product group view referenced in the query. #[prost(message, optional, tag="189")] pub asset_group_product_group_view: ::core::option::Option, - /// The asset group referenced in the query. + /// The asset group referenced in the query. #[prost(message, optional, tag="172")] pub asset_group: ::core::option::Option, - /// The asset set asset referenced in the query. + /// The asset set asset referenced in the query. #[prost(message, optional, tag="180")] pub asset_set_asset: ::core::option::Option, - /// The asset set referenced in the query. + /// The asset set referenced in the query. #[prost(message, optional, tag="179")] pub asset_set: ::core::option::Option, - /// The batch job referenced in the query. + /// The batch job referenced in the query. #[prost(message, optional, tag="139")] pub batch_job: ::core::option::Option, - /// The bidding data exclusion referenced in the query. + /// The bidding data exclusion referenced in the query. #[prost(message, optional, tag="159")] pub bidding_data_exclusion: ::core::option::Option, - /// The bidding seasonality adjustment referenced in the query. + /// The bidding seasonality adjustment referenced in the query. #[prost(message, optional, tag="160")] pub bidding_seasonality_adjustment: ::core::option::Option, - /// The bidding strategy referenced in the query. + /// The bidding strategy referenced in the query. #[prost(message, optional, tag="18")] pub bidding_strategy: ::core::option::Option, - /// The bidding strategy simulation referenced in the query. + /// The bidding strategy simulation referenced in the query. #[prost(message, optional, tag="158")] pub bidding_strategy_simulation: ::core::option::Option, - /// The billing setup referenced in the query. + /// The billing setup referenced in the query. #[prost(message, optional, tag="41")] pub billing_setup: ::core::option::Option, - /// The call view referenced in the query. + /// The call view referenced in the query. #[prost(message, optional, tag="152")] pub call_view: ::core::option::Option, - /// The campaign budget referenced in the query. + /// The campaign budget referenced in the query. #[prost(message, optional, tag="19")] pub campaign_budget: ::core::option::Option, - /// The campaign referenced in the query. + /// The campaign referenced in the query. #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, - /// The campaign asset referenced in the query. + /// The campaign asset referenced in the query. #[prost(message, optional, tag="142")] pub campaign_asset: ::core::option::Option, - /// The campaign asset set referenced in the query. + /// The campaign asset set referenced in the query. #[prost(message, optional, tag="181")] pub campaign_asset_set: ::core::option::Option, - /// The campaign audience view referenced in the query. + /// The campaign audience view referenced in the query. #[prost(message, optional, tag="69")] pub campaign_audience_view: ::core::option::Option, - /// The campaign bid modifier referenced in the query. + /// The campaign bid modifier referenced in the query. #[prost(message, optional, tag="26")] pub campaign_bid_modifier: ::core::option::Option, - /// The CampaignConversionGoal referenced in the query. + /// The CampaignConversionGoal referenced in the query. #[prost(message, optional, tag="175")] pub campaign_conversion_goal: ::core::option::Option, - /// The campaign criterion referenced in the query. + /// The campaign criterion referenced in the query. #[prost(message, optional, tag="20")] pub campaign_criterion: ::core::option::Option, - /// The campaign criterion simulation referenced in the query. + /// The campaign criterion simulation referenced in the query. #[prost(message, optional, tag="111")] pub campaign_criterion_simulation: ::core::option::Option, - /// The campaign customizer referenced in the query. + /// The campaign customizer referenced in the query. #[prost(message, optional, tag="186")] pub campaign_customizer: ::core::option::Option, - /// The campaign draft referenced in the query. + /// The campaign draft referenced in the query. #[prost(message, optional, tag="49")] pub campaign_draft: ::core::option::Option, - /// The campaign experiment referenced in the query. + /// The campaign experiment referenced in the query. #[prost(message, optional, tag="84")] pub campaign_experiment: ::core::option::Option, - /// The campaign extension setting referenced in the query. + /// The campaign extension setting referenced in the query. #[prost(message, optional, tag="113")] pub campaign_extension_setting: ::core::option::Option, - /// The campaign feed referenced in the query. + /// The campaign feed referenced in the query. #[prost(message, optional, tag="63")] pub campaign_feed: ::core::option::Option, - /// Campaign Group referenced in AWQL query. + /// Campaign Group referenced in AWQL query. #[prost(message, optional, tag="25")] pub campaign_group: ::core::option::Option, - /// The campaign label referenced in the query. + /// The campaign label referenced in the query. #[prost(message, optional, tag="108")] pub campaign_label: ::core::option::Option, - /// Campaign Shared Set referenced in AWQL query. + /// Campaign Shared Set referenced in AWQL query. #[prost(message, optional, tag="30")] pub campaign_shared_set: ::core::option::Option, - /// The campaign simulation referenced in the query. + /// The campaign simulation referenced in the query. #[prost(message, optional, tag="157")] pub campaign_simulation: ::core::option::Option, - /// The carrier constant referenced in the query. + /// The carrier constant referenced in the query. #[prost(message, optional, tag="66")] pub carrier_constant: ::core::option::Option, - /// The ChangeEvent referenced in the query. + /// The ChangeEvent referenced in the query. #[prost(message, optional, tag="145")] pub change_event: ::core::option::Option, - /// The ChangeStatus referenced in the query. + /// The ChangeStatus referenced in the query. #[prost(message, optional, tag="37")] pub change_status: ::core::option::Option, - /// The CombinedAudience referenced in the query. + /// The CombinedAudience referenced in the query. #[prost(message, optional, tag="148")] pub combined_audience: ::core::option::Option, - /// The Audience referenced in the query. + /// The Audience referenced in the query. #[prost(message, optional, tag="190")] pub audience: ::core::option::Option, - /// The conversion action referenced in the query. + /// The conversion action referenced in the query. #[prost(message, optional, tag="103")] pub conversion_action: ::core::option::Option, - /// The conversion custom variable referenced in the query. + /// The conversion custom variable referenced in the query. #[prost(message, optional, tag="153")] pub conversion_custom_variable: ::core::option::Option, - /// The ConversionGoalCampaignConfig referenced in the query. + /// The ConversionGoalCampaignConfig referenced in the query. #[prost(message, optional, tag="177")] pub conversion_goal_campaign_config: ::core::option::Option, - /// The conversion value rule referenced in the query. + /// The conversion value rule referenced in the query. #[prost(message, optional, tag="164")] pub conversion_value_rule: ::core::option::Option, - /// The conversion value rule set referenced in the query. + /// The conversion value rule set referenced in the query. #[prost(message, optional, tag="165")] pub conversion_value_rule_set: ::core::option::Option, - /// The ClickView referenced in the query. + /// The ClickView referenced in the query. #[prost(message, optional, tag="122")] pub click_view: ::core::option::Option, - /// The currency constant referenced in the query. + /// The currency constant referenced in the query. #[prost(message, optional, tag="134")] pub currency_constant: ::core::option::Option, - /// The CustomAudience referenced in the query. + /// The CustomAudience referenced in the query. #[prost(message, optional, tag="147")] pub custom_audience: ::core::option::Option, - /// The CustomConversionGoal referenced in the query. + /// The CustomConversionGoal referenced in the query. #[prost(message, optional, tag="176")] pub custom_conversion_goal: ::core::option::Option, - /// The CustomInterest referenced in the query. + /// The CustomInterest referenced in the query. #[prost(message, optional, tag="104")] pub custom_interest: ::core::option::Option, - /// The customer referenced in the query. + /// The customer referenced in the query. #[prost(message, optional, tag="1")] pub customer: ::core::option::Option, - /// The customer asset referenced in the query. + /// The customer asset referenced in the query. #[prost(message, optional, tag="155")] pub customer_asset: ::core::option::Option, - /// The accessible bidding strategy referenced in the query. + /// The accessible bidding strategy referenced in the query. #[prost(message, optional, tag="169")] pub accessible_bidding_strategy: ::core::option::Option, - /// The customer customizer referenced in the query. + /// The customer customizer referenced in the query. #[prost(message, optional, tag="184")] pub customer_customizer: ::core::option::Option, - /// The CustomerManagerLink referenced in the query. + /// The CustomerManagerLink referenced in the query. #[prost(message, optional, tag="61")] pub customer_manager_link: ::core::option::Option, - /// The CustomerClientLink referenced in the query. + /// The CustomerClientLink referenced in the query. #[prost(message, optional, tag="62")] pub customer_client_link: ::core::option::Option, - /// The CustomerClient referenced in the query. + /// The CustomerClient referenced in the query. #[prost(message, optional, tag="70")] pub customer_client: ::core::option::Option, - /// The CustomerConversionGoal referenced in the query. + /// The CustomerConversionGoal referenced in the query. #[prost(message, optional, tag="174")] pub customer_conversion_goal: ::core::option::Option, - /// The customer extension setting referenced in the query. + /// The customer extension setting referenced in the query. #[prost(message, optional, tag="114")] pub customer_extension_setting: ::core::option::Option, - /// The customer feed referenced in the query. + /// The customer feed referenced in the query. #[prost(message, optional, tag="64")] pub customer_feed: ::core::option::Option, - /// The customer label referenced in the query. + /// The customer label referenced in the query. #[prost(message, optional, tag="124")] pub customer_label: ::core::option::Option, - /// The customer negative criterion referenced in the query. + /// The customer negative criterion referenced in the query. #[prost(message, optional, tag="88")] pub customer_negative_criterion: ::core::option::Option, - /// The CustomerUserAccess referenced in the query. + /// The CustomerUserAccess referenced in the query. #[prost(message, optional, tag="146")] pub customer_user_access: ::core::option::Option, - /// The CustomerUserAccessInvitation referenced in the query. + /// The CustomerUserAccessInvitation referenced in the query. #[prost(message, optional, tag="150")] pub customer_user_access_invitation: ::core::option::Option, - /// The customizer attribute referenced in the query. + /// The customizer attribute referenced in the query. #[prost(message, optional, tag="178")] pub customizer_attribute: ::core::option::Option, - /// The detail placement view referenced in the query. + /// The detail placement view referenced in the query. #[prost(message, optional, tag="118")] pub detail_placement_view: ::core::option::Option, - /// The detailed demographic referenced in the query. + /// The detailed demographic referenced in the query. #[prost(message, optional, tag="166")] pub detailed_demographic: ::core::option::Option, - /// The display keyword view referenced in the query. + /// The display keyword view referenced in the query. #[prost(message, optional, tag="47")] pub display_keyword_view: ::core::option::Option, - /// The distance view referenced in the query. + /// The distance view referenced in the query. #[prost(message, optional, tag="132")] pub distance_view: ::core::option::Option, - /// The dynamic search ads search term view referenced in the query. + /// The dynamic search ads search term view referenced in the query. #[prost(message, optional, tag="106")] pub dynamic_search_ads_search_term_view: ::core::option::Option, - /// The expanded landing page view referenced in the query. + /// The expanded landing page view referenced in the query. #[prost(message, optional, tag="128")] pub expanded_landing_page_view: ::core::option::Option, - /// The extension feed item referenced in the query. + /// The extension feed item referenced in the query. #[prost(message, optional, tag="85")] pub extension_feed_item: ::core::option::Option, - /// The feed referenced in the query. + /// The feed referenced in the query. #[prost(message, optional, tag="46")] pub feed: ::core::option::Option, - /// The feed item referenced in the query. + /// The feed item referenced in the query. #[prost(message, optional, tag="50")] pub feed_item: ::core::option::Option, - /// The feed item set referenced in the query. + /// The feed item set referenced in the query. #[prost(message, optional, tag="149")] pub feed_item_set: ::core::option::Option, - /// The feed item set link referenced in the query. + /// The feed item set link referenced in the query. #[prost(message, optional, tag="151")] pub feed_item_set_link: ::core::option::Option, - /// The feed item target referenced in the query. + /// The feed item target referenced in the query. #[prost(message, optional, tag="116")] pub feed_item_target: ::core::option::Option, - /// The feed mapping referenced in the query. + /// The feed mapping referenced in the query. #[prost(message, optional, tag="58")] pub feed_mapping: ::core::option::Option, - /// The feed placeholder view referenced in the query. + /// The feed placeholder view referenced in the query. #[prost(message, optional, tag="97")] pub feed_placeholder_view: ::core::option::Option, - /// The gender view referenced in the query. + /// The gender view referenced in the query. #[prost(message, optional, tag="40")] pub gender_view: ::core::option::Option, - /// The geo target constant referenced in the query. + /// The geo target constant referenced in the query. #[prost(message, optional, tag="23")] pub geo_target_constant: ::core::option::Option, - /// The geographic view referenced in the query. + /// The geographic view referenced in the query. #[prost(message, optional, tag="125")] pub geographic_view: ::core::option::Option, - /// The group placement view referenced in the query. + /// The group placement view referenced in the query. #[prost(message, optional, tag="119")] pub group_placement_view: ::core::option::Option, - /// The hotel group view referenced in the query. + /// The hotel group view referenced in the query. #[prost(message, optional, tag="51")] pub hotel_group_view: ::core::option::Option, - /// The hotel performance view referenced in the query. + /// The hotel performance view referenced in the query. #[prost(message, optional, tag="71")] pub hotel_performance_view: ::core::option::Option, - /// The hotel reconciliation referenced in the query. + /// The hotel reconciliation referenced in the query. #[prost(message, optional, tag="188")] pub hotel_reconciliation: ::core::option::Option, - /// The income range view referenced in the query. + /// The income range view referenced in the query. #[prost(message, optional, tag="138")] pub income_range_view: ::core::option::Option, - /// The keyword view referenced in the query. + /// The keyword view referenced in the query. #[prost(message, optional, tag="21")] pub keyword_view: ::core::option::Option, - /// The keyword plan referenced in the query. + /// The keyword plan referenced in the query. #[prost(message, optional, tag="32")] pub keyword_plan: ::core::option::Option, - /// The keyword plan campaign referenced in the query. + /// The keyword plan campaign referenced in the query. #[prost(message, optional, tag="33")] pub keyword_plan_campaign: ::core::option::Option, - /// The keyword plan campaign keyword referenced in the query. + /// The keyword plan campaign keyword referenced in the query. #[prost(message, optional, tag="140")] pub keyword_plan_campaign_keyword: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="35")] pub keyword_plan_ad_group: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="141")] pub keyword_plan_ad_group_keyword: ::core::option::Option, - /// The keyword theme constant referenced in the query. + /// The keyword theme constant referenced in the query. #[prost(message, optional, tag="163")] pub keyword_theme_constant: ::core::option::Option, - /// The label referenced in the query. + /// The label referenced in the query. #[prost(message, optional, tag="52")] pub label: ::core::option::Option, - /// The landing page view referenced in the query. + /// The landing page view referenced in the query. #[prost(message, optional, tag="126")] pub landing_page_view: ::core::option::Option, - /// The language constant referenced in the query. + /// The language constant referenced in the query. #[prost(message, optional, tag="55")] pub language_constant: ::core::option::Option, - /// The location view referenced in the query. + /// The location view referenced in the query. #[prost(message, optional, tag="123")] pub location_view: ::core::option::Option, - /// The managed placement view referenced in the query. + /// The managed placement view referenced in the query. #[prost(message, optional, tag="53")] pub managed_placement_view: ::core::option::Option, - /// The media file referenced in the query. + /// The media file referenced in the query. #[prost(message, optional, tag="90")] pub media_file: ::core::option::Option, - /// The mobile app category constant referenced in the query. + /// The mobile app category constant referenced in the query. #[prost(message, optional, tag="87")] pub mobile_app_category_constant: ::core::option::Option, - /// The mobile device constant referenced in the query. + /// The mobile device constant referenced in the query. #[prost(message, optional, tag="98")] pub mobile_device_constant: ::core::option::Option, - /// The offline user data job referenced in the query. + /// The offline user data job referenced in the query. #[prost(message, optional, tag="137")] pub offline_user_data_job: ::core::option::Option, - /// The operating system version constant referenced in the query. + /// The operating system version constant referenced in the query. #[prost(message, optional, tag="86")] pub operating_system_version_constant: ::core::option::Option, - /// The paid organic search term view referenced in the query. + /// The paid organic search term view referenced in the query. #[prost(message, optional, tag="129")] pub paid_organic_search_term_view: ::core::option::Option, - /// The parental status view referenced in the query. + /// The parental status view referenced in the query. #[prost(message, optional, tag="45")] pub parental_status_view: ::core::option::Option, - /// The Product Bidding Category referenced in the query. + /// The Product Bidding Category referenced in the query. #[prost(message, optional, tag="109")] pub product_bidding_category_constant: ::core::option::Option, - /// The product group view referenced in the query. + /// The product group view referenced in the query. #[prost(message, optional, tag="54")] pub product_group_view: ::core::option::Option, - /// The recommendation referenced in the query. + /// The recommendation referenced in the query. #[prost(message, optional, tag="22")] pub recommendation: ::core::option::Option, - /// The search term view referenced in the query. + /// The search term view referenced in the query. #[prost(message, optional, tag="68")] pub search_term_view: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="29")] pub shared_criterion: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="27")] pub shared_set: ::core::option::Option, - /// The Smart campaign setting referenced in the query. + /// The Smart campaign setting referenced in the query. #[prost(message, optional, tag="167")] pub smart_campaign_setting: ::core::option::Option, - /// The shopping performance view referenced in the query. + /// The shopping performance view referenced in the query. #[prost(message, optional, tag="117")] pub shopping_performance_view: ::core::option::Option, - /// The Smart campaign search term view referenced in the query. + /// The Smart campaign search term view referenced in the query. #[prost(message, optional, tag="170")] pub smart_campaign_search_term_view: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="144")] pub third_party_app_analytics_link: ::core::option::Option, - /// The topic view referenced in the query. + /// The topic view referenced in the query. #[prost(message, optional, tag="44")] pub topic_view: ::core::option::Option, - /// The experiment referenced in the query. + /// The experiment referenced in the query. #[prost(message, optional, tag="133")] pub experiment: ::core::option::Option, - /// The experiment arm referenced in the query. + /// The experiment arm referenced in the query. #[prost(message, optional, tag="183")] pub experiment_arm: ::core::option::Option, - /// The user interest referenced in the query. + /// The user interest referenced in the query. #[prost(message, optional, tag="59")] pub user_interest: ::core::option::Option, - /// The life event referenced in the query. + /// The life event referenced in the query. #[prost(message, optional, tag="161")] pub life_event: ::core::option::Option, - /// The user list referenced in the query. + /// The user list referenced in the query. #[prost(message, optional, tag="38")] pub user_list: ::core::option::Option, - /// The user location view referenced in the query. + /// The user location view referenced in the query. #[prost(message, optional, tag="135")] pub user_location_view: ::core::option::Option, - /// The remarketing action referenced in the query. + /// The remarketing action referenced in the query. #[prost(message, optional, tag="60")] pub remarketing_action: ::core::option::Option, - /// The topic constant referenced in the query. + /// The topic constant referenced in the query. #[prost(message, optional, tag="31")] pub topic_constant: ::core::option::Option, - /// The video referenced in the query. + /// The video referenced in the query. #[prost(message, optional, tag="39")] pub video: ::core::option::Option, - /// The webpage view referenced in the query. + /// The webpage view referenced in the query. #[prost(message, optional, tag="162")] pub webpage_view: ::core::option::Option, - /// The lead form user submission referenced in the query. + /// The lead form user submission referenced in the query. #[prost(message, optional, tag="192")] pub lead_form_submission_data: ::core::option::Option, - /// The metrics. + /// The metrics. #[prost(message, optional, tag="4")] pub metrics: ::core::option::Option, - /// The segments. + /// The segments. #[prost(message, optional, tag="102")] pub segments: ::core::option::Option, } -/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v10.services.GoogleAdsService.Mutate\]. +/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v10.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsRequest { - /// Required. The ID of the customer whose resources are being modified. + /// Required. The ID of the customer whose resources are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual resources. + /// Required. The list of operations to perform on individual resources. #[prost(message, repeated, tag="2")] pub mutate_operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. The mutable - /// resource will only be returned if the resource has the appropriate response - /// field. E.g. MutateCampaignResult.campaign. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. The mutable + /// resource will only be returned if the resource has the appropriate response + /// field. E.g. MutateCampaignResult.campaign. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v10.services.GoogleAdsService.Mutate\]. +/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v10.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g., auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g., auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All responses for the mutate. + /// All responses for the mutate. #[prost(message, repeated, tag="1")] pub mutate_operation_responses: ::prost::alloc::vec::Vec, } -/// A single operation (create, update, remove) on a resource. +/// A single operation (create, update, remove) on a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="mutate_operation::Operation", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 49, 22, 23, 65, 78, 80, 62, 71, 72, 81, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 9, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 79, 30, 31, 32, 34, 35, 70, 82, 83, 36, 37, 53, 54, 38, 39, 40, 44, 50, 51, 45, 48, 41, 42, 43, 14, 15, 61, 16")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MutateOperation`. pub mod mutate_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// An ad group ad label mutate operation. + /// An ad group ad label mutate operation. #[prost(message, tag="17")] AdGroupAdLabelOperation(super::AdGroupAdLabelOperation), - /// An ad group ad mutate operation. + /// An ad group ad mutate operation. #[prost(message, tag="1")] AdGroupAdOperation(super::AdGroupAdOperation), - /// An ad group asset mutate operation. + /// An ad group asset mutate operation. #[prost(message, tag="56")] AdGroupAssetOperation(super::AdGroupAssetOperation), - /// An ad group bid modifier mutate operation. + /// An ad group bid modifier mutate operation. #[prost(message, tag="2")] AdGroupBidModifierOperation(super::AdGroupBidModifierOperation), - /// An ad group criterion customizer mutate operation. + /// An ad group criterion customizer mutate operation. #[prost(message, tag="77")] AdGroupCriterionCustomizerOperation(super::AdGroupCriterionCustomizerOperation), - /// An ad group criterion label mutate operation. + /// An ad group criterion label mutate operation. #[prost(message, tag="18")] AdGroupCriterionLabelOperation(super::AdGroupCriterionLabelOperation), - /// An ad group criterion mutate operation. + /// An ad group criterion mutate operation. #[prost(message, tag="3")] AdGroupCriterionOperation(super::AdGroupCriterionOperation), - /// An ad group customizer mutate operation. + /// An ad group customizer mutate operation. #[prost(message, tag="75")] AdGroupCustomizerOperation(super::AdGroupCustomizerOperation), - /// An ad group extension setting mutate operation. + /// An ad group extension setting mutate operation. #[prost(message, tag="19")] AdGroupExtensionSettingOperation(super::AdGroupExtensionSettingOperation), - /// An ad group feed mutate operation. + /// An ad group feed mutate operation. #[prost(message, tag="20")] AdGroupFeedOperation(super::AdGroupFeedOperation), - /// An ad group label mutate operation. + /// An ad group label mutate operation. #[prost(message, tag="21")] AdGroupLabelOperation(super::AdGroupLabelOperation), - /// An ad group mutate operation. + /// An ad group mutate operation. #[prost(message, tag="5")] AdGroupOperation(super::AdGroupOperation), - /// An ad mutate operation. + /// An ad mutate operation. #[prost(message, tag="49")] AdOperation(super::AdOperation), - /// An ad parameter mutate operation. + /// An ad parameter mutate operation. #[prost(message, tag="22")] AdParameterOperation(super::AdParameterOperation), - /// An asset mutate operation. + /// An asset mutate operation. #[prost(message, tag="23")] AssetOperation(super::AssetOperation), - /// An asset group asset mutate operation. + /// An asset group asset mutate operation. #[prost(message, tag="65")] AssetGroupAssetOperation(super::AssetGroupAssetOperation), - /// An asset group listing group filter mutate operation. + /// An asset group listing group filter mutate operation. #[prost(message, tag="78")] AssetGroupListingGroupFilterOperation(super::AssetGroupListingGroupFilterOperation), - /// An asset group signal mutate operation. + /// An asset group signal mutate operation. #[prost(message, tag="80")] AssetGroupSignalOperation(super::AssetGroupSignalOperation), - /// An asset group mutate operation. + /// An asset group mutate operation. #[prost(message, tag="62")] AssetGroupOperation(super::AssetGroupOperation), - /// An asset set asset mutate operation. + /// An asset set asset mutate operation. #[prost(message, tag="71")] AssetSetAssetOperation(super::AssetSetAssetOperation), - /// An asset set mutate operation. + /// An asset set mutate operation. #[prost(message, tag="72")] AssetSetOperation(super::AssetSetOperation), - /// An audience mutate operation. + /// An audience mutate operation. #[prost(message, tag="81")] AudienceOperation(super::AudienceOperation), - /// A bidding data exclusion mutate operation. + /// A bidding data exclusion mutate operation. #[prost(message, tag="58")] BiddingDataExclusionOperation(super::BiddingDataExclusionOperation), - /// A bidding seasonality adjustment mutate operation. + /// A bidding seasonality adjustment mutate operation. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentOperation(super::BiddingSeasonalityAdjustmentOperation), - /// A bidding strategy mutate operation. + /// A bidding strategy mutate operation. #[prost(message, tag="6")] BiddingStrategyOperation(super::BiddingStrategyOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="52")] CampaignAssetOperation(super::CampaignAssetOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="73")] CampaignAssetSetOperation(super::CampaignAssetSetOperation), - /// A campaign bid modifier mutate operation. + /// A campaign bid modifier mutate operation. #[prost(message, tag="7")] CampaignBidModifierOperation(super::CampaignBidModifierOperation), - /// A campaign budget mutate operation. + /// A campaign budget mutate operation. #[prost(message, tag="8")] CampaignBudgetOperation(super::CampaignBudgetOperation), - /// A campaign conversion goal mutate operation. + /// A campaign conversion goal mutate operation. #[prost(message, tag="67")] CampaignConversionGoalOperation(super::CampaignConversionGoalOperation), - /// A campaign criterion mutate operation. + /// A campaign criterion mutate operation. #[prost(message, tag="13")] CampaignCriterionOperation(super::CampaignCriterionOperation), - /// An campaign customizer mutate operation. + /// An campaign customizer mutate operation. #[prost(message, tag="76")] CampaignCustomizerOperation(super::CampaignCustomizerOperation), - /// A campaign draft mutate operation. + /// A campaign draft mutate operation. #[prost(message, tag="24")] CampaignDraftOperation(super::CampaignDraftOperation), - /// A campaign experiment mutate operation. + /// A campaign experiment mutate operation. #[prost(message, tag="25")] CampaignExperimentOperation(super::CampaignExperimentOperation), - /// A campaign extension setting mutate operation. + /// A campaign extension setting mutate operation. #[prost(message, tag="26")] CampaignExtensionSettingOperation(super::CampaignExtensionSettingOperation), - /// A campaign feed mutate operation. + /// A campaign feed mutate operation. #[prost(message, tag="27")] CampaignFeedOperation(super::CampaignFeedOperation), - /// A campaign group mutate operation. + /// A campaign group mutate operation. #[prost(message, tag="9")] CampaignGroupOperation(super::CampaignGroupOperation), - /// A campaign label mutate operation. + /// A campaign label mutate operation. #[prost(message, tag="28")] CampaignLabelOperation(super::CampaignLabelOperation), - /// A campaign mutate operation. + /// A campaign mutate operation. #[prost(message, tag="10")] CampaignOperation(super::CampaignOperation), - /// A campaign shared set mutate operation. + /// A campaign shared set mutate operation. #[prost(message, tag="11")] CampaignSharedSetOperation(super::CampaignSharedSetOperation), - /// A conversion action mutate operation. + /// A conversion action mutate operation. #[prost(message, tag="12")] ConversionActionOperation(super::ConversionActionOperation), - /// A conversion custom variable mutate operation. + /// A conversion custom variable mutate operation. #[prost(message, tag="55")] ConversionCustomVariableOperation(super::ConversionCustomVariableOperation), - /// A conversion goal campaign config mutate operation. + /// A conversion goal campaign config mutate operation. #[prost(message, tag="69")] ConversionGoalCampaignConfigOperation(super::ConversionGoalCampaignConfigOperation), - /// A conversion value rule mutate operation. + /// A conversion value rule mutate operation. #[prost(message, tag="63")] ConversionValueRuleOperation(super::ConversionValueRuleOperation), - /// A conversion value rule set mutate operation. + /// A conversion value rule set mutate operation. #[prost(message, tag="64")] ConversionValueRuleSetOperation(super::ConversionValueRuleSetOperation), - /// A custom conversion goal mutate operation. + /// A custom conversion goal mutate operation. #[prost(message, tag="68")] CustomConversionGoalOperation(super::CustomConversionGoalOperation), - /// A customer asset mutate operation. + /// A customer asset mutate operation. #[prost(message, tag="57")] CustomerAssetOperation(super::CustomerAssetOperation), - /// A customer conversion goal mutate operation. + /// A customer conversion goal mutate operation. #[prost(message, tag="66")] CustomerConversionGoalOperation(super::CustomerConversionGoalOperation), - /// An customer customizer mutate operation. + /// An customer customizer mutate operation. #[prost(message, tag="79")] CustomerCustomizerOperation(super::CustomerCustomizerOperation), - /// A customer extension setting mutate operation. + /// A customer extension setting mutate operation. #[prost(message, tag="30")] CustomerExtensionSettingOperation(super::CustomerExtensionSettingOperation), - /// A customer feed mutate operation. + /// A customer feed mutate operation. #[prost(message, tag="31")] CustomerFeedOperation(super::CustomerFeedOperation), - /// A customer label mutate operation. + /// A customer label mutate operation. #[prost(message, tag="32")] CustomerLabelOperation(super::CustomerLabelOperation), - /// A customer negative criterion mutate operation. + /// A customer negative criterion mutate operation. #[prost(message, tag="34")] CustomerNegativeCriterionOperation(super::CustomerNegativeCriterionOperation), - /// A customer mutate operation. + /// A customer mutate operation. #[prost(message, tag="35")] CustomerOperation(super::CustomerOperation), - /// An customizer attribute mutate operation. + /// An customizer attribute mutate operation. #[prost(message, tag="70")] CustomizerAttributeOperation(super::CustomizerAttributeOperation), - /// An experiment mutate operation. + /// An experiment mutate operation. #[prost(message, tag="82")] ExperimentOperation(super::ExperimentOperation), - /// An experiment arm mutate operation. + /// An experiment arm mutate operation. #[prost(message, tag="83")] ExperimentArmOperation(super::ExperimentArmOperation), - /// An extension feed item mutate operation. + /// An extension feed item mutate operation. #[prost(message, tag="36")] ExtensionFeedItemOperation(super::ExtensionFeedItemOperation), - /// A feed item mutate operation. + /// A feed item mutate operation. #[prost(message, tag="37")] FeedItemOperation(super::FeedItemOperation), - /// A feed item set mutate operation. + /// A feed item set mutate operation. #[prost(message, tag="53")] FeedItemSetOperation(super::FeedItemSetOperation), - /// A feed item set link mutate operation. + /// A feed item set link mutate operation. #[prost(message, tag="54")] FeedItemSetLinkOperation(super::FeedItemSetLinkOperation), - /// A feed item target mutate operation. + /// A feed item target mutate operation. #[prost(message, tag="38")] FeedItemTargetOperation(super::FeedItemTargetOperation), - /// A feed mapping mutate operation. + /// A feed mapping mutate operation. #[prost(message, tag="39")] FeedMappingOperation(super::FeedMappingOperation), - /// A feed mutate operation. + /// A feed mutate operation. #[prost(message, tag="40")] FeedOperation(super::FeedOperation), - /// A keyword plan ad group operation. + /// A keyword plan ad group operation. #[prost(message, tag="44")] KeywordPlanAdGroupOperation(super::KeywordPlanAdGroupOperation), - /// A keyword plan ad group keyword operation. + /// A keyword plan ad group keyword operation. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordOperation(super::KeywordPlanAdGroupKeywordOperation), - /// A keyword plan campaign keyword operation. + /// A keyword plan campaign keyword operation. #[prost(message, tag="51")] KeywordPlanCampaignKeywordOperation(super::KeywordPlanCampaignKeywordOperation), - /// A keyword plan campaign operation. + /// A keyword plan campaign operation. #[prost(message, tag="45")] KeywordPlanCampaignOperation(super::KeywordPlanCampaignOperation), - /// A keyword plan operation. + /// A keyword plan operation. #[prost(message, tag="48")] KeywordPlanOperation(super::KeywordPlanOperation), - /// A label mutate operation. + /// A label mutate operation. #[prost(message, tag="41")] LabelOperation(super::LabelOperation), - /// A media file mutate operation. + /// A media file mutate operation. #[prost(message, tag="42")] MediaFileOperation(super::MediaFileOperation), - /// A remarketing action mutate operation. + /// A remarketing action mutate operation. #[prost(message, tag="43")] RemarketingActionOperation(super::RemarketingActionOperation), - /// A shared criterion mutate operation. + /// A shared criterion mutate operation. #[prost(message, tag="14")] SharedCriterionOperation(super::SharedCriterionOperation), - /// A shared set mutate operation. + /// A shared set mutate operation. #[prost(message, tag="15")] SharedSetOperation(super::SharedSetOperation), - /// A Smart campaign setting mutate operation. + /// A Smart campaign setting mutate operation. #[prost(message, tag="61")] SmartCampaignSettingOperation(super::SmartCampaignSettingOperation), - /// A user list mutate operation. + /// A user list mutate operation. #[prost(message, tag="16")] UserListOperation(super::UserListOperation), } } -/// Response message for the resource mutate. +/// Response message for the resource mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperationResponse { - /// The mutate response. + /// The mutate response. #[prost(oneof="mutate_operation_response::Response", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 22, 49, 23, 65, 78, 79, 62, 71, 72, 80, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 9, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 74, 30, 31, 32, 34, 35, 70, 36, 37, 53, 54, 38, 39, 40, 44, 45, 50, 51, 48, 41, 42, 43, 14, 15, 61, 16")] pub response: ::core::option::Option, } /// Nested message and enum types in `MutateOperationResponse`. pub mod mutate_operation_response { - /// The mutate response. + /// The mutate response. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// The result for the ad group ad label mutate. + /// The result for the ad group ad label mutate. #[prost(message, tag="17")] AdGroupAdLabelResult(super::MutateAdGroupAdLabelResult), - /// The result for the ad group ad mutate. + /// The result for the ad group ad mutate. #[prost(message, tag="1")] AdGroupAdResult(super::MutateAdGroupAdResult), - /// The result for the ad group asset mutate. + /// The result for the ad group asset mutate. #[prost(message, tag="56")] AdGroupAssetResult(super::MutateAdGroupAssetResult), - /// The result for the ad group bid modifier mutate. + /// The result for the ad group bid modifier mutate. #[prost(message, tag="2")] AdGroupBidModifierResult(super::MutateAdGroupBidModifierResult), - /// The result for the ad group criterion customizer mutate. + /// The result for the ad group criterion customizer mutate. #[prost(message, tag="77")] AdGroupCriterionCustomizerResult(super::MutateAdGroupCriterionCustomizerResult), - /// The result for the ad group criterion label mutate. + /// The result for the ad group criterion label mutate. #[prost(message, tag="18")] AdGroupCriterionLabelResult(super::MutateAdGroupCriterionLabelResult), - /// The result for the ad group criterion mutate. + /// The result for the ad group criterion mutate. #[prost(message, tag="3")] AdGroupCriterionResult(super::MutateAdGroupCriterionResult), - /// The result for the ad group customizer mutate. + /// The result for the ad group customizer mutate. #[prost(message, tag="75")] AdGroupCustomizerResult(super::MutateAdGroupCustomizerResult), - /// The result for the ad group extension setting mutate. + /// The result for the ad group extension setting mutate. #[prost(message, tag="19")] AdGroupExtensionSettingResult(super::MutateAdGroupExtensionSettingResult), - /// The result for the ad group feed mutate. + /// The result for the ad group feed mutate. #[prost(message, tag="20")] AdGroupFeedResult(super::MutateAdGroupFeedResult), - /// The result for the ad group label mutate. + /// The result for the ad group label mutate. #[prost(message, tag="21")] AdGroupLabelResult(super::MutateAdGroupLabelResult), - /// The result for the ad group mutate. + /// The result for the ad group mutate. #[prost(message, tag="5")] AdGroupResult(super::MutateAdGroupResult), - /// The result for the ad parameter mutate. + /// The result for the ad parameter mutate. #[prost(message, tag="22")] AdParameterResult(super::MutateAdParameterResult), - /// The result for the ad mutate. + /// The result for the ad mutate. #[prost(message, tag="49")] AdResult(super::MutateAdResult), - /// The result for the asset mutate. + /// The result for the asset mutate. #[prost(message, tag="23")] AssetResult(super::MutateAssetResult), - /// The result for the asset group asset mutate. + /// The result for the asset group asset mutate. #[prost(message, tag="65")] AssetGroupAssetResult(super::MutateAssetGroupAssetResult), - /// The result for the asset group listing group filter mutate. + /// The result for the asset group listing group filter mutate. #[prost(message, tag="78")] AssetGroupListingGroupFilterResult(super::MutateAssetGroupListingGroupFilterResult), - /// The result for the asset group signal mutate. + /// The result for the asset group signal mutate. #[prost(message, tag="79")] AssetGroupSignalResult(super::MutateAssetGroupSignalResult), - /// The result for the asset group mutate. + /// The result for the asset group mutate. #[prost(message, tag="62")] AssetGroupResult(super::MutateAssetGroupResult), - /// The result for the asset set asset mutate. + /// The result for the asset set asset mutate. #[prost(message, tag="71")] AssetSetAssetResult(super::MutateAssetSetAssetResult), - /// The result for the asset set mutate. + /// The result for the asset set mutate. #[prost(message, tag="72")] AssetSetResult(super::MutateAssetSetResult), - /// The result for the audience mutate. + /// The result for the audience mutate. #[prost(message, tag="80")] AudienceResult(super::MutateAudienceResult), - /// The result for the bidding data exclusion mutate. + /// The result for the bidding data exclusion mutate. #[prost(message, tag="58")] BiddingDataExclusionResult(super::MutateBiddingDataExclusionsResult), - /// The result for the bidding seasonality adjustment mutate. + /// The result for the bidding seasonality adjustment mutate. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentResult(super::MutateBiddingSeasonalityAdjustmentsResult), - /// The result for the bidding strategy mutate. + /// The result for the bidding strategy mutate. #[prost(message, tag="6")] BiddingStrategyResult(super::MutateBiddingStrategyResult), - /// The result for the campaign asset mutate. + /// The result for the campaign asset mutate. #[prost(message, tag="52")] CampaignAssetResult(super::MutateCampaignAssetResult), - /// The result for the campaign asset set mutate. + /// The result for the campaign asset set mutate. #[prost(message, tag="73")] CampaignAssetSetResult(super::MutateCampaignAssetSetResult), - /// The result for the campaign bid modifier mutate. + /// The result for the campaign bid modifier mutate. #[prost(message, tag="7")] CampaignBidModifierResult(super::MutateCampaignBidModifierResult), - /// The result for the campaign budget mutate. + /// The result for the campaign budget mutate. #[prost(message, tag="8")] CampaignBudgetResult(super::MutateCampaignBudgetResult), - /// The result for the campaign conversion goal mutate. + /// The result for the campaign conversion goal mutate. #[prost(message, tag="67")] CampaignConversionGoalResult(super::MutateCampaignConversionGoalResult), - /// The result for the campaign criterion mutate. + /// The result for the campaign criterion mutate. #[prost(message, tag="13")] CampaignCriterionResult(super::MutateCampaignCriterionResult), - /// The result for the campaign customizer mutate. + /// The result for the campaign customizer mutate. #[prost(message, tag="76")] CampaignCustomizerResult(super::MutateCampaignCustomizerResult), - /// The result for the campaign draft mutate. + /// The result for the campaign draft mutate. #[prost(message, tag="24")] CampaignDraftResult(super::MutateCampaignDraftResult), - /// The result for the campaign experiment mutate. + /// The result for the campaign experiment mutate. #[prost(message, tag="25")] CampaignExperimentResult(super::MutateCampaignExperimentResult), - /// The result for the campaign extension setting mutate. + /// The result for the campaign extension setting mutate. #[prost(message, tag="26")] CampaignExtensionSettingResult(super::MutateCampaignExtensionSettingResult), - /// The result for the campaign feed mutate. + /// The result for the campaign feed mutate. #[prost(message, tag="27")] CampaignFeedResult(super::MutateCampaignFeedResult), - /// The result for the campaign group mutate. + /// The result for the campaign group mutate. #[prost(message, tag="9")] CampaignGroupResult(super::MutateCampaignGroupResult), - /// The result for the campaign label mutate. + /// The result for the campaign label mutate. #[prost(message, tag="28")] CampaignLabelResult(super::MutateCampaignLabelResult), - /// The result for the campaign mutate. + /// The result for the campaign mutate. #[prost(message, tag="10")] CampaignResult(super::MutateCampaignResult), - /// The result for the campaign shared set mutate. + /// The result for the campaign shared set mutate. #[prost(message, tag="11")] CampaignSharedSetResult(super::MutateCampaignSharedSetResult), - /// The result for the conversion action mutate. + /// The result for the conversion action mutate. #[prost(message, tag="12")] ConversionActionResult(super::MutateConversionActionResult), - /// The result for the conversion custom variable mutate. + /// The result for the conversion custom variable mutate. #[prost(message, tag="55")] ConversionCustomVariableResult(super::MutateConversionCustomVariableResult), - /// The result for the conversion goal campaign config mutate. + /// The result for the conversion goal campaign config mutate. #[prost(message, tag="69")] ConversionGoalCampaignConfigResult(super::MutateConversionGoalCampaignConfigResult), - /// The result for the conversion value rule mutate. + /// The result for the conversion value rule mutate. #[prost(message, tag="63")] ConversionValueRuleResult(super::MutateConversionValueRuleResult), - /// The result for the conversion value rule set mutate. + /// The result for the conversion value rule set mutate. #[prost(message, tag="64")] ConversionValueRuleSetResult(super::MutateConversionValueRuleSetResult), - /// The result for the custom conversion goal mutate. + /// The result for the custom conversion goal mutate. #[prost(message, tag="68")] CustomConversionGoalResult(super::MutateCustomConversionGoalResult), - /// The result for the customer asset mutate. + /// The result for the customer asset mutate. #[prost(message, tag="57")] CustomerAssetResult(super::MutateCustomerAssetResult), - /// The result for the customer conversion goal mutate. + /// The result for the customer conversion goal mutate. #[prost(message, tag="66")] CustomerConversionGoalResult(super::MutateCustomerConversionGoalResult), - /// The result for the customer customizer mutate. + /// The result for the customer customizer mutate. #[prost(message, tag="74")] CustomerCustomizerResult(super::MutateCustomerCustomizerResult), - /// The result for the customer extension setting mutate. + /// The result for the customer extension setting mutate. #[prost(message, tag="30")] CustomerExtensionSettingResult(super::MutateCustomerExtensionSettingResult), - /// The result for the customer feed mutate. + /// The result for the customer feed mutate. #[prost(message, tag="31")] CustomerFeedResult(super::MutateCustomerFeedResult), - /// The result for the customer label mutate. + /// The result for the customer label mutate. #[prost(message, tag="32")] CustomerLabelResult(super::MutateCustomerLabelResult), - /// The result for the customer negative criterion mutate. + /// The result for the customer negative criterion mutate. #[prost(message, tag="34")] CustomerNegativeCriterionResult(super::MutateCustomerNegativeCriteriaResult), - /// The result for the customer mutate. + /// The result for the customer mutate. #[prost(message, tag="35")] CustomerResult(super::MutateCustomerResult), - /// The result for the customizer attribute mutate. + /// The result for the customizer attribute mutate. #[prost(message, tag="70")] CustomizerAttributeResult(super::MutateCustomizerAttributeResult), - /// The result for the extension feed item mutate. + /// The result for the extension feed item mutate. #[prost(message, tag="36")] ExtensionFeedItemResult(super::MutateExtensionFeedItemResult), - /// The result for the feed item mutate. + /// The result for the feed item mutate. #[prost(message, tag="37")] FeedItemResult(super::MutateFeedItemResult), - /// The result for the feed item set mutate. + /// The result for the feed item set mutate. #[prost(message, tag="53")] FeedItemSetResult(super::MutateFeedItemSetResult), - /// The result for the feed item set link mutate. + /// The result for the feed item set link mutate. #[prost(message, tag="54")] FeedItemSetLinkResult(super::MutateFeedItemSetLinkResult), - /// The result for the feed item target mutate. + /// The result for the feed item target mutate. #[prost(message, tag="38")] FeedItemTargetResult(super::MutateFeedItemTargetResult), - /// The result for the feed mapping mutate. + /// The result for the feed mapping mutate. #[prost(message, tag="39")] FeedMappingResult(super::MutateFeedMappingResult), - /// The result for the feed mutate. + /// The result for the feed mutate. #[prost(message, tag="40")] FeedResult(super::MutateFeedResult), - /// The result for the keyword plan ad group mutate. + /// The result for the keyword plan ad group mutate. #[prost(message, tag="44")] KeywordPlanAdGroupResult(super::MutateKeywordPlanAdGroupResult), - /// The result for the keyword plan campaign mutate. + /// The result for the keyword plan campaign mutate. #[prost(message, tag="45")] KeywordPlanCampaignResult(super::MutateKeywordPlanCampaignResult), - /// The result for the keyword plan ad group keyword mutate. + /// The result for the keyword plan ad group keyword mutate. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordResult(super::MutateKeywordPlanAdGroupKeywordResult), - /// The result for the keyword plan campaign keyword mutate. + /// The result for the keyword plan campaign keyword mutate. #[prost(message, tag="51")] KeywordPlanCampaignKeywordResult(super::MutateKeywordPlanCampaignKeywordResult), - /// The result for the keyword plan mutate. + /// The result for the keyword plan mutate. #[prost(message, tag="48")] KeywordPlanResult(super::MutateKeywordPlansResult), - /// The result for the label mutate. + /// The result for the label mutate. #[prost(message, tag="41")] LabelResult(super::MutateLabelResult), - /// The result for the media file mutate. + /// The result for the media file mutate. #[prost(message, tag="42")] MediaFileResult(super::MutateMediaFileResult), - /// The result for the remarketing action mutate. + /// The result for the remarketing action mutate. #[prost(message, tag="43")] RemarketingActionResult(super::MutateRemarketingActionResult), - /// The result for the shared criterion mutate. + /// The result for the shared criterion mutate. #[prost(message, tag="14")] SharedCriterionResult(super::MutateSharedCriterionResult), - /// The result for the shared set mutate. + /// The result for the shared set mutate. #[prost(message, tag="15")] SharedSetResult(super::MutateSharedSetResult), - /// The result for the Smart campaign setting mutate. + /// The result for the Smart campaign setting mutate. #[prost(message, tag="61")] SmartCampaignSettingResult(super::MutateSmartCampaignSettingResult), - /// The result for the user list mutate. + /// The result for the user list mutate. #[prost(message, tag="16")] UserListResult(super::MutateUserListResult), } @@ -16928,144 +16928,144 @@ pub mod google_ads_service_client { } } } -/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v10.services.BatchJobService.MutateBatchJob\]. +/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v10.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobRequest { - /// Required. The ID of the customer for which to create a batch job. + /// Required. The ID of the customer for which to create a batch job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual batch job. + /// Required. The operation to perform on an individual batch job. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a batch job. +/// A single operation on a batch job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="batch_job_operation::Operation", tags="1, 4")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BatchJobOperation`. pub mod batch_job_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new batch job. + /// Create operation: No resource name is expected for the new batch job. #[prost(message, tag="1")] Create(super::super::resources::BatchJob), - /// Remove operation: The batch job must not have been run. A resource name - /// for the removed batch job is expected, in this format: + /// Remove operation: The batch job must not have been run. A resource name + /// for the removed batch job is expected, in this format: /// - /// `customers/{customer_id}/batchJobs/{batch_job_id}` + /// `customers/{customer_id}/batchJobs/{batch_job_id}` #[prost(string, tag="4")] Remove(::prost::alloc::string::String), } } -/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v10.services.BatchJobService.MutateBatchJob\]. +/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v10.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResponse { - /// The result for the mutate. + /// The result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the batch job mutate. +/// The result for the batch job mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResult { - /// The resource name of the batch job. + /// The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v10.services.BatchJobService.RunBatchJob\]. +/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v10.services.BatchJobService.RunBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunBatchJobRequest { - /// Required. The resource name of the BatchJob to run. + /// Required. The resource name of the BatchJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations\]. +/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsRequest { - /// Required. The resource name of the batch job. + /// Required. The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// A token used to enforce sequencing. + /// A token used to enforce sequencing. /// - /// The first AddBatchJobOperations request for a batch job should not set - /// sequence_token. Subsequent requests must set sequence_token to the value of - /// next_sequence_token received in the previous AddBatchJobOperations - /// response. + /// The first AddBatchJobOperations request for a batch job should not set + /// sequence_token. Subsequent requests must set sequence_token to the value of + /// next_sequence_token received in the previous AddBatchJobOperations + /// response. #[prost(string, tag="2")] pub sequence_token: ::prost::alloc::string::String, - /// Required. The list of mutates being added. + /// Required. The list of mutates being added. /// - /// Operations can use negative integers as temp ids to signify dependencies - /// between entities created in this batch job. For example, a customer with - /// id = 1234 can create a campaign and an ad group in that same campaign by - /// creating a campaign in the first operation with the resource name - /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group - /// in the second operation with the campaign field also set to - /// "customers/1234/campaigns/-1". + /// Operations can use negative integers as temp ids to signify dependencies + /// between entities created in this batch job. For example, a customer with + /// id = 1234 can create a campaign and an ad group in that same campaign by + /// creating a campaign in the first operation with the resource name + /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group + /// in the second operation with the campaign field also set to + /// "customers/1234/campaigns/-1". #[prost(message, repeated, tag="3")] pub mutate_operations: ::prost::alloc::vec::Vec, } -/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations\]. +/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v10.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsResponse { - /// The total number of operations added so far for this batch job. + /// The total number of operations added so far for this batch job. #[prost(int64, tag="1")] pub total_operations: i64, - /// The sequence token to be used when calling AddBatchJobOperations again if - /// more operations need to be added. The next AddBatchJobOperations request - /// must set the sequence_token field to the value of this field. + /// The sequence token to be used when calling AddBatchJobOperations again if + /// more operations need to be added. The next AddBatchJobOperations request + /// must set the sequence_token field to the value of this field. #[prost(string, tag="2")] pub next_sequence_token: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v10.services.BatchJobService.ListBatchJobResults\]. +/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v10.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsRequest { - /// Required. The resource name of the batch job whose results are being listed. + /// Required. The resource name of the batch job whose results are being listed. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v10.services.BatchJobService.ListBatchJobResults\]. +/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v10.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// An individual batch job result. +/// An individual batch job result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobResult { - /// Index of the mutate operation. + /// Index of the mutate operation. #[prost(int64, tag="1")] pub operation_index: i64, - /// Response for the mutate. - /// May be empty if errors occurred. + /// Response for the mutate. + /// May be empty if errors occurred. #[prost(message, optional, tag="2")] pub mutate_operation_response: ::core::option::Option, - /// Details of the errors when processing the operation. + /// Details of the errors when processing the operation. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, } @@ -17269,54 +17269,54 @@ pub mod batch_job_service_client { } } } -/// Request message for billing setup mutate operations. +/// Request message for billing setup mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupRequest { - /// Required. Id of the customer to apply the billing setup mutate operation to. + /// Required. Id of the customer to apply the billing setup mutate operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform. + /// Required. The operation to perform. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a billing setup, which describes the cancellation of an -/// existing billing setup. +/// A single operation on a billing setup, which describes the cancellation of an +/// existing billing setup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupOperation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[prost(oneof="billing_setup_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BillingSetupOperation`. pub mod billing_setup_operation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Creates a billing setup. No resource name is expected for the new billing - /// setup. + /// Creates a billing setup. No resource name is expected for the new billing + /// setup. #[prost(message, tag="2")] Create(super::super::resources::BillingSetup), - /// Resource name of the billing setup to remove. A setup cannot be - /// removed unless it is in a pending state or its scheduled start time is in - /// the future. The resource name looks like - /// `customers/{customer_id}/billingSetups/{billing_id}`. + /// Resource name of the billing setup to remove. A setup cannot be + /// removed unless it is in a pending state or its scheduled start time is in + /// the future. The resource name looks like + /// `customers/{customer_id}/billingSetups/{billing_id}`. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for a billing setup operation. +/// Response message for a billing setup operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// Result for a single billing setup mutate. +/// Result for a single billing setup mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -17432,152 +17432,152 @@ pub mod billing_setup_service_client { } } } -/// Request message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v10.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Request message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v10.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversion adjustments that are being uploaded. + /// Required. The conversion adjustments that are being uploaded. #[prost(message, repeated, tag="2")] pub conversion_adjustments: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried out - /// in one transaction if and only if they are all valid. This should always be - /// set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried out + /// in one transaction if and only if they are all valid. This should always be + /// set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v10.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Response message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v10.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsResponse { - /// Errors that pertain to conversion adjustment failures in the partial - /// failure mode. Returned when all errors occur inside the adjustments. If any - /// errors occur outside the adjustments (e.g. auth errors), we return an RPC - /// level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion adjustment failures in the partial + /// failure mode. Returned when all errors occur inside the adjustments. If any + /// errors occur outside the adjustments (e.g. auth errors), we return an RPC + /// level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversion adjustments. Proto will be - /// empty for rows that received an error. Results are not returned when - /// validate_only is true. + /// Returned for successfully processed conversion adjustments. Proto will be + /// empty for rows that received an error. Results are not returned when + /// validate_only is true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A conversion adjustment. +/// A conversion adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustment { - /// For adjustments, uniquely identifies a conversion that was reported - /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this - /// value is optional but may be set in addition to the order_id. + /// For adjustments, uniquely identifies a conversion that was reported + /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this + /// value is optional but may be set in addition to the order_id. #[prost(message, optional, tag="12")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. If the conversion was - /// reported with an order ID specified, that order ID must be used as the - /// identifier here. The order ID is required for enhancements. + /// The order ID of the conversion to be adjusted. If the conversion was + /// reported with an order ID specified, that order ID must be used as the + /// identifier here. The order ID is required for enhancements. #[prost(string, optional, tag="13")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion - /// adjustment. Note: Although this resource name consists of a customer id and - /// a conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion + /// adjustment. Note: Although this resource name consists of a customer id and + /// a conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="8")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. Must be after the - /// conversion_date_time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. Must be after the + /// conversion_date_time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="9")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, - /// Information needed to restate the conversion's value. - /// Required for restatements. Should not be supplied for retractions. An error - /// will be returned if provided for a retraction. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// Information needed to restate the conversion's value. + /// Required for restatements. Should not be supplied for retractions. An error + /// will be returned if provided for a retraction. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(message, optional, tag="6")] pub restatement_value: ::core::option::Option, - /// The user identifiers to enhance the original conversion. - /// ConversionAdjustmentUploadService only accepts user identifiers in - /// enhancements. The maximum number of user identifiers for each - /// enhancement is 5. + /// The user identifiers to enhance the original conversion. + /// ConversionAdjustmentUploadService only accepts user identifiers in + /// enhancements. The maximum number of user identifiers for each + /// enhancement is 5. #[prost(message, repeated, tag="10")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// The user agent to enhance the original conversion. This can be found in - /// your user's HTTP request header when they convert on your web page. - /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - /// agent can only be specified in enhancements with user identifiers. This - /// should match the user agent of the request that sent the original - /// conversion so the conversion and its enhancement are either both attributed - /// as same-device or both attributed as cross-device. + /// The user agent to enhance the original conversion. This can be found in + /// your user's HTTP request header when they convert on your web page. + /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User + /// agent can only be specified in enhancements with user identifiers. This + /// should match the user agent of the request that sent the original + /// conversion so the conversion and its enhancement are either both attributed + /// as same-device or both attributed as cross-device. #[prost(string, optional, tag="11")] pub user_agent: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains information needed to restate a conversion's value. +/// Contains information needed to restate a conversion's value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestatementValue { - /// The restated conversion value. This is the value of the conversion after - /// restatement. For example, to change the value of a conversion from 100 to - /// 70, an adjusted value of 70 should be reported. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// The restated conversion value. This is the value of the conversion after + /// restatement. For example, to change the value of a conversion from 100 to + /// 70, an adjusted value of 70 should be reported. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(double, optional, tag="3")] pub adjusted_value: ::core::option::Option, - /// The currency of the restated value. If not provided, then the default - /// currency from the conversion action is used, and if that is not set then - /// the account currency is used. This is the ISO 4217 3-character currency - /// code e.g. USD or EUR. + /// The currency of the restated value. If not provided, then the default + /// currency from the conversion action is used, and if that is not set then + /// the account currency is used. This is the ISO 4217 3-character currency + /// code e.g. USD or EUR. #[prost(string, optional, tag="4")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Uniquely identifies a conversion that was reported without an order ID -/// specified. +/// Uniquely identifies a conversion that was reported without an order ID +/// specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GclidDateTimePair { - /// Google click ID (gclid) associated with the original conversion for this - /// adjustment. + /// Google click ID (gclid) associated with the original conversion for this + /// adjustment. #[prost(string, optional, tag="3")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the original conversion for this adjustment - /// occurred. The timezone must be specified. The format is "yyyy-mm-dd - /// hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the original conversion for this adjustment + /// occurred. The timezone must be specified. The format is "yyyy-mm-dd + /// hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="4")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// Information identifying a successfully processed ConversionAdjustment. +/// Information identifying a successfully processed ConversionAdjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentResult { - /// The gclid and conversion date time of the conversion. + /// The gclid and conversion date time of the conversion. #[prost(message, optional, tag="9")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. + /// The order ID of the conversion to be adjusted. #[prost(string, tag="10")] pub order_id: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion - /// adjustment. + /// Resource name of the conversion action associated with this conversion + /// adjustment. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, } @@ -17687,285 +17687,285 @@ pub mod conversion_adjustment_upload_service_client { } } } -/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadClickConversions\]. +/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadClickConversions\]. +/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (e.g. auth errors), we return an RPC level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (e.g. auth errors), we return an RPC level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadCallConversions\]. +/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadCallConversions\]. +/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v10.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (e.g. auth errors), we return an RPC level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (e.g. auth errors), we return an RPC level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A click conversion. +/// A click conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversion { - /// The Google click ID (gclid) associated with this conversion. + /// The Google click ID (gclid) associated with this conversion. #[prost(string, optional, tag="9")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="18")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="19")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="10")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after - /// the click time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. Must be after + /// the click time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="11")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="12")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="13")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The order ID associated with the conversion. An order id can only be used - /// for one conversion per conversion action. + /// The order ID associated with the conversion. An order id can only be used + /// for one conversion per conversion action. #[prost(string, optional, tag="14")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Additional data about externally attributed conversions. This field - /// is required for conversions with an externally attributed conversion - /// action, but should not be set otherwise. + /// Additional data about externally attributed conversions. This field + /// is required for conversions with an externally attributed conversion + /// action, but should not be set otherwise. #[prost(message, optional, tag="7")] pub external_attribution_data: ::core::option::Option, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="15")] pub custom_variables: ::prost::alloc::vec::Vec, - /// The cart data associated with this conversion. + /// The cart data associated with this conversion. #[prost(message, optional, tag="16")] pub cart_data: ::core::option::Option, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="17")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// The environment this conversion was recorded on. e.g. App or Web. + /// The environment this conversion was recorded on. e.g. App or Web. #[prost(enumeration="super::enums::conversion_environment_enum::ConversionEnvironment", tag="20")] pub conversion_environment: i32, } -/// A call conversion. +/// A call conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversion { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign. e.g. "+16502531234". + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign. e.g. "+16502531234". #[prost(string, optional, tag="7")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The timezone must be specified. - /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - /// e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The timezone must be specified. + /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + /// e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="9")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after the call - /// time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. Must be after the call + /// time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="10")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="11")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="12")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="13")] pub custom_variables: ::prost::alloc::vec::Vec, } -/// Contains additional information about externally attributed conversions. +/// Contains additional information about externally attributed conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalAttributionData { - /// Represents the fraction of the conversion that is attributed to the - /// Google Ads click. + /// Represents the fraction of the conversion that is attributed to the + /// Google Ads click. #[prost(double, optional, tag="3")] pub external_attribution_credit: ::core::option::Option, - /// Specifies the attribution model name. + /// Specifies the attribution model name. #[prost(string, optional, tag="4")] pub external_attribution_model: ::core::option::Option<::prost::alloc::string::String>, } -/// Identifying information for a successfully processed ClickConversion. +/// Identifying information for a successfully processed ClickConversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversionResult { - /// The Google Click ID (gclid) associated with this conversion. + /// The Google Click ID (gclid) associated with this conversion. #[prost(string, optional, tag="4")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="8")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="9")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="5")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="6")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="7")] pub user_identifiers: ::prost::alloc::vec::Vec, } -/// Identifying information for a successfully processed CallConversionUpload. +/// Identifying information for a successfully processed CallConversionUpload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionResult { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign. + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign. #[prost(string, optional, tag="5")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="6")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom variable. +/// A custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomVariable { - /// Resource name of the custom variable associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion custom variable id, validation will ignore the customer id and - /// use the conversion custom variable id as the sole identifier of the - /// conversion custom variable. + /// Resource name of the custom variable associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion custom variable id, validation will ignore the customer id and + /// use the conversion custom variable id as the sole identifier of the + /// conversion custom variable. #[prost(string, tag="1")] pub conversion_custom_variable: ::prost::alloc::string::String, - /// The value string of this custom variable. - /// The value of the custom variable should not contain private customer data, - /// such as email addresses or phone numbers. + /// The value string of this custom variable. + /// The value of the custom variable should not contain private customer data, + /// such as email addresses or phone numbers. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } -/// Contains additional information about cart data. +/// Contains additional information about cart data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CartData { - /// The Merchant Center ID where the items are uploaded. + /// The Merchant Center ID where the items are uploaded. #[prost(int64, tag="6")] pub merchant_id: i64, - /// The country code associated with the feed where the items are uploaded. + /// The country code associated with the feed where the items are uploaded. #[prost(string, tag="2")] pub feed_country_code: ::prost::alloc::string::String, - /// The language code associated with the feed where the items are uploaded. + /// The language code associated with the feed where the items are uploaded. #[prost(string, tag="3")] pub feed_language_code: ::prost::alloc::string::String, - /// Sum of all transaction level discounts, such as free shipping and - /// coupon discounts for the whole cart. The currency code is the same - /// as that in the ClickConversion message. + /// Sum of all transaction level discounts, such as free shipping and + /// coupon discounts for the whole cart. The currency code is the same + /// as that in the ClickConversion message. #[prost(double, tag="4")] pub local_transaction_cost: f64, - /// Data of the items purchased. + /// Data of the items purchased. #[prost(message, repeated, tag="5")] pub items: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CartData`. pub mod cart_data { - /// Contains data of the items purchased. + /// Contains data of the items purchased. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Item { - /// The shopping id of the item. Must be equal to the Merchant Center product - /// identifier. + /// The shopping id of the item. Must be equal to the Merchant Center product + /// identifier. #[prost(string, tag="1")] pub product_id: ::prost::alloc::string::String, - /// Number of items sold. + /// Number of items sold. #[prost(int32, tag="2")] pub quantity: i32, - /// Unit price excluding tax, shipping, and any transaction - /// level discounts. The currency code is the same as that in the - /// ClickConversion message. + /// Unit price excluding tax, shipping, and any transaction + /// level discounts. The currency code is the same as that in the + /// ClickConversion message. #[prost(double, tag="3")] pub unit_price: f64, } @@ -18109,62 +18109,62 @@ pub mod conversion_upload_service_client { } } } -/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v10.services.CustomAudienceService.MutateCustomAudiences\]. +/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v10.services.CustomAudienceService.MutateCustomAudiences\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesRequest { - /// Required. The ID of the customer whose custom audiences are being modified. + /// Required. The ID of the customer whose custom audiences are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom audiences. + /// Required. The list of operations to perform on individual custom audiences. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a custom audience. +/// A single operation (create, update) on a custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_audience_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceOperation`. pub mod custom_audience_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// audience. + /// Create operation: No resource name is expected for the new custom + /// audience. #[prost(message, tag="1")] Create(super::super::resources::CustomAudience), - /// Update operation: The custom audience is expected to have a valid - /// resource name. + /// Update operation: The custom audience is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomAudience), - /// Remove operation: A resource name for the removed custom audience is - /// expected, in this format: + /// Remove operation: A resource name for the removed custom audience is + /// expected, in this format: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for custom audience mutate. +/// Response message for custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom audience mutate. +/// The result for the custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudienceResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18278,56 +18278,56 @@ pub mod custom_audience_service_client { } } } -/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v10.services.CustomInterestService.MutateCustomInterests\]. +/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v10.services.CustomInterestService.MutateCustomInterests\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsRequest { - /// Required. The ID of the customer whose custom interests are being modified. + /// Required. The ID of the customer whose custom interests are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom interests. + /// Required. The list of operations to perform on individual custom interests. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a custom interest. +/// A single operation (create, update) on a custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_interest_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomInterestOperation`. pub mod custom_interest_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// interest. + /// Create operation: No resource name is expected for the new custom + /// interest. #[prost(message, tag="1")] Create(super::super::resources::CustomInterest), - /// Update operation: The custom interest is expected to have a valid - /// resource name. + /// Update operation: The custom interest is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomInterest), } } -/// Response message for custom interest mutate. +/// Response message for custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom interest mutate. +/// The result for the custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18439,54 +18439,54 @@ pub mod custom_interest_service_client { } } } -/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v10.services.CustomerClientLinkService.MutateCustomerClientLink\]. +/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v10.services.CustomerClientLinkService.MutateCustomerClientLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkRequest { - /// Required. The ID of the customer whose customer link are being modified. + /// Required. The ID of the customer whose customer link are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the individual CustomerClientLink. + /// Required. The operation to perform on the individual CustomerClientLink. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a CustomerClientLink. +/// A single operation (create, update) on a CustomerClientLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_client_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerClientLinkOperation`. pub mod customer_client_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new link. + /// Create operation: No resource name is expected for the new link. #[prost(message, tag="1")] Create(super::super::resources::CustomerClientLink), - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerClientLink), } } -/// Response message for a CustomerClientLink mutate. +/// Response message for a CustomerClientLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for a single customer client link mutate. +/// The result for a single customer client link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18601,84 +18601,84 @@ pub mod customer_client_link_service_client { } } } -/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v10.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v10.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkRequest { - /// Required. The ID of the customer whose customer manager links are being modified. + /// Required. The ID of the customer whose customer manager links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer manager links. + /// Required. The list of operations to perform on individual customer manager links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v10.services.CustomerManagerLinkService.MoveManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v10.services.CustomerManagerLinkService.MoveManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkRequest { - /// Required. The ID of the client customer that is being moved. + /// Required. The ID of the client customer that is being moved. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The resource name of the previous CustomerManagerLink. - /// The resource name has the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Required. The resource name of the previous CustomerManagerLink. + /// The resource name has the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="2")] pub previous_customer_manager_link: ::prost::alloc::string::String, - /// Required. The resource name of the new manager customer that the client wants to move - /// to. Customer resource names have the format: "customers/{customer_id}" + /// Required. The resource name of the new manager customer that the client wants to move + /// to. Customer resource names have the format: "customers/{customer_id}" #[prost(string, tag="3")] pub new_manager: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Updates the status of a CustomerManagerLink. -/// The following actions are possible: -/// 1. Update operation with status ACTIVE accepts a pending invitation. -/// 2. Update operation with status REFUSED declines a pending invitation. -/// 3. Update operation with status INACTIVE terminates link to manager. +/// Updates the status of a CustomerManagerLink. +/// The following actions are possible: +/// 1. Update operation with status ACTIVE accepts a pending invitation. +/// 2. Update operation with status REFUSED declines a pending invitation. +/// 3. Update operation with status INACTIVE terminates link to manager. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_manager_link_operation::Operation", tags="2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerManagerLinkOperation`. pub mod customer_manager_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerManagerLink), } } -/// Response message for a CustomerManagerLink mutate. +/// Response message for a CustomerManagerLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// Response message for a CustomerManagerLink moveManagerLink. +/// Response message for a CustomerManagerLink moveManagerLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkResponse { - /// Returned for successful operations. Represents a CustomerManagerLink - /// resource of the newly created link between client customer and new manager - /// customer. + /// Returned for successful operations. Represents a CustomerManagerLink + /// resource of the newly created link between client customer and new manager + /// customer. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// The result for the customer manager link mutate. +/// The result for the customer manager link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18827,52 +18827,52 @@ pub mod customer_manager_link_service_client { } } } -/// Request message for -/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] +/// Request message for +/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationRequest { - /// Required. The ID of the customer whose access invitation is being modified. + /// Required. The ID of the customer whose access invitation is being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the access invitation + /// Required. The operation to perform on the access invitation #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (create or remove) on customer user access invitation. +/// A single operation (create or remove) on customer user access invitation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitationOperation { - /// The mutate operation + /// The mutate operation #[prost(oneof="customer_user_access_invitation_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessInvitationOperation`. pub mod customer_user_access_invitation_operation { - /// The mutate operation + /// The mutate operation #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new access - /// invitation. + /// Create operation: No resource name is expected for the new access + /// invitation. #[prost(message, tag="1")] Create(super::super::resources::CustomerUserAccessInvitation), - /// Remove operation: A resource name for the revoke invitation is - /// expected, in this format: + /// Remove operation: A resource name for the revoke invitation is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for access invitation mutate. +/// Response message for access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the access invitation mutate. +/// The result for the access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18985,55 +18985,55 @@ pub mod customer_user_access_invitation_service_client { } } } -/// Mutate Request for -/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v10.services.CustomerUserAccessService.MutateCustomerUserAccess\]. +/// Mutate Request for +/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v10.services.CustomerUserAccessService.MutateCustomerUserAccess\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (update, remove) on customer user access. +/// A single operation (update, remove) on customer user access. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_user_access_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessOperation`. pub mod customer_user_access_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer user access is expected to have a valid - /// resource name. + /// Update operation: The customer user access is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerUserAccess), - /// Remove operation: A resource name for the removed access is - /// expected, in this format: + /// Remove operation: A resource name for the removed access is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer user access mutate. +/// Response message for customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the customer user access mutate. +/// The result for the customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19146,77 +19146,77 @@ pub mod customer_user_access_service_client { } } } -/// Request message for -/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v10.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Request message for +/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v10.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsRequest { - /// If possible, returned geo targets are translated using this locale. If not, - /// en is used by default. This is also used as a hint for returned geo - /// targets. + /// If possible, returned geo targets are translated using this locale. If not, + /// en is used by default. This is also used as a hint for returned geo + /// targets. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Returned geo targets are restricted to this country code. + /// Returned geo targets are restricted to this country code. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[prost(oneof="suggest_geo_target_constants_request::Query", tags="1, 2")] pub query: ::core::option::Option, } /// Nested message and enum types in `SuggestGeoTargetConstantsRequest`. pub mod suggest_geo_target_constants_request { - /// A list of location names. + /// A list of location names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationNames { - /// A list of location names. + /// A list of location names. #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargets { - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[prost(string, repeated, tag="2")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// The location names to search by. At most 25 names can be set. + /// The location names to search by. At most 25 names can be set. #[prost(message, tag="1")] LocationNames(LocationNames), - /// The geo target constant resource names to filter by. + /// The geo target constant resource names to filter by. #[prost(message, tag="2")] GeoTargets(GeoTargets), } } -/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v10.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v10.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsResponse { - /// Geo target constant suggestions. + /// Geo target constant suggestions. #[prost(message, repeated, tag="1")] pub geo_target_constant_suggestions: ::prost::alloc::vec::Vec, } -/// A geo target constant suggestion. +/// A geo target constant suggestion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestion { - /// The language this GeoTargetConstantSuggestion is currently translated to. - /// It affects the name of geo target fields. For example, if locale=en, then - /// name=Spain. If locale=es, then name=España. The default locale will be - /// returned if no translation exists for the locale in the request. + /// The language this GeoTargetConstantSuggestion is currently translated to. + /// It affects the name of geo target fields. For example, if locale=en, then + /// name=Spain. If locale=es, then name=España. The default locale will be + /// returned if no translation exists for the locale in the request. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Approximate user population that will be targeted, rounded to the - /// nearest 100. + /// Approximate user population that will be targeted, rounded to the + /// nearest 100. #[prost(int64, optional, tag="7")] pub reach: ::core::option::Option, - /// If the request searched by location name, this is the location name that - /// matched the geo target. + /// If the request searched by location name, this is the location name that + /// matched the geo target. #[prost(string, optional, tag="8")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// The GeoTargetConstant result. + /// The GeoTargetConstant result. #[prost(message, optional, tag="4")] pub geo_target_constant: ::core::option::Option, - /// The list of parents of the geo target constant. + /// The list of parents of the geo target constant. #[prost(message, repeated, tag="5")] pub geo_target_constant_parents: ::prost::alloc::vec::Vec, } @@ -19326,42 +19326,42 @@ pub mod geo_target_constant_service_client { } } } -/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v10.services.GoogleAdsFieldService.GetGoogleAdsField\]. +/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v10.services.GoogleAdsFieldService.GetGoogleAdsField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGoogleAdsFieldRequest { - /// Required. The resource name of the field to get. + /// Required. The resource name of the field to get. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v10.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v10.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsRequest { - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first page of - /// results will be returned. Use the value obtained from `next_page_token` - /// in the previous response in order to request the next page of results. + /// Token of the page to retrieve. If not specified, the first page of + /// results will be returned. Use the value obtained from `next_page_token` + /// in the previous response in order to request the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to further - /// limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to further + /// limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v10.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v10.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsResponse { - /// The list of fields that matched the query. + /// The list of fields that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. Pass the - /// content of this string as the `page_token` attribute of the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. Pass the + /// content of this string as the `page_token` attribute of the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT clause. + /// Total number of results that match the query ignoring the LIMIT clause. #[prost(int64, tag="3")] pub total_results_count: i64, } @@ -19500,30 +19500,30 @@ pub mod google_ads_field_service_client { } } } -/// Request message for fetching the invoices of a given billing setup that were -/// issued during a given month. +/// Request message for fetching the invoices of a given billing setup that were +/// issued during a given month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesRequest { - /// Required. The ID of the customer to fetch invoices for. + /// Required. The ID of the customer to fetch invoices for. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The billing setup resource name of the requested invoices. + /// Required. The billing setup resource name of the requested invoices. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="2")] pub billing_setup: ::prost::alloc::string::String, - /// Required. The issue year to retrieve invoices, in yyyy format. Only - /// invoices issued in 2019 or later can be retrieved. + /// Required. The issue year to retrieve invoices, in yyyy format. Only + /// invoices issued in 2019 or later can be retrieved. #[prost(string, tag="3")] pub issue_year: ::prost::alloc::string::String, - /// Required. The issue month to retrieve invoices. + /// Required. The issue month to retrieve invoices. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="4")] pub issue_month: i32, } -/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v10.services.InvoiceService.ListInvoices\]. +/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v10.services.InvoiceService.ListInvoices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesResponse { - /// The list of invoices that match the billing setup and time period. + /// The list of invoices that match the billing setup and time period. #[prost(message, repeated, tag="1")] pub invoices: ::prost::alloc::vec::Vec, } @@ -19629,191 +19629,191 @@ pub mod invoice_service_client { } } } -/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeasRequest { - /// The ID of the customer with the recommendation. + /// The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The resource name of the language to target. - /// Required + /// The resource name of the language to target. + /// Required #[prost(string, optional, tag="14")] pub language: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the location to target. - /// Max 10 + /// The resource names of the location to target. + /// Max 10 #[prost(string, repeated, tag="15")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, adult keywords will be included in response. - /// The default value is false. + /// If true, adult keywords will be included in response. + /// The default value is false. #[prost(bool, tag="10")] pub include_adult_keywords: bool, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. To request next page of results use the - /// value obtained from `next_page_token` in the previous response. - /// The request fields must match across pages. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. To request next page of results use the + /// value obtained from `next_page_token` in the previous response. + /// The request fields must match across pages. #[prost(string, tag="12")] pub page_token: ::prost::alloc::string::String, - /// Number of results to retrieve in a single page. - /// A maximum of 10,000 results may be returned, if the page_size - /// exceeds this, it is ignored. - /// If unspecified, at most 10,000 results will be returned. - /// The server may decide to further limit the number of returned resources. - /// If the response contains fewer than 10,000 results it may not be assumed - /// as last page of results. + /// Number of results to retrieve in a single page. + /// A maximum of 10,000 results may be returned, if the page_size + /// exceeds this, it is ignored. + /// If unspecified, at most 10,000 results will be returned. + /// The server may decide to further limit the number of returned resources. + /// If the response contains fewer than 10,000 results it may not be assumed + /// as last page of results. #[prost(int32, tag="13")] pub page_size: i32, - /// Targeting network. + /// Targeting network. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="9")] pub keyword_plan_network: i32, - /// The keyword annotations to include in response. + /// The keyword annotations to include in response. #[prost(enumeration="super::enums::keyword_plan_keyword_annotation_enum::KeywordPlanKeywordAnnotation", repeated, tag="17")] pub keyword_annotation: ::prost::alloc::vec::Vec, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="16")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="18")] pub historical_metrics_options: ::core::option::Option, - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[prost(oneof="generate_keyword_ideas_request::Seed", tags="2, 3, 5, 11")] pub seed: ::core::option::Option, } /// Nested message and enum types in `GenerateKeywordIdeasRequest`. pub mod generate_keyword_ideas_request { - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Seed { - /// A Keyword and a specific Url to generate ideas from - /// e.g. cars, www.example.com/cars. + /// A Keyword and a specific Url to generate ideas from + /// e.g. cars, www.example.com/cars. #[prost(message, tag="2")] KeywordAndUrlSeed(super::KeywordAndUrlSeed), - /// A Keyword or phrase to generate ideas from, e.g. cars. + /// A Keyword or phrase to generate ideas from, e.g. cars. #[prost(message, tag="3")] KeywordSeed(super::KeywordSeed), - /// A specific url to generate ideas from, e.g. www.example.com/cars. + /// A specific url to generate ideas from, e.g. www.example.com/cars. #[prost(message, tag="5")] UrlSeed(super::UrlSeed), - /// The site to generate ideas from, e.g. www.example.com. + /// The site to generate ideas from, e.g. www.example.com. #[prost(message, tag="11")] SiteSeed(super::SiteSeed), } } -/// Keyword And Url Seed +/// Keyword And Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAndUrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="4")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Keyword Seed +/// Keyword Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordSeed { - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Site Seed +/// Site Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct SiteSeed { - /// The domain name of the site. If the customer requesting the ideas doesn't - /// own the site provided only public information is returned. + /// The domain name of the site. If the customer requesting the ideas doesn't + /// own the site provided only public information is returned. #[prost(string, optional, tag="2")] pub site: ::core::option::Option<::prost::alloc::string::String>, } -/// Url Seed +/// Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResponse { - /// Results of generating keyword ideas. + /// Results of generating keyword ideas. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all keyword ideas. + /// The aggregate metrics for all keyword ideas. #[prost(message, optional, tag="4")] pub aggregate_metric_results: ::core::option::Option, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results available. + /// Total number of results available. #[prost(int64, tag="3")] pub total_size: i64, } -/// The result of generating keyword ideas. +/// The result of generating keyword ideas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResult { - /// Text of the keyword idea. - /// As in Keyword Plan historical metrics, this text may not be an actual - /// keyword, but the canonical form of multiple keywords. - /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. + /// Text of the keyword idea. + /// As in Keyword Plan historical metrics, this text may not be an actual + /// keyword, but the canonical form of multiple keywords. + /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The historical metrics for the keyword. + /// The historical metrics for the keyword. #[prost(message, optional, tag="3")] pub keyword_idea_metrics: ::core::option::Option, - /// The annotations for the keyword. - /// The annotation data is only provided if requested. + /// The annotations for the keyword. + /// The annotation data is only provided if requested. #[prost(message, optional, tag="6")] pub keyword_annotations: ::core::option::Option, - /// The list of close variants from the requested keywords that - /// are combined into this GenerateKeywordIdeaResult. See - /// for the - /// definition of "close variants". + /// The list of close variants from the requested keywords that + /// are combined into this GenerateKeywordIdeaResult. See + /// for the + /// definition of "close variants". #[prost(string, repeated, tag="7")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for -/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. +/// Request message for +/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsRequest { - /// The ID of the customer with the recommendation. + /// The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// A list of keywords to get historical metrics. - /// Not all inputs will be returned as a result of near-exact deduplication. - /// For example, if stats for "car" and "cars" are requested, only "car" will - /// be returned. - /// A maximum of 10,000 keywords can be used. + /// A list of keywords to get historical metrics. + /// Not all inputs will be returned as a result of near-exact deduplication. + /// For example, if stats for "car" and "cars" are requested, only "car" will + /// be returned. + /// A maximum of 10,000 keywords can be used. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="3")] pub historical_metrics_options: ::core::option::Option, } -/// Response message for -/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. +/// Response message for +/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v10.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsResponse { - /// List of keywords and their historical metrics. + /// List of keywords and their historical metrics. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result of generating keyword historical metrics. +/// The result of generating keyword historical metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsResult { - /// The text of the query associated with one or more keywords. - /// Note that we de-dupe your keywords list, eliminating close variants - /// before returning the keywords as text. For example, if your request - /// originally contained the keywords "car" and "cars", the returned search - /// query will only contain "cars". The list of de-duped queries will be - /// included in close_variants field. + /// The text of the query associated with one or more keywords. + /// Note that we de-dupe your keywords list, eliminating close variants + /// before returning the keywords as text. For example, if your request + /// originally contained the keywords "car" and "cars", the returned search + /// query will only contain "cars". The list of de-duped queries will be + /// included in close_variants field. #[prost(string, optional, tag="1")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The list of close variants from the requested keywords whose stats - /// are combined into this GenerateKeywordHistoricalMetricsResult. + /// The list of close variants from the requested keywords whose stats + /// are combined into this GenerateKeywordHistoricalMetricsResult. #[prost(string, repeated, tag="3")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The historical metrics for text and its close variants + /// The historical metrics for text and its close variants #[prost(message, optional, tag="2")] pub keyword_metrics: ::core::option::Option, } @@ -19955,28 +19955,28 @@ pub mod keyword_plan_idea_service_client { } } } -/// Request message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v10.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Request message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v10.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsRequest { - /// The query text of a keyword theme that will be used to map to similar - /// keyword themes. E.g. "plumber" or "roofer". + /// The query text of a keyword theme that will be used to map to similar + /// keyword themes. E.g. "plumber" or "roofer". #[prost(string, tag="1")] pub query_text: ::prost::alloc::string::String, - /// Upper-case, two-letter country code as defined by ISO-3166. This for - /// refining the scope of the query, default to 'US' if not set. + /// Upper-case, two-letter country code as defined by ISO-3166. This for + /// refining the scope of the query, default to 'US' if not set. #[prost(string, tag="2")] pub country_code: ::prost::alloc::string::String, - /// The two letter language code for get corresponding keyword theme for - /// refining the scope of the query, default to 'en' if not set. + /// The two letter language code for get corresponding keyword theme for + /// refining the scope of the query, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// Response message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v10.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Response message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v10.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsResponse { - /// Smart Campaign keyword theme suggestions. + /// Smart Campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_theme_constants: ::prost::alloc::vec::Vec, } @@ -20085,80 +20085,80 @@ pub mod keyword_theme_constant_service_client { } } } -/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v10.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v10.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksRequest { - /// Required. The ID of the customer onto which to apply the Merchant Center link list - /// operation. + /// Required. The ID of the customer onto which to apply the Merchant Center link list + /// operation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v10.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v10.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksResponse { - /// Merchant Center links available for the requested customer + /// Merchant Center links available for the requested customer #[prost(message, repeated, tag="1")] pub merchant_center_links: ::prost::alloc::vec::Vec, } -/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v10.services.MerchantCenterLinkService.GetMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v10.services.MerchantCenterLinkService.GetMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMerchantCenterLinkRequest { - /// Required. Resource name of the Merchant Center link. + /// Required. Resource name of the Merchant Center link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v10.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v10.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link + /// Required. The operation to perform on the link #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update on a Merchant Center link. +/// A single update on a Merchant Center link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform + /// The operation to perform #[prost(oneof="merchant_center_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MerchantCenterLinkOperation`. pub mod merchant_center_link_operation { - /// The operation to perform + /// The operation to perform #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The merchant center link is expected to have a valid - /// resource name. + /// Update operation: The merchant center link is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::MerchantCenterLink), - /// Remove operation: A resource name for the removed merchant center link is - /// expected, in this format: + /// Remove operation: A resource name for the removed merchant center link is + /// expected, in this format: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for Merchant Center link mutate. +/// Response message for Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the Merchant Center link mutate. +/// The result for the Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -20331,105 +20331,105 @@ pub mod merchant_center_link_service_client { } } } -/// Request message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Request message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobRequest { - /// Required. The ID of the customer for which to create an offline user data job. + /// Required. The ID of the customer for which to create an offline user data job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The offline user data job to be created. + /// Required. The offline user data job to be created. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// If true, match rate range for the offline user data job is calculated and - /// made available in the resource. + /// If true, match rate range for the offline user data job is calculated and + /// made available in the resource. #[prost(bool, tag="5")] pub enable_match_rate_range_preview: bool, } -/// Response message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Response message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobResponse { - /// The resource name of the OfflineUserDataJob. + /// The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. +/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v10.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunOfflineUserDataJobRequest { - /// Required. The resource name of the OfflineUserDataJob to run. + /// Required. The resource name of the OfflineUserDataJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v10.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Request message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v10.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsRequest { - /// Required. The resource name of the OfflineUserDataJob. + /// Required. The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// True to enable partial failure for the offline user data job. + /// True to enable partial failure for the offline user data job. #[prost(bool, optional, tag="4")] pub enable_partial_failure: ::core::option::Option, - /// True to enable warnings for the offline user data job. When enabled, a - /// warning will not block the OfflineUserDataJobOperation, and will also - /// return warning messages about malformed field values. + /// True to enable warnings for the offline user data job. When enabled, a + /// warning will not block the OfflineUserDataJobOperation, and will also + /// return warning messages about malformed field values. #[prost(bool, optional, tag="6")] pub enable_warnings: ::core::option::Option, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. +/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobOperation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[prost(oneof="offline_user_data_job_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJobOperation`. pub mod offline_user_data_job_operation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Add the provided data to the transaction. Data cannot be retrieved after - /// being uploaded. + /// Add the provided data to the transaction. Data cannot be retrieved after + /// being uploaded. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// Remove the provided data from the transaction. Data cannot be retrieved - /// after being uploaded. + /// Remove the provided data from the transaction. Data cannot be retrieved + /// after being uploaded. #[prost(message, tag="2")] Remove(super::super::common::UserData), - /// Remove all previously provided data. This is only supported for Customer - /// Match. + /// Remove all previously provided data. This is only supported for Customer + /// Match. #[prost(bool, tag="3")] RemoveAll(bool), } } -/// Response message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v10.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Response message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v10.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Non blocking errors that pertain to operation failures in the warnings - /// mode. Returned only when enable_warnings = true. + /// Non blocking errors that pertain to operation failures in the warnings + /// mode. Returned only when enable_warnings = true. #[prost(message, optional, tag="2")] pub warning: ::core::option::Option, } @@ -20615,17 +20615,17 @@ pub mod offline_user_data_job_service_client { } } } -/// Request message for fetching all accessible payments accounts. +/// Request message for fetching all accessible payments accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsRequest { - /// Required. The ID of the customer to apply the PaymentsAccount list operation to. + /// Required. The ID of the customer to apply the PaymentsAccount list operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v10.services.PaymentsAccountService.ListPaymentsAccounts\]. +/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v10.services.PaymentsAccountService.ListPaymentsAccounts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsResponse { - /// The list of accessible payments accounts. + /// The list of accessible payments accounts. #[prost(message, repeated, tag="1")] pub payments_accounts: ::prost::alloc::vec::Vec, } @@ -20738,472 +20738,472 @@ pub mod payments_account_service_client { } } } -/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. +/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsRequest { } -/// The list of plannable locations. +/// The list of plannable locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsResponse { - /// The list of locations available for planning. - /// See - /// - /// for sample locations. + /// The list of locations available for planning. + /// See + /// + /// for sample locations. #[prost(message, repeated, tag="1")] pub plannable_locations: ::prost::alloc::vec::Vec, } -/// A plannable location: country, metro region, province, etc. +/// A plannable location: country, metro region, province, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableLocation { - /// The location identifier. + /// The location identifier. #[prost(string, optional, tag="4")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// The unique location name in English. + /// The unique location name in English. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The parent country (not present if location is a country). - /// If present, will always be a GeoTargetConstant ID. Additional information - /// such as country name is provided by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\] or - /// \[GoogleAdsService.Search/SearchStream][\]. + /// The parent country (not present if location is a country). + /// If present, will always be a GeoTargetConstant ID. Additional information + /// such as country name is provided by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\] or + /// \[GoogleAdsService.Search/SearchStream][\]. #[prost(int64, optional, tag="6")] pub parent_country_id: ::core::option::Option, - /// The ISO-3166-1 alpha-2 country code that is associated with the location. + /// The ISO-3166-1 alpha-2 country code that is associated with the location. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The location's type. Location types correspond to target_type returned by - /// searching location type in \[GoogleAdsService.Search/SearchStream][\]. + /// The location's type. Location types correspond to target_type returned by + /// searching location type in \[GoogleAdsService.Search/SearchStream][\]. #[prost(string, optional, tag="8")] pub location_type: ::core::option::Option<::prost::alloc::string::String>, } -/// Request to list available products in a given location. +/// Request to list available products in a given location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsRequest { - /// Required. The ID of the selected location for planning. To list the available - /// plannable location IDs use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location for planning. To list the available + /// plannable location IDs use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="2")] pub plannable_location_id: ::prost::alloc::string::String, } -/// A response with all available products. +/// A response with all available products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsResponse { - /// The list of products available for planning and related targeting metadata. + /// The list of products available for planning and related targeting metadata. #[prost(message, repeated, tag="1")] pub product_metadata: ::prost::alloc::vec::Vec, } -/// The metadata associated with an available plannable product. +/// The metadata associated with an available plannable product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductMetadata { - /// The code associated with the ad product (for example: BUMPER, - /// TRUEVIEW_IN_STREAM). - /// To list the available plannable product codes use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. + /// The code associated with the ad product (for example: BUMPER, + /// TRUEVIEW_IN_STREAM). + /// To list the available plannable product codes use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. #[prost(string, optional, tag="4")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The name associated with the ad product. + /// The name associated with the ad product. #[prost(string, tag="3")] pub plannable_product_name: ::prost::alloc::string::String, - /// The allowed plannable targeting for this product. + /// The allowed plannable targeting for this product. #[prost(message, optional, tag="2")] pub plannable_targeting: ::core::option::Option, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableTargeting { - /// Allowed plannable age ranges for the product for which metrics will be - /// reported. Actual targeting is computed by mapping this age range onto - /// standard Google common.AgeRangeInfo values. + /// Allowed plannable age ranges for the product for which metrics will be + /// reported. Actual targeting is computed by mapping this age range onto + /// standard Google common.AgeRangeInfo values. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", repeated, tag="1")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Targetable genders for the ad product. + /// Targetable genders for the ad product. #[prost(message, repeated, tag="2")] pub genders: ::prost::alloc::vec::Vec, - /// Targetable devices for the ad product. - /// TABLET device targeting is automatically applied to reported metrics - /// when MOBILE targeting is selected for CPM_MASTHEAD, - /// GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. + /// Targetable devices for the ad product. + /// TABLET device targeting is automatically applied to reported metrics + /// when MOBILE targeting is selected for CPM_MASTHEAD, + /// GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. #[prost(message, repeated, tag="3")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable networks for the ad product. + /// Targetable networks for the ad product. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", repeated, tag="4")] pub networks: ::prost::alloc::vec::Vec, } -/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v10.services.ReachPlanService.GenerateProductMixIdeas\]. +/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v10.services.ReachPlanService.GenerateProductMixIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The ID of the location, this is one of the IDs returned by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the location, this is one of the IDs returned by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="6")] pub plannable_location_id: ::prost::alloc::string::String, - /// Required. Currency code. - /// Three-character ISO 4217 currency code. + /// Required. Currency code. + /// Three-character ISO 4217 currency code. #[prost(string, tag="7")] pub currency_code: ::prost::alloc::string::String, - /// Required. Total budget. - /// Amount in micros. One million is equivalent to one unit. + /// Required. Total budget. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, tag="8")] pub budget_micros: i64, - /// The preferences of the suggested product mix. - /// An unset preference is interpreted as all possible values are allowed, - /// unless explicitly specified. + /// The preferences of the suggested product mix. + /// An unset preference is interpreted as all possible values are allowed, + /// unless explicitly specified. #[prost(message, optional, tag="5")] pub preferences: ::core::option::Option, } -/// Set of preferences about the planned mix. +/// Set of preferences about the planned mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Preferences { - /// True if ad skippable. - /// If not set, default is any value. + /// True if ad skippable. + /// If not set, default is any value. #[prost(bool, optional, tag="6")] pub is_skippable: ::core::option::Option, - /// True if ad start with sound. - /// If not set, default is any value. + /// True if ad start with sound. + /// If not set, default is any value. #[prost(bool, optional, tag="7")] pub starts_with_sound: ::core::option::Option, - /// The length of the ad. - /// If not set, default is any value. + /// The length of the ad. + /// If not set, default is any value. #[prost(enumeration="super::enums::reach_plan_ad_length_enum::ReachPlanAdLength", tag="3")] pub ad_length: i32, - /// True if ad will only show on the top content. - /// If not set, default is false. + /// True if ad will only show on the top content. + /// If not set, default is false. #[prost(bool, optional, tag="8")] pub top_content_only: ::core::option::Option, - /// True if the price is guaranteed. The cost of serving the ad is agreed - /// upfront and not subject to an auction. - /// If not set, default is any value. + /// True if the price is guaranteed. The cost of serving the ad is agreed + /// upfront and not subject to an auction. + /// If not set, default is any value. #[prost(bool, optional, tag="9")] pub has_guaranteed_price: ::core::option::Option, } -/// The suggested product mix. +/// The suggested product mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasResponse { - /// A list of products (ad formats) and the associated budget allocation idea. + /// A list of products (ad formats) and the associated budget allocation idea. #[prost(message, repeated, tag="1")] pub product_allocation: ::prost::alloc::vec::Vec, } -/// An allocation of a part of the budget on a given product. +/// An allocation of a part of the budget on a given product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductAllocation { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be allocated for the suggested product in requested currency. - /// Amount in micros. One million is equivalent to one unit. + /// The value to be allocated for the suggested product in requested currency. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, } -/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v10.services.ReachPlanService.GenerateReachForecast\]. +/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v10.services.ReachPlanService.GenerateReachForecast\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The currency code. - /// Three-character ISO 4217 currency code. + /// The currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="9")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Campaign duration. + /// Required. Campaign duration. #[prost(message, optional, tag="3")] pub campaign_duration: ::core::option::Option, - /// Desired cookie frequency cap to be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user. - /// If not specified, no cap is applied. + /// Desired cookie frequency cap to be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user. + /// If not specified, no cap is applied. /// - /// This field is deprecated in v4 and will eventually be removed. - /// Please use cookie_frequency_cap_setting instead. + /// This field is deprecated in v4 and will eventually be removed. + /// Please use cookie_frequency_cap_setting instead. #[prost(int32, optional, tag="10")] pub cookie_frequency_cap: ::core::option::Option, - /// Desired cookie frequency cap to be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user during a specified time interval. - /// If not specified, a default of 0 (no cap) is applied. + /// Desired cookie frequency cap to be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user during a specified time interval. + /// If not specified, a default of 0 (no cap) is applied. /// - /// This field replaces the deprecated cookie_frequency_cap field. + /// This field replaces the deprecated cookie_frequency_cap field. #[prost(message, optional, tag="8")] pub cookie_frequency_cap_setting: ::core::option::Option, - /// Desired minimum effective frequency (the number of times a person was - /// exposed to the ad) for the reported reach metrics \[1-10\]. - /// This won't affect the targeting, but just the reporting. - /// If not specified, a default of 1 is applied. + /// Desired minimum effective frequency (the number of times a person was + /// exposed to the ad) for the reported reach metrics \[1-10\]. + /// This won't affect the targeting, but just the reporting. + /// If not specified, a default of 1 is applied. /// - /// This field cannot be combined with the effective_frequency_limit field. + /// This field cannot be combined with the effective_frequency_limit field. #[prost(int32, optional, tag="11")] pub min_effective_frequency: ::core::option::Option, - /// The highest minimum effective frequency (the number of times a person was - /// exposed to the ad) value \[1-10\] to include in - /// Forecast.effective_frequency_breakdowns. - /// If not specified, Forecast.effective_frequency_breakdowns will not be - /// provided. + /// The highest minimum effective frequency (the number of times a person was + /// exposed to the ad) value \[1-10\] to include in + /// Forecast.effective_frequency_breakdowns. + /// If not specified, Forecast.effective_frequency_breakdowns will not be + /// provided. /// - /// The effective frequency value provided here will also be used as the - /// minimum effective frequency for the reported reach metrics. + /// The effective frequency value provided here will also be used as the + /// minimum effective frequency for the reported reach metrics. /// - /// This field cannot be combined with the min_effective_frequency field. + /// This field cannot be combined with the min_effective_frequency field. #[prost(message, optional, tag="12")] pub effective_frequency_limit: ::core::option::Option, - /// The targeting to be applied to all products selected in the product mix. + /// The targeting to be applied to all products selected in the product mix. /// - /// This is planned targeting: execution details might vary based on the - /// advertising product, please consult an implementation specialist. + /// This is planned targeting: execution details might vary based on the + /// advertising product, please consult an implementation specialist. /// - /// See specific metrics for details on how targeting affects them. + /// See specific metrics for details on how targeting affects them. #[prost(message, optional, tag="6")] pub targeting: ::core::option::Option, - /// Required. The products to be forecast. - /// The max number of allowed planned products is 15. + /// Required. The products to be forecast. + /// The max number of allowed planned products is 15. #[prost(message, repeated, tag="7")] pub planned_products: ::prost::alloc::vec::Vec, } -/// Effective frequency limit. +/// Effective frequency limit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyLimit { - /// The highest effective frequency value to include in - /// Forecast.effective_frequency_breakdowns. - /// This field supports frequencies 1-10, inclusive. + /// The highest effective frequency value to include in + /// Forecast.effective_frequency_breakdowns. + /// This field supports frequencies 1-10, inclusive. #[prost(int32, tag="1")] pub effective_frequency_breakdown_limit: i32, } -/// A rule specifying the maximum number of times an ad can be shown to a user -/// over a particular time period. +/// A rule specifying the maximum number of times an ad can be shown to a user +/// over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCap { - /// Required. The number of impressions, inclusive. + /// Required. The number of impressions, inclusive. #[prost(int32, tag="3")] pub impressions: i32, - /// Required. The type of time unit. + /// Required. The type of time unit. #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Targeting { - /// Required. The ID of the selected location. Plannable location IDs can be - /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location. Plannable location IDs can be + /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v10.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, optional, tag="6")] pub plannable_location_id: ::core::option::Option<::prost::alloc::string::String>, - /// Targeted age range. - /// An unset value is equivalent to targeting all ages. + /// Targeted age range. + /// An unset value is equivalent to targeting all ages. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", tag="2")] pub age_range: i32, - /// Targeted genders. - /// An unset value is equivalent to targeting MALE and FEMALE. + /// Targeted genders. + /// An unset value is equivalent to targeting MALE and FEMALE. #[prost(message, repeated, tag="3")] pub genders: ::prost::alloc::vec::Vec, - /// Targeted devices. - /// If not specified, targets all applicable devices. Applicable devices vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. + /// Targeted devices. + /// If not specified, targets all applicable devices. Applicable devices vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. #[prost(message, repeated, tag="4")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable network for the ad product. - /// If not specified, targets all applicable networks. Applicable networks vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. + /// Targetable network for the ad product. + /// If not specified, targets all applicable networks. Applicable networks vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", tag="5")] pub network: i32, } -/// The duration of a planned campaign. +/// The duration of a planned campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDuration { - /// The duration value in days. + /// The duration value in days. /// - /// This field cannot be combined with the date_range field. + /// This field cannot be combined with the date_range field. #[prost(int32, optional, tag="2")] pub duration_in_days: ::core::option::Option, - /// Date range of the campaign. - /// Dates are in the yyyy-mm-dd format and inclusive. - /// The end date must be < 1 year in the future and the - /// date range must be <= 92 days long. + /// Date range of the campaign. + /// Dates are in the yyyy-mm-dd format and inclusive. + /// The end date must be < 1 year in the future and the + /// date range must be <= 92 days long. /// - /// This field cannot be combined with the duration_in_days field. + /// This field cannot be combined with the duration_in_days field. #[prost(message, optional, tag="3")] pub date_range: ::core::option::Option, } -/// A product being planned for reach. +/// A product being planned for reach. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProduct { - /// Required. Selected product for planning. - /// The code associated with the ad product (for example: Trueview, Bumper). - /// To list the available plannable product codes use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. + /// Required. Selected product for planning. + /// The code associated with the ad product (for example: Trueview, Bumper). + /// To list the available plannable product codes use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v10.services.ReachPlanService.ListPlannableProducts\]. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Maximum budget allocation in micros for the selected product. - /// The value is specified in the selected planning currency_code. - /// For example: 1 000 000$ = 1 000 000 000 000 micros. + /// Required. Maximum budget allocation in micros for the selected product. + /// The value is specified in the selected planning currency_code. + /// For example: 1 000 000$ = 1 000 000 000 000 micros. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, } -/// Response message containing the generated reach curve. +/// Response message containing the generated reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastResponse { - /// Reference on target audiences for this curve. + /// Reference on target audiences for this curve. #[prost(message, optional, tag="1")] pub on_target_audience_metrics: ::core::option::Option, - /// The generated reach curve for the planned product mix. + /// The generated reach curve for the planned product mix. #[prost(message, optional, tag="2")] pub reach_curve: ::core::option::Option, } -/// The reach curve for the planned products. +/// The reach curve for the planned products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachCurve { - /// All points on the reach curve. + /// All points on the reach curve. #[prost(message, repeated, tag="1")] pub reach_forecasts: ::prost::alloc::vec::Vec, } -/// A point on reach curve. +/// A point on reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachForecast { - /// The cost in micros. + /// The cost in micros. #[prost(int64, tag="5")] pub cost_micros: i64, - /// Forecasted traffic metrics for this point. + /// Forecasted traffic metrics for this point. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, - /// The forecasted allocation and traffic metrics for each planned product - /// at this point on the reach curve. + /// The forecasted allocation and traffic metrics for each planned product + /// at this point on the reach curve. #[prost(message, repeated, tag="4")] pub planned_product_reach_forecasts: ::prost::alloc::vec::Vec, } -/// Forecasted traffic metrics for the planned products and targeting. +/// Forecasted traffic metrics for the planned products and targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Forecast { - /// Number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times that exactly - /// matches the Targeting. + /// Number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times that exactly + /// matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="5")] pub on_target_reach: ::core::option::Option, - /// Total number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times. This includes - /// people that may fall outside the specified Targeting. + /// Total number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times. This includes + /// people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="6")] pub total_reach: ::core::option::Option, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, optional, tag="7")] pub on_target_impressions: ::core::option::Option, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, optional, tag="8")] pub total_impressions: ::core::option::Option, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="9")] pub viewable_impressions: ::core::option::Option, - /// A list of effective frequency forecasts. The list is ordered starting with - /// 1+ and ending with the value set in - /// GenerateReachForecastRequest.effective_frequency_limit. If no - /// effective_frequency_limit was set, this list will be empty. + /// A list of effective frequency forecasts. The list is ordered starting with + /// 1+ and ending with the value set in + /// GenerateReachForecastRequest.effective_frequency_limit. If no + /// effective_frequency_limit was set, this list will be empty. #[prost(message, repeated, tag="10")] pub effective_frequency_breakdowns: ::prost::alloc::vec::Vec, } -/// The forecasted allocation and traffic metrics for a specific product -/// at a point on the reach curve. +/// The forecasted allocation and traffic metrics for a specific product +/// at a point on the reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductReachForecast { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, tag="1")] pub plannable_product_code: ::prost::alloc::string::String, - /// The cost in micros. This may differ from the product's input allocation - /// if one or more planned products cannot fulfill the budget because of - /// limited inventory. + /// The cost in micros. This may differ from the product's input allocation + /// if one or more planned products cannot fulfill the budget because of + /// limited inventory. #[prost(int64, tag="2")] pub cost_micros: i64, - /// Forecasted traffic metrics for this product. + /// Forecasted traffic metrics for this product. #[prost(message, optional, tag="3")] pub planned_product_forecast: ::core::option::Option, } -/// Forecasted traffic metrics for a planned product. +/// Forecasted traffic metrics for a planned product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductForecast { - /// Number of unique people reached that exactly matches the Targeting. + /// Number of unique people reached that exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="1")] pub on_target_reach: i64, - /// Number of unique people reached. This includes people that may fall - /// outside the specified Targeting. + /// Number of unique people reached. This includes people that may fall + /// outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub total_reach: i64, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, tag="3")] pub on_target_impressions: i64, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, tag="4")] pub total_impressions: i64, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="5")] pub viewable_impressions: ::core::option::Option, } -/// Audience metrics for the planned products. -/// These metrics consider the following targeting dimensions: +/// Audience metrics for the planned products. +/// These metrics consider the following targeting dimensions: /// -/// - Location -/// - PlannableAgeRange -/// - Gender +/// - Location +/// - PlannableAgeRange +/// - Gender #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnTargetAudienceMetrics { - /// Reference audience size matching the considered targeting for YouTube. + /// Reference audience size matching the considered targeting for YouTube. #[prost(int64, optional, tag="3")] pub youtube_audience_size: ::core::option::Option, - /// Reference audience size matching the considered targeting for Census. + /// Reference audience size matching the considered targeting for Census. #[prost(int64, optional, tag="4")] pub census_audience_size: ::core::option::Option, } -/// A breakdown of the number of unique people reached at a given effective -/// frequency. +/// A breakdown of the number of unique people reached at a given effective +/// frequency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyBreakdown { - /// The effective frequency \[1-10\]. + /// The effective frequency \[1-10\]. #[prost(int32, tag="1")] pub effective_frequency: i32, - /// The number of unique people reached at least effective_frequency times that - /// exactly matches the Targeting. + /// The number of unique people reached at least effective_frequency times that + /// exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub on_target_reach: i64, - /// Total number of unique people reached at least effective_frequency times. - /// This includes people that may fall outside the specified Targeting. + /// Total number of unique people reached at least effective_frequency times. + /// This includes people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="3")] pub total_reach: i64, } @@ -21414,252 +21414,252 @@ pub mod reach_plan_service_client { } } } -/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v10.services.RecommendationService.ApplyRecommendation\]. +/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v10.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to apply recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to apply recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried - /// out as a transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried + /// out as a transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, } -/// Information about the operation to apply a recommendation and any parameters -/// to customize it. +/// Information about the operation to apply a recommendation and any parameters +/// to customize it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationOperation { - /// The resource name of the recommendation to apply. + /// The resource name of the recommendation to apply. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[prost(oneof="apply_recommendation_operation::ApplyParameters", tags="2, 3, 4, 5, 10, 6, 7, 8, 9, 11, 12, 13")] pub apply_parameters: ::core::option::Option, } /// Nested message and enum types in `ApplyRecommendationOperation`. pub mod apply_recommendation_operation { - /// Parameters to use when applying a campaign budget recommendation. + /// Parameters to use when applying a campaign budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetParameters { - /// New budget amount to set for target budget resource. This is a required - /// field. + /// New budget amount to set for target budget resource. This is a required + /// field. #[prost(int64, optional, tag="2")] pub new_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a text ad recommendation. + /// Parameters to use when applying a text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdParameters { - /// New ad to add to recommended ad group. All necessary fields need to be - /// set in this message. This is a required field. + /// New ad to add to recommended ad group. All necessary fields need to be + /// set in this message. This is a required field. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying keyword recommendation. + /// Parameters to use when applying keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordParameters { - /// The ad group resource to add keyword to. This is a required field. + /// The ad group resource to add keyword to. This is a required field. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. This is a required field. + /// The match type of the keyword. This is a required field. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, - /// Optional, CPC bid to set for the keyword. If not set, keyword will use - /// bid based on bidding strategy used by target ad group. + /// Optional, CPC bid to set for the keyword. If not set, keyword will use + /// bid based on bidding strategy used by target ad group. #[prost(int64, optional, tag="5")] pub cpc_bid_micros: ::core::option::Option, } - /// Parameters to use when applying Target CPA recommendation. + /// Parameters to use when applying Target CPA recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInParameters { - /// Average CPA to use for Target CPA bidding strategy. This is a required - /// field. + /// Average CPA to use for Target CPA bidding strategy. This is a required + /// field. #[prost(int64, optional, tag="3")] pub target_cpa_micros: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="4")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a Target ROAS opt-in recommendation. + /// Parameters to use when applying a Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInParameters { - /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a - /// required field, unless new_campaign_budget_amount_micros is set. + /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding + /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a + /// required field, unless new_campaign_budget_amount_micros is set. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="2")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionParameters { - /// Callout extensions to be added. This is a required field. + /// Callout extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub callout_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionParameters { - /// Call extensions to be added. This is a required field. + /// Call extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub call_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionParameters { - /// Sitelink extensions to be added. This is a required field. + /// Sitelink extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub sitelink_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetParameters { - /// Budget amount to move from excess budget to constrained budget. This is - /// a required field. + /// Budget amount to move from excess budget to constrained budget. This is + /// a required field. #[prost(int64, optional, tag="2")] pub budget_micros_to_move: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad asset - /// recommendation. + /// Parameters to use when applying a responsive search ad asset + /// recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdAssetParameters { - /// Updated ad. The current ad's content will be replaced. + /// Updated ad. The current ad's content will be replaced. #[prost(message, optional, tag="1")] pub updated_ad: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdParameters { - /// Required. New ad to add to recommended ad group. + /// Required. New ad to add to recommended ad group. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying a use broad match keyword recommendation. + /// Parameters to use when applying a use broad match keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UseBroadMatchKeywordParameters { - /// New budget amount to set for target budget resource. + /// New budget amount to set for target budget resource. #[prost(int64, optional, tag="1")] pub new_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApplyParameters { - /// Optional parameters to use when applying a campaign budget - /// recommendation. + /// Optional parameters to use when applying a campaign budget + /// recommendation. #[prost(message, tag="2")] CampaignBudget(CampaignBudgetParameters), - /// Optional parameters to use when applying a text ad recommendation. + /// Optional parameters to use when applying a text ad recommendation. #[prost(message, tag="3")] TextAd(TextAdParameters), - /// Optional parameters to use when applying keyword recommendation. + /// Optional parameters to use when applying keyword recommendation. #[prost(message, tag="4")] Keyword(KeywordParameters), - /// Optional parameters to use when applying target CPA opt-in - /// recommendation. + /// Optional parameters to use when applying target CPA opt-in + /// recommendation. #[prost(message, tag="5")] TargetCpaOptIn(TargetCpaOptInParameters), - /// Optional parameters to use when applying target ROAS opt-in - /// recommendation. + /// Optional parameters to use when applying target ROAS opt-in + /// recommendation. #[prost(message, tag="10")] TargetRoasOptIn(TargetRoasOptInParameters), - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[prost(message, tag="6")] CalloutExtension(CalloutExtensionParameters), - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[prost(message, tag="7")] CallExtension(CallExtensionParameters), - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[prost(message, tag="8")] SitelinkExtension(SitelinkExtensionParameters), - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[prost(message, tag="9")] MoveUnusedBudget(MoveUnusedBudgetParameters), - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[prost(message, tag="11")] ResponsiveSearchAd(ResponsiveSearchAdParameters), - /// Parameters to use when applying a use broad match keyword recommendation. + /// Parameters to use when applying a use broad match keyword recommendation. #[prost(message, tag="12")] UseBroadMatchKeyword(UseBroadMatchKeywordParameters), - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[prost(message, tag="13")] ResponsiveSearchAdAsset(ResponsiveSearchAdAssetParameters), } } -/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v10.services.RecommendationService.ApplyRecommendation\]. +/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v10.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResponse { - /// Results of operations to apply recommendations. + /// Results of operations to apply recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors) - /// we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors) + /// we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result of applying a recommendation. +/// The result of applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResult { - /// Returned for successful applies. + /// Returned for successful applies. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v10.services.RecommendationService.DismissRecommendation\]. +/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v10.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to dismiss recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to dismiss recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried in a - /// single transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried in a + /// single transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="2")] pub partial_failure: bool, } /// Nested message and enum types in `DismissRecommendationRequest`. pub mod dismiss_recommendation_request { - /// Operation to dismiss a single recommendation identified by resource_name. + /// Operation to dismiss a single recommendation identified by resource_name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationOperation { - /// The resource name of the recommendation to dismiss. + /// The resource name of the recommendation to dismiss. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } } -/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v10.services.RecommendationService.DismissRecommendation\]. +/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v10.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResponse { - /// Results of operations to dismiss recommendations. + /// Results of operations to dismiss recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors) - /// we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors) + /// we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } /// Nested message and enum types in `DismissRecommendationResponse`. pub mod dismiss_recommendation_response { - /// The result of dismissing a recommendation. + /// The result of dismissing a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResult { - /// Returned for successful dismissals. + /// Returned for successful dismissals. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21801,194 +21801,194 @@ pub mod recommendation_service_client { } } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsRequest { - /// Required. The ID of the customer whose budget options are to be suggested. + /// Required. The ID of the customer whose budget options are to be suggested. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[prost(oneof="suggest_smart_campaign_budget_options_request::SuggestionData", tags="2, 3")] pub suggestion_data: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsRequest`. pub mod suggest_smart_campaign_budget_options_request { - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SuggestionData { - /// Required. The resource name of the campaign to get suggestion for. + /// Required. The resource name of the campaign to get suggestion for. #[prost(string, tag="2")] Campaign(::prost::alloc::string::String), - /// Required. Information needed to get budget options + /// Required. Information needed to get budget options #[prost(message, tag="3")] SuggestionInfo(super::SmartCampaignSuggestionInfo), } } -/// Information needed to get suggestion for Smart Campaign. More information -/// provided will help the system to derive better suggestions. +/// Information needed to get suggestion for Smart Campaign. More information +/// provided will help the system to derive better suggestions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSuggestionInfo { - /// Optional. Landing page URL of the campaign. + /// Optional. Landing page URL of the campaign. #[prost(string, tag="1")] pub final_url: ::prost::alloc::string::String, - /// Optional. The two letter advertising language for the Smart campaign to be - /// constructed, default to 'en' if not set. + /// Optional. The two letter advertising language for the Smart campaign to be + /// constructed, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// Optional. The business ad schedule. + /// Optional. The business ad schedule. #[prost(message, repeated, tag="6")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion - /// accuracy and we recommend always setting it if possible. + /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion + /// accuracy and we recommend always setting it if possible. #[prost(message, repeated, tag="7")] pub keyword_themes: ::prost::alloc::vec::Vec, - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[prost(oneof="smart_campaign_suggestion_info::BusinessSetting", tags="8, 2")] pub business_setting: ::core::option::Option, - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[prost(oneof="smart_campaign_suggestion_info::GeoTarget", tags="4, 5")] pub geo_target: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSuggestionInfo`. pub mod smart_campaign_suggestion_info { - /// A list of locations. + /// A list of locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationList { - /// Required. Locations. + /// Required. Locations. #[prost(message, repeated, tag="1")] pub locations: ::prost::alloc::vec::Vec, } - /// A context that describes a business. + /// A context that describes a business. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessContext { - /// Optional. The name of the business. + /// Optional. The name of the business. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, } - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// Optional. Context describing the business to advertise. + /// Optional. Context describing the business to advertise. #[prost(message, tag="8")] BusinessContext(BusinessContext), - /// Optional. The ID of the Business Profile location. - /// The location ID can be fetched by Business Profile API with its form: - /// accounts/{accountId}/locations/{locationId}. The last {locationId} - /// component from the Business Profile API represents the - /// business_location_id. See the [Business Profile API] - /// () + /// Optional. The ID of the Business Profile location. + /// The location ID can be fetched by Business Profile API with its form: + /// accounts/{accountId}/locations/{locationId}. The last {locationId} + /// component from the Business Profile API represents the + /// business_location_id. See the [Business Profile API] + /// () #[prost(int64, tag="2")] BusinessLocationId(i64), } - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum GeoTarget { - /// Optional. The targeting geo location by locations. + /// Optional. The targeting geo location by locations. #[prost(message, tag="4")] LocationList(LocationList), - /// Optional. The targeting geo location by proximity. + /// Optional. The targeting geo location by proximity. #[prost(message, tag="5")] Proximity(super::super::common::ProximityInfo), } } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on -/// whether the system could suggest the options, either all of the options or -/// none of them might be returned. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on +/// whether the system could suggest the options, either all of the options or +/// none of them might be returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsResponse { - /// Optional. The lowest budget option. + /// Optional. The lowest budget option. #[prost(message, optional, tag="1")] pub low: ::core::option::Option, - /// Optional. The recommended budget option. + /// Optional. The recommended budget option. #[prost(message, optional, tag="2")] pub recommended: ::core::option::Option, - /// Optional. The highest budget option. + /// Optional. The highest budget option. #[prost(message, optional, tag="3")] pub high: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsResponse`. pub mod suggest_smart_campaign_budget_options_response { - /// Performance metrics for a given budget option. + /// Performance metrics for a given budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The estimated min daily clicks. + /// The estimated min daily clicks. #[prost(int64, tag="1")] pub min_daily_clicks: i64, - /// The estimated max daily clicks. + /// The estimated max daily clicks. #[prost(int64, tag="2")] pub max_daily_clicks: i64, } - /// Smart Campaign budget option. + /// Smart Campaign budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetOption { - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, tag="1")] pub daily_amount_micros: i64, - /// Metrics pertaining to the suggested budget, could be empty if there is - /// not enough information to derive the estimates. + /// Metrics pertaining to the suggested budget, could be empty if there is + /// not enough information to derive the estimates. #[prost(message, optional, tag="2")] pub metrics: ::core::option::Option, } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Inputs used to suggest a Smart campaign ad. - /// Required fields: final_url, language_code, keyword_themes. - /// Optional but recommended fields to improve the quality of the suggestion: - /// business_setting and geo_target. + /// Required. Inputs used to suggest a Smart campaign ad. + /// Required fields: final_url, language_code, keyword_themes. + /// Optional but recommended fields to improve the quality of the suggestion: + /// business_setting and geo_target. #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdResponse { - /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. #[prost(message, optional, tag="1")] pub ad_info: ::core::option::Option, } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Information to get keyword theme suggestions. - /// Required fields: - /// * suggestion_info.final_url - /// * suggestion_info.language_code - /// * suggestion_info.geo_target + /// Required. Information to get keyword theme suggestions. + /// Required fields: + /// * suggestion_info.final_url + /// * suggestion_info.language_code + /// * suggestion_info.geo_target /// - /// Recommended fields: - /// * suggestion_info.business_setting + /// Recommended fields: + /// * suggestion_info.business_setting #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v10.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesResponse { - /// Smart campaign keyword theme suggestions. + /// Smart campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_themes: ::prost::alloc::vec::Vec, } @@ -22138,16 +22138,16 @@ pub mod smart_campaign_suggest_service_client { } } } -/// Request message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v10.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Request message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v10.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdRequest { - /// Resource name of the third party app analytics link. + /// Resource name of the third party app analytics link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Response message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v10.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Response message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v10.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdResponse { } @@ -22258,57 +22258,57 @@ pub mod third_party_app_analytics_link_service_client { } } } -/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v10.services.UserDataService.UploadUserData\] +/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v10.services.UserDataService.UploadUserData\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataRequest { - /// Required. The ID of the customer for which to update the user data. + /// Required. The ID of the customer for which to update the user data. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// Metadata of the request. + /// Metadata of the request. #[prost(oneof="upload_user_data_request::Metadata", tags="2")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `UploadUserDataRequest`. pub mod upload_user_data_request { - /// Metadata of the request. + /// Metadata of the request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Metadata for data updates to a Customer Match user list. + /// Metadata for data updates to a Customer Match user list. #[prost(message, tag="2")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), } } -/// Operation to be made for the UploadUserDataRequest. +/// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataOperation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[prost(oneof="user_data_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserDataOperation`. pub mod user_data_operation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// The list of user data to be appended to the user list. + /// The list of user data to be appended to the user list. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// The list of user data to be removed from the user list. + /// The list of user data to be removed from the user list. #[prost(message, tag="2")] Remove(super::super::common::UserData), } } -/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v10.services.UserDataService.UploadUserData\] +/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v10.services.UserDataService.UploadUserData\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataResponse { - /// The date time at which the request was received by API, formatted as - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the request was received by API, formatted as + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="3")] pub upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Number of upload data operations received by API. + /// Number of upload data operations received by API. #[prost(int32, optional, tag="4")] pub received_operations_count: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v11.common.rs b/gcloud-sdk/genproto/google.ads.googleads.v11.common.rs index 270610f0c..ee3821feb 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v11.common.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v11.common.rs @@ -1,5841 +1,5841 @@ -// Proto file describing policy information. +// Proto file describing policy information. -/// Key of the violation. The key is used for referring to a violation -/// when filing an exemption request. +/// Key of the violation. The key is used for referring to a violation +/// when filing an exemption request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationKey { - /// Unique ID of the violated policy. + /// Unique ID of the violated policy. #[prost(string, optional, tag="3")] pub policy_name: ::core::option::Option<::prost::alloc::string::String>, - /// The text that violates the policy if specified. - /// Otherwise, refers to the policy in general - /// (for example, when requesting to be exempt from the whole policy). - /// If not specified for criterion exemptions, the whole policy is implied. - /// Must be specified for ad exemptions. + /// The text that violates the policy if specified. + /// Otherwise, refers to the policy in general + /// (for example, when requesting to be exempt from the whole policy). + /// If not specified for criterion exemptions, the whole policy is implied. + /// Must be specified for ad exemptions. #[prost(string, optional, tag="4")] pub violating_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Parameter for controlling how policy exemption is done. +/// Parameter for controlling how policy exemption is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameter { - /// The list of policy topics that should not cause a PolicyFindingError to - /// be reported. This field is currently only compatible with Enhanced Text Ad. - /// It corresponds to the PolicyTopicEntry.topic field. + /// The list of policy topics that should not cause a PolicyFindingError to + /// be reported. This field is currently only compatible with Enhanced Text Ad. + /// It corresponds to the PolicyTopicEntry.topic field. /// - /// Resources violating these policies will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these policies will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(string, repeated, tag="3")] pub ignorable_policy_topics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="2")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, } -/// Policy finding attached to a resource (for example, alcohol policy associated -/// with a site that sells alcohol). +/// Policy finding attached to a resource (for example, alcohol policy associated +/// with a site that sells alcohol). /// -/// Each PolicyTopicEntry has a topic that indicates the specific ads policy -/// the entry is about and a type to indicate the effect that the entry will have -/// on serving. It may optionally have one or more evidences that indicate the -/// reason for the finding. It may also optionally have one or more constraints -/// that provide details about how serving may be restricted. +/// Each PolicyTopicEntry has a topic that indicates the specific ads policy +/// the entry is about and a type to indicate the effect that the entry will have +/// on serving. It may optionally have one or more evidences that indicate the +/// reason for the finding. It may also optionally have one or more constraints +/// that provide details about how serving may be restricted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntry { - /// Policy topic this finding refers to. For example, "ALCOHOL", - /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - /// policy topics is not fixed for a particular API version and may change - /// at any time. + /// Policy topic this finding refers to. For example, "ALCOHOL", + /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible + /// policy topics is not fixed for a particular API version and may change + /// at any time. #[prost(string, optional, tag="5")] pub topic: ::core::option::Option<::prost::alloc::string::String>, - /// Describes the negative or positive effect this policy will have on serving. + /// Describes the negative or positive effect this policy will have on serving. #[prost(enumeration="super::enums::policy_topic_entry_type_enum::PolicyTopicEntryType", tag="2")] pub r#type: i32, - /// Additional information that explains policy finding - /// (for example, the brand name for a trademark finding). + /// Additional information that explains policy finding + /// (for example, the brand name for a trademark finding). #[prost(message, repeated, tag="3")] pub evidences: ::prost::alloc::vec::Vec, - /// Indicates how serving of this resource may be affected (for example, not - /// serving in a country). + /// Indicates how serving of this resource may be affected (for example, not + /// serving in a country). #[prost(message, repeated, tag="4")] pub constraints: ::prost::alloc::vec::Vec, } -/// Additional information that explains a policy finding. +/// Additional information that explains a policy finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidence { - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[prost(oneof="policy_topic_evidence::Value", tags="3, 4, 9, 6, 7, 8")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicEvidence`. pub mod policy_topic_evidence { - /// A list of fragments of text that violated a policy. + /// A list of fragments of text that violated a policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextList { - /// The fragments of text from the resource that caused the policy finding. + /// The fragments of text from the resource that caused the policy finding. #[prost(string, repeated, tag="2")] pub texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of websites that caused a policy finding. Used for - /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - /// than five websites, only the top five (those that appear in resources the - /// most) will be listed here. + /// A list of websites that caused a policy finding. Used for + /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more + /// than five websites, only the top five (those that appear in resources the + /// most) will be listed here. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebsiteList { - /// Websites that caused the policy finding. + /// Websites that caused the policy finding. #[prost(string, repeated, tag="2")] pub websites: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of strings found in a destination page that caused a policy - /// finding. + /// A list of strings found in a destination page that caused a policy + /// finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationTextList { - /// List of text found in the resource's destination page. + /// List of text found in the resource's destination page. #[prost(string, repeated, tag="2")] pub destination_texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Evidence of mismatches between the URLs of a resource. + /// Evidence of mismatches between the URLs of a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationMismatch { - /// The set of URLs that did not match each other. + /// The set of URLs that did not match each other. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_mismatch_url_type_enum::PolicyTopicEvidenceDestinationMismatchUrlType", repeated, tag="1")] pub url_types: ::prost::alloc::vec::Vec, } - /// Evidence details when the destination is returning an HTTP error - /// code or isn't functional in all locations for commonly used devices. + /// Evidence details when the destination is returning an HTTP error + /// code or isn't functional in all locations for commonly used devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationNotWorking { - /// The full URL that didn't work. + /// The full URL that didn't work. #[prost(string, optional, tag="7")] pub expanded_url: ::core::option::Option<::prost::alloc::string::String>, - /// The type of device that failed to load the URL. + /// The type of device that failed to load the URL. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_not_working_device_enum::PolicyTopicEvidenceDestinationNotWorkingDevice", tag="4")] pub device: i32, - /// The time the URL was last checked. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// The time the URL was last checked. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="8")] pub last_checked_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[prost(oneof="destination_not_working::Reason", tags="1, 6")] pub reason: ::core::option::Option, } /// Nested message and enum types in `DestinationNotWorking`. pub mod destination_not_working { - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Reason { - /// The type of DNS error. + /// The type of DNS error. #[prost(enumeration="super::super::super::enums::policy_topic_evidence_destination_not_working_dns_error_type_enum::PolicyTopicEvidenceDestinationNotWorkingDnsErrorType", tag="1")] DnsErrorType(i32), - /// The HTTP error code. + /// The HTTP error code. #[prost(int64, tag="6")] HttpErrorCode(i64), } } - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// List of websites linked with this resource. + /// List of websites linked with this resource. #[prost(message, tag="3")] WebsiteList(WebsiteList), - /// List of evidence found in the text of a resource. + /// List of evidence found in the text of a resource. #[prost(message, tag="4")] TextList(TextList), - /// The language the resource was detected to be written in. - /// This is an IETF language tag such as "en-US". + /// The language the resource was detected to be written in. + /// This is an IETF language tag such as "en-US". #[prost(string, tag="9")] LanguageCode(::prost::alloc::string::String), - /// The text in the destination of the resource that is causing a policy - /// finding. + /// The text in the destination of the resource that is causing a policy + /// finding. #[prost(message, tag="6")] DestinationTextList(DestinationTextList), - /// Mismatch between the destinations of a resource's URLs. + /// Mismatch between the destinations of a resource's URLs. #[prost(message, tag="7")] DestinationMismatch(DestinationMismatch), - /// Details when the destination is returning an HTTP error code or isn't - /// functional in all locations for commonly used devices. + /// Details when the destination is returning an HTTP error code or isn't + /// functional in all locations for commonly used devices. #[prost(message, tag="8")] DestinationNotWorking(DestinationNotWorking), } } -/// Describes the effect on serving that a policy topic entry will have. +/// Describes the effect on serving that a policy topic entry will have. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicConstraint { - /// Specific information about the constraint. + /// Specific information about the constraint. #[prost(oneof="policy_topic_constraint::Value", tags="1, 2, 3, 4")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicConstraint`. pub mod policy_topic_constraint { - /// A list of countries where a resource's serving is constrained. + /// A list of countries where a resource's serving is constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraintList { - /// Total number of countries targeted by the resource. + /// Total number of countries targeted by the resource. #[prost(int32, optional, tag="3")] pub total_targeted_countries: ::core::option::Option, - /// Countries in which serving is restricted. + /// Countries in which serving is restricted. #[prost(message, repeated, tag="2")] pub countries: ::prost::alloc::vec::Vec, } - /// Indicates that a policy topic was constrained due to disapproval of the - /// website for reseller purposes. + /// Indicates that a policy topic was constrained due to disapproval of the + /// website for reseller purposes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResellerConstraint { } - /// Indicates that a resource's ability to serve in a particular country is - /// constrained. + /// Indicates that a resource's ability to serve in a particular country is + /// constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraint { - /// Geo target constant resource name of the country in which serving is - /// constrained. + /// Geo target constant resource name of the country in which serving is + /// constrained. #[prost(string, optional, tag="2")] pub country_criterion: ::core::option::Option<::prost::alloc::string::String>, } - /// Specific information about the constraint. + /// Specific information about the constraint. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Countries where the resource cannot serve. + /// Countries where the resource cannot serve. #[prost(message, tag="1")] CountryConstraintList(CountryConstraintList), - /// Reseller constraint. + /// Reseller constraint. #[prost(message, tag="2")] ResellerConstraint(ResellerConstraint), - /// Countries where a certificate is required for serving. + /// Countries where a certificate is required for serving. #[prost(message, tag="3")] CertificateMissingInCountryList(CountryConstraintList), - /// Countries where the resource's domain is not covered by the - /// certificates associated with it. + /// Countries where the resource's domain is not covered by the + /// certificates associated with it. #[prost(message, tag="4")] CertificateDomainMismatchInCountryList(CountryConstraintList), } } -// Proto file describing asset policies. +// Proto file describing asset policies. -/// Contains policy information for an asset inside an ad. +/// Contains policy information for an asset inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdAssetPolicySummary { - /// The list of policy findings for this asset. + /// The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process this asset. + /// Where in the review process this asset. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status of this asset, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status of this asset, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing assets used inside an ad. +// Proto file describing assets used inside an ad. -/// A text asset used inside an ad. +/// A text asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTextAsset { - /// Asset text. + /// Asset text. #[prost(string, optional, tag="4")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The pinned field of the asset. This restricts the asset to only serve - /// within this field. Multiple assets can be pinned to the same field. An - /// asset that is unpinned or pinned to a different field will not serve in a - /// field where some other asset has been pinned. + /// The pinned field of the asset. This restricts the asset to only serve + /// within this field. Multiple assets can be pinned to the same field. An + /// asset that is unpinned or pinned to a different field will not serve in a + /// field where some other asset has been pinned. #[prost(enumeration="super::enums::served_asset_field_type_enum::ServedAssetFieldType", tag="2")] pub pinned_field: i32, - /// The performance label of this text asset. + /// The performance label of this text asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="5")] pub asset_performance_label: i32, - /// The policy summary of this text asset. + /// The policy summary of this text asset. #[prost(message, optional, tag="6")] pub policy_summary_info: ::core::option::Option, } -/// An image asset used inside an ad. +/// An image asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdImageAsset { - /// The Asset resource name of this image. + /// The Asset resource name of this image. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A video asset used inside an ad. +/// A video asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdVideoAsset { - /// The Asset resource name of this video. + /// The Asset resource name of this video. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A media bundle asset used inside an ad. +/// A media bundle asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdMediaBundleAsset { - /// The Asset resource name of this media bundle. + /// The Asset resource name of this media bundle. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A discovery carousel card asset used inside an ad. +/// A discovery carousel card asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdDiscoveryCarouselCardAsset { - /// The Asset resource name of this discovery carousel card. + /// The Asset resource name of this discovery carousel card. #[prost(string, optional, tag="1")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file containing info messages for specific ad types. +// Proto file containing info messages for specific ad types. -/// A text ad. +/// A text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="4")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, optional, tag="5")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, optional, tag="6")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded text ad. +/// An expanded text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedTextAdInfo { - /// The first part of the ad's headline. + /// The first part of the ad's headline. #[prost(string, optional, tag="8")] pub headline_part1: ::core::option::Option<::prost::alloc::string::String>, - /// The second part of the ad's headline. + /// The second part of the ad's headline. #[prost(string, optional, tag="9")] pub headline_part2: ::core::option::Option<::prost::alloc::string::String>, - /// The third part of the ad's headline. + /// The third part of the ad's headline. #[prost(string, optional, tag="10")] pub headline_part3: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="11")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="12")] pub description2: ::core::option::Option<::prost::alloc::string::String>, - /// The text that can appear alongside the ad's displayed URL. + /// The text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="13")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Additional text that can appear alongside the ad's displayed URL. + /// Additional text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="14")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded dynamic search ad. +/// An expanded dynamic search ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedDynamicSearchAdInfo { - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="3")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="4")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A hotel ad. +/// A hotel ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdInfo { } -/// A Smart Shopping ad. +/// A Smart Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSmartAdInfo { } -/// A standard Shopping ad. +/// A standard Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingProductAdInfo { } -/// A Shopping Comparison Listing ad. +/// A Shopping Comparison Listing ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingComparisonListingAdInfo { - /// Headline of the ad. This field is required. Allowed length is between 25 - /// and 45 characters. + /// Headline of the ad. This field is required. Allowed length is between 25 + /// and 45 characters. #[prost(string, optional, tag="2")] pub headline: ::core::option::Option<::prost::alloc::string::String>, } -/// A Gmail ad. +/// A Gmail ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailAdInfo { - /// The Gmail teaser. + /// The Gmail teaser. #[prost(message, optional, tag="1")] pub teaser: ::core::option::Option, - /// The MediaFile resource name of the header image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must - /// be between 3:1 and 5:1 (+-1%). + /// The MediaFile resource name of the header image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must + /// be between 3:1 and 5:1 (+-1%). #[prost(string, optional, tag="10")] pub header_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image. Valid image types are - /// GIF, JPEG and PNG. The image must either be landscape with a minimum size - /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a - /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) + /// The MediaFile resource name of the marketing image. Valid image types are + /// GIF, JPEG and PNG. The image must either be landscape with a minimum size + /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a + /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) #[prost(string, optional, tag="11")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Headline of the marketing image. + /// Headline of the marketing image. #[prost(string, optional, tag="12")] pub marketing_image_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the marketing image. + /// Description of the marketing image. #[prost(string, optional, tag="13")] pub marketing_image_description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the marketing image. + /// Display-call-to-action of the marketing image. #[prost(message, optional, tag="6")] pub marketing_image_display_call_to_action: ::core::option::Option, - /// Product images. Up to 15 images are supported. + /// Product images. Up to 15 images are supported. #[prost(message, repeated, tag="7")] pub product_images: ::prost::alloc::vec::Vec, - /// Product videos. Up to 7 videos are supported. At least one product video - /// or a marketing image must be specified. + /// Product videos. Up to 7 videos are supported. At least one product video + /// or a marketing image must be specified. #[prost(message, repeated, tag="8")] pub product_videos: ::prost::alloc::vec::Vec, } -/// Gmail teaser data. The teaser is a small header that acts as an invitation -/// to view the rest of the ad (the body). +/// Gmail teaser data. The teaser is a small header that acts as an invitation +/// to view the rest of the ad (the body). #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailTeaser { - /// Headline of the teaser. + /// Headline of the teaser. #[prost(string, optional, tag="5")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the teaser. + /// Description of the teaser. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Business name of the advertiser. + /// Business name of the advertiser. #[prost(string, optional, tag="7")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must - /// be 1:1 (+-1%). + /// The MediaFile resource name of the logo image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must + /// be 1:1 (+-1%). #[prost(string, optional, tag="8")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, } -/// Data for display call to action. The call to action is a piece of the ad -/// that prompts the user to do something. Like clicking a link or making a phone -/// call. +/// Data for display call to action. The call to action is a piece of the ad +/// that prompts the user to do something. Like clicking a link or making a phone +/// call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayCallToAction { - /// Text for the display-call-to-action. + /// Text for the display-call-to-action. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// Text color for the display-call-to-action in hexadecimal, for example, - /// # ffffff for white. + /// Text color for the display-call-to-action in hexadecimal, for example, + /// # ffffff for white. #[prost(string, optional, tag="6")] pub text_color: ::core::option::Option<::prost::alloc::string::String>, - /// Identifies the URL collection in the `ad.url_collections` field. If not - /// set, the URL defaults to `final_url`. + /// Identifies the URL collection in the `ad.url_collections` field. If not + /// set, the URL defaults to `final_url`. #[prost(string, optional, tag="7")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Product image specific data. +/// Product image specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductImage { - /// The MediaFile resource name of the product image. Valid image types are - /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - /// must be 1:1 (+-1%). + /// The MediaFile resource name of the product image. Valid image types are + /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio + /// must be 1:1 (+-1%). #[prost(string, optional, tag="4")] pub product_image: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the product. + /// Description of the product. #[prost(string, optional, tag="5")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the product image. + /// Display-call-to-action of the product image. #[prost(message, optional, tag="3")] pub display_call_to_action: ::core::option::Option, } -/// Product video specific data. +/// Product video specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductVideo { - /// The MediaFile resource name of a video which must be hosted on YouTube. + /// The MediaFile resource name of a video which must be hosted on YouTube. #[prost(string, optional, tag="2")] pub product_video: ::core::option::Option<::prost::alloc::string::String>, } -/// An image ad. +/// An image ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAdInfo { - /// Width in pixels of the full size image. + /// Width in pixels of the full size image. #[prost(int64, optional, tag="15")] pub pixel_width: ::core::option::Option, - /// Height in pixels of the full size image. + /// Height in pixels of the full size image. #[prost(int64, optional, tag="16")] pub pixel_height: ::core::option::Option, - /// URL of the full size image. + /// URL of the full size image. #[prost(string, optional, tag="17")] pub image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Width in pixels of the preview size image. + /// Width in pixels of the preview size image. #[prost(int64, optional, tag="18")] pub preview_pixel_width: ::core::option::Option, - /// Height in pixels of the preview size image. + /// Height in pixels of the preview size image. #[prost(int64, optional, tag="19")] pub preview_pixel_height: ::core::option::Option, - /// URL of the preview size image. + /// URL of the preview size image. #[prost(string, optional, tag="20")] pub preview_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// The mime type of the image. + /// The mime type of the image. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="10")] pub mime_type: i32, - /// The name of the image. If the image was created from a MediaFile, this is - /// the MediaFile's name. If the image was created from bytes, this is empty. + /// The name of the image. If the image was created from a MediaFile, this is + /// the MediaFile's name. If the image was created from bytes, this is empty. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[prost(oneof="image_ad_info::Image", tags="12, 13, 14")] pub image: ::core::option::Option, } /// Nested message and enum types in `ImageAdInfo`. pub mod image_ad_info { - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Image { - /// The MediaFile resource to use for the image. + /// The MediaFile resource to use for the image. #[prost(string, tag="12")] MediaFile(::prost::alloc::string::String), - /// Raw image data as bytes. + /// Raw image data as bytes. #[prost(bytes, tag="13")] Data(::prost::alloc::vec::Vec), - /// An ad ID to copy the image from. + /// An ad ID to copy the image from. #[prost(int64, tag="14")] AdIdToCopyImageFrom(i64), } } -/// Representation of video bumper in-stream ad format (very short in-stream -/// non-skippable video ad). +/// Representation of video bumper in-stream ad format (very short in-stream +/// non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoBumperInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="3")] pub companion_banner: ::core::option::Option, } -/// Representation of video non-skippable in-stream ad format (15 second -/// in-stream non-skippable video ad). +/// Representation of video non-skippable in-stream ad format (15 second +/// in-stream non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoNonSkippableInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="5")] pub companion_banner: ::core::option::Option, - /// Label on the "Call To Action" button taking the user to the video ad's - /// final URL. + /// Label on the "Call To Action" button taking the user to the video ad's + /// final URL. #[prost(string, tag="3")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the "Call To Action" button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the "Call To Action" button to give + /// context and encourage clicking on the button. #[prost(string, tag="4")] pub action_headline: ::prost::alloc::string::String, } -/// Representation of video TrueView in-stream ad format (ad shown during video -/// playback, often at beginning, which displays a skip button a few seconds into -/// the video). +/// Representation of video TrueView in-stream ad format (ad shown during video +/// playback, often at beginning, which displays a skip button a few seconds into +/// the video). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoTrueViewInStreamAdInfo { - /// Label on the CTA (call-to-action) button taking the user to the video ad's - /// final URL. - /// Required for TrueView for action campaigns, optional otherwise. + /// Label on the CTA (call-to-action) button taking the user to the video ad's + /// final URL. + /// Required for TrueView for action campaigns, optional otherwise. #[prost(string, tag="4")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the CTA (call-to-action) button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the CTA (call-to-action) button to give + /// context and encourage clicking on the button. #[prost(string, tag="5")] pub action_headline: ::prost::alloc::string::String, - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="7")] pub companion_banner: ::core::option::Option, } -/// Representation of video out-stream ad format (ad shown alongside a feed -/// with automatic playback, without sound). +/// Representation of video out-stream ad format (ad shown alongside a feed +/// with automatic playback, without sound). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoOutstreamAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="3")] pub headline: ::prost::alloc::string::String, - /// The description line. + /// The description line. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, } -/// Representation of In-feed video ad format. +/// Representation of In-feed video ad format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InFeedVideoAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="1")] pub headline: ::prost::alloc::string::String, - /// First text line for the ad. + /// First text line for the ad. #[prost(string, tag="2")] pub description1: ::prost::alloc::string::String, - /// Second text line for the ad. + /// Second text line for the ad. #[prost(string, tag="3")] pub description2: ::prost::alloc::string::String, - /// Video thumbnail image to use. + /// Video thumbnail image to use. #[prost(enumeration="super::enums::video_thumbnail_enum::VideoThumbnail", tag="4")] pub thumbnail: i32, } -/// A video ad. +/// A video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoAdInfo { - /// The YouTube video assets used for the ad. + /// The YouTube video assets used for the ad. #[prost(message, optional, tag="8")] pub video: ::core::option::Option, - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[prost(oneof="video_ad_info::Format", tags="2, 3, 4, 5, 9")] pub format: ::core::option::Option, } /// Nested message and enum types in `VideoAdInfo`. pub mod video_ad_info { - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Format { - /// Video TrueView in-stream ad format. + /// Video TrueView in-stream ad format. #[prost(message, tag="2")] InStream(super::VideoTrueViewInStreamAdInfo), - /// Video bumper in-stream ad format. + /// Video bumper in-stream ad format. #[prost(message, tag="3")] Bumper(super::VideoBumperInStreamAdInfo), - /// Video out-stream ad format. + /// Video out-stream ad format. #[prost(message, tag="4")] OutStream(super::VideoOutstreamAdInfo), - /// Video non-skippable in-stream ad format. + /// Video non-skippable in-stream ad format. #[prost(message, tag="5")] NonSkippable(super::VideoNonSkippableInStreamAdInfo), - /// In-feed video ad format. + /// In-feed video ad format. #[prost(message, tag="9")] InFeed(super::InFeedVideoAdInfo), } } -/// A video responsive ad. +/// A video responsive ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoResponsiveAdInfo { - /// List of text assets used for the short headline, for example, the "Call To - /// Action" banner. Currently, only a single value for the short headline is - /// supported. + /// List of text assets used for the short headline, for example, the "Call To + /// Action" banner. Currently, only a single value for the short headline is + /// supported. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the long headline. - /// Currently, only a single value for the long headline is supported. + /// List of text assets used for the long headline. + /// Currently, only a single value for the long headline is supported. #[prost(message, repeated, tag="2")] pub long_headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the description. - /// Currently, only a single value for the description is supported. + /// List of text assets used for the description. + /// Currently, only a single value for the description is supported. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets used for the button, for example, the "Call To Action" - /// button. Currently, only a single value for the button is supported. + /// List of text assets used for the button, for example, the "Call To Action" + /// button. Currently, only a single value for the button is supported. #[prost(message, repeated, tag="4")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of YouTube video assets used for the ad. - /// Currently, only a single value for the YouTube video asset is supported. + /// List of YouTube video assets used for the ad. + /// Currently, only a single value for the YouTube video asset is supported. #[prost(message, repeated, tag="5")] pub videos: ::prost::alloc::vec::Vec, - /// List of image assets used for the companion banner. - /// Currently, only a single value for the companion banner asset is supported. + /// List of image assets used for the companion banner. + /// Currently, only a single value for the companion banner asset is supported. #[prost(message, repeated, tag="6")] pub companion_banners: ::prost::alloc::vec::Vec, - /// First part of text that appears in the ad with the displayed URL. + /// First part of text that appears in the ad with the displayed URL. #[prost(string, tag="7")] pub breadcrumb1: ::prost::alloc::string::String, - /// Second part of text that appears in the ad with the displayed URL. + /// Second part of text that appears in the ad with the displayed URL. #[prost(string, tag="8")] pub breadcrumb2: ::prost::alloc::string::String, } -/// A responsive search ad. +/// A responsive search ad. /// -/// Responsive search ads let you create an ad that adapts to show more text, and -/// more relevant messages, to your customers. Enter multiple headlines and -/// descriptions when creating a responsive search ad, and over time, Google Ads -/// will automatically test different combinations and learn which combinations -/// perform best. By adapting your ad's content to more closely match potential -/// customers' search terms, responsive search ads may improve your campaign's -/// performance. +/// Responsive search ads let you create an ad that adapts to show more text, and +/// more relevant messages, to your customers. Enter multiple headlines and +/// descriptions when creating a responsive search ad, and over time, Google Ads +/// will automatically test different combinations and learn which combinations +/// perform best. By adapting your ad's content to more closely match potential +/// customers' search terms, responsive search ads may improve your campaign's +/// performance. /// -/// More information at +/// More information at #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// First part of text that can be appended to the URL in the ad. + /// First part of text that can be appended to the URL in the ad. #[prost(string, optional, tag="5")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. #[prost(string, optional, tag="6")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -/// in the Google Ads UI. +/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' +/// in the Google Ads UI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyResponsiveDisplayAdInfo { - /// The short version of the ad's headline. + /// The short version of the ad's headline. #[prost(string, optional, tag="16")] pub short_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The long version of the ad's headline. + /// The long version of the ad's headline. #[prost(string, optional, tag="17")] pub long_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="18")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, optional, tag="19")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The accent color of the ad in hexadecimal, for example, #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, for example, #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="21")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, for example, #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, for example, #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="22")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The call-to-action text for the ad. + /// The call-to-action text for the ad. #[prost(string, optional, tag="23")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image used in the ad. + /// The MediaFile resource name of the logo image used in the ad. #[prost(string, optional, tag="24")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square logo image used in the ad. + /// The MediaFile resource name of the square logo image used in the ad. #[prost(string, optional, tag="25")] pub square_logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image used in the ad. + /// The MediaFile resource name of the marketing image used in the ad. #[prost(string, optional, tag="26")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square marketing image used in the ad. + /// The MediaFile resource name of the square marketing image used in the ad. #[prost(string, optional, tag="27")] pub square_marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="13")] pub format_setting: i32, - /// Prefix before price. For example, 'as low as'. + /// Prefix before price. For example, 'as low as'. #[prost(string, optional, tag="28")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="29")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, } -/// An app ad. +/// An app ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppAdInfo { - /// Mandatory ad text. + /// Mandatory ad text. #[prost(message, optional, tag="1")] pub mandatory_ad_text: ::core::option::Option, - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="2")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. + /// List of YouTube video assets that may be displayed with the ad. #[prost(message, repeated, tag="5")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// List of media bundle assets that may be used with the ad. + /// List of media bundle assets that may be used with the ad. #[prost(message, repeated, tag="6")] pub html5_media_bundles: ::prost::alloc::vec::Vec, } -/// App engagement ads allow you to write text encouraging a specific action in -/// the app, like checking in, making a purchase, or booking a flight. -/// They allow you to send users to a specific part of your app where they can -/// find what they're looking for easier and faster. +/// App engagement ads allow you to write text encouraging a specific action in +/// the app, like checking in, making a purchase, or booking a flight. +/// They allow you to send users to a specific part of your app where they can +/// find what they're looking for easier and faster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppEngagementAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of video assets that may be displayed with the ad. + /// List of video assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub videos: ::prost::alloc::vec::Vec, } -/// App pre-registration ads link to your app or game listing on Google Play, and -/// can run on Google Play, on YouTube (in-stream only), and within other apps -/// and mobile websites on the Display Network. It will help capture people's -/// interest in your app or game and generate an early install base for your app -/// or game before a launch. +/// App pre-registration ads link to your app or game listing on Google Play, and +/// can run on Google Play, on YouTube (in-stream only), and within other apps +/// and mobile websites on the Display Network. It will help capture people's +/// interest in your app or game and generate an early install base for your app +/// or game before a launch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPreRegistrationAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image asset IDs whose images may be displayed with the ad. + /// List of image asset IDs whose images may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video asset IDs whose videos may be displayed with the ad. + /// List of YouTube video asset IDs whose videos may be displayed with the ad. #[prost(message, repeated, tag="4")] pub youtube_videos: ::prost::alloc::vec::Vec, } -/// A legacy app install ad that only can be used by a few select customers. +/// A legacy app install ad that only can be used by a few select customers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdInfo { - /// The ID of the mobile app. + /// The ID of the mobile app. #[prost(string, optional, tag="6")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The app store the mobile app is available in. + /// The app store the mobile app is available in. #[prost(enumeration="super::enums::legacy_app_install_ad_app_store_enum::LegacyAppInstallAdAppStore", tag="2")] pub app_store: i32, - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="7")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first description line of the ad. + /// The first description line of the ad. #[prost(string, optional, tag="8")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second description line of the ad. + /// The second description line of the ad. #[prost(string, optional, tag="9")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A responsive display ad. +/// A responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdInfo { - /// Marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - /// with `square_marketing_images`, the maximum is 15. + /// Marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must + /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined + /// with `square_marketing_images`, the maximum is 15. #[prost(message, repeated, tag="1")] pub marketing_images: ::prost::alloc::vec::Vec, - /// Square marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - /// with `marketing_images`, the maximum is 15. + /// Square marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must + /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined + /// with `marketing_images`, the maximum is 15. #[prost(message, repeated, tag="2")] pub square_marketing_images: ::prost::alloc::vec::Vec, - /// Logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must + /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="3")] pub logo_images: ::prost::alloc::vec::Vec, - /// Square logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Square logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must + /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="4")] pub square_logo_images: ::prost::alloc::vec::Vec, - /// Short format headlines for the ad. The maximum length is 30 characters. - /// At least 1 and max 5 headlines can be specified. + /// Short format headlines for the ad. The maximum length is 30 characters. + /// At least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="5")] pub headlines: ::prost::alloc::vec::Vec, - /// A required long format headline. The maximum length is 90 characters. + /// A required long format headline. The maximum length is 90 characters. #[prost(message, optional, tag="6")] pub long_headline: ::core::option::Option, - /// Descriptive texts for the ad. The maximum length is 90 characters. At - /// least 1 and max 5 headlines can be specified. + /// Descriptive texts for the ad. The maximum length is 90 characters. At + /// least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="7")] pub descriptions: ::prost::alloc::vec::Vec, - /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. #[prost(message, repeated, tag="8")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// The advertiser/brand name. Maximum display width is 25. + /// The advertiser/brand name. Maximum display width is 25. #[prost(string, optional, tag="17")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, for example, #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, for example, #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="18")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The accent color of the ad in hexadecimal, for example, #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, for example, #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="19")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The call-to-action text for the ad. Maximum display width is 30. + /// The call-to-action text for the ad. Maximum display width is 30. #[prost(string, optional, tag="21")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// Prefix before price. For example, 'as low as'. + /// Prefix before price. For example, 'as low as'. #[prost(string, optional, tag="22")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="23")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="16")] pub format_setting: i32, - /// Specification for various creative controls. + /// Specification for various creative controls. #[prost(message, optional, tag="24")] pub control_spec: ::core::option::Option, } -/// A local ad. +/// A local ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. At least 1 and at most 5 headlines must be - /// specified. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. At least 1 and at most 5 headlines must be + /// specified. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. At least 1 and at most 5 descriptions must - /// be specified. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. At least 1 and at most 5 descriptions must + /// be specified. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets for call-to-actions. When the ad serves the - /// call-to-actions will be selected from this list. Call-to-actions are - /// optional and at most 5 can be specified. + /// List of text assets for call-to-actions. When the ad serves the + /// call-to-actions will be selected from this list. Call-to-actions are + /// optional and at most 5 can be specified. #[prost(message, repeated, tag="3")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of marketing image assets that may be displayed with the ad. The - /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - /// 20 image assets must be specified. + /// List of marketing image assets that may be displayed with the ad. The + /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most + /// 20 image assets must be specified. #[prost(message, repeated, tag="4")] pub marketing_images: ::prost::alloc::vec::Vec, - /// List of logo image assets that may be displayed with the ad. The images - /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - /// image assets must be specified. + /// List of logo image assets that may be displayed with the ad. The images + /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 + /// image assets must be specified. #[prost(message, repeated, tag="5")] pub logo_images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. Videos - /// are optional and at most 20 can be specified. + /// List of YouTube video assets that may be displayed with the ad. Videos + /// are optional and at most 20 can be specified. #[prost(message, repeated, tag="6")] pub videos: ::prost::alloc::vec::Vec, - /// First part of optional text that can be appended to the URL in the ad. + /// First part of optional text that can be appended to the URL in the ad. #[prost(string, optional, tag="9")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of optional text that can be appended to the URL in the ad. - /// This field can only be set when `path1` is also set. + /// Second part of optional text that can be appended to the URL in the ad. + /// This field can only be set when `path1` is also set. #[prost(string, optional, tag="10")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A generic type of display ad. The exact ad format is controlled by the -/// `display_upload_product_type` field, which determines what kinds of data -/// need to be included with the ad. +/// A generic type of display ad. The exact ad format is controlled by the +/// `display_upload_product_type` field, which determines what kinds of data +/// need to be included with the ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadAdInfo { - /// The product type of this ad. See comments on the enum for details. + /// The product type of this ad. See comments on the enum for details. #[prost(enumeration="super::enums::display_upload_product_type_enum::DisplayUploadProductType", tag="1")] pub display_upload_product_type: i32, - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[prost(oneof="display_upload_ad_info::MediaAsset", tags="2")] pub media_asset: ::core::option::Option, } /// Nested message and enum types in `DisplayUploadAdInfo`. pub mod display_upload_ad_info { - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MediaAsset { - /// A media bundle asset to be used in the ad. For information about the - /// media bundle for HTML5_UPLOAD_AD, see - /// - /// Media bundles that are part of dynamic product types use a special format - /// that needs to be created through the Google Web Designer. See - /// for more - /// information. + /// A media bundle asset to be used in the ad. For information about the + /// media bundle for HTML5_UPLOAD_AD, see + /// + /// Media bundles that are part of dynamic product types use a special format + /// that needs to be created through the Google Web Designer. See + /// for more + /// information. #[prost(message, tag="2")] MediaBundle(super::AdMediaBundleAsset), } } -/// Specification for various creative controls for a responsive display ad. +/// Specification for various creative controls for a responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdControlSpec { - /// Whether the advertiser has opted into the asset enhancements feature. + /// Whether the advertiser has opted into the asset enhancements feature. #[prost(bool, tag="1")] pub enable_asset_enhancements: bool, - /// Whether the advertiser has opted into auto-gen video feature. + /// Whether the advertiser has opted into auto-gen video feature. #[prost(bool, tag="2")] pub enable_autogen_video: bool, } -/// A Smart campaign ad. +/// A Smart campaign ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignAdInfo { - /// List of text assets, each of which corresponds to a headline when the ad - /// serves. This list consists of a minimum of 3 and up to 15 text assets. + /// List of text assets, each of which corresponds to a headline when the ad + /// serves. This list consists of a minimum of 3 and up to 15 text assets. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets, each of which corresponds to a description when the ad - /// serves. This list consists of a minimum of 2 and up to 4 text assets. + /// List of text assets, each of which corresponds to a description when the ad + /// serves. This list consists of a minimum of 2 and up to 4 text assets. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, } -/// A call ad. +/// A call ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAdInfo { - /// The country code in the ad. + /// The country code in the ad. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// The phone number in the ad. + /// The phone number in the ad. #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, tag="3")] pub business_name: ::prost::alloc::string::String, - /// First headline in the ad. + /// First headline in the ad. #[prost(string, tag="11")] pub headline1: ::prost::alloc::string::String, - /// Second headline in the ad. + /// Second headline in the ad. #[prost(string, tag="12")] pub headline2: ::prost::alloc::string::String, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, tag="4")] pub description1: ::prost::alloc::string::String, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, tag="5")] pub description2: ::prost::alloc::string::String, - /// Whether to enable call tracking for the creative. Enabling call - /// tracking also enables call conversions. + /// Whether to enable call tracking for the creative. Enabling call + /// tracking also enables call conversions. #[prost(bool, tag="6")] pub call_tracked: bool, - /// Whether to disable call conversion for the creative. - /// If set to `true`, disables call conversions even when `call_tracked` is - /// `true`. - /// If `call_tracked` is `false`, this field is ignored. + /// Whether to disable call conversion for the creative. + /// If set to `true`, disables call conversions even when `call_tracked` is + /// `true`. + /// If `call_tracked` is `false`, this field is ignored. #[prost(bool, tag="7")] pub disable_call_conversion: bool, - /// The URL to be used for phone number verification. + /// The URL to be used for phone number verification. #[prost(string, tag="8")] pub phone_number_verification_url: ::prost::alloc::string::String, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// `call_tracked` is set to `true`. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// `call_tracked` is set to `true`. Otherwise this field is ignored. #[prost(string, tag="9")] pub conversion_action: ::prost::alloc::string::String, - /// The call conversion behavior of this call ad. It can use its own call - /// conversion setting, inherit the account level setting, or be disabled. + /// The call conversion behavior of this call ad. It can use its own call + /// conversion setting, inherit the account level setting, or be disabled. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="10")] pub conversion_reporting_state: i32, - /// First part of text that can be appended to the URL in the ad. Optional. + /// First part of text that can be appended to the URL in the ad. Optional. #[prost(string, tag="13")] pub path1: ::prost::alloc::string::String, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. Optional. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. Optional. #[prost(string, tag="14")] pub path2: ::prost::alloc::string::String, } -/// A discovery multi asset ad. +/// A discovery multi asset ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryMultiAssetAdInfo { - /// Marketing image assets to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - /// be 1.91:1 (+-1%). Required if square_marketing_images is - /// not present. Combined with `square_marketing_images` and - /// `portrait_marketing_images` the maximum is 20. + /// Marketing image assets to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must + /// be 1.91:1 (+-1%). Required if square_marketing_images is + /// not present. Combined with `square_marketing_images` and + /// `portrait_marketing_images` the maximum is 20. #[prost(message, repeated, tag="1")] pub marketing_images: ::prost::alloc::vec::Vec, - /// Square marketing image assets to be used in the ad. Valid image types are - /// GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - /// be 1:1 (+-1%). Required if marketing_images is not present. Combined with - /// `marketing_images` and `portrait_marketing_images` the maximum is 20. + /// Square marketing image assets to be used in the ad. Valid image types are + /// GIF, JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must + /// be 1:1 (+-1%). Required if marketing_images is not present. Combined with + /// `marketing_images` and `portrait_marketing_images` the maximum is 20. #[prost(message, repeated, tag="2")] pub square_marketing_images: ::prost::alloc::vec::Vec, - /// Portrait marketing image assets to be used in the ad. Valid image types are - /// GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must - /// be 4:5 (+-1%). Combined with `marketing_images` and - /// `square_marketing_images` the maximum is 20. + /// Portrait marketing image assets to be used in the ad. Valid image types are + /// GIF, JPEG, and PNG. The minimum size is 480x600 and the aspect ratio must + /// be 4:5 (+-1%). Combined with `marketing_images` and + /// `square_marketing_images` the maximum is 20. #[prost(message, repeated, tag="3")] pub portrait_marketing_images: ::prost::alloc::vec::Vec, - /// Logo image assets to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be - /// 1:1(+-1%). At least 1 and max 5 logo images can be specified. + /// Logo image assets to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must be + /// 1:1(+-1%). At least 1 and max 5 logo images can be specified. #[prost(message, repeated, tag="4")] pub logo_images: ::prost::alloc::vec::Vec, - /// Headline text asset of the ad. Maximum display width is 30. At least 1 and - /// max 5 headlines can be specified. + /// Headline text asset of the ad. Maximum display width is 30. At least 1 and + /// max 5 headlines can be specified. #[prost(message, repeated, tag="5")] pub headlines: ::prost::alloc::vec::Vec, - /// The descriptive text of the ad. Maximum display width is 90. At least 1 and - /// max 5 descriptions can be specified. + /// The descriptive text of the ad. Maximum display width is 90. At least 1 and + /// max 5 descriptions can be specified. #[prost(message, repeated, tag="6")] pub descriptions: ::prost::alloc::vec::Vec, - /// The Advertiser/brand name. Maximum display width is 25. Required. + /// The Advertiser/brand name. Maximum display width is 25. Required. #[prost(string, optional, tag="7")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Call to action text. + /// Call to action text. #[prost(string, optional, tag="8")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// Boolean option that indicates if this ad must be served with lead form. + /// Boolean option that indicates if this ad must be served with lead form. #[prost(bool, optional, tag="9")] pub lead_form_only: ::core::option::Option, } -/// A discovery carousel ad. +/// A discovery carousel ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryCarouselAdInfo { - /// Required. The Advertiser/brand name. + /// Required. The Advertiser/brand name. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, - /// Required. Logo image to be used in the ad. The minimum size is 128x128 and the - /// aspect ratio must be 1:1(+-1%). + /// Required. Logo image to be used in the ad. The minimum size is 128x128 and the + /// aspect ratio must be 1:1(+-1%). #[prost(message, optional, tag="2")] pub logo_image: ::core::option::Option, - /// Required. Headline of the ad. + /// Required. Headline of the ad. #[prost(message, optional, tag="3")] pub headline: ::core::option::Option, - /// Required. The descriptive text of the ad. + /// Required. The descriptive text of the ad. #[prost(message, optional, tag="4")] pub description: ::core::option::Option, - /// Call to action text. + /// Call to action text. #[prost(string, tag="5")] pub call_to_action_text: ::prost::alloc::string::String, - /// Required. Carousel cards that will display with the ad. Min 2 max 10. + /// Required. Carousel cards that will display with the ad. Min 2 max 10. #[prost(message, repeated, tag="6")] pub carousel_cards: ::prost::alloc::vec::Vec, } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// A keyword criterion. +/// A keyword criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordInfo { - /// The text of the keyword (at most 80 characters and 10 words). + /// The text of the keyword (at most 80 characters and 10 words). #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. + /// The match type of the keyword. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, } -/// A placement criterion. This can be used to modify bids for sites when -/// targeting the content network. +/// A placement criterion. This can be used to modify bids for sites when +/// targeting the content network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementInfo { - /// URL of the placement. + /// URL of the placement. /// - /// For example, " + /// For example, " #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile app category criterion. +/// A mobile app category criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryInfo { - /// The mobile app category constant resource name. + /// The mobile app category constant resource name. #[prost(string, optional, tag="2")] pub mobile_app_category_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile application criterion. +/// A mobile application criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileApplicationInfo { - /// A string that uniquely identifies a mobile application to Google Ads API. - /// The format of this string is "{platform}-{platform_native_id}", where - /// platform is "1" for iOS apps and "2" for Android apps, and where - /// platform_native_id is the mobile application identifier native to the - /// corresponding platform. - /// For iOS, this native identifier is the 9 digit string that appears at the - /// end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose - /// App Store link is - /// "). For Android, - /// this native identifier is the application's package name (for example, - /// "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// "). - /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS - /// and "2-com.labpixies.colordrips" for Android. - /// This field is required and must be set in CREATE operations. + /// A string that uniquely identifies a mobile application to Google Ads API. + /// The format of this string is "{platform}-{platform_native_id}", where + /// platform is "1" for iOS apps and "2" for Android apps, and where + /// platform_native_id is the mobile application identifier native to the + /// corresponding platform. + /// For iOS, this native identifier is the 9 digit string that appears at the + /// end of an App Store URL (for example, "476943146" for "Flood-It! 2" whose + /// App Store link is + /// "). For Android, + /// this native identifier is the application's package name (for example, + /// "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// "). + /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS + /// and "2-com.labpixies.colordrips" for Android. + /// This field is required and must be set in CREATE operations. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this mobile application. + /// Name of this mobile application. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A location criterion. +/// A location criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationInfo { - /// The geo target constant resource name. + /// The geo target constant resource name. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A device criterion. +/// A device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceInfo { - /// Type of the device. + /// Type of the device. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub r#type: i32, } -/// A preferred content criterion. +/// A preferred content criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentInfo { - /// Type of the preferred content. + /// Type of the preferred content. #[prost(enumeration="super::enums::preferred_content_type_enum::PreferredContentType", tag="2")] pub r#type: i32, } -/// A listing group criterion. +/// A listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupInfo { - /// Type of the listing group. + /// Type of the listing group. #[prost(enumeration="super::enums::listing_group_type_enum::ListingGroupType", tag="1")] pub r#type: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="2")] pub case_value: ::core::option::Option, - /// Resource name of ad group criterion which is the parent listing group - /// subdivision. Null for the root group. + /// Resource name of ad group criterion which is the parent listing group + /// subdivision. Null for the root group. #[prost(string, optional, tag="4")] pub parent_ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// A listing scope criterion. +/// A listing scope criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingScopeInfo { - /// Scope of the campaign criterion. + /// Scope of the campaign criterion. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, } -/// Listing dimensions for listing group criterion. +/// Listing dimensions for listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingDimensionInfo { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_dimension_info::Dimension", tags="2, 3, 4, 5, 6, 13, 15, 8, 9, 10, 16, 11, 12, 17, 18, 19, 20, 14")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingDimensionInfo`. pub mod listing_dimension_info { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Advertiser-specific hotel ID. + /// Advertiser-specific hotel ID. #[prost(message, tag="2")] HotelId(super::HotelIdInfo), - /// Class of the hotel as a number of stars 1 to 5. + /// Class of the hotel as a number of stars 1 to 5. #[prost(message, tag="3")] HotelClass(super::HotelClassInfo), - /// Country or Region the hotel is located in. + /// Country or Region the hotel is located in. #[prost(message, tag="4")] HotelCountryRegion(super::HotelCountryRegionInfo), - /// State the hotel is located in. + /// State the hotel is located in. #[prost(message, tag="5")] HotelState(super::HotelStateInfo), - /// City the hotel is located in. + /// City the hotel is located in. #[prost(message, tag="6")] HotelCity(super::HotelCityInfo), - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="13")] ProductBiddingCategory(super::ProductBiddingCategoryInfo), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="15")] ProductBrand(super::ProductBrandInfo), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="8")] ProductChannel(super::ProductChannelInfo), - /// Availability of a product offer. + /// Availability of a product offer. #[prost(message, tag="9")] ProductChannelExclusivity(super::ProductChannelExclusivityInfo), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="10")] ProductCondition(super::ProductConditionInfo), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="16")] ProductCustomAttribute(super::ProductCustomAttributeInfo), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="11")] ProductItemId(super::ProductItemIdInfo), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="12")] ProductType(super::ProductTypeInfo), - /// Grouping of a product offer. + /// Grouping of a product offer. #[prost(message, tag="17")] ProductGrouping(super::ProductGroupingInfo), - /// Labels of a product offer. + /// Labels of a product offer. #[prost(message, tag="18")] ProductLabels(super::ProductLabelsInfo), - /// Legacy condition of a product offer. + /// Legacy condition of a product offer. #[prost(message, tag="19")] ProductLegacyCondition(super::ProductLegacyConditionInfo), - /// Full type of a product offer. + /// Full type of a product offer. #[prost(message, tag="20")] ProductTypeFull(super::ProductTypeFullInfo), - /// Unknown dimension. Set when no other listing dimension is set. + /// Unknown dimension. Set when no other listing dimension is set. #[prost(message, tag="14")] UnknownListingDimension(super::UnknownListingDimensionInfo), } } -/// Advertiser-specific hotel ID. +/// Advertiser-specific hotel ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelIdInfo { - /// String value of the hotel ID. + /// String value of the hotel ID. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Class of the hotel as a number of stars 1 to 5. +/// Class of the hotel as a number of stars 1 to 5. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelClassInfo { - /// Long value of the hotel class. + /// Long value of the hotel class. #[prost(int64, optional, tag="2")] pub value: ::core::option::Option, } -/// Country or Region the hotel is located in. +/// Country or Region the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCountryRegionInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub country_region_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// State the hotel is located in. +/// State the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelStateInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub state_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// City the hotel is located in. +/// City the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCityInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub city_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// Bidding category of a product offer. +/// Bidding category of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryInfo { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="4")] pub id: ::core::option::Option, - /// Two-letter upper-case country code of the product bidding category. It must - /// match the campaign.shopping_setting.sales_country field. + /// Two-letter upper-case country code of the product bidding category. It must + /// match the campaign.shopping_setting.sales_country field. #[prost(string, optional, tag="5")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the product bidding category. + /// Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="3")] pub level: i32, } -/// Brand of the product. +/// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrandInfo { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelInfo { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="1")] pub channel: i32, } -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityInfo { - /// Value of the availability. + /// Value of the availability. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="1")] pub channel_exclusivity: i32, } -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionInfo { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="1")] pub condition: i32, } -/// Custom attribute of a product offer. +/// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeInfo { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::enums::product_custom_attribute_index_enum::ProductCustomAttributeIndex", tag="2")] pub index: i32, } -/// Item id of a product offer. +/// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemIdInfo { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Type of a product offer. +/// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeInfo { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::enums::product_type_level_enum::ProductTypeLevel", tag="2")] pub level: i32, } -/// Grouping of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Grouping of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductGroupingInfo { - /// String value of the product grouping. + /// String value of the product grouping. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Labels of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Labels of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductLabelsInfo { - /// String value of the product labels. + /// String value of the product labels. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Legacy condition of a product offer. This listing dimension is deprecated and -/// it is supported only in Display campaigns. +/// Legacy condition of a product offer. This listing dimension is deprecated and +/// it is supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductLegacyConditionInfo { - /// String value of the product legacy condition. + /// String value of the product legacy condition. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Full type of a product offer. This listing dimension is deprecated and it is -/// supported only in Display campaigns. +/// Full type of a product offer. This listing dimension is deprecated and it is +/// supported only in Display campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeFullInfo { - /// String value of the product full type. + /// String value of the product full type. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Unknown listing dimension. +/// Unknown listing dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnknownListingDimensionInfo { } -/// Criterion for hotel date selection (default dates versus user selected). +/// Criterion for hotel date selection (default dates versus user selected). #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeInfo { - /// Type of the hotel date selection + /// Type of the hotel date selection #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="1")] pub r#type: i32, } -/// Criterion for number of days prior to the stay the booking is being made. +/// Criterion for number of days prior to the stay the booking is being made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdvanceBookingWindowInfo { - /// Low end of the number of days prior to the stay. + /// Low end of the number of days prior to the stay. #[prost(int64, optional, tag="3")] pub min_days: ::core::option::Option, - /// High end of the number of days prior to the stay. + /// High end of the number of days prior to the stay. #[prost(int64, optional, tag="4")] pub max_days: ::core::option::Option, } -/// Criterion for length of hotel stay in nights. +/// Criterion for length of hotel stay in nights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelLengthOfStayInfo { - /// Low end of the number of nights in the stay. + /// Low end of the number of nights in the stay. #[prost(int64, optional, tag="3")] pub min_nights: ::core::option::Option, - /// High end of the number of nights in the stay. + /// High end of the number of nights in the stay. #[prost(int64, optional, tag="4")] pub max_nights: ::core::option::Option, } -/// Criterion for a check-in date range. +/// Criterion for a check-in date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDateRangeInfo { - /// Start date in the YYYY-MM-DD format. + /// Start date in the YYYY-MM-DD format. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// End date in the YYYY-MM-DD format. + /// End date in the YYYY-MM-DD format. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, } -/// Criterion for day of the week the booking is for. +/// Criterion for day of the week the booking is for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDayInfo { - /// The day of the week. + /// The day of the week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="1")] pub day_of_week: i32, } -/// Criterion for Interaction Type. +/// Criterion for Interaction Type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeInfo { - /// The interaction type. + /// The interaction type. #[prost(enumeration="super::enums::interaction_type_enum::InteractionType", tag="1")] pub r#type: i32, } -/// Represents an AdSchedule criterion. +/// Represents an AdSchedule criterion. /// -/// AdSchedule is specified as the day of the week and a time interval -/// within which ads will be shown. +/// AdSchedule is specified as the day of the week and a time interval +/// within which ads will be shown. /// -/// No more than six AdSchedules can be added for the same day. +/// No more than six AdSchedules can be added for the same day. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleInfo { - /// Minutes after the start hour at which this schedule starts. + /// Minutes after the start hour at which this schedule starts. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="1")] pub start_minute: i32, - /// Minutes after the end hour at which this schedule ends. The schedule is - /// exclusive of the end minute. + /// Minutes after the end hour at which this schedule ends. The schedule is + /// exclusive of the end minute. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="2")] pub end_minute: i32, - /// Starting hour in 24 hour time. - /// This field must be between 0 and 23, inclusive. + /// Starting hour in 24 hour time. + /// This field must be between 0 and 23, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="6")] pub start_hour: ::core::option::Option, - /// Ending hour in 24 hour time; 24 signifies end of the day. - /// This field must be between 0 and 24, inclusive. + /// Ending hour in 24 hour time; 24 signifies end of the day. + /// This field must be between 0 and 24, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="7")] pub end_hour: ::core::option::Option, - /// Day of the week the schedule applies to. + /// Day of the week the schedule applies to. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, } -/// An age range criterion. +/// An age range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeInfo { - /// Type of the age range. + /// Type of the age range. #[prost(enumeration="super::enums::age_range_type_enum::AgeRangeType", tag="1")] pub r#type: i32, } -/// A gender criterion. +/// A gender criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderInfo { - /// Type of the gender. + /// Type of the gender. #[prost(enumeration="super::enums::gender_type_enum::GenderType", tag="1")] pub r#type: i32, } -/// An income range criterion. +/// An income range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeInfo { - /// Type of the income range. + /// Type of the income range. #[prost(enumeration="super::enums::income_range_type_enum::IncomeRangeType", tag="1")] pub r#type: i32, } -/// A parental status criterion. +/// A parental status criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusInfo { - /// Type of the parental status. + /// Type of the parental status. #[prost(enumeration="super::enums::parental_status_type_enum::ParentalStatusType", tag="1")] pub r#type: i32, } -/// A YouTube Video criterion. +/// A YouTube Video criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeVideoInfo { - /// YouTube video id as it appears on the YouTube watch page. + /// YouTube video id as it appears on the YouTube watch page. #[prost(string, optional, tag="2")] pub video_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A YouTube Channel criterion. +/// A YouTube Channel criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeChannelInfo { - /// The YouTube uploader channel id or the channel code of a YouTube channel. + /// The YouTube uploader channel id or the channel code of a YouTube channel. #[prost(string, optional, tag="2")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A User List criterion. Represents a user list that is defined by the -/// advertiser to be targeted. +/// A User List criterion. Represents a user list that is defined by the +/// advertiser to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListInfo { - /// The User List resource name. + /// The User List resource name. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// A Proximity criterion. The geo point and radius determine what geographical -/// area is included. The address is a description of the geo point that does -/// not affect ad serving. +/// A Proximity criterion. The geo point and radius determine what geographical +/// area is included. The address is a description of the geo point that does +/// not affect ad serving. /// -/// There are two ways to create a proximity. First, by setting an address -/// and radius. The geo point will be automatically computed. Second, by -/// setting a geo point and radius. The address is an optional label that won't -/// be validated. +/// There are two ways to create a proximity. First, by setting an address +/// and radius. The geo point will be automatically computed. Second, by +/// setting a geo point and radius. The address is an optional label that won't +/// be validated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityInfo { - /// Latitude and longitude. + /// Latitude and longitude. #[prost(message, optional, tag="1")] pub geo_point: ::core::option::Option, - /// The radius of the proximity. + /// The radius of the proximity. #[prost(double, optional, tag="5")] pub radius: ::core::option::Option, - /// The unit of measurement of the radius. Default is KILOMETERS. + /// The unit of measurement of the radius. Default is KILOMETERS. #[prost(enumeration="super::enums::proximity_radius_units_enum::ProximityRadiusUnits", tag="3")] pub radius_units: i32, - /// Full address. + /// Full address. #[prost(message, optional, tag="4")] pub address: ::core::option::Option, } -/// Geo point for proximity criterion. +/// Geo point for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoPointInfo { - /// Micro degrees for the longitude. + /// Micro degrees for the longitude. #[prost(int32, optional, tag="3")] pub longitude_in_micro_degrees: ::core::option::Option, - /// Micro degrees for the latitude. + /// Micro degrees for the latitude. #[prost(int32, optional, tag="4")] pub latitude_in_micro_degrees: ::core::option::Option, } -/// Address for proximity criterion. +/// Address for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressInfo { - /// Postal code. + /// Postal code. #[prost(string, optional, tag="8")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state code. + /// Province or state code. #[prost(string, optional, tag="9")] pub province_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code. + /// Country code. #[prost(string, optional, tag="10")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state name. + /// Province or state name. #[prost(string, optional, tag="11")] pub province_name: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 1. + /// Street address line 1. #[prost(string, optional, tag="12")] pub street_address: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 2. This field is write-only. It is only used for - /// calculating the longitude and latitude of an address when geo_point is - /// empty. + /// Street address line 2. This field is write-only. It is only used for + /// calculating the longitude and latitude of an address when geo_point is + /// empty. #[prost(string, optional, tag="13")] pub street_address2: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the city. + /// Name of the city. #[prost(string, optional, tag="14")] pub city_name: ::core::option::Option<::prost::alloc::string::String>, } -/// A topic criterion. Use topics to target or exclude placements in the -/// Google Display Network based on the category into which the placement falls -/// (for example, "Pets & Animals/Pets/Dogs"). +/// A topic criterion. Use topics to target or exclude placements in the +/// Google Display Network based on the category into which the placement falls +/// (for example, "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicInfo { - /// The Topic Constant resource name. + /// The Topic Constant resource name. #[prost(string, optional, tag="3")] pub topic_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - /// category. + /// The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" + /// category. #[prost(string, repeated, tag="4")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A language criterion. +/// A language criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageInfo { - /// The language constant resource name. + /// The language constant resource name. #[prost(string, optional, tag="2")] pub language_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An IpBlock criterion used for IP exclusions. We allow: +/// An IpBlock criterion used for IP exclusions. We allow: /// - IPv4 and IPv6 addresses /// - individual addresses (192.168.0.1) /// - masks for individual addresses (192.168.0.1/32) /// - masks for Class C networks (192.168.0.1/24) #[derive(Clone, PartialEq, ::prost::Message)] pub struct IpBlockInfo { - /// The IP address of this IP block. + /// The IP address of this IP block. #[prost(string, optional, tag="2")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, } -/// Content Label for category exclusion. +/// Content Label for category exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelInfo { - /// Content label type, required for CREATE operations. + /// Content label type, required for CREATE operations. #[prost(enumeration="super::enums::content_label_type_enum::ContentLabelType", tag="1")] pub r#type: i32, } -/// Represents a Carrier Criterion. +/// Represents a Carrier Criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierInfo { - /// The Carrier constant resource name. + /// The Carrier constant resource name. #[prost(string, optional, tag="2")] pub carrier_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a particular interest-based topic to be targeted. +/// Represents a particular interest-based topic to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestInfo { - /// The UserInterest resource name. + /// The UserInterest resource name. #[prost(string, optional, tag="2")] pub user_interest_category: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a criterion for targeting webpages of an advertiser's website. +/// Represents a criterion for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageInfo { - /// The name of the criterion that is defined by this parameter. The name value - /// will be used for identifying, sorting and filtering criteria with this type - /// of parameters. + /// The name of the criterion that is defined by this parameter. The name value + /// will be used for identifying, sorting and filtering criteria with this type + /// of parameters. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(string, optional, tag="3")] pub criterion_name: ::core::option::Option<::prost::alloc::string::String>, - /// Conditions, or logical expressions, for webpage targeting. The list of - /// webpage targeting conditions are and-ed together when evaluated - /// for targeting. An empty list of conditions indicates all pages of the - /// campaign's website are targeted. + /// Conditions, or logical expressions, for webpage targeting. The list of + /// webpage targeting conditions are and-ed together when evaluated + /// for targeting. An empty list of conditions indicates all pages of the + /// campaign's website are targeted. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(message, repeated, tag="2")] pub conditions: ::prost::alloc::vec::Vec, - /// Website criteria coverage percentage. This is the computed percentage - /// of website coverage based on the website target, negative website target - /// and negative keywords in the ad group and campaign. For instance, when - /// coverage returns as 1, it indicates it has 100% coverage. This field is - /// read-only. + /// Website criteria coverage percentage. This is the computed percentage + /// of website coverage based on the website target, negative website target + /// and negative keywords in the ad group and campaign. For instance, when + /// coverage returns as 1, it indicates it has 100% coverage. This field is + /// read-only. #[prost(double, tag="4")] pub coverage_percentage: f64, - /// List of sample urls that match the website target. This field is read-only. + /// List of sample urls that match the website target. This field is read-only. #[prost(message, optional, tag="5")] pub sample: ::core::option::Option, } -/// Logical expression for targeting webpages of an advertiser's website. +/// Logical expression for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionInfo { - /// Operand of webpage targeting condition. + /// Operand of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operand_enum::WebpageConditionOperand", tag="1")] pub operand: i32, - /// Operator of webpage targeting condition. + /// Operator of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operator_enum::WebpageConditionOperator", tag="2")] pub operator: i32, - /// Argument of webpage targeting condition. + /// Argument of webpage targeting condition. #[prost(string, optional, tag="4")] pub argument: ::core::option::Option<::prost::alloc::string::String>, } -/// List of sample urls that match the website target +/// List of sample urls that match the website target #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageSampleInfo { - /// Webpage sample urls + /// Webpage sample urls #[prost(string, repeated, tag="1")] pub sample_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents an operating system version to be targeted. +/// Represents an operating system version to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionInfo { - /// The operating system version constant resource name. + /// The operating system version constant resource name. #[prost(string, optional, tag="2")] pub operating_system_version_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An app payment model criterion. +/// An app payment model criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelInfo { - /// Type of the app payment model. + /// Type of the app payment model. #[prost(enumeration="super::enums::app_payment_model_type_enum::AppPaymentModelType", tag="1")] pub r#type: i32, } -/// A mobile device criterion. +/// A mobile device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceInfo { - /// The mobile device constant resource name. + /// The mobile device constant resource name. #[prost(string, optional, tag="2")] pub mobile_device_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom affinity criterion. -/// A criterion of this type is only targetable. +/// A custom affinity criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAffinityInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_affinity: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom intent criterion. -/// A criterion of this type is only targetable. +/// A custom intent criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomIntentInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_intent: ::core::option::Option<::prost::alloc::string::String>, } -/// A radius around a list of locations specified through a feed. +/// A radius around a list of locations specified through a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupInfo { - /// Feed specifying locations for targeting. - /// This is required and must be set in CREATE operations. + /// Feed specifying locations for targeting. + /// This is required and must be set in CREATE operations. #[prost(string, optional, tag="5")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Geo target constant(s) restricting the scope of the geographic area within - /// the feed. Currently only one geo target constant is allowed. + /// Geo target constant(s) restricting the scope of the geographic area within + /// the feed. Currently only one geo target constant is allowed. #[prost(string, repeated, tag="6")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Distance in units specifying the radius around targeted locations. - /// This is required and must be set in CREATE operations. + /// Distance in units specifying the radius around targeted locations. + /// This is required and must be set in CREATE operations. #[prost(int64, optional, tag="7")] pub radius: ::core::option::Option, - /// Unit of the radius. Miles and meters are supported for geo target - /// constants. Milli miles and meters are supported for feed item sets. - /// This is required and must be set in CREATE operations. + /// Unit of the radius. Miles and meters are supported for geo target + /// constants. Milli miles and meters are supported for feed item sets. + /// This is required and must be set in CREATE operations. #[prost(enumeration="super::enums::location_group_radius_units_enum::LocationGroupRadiusUnits", tag="4")] pub radius_units: i32, - /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - /// then all items that appear in at least one set are targeted. This field - /// cannot be used with geo_target_constants. This is optional and can only be - /// set in CREATE operations. + /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, + /// then all items that appear in at least one set are targeted. This field + /// cannot be used with geo_target_constants. This is optional and can only be + /// set in CREATE operations. #[prost(string, repeated, tag="8")] pub feed_item_sets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A custom audience criterion. +/// A custom audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceInfo { - /// The CustomAudience resource name. + /// The CustomAudience resource name. #[prost(string, tag="1")] pub custom_audience: ::prost::alloc::string::String, } -/// A combined audience criterion. +/// A combined audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceInfo { - /// The CombinedAudience resource name. + /// The CombinedAudience resource name. #[prost(string, tag="1")] pub combined_audience: ::prost::alloc::string::String, } -/// An audience criterion. +/// An audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInfo { - /// The Audience resource name. + /// The Audience resource name. #[prost(string, tag="1")] pub audience: ::prost::alloc::string::String, } -/// A Smart Campaign keyword theme. +/// A Smart Campaign keyword theme. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeInfo { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[prost(oneof="keyword_theme_info::KeywordTheme", tags="1, 2")] pub keyword_theme: ::core::option::Option, } /// Nested message and enum types in `KeywordThemeInfo`. pub mod keyword_theme_info { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum KeywordTheme { - /// The resource name of a Smart Campaign keyword theme constant. - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// The resource name of a Smart Campaign keyword theme constant. + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] KeywordThemeConstant(::prost::alloc::string::String), - /// Free-form text to be matched to a Smart Campaign keyword theme constant - /// on a best-effort basis. + /// Free-form text to be matched to a Smart Campaign keyword theme constant + /// on a best-effort basis. #[prost(string, tag="2")] FreeFormKeywordTheme(::prost::alloc::string::String), } } -// Proto file describing common feed proto messages. +// Proto file describing common feed proto messages. -/// Represents a price in a particular currency. +/// Represents a price in a particular currency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Money { - /// Three-character ISO 4217 currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="3")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Amount in micros. One million is equivalent to one unit. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub amount_micros: ::core::option::Option, } -// Proto file containing info messages for specific asset types. +// Proto file containing info messages for specific asset types. -/// A YouTube asset. +/// A YouTube asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoAsset { - /// YouTube video id. This is the 11 character string value used in the - /// YouTube video URL. + /// YouTube video id. This is the 11 character string value used in the + /// YouTube video URL. #[prost(string, optional, tag="2")] pub youtube_video_id: ::core::option::Option<::prost::alloc::string::String>, - /// YouTube video title. + /// YouTube video title. #[prost(string, tag="3")] pub youtube_video_title: ::prost::alloc::string::String, } -/// A MediaBundle asset. +/// A MediaBundle asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleAsset { - /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - /// depends on the ad field where it will be used. For more information on the - /// format, see the documentation of the ad field where you plan on using the - /// MediaBundleAsset. This field is mutate only. + /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file + /// depends on the ad field where it will be used. For more information on the + /// format, see the documentation of the ad field where you plan on using the + /// MediaBundleAsset. This field is mutate only. #[prost(bytes="vec", optional, tag="2")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, } -/// An Image asset. +/// An Image asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAsset { - /// The raw bytes data of an image. This field is mutate only. + /// The raw bytes data of an image. This field is mutate only. #[prost(bytes="vec", optional, tag="5")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// File size of the image asset in bytes. + /// File size of the image asset in bytes. #[prost(int64, optional, tag="6")] pub file_size: ::core::option::Option, - /// MIME type of the image asset. + /// MIME type of the image asset. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="3")] pub mime_type: i32, - /// Metadata for this image at its original size. + /// Metadata for this image at its original size. #[prost(message, optional, tag="4")] pub full_size: ::core::option::Option, } -/// Metadata for an image at a certain size, either original or resized. +/// Metadata for an image at a certain size, either original or resized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageDimension { - /// Height of the image. + /// Height of the image. #[prost(int64, optional, tag="4")] pub height_pixels: ::core::option::Option, - /// Width of the image. + /// Width of the image. #[prost(int64, optional, tag="5")] pub width_pixels: ::core::option::Option, - /// A URL that returns the image with this height and width. + /// A URL that returns the image with this height and width. #[prost(string, optional, tag="6")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A Text asset. +/// A Text asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAsset { - /// Text content of the text asset. + /// Text content of the text asset. #[prost(string, optional, tag="2")] pub text: ::core::option::Option<::prost::alloc::string::String>, } -/// A Lead Form asset. +/// A Lead Form asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormAsset { - /// Required. The name of the business being advertised. + /// Required. The name of the business being advertised. #[prost(string, tag="10")] pub business_name: ::prost::alloc::string::String, - /// Required. Pre-defined display text that encourages user to expand the form. + /// Required. Pre-defined display text that encourages user to expand the form. #[prost(enumeration="super::enums::lead_form_call_to_action_type_enum::LeadFormCallToActionType", tag="17")] pub call_to_action_type: i32, - /// Required. Text giving a clear value proposition of what users expect once they expand - /// the form. + /// Required. Text giving a clear value proposition of what users expect once they expand + /// the form. #[prost(string, tag="18")] pub call_to_action_description: ::prost::alloc::string::String, - /// Required. Headline of the expanded form to describe what the form is asking for or - /// facilitating. + /// Required. Headline of the expanded form to describe what the form is asking for or + /// facilitating. #[prost(string, tag="12")] pub headline: ::prost::alloc::string::String, - /// Required. Detailed description of the expanded form to describe what the form is - /// asking for or facilitating. + /// Required. Detailed description of the expanded form to describe what the form is + /// asking for or facilitating. #[prost(string, tag="13")] pub description: ::prost::alloc::string::String, - /// Required. Link to a page describing the policy on how the collected data is handled - /// by the advertiser/business. + /// Required. Link to a page describing the policy on how the collected data is handled + /// by the advertiser/business. #[prost(string, tag="14")] pub privacy_policy_url: ::prost::alloc::string::String, - /// Headline of text shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Headline of text shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="15")] pub post_submit_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Detailed description shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Detailed description shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="16")] pub post_submit_description: ::core::option::Option<::prost::alloc::string::String>, - /// Ordered list of input fields. + /// Ordered list of input fields. #[prost(message, repeated, tag="8")] pub fields: ::prost::alloc::vec::Vec, - /// Ordered list of custom question fields. + /// Ordered list of custom question fields. #[prost(message, repeated, tag="23")] pub custom_question_fields: ::prost::alloc::vec::Vec, - /// Configured methods for collected lead data to be delivered to advertiser. - /// Only one method typed as WebhookDelivery can be configured. + /// Configured methods for collected lead data to be delivered to advertiser. + /// Only one method typed as WebhookDelivery can be configured. #[prost(message, repeated, tag="9")] pub delivery_methods: ::prost::alloc::vec::Vec, - /// Pre-defined display text that encourages user action after the form is - /// submitted. + /// Pre-defined display text that encourages user action after the form is + /// submitted. #[prost(enumeration="super::enums::lead_form_post_submit_call_to_action_type_enum::LeadFormPostSubmitCallToActionType", tag="19")] pub post_submit_call_to_action_type: i32, - /// Asset resource name of the background image. The minimum size is 600x314 - /// and the aspect ratio must be 1.91:1 (+-1%). + /// Asset resource name of the background image. The minimum size is 600x314 + /// and the aspect ratio must be 1.91:1 (+-1%). #[prost(string, optional, tag="20")] pub background_image_asset: ::core::option::Option<::prost::alloc::string::String>, - /// Chosen intent for the lead form, for example, more volume or more - /// qualified. + /// Chosen intent for the lead form, for example, more volume or more + /// qualified. #[prost(enumeration="super::enums::lead_form_desired_intent_enum::LeadFormDesiredIntent", tag="21")] pub desired_intent: i32, - /// Custom disclosure shown along with Google disclaimer on the lead form. - /// Accessible to allowed customers only. + /// Custom disclosure shown along with Google disclaimer on the lead form. + /// Accessible to allowed customers only. #[prost(string, optional, tag="22")] pub custom_disclosure: ::core::option::Option<::prost::alloc::string::String>, } -/// One input field instance within a form. +/// One input field instance within a form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormField { - /// Describes the input type, which may be a predefined type such as - /// "full name" or a pre-vetted question like "Do you own a car?". + /// Describes the input type, which may be a predefined type such as + /// "full name" or a pre-vetted question like "Do you own a car?". #[prost(enumeration="super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType", tag="1")] pub input_type: i32, - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[prost(oneof="lead_form_field::Answers", tags="2")] pub answers: ::core::option::Option, } /// Nested message and enum types in `LeadFormField`. pub mod lead_form_field { - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Answers { - /// Answer configuration for a single choice question. Can be set only for - /// pre-vetted question fields. Minimum of 2 answers required and maximum of - /// 12 allowed. + /// Answer configuration for a single choice question. Can be set only for + /// pre-vetted question fields. Minimum of 2 answers required and maximum of + /// 12 allowed. #[prost(message, tag="2")] SingleChoiceAnswers(super::LeadFormSingleChoiceAnswers), } } -/// One custom question input field instance within a form. +/// One custom question input field instance within a form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormCustomQuestionField { - /// The exact custom question field text (for example, "Do you own a car?"). + /// The exact custom question field text (for example, "Do you own a car?"). #[prost(string, tag="1")] pub custom_question_text: ::prost::alloc::string::String, - /// Defines answer configuration that this form field accepts. If - /// oneof is not set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If + /// oneof is not set, this is a free-text answer. #[prost(oneof="lead_form_custom_question_field::Answers", tags="2")] pub answers: ::core::option::Option, } /// Nested message and enum types in `LeadFormCustomQuestionField`. pub mod lead_form_custom_question_field { - /// Defines answer configuration that this form field accepts. If - /// oneof is not set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If + /// oneof is not set, this is a free-text answer. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Answers { - /// Answer configuration for a single choice question. - /// Minimum of 2 answers and maximum of 12 allowed. + /// Answer configuration for a single choice question. + /// Minimum of 2 answers and maximum of 12 allowed. #[prost(message, tag="2")] SingleChoiceAnswers(super::LeadFormSingleChoiceAnswers), } } -/// Defines possible answers for a single choice question, usually presented as -/// a single-choice drop-down list. +/// Defines possible answers for a single choice question, usually presented as +/// a single-choice drop-down list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSingleChoiceAnswers { - /// List of choices for a single question field. The order of entries defines - /// UI order. Minimum of 2 answers required and maximum of 12 allowed. + /// List of choices for a single question field. The order of entries defines + /// UI order. Minimum of 2 answers required and maximum of 12 allowed. #[prost(string, repeated, tag="1")] pub answers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A configuration of how leads are delivered to the advertiser. +/// A configuration of how leads are delivered to the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDeliveryMethod { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[prost(oneof="lead_form_delivery_method::DeliveryDetails", tags="1")] pub delivery_details: ::core::option::Option, } /// Nested message and enum types in `LeadFormDeliveryMethod`. pub mod lead_form_delivery_method { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DeliveryDetails { - /// Webhook method of delivery. + /// Webhook method of delivery. #[prost(message, tag="1")] Webhook(super::WebhookDelivery), } } -/// Google notifies the advertiser of leads by making HTTP calls to an -/// endpoint they specify. The requests contain JSON matching a schema that -/// Google publishes as part of form ads documentation. +/// Google notifies the advertiser of leads by making HTTP calls to an +/// endpoint they specify. The requests contain JSON matching a schema that +/// Google publishes as part of form ads documentation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookDelivery { - /// Webhook url specified by advertiser to send the lead. + /// Webhook url specified by advertiser to send the lead. #[prost(string, optional, tag="4")] pub advertiser_webhook_url: ::core::option::Option<::prost::alloc::string::String>, - /// Anti-spoofing secret set by the advertiser as part of the webhook payload. + /// Anti-spoofing secret set by the advertiser as part of the webhook payload. #[prost(string, optional, tag="5")] pub google_secret: ::core::option::Option<::prost::alloc::string::String>, - /// The schema version that this delivery instance will use. + /// The schema version that this delivery instance will use. #[prost(int64, optional, tag="6")] pub payload_schema_version: ::core::option::Option, } -/// A Book on Google asset. Used to redirect user to book through Google. -/// Book on Google will change the redirect url to book directly through -/// Google. +/// A Book on Google asset. Used to redirect user to book through Google. +/// Book on Google will change the redirect url to book directly through +/// Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BookOnGoogleAsset { } -/// A Promotion asset. +/// A Promotion asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionAsset { - /// Required. A freeform description of what the promotion is targeting. + /// Required. A freeform description of what the promotion is targeting. #[prost(string, tag="1")] pub promotion_target: ::prost::alloc::string::String, - /// A modifier for qualification of the discount. + /// A modifier for qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="7")] pub redemption_start_date: ::prost::alloc::string::String, - /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="8")] pub redemption_end_date: ::prost::alloc::string::String, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within the - /// date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within the + /// date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, tag="10")] pub language_code: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="11")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="12")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="13")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_asset::DiscountType", tags="3, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_asset::PromotionTrigger", tags="5, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionAsset`. pub mod promotion_asset { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion. 1,000,000 = 100%. - /// Either this or money_amount_off is required. + /// Percentage off discount in the promotion. 1,000,000 = 100%. + /// Either this or money_amount_off is required. #[prost(int64, tag="3")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="5")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// A Callout asset. +/// A Callout asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutAsset { - /// Required. The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub callout_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="2")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="3")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="4")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Structured Snippet asset. +/// A Structured Snippet asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetAsset { - /// Required. The header of the snippet. - /// This string should be one of the predefined values at - /// + /// Required. The header of the snippet. + /// This string should be one of the predefined values at + /// #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The values in the snippet. - /// The size of this collection should be between 3 and 10, inclusive. - /// The length of each value should be between 1 and 25 characters, inclusive. + /// Required. The values in the snippet. + /// The size of this collection should be between 3 and 10, inclusive. + /// The length of each value should be between 1 and 25 characters, inclusive. #[prost(string, repeated, tag="2")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Sitelink asset. +/// A Sitelink asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkAsset { - /// Required. URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub link_text: ::prost::alloc::string::String, - /// First line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description2 - /// must also be set. + /// First line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description2 + /// must also be set. #[prost(string, tag="2")] pub description1: ::prost::alloc::string::String, - /// Second line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description1 - /// must also be set. + /// Second line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description1 + /// must also be set. #[prost(string, tag="3")] pub description2: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="6")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Page Feed asset. +/// A Page Feed asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PageFeedAsset { - /// Required. The webpage that advertisers want to target. + /// Required. The webpage that advertisers want to target. #[prost(string, tag="1")] pub page_url: ::prost::alloc::string::String, - /// Labels used to group the page urls. + /// Labels used to group the page urls. #[prost(string, repeated, tag="2")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dynamic Education asset. +/// A Dynamic Education asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicEducationAsset { - /// Required. Program ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Program ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub program_id: ::prost::alloc::string::String, - /// Location ID which can be any sequence of letters and digits and must be - /// unique. + /// Location ID which can be any sequence of letters and digits and must be + /// unique. #[prost(string, tag="2")] pub location_id: ::prost::alloc::string::String, - /// Required. Program name, for example, Nursing. Required. + /// Required. Program name, for example, Nursing. Required. #[prost(string, tag="3")] pub program_name: ::prost::alloc::string::String, - /// Subject of study, for example, Health. + /// Subject of study, for example, Health. #[prost(string, tag="4")] pub subject: ::prost::alloc::string::String, - /// Program description, for example, Nursing Certification. + /// Program description, for example, Nursing Certification. #[prost(string, tag="5")] pub program_description: ::prost::alloc::string::String, - /// School name, for example, Mountain View School of Nursing. + /// School name, for example, Mountain View School of Nursing. #[prost(string, tag="6")] pub school_name: ::prost::alloc::string::String, - /// School address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + /// School address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 #[prost(string, tag="7")] pub address: ::prost::alloc::string::String, - /// Contextual keywords, for example, Nursing certification, Health, Mountain - /// View. + /// Contextual keywords, for example, Nursing certification, Health, Mountain + /// View. #[prost(string, repeated, tag="8")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="9")] pub android_app_link: ::prost::alloc::string::String, - /// Similar program IDs. + /// Similar program IDs. #[prost(string, repeated, tag="10")] pub similar_program_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="11")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="12")] pub ios_app_store_id: i64, - /// Thumbnail image url, for example, The - /// thumbnail image will not be uploaded as image asset. + /// Thumbnail image url, for example, The + /// thumbnail image will not be uploaded as image asset. #[prost(string, tag="13")] pub thumbnail_image_url: ::prost::alloc::string::String, - /// Image url, for example, The image will - /// not be uploaded as image asset. + /// Image url, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="14")] pub image_url: ::prost::alloc::string::String, } -/// An asset representing a mobile app. +/// An asset representing a mobile app. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppAsset { - /// Required. A string that uniquely identifies a mobile application. It should just - /// contain the platform native id, like "com.android.ebay" for Android or - /// "12345689" for iOS. + /// Required. A string that uniquely identifies a mobile application. It should just + /// contain the platform native id, like "com.android.ebay" for Android or + /// "12345689" for iOS. #[prost(string, tag="1")] pub app_id: ::prost::alloc::string::String, - /// Required. The application store that distributes this specific app. + /// Required. The application store that distributes this specific app. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="2")] pub app_store: i32, - /// Required. The visible text displayed when the link is rendered in an ad. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The visible text displayed when the link is rendered in an ad. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="3")] pub link_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, } -/// An asset representing a hotel callout. +/// An asset representing a hotel callout. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutAsset { - /// Required. The text of the hotel callout asset. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The text of the hotel callout asset. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// Required. The language of the hotel callout. - /// Represented as BCP 47 language tag. + /// Required. The language of the hotel callout. + /// Represented as BCP 47 language tag. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// A Call asset. +/// A Call asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAsset { - /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// Indicates whether this CallAsset should use its own call conversion - /// setting, follow the account level setting, or disable call conversion. + /// Indicates whether this CallAsset should use its own call conversion + /// setting, follow the account level setting, or disable call conversion. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="3")] pub call_conversion_reporting_state: i32, - /// The conversion action to attribute a call conversion to. If not set, the - /// default conversion action is used. This field only has effect if - /// call_conversion_reporting_state is set to - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// The conversion action to attribute a call conversion to. If not set, the + /// default conversion action is used. This field only has effect if + /// call_conversion_reporting_state is set to + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. #[prost(string, tag="4")] pub call_conversion_action: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="5")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// An asset representing a list of price offers. +/// An asset representing a list of price offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceAsset { - /// Required. The type of the price asset. + /// Required. The type of the price asset. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// The price qualifier of the price asset. + /// The price qualifier of the price asset. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Required. The language of the price asset. - /// Represented as BCP 47 language tag. + /// Required. The language of the price asset. + /// Represented as BCP 47 language tag. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// The price offerings of the price asset. - /// The size of this collection should be between 3 and 8, inclusive. + /// The price offerings of the price asset. + /// The size of this collection should be between 3 and 8, inclusive. #[prost(message, repeated, tag="4")] pub price_offerings: ::prost::alloc::vec::Vec, } -/// A single price offering within a PriceAsset. +/// A single price offering within a PriceAsset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffering { - /// Required. The header of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The header of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The description of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The description of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. The price value of the price offering. + /// Required. The price value of the price offering. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// The price unit of the price offering. + /// The price unit of the price offering. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// Required. The final URL after all cross domain redirects. + /// Required. The final URL after all cross domain redirects. #[prost(string, tag="5")] pub final_url: ::prost::alloc::string::String, - /// The final mobile URL after all cross domain redirects. + /// The final mobile URL after all cross domain redirects. #[prost(string, tag="6")] pub final_mobile_url: ::prost::alloc::string::String, } -/// A call to action asset. +/// A call to action asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionAsset { - /// Call to action. + /// Call to action. #[prost(enumeration="super::enums::call_to_action_type_enum::CallToActionType", tag="1")] pub call_to_action: i32, } -/// A dynamic real estate asset. +/// A dynamic real estate asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicRealEstateAsset { - /// Required. Listing ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Listing ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub listing_id: ::prost::alloc::string::String, - /// Required. Listing name, for example, Boulevard Bungalow. Required. + /// Required. Listing name, for example, Boulevard Bungalow. Required. #[prost(string, tag="2")] pub listing_name: ::prost::alloc::string::String, - /// City name, for example, Mountain View, California. + /// City name, for example, Mountain View, California. #[prost(string, tag="3")] pub city_name: ::prost::alloc::string::String, - /// Description, for example, 3 beds, 2 baths, 1568 sq. ft. + /// Description, for example, 3 beds, 2 baths, 1568 sq. ft. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 #[prost(string, tag="5")] pub address: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 - /// USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 200,000.00 + /// USD. #[prost(string, tag="6")] pub price: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="7")] pub image_url: ::prost::alloc::string::String, - /// Property type, for example, House. + /// Property type, for example, House. #[prost(string, tag="8")] pub property_type: ::prost::alloc::string::String, - /// Listing type, for example, For sale. + /// Listing type, for example, For sale. #[prost(string, tag="9")] pub listing_type: ::prost::alloc::string::String, - /// Contextual keywords, for example, For sale; Houses for sale. + /// Contextual keywords, for example, For sale; Houses for sale. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $200,000.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $200,000.00. #[prost(string, tag="11")] pub formatted_price: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="12")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, - /// Similar listing IDs. + /// Similar listing IDs. #[prost(string, repeated, tag="15")] pub similar_listing_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic custom asset. +/// A dynamic custom asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicCustomAsset { - /// Required. ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag, for example, sedan. - /// Required. + /// Required. ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag, for example, sedan. + /// Required. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// ID2 which can be any sequence of letters and digits, for example, red. ID - /// sequence (ID + ID2) must be unique. + /// ID2 which can be any sequence of letters and digits, for example, red. ID + /// sequence (ID + ID2) must be unique. #[prost(string, tag="2")] pub id2: ::prost::alloc::string::String, - /// Required. Item title, for example, Mid-size sedan. Required. + /// Required. Item title, for example, Mid-size sedan. Required. #[prost(string, tag="3")] pub item_title: ::prost::alloc::string::String, - /// Item subtitle, for example, At your Mountain View dealership. + /// Item subtitle, for example, At your Mountain View dealership. #[prost(string, tag="4")] pub item_subtitle: ::prost::alloc::string::String, - /// Item description, for example, Best selling mid-size car. + /// Item description, for example, Best selling mid-size car. #[prost(string, tag="5")] pub item_description: ::prost::alloc::string::String, - /// Item address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + /// Item address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 #[prost(string, tag="6")] pub item_address: ::prost::alloc::string::String, - /// Item category, for example, Sedans. + /// Item category, for example, Sedans. #[prost(string, tag="7")] pub item_category: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 20,000.00 USD. #[prost(string, tag="8")] pub price: ::prost::alloc::string::String, - /// Sale price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. - /// Must be less than the 'price' field. + /// Sale price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 15,000.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="9")] pub sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $20,000.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $20,000.00. #[prost(string, tag="10")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', for example, On sale for $15,000.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', for example, On sale for $15,000.00. #[prost(string, tag="11")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="12")] pub image_url: ::prost::alloc::string::String, - /// Contextual keywords, for example, Sedans, 4 door sedans. + /// Contextual keywords, for example, Sedans, 4 door sedans. #[prost(string, repeated, tag="13")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="14")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="16")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="17")] pub ios_app_store_id: i64, - /// Similar IDs. + /// Similar IDs. #[prost(string, repeated, tag="15")] pub similar_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic hotels and rentals asset. +/// A dynamic hotels and rentals asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicHotelsAndRentalsAsset { - /// Required. Property ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Property ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub property_id: ::prost::alloc::string::String, - /// Required. Property name, for example, Mountain View Hotel. Required. + /// Required. Property name, for example, Mountain View Hotel. Required. #[prost(string, tag="2")] pub property_name: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="3")] pub image_url: ::prost::alloc::string::String, - /// Destination name, for example, Downtown Mountain View. + /// Destination name, for example, Downtown Mountain View. #[prost(string, tag="4")] pub destination_name: ::prost::alloc::string::String, - /// Description, for example, Close to SJC Airport. + /// Description, for example, Close to SJC Airport. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. + /// Price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. #[prost(string, tag="6")] pub price: ::prost::alloc::string::String, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - /// Must be less than the 'price' field. + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="7")] pub sale_price: ::prost::alloc::string::String, - /// Star rating. Must be a number between 1 to 5, inclusive. + /// Star rating. Must be a number between 1 to 5, inclusive. #[prost(int64, tag="8")] pub star_rating: i64, - /// Category, for example, Hotel suite. + /// Category, for example, Hotel suite. #[prost(string, tag="9")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. + /// Contextual keywords, for example, Mountain View "Hotels", South Bay hotels. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403 #[prost(string, tag="11")] pub address: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="12")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $100.00. #[prost(string, tag="15")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', for example, On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', for example, On sale for $80.00. #[prost(string, tag="16")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Similar property IDs. + /// Similar property IDs. #[prost(string, repeated, tag="17")] pub similar_property_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A dynamic flights asset. +/// A dynamic flights asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicFlightsAsset { - /// Required. Destination ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Destination ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub destination_id: ::prost::alloc::string::String, - /// Origin ID which can be any sequence of letters and digits. The ID sequence - /// (destination ID + origin ID) must be unique. + /// Origin ID which can be any sequence of letters and digits. The ID sequence + /// (destination ID + origin ID) must be unique. #[prost(string, tag="2")] pub origin_id: ::prost::alloc::string::String, - /// Required. Flight description, for example, Book your ticket. Required. + /// Required. Flight description, for example, Book your ticket. Required. #[prost(string, tag="3")] pub flight_description: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="4")] pub image_url: ::prost::alloc::string::String, - /// Destination name, for example, Paris. + /// Destination name, for example, Paris. #[prost(string, tag="5")] pub destination_name: ::prost::alloc::string::String, - /// Origin name, for example, London. + /// Origin name, for example, London. #[prost(string, tag="6")] pub origin_name: ::prost::alloc::string::String, - /// Flight price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. + /// Flight price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. #[prost(string, tag="7")] pub flight_price: ::prost::alloc::string::String, - /// Flight sale price which can be number followed by the alphabetic currency - /// code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - /// USD. Must be less than the 'flight_price' field. + /// Flight sale price which can be number followed by the alphabetic currency + /// code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 + /// USD. Must be less than the 'flight_price' field. #[prost(string, tag="8")] pub flight_sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $100.00. #[prost(string, tag="9")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', for example, On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', for example, On sale for $80.00. #[prost(string, tag="10")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="11")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="12")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="13")] pub ios_app_store_id: i64, - /// Similar destination IDs, for example, PAR,LON. + /// Similar destination IDs, for example, PAR,LON. #[prost(string, repeated, tag="14")] pub similar_destination_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A custom field which can be multiple key to values mapping separated by - /// delimiters (",", "|" and ":"), in the forms of - /// ": , , ... , | : , ... - /// , | ... | : , ... ," for example, wifi: - /// most | aircraft: 320, 77W | flights: 42 | legroom: 32". + /// A custom field which can be multiple key to values mapping separated by + /// delimiters (",", "|" and ":"), in the forms of + /// ": , , ... , | : , ... + /// , | ... | : , ... ," for example, wifi: + /// most | aircraft: 320, 77W | flights: 42 | legroom: 32". #[prost(string, tag="15")] pub custom_mapping: ::prost::alloc::string::String, } -/// A Discovery Carousel Card asset. +/// A Discovery Carousel Card asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryCarouselCardAsset { - /// Asset resource name of the associated 1.91:1 marketing image. This and/or - /// square marketing image asset is required. + /// Asset resource name of the associated 1.91:1 marketing image. This and/or + /// square marketing image asset is required. #[prost(string, tag="1")] pub marketing_image_asset: ::prost::alloc::string::String, - /// Asset resource name of the associated square marketing image. This - /// and/or a marketing image asset is required. + /// Asset resource name of the associated square marketing image. This + /// and/or a marketing image asset is required. #[prost(string, tag="2")] pub square_marketing_image_asset: ::prost::alloc::string::String, - /// Asset resource name of the associated 4:5 portrait marketing image. + /// Asset resource name of the associated 4:5 portrait marketing image. #[prost(string, tag="3")] pub portrait_marketing_image_asset: ::prost::alloc::string::String, - /// Required. Headline of the carousel card. + /// Required. Headline of the carousel card. #[prost(string, tag="4")] pub headline: ::prost::alloc::string::String, - /// Call to action text. + /// Call to action text. #[prost(string, tag="5")] pub call_to_action_text: ::prost::alloc::string::String, } -/// A dynamic travel asset. +/// A dynamic travel asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicTravelAsset { - /// Required. Destination ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Destination ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub destination_id: ::prost::alloc::string::String, - /// Origin ID which can be any sequence of letters and digits. The ID sequence - /// (destination ID + origin ID) must be unique. + /// Origin ID which can be any sequence of letters and digits. The ID sequence + /// (destination ID + origin ID) must be unique. #[prost(string, tag="2")] pub origin_id: ::prost::alloc::string::String, - /// Required. Title, for example, Book your train ticket. Required. + /// Required. Title, for example, Book your train ticket. Required. #[prost(string, tag="3")] pub title: ::prost::alloc::string::String, - /// Destination name, for example, Paris. + /// Destination name, for example, Paris. #[prost(string, tag="4")] pub destination_name: ::prost::alloc::string::String, - /// Destination address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + /// Destination address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. #[prost(string, tag="5")] pub destination_address: ::prost::alloc::string::String, - /// Origin name, for example, London. + /// Origin name, for example, London. #[prost(string, tag="6")] pub origin_name: ::prost::alloc::string::String, - /// Price which can be a number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. + /// Price which can be a number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. #[prost(string, tag="7")] pub price: ::prost::alloc::string::String, - /// Sale price which can be a number followed by the alphabetic currency - /// code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 - /// USD. Must be less than the 'price' field. + /// Sale price which can be a number followed by the alphabetic currency + /// code, ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 + /// USD. Must be less than the 'price' field. #[prost(string, tag="8")] pub sale_price: ::prost::alloc::string::String, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $100.00. #[prost(string, tag="9")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', for example, On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', for example, On sale for $80.00. #[prost(string, tag="10")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Category, for example, Express. + /// Category, for example, Express. #[prost(string, tag="11")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, for example, Paris trains. + /// Contextual keywords, for example, Paris trains. #[prost(string, repeated, tag="12")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Similar destination IDs, for example, NYC. + /// Similar destination IDs, for example, NYC. #[prost(string, repeated, tag="13")] pub similar_destination_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="14")] pub image_url: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="15")] pub android_app_link: ::prost::alloc::string::String, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="16")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="17")] pub ios_app_store_id: i64, } -/// A dynamic local asset. +/// A dynamic local asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLocalAsset { - /// Required. Deal ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Deal ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub deal_id: ::prost::alloc::string::String, - /// Required. Deal name, for example, 50% off at Mountain View Grocers. Required. + /// Required. Deal name, for example, 50% off at Mountain View Grocers. Required. #[prost(string, tag="2")] pub deal_name: ::prost::alloc::string::String, - /// Subtitle, for example, Groceries. + /// Subtitle, for example, Groceries. #[prost(string, tag="3")] pub subtitle: ::prost::alloc::string::String, - /// Description, for example, Save on your weekly bill. + /// Description, for example, Save on your weekly bill. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Price which can be a number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. + /// Price which can be a number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 100.00 USD. #[prost(string, tag="5")] pub price: ::prost::alloc::string::String, - /// Sale price which can be number followed by the alphabetic currency code, - /// ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. - /// Must be less than the 'price' field. + /// Sale price which can be number followed by the alphabetic currency code, + /// ISO 4217 standard. Use '.' as the decimal mark, for example, 80.00 USD. + /// Must be less than the 'price' field. #[prost(string, tag="6")] pub sale_price: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="7")] pub image_url: ::prost::alloc::string::String, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. #[prost(string, tag="8")] pub address: ::prost::alloc::string::String, - /// Category, for example, Food. + /// Category, for example, Food. #[prost(string, tag="9")] pub category: ::prost::alloc::string::String, - /// Contextual keywords, for example, Save groceries coupons. + /// Contextual keywords, for example, Save groceries coupons. #[prost(string, repeated, tag="10")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Formatted price which can be any characters. If set, this attribute will be - /// used instead of 'price', for example, Starting at $100.00. + /// Formatted price which can be any characters. If set, this attribute will be + /// used instead of 'price', for example, Starting at $100.00. #[prost(string, tag="11")] pub formatted_price: ::prost::alloc::string::String, - /// Formatted sale price which can be any characters. If set, this attribute - /// will be used instead of 'sale price', for example, On sale for $80.00. + /// Formatted sale price which can be any characters. If set, this attribute + /// will be used instead of 'sale price', for example, On sale for $80.00. #[prost(string, tag="12")] pub formatted_sale_price: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="13")] pub android_app_link: ::prost::alloc::string::String, - /// Similar deal IDs, for example, 1275. + /// Similar deal IDs, for example, 1275. #[prost(string, repeated, tag="14")] pub similar_deal_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="15")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="16")] pub ios_app_store_id: i64, } -/// A dynamic jobs asset. +/// A dynamic jobs asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicJobsAsset { - /// Required. Job ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Job ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub job_id: ::prost::alloc::string::String, - /// Location ID which can be any sequence of letters and digits. The ID - /// sequence (job ID + location ID) must be unique. + /// Location ID which can be any sequence of letters and digits. The ID + /// sequence (job ID + location ID) must be unique. #[prost(string, tag="2")] pub location_id: ::prost::alloc::string::String, - /// Required. Job title, for example, Software engineer. Required. + /// Required. Job title, for example, Software engineer. Required. #[prost(string, tag="3")] pub job_title: ::prost::alloc::string::String, - /// Job subtitle, for example, Level II. + /// Job subtitle, for example, Level II. #[prost(string, tag="4")] pub job_subtitle: ::prost::alloc::string::String, - /// Description, for example, Apply your technical skills. + /// Description, for example, Apply your technical skills. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Image URL, for example, The image will - /// not be uploaded as image asset. + /// Image URL, for example, The image will + /// not be uploaded as image asset. #[prost(string, tag="6")] pub image_url: ::prost::alloc::string::String, - /// Job category, for example, Technical. + /// Job category, for example, Technical. #[prost(string, tag="7")] pub job_category: ::prost::alloc::string::String, - /// Contextual keywords, for example, Software engineering job. + /// Contextual keywords, for example, Software engineering job. #[prost(string, repeated, tag="8")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Address which can be specified in one of the following formats. - /// (1) City, state, code, country, for example, Mountain View, CA, USA. - /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. + /// Address which can be specified in one of the following formats. + /// (1) City, state, code, country, for example, Mountain View, CA, USA. + /// (2) Full address, for example, 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, for example, 41.40338, 2.17403. #[prost(string, tag="9")] pub address: ::prost::alloc::string::String, - /// Salary, for example, $100,000. + /// Salary, for example, $100,000. #[prost(string, tag="10")] pub salary: ::prost::alloc::string::String, - /// Android deep link, for example, - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, for example, + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="11")] pub android_app_link: ::prost::alloc::string::String, - /// Similar job IDs, for example, 1275. + /// Similar job IDs, for example, 1275. #[prost(string, repeated, tag="12")] pub similar_job_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, for example, exampleApp://content/page. + /// iOS deep link, for example, exampleApp://content/page. #[prost(string, tag="13")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="14")] pub ios_app_store_id: i64, } -// Proto file describing asset usage. +// Proto file describing asset usage. -/// Contains the usage information of the asset. +/// Contains the usage information of the asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetUsage { - /// Resource name of the asset. + /// Resource name of the asset. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// The served field type of the asset. + /// The served field type of the asset. #[prost(enumeration="super::enums::served_asset_field_type_enum::ServedAssetFieldType", tag="2")] pub served_asset_field_type: i32, } -/// Positive dimension specifying user's audience. +/// Positive dimension specifying user's audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceDimension { - /// Dimension specifying users who belong to the audience. + /// Dimension specifying users who belong to the audience. #[prost(oneof="audience_dimension::Dimension", tags="1, 2, 3, 4, 5")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `AudienceDimension`. pub mod audience_dimension { - /// Dimension specifying users who belong to the audience. + /// Dimension specifying users who belong to the audience. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Dimension specifying users by their age. + /// Dimension specifying users by their age. #[prost(message, tag="1")] Age(super::AgeDimension), - /// Dimension specifying users by their gender. + /// Dimension specifying users by their gender. #[prost(message, tag="2")] Gender(super::GenderDimension), - /// Dimension specifying users by their household income. + /// Dimension specifying users by their household income. #[prost(message, tag="3")] HouseholdIncome(super::HouseholdIncomeDimension), - /// Dimension specifying users by their parental status. + /// Dimension specifying users by their parental status. #[prost(message, tag="4")] ParentalStatus(super::ParentalStatusDimension), - /// Dimension specifying users by their membership in other audience - /// segments. + /// Dimension specifying users by their membership in other audience + /// segments. #[prost(message, tag="5")] AudienceSegments(super::AudienceSegmentDimension), } } -/// Negative dimension specifying users to exclude from the audience. +/// Negative dimension specifying users to exclude from the audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceExclusionDimension { - /// Audience segment to be excluded. + /// Audience segment to be excluded. #[prost(message, repeated, tag="1")] pub exclusions: ::prost::alloc::vec::Vec, } -/// An audience segment to be excluded from an audience. +/// An audience segment to be excluded from an audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExclusionSegment { - /// Segment to be excluded. + /// Segment to be excluded. #[prost(oneof="exclusion_segment::Segment", tags="1")] pub segment: ::core::option::Option, } /// Nested message and enum types in `ExclusionSegment`. pub mod exclusion_segment { - /// Segment to be excluded. + /// Segment to be excluded. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Segment { - /// User list segment to be excluded. + /// User list segment to be excluded. #[prost(message, tag="1")] UserList(super::UserListSegment), } } -/// Dimension specifying users by their age. +/// Dimension specifying users by their age. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeDimension { - /// Contiguous age range to be included in the dimension. + /// Contiguous age range to be included in the dimension. #[prost(message, repeated, tag="1")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Include users whose age is not determined. + /// Include users whose age is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Contiguous age range. +/// Contiguous age range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeSegment { - /// Minimum age to include. A minimum age must be specified and must be at - /// least 18. Allowed values are 18, 25, 35, 45, 55, and 65. + /// Minimum age to include. A minimum age must be specified and must be at + /// least 18. Allowed values are 18, 25, 35, 45, 55, and 65. #[prost(int32, optional, tag="1")] pub min_age: ::core::option::Option, - /// Maximum age to include. A maximum age need not be specified. If specified, - /// max_age must be greater than min_age, and allowed values are 24, 34, 44, - /// 54, and 64. + /// Maximum age to include. A maximum age need not be specified. If specified, + /// max_age must be greater than min_age, and allowed values are 24, 34, 44, + /// 54, and 64. #[prost(int32, optional, tag="2")] pub max_age: ::core::option::Option, } -/// Dimension specifying users by their gender. +/// Dimension specifying users by their gender. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderDimension { - /// Included gender demographic segments. + /// Included gender demographic segments. #[prost(enumeration="super::enums::gender_type_enum::GenderType", repeated, tag="1")] pub genders: ::prost::alloc::vec::Vec, - /// Include users whose gender is not determined. + /// Include users whose gender is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their household income. +/// Dimension specifying users by their household income. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HouseholdIncomeDimension { - /// Included household income demographic segments. + /// Included household income demographic segments. #[prost(enumeration="super::enums::income_range_type_enum::IncomeRangeType", repeated, tag="1")] pub income_ranges: ::prost::alloc::vec::Vec, - /// Include users whose household income is not determined. + /// Include users whose household income is not determined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their parental status. +/// Dimension specifying users by their parental status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusDimension { - /// Included parental status demographic segments. + /// Included parental status demographic segments. #[prost(enumeration="super::enums::parental_status_type_enum::ParentalStatusType", repeated, tag="1")] pub parental_statuses: ::prost::alloc::vec::Vec, - /// Include users whose parental status is undetermined. + /// Include users whose parental status is undetermined. #[prost(bool, optional, tag="2")] pub include_undetermined: ::core::option::Option, } -/// Dimension specifying users by their membership in other audience segments. +/// Dimension specifying users by their membership in other audience segments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSegmentDimension { - /// Included audience segments. Users are included if they belong to at least - /// one segment. + /// Included audience segments. Users are included if they belong to at least + /// one segment. #[prost(message, repeated, tag="1")] pub segments: ::prost::alloc::vec::Vec, } -/// Positive audience segment. +/// Positive audience segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSegment { - /// Positive segment. + /// Positive segment. #[prost(oneof="audience_segment::Segment", tags="1, 2, 3, 4, 5")] pub segment: ::core::option::Option, } /// Nested message and enum types in `AudienceSegment`. pub mod audience_segment { - /// Positive segment. + /// Positive segment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Segment { - /// User list segment. + /// User list segment. #[prost(message, tag="1")] UserList(super::UserListSegment), - /// Affinity or In-market segment. + /// Affinity or In-market segment. #[prost(message, tag="2")] UserInterest(super::UserInterestSegment), - /// Live-event audience segment. + /// Live-event audience segment. #[prost(message, tag="3")] LifeEvent(super::LifeEventSegment), - /// Detailed demographic segment. + /// Detailed demographic segment. #[prost(message, tag="4")] DetailedDemographic(super::DetailedDemographicSegment), - /// Custom audience segment. + /// Custom audience segment. #[prost(message, tag="5")] CustomAudience(super::CustomAudienceSegment), } } -/// User list segment. +/// User list segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListSegment { - /// The user list resource. + /// The user list resource. #[prost(string, optional, tag="1")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// User interest segment. +/// User interest segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestSegment { - /// The user interest resource. + /// The user interest resource. #[prost(string, optional, tag="1")] pub user_interest_category: ::core::option::Option<::prost::alloc::string::String>, } -/// Live event segment. +/// Live event segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifeEventSegment { - /// The life event resource. + /// The life event resource. #[prost(string, optional, tag="1")] pub life_event: ::core::option::Option<::prost::alloc::string::String>, } -/// Detailed demographic segment. +/// Detailed demographic segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailedDemographicSegment { - /// The detailed demographic resource. + /// The detailed demographic resource. #[prost(string, optional, tag="1")] pub detailed_demographic: ::core::option::Option<::prost::alloc::string::String>, } -/// Custom audience segment. +/// Custom audience segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceSegment { - /// The custom audience resource. + /// The custom audience resource. #[prost(string, optional, tag="1")] pub custom_audience: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Commission is an automatic bidding strategy in which the advertiser pays a -/// certain portion of the conversion value. +/// Commission is an automatic bidding strategy in which the advertiser pays a +/// certain portion of the conversion value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Commission { - /// Commission rate defines the portion of the conversion value that the - /// advertiser will be billed. A commission rate of x should be passed into - /// this field as (x * 1,000,000). For example, 106,000 represents a commission - /// rate of 0.106 (10.6%). + /// Commission rate defines the portion of the conversion value that the + /// advertiser will be billed. A commission rate of x should be passed into + /// this field as (x * 1,000,000). For example, 106,000 represents a commission + /// rate of 0.106 (10.6%). #[prost(int64, optional, tag="2")] pub commission_rate_micros: ::core::option::Option, } -/// An automated bidding strategy that raises bids for clicks -/// that seem more likely to lead to a conversion and lowers -/// them for clicks where they seem less likely. +/// An automated bidding strategy that raises bids for clicks +/// that seem more likely to lead to a conversion and lowers +/// them for clicks where they seem less likely. /// -/// This bidding strategy is deprecated and cannot be created anymore. Use -/// ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. +/// This bidding strategy is deprecated and cannot be created anymore. Use +/// ManualCpc with enhanced_cpc_enabled set to true for equivalent functionality. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpc { } -/// Manual bidding strategy that allows advertiser to set the bid per -/// advertiser-specified action. +/// Manual bidding strategy that allows advertiser to set the bid per +/// advertiser-specified action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpa { } -/// Manual click-based bidding where user pays per click. +/// Manual click-based bidding where user pays per click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpc { - /// Whether bids are to be enhanced based on conversion optimizer data. + /// Whether bids are to be enhanced based on conversion optimizer data. #[prost(bool, optional, tag="2")] pub enhanced_cpc_enabled: ::core::option::Option, } -/// Manual impression-based bidding where user pays per thousand impressions. +/// Manual impression-based bidding where user pays per thousand impressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpm { } -/// View based bidding where user pays per video view. +/// View based bidding where user pays per video view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpv { } -/// An automated bidding strategy to help get the most conversions for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversions for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="2")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_floor_micros: i64, - /// The target cost-per-action (CPA) option. This is the average amount that - /// you would like to spend per conversion action specified in micro units of - /// the bidding strategy's currency. If set, the bid strategy will get as many - /// conversions as possible at or below the target cost-per-action. If the - /// target CPA is not set, the bid strategy will aim to achieve the lowest - /// possible CPA given the budget. + /// The target cost-per-action (CPA) option. This is the average amount that + /// you would like to spend per conversion action specified in micro units of + /// the bidding strategy's currency. If set, the bid strategy will get as many + /// conversions as possible at or below the target cost-per-action. If the + /// target CPA is not set, the bid strategy will aim to achieve the lowest + /// possible CPA given the budget. #[prost(int64, tag="4")] pub target_cpa_micros: i64, } -/// An automated bidding strategy to help get the most conversion value for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversion value for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// The target return on ad spend (ROAS) option. If set, the bid strategy will - /// maximize revenue while averaging the target return on ad spend. If the - /// target ROAS is high, the bid strategy may not be able to spend the full - /// budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// The target return on ad spend (ROAS) option. If set, the bid strategy will + /// maximize revenue while averaging the target return on ad spend. If the + /// target ROAS is high, the bid strategy may not be able to spend the full + /// budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="2")] pub target_roas: f64, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="4")] pub cpc_bid_floor_micros: i64, } -/// An automated bid strategy that sets bids to help get as many conversions as -/// possible at the target cost-per-acquisition (CPA) you set. +/// An automated bid strategy that sets bids to help get as many conversions as +/// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Average CPA target. - /// This target should be greater than or equal to minimum billable unit based - /// on the currency for the account. + /// Average CPA target. + /// This target should be greater than or equal to minimum billable unit based + /// on the currency for the account. #[prost(int64, optional, tag="4")] pub target_cpa_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// Target CPM (cost per thousand impressions) is an automated bidding strategy -/// that sets bids to optimize performance given the target CPM you set. +/// Target CPM (cost per thousand impressions) is an automated bidding strategy +/// that sets bids to optimize performance given the target CPM you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpm { } -/// An automated bidding strategy that sets bids so that a certain percentage of -/// search ads are shown at the top of the first page (or other targeted -/// location). +/// An automated bidding strategy that sets bids so that a certain percentage of +/// search ads are shown at the top of the first page (or other targeted +/// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// The targeted location on the search results page. + /// The targeted location on the search results page. #[prost(enumeration="super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The chosen fraction of ads to be shown in the targeted location in micros. - /// For example, 1% equals 10,000. + /// The chosen fraction of ads to be shown in the targeted location in micros. + /// For example, 1% equals 10,000. #[prost(int64, optional, tag="4")] pub location_fraction_micros: ::core::option::Option, - /// The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// An automated bidding strategy that helps you maximize revenue while -/// averaging a specific target return on ad spend (ROAS). +/// An automated bidding strategy that helps you maximize revenue while +/// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Required. The chosen revenue (based on conversion data) per unit of spend. - /// Value must be between 0.01 and 1000.0, inclusive. + /// Required. The chosen revenue (based on conversion data) per unit of spend. + /// Value must be between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="4")] pub target_roas: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// An automated bid strategy that sets your bids to help get as many clicks -/// as possible within your budget. +/// An automated bid strategy that sets your bids to help get as many clicks +/// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="3")] pub target_spend_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="4")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// A bidding strategy where bids are a fraction of the advertised price for -/// some good or service. +/// A bidding strategy where bids are a fraction of the advertised price for +/// some good or service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpc { - /// Maximum bid limit that can be set by the bid strategy. This is - /// an optional field entered by the advertiser and specified in local micros. - /// Note: A zero value is interpreted in the same way as having bid_ceiling - /// undefined. + /// Maximum bid limit that can be set by the bid strategy. This is + /// an optional field entered by the advertiser and specified in local micros. + /// Note: A zero value is interpreted in the same way as having bid_ceiling + /// undefined. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Adjusts the bid for each auction upward or downward, depending on the - /// likelihood of a conversion. Individual bids may exceed - /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should - /// not. + /// Adjusts the bid for each auction upward or downward, depending on the + /// likelihood of a conversion. Individual bids may exceed + /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should + /// not. #[prost(bool, optional, tag="4")] pub enhanced_cpc_enabled: ::core::option::Option, } -// Proto file describing a ClickLocation. +// Proto file describing a ClickLocation. -/// Location criteria associated with a click. +/// Location criteria associated with a click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickLocation { - /// The city location criterion associated with the impression. + /// The city location criterion associated with the impression. #[prost(string, optional, tag="6")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// The country location criterion associated with the impression. + /// The country location criterion associated with the impression. #[prost(string, optional, tag="7")] pub country: ::core::option::Option<::prost::alloc::string::String>, - /// The metro location criterion associated with the impression. + /// The metro location criterion associated with the impression. #[prost(string, optional, tag="8")] pub metro: ::core::option::Option<::prost::alloc::string::String>, - /// The most specific location criterion associated with the impression. + /// The most specific location criterion associated with the impression. #[prost(string, optional, tag="9")] pub most_specific: ::core::option::Option<::prost::alloc::string::String>, - /// The region location criterion associated with the impression. + /// The region location criterion associated with the impression. #[prost(string, optional, tag="10")] pub region: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing criterion category availability information. +// Proto file describing criterion category availability information. -/// Information of category availability, per advertising channel. +/// Information of category availability, per advertising channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryAvailability { - /// Channel types and subtypes that are available to the category. + /// Channel types and subtypes that are available to the category. #[prost(message, optional, tag="1")] pub channel: ::core::option::Option, - /// Locales that are available to the category for the channel. + /// Locales that are available to the category for the channel. #[prost(message, repeated, tag="2")] pub locale: ::prost::alloc::vec::Vec, } -/// Information of advertising channel type and subtypes a category is available -/// in. +/// Information of advertising channel type and subtypes a category is available +/// in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailability { - /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the - /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - /// will be set, the category is available to all sub types under it) or - /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - /// advertising_channel_sub_type, and include_default_channel_sub_type will all - /// be set). + /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the + /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type + /// will be set, the category is available to all sub types under it) or + /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + /// advertising_channel_sub_type, and include_default_channel_sub_type will all + /// be set). #[prost(enumeration="super::enums::criterion_category_channel_availability_mode_enum::CriterionCategoryChannelAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Channel type the category is available to. + /// Channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="2")] pub advertising_channel_type: i32, - /// Channel subtypes under the channel type the category is available to. + /// Channel subtypes under the channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", repeated, tag="3")] pub advertising_channel_sub_type: ::prost::alloc::vec::Vec, - /// Whether default channel sub type is included. For example, - /// advertising_channel_type being DISPLAY and include_default_channel_sub_type - /// being false means that the default display campaign where channel sub type - /// is not set is not included in this availability configuration. + /// Whether default channel sub type is included. For example, + /// advertising_channel_type being DISPLAY and include_default_channel_sub_type + /// being false means that the default display campaign where channel sub type + /// is not set is not included in this availability configuration. #[prost(bool, optional, tag="5")] pub include_default_channel_sub_type: ::core::option::Option, } -/// Information about which locales a category is available in. +/// Information about which locales a category is available in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailability { - /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only - /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - /// be set). + /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and + /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only + /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will + /// be set). #[prost(enumeration="super::enums::criterion_category_locale_availability_mode_enum::CriterionCategoryLocaleAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Code of the country. + /// Code of the country. #[prost(string, optional, tag="4")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Code of the language. + /// Code of the language. #[prost(string, optional, tag="5")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing CustomParameter and operation +// Proto file describing CustomParameter and operation -/// A mapping that can be used by custom parameter tags in a -/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. +/// A mapping that can be used by custom parameter tags in a +/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomParameter { - /// The key matching the parameter tag name. + /// The key matching the parameter tag name. #[prost(string, optional, tag="3")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be substituted. + /// The value to be substituted. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing common customizer value proto messages. +// Proto file describing common customizer value proto messages. -/// A customizer value that is referenced in customizer linkage entities -/// like CustomerCustomizer, CampaignCustomizer, etc. +/// A customizer value that is referenced in customizer linkage entities +/// like CustomerCustomizer, CampaignCustomizer, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValue { - /// Required. The data type for the customizer value. It must match the attribute type. - /// The string_value content must match the constraints associated with the - /// type. + /// Required. The data type for the customizer value. It must match the attribute type. + /// The string_value content must match the constraints associated with the + /// type. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="1")] pub r#type: i32, - /// Required. Value to insert in creative text. Customizer values of all types are stored - /// as string to make formatting unambiguous. + /// Required. Value to insert in creative text. Customizer values of all types are stored + /// as string to make formatting unambiguous. #[prost(string, tag="2")] pub string_value: ::prost::alloc::string::String, } -// Proto file describing date range message. +// Proto file describing date range message. -/// A date range. +/// A date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="3")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The end date, in yyyy-mm-dd format. This date is inclusive. + /// The end date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="4")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -/// The year month range inclusive of the start and end months. -/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). +/// The year month range inclusive of the start and end months. +/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonthRange { - /// The inclusive start year month. + /// The inclusive start year month. #[prost(message, optional, tag="1")] pub start: ::core::option::Option, - /// The inclusive end year month. + /// The inclusive end year month. #[prost(message, optional, tag="2")] pub end: ::core::option::Option, } -/// Year month. +/// Year month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonth { - /// The year (for example, 2020). + /// The year (for example, 2020). #[prost(int64, tag="1")] pub year: i64, - /// The month of the year. (for example, FEBRUARY). + /// The month of the year. (for example, FEBRUARY). #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, } -// Proto file describing ExplorerAutoOptimizerSetting +// Proto file describing ExplorerAutoOptimizerSetting -/// Settings for the Display Campaign Optimizer, initially named "Explorer". -/// Learn more about -/// [automatic targeting](). +/// Settings for the Display Campaign Optimizer, initially named "Explorer". +/// Learn more about +/// [automatic targeting](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplorerAutoOptimizerSetting { - /// Indicates whether the optimizer is turned on. + /// Indicates whether the optimizer is turned on. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing extension types. +// Proto file describing extension types. -/// Represents an App extension. +/// Represents an App extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppFeedItem { - /// The visible text displayed when the link is rendered in an ad. - /// This string must not be empty, and the length of this string should - /// be between 1 and 25, inclusive. + /// The visible text displayed when the link is rendered in an ad. + /// This string must not be empty, and the length of this string should + /// be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// The store-specific ID for the target application. - /// This string must not be empty. + /// The store-specific ID for the target application. + /// This string must not be empty. #[prost(string, optional, tag="10")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The application store that the target application belongs to. - /// This field is required. + /// The application store that the target application belongs to. + /// This field is required. #[prost(enumeration="super::enums::app_store_enum::AppStore", tag="3")] pub app_store: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This list must not be empty. + /// A list of possible final URLs after all cross domain redirects. + /// This list must not be empty. #[prost(string, repeated, tag="11")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. Default value is "{lpurl}". + /// URL template for constructing a tracking URL. Default value is "{lpurl}". #[prost(string, optional, tag="13")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="14")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Call extension. +/// Represents a Call extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallFeedItem { - /// The advertiser's phone number to append to the ad. - /// This string must not be empty. + /// The advertiser's phone number to append to the ad. + /// This string must not be empty. #[prost(string, optional, tag="7")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This string must not be empty. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This string must not be empty. #[prost(string, optional, tag="8")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether call tracking is enabled. By default, call tracking is - /// not enabled. + /// Indicates whether call tracking is enabled. By default, call tracking is + /// not enabled. #[prost(bool, optional, tag="9")] pub call_tracking_enabled: ::core::option::Option, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// call_tracking_enabled is set to true. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// call_tracking_enabled is set to true. Otherwise this field is ignored. #[prost(string, optional, tag="10")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// If true, disable call conversion tracking. call_conversion_action should - /// not be set if this is true. Optional. + /// If true, disable call conversion tracking. call_conversion_action should + /// not be set if this is true. Optional. #[prost(bool, optional, tag="11")] pub call_conversion_tracking_disabled: ::core::option::Option, - /// Enum value that indicates whether this call extension uses its own call - /// conversion setting (or just have call conversion disabled), or following - /// the account level setting. + /// Enum value that indicates whether this call extension uses its own call + /// conversion setting (or just have call conversion disabled), or following + /// the account level setting. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="6")] pub call_conversion_reporting_state: i32, } -/// Represents a callout extension. +/// Represents a callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="2")] pub callout_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a location extension. +/// Represents a location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="9")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="10")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="11")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="12")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="13")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="14")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="15")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="16")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an affiliate location extension. +/// Represents an affiliate location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="11")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="12")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="13")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="14")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="15")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="16")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="17")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="18")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Id of the retail chain that is advertised as a seller of your product. + /// Id of the retail chain that is advertised as a seller of your product. #[prost(int64, optional, tag="19")] pub chain_id: ::core::option::Option, - /// Name of chain. + /// Name of chain. #[prost(string, optional, tag="20")] pub chain_name: ::core::option::Option<::prost::alloc::string::String>, } -/// An extension that users can click on to send a text message to the -/// advertiser. +/// An extension that users can click on to send a text message to the +/// advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextMessageFeedItem { - /// The business name to prepend to the message text. - /// This field is required. + /// The business name to prepend to the message text. + /// This field is required. #[prost(string, optional, tag="6")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This field is required. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This field is required. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The advertiser's phone number the message will be sent to. Required. + /// The advertiser's phone number the message will be sent to. Required. #[prost(string, optional, tag="8")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// The text to show in the ad. - /// This field is required. + /// The text to show in the ad. + /// This field is required. #[prost(string, optional, tag="9")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The message extension_text populated in the messaging app. + /// The message extension_text populated in the messaging app. #[prost(string, optional, tag="10")] pub extension_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Price extension. +/// Represents a Price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceFeedItem { - /// Price extension type of this extension. + /// Price extension type of this extension. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// Price qualifier for all offers of this price extension. + /// Price qualifier for all offers of this price extension. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="7")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The code of the language used for this price extension. + /// The code of the language used for this price extension. #[prost(string, optional, tag="8")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// The price offerings in this price extension. + /// The price offerings in this price extension. #[prost(message, repeated, tag="5")] pub price_offerings: ::prost::alloc::vec::Vec, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="9")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents one price offer in a price extension. +/// Represents one price offer in a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffer { - /// Header text of this offer. + /// Header text of this offer. #[prost(string, optional, tag="7")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// Description text of this offer. + /// Description text of this offer. #[prost(string, optional, tag="8")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Price value of this offer. + /// Price value of this offer. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// Price unit for this offer. + /// Price unit for this offer. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="9")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="10")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Promotion extension. +/// Represents a Promotion extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionFeedItem { - /// A freeform description of what the promotion is targeting. - /// This field is required. + /// A freeform description of what the promotion is targeting. + /// This field is required. #[prost(string, optional, tag="16")] pub promotion_target: ::core::option::Option<::prost::alloc::string::String>, - /// Enum that modifies the qualification of the discount. + /// Enum that modifies the qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed. + /// Start date of when the promotion is eligible to be redeemed. #[prost(string, optional, tag="19")] pub promotion_start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Last date when the promotion is eligible to be redeemed. + /// Last date when the promotion is eligible to be redeemed. #[prost(string, optional, tag="20")] pub promotion_end_date: ::core::option::Option<::prost::alloc::string::String>, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within - /// the date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within + /// the date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This field is required. + /// A list of possible final URLs after all cross domain redirects. + /// This field is required. #[prost(string, repeated, tag="21")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="22")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="13")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, optional, tag="25")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_feed_item::DiscountType", tags="17, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_feed_item::PromotionTrigger", tags="18, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionFeedItem`. pub mod promotion_feed_item { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion in micros. - /// One million is equivalent to one percent. - /// Either this or money_off_amount is required. + /// Percentage off discount in the promotion in micros. + /// One million is equivalent to one percent. + /// Either this or money_off_amount is required. #[prost(int64, tag="17")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="18")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// Represents a structured snippet extension. +/// Represents a structured snippet extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetFeedItem { - /// The header of the snippet. - /// This string must not be empty. + /// The header of the snippet. + /// This string must not be empty. #[prost(string, optional, tag="3")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// The values in the snippet. - /// The maximum size of this collection is 10. + /// The values in the snippet. + /// The maximum size of this collection is 10. #[prost(string, repeated, tag="4")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a sitelink extension. +/// Represents a sitelink extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkFeedItem { - /// URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// First line of the description for the sitelink. - /// If this value is set, line2 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// First line of the description for the sitelink. + /// If this value is set, line2 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="10")] pub line1: ::core::option::Option<::prost::alloc::string::String>, - /// Second line of the description for the sitelink. - /// If this value is set, line1 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// Second line of the description for the sitelink. + /// If this value is set, line1 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="11")] pub line2: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="13")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="14")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Final URL suffix to be appended to landing page URLs served with - /// parallel tracking. + /// Final URL suffix to be appended to landing page URLs served with + /// parallel tracking. #[prost(string, optional, tag="15")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a hotel callout extension. +/// Represents a hotel callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the hotel callout text. - /// IETF BCP 47 compliant language code. + /// The language of the hotel callout text. + /// IETF BCP 47 compliant language code. #[prost(string, optional, tag="4")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an advertiser provided image extension. +/// Represents an advertiser provided image extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageFeedItem { - /// Required. Resource name of the image asset. + /// Required. Resource name of the image asset. #[prost(string, tag="1")] pub image_asset: ::prost::alloc::string::String, } -/// Represents a filter on locations in a feed item set. -/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. +/// Represents a filter on locations in a feed item set. +/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLocationSetFilter { - /// If multiple labels are set, then only feeditems marked with all the labels - /// will be added to the FeedItemSet. + /// If multiple labels are set, then only feeditems marked with all the labels + /// will be added to the FeedItemSet. #[prost(string, repeated, tag="1")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Business name filter. + /// Business name filter. #[prost(message, optional, tag="2")] pub business_name_filter: ::core::option::Option, } -/// Represents a business name filter on locations in a FeedItemSet. +/// Represents a business name filter on locations in a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessNameFilter { - /// Business name string to use for filtering. + /// Business name string to use for filtering. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, - /// The type of string matching to use when filtering with business_name. + /// The type of string matching to use when filtering with business_name. #[prost(enumeration="super::enums::feed_item_set_string_filter_type_enum::FeedItemSetStringFilterType", tag="2")] pub filter_type: i32, } -/// Represents a filter on affiliate locations in a FeedItemSet. -/// Only applicable if the parent Feed of the FeedItemSet is an -/// AFFILIATE_LOCATION feed. +/// Represents a filter on affiliate locations in a FeedItemSet. +/// Only applicable if the parent Feed of the FeedItemSet is an +/// AFFILIATE_LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicAffiliateLocationSetFilter { - /// Used to filter affiliate locations by chain ids. Only affiliate locations - /// that belong to the specified chain(s) will be added to the FeedItemSet. + /// Used to filter affiliate locations by chain ids. Only affiliate locations + /// that belong to the specified chain(s) will be added to the FeedItemSet. #[prost(int64, repeated, tag="1")] pub chain_ids: ::prost::alloc::vec::Vec, } -// Proto file FinalAppUrl type. +// Proto file FinalAppUrl type. -/// A URL for deep linking into an app for the given operating system. +/// A URL for deep linking into an app for the given operating system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalAppUrl { - /// The operating system targeted by this URL. Required. + /// The operating system targeted by this URL. Required. #[prost(enumeration="super::enums::app_url_operating_system_type_enum::AppUrlOperatingSystemType", tag="1")] pub os_type: i32, - /// The app deep link URL. Deep links specify a location in an app that - /// corresponds to the content you'd like to show, and should be of the form - /// {scheme}://{host_path} - /// The scheme identifies which app to open. For your app, you can use a custom - /// scheme that starts with the app's name. The host and path specify the - /// unique location in the app where your content exists. - /// Example: "exampleapp://productid_1234". Required. + /// The app deep link URL. Deep links specify a location in an app that + /// corresponds to the content you'd like to show, and should be of the form + /// {scheme}://{host_path} + /// The scheme identifies which app to open. For your app, you can use a custom + /// scheme that starts with the app's name. The host and path specify the + /// unique location in the app where your content exists. + /// Example: "exampleapp://productid_1234". Required. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// A rule specifying the maximum number of times an ad (or some set of ads) can -/// be shown to a user over a particular time period. +/// A rule specifying the maximum number of times an ad (or some set of ads) can +/// be shown to a user over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEntry { - /// The key of a particular frequency cap. There can be no more - /// than one frequency cap with the same key. + /// The key of a particular frequency cap. There can be no more + /// than one frequency cap with the same key. #[prost(message, optional, tag="1")] pub key: ::core::option::Option, - /// Maximum number of events allowed during the time range by this cap. + /// Maximum number of events allowed during the time range by this cap. #[prost(int32, optional, tag="3")] pub cap: ::core::option::Option, } -/// A group of fields used as keys for a frequency cap. -/// There can be no more than one frequency cap with the same key. +/// A group of fields used as keys for a frequency cap. +/// There can be no more than one frequency cap with the same key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapKey { - /// The level on which the cap is to be applied (for example, ad group ad, ad - /// group). The cap is applied to all the entities of this level. + /// The level on which the cap is to be applied (for example, ad group ad, ad + /// group). The cap is applied to all the entities of this level. #[prost(enumeration="super::enums::frequency_cap_level_enum::FrequencyCapLevel", tag="1")] pub level: i32, - /// The type of event that the cap applies to (for example, impression). + /// The type of event that the cap applies to (for example, impression). #[prost(enumeration="super::enums::frequency_cap_event_type_enum::FrequencyCapEventType", tag="3")] pub event_type: i32, - /// Unit of time the cap is defined at (for example, day, week). + /// Unit of time the cap is defined at (for example, day, week). #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, - /// Number of time units the cap lasts. + /// Number of time units the cap lasts. #[prost(int32, optional, tag="5")] pub time_length: ::core::option::Option, } -// Proto file describing Keyword Planner messages. +// Proto file describing Keyword Planner messages. -/// Historical metrics specific to the targeting options selected. -/// Targeting options include geographies, network, etc. -/// Refer to for more -/// details. +/// Historical metrics specific to the targeting options selected. +/// Targeting options include geographies, network, etc. +/// Refer to for more +/// details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanHistoricalMetrics { - /// Approximate number of monthly searches on this query averaged - /// for the past 12 months. + /// Approximate number of monthly searches on this query averaged + /// for the past 12 months. #[prost(int64, optional, tag="7")] pub avg_monthly_searches: ::core::option::Option, - /// Approximate number of searches on this query for the past twelve months. + /// Approximate number of searches on this query for the past twelve months. #[prost(message, repeated, tag="6")] pub monthly_search_volumes: ::prost::alloc::vec::Vec, - /// The competition level for the query. + /// The competition level for the query. #[prost(enumeration="super::enums::keyword_plan_competition_level_enum::KeywordPlanCompetitionLevel", tag="2")] pub competition: i32, - /// The competition index for the query in the range [0, 100]. - /// Shows how competitive ad placement is for a keyword. - /// The level of competition from 0-100 is determined by the number of ad slots - /// filled divided by the total number of ad slots available. If not enough - /// data is available, null is returned. + /// The competition index for the query in the range [0, 100]. + /// Shows how competitive ad placement is for a keyword. + /// The level of competition from 0-100 is determined by the number of ad slots + /// filled divided by the total number of ad slots available. If not enough + /// data is available, null is returned. #[prost(int64, optional, tag="8")] pub competition_index: ::core::option::Option, - /// Top of page bid low range (20th percentile) in micros for the keyword. + /// Top of page bid low range (20th percentile) in micros for the keyword. #[prost(int64, optional, tag="9")] pub low_top_of_page_bid_micros: ::core::option::Option, - /// Top of page bid high range (80th percentile) in micros for the keyword. + /// Top of page bid high range (80th percentile) in micros for the keyword. #[prost(int64, optional, tag="10")] pub high_top_of_page_bid_micros: ::core::option::Option, - /// Average Cost Per Click in micros for the keyword. + /// Average Cost Per Click in micros for the keyword. #[prost(int64, optional, tag="11")] pub average_cpc_micros: ::core::option::Option, } -/// Historical metrics options. +/// Historical metrics options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistoricalMetricsOptions { - /// The year month range for historical metrics. If not specified the searches - /// will be returned for past 12 months. - /// Searches data is available for the past 4 years. If the search volume is - /// not available for the entire year_month_range provided, the subset of the - /// year month range for which search volume is available will be returned. + /// The year month range for historical metrics. If not specified the searches + /// will be returned for past 12 months. + /// Searches data is available for the past 4 years. If the search volume is + /// not available for the entire year_month_range provided, the subset of the + /// year month range for which search volume is available will be returned. #[prost(message, optional, tag="1")] pub year_month_range: ::core::option::Option, - /// Indicates whether to include average cost per click value. - /// Average CPC is a legacy value that will be removed and replaced in the - /// future, and as such we are including it as an optioanl value so clients - /// only use it when strictly necessary and to better track clients that use - /// this value. + /// Indicates whether to include average cost per click value. + /// Average CPC is a legacy value that will be removed and replaced in the + /// future, and as such we are including it as an optioanl value so clients + /// only use it when strictly necessary and to better track clients that use + /// this value. #[prost(bool, tag="2")] pub include_average_cpc: bool, } -/// Monthly search volume. +/// Monthly search volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthlySearchVolume { - /// The year of the search volume (for example, 2020). + /// The year of the search volume (for example, 2020). #[prost(int64, optional, tag="4")] pub year: ::core::option::Option, - /// The month of the search volume. + /// The month of the search volume. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, - /// Approximate number of searches for the month. - /// A null value indicates the search volume is unavailable for - /// that month. + /// Approximate number of searches for the month. + /// A null value indicates the search volume is unavailable for + /// that month. #[prost(int64, optional, tag="5")] pub monthly_searches: ::core::option::Option, } -/// The aggregate metrics specification of the request. +/// The aggregate metrics specification of the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetrics { - /// The list of aggregate metrics to fetch data. + /// The list of aggregate metrics to fetch data. #[prost(enumeration="super::enums::keyword_plan_aggregate_metric_type_enum::KeywordPlanAggregateMetricType", repeated, tag="1")] pub aggregate_metric_types: ::prost::alloc::vec::Vec, } -/// The aggregated historical metrics for keyword plan keywords. +/// The aggregated historical metrics for keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricResults { - /// The aggregate searches for all the keywords segmented by device - /// for the specified time. - /// Supports the following device types: MOBILE, TABLET, DESKTOP. + /// The aggregate searches for all the keywords segmented by device + /// for the specified time. + /// Supports the following device types: MOBILE, TABLET, DESKTOP. /// - /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - /// in the KeywordPlanAggregateMetrics field in the request. + /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set + /// in the KeywordPlanAggregateMetrics field in the request. #[prost(message, repeated, tag="1")] pub device_searches: ::prost::alloc::vec::Vec, } -/// The total searches for the device type during the specified time period. +/// The total searches for the device type during the specified time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanDeviceSearches { - /// The device type. + /// The device type. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// The total searches for the device. + /// The total searches for the device. #[prost(int64, optional, tag="2")] pub search_count: ::core::option::Option, } -/// The Annotations for the Keyword plan keywords. +/// The Annotations for the Keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAnnotations { - /// The list of concepts for the keyword. + /// The list of concepts for the keyword. #[prost(message, repeated, tag="1")] pub concepts: ::prost::alloc::vec::Vec, } -/// The concept for the keyword. +/// The concept for the keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordConcept { - /// The concept name for the keyword in the concept_group. + /// The concept name for the keyword in the concept_group. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group of the concept details. + /// The concept group of the concept details. #[prost(message, optional, tag="2")] pub concept_group: ::core::option::Option, } -/// The concept group for the keyword concept. +/// The concept group for the keyword concept. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConceptGroup { - /// The concept group name. + /// The concept group name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group type. + /// The concept group type. #[prost(enumeration="super::enums::keyword_plan_concept_group_type_enum::KeywordPlanConceptGroupType", tag="2")] pub r#type: i32, } -// Proto file describing a matching function. +// Proto file describing a matching function. -/// Matching function associated with a -/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -/// to filter the set of feed items selected. +/// Matching function associated with a +/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used +/// to filter the set of feed items selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunction { - /// String representation of the Function. + /// String representation of the Function. /// - /// Examples: + /// Examples: /// - /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") - /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) - /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) + /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. + /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") + /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) + /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) + /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) /// - /// For more details, visit - /// + /// For more details, visit + /// /// - /// Note that because multiple strings may represent the same underlying - /// function (whitespace and single versus double quotation marks, for - /// example), the value returned may not be identical to the string sent in a - /// mutate request. + /// Note that because multiple strings may represent the same underlying + /// function (whitespace and single versus double quotation marks, for + /// example), the value returned may not be identical to the string sent in a + /// mutate request. #[prost(string, optional, tag="5")] pub function_string: ::core::option::Option<::prost::alloc::string::String>, - /// Operator for a function. + /// Operator for a function. #[prost(enumeration="super::enums::matching_function_operator_enum::MatchingFunctionOperator", tag="4")] pub operator: i32, - /// The operands on the left hand side of the equation. This is also the - /// operand to be used for single operand expressions such as NOT. + /// The operands on the left hand side of the equation. This is also the + /// operand to be used for single operand expressions such as NOT. #[prost(message, repeated, tag="2")] pub left_operands: ::prost::alloc::vec::Vec, - /// The operands on the right hand side of the equation. + /// The operands on the right hand side of the equation. #[prost(message, repeated, tag="3")] pub right_operands: ::prost::alloc::vec::Vec, } -/// An operand in a matching function. +/// An operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operand { - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[prost(oneof="operand::FunctionArgumentOperand", tags="1, 2, 3, 4")] pub function_argument_operand: ::core::option::Option, } /// Nested message and enum types in `Operand`. pub mod operand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConstantOperand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[prost(oneof="constant_operand::ConstantOperandValue", tags="5, 6, 7, 8")] pub constant_operand_value: ::core::option::Option, } /// Nested message and enum types in `ConstantOperand`. pub mod constant_operand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConstantOperandValue { - /// String value of the operand if it is a string type. + /// String value of the operand if it is a string type. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), - /// Int64 value of the operand if it is a int64 type. + /// Int64 value of the operand if it is a int64 type. #[prost(int64, tag="6")] LongValue(i64), - /// Boolean value of the operand if it is a boolean type. + /// Boolean value of the operand if it is a boolean type. #[prost(bool, tag="7")] BooleanValue(bool), - /// Double value of the operand if it is a double type. + /// Double value of the operand if it is a double type. #[prost(double, tag="8")] DoubleValue(f64), } } - /// A feed attribute operand in a matching function. - /// Used to represent a feed attribute in feed. + /// A feed attribute operand in a matching function. + /// Used to represent a feed attribute in feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperand { - /// The associated feed. Required. + /// The associated feed. Required. #[prost(int64, optional, tag="3")] pub feed_id: ::core::option::Option, - /// Id of the referenced feed attribute. Required. + /// Id of the referenced feed attribute. Required. #[prost(int64, optional, tag="4")] pub feed_attribute_id: ::core::option::Option, } - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionOperand { - /// The matching function held in this operand. + /// The matching function held in this operand. #[prost(message, optional, tag="1")] pub matching_function: ::core::option::Option, } - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestContextOperand { - /// Type of value to be referred in the request context. + /// Type of value to be referred in the request context. #[prost(enumeration="super::super::enums::matching_function_context_type_enum::MatchingFunctionContextType", tag="1")] pub context_type: i32, } - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FunctionArgumentOperand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[prost(message, tag="1")] ConstantOperand(ConstantOperand), - /// This operand specifies a feed attribute in feed. + /// This operand specifies a feed attribute in feed. #[prost(message, tag="2")] FeedAttributeOperand(FeedAttributeOperand), - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[prost(message, tag="3")] FunctionOperand(FunctionOperand), - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[prost(message, tag="4")] RequestContextOperand(RequestContextOperand), } } -// Proto file describing experiment metric goal. +// Proto file describing experiment metric goal. -/// A metric goal for an experiment. +/// A metric goal for an experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricGoal { - /// The metric of the goal. For example, clicks, impressions, cost, - /// conversions, etc. + /// The metric of the goal. For example, clicks, impressions, cost, + /// conversions, etc. #[prost(enumeration="super::enums::experiment_metric_enum::ExperimentMetric", tag="1")] pub metric: i32, - /// The metric direction of the goal. For example, increase, decrease, no - /// change. + /// The metric direction of the goal. For example, increase, decrease, no + /// change. #[prost(enumeration="super::enums::experiment_metric_direction_enum::ExperimentMetricDirection", tag="2")] pub direction: i32, } -// Proto file describing metrics. +// Proto file describing metrics. -/// Metrics data. +/// Metrics data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The percent of your ad impressions that are shown as the very first ad - /// above the organic search results. + /// The percent of your ad impressions that are shown as the very first ad + /// above the organic search results. #[prost(double, optional, tag="183")] pub absolute_top_impression_percentage: ::core::option::Option, - /// Average cost of viewable impressions (`active_view_impressions`). + /// Average cost of viewable impressions (`active_view_impressions`). #[prost(double, optional, tag="184")] pub active_view_cpm: ::core::option::Option, - /// Active view measurable clicks divided by active view viewable impressions. - /// This metric is reported only for display network. + /// Active view measurable clicks divided by active view viewable impressions. + /// This metric is reported only for display network. #[prost(double, optional, tag="185")] pub active_view_ctr: ::core::option::Option, - /// A measurement of how often your ad has become viewable on a Display - /// Network site. + /// A measurement of how often your ad has become viewable on a Display + /// Network site. #[prost(int64, optional, tag="186")] pub active_view_impressions: ::core::option::Option, - /// The ratio of impressions that could be measured by Active View over the - /// number of served impressions. + /// The ratio of impressions that could be measured by Active View over the + /// number of served impressions. #[prost(double, optional, tag="187")] pub active_view_measurability: ::core::option::Option, - /// The cost of the impressions you received that were measurable by Active - /// View. + /// The cost of the impressions you received that were measurable by Active + /// View. #[prost(int64, optional, tag="188")] pub active_view_measurable_cost_micros: ::core::option::Option, - /// The number of times your ads are appearing on placements in positions - /// where they can be seen. + /// The number of times your ads are appearing on placements in positions + /// where they can be seen. #[prost(int64, optional, tag="189")] pub active_view_measurable_impressions: ::core::option::Option, - /// The percentage of time when your ad appeared on an Active View enabled site - /// (measurable impressions) and was viewable (viewable impressions). + /// The percentage of time when your ad appeared on an Active View enabled site + /// (measurable impressions) and was viewable (viewable impressions). #[prost(double, optional, tag="190")] pub active_view_viewability: ::core::option::Option, - /// All conversions from interactions (as oppose to view through conversions) - /// divided by the number of ad interactions. + /// All conversions from interactions (as oppose to view through conversions) + /// divided by the number of ad interactions. #[prost(double, optional, tag="191")] pub all_conversions_from_interactions_rate: ::core::option::Option, - /// The value of all conversions. + /// The value of all conversions. #[prost(double, optional, tag="192")] pub all_conversions_value: ::core::option::Option, - /// The value of all conversions. When this column is selected with date, the - /// values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of all conversions. When this column is selected with date, the + /// values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, tag="240")] pub all_conversions_value_by_conversion_date: f64, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. #[prost(double, optional, tag="193")] pub all_conversions: ::core::option::Option, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. When this column is selected - /// with date, the values in date column means the conversion date. Details for - /// the by_conversion_date columns are available at - /// + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. When this column is selected + /// with date, the values in date column means the conversion date. Details for + /// the by_conversion_date columns are available at + /// #[prost(double, tag="241")] pub all_conversions_by_conversion_date: f64, - /// The value of all conversions divided by the total cost of ad interactions - /// (such as clicks for text ads or views for video ads). + /// The value of all conversions divided by the total cost of ad interactions + /// (such as clicks for text ads or views for video ads). #[prost(double, optional, tag="194")] pub all_conversions_value_per_cost: ::core::option::Option, - /// The number of times people clicked the "Call" button to call a store during - /// or after clicking an ad. This number doesn't include whether or not calls - /// were connected, or the duration of any calls. - /// This metric applies to feed items only. + /// The number of times people clicked the "Call" button to call a store during + /// or after clicking an ad. This number doesn't include whether or not calls + /// were connected, or the duration of any calls. + /// This metric applies to feed items only. #[prost(double, optional, tag="195")] pub all_conversions_from_click_to_call: ::core::option::Option, - /// The number of times people clicked a "Get directions" button to navigate to - /// a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a "Get directions" button to navigate to + /// a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="196")] pub all_conversions_from_directions: ::core::option::Option, - /// The value of all conversions from interactions divided by the total number - /// of interactions. + /// The value of all conversions from interactions divided by the total number + /// of interactions. #[prost(double, optional, tag="197")] pub all_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of times people clicked a link to view a store's menu after - /// clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a link to view a store's menu after + /// clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="198")] pub all_conversions_from_menu: ::core::option::Option, - /// The number of times people placed an order at a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people placed an order at a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="199")] pub all_conversions_from_order: ::core::option::Option, - /// The number of other conversions (for example, posting a review or saving a - /// location for a store) that occurred after people clicked an ad. - /// This metric applies to feed items only. + /// The number of other conversions (for example, posting a review or saving a + /// location for a store) that occurred after people clicked an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="200")] pub all_conversions_from_other_engagement: ::core::option::Option, - /// Estimated number of times people visited a store after clicking an ad. - /// This metric applies to feed items only. + /// Estimated number of times people visited a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="201")] pub all_conversions_from_store_visit: ::core::option::Option, - /// The number of times that people were taken to a store's URL after clicking - /// an ad. - /// This metric applies to feed items only. + /// The number of times that people were taken to a store's URL after clicking + /// an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="202")] pub all_conversions_from_store_website: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells how often - /// the ads of another participant showed as the very first ad above the - /// organic search results. - /// This percentage is computed only over the auctions that you appeared in - /// the page. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells how often + /// the ads of another participant showed as the very first ad above the + /// organic search results. + /// This percentage is computed only over the auctions that you appeared in + /// the page. + /// This metric is not publicly available. #[prost(double, optional, tag="258")] pub auction_insight_search_absolute_top_impression_percentage: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells the - /// percentage of impressions that another participant obtained, over the total - /// number of impressions that your ads were eligible for. - /// Any value below 0.1 is reported as 0.0999. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells the + /// percentage of impressions that another participant obtained, over the total + /// number of impressions that your ads were eligible for. + /// Any value below 0.1 is reported as 0.0999. + /// This metric is not publicly available. #[prost(double, optional, tag="259")] pub auction_insight_search_impression_share: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells the - /// percentage of impressions that your ads outranked (showed above) - /// another participant in the auction, compared to the total number of - /// impressions that your ads were eligible for. - /// Any value below 0.1 is reported as 0.0999. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells the + /// percentage of impressions that your ads outranked (showed above) + /// another participant in the auction, compared to the total number of + /// impressions that your ads were eligible for. + /// Any value below 0.1 is reported as 0.0999. + /// This metric is not publicly available. #[prost(double, optional, tag="260")] pub auction_insight_search_outranking_share: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells how often - /// another participant's ad received an impression when your ad also received - /// an impression. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells how often + /// another participant's ad received an impression when your ad also received + /// an impression. + /// This metric is not publicly available. #[prost(double, optional, tag="261")] pub auction_insight_search_overlap_rate: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells how often - /// another participant's ad was shown in a higher position than yours, when - /// both of your ads were shown at the same page. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells how often + /// another participant's ad was shown in a higher position than yours, when + /// both of your ads were shown at the same page. + /// This metric is not publicly available. #[prost(double, optional, tag="262")] pub auction_insight_search_position_above_rate: ::core::option::Option, - /// This metric is part of the Auction Insights report, and tells how often - /// the ads of another participant showed above the organic search results. - /// This percentage is computed only over the auctions that you appeared in - /// the page. - /// This metric is not publicly available. + /// This metric is part of the Auction Insights report, and tells how often + /// the ads of another participant showed above the organic search results. + /// This percentage is computed only over the auctions that you appeared in + /// the page. + /// This metric is not publicly available. #[prost(double, optional, tag="263")] pub auction_insight_search_top_impression_percentage: ::core::option::Option, - /// The average amount you pay per interaction. This amount is the total cost - /// of your ads divided by the total number of interactions. + /// The average amount you pay per interaction. This amount is the total cost + /// of your ads divided by the total number of interactions. #[prost(double, optional, tag="203")] pub average_cost: ::core::option::Option, - /// The total cost of all clicks divided by the total number of clicks - /// received. + /// The total cost of all clicks divided by the total number of clicks + /// received. #[prost(double, optional, tag="204")] pub average_cpc: ::core::option::Option, - /// The average amount that you've been charged for an ad engagement. This - /// amount is the total cost of all ad engagements divided by the total number - /// of ad engagements. + /// The average amount that you've been charged for an ad engagement. This + /// amount is the total cost of all ad engagements divided by the total number + /// of ad engagements. #[prost(double, optional, tag="205")] pub average_cpe: ::core::option::Option, - /// Average cost-per-thousand impressions (CPM). + /// Average cost-per-thousand impressions (CPM). #[prost(double, optional, tag="206")] pub average_cpm: ::core::option::Option, - /// The average amount you pay each time someone views your ad. - /// The average CPV is defined by the total cost of all ad views divided by - /// the number of views. + /// The average amount you pay each time someone views your ad. + /// The average CPV is defined by the total cost of all ad views divided by + /// the number of views. #[prost(double, optional, tag="207")] pub average_cpv: ::core::option::Option, - /// Average number of pages viewed per session. + /// Average number of pages viewed per session. #[prost(double, optional, tag="208")] pub average_page_views: ::core::option::Option, - /// Total duration of all sessions (in seconds) / number of sessions. Imported - /// from Google Analytics. + /// Total duration of all sessions (in seconds) / number of sessions. Imported + /// from Google Analytics. #[prost(double, optional, tag="209")] pub average_time_on_site: ::core::option::Option, - /// An indication of how other advertisers are bidding on similar products. + /// An indication of how other advertisers are bidding on similar products. #[prost(double, optional, tag="210")] pub benchmark_average_max_cpc: ::core::option::Option, - /// Number of app installs. + /// Number of app installs. #[prost(double, optional, tag="254")] pub biddable_app_install_conversions: ::core::option::Option, - /// Number of in-app actions. + /// Number of in-app actions. #[prost(double, optional, tag="255")] pub biddable_app_post_install_conversions: ::core::option::Option, - /// An indication on how other advertisers' Shopping ads for similar products - /// are performing based on how often people who see their ad click on it. + /// An indication on how other advertisers' Shopping ads for similar products + /// are performing based on how often people who see their ad click on it. #[prost(double, optional, tag="211")] pub benchmark_ctr: ::core::option::Option, - /// Percentage of clicks where the user only visited a single page on your - /// site. Imported from Google Analytics. + /// Percentage of clicks where the user only visited a single page on your + /// site. Imported from Google Analytics. #[prost(double, optional, tag="212")] pub bounce_rate: ::core::option::Option, - /// The number of clicks. + /// The number of clicks. #[prost(int64, optional, tag="131")] pub clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked. See the help page at - /// for details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked. See the help page at + /// for details. #[prost(int64, optional, tag="156")] pub combined_clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked (combined_clicks) divided by combined_queries. See the - /// help page at for - /// details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked (combined_clicks) divided by combined_queries. See the + /// help page at for + /// details. #[prost(double, optional, tag="157")] pub combined_clicks_per_query: ::core::option::Option, - /// The number of searches that returned pages from your site in the unpaid - /// results or showed one of your text ads. See the help page at - /// for details. + /// The number of searches that returned pages from your site in the unpaid + /// results or showed one of your text ads. See the help page at + /// for details. #[prost(int64, optional, tag="158")] pub combined_queries: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show - /// on the Display Network but didn't because your budget was too low. - /// Note: Content budget lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show + /// on the Display Network but didn't because your budget was too low. + /// Note: Content budget lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="159")] pub content_budget_lost_impression_share: ::core::option::Option, - /// The impressions you've received on the Display Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Content impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Display Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Content impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="160")] pub content_impression_share: ::core::option::Option, - /// The last date/time a conversion tag for this conversion action successfully - /// fired and was seen by Google Ads. This firing event may not have been the - /// result of an attributable conversion (for example, because the tag was - /// fired from a browser that did not previously click an ad from an - /// appropriate advertiser). The date/time is in the customer's time zone. + /// The last date/time a conversion tag for this conversion action successfully + /// fired and was seen by Google Ads. This firing event may not have been the + /// result of an attributable conversion (for example, because the tag was + /// fired from a browser that did not previously click an ad from an + /// appropriate advertiser). The date/time is in the customer's time zone. #[prost(string, optional, tag="161")] pub conversion_last_received_request_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The date of the most recent conversion for this conversion action. The date - /// is in the customer's time zone. + /// The date of the most recent conversion for this conversion action. The date + /// is in the customer's time zone. #[prost(string, optional, tag="162")] pub conversion_last_conversion_date: ::core::option::Option<::prost::alloc::string::String>, - /// The estimated percentage of impressions on the Display Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Content rank lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Display Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Content rank lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="163")] pub content_rank_lost_impression_share: ::core::option::Option, - /// Conversions from interactions divided by the number of ad interactions - /// (such as clicks for text ads or views for video ads). This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// Conversions from interactions divided by the number of ad interactions + /// (such as clicks for text ads or views for video ads). This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="164")] pub conversions_from_interactions_rate: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="165")] pub conversions_value: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="242")] pub conversions_value_by_conversion_date: f64, - /// The value of conversions divided by the cost of ad interactions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the cost of ad interactions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="166")] pub conversions_value_per_cost: ::core::option::Option, - /// The value of conversions from interactions divided by the number of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions from interactions divided by the number of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="167")] pub conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="168")] pub conversions: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="243")] pub conversions_by_conversion_date: f64, - /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions - /// (CPM) costs during this period. + /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions + /// (CPM) costs during this period. #[prost(int64, optional, tag="169")] pub cost_micros: ::core::option::Option, - /// The cost of ad interactions divided by all conversions. + /// The cost of ad interactions divided by all conversions. #[prost(double, optional, tag="170")] pub cost_per_all_conversions: ::core::option::Option, - /// The cost of ad interactions divided by conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The cost of ad interactions divided by conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="171")] pub cost_per_conversion: ::core::option::Option, - /// The cost of ad interactions divided by current model attributed - /// conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The cost of ad interactions divided by current model attributed + /// conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="172")] pub cost_per_current_model_attributed_conversion: ::core::option::Option, - /// Conversions from when a customer clicks on a Google Ads ad on one device, - /// then converts on a different device or browser. - /// Cross-device conversions are already included in all_conversions. + /// Conversions from when a customer clicks on a Google Ads ad on one device, + /// then converts on a different device or browser. + /// Cross-device conversions are already included in all_conversions. #[prost(double, optional, tag="173")] pub cross_device_conversions: ::core::option::Option, - /// The number of clicks your ad receives (Clicks) divided by the number - /// of times your ad is shown (Impressions). + /// The number of clicks your ad receives (Clicks) divided by the number + /// of times your ad is shown (Impressions). #[prost(double, optional, tag="174")] pub ctr: ::core::option::Option, - /// Shows how your historic conversions data would look under the attribution - /// model you've currently selected. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Shows how your historic conversions data would look under the attribution + /// model you've currently selected. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="175")] pub current_model_attributed_conversions: ::core::option::Option, - /// Current model attributed conversions from interactions divided by the - /// number of ad interactions (such as clicks for text ads or views for video - /// ads). This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Current model attributed conversions from interactions divided by the + /// number of ad interactions (such as clicks for text ads or views for video + /// ads). This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="176")] pub current_model_attributed_conversions_from_interactions_rate: ::core::option::Option, - /// The value of current model attributed conversions from interactions divided - /// by the number of ad interactions. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions from interactions divided + /// by the number of ad interactions. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="177")] pub current_model_attributed_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The value of current model attributed conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The value of current model attributed conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="178")] pub current_model_attributed_conversions_value: ::core::option::Option, - /// The value of current model attributed conversions divided by the cost of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the cost of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="179")] pub current_model_attributed_conversions_value_per_cost: ::core::option::Option, - /// How often people engage with your ad after it's shown to them. This is the - /// number of ad expansions divided by the number of times your ad is shown. + /// How often people engage with your ad after it's shown to them. This is the + /// number of ad expansions divided by the number of times your ad is shown. #[prost(double, optional, tag="180")] pub engagement_rate: ::core::option::Option, - /// The number of engagements. - /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the - /// future, other ad types may support engagement metrics. + /// The number of engagements. + /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the + /// future, other ad types may support engagement metrics. #[prost(int64, optional, tag="181")] pub engagements: ::core::option::Option, - /// Average lead value based on clicks. + /// Average lead value based on clicks. #[prost(double, optional, tag="213")] pub hotel_average_lead_value_micros: ::core::option::Option, - /// Commission bid rate in micros. A 20% commission is represented as - /// 200,000. + /// Commission bid rate in micros. A 20% commission is represented as + /// 200,000. #[prost(int64, optional, tag="256")] pub hotel_commission_rate_micros: ::core::option::Option, - /// Expected commission cost. The result of multiplying the commission value - /// times the hotel_commission_rate in advertiser currency. + /// Expected commission cost. The result of multiplying the commission value + /// times the hotel_commission_rate in advertiser currency. #[prost(double, optional, tag="257")] pub hotel_expected_commission_cost: ::core::option::Option, - /// The average price difference between the price offered by reporting hotel - /// advertiser and the cheapest price offered by the competing advertiser. + /// The average price difference between the price offered by reporting hotel + /// advertiser and the cheapest price offered by the competing advertiser. #[prost(double, optional, tag="214")] pub hotel_price_difference_percentage: ::core::option::Option, - /// The number of impressions that hotel partners could have had given their - /// feed performance. + /// The number of impressions that hotel partners could have had given their + /// feed performance. #[prost(int64, optional, tag="215")] pub hotel_eligible_impressions: ::core::option::Option, - /// The creative historical quality score. + /// The creative historical quality score. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="80")] pub historical_creative_quality_score: i32, - /// The quality of historical landing page experience. + /// The quality of historical landing page experience. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="81")] pub historical_landing_page_quality_score: i32, - /// The historical quality score. + /// The historical quality score. #[prost(int64, optional, tag="216")] pub historical_quality_score: ::core::option::Option, - /// The historical search predicted click through rate (CTR). + /// The historical search predicted click through rate (CTR). #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="83")] pub historical_search_predicted_ctr: i32, - /// The number of times the ad was forwarded to someone else as a message. + /// The number of times the ad was forwarded to someone else as a message. #[prost(int64, optional, tag="217")] pub gmail_forwards: ::core::option::Option, - /// The number of times someone has saved your Gmail ad to their inbox as a - /// message. + /// The number of times someone has saved your Gmail ad to their inbox as a + /// message. #[prost(int64, optional, tag="218")] pub gmail_saves: ::core::option::Option, - /// The number of clicks to the landing page on the expanded state of Gmail - /// ads. + /// The number of clicks to the landing page on the expanded state of Gmail + /// ads. #[prost(int64, optional, tag="219")] pub gmail_secondary_clicks: ::core::option::Option, - /// The number of times a store's location-based ad was shown. - /// This metric applies to feed items only. + /// The number of times a store's location-based ad was shown. + /// This metric applies to feed items only. #[prost(int64, optional, tag="220")] pub impressions_from_store_reach: ::core::option::Option, - /// Count of how often your ad has appeared on a search results page or - /// website on the Google Network. + /// Count of how often your ad has appeared on a search results page or + /// website on the Google Network. #[prost(int64, optional, tag="221")] pub impressions: ::core::option::Option, - /// How often people interact with your ad after it is shown to them. - /// This is the number of interactions divided by the number of times your ad - /// is shown. + /// How often people interact with your ad after it is shown to them. + /// This is the number of interactions divided by the number of times your ad + /// is shown. #[prost(double, optional, tag="222")] pub interaction_rate: ::core::option::Option, - /// The number of interactions. - /// An interaction is the main user action associated with an ad format-clicks - /// for text and shopping ads, views for video ads, and so on. + /// The number of interactions. + /// An interaction is the main user action associated with an ad format-clicks + /// for text and shopping ads, views for video ads, and so on. #[prost(int64, optional, tag="223")] pub interactions: ::core::option::Option, - /// The types of payable and free interactions. + /// The types of payable and free interactions. #[prost(enumeration="super::enums::interaction_event_type_enum::InteractionEventType", repeated, tag="100")] pub interaction_event_types: ::prost::alloc::vec::Vec, - /// The percentage of clicks filtered out of your total number of clicks - /// (filtered + non-filtered clicks) during the reporting period. + /// The percentage of clicks filtered out of your total number of clicks + /// (filtered + non-filtered clicks) during the reporting period. #[prost(double, optional, tag="224")] pub invalid_click_rate: ::core::option::Option, - /// Number of clicks Google considers illegitimate and doesn't charge you for. + /// Number of clicks Google considers illegitimate and doesn't charge you for. #[prost(int64, optional, tag="225")] pub invalid_clicks: ::core::option::Option, - /// Number of message chats initiated for Click To Message impressions that - /// were message tracking eligible. + /// Number of message chats initiated for Click To Message impressions that + /// were message tracking eligible. #[prost(int64, optional, tag="226")] pub message_chats: ::core::option::Option, - /// Number of Click To Message impressions that were message tracking eligible. + /// Number of Click To Message impressions that were message tracking eligible. #[prost(int64, optional, tag="227")] pub message_impressions: ::core::option::Option, - /// Number of message chats initiated (message_chats) divided by the number - /// of message impressions (message_impressions). - /// Rate at which a user initiates a message chat from an ad impression with - /// a messaging option and message tracking enabled. - /// Note that this rate can be more than 1.0 for a given message impression. + /// Number of message chats initiated (message_chats) divided by the number + /// of message impressions (message_impressions). + /// Rate at which a user initiates a message chat from an ad impression with + /// a messaging option and message tracking enabled. + /// Note that this rate can be more than 1.0 for a given message impression. #[prost(double, optional, tag="228")] pub message_chat_rate: ::core::option::Option, - /// The percentage of mobile clicks that go to a mobile-friendly page. + /// The percentage of mobile clicks that go to a mobile-friendly page. #[prost(double, optional, tag="229")] pub mobile_friendly_clicks_percentage: ::core::option::Option, - /// Total optimization score uplift of all recommendations. + /// Total optimization score uplift of all recommendations. #[prost(double, optional, tag="247")] pub optimization_score_uplift: ::core::option::Option, - /// URL for the optimization score page in the Google Ads web interface. - /// This metric can be selected from `customer` or `campaign`, and can be - /// segmented by `segments.recommendation_type`. For example, `SELECT - /// metrics.optimization_score_url, segments.recommendation_type FROM - /// customer` will return a URL for each unique (customer, recommendation_type) - /// combination. + /// URL for the optimization score page in the Google Ads web interface. + /// This metric can be selected from `customer` or `campaign`, and can be + /// segmented by `segments.recommendation_type`. For example, `SELECT + /// metrics.optimization_score_url, segments.recommendation_type FROM + /// customer` will return a URL for each unique (customer, recommendation_type) + /// combination. #[prost(string, optional, tag="248")] pub optimization_score_url: ::core::option::Option<::prost::alloc::string::String>, - /// The number of times someone clicked your site's listing in the unpaid - /// results for a particular query. See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results for a particular query. See the help page at + /// for details. #[prost(int64, optional, tag="230")] pub organic_clicks: ::core::option::Option, - /// The number of times someone clicked your site's listing in the unpaid - /// results (organic_clicks) divided by the total number of searches that - /// returned pages from your site (organic_queries). See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results (organic_clicks) divided by the total number of searches that + /// returned pages from your site (organic_queries). See the help page at + /// for details. #[prost(double, optional, tag="231")] pub organic_clicks_per_query: ::core::option::Option, - /// The number of listings for your site in the unpaid search results. See the - /// help page at for - /// details. + /// The number of listings for your site in the unpaid search results. See the + /// help page at for + /// details. #[prost(int64, optional, tag="232")] pub organic_impressions: ::core::option::Option, - /// The number of times a page from your site was listed in the unpaid search - /// results (organic_impressions) divided by the number of searches returning - /// your site's listing in the unpaid results (organic_queries). See the help - /// page at for details. + /// The number of times a page from your site was listed in the unpaid search + /// results (organic_impressions) divided by the number of searches returning + /// your site's listing in the unpaid results (organic_queries). See the help + /// page at for details. #[prost(double, optional, tag="233")] pub organic_impressions_per_query: ::core::option::Option, - /// The total number of searches that returned your site's listing in the - /// unpaid results. See the help page at - /// for details. + /// The total number of searches that returned your site's listing in the + /// unpaid results. See the help page at + /// for details. #[prost(int64, optional, tag="234")] pub organic_queries: ::core::option::Option, - /// Percentage of first-time sessions (from people who had never visited your - /// site before). Imported from Google Analytics. + /// Percentage of first-time sessions (from people who had never visited your + /// site before). Imported from Google Analytics. #[prost(double, optional, tag="235")] pub percent_new_visitors: ::core::option::Option, - /// Number of offline phone calls. + /// Number of offline phone calls. #[prost(int64, optional, tag="236")] pub phone_calls: ::core::option::Option, - /// Number of offline phone impressions. + /// Number of offline phone impressions. #[prost(int64, optional, tag="237")] pub phone_impressions: ::core::option::Option, - /// Number of phone calls received (phone_calls) divided by the number of - /// times your phone number is shown (phone_impressions). + /// Number of phone calls received (phone_calls) divided by the number of + /// times your phone number is shown (phone_impressions). #[prost(double, optional, tag="238")] pub phone_through_rate: ::core::option::Option, - /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of - /// all advertisers on the websites that show your ads. Measures how your ads - /// perform on Display Network sites compared to other ads on the same sites. + /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of + /// all advertisers on the websites that show your ads. Measures how your ads + /// perform on Display Network sites compared to other ads on the same sites. #[prost(double, optional, tag="239")] pub relative_ctr: ::core::option::Option, - /// The percentage of the customer's Shopping or Search ad impressions that are - /// shown in the most prominent Shopping position. See - /// - /// for details. Any value below 0.1 is reported as 0.0999. + /// The percentage of the customer's Shopping or Search ad impressions that are + /// shown in the most prominent Shopping position. See + /// + /// for details. Any value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="136")] pub search_absolute_top_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to a low budget. Note: Search - /// budget lost absolute top impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to a low budget. Note: Search + /// budget lost absolute top impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="137")] pub search_budget_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show on the - /// Search Network but didn't because your budget was too low. Note: Search - /// budget lost impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show on the + /// Search Network but didn't because your budget was too low. Note: Search + /// budget lost impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="138")] pub search_budget_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to a low budget. Note: Search - /// budget lost top impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to a low budget. Note: Search + /// budget lost top impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="139")] pub search_budget_lost_top_impression_share: ::core::option::Option, - /// The number of clicks you've received on the Search Network - /// divided by the estimated number of clicks you were eligible to receive. - /// Note: Search click share is reported in the range of 0.1 to 1. Any value - /// below 0.1 is reported as 0.0999. + /// The number of clicks you've received on the Search Network + /// divided by the estimated number of clicks you were eligible to receive. + /// Note: Search click share is reported in the range of 0.1 to 1. Any value + /// below 0.1 is reported as 0.0999. #[prost(double, optional, tag="140")] pub search_click_share: ::core::option::Option, - /// The impressions you've received divided by the estimated number of - /// impressions you were eligible to receive on the Search Network for search - /// terms that matched your keywords exactly (or were close variants of your - /// keyword), regardless of your keyword match types. Note: Search exact match - /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 - /// is reported as 0.0999. + /// The impressions you've received divided by the estimated number of + /// impressions you were eligible to receive on the Search Network for search + /// terms that matched your keywords exactly (or were close variants of your + /// keyword), regardless of your keyword match types. Note: Search exact match + /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 + /// is reported as 0.0999. #[prost(double, optional, tag="141")] pub search_exact_match_impression_share: ::core::option::Option, - /// The impressions you've received on the Search Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Search impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Search Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Search impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="142")] pub search_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost absolute top impression share is reported in the - /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost absolute top impression share is reported in the + /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="143")] pub search_rank_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percentage of impressions on the Search Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Search rank lost impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Search Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Search rank lost impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="144")] pub search_rank_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost top impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost top impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="145")] pub search_rank_lost_top_impression_share: ::core::option::Option, - /// The impressions you've received in the top location (anywhere above the - /// organic search results) compared to the estimated number of impressions you - /// were eligible to receive in the top location. - /// Note: Search top impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received in the top location (anywhere above the + /// organic search results) compared to the estimated number of impressions you + /// were eligible to receive in the top location. + /// Note: Search top impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="146")] pub search_top_impression_share: ::core::option::Option, - /// A measure of how quickly your page loads after clicks on your mobile ads. - /// The score is a range from 1 to 10, 10 being the fastest. + /// A measure of how quickly your page loads after clicks on your mobile ads. + /// The score is a range from 1 to 10, 10 being the fastest. #[prost(int64, optional, tag="147")] pub speed_score: ::core::option::Option, - /// The percent of your ad impressions that are shown anywhere above the - /// organic search results. + /// The percent of your ad impressions that are shown anywhere above the + /// organic search results. #[prost(double, optional, tag="148")] pub top_impression_percentage: ::core::option::Option, - /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - /// that reach a valid AMP page. + /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages + /// that reach a valid AMP page. #[prost(double, optional, tag="149")] pub valid_accelerated_mobile_pages_clicks_percentage: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. + /// The value of all conversions divided by the number of all conversions. #[prost(double, optional, tag="150")] pub value_per_all_conversions: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. When - /// this column is selected with date, the values in date column means the - /// conversion date. Details for the by_conversion_date columns are available - /// at + /// The value of all conversions divided by the number of all conversions. When + /// this column is selected with date, the values in date column means the + /// conversion date. Details for the by_conversion_date columns are available + /// at #[prost(double, optional, tag="244")] pub value_per_all_conversions_by_conversion_date: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="151")] pub value_per_conversion: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. When this column is selected with - /// date, the values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. When this column is selected with + /// date, the values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, optional, tag="245")] pub value_per_conversions_by_conversion_date: ::core::option::Option, - /// The value of current model attributed conversions divided by the number of - /// the conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the number of + /// the conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="152")] pub value_per_current_model_attributed_conversion: ::core::option::Option, - /// Percentage of impressions where the viewer watched all of your video. + /// Percentage of impressions where the viewer watched all of your video. #[prost(double, optional, tag="132")] pub video_quartile_p100_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 25% of your video. + /// Percentage of impressions where the viewer watched 25% of your video. #[prost(double, optional, tag="133")] pub video_quartile_p25_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 50% of your video. + /// Percentage of impressions where the viewer watched 50% of your video. #[prost(double, optional, tag="134")] pub video_quartile_p50_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 75% of your video. + /// Percentage of impressions where the viewer watched 75% of your video. #[prost(double, optional, tag="135")] pub video_quartile_p75_rate: ::core::option::Option, - /// The number of views your TrueView video ad receives divided by its number - /// of impressions, including thumbnail impressions for TrueView in-display - /// ads. + /// The number of views your TrueView video ad receives divided by its number + /// of impressions, including thumbnail impressions for TrueView in-display + /// ads. #[prost(double, optional, tag="153")] pub video_view_rate: ::core::option::Option, - /// The number of times your video ads were viewed. + /// The number of times your video ads were viewed. #[prost(int64, optional, tag="154")] pub video_views: ::core::option::Option, - /// The total number of view-through conversions. - /// These happen when a customer sees an image or rich media ad, then later - /// completes a conversion on your site without interacting with (for example, - /// clicking on) another ad. + /// The total number of view-through conversions. + /// These happen when a customer sees an image or rich media ad, then later + /// completes a conversion on your site without interacting with (for example, + /// clicking on) another ad. #[prost(int64, optional, tag="155")] pub view_through_conversions: ::core::option::Option, - /// The number of iOS Store Kit Ad Network conversions. + /// The number of iOS Store Kit Ad Network conversions. #[prost(int64, tag="246")] pub sk_ad_network_conversions: i64, } -// Proto file describing offline user data. +// Proto file describing offline user data. -/// Address identifier of offline data. +/// Address identifier of offline data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserAddressInfo { - /// First name of the user, which is hashed as SHA-256 after normalized - /// (Lowercase all characters; Remove any extra spaces before, after, and in - /// between). + /// First name of the user, which is hashed as SHA-256 after normalized + /// (Lowercase all characters; Remove any extra spaces before, after, and in + /// between). #[prost(string, optional, tag="7")] pub hashed_first_name: ::core::option::Option<::prost::alloc::string::String>, - /// Last name of the user, which is hashed as SHA-256 after normalized (lower - /// case only and no punctuation). + /// Last name of the user, which is hashed as SHA-256 after normalized (lower + /// case only and no punctuation). #[prost(string, optional, tag="8")] pub hashed_last_name: ::core::option::Option<::prost::alloc::string::String>, - /// City of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// City of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="9")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// State code of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// State code of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="10")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the user's address. + /// Postal code of the user's address. #[prost(string, optional, tag="12")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// The street address of the user hashed using SHA-256 hash function after - /// normalization (lower case only). Only accepted for - /// ConversionAdjustmentUploadService. + /// The street address of the user hashed using SHA-256 hash function after + /// normalization (lower case only). Only accepted for + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="13")] pub hashed_street_address: ::core::option::Option<::prost::alloc::string::String>, } -/// User identifying information. +/// User identifying information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifier { - /// Source of the user identifier when the upload is from Store Sales, - /// ConversionUploadService, or ConversionAdjustmentUploadService. + /// Source of the user identifier when the upload is from Store Sales, + /// ConversionUploadService, or ConversionAdjustmentUploadService. #[prost(enumeration="super::enums::user_identifier_source_enum::UserIdentifierSource", tag="6")] pub user_identifier_source: i32, - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[prost(oneof="user_identifier::Identifier", tags="7, 8, 9, 10, 5")] pub identifier: ::core::option::Option, } /// Nested message and enum types in `UserIdentifier`. pub mod user_identifier { - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Identifier { - /// Hashed email address using SHA-256 hash function after normalization. - /// Accepted for Customer Match, Store Sales, ConversionUploadService, and - /// ConversionAdjustmentUploadService. + /// Hashed email address using SHA-256 hash function after normalization. + /// Accepted for Customer Match, Store Sales, ConversionUploadService, and + /// ConversionAdjustmentUploadService. #[prost(string, tag="7")] HashedEmail(::prost::alloc::string::String), - /// Hashed phone number using SHA-256 hash function after normalization - /// (E164 standard). Accepted for Customer Match, Store Sales, - /// ConversionUploadService, and ConversionAdjustmentUploadService. + /// Hashed phone number using SHA-256 hash function after normalization + /// (E164 standard). Accepted for Customer Match, Store Sales, + /// ConversionUploadService, and ConversionAdjustmentUploadService. #[prost(string, tag="8")] HashedPhoneNumber(::prost::alloc::string::String), - /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. + /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. #[prost(string, tag="9")] MobileId(::prost::alloc::string::String), - /// Advertiser-assigned user ID for Customer Match upload, or - /// third-party-assigned user ID for Store Sales. Accepted only for Customer - /// Match and Store Sales. + /// Advertiser-assigned user ID for Customer Match upload, or + /// third-party-assigned user ID for Store Sales. Accepted only for Customer + /// Match and Store Sales. #[prost(string, tag="10")] ThirdPartyUserId(::prost::alloc::string::String), - /// Address information. Accepted only for Customer Match, Store Sales, and - /// ConversionAdjustmentUploadService. + /// Address information. Accepted only for Customer Match, Store Sales, and + /// ConversionAdjustmentUploadService. #[prost(message, tag="5")] AddressInfo(super::OfflineUserAddressInfo), } } -/// Attribute of the store sales transaction. +/// Attribute of the store sales transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransactionAttribute { - /// Timestamp when transaction occurred. Required. - /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" + /// Timestamp when transaction occurred. Required. + /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" #[prost(string, optional, tag="8")] pub transaction_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction amount in micros. Required. - /// Transaction amount in micros needs to be greater than 1000. - /// If item Attributes are provided, it represents the total value of the - /// items, after multiplying the unit price per item by the quantity provided - /// in the ItemAttributes. + /// Transaction amount in micros. Required. + /// Transaction amount in micros needs to be greater than 1000. + /// If item Attributes are provided, it represents the total value of the + /// items, after multiplying the unit price per item by the quantity provided + /// in the ItemAttributes. #[prost(double, optional, tag="9")] pub transaction_amount_micros: ::core::option::Option, - /// Transaction currency code. ISO 4217 three-letter code is used. Required. + /// Transaction currency code. ISO 4217 three-letter code is used. Required. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The resource name of conversion action to report conversions to. - /// Required. + /// The resource name of conversion action to report conversions to. + /// Required. #[prost(string, optional, tag="11")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction order id. - /// Accessible only to customers on the allow-list. + /// Transaction order id. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="12")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Store attributes of the transaction. - /// Accessible only to customers on the allow-list. + /// Store attributes of the transaction. + /// Accessible only to customers on the allow-list. #[prost(message, optional, tag="6")] pub store_attribute: ::core::option::Option, - /// Value of the custom variable for each transaction. - /// Accessible only to customers on the allow-list. + /// Value of the custom variable for each transaction. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="13")] pub custom_value: ::core::option::Option<::prost::alloc::string::String>, - /// Item attributes of the transaction. + /// Item attributes of the transaction. #[prost(message, optional, tag="14")] pub item_attribute: ::core::option::Option, } -/// Store attributes of the transaction. +/// Store attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreAttribute { - /// Store code from - /// + /// Store code from + /// #[prost(string, optional, tag="2")] pub store_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Item attributes of the transaction. +/// Item attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ItemAttribute { - /// A unique identifier of a product. It can be either the Merchant Center Item - /// ID or GTIN (Global Trade Item Number). + /// A unique identifier of a product. It can be either the Merchant Center Item + /// ID or GTIN (Global Trade Item Number). #[prost(string, tag="1")] pub item_id: ::prost::alloc::string::String, - /// ID of the Merchant Center Account. + /// ID of the Merchant Center Account. #[prost(int64, optional, tag="2")] pub merchant_id: ::core::option::Option, - /// Common Locale Data Repository (CLDR) territory code of the country - /// associated with the feed where your items are uploaded. See - /// - /// for more information. + /// Common Locale Data Repository (CLDR) territory code of the country + /// associated with the feed where your items are uploaded. See + /// + /// for more information. #[prost(string, tag="3")] pub country_code: ::prost::alloc::string::String, - /// ISO 639-1 code of the language associated with the feed where your items - /// are uploaded + /// ISO 639-1 code of the language associated with the feed where your items + /// are uploaded #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// The number of items sold. Defaults to 1 if not set. + /// The number of items sold. Defaults to 1 if not set. #[prost(int64, tag="5")] pub quantity: i64, } -/// User data holding user identifiers and attributes. +/// User data holding user identifiers and attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserData { - /// User identification info. Required. + /// User identification info. Required. #[prost(message, repeated, tag="1")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// Additional transactions/attributes associated with the user. - /// Required when updating store sales data. + /// Additional transactions/attributes associated with the user. + /// Required when updating store sales data. #[prost(message, optional, tag="2")] pub transaction_attribute: ::core::option::Option, - /// Additional attributes associated with the user. Required when updating - /// customer match attributes. These have an expiration of 540 days. + /// Additional attributes associated with the user. Required when updating + /// customer match attributes. These have an expiration of 540 days. #[prost(message, optional, tag="3")] pub user_attribute: ::core::option::Option, } -/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -/// type. +/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job +/// type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserAttribute { - /// Advertiser defined lifetime value for the user. + /// Advertiser defined lifetime value for the user. #[prost(int64, optional, tag="1")] pub lifetime_value_micros: ::core::option::Option, - /// Advertiser defined lifetime value bucket for the user. The valid range for - /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove - /// operation where 0 will also be accepted. + /// Advertiser defined lifetime value bucket for the user. The valid range for + /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove + /// operation where 0 will also be accepted. #[prost(int32, optional, tag="2")] pub lifetime_value_bucket: ::core::option::Option, - /// Timestamp of the last purchase made by the user. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp of the last purchase made by the user. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="3")] pub last_purchase_date_time: ::prost::alloc::string::String, - /// Advertiser defined average number of purchases that are made by the user in - /// a 30 day period. + /// Advertiser defined average number of purchases that are made by the user in + /// a 30 day period. #[prost(int32, tag="4")] pub average_purchase_count: i32, - /// Advertiser defined average purchase value in micros for the user. + /// Advertiser defined average purchase value in micros for the user. #[prost(int64, tag="5")] pub average_purchase_value_micros: i64, - /// Timestamp when the user was acquired. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp when the user was acquired. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="6")] pub acquisition_date_time: ::prost::alloc::string::String, - /// The shopping loyalty related data. Shopping utilizes this data to provide - /// users with a better experience. Accessible only to merchants on the - /// allow-list with the user's consent. + /// The shopping loyalty related data. Shopping utilizes this data to provide + /// users with a better experience. Accessible only to merchants on the + /// allow-list with the user's consent. #[prost(message, optional, tag="7")] pub shopping_loyalty: ::core::option::Option, - /// Optional. Advertiser defined lifecycle stage for the user. The accepted values are - /// “Lead”, “Active” and “Churned”. + /// Optional. Advertiser defined lifecycle stage for the user. The accepted values are + /// “Lead”, “Active” and “Churned”. #[prost(string, tag="8")] pub lifecycle_stage: ::prost::alloc::string::String, - /// Optional. Timestamp of the first purchase made by the user. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Optional. Timestamp of the first purchase made by the user. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="9")] pub first_purchase_date_time: ::prost::alloc::string::String, - /// Optional. Advertiser defined events and their attributes. All the values in the - /// nested fields are required. Currently this field is in beta. + /// Optional. Advertiser defined events and their attributes. All the values in the + /// nested fields are required. Currently this field is in beta. #[prost(message, repeated, tag="10")] pub event_attribute: ::prost::alloc::vec::Vec, } -/// Advertiser defined events and their attributes. All the values in the -/// nested fields are required. +/// Advertiser defined events and their attributes. All the values in the +/// nested fields are required. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventAttribute { - /// Required. Advertiser defined event to be used for remarketing. The accepted values - /// are “Viewed”, “Cart”, “Purchased” and “Recommended”. + /// Required. Advertiser defined event to be used for remarketing. The accepted values + /// are “Viewed”, “Cart”, “Purchased” and “Recommended”. #[prost(string, tag="1")] pub event: ::prost::alloc::string::String, - /// Required. Timestamp at which the event happened. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Required. Timestamp at which the event happened. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="2")] pub event_date_time: ::prost::alloc::string::String, - /// Required. Item attributes of the event. + /// Required. Item attributes of the event. #[prost(message, repeated, tag="3")] pub item_attribute: ::prost::alloc::vec::Vec, } -/// Event Item attributes of the Customer Match. +/// Event Item attributes of the Customer Match. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventItemAttribute { - /// Optional. A unique identifier of a product. It can be either the Merchant Center Item - /// ID or GTIN (Global Trade Item Number). + /// Optional. A unique identifier of a product. It can be either the Merchant Center Item + /// ID or GTIN (Global Trade Item Number). #[prost(string, tag="1")] pub item_id: ::prost::alloc::string::String, } -/// The shopping loyalty related data. Shopping utilizes this data to provide -/// users with a better experience. -/// Accessible only to merchants on the allow-list. +/// The shopping loyalty related data. Shopping utilizes this data to provide +/// users with a better experience. +/// Accessible only to merchants on the allow-list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingLoyalty { - /// The membership tier. It is a free-form string as each merchant may have - /// their own loyalty system. For example, it could be a number from 1 to 10, - /// or a string such as "Golden" or "Silver", or even empty string "". + /// The membership tier. It is a free-form string as each merchant may have + /// their own loyalty system. For example, it could be a number from 1 to 10, + /// or a string such as "Golden" or "Silver", or even empty string "". #[prost(string, optional, tag="1")] pub loyalty_tier: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for customer match user list. +/// Metadata for customer match user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUserListMetadata { - /// The resource name of remarketing list to update data. - /// Required for job of CUSTOMER_MATCH_USER_LIST type. + /// The resource name of remarketing list to update data. + /// Required for job of CUSTOMER_MATCH_USER_LIST type. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for Store Sales Direct. +/// Metadata for Store Sales Direct. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesMetadata { - /// This is the fraction of all transactions that are identifiable (for - /// example, associated with any form of customer information). Required. The - /// fraction needs to be between 0 and 1 (excluding 0). + /// This is the fraction of all transactions that are identifiable (for + /// example, associated with any form of customer information). Required. The + /// fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="5")] pub loyalty_fraction: ::core::option::Option, - /// This is the ratio of sales being uploaded compared to the overall sales - /// that can be associated with a customer. Required. - /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you - /// upload half the sales that you are able to associate with a customer, this - /// would be 0.5. + /// This is the ratio of sales being uploaded compared to the overall sales + /// that can be associated with a customer. Required. + /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you + /// upload half the sales that you are able to associate with a customer, this + /// would be 0.5. #[prost(double, optional, tag="6")] pub transaction_upload_fraction: ::core::option::Option, - /// Name of the store sales custom variable key. A predefined key that - /// can be applied to the transaction and then later used for custom - /// segmentation in reporting. - /// Accessible only to customers on the allow-list. + /// Name of the store sales custom variable key. A predefined key that + /// can be applied to the transaction and then later used for custom + /// segmentation in reporting. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="7")] pub custom_key: ::core::option::Option<::prost::alloc::string::String>, - /// Metadata for a third party Store Sales upload. + /// Metadata for a third party Store Sales upload. #[prost(message, optional, tag="3")] pub third_party_metadata: ::core::option::Option, } -/// Metadata for a third party Store Sales. -/// This product is only for customers on the allow-list. Contact your -/// Google business development representative for details on the upload -/// configuration. +/// Metadata for a third party Store Sales. +/// This product is only for customers on the allow-list. Contact your +/// Google business development representative for details on the upload +/// configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesThirdPartyMetadata { - /// Time the advertiser uploaded the data to the partner. Required. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Time the advertiser uploaded the data to the partner. Required. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="7")] pub advertiser_upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The fraction of transactions that are valid. Invalid transactions may - /// include invalid formats or values. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of transactions that are valid. Invalid transactions may + /// include invalid formats or values. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="8")] pub valid_transaction_fraction: ::core::option::Option, - /// The fraction of valid transactions that are matched to a third party - /// assigned user ID on the partner side. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are matched to a third party + /// assigned user ID on the partner side. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="9")] pub partner_match_fraction: ::core::option::Option, - /// The fraction of valid transactions that are uploaded by the partner to - /// Google. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are uploaded by the partner to + /// Google. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="10")] pub partner_upload_fraction: ::core::option::Option, - /// Version of partner IDs to be used for uploads. Required. + /// Version of partner IDs to be used for uploads. Required. #[prost(string, optional, tag="11")] pub bridge_map_version_id: ::core::option::Option<::prost::alloc::string::String>, - /// ID of the third party partner updating the transaction feed. + /// ID of the third party partner updating the transaction feed. #[prost(int64, optional, tag="12")] pub partner_id: ::core::option::Option, } -// Proto file describing policy summary. +// Proto file describing policy summary. -/// Contains policy summary information. +/// Contains policy summary information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicySummary { - /// The list of policy findings. + /// The list of policy findings. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process the resource is. + /// Where in the review process the resource is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing RealTimeBiddingSetting +// Proto file describing RealTimeBiddingSetting -/// Settings for Real-Time Bidding, a feature only available for campaigns -/// targeting the Ad Exchange network. +/// Settings for Real-Time Bidding, a feature only available for campaigns +/// targeting the Ad Exchange network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealTimeBiddingSetting { - /// Whether the campaign is opted in to real-time bidding. + /// Whether the campaign is opted in to real-time bidding. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing segment only fields. +// Proto file describing segment only fields. -/// Segment only fields. +/// Segment only fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Segments { - /// Ad Destination type. + /// Ad Destination type. #[prost(enumeration="super::enums::ad_destination_type_enum::AdDestinationType", tag="136")] pub ad_destination_type: i32, - /// Ad network type. + /// Ad network type. #[prost(enumeration="super::enums::ad_network_type_enum::AdNetworkType", tag="3")] pub ad_network_type: i32, - /// Domain (visible URL) of a participant in the Auction Insights report. + /// Domain (visible URL) of a participant in the Auction Insights report. #[prost(string, optional, tag="145")] pub auction_insight_domain: ::core::option::Option<::prost::alloc::string::String>, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(message, optional, tag="134")] pub budget_campaign_association_status: ::core::option::Option, - /// Click type. + /// Click type. #[prost(enumeration="super::enums::click_type_enum::ClickType", tag="26")] pub click_type: i32, - /// Resource name of the conversion action. + /// Resource name of the conversion action. #[prost(string, optional, tag="113")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Conversion action category. + /// Conversion action category. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="53")] pub conversion_action_category: i32, - /// Conversion action name. + /// Conversion action name. #[prost(string, optional, tag="114")] pub conversion_action_name: ::core::option::Option<::prost::alloc::string::String>, - /// This segments your conversion columns by the original conversion and - /// conversion value versus the delta if conversions were adjusted. False row - /// has the data as originally stated; While true row has the delta between - /// data now and the data as originally stated. Summing the two together - /// results post-adjustment data. + /// This segments your conversion columns by the original conversion and + /// conversion value versus the delta if conversions were adjusted. False row + /// has the data as originally stated; While true row has the delta between + /// data now and the data as originally stated. Summing the two together + /// results post-adjustment data. #[prost(bool, optional, tag="115")] pub conversion_adjustment: ::core::option::Option, - /// Conversion attribution event type. + /// Conversion attribution event type. #[prost(enumeration="super::enums::conversion_attribution_event_type_enum::ConversionAttributionEventType", tag="2")] pub conversion_attribution_event_type: i32, - /// An enum value representing the number of days between the impression and - /// the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion. #[prost(enumeration="super::enums::conversion_lag_bucket_enum::ConversionLagBucket", tag="50")] pub conversion_lag_bucket: i32, - /// An enum value representing the number of days between the impression and - /// the conversion or between the impression and adjustments to the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion or between the impression and adjustments to the conversion. #[prost(enumeration="super::enums::conversion_or_adjustment_lag_bucket_enum::ConversionOrAdjustmentLagBucket", tag="51")] pub conversion_or_adjustment_lag_bucket: i32, - /// Date to which metrics apply. - /// yyyy-MM-dd format, for example, 2018-04-17. + /// Date to which metrics apply. + /// yyyy-MM-dd format, for example, 2018-04-17. #[prost(string, optional, tag="79")] pub date: ::core::option::Option<::prost::alloc::string::String>, - /// Day of the week, for example, MONDAY. + /// Day of the week, for example, MONDAY. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, - /// Device to which metrics apply. + /// Device to which metrics apply. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// External conversion source. + /// External conversion source. #[prost(enumeration="super::enums::external_conversion_source_enum::ExternalConversionSource", tag="55")] pub external_conversion_source: i32, - /// Resource name of the geo target constant that represents an airport. + /// Resource name of the geo target constant that represents an airport. #[prost(string, optional, tag="116")] pub geo_target_airport: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a canton. + /// Resource name of the geo target constant that represents a canton. #[prost(string, optional, tag="117")] pub geo_target_canton: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a city. + /// Resource name of the geo target constant that represents a city. #[prost(string, optional, tag="118")] pub geo_target_city: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a country. + /// Resource name of the geo target constant that represents a country. #[prost(string, optional, tag="119")] pub geo_target_country: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a county. + /// Resource name of the geo target constant that represents a county. #[prost(string, optional, tag="120")] pub geo_target_county: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a district. + /// Resource name of the geo target constant that represents a district. #[prost(string, optional, tag="121")] pub geo_target_district: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a metro. + /// Resource name of the geo target constant that represents a metro. #[prost(string, optional, tag="122")] pub geo_target_metro: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents the most - /// specific location. + /// Resource name of the geo target constant that represents the most + /// specific location. #[prost(string, optional, tag="123")] pub geo_target_most_specific_location: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a postal code. + /// Resource name of the geo target constant that represents a postal code. #[prost(string, optional, tag="124")] pub geo_target_postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a province. + /// Resource name of the geo target constant that represents a province. #[prost(string, optional, tag="125")] pub geo_target_province: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a region. + /// Resource name of the geo target constant that represents a region. #[prost(string, optional, tag="126")] pub geo_target_region: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a state. + /// Resource name of the geo target constant that represents a state. #[prost(string, optional, tag="127")] pub geo_target_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel booking window in days. + /// Hotel booking window in days. #[prost(int64, optional, tag="135")] pub hotel_booking_window_days: ::core::option::Option, - /// Hotel center ID. + /// Hotel center ID. #[prost(int64, optional, tag="80")] pub hotel_center_id: ::core::option::Option, - /// Hotel check-in date. Formatted as yyyy-MM-dd. + /// Hotel check-in date. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="81")] pub hotel_check_in_date: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel check-in day of week. + /// Hotel check-in day of week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="9")] pub hotel_check_in_day_of_week: i32, - /// Hotel city. + /// Hotel city. #[prost(string, optional, tag="82")] pub hotel_city: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel class. + /// Hotel class. #[prost(int32, optional, tag="83")] pub hotel_class: ::core::option::Option, - /// Hotel country. + /// Hotel country. #[prost(string, optional, tag="84")] pub hotel_country: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel date selection type. + /// Hotel date selection type. #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="13")] pub hotel_date_selection_type: i32, - /// Hotel length of stay. + /// Hotel length of stay. #[prost(int32, optional, tag="85")] pub hotel_length_of_stay: ::core::option::Option, - /// Hotel rate rule ID. + /// Hotel rate rule ID. #[prost(string, optional, tag="86")] pub hotel_rate_rule_id: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel rate type. + /// Hotel rate type. #[prost(enumeration="super::enums::hotel_rate_type_enum::HotelRateType", tag="74")] pub hotel_rate_type: i32, - /// Hotel price bucket. + /// Hotel price bucket. #[prost(enumeration="super::enums::hotel_price_bucket_enum::HotelPriceBucket", tag="78")] pub hotel_price_bucket: i32, - /// Hotel state. + /// Hotel state. #[prost(string, optional, tag="87")] pub hotel_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hour of day as a number between 0 and 23, inclusive. + /// Hour of day as a number between 0 and 23, inclusive. #[prost(int32, optional, tag="88")] pub hour: ::core::option::Option, - /// Only used with feed item metrics. - /// Indicates whether the interaction metrics occurred on the feed item itself - /// or a different extension or ad unit. + /// Only used with feed item metrics. + /// Indicates whether the interaction metrics occurred on the feed item itself + /// or a different extension or ad unit. #[prost(bool, optional, tag="89")] pub interaction_on_this_extension: ::core::option::Option, - /// Keyword criterion. + /// Keyword criterion. #[prost(message, optional, tag="61")] pub keyword: ::core::option::Option, - /// Month as represented by the date of the first day of a month. Formatted as - /// yyyy-MM-dd. + /// Month as represented by the date of the first day of a month. Formatted as + /// yyyy-MM-dd. #[prost(string, optional, tag="90")] pub month: ::core::option::Option<::prost::alloc::string::String>, - /// Month of the year, for example, January. + /// Month of the year, for example, January. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="18")] pub month_of_year: i32, - /// Partner hotel ID. + /// Partner hotel ID. #[prost(string, optional, tag="91")] pub partner_hotel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Placeholder type. This is only used with feed item metrics. + /// Placeholder type. This is only used with feed item metrics. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="20")] pub placeholder_type: i32, - /// Aggregator ID of the product. + /// Aggregator ID of the product. #[prost(int64, optional, tag="132")] pub product_aggregator_id: ::core::option::Option, - /// Bidding category (level 1) of the product. + /// Bidding category (level 1) of the product. #[prost(string, optional, tag="92")] pub product_bidding_category_level1: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 2) of the product. + /// Bidding category (level 2) of the product. #[prost(string, optional, tag="93")] pub product_bidding_category_level2: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 3) of the product. + /// Bidding category (level 3) of the product. #[prost(string, optional, tag="94")] pub product_bidding_category_level3: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 4) of the product. + /// Bidding category (level 4) of the product. #[prost(string, optional, tag="95")] pub product_bidding_category_level4: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 5) of the product. + /// Bidding category (level 5) of the product. #[prost(string, optional, tag="96")] pub product_bidding_category_level5: ::core::option::Option<::prost::alloc::string::String>, - /// Brand of the product. + /// Brand of the product. #[prost(string, optional, tag="97")] pub product_brand: ::core::option::Option<::prost::alloc::string::String>, - /// Channel of the product. + /// Channel of the product. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="30")] pub product_channel: i32, - /// Channel exclusivity of the product. + /// Channel exclusivity of the product. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="31")] pub product_channel_exclusivity: i32, - /// Condition of the product. + /// Condition of the product. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="32")] pub product_condition: i32, - /// Resource name of the geo target constant for the country of sale of the - /// product. + /// Resource name of the geo target constant for the country of sale of the + /// product. #[prost(string, optional, tag="98")] pub product_country: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 0 of the product. + /// Custom attribute 0 of the product. #[prost(string, optional, tag="99")] pub product_custom_attribute0: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 1 of the product. + /// Custom attribute 1 of the product. #[prost(string, optional, tag="100")] pub product_custom_attribute1: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 2 of the product. + /// Custom attribute 2 of the product. #[prost(string, optional, tag="101")] pub product_custom_attribute2: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 3 of the product. + /// Custom attribute 3 of the product. #[prost(string, optional, tag="102")] pub product_custom_attribute3: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 4 of the product. + /// Custom attribute 4 of the product. #[prost(string, optional, tag="103")] pub product_custom_attribute4: ::core::option::Option<::prost::alloc::string::String>, - /// Item ID of the product. + /// Item ID of the product. #[prost(string, optional, tag="104")] pub product_item_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the language constant for the language of the product. + /// Resource name of the language constant for the language of the product. #[prost(string, optional, tag="105")] pub product_language: ::core::option::Option<::prost::alloc::string::String>, - /// Merchant ID of the product. + /// Merchant ID of the product. #[prost(int64, optional, tag="133")] pub product_merchant_id: ::core::option::Option, - /// Store ID of the product. + /// Store ID of the product. #[prost(string, optional, tag="106")] pub product_store_id: ::core::option::Option<::prost::alloc::string::String>, - /// Title of the product. + /// Title of the product. #[prost(string, optional, tag="107")] pub product_title: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 1) of the product. + /// Type (level 1) of the product. #[prost(string, optional, tag="108")] pub product_type_l1: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 2) of the product. + /// Type (level 2) of the product. #[prost(string, optional, tag="109")] pub product_type_l2: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 3) of the product. + /// Type (level 3) of the product. #[prost(string, optional, tag="110")] pub product_type_l3: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 4) of the product. + /// Type (level 4) of the product. #[prost(string, optional, tag="111")] pub product_type_l4: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 5) of the product. + /// Type (level 5) of the product. #[prost(string, optional, tag="112")] pub product_type_l5: ::core::option::Option<::prost::alloc::string::String>, - /// Quarter as represented by the date of the first day of a quarter. - /// Uses the calendar year for quarters, for example, the second quarter of - /// 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. + /// Quarter as represented by the date of the first day of a quarter. + /// Uses the calendar year for quarters, for example, the second quarter of + /// 2018 starts on 2018-04-01. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="128")] pub quarter: ::core::option::Option<::prost::alloc::string::String>, - /// Recommendation type. + /// Recommendation type. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="140")] pub recommendation_type: i32, - /// Type of the search engine results page. + /// Type of the search engine results page. #[prost(enumeration="super::enums::search_engine_results_page_type_enum::SearchEngineResultsPageType", tag="70")] pub search_engine_results_page_type: i32, - /// Match type of the keyword that triggered the ad, including variants. + /// Match type of the keyword that triggered the ad, including variants. #[prost(enumeration="super::enums::search_term_match_type_enum::SearchTermMatchType", tag="22")] pub search_term_match_type: i32, - /// Position of the ad. + /// Position of the ad. #[prost(enumeration="super::enums::slot_enum::Slot", tag="23")] pub slot: i32, - /// Primary dimension of applied conversion value rules. - /// NO_RULE_APPLIED shows the total recorded value of conversions that - /// do not have a value rule applied. - /// ORIGINAL shows the original value of conversions to which a value rule - /// has been applied. - /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - /// rules were applied. + /// Primary dimension of applied conversion value rules. + /// NO_RULE_APPLIED shows the total recorded value of conversions that + /// do not have a value rule applied. + /// ORIGINAL shows the original value of conversions to which a value rule + /// has been applied. + /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value + /// rules were applied. #[prost(enumeration="super::enums::conversion_value_rule_primary_dimension_enum::ConversionValueRulePrimaryDimension", tag="138")] pub conversion_value_rule_primary_dimension: i32, - /// Resource name of the ad group criterion that represents webpage criterion. + /// Resource name of the ad group criterion that represents webpage criterion. #[prost(string, optional, tag="129")] pub webpage: ::core::option::Option<::prost::alloc::string::String>, - /// Week as defined as Monday through Sunday, and represented by the date of - /// Monday. Formatted as yyyy-MM-dd. + /// Week as defined as Monday through Sunday, and represented by the date of + /// Monday. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="130")] pub week: ::core::option::Option<::prost::alloc::string::String>, - /// Year, formatted as yyyy. + /// Year, formatted as yyyy. #[prost(int32, optional, tag="131")] pub year: ::core::option::Option, - /// iOS Store Kit Ad Network conversion value. - /// Null value means this segment is not applicable, for example, non-iOS - /// campaign. + /// iOS Store Kit Ad Network conversion value. + /// Null value means this segment is not applicable, for example, non-iOS + /// campaign. #[prost(int64, optional, tag="137")] pub sk_ad_network_conversion_value: ::core::option::Option, - /// iOS Store Kit Ad Network user type. + /// iOS Store Kit Ad Network user type. #[prost(enumeration="super::enums::sk_ad_network_user_type_enum::SkAdNetworkUserType", tag="141")] pub sk_ad_network_user_type: i32, - /// iOS Store Kit Ad Network ad event type. + /// iOS Store Kit Ad Network ad event type. #[prost(enumeration="super::enums::sk_ad_network_ad_event_type_enum::SkAdNetworkAdEventType", tag="142")] pub sk_ad_network_ad_event_type: i32, - /// App where the ad that drove the iOS Store Kit Ad Network install was - /// shown. Null value means this segment is not applicable, for example, - /// non-iOS campaign, or was not present in any postbacks sent by Apple. + /// App where the ad that drove the iOS Store Kit Ad Network install was + /// shown. Null value means this segment is not applicable, for example, + /// non-iOS campaign, or was not present in any postbacks sent by Apple. #[prost(message, optional, tag="143")] pub sk_ad_network_source_app: ::core::option::Option, - /// iOS Store Kit Ad Network attribution credit + /// iOS Store Kit Ad Network attribution credit #[prost(enumeration="super::enums::sk_ad_network_attribution_credit_enum::SkAdNetworkAttributionCredit", tag="144")] pub sk_ad_network_attribution_credit: i32, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself - /// or a different asset or ad unit. - /// Interactions (for example, clicks) are counted across all the parts of the - /// served ad (for example, Ad itself and other components like Sitelinks) when - /// they are served together. When interaction_on_this_asset is true, it means - /// the interactions are on this specific asset and when - /// interaction_on_this_asset is false, it means the interactions is not on - /// this specific asset but on other parts of the served ad this asset is - /// served with. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself + /// or a different asset or ad unit. + /// Interactions (for example, clicks) are counted across all the parts of the + /// served ad (for example, Ad itself and other components like Sitelinks) when + /// they are served together. When interaction_on_this_asset is true, it means + /// the interactions are on this specific asset and when + /// interaction_on_this_asset is false, it means the interactions is not on + /// this specific asset but on other parts of the served ad this asset is + /// served with. #[prost(message, optional, tag="139")] pub asset_interaction_target: ::core::option::Option, } -/// A Keyword criterion segment. +/// A Keyword criterion segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Keyword { - /// The AdGroupCriterion resource name. + /// The AdGroupCriterion resource name. #[prost(string, optional, tag="3")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Keyword info. + /// Keyword info. #[prost(message, optional, tag="2")] pub info: ::core::option::Option, } -/// A BudgetCampaignAssociationStatus segment. +/// A BudgetCampaignAssociationStatus segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatus { - /// The campaign resource name. + /// The campaign resource name. #[prost(string, optional, tag="1")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(enumeration="super::enums::budget_campaign_association_status_enum::BudgetCampaignAssociationStatus", tag="2")] pub status: i32, } -/// An AssetInteractionTarget segment. +/// An AssetInteractionTarget segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetInteractionTarget { - /// The asset resource name. + /// The asset resource name. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself or a - /// different asset or ad unit. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself or a + /// different asset or ad unit. #[prost(bool, tag="2")] pub interaction_on_this_asset: bool, } -/// A SkAdNetworkSourceApp segment. +/// A SkAdNetworkSourceApp segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkSourceApp { - /// App id where the ad that drove the iOS Store Kit Ad Network install was - /// shown. + /// App id where the ad that drove the iOS Store Kit Ad Network install was + /// shown. #[prost(string, optional, tag="1")] pub sk_ad_network_source_app_id: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing simulation points. +// Proto file describing simulation points. -/// A container for simulation points for simulations of type BID_MODIFIER. +/// A container for simulation points for simulations of type BID_MODIFIER. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPointList { - /// Projected metrics for a series of bid modifier amounts. + /// Projected metrics for a series of bid modifier amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPC_BID. +/// A container for simulation points for simulations of type CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPointList { - /// Projected metrics for a series of CPC bid amounts. + /// Projected metrics for a series of CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPV_BID. +/// A container for simulation points for simulations of type CPV_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPointList { - /// Projected metrics for a series of CPV bid amounts. + /// Projected metrics for a series of CPV bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_CPA. +/// A container for simulation points for simulations of type TARGET_CPA. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPointList { - /// Projected metrics for a series of target CPA amounts. + /// Projected metrics for a series of target CPA amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_ROAS. +/// A container for simulation points for simulations of type TARGET_ROAS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPointList { - /// Projected metrics for a series of target ROAS amounts. + /// Projected metrics for a series of target ROAS amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type PERCENT_CPC_BID. +/// A container for simulation points for simulations of type PERCENT_CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPointList { - /// Projected metrics for a series of percent CPC bid amounts. + /// Projected metrics for a series of percent CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type BUDGET. +/// A container for simulation points for simulations of type BUDGET. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPointList { - /// Projected metrics for a series of budget amounts. + /// Projected metrics for a series of budget amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type -/// TARGET_IMPRESSION_SHARE. +/// A container for simulation points for simulations of type +/// TARGET_IMPRESSION_SHARE. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPointList { - /// Projected metrics for a specific target impression share value. + /// Projected metrics for a specific target impression share value. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// Projected metrics for a specific bid modifier amount. +/// Projected metrics for a specific bid modifier amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPoint { - /// The simulated bid modifier upon which projected metrics are based. + /// The simulated bid modifier upon which projected metrics are based. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Projected number of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="16")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="17")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="18")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="19")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="20")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="21")] pub top_slot_impressions: ::core::option::Option, - /// Projected number of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="22")] pub parent_biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="23")] pub parent_biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks for the parent resource. + /// Projected number of clicks for the parent resource. #[prost(int64, optional, tag="24")] pub parent_clicks: ::core::option::Option, - /// Projected cost in micros for the parent resource. + /// Projected cost in micros for the parent resource. #[prost(int64, optional, tag="25")] pub parent_cost_micros: ::core::option::Option, - /// Projected number of impressions for the parent resource. + /// Projected number of impressions for the parent resource. #[prost(int64, optional, tag="26")] pub parent_impressions: ::core::option::Option, - /// Projected number of top slot impressions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="27")] pub parent_top_slot_impressions: ::core::option::Option, - /// Projected minimum daily budget that must be available to the parent - /// resource to realize this simulation. + /// Projected minimum daily budget that must be available to the parent + /// resource to realize this simulation. #[prost(int64, optional, tag="28")] pub parent_required_budget_micros: ::core::option::Option, } -/// Projected metrics for a specific CPC bid amount. +/// Projected metrics for a specific CPC bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="17")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[prost(oneof="cpc_bid_simulation_point::CpcSimulationKeyValue", tags="15, 16")] pub cpc_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `CpcBidSimulationPoint`. pub mod cpc_bid_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CpcSimulationKeyValue { - /// The simulated CPC bid upon which projected metrics are based. + /// The simulated CPC bid upon which projected metrics are based. #[prost(int64, tag="15")] CpcBidMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPC bids relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPC bids relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="16")] CpcBidScalingModifier(f64), } } -/// Projected metrics for a specific CPV bid amount. +/// Projected metrics for a specific CPV bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPoint { - /// The simulated CPV bid upon which projected metrics are based. + /// The simulated CPV bid upon which projected metrics are based. #[prost(int64, optional, tag="5")] pub cpv_bid_micros: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="6")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="7")] pub impressions: ::core::option::Option, - /// Projected number of views. + /// Projected number of views. #[prost(int64, optional, tag="8")] pub views: ::core::option::Option, } -/// Projected metrics for a specific target CPA amount. +/// Projected metrics for a specific target CPA amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="19")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of app installs. + /// Projected number of app installs. #[prost(double, tag="15")] pub app_installs: f64, - /// Projected number of in-app actions. + /// Projected number of in-app actions. #[prost(double, tag="16")] pub in_app_actions: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[prost(oneof="target_cpa_simulation_point::TargetCpaSimulationKeyValue", tags="17, 18")] pub target_cpa_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `TargetCpaSimulationPoint`. pub mod target_cpa_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetCpaSimulationKeyValue { - /// The simulated target CPA upon which projected metrics are based. + /// The simulated target CPA upon which projected metrics are based. #[prost(int64, tag="17")] TargetCpaMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPA targets relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPA targets relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="18")] TargetCpaScalingModifier(f64), } } -/// Projected metrics for a specific target ROAS amount. +/// Projected metrics for a specific target ROAS amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPoint { - /// The simulated target ROAS upon which projected metrics are based. + /// The simulated target ROAS upon which projected metrics are based. #[prost(double, optional, tag="8")] pub target_roas: ::core::option::Option, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="15")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only Search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only Search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific percent CPC amount. Only Hotel advertising -/// channel type supports this field. +/// Projected metrics for a specific percent CPC amount. Only Hotel advertising +/// channel type supports this field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPoint { - /// The simulated percent CPC upon which projected metrics are based. Percent - /// CPC expressed as fraction of the advertised price for some good or service. - /// The value stored here is 1,000,000 * \[fraction\]. + /// The simulated percent CPC upon which projected metrics are based. Percent + /// CPC expressed as fraction of the advertised price for some good or service. + /// The value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="1")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="2")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions in local currency. + /// Projected total value of biddable conversions in local currency. #[prost(double, optional, tag="3")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="4")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="5")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="6")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. + /// Projected number of top slot impressions. #[prost(int64, optional, tag="7")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific budget amount. +/// Projected metrics for a specific budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPoint { - /// The simulated budget upon which projected metrics are based. + /// The simulated budget upon which projected metrics are based. #[prost(int64, tag="1")] pub budget_amount_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. - /// Only campaigns with the Target Spend bidding strategy support this field. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. + /// Only campaigns with the Target Spend bidding strategy support this field. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="3")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="5")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="6")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="7")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="8")] pub top_slot_impressions: i64, } -/// Projected metrics for a specific target impression share value. +/// Projected metrics for a specific target impression share value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPoint { - /// The simulated target impression share value (in micros) upon which - /// projected metrics are based. - /// For example, 10% impression share, which is equal to 0.1, is stored as - /// 100_000. This value is validated and will not exceed 1M (100%). + /// The simulated target impression share value (in micros) upon which + /// projected metrics are based. + /// For example, 10% impression share, which is equal to 0.1, is stored as + /// 100_000. This value is validated and will not exceed 1M (100%). #[prost(int64, tag="1")] pub target_impression_share_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="3")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="5")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="6")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="7")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="8")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="9")] pub top_slot_impressions: i64, - /// Projected number of absolute top impressions. - /// Only search advertising channel type supports this field. + /// Projected number of absolute top impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="10")] pub absolute_top_impressions: i64, } -// Proto file describing TagSnippet +// Proto file describing TagSnippet -/// The site tag and event snippet pair for a TrackingCodeType. +/// The site tag and event snippet pair for a TrackingCodeType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagSnippet { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[prost(enumeration="super::enums::tracking_code_type_enum::TrackingCodeType", tag="1")] pub r#type: i32, - /// The format of the web page where the tracking tag and snippet will be - /// installed, for example, HTML. + /// The format of the web page where the tracking tag and snippet will be + /// installed, for example, HTML. #[prost(enumeration="super::enums::tracking_code_page_format_enum::TrackingCodePageFormat", tag="2")] pub page_format: i32, - /// The site tag that adds visitors to your basic remarketing lists and sets - /// new cookies on your domain. + /// The site tag that adds visitors to your basic remarketing lists and sets + /// new cookies on your domain. #[prost(string, optional, tag="5")] pub global_site_tag: ::core::option::Option<::prost::alloc::string::String>, - /// The event snippet that works with the site tag to track actions that - /// should be counted as conversions. + /// The event snippet that works with the site tag to track actions that + /// should be counted as conversions. #[prost(string, optional, tag="6")] pub event_snippet: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing TargetingSetting +// Proto file describing TargetingSetting -/// Settings for the targeting-related features, at the campaign and ad group -/// levels. For more details about the targeting setting, visit -/// +/// Settings for the targeting-related features, at the campaign and ad group +/// levels. For more details about the targeting setting, visit +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingSetting { - /// The per-targeting-dimension setting to restrict the reach of your campaign - /// or ad group. + /// The per-targeting-dimension setting to restrict the reach of your campaign + /// or ad group. #[prost(message, repeated, tag="1")] pub target_restrictions: ::prost::alloc::vec::Vec, - /// The list of operations changing the target restrictions. + /// The list of operations changing the target restrictions. /// - /// Adding a target restriction with a targeting dimension that already exists - /// causes the existing target restriction to be replaced with the new value. + /// Adding a target restriction with a targeting dimension that already exists + /// causes the existing target restriction to be replaced with the new value. #[prost(message, repeated, tag="2")] pub target_restriction_operations: ::prost::alloc::vec::Vec, } -/// The list of per-targeting-dimension targeting settings. +/// The list of per-targeting-dimension targeting settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestriction { - /// The targeting dimension that these settings apply to. + /// The targeting dimension that these settings apply to. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="1")] pub targeting_dimension: i32, - /// Indicates whether to restrict your ads to show only for the criteria you - /// have selected for this targeting_dimension, or to target all values for - /// this targeting_dimension and show ads based on your targeting in other - /// TargetingDimensions. A value of `true` means that these criteria will only - /// apply bid modifiers, and not affect targeting. A value of `false` means - /// that these criteria will restrict targeting as well as applying bid - /// modifiers. + /// Indicates whether to restrict your ads to show only for the criteria you + /// have selected for this targeting_dimension, or to target all values for + /// this targeting_dimension and show ads based on your targeting in other + /// TargetingDimensions. A value of `true` means that these criteria will only + /// apply bid modifiers, and not affect targeting. A value of `false` means + /// that these criteria will restrict targeting as well as applying bid + /// modifiers. #[prost(bool, optional, tag="3")] pub bid_only: ::core::option::Option, } -/// Operation to be performed on a target restriction list in a mutate. +/// Operation to be performed on a target restriction list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestrictionOperation { - /// Type of list operation to perform. + /// Type of list operation to perform. #[prost(enumeration="target_restriction_operation::Operator", tag="1")] pub operator: i32, - /// The target restriction being added to or removed from the list. + /// The target restriction being added to or removed from the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `TargetRestrictionOperation`. pub mod target_restriction_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the restriction to the existing restrictions. + /// Add the restriction to the existing restrictions. Add = 2, - /// Remove the restriction from the existing restrictions. + /// Remove the restriction from the existing restrictions. Remove = 3, } impl Operator { @@ -5853,358 +5853,358 @@ pub mod target_restriction_operation { } } } -/// A type of label displaying text on a colored background. +/// A type of label displaying text on a colored background. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextLabel { - /// Background color of the label in RGB format. This string must match the - /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. - /// Note: The background color may not be visible for manager accounts. + /// Background color of the label in RGB format. This string must match the + /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. + /// Note: The background color may not be visible for manager accounts. #[prost(string, optional, tag="3")] pub background_color: ::core::option::Option<::prost::alloc::string::String>, - /// A short description of the label. The length must be no more than 200 - /// characters. + /// A short description of the label. The length must be no more than 200 + /// characters. #[prost(string, optional, tag="4")] pub description: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file UrlCollection type. +// Proto file UrlCollection type. -/// Collection of urls that is tagged with a unique identifier. +/// Collection of urls that is tagged with a unique identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlCollection { - /// Unique identifier for this UrlCollection instance. + /// Unique identifier for this UrlCollection instance. #[prost(string, optional, tag="5")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs. + /// A list of possible final URLs. #[prost(string, repeated, tag="6")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs. + /// A list of possible final mobile URLs. #[prost(string, repeated, tag="7")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="8")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing user list types. +// Proto file describing user list types. -/// SimilarUserList is a list of users which are similar to users from another -/// UserList. These lists are read-only and automatically created by Google. +/// SimilarUserList is a list of users which are similar to users from another +/// UserList. These lists are read-only and automatically created by Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimilarUserListInfo { - /// Seed UserList from which this list is derived. + /// Seed UserList from which this list is derived. #[prost(string, optional, tag="2")] pub seed_user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// UserList of CRM users provided by the advertiser. +/// UserList of CRM users provided by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrmBasedUserListInfo { - /// A string that uniquely identifies a mobile application from which the data - /// was collected. - /// For iOS, the ID string is the 9 digit string that appears at the end of an - /// App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store - /// link is ). For - /// Android, the ID string is the application's package name (for example, - /// "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// ). - /// Required when creating CrmBasedUserList for uploading mobile advertising - /// IDs. + /// A string that uniquely identifies a mobile application from which the data + /// was collected. + /// For iOS, the ID string is the 9 digit string that appears at the end of an + /// App Store URL (for example, "476943146" for "Flood-It! 2" whose App Store + /// link is ). For + /// Android, the ID string is the application's package name (for example, + /// "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// ). + /// Required when creating CrmBasedUserList for uploading mobile advertising + /// IDs. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Matching key type of the list. - /// Mixed data types are not allowed on the same list. - /// This field is required for an ADD operation. + /// Matching key type of the list. + /// Mixed data types are not allowed on the same list. + /// This field is required for an ADD operation. #[prost(enumeration="super::enums::customer_match_upload_key_type_enum::CustomerMatchUploadKeyType", tag="2")] pub upload_key_type: i32, - /// Data source of the list. Default value is FIRST_PARTY. - /// Only customers on the allow-list can create third-party sourced CRM lists. + /// Data source of the list. Default value is FIRST_PARTY. + /// Only customers on the allow-list can create third-party sourced CRM lists. #[prost(enumeration="super::enums::user_list_crm_data_source_type_enum::UserListCrmDataSourceType", tag="3")] pub data_source_type: i32, } -/// A client defined rule based on custom parameters sent by web sites or -/// uploaded by the advertiser. +/// A client defined rule based on custom parameters sent by web sites or +/// uploaded by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleInfo { - /// Rule type is used to determine how to group rule items. + /// Rule type is used to determine how to group rule items. /// - /// The default is OR of ANDs (disjunctive normal form). - /// That is, rule items will be ANDed together within rule item groups and the - /// groups themselves will be ORed together. + /// The default is OR of ANDs (disjunctive normal form). + /// That is, rule items will be ANDed together within rule item groups and the + /// groups themselves will be ORed together. /// - /// Currently AND of ORs (conjunctive normal form) is only supported for - /// ExpressionRuleUserList. + /// Currently AND of ORs (conjunctive normal form) is only supported for + /// ExpressionRuleUserList. #[prost(enumeration="super::enums::user_list_rule_type_enum::UserListRuleType", tag="1")] pub rule_type: i32, - /// List of rule item groups that defines this rule. - /// Rule item groups are grouped together based on rule_type. + /// List of rule item groups that defines this rule. + /// Rule item groups are grouped together based on rule_type. #[prost(message, repeated, tag="2")] pub rule_item_groups: ::prost::alloc::vec::Vec, } -/// A group of rule items. +/// A group of rule items. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemGroupInfo { - /// Rule items that will be grouped together based on rule_type. + /// Rule items that will be grouped together based on rule_type. #[prost(message, repeated, tag="1")] pub rule_items: ::prost::alloc::vec::Vec, } -/// An atomic rule item. +/// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemInfo { - /// Rule variable name. It should match the corresponding key name fired - /// by the pixel. - /// A name must begin with US-ascii letters or underscore or UTF8 code that is - /// greater than 127 and consist of US-ascii letters or digits or underscore or - /// UTF8 code that is greater than 127. - /// For websites, there are two built-in variable URL (name = 'url__') and - /// referrer URL (name = 'ref_url__'). - /// This field must be populated when creating a new rule item. + /// Rule variable name. It should match the corresponding key name fired + /// by the pixel. + /// A name must begin with US-ascii letters or underscore or UTF8 code that is + /// greater than 127 and consist of US-ascii letters or digits or underscore or + /// UTF8 code that is greater than 127. + /// For websites, there are two built-in variable URL (name = 'url__') and + /// referrer URL (name = 'ref_url__'). + /// This field must be populated when creating a new rule item. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An atomic rule item. + /// An atomic rule item. #[prost(oneof="user_list_rule_item_info::RuleItem", tags="2, 3, 4")] pub rule_item: ::core::option::Option, } /// Nested message and enum types in `UserListRuleItemInfo`. pub mod user_list_rule_item_info { - /// An atomic rule item. + /// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleItem { - /// An atomic rule item composed of a number operation. + /// An atomic rule item composed of a number operation. #[prost(message, tag="2")] NumberRuleItem(super::UserListNumberRuleItemInfo), - /// An atomic rule item composed of a string operation. + /// An atomic rule item composed of a string operation. #[prost(message, tag="3")] StringRuleItem(super::UserListStringRuleItemInfo), - /// An atomic rule item composed of a date operation. + /// An atomic rule item composed of a date operation. #[prost(message, tag="4")] DateRuleItem(super::UserListDateRuleItemInfo), } } -/// A rule item composed of a date operation. +/// A rule item composed of a date operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemInfo { - /// Date comparison operator. - /// This field is required and must be populated when creating new date - /// rule item. + /// Date comparison operator. + /// This field is required and must be populated when creating new date + /// rule item. #[prost(enumeration="super::enums::user_list_date_rule_item_operator_enum::UserListDateRuleItemOperator", tag="1")] pub operator: i32, - /// String representing date value to be compared with the rule variable. - /// Supported date format is YYYY-MM-DD. - /// Times are reported in the customer's time zone. + /// String representing date value to be compared with the rule variable. + /// Supported date format is YYYY-MM-DD. + /// Times are reported in the customer's time zone. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// The relative date value of the right hand side denoted by number of days - /// offset from now. The value field will override this field when both are - /// present. + /// The relative date value of the right hand side denoted by number of days + /// offset from now. The value field will override this field when both are + /// present. #[prost(int64, optional, tag="5")] pub offset_in_days: ::core::option::Option, } -/// A rule item composed of a number operation. +/// A rule item composed of a number operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemInfo { - /// Number comparison operator. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number comparison operator. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(enumeration="super::enums::user_list_number_rule_item_operator_enum::UserListNumberRuleItemOperator", tag="1")] pub operator: i32, - /// Number value to be compared with the variable. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number value to be compared with the variable. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(double, optional, tag="3")] pub value: ::core::option::Option, } -/// A rule item composed of a string operation. +/// A rule item composed of a string operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemInfo { - /// String comparison operator. - /// This field is required and must be populated when creating a new string - /// rule item. + /// String comparison operator. + /// This field is required and must be populated when creating a new string + /// rule item. #[prost(enumeration="super::enums::user_list_string_rule_item_operator_enum::UserListStringRuleItemOperator", tag="1")] pub operator: i32, - /// The right hand side of the string rule item. For URLs or referrer URLs, - /// the value can not contain illegal URL chars such as newlines, quotes, - /// tabs, or parentheses. This field is required and must be populated when - /// creating a new string rule item. + /// The right hand side of the string rule item. For URLs or referrer URLs, + /// the value can not contain illegal URL chars such as newlines, quotes, + /// tabs, or parentheses. This field is required and must be populated when + /// creating a new string rule item. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// User lists defined by combining two rules, left operand and right operand. -/// There are two operators: AND where left operand and right operand have to be -/// true; AND_NOT where left operand is true but right operand is false. +/// User lists defined by combining two rules, left operand and right operand. +/// There are two operators: AND where left operand and right operand have to be +/// true; AND_NOT where left operand is true but right operand is false. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedRuleUserListInfo { - /// Left operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Left operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="1")] pub left_operand: ::core::option::Option, - /// Right operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Right operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="2")] pub right_operand: ::core::option::Option, - /// Operator to connect the two operands. + /// Operator to connect the two operands. /// - /// Required for creating a combined rule user list. + /// Required for creating a combined rule user list. #[prost(enumeration="super::enums::user_list_combined_rule_operator_enum::UserListCombinedRuleOperator", tag="3")] pub rule_operator: i32, } -/// Visitors of a page. The page visit is defined by one boolean rule expression. +/// Visitors of a page. The page visit is defined by one boolean rule expression. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpressionRuleUserListInfo { - /// Boolean rule that defines this user list. The rule consists of a list of - /// rule item groups and each rule item group consists of a list of rule items. - /// All the rule item groups are ORed or ANDed together for evaluation based on - /// rule.rule_type. + /// Boolean rule that defines this user list. The rule consists of a list of + /// rule item groups and each rule item group consists of a list of rule items. + /// All the rule item groups are ORed or ANDed together for evaluation based on + /// rule.rule_type. /// - /// Required for creating an expression rule user list. + /// Required for creating an expression rule user list. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, } -/// Flexible rule that wraps the common rule and a lookback window. +/// Flexible rule that wraps the common rule and a lookback window. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlexibleRuleOperandInfo { - /// List of rule item groups that defines this rule. - /// Rule item groups are grouped together. + /// List of rule item groups that defines this rule. + /// Rule item groups are grouped together. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, - /// Lookback window for this rule in days. From now until X days ago. + /// Lookback window for this rule in days. From now until X days ago. #[prost(int64, optional, tag="2")] pub lookback_window_days: ::core::option::Option, } -/// Flexible rule representation of visitors with one or multiple actions. +/// Flexible rule representation of visitors with one or multiple actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlexibleRuleUserListInfo { - /// Operator that defines how the inclusive operands are combined. + /// Operator that defines how the inclusive operands are combined. #[prost(enumeration="super::enums::user_list_flexible_rule_operator_enum::UserListFlexibleRuleOperator", tag="1")] pub inclusive_rule_operator: i32, - /// Actions that are located on the inclusive side. - /// These are joined together by either AND/OR as specified by the - /// inclusive_rule_operator. + /// Actions that are located on the inclusive side. + /// These are joined together by either AND/OR as specified by the + /// inclusive_rule_operator. #[prost(message, repeated, tag="2")] pub inclusive_operands: ::prost::alloc::vec::Vec, - /// Actions that are located on the exclusive side. - /// These are joined together with OR. + /// Actions that are located on the exclusive side. + /// These are joined together with OR. #[prost(message, repeated, tag="3")] pub exclusive_operands: ::prost::alloc::vec::Vec, } -/// Representation of a userlist that is generated by a rule. +/// Representation of a userlist that is generated by a rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleBasedUserListInfo { - /// The status of pre-population. The field is default to NONE if not set which - /// means the previous users will not be considered. If set to REQUESTED, past - /// site visitors or app users who match the list definition will be included - /// in the list (works on the Display Network only). This will only - /// add past users from within the last 30 days, depending on the - /// list's membership duration and the date when the remarketing tag is added. - /// The status will be updated to FINISHED once request is processed, or FAILED - /// if the request fails. + /// The status of pre-population. The field is default to NONE if not set which + /// means the previous users will not be considered. If set to REQUESTED, past + /// site visitors or app users who match the list definition will be included + /// in the list (works on the Display Network only). This will only + /// add past users from within the last 30 days, depending on the + /// list's membership duration and the date when the remarketing tag is added. + /// The status will be updated to FINISHED once request is processed, or FAILED + /// if the request fails. #[prost(enumeration="super::enums::user_list_prepopulation_status_enum::UserListPrepopulationStatus", tag="1")] pub prepopulation_status: i32, - /// Flexible rule representation of visitors with one or multiple actions. + /// Flexible rule representation of visitors with one or multiple actions. #[prost(message, optional, tag="5")] pub flexible_rule_user_list: ::core::option::Option, - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[prost(oneof="rule_based_user_list_info::RuleBasedUserList", tags="2, 4")] pub rule_based_user_list: ::core::option::Option, } /// Nested message and enum types in `RuleBasedUserListInfo`. pub mod rule_based_user_list_info { - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleBasedUserList { - /// User lists defined by combining two rules. - /// There are two operators: AND, where the left and right operands have to - /// be true; AND_NOT where left operand is true but right operand is false. + /// User lists defined by combining two rules. + /// There are two operators: AND, where the left and right operands have to + /// be true; AND_NOT where left operand is true but right operand is false. #[prost(message, tag="2")] CombinedRuleUserList(super::CombinedRuleUserListInfo), - /// Visitors of a page. The page visit is defined by one boolean rule - /// expression. + /// Visitors of a page. The page visit is defined by one boolean rule + /// expression. #[prost(message, tag="4")] ExpressionRuleUserList(super::ExpressionRuleUserListInfo), } } -/// Represents a user list that is a custom combination of user lists. +/// Represents a user list that is a custom combination of user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListInfo { - /// Logical list rules that define this user list. The rules are defined as a - /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - /// ANDed when they are evaluated. + /// Logical list rules that define this user list. The rules are defined as a + /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are + /// ANDed when they are evaluated. /// - /// Required for creating a logical user list. + /// Required for creating a logical user list. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A user list logical rule. A rule has a logical operator (and/or/not) and a -/// list of user lists as operands. +/// A user list logical rule. A rule has a logical operator (and/or/not) and a +/// list of user lists as operands. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleInfo { - /// The logical operator of the rule. + /// The logical operator of the rule. #[prost(enumeration="super::enums::user_list_logical_rule_operator_enum::UserListLogicalRuleOperator", tag="1")] pub operator: i32, - /// The list of operands of the rule. + /// The list of operands of the rule. #[prost(message, repeated, tag="2")] pub rule_operands: ::prost::alloc::vec::Vec, } -/// Operand of logical user list that consists of a user list. +/// Operand of logical user list that consists of a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListOperandInfo { - /// Resource name of a user list as an operand. + /// Resource name of a user list as an operand. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// User list targeting as a collection of conversions or remarketing actions. +/// User list targeting as a collection of conversions or remarketing actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicUserListInfo { - /// Actions associated with this user list. + /// Actions associated with this user list. #[prost(message, repeated, tag="1")] pub actions: ::prost::alloc::vec::Vec, } -/// Represents an action type used for building remarketing user lists. +/// Represents an action type used for building remarketing user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListActionInfo { - /// Subtypes of user list action. + /// Subtypes of user list action. #[prost(oneof="user_list_action_info::UserListAction", tags="3, 4")] pub user_list_action: ::core::option::Option, } /// Nested message and enum types in `UserListActionInfo`. pub mod user_list_action_info { - /// Subtypes of user list action. + /// Subtypes of user list action. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserListAction { - /// A conversion action that's not generated from remarketing. + /// A conversion action that's not generated from remarketing. #[prost(string, tag="3")] ConversionAction(::prost::alloc::string::String), - /// A remarketing action. + /// A remarketing action. #[prost(string, tag="4")] RemarketingAction(::prost::alloc::string::String), } } -// Proto file describing value types. +// Proto file describing value types. -/// A generic data container. +/// A generic data container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// A value. + /// A value. #[prost(oneof="value::Value", tags="1, 2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// A value. + /// A value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A boolean. + /// A boolean. #[prost(bool, tag="1")] BooleanValue(bool), - /// An int64. + /// An int64. #[prost(int64, tag="2")] Int64Value(i64), - /// A float. + /// A float. #[prost(float, tag="3")] FloatValue(f32), - /// A double. + /// A double. #[prost(double, tag="4")] DoubleValue(f64), - /// A string. + /// A string. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v11.enums.rs b/gcloud-sdk/genproto/google.ads.googleads.v11.enums.rs index 69de4acb8..2ec4b7c12 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v11.enums.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v11.enums.rs @@ -1,34 +1,34 @@ -// Proto file describing policy topic entry types. +// Proto file describing policy topic entry types. -/// Container for enum describing possible policy topic entry types. +/// Container for enum describing possible policy topic entry types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntryTypeEnum { } /// Nested message and enum types in `PolicyTopicEntryTypeEnum`. pub mod policy_topic_entry_type_enum { - /// The possible policy topic entry types. + /// The possible policy topic entry types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEntryType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The resource will not be served. + /// The resource will not be served. Prohibited = 2, - /// The resource will not be served under some circumstances. + /// The resource will not be served under some circumstances. Limited = 4, - /// The resource cannot serve at all because of the current targeting - /// criteria. + /// The resource cannot serve at all because of the current targeting + /// criteria. FullyLimited = 8, - /// May be of interest, but does not limit how the resource is served. + /// May be of interest, but does not limit how the resource is served. Descriptive = 5, - /// Could increase coverage beyond normal. + /// Could increase coverage beyond normal. Broadening = 6, - /// Constrained for all targeted countries, but may serve in other countries - /// through area of interest. + /// Constrained for all targeted countries, but may serve in other countries + /// through area of interest. AreaOfInterestOnly = 7, } impl PolicyTopicEntryType { @@ -50,34 +50,34 @@ pub mod policy_topic_entry_type_enum { } } } -// Proto file describing policy topic evidence destination mismatch url types. +// Proto file describing policy topic evidence destination mismatch url types. -/// Container for enum describing possible policy topic evidence destination -/// mismatch url types. +/// Container for enum describing possible policy topic evidence destination +/// mismatch url types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationMismatchUrlTypeEnum`. pub mod policy_topic_evidence_destination_mismatch_url_type_enum { - /// The possible policy topic evidence destination mismatch url types. + /// The possible policy topic evidence destination mismatch url types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationMismatchUrlType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The display url. + /// The display url. DisplayUrl = 2, - /// The final url. + /// The final url. FinalUrl = 3, - /// The final mobile url. + /// The final mobile url. FinalMobileUrl = 4, - /// The tracking url template, with substituted desktop url. + /// The tracking url template, with substituted desktop url. TrackingUrl = 5, - /// The tracking url template, with substituted mobile url. + /// The tracking url template, with substituted mobile url. MobileTrackingUrl = 6, } impl PolicyTopicEvidenceDestinationMismatchUrlType { @@ -98,31 +98,31 @@ pub mod policy_topic_evidence_destination_mismatch_url_type_enum { } } } -// Proto file describing device of destination not working policy topic -// evidence. +// Proto file describing device of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working devices. +/// Container for enum describing possible policy topic evidence destination not +/// working devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDeviceEnum`. pub mod policy_topic_evidence_destination_not_working_device_enum { - /// The possible policy topic evidence destination not working devices. + /// The possible policy topic evidence destination not working devices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDevice { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Landing page doesn't work on desktop device. + /// Landing page doesn't work on desktop device. Desktop = 2, - /// Landing page doesn't work on Android device. + /// Landing page doesn't work on Android device. Android = 3, - /// Landing page doesn't work on iOS device. + /// Landing page doesn't work on iOS device. Ios = 4, } impl PolicyTopicEvidenceDestinationNotWorkingDevice { @@ -141,31 +141,31 @@ pub mod policy_topic_evidence_destination_not_working_device_enum { } } } -// Proto file describing DNS error types of destination not working policy topic -// evidence. +// Proto file describing DNS error types of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working DNS error types. +/// Container for enum describing possible policy topic evidence destination not +/// working DNS error types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum`. pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { - /// The possible policy topic evidence destination not working DNS error types. + /// The possible policy topic evidence destination not working DNS error types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Host name not found in DNS when fetching landing page. + /// Host name not found in DNS when fetching landing page. HostnameNotFound = 2, - /// Google internal crawler issue when communicating with DNS. This error - /// doesn't mean the landing page doesn't work. Google will recrawl the - /// landing page. + /// Google internal crawler issue when communicating with DNS. This error + /// doesn't mean the landing page doesn't work. Google will recrawl the + /// landing page. GoogleCrawlerDnsIssue = 3, } impl PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { @@ -183,34 +183,34 @@ pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { } } } -// Proto file describing policy approval statuses. +// Proto file describing policy approval statuses. -/// Container for enum describing possible policy approval statuses. +/// Container for enum describing possible policy approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyApprovalStatusEnum { } /// Nested message and enum types in `PolicyApprovalStatusEnum`. pub mod policy_approval_status_enum { - /// The possible policy approval statuses. When there are several approval - /// statuses available the most severe one will be used. The order of severity - /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. + /// The possible policy approval statuses. When there are several approval + /// statuses available the most severe one will be used. The order of severity + /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Will not serve. + /// Will not serve. Disapproved = 2, - /// Serves with restrictions. + /// Serves with restrictions. ApprovedLimited = 3, - /// Serves without restrictions. + /// Serves without restrictions. Approved = 4, - /// Will not serve in targeted countries, but may serve for users who are - /// searching for information about the targeted countries. + /// Will not serve in targeted countries, but may serve for users who are + /// searching for information about the targeted countries. AreaOfInterestOnly = 5, } impl PolicyApprovalStatus { @@ -230,33 +230,33 @@ pub mod policy_approval_status_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible policy review statuses. +/// Container for enum describing possible policy review statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyReviewStatusEnum { } /// Nested message and enum types in `PolicyReviewStatusEnum`. pub mod policy_review_status_enum { - /// The possible policy review statuses. + /// The possible policy review statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyReviewStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Currently under review. + /// Currently under review. ReviewInProgress = 2, - /// Primary review complete. Other reviews may be continuing. + /// Primary review complete. Other reviews may be continuing. Reviewed = 3, - /// The resource has been resubmitted for approval or its policy decision has - /// been appealed. + /// The resource has been resubmitted for approval or its policy decision has + /// been appealed. UnderAppeal = 4, - /// The resource is eligible and may be serving but could still undergo - /// further review. + /// The resource is eligible and may be serving but could still undergo + /// further review. EligibleMayServe = 5, } impl PolicyReviewStatus { @@ -276,34 +276,34 @@ pub mod policy_review_status_enum { } } } -// Proto file describing the performance label of an asset. +// Proto file describing the performance label of an asset. -/// Container for enum describing the performance label of an asset. +/// Container for enum describing the performance label of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPerformanceLabelEnum { } /// Nested message and enum types in `AssetPerformanceLabelEnum`. pub mod asset_performance_label_enum { - /// Enum describing the possible performance labels of an asset, usually - /// computed in the context of a linkage. + /// Enum describing the possible performance labels of an asset, usually + /// computed in the context of a linkage. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetPerformanceLabel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This asset does not yet have any performance informantion. This may be - /// because it is still under review. + /// This asset does not yet have any performance informantion. This may be + /// because it is still under review. Pending = 2, - /// The asset has started getting impressions but the stats are not - /// statistically significant enough to get an asset performance label. + /// The asset has started getting impressions but the stats are not + /// statistically significant enough to get an asset performance label. Learning = 3, - /// Worst performing assets. + /// Worst performing assets. Low = 4, - /// Good performing assets. + /// Good performing assets. Good = 5, - /// Best performing assets. + /// Best performing assets. Best = 6, } impl AssetPerformanceLabel { @@ -324,33 +324,33 @@ pub mod asset_performance_label_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible asset field types. +/// Container for enum describing possible asset field types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServedAssetFieldTypeEnum { } /// Nested message and enum types in `ServedAssetFieldTypeEnum`. pub mod served_asset_field_type_enum { - /// The possible asset field types. + /// The possible asset field types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServedAssetFieldType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The asset is used in headline 1. + /// The asset is used in headline 1. Headline1 = 2, - /// The asset is used in headline 2. + /// The asset is used in headline 2. Headline2 = 3, - /// The asset is used in headline 3. + /// The asset is used in headline 3. Headline3 = 4, - /// The asset is used in description 1. + /// The asset is used in description 1. Description1 = 5, - /// The asset is used in description 2. + /// The asset is used in description 2. Description2 = 6, } impl ServedAssetFieldType { @@ -371,30 +371,30 @@ pub mod served_asset_field_type_enum { } } } -// Proto file describing call conversion reporting state. +// Proto file describing call conversion reporting state. -/// Container for enum describing possible data types for call conversion -/// reporting state. +/// Container for enum describing possible data types for call conversion +/// reporting state. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionReportingStateEnum { } /// Nested message and enum types in `CallConversionReportingStateEnum`. pub mod call_conversion_reporting_state_enum { - /// Possible data types for a call conversion action state. + /// Possible data types for a call conversion action state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallConversionReportingState { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Call conversion action is disabled. + /// Call conversion action is disabled. Disabled = 2, - /// Call conversion action will use call conversion type set at the - /// account level. + /// Call conversion action will use call conversion type set at the + /// account level. UseAccountLevelCallConversionAction = 3, - /// Call conversion action will use call conversion type set at the resource - /// (call only ads/call extensions) level. + /// Call conversion action will use call conversion type set at the resource + /// (call only ads/call extensions) level. UseResourceLevelCallConversionAction = 4, } impl CallConversionReportingState { @@ -413,28 +413,28 @@ pub mod call_conversion_reporting_state_enum { } } } -// Proto file describing display ad format settings. +// Proto file describing display ad format settings. -/// Container for display ad format settings. +/// Container for display ad format settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayAdFormatSettingEnum { } /// Nested message and enum types in `DisplayAdFormatSettingEnum`. pub mod display_ad_format_setting_enum { - /// Enumerates display ad format settings. + /// Enumerates display ad format settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayAdFormatSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Text, image and native formats. + /// Text, image and native formats. AllFormats = 2, - /// Text and image formats. + /// Text and image formats. NonNative = 3, - /// Native format, for example, the format rendering is controlled by the - /// publisher and not by Google. + /// Native format, for example, the format rendering is controlled by the + /// publisher and not by Google. Native = 4, } impl DisplayAdFormatSetting { @@ -453,64 +453,64 @@ pub mod display_ad_format_setting_enum { } } } -// Proto file describing display upload product types. +// Proto file describing display upload product types. -/// Container for display upload product types. Product types that have the word -/// "DYNAMIC" in them must be associated with a campaign that has a dynamic -/// remarketing feed. See -/// for more info about dynamic remarketing. Other product types are regarded -/// as "static" and do not have this requirement. +/// Container for display upload product types. Product types that have the word +/// "DYNAMIC" in them must be associated with a campaign that has a dynamic +/// remarketing feed. See +/// for more info about dynamic remarketing. Other product types are regarded +/// as "static" and do not have this requirement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadProductTypeEnum { } /// Nested message and enum types in `DisplayUploadProductTypeEnum`. pub mod display_upload_product_type_enum { - /// Enumerates display upload product types. + /// Enumerates display upload product types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayUploadProductType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// HTML5 upload ad. This product type requires the upload_media_bundle - /// field in DisplayUploadAdInfo to be set. + /// HTML5 upload ad. This product type requires the upload_media_bundle + /// field in DisplayUploadAdInfo to be set. Html5UploadAd = 2, - /// Dynamic HTML5 education ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in an education campaign. + /// Dynamic HTML5 education ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in an education campaign. DynamicHtml5EducationAd = 3, - /// Dynamic HTML5 flight ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a flight campaign. + /// Dynamic HTML5 flight ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a flight campaign. DynamicHtml5FlightAd = 4, - /// Dynamic HTML5 hotel and rental ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel and rental ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelRentalAd = 5, - /// Dynamic HTML5 job ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a job campaign. + /// Dynamic HTML5 job ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a job campaign. DynamicHtml5JobAd = 6, - /// Dynamic HTML5 local ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a local campaign. + /// Dynamic HTML5 local ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a local campaign. DynamicHtml5LocalAd = 7, - /// Dynamic HTML5 real estate ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a real estate campaign. + /// Dynamic HTML5 real estate ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a real estate campaign. DynamicHtml5RealEstateAd = 8, - /// Dynamic HTML5 custom ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a custom campaign. + /// Dynamic HTML5 custom ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a custom campaign. DynamicHtml5CustomAd = 9, - /// Dynamic HTML5 travel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a travel campaign. + /// Dynamic HTML5 travel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a travel campaign. DynamicHtml5TravelAd = 10, - /// Dynamic HTML5 hotel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelAd = 11, } impl DisplayUploadProductType { @@ -536,31 +536,31 @@ pub mod display_upload_product_type_enum { } } } -// Proto file describing app store types for a legacy app install ad. +// Proto file describing app store types for a legacy app install ad. -/// Container for enum describing app store type in a legacy app install ad. +/// Container for enum describing app store type in a legacy app install ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdAppStoreEnum { } /// Nested message and enum types in `LegacyAppInstallAdAppStoreEnum`. pub mod legacy_app_install_ad_app_store_enum { - /// App store type in a legacy app install ad. + /// App store type in a legacy app install ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LegacyAppInstallAdAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleAppStore = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, - /// Windows Store. + /// Windows Store. WindowsStore = 4, - /// Windows Phone Store. + /// Windows Phone Store. WindowsPhoneStore = 5, - /// The app is hosted in a Chinese app store. + /// The app is hosted in a Chinese app store. CnAppStore = 6, } impl LegacyAppInstallAdAppStore { @@ -581,47 +581,47 @@ pub mod legacy_app_install_ad_app_store_enum { } } } -// Proto file describing mime types. +// Proto file describing mime types. -/// Container for enum describing the mime types. +/// Container for enum describing the mime types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MimeTypeEnum { } /// Nested message and enum types in `MimeTypeEnum`. pub mod mime_type_enum { - /// The mime type + /// The mime type #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MimeType { - /// The mime type has not been specified. + /// The mime type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// MIME type of image/jpeg. + /// MIME type of image/jpeg. ImageJpeg = 2, - /// MIME type of image/gif. + /// MIME type of image/gif. ImageGif = 3, - /// MIME type of image/png. + /// MIME type of image/png. ImagePng = 4, - /// MIME type of application/x-shockwave-flash. + /// MIME type of application/x-shockwave-flash. Flash = 5, - /// MIME type of text/html. + /// MIME type of text/html. TextHtml = 6, - /// MIME type of application/pdf. + /// MIME type of application/pdf. Pdf = 7, - /// MIME type of application/msword. + /// MIME type of application/msword. Msword = 8, - /// MIME type of application/vnd.ms-excel. + /// MIME type of application/vnd.ms-excel. Msexcel = 9, - /// MIME type of application/rtf. + /// MIME type of application/rtf. Rtf = 10, - /// MIME type of audio/wav. + /// MIME type of audio/wav. AudioWav = 11, - /// MIME type of audio/mp3. + /// MIME type of audio/mp3. AudioMp3 = 12, - /// MIME type of application/x-html5-ad-zip. + /// MIME type of application/x-html5-ad-zip. Html5AdZip = 13, } impl MimeType { @@ -649,32 +649,32 @@ pub mod mime_type_enum { } } } -// Proto file describing video thumbnails. +// Proto file describing video thumbnails. -/// Defines the thumbnail to use for In-Display video ads. Note that -/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -/// auto-generated from the video. +/// Defines the thumbnail to use for In-Display video ads. Note that +/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are +/// auto-generated from the video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoThumbnailEnum { } /// Nested message and enum types in `VideoThumbnailEnum`. pub mod video_thumbnail_enum { - /// Enum listing the possible types of a video thumbnail. + /// Enum listing the possible types of a video thumbnail. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VideoThumbnail { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The default thumbnail. Can be auto-generated or user-uploaded. + /// The default thumbnail. Can be auto-generated or user-uploaded. DefaultThumbnail = 2, - /// Thumbnail 1, generated from the video. + /// Thumbnail 1, generated from the video. Thumbnail1 = 3, - /// Thumbnail 2, generated from the video. + /// Thumbnail 2, generated from the video. Thumbnail2 = 4, - /// Thumbnail 3, generated from the video. + /// Thumbnail 3, generated from the video. Thumbnail3 = 5, } impl VideoThumbnail { @@ -694,36 +694,36 @@ pub mod video_thumbnail_enum { } } } -// Proto file describing age range types. +// Proto file describing age range types. -/// Container for enum describing the type of demographic age ranges. +/// Container for enum describing the type of demographic age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeTypeEnum { } /// Nested message and enum types in `AgeRangeTypeEnum`. pub mod age_range_type_enum { - /// The type of demographic age ranges (for example, between 18 and 24 years - /// old). + /// The type of demographic age ranges (for example, between 18 and 24 years + /// old). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AgeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, - /// Undetermined age range. + /// Undetermined age range. AgeRangeUndetermined = 503999, } impl AgeRangeType { @@ -746,23 +746,23 @@ pub mod age_range_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// Represents a criterion for targeting paid apps. +/// Represents a criterion for targeting paid apps. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelTypeEnum { } /// Nested message and enum types in `AppPaymentModelTypeEnum`. pub mod app_payment_model_type_enum { - /// Enum describing possible app payment models. + /// Enum describing possible app payment models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPaymentModelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents paid-for apps. + /// Represents paid-for apps. Paid = 30, } impl AppPaymentModelType { @@ -779,51 +779,51 @@ pub mod app_payment_model_type_enum { } } } -// Proto file describing content label types. +// Proto file describing content label types. -/// Container for enum describing content label types in ContentLabel. +/// Container for enum describing content label types in ContentLabel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelTypeEnum { } /// Nested message and enum types in `ContentLabelTypeEnum`. pub mod content_label_type_enum { - /// Enum listing the content label types supported by ContentLabel criterion. + /// Enum listing the content label types supported by ContentLabel criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentLabelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Sexually suggestive content. + /// Sexually suggestive content. SexuallySuggestive = 2, - /// Below the fold placement. + /// Below the fold placement. BelowTheFold = 3, - /// Parked domain. + /// Parked domain. ParkedDomain = 4, - /// Juvenile, gross & bizarre content. + /// Juvenile, gross & bizarre content. Juvenile = 6, - /// Profanity & rough language. + /// Profanity & rough language. Profanity = 7, - /// Death & tragedy. + /// Death & tragedy. Tragedy = 8, - /// Video. + /// Video. Video = 9, - /// Content rating: G. + /// Content rating: G. VideoRatingDvG = 10, - /// Content rating: PG. + /// Content rating: PG. VideoRatingDvPg = 11, - /// Content rating: T. + /// Content rating: T. VideoRatingDvT = 12, - /// Content rating: MA. + /// Content rating: MA. VideoRatingDvMa = 13, - /// Content rating: not yet rated. + /// Content rating: not yet rated. VideoNotYetRated = 14, - /// Embedded video. + /// Embedded video. EmbeddedVideo = 15, - /// Live streaming video. + /// Live streaming video. LiveStreamingVideo = 16, - /// Sensitive social issues. + /// Sensitive social issues. SocialIssues = 17, } impl ContentLabelType { @@ -854,35 +854,35 @@ pub mod content_label_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of days of the week, for example, "Monday". +/// Container for enumeration of days of the week, for example, "Monday". #[derive(Clone, PartialEq, ::prost::Message)] pub struct DayOfWeekEnum { } /// Nested message and enum types in `DayOfWeekEnum`. pub mod day_of_week_enum { - /// Enumerates days of the week, for example, "Monday". + /// Enumerates days of the week, for example, "Monday". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DayOfWeek { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Monday. + /// Monday. Monday = 2, - /// Tuesday. + /// Tuesday. Tuesday = 3, - /// Wednesday. + /// Wednesday. Wednesday = 4, - /// Thursday. + /// Thursday. Thursday = 5, - /// Friday. + /// Friday. Friday = 6, - /// Saturday. + /// Saturday. Saturday = 7, - /// Sunday. + /// Sunday. Sunday = 8, } impl DayOfWeek { @@ -905,31 +905,31 @@ pub mod day_of_week_enum { } } } -// Proto file describing devices. +// Proto file describing devices. -/// Container for enumeration of Google Ads devices available for targeting. +/// Container for enumeration of Google Ads devices available for targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceEnum { } /// Nested message and enum types in `DeviceEnum`. pub mod device_enum { - /// Enumerates Google Ads devices available for targeting. + /// Enumerates Google Ads devices available for targeting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Device { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile devices with full browsers. + /// Mobile devices with full browsers. Mobile = 2, - /// Tablets with full browsers. + /// Tablets with full browsers. Tablet = 3, - /// Computers. + /// Computers. Desktop = 4, - /// Smart TVs and game consoles. + /// Smart TVs and game consoles. ConnectedTv = 6, - /// Other device types. + /// Other device types. Other = 5, } impl Device { @@ -950,27 +950,27 @@ pub mod device_enum { } } } -// Proto file describing gender types. +// Proto file describing gender types. -/// Container for enum describing the type of demographic genders. +/// Container for enum describing the type of demographic genders. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderTypeEnum { } /// Nested message and enum types in `GenderTypeEnum`. pub mod gender_type_enum { - /// The type of demographic genders (for example, female). + /// The type of demographic genders (for example, female). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GenderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Male. + /// Male. Male = 10, - /// Female. + /// Female. Female = 11, - /// Undetermined gender. + /// Undetermined gender. Undetermined = 20, } impl GenderType { @@ -989,25 +989,25 @@ pub mod gender_type_enum { } } } -// Proto file describing hotel date selection types. +// Proto file describing hotel date selection types. -/// Container for enum describing possible hotel date selection types +/// Container for enum describing possible hotel date selection types #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeEnum { } /// Nested message and enum types in `HotelDateSelectionTypeEnum`. pub mod hotel_date_selection_type_enum { - /// Enum describing possible hotel date selection types. + /// Enum describing possible hotel date selection types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelDateSelectionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dates selected by default. + /// Dates selected by default. DefaultSelection = 50, - /// Dates selected by the user. + /// Dates selected by the user. UserSelected = 51, } impl HotelDateSelectionType { @@ -1025,35 +1025,35 @@ pub mod hotel_date_selection_type_enum { } } } -// Proto file describing income range types. +// Proto file describing income range types. -/// Container for enum describing the type of demographic income ranges. +/// Container for enum describing the type of demographic income ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeTypeEnum { } /// Nested message and enum types in `IncomeRangeTypeEnum`. pub mod income_range_type_enum { - /// The type of demographic income ranges (for example, between 0% to 50%). + /// The type of demographic income ranges (for example, between 0% to 50%). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IncomeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 0%-50%. + /// 0%-50%. IncomeRange050 = 510001, - /// 50% to 60%. + /// 50% to 60%. IncomeRange5060 = 510002, - /// 60% to 70%. + /// 60% to 70%. IncomeRange6070 = 510003, - /// 70% to 80%. + /// 70% to 80%. IncomeRange7080 = 510004, - /// 80% to 90%. + /// 80% to 90%. IncomeRange8090 = 510005, - /// Greater than 90%. + /// Greater than 90%. IncomeRange90Up = 510006, - /// Undetermined income range. + /// Undetermined income range. IncomeRangeUndetermined = 510000, } impl IncomeRangeType { @@ -1076,23 +1076,23 @@ pub mod income_range_type_enum { } } } -// Proto file describing interaction types. +// Proto file describing interaction types. -/// Container for enum describing possible interaction types. +/// Container for enum describing possible interaction types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeEnum { } /// Nested message and enum types in `InteractionTypeEnum`. pub mod interaction_type_enum { - /// Enum describing possible interaction types. + /// Enum describing possible interaction types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Calls. + /// Calls. Calls = 8000, } impl InteractionType { @@ -1109,27 +1109,27 @@ pub mod interaction_type_enum { } } } -// Proto file describing Keyword match types. +// Proto file describing Keyword match types. -/// Message describing Keyword match types. +/// Message describing Keyword match types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeEnum { } /// Nested message and enum types in `KeywordMatchTypeEnum`. pub mod keyword_match_type_enum { - /// Possible Keyword match types. + /// Possible Keyword match types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Exact match. + /// Exact match. Exact = 2, - /// Phrase match. + /// Phrase match. Phrase = 3, - /// Broad match. + /// Broad match. Broad = 4, } impl KeywordMatchType { @@ -1148,27 +1148,27 @@ pub mod keyword_match_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group. +/// Container for enum describing the type of the listing group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupTypeEnum { } /// Nested message and enum types in `ListingGroupTypeEnum`. pub mod listing_group_type_enum { - /// The type of the listing group. + /// The type of the listing group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimension. These nodes - /// are not used by serving to target listing entries, but is purely - /// to define the structure of the tree. + /// Subdivision of products along some listing dimension. These nodes + /// are not used by serving to target listing entries, but is purely + /// to define the structure of the tree. Subdivision = 2, - /// Listing group unit that defines a bid. + /// Listing group unit that defines a bid. Unit = 3, } impl ListingGroupType { @@ -1186,27 +1186,27 @@ pub mod listing_group_type_enum { } } } -// Proto file describing location group radius units. +// Proto file describing location group radius units. -/// Container for enum describing unit of radius in location group. +/// Container for enum describing unit of radius in location group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupRadiusUnitsEnum { } /// Nested message and enum types in `LocationGroupRadiusUnitsEnum`. pub mod location_group_radius_units_enum { - /// The unit of radius distance in location group (for example, MILES) + /// The unit of radius distance in location group (for example, MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationGroupRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meters + /// Meters Meters = 2, - /// Miles + /// Miles Miles = 3, - /// Milli Miles + /// Milli Miles MilliMiles = 4, } impl LocationGroupRadiusUnits { @@ -1225,29 +1225,29 @@ pub mod location_group_radius_units_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of quarter-hours. +/// Container for enumeration of quarter-hours. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MinuteOfHourEnum { } /// Nested message and enum types in `MinuteOfHourEnum`. pub mod minute_of_hour_enum { - /// Enumerates of quarter-hours. For example, "FIFTEEN" + /// Enumerates of quarter-hours. For example, "FIFTEEN" #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinuteOfHour { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Zero minutes past the hour. + /// Zero minutes past the hour. Zero = 2, - /// Fifteen minutes past the hour. + /// Fifteen minutes past the hour. Fifteen = 3, - /// Thirty minutes past the hour. + /// Thirty minutes past the hour. Thirty = 4, - /// Forty-five minutes past the hour. + /// Forty-five minutes past the hour. FortyFive = 5, } impl MinuteOfHour { @@ -1267,27 +1267,27 @@ pub mod minute_of_hour_enum { } } } -// Proto file describing parenal status types. +// Proto file describing parenal status types. -/// Container for enum describing the type of demographic parental statuses. +/// Container for enum describing the type of demographic parental statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusTypeEnum { } /// Nested message and enum types in `ParentalStatusTypeEnum`. pub mod parental_status_type_enum { - /// The type of parental statuses (for example, not a parent). + /// The type of parental statuses (for example, not a parent). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ParentalStatusType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Parent. + /// Parent. Parent = 300, - /// Not a parent. + /// Not a parent. NotAParent = 301, - /// Undetermined parental status. + /// Undetermined parental status. Undetermined = 302, } impl ParentalStatusType { @@ -1306,23 +1306,23 @@ pub mod parental_status_type_enum { } } } -// Proto file describing preferred content criterion type. +// Proto file describing preferred content criterion type. -/// Container for enumeration of preferred content criterion type. +/// Container for enumeration of preferred content criterion type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentTypeEnum { } /// Nested message and enum types in `PreferredContentTypeEnum`. pub mod preferred_content_type_enum { - /// Enumerates preferred content criterion type. + /// Enumerates preferred content criterion type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PreferredContentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Represents top content on YouTube. + /// Represents top content on YouTube. YoutubeTopContent = 400, } impl PreferredContentType { @@ -1339,29 +1339,29 @@ pub mod preferred_content_type_enum { } } } -/// Level of a product bidding category. +/// Level of a product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryLevelEnum { } /// Nested message and enum types in `ProductBiddingCategoryLevelEnum`. pub mod product_bidding_category_level_enum { - /// Enum describing the level of the product bidding category. + /// Enum describing the level of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ProductBiddingCategoryLevel { @@ -1382,25 +1382,25 @@ pub mod product_bidding_category_level_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelEnum { } /// Nested message and enum types in `ProductChannelEnum`. pub mod product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ProductChannel { @@ -1418,27 +1418,27 @@ pub mod product_channel_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityEnum { } /// Nested message and enum types in `ProductChannelExclusivityEnum`. pub mod product_channel_exclusivity_enum { - /// Enum describing the availability of a product offer. + /// Enum describing the availability of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannelExclusivity { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold through one channel only, either local stores or online - /// as indicated by its ProductChannel. + /// The item is sold through one channel only, either local stores or online + /// as indicated by its ProductChannel. SingleChannel = 2, - /// The item is matched to its online or local stores counterpart, indicating - /// it is available for purchase in both ShoppingProductChannels. + /// The item is matched to its online or local stores counterpart, indicating + /// it is available for purchase in both ShoppingProductChannels. MultiChannel = 3, } impl ProductChannelExclusivity { @@ -1456,27 +1456,27 @@ pub mod product_channel_exclusivity_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionEnum { } /// Nested message and enum types in `ProductConditionEnum`. pub mod product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 3, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 4, - /// The product condition is used. + /// The product condition is used. Used = 5, } impl ProductCondition { @@ -1495,31 +1495,31 @@ pub mod product_condition_enum { } } } -// Proto file describing product custom attributes. +// Proto file describing product custom attributes. -/// Container for enum describing the index of the product custom attribute. +/// Container for enum describing the index of the product custom attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeIndexEnum { } /// Nested message and enum types in `ProductCustomAttributeIndexEnum`. pub mod product_custom_attribute_index_enum { - /// The index of the product custom attribute. + /// The index of the product custom attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First product custom attribute. + /// First product custom attribute. Index0 = 7, - /// Second product custom attribute. + /// Second product custom attribute. Index1 = 8, - /// Third product custom attribute. + /// Third product custom attribute. Index2 = 9, - /// Fourth product custom attribute. + /// Fourth product custom attribute. Index3 = 10, - /// Fifth product custom attribute. + /// Fifth product custom attribute. Index4 = 11, } impl ProductCustomAttributeIndex { @@ -1540,31 +1540,31 @@ pub mod product_custom_attribute_index_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeLevelEnum { } /// Nested message and enum types in `ProductTypeLevelEnum`. pub mod product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 7, - /// Level 2. + /// Level 2. Level2 = 8, - /// Level 3. + /// Level 3. Level3 = 9, - /// Level 4. + /// Level 4. Level4 = 10, - /// Level 5. + /// Level 5. Level5 = 11, } impl ProductTypeLevel { @@ -1585,25 +1585,25 @@ pub mod product_type_level_enum { } } } -// Proto file describing proximity radius units. +// Proto file describing proximity radius units. -/// Container for enum describing unit of radius in proximity. +/// Container for enum describing unit of radius in proximity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityRadiusUnitsEnum { } /// Nested message and enum types in `ProximityRadiusUnitsEnum`. pub mod proximity_radius_units_enum { - /// The unit of radius distance in proximity (for example, MILES) + /// The unit of radius distance in proximity (for example, MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProximityRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Miles + /// Miles Miles = 2, - /// Kilometers + /// Kilometers Kilometers = 3, } impl ProximityRadiusUnits { @@ -1621,31 +1621,31 @@ pub mod proximity_radius_units_enum { } } } -// Proto file describing webpage condition operand. +// Proto file describing webpage condition operand. -/// Container for enum describing webpage condition operand in webpage criterion. +/// Container for enum describing webpage condition operand in webpage criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperandEnum { } /// Nested message and enum types in `WebpageConditionOperandEnum`. pub mod webpage_condition_operand_enum { - /// The webpage condition operand in webpage criterion. + /// The webpage condition operand in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperand { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Operand denoting a webpage URL targeting condition. + /// Operand denoting a webpage URL targeting condition. Url = 2, - /// Operand denoting a webpage category targeting condition. + /// Operand denoting a webpage category targeting condition. Category = 3, - /// Operand denoting a webpage title targeting condition. + /// Operand denoting a webpage title targeting condition. PageTitle = 4, - /// Operand denoting a webpage content targeting condition. + /// Operand denoting a webpage content targeting condition. PageContent = 5, - /// Operand denoting a webpage custom label targeting condition. + /// Operand denoting a webpage custom label targeting condition. CustomLabel = 6, } impl WebpageConditionOperand { @@ -1666,26 +1666,26 @@ pub mod webpage_condition_operand_enum { } } } -// Proto file describing webpage condition operator. +// Proto file describing webpage condition operator. -/// Container for enum describing webpage condition operator in webpage -/// criterion. +/// Container for enum describing webpage condition operator in webpage +/// criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperatorEnum { } /// Nested message and enum types in `WebpageConditionOperatorEnum`. pub mod webpage_condition_operator_enum { - /// The webpage condition operator in webpage criterion. + /// The webpage condition operator in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The argument web condition is equal to the compared web condition. + /// The argument web condition is equal to the compared web condition. Equals = 2, - /// The argument web condition is part of the compared web condition. + /// The argument web condition is part of the compared web condition. Contains = 3, } impl WebpageConditionOperator { @@ -1703,39 +1703,39 @@ pub mod webpage_condition_operator_enum { } } } -// Proto file describing call to action type. +// Proto file describing call to action type. -/// Container for enum describing the call to action types. +/// Container for enum describing the call to action types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionTypeEnum { } /// Nested message and enum types in `CallToActionTypeEnum`. pub mod call_to_action_type_enum { - /// Enum describing possible types of call to action. + /// Enum describing possible types of call to action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call to action type is learn more. + /// The call to action type is learn more. LearnMore = 2, - /// The call to action type is get quote. + /// The call to action type is get quote. GetQuote = 3, - /// The call to action type is apply now. + /// The call to action type is apply now. ApplyNow = 4, - /// The call to action type is sign up. + /// The call to action type is sign up. SignUp = 5, - /// The call to action type is contact us. + /// The call to action type is contact us. ContactUs = 6, - /// The call to action type is subscribe. + /// The call to action type is subscribe. Subscribe = 7, - /// The call to action type is download. + /// The call to action type is download. Download = 8, - /// The call to action type is book now. + /// The call to action type is book now. BookNow = 9, - /// The call to action type is shop now. + /// The call to action type is shop now. ShopNow = 10, } impl CallToActionType { @@ -1760,47 +1760,47 @@ pub mod call_to_action_type_enum { } } } -/// Describes the type of call-to-action phrases in a lead form. +/// Describes the type of call-to-action phrases in a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormCallToActionTypeEnum`. pub mod lead_form_call_to_action_type_enum { - /// Enum describing the type of call-to-action phrases in a lead form. + /// Enum describing the type of call-to-action phrases in a lead form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Learn more. + /// Learn more. LearnMore = 2, - /// Get quote. + /// Get quote. GetQuote = 3, - /// Apply now. + /// Apply now. ApplyNow = 4, - /// Sign Up. + /// Sign Up. SignUp = 5, - /// Contact us. + /// Contact us. ContactUs = 6, - /// Subscribe. + /// Subscribe. Subscribe = 7, - /// Download. + /// Download. Download = 8, - /// Book now. + /// Book now. BookNow = 9, - /// Get offer. + /// Get offer. GetOffer = 10, - /// Register. + /// Register. Register = 11, - /// Get info. + /// Get info. GetInfo = 12, - /// Request a demo. + /// Request a demo. RequestDemo = 13, - /// Join now. + /// Join now. JoinNow = 14, - /// Get started. + /// Get started. GetStarted = 15, } impl LeadFormCallToActionType { @@ -1830,23 +1830,23 @@ pub mod lead_form_call_to_action_type_enum { } } } -/// Describes the chosen level of intent of generated leads. +/// Describes the chosen level of intent of generated leads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDesiredIntentEnum { } /// Nested message and enum types in `LeadFormDesiredIntentEnum`. pub mod lead_form_desired_intent_enum { - /// Enum describing the chosen level of intent of generated leads. + /// Enum describing the chosen level of intent of generated leads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormDesiredIntent { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Deliver more leads at a potentially lower quality. + /// Deliver more leads at a potentially lower quality. LowIntent = 2, - /// Deliver leads that are more qualified. + /// Deliver leads that are more qualified. HighIntent = 3, } impl LeadFormDesiredIntent { @@ -1864,350 +1864,350 @@ pub mod lead_form_desired_intent_enum { } } } -/// Describes the input type of a lead form field. +/// Describes the input type of a lead form field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormFieldUserInputTypeEnum { } /// Nested message and enum types in `LeadFormFieldUserInputTypeEnum`. pub mod lead_form_field_user_input_type_enum { - /// Enum describing the input type of a lead form field. + /// Enum describing the input type of a lead form field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormFieldUserInputType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The user will be asked to fill in their given and family name. This field - /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. + /// The user will be asked to fill in their given and family name. This field + /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. FullName = 2, - /// The user will be asked to fill in their email address. + /// The user will be asked to fill in their email address. Email = 3, - /// The user will be asked to fill in their phone number. + /// The user will be asked to fill in their phone number. PhoneNumber = 4, - /// The user will be asked to fill in their zip code. + /// The user will be asked to fill in their zip code. PostalCode = 5, - /// The user will be asked to fill in their street address. + /// The user will be asked to fill in their street address. StreetAddress = 8, - /// The user will be asked to fill in their city. + /// The user will be asked to fill in their city. City = 9, - /// The user will be asked to fill in their region part of the address (for - /// example, state for US, province for Canada). + /// The user will be asked to fill in their region part of the address (for + /// example, state for US, province for Canada). Region = 10, - /// The user will be asked to fill in their country. + /// The user will be asked to fill in their country. Country = 11, - /// The user will be asked to fill in their work email address. + /// The user will be asked to fill in their work email address. WorkEmail = 12, - /// The user will be asked to fill in their company name. + /// The user will be asked to fill in their company name. CompanyName = 13, - /// The user will be asked to fill in their work phone. + /// The user will be asked to fill in their work phone. WorkPhone = 14, - /// The user will be asked to fill in their job title. + /// The user will be asked to fill in their job title. JobTitle = 15, - /// The user will be asked to fill in their CPF for Brazil users. + /// The user will be asked to fill in their CPF for Brazil users. GovernmentIssuedIdCpfBr = 16, - /// The user will be asked to fill in their DNI for Argentina users. + /// The user will be asked to fill in their DNI for Argentina users. GovernmentIssuedIdDniAr = 17, - /// The user will be asked to fill in their DNI for Peru users. + /// The user will be asked to fill in their DNI for Peru users. GovernmentIssuedIdDniPe = 18, - /// The user will be asked to fill in their RUT for Chile users. + /// The user will be asked to fill in their RUT for Chile users. GovernmentIssuedIdRutCl = 19, - /// The user will be asked to fill in their CC for Colombia users. + /// The user will be asked to fill in their CC for Colombia users. GovernmentIssuedIdCcCo = 20, - /// The user will be asked to fill in their CI for Ecuador users. + /// The user will be asked to fill in their CI for Ecuador users. GovernmentIssuedIdCiEc = 21, - /// The user will be asked to fill in their RFC for Mexico users. + /// The user will be asked to fill in their RFC for Mexico users. GovernmentIssuedIdRfcMx = 22, - /// The user will be asked to fill in their first name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their first name. This + /// field can not be set at the same time as FULL_NAME. FirstName = 23, - /// The user will be asked to fill in their last name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their last name. This + /// field can not be set at the same time as FULL_NAME. LastName = 24, - /// Question: "Which model are you interested in?" - /// Category: "Auto" + /// Question: "Which model are you interested in?" + /// Category: "Auto" VehicleModel = 1001, - /// Question: "Which type of vehicle are you interested in?" - /// Category: "Auto" + /// Question: "Which type of vehicle are you interested in?" + /// Category: "Auto" VehicleType = 1002, - /// Question: "What is your preferred dealership?" - /// Category: "Auto" + /// Question: "What is your preferred dealership?" + /// Category: "Auto" PreferredDealership = 1003, - /// Question: "When do you plan on purchasing a vehicle?" - /// Category: "Auto" + /// Question: "When do you plan on purchasing a vehicle?" + /// Category: "Auto" VehiclePurchaseTimeline = 1004, - /// Question: "Do you own a vehicle?" - /// Category: "Auto" + /// Question: "Do you own a vehicle?" + /// Category: "Auto" VehicleOwnership = 1005, - /// Question: "What vehicle ownership option are you interested in?" - /// Category: "Auto" + /// Question: "What vehicle ownership option are you interested in?" + /// Category: "Auto" VehiclePaymentType = 1009, - /// Question: "What type of vehicle condition are you interested in?" - /// Category: "Auto" + /// Question: "What type of vehicle condition are you interested in?" + /// Category: "Auto" VehicleCondition = 1010, - /// Question: "What size is your company?" - /// Category: "Business" + /// Question: "What size is your company?" + /// Category: "Business" CompanySize = 1006, - /// Question: "What is your annual sales volume?" - /// Category: "Business" + /// Question: "What is your annual sales volume?" + /// Category: "Business" AnnualSales = 1007, - /// Question: "How many years have you been in business?" - /// Category: "Business" + /// Question: "How many years have you been in business?" + /// Category: "Business" YearsInBusiness = 1008, - /// Question: "What is your job department?" - /// Category: "Business" + /// Question: "What is your job department?" + /// Category: "Business" JobDepartment = 1011, - /// Question: "What is your job role?" - /// Category: "Business" + /// Question: "What is your job role?" + /// Category: "Business" JobRole = 1012, - /// Question: "Are you over 18 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 18 years of age?" + /// Category: "Demographics" Over18Age = 1078, - /// Question: "Are you over 19 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 19 years of age?" + /// Category: "Demographics" Over19Age = 1079, - /// Question: "Are you over 20 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 20 years of age?" + /// Category: "Demographics" Over20Age = 1080, - /// Question: "Are you over 21 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 21 years of age?" + /// Category: "Demographics" Over21Age = 1081, - /// Question: "Are you over 22 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 22 years of age?" + /// Category: "Demographics" Over22Age = 1082, - /// Question: "Are you over 23 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 23 years of age?" + /// Category: "Demographics" Over23Age = 1083, - /// Question: "Are you over 24 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 24 years of age?" + /// Category: "Demographics" Over24Age = 1084, - /// Question: "Are you over 25 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 25 years of age?" + /// Category: "Demographics" Over25Age = 1085, - /// Question: "Are you over 26 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 26 years of age?" + /// Category: "Demographics" Over26Age = 1086, - /// Question: "Are you over 27 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 27 years of age?" + /// Category: "Demographics" Over27Age = 1087, - /// Question: "Are you over 28 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 28 years of age?" + /// Category: "Demographics" Over28Age = 1088, - /// Question: "Are you over 29 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 29 years of age?" + /// Category: "Demographics" Over29Age = 1089, - /// Question: "Are you over 30 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 30 years of age?" + /// Category: "Demographics" Over30Age = 1090, - /// Question: "Are you over 31 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 31 years of age?" + /// Category: "Demographics" Over31Age = 1091, - /// Question: "Are you over 32 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 32 years of age?" + /// Category: "Demographics" Over32Age = 1092, - /// Question: "Are you over 33 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 33 years of age?" + /// Category: "Demographics" Over33Age = 1093, - /// Question: "Are you over 34 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 34 years of age?" + /// Category: "Demographics" Over34Age = 1094, - /// Question: "Are you over 35 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 35 years of age?" + /// Category: "Demographics" Over35Age = 1095, - /// Question: "Are you over 36 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 36 years of age?" + /// Category: "Demographics" Over36Age = 1096, - /// Question: "Are you over 37 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 37 years of age?" + /// Category: "Demographics" Over37Age = 1097, - /// Question: "Are you over 38 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 38 years of age?" + /// Category: "Demographics" Over38Age = 1098, - /// Question: "Are you over 39 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 39 years of age?" + /// Category: "Demographics" Over39Age = 1099, - /// Question: "Are you over 40 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 40 years of age?" + /// Category: "Demographics" Over40Age = 1100, - /// Question: "Are you over 41 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 41 years of age?" + /// Category: "Demographics" Over41Age = 1101, - /// Question: "Are you over 42 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 42 years of age?" + /// Category: "Demographics" Over42Age = 1102, - /// Question: "Are you over 43 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 43 years of age?" + /// Category: "Demographics" Over43Age = 1103, - /// Question: "Are you over 44 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 44 years of age?" + /// Category: "Demographics" Over44Age = 1104, - /// Question: "Are you over 45 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 45 years of age?" + /// Category: "Demographics" Over45Age = 1105, - /// Question: "Are you over 46 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 46 years of age?" + /// Category: "Demographics" Over46Age = 1106, - /// Question: "Are you over 47 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 47 years of age?" + /// Category: "Demographics" Over47Age = 1107, - /// Question: "Are you over 48 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 48 years of age?" + /// Category: "Demographics" Over48Age = 1108, - /// Question: "Are you over 49 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 49 years of age?" + /// Category: "Demographics" Over49Age = 1109, - /// Question: "Are you over 50 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 50 years of age?" + /// Category: "Demographics" Over50Age = 1110, - /// Question: "Are you over 51 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 51 years of age?" + /// Category: "Demographics" Over51Age = 1111, - /// Question: "Are you over 52 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 52 years of age?" + /// Category: "Demographics" Over52Age = 1112, - /// Question: "Are you over 53 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 53 years of age?" + /// Category: "Demographics" Over53Age = 1113, - /// Question: "Are you over 54 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 54 years of age?" + /// Category: "Demographics" Over54Age = 1114, - /// Question: "Are you over 55 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 55 years of age?" + /// Category: "Demographics" Over55Age = 1115, - /// Question: "Are you over 56 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 56 years of age?" + /// Category: "Demographics" Over56Age = 1116, - /// Question: "Are you over 57 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 57 years of age?" + /// Category: "Demographics" Over57Age = 1117, - /// Question: "Are you over 58 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 58 years of age?" + /// Category: "Demographics" Over58Age = 1118, - /// Question: "Are you over 59 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 59 years of age?" + /// Category: "Demographics" Over59Age = 1119, - /// Question: "Are you over 60 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 60 years of age?" + /// Category: "Demographics" Over60Age = 1120, - /// Question: "Are you over 61 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 61 years of age?" + /// Category: "Demographics" Over61Age = 1121, - /// Question: "Are you over 62 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 62 years of age?" + /// Category: "Demographics" Over62Age = 1122, - /// Question: "Are you over 63 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 63 years of age?" + /// Category: "Demographics" Over63Age = 1123, - /// Question: "Are you over 64 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 64 years of age?" + /// Category: "Demographics" Over64Age = 1124, - /// Question: "Are you over 65 years of age?" - /// Category: "Demographics" + /// Question: "Are you over 65 years of age?" + /// Category: "Demographics" Over65Age = 1125, - /// Question: "Which program are you interested in?" - /// Category: "Education" + /// Question: "Which program are you interested in?" + /// Category: "Education" EducationProgram = 1013, - /// Question: "Which course are you interested in?" - /// Category: "Education" + /// Question: "Which course are you interested in?" + /// Category: "Education" EducationCourse = 1014, - /// Question: "Which product are you interested in?" - /// Category: "General" + /// Question: "Which product are you interested in?" + /// Category: "General" Product = 1016, - /// Question: "Which service are you interested in?" - /// Category: "General" + /// Question: "Which service are you interested in?" + /// Category: "General" Service = 1017, - /// Question: "Which offer are you interested in?" - /// Category: "General" + /// Question: "Which offer are you interested in?" + /// Category: "General" Offer = 1018, - /// Question: "Which category are you interested in?" - /// Category: "General" + /// Question: "Which category are you interested in?" + /// Category: "General" Category = 1019, - /// Question: "What is your preferred method of contact?" - /// Category: "General" + /// Question: "What is your preferred method of contact?" + /// Category: "General" PreferredContactMethod = 1020, - /// Question: "What is your preferred location?" - /// Category: "General" + /// Question: "What is your preferred location?" + /// Category: "General" PreferredLocation = 1021, - /// Question: "What is the best time to contact you?" - /// Category: "General" + /// Question: "What is the best time to contact you?" + /// Category: "General" PreferredContactTime = 1022, - /// Question: "When are you looking to make a purchase?" - /// Category: "General" + /// Question: "When are you looking to make a purchase?" + /// Category: "General" PurchaseTimeline = 1023, - /// Question: "How many years of work experience do you have?" - /// Category: "Jobs" + /// Question: "How many years of work experience do you have?" + /// Category: "Jobs" YearsOfExperience = 1048, - /// Question: "What industry do you work in?" - /// Category: "Jobs" + /// Question: "What industry do you work in?" + /// Category: "Jobs" JobIndustry = 1049, - /// Question: "What is your highest level of education?" - /// Category: "Jobs" + /// Question: "What is your highest level of education?" + /// Category: "Jobs" LevelOfEducation = 1050, - /// Question: "What type of property are you looking for?" - /// Category: "Real Estate" + /// Question: "What type of property are you looking for?" + /// Category: "Real Estate" PropertyType = 1024, - /// Question: "What do you need a realtor's help with?" - /// Category: "Real Estate" + /// Question: "What do you need a realtor's help with?" + /// Category: "Real Estate" RealtorHelpGoal = 1025, - /// Question: "What neighborhood are you interested in?" - /// Category: "Real Estate" + /// Question: "What neighborhood are you interested in?" + /// Category: "Real Estate" PropertyCommunity = 1026, - /// Question: "What price range are you looking for?" - /// Category: "Real Estate" + /// Question: "What price range are you looking for?" + /// Category: "Real Estate" PriceRange = 1027, - /// Question: "How many bedrooms are you looking for?" - /// Category: "Real Estate" + /// Question: "How many bedrooms are you looking for?" + /// Category: "Real Estate" NumberOfBedrooms = 1028, - /// Question: "Are you looking for a fully furnished property?" - /// Category: "Real Estate" + /// Question: "Are you looking for a fully furnished property?" + /// Category: "Real Estate" FurnishedProperty = 1029, - /// Question: "Are you looking for properties that allow pets?" - /// Category: "Real Estate" + /// Question: "Are you looking for properties that allow pets?" + /// Category: "Real Estate" PetsAllowedProperty = 1030, - /// Question: "What is the next product you plan to purchase?" - /// Category: "Retail" + /// Question: "What is the next product you plan to purchase?" + /// Category: "Retail" NextPlannedPurchase = 1031, - /// Question: "Would you like to sign up for an event?" - /// Category: "Retail" + /// Question: "Would you like to sign up for an event?" + /// Category: "Retail" EventSignupInterest = 1033, - /// Question: "Where are you interested in shopping?" - /// Category: "Retail" + /// Question: "Where are you interested in shopping?" + /// Category: "Retail" PreferredShoppingPlaces = 1034, - /// Question: "What is your favorite brand?" - /// Category: "Retail" + /// Question: "What is your favorite brand?" + /// Category: "Retail" FavoriteBrand = 1035, - /// Question: "Which type of valid commercial license do you have?" - /// Category: "Transportation" + /// Question: "Which type of valid commercial license do you have?" + /// Category: "Transportation" TransportationCommercialLicenseType = 1036, - /// Question: "Interested in booking an event?" - /// Category: "Travel" + /// Question: "Interested in booking an event?" + /// Category: "Travel" EventBookingInterest = 1038, - /// Question: "What is your destination country?" - /// Category: "Travel" + /// Question: "What is your destination country?" + /// Category: "Travel" DestinationCountry = 1039, - /// Question: "What is your destination city?" - /// Category: "Travel" + /// Question: "What is your destination city?" + /// Category: "Travel" DestinationCity = 1040, - /// Question: "What is your departure country?" - /// Category: "Travel" + /// Question: "What is your departure country?" + /// Category: "Travel" DepartureCountry = 1041, - /// Question: "What is your departure city?" - /// Category: "Travel" + /// Question: "What is your departure city?" + /// Category: "Travel" DepartureCity = 1042, - /// Question: "What is your departure date?" - /// Category: "Travel" + /// Question: "What is your departure date?" + /// Category: "Travel" DepartureDate = 1043, - /// Question: "What is your return date?" - /// Category: "Travel" + /// Question: "What is your return date?" + /// Category: "Travel" ReturnDate = 1044, - /// Question: "How many people are you traveling with?" - /// Category: "Travel" + /// Question: "How many people are you traveling with?" + /// Category: "Travel" NumberOfTravelers = 1045, - /// Question: "What is your travel budget?" - /// Category: "Travel" + /// Question: "What is your travel budget?" + /// Category: "Travel" TravelBudget = 1046, - /// Question: "Where do you want to stay during your travel?" - /// Category: "Travel" + /// Question: "Where do you want to stay during your travel?" + /// Category: "Travel" TravelAccommodation = 1047, } impl LeadFormFieldUserInputType { @@ -2339,28 +2339,28 @@ pub mod lead_form_field_user_input_type_enum { } } } -/// Describes the type of post-submit call-to-action phrases for a lead form. +/// Describes the type of post-submit call-to-action phrases for a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormPostSubmitCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormPostSubmitCallToActionTypeEnum`. pub mod lead_form_post_submit_call_to_action_type_enum { - /// Enum describing the type of post-submit call-to-action phrases for a lead - /// form. + /// Enum describing the type of post-submit call-to-action phrases for a lead + /// form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormPostSubmitCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Visit site. + /// Visit site. VisitSite = 2, - /// Download. + /// Download. Download = 3, - /// Learn more. + /// Learn more. LearnMore = 4, - /// Shop now. + /// Shop now. ShopNow = 5, } impl LeadFormPostSubmitCallToActionType { @@ -2380,23 +2380,23 @@ pub mod lead_form_post_submit_call_to_action_type_enum { } } } -/// Container for enum describing different types of mobile app vendors. +/// Container for enum describing different types of mobile app vendors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppVendorEnum { } /// Nested message and enum types in `MobileAppVendorEnum`. pub mod mobile_app_vendor_enum { - /// The type of mobile app vendor + /// The type of mobile app vendor #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileAppVendor { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app vendor for Apple app store. + /// Mobile app vendor for Apple app store. AppleAppStore = 2, - /// Mobile app vendor for Google app store. + /// Mobile app vendor for Google app store. GoogleAppStore = 3, } impl MobileAppVendor { @@ -2414,27 +2414,27 @@ pub mod mobile_app_vendor_enum { } } } -// Proto file describing price extension price qualifier type. +// Proto file describing price extension price qualifier type. -/// Container for enum describing a price extension price qualifier. +/// Container for enum describing a price extension price qualifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceQualifierEnum { } /// Nested message and enum types in `PriceExtensionPriceQualifierEnum`. pub mod price_extension_price_qualifier_enum { - /// Enums of price extension price qualifier. + /// Enums of price extension price qualifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceQualifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'From' qualifier for the price. + /// 'From' qualifier for the price. From = 2, - /// 'Up to' qualifier for the price. + /// 'Up to' qualifier for the price. UpTo = 3, - /// 'Average' qualifier for the price. + /// 'Average' qualifier for the price. Average = 4, } impl PriceExtensionPriceQualifier { @@ -2453,33 +2453,33 @@ pub mod price_extension_price_qualifier_enum { } } } -// Proto file describing price extension price unit. +// Proto file describing price extension price unit. -/// Container for enum describing price extension price unit. +/// Container for enum describing price extension price unit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceUnitEnum { } /// Nested message and enum types in `PriceExtensionPriceUnitEnum`. pub mod price_extension_price_unit_enum { - /// Price extension price unit. + /// Price extension price unit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per hour. + /// Per hour. PerHour = 2, - /// Per day. + /// Per day. PerDay = 3, - /// Per week. + /// Per week. PerWeek = 4, - /// Per month. + /// Per month. PerMonth = 5, - /// Per year. + /// Per year. PerYear = 6, - /// Per night. + /// Per night. PerNight = 7, } impl PriceExtensionPriceUnit { @@ -2501,39 +2501,39 @@ pub mod price_extension_price_unit_enum { } } } -// Proto file describing price extension type. +// Proto file describing price extension type. -/// Container for enum describing types for a price extension. +/// Container for enum describing types for a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionTypeEnum { } /// Nested message and enum types in `PriceExtensionTypeEnum`. pub mod price_extension_type_enum { - /// Price extension type. + /// Price extension type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The type for showing a list of brands. + /// The type for showing a list of brands. Brands = 2, - /// The type for showing a list of events. + /// The type for showing a list of events. Events = 3, - /// The type for showing locations relevant to your business. + /// The type for showing locations relevant to your business. Locations = 4, - /// The type for showing sub-regions or districts within a city or region. + /// The type for showing sub-regions or districts within a city or region. Neighborhoods = 5, - /// The type for showing a collection of product categories. + /// The type for showing a collection of product categories. ProductCategories = 6, - /// The type for showing a collection of related product tiers. + /// The type for showing a collection of related product tiers. ProductTiers = 7, - /// The type for showing a collection of services offered by your business. + /// The type for showing a collection of services offered by your business. Services = 8, - /// The type for showing a collection of service categories. + /// The type for showing a collection of service categories. ServiceCategories = 9, - /// The type for showing a collection of related service tiers. + /// The type for showing a collection of related service tiers. ServiceTiers = 10, } impl PriceExtensionType { @@ -2558,24 +2558,24 @@ pub mod price_extension_type_enum { } } } -// Proto file describing promotion extension discount modifier. +// Proto file describing promotion extension discount modifier. -/// Container for enum describing possible a promotion extension -/// discount modifier. +/// Container for enum describing possible a promotion extension +/// discount modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionDiscountModifierEnum { } /// Nested message and enum types in `PromotionExtensionDiscountModifierEnum`. pub mod promotion_extension_discount_modifier_enum { - /// A promotion extension discount modifier. + /// A promotion extension discount modifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionDiscountModifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'Up to'. + /// 'Up to'. UpTo = 2, } impl PromotionExtensionDiscountModifier { @@ -2592,97 +2592,97 @@ pub mod promotion_extension_discount_modifier_enum { } } } -// Proto file describing promotion extension occasion. +// Proto file describing promotion extension occasion. -/// Container for enum describing a promotion extension occasion. -/// For more information about the occasions check: -/// +/// Container for enum describing a promotion extension occasion. +/// For more information about the occasions check: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionOccasionEnum { } /// Nested message and enum types in `PromotionExtensionOccasionEnum`. pub mod promotion_extension_occasion_enum { - /// A promotion extension occasion. + /// A promotion extension occasion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionOccasion { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// New Year's. + /// New Year's. NewYears = 2, - /// Chinese New Year. + /// Chinese New Year. ChineseNewYear = 3, - /// Valentine's Day. + /// Valentine's Day. ValentinesDay = 4, - /// Easter. + /// Easter. Easter = 5, - /// Mother's Day. + /// Mother's Day. MothersDay = 6, - /// Father's Day. + /// Father's Day. FathersDay = 7, - /// Labor Day. + /// Labor Day. LaborDay = 8, - /// Back To School. + /// Back To School. BackToSchool = 9, - /// Halloween. + /// Halloween. Halloween = 10, - /// Black Friday. + /// Black Friday. BlackFriday = 11, - /// Cyber Monday. + /// Cyber Monday. CyberMonday = 12, - /// Christmas. + /// Christmas. Christmas = 13, - /// Boxing Day. + /// Boxing Day. BoxingDay = 14, - /// Independence Day in any country. + /// Independence Day in any country. IndependenceDay = 15, - /// National Day in any country. + /// National Day in any country. NationalDay = 16, - /// End of any season. + /// End of any season. EndOfSeason = 17, - /// Winter Sale. + /// Winter Sale. WinterSale = 18, - /// Summer sale. + /// Summer sale. SummerSale = 19, - /// Fall Sale. + /// Fall Sale. FallSale = 20, - /// Spring Sale. + /// Spring Sale. SpringSale = 21, - /// Ramadan. + /// Ramadan. Ramadan = 22, - /// Eid al-Fitr. + /// Eid al-Fitr. EidAlFitr = 23, - /// Eid al-Adha. + /// Eid al-Adha. EidAlAdha = 24, - /// Singles Day. + /// Singles Day. SinglesDay = 25, - /// Women's Day. + /// Women's Day. WomensDay = 26, - /// Holi. + /// Holi. Holi = 27, - /// Parent's Day. + /// Parent's Day. ParentsDay = 28, - /// St. Nicholas Day. + /// St. Nicholas Day. StNicholasDay = 29, - /// Carnival. + /// Carnival. Carnival = 30, - /// Epiphany, also known as Three Kings' Day. + /// Epiphany, also known as Three Kings' Day. Epiphany = 31, - /// Rosh Hashanah. + /// Rosh Hashanah. RoshHashanah = 32, - /// Passover. + /// Passover. Passover = 33, - /// Hanukkah. + /// Hanukkah. Hanukkah = 34, - /// Diwali. + /// Diwali. Diwali = 35, - /// Navratri. + /// Navratri. Navratri = 36, - /// Available in Thai: Songkran. + /// Available in Thai: Songkran. Songkran = 37, - /// Available in Japanese: Year-end Gift. + /// Available in Japanese: Year-end Gift. YearEndGift = 38, } impl PromotionExtensionOccasion { @@ -2735,29 +2735,29 @@ pub mod promotion_extension_occasion_enum { } } } -// Proto file describing target impression share goal. +// Proto file describing target impression share goal. -/// Container for enum describing where on the first search results page the -/// automated bidding system should target impressions for the -/// TargetImpressionShare bidding strategy. +/// Container for enum describing where on the first search results page the +/// automated bidding system should target impressions for the +/// TargetImpressionShare bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareLocationEnum { } /// Nested message and enum types in `TargetImpressionShareLocationEnum`. pub mod target_impression_share_location_enum { - /// Enum describing possible goals. + /// Enum describing possible goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetImpressionShareLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Any location on the web page. + /// Any location on the web page. AnywhereOnPage = 2, - /// Top box of ads. + /// Top box of ads. TopOfPage = 3, - /// Top slot in the top box of ads. + /// Top slot in the top box of ads. AbsoluteTopOfPage = 4, } impl TargetImpressionShareLocation { @@ -2776,62 +2776,62 @@ pub mod target_impression_share_location_enum { } } } -// Proto file describing advertising channel subtypes. +// Proto file describing advertising channel subtypes. -/// An immutable specialization of an Advertising Channel. +/// An immutable specialization of an Advertising Channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelSubTypeEnum { } /// Nested message and enum types in `AdvertisingChannelSubTypeEnum`. pub mod advertising_channel_sub_type_enum { - /// Enum describing the different channel subtypes. + /// Enum describing the different channel subtypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelSubType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app campaigns for Search. + /// Mobile app campaigns for Search. SearchMobileApp = 2, - /// Mobile app campaigns for Display. + /// Mobile app campaigns for Display. DisplayMobileApp = 3, - /// AdWords express campaigns for search. + /// AdWords express campaigns for search. SearchExpress = 4, - /// AdWords Express campaigns for display. + /// AdWords Express campaigns for display. DisplayExpress = 5, - /// Smart Shopping campaigns. + /// Smart Shopping campaigns. ShoppingSmartAds = 6, - /// Gmail Ad campaigns. + /// Gmail Ad campaigns. DisplayGmailAd = 7, - /// Smart display campaigns. + /// Smart display campaigns. DisplaySmartCampaign = 8, - /// Video Outstream campaigns. + /// Video Outstream campaigns. VideoOutstream = 9, - /// Video TrueView for Action campaigns. + /// Video TrueView for Action campaigns. VideoAction = 10, - /// Video campaigns with non-skippable video ads. + /// Video campaigns with non-skippable video ads. VideoNonSkippable = 11, - /// App Campaign that lets you easily promote your Android or iOS app - /// across Google's top properties including Search, Play, YouTube, and the - /// Google Display Network. + /// App Campaign that lets you easily promote your Android or iOS app + /// across Google's top properties including Search, Play, YouTube, and the + /// Google Display Network. AppCampaign = 12, - /// App Campaign for engagement, focused on driving re-engagement with the - /// app across several of Google's top properties including Search, YouTube, - /// and the Google Display Network. + /// App Campaign for engagement, focused on driving re-engagement with the + /// app across several of Google's top properties including Search, YouTube, + /// and the Google Display Network. AppCampaignForEngagement = 13, - /// Campaigns specialized for local advertising. + /// Campaigns specialized for local advertising. LocalCampaign = 14, - /// Shopping Comparison Listing campaigns. + /// Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 15, - /// Standard Smart campaigns. + /// Standard Smart campaigns. SmartCampaign = 16, - /// Video campaigns with sequence video ads. + /// Video campaigns with sequence video ads. VideoSequence = 17, - /// App Campaign for pre registration, specialized for advertising mobile - /// app pre-registration, that targets multiple advertising channels across - /// Google Play, YouTube and Display Network. See - /// to learn more. + /// App Campaign for pre registration, specialized for advertising mobile + /// app pre-registration, that targets multiple advertising channels across + /// Google Play, YouTube and Display Network. See + /// to learn more. AppCampaignForPreRegistration = 18, } impl AdvertisingChannelSubType { @@ -2864,45 +2864,45 @@ pub mod advertising_channel_sub_type_enum { } } } -// Proto file describing advertising channel types +// Proto file describing advertising channel types -/// The channel type a campaign may target to serve on. +/// The channel type a campaign may target to serve on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelTypeEnum { } /// Nested message and enum types in `AdvertisingChannelTypeEnum`. pub mod advertising_channel_type_enum { - /// Enum describing the various advertising channel types. + /// Enum describing the various advertising channel types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search Network. Includes display bundled, and Search+ campaigns. + /// Search Network. Includes display bundled, and Search+ campaigns. Search = 2, - /// Google Display Network only. + /// Google Display Network only. Display = 3, - /// Shopping campaigns serve on the shopping property - /// and on google.com search results. + /// Shopping campaigns serve on the shopping property + /// and on google.com search results. Shopping = 4, - /// Hotel Ads campaigns. + /// Hotel Ads campaigns. Hotel = 5, - /// Video campaigns. + /// Video campaigns. Video = 6, - /// App Campaigns, and App Campaigns for Engagement, that run - /// across multiple channels. + /// App Campaigns, and App Campaigns for Engagement, that run + /// across multiple channels. MultiChannel = 7, - /// Local ads campaigns. + /// Local ads campaigns. Local = 8, - /// Smart campaigns. + /// Smart campaigns. Smart = 9, - /// Performance Max campaigns. + /// Performance Max campaigns. PerformanceMax = 10, - /// Local services campaigns. + /// Local services campaigns. LocalServices = 11, - /// Discovery campaigns. + /// Discovery campaigns. Discovery = 12, } impl AdvertisingChannelType { @@ -2929,32 +2929,32 @@ pub mod advertising_channel_type_enum { } } } -// Proto file describing the criterion category channel availability mode. +// Proto file describing the criterion category channel availability mode. -/// Describes channel availability mode for a criterion availability - whether -/// the availability is meant to include all advertising channels, or a -/// particular channel with all its channel subtypes, or a channel with a certain -/// subset of channel subtypes. +/// Describes channel availability mode for a criterion availability - whether +/// the availability is meant to include all advertising channels, or a +/// particular channel with all its channel subtypes, or a channel with a certain +/// subset of channel subtypes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryChannelAvailabilityModeEnum`. pub mod criterion_category_channel_availability_mode_enum { - /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. + /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryChannelAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all channel types and subtypes. + /// The category is available to campaigns of all channel types and subtypes. AllChannels = 2, - /// The category is available to campaigns of a specific channel type, - /// including all subtypes under it. + /// The category is available to campaigns of a specific channel type, + /// including all subtypes under it. ChannelTypeAndAllSubtypes = 3, - /// The category is available to campaigns of a specific channel type and - /// subtype(s). + /// The category is available to campaigns of a specific channel type and + /// subtype(s). ChannelTypeAndSubsetSubtypes = 4, } impl CriterionCategoryChannelAvailabilityMode { @@ -2973,34 +2973,34 @@ pub mod criterion_category_channel_availability_mode_enum { } } } -// Proto file describing the criterion category locale availability mode. +// Proto file describing the criterion category locale availability mode. -/// Describes locale availability mode for a criterion availability - whether -/// it's available globally, or a particular country with all languages, or a -/// particular language with all countries, or a country-language pair. +/// Describes locale availability mode for a criterion availability - whether +/// it's available globally, or a particular country with all languages, or a +/// particular language with all countries, or a country-language pair. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryLocaleAvailabilityModeEnum`. pub mod criterion_category_locale_availability_mode_enum { - /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. + /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryLocaleAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all locales. + /// The category is available to campaigns of all locales. AllLocales = 2, - /// The category is available to campaigns within a list of countries, - /// regardless of language. + /// The category is available to campaigns within a list of countries, + /// regardless of language. CountryAndAllLanguages = 3, - /// The category is available to campaigns within a list of languages, - /// regardless of country. + /// The category is available to campaigns within a list of languages, + /// regardless of country. LanguageAndAllCountries = 4, - /// The category is available to campaigns within a list of country, language - /// pairs. + /// The category is available to campaigns within a list of country, language + /// pairs. CountryAndLanguage = 5, } impl CriterionCategoryLocaleAvailabilityMode { @@ -3020,29 +3020,29 @@ pub mod criterion_category_locale_availability_mode_enum { } } } -// Proto file describing customizer attribute type. +// Proto file describing customizer attribute type. -/// Container for enum describing possible types of a customizer attribute. +/// Container for enum describing possible types of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeTypeEnum { } /// Nested message and enum types in `CustomizerAttributeTypeEnum`. pub mod customizer_attribute_type_enum { - /// The possible types of a customizer attribute. + /// The possible types of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeType { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// Text customizer. + /// Text customizer. Text = 2, - /// Number customizer. + /// Number customizer. Number = 3, - /// Price customizer consisting of a number and a currency. + /// Price customizer consisting of a number and a currency. Price = 4, - /// Percentage customizer consisting of a number and a '%'. + /// Percentage customizer consisting of a number and a '%'. Percent = 5, } impl CustomizerAttributeType { @@ -3062,45 +3062,45 @@ pub mod customizer_attribute_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of months of the year, for example, "January". +/// Container for enumeration of months of the year, for example, "January". #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthOfYearEnum { } /// Nested message and enum types in `MonthOfYearEnum`. pub mod month_of_year_enum { - /// Enumerates months of the year, for example, "January". + /// Enumerates months of the year, for example, "January". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MonthOfYear { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// January. + /// January. January = 2, - /// February. + /// February. February = 3, - /// March. + /// March. March = 4, - /// April. + /// April. April = 5, - /// May. + /// May. May = 6, - /// June. + /// June. June = 7, - /// July. + /// July. July = 8, - /// August. + /// August. August = 9, - /// September. + /// September. September = 10, - /// October. + /// October. October = 11, - /// November. + /// November. November = 12, - /// December. + /// December. December = 13, } impl MonthOfYear { @@ -3128,25 +3128,25 @@ pub mod month_of_year_enum { } } } -// Proto file describing app store types for an app extension. +// Proto file describing app store types for an app extension. -/// Container for enum describing app store type in an app extension. +/// Container for enum describing app store type in an app extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppStoreEnum { } /// Nested message and enum types in `AppStoreEnum`. pub mod app_store_enum { - /// App store type in an app extension. + /// App store type in an app extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleItunes = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, } impl AppStore { @@ -3164,21 +3164,21 @@ pub mod app_store_enum { } } } -/// The type of string matching to be used for a dynamic FeedItemSet filter. +/// The type of string matching to be used for a dynamic FeedItemSet filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStringFilterTypeEnum { } /// Nested message and enum types in `FeedItemSetStringFilterTypeEnum`. pub mod feed_item_set_string_filter_type_enum { - /// describe the possible types for a FeedItemSetStringFilter. + /// describe the possible types for a FeedItemSetStringFilter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStringFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The dynamic set filter will use exact string matching. + /// The dynamic set filter will use exact string matching. Exact = 2, } impl FeedItemSetStringFilterType { @@ -3195,25 +3195,25 @@ pub mod feed_item_set_string_filter_type_enum { } } } -// Proto file describing operating system for a deeplink app URL. +// Proto file describing operating system for a deeplink app URL. -/// The possible OS types for a deeplink AppUrl. +/// The possible OS types for a deeplink AppUrl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppUrlOperatingSystemTypeEnum { } /// Nested message and enum types in `AppUrlOperatingSystemTypeEnum`. pub mod app_url_operating_system_type_enum { - /// Operating System + /// Operating System #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppUrlOperatingSystemType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The Apple IOS operating system. + /// The Apple IOS operating system. Ios = 2, - /// The Android operating system. + /// The Android operating system. Android = 3, } impl AppUrlOperatingSystemType { @@ -3231,25 +3231,25 @@ pub mod app_url_operating_system_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the type of event that the cap applies to. +/// Container for enum describing the type of event that the cap applies to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEventTypeEnum { } /// Nested message and enum types in `FrequencyCapEventTypeEnum`. pub mod frequency_cap_event_type_enum { - /// The type of event that the cap applies to (for example, impression). + /// The type of event that the cap applies to (for example, impression). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap applies on ad impressions. + /// The cap applies on ad impressions. Impression = 2, - /// The cap applies on video ad views. + /// The cap applies on video ad views. VideoView = 3, } impl FrequencyCapEventType { @@ -3267,28 +3267,28 @@ pub mod frequency_cap_event_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the level on which the cap is to be applied. +/// Container for enum describing the level on which the cap is to be applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapLevelEnum { } /// Nested message and enum types in `FrequencyCapLevelEnum`. pub mod frequency_cap_level_enum { - /// The level on which the cap is to be applied (e.g ad group ad, ad group). - /// Cap is applied to all the resources of this level. + /// The level on which the cap is to be applied (e.g ad group ad, ad group). + /// Cap is applied to all the resources of this level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap is applied at the ad group ad level. + /// The cap is applied at the ad group ad level. AdGroupAd = 2, - /// The cap is applied at the ad group level. + /// The cap is applied at the ad group level. AdGroup = 3, - /// The cap is applied at the campaign level. + /// The cap is applied at the campaign level. Campaign = 4, } impl FrequencyCapLevel { @@ -3307,27 +3307,27 @@ pub mod frequency_cap_level_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the unit of time the cap is defined at. +/// Container for enum describing the unit of time the cap is defined at. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapTimeUnitEnum { } /// Nested message and enum types in `FrequencyCapTimeUnitEnum`. pub mod frequency_cap_time_unit_enum { - /// Unit of time the cap is defined at (for example, day, week). + /// Unit of time the cap is defined at (for example, day, week). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapTimeUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap would define limit per one day. + /// The cap would define limit per one day. Day = 2, - /// The cap would define limit per one week. + /// The cap would define limit per one week. Week = 3, - /// The cap would define limit per one month. + /// The cap would define limit per one month. Month = 4, } impl FrequencyCapTimeUnit { @@ -3346,23 +3346,23 @@ pub mod frequency_cap_time_unit_enum { } } } -// Proto file describing keyword plan aggregate metric types. +// Proto file describing keyword plan aggregate metric types. -/// The enumeration of keyword plan aggregate metric types. +/// The enumeration of keyword plan aggregate metric types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricTypeEnum { } /// Nested message and enum types in `KeywordPlanAggregateMetricTypeEnum`. pub mod keyword_plan_aggregate_metric_type_enum { - /// Aggregate fields. + /// Aggregate fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAggregateMetricType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The device breakdown of aggregate search volume. + /// The device breakdown of aggregate search volume. Device = 2, } impl KeywordPlanAggregateMetricType { @@ -3379,31 +3379,31 @@ pub mod keyword_plan_aggregate_metric_type_enum { } } } -// Proto file describing Keyword Planner competition levels. +// Proto file describing Keyword Planner competition levels. -/// Container for enumeration of keyword competition levels. The competition -/// level indicates how competitive ad placement is for a keyword and -/// is determined by the number of advertisers bidding on that keyword relative -/// to all keywords across Google. The competition level can depend on the -/// location and Search Network targeting options you've selected. +/// Container for enumeration of keyword competition levels. The competition +/// level indicates how competitive ad placement is for a keyword and +/// is determined by the number of advertisers bidding on that keyword relative +/// to all keywords across Google. The competition level can depend on the +/// location and Search Network targeting options you've selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCompetitionLevelEnum { } /// Nested message and enum types in `KeywordPlanCompetitionLevelEnum`. pub mod keyword_plan_competition_level_enum { - /// Competition level of a keyword. + /// Competition level of a keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCompetitionLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Low competition. The Competition Index range for this is [0, 33]. + /// Low competition. The Competition Index range for this is [0, 33]. Low = 2, - /// Medium competition. The Competition Index range for this is [34, 66]. + /// Medium competition. The Competition Index range for this is [34, 66]. Medium = 3, - /// High competition. The Competition Index range for this is [67, 100]. + /// High competition. The Competition Index range for this is [67, 100]. High = 4, } impl KeywordPlanCompetitionLevel { @@ -3422,32 +3422,32 @@ pub mod keyword_plan_competition_level_enum { } } } -// Proto file describing Keyword Planner Concept Group types. +// Proto file describing Keyword Planner Concept Group types. -/// Container for enumeration of keyword plan concept group types. +/// Container for enumeration of keyword plan concept group types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanConceptGroupTypeEnum { } /// Nested message and enum types in `KeywordPlanConceptGroupTypeEnum`. pub mod keyword_plan_concept_group_type_enum { - /// Enumerates keyword plan concept group types. + /// Enumerates keyword plan concept group types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanConceptGroupType { - /// The concept group classification different from brand/non-brand. - /// This is a catch all bucket for all classifications that are none of the - /// below. + /// The concept group classification different from brand/non-brand. + /// This is a catch all bucket for all classifications that are none of the + /// below. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The concept group classification is based on BRAND. + /// The concept group classification is based on BRAND. Brand = 2, - /// The concept group classification based on BRAND, that didn't fit well - /// with the BRAND classifications. These are generally outliers and can have - /// very few keywords in this type of classification. + /// The concept group classification based on BRAND, that didn't fit well + /// with the BRAND classifications. These are generally outliers and can have + /// very few keywords in this type of classification. OtherBrands = 3, - /// These concept group classification is not based on BRAND. This is - /// returned for generic keywords that don't have a brand association. + /// These concept group classification is not based on BRAND. This is + /// returned for generic keywords that don't have a brand association. NonBrand = 4, } impl KeywordPlanConceptGroupType { @@ -3466,27 +3466,27 @@ pub mod keyword_plan_concept_group_type_enum { } } } -// Proto file describing matching function context types. +// Proto file describing matching function context types. -/// Container for context types for an operand in a matching function. +/// Container for context types for an operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionContextTypeEnum { } /// Nested message and enum types in `MatchingFunctionContextTypeEnum`. pub mod matching_function_context_type_enum { - /// Possible context types for an operand in a matching function. + /// Possible context types for an operand in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionContextType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item id in the request context. + /// Feed item id in the request context. FeedItemId = 2, - /// The device being used (possible values are 'Desktop' or 'Mobile'). + /// The device being used (possible values are 'Desktop' or 'Mobile'). DeviceName = 3, - /// Feed item set id in the request context. + /// Feed item set id in the request context. FeedItemSetId = 4, } impl MatchingFunctionContextType { @@ -3505,37 +3505,37 @@ pub mod matching_function_context_type_enum { } } } -// Proto file describing matching function operators. +// Proto file describing matching function operators. -/// Container for enum describing matching function operator. +/// Container for enum describing matching function operator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionOperatorEnum { } /// Nested message and enum types in `MatchingFunctionOperatorEnum`. pub mod matching_function_operator_enum { - /// Possible operators in a matching function. + /// Possible operators in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The IN operator. + /// The IN operator. In = 2, - /// The IDENTITY operator. + /// The IDENTITY operator. Identity = 3, - /// The EQUALS operator + /// The EQUALS operator Equals = 4, - /// Operator that takes two or more operands that are of type - /// FunctionOperand and checks that all the operands evaluate to true. - /// For functions related to ad formats, all the operands must be in - /// left_operands. + /// Operator that takes two or more operands that are of type + /// FunctionOperand and checks that all the operands evaluate to true. + /// For functions related to ad formats, all the operands must be in + /// left_operands. And = 5, - /// Operator that returns true if the elements in left_operands contain any - /// of the elements in right_operands. Otherwise, return false. The - /// right_operands must contain at least 1 and no more than 3 - /// ConstantOperands. + /// Operator that returns true if the elements in left_operands contain any + /// of the elements in right_operands. Otherwise, return false. The + /// right_operands must contain at least 1 and no more than 3 + /// ConstantOperands. ContainsAny = 6, } impl MatchingFunctionOperator { @@ -3556,47 +3556,47 @@ pub mod matching_function_operator_enum { } } } -// Proto file describing experiment metric. +// Proto file describing experiment metric. -/// Container for enum describing the type of experiment metric. +/// Container for enum describing the type of experiment metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentMetricEnum { } /// Nested message and enum types in `ExperimentMetricEnum`. pub mod experiment_metric_enum { - /// The type of experiment metric. + /// The type of experiment metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentMetric { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The goal of the experiment is clicks. + /// The goal of the experiment is clicks. Clicks = 2, - /// The goal of the experiment is impressions. + /// The goal of the experiment is impressions. Impressions = 3, - /// The goal of the experiment is cost. + /// The goal of the experiment is cost. Cost = 4, - /// The goal of the experiment is conversion rate. + /// The goal of the experiment is conversion rate. ConversionsPerInteractionRate = 5, - /// The goal of the experiment is cost per conversion. + /// The goal of the experiment is cost per conversion. CostPerConversion = 6, - /// The goal of the experiment is conversion value per cost. + /// The goal of the experiment is conversion value per cost. ConversionsValuePerCost = 7, - /// The goal of the experiment is avg cpc. + /// The goal of the experiment is avg cpc. AverageCpc = 8, - /// The goal of the experiment is ctr. + /// The goal of the experiment is ctr. Ctr = 9, - /// The goal of the experiment is incremental conversions. + /// The goal of the experiment is incremental conversions. IncrementalConversions = 10, - /// The goal of the experiment is completed video views. + /// The goal of the experiment is completed video views. CompletedVideoViews = 11, - /// The goal of the experiment is custom algorithms. + /// The goal of the experiment is custom algorithms. CustomAlgorithms = 12, - /// The goal of the experiment is conversions. + /// The goal of the experiment is conversions. Conversions = 13, - /// The goal of the experiment is conversion value. + /// The goal of the experiment is conversion value. ConversionValue = 14, } impl ExperimentMetric { @@ -3625,33 +3625,33 @@ pub mod experiment_metric_enum { } } } -// Proto file describing experiment metric direction. +// Proto file describing experiment metric direction. -/// Container for enum describing the type of experiment metric direction. +/// Container for enum describing the type of experiment metric direction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentMetricDirectionEnum { } /// Nested message and enum types in `ExperimentMetricDirectionEnum`. pub mod experiment_metric_direction_enum { - /// The type of experiment metric direction. + /// The type of experiment metric direction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentMetricDirection { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The goal of the experiment is to not change the metric. + /// The goal of the experiment is to not change the metric. NoChange = 2, - /// The goal of the experiment is to increate the metric. + /// The goal of the experiment is to increate the metric. Increase = 3, - /// The goal of the experiment is to decrease the metric. + /// The goal of the experiment is to decrease the metric. Decrease = 4, - /// The goal of the experiment is to either not change or increase the - /// metric. + /// The goal of the experiment is to either not change or increase the + /// metric. NoChangeOrIncrease = 5, - /// The goal of the experiment is to either not change or decrease the - /// metric. + /// The goal of the experiment is to either not change or decrease the + /// metric. NoChangeOrDecrease = 6, } impl ExperimentMetricDirection { @@ -3672,35 +3672,35 @@ pub mod experiment_metric_direction_enum { } } } -// Proto file describing types of payable and free interactions. +// Proto file describing types of payable and free interactions. -/// Container for enum describing types of payable and free interactions. +/// Container for enum describing types of payable and free interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionEventTypeEnum { } /// Nested message and enum types in `InteractionEventTypeEnum`. pub mod interaction_event_type_enum { - /// Enum describing possible types of payable and free interactions. + /// Enum describing possible types of payable and free interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Click to site. In most cases, this interaction navigates to an external - /// location, usually the advertiser's landing page. This is also the default - /// InteractionEventType for click events. + /// Click to site. In most cases, this interaction navigates to an external + /// location, usually the advertiser's landing page. This is also the default + /// InteractionEventType for click events. Click = 2, - /// The user's expressed intent to engage with the ad in-place. + /// The user's expressed intent to engage with the ad in-place. Engagement = 3, - /// User viewed a video ad. + /// User viewed a video ad. VideoView = 4, - /// The default InteractionEventType for ad conversion events. - /// This is used when an ad conversion row does NOT indicate - /// that the free interactions (for example, the ad conversions) - /// should be 'promoted' and reported as part of the core metrics. - /// These are simply other (ad) conversions. + /// The default InteractionEventType for ad conversion events. + /// This is used when an ad conversion row does NOT indicate + /// that the free interactions (for example, the ad conversions) + /// should be 'promoted' and reported as part of the core metrics. + /// These are simply other (ad) conversions. None = 5, } impl InteractionEventType { @@ -3720,27 +3720,27 @@ pub mod interaction_event_type_enum { } } } -// Proto file describing quality score buckets. +// Proto file describing quality score buckets. -/// The relative performance compared to other advertisers. +/// The relative performance compared to other advertisers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityScoreBucketEnum { } /// Nested message and enum types in `QualityScoreBucketEnum`. pub mod quality_score_bucket_enum { - /// Enum listing the possible quality score buckets. + /// Enum listing the possible quality score buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QualityScoreBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Quality of the creative is below average. + /// Quality of the creative is below average. BelowAverage = 2, - /// Quality of the creative is average. + /// Quality of the creative is average. Average = 3, - /// Quality of the creative is above average. + /// Quality of the creative is above average. AboveAverage = 4, } impl QualityScoreBucket { @@ -3759,29 +3759,29 @@ pub mod quality_score_bucket_enum { } } } -// Proto file describing user identifier source +// Proto file describing user identifier source -/// Container for enum describing the source of the user identifier for offline -/// Store Sales, click conversion, and conversion adjustment uploads. +/// Container for enum describing the source of the user identifier for offline +/// Store Sales, click conversion, and conversion adjustment uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifierSourceEnum { } /// Nested message and enum types in `UserIdentifierSourceEnum`. pub mod user_identifier_source_enum { - /// The type of user identifier source for offline Store Sales, click - /// conversion, and conversion adjustment uploads. + /// The type of user identifier source for offline Store Sales, click + /// conversion, and conversion adjustment uploads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserIdentifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version + /// Used for return value only. Represents value unknown in this version Unknown = 1, - /// Indicates that the user identifier was provided by the first party - /// (advertiser). + /// Indicates that the user identifier was provided by the first party + /// (advertiser). FirstParty = 2, - /// Indicates that the user identifier was provided by the third party - /// (partner). + /// Indicates that the user identifier was provided by the third party + /// (partner). ThirdParty = 3, } impl UserIdentifierSource { @@ -3799,43 +3799,43 @@ pub mod user_identifier_source_enum { } } } -// Proto file describing ad destination types. +// Proto file describing ad destination types. -/// Container for enumeration of Google Ads destination types. +/// Container for enumeration of Google Ads destination types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdDestinationTypeEnum { } /// Nested message and enum types in `AdDestinationTypeEnum`. pub mod ad_destination_type_enum { - /// Enumerates Google Ads destination types + /// Enumerates Google Ads destination types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdDestinationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Ads that don't intend to drive users off from ads to other destinations + /// Ads that don't intend to drive users off from ads to other destinations NotApplicable = 2, - /// Website + /// Website Website = 3, - /// App Deep Link + /// App Deep Link AppDeepLink = 4, - /// iOS App Store or Play Store + /// iOS App Store or Play Store AppStore = 5, - /// Call Dialer + /// Call Dialer PhoneCall = 6, - /// Map App + /// Map App MapDirections = 7, - /// Location Dedicated Page + /// Location Dedicated Page LocationListing = 8, - /// Text Message + /// Text Message Message = 9, - /// Lead Generation Form + /// Lead Generation Form LeadForm = 10, - /// YouTube + /// YouTube Youtube = 11, - /// Ad Destination for Conversions with keys unknown + /// Ad Destination for Conversions with keys unknown UnmodeledForConversions = 12, } impl AdDestinationType { @@ -3862,33 +3862,33 @@ pub mod ad_destination_type_enum { } } } -// Proto file describing ad network types. +// Proto file describing ad network types. -/// Container for enumeration of Google Ads network types. +/// Container for enumeration of Google Ads network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdNetworkTypeEnum { } /// Nested message and enum types in `AdNetworkTypeEnum`. pub mod ad_network_type_enum { - /// Enumerates Google Ads network types. + /// Enumerates Google Ads network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdNetworkType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search. + /// Google search. Search = 2, - /// Search partners. + /// Search partners. SearchPartners = 3, - /// Display Network. + /// Display Network. Content = 4, - /// YouTube Search. + /// YouTube Search. YoutubeSearch = 5, - /// YouTube Videos + /// YouTube Videos YoutubeWatch = 6, - /// Cross-network. + /// Cross-network. Mixed = 7, } impl AdNetworkType { @@ -3910,26 +3910,26 @@ pub mod ad_network_type_enum { } } } -// Proto file describing Budget and Campaign association status. +// Proto file describing Budget and Campaign association status. -/// Message describing the status of the association between the Budget and the -/// Campaign. +/// Message describing the status of the association between the Budget and the +/// Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatusEnum { } /// Nested message and enum types in `BudgetCampaignAssociationStatusEnum`. pub mod budget_campaign_association_status_enum { - /// Possible statuses of the association between the Budget and the Campaign. + /// Possible statuses of the association between the Budget and the Campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetCampaignAssociationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign is currently using the budget. + /// The campaign is currently using the budget. Enabled = 2, - /// The campaign is no longer using the budget. + /// The campaign is no longer using the budget. Removed = 3, } impl BudgetCampaignAssociationStatus { @@ -3947,129 +3947,129 @@ pub mod budget_campaign_association_status_enum { } } } -// Proto file describing click types. +// Proto file describing click types. -/// Container for enumeration of Google Ads click types. +/// Container for enumeration of Google Ads click types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickTypeEnum { } /// Nested message and enum types in `ClickTypeEnum`. pub mod click_type_enum { - /// Enumerates Google Ads click types. + /// Enumerates Google Ads click types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ClickType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// App engagement ad deep link. + /// App engagement ad deep link. AppDeeplink = 2, - /// Breadcrumbs. + /// Breadcrumbs. Breadcrumbs = 3, - /// Broadband Plan. + /// Broadband Plan. BroadbandPlan = 4, - /// Manually dialed phone calls. + /// Manually dialed phone calls. CallTracking = 5, - /// Phone calls. + /// Phone calls. Calls = 6, - /// Click on engagement ad. + /// Click on engagement ad. ClickOnEngagementAd = 7, - /// Driving direction. + /// Driving direction. GetDirections = 8, - /// Get location details. + /// Get location details. LocationExpansion = 9, - /// Call. + /// Call. LocationFormatCall = 10, - /// Directions. + /// Directions. LocationFormatDirections = 11, - /// Image(s). + /// Image(s). LocationFormatImage = 12, - /// Go to landing page. + /// Go to landing page. LocationFormatLandingPage = 13, - /// Map. + /// Map. LocationFormatMap = 14, - /// Go to store info. + /// Go to store info. LocationFormatStoreInfo = 15, - /// Text. + /// Text. LocationFormatText = 16, - /// Mobile phone calls. + /// Mobile phone calls. MobileCallTracking = 17, - /// Print offer. + /// Print offer. OfferPrints = 18, - /// Other. + /// Other. Other = 19, - /// Product plusbox offer. + /// Product plusbox offer. ProductExtensionClicks = 20, - /// Shopping - Product - Online. + /// Shopping - Product - Online. ProductListingAdClicks = 21, - /// Sitelink. + /// Sitelink. Sitelinks = 22, - /// Show nearby locations. + /// Show nearby locations. StoreLocator = 23, - /// Headline. + /// Headline. UrlClicks = 25, - /// App store. + /// App store. VideoAppStoreClicks = 26, - /// Call-to-Action overlay. + /// Call-to-Action overlay. VideoCallToActionClicks = 27, - /// Cards. + /// Cards. VideoCardActionHeadlineClicks = 28, - /// End cap. + /// End cap. VideoEndCapClicks = 29, - /// Website. + /// Website. VideoWebsiteClicks = 30, - /// Visual Sitelinks. + /// Visual Sitelinks. VisualSitelinks = 31, - /// Wireless Plan. + /// Wireless Plan. WirelessPlan = 32, - /// Shopping - Product - Local. + /// Shopping - Product - Local. ProductListingAdLocal = 33, - /// Shopping - Product - MultiChannel Local. + /// Shopping - Product - MultiChannel Local. ProductListingAdMultichannelLocal = 34, - /// Shopping - Product - MultiChannel Online. + /// Shopping - Product - MultiChannel Online. ProductListingAdMultichannelOnline = 35, - /// Shopping - Product - Coupon. + /// Shopping - Product - Coupon. ProductListingAdsCoupon = 36, - /// Shopping - Product - Sell on Google. + /// Shopping - Product - Sell on Google. ProductListingAdTransactable = 37, - /// Shopping - Product - App engagement ad deep link. + /// Shopping - Product - App engagement ad deep link. ProductAdAppDeeplink = 38, - /// Shopping - Showcase - Category. + /// Shopping - Showcase - Category. ShowcaseAdCategoryLink = 39, - /// Shopping - Showcase - Local storefront. + /// Shopping - Showcase - Local storefront. ShowcaseAdLocalStorefrontLink = 40, - /// Shopping - Showcase - Online product. + /// Shopping - Showcase - Online product. ShowcaseAdOnlineProductLink = 42, - /// Shopping - Showcase - Local product. + /// Shopping - Showcase - Local product. ShowcaseAdLocalProductLink = 43, - /// Promotion Extension. + /// Promotion Extension. PromotionExtension = 44, - /// Ad Headline. + /// Ad Headline. SwipeableGalleryAdHeadline = 45, - /// Swipes. + /// Swipes. SwipeableGalleryAdSwipes = 46, - /// See More. + /// See More. SwipeableGalleryAdSeeMore = 47, - /// Sitelink 1. + /// Sitelink 1. SwipeableGalleryAdSitelinkOne = 48, - /// Sitelink 2. + /// Sitelink 2. SwipeableGalleryAdSitelinkTwo = 49, - /// Sitelink 3. + /// Sitelink 3. SwipeableGalleryAdSitelinkThree = 50, - /// Sitelink 4. + /// Sitelink 4. SwipeableGalleryAdSitelinkFour = 51, - /// Sitelink 5. + /// Sitelink 5. SwipeableGalleryAdSitelinkFive = 52, - /// Hotel price. + /// Hotel price. HotelPrice = 53, - /// Price Extension. + /// Price Extension. PriceExtension = 54, - /// Book on Google hotel room selection. + /// Book on Google hotel room selection. HotelBookOnGoogleRoomSelection = 55, - /// Shopping - Comparison Listing. + /// Shopping - Comparison Listing. ShoppingComparisonListing = 56, - /// Cross-network. From Performance Max and Discovery Campaigns. + /// Cross-network. From Performance Max and Discovery Campaigns. CrossNetwork = 57, } impl ClickType { @@ -4139,72 +4139,72 @@ pub mod click_type_enum { } } } -/// Container for enum describing the category of conversions that are associated -/// with a ConversionAction. +/// Container for enum describing the category of conversions that are associated +/// with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCategoryEnum { } /// Nested message and enum types in `ConversionActionCategoryEnum`. pub mod conversion_action_category_enum { - /// The category of conversions that are associated with a ConversionAction. + /// The category of conversions that are associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCategory { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Default category. + /// Default category. Default = 2, - /// User visiting a page. + /// User visiting a page. PageView = 3, - /// Purchase, sales, or "order placed" event. + /// Purchase, sales, or "order placed" event. Purchase = 4, - /// Signup user action. + /// Signup user action. Signup = 5, - /// Software download action (as for an app). + /// Software download action (as for an app). Download = 7, - /// The addition of items to a shopping cart or bag on an advertiser site. + /// The addition of items to a shopping cart or bag on an advertiser site. AddToCart = 8, - /// When someone enters the checkout flow on an advertiser site. + /// When someone enters the checkout flow on an advertiser site. BeginCheckout = 9, - /// The start of a paid subscription for a product or service. + /// The start of a paid subscription for a product or service. SubscribePaid = 10, - /// A call to indicate interest in an advertiser's offering. + /// A call to indicate interest in an advertiser's offering. PhoneCallLead = 11, - /// A lead conversion imported from an external source into Google Ads. + /// A lead conversion imported from an external source into Google Ads. ImportedLead = 12, - /// A submission of a form on an advertiser site indicating business - /// interest. + /// A submission of a form on an advertiser site indicating business + /// interest. SubmitLeadForm = 13, - /// A booking of an appointment with an advertiser's business. + /// A booking of an appointment with an advertiser's business. BookAppointment = 14, - /// A quote or price estimate request. + /// A quote or price estimate request. RequestQuote = 15, - /// A search for an advertiser's business location with intention to visit. + /// A search for an advertiser's business location with intention to visit. GetDirections = 16, - /// A click to an advertiser's partner's site. + /// A click to an advertiser's partner's site. OutboundClick = 17, - /// A call, SMS, email, chat or other type of contact to an advertiser. + /// A call, SMS, email, chat or other type of contact to an advertiser. Contact = 18, - /// A website engagement event such as long site time or a Google Analytics - /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - /// imports. + /// A website engagement event such as long site time or a Google Analytics + /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal + /// imports. Engagement = 19, - /// A visit to a physical store location. + /// A visit to a physical store location. StoreVisit = 20, - /// A sale occurring in a physical store. + /// A sale occurring in a physical store. StoreSale = 21, - /// A lead conversion imported from an external source into Google Ads, - /// that has been further qualified by the advertiser (marketing/sales team). - /// In the lead-to-sale journey, advertisers get leads, then act on them - /// by reaching out to the consumer. If the consumer is interested and - /// may end up buying their product, the advertiser marks such leads as - /// "qualified leads". + /// A lead conversion imported from an external source into Google Ads, + /// that has been further qualified by the advertiser (marketing/sales team). + /// In the lead-to-sale journey, advertisers get leads, then act on them + /// by reaching out to the consumer. If the consumer is interested and + /// may end up buying their product, the advertiser marks such leads as + /// "qualified leads". QualifiedLead = 22, - /// A lead conversion imported from an external source into Google Ads, that - /// has further completed a chosen stage as defined by the lead gen - /// advertiser. + /// A lead conversion imported from an external source into Google Ads, that + /// has further completed a chosen stage as defined by the lead gen + /// advertiser. ConvertedLead = 23, } impl ConversionActionCategory { @@ -4241,23 +4241,23 @@ pub mod conversion_action_category_enum { } } } -/// Container for enum indicating the event type the conversion is attributed to. +/// Container for enum indicating the event type the conversion is attributed to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAttributionEventTypeEnum { } /// Nested message and enum types in `ConversionAttributionEventTypeEnum`. pub mod conversion_attribution_event_type_enum { - /// The event type of conversions that are attributed to. + /// The event type of conversions that are attributed to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAttributionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// The conversion is attributed to an impression. + /// The conversion is attributed to an impression. Impression = 2, - /// The conversion is attributed to an interaction. + /// The conversion is attributed to an interaction. Interaction = 3, } impl ConversionAttributionEventType { @@ -4275,75 +4275,75 @@ pub mod conversion_attribution_event_type_enum { } } } -/// Container for enum representing the number of days between impression and -/// conversion. +/// Container for enum representing the number of days between impression and +/// conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionLagBucketEnum { } /// Nested message and enum types in `ConversionLagBucketEnum`. pub mod conversion_lag_bucket_enum { - /// Enum representing the number of days between impression and conversion. + /// Enum representing the number of days between impression and conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. LessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. OneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. TwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. FourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. FiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. SixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. SevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. EightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. NineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. TenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. TwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. FourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. TwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. FortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. SixtyToNinetyDays = 20, } impl ConversionLagBucket { @@ -4378,142 +4378,142 @@ pub mod conversion_lag_bucket_enum { } } } -/// Container for enum representing the number of days between the impression and -/// the conversion or between the impression and adjustments to the conversion. +/// Container for enum representing the number of days between the impression and +/// the conversion or between the impression and adjustments to the conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOrAdjustmentLagBucketEnum { } /// Nested message and enum types in `ConversionOrAdjustmentLagBucketEnum`. pub mod conversion_or_adjustment_lag_bucket_enum { - /// Enum representing the number of days between the impression and the - /// conversion or between the impression and adjustments to the conversion. + /// Enum representing the number of days between the impression and the + /// conversion or between the impression and adjustments to the conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrAdjustmentLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. ConversionLessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. ConversionOneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. ConversionTwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ConversionThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. ConversionFourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. ConversionFiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. ConversionSixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. ConversionSevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. ConversionEightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. ConversionNineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. ConversionTenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ConversionElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. ConversionTwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ConversionThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. ConversionFourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. ConversionTwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ConversionThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. ConversionFortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. ConversionSixtyToNinetyDays = 20, - /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - /// 1 day is not. + /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, + /// 1 day is not. AdjustmentLessThanOneDay = 21, - /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - /// 2 days is not. + /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, + /// 2 days is not. AdjustmentOneToTwoDays = 22, - /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. AdjustmentTwoToThreeDays = 23, - /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. AdjustmentThreeToFourDays = 24, - /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. AdjustmentFourToFiveDays = 25, - /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. AdjustmentFiveToSixDays = 26, - /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. AdjustmentSixToSevenDays = 27, - /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. AdjustmentSevenToEightDays = 28, - /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. AdjustmentEightToNineDays = 29, - /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. AdjustmentNineToTenDays = 30, - /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. AdjustmentTenToElevenDays = 31, - /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. AdjustmentElevenToTwelveDays = 32, - /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. AdjustmentTwelveToThirteenDays = 33, - /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. AdjustmentThirteenToFourteenDays = 34, - /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. AdjustmentFourteenToTwentyOneDays = 35, - /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. AdjustmentTwentyOneToThirtyDays = 36, - /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. AdjustmentThirtyToFortyFiveDays = 37, - /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. AdjustmentFortyFiveToSixtyDays = 38, - /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. AdjustmentSixtyToNinetyDays = 39, - /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is - /// included, 145 days is not. + /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is + /// included, 145 days is not. AdjustmentNinetyToOneHundredAndFortyFiveDays = 40, - /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag - /// bucket was available in Google Ads. + /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag + /// bucket was available in Google Ads. ConversionUnknown = 41, - /// Conversion adjustment lag bucket UNKNOWN. This is for dates before - /// conversion adjustment lag bucket was available in Google Ads. + /// Conversion adjustment lag bucket UNKNOWN. This is for dates before + /// conversion adjustment lag bucket was available in Google Ads. AdjustmentUnknown = 42, } impl ConversionOrAdjustmentLagBucket { @@ -4570,36 +4570,36 @@ pub mod conversion_or_adjustment_lag_bucket_enum { } } } -// Proto file describing conversion value rule primary dimension. +// Proto file describing conversion value rule primary dimension. -/// Container for enum describing value rule primary dimension for stats. +/// Container for enum describing value rule primary dimension for stats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRulePrimaryDimensionEnum { } /// Nested message and enum types in `ConversionValueRulePrimaryDimensionEnum`. pub mod conversion_value_rule_primary_dimension_enum { - /// Identifies the primary dimension for conversion value rule stats. + /// Identifies the primary dimension for conversion value rule stats. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRulePrimaryDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// For no-value-rule-applied conversions after value rule is enabled. + /// For no-value-rule-applied conversions after value rule is enabled. NoRuleApplied = 2, - /// Below are for value-rule-applied conversions: - /// The original stats. + /// Below are for value-rule-applied conversions: + /// The original stats. Original = 3, - /// When a new or returning customer condition is satisfied. + /// When a new or returning customer condition is satisfied. NewVsReturningUser = 4, - /// When a query-time Geo location condition is satisfied. + /// When a query-time Geo location condition is satisfied. GeoLocation = 5, - /// When a query-time browsing device condition is satisfied. + /// When a query-time browsing device condition is satisfied. Device = 6, - /// When a query-time audience condition is satisfied. + /// When a query-time audience condition is satisfied. Audience = 7, - /// When multiple rules are applied. + /// When multiple rules are applied. Multiple = 8, } impl ConversionValueRulePrimaryDimension { @@ -4622,104 +4622,104 @@ pub mod conversion_value_rule_primary_dimension_enum { } } } -/// Container for enum describing the external conversion source that is -/// associated with a ConversionAction. +/// Container for enum describing the external conversion source that is +/// associated with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalConversionSourceEnum { } /// Nested message and enum types in `ExternalConversionSourceEnum`. pub mod external_conversion_source_enum { - /// The external conversion source that is associated with a ConversionAction. + /// The external conversion source that is associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExternalConversionSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Conversion that occurs when a user navigates to a particular webpage - /// after viewing an ad; Displayed in Google Ads UI as 'Website'. + /// Conversion that occurs when a user navigates to a particular webpage + /// after viewing an ad; Displayed in Google Ads UI as 'Website'. Webpage = 2, - /// Conversion that comes from linked Google Analytics goal or transaction; - /// Displayed in Google Ads UI as 'Analytics'. + /// Conversion that comes from linked Google Analytics goal or transaction; + /// Displayed in Google Ads UI as 'Analytics'. Analytics = 3, - /// Website conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from clicks'. + /// Website conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from clicks'. Upload = 4, - /// Conversion that occurs when a user clicks on a call extension directly on - /// an ad; Displayed in Google Ads UI as 'Calls from ads'. + /// Conversion that occurs when a user clicks on a call extension directly on + /// an ad; Displayed in Google Ads UI as 'Calls from ads'. AdCallMetrics = 5, - /// Conversion that occurs when a user calls a dynamically-generated phone - /// number (by installed javascript) from an advertiser's website after - /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. + /// Conversion that occurs when a user calls a dynamically-generated phone + /// number (by installed javascript) from an advertiser's website after + /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. WebsiteCallMetrics = 6, - /// Conversion that occurs when a user visits an advertiser's retail store - /// after clicking on a Google ad; - /// Displayed in Google Ads UI as 'Store visits'. + /// Conversion that occurs when a user visits an advertiser's retail store + /// after clicking on a Google ad; + /// Displayed in Google Ads UI as 'Store visits'. StoreVisits = 7, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an Android app; - /// Displayed in Google Ads UI as 'Android in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an Android app; + /// Displayed in Google Ads UI as 'Android in-app action'. AndroidInApp = 8, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an iOS app; - /// Displayed in Google Ads UI as 'iOS in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an iOS app; + /// Displayed in Google Ads UI as 'iOS in-app action'. IosInApp = 9, - /// Conversion that occurs when a user opens an iOS app for the first time; - /// Displayed in Google Ads UI as 'iOS app install (first open)'. + /// Conversion that occurs when a user opens an iOS app for the first time; + /// Displayed in Google Ads UI as 'iOS app install (first open)'. IosFirstOpen = 10, - /// Legacy app conversions that do not have an AppPlatform provided; - /// Displayed in Google Ads UI as 'Mobile app'. + /// Legacy app conversions that do not have an AppPlatform provided; + /// Displayed in Google Ads UI as 'Mobile app'. AppUnspecified = 11, - /// Conversion that occurs when a user opens an Android app for the first - /// time; Displayed in Google Ads UI as 'Android app install (first open)'. + /// Conversion that occurs when a user opens an Android app for the first + /// time; Displayed in Google Ads UI as 'Android app install (first open)'. AndroidFirstOpen = 12, - /// Call conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from calls'. + /// Call conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from calls'. UploadCalls = 13, - /// Conversion that comes from a linked Firebase event; - /// Displayed in Google Ads UI as 'Firebase'. + /// Conversion that comes from a linked Firebase event; + /// Displayed in Google Ads UI as 'Firebase'. Firebase = 14, - /// Conversion that occurs when a user clicks on a mobile phone number; - /// Displayed in Google Ads UI as 'Phone number clicks'. + /// Conversion that occurs when a user clicks on a mobile phone number; + /// Displayed in Google Ads UI as 'Phone number clicks'. ClickToCall = 15, - /// Conversion that comes from Salesforce; - /// Displayed in Google Ads UI as 'Salesforce.com'. + /// Conversion that comes from Salesforce; + /// Displayed in Google Ads UI as 'Salesforce.com'. Salesforce = 16, - /// Conversion that comes from in-store purchases recorded by CRM; - /// Displayed in Google Ads UI as 'Store sales (data partner)'. + /// Conversion that comes from in-store purchases recorded by CRM; + /// Displayed in Google Ads UI as 'Store sales (data partner)'. StoreSalesCrm = 17, - /// Conversion that comes from in-store purchases from payment network; - /// Displayed in Google Ads UI as 'Store sales (payment network)'. + /// Conversion that comes from in-store purchases from payment network; + /// Displayed in Google Ads UI as 'Store sales (payment network)'. StoreSalesPaymentNetwork = 18, - /// Codeless Google Play conversion; - /// Displayed in Google Ads UI as 'Google Play'. + /// Codeless Google Play conversion; + /// Displayed in Google Ads UI as 'Google Play'. GooglePlay = 19, - /// Conversion that comes from a linked third-party app analytics event; - /// Displayed in Google Ads UI as 'Third-party app analytics'. + /// Conversion that comes from a linked third-party app analytics event; + /// Displayed in Google Ads UI as 'Third-party app analytics'. ThirdPartyAppAnalytics = 20, - /// Conversion that is controlled by Google Attribution. + /// Conversion that is controlled by Google Attribution. GoogleAttribution = 21, - /// Store Sales conversion based on first-party or third-party merchant data - /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. + /// Store Sales conversion based on first-party or third-party merchant data + /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. StoreSalesDirectUpload = 23, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. Displayed in Google Ads UI as 'Store sales'. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. Displayed in Google Ads UI as 'Store sales'. StoreSales = 24, - /// Conversions imported from Search Ads 360 Floodlight data. + /// Conversions imported from Search Ads 360 Floodlight data. SearchAds360 = 25, - /// Conversions that track local actions from Google's products and services - /// after interacting with an ad. + /// Conversions that track local actions from Google's products and services + /// after interacting with an ad. GoogleHosted = 27, - /// Conversions reported by Floodlight tags. + /// Conversions reported by Floodlight tags. Floodlight = 29, - /// Conversions that come from Google Analytics specifically for Search Ads - /// 360. Displayed in Google Ads UI as Analytics (SA360). + /// Conversions that come from Google Analytics specifically for Search Ads + /// 360. Displayed in Google Ads UI as Analytics (SA360). AnalyticsSearchAds360 = 31, - /// Conversion that comes from a linked Firebase event for Search Ads 360. + /// Conversion that comes from a linked Firebase event for Search Ads 360. FirebaseSearchAds360 = 33, - /// Conversion that is reported by Floodlight for DV360. + /// Conversion that is reported by Floodlight for DV360. DisplayAndVideo360Floodlight = 34, } impl ExternalConversionSource { @@ -4763,32 +4763,32 @@ pub mod external_conversion_source_enum { } } } -// Proto file describing hotel price buckets. +// Proto file describing hotel price buckets. -/// Container for enum describing hotel price bucket for a hotel itinerary. +/// Container for enum describing hotel price bucket for a hotel itinerary. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPriceBucketEnum { } /// Nested message and enum types in `HotelPriceBucketEnum`. pub mod hotel_price_bucket_enum { - /// Enum describing possible hotel price buckets. + /// Enum describing possible hotel price buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPriceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Uniquely lowest price. Partner has the lowest price, and no other - /// partners are within a small variance of that price. + /// Uniquely lowest price. Partner has the lowest price, and no other + /// partners are within a small variance of that price. LowestUnique = 2, - /// Tied for lowest price. Partner is within a small variance of the lowest - /// price. + /// Tied for lowest price. Partner is within a small variance of the lowest + /// price. LowestTied = 3, - /// Not lowest price. Partner is not within a small variance of the lowest - /// price. + /// Not lowest price. Partner is not within a small variance of the lowest + /// price. NotLowest = 4, - /// Partner was the only one shown. + /// Partner was the only one shown. OnlyPartnerShown = 5, } impl HotelPriceBucket { @@ -4808,35 +4808,35 @@ pub mod hotel_price_bucket_enum { } } } -// Proto file describing hotel rate types. +// Proto file describing hotel rate types. -/// Container for enum describing possible hotel rate types. +/// Container for enum describing possible hotel rate types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelRateTypeEnum { } /// Nested message and enum types in `HotelRateTypeEnum`. pub mod hotel_rate_type_enum { - /// Enum describing possible hotel rate types. + /// Enum describing possible hotel rate types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelRateType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Rate type information is unavailable. + /// Rate type information is unavailable. Unavailable = 2, - /// Rates available to everyone. + /// Rates available to everyone. PublicRate = 3, - /// A membership program rate is available and satisfies basic requirements - /// like having a public rate available. UI treatment will strikethrough the - /// public rate and indicate that a discount is available to the user. For - /// more on Qualified Rates, visit - /// + /// A membership program rate is available and satisfies basic requirements + /// like having a public rate available. UI treatment will strikethrough the + /// public rate and indicate that a discount is available to the user. For + /// more on Qualified Rates, visit + /// QualifiedRate = 4, - /// Rates available to users that satisfy some eligibility criteria, for - /// example, all signed-in users, 20% of mobile users, all mobile users in - /// Canada, etc. + /// Rates available to users that satisfy some eligibility criteria, for + /// example, all signed-in users, 20% of mobile users, all mobile users in + /// Canada, etc. PrivateRate = 5, } impl HotelRateType { @@ -4856,81 +4856,81 @@ pub mod hotel_rate_type_enum { } } } -// Proto file describing feed placeholder types. +// Proto file describing feed placeholder types. -/// Container for enum describing possible placeholder types for a feed mapping. +/// Container for enum describing possible placeholder types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlaceholderTypeEnum { } /// Nested message and enum types in `PlaceholderTypeEnum`. pub mod placeholder_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlaceholderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Lets you show links in your ad to pages from your website, including the - /// main landing page. + /// Lets you show links in your ad to pages from your website, including the + /// main landing page. Sitelink = 2, - /// Lets you attach a phone number to an ad, allowing customers to call - /// directly from the ad. + /// Lets you attach a phone number to an ad, allowing customers to call + /// directly from the ad. Call = 3, - /// Lets you provide users with a link that points to a mobile app in - /// addition to a website. + /// Lets you provide users with a link that points to a mobile app in + /// addition to a website. App = 4, - /// Lets you show locations of businesses from your Business Profile - /// in your ad. This helps people find your locations by showing your - /// ads with your address, a map to your location, or the distance to your - /// business. This extension type is useful to draw customers to your - /// brick-and-mortar location. + /// Lets you show locations of businesses from your Business Profile + /// in your ad. This helps people find your locations by showing your + /// ads with your address, a map to your location, or the distance to your + /// business. This extension type is useful to draw customers to your + /// brick-and-mortar location. Location = 5, - /// If you sell your product through retail chains, affiliate location - /// extensions let you show nearby stores that carry your products. + /// If you sell your product through retail chains, affiliate location + /// extensions let you show nearby stores that carry your products. AffiliateLocation = 6, - /// Lets you include additional text with your search ads that provide - /// detailed information about your business, including products and services - /// you offer. Callouts appear in ads at the top and bottom of Google search - /// results. + /// Lets you include additional text with your search ads that provide + /// detailed information about your business, including products and services + /// you offer. Callouts appear in ads at the top and bottom of Google search + /// results. Callout = 7, - /// Lets you add more info to your ad, specific to some predefined categories - /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - /// are required. + /// Lets you add more info to your ad, specific to some predefined categories + /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values + /// are required. StructuredSnippet = 8, - /// Allows users to see your ad, click an icon, and contact you directly by - /// text message. With one tap on your ad, people can contact you to book an - /// appointment, get a quote, ask for information, or request a service. + /// Allows users to see your ad, click an icon, and contact you directly by + /// text message. With one tap on your ad, people can contact you to book an + /// appointment, get a quote, ask for information, or request a service. Message = 9, - /// Lets you display prices for a list of items along with your ads. A price - /// feed is composed of three to eight price table rows. + /// Lets you display prices for a list of items along with your ads. A price + /// feed is composed of three to eight price table rows. Price = 10, - /// Lets you highlight sales and other promotions that let users see how - /// they can save by buying now. + /// Lets you highlight sales and other promotions that let users see how + /// they can save by buying now. Promotion = 11, - /// Lets you dynamically inject custom data into the title and description - /// of your ads. + /// Lets you dynamically inject custom data into the title and description + /// of your ads. AdCustomizer = 12, - /// Indicates that this feed is for education dynamic remarketing. + /// Indicates that this feed is for education dynamic remarketing. DynamicEducation = 13, - /// Indicates that this feed is for flight dynamic remarketing. + /// Indicates that this feed is for flight dynamic remarketing. DynamicFlight = 14, - /// Indicates that this feed is for a custom dynamic remarketing type. Use - /// this only if the other business types don't apply to your products or - /// services. + /// Indicates that this feed is for a custom dynamic remarketing type. Use + /// this only if the other business types don't apply to your products or + /// services. DynamicCustom = 15, - /// Indicates that this feed is for hotels and rentals dynamic remarketing. + /// Indicates that this feed is for hotels and rentals dynamic remarketing. DynamicHotel = 16, - /// Indicates that this feed is for real estate dynamic remarketing. + /// Indicates that this feed is for real estate dynamic remarketing. DynamicRealEstate = 17, - /// Indicates that this feed is for travel dynamic remarketing. + /// Indicates that this feed is for travel dynamic remarketing. DynamicTravel = 18, - /// Indicates that this feed is for local deals dynamic remarketing. + /// Indicates that this feed is for local deals dynamic remarketing. DynamicLocal = 19, - /// Indicates that this feed is for job dynamic remarketing. + /// Indicates that this feed is for job dynamic remarketing. DynamicJob = 20, - /// Lets you attach an image to an ad. + /// Lets you attach an image to an ad. Image = 21, } impl PlaceholderType { @@ -4966,86 +4966,86 @@ pub mod placeholder_type_enum { } } } -// Proto file describing Recommendation types. +// Proto file describing Recommendation types. -/// Container for enum describing types of recommendations. +/// Container for enum describing types of recommendations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationTypeEnum { } /// Nested message and enum types in `RecommendationTypeEnum`. pub mod recommendation_type_enum { - /// Types of recommendations. + /// Types of recommendations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget recommendation for campaigns that are currently budget-constrained - /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - /// applies to campaigns that are expected to become budget-constrained in - /// the future). + /// Budget recommendation for campaigns that are currently budget-constrained + /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which + /// applies to campaigns that are expected to become budget-constrained in + /// the future). CampaignBudget = 2, - /// Keyword recommendation. + /// Keyword recommendation. Keyword = 3, - /// Recommendation to add a new text ad. + /// Recommendation to add a new text ad. TextAd = 4, - /// Recommendation to update a campaign to use a Target CPA bidding strategy. + /// Recommendation to update a campaign to use a Target CPA bidding strategy. TargetCpaOptIn = 5, - /// Recommendation to update a campaign to use the Maximize Conversions - /// bidding strategy. + /// Recommendation to update a campaign to use the Maximize Conversions + /// bidding strategy. MaximizeConversionsOptIn = 6, - /// Recommendation to enable Enhanced Cost Per Click for a campaign. + /// Recommendation to enable Enhanced Cost Per Click for a campaign. EnhancedCpcOptIn = 7, - /// Recommendation to start showing your campaign's ads on Google Search - /// Partners Websites. + /// Recommendation to start showing your campaign's ads on Google Search + /// Partners Websites. SearchPartnersOptIn = 8, - /// Recommendation to update a campaign to use a Maximize Clicks bidding - /// strategy. + /// Recommendation to update a campaign to use a Maximize Clicks bidding + /// strategy. MaximizeClicksOptIn = 9, - /// Recommendation to start using the "Optimize" ad rotation setting for the - /// given ad group. + /// Recommendation to start using the "Optimize" ad rotation setting for the + /// given ad group. OptimizeAdRotation = 10, - /// Recommendation to add callout extensions to a campaign. + /// Recommendation to add callout extensions to a campaign. CalloutExtension = 11, - /// Recommendation to add sitelink extensions to a campaign. + /// Recommendation to add sitelink extensions to a campaign. SitelinkExtension = 12, - /// Recommendation to add call extensions to a campaign. + /// Recommendation to add call extensions to a campaign. CallExtension = 13, - /// Recommendation to change an existing keyword from one match type to a - /// broader match type. + /// Recommendation to change an existing keyword from one match type to a + /// broader match type. KeywordMatchType = 14, - /// Recommendation to move unused budget from one budget to a constrained - /// budget. + /// Recommendation to move unused budget from one budget to a constrained + /// budget. MoveUnusedBudget = 15, - /// Budget recommendation for campaigns that are expected to become - /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - /// recommendation, which applies to campaigns that are currently - /// budget-constrained). + /// Budget recommendation for campaigns that are expected to become + /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET + /// recommendation, which applies to campaigns that are currently + /// budget-constrained). ForecastingCampaignBudget = 16, - /// Recommendation to update a campaign to use a Target ROAS bidding - /// strategy. + /// Recommendation to update a campaign to use a Target ROAS bidding + /// strategy. TargetRoasOptIn = 17, - /// Recommendation to add a new responsive search ad. + /// Recommendation to add a new responsive search ad. ResponsiveSearchAd = 18, - /// Budget recommendation for campaigns whose ROI is predicted to increase - /// with a budget adjustment. + /// Budget recommendation for campaigns whose ROI is predicted to increase + /// with a budget adjustment. MarginalRoiCampaignBudget = 19, - /// Recommendation to expand keywords to broad match for fully automated - /// conversion-based bidding campaigns. + /// Recommendation to expand keywords to broad match for fully automated + /// conversion-based bidding campaigns. UseBroadMatchKeyword = 20, - /// Recommendation to add new responsive search ad assets. + /// Recommendation to add new responsive search ad assets. ResponsiveSearchAdAsset = 21, - /// Recommendation to upgrade a Smart Shopping campaign to a Performance Max - /// campaign. + /// Recommendation to upgrade a Smart Shopping campaign to a Performance Max + /// campaign. UpgradeSmartShoppingCampaignToPerformanceMax = 22, - /// Recommendation to improve strength of responsive search ad. + /// Recommendation to improve strength of responsive search ad. ResponsiveSearchAdImproveAdStrength = 23, - /// Recommendation to update a campaign to use Display Expansion. + /// Recommendation to update a campaign to use Display Expansion. DisplayExpansionOptIn = 24, - /// Recommendation to upgrade a Local campaign to a Performance Max - /// campaign. + /// Recommendation to upgrade a Local campaign to a Performance Max + /// campaign. UpgradeLocalCampaignToPerformanceMax = 25, } impl RecommendationType { @@ -5085,28 +5085,28 @@ pub mod recommendation_type_enum { } } } -// Proto file describing search engine results page types. +// Proto file describing search engine results page types. -/// The type of the search engine results page. +/// The type of the search engine results page. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchEngineResultsPageTypeEnum { } /// Nested message and enum types in `SearchEngineResultsPageTypeEnum`. pub mod search_engine_results_page_type_enum { - /// The type of the search engine results page. + /// The type of the search engine results page. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchEngineResultsPageType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Only ads were contained in the search engine results page. + /// Only ads were contained in the search engine results page. AdsOnly = 2, - /// Only organic results were contained in the search engine results page. + /// Only organic results were contained in the search engine results page. OrganicOnly = 3, - /// Both ads and organic results were contained in the search engine results - /// page. + /// Both ads and organic results were contained in the search engine results + /// page. AdsAndOrganic = 4, } impl SearchEngineResultsPageType { @@ -5125,31 +5125,31 @@ pub mod search_engine_results_page_type_enum { } } } -// Proto file describing search term match types. +// Proto file describing search term match types. -/// Container for enum describing match types for a keyword triggering an ad. +/// Container for enum describing match types for a keyword triggering an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermMatchTypeEnum { } /// Nested message and enum types in `SearchTermMatchTypeEnum`. pub mod search_term_match_type_enum { - /// Possible match types for a keyword triggering an ad, including variants. + /// Possible match types for a keyword triggering an ad, including variants. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Broad match. + /// Broad match. Broad = 2, - /// Exact match. + /// Exact match. Exact = 3, - /// Phrase match. + /// Phrase match. Phrase = 4, - /// Exact match (close variant). + /// Exact match (close variant). NearExact = 5, - /// Phrase match (close variant). + /// Phrase match (close variant). NearPhrase = 6, } impl SearchTermMatchType { @@ -5170,28 +5170,28 @@ pub mod search_term_match_type_enum { } } } -// Proto file describing SkAdNetwork Ad Event Types. +// Proto file describing SkAdNetwork Ad Event Types. -/// Container for enumeration of SkAdNetwork ad event types. +/// Container for enumeration of SkAdNetwork ad event types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkAdEventTypeEnum { } /// Nested message and enum types in `SkAdNetworkAdEventTypeEnum`. pub mod sk_ad_network_ad_event_type_enum { - /// Enumerates SkAdNetwork ad event types + /// Enumerates SkAdNetwork ad event types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkAdEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// The user interacted with the ad. + /// The user interacted with the ad. Interaction = 3, - /// The user viewed the ad. + /// The user viewed the ad. View = 4, } impl SkAdNetworkAdEventType { @@ -5210,29 +5210,29 @@ pub mod sk_ad_network_ad_event_type_enum { } } } -// Proto file describing SkAdNetwork attribution credits. +// Proto file describing SkAdNetwork attribution credits. -/// Container for enumeration of SkAdNetwork attribution credits. +/// Container for enumeration of SkAdNetwork attribution credits. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkAttributionCreditEnum { } /// Nested message and enum types in `SkAdNetworkAttributionCreditEnum`. pub mod sk_ad_network_attribution_credit_enum { - /// Enumerates SkAdNetwork attribution credits. + /// Enumerates SkAdNetwork attribution credits. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkAttributionCredit { - /// Default value. This value is equivalent to null. + /// Default value. This value is equivalent to null. Unspecified = 0, - /// The value is unknown in this API version. The true enum value cannot be - /// returned in this API version or is not supported yet. + /// The value is unknown in this API version. The true enum value cannot be + /// returned in this API version or is not supported yet. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// Google was the ad network that won ad attribution. + /// Google was the ad network that won ad attribution. Won = 3, - /// Google qualified for attribution, but didn't win. + /// Google qualified for attribution, but didn't win. Contributed = 4, } impl SkAdNetworkAttributionCredit { @@ -5251,28 +5251,28 @@ pub mod sk_ad_network_attribution_credit_enum { } } } -// Proto file describing SkAdNetwork user types. +// Proto file describing SkAdNetwork user types. -/// Container for enumeration of SkAdNetwork user types. +/// Container for enumeration of SkAdNetwork user types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkAdNetworkUserTypeEnum { } /// Nested message and enum types in `SkAdNetworkUserTypeEnum`. pub mod sk_ad_network_user_type_enum { - /// Enumerates SkAdNetwork user types + /// Enumerates SkAdNetwork user types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SkAdNetworkUserType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The value was not present in the postback or we do not have this data for - /// other reasons. + /// The value was not present in the postback or we do not have this data for + /// other reasons. Unavailable = 2, - /// The user installed the app for the first time. + /// The user installed the app for the first time. NewInstaller = 3, - /// The user has previously installed the app. + /// The user has previously installed the app. Reinstaller = 4, } impl SkAdNetworkUserType { @@ -5291,35 +5291,35 @@ pub mod sk_ad_network_user_type_enum { } } } -// Proto file describing slots. +// Proto file describing slots. -/// Container for enumeration of possible positions of the Ad. +/// Container for enumeration of possible positions of the Ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotEnum { } /// Nested message and enum types in `SlotEnum`. pub mod slot_enum { - /// Enumerates possible positions of the Ad. + /// Enumerates possible positions of the Ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Slot { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search: Side. + /// Google search: Side. SearchSide = 2, - /// Google search: Top. + /// Google search: Top. SearchTop = 3, - /// Google search: Other. + /// Google search: Other. SearchOther = 4, - /// Google Display Network. + /// Google Display Network. Content = 5, - /// Search partners: Top. + /// Search partners: Top. SearchPartnerTop = 6, - /// Search partners: Other. + /// Search partners: Other. SearchPartnerOther = 7, - /// Cross-network. + /// Cross-network. Mixed = 8, } impl Slot { @@ -5342,25 +5342,25 @@ pub mod slot_enum { } } } -/// Container for enum describing the format of the web page where the tracking -/// tag and snippet will be installed. +/// Container for enum describing the format of the web page where the tracking +/// tag and snippet will be installed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodePageFormatEnum { } /// Nested message and enum types in `TrackingCodePageFormatEnum`. pub mod tracking_code_page_format_enum { - /// The format of the web page where the tracking tag and snippet will be - /// installed. + /// The format of the web page where the tracking tag and snippet will be + /// installed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodePageFormat { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Standard HTML page format. + /// Standard HTML page format. Html = 2, - /// Google AMP page format. + /// Google AMP page format. Amp = 3, } impl TrackingCodePageFormat { @@ -5378,32 +5378,32 @@ pub mod tracking_code_page_format_enum { } } } -/// Container for enum describing the type of the generated tag snippets for -/// tracking conversions. +/// Container for enum describing the type of the generated tag snippets for +/// tracking conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodeTypeEnum { } /// Nested message and enum types in `TrackingCodeTypeEnum`. pub mod tracking_code_type_enum { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The snippet that is fired as a result of a website page loading. + /// The snippet that is fired as a result of a website page loading. Webpage = 2, - /// The snippet contains a JavaScript function which fires the tag. This - /// function is typically called from an onClick handler added to a link or - /// button element on the page. + /// The snippet contains a JavaScript function which fires the tag. This + /// function is typically called from an onClick handler added to a link or + /// button element on the page. WebpageOnclick = 3, - /// For embedding on a mobile webpage. The snippet contains a JavaScript - /// function which fires the tag. + /// For embedding on a mobile webpage. The snippet contains a JavaScript + /// function which fires the tag. ClickToCall = 4, - /// The snippet that is used to replace the phone number on your website with - /// a Google forwarding number for call tracking purposes. + /// The snippet that is used to replace the phone number on your website with + /// a Google forwarding number for call tracking purposes. WebsiteCall = 5, } impl TrackingCodeType { @@ -5423,43 +5423,43 @@ pub mod tracking_code_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The dimensions that can be targeted. +/// The dimensions that can be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingDimensionEnum { } /// Nested message and enum types in `TargetingDimensionEnum`. pub mod targeting_dimension_enum { - /// Enum describing possible targeting dimensions. + /// Enum describing possible targeting dimensions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetingDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a - /// custom bid dimension. Keywords are always a targeting dimension, so may - /// not be set as a target "ALL" dimension with TargetRestriction. + /// Keyword criteria, for example, 'mars cruise'. KEYWORD may be used as a + /// custom bid dimension. Keywords are always a targeting dimension, so may + /// not be set as a target "ALL" dimension with TargetRestriction. Keyword = 2, - /// Audience criteria, which include user list, user interest, custom - /// affinity, and custom in market. + /// Audience criteria, which include user list, user interest, custom + /// affinity, and custom in market. Audience = 3, - /// Topic criteria for targeting categories of content, for example, - /// 'category::Animals>Pets' Used for Display and Video targeting. + /// Topic criteria for targeting categories of content, for example, + /// 'category::Animals>Pets' Used for Display and Video targeting. Topic = 4, - /// Criteria for targeting gender. + /// Criteria for targeting gender. Gender = 5, - /// Criteria for targeting age ranges. + /// Criteria for targeting age ranges. AgeRange = 6, - /// Placement criteria, which include websites like 'www.flowers4sale.com', - /// as well as mobile applications, mobile app categories, YouTube videos, - /// and YouTube channels. + /// Placement criteria, which include websites like 'www.flowers4sale.com', + /// as well as mobile applications, mobile app categories, YouTube videos, + /// and YouTube channels. Placement = 7, - /// Criteria for parental status targeting. + /// Criteria for parental status targeting. ParentalStatus = 8, - /// Criteria for income range targeting. + /// Criteria for income range targeting. IncomeRange = 9, } impl TargetingDimension { @@ -5483,27 +5483,27 @@ pub mod targeting_dimension_enum { } } } -/// Indicates what type of data are the user list's members matched from. +/// Indicates what type of data are the user list's members matched from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUploadKeyTypeEnum { } /// Nested message and enum types in `CustomerMatchUploadKeyTypeEnum`. pub mod customer_match_upload_key_type_enum { - /// Enum describing possible customer match upload key types. + /// Enum describing possible customer match upload key types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerMatchUploadKeyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Members are matched from customer info such as email address, phone - /// number or physical address. + /// Members are matched from customer info such as email address, phone + /// number or physical address. ContactInfo = 2, - /// Members are matched from a user id generated and assigned by the - /// advertiser. + /// Members are matched from a user id generated and assigned by the + /// advertiser. CrmId = 3, - /// Members are matched from mobile advertising ids. + /// Members are matched from mobile advertising ids. MobileAdvertisingId = 4, } impl CustomerMatchUploadKeyType { @@ -5522,23 +5522,23 @@ pub mod customer_match_upload_key_type_enum { } } } -/// Logical operator connecting two rules. +/// Logical operator connecting two rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCombinedRuleOperatorEnum { } /// Nested message and enum types in `UserListCombinedRuleOperatorEnum`. pub mod user_list_combined_rule_operator_enum { - /// Enum describing possible user list combined rule operators. + /// Enum describing possible user list combined rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCombinedRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A AND B. + /// A AND B. And = 2, - /// A AND NOT B. + /// A AND NOT B. AndNot = 3, } impl UserListCombinedRuleOperator { @@ -5556,25 +5556,25 @@ pub mod user_list_combined_rule_operator_enum { } } } -/// Indicates source of Crm upload data. +/// Indicates source of Crm upload data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCrmDataSourceTypeEnum { } /// Nested message and enum types in `UserListCrmDataSourceTypeEnum`. pub mod user_list_crm_data_source_type_enum { - /// Enum describing possible user list crm data source type. + /// Enum describing possible user list crm data source type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCrmDataSourceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The uploaded data is first-party data. + /// The uploaded data is first-party data. FirstParty = 2, - /// The uploaded data is from a third-party credit bureau. + /// The uploaded data is from a third-party credit bureau. ThirdPartyCreditBureau = 3, - /// The uploaded data is from a third-party voter file. + /// The uploaded data is from a third-party voter file. ThirdPartyVoterFile = 4, } impl UserListCrmDataSourceType { @@ -5593,27 +5593,27 @@ pub mod user_list_crm_data_source_type_enum { } } } -/// Supported rule operator for date type. +/// Supported rule operator for date type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemOperatorEnum { } /// Nested message and enum types in `UserListDateRuleItemOperatorEnum`. pub mod user_list_date_rule_item_operator_enum { - /// Enum describing possible user list date rule item operators. + /// Enum describing possible user list date rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListDateRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals. + /// Equals. Equals = 2, - /// Not Equals. + /// Not Equals. NotEquals = 3, - /// Before. + /// Before. Before = 4, - /// After. + /// After. After = 5, } impl UserListDateRuleItemOperator { @@ -5633,23 +5633,23 @@ pub mod user_list_date_rule_item_operator_enum { } } } -/// Logical operator connecting two rules. +/// Logical operator connecting two rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListFlexibleRuleOperatorEnum { } /// Nested message and enum types in `UserListFlexibleRuleOperatorEnum`. pub mod user_list_flexible_rule_operator_enum { - /// Enum describing possible user list combined rule operators. + /// Enum describing possible user list combined rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListFlexibleRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A AND B. + /// A AND B. And = 2, - /// A OR B. + /// A OR B. Or = 3, } impl UserListFlexibleRuleOperator { @@ -5667,25 +5667,25 @@ pub mod user_list_flexible_rule_operator_enum { } } } -/// The logical operator of the rule. +/// The logical operator of the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleOperatorEnum { } /// Nested message and enum types in `UserListLogicalRuleOperatorEnum`. pub mod user_list_logical_rule_operator_enum { - /// Enum describing possible user list logical rule operators. + /// Enum describing possible user list logical rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListLogicalRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// And - all of the operands. + /// And - all of the operands. All = 2, - /// Or - at least one of the operands. + /// Or - at least one of the operands. Any = 3, - /// Not - none of the operands. + /// Not - none of the operands. None = 4, } impl UserListLogicalRuleOperator { @@ -5704,31 +5704,31 @@ pub mod user_list_logical_rule_operator_enum { } } } -/// Supported rule operator for number type. +/// Supported rule operator for number type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemOperatorEnum { } /// Nested message and enum types in `UserListNumberRuleItemOperatorEnum`. pub mod user_list_number_rule_item_operator_enum { - /// Enum describing possible user list number rule item operators. + /// Enum describing possible user list number rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListNumberRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Greater than. + /// Greater than. GreaterThan = 2, - /// Greater than or equal. + /// Greater than or equal. GreaterThanOrEqual = 3, - /// Equals. + /// Equals. Equals = 4, - /// Not equals. + /// Not equals. NotEquals = 5, - /// Less than. + /// Less than. LessThan = 6, - /// Less than or equal. + /// Less than or equal. LessThanOrEqual = 7, } impl UserListNumberRuleItemOperator { @@ -5750,25 +5750,25 @@ pub mod user_list_number_rule_item_operator_enum { } } } -/// Indicates status of prepopulation based on the rule. +/// Indicates status of prepopulation based on the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListPrepopulationStatusEnum { } /// Nested message and enum types in `UserListPrepopulationStatusEnum`. pub mod user_list_prepopulation_status_enum { - /// Enum describing possible user list prepopulation status. + /// Enum describing possible user list prepopulation status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListPrepopulationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prepopoulation is being requested. + /// Prepopoulation is being requested. Requested = 2, - /// Prepopulation is finished. + /// Prepopulation is finished. Finished = 3, - /// Prepopulation failed. + /// Prepopulation failed. Failed = 4, } impl UserListPrepopulationStatus { @@ -5787,23 +5787,23 @@ pub mod user_list_prepopulation_status_enum { } } } -/// Rule based user list rule type. +/// Rule based user list rule type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleTypeEnum { } /// Nested message and enum types in `UserListRuleTypeEnum`. pub mod user_list_rule_type_enum { - /// Enum describing possible user list rule types. + /// Enum describing possible user list rule types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListRuleType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conjunctive normal form. + /// Conjunctive normal form. AndOfOrs = 2, - /// Disjunctive normal form. + /// Disjunctive normal form. OrOfAnds = 3, } impl UserListRuleType { @@ -5821,35 +5821,35 @@ pub mod user_list_rule_type_enum { } } } -/// Supported rule operator for string type. +/// Supported rule operator for string type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemOperatorEnum { } /// Nested message and enum types in `UserListStringRuleItemOperatorEnum`. pub mod user_list_string_rule_item_operator_enum { - /// Enum describing possible user list string rule item operators. + /// Enum describing possible user list string rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListStringRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Contains. + /// Contains. Contains = 2, - /// Equals. + /// Equals. Equals = 3, - /// Starts with. + /// Starts with. StartsWith = 4, - /// Ends with. + /// Ends with. EndsWith = 5, - /// Not equals. + /// Not equals. NotEquals = 6, - /// Not contains. + /// Not contains. NotContains = 7, - /// Not starts with. + /// Not starts with. NotStartsWith = 8, - /// Not ends with. + /// Not ends with. NotEndsWith = 9, } impl UserListStringRuleItemOperator { @@ -5873,29 +5873,29 @@ pub mod user_list_string_rule_item_operator_enum { } } } -// Proto file describing AccessInvitationStatus enum. +// Proto file describing AccessInvitationStatus enum. -/// Container for enum for identifying the status of access invitation +/// Container for enum for identifying the status of access invitation #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationStatusEnum { } /// Nested message and enum types in `AccessInvitationStatusEnum`. pub mod access_invitation_status_enum { - /// Possible access invitation status of a user + /// Possible access invitation status of a user #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The initial state of an invitation, before being acted upon by anyone. + /// The initial state of an invitation, before being acted upon by anyone. Pending = 2, - /// Invitation process was terminated by the email recipient. No new user was - /// created. + /// Invitation process was terminated by the email recipient. No new user was + /// created. Declined = 3, - /// Invitation URLs expired without being acted upon. No new user can be - /// created. Invitations expire 20 days after creation. + /// Invitation URLs expired without being acted upon. No new user can be + /// created. Invitations expire 20 days after creation. Expired = 4, } impl AccessInvitationStatus { @@ -5914,29 +5914,29 @@ pub mod access_invitation_status_enum { } } } -/// Indicates the way the resource such as user list is related to a user. +/// Indicates the way the resource such as user list is related to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessReasonEnum { } /// Nested message and enum types in `AccessReasonEnum`. pub mod access_reason_enum { - /// Enum describing possible access reasons. + /// Enum describing possible access reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The resource is owned by the user. + /// The resource is owned by the user. Owned = 2, - /// The resource is shared to the user. + /// The resource is shared to the user. Shared = 3, - /// The resource is licensed to the user. + /// The resource is licensed to the user. Licensed = 4, - /// The user subscribed to the resource. + /// The user subscribed to the resource. Subscribed = 5, - /// The resource is accessible to the user. + /// The resource is accessible to the user. Affiliated = 6, } impl AccessReason { @@ -5957,28 +5957,28 @@ pub mod access_reason_enum { } } } -/// Container for enum describing possible access role for user. +/// Container for enum describing possible access role for user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessRoleEnum { } /// Nested message and enum types in `AccessRoleEnum`. pub mod access_role_enum { - /// Possible access role of a user. + /// Possible access role of a user. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessRole { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Owns its account and can control the addition of other users. + /// Owns its account and can control the addition of other users. Admin = 2, - /// Can modify campaigns, but can't affect other users. + /// Can modify campaigns, but can't affect other users. Standard = 3, - /// Can view campaigns and account changes, but cannot make edits. + /// Can view campaigns and account changes, but cannot make edits. ReadOnly = 4, - /// Role for \"email only\" access. Represents an email recipient rather than - /// a true User entity. + /// Role for \"email only\" access. Represents an email recipient rather than + /// a true User entity. EmailOnly = 5, } impl AccessRole { @@ -5998,35 +5998,35 @@ pub mod access_role_enum { } } } -// Proto file describing AccountBudgetProposal statuses. +// Proto file describing AccountBudgetProposal statuses. -/// Message describing AccountBudgetProposal statuses. +/// Message describing AccountBudgetProposal statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalStatusEnum { } /// Nested message and enum types in `AccountBudgetProposalStatusEnum`. pub mod account_budget_proposal_status_enum { - /// The possible statuses of an AccountBudgetProposal. + /// The possible statuses of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The proposal is pending approval. + /// The proposal is pending approval. Pending = 2, - /// The proposal has been approved but the corresponding billing setup - /// has not. This can occur for proposals that set up the first budget - /// when signing up for billing or when performing a change of bill-to - /// operation. + /// The proposal has been approved but the corresponding billing setup + /// has not. This can occur for proposals that set up the first budget + /// when signing up for billing or when performing a change of bill-to + /// operation. ApprovedHeld = 3, - /// The proposal has been approved. + /// The proposal has been approved. Approved = 4, - /// The proposal has been cancelled by the user. + /// The proposal has been cancelled by the user. Cancelled = 5, - /// The proposal has been rejected by the user, for example, by rejecting an - /// acceptance email. + /// The proposal has been rejected by the user, for example, by rejecting an + /// acceptance email. Rejected = 6, } impl AccountBudgetProposalStatus { @@ -6047,29 +6047,29 @@ pub mod account_budget_proposal_status_enum { } } } -// Proto file describing AccountBudgetProposal types. +// Proto file describing AccountBudgetProposal types. -/// Message describing AccountBudgetProposal types. +/// Message describing AccountBudgetProposal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalTypeEnum { } /// Nested message and enum types in `AccountBudgetProposalTypeEnum`. pub mod account_budget_proposal_type_enum { - /// The possible types of an AccountBudgetProposal. + /// The possible types of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Identifies a request to create a new budget. + /// Identifies a request to create a new budget. Create = 2, - /// Identifies a request to edit an existing budget. + /// Identifies a request to edit an existing budget. Update = 3, - /// Identifies a request to end a budget that has already started. + /// Identifies a request to end a budget that has already started. End = 4, - /// Identifies a request to remove a budget that hasn't started yet. + /// Identifies a request to remove a budget that hasn't started yet. Remove = 5, } impl AccountBudgetProposalType { @@ -6089,27 +6089,27 @@ pub mod account_budget_proposal_type_enum { } } } -// Proto file describing AccountBudget statuses. +// Proto file describing AccountBudget statuses. -/// Message describing AccountBudget statuses. +/// Message describing AccountBudget statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetStatusEnum { } /// Nested message and enum types in `AccountBudgetStatusEnum`. pub mod account_budget_status_enum { - /// The possible statuses of an AccountBudget. + /// The possible statuses of an AccountBudget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The account budget is pending approval. + /// The account budget is pending approval. Pending = 2, - /// The account budget has been approved. + /// The account budget has been approved. Approved = 3, - /// The account budget has been cancelled by the user. + /// The account budget has been cancelled by the user. Cancelled = 4, } impl AccountBudgetStatus { @@ -6128,34 +6128,34 @@ pub mod account_budget_status_enum { } } } -/// Container for enum describing possible statuses of an account link. +/// Container for enum describing possible statuses of an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkStatusEnum { } /// Nested message and enum types in `AccountLinkStatusEnum`. pub mod account_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and another account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link is removed/disabled. + /// The link is removed/disabled. Removed = 3, - /// The link to the other account has been requested. A user on the other - /// account may now approve the link by setting the status to ENABLED. + /// The link to the other account has been requested. A user on the other + /// account may now approve the link by setting the status to ENABLED. Requested = 4, - /// This link has been requested by a user on the other account. It may be - /// approved by a user on this account by setting the status to ENABLED. + /// This link has been requested by a user on the other account. It may be + /// approved by a user on this account by setting the status to ENABLED. PendingApproval = 5, - /// The link is rejected by the approver. + /// The link is rejected by the approver. Rejected = 6, - /// The link is revoked by the user who requested the link. + /// The link is revoked by the user who requested the link. Revoked = 7, } impl AccountLinkStatus { @@ -6177,29 +6177,29 @@ pub mod account_link_status_enum { } } } -// Proto file describing Ad Customizer placeholder fields. +// Proto file describing Ad Customizer placeholder fields. -/// Values for Ad Customizer placeholder fields. +/// Values for Ad Customizer placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerPlaceholderFieldEnum { } /// Nested message and enum types in `AdCustomizerPlaceholderFieldEnum`. pub mod ad_customizer_placeholder_field_enum { - /// Possible values for Ad Customizers placeholder fields. + /// Possible values for Ad Customizers placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. Integer value to be inserted. + /// Data Type: INT64. Integer value to be inserted. Integer = 2, - /// Data Type: STRING. Price value to be inserted. + /// Data Type: STRING. Price value to be inserted. Price = 3, - /// Data Type: DATE_TIME. Date value to be inserted. + /// Data Type: DATE_TIME. Date value to be inserted. Date = 4, - /// Data Type: STRING. String value to be inserted. + /// Data Type: STRING. String value to be inserted. String = 5, } impl AdCustomizerPlaceholderField { @@ -6219,28 +6219,28 @@ pub mod ad_customizer_placeholder_field_enum { } } } -// Proto file describing ad group ad rotation mode. +// Proto file describing ad group ad rotation mode. -/// Container for enum describing possible ad rotation modes of ads within an -/// ad group. +/// Container for enum describing possible ad rotation modes of ads within an +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdRotationModeEnum { } /// Nested message and enum types in `AdGroupAdRotationModeEnum`. pub mod ad_group_ad_rotation_mode_enum { - /// The possible ad rotation modes of an ad group. + /// The possible ad rotation modes of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdRotationMode { - /// The ad rotation mode has not been specified. + /// The ad rotation mode has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Optimize ad group ads based on clicks or conversions. + /// Optimize ad group ads based on clicks or conversions. Optimize = 2, - /// Rotate evenly forever. + /// Rotate evenly forever. RotateForever = 3, } impl AdGroupAdRotationMode { @@ -6258,29 +6258,29 @@ pub mod ad_group_ad_rotation_mode_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an AdGroupAd. +/// Container for enum describing possible statuses of an AdGroupAd. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdStatusEnum { } /// Nested message and enum types in `AdGroupAdStatusEnum`. pub mod ad_group_ad_status_enum { - /// The possible statuses of an AdGroupAd. + /// The possible statuses of an AdGroupAd. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group ad is enabled. + /// The ad group ad is enabled. Enabled = 2, - /// The ad group ad is paused. + /// The ad group ad is paused. Paused = 3, - /// The ad group ad is removed. + /// The ad group ad is removed. Removed = 4, } impl AdGroupAdStatus { @@ -6299,29 +6299,29 @@ pub mod ad_group_ad_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible AdGroupCriterion approval statuses. +/// Container for enum describing possible AdGroupCriterion approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionApprovalStatusEnum { } /// Nested message and enum types in `AdGroupCriterionApprovalStatusEnum`. pub mod ad_group_criterion_approval_status_enum { - /// Enumerates AdGroupCriterion approval statuses. + /// Enumerates AdGroupCriterion approval statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionApprovalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Approved. + /// Approved. Approved = 2, - /// Disapproved. + /// Disapproved. Disapproved = 3, - /// Pending Review. + /// Pending Review. PendingReview = 4, - /// Under review. + /// Under review. UnderReview = 5, } impl AdGroupCriterionApprovalStatus { @@ -6341,29 +6341,29 @@ pub mod ad_group_criterion_approval_status_enum { } } } -// Proto file describing AdGroupCriterion statuses. +// Proto file describing AdGroupCriterion statuses. -/// Message describing AdGroupCriterion statuses. +/// Message describing AdGroupCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionStatusEnum { } /// Nested message and enum types in `AdGroupCriterionStatusEnum`. pub mod ad_group_criterion_status_enum { - /// The possible statuses of an AdGroupCriterion. + /// The possible statuses of an AdGroupCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group criterion is enabled. + /// The ad group criterion is enabled. Enabled = 2, - /// The ad group criterion is paused. + /// The ad group criterion is paused. Paused = 3, - /// The ad group criterion is removed. + /// The ad group criterion is removed. Removed = 4, } impl AdGroupCriterionStatus { @@ -6382,29 +6382,29 @@ pub mod ad_group_criterion_status_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an ad group. +/// Container for enum describing possible statuses of an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupStatusEnum { } /// Nested message and enum types in `AdGroupStatusEnum`. pub mod ad_group_status_enum { - /// The possible statuses of an ad group. + /// The possible statuses of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group is enabled. + /// The ad group is enabled. Enabled = 2, - /// The ad group is paused. + /// The ad group is paused. Paused = 3, - /// The ad group is removed. + /// The ad group is removed. Removed = 4, } impl AdGroupStatus { @@ -6423,57 +6423,57 @@ pub mod ad_group_status_enum { } } } -// Proto file describing ad group types. +// Proto file describing ad group types. -/// Defines types of an ad group, specific to a particular campaign channel -/// type. This type drives validations that restrict which entities can be -/// added to the ad group. +/// Defines types of an ad group, specific to a particular campaign channel +/// type. This type drives validations that restrict which entities can be +/// added to the ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupTypeEnum { } /// Nested message and enum types in `AdGroupTypeEnum`. pub mod ad_group_type_enum { - /// Enum listing the possible types of an ad group. + /// Enum listing the possible types of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupType { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The default ad group type for Search campaigns. + /// The default ad group type for Search campaigns. SearchStandard = 2, - /// The default ad group type for Display campaigns. + /// The default ad group type for Display campaigns. DisplayStandard = 3, - /// The ad group type for Shopping campaigns serving standard product ads. + /// The ad group type for Shopping campaigns serving standard product ads. ShoppingProductAds = 4, - /// The default ad group type for Hotel campaigns. + /// The default ad group type for Hotel campaigns. HotelAds = 6, - /// The type for ad groups in Smart Shopping campaigns. + /// The type for ad groups in Smart Shopping campaigns. ShoppingSmartAds = 7, - /// Short unskippable in-stream video ads. + /// Short unskippable in-stream video ads. VideoBumper = 8, - /// TrueView (skippable) in-stream video ads. + /// TrueView (skippable) in-stream video ads. VideoTrueViewInStream = 9, - /// TrueView in-display video ads. + /// TrueView in-display video ads. VideoTrueViewInDisplay = 10, - /// Unskippable in-stream video ads. + /// Unskippable in-stream video ads. VideoNonSkippableInStream = 11, - /// Outstream video ads. + /// Outstream video ads. VideoOutstream = 12, - /// Ad group type for Dynamic Search Ads ad groups. + /// Ad group type for Dynamic Search Ads ad groups. SearchDynamicAds = 13, - /// The type for ad groups in Shopping Comparison Listing campaigns. + /// The type for ad groups in Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 14, - /// The ad group type for Promoted Hotel ad groups. + /// The ad group type for Promoted Hotel ad groups. PromotedHotelAds = 15, - /// Video responsive ad groups. + /// Video responsive ad groups. VideoResponsive = 16, - /// Video efficient reach ad groups. + /// Video efficient reach ad groups. VideoEfficientReach = 17, - /// Ad group type for Smart campaigns. + /// Ad group type for Smart campaigns. SmartCampaignAds = 18, } impl AdGroupType { @@ -6505,36 +6505,36 @@ pub mod ad_group_type_enum { } } } -// Proto file describing ad serving statuses. +// Proto file describing ad serving statuses. -/// Possible ad serving statuses of a campaign. +/// Possible ad serving statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdServingOptimizationStatusEnum { } /// Nested message and enum types in `AdServingOptimizationStatusEnum`. pub mod ad_serving_optimization_status_enum { - /// Enum describing possible serving statuses. + /// Enum describing possible serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdServingOptimizationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Ad serving is optimized based on CTR for the campaign. + /// Ad serving is optimized based on CTR for the campaign. Optimize = 2, - /// Ad serving is optimized based on CTR * Conversion for the campaign. If - /// the campaign is not in the conversion optimizer bidding strategy, it will - /// default to OPTIMIZED. + /// Ad serving is optimized based on CTR * Conversion for the campaign. If + /// the campaign is not in the conversion optimizer bidding strategy, it will + /// default to OPTIMIZED. ConversionOptimize = 3, - /// Ads are rotated evenly for 90 days, then optimized for clicks. + /// Ads are rotated evenly for 90 days, then optimized for clicks. Rotate = 4, - /// Show lower performing ads more evenly with higher performing ads, and do - /// not optimize. + /// Show lower performing ads more evenly with higher performing ads, and do + /// not optimize. RotateIndefinitely = 5, - /// Ad serving optimization status is not available. + /// Ad serving optimization status is not available. Unavailable = 6, } impl AdServingOptimizationStatus { @@ -6555,33 +6555,33 @@ pub mod ad_serving_optimization_status_enum { } } } -// Proto file describing ad strengths. +// Proto file describing ad strengths. -/// Container for enum describing possible ad strengths. +/// Container for enum describing possible ad strengths. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdStrengthEnum { } /// Nested message and enum types in `AdStrengthEnum`. pub mod ad_strength_enum { - /// Enum listing the possible ad strengths. + /// Enum listing the possible ad strengths. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdStrength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The ad strength is currently pending. + /// The ad strength is currently pending. Pending = 2, - /// No ads could be generated. + /// No ads could be generated. NoAds = 3, - /// Poor strength. + /// Poor strength. Poor = 4, - /// Average strength. + /// Average strength. Average = 5, - /// Good strength. + /// Good strength. Good = 6, - /// Excellent strength. + /// Excellent strength. Excellent = 7, } impl AdStrength { @@ -6603,84 +6603,84 @@ pub mod ad_strength_enum { } } } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// Container for enum describing possible types of an ad. +/// Container for enum describing possible types of an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTypeEnum { } /// Nested message and enum types in `AdTypeEnum`. pub mod ad_type_enum { - /// The possible types of an ad. + /// The possible types of an ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad is a text ad. + /// The ad is a text ad. TextAd = 2, - /// The ad is an expanded text ad. + /// The ad is an expanded text ad. ExpandedTextAd = 3, - /// The ad is an expanded dynamic search ad. + /// The ad is an expanded dynamic search ad. ExpandedDynamicSearchAd = 7, - /// The ad is a hotel ad. + /// The ad is a hotel ad. HotelAd = 8, - /// The ad is a Smart Shopping ad. + /// The ad is a Smart Shopping ad. ShoppingSmartAd = 9, - /// The ad is a standard Shopping ad. + /// The ad is a standard Shopping ad. ShoppingProductAd = 10, - /// The ad is a video ad. + /// The ad is a video ad. VideoAd = 12, - /// This ad is a Gmail ad. + /// This ad is a Gmail ad. GmailAd = 13, - /// This ad is an Image ad. + /// This ad is an Image ad. ImageAd = 14, - /// The ad is a responsive search ad. + /// The ad is a responsive search ad. ResponsiveSearchAd = 15, - /// The ad is a legacy responsive display ad. + /// The ad is a legacy responsive display ad. LegacyResponsiveDisplayAd = 16, - /// The ad is an app ad. + /// The ad is an app ad. AppAd = 17, - /// The ad is a legacy app install ad. + /// The ad is a legacy app install ad. LegacyAppInstallAd = 18, - /// The ad is a responsive display ad. + /// The ad is a responsive display ad. ResponsiveDisplayAd = 19, - /// The ad is a local ad. + /// The ad is a local ad. LocalAd = 20, - /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. + /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. Html5UploadAd = 21, - /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - /// types. + /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product + /// types. DynamicHtml5Ad = 22, - /// The ad is an app engagement ad. + /// The ad is an app engagement ad. AppEngagementAd = 23, - /// The ad is a Shopping Comparison Listing ad. + /// The ad is a Shopping Comparison Listing ad. ShoppingComparisonListingAd = 24, - /// Video bumper ad. + /// Video bumper ad. VideoBumperAd = 25, - /// Video non-skippable in-stream ad. + /// Video non-skippable in-stream ad. VideoNonSkippableInStreamAd = 26, - /// Video outstream ad. + /// Video outstream ad. VideoOutstreamAd = 27, - /// Video TrueView in-stream ad. + /// Video TrueView in-stream ad. VideoTrueviewInStreamAd = 29, - /// Video responsive ad. + /// Video responsive ad. VideoResponsiveAd = 30, - /// Smart campaign ad. + /// Smart campaign ad. SmartCampaignAd = 31, - /// Call ad. + /// Call ad. CallAd = 32, - /// Universal app pre-registration ad. + /// Universal app pre-registration ad. AppPreRegistrationAd = 33, - /// In-feed video ad. + /// In-feed video ad. InFeedVideoAd = 34, - /// Discovery multi asset ad. + /// Discovery multi asset ad. DiscoveryMultiAssetAd = 35, - /// Discovery carousel ad. + /// Discovery carousel ad. DiscoveryCarouselAd = 36, } impl AdType { @@ -6726,24 +6726,24 @@ pub mod ad_type_enum { } } } -// Proto file describing relation type for affiliate location feeds. +// Proto file describing relation type for affiliate location feeds. -/// Container for enum describing possible values for a relationship type for -/// an affiliate location feed. +/// Container for enum describing possible values for a relationship type for +/// an affiliate location feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedRelationshipTypeEnum { } /// Nested message and enum types in `AffiliateLocationFeedRelationshipTypeEnum`. pub mod affiliate_location_feed_relationship_type_enum { - /// Possible values for a relationship type for an affiliate location feed. + /// Possible values for a relationship type for an affiliate location feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationFeedRelationshipType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// General retailer relationship. + /// General retailer relationship. GeneralRetailer = 2, } impl AffiliateLocationFeedRelationshipType { @@ -6760,43 +6760,43 @@ pub mod affiliate_location_feed_relationship_type_enum { } } } -// Proto file describing Affiliate Location placeholder fields. +// Proto file describing Affiliate Location placeholder fields. -/// Values for Affiliate Location placeholder fields. +/// Values for Affiliate Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationPlaceholderFieldEnum { } /// Nested message and enum types in `AffiliateLocationPlaceholderFieldEnum`. pub mod affiliate_location_placeholder_field_enum { - /// Possible values for Affiliate Location placeholder fields. + /// Possible values for Affiliate Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, - /// Data Type: STRING. Language code of the business. + /// Data Type: STRING. Language code of the business. LanguageCode = 10, - /// Data Type: INT64. ID of the chain. + /// Data Type: INT64. ID of the chain. ChainId = 11, - /// Data Type: STRING. Name of the chain. + /// Data Type: STRING. Name of the chain. ChainName = 12, } impl AffiliateLocationPlaceholderField { @@ -6823,25 +6823,25 @@ pub mod affiliate_location_placeholder_field_enum { } } } -// Proto file describing App Campaign app store. +// Proto file describing App Campaign app store. -/// The application store that distributes mobile applications. +/// The application store that distributes mobile applications. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignAppStoreEnum { } /// Nested message and enum types in `AppCampaignAppStoreEnum`. pub mod app_campaign_app_store_enum { - /// Enum describing app campaign app store. + /// Enum describing app campaign app store. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple app store. + /// Apple app store. AppleAppStore = 2, - /// Google play. + /// Google play. GoogleAppStore = 3, } impl AppCampaignAppStore { @@ -6859,41 +6859,41 @@ pub mod app_campaign_app_store_enum { } } } -// Proto file describing App Campaign bidding strategy goal types. +// Proto file describing App Campaign bidding strategy goal types. -/// Container for enum describing goal towards which the bidding strategy of an -/// app campaign should optimize for. +/// Container for enum describing goal towards which the bidding strategy of an +/// app campaign should optimize for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignBiddingStrategyGoalTypeEnum { } /// Nested message and enum types in `AppCampaignBiddingStrategyGoalTypeEnum`. pub mod app_campaign_bidding_strategy_goal_type_enum { - /// Goal type of App campaign BiddingStrategy. + /// Goal type of App campaign BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignBiddingStrategyGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Aim to maximize the number of app installs. The cpa bid is the - /// target cost per install. + /// Aim to maximize the number of app installs. The cpa bid is the + /// target cost per install. OptimizeInstallsTargetInstallCost = 2, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per install. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per install. OptimizeInAppConversionsTargetInstallCost = 3, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per in-app conversion. Note - /// that the actual cpa may seem higher than the target cpa at first, since - /// the long term conversions haven't happened yet. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per in-app conversion. Note + /// that the actual cpa may seem higher than the target cpa at first, since + /// the long term conversions haven't happened yet. OptimizeInAppConversionsTargetConversionCost = 4, - /// Aim to maximize all conversions' value, for example, install + selected - /// in-app conversions while achieving or exceeding target return on - /// advertising spend. + /// Aim to maximize all conversions' value, for example, install + selected + /// in-app conversions while achieving or exceeding target return on + /// advertising spend. OptimizeReturnOnAdvertisingSpend = 5, - /// Aim to maximize the pre-registration of the app. + /// Aim to maximize the pre-registration of the app. OptimizePreRegistrationConversionVolume = 6, - /// Aim to maximize installation of the app without target cost-per-install. + /// Aim to maximize installation of the app without target cost-per-install. OptimizeInstallsWithoutTargetInstallCost = 7, } impl AppCampaignBiddingStrategyGoalType { @@ -6915,44 +6915,44 @@ pub mod app_campaign_bidding_strategy_goal_type_enum { } } } -// Proto file describing App placeholder fields. +// Proto file describing App placeholder fields. -/// Values for App placeholder fields. +/// Values for App placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPlaceholderFieldEnum { } /// Nested message and enum types in `AppPlaceholderFieldEnum`. pub mod app_placeholder_field_enum { - /// Possible values for App placeholder fields. + /// Possible values for App placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The application store that the target application - /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - /// Store. + /// Data Type: INT64. The application store that the target application + /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play + /// Store. Store = 2, - /// Data Type: STRING. The store-specific ID for the target application. + /// Data Type: STRING. The store-specific ID for the target application. Id = 3, - /// Data Type: STRING. The visible text displayed when the link is rendered - /// in an ad. + /// Data Type: STRING. The visible text displayed when the link is rendered + /// in an ad. LinkText = 4, - /// Data Type: STRING. The destination URL of the in-app link. + /// Data Type: STRING. The destination URL of the in-app link. Url = 5, - /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded + /// URLs. FinalUrls = 6, - /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using + /// Upgraded URLs. FinalMobileUrls = 7, - /// Data Type: URL. Tracking template for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the in-app link when using Upgraded + /// URLs. TrackingUrl = 8, - /// Data Type: STRING. Final URL suffix for the in-app link when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the in-app link when using + /// parallel tracking. FinalUrlSuffix = 9, } impl AppPlaceholderField { @@ -6976,70 +6976,70 @@ pub mod app_placeholder_field_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the possible placements of an asset. +/// Container for enum describing the possible placements of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeEnum { } /// Nested message and enum types in `AssetFieldTypeEnum`. pub mod asset_field_type_enum { - /// Enum describing the possible placements of an asset. + /// Enum describing the possible placements of an asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetFieldType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The asset is linked for use as a headline. + /// The asset is linked for use as a headline. Headline = 2, - /// The asset is linked for use as a description. + /// The asset is linked for use as a description. Description = 3, - /// The asset is linked for use as mandatory ad text. + /// The asset is linked for use as mandatory ad text. MandatoryAdText = 4, - /// The asset is linked for use as a marketing image. + /// The asset is linked for use as a marketing image. MarketingImage = 5, - /// The asset is linked for use as a media bundle. + /// The asset is linked for use as a media bundle. MediaBundle = 6, - /// The asset is linked for use as a YouTube video. + /// The asset is linked for use as a YouTube video. YoutubeVideo = 7, - /// The asset is linked to indicate that a hotels campaign is "Book on - /// Google" enabled. + /// The asset is linked to indicate that a hotels campaign is "Book on + /// Google" enabled. BookOnGoogle = 8, - /// The asset is linked for use as a Lead Form extension. + /// The asset is linked for use as a Lead Form extension. LeadForm = 9, - /// The asset is linked for use as a Promotion extension. + /// The asset is linked for use as a Promotion extension. Promotion = 10, - /// The asset is linked for use as a Callout extension. + /// The asset is linked for use as a Callout extension. Callout = 11, - /// The asset is linked for use as a Structured Snippet extension. + /// The asset is linked for use as a Structured Snippet extension. StructuredSnippet = 12, - /// The asset is linked for use as a Sitelink extension. + /// The asset is linked for use as a Sitelink extension. Sitelink = 13, - /// The asset is linked for use as a Mobile App extension. + /// The asset is linked for use as a Mobile App extension. MobileApp = 14, - /// The asset is linked for use as a Hotel Callout extension. + /// The asset is linked for use as a Hotel Callout extension. HotelCallout = 15, - /// The asset is linked for use as a Call extension. + /// The asset is linked for use as a Call extension. Call = 16, - /// The asset is linked for use as a Price extension. + /// The asset is linked for use as a Price extension. Price = 24, - /// The asset is linked for use as a long headline. + /// The asset is linked for use as a long headline. LongHeadline = 17, - /// The asset is linked for use as a business name. + /// The asset is linked for use as a business name. BusinessName = 18, - /// The asset is linked for use as a square marketing image. + /// The asset is linked for use as a square marketing image. SquareMarketingImage = 19, - /// The asset is linked for use as a portrait marketing image. + /// The asset is linked for use as a portrait marketing image. PortraitMarketingImage = 20, - /// The asset is linked for use as a logo. + /// The asset is linked for use as a logo. Logo = 21, - /// The asset is linked for use as a landscape logo. + /// The asset is linked for use as a landscape logo. LandscapeLogo = 22, - /// The asset is linked for use as a non YouTube logo. + /// The asset is linked for use as a non YouTube logo. Video = 23, - /// The asset is linked for use to select a call-to-action. + /// The asset is linked for use to select a call-to-action. CallToActionSelection = 25, } impl AssetFieldType { @@ -7079,27 +7079,27 @@ pub mod asset_field_type_enum { } } } -// Proto file describing asset group status. +// Proto file describing asset group status. -/// Container for enum describing possible statuses of an asset group. +/// Container for enum describing possible statuses of an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupStatusEnum { } /// Nested message and enum types in `AssetGroupStatusEnum`. pub mod asset_group_status_enum { - /// The possible statuses of an asset group. + /// The possible statuses of an asset group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The asset group is enabled. + /// The asset group is enabled. Enabled = 2, - /// The asset group is paused. + /// The asset group is paused. Paused = 3, - /// The asset group is removed. + /// The asset group is removed. Removed = 4, } impl AssetGroupStatus { @@ -7118,27 +7118,27 @@ pub mod asset_group_status_enum { } } } -// Proto file describing status of an asset link. +// Proto file describing status of an asset link. -/// Container for enum describing possible statuses of an asset link. +/// Container for enum describing possible statuses of an asset link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkStatusEnum { } /// Nested message and enum types in `AssetLinkStatusEnum`. pub mod asset_link_status_enum { - /// Enum describing statuses of an asset link. + /// Enum describing statuses of an asset link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Asset link is enabled. + /// Asset link is enabled. Enabled = 2, - /// Asset link has been removed. + /// Asset link has been removed. Removed = 3, - /// Asset link is paused. + /// Asset link is paused. Paused = 4, } impl AssetLinkStatus { @@ -7157,26 +7157,26 @@ pub mod asset_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set asset. +/// Container for enum describing possible statuses of an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetStatusEnum { } /// Nested message and enum types in `AssetSetAssetStatusEnum`. pub mod asset_set_asset_status_enum { - /// The possible statuses of an asset set asset. + /// The possible statuses of an asset set asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set asset is enabled. + /// The asset set asset is enabled. Enabled = 2, - /// The asset set asset is removed. + /// The asset set asset is removed. Removed = 3, } impl AssetSetAssetStatus { @@ -7194,27 +7194,27 @@ pub mod asset_set_asset_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of the linkage between asset -/// set and its container. +/// Container for enum describing possible statuses of the linkage between asset +/// set and its container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkStatusEnum { } /// Nested message and enum types in `AssetSetLinkStatusEnum`. pub mod asset_set_link_status_enum { - /// The possible statuses of the linkage between asset set and its container. + /// The possible statuses of the linkage between asset set and its container. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The linkage between asset set and its container is enabled. + /// The linkage between asset set and its container is enabled. Enabled = 2, - /// The linkage between asset set and its container is removed. + /// The linkage between asset set and its container is removed. Removed = 3, } impl AssetSetLinkStatus { @@ -7232,26 +7232,26 @@ pub mod asset_set_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set. +/// Container for enum describing possible statuses of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetStatusEnum { } /// Nested message and enum types in `AssetSetStatusEnum`. pub mod asset_set_status_enum { - /// The possible statuses of an asset set. + /// The possible statuses of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set is enabled. + /// The asset set is enabled. Enabled = 2, - /// The asset set is removed. + /// The asset set is removed. Removed = 3, } impl AssetSetStatus { @@ -7269,41 +7269,41 @@ pub mod asset_set_status_enum { } } } -// Proto file describing asset set type. +// Proto file describing asset set type. -/// Container for enum describing possible types of an asset set. +/// Container for enum describing possible types of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetTypeEnum { } /// Nested message and enum types in `AssetSetTypeEnum`. pub mod asset_set_type_enum { - /// Possible types of an asset set. + /// Possible types of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Page asset set. + /// Page asset set. PageFeed = 2, - /// Dynamic education asset set. + /// Dynamic education asset set. DynamicEducation = 3, - /// Google Merchant Center asset set. + /// Google Merchant Center asset set. MerchantCenterFeed = 4, - /// Dynamic real estate asset set. + /// Dynamic real estate asset set. DynamicRealEstate = 5, - /// Dynamic custom asset set. + /// Dynamic custom asset set. DynamicCustom = 6, - /// Dynamic hotels and rentals asset set. + /// Dynamic hotels and rentals asset set. DynamicHotelsAndRentals = 7, - /// Dynamic flights asset set. + /// Dynamic flights asset set. DynamicFlights = 8, - /// Dynamic travel asset set. + /// Dynamic travel asset set. DynamicTravel = 9, - /// Dynamic local asset set. + /// Dynamic local asset set. DynamicLocal = 10, - /// Dynamic jobs asset set. + /// Dynamic jobs asset set. DynamicJobs = 11, } impl AssetSetType { @@ -7329,26 +7329,26 @@ pub mod asset_set_type_enum { } } } -// Proto file describing asset source. +// Proto file describing asset source. -/// Source of the asset or asset link for who generated the entity. -/// For example, advertiser or automatically created. +/// Source of the asset or asset link for who generated the entity. +/// For example, advertiser or automatically created. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSourceEnum { } /// Nested message and enum types in `AssetSourceEnum`. pub mod asset_source_enum { - /// Enum describing possible source of asset. + /// Enum describing possible source of asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The asset or asset link is provided by advertiser. + /// The asset or asset link is provided by advertiser. Advertiser = 2, - /// The asset or asset link is generated by Google. + /// The asset or asset link is generated by Google. AutomaticallyCreated = 3, } impl AssetSource { @@ -7366,71 +7366,71 @@ pub mod asset_source_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the types of asset. +/// Container for enum describing the types of asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetTypeEnum { } /// Nested message and enum types in `AssetTypeEnum`. pub mod asset_type_enum { - /// Enum describing possible types of asset. + /// Enum describing possible types of asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube video asset. + /// YouTube video asset. YoutubeVideo = 2, - /// Media bundle asset. + /// Media bundle asset. MediaBundle = 3, - /// Image asset. + /// Image asset. Image = 4, - /// Text asset. + /// Text asset. Text = 5, - /// Lead form asset. + /// Lead form asset. LeadForm = 6, - /// Book on Google asset. + /// Book on Google asset. BookOnGoogle = 7, - /// Promotion asset. + /// Promotion asset. Promotion = 8, - /// Callout asset. + /// Callout asset. Callout = 9, - /// Structured Snippet asset. + /// Structured Snippet asset. StructuredSnippet = 10, - /// Sitelink asset. + /// Sitelink asset. Sitelink = 11, - /// Page Feed asset. + /// Page Feed asset. PageFeed = 12, - /// Dynamic Education asset. + /// Dynamic Education asset. DynamicEducation = 13, - /// Mobile app asset. + /// Mobile app asset. MobileApp = 14, - /// Hotel callout asset. + /// Hotel callout asset. HotelCallout = 15, - /// Call asset. + /// Call asset. Call = 16, - /// Price asset. + /// Price asset. Price = 17, - /// Call to action asset. + /// Call to action asset. CallToAction = 18, - /// Dynamic real estate asset. + /// Dynamic real estate asset. DynamicRealEstate = 19, - /// Dynamic custom asset. + /// Dynamic custom asset. DynamicCustom = 20, - /// Dynamic hotels and rentals asset. + /// Dynamic hotels and rentals asset. DynamicHotelsAndRentals = 21, - /// Dynamic flights asset. + /// Dynamic flights asset. DynamicFlights = 22, - /// Discovery Carousel Card asset. + /// Discovery Carousel Card asset. DiscoveryCarouselCard = 23, - /// Dynamic travel asset. + /// Dynamic travel asset. DynamicTravel = 24, - /// Dynamic local asset. + /// Dynamic local asset. DynamicLocal = 25, - /// Dynamic jobs asset. + /// Dynamic jobs asset. DynamicJobs = 26, } impl AssetType { @@ -7471,31 +7471,31 @@ pub mod asset_type_enum { } } } -// Proto file describing experiment async action status. +// Proto file describing experiment async action status. -/// Container for enum describing the experiment async action status. +/// Container for enum describing the experiment async action status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AsyncActionStatusEnum { } /// Nested message and enum types in `AsyncActionStatusEnum`. pub mod async_action_status_enum { - /// The async action status of the experiment. + /// The async action status of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AsyncActionStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Action has not started. + /// Action has not started. NotStarted = 2, - /// Action is in progress. + /// Action is in progress. InProgress = 3, - /// Action has completed successfully. + /// Action has completed successfully. Completed = 4, - /// Action has failed. + /// Action has failed. Failed = 5, - /// Action has completed successfully with warnings. + /// Action has completed successfully with warnings. CompletedWithWarning = 6, } impl AsyncActionStatus { @@ -7516,42 +7516,42 @@ pub mod async_action_status_enum { } } } -/// Container for enum representing the attribution model that describes how to -/// distribute credit for a particular conversion across potentially many prior -/// interactions. +/// Container for enum representing the attribution model that describes how to +/// distribute credit for a particular conversion across potentially many prior +/// interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelEnum { } /// Nested message and enum types in `AttributionModelEnum`. pub mod attribution_model_enum { - /// The attribution model that describes how to distribute credit for a - /// particular conversion across potentially many prior interactions. + /// The attribution model that describes how to distribute credit for a + /// particular conversion across potentially many prior interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AttributionModel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Uses external attribution. + /// Uses external attribution. External = 100, - /// Attributes all credit for a conversion to its last click. + /// Attributes all credit for a conversion to its last click. GoogleAdsLastClick = 101, - /// Attributes all credit for a conversion to its first click using Google - /// Search attribution. + /// Attributes all credit for a conversion to its first click using Google + /// Search attribution. GoogleSearchAttributionFirstClick = 102, - /// Attributes credit for a conversion equally across all of its clicks using - /// Google Search attribution. + /// Attributes credit for a conversion equally across all of its clicks using + /// Google Search attribution. GoogleSearchAttributionLinear = 103, - /// Attributes exponentially more credit for a conversion to its more recent - /// clicks using Google Search attribution (half-life is 1 week). + /// Attributes exponentially more credit for a conversion to its more recent + /// clicks using Google Search attribution (half-life is 1 week). GoogleSearchAttributionTimeDecay = 104, - /// Attributes 40% of the credit for a conversion to its first and last - /// clicks. Remaining 20% is evenly distributed across all other clicks. This - /// uses Google Search attribution. + /// Attributes 40% of the credit for a conversion to its first and last + /// clicks. Remaining 20% is evenly distributed across all other clicks. This + /// uses Google Search attribution. GoogleSearchAttributionPositionBased = 105, - /// Flexible model that uses machine learning to determine the appropriate - /// distribution of credit among clicks using Google Search attribution. + /// Flexible model that uses machine learning to determine the appropriate + /// distribution of credit among clicks using Google Search attribution. GoogleSearchAttributionDataDriven = 106, } impl AttributionModel { @@ -7574,45 +7574,45 @@ pub mod attribution_model_enum { } } } -// Proto file describing a plannable network. +// Proto file describing a plannable network. -/// Container for enum describing audience insights dimensions. +/// Container for enum describing audience insights dimensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsDimensionEnum { } /// Nested message and enum types in `AudienceInsightsDimensionEnum`. pub mod audience_insights_dimension_enum { - /// Possible audience dimensions for use in generating insights. + /// Possible audience dimensions for use in generating insights. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceInsightsDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// A Product & Service category. + /// A Product & Service category. Category = 2, - /// A Knowledge Graph entity. + /// A Knowledge Graph entity. KnowledgeGraph = 3, - /// A country, represented by a geo target. + /// A country, represented by a geo target. GeoTargetCountry = 4, - /// A geographic location within a country. + /// A geographic location within a country. SubCountryLocation = 5, - /// A YouTube channel. + /// A YouTube channel. YoutubeChannel = 6, - /// A YouTube Dynamic Lineup. + /// A YouTube Dynamic Lineup. YoutubeDynamicLineup = 7, - /// An Affinity UserInterest. + /// An Affinity UserInterest. AffinityUserInterest = 8, - /// An In-Market UserInterest. + /// An In-Market UserInterest. InMarketUserInterest = 9, - /// A Parental Status value (parent, or not a parent). + /// A Parental Status value (parent, or not a parent). ParentalStatus = 10, - /// A household income percentile range. + /// A household income percentile range. IncomeRange = 11, - /// An age range. + /// An age range. AgeRange = 12, - /// A gender. + /// A gender. Gender = 13, } impl AudienceInsightsDimension { @@ -7640,26 +7640,26 @@ pub mod audience_insights_dimension_enum { } } } -// Proto file describing audience status. +// Proto file describing audience status. -/// The status of audience. +/// The status of audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceStatusEnum { } /// Nested message and enum types in `AudienceStatusEnum`. pub mod audience_status_enum { - /// Enum containing possible audience status types. + /// Enum containing possible audience status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - audience is enabled and can be targeted. + /// Enabled status - audience is enabled and can be targeted. Enabled = 2, - /// Removed status - audience is removed and cannot be used for - /// targeting. + /// Removed status - audience is removed and cannot be used for + /// targeting. Removed = 3, } impl AudienceStatus { @@ -7677,27 +7677,27 @@ pub mod audience_status_enum { } } } -// Proto file describing batch job statuses. +// Proto file describing batch job statuses. -/// Container for enum describing possible batch job statuses. +/// Container for enum describing possible batch job statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobStatusEnum { } /// Nested message and enum types in `BatchJobStatusEnum`. pub mod batch_job_status_enum { - /// The batch job statuses. + /// The batch job statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job is not currently running. + /// The job is not currently running. Pending = 2, - /// The job is running. + /// The job is running. Running = 3, - /// The job is done. + /// The job is done. Done = 4, } impl BatchJobStatus { @@ -7716,26 +7716,26 @@ pub mod batch_job_status_enum { } } } -// Proto file describing bid modifier source. +// Proto file describing bid modifier source. -/// Container for enum describing possible bid modifier sources. +/// Container for enum describing possible bid modifier sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSourceEnum { } /// Nested message and enum types in `BidModifierSourceEnum`. pub mod bid_modifier_source_enum { - /// Enum describing possible bid modifier sources. + /// Enum describing possible bid modifier sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BidModifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The bid modifier is specified at the campaign level, on the campaign - /// level criterion. + /// The bid modifier is specified at the campaign level, on the campaign + /// level criterion. Campaign = 2, - /// The bid modifier is specified (overridden) at the ad group level. + /// The bid modifier is specified (overridden) at the ad group level. AdGroup = 3, } impl BidModifierSource { @@ -7753,29 +7753,29 @@ pub mod bid_modifier_source_enum { } } } -// Proto file describing bidding sources. +// Proto file describing bidding sources. -/// Container for enum describing possible bidding sources. +/// Container for enum describing possible bidding sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSourceEnum { } /// Nested message and enum types in `BiddingSourceEnum`. pub mod bidding_source_enum { - /// Indicates where a bid or target is defined. For example, an ad group - /// criterion may define a cpc bid directly, or it can inherit its cpc bid from - /// the ad group. + /// Indicates where a bid or target is defined. For example, an ad group + /// criterion may define a cpc bid directly, or it can inherit its cpc bid from + /// the ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Effective bid or target is inherited from campaign bidding strategy. + /// Effective bid or target is inherited from campaign bidding strategy. CampaignBiddingStrategy = 5, - /// The bid or target is defined on the ad group. + /// The bid or target is defined on the ad group. AdGroup = 6, - /// The bid or target is defined on the ad group criterion. + /// The bid or target is defined on the ad group criterion. AdGroupCriterion = 7, } impl BiddingSource { @@ -7794,27 +7794,27 @@ pub mod bidding_source_enum { } } } -// Proto file describing BiddingStrategy statuses. +// Proto file describing BiddingStrategy statuses. -/// Message describing BiddingStrategy statuses. +/// Message describing BiddingStrategy statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyStatusEnum { } /// Nested message and enum types in `BiddingStrategyStatusEnum`. pub mod bidding_strategy_status_enum { - /// The possible statuses of a BiddingStrategy. + /// The possible statuses of a BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The bidding strategy is enabled. + /// The bidding strategy is enabled. Enabled = 2, - /// The bidding strategy is removed. + /// The bidding strategy is removed. Removed = 4, } impl BiddingStrategyStatus { @@ -7832,93 +7832,93 @@ pub mod bidding_strategy_status_enum { } } } -// Proto file describing BiddingStrategy statuses. +// Proto file describing BiddingStrategy statuses. -/// Message describing BiddingStrategy system statuses. +/// Message describing BiddingStrategy system statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategySystemStatusEnum { } /// Nested message and enum types in `BiddingStrategySystemStatusEnum`. pub mod bidding_strategy_system_status_enum { - /// The possible system statuses of a BiddingStrategy. + /// The possible system statuses of a BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategySystemStatus { - /// Signals that an unexpected error occurred, for example, no bidding - /// strategy type was found, or no status information was found. + /// Signals that an unexpected error occurred, for example, no bidding + /// strategy type was found, or no status information was found. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The bid strategy is active, and AdWords cannot find any specific issues - /// with the strategy. + /// The bid strategy is active, and AdWords cannot find any specific issues + /// with the strategy. Enabled = 2, - /// The bid strategy is learning because it has been recently created or - /// recently reactivated. + /// The bid strategy is learning because it has been recently created or + /// recently reactivated. LearningNew = 3, - /// The bid strategy is learning because of a recent setting change. + /// The bid strategy is learning because of a recent setting change. LearningSettingChange = 4, - /// The bid strategy is learning because of a recent budget change. + /// The bid strategy is learning because of a recent budget change. LearningBudgetChange = 5, - /// The bid strategy is learning because of recent change in number of - /// campaigns, ad groups or keywords attached to it. + /// The bid strategy is learning because of recent change in number of + /// campaigns, ad groups or keywords attached to it. LearningCompositionChange = 6, - /// The bid strategy depends on conversion reporting and the customer - /// recently modified conversion types that were relevant to the - /// bid strategy. + /// The bid strategy depends on conversion reporting and the customer + /// recently modified conversion types that were relevant to the + /// bid strategy. LearningConversionTypeChange = 7, - /// The bid strategy depends on conversion reporting and the customer - /// recently changed their conversion settings. + /// The bid strategy depends on conversion reporting and the customer + /// recently changed their conversion settings. LearningConversionSettingChange = 8, - /// The bid strategy is limited by its bid ceiling. + /// The bid strategy is limited by its bid ceiling. LimitedByCpcBidCeiling = 9, - /// The bid strategy is limited by its bid floor. + /// The bid strategy is limited by its bid floor. LimitedByCpcBidFloor = 10, - /// The bid strategy is limited because there was not enough conversion - /// traffic over the past weeks. + /// The bid strategy is limited because there was not enough conversion + /// traffic over the past weeks. LimitedByData = 11, - /// A significant fraction of keywords in this bid strategy are limited by - /// budget. + /// A significant fraction of keywords in this bid strategy are limited by + /// budget. LimitedByBudget = 12, - /// The bid strategy cannot reach its target spend because its spend has - /// been de-prioritized. + /// The bid strategy cannot reach its target spend because its spend has + /// been de-prioritized. LimitedByLowPrioritySpend = 13, - /// A significant fraction of keywords in this bid strategy have a low - /// Quality Score. + /// A significant fraction of keywords in this bid strategy have a low + /// Quality Score. LimitedByLowQuality = 14, - /// The bid strategy cannot fully spend its budget because of narrow - /// targeting. + /// The bid strategy cannot fully spend its budget because of narrow + /// targeting. LimitedByInventory = 15, - /// Missing conversion tracking (no pings present) and/or remarketing lists - /// for SSC. + /// Missing conversion tracking (no pings present) and/or remarketing lists + /// for SSC. MisconfiguredZeroEligibility = 16, - /// The bid strategy depends on conversion reporting and the customer is - /// lacking conversion types that might be reported against this strategy. + /// The bid strategy depends on conversion reporting and the customer is + /// lacking conversion types that might be reported against this strategy. MisconfiguredConversionTypes = 17, - /// The bid strategy depends on conversion reporting and the customer's - /// conversion settings are misconfigured. + /// The bid strategy depends on conversion reporting and the customer's + /// conversion settings are misconfigured. MisconfiguredConversionSettings = 18, - /// There are campaigns outside the bid strategy that share budgets with - /// campaigns included in the strategy. + /// There are campaigns outside the bid strategy that share budgets with + /// campaigns included in the strategy. MisconfiguredSharedBudget = 19, - /// The campaign has an invalid strategy type and is not serving. + /// The campaign has an invalid strategy type and is not serving. MisconfiguredStrategyType = 20, - /// The bid strategy is not active. Either there are no active campaigns, - /// ad groups or keywords attached to the bid strategy. Or there are no - /// active budgets connected to the bid strategy. + /// The bid strategy is not active. Either there are no active campaigns, + /// ad groups or keywords attached to the bid strategy. Or there are no + /// active budgets connected to the bid strategy. Paused = 21, - /// This bid strategy currently does not support status reporting. + /// This bid strategy currently does not support status reporting. Unavailable = 22, - /// There were multiple LEARNING_* system statuses for this bid strategy - /// during the time in question. + /// There were multiple LEARNING_* system statuses for this bid strategy + /// during the time in question. MultipleLearning = 23, - /// There were multiple LIMITED_* system statuses for this bid strategy - /// during the time in question. + /// There were multiple LIMITED_* system statuses for this bid strategy + /// during the time in question. MultipleLimited = 24, - /// There were multiple MISCONFIGURED_* system statuses for this bid strategy - /// during the time in question. + /// There were multiple MISCONFIGURED_* system statuses for this bid strategy + /// during the time in question. MultipleMisconfigured = 25, - /// There were multiple system statuses for this bid strategy during the - /// time in question. + /// There were multiple system statuses for this bid strategy during the + /// time in question. Multiple = 26, } impl BiddingStrategySystemStatus { @@ -7959,83 +7959,83 @@ pub mod bidding_strategy_system_status_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Container for enum describing possible bidding strategy types. +/// Container for enum describing possible bidding strategy types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyTypeEnum { } /// Nested message and enum types in `BiddingStrategyTypeEnum`. pub mod bidding_strategy_type_enum { - /// Enum describing possible bidding strategy types. + /// Enum describing possible bidding strategy types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. Commission = 16, - /// Enhanced CPC is a bidding strategy that raises bids for clicks - /// that seem more likely to lead to a conversion and lowers - /// them for clicks where they seem less likely. + /// Enhanced CPC is a bidding strategy that raises bids for clicks + /// that seem more likely to lead to a conversion and lowers + /// them for clicks where they seem less likely. EnhancedCpc = 2, - /// Used for return value only. Indicates that a campaign does not have a - /// bidding strategy. This prevents the campaign from serving. For example, - /// a campaign may be attached to a manager bidding strategy and the serving - /// account is subsequently unlinked from the manager account. In this case - /// the campaign will automatically be detached from the now inaccessible - /// manager bidding strategy and transition to the INVALID bidding strategy - /// type. + /// Used for return value only. Indicates that a campaign does not have a + /// bidding strategy. This prevents the campaign from serving. For example, + /// a campaign may be attached to a manager bidding strategy and the serving + /// account is subsequently unlinked from the manager account. In this case + /// the campaign will automatically be detached from the now inaccessible + /// manager bidding strategy and transition to the INVALID bidding strategy + /// type. Invalid = 17, - /// Manual bidding strategy that allows advertiser to set the bid per - /// advertiser-specified action. + /// Manual bidding strategy that allows advertiser to set the bid per + /// advertiser-specified action. ManualCpa = 18, - /// Manual click based bidding where user pays per click. + /// Manual click based bidding where user pays per click. ManualCpc = 3, - /// Manual impression based bidding - /// where user pays per thousand impressions. + /// Manual impression based bidding + /// where user pays per thousand impressions. ManualCpm = 4, - /// A bidding strategy that pays a configurable amount per video view. + /// A bidding strategy that pays a configurable amount per video view. ManualCpv = 13, - /// A bidding strategy that automatically maximizes number of conversions - /// given a daily budget. + /// A bidding strategy that automatically maximizes number of conversions + /// given a daily budget. MaximizeConversions = 10, - /// An automated bidding strategy that automatically sets bids to maximize - /// revenue while spending your budget. + /// An automated bidding strategy that automatically sets bids to maximize + /// revenue while spending your budget. MaximizeConversionValue = 11, - /// Page-One Promoted bidding scheme, which sets max cpc bids to - /// target impressions on page one or page one promoted slots on google.com. - /// This enum value is deprecated. + /// Page-One Promoted bidding scheme, which sets max cpc bids to + /// target impressions on page one or page one promoted slots on google.com. + /// This enum value is deprecated. PageOnePromoted = 5, - /// Percent Cpc is bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Percent Cpc is bidding strategy where bids are a fraction of the + /// advertised price for some good or service. PercentCpc = 12, - /// Target CPA is an automated bid strategy that sets bids - /// to help get as many conversions as possible - /// at the target cost-per-acquisition (CPA) you set. + /// Target CPA is an automated bid strategy that sets bids + /// to help get as many conversions as possible + /// at the target cost-per-acquisition (CPA) you set. TargetCpa = 6, - /// Target CPM is an automated bid strategy that sets bids to help get - /// as many impressions as possible at the target cost per one thousand - /// impressions (CPM) you set. + /// Target CPM is an automated bid strategy that sets bids to help get + /// as many impressions as possible at the target cost per one thousand + /// impressions (CPM) you set. TargetCpm = 14, - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). TargetImpressionShare = 15, - /// Target Outrank Share is an automated bidding strategy that sets bids - /// based on the target fraction of auctions where the advertiser - /// should outrank a specific competitor. - /// This enum value is deprecated. + /// Target Outrank Share is an automated bidding strategy that sets bids + /// based on the target fraction of auctions where the advertiser + /// should outrank a specific competitor. + /// This enum value is deprecated. TargetOutrankShare = 7, - /// Target ROAS is an automated bidding strategy - /// that helps you maximize revenue while averaging - /// a specific target Return On Average Spend (ROAS). + /// Target ROAS is an automated bidding strategy + /// that helps you maximize revenue while averaging + /// a specific target Return On Average Spend (ROAS). TargetRoas = 8, - /// Target Spend is an automated bid strategy that sets your bids - /// to help get as many clicks as possible within your budget. + /// Target Spend is an automated bid strategy that sets your bids + /// to help get as many clicks as possible within your budget. TargetSpend = 9, } impl BiddingStrategyType { @@ -8068,31 +8068,31 @@ pub mod bidding_strategy_type_enum { } } } -// Proto file describing BillingSetup statuses. +// Proto file describing BillingSetup statuses. -/// Message describing BillingSetup statuses. +/// Message describing BillingSetup statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupStatusEnum { } /// Nested message and enum types in `BillingSetupStatusEnum`. pub mod billing_setup_status_enum { - /// The possible statuses of a BillingSetup. + /// The possible statuses of a BillingSetup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The billing setup is pending approval. + /// The billing setup is pending approval. Pending = 2, - /// The billing setup has been approved but the corresponding first budget - /// has not. This can only occur for billing setups configured for monthly - /// invoicing. + /// The billing setup has been approved but the corresponding first budget + /// has not. This can only occur for billing setups configured for monthly + /// invoicing. ApprovedHeld = 3, - /// The billing setup has been approved. + /// The billing setup has been approved. Approved = 4, - /// The billing setup was cancelled by the user prior to approval. + /// The billing setup was cancelled by the user prior to approval. Cancelled = 5, } impl BillingSetupStatus { @@ -8112,47 +8112,47 @@ pub mod billing_setup_status_enum { } } } -// Proto file describing brand safety suitability settings. +// Proto file describing brand safety suitability settings. -/// Container for enum with 3-Tier brand safety suitability control. +/// Container for enum with 3-Tier brand safety suitability control. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BrandSafetySuitabilityEnum { } /// Nested message and enum types in `BrandSafetySuitabilityEnum`. pub mod brand_safety_suitability_enum { - /// 3-Tier brand safety suitability control. + /// 3-Tier brand safety suitability control. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BrandSafetySuitability { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This option lets you show ads across all inventory on YouTube and video - /// partners that meet our standards for monetization. This option may be an - /// appropriate choice for brands that want maximum access to the full - /// breadth of videos eligible for ads, including, for example, videos that - /// have strong profanity in the context of comedy or a documentary, or - /// excessive violence as featured in video games. + /// This option lets you show ads across all inventory on YouTube and video + /// partners that meet our standards for monetization. This option may be an + /// appropriate choice for brands that want maximum access to the full + /// breadth of videos eligible for ads, including, for example, videos that + /// have strong profanity in the context of comedy or a documentary, or + /// excessive violence as featured in video games. ExpandedInventory = 2, - /// This option lets you show ads across a wide range of content that's - /// appropriate for most brands, such as popular music videos, documentaries, - /// and movie trailers. The content you can show ads on is based on YouTube's - /// advertiser-friendly content guidelines that take into account, for - /// example, the strength or frequency of profanity, or the appropriateness - /// of subject matter like sensitive events. Ads won't show, for example, on - /// content with repeated strong profanity, strong sexual content, or graphic - /// violence. + /// This option lets you show ads across a wide range of content that's + /// appropriate for most brands, such as popular music videos, documentaries, + /// and movie trailers. The content you can show ads on is based on YouTube's + /// advertiser-friendly content guidelines that take into account, for + /// example, the strength or frequency of profanity, or the appropriateness + /// of subject matter like sensitive events. Ads won't show, for example, on + /// content with repeated strong profanity, strong sexual content, or graphic + /// violence. StandardInventory = 3, - /// This option lets you show ads on a reduced range of content that's - /// appropriate for brands with particularly strict guidelines around - /// inappropriate language and sexual suggestiveness; above and beyond what - /// YouTube's advertiser-friendly content guidelines address. The videos - /// accessible in this sensitive category meet heightened requirements, - /// especially for inappropriate language and sexual suggestiveness. For - /// example, your ads will be excluded from showing on some of YouTube's most - /// popular music videos and other pop culture content across YouTube and - /// Google video partners. + /// This option lets you show ads on a reduced range of content that's + /// appropriate for brands with particularly strict guidelines around + /// inappropriate language and sexual suggestiveness; above and beyond what + /// YouTube's advertiser-friendly content guidelines address. The videos + /// accessible in this sensitive category meet heightened requirements, + /// especially for inappropriate language and sexual suggestiveness. For + /// example, your ads will be excluded from showing on some of YouTube's most + /// popular music videos and other pop culture content across YouTube and + /// Google video partners. LimitedInventory = 4, } impl BrandSafetySuitability { @@ -8171,28 +8171,28 @@ pub mod brand_safety_suitability_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget delivery methods. A delivery method determines the -/// rate at which the Budget is spent. +/// Message describing Budget delivery methods. A delivery method determines the +/// rate at which the Budget is spent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetDeliveryMethodEnum { } /// Nested message and enum types in `BudgetDeliveryMethodEnum`. pub mod budget_delivery_method_enum { - /// Possible delivery methods of a Budget. + /// Possible delivery methods of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetDeliveryMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The budget server will throttle serving evenly across - /// the entire time period. + /// The budget server will throttle serving evenly across + /// the entire time period. Standard = 2, - /// The budget server will not throttle serving, - /// and ads will serve as fast as possible. + /// The budget server will not throttle serving, + /// and ads will serve as fast as possible. Accelerated = 3, } impl BudgetDeliveryMethod { @@ -8210,28 +8210,28 @@ pub mod budget_delivery_method_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget period. +/// Message describing Budget period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetPeriodEnum { } /// Nested message and enum types in `BudgetPeriodEnum`. pub mod budget_period_enum { - /// Possible period of a Budget. + /// Possible period of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetPeriod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Daily budget. + /// Daily budget. Daily = 2, - /// Custom budget, added back in V5. - /// Custom bugdet can be used with total_amount to specify lifetime budget - /// limit. See: for more - /// info. + /// Custom budget, added back in V5. + /// Custom bugdet can be used with total_amount to specify lifetime budget + /// limit. See: for more + /// info. CustomPeriod = 5, } impl BudgetPeriod { @@ -8249,25 +8249,25 @@ pub mod budget_period_enum { } } } -// Proto file describing Budget statuses +// Proto file describing Budget statuses -/// Message describing a Budget status +/// Message describing a Budget status #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetStatusEnum { } /// Nested message and enum types in `BudgetStatusEnum`. pub mod budget_status_enum { - /// Possible statuses of a Budget. + /// Possible statuses of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget is enabled. + /// Budget is enabled. Enabled = 2, - /// Budget is removed. + /// Budget is removed. Removed = 3, } impl BudgetStatus { @@ -8285,46 +8285,46 @@ pub mod budget_status_enum { } } } -// Proto file describing Budget types. +// Proto file describing Budget types. -/// Describes Budget types. +/// Describes Budget types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetTypeEnum { } /// Nested message and enum types in `BudgetTypeEnum`. pub mod budget_type_enum { - /// Possible Budget types. + /// Possible Budget types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget type for standard Google Ads usage. - /// Caps daily spend at two times the specified budget amount. - /// Full details: + /// Budget type for standard Google Ads usage. + /// Caps daily spend at two times the specified budget amount. + /// Full details: Standard = 2, - /// Budget type with a fixed cost-per-acquisition (conversion). - /// Full details: + /// Budget type with a fixed cost-per-acquisition (conversion). + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), - /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), + /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. FixedCpa = 4, - /// Budget type for Smart Campaign. - /// Full details: + /// Budget type for Smart Campaign. + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.SMART and - /// AdvertisingChannelSubType.SMART_CAMPAIGN. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.SMART and + /// AdvertisingChannelSubType.SMART_CAMPAIGN. SmartCampaign = 5, - /// Budget type for Local Services Campaign. - /// Full details: + /// Budget type for Local Services Campaign. + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.LOCAL_SERVICES. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.LOCAL_SERVICES. LocalServices = 6, } impl BudgetType { @@ -8344,38 +8344,38 @@ pub mod budget_type_enum { } } } -// Proto file describing Call placeholder fields. +// Proto file describing Call placeholder fields. -/// Values for Call placeholder fields. +/// Values for Call placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallPlaceholderFieldEnum { } /// Nested message and enum types in `CallPlaceholderFieldEnum`. pub mod call_placeholder_field_enum { - /// Possible values for Call placeholder fields. + /// Possible values for Call placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The advertiser's phone number to append to the ad. + /// Data Type: STRING. The advertiser's phone number to append to the ad. PhoneNumber = 2, - /// Data Type: STRING. Uppercase two-letter country code of the advertiser's - /// phone number. + /// Data Type: STRING. Uppercase two-letter country code of the advertiser's + /// phone number. CountryCode = 3, - /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - /// true. + /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: + /// true. Tracked = 4, - /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This - /// object contains the phoneCallDurationfield which is the minimum duration - /// (in seconds) of a call to be considered a conversion. + /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This + /// object contains the phoneCallDurationfield which is the minimum duration + /// (in seconds) of a call to be considered a conversion. ConversionTypeId = 5, - /// Data Type: STRING. Indicates whether this call extension uses its own - /// call conversion setting or follows the account level setting. - /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// Data Type: STRING. Indicates whether this call extension uses its own + /// call conversion setting or follows the account level setting. + /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. ConversionReportingState = 6, } impl CallPlaceholderField { @@ -8396,25 +8396,25 @@ pub mod call_placeholder_field_enum { } } } -// Proto file describing call tracking display location. +// Proto file describing call tracking display location. -/// Container for enum describing possible call tracking display locations. +/// Container for enum describing possible call tracking display locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTrackingDisplayLocationEnum { } /// Nested message and enum types in `CallTrackingDisplayLocationEnum`. pub mod call_tracking_display_location_enum { - /// Possible call tracking display locations. + /// Possible call tracking display locations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallTrackingDisplayLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call placed from the ad. + /// The phone call placed from the ad. Ad = 2, - /// The phone call placed from the landing page ad points to. + /// The phone call placed from the landing page ad points to. LandingPage = 3, } impl CallTrackingDisplayLocation { @@ -8432,26 +8432,26 @@ pub mod call_tracking_display_location_enum { } } } -// Proto file describing call types. +// Proto file describing call types. -/// Container for enum describing possible types of property from where the call -/// was made. +/// Container for enum describing possible types of property from where the call +/// was made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTypeEnum { } /// Nested message and enum types in `CallTypeEnum`. pub mod call_type_enum { - /// Possible types of property from where the call was made. + /// Possible types of property from where the call was made. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call was manually dialed. + /// The phone call was manually dialed. ManuallyDialed = 2, - /// The phone call was a mobile click-to-call. + /// The phone call was a mobile click-to-call. HighEndMobileSearch = 3, } impl CallType { @@ -8469,23 +8469,23 @@ pub mod call_type_enum { } } } -// Proto file describing Callout placeholder fields. +// Proto file describing Callout placeholder fields. -/// Values for Callout placeholder fields. +/// Values for Callout placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutPlaceholderFieldEnum { } /// Nested message and enum types in `CalloutPlaceholderFieldEnum`. pub mod callout_placeholder_field_enum { - /// Possible values for Callout placeholder fields. + /// Possible values for Callout placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CalloutPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Callout text. + /// Data Type: STRING. Callout text. CalloutText = 2, } impl CalloutPlaceholderField { @@ -8502,29 +8502,29 @@ pub mod callout_placeholder_field_enum { } } } -// Proto file describing CampaignCriterion statuses. +// Proto file describing CampaignCriterion statuses. -/// Message describing CampaignCriterion statuses. +/// Message describing CampaignCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionStatusEnum { } /// Nested message and enum types in `CampaignCriterionStatusEnum`. pub mod campaign_criterion_status_enum { - /// The possible statuses of a CampaignCriterion. + /// The possible statuses of a CampaignCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The campaign criterion is enabled. + /// The campaign criterion is enabled. Enabled = 2, - /// The campaign criterion is paused. + /// The campaign criterion is paused. Paused = 3, - /// The campaign criterion is removed. + /// The campaign criterion is removed. Removed = 4, } impl CampaignCriterionStatus { @@ -8543,37 +8543,37 @@ pub mod campaign_criterion_status_enum { } } } -// Proto file describing campaign draft status. +// Proto file describing campaign draft status. -/// Container for enum describing possible statuses of a campaign draft. +/// Container for enum describing possible statuses of a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftStatusEnum { } /// Nested message and enum types in `CampaignDraftStatusEnum`. pub mod campaign_draft_status_enum { - /// Possible statuses of a campaign draft. + /// Possible statuses of a campaign draft. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Initial state of the draft, the advertiser can start adding changes with - /// no effect on serving. + /// Initial state of the draft, the advertiser can start adding changes with + /// no effect on serving. Proposed = 2, - /// The campaign draft is removed. + /// The campaign draft is removed. Removed = 3, - /// Advertiser requested to promote draft's changes back into the original - /// campaign. Advertiser can poll the long running operation returned by - /// the promote action to see the status of the promotion. + /// Advertiser requested to promote draft's changes back into the original + /// campaign. Advertiser can poll the long running operation returned by + /// the promote action to see the status of the promotion. Promoting = 5, - /// The process to merge changes in the draft back to the original campaign - /// has completed successfully. + /// The process to merge changes in the draft back to the original campaign + /// has completed successfully. Promoted = 4, - /// The promotion failed after it was partially applied. Promote cannot be - /// attempted again safely, so the issue must be corrected in the original - /// campaign. + /// The promotion failed after it was partially applied. Promote cannot be + /// attempted again safely, so the issue must be corrected in the original + /// campaign. PromoteFailed = 6, } impl CampaignDraftStatus { @@ -8594,45 +8594,45 @@ pub mod campaign_draft_status_enum { } } } -// Proto file describing campaign experiment status. +// Proto file describing campaign experiment status. -/// Container for enum describing possible statuses of a campaign experiment. +/// Container for enum describing possible statuses of a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentStatusEnum { } /// Nested message and enum types in `CampaignExperimentStatusEnum`. pub mod campaign_experiment_status_enum { - /// Possible statuses of a campaign experiment. + /// Possible statuses of a campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The experiment campaign is being initialized. + /// The experiment campaign is being initialized. Initializing = 2, - /// Initialization of the experiment campaign failed. + /// Initialization of the experiment campaign failed. InitializationFailed = 8, - /// The experiment campaign is fully initialized. The experiment is currently - /// running, scheduled to run in the future or has ended based on its - /// end date. An experiment with the status INITIALIZING will be updated to - /// ENABLED when it is fully created. + /// The experiment campaign is fully initialized. The experiment is currently + /// running, scheduled to run in the future or has ended based on its + /// end date. An experiment with the status INITIALIZING will be updated to + /// ENABLED when it is fully created. Enabled = 3, - /// The experiment campaign was graduated to a stand-alone - /// campaign, existing independently of the experiment. + /// The experiment campaign was graduated to a stand-alone + /// campaign, existing independently of the experiment. Graduated = 4, - /// The experiment is removed. + /// The experiment is removed. Removed = 5, - /// The experiment's changes are being applied to the original campaign. - /// The long running operation returned by the promote method can be polled - /// to see the status of the promotion. + /// The experiment's changes are being applied to the original campaign. + /// The long running operation returned by the promote method can be polled + /// to see the status of the promotion. Promoting = 6, - /// Promote of the experiment campaign failed. + /// Promote of the experiment campaign failed. PromotionFailed = 9, - /// The changes of the experiment are promoted to their original campaign. + /// The changes of the experiment are promoted to their original campaign. Promoted = 7, - /// The experiment was ended manually. It did not end based on its end date. + /// The experiment was ended manually. It did not end based on its end date. EndedManually = 10, } impl CampaignExperimentStatus { @@ -8657,28 +8657,28 @@ pub mod campaign_experiment_status_enum { } } } -// Proto file describing campaign experiment traffic split type. +// Proto file describing campaign experiment traffic split type. -/// Container for enum describing campaign experiment traffic split type. +/// Container for enum describing campaign experiment traffic split type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTrafficSplitTypeEnum { } /// Nested message and enum types in `CampaignExperimentTrafficSplitTypeEnum`. pub mod campaign_experiment_traffic_split_type_enum { - /// Enum of strategies for splitting traffic between base and experiment - /// campaigns in campaign experiment. + /// Enum of strategies for splitting traffic between base and experiment + /// campaigns in campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentTrafficSplitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Traffic is randomly assigned to the base or experiment arm for each - /// query, independent of previous assignments for the same user. + /// Traffic is randomly assigned to the base or experiment arm for each + /// query, independent of previous assignments for the same user. RandomQuery = 2, - /// Traffic is split using cookies to keep users in the same arm (base or - /// experiment) of the experiment. + /// Traffic is split using cookies to keep users in the same arm (base or + /// experiment) of the experiment. Cookie = 3, } impl CampaignExperimentTrafficSplitType { @@ -8696,33 +8696,33 @@ pub mod campaign_experiment_traffic_split_type_enum { } } } -// Proto file describing campaign experiment type. +// Proto file describing campaign experiment type. -/// Container for enum describing campaign experiment type. +/// Container for enum describing campaign experiment type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTypeEnum { } /// Nested message and enum types in `CampaignExperimentTypeEnum`. pub mod campaign_experiment_type_enum { - /// Indicates if this campaign is a normal campaign, - /// a draft campaign, or an experiment campaign. + /// Indicates if this campaign is a normal campaign, + /// a draft campaign, or an experiment campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This is a regular campaign. + /// This is a regular campaign. Base = 2, - /// This is a draft version of a campaign. - /// It has some modifications from a base campaign, - /// but it does not serve or accrue metrics. + /// This is a draft version of a campaign. + /// It has some modifications from a base campaign, + /// but it does not serve or accrue metrics. Draft = 3, - /// This is an experiment version of a campaign. - /// It has some modifications from a base campaign, - /// and a percentage of traffic is being diverted - /// from the BASE campaign to this experiment campaign. + /// This is an experiment version of a campaign. + /// It has some modifications from a base campaign, + /// and a percentage of traffic is being diverted + /// from the BASE campaign to this experiment campaign. Experiment = 4, } impl CampaignExperimentType { @@ -8741,25 +8741,25 @@ pub mod campaign_experiment_type_enum { } } } -// Proto file describing CampaignGroup statuses. +// Proto file describing CampaignGroup statuses. -/// Message describing CampaignGroup statuses. +/// Message describing CampaignGroup statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroupStatusEnum { } /// Nested message and enum types in `CampaignGroupStatusEnum`. pub mod campaign_group_status_enum { - /// Possible statuses of a CampaignGroup. + /// Possible statuses of a CampaignGroup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignGroupStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign group is active. + /// The campaign group is active. Enabled = 2, - /// The campaign group has been removed. + /// The campaign group has been removed. Removed = 3, } impl CampaignGroupStatus { @@ -8777,33 +8777,33 @@ pub mod campaign_group_status_enum { } } } -// Proto file describing Campaign serving statuses. +// Proto file describing Campaign serving statuses. -/// Message describing Campaign serving statuses. +/// Message describing Campaign serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignServingStatusEnum { } /// Nested message and enum types in `CampaignServingStatusEnum`. pub mod campaign_serving_status_enum { - /// Possible serving statuses of a campaign. + /// Possible serving statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignServingStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Serving. + /// Serving. Serving = 2, - /// None. + /// None. None = 3, - /// Ended. + /// Ended. Ended = 4, - /// Pending. + /// Pending. Pending = 5, - /// Suspended. + /// Suspended. Suspended = 6, } impl CampaignServingStatus { @@ -8824,25 +8824,25 @@ pub mod campaign_serving_status_enum { } } } -// Proto file describing campaign shared set statuses. +// Proto file describing campaign shared set statuses. -/// Container for enum describing types of campaign shared set statuses. +/// Container for enum describing types of campaign shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetStatusEnum { } /// Nested message and enum types in `CampaignSharedSetStatusEnum`. pub mod campaign_shared_set_status_enum { - /// Enum listing the possible campaign shared set statuses. + /// Enum listing the possible campaign shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign shared set is enabled. + /// The campaign shared set is enabled. Enabled = 2, - /// The campaign shared set is removed and can no longer be used. + /// The campaign shared set is removed and can no longer be used. Removed = 3, } impl CampaignSharedSetStatus { @@ -8860,27 +8860,27 @@ pub mod campaign_shared_set_status_enum { } } } -// Proto file describing campaign status. +// Proto file describing campaign status. -/// Container for enum describing possible statuses of a campaign. +/// Container for enum describing possible statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignStatusEnum { } /// Nested message and enum types in `CampaignStatusEnum`. pub mod campaign_status_enum { - /// Possible statuses of a campaign. + /// Possible statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Campaign is currently serving ads depending on budget information. + /// Campaign is currently serving ads depending on budget information. Enabled = 2, - /// Campaign has been paused by the user. + /// Campaign has been paused by the user. Paused = 3, - /// Campaign has been removed. + /// Campaign has been removed. Removed = 4, } impl CampaignStatus { @@ -8899,52 +8899,52 @@ pub mod campaign_status_enum { } } } -// Proto file describing the sources that the change event resource was -// made through. +// Proto file describing the sources that the change event resource was +// made through. -/// Container for enum describing the sources that the change event resource -/// was made through. +/// Container for enum describing the sources that the change event resource +/// was made through. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeClientTypeEnum { } /// Nested message and enum types in `ChangeClientTypeEnum`. pub mod change_client_type_enum { - /// The source that the change_event resource was made through. + /// The source that the change_event resource was made through. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeClientType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified client type - /// unknown in this version. + /// Used for return value only. Represents an unclassified client type + /// unknown in this version. Unknown = 1, - /// Changes made through the "ads.google.com". - /// For example, changes made through campaign management. + /// Changes made through the "ads.google.com". + /// For example, changes made through campaign management. GoogleAdsWebClient = 2, - /// Changes made through Google Ads automated rules. + /// Changes made through Google Ads automated rules. GoogleAdsAutomatedRule = 3, - /// Changes made through Google Ads scripts. + /// Changes made through Google Ads scripts. GoogleAdsScripts = 4, - /// Changes made by Google Ads bulk upload. + /// Changes made by Google Ads bulk upload. GoogleAdsBulkUpload = 5, - /// Changes made by Google Ads API. + /// Changes made by Google Ads API. GoogleAdsApi = 6, - /// Changes made by Google Ads Editor. + /// Changes made by Google Ads Editor. GoogleAdsEditor = 7, - /// Changes made by Google Ads mobile app. + /// Changes made by Google Ads mobile app. GoogleAdsMobileApp = 8, - /// Changes made through Google Ads recommendations. + /// Changes made through Google Ads recommendations. GoogleAdsRecommendations = 9, - /// Changes made through Search Ads 360 Sync. + /// Changes made through Search Ads 360 Sync. SearchAds360Sync = 10, - /// Changes made through Search Ads 360 Post. + /// Changes made through Search Ads 360 Post. SearchAds360Post = 11, - /// Changes made through internal tools. - /// For example, when a user sets a URL template on an entity like a - /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. + /// Changes made through internal tools. + /// For example, when a user sets a URL template on an entity like a + /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. InternalTool = 12, - /// Types of changes that are not categorized, for example, - /// changes made by coupon redemption through Google Ads. + /// Types of changes that are not categorized, for example, + /// changes made by coupon redemption through Google Ads. Other = 13, } impl ChangeClientType { @@ -8972,61 +8972,61 @@ pub mod change_client_type_enum { } } } -// Proto file describing the resource types the ChangeEvent resource supports. +// Proto file describing the resource types the ChangeEvent resource supports. -/// Container for enum describing supported resource types for the ChangeEvent -/// resource. +/// Container for enum describing supported resource types for the ChangeEvent +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventResourceTypeEnum { } /// Nested message and enum types in `ChangeEventResourceTypeEnum`. pub mod change_event_resource_type_enum { - /// Enum listing the resource types support by the ChangeEvent resource. + /// Enum listing the resource types support by the ChangeEvent resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An Ad resource change. + /// An Ad resource change. Ad = 2, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 4, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 5, - /// A CampaignBudget resource change. + /// A CampaignBudget resource change. CampaignBudget = 6, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 7, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 8, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 11, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 12, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 13, - /// An Asset resource change. + /// An Asset resource change. Asset = 14, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 15, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 16, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 17, - /// An AssetSet resource change. + /// An AssetSet resource change. AssetSet = 18, - /// An AssetSetAsset resource change. + /// An AssetSetAsset resource change. AssetSetAsset = 19, - /// A CampaignAssetSet resource change. + /// A CampaignAssetSet resource change. CampaignAssetSet = 20, } impl ChangeEventResourceType { @@ -9061,28 +9061,28 @@ pub mod change_event_resource_type_enum { } } } -// Proto file describing the change status operations. +// Proto file describing the change status operations. -/// Container for enum describing operations for the ChangeStatus resource. +/// Container for enum describing operations for the ChangeStatus resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusOperationEnum { } /// Nested message and enum types in `ChangeStatusOperationEnum`. pub mod change_status_operation_enum { - /// Status of the changed resource + /// Status of the changed resource #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Added = 2, - /// The resource was modified. + /// The resource was modified. Changed = 3, - /// The resource was removed. + /// The resource was removed. Removed = 4, } impl ChangeStatusOperation { @@ -9101,55 +9101,55 @@ pub mod change_status_operation_enum { } } } -// Proto file describing the resource types the ChangeStatus resource supports. +// Proto file describing the resource types the ChangeStatus resource supports. -/// Container for enum describing supported resource types for the ChangeStatus -/// resource. +/// Container for enum describing supported resource types for the ChangeStatus +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusResourceTypeEnum { } /// Nested message and enum types in `ChangeStatusResourceTypeEnum`. pub mod change_status_resource_type_enum { - /// Enum listing the resource types support by the ChangeStatus resource. + /// Enum listing the resource types support by the ChangeStatus resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 4, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 5, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 6, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 7, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 11, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 12, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 13, - /// A SharedSet resource change. + /// A SharedSet resource change. SharedSet = 14, - /// A CampaignSharedSet resource change. + /// A CampaignSharedSet resource change. CampaignSharedSet = 15, - /// An Asset resource change. + /// An Asset resource change. Asset = 16, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 17, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 18, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 19, } impl ChangeStatusResourceType { @@ -9181,26 +9181,26 @@ pub mod change_status_resource_type_enum { } } } -// Proto file describing combined audience status. +// Proto file describing combined audience status. -/// The status of combined audience. +/// The status of combined audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceStatusEnum { } /// Nested message and enum types in `CombinedAudienceStatusEnum`. pub mod combined_audience_status_enum { - /// Enum containing possible combined audience status types. + /// Enum containing possible combined audience status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CombinedAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - combined audience is enabled and can be targeted. + /// Enabled status - combined audience is enabled and can be targeted. Enabled = 2, - /// Removed status - combined audience is removed and cannot be used for - /// targeting. + /// Removed status - combined audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CombinedAudienceStatus { @@ -9218,27 +9218,27 @@ pub mod combined_audience_status_enum { } } } -// Proto file describing conversion action counting type. +// Proto file describing conversion action counting type. -/// Container for enum describing the conversion deduplication mode for -/// conversion optimizer. +/// Container for enum describing the conversion deduplication mode for +/// conversion optimizer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCountingTypeEnum { } /// Nested message and enum types in `ConversionActionCountingTypeEnum`. pub mod conversion_action_counting_type_enum { - /// Indicates how conversions for this action will be counted. For more - /// information, see + /// Indicates how conversions for this action will be counted. For more + /// information, see #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCountingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Count only one conversion per click. + /// Count only one conversion per click. OnePerClick = 2, - /// Count all conversions per click. + /// Count all conversions per click. ManyPerClick = 3, } impl ConversionActionCountingType { @@ -9256,28 +9256,28 @@ pub mod conversion_action_counting_type_enum { } } } -// Proto file describing conversion action status. +// Proto file describing conversion action status. -/// Container for enum describing possible statuses of a conversion action. +/// Container for enum describing possible statuses of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionStatusEnum { } /// Nested message and enum types in `ConversionActionStatusEnum`. pub mod conversion_action_status_enum { - /// Possible statuses of a conversion action. + /// Possible statuses of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions will be recorded. + /// Conversions will be recorded. Enabled = 2, - /// Conversions will not be recorded. + /// Conversions will not be recorded. Removed = 3, - /// Conversions will not be recorded and the conversion action will not - /// appear in the UI. + /// Conversions will not be recorded and the conversion action will not + /// appear in the UI. Hidden = 4, } impl ConversionActionStatus { @@ -9296,117 +9296,117 @@ pub mod conversion_action_status_enum { } } } -// Proto file describing conversion action type. +// Proto file describing conversion action type. -/// Container for enum describing possible types of a conversion action. +/// Container for enum describing possible types of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionTypeEnum { } /// Nested message and enum types in `ConversionActionTypeEnum`. pub mod conversion_action_type_enum { - /// Possible types of a conversion action. + /// Possible types of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions that occur when a user clicks on an ad's call extension. + /// Conversions that occur when a user clicks on an ad's call extension. AdCall = 2, - /// Conversions that occur when a user on a mobile device clicks a phone - /// number. + /// Conversions that occur when a user on a mobile device clicks a phone + /// number. ClickToCall = 3, - /// Conversions that occur when a user downloads a mobile app from the Google - /// Play Store. + /// Conversions that occur when a user downloads a mobile app from the Google + /// Play Store. GooglePlayDownload = 4, - /// Conversions that occur when a user makes a purchase in an app through - /// Android billing. + /// Conversions that occur when a user makes a purchase in an app through + /// Android billing. GooglePlayInAppPurchase = 5, - /// Call conversions that are tracked by the advertiser and uploaded. + /// Call conversions that are tracked by the advertiser and uploaded. UploadCalls = 6, - /// Conversions that are tracked by the advertiser and uploaded with - /// attributed clicks. + /// Conversions that are tracked by the advertiser and uploaded with + /// attributed clicks. UploadClicks = 7, - /// Conversions that occur on a webpage. + /// Conversions that occur on a webpage. Webpage = 8, - /// Conversions that occur when a user calls a dynamically-generated phone - /// number from an advertiser's website. + /// Conversions that occur when a user calls a dynamically-generated phone + /// number from an advertiser's website. WebsiteCall = 9, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads. - /// Only customers on the allowlist can use store sales direct upload types. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads. + /// Only customers on the allowlist can use store sales direct upload types. StoreSalesDirectUpload = 10, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. - /// Only customers on the allowlist can use store sales types. - /// Read only. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. + /// Only customers on the allowlist can use store sales types. + /// Read only. StoreSales = 11, - /// Android app first open conversions tracked through Firebase. + /// Android app first open conversions tracked through Firebase. FirebaseAndroidFirstOpen = 12, - /// Android app in app purchase conversions tracked through Firebase. + /// Android app in app purchase conversions tracked through Firebase. FirebaseAndroidInAppPurchase = 13, - /// Android app custom conversions tracked through Firebase. + /// Android app custom conversions tracked through Firebase. FirebaseAndroidCustom = 14, - /// iOS app first open conversions tracked through Firebase. + /// iOS app first open conversions tracked through Firebase. FirebaseIosFirstOpen = 15, - /// iOS app in app purchase conversions tracked through Firebase. + /// iOS app in app purchase conversions tracked through Firebase. FirebaseIosInAppPurchase = 16, - /// iOS app custom conversions tracked through Firebase. + /// iOS app custom conversions tracked through Firebase. FirebaseIosCustom = 17, - /// Android app first open conversions tracked through Third Party App - /// Analytics. + /// Android app first open conversions tracked through Third Party App + /// Analytics. ThirdPartyAppAnalyticsAndroidFirstOpen = 18, - /// Android app in app purchase conversions tracked through Third Party App - /// Analytics. + /// Android app in app purchase conversions tracked through Third Party App + /// Analytics. ThirdPartyAppAnalyticsAndroidInAppPurchase = 19, - /// Android app custom conversions tracked through Third Party App Analytics. + /// Android app custom conversions tracked through Third Party App Analytics. ThirdPartyAppAnalyticsAndroidCustom = 20, - /// iOS app first open conversions tracked through Third Party App Analytics. + /// iOS app first open conversions tracked through Third Party App Analytics. ThirdPartyAppAnalyticsIosFirstOpen = 21, - /// iOS app in app purchase conversions tracked through Third Party App - /// Analytics. + /// iOS app in app purchase conversions tracked through Third Party App + /// Analytics. ThirdPartyAppAnalyticsIosInAppPurchase = 22, - /// iOS app custom conversions tracked through Third Party App Analytics. + /// iOS app custom conversions tracked through Third Party App Analytics. ThirdPartyAppAnalyticsIosCustom = 23, - /// Conversions that occur when a user pre-registers a mobile app from the - /// Google Play Store. Read only. + /// Conversions that occur when a user pre-registers a mobile app from the + /// Google Play Store. Read only. AndroidAppPreRegistration = 24, - /// Conversions that track all Google Play downloads which aren't tracked - /// by an app-specific type. Read only. + /// Conversions that track all Google Play downloads which aren't tracked + /// by an app-specific type. Read only. AndroidInstallsAllOtherApps = 25, - /// Floodlight activity that counts the number of times that users have - /// visited a particular webpage after seeing or clicking on one of - /// an advertiser's ads. Read only. + /// Floodlight activity that counts the number of times that users have + /// visited a particular webpage after seeing or clicking on one of + /// an advertiser's ads. Read only. FloodlightAction = 26, - /// Floodlight activity that tracks the number of sales made or the number - /// of items purchased. Can also capture the total value of each sale. - /// Read only. + /// Floodlight activity that tracks the number of sales made or the number + /// of items purchased. Can also capture the total value of each sale. + /// Read only. FloodlightTransaction = 27, - /// Conversions that track local actions from Google's products and - /// services after interacting with an ad. Read only. + /// Conversions that track local actions from Google's products and + /// services after interacting with an ad. Read only. GoogleHosted = 28, - /// Conversions reported when a user submits a lead form. Read only. + /// Conversions reported when a user submits a lead form. Read only. LeadFormSubmit = 29, - /// Conversions that come from Salesforce. Read only. + /// Conversions that come from Salesforce. Read only. Salesforce = 30, - /// Conversions imported from Search Ads 360 Floodlight data. Read only. + /// Conversions imported from Search Ads 360 Floodlight data. Read only. SearchAds360 = 31, - /// Call conversions that occur on Smart campaign Ads without call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads without call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignAdClicksToCall = 32, - /// The user clicks on a call element within Google Maps. Smart campaign - /// only. Read only. + /// The user clicks on a call element within Google Maps. Smart campaign + /// only. Read only. SmartCampaignMapClicksToCall = 33, - /// The user requests directions to a business location within Google Maps. - /// Smart campaign only. Read only. + /// The user requests directions to a business location within Google Maps. + /// Smart campaign only. Read only. SmartCampaignMapDirections = 34, - /// Call conversions that occur on Smart campaign Ads with call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads with call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignTrackedCalls = 35, - /// Conversions that occur when a user visits an advertiser's retail store. - /// Read only. + /// Conversions that occur when a user visits an advertiser's retail store. + /// Read only. StoreVisits = 36, } impl ConversionActionType { @@ -9457,30 +9457,30 @@ pub mod conversion_action_type_enum { } } } -// Proto file describing conversion adjustment type. +// Proto file describing conversion adjustment type. -/// Container for enum describing conversion adjustment types. +/// Container for enum describing conversion adjustment types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentTypeEnum { } /// Nested message and enum types in `ConversionAdjustmentTypeEnum`. pub mod conversion_adjustment_type_enum { - /// The different actions advertisers can take to adjust the conversions that - /// they already reported. Retractions negate a conversion. Restatements change - /// the value of a conversion. + /// The different actions advertisers can take to adjust the conversions that + /// they already reported. Retractions negate a conversion. Restatements change + /// the value of a conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Negates a conversion so that its total value and count are both zero. + /// Negates a conversion so that its total value and count are both zero. Retraction = 2, - /// Changes the value of a conversion. + /// Changes the value of a conversion. Restatement = 3, - /// Supplements an existing conversion with provided user identifiers and - /// user agent, which can be used by Google to enhance the conversion count. + /// Supplements an existing conversion with provided user identifiers and + /// user agent, which can be used by Google to enhance the conversion count. Enhancement = 4, } impl ConversionAdjustmentType { @@ -9499,32 +9499,32 @@ pub mod conversion_adjustment_type_enum { } } } -// Proto file describing conversion custom variable status. +// Proto file describing conversion custom variable status. -/// Container for enum describing possible statuses of a conversion custom -/// variable. +/// Container for enum describing possible statuses of a conversion custom +/// variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableStatusEnum { } /// Nested message and enum types in `ConversionCustomVariableStatusEnum`. pub mod conversion_custom_variable_status_enum { - /// Possible statuses of a conversion custom variable. + /// Possible statuses of a conversion custom variable. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The conversion custom variable is pending activation and will not - /// accrue stats until set to ENABLED. + /// The conversion custom variable is pending activation and will not + /// accrue stats until set to ENABLED. /// - /// This status can't be used in CREATE and UPDATE requests. + /// This status can't be used in CREATE and UPDATE requests. ActivationNeeded = 2, - /// The conversion custom variable is enabled and will accrue stats. + /// The conversion custom variable is enabled and will accrue stats. Enabled = 3, - /// The conversion custom variable is paused and will not accrue stats - /// until set to ENABLED again. + /// The conversion custom variable is paused and will not accrue stats + /// until set to ENABLED again. Paused = 4, } impl ConversionCustomVariableStatus { @@ -9543,24 +9543,24 @@ pub mod conversion_custom_variable_status_enum { } } } -/// Container for enum representing the conversion environment an uploaded -/// conversion was recorded on, for example, App or Web. +/// Container for enum representing the conversion environment an uploaded +/// conversion was recorded on, for example, App or Web. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionEnvironmentEnum { } /// Nested message and enum types in `ConversionEnvironmentEnum`. pub mod conversion_environment_enum { - /// Conversion environment of the uploaded conversion. + /// Conversion environment of the uploaded conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionEnvironment { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The conversion was recorded on an app. + /// The conversion was recorded on an app. App = 2, - /// The conversion was recorded on a website. + /// The conversion was recorded on a website. Web = 3, } impl ConversionEnvironment { @@ -9578,38 +9578,38 @@ pub mod conversion_environment_enum { } } } -// Proto file describing conversion origin. +// Proto file describing conversion origin. -/// Container for enum describing possible conversion origins. +/// Container for enum describing possible conversion origins. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOriginEnum { } /// Nested message and enum types in `ConversionOriginEnum`. pub mod conversion_origin_enum { - /// The possible places where a conversion can occur. + /// The possible places where a conversion can occur. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrigin { - /// The conversion origin has not been specified. + /// The conversion origin has not been specified. Unspecified = 0, - /// The conversion origin is not known in this version. + /// The conversion origin is not known in this version. Unknown = 1, - /// Conversion that occurs when a user visits a website or takes an action - /// there after viewing an ad. + /// Conversion that occurs when a user visits a website or takes an action + /// there after viewing an ad. Website = 2, - /// Conversions reported by an offline pipeline which collects local actions - /// from Google-hosted pages (for example, Google Maps, Google Place Page, - /// etc) and attributes them to relevant ad events. + /// Conversions reported by an offline pipeline which collects local actions + /// from Google-hosted pages (for example, Google Maps, Google Place Page, + /// etc) and attributes them to relevant ad events. GoogleHosted = 3, - /// Conversion that occurs when a user performs an action through any app - /// platforms. + /// Conversion that occurs when a user performs an action through any app + /// platforms. App = 4, - /// Conversion that occurs when a user makes a call from ads. + /// Conversion that occurs when a user makes a call from ads. CallFromAds = 5, - /// Conversion that occurs when a user visits or makes a purchase at a - /// physical store. + /// Conversion that occurs when a user visits or makes a purchase at a + /// physical store. Store = 6, - /// Conversion that occurs on YouTube. + /// Conversion that occurs on YouTube. YoutubeHosted = 7, } impl ConversionOrigin { @@ -9631,31 +9631,31 @@ pub mod conversion_origin_enum { } } } -/// Container for enum representing the conversion tracking status of the -/// customer. +/// Container for enum representing the conversion tracking status of the +/// customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionTrackingStatusEnum { } /// Nested message and enum types in `ConversionTrackingStatusEnum`. pub mod conversion_tracking_status_enum { - /// Conversion Tracking status of the customer. + /// Conversion Tracking status of the customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionTrackingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Customer does not use any conversion tracking. + /// Customer does not use any conversion tracking. NotConversionTracked = 2, - /// The conversion actions are created and managed by this customer. + /// The conversion actions are created and managed by this customer. ConversionTrackingManagedBySelf = 3, - /// The conversion actions are created and managed by the manager specified - /// in the request's `login-customer-id`. + /// The conversion actions are created and managed by the manager specified + /// in the request's `login-customer-id`. ConversionTrackingManagedByThisManager = 4, - /// The conversion actions are created and managed by a manager different - /// from the customer or manager specified in the request's - /// `login-customer-id`. + /// The conversion actions are created and managed by a manager different + /// from the customer or manager specified in the request's + /// `login-customer-id`. ConversionTrackingManagedByAnotherManager = 5, } impl ConversionTrackingStatus { @@ -9675,29 +9675,29 @@ pub mod conversion_tracking_status_enum { } } } -// Proto file describing conversion value rule set status. +// Proto file describing conversion value rule set status. -/// Container for enum describing possible statuses of a conversion value rule -/// set. +/// Container for enum describing possible statuses of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetStatusEnum { } /// Nested message and enum types in `ConversionValueRuleSetStatusEnum`. pub mod conversion_value_rule_set_status_enum { - /// Possible statuses of a conversion value rule set. + /// Possible statuses of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule Set is enabled and can be applied. + /// Conversion Value Rule Set is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule Set is permanently deleted and can't be applied. + /// Conversion Value Rule Set is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule Set is paused and won't be applied. It can be - /// enabled again. + /// Conversion Value Rule Set is paused and won't be applied. It can be + /// enabled again. Paused = 4, } impl ConversionValueRuleSetStatus { @@ -9716,27 +9716,27 @@ pub mod conversion_value_rule_set_status_enum { } } } -// Proto file describing conversion value rule status. +// Proto file describing conversion value rule status. -/// Container for enum describing possible statuses of a conversion value rule. +/// Container for enum describing possible statuses of a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleStatusEnum { } /// Nested message and enum types in `ConversionValueRuleStatusEnum`. pub mod conversion_value_rule_status_enum { - /// Possible statuses of a conversion value rule. + /// Possible statuses of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule is enabled and can be applied. + /// Conversion Value Rule is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule is permanently deleted and can't be applied. + /// Conversion Value Rule is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule is paused, but can be re-enabled. + /// Conversion Value Rule is paused, but can be re-enabled. Paused = 4, } impl ConversionValueRuleStatus { @@ -9755,25 +9755,25 @@ pub mod conversion_value_rule_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible criterion system serving statuses. +/// Container for enum describing possible criterion system serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionSystemServingStatusEnum { } /// Nested message and enum types in `CriterionSystemServingStatusEnum`. pub mod criterion_system_serving_status_enum { - /// Enumerates criterion system serving statuses. + /// Enumerates criterion system serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionSystemServingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Eligible. + /// Eligible. Eligible = 2, - /// Low search volume. + /// Low search volume. RarelyServed = 3, } impl CriterionSystemServingStatus { @@ -9791,89 +9791,89 @@ pub mod criterion_system_serving_status_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The possible types of a criterion. +/// The possible types of a criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionTypeEnum { } /// Nested message and enum types in `CriterionTypeEnum`. pub mod criterion_type_enum { - /// Enum describing possible criterion types. + /// Enum describing possible criterion types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword, for example, 'mars cruise'. + /// Keyword, for example, 'mars cruise'. Keyword = 2, - /// Placement, also known as Website, for example, 'www.flowers4sale.com' + /// Placement, also known as Website, for example, 'www.flowers4sale.com' Placement = 3, - /// Mobile application categories to target. + /// Mobile application categories to target. MobileAppCategory = 4, - /// Mobile applications to target. + /// Mobile applications to target. MobileApplication = 5, - /// Devices to target. + /// Devices to target. Device = 6, - /// Locations to target. + /// Locations to target. Location = 7, - /// Listing groups to target. + /// Listing groups to target. ListingGroup = 8, - /// Ad Schedule. + /// Ad Schedule. AdSchedule = 9, - /// Age range. + /// Age range. AgeRange = 10, - /// Gender. + /// Gender. Gender = 11, - /// Income Range. + /// Income Range. IncomeRange = 12, - /// Parental status. + /// Parental status. ParentalStatus = 13, - /// YouTube Video. + /// YouTube Video. YoutubeVideo = 14, - /// YouTube Channel. + /// YouTube Channel. YoutubeChannel = 15, - /// User list. + /// User list. UserList = 16, - /// Proximity. + /// Proximity. Proximity = 17, - /// A topic target on the display network (for example, "Pets & Animals"). + /// A topic target on the display network (for example, "Pets & Animals"). Topic = 18, - /// Listing scope to target. + /// Listing scope to target. ListingScope = 19, - /// Language. + /// Language. Language = 20, - /// IpBlock. + /// IpBlock. IpBlock = 21, - /// Content Label for category exclusion. + /// Content Label for category exclusion. ContentLabel = 22, - /// Carrier. + /// Carrier. Carrier = 23, - /// A category the user is interested in. + /// A category the user is interested in. UserInterest = 24, - /// Webpage criterion for dynamic search ads. + /// Webpage criterion for dynamic search ads. Webpage = 25, - /// Operating system version. + /// Operating system version. OperatingSystemVersion = 26, - /// App payment model. + /// App payment model. AppPaymentModel = 27, - /// Mobile device. + /// Mobile device. MobileDevice = 28, - /// Custom affinity. + /// Custom affinity. CustomAffinity = 29, - /// Custom intent. + /// Custom intent. CustomIntent = 30, - /// Location group. + /// Location group. LocationGroup = 31, - /// Custom audience + /// Custom audience CustomAudience = 32, - /// Combined audience + /// Combined audience CombinedAudience = 33, - /// Smart Campaign keyword theme + /// Smart Campaign keyword theme KeywordTheme = 34, - /// Audience + /// Audience Audience = 35, } impl CriterionType { @@ -9923,29 +9923,29 @@ pub mod criterion_type_enum { } } } -// Proto file describing custom audience member type. +// Proto file describing custom audience member type. -/// The type of custom audience member. +/// The type of custom audience member. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMemberTypeEnum { } /// Nested message and enum types in `CustomAudienceMemberTypeEnum`. pub mod custom_audience_member_type_enum { - /// Enum containing possible custom audience member types. + /// Enum containing possible custom audience member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Users whose interests or actions are described by a keyword. + /// Users whose interests or actions are described by a keyword. Keyword = 2, - /// Users who have interests related to the website's content. + /// Users who have interests related to the website's content. Url = 3, - /// Users who visit place types described by a place category. + /// Users who visit place types described by a place category. PlaceCategory = 4, - /// Users who have installed a mobile app. + /// Users who have installed a mobile app. App = 5, } impl CustomAudienceMemberType { @@ -9965,26 +9965,26 @@ pub mod custom_audience_member_type_enum { } } } -// Proto file describing custom audience status. +// Proto file describing custom audience status. -/// The status of custom audience. +/// The status of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceStatusEnum { } /// Nested message and enum types in `CustomAudienceStatusEnum`. pub mod custom_audience_status_enum { - /// Enum containing possible custom audience statuses. + /// Enum containing possible custom audience statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom audience is enabled and can be targeted. + /// Enabled status - custom audience is enabled and can be targeted. Enabled = 2, - /// Removed status - custom audience is removed and cannot be used for - /// targeting. + /// Removed status - custom audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomAudienceStatus { @@ -10002,31 +10002,31 @@ pub mod custom_audience_status_enum { } } } -// Proto file describing custom audience type. +// Proto file describing custom audience type. -/// The types of custom audience. +/// The types of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceTypeEnum { } /// Nested message and enum types in `CustomAudienceTypeEnum`. pub mod custom_audience_type_enum { - /// Enum containing possible custom audience types. + /// Enum containing possible custom audience types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Google Ads will auto-select the best interpretation at serving - /// time. + /// Google Ads will auto-select the best interpretation at serving + /// time. Auto = 2, - /// Matches users by their interests. + /// Matches users by their interests. Interest = 3, - /// Matches users by topics they are researching or products they are - /// considering for purchase. + /// Matches users by topics they are researching or products they are + /// considering for purchase. PurchaseIntent = 4, - /// Matches users by what they searched on Google Search. + /// Matches users by what they searched on Google Search. Search = 5, } impl CustomAudienceType { @@ -10046,25 +10046,25 @@ pub mod custom_audience_type_enum { } } } -// Proto file describing custom conversion goal status. +// Proto file describing custom conversion goal status. -/// Container for enum describing possible statuses of a custom conversion goal. +/// Container for enum describing possible statuses of a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalStatusEnum { } /// Nested message and enum types in `CustomConversionGoalStatusEnum`. pub mod custom_conversion_goal_status_enum { - /// The possible statuses of a custom conversion goal. + /// The possible statuses of a custom conversion goal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The custom conversion goal is enabled. + /// The custom conversion goal is enabled. Enabled = 2, - /// The custom conversion goal is removed. + /// The custom conversion goal is removed. Removed = 3, } impl CustomConversionGoalStatus { @@ -10082,25 +10082,25 @@ pub mod custom_conversion_goal_status_enum { } } } -// Proto file describing custom interest member type. +// Proto file describing custom interest member type. -/// The types of custom interest member, either KEYWORD or URL. +/// The types of custom interest member, either KEYWORD or URL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMemberTypeEnum { } /// Nested message and enum types in `CustomInterestMemberTypeEnum`. pub mod custom_interest_member_type_enum { - /// Enum containing possible custom interest member types. + /// Enum containing possible custom interest member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Custom interest member type KEYWORD. + /// Custom interest member type KEYWORD. Keyword = 2, - /// Custom interest member type URL. + /// Custom interest member type URL. Url = 3, } impl CustomInterestMemberType { @@ -10118,26 +10118,26 @@ pub mod custom_interest_member_type_enum { } } } -// Proto file describing custom interest status. +// Proto file describing custom interest status. -/// The status of custom interest. +/// The status of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestStatusEnum { } /// Nested message and enum types in `CustomInterestStatusEnum`. pub mod custom_interest_status_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom interest is enabled and can be targeted to. + /// Enabled status - custom interest is enabled and can be targeted to. Enabled = 2, - /// Removed status - custom interest is removed and cannot be used for - /// targeting. + /// Removed status - custom interest is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomInterestStatus { @@ -10155,25 +10155,25 @@ pub mod custom_interest_status_enum { } } } -// Proto file describing custom interest type. +// Proto file describing custom interest type. -/// The types of custom interest. +/// The types of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestTypeEnum { } /// Nested message and enum types in `CustomInterestTypeEnum`. pub mod custom_interest_type_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows brand advertisers to define custom affinity audience lists. + /// Allows brand advertisers to define custom affinity audience lists. CustomAffinity = 2, - /// Allows advertisers to define custom intent audience lists. + /// Allows advertisers to define custom intent audience lists. CustomIntent = 3, } impl CustomInterestType { @@ -10191,86 +10191,86 @@ pub mod custom_interest_type_enum { } } } -// Proto file describing Custom placeholder fields. +// Proto file describing Custom placeholder fields. -/// Values for Custom placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Custom placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPlaceholderFieldEnum { } /// Nested message and enum types in `CustomPlaceholderFieldEnum`. pub mod custom_placeholder_field_enum { - /// Possible values for Custom placeholder fields. + /// Possible values for Custom placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination ID and ID2 must be unique per - /// offer. + /// Data Type: STRING. Required. Combination ID and ID2 must be unique per + /// offer. Id = 2, - /// Data Type: STRING. Combination ID and ID2 must be unique per offer. + /// Data Type: STRING. Combination ID and ID2 must be unique per offer. Id2 = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. ItemTitle = 4, - /// Data Type: STRING. Optional text to be shown in the image ad. + /// Data Type: STRING. Optional text to be shown in the image ad. ItemSubtitle = 5, - /// Data Type: STRING. Optional description of the product to be shown in the - /// ad. + /// Data Type: STRING. Optional description of the product to be shown in the + /// ad. ItemDescription = 6, - /// Data Type: STRING. Full address of your offer or service, including - /// postal code. This will be used to identify the closest product to the - /// user when there are multiple offers in the feed that are relevant to the - /// user. + /// Data Type: STRING. Full address of your offer or service, including + /// postal code. This will be used to identify the closest product to the + /// user when there are multiple offers in the feed that are relevant to the + /// user. ItemAddress = 7, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 8, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 9, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 10, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 11, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 12, - /// Data Type: STRING. Used as a recommendation engine signal to serve items - /// in the same category. + /// Data Type: STRING. Used as a recommendation engine signal to serve items + /// in the same category. ItemCategory = 13, - /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific product for ads that have multiple - /// products. + /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific product for ads that have multiple + /// products. FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended IDs to show together with + /// this item. SimilarIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl CustomPlaceholderField { @@ -10306,38 +10306,38 @@ pub mod custom_placeholder_field_enum { } } } -// Proto file describing pay per conversion eligibility failure reasons. +// Proto file describing pay per conversion eligibility failure reasons. -/// Container for enum describing reasons why a customer is not eligible to use -/// PaymentMode.CONVERSIONS. +/// Container for enum describing reasons why a customer is not eligible to use +/// PaymentMode.CONVERSIONS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerPayPerConversionEligibilityFailureReasonEnum { } /// Nested message and enum types in `CustomerPayPerConversionEligibilityFailureReasonEnum`. pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { - /// Enum describing possible reasons a customer is not eligible to use - /// PaymentMode.CONVERSIONS. + /// Enum describing possible reasons a customer is not eligible to use + /// PaymentMode.CONVERSIONS. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerPayPerConversionEligibilityFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Customer does not have enough conversions. + /// Customer does not have enough conversions. NotEnoughConversions = 2, - /// Customer's conversion lag is too high. + /// Customer's conversion lag is too high. ConversionLagTooHigh = 3, - /// Customer uses shared budgets. + /// Customer uses shared budgets. HasCampaignWithSharedBudget = 4, - /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. + /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. HasUploadClicksConversion = 5, - /// Customer's average daily spend is too high. + /// Customer's average daily spend is too high. AverageDailySpendTooHigh = 6, - /// Customer's eligibility has not yet been calculated by the Google Ads - /// backend. Check back soon. + /// Customer's eligibility has not yet been calculated by the Google Ads + /// backend. Check back soon. AnalysisNotComplete = 7, - /// Customer is not eligible due to other reasons. + /// Customer is not eligible due to other reasons. Other = 8, } impl CustomerPayPerConversionEligibilityFailureReason { @@ -10360,31 +10360,31 @@ pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { } } } -/// Container for enum describing possible statuses of a customer. +/// Container for enum describing possible statuses of a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerStatusEnum { } /// Nested message and enum types in `CustomerStatusEnum`. pub mod customer_status_enum { - /// Possible statuses of a customer. + /// Possible statuses of a customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates an active account able to serve ads. + /// Indicates an active account able to serve ads. Enabled = 2, - /// Indicates a canceled account unable to serve ads. - /// Can be reactivated by an admin user. + /// Indicates a canceled account unable to serve ads. + /// Can be reactivated by an admin user. Canceled = 3, - /// Indicates a suspended account unable to serve ads. - /// May only be activated by Google support. + /// Indicates a suspended account unable to serve ads. + /// May only be activated by Google support. Suspended = 4, - /// Indicates a closed account unable to serve ads. - /// Test account will also have CLOSED status. - /// Status is permanent and may not be reopened. + /// Indicates a closed account unable to serve ads. + /// Test account will also have CLOSED status. + /// Status is permanent and may not be reopened. Closed = 5, } impl CustomerStatus { @@ -10404,25 +10404,25 @@ pub mod customer_status_enum { } } } -// Proto file describing customizer attribute status. +// Proto file describing customizer attribute status. -/// Container for enum describing possible statuses of a customizer attribute. +/// Container for enum describing possible statuses of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeStatusEnum { } /// Nested message and enum types in `CustomizerAttributeStatusEnum`. pub mod customizer_attribute_status_enum { - /// The possible statuses of a customizer attribute. + /// The possible statuses of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer attribute is enabled. + /// The customizer attribute is enabled. Enabled = 2, - /// The customizer attribute is removed. + /// The customizer attribute is removed. Removed = 3, } impl CustomizerAttributeStatus { @@ -10440,25 +10440,25 @@ pub mod customizer_attribute_status_enum { } } } -// Proto file describing customizer value status. +// Proto file describing customizer value status. -/// Container for enum describing possible statuses of a customizer value. +/// Container for enum describing possible statuses of a customizer value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValueStatusEnum { } /// Nested message and enum types in `CustomizerValueStatusEnum`. pub mod customizer_value_status_enum { - /// The possible statuses of a customizer value. + /// The possible statuses of a customizer value. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerValueStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer value is enabled. + /// The customizer value is enabled. Enabled = 2, - /// The customizer value is removed. + /// The customizer value is removed. Removed = 3, } impl CustomizerValueStatus { @@ -10476,35 +10476,35 @@ pub mod customizer_value_status_enum { } } } -// Proto file describing data-driven model status. +// Proto file describing data-driven model status. -/// Container for enum indicating data driven model status. +/// Container for enum indicating data driven model status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataDrivenModelStatusEnum { } /// Nested message and enum types in `DataDrivenModelStatusEnum`. pub mod data_driven_model_status_enum { - /// Enumerates data driven model statuses. + /// Enumerates data driven model statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataDrivenModelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The data driven model is available. + /// The data driven model is available. Available = 2, - /// The data driven model is stale. It hasn't been updated for at least 7 - /// days. It is still being used, but will become expired if it does not get - /// updated for 30 days. + /// The data driven model is stale. It hasn't been updated for at least 7 + /// days. It is still being used, but will become expired if it does not get + /// updated for 30 days. Stale = 3, - /// The data driven model expired. It hasn't been updated for at least 30 - /// days and cannot be used. Most commonly this is because there hasn't been - /// the required number of events in a recent 30-day period. + /// The data driven model expired. It hasn't been updated for at least 30 + /// days and cannot be used. Most commonly this is because there hasn't been + /// the required number of events in a recent 30-day period. Expired = 4, - /// The data driven model has never been generated. Most commonly this is - /// because there has never been the required number of events in any 30-day - /// period. + /// The data driven model has never been generated. Most commonly this is + /// because there has never been the required number of events in any 30-day + /// period. NeverGenerated = 5, } impl DataDrivenModelStatus { @@ -10524,77 +10524,77 @@ pub mod data_driven_model_status_enum { } } } -// Proto file describing distance buckets. +// Proto file describing distance buckets. -/// Container for distance buckets of a user's distance from an advertiser's -/// location extension. +/// Container for distance buckets of a user's distance from an advertiser's +/// location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceBucketEnum { } /// Nested message and enum types in `DistanceBucketEnum`. pub mod distance_bucket_enum { - /// The distance bucket for a user's distance from an advertiser's location - /// extension. + /// The distance bucket for a user's distance from an advertiser's location + /// extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistanceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User was within 700m of the location. + /// User was within 700m of the location. Within700m = 2, - /// User was within 1KM of the location. + /// User was within 1KM of the location. Within1km = 3, - /// User was within 5KM of the location. + /// User was within 5KM of the location. Within5km = 4, - /// User was within 10KM of the location. + /// User was within 10KM of the location. Within10km = 5, - /// User was within 15KM of the location. + /// User was within 15KM of the location. Within15km = 6, - /// User was within 20KM of the location. + /// User was within 20KM of the location. Within20km = 7, - /// User was within 25KM of the location. + /// User was within 25KM of the location. Within25km = 8, - /// User was within 30KM of the location. + /// User was within 30KM of the location. Within30km = 9, - /// User was within 35KM of the location. + /// User was within 35KM of the location. Within35km = 10, - /// User was within 40KM of the location. + /// User was within 40KM of the location. Within40km = 11, - /// User was within 45KM of the location. + /// User was within 45KM of the location. Within45km = 12, - /// User was within 50KM of the location. + /// User was within 50KM of the location. Within50km = 13, - /// User was within 55KM of the location. + /// User was within 55KM of the location. Within55km = 14, - /// User was within 60KM of the location. + /// User was within 60KM of the location. Within60km = 15, - /// User was within 65KM of the location. + /// User was within 65KM of the location. Within65km = 16, - /// User was beyond 65KM of the location. + /// User was beyond 65KM of the location. Beyond65km = 17, - /// User was within 0.7 miles of the location. + /// User was within 0.7 miles of the location. Within07miles = 18, - /// User was within 1 mile of the location. + /// User was within 1 mile of the location. Within1mile = 19, - /// User was within 5 miles of the location. + /// User was within 5 miles of the location. Within5miles = 20, - /// User was within 10 miles of the location. + /// User was within 10 miles of the location. Within10miles = 21, - /// User was within 15 miles of the location. + /// User was within 15 miles of the location. Within15miles = 22, - /// User was within 20 miles of the location. + /// User was within 20 miles of the location. Within20miles = 23, - /// User was within 25 miles of the location. + /// User was within 25 miles of the location. Within25miles = 24, - /// User was within 30 miles of the location. + /// User was within 30 miles of the location. Within30miles = 25, - /// User was within 35 miles of the location. + /// User was within 35 miles of the location. Within35miles = 26, - /// User was within 40 miles of the location. + /// User was within 40 miles of the location. Within40miles = 27, - /// User was beyond 40 miles of the location. + /// User was beyond 40 miles of the location. Beyond40miles = 28, } impl DistanceBucket { @@ -10637,26 +10637,26 @@ pub mod distance_bucket_enum { } } } -// Proto file describing Dynamic Search Ad Page Feed criterion fields. +// Proto file describing Dynamic Search Ad Page Feed criterion fields. -/// Values for Dynamic Search Ad Page Feed criterion fields. +/// Values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DsaPageFeedCriterionFieldEnum { } /// Nested message and enum types in `DsaPageFeedCriterionFieldEnum`. pub mod dsa_page_feed_criterion_field_enum { - /// Possible values for Dynamic Search Ad Page Feed criterion fields. + /// Possible values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DsaPageFeedCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: URL or URL_LIST. URL of the web page you want to target. + /// Data Type: URL or URL_LIST. URL of the web page you want to target. PageUrl = 2, - /// Data Type: STRING_LIST. The labels that will help you target ads within - /// your page feed. + /// Data Type: STRING_LIST. The labels that will help you target ads within + /// your page feed. Label = 3, } impl DsaPageFeedCriterionField { @@ -10674,71 +10674,71 @@ pub mod dsa_page_feed_criterion_field_enum { } } } -// Proto file describing Education placeholder fields. +// Proto file describing Education placeholder fields. -/// Values for Education placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Education placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct EducationPlaceholderFieldEnum { } /// Nested message and enum types in `EducationPlaceholderFieldEnum`. pub mod education_placeholder_field_enum { - /// Possible values for Education placeholder fields. + /// Possible values for Education placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EducationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - /// must be unique per offer. + /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID + /// must be unique per offer. ProgramId = 2, - /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - /// unique per offer. + /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be + /// unique per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with program name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with program name to be shown + /// in dynamic ad. ProgramName = 4, - /// Data Type: STRING. Area of study that can be shown in dynamic ad. + /// Data Type: STRING. Area of study that can be shown in dynamic ad. AreaOfStudy = 5, - /// Data Type: STRING. Description of program that can be shown in dynamic - /// ad. + /// Data Type: STRING. Description of program that can be shown in dynamic + /// ad. ProgramDescription = 6, - /// Data Type: STRING. Name of school that can be shown in dynamic ad. + /// Data Type: STRING. Name of school that can be shown in dynamic ad. SchoolName = 7, - /// Data Type: STRING. Complete school address, including postal code. + /// Data Type: STRING. Complete school address, including postal code. Address = 8, - /// Data Type: URL. Image to be displayed in ads. + /// Data Type: URL. Image to be displayed in ads. ThumbnailImageUrl = 9, - /// Data Type: URL. Alternative hosted file of image to be used in the ad. + /// Data Type: URL. Alternative hosted file of image to be used in the ad. AlternativeThumbnailImageUrl = 10, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (for example, the individual - /// URL of a specific program and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (for example, the individual + /// URL of a specific program and its location). FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended program IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended program IDs to show together + /// with this item. SimilarProgramIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl EducationPlaceholderField { @@ -10771,37 +10771,37 @@ pub mod education_placeholder_field_enum { } } } -// Proto file describing experiment status. +// Proto file describing experiment status. -/// Container for enum describing the experiment status. +/// Container for enum describing the experiment status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentStatusEnum { } /// Nested message and enum types in `ExperimentStatusEnum`. pub mod experiment_status_enum { - /// The status of the experiment. + /// The status of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The experiment is enabled. + /// The experiment is enabled. Enabled = 2, - /// The experiment has been removed. + /// The experiment has been removed. Removed = 3, - /// The experiment has been halted. - /// This status can be set from ENABLED status through API. + /// The experiment has been halted. + /// This status can be set from ENABLED status through API. Halted = 4, - /// The experiment will be promoted out of experimental status. + /// The experiment will be promoted out of experimental status. Promoted = 5, - /// Initial status of the experiment. + /// Initial status of the experiment. Setup = 6, - /// The experiment's campaigns are pending materialization. - /// This status can be set from SETUP status through API. + /// The experiment's campaigns are pending materialization. + /// This status can be set from SETUP status through API. Initiated = 7, - /// The experiment has been graduated. + /// The experiment has been graduated. Graduated = 8, } impl ExperimentStatus { @@ -10824,41 +10824,41 @@ pub mod experiment_status_enum { } } } -// Proto file describing experiment type. +// Proto file describing experiment type. -/// Container for enum describing the type of experiment. +/// Container for enum describing the type of experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentTypeEnum { } /// Nested message and enum types in `ExperimentTypeEnum`. pub mod experiment_type_enum { - /// The type of the experiment. + /// The type of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// This is a DISPLAY_AND_VIDEO_360 experiment. + /// This is a DISPLAY_AND_VIDEO_360 experiment. DisplayAndVideo360 = 2, - /// This is an ad variation experiment. + /// This is an ad variation experiment. AdVariation = 3, - /// A custom experiment consisting of Video campaigns. + /// A custom experiment consisting of Video campaigns. YoutubeCustom = 5, - /// A custom experiment consisting of display campaigns. + /// A custom experiment consisting of display campaigns. DisplayCustom = 6, - /// A custom experiment consisting of search campaigns. + /// A custom experiment consisting of search campaigns. SearchCustom = 7, - /// An experiment that compares bidding strategies for display campaigns. + /// An experiment that compares bidding strategies for display campaigns. DisplayAutomatedBiddingStrategy = 8, - /// An experiment that compares bidding strategies for search campaigns." + /// An experiment that compares bidding strategies for search campaigns." SearchAutomatedBiddingStrategy = 9, - /// An experiment that compares bidding strategies for shopping campaigns. + /// An experiment that compares bidding strategies for shopping campaigns. ShoppingAutomatedBiddingStrategy = 10, - /// DEPRECATED. A smart matching experiment with search campaigns. + /// DEPRECATED. A smart matching experiment with search campaigns. SmartMatching = 11, - /// A custom experiment consisting of hotel campaigns. + /// A custom experiment consisting of hotel campaigns. HotelCustom = 12, } impl ExperimentType { @@ -10884,27 +10884,27 @@ pub mod experiment_type_enum { } } } -// Proto file describing extension setting device type. +// Proto file describing extension setting device type. -/// Container for enum describing extension setting device types. +/// Container for enum describing extension setting device types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingDeviceEnum { } /// Nested message and enum types in `ExtensionSettingDeviceEnum`. pub mod extension_setting_device_enum { - /// Possible device types for an extension setting. + /// Possible device types for an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile. The extensions in the extension setting will only serve on - /// mobile devices. + /// Mobile. The extensions in the extension setting will only serve on + /// mobile devices. Mobile = 2, - /// Desktop. The extensions in the extension setting will only serve on - /// desktop devices. + /// Desktop. The extensions in the extension setting will only serve on + /// desktop devices. Desktop = 3, } impl ExtensionSettingDevice { @@ -10922,48 +10922,48 @@ pub mod extension_setting_device_enum { } } } -// Proto file describing extension type. +// Proto file describing extension type. -/// Container for enum describing possible data types for an extension in an -/// extension setting. +/// Container for enum describing possible data types for an extension in an +/// extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionTypeEnum { } /// Nested message and enum types in `ExtensionTypeEnum`. pub mod extension_type_enum { - /// Possible data types for an extension in an extension setting. + /// Possible data types for an extension in an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// None. + /// None. None = 2, - /// App. + /// App. App = 3, - /// Call. + /// Call. Call = 4, - /// Callout. + /// Callout. Callout = 5, - /// Message. + /// Message. Message = 6, - /// Price. + /// Price. Price = 7, - /// Promotion. + /// Promotion. Promotion = 8, - /// Sitelink. + /// Sitelink. Sitelink = 10, - /// Structured snippet. + /// Structured snippet. StructuredSnippet = 11, - /// Location. + /// Location. Location = 12, - /// Affiliate location. + /// Affiliate location. AffiliateLocation = 13, - /// Hotel callout + /// Hotel callout HotelCallout = 15, - /// Image. + /// Image. Image = 16, } impl ExtensionType { @@ -10992,47 +10992,47 @@ pub mod extension_type_enum { } } } -// Proto file describing feed attribute type. +// Proto file describing feed attribute type. -/// Container for enum describing possible data types for a feed attribute. +/// Container for enum describing possible data types for a feed attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeTypeEnum { } /// Nested message and enum types in `FeedAttributeTypeEnum`. pub mod feed_attribute_type_enum { - /// Possible data types for a feed attribute. + /// Possible data types for a feed attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Int64. + /// Int64. Int64 = 2, - /// Double. + /// Double. Double = 3, - /// String. + /// String. String = 4, - /// Boolean. + /// Boolean. Boolean = 5, - /// Url. + /// Url. Url = 6, - /// Datetime. + /// Datetime. DateTime = 7, - /// Int64 list. + /// Int64 list. Int64List = 8, - /// Double (8 bytes) list. + /// Double (8 bytes) list. DoubleList = 9, - /// String list. + /// String list. StringList = 10, - /// Boolean list. + /// Boolean list. BooleanList = 11, - /// Url list. + /// Url list. UrlList = 12, - /// Datetime list. + /// Datetime list. DateTimeList = 13, - /// Price. + /// Price. Price = 14, } impl FeedAttributeType { @@ -11061,27 +11061,27 @@ pub mod feed_attribute_type_enum { } } } -// Proto file describing feed item quality evaluation approval statuses. +// Proto file describing feed item quality evaluation approval statuses. -/// Container for enum describing possible quality evaluation approval statuses -/// of a feed item. +/// Container for enum describing possible quality evaluation approval statuses +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityApprovalStatusEnum { } /// Nested message and enum types in `FeedItemQualityApprovalStatusEnum`. pub mod feed_item_quality_approval_status_enum { - /// The possible quality evaluation approval statuses of a feed item. + /// The possible quality evaluation approval statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meets all quality expectations. + /// Meets all quality expectations. Approved = 2, - /// Does not meet some quality expectations. The specific reason is found in - /// the quality_disapproval_reasons field. + /// Does not meet some quality expectations. The specific reason is found in + /// the quality_disapproval_reasons field. Disapproved = 3, } impl FeedItemQualityApprovalStatus { @@ -11099,58 +11099,58 @@ pub mod feed_item_quality_approval_status_enum { } } } -// Proto file describing feed item quality disapproval reasons. +// Proto file describing feed item quality disapproval reasons. -/// Container for enum describing possible quality evaluation disapproval reasons -/// of a feed item. +/// Container for enum describing possible quality evaluation disapproval reasons +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityDisapprovalReasonEnum { } /// Nested message and enum types in `FeedItemQualityDisapprovalReasonEnum`. pub mod feed_item_quality_disapproval_reason_enum { - /// The possible quality evaluation disapproval reasons of a feed item. + /// The possible quality evaluation disapproval reasons of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityDisapprovalReason { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Price contains repetitive headers. + /// Price contains repetitive headers. PriceTableRepetitiveHeaders = 2, - /// Price contains repetitive description. + /// Price contains repetitive description. PriceTableRepetitiveDescription = 3, - /// Price contains inconsistent items. + /// Price contains inconsistent items. PriceTableInconsistentRows = 4, - /// Price contains qualifiers in description. + /// Price contains qualifiers in description. PriceDescriptionHasPriceQualifiers = 5, - /// Price contains an unsupported language. + /// Price contains an unsupported language. PriceUnsupportedLanguage = 6, - /// Price item header is not relevant to the price type. + /// Price item header is not relevant to the price type. PriceTableRowHeaderTableTypeMismatch = 7, - /// Price item header has promotional text. + /// Price item header has promotional text. PriceTableRowHeaderHasPromotionalText = 8, - /// Price item description is not relevant to the item header. + /// Price item description is not relevant to the item header. PriceTableRowDescriptionNotRelevant = 9, - /// Price item description contains promotional text. + /// Price item description contains promotional text. PriceTableRowDescriptionHasPromotionalText = 10, - /// Price item header and description are repetitive. + /// Price item header and description are repetitive. PriceTableRowHeaderDescriptionRepetitive = 11, - /// Price item is in a foreign language, nonsense, or can't be rated. + /// Price item is in a foreign language, nonsense, or can't be rated. PriceTableRowUnrateable = 12, - /// Price item price is invalid or inaccurate. + /// Price item price is invalid or inaccurate. PriceTableRowPriceInvalid = 13, - /// Price item URL is invalid or irrelevant. + /// Price item URL is invalid or irrelevant. PriceTableRowUrlInvalid = 14, - /// Price item header or description has price. + /// Price item header or description has price. PriceHeaderOrDescriptionHasPrice = 15, - /// Structured snippet values do not match the header. + /// Structured snippet values do not match the header. StructuredSnippetsHeaderPolicyViolated = 16, - /// Structured snippet values are repeated. + /// Structured snippet values are repeated. StructuredSnippetsRepeatedValues = 17, - /// Structured snippet values violate editorial guidelines like punctuation. + /// Structured snippet values violate editorial guidelines like punctuation. StructuredSnippetsEditorialGuidelines = 18, - /// Structured snippet contain promotional text. + /// Structured snippet contain promotional text. StructuredSnippetsHasPromotionalText = 19, } impl FeedItemQualityDisapprovalReason { @@ -11184,25 +11184,25 @@ pub mod feed_item_quality_disapproval_reason_enum { } } } -// Proto file describing feed item set status. +// Proto file describing feed item set status. -/// Container for enum describing possible statuses of a feed item set. +/// Container for enum describing possible statuses of a feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStatusEnum { } /// Nested message and enum types in `FeedItemSetStatusEnum`. pub mod feed_item_set_status_enum { - /// Possible statuses of a feed item set. + /// Possible statuses of a feed item set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item set is enabled. + /// Feed item set is enabled. Enabled = 2, - /// Feed item set has been removed. + /// Feed item set has been removed. Removed = 3, } impl FeedItemSetStatus { @@ -11220,25 +11220,25 @@ pub mod feed_item_set_status_enum { } } } -// Proto file describing feed item status. +// Proto file describing feed item status. -/// Container for enum describing possible statuses of a feed item. +/// Container for enum describing possible statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemStatusEnum { } /// Nested message and enum types in `FeedItemStatusEnum`. pub mod feed_item_status_enum { - /// Possible statuses of a feed item. + /// Possible statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item is enabled. + /// Feed item is enabled. Enabled = 2, - /// Feed item has been removed. + /// Feed item has been removed. Removed = 3, } impl FeedItemStatus { @@ -11256,24 +11256,24 @@ pub mod feed_item_status_enum { } } } -// Proto file describing feed item target device type. +// Proto file describing feed item target device type. -/// Container for enum describing possible data types for a feed item target -/// device. +/// Container for enum describing possible data types for a feed item target +/// device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetDeviceEnum { } /// Nested message and enum types in `FeedItemTargetDeviceEnum`. pub mod feed_item_target_device_enum { - /// Possible data types for a feed item target device. + /// Possible data types for a feed item target device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile. + /// Mobile. Mobile = 2, } impl FeedItemTargetDevice { @@ -11290,25 +11290,25 @@ pub mod feed_item_target_device_enum { } } } -// Proto file describing feed item target status. +// Proto file describing feed item target status. -/// Container for enum describing possible statuses of a feed item target. +/// Container for enum describing possible statuses of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetStatusEnum { } /// Nested message and enum types in `FeedItemTargetStatusEnum`. pub mod feed_item_target_status_enum { - /// Possible statuses of a feed item target. + /// Possible statuses of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item target is enabled. + /// Feed item target is enabled. Enabled = 2, - /// Feed item target has been removed. + /// Feed item target has been removed. Removed = 3, } impl FeedItemTargetStatus { @@ -11326,27 +11326,27 @@ pub mod feed_item_target_status_enum { } } } -// Proto file describing feed item target type status. +// Proto file describing feed item target type status. -/// Container for enum describing possible types of a feed item target. +/// Container for enum describing possible types of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetTypeEnum { } /// Nested message and enum types in `FeedItemTargetTypeEnum`. pub mod feed_item_target_type_enum { - /// Possible type of a feed item target. + /// Possible type of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item targets a campaign. + /// Feed item targets a campaign. Campaign = 2, - /// Feed item targets an ad group. + /// Feed item targets an ad group. AdGroup = 3, - /// Feed item targets a criterion. + /// Feed item targets a criterion. Criterion = 4, } impl FeedItemTargetType { @@ -11365,27 +11365,27 @@ pub mod feed_item_target_type_enum { } } } -// Proto file describing feed item validation statuses. +// Proto file describing feed item validation statuses. -/// Container for enum describing possible validation statuses of a feed item. +/// Container for enum describing possible validation statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationStatusEnum { } /// Nested message and enum types in `FeedItemValidationStatusEnum`. pub mod feed_item_validation_status_enum { - /// The possible validation statuses of a feed item. + /// The possible validation statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Validation pending. + /// Validation pending. Pending = 2, - /// An error was found. + /// An error was found. Invalid = 3, - /// Feed item is semantically well-formed. + /// Feed item is semantically well-formed. Valid = 4, } impl FeedItemValidationStatus { @@ -11404,25 +11404,25 @@ pub mod feed_item_validation_status_enum { } } } -// Proto file describing status of a feed link. +// Proto file describing status of a feed link. -/// Container for an enum describing possible statuses of a feed link. +/// Container for an enum describing possible statuses of a feed link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedLinkStatusEnum { } /// Nested message and enum types in `FeedLinkStatusEnum`. pub mod feed_link_status_enum { - /// Possible statuses of a feed link. + /// Possible statuses of a feed link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed link is enabled. + /// Feed link is enabled. Enabled = 2, - /// Feed link has been removed. + /// Feed link has been removed. Removed = 3, } impl FeedLinkStatus { @@ -11440,25 +11440,25 @@ pub mod feed_link_status_enum { } } } -// Proto file describing criterion types for feed mappings. +// Proto file describing criterion types for feed mappings. -/// Container for enum describing possible criterion types for a feed mapping. +/// Container for enum describing possible criterion types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingCriterionTypeEnum { } /// Nested message and enum types in `FeedMappingCriterionTypeEnum`. pub mod feed_mapping_criterion_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingCriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows campaign targeting at locations within a location feed. + /// Allows campaign targeting at locations within a location feed. LocationExtensionTargeting = 4, - /// Allows url targeting for your dynamic search ads within a page feed. + /// Allows url targeting for your dynamic search ads within a page feed. DsaPageFeed = 3, } impl FeedMappingCriterionType { @@ -11476,25 +11476,25 @@ pub mod feed_mapping_criterion_type_enum { } } } -// Proto file describing feed mapping status. +// Proto file describing feed mapping status. -/// Container for enum describing possible statuses of a feed mapping. +/// Container for enum describing possible statuses of a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingStatusEnum { } /// Nested message and enum types in `FeedMappingStatusEnum`. pub mod feed_mapping_status_enum { - /// Possible statuses of a feed mapping. + /// Possible statuses of a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed mapping is enabled. + /// Feed mapping is enabled. Enabled = 2, - /// Feed mapping has been removed. + /// Feed mapping has been removed. Removed = 3, } impl FeedMappingStatus { @@ -11512,28 +11512,28 @@ pub mod feed_mapping_status_enum { } } } -// Proto file describing feed origin. +// Proto file describing feed origin. -/// Container for enum describing possible values for a feed origin. +/// Container for enum describing possible values for a feed origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOriginEnum { } /// Nested message and enum types in `FeedOriginEnum`. pub mod feed_origin_enum { - /// Possible values for a feed origin. + /// Possible values for a feed origin. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedOrigin { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The FeedAttributes for this Feed are managed by the - /// user. Users can add FeedAttributes to this Feed. + /// The FeedAttributes for this Feed are managed by the + /// user. Users can add FeedAttributes to this Feed. User = 2, - /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - /// this type is maintained by Google and will have the correct attributes - /// for the placeholder type of the feed. + /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of + /// this type is maintained by Google and will have the correct attributes + /// for the placeholder type of the feed. Google = 3, } impl FeedOrigin { @@ -11551,25 +11551,25 @@ pub mod feed_origin_enum { } } } -// Proto file describing feed status. +// Proto file describing feed status. -/// Container for enum describing possible statuses of a feed. +/// Container for enum describing possible statuses of a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedStatusEnum { } /// Nested message and enum types in `FeedStatusEnum`. pub mod feed_status_enum { - /// Possible statuses of a feed. + /// Possible statuses of a feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed is enabled. + /// Feed is enabled. Enabled = 2, - /// Feed has been removed. + /// Feed has been removed. Removed = 3, } impl FeedStatus { @@ -11587,78 +11587,78 @@ pub mod feed_status_enum { } } } -// Proto file describing Flight placeholder fields. +// Proto file describing Flight placeholder fields. -/// Values for Flight placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Flight placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlightPlaceholderFieldEnum { } /// Nested message and enum types in `FlightPlaceholderFieldEnum`. pub mod flight_placeholder_field_enum { - /// Possible values for Flight placeholder fields. + /// Possible values for Flight placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FlightPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Optional. Combination of destination id and origin id must be unique per - /// offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Optional. Combination of destination id and origin id must be unique per + /// offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. FlightDescription = 4, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. OriginName = 5, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. DestinationName = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" FlightPrice = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" FlightSalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 13, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl FlightPlaceholderField { @@ -11691,27 +11691,27 @@ pub mod flight_placeholder_field_enum { } } } -// Proto file describing geo target constant statuses. +// Proto file describing geo target constant statuses. -/// Container for describing the status of a geo target constant. +/// Container for describing the status of a geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantStatusEnum { } /// Nested message and enum types in `GeoTargetConstantStatusEnum`. pub mod geo_target_constant_status_enum { - /// The possible statuses of a geo target constant. + /// The possible statuses of a geo target constant. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The geo target constant is valid. + /// The geo target constant is valid. Enabled = 2, - /// The geo target constant is obsolete and will be removed. + /// The geo target constant is obsolete and will be removed. RemovalPlanned = 3, } impl GeoTargetConstantStatus { @@ -11729,25 +11729,25 @@ pub mod geo_target_constant_status_enum { } } } -// Proto file describing GeoTargetingRestriction. +// Proto file describing GeoTargetingRestriction. -/// Message describing feed item geo targeting restriction. +/// Message describing feed item geo targeting restriction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingRestrictionEnum { } /// Nested message and enum types in `GeoTargetingRestrictionEnum`. pub mod geo_targeting_restriction_enum { - /// A restriction used to determine if the request context's - /// geo should be matched. + /// A restriction used to determine if the request context's + /// geo should be matched. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingRestriction { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates that request context should match the physical location of - /// the user. + /// Indicates that request context should match the physical location of + /// the user. LocationOfPresence = 2, } impl GeoTargetingRestriction { @@ -11764,25 +11764,25 @@ pub mod geo_targeting_restriction_enum { } } } -// Proto file describing geo targeting types. +// Proto file describing geo targeting types. -/// Container for enum describing possible geo targeting types. +/// Container for enum describing possible geo targeting types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingTypeEnum { } /// Nested message and enum types in `GeoTargetingTypeEnum`. pub mod geo_targeting_type_enum { - /// The possible geo targeting types. + /// The possible geo targeting types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Location the user is interested in while making the query. + /// Location the user is interested in while making the query. AreaOfInterest = 2, - /// Location of the user issuing the query. + /// Location of the user issuing the query. LocationOfPresence = 3, } impl GeoTargetingType { @@ -11800,27 +11800,27 @@ pub mod geo_targeting_type_enum { } } } -// Proto file describing goal config level. +// Proto file describing goal config level. -/// Container for enum describing possible goal config levels. +/// Container for enum describing possible goal config levels. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoalConfigLevelEnum { } /// Nested message and enum types in `GoalConfigLevelEnum`. pub mod goal_config_level_enum { - /// The possible goal config levels. Campaigns automatically inherit the - /// effective conversion account's customer goals unless they have been - /// configured with their own set of campaign goals. + /// The possible goal config levels. Campaigns automatically inherit the + /// effective conversion account's customer goals unless they have been + /// configured with their own set of campaign goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoalConfigLevel { - /// The goal config level has not been specified. + /// The goal config level has not been specified. Unspecified = 0, - /// The goal config level is not known in this version. + /// The goal config level is not known in this version. Unknown = 1, - /// The goal config is defined at the customer level. + /// The goal config is defined at the customer level. Customer = 2, - /// The goal config is defined at the campaign level. + /// The goal config is defined at the campaign level. Campaign = 3, } impl GoalConfigLevel { @@ -11838,34 +11838,34 @@ pub mod goal_config_level_enum { } } } -// Proto file describing GoogleAdsField categories. +// Proto file describing GoogleAdsField categories. -/// Container for enum that determines if the described artifact is a resource -/// or a field, and if it is a field, when it segments search queries. +/// Container for enum that determines if the described artifact is a resource +/// or a field, and if it is a field, when it segments search queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldCategoryEnum { } /// Nested message and enum types in `GoogleAdsFieldCategoryEnum`. pub mod google_ads_field_category_enum { - /// The category of the artifact. + /// The category of the artifact. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldCategory { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// The described artifact is a resource. + /// The described artifact is a resource. Resource = 2, - /// The described artifact is a field and is an attribute of a resource. - /// Including a resource attribute field in a query may segment the query if - /// the resource to which it is attributed segments the resource found in - /// the FROM clause. + /// The described artifact is a field and is an attribute of a resource. + /// Including a resource attribute field in a query may segment the query if + /// the resource to which it is attributed segments the resource found in + /// the FROM clause. Attribute = 3, - /// The described artifact is a field and always segments search queries. + /// The described artifact is a field and always segments search queries. Segment = 5, - /// The described artifact is a field and is a metric. It never segments - /// search queries. + /// The described artifact is a field and is a metric. It never segments + /// search queries. Metric = 6, } impl GoogleAdsFieldCategory { @@ -11885,68 +11885,68 @@ pub mod google_ads_field_category_enum { } } } -// Proto file describing GoogleAdsField data types. +// Proto file describing GoogleAdsField data types. -/// Container holding the various data types. +/// Container holding the various data types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldDataTypeEnum { } /// Nested message and enum types in `GoogleAdsFieldDataTypeEnum`. pub mod google_ads_field_data_type_enum { - /// These are the various types a GoogleAdsService artifact may take on. + /// These are the various types a GoogleAdsService artifact may take on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldDataType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// Maps to google.protobuf.BoolValue + /// Maps to google.protobuf.BoolValue /// - /// Applicable operators: =, != + /// Applicable operators: =, != Boolean = 2, - /// Maps to google.protobuf.StringValue. It can be compared using the set of - /// operators specific to dates however. + /// Maps to google.protobuf.StringValue. It can be compared using the set of + /// operators specific to dates however. /// - /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN + /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN Date = 3, - /// Maps to google.protobuf.DoubleValue + /// Maps to google.protobuf.DoubleValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Double = 4, - /// Maps to an enum. It's specific definition can be found at type_url. + /// Maps to an enum. It's specific definition can be found at type_url. /// - /// Applicable operators: =, !=, IN, NOT IN + /// Applicable operators: =, !=, IN, NOT IN Enum = 5, - /// Maps to google.protobuf.FloatValue + /// Maps to google.protobuf.FloatValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Float = 6, - /// Maps to google.protobuf.Int32Value + /// Maps to google.protobuf.Int32Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int32 = 7, - /// Maps to google.protobuf.Int64Value + /// Maps to google.protobuf.Int64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int64 = 8, - /// Maps to a protocol buffer message type. The data type's details can be - /// found in type_url. + /// Maps to a protocol buffer message type. The data type's details can be + /// found in type_url. /// - /// No operators work with MESSAGE fields. + /// No operators work with MESSAGE fields. Message = 9, - /// Maps to google.protobuf.StringValue. Represents the resource name - /// (unique id) of a resource or one of its foreign keys. + /// Maps to google.protobuf.StringValue. Represents the resource name + /// (unique id) of a resource or one of its foreign keys. /// - /// No operators work with RESOURCE_NAME fields. + /// No operators work with RESOURCE_NAME fields. ResourceName = 10, - /// Maps to google.protobuf.StringValue. + /// Maps to google.protobuf.StringValue. /// - /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN + /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN String = 11, - /// Maps to google.protobuf.UInt64Value + /// Maps to google.protobuf.UInt64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Uint64 = 12, } impl GoogleAdsFieldDataType { @@ -11973,25 +11973,25 @@ pub mod google_ads_field_data_type_enum { } } } -// Proto file describing google voice call status. +// Proto file describing google voice call status. -/// Container for enum describing possible statuses of a google voice call. +/// Container for enum describing possible statuses of a google voice call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleVoiceCallStatusEnum { } /// Nested message and enum types in `GoogleVoiceCallStatusEnum`. pub mod google_voice_call_status_enum { - /// Possible statuses of a google voice call. + /// Possible statuses of a google voice call. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleVoiceCallStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call was missed. + /// The call was missed. Missed = 2, - /// The call was received. + /// The call was received. Received = 3, } impl GoogleVoiceCallStatus { @@ -12009,81 +12009,81 @@ pub mod google_voice_call_status_enum { } } } -// Proto file describing Hotel placeholder fields. +// Proto file describing Hotel placeholder fields. -/// Values for Hotel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Hotel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPlaceholderFieldEnum { } /// Nested message and enum types in `HotelPlaceholderFieldEnum`. pub mod hotel_placeholder_field_enum { - /// Possible values for Hotel placeholder fields. + /// Possible values for Hotel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. PropertyId = 2, - /// Data Type: STRING. Required. Main headline with property name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with property name to be shown + /// in dynamic ad. PropertyName = 3, - /// Data Type: STRING. Name of destination to be shown in dynamic ad. + /// Data Type: STRING. Name of destination to be shown in dynamic ad. DestinationName = 4, - /// Data Type: STRING. Description of destination to be shown in dynamic ad. + /// Data Type: STRING. Description of destination to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 12, - /// Data Type: INT64. Star rating (1 to 5) used to group like items - /// together for recommendation engine. + /// Data Type: INT64. Star rating (1 to 5) used to group like items + /// together for recommendation engine. StarRating = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended property IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended property IDs to show together + /// with this item. SimilarPropertyIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl HotelPlaceholderField { @@ -12119,35 +12119,35 @@ pub mod hotel_placeholder_field_enum { } } } -// Proto file describing hotel reconciliation row status. +// Proto file describing hotel reconciliation row status. -/// Container for HotelReconciliationStatus. +/// Container for HotelReconciliationStatus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliationStatusEnum { } /// Nested message and enum types in `HotelReconciliationStatusEnum`. pub mod hotel_reconciliation_status_enum { - /// Status of the hotel booking reconciliation. + /// Status of the hotel booking reconciliation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelReconciliationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Bookings are for a future date, or a stay is underway but the check-out - /// date hasn't passed. An active reservation can't be reconciled. + /// Bookings are for a future date, or a stay is underway but the check-out + /// date hasn't passed. An active reservation can't be reconciled. ReservationEnabled = 2, - /// Check-out has already taken place, or the booked dates have passed - /// without cancellation. Bookings that are not reconciled within 45 days of - /// the check-out date are billed based on the original booking price. + /// Check-out has already taken place, or the booked dates have passed + /// without cancellation. Bookings that are not reconciled within 45 days of + /// the check-out date are billed based on the original booking price. ReconciliationNeeded = 3, - /// These bookings have been reconciled. Reconciled bookings are billed 45 - /// days after the check-out date. + /// These bookings have been reconciled. Reconciled bookings are billed 45 + /// days after the check-out date. Reconciled = 4, - /// This booking was marked as canceled. Canceled stays with a value greater - /// than zero (due to minimum stay rules or cancellation fees) are billed 45 - /// days after the check-out date. + /// This booking was marked as canceled. Canceled stays with a value greater + /// than zero (due to minimum stay rules or cancellation fees) are billed 45 + /// days after the check-out date. Canceled = 5, } impl HotelReconciliationStatus { @@ -12167,23 +12167,23 @@ pub mod hotel_reconciliation_status_enum { } } } -// Proto file describing Advertiser Provided Image placeholder fields. +// Proto file describing Advertiser Provided Image placeholder fields. -/// Values for Advertiser Provided Image placeholder fields. +/// Values for Advertiser Provided Image placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImagePlaceholderFieldEnum { } /// Nested message and enum types in `ImagePlaceholderFieldEnum`. pub mod image_placeholder_field_enum { - /// Possible values for Advertiser Provided Image placeholder fields. + /// Possible values for Advertiser Provided Image placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The asset ID of the image. + /// Data Type: INT64. The asset ID of the image. AssetId = 2, } impl ImagePlaceholderField { @@ -12200,25 +12200,25 @@ pub mod image_placeholder_field_enum { } } } -// Proto file describing invoice types. +// Proto file describing invoice types. -/// Container for enum describing the type of invoices. +/// Container for enum describing the type of invoices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceTypeEnum { } /// Nested message and enum types in `InvoiceTypeEnum`. pub mod invoice_type_enum { - /// The possible type of invoices. + /// The possible type of invoices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// An invoice with a negative amount. The account receives a credit. + /// An invoice with a negative amount. The account receives a credit. CreditMemo = 2, - /// An invoice with a positive amount. The account owes a balance. + /// An invoice with a positive amount. The account owes a balance. Invoice = 3, } impl InvoiceType { @@ -12236,75 +12236,75 @@ pub mod invoice_type_enum { } } } -// Proto file describing Job placeholder fields. +// Proto file describing Job placeholder fields. -/// Values for Job placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Job placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobPlaceholderFieldEnum { } /// Nested message and enum types in `JobPlaceholderFieldEnum`. pub mod job_placeholder_field_enum { - /// Possible values for Job placeholder fields. + /// Possible values for Job placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be - /// unique. If both JOB_ID and LOCATION_ID are specified, then the - /// pair must be unique. - /// ID) pair must be unique. + /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be + /// unique. If both JOB_ID and LOCATION_ID are specified, then the + /// pair must be unique. + /// ID) pair must be unique. JobId = 2, - /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - /// per offer. + /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique + /// per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with job title to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with job title to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. Job subtitle to be shown in dynamic ad. + /// Data Type: STRING. Job subtitle to be shown in dynamic ad. Subtitle = 5, - /// Data Type: STRING. Description of job to be shown in dynamic ad. + /// Data Type: STRING. Description of job to be shown in dynamic ad. Description = 6, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 7, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 8, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 9, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 10, - /// Data Type: STRING. Salary or salary range of job to be shown in dynamic - /// ad. + /// Data Type: STRING. Salary or salary range of job to be shown in dynamic + /// ad. Salary = 11, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (for example, the individual - /// URL of a specific job and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (for example, the individual + /// URL of a specific job and its location). FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended job IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended job IDs to show together with + /// this item. SimilarJobIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl JobPlaceholderField { @@ -12337,30 +12337,30 @@ pub mod job_placeholder_field_enum { } } } -// Proto file describing keyword plan forecast intervals. +// Proto file describing keyword plan forecast intervals. -/// Container for enumeration of forecast intervals. +/// Container for enumeration of forecast intervals. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastIntervalEnum { } /// Nested message and enum types in `KeywordPlanForecastIntervalEnum`. pub mod keyword_plan_forecast_interval_enum { - /// Forecast intervals. + /// Forecast intervals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanForecastInterval { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The next week date range for keyword plan. The next week is based - /// on the default locale of the user's account and is mostly SUN-SAT or - /// MON-SUN. - /// This can be different from next-7 days. + /// The next week date range for keyword plan. The next week is based + /// on the default locale of the user's account and is mostly SUN-SAT or + /// MON-SUN. + /// This can be different from next-7 days. NextWeek = 3, - /// The next month date range for keyword plan. + /// The next month date range for keyword plan. NextMonth = 4, - /// The next quarter date range for keyword plan. + /// The next quarter date range for keyword plan. NextQuarter = 5, } impl KeywordPlanForecastInterval { @@ -12379,23 +12379,23 @@ pub mod keyword_plan_forecast_interval_enum { } } } -// Proto file describing Keyword Planner Keyword annotation types. +// Proto file describing Keyword Planner Keyword annotation types. -/// Container for enumeration of keyword plan keyword annotations. +/// Container for enumeration of keyword plan keyword annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordAnnotationEnum { } /// Nested message and enum types in `KeywordPlanKeywordAnnotationEnum`. pub mod keyword_plan_keyword_annotation_enum { - /// Enumerates keyword plan annotations that can be requested. + /// Enumerates keyword plan annotations that can be requested. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanKeywordAnnotation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Return the keyword concept and concept group data. + /// Return the keyword concept and concept group data. KeywordConcept = 2, } impl KeywordPlanKeywordAnnotation { @@ -12412,25 +12412,25 @@ pub mod keyword_plan_keyword_annotation_enum { } } } -// Proto file describing Keyword Planner forecastable network types. +// Proto file describing Keyword Planner forecastable network types. -/// Container for enumeration of keyword plan forecastable network types. +/// Container for enumeration of keyword plan forecastable network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanNetworkEnum { } /// Nested message and enum types in `KeywordPlanNetworkEnum`. pub mod keyword_plan_network_enum { - /// Enumerates keyword plan forecastable network types. + /// Enumerates keyword plan forecastable network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google Search. + /// Google Search. GoogleSearch = 2, - /// Google Search + Search partners. + /// Google Search + Search partners. GoogleSearchAndPartners = 3, } impl KeywordPlanNetwork { @@ -12448,23 +12448,23 @@ pub mod keyword_plan_network_enum { } } } -/// Container for enum describing possible status of a label. +/// Container for enum describing possible status of a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelStatusEnum { } /// Nested message and enum types in `LabelStatusEnum`. pub mod label_status_enum { - /// Possible statuses of a label. + /// Possible statuses of a label. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Label is enabled. + /// Label is enabled. Enabled = 2, - /// Label is removed. + /// Label is removed. Removed = 3, } impl LabelStatus { @@ -12482,28 +12482,28 @@ pub mod label_status_enum { } } } -/// Container for enum describing different types of Linked accounts. +/// Container for enum describing different types of Linked accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LinkedAccountTypeEnum { } /// Nested message and enum types in `LinkedAccountTypeEnum`. pub mod linked_account_type_enum { - /// Describes the possible link types between a Google Ads customer - /// and another account. + /// Describes the possible link types between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkedAccountType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A link to provide third party app analytics data. + /// A link to provide third party app analytics data. ThirdPartyAppAnalytics = 2, - /// A link to Data partner. + /// A link to Data partner. DataPartner = 3, - /// A link to Google Ads. + /// A link to Google Ads. GoogleAds = 4, - /// A link to Hotel Center. + /// A link to Hotel Center. HotelCenter = 5, } impl LinkedAccountType { @@ -12523,32 +12523,32 @@ pub mod linked_account_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the levels of bidding category used in -/// ListingGroupFilterDimension. +/// Container for enum describing the levels of bidding category used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterBiddingCategoryLevelEnum { } /// Nested message and enum types in `ListingGroupFilterBiddingCategoryLevelEnum`. pub mod listing_group_filter_bidding_category_level_enum { - /// The level of the listing group filter bidding category. + /// The level of the listing group filter bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterBiddingCategoryLevel { @@ -12569,32 +12569,32 @@ pub mod listing_group_filter_bidding_category_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the indexes of custom attribute used in -/// ListingGroupFilterDimension. +/// Container for enum describing the indexes of custom attribute used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterCustomAttributeIndexEnum { } /// Nested message and enum types in `ListingGroupFilterCustomAttributeIndexEnum`. pub mod listing_group_filter_custom_attribute_index_enum { - /// The index of customer attributes. + /// The index of customer attributes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First listing group filter custom attribute. + /// First listing group filter custom attribute. Index0 = 2, - /// Second listing group filter custom attribute. + /// Second listing group filter custom attribute. Index1 = 3, - /// Third listing group filter custom attribute. + /// Third listing group filter custom attribute. Index2 = 4, - /// Fourth listing group filter custom attribute. + /// Fourth listing group filter custom attribute. Index3 = 5, - /// Fifth listing group filter custom attribute. + /// Fifth listing group filter custom attribute. Index4 = 6, } impl ListingGroupFilterCustomAttributeIndex { @@ -12615,25 +12615,25 @@ pub mod listing_group_filter_custom_attribute_index_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductChannelEnum { } /// Nested message and enum types in `ListingGroupFilterProductChannelEnum`. pub mod listing_group_filter_product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ListingGroupFilterProductChannel { @@ -12651,27 +12651,27 @@ pub mod listing_group_filter_product_channel_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductConditionEnum { } /// Nested message and enum types in `ListingGroupFilterProductConditionEnum`. pub mod listing_group_filter_product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 2, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 3, - /// The product condition is used. + /// The product condition is used. Used = 4, } impl ListingGroupFilterProductCondition { @@ -12690,31 +12690,31 @@ pub mod listing_group_filter_product_condition_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductTypeLevelEnum { } /// Nested message and enum types in `ListingGroupFilterProductTypeLevelEnum`. pub mod listing_group_filter_product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterProductTypeLevel { @@ -12735,27 +12735,27 @@ pub mod listing_group_filter_product_type_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group filter node. +/// Container for enum describing the type of the listing group filter node. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterTypeEnum { } /// Nested message and enum types in `ListingGroupFilterTypeEnum`. pub mod listing_group_filter_type_enum { - /// The type of the listing group filter. + /// The type of the listing group filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimensions. + /// Subdivision of products along some listing dimensions. Subdivision = 2, - /// An included listing group filter leaf node. + /// An included listing group filter leaf node. UnitIncluded = 3, - /// An excluded listing group filter leaf node. + /// An excluded listing group filter leaf node. UnitExcluded = 4, } impl ListingGroupFilterType { @@ -12774,24 +12774,24 @@ pub mod listing_group_filter_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the vertical a listing group filter -/// tree represents. +/// Container for enum describing the type of the vertical a listing group filter +/// tree represents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterVerticalEnum { } /// Nested message and enum types in `ListingGroupFilterVerticalEnum`. pub mod listing_group_filter_vertical_enum { - /// The type of the listing group filter vertical. + /// The type of the listing group filter vertical. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterVertical { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents the shopping vertical. + /// Represents the shopping vertical. Shopping = 2, } impl ListingGroupFilterVertical { @@ -12808,77 +12808,77 @@ pub mod listing_group_filter_vertical_enum { } } } -// Proto file describing Local placeholder fields. +// Proto file describing Local placeholder fields. -/// Values for Local placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Local placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalPlaceholderFieldEnum { } /// Nested message and enum types in `LocalPlaceholderFieldEnum`. pub mod local_placeholder_field_enum { - /// Possible values for Local placeholder fields. + /// Possible values for Local placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. DealId = 2, - /// Data Type: STRING. Required. Main headline with local deal title to be - /// shown in dynamic ad. + /// Data Type: STRING. Required. Main headline with local deal title to be + /// shown in dynamic ad. DealName = 3, - /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. + /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. Subtitle = 4, - /// Data Type: STRING. Description of local deal to be shown in dynamic ad. + /// Data Type: STRING. Description of local deal to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. Example: "100.00 USD" Price = 6, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 7, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 8, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 9, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 10, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 11, - /// Data Type: STRING. Category of local deal used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of local deal used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (for example, the individual - /// URL of a specific local deal and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (for example, the individual + /// URL of a specific local deal and its location). FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 17, - /// Data Type: STRING_LIST. List of recommended local deal IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended local deal IDs to show + /// together with this item. SimilarDealIds = 18, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 19, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 20, } impl LocalPlaceholderField { @@ -12913,33 +12913,33 @@ pub mod local_placeholder_field_enum { } } } -// Proto file describing Location Extension Targeting criterion fields. +// Proto file describing Location Extension Targeting criterion fields. -/// Values for Location Extension Targeting criterion fields. +/// Values for Location Extension Targeting criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationExtensionTargetingCriterionFieldEnum { } /// Nested message and enum types in `LocationExtensionTargetingCriterionFieldEnum`. pub mod location_extension_targeting_criterion_field_enum { - /// Possible values for Location Extension Targeting criterion fields. + /// Possible values for Location Extension Targeting criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationExtensionTargetingCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 2, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 3, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 4, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 5, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 6, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 7, } impl LocationExtensionTargetingCriterionField { @@ -12961,37 +12961,37 @@ pub mod location_extension_targeting_criterion_field_enum { } } } -// Proto file describing Location placeholder fields. +// Proto file describing Location placeholder fields. -/// Values for Location placeholder fields. +/// Values for Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPlaceholderFieldEnum { } /// Nested message and enum types in `LocationPlaceholderFieldEnum`. pub mod location_placeholder_field_enum { - /// Possible values for Location placeholder fields. + /// Possible values for Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, } impl LocationPlaceholderField { @@ -13015,25 +13015,25 @@ pub mod location_placeholder_field_enum { } } } -// Proto file describing location source types. +// Proto file describing location source types. -/// Used to distinguish the location source type. +/// Used to distinguish the location source type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationSourceTypeEnum { } /// Nested message and enum types in `LocationSourceTypeEnum`. pub mod location_source_type_enum { - /// The possible types of a location source. + /// The possible types of a location source. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationSourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Locations associated with the customer's linked Business Profile. + /// Locations associated with the customer's linked Business Profile. GoogleMyBusiness = 2, - /// Affiliate (chain) store locations. For example, Best Buy store locations. + /// Affiliate (chain) store locations. For example, Best Buy store locations. Affiliate = 3, } impl LocationSourceType { @@ -13051,31 +13051,31 @@ pub mod location_source_type_enum { } } } -/// Container for enum describing possible status of a manager and client link. +/// Container for enum describing possible status of a manager and client link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkStatusEnum { } /// Nested message and enum types in `ManagerLinkStatusEnum`. pub mod manager_link_status_enum { - /// Possible statuses of a link. + /// Possible statuses of a link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates current in-effect relationship + /// Indicates current in-effect relationship Active = 2, - /// Indicates terminated relationship + /// Indicates terminated relationship Inactive = 3, - /// Indicates relationship has been requested by manager, but the client - /// hasn't accepted yet. + /// Indicates relationship has been requested by manager, but the client + /// hasn't accepted yet. Pending = 4, - /// Relationship was requested by the manager, but the client has refused. + /// Relationship was requested by the manager, but the client has refused. Refused = 5, - /// Indicates relationship has been requested by manager, but manager - /// canceled it. + /// Indicates relationship has been requested by manager, but manager + /// canceled it. Canceled = 6, } impl ManagerLinkStatus { @@ -13096,35 +13096,35 @@ pub mod manager_link_status_enum { } } } -// Proto file describing media types. +// Proto file describing media types. -/// Container for enum describing the types of media. +/// Container for enum describing the types of media. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaTypeEnum { } /// Nested message and enum types in `MediaTypeEnum`. pub mod media_type_enum { - /// The type of media. + /// The type of media. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// The media type has not been specified. + /// The media type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Static image, used for image ad. + /// Static image, used for image ad. Image = 2, - /// Small image, used for map ad. + /// Small image, used for map ad. Icon = 3, - /// ZIP file, used in fields of template ads. + /// ZIP file, used in fields of template ads. MediaBundle = 4, - /// Audio file. + /// Audio file. Audio = 5, - /// Video file. + /// Video file. Video = 6, - /// Animated image, such as animated GIF. + /// Animated image, such as animated GIF. DynamicImage = 7, } impl MediaType { @@ -13146,28 +13146,28 @@ pub mod media_type_enum { } } } -// Proto file describing Merchant Center link statuses. +// Proto file describing Merchant Center link statuses. -/// Container for enum describing possible statuses of a Google Merchant Center -/// link. +/// Container for enum describing possible statuses of a Google Merchant Center +/// link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkStatusEnum { } /// Nested message and enum types in `MerchantCenterLinkStatusEnum`. pub mod merchant_center_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and a Google Merchant Center account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and a Google Merchant Center account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link has no effect. It was proposed by the Merchant Center Account - /// owner and hasn't been confirmed by the customer. + /// The link has no effect. It was proposed by the Merchant Center Account + /// owner and hasn't been confirmed by the customer. Pending = 3, } impl MerchantCenterLinkStatus { @@ -13185,33 +13185,33 @@ pub mod merchant_center_link_status_enum { } } } -// Proto file describing Message placeholder fields. +// Proto file describing Message placeholder fields. -/// Values for Message placeholder fields. +/// Values for Message placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MessagePlaceholderFieldEnum { } /// Nested message and enum types in `MessagePlaceholderFieldEnum`. pub mod message_placeholder_field_enum { - /// Possible values for Message placeholder fields. + /// Possible values for Message placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MessagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of your business. + /// Data Type: STRING. The name of your business. BusinessName = 2, - /// Data Type: STRING. Country code of phone number. + /// Data Type: STRING. Country code of phone number. CountryCode = 3, - /// Data Type: STRING. A phone number that's capable of sending and receiving - /// text messages. + /// Data Type: STRING. A phone number that's capable of sending and receiving + /// text messages. PhoneNumber = 4, - /// Data Type: STRING. The text that will go in your click-to-message ad. + /// Data Type: STRING. The text that will go in your click-to-message ad. MessageExtensionText = 5, - /// Data Type: STRING. The message text automatically shows in people's - /// messaging apps when they tap to send you a message. + /// Data Type: STRING. The message text automatically shows in people's + /// messaging apps when they tap to send you a message. MessageText = 6, } impl MessagePlaceholderField { @@ -13232,25 +13232,25 @@ pub mod message_placeholder_field_enum { } } } -// Proto file describing mobile device types. +// Proto file describing mobile device types. -/// Container for enum describing the types of mobile device. +/// Container for enum describing the types of mobile device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceTypeEnum { } /// Nested message and enum types in `MobileDeviceTypeEnum`. pub mod mobile_device_type_enum { - /// The type of mobile device. + /// The type of mobile device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile phones. + /// Mobile phones. Mobile = 2, - /// Tablets. + /// Tablets. Tablet = 3, } impl MobileDeviceType { @@ -13268,27 +13268,27 @@ pub mod mobile_device_type_enum { } } } -// Proto file describing negative geo target types. +// Proto file describing negative geo target types. -/// Container for enum describing possible negative geo target types. +/// Container for enum describing possible negative geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NegativeGeoTargetTypeEnum { } /// Nested message and enum types in `NegativeGeoTargetTypeEnum`. pub mod negative_geo_target_type_enum { - /// The possible negative geo target types. + /// The possible negative geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NegativeGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that a user is excluded from seeing the ad if they - /// are in, or show interest in, advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in, or show interest in, advertiser's excluded locations. PresenceOrInterest = 4, - /// Specifies that a user is excluded from seeing the ad if they - /// are in advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in advertiser's excluded locations. Presence = 5, } impl NegativeGeoTargetType { @@ -13306,26 +13306,26 @@ pub mod negative_geo_target_type_enum { } } } -// Proto file describing offline user data job failure reasons. +// Proto file describing offline user data job failure reasons. -/// Container for enum describing reasons why an offline user data job -/// failed to be processed. +/// Container for enum describing reasons why an offline user data job +/// failed to be processed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobFailureReasonEnum { } /// Nested message and enum types in `OfflineUserDataJobFailureReasonEnum`. pub mod offline_user_data_job_failure_reason_enum { - /// The failure reason of an offline user data job. + /// The failure reason of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The matched transactions are insufficient. + /// The matched transactions are insufficient. InsufficientMatchedTransactions = 2, - /// The uploaded transactions are insufficient. + /// The uploaded transactions are insufficient. InsufficientTransactions = 3, } impl OfflineUserDataJobFailureReason { @@ -13343,39 +13343,39 @@ pub mod offline_user_data_job_failure_reason_enum { } } } -/// Container for enum describing reasons match rate ranges for a customer match -/// list upload. +/// Container for enum describing reasons match rate ranges for a customer match +/// list upload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMatchRateRangeEnum { } /// Nested message and enum types in `OfflineUserDataJobMatchRateRangeEnum`. pub mod offline_user_data_job_match_rate_range_enum { - /// The match rate range of an offline user data job. + /// The match rate range of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobMatchRateRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Default value for match rate range. + /// Default value for match rate range. Unknown = 1, - /// Match rate range for offline data upload entity is between 0% and 19%. + /// Match rate range for offline data upload entity is between 0% and 19%. MatchRangeLessThan20 = 2, - /// Match rate range for offline data upload entity is between 20% and 30%. + /// Match rate range for offline data upload entity is between 20% and 30%. MatchRange20To30 = 3, - /// Match rate range for offline data upload entity is between 31% and 40%. + /// Match rate range for offline data upload entity is between 31% and 40%. MatchRange31To40 = 4, - /// Match rate range for offline data upload entity is between 41% and 50%. + /// Match rate range for offline data upload entity is between 41% and 50%. MatchRange41To50 = 5, - /// Match rate range for offline data upload entity is between 51% and 60%. + /// Match rate range for offline data upload entity is between 51% and 60%. MatchRange51To60 = 6, - /// Match rate range for offline data upload entity is between 61% and 70%. + /// Match rate range for offline data upload entity is between 61% and 70%. MatchRange61To70 = 7, - /// Match rate range for offline data upload entity is between 71% and 80%. + /// Match rate range for offline data upload entity is between 71% and 80%. MatchRange71To80 = 8, - /// Match rate range for offline data upload entity is between 81% and 90%. + /// Match rate range for offline data upload entity is between 81% and 90%. MatchRange81To90 = 9, - /// Match rate range for offline data upload entity more than or equal to - /// 91%. + /// Match rate range for offline data upload entity more than or equal to + /// 91%. MatchRange91To100 = 10, } impl OfflineUserDataJobMatchRateRange { @@ -13400,29 +13400,29 @@ pub mod offline_user_data_job_match_rate_range_enum { } } } -// Proto file describing offline user data job status. +// Proto file describing offline user data job status. -/// Container for enum describing status of an offline user data job. +/// Container for enum describing status of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobStatusEnum { } /// Nested message and enum types in `OfflineUserDataJobStatusEnum`. pub mod offline_user_data_job_status_enum { - /// The status of an offline user data job. + /// The status of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job has been successfully created and pending for uploading. + /// The job has been successfully created and pending for uploading. Pending = 2, - /// Upload(s) have been accepted and data is being processed. + /// Upload(s) have been accepted and data is being processed. Running = 3, - /// Uploaded data has been successfully processed. + /// Uploaded data has been successfully processed. Success = 4, - /// Uploaded data has failed to be processed. + /// Uploaded data has failed to be processed. Failed = 5, } impl OfflineUserDataJobStatus { @@ -13442,29 +13442,29 @@ pub mod offline_user_data_job_status_enum { } } } -// Proto file describing offline user data job types. +// Proto file describing offline user data job types. -/// Container for enum describing types of an offline user data job. +/// Container for enum describing types of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobTypeEnum { } /// Nested message and enum types in `OfflineUserDataJobTypeEnum`. pub mod offline_user_data_job_type_enum { - /// The type of an offline user data job. + /// The type of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Store Sales Direct data for self service. + /// Store Sales Direct data for self service. StoreSalesUploadFirstParty = 2, - /// Store Sales Direct data for third party. + /// Store Sales Direct data for third party. StoreSalesUploadThirdParty = 3, - /// Customer Match user list data. + /// Customer Match user list data. CustomerMatchUserList = 4, - /// Customer Match with attribute data. + /// Customer Match with attribute data. CustomerMatchWithAttributes = 5, } impl OfflineUserDataJobType { @@ -13484,25 +13484,25 @@ pub mod offline_user_data_job_type_enum { } } } -// Proto file describing operating system version operator types. +// Proto file describing operating system version operator types. -/// Container for enum describing the type of OS operators. +/// Container for enum describing the type of OS operators. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionOperatorTypeEnum { } /// Nested message and enum types in `OperatingSystemVersionOperatorTypeEnum`. pub mod operating_system_version_operator_type_enum { - /// The type of operating system version. + /// The type of operating system version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatingSystemVersionOperatorType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals to the specified version. + /// Equals to the specified version. EqualsTo = 2, - /// Greater than or equals to the specified version. + /// Greater than or equals to the specified version. GreaterThanEqualsTo = 4, } impl OperatingSystemVersionOperatorType { @@ -13520,32 +13520,32 @@ pub mod operating_system_version_operator_type_enum { } } } -// Proto file describing optimization goal type. +// Proto file describing optimization goal type. -/// Container for enum describing the type of optimization goal. +/// Container for enum describing the type of optimization goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalTypeEnum { } /// Nested message and enum types in `OptimizationGoalTypeEnum`. pub mod optimization_goal_type_enum { - /// The type of optimization goal + /// The type of optimization goal #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptimizationGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Optimize for call clicks. Call click conversions are times people - /// selected 'Call' to contact a store after viewing an ad. + /// Optimize for call clicks. Call click conversions are times people + /// selected 'Call' to contact a store after viewing an ad. CallClicks = 2, - /// Optimize for driving directions. Driving directions conversions are - /// times people selected 'Get directions' to navigate to a store after - /// viewing an ad. + /// Optimize for driving directions. Driving directions conversions are + /// times people selected 'Get directions' to navigate to a store after + /// viewing an ad. DrivingDirections = 3, - /// Optimize for pre-registration. Pre-registration conversions are the - /// number of pre-registration signups to receive a notification when the app - /// is released. + /// Optimize for pre-registration. Pre-registration conversions are the + /// number of pre-registration signups to receive a notification when the app + /// is released. AppPreRegistration = 4, } impl OptimizationGoalType { @@ -13564,37 +13564,37 @@ pub mod optimization_goal_type_enum { } } } -// Proto file describing payment modes. +// Proto file describing payment modes. -/// Container for enum describing possible payment modes. +/// Container for enum describing possible payment modes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentModeEnum { } /// Nested message and enum types in `PaymentModeEnum`. pub mod payment_mode_enum { - /// Enum describing possible payment modes. + /// Enum describing possible payment modes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Pay per click. + /// Pay per click. Clicks = 4, - /// Pay per conversion value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.STANDARD. + /// Pay per conversion value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.STANDARD. ConversionValue = 5, - /// Pay per conversion. This mode is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - /// and BudgetType.FIXED_CPA. The customer must also be eligible for this - /// mode. See Customer.eligibility_failure_reasons for details. + /// Pay per conversion. This mode is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, + /// and BudgetType.FIXED_CPA. The customer must also be eligible for this + /// mode. See Customer.eligibility_failure_reasons for details. Conversions = 6, - /// Pay per guest stay value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.STANDARD. + /// Pay per guest stay value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.STANDARD. GuestStay = 7, } impl PaymentMode { @@ -13614,30 +13614,30 @@ pub mod payment_mode_enum { } } } -// Proto file describing advertising channel types +// Proto file describing advertising channel types -/// Performance Max Upgrade status for campaign. +/// Performance Max Upgrade status for campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PerformanceMaxUpgradeStatusEnum { } /// Nested message and enum types in `PerformanceMaxUpgradeStatusEnum`. pub mod performance_max_upgrade_status_enum { - /// Performance Max Upgrade status enum for campaign. + /// Performance Max Upgrade status enum for campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PerformanceMaxUpgradeStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign is eligible for upgrade to a Performance Max campaign. + /// The campaign is eligible for upgrade to a Performance Max campaign. UpgradeElibigle = 2, - /// The upgrade to a Performance Max campaign is in progress. + /// The upgrade to a Performance Max campaign is in progress. UpgradeInProgress = 3, - /// The upgrade to a Performance Max campaign is complete. + /// The upgrade to a Performance Max campaign is complete. UpgradeComplete = 4, - /// The upgrade to a Performance Max campaign failed. - /// The campaign will still serve as it was before upgrade was attempted. + /// The upgrade to a Performance Max campaign failed. + /// The campaign will still serve as it was before upgrade was attempted. UpgradeFailed = 5, } impl PerformanceMaxUpgradeStatus { @@ -13657,31 +13657,31 @@ pub mod performance_max_upgrade_status_enum { } } } -// Proto file describing placement types. +// Proto file describing placement types. -/// Container for enum describing possible placement types. +/// Container for enum describing possible placement types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementTypeEnum { } /// Nested message and enum types in `PlacementTypeEnum`. pub mod placement_type_enum { - /// Possible placement types for a feed mapping. + /// Possible placement types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlacementType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Websites(for example, 'www.flowers4sale.com'). + /// Websites(for example, 'www.flowers4sale.com'). Website = 2, - /// Mobile application categories(for example, 'Games'). + /// Mobile application categories(for example, 'Games'). MobileAppCategory = 3, - /// mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). + /// mobile applications(for example, 'mobileapp::2-com.whatsthewordanswers'). MobileApplication = 4, - /// YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). + /// YouTube videos(for example, 'youtube.com/video/wtLJPvx7-ys'). YoutubeVideo = 5, - /// YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). + /// YouTube channels(for example, 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). YoutubeChannel = 6, } impl PlacementType { @@ -13702,32 +13702,32 @@ pub mod placement_type_enum { } } } -// Proto file describing positive geo target types. +// Proto file describing positive geo target types. -/// Container for enum describing possible positive geo target types. +/// Container for enum describing possible positive geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositiveGeoTargetTypeEnum { } /// Nested message and enum types in `PositiveGeoTargetTypeEnum`. pub mod positive_geo_target_type_enum { - /// The possible positive geo target types. + /// The possible positive geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PositiveGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that an ad is triggered if the user is in, - /// or shows interest in, advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in, + /// or shows interest in, advertiser's targeted locations. PresenceOrInterest = 5, - /// Specifies that an ad is triggered if the user - /// searches for advertiser's targeted locations. - /// This can only be used with Search and standard - /// Shopping campaigns. + /// Specifies that an ad is triggered if the user + /// searches for advertiser's targeted locations. + /// This can only be used with Search and standard + /// Shopping campaigns. SearchInterest = 6, - /// Specifies that an ad is triggered if the user is in - /// or regularly in advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in + /// or regularly in advertiser's targeted locations. Presence = 7, } impl PositiveGeoTargetType { @@ -13746,172 +13746,172 @@ pub mod positive_geo_target_type_enum { } } } -// Proto file describing Price placeholder fields. +// Proto file describing Price placeholder fields. -/// Values for Price placeholder fields. +/// Values for Price placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricePlaceholderFieldEnum { } /// Nested message and enum types in `PricePlaceholderFieldEnum`. pub mod price_placeholder_field_enum { - /// Possible values for Price placeholder fields. + /// Possible values for Price placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PricePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The type of your price feed. Must match one of the - /// predefined price feed type exactly. + /// Data Type: STRING. The type of your price feed. Must match one of the + /// predefined price feed type exactly. Type = 2, - /// Data Type: STRING. The qualifier of each price. Must match one of the - /// predefined price qualifiers exactly. + /// Data Type: STRING. The qualifier of each price. Must match one of the + /// predefined price qualifiers exactly. PriceQualifier = 3, - /// Data Type: URL. Tracking template for the price feed when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the price feed when using Upgraded + /// URLs. TrackingTemplate = 4, - /// Data Type: STRING. Language of the price feed. Must match one of the - /// available available locale codes exactly. + /// Data Type: STRING. Language of the price feed. Must match one of the + /// available available locale codes exactly. Language = 5, - /// Data Type: STRING. Final URL suffix for the price feed when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the price feed when using + /// parallel tracking. FinalUrlSuffix = 6, - /// Data Type: STRING. The header of item 1 of the table. + /// Data Type: STRING. The header of item 1 of the table. Item1Header = 100, - /// Data Type: STRING. The description of item 1 of the table. + /// Data Type: STRING. The description of item 1 of the table. Item1Description = 101, - /// Data Type: MONEY. The price (money with currency) of item 1 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 1 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item1Price = 102, - /// Data Type: STRING. The price unit of item 1 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 1 of the table. Must match one + /// of the predefined price units. Item1Unit = 103, - /// Data Type: URL_LIST. The final URLs of item 1 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 1 of the table when using + /// Upgraded URLs. Item1FinalUrls = 104, - /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when + /// using Upgraded URLs. Item1FinalMobileUrls = 105, - /// Data Type: STRING. The header of item 2 of the table. + /// Data Type: STRING. The header of item 2 of the table. Item2Header = 200, - /// Data Type: STRING. The description of item 2 of the table. + /// Data Type: STRING. The description of item 2 of the table. Item2Description = 201, - /// Data Type: MONEY. The price (money with currency) of item 2 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 2 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item2Price = 202, - /// Data Type: STRING. The price unit of item 2 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 2 of the table. Must match one + /// of the predefined price units. Item2Unit = 203, - /// Data Type: URL_LIST. The final URLs of item 2 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 2 of the table when using + /// Upgraded URLs. Item2FinalUrls = 204, - /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when + /// using Upgraded URLs. Item2FinalMobileUrls = 205, - /// Data Type: STRING. The header of item 3 of the table. + /// Data Type: STRING. The header of item 3 of the table. Item3Header = 300, - /// Data Type: STRING. The description of item 3 of the table. + /// Data Type: STRING. The description of item 3 of the table. Item3Description = 301, - /// Data Type: MONEY. The price (money with currency) of item 3 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 3 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item3Price = 302, - /// Data Type: STRING. The price unit of item 3 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 3 of the table. Must match one + /// of the predefined price units. Item3Unit = 303, - /// Data Type: URL_LIST. The final URLs of item 3 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 3 of the table when using + /// Upgraded URLs. Item3FinalUrls = 304, - /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when + /// using Upgraded URLs. Item3FinalMobileUrls = 305, - /// Data Type: STRING. The header of item 4 of the table. + /// Data Type: STRING. The header of item 4 of the table. Item4Header = 400, - /// Data Type: STRING. The description of item 4 of the table. + /// Data Type: STRING. The description of item 4 of the table. Item4Description = 401, - /// Data Type: MONEY. The price (money with currency) of item 4 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 4 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item4Price = 402, - /// Data Type: STRING. The price unit of item 4 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 4 of the table. Must match one + /// of the predefined price units. Item4Unit = 403, - /// Data Type: URL_LIST. The final URLs of item 4 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 4 of the table when using + /// Upgraded URLs. Item4FinalUrls = 404, - /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when + /// using Upgraded URLs. Item4FinalMobileUrls = 405, - /// Data Type: STRING. The header of item 5 of the table. + /// Data Type: STRING. The header of item 5 of the table. Item5Header = 500, - /// Data Type: STRING. The description of item 5 of the table. + /// Data Type: STRING. The description of item 5 of the table. Item5Description = 501, - /// Data Type: MONEY. The price (money with currency) of item 5 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 5 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item5Price = 502, - /// Data Type: STRING. The price unit of item 5 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 5 of the table. Must match one + /// of the predefined price units. Item5Unit = 503, - /// Data Type: URL_LIST. The final URLs of item 5 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 5 of the table when using + /// Upgraded URLs. Item5FinalUrls = 504, - /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when + /// using Upgraded URLs. Item5FinalMobileUrls = 505, - /// Data Type: STRING. The header of item 6 of the table. + /// Data Type: STRING. The header of item 6 of the table. Item6Header = 600, - /// Data Type: STRING. The description of item 6 of the table. + /// Data Type: STRING. The description of item 6 of the table. Item6Description = 601, - /// Data Type: MONEY. The price (money with currency) of item 6 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 6 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item6Price = 602, - /// Data Type: STRING. The price unit of item 6 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 6 of the table. Must match one + /// of the predefined price units. Item6Unit = 603, - /// Data Type: URL_LIST. The final URLs of item 6 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 6 of the table when using + /// Upgraded URLs. Item6FinalUrls = 604, - /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when + /// using Upgraded URLs. Item6FinalMobileUrls = 605, - /// Data Type: STRING. The header of item 7 of the table. + /// Data Type: STRING. The header of item 7 of the table. Item7Header = 700, - /// Data Type: STRING. The description of item 7 of the table. + /// Data Type: STRING. The description of item 7 of the table. Item7Description = 701, - /// Data Type: MONEY. The price (money with currency) of item 7 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 7 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item7Price = 702, - /// Data Type: STRING. The price unit of item 7 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 7 of the table. Must match one + /// of the predefined price units. Item7Unit = 703, - /// Data Type: URL_LIST. The final URLs of item 7 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 7 of the table when using + /// Upgraded URLs. Item7FinalUrls = 704, - /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when + /// using Upgraded URLs. Item7FinalMobileUrls = 705, - /// Data Type: STRING. The header of item 8 of the table. + /// Data Type: STRING. The header of item 8 of the table. Item8Header = 800, - /// Data Type: STRING. The description of item 8 of the table. + /// Data Type: STRING. The description of item 8 of the table. Item8Description = 801, - /// Data Type: MONEY. The price (money with currency) of item 8 of the table, - /// for example, 30 USD. The currency must match one of the available - /// currencies. + /// Data Type: MONEY. The price (money with currency) of item 8 of the table, + /// for example, 30 USD. The currency must match one of the available + /// currencies. Item8Price = 802, - /// Data Type: STRING. The price unit of item 8 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 8 of the table. Must match one + /// of the predefined price units. Item8Unit = 803, - /// Data Type: URL_LIST. The final URLs of item 8 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 8 of the table when using + /// Upgraded URLs. Item8FinalUrls = 804, - /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when + /// using Upgraded URLs. Item8FinalMobileUrls = 805, } impl PricePlaceholderField { @@ -13980,25 +13980,25 @@ pub mod price_placeholder_field_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Status of the product bidding category. +/// Status of the product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryStatusEnum { } /// Nested message and enum types in `ProductBiddingCategoryStatusEnum`. pub mod product_bidding_category_status_enum { - /// Enum describing the status of the product bidding category. + /// Enum describing the status of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is active and can be used for bidding. + /// The category is active and can be used for bidding. Active = 2, - /// The category is obsolete. Used only for reporting purposes. + /// The category is obsolete. Used only for reporting purposes. Obsolete = 3, } impl ProductBiddingCategoryStatus { @@ -14016,58 +14016,58 @@ pub mod product_bidding_category_status_enum { } } } -// Proto file describing Promotion placeholder fields. +// Proto file describing Promotion placeholder fields. -/// Values for Promotion placeholder fields. +/// Values for Promotion placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionPlaceholderFieldEnum { } /// Nested message and enum types in `PromotionPlaceholderFieldEnum`. pub mod promotion_placeholder_field_enum { - /// Possible values for Promotion placeholder fields. + /// Possible values for Promotion placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The text that appears on the ad when the extension is - /// shown. + /// Data Type: STRING. The text that appears on the ad when the extension is + /// shown. PromotionTarget = 2, - /// Data Type: STRING. Lets you add "up to" phrase to the promotion, - /// in case you have variable promotion rates. + /// Data Type: STRING. Lets you add "up to" phrase to the promotion, + /// in case you have variable promotion rates. DiscountModifier = 3, - /// Data Type: INT64. Takes a value in micros, where 1 million micros - /// represents 1%, and is shown as a percentage when rendered. + /// Data Type: INT64. Takes a value in micros, where 1 million micros + /// represents 1%, and is shown as a percentage when rendered. PercentOff = 4, - /// Data Type: MONEY. Requires a currency and an amount of money. + /// Data Type: MONEY. Requires a currency and an amount of money. MoneyAmountOff = 5, - /// Data Type: STRING. A string that the user enters to get the discount. + /// Data Type: STRING. A string that the user enters to get the discount. PromotionCode = 6, - /// Data Type: MONEY. A minimum spend before the user qualifies for the - /// promotion. + /// Data Type: MONEY. A minimum spend before the user qualifies for the + /// promotion. OrdersOverAmount = 7, - /// Data Type: DATE. The start date of the promotion. + /// Data Type: DATE. The start date of the promotion. PromotionStart = 8, - /// Data Type: DATE. The end date of the promotion. + /// Data Type: DATE. The end date of the promotion. PromotionEnd = 9, - /// Data Type: STRING. Describes the associated event for the promotion using - /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. + /// Data Type: STRING. Describes the associated event for the promotion using + /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. Occasion = 10, - /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded + /// URLs. FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING. A string represented by a language code for the - /// promotion. + /// Data Type: STRING. A string represented by a language code for the + /// promotion. Language = 14, - /// Data Type: STRING. Final URL suffix for the ad when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for the ad when using parallel + /// tracking. FinalUrlSuffix = 15, } impl PromotionPlaceholderField { @@ -14097,27 +14097,27 @@ pub mod promotion_placeholder_field_enum { } } } -// Proto file describing ad lengths of a plannable video ad. +// Proto file describing ad lengths of a plannable video ad. -/// Message describing length of a plannable video ad. +/// Message describing length of a plannable video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAdLengthEnum { } /// Nested message and enum types in `ReachPlanAdLengthEnum`. pub mod reach_plan_ad_length_enum { - /// Possible ad length values. + /// Possible ad length values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAdLength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// 6 seconds long ad. + /// 6 seconds long ad. SixSeconds = 2, - /// 15 or 20 seconds long ad. + /// 15 or 20 seconds long ad. FifteenOrTwentySeconds = 3, - /// More than 20 seconds long ad. + /// More than 20 seconds long ad. TwentySecondsOrMore = 4, } impl ReachPlanAdLength { @@ -14136,73 +14136,73 @@ pub mod reach_plan_ad_length_enum { } } } -// Proto file describing a plannable age range. +// Proto file describing a plannable age range. -/// Message describing plannable age ranges. +/// Message describing plannable age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAgeRangeEnum { } /// Nested message and enum types in `ReachPlanAgeRangeEnum`. pub mod reach_plan_age_range_enum { - /// Possible plannable age range values. + /// Possible plannable age range values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAgeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 18 and 34 years old. + /// Between 18 and 34 years old. AgeRange1834 = 2, - /// Between 18 and 44 years old. + /// Between 18 and 44 years old. AgeRange1844 = 3, - /// Between 18 and 49 years old. + /// Between 18 and 49 years old. AgeRange1849 = 4, - /// Between 18 and 54 years old. + /// Between 18 and 54 years old. AgeRange1854 = 5, - /// Between 18 and 64 years old. + /// Between 18 and 64 years old. AgeRange1864 = 6, - /// Between 18 and 65+ years old. + /// Between 18 and 65+ years old. AgeRange1865Up = 7, - /// Between 21 and 34 years old. + /// Between 21 and 34 years old. AgeRange2134 = 8, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 25 and 44 years old. + /// Between 25 and 44 years old. AgeRange2544 = 9, - /// Between 25 and 49 years old. + /// Between 25 and 49 years old. AgeRange2549 = 10, - /// Between 25 and 54 years old. + /// Between 25 and 54 years old. AgeRange2554 = 11, - /// Between 25 and 64 years old. + /// Between 25 and 64 years old. AgeRange2564 = 12, - /// Between 25 and 65+ years old. + /// Between 25 and 65+ years old. AgeRange2565Up = 13, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 35 and 49 years old. + /// Between 35 and 49 years old. AgeRange3549 = 14, - /// Between 35 and 54 years old. + /// Between 35 and 54 years old. AgeRange3554 = 15, - /// Between 35 and 64 years old. + /// Between 35 and 64 years old. AgeRange3564 = 16, - /// Between 35 and 65+ years old. + /// Between 35 and 65+ years old. AgeRange3565Up = 17, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 45 and 64 years old. + /// Between 45 and 64 years old. AgeRange4564 = 18, - /// Between 45 and 65+ years old. + /// Between 45 and 65+ years old. AgeRange4565Up = 19, - /// Between 50 and 65+ years old. + /// Between 50 and 65+ years old. AgeRange5065Up = 20, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// Between 55 and 65+ years old. + /// Between 55 and 65+ years old. AgeRange5565Up = 21, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, } impl ReachPlanAgeRange { @@ -14244,28 +14244,28 @@ pub mod reach_plan_age_range_enum { } } } -// Proto file describing a plannable network. +// Proto file describing a plannable network. -/// Container for enum describing plannable networks. +/// Container for enum describing plannable networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanNetworkEnum { } /// Nested message and enum types in `ReachPlanNetworkEnum`. pub mod reach_plan_network_enum { - /// Possible plannable network values. + /// Possible plannable network values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube network. + /// YouTube network. Youtube = 2, - /// Google Video Partners (GVP) network. + /// Google Video Partners (GVP) network. GoogleVideoPartners = 3, - /// A combination of the YouTube network and the Google Video Partners - /// network. + /// A combination of the YouTube network and the Google Video Partners + /// network. YoutubeAndGoogleVideoPartners = 4, } impl ReachPlanNetwork { @@ -14284,74 +14284,74 @@ pub mod reach_plan_network_enum { } } } -// Proto file describing Real Estate placeholder fields. +// Proto file describing Real Estate placeholder fields. -/// Values for Real Estate placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Real Estate placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealEstatePlaceholderFieldEnum { } /// Nested message and enum types in `RealEstatePlaceholderFieldEnum`. pub mod real_estate_placeholder_field_enum { - /// Possible values for Real Estate placeholder fields. + /// Possible values for Real Estate placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RealEstatePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Unique ID. + /// Data Type: STRING. Unique ID. ListingId = 2, - /// Data Type: STRING. Main headline with listing name to be shown in dynamic - /// ad. + /// Data Type: STRING. Main headline with listing name to be shown in dynamic + /// ad. ListingName = 3, - /// Data Type: STRING. City name to be shown in dynamic ad. + /// Data Type: STRING. City name to be shown in dynamic ad. CityName = 4, - /// Data Type: STRING. Description of listing to be shown in dynamic ad. + /// Data Type: STRING. Description of listing to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete listing address, including postal code. + /// Data Type: STRING. Complete listing address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 9, - /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used - /// to group like items together for recommendation engine. + /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used + /// to group like items together for recommendation engine. PropertyType = 10, - /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - /// used to group like items together for recommendation engine. + /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) + /// used to group like items together for recommendation engine. ListingType = 11, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 12, - /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - /// URLs; the more specific the better (for example, the individual URL of a - /// specific listing and its location). + /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded + /// URLs; the more specific the better (for example, the individual URL of a + /// specific listing and its location). FinalUrls = 13, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended listing IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended listing IDs to show together + /// with this item. SimilarListingIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl RealEstatePlaceholderField { @@ -14385,29 +14385,29 @@ pub mod real_estate_placeholder_field_enum { } } } -// Proto file describing the resource change operations in change event. +// Proto file describing the resource change operations in change event. -/// Container for enum describing resource change operations -/// in the ChangeEvent resource. +/// Container for enum describing resource change operations +/// in the ChangeEvent resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceChangeOperationEnum { } /// Nested message and enum types in `ResourceChangeOperationEnum`. pub mod resource_change_operation_enum { - /// The operation on the changed resource in change_event resource. + /// The operation on the changed resource in change_event resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceChangeOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Create = 2, - /// The resource was modified. + /// The resource was modified. Update = 3, - /// The resource was removed. + /// The resource was removed. Remove = 4, } impl ResourceChangeOperation { @@ -14426,310 +14426,310 @@ pub mod resource_change_operation_enum { } } } -/// Container for enum describing possible resource limit types. +/// Container for enum describing possible resource limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceLimitTypeEnum { } /// Nested message and enum types in `ResourceLimitTypeEnum`. pub mod resource_limit_type_enum { - /// Resource limit type. + /// Resource limit type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceLimitType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// Number of ENABLED and PAUSED campaigns per customer. + /// Number of ENABLED and PAUSED campaigns per customer. CampaignsPerCustomer = 2, - /// Number of ENABLED and PAUSED base campaigns per customer. + /// Number of ENABLED and PAUSED base campaigns per customer. BaseCampaignsPerCustomer = 3, - /// Number of ENABLED and PAUSED experiment campaigns per customer. + /// Number of ENABLED and PAUSED experiment campaigns per customer. ExperimentCampaignsPerCustomer = 105, - /// Number of ENABLED and PAUSED Hotel campaigns per customer. + /// Number of ENABLED and PAUSED Hotel campaigns per customer. HotelCampaignsPerCustomer = 4, - /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. + /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. SmartShoppingCampaignsPerCustomer = 5, - /// Number of ENABLED ad groups per campaign. + /// Number of ENABLED ad groups per campaign. AdGroupsPerCampaign = 6, - /// Number of ENABLED ad groups per Shopping campaign. + /// Number of ENABLED ad groups per Shopping campaign. AdGroupsPerShoppingCampaign = 8, - /// Number of ENABLED ad groups per Hotel campaign. + /// Number of ENABLED ad groups per Hotel campaign. AdGroupsPerHotelCampaign = 9, - /// Number of ENABLED reporting ad groups per local campaign. + /// Number of ENABLED reporting ad groups per local campaign. ReportingAdGroupsPerLocalCampaign = 10, - /// Number of ENABLED reporting ad groups per App campaign. It includes app - /// campaign and app campaign for engagement. + /// Number of ENABLED reporting ad groups per App campaign. It includes app + /// campaign and app campaign for engagement. ReportingAdGroupsPerAppCampaign = 11, - /// Number of ENABLED managed ad groups per smart campaign. + /// Number of ENABLED managed ad groups per smart campaign. ManagedAdGroupsPerSmartCampaign = 52, - /// Number of ENABLED ad group criteria per customer. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED - /// 3. its campaign is not REMOVED. + /// Number of ENABLED ad group criteria per customer. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED + /// 3. its campaign is not REMOVED. AdGroupCriteriaPerCustomer = 12, - /// Number of ad group criteria across all base campaigns for a customer. + /// Number of ad group criteria across all base campaigns for a customer. BaseAdGroupCriteriaPerCustomer = 13, - /// Number of ad group criteria across all experiment campaigns for a - /// customer. + /// Number of ad group criteria across all experiment campaigns for a + /// customer. ExperimentAdGroupCriteriaPerCustomer = 107, - /// Number of ENABLED ad group criteria per campaign. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED. + /// Number of ENABLED ad group criteria per campaign. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED. AdGroupCriteriaPerCampaign = 14, - /// Number of ENABLED campaign criteria per customer. + /// Number of ENABLED campaign criteria per customer. CampaignCriteriaPerCustomer = 15, - /// Number of ENABLED campaign criteria across all base campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all base campaigns for a + /// customer. BaseCampaignCriteriaPerCustomer = 16, - /// Number of ENABLED campaign criteria across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all experiment campaigns for a + /// customer. ExperimentCampaignCriteriaPerCustomer = 108, - /// Number of ENABLED webpage criteria per customer, including - /// campaign level and ad group level. + /// Number of ENABLED webpage criteria per customer, including + /// campaign level and ad group level. WebpageCriteriaPerCustomer = 17, - /// Number of ENABLED webpage criteria across all base campaigns for - /// a customer. + /// Number of ENABLED webpage criteria across all base campaigns for + /// a customer. BaseWebpageCriteriaPerCustomer = 18, - /// Meximum number of ENABLED webpage criteria across all experiment - /// campaigns for a customer. + /// Meximum number of ENABLED webpage criteria across all experiment + /// campaigns for a customer. ExperimentWebpageCriteriaPerCustomer = 19, - /// Number of combined audience criteria per ad group. + /// Number of combined audience criteria per ad group. CombinedAudienceCriteriaPerAdGroup = 20, - /// Limit for placement criterion type group in customer negative criterion. + /// Limit for placement criterion type group in customer negative criterion. CustomerNegativePlacementCriteriaPerCustomer = 21, - /// Limit for YouTube TV channels in customer negative criterion. + /// Limit for YouTube TV channels in customer negative criterion. CustomerNegativeYoutubeChannelCriteriaPerCustomer = 22, - /// Number of ENABLED criteria per ad group. + /// Number of ENABLED criteria per ad group. CriteriaPerAdGroup = 23, - /// Number of listing group criteria per ad group. + /// Number of listing group criteria per ad group. ListingGroupsPerAdGroup = 24, - /// Number of ENABLED explicitly shared budgets per customer. + /// Number of ENABLED explicitly shared budgets per customer. ExplicitlySharedBudgetsPerCustomer = 25, - /// Number of ENABLED implicitly shared budgets per customer. + /// Number of ENABLED implicitly shared budgets per customer. ImplicitlySharedBudgetsPerCustomer = 26, - /// Number of combined audience criteria per campaign. + /// Number of combined audience criteria per campaign. CombinedAudienceCriteriaPerCampaign = 27, - /// Number of negative keywords per campaign. + /// Number of negative keywords per campaign. NegativeKeywordsPerCampaign = 28, - /// Number of excluded campaign criteria in placement dimension, for example, - /// placement, mobile application, YouTube channel, etc. The API criterion - /// type is NOT limited to placement only, and this does not include - /// exclusions at the ad group or other levels. + /// Number of excluded campaign criteria in placement dimension, for example, + /// placement, mobile application, YouTube channel, etc. The API criterion + /// type is NOT limited to placement only, and this does not include + /// exclusions at the ad group or other levels. NegativePlacementsPerCampaign = 29, - /// Number of geo targets per campaign. + /// Number of geo targets per campaign. GeoTargetsPerCampaign = 30, - /// Number of negative IP blocks per campaign. + /// Number of negative IP blocks per campaign. NegativeIpBlocksPerCampaign = 32, - /// Number of proximity targets per campaign. + /// Number of proximity targets per campaign. ProximitiesPerCampaign = 33, - /// Number of listing scopes per Shopping campaign. + /// Number of listing scopes per Shopping campaign. ListingScopesPerShoppingCampaign = 34, - /// Number of listing scopes per non-Shopping campaign. + /// Number of listing scopes per non-Shopping campaign. ListingScopesPerNonShoppingCampaign = 35, - /// Number of criteria per negative keyword shared set. + /// Number of criteria per negative keyword shared set. NegativeKeywordsPerSharedSet = 36, - /// Number of criteria per negative placement shared set. + /// Number of criteria per negative placement shared set. NegativePlacementsPerSharedSet = 37, - /// Default number of shared sets allowed per type per customer. + /// Default number of shared sets allowed per type per customer. SharedSetsPerCustomerForTypeDefault = 40, - /// Number of shared sets of negative placement list type for a - /// manager customer. + /// Number of shared sets of negative placement list type for a + /// manager customer. SharedSetsPerCustomerForNegativePlacementListLower = 41, - /// Number of hotel_advance_booking_window bid modifiers per ad group. + /// Number of hotel_advance_booking_window bid modifiers per ad group. HotelAdvanceBookingWindowBidModifiersPerAdGroup = 44, - /// Number of ENABLED shared bidding strategies per customer. + /// Number of ENABLED shared bidding strategies per customer. BiddingStrategiesPerCustomer = 45, - /// Number of open basic user lists per customer. + /// Number of open basic user lists per customer. BasicUserListsPerCustomer = 47, - /// Number of open logical user lists per customer. + /// Number of open logical user lists per customer. LogicalUserListsPerCustomer = 48, - /// Number of open rule based user lists per customer. + /// Number of open rule based user lists per customer. RuleBasedUserListsPerCustomer = 153, - /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a - /// customer. + /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a + /// customer. BaseAdGroupAdsPerCustomer = 53, - /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns - /// for a customer. + /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns + /// for a customer. ExperimentAdGroupAdsPerCustomer = 54, - /// Number of ENABLED and PAUSED ad group ads per campaign. + /// Number of ENABLED and PAUSED ad group ads per campaign. AdGroupAdsPerCampaign = 55, - /// Number of ENABLED ads per ad group that do not fall in to other buckets. - /// Includes text and many other types. + /// Number of ENABLED ads per ad group that do not fall in to other buckets. + /// Includes text and many other types. TextAndOtherAdsPerAdGroup = 56, - /// Number of ENABLED image ads per ad group. + /// Number of ENABLED image ads per ad group. ImageAdsPerAdGroup = 57, - /// Number of ENABLED shopping smart ads per ad group. + /// Number of ENABLED shopping smart ads per ad group. ShoppingSmartAdsPerAdGroup = 58, - /// Number of ENABLED responsive search ads per ad group. + /// Number of ENABLED responsive search ads per ad group. ResponsiveSearchAdsPerAdGroup = 59, - /// Number of ENABLED app ads per ad group. + /// Number of ENABLED app ads per ad group. AppAdsPerAdGroup = 60, - /// Number of ENABLED app engagement ads per ad group. + /// Number of ENABLED app engagement ads per ad group. AppEngagementAdsPerAdGroup = 61, - /// Number of ENABLED local ads per ad group. + /// Number of ENABLED local ads per ad group. LocalAdsPerAdGroup = 62, - /// Number of ENABLED video ads per ad group. + /// Number of ENABLED video ads per ad group. VideoAdsPerAdGroup = 63, - /// Number of ENABLED lead form CampaignAssets per campaign. + /// Number of ENABLED lead form CampaignAssets per campaign. LeadFormCampaignAssetsPerCampaign = 143, - /// Number of ENABLED promotion CustomerAssets per customer. + /// Number of ENABLED promotion CustomerAssets per customer. PromotionCustomerAssetsPerCustomer = 79, - /// Number of ENABLED promotion CampaignAssets per campaign. + /// Number of ENABLED promotion CampaignAssets per campaign. PromotionCampaignAssetsPerCampaign = 80, - /// Number of ENABLED promotion AdGroupAssets per ad group. + /// Number of ENABLED promotion AdGroupAssets per ad group. PromotionAdGroupAssetsPerAdGroup = 81, - /// Number of ENABLED callout CustomerAssets per customer. + /// Number of ENABLED callout CustomerAssets per customer. CalloutCustomerAssetsPerCustomer = 134, - /// Number of ENABLED callout CampaignAssets per campaign. + /// Number of ENABLED callout CampaignAssets per campaign. CalloutCampaignAssetsPerCampaign = 135, - /// Number of ENABLED callout AdGroupAssets per ad group. + /// Number of ENABLED callout AdGroupAssets per ad group. CalloutAdGroupAssetsPerAdGroup = 136, - /// Number of ENABLED sitelink CustomerAssets per customer. + /// Number of ENABLED sitelink CustomerAssets per customer. SitelinkCustomerAssetsPerCustomer = 137, - /// Number of ENABLED sitelink CampaignAssets per campaign. + /// Number of ENABLED sitelink CampaignAssets per campaign. SitelinkCampaignAssetsPerCampaign = 138, - /// Number of ENABLED sitelink AdGroupAssets per ad group. + /// Number of ENABLED sitelink AdGroupAssets per ad group. SitelinkAdGroupAssetsPerAdGroup = 139, - /// Number of ENABLED structured snippet CustomerAssets per customer. + /// Number of ENABLED structured snippet CustomerAssets per customer. StructuredSnippetCustomerAssetsPerCustomer = 140, - /// Number of ENABLED structured snippet CampaignAssets per campaign. + /// Number of ENABLED structured snippet CampaignAssets per campaign. StructuredSnippetCampaignAssetsPerCampaign = 141, - /// Number of ENABLED structured snippet AdGroupAssets per ad group. + /// Number of ENABLED structured snippet AdGroupAssets per ad group. StructuredSnippetAdGroupAssetsPerAdGroup = 142, - /// Number of ENABLED mobile app CustomerAssets per customer. + /// Number of ENABLED mobile app CustomerAssets per customer. MobileAppCustomerAssetsPerCustomer = 144, - /// Number of ENABLED mobile app CampaignAssets per campaign. + /// Number of ENABLED mobile app CampaignAssets per campaign. MobileAppCampaignAssetsPerCampaign = 145, - /// Number of ENABLED mobile app AdGroupAssets per ad group. + /// Number of ENABLED mobile app AdGroupAssets per ad group. MobileAppAdGroupAssetsPerAdGroup = 146, - /// Number of ENABLED hotel callout CustomerAssets per customer. + /// Number of ENABLED hotel callout CustomerAssets per customer. HotelCalloutCustomerAssetsPerCustomer = 147, - /// Number of ENABLED hotel callout CampaignAssets per campaign. + /// Number of ENABLED hotel callout CampaignAssets per campaign. HotelCalloutCampaignAssetsPerCampaign = 148, - /// Number of ENABLED hotel callout AdGroupAssets per ad group. + /// Number of ENABLED hotel callout AdGroupAssets per ad group. HotelCalloutAdGroupAssetsPerAdGroup = 149, - /// Number of ENABLED call CustomerAssets per customer. + /// Number of ENABLED call CustomerAssets per customer. CallCustomerAssetsPerCustomer = 150, - /// Number of ENABLED call CampaignAssets per campaign. + /// Number of ENABLED call CampaignAssets per campaign. CallCampaignAssetsPerCampaign = 151, - /// Number of ENABLED call AdGroupAssets per ad group. + /// Number of ENABLED call AdGroupAssets per ad group. CallAdGroupAssetsPerAdGroup = 152, - /// Number of ENABLED price CustomerAssets per customer. + /// Number of ENABLED price CustomerAssets per customer. PriceCustomerAssetsPerCustomer = 154, - /// Number of ENABLED price CampaignAssets per campaign. + /// Number of ENABLED price CampaignAssets per campaign. PriceCampaignAssetsPerCampaign = 155, - /// Number of ENABLED price AdGroupAssets per ad group. + /// Number of ENABLED price AdGroupAssets per ad group. PriceAdGroupAssetsPerAdGroup = 156, - /// Number of ENABLED page feed asset sets per customer. + /// Number of ENABLED page feed asset sets per customer. PageFeedAssetSetsPerCustomer = 157, - /// Number of ENABLED dynamic education feed asset sets per customer. + /// Number of ENABLED dynamic education feed asset sets per customer. DynamicEducationFeedAssetSetsPerCustomer = 158, - /// Number of ENABLED assets per page feed asset set. + /// Number of ENABLED assets per page feed asset set. AssetsPerPageFeedAssetSet = 159, - /// Number of ENABLED assets per dynamic education asset set. + /// Number of ENABLED assets per dynamic education asset set. AssetsPerDynamicEducationFeedAssetSet = 160, - /// Number of ENABLED dynamic real estate asset sets per customer. + /// Number of ENABLED dynamic real estate asset sets per customer. DynamicRealEstateAssetSetsPerCustomer = 161, - /// Number of ENABLED assets per dynamic real estate asset set. + /// Number of ENABLED assets per dynamic real estate asset set. AssetsPerDynamicRealEstateAssetSet = 162, - /// Number of ENABLED dynamic custom asset sets per customer. + /// Number of ENABLED dynamic custom asset sets per customer. DynamicCustomAssetSetsPerCustomer = 163, - /// Number of ENABLED assets per dynamic custom asset set. + /// Number of ENABLED assets per dynamic custom asset set. AssetsPerDynamicCustomAssetSet = 164, - /// Number of ENABLED dynamic hotels and rentals asset sets per - /// customer. + /// Number of ENABLED dynamic hotels and rentals asset sets per + /// customer. DynamicHotelsAndRentalsAssetSetsPerCustomer = 165, - /// Number of ENABLED assets per dynamic hotels and rentals asset set. + /// Number of ENABLED assets per dynamic hotels and rentals asset set. AssetsPerDynamicHotelsAndRentalsAssetSet = 166, - /// Number of ENABLED dynamic local asset sets per customer. + /// Number of ENABLED dynamic local asset sets per customer. DynamicLocalAssetSetsPerCustomer = 167, - /// Number of ENABLED assets per dynamic local asset set. + /// Number of ENABLED assets per dynamic local asset set. AssetsPerDynamicLocalAssetSet = 168, - /// Number of ENABLED dynamic flights asset sets per customer. + /// Number of ENABLED dynamic flights asset sets per customer. DynamicFlightsAssetSetsPerCustomer = 169, - /// Number of ENABLED assets per dynamic flights asset set. + /// Number of ENABLED assets per dynamic flights asset set. AssetsPerDynamicFlightsAssetSet = 170, - /// Number of ENABLED dynamic travel asset sets per customer. + /// Number of ENABLED dynamic travel asset sets per customer. DynamicTravelAssetSetsPerCustomer = 171, - /// Number of ENABLED assets per dynamic travel asset set. + /// Number of ENABLED assets per dynamic travel asset set. AssetsPerDynamicTravelAssetSet = 172, - /// Number of ENABLED dynamic jobs asset sets per customer. + /// Number of ENABLED dynamic jobs asset sets per customer. DynamicJobsAssetSetsPerCustomer = 173, - /// Number of ENABLED assets per dynamic jobs asset set. + /// Number of ENABLED assets per dynamic jobs asset set. AssetsPerDynamicJobsAssetSet = 174, - /// Number of versions per ad. + /// Number of versions per ad. VersionsPerAd = 82, - /// Number of ENABLED user feeds per customer. + /// Number of ENABLED user feeds per customer. UserFeedsPerCustomer = 90, - /// Number of ENABLED system feeds per customer. + /// Number of ENABLED system feeds per customer. SystemFeedsPerCustomer = 91, - /// Number of feed attributes per feed. + /// Number of feed attributes per feed. FeedAttributesPerFeed = 92, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemsPerCustomer = 94, - /// Number of ENABLED campaign feeds per customer. + /// Number of ENABLED campaign feeds per customer. CampaignFeedsPerCustomer = 95, - /// Number of ENABLED campaign feeds across all base campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all base campaigns for a + /// customer. BaseCampaignFeedsPerCustomer = 96, - /// Number of ENABLED campaign feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all experiment campaigns for a + /// customer. ExperimentCampaignFeedsPerCustomer = 109, - /// Number of ENABLED ad group feeds per customer. + /// Number of ENABLED ad group feeds per customer. AdGroupFeedsPerCustomer = 97, - /// Number of ENABLED ad group feeds across all base campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all base campaigns for a + /// customer. BaseAdGroupFeedsPerCustomer = 98, - /// Number of ENABLED ad group feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all experiment campaigns for a + /// customer. ExperimentAdGroupFeedsPerCustomer = 110, - /// Number of ENABLED ad group feeds per campaign. + /// Number of ENABLED ad group feeds per campaign. AdGroupFeedsPerCampaign = 99, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemSetsPerCustomer = 100, - /// Number of feed items per feed item set. + /// Number of feed items per feed item set. FeedItemsPerFeedItemSet = 101, - /// Number of ENABLED campaign experiments per customer. + /// Number of ENABLED campaign experiments per customer. CampaignExperimentsPerCustomer = 112, - /// Number of video experiment arms per experiment. + /// Number of video experiment arms per experiment. ExperimentArmsPerVideoExperiment = 113, - /// Number of owned labels per customer. + /// Number of owned labels per customer. OwnedLabelsPerCustomer = 115, - /// Number of applied labels per campaign. + /// Number of applied labels per campaign. LabelsPerCampaign = 117, - /// Number of applied labels per ad group. + /// Number of applied labels per ad group. LabelsPerAdGroup = 118, - /// Number of applied labels per ad group ad. + /// Number of applied labels per ad group ad. LabelsPerAdGroupAd = 119, - /// Number of applied labels per ad group criterion. + /// Number of applied labels per ad group criterion. LabelsPerAdGroupCriterion = 120, - /// Number of customers with a single label applied. + /// Number of customers with a single label applied. TargetCustomersPerLabel = 121, - /// Number of ENABLED keyword plans per user per customer. - /// The limit is applied per pair because by default a plan - /// is private to a user of a customer. Each user of a customer has their own - /// independent limit. + /// Number of ENABLED keyword plans per user per customer. + /// The limit is applied per pair because by default a plan + /// is private to a user of a customer. Each user of a customer has their own + /// independent limit. KeywordPlansPerUserPerCustomer = 122, - /// Number of keyword plan ad group keywords per keyword plan. + /// Number of keyword plan ad group keywords per keyword plan. KeywordPlanAdGroupKeywordsPerKeywordPlan = 123, - /// Number of keyword plan ad groups per keyword plan. + /// Number of keyword plan ad groups per keyword plan. KeywordPlanAdGroupsPerKeywordPlan = 124, - /// Number of keyword plan negative keywords (both campaign and ad group) per - /// keyword plan. + /// Number of keyword plan negative keywords (both campaign and ad group) per + /// keyword plan. KeywordPlanNegativeKeywordsPerKeywordPlan = 125, - /// Number of keyword plan campaigns per keyword plan. + /// Number of keyword plan campaigns per keyword plan. KeywordPlanCampaignsPerKeywordPlan = 126, - /// Number of ENABLED conversion actions per customer. + /// Number of ENABLED conversion actions per customer. ConversionActionsPerCustomer = 128, - /// Number of operations in a single batch job. + /// Number of operations in a single batch job. BatchJobOperationsPerJob = 130, - /// Number of PENDING or ENABLED batch jobs per customer. + /// Number of PENDING or ENABLED batch jobs per customer. BatchJobsPerCustomer = 131, - /// Number of hotel check-in date range bid modifiers per ad agroup. + /// Number of hotel check-in date range bid modifiers per ad agroup. HotelCheckInDateRangeBidModifiersPerAdGroup = 132, } impl ResourceLimitType { @@ -14875,24 +14875,24 @@ pub mod resource_limit_type_enum { } } } -// Proto file describing the response content types used in mutate operations. +// Proto file describing the response content types used in mutate operations. -/// Container for possible response content types. +/// Container for possible response content types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseContentTypeEnum { } /// Nested message and enum types in `ResponseContentTypeEnum`. pub mod response_content_type_enum { - /// Possible response content types. + /// Possible response content types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResponseContentType { - /// Not specified. Will return the resource name only in the response. + /// Not specified. Will return the resource name only in the response. Unspecified = 0, - /// The mutate response will be the resource name. + /// The mutate response will be the resource name. ResourceNameOnly = 1, - /// The mutate response will be the resource name and the resource with - /// all mutable fields. + /// The mutate response will be the resource name and the resource with + /// all mutable fields. MutableResource = 2, } impl ResponseContentType { @@ -14909,31 +14909,31 @@ pub mod response_content_type_enum { } } } -// Proto file describing search term targeting statuses. +// Proto file describing search term targeting statuses. -/// Container for enum indicating whether a search term is one of your targeted -/// or excluded keywords. +/// Container for enum indicating whether a search term is one of your targeted +/// or excluded keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermTargetingStatusEnum { } /// Nested message and enum types in `SearchTermTargetingStatusEnum`. pub mod search_term_targeting_status_enum { - /// Indicates whether the search term is one of your targeted or excluded - /// keywords. + /// Indicates whether the search term is one of your targeted or excluded + /// keywords. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermTargetingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search term is added to targeted keywords. + /// Search term is added to targeted keywords. Added = 2, - /// Search term matches a negative keyword. + /// Search term matches a negative keyword. Excluded = 3, - /// Search term has been both added and excluded. + /// Search term has been both added and excluded. AddedExcluded = 4, - /// Search term is neither targeted nor excluded. + /// Search term is neither targeted nor excluded. None = 5, } impl SearchTermTargetingStatus { @@ -14953,33 +14953,33 @@ pub mod search_term_targeting_status_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event scopes. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event scopes. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventScopeEnum { } /// Nested message and enum types in `SeasonalityEventScopeEnum`. pub mod seasonality_event_scope_enum { - /// The possible scopes of a Seasonality Event. + /// The possible scopes of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventScope { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is applied to all the customer's traffic for - /// supported advertising channel types and device types. The CUSTOMER scope - /// cannot be used in mutates. + /// The seasonality event is applied to all the customer's traffic for + /// supported advertising channel types and device types. The CUSTOMER scope + /// cannot be used in mutates. Customer = 2, - /// The seasonality event is applied to all specified campaigns. + /// The seasonality event is applied to all specified campaigns. Campaign = 4, - /// The seasonality event is applied to all campaigns that belong to - /// specified channel types. + /// The seasonality event is applied to all campaigns that belong to + /// specified channel types. Channel = 5, } impl SeasonalityEventScope { @@ -14998,28 +14998,28 @@ pub mod seasonality_event_scope_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event statuses. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event statuses. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventStatusEnum { } /// Nested message and enum types in `SeasonalityEventStatusEnum`. pub mod seasonality_event_status_enum { - /// The possible statuses of a Seasonality Event. + /// The possible statuses of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is enabled. + /// The seasonality event is enabled. Enabled = 2, - /// The seasonality event is removed. + /// The seasonality event is removed. Removed = 4, } impl SeasonalityEventStatus { @@ -15037,25 +15037,25 @@ pub mod seasonality_event_status_enum { } } } -// Proto file describing shared set statuses. +// Proto file describing shared set statuses. -/// Container for enum describing types of shared set statuses. +/// Container for enum describing types of shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetStatusEnum { } /// Nested message and enum types in `SharedSetStatusEnum`. pub mod shared_set_status_enum { - /// Enum listing the possible shared set statuses. + /// Enum listing the possible shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The shared set is enabled. + /// The shared set is enabled. Enabled = 2, - /// The shared set is removed and can no longer be used. + /// The shared set is removed and can no longer be used. Removed = 3, } impl SharedSetStatus { @@ -15073,25 +15073,25 @@ pub mod shared_set_status_enum { } } } -// Proto file describing shared set types. +// Proto file describing shared set types. -/// Container for enum describing types of shared sets. +/// Container for enum describing types of shared sets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetTypeEnum { } /// Nested message and enum types in `SharedSetTypeEnum`. pub mod shared_set_type_enum { - /// Enum listing the possible shared set types. + /// Enum listing the possible shared set types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A set of keywords that can be excluded from targeting. + /// A set of keywords that can be excluded from targeting. NegativeKeywords = 2, - /// A set of placements that can be excluded from targeting. + /// A set of placements that can be excluded from targeting. NegativePlacements = 3, } impl SharedSetType { @@ -15109,33 +15109,33 @@ pub mod shared_set_type_enum { } } } -// Proto file describing simulation modification methods. +// Proto file describing simulation modification methods. -/// Container for enum describing the method by which a simulation modifies -/// a field. +/// Container for enum describing the method by which a simulation modifies +/// a field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationModificationMethodEnum { } /// Nested message and enum types in `SimulationModificationMethodEnum`. pub mod simulation_modification_method_enum { - /// Enum describing the method by which a simulation modifies a field. + /// Enum describing the method by which a simulation modifies a field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationModificationMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The values in a simulation were applied to all children of a given - /// resource uniformly. Overrides on child resources were not respected. + /// The values in a simulation were applied to all children of a given + /// resource uniformly. Overrides on child resources were not respected. Uniform = 2, - /// The values in a simulation were applied to the given resource. - /// Overrides on child resources were respected, and traffic estimates - /// do not include these resources. + /// The values in a simulation were applied to the given resource. + /// Overrides on child resources were respected, and traffic estimates + /// do not include these resources. Default = 3, - /// The values in a simulation were all scaled by the same factor. - /// For example, in a simulated TargetCpa campaign, the campaign target and - /// all ad group targets were scaled by a factor of X. + /// The values in a simulation were all scaled by the same factor. + /// For example, in a simulated TargetCpa campaign, the campaign target and + /// all ad group targets were scaled by a factor of X. Scaling = 4, } impl SimulationModificationMethod { @@ -15154,37 +15154,37 @@ pub mod simulation_modification_method_enum { } } } -// Proto file describing simulation types. +// Proto file describing simulation types. -/// Container for enum describing the field a simulation modifies. +/// Container for enum describing the field a simulation modifies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationTypeEnum { } /// Nested message and enum types in `SimulationTypeEnum`. pub mod simulation_type_enum { - /// Enum describing the field a simulation modifies. + /// Enum describing the field a simulation modifies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The simulation is for a CPC bid. + /// The simulation is for a CPC bid. CpcBid = 2, - /// The simulation is for a CPV bid. + /// The simulation is for a CPV bid. CpvBid = 3, - /// The simulation is for a CPA target. + /// The simulation is for a CPA target. TargetCpa = 4, - /// The simulation is for a bid modifier. + /// The simulation is for a bid modifier. BidModifier = 5, - /// The simulation is for a ROAS target. + /// The simulation is for a ROAS target. TargetRoas = 6, - /// The simulation is for a percent CPC bid. + /// The simulation is for a percent CPC bid. PercentCpcBid = 7, - /// The simulation is for an impression share target. + /// The simulation is for an impression share target. TargetImpressionShare = 8, - /// The simulation is for a budget. + /// The simulation is for a budget. Budget = 9, } impl SimulationType { @@ -15208,39 +15208,39 @@ pub mod simulation_type_enum { } } } -// Proto file describing Sitelink placeholder fields. +// Proto file describing Sitelink placeholder fields. -/// Values for Sitelink placeholder fields. +/// Values for Sitelink placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkPlaceholderFieldEnum { } /// Nested message and enum types in `SitelinkPlaceholderFieldEnum`. pub mod sitelink_placeholder_field_enum { - /// Possible values for Sitelink placeholder fields. + /// Possible values for Sitelink placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SitelinkPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The link text for your sitelink. + /// Data Type: STRING. The link text for your sitelink. Text = 2, - /// Data Type: STRING. First line of the sitelink description. + /// Data Type: STRING. First line of the sitelink description. Line1 = 3, - /// Data Type: STRING. Second line of the sitelink description. + /// Data Type: STRING. Second line of the sitelink description. Line2 = 4, - /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded + /// URLs. FinalUrls = 5, - /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using + /// Upgraded URLs. FinalMobileUrls = 6, - /// Data Type: URL. Tracking template for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the sitelink when using Upgraded + /// URLs. TrackingUrl = 7, - /// Data Type: STRING. Final URL suffix for sitelink when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for sitelink when using parallel + /// tracking. FinalUrlSuffix = 8, } impl SitelinkPlaceholderField { @@ -15263,24 +15263,24 @@ pub mod sitelink_placeholder_field_enum { } } } -// Proto file describing SpendingLimit types. +// Proto file describing SpendingLimit types. -/// Message describing spending limit types. +/// Message describing spending limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpendingLimitTypeEnum { } /// Nested message and enum types in `SpendingLimitTypeEnum`. pub mod spending_limit_type_enum { - /// The possible spending limit types used by certain resources as an - /// alternative to absolute money values in micros. + /// The possible spending limit types used by certain resources as an + /// alternative to absolute money values in micros. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SpendingLimitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Infinite, indicates unlimited spending power. + /// Infinite, indicates unlimited spending power. Infinite = 2, } impl SpendingLimitType { @@ -15297,30 +15297,30 @@ pub mod spending_limit_type_enum { } } } -// Proto file describing Structured Snippet placeholder fields. +// Proto file describing Structured Snippet placeholder fields. -/// Values for Structured Snippet placeholder fields. +/// Values for Structured Snippet placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetPlaceholderFieldEnum { } /// Nested message and enum types in `StructuredSnippetPlaceholderFieldEnum`. pub mod structured_snippet_placeholder_field_enum { - /// Possible values for Structured Snippet placeholder fields. + /// Possible values for Structured Snippet placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StructuredSnippetPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The category of snippet of your products/services. - /// Must match exactly one of the predefined structured snippets headers. - /// For a list, visit - /// + /// Data Type: STRING. The category of snippet of your products/services. + /// Must match exactly one of the predefined structured snippets headers. + /// For a list, visit + /// Header = 2, - /// Data Type: STRING_LIST. Text values that describe your products/services. - /// All text must be family safe. Special or non-ASCII characters are not - /// permitted. A snippet can be at most 25 characters. + /// Data Type: STRING_LIST. Text values that describe your products/services. + /// All text must be family safe. Special or non-ASCII characters are not + /// permitted. A snippet can be at most 25 characters. Snippets = 3, } impl StructuredSnippetPlaceholderField { @@ -15338,28 +15338,28 @@ pub mod structured_snippet_placeholder_field_enum { } } } -// Proto file describing summary row setting. +// Proto file describing summary row setting. -/// Indicates summary row setting in request parameter. +/// Indicates summary row setting in request parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SummaryRowSettingEnum { } /// Nested message and enum types in `SummaryRowSettingEnum`. pub mod summary_row_setting_enum { - /// Enum describing return summary row settings. + /// Enum describing return summary row settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SummaryRowSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represent unknown values of return summary row. + /// Represent unknown values of return summary row. Unknown = 1, - /// Do not return summary row. + /// Do not return summary row. NoSummaryRow = 2, - /// Return summary row along with results. The summary row will be returned - /// in the last batch alone (last batch will contain no results). + /// Return summary row along with results. The summary row will be returned + /// in the last batch alone (last batch will contain no results). SummaryRowWithResults = 3, - /// Return summary row only and return no results. + /// Return summary row only and return no results. SummaryRowOnly = 4, } impl SummaryRowSetting { @@ -15378,23 +15378,23 @@ pub mod summary_row_setting_enum { } } } -// Proto file describing system managed entity sources. +// Proto file describing system managed entity sources. -/// Container for enum describing possible system managed entity sources. +/// Container for enum describing possible system managed entity sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemManagedResourceSourceEnum { } /// Nested message and enum types in `SystemManagedResourceSourceEnum`. pub mod system_managed_resource_source_enum { - /// Enum listing the possible system managed entity sources. + /// Enum listing the possible system managed entity sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SystemManagedResourceSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Generated ad variations experiment ad. + /// Generated ad variations experiment ad. AdVariations = 2, } impl SystemManagedResourceSource { @@ -15411,30 +15411,30 @@ pub mod system_managed_resource_source_enum { } } } -// Proto file describing TargetCpaOptIn recommendation goals. +// Proto file describing TargetCpaOptIn recommendation goals. -/// Container for enum describing goals for TargetCpaOptIn recommendation. +/// Container for enum describing goals for TargetCpaOptIn recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationGoalEnum { } /// Nested message and enum types in `TargetCpaOptInRecommendationGoalEnum`. pub mod target_cpa_opt_in_recommendation_goal_enum { - /// Goal of TargetCpaOptIn recommendation. + /// Goal of TargetCpaOptIn recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetCpaOptInRecommendationGoal { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Recommendation to set Target CPA to maintain the same cost. + /// Recommendation to set Target CPA to maintain the same cost. SameCost = 2, - /// Recommendation to set Target CPA to maintain the same conversions. + /// Recommendation to set Target CPA to maintain the same conversions. SameConversions = 3, - /// Recommendation to set Target CPA to maintain the same CPA. + /// Recommendation to set Target CPA to maintain the same CPA. SameCpa = 4, - /// Recommendation to set Target CPA to a value that is as close as possible - /// to, yet lower than, the actual CPA (computed for past 28 days). + /// Recommendation to set Target CPA to a value that is as close as possible + /// to, yet lower than, the actual CPA (computed for past 28 days). ClosestCpa = 5, } impl TargetCpaOptInRecommendationGoal { @@ -15454,26 +15454,26 @@ pub mod target_cpa_opt_in_recommendation_goal_enum { } } } -// Proto file describing TimeType types. +// Proto file describing TimeType types. -/// Message describing time types. +/// Message describing time types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeTypeEnum { } /// Nested message and enum types in `TimeTypeEnum`. pub mod time_type_enum { - /// The possible time types used by certain resources as an alternative to - /// absolute timestamps. + /// The possible time types used by certain resources as an alternative to + /// absolute timestamps. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// As soon as possible. + /// As soon as possible. Now = 2, - /// An infinite point in the future. + /// An infinite point in the future. Forever = 3, } impl TimeType { @@ -15491,85 +15491,85 @@ pub mod time_type_enum { } } } -// Proto file describing Travel placeholder fields. +// Proto file describing Travel placeholder fields. -/// Values for Travel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Travel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TravelPlaceholderFieldEnum { } /// Nested message and enum types in `TravelPlaceholderFieldEnum`. pub mod travel_placeholder_field_enum { - /// Possible values for Travel placeholder fields. + /// Possible values for Travel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TravelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Combination of DESTINATION_ID and ORIGIN_ID must be - /// unique per offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Combination of DESTINATION_ID and ORIGIN_ID must be + /// unique per offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with name to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with name to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. The destination name. Shorter names are recommended. + /// Data Type: STRING. The destination name. Shorter names are recommended. DestinationName = 5, - /// Data Type: STRING. Origin name. Shorter names are recommended. + /// Data Type: STRING. Origin name. Shorter names are recommended. OriginName = 6, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of travel offer used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of travel offer used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: STRING. Address of travel offer, including postal code. + /// Data Type: STRING. Address of travel offer, including postal code. DestinationAddress = 14, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - /// Upgraded URLs; the more specific the better (for example, the individual - /// URL of a specific travel offer and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using + /// Upgraded URLs; the more specific the better (for example, the individual + /// URL of a specific travel offer and its location). FinalUrl = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl TravelPlaceholderField { @@ -15605,31 +15605,31 @@ pub mod travel_placeholder_field_enum { } } } -// Proto file describing the UserInterest taxonomy type +// Proto file describing the UserInterest taxonomy type -/// Message describing a UserInterestTaxonomyType. +/// Message describing a UserInterestTaxonomyType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestTaxonomyTypeEnum { } /// Nested message and enum types in `UserInterestTaxonomyTypeEnum`. pub mod user_interest_taxonomy_type_enum { - /// Enum containing the possible UserInterestTaxonomyTypes. + /// Enum containing the possible UserInterestTaxonomyTypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserInterestTaxonomyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The affinity for this user interest. + /// The affinity for this user interest. Affinity = 2, - /// The market for this user interest. + /// The market for this user interest. InMarket = 3, - /// Users known to have installed applications in the specified categories. + /// Users known to have installed applications in the specified categories. MobileAppInstallUser = 4, - /// The geographical location of the interest-based vertical. + /// The geographical location of the interest-based vertical. VerticalGeo = 5, - /// User interest criteria for new smart phone users. + /// User interest criteria for new smart phone users. NewSmartPhoneUser = 6, } impl UserInterestTaxonomyType { @@ -15650,25 +15650,25 @@ pub mod user_interest_taxonomy_type_enum { } } } -// Proto file describing user list access status. +// Proto file describing user list access status. -/// Indicates if this client still has access to the list. +/// Indicates if this client still has access to the list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListAccessStatusEnum { } /// Nested message and enum types in `UserListAccessStatusEnum`. pub mod user_list_access_status_enum { - /// Enum containing possible user list access statuses. + /// Enum containing possible user list access statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListAccessStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The access is enabled. + /// The access is enabled. Enabled = 2, - /// The access is disabled. + /// The access is disabled. Disabled = 3, } impl UserListAccessStatus { @@ -15686,24 +15686,24 @@ pub mod user_list_access_status_enum { } } } -// Proto file describing user list closing reason. +// Proto file describing user list closing reason. -/// Indicates the reason why the userlist was closed. -/// This enum is only used when a list is auto-closed by the system. +/// Indicates the reason why the userlist was closed. +/// This enum is only used when a list is auto-closed by the system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListClosingReasonEnum { } /// Nested message and enum types in `UserListClosingReasonEnum`. pub mod user_list_closing_reason_enum { - /// Enum describing possible user list closing reasons. + /// Enum describing possible user list closing reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListClosingReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The userlist was closed because of not being used for over one year. + /// The userlist was closed because of not being used for over one year. Unused = 2, } impl UserListClosingReason { @@ -15720,27 +15720,27 @@ pub mod user_list_closing_reason_enum { } } } -// Proto file describing user list membership status. +// Proto file describing user list membership status. -/// Membership status of this user list. Indicates whether a user list is open -/// or active. Only open user lists can accumulate more users and can be used for -/// targeting. +/// Membership status of this user list. Indicates whether a user list is open +/// or active. Only open user lists can accumulate more users and can be used for +/// targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListMembershipStatusEnum { } /// Nested message and enum types in `UserListMembershipStatusEnum`. pub mod user_list_membership_status_enum { - /// Enum containing possible user list membership statuses. + /// Enum containing possible user list membership statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListMembershipStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Open status - List is accruing members and can be targeted to. + /// Open status - List is accruing members and can be targeted to. Open = 2, - /// Closed status - No new members being added. Cannot be used for targeting. + /// Closed status - No new members being added. Cannot be used for targeting. Closed = 3, } impl UserListMembershipStatus { @@ -15758,53 +15758,53 @@ pub mod user_list_membership_status_enum { } } } -// Proto file describing user list size range. +// Proto file describing user list size range. -/// Size range in terms of number of users of a UserList. +/// Size range in terms of number of users of a UserList. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListSizeRangeEnum { } /// Nested message and enum types in `UserListSizeRangeEnum`. pub mod user_list_size_range_enum { - /// Enum containing possible user list size ranges. + /// Enum containing possible user list size ranges. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListSizeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User list has less than 500 users. + /// User list has less than 500 users. LessThanFiveHundred = 2, - /// User list has number of users in range of 500 to 1000. + /// User list has number of users in range of 500 to 1000. LessThanOneThousand = 3, - /// User list has number of users in range of 1000 to 10000. + /// User list has number of users in range of 1000 to 10000. OneThousandToTenThousand = 4, - /// User list has number of users in range of 10000 to 50000. + /// User list has number of users in range of 10000 to 50000. TenThousandToFiftyThousand = 5, - /// User list has number of users in range of 50000 to 100000. + /// User list has number of users in range of 50000 to 100000. FiftyThousandToOneHundredThousand = 6, - /// User list has number of users in range of 100000 to 300000. + /// User list has number of users in range of 100000 to 300000. OneHundredThousandToThreeHundredThousand = 7, - /// User list has number of users in range of 300000 to 500000. + /// User list has number of users in range of 300000 to 500000. ThreeHundredThousandToFiveHundredThousand = 8, - /// User list has number of users in range of 500000 to 1 million. + /// User list has number of users in range of 500000 to 1 million. FiveHundredThousandToOneMillion = 9, - /// User list has number of users in range of 1 to 2 millions. + /// User list has number of users in range of 1 to 2 millions. OneMillionToTwoMillion = 10, - /// User list has number of users in range of 2 to 3 millions. + /// User list has number of users in range of 2 to 3 millions. TwoMillionToThreeMillion = 11, - /// User list has number of users in range of 3 to 5 millions. + /// User list has number of users in range of 3 to 5 millions. ThreeMillionToFiveMillion = 12, - /// User list has number of users in range of 5 to 10 millions. + /// User list has number of users in range of 5 to 10 millions. FiveMillionToTenMillion = 13, - /// User list has number of users in range of 10 to 20 millions. + /// User list has number of users in range of 10 to 20 millions. TenMillionToTwentyMillion = 14, - /// User list has number of users in range of 20 to 30 millions. + /// User list has number of users in range of 20 to 30 millions. TwentyMillionToThirtyMillion = 15, - /// User list has number of users in range of 30 to 50 millions. + /// User list has number of users in range of 30 to 50 millions. ThirtyMillionToFiftyMillion = 16, - /// User list has over 50 million users. + /// User list has over 50 million users. OverFiftyMillion = 17, } impl UserListSizeRange { @@ -15836,34 +15836,34 @@ pub mod user_list_size_range_enum { } } } -// Proto file describing user list type. +// Proto file describing user list type. -/// The user list types. +/// The user list types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListTypeEnum { } /// Nested message and enum types in `UserListTypeEnum`. pub mod user_list_type_enum { - /// Enum containing possible user list types. + /// Enum containing possible user list types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// UserList represented as a collection of conversion types. + /// UserList represented as a collection of conversion types. Remarketing = 2, - /// UserList represented as a combination of other user lists/interests. + /// UserList represented as a combination of other user lists/interests. Logical = 3, - /// UserList created in the Google Ad Manager platform. + /// UserList created in the Google Ad Manager platform. ExternalRemarketing = 4, - /// UserList associated with a rule. + /// UserList associated with a rule. RuleBased = 5, - /// UserList with users similar to users of another UserList. + /// UserList with users similar to users of another UserList. Similar = 6, - /// UserList of first-party CRM data provided by advertiser in the form of - /// emails or other formats. + /// UserList of first-party CRM data provided by advertiser in the form of + /// emails or other formats. CrmBased = 7, } impl UserListType { @@ -15885,28 +15885,28 @@ pub mod user_list_type_enum { } } } -// Proto file describing conversion value rule device type. +// Proto file describing conversion value rule device type. -/// Container for enum describing possible device types used in a conversion -/// value rule. +/// Container for enum describing possible device types used in a conversion +/// value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceTypeEnum { } /// Nested message and enum types in `ValueRuleDeviceTypeEnum`. pub mod value_rule_device_type_enum { - /// Possible device types used in conversion value rule. + /// Possible device types used in conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile device. + /// Mobile device. Mobile = 2, - /// Desktop device. + /// Desktop device. Desktop = 3, - /// Tablet device. + /// Tablet device. Tablet = 4, } impl ValueRuleDeviceType { @@ -15925,26 +15925,26 @@ pub mod value_rule_device_type_enum { } } } -// Proto file describing conversion value rule geo location match type. +// Proto file describing conversion value rule geo location match type. -/// Container for enum describing possible geographic location matching types -/// used in a conversion value rule. +/// Container for enum describing possible geographic location matching types +/// used in a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationMatchTypeEnum { } /// Nested message and enum types in `ValueRuleGeoLocationMatchTypeEnum`. pub mod value_rule_geo_location_match_type_enum { - /// Possible geographic location matching types. + /// Possible geographic location matching types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleGeoLocationMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Either Area of Interest or Location of Presence can be used to match. + /// Either Area of Interest or Location of Presence can be used to match. Any = 2, - /// Only Location of Presence can be used to match. + /// Only Location of Presence can be used to match. LocationOfPresence = 3, } impl ValueRuleGeoLocationMatchType { @@ -15962,28 +15962,28 @@ pub mod value_rule_geo_location_match_type_enum { } } } -// Proto file describing conversion value rule operation. +// Proto file describing conversion value rule operation. -/// Container for enum describing possible operations for value rules which are -/// executed when rules are triggered. +/// Container for enum describing possible operations for value rules which are +/// executed when rules are triggered. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleOperationEnum { } /// Nested message and enum types in `ValueRuleOperationEnum`. pub mod value_rule_operation_enum { - /// Possible operations of the action of a conversion value rule. + /// Possible operations of the action of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleOperation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add provided value to conversion value. + /// Add provided value to conversion value. Add = 2, - /// Multiply conversion value by provided value. + /// Multiply conversion value by provided value. Multiply = 3, - /// Set conversion value to provided value. + /// Set conversion value to provided value. Set = 4, } impl ValueRuleOperation { @@ -16002,25 +16002,25 @@ pub mod value_rule_operation_enum { } } } -// Proto file describing where the conversion value rule is attached. +// Proto file describing where the conversion value rule is attached. -/// Container for enum describing where a value rule set is attached. +/// Container for enum describing where a value rule set is attached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetAttachmentTypeEnum { } /// Nested message and enum types in `ValueRuleSetAttachmentTypeEnum`. pub mod value_rule_set_attachment_type_enum { - /// Possible level where a value rule set is attached. + /// Possible level where a value rule set is attached. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetAttachmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Attached to the customer. + /// Attached to the customer. Customer = 2, - /// Attached to a campaign. + /// Attached to a campaign. Campaign = 3, } impl ValueRuleSetAttachmentType { @@ -16038,30 +16038,30 @@ pub mod value_rule_set_attachment_type_enum { } } } -// Proto file describing conversion value rule set dimension. +// Proto file describing conversion value rule set dimension. -/// Container for enum describing possible dimensions of a conversion value rule -/// set. +/// Container for enum describing possible dimensions of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetDimensionEnum { } /// Nested message and enum types in `ValueRuleSetDimensionEnum`. pub mod value_rule_set_dimension_enum { - /// Possible dimensions of a conversion value rule set. + /// Possible dimensions of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dimension for geo location. + /// Dimension for geo location. GeoLocation = 2, - /// Dimension for device type. + /// Dimension for device type. Device = 3, - /// Dimension for audience. + /// Dimension for audience. Audience = 4, - /// This dimension implies the rule will always apply. + /// This dimension implies the rule will always apply. NoCondition = 5, } impl ValueRuleSetDimension { @@ -16081,25 +16081,25 @@ pub mod value_rule_set_dimension_enum { } } } -// Proto file describing vanity pharma display url modes. +// Proto file describing vanity pharma display url modes. -/// The display mode for vanity pharma URLs. +/// The display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaDisplayUrlModeEnum { } /// Nested message and enum types in `VanityPharmaDisplayUrlModeEnum`. pub mod vanity_pharma_display_url_mode_enum { - /// Enum describing possible display modes for vanity pharma URLs. + /// Enum describing possible display modes for vanity pharma URLs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaDisplayUrlMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Replace vanity pharma URL with manufacturer website url. + /// Replace vanity pharma URL with manufacturer website url. ManufacturerWebsiteUrl = 2, - /// Replace vanity pharma URL with description of the website. + /// Replace vanity pharma URL with description of the website. WebsiteDescription = 3, } impl VanityPharmaDisplayUrlMode { @@ -16117,52 +16117,52 @@ pub mod vanity_pharma_display_url_mode_enum { } } } -// Proto file describing vanity pharma texts. +// Proto file describing vanity pharma texts. -/// The text that will be displayed in display URL of the text ad when website -/// description is the selected display mode for vanity pharma URLs. +/// The text that will be displayed in display URL of the text ad when website +/// description is the selected display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaTextEnum { } /// Nested message and enum types in `VanityPharmaTextEnum`. pub mod vanity_pharma_text_enum { - /// Enum describing possible text. + /// Enum describing possible text. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaText { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prescription treatment website with website content in English. + /// Prescription treatment website with website content in English. PrescriptionTreatmentWebsiteEn = 2, - /// Prescription treatment website with website content in Spanish - /// (Sitio de tratamientos con receta). + /// Prescription treatment website with website content in Spanish + /// (Sitio de tratamientos con receta). PrescriptionTreatmentWebsiteEs = 3, - /// Prescription device website with website content in English. + /// Prescription device website with website content in English. PrescriptionDeviceWebsiteEn = 4, - /// Prescription device website with website content in Spanish (Sitio de - /// dispositivos con receta). + /// Prescription device website with website content in Spanish (Sitio de + /// dispositivos con receta). PrescriptionDeviceWebsiteEs = 5, - /// Medical device website with website content in English. + /// Medical device website with website content in English. MedicalDeviceWebsiteEn = 6, - /// Medical device website with website content in Spanish (Sitio de - /// dispositivos médicos). + /// Medical device website with website content in Spanish (Sitio de + /// dispositivos médicos). MedicalDeviceWebsiteEs = 7, - /// Preventative treatment website with website content in English. + /// Preventative treatment website with website content in English. PreventativeTreatmentWebsiteEn = 8, - /// Preventative treatment website with website content in Spanish (Sitio de - /// tratamientos preventivos). + /// Preventative treatment website with website content in Spanish (Sitio de + /// tratamientos preventivos). PreventativeTreatmentWebsiteEs = 9, - /// Prescription contraception website with website content in English. + /// Prescription contraception website with website content in English. PrescriptionContraceptionWebsiteEn = 10, - /// Prescription contraception website with website content in Spanish (Sitio - /// de anticonceptivos con receta). + /// Prescription contraception website with website content in Spanish (Sitio + /// de anticonceptivos con receta). PrescriptionContraceptionWebsiteEs = 11, - /// Prescription vaccine website with website content in English. + /// Prescription vaccine website with website content in English. PrescriptionVaccineWebsiteEn = 12, - /// Prescription vaccine website with website content in Spanish (Sitio de - /// vacunas con receta). + /// Prescription vaccine website with website content in Spanish (Sitio de + /// vacunas con receta). PrescriptionVaccineWebsiteEs = 13, } impl VanityPharmaText { diff --git a/gcloud-sdk/genproto/google.ads.googleads.v11.errors.rs b/gcloud-sdk/genproto/google.ads.googleads.v11.errors.rs index 9b0c09e0b..738f02b53 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v11.errors.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v11.errors.rs @@ -1,35 +1,35 @@ -// Proto file describing AccessInvitation errors. +// Proto file describing AccessInvitation errors. -/// Container for enum describing possible AccessInvitation errors. +/// Container for enum describing possible AccessInvitation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationErrorEnum { } /// Nested message and enum types in `AccessInvitationErrorEnum`. pub mod access_invitation_error_enum { - /// Enum describing possible AccessInvitation errors. + /// Enum describing possible AccessInvitation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The email address is invalid for sending an invitation. + /// The email address is invalid for sending an invitation. InvalidEmailAddress = 2, - /// Email address already has access to this customer. + /// Email address already has access to this customer. EmailAddressAlreadyHasAccess = 3, - /// Invalid invitation status for the operation. + /// Invalid invitation status for the operation. InvalidInvitationStatus = 4, - /// Email address cannot be like abc+foo@google.com. + /// Email address cannot be like abc+foo@google.com. GoogleConsumerAccountNotAllowed = 5, - /// Invalid invitation ID. + /// Invalid invitation ID. InvalidInvitationId = 6, - /// Email address already has a pending invitation. + /// Email address already has a pending invitation. EmailAddressAlreadyHasPendingInvitation = 7, - /// Pending invitation limit exceeded for the customer. + /// Pending invitation limit exceeded for the customer. PendingInvitationsLimitExceeded = 8, - /// Email address doesn't conform to the email domain policy. See - /// + /// Email address doesn't conform to the email domain policy. See + /// EmailDomainPolicyViolated = 9, } impl AccessInvitationError { @@ -53,75 +53,75 @@ pub mod access_invitation_error_enum { } } } -// Proto file describing account budget proposal errors. +// Proto file describing account budget proposal errors. -/// Container for enum describing possible account budget proposal errors. +/// Container for enum describing possible account budget proposal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalErrorEnum { } /// Nested message and enum types in `AccountBudgetProposalErrorEnum`. pub mod account_budget_proposal_error_enum { - /// Enum describing possible account budget proposal errors. + /// Enum describing possible account budget proposal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be empty for create/end/remove proposals. + /// The field mask must be empty for create/end/remove proposals. FieldMaskNotAllowed = 2, - /// The field cannot be set because of the proposal type. + /// The field cannot be set because of the proposal type. ImmutableField = 3, - /// The field is required because of the proposal type. + /// The field is required because of the proposal type. RequiredFieldMissing = 4, - /// Proposals that have been approved cannot be cancelled. + /// Proposals that have been approved cannot be cancelled. CannotCancelApprovedProposal = 5, - /// Budgets that haven't been approved cannot be removed. + /// Budgets that haven't been approved cannot be removed. CannotRemoveUnapprovedBudget = 6, - /// Budgets that are currently running cannot be removed. + /// Budgets that are currently running cannot be removed. CannotRemoveRunningBudget = 7, - /// Budgets that haven't been approved cannot be truncated. + /// Budgets that haven't been approved cannot be truncated. CannotEndUnapprovedBudget = 8, - /// Only budgets that are currently running can be truncated. + /// Only budgets that are currently running can be truncated. CannotEndInactiveBudget = 9, - /// All budgets must have names. + /// All budgets must have names. BudgetNameRequired = 10, - /// Expired budgets cannot be edited after a sufficient amount of time has - /// passed. + /// Expired budgets cannot be edited after a sufficient amount of time has + /// passed. CannotUpdateOldBudget = 11, - /// It is not permissible a propose a new budget that ends in the past. + /// It is not permissible a propose a new budget that ends in the past. CannotEndInPast = 12, - /// An expired budget cannot be extended to overlap with the running budget. + /// An expired budget cannot be extended to overlap with the running budget. CannotExtendEndTime = 13, - /// A purchase order number is required. + /// A purchase order number is required. PurchaseOrderNumberRequired = 14, - /// Budgets that have a pending update cannot be updated. + /// Budgets that have a pending update cannot be updated. PendingUpdateProposalExists = 15, - /// Cannot propose more than one budget when the corresponding billing setup - /// hasn't been approved. + /// Cannot propose more than one budget when the corresponding billing setup + /// hasn't been approved. MultipleBudgetsNotAllowedForUnapprovedBillingSetup = 16, - /// Cannot update the start time of a budget that has already started. + /// Cannot update the start time of a budget that has already started. CannotUpdateStartTimeForStartedBudget = 17, - /// Cannot update the spending limit of a budget with an amount lower than - /// what has already been spent. + /// Cannot update the spending limit of a budget with an amount lower than + /// what has already been spent. SpendingLimitLowerThanAccruedCostNotAllowed = 18, - /// Cannot propose a budget update without actually changing any fields. + /// Cannot propose a budget update without actually changing any fields. UpdateIsNoOp = 19, - /// The end time must come after the start time. + /// The end time must come after the start time. EndTimeMustFollowStartTime = 20, - /// The budget's date range must fall within the date range of its billing - /// setup. + /// The budget's date range must fall within the date range of its billing + /// setup. BudgetDateRangeIncompatibleWithBillingSetup = 21, - /// The user is not authorized to mutate budgets for the given billing setup. + /// The user is not authorized to mutate budgets for the given billing setup. NotAuthorized = 22, - /// Mutates are not allowed for the given billing setup. + /// Mutates are not allowed for the given billing setup. InvalidBillingSetup = 23, - /// Budget creation failed as it overlaps with an pending budget proposal - /// or an approved budget. + /// Budget creation failed as it overlaps with an pending budget proposal + /// or an approved budget. OverlapsExistingBudget = 24, - /// The control setting in user's payments profile doesn't allow budget - /// creation through API. Log in to Google Ads to create budget. + /// The control setting in user's payments profile doesn't allow budget + /// creation through API. Log in to Google Ads to create budget. CannotCreateBudgetThroughApi = 25, } impl AccountBudgetProposalError { @@ -161,23 +161,23 @@ pub mod account_budget_proposal_error_enum { } } } -// Proto file describing AccountLink errors. +// Proto file describing AccountLink errors. -/// Container for enum describing possible account link errors. +/// Container for enum describing possible account link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkErrorEnum { } /// Nested message and enum types in `AccountLinkErrorEnum`. pub mod account_link_error_enum { - /// Enum describing possible account link errors. + /// Enum describing possible account link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The new link status is invalid. + /// The new link status is invalid. InvalidStatus = 2, } impl AccountLinkError { @@ -194,31 +194,31 @@ pub mod account_link_error_enum { } } } -// Proto file describing ad customizer errors. +// Proto file describing ad customizer errors. -/// Container for enum describing possible ad customizer errors. +/// Container for enum describing possible ad customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerErrorEnum { } /// Nested message and enum types in `AdCustomizerErrorEnum`. pub mod ad_customizer_error_enum { - /// Enum describing possible ad customizer errors. + /// Enum describing possible ad customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date argument in countdown function. + /// Invalid date argument in countdown function. CountdownInvalidDateFormat = 2, - /// Countdown end date is in the past. + /// Countdown end date is in the past. CountdownDateInPast = 3, - /// Invalid locale string in countdown function. + /// Invalid locale string in countdown function. CountdownInvalidLocale = 4, - /// Days-before argument to countdown function is not positive. + /// Days-before argument to countdown function is not positive. CountdownInvalidStartDaysBefore = 5, - /// A user list referenced in an IF function does not exist. + /// A user list referenced in an IF function does not exist. UnknownUserList = 6, } impl AdCustomizerError { @@ -239,355 +239,355 @@ pub mod ad_customizer_error_enum { } } } -// Proto file describing ad errors. +// Proto file describing ad errors. -/// Container for enum describing possible ad errors. +/// Container for enum describing possible ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdErrorEnum { } /// Nested message and enum types in `AdErrorEnum`. pub mod ad_error_enum { - /// Enum describing possible ad errors. + /// Enum describing possible ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ad customizers are not supported for ad type. + /// Ad customizers are not supported for ad type. AdCustomizersNotSupportedForAdType = 2, - /// Estimating character sizes the string is too long. + /// Estimating character sizes the string is too long. ApproximatelyTooLong = 3, - /// Estimating character sizes the string is too short. + /// Estimating character sizes the string is too short. ApproximatelyTooShort = 4, - /// There is a problem with the snippet. + /// There is a problem with the snippet. BadSnippet = 5, - /// Cannot modify an ad. + /// Cannot modify an ad. CannotModifyAd = 6, - /// business name and url cannot be set at the same time + /// business name and url cannot be set at the same time CannotSetBusinessNameIfUrlSet = 7, - /// The specified field is incompatible with this ad's type or settings. + /// The specified field is incompatible with this ad's type or settings. CannotSetField = 8, - /// Cannot set field when originAdId is set. + /// Cannot set field when originAdId is set. CannotSetFieldWithOriginAdIdSet = 9, - /// Cannot set field when an existing ad id is set for sharing. + /// Cannot set field when an existing ad id is set for sharing. CannotSetFieldWithAdIdSetForSharing = 10, - /// Cannot set allowFlexibleColor false if no color is provided by user. + /// Cannot set allowFlexibleColor false if no color is provided by user. CannotSetAllowFlexibleColorFalse = 11, - /// When user select native, no color control is allowed because we will - /// always respect publisher color for native format serving. + /// When user select native, no color control is allowed because we will + /// always respect publisher color for native format serving. CannotSetColorControlWhenNativeFormatSetting = 12, - /// Cannot specify a url for the ad type + /// Cannot specify a url for the ad type CannotSetUrl = 13, - /// Cannot specify a tracking or mobile url without also setting final urls + /// Cannot specify a tracking or mobile url without also setting final urls CannotSetWithoutFinalUrls = 14, - /// Cannot specify a legacy url and a final url simultaneously + /// Cannot specify a legacy url and a final url simultaneously CannotSetWithFinalUrls = 15, - /// Cannot specify a urls in UrlData and in template fields simultaneously. + /// Cannot specify a urls in UrlData and in template fields simultaneously. CannotSetWithUrlData = 17, - /// This operator cannot be used with a subclass of Ad. + /// This operator cannot be used with a subclass of Ad. CannotUseAdSubclassForOperator = 18, - /// Customer is not approved for mobile ads. + /// Customer is not approved for mobile ads. CustomerNotApprovedMobileads = 19, - /// Customer is not approved for 3PAS richmedia ads. + /// Customer is not approved for 3PAS richmedia ads. CustomerNotApprovedThirdpartyAds = 20, - /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. + /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. CustomerNotApprovedThirdpartyRedirectAds = 21, - /// Not an eligible customer + /// Not an eligible customer CustomerNotEligible = 22, - /// Customer is not eligible for updating beacon url + /// Customer is not eligible for updating beacon url CustomerNotEligibleForUpdatingBeaconUrl = 23, - /// There already exists an ad with the same dimensions in the union. + /// There already exists an ad with the same dimensions in the union. DimensionAlreadyInUnion = 24, - /// Ad's dimension must be set before setting union dimension. + /// Ad's dimension must be set before setting union dimension. DimensionMustBeSet = 25, - /// Ad's dimension must be included in the union dimensions. + /// Ad's dimension must be included in the union dimensions. DimensionNotInUnion = 26, - /// Display Url cannot be specified (applies to Ad Exchange Ads) + /// Display Url cannot be specified (applies to Ad Exchange Ads) DisplayUrlCannotBeSpecified = 27, - /// Telephone number contains invalid characters or invalid format. - /// Re-enter your number using digits (0-9), dashes (-), and parentheses - /// only. + /// Telephone number contains invalid characters or invalid format. + /// Re-enter your number using digits (0-9), dashes (-), and parentheses + /// only. DomesticPhoneNumberFormat = 28, - /// Emergency telephone numbers are not allowed. Enter a valid - /// domestic phone number to connect customers to your business. + /// Emergency telephone numbers are not allowed. Enter a valid + /// domestic phone number to connect customers to your business. EmergencyPhoneNumber = 29, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 30, - /// A feed attribute referenced in an ad customizer tag is not in the ad - /// customizer mapping for the feed. + /// A feed attribute referenced in an ad customizer tag is not in the ad + /// customizer mapping for the feed. FeedAttributeMustHaveMappingForTypeId = 31, - /// The ad customizer field mapping for the feed attribute does not match the - /// expected field type. + /// The ad customizer field mapping for the feed attribute does not match the + /// expected field type. FeedAttributeMappingTypeMismatch = 32, - /// The use of ad customizer tags in the ad text is disallowed. Details in - /// trigger. + /// The use of ad customizer tags in the ad text is disallowed. Details in + /// trigger. IllegalAdCustomizerTagUse = 33, - /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. + /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. IllegalTagUse = 34, - /// The dimensions of the ad are specified or derived in multiple ways and - /// are not consistent. + /// The dimensions of the ad are specified or derived in multiple ways and + /// are not consistent. InconsistentDimensions = 35, - /// The status cannot differ among template ads of the same union. + /// The status cannot differ among template ads of the same union. InconsistentStatusInTemplateUnion = 36, - /// The length of the string is not valid. + /// The length of the string is not valid. IncorrectLength = 37, - /// The ad is ineligible for upgrade. + /// The ad is ineligible for upgrade. IneligibleForUpgrade = 38, - /// User cannot create mobile ad for countries targeted in specified - /// campaign. + /// User cannot create mobile ad for countries targeted in specified + /// campaign. InvalidAdAddressCampaignTarget = 39, - /// Invalid Ad type. A specific type of Ad is required. + /// Invalid Ad type. A specific type of Ad is required. InvalidAdType = 40, - /// Headline, description or phone cannot be present when creating mobile - /// image ad. + /// Headline, description or phone cannot be present when creating mobile + /// image ad. InvalidAttributesForMobileImage = 41, - /// Image cannot be present when creating mobile text ad. + /// Image cannot be present when creating mobile text ad. InvalidAttributesForMobileText = 42, - /// Invalid call to action text. + /// Invalid call to action text. InvalidCallToActionText = 43, - /// Invalid character in URL. + /// Invalid character in URL. InvalidCharacterForUrl = 44, - /// Creative's country code is not valid. + /// Creative's country code is not valid. InvalidCountryCode = 45, - /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) + /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) InvalidExpandedDynamicSearchAdTag = 47, - /// An input error whose real reason was not properly mapped (should not - /// happen). + /// An input error whose real reason was not properly mapped (should not + /// happen). InvalidInput = 48, - /// An invalid markup language was entered. + /// An invalid markup language was entered. InvalidMarkupLanguage = 49, - /// An invalid mobile carrier was entered. + /// An invalid mobile carrier was entered. InvalidMobileCarrier = 50, - /// Specified mobile carriers target a country not targeted by the campaign. + /// Specified mobile carriers target a country not targeted by the campaign. InvalidMobileCarrierTarget = 51, - /// Wrong number of elements for given element type + /// Wrong number of elements for given element type InvalidNumberOfElements = 52, - /// The format of the telephone number is incorrect. Re-enter the - /// number using the correct format. + /// The format of the telephone number is incorrect. Re-enter the + /// number using the correct format. InvalidPhoneNumberFormat = 53, - /// The certified vendor format id is incorrect. + /// The certified vendor format id is incorrect. InvalidRichMediaCertifiedVendorFormatId = 54, - /// The template ad data contains validation errors. + /// The template ad data contains validation errors. InvalidTemplateData = 55, - /// The template field doesn't have have the correct type. + /// The template field doesn't have have the correct type. InvalidTemplateElementFieldType = 56, - /// Invalid template id. + /// Invalid template id. InvalidTemplateId = 57, - /// After substituting replacement strings, the line is too wide. + /// After substituting replacement strings, the line is too wide. LineTooWide = 58, - /// The feed referenced must have ad customizer mapping to be used in a - /// customizer tag. + /// The feed referenced must have ad customizer mapping to be used in a + /// customizer tag. MissingAdCustomizerMapping = 59, - /// Missing address component in template element address field. + /// Missing address component in template element address field. MissingAddressComponent = 60, - /// An ad name must be entered. + /// An ad name must be entered. MissingAdvertisementName = 61, - /// Business name must be entered. + /// Business name must be entered. MissingBusinessName = 62, - /// Description (line 2) must be entered. + /// Description (line 2) must be entered. MissingDescription1 = 63, - /// Description (line 3) must be entered. + /// Description (line 3) must be entered. MissingDescription2 = 64, - /// The destination url must contain at least one tag (for example, {lpurl}) + /// The destination url must contain at least one tag (for example, {lpurl}) MissingDestinationUrlTag = 65, - /// The tracking url template of ExpandedDynamicSearchAd must contain at - /// least one tag. (for example, {lpurl}) + /// The tracking url template of ExpandedDynamicSearchAd must contain at + /// least one tag. (for example, {lpurl}) MissingLandingPageUrlTag = 66, - /// A valid dimension must be specified for this ad. + /// A valid dimension must be specified for this ad. MissingDimension = 67, - /// A display URL must be entered. + /// A display URL must be entered. MissingDisplayUrl = 68, - /// Headline must be entered. + /// Headline must be entered. MissingHeadline = 69, - /// A height must be entered. + /// A height must be entered. MissingHeight = 70, - /// An image must be entered. + /// An image must be entered. MissingImage = 71, - /// Marketing image or product videos are required. + /// Marketing image or product videos are required. MissingMarketingImageOrProductVideos = 72, - /// The markup language in which your site is written must be entered. + /// The markup language in which your site is written must be entered. MissingMarkupLanguages = 73, - /// A mobile carrier must be entered. + /// A mobile carrier must be entered. MissingMobileCarrier = 74, - /// Phone number must be entered. + /// Phone number must be entered. MissingPhone = 75, - /// Missing required template fields + /// Missing required template fields MissingRequiredTemplateFields = 76, - /// Missing a required field value + /// Missing a required field value MissingTemplateFieldValue = 77, - /// The ad must have text. + /// The ad must have text. MissingText = 78, - /// A visible URL must be entered. + /// A visible URL must be entered. MissingVisibleUrl = 79, - /// A width must be entered. + /// A width must be entered. MissingWidth = 80, - /// Only 1 feed can be used as the source of ad customizer substitutions in a - /// single ad. + /// Only 1 feed can be used as the source of ad customizer substitutions in a + /// single ad. MultipleDistinctFeedsUnsupported = 81, - /// TempAdUnionId must be use when adding template ads. + /// TempAdUnionId must be use when adding template ads. MustUseTempAdUnionIdOnAdd = 82, - /// The string has too many characters. + /// The string has too many characters. TooLong = 83, - /// The string has too few characters. + /// The string has too few characters. TooShort = 84, - /// Ad union dimensions cannot change for saved ads. + /// Ad union dimensions cannot change for saved ads. UnionDimensionsCannotChange = 85, - /// Address component is not {country, lat, lng}. + /// Address component is not {country, lat, lng}. UnknownAddressComponent = 86, - /// Unknown unique field name + /// Unknown unique field name UnknownFieldName = 87, - /// Unknown unique name (template element type specifier) + /// Unknown unique name (template element type specifier) UnknownUniqueName = 88, - /// Unsupported ad dimension + /// Unsupported ad dimension UnsupportedDimensions = 89, - /// URL starts with an invalid scheme. + /// URL starts with an invalid scheme. UrlInvalidScheme = 90, - /// URL ends with an invalid top-level domain name. + /// URL ends with an invalid top-level domain name. UrlInvalidTopLevelDomain = 91, - /// URL contains illegal characters. + /// URL contains illegal characters. UrlMalformed = 92, - /// URL must contain a host name. + /// URL must contain a host name. UrlNoHost = 93, - /// URL not equivalent during upgrade. + /// URL not equivalent during upgrade. UrlNotEquivalent = 94, - /// URL host name too long to be stored as visible URL (applies to Ad - /// Exchange ads) + /// URL host name too long to be stored as visible URL (applies to Ad + /// Exchange ads) UrlHostNameTooLong = 95, - /// URL must start with a scheme. + /// URL must start with a scheme. UrlNoScheme = 96, - /// URL should end in a valid domain extension, such as .com or .net. + /// URL should end in a valid domain extension, such as .com or .net. UrlNoTopLevelDomain = 97, - /// URL must not end with a path. + /// URL must not end with a path. UrlPathNotAllowed = 98, - /// URL must not specify a port. + /// URL must not specify a port. UrlPortNotAllowed = 99, - /// URL must not contain a query. + /// URL must not contain a query. UrlQueryNotAllowed = 100, - /// A url scheme is not allowed in front of tag in tracking url template - /// (for example, ) + /// A url scheme is not allowed in front of tag in tracking url template + /// (for example, ) UrlSchemeBeforeExpandedDynamicSearchAdTag = 102, - /// The user does not have permissions to create a template ad for the given - /// template. + /// The user does not have permissions to create a template ad for the given + /// template. UserDoesNotHaveAccessToTemplate = 103, - /// Expandable setting is inconsistent/wrong. For example, an AdX ad is - /// invalid if it has a expandable vendor format but no expanding directions - /// specified, or expanding directions is specified, but the vendor format is - /// not expandable. + /// Expandable setting is inconsistent/wrong. For example, an AdX ad is + /// invalid if it has a expandable vendor format but no expanding directions + /// specified, or expanding directions is specified, but the vendor format is + /// not expandable. InconsistentExpandableSettings = 104, - /// Format is invalid + /// Format is invalid InvalidFormat = 105, - /// The text of this field did not match a pattern of allowed values. + /// The text of this field did not match a pattern of allowed values. InvalidFieldText = 106, - /// Template element is mising + /// Template element is mising ElementNotPresent = 107, - /// Error occurred during image processing + /// Error occurred during image processing ImageError = 108, - /// The value is not within the valid range + /// The value is not within the valid range ValueNotInRange = 109, - /// Template element field is not present + /// Template element field is not present FieldNotPresent = 110, - /// Address is incomplete + /// Address is incomplete AddressNotComplete = 111, - /// Invalid address + /// Invalid address AddressInvalid = 112, - /// Error retrieving specified video + /// Error retrieving specified video VideoRetrievalError = 113, - /// Error processing audio + /// Error processing audio AudioError = 114, - /// Display URL is incorrect for YouTube PYV ads + /// Display URL is incorrect for YouTube PYV ads InvalidYoutubeDisplayUrl = 115, - /// Too many product Images in GmailAd + /// Too many product Images in GmailAd TooManyProductImages = 116, - /// Too many product Videos in GmailAd + /// Too many product Videos in GmailAd TooManyProductVideos = 117, - /// The device preference is not compatible with the ad type + /// The device preference is not compatible with the ad type IncompatibleAdTypeAndDevicePreference = 118, - /// Call tracking is not supported for specified country. + /// Call tracking is not supported for specified country. CalltrackingNotSupportedForCountry = 119, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CarrierSpecificShortNumberNotAllowed = 120, - /// Specified phone number type is disallowed. + /// Specified phone number type is disallowed. DisallowedNumberType = 121, - /// Phone number not supported for country. + /// Phone number not supported for country. PhoneNumberNotSupportedForCountry = 122, - /// Phone number not supported with call tracking enabled for country. + /// Phone number not supported with call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 123, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. PremiumRateNumberNotAllowed = 124, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. VanityPhoneNumberNotAllowed = 125, - /// Invalid call conversion type id. + /// Invalid call conversion type id. InvalidCallConversionTypeId = 126, - /// Cannot disable call conversion and set conversion type id. + /// Cannot disable call conversion and set conversion type id. CannotDisableCallConversionAndSetConversionTypeId = 127, - /// Cannot set path2 without path1. + /// Cannot set path2 without path1. CannotSetPath2WithoutPath1 = 128, - /// Missing domain name in campaign setting when adding expanded dynamic - /// search ad. + /// Missing domain name in campaign setting when adding expanded dynamic + /// search ad. MissingDynamicSearchAdsSettingDomainName = 129, - /// The associated ad is not compatible with restriction type. + /// The associated ad is not compatible with restriction type. IncompatibleWithRestrictionType = 130, - /// Consent for call recording is required for creating/updating call only - /// ads. See + /// Consent for call recording is required for creating/updating call only + /// ads. See CustomerConsentForCallRecordingRequired = 131, - /// Either an image or a media bundle is required in a display upload ad. + /// Either an image or a media bundle is required in a display upload ad. MissingImageOrMediaBundle = 132, - /// The display upload product type is not supported in this campaign. + /// The display upload product type is not supported in this campaign. ProductTypeNotSupportedInThisCampaign = 133, - /// The default value of an ad placeholder can not be the empty string. + /// The default value of an ad placeholder can not be the empty string. PlaceholderCannotHaveEmptyDefaultValue = 134, - /// Ad placeholders with countdown functions must not have a default value. + /// Ad placeholders with countdown functions must not have a default value. PlaceholderCountdownFunctionCannotHaveDefaultValue = 135, - /// A previous ad placeholder that had a default value was found which means - /// that all (non-countdown) placeholders must have a default value. This - /// ad placeholder does not have a default value. + /// A previous ad placeholder that had a default value was found which means + /// that all (non-countdown) placeholders must have a default value. This + /// ad placeholder does not have a default value. PlaceholderDefaultValueMissing = 136, - /// A previous ad placeholder that did not have a default value was found - /// which means that no placeholders may have a default value. This - /// ad placeholder does have a default value. + /// A previous ad placeholder that did not have a default value was found + /// which means that no placeholders may have a default value. This + /// ad placeholder does have a default value. UnexpectedPlaceholderDefaultValue = 137, - /// Two ad customizers may not be directly adjacent in an ad text. They must - /// be separated by at least one character. + /// Two ad customizers may not be directly adjacent in an ad text. They must + /// be separated by at least one character. AdCustomizersMayNotBeAdjacent = 138, - /// The ad is not associated with any enabled AdGroupAd, and cannot be - /// updated. + /// The ad is not associated with any enabled AdGroupAd, and cannot be + /// updated. UpdatingAdWithNoEnabledAssociation = 139, - /// Call Ad verification url and final url don't have same domain. + /// Call Ad verification url and final url don't have same domain. CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain = 140, - /// Final url and verification url cannot both be empty for call ads. + /// Final url and verification url cannot both be empty for call ads. CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty = 154, - /// Too many ad customizers in one asset. + /// Too many ad customizers in one asset. TooManyAdCustomizers = 141, - /// The ad customizer tag is recognized, but the format is invalid. + /// The ad customizer tag is recognized, but the format is invalid. InvalidAdCustomizerFormat = 142, - /// Customizer tags cannot be nested. + /// Customizer tags cannot be nested. NestedAdCustomizerSyntax = 143, - /// The ad customizer syntax used in the ad is not supported. + /// The ad customizer syntax used in the ad is not supported. UnsupportedAdCustomizerSyntax = 144, - /// There exists unpaired brace in the ad customizer tag. + /// There exists unpaired brace in the ad customizer tag. UnpairedBraceInAdCustomizerTag = 145, - /// More than one type of countdown tag exists among all text lines. + /// More than one type of countdown tag exists among all text lines. MoreThanOneCountdownTagTypeExists = 146, - /// Date time in the countdown tag is invalid. + /// Date time in the countdown tag is invalid. DateTimeInCountdownTagIsInvalid = 147, - /// Date time in the countdown tag is in the past. + /// Date time in the countdown tag is in the past. DateTimeInCountdownTagIsPast = 148, - /// Cannot recognize the ad customizer tag. + /// Cannot recognize the ad customizer tag. UnrecognizedAdCustomizerTagFound = 149, - /// Customizer type forbidden for this field. + /// Customizer type forbidden for this field. CustomizerTypeForbiddenForField = 150, - /// Customizer attribute name is invalid. + /// Customizer attribute name is invalid. InvalidCustomizerAttributeName = 151, - /// App store value does not match the value of the app store in the app - /// specified in the campaign. + /// App store value does not match the value of the app store in the app + /// specified in the campaign. StoreMismatch = 152, - /// Missing required image aspect ratio. + /// Missing required image aspect ratio. MissingRequiredImageAspectRatio = 153, - /// Aspect ratios mismatch between different assets. + /// Aspect ratios mismatch between different assets. MismatchedAspectRatios = 155, - /// Images must be unique between different carousel card assets. + /// Images must be unique between different carousel card assets. DuplicateImageAcrossCarouselCards = 156, } impl AdError { @@ -755,46 +755,46 @@ pub mod ad_error_enum { } } } -// Proto file describing ad group ad errors. +// Proto file describing ad group ad errors. -/// Container for enum describing possible ad group ad errors. +/// Container for enum describing possible ad group ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdErrorEnum { } /// Nested message and enum types in `AdGroupAdErrorEnum`. pub mod ad_group_ad_error_enum { - /// Enum describing possible ad group ad errors. + /// Enum describing possible ad group ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the adgroup ad and the label. + /// No link found between the adgroup ad and the label. AdGroupAdLabelDoesNotExist = 2, - /// The label has already been attached to the adgroup ad. + /// The label has already been attached to the adgroup ad. AdGroupAdLabelAlreadyExists = 3, - /// The specified ad was not found in the adgroup + /// The specified ad was not found in the adgroup AdNotUnderAdgroup = 4, - /// Removed ads may not be modified + /// Removed ads may not be modified CannotOperateOnRemovedAdgroupad = 5, - /// An ad of this type is deprecated and cannot be created. Only deletions - /// are permitted. + /// An ad of this type is deprecated and cannot be created. Only deletions + /// are permitted. CannotCreateDeprecatedAds = 6, - /// Text ads are deprecated and cannot be created. Use expanded text ads - /// instead. + /// Text ads are deprecated and cannot be created. Use expanded text ads + /// instead. CannotCreateTextAds = 7, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 8, - /// An ad may only be modified once per call + /// An ad may only be modified once per call ResourceReferencedInMultipleOps = 9, - /// AdGroupAds with the given ad type cannot be paused. + /// AdGroupAds with the given ad type cannot be paused. AdTypeCannotBePaused = 10, - /// AdGroupAds with the given ad type cannot be removed. + /// AdGroupAds with the given ad type cannot be removed. AdTypeCannotBeRemoved = 11, - /// An ad of this type is deprecated and cannot be updated. Only removals - /// are permitted. + /// An ad of this type is deprecated and cannot be updated. Only removals + /// are permitted. CannotUpdateDeprecatedAds = 12, } impl AdGroupAdError { @@ -821,26 +821,26 @@ pub mod ad_group_ad_error_enum { } } } -// Proto file describing ad group bid modifier errors. +// Proto file describing ad group bid modifier errors. -/// Container for enum describing possible ad group bid modifier errors. +/// Container for enum describing possible ad group bid modifier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierErrorEnum { } /// Nested message and enum types in `AdGroupBidModifierErrorEnum`. pub mod ad_group_bid_modifier_error_enum { - /// Enum describing possible ad group bid modifier errors. + /// Enum describing possible ad group bid modifier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupBidModifierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion ID does not support bid modification. + /// The criterion ID does not support bid modification. CriterionIdNotSupported = 2, - /// Cannot override the bid modifier for the given criterion ID if the parent - /// campaign is opted out of the same criterion. + /// Cannot override the bid modifier for the given criterion ID if the parent + /// campaign is opted out of the same criterion. CannotOverrideOptedOutCampaignCriterionBidModifier = 3, } impl AdGroupBidModifierError { @@ -858,23 +858,23 @@ pub mod ad_group_bid_modifier_error_enum { } } } -// Proto file describing ad group criterion customizer errors. +// Proto file describing ad group criterion customizer errors. -/// Container for enum describing possible ad group criterion customizer errors. +/// Container for enum describing possible ad group criterion customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCriterionCustomizerErrorEnum`. pub mod ad_group_criterion_customizer_error_enum { - /// Enum describing possible ad group criterion customizer errors. + /// Enum describing possible ad group criterion customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Only keyword type criterion is allowed to link customizer attribute. + /// Only keyword type criterion is allowed to link customizer attribute. CriterionIsNotKeyword = 2, } impl AdGroupCriterionCustomizerError { @@ -891,86 +891,86 @@ pub mod ad_group_criterion_customizer_error_enum { } } } -// Proto file describing ad group criterion errors. +// Proto file describing ad group criterion errors. -/// Container for enum describing possible ad group criterion errors. +/// Container for enum describing possible ad group criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionErrorEnum { } /// Nested message and enum types in `AdGroupCriterionErrorEnum`. pub mod ad_group_criterion_error_enum { - /// Enum describing possible ad group criterion errors. + /// Enum describing possible ad group criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the AdGroupCriterion and the label. + /// No link found between the AdGroupCriterion and the label. AdGroupCriterionLabelDoesNotExist = 2, - /// The label has already been attached to the AdGroupCriterion. + /// The label has already been attached to the AdGroupCriterion. AdGroupCriterionLabelAlreadyExists = 3, - /// Negative AdGroupCriterion cannot have labels. + /// Negative AdGroupCriterion cannot have labels. CannotAddLabelToNegativeCriterion = 4, - /// Too many operations for a single call. + /// Too many operations for a single call. TooManyOperations = 5, - /// Negative ad group criteria are not updateable. + /// Negative ad group criteria are not updateable. CantUpdateNegative = 6, - /// Concrete type of criterion (keyword v.s. placement) is required for ADD - /// and SET operations. + /// Concrete type of criterion (keyword v.s. placement) is required for ADD + /// and SET operations. ConcreteTypeRequired = 7, - /// Bid is incompatible with ad group's bidding settings. + /// Bid is incompatible with ad group's bidding settings. BidIncompatibleWithAdgroup = 8, - /// Cannot target and exclude the same criterion at once. + /// Cannot target and exclude the same criterion at once. CannotTargetAndExclude = 9, - /// The URL of a placement is invalid. + /// The URL of a placement is invalid. IllegalUrl = 10, - /// Keyword text was invalid. + /// Keyword text was invalid. InvalidKeywordText = 11, - /// Destination URL was invalid. + /// Destination URL was invalid. InvalidDestinationUrl = 12, - /// The destination url must contain at least one tag (for example, {lpurl}) + /// The destination url must contain at least one tag (for example, {lpurl}) MissingDestinationUrlTag = 13, - /// Keyword-level cpm bid is not supported + /// Keyword-level cpm bid is not supported KeywordLevelBidNotSupportedForManualcpm = 14, - /// For example, cannot add a biddable ad group criterion that had been - /// removed. + /// For example, cannot add a biddable ad group criterion that had been + /// removed. InvalidUserStatus = 15, - /// Criteria type cannot be targeted for the ad group. Either the account is - /// restricted to keywords only, the criteria type is incompatible with the - /// campaign's bidding strategy, or the criteria type can only be applied to - /// campaigns. + /// Criteria type cannot be targeted for the ad group. Either the account is + /// restricted to keywords only, the criteria type is incompatible with the + /// campaign's bidding strategy, or the criteria type can only be applied to + /// campaigns. CannotAddCriteriaType = 16, - /// Criteria type cannot be excluded for the ad group. Refer to the - /// documentation for a specific criterion to check if it is excludable. + /// Criteria type cannot be excluded for the ad group. Refer to the + /// documentation for a specific criterion to check if it is excludable. CannotExcludeCriteriaType = 17, - /// Partial failure is not supported for shopping campaign mutate operations. + /// Partial failure is not supported for shopping campaign mutate operations. CampaignTypeNotCompatibleWithPartialFailure = 27, - /// Operations in the mutate request changes too many shopping ad groups. - /// Split requests for multiple shopping ad groups across multiple - /// requests. + /// Operations in the mutate request changes too many shopping ad groups. + /// Split requests for multiple shopping ad groups across multiple + /// requests. OperationsForTooManyShoppingAdgroups = 28, - /// Not allowed to modify url fields of an ad group criterion if there are - /// duplicate elements for that ad group criterion in the request. + /// Not allowed to modify url fields of an ad group criterion if there are + /// duplicate elements for that ad group criterion in the request. CannotModifyUrlFieldsWithDuplicateElements = 29, - /// Cannot set url fields without also setting final urls. + /// Cannot set url fields without also setting final urls. CannotSetWithoutFinalUrls = 30, - /// Cannot clear final urls if final mobile urls exist. + /// Cannot clear final urls if final mobile urls exist. CannotClearFinalUrlsIfFinalMobileUrlsExist = 31, - /// Cannot clear final urls if final app urls exist. + /// Cannot clear final urls if final app urls exist. CannotClearFinalUrlsIfFinalAppUrlsExist = 32, - /// Cannot clear final urls if tracking url template exists. + /// Cannot clear final urls if tracking url template exists. CannotClearFinalUrlsIfTrackingUrlTemplateExists = 33, - /// Cannot clear final urls if url custom parameters exist. + /// Cannot clear final urls if url custom parameters exist. CannotClearFinalUrlsIfUrlCustomParametersExist = 34, - /// Cannot set both destination url and final urls. + /// Cannot set both destination url and final urls. CannotSetBothDestinationUrlAndFinalUrls = 35, - /// Cannot set both destination url and tracking url template. + /// Cannot set both destination url and tracking url template. CannotSetBothDestinationUrlAndTrackingUrlTemplate = 36, - /// Final urls are not supported for this criterion type. + /// Final urls are not supported for this criterion type. FinalUrlsNotSupportedForCriterionType = 37, - /// Final mobile urls are not supported for this criterion type. + /// Final mobile urls are not supported for this criterion type. FinalMobileUrlsNotSupportedForCriterionType = 38, } impl AdGroupCriterionError { @@ -1014,21 +1014,21 @@ pub mod ad_group_criterion_error_enum { } } } -// Proto file describing ad group customizer errors. +// Proto file describing ad group customizer errors. -/// Container for enum describing possible ad group customizer errors. +/// Container for enum describing possible ad group customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCustomizerErrorEnum`. pub mod ad_group_customizer_error_enum { - /// Enum describing possible ad group customizer errors. + /// Enum describing possible ad group customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl AdGroupCustomizerError { @@ -1044,54 +1044,54 @@ pub mod ad_group_customizer_error_enum { } } } -// Proto file describing ad group errors. +// Proto file describing ad group errors. -/// Container for enum describing possible ad group errors. +/// Container for enum describing possible ad group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupErrorEnum { } /// Nested message and enum types in `AdGroupErrorEnum`. pub mod ad_group_error_enum { - /// Enum describing possible ad group errors. + /// Enum describing possible ad group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// AdGroup with the same name already exists for the campaign. + /// AdGroup with the same name already exists for the campaign. DuplicateAdgroupName = 2, - /// AdGroup name is not valid. + /// AdGroup name is not valid. InvalidAdgroupName = 3, - /// Advertiser is not allowed to target sites or set site bids that are not - /// on the Google Search Network. + /// Advertiser is not allowed to target sites or set site bids that are not + /// on the Google Search Network. AdvertiserNotOnContentNetwork = 5, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 6, - /// AdGroup bid does not match the campaign's bidding strategy. + /// AdGroup bid does not match the campaign's bidding strategy. BidTypeAndBiddingStrategyMismatch = 7, - /// AdGroup name is required for Add. + /// AdGroup name is required for Add. MissingAdgroupName = 8, - /// No link found between the ad group and the label. + /// No link found between the ad group and the label. AdgroupLabelDoesNotExist = 9, - /// The label has already been attached to the ad group. + /// The label has already been attached to the ad group. AdgroupLabelAlreadyExists = 10, - /// The CriterionTypeGroup is not supported for the content bid dimension. + /// The CriterionTypeGroup is not supported for the content bid dimension. InvalidContentBidCriterionTypeGroup = 11, - /// The ad group type is not compatible with the campaign channel type. + /// The ad group type is not compatible with the campaign channel type. AdGroupTypeNotValidForAdvertisingChannelType = 12, - /// The ad group type is not supported in the country of sale of the - /// campaign. + /// The ad group type is not supported in the country of sale of the + /// campaign. AdgroupTypeNotSupportedForCampaignSalesCountry = 13, - /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - /// campaigns that have DynamicSearchAdsSetting attached. + /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to + /// campaigns that have DynamicSearchAdsSetting attached. CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14, - /// Promoted hotels ad groups are only available to customers on the - /// allow-list. + /// Promoted hotels ad groups are only available to customers on the + /// allow-list. PromotedHotelAdGroupsNotAvailableForCustomer = 15, - /// The field type cannot be excluded because an active ad group-asset link - /// of this type exists. + /// The field type cannot be excluded because an active ad group-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 16, } impl AdGroupError { @@ -1121,37 +1121,37 @@ pub mod ad_group_error_enum { } } } -// Proto file describing ad group feed errors. +// Proto file describing ad group feed errors. -/// Container for enum describing possible ad group feed errors. +/// Container for enum describing possible ad group feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedErrorEnum { } /// Nested message and enum types in `AdGroupFeedErrorEnum`. pub mod ad_group_feed_error_enum { - /// Enum describing possible ad group feed errors. + /// Enum describing possible ad group feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this ad group and place holder type. + /// An active feed already exists for this ad group and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The AdGroupFeed already exists. UPDATE operation should be used to modify - /// the existing AdGroupFeed. + /// The AdGroupFeed already exists. UPDATE operation should be used to modify + /// the existing AdGroupFeed. AdgroupFeedAlreadyExists = 4, - /// Cannot operate on removed AdGroupFeed. + /// Cannot operate on removed AdGroupFeed. CannotOperateOnRemovedAdgroupFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Location AdGroupFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location AdGroupFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 8, } impl AdGroupFeedError { @@ -1174,25 +1174,25 @@ pub mod ad_group_feed_error_enum { } } } -// Proto file describing ad parameter errors. +// Proto file describing ad parameter errors. -/// Container for enum describing possible ad parameter errors. +/// Container for enum describing possible ad parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterErrorEnum { } /// Nested message and enum types in `AdParameterErrorEnum`. pub mod ad_parameter_error_enum { - /// Enum describing possible ad parameter errors. + /// Enum describing possible ad parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The ad group criterion must be a keyword criterion. + /// The ad group criterion must be a keyword criterion. AdGroupCriterionMustBeKeyword = 2, - /// The insertion text is invalid. + /// The insertion text is invalid. InvalidInsertionTextFormat = 3, } impl AdParameterError { @@ -1210,28 +1210,28 @@ pub mod ad_parameter_error_enum { } } } -// Proto file describing ad sharing errors. +// Proto file describing ad sharing errors. -/// Container for enum describing possible ad sharing errors. +/// Container for enum describing possible ad sharing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdSharingErrorEnum { } /// Nested message and enum types in `AdSharingErrorEnum`. pub mod ad_sharing_error_enum { - /// Enum describing possible ad sharing errors. + /// Enum describing possible ad sharing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdSharingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error resulting in attempting to add an Ad to an AdGroup that already - /// contains the Ad. + /// Error resulting in attempting to add an Ad to an AdGroup that already + /// contains the Ad. AdGroupAlreadyContainsAd = 2, - /// Ad is not compatible with the AdGroup it is being shared with. + /// Ad is not compatible with the AdGroup it is being shared with. IncompatibleAdUnderAdGroup = 3, - /// Cannot add AdGroupAd on inactive Ad. + /// Cannot add AdGroupAd on inactive Ad. CannotShareInactiveAd = 4, } impl AdSharingError { @@ -1250,23 +1250,23 @@ pub mod ad_sharing_error_enum { } } } -// Proto file describing adx errors. +// Proto file describing adx errors. -/// Container for enum describing possible adx errors. +/// Container for enum describing possible adx errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdxErrorEnum { } /// Nested message and enum types in `AdxErrorEnum`. pub mod adx_error_enum { - /// Enum describing possible adx errors. + /// Enum describing possible adx errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdxError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Attempt to use non-AdX feature by AdX customer. + /// Attempt to use non-AdX feature by AdX customer. UnsupportedFeature = 2, } impl AdxError { @@ -1283,99 +1283,99 @@ pub mod adx_error_enum { } } } -// Proto file describing asset errors. +// Proto file describing asset errors. -/// Container for enum describing possible asset errors. +/// Container for enum describing possible asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetErrorEnum { } /// Nested message and enum types in `AssetErrorEnum`. pub mod asset_error_enum { - /// Enum describing possible asset errors. + /// Enum describing possible asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer is not is not on the allow-list for this asset type. + /// The customer is not is not on the allow-list for this asset type. CustomerNotOnAllowlistForAssetType = 13, - /// Assets are duplicated across operations. + /// Assets are duplicated across operations. DuplicateAsset = 3, - /// The asset name is duplicated, either across operations or with an - /// existing asset. + /// The asset name is duplicated, either across operations or with an + /// existing asset. DuplicateAssetName = 4, - /// The Asset.asset_data oneof is empty. + /// The Asset.asset_data oneof is empty. AssetDataIsMissing = 5, - /// The asset has a name which is different from an existing duplicate that - /// represents the same content. + /// The asset has a name which is different from an existing duplicate that + /// represents the same content. CannotModifyAssetName = 6, - /// The field cannot be set for this asset type. + /// The field cannot be set for this asset type. FieldIncompatibleWithAssetType = 7, - /// Call to action must come from the list of supported values. + /// Call to action must come from the list of supported values. InvalidCallToActionText = 8, - /// A lead form asset is created with an invalid combination of input fields. + /// A lead form asset is created with an invalid combination of input fields. LeadFormInvalidFieldsCombination = 9, - /// Lead forms require that the Terms of Service have been agreed to before - /// mutates can be executed. + /// Lead forms require that the Terms of Service have been agreed to before + /// mutates can be executed. LeadFormMissingAgreement = 10, - /// Asset status is invalid in this operation. + /// Asset status is invalid in this operation. InvalidAssetStatus = 11, - /// The field cannot be modified by this asset type. + /// The field cannot be modified by this asset type. FieldCannotBeModifiedForAssetType = 12, - /// Ad schedules for the same asset cannot overlap. + /// Ad schedules for the same asset cannot overlap. SchedulesCannotOverlap = 14, - /// Cannot set both percent off and money amount off fields of promotion - /// asset. + /// Cannot set both percent off and money amount off fields of promotion + /// asset. PromotionCannotSetPercentOffAndMoneyAmountOff = 15, - /// Cannot set both promotion code and orders over amount fields of promotion - /// asset. + /// Cannot set both promotion code and orders over amount fields of promotion + /// asset. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 16, - /// The field has too many decimal places specified. + /// The field has too many decimal places specified. TooManyDecimalPlacesSpecified = 17, - /// Duplicate assets across operations, which have identical Asset.asset_data - /// oneof, cannot have different asset level fields for asset types which are - /// deduped. + /// Duplicate assets across operations, which have identical Asset.asset_data + /// oneof, cannot have different asset level fields for asset types which are + /// deduped. DuplicateAssetsWithDifferentFieldValue = 18, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CallCarrierSpecificShortNumberNotAllowed = 19, - /// Customer consent required for call recording Terms of Service. + /// Customer consent required for call recording Terms of Service. CallCustomerConsentForCallRecordingRequired = 20, - /// The type of the specified phone number is not allowed. + /// The type of the specified phone number is not allowed. CallDisallowedNumberType = 21, - /// If the default call_conversion_action is not used, the customer must have - /// a ConversionAction with the same id and the ConversionAction must be call - /// conversion type. + /// If the default call_conversion_action is not used, the customer must have + /// a ConversionAction with the same id and the ConversionAction must be call + /// conversion type. CallInvalidConversionAction = 22, - /// The country code of the phone number is invalid. + /// The country code of the phone number is invalid. CallInvalidCountryCode = 23, - /// The format of the phone number is incorrect. + /// The format of the phone number is incorrect. CallInvalidDomesticPhoneNumberFormat = 24, - /// The input phone number is not a valid phone number. + /// The input phone number is not a valid phone number. CallInvalidPhoneNumber = 25, - /// The phone number is not supported for country. + /// The phone number is not supported for country. CallPhoneNumberNotSupportedForCountry = 26, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. CallPremiumRateNumberNotAllowed = 27, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. CallVanityPhoneNumberNotAllowed = 28, - /// PriceOffering cannot have the same value for header and description. + /// PriceOffering cannot have the same value for header and description. PriceHeaderSameAsDescription = 29, - /// AppId is invalid. + /// AppId is invalid. MobileAppInvalidAppId = 30, - /// Invalid App download URL in final URLs. + /// Invalid App download URL in final URLs. MobileAppInvalidFinalUrlForAppDownloadUrl = 31, - /// Asset name is required for the asset type. + /// Asset name is required for the asset type. NameRequiredForAssetType = 32, - /// Legacy qualifying questions cannot be in the same Lead Form as - /// custom questions. + /// Legacy qualifying questions cannot be in the same Lead Form as + /// custom questions. LeadFormLegacyQualifyingQuestionsDisallowed = 33, - /// Unique name is required for this asset type. + /// Unique name is required for this asset type. NameConflictForAssetType = 34, - /// Cannot modify asset source. + /// Cannot modify asset source. CannotModifyAssetSource = 35, - /// User can not modify the automatically created asset. + /// User can not modify the automatically created asset. CannotModifyAutomaticallyCreatedAsset = 36, } impl AssetError { @@ -1425,27 +1425,27 @@ pub mod asset_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group asset errors. +/// Container for enum describing possible asset group asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetErrorEnum { } /// Nested message and enum types in `AssetGroupAssetErrorEnum`. pub mod asset_group_asset_error_enum { - /// Enum describing possible asset group asset errors. + /// Enum describing possible asset group asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot add duplicated asset group asset. + /// Cannot add duplicated asset group asset. DuplicateResource = 2, - /// Expandable tags are not allowed in description assets. + /// Expandable tags are not allowed in description assets. ExpandableTagsNotAllowedInDescription = 3, - /// Ad customizers are not supported in assetgroup's text assets. + /// Ad customizers are not supported in assetgroup's text assets. AdCustomizerNotSupported = 4, } impl AssetGroupAssetError { @@ -1464,41 +1464,41 @@ pub mod asset_group_asset_error_enum { } } } -// Proto file describing asset group errors. +// Proto file describing asset group errors. -/// Container for enum describing possible asset group errors. +/// Container for enum describing possible asset group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupErrorEnum { } /// Nested message and enum types in `AssetGroupErrorEnum`. pub mod asset_group_error_enum { - /// Enum describing possible asset group errors. + /// Enum describing possible asset group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each asset group in a single campaign must have a unique name. + /// Each asset group in a single campaign must have a unique name. DuplicateName = 2, - /// Cannot add asset group for the campaign type. + /// Cannot add asset group for the campaign type. CannotAddAssetGroupForCampaignType = 3, - /// Not enough headline asset for a valid asset group. + /// Not enough headline asset for a valid asset group. NotEnoughHeadlineAsset = 4, - /// Not enough long headline asset for a valid asset group. + /// Not enough long headline asset for a valid asset group. NotEnoughLongHeadlineAsset = 5, - /// Not enough description headline asset for a valid asset group. + /// Not enough description headline asset for a valid asset group. NotEnoughDescriptionAsset = 6, - /// Not enough business name asset for a valid asset group. + /// Not enough business name asset for a valid asset group. NotEnoughBusinessNameAsset = 7, - /// Not enough marketing image asset for a valid asset group. + /// Not enough marketing image asset for a valid asset group. NotEnoughMarketingImageAsset = 8, - /// Not enough square marketing image asset for a valid asset group. + /// Not enough square marketing image asset for a valid asset group. NotEnoughSquareMarketingImageAsset = 9, - /// Not enough logo asset for a valid asset group. + /// Not enough logo asset for a valid asset group. NotEnoughLogoAsset = 10, - /// Final url and shopping merchant url does not have the same domain. + /// Final url and shopping merchant url does not have the same domain. FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11, } impl AssetGroupError { @@ -1524,49 +1524,49 @@ pub mod asset_group_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group listing group filter -/// errors. +/// Container for enum describing possible asset group listing group filter +/// errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterErrorEnum { } /// Nested message and enum types in `AssetGroupListingGroupFilterErrorEnum`. pub mod asset_group_listing_group_filter_error_enum { - /// Enum describing possible asset group listing group filter errors. + /// Enum describing possible asset group listing group filter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupListingGroupFilterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Listing group tree is too deep. + /// Listing group tree is too deep. TreeTooDeep = 2, - /// Listing Group UNIT node cannot have children. + /// Listing Group UNIT node cannot have children. UnitCannotHaveChildren = 3, - /// Listing Group SUBDIVISION node must have everything else child. + /// Listing Group SUBDIVISION node must have everything else child. SubdivisionMustHaveEverythingElseChild = 4, - /// Dimension type of Listing Group must be the same as that of its siblings. + /// Dimension type of Listing Group must be the same as that of its siblings. DifferentDimensionTypeBetweenSiblings = 5, - /// The sibling Listing Groups target exactly the same dimension value. + /// The sibling Listing Groups target exactly the same dimension value. SameDimensionValueBetweenSiblings = 6, - /// The dimension type is the same as one of the ancestor Listing Groups. + /// The dimension type is the same as one of the ancestor Listing Groups. SameDimensionTypeBetweenAncestors = 7, - /// Each Listing Group tree must have a single root. + /// Each Listing Group tree must have a single root. MultipleRoots = 8, - /// Invalid Listing Group dimension value. + /// Invalid Listing Group dimension value. InvalidDimensionValue = 9, - /// Hierarchical dimension must refine a dimension of the same type. + /// Hierarchical dimension must refine a dimension of the same type. MustRefineHierarchicalParentType = 10, - /// Invalid Product Bidding Category. + /// Invalid Product Bidding Category. InvalidProductBiddingCategory = 11, - /// Modifying case value is allowed only while updating the entire subtree at - /// the same time. + /// Modifying case value is allowed only while updating the entire subtree at + /// the same time. ChangingCaseValueWithChildren = 12, - /// Subdivision node has children which must be removed first. + /// Subdivision node has children which must be removed first. SubdivisionHasChildren = 13, - /// Dimension can't subdivide everything-else node in its own hierarchy. + /// Dimension can't subdivide everything-else node in its own hierarchy. CannotRefineHierarchicalEverythingElse = 14, } impl AssetGroupListingGroupFilterError { @@ -1595,78 +1595,78 @@ pub mod asset_group_listing_group_filter_error_enum { } } } -// Proto file describing asset link errors. +// Proto file describing asset link errors. -/// Container for enum describing possible asset link errors. +/// Container for enum describing possible asset link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkErrorEnum { } /// Nested message and enum types in `AssetLinkErrorEnum`. pub mod asset_link_error_enum { - /// Enum describing possible asset link errors. + /// Enum describing possible asset link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Pinning is not supported for the given asset link field. + /// Pinning is not supported for the given asset link field. PinningUnsupported = 2, - /// The given field type is not supported to be added directly through asset - /// links. + /// The given field type is not supported to be added directly through asset + /// links. UnsupportedFieldType = 3, - /// The given asset's type and the specified field type are incompatible. + /// The given asset's type and the specified field type are incompatible. FieldTypeIncompatibleWithAssetType = 4, - /// The specified field type is incompatible with the given campaign type. + /// The specified field type is incompatible with the given campaign type. FieldTypeIncompatibleWithCampaignType = 5, - /// The campaign advertising channel type cannot be associated with the given - /// asset due to channel-based restrictions on the asset's fields. + /// The campaign advertising channel type cannot be associated with the given + /// asset due to channel-based restrictions on the asset's fields. IncompatibleAdvertisingChannelType = 6, - /// The image asset provided is not within the dimension constraints - /// specified for the submitted asset field. + /// The image asset provided is not within the dimension constraints + /// specified for the submitted asset field. ImageNotWithinSpecifiedDimensionRange = 7, - /// The pinned field is not valid for the submitted asset field. + /// The pinned field is not valid for the submitted asset field. InvalidPinnedField = 8, - /// The media bundle asset provided is too large for the submitted asset - /// field. + /// The media bundle asset provided is too large for the submitted asset + /// field. MediaBundleAssetFileSizeTooLarge = 9, - /// Not enough assets are available for use with other fields since other - /// assets are pinned to specific fields. + /// Not enough assets are available for use with other fields since other + /// assets are pinned to specific fields. NotEnoughAvailableAssetLinksForValidCombination = 10, - /// Not enough assets with fallback are available. When validating the - /// minimum number of assets, assets without fallback (for example, assets - /// that contain location tag without default value "{LOCATION(City)}") will - /// not be counted. + /// Not enough assets with fallback are available. When validating the + /// minimum number of assets, assets without fallback (for example, assets + /// that contain location tag without default value "{LOCATION(City)}") will + /// not be counted. NotEnoughAvailableAssetLinksWithFallback = 11, - /// This is a combination of the - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - /// with fallback are available since some assets are pinned. + /// This is a combination of the + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets + /// with fallback are available since some assets are pinned. NotEnoughAvailableAssetLinksWithFallbackForValidCombination = 12, - /// The YouTube video referenced in the provided asset has been removed. + /// The YouTube video referenced in the provided asset has been removed. YoutubeVideoRemoved = 13, - /// The YouTube video referenced in the provided asset is too long for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too long for the + /// field submitted. YoutubeVideoTooLong = 14, - /// The YouTube video referenced in the provided asset is too short for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too short for the + /// field submitted. YoutubeVideoTooShort = 15, - /// The specified field type is excluded for given campaign or ad group. + /// The specified field type is excluded for given campaign or ad group. ExcludedParentFieldType = 16, - /// The status is invalid for the operation specified. + /// The status is invalid for the operation specified. InvalidStatus = 17, - /// The YouTube video referenced in the provided asset has unknown duration. - /// This might be the case for a livestream video or a video being currently - /// uploaded to YouTube. In both cases, the video duration should eventually - /// get resolved. + /// The YouTube video referenced in the provided asset has unknown duration. + /// This might be the case for a livestream video or a video being currently + /// uploaded to YouTube. In both cases, the video duration should eventually + /// get resolved. YoutubeVideoDurationNotDefined = 18, - /// User cannot create automatically created links. + /// User cannot create automatically created links. CannotCreateAutomaticallyCreatedLinks = 19, - /// Advertiser links cannot link to automatically created asset. + /// Advertiser links cannot link to automatically created asset. CannotLinkToAutomaticallyCreatedAsset = 20, - /// Automatically created links cannot be changed into adveritser links or - /// the reverse. + /// Automatically created links cannot be changed into adveritser links or + /// the reverse. CannotModifyAssetLinkSource = 21, } impl AssetLinkError { @@ -1702,30 +1702,30 @@ pub mod asset_link_error_enum { } } } -// Proto file describing asset set asset errors. +// Proto file describing asset set asset errors. -/// Container for enum describing possible asset set asset errors. +/// Container for enum describing possible asset set asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetErrorEnum { } /// Nested message and enum types in `AssetSetAssetErrorEnum`. pub mod asset_set_asset_error_enum { - /// Enum describing possible asset set asset errors. + /// Enum describing possible asset set asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset type is not eligible to be linked to the specific type of asset - /// set. + /// The asset type is not eligible to be linked to the specific type of asset + /// set. InvalidAssetType = 2, - /// The asset set type is not eligible to contain the specified type of - /// assets. + /// The asset set type is not eligible to contain the specified type of + /// assets. InvalidAssetSetType = 3, - /// The asset contains duplicate external key with another asset in the asset - /// set. + /// The asset contains duplicate external key with another asset in the asset + /// set. DuplicateExternalKey = 4, } impl AssetSetAssetError { @@ -1744,23 +1744,23 @@ pub mod asset_set_asset_error_enum { } } } -// Proto file describing asset set errors. +// Proto file describing asset set errors. -/// Container for enum describing possible asset set errors. +/// Container for enum describing possible asset set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetErrorEnum { } /// Nested message and enum types in `AssetSetErrorEnum`. pub mod asset_set_error_enum { - /// Enum describing possible asset set errors. + /// Enum describing possible asset set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset set name matches that of another enabled asset set. + /// The asset set name matches that of another enabled asset set. DuplicateAssetSetName = 2, } impl AssetSetError { @@ -1777,33 +1777,33 @@ pub mod asset_set_error_enum { } } } -// Proto file describing asset set link errors. +// Proto file describing asset set link errors. -/// Container for enum describing possible asset set link errors. +/// Container for enum describing possible asset set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkErrorEnum { } /// Nested message and enum types in `AssetSetLinkErrorEnum`. pub mod asset_set_link_error_enum { - /// Enum describing possible asset set link errors. + /// Enum describing possible asset set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Advertising channel type cannot be attached to the asset set due to - /// channel-based restrictions. + /// Advertising channel type cannot be attached to the asset set due to + /// channel-based restrictions. IncompatibleAdvertisingChannelType = 2, - /// For this asset set type, only one campaign to feed linkage is allowed. + /// For this asset set type, only one campaign to feed linkage is allowed. DuplicateFeedLink = 3, - /// The asset set type and campaign type are incompatible. + /// The asset set type and campaign type are incompatible. IncompatibleAssetSetTypeWithCampaignType = 4, - /// Cannot link duplicate asset sets to the same campaign. + /// Cannot link duplicate asset sets to the same campaign. DuplicateAssetSetLink = 5, - /// Cannot remove the asset set link. If a campaign is linked with only one - /// asset set and you attempt to unlink them, this error will be triggered. + /// Cannot remove the asset set link. If a campaign is linked with only one + /// asset set and you attempt to unlink them, this error will be triggered. AssetSetLinkCannotBeRemoved = 6, } impl AssetSetLinkError { @@ -1824,39 +1824,39 @@ pub mod asset_set_link_error_enum { } } } -// Proto file describing audience errors. +// Proto file describing audience errors. -/// Container for enum describing possible audience errors. +/// Container for enum describing possible audience errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceErrorEnum { } /// Nested message and enum types in `AudienceErrorEnum`. pub mod audience_error_enum { - /// Enum describing possible audience errors. + /// Enum describing possible audience errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An audience with this name already exists. + /// An audience with this name already exists. NameAlreadyInUse = 2, - /// A dimension within the audience definition is not valid. + /// A dimension within the audience definition is not valid. DimensionInvalid = 3, - /// One of the audience segment added is not found. + /// One of the audience segment added is not found. AudienceSegmentNotFound = 4, - /// One of the audience segment type is not supported. + /// One of the audience segment type is not supported. AudienceSegmentTypeNotSupported = 5, - /// The same segment already exists in this audience. + /// The same segment already exists in this audience. DuplicateAudienceSegment = 6, - /// Audience can't have more than allowed number segments. + /// Audience can't have more than allowed number segments. TooManySegments = 7, - /// Audience can't have multiple dimensions of same type. + /// Audience can't have multiple dimensions of same type. TooManyDimensionsOfSameType = 8, - /// The audience cannot be removed, because it is currently used in an - /// ad group criterion or asset group signal in an (enabled or paused) - /// ad group or campaign. + /// The audience cannot be removed, because it is currently used in an + /// ad group criterion or asset group signal in an (enabled or paused) + /// ad group or campaign. InUse = 9, } impl AudienceError { @@ -1880,24 +1880,24 @@ pub mod audience_error_enum { } } } -// Proto file describing errors generated from AudienceInsightsService. +// Proto file describing errors generated from AudienceInsightsService. -/// Container for enum describing possible errors returned from -/// the AudienceInsightsService. +/// Container for enum describing possible errors returned from +/// the AudienceInsightsService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsErrorEnum { } /// Nested message and enum types in `AudienceInsightsErrorEnum`. pub mod audience_insights_error_enum { - /// Enum describing possible errors from AudienceInsightsService. + /// Enum describing possible errors from AudienceInsightsService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceInsightsError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The dimensions cannot be used with topic audience combinations. + /// The dimensions cannot be used with topic audience combinations. DimensionIncompatibleWithTopicAudienceCombinations = 2, } impl AudienceInsightsError { @@ -1914,62 +1914,62 @@ pub mod audience_insights_error_enum { } } } -// Proto file describing authentication errors. +// Proto file describing authentication errors. -/// Container for enum describing possible authentication errors. +/// Container for enum describing possible authentication errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthenticationErrorEnum { } /// Nested message and enum types in `AuthenticationErrorEnum`. pub mod authentication_error_enum { - /// Enum describing possible authentication errors. + /// Enum describing possible authentication errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthenticationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Authentication of the request failed. + /// Authentication of the request failed. AuthenticationError = 2, - /// Client customer ID is not a number. + /// Client customer ID is not a number. ClientCustomerIdInvalid = 5, - /// No customer found for the provided customer ID. + /// No customer found for the provided customer ID. CustomerNotFound = 8, - /// Client's Google account is deleted. + /// Client's Google account is deleted. GoogleAccountDeleted = 9, - /// Google account login token in the cookie is invalid. + /// Google account login token in the cookie is invalid. GoogleAccountCookieInvalid = 10, - /// A problem occurred during Google account authentication. + /// A problem occurred during Google account authentication. GoogleAccountAuthenticationFailed = 25, - /// The user in the Google account login token does not match the user ID in - /// the cookie. + /// The user in the Google account login token does not match the user ID in + /// the cookie. GoogleAccountUserAndAdsUserMismatch = 12, - /// Login cookie is required for authentication. + /// Login cookie is required for authentication. LoginCookieRequired = 13, - /// User in the cookie is not a valid Ads user. + /// User in the cookie is not a valid Ads user. NotAdsUser = 14, - /// OAuth token in the header is not valid. + /// OAuth token in the header is not valid. OauthTokenInvalid = 15, - /// OAuth token in the header has expired. + /// OAuth token in the header has expired. OauthTokenExpired = 16, - /// OAuth token in the header has been disabled. + /// OAuth token in the header has been disabled. OauthTokenDisabled = 17, - /// OAuth token in the header has been revoked. + /// OAuth token in the header has been revoked. OauthTokenRevoked = 18, - /// OAuth token HTTP header is malformed. + /// OAuth token HTTP header is malformed. OauthTokenHeaderInvalid = 19, - /// Login cookie is not valid. + /// Login cookie is not valid. LoginCookieInvalid = 20, - /// User ID in the header is not a valid ID. + /// User ID in the header is not a valid ID. UserIdInvalid = 22, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable 2-Step Verification in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable 2-Step Verification in your + /// Google account at TwoStepVerificationNotEnrolled = 23, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable Advanced Protection in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable Advanced Protection in your + /// Google account at AdvancedProtectionNotEnrolled = 24, } impl AuthenticationError { @@ -2003,58 +2003,58 @@ pub mod authentication_error_enum { } } } -// Proto file describing authorization errors. +// Proto file describing authorization errors. -/// Container for enum describing possible authorization errors. +/// Container for enum describing possible authorization errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationErrorEnum { } /// Nested message and enum types in `AuthorizationErrorEnum`. pub mod authorization_error_enum { - /// Enum describing possible authorization errors. + /// Enum describing possible authorization errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User doesn't have permission to access customer. Note: If you're - /// accessing a client customer, the manager's customer ID must be set in the - /// `login-customer-id` header. Learn more at - /// + /// User doesn't have permission to access customer. Note: If you're + /// accessing a client customer, the manager's customer ID must be set in the + /// `login-customer-id` header. Learn more at + /// UserPermissionDenied = 2, - /// The developer token is not on the allow-list. + /// The developer token is not on the allow-list. DeveloperTokenNotOnAllowlist = 13, - /// The developer token is not allowed with the project sent in the request. + /// The developer token is not allowed with the project sent in the request. DeveloperTokenProhibited = 4, - /// The Google Cloud project sent in the request does not have permission to - /// access the api. + /// The Google Cloud project sent in the request does not have permission to + /// access the api. ProjectDisabled = 5, - /// Authorization of the client failed. + /// Authorization of the client failed. AuthorizationError = 6, - /// The user does not have permission to perform this action - /// (for example, ADD, UPDATE, REMOVE) on the resource or call a method. + /// The user does not have permission to perform this action + /// (for example, ADD, UPDATE, REMOVE) on the resource or call a method. ActionNotPermitted = 7, - /// Signup not complete. + /// Signup not complete. IncompleteSignup = 8, - /// The customer can't be used because it isn't enabled. + /// The customer can't be used because it isn't enabled. CustomerNotEnabled = 24, - /// The developer must sign the terms of service. They can be found here: - /// ads.google.com/aw/apicenter + /// The developer must sign the terms of service. They can be found here: + /// ads.google.com/aw/apicenter MissingTos = 9, - /// The developer token is not approved. Non-approved developer tokens can - /// only be used with test accounts. + /// The developer token is not approved. Non-approved developer tokens can + /// only be used with test accounts. DeveloperTokenNotApproved = 10, - /// The login customer specified does not have access to the account - /// specified, so the request is invalid. + /// The login customer specified does not have access to the account + /// specified, so the request is invalid. InvalidLoginCustomerIdServingCustomerIdCombination = 11, - /// The developer specified does not have access to the service. + /// The developer specified does not have access to the service. ServiceAccessDenied = 12, - /// The customer (or login customer) isn't in Google Ads. It belongs to - /// another ads system. + /// The customer (or login customer) isn't in Google Ads. It belongs to + /// another ads system. AccessDeniedForAccountType = 25, - /// The developer does not have access to the metrics queried. + /// The developer does not have access to the metrics queried. MetricAccessDenied = 26, } impl AuthorizationError { @@ -2084,34 +2084,34 @@ pub mod authorization_error_enum { } } } -// Proto file describing batch job errors. +// Proto file describing batch job errors. -/// Container for enum describing possible batch job errors. +/// Container for enum describing possible batch job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobErrorEnum { } /// Nested message and enum types in `BatchJobErrorEnum`. pub mod batch_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The batch job cannot add more operations or run after it has started - /// running. + /// The batch job cannot add more operations or run after it has started + /// running. CannotModifyJobAfterJobStartsRunning = 2, - /// The operations for an AddBatchJobOperations request were empty. + /// The operations for an AddBatchJobOperations request were empty. EmptyOperations = 3, - /// The sequence token for an AddBatchJobOperations request was invalid. + /// The sequence token for an AddBatchJobOperations request was invalid. InvalidSequenceToken = 4, - /// Batch job results can only be retrieved once the job is finished. + /// Batch job results can only be retrieved once the job is finished. ResultsNotReady = 5, - /// The page size for ListBatchJobResults was invalid. + /// The page size for ListBatchJobResults was invalid. InvalidPageSize = 6, - /// The batch job cannot be removed because it has started running. + /// The batch job cannot be removed because it has started running. CanOnlyRemovePendingJob = 7, } impl BatchJobError { @@ -2133,83 +2133,83 @@ pub mod batch_job_error_enum { } } } -// Proto file describing bidding errors. +// Proto file describing bidding errors. -/// Container for enum describing possible bidding errors. +/// Container for enum describing possible bidding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingErrorEnum { } /// Nested message and enum types in `BiddingErrorEnum`. pub mod bidding_error_enum { - /// Enum describing possible bidding errors. + /// Enum describing possible bidding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot transition to new bidding strategy. + /// Cannot transition to new bidding strategy. BiddingStrategyTransitionNotAllowed = 2, - /// Cannot attach bidding strategy to campaign. + /// Cannot attach bidding strategy to campaign. CannotAttachBiddingStrategyToCampaign = 7, - /// Bidding strategy is not supported or cannot be used as anonymous. + /// Bidding strategy is not supported or cannot be used as anonymous. InvalidAnonymousBiddingStrategyType = 10, - /// The type does not match the named strategy's type. + /// The type does not match the named strategy's type. InvalidBiddingStrategyType = 14, - /// The bid is invalid. + /// The bid is invalid. InvalidBid = 17, - /// Bidding strategy is not available for the account type. + /// Bidding strategy is not available for the account type. BiddingStrategyNotAvailableForAccountType = 18, - /// Conversion tracking is not enabled in the campaign that has value-based - /// bidding transitions. + /// Conversion tracking is not enabled in the campaign that has value-based + /// bidding transitions. ConversionTrackingNotEnabled = 19, - /// Not enough conversions tracked for value-based bidding transitions. + /// Not enough conversions tracked for value-based bidding transitions. NotEnoughConversions = 20, - /// Campaign can not be created with given bidding strategy. It can be - /// transitioned to the strategy, once eligible. + /// Campaign can not be created with given bidding strategy. It can be + /// transitioned to the strategy, once eligible. CannotCreateCampaignWithBiddingStrategy = 21, - /// Cannot target content network only as campaign uses Page One Promoted - /// bidding strategy. + /// Cannot target content network only as campaign uses Page One Promoted + /// bidding strategy. CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy = 23, - /// Budget Optimizer and Target Spend bidding strategies are not supported - /// for campaigns with AdSchedule targeting. + /// Budget Optimizer and Target Spend bidding strategies are not supported + /// for campaigns with AdSchedule targeting. BiddingStrategyNotSupportedWithAdSchedule = 24, - /// Pay per conversion is not available to all the customer, only few - /// customers on the allow-list can use this. + /// Pay per conversion is not available to all the customer, only few + /// customers on the allow-list can use this. PayPerConversionNotAvailableForCustomer = 25, - /// Pay per conversion is not allowed with Target CPA. + /// Pay per conversion is not allowed with Target CPA. PayPerConversionNotAllowedWithTargetCpa = 26, - /// Cannot set bidding strategy to Manual CPM for search network only - /// campaigns. + /// Cannot set bidding strategy to Manual CPM for search network only + /// campaigns. BiddingStrategyNotAllowedForSearchOnlyCampaigns = 27, - /// The bidding strategy is not supported for use in drafts or experiments. + /// The bidding strategy is not supported for use in drafts or experiments. BiddingStrategyNotSupportedInDraftsOrExperiments = 28, - /// Bidding strategy type does not support product type ad group criterion. + /// Bidding strategy type does not support product type ad group criterion. BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion = 29, - /// Bid amount is too small. + /// Bid amount is too small. BidTooSmall = 30, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 31, - /// Bid has too many fractional digit precision. + /// Bid has too many fractional digit precision. BidTooManyFractionalDigits = 32, - /// Invalid domain name specified. + /// Invalid domain name specified. InvalidDomainName = 33, - /// The field is not compatible with the payment mode. + /// The field is not compatible with the payment mode. NotCompatibleWithPaymentMode = 34, - /// The field is not compatible with the budget type. + /// The field is not compatible with the budget type. NotCompatibleWithBudgetType = 35, - /// The field is not compatible with the bidding strategy type. + /// The field is not compatible with the bidding strategy type. NotCompatibleWithBiddingStrategyType = 36, - /// Bidding strategy type is incompatible with shared budget. + /// Bidding strategy type is incompatible with shared budget. BiddingStrategyTypeIncompatibleWithSharedBudget = 37, - /// The attached bidding strategy and budget must be aligned with each other - /// if alignment is specified on either entity. + /// The attached bidding strategy and budget must be aligned with each other + /// if alignment is specified on either entity. BiddingStrategyAndBudgetMustBeAligned = 38, - /// The attached bidding strategy and budget must be attached to the same - /// campaigns to become aligned. + /// The attached bidding strategy and budget must be attached to the same + /// campaigns to become aligned. BiddingStrategyAndBudgetMustBeAttachedToTheSameCampaignsToAlign = 39, - /// The aligned bidding strategy and budget must be removed at the same time. + /// The aligned bidding strategy and budget must be removed at the same time. BiddingStrategyAndBudgetMustBeRemovedTogether = 40, } impl BiddingError { @@ -2252,33 +2252,33 @@ pub mod bidding_error_enum { } } } -// Proto file describing bidding strategy errors. +// Proto file describing bidding strategy errors. -/// Container for enum describing possible bidding strategy errors. +/// Container for enum describing possible bidding strategy errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyErrorEnum { } /// Nested message and enum types in `BiddingStrategyErrorEnum`. pub mod bidding_strategy_error_enum { - /// Enum describing possible bidding strategy errors. + /// Enum describing possible bidding strategy errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each bidding strategy must have a unique name. + /// Each bidding strategy must have a unique name. DuplicateName = 2, - /// Bidding strategy type is immutable. + /// Bidding strategy type is immutable. CannotChangeBiddingStrategyType = 3, - /// Only bidding strategies not linked to campaigns, adgroups or adgroup - /// criteria can be removed. + /// Only bidding strategies not linked to campaigns, adgroups or adgroup + /// criteria can be removed. CannotRemoveAssociatedStrategy = 4, - /// The specified bidding strategy is not supported. + /// The specified bidding strategy is not supported. BiddingStrategyNotSupported = 5, - /// The bidding strategy is incompatible with the campaign's bidding - /// strategy goal type. + /// The bidding strategy is incompatible with the campaign's bidding + /// strategy goal type. IncompatibleBiddingStrategyAndBiddingStrategyGoalType = 6, } impl BiddingStrategyError { @@ -2299,68 +2299,68 @@ pub mod bidding_strategy_error_enum { } } } -// Proto file describing billing setup errors. +// Proto file describing billing setup errors. -/// Container for enum describing possible billing setup errors. +/// Container for enum describing possible billing setup errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupErrorEnum { } /// Nested message and enum types in `BillingSetupErrorEnum`. pub mod billing_setup_error_enum { - /// Enum describing possible billing setup errors. + /// Enum describing possible billing setup errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot specify both an existing payments account and a new payments - /// account when setting up billing. + /// Cannot specify both an existing payments account and a new payments + /// account when setting up billing. CannotUseExistingAndNewAccount = 2, - /// Cannot cancel an approved billing setup whose start time has passed. + /// Cannot cancel an approved billing setup whose start time has passed. CannotRemoveStartedBillingSetup = 3, - /// Cannot perform a Change of Bill-To (CBT) to the same payments account. + /// Cannot perform a Change of Bill-To (CBT) to the same payments account. CannotChangeBillingToSamePaymentsAccount = 4, - /// Billing setups can only be used by customers with ENABLED or DRAFT - /// status. + /// Billing setups can only be used by customers with ENABLED or DRAFT + /// status. BillingSetupNotPermittedForCustomerStatus = 5, - /// Billing setups must either include a correctly formatted existing - /// payments account id, or a non-empty new payments account name. + /// Billing setups must either include a correctly formatted existing + /// payments account id, or a non-empty new payments account name. InvalidPaymentsAccount = 6, - /// Only billable and third-party customers can create billing setups. + /// Only billable and third-party customers can create billing setups. BillingSetupNotPermittedForCustomerCategory = 7, - /// Billing setup creations can only use NOW for start time type. + /// Billing setup creations can only use NOW for start time type. InvalidStartTimeType = 8, - /// Billing setups can only be created for a third-party customer if they do - /// not already have a setup. + /// Billing setups can only be created for a third-party customer if they do + /// not already have a setup. ThirdPartyAlreadyHasBilling = 9, - /// Billing setups cannot be created if there is already a pending billing in - /// progress. + /// Billing setups cannot be created if there is already a pending billing in + /// progress. BillingSetupInProgress = 10, - /// Billing setups can only be created by customers who have permission to - /// setup billings. Users can contact a representative for help setting up - /// permissions. + /// Billing setups can only be created by customers who have permission to + /// setup billings. Users can contact a representative for help setting up + /// permissions. NoSignupPermission = 11, - /// Billing setups cannot be created if there is already a future-approved - /// billing. + /// Billing setups cannot be created if there is already a future-approved + /// billing. ChangeOfBillToInProgress = 12, - /// Requested payments profile not found. + /// Requested payments profile not found. PaymentsProfileNotFound = 13, - /// Requested payments account not found. + /// Requested payments account not found. PaymentsAccountNotFound = 14, - /// Billing setup creation failed because the payments profile is ineligible. + /// Billing setup creation failed because the payments profile is ineligible. PaymentsProfileIneligible = 15, - /// Billing setup creation failed because the payments account is ineligible. + /// Billing setup creation failed because the payments account is ineligible. PaymentsAccountIneligible = 16, - /// Billing setup creation failed because the payments profile needs internal - /// approval. + /// Billing setup creation failed because the payments profile needs internal + /// approval. CustomerNeedsInternalApproval = 17, - /// Payments account has different currency code than the current customer - /// and hence cannot be used to setup billing. + /// Payments account has different currency code than the current customer + /// and hence cannot be used to setup billing. PaymentsAccountIneligibleCurrencyCodeMismatch = 19, - /// A start time in the future cannot be used because there is currently no - /// active billing setup for this customer. + /// A start time in the future cannot be used because there is currently no + /// active billing setup for this customer. FutureStartTimeProhibited = 20, } impl BillingSetupError { @@ -2394,60 +2394,60 @@ pub mod billing_setup_error_enum { } } } -// Proto file describing campaign budget errors. +// Proto file describing campaign budget errors. -/// Container for enum describing possible campaign budget errors. +/// Container for enum describing possible campaign budget errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetErrorEnum { } /// Nested message and enum types in `CampaignBudgetErrorEnum`. pub mod campaign_budget_error_enum { - /// Enum describing possible campaign budget errors. + /// Enum describing possible campaign budget errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignBudgetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign budget cannot be shared. + /// The campaign budget cannot be shared. CampaignBudgetCannotBeShared = 17, - /// The requested campaign budget no longer exists. + /// The requested campaign budget no longer exists. CampaignBudgetRemoved = 2, - /// The campaign budget is associated with at least one campaign, and so the - /// campaign budget cannot be removed. + /// The campaign budget is associated with at least one campaign, and so the + /// campaign budget cannot be removed. CampaignBudgetInUse = 3, - /// Customer is not on the allow-list for this campaign budget period. + /// Customer is not on the allow-list for this campaign budget period. CampaignBudgetPeriodNotAvailable = 4, - /// This field is not mutable on implicitly shared campaign budgets + /// This field is not mutable on implicitly shared campaign budgets CannotModifyFieldOfImplicitlySharedCampaignBudget = 6, - /// Cannot change explicitly shared campaign budgets back to implicitly - /// shared ones. + /// Cannot change explicitly shared campaign budgets back to implicitly + /// shared ones. CannotUpdateCampaignBudgetToImplicitlyShared = 7, - /// An implicit campaign budget without a name cannot be changed to - /// explicitly shared campaign budget. + /// An implicit campaign budget without a name cannot be changed to + /// explicitly shared campaign budget. CannotUpdateCampaignBudgetToExplicitlySharedWithoutName = 8, - /// Cannot change an implicitly shared campaign budget to an explicitly - /// shared one. + /// Cannot change an implicitly shared campaign budget to an explicitly + /// shared one. CannotUpdateCampaignBudgetToExplicitlyShared = 9, - /// Only explicitly shared campaign budgets can be used with multiple - /// campaigns. + /// Only explicitly shared campaign budgets can be used with multiple + /// campaigns. CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns = 10, - /// A campaign budget with this name already exists. + /// A campaign budget with this name already exists. DuplicateName = 11, - /// A money amount was not in the expected currency. + /// A money amount was not in the expected currency. MoneyAmountInWrongCurrency = 12, - /// A money amount was less than the minimum CPC for currency. + /// A money amount was less than the minimum CPC for currency. MoneyAmountLessThanCurrencyMinimumCpc = 13, - /// A money amount was greater than the maximum allowed. + /// A money amount was greater than the maximum allowed. MoneyAmountTooLarge = 14, - /// A money amount was negative. + /// A money amount was negative. NegativeMoneyAmount = 15, - /// A money amount was not a multiple of a minimum unit. + /// A money amount was not a multiple of a minimum unit. NonMultipleOfMinimumCurrencyUnit = 16, - /// Total budget amount must be unset when BudgetPeriod is DAILY. + /// Total budget amount must be unset when BudgetPeriod is DAILY. TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily = 18, - /// The period of the budget is not allowed. + /// The period of the budget is not allowed. InvalidPeriod = 19, } impl CampaignBudgetError { @@ -2480,23 +2480,23 @@ pub mod campaign_budget_error_enum { } } } -// Proto file describing campaign conversion goal errors. +// Proto file describing campaign conversion goal errors. -/// Container for enum describing possible campaign conversion goal errors. +/// Container for enum describing possible campaign conversion goal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoalErrorEnum { } /// Nested message and enum types in `CampaignConversionGoalErrorEnum`. pub mod campaign_conversion_goal_error_enum { - /// Enum describing possible campaign conversion goal errors. + /// Enum describing possible campaign conversion goal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignConversionGoalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Campaign is managed by Search Ads 360 but uses Unified Goal. + /// Campaign is managed by Search Ads 360 but uses Unified Goal. CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2, } impl CampaignConversionGoalError { @@ -2513,60 +2513,60 @@ pub mod campaign_conversion_goal_error_enum { } } } -// Proto file describing campaign criterion errors. +// Proto file describing campaign criterion errors. -/// Container for enum describing possible campaign criterion errors. +/// Container for enum describing possible campaign criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionErrorEnum { } /// Nested message and enum types in `CampaignCriterionErrorEnum`. pub mod campaign_criterion_error_enum { - /// Enum describing possible campaign criterion errors. + /// Enum describing possible campaign criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion (keyword v.s. placement) is required for - /// CREATE and UPDATE operations. + /// Concrete type of criterion (keyword v.s. placement) is required for + /// CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 3, - /// Criteria type can not be excluded for the campaign by the customer. like - /// AOL account type cannot target site type criteria + /// Criteria type can not be excluded for the campaign by the customer. like + /// AOL account type cannot target site type criteria CannotExcludeCriteriaType = 4, - /// Cannot set the campaign criterion status for this criteria type. + /// Cannot set the campaign criterion status for this criteria type. CannotSetStatusForCriteriaType = 5, - /// Cannot set the campaign criterion status for an excluded criteria. + /// Cannot set the campaign criterion status for an excluded criteria. CannotSetStatusForExcludedCriteria = 6, - /// Cannot target and exclude the same criterion. + /// Cannot target and exclude the same criterion. CannotTargetAndExclude = 7, - /// The mutate contained too many operations. + /// The mutate contained too many operations. TooManyOperations = 8, - /// This operator cannot be applied to a criterion of this type. + /// This operator cannot be applied to a criterion of this type. OperatorNotSupportedForCriterionType = 9, - /// The Shopping campaign sales country is not supported for - /// ProductSalesChannel targeting. + /// The Shopping campaign sales country is not supported for + /// ProductSalesChannel targeting. ShoppingCampaignSalesCountryNotSupportedForSalesChannel = 10, - /// The existing field can't be updated with CREATE operation. It can be - /// updated with UPDATE operation only. + /// The existing field can't be updated with CREATE operation. It can be + /// updated with UPDATE operation only. CannotAddExistingField = 11, - /// Negative criteria are immutable, so updates are not allowed. + /// Negative criteria are immutable, so updates are not allowed. CannotUpdateNegativeCriterion = 12, - /// Only free form names are allowed for negative Smart campaign keyword - /// theme. + /// Only free form names are allowed for negative Smart campaign keyword + /// theme. CannotSetNegativeKeywordThemeConstantCriterion = 13, - /// Invalid Smart campaign keyword theme constant criterion. + /// Invalid Smart campaign keyword theme constant criterion. InvalidKeywordThemeConstant = 14, - /// A Smart campaign keyword theme constant or free-form Smart campaign - /// keyword theme is required. + /// A Smart campaign keyword theme constant or free-form Smart campaign + /// keyword theme is required. MissingKeywordThemeConstantOrFreeFormKeywordTheme = 15, - /// A Smart campaign may not target proximity and location criteria - /// simultaneously. + /// A Smart campaign may not target proximity and location criteria + /// simultaneously. CannotTargetBothProximityAndLocationCriteriaForSmartCampaign = 16, - /// A Smart campaign may not target multiple proximity criteria. + /// A Smart campaign may not target multiple proximity criteria. CannotTargetMultipleProximityCriteriaForSmartCampaign = 17, } impl CampaignCriterionError { @@ -2598,21 +2598,21 @@ pub mod campaign_criterion_error_enum { } } } -// Proto file describing campaign customizer errors. +// Proto file describing campaign customizer errors. -/// Container for enum describing possible campaign customizer errors. +/// Container for enum describing possible campaign customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerErrorEnum { } /// Nested message and enum types in `CampaignCustomizerErrorEnum`. pub mod campaign_customizer_error_enum { - /// Enum describing possible campaign customizer errors. + /// Enum describing possible campaign customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CampaignCustomizerError { @@ -2628,46 +2628,46 @@ pub mod campaign_customizer_error_enum { } } } -// Proto file describing campaign draft errors. +// Proto file describing campaign draft errors. -/// Container for enum describing possible campaign draft errors. +/// Container for enum describing possible campaign draft errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftErrorEnum { } /// Nested message and enum types in `CampaignDraftErrorEnum`. pub mod campaign_draft_error_enum { - /// Enum describing possible campaign draft errors. + /// Enum describing possible campaign draft errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A draft with this name already exists for this campaign. + /// A draft with this name already exists for this campaign. DuplicateDraftName = 2, - /// The draft is removed and cannot be transitioned to another status. + /// The draft is removed and cannot be transitioned to another status. InvalidStatusTransitionFromRemoved = 3, - /// The draft has been promoted and cannot be transitioned to the specified - /// status. + /// The draft has been promoted and cannot be transitioned to the specified + /// status. InvalidStatusTransitionFromPromoted = 4, - /// The draft has failed to be promoted and cannot be transitioned to the - /// specified status. + /// The draft has failed to be promoted and cannot be transitioned to the + /// specified status. InvalidStatusTransitionFromPromoteFailed = 5, - /// This customer is not allowed to create drafts. + /// This customer is not allowed to create drafts. CustomerCannotCreateDraft = 6, - /// This campaign is not allowed to create drafts. + /// This campaign is not allowed to create drafts. CampaignCannotCreateDraft = 7, - /// This modification cannot be made on a draft. + /// This modification cannot be made on a draft. InvalidDraftChange = 8, - /// The draft cannot be transitioned to the specified status from its - /// current status. + /// The draft cannot be transitioned to the specified status from its + /// current status. InvalidStatusTransition = 9, - /// The campaign has reached the maximum number of drafts that can be created - /// for a campaign throughout its lifetime. No additional drafts can be - /// created for this campaign. Removed drafts also count towards this limit. + /// The campaign has reached the maximum number of drafts that can be created + /// for a campaign throughout its lifetime. No additional drafts can be + /// created for this campaign. Removed drafts also count towards this limit. MaxNumberOfDraftsPerCampaignReached = 10, - /// ListAsyncErrors was called without first promoting the draft. + /// ListAsyncErrors was called without first promoting the draft. ListErrorsForPromotedDraftOnly = 11, } impl CampaignDraftError { @@ -2693,141 +2693,141 @@ pub mod campaign_draft_error_enum { } } } -// Proto file describing campaign errors. +// Proto file describing campaign errors. -/// Container for enum describing possible campaign errors. +/// Container for enum describing possible campaign errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignErrorEnum { } /// Nested message and enum types in `CampaignErrorEnum`. pub mod campaign_error_enum { - /// Enum describing possible campaign errors. + /// Enum describing possible campaign errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot target content network. + /// Cannot target content network. CannotTargetContentNetwork = 3, - /// Cannot target search network. + /// Cannot target search network. CannotTargetSearchNetwork = 4, - /// Cannot cover search network without google search network. + /// Cannot cover search network without google search network. CannotTargetSearchNetworkWithoutGoogleSearch = 5, - /// Cannot target Google Search network for a CPM campaign. + /// Cannot target Google Search network for a CPM campaign. CannotTargetGoogleSearchForCpmCampaign = 6, - /// Must target at least one network. + /// Must target at least one network. CampaignMustTargetAtLeastOneNetwork = 7, - /// Only some Google partners are allowed to target partner search network. + /// Only some Google partners are allowed to target partner search network. CannotTargetPartnerSearchNetwork = 8, - /// Cannot target content network only as campaign has criteria-level bidding - /// strategy. + /// Cannot target content network only as campaign has criteria-level bidding + /// strategy. CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy = 9, - /// Cannot modify the start or end date such that the campaign duration would - /// not contain the durations of all runnable trials. + /// Cannot modify the start or end date such that the campaign duration would + /// not contain the durations of all runnable trials. CampaignDurationMustContainAllRunnableTrials = 10, - /// Cannot modify dates, budget or status of a trial campaign. + /// Cannot modify dates, budget or status of a trial campaign. CannotModifyForTrialCampaign = 11, - /// Trying to modify the name of an active or paused campaign, where the name - /// is already assigned to another active or paused campaign. + /// Trying to modify the name of an active or paused campaign, where the name + /// is already assigned to another active or paused campaign. DuplicateCampaignName = 12, - /// Two fields are in conflicting modes. + /// Two fields are in conflicting modes. IncompatibleCampaignField = 13, - /// Campaign name cannot be used. + /// Campaign name cannot be used. InvalidCampaignName = 14, - /// Given status is invalid. + /// Given status is invalid. InvalidAdServingOptimizationStatus = 15, - /// Error in the campaign level tracking URL. + /// Error in the campaign level tracking URL. InvalidTrackingUrl = 16, - /// Cannot set both tracking URL template and tracking setting. A user has - /// to clear legacy tracking setting in order to add tracking URL template. + /// Cannot set both tracking URL template and tracking setting. A user has + /// to clear legacy tracking setting in order to add tracking URL template. CannotSetBothTrackingUrlTemplateAndTrackingSetting = 17, - /// The maximum number of impressions for Frequency Cap should be an integer - /// greater than 0. + /// The maximum number of impressions for Frequency Cap should be an integer + /// greater than 0. MaxImpressionsNotInRange = 18, - /// Only the Day, Week and Month time units are supported. + /// Only the Day, Week and Month time units are supported. TimeUnitNotSupported = 19, - /// Operation not allowed on a campaign whose serving status has ended + /// Operation not allowed on a campaign whose serving status has ended InvalidOperationIfServingStatusHasEnded = 20, - /// This budget is exclusively linked to a Campaign that is using experiments - /// so it cannot be shared. + /// This budget is exclusively linked to a Campaign that is using experiments + /// so it cannot be shared. BudgetCannotBeShared = 21, - /// Campaigns using experiments cannot use a shared budget. + /// Campaigns using experiments cannot use a shared budget. CampaignCannotUseSharedBudget = 22, - /// A different budget cannot be assigned to a campaign when there are - /// running or scheduled trials. + /// A different budget cannot be assigned to a campaign when there are + /// running or scheduled trials. CannotChangeBudgetOnCampaignWithTrials = 23, - /// No link found between the campaign and the label. + /// No link found between the campaign and the label. CampaignLabelDoesNotExist = 24, - /// The label has already been attached to the campaign. + /// The label has already been attached to the campaign. CampaignLabelAlreadyExists = 25, - /// A ShoppingSetting was not found when creating a shopping campaign. + /// A ShoppingSetting was not found when creating a shopping campaign. MissingShoppingSetting = 26, - /// The country in shopping setting is not an allowed country. + /// The country in shopping setting is not an allowed country. InvalidShoppingSalesCountry = 27, - /// The requested channel type is not available according to the customer's - /// account setting. + /// The requested channel type is not available according to the customer's + /// account setting. AdvertisingChannelTypeNotAvailableForAccountType = 31, - /// The AdvertisingChannelSubType is not a valid subtype of the primary - /// channel type. + /// The AdvertisingChannelSubType is not a valid subtype of the primary + /// channel type. InvalidAdvertisingChannelSubType = 32, - /// At least one conversion must be selected. + /// At least one conversion must be selected. AtLeastOneConversionMustBeSelected = 33, - /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - /// at campaign is deprecated. + /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode + /// at campaign is deprecated. CannotSetAdRotationMode = 34, - /// Trying to change start date on a campaign that has started. + /// Trying to change start date on a campaign that has started. CannotModifyStartDateIfAlreadyStarted = 35, - /// Trying to modify a date into the past. + /// Trying to modify a date into the past. CannotSetDateToPast = 36, - /// Hotel center id in the hotel setting does not match any customer links. + /// Hotel center id in the hotel setting does not match any customer links. MissingHotelCustomerLink = 37, - /// Hotel center id in the hotel setting must match an active customer link. + /// Hotel center id in the hotel setting must match an active customer link. InvalidHotelCustomerLink = 38, - /// Hotel setting was not found when creating a hotel ads campaign. + /// Hotel setting was not found when creating a hotel ads campaign. MissingHotelSetting = 39, - /// A Campaign cannot use shared campaign budgets and be part of a campaign - /// group. + /// A Campaign cannot use shared campaign budgets and be part of a campaign + /// group. CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup = 40, - /// The app ID was not found. + /// The app ID was not found. AppNotFound = 41, - /// Campaign.shopping_setting.enable_local is not supported for the specified - /// campaign type. + /// Campaign.shopping_setting.enable_local is not supported for the specified + /// campaign type. ShoppingEnableLocalNotSupportedForCampaignType = 42, - /// The merchant does not support the creation of campaigns for Shopping - /// Comparison Listing Ads. + /// The merchant does not support the creation of campaigns for Shopping + /// Comparison Listing Ads. MerchantNotAllowedForComparisonListingAds = 43, - /// The App campaign for engagement cannot be created because there aren't - /// enough installs. + /// The App campaign for engagement cannot be created because there aren't + /// enough installs. InsufficientAppInstallsCount = 44, - /// The App campaign for engagement cannot be created because the app is - /// sensitive. + /// The App campaign for engagement cannot be created because the app is + /// sensitive. SensitiveCategoryApp = 45, - /// Customers with Housing, Employment, or Credit ads must accept updated - /// personalized ads policy to continue creating campaigns. + /// Customers with Housing, Employment, or Credit ads must accept updated + /// personalized ads policy to continue creating campaigns. HecAgreementRequired = 46, - /// The field is not compatible with view through conversion optimization. + /// The field is not compatible with view through conversion optimization. NotCompatibleWithViewThroughConversionOptimization = 49, - /// The field type cannot be excluded because an active campaign-asset link - /// of this type exists. + /// The field type cannot be excluded because an active campaign-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 48, - /// The app pre-registration campaign cannot be created for non-Android - /// applications. + /// The app pre-registration campaign cannot be created for non-Android + /// applications. CannotCreateAppPreRegistrationForNonAndroidApp = 50, - /// The campaign cannot be created since the app is not available for - /// pre-registration in any country. + /// The campaign cannot be created since the app is not available for + /// pre-registration in any country. AppNotAvailableToCreateAppPreRegistrationCampaign = 51, - /// The type of the Budget is not compatible with this Campaign. + /// The type of the Budget is not compatible with this Campaign. IncompatibleBudgetType = 52, - /// Category bid list in the local services campaign setting contains - /// multiple bids for the same category ID. + /// Category bid list in the local services campaign setting contains + /// multiple bids for the same category ID. LocalServicesDuplicateCategoryBid = 53, - /// Category bid list in the local services campaign setting contains - /// a bid for an invalid category ID. + /// Category bid list in the local services campaign setting contains + /// a bid for an invalid category ID. LocalServicesInvalidCategoryBid = 54, - /// Category bid list in the local services campaign setting is missing a - /// bid for a category ID that must be present. + /// Category bid list in the local services campaign setting is missing a + /// bid for a category ID that must be present. LocalServicesMissingCategoryBid = 55, } impl CampaignError { @@ -2892,48 +2892,48 @@ pub mod campaign_error_enum { } } } -// Proto file describing campaign experiment errors. +// Proto file describing campaign experiment errors. -/// Container for enum describing possible campaign experiment errors. +/// Container for enum describing possible campaign experiment errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentErrorEnum { } /// Nested message and enum types in `CampaignExperimentErrorEnum`. pub mod campaign_experiment_error_enum { - /// Enum describing possible campaign experiment errors. + /// Enum describing possible campaign experiment errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active campaign or experiment with this name already exists. + /// An active campaign or experiment with this name already exists. DuplicateName = 2, - /// Experiment cannot be updated from the current state to the - /// requested target state. For example, an experiment can only graduate - /// if its status is ENABLED. + /// Experiment cannot be updated from the current state to the + /// requested target state. For example, an experiment can only graduate + /// if its status is ENABLED. InvalidTransition = 3, - /// Cannot create an experiment from a campaign using an explicitly shared - /// budget. + /// Cannot create an experiment from a campaign using an explicitly shared + /// budget. CannotCreateExperimentWithSharedBudget = 4, - /// Cannot create an experiment for a removed base campaign. + /// Cannot create an experiment for a removed base campaign. CannotCreateExperimentForRemovedBaseCampaign = 5, - /// Cannot create an experiment from a draft, which has a status other than - /// proposed. + /// Cannot create an experiment from a draft, which has a status other than + /// proposed. CannotCreateExperimentForNonProposedDraft = 6, - /// This customer is not allowed to create an experiment. + /// This customer is not allowed to create an experiment. CustomerCannotCreateExperiment = 7, - /// This campaign is not allowed to create an experiment. + /// This campaign is not allowed to create an experiment. CampaignCannotCreateExperiment = 8, - /// Trying to set an experiment duration which overlaps with another - /// experiment. + /// Trying to set an experiment duration which overlaps with another + /// experiment. ExperimentDurationsMustNotOverlap = 9, - /// All non-removed experiments must start and end within their campaign's - /// duration. + /// All non-removed experiments must start and end within their campaign's + /// duration. ExperimentDurationMustBeWithinCampaignDuration = 10, - /// The experiment cannot be modified because its status is in a terminal - /// state, such as REMOVED. + /// The experiment cannot be modified because its status is in a terminal + /// state, such as REMOVED. CannotMutateExperimentDueToStatus = 11, } impl CampaignExperimentError { @@ -2959,37 +2959,37 @@ pub mod campaign_experiment_error_enum { } } } -// Proto file describing campaign feed errors. +// Proto file describing campaign feed errors. -/// Container for enum describing possible campaign feed errors. +/// Container for enum describing possible campaign feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedErrorEnum { } /// Nested message and enum types in `CampaignFeedErrorEnum`. pub mod campaign_feed_error_enum { - /// Enum describing possible campaign feed errors. + /// Enum describing possible campaign feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this campaign and placeholder type. + /// An active feed already exists for this campaign and placeholder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 4, - /// The CampaignFeed already exists. UPDATE should be used to modify the - /// existing CampaignFeed. + /// The CampaignFeed already exists. UPDATE should be used to modify the + /// existing CampaignFeed. CannotCreateAlreadyExistingCampaignFeed = 5, - /// Cannot update removed campaign feed. + /// Cannot update removed campaign feed. CannotModifyRemovedCampaignFeed = 6, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 7, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 8, - /// Location CampaignFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location CampaignFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 9, } impl CampaignFeedError { @@ -3012,23 +3012,23 @@ pub mod campaign_feed_error_enum { } } } -// Proto file describing campaign shared set errors. +// Proto file describing campaign shared set errors. -/// Container for enum describing possible campaign shared set errors. +/// Container for enum describing possible campaign shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetErrorEnum { } /// Nested message and enum types in `CampaignSharedSetErrorEnum`. pub mod campaign_shared_set_error_enum { - /// Enum describing possible campaign shared set errors. + /// Enum describing possible campaign shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The shared set belongs to another customer and permission isn't granted. + /// The shared set belongs to another customer and permission isn't granted. SharedSetAccessDenied = 2, } impl CampaignSharedSetError { @@ -3045,35 +3045,35 @@ pub mod campaign_shared_set_error_enum { } } } -// Proto file describing change event errors. +// Proto file describing change event errors. -/// Container for enum describing possible change event errors. +/// Container for enum describing possible change event errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventErrorEnum { } /// Nested message and enum types in `ChangeEventErrorEnum`. pub mod change_event_error_enum { - /// Enum describing possible change event errors. + /// Enum describing possible change event errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. It cannot be older than 30 days. + /// The requested start date is too old. It cannot be older than 30 days. StartDateTooOld = 2, - /// The change_event search request must specify a finite range filter - /// on change_date_time. + /// The change_event search request must specify a finite range filter + /// on change_date_time. ChangeDateRangeInfinite = 3, - /// The change event search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change event search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 4, - /// The change_event search request must specify a LIMIT. + /// The change_event search request must specify a LIMIT. LimitNotSpecified = 5, - /// The LIMIT specified by change_event request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_event request should be less than or equal + /// to 10K. InvalidLimitClause = 6, } impl ChangeEventError { @@ -3094,35 +3094,35 @@ pub mod change_event_error_enum { } } } -// Proto file describing change status errors. +// Proto file describing change status errors. -/// Container for enum describing possible change status errors. +/// Container for enum describing possible change status errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusErrorEnum { } /// Nested message and enum types in `ChangeStatusErrorEnum`. pub mod change_status_error_enum { - /// Enum describing possible change status errors. + /// Enum describing possible change status errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. + /// The requested start date is too old. StartDateTooOld = 3, - /// The change_status search request must specify a finite range filter - /// on last_change_date_time. + /// The change_status search request must specify a finite range filter + /// on last_change_date_time. ChangeDateRangeInfinite = 4, - /// The change status search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change status search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 5, - /// The change_status search request must specify a LIMIT. + /// The change_status search request must specify a LIMIT. LimitNotSpecified = 6, - /// The LIMIT specified by change_status request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_status request should be less than or equal + /// to 10K. InvalidLimitClause = 7, } impl ChangeStatusError { @@ -3143,25 +3143,25 @@ pub mod change_status_error_enum { } } } -// Proto file describing collection size errors. +// Proto file describing collection size errors. -/// Container for enum describing possible collection size errors. +/// Container for enum describing possible collection size errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionSizeErrorEnum { } /// Nested message and enum types in `CollectionSizeErrorEnum`. pub mod collection_size_error_enum { - /// Enum describing possible collection size errors. + /// Enum describing possible collection size errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CollectionSizeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too few. + /// Too few. TooFew = 2, - /// Too many. + /// Too many. TooMany = 3, } impl CollectionSizeError { @@ -3179,25 +3179,25 @@ pub mod collection_size_error_enum { } } } -// Proto file describing context errors. +// Proto file describing context errors. -/// Container for enum describing possible context errors. +/// Container for enum describing possible context errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextErrorEnum { } /// Nested message and enum types in `ContextErrorEnum`. pub mod context_error_enum { - /// Enum describing possible context errors. + /// Enum describing possible context errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContextError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The operation is not allowed for the given context. + /// The operation is not allowed for the given context. OperationNotPermittedForContext = 2, - /// The operation is not allowed for removed resources. + /// The operation is not allowed for removed resources. OperationNotPermittedForRemovedResource = 3, } impl ContextError { @@ -3215,49 +3215,49 @@ pub mod context_error_enum { } } } -// Proto file describing conversion action errors. +// Proto file describing conversion action errors. -/// Container for enum describing possible conversion action errors. +/// Container for enum describing possible conversion action errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionErrorEnum { } /// Nested message and enum types in `ConversionActionErrorEnum`. pub mod conversion_action_error_enum { - /// Enum describing possible conversion action errors. + /// Enum describing possible conversion action errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action name already exists. + /// The specified conversion action name already exists. DuplicateName = 2, - /// Another conversion action with the specified app id already exists. + /// Another conversion action with the specified app id already exists. DuplicateAppId = 3, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. TwoConversionActionsBiddingOnSameAppDownload = 4, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. BiddingOnSameAppDownloadAsGlobalAction = 5, - /// The attribution model cannot be set to DATA_DRIVEN because a data-driven - /// model has never been generated. + /// The attribution model cannot be set to DATA_DRIVEN because a data-driven + /// model has never been generated. DataDrivenModelWasNeverGenerated = 6, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is expired. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is expired. DataDrivenModelExpired = 7, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is stale. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is stale. DataDrivenModelStale = 8, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is unavailable or the conversion action was newly - /// added. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is unavailable or the conversion action was newly + /// added. DataDrivenModelUnknown = 9, - /// Creation of this conversion action type isn't supported by Google - /// Ads API. + /// Creation of this conversion action type isn't supported by Google + /// Ads API. CreationNotSupported = 10, - /// Update of this conversion action isn't supported by Google Ads API. + /// Update of this conversion action isn't supported by Google Ads API. UpdateNotSupported = 11, } impl ConversionActionError { @@ -3283,90 +3283,90 @@ pub mod conversion_action_error_enum { } } } -// Proto file describing conversion adjustment upload errors. +// Proto file describing conversion adjustment upload errors. -/// Container for enum describing possible conversion adjustment upload errors. +/// Container for enum describing possible conversion adjustment upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentUploadErrorEnum { } /// Nested message and enum types in `ConversionAdjustmentUploadErrorEnum`. pub mod conversion_adjustment_upload_error_enum { - /// Enum describing possible conversion adjustment upload errors. + /// Enum describing possible conversion adjustment upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentUploadError { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action was created too recently. - /// Try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 2, - /// No conversion action of a supported ConversionActionType that matches the - /// provided information can be found for the customer. + /// No conversion action of a supported ConversionActionType that matches the + /// provided information can be found for the customer. InvalidConversionAction = 3, - /// A retraction was already reported for this conversion. + /// A retraction was already reported for this conversion. ConversionAlreadyRetracted = 4, - /// A conversion for the supplied combination of conversion - /// action and conversion identifier could not be found. + /// A conversion for the supplied combination of conversion + /// action and conversion identifier could not be found. ConversionNotFound = 5, - /// The specified conversion has already expired. Conversions expire after 55 - /// days, after which adjustments cannot be reported against them. + /// The specified conversion has already expired. Conversions expire after 55 + /// days, after which adjustments cannot be reported against them. ConversionExpired = 6, - /// The supplied adjustment date time precedes that of the original - /// conversion. + /// The supplied adjustment date time precedes that of the original + /// conversion. AdjustmentPrecedesConversion = 7, - /// A restatement with a more recent adjustment date time was already - /// reported for this conversion. + /// A restatement with a more recent adjustment date time was already + /// reported for this conversion. MoreRecentRestatementFound = 8, - /// The conversion was created too recently. + /// The conversion was created too recently. TooRecentConversion = 9, - /// Restatements cannot be reported for a conversion action that always uses - /// the default value. + /// Restatements cannot be reported for a conversion action that always uses + /// the default value. CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10, - /// The request contained more than 2000 adjustments. + /// The request contained more than 2000 adjustments. TooManyAdjustmentsInRequest = 11, - /// The conversion has been adjusted too many times. + /// The conversion has been adjusted too many times. TooManyAdjustments = 12, - /// A restatement with this timestamp already exists for this conversion. To - /// upload another adjustment, use a different timestamp. + /// A restatement with this timestamp already exists for this conversion. To + /// upload another adjustment, use a different timestamp. RestatementAlreadyExists = 13, - /// This adjustment has the same timestamp as another adjustment in the - /// request for this conversion. To upload another adjustment, use a - /// different timestamp. + /// This adjustment has the same timestamp as another adjustment in the + /// request for this conversion. To upload another adjustment, use a + /// different timestamp. DuplicateAdjustmentInRequest = 14, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 15, - /// The enhanced conversion settings of the conversion action supplied is - /// not eligible for enhancements. + /// The enhanced conversion settings of the conversion action supplied is + /// not eligible for enhancements. ConversionActionNotEligibleForEnhancement = 16, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 17, - /// The provided user identifier is not supported. - /// ConversionAdjustmentUploadService only supports hashed_email, - /// hashed_phone_number, and address_info. + /// The provided user identifier is not supported. + /// ConversionAdjustmentUploadService only supports hashed_email, + /// hashed_phone_number, and address_info. UnsupportedUserIdentifier = 18, - /// Cannot set both gclid_date_time_pair and order_id. + /// Cannot set both gclid_date_time_pair and order_id. GclidDateTimePairAndOrderIdBothSet = 20, - /// An enhancement with this conversion action and order_id already exists - /// for this conversion. + /// An enhancement with this conversion action and order_id already exists + /// for this conversion. ConversionAlreadyEnhanced = 21, - /// This enhancement has the same conversion action and order_id as - /// another enhancement in the request. + /// This enhancement has the same conversion action and order_id as + /// another enhancement in the request. DuplicateEnhancementInRequest = 22, - /// Per our customer data policies, enhancement has been prohibited in your - /// account. If you have any questions, contact your Google - /// representative. + /// Per our customer data policies, enhancement has been prohibited in your + /// account. If you have any questions, contact your Google + /// representative. CustomerDataPolicyProhibitsEnhancement = 23, - /// The conversion adjustment is for a conversion action of type WEBPAGE, but - /// does not have an order_id. The order_id is required for an adjustment for - /// a WEBPAGE conversion action. + /// The conversion adjustment is for a conversion action of type WEBPAGE, but + /// does not have an order_id. The order_id is required for an adjustment for + /// a WEBPAGE conversion action. MissingOrderIdForWebpage = 24, - /// The order_id contains personally identifiable information (PII), such as - /// an email address or phone number. + /// The order_id contains personally identifiable information (PII), such as + /// an email address or phone number. OrderIdContainsPii = 25, } impl ConversionAdjustmentUploadError { @@ -3405,28 +3405,28 @@ pub mod conversion_adjustment_upload_error_enum { } } } -// Proto file describing conversion custom variable errors. +// Proto file describing conversion custom variable errors. -/// Container for enum describing possible conversion custom variable errors. +/// Container for enum describing possible conversion custom variable errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableErrorEnum { } /// Nested message and enum types in `ConversionCustomVariableErrorEnum`. pub mod conversion_custom_variable_error_enum { - /// Enum describing possible conversion custom variable errors. + /// Enum describing possible conversion custom variable errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A conversion custom variable with the specified name already exists. + /// A conversion custom variable with the specified name already exists. DuplicateName = 2, - /// A conversion custom variable with the specified tag already exists. + /// A conversion custom variable with the specified tag already exists. DuplicateTag = 3, - /// A conversion custom variable with the specified tag is reserved for other - /// uses. + /// A conversion custom variable with the specified tag is reserved for other + /// uses. ReservedTag = 4, } impl ConversionCustomVariableError { @@ -3445,29 +3445,29 @@ pub mod conversion_custom_variable_error_enum { } } } -// Proto file describing conversion goal campaign config errors. +// Proto file describing conversion goal campaign config errors. -/// Container for enum describing possible conversion goal campaign config -/// errors. +/// Container for enum describing possible conversion goal campaign config +/// errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfigErrorEnum { } /// Nested message and enum types in `ConversionGoalCampaignConfigErrorEnum`. pub mod conversion_goal_campaign_config_error_enum { - /// Enum describing possible conversion goal campaign config errors. + /// Enum describing possible conversion goal campaign config errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionGoalCampaignConfigError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Campaign is managed by Search Ads 360 but uses Unified Goal. + /// Campaign is managed by Search Ads 360 but uses Unified Goal. CannotUseCampaignGoalForSearchAds360ManagedCampaign = 2, - /// The campaign is using a custom goal that does not belong to its Google - /// Ads conversion customer (conversion tracking customer). + /// The campaign is using a custom goal that does not belong to its Google + /// Ads conversion customer (conversion tracking customer). CustomGoalDoesNotBelongToGoogleAdsConversionCustomer = 3, - /// The campaign is not allowed to use unified goals. + /// The campaign is not allowed to use unified goals. CampaignCannotUseUnifiedGoals = 4, } impl ConversionGoalCampaignConfigError { @@ -3486,147 +3486,147 @@ pub mod conversion_goal_campaign_config_error_enum { } } } -// Proto file describing conversion upload errors. +// Proto file describing conversion upload errors. -/// Container for enum describing possible conversion upload errors. +/// Container for enum describing possible conversion upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionUploadErrorEnum { } /// Nested message and enum types in `ConversionUploadErrorEnum`. pub mod conversion_upload_error_enum { - /// Enum describing possible conversion upload errors. + /// Enum describing possible conversion upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The request contained more than 2000 conversions. + /// The request contained more than 2000 conversions. TooManyConversionsInRequest = 2, - /// The specified gclid could not be decoded. + /// The specified gclid could not be decoded. UnparseableGclid = 3, - /// The specified conversion_date_time is before the event time - /// associated with the given identifier or iOS URL parameter. + /// The specified conversion_date_time is before the event time + /// associated with the given identifier or iOS URL parameter. ConversionPrecedesEvent = 42, - /// The click associated with the given identifier or iOS URL parameter is - /// either too old to be imported or occurred outside of the click through - /// lookback window for the specified conversion action. + /// The click associated with the given identifier or iOS URL parameter is + /// either too old to be imported or occurred outside of the click through + /// lookback window for the specified conversion action. ExpiredEvent = 43, - /// The click associated with the given identifier or iOS URL parameter - /// occurred too recently. Try uploading again after 6 hours have - /// passed since the click occurred. + /// The click associated with the given identifier or iOS URL parameter + /// occurred too recently. Try uploading again after 6 hours have + /// passed since the click occurred. TooRecentEvent = 44, - /// The click associated with the given identifier or iOS URL parameter could - /// not be found in the system. This can happen if the identifier or iOS URL - /// parameter are collected for non Google Ads clicks. + /// The click associated with the given identifier or iOS URL parameter could + /// not be found in the system. This can happen if the identifier or iOS URL + /// parameter are collected for non Google Ads clicks. EventNotFound = 45, - /// The click associated with the given identifier or iOS URL parameter is - /// owned by a customer account that the uploading customer does not manage. + /// The click associated with the given identifier or iOS URL parameter is + /// owned by a customer account that the uploading customer does not manage. UnauthorizedCustomer = 8, - /// No upload eligible conversion action that matches the provided - /// information can be found for the customer. + /// No upload eligible conversion action that matches the provided + /// information can be found for the customer. InvalidConversionAction = 9, - /// The specified conversion action was created too recently. - /// Try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 10, - /// The click associated with the given identifier does not contain - /// conversion tracking information. + /// The click associated with the given identifier does not contain + /// conversion tracking information. ConversionTrackingNotEnabledAtImpressionTime = 11, - /// The specified conversion action does not use an external attribution - /// model, but external_attribution_data was set. + /// The specified conversion action does not use an external attribution + /// model, but external_attribution_data was set. ExternalAttributionDataSetForNonExternallyAttributedConversionAction = 12, - /// The specified conversion action uses an external attribution model, but - /// external_attribution_data or one of its contained fields was not set. - /// Both external_attribution_credit and external_attribution_model must be - /// set for externally attributed conversion actions. + /// The specified conversion action uses an external attribution model, but + /// external_attribution_data or one of its contained fields was not set. + /// Both external_attribution_credit and external_attribution_model must be + /// set for externally attributed conversion actions. ExternalAttributionDataNotSetForExternallyAttributedConversionAction = 13, - /// Order IDs are not supported for conversion actions which use an external - /// attribution model. + /// Order IDs are not supported for conversion actions which use an external + /// attribution model. OrderIdNotPermittedForExternallyAttributedConversionAction = 14, - /// A conversion with the same order id and conversion action combination - /// already exists in our system. + /// A conversion with the same order id and conversion action combination + /// already exists in our system. OrderIdAlreadyInUse = 15, - /// The request contained two or more conversions with the same order id and - /// conversion action combination. + /// The request contained two or more conversions with the same order id and + /// conversion action combination. DuplicateOrderId = 16, - /// The call occurred too recently. Try uploading again after 12 hours - /// have passed since the call occurred. + /// The call occurred too recently. Try uploading again after 12 hours + /// have passed since the call occurred. TooRecentCall = 17, - /// The click that initiated the call is too old for this conversion to be - /// imported. + /// The click that initiated the call is too old for this conversion to be + /// imported. ExpiredCall = 18, - /// The call or the click leading to the call was not found. + /// The call or the click leading to the call was not found. CallNotFound = 19, - /// The specified conversion_date_time is before the call_start_date_time. + /// The specified conversion_date_time is before the call_start_date_time. ConversionPrecedesCall = 20, - /// The click associated with the call does not contain conversion tracking - /// information. + /// The click associated with the call does not contain conversion tracking + /// information. ConversionTrackingNotEnabledAtCallTime = 21, - /// The caller's phone number cannot be parsed. It should be formatted either - /// as E.164 "+16502531234", International "+64 3-331 6005" or US national - /// number "6502531234". + /// The caller's phone number cannot be parsed. It should be formatted either + /// as E.164 "+16502531234", International "+64 3-331 6005" or US national + /// number "6502531234". UnparseableCallersPhoneNumber = 22, - /// A conversion with this timestamp already exists for this click. To upload - /// another conversion, use a different timestamp. + /// A conversion with this timestamp already exists for this click. To upload + /// another conversion, use a different timestamp. ClickConversionAlreadyExists = 23, - /// A conversion with this timestamp already exists for this call. To upload - /// another conversion, use a different timestamp. + /// A conversion with this timestamp already exists for this call. To upload + /// another conversion, use a different timestamp. CallConversionAlreadyExists = 24, - /// This conversion has the same click and timestamp as another conversion in - /// the request. To upload another conversion for this click, use a - /// different timestamp. + /// This conversion has the same click and timestamp as another conversion in + /// the request. To upload another conversion for this click, use a + /// different timestamp. DuplicateClickConversionInRequest = 25, - /// This conversion has the same call and timestamp as another conversion in - /// the request. To upload another conversion for this call, use a - /// different timestamp. + /// This conversion has the same call and timestamp as another conversion in + /// the request. To upload another conversion for this call, use a + /// different timestamp. DuplicateCallConversionInRequest = 26, - /// The custom variable is not enabled. + /// The custom variable is not enabled. CustomVariableNotEnabled = 28, - /// The value of the custom variable contains personally identifiable - /// information (PII), such as an email address or phone number. + /// The value of the custom variable contains personally identifiable + /// information (PII), such as an email address or phone number. CustomVariableValueContainsPii = 29, - /// The click associated with the given identifier or iOS URL parameter isn't - /// from the account where conversion tracking is set up. + /// The click associated with the given identifier or iOS URL parameter isn't + /// from the account where conversion tracking is set up. InvalidCustomerForClick = 30, - /// The click associated with the given call isn't from the account where - /// conversion tracking is set up. + /// The click associated with the given call isn't from the account where + /// conversion tracking is set up. InvalidCustomerForCall = 31, - /// The conversion can't be uploaded because the conversion source didn't - /// comply with the App Tracking Transparency (ATT) policy or the person who - /// converted didn't consent to tracking. + /// The conversion can't be uploaded because the conversion source didn't + /// comply with the App Tracking Transparency (ATT) policy or the person who + /// converted didn't consent to tracking. ConversionNotCompliantWithAttPolicy = 32, - /// No click was found for the provided user identifiers. This may be because - /// the conversion did not come from a Google Ads campaign. + /// No click was found for the provided user identifiers. This may be because + /// the conversion did not come from a Google Ads campaign. ClickNotFound = 33, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 34, - /// Conversion actions which use an external attribution model cannot be used - /// with UserIdentifier. + /// Conversion actions which use an external attribution model cannot be used + /// with UserIdentifier. ExternallyAttributedConversionActionNotPermittedWithUserIdentifier = 35, - /// The provided user identifier is not supported. ConversionUploadService - /// only supports hashed_email and hashed_phone_number. + /// The provided user identifier is not supported. ConversionUploadService + /// only supports hashed_email and hashed_phone_number. UnsupportedUserIdentifier = 36, - /// gbraid and wbraid are both set in the request. Only one is allowed. + /// gbraid and wbraid are both set in the request. Only one is allowed. GbraidWbraidBothSet = 38, - /// The specified wbraid could not be decoded. + /// The specified wbraid could not be decoded. UnparseableWbraid = 39, - /// The specified gbraid could not be decoded. + /// The specified gbraid could not be decoded. UnparseableGbraid = 40, - /// Conversion actions which use the one-per-click counting type cannot be - /// used with gbraid or wbraid. + /// Conversion actions which use the one-per-click counting type cannot be + /// used with gbraid or wbraid. OnePerClickConversionActionNotPermittedWithBraid = 46, - /// Per our customer data policies, enhanced conversions have been prohibited - /// in your account. If you have any questions, contact your Google - /// representative. + /// Per our customer data policies, enhanced conversions have been prohibited + /// in your account. If you have any questions, contact your Google + /// representative. CustomerDataPolicyProhibitsEnhancedConversions = 47, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 48, - /// The order_id contains personally identifiable information (PII), such as - /// an email address or phone number. + /// The order_id contains personally identifiable information (PII), such as + /// an email address or phone number. OrderIdContainsPii = 49, } impl ConversionUploadError { @@ -3683,57 +3683,57 @@ pub mod conversion_upload_error_enum { } } } -// Proto file describing conversion value rule errors. +// Proto file describing conversion value rule errors. -/// Container for enum describing possible conversion value rule errors. +/// Container for enum describing possible conversion value rule errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleErrorEnum { } /// Nested message and enum types in `ConversionValueRuleErrorEnum`. pub mod conversion_value_rule_error_enum { - /// Enum describing possible conversion value rule errors. + /// Enum describing possible conversion value rule errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The value rule's geo location condition contains invalid geo target - /// constant(s), for example, there's no matching geo target. + /// The value rule's geo location condition contains invalid geo target + /// constant(s), for example, there's no matching geo target. InvalidGeoTargetConstant = 2, - /// The value rule's geo location condition contains conflicting included and - /// excluded geo targets. Specifically, some of the excluded geo target(s) - /// are the same as or contain some of the included geo target(s). For - /// example, the geo location condition includes California but excludes U.S. + /// The value rule's geo location condition contains conflicting included and + /// excluded geo targets. Specifically, some of the excluded geo target(s) + /// are the same as or contain some of the included geo target(s). For + /// example, the geo location condition includes California but excludes U.S. ConflictingIncludedAndExcludedGeoTarget = 3, - /// User specified conflicting conditions for two value rules in the same - /// value rule set. + /// User specified conflicting conditions for two value rules in the same + /// value rule set. ConflictingConditions = 4, - /// The value rule cannot be removed because it's still included in some - /// value rule set. + /// The value rule cannot be removed because it's still included in some + /// value rule set. CannotRemoveIfIncludedInValueRuleSet = 5, - /// The value rule contains a condition that's not allowed by the value rule - /// set including this value rule. + /// The value rule contains a condition that's not allowed by the value rule + /// set including this value rule. ConditionNotAllowed = 6, - /// The value rule contains a field that should be unset. + /// The value rule contains a field that should be unset. FieldMustBeUnset = 7, - /// Pausing the value rule requires pausing the value rule set because the - /// value rule is (one of) the last enabled in the value rule set. + /// Pausing the value rule requires pausing the value rule set because the + /// value rule is (one of) the last enabled in the value rule set. CannotPauseUnlessValueRuleSetIsPaused = 8, - /// The value rule's geo location condition contains untargetable geo target - /// constant(s). + /// The value rule's geo location condition contains untargetable geo target + /// constant(s). UntargetableGeoTarget = 9, - /// The value rule's audience condition contains invalid user list(s). In - /// another word, there's no matching user list. + /// The value rule's audience condition contains invalid user list(s). In + /// another word, there's no matching user list. InvalidAudienceUserList = 10, - /// The value rule's audience condition contains inaccessible user list(s). + /// The value rule's audience condition contains inaccessible user list(s). InaccessibleUserList = 11, - /// The value rule's audience condition contains invalid user_interest(s). - /// This might be because there is no matching user interest, or the user - /// interest is not visible. + /// The value rule's audience condition contains invalid user_interest(s). + /// This might be because there is no matching user interest, or the user + /// interest is not visible. InvalidAudienceUserInterest = 12, - /// When a value rule is created, it shouldn't have REMOVED status. + /// When a value rule is created, it shouldn't have REMOVED status. CannotAddRuleWithStatusRemoved = 13, } impl ConversionValueRuleError { @@ -3761,66 +3761,66 @@ pub mod conversion_value_rule_error_enum { } } } -// Proto file describing conversion value rule set errors. +// Proto file describing conversion value rule set errors. -/// Container for enum describing possible conversion value rule set errors. +/// Container for enum describing possible conversion value rule set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetErrorEnum { } /// Nested message and enum types in `ConversionValueRuleSetErrorEnum`. pub mod conversion_value_rule_set_error_enum { - /// Enum describing possible conversion value rule set errors. + /// Enum describing possible conversion value rule set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Two value rules in this value rule set contain conflicting conditions. + /// Two value rules in this value rule set contain conflicting conditions. ConflictingValueRuleConditions = 2, - /// This value rule set includes a value rule that cannot be found, has been - /// permanently removed or belongs to a different customer. + /// This value rule set includes a value rule that cannot be found, has been + /// permanently removed or belongs to a different customer. InvalidValueRule = 3, - /// An error that's thrown when a mutate operation is trying to - /// replace/remove some existing elements in the dimensions field. In other - /// words, ADD op is always fine and UPDATE op is fine if it's only appending - /// new elements into dimensions list. + /// An error that's thrown when a mutate operation is trying to + /// replace/remove some existing elements in the dimensions field. In other + /// words, ADD op is always fine and UPDATE op is fine if it's only appending + /// new elements into dimensions list. DimensionsUpdateOnlyAllowAppend = 4, - /// An error that's thrown when a mutate is adding new value rule(s) into a - /// value rule set and the added value rule(s) include conditions that are - /// not specified in the dimensions of the value rule set. + /// An error that's thrown when a mutate is adding new value rule(s) into a + /// value rule set and the added value rule(s) include conditions that are + /// not specified in the dimensions of the value rule set. ConditionTypeNotAllowed = 5, - /// The dimensions field contains duplicate elements. + /// The dimensions field contains duplicate elements. DuplicateDimensions = 6, - /// This value rule set is attached to an invalid campaign id. Either a - /// campaign with this campaign id doesn't exist or it belongs to a different - /// customer. + /// This value rule set is attached to an invalid campaign id. Either a + /// campaign with this campaign id doesn't exist or it belongs to a different + /// customer. InvalidCampaignId = 7, - /// When a mutate request tries to pause a value rule set, the enabled - /// value rules in this set must be paused in the same command, or this error - /// will be thrown. + /// When a mutate request tries to pause a value rule set, the enabled + /// value rules in this set must be paused in the same command, or this error + /// will be thrown. CannotPauseUnlessAllValueRulesArePaused = 8, - /// When a mutate request tries to pause all the value rules in a value rule - /// set, the value rule set must be paused, or this error will be thrown. + /// When a mutate request tries to pause all the value rules in a value rule + /// set, the value rule set must be paused, or this error will be thrown. ShouldPauseWhenAllValueRulesArePaused = 9, - /// This value rule set is attached to a campaign that does not support value - /// rules. Currently, campaign level value rule sets can only be created on - /// Search, or Display campaigns. + /// This value rule set is attached to a campaign that does not support value + /// rules. Currently, campaign level value rule sets can only be created on + /// Search, or Display campaigns. ValueRulesNotSupportedForCampaignType = 10, - /// To add a value rule set that applies on Store Visits/Store Sales - /// conversion action categories, the customer must have valid Store Visits/ - /// Store Sales conversion actions. + /// To add a value rule set that applies on Store Visits/Store Sales + /// conversion action categories, the customer must have valid Store Visits/ + /// Store Sales conversion actions. IneligibleConversionActionCategories = 11, - /// If NO_CONDITION is used as a dimension of a value rule set, it must be - /// the only dimension. + /// If NO_CONDITION is used as a dimension of a value rule set, it must be + /// the only dimension. DimensionNoConditionUsedWithOtherDimensions = 12, - /// Dimension NO_CONDITION can only be used by Store Visits/Store Sales value - /// rule set. + /// Dimension NO_CONDITION can only be used by Store Visits/Store Sales value + /// rule set. DimensionNoConditionNotAllowed = 13, - /// Value rule sets defined on the specified conversion action categories are - /// not supported. The list of conversion action categories must be an empty - /// list, only STORE_VISIT, or only STORE_SALE. + /// Value rule sets defined on the specified conversion action categories are + /// not supported. The list of conversion action categories must be an empty + /// list, only STORE_VISIT, or only STORE_SALE. UnsupportedConversionActionCategories = 14, } impl ConversionValueRuleSetError { @@ -3849,23 +3849,23 @@ pub mod conversion_value_rule_set_error_enum { } } } -// Proto file describing country code errors. +// Proto file describing country code errors. -/// Container for enum describing country code errors. +/// Container for enum describing country code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryCodeErrorEnum { } /// Nested message and enum types in `CountryCodeErrorEnum`. pub mod country_code_error_enum { - /// Enum describing country code errors. + /// Enum describing country code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CountryCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 2, } impl CountryCodeError { @@ -3882,319 +3882,319 @@ pub mod country_code_error_enum { } } } -// Proto file describing criterion errors. +// Proto file describing criterion errors. -/// Container for enum describing possible criterion errors. +/// Container for enum describing possible criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionErrorEnum { } /// Nested message and enum types in `CriterionErrorEnum`. pub mod criterion_error_enum { - /// Enum describing possible criterion errors. + /// Enum describing possible criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion is required for CREATE and UPDATE operations. + /// Concrete type of criterion is required for CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// The category requested for exclusion is invalid. + /// The category requested for exclusion is invalid. InvalidExcludedCategory = 3, - /// Invalid keyword criteria text. + /// Invalid keyword criteria text. InvalidKeywordText = 4, - /// Keyword text should be less than 80 chars. + /// Keyword text should be less than 80 chars. KeywordTextTooLong = 5, - /// Keyword text has too many words. + /// Keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword text has invalid characters or symbols. + /// Keyword text has invalid characters or symbols. KeywordHasInvalidChars = 7, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 8, - /// Invalid user list criterion. + /// Invalid user list criterion. InvalidUserList = 9, - /// Invalid user interest criterion. + /// Invalid user interest criterion. InvalidUserInterest = 10, - /// Placement URL has wrong format. + /// Placement URL has wrong format. InvalidFormatForPlacementUrl = 11, - /// Placement URL is too long. + /// Placement URL is too long. PlacementUrlIsTooLong = 12, - /// Indicates the URL contains an illegal character. + /// Indicates the URL contains an illegal character. PlacementUrlHasIllegalChar = 13, - /// Indicates the URL contains multiple comma separated URLs. + /// Indicates the URL contains multiple comma separated URLs. PlacementUrlHasMultipleSitesInLine = 14, - /// Indicates the domain is blocked. + /// Indicates the domain is blocked. PlacementIsNotAvailableForTargetingOrExclusion = 15, - /// Invalid topic path. + /// Invalid topic path. InvalidTopicPath = 16, - /// The YouTube Channel Id is invalid. + /// The YouTube Channel Id is invalid. InvalidYoutubeChannelId = 17, - /// The YouTube Video Id is invalid. + /// The YouTube Video Id is invalid. InvalidYoutubeVideoId = 18, - /// Indicates the placement is a YouTube vertical channel, which is no longer - /// supported. + /// Indicates the placement is a YouTube vertical channel, which is no longer + /// supported. YoutubeVerticalChannelDeprecated = 19, - /// Indicates the placement is a YouTube demographic channel, which is no - /// longer supported. + /// Indicates the placement is a YouTube demographic channel, which is no + /// longer supported. YoutubeDemographicChannelDeprecated = 20, - /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel - /// and YouTubeVideo criterion instead. + /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel + /// and YouTubeVideo criterion instead. YoutubeUrlUnsupported = 21, - /// Criteria type can not be excluded by the customer, like AOL account type - /// cannot target site type criteria. + /// Criteria type can not be excluded by the customer, like AOL account type + /// cannot target site type criteria. CannotExcludeCriteriaType = 22, - /// Criteria type can not be targeted. + /// Criteria type can not be targeted. CannotAddCriteriaType = 23, - /// Not allowed to exclude similar user list. + /// Not allowed to exclude similar user list. CannotExcludeSimilarUserList = 26, - /// Not allowed to target a closed user list. + /// Not allowed to target a closed user list. CannotAddClosedUserList = 27, - /// Not allowed to add display only UserLists to search only campaigns. + /// Not allowed to add display only UserLists to search only campaigns. CannotAddDisplayOnlyListsToSearchOnlyCampaigns = 28, - /// Not allowed to add display only UserLists to search plus campaigns. + /// Not allowed to add display only UserLists to search plus campaigns. CannotAddDisplayOnlyListsToSearchCampaigns = 29, - /// Not allowed to add display only UserLists to shopping campaigns. + /// Not allowed to add display only UserLists to shopping campaigns. CannotAddDisplayOnlyListsToShoppingCampaigns = 30, - /// Not allowed to add User interests to search only campaigns. + /// Not allowed to add User interests to search only campaigns. CannotAddUserInterestsToSearchCampaigns = 31, - /// Not allowed to set bids for this criterion type in search campaigns + /// Not allowed to set bids for this criterion type in search campaigns CannotSetBidsOnCriterionTypeInSearchCampaigns = 32, - /// Final URLs, URL Templates and CustomParameters cannot be set for the - /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - /// MobileAppCategory in search campaigns and shopping campaigns. + /// Final URLs, URL Templates and CustomParameters cannot be set for the + /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and + /// MobileAppCategory in search campaigns and shopping campaigns. CannotAddUrlsToCriterionTypeForCampaignType = 33, - /// Invalid combined audience criterion. + /// Invalid combined audience criterion. InvalidCombinedAudience = 122, - /// Invalid custom affinity criterion. + /// Invalid custom affinity criterion. InvalidCustomAffinity = 96, - /// Invalid custom intent criterion. + /// Invalid custom intent criterion. InvalidCustomIntent = 97, - /// Invalid custom audience criterion. + /// Invalid custom audience criterion. InvalidCustomAudience = 121, - /// IP address is not valid. + /// IP address is not valid. InvalidIpAddress = 34, - /// IP format is not valid. + /// IP format is not valid. InvalidIpFormat = 35, - /// Mobile application is not valid. + /// Mobile application is not valid. InvalidMobileApp = 36, - /// Mobile application category is not valid. + /// Mobile application category is not valid. InvalidMobileAppCategory = 37, - /// The CriterionId does not exist or is of the incorrect type. + /// The CriterionId does not exist or is of the incorrect type. InvalidCriterionId = 38, - /// The Criterion is not allowed to be targeted. + /// The Criterion is not allowed to be targeted. CannotTargetCriterion = 39, - /// The criterion is not allowed to be targeted as it is deprecated. + /// The criterion is not allowed to be targeted as it is deprecated. CannotTargetObsoleteCriterion = 40, - /// The CriterionId is not valid for the type. + /// The CriterionId is not valid for the type. CriterionIdAndTypeMismatch = 41, - /// Distance for the radius for the proximity criterion is invalid. + /// Distance for the radius for the proximity criterion is invalid. InvalidProximityRadius = 42, - /// Units for the distance for the radius for the proximity criterion is - /// invalid. + /// Units for the distance for the radius for the proximity criterion is + /// invalid. InvalidProximityRadiusUnits = 43, - /// Street address in the address is not valid. + /// Street address in the address is not valid. InvalidStreetaddressLength = 44, - /// City name in the address is not valid. + /// City name in the address is not valid. InvalidCitynameLength = 45, - /// Region code in the address is not valid. + /// Region code in the address is not valid. InvalidRegioncodeLength = 46, - /// Region name in the address is not valid. + /// Region name in the address is not valid. InvalidRegionnameLength = 47, - /// Postal code in the address is not valid. + /// Postal code in the address is not valid. InvalidPostalcodeLength = 48, - /// Country code in the address is not valid. + /// Country code in the address is not valid. InvalidCountryCode = 49, - /// Latitude for the GeoPoint is not valid. + /// Latitude for the GeoPoint is not valid. InvalidLatitude = 50, - /// Longitude for the GeoPoint is not valid. + /// Longitude for the GeoPoint is not valid. InvalidLongitude = 51, - /// The Proximity input is not valid. Both address and geoPoint cannot be - /// null. + /// The Proximity input is not valid. Both address and geoPoint cannot be + /// null. ProximityGeopointAndAddressBothCannotBeNull = 52, - /// The Proximity address cannot be geocoded to a valid lat/long. + /// The Proximity address cannot be geocoded to a valid lat/long. InvalidProximityAddress = 53, - /// User domain name is not valid. + /// User domain name is not valid. InvalidUserDomainName = 54, - /// Length of serialized criterion parameter exceeded size limit. + /// Length of serialized criterion parameter exceeded size limit. CriterionParameterTooLong = 55, - /// Time interval in the AdSchedule overlaps with another AdSchedule. + /// Time interval in the AdSchedule overlaps with another AdSchedule. AdScheduleTimeIntervalsOverlap = 56, - /// AdSchedule time interval cannot span multiple days. + /// AdSchedule time interval cannot span multiple days. AdScheduleIntervalCannotSpanMultipleDays = 57, - /// AdSchedule time interval specified is invalid, endTime cannot be earlier - /// than startTime. + /// AdSchedule time interval specified is invalid, endTime cannot be earlier + /// than startTime. AdScheduleInvalidTimeInterval = 58, - /// The number of AdSchedule entries in a day exceeds the limit. + /// The number of AdSchedule entries in a day exceeds the limit. AdScheduleExceededIntervalsPerDayLimit = 59, - /// CriteriaId does not match the interval of the AdSchedule specified. + /// CriteriaId does not match the interval of the AdSchedule specified. AdScheduleCriterionIdMismatchingFields = 60, - /// Cannot set bid modifier for this criterion type. + /// Cannot set bid modifier for this criterion type. CannotBidModifyCriterionType = 61, - /// Cannot bid modify criterion, since it is opted out of the campaign. + /// Cannot bid modify criterion, since it is opted out of the campaign. CannotBidModifyCriterionCampaignOptedOut = 62, - /// Cannot set bid modifier for a negative criterion. + /// Cannot set bid modifier for a negative criterion. CannotBidModifyNegativeCriterion = 63, - /// Bid Modifier already exists. Use SET operation to update. + /// Bid Modifier already exists. Use SET operation to update. BidModifierAlreadyExists = 64, - /// Feed Id is not allowed in these Location Groups. + /// Feed Id is not allowed in these Location Groups. FeedIdNotAllowed = 65, - /// The account may not use the requested criteria type. For example, some - /// accounts are restricted to keywords only. + /// The account may not use the requested criteria type. For example, some + /// accounts are restricted to keywords only. AccountIneligibleForCriteriaType = 66, - /// The requested criteria type cannot be used with campaign or ad group - /// bidding strategy. + /// The requested criteria type cannot be used with campaign or ad group + /// bidding strategy. CriteriaTypeInvalidForBiddingStrategy = 67, - /// The Criterion is not allowed to be excluded. + /// The Criterion is not allowed to be excluded. CannotExcludeCriterion = 68, - /// The criterion is not allowed to be removed. For example, we cannot remove - /// any of the device criterion. + /// The criterion is not allowed to be removed. For example, we cannot remove + /// any of the device criterion. CannotRemoveCriterion = 69, - /// Bidding categories do not form a valid path in the Shopping bidding - /// category taxonomy. + /// Bidding categories do not form a valid path in the Shopping bidding + /// category taxonomy. InvalidProductBiddingCategory = 76, - /// ShoppingSetting must be added to the campaign before ProductScope - /// criteria can be added. + /// ShoppingSetting must be added to the campaign before ProductScope + /// criteria can be added. MissingShoppingSetting = 77, - /// Matching function is invalid. + /// Matching function is invalid. InvalidMatchingFunction = 78, - /// Filter parameters not allowed for location groups targeting. + /// Filter parameters not allowed for location groups targeting. LocationFilterNotAllowed = 79, - /// Feed not found, or the feed is not an enabled location feed. + /// Feed not found, or the feed is not an enabled location feed. InvalidFeedForLocationFilter = 98, - /// Given location filter parameter is invalid for location groups targeting. + /// Given location filter parameter is invalid for location groups targeting. LocationFilterInvalid = 80, - /// Cannot set geo target constants and feed item sets at the same time. + /// Cannot set geo target constants and feed item sets at the same time. CannotSetGeoTargetConstantsWithFeedItemSets = 123, - /// The location group radius is in the range but not at the valid increment. + /// The location group radius is in the range but not at the valid increment. InvalidLocationGroupRadius = 124, - /// The location group radius unit is invalid. + /// The location group radius unit is invalid. InvalidLocationGroupRadiusUnit = 125, - /// Criteria type cannot be associated with a campaign and its ad group(s) - /// simultaneously. + /// Criteria type cannot be associated with a campaign and its ad group(s) + /// simultaneously. CannotAttachCriteriaAtCampaignAndAdgroup = 81, - /// Range represented by hotel length of stay's min nights and max nights - /// overlaps with an existing criterion. + /// Range represented by hotel length of stay's min nights and max nights + /// overlaps with an existing criterion. HotelLengthOfStayOverlapsWithExistingCriterion = 82, - /// Range represented by hotel advance booking window's min days and max days - /// overlaps with an existing criterion. + /// Range represented by hotel advance booking window's min days and max days + /// overlaps with an existing criterion. HotelAdvanceBookingWindowOverlapsWithExistingCriterion = 83, - /// The field is not allowed to be set when the negative field is set to - /// true, for example, we don't allow bids in negative ad group or campaign - /// criteria. + /// The field is not allowed to be set when the negative field is set to + /// true, for example, we don't allow bids in negative ad group or campaign + /// criteria. FieldIncompatibleWithNegativeTargeting = 84, - /// The combination of operand and operator in webpage condition is invalid. + /// The combination of operand and operator in webpage condition is invalid. InvalidWebpageCondition = 85, - /// The URL of webpage condition is invalid. + /// The URL of webpage condition is invalid. InvalidWebpageConditionUrl = 86, - /// The URL of webpage condition cannot be empty or contain white space. + /// The URL of webpage condition cannot be empty or contain white space. WebpageConditionUrlCannotBeEmpty = 87, - /// The URL of webpage condition contains an unsupported protocol. + /// The URL of webpage condition contains an unsupported protocol. WebpageConditionUrlUnsupportedProtocol = 88, - /// The URL of webpage condition cannot be an IP address. + /// The URL of webpage condition cannot be an IP address. WebpageConditionUrlCannotBeIpAddress = 89, - /// The domain of the URL is not consistent with the domain in campaign - /// setting. + /// The domain of the URL is not consistent with the domain in campaign + /// setting. WebpageConditionUrlDomainNotConsistentWithCampaignSetting = 90, - /// The URL of webpage condition cannot be a public suffix itself. + /// The URL of webpage condition cannot be a public suffix itself. WebpageConditionUrlCannotBePublicSuffix = 91, - /// The URL of webpage condition has an invalid public suffix. + /// The URL of webpage condition has an invalid public suffix. WebpageConditionUrlInvalidPublicSuffix = 92, - /// Value track parameter is not supported in webpage condition URL. + /// Value track parameter is not supported in webpage condition URL. WebpageConditionUrlValueTrackValueNotSupported = 93, - /// Only one URL-EQUALS webpage condition is allowed in a webpage - /// criterion and it cannot be combined with other conditions. + /// Only one URL-EQUALS webpage condition is allowed in a webpage + /// criterion and it cannot be combined with other conditions. WebpageCriterionUrlEqualsCanHaveOnlyOneCondition = 94, - /// A webpage criterion cannot be added to a non-DSA ad group. + /// A webpage criterion cannot be added to a non-DSA ad group. WebpageCriterionNotSupportedOnNonDsaAdGroup = 95, - /// Cannot add positive user list criteria in Smart Display campaigns. + /// Cannot add positive user list criteria in Smart Display campaigns. CannotTargetUserListForSmartDisplayCampaigns = 99, - /// Cannot add positive placement criterion types in search campaigns. + /// Cannot add positive placement criterion types in search campaigns. CannotTargetPlacementsForSearchCampaigns = 126, - /// Listing scope contains too many dimension types. + /// Listing scope contains too many dimension types. ListingScopeTooManyDimensionTypes = 100, - /// Listing scope has too many IN operators. + /// Listing scope has too many IN operators. ListingScopeTooManyInOperators = 101, - /// Listing scope contains IN operator on an unsupported dimension type. + /// Listing scope contains IN operator on an unsupported dimension type. ListingScopeInOperatorNotSupported = 102, - /// There are dimensions with duplicate dimension type. + /// There are dimensions with duplicate dimension type. DuplicateListingDimensionType = 103, - /// There are dimensions with duplicate dimension value. + /// There are dimensions with duplicate dimension value. DuplicateListingDimensionValue = 104, - /// Listing group SUBDIVISION nodes cannot have bids. + /// Listing group SUBDIVISION nodes cannot have bids. CannotSetBidsOnListingGroupSubdivision = 105, - /// Ad group is invalid due to the listing groups it contains. + /// Ad group is invalid due to the listing groups it contains. InvalidListingGroupHierarchy = 106, - /// Listing group unit cannot have children. + /// Listing group unit cannot have children. ListingGroupUnitCannotHaveChildren = 107, - /// Subdivided listing groups must have an "others" case. + /// Subdivided listing groups must have an "others" case. ListingGroupSubdivisionRequiresOthersCase = 108, - /// Dimension type of listing group must be the same as that of its siblings. + /// Dimension type of listing group must be the same as that of its siblings. ListingGroupRequiresSameDimensionTypeAsSiblings = 109, - /// Listing group cannot be added to the ad group because it already exists. + /// Listing group cannot be added to the ad group because it already exists. ListingGroupAlreadyExists = 110, - /// Listing group referenced in the operation was not found in the ad group. + /// Listing group referenced in the operation was not found in the ad group. ListingGroupDoesNotExist = 111, - /// Recursive removal failed because listing group subdivision is being - /// created or modified in this request. + /// Recursive removal failed because listing group subdivision is being + /// created or modified in this request. ListingGroupCannotBeRemoved = 112, - /// Listing group type is not allowed for specified ad group criterion type. + /// Listing group type is not allowed for specified ad group criterion type. InvalidListingGroupType = 113, - /// Listing group in an ADD operation specifies a non temporary criterion id. + /// Listing group in an ADD operation specifies a non temporary criterion id. ListingGroupAddMayOnlyUseTempId = 114, - /// The combined length of dimension values of the Listing scope criterion - /// is too long. + /// The combined length of dimension values of the Listing scope criterion + /// is too long. ListingScopeTooLong = 115, - /// Listing scope contains too many dimensions. + /// Listing scope contains too many dimensions. ListingScopeTooManyDimensions = 116, - /// The combined length of dimension values of the Listing group criterion is - /// too long. + /// The combined length of dimension values of the Listing group criterion is + /// too long. ListingGroupTooLong = 117, - /// Listing group tree is too deep. + /// Listing group tree is too deep. ListingGroupTreeTooDeep = 118, - /// Listing dimension is invalid (for example, dimension contains illegal - /// value, dimension type is represented with wrong class, etc). Listing - /// dimension value can not contain "==" or "&+". + /// Listing dimension is invalid (for example, dimension contains illegal + /// value, dimension type is represented with wrong class, etc). Listing + /// dimension value can not contain "==" or "&+". InvalidListingDimension = 119, - /// Listing dimension type is either invalid for campaigns of this type or - /// cannot be used in the current context. BIDDING_CATEGORY_Lx and - /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - /// and start from L1. Furthermore, an "others" Listing group cannot be - /// subdivided with a dimension of the same type but of a higher level - /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - /// BIDDING_CATEGORY_L4). + /// Listing dimension type is either invalid for campaigns of this type or + /// cannot be used in the current context. BIDDING_CATEGORY_Lx and + /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their + /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially + /// and start from L1. Furthermore, an "others" Listing group cannot be + /// subdivided with a dimension of the same type but of a higher level + /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with + /// BIDDING_CATEGORY_L4). InvalidListingDimensionType = 120, - /// Customer is not on allowlist for composite audience in display campaigns. + /// Customer is not on allowlist for composite audience in display campaigns. AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay = 127, - /// Cannot target on a removed combined audience. + /// Cannot target on a removed combined audience. CannotTargetRemovedCombinedAudience = 128, - /// Combined audience ID is invalid. + /// Combined audience ID is invalid. InvalidCombinedAudienceId = 129, - /// Can not target removed combined audience. + /// Can not target removed combined audience. CannotTargetRemovedCustomAudience = 130, - /// Range represented by hotel check-in date's start date and end date - /// overlaps with an existing criterion. + /// Range represented by hotel check-in date's start date and end date + /// overlaps with an existing criterion. HotelCheckInDateRangeOverlapsWithExistingCriterion = 131, - /// Start date is earlier than earliest allowed value of yesterday UTC. + /// Start date is earlier than earliest allowed value of yesterday UTC. HotelCheckInDateRangeStartDateTooEarly = 132, - /// End date later is than latest allowed day of 330 days in the future UTC. + /// End date later is than latest allowed day of 330 days in the future UTC. HotelCheckInDateRangeEndDateTooLate = 133, - /// Start date is after end date. + /// Start date is after end date. HotelCheckInDateRangeReversed = 134, - /// Broad match modifier (BMM) keywords can no longer be created. See - /// + /// Broad match modifier (BMM) keywords can no longer be created. See + /// BroadMatchModifierKeywordNotAllowed = 135, - /// Only one audience is allowed in an asset group. + /// Only one audience is allowed in an asset group. OneAudienceAllowedPerAssetGroup = 136, - /// Audience is not supported for the specified campaign type. + /// Audience is not supported for the specified campaign type. AudienceNotEligibleForCampaignType = 137, - /// Audience is not allowed to attach when use_audience_grouped bit is set to - /// false. + /// Audience is not allowed to attach when use_audience_grouped bit is set to + /// false. AudienceNotAllowedToAttachWhenAudienceGroupedSetToFalse = 138, - /// Targeting is not allowed for Customer Match lists as per Customer Match - /// policy. See - /// + /// Targeting is not allowed for Customer Match lists as per Customer Match + /// policy. See + /// CannotTargetCustomerMatchUserList = 139, } impl CriterionError { @@ -4340,23 +4340,23 @@ pub mod criterion_error_enum { } } } -// Proto file describing currency code errors. +// Proto file describing currency code errors. -/// Container for enum describing possible currency code errors. +/// Container for enum describing possible currency code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyCodeErrorEnum { } /// Nested message and enum types in `CurrencyCodeErrorEnum`. pub mod currency_code_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CurrencyCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The currency code is not supported. + /// The currency code is not supported. Unsupported = 2, } impl CurrencyCodeError { @@ -4373,37 +4373,37 @@ pub mod currency_code_error_enum { } } } -// Proto file describing custom audience errors. +// Proto file describing custom audience errors. -/// Container for enum describing possible custom audience errors. +/// Container for enum describing possible custom audience errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceErrorEnum { } /// Nested message and enum types in `CustomAudienceErrorEnum`. pub mod custom_audience_error_enum { - /// Enum describing possible custom audience errors. + /// Enum describing possible custom audience errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// New name in the custom audience is duplicated ignoring cases. + /// New name in the custom audience is duplicated ignoring cases. NameAlreadyUsed = 2, - /// Cannot remove a custom audience while it's still being used as targeting. + /// Cannot remove a custom audience while it's still being used as targeting. CannotRemoveWhileInUse = 3, - /// Cannot update or remove a custom audience that is already removed. + /// Cannot update or remove a custom audience that is already removed. ResourceAlreadyRemoved = 4, - /// The pair of [type, value] already exists in members. + /// The pair of [type, value] already exists in members. MemberTypeAndParameterAlreadyExisted = 5, - /// Member type is invalid. + /// Member type is invalid. InvalidMemberType = 6, - /// Member type does not have associated value. + /// Member type does not have associated value. MemberTypeAndValueDoesNotMatch = 7, - /// Custom audience contains a member that violates policy. + /// Custom audience contains a member that violates policy. PolicyViolation = 8, - /// Change in custom audience type is not allowed. + /// Change in custom audience type is not allowed. InvalidTypeChange = 9, } impl CustomAudienceError { @@ -4427,33 +4427,33 @@ pub mod custom_audience_error_enum { } } } -// Proto file describing CustomConversionGoal errors. +// Proto file describing CustomConversionGoal errors. -/// Container for enum describing possible custom conversion goal errors. +/// Container for enum describing possible custom conversion goal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalErrorEnum { } /// Nested message and enum types in `CustomConversionGoalErrorEnum`. pub mod custom_conversion_goal_error_enum { - /// Enum describing possible custom conversion goal errors. + /// Enum describing possible custom conversion goal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot find a conversion action with the specified id. + /// Cannot find a conversion action with the specified id. InvalidConversionAction = 2, - /// The conversion action is not enabled so it cannot be included in a custom - /// conversion goal. + /// The conversion action is not enabled so it cannot be included in a custom + /// conversion goal. ConversionActionNotEnabled = 3, - /// The custom conversion goal cannot be removed because it's linked to a - /// campaign. + /// The custom conversion goal cannot be removed because it's linked to a + /// campaign. CannotRemoveLinkedCustomConversionGoal = 4, - /// Custom goal with the same name already exists. + /// Custom goal with the same name already exists. CustomGoalDuplicateName = 5, - /// Custom goal with the same conversion action list already exists. + /// Custom goal with the same conversion action list already exists. DuplicateConversionActionList = 6, } impl CustomConversionGoalError { @@ -4474,36 +4474,36 @@ pub mod custom_conversion_goal_error_enum { } } } -// Proto file describing custom interest errors. +// Proto file describing custom interest errors. -/// Container for enum describing possible custom interest errors. +/// Container for enum describing possible custom interest errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestErrorEnum { } /// Nested message and enum types in `CustomInterestErrorEnum`. pub mod custom_interest_error_enum { - /// Enum describing possible custom interest errors. + /// Enum describing possible custom interest errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate custom interest name ignoring case. + /// Duplicate custom interest name ignoring case. NameAlreadyUsed = 2, - /// In the remove custom interest member operation, both member ID and - /// pair [type, parameter] are not present. + /// In the remove custom interest member operation, both member ID and + /// pair [type, parameter] are not present. CustomInterestMemberIdAndTypeParameterNotPresentInRemove = 3, - /// The pair of [type, parameter] does not exist. + /// The pair of [type, parameter] does not exist. TypeAndParameterNotFound = 4, - /// The pair of [type, parameter] already exists. + /// The pair of [type, parameter] already exists. TypeAndParameterAlreadyExisted = 5, - /// Unsupported custom interest member type. + /// Unsupported custom interest member type. InvalidCustomInterestMemberType = 6, - /// Cannot remove a custom interest while it's still being targeted. + /// Cannot remove a custom interest while it's still being targeted. CannotRemoveWhileInUse = 7, - /// Cannot mutate custom interest type. + /// Cannot mutate custom interest type. CannotChangeType = 8, } impl CustomInterestError { @@ -4526,37 +4526,37 @@ pub mod custom_interest_error_enum { } } } -// Proto file describing CustomerClientLink errors. +// Proto file describing CustomerClientLink errors. -/// Container for enum describing possible CustomeClientLink errors. +/// Container for enum describing possible CustomeClientLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkErrorEnum { } /// Nested message and enum types in `CustomerClientLinkErrorEnum`. pub mod customer_client_link_error_enum { - /// Enum describing possible CustomerClientLink errors. + /// Enum describing possible CustomerClientLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerClientLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Trying to manage a client that already in being managed by customer. + /// Trying to manage a client that already in being managed by customer. ClientAlreadyInvitedByThisManager = 2, - /// Already managed by some other manager in the hierarchy. + /// Already managed by some other manager in the hierarchy. ClientAlreadyManagedInHierarchy = 3, - /// Attempt to create a cycle in the hierarchy. + /// Attempt to create a cycle in the hierarchy. CyclicLinkNotAllowed = 4, - /// Managed accounts has the maximum number of linked accounts. + /// Managed accounts has the maximum number of linked accounts. CustomerHasTooManyAccounts = 5, - /// Invitor has the maximum pending invitations. + /// Invitor has the maximum pending invitations. ClientHasTooManyInvitations = 6, - /// Attempt to change hidden status of a link that is not active. + /// Attempt to change hidden status of a link that is not active. CannotHideOrUnhideManagerAccounts = 7, - /// Parent manager account has the maximum number of linked accounts. + /// Parent manager account has the maximum number of linked accounts. CustomerHasTooManyAccountsAtManager = 8, - /// Client has too many managers. + /// Client has too many managers. ClientHasTooManyManagers = 9, } impl CustomerClientLinkError { @@ -4580,21 +4580,21 @@ pub mod customer_client_link_error_enum { } } } -// Proto file describing customer customizer errors. +// Proto file describing customer customizer errors. -/// Container for enum describing possible customer customizer errors. +/// Container for enum describing possible customer customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerErrorEnum { } /// Nested message and enum types in `CustomerCustomizerErrorEnum`. pub mod customer_customizer_error_enum { - /// Enum describing possible customer customizer errors. + /// Enum describing possible customer customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CustomerCustomizerError { @@ -4610,25 +4610,25 @@ pub mod customer_customizer_error_enum { } } } -/// Container for enum describing possible customer errors. +/// Container for enum describing possible customer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerErrorEnum { } /// Nested message and enum types in `CustomerErrorEnum`. pub mod customer_error_enum { - /// Set of errors that are related to requests dealing with Customer. + /// Set of errors that are related to requests dealing with Customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer status is not allowed to be changed from DRAFT and CLOSED. - /// Currency code and at least one of country code and time zone needs to be - /// set when status is changed to ENABLED. + /// Customer status is not allowed to be changed from DRAFT and CLOSED. + /// Currency code and at least one of country code and time zone needs to be + /// set when status is changed to ENABLED. StatusChangeDisallowed = 2, - /// CustomerService cannot get a customer that has not been fully set up. + /// CustomerService cannot get a customer that has not been fully set up. AccountNotSetUp = 3, } impl CustomerError { @@ -4646,36 +4646,36 @@ pub mod customer_error_enum { } } } -// Proto file describing customer feed errors. +// Proto file describing customer feed errors. -/// Container for enum describing possible customer feed errors. +/// Container for enum describing possible customer feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedErrorEnum { } /// Nested message and enum types in `CustomerFeedErrorEnum`. pub mod customer_feed_error_enum { - /// Enum describing possible customer feed errors. + /// Enum describing possible customer feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this customer and place holder type. + /// An active feed already exists for this customer and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The CustomerFeed already exists. Update should be used to modify the - /// existing CustomerFeed. + /// The CustomerFeed already exists. Update should be used to modify the + /// existing CustomerFeed. CannotCreateAlreadyExistingCustomerFeed = 4, - /// Cannot update removed customer feed. + /// Cannot update removed customer feed. CannotModifyRemovedCustomerFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Placeholder not allowed at the account level. + /// Placeholder not allowed at the account level. PlaceholderTypeNotAllowedOnCustomerFeed = 8, } impl CustomerFeedError { @@ -4698,43 +4698,43 @@ pub mod customer_feed_error_enum { } } } -// Proto file describing CustomerManagerLink errors. +// Proto file describing CustomerManagerLink errors. -/// Container for enum describing possible CustomerManagerLink errors. +/// Container for enum describing possible CustomerManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkErrorEnum { } /// Nested message and enum types in `CustomerManagerLinkErrorEnum`. pub mod customer_manager_link_error_enum { - /// Enum describing possible CustomerManagerLink errors. + /// Enum describing possible CustomerManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No pending invitation. + /// No pending invitation. NoPendingInvite = 2, - /// Attempt to operate on the same client more than once in the same call. + /// Attempt to operate on the same client more than once in the same call. SameClientMoreThanOncePerCall = 3, - /// Manager account has the maximum number of linked accounts. + /// Manager account has the maximum number of linked accounts. ManagerHasMaxNumberOfLinkedAccounts = 4, - /// If no active user on account it cannot be unlinked from its manager. + /// If no active user on account it cannot be unlinked from its manager. CannotUnlinkAccountWithoutActiveUser = 5, - /// Account should have at least one active owner on it before being - /// unlinked. + /// Account should have at least one active owner on it before being + /// unlinked. CannotRemoveLastClientAccountOwner = 6, - /// Only account owners may change their permission role. + /// Only account owners may change their permission role. CannotChangeRoleByNonAccountOwner = 7, - /// When a client's link to its manager is not active, the link role cannot - /// be changed. + /// When a client's link to its manager is not active, the link role cannot + /// be changed. CannotChangeRoleForNonActiveLinkAccount = 8, - /// Attempt to link a child to a parent that contains or will contain - /// duplicate children. + /// Attempt to link a child to a parent that contains or will contain + /// duplicate children. DuplicateChildFound = 9, - /// The authorized customer is a test account. It can add no more than the - /// allowed number of accounts + /// The authorized customer is a test account. It can add no more than the + /// allowed number of accounts TestAccountLinksTooManyChildAccounts = 10, } impl CustomerManagerLinkError { @@ -4759,32 +4759,32 @@ pub mod customer_manager_link_error_enum { } } } -// Proto file describing CustomerUserAccess errors. +// Proto file describing CustomerUserAccess errors. -/// Container for enum describing possible CustomerUserAccess errors. +/// Container for enum describing possible CustomerUserAccess errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessErrorEnum { } /// Nested message and enum types in `CustomerUserAccessErrorEnum`. pub mod customer_user_access_error_enum { - /// Enum describing possible customer user access errors. + /// Enum describing possible customer user access errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerUserAccessError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There is no user associated with the user id specified. + /// There is no user associated with the user id specified. InvalidUserId = 2, - /// Unable to remove the access between the user and customer. + /// Unable to remove the access between the user and customer. RemovalDisallowed = 3, - /// Unable to add or update the access role as specified. + /// Unable to add or update the access role as specified. DisallowedAccessRole = 4, - /// The user can't remove itself from an active serving customer if it's the - /// last admin user and the customer doesn't have any owner manager + /// The user can't remove itself from an active serving customer if it's the + /// last admin user and the customer doesn't have any owner manager LastAdminUserOfServingCustomer = 5, - /// Last admin user cannot be removed from a manager. + /// Last admin user cannot be removed from a manager. LastAdminUserOfManager = 6, } impl CustomerUserAccessError { @@ -4805,24 +4805,24 @@ pub mod customer_user_access_error_enum { } } } -// Proto file describing customizer attribute errors. +// Proto file describing customizer attribute errors. -/// Container for enum describing possible customizer attribute errors. +/// Container for enum describing possible customizer attribute errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeErrorEnum { } /// Nested message and enum types in `CustomizerAttributeErrorEnum`. pub mod customizer_attribute_error_enum { - /// Enum describing possible customizer attribute errors. + /// Enum describing possible customizer attribute errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// CustomizerAttribute name matches that of another active - /// CustomizerAttribute. + /// CustomizerAttribute name matches that of another active + /// CustomizerAttribute. DuplicateCustomizerAttributeName = 2, } impl CustomizerAttributeError { @@ -4839,30 +4839,30 @@ pub mod customizer_attribute_error_enum { } } } -// Proto file describing database errors. +// Proto file describing database errors. -/// Container for enum describing possible database errors. +/// Container for enum describing possible database errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseErrorEnum { } /// Nested message and enum types in `DatabaseErrorEnum`. pub mod database_error_enum { - /// Enum describing possible database errors. + /// Enum describing possible database errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiple requests were attempting to modify the same resource at once. - /// Retry the request. + /// Multiple requests were attempting to modify the same resource at once. + /// Retry the request. ConcurrentModification = 2, - /// The request conflicted with existing data. This error will usually be - /// replaced with a more specific error if the request is retried. + /// The request conflicted with existing data. This error will usually be + /// replaced with a more specific error if the request is retried. DataConstraintViolation = 3, - /// The data written is too large. Split the request into smaller - /// requests. + /// The data written is too large. Split the request into smaller + /// requests. RequestTooLarge = 4, } impl DatabaseError { @@ -4881,41 +4881,41 @@ pub mod database_error_enum { } } } -// Proto file describing date errors. +// Proto file describing date errors. -/// Container for enum describing possible date errors. +/// Container for enum describing possible date errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateErrorEnum { } /// Nested message and enum types in `DateErrorEnum`. pub mod date_error_enum { - /// Enum describing possible date errors. + /// Enum describing possible date errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Given field values do not correspond to a valid date. + /// Given field values do not correspond to a valid date. InvalidFieldValuesInDate = 2, - /// Given field values do not correspond to a valid date time. + /// Given field values do not correspond to a valid date time. InvalidFieldValuesInDateTime = 3, - /// The string date's format should be yyyy-mm-dd. + /// The string date's format should be yyyy-mm-dd. InvalidStringDate = 4, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. InvalidStringDateTimeMicros = 6, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss. InvalidStringDateTimeSeconds = 11, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. InvalidStringDateTimeSecondsWithOffset = 12, - /// Date is before allowed minimum. + /// Date is before allowed minimum. EarlierThanMinimumDate = 7, - /// Date is after allowed maximum. + /// Date is after allowed maximum. LaterThanMaximumDate = 8, - /// Date range bounds are not in order. + /// Date range bounds are not in order. DateRangeMinimumDateLaterThanMaximumDate = 9, - /// Both dates in range are null. + /// Both dates in range are null. DateRangeMinimumAndMaximumDatesBothNull = 10, } impl DateError { @@ -4941,31 +4941,31 @@ pub mod date_error_enum { } } } -// Proto file describing date range errors. +// Proto file describing date range errors. -/// Container for enum describing possible date range errors. +/// Container for enum describing possible date range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRangeErrorEnum { } /// Nested message and enum types in `DateRangeErrorEnum`. pub mod date_range_error_enum { - /// Enum describing possible date range errors. + /// Enum describing possible date range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateRangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date. + /// Invalid date. InvalidDate = 2, - /// The start date was after the end date. + /// The start date was after the end date. StartDateAfterEndDate = 3, - /// Cannot set date to past time + /// Cannot set date to past time CannotSetDateToPast = 4, - /// A date was used that is past the system "last" date. + /// A date was used that is past the system "last" date. AfterMaximumAllowableDate = 5, - /// Trying to change start date on a resource that has started. + /// Trying to change start date on a resource that has started. CannotModifyStartDateIfAlreadyStarted = 6, } impl DateRangeError { @@ -4986,25 +4986,25 @@ pub mod date_range_error_enum { } } } -// Proto file describing distinct errors. +// Proto file describing distinct errors. -/// Container for enum describing possible distinct errors. +/// Container for enum describing possible distinct errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistinctErrorEnum { } /// Nested message and enum types in `DistinctErrorEnum`. pub mod distinct_error_enum { - /// Enum describing possible distinct errors. + /// Enum describing possible distinct errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistinctError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate element. + /// Duplicate element. DuplicateElement = 2, - /// Duplicate type. + /// Duplicate type. DuplicateType = 3, } impl DistinctError { @@ -5022,23 +5022,23 @@ pub mod distinct_error_enum { } } } -// Proto file describing enum errors. +// Proto file describing enum errors. -/// Container for enum describing possible enum errors. +/// Container for enum describing possible enum errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumErrorEnum { } /// Nested message and enum types in `EnumErrorEnum`. pub mod enum_error_enum { - /// Enum describing possible enum errors. + /// Enum describing possible enum errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnumError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The enum value is not permitted. + /// The enum value is not permitted. EnumValueNotPermitted = 3, } impl EnumError { @@ -5055,51 +5055,51 @@ pub mod enum_error_enum { } } } -// Proto file describing experiment arm errors. +// Proto file describing experiment arm errors. -/// Container for enum describing possible experiment arm error. +/// Container for enum describing possible experiment arm error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArmErrorEnum { } /// Nested message and enum types in `ExperimentArmErrorEnum`. pub mod experiment_arm_error_enum { - /// Enum describing possible experiment arm errors. + /// Enum describing possible experiment arm errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentArmError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Number of experiment arms is above limit. + /// Number of experiment arms is above limit. ExperimentArmCountLimitExceeded = 2, - /// Cannot add campaign with invalid status to the experiment arm. + /// Cannot add campaign with invalid status to the experiment arm. InvalidCampaignStatus = 3, - /// Cannot add duplicate experiment arm name in one experiment. + /// Cannot add duplicate experiment arm name in one experiment. DuplicateExperimentArmName = 4, - /// Cannot set campaigns of treatment experiment arm. + /// Cannot set campaigns of treatment experiment arm. CannotSetTreatmentArmCampaign = 5, - /// Cannot edit campaign ids in trial arms in non SETUP experiment. + /// Cannot edit campaign ids in trial arms in non SETUP experiment. CannotModifyCampaignIds = 6, - /// Cannot modify the campaigns in the control arm - /// if there is not a suffix set in the trial. + /// Cannot modify the campaigns in the control arm + /// if there is not a suffix set in the trial. CannotModifyCampaignWithoutSuffixSet = 7, - /// Traffic split related settings (like traffic share bounds) can't be - /// modified after the trial has started. + /// Traffic split related settings (like traffic share bounds) can't be + /// modified after the trial has started. CannotMutateTrafficSplitAfterStart = 8, - /// Cannot use shared budget on experiment's control campaign. + /// Cannot use shared budget on experiment's control campaign. CannotAddCampaignWithSharedBudget = 9, - /// Cannot use custom budget on experiment's control campaigns. + /// Cannot use custom budget on experiment's control campaigns. CannotAddCampaignWithCustomBudget = 10, - /// Cannot have enable_dynamic_assets turned on in experiment's campaigns. + /// Cannot have enable_dynamic_assets turned on in experiment's campaigns. CannotAddCampaignsWithDynamicAssetsEnabled = 11, - /// Cannot use campaign's advertising channel sub type in experiment. + /// Cannot use campaign's advertising channel sub type in experiment. UnsupportedCampaignAdvertisingChannelSubType = 12, - /// Experiment date range must be within base campaign's date range. + /// Experiment date range must be within base campaign's date range. CannotAddBaseCampaignWithDateRange = 13, - /// Bidding strategy is not supported in experiments. + /// Bidding strategy is not supported in experiments. BiddingStrategyNotSupportedInExperiments = 14, - /// Traffic split is not supported for some channel types. + /// Traffic split is not supported for some channel types. TrafficSplitNotSupportedForChannelType = 15, } impl ExperimentArmError { @@ -5129,75 +5129,75 @@ pub mod experiment_arm_error_enum { } } } -// Proto file describing experiment errors. +// Proto file describing experiment errors. -/// Container for enum describing possible experiment error. +/// Container for enum describing possible experiment error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentErrorEnum { } /// Nested message and enum types in `ExperimentErrorEnum`. pub mod experiment_error_enum { - /// Enum describing possible experiment errors. + /// Enum describing possible experiment errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExperimentError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The start date of an experiment cannot be set in the past. - /// Use a start date in the future. + /// The start date of an experiment cannot be set in the past. + /// Use a start date in the future. CannotSetStartDateInPast = 2, - /// The end date of an experiment is before its start date. - /// Use an end date after the start date. + /// The end date of an experiment is before its start date. + /// Use an end date after the start date. EndDateBeforeStartDate = 3, - /// The start date of an experiment is too far in the future. - /// Use a start date no more than 1 year in the future. + /// The start date of an experiment is too far in the future. + /// Use a start date no more than 1 year in the future. StartDateTooFarInFuture = 4, - /// The experiment has the same name as an existing active experiment. + /// The experiment has the same name as an existing active experiment. DuplicateExperimentName = 5, - /// Experiments can only be modified when they are ENABLED. + /// Experiments can only be modified when they are ENABLED. CannotModifyRemovedExperiment = 6, - /// The start date of an experiment cannot be modified if the existing start - /// date has already passed. + /// The start date of an experiment cannot be modified if the existing start + /// date has already passed. StartDateAlreadyPassed = 7, - /// The end date of an experiment cannot be set in the past. + /// The end date of an experiment cannot be set in the past. CannotSetEndDateInPast = 8, - /// The status of an experiment cannot be set to REMOVED. + /// The status of an experiment cannot be set to REMOVED. CannotSetStatusToRemoved = 9, - /// The end date of an expired experiment cannot be modified. + /// The end date of an expired experiment cannot be modified. CannotModifyPastEndDate = 10, - /// The status is invalid. + /// The status is invalid. InvalidStatus = 11, - /// Experiment arm contains campaigns with invalid advertising channel type. + /// Experiment arm contains campaigns with invalid advertising channel type. InvalidCampaignChannelType = 12, - /// A pair of trials share members and have overlapping date ranges. + /// A pair of trials share members and have overlapping date ranges. OverlappingMembersAndDateRange = 13, - /// Experiment arm contains invalid traffic split. + /// Experiment arm contains invalid traffic split. InvalidTrialArmTrafficSplit = 14, - /// Experiment contains trial arms with overlapping traffic split. + /// Experiment contains trial arms with overlapping traffic split. TrafficSplitOverlapping = 15, - /// The total traffic split of trial arms is not equal to 100. + /// The total traffic split of trial arms is not equal to 100. SumTrialArmTrafficUnequalsToTrialTrafficSplitDenominator = 16, - /// Traffic split related settings (like traffic share bounds) can't be - /// modified after the experiment has started. + /// Traffic split related settings (like traffic share bounds) can't be + /// modified after the experiment has started. CannotModifyTrafficSplitAfterStart = 17, - /// The experiment could not be found. + /// The experiment could not be found. ExperimentNotFound = 18, - /// Experiment has not begun. + /// Experiment has not begun. ExperimentNotYetStarted = 19, - /// The experiment cannot have more than one control arm. + /// The experiment cannot have more than one control arm. CannotHaveMultipleControlArms = 20, - /// The experiment doesn't set in-design campaigns. + /// The experiment doesn't set in-design campaigns. InDesignCampaignsNotSet = 21, - /// Clients must use the graduate action to graduate experiments and cannot - /// set the status to GRADUATED directly. + /// Clients must use the graduate action to graduate experiments and cannot + /// set the status to GRADUATED directly. CannotSetStatusToGraduated = 22, - /// Cannot use shared budget on base campaign when scheduling an experiment. + /// Cannot use shared budget on base campaign when scheduling an experiment. CannotCreateExperimentCampaignWithSharedBudget = 23, - /// Cannot use custom budget on base campaign when scheduling an experiment. + /// Cannot use custom budget on base campaign when scheduling an experiment. CannotCreateExperimentCampaignWithCustomBudget = 24, - /// Invalid status transition. + /// Invalid status transition. StatusTransitionInvalid = 25, } impl ExperimentError { @@ -5237,127 +5237,127 @@ pub mod experiment_error_enum { } } } -// Proto file describing extension feed item errors. +// Proto file describing extension feed item errors. -/// Container for enum describing possible extension feed item error. +/// Container for enum describing possible extension feed item error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemErrorEnum { } /// Nested message and enum types in `ExtensionFeedItemErrorEnum`. pub mod extension_feed_item_error_enum { - /// Enum describing possible extension feed item errors. + /// Enum describing possible extension feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionFeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 2, - /// Url list is too long. + /// Url list is too long. UrlListTooLong = 3, - /// Cannot have a geo targeting restriction without having geo targeting. + /// Cannot have a geo targeting restriction without having geo targeting. CannotHaveRestrictionOnEmptyGeoTargeting = 4, - /// Cannot simultaneously set sitelink field with final urls. + /// Cannot simultaneously set sitelink field with final urls. CannotSetWithFinalUrls = 5, - /// Must set field with final urls. + /// Must set field with final urls. CannotSetWithoutFinalUrls = 6, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 7, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 8, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 9, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 10, - /// Phone number type for a call extension is not allowed. - /// For example, personal number is not allowed for a call extension in - /// most regions. + /// Phone number type for a call extension is not allowed. + /// For example, personal number is not allowed for a call extension in + /// most regions. DisallowedNumberType = 11, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 12, - /// Vanity phone numbers (for example, those including letters) are not - /// allowed for call extensions. + /// Vanity phone numbers (for example, those including letters) are not + /// allowed for call extensions. VanityPhoneNumberNotAllowed = 13, - /// Call conversion action provided for a call extension is invalid. + /// Call conversion action provided for a call extension is invalid. InvalidCallConversionAction = 14, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotOnAllowlistForCalltracking = 47, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 16, - /// Customer hasn't consented for call recording, which is required for - /// creating/updating call feed items. See - /// + /// Customer hasn't consented for call recording, which is required for + /// creating/updating call feed items. See + /// CustomerConsentForCallRecordingRequired = 17, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 18, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 19, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 20, - /// A denylisted review source name or url was provided for a review - /// extension. + /// A denylisted review source name or url was provided for a review + /// extension. ReviewExtensionSourceIneligible = 21, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 22, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 23, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 24, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 25, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 26, - /// Price extension has too many items. + /// Price extension has too many items. PriceExtensionHasTooManyItems = 27, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 28, - /// The input value is not currently supported in the selected language of an - /// extension. + /// The input value is not currently supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 29, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 30, - /// Invalid feed item schedule end time (for example, endHour = 24 and - /// endMinute != 0). + /// Invalid feed item schedule end time (for example, endHour = 24 and + /// endMinute != 0). InvalidScheduleEnd = 31, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 32, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 33, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 34, - /// Phone number not supported when call tracking enabled for country. + /// Phone number not supported when call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 35, - /// Cannot set call_conversion_action while call_conversion_tracking_enabled - /// is set to true. + /// Cannot set call_conversion_action while call_conversion_tracking_enabled + /// is set to true. ConflictingCallConversionSettings = 36, - /// The type of the input extension feed item doesn't match the existing - /// extension feed item. + /// The type of the input extension feed item doesn't match the existing + /// extension feed item. ExtensionTypeMismatch = 37, - /// The oneof field extension for example, subtype of extension feed item is - /// required. + /// The oneof field extension for example, subtype of extension feed item is + /// required. ExtensionSubtypeRequired = 38, - /// The referenced feed item is not mapped to a supported extension type. + /// The referenced feed item is not mapped to a supported extension type. ExtensionTypeUnsupported = 39, - /// Cannot operate on a Feed with more than one active FeedMapping. + /// Cannot operate on a Feed with more than one active FeedMapping. CannotOperateOnFeedWithMultipleMappings = 40, - /// Cannot operate on a Feed that has key attributes. + /// Cannot operate on a Feed that has key attributes. CannotOperateOnFeedWithKeyAttributes = 41, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 42, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 43, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 44, - /// Concrete sub type of ExtensionFeedItem is required for this operation. + /// Concrete sub type of ExtensionFeedItem is required for this operation. ConcreteExtensionTypeRequired = 45, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 46, } impl ExtensionFeedItemError { @@ -5418,173 +5418,173 @@ pub mod extension_feed_item_error_enum { } } } -// Proto file describing extension setting validation errors. +// Proto file describing extension setting validation errors. -/// Container for enum describing validation errors of extension settings. +/// Container for enum describing validation errors of extension settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingErrorEnum { } /// Nested message and enum types in `ExtensionSettingErrorEnum`. pub mod extension_setting_error_enum { - /// Enum describing possible extension setting errors. + /// Enum describing possible extension setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A platform restriction was provided without input extensions or existing - /// extensions. + /// A platform restriction was provided without input extensions or existing + /// extensions. ExtensionsRequired = 2, - /// The provided feed type does not correspond to the provided extensions. + /// The provided feed type does not correspond to the provided extensions. FeedTypeExtensionTypeMismatch = 3, - /// The provided feed type cannot be used. + /// The provided feed type cannot be used. InvalidFeedType = 4, - /// The provided feed type cannot be used at the customer level. + /// The provided feed type cannot be used at the customer level. InvalidFeedTypeForCustomerExtensionSetting = 5, - /// Cannot change a feed item field on a CREATE operation. + /// Cannot change a feed item field on a CREATE operation. CannotChangeFeedItemOnCreate = 6, - /// Cannot update an extension that is not already in this setting. + /// Cannot update an extension that is not already in this setting. CannotUpdateNewlyCreatedExtension = 7, - /// There is no existing AdGroupExtensionSetting for this type. + /// There is no existing AdGroupExtensionSetting for this type. NoExistingAdGroupExtensionSettingForType = 8, - /// There is no existing CampaignExtensionSetting for this type. + /// There is no existing CampaignExtensionSetting for this type. NoExistingCampaignExtensionSettingForType = 9, - /// There is no existing CustomerExtensionSetting for this type. + /// There is no existing CustomerExtensionSetting for this type. NoExistingCustomerExtensionSettingForType = 10, - /// The AdGroupExtensionSetting already exists. UPDATE should be used to - /// modify the existing AdGroupExtensionSetting. + /// The AdGroupExtensionSetting already exists. UPDATE should be used to + /// modify the existing AdGroupExtensionSetting. AdGroupExtensionSettingAlreadyExists = 11, - /// The CampaignExtensionSetting already exists. UPDATE should be used to - /// modify the existing CampaignExtensionSetting. + /// The CampaignExtensionSetting already exists. UPDATE should be used to + /// modify the existing CampaignExtensionSetting. CampaignExtensionSettingAlreadyExists = 12, - /// The CustomerExtensionSetting already exists. UPDATE should be used to - /// modify the existing CustomerExtensionSetting. + /// The CustomerExtensionSetting already exists. UPDATE should be used to + /// modify the existing CustomerExtensionSetting. CustomerExtensionSettingAlreadyExists = 13, - /// An active ad group feed already exists for this place holder type. + /// An active ad group feed already exists for this place holder type. AdGroupFeedAlreadyExistsForPlaceholderType = 14, - /// An active campaign feed already exists for this place holder type. + /// An active campaign feed already exists for this place holder type. CampaignFeedAlreadyExistsForPlaceholderType = 15, - /// An active customer feed already exists for this place holder type. + /// An active customer feed already exists for this place holder type. CustomerFeedAlreadyExistsForPlaceholderType = 16, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 17, - /// Cannot simultaneously set specified field with final urls. + /// Cannot simultaneously set specified field with final urls. CannotSetFieldWithFinalUrls = 18, - /// Must set field with final urls. + /// Must set field with final urls. FinalUrlsNotSet = 19, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 20, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 21, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 22, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 23, - /// Phone number type for a call extension is not allowed. + /// Phone number type for a call extension is not allowed. DisallowedNumberType = 24, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 25, - /// Vanity phone numbers (for example, those including letters) are not - /// allowed for call extensions. + /// Vanity phone numbers (for example, those including letters) are not + /// allowed for call extensions. VanityPhoneNumberNotAllowed = 26, - /// Country code provided for a call extension is invalid. + /// Country code provided for a call extension is invalid. InvalidCountryCode = 27, - /// Call conversion type id provided for a call extension is invalid. + /// Call conversion type id provided for a call extension is invalid. InvalidCallConversionTypeId = 28, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotInAllowlistForCalltracking = 69, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 30, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 31, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 32, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 33, - /// A blocked review source name or url was provided for a review - /// extension. + /// A blocked review source name or url was provided for a review + /// extension. ReviewExtensionSourceNotEligible = 34, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 35, - /// Field must be set. + /// Field must be set. MissingField = 36, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 37, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 38, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 39, - /// Price extension has too few items + /// Price extension has too few items PriceExtensionHasTooFewItems = 40, - /// Price extension has too many items + /// Price extension has too many items PriceExtensionHasTooManyItems = 41, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 42, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 43, - /// Invalid feed item schedule end time (for example, endHour = 24 and - /// endMinute != 0). + /// Invalid feed item schedule end time (for example, endHour = 24 and + /// endMinute != 0). InvalidScheduleEnd = 45, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 47, - /// Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are - /// not allowed. + /// Overlapping feed item schedule times (for example, 7-10AM and 8-11AM) are + /// not allowed. OverlappingSchedulesNotAllowed = 48, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 49, - /// There are too many feed item schedules per day. + /// There are too many feed item schedules per day. TooManySchedulesPerDay = 50, - /// Cannot edit the same extension feed item more than once in the same - /// request. + /// Cannot edit the same extension feed item more than once in the same + /// request. DuplicateExtensionFeedItemEdit = 51, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 52, - /// Phone number with call tracking enabled is not supported for the - /// specified country. + /// Phone number with call tracking enabled is not supported for the + /// specified country. PhoneNumberNotSupportedWithCalltrackingForCountry = 53, - /// The targeted adgroup must belong to the targeted campaign. + /// The targeted adgroup must belong to the targeted campaign. CampaignTargetingMismatch = 54, - /// The feed used by the ExtensionSetting is removed and cannot be operated - /// on. Remove the ExtensionSetting to allow a new one to be created using - /// an active feed. + /// The feed used by the ExtensionSetting is removed and cannot be operated + /// on. Remove the ExtensionSetting to allow a new one to be created using + /// an active feed. CannotOperateOnRemovedFeed = 55, - /// The ExtensionFeedItem type is required for this operation. + /// The ExtensionFeedItem type is required for this operation. ExtensionTypeRequired = 56, - /// The matching function that links the extension feed to the customer, - /// campaign, or ad group is not compatible with the ExtensionSetting - /// services. + /// The matching function that links the extension feed to the customer, + /// campaign, or ad group is not compatible with the ExtensionSetting + /// services. IncompatibleUnderlyingMatchingFunction = 57, - /// Start date must be before end date. + /// Start date must be before end date. StartDateAfterEndDate = 58, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 59, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 60, - /// Cannot set both percent discount and money discount fields. + /// Cannot set both percent discount and money discount fields. PromotionCannotSetPercentDiscountAndMoneyDiscount = 61, - /// Cannot set both promotion code and orders over amount fields. + /// Cannot set both promotion code and orders over amount fields. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 62, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 63, - /// The language code is not valid. + /// The language code is not valid. InvalidLanguageCode = 64, - /// The language is not supported. + /// The language is not supported. UnsupportedLanguage = 65, - /// Customer hasn't consented for call recording, which is required for - /// adding/updating call extensions. See - /// + /// Customer hasn't consented for call recording, which is required for + /// adding/updating call extensions. See + /// CustomerConsentForCallRecordingRequired = 66, - /// The UPDATE operation does not specify any fields other than the resource - /// name in the update mask. + /// The UPDATE operation does not specify any fields other than the resource + /// name in the update mask. ExtensionSettingUpdateIsANoop = 67, - /// The extension contains text which has been prohibited on policy grounds. + /// The extension contains text which has been prohibited on policy grounds. DisallowedText = 68, } impl ExtensionSettingError { @@ -5665,27 +5665,27 @@ pub mod extension_setting_error_enum { } } } -// Proto file describing feed attribute reference errors. +// Proto file describing feed attribute reference errors. -/// Container for enum describing possible feed attribute reference errors. +/// Container for enum describing possible feed attribute reference errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeReferenceErrorEnum { } /// Nested message and enum types in `FeedAttributeReferenceErrorEnum`. pub mod feed_attribute_reference_error_enum { - /// Enum describing possible feed attribute reference errors. + /// Enum describing possible feed attribute reference errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeReferenceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A feed referenced by ID has been removed. + /// A feed referenced by ID has been removed. CannotReferenceRemovedFeed = 2, - /// There is no enabled feed with the given name. + /// There is no enabled feed with the given name. InvalidFeedName = 3, - /// There is no feed attribute in an enabled feed with the given name. + /// There is no feed attribute in an enabled feed with the given name. InvalidFeedAttributeName = 4, } impl FeedAttributeReferenceError { @@ -5704,68 +5704,68 @@ pub mod feed_attribute_reference_error_enum { } } } -// Proto file describing feed errors. +// Proto file describing feed errors. -/// Container for enum describing possible feed errors. +/// Container for enum describing possible feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedErrorEnum { } /// Nested message and enum types in `FeedErrorEnum`. pub mod feed_error_enum { - /// Enum describing possible feed errors. + /// Enum describing possible feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The names of the FeedAttributes must be unique. + /// The names of the FeedAttributes must be unique. AttributeNamesNotUnique = 2, - /// The attribute list must be an exact copy of the existing list if the - /// attribute ID's are present. + /// The attribute list must be an exact copy of the existing list if the + /// attribute ID's are present. AttributesDoNotMatchExistingAttributes = 3, - /// Cannot specify USER origin for a system generated feed. + /// Cannot specify USER origin for a system generated feed. CannotSpecifyUserOriginForSystemFeed = 4, - /// Cannot specify GOOGLE origin for a non-system generated feed. + /// Cannot specify GOOGLE origin for a non-system generated feed. CannotSpecifyGoogleOriginForNonSystemFeed = 5, - /// Cannot specify feed attributes for system feed. + /// Cannot specify feed attributes for system feed. CannotSpecifyFeedAttributesForSystemFeed = 6, - /// Cannot update FeedAttributes on feed with origin GOOGLE. + /// Cannot update FeedAttributes on feed with origin GOOGLE. CannotUpdateFeedAttributesWithOriginGoogle = 7, - /// The given ID refers to a removed Feed. Removed Feeds are immutable. + /// The given ID refers to a removed Feed. Removed Feeds are immutable. FeedRemoved = 8, - /// The origin of the feed is not valid for the client. + /// The origin of the feed is not valid for the client. InvalidOriginValue = 9, - /// A user can only create and modify feeds with USER origin. + /// A user can only create and modify feeds with USER origin. FeedOriginIsNotUser = 10, - /// Invalid auth token for the given email. + /// Invalid auth token for the given email. InvalidAuthTokenForEmail = 11, - /// Invalid email specified. + /// Invalid email specified. InvalidEmail = 12, - /// Feed name matches that of another active Feed. + /// Feed name matches that of another active Feed. DuplicateFeedName = 13, - /// Name of feed is not allowed. + /// Name of feed is not allowed. InvalidFeedName = 14, - /// Missing OAuthInfo. + /// Missing OAuthInfo. MissingOauthInfo = 15, - /// New FeedAttributes must not affect the unique key. + /// New FeedAttributes must not affect the unique key. NewAttributeCannotBePartOfUniqueKey = 16, - /// Too many FeedAttributes for a Feed. + /// Too many FeedAttributes for a Feed. TooManyAttributes = 17, - /// The business account is not valid. + /// The business account is not valid. InvalidBusinessAccount = 18, - /// Business account cannot access Business Profile. + /// Business account cannot access Business Profile. BusinessAccountCannotAccessLocationAccount = 19, - /// Invalid chain ID provided for affiliate location feed. + /// Invalid chain ID provided for affiliate location feed. InvalidAffiliateChainId = 20, - /// There is already a feed with the given system feed generation data. + /// There is already a feed with the given system feed generation data. DuplicateSystemFeed = 21, - /// An error occurred accessing Business Profile. + /// An error occurred accessing Business Profile. GmbAccessError = 22, - /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. + /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. CannotHaveLocationAndAffiliateLocationFeeds = 23, - /// Feed-based extension is read-only for this extension type. + /// Feed-based extension is read-only for this extension type. LegacyExtensionTypeReadOnly = 24, } impl FeedError { @@ -5804,39 +5804,39 @@ pub mod feed_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemErrorEnum { } /// Nested message and enum types in `FeedItemErrorEnum`. pub mod feed_item_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot convert the feed attribute value from string to its real type. + /// Cannot convert the feed attribute value from string to its real type. CannotConvertAttributeValueFromString = 2, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 3, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 4, - /// Feed item with the key attributes could not be found. + /// Feed item with the key attributes could not be found. KeyAttributesNotFound = 5, - /// Url feed attribute value is not valid. + /// Url feed attribute value is not valid. InvalidUrl = 6, - /// Some key attributes are missing. + /// Some key attributes are missing. MissingKeyAttributes = 7, - /// Feed item has same key attributes as another feed item. + /// Feed item has same key attributes as another feed item. KeyAttributesNotUnique = 8, - /// Cannot modify key attributes on an existing feed item. + /// Cannot modify key attributes on an existing feed item. CannotModifyKeyAttributeValue = 9, - /// The feed attribute value is too large. + /// The feed attribute value is too large. SizeTooLargeForMultiValueAttribute = 10, } impl FeedItemError { @@ -5861,41 +5861,41 @@ pub mod feed_item_error_enum { } } } -// Proto file describing feed item set errors. +// Proto file describing feed item set errors. -/// Container for enum describing possible feed item set errors. +/// Container for enum describing possible feed item set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetErrorEnum { } /// Nested message and enum types in `FeedItemSetErrorEnum`. pub mod feed_item_set_error_enum { - /// Enum describing possible feed item set errors. + /// Enum describing possible feed item set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given ID refers to a removed FeedItemSet. + /// The given ID refers to a removed FeedItemSet. FeedItemSetRemoved = 2, - /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it - /// exists. A set is either static or dynamic once added, and that cannot - /// change. + /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it + /// exists. A set is either static or dynamic once added, and that cannot + /// change. CannotClearDynamicFilter = 3, - /// The dynamic filter of a feed item set cannot be created on UPDATE if it - /// does not exist. A set is either static or dynamic once added, and that - /// cannot change. + /// The dynamic filter of a feed item set cannot be created on UPDATE if it + /// does not exist. A set is either static or dynamic once added, and that + /// cannot change. CannotCreateDynamicFilter = 4, - /// FeedItemSets can only be made for location or affiliate location feeds. + /// FeedItemSets can only be made for location or affiliate location feeds. InvalidFeedType = 5, - /// FeedItemSets duplicate name. Name should be unique within an account. + /// FeedItemSets duplicate name. Name should be unique within an account. DuplicateName = 6, - /// The feed type of the parent Feed is not compatible with the type of - /// dynamic filter being set. For example, you can only set - /// dynamic_location_set_filter for LOCATION feed item sets. + /// The feed type of the parent Feed is not compatible with the type of + /// dynamic filter being set. For example, you can only set + /// dynamic_location_set_filter for LOCATION feed item sets. WrongDynamicFilterForFeedType = 7, - /// Chain ID specified for AffiliateLocationFeedData is invalid. + /// Chain ID specified for AffiliateLocationFeedData is invalid. DynamicFilterInvalidChainIds = 8, } impl FeedItemSetError { @@ -5918,26 +5918,26 @@ pub mod feed_item_set_error_enum { } } } -// Proto file describing feed item set link errors. +// Proto file describing feed item set link errors. -/// Container for enum describing possible feed item set link errors. +/// Container for enum describing possible feed item set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkErrorEnum { } /// Nested message and enum types in `FeedItemSetLinkErrorEnum`. pub mod feed_item_set_link_error_enum { - /// Enum describing possible feed item set link errors. + /// Enum describing possible feed item set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - /// in a given Feed can be linked to a FeedItemSet in that Feed. + /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems + /// in a given Feed can be linked to a FeedItemSet in that Feed. FeedIdMismatch = 2, - /// Cannot add or remove links to a dynamic set. + /// Cannot add or remove links to a dynamic set. NoMutateAllowedForDynamicSet = 3, } impl FeedItemSetLinkError { @@ -5955,39 +5955,39 @@ pub mod feed_item_set_link_error_enum { } } } -// Proto file describing feed item target errors. +// Proto file describing feed item target errors. -/// Container for enum describing possible feed item target errors. +/// Container for enum describing possible feed item target errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetErrorEnum { } /// Nested message and enum types in `FeedItemTargetErrorEnum`. pub mod feed_item_target_error_enum { - /// Enum describing possible feed item target errors. + /// Enum describing possible feed item target errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// On CREATE, the FeedItemTarget must have a populated field in the oneof - /// target. + /// On CREATE, the FeedItemTarget must have a populated field in the oneof + /// target. MustSetTargetOneofOnCreate = 2, - /// The specified feed item target already exists, so it cannot be added. + /// The specified feed item target already exists, so it cannot be added. FeedItemTargetAlreadyExists = 3, - /// The schedules for a given feed item cannot overlap. + /// The schedules for a given feed item cannot overlap. FeedItemSchedulesCannotOverlap = 4, - /// Too many targets of a given type were added for a single feed item. + /// Too many targets of a given type were added for a single feed item. TargetLimitExceededForGivenType = 5, - /// Too many AdSchedules are enabled for the feed item for the given day. + /// Too many AdSchedules are enabled for the feed item for the given day. TooManySchedulesPerDay = 6, - /// A feed item may either have an enabled campaign target or an enabled ad - /// group target. + /// A feed item may either have an enabled campaign target or an enabled ad + /// group target. CannotHaveEnabledCampaignAndEnabledAdGroupTargets = 7, - /// Duplicate ad schedules aren't allowed. + /// Duplicate ad schedules aren't allowed. DuplicateAdSchedule = 8, - /// Duplicate keywords aren't allowed. + /// Duplicate keywords aren't allowed. DuplicateKeyword = 9, } impl FeedItemTargetError { @@ -6011,249 +6011,249 @@ pub mod feed_item_target_error_enum { } } } -// Proto file describing feed item validation errors. +// Proto file describing feed item validation errors. -/// Container for enum describing possible validation errors of a feed item. +/// Container for enum describing possible validation errors of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationErrorEnum { } /// Nested message and enum types in `FeedItemValidationErrorEnum`. pub mod feed_item_validation_error_enum { - /// The possible validation errors of a feed item. + /// The possible validation errors of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationError { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// String is too short. + /// String is too short. StringTooShort = 2, - /// String is too long. + /// String is too long. StringTooLong = 3, - /// Value is not provided. + /// Value is not provided. ValueNotSpecified = 4, - /// Phone number format is invalid for region. + /// Phone number format is invalid for region. InvalidDomesticPhoneNumberFormat = 5, - /// String does not represent a phone number. + /// String does not represent a phone number. InvalidPhoneNumber = 6, - /// Phone number format is not compatible with country code. + /// Phone number format is not compatible with country code. PhoneNumberNotSupportedForCountry = 7, - /// Premium rate number is not allowed. + /// Premium rate number is not allowed. PremiumRateNumberNotAllowed = 8, - /// Phone number type is not allowed. + /// Phone number type is not allowed. DisallowedNumberType = 9, - /// Specified value is outside of the valid range. + /// Specified value is outside of the valid range. ValueOutOfRange = 10, - /// Call tracking is not supported in the selected country. + /// Call tracking is not supported in the selected country. CalltrackingNotSupportedForCountry = 11, - /// Customer is not on the allow-list for call tracking. + /// Customer is not on the allow-list for call tracking. CustomerNotInAllowlistForCalltracking = 99, - /// Country code is invalid. + /// Country code is invalid. InvalidCountryCode = 13, - /// The specified mobile app id is invalid. + /// The specified mobile app id is invalid. InvalidAppId = 14, - /// Some required field attributes are missing. + /// Some required field attributes are missing. MissingAttributesForFields = 15, - /// Invalid email button type for email extension. + /// Invalid email button type for email extension. InvalidTypeId = 16, - /// Email address is invalid. + /// Email address is invalid. InvalidEmailAddress = 17, - /// The HTTPS URL in email extension is invalid. + /// The HTTPS URL in email extension is invalid. InvalidHttpsUrl = 18, - /// Delivery address is missing from email extension. + /// Delivery address is missing from email extension. MissingDeliveryAddress = 19, - /// FeedItem scheduling start date comes after end date. + /// FeedItem scheduling start date comes after end date. StartDateAfterEndDate = 20, - /// FeedItem scheduling start time is missing. + /// FeedItem scheduling start time is missing. MissingFeedItemStartTime = 21, - /// FeedItem scheduling end time is missing. + /// FeedItem scheduling end time is missing. MissingFeedItemEndTime = 22, - /// Cannot compute system attributes on a FeedItem that has no FeedItemId. + /// Cannot compute system attributes on a FeedItem that has no FeedItemId. MissingFeedItemId = 23, - /// Call extension vanity phone numbers are not supported. + /// Call extension vanity phone numbers are not supported. VanityPhoneNumberNotAllowed = 24, - /// Invalid review text. + /// Invalid review text. InvalidReviewExtensionSnippet = 25, - /// Invalid format for numeric value in ad parameter. + /// Invalid format for numeric value in ad parameter. InvalidNumberFormat = 26, - /// Invalid format for date value in ad parameter. + /// Invalid format for date value in ad parameter. InvalidDateFormat = 27, - /// Invalid format for price value in ad parameter. + /// Invalid format for price value in ad parameter. InvalidPriceFormat = 28, - /// Unrecognized type given for value in ad parameter. + /// Unrecognized type given for value in ad parameter. UnknownPlaceholderField = 29, - /// Enhanced sitelinks must have both description lines specified. + /// Enhanced sitelinks must have both description lines specified. MissingEnhancedSitelinkDescriptionLine = 30, - /// Review source is ineligible. + /// Review source is ineligible. ReviewExtensionSourceIneligible = 31, - /// Review text cannot contain hyphens or dashes. + /// Review text cannot contain hyphens or dashes. HyphensInReviewExtensionSnippet = 32, - /// Review text cannot contain double quote characters. + /// Review text cannot contain double quote characters. DoubleQuotesInReviewExtensionSnippet = 33, - /// Review text cannot contain quote characters. + /// Review text cannot contain quote characters. QuotesInReviewExtensionSnippet = 34, - /// Parameters are encoded in the wrong format. + /// Parameters are encoded in the wrong format. InvalidFormEncodedParams = 35, - /// URL parameter name must contain only letters, numbers, underscores, and - /// dashes. + /// URL parameter name must contain only letters, numbers, underscores, and + /// dashes. InvalidUrlParameterName = 36, - /// Cannot find address location. + /// Cannot find address location. NoGeocodingResult = 37, - /// Review extension text has source name. + /// Review extension text has source name. SourceNameInReviewExtensionText = 38, - /// Some phone numbers can be shorter than usual. Some of these short numbers - /// are carrier-specific, and we disallow those in ad extensions because they - /// will not be available to all users. + /// Some phone numbers can be shorter than usual. Some of these short numbers + /// are carrier-specific, and we disallow those in ad extensions because they + /// will not be available to all users. CarrierSpecificShortNumberNotAllowed = 39, - /// Triggered when a request references a placeholder field id that does not - /// exist. + /// Triggered when a request references a placeholder field id that does not + /// exist. InvalidPlaceholderFieldId = 40, - /// URL contains invalid ValueTrack tags or format. + /// URL contains invalid ValueTrack tags or format. InvalidUrlTag = 41, - /// Provided list exceeds acceptable size. + /// Provided list exceeds acceptable size. ListTooLong = 42, - /// Certain combinations of attributes aren't allowed to be specified in the - /// same feed item. + /// Certain combinations of attributes aren't allowed to be specified in the + /// same feed item. InvalidAttributesCombination = 43, - /// An attribute has the same value repeatedly. + /// An attribute has the same value repeatedly. DuplicateValues = 44, - /// Advertisers can link a conversion action with a phone number to indicate - /// that sufficiently long calls forwarded to that phone number should be - /// counted as conversions of the specified type. This is an error message - /// indicating that the conversion action specified is invalid (for example, - /// the conversion action does not exist within the appropriate Google Ads - /// account, or it is a type of conversion not appropriate to phone call - /// conversions). + /// Advertisers can link a conversion action with a phone number to indicate + /// that sufficiently long calls forwarded to that phone number should be + /// counted as conversions of the specified type. This is an error message + /// indicating that the conversion action specified is invalid (for example, + /// the conversion action does not exist within the appropriate Google Ads + /// account, or it is a type of conversion not appropriate to phone call + /// conversions). InvalidCallConversionActionId = 45, - /// Tracking template requires final url to be set. + /// Tracking template requires final url to be set. CannotSetWithoutFinalUrls = 46, - /// An app id was provided that doesn't exist in the given app store. + /// An app id was provided that doesn't exist in the given app store. AppIdDoesntExistInAppStore = 47, - /// Invalid U2 final url. + /// Invalid U2 final url. InvalidFinalUrl = 48, - /// Invalid U2 tracking url. + /// Invalid U2 tracking url. InvalidTrackingUrl = 49, - /// Final URL should start from App download URL. + /// Final URL should start from App download URL. InvalidFinalUrlForAppDownloadUrl = 50, - /// List provided is too short. + /// List provided is too short. ListTooShort = 51, - /// User Action field has invalid value. + /// User Action field has invalid value. InvalidUserAction = 52, - /// Type field has invalid value. + /// Type field has invalid value. InvalidTypeName = 53, - /// Change status for event is invalid. + /// Change status for event is invalid. InvalidEventChangeStatus = 54, - /// The header of a structured snippets extension is not one of the valid - /// headers. + /// The header of a structured snippets extension is not one of the valid + /// headers. InvalidSnippetsHeader = 55, - /// Android app link is not formatted correctly + /// Android app link is not formatted correctly InvalidAndroidAppLink = 56, - /// Phone number incompatible with call tracking for country. + /// Phone number incompatible with call tracking for country. NumberTypeWithCalltrackingNotSupportedForCountry = 57, - /// The input is identical to a reserved keyword + /// The input is identical to a reserved keyword ReservedKeywordOther = 58, - /// Each option label in the message extension must be unique. + /// Each option label in the message extension must be unique. DuplicateOptionLabels = 59, - /// Each option prefill in the message extension must be unique. + /// Each option prefill in the message extension must be unique. DuplicateOptionPrefills = 60, - /// In message extensions, the number of optional labels and optional - /// prefills must be the same. + /// In message extensions, the number of optional labels and optional + /// prefills must be the same. UnequalListLengths = 61, - /// All currency codes in an ad extension must be the same. + /// All currency codes in an ad extension must be the same. InconsistentCurrencyCodes = 62, - /// Headers in price extension are not unique. + /// Headers in price extension are not unique. PriceExtensionHasDuplicatedHeaders = 63, - /// Header and description in an item are the same. + /// Header and description in an item are the same. ItemHasDuplicatedHeaderAndDescription = 64, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 65, - /// The given value is not supported. + /// The given value is not supported. UnsupportedValue = 66, - /// Invalid final mobile url. + /// Invalid final mobile url. InvalidFinalMobileUrl = 67, - /// The given string value of Label contains invalid characters + /// The given string value of Label contains invalid characters InvalidKeywordlessAdRuleLabel = 68, - /// The given URL contains value track parameters. + /// The given URL contains value track parameters. ValueTrackParameterNotSupported = 69, - /// The given value is not supported in the selected language of an - /// extension. + /// The given value is not supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 70, - /// The iOS app link is not formatted correctly. + /// The iOS app link is not formatted correctly. InvalidIosAppLink = 71, - /// iOS app link or iOS app store id is missing. + /// iOS app link or iOS app store id is missing. MissingIosAppLinkOrIosAppStoreId = 72, - /// Promotion time is invalid. + /// Promotion time is invalid. PromotionInvalidTime = 73, - /// Both the percent off and money amount off fields are set. + /// Both the percent off and money amount off fields are set. PromotionCannotSetPercentOffAndMoneyAmountOff = 74, - /// Both the promotion code and orders over amount fields are set. + /// Both the promotion code and orders over amount fields are set. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 75, - /// Too many decimal places are specified. + /// Too many decimal places are specified. TooManyDecimalPlacesSpecified = 76, - /// Ad Customizers are present and not allowed. + /// Ad Customizers are present and not allowed. AdCustomizersNotAllowed = 77, - /// Language code is not valid. + /// Language code is not valid. InvalidLanguageCode = 78, - /// Language is not supported. + /// Language is not supported. UnsupportedLanguage = 79, - /// IF Function is present and not allowed. + /// IF Function is present and not allowed. IfFunctionNotAllowed = 80, - /// Final url suffix is not valid. + /// Final url suffix is not valid. InvalidFinalUrlSuffix = 81, - /// Final url suffix contains an invalid tag. + /// Final url suffix contains an invalid tag. InvalidTagInFinalUrlSuffix = 82, - /// Final url suffix is formatted incorrectly. + /// Final url suffix is formatted incorrectly. InvalidFinalUrlSuffixFormat = 83, - /// Consent for call recording, which is required for the use of call - /// extensions, was not provided by the advertiser. See - /// + /// Consent for call recording, which is required for the use of call + /// extensions, was not provided by the advertiser. See + /// CustomerConsentForCallRecordingRequired = 84, - /// Multiple message delivery options are set. + /// Multiple message delivery options are set. OnlyOneDeliveryOptionIsAllowed = 85, - /// No message delivery option is set. + /// No message delivery option is set. NoDeliveryOptionIsSet = 86, - /// String value of conversion reporting state field is not valid. + /// String value of conversion reporting state field is not valid. InvalidConversionReportingState = 87, - /// Image size is not right. + /// Image size is not right. ImageSizeWrong = 88, - /// Email delivery is not supported in the country specified in the country - /// code field. + /// Email delivery is not supported in the country specified in the country + /// code field. EmailDeliveryNotAvailableInCountry = 89, - /// Auto reply is not supported in the country specified in the country code - /// field. + /// Auto reply is not supported in the country specified in the country code + /// field. AutoReplyNotAvailableInCountry = 90, - /// Invalid value specified for latitude. + /// Invalid value specified for latitude. InvalidLatitudeValue = 91, - /// Invalid value specified for longitude. + /// Invalid value specified for longitude. InvalidLongitudeValue = 92, - /// Too many label fields provided. + /// Too many label fields provided. TooManyLabels = 93, - /// Invalid image url. + /// Invalid image url. InvalidImageUrl = 94, - /// Latitude value is missing. + /// Latitude value is missing. MissingLatitudeValue = 95, - /// Longitude value is missing. + /// Longitude value is missing. MissingLongitudeValue = 96, - /// Unable to find address. + /// Unable to find address. AddressNotFound = 97, - /// Cannot target provided address. + /// Cannot target provided address. AddressNotTargetable = 98, - /// The specified asset ID does not exist. + /// The specified asset ID does not exist. InvalidAssetId = 100, - /// The asset type cannot be set for the field. + /// The asset type cannot be set for the field. IncompatibleAssetType = 101, - /// The image has unexpected size. + /// The image has unexpected size. ImageErrorUnexpectedSize = 102, - /// The image aspect ratio is not allowed. + /// The image aspect ratio is not allowed. ImageErrorAspectRatioNotAllowed = 103, - /// The image file is too large. + /// The image file is too large. ImageErrorFileTooLarge = 104, - /// The image format is unsupported. + /// The image format is unsupported. ImageErrorFormatNotAllowed = 105, - /// Image violates constraints without more details. + /// Image violates constraints without more details. ImageErrorConstraintsViolated = 106, - /// An error occurred when validating image. + /// An error occurred when validating image. ImageErrorServerError = 107, } impl FeedItemValidationError { @@ -6374,60 +6374,60 @@ pub mod feed_item_validation_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingErrorEnum { } /// Nested message and enum types in `FeedMappingErrorEnum`. pub mod feed_mapping_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given placeholder field does not exist. + /// The given placeholder field does not exist. InvalidPlaceholderField = 2, - /// The given criterion field does not exist. + /// The given criterion field does not exist. InvalidCriterionField = 3, - /// The given placeholder type does not exist. + /// The given placeholder type does not exist. InvalidPlaceholderType = 4, - /// The given criterion type does not exist. + /// The given criterion type does not exist. InvalidCriterionType = 5, - /// A feed mapping must contain at least one attribute field mapping. + /// A feed mapping must contain at least one attribute field mapping. NoAttributeFieldMappings = 7, - /// The type of the feed attribute referenced in the attribute field mapping - /// must match the type of the placeholder field. + /// The type of the feed attribute referenced in the attribute field mapping + /// must match the type of the placeholder field. FeedAttributeTypeMismatch = 8, - /// A feed mapping for a system generated feed cannot be operated on. + /// A feed mapping for a system generated feed cannot be operated on. CannotOperateOnMappingsForSystemGeneratedFeed = 9, - /// Only one feed mapping for a placeholder type is allowed per feed or - /// customer (depending on the placeholder type). + /// Only one feed mapping for a placeholder type is allowed per feed or + /// customer (depending on the placeholder type). MultipleMappingsForPlaceholderType = 10, - /// Only one feed mapping for a criterion type is allowed per customer. + /// Only one feed mapping for a criterion type is allowed per customer. MultipleMappingsForCriterionType = 11, - /// Only one feed attribute mapping for a placeholder field is allowed - /// (depending on the placeholder type). + /// Only one feed attribute mapping for a placeholder field is allowed + /// (depending on the placeholder type). MultipleMappingsForPlaceholderField = 12, - /// Only one feed attribute mapping for a criterion field is allowed - /// (depending on the criterion type). + /// Only one feed attribute mapping for a criterion field is allowed + /// (depending on the criterion type). MultipleMappingsForCriterionField = 13, - /// This feed mapping may not contain any explicit attribute field mappings. + /// This feed mapping may not contain any explicit attribute field mappings. UnexpectedAttributeFieldMappings = 14, - /// Location placeholder feed mappings can only be created for Places feeds. + /// Location placeholder feed mappings can only be created for Places feeds. LocationPlaceholderOnlyForPlacesFeeds = 15, - /// Mappings for typed feeds cannot be modified. + /// Mappings for typed feeds cannot be modified. CannotModifyMappingsForTypedFeed = 16, - /// The given placeholder type can only be mapped to system generated feeds. + /// The given placeholder type can only be mapped to system generated feeds. InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17, - /// The given placeholder type cannot be mapped to a system generated feed - /// with the given type. + /// The given placeholder type cannot be mapped to a system generated feed + /// with the given type. InvalidPlaceholderTypeForSystemGeneratedFeedType = 18, - /// The "field" oneof was not set in an AttributeFieldMapping. + /// The "field" oneof was not set in an AttributeFieldMapping. AttributeFieldMappingMissingField = 19, } impl FeedMappingError { @@ -6460,37 +6460,37 @@ pub mod feed_mapping_error_enum { } } } -// Proto file describing field errors. +// Proto file describing field errors. -/// Container for enum describing possible field errors. +/// Container for enum describing possible field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldErrorEnum { } /// Nested message and enum types in `FieldErrorEnum`. pub mod field_error_enum { - /// Enum describing possible field errors. + /// Enum describing possible field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The required field was not present. + /// The required field was not present. Required = 2, - /// The field attempted to be mutated is immutable. + /// The field attempted to be mutated is immutable. ImmutableField = 3, - /// The field's value is invalid. + /// The field's value is invalid. InvalidValue = 4, - /// The field cannot be set. + /// The field cannot be set. ValueMustBeUnset = 5, - /// The required repeated field was empty. + /// The required repeated field was empty. RequiredNonemptyList = 6, - /// The field cannot be cleared. + /// The field cannot be cleared. FieldCannotBeCleared = 7, - /// The field's value is on a deny-list for this field. + /// The field's value is on a deny-list for this field. BlockedValue = 9, - /// The field's value cannot be modified, except for clearing. + /// The field's value cannot be modified, except for clearing. FieldCanOnlyBeCleared = 10, } impl FieldError { @@ -6514,31 +6514,31 @@ pub mod field_error_enum { } } } -// Proto file describing field mask errors. +// Proto file describing field mask errors. -/// Container for enum describing possible field mask errors. +/// Container for enum describing possible field mask errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldMaskErrorEnum { } /// Nested message and enum types in `FieldMaskErrorEnum`. pub mod field_mask_error_enum { - /// Enum describing possible field mask errors. + /// Enum describing possible field mask errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldMaskError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be provided for update operations. + /// The field mask must be provided for update operations. FieldMaskMissing = 5, - /// The field mask must be empty for create and remove operations. + /// The field mask must be empty for create and remove operations. FieldMaskNotAllowed = 4, - /// The field mask contained an invalid field. + /// The field mask contained an invalid field. FieldNotFound = 2, - /// The field mask updated a field with subfields. Fields with subfields may - /// be cleared, but not updated. To fix this, the field mask should select - /// all the subfields of the invalid field. + /// The field mask updated a field with subfields. Fields with subfields may + /// be cleared, but not updated. To fix this, the field mask should select + /// all the subfields of the invalid field. FieldHasSubfields = 3, } impl FieldMaskError { @@ -6558,54 +6558,54 @@ pub mod field_mask_error_enum { } } } -// Proto file describing function errors. +// Proto file describing function errors. -/// Container for enum describing possible function errors. +/// Container for enum describing possible function errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionErrorEnum { } /// Nested message and enum types in `FunctionErrorEnum`. pub mod function_error_enum { - /// Enum describing possible function errors. + /// Enum describing possible function errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The format of the function is not recognized as a supported function - /// format. + /// The format of the function is not recognized as a supported function + /// format. InvalidFunctionFormat = 2, - /// Operand data types do not match. + /// Operand data types do not match. DataTypeMismatch = 3, - /// The operands cannot be used together in a conjunction. + /// The operands cannot be used together in a conjunction. InvalidConjunctionOperands = 4, - /// Invalid numer of Operands. + /// Invalid numer of Operands. InvalidNumberOfOperands = 5, - /// Operand Type not supported. + /// Operand Type not supported. InvalidOperandType = 6, - /// Operator not supported. + /// Operator not supported. InvalidOperator = 7, - /// Request context type not supported. + /// Request context type not supported. InvalidRequestContextType = 8, - /// The matching function is not allowed for call placeholders + /// The matching function is not allowed for call placeholders InvalidFunctionForCallPlaceholder = 9, - /// The matching function is not allowed for the specified placeholder + /// The matching function is not allowed for the specified placeholder InvalidFunctionForPlaceholder = 10, - /// Invalid operand. + /// Invalid operand. InvalidOperand = 11, - /// Missing value for the constant operand. + /// Missing value for the constant operand. MissingConstantOperandValue = 12, - /// The value of the constant operand is invalid. + /// The value of the constant operand is invalid. InvalidConstantOperandValue = 13, - /// Invalid function nesting. + /// Invalid function nesting. InvalidNesting = 14, - /// The Feed ID was different from another Feed ID in the same function. + /// The Feed ID was different from another Feed ID in the same function. MultipleFeedIdsNotSupported = 15, - /// The matching function is invalid for use with a feed with a fixed schema. + /// The matching function is invalid for use with a feed with a fixed schema. InvalidFunctionForFeedWithFixedSchema = 16, - /// Invalid attribute name. + /// Invalid attribute name. InvalidAttributeName = 17, } impl FunctionError { @@ -6637,43 +6637,43 @@ pub mod function_error_enum { } } } -// Proto file describing function parsing errors. +// Proto file describing function parsing errors. -/// Container for enum describing possible function parsing errors. +/// Container for enum describing possible function parsing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionParsingErrorEnum { } /// Nested message and enum types in `FunctionParsingErrorEnum`. pub mod function_parsing_error_enum { - /// Enum describing possible function parsing errors. + /// Enum describing possible function parsing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionParsingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unexpected end of function string. + /// Unexpected end of function string. NoMoreInput = 2, - /// Could not find an expected character. + /// Could not find an expected character. ExpectedCharacter = 3, - /// Unexpected separator character. + /// Unexpected separator character. UnexpectedSeparator = 4, - /// Unmatched left bracket or parenthesis. + /// Unmatched left bracket or parenthesis. UnmatchedLeftBracket = 5, - /// Unmatched right bracket or parenthesis. + /// Unmatched right bracket or parenthesis. UnmatchedRightBracket = 6, - /// Functions are nested too deeply. + /// Functions are nested too deeply. TooManyNestedFunctions = 7, - /// Missing right-hand-side operand. + /// Missing right-hand-side operand. MissingRightHandOperand = 8, - /// Invalid operator/function name. + /// Invalid operator/function name. InvalidOperatorName = 9, - /// Feed attribute operand's argument is not an integer. + /// Feed attribute operand's argument is not an integer. FeedAttributeOperandArgumentNotInteger = 10, - /// Missing function operands. + /// Missing function operands. NoOperands = 11, - /// Function had too many operands. + /// Function had too many operands. TooManyOperands = 12, } impl FunctionParsingError { @@ -6700,29 +6700,29 @@ pub mod function_parsing_error_enum { } } } -/// Container for enum describing possible geo target constant suggestion errors. +/// Container for enum describing possible geo target constant suggestion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestionErrorEnum { } /// Nested message and enum types in `GeoTargetConstantSuggestionErrorEnum`. pub mod geo_target_constant_suggestion_error_enum { - /// Enum describing possible geo target constant suggestion errors. + /// Enum describing possible geo target constant suggestion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantSuggestionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A location name cannot be greater than 300 characters. + /// A location name cannot be greater than 300 characters. LocationNameSizeLimit = 2, - /// At most 25 location names can be specified in a SuggestGeoTargetConstants - /// method. + /// At most 25 location names can be specified in a SuggestGeoTargetConstants + /// method. LocationNameLimit = 3, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 4, - /// Geo target constant resource names or location names must be provided in - /// the request. + /// Geo target constant resource names or location names must be provided in + /// the request. RequestParametersUnset = 5, } impl GeoTargetConstantSuggestionError { @@ -6742,25 +6742,25 @@ pub mod geo_target_constant_suggestion_error_enum { } } } -// Proto file describing header errors. +// Proto file describing header errors. -/// Container for enum describing possible header errors. +/// Container for enum describing possible header errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HeaderErrorEnum { } /// Nested message and enum types in `HeaderErrorEnum`. pub mod header_error_enum { - /// Enum describing possible header errors. + /// Enum describing possible header errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HeaderError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The login customer ID could not be validated. + /// The login customer ID could not be validated. InvalidLoginCustomerId = 3, - /// The linked customer ID could not be validated. + /// The linked customer ID could not be validated. InvalidLinkedCustomerId = 7, } impl HeaderError { @@ -6778,23 +6778,23 @@ pub mod header_error_enum { } } } -// Proto file describing id errors. +// Proto file describing id errors. -/// Container for enum describing possible ID errors. +/// Container for enum describing possible ID errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdErrorEnum { } /// Nested message and enum types in `IdErrorEnum`. pub mod id_error_enum { - /// Enum describing possible ID errors. + /// Enum describing possible ID errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// ID not found + /// ID not found NotFound = 2, } impl IdError { @@ -6811,102 +6811,102 @@ pub mod id_error_enum { } } } -// Proto file describing image errors. +// Proto file describing image errors. -/// Container for enum describing possible image errors. +/// Container for enum describing possible image errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageErrorEnum { } /// Nested message and enum types in `ImageErrorEnum`. pub mod image_error_enum { - /// Enum describing possible image errors. + /// Enum describing possible image errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The image is not valid. + /// The image is not valid. InvalidImage = 2, - /// The image could not be stored. + /// The image could not be stored. StorageError = 3, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 4, - /// The image is not of legal dimensions. + /// The image is not of legal dimensions. UnexpectedSize = 5, - /// Animated image are not permitted. + /// Animated image are not permitted. AnimatedNotAllowed = 6, - /// Animation is too long. + /// Animation is too long. AnimationTooLong = 7, - /// There was an error on the server. + /// There was an error on the server. ServerError = 8, - /// Image cannot be in CMYK color format. + /// Image cannot be in CMYK color format. CmykJpegNotAllowed = 9, - /// Flash images are not permitted. + /// Flash images are not permitted. FlashNotAllowed = 10, - /// Flash images must support clickTag. + /// Flash images must support clickTag. FlashWithoutClicktag = 11, - /// A flash error has occurred after fixing the click tag. + /// A flash error has occurred after fixing the click tag. FlashErrorAfterFixingClickTag = 12, - /// Unacceptable visual effects. + /// Unacceptable visual effects. AnimatedVisualEffect = 13, - /// There was a problem with the flash image. + /// There was a problem with the flash image. FlashError = 14, - /// Incorrect image layout. + /// Incorrect image layout. LayoutProblem = 15, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingImageFile = 16, - /// There was an error storing the image. + /// There was an error storing the image. ErrorStoringImage = 17, - /// The aspect ratio of the image is not allowed. + /// The aspect ratio of the image is not allowed. AspectRatioNotAllowed = 18, - /// Flash cannot have network objects. + /// Flash cannot have network objects. FlashHasNetworkObjects = 19, - /// Flash cannot have network methods. + /// Flash cannot have network methods. FlashHasNetworkMethods = 20, - /// Flash cannot have a Url. + /// Flash cannot have a Url. FlashHasUrl = 21, - /// Flash cannot use mouse tracking. + /// Flash cannot use mouse tracking. FlashHasMouseTracking = 22, - /// Flash cannot have a random number. + /// Flash cannot have a random number. FlashHasRandomNum = 23, - /// Ad click target cannot be '_self'. + /// Ad click target cannot be '_self'. FlashSelfTargets = 24, - /// GetUrl method should only use '_blank'. + /// GetUrl method should only use '_blank'. FlashBadGeturlTarget = 25, - /// Flash version is not supported. + /// Flash version is not supported. FlashVersionNotSupported = 26, - /// Flash movies need to have hard coded click URL or clickTAG + /// Flash movies need to have hard coded click URL or clickTAG FlashWithoutHardCodedClickUrl = 27, - /// Uploaded flash file is corrupted. + /// Uploaded flash file is corrupted. InvalidFlashFile = 28, - /// Uploaded flash file can be parsed, but the click tag can not be fixed - /// properly. + /// Uploaded flash file can be parsed, but the click tag can not be fixed + /// properly. FailedToFixClickTagInFlash = 29, - /// Flash movie accesses network resources + /// Flash movie accesses network resources FlashAccessesNetworkResources = 30, - /// Flash movie attempts to call external javascript code + /// Flash movie attempts to call external javascript code FlashExternalJsCall = 31, - /// Flash movie attempts to call flash system commands + /// Flash movie attempts to call flash system commands FlashExternalFsCall = 32, - /// Image file is too large. + /// Image file is too large. FileTooLarge = 33, - /// Image data is too large. + /// Image data is too large. ImageDataTooLarge = 34, - /// Error while processing the image. + /// Error while processing the image. ImageProcessingError = 35, - /// Image is too small. + /// Image is too small. ImageTooSmall = 36, - /// Input was invalid. + /// Input was invalid. InvalidInput = 37, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingFile = 38, - /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - /// can't be provided. This happens when asset spec contains more than one - /// constraint and different criteria of different constraints are violated. + /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED + /// can't be provided. This happens when asset spec contains more than one + /// constraint and different criteria of different constraints are violated. ImageConstraintsViolated = 39, - /// Image format is not allowed. + /// Image format is not allowed. FormatNotAllowed = 40, } impl ImageError { @@ -6961,31 +6961,31 @@ pub mod image_error_enum { } } } -// Proto file describing internal errors. +// Proto file describing internal errors. -/// Container for enum describing possible internal errors. +/// Container for enum describing possible internal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InternalErrorEnum { } /// Nested message and enum types in `InternalErrorEnum`. pub mod internal_error_enum { - /// Enum describing possible internal errors. + /// Enum describing possible internal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InternalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Google Ads API encountered unexpected internal error. + /// Google Ads API encountered unexpected internal error. InternalError = 2, - /// The intended error code doesn't exist in specified API version. It will - /// be released in a future API version. + /// The intended error code doesn't exist in specified API version. It will + /// be released in a future API version. ErrorCodeNotPublished = 3, - /// Google Ads API encountered an unexpected transient error. The user - /// should retry their request in these cases. + /// Google Ads API encountered an unexpected transient error. The user + /// should retry their request in these cases. TransientError = 4, - /// The request took longer than a deadline. + /// The request took longer than a deadline. DeadlineExceeded = 5, } impl InternalError { @@ -7005,32 +7005,32 @@ pub mod internal_error_enum { } } } -// Proto file describing invoice errors. +// Proto file describing invoice errors. -/// Container for enum describing possible invoice errors. +/// Container for enum describing possible invoice errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceErrorEnum { } /// Nested message and enum types in `InvoiceErrorEnum`. pub mod invoice_error_enum { - /// Enum describing possible invoice errors. + /// Enum describing possible invoice errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot request invoices issued before 2019-01-01. + /// Cannot request invoices issued before 2019-01-01. YearMonthTooOld = 2, - /// Cannot request invoices for customer who doesn't receive invoices. + /// Cannot request invoices for customer who doesn't receive invoices. NotInvoicedCustomer = 3, - /// Cannot request invoices for a non approved billing setup. + /// Cannot request invoices for a non approved billing setup. BillingSetupNotApproved = 4, - /// Cannot request invoices for a billing setup that is not on monthly - /// invoicing. + /// Cannot request invoices for a billing setup that is not on monthly + /// invoicing. BillingSetupNotOnMonthlyInvoicing = 5, - /// Cannot request invoices for a non serving customer. + /// Cannot request invoices for a non serving customer. NonServingCustomer = 6, } impl InvoiceError { @@ -7051,28 +7051,28 @@ pub mod invoice_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group. +// Proto file describing errors from applying a keyword plan ad group. -/// Container for enum describing possible errors from applying a keyword plan -/// ad group. +/// Container for enum describing possible errors from applying a keyword plan +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupErrorEnum`. pub mod keyword_plan_ad_group_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group. + /// Enum describing possible errors from applying a keyword plan ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The keyword plan ad group name is missing, empty, longer than allowed - /// limit or contains invalid chars. + /// The keyword plan ad group name is missing, empty, longer than allowed + /// limit or contains invalid chars. InvalidName = 2, - /// The keyword plan ad group name is duplicate to an existing keyword plan - /// AdGroup name or other keyword plan AdGroup name in the request. + /// The keyword plan ad group name is duplicate to an existing keyword plan + /// AdGroup name or other keyword plan AdGroup name in the request. DuplicateName = 3, } impl KeywordPlanAdGroupError { @@ -7090,41 +7090,41 @@ pub mod keyword_plan_ad_group_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan ad group keyword or +// keyword plan campaign keyword. -/// Container for enum describing possible errors from applying an ad group -/// keyword or a campaign keyword from a keyword plan. +/// Container for enum describing possible errors from applying an ad group +/// keyword or a campaign keyword from a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupKeywordErrorEnum`. pub mod keyword_plan_ad_group_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group - /// keyword or keyword plan campaign keyword. + /// Enum describing possible errors from applying a keyword plan ad group + /// keyword or keyword plan campaign keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword or negative keyword has invalid match type. + /// A keyword or negative keyword has invalid match type. InvalidKeywordMatchType = 2, - /// A keyword or negative keyword with same text and match type already - /// exists. + /// A keyword or negative keyword with same text and match type already + /// exists. DuplicateKeyword = 3, - /// Keyword or negative keyword text exceeds the allowed limit. + /// Keyword or negative keyword text exceeds the allowed limit. KeywordTextTooLong = 4, - /// Keyword or negative keyword text has invalid characters or symbols. + /// Keyword or negative keyword text has invalid characters or symbols. KeywordHasInvalidChars = 5, - /// Keyword or negative keyword text has too many words. + /// Keyword or negative keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword or negative keyword has invalid text. + /// Keyword or negative keyword has invalid text. InvalidKeywordText = 7, - /// Cpc Bid set for negative keyword. + /// Cpc Bid set for negative keyword. NegativeKeywordHasCpcBid = 8, - /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. + /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. NewBmmKeywordsNotAllowed = 9, } impl KeywordPlanAdGroupKeywordError { @@ -7148,36 +7148,36 @@ pub mod keyword_plan_ad_group_keyword_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign. +// Proto file describing errors from applying a keyword plan campaign. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignErrorEnum`. pub mod keyword_plan_campaign_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign. + /// Enum describing possible errors from applying a keyword plan campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword plan campaign name is missing, empty, longer than allowed limit - /// or contains invalid chars. + /// A keyword plan campaign name is missing, empty, longer than allowed limit + /// or contains invalid chars. InvalidName = 2, - /// A keyword plan campaign contains one or more untargetable languages. + /// A keyword plan campaign contains one or more untargetable languages. InvalidLanguages = 3, - /// A keyword plan campaign contains one or more invalid geo targets. + /// A keyword plan campaign contains one or more invalid geo targets. InvalidGeos = 4, - /// The keyword plan campaign name is duplicate to an existing keyword plan - /// campaign name or other keyword plan campaign name in the request. + /// The keyword plan campaign name is duplicate to an existing keyword plan + /// campaign name or other keyword plan campaign name in the request. DuplicateName = 5, - /// The number of geo targets in the keyword plan campaign exceeds limits. + /// The number of geo targets in the keyword plan campaign exceeds limits. MaxGeosExceeded = 6, - /// The number of languages in the keyword plan campaign exceeds limits. + /// The number of languages in the keyword plan campaign exceeds limits. MaxLanguagesExceeded = 7, } impl KeywordPlanCampaignError { @@ -7199,25 +7199,25 @@ pub mod keyword_plan_campaign_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan campaign keyword. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign keyword. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignKeywordErrorEnum`. pub mod keyword_plan_campaign_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign - /// keyword. + /// Enum describing possible errors from applying a keyword plan campaign + /// keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Keyword plan campaign keyword is positive. + /// Keyword plan campaign keyword is positive. CampaignKeywordIsPositive = 8, } impl KeywordPlanCampaignKeywordError { @@ -7234,54 +7234,54 @@ pub mod keyword_plan_campaign_keyword_error_enum { } } } -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. +// Proto file describing errors from applying keyword plan resources (keyword +// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) +// or KeywordPlanService RPC. -/// Container for enum describing possible errors from applying a keyword plan -/// resource (keyword plan, keyword plan campaign, keyword plan ad group or -/// keyword plan keyword) or KeywordPlanService RPC. +/// Container for enum describing possible errors from applying a keyword plan +/// resource (keyword plan, keyword plan campaign, keyword plan ad group or +/// keyword plan keyword) or KeywordPlanService RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanErrorEnum { } /// Nested message and enum types in `KeywordPlanErrorEnum`. pub mod keyword_plan_error_enum { - /// Enum describing possible errors from applying a keyword plan. + /// Enum describing possible errors from applying a keyword plan. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The plan's bid multiplier value is outside the valid range. + /// The plan's bid multiplier value is outside the valid range. BidMultiplierOutOfRange = 2, - /// The plan's bid value is too high. + /// The plan's bid value is too high. BidTooHigh = 3, - /// The plan's bid value is too low. + /// The plan's bid value is too low. BidTooLow = 4, - /// The plan's cpc bid is not a multiple of the minimum billable unit. + /// The plan's cpc bid is not a multiple of the minimum billable unit. BidTooManyFractionalDigits = 5, - /// The plan's daily budget value is too low. + /// The plan's daily budget value is too low. DailyBudgetTooLow = 6, - /// The plan's daily budget is not a multiple of the minimum billable unit. + /// The plan's daily budget is not a multiple of the minimum billable unit. DailyBudgetTooManyFractionalDigits = 7, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 8, - /// The plan has no keyword. + /// The plan has no keyword. KeywordPlanHasNoKeywords = 9, - /// The plan is not enabled and API cannot provide mutation, forecast or - /// stats. + /// The plan is not enabled and API cannot provide mutation, forecast or + /// stats. KeywordPlanNotEnabled = 10, - /// The requested plan cannot be found for providing forecast or stats. + /// The requested plan cannot be found for providing forecast or stats. KeywordPlanNotFound = 11, - /// The plan is missing a cpc bid. + /// The plan is missing a cpc bid. MissingBid = 13, - /// The plan is missing required forecast_period field. + /// The plan is missing required forecast_period field. MissingForecastPeriod = 14, - /// The plan's forecast_period has invalid forecast date range. + /// The plan's forecast_period has invalid forecast date range. InvalidForecastDateRange = 15, - /// The plan's name is invalid. + /// The plan's name is invalid. InvalidName = 16, } impl KeywordPlanError { @@ -7311,25 +7311,25 @@ pub mod keyword_plan_error_enum { } } } -// Proto file describing errors from KeywordPlanIdeaService. +// Proto file describing errors from KeywordPlanIdeaService. -/// Container for enum describing possible errors from KeywordPlanIdeaService. +/// Container for enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanIdeaErrorEnum { } /// Nested message and enum types in `KeywordPlanIdeaErrorEnum`. pub mod keyword_plan_idea_error_enum { - /// Enum describing possible errors from KeywordPlanIdeaService. + /// Enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanIdeaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error when crawling the input URL. + /// Error when crawling the input URL. UrlCrawlError = 2, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 3, } impl KeywordPlanIdeaError { @@ -7347,41 +7347,41 @@ pub mod keyword_plan_idea_error_enum { } } } -// Proto file describing label errors. +// Proto file describing label errors. -/// Container for enum describing possible label errors. +/// Container for enum describing possible label errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelErrorEnum { } /// Nested message and enum types in `LabelErrorEnum`. pub mod label_error_enum { - /// Enum describing possible label errors. + /// Enum describing possible label errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An inactive label cannot be applied. + /// An inactive label cannot be applied. CannotApplyInactiveLabel = 2, - /// A label cannot be applied to a disabled ad group criterion. + /// A label cannot be applied to a disabled ad group criterion. CannotApplyLabelToDisabledAdGroupCriterion = 3, - /// A label cannot be applied to a negative ad group criterion. + /// A label cannot be applied to a negative ad group criterion. CannotApplyLabelToNegativeAdGroupCriterion = 4, - /// Cannot apply more than 50 labels per resource. + /// Cannot apply more than 50 labels per resource. ExceededLabelLimitPerType = 5, - /// Labels from a manager account cannot be applied to campaign, ad group, - /// ad group ad, or ad group criterion resources. + /// Labels from a manager account cannot be applied to campaign, ad group, + /// ad group ad, or ad group criterion resources. InvalidResourceForManagerLabel = 6, - /// Label names must be unique. + /// Label names must be unique. DuplicateName = 7, - /// Label names cannot be empty. + /// Label names cannot be empty. InvalidLabelName = 8, - /// Labels cannot be applied to a draft. + /// Labels cannot be applied to a draft. CannotAttachLabelToDraft = 9, - /// Labels not from a manager account cannot be applied to the customer - /// resource. + /// Labels not from a manager account cannot be applied to the customer + /// resource. CannotAttachNonManagerLabelToCustomer = 10, } impl LabelError { @@ -7406,25 +7406,25 @@ pub mod label_error_enum { } } } -// Proto file describing language code errors. +// Proto file describing language code errors. -/// Container for enum describing language code errors. +/// Container for enum describing language code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageCodeErrorEnum { } /// Nested message and enum types in `LanguageCodeErrorEnum`. pub mod language_code_error_enum { - /// Enum describing language code errors. + /// Enum describing language code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LanguageCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input language code is not recognized. + /// The input language code is not recognized. LanguageCodeNotFound = 2, - /// The language code is not supported. + /// The language code is not supported. InvalidLanguageCode = 3, } impl LanguageCodeError { @@ -7442,25 +7442,25 @@ pub mod language_code_error_enum { } } } -// Proto file describing list operation errors. +// Proto file describing list operation errors. -/// Container for enum describing possible list operation errors. +/// Container for enum describing possible list operation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationErrorEnum { } /// Nested message and enum types in `ListOperationErrorEnum`. pub mod list_operation_error_enum { - /// Enum describing possible list operation errors. + /// Enum describing possible list operation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListOperationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Field required in value is missing. + /// Field required in value is missing. RequiredFieldMissing = 7, - /// Duplicate or identical value is sent in multiple list operations. + /// Duplicate or identical value is sent in multiple list operations. DuplicateValues = 8, } impl ListOperationError { @@ -7478,61 +7478,61 @@ pub mod list_operation_error_enum { } } } -// Proto file describing ManagerLink errors. +// Proto file describing ManagerLink errors. -/// Container for enum describing possible ManagerLink errors. +/// Container for enum describing possible ManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkErrorEnum { } /// Nested message and enum types in `ManagerLinkErrorEnum`. pub mod manager_link_error_enum { - /// Enum describing possible ManagerLink errors. + /// Enum describing possible ManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The manager and client have incompatible account types. + /// The manager and client have incompatible account types. AccountsNotCompatibleForLinking = 2, - /// Client is already linked to too many managers. + /// Client is already linked to too many managers. TooManyManagers = 3, - /// Manager has too many pending invitations. + /// Manager has too many pending invitations. TooManyInvites = 4, - /// Client is already invited by this manager. + /// Client is already invited by this manager. AlreadyInvitedByThisManager = 5, - /// The client is already managed by this manager. + /// The client is already managed by this manager. AlreadyManagedByThisManager = 6, - /// Client is already managed in hierarchy. + /// Client is already managed in hierarchy. AlreadyManagedInHierarchy = 7, - /// Manager and sub-manager to be linked have duplicate client. + /// Manager and sub-manager to be linked have duplicate client. DuplicateChildFound = 8, - /// Client has no active user that can access the client account. + /// Client has no active user that can access the client account. ClientHasNoAdminUser = 9, - /// Adding this link would exceed the maximum hierarchy depth. + /// Adding this link would exceed the maximum hierarchy depth. MaxDepthExceeded = 10, - /// Adding this link will create a cycle. + /// Adding this link will create a cycle. CycleNotAllowed = 11, - /// Manager account has the maximum number of linked clients. + /// Manager account has the maximum number of linked clients. TooManyAccounts = 12, - /// Parent manager account has the maximum number of linked clients. + /// Parent manager account has the maximum number of linked clients. TooManyAccountsAtManager = 13, - /// The account is not authorized owner. + /// The account is not authorized owner. NonOwnerUserCannotModifyLink = 14, - /// Your manager account is suspended, and you are no longer allowed to link - /// to clients. + /// Your manager account is suspended, and you are no longer allowed to link + /// to clients. SuspendedAccountCannotAddClients = 15, - /// You are not allowed to move a client to a manager that is not under your - /// current hierarchy. + /// You are not allowed to move a client to a manager that is not under your + /// current hierarchy. ClientOutsideTree = 16, - /// The changed status for mutate link is invalid. + /// The changed status for mutate link is invalid. InvalidStatusChange = 17, - /// The change for mutate link is invalid. + /// The change for mutate link is invalid. InvalidChange = 18, - /// You are not allowed to link a manager account to itself. + /// You are not allowed to link a manager account to itself. CustomerCannotManageSelf = 19, - /// The link was created with status ACTIVE and not PENDING. + /// The link was created with status ACTIVE and not PENDING. CreatingEnabledLinkNotAllowed = 20, } impl ManagerLinkError { @@ -7567,65 +7567,65 @@ pub mod manager_link_error_enum { } } } -// Proto file describing media bundle errors. +// Proto file describing media bundle errors. -/// Container for enum describing possible media bundle errors. +/// Container for enum describing possible media bundle errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleErrorEnum { } /// Nested message and enum types in `MediaBundleErrorEnum`. pub mod media_bundle_error_enum { - /// Enum describing possible media bundle errors. + /// Enum describing possible media bundle errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaBundleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 3, - /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. + /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. DoubleclickBundleNotAllowed = 4, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 5, - /// Media bundle file is too large. + /// Media bundle file is too large. FileTooLarge = 6, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 7, - /// Input was invalid. + /// Input was invalid. InvalidInput = 8, - /// There was a problem with the media bundle. + /// There was a problem with the media bundle. InvalidMediaBundle = 9, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 10, - /// The media bundle contains a file with an unknown mime type + /// The media bundle contains a file with an unknown mime type InvalidMimeType = 11, - /// The media bundle contain an invalid asset path. + /// The media bundle contain an invalid asset path. InvalidPath = 12, - /// HTML5 ad is trying to reference an asset not in .ZIP file + /// HTML5 ad is trying to reference an asset not in .ZIP file InvalidUrlReference = 13, - /// Media data is too large. + /// Media data is too large. MediaDataTooLarge = 14, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 15, - /// There was an error on the server. + /// There was an error on the server. ServerError = 16, - /// The image could not be stored. + /// The image could not be stored. StorageError = 17, - /// Media bundle created with the Swiffy tool is not allowed. + /// Media bundle created with the Swiffy tool is not allowed. SwiffyBundleNotAllowed = 18, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFiles = 19, - /// The media bundle is not of legal dimensions. + /// The media bundle is not of legal dimensions. UnexpectedSize = 20, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 21, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 22, - /// URL in HTML5 entry is not ssl compliant. + /// URL in HTML5 entry is not ssl compliant. UrlInMediaBundleNotSslCompliant = 23, - /// Custom exits not allowed in HTML5 entry. + /// Custom exits not allowed in HTML5 entry. CustomExitNotAllowed = 24, } impl MediaBundleError { @@ -7663,67 +7663,67 @@ pub mod media_bundle_error_enum { } } } -// Proto file describing media file errors. +// Proto file describing media file errors. -/// Container for enum describing possible media file errors. +/// Container for enum describing possible media file errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileErrorEnum { } /// Nested message and enum types in `MediaFileErrorEnum`. pub mod media_file_error_enum { - /// Enum describing possible media file errors. + /// Enum describing possible media file errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaFileError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot create a standard icon type. + /// Cannot create a standard icon type. CannotCreateStandardIcon = 2, - /// May only select Standard Icons alone. + /// May only select Standard Icons alone. CannotSelectStandardIconWithOtherTypes = 3, - /// Image contains both a media file ID and data. + /// Image contains both a media file ID and data. CannotSpecifyMediaFileIdAndData = 4, - /// A media file with given type and reference ID already exists. + /// A media file with given type and reference ID already exists. DuplicateMedia = 5, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 6, - /// A media file may only be modified once per call. + /// A media file may only be modified once per call. ResourceReferencedInMultipleOps = 7, - /// Field is not supported for the media sub type. + /// Field is not supported for the media sub type. FieldNotSupportedForMediaSubType = 8, - /// The media file ID is invalid. + /// The media file ID is invalid. InvalidMediaFileId = 9, - /// The media subtype is invalid. + /// The media subtype is invalid. InvalidMediaSubType = 10, - /// The media file type is invalid. + /// The media file type is invalid. InvalidMediaFileType = 11, - /// The mimetype is invalid. + /// The mimetype is invalid. InvalidMimeType = 12, - /// The media reference ID is invalid. + /// The media reference ID is invalid. InvalidReferenceId = 13, - /// The YouTube video ID is invalid. + /// The YouTube video ID is invalid. InvalidYouTubeId = 14, - /// Media file has failed transcoding + /// Media file has failed transcoding MediaFileFailedTranscoding = 15, - /// Media file has not been transcoded. + /// Media file has not been transcoded. MediaNotTranscoded = 16, - /// The media type does not match the actual media file's type. + /// The media type does not match the actual media file's type. MediaTypeDoesNotMatchMediaFileType = 17, - /// None of the fields have been specified. + /// None of the fields have been specified. NoFieldsSpecified = 18, - /// One of reference ID or media file ID must be specified. + /// One of reference ID or media file ID must be specified. NullReferenceIdAndMediaId = 19, - /// The string has too many characters. + /// The string has too many characters. TooLong = 20, - /// The specified type is not supported. + /// The specified type is not supported. UnsupportedType = 21, - /// YouTube is unavailable for requesting video data. + /// YouTube is unavailable for requesting video data. YouTubeServiceUnavailable = 22, - /// The YouTube video has a non positive duration. + /// The YouTube video has a non positive duration. YouTubeVideoHasNonPositiveDuration = 23, - /// The YouTube video ID is syntactically valid but the video was not found. + /// The YouTube video ID is syntactically valid but the video was not found. YouTubeVideoNotFound = 24, } impl MediaFileError { @@ -7762,95 +7762,95 @@ pub mod media_file_error_enum { } } } -// Proto file describing media uploading errors. +// Proto file describing media uploading errors. -/// Container for enum describing possible media uploading errors. +/// Container for enum describing possible media uploading errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaUploadErrorEnum { } /// Nested message and enum types in `MediaUploadErrorEnum`. pub mod media_upload_error_enum { - /// Enum describing possible media uploading errors. + /// Enum describing possible media uploading errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The uploaded file is too big. + /// The uploaded file is too big. FileTooBig = 2, - /// Image data is unparseable. + /// Image data is unparseable. UnparseableImage = 3, - /// Animated images are not allowed. + /// Animated images are not allowed. AnimatedImageNotAllowed = 4, - /// The image or media bundle format is not allowed. + /// The image or media bundle format is not allowed. FormatNotAllowed = 5, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 6, - /// HTML5 ad is trying to reference an asset not in .ZIP file. + /// HTML5 ad is trying to reference an asset not in .ZIP file. InvalidUrlReference = 7, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 8, - /// Animation has disallowed visual effects. + /// Animation has disallowed visual effects. AnimatedVisualEffect = 9, - /// Animation longer than the allowed 30 second limit. + /// Animation longer than the allowed 30 second limit. AnimationTooLong = 10, - /// The aspect ratio of the image does not match the expected aspect ratios - /// provided in the asset spec. + /// The aspect ratio of the image does not match the expected aspect ratios + /// provided in the asset spec. AspectRatioNotAllowed = 11, - /// Audio files are not allowed in bundle. + /// Audio files are not allowed in bundle. AudioNotAllowedInMediaBundle = 12, - /// CMYK jpegs are not supported. + /// CMYK jpegs are not supported. CmykJpegNotAllowed = 13, - /// Flash movies are not allowed. + /// Flash movies are not allowed. FlashNotAllowed = 14, - /// The frame rate of the video is higher than the allowed 5fps. + /// The frame rate of the video is higher than the allowed 5fps. FrameRateTooHigh = 15, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 16, - /// Image constraints are violated, but more details (like - /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - /// This happens when asset spec contains more than one constraint and - /// criteria of different constraints are violated. + /// Image constraints are violated, but more details (like + /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. + /// This happens when asset spec contains more than one constraint and + /// criteria of different constraints are violated. ImageConstraintsViolated = 17, - /// Media bundle data is unrecognizable. + /// Media bundle data is unrecognizable. InvalidMediaBundle = 18, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 19, - /// The asset has an invalid mime type. + /// The asset has an invalid mime type. InvalidMimeType = 20, - /// The media bundle contains an invalid asset path. + /// The media bundle contains an invalid asset path. InvalidPath = 21, - /// Image has layout problem. + /// Image has layout problem. LayoutProblem = 22, - /// An asset had a URL reference that is malformed per RFC 1738 convention. + /// An asset had a URL reference that is malformed per RFC 1738 convention. MalformedUrl = 23, - /// The uploaded media bundle format is not allowed. + /// The uploaded media bundle format is not allowed. MediaBundleNotAllowed = 24, - /// The media bundle is not compatible with the asset spec product type. - /// (For example, Gmail, dynamic remarketing, etc.) + /// The media bundle is not compatible with the asset spec product type. + /// (For example, Gmail, dynamic remarketing, etc.) MediaBundleNotCompatibleToProductType = 25, - /// A bundle being uploaded that is incompatible with multiple assets for - /// different reasons. + /// A bundle being uploaded that is incompatible with multiple assets for + /// different reasons. MediaBundleRejectedByMultipleAssetSpecs = 26, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFilesInMediaBundle = 27, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 28, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 29, - /// URL in HTML5 entry is not SSL compliant. + /// URL in HTML5 entry is not SSL compliant. UrlInMediaBundleNotSslCompliant = 30, - /// Video file name is longer than the 50 allowed characters. + /// Video file name is longer than the 50 allowed characters. VideoFileNameTooLong = 31, - /// Multiple videos with same name in a bundle. + /// Multiple videos with same name in a bundle. VideoMultipleFilesWithSameName = 32, - /// Videos are not allowed in media bundle. + /// Videos are not allowed in media bundle. VideoNotAllowedInMediaBundle = 33, - /// This type of media cannot be uploaded through the Google Ads API. + /// This type of media cannot be uploaded through the Google Ads API. CannotUploadMediaTypeThroughApi = 34, - /// The dimensions of the image are not allowed. + /// The dimensions of the image are not allowed. DimensionsNotAllowed = 35, } impl MediaUploadError { @@ -7900,25 +7900,25 @@ pub mod media_upload_error_enum { } } } -// Proto file describing merchant center errors. +// Proto file describing merchant center errors. -/// Container for enum describing possible merchant center errors. +/// Container for enum describing possible merchant center errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterErrorEnum { } /// Nested message and enum types in `MerchantCenterErrorEnum`. pub mod merchant_center_error_enum { - /// Enum describing Merchant Center errors. + /// Enum describing Merchant Center errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Merchant ID is either not found or not linked to the Google Ads customer. + /// Merchant ID is either not found or not linked to the Google Ads customer. MerchantIdCannotBeAccessed = 2, - /// Customer not allowlisted for Shopping in Performance Max Campaign. + /// Customer not allowlisted for Shopping in Performance Max Campaign. CustomerNotAllowedForShoppingPerformanceMax = 3, } impl MerchantCenterError { @@ -7936,47 +7936,47 @@ pub mod merchant_center_error_enum { } } } -// Proto file describing multiplier errors. +// Proto file describing multiplier errors. -/// Container for enum describing possible multiplier errors. +/// Container for enum describing possible multiplier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MultiplierErrorEnum { } /// Nested message and enum types in `MultiplierErrorEnum`. pub mod multiplier_error_enum { - /// Enum describing possible multiplier errors. + /// Enum describing possible multiplier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MultiplierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiplier value is too high + /// Multiplier value is too high MultiplierTooHigh = 2, - /// Multiplier value is too low + /// Multiplier value is too low MultiplierTooLow = 3, - /// Too many fractional digits + /// Too many fractional digits TooManyFractionalDigits = 4, - /// A multiplier cannot be set for this bidding strategy + /// A multiplier cannot be set for this bidding strategy MultiplierNotAllowedForBiddingStrategy = 5, - /// A multiplier cannot be set when there is no base bid (for example, - /// content max cpc) + /// A multiplier cannot be set when there is no base bid (for example, + /// content max cpc) MultiplierNotAllowedWhenBaseBidIsMissing = 6, - /// A bid multiplier must be specified + /// A bid multiplier must be specified NoMultiplierSpecified = 7, - /// Multiplier causes bid to exceed daily budget + /// Multiplier causes bid to exceed daily budget MultiplierCausesBidToExceedDailyBudget = 8, - /// Multiplier causes bid to exceed monthly budget + /// Multiplier causes bid to exceed monthly budget MultiplierCausesBidToExceedMonthlyBudget = 9, - /// Multiplier causes bid to exceed custom budget + /// Multiplier causes bid to exceed custom budget MultiplierCausesBidToExceedCustomBudget = 10, - /// Multiplier causes bid to exceed maximum allowed bid + /// Multiplier causes bid to exceed maximum allowed bid MultiplierCausesBidToExceedMaxAllowedBid = 11, - /// Multiplier causes bid to become less than the minimum bid allowed + /// Multiplier causes bid to become less than the minimum bid allowed BidLessThanMinAllowedBidWithMultiplier = 12, - /// Multiplier type (cpc versus cpm) needs to match campaign's bidding - /// strategy + /// Multiplier type (cpc versus cpm) needs to match campaign's bidding + /// strategy MultiplierAndBiddingStrategyTypeMismatch = 13, } impl MultiplierError { @@ -8004,40 +8004,40 @@ pub mod multiplier_error_enum { } } } -// Proto file describing mutate errors. +// Proto file describing mutate errors. -/// Container for enum describing possible mutate errors. +/// Container for enum describing possible mutate errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateErrorEnum { } /// Nested message and enum types in `MutateErrorEnum`. pub mod mutate_error_enum { - /// Enum describing possible mutate errors. + /// Enum describing possible mutate errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MutateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Requested resource was not found. + /// Requested resource was not found. ResourceNotFound = 3, - /// Cannot mutate the same resource twice in one request. + /// Cannot mutate the same resource twice in one request. IdExistsInMultipleMutates = 7, - /// The field's contents don't match another field that represents the same - /// data. + /// The field's contents don't match another field that represents the same + /// data. InconsistentFieldValues = 8, - /// Mutates are not allowed for the requested resource. + /// Mutates are not allowed for the requested resource. MutateNotAllowed = 9, - /// The resource isn't in Google Ads. It belongs to another ads system. + /// The resource isn't in Google Ads. It belongs to another ads system. ResourceNotInGoogleAds = 10, - /// The resource being created already exists. + /// The resource being created already exists. ResourceAlreadyExists = 11, - /// This resource cannot be used with "validate_only". + /// This resource cannot be used with "validate_only". ResourceDoesNotSupportValidateOnly = 12, - /// This operation cannot be used with "partial_failure". + /// This operation cannot be used with "partial_failure". OperationDoesNotSupportPartialFailure = 16, - /// Attempt to write to read-only fields. + /// Attempt to write to read-only fields. ResourceReadOnly = 13, } impl MutateError { @@ -8062,28 +8062,28 @@ pub mod mutate_error_enum { } } } -// Proto file describing new resource creation errors. +// Proto file describing new resource creation errors. -/// Container for enum describing possible new resource creation errors. +/// Container for enum describing possible new resource creation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NewResourceCreationErrorEnum { } /// Nested message and enum types in `NewResourceCreationErrorEnum`. pub mod new_resource_creation_error_enum { - /// Enum describing possible new resource creation errors. + /// Enum describing possible new resource creation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NewResourceCreationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Do not set the id field while creating new resources. + /// Do not set the id field while creating new resources. CannotSetIdForCreate = 2, - /// Creating more than one resource with the same temp ID is not allowed. + /// Creating more than one resource with the same temp ID is not allowed. DuplicateTempIds = 3, - /// Parent resource with specified temp ID failed validation, so no - /// validation will be done for this child resource. + /// Parent resource with specified temp ID failed validation, so no + /// validation will be done for this child resource. TempIdResourceHadErrors = 4, } impl NewResourceCreationError { @@ -8102,23 +8102,23 @@ pub mod new_resource_creation_error_enum { } } } -// Proto file describing not allowlisted errors. +// Proto file describing not allowlisted errors. -/// Container for enum describing possible not allowlisted errors. +/// Container for enum describing possible not allowlisted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotAllowlistedErrorEnum { } /// Nested message and enum types in `NotAllowlistedErrorEnum`. pub mod not_allowlisted_error_enum { - /// Enum describing possible not allowlisted errors. + /// Enum describing possible not allowlisted errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotAllowlistedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowlisted for accessing this feature. + /// Customer is not allowlisted for accessing this feature. CustomerNotAllowlistedForThisFeature = 2, } impl NotAllowlistedError { @@ -8135,23 +8135,23 @@ pub mod not_allowlisted_error_enum { } } } -// Proto file describing not empty errors. +// Proto file describing not empty errors. -/// Container for enum describing possible not empty errors. +/// Container for enum describing possible not empty errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotEmptyErrorEnum { } /// Nested message and enum types in `NotEmptyErrorEnum`. pub mod not_empty_error_enum { - /// Enum describing possible not empty errors. + /// Enum describing possible not empty errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotEmptyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Empty list. + /// Empty list. EmptyList = 2, } impl NotEmptyError { @@ -8168,23 +8168,23 @@ pub mod not_empty_error_enum { } } } -// Proto file describing null errors. +// Proto file describing null errors. -/// Container for enum describing possible null errors. +/// Container for enum describing possible null errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NullErrorEnum { } /// Nested message and enum types in `NullErrorEnum`. pub mod null_error_enum { - /// Enum describing possible null errors. + /// Enum describing possible null errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NullError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Specified list/container must not contain any null elements + /// Specified list/container must not contain any null elements NullContent = 2, } impl NullError { @@ -8201,114 +8201,114 @@ pub mod null_error_enum { } } } -// Proto file describing offline user data job errors. +// Proto file describing offline user data job errors. -/// Container for enum describing possible offline user data job errors. +/// Container for enum describing possible offline user data job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobErrorEnum { } /// Nested message and enum types in `OfflineUserDataJobErrorEnum`. pub mod offline_user_data_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The user list ID provided for the job is invalid. + /// The user list ID provided for the job is invalid. InvalidUserListId = 3, - /// Type of the user list is not applicable for the job. + /// Type of the user list is not applicable for the job. InvalidUserListType = 4, - /// Customer is not allowisted for using user ID in upload data. + /// Customer is not allowisted for using user ID in upload data. NotOnAllowlistForUserId = 33, - /// Upload data is not compatible with the upload key type of the associated - /// user list. + /// Upload data is not compatible with the upload key type of the associated + /// user list. IncompatibleUploadKeyType = 6, - /// The user identifier is missing valid data. + /// The user identifier is missing valid data. MissingUserIdentifier = 7, - /// The mobile ID is malformed. + /// The mobile ID is malformed. InvalidMobileIdFormat = 8, - /// Maximum number of user identifiers allowed per request is 100,000 and per - /// operation is 20. + /// Maximum number of user identifiers allowed per request is 100,000 and per + /// operation is 20. TooManyUserIdentifiers = 9, - /// Customer is not on the allow-list for store sales direct data. + /// Customer is not on the allow-list for store sales direct data. NotOnAllowlistForStoreSalesDirect = 31, - /// Customer is not on the allow-list for unified store sales data. + /// Customer is not on the allow-list for unified store sales data. NotOnAllowlistForUnifiedStoreSales = 32, - /// The partner ID in store sales direct metadata is invalid. + /// The partner ID in store sales direct metadata is invalid. InvalidPartnerId = 11, - /// The data in user identifier should not be encoded. + /// The data in user identifier should not be encoded. InvalidEncoding = 12, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 13, - /// Incompatible user identifier when using third_party_user_id for store - /// sales direct first party data or not using third_party_user_id for store - /// sales third party data. + /// Incompatible user identifier when using third_party_user_id for store + /// sales direct first party data or not using third_party_user_id for store + /// sales third party data. IncompatibleUserIdentifier = 14, - /// A transaction time in the future is not allowed. + /// A transaction time in the future is not allowed. FutureTransactionTime = 15, - /// The conversion_action specified in transaction_attributes is used to - /// report conversions to a conversion action configured in Google Ads. This - /// error indicates there is no such conversion action in the account. + /// The conversion_action specified in transaction_attributes is used to + /// report conversions to a conversion action configured in Google Ads. This + /// error indicates there is no such conversion action in the account. InvalidConversionAction = 16, - /// Mobile ID is not supported for store sales direct data. + /// Mobile ID is not supported for store sales direct data. MobileIdNotSupported = 17, - /// When a remove-all operation is provided, it has to be the first operation - /// of the operation list. + /// When a remove-all operation is provided, it has to be the first operation + /// of the operation list. InvalidOperationOrder = 18, - /// Mixing creation and removal of offline data in the same job is not - /// allowed. + /// Mixing creation and removal of offline data in the same job is not + /// allowed. ConflictingOperation = 19, - /// The external update ID already exists. + /// The external update ID already exists. ExternalUpdateIdAlreadyExists = 21, - /// Once the upload job is started, new operations cannot be added. + /// Once the upload job is started, new operations cannot be added. JobAlreadyStarted = 22, - /// Remove operation is not allowed for store sales direct updates. + /// Remove operation is not allowed for store sales direct updates. RemoveNotSupported = 23, - /// Remove-all is not supported for certain offline user data job types. + /// Remove-all is not supported for certain offline user data job types. RemoveAllNotSupported = 24, - /// The SHA256 encoded value is malformed. + /// The SHA256 encoded value is malformed. InvalidSha256Format = 25, - /// The custom key specified is not enabled for the unified store sales - /// upload. + /// The custom key specified is not enabled for the unified store sales + /// upload. CustomKeyDisabled = 26, - /// The custom key specified is not predefined through the Google Ads UI. + /// The custom key specified is not predefined through the Google Ads UI. CustomKeyNotPredefined = 27, - /// The custom key specified is not set in the upload. + /// The custom key specified is not set in the upload. CustomKeyNotSet = 29, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 30, - /// User attributes cannot be uploaded into a user list. + /// User attributes cannot be uploaded into a user list. AttributesNotApplicableForCustomerMatchUserList = 34, - /// Lifetime bucket value must be a number from 0 to 10; 0 is only accepted - /// for remove operations + /// Lifetime bucket value must be a number from 0 to 10; 0 is only accepted + /// for remove operations LifetimeValueBucketNotInRange = 35, - /// Identifiers not supported for Customer Match attributes. User attributes - /// can only be provided with contact info (email, phone, address) user - /// identifiers. + /// Identifiers not supported for Customer Match attributes. User attributes + /// can only be provided with contact info (email, phone, address) user + /// identifiers. IncompatibleUserIdentifierForAttributes = 36, - /// A time in the future is not allowed. + /// A time in the future is not allowed. FutureTimeNotAllowed = 37, - /// Last purchase date time cannot be less than acquisition date time. + /// Last purchase date time cannot be less than acquisition date time. LastPurchaseTimeLessThanAcquisitionTime = 38, - /// Only emails are accepted as user identifiers for shopping loyalty match. - /// {-- api.dev/not-precedent: The identifier is not limited to ids, but - /// also include other user info eg. phone numbers.} + /// Only emails are accepted as user identifiers for shopping loyalty match. + /// {-- api.dev/not-precedent: The identifier is not limited to ids, but + /// also include other user info eg. phone numbers.} CustomerIdentifierNotAllowed = 39, - /// Provided item ID is invalid. + /// Provided item ID is invalid. InvalidItemId = 40, - /// First purchase date time cannot be greater than the last purchase date - /// time. + /// First purchase date time cannot be greater than the last purchase date + /// time. FirstPurchaseTimeGreaterThanLastPurchaseTime = 42, - /// Provided lifecycle stage is invalid. + /// Provided lifecycle stage is invalid. InvalidLifecycleStage = 43, - /// The event value of the Customer Match user attribute is invalid. + /// The event value of the Customer Match user attribute is invalid. InvalidEventValue = 44, - /// All the fields are not present in the EventAttribute of the Customer - /// Match. + /// All the fields are not present in the EventAttribute of the Customer + /// Match. EventAttributeAllFieldsAreRequired = 45, } impl OfflineUserDataJobError { @@ -8362,41 +8362,41 @@ pub mod offline_user_data_job_error_enum { } } } -// Proto file describing operation access denied errors. +// Proto file describing operation access denied errors. -/// Container for enum describing possible operation access denied errors. +/// Container for enum describing possible operation access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationAccessDeniedErrorEnum { } /// Nested message and enum types in `OperationAccessDeniedErrorEnum`. pub mod operation_access_denied_error_enum { - /// Enum describing possible operation access denied errors. + /// Enum describing possible operation access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unauthorized invocation of a service's method (get, mutate, etc.) + /// Unauthorized invocation of a service's method (get, mutate, etc.) ActionNotPermitted = 2, - /// Unauthorized CREATE operation in invoking a service's mutate method. + /// Unauthorized CREATE operation in invoking a service's mutate method. CreateOperationNotPermitted = 3, - /// Unauthorized REMOVE operation in invoking a service's mutate method. + /// Unauthorized REMOVE operation in invoking a service's mutate method. RemoveOperationNotPermitted = 4, - /// Unauthorized UPDATE operation in invoking a service's mutate method. + /// Unauthorized UPDATE operation in invoking a service's mutate method. UpdateOperationNotPermitted = 5, - /// A mutate action is not allowed on this resource, from this client. + /// A mutate action is not allowed on this resource, from this client. MutateActionNotPermittedForClient = 6, - /// This operation is not permitted on this campaign type + /// This operation is not permitted on this campaign type OperationNotPermittedForCampaignType = 7, - /// A CREATE operation may not set status to REMOVED. + /// A CREATE operation may not set status to REMOVED. CreateAsRemovedNotPermitted = 8, - /// This operation is not allowed because the resource is removed. + /// This operation is not allowed because the resource is removed. OperationNotPermittedForRemovedResource = 9, - /// This operation is not permitted on this ad group type. + /// This operation is not permitted on this ad group type. OperationNotPermittedForAdGroupType = 10, - /// The mutate is not allowed for this customer. + /// The mutate is not allowed for this customer. MutateNotPermittedForCustomer = 11, } impl OperationAccessDeniedError { @@ -8422,23 +8422,23 @@ pub mod operation_access_denied_error_enum { } } } -// Proto file describing operator errors. +// Proto file describing operator errors. -/// Container for enum describing possible operator errors. +/// Container for enum describing possible operator errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatorErrorEnum { } /// Nested message and enum types in `OperatorErrorEnum`. pub mod operator_error_enum { - /// Enum describing possible operator errors. + /// Enum describing possible operator errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatorError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Operator not supported. + /// Operator not supported. OperatorNotSupported = 2, } impl OperatorError { @@ -8455,24 +8455,24 @@ pub mod operator_error_enum { } } } -// Proto file describing partial failure errors. +// Proto file describing partial failure errors. -/// Container for enum describing possible partial failure errors. +/// Container for enum describing possible partial failure errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialFailureErrorEnum { } /// Nested message and enum types in `PartialFailureErrorEnum`. pub mod partial_failure_error_enum { - /// Enum describing possible partial failure errors. + /// Enum describing possible partial failure errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartialFailureError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The partial failure field was false in the request. - /// This method requires this field be set to true. + /// The partial failure field was false in the request. + /// This method requires this field be set to true. PartialFailureModeRequired = 2, } impl PartialFailureError { @@ -8489,23 +8489,23 @@ pub mod partial_failure_error_enum { } } } -// Proto file describing payments account service errors. +// Proto file describing payments account service errors. -/// Container for enum describing possible errors in payments account service. +/// Container for enum describing possible errors in payments account service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountErrorEnum { } /// Nested message and enum types in `PaymentsAccountErrorEnum`. pub mod payments_account_error_enum { - /// Enum describing possible errors in payments account service. + /// Enum describing possible errors in payments account service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentsAccountError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Manager customers are not supported for payments account service. + /// Manager customers are not supported for payments account service. NotSupportedForManagerCustomer = 2, } impl PaymentsAccountError { @@ -8522,26 +8522,26 @@ pub mod payments_account_error_enum { } } } -// Proto file describing policy finding errors. +// Proto file describing policy finding errors. -/// Container for enum describing possible policy finding errors. +/// Container for enum describing possible policy finding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingErrorEnum { } /// Nested message and enum types in `PolicyFindingErrorEnum`. pub mod policy_finding_error_enum { - /// Enum describing possible policy finding errors. + /// Enum describing possible policy finding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyFindingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The resource has been disapproved since the policy summary includes - /// policy topics of type PROHIBITED. + /// The resource has been disapproved since the policy summary includes + /// policy topics of type PROHIBITED. PolicyFinding = 2, - /// The given policy topic does not exist. + /// The given policy topic does not exist. PolicyTopicNotFound = 3, } impl PolicyFindingError { @@ -8559,28 +8559,28 @@ pub mod policy_finding_error_enum { } } } -// Proto file describing policy validation parameter errors. +// Proto file describing policy validation parameter errors. -/// Container for enum describing possible policy validation parameter errors. +/// Container for enum describing possible policy validation parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameterErrorEnum { } /// Nested message and enum types in `PolicyValidationParameterErrorEnum`. pub mod policy_validation_parameter_error_enum { - /// Enum describing possible policy validation parameter errors. + /// Enum describing possible policy validation parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyValidationParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ignorable policy topics are not supported for the ad type. + /// Ignorable policy topics are not supported for the ad type. UnsupportedAdTypeForIgnorablePolicyTopics = 2, - /// Exempt policy violation keys are not supported for the ad type. + /// Exempt policy violation keys are not supported for the ad type. UnsupportedAdTypeForExemptPolicyViolationKeys = 3, - /// Cannot set ignorable policy topics and exempt policy violation keys in - /// the same policy violation parameter. + /// Cannot set ignorable policy topics and exempt policy violation keys in + /// the same policy violation parameter. CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys = 4, } impl PolicyValidationParameterError { @@ -8599,23 +8599,23 @@ pub mod policy_validation_parameter_error_enum { } } } -// Proto file describing policy violation errors. +// Proto file describing policy violation errors. -/// Container for enum describing possible policy violation errors. +/// Container for enum describing possible policy violation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationErrorEnum { } /// Nested message and enum types in `PolicyViolationErrorEnum`. pub mod policy_violation_error_enum { - /// Enum describing possible policy violation errors. + /// Enum describing possible policy violation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyViolationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A policy was violated. See PolicyViolationDetails for more detail. + /// A policy was violated. See PolicyViolationDetails for more detail. PolicyError = 2, } impl PolicyViolationError { @@ -8632,149 +8632,149 @@ pub mod policy_violation_error_enum { } } } -// Proto file describing query errors. +// Proto file describing query errors. -/// Container for enum describing possible query errors. +/// Container for enum describing possible query errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryErrorEnum { } /// Nested message and enum types in `QueryErrorEnum`. pub mod query_error_enum { - /// Enum describing possible query errors. + /// Enum describing possible query errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QueryError { - /// Name unspecified. + /// Name unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Returned if all other query error reasons are not applicable. + /// Returned if all other query error reasons are not applicable. QueryError = 50, - /// A condition used in the query references an invalid enum constant. + /// A condition used in the query references an invalid enum constant. BadEnumConstant = 18, - /// Query contains an invalid escape sequence. + /// Query contains an invalid escape sequence. BadEscapeSequence = 7, - /// Field name is invalid. + /// Field name is invalid. BadFieldName = 12, - /// Limit value is invalid (for example, not a number) + /// Limit value is invalid (for example, not a number) BadLimitValue = 15, - /// Encountered number can not be parsed. + /// Encountered number can not be parsed. BadNumber = 5, - /// Invalid operator encountered. + /// Invalid operator encountered. BadOperator = 3, - /// Parameter unknown or not supported. + /// Parameter unknown or not supported. BadParameterName = 61, - /// Parameter have invalid value. + /// Parameter have invalid value. BadParameterValue = 62, - /// Invalid resource type was specified in the FROM clause. + /// Invalid resource type was specified in the FROM clause. BadResourceTypeInFromClause = 45, - /// Non-ASCII symbol encountered outside of strings. + /// Non-ASCII symbol encountered outside of strings. BadSymbol = 2, - /// Value is invalid. + /// Value is invalid. BadValue = 4, - /// Date filters fail to restrict date to a range smaller than 31 days. - /// Applicable if the query is segmented by date. + /// Date filters fail to restrict date to a range smaller than 31 days. + /// Applicable if the query is segmented by date. DateRangeTooWide = 36, - /// Filters on date/week/month/quarter have a start date after - /// end date. + /// Filters on date/week/month/quarter have a start date after + /// end date. DateRangeTooNarrow = 60, - /// Expected AND between values with BETWEEN operator. + /// Expected AND between values with BETWEEN operator. ExpectedAnd = 30, - /// Expecting ORDER BY to have BY. + /// Expecting ORDER BY to have BY. ExpectedBy = 14, - /// There was no dimension field selected. + /// There was no dimension field selected. ExpectedDimensionFieldInSelectClause = 37, - /// Missing filters on date related fields. + /// Missing filters on date related fields. ExpectedFiltersOnDateRange = 55, - /// Missing FROM clause. + /// Missing FROM clause. ExpectedFrom = 44, - /// The operator used in the conditions requires the value to be a list. + /// The operator used in the conditions requires the value to be a list. ExpectedList = 41, - /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT - /// clause. + /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT + /// clause. ExpectedReferencedFieldInSelectClause = 16, - /// SELECT is missing at the beginning of query. + /// SELECT is missing at the beginning of query. ExpectedSelect = 13, - /// A list was passed as a value to a condition whose operator expects a - /// single value. + /// A list was passed as a value to a condition whose operator expects a + /// single value. ExpectedSingleValue = 42, - /// Missing one or both values with BETWEEN operator. + /// Missing one or both values with BETWEEN operator. ExpectedValueWithBetweenOperator = 29, - /// Invalid date format. Expected 'YYYY-MM-DD'. + /// Invalid date format. Expected 'YYYY-MM-DD'. InvalidDateFormat = 38, - /// Misaligned date value for the filter. The date should be the start of a - /// week/month/quarter if the filtered field is - /// segments.week/segments.month/segments.quarter. + /// Misaligned date value for the filter. The date should be the start of a + /// week/month/quarter if the filtered field is + /// segments.week/segments.month/segments.quarter. MisalignedDateForFilter = 64, - /// Value passed was not a string when it should have been. For example, it - /// was a number or unquoted literal. + /// Value passed was not a string when it should have been. For example, it + /// was a number or unquoted literal. InvalidStringValue = 57, - /// A String value passed to the BETWEEN operator does not parse as a date. + /// A String value passed to the BETWEEN operator does not parse as a date. InvalidValueWithBetweenOperator = 26, - /// The value passed to the DURING operator is not a Date range literal + /// The value passed to the DURING operator is not a Date range literal InvalidValueWithDuringOperator = 22, - /// An invalid value was passed to the LIKE operator. + /// An invalid value was passed to the LIKE operator. InvalidValueWithLikeOperator = 56, - /// An operator was provided that is inapplicable to the field being - /// filtered. + /// An operator was provided that is inapplicable to the field being + /// filtered. OperatorFieldMismatch = 35, - /// A Condition was found with an empty list. + /// A Condition was found with an empty list. ProhibitedEmptyListInCondition = 28, - /// A condition used in the query references an unsupported enum constant. + /// A condition used in the query references an unsupported enum constant. ProhibitedEnumConstant = 54, - /// Fields that are not allowed to be selected together were included in - /// the SELECT clause. + /// Fields that are not allowed to be selected together were included in + /// the SELECT clause. ProhibitedFieldCombinationInSelectClause = 31, - /// A field that is not orderable was included in the ORDER BY clause. + /// A field that is not orderable was included in the ORDER BY clause. ProhibitedFieldInOrderByClause = 40, - /// A field that is not selectable was included in the SELECT clause. + /// A field that is not selectable was included in the SELECT clause. ProhibitedFieldInSelectClause = 23, - /// A field that is not filterable was included in the WHERE clause. + /// A field that is not filterable was included in the WHERE clause. ProhibitedFieldInWhereClause = 24, - /// Resource type specified in the FROM clause is not supported by this - /// service. + /// Resource type specified in the FROM clause is not supported by this + /// service. ProhibitedResourceTypeInFromClause = 43, - /// A field that comes from an incompatible resource was included in the - /// SELECT clause. + /// A field that comes from an incompatible resource was included in the + /// SELECT clause. ProhibitedResourceTypeInSelectClause = 48, - /// A field that comes from an incompatible resource was included in the - /// WHERE clause. + /// A field that comes from an incompatible resource was included in the + /// WHERE clause. ProhibitedResourceTypeInWhereClause = 58, - /// A metric incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A metric incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedMetricInSelectOrWhereClause = 49, - /// A segment incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A segment incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedSegmentInSelectOrWhereClause = 51, - /// A segment in the SELECT clause is incompatible with a metric in the - /// SELECT or WHERE clause. + /// A segment in the SELECT clause is incompatible with a metric in the + /// SELECT or WHERE clause. ProhibitedSegmentWithMetricInSelectOrWhereClause = 53, - /// The value passed to the limit clause is too low. + /// The value passed to the limit clause is too low. LimitValueTooLow = 25, - /// Query has a string containing a newline character. + /// Query has a string containing a newline character. ProhibitedNewlineInString = 8, - /// List contains values of different types. + /// List contains values of different types. ProhibitedValueCombinationInList = 10, - /// The values passed to the BETWEEN operator are not of the same type. + /// The values passed to the BETWEEN operator are not of the same type. ProhibitedValueCombinationWithBetweenOperator = 21, - /// Query contains unterminated string. + /// Query contains unterminated string. StringNotTerminated = 6, - /// Too many segments are specified in SELECT clause. + /// Too many segments are specified in SELECT clause. TooManySegments = 34, - /// Query is incomplete and cannot be parsed. + /// Query is incomplete and cannot be parsed. UnexpectedEndOfQuery = 9, - /// FROM clause cannot be specified in this query. + /// FROM clause cannot be specified in this query. UnexpectedFromClause = 47, - /// Query contains one or more unrecognized fields. + /// Query contains one or more unrecognized fields. UnrecognizedField = 32, - /// Query has an unexpected extra part. + /// Query has an unexpected extra part. UnexpectedInput = 11, - /// Metrics cannot be requested for a manager account. To retrieve metrics, - /// issue separate requests against each client account under the manager - /// account. + /// Metrics cannot be requested for a manager account. To retrieve metrics, + /// issue separate requests against each client account under the manager + /// account. RequestedMetricsForManager = 59, - /// The number of values (right-hand-side operands) in a filter exceeds the - /// limit. + /// The number of values (right-hand-side operands) in a filter exceeds the + /// limit. FilterHasTooManyValues = 63, } impl QueryError { @@ -8845,27 +8845,27 @@ pub mod query_error_enum { } } } -// Proto file describing quota errors. +// Proto file describing quota errors. -/// Container for enum describing possible quota errors. +/// Container for enum describing possible quota errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorEnum { } /// Nested message and enum types in `QuotaErrorEnum`. pub mod quota_error_enum { - /// Enum describing possible quota errors. + /// Enum describing possible quota errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too many requests. + /// Too many requests. ResourceExhausted = 2, - /// Access is prohibited. + /// Access is prohibited. AccessProhibited = 3, - /// Too many requests in a short amount of time. + /// Too many requests in a short amount of time. ResourceTemporarilyExhausted = 4, } impl QuotaError { @@ -8884,25 +8884,25 @@ pub mod quota_error_enum { } } } -// Proto file describing range errors. +// Proto file describing range errors. -/// Container for enum describing possible range errors. +/// Container for enum describing possible range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RangeErrorEnum { } /// Nested message and enum types in `RangeErrorEnum`. pub mod range_error_enum { - /// Enum describing possible range errors. + /// Enum describing possible range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too low. + /// Too low. TooLow = 2, - /// Too high. + /// Too high. TooHigh = 3, } impl RangeError { @@ -8920,24 +8920,24 @@ pub mod range_error_enum { } } } -// Proto file describing errors generated from ReachPlanService. +// Proto file describing errors generated from ReachPlanService. -/// Container for enum describing possible errors returned from -/// the ReachPlanService. +/// Container for enum describing possible errors returned from +/// the ReachPlanService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanErrorEnum { } /// Nested message and enum types in `ReachPlanErrorEnum`. pub mod reach_plan_error_enum { - /// Enum describing possible errors from ReachPlanService. + /// Enum describing possible errors from ReachPlanService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Not forecastable due to missing rate card data. + /// Not forecastable due to missing rate card data. NotForecastableMissingRate = 2, } impl ReachPlanError { @@ -8954,53 +8954,53 @@ pub mod reach_plan_error_enum { } } } -// Proto file describing errors from applying a recommendation. +// Proto file describing errors from applying a recommendation. -/// Container for enum describing possible errors from applying a recommendation. +/// Container for enum describing possible errors from applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationErrorEnum { } /// Nested message and enum types in `RecommendationErrorEnum`. pub mod recommendation_error_enum { - /// Enum describing possible errors from applying a recommendation. + /// Enum describing possible errors from applying a recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified budget amount is too low for example, lower than minimum - /// currency unit or lower than ad group minimum cost-per-click. + /// The specified budget amount is too low for example, lower than minimum + /// currency unit or lower than ad group minimum cost-per-click. BudgetAmountTooSmall = 2, - /// The specified budget amount is too large. + /// The specified budget amount is too large. BudgetAmountTooLarge = 3, - /// The specified budget amount is not a valid amount, for example, not a - /// multiple of minimum currency unit. + /// The specified budget amount is not a valid amount, for example, not a + /// multiple of minimum currency unit. InvalidBudgetAmount = 4, - /// The specified keyword or ad violates ad policy. + /// The specified keyword or ad violates ad policy. PolicyError = 5, - /// The specified bid amount is not valid, for example, too many fractional - /// digits, or negative amount. + /// The specified bid amount is not valid, for example, too many fractional + /// digits, or negative amount. InvalidBidAmount = 6, - /// The number of keywords in ad group have reached the maximum allowed. + /// The number of keywords in ad group have reached the maximum allowed. AdgroupKeywordLimit = 7, - /// The recommendation requested to apply has already been applied. + /// The recommendation requested to apply has already been applied. RecommendationAlreadyApplied = 8, - /// The recommendation requested to apply has been invalidated. + /// The recommendation requested to apply has been invalidated. RecommendationInvalidated = 9, - /// The number of operations in a single request exceeds the maximum allowed. + /// The number of operations in a single request exceeds the maximum allowed. TooManyOperations = 10, - /// There are no operations in the request. + /// There are no operations in the request. NoOperations = 11, - /// Operations with multiple recommendation types are not supported when - /// partial failure mode is not enabled. + /// Operations with multiple recommendation types are not supported when + /// partial failure mode is not enabled. DifferentTypesNotSupported = 12, - /// Request contains multiple operations with the same resource_name. + /// Request contains multiple operations with the same resource_name. DuplicateResourceName = 13, - /// The recommendation requested to dismiss has already been dismissed. + /// The recommendation requested to dismiss has already been dismissed. RecommendationAlreadyDismissed = 14, - /// The recommendation apply request was malformed and invalid. + /// The recommendation apply request was malformed and invalid. InvalidApplyRequest = 15, } impl RecommendationError { @@ -9030,23 +9030,23 @@ pub mod recommendation_error_enum { } } } -// Proto file describing region code errors. +// Proto file describing region code errors. -/// Container for enum describing possible region code errors. +/// Container for enum describing possible region code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionCodeErrorEnum { } /// Nested message and enum types in `RegionCodeErrorEnum`. pub mod region_code_error_enum { - /// Enum describing possible region code errors. + /// Enum describing possible region code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RegionCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid region code. + /// Invalid region code. InvalidRegionCode = 2, } impl RegionCodeError { @@ -9063,73 +9063,73 @@ pub mod region_code_error_enum { } } } -// Proto file describing request errors. +// Proto file describing request errors. -/// Container for enum describing possible request errors. +/// Container for enum describing possible request errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestErrorEnum { } /// Nested message and enum types in `RequestErrorEnum`. pub mod request_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RequestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Resource name is required for this request. + /// Resource name is required for this request. ResourceNameMissing = 3, - /// Resource name provided is malformed. + /// Resource name provided is malformed. ResourceNameMalformed = 4, - /// Resource name provided is malformed. + /// Resource name provided is malformed. BadResourceId = 17, - /// Customer ID is invalid. + /// Customer ID is invalid. InvalidCustomerId = 16, - /// Mutate operation should have either create, update, or remove specified. + /// Mutate operation should have either create, update, or remove specified. OperationRequired = 5, - /// Requested resource not found. + /// Requested resource not found. ResourceNotFound = 6, - /// Next page token specified in user request is invalid. + /// Next page token specified in user request is invalid. InvalidPageToken = 7, - /// Next page token specified in user request has expired. + /// Next page token specified in user request has expired. ExpiredPageToken = 8, - /// Page size specified in user request is invalid. + /// Page size specified in user request is invalid. InvalidPageSize = 22, - /// Required field is missing. + /// Required field is missing. RequiredFieldMissing = 9, - /// The field cannot be modified because it's immutable. It's also possible - /// that the field can be modified using 'create' operation but not 'update'. + /// The field cannot be modified because it's immutable. It's also possible + /// that the field can be modified using 'create' operation but not 'update'. ImmutableField = 11, - /// Received too many entries in request. + /// Received too many entries in request. TooManyMutateOperations = 13, - /// Request cannot be executed by a manager account. + /// Request cannot be executed by a manager account. CannotBeExecutedByManagerAccount = 14, - /// Mutate request was attempting to modify a readonly field. - /// For instance, Budget fields can be requested for Ad Group, - /// but are read-only for adGroups:mutate. + /// Mutate request was attempting to modify a readonly field. + /// For instance, Budget fields can be requested for Ad Group, + /// but are read-only for adGroups:mutate. CannotModifyForeignField = 15, - /// Enum value is not permitted. + /// Enum value is not permitted. InvalidEnumValue = 18, - /// The developer-token parameter is required for all requests. + /// The developer-token parameter is required for all requests. DeveloperTokenParameterMissing = 19, - /// The login-customer-id parameter is required for this request. + /// The login-customer-id parameter is required for this request. LoginCustomerIdParameterMissing = 20, - /// page_token is set in the validate only request + /// page_token is set in the validate only request ValidateOnlyRequestHasPageToken = 21, - /// return_summary_row cannot be enabled if request did not select any - /// metrics field. + /// return_summary_row cannot be enabled if request did not select any + /// metrics field. CannotReturnSummaryRowForRequestWithoutMetrics = 29, - /// return_summary_row should not be enabled for validate only requests. + /// return_summary_row should not be enabled for validate only requests. CannotReturnSummaryRowForValidateOnlyRequests = 30, - /// return_summary_row parameter value should be the same between requests - /// with page_token field set and their original request. + /// return_summary_row parameter value should be the same between requests + /// with page_token field set and their original request. InconsistentReturnSummaryRowValue = 31, - /// The total results count cannot be returned if it was not requested in the - /// original request. + /// The total results count cannot be returned if it was not requested in the + /// original request. TotalResultsCountNotOriginallyRequested = 32, - /// Deadline specified by the client was too short. + /// Deadline specified by the client was too short. RpcDeadlineTooShort = 33, } impl RequestError { @@ -9168,23 +9168,23 @@ pub mod request_error_enum { } } } -// Proto file describing resource access denied errors. +// Proto file describing resource access denied errors. -/// Container for enum describing possible resource access denied errors. +/// Container for enum describing possible resource access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceAccessDeniedErrorEnum { } /// Nested message and enum types in `ResourceAccessDeniedErrorEnum`. pub mod resource_access_denied_error_enum { - /// Enum describing possible resource access denied errors. + /// Enum describing possible resource access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User did not have write access. + /// User did not have write access. WriteAccessDenied = 3, } impl ResourceAccessDeniedError { @@ -9201,61 +9201,61 @@ pub mod resource_access_denied_error_enum { } } } -// Proto file describing resource count limit exceeded errors. +// Proto file describing resource count limit exceeded errors. -/// Container for enum describing possible resource count limit exceeded errors. +/// Container for enum describing possible resource count limit exceeded errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountLimitExceededErrorEnum { } /// Nested message and enum types in `ResourceCountLimitExceededErrorEnum`. pub mod resource_count_limit_exceeded_error_enum { - /// Enum describing possible resource count limit exceeded errors. + /// Enum describing possible resource count limit exceeded errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceCountLimitExceededError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Indicates that this request would exceed the number of allowed resources - /// for the Google Ads account. The exact resource type and limit being - /// checked can be inferred from accountLimitType. + /// Indicates that this request would exceed the number of allowed resources + /// for the Google Ads account. The exact resource type and limit being + /// checked can be inferred from accountLimitType. AccountLimit = 2, - /// Indicates that this request would exceed the number of allowed resources - /// in a Campaign. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// Campaign involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in a Campaign. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// Campaign involved is given by enclosingId. CampaignLimit = 3, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// ad group involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// ad group involved is given by enclosingId. AdgroupLimit = 4, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group ad. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the enclosingId - /// contains the ad group id followed by the ad id, separated by a single - /// comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group ad. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the enclosingId + /// contains the ad group id followed by the ad id, separated by a single + /// comma (,). AdGroupAdLimit = 5, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group criterion. The exact resource type and limit being checked - /// can be inferred from accountLimitType, and the - /// enclosingId contains the ad group id followed by the - /// criterion id, separated by a single comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group criterion. The exact resource type and limit being checked + /// can be inferred from accountLimitType, and the + /// enclosingId contains the ad group id followed by the + /// criterion id, separated by a single comma (,). AdGroupCriterionLimit = 6, - /// Indicates that this request would exceed the number of allowed resources - /// in this shared set. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the numeric id of the - /// shared set involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in this shared set. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the numeric id of the + /// shared set involved is given by enclosingId. SharedSetLimit = 7, - /// Exceeds a limit related to a matching function. + /// Exceeds a limit related to a matching function. MatchingFunctionLimit = 8, - /// The response for this request would exceed the maximum number of rows - /// that can be returned. + /// The response for this request would exceed the maximum number of rows + /// that can be returned. ResponseRowLimitExceeded = 9, - /// This request would exceed a limit on the number of allowed resources. - /// The details of which type of limit was exceeded will eventually be - /// returned in ErrorDetails. + /// This request would exceed a limit on the number of allowed resources. + /// The details of which type of limit was exceeded will eventually be + /// returned in ErrorDetails. ResourceLimit = 10, } impl ResourceCountLimitExceededError { @@ -9280,55 +9280,55 @@ pub mod resource_count_limit_exceeded_error_enum { } } } -// Proto file describing setting errors. +// Proto file describing setting errors. -/// Container for enum describing possible setting errors. +/// Container for enum describing possible setting errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SettingErrorEnum { } /// Nested message and enum types in `SettingErrorEnum`. pub mod setting_error_enum { - /// Enum describing possible setting errors. + /// Enum describing possible setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign setting is not available for this Google Ads account. + /// The campaign setting is not available for this Google Ads account. SettingTypeIsNotAvailable = 3, - /// The setting is not compatible with the campaign. + /// The setting is not compatible with the campaign. SettingTypeIsNotCompatibleWithCampaign = 4, - /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - /// CriterionTypeGroup documentation for CriterionTypeGroups allowed - /// in Campaign or AdGroup TargetingSettings. + /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See + /// CriterionTypeGroup documentation for CriterionTypeGroups allowed + /// in Campaign or AdGroup TargetingSettings. TargetingSettingContainsInvalidCriterionTypeGroup = 5, - /// TargetingSetting must not explicitly - /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - /// which case the system will set them to true automatically). + /// TargetingSetting must not explicitly + /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, + /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in + /// which case the system will set them to true automatically). TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll = 6, - /// TargetingSetting cannot change any of - /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - /// INCOME_RANGE) from true to false. + /// TargetingSetting cannot change any of + /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, + /// INCOME_RANGE) from true to false. TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup = 7, - /// At least one feed id should be present. + /// At least one feed id should be present. DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent = 8, - /// The supplied DynamicSearchAdsSetting contains an invalid domain name. + /// The supplied DynamicSearchAdsSetting contains an invalid domain name. DynamicSearchAdsSettingContainsInvalidDomainName = 9, - /// The supplied DynamicSearchAdsSetting contains a subdomain name. + /// The supplied DynamicSearchAdsSetting contains a subdomain name. DynamicSearchAdsSettingContainsSubdomainName = 10, - /// The supplied DynamicSearchAdsSetting contains an invalid language code. + /// The supplied DynamicSearchAdsSetting contains an invalid language code. DynamicSearchAdsSettingContainsInvalidLanguageCode = 11, - /// TargetingSettings in search campaigns should not have - /// CriterionTypeGroup.PLACEMENT set to targetAll. + /// TargetingSettings in search campaigns should not have + /// CriterionTypeGroup.PLACEMENT set to targetAll. TargetAllIsNotAllowedForPlacementInSearchCampaign = 12, - /// The setting value is not compatible with the campaign type. + /// The setting value is not compatible with the campaign type. SettingValueNotCompatibleWithCampaign = 20, - /// Switching from observation setting to targeting setting is not allowed - /// for Customer Match lists. See - /// + /// Switching from observation setting to targeting setting is not allowed + /// for Customer Match lists. See + /// BidOnlyIsNotAllowedToBeModifiedWithCustomerMatchTargeting = 21, } impl SettingError { @@ -9356,23 +9356,23 @@ pub mod setting_error_enum { } } } -// Proto file describing shared criterion errors. +// Proto file describing shared criterion errors. -/// Container for enum describing possible shared criterion errors. +/// Container for enum describing possible shared criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionErrorEnum { } /// Nested message and enum types in `SharedCriterionErrorEnum`. pub mod shared_criterion_error_enum { - /// Enum describing possible shared criterion errors. + /// Enum describing possible shared criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion is not appropriate for the shared set type. + /// The criterion is not appropriate for the shared set type. CriterionTypeNotAllowedForSharedSetType = 2, } impl SharedCriterionError { @@ -9389,29 +9389,29 @@ pub mod shared_criterion_error_enum { } } } -// Proto file describing shared set errors. +// Proto file describing shared set errors. -/// Container for enum describing possible shared set errors. +/// Container for enum describing possible shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetErrorEnum { } /// Nested message and enum types in `SharedSetErrorEnum`. pub mod shared_set_error_enum { - /// Enum describing possible shared set errors. + /// Enum describing possible shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer cannot create this type of shared set. + /// The customer cannot create this type of shared set. CustomerCannotCreateSharedSetOfThisType = 2, - /// A shared set with this name already exists. + /// A shared set with this name already exists. DuplicateName = 3, - /// Removed shared sets cannot be mutated. + /// Removed shared sets cannot be mutated. SharedSetRemoved = 4, - /// The shared set cannot be removed because it is in use. + /// The shared set cannot be removed because it is in use. SharedSetInUse = 5, } impl SharedSetError { @@ -9431,27 +9431,27 @@ pub mod shared_set_error_enum { } } } -// Proto file describing size limit errors. +// Proto file describing size limit errors. -/// Container for enum describing possible size limit errors. +/// Container for enum describing possible size limit errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SizeLimitErrorEnum { } /// Nested message and enum types in `SizeLimitErrorEnum`. pub mod size_limit_error_enum { - /// Enum describing possible size limit errors. + /// Enum describing possible size limit errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SizeLimitError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The number of entries in the request exceeds the system limit, or the - /// contents of the operations exceed transaction limits due to their size - /// or complexity. Try reducing the number of entries per request. + /// The number of entries in the request exceeds the system limit, or the + /// contents of the operations exceed transaction limits due to their size + /// or complexity. Try reducing the number of entries per request. RequestSizeLimitExceeded = 2, - /// The number of entries in the response exceeds the system limit. + /// The number of entries in the response exceeds the system limit. ResponseSizeLimitExceeded = 3, } impl SizeLimitError { @@ -9469,25 +9469,25 @@ pub mod size_limit_error_enum { } } } -// Proto file describing string format errors. +// Proto file describing string format errors. -/// Container for enum describing possible string format errors. +/// Container for enum describing possible string format errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFormatErrorEnum { } /// Nested message and enum types in `StringFormatErrorEnum`. pub mod string_format_error_enum { - /// Enum describing possible string format errors. + /// Enum describing possible string format errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringFormatError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input string value contains disallowed characters. + /// The input string value contains disallowed characters. IllegalChars = 2, - /// The input string value is invalid for the associated field. + /// The input string value is invalid for the associated field. InvalidFormat = 3, } impl StringFormatError { @@ -9505,28 +9505,28 @@ pub mod string_format_error_enum { } } } -// Proto file describing string length errors. +// Proto file describing string length errors. -/// Container for enum describing possible string length errors. +/// Container for enum describing possible string length errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringLengthErrorEnum { } /// Nested message and enum types in `StringLengthErrorEnum`. pub mod string_length_error_enum { - /// Enum describing possible string length errors. + /// Enum describing possible string length errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringLengthError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified field should have a least one non-whitespace character in - /// it. + /// The specified field should have a least one non-whitespace character in + /// it. Empty = 4, - /// Too short. + /// Too short. TooShort = 2, - /// Too long. + /// Too long. TooLong = 3, } impl StringLengthError { @@ -9545,30 +9545,30 @@ pub mod string_length_error_enum { } } } -// Proto file describing ThirdPartyAppAnalyticsLink errors. +// Proto file describing ThirdPartyAppAnalyticsLink errors. -/// Container for enum describing possible third party app analytics link errors. +/// Container for enum describing possible third party app analytics link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkErrorEnum { } /// Nested message and enum types in `ThirdPartyAppAnalyticsLinkErrorEnum`. pub mod third_party_app_analytics_link_error_enum { - /// Enum describing possible third party app analytics link errors. + /// Enum describing possible third party app analytics link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ThirdPartyAppAnalyticsLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The provided analytics provider ID is invalid. + /// The provided analytics provider ID is invalid. InvalidAnalyticsProviderId = 2, - /// The provided mobile app ID is invalid. + /// The provided mobile app ID is invalid. InvalidMobileAppId = 3, - /// The mobile app corresponding to the provided app ID is not - /// active/enabled. + /// The mobile app corresponding to the provided app ID is not + /// active/enabled. MobileAppIsNotEnabled = 4, - /// Regenerating shareable link ID is only allowed on active links + /// Regenerating shareable link ID is only allowed on active links CannotRegenerateShareableLinkIdForRemovedLink = 5, } impl ThirdPartyAppAnalyticsLinkError { @@ -9588,23 +9588,23 @@ pub mod third_party_app_analytics_link_error_enum { } } } -// Proto file describing time zone errors. +// Proto file describing time zone errors. -/// Container for enum describing possible time zone errors. +/// Container for enum describing possible time zone errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeZoneErrorEnum { } /// Nested message and enum types in `TimeZoneErrorEnum`. pub mod time_zone_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeZoneError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Time zone is not valid. + /// Time zone is not valid. InvalidTimeZone = 5, } impl TimeZoneError { @@ -9621,142 +9621,142 @@ pub mod time_zone_error_enum { } } } -// Proto file describing url field errors. +// Proto file describing url field errors. -/// Container for enum describing possible url field errors. +/// Container for enum describing possible url field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlFieldErrorEnum { } /// Nested message and enum types in `UrlFieldErrorEnum`. pub mod url_field_error_enum { - /// Enum describing possible url field errors. + /// Enum describing possible url field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UrlFieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The tracking url template is invalid. + /// The tracking url template is invalid. InvalidTrackingUrlTemplate = 2, - /// The tracking url template contains invalid tag. + /// The tracking url template contains invalid tag. InvalidTagInTrackingUrlTemplate = 3, - /// The tracking url template must contain at least one tag (for example, - /// {lpurl}), This applies only to tracking url template associated with - /// website ads or product ads. + /// The tracking url template must contain at least one tag (for example, + /// {lpurl}), This applies only to tracking url template associated with + /// website ads or product ads. MissingTrackingUrlTemplateTag = 4, - /// The tracking url template must start with a valid protocol (or lpurl - /// tag). + /// The tracking url template must start with a valid protocol (or lpurl + /// tag). MissingProtocolInTrackingUrlTemplate = 5, - /// The tracking url template starts with an invalid protocol. + /// The tracking url template starts with an invalid protocol. InvalidProtocolInTrackingUrlTemplate = 6, - /// The tracking url template contains illegal characters. + /// The tracking url template contains illegal characters. MalformedTrackingUrlTemplate = 7, - /// The tracking url template must contain a host name (or lpurl tag). + /// The tracking url template must contain a host name (or lpurl tag). MissingHostInTrackingUrlTemplate = 8, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInTrackingUrlTemplate = 9, - /// The tracking url template contains nested occurrences of the same - /// conditional tag (for example, {ifmobile:{ifmobile:x}}). + /// The tracking url template contains nested occurrences of the same + /// conditional tag (for example, {ifmobile:{ifmobile:x}}). RedundantNestedTrackingUrlTemplateTag = 10, - /// The final url is invalid. + /// The final url is invalid. InvalidFinalUrl = 11, - /// The final url contains invalid tag. + /// The final url contains invalid tag. InvalidTagInFinalUrl = 12, - /// The final url contains nested occurrences of the same conditional tag - /// (for example, {ifmobile:{ifmobile:x}}). + /// The final url contains nested occurrences of the same conditional tag + /// (for example, {ifmobile:{ifmobile:x}}). RedundantNestedFinalUrlTag = 13, - /// The final url must start with a valid protocol. + /// The final url must start with a valid protocol. MissingProtocolInFinalUrl = 14, - /// The final url starts with an invalid protocol. + /// The final url starts with an invalid protocol. InvalidProtocolInFinalUrl = 15, - /// The final url contains illegal characters. + /// The final url contains illegal characters. MalformedFinalUrl = 16, - /// The final url must contain a host name. + /// The final url must contain a host name. MissingHostInFinalUrl = 17, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalUrl = 18, - /// The final mobile url is invalid. + /// The final mobile url is invalid. InvalidFinalMobileUrl = 19, - /// The final mobile url contains invalid tag. + /// The final mobile url contains invalid tag. InvalidTagInFinalMobileUrl = 20, - /// The final mobile url contains nested occurrences of the same conditional - /// tag (for example, {ifmobile:{ifmobile:x}}). + /// The final mobile url contains nested occurrences of the same conditional + /// tag (for example, {ifmobile:{ifmobile:x}}). RedundantNestedFinalMobileUrlTag = 21, - /// The final mobile url must start with a valid protocol. + /// The final mobile url must start with a valid protocol. MissingProtocolInFinalMobileUrl = 22, - /// The final mobile url starts with an invalid protocol. + /// The final mobile url starts with an invalid protocol. InvalidProtocolInFinalMobileUrl = 23, - /// The final mobile url contains illegal characters. + /// The final mobile url contains illegal characters. MalformedFinalMobileUrl = 24, - /// The final mobile url must contain a host name. + /// The final mobile url must contain a host name. MissingHostInFinalMobileUrl = 25, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalMobileUrl = 26, - /// The final app url is invalid. + /// The final app url is invalid. InvalidFinalAppUrl = 27, - /// The final app url contains invalid tag. + /// The final app url contains invalid tag. InvalidTagInFinalAppUrl = 28, - /// The final app url contains nested occurrences of the same conditional tag - /// (for example, {ifmobile:{ifmobile:x}}). + /// The final app url contains nested occurrences of the same conditional tag + /// (for example, {ifmobile:{ifmobile:x}}). RedundantNestedFinalAppUrlTag = 29, - /// More than one app url found for the same OS type. + /// More than one app url found for the same OS type. MultipleAppUrlsForOstype = 30, - /// The OS type given for an app url is not valid. + /// The OS type given for an app url is not valid. InvalidOstype = 31, - /// The protocol given for an app url is not valid. (For example, - /// "android-app://") + /// The protocol given for an app url is not valid. (For example, + /// "android-app://") InvalidProtocolForAppUrl = 32, - /// The package id (app id) given for an app url is not valid. + /// The package id (app id) given for an app url is not valid. InvalidPackageIdForAppUrl = 33, - /// The number of url custom parameters for an resource exceeds the maximum - /// limit allowed. + /// The number of url custom parameters for an resource exceeds the maximum + /// limit allowed. UrlCustomParametersCountExceedsLimit = 34, - /// An invalid character appears in the parameter key. + /// An invalid character appears in the parameter key. InvalidCharactersInUrlCustomParameterKey = 39, - /// An invalid character appears in the parameter value. + /// An invalid character appears in the parameter value. InvalidCharactersInUrlCustomParameterValue = 40, - /// The url custom parameter value fails url tag validation. + /// The url custom parameter value fails url tag validation. InvalidTagInUrlCustomParameterValue = 41, - /// The custom parameter contains nested occurrences of the same conditional - /// tag (for example, {ifmobile:{ifmobile:x}}). + /// The custom parameter contains nested occurrences of the same conditional + /// tag (for example, {ifmobile:{ifmobile:x}}). RedundantNestedUrlCustomParameterTag = 42, - /// The protocol (http:// or https://) is missing. + /// The protocol (http:// or https://) is missing. MissingProtocol = 43, - /// Unsupported protocol in URL. Only http and https are supported. + /// Unsupported protocol in URL. Only http and https are supported. InvalidProtocol = 52, - /// The url is invalid. + /// The url is invalid. InvalidUrl = 44, - /// Destination Url is deprecated. + /// Destination Url is deprecated. DestinationUrlDeprecated = 45, - /// The url contains invalid tag. + /// The url contains invalid tag. InvalidTagInUrl = 46, - /// The url must contain at least one tag (for example, {lpurl}). + /// The url must contain at least one tag (for example, {lpurl}). MissingUrlTag = 47, - /// Duplicate url id. + /// Duplicate url id. DuplicateUrlId = 48, - /// Invalid url id. + /// Invalid url id. InvalidUrlId = 49, - /// The final url suffix cannot begin with '?' or '&' characters and must be - /// a valid query string. + /// The final url suffix cannot begin with '?' or '&' characters and must be + /// a valid query string. FinalUrlSuffixMalformed = 50, - /// The final url suffix cannot contain {lpurl} related or {ignore} tags. + /// The final url suffix cannot contain {lpurl} related or {ignore} tags. InvalidTagInFinalUrlSuffix = 51, - /// The top level domain is invalid, for example, not a public top level - /// domain listed in publicsuffix.org. + /// The top level domain is invalid, for example, not a public top level + /// domain listed in publicsuffix.org. InvalidTopLevelDomain = 53, - /// Malformed top level domain in URL. + /// Malformed top level domain in URL. MalformedTopLevelDomain = 54, - /// Malformed URL. + /// Malformed URL. MalformedUrl = 55, - /// No host found in URL. + /// No host found in URL. MissingHost = 56, - /// Custom parameter value cannot be null. + /// Custom parameter value cannot be null. NullCustomParameterValue = 57, - /// Track parameter is not supported. + /// Track parameter is not supported. ValueTrackParameterNotSupported = 58, } impl UrlFieldError { @@ -9825,28 +9825,28 @@ pub mod url_field_error_enum { } } } -// Proto file describing user data errors. +// Proto file describing user data errors. -/// Container for enum describing possible user data errors. +/// Container for enum describing possible user data errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataErrorEnum { } /// Nested message and enum types in `UserDataErrorEnum`. pub mod user_data_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserDataError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowed to perform operations related to Customer Match. + /// Customer is not allowed to perform operations related to Customer Match. OperationsForCustomerMatchNotAllowed = 2, - /// Maximum number of user identifiers allowed for each request is 100 and - /// for each operation is 20. + /// Maximum number of user identifiers allowed for each request is 100 and + /// for each operation is 20. TooManyUserIdentifiers = 3, - /// Current user list is not applicable for the given customer. + /// Current user list is not applicable for the given customer. UserListNotApplicable = 4, } impl UserDataError { @@ -9865,80 +9865,80 @@ pub mod user_data_error_enum { } } } -// Proto file describing user list errors. +// Proto file describing user list errors. -/// Container for enum describing possible user list errors. +/// Container for enum describing possible user list errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListErrorEnum { } /// Nested message and enum types in `UserListErrorEnum`. pub mod user_list_error_enum { - /// Enum describing possible user list errors. + /// Enum describing possible user list errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Creating and updating external remarketing user lists is not supported. + /// Creating and updating external remarketing user lists is not supported. ExternalRemarketingUserListMutateNotSupported = 2, - /// Concrete type of user list is required. + /// Concrete type of user list is required. ConcreteTypeRequired = 3, - /// Creating/updating user list conversion types requires specifying the - /// conversion type Id. + /// Creating/updating user list conversion types requires specifying the + /// conversion type Id. ConversionTypeIdRequired = 4, - /// Remarketing user list cannot have duplicate conversion types. + /// Remarketing user list cannot have duplicate conversion types. DuplicateConversionTypes = 5, - /// Conversion type is invalid/unknown. + /// Conversion type is invalid/unknown. InvalidConversionType = 6, - /// User list description is empty or invalid. + /// User list description is empty or invalid. InvalidDescription = 7, - /// User list name is empty or invalid. + /// User list name is empty or invalid. InvalidName = 8, - /// Type of the UserList does not match. + /// Type of the UserList does not match. InvalidType = 9, - /// Embedded logical user lists are not allowed. + /// Embedded logical user lists are not allowed. CanNotAddLogicalListAsLogicalListOperand = 10, - /// User list rule operand is invalid. + /// User list rule operand is invalid. InvalidUserListLogicalRuleOperand = 11, - /// Name is already being used for another user list for the account. + /// Name is already being used for another user list for the account. NameAlreadyUsed = 12, - /// Name is required when creating a new conversion type. + /// Name is required when creating a new conversion type. NewConversionTypeNameRequired = 13, - /// The given conversion type name has been used. + /// The given conversion type name has been used. ConversionTypeNameAlreadyUsed = 14, - /// Only an owner account may edit a user list. + /// Only an owner account may edit a user list. OwnershipRequiredForSet = 15, - /// Creating user list without setting type in oneof user_list field, or - /// creating/updating read-only user list types is not allowed. + /// Creating user list without setting type in oneof user_list field, or + /// creating/updating read-only user list types is not allowed. UserListMutateNotSupported = 16, - /// Rule is invalid. + /// Rule is invalid. InvalidRule = 17, - /// The specified date range is empty. + /// The specified date range is empty. InvalidDateRange = 27, - /// A UserList which is privacy sensitive or legal rejected cannot be mutated - /// by external users. + /// A UserList which is privacy sensitive or legal rejected cannot be mutated + /// by external users. CanNotMutateSensitiveUserlist = 28, - /// Maximum number of rulebased user lists a customer can have. + /// Maximum number of rulebased user lists a customer can have. MaxNumRulebasedUserlists = 29, - /// BasicUserList's billable record field cannot be modified once it is set. + /// BasicUserList's billable record field cannot be modified once it is set. CannotModifyBillableRecordCount = 30, - /// crm_based_user_list.app_id field must be set when upload_key_type is - /// MOBILE_ADVERTISING_ID. + /// crm_based_user_list.app_id field must be set when upload_key_type is + /// MOBILE_ADVERTISING_ID. AppIdNotSet = 31, - /// Name of the user list is reserved for system generated lists and cannot - /// be used. + /// Name of the user list is reserved for system generated lists and cannot + /// be used. UserlistNameIsReservedForSystemList = 32, - /// Advertiser needs to be on the allow-list to use remarketing lists created - /// from advertiser uploaded data (for example, Customer Match lists). + /// Advertiser needs to be on the allow-list to use remarketing lists created + /// from advertiser uploaded data (for example, Customer Match lists). AdvertiserNotOnAllowlistForUsingUploadedData = 37, - /// The provided rule_type is not supported for the user list. + /// The provided rule_type is not supported for the user list. RuleTypeIsNotSupported = 34, - /// Similar user list cannot be used as a logical user list operand. + /// Similar user list cannot be used as a logical user list operand. CanNotAddASimilarUserlistAsLogicalListOperand = 35, - /// Logical user list should not have a mix of CRM based user list and other - /// types of lists in its rules. + /// Logical user list should not have a mix of CRM based user list and other + /// types of lists in its rules. CanNotMixCrmBasedInLogicalListWithOtherLists = 36, } impl UserListError { @@ -9980,27 +9980,27 @@ pub mod user_list_error_enum { } } } -// Proto file describing YouTube video registration errors. +// Proto file describing YouTube video registration errors. -/// Container for enum describing YouTube video registration errors. +/// Container for enum describing YouTube video registration errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoRegistrationErrorEnum { } /// Nested message and enum types in `YoutubeVideoRegistrationErrorEnum`. pub mod youtube_video_registration_error_enum { - /// Enum describing YouTube video registration errors. + /// Enum describing YouTube video registration errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum YoutubeVideoRegistrationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Video to be registered wasn't found. + /// Video to be registered wasn't found. VideoNotFound = 2, - /// Video to be registered is not accessible (for example, private). + /// Video to be registered is not accessible (for example, private). VideoNotAccessible = 3, - /// Video to be registered is not eligible (for example, mature content). + /// Video to be registered is not eligible (for example, mature content). VideoNotEligible = 4, } impl YoutubeVideoRegistrationError { @@ -10019,571 +10019,571 @@ pub mod youtube_video_registration_error_enum { } } } -// Proto file describing the common error protos +// Proto file describing the common error protos -/// Describes how a GoogleAds API call failed. It's returned inside -/// google.rpc.Status.details when a call fails. +/// Describes how a GoogleAds API call failed. It's returned inside +/// google.rpc.Status.details when a call fails. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFailure { - /// The list of errors that occurred. + /// The list of errors that occurred. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// The unique ID of the request that is used for debugging purposes. + /// The unique ID of the request that is used for debugging purposes. #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// GoogleAds-specific error. +/// GoogleAds-specific error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsError { - /// An enum value that indicates which error occurred. + /// An enum value that indicates which error occurred. #[prost(message, optional, tag="1")] pub error_code: ::core::option::Option, - /// A human-readable description of the error. + /// A human-readable description of the error. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// The value that triggered the error. + /// The value that triggered the error. #[prost(message, optional, tag="3")] pub trigger: ::core::option::Option, - /// Describes the part of the request proto that caused the error. + /// Describes the part of the request proto that caused the error. #[prost(message, optional, tag="4")] pub location: ::core::option::Option, - /// Additional error details, which are returned by certain error codes. Most - /// error codes do not include details. + /// Additional error details, which are returned by certain error codes. Most + /// error codes do not include details. #[prost(message, optional, tag="5")] pub details: ::core::option::Option, } -/// The error reason represented by type and enum. +/// The error reason represented by type and enum. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorCode { - /// The list of error enums + /// The list of error enums #[prost(oneof="error_code::ErrorCode", tags="1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 161, 18, 159, 19, 21, 24, 25, 107, 149, 155, 148, 153, 154, 152, 26, 29, 166, 160, 31, 165, 109, 32, 150, 158, 90, 151, 33, 34, 35, 36, 37, 38, 39, 40, 110, 42, 116, 86, 162, 44, 45, 46, 47, 48, 49, 58, 51, 52, 53, 54, 55, 56, 57, 117, 59, 60, 61, 62, 63, 64, 65, 115, 143, 111, 145, 146, 66, 67, 68, 70, 71, 72, 132, 74, 133, 76, 77, 78, 136, 79, 80, 81, 82, 83, 84, 87, 88, 91, 92, 93, 94, 96, 97, 98, 100, 101, 102, 103, 140, 141, 104, 105, 112, 114, 118, 119, 137, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 134, 135, 138, 139, 164, 156, 167")] pub error_code: ::core::option::Option, } /// Nested message and enum types in `ErrorCode`. pub mod error_code { - /// The list of error enums + /// The list of error enums #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ErrorCode { - /// An error caused by the request + /// An error caused by the request #[prost(enumeration="super::request_error_enum::RequestError", tag="1")] RequestError(i32), - /// An error with a Bidding Strategy mutate. + /// An error with a Bidding Strategy mutate. #[prost(enumeration="super::bidding_strategy_error_enum::BiddingStrategyError", tag="2")] BiddingStrategyError(i32), - /// An error with a URL field mutate. + /// An error with a URL field mutate. #[prost(enumeration="super::url_field_error_enum::UrlFieldError", tag="3")] UrlFieldError(i32), - /// An error with a list operation. + /// An error with a list operation. #[prost(enumeration="super::list_operation_error_enum::ListOperationError", tag="4")] ListOperationError(i32), - /// An error with an AWQL query + /// An error with an AWQL query #[prost(enumeration="super::query_error_enum::QueryError", tag="5")] QueryError(i32), - /// An error with a mutate + /// An error with a mutate #[prost(enumeration="super::mutate_error_enum::MutateError", tag="7")] MutateError(i32), - /// An error with a field mask + /// An error with a field mask #[prost(enumeration="super::field_mask_error_enum::FieldMaskError", tag="8")] FieldMaskError(i32), - /// An error encountered when trying to authorize a user. + /// An error encountered when trying to authorize a user. #[prost(enumeration="super::authorization_error_enum::AuthorizationError", tag="9")] AuthorizationError(i32), - /// An unexpected server-side error. + /// An unexpected server-side error. #[prost(enumeration="super::internal_error_enum::InternalError", tag="10")] InternalError(i32), - /// An error with the amonut of quota remaining. + /// An error with the amonut of quota remaining. #[prost(enumeration="super::quota_error_enum::QuotaError", tag="11")] QuotaError(i32), - /// An error with an Ad Group Ad mutate. + /// An error with an Ad Group Ad mutate. #[prost(enumeration="super::ad_error_enum::AdError", tag="12")] AdError(i32), - /// An error with an Ad Group mutate. + /// An error with an Ad Group mutate. #[prost(enumeration="super::ad_group_error_enum::AdGroupError", tag="13")] AdGroupError(i32), - /// An error with a Campaign Budget mutate. + /// An error with a Campaign Budget mutate. #[prost(enumeration="super::campaign_budget_error_enum::CampaignBudgetError", tag="14")] CampaignBudgetError(i32), - /// An error with a Campaign mutate. + /// An error with a Campaign mutate. #[prost(enumeration="super::campaign_error_enum::CampaignError", tag="15")] CampaignError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::authentication_error_enum::AuthenticationError", tag="17")] AuthenticationError(i32), - /// The reasons for the ad group criterion customizer error. + /// The reasons for the ad group criterion customizer error. #[prost(enumeration="super::ad_group_criterion_customizer_error_enum::AdGroupCriterionCustomizerError", tag="161")] AdGroupCriterionCustomizerError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::ad_group_criterion_error_enum::AdGroupCriterionError", tag="18")] AdGroupCriterionError(i32), - /// The reasons for the ad group customizer error. + /// The reasons for the ad group customizer error. #[prost(enumeration="super::ad_group_customizer_error_enum::AdGroupCustomizerError", tag="159")] AdGroupCustomizerError(i32), - /// The reasons for the ad customizer error + /// The reasons for the ad customizer error #[prost(enumeration="super::ad_customizer_error_enum::AdCustomizerError", tag="19")] AdCustomizerError(i32), - /// The reasons for the ad group ad error + /// The reasons for the ad group ad error #[prost(enumeration="super::ad_group_ad_error_enum::AdGroupAdError", tag="21")] AdGroupAdError(i32), - /// The reasons for the ad sharing error + /// The reasons for the ad sharing error #[prost(enumeration="super::ad_sharing_error_enum::AdSharingError", tag="24")] AdSharingError(i32), - /// The reasons for the adx error + /// The reasons for the adx error #[prost(enumeration="super::adx_error_enum::AdxError", tag="25")] AdxError(i32), - /// The reasons for the asset error + /// The reasons for the asset error #[prost(enumeration="super::asset_error_enum::AssetError", tag="107")] AssetError(i32), - /// The reasons for the asset group asset error + /// The reasons for the asset group asset error #[prost(enumeration="super::asset_group_asset_error_enum::AssetGroupAssetError", tag="149")] AssetGroupAssetError(i32), - /// The reasons for the asset group listing group filter error + /// The reasons for the asset group listing group filter error #[prost(enumeration="super::asset_group_listing_group_filter_error_enum::AssetGroupListingGroupFilterError", tag="155")] AssetGroupListingGroupFilterError(i32), - /// The reasons for the asset group error + /// The reasons for the asset group error #[prost(enumeration="super::asset_group_error_enum::AssetGroupError", tag="148")] AssetGroupError(i32), - /// The reasons for the asset set asset error + /// The reasons for the asset set asset error #[prost(enumeration="super::asset_set_asset_error_enum::AssetSetAssetError", tag="153")] AssetSetAssetError(i32), - /// The reasons for the asset set link error + /// The reasons for the asset set link error #[prost(enumeration="super::asset_set_link_error_enum::AssetSetLinkError", tag="154")] AssetSetLinkError(i32), - /// The reasons for the asset set error + /// The reasons for the asset set error #[prost(enumeration="super::asset_set_error_enum::AssetSetError", tag="152")] AssetSetError(i32), - /// The reasons for the bidding errors + /// The reasons for the bidding errors #[prost(enumeration="super::bidding_error_enum::BiddingError", tag="26")] BiddingError(i32), - /// The reasons for the campaign criterion error + /// The reasons for the campaign criterion error #[prost(enumeration="super::campaign_criterion_error_enum::CampaignCriterionError", tag="29")] CampaignCriterionError(i32), - /// The reasons for the campaign conversion goal error + /// The reasons for the campaign conversion goal error #[prost(enumeration="super::campaign_conversion_goal_error_enum::CampaignConversionGoalError", tag="166")] CampaignConversionGoalError(i32), - /// The reasons for the campaign customizer error. + /// The reasons for the campaign customizer error. #[prost(enumeration="super::campaign_customizer_error_enum::CampaignCustomizerError", tag="160")] CampaignCustomizerError(i32), - /// The reasons for the collection size error + /// The reasons for the collection size error #[prost(enumeration="super::collection_size_error_enum::CollectionSizeError", tag="31")] CollectionSizeError(i32), - /// The reasons for the conversion goal campaign config error + /// The reasons for the conversion goal campaign config error #[prost(enumeration="super::conversion_goal_campaign_config_error_enum::ConversionGoalCampaignConfigError", tag="165")] ConversionGoalCampaignConfigError(i32), - /// The reasons for the country code error + /// The reasons for the country code error #[prost(enumeration="super::country_code_error_enum::CountryCodeError", tag="109")] CountryCodeError(i32), - /// The reasons for the criterion error + /// The reasons for the criterion error #[prost(enumeration="super::criterion_error_enum::CriterionError", tag="32")] CriterionError(i32), - /// The reasons for the custom conversion goal error + /// The reasons for the custom conversion goal error #[prost(enumeration="super::custom_conversion_goal_error_enum::CustomConversionGoalError", tag="150")] CustomConversionGoalError(i32), - /// The reasons for the customer customizer error. + /// The reasons for the customer customizer error. #[prost(enumeration="super::customer_customizer_error_enum::CustomerCustomizerError", tag="158")] CustomerCustomizerError(i32), - /// The reasons for the customer error + /// The reasons for the customer error #[prost(enumeration="super::customer_error_enum::CustomerError", tag="90")] CustomerError(i32), - /// The reasons for the customizer attribute error. + /// The reasons for the customizer attribute error. #[prost(enumeration="super::customizer_attribute_error_enum::CustomizerAttributeError", tag="151")] CustomizerAttributeError(i32), - /// The reasons for the date error + /// The reasons for the date error #[prost(enumeration="super::date_error_enum::DateError", tag="33")] DateError(i32), - /// The reasons for the date range error + /// The reasons for the date range error #[prost(enumeration="super::date_range_error_enum::DateRangeError", tag="34")] DateRangeError(i32), - /// The reasons for the distinct error + /// The reasons for the distinct error #[prost(enumeration="super::distinct_error_enum::DistinctError", tag="35")] DistinctError(i32), - /// The reasons for the feed attribute reference error + /// The reasons for the feed attribute reference error #[prost(enumeration="super::feed_attribute_reference_error_enum::FeedAttributeReferenceError", tag="36")] FeedAttributeReferenceError(i32), - /// The reasons for the function error + /// The reasons for the function error #[prost(enumeration="super::function_error_enum::FunctionError", tag="37")] FunctionError(i32), - /// The reasons for the function parsing error + /// The reasons for the function parsing error #[prost(enumeration="super::function_parsing_error_enum::FunctionParsingError", tag="38")] FunctionParsingError(i32), - /// The reasons for the id error + /// The reasons for the id error #[prost(enumeration="super::id_error_enum::IdError", tag="39")] IdError(i32), - /// The reasons for the image error + /// The reasons for the image error #[prost(enumeration="super::image_error_enum::ImageError", tag="40")] ImageError(i32), - /// The reasons for the language code error + /// The reasons for the language code error #[prost(enumeration="super::language_code_error_enum::LanguageCodeError", tag="110")] LanguageCodeError(i32), - /// The reasons for the media bundle error + /// The reasons for the media bundle error #[prost(enumeration="super::media_bundle_error_enum::MediaBundleError", tag="42")] MediaBundleError(i32), - /// The reasons for media uploading errors. + /// The reasons for media uploading errors. #[prost(enumeration="super::media_upload_error_enum::MediaUploadError", tag="116")] MediaUploadError(i32), - /// The reasons for the media file error + /// The reasons for the media file error #[prost(enumeration="super::media_file_error_enum::MediaFileError", tag="86")] MediaFileError(i32), - /// Container for enum describing possible merchant center errors. + /// Container for enum describing possible merchant center errors. #[prost(enumeration="super::merchant_center_error_enum::MerchantCenterError", tag="162")] MerchantCenterError(i32), - /// The reasons for the multiplier error + /// The reasons for the multiplier error #[prost(enumeration="super::multiplier_error_enum::MultiplierError", tag="44")] MultiplierError(i32), - /// The reasons for the new resource creation error + /// The reasons for the new resource creation error #[prost(enumeration="super::new_resource_creation_error_enum::NewResourceCreationError", tag="45")] NewResourceCreationError(i32), - /// The reasons for the not empty error + /// The reasons for the not empty error #[prost(enumeration="super::not_empty_error_enum::NotEmptyError", tag="46")] NotEmptyError(i32), - /// The reasons for the null error + /// The reasons for the null error #[prost(enumeration="super::null_error_enum::NullError", tag="47")] NullError(i32), - /// The reasons for the operator error + /// The reasons for the operator error #[prost(enumeration="super::operator_error_enum::OperatorError", tag="48")] OperatorError(i32), - /// The reasons for the range error + /// The reasons for the range error #[prost(enumeration="super::range_error_enum::RangeError", tag="49")] RangeError(i32), - /// The reasons for error in applying a recommendation + /// The reasons for error in applying a recommendation #[prost(enumeration="super::recommendation_error_enum::RecommendationError", tag="58")] RecommendationError(i32), - /// The reasons for the region code error + /// The reasons for the region code error #[prost(enumeration="super::region_code_error_enum::RegionCodeError", tag="51")] RegionCodeError(i32), - /// The reasons for the setting error + /// The reasons for the setting error #[prost(enumeration="super::setting_error_enum::SettingError", tag="52")] SettingError(i32), - /// The reasons for the string format error + /// The reasons for the string format error #[prost(enumeration="super::string_format_error_enum::StringFormatError", tag="53")] StringFormatError(i32), - /// The reasons for the string length error + /// The reasons for the string length error #[prost(enumeration="super::string_length_error_enum::StringLengthError", tag="54")] StringLengthError(i32), - /// The reasons for the operation access denied error + /// The reasons for the operation access denied error #[prost(enumeration="super::operation_access_denied_error_enum::OperationAccessDeniedError", tag="55")] OperationAccessDeniedError(i32), - /// The reasons for the resource access denied error + /// The reasons for the resource access denied error #[prost(enumeration="super::resource_access_denied_error_enum::ResourceAccessDeniedError", tag="56")] ResourceAccessDeniedError(i32), - /// The reasons for the resource count limit exceeded error + /// The reasons for the resource count limit exceeded error #[prost(enumeration="super::resource_count_limit_exceeded_error_enum::ResourceCountLimitExceededError", tag="57")] ResourceCountLimitExceededError(i32), - /// The reasons for YouTube video registration errors. + /// The reasons for YouTube video registration errors. #[prost(enumeration="super::youtube_video_registration_error_enum::YoutubeVideoRegistrationError", tag="117")] YoutubeVideoRegistrationError(i32), - /// The reasons for the ad group bid modifier error + /// The reasons for the ad group bid modifier error #[prost(enumeration="super::ad_group_bid_modifier_error_enum::AdGroupBidModifierError", tag="59")] AdGroupBidModifierError(i32), - /// The reasons for the context error + /// The reasons for the context error #[prost(enumeration="super::context_error_enum::ContextError", tag="60")] ContextError(i32), - /// The reasons for the field error + /// The reasons for the field error #[prost(enumeration="super::field_error_enum::FieldError", tag="61")] FieldError(i32), - /// The reasons for the shared set error + /// The reasons for the shared set error #[prost(enumeration="super::shared_set_error_enum::SharedSetError", tag="62")] SharedSetError(i32), - /// The reasons for the shared criterion error + /// The reasons for the shared criterion error #[prost(enumeration="super::shared_criterion_error_enum::SharedCriterionError", tag="63")] SharedCriterionError(i32), - /// The reasons for the campaign shared set error + /// The reasons for the campaign shared set error #[prost(enumeration="super::campaign_shared_set_error_enum::CampaignSharedSetError", tag="64")] CampaignSharedSetError(i32), - /// The reasons for the conversion action error + /// The reasons for the conversion action error #[prost(enumeration="super::conversion_action_error_enum::ConversionActionError", tag="65")] ConversionActionError(i32), - /// The reasons for the conversion adjustment upload error + /// The reasons for the conversion adjustment upload error #[prost(enumeration="super::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError", tag="115")] ConversionAdjustmentUploadError(i32), - /// The reasons for the conversion custom variable error + /// The reasons for the conversion custom variable error #[prost(enumeration="super::conversion_custom_variable_error_enum::ConversionCustomVariableError", tag="143")] ConversionCustomVariableError(i32), - /// The reasons for the conversion upload error + /// The reasons for the conversion upload error #[prost(enumeration="super::conversion_upload_error_enum::ConversionUploadError", tag="111")] ConversionUploadError(i32), - /// The reasons for the conversion value rule error + /// The reasons for the conversion value rule error #[prost(enumeration="super::conversion_value_rule_error_enum::ConversionValueRuleError", tag="145")] ConversionValueRuleError(i32), - /// The reasons for the conversion value rule set error + /// The reasons for the conversion value rule set error #[prost(enumeration="super::conversion_value_rule_set_error_enum::ConversionValueRuleSetError", tag="146")] ConversionValueRuleSetError(i32), - /// The reasons for the header error. + /// The reasons for the header error. #[prost(enumeration="super::header_error_enum::HeaderError", tag="66")] HeaderError(i32), - /// The reasons for the database error. + /// The reasons for the database error. #[prost(enumeration="super::database_error_enum::DatabaseError", tag="67")] DatabaseError(i32), - /// The reasons for the policy finding error. + /// The reasons for the policy finding error. #[prost(enumeration="super::policy_finding_error_enum::PolicyFindingError", tag="68")] PolicyFindingError(i32), - /// The reason for enum error. + /// The reason for enum error. #[prost(enumeration="super::enum_error_enum::EnumError", tag="70")] EnumError(i32), - /// The reason for keyword plan error. + /// The reason for keyword plan error. #[prost(enumeration="super::keyword_plan_error_enum::KeywordPlanError", tag="71")] KeywordPlanError(i32), - /// The reason for keyword plan campaign error. + /// The reason for keyword plan campaign error. #[prost(enumeration="super::keyword_plan_campaign_error_enum::KeywordPlanCampaignError", tag="72")] KeywordPlanCampaignError(i32), - /// The reason for keyword plan campaign keyword error. + /// The reason for keyword plan campaign keyword error. #[prost(enumeration="super::keyword_plan_campaign_keyword_error_enum::KeywordPlanCampaignKeywordError", tag="132")] KeywordPlanCampaignKeywordError(i32), - /// The reason for keyword plan ad group error. + /// The reason for keyword plan ad group error. #[prost(enumeration="super::keyword_plan_ad_group_error_enum::KeywordPlanAdGroupError", tag="74")] KeywordPlanAdGroupError(i32), - /// The reason for keyword plan ad group keyword error. + /// The reason for keyword plan ad group keyword error. #[prost(enumeration="super::keyword_plan_ad_group_keyword_error_enum::KeywordPlanAdGroupKeywordError", tag="133")] KeywordPlanAdGroupKeywordError(i32), - /// The reason for keyword idea error. + /// The reason for keyword idea error. #[prost(enumeration="super::keyword_plan_idea_error_enum::KeywordPlanIdeaError", tag="76")] KeywordPlanIdeaError(i32), - /// The reasons for account budget proposal errors. + /// The reasons for account budget proposal errors. #[prost(enumeration="super::account_budget_proposal_error_enum::AccountBudgetProposalError", tag="77")] AccountBudgetProposalError(i32), - /// The reasons for the user list error + /// The reasons for the user list error #[prost(enumeration="super::user_list_error_enum::UserListError", tag="78")] UserListError(i32), - /// The reasons for the change event error + /// The reasons for the change event error #[prost(enumeration="super::change_event_error_enum::ChangeEventError", tag="136")] ChangeEventError(i32), - /// The reasons for the change status error + /// The reasons for the change status error #[prost(enumeration="super::change_status_error_enum::ChangeStatusError", tag="79")] ChangeStatusError(i32), - /// The reasons for the feed error + /// The reasons for the feed error #[prost(enumeration="super::feed_error_enum::FeedError", tag="80")] FeedError(i32), - /// The reasons for the geo target constant suggestion error. + /// The reasons for the geo target constant suggestion error. #[prost(enumeration="super::geo_target_constant_suggestion_error_enum::GeoTargetConstantSuggestionError", tag="81")] GeoTargetConstantSuggestionError(i32), - /// The reasons for the campaign draft error + /// The reasons for the campaign draft error #[prost(enumeration="super::campaign_draft_error_enum::CampaignDraftError", tag="82")] CampaignDraftError(i32), - /// The reasons for the feed item error + /// The reasons for the feed item error #[prost(enumeration="super::feed_item_error_enum::FeedItemError", tag="83")] FeedItemError(i32), - /// The reason for the label error. + /// The reason for the label error. #[prost(enumeration="super::label_error_enum::LabelError", tag="84")] LabelError(i32), - /// The reasons for the billing setup error + /// The reasons for the billing setup error #[prost(enumeration="super::billing_setup_error_enum::BillingSetupError", tag="87")] BillingSetupError(i32), - /// The reasons for the customer client link error + /// The reasons for the customer client link error #[prost(enumeration="super::customer_client_link_error_enum::CustomerClientLinkError", tag="88")] CustomerClientLinkError(i32), - /// The reasons for the customer manager link error + /// The reasons for the customer manager link error #[prost(enumeration="super::customer_manager_link_error_enum::CustomerManagerLinkError", tag="91")] CustomerManagerLinkError(i32), - /// The reasons for the feed mapping error + /// The reasons for the feed mapping error #[prost(enumeration="super::feed_mapping_error_enum::FeedMappingError", tag="92")] FeedMappingError(i32), - /// The reasons for the customer feed error + /// The reasons for the customer feed error #[prost(enumeration="super::customer_feed_error_enum::CustomerFeedError", tag="93")] CustomerFeedError(i32), - /// The reasons for the ad group feed error + /// The reasons for the ad group feed error #[prost(enumeration="super::ad_group_feed_error_enum::AdGroupFeedError", tag="94")] AdGroupFeedError(i32), - /// The reasons for the campaign feed error + /// The reasons for the campaign feed error #[prost(enumeration="super::campaign_feed_error_enum::CampaignFeedError", tag="96")] CampaignFeedError(i32), - /// The reasons for the custom interest error + /// The reasons for the custom interest error #[prost(enumeration="super::custom_interest_error_enum::CustomInterestError", tag="97")] CustomInterestError(i32), - /// The reasons for the campaign experiment error + /// The reasons for the campaign experiment error #[prost(enumeration="super::campaign_experiment_error_enum::CampaignExperimentError", tag="98")] CampaignExperimentError(i32), - /// The reasons for the extension feed item error + /// The reasons for the extension feed item error #[prost(enumeration="super::extension_feed_item_error_enum::ExtensionFeedItemError", tag="100")] ExtensionFeedItemError(i32), - /// The reasons for the ad parameter error + /// The reasons for the ad parameter error #[prost(enumeration="super::ad_parameter_error_enum::AdParameterError", tag="101")] AdParameterError(i32), - /// The reasons for the feed item validation error + /// The reasons for the feed item validation error #[prost(enumeration="super::feed_item_validation_error_enum::FeedItemValidationError", tag="102")] FeedItemValidationError(i32), - /// The reasons for the extension setting error + /// The reasons for the extension setting error #[prost(enumeration="super::extension_setting_error_enum::ExtensionSettingError", tag="103")] ExtensionSettingError(i32), - /// The reasons for the feed item set error + /// The reasons for the feed item set error #[prost(enumeration="super::feed_item_set_error_enum::FeedItemSetError", tag="140")] FeedItemSetError(i32), - /// The reasons for the feed item set link error + /// The reasons for the feed item set link error #[prost(enumeration="super::feed_item_set_link_error_enum::FeedItemSetLinkError", tag="141")] FeedItemSetLinkError(i32), - /// The reasons for the feed item target error + /// The reasons for the feed item target error #[prost(enumeration="super::feed_item_target_error_enum::FeedItemTargetError", tag="104")] FeedItemTargetError(i32), - /// The reasons for the policy violation error + /// The reasons for the policy violation error #[prost(enumeration="super::policy_violation_error_enum::PolicyViolationError", tag="105")] PolicyViolationError(i32), - /// The reasons for the mutate job error + /// The reasons for the mutate job error #[prost(enumeration="super::partial_failure_error_enum::PartialFailureError", tag="112")] PartialFailureError(i32), - /// The reasons for the policy validation parameter error + /// The reasons for the policy validation parameter error #[prost(enumeration="super::policy_validation_parameter_error_enum::PolicyValidationParameterError", tag="114")] PolicyValidationParameterError(i32), - /// The reasons for the size limit error + /// The reasons for the size limit error #[prost(enumeration="super::size_limit_error_enum::SizeLimitError", tag="118")] SizeLimitError(i32), - /// The reasons for the offline user data job error. + /// The reasons for the offline user data job error. #[prost(enumeration="super::offline_user_data_job_error_enum::OfflineUserDataJobError", tag="119")] OfflineUserDataJobError(i32), - /// The reasons for the not allowlisted error + /// The reasons for the not allowlisted error #[prost(enumeration="super::not_allowlisted_error_enum::NotAllowlistedError", tag="137")] NotAllowlistedError(i32), - /// The reasons for the manager link error + /// The reasons for the manager link error #[prost(enumeration="super::manager_link_error_enum::ManagerLinkError", tag="121")] ManagerLinkError(i32), - /// The reasons for the currency code error + /// The reasons for the currency code error #[prost(enumeration="super::currency_code_error_enum::CurrencyCodeError", tag="122")] CurrencyCodeError(i32), - /// The reasons for the experiment error + /// The reasons for the experiment error #[prost(enumeration="super::experiment_error_enum::ExperimentError", tag="123")] ExperimentError(i32), - /// The reasons for the access invitation error + /// The reasons for the access invitation error #[prost(enumeration="super::access_invitation_error_enum::AccessInvitationError", tag="124")] AccessInvitationError(i32), - /// The reasons for the reach plan error + /// The reasons for the reach plan error #[prost(enumeration="super::reach_plan_error_enum::ReachPlanError", tag="125")] ReachPlanError(i32), - /// The reasons for the invoice error + /// The reasons for the invoice error #[prost(enumeration="super::invoice_error_enum::InvoiceError", tag="126")] InvoiceError(i32), - /// The reasons for errors in payments accounts service + /// The reasons for errors in payments accounts service #[prost(enumeration="super::payments_account_error_enum::PaymentsAccountError", tag="127")] PaymentsAccountError(i32), - /// The reasons for the time zone error + /// The reasons for the time zone error #[prost(enumeration="super::time_zone_error_enum::TimeZoneError", tag="128")] TimeZoneError(i32), - /// The reasons for the asset link error + /// The reasons for the asset link error #[prost(enumeration="super::asset_link_error_enum::AssetLinkError", tag="129")] AssetLinkError(i32), - /// The reasons for the user data error. + /// The reasons for the user data error. #[prost(enumeration="super::user_data_error_enum::UserDataError", tag="130")] UserDataError(i32), - /// The reasons for the batch job error + /// The reasons for the batch job error #[prost(enumeration="super::batch_job_error_enum::BatchJobError", tag="131")] BatchJobError(i32), - /// The reasons for the account link status change error + /// The reasons for the account link status change error #[prost(enumeration="super::account_link_error_enum::AccountLinkError", tag="134")] AccountLinkError(i32), - /// The reasons for the third party app analytics link mutate error + /// The reasons for the third party app analytics link mutate error #[prost(enumeration="super::third_party_app_analytics_link_error_enum::ThirdPartyAppAnalyticsLinkError", tag="135")] ThirdPartyAppAnalyticsLinkError(i32), - /// The reasons for the customer user access mutate error + /// The reasons for the customer user access mutate error #[prost(enumeration="super::customer_user_access_error_enum::CustomerUserAccessError", tag="138")] CustomerUserAccessError(i32), - /// The reasons for the custom audience error + /// The reasons for the custom audience error #[prost(enumeration="super::custom_audience_error_enum::CustomAudienceError", tag="139")] CustomAudienceError(i32), - /// The reasons for the audience error + /// The reasons for the audience error #[prost(enumeration="super::audience_error_enum::AudienceError", tag="164")] AudienceError(i32), - /// The reasons for the experiment arm error + /// The reasons for the experiment arm error #[prost(enumeration="super::experiment_arm_error_enum::ExperimentArmError", tag="156")] ExperimentArmError(i32), - /// The reasons for the Audience Insights error + /// The reasons for the Audience Insights error #[prost(enumeration="super::audience_insights_error_enum::AudienceInsightsError", tag="167")] AudienceInsightsError(i32), } } -/// Describes the part of the request proto that caused the error. +/// Describes the part of the request proto that caused the error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorLocation { - /// A field path that indicates which field was invalid in the request. + /// A field path that indicates which field was invalid in the request. #[prost(message, repeated, tag="2")] pub field_path_elements: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ErrorLocation`. pub mod error_location { - /// A part of a field path. + /// A part of a field path. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldPathElement { - /// The name of a field or a oneof + /// The name of a field or a oneof #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// If field_name is a repeated field, this is the element that failed + /// If field_name is a repeated field, this is the element that failed #[prost(int32, optional, tag="3")] pub index: ::core::option::Option, } } -/// Additional error details. +/// Additional error details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorDetails { - /// The error code that should have been returned, but wasn't. This is used - /// when the error code is not published in the client specified version. + /// The error code that should have been returned, but wasn't. This is used + /// when the error code is not published in the client specified version. #[prost(string, tag="1")] pub unpublished_error_code: ::prost::alloc::string::String, - /// Describes an ad policy violation. + /// Describes an ad policy violation. #[prost(message, optional, tag="2")] pub policy_violation_details: ::core::option::Option, - /// Describes policy violation findings. + /// Describes policy violation findings. #[prost(message, optional, tag="3")] pub policy_finding_details: ::core::option::Option, - /// Details on the quota error, including the scope (account or developer), the - /// rate bucket name and the retry delay. + /// Details on the quota error, including the scope (account or developer), the + /// rate bucket name and the retry delay. #[prost(message, optional, tag="4")] pub quota_error_details: ::core::option::Option, - /// Details for a resource count limit exceeded error. + /// Details for a resource count limit exceeded error. #[prost(message, optional, tag="5")] pub resource_count_details: ::core::option::Option, } -/// Error returned as part of a mutate response. -/// This error indicates single policy violation by some text -/// in one of the fields. +/// Error returned as part of a mutate response. +/// This error indicates single policy violation by some text +/// in one of the fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationDetails { - /// Human readable description of policy violation. + /// Human readable description of policy violation. #[prost(string, tag="2")] pub external_policy_description: ::prost::alloc::string::String, - /// Unique identifier for this violation. - /// If policy is exemptible, this key may be used to request exemption. + /// Unique identifier for this violation. + /// If policy is exemptible, this key may be used to request exemption. #[prost(message, optional, tag="4")] pub key: ::core::option::Option, - /// Human readable name of the policy. + /// Human readable name of the policy. #[prost(string, tag="5")] pub external_policy_name: ::prost::alloc::string::String, - /// Whether user can file an exemption request for this violation. + /// Whether user can file an exemption request for this violation. #[prost(bool, tag="6")] pub is_exemptible: bool, } -/// Error returned as part of a mutate response. -/// This error indicates one or more policy findings in the fields of a -/// resource. +/// Error returned as part of a mutate response. +/// This error indicates one or more policy findings in the fields of a +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingDetails { - /// The list of policy topics for the resource. Contains the PROHIBITED or - /// FULLY_LIMITED policy topic entries that prevented the resource from being - /// saved (among any other entries the resource may also have). + /// The list of policy topics for the resource. Contains the PROHIBITED or + /// FULLY_LIMITED policy topic entries that prevented the resource from being + /// saved (among any other entries the resource may also have). #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, } -/// Additional quota error details when there is QuotaError. +/// Additional quota error details when there is QuotaError. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorDetails { - /// The rate scope of the quota limit. + /// The rate scope of the quota limit. #[prost(enumeration="quota_error_details::QuotaRateScope", tag="1")] pub rate_scope: i32, - /// The high level description of the quota bucket. - /// Examples are "Get requests for standard access" or "Requests per account". + /// The high level description of the quota bucket. + /// Examples are "Get requests for standard access" or "Requests per account". #[prost(string, tag="2")] pub rate_name: ::prost::alloc::string::String, - /// Backoff period that customers should wait before sending next request. + /// Backoff period that customers should wait before sending next request. #[prost(message, optional, tag="3")] pub retry_delay: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `QuotaErrorDetails`. pub mod quota_error_details { - /// Enum of possible scopes that quota buckets belong to. + /// Enum of possible scopes that quota buckets belong to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaRateScope { - /// Unspecified enum + /// Unspecified enum Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per customer account quota + /// Per customer account quota Account = 2, - /// Per project or DevToken quota + /// Per project or DevToken quota Developer = 3, } impl QuotaRateScope { @@ -10601,24 +10601,24 @@ pub mod quota_error_details { } } } -/// Error details returned when an resource count limit was exceeded. +/// Error details returned when an resource count limit was exceeded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountDetails { - /// The ID of the resource whose limit was exceeded. - /// External customer ID if the limit is for a customer. + /// The ID of the resource whose limit was exceeded. + /// External customer ID if the limit is for a customer. #[prost(string, tag="1")] pub enclosing_id: ::prost::alloc::string::String, - /// The name of the resource (Customer, Campaign etc.) whose limit was - /// exceeded. + /// The name of the resource (Customer, Campaign etc.) whose limit was + /// exceeded. #[prost(string, tag="5")] pub enclosing_resource: ::prost::alloc::string::String, - /// The limit which was exceeded. + /// The limit which was exceeded. #[prost(int32, tag="2")] pub limit: i32, - /// The resource limit type which was exceeded. + /// The resource limit type which was exceeded. #[prost(enumeration="super::enums::resource_limit_type_enum::ResourceLimitType", tag="3")] pub limit_type: i32, - /// The count of existing entities. + /// The count of existing entities. #[prost(int32, tag="4")] pub existing_count: i32, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v11.resources.rs b/gcloud-sdk/genproto/google.ads.googleads.v11.resources.rs index f81ac3533..7c6cea672 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v11.resources.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v11.resources.rs @@ -1,1711 +1,1711 @@ -/// Represents a view of BiddingStrategies owned by and shared with the customer. +/// Represents a view of BiddingStrategies owned by and shared with the customer. /// -/// In contrast to BiddingStrategy, this resource includes strategies owned by -/// managers of the customer and shared with this customer - in addition to -/// strategies owned by this customer. This resource does not provide metrics and -/// only exposes a limited subset of the BiddingStrategy attributes. +/// In contrast to BiddingStrategy, this resource includes strategies owned by +/// managers of the customer and shared with this customer - in addition to +/// strategies owned by this customer. This resource does not provide metrics and +/// only exposes a limited subset of the BiddingStrategy attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessibleBiddingStrategy { - /// Output only. The resource name of the accessible bidding strategy. - /// AccessibleBiddingStrategy resource names have the form: + /// Output only. The resource name of the accessible bidding strategy. + /// AccessibleBiddingStrategy resource names have the form: /// - /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the bidding strategy. + /// Output only. The name of the bidding strategy. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The type of the bidding strategy. + /// Output only. The type of the bidding strategy. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="4")] pub r#type: i32, - /// Output only. The ID of the Customer which owns the bidding strategy. + /// Output only. The ID of the Customer which owns the bidding strategy. #[prost(int64, tag="5")] pub owner_customer_id: i64, - /// Output only. descriptive_name of the Customer which owns the bidding strategy. + /// Output only. descriptive_name of the Customer which owns the bidding strategy. #[prost(string, tag="6")] pub owner_descriptive_name: ::prost::alloc::string::String, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="accessible_bidding_strategy::Scheme", tags="7, 8, 9, 10, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `AccessibleBiddingStrategy`. pub mod accessible_bidding_strategy { - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy - /// will maximize revenue while averaging the target return on ad spend. If - /// the target ROAS is high, the bid strategy may not be able to spend the - /// full budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy + /// will maximize revenue while averaging the target return on ad spend. If + /// the target ROAS is high, the bid strategy may not be able to spend the + /// full budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="1")] pub target_roas: f64, } - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// Output only. The target cost per acquisition (CPA) option. This is the average amount - /// that you would like to spend per acquisition. + /// Output only. The target cost per acquisition (CPA) option. This is the average amount + /// that you would like to spend per acquisition. #[prost(int64, tag="2")] pub target_cpa_micros: i64, } - /// An automated bid strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// An automated bid strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Output only. Average CPA target. - /// This target should be greater than or equal to minimum billable unit - /// based on the currency for the account. + /// Output only. Average CPA target. + /// This target should be greater than or equal to minimum billable unit + /// based on the currency for the account. #[prost(int64, optional, tag="1")] pub target_cpa_micros: ::core::option::Option, } - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// Output only. The targeted location on the search results page. + /// Output only. The targeted location on the search results page. #[prost(enumeration="super::super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The chosen fraction of ads to be shown in the targeted location in - /// micros. For example, 1% equals 10,000. + /// The chosen fraction of ads to be shown in the targeted location in + /// micros. For example, 1% equals 10,000. #[prost(int64, optional, tag="2")] pub location_fraction_micros: ::core::option::Option, - /// Output only. The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// Output only. The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// An automated bidding strategy that helps you maximize revenue while - /// averaging a specific target return on ad spend (ROAS). + /// An automated bidding strategy that helps you maximize revenue while + /// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Output only. The chosen revenue (based on conversion data) per unit of spend. + /// Output only. The chosen revenue (based on conversion data) per unit of spend. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, } - /// An automated bid strategy that sets your bids to help get as many clicks - /// as possible within your budget. + /// An automated bid strategy that sets your bids to help get as many clicks + /// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// Output only. The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// Output only. The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="1")] pub target_spend_micros: ::core::option::Option, - /// Output only. Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Output only. Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="2")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// Output only. An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="7")] MaximizeConversionValue(MaximizeConversionValue), - /// Output only. An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="8")] MaximizeConversions(MaximizeConversions), - /// Output only. A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// Output only. A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(TargetCpa), - /// Output only. A bidding strategy that automatically optimizes towards a chosen - /// percentage of impressions. + /// Output only. A bidding strategy that automatically optimizes towards a chosen + /// percentage of impressions. #[prost(message, tag="10")] TargetImpressionShare(TargetImpressionShare), - /// Output only. A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// Output only. A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(TargetRoas), - /// Output only. A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// Output only. A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(TargetSpend), } } -// Proto file describing the AccountBudget resource. +// Proto file describing the AccountBudget resource. -/// An account-level budget. It contains information about the budget itself, -/// as well as the most recently approved changes to the budget and proposed -/// changes that are pending approval. The proposed changes that are pending -/// approval, if any, are found in 'pending_proposal'. Effective details about -/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -/// without a prefix. Since some effective details may differ from what the user -/// had originally requested (for example, spending limit), these differences are -/// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields. +/// An account-level budget. It contains information about the budget itself, +/// as well as the most recently approved changes to the budget and proposed +/// changes that are pending approval. The proposed changes that are pending +/// approval, if any, are found in 'pending_proposal'. Effective details about +/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those +/// without a prefix. Since some effective details may differ from what the user +/// had originally requested (for example, spending limit), these differences are +/// juxtaposed through 'proposed_', 'approved_', and possibly 'adjusted_' fields. /// -/// This resource is mutated using AccountBudgetProposal and cannot be mutated -/// directly. A budget may have at most one pending proposal at any given time. -/// It is read through pending_proposal. +/// This resource is mutated using AccountBudgetProposal and cannot be mutated +/// directly. A budget may have at most one pending proposal at any given time. +/// It is read through pending_proposal. /// -/// Once approved, a budget may be subject to adjustments, such as credit -/// adjustments. Adjustments create differences between the 'approved' and -/// 'adjusted' fields, which would otherwise be identical. +/// Once approved, a budget may be subject to adjustments, such as credit +/// adjustments. Adjustments create differences between the 'approved' and +/// 'adjusted' fields, which would otherwise be identical. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudget { - /// Output only. The resource name of the account-level budget. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account-level budget. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the account-level budget. + /// Output only. The ID of the account-level budget. #[prost(int64, optional, tag="23")] pub id: ::core::option::Option, - /// Output only. The resource name of the billing setup associated with this account-level - /// budget. BillingSetup resource names have the form: + /// Output only. The resource name of the billing setup associated with this account-level + /// budget. BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="24")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this account-level budget. + /// Output only. The status of this account-level budget. #[prost(enumeration="super::enums::account_budget_status_enum::AccountBudgetStatus", tag="4")] pub status: i32, - /// Output only. The name of the account-level budget. + /// Output only. The name of the account-level budget. #[prost(string, optional, tag="25")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The proposed start time of the account-level budget in - /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - /// this is the time of request. + /// Output only. The proposed start time of the account-level budget in + /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, + /// this is the time of request. #[prost(string, optional, tag="26")] pub proposed_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss - /// format. + /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss + /// format. /// - /// For example, if a new budget is approved after the proposed start time, - /// the approved start time is the time of approval. + /// For example, if a new budget is approved after the proposed start time, + /// the approved start time is the time of approval. #[prost(string, optional, tag="27")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The total adjustments amount. + /// Output only. The total adjustments amount. /// - /// An example of an adjustment is courtesy credits. + /// An example of an adjustment is courtesy credits. #[prost(int64, tag="33")] pub total_adjustments_micros: i64, - /// Output only. The value of Ads that have been served, in micros. + /// Output only. The value of Ads that have been served, in micros. /// - /// This includes overdelivery costs, in which case a credit might be - /// automatically applied to the budget (see total_adjustments_micros). + /// This includes overdelivery costs, in which case a credit might be + /// automatically applied to the budget (see total_adjustments_micros). #[prost(int64, tag="34")] pub amount_served_micros: i64, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="35")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with the budget. + /// Output only. Notes associated with the budget. #[prost(string, optional, tag="36")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pending proposal to modify this budget, if applicable. + /// Output only. The pending proposal to modify this budget, if applicable. #[prost(message, optional, tag="22")] pub pending_proposal: ::core::option::Option, - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[prost(oneof="account_budget::ProposedEndTime", tags="28, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[prost(oneof="account_budget::ApprovedEndTime", tags="29, 11")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget::ProposedSpendingLimit", tags="30, 13")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[prost(oneof="account_budget::ApprovedSpendingLimit", tags="31, 15")] pub approved_spending_limit: ::core::option::Option, - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[prost(oneof="account_budget::AdjustedSpendingLimit", tags="32, 17")] pub adjusted_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudget`. pub mod account_budget { - /// A pending proposal associated with the enclosing account-level budget, - /// if applicable. + /// A pending proposal associated with the enclosing account-level budget, + /// if applicable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PendingAccountBudgetProposal { - /// Output only. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Output only. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, optional, tag="12")] pub account_budget_proposal: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of this proposal, for example, END to end the budget associated - /// with this proposal. + /// Output only. The type of this proposal, for example, END to end the budget associated + /// with this proposal. #[prost(enumeration="super::super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="2")] pub proposal_type: i32, - /// Output only. The name to assign to the account-level budget. + /// Output only. The name to assign to the account-level budget. #[prost(string, optional, tag="13")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. #[prost(string, optional, tag="14")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="17")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with this budget. + /// Output only. Notes associated with this budget. #[prost(string, optional, tag="18")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this account-level budget proposal was created. - /// Formatted as yyyy-MM-dd HH:mm:ss. + /// Output only. The time when this account-level budget proposal was created. + /// Formatted as yyyy-MM-dd HH:mm:ss. #[prost(string, optional, tag="19")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[prost(oneof="pending_account_budget_proposal::EndTime", tags="15, 6")] pub end_time: ::core::option::Option, - /// The spending limit. + /// The spending limit. #[prost(oneof="pending_account_budget_proposal::SpendingLimit", tags="16, 8")] pub spending_limit: ::core::option::Option, } /// Nested message and enum types in `PendingAccountBudgetProposal`. pub mod pending_account_budget_proposal { - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="15")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a well-defined type, for example, FOREVER. + /// Output only. The end time as a well-defined type, for example, FOREVER. #[prost(enumeration="super::super::super::enums::time_type_enum::TimeType", tag="6")] EndTimeType(i32), } - /// The spending limit. + /// The spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SpendingLimit { - /// Output only. The spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="16")] SpendingLimitMicros(i64), - /// Output only. The spending limit as a well-defined type, for example, INFINITE. + /// Output only. The spending limit as a well-defined type, for example, INFINITE. #[prost(enumeration="super::super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="8")] SpendingLimitType(i32), } } - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="28")] ProposedEndDateTime(::prost::alloc::string::String), - /// Output only. The proposed end time as a well-defined type, for example, FOREVER. + /// Output only. The proposed end time as a well-defined type, for example, FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="29")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end time as a well-defined type, for example, FOREVER. + /// Output only. The approved end time as a well-defined type, for example, FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="11")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Output only. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="30")] ProposedSpendingLimitMicros(i64), - /// Output only. The proposed spending limit as a well-defined type, for example, - /// INFINITE. + /// Output only. The proposed spending limit as a well-defined type, for example, + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="13")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. This will only be populated if the proposed spending limit - /// is finite, and will always be greater than or equal to the - /// proposed spending limit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. This will only be populated if the proposed spending limit + /// is finite, and will always be greater than or equal to the + /// proposed spending limit. #[prost(int64, tag="31")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, for example, - /// INFINITE. This will only be populated if the approved spending limit is - /// INFINITE. + /// Output only. The approved spending limit as a well-defined type, for example, + /// INFINITE. This will only be populated if the approved spending limit is + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="15")] ApprovedSpendingLimitType(i32), } - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdjustedSpendingLimit { - /// Output only. The adjusted spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The adjusted spending limit in micros. One million is equivalent to + /// one unit. /// - /// If the approved spending limit is finite, the adjusted - /// spending limit may vary depending on the types of adjustments applied - /// to this budget, if applicable. + /// If the approved spending limit is finite, the adjusted + /// spending limit may vary depending on the types of adjustments applied + /// to this budget, if applicable. /// - /// The different kinds of adjustments are described here: - /// + /// The different kinds of adjustments are described here: + /// /// - /// For example, a debit adjustment reduces how much the account is - /// allowed to spend. + /// For example, a debit adjustment reduces how much the account is + /// allowed to spend. #[prost(int64, tag="32")] AdjustedSpendingLimitMicros(i64), - /// Output only. The adjusted spending limit as a well-defined type, for example, - /// INFINITE. This will only be populated if the adjusted spending limit is - /// INFINITE, which is guaranteed to be true if the approved spending limit - /// is INFINITE. + /// Output only. The adjusted spending limit as a well-defined type, for example, + /// INFINITE. This will only be populated if the adjusted spending limit is + /// INFINITE, which is guaranteed to be true if the approved spending limit + /// is INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="17")] AdjustedSpendingLimitType(i32), } } -// Proto file describing the AccountBudgetProposal resource. +// Proto file describing the AccountBudgetProposal resource. -/// An account-level budget proposal. +/// An account-level budget proposal. /// -/// All fields prefixed with 'proposed' may not necessarily be applied directly. -/// For example, proposed spending limits may be adjusted before their -/// application. This is true if the 'proposed' field has an 'approved' -/// counterpart, for example, spending limits. +/// All fields prefixed with 'proposed' may not necessarily be applied directly. +/// For example, proposed spending limits may be adjusted before their +/// application. This is true if the 'proposed' field has an 'approved' +/// counterpart, for example, spending limits. /// -/// Note that the proposal type (proposal_type) changes which fields are -/// required and which must remain empty. +/// Note that the proposal type (proposal_type) changes which fields are +/// required and which must remain empty. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposal { - /// Immutable. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Immutable. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the proposal. + /// Output only. The ID of the proposal. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Immutable. The resource name of the billing setup associated with this proposal. + /// Immutable. The resource name of the billing setup associated with this proposal. #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The resource name of the account-level budget associated with this - /// proposal. + /// Immutable. The resource name of the account-level budget associated with this + /// proposal. #[prost(string, optional, tag="27")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The type of this proposal, for example, END to end the budget associated - /// with this proposal. + /// Immutable. The type of this proposal, for example, END to end the budget associated + /// with this proposal. #[prost(enumeration="super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="4")] pub proposal_type: i32, - /// Output only. The status of this proposal. - /// When a new proposal is created, the status defaults to PENDING. + /// Output only. The status of this proposal. + /// When a new proposal is created, the status defaults to PENDING. #[prost(enumeration="super::enums::account_budget_proposal_status_enum::AccountBudgetProposalStatus", tag="15")] pub status: i32, - /// Immutable. The name to assign to the account-level budget. + /// Immutable. The name to assign to the account-level budget. #[prost(string, optional, tag="28")] pub proposed_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, optional, tag="30")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A purchase order number is a value that enables the user to help them - /// reference this budget in their monthly invoices. + /// Immutable. A purchase order number is a value that enables the user to help them + /// reference this budget in their monthly invoices. #[prost(string, optional, tag="35")] pub proposed_purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Notes associated with this budget. + /// Immutable. Notes associated with this budget. #[prost(string, optional, tag="36")] pub proposed_notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget proposal was created, which is - /// not the same as its approval date time, if applicable. + /// Output only. The date time when this account-level budget proposal was created, which is + /// not the same as its approval date time, if applicable. #[prost(string, optional, tag="37")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget was approved, if applicable. + /// Output only. The date time when this account-level budget was approved, if applicable. #[prost(string, optional, tag="38")] pub approval_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[prost(oneof="account_budget_proposal::ProposedStartTime", tags="29, 7")] pub proposed_start_time: ::core::option::Option, - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[prost(oneof="account_budget_proposal::ProposedEndTime", tags="31, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[prost(oneof="account_budget_proposal::ApprovedEndTime", tags="32, 22")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget_proposal::ProposedSpendingLimit", tags="33, 11")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. #[prost(oneof="account_budget_proposal::ApprovedSpendingLimit", tags="34, 24")] pub approved_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposal`. pub mod account_budget_proposal { - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedStartTime { - /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="29")] ProposedStartDateTime(::prost::alloc::string::String), - /// Immutable. The proposed start date time as a well-defined type, for example, NOW. + /// Immutable. The proposed start date time as a well-defined type, for example, NOW. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="7")] ProposedStartTimeType(i32), } - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="31")] ProposedEndDateTime(::prost::alloc::string::String), - /// Immutable. The proposed end date time as a well-defined type, for example, FOREVER. + /// Immutable. The proposed end date time as a well-defined type, for example, FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="32")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end date time as a well-defined type, for example, FOREVER. + /// Output only. The approved end date time as a well-defined type, for example, FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="22")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Immutable. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Immutable. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="33")] ProposedSpendingLimitMicros(i64), - /// Immutable. The proposed spending limit as a well-defined type, for example, - /// INFINITE. + /// Immutable. The proposed spending limit as a well-defined type, for example, + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="11")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="34")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, for example, - /// INFINITE. + /// Output only. The approved spending limit as a well-defined type, for example, + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="24")] ApprovedSpendingLimitType(i32), } } -/// Represents the data sharing connection between a Google Ads account and -/// another account +/// Represents the data sharing connection between a Google Ads account and +/// another account #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLink { - /// Immutable. Resource name of the account link. - /// AccountLink resource names have the form: - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// Immutable. Resource name of the account link. + /// AccountLink resource names have the form: + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the link. - /// This field is read only. + /// Output only. The ID of the link. + /// This field is read only. #[prost(int64, optional, tag="8")] pub account_link_id: ::core::option::Option, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::account_link_status_enum::AccountLinkStatus", tag="3")] pub status: i32, - /// Output only. The type of the linked account. + /// Output only. The type of the linked account. #[prost(enumeration="super::enums::linked_account_type_enum::LinkedAccountType", tag="4")] pub r#type: i32, - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[prost(oneof="account_link::LinkedAccount", tags="5, 6, 7, 9")] pub linked_account: ::core::option::Option, } /// Nested message and enum types in `AccountLink`. pub mod account_link { - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LinkedAccount { - /// Immutable. A third party app analytics link. + /// Immutable. A third party app analytics link. #[prost(message, tag="5")] ThirdPartyAppAnalytics(super::ThirdPartyAppAnalyticsLinkIdentifier), - /// Output only. Data partner link. + /// Output only. Data partner link. #[prost(message, tag="6")] DataPartner(super::DataPartnerLinkIdentifier), - /// Output only. Google Ads link. + /// Output only. Google Ads link. #[prost(message, tag="7")] GoogleAds(super::GoogleAdsLinkIdentifier), - /// Output only. Hotel link + /// Output only. Hotel link #[prost(message, tag="9")] HotelCenter(super::HotelCenterLinkIdentifier), } } -/// The identifiers of a Third Party App Analytics Link. +/// The identifiers of a Third Party App Analytics Link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkIdentifier { - /// Immutable. The ID of the app analytics provider. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The ID of the app analytics provider. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="4")] pub app_analytics_provider_id: ::core::option::Option, - /// Immutable. A string that uniquely identifies a mobile application from which the data - /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit - /// string that appears at the end of an App Store URL (for example, - /// "422689480" for "Gmail" whose App Store link is - /// ). For - /// Android, the ID string is the application's package name (for example, - /// "com.google.android.gm" for "Gmail" given Google Play link - /// ) - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. A string that uniquely identifies a mobile application from which the data + /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit + /// string that appears at the end of an App Store URL (for example, + /// "422689480" for "Gmail" whose App Store link is + /// ). For + /// Android, the ID string is the application's package name (for example, + /// "com.google.android.gm" for "Gmail" given Google Play link + /// ) + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="5")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The vendor of the app. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The vendor of the app. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="3")] pub app_vendor: i32, } -/// The identifier for Data Partner account. +/// The identifier for Data Partner account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataPartnerLinkIdentifier { - /// Immutable. The customer ID of the Data partner account. - /// This field is required and should not be empty when creating a new - /// data partner link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The customer ID of the Data partner account. + /// This field is required and should not be empty when creating a new + /// data partner link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="1")] pub data_partner_id: ::core::option::Option, } -/// The identifier for Hotel account. +/// The identifier for Hotel account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCenterLinkIdentifier { - /// Output only. The hotel center id of the hotel account. + /// Output only. The hotel center id of the hotel account. #[prost(int64, tag="1")] pub hotel_center_id: i64, } -/// The identifier for Google Ads account. +/// The identifier for Google Ads account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsLinkIdentifier { - /// Immutable. The resource name of the Google Ads account. - /// This field is required and should not be empty when creating a new - /// Google Ads link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The resource name of the Google Ads account. + /// This field is required and should not be empty when creating a new + /// Google Ads link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="3")] pub customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// An ad. +/// An ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Ad { - /// Immutable. The resource name of the ad. - /// Ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad resource names have the form: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(string, tag="37")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad. + /// Output only. The ID of the ad. #[prost(int64, optional, tag="40")] pub id: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="41")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final app URLs that will be used on mobile if the user has the - /// specific app installed. + /// A list of final app URLs that will be used on mobile if the user has the + /// specific app installed. #[prost(message, repeated, tag="35")] pub final_app_urls: ::prost::alloc::vec::Vec, - /// The list of possible final mobile URLs after all cross-domain redirects - /// for the ad. + /// The list of possible final mobile URLs after all cross-domain redirects + /// for the ad. #[prost(string, repeated, tag="42")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="43")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The suffix to use when constructing a final URL. + /// The suffix to use when constructing a final URL. #[prost(string, optional, tag="44")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings that can be used to substitute custom parameter tags - /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - /// For mutates, use url custom parameter operations. + /// The list of mappings that can be used to substitute custom parameter tags + /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// For mutates, use url custom parameter operations. #[prost(message, repeated, tag="10")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The URL that appears in the ad description for some ad formats. + /// The URL that appears in the ad description for some ad formats. #[prost(string, optional, tag="45")] pub display_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of ad. + /// Output only. The type of ad. #[prost(enumeration="super::enums::ad_type_enum::AdType", tag="5")] pub r#type: i32, - /// Output only. Indicates if this ad was automatically added by Google Ads and not by a - /// user. For example, this could happen when ads are automatically created as - /// suggestions for new ads based on knowledge of how existing ads are - /// performing. + /// Output only. Indicates if this ad was automatically added by Google Ads and not by a + /// user. For example, this could happen when ads are automatically created as + /// suggestions for new ads based on knowledge of how existing ads are + /// performing. #[prost(bool, optional, tag="46")] pub added_by_google_ads: ::core::option::Option, - /// The device preference for the ad. You can only specify a preference for - /// mobile devices. When this preference is set the ad will be preferred over - /// other ads when being displayed on a mobile device. The ad can still be - /// displayed on other device types, for example, if no other ads are - /// available. If unspecified (no device preference), all devices are targeted. - /// This is only supported by some ad types. + /// The device preference for the ad. You can only specify a preference for + /// mobile devices. When this preference is set the ad will be preferred over + /// other ads when being displayed on a mobile device. The ad can still be + /// displayed on other device types, for example, if no other ads are + /// available. If unspecified (no device preference), all devices are targeted. + /// This is only supported by some ad types. #[prost(enumeration="super::enums::device_enum::Device", tag="20")] pub device_preference: i32, - /// Additional URLs for the ad that are tagged with a unique identifier that - /// can be referenced from other fields in the ad. + /// Additional URLs for the ad that are tagged with a unique identifier that + /// can be referenced from other fields in the ad. #[prost(message, repeated, tag="26")] pub url_collections: ::prost::alloc::vec::Vec, - /// Immutable. The name of the ad. This is only used to be able to identify the ad. It - /// does not need to be unique and does not affect the served ad. The name - /// field is currently only supported for DisplayUploadAd, ImageAd, - /// ShoppingComparisonListingAd and VideoAd. + /// Immutable. The name of the ad. This is only used to be able to identify the ad. It + /// does not need to be unique and does not affect the served ad. The name + /// field is currently only supported for DisplayUploadAd, ImageAd, + /// ShoppingComparisonListingAd and VideoAd. #[prost(string, optional, tag="47")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. If this ad is system managed, then this field will indicate the source. - /// This field is read-only. + /// Output only. If this ad is system managed, then this field will indicate the source. + /// This field is read-only. #[prost(enumeration="super::enums::system_managed_resource_source_enum::SystemManagedResourceSource", tag="27")] pub system_managed_resource_source: i32, - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[prost(oneof="ad::AdData", tags="6, 7, 49, 14, 15, 17, 18, 21, 22, 24, 39, 25, 28, 29, 30, 31, 32, 33, 34, 36, 48, 50, 51, 52")] pub ad_data: ::core::option::Option, } /// Nested message and enum types in `Ad`. pub mod ad { - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdData { - /// Immutable. Details pertaining to a text ad. + /// Immutable. Details pertaining to a text ad. #[prost(message, tag="6")] TextAd(super::super::common::TextAdInfo), - /// Details pertaining to an expanded text ad. + /// Details pertaining to an expanded text ad. #[prost(message, tag="7")] ExpandedTextAd(super::super::common::ExpandedTextAdInfo), - /// Details pertaining to a call ad. + /// Details pertaining to a call ad. #[prost(message, tag="49")] CallAd(super::super::common::CallAdInfo), - /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. - /// This type of ad has its headline, final URLs, and display URL - /// auto-generated at serving time according to domain name specific - /// information provided by `dynamic_search_ads_setting` linked at the - /// campaign level. + /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. + /// This type of ad has its headline, final URLs, and display URL + /// auto-generated at serving time according to domain name specific + /// information provided by `dynamic_search_ads_setting` linked at the + /// campaign level. #[prost(message, tag="14")] ExpandedDynamicSearchAd(super::super::common::ExpandedDynamicSearchAdInfo), - /// Details pertaining to a hotel ad. + /// Details pertaining to a hotel ad. #[prost(message, tag="15")] HotelAd(super::super::common::HotelAdInfo), - /// Details pertaining to a Smart Shopping ad. + /// Details pertaining to a Smart Shopping ad. #[prost(message, tag="17")] ShoppingSmartAd(super::super::common::ShoppingSmartAdInfo), - /// Details pertaining to a Shopping product ad. + /// Details pertaining to a Shopping product ad. #[prost(message, tag="18")] ShoppingProductAd(super::super::common::ShoppingProductAdInfo), - /// Immutable. Details pertaining to a Gmail ad. + /// Immutable. Details pertaining to a Gmail ad. #[prost(message, tag="21")] GmailAd(super::super::common::GmailAdInfo), - /// Immutable. Details pertaining to an Image ad. + /// Immutable. Details pertaining to an Image ad. #[prost(message, tag="22")] ImageAd(super::super::common::ImageAdInfo), - /// Details pertaining to a Video ad. + /// Details pertaining to a Video ad. #[prost(message, tag="24")] VideoAd(super::super::common::VideoAdInfo), - /// Details pertaining to a Video responsive ad. + /// Details pertaining to a Video responsive ad. #[prost(message, tag="39")] VideoResponsiveAd(super::super::common::VideoResponsiveAdInfo), - /// Details pertaining to a responsive search ad. + /// Details pertaining to a responsive search ad. #[prost(message, tag="25")] ResponsiveSearchAd(super::super::common::ResponsiveSearchAdInfo), - /// Details pertaining to a legacy responsive display ad. + /// Details pertaining to a legacy responsive display ad. #[prost(message, tag="28")] LegacyResponsiveDisplayAd(super::super::common::LegacyResponsiveDisplayAdInfo), - /// Details pertaining to an app ad. + /// Details pertaining to an app ad. #[prost(message, tag="29")] AppAd(super::super::common::AppAdInfo), - /// Immutable. Details pertaining to a legacy app install ad. + /// Immutable. Details pertaining to a legacy app install ad. #[prost(message, tag="30")] LegacyAppInstallAd(super::super::common::LegacyAppInstallAdInfo), - /// Details pertaining to a responsive display ad. + /// Details pertaining to a responsive display ad. #[prost(message, tag="31")] ResponsiveDisplayAd(super::super::common::ResponsiveDisplayAdInfo), - /// Details pertaining to a local ad. + /// Details pertaining to a local ad. #[prost(message, tag="32")] LocalAd(super::super::common::LocalAdInfo), - /// Details pertaining to a display upload ad. + /// Details pertaining to a display upload ad. #[prost(message, tag="33")] DisplayUploadAd(super::super::common::DisplayUploadAdInfo), - /// Details pertaining to an app engagement ad. + /// Details pertaining to an app engagement ad. #[prost(message, tag="34")] AppEngagementAd(super::super::common::AppEngagementAdInfo), - /// Details pertaining to a Shopping Comparison Listing ad. + /// Details pertaining to a Shopping Comparison Listing ad. #[prost(message, tag="36")] ShoppingComparisonListingAd(super::super::common::ShoppingComparisonListingAdInfo), - /// Details pertaining to a Smart campaign ad. + /// Details pertaining to a Smart campaign ad. #[prost(message, tag="48")] SmartCampaignAd(super::super::common::SmartCampaignAdInfo), - /// Details pertaining to an app pre-registration ad. + /// Details pertaining to an app pre-registration ad. #[prost(message, tag="50")] AppPreRegistrationAd(super::super::common::AppPreRegistrationAdInfo), - /// Details pertaining to a discovery multi asset ad. + /// Details pertaining to a discovery multi asset ad. #[prost(message, tag="51")] DiscoveryMultiAssetAd(super::super::common::DiscoveryMultiAssetAdInfo), - /// Details pertaining to a discovery carousel ad. + /// Details pertaining to a discovery carousel ad. #[prost(message, tag="52")] DiscoveryCarouselAd(super::super::common::DiscoveryCarouselAdInfo), } } -// Proto file describing the ad group resource. +// Proto file describing the ad group resource. -/// An ad group. +/// An ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroup { - /// Immutable. The resource name of the ad group. - /// Ad group resource names have the form: + /// Immutable. The resource name of the ad group. + /// Ad group resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad group. + /// Output only. The ID of the ad group. #[prost(int64, optional, tag="34")] pub id: ::core::option::Option, - /// The name of the ad group. + /// The name of the ad group. /// - /// This field is required and should not be empty when creating new ad - /// groups. + /// This field is required and should not be empty when creating new ad + /// groups. /// - /// It must contain fewer than 255 UTF-8 full-width characters. + /// It must contain fewer than 255 UTF-8 full-width characters. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="35")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the ad group. + /// The status of the ad group. #[prost(enumeration="super::enums::ad_group_status_enum::AdGroupStatus", tag="5")] pub status: i32, - /// Immutable. The type of the ad group. + /// Immutable. The type of the ad group. #[prost(enumeration="super::enums::ad_group_type_enum::AdGroupType", tag="12")] pub r#type: i32, - /// The ad rotation mode of the ad group. + /// The ad rotation mode of the ad group. #[prost(enumeration="super::enums::ad_group_ad_rotation_mode_enum::AdGroupAdRotationMode", tag="22")] pub ad_rotation_mode: i32, - /// Output only. For draft or experiment ad groups, this field is the resource name of the - /// base ad group from which this ad group was created. If a draft or - /// experiment ad group does not have a base ad group, then this field is null. + /// Output only. For draft or experiment ad groups, this field is the resource name of the + /// base ad group from which this ad group was created. If a draft or + /// experiment ad group does not have a base ad group, then this field is null. /// - /// For base ad groups, this field equals the ad group resource name. + /// For base ad groups, this field equals the ad group resource name. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="36")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="37")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="6")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Immutable. The campaign to which the ad group belongs. + /// Immutable. The campaign to which the ad group belongs. #[prost(string, optional, tag="38")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum CPC (cost-per-click) bid. + /// The maximum CPC (cost-per-click) bid. #[prost(int64, optional, tag="39")] pub cpc_bid_micros: ::core::option::Option, - /// Output only. Value will be same as that of the CPC (cost-per-click) bid value when the - /// bidding strategy is one of manual cpc, enhanced cpc, page one promoted or - /// target outrank share, otherwise the value will be null. + /// Output only. Value will be same as that of the CPC (cost-per-click) bid value when the + /// bidding strategy is one of manual cpc, enhanced cpc, page one promoted or + /// target outrank share, otherwise the value will be null. #[prost(int64, optional, tag="57")] pub effective_cpc_bid_micros: ::core::option::Option, - /// The maximum CPM (cost-per-thousand viewable impressions) bid. + /// The maximum CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="40")] pub cpm_bid_micros: ::core::option::Option, - /// The target CPA (cost-per-acquisition). If the ad group's campaign - /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - /// field set), then this field overrides the target CPA specified in the - /// campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target CPA (cost-per-acquisition). If the ad group's campaign + /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa + /// field set), then this field overrides the target CPA specified in the + /// campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(int64, optional, tag="41")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The CPV (cost-per-view) bid. + /// Output only. The CPV (cost-per-view) bid. #[prost(int64, optional, tag="42")] pub cpv_bid_micros: ::core::option::Option, - /// Average amount in micros that the advertiser is willing to pay for every - /// thousand times the ad is shown. + /// Average amount in micros that the advertiser is willing to pay for every + /// thousand times the ad is shown. #[prost(int64, optional, tag="43")] pub target_cpm_micros: ::core::option::Option, - /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign - /// bidding strategy is TargetRoas or MaximizeConversionValue (with its - /// target_roas field set), then this field overrides the target ROAS specified - /// in the campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign + /// bidding strategy is TargetRoas or MaximizeConversionValue (with its + /// target_roas field set), then this field overrides the target ROAS specified + /// in the campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(double, optional, tag="44")] pub target_roas: ::core::option::Option, - /// The percent cpc bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The percent cpc bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="45")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Settings for the Display Campaign Optimizer, initially termed "Explorer". + /// Settings for the Display Campaign Optimizer, initially termed "Explorer". #[prost(message, optional, tag="21")] pub explorer_auto_optimizer_setting: ::core::option::Option, - /// Allows advertisers to specify a targeting dimension on which to place - /// absolute bids. This is only applicable for campaigns that target only the - /// display network and not search. + /// Allows advertisers to specify a targeting dimension on which to place + /// absolute bids. This is only applicable for campaigns that target only the + /// display network and not search. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="23")] pub display_custom_bid_dimension: i32, - /// URL template for appending params to Final URL. + /// URL template for appending params to Final URL. #[prost(string, optional, tag="46")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="25")] pub targeting_setting: ::core::option::Option, - /// Immutable. Setting for audience related features. + /// Immutable. Setting for audience related features. #[prost(message, optional, tag="56")] pub audience_setting: ::core::option::Option, - /// Output only. The effective target CPA (cost-per-acquisition). - /// This field is read-only. + /// Output only. The effective target CPA (cost-per-acquisition). + /// This field is read-only. #[prost(int64, optional, tag="47")] pub effective_target_cpa_micros: ::core::option::Option, - /// Output only. Source of the effective target CPA. - /// This field is read-only. + /// Output only. Source of the effective target CPA. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="29")] pub effective_target_cpa_source: i32, - /// Output only. The effective target ROAS (return-on-ad-spend). - /// This field is read-only. + /// Output only. The effective target ROAS (return-on-ad-spend). + /// This field is read-only. #[prost(double, optional, tag="48")] pub effective_target_roas: ::core::option::Option, - /// Output only. Source of the effective target ROAS. - /// This field is read-only. + /// Output only. Source of the effective target ROAS. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="32")] pub effective_target_roas_source: i32, - /// Output only. The resource names of labels attached to this ad group. + /// Output only. The resource names of labels attached to this ad group. #[prost(string, repeated, tag="49")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The asset field types that should be excluded from this ad group. Asset - /// links with these field types will not be inherited by this ad group from - /// the upper levels. + /// The asset field types that should be excluded from this ad group. Asset + /// links with these field types will not be inherited by this ad group from + /// the upper levels. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="54")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `AdGroup`. pub mod ad_group { - /// Settings for the audience targeting. + /// Settings for the audience targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSetting { - /// Immutable. If true, this ad group uses an Audience resource for audience targeting. - /// If false, this ad group may use audience segment criteria instead. + /// Immutable. If true, this ad group uses an Audience resource for audience targeting. + /// If false, this ad group may use audience segment criteria instead. #[prost(bool, tag="1")] pub use_audience_grouped: bool, } } -// Proto file describing the ad group ad resource. +// Proto file describing the ad group ad resource. -/// An ad group ad. +/// An ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAd { - /// Immutable. The resource name of the ad. - /// Ad group ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad group ad resource names have the form: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The status of the ad. + /// The status of the ad. #[prost(enumeration="super::enums::ad_group_ad_status_enum::AdGroupAdStatus", tag="3")] pub status: i32, - /// Immutable. The ad group to which the ad belongs. + /// Immutable. The ad group to which the ad belongs. #[prost(string, optional, tag="9")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad. + /// Immutable. The ad. #[prost(message, optional, tag="5")] pub ad: ::core::option::Option, - /// Output only. Policy information for the ad. + /// Output only. Policy information for the ad. #[prost(message, optional, tag="6")] pub policy_summary: ::core::option::Option, - /// Output only. Overall ad strength for this ad group ad. + /// Output only. Overall ad strength for this ad group ad. #[prost(enumeration="super::enums::ad_strength_enum::AdStrength", tag="7")] pub ad_strength: i32, - /// Output only. A list of recommendations to improve the ad strength. For example, a - /// recommendation could be "Your headlines are a little too similar. - /// Try adding more distinct headlines.". + /// Output only. A list of recommendations to improve the ad strength. For example, a + /// recommendation could be "Your headlines are a little too similar. + /// Try adding more distinct headlines.". #[prost(string, repeated, tag="13")] pub action_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group ad. + /// Output only. The resource names of labels attached to this ad group ad. #[prost(string, repeated, tag="10")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Contains policy information for an ad. +/// Contains policy information for an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdPolicySummary { - /// Output only. The list of policy findings for this ad. + /// Output only. The list of policy findings for this ad. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad is. + /// Output only. Where in the review process this ad is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad, calculated based on the status of - /// its individual policy topic entries. + /// Output only. The overall approval status of this ad, calculated based on the status of + /// its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the asset combination view resource. +// Proto file describing the asset combination view resource. -/// A view on the usage of ad group ad asset combination. -/// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, -/// with more ad types planned for the future. +/// A view on the usage of ad group ad asset combination. +/// Now we only support AdGroupAdAssetCombinationView for Responsive Search Ads, +/// with more ad types planned for the future. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetCombinationView { - /// Output only. The resource name of the ad group ad asset combination view. The - /// combination ID is 128 bits long, where the upper 64 bits are stored in - /// asset_combination_id_high, and the lower 64 bits are stored in - /// asset_combination_id_low. - /// AdGroupAd Asset Combination view resource names have the form: - /// `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` + /// Output only. The resource name of the ad group ad asset combination view. The + /// combination ID is 128 bits long, where the upper 64 bits are stored in + /// asset_combination_id_high, and the lower 64 bits are stored in + /// asset_combination_id_low. + /// AdGroupAd Asset Combination view resource names have the form: + /// `customers/{customer_id}/adGroupAdAssetCombinationViews/{AdGroupAd.ad_group_id}~{AdGroupAd.ad.ad_id}~{AssetCombination.asset_combination_id_low}~{AssetCombination.asset_combination_id_high}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Served assets. + /// Output only. Served assets. #[prost(message, repeated, tag="2")] pub served_assets: ::prost::alloc::vec::Vec, - /// Output only. The status between the asset combination and the latest version of the ad. - /// If true, the asset combination is linked to the latest version of the ad. - /// If false, it means the link once existed but has been removed and is no - /// longer present in the latest version of the ad. + /// Output only. The status between the asset combination and the latest version of the ad. + /// If true, the asset combination is linked to the latest version of the ad. + /// If false, it means the link once existed but has been removed and is no + /// longer present in the latest version of the ad. #[prost(bool, optional, tag="3")] pub enabled: ::core::option::Option, } -// Proto file describing the ad group ad asset view resource. +// Proto file describing the ad group ad asset view resource. -/// A link between an AdGroupAd and an Asset. -/// Currently we only support AdGroupAdAssetView for AppAds. +/// A link between an AdGroupAd and an Asset. +/// Currently we only support AdGroupAdAssetView for AppAds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetView { - /// Output only. The resource name of the ad group ad asset view. - /// Ad group ad asset view resource names have the form (Before V4): + /// Output only. The resource name of the ad group ad asset view. + /// Ad group ad asset view resource names have the form (Before V4): /// - /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` /// - /// Ad group ad asset view resource names have the form (Beginning from V4): + /// Ad group ad asset view resource names have the form (Beginning from V4): /// - /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ad group ad to which the asset is linked. + /// Output only. The ad group ad to which the asset is linked. #[prost(string, optional, tag="9")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The asset which is linked to the ad group ad. + /// Output only. The asset which is linked to the ad group ad. #[prost(string, optional, tag="10")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Role that the asset takes in the ad. + /// Output only. Role that the asset takes in the ad. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="2")] pub field_type: i32, - /// Output only. The status between the asset and the latest version of the ad. If true, the - /// asset is linked to the latest version of the ad. If false, it means the - /// link once existed but has been removed and is no longer present in the - /// latest version of the ad. + /// Output only. The status between the asset and the latest version of the ad. If true, the + /// asset is linked to the latest version of the ad. If false, it means the + /// link once existed but has been removed and is no longer present in the + /// latest version of the ad. #[prost(bool, optional, tag="8")] pub enabled: ::core::option::Option, - /// Output only. Policy information for the ad group ad asset. + /// Output only. Policy information for the ad group ad asset. #[prost(message, optional, tag="3")] pub policy_summary: ::core::option::Option, - /// Output only. Performance of an asset linkage. + /// Output only. Performance of an asset linkage. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="4")] pub performance_label: i32, } -/// Contains policy information for an ad group ad asset. +/// Contains policy information for an ad group ad asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetPolicySummary { - /// Output only. The list of policy findings for the ad group ad asset. + /// Output only. The list of policy findings for the ad group ad asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad group ad asset is. + /// Output only. Where in the review process this ad group ad asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad group ad asset, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of this ad group ad asset, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the ad group ad label resource. +// Proto file describing the ad group ad label resource. -/// A relationship between an ad group ad and a label. +/// A relationship between an ad group ad and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabel { - /// Immutable. The resource name of the ad group ad label. - /// Ad group ad label resource names have the form: - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + /// Immutable. The resource name of the ad group ad label. + /// Ad group ad label resource names have the form: + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group ad to which the label is attached. + /// Immutable. The ad group ad to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group ad. + /// Immutable. The label assigned to the ad group ad. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the AdGroupAsset resource. +// Proto file describing the AdGroupAsset resource. -/// A link between an ad group and an asset. +/// A link between an ad group and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAsset { - /// Immutable. The resource name of the ad group asset. - /// AdGroupAsset resource names have the form: + /// Immutable. The resource name of the ad group asset. + /// AdGroupAsset resource names have the form: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The ad group to which the asset is linked. + /// Required. Immutable. The ad group to which the asset is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the ad group. + /// Required. Immutable. The asset which is linked to the ad group. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes under the linked ad group. + /// Required. Immutable. Role that the asset takes under the linked ad group. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Output only. Source of the adgroup asset link. + /// Output only. Source of the adgroup asset link. #[prost(enumeration="super::enums::asset_source_enum::AssetSource", tag="6")] pub source: i32, - /// Status of the ad group asset. + /// Status of the ad group asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the ad group audience view resource. +// Proto file describing the ad group audience view resource. -/// An ad group audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated at the audience level. +/// An ad group audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated at the audience level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAudienceView { - /// Output only. The resource name of the ad group audience view. - /// Ad group audience view resource names have the form: + /// Output only. The resource name of the ad group audience view. + /// Ad group audience view resource names have the form: /// - /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the ad group bid modifier resource. +// Proto file describing the ad group bid modifier resource. -/// Represents an ad group bid modifier. +/// Represents an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifier { - /// Immutable. The resource name of the ad group bid modifier. - /// Ad group bid modifier resource names have the form: + /// Immutable. The resource name of the ad group bid modifier. + /// Ad group bid modifier resource names have the form: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which this criterion belongs. + /// Immutable. The ad group to which this criterion belongs. #[prost(string, optional, tag="13")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="14")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - /// Use 0 to opt out of a Device type. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. + /// Use 0 to opt out of a Device type. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Output only. The base ad group from which this draft/trial adgroup bid modifier was - /// created. If ad_group is a base ad group then this field will be equal to - /// ad_group. If the ad group was created in the draft or trial and has no - /// corresponding base ad group, then this field will be null. - /// This field is readonly. + /// Output only. The base ad group from which this draft/trial adgroup bid modifier was + /// created. If ad_group is a base ad group then this field will be equal to + /// ad_group. If the ad group was created in the draft or trial and has no + /// corresponding base ad group, then this field will be null. + /// This field is readonly. #[prost(string, optional, tag="16")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Bid modifier source. + /// Output only. Bid modifier source. #[prost(enumeration="super::enums::bid_modifier_source_enum::BidModifierSource", tag="10")] pub bid_modifier_source: i32, - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="ad_group_bid_modifier::Criterion", tags="5, 6, 7, 8, 11, 12, 17")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifier`. pub mod ad_group_bid_modifier { - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for hotel date selection (default dates versus user selected). + /// Immutable. Criterion for hotel date selection (default dates versus user selected). #[prost(message, tag="5")] HotelDateSelectionType(super::super::common::HotelDateSelectionTypeInfo), - /// Immutable. Criterion for number of days prior to the stay the booking is being made. + /// Immutable. Criterion for number of days prior to the stay the booking is being made. #[prost(message, tag="6")] HotelAdvanceBookingWindow(super::super::common::HotelAdvanceBookingWindowInfo), - /// Immutable. Criterion for length of hotel stay in nights. + /// Immutable. Criterion for length of hotel stay in nights. #[prost(message, tag="7")] HotelLengthOfStay(super::super::common::HotelLengthOfStayInfo), - /// Immutable. Criterion for day of the week the booking is for. + /// Immutable. Criterion for day of the week the booking is for. #[prost(message, tag="8")] HotelCheckInDay(super::super::common::HotelCheckInDayInfo), - /// Immutable. A device criterion. + /// Immutable. A device criterion. #[prost(message, tag="11")] Device(super::super::common::DeviceInfo), - /// Immutable. A preferred content criterion. + /// Immutable. A preferred content criterion. #[prost(message, tag="12")] PreferredContent(super::super::common::PreferredContentInfo), - /// Immutable. Criterion for a hotel check-in date range. + /// Immutable. Criterion for a hotel check-in date range. #[prost(message, tag="17")] HotelCheckInDateRange(super::super::common::HotelCheckInDateRangeInfo), } } -// Proto file describing the ad group criterion resource. +// Proto file describing the ad group criterion resource. -/// An ad group criterion. +/// An ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterion { - /// Immutable. The resource name of the ad group criterion. - /// Ad group criterion resource names have the form: + /// Immutable. The resource name of the ad group criterion. + /// Ad group criterion resource names have the form: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="56")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="77")] pub display_name: ::prost::alloc::string::String, - /// The status of the criterion. - /// - /// This is the status of the ad group criterion entity, set by the client. - /// Note: UI reports may incorporate additional information that affects - /// whether a criterion is eligible to run. In some cases a criterion that's - /// REMOVED in the API can still show as enabled in the UI. - /// For example, campaigns by default show to users of all age ranges unless - /// excluded. The UI will show each age range as "enabled", since they're - /// eligible to see the ads; but AdGroupCriterion.status will show "removed", - /// since no positive criterion was added. + /// The status of the criterion. + /// + /// This is the status of the ad group criterion entity, set by the client. + /// Note: UI reports may incorporate additional information that affects + /// whether a criterion is eligible to run. In some cases a criterion that's + /// REMOVED in the API can still show as enabled in the UI. + /// For example, campaigns by default show to users of all age ranges unless + /// excluded. The UI will show each age range as "enabled", since they're + /// eligible to see the ads; but AdGroupCriterion.status will show "removed", + /// since no positive criterion was added. #[prost(enumeration="super::enums::ad_group_criterion_status_enum::AdGroupCriterionStatus", tag="3")] pub status: i32, - /// Output only. Information regarding the quality of the criterion. + /// Output only. Information regarding the quality of the criterion. #[prost(message, optional, tag="4")] pub quality_info: ::core::option::Option, - /// Immutable. The ad group to which the criterion belongs. + /// Immutable. The ad group to which the criterion belongs. #[prost(string, optional, tag="57")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="25")] pub r#type: i32, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. /// - /// This field is immutable. To switch a criterion from positive to negative, - /// remove then re-add it. + /// This field is immutable. To switch a criterion from positive to negative, + /// remove then re-add it. #[prost(bool, optional, tag="58")] pub negative: ::core::option::Option, - /// Output only. Serving status of the criterion. + /// Output only. Serving status of the criterion. #[prost(enumeration="super::enums::criterion_system_serving_status_enum::CriterionSystemServingStatus", tag="52")] pub system_serving_status: i32, - /// Output only. Approval status of the criterion. + /// Output only. Approval status of the criterion. #[prost(enumeration="super::enums::ad_group_criterion_approval_status_enum::AdGroupCriterionApprovalStatus", tag="53")] pub approval_status: i32, - /// Output only. List of disapproval reasons of the criterion. + /// Output only. List of disapproval reasons of the criterion. /// - /// The different reasons for disapproving a criterion can be found here: - /// + /// The different reasons for disapproving a criterion can be found here: + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(string, repeated, tag="59")] pub disapproval_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group criterion. + /// Output only. The resource names of labels attached to this ad group criterion. #[prost(string, repeated, tag="60")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. #[prost(double, optional, tag="61")] pub bid_modifier: ::core::option::Option, - /// The CPC (cost-per-click) bid. + /// The CPC (cost-per-click) bid. #[prost(int64, optional, tag="62")] pub cpc_bid_micros: ::core::option::Option, - /// The CPM (cost-per-thousand viewable impressions) bid. + /// The CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="63")] pub cpm_bid_micros: ::core::option::Option, - /// The CPV (cost-per-view) bid. + /// The CPV (cost-per-view) bid. #[prost(int64, optional, tag="64")] pub cpv_bid_micros: ::core::option::Option, - /// The CPC bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The CPC bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="65")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPC (cost-per-click) bid. + /// Output only. The effective CPC (cost-per-click) bid. #[prost(int64, optional, tag="66")] pub effective_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="67")] pub effective_cpm_bid_micros: ::core::option::Option, - /// Output only. The effective CPV (cost-per-view) bid. + /// Output only. The effective CPV (cost-per-view) bid. #[prost(int64, optional, tag="68")] pub effective_cpv_bid_micros: ::core::option::Option, - /// Output only. The effective Percent CPC bid amount. + /// Output only. The effective Percent CPC bid amount. #[prost(int64, optional, tag="69")] pub effective_percent_cpc_bid_micros: ::core::option::Option, - /// Output only. Source of the effective CPC bid. + /// Output only. Source of the effective CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="21")] pub effective_cpc_bid_source: i32, - /// Output only. Source of the effective CPM bid. + /// Output only. Source of the effective CPM bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="22")] pub effective_cpm_bid_source: i32, - /// Output only. Source of the effective CPV bid. + /// Output only. Source of the effective CPV bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="23")] pub effective_cpv_bid_source: i32, - /// Output only. Source of the effective Percent CPC bid. + /// Output only. Source of the effective Percent CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="35")] pub effective_percent_cpc_bid_source: i32, - /// Output only. Estimates for criterion bids at various positions. + /// Output only. Estimates for criterion bids at various positions. #[prost(message, optional, tag="10")] pub position_estimates: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="70")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of possible final mobile URLs after all cross-domain redirects. + /// The list of possible final mobile URLs after all cross-domain redirects. #[prost(string, repeated, tag="71")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for appending params to final URL. + /// URL template for appending params to final URL. #[prost(string, optional, tag="72")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="73")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="14")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="ad_group_criterion::Criterion", tags="27, 28, 29, 30, 32, 36, 37, 38, 39, 42, 40, 41, 43, 45, 46, 47, 48, 49, 74, 75, 79")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterion`. pub mod ad_group_criterion { - /// A container for ad group criterion quality information. + /// A container for ad group criterion quality information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityInfo { - /// Output only. The quality score. + /// Output only. The quality score. /// - /// This field may not be populated if Google does not have enough - /// information to determine a value. + /// This field may not be populated if Google does not have enough + /// information to determine a value. #[prost(int32, optional, tag="5")] pub quality_score: ::core::option::Option, - /// Output only. The performance of the ad compared to other advertisers. + /// Output only. The performance of the ad compared to other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="2")] pub creative_quality_score: i32, - /// Output only. The quality score of the landing page. + /// Output only. The quality score of the landing page. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="3")] pub post_click_quality_score: i32, - /// Output only. The click-through rate compared to that of other advertisers. + /// Output only. The click-through rate compared to that of other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="4")] pub search_predicted_ctr: i32, } - /// Estimates for criterion bids at various positions. + /// Estimates for criterion bids at various positions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositionEstimates { - /// Output only. The estimate of the CPC bid required for ad to be shown on first - /// page of search results. + /// Output only. The estimate of the CPC bid required for ad to be shown on first + /// page of search results. #[prost(int64, optional, tag="6")] pub first_page_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed in first - /// position, at the top of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed in first + /// position, at the top of the first page of search results. #[prost(int64, optional, tag="7")] pub first_position_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed at the top - /// of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed at the top + /// of the first page of search results. #[prost(int64, optional, tag="8")] pub top_of_page_cpc_micros: ::core::option::Option, - /// Output only. Estimate of how many clicks per week you might get by changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how many clicks per week you might get by changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="9")] pub estimated_add_clicks_at_first_position_cpc: ::core::option::Option, - /// Output only. Estimate of how your cost per week might change when changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how your cost per week might change when changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="10")] pub estimated_add_cost_at_first_position_cpc: ::core::option::Option, } - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="27")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="28")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="29")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="30")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Listing group. + /// Immutable. Listing group. #[prost(message, tag="32")] ListingGroup(super::super::common::ListingGroupInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="36")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="37")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="38")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="39")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="42")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="40")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="41")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="43")] Topic(super::super::common::TopicInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="45")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage + /// Immutable. Webpage #[prost(message, tag="46")] Webpage(super::super::common::WebpageInfo), - /// Immutable. App Payment Model. + /// Immutable. App Payment Model. #[prost(message, tag="47")] AppPaymentModel(super::super::common::AppPaymentModelInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="48")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Intent. + /// Immutable. Custom Intent. #[prost(message, tag="49")] CustomIntent(super::super::common::CustomIntentInfo), - /// Immutable. Custom Audience. + /// Immutable. Custom Audience. #[prost(message, tag="74")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="75")] CombinedAudience(super::super::common::CombinedAudienceInfo), - /// Immutable. Audience. + /// Immutable. Audience. #[prost(message, tag="79")] Audience(super::super::common::AudienceInfo), } } -/// A customizer value for the associated CustomizerAttribute at the -/// AdGroupCriterion level. +/// A customizer value for the associated CustomizerAttribute at the +/// AdGroupCriterion level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizer { - /// Immutable. The resource name of the ad group criterion customizer. - /// Ad group criterion customizer resource names have the form: + /// Immutable. The resource name of the ad group criterion customizer. + /// Ad group criterion customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the customizer attribute is linked. - /// It must be a keyword criterion. + /// Immutable. The ad group criterion to which the customizer attribute is linked. + /// It must be a keyword criterion. #[prost(string, optional, tag="2")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. + /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group criterion customizer. + /// Output only. The status of the ad group criterion customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the ad group criterion label resource. +// Proto file describing the ad group criterion label resource. -/// A relationship between an ad group criterion and a label. +/// A relationship between an ad group criterion and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabel { - /// Immutable. The resource name of the ad group criterion label. - /// Ad group criterion label resource names have the form: - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// Immutable. The resource name of the ad group criterion label. + /// Ad group criterion label resource names have the form: + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the label is attached. + /// Immutable. The ad group criterion to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group criterion. + /// Immutable. The label assigned to the ad group criterion. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group criterion simulation resource. +// Proto file describing the ad group criterion simulation resource. -/// An ad group criterion simulation. Supported combinations of advertising -/// channel type, criterion type, simulation type, and simulation modification -/// method are detailed below respectively. Hotel AdGroupCriterion simulation -/// operations starting in V5. +/// An ad group criterion simulation. Supported combinations of advertising +/// channel type, criterion type, simulation type, and simulation modification +/// method are detailed below respectively. Hotel AdGroupCriterion simulation +/// operations starting in V5. /// -/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM +/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM +/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM +/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM +/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM +/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionSimulation { - /// Output only. The resource name of the ad group criterion simulation. - /// Ad group criterion simulation resource names have the form: + /// Output only. The resource name of the ad group criterion simulation. + /// Ad group criterion simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. AdGroup ID of the simulation. + /// Output only. AdGroup ID of the simulation. #[prost(int64, optional, tag="9")] pub ad_group_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_criterion_simulation::PointList", tags="8, 13")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionSimulation`. pub mod ad_group_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. #[prost(message, tag="13")] PercentCpcBidPointList(super::super::common::PercentCpcBidSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the AdGroup -/// level. +/// A customizer value for the associated CustomizerAttribute at the AdGroup +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizer { - /// Immutable. The resource name of the ad group customizer. - /// Ad group customizer resource names have the form: + /// Immutable. The resource name of the ad group customizer. + /// Ad group customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the customizer attribute is linked. + /// Immutable. The ad group to which the customizer attribute is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the ad group. + /// Required. Immutable. The customizer attribute which is linked to the ad group. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group customizer. + /// Output only. The status of the ad group customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the AdGroupExtensionSetting resource. +// Proto file describing the AdGroupExtensionSetting resource. -/// An ad group extension setting. +/// An ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSetting { - /// Immutable. The resource name of the ad group extension setting. - /// AdGroupExtensionSetting resource names have the form: + /// Immutable. The resource name of the ad group extension setting. + /// AdGroupExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the ad group extension setting. + /// Immutable. The extension type of the ad group extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the ad group. The linked extension feed items will - /// serve under this ad group. - /// AdGroup resource names have the form: + /// Immutable. The resource name of the ad group. The linked extension feed items will + /// serve under this ad group. + /// AdGroup resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the ad group. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the ad group. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the AdGroupFeed resource. +// Proto file describing the AdGroupFeed resource. -/// An ad group feed. +/// An ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeed { - /// Immutable. The resource name of the ad group feed. - /// Ad group feed resource names have the form: + /// Immutable. The resource name of the ad group feed. + /// Ad group feed resource names have the form: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the ad group. + /// Immutable. The feed being linked to the ad group. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad group being linked to the feed. + /// Immutable. The ad group being linked to the feed. #[prost(string, optional, tag="8")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// ad group. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// ad group. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the AdGroupFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the AdGroupFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the ad group feed. - /// This field is read-only. + /// Output only. Status of the ad group feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the ad group label resource. +// Proto file describing the ad group label resource. -/// A relationship between an ad group and a label. +/// A relationship between an ad group and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabel { - /// Immutable. The resource name of the ad group label. - /// Ad group label resource names have the form: - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// Immutable. The resource name of the ad group label. + /// Ad group label resource names have the form: + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the label is attached. + /// Immutable. The ad group to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group. + /// Immutable. The label assigned to the ad group. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group simulation resource. +// Proto file describing the ad group simulation resource. -/// An ad group simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification method is -/// detailed below respectively. +/// An ad group simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification method is +/// detailed below respectively. /// -/// 1. SEARCH - CPC_BID - DEFAULT -/// 2. SEARCH - CPC_BID - UNIFORM -/// 3. SEARCH - TARGET_CPA - UNIFORM -/// 4. SEARCH - TARGET_ROAS - UNIFORM -/// 5. DISPLAY - CPC_BID - DEFAULT -/// 6. DISPLAY - CPC_BID - UNIFORM -/// 7. DISPLAY - TARGET_CPA - UNIFORM +/// 1. SEARCH - CPC_BID - DEFAULT +/// 2. SEARCH - CPC_BID - UNIFORM +/// 3. SEARCH - TARGET_CPA - UNIFORM +/// 4. SEARCH - TARGET_ROAS - UNIFORM +/// 5. DISPLAY - CPC_BID - DEFAULT +/// 6. DISPLAY - CPC_BID - UNIFORM +/// 7. DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupSimulation { - /// Output only. The resource name of the ad group simulation. - /// Ad group simulation resource names have the form: + /// Output only. The resource name of the ad group simulation. + /// Ad group simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Ad group id of the simulation. + /// Output only. Ad group id of the simulation. #[prost(int64, optional, tag="12")] pub ad_group_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="13")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, optional, tag="14")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_simulation::PointList", tags="8, 10, 9, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupSimulation`. pub mod ad_group_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is CPV_BID. + /// Output only. Simulation points if the simulation type is CPV_BID. #[prost(message, tag="10")] CpvBidPointList(super::super::common::CpvBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="9")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="11")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the ad parameter resource. +// Proto file describing the ad parameter resource. -/// An ad parameter that is used to update numeric values (such as prices or -/// inventory levels) in any text line of an ad (including URLs). There can -/// be a maximum of two AdParameters per ad group criterion. (One with -/// parameter_index = 1 and one with parameter_index = 2.) -/// In the ad the parameters are referenced by a placeholder of the form -/// "{param#:value}". For example, "{param1:$17}" +/// An ad parameter that is used to update numeric values (such as prices or +/// inventory levels) in any text line of an ad (including URLs). There can +/// be a maximum of two AdParameters per ad group criterion. (One with +/// parameter_index = 1 and one with parameter_index = 2.) +/// In the ad the parameters are referenced by a placeholder of the form +/// "{param#:value}". For example, "{param1:$17}" #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameter { - /// Immutable. The resource name of the ad parameter. - /// Ad parameter resource names have the form: + /// Immutable. The resource name of the ad parameter. + /// Ad parameter resource names have the form: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion that this ad parameter belongs to. + /// Immutable. The ad group criterion that this ad parameter belongs to. #[prost(string, optional, tag="5")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. + /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. #[prost(int64, optional, tag="6")] pub parameter_index: ::core::option::Option, - /// Numeric value to insert into the ad text. The following restrictions + /// Numeric value to insert into the ad text. The following restrictions /// apply: /// - Can use comma or period as a separator, with an optional period or /// comma (respectively) for fractional values. For example, 1,000,000.00 @@ -1721,2480 +1721,2480 @@ pub struct AdParameter { #[prost(string, optional, tag="7")] pub insertion_text: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad schedule view resource. +// Proto file describing the ad schedule view resource. -/// An ad schedule view summarizes the performance of campaigns by -/// AdSchedule criteria. +/// An ad schedule view summarizes the performance of campaigns by +/// AdSchedule criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleView { - /// Output only. The resource name of the ad schedule view. - /// AdSchedule view resource names have the form: + /// Output only. The resource name of the ad schedule view. + /// AdSchedule view resource names have the form: /// - /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the age range view resource. +// Proto file describing the age range view resource. -/// An age range view. +/// An age range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeView { - /// Output only. The resource name of the age range view. - /// Age range view resource names have the form: + /// Output only. The resource name of the age range view. + /// Age range view resource names have the form: /// - /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the asset resource. +// Proto file describing the asset resource. -/// Asset is a part of an ad which can be shared across multiple ads. -/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -/// Assets are immutable and cannot be removed. To stop an asset from serving, -/// remove the asset from the entity that is using it. +/// Asset is a part of an ad which can be shared across multiple ads. +/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. +/// Assets are immutable and cannot be removed. To stop an asset from serving, +/// remove the asset from the entity that is using it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// Immutable. The resource name of the asset. - /// Asset resource names have the form: + /// Immutable. The resource name of the asset. + /// Asset resource names have the form: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset. + /// Output only. The ID of the asset. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Optional name of the asset. + /// Optional name of the asset. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the asset. + /// Output only. Type of the asset. #[prost(enumeration="super::enums::asset_type_enum::AssetType", tag="4")] pub r#type: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="14")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="16")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="17")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="18")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="19")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Source of the asset. + /// Output only. Source of the asset. #[prost(enumeration="super::enums::asset_source_enum::AssetSource", tag="38")] pub source: i32, - /// Output only. Policy information for the asset. + /// Output only. Policy information for the asset. #[prost(message, optional, tag="13")] pub policy_summary: ::core::option::Option, - /// The specific type of the asset. + /// The specific type of the asset. #[prost(oneof="asset::AssetData", tags="5, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37")] pub asset_data: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// The specific type of the asset. + /// The specific type of the asset. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AssetData { - /// Immutable. A YouTube video asset. + /// Immutable. A YouTube video asset. #[prost(message, tag="5")] YoutubeVideoAsset(super::super::common::YoutubeVideoAsset), - /// Immutable. A media bundle asset. + /// Immutable. A media bundle asset. #[prost(message, tag="6")] MediaBundleAsset(super::super::common::MediaBundleAsset), - /// Output only. An image asset. + /// Output only. An image asset. #[prost(message, tag="7")] ImageAsset(super::super::common::ImageAsset), - /// Immutable. A text asset. + /// Immutable. A text asset. #[prost(message, tag="8")] TextAsset(super::super::common::TextAsset), - /// A lead form asset. + /// A lead form asset. #[prost(message, tag="9")] LeadFormAsset(super::super::common::LeadFormAsset), - /// A book on google asset. + /// A book on google asset. #[prost(message, tag="10")] BookOnGoogleAsset(super::super::common::BookOnGoogleAsset), - /// A promotion asset. + /// A promotion asset. #[prost(message, tag="15")] PromotionAsset(super::super::common::PromotionAsset), - /// A callout asset. + /// A callout asset. #[prost(message, tag="20")] CalloutAsset(super::super::common::CalloutAsset), - /// A structured snippet asset. + /// A structured snippet asset. #[prost(message, tag="21")] StructuredSnippetAsset(super::super::common::StructuredSnippetAsset), - /// A sitelink asset. + /// A sitelink asset. #[prost(message, tag="22")] SitelinkAsset(super::super::common::SitelinkAsset), - /// A page feed asset. + /// A page feed asset. #[prost(message, tag="23")] PageFeedAsset(super::super::common::PageFeedAsset), - /// A dynamic education asset. + /// A dynamic education asset. #[prost(message, tag="24")] DynamicEducationAsset(super::super::common::DynamicEducationAsset), - /// A mobile app asset. + /// A mobile app asset. #[prost(message, tag="25")] MobileAppAsset(super::super::common::MobileAppAsset), - /// A hotel callout asset. + /// A hotel callout asset. #[prost(message, tag="26")] HotelCalloutAsset(super::super::common::HotelCalloutAsset), - /// A call asset. + /// A call asset. #[prost(message, tag="27")] CallAsset(super::super::common::CallAsset), - /// A price asset. + /// A price asset. #[prost(message, tag="28")] PriceAsset(super::super::common::PriceAsset), - /// Immutable. A call to action asset. + /// Immutable. A call to action asset. #[prost(message, tag="29")] CallToActionAsset(super::super::common::CallToActionAsset), - /// A dynamic real estate asset. + /// A dynamic real estate asset. #[prost(message, tag="30")] DynamicRealEstateAsset(super::super::common::DynamicRealEstateAsset), - /// A dynamic custom asset. + /// A dynamic custom asset. #[prost(message, tag="31")] DynamicCustomAsset(super::super::common::DynamicCustomAsset), - /// A dynamic hotels and rentals asset. + /// A dynamic hotels and rentals asset. #[prost(message, tag="32")] DynamicHotelsAndRentalsAsset(super::super::common::DynamicHotelsAndRentalsAsset), - /// A dynamic flights asset. + /// A dynamic flights asset. #[prost(message, tag="33")] DynamicFlightsAsset(super::super::common::DynamicFlightsAsset), - /// Immutable. A discovery carousel card asset. + /// Immutable. A discovery carousel card asset. #[prost(message, tag="34")] DiscoveryCarouselCardAsset(super::super::common::DiscoveryCarouselCardAsset), - /// A dynamic travel asset. + /// A dynamic travel asset. #[prost(message, tag="35")] DynamicTravelAsset(super::super::common::DynamicTravelAsset), - /// A dynamic local asset. + /// A dynamic local asset. #[prost(message, tag="36")] DynamicLocalAsset(super::super::common::DynamicLocalAsset), - /// A dynamic jobs asset. + /// A dynamic jobs asset. #[prost(message, tag="37")] DynamicJobsAsset(super::super::common::DynamicJobsAsset), } } -/// Contains policy information for an asset. +/// Contains policy information for an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPolicySummary { - /// Output only. The list of policy findings for this asset. + /// Output only. The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this asset is. + /// Output only. Where in the review process this asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this asset, calculated based on the status - /// of its individual policy topic entries. + /// Output only. The overall approval status of this asset, calculated based on the status + /// of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the AssetFieldTypeView resource. +// Proto file describing the AssetFieldTypeView resource. -/// An asset field type view. -/// This view reports non-overcounted metrics for each asset field type when the -/// asset is used as extension. +/// An asset field type view. +/// This view reports non-overcounted metrics for each asset field type when the +/// asset is used as extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeView { - /// Output only. The resource name of the asset field type view. - /// Asset field type view resource names have the form: + /// Output only. The resource name of the asset field type view. + /// Asset field type view resource names have the form: /// - /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` + /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The asset field type of the asset field type view. + /// Output only. The asset field type of the asset field type view. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, } -/// An asset group. -/// AssetGroupAsset is used to link an asset to the asset group. -/// AssetGroupSignal is used to associate a signal to an asset group. +/// An asset group. +/// AssetGroupAsset is used to link an asset to the asset group. +/// AssetGroupSignal is used to associate a signal to an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroup { - /// Immutable. The resource name of the asset group. - /// Asset group resource names have the form: + /// Immutable. The resource name of the asset group. + /// Asset group resource names have the form: /// - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset group. + /// Output only. The ID of the asset group. #[prost(int64, tag="9")] pub id: i64, - /// Immutable. The campaign with which this asset group is associated. - /// The asset which is linked to the asset group. + /// Immutable. The campaign with which this asset group is associated. + /// The asset which is linked to the asset group. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Name of the asset group. Required. It must have a minimum length of 1 and - /// maximum length of 128. It must be unique under a campaign. + /// Required. Name of the asset group. Required. It must have a minimum length of 1 and + /// maximum length of 128. It must be unique under a campaign. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// A list of final URLs after all cross domain redirects. In performance max, - /// by default, the urls are eligible for expansion unless opted out. + /// A list of final URLs after all cross domain redirects. In performance max, + /// by default, the urls are eligible for expansion unless opted out. #[prost(string, repeated, tag="4")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final mobile URLs after all cross domain redirects. In - /// performance max, by default, the urls are eligible for expansion - /// unless opted out. + /// A list of final mobile URLs after all cross domain redirects. In + /// performance max, by default, the urls are eligible for expansion + /// unless opted out. #[prost(string, repeated, tag="5")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the asset group. + /// The status of the asset group. #[prost(enumeration="super::enums::asset_group_status_enum::AssetGroupStatus", tag="6")] pub status: i32, - /// First part of text that may appear appended to the url displayed in - /// the ad. + /// First part of text that may appear appended to the url displayed in + /// the ad. #[prost(string, tag="7")] pub path1: ::prost::alloc::string::String, - /// Second part of text that may appear appended to the url displayed in - /// the ad. This field can only be set when path1 is set. + /// Second part of text that may appear appended to the url displayed in + /// the ad. This field can only be set when path1 is set. #[prost(string, tag="8")] pub path2: ::prost::alloc::string::String, - /// Output only. Overall ad strength of this asset group. + /// Output only. Overall ad strength of this asset group. #[prost(enumeration="super::enums::ad_strength_enum::AdStrength", tag="10")] pub ad_strength: i32, } -/// AssetGroupAsset is the link between an asset and an asset group. -/// Adding an AssetGroupAsset links an asset with an asset group. +/// AssetGroupAsset is the link between an asset and an asset group. +/// Adding an AssetGroupAsset links an asset with an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAsset { - /// Immutable. The resource name of the asset group asset. - /// Asset group asset resource name have the form: + /// Immutable. The resource name of the asset group asset. + /// Asset group asset resource name have the form: /// - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group asset is linking. + /// Immutable. The asset group which this asset group asset is linking. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Immutable. The asset which this asset group asset is linking. + /// Immutable. The asset which this asset group asset is linking. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// The description of the placement of the asset within the asset group. For - /// example: HEADLINE, YOUTUBE_VIDEO etc + /// The description of the placement of the asset within the asset group. For + /// example: HEADLINE, YOUTUBE_VIDEO etc #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// The status of the link between an asset and asset group. + /// The status of the link between an asset and asset group. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, - /// Output only. The performance of this asset group asset. + /// Output only. The performance of this asset group asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="6")] pub performance_label: i32, - /// Output only. The policy information for this asset group asset. + /// Output only. The policy information for this asset group asset. #[prost(message, optional, tag="7")] pub policy_summary: ::core::option::Option, } -/// AssetGroupListingGroupFilter represents a listing group filter tree node in -/// an asset group. +/// AssetGroupListingGroupFilter represents a listing group filter tree node in +/// an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilter { - /// Immutable. The resource name of the asset group listing group filter. - /// Asset group listing group filter resource name have the form: + /// Immutable. The resource name of the asset group listing group filter. + /// Asset group listing group filter resource name have the form: /// - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group listing group filter is part of. + /// Immutable. The asset group which this asset group listing group filter is part of. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Output only. The ID of the ListingGroupFilter. + /// Output only. The ID of the ListingGroupFilter. #[prost(int64, tag="3")] pub id: i64, - /// Immutable. Type of a listing group filter node. + /// Immutable. Type of a listing group filter node. #[prost(enumeration="super::enums::listing_group_filter_type_enum::ListingGroupFilterType", tag="4")] pub r#type: i32, - /// Immutable. The vertical the current node tree represents. All nodes in the same tree - /// must belong to the same vertical. + /// Immutable. The vertical the current node tree represents. All nodes in the same tree + /// must belong to the same vertical. #[prost(enumeration="super::enums::listing_group_filter_vertical_enum::ListingGroupFilterVertical", tag="5")] pub vertical: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="6")] pub case_value: ::core::option::Option, - /// Immutable. Resource name of the parent listing group subdivision. Null for the root - /// listing group filter node. + /// Immutable. Resource name of the parent listing group subdivision. Null for the root + /// listing group filter node. #[prost(string, tag="7")] pub parent_listing_group_filter: ::prost::alloc::string::String, } -/// Listing dimensions for the asset group listing group filter. +/// Listing dimensions for the asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterDimension { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_group_filter_dimension::Dimension", tags="1, 2, 3, 4, 5, 6, 7")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingGroupFilterDimension`. pub mod listing_group_filter_dimension { - /// One element of a bidding category at a certain level. Top-level categories - /// are at level 1, their children at level 2, and so on. We currently support - /// up to 5 levels. The user must specify a dimension type that indicates the - /// level of the category. All cases of the same subdivision must have the same - /// dimension type (category level). + /// One element of a bidding category at a certain level. Top-level categories + /// are at level 1, their children at level 2, and so on. We currently support + /// up to 5 levels. The user must specify a dimension type that indicates the + /// level of the category. All cases of the same subdivision must have the same + /// dimension type (category level). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategory { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="1")] pub id: ::core::option::Option, - /// Indicates the level of the category in the taxonomy. + /// Indicates the level of the category in the taxonomy. #[prost(enumeration="super::super::enums::listing_group_filter_bidding_category_level_enum::ListingGroupFilterBiddingCategoryLevel", tag="2")] pub level: i32, } - /// Brand of the product. + /// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrand { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Locality of a product offer. + /// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannel { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::super::enums::listing_group_filter_product_channel_enum::ListingGroupFilterProductChannel", tag="1")] pub channel: i32, } - /// Condition of a product offer. + /// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCondition { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::super::enums::listing_group_filter_product_condition_enum::ListingGroupFilterProductCondition", tag="1")] pub condition: i32, } - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttribute { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::super::enums::listing_group_filter_custom_attribute_index_enum::ListingGroupFilterCustomAttributeIndex", tag="2")] pub index: i32, } - /// Item id of a product offer. + /// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemId { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Type of a product offer. + /// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductType { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::super::enums::listing_group_filter_product_type_level_enum::ListingGroupFilterProductTypeLevel", tag="2")] pub level: i32, } - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="1")] ProductBiddingCategory(ProductBiddingCategory), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="2")] ProductBrand(ProductBrand), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="3")] ProductChannel(ProductChannel), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="4")] ProductCondition(ProductCondition), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="5")] ProductCustomAttribute(ProductCustomAttribute), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="6")] ProductItemId(ProductItemId), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="7")] ProductType(ProductType), } } -// Proto file describing the AssetGroupProductGroupView resource. +// Proto file describing the AssetGroupProductGroupView resource. -/// An asset group product group view. +/// An asset group product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupProductGroupView { - /// Output only. The resource name of the asset group product group view. - /// Asset group product group view resource names have the form: + /// Output only. The resource name of the asset group product group view. + /// Asset group product group view resource names have the form: /// - /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The asset group associated with the listing group filter. + /// Output only. The asset group associated with the listing group filter. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Output only. The resource name of the asset group listing group filter. + /// Output only. The resource name of the asset group listing group filter. #[prost(string, tag="4")] pub asset_group_listing_group_filter: ::prost::alloc::string::String, } -/// AssetGroupSignal represents a signal in an asset group. The existence of a -/// signal tells the performance max campaign who's most likely to convert. -/// Performance Max uses the signal to look for new people with similar or -/// stronger intent to find conversions across Search, Display, Video, and more. +/// AssetGroupSignal represents a signal in an asset group. The existence of a +/// signal tells the performance max campaign who's most likely to convert. +/// Performance Max uses the signal to look for new people with similar or +/// stronger intent to find conversions across Search, Display, Video, and more. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupSignal { - /// Immutable. The resource name of the asset group signal. - /// Asset group signal resource name have the form: + /// Immutable. The resource name of the asset group signal. + /// Asset group signal resource name have the form: /// - /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` + /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{signal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group signal belongs to. + /// Immutable. The asset group which this asset group signal belongs to. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Immutable. The signal(audience criterion) to be used by the performance max campaign. + /// Immutable. The signal(audience criterion) to be used by the performance max campaign. #[prost(message, optional, tag="3")] pub audience: ::core::option::Option, } -/// An asset set representing a collection of assets. -/// Use AssetSetAsset to link an asset to the asset set. +/// An asset set representing a collection of assets. +/// Use AssetSetAsset to link an asset to the asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSet { - /// Output only. The ID of the asset set. + /// Output only. The ID of the asset set. #[prost(int64, tag="6")] pub id: i64, - /// Immutable. The resource name of the asset set. - /// Asset set resource names have the form: + /// Immutable. The resource name of the asset set. + /// Asset set resource names have the form: /// - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Name of the asset set. Required. It must have a minimum length of 1 and - /// maximum length of 128. + /// Required. Name of the asset set. Required. It must have a minimum length of 1 and + /// maximum length of 128. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of the asset set. Required. + /// Required. Immutable. The type of the asset set. Required. #[prost(enumeration="super::enums::asset_set_type_enum::AssetSetType", tag="3")] pub r#type: i32, - /// Output only. The status of the asset set. Read-only. + /// Output only. The status of the asset set. Read-only. #[prost(enumeration="super::enums::asset_set_status_enum::AssetSetStatus", tag="4")] pub status: i32, - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[prost(message, optional, tag="5")] pub merchant_center_feed: ::core::option::Option, } /// Nested message and enum types in `AssetSet`. pub mod asset_set { - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterFeed { - /// Required. Merchant ID from Google Merchant Center + /// Required. Merchant ID from Google Merchant Center #[prost(int64, tag="1")] pub merchant_id: i64, - /// Optional. Feed Label from Google Merchant Center. + /// Optional. Feed Label from Google Merchant Center. #[prost(string, optional, tag="2")] pub feed_label: ::core::option::Option<::prost::alloc::string::String>, } } -/// AssetSetAsset is the link between an asset and an asset set. -/// Adding an AssetSetAsset links an asset with an asset set. +/// AssetSetAsset is the link between an asset and an asset set. +/// Adding an AssetSetAsset links an asset with an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAsset { - /// Immutable. The resource name of the asset set asset. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the asset set asset. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset set which this asset set asset is linking to. + /// Immutable. The asset set which this asset set asset is linking to. #[prost(string, tag="2")] pub asset_set: ::prost::alloc::string::String, - /// Immutable. The asset which this asset set asset is linking to. + /// Immutable. The asset which this asset set asset is linking to. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Output only. The status of the asset set asset. Read-only. + /// Output only. The status of the asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_asset_status_enum::AssetSetAssetStatus", tag="4")] pub status: i32, } -// Proto file describing the Audience resource. +// Proto file describing the Audience resource. -/// Audience is an effective targeting option that lets you -/// intersect different segment attributes, such as detailed demographics and -/// affinities, to create audiences that represent sections of your target -/// segments. +/// Audience is an effective targeting option that lets you +/// intersect different segment attributes, such as detailed demographics and +/// affinities, to create audiences that represent sections of your target +/// segments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Audience { - /// Immutable. The resource name of the audience. - /// Audience names have the form: + /// Immutable. The resource name of the audience. + /// Audience names have the form: /// - /// `customers/{customer_id}/audiences/{audience_id}` + /// `customers/{customer_id}/audiences/{audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the audience. + /// Output only. ID of the audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this audience. Indicates whether the audience - /// is enabled or removed. + /// Output only. Status of this audience. Indicates whether the audience + /// is enabled or removed. #[prost(enumeration="super::enums::audience_status_enum::AudienceStatus", tag="3")] pub status: i32, - /// Required. Name of the audience. It should be unique across all - /// audiences. It must have a minimum length of 1 and - /// maximum length of 255. + /// Required. Name of the audience. It should be unique across all + /// audiences. It must have a minimum length of 1 and + /// maximum length of 255. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Description of this audience. + /// Description of this audience. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Positive dimensions specifying the audience composition. + /// Positive dimensions specifying the audience composition. #[prost(message, repeated, tag="6")] pub dimensions: ::prost::alloc::vec::Vec, - /// Negative dimension specifying the audience composition. + /// Negative dimension specifying the audience composition. #[prost(message, optional, tag="7")] pub exclusion_dimension: ::core::option::Option, } -// Proto file describing the batch job resource. +// Proto file describing the batch job resource. -/// A list of mutates being processed asynchronously. The mutates are uploaded -/// by the user. The mutates themselves aren't readable and the results of the -/// job can only be read using BatchJobService.ListBatchJobResults. +/// A list of mutates being processed asynchronously. The mutates are uploaded +/// by the user. The mutates themselves aren't readable and the results of the +/// job can only be read using BatchJobService.ListBatchJobResults. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJob { - /// Immutable. The resource name of the batch job. - /// Batch job resource names have the form: + /// Immutable. The resource name of the batch job. + /// Batch job resource names have the form: /// - /// `customers/{customer_id}/batchJobs/{batch_job_id}` + /// `customers/{customer_id}/batchJobs/{batch_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this batch job. + /// Output only. ID of this batch job. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The next sequence token to use when adding operations. Only set when the - /// batch job status is PENDING. + /// Output only. The next sequence token to use when adding operations. Only set when the + /// batch job status is PENDING. #[prost(string, optional, tag="8")] pub next_add_sequence_token: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Contains additional information about this batch job. + /// Output only. Contains additional information about this batch job. #[prost(message, optional, tag="4")] pub metadata: ::core::option::Option, - /// Output only. Status of this batch job. + /// Output only. Status of this batch job. #[prost(enumeration="super::enums::batch_job_status_enum::BatchJobStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion. Only set when the batch job status is RUNNING or DONE. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion. Only set when the batch job status is RUNNING or DONE. #[prost(string, optional, tag="9")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BatchJob`. pub mod batch_job { - /// Additional information about the batch job. This message is also used as - /// metadata returned in batch job Long Running Operations. + /// Additional information about the batch job. This message is also used as + /// metadata returned in batch job Long Running Operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobMetadata { - /// Output only. The time when this batch job was created. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" + /// Output only. The time when this batch job was created. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" #[prost(string, optional, tag="8")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job started running. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" + /// Output only. The time when this batch job started running. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" #[prost(string, optional, tag="7")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job was completed. - /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" + /// Output only. The time when this batch job was completed. + /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" #[prost(string, optional, tag="9")] pub completion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. - /// This is empty if the job hasn't started running yet. + /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. + /// This is empty if the job hasn't started running yet. #[prost(double, optional, tag="10")] pub estimated_completion_ratio: ::core::option::Option, - /// Output only. The number of mutate operations in the batch job. + /// Output only. The number of mutate operations in the batch job. #[prost(int64, optional, tag="11")] pub operation_count: ::core::option::Option, - /// Output only. The number of mutate operations executed by the batch job. - /// Present only if the job has started running. + /// Output only. The number of mutate operations executed by the batch job. + /// Present only if the job has started running. #[prost(int64, optional, tag="12")] pub executed_operation_count: ::core::option::Option, } } -/// Represents a bidding data exclusion. +/// Represents a bidding data exclusion. /// -/// See "About data exclusions" at -/// +/// See "About data exclusions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusion { - /// Immutable. The resource name of the data exclusion. - /// Data exclusion resource names have the form: + /// Immutable. The resource name of the data exclusion. + /// Data exclusion resource names have the form: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the data exclusion. + /// Output only. The ID of the data exclusion. #[prost(int64, tag="2")] pub data_exclusion_id: i64, - /// The scope of the data exclusion. + /// The scope of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the data exclusion. + /// Output only. The status of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss + /// format. /// - /// A data exclusion is backward looking and should be used for events that - /// start in the past and end either in the past or future. + /// A data exclusion is backward looking and should be used for events that + /// start in the past and end either in the past or future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. + /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the data exclusion. The name can be at most 255 - /// characters. + /// The name of the data exclusion. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the data exclusion. The description can be at - /// most 2048 characters. + /// The description of the data exclusion. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this exclusion. - /// Otherwise, only the specified targeted devices will be included in this - /// exclusion. + /// If not specified, all devices will be included in this exclusion. + /// Otherwise, only the specified targeted devices will be included in this + /// exclusion. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// The data exclusion will apply to the campaigns listed when the scope of - /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is - /// 2000. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data exclusion will apply to the campaigns listed when the scope of + /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is + /// 2000. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="10")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The data_exclusion will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// exclusion is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data_exclusion will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// exclusion is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="11")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -/// Represents a bidding seasonality adjustment. +/// Represents a bidding seasonality adjustment. /// -/// See "About seasonality adjustments" at -/// +/// See "About seasonality adjustments" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustment { - /// Immutable. The resource name of the seasonality adjustment. - /// Seasonality adjustment resource names have the form: + /// Immutable. The resource name of the seasonality adjustment. + /// Seasonality adjustment resource names have the form: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the seasonality adjustment. + /// Output only. The ID of the seasonality adjustment. #[prost(int64, tag="2")] pub seasonality_adjustment_id: i64, - /// The scope of the seasonality adjustment. + /// The scope of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the seasonality adjustment. + /// Output only. The status of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd - /// HH:mm:ss format. + /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd + /// HH:mm:ss format. /// - /// A seasonality adjustment is forward looking and should be used for events - /// that start and end in the future. + /// A seasonality adjustment is forward looking and should be used for events + /// that start and end in the future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss + /// format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the seasonality adjustment. The name can be at most 255 - /// characters. + /// The name of the seasonality adjustment. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the seasonality adjustment. The description can be at - /// most 2048 characters. + /// The description of the seasonality adjustment. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this adjustment. - /// Otherwise, only the specified targeted devices will be included in this - /// adjustment. + /// If not specified, all devices will be included in this adjustment. + /// Otherwise, only the specified targeted devices will be included in this + /// adjustment. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// Conversion rate modifier estimated based on expected conversion rate - /// changes. When this field is unset or set to 1.0 no adjustment will be - /// applied to traffic. The allowed range is 0.1 to 10.0. + /// Conversion rate modifier estimated based on expected conversion rate + /// changes. When this field is unset or set to 1.0 no adjustment will be + /// applied to traffic. The allowed range is 0.1 to 10.0. #[prost(double, tag="10")] pub conversion_rate_modifier: f64, - /// The seasonality adjustment will apply to the campaigns listed when the - /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - /// event is 2000. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to the campaigns listed when the + /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per + /// event is 2000. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="11")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The seasonality adjustment will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// adjustment is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// adjustment is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="12")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -// Proto file describing the BiddingStrategy resource +// Proto file describing the BiddingStrategy resource -/// A bidding strategy. +/// A bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategy { - /// Immutable. The resource name of the bidding strategy. - /// Bidding strategy resource names have the form: + /// Immutable. The resource name of the bidding strategy. + /// Bidding strategy resource names have the form: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, optional, tag="16")] pub id: ::core::option::Option, - /// The name of the bidding strategy. - /// All bidding strategies within an account must be named distinctly. + /// The name of the bidding strategy. + /// All bidding strategies within an account must be named distinctly. /// - /// The length of this string should be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string should be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="17")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the bidding strategy. + /// Output only. The status of the bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_status_enum::BiddingStrategyStatus", tag="15")] pub status: i32, - /// Output only. The type of the bidding strategy. - /// Create a bidding strategy by setting the bidding scheme. + /// Output only. The type of the bidding strategy. + /// Create a bidding strategy by setting the bidding scheme. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="5")] pub r#type: i32, - /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this currency can be set on - /// creation and defaults to the manager customer's currency. For serving - /// customers, this field cannot be set; all strategies in a serving customer - /// implicitly use the serving customer's currency. In all cases the - /// effective_currency_code field returns the currency used by the strategy. + /// For bidding strategies in manager customers, this currency can be set on + /// creation and defaults to the manager customer's currency. For serving + /// customers, this field cannot be set; all strategies in a serving customer + /// implicitly use the serving customer's currency. In all cases the + /// effective_currency_code field returns the currency used by the strategy. #[prost(string, tag="23")] pub currency_code: ::prost::alloc::string::String, - /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this is the currency set by - /// the advertiser when creating the strategy. For serving customers, this is - /// the customer's currency_code. + /// For bidding strategies in manager customers, this is the currency set by + /// the advertiser when creating the strategy. For serving customers, this is + /// the customer's currency_code. /// - /// Bidding strategy metrics are reported in this currency. + /// Bidding strategy metrics are reported in this currency. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="20")] pub effective_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The number of campaigns attached to this bidding strategy. + /// Output only. The number of campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="18")] pub campaign_count: ::core::option::Option, - /// Output only. The number of non-removed campaigns attached to this bidding strategy. + /// Output only. The number of non-removed campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="19")] pub non_removed_campaign_count: ::core::option::Option, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="bidding_strategy::Scheme", tags="7, 21, 22, 9, 48, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategy`. pub mod bidding_strategy { - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// A bidding strategy that raises bids for clicks that seem more likely to - /// lead to a conversion and lowers them for clicks where they seem less - /// likely. + /// A bidding strategy that raises bids for clicks that seem more likely to + /// lead to a conversion and lowers them for clicks where they seem less + /// likely. #[prost(message, tag="7")] EnhancedCpc(super::super::common::EnhancedCpc), - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="21")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="22")] MaximizeConversions(super::super::common::MaximizeConversions), - /// A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(super::super::common::TargetCpa), - /// A bidding strategy that automatically optimizes towards a chosen - /// percentage of impressions. + /// A bidding strategy that automatically optimizes towards a chosen + /// percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(super::super::common::TargetRoas), - /// A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(super::super::common::TargetSpend), } } -// Proto file describing the bidding strategy simulation resource. +// Proto file describing the bidding strategy simulation resource. -/// A bidding strategy simulation. Supported combinations of simulation type -/// and simulation modification method are detailed below respectively. +/// A bidding strategy simulation. Supported combinations of simulation type +/// and simulation modification method are detailed below respectively. /// -/// 1. TARGET_CPA - UNIFORM -/// 2. TARGET_ROAS - UNIFORM +/// 1. TARGET_CPA - UNIFORM +/// 2. TARGET_ROAS - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategySimulation { - /// Output only. The resource name of the bidding strategy simulation. - /// Bidding strategy simulation resource names have the form: + /// Output only. The resource name of the bidding strategy simulation. + /// Bidding strategy simulation resource names have the form: /// - /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Bidding strategy shared set id of the simulation. + /// Output only. Bidding strategy shared set id of the simulation. #[prost(int64, tag="2")] pub bidding_strategy_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="bidding_strategy_simulation::PointList", tags="7, 8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategySimulation`. pub mod bidding_strategy_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="7")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="8")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the BillingSetup resource. +// Proto file describing the BillingSetup resource. -/// A billing setup, which associates a payments account and an advertiser. A -/// billing setup is specific to one advertiser. +/// A billing setup, which associates a payments account and an advertiser. A +/// billing setup is specific to one advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetup { - /// Immutable. The resource name of the billing setup. - /// BillingSetup resource names have the form: + /// Immutable. The resource name of the billing setup. + /// BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the billing setup. + /// Output only. The ID of the billing setup. #[prost(int64, optional, tag="15")] pub id: ::core::option::Option, - /// Output only. The status of the billing setup. + /// Output only. The status of the billing setup. #[prost(enumeration="super::enums::billing_setup_status_enum::BillingSetupStatus", tag="3")] pub status: i32, - /// Immutable. The resource name of the payments account associated with this billing - /// setup. Payments resource names have the form: - /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - /// When setting up billing, this is used to signup with an existing payments - /// account (and then payments_account_info should not be set). - /// When getting a billing setup, this and payments_account_info will be - /// populated. + /// Immutable. The resource name of the payments account associated with this billing + /// setup. Payments resource names have the form: + /// + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// When setting up billing, this is used to signup with an existing payments + /// account (and then payments_account_info should not be set). + /// When getting a billing setup, this and payments_account_info will be + /// populated. #[prost(string, optional, tag="18")] pub payments_account: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The payments account information associated with this billing setup. - /// When setting up billing, this is used to signup with a new payments account - /// (and then payments_account should not be set). - /// When getting a billing setup, this and payments_account will be - /// populated. + /// Immutable. The payments account information associated with this billing setup. + /// When setting up billing, this is used to signup with a new payments account + /// (and then payments_account should not be set). + /// When getting a billing setup, this and payments_account will be + /// populated. #[prost(message, optional, tag="12")] pub payments_account_info: ::core::option::Option, - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[prost(oneof="billing_setup::StartTime", tags="16, 10")] pub start_time: ::core::option::Option, - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[prost(oneof="billing_setup::EndTime", tags="17, 14")] pub end_time: ::core::option::Option, } /// Nested message and enum types in `BillingSetup`. pub mod billing_setup { - /// Container of payments account information for this billing. + /// Container of payments account information for this billing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountInfo { - /// Output only. A 16 digit id used to identify the payments account associated with the - /// billing setup. + /// Output only. A 16 digit id used to identify the payments account associated with the + /// billing setup. /// - /// This must be passed as a string with dashes, for example, - /// "1234-5678-9012-3456". + /// This must be passed as a string with dashes, for example, + /// "1234-5678-9012-3456". #[prost(string, optional, tag="6")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the payments account associated with the billing setup. + /// Immutable. The name of the payments account associated with the billing setup. /// - /// This enables the user to specify a meaningful name for a payments account - /// to aid in reconciling monthly invoices. + /// This enables the user to specify a meaningful name for a payments account + /// to aid in reconciling monthly invoices. /// - /// This name will be printed in the monthly invoices. + /// This name will be printed in the monthly invoices. #[prost(string, optional, tag="7")] pub payments_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A 12 digit id used to identify the payments profile associated with the - /// billing setup. + /// Immutable. A 12 digit id used to identify the payments profile associated with the + /// billing setup. /// - /// This must be passed in as a string with dashes, for example, - /// "1234-5678-9012". + /// This must be passed in as a string with dashes, for example, + /// "1234-5678-9012". #[prost(string, optional, tag="8")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments profile associated with the billing setup. + /// Output only. The name of the payments profile associated with the billing setup. #[prost(string, optional, tag="9")] pub payments_profile_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile id present in uncommon situations, for - /// example, when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile id present in uncommon situations, for + /// example, when a sequential liability agreement has been arranged. #[prost(string, optional, tag="10")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, } - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartTime { - /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a - /// future time is allowed. + /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a + /// future time is allowed. #[prost(string, tag="16")] StartDateTime(::prost::alloc::string::String), - /// Immutable. The start time as a type. Only NOW is allowed. + /// Immutable. The start time as a type. Only NOW is allowed. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="10")] StartTimeType(i32), } - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="17")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a type. The only possible value is FOREVER. + /// Output only. The end time as a type. The only possible value is FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="14")] EndTimeType(i32), } } -// Proto file describing the call view resource. +// Proto file describing the call view resource. -/// A call view that includes data for call tracking of call-only ads or call -/// extensions. +/// A call view that includes data for call tracking of call-only ads or call +/// extensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallView { - /// Output only. The resource name of the call view. - /// Call view resource names have the form: + /// Output only. The resource name of the call view. + /// Call view resource names have the form: /// - /// `customers/{customer_id}/callViews/{call_detail_id}` + /// `customers/{customer_id}/callViews/{call_detail_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Country code of the caller. + /// Output only. Country code of the caller. #[prost(string, tag="2")] pub caller_country_code: ::prost::alloc::string::String, - /// Output only. Area code of the caller. Null if the call duration is shorter than 15 - /// seconds. + /// Output only. Area code of the caller. Null if the call duration is shorter than 15 + /// seconds. #[prost(string, tag="3")] pub caller_area_code: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call duration in seconds. + /// Output only. The advertiser-provided call duration in seconds. #[prost(int64, tag="4")] pub call_duration_seconds: i64, - /// Output only. The advertiser-provided call start date time. + /// Output only. The advertiser-provided call start date time. #[prost(string, tag="5")] pub start_call_date_time: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call end date time. + /// Output only. The advertiser-provided call end date time. #[prost(string, tag="6")] pub end_call_date_time: ::prost::alloc::string::String, - /// Output only. The call tracking display location. + /// Output only. The call tracking display location. #[prost(enumeration="super::enums::call_tracking_display_location_enum::CallTrackingDisplayLocation", tag="7")] pub call_tracking_display_location: i32, - /// Output only. The type of the call. + /// Output only. The type of the call. #[prost(enumeration="super::enums::call_type_enum::CallType", tag="8")] pub r#type: i32, - /// Output only. The status of the call. + /// Output only. The status of the call. #[prost(enumeration="super::enums::google_voice_call_status_enum::GoogleVoiceCallStatus", tag="9")] pub call_status: i32, } -// Proto file describing the Campaign resource. +// Proto file describing the Campaign resource. -/// A campaign. +/// A campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Campaign { - /// Immutable. The resource name of the campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign. + /// Output only. The ID of the campaign. #[prost(int64, optional, tag="59")] pub id: ::core::option::Option, - /// The name of the campaign. + /// The name of the campaign. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="58")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the campaign. + /// The status of the campaign. /// - /// When a new campaign is added, the status defaults to ENABLED. + /// When a new campaign is added, the status defaults to ENABLED. #[prost(enumeration="super::enums::campaign_status_enum::CampaignStatus", tag="5")] pub status: i32, - /// Output only. The ad serving status of the campaign. + /// Output only. The ad serving status of the campaign. #[prost(enumeration="super::enums::campaign_serving_status_enum::CampaignServingStatus", tag="21")] pub serving_status: i32, - /// Output only. The system status of the campaign's bidding strategy. + /// Output only. The system status of the campaign's bidding strategy. #[prost(enumeration="super::enums::bidding_strategy_system_status_enum::BiddingStrategySystemStatus", tag="78")] pub bidding_strategy_system_status: i32, - /// The ad serving optimization status of the campaign. + /// The ad serving optimization status of the campaign. #[prost(enumeration="super::enums::ad_serving_optimization_status_enum::AdServingOptimizationStatus", tag="8")] pub ad_serving_optimization_status: i32, - /// Immutable. The primary serving target for ads within the campaign. - /// The targeting options can be refined in `network_settings`. + /// Immutable. The primary serving target for ads within the campaign. + /// The targeting options can be refined in `network_settings`. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// Can be set only when creating campaigns. - /// After the campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After the campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="9")] pub advertising_channel_type: i32, - /// Immutable. Optional refinement to `advertising_channel_type`. - /// Must be a valid sub-type of the parent channel type. + /// Immutable. Optional refinement to `advertising_channel_type`. + /// Must be a valid sub-type of the parent channel type. /// - /// Can be set only when creating campaigns. - /// After campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", tag="10")] pub advertising_channel_sub_type: i32, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="60")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="12")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The Local Services Campaign related settings. + /// The Local Services Campaign related settings. #[prost(message, optional, tag="75")] pub local_services_campaign_settings: ::core::option::Option, - /// Settings for Real-Time Bidding, a feature only available for campaigns - /// targeting the Ad Exchange network. + /// Settings for Real-Time Bidding, a feature only available for campaigns + /// targeting the Ad Exchange network. #[prost(message, optional, tag="39")] pub real_time_bidding_setting: ::core::option::Option, - /// The network settings for the campaign. + /// The network settings for the campaign. #[prost(message, optional, tag="14")] pub network_settings: ::core::option::Option, - /// Immutable. The hotel setting for the campaign. + /// Immutable. The hotel setting for the campaign. #[prost(message, optional, tag="32")] pub hotel_setting: ::core::option::Option, - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[prost(message, optional, tag="33")] pub dynamic_search_ads_setting: ::core::option::Option, - /// The setting for controlling Shopping campaigns. + /// The setting for controlling Shopping campaigns. #[prost(message, optional, tag="36")] pub shopping_setting: ::core::option::Option, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="43")] pub targeting_setting: ::core::option::Option, - /// Immutable. Setting for audience related features. + /// Immutable. Setting for audience related features. #[prost(message, optional, tag="73")] pub audience_setting: ::core::option::Option, - /// The setting for ads geotargeting. + /// The setting for ads geotargeting. #[prost(message, optional, tag="47")] pub geo_target_type_setting: ::core::option::Option, - /// The setting for local campaign. + /// The setting for local campaign. #[prost(message, optional, tag="50")] pub local_campaign_setting: ::core::option::Option, - /// The setting related to App Campaign. + /// The setting related to App Campaign. #[prost(message, optional, tag="51")] pub app_campaign_setting: ::core::option::Option, - /// Output only. The resource names of labels attached to this campaign. + /// Output only. The resource names of labels attached to this campaign. #[prost(string, repeated, tag="61")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The type of campaign: normal, draft, or experiment. + /// Output only. The type of campaign: normal, draft, or experiment. #[prost(enumeration="super::enums::campaign_experiment_type_enum::CampaignExperimentType", tag="17")] pub experiment_type: i32, - /// Output only. The resource name of the base campaign of a draft or experiment campaign. - /// For base campaigns, this is equal to `resource_name`. + /// Output only. The resource name of the base campaign of a draft or experiment campaign. + /// For base campaigns, this is equal to `resource_name`. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="56")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The budget of the campaign. + /// The budget of the campaign. #[prost(string, optional, tag="62")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of bidding strategy. + /// Output only. The type of bidding strategy. /// - /// A bidding strategy can be created by setting either the bidding scheme to - /// create a standard bidding strategy or the `bidding_strategy` field to - /// create a portfolio bidding strategy. + /// A bidding strategy can be created by setting either the bidding scheme to + /// create a standard bidding strategy or the `bidding_strategy` field to + /// create a portfolio bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="22")] pub bidding_strategy_type: i32, - /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the - /// unrestricted attributes of the attached portfolio bidding - /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not - /// use a portfolio strategy. - /// Unrestricted strategy attributes are available to all customers - /// with whom the strategy is shared and are read from the - /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are - /// only available to the owner customer of the strategy and their managers. - /// Restricted attributes can only be read from the BiddingStrategy resource. + /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the + /// unrestricted attributes of the attached portfolio bidding + /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not + /// use a portfolio strategy. + /// Unrestricted strategy attributes are available to all customers + /// with whom the strategy is shared and are read from the + /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are + /// only available to the owner customer of the strategy and their managers. + /// Restricted attributes can only be read from the BiddingStrategy resource. #[prost(string, tag="71")] pub accessible_bidding_strategy: ::prost::alloc::string::String, - /// The date when campaign started in serving customer's timezone in YYYY-MM-DD - /// format. + /// The date when campaign started in serving customer's timezone in YYYY-MM-DD + /// format. #[prost(string, optional, tag="63")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The campaign group this campaign belongs to. + /// The campaign group this campaign belongs to. #[prost(string, optional, tag="76")] pub campaign_group: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign in serving customer's timezone in YYYY-MM-DD - /// format. + /// The last day of the campaign in serving customer's timezone in YYYY-MM-DD + /// format. #[prost(string, optional, tag="64")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// Suffix used to append query parameters to landing pages that are served - /// with parallel tracking. + /// Suffix used to append query parameters to landing pages that are served + /// with parallel tracking. #[prost(string, optional, tag="65")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// A list that limits how often each user will see this campaign's ads. + /// A list that limits how often each user will see this campaign's ads. #[prost(message, repeated, tag="40")] pub frequency_caps: ::prost::alloc::vec::Vec, - /// Output only. 3-Tier Brand Safety setting for the campaign. + /// Output only. 3-Tier Brand Safety setting for the campaign. #[prost(enumeration="super::enums::brand_safety_suitability_enum::BrandSafetySuitability", tag="42")] pub video_brand_safety_suitability: i32, - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[prost(message, optional, tag="44")] pub vanity_pharma: ::core::option::Option, - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[prost(message, optional, tag="45")] pub selective_optimization: ::core::option::Option, - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[prost(message, optional, tag="54")] pub optimization_goal_setting: ::core::option::Option, - /// Output only. Campaign-level settings for tracking information. + /// Output only. Campaign-level settings for tracking information. #[prost(message, optional, tag="46")] pub tracking_setting: ::core::option::Option, - /// Payment mode for the campaign. + /// Payment mode for the campaign. #[prost(enumeration="super::enums::payment_mode_enum::PaymentMode", tag="52")] pub payment_mode: i32, - /// Output only. Optimization score of the campaign. + /// Output only. Optimization score of the campaign. /// - /// Optimization score is an estimate of how well a campaign is set to perform. - /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - /// campaign is performing at full potential. This field is null for unscored - /// campaigns. + /// Optimization score is an estimate of how well a campaign is set to perform. + /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the + /// campaign is performing at full potential. This field is null for unscored + /// campaigns. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="66")] pub optimization_score: ::core::option::Option, - /// The asset field types that should be excluded from this campaign. Asset - /// links with these field types will not be inherited by this campaign from - /// the upper level. + /// The asset field types that should be excluded from this campaign. Asset + /// links with these field types will not be inherited by this campaign from + /// the upper level. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="69")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, - /// Represents opting out of URL expansion to more targeted URLs. If opted out - /// (true), only the final URLs in the asset group or URLs specified in the - /// advertiser's Google Merchant Center or business data feeds are targeted. - /// If opted in (false), the entire domain will be targeted. This field can - /// only be set for Performance Max campaigns, where the default value is - /// false. + /// Represents opting out of URL expansion to more targeted URLs. If opted out + /// (true), only the final URLs in the asset group or URLs specified in the + /// advertiser's Google Merchant Center or business data feeds are targeted. + /// If opted in (false), the entire domain will be targeted. This field can + /// only be set for Performance Max campaigns, where the default value is + /// false. #[prost(bool, optional, tag="72")] pub url_expansion_opt_out: ::core::option::Option, - /// Output only. Information about campaigns being upgraded to Performance Max. + /// Output only. Information about campaigns being upgraded to Performance Max. #[prost(message, optional, tag="77")] pub performance_max_upgrade: ::core::option::Option, - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created through BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created through BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[prost(oneof="campaign::CampaignBiddingStrategy", tags="67, 49, 74, 24, 25, 37, 30, 31, 26, 48, 29, 27, 34, 41")] pub campaign_bidding_strategy: ::core::option::Option, } /// Nested message and enum types in `Campaign`. pub mod campaign { - /// Information about a campaign being upgraded to Performance Max. + /// Information about a campaign being upgraded to Performance Max. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PerformanceMaxUpgrade { - /// Output only. Indicates which Performance Max campaign the campaign is upgraded to. + /// Output only. Indicates which Performance Max campaign the campaign is upgraded to. #[prost(string, tag="1")] pub performance_max_campaign: ::prost::alloc::string::String, - /// Output only. Indicates legacy campaign upgraded to Performance Max. + /// Output only. Indicates legacy campaign upgraded to Performance Max. #[prost(string, tag="2")] pub pre_upgrade_campaign: ::prost::alloc::string::String, - /// Output only. The upgrade status of a campaign requested to be upgraded to Performance - /// Max. + /// Output only. The upgrade status of a campaign requested to be upgraded to Performance + /// Max. #[prost(enumeration="super::super::enums::performance_max_upgrade_status_enum::PerformanceMaxUpgradeStatus", tag="3")] pub status: i32, } - /// The network settings for the campaign. + /// The network settings for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkSettings { - /// Whether ads will be served with google.com search results. + /// Whether ads will be served with google.com search results. #[prost(bool, optional, tag="5")] pub target_google_search: ::core::option::Option, - /// Whether ads will be served on partner sites in the Google Search Network - /// (requires `target_google_search` to also be `true`). + /// Whether ads will be served on partner sites in the Google Search Network + /// (requires `target_google_search` to also be `true`). #[prost(bool, optional, tag="6")] pub target_search_network: ::core::option::Option, - /// Whether ads will be served on specified placements in the Google Display - /// Network. Placements are specified using the Placement criterion. + /// Whether ads will be served on specified placements in the Google Display + /// Network. Placements are specified using the Placement criterion. #[prost(bool, optional, tag="7")] pub target_content_network: ::core::option::Option, - /// Whether ads will be served on the Google Partner Network. - /// This is available only to some select Google partner accounts. + /// Whether ads will be served on the Google Partner Network. + /// This is available only to some select Google partner accounts. #[prost(bool, optional, tag="8")] pub target_partner_search_network: ::core::option::Option, } - /// Campaign-level settings for hotel ads. + /// Campaign-level settings for hotel ads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelSettingInfo { - /// Immutable. The linked Hotel Center account. + /// Immutable. The linked Hotel Center account. #[prost(int64, optional, tag="2")] pub hotel_center_id: ::core::option::Option, } - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSetting { - /// Required. The Internet domain name that this setting represents, for example, - /// "google.com" or "www.google.com". + /// Required. The Internet domain name that this setting represents, for example, + /// "google.com" or "www.google.com". #[prost(string, tag="6")] pub domain_name: ::prost::alloc::string::String, - /// Required. The language code specifying the language of the domain, for example, - /// "en". + /// Required. The language code specifying the language of the domain, for example, + /// "en". #[prost(string, tag="7")] pub language_code: ::prost::alloc::string::String, - /// Whether the campaign uses advertiser supplied URLs exclusively. + /// Whether the campaign uses advertiser supplied URLs exclusively. #[prost(bool, optional, tag="8")] pub use_supplied_urls_only: ::core::option::Option, - /// The list of page feeds associated with the campaign. + /// The list of page feeds associated with the campaign. #[prost(string, repeated, tag="9")] pub feeds: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// The setting for Shopping campaigns. Defines the universe of products that - /// can be advertised by the campaign, and how this campaign interacts with - /// other Shopping campaigns. + /// The setting for Shopping campaigns. Defines the universe of products that + /// can be advertised by the campaign, and how this campaign interacts with + /// other Shopping campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSetting { - /// Immutable. ID of the Merchant Center account. - /// This field is required for create operations. This field is immutable for - /// Shopping campaigns. + /// Immutable. ID of the Merchant Center account. + /// This field is required for create operations. This field is immutable for + /// Shopping campaigns. #[prost(int64, optional, tag="5")] pub merchant_id: ::core::option::Option, - /// Sales country of products to include in the campaign. - /// Only one of feed_label or sales_country can be set. - /// Field is immutable except for clearing. - /// Once this field is cleared, you must use feed_label if you - /// want to set the sales country. + /// Sales country of products to include in the campaign. + /// Only one of feed_label or sales_country can be set. + /// Field is immutable except for clearing. + /// Once this field is cleared, you must use feed_label if you + /// want to set the sales country. #[prost(string, optional, tag="6")] pub sales_country: ::core::option::Option<::prost::alloc::string::String>, - /// Feed label of products to include in the campaign. - /// Only one of feed_label or sales_country can be set. - /// If used instead of sales_country, the feed_label field accepts country - /// codes in the same format for example: 'XX'. - /// Otherwise can be any string used for feed label in Google Merchant - /// Center. + /// Feed label of products to include in the campaign. + /// Only one of feed_label or sales_country can be set. + /// If used instead of sales_country, the feed_label field accepts country + /// codes in the same format for example: 'XX'. + /// Otherwise can be any string used for feed label in Google Merchant + /// Center. #[prost(string, tag="10")] pub feed_label: ::prost::alloc::string::String, - /// Priority of the campaign. Campaigns with numerically higher priorities - /// take precedence over those with lower priorities. - /// This field is required for Shopping campaigns, with values between 0 and - /// 2, inclusive. - /// This field is optional for Smart Shopping campaigns, but must be equal to - /// 3 if set. + /// Priority of the campaign. Campaigns with numerically higher priorities + /// take precedence over those with lower priorities. + /// This field is required for Shopping campaigns, with values between 0 and + /// 2, inclusive. + /// This field is optional for Smart Shopping campaigns, but must be equal to + /// 3 if set. #[prost(int32, optional, tag="7")] pub campaign_priority: ::core::option::Option, - /// Whether to include local products. + /// Whether to include local products. #[prost(bool, optional, tag="8")] pub enable_local: ::core::option::Option, - /// Immutable. Whether to target Vehicle Listing inventory. + /// Immutable. Whether to target Vehicle Listing inventory. #[prost(bool, tag="9")] pub use_vehicle_inventory: bool, } - /// Campaign-level settings for tracking information. + /// Campaign-level settings for tracking information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingSetting { - /// Output only. The url used for dynamic tracking. + /// Output only. The url used for dynamic tracking. #[prost(string, optional, tag="2")] pub tracking_url: ::core::option::Option<::prost::alloc::string::String>, } - /// Represents a collection of settings related to ads geotargeting. + /// Represents a collection of settings related to ads geotargeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetTypeSetting { - /// The setting used for positive geotargeting in this particular campaign. + /// The setting used for positive geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::positive_geo_target_type_enum::PositiveGeoTargetType", tag="1")] pub positive_geo_target_type: i32, - /// The setting used for negative geotargeting in this particular campaign. + /// The setting used for negative geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::negative_geo_target_type_enum::NegativeGeoTargetType", tag="2")] pub negative_geo_target_type: i32, } - /// Campaign setting for local campaigns. + /// Campaign setting for local campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalCampaignSetting { - /// The location source type for this local campaign. + /// The location source type for this local campaign. #[prost(enumeration="super::super::enums::location_source_type_enum::LocationSourceType", tag="1")] pub location_source_type: i32, } - /// Campaign-level settings for App Campaigns. + /// Campaign-level settings for App Campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignSetting { - /// Represents the goal which the bidding strategy of this app campaign - /// should optimize towards. + /// Represents the goal which the bidding strategy of this app campaign + /// should optimize towards. #[prost(enumeration="super::super::enums::app_campaign_bidding_strategy_goal_type_enum::AppCampaignBiddingStrategyGoalType", tag="1")] pub bidding_strategy_goal_type: i32, - /// Immutable. A string that uniquely identifies a mobile application. + /// Immutable. A string that uniquely identifies a mobile application. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The application store that distributes this specific app. + /// Immutable. The application store that distributes this specific app. #[prost(enumeration="super::super::enums::app_campaign_app_store_enum::AppCampaignAppStore", tag="3")] pub app_store: i32, } - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharma { - /// The display mode for vanity pharma URLs. + /// The display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_display_url_mode_enum::VanityPharmaDisplayUrlMode", tag="1")] pub vanity_pharma_display_url_mode: i32, - /// The text that will be displayed in display URL of the text ad when - /// website description is the selected display mode for vanity pharma URLs. + /// The text that will be displayed in display URL of the text ad when + /// website description is the selected display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_text_enum::VanityPharmaText", tag="2")] pub vanity_pharma_text: i32, } - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SelectiveOptimization { - /// The selected set of conversion actions for optimizing this campaign. + /// The selected set of conversion actions for optimizing this campaign. #[prost(string, repeated, tag="2")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalSetting { - /// The list of optimization goal types. + /// The list of optimization goal types. #[prost(enumeration="super::super::enums::optimization_goal_type_enum::OptimizationGoalType", repeated, tag="1")] pub optimization_goal_types: ::prost::alloc::vec::Vec, } - /// Settings for the audience targeting. + /// Settings for the audience targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSetting { - /// Immutable. If true, this campaign uses an Audience resource for audience targeting. - /// If false, this campaign may use audience segment criteria instead. + /// Immutable. If true, this campaign uses an Audience resource for audience targeting. + /// If false, this campaign may use audience segment criteria instead. #[prost(bool, optional, tag="1")] pub use_audience_grouped: ::core::option::Option, } - /// Settings for LocalServicesCampaign subresource. + /// Settings for LocalServicesCampaign subresource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalServicesCampaignSettings { - /// Categorical level bids associated with MANUAL_CPA bidding strategy. + /// Categorical level bids associated with MANUAL_CPA bidding strategy. #[prost(message, repeated, tag="1")] pub category_bids: ::prost::alloc::vec::Vec, } - /// Category bids in LocalServicesReportingCampaignSettings. + /// Category bids in LocalServicesReportingCampaignSettings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoryBid { - /// Category for which the bid will be associated with. For example, - /// xcat:service_area_business_plumber. + /// Category for which the bid will be associated with. For example, + /// xcat:service_area_business_plumber. #[prost(string, optional, tag="1")] pub category_id: ::core::option::Option<::prost::alloc::string::String>, - /// Manual CPA bid for the category. Bid must be greater than the - /// reserve price associated for that category. Value is in micros - /// and in the advertiser's currency. + /// Manual CPA bid for the category. Bid must be greater than the + /// reserve price associated for that category. Value is in micros + /// and in the advertiser's currency. #[prost(int64, optional, tag="2")] pub manual_cpa_bid_micros: ::core::option::Option, } - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created through BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created through BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CampaignBiddingStrategy { - /// Portfolio bidding strategy used by campaign. + /// Portfolio bidding strategy used by campaign. #[prost(string, tag="67")] BiddingStrategy(::prost::alloc::string::String), - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. #[prost(message, tag="49")] Commission(super::super::common::Commission), - /// Standard Manual CPA bidding strategy. - /// Manual bidding strategy that allows advertiser to set the bid per - /// advertiser-specified action. Supported only for Local Services campaigns. + /// Standard Manual CPA bidding strategy. + /// Manual bidding strategy that allows advertiser to set the bid per + /// advertiser-specified action. Supported only for Local Services campaigns. #[prost(message, tag="74")] ManualCpa(super::super::common::ManualCpa), - /// Standard Manual CPC bidding strategy. - /// Manual click-based bidding where user pays per click. + /// Standard Manual CPC bidding strategy. + /// Manual click-based bidding where user pays per click. #[prost(message, tag="24")] ManualCpc(super::super::common::ManualCpc), - /// Standard Manual CPM bidding strategy. - /// Manual impression-based bidding where user pays per thousand - /// impressions. + /// Standard Manual CPM bidding strategy. + /// Manual impression-based bidding where user pays per thousand + /// impressions. #[prost(message, tag="25")] ManualCpm(super::super::common::ManualCpm), - /// Output only. A bidding strategy that pays a configurable amount per video view. + /// Output only. A bidding strategy that pays a configurable amount per video view. #[prost(message, tag="37")] ManualCpv(super::super::common::ManualCpv), - /// Standard Maximize Conversions bidding strategy that automatically - /// maximizes number of conversions while spending your budget. + /// Standard Maximize Conversions bidding strategy that automatically + /// maximizes number of conversions while spending your budget. #[prost(message, tag="30")] MaximizeConversions(super::super::common::MaximizeConversions), - /// Standard Maximize Conversion Value bidding strategy that automatically - /// sets bids to maximize revenue while spending your budget. + /// Standard Maximize Conversion Value bidding strategy that automatically + /// sets bids to maximize revenue while spending your budget. #[prost(message, tag="31")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// Standard Target CPA bidding strategy that automatically sets bids to - /// help get as many conversions as possible at the target - /// cost-per-acquisition (CPA) you set. + /// Standard Target CPA bidding strategy that automatically sets bids to + /// help get as many conversions as possible at the target + /// cost-per-acquisition (CPA) you set. #[prost(message, tag="26")] TargetCpa(super::super::common::TargetCpa), - /// Target Impression Share bidding strategy. An automated bidding strategy - /// that sets bids to achieve a chosen percentage of impressions. + /// Target Impression Share bidding strategy. An automated bidding strategy + /// that sets bids to achieve a chosen percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// Standard Target ROAS bidding strategy that automatically maximizes - /// revenue while averaging a specific target return on ad spend (ROAS). + /// Standard Target ROAS bidding strategy that automatically maximizes + /// revenue while averaging a specific target return on ad spend (ROAS). #[prost(message, tag="29")] TargetRoas(super::super::common::TargetRoas), - /// Standard Target Spend bidding strategy that automatically sets your bids - /// to help get as many clicks as possible within your budget. + /// Standard Target Spend bidding strategy that automatically sets your bids + /// to help get as many clicks as possible within your budget. #[prost(message, tag="27")] TargetSpend(super::super::common::TargetSpend), - /// Standard Percent Cpc bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Standard Percent Cpc bidding strategy where bids are a fraction of the + /// advertised price for some good or service. #[prost(message, tag="34")] PercentCpc(super::super::common::PercentCpc), - /// A bidding strategy that automatically optimizes cost per thousand - /// impressions. + /// A bidding strategy that automatically optimizes cost per thousand + /// impressions. #[prost(message, tag="41")] TargetCpm(super::super::common::TargetCpm), } } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// A link between a Campaign and an Asset. +/// A link between a Campaign and an Asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAsset { - /// Immutable. The resource name of the campaign asset. - /// CampaignAsset resource names have the form: + /// Immutable. The resource name of the campaign asset. + /// CampaignAsset resource names have the form: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the asset is linked. + /// Immutable. The campaign to which the asset is linked. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The asset which is linked to the campaign. + /// Immutable. The asset which is linked to the campaign. #[prost(string, optional, tag="7")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Role that the asset takes under the linked campaign. - /// Required. + /// Immutable. Role that the asset takes under the linked campaign. + /// Required. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Output only. Source of the campaign asset link. + /// Output only. Source of the campaign asset link. #[prost(enumeration="super::enums::asset_source_enum::AssetSource", tag="8")] pub source: i32, - /// Status of the campaign asset. + /// Status of the campaign asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// CampaignAssetSet is the linkage between a campaign and an asset set. -/// Adding a CampaignAssetSet links an asset set with a campaign. +/// CampaignAssetSet is the linkage between a campaign and an asset set. +/// Adding a CampaignAssetSet links an asset set with a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSet { - /// Immutable. The resource name of the campaign asset set. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the campaign asset set. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which this asset set is linked. + /// Immutable. The campaign to which this asset set is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Immutable. The asset set which is linked to the campaign. + /// Immutable. The asset set which is linked to the campaign. #[prost(string, tag="3")] pub asset_set: ::prost::alloc::string::String, - /// Output only. The status of the campaign asset set asset. Read-only. + /// Output only. The status of the campaign asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_link_status_enum::AssetSetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the campaign audience view resource. +// Proto file describing the campaign audience view resource. -/// A campaign audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated by campaign and audience criterion. This view only includes -/// audiences attached at the campaign level. +/// A campaign audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated by campaign and audience criterion. This view only includes +/// audiences attached at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAudienceView { - /// Output only. The resource name of the campaign audience view. - /// Campaign audience view resource names have the form: + /// Output only. The resource name of the campaign audience view. + /// Campaign audience view resource names have the form: /// - /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Campaign Bid Modifier resource. +// Proto file describing the Campaign Bid Modifier resource. -/// Represents a bid-modifiable only criterion at the campaign level. +/// Represents a bid-modifiable only criterion at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifier { - /// Immutable. The resource name of the campaign bid modifier. - /// Campaign bid modifier resource names have the form: + /// Immutable. The resource name of the campaign bid modifier. + /// Campaign bid modifier resource names have the form: /// - /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which this criterion belongs. + /// Output only. The campaign to which this criterion belongs. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="7")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. + /// The modifier for the bid when the criterion matches. #[prost(double, optional, tag="8")] pub bid_modifier: ::core::option::Option, - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="campaign_bid_modifier::Criterion", tags="5")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifier`. pub mod campaign_bid_modifier { - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for interaction type. Only supported for search campaigns. + /// Immutable. Criterion for interaction type. Only supported for search campaigns. #[prost(message, tag="5")] InteractionType(super::super::common::InteractionTypeInfo), } } -// Proto file describing the Budget resource. +// Proto file describing the Budget resource. -/// A campaign budget. +/// A campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudget { - /// Immutable. The resource name of the campaign budget. - /// Campaign budget resource names have the form: + /// Immutable. The resource name of the campaign budget. + /// Campaign budget resource names have the form: /// - /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign budget. + /// Output only. The ID of the campaign budget. /// - /// A campaign budget is created using the CampaignBudgetService create - /// operation and is assigned a budget ID. A budget ID can be shared across - /// different campaigns; the system will then allocate the campaign budget - /// among different campaigns to get optimum results. + /// A campaign budget is created using the CampaignBudgetService create + /// operation and is assigned a budget ID. A budget ID can be shared across + /// different campaigns; the system will then allocate the campaign budget + /// among different campaigns to get optimum results. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// The name of the campaign budget. + /// The name of the campaign budget. /// - /// When creating a campaign budget through CampaignBudgetService, every - /// explicitly shared campaign budget must have a non-null, non-empty name. - /// Campaign budgets that are not explicitly shared derive their name from the - /// attached campaign's name. + /// When creating a campaign budget through CampaignBudgetService, every + /// explicitly shared campaign budget must have a non-null, non-empty name. + /// Campaign budgets that are not explicitly shared derive their name from the + /// attached campaign's name. /// - /// The length of this string must be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string must be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="20")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. Monthly spend is capped at 30.4 times this amount. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. Monthly spend is capped at 30.4 times this amount. #[prost(int64, optional, tag="21")] pub amount_micros: ::core::option::Option, - /// The lifetime amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The lifetime amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="22")] pub total_amount_micros: ::core::option::Option, - /// Output only. The status of this campaign budget. This field is read-only. + /// Output only. The status of this campaign budget. This field is read-only. #[prost(enumeration="super::enums::budget_status_enum::BudgetStatus", tag="6")] pub status: i32, - /// The delivery method that determines the rate at which the campaign budget - /// is spent. + /// The delivery method that determines the rate at which the campaign budget + /// is spent. /// - /// Defaults to STANDARD if unspecified in a create operation. + /// Defaults to STANDARD if unspecified in a create operation. #[prost(enumeration="super::enums::budget_delivery_method_enum::BudgetDeliveryMethod", tag="7")] pub delivery_method: i32, - /// Specifies whether the budget is explicitly shared. Defaults to true if - /// unspecified in a create operation. + /// Specifies whether the budget is explicitly shared. Defaults to true if + /// unspecified in a create operation. /// - /// If true, the budget was created with the purpose of sharing - /// across one or more campaigns. + /// If true, the budget was created with the purpose of sharing + /// across one or more campaigns. /// - /// If false, the budget was created with the intention of only being used - /// with a single campaign. The budget's name and status will stay in sync - /// with the campaign's name and status. Attempting to share the budget with a - /// second campaign will result in an error. + /// If false, the budget was created with the intention of only being used + /// with a single campaign. The budget's name and status will stay in sync + /// with the campaign's name and status. Attempting to share the budget with a + /// second campaign will result in an error. /// - /// A non-shared budget can become an explicitly shared. The same operation - /// must also assign the budget a name. + /// A non-shared budget can become an explicitly shared. The same operation + /// must also assign the budget a name. /// - /// A shared campaign budget can never become non-shared. + /// A shared campaign budget can never become non-shared. #[prost(bool, optional, tag="23")] pub explicitly_shared: ::core::option::Option, - /// Output only. The number of campaigns actively using the budget. + /// Output only. The number of campaigns actively using the budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="24")] pub reference_count: ::core::option::Option, - /// Output only. Indicates whether there is a recommended budget for this campaign budget. + /// Output only. Indicates whether there is a recommended budget for this campaign budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="25")] pub has_recommended_budget: ::core::option::Option, - /// Output only. The recommended budget amount. If no recommendation is available, this will - /// be set to the budget amount. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The recommended budget amount. If no recommendation is available, this will + /// be set to the budget amount. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="26")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. #[prost(enumeration="super::enums::budget_period_enum::BudgetPeriod", tag="13")] pub period: i32, - /// Output only. The estimated change in weekly clicks if the recommended budget is applied. + /// Output only. The estimated change in weekly clicks if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="27")] pub recommended_budget_estimated_change_weekly_clicks: ::core::option::Option, - /// Output only. The estimated change in weekly cost in micros if the recommended budget is - /// applied. One million is equivalent to one currency unit. + /// Output only. The estimated change in weekly cost in micros if the recommended budget is + /// applied. One million is equivalent to one currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="28")] pub recommended_budget_estimated_change_weekly_cost_micros: ::core::option::Option, - /// Output only. The estimated change in weekly interactions if the recommended budget is - /// applied. + /// Output only. The estimated change in weekly interactions if the recommended budget is + /// applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="29")] pub recommended_budget_estimated_change_weekly_interactions: ::core::option::Option, - /// Output only. The estimated change in weekly views if the recommended budget is applied. + /// Output only. The estimated change in weekly views if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="30")] pub recommended_budget_estimated_change_weekly_views: ::core::option::Option, - /// Immutable. The type of the campaign budget. + /// Immutable. The type of the campaign budget. #[prost(enumeration="super::enums::budget_type_enum::BudgetType", tag="18")] pub r#type: i32, } -/// The biddability setting for the specified campaign only for all -/// conversion actions with a matching category and origin. +/// The biddability setting for the specified campaign only for all +/// conversion actions with a matching category and origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoal { - /// Immutable. The resource name of the campaign conversion goal. - /// Campaign conversion goal resource names have the form: + /// Immutable. The resource name of the campaign conversion goal. + /// Campaign conversion goal resource names have the form: /// - /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this campaign conversion goal is associated. + /// Immutable. The campaign with which this campaign conversion goal is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The conversion category of this campaign conversion goal. + /// The conversion category of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="3")] pub category: i32, - /// The conversion origin of this campaign conversion goal. + /// The conversion origin of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="4")] pub origin: i32, - /// The biddability of the campaign conversion goal. + /// The biddability of the campaign conversion goal. #[prost(bool, tag="5")] pub biddable: bool, } -// Proto file describing the Campaign Criterion resource. +// Proto file describing the Campaign Criterion resource. -/// A campaign criterion. +/// A campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterion { - /// Immutable. The resource name of the campaign criterion. - /// Campaign criterion resource names have the form: + /// Immutable. The resource name of the campaign criterion. + /// Campaign criterion resource names have the form: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the criterion belongs. + /// Immutable. The campaign to which the criterion belongs. #[prost(string, optional, tag="37")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored during mutate. + /// This field is ignored during mutate. #[prost(int64, optional, tag="38")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="43")] pub display_name: ::prost::alloc::string::String, - /// The modifier for the bids when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - /// Use 0 to opt out of a Device type. + /// The modifier for the bids when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// Use 0 to opt out of a Device type. #[prost(float, optional, tag="39")] pub bid_modifier: ::core::option::Option, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. #[prost(bool, optional, tag="40")] pub negative: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="6")] pub r#type: i32, - /// The status of the criterion. + /// The status of the criterion. #[prost(enumeration="super::enums::campaign_criterion_status_enum::CampaignCriterionStatus", tag="35")] pub status: i32, - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="campaign_criterion::Criterion", tags="8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 22, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 41, 42, 45")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterion`. pub mod campaign_criterion { - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="8")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="9")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="10")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="11")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Location. + /// Immutable. Location. #[prost(message, tag="12")] Location(super::super::common::LocationInfo), - /// Immutable. Device. + /// Immutable. Device. #[prost(message, tag="13")] Device(super::super::common::DeviceInfo), - /// Immutable. Ad Schedule. + /// Immutable. Ad Schedule. #[prost(message, tag="15")] AdSchedule(super::super::common::AdScheduleInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="16")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="17")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="18")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="19")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="22")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="20")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="21")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Proximity. + /// Immutable. Proximity. #[prost(message, tag="23")] Proximity(super::super::common::ProximityInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="24")] Topic(super::super::common::TopicInfo), - /// Immutable. Listing scope. + /// Immutable. Listing scope. #[prost(message, tag="25")] ListingScope(super::super::common::ListingScopeInfo), - /// Immutable. Language. + /// Immutable. Language. #[prost(message, tag="26")] Language(super::super::common::LanguageInfo), - /// Immutable. IpBlock. + /// Immutable. IpBlock. #[prost(message, tag="27")] IpBlock(super::super::common::IpBlockInfo), - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="28")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. Carrier. + /// Immutable. Carrier. #[prost(message, tag="29")] Carrier(super::super::common::CarrierInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="30")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage. + /// Immutable. Webpage. #[prost(message, tag="31")] Webpage(super::super::common::WebpageInfo), - /// Immutable. Operating system version. + /// Immutable. Operating system version. #[prost(message, tag="32")] OperatingSystemVersion(super::super::common::OperatingSystemVersionInfo), - /// Immutable. Mobile Device. + /// Immutable. Mobile Device. #[prost(message, tag="33")] MobileDevice(super::super::common::MobileDeviceInfo), - /// Immutable. Location Group + /// Immutable. Location Group #[prost(message, tag="34")] LocationGroup(super::super::common::LocationGroupInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="36")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Audience + /// Immutable. Custom Audience #[prost(message, tag="41")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="42")] CombinedAudience(super::super::common::CombinedAudienceInfo), - /// Immutable. Smart Campaign Keyword Theme. + /// Immutable. Smart Campaign Keyword Theme. #[prost(message, tag="45")] KeywordTheme(super::super::common::KeywordThemeInfo), } } -// Proto file describing the campaign criterion simulation resource. +// Proto file describing the campaign criterion simulation resource. -/// A campaign criterion simulation. Supported combinations of advertising -/// channel type, criterion ids, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign criterion simulation. Supported combinations of advertising +/// channel type, criterion ids, simulation type and simulation modification +/// method is detailed below respectively. /// -/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM +/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM +/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionSimulation { - /// Output only. The resource name of the campaign criterion simulation. - /// Campaign criterion simulation resource names have the form: + /// Output only. The resource name of the campaign criterion simulation. + /// Campaign criterion simulation resource names have the form: /// - /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign ID of the simulation. + /// Output only. Campaign ID of the simulation. #[prost(int64, optional, tag="9")] pub campaign_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_criterion_simulation::PointList", tags="8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionSimulation`. pub mod campaign_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is BID_MODIFIER. + /// Output only. Simulation points if the simulation type is BID_MODIFIER. #[prost(message, tag="8")] BidModifierPointList(super::super::common::BidModifierSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the Campaign -/// level. +/// A customizer value for the associated CustomizerAttribute at the Campaign +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizer { - /// Immutable. The resource name of the campaign customizer. - /// Campaign customizer resource names have the form: + /// Immutable. The resource name of the campaign customizer. + /// Campaign customizer resource names have the form: /// - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the customizer attribute is linked. + /// Immutable. The campaign to which the customizer attribute is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the campaign. + /// Required. Immutable. The customizer attribute which is linked to the campaign. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the campaign customizer. + /// Output only. The status of the campaign customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the Campaign Draft resource. +// Proto file describing the Campaign Draft resource. -/// A campaign draft. +/// A campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraft { - /// Immutable. The resource name of the campaign draft. - /// Campaign draft resource names have the form: + /// Immutable. The resource name of the campaign draft. + /// Campaign draft resource names have the form: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the draft. + /// Output only. The ID of the draft. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="9")] pub draft_id: ::core::option::Option, - /// Immutable. The base campaign to which the draft belongs. + /// Immutable. The base campaign to which the draft belongs. #[prost(string, optional, tag="10")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign draft. + /// The name of the campaign draft. /// - /// This field is required and should not be empty when creating new - /// campaign drafts. + /// This field is required and should not be empty when creating new + /// campaign drafts. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the Campaign that results from overlaying the draft - /// changes onto the base campaign. + /// Output only. Resource name of the Campaign that results from overlaying the draft + /// changes onto the base campaign. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub draft_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign draft. This field is read-only. + /// Output only. The status of the campaign draft. This field is read-only. /// - /// When a new campaign draft is added, the status defaults to PROPOSED. + /// When a new campaign draft is added, the status defaults to PROPOSED. #[prost(enumeration="super::enums::campaign_draft_status_enum::CampaignDraftStatus", tag="6")] pub status: i32, - /// Output only. Whether there is an experiment based on this draft currently serving. + /// Output only. Whether there is an experiment based on this draft currently serving. #[prost(bool, optional, tag="13")] pub has_experiment_running: ::core::option::Option, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of draft promotion. This is only set if the draft promotion - /// is in progress or finished. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of draft promotion. This is only set if the draft promotion + /// is in progress or finished. #[prost(string, optional, tag="14")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Campaign Experiment resource. +// Proto file describing the Campaign Experiment resource. -/// An A/B experiment that compares the performance of the base campaign -/// (the control) and a variation of that campaign (the experiment). +/// An A/B experiment that compares the performance of the base campaign +/// (the control) and a variation of that campaign (the experiment). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperiment { - /// Immutable. The resource name of the campaign experiment. - /// Campaign experiment resource names have the form: + /// Immutable. The resource name of the campaign experiment. + /// Campaign experiment resource names have the form: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign experiment. + /// Output only. The ID of the campaign experiment. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="13")] pub id: ::core::option::Option, - /// Immutable. The campaign draft with staged changes to the base campaign. + /// Immutable. The campaign draft with staged changes to the base campaign. #[prost(string, optional, tag="14")] pub campaign_draft: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign experiment. + /// The name of the campaign experiment. /// - /// This field is required when creating new campaign experiments - /// and must not conflict with the name of another non-removed - /// campaign experiment or campaign. + /// This field is required when creating new campaign experiments + /// and must not conflict with the name of another non-removed + /// campaign experiment or campaign. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="15")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the experiment. + /// The description of the experiment. #[prost(string, optional, tag="16")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and - /// 99 inclusive. Base campaign receives the remainder of the traffic - /// (100 - traffic_split_percent). Required for create. + /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and + /// 99 inclusive. Base campaign receives the remainder of the traffic + /// (100 - traffic_split_percent). Required for create. #[prost(int64, optional, tag="17")] pub traffic_split_percent: ::core::option::Option, - /// Immutable. Determines the behavior of the traffic split. + /// Immutable. Determines the behavior of the traffic split. #[prost(enumeration="super::enums::campaign_experiment_traffic_split_type_enum::CampaignExperimentTrafficSplitType", tag="7")] pub traffic_split_type: i32, - /// Output only. The experiment campaign, as opposed to the base campaign. + /// Output only. The experiment campaign, as opposed to the base campaign. #[prost(string, optional, tag="18")] pub experiment_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign experiment. This field is read-only. + /// Output only. The status of the campaign experiment. This field is read-only. #[prost(enumeration="super::enums::campaign_experiment_status_enum::CampaignExperimentStatus", tag="9")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of experiment create or promote. The most recent long - /// running operation is returned. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of experiment create or promote. The most recent long + /// running operation is returned. #[prost(string, optional, tag="19")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, - /// Date when the campaign experiment starts. By default, the experiment starts - /// now or on the campaign's start date, whichever is later. If this field is - /// set, then the experiment starts at the beginning of the specified date in - /// the customer's time zone. Cannot be changed once the experiment starts. + /// Date when the campaign experiment starts. By default, the experiment starts + /// now or on the campaign's start date, whichever is later. If this field is + /// set, then the experiment starts at the beginning of the specified date in + /// the customer's time zone. Cannot be changed once the experiment starts. /// - /// Format: YYYY-MM-DD - /// Example: 2019-03-14 + /// Format: YYYY-MM-DD + /// Example: 2019-03-14 #[prost(string, optional, tag="20")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign experiment. By default, the experiment ends on - /// the campaign's end date. If this field is set, then the experiment ends at - /// the end of the specified date in the customer's time zone. + /// The last day of the campaign experiment. By default, the experiment ends on + /// the campaign's end date. If this field is set, then the experiment ends at + /// the end of the specified date in the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-04-18 + /// Format: YYYY-MM-DD + /// Example: 2019-04-18 #[prost(string, optional, tag="21")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignExtensionSetting resource. +// Proto file describing the CampaignExtensionSetting resource. -/// A campaign extension setting. +/// A campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSetting { - /// Immutable. The resource name of the campaign extension setting. - /// CampaignExtensionSetting resource names have the form: + /// Immutable. The resource name of the campaign extension setting. + /// CampaignExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the campaign. The linked extension feed items will - /// serve under this campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. The linked extension feed items will + /// serve under this campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the campaign. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the campaign. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the CampaignFeed resource. +// Proto file describing the CampaignFeed resource. -/// A campaign feed. +/// A campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeed { - /// Immutable. The resource name of the campaign feed. - /// Campaign feed resource names have the form: + /// Immutable. The resource name of the campaign feed. + /// Campaign feed resource names have the form: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which the CampaignFeed belongs. + /// Immutable. The feed to which the CampaignFeed belongs. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The campaign to which the CampaignFeed belongs. + /// Immutable. The campaign to which the CampaignFeed belongs. #[prost(string, optional, tag="8")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// campaign. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// campaign. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CampaignFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CampaignFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the campaign feed. - /// This field is read-only. + /// Output only. Status of the campaign feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the Campaign group resource. +// Proto file describing the Campaign group resource. -/// A campaign group. +/// A campaign group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroup { - /// Immutable. The resource name of the campaign group. - /// Campaign group resource names have the form: + /// Immutable. The resource name of the campaign group. + /// Campaign group resource names have the form: /// - /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` + /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign group. + /// Output only. The ID of the campaign group. #[prost(int64, tag="3")] pub id: i64, - /// The name of the campaign group. + /// The name of the campaign group. /// - /// This field is required and should not be empty when creating new campaign - /// groups. + /// This field is required and should not be empty when creating new campaign + /// groups. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// The status of the campaign group. + /// The status of the campaign group. /// - /// When a new campaign group is added, the status defaults to ENABLED. + /// When a new campaign group is added, the status defaults to ENABLED. #[prost(enumeration="super::enums::campaign_group_status_enum::CampaignGroupStatus", tag="5")] pub status: i32, } -// Proto file describing the campaign label resource. +// Proto file describing the campaign label resource. -/// Represents a relationship between a campaign and a label. +/// Represents a relationship between a campaign and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabel { - /// Immutable. Name of the resource. - /// Campaign label resource names have the form: - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// Immutable. Name of the resource. + /// Campaign label resource names have the form: + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the label is attached. + /// Immutable. The campaign to which the label is attached. #[prost(string, optional, tag="4")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the campaign. + /// Immutable. The label assigned to the campaign. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignSharedSet resource. +// Proto file describing the CampaignSharedSet resource. -/// CampaignSharedSets are used for managing the shared sets associated with a -/// campaign. +/// CampaignSharedSets are used for managing the shared sets associated with a +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSet { - /// Immutable. The resource name of the campaign shared set. - /// Campaign shared set resource names have the form: + /// Immutable. The resource name of the campaign shared set. + /// Campaign shared set resource names have the form: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the campaign shared set belongs. + /// Immutable. The campaign to which the campaign shared set belongs. #[prost(string, optional, tag="5")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The shared set associated with the campaign. This may be a negative keyword - /// shared set of another customer. This customer should be a manager of the - /// other customer, otherwise the campaign shared set will exist but have no - /// serving effect. Only negative keyword shared sets can be associated with - /// Shopping campaigns. Only negative placement shared sets can be associated - /// with Display mobile app campaigns. + /// Immutable. The shared set associated with the campaign. This may be a negative keyword + /// shared set of another customer. This customer should be a manager of the + /// other customer, otherwise the campaign shared set will exist but have no + /// serving effect. Only negative keyword shared sets can be associated with + /// Shopping campaigns. Only negative placement shared sets can be associated + /// with Display mobile app campaigns. #[prost(string, optional, tag="6")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this campaign shared set. Read only. + /// Output only. The status of this campaign shared set. Read only. #[prost(enumeration="super::enums::campaign_shared_set_status_enum::CampaignSharedSetStatus", tag="2")] pub status: i32, } -// Proto file describing the campaign simulation resource. +// Proto file describing the campaign simulation resource. -/// A campaign simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification +/// method is detailed below respectively. /// -/// SEARCH - CPC_BID - UNIFORM -/// SEARCH - CPC_BID - SCALING -/// SEARCH - TARGET_CPA - UNIFORM -/// SEARCH - TARGET_CPA - SCALING -/// SEARCH - TARGET_ROAS - UNIFORM -/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -/// SEARCH - BUDGET - UNIFORM -/// SHOPPING - BUDGET - UNIFORM -/// SHOPPING - TARGET_ROAS - UNIFORM -/// MULTI_CHANNEL - TARGET_CPA - UNIFORM -/// DISCOVERY - TARGET_CPA - DEFAULT -/// DISPLAY - TARGET_CPA - UNIFORM +/// SEARCH - CPC_BID - UNIFORM +/// SEARCH - CPC_BID - SCALING +/// SEARCH - TARGET_CPA - UNIFORM +/// SEARCH - TARGET_CPA - SCALING +/// SEARCH - TARGET_ROAS - UNIFORM +/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM +/// SEARCH - BUDGET - UNIFORM +/// SHOPPING - BUDGET - UNIFORM +/// SHOPPING - TARGET_ROAS - UNIFORM +/// MULTI_CHANNEL - TARGET_CPA - UNIFORM +/// DISCOVERY - TARGET_CPA - DEFAULT +/// DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSimulation { - /// Output only. The resource name of the campaign simulation. - /// Campaign simulation resource names have the form: + /// Output only. The resource name of the campaign simulation. + /// Campaign simulation resource names have the form: /// - /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign id of the simulation. + /// Output only. Campaign id of the simulation. #[prost(int64, tag="2")] pub campaign_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_simulation::PointList", tags="7, 8, 9, 10, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignSimulation`. pub mod campaign_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="7")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="8")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="9")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. #[prost(message, tag="10")] TargetImpressionSharePointList(super::super::common::TargetImpressionShareSimulationPointList), - /// Output only. Simulation points if the simulation type is BUDGET. + /// Output only. Simulation points if the simulation type is BUDGET. #[prost(message, tag="11")] BudgetPointList(super::super::common::BudgetSimulationPointList), } } -// Proto file describing the Carrier constant resource. +// Proto file describing the Carrier constant resource. -/// A carrier criterion that can be used in campaign targeting. +/// A carrier criterion that can be used in campaign targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierConstant { - /// Output only. The resource name of the carrier criterion. - /// Carrier criterion resource names have the form: + /// Output only. The resource name of the carrier criterion. + /// Carrier criterion resource names have the form: /// - /// `carrierConstants/{criterion_id}` + /// `carrierConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the carrier criterion. + /// Output only. The ID of the carrier criterion. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. The full name of the carrier in English. + /// Output only. The full name of the carrier in English. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The country code of the country where the carrier is located, for example, - /// "AR", "FR", etc. + /// Output only. The country code of the country where the carrier is located, for example, + /// "AR", "FR", etc. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerAsset resource. +// Proto file describing the CustomerAsset resource. -/// A link between a customer and an asset. +/// A link between a customer and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAsset { - /// Immutable. The resource name of the customer asset. - /// CustomerAsset resource names have the form: + /// Immutable. The resource name of the customer asset. + /// CustomerAsset resource names have the form: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the customer. + /// Required. Immutable. The asset which is linked to the customer. #[prost(string, tag="2")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes for the customer link. + /// Required. Immutable. Role that the asset takes for the customer link. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, - /// Output only. Source of the customer asset link. + /// Output only. Source of the customer asset link. #[prost(enumeration="super::enums::asset_source_enum::AssetSource", tag="5")] pub source: i32, - /// Status of the customer asset. + /// Status of the customer asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the Feed resource. +// Proto file describing the Feed resource. -/// A feed. +/// A feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feed { - /// Immutable. The resource name of the feed. - /// Feed resource names have the form: + /// Immutable. The resource name of the feed. + /// Feed resource names have the form: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the feed. - /// This field is read-only. + /// Output only. The ID of the feed. + /// This field is read-only. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Immutable. Name of the feed. Required. + /// Immutable. Name of the feed. Required. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The Feed's attributes. Required on CREATE, unless - /// system_feed_generation_data is provided, in which case Google Ads will - /// update the feed with the correct attributes. - /// Disallowed on UPDATE. Use attribute_operations to add new attributes. + /// The Feed's attributes. Required on CREATE, unless + /// system_feed_generation_data is provided, in which case Google Ads will + /// update the feed with the correct attributes. + /// Disallowed on UPDATE. Use attribute_operations to add new attributes. #[prost(message, repeated, tag="4")] pub attributes: ::prost::alloc::vec::Vec, - /// The list of operations changing the feed attributes. Attributes can only - /// be added, not removed. + /// The list of operations changing the feed attributes. Attributes can only + /// be added, not removed. #[prost(message, repeated, tag="9")] pub attribute_operations: ::prost::alloc::vec::Vec, - /// Immutable. Specifies who manages the FeedAttributes for the Feed. + /// Immutable. Specifies who manages the FeedAttributes for the Feed. #[prost(enumeration="super::enums::feed_origin_enum::FeedOrigin", tag="5")] pub origin: i32, - /// Output only. Status of the feed. - /// This field is read-only. + /// Output only. Status of the feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_status_enum::FeedStatus", tag="8")] pub status: i32, - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[prost(oneof="feed::SystemFeedGenerationData", tags="6, 7")] pub system_feed_generation_data: ::core::option::Option, } /// Nested message and enum types in `Feed`. pub mod feed { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacesLocationFeedData { - /// Immutable. Required authentication token (from OAuth API) for the email. - /// This field can only be specified in a create request. All its subfields - /// are not selectable. + /// Immutable. Required authentication token (from OAuth API) for the email. + /// This field can only be specified in a create request. All its subfields + /// are not selectable. #[prost(message, optional, tag="1")] pub oauth_info: ::core::option::Option, - /// Email address of a Business Profile or email address of a - /// manager of the Business Profile. Required. + /// Email address of a Business Profile or email address of a + /// manager of the Business Profile. Required. #[prost(string, optional, tag="7")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Plus page ID of the managed business whose locations should be used. If - /// this field is not set, then all businesses accessible by the user - /// (specified by email_address) are used. - /// This field is mutate-only and is not selectable. + /// Plus page ID of the managed business whose locations should be used. If + /// this field is not set, then all businesses accessible by the user + /// (specified by email_address) are used. + /// This field is mutate-only and is not selectable. #[prost(string, tag="8")] pub business_account_id: ::prost::alloc::string::String, - /// Used to filter Business Profile listings by business name. If - /// business_name_filter is set, only listings with a matching business name - /// are candidates to be sync'd into FeedItems. + /// Used to filter Business Profile listings by business name. If + /// business_name_filter is set, only listings with a matching business name + /// are candidates to be sync'd into FeedItems. #[prost(string, optional, tag="9")] pub business_name_filter: ::core::option::Option<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by categories. If entries - /// exist in category_filters, only listings that belong to any of the - /// categories are candidates to be sync'd into FeedItems. If no entries - /// exist in category_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by categories. If entries + /// exist in category_filters, only listings that belong to any of the + /// categories are candidates to be sync'd into FeedItems. If no entries + /// exist in category_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="11")] pub category_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by labels. If entries exist in - /// label_filters, only listings that has any of the labels set are - /// candidates to be synchronized into FeedItems. If no entries exist in - /// label_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by labels. If entries exist in + /// label_filters, only listings that has any of the labels set are + /// candidates to be synchronized into FeedItems. If no entries exist in + /// label_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="12")] pub label_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `PlacesLocationFeedData`. pub mod places_location_feed_data { - /// Data used for authorization using OAuth. + /// Data used for authorization using OAuth. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OAuthInfo { - /// The HTTP method used to obtain authorization. + /// The HTTP method used to obtain authorization. #[prost(string, optional, tag="4")] pub http_method: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP request URL used to obtain authorization. + /// The HTTP request URL used to obtain authorization. #[prost(string, optional, tag="5")] pub http_request_url: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP authorization header used to obtain authorization. + /// The HTTP authorization header used to obtain authorization. #[prost(string, optional, tag="6")] pub http_authorization_header: ::core::option::Option<::prost::alloc::string::String>, } } - /// Data used to configure an affiliate location feed populated with the - /// specified chains. + /// Data used to configure an affiliate location feed populated with the + /// specified chains. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedData { - /// The list of chains that the affiliate location feed will sync the - /// locations from. + /// The list of chains that the affiliate location feed will sync the + /// locations from. #[prost(int64, repeated, tag="3")] pub chain_ids: ::prost::alloc::vec::Vec, - /// The relationship the chains have with the advertiser. + /// The relationship the chains have with the advertiser. #[prost(enumeration="super::super::enums::affiliate_location_feed_relationship_type_enum::AffiliateLocationFeedRelationshipType", tag="2")] pub relationship_type: i32, } - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SystemFeedGenerationData { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[prost(message, tag="6")] PlacesLocationFeedData(PlacesLocationFeedData), - /// Data used to configure an affiliate location feed populated with - /// the specified chains. + /// Data used to configure an affiliate location feed populated with + /// the specified chains. #[prost(message, tag="7")] AffiliateLocationFeedData(AffiliateLocationFeedData), } } -/// FeedAttributes define the types of data expected to be present in a Feed. A -/// single FeedAttribute specifies the expected type of the FeedItemAttributes -/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -/// being part of a FeedItem's unique key. +/// FeedAttributes define the types of data expected to be present in a Feed. A +/// single FeedAttribute specifies the expected type of the FeedItemAttributes +/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as +/// being part of a FeedItem's unique key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttribute { - /// ID of the attribute. + /// ID of the attribute. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the attribute. Required. + /// The name of the attribute. Required. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Data type for feed attribute. Required. + /// Data type for feed attribute. Required. #[prost(enumeration="super::enums::feed_attribute_type_enum::FeedAttributeType", tag="3")] pub r#type: i32, - /// Indicates that data corresponding to this attribute is part of a - /// FeedItem's unique key. It defaults to false if it is unspecified. Note - /// that a unique key is not required in a Feed's schema, in which case the - /// FeedItems must be referenced by their feed_item_id. + /// Indicates that data corresponding to this attribute is part of a + /// FeedItem's unique key. It defaults to false if it is unspecified. Note + /// that a unique key is not required in a Feed's schema, in which case the + /// FeedItems must be referenced by their feed_item_id. #[prost(bool, optional, tag="7")] pub is_part_of_key: ::core::option::Option, } -/// Operation to be performed on a feed attribute list in a mutate. +/// Operation to be performed on a feed attribute list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperation { - /// Output only. Type of list operation to perform. + /// Output only. Type of list operation to perform. #[prost(enumeration="feed_attribute_operation::Operator", tag="1")] pub operator: i32, - /// Output only. The feed attribute being added to the list. + /// Output only. The feed attribute being added to the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `FeedAttributeOperation`. pub mod feed_attribute_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the attribute to the existing attributes. + /// Add the attribute to the existing attributes. Add = 2, } impl Operator { @@ -4211,4288 +4211,4288 @@ pub mod feed_attribute_operation { } } } -// Proto file describing the FeedItem resource. +// Proto file describing the FeedItem resource. -/// A feed item. +/// A feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItem { - /// Immutable. The resource name of the feed item. - /// Feed item resource names have the form: + /// Immutable. The resource name of the feed item. + /// Feed item resource names have the form: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which this feed item belongs. + /// Immutable. The feed to which this feed item belongs. #[prost(string, optional, tag="11")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of this feed item. + /// Output only. The ID of this feed item. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="13")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="14")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The feed item's attribute values. + /// The feed item's attribute values. #[prost(message, repeated, tag="6")] pub attribute_values: ::prost::alloc::vec::Vec, - /// Geo targeting restriction specifies the type of location that can be used - /// for targeting. + /// Geo targeting restriction specifies the type of location that can be used + /// for targeting. #[prost(enumeration="super::enums::geo_targeting_restriction_enum::GeoTargetingRestriction", tag="7")] pub geo_targeting_restriction: i32, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="8")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="9")] pub status: i32, - /// Output only. List of info about a feed item's validation and approval state for active - /// feed mappings. There will be an entry in the list for each type of feed - /// mapping associated with the feed, for example, a feed with a sitelink and a - /// call feed mapping would cause every feed item associated with that feed to - /// have an entry in this list for both sitelink and call. This field is - /// read-only. + /// Output only. List of info about a feed item's validation and approval state for active + /// feed mappings. There will be an entry in the list for each type of feed + /// mapping associated with the feed, for example, a feed with a sitelink and a + /// call feed mapping would cause every feed item associated with that feed to + /// have an entry in this list for both sitelink and call. This field is + /// read-only. #[prost(message, repeated, tag="10")] pub policy_infos: ::prost::alloc::vec::Vec, } -/// A feed item attribute value. +/// A feed item attribute value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemAttributeValue { - /// Id of the feed attribute for which the value is associated with. + /// Id of the feed attribute for which the value is associated with. #[prost(int64, optional, tag="11")] pub feed_attribute_id: ::core::option::Option, - /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute - /// of type INT64. + /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute + /// of type INT64. #[prost(int64, optional, tag="12")] pub integer_value: ::core::option::Option, - /// Bool value. Should be set if feed_attribute_id refers to a feed attribute - /// of type BOOLEAN. + /// Bool value. Should be set if feed_attribute_id refers to a feed attribute + /// of type BOOLEAN. #[prost(bool, optional, tag="13")] pub boolean_value: ::core::option::Option, - /// String value. Should be set if feed_attribute_id refers to a feed attribute - /// of type STRING, URL or DATE_TIME. - /// For STRING the maximum length is 1500 characters. For URL the maximum - /// length is 2076 characters. For DATE_TIME the string must be in the format - /// "YYYYMMDD HHMMSS". + /// String value. Should be set if feed_attribute_id refers to a feed attribute + /// of type STRING, URL or DATE_TIME. + /// For STRING the maximum length is 1500 characters. For URL the maximum + /// length is 2076 characters. For DATE_TIME the string must be in the format + /// "YYYYMMDD HHMMSS". #[prost(string, optional, tag="14")] pub string_value: ::core::option::Option<::prost::alloc::string::String>, - /// Double value. Should be set if feed_attribute_id refers to a feed attribute - /// of type DOUBLE. + /// Double value. Should be set if feed_attribute_id refers to a feed attribute + /// of type DOUBLE. #[prost(double, optional, tag="15")] pub double_value: ::core::option::Option, - /// Price value. Should be set if feed_attribute_id refers to a feed attribute - /// of type PRICE. + /// Price value. Should be set if feed_attribute_id refers to a feed attribute + /// of type PRICE. #[prost(message, optional, tag="6")] pub price_value: ::core::option::Option, - /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed - /// attribute of type INT64_LIST. + /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed + /// attribute of type INT64_LIST. #[prost(int64, repeated, tag="16")] pub integer_values: ::prost::alloc::vec::Vec, - /// Repeated bool value. Should be set if feed_attribute_id refers to a feed - /// attribute of type BOOLEAN_LIST. + /// Repeated bool value. Should be set if feed_attribute_id refers to a feed + /// attribute of type BOOLEAN_LIST. #[prost(bool, repeated, tag="17")] pub boolean_values: ::prost::alloc::vec::Vec, - /// Repeated string value. Should be set if feed_attribute_id refers to a feed - /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - /// For STRING_LIST and URL_LIST the total size of the list in bytes may not - /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - /// - /// For STRING_LIST the maximum length of each string element is 1500 - /// characters. For URL_LIST the maximum length is 2076 characters. For - /// DATE_TIME the format of the string must be the same as start and end time - /// for the feed item. + /// Repeated string value. Should be set if feed_attribute_id refers to a feed + /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. + /// For STRING_LIST and URL_LIST the total size of the list in bytes may not + /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. + /// + /// For STRING_LIST the maximum length of each string element is 1500 + /// characters. For URL_LIST the maximum length is 2076 characters. For + /// DATE_TIME the format of the string must be the same as start and end time + /// for the feed item. #[prost(string, repeated, tag="18")] pub string_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Repeated double value. Should be set if feed_attribute_id refers to a feed - /// attribute of type DOUBLE_LIST. + /// Repeated double value. Should be set if feed_attribute_id refers to a feed + /// attribute of type DOUBLE_LIST. #[prost(double, repeated, tag="19")] pub double_values: ::prost::alloc::vec::Vec, } -/// Policy, validation, and quality approval info for a feed item for the -/// specified placeholder type. +/// Policy, validation, and quality approval info for a feed item for the +/// specified placeholder type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemPlaceholderPolicyInfo { - /// Output only. The placeholder type. + /// Output only. The placeholder type. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="10")] pub placeholder_type_enum: i32, - /// Output only. The FeedMapping that contains the placeholder type. + /// Output only. The FeedMapping that contains the placeholder type. #[prost(string, optional, tag="11")] pub feed_mapping_resource_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Where the placeholder type is in the review process. + /// Output only. Where the placeholder type is in the review process. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="3")] pub review_status: i32, - /// Output only. The overall approval status of the placeholder type, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of the placeholder type, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="4")] pub approval_status: i32, - /// Output only. The list of policy findings for the placeholder type. + /// Output only. The list of policy findings for the placeholder type. #[prost(message, repeated, tag="5")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. The validation status of the palceholder type. + /// Output only. The validation status of the palceholder type. #[prost(enumeration="super::enums::feed_item_validation_status_enum::FeedItemValidationStatus", tag="6")] pub validation_status: i32, - /// Output only. List of placeholder type validation errors. + /// Output only. List of placeholder type validation errors. #[prost(message, repeated, tag="7")] pub validation_errors: ::prost::alloc::vec::Vec, - /// Output only. Placeholder type quality evaluation approval status. + /// Output only. Placeholder type quality evaluation approval status. #[prost(enumeration="super::enums::feed_item_quality_approval_status_enum::FeedItemQualityApprovalStatus", tag="8")] pub quality_approval_status: i32, - /// Output only. List of placeholder type quality evaluation disapproval reasons. + /// Output only. List of placeholder type quality evaluation disapproval reasons. #[prost(enumeration="super::enums::feed_item_quality_disapproval_reason_enum::FeedItemQualityDisapprovalReason", repeated, packed="false", tag="9")] pub quality_disapproval_reasons: ::prost::alloc::vec::Vec, } -/// Stores a validation error and the set of offending feed attributes which -/// together are responsible for causing a feed item validation error. +/// Stores a validation error and the set of offending feed attributes which +/// together are responsible for causing a feed item validation error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationError { - /// Output only. Error code indicating what validation error was triggered. The description - /// of the error can be found in the 'description' field. + /// Output only. Error code indicating what validation error was triggered. The description + /// of the error can be found in the 'description' field. #[prost(enumeration="super::errors::feed_item_validation_error_enum::FeedItemValidationError", tag="1")] pub validation_error: i32, - /// Output only. The description of the validation error. + /// Output only. The description of the validation error. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Set of feed attributes in the feed item flagged during validation. If - /// empty, no specific feed attributes can be associated with the error - /// (for example, error across the entire feed item). + /// Output only. Set of feed attributes in the feed item flagged during validation. If + /// empty, no specific feed attributes can be associated with the error + /// (for example, error across the entire feed item). #[prost(int64, repeated, packed="false", tag="7")] pub feed_attribute_ids: ::prost::alloc::vec::Vec, - /// Output only. Any extra information related to this error which is not captured by - /// validation_error and feed_attribute_id (for example, placeholder field IDs - /// when feed_attribute_id is not mapped). Note that extra_info is not - /// localized. + /// Output only. Any extra information related to this error which is not captured by + /// validation_error and feed_attribute_id (for example, placeholder field IDs + /// when feed_attribute_id is not mapped). Note that extra_info is not + /// localized. #[prost(string, optional, tag="8")] pub extra_info: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Change Event resource. +// Proto file describing the Change Event resource. -/// Describes the granular change of returned resource of certain resource types. -/// Changes made through UI, API and new versions of Editor -/// by external users (including external users, and internal users that can be -/// shown externally) in the past 30 days will be shown. The change shows the old -/// values of the changed fields before the change and the new values right after -/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new -/// change. +/// Describes the granular change of returned resource of certain resource types. +/// Changes made through UI, API and new versions of Editor +/// by external users (including external users, and internal users that can be +/// shown externally) in the past 30 days will be shown. The change shows the old +/// values of the changed fields before the change and the new values right after +/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new +/// change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEvent { - /// Output only. The resource name of the change event. - /// Change event resource names have the form: + /// Output only. The resource name of the change event. + /// Change event resource names have the form: /// - /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the change was committed on this resource. + /// Output only. Time at which the change was committed on this resource. #[prost(string, tag="2")] pub change_date_time: ::prost::alloc::string::String, - /// Output only. The type of the changed resource. This dictates what resource - /// will be set in old_resource and new_resource. + /// Output only. The type of the changed resource. This dictates what resource + /// will be set in old_resource and new_resource. #[prost(enumeration="super::enums::change_event_resource_type_enum::ChangeEventResourceType", tag="3")] pub change_resource_type: i32, - /// Output only. The Simply resource this change occurred on. + /// Output only. The Simply resource this change occurred on. #[prost(string, tag="4")] pub change_resource_name: ::prost::alloc::string::String, - /// Output only. Where the change was made through. + /// Output only. Where the change was made through. #[prost(enumeration="super::enums::change_client_type_enum::ChangeClientType", tag="5")] pub client_type: i32, - /// Output only. The email of the user who made this change. + /// Output only. The email of the user who made this change. #[prost(string, tag="6")] pub user_email: ::prost::alloc::string::String, - /// Output only. The old resource before the change. Only changed fields will be populated. + /// Output only. The old resource before the change. Only changed fields will be populated. #[prost(message, optional, tag="7")] pub old_resource: ::core::option::Option, - /// Output only. The new resource after the change. Only changed fields will be populated. + /// Output only. The new resource after the change. Only changed fields will be populated. #[prost(message, optional, tag="8")] pub new_resource: ::core::option::Option, - /// Output only. The operation on the changed resource. + /// Output only. The operation on the changed resource. #[prost(enumeration="super::enums::resource_change_operation_enum::ResourceChangeOperation", tag="9")] pub resource_change_operation: i32, - /// Output only. A list of fields that are changed in the returned resource. + /// Output only. A list of fields that are changed in the returned resource. #[prost(message, optional, tag="10")] pub changed_fields: ::core::option::Option<::prost_types::FieldMask>, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, tag="11")] pub campaign: ::prost::alloc::string::String, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, tag="12")] pub ad_group: ::prost::alloc::string::String, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, tag="13")] pub feed: ::prost::alloc::string::String, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, tag="14")] pub feed_item: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="20")] pub asset: ::prost::alloc::string::String, } /// Nested message and enum types in `ChangeEvent`. pub mod change_event { - /// A wrapper proto presenting all supported resources. - /// Only the resource of the change_resource_type will be set. + /// A wrapper proto presenting all supported resources. + /// Only the resource of the change_resource_type will be set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangedResource { - /// Output only. Set if change_resource_type == AD. + /// Output only. Set if change_resource_type == AD. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP. + /// Output only. Set if change_resource_type == AD_GROUP. #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. + /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. #[prost(message, optional, tag="3")] pub ad_group_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN. + /// Output only. Set if change_resource_type == CAMPAIGN. #[prost(message, optional, tag="4")] pub campaign: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. #[prost(message, optional, tag="5")] pub campaign_budget: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. #[prost(message, optional, tag="6")] pub ad_group_bid_modifier: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. #[prost(message, optional, tag="7")] pub campaign_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED. + /// Output only. Set if change_resource_type == FEED. #[prost(message, optional, tag="8")] pub feed: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED_ITEM. + /// Output only. Set if change_resource_type == FEED_ITEM. #[prost(message, optional, tag="9")] pub feed_item: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_FEED. + /// Output only. Set if change_resource_type == CAMPAIGN_FEED. #[prost(message, optional, tag="10")] pub campaign_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_FEED. + /// Output only. Set if change_resource_type == AD_GROUP_FEED. #[prost(message, optional, tag="11")] pub ad_group_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_AD. + /// Output only. Set if change_resource_type == AD_GROUP_AD. #[prost(message, optional, tag="12")] pub ad_group_ad: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET. + /// Output only. Set if change_resource_type == ASSET. #[prost(message, optional, tag="13")] pub asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CUSTOMER_ASSET. + /// Output only. Set if change_resource_type == CUSTOMER_ASSET. #[prost(message, optional, tag="14")] pub customer_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. + /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. #[prost(message, optional, tag="15")] pub campaign_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_ASSET. + /// Output only. Set if change_resource_type == AD_GROUP_ASSET. #[prost(message, optional, tag="16")] pub ad_group_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET_SET. + /// Output only. Set if change_resource_type == ASSET_SET. #[prost(message, optional, tag="17")] pub asset_set: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET_SET_ASSET. + /// Output only. Set if change_resource_type == ASSET_SET_ASSET. #[prost(message, optional, tag="18")] pub asset_set_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. + /// Output only. Set if change_resource_type == CAMPAIGN_ASSET_SET. #[prost(message, optional, tag="19")] pub campaign_asset_set: ::core::option::Option, } } -// Proto file describing the Change Status resource. +// Proto file describing the Change Status resource. -/// Describes the status of returned resource. ChangeStatus could have up to 3 -/// minutes delay to reflect a new change. +/// Describes the status of returned resource. ChangeStatus could have up to 3 +/// minutes delay to reflect a new change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatus { - /// Output only. The resource name of the change status. - /// Change status resource names have the form: + /// Output only. The resource name of the change status. + /// Change status resource names have the form: /// - /// `customers/{customer_id}/changeStatus/{change_status_id}` + /// `customers/{customer_id}/changeStatus/{change_status_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the most recent change has occurred on this resource. + /// Output only. Time at which the most recent change has occurred on this resource. #[prost(string, optional, tag="24")] pub last_change_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the type of the changed resource. This dictates what fields - /// will be set. For example, for AD_GROUP, campaign and ad_group fields will - /// be set. + /// Output only. Represents the type of the changed resource. This dictates what fields + /// will be set. For example, for AD_GROUP, campaign and ad_group fields will + /// be set. #[prost(enumeration="super::enums::change_status_resource_type_enum::ChangeStatusResourceType", tag="4")] pub resource_type: i32, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, optional, tag="17")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, optional, tag="18")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the status of the changed resource. + /// Output only. Represents the status of the changed resource. #[prost(enumeration="super::enums::change_status_operation_enum::ChangeStatusOperation", tag="8")] pub resource_status: i32, - /// Output only. The AdGroupAd affected by this change. + /// Output only. The AdGroupAd affected by this change. #[prost(string, optional, tag="25")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupCriterion affected by this change. + /// Output only. The AdGroupCriterion affected by this change. #[prost(string, optional, tag="26")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignCriterion affected by this change. + /// Output only. The CampaignCriterion affected by this change. #[prost(string, optional, tag="27")] pub campaign_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, optional, tag="28")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, optional, tag="29")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupFeed affected by this change. + /// Output only. The AdGroupFeed affected by this change. #[prost(string, optional, tag="30")] pub ad_group_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignFeed affected by this change. + /// Output only. The CampaignFeed affected by this change. #[prost(string, optional, tag="31")] pub campaign_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupBidModifier affected by this change. + /// Output only. The AdGroupBidModifier affected by this change. #[prost(string, optional, tag="32")] pub ad_group_bid_modifier: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The SharedSet affected by this change. + /// Output only. The SharedSet affected by this change. #[prost(string, tag="33")] pub shared_set: ::prost::alloc::string::String, - /// Output only. The CampaignSharedSet affected by this change. + /// Output only. The CampaignSharedSet affected by this change. #[prost(string, tag="34")] pub campaign_shared_set: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="35")] pub asset: ::prost::alloc::string::String, - /// Output only. The CustomerAsset affected by this change. + /// Output only. The CustomerAsset affected by this change. #[prost(string, tag="36")] pub customer_asset: ::prost::alloc::string::String, - /// Output only. The CampaignAsset affected by this change. + /// Output only. The CampaignAsset affected by this change. #[prost(string, tag="37")] pub campaign_asset: ::prost::alloc::string::String, - /// Output only. The AdGroupAsset affected by this change. + /// Output only. The AdGroupAsset affected by this change. #[prost(string, tag="38")] pub ad_group_asset: ::prost::alloc::string::String, } -// Proto file describing the ClickView resource. +// Proto file describing the ClickView resource. -/// A click view with metrics aggregated at each click level, including both -/// valid and invalid clicks. For non-Search campaigns, metrics.clicks -/// represents the number of valid and invalid interactions. -/// Queries including ClickView must have a filter limiting the results to one -/// day and can be requested for dates back to 90 days before the time of the -/// request. +/// A click view with metrics aggregated at each click level, including both +/// valid and invalid clicks. For non-Search campaigns, metrics.clicks +/// represents the number of valid and invalid interactions. +/// Queries including ClickView must have a filter limiting the results to one +/// day and can be requested for dates back to 90 days before the time of the +/// request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickView { - /// Output only. The resource name of the click view. - /// Click view resource names have the form: + /// Output only. The resource name of the click view. + /// Click view resource names have the form: /// - /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The Google Click ID. + /// Output only. The Google Click ID. #[prost(string, optional, tag="8")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The location criteria matching the area of interest associated with the - /// impression. + /// Output only. The location criteria matching the area of interest associated with the + /// impression. #[prost(message, optional, tag="3")] pub area_of_interest: ::core::option::Option, - /// Output only. The location criteria matching the location of presence associated with the - /// impression. + /// Output only. The location criteria matching the location of presence associated with the + /// impression. #[prost(message, optional, tag="4")] pub location_of_presence: ::core::option::Option, - /// Output only. Page number in search results where the ad was shown. + /// Output only. Page number in search results where the ad was shown. #[prost(int64, optional, tag="9")] pub page_number: ::core::option::Option, - /// Output only. The associated ad. + /// Output only. The associated ad. #[prost(string, optional, tag="10")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated campaign location target, if one exists. + /// Output only. The associated campaign location target, if one exists. #[prost(string, optional, tag="11")] pub campaign_location_target: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated user list, if one exists. + /// Output only. The associated user list, if one exists. #[prost(string, optional, tag="12")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated keyword, if one exists and the click corresponds to the - /// SEARCH channel. + /// Output only. The associated keyword, if one exists and the click corresponds to the + /// SEARCH channel. #[prost(string, tag="13")] pub keyword: ::prost::alloc::string::String, - /// Output only. Basic information about the associated keyword, if it exists. + /// Output only. Basic information about the associated keyword, if it exists. #[prost(message, optional, tag="14")] pub keyword_info: ::core::option::Option, } -// Proto file describing the Combined Audience resource. +// Proto file describing the Combined Audience resource. -/// Describe a resource for combined audiences which includes different -/// audiences. +/// Describe a resource for combined audiences which includes different +/// audiences. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudience { - /// Immutable. The resource name of the combined audience. - /// Combined audience names have the form: + /// Immutable. The resource name of the combined audience. + /// Combined audience names have the form: /// - /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` + /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the combined audience. + /// Output only. ID of the combined audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this combined audience. Indicates whether the combined audience - /// is enabled or removed. + /// Output only. Status of this combined audience. Indicates whether the combined audience + /// is enabled or removed. #[prost(enumeration="super::enums::combined_audience_status_enum::CombinedAudienceStatus", tag="3")] pub status: i32, - /// Output only. Name of the combined audience. It should be unique across all combined - /// audiences. + /// Output only. Name of the combined audience. It should be unique across all combined + /// audiences. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Output only. Description of this combined audience. + /// Output only. Description of this combined audience. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, } -// Proto file describing the Conversion Action resource. +// Proto file describing the Conversion Action resource. -/// A conversion action. +/// A conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAction { - /// Immutable. The resource name of the conversion action. - /// Conversion action resource names have the form: + /// Immutable. The resource name of the conversion action. + /// Conversion action resource names have the form: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion action. + /// Output only. The ID of the conversion action. #[prost(int64, optional, tag="21")] pub id: ::core::option::Option, - /// The name of the conversion action. + /// The name of the conversion action. /// - /// This field is required and should not be empty when creating new - /// conversion actions. + /// This field is required and should not be empty when creating new + /// conversion actions. #[prost(string, optional, tag="22")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of this conversion action for conversion event accrual. + /// The status of this conversion action for conversion event accrual. #[prost(enumeration="super::enums::conversion_action_status_enum::ConversionActionStatus", tag="4")] pub status: i32, - /// Immutable. The type of this conversion action. + /// Immutable. The type of this conversion action. #[prost(enumeration="super::enums::conversion_action_type_enum::ConversionActionType", tag="5")] pub r#type: i32, - /// Output only. The conversion origin of this conversion action. + /// Output only. The conversion origin of this conversion action. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="30")] pub origin: i32, - /// If a conversion action's primary_for_goal bit is false, the conversion - /// action is non-biddable for all campaigns regardless of their customer - /// conversion goal or campaign conversion goal. - /// However, custom conversion goals do not respect primary_for_goal, so if - /// a campaign has a custom conversion goal configured with a - /// primary_for_goal = false conversion action, that conversion action is - /// still biddable. - /// By default, primary_for_goal will be true if not set. In V9, - /// primary_for_goal can only be set to false after creation through an - /// 'update' operation because it's not declared as optional. + /// If a conversion action's primary_for_goal bit is false, the conversion + /// action is non-biddable for all campaigns regardless of their customer + /// conversion goal or campaign conversion goal. + /// However, custom conversion goals do not respect primary_for_goal, so if + /// a campaign has a custom conversion goal configured with a + /// primary_for_goal = false conversion action, that conversion action is + /// still biddable. + /// By default, primary_for_goal will be true if not set. In V9, + /// primary_for_goal can only be set to false after creation through an + /// 'update' operation because it's not declared as optional. #[prost(bool, optional, tag="31")] pub primary_for_goal: ::core::option::Option, - /// The category of conversions reported for this conversion action. + /// The category of conversions reported for this conversion action. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="6")] pub category: i32, - /// Output only. The resource name of the conversion action owner customer, or null if this - /// is a system-defined conversion action. + /// Output only. The resource name of the conversion action owner customer, or null if this + /// is a system-defined conversion action. #[prost(string, optional, tag="23")] pub owner_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Whether this conversion action should be included in the "conversions" - /// metric. + /// Whether this conversion action should be included in the "conversions" + /// metric. #[prost(bool, optional, tag="24")] pub include_in_conversions_metric: ::core::option::Option, - /// The maximum number of days that may elapse between an interaction - /// (for example, a click) and a conversion event. + /// The maximum number of days that may elapse between an interaction + /// (for example, a click) and a conversion event. #[prost(int64, optional, tag="25")] pub click_through_lookback_window_days: ::core::option::Option, - /// The maximum number of days which may elapse between an impression and a - /// conversion without an interaction. + /// The maximum number of days which may elapse between an impression and a + /// conversion without an interaction. #[prost(int64, optional, tag="26")] pub view_through_lookback_window_days: ::core::option::Option, - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[prost(message, optional, tag="11")] pub value_settings: ::core::option::Option, - /// How to count conversion events for the conversion action. + /// How to count conversion events for the conversion action. #[prost(enumeration="super::enums::conversion_action_counting_type_enum::ConversionActionCountingType", tag="12")] pub counting_type: i32, - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[prost(message, optional, tag="13")] pub attribution_model_settings: ::core::option::Option, - /// Output only. The snippets used for tracking conversions. + /// Output only. The snippets used for tracking conversions. #[prost(message, repeated, tag="14")] pub tag_snippets: ::prost::alloc::vec::Vec, - /// The phone call duration in seconds after which a conversion should be - /// reported for this conversion action. + /// The phone call duration in seconds after which a conversion should be + /// reported for this conversion action. /// - /// The value must be between 0 and 10000, inclusive. + /// The value must be between 0 and 10000, inclusive. #[prost(int64, optional, tag="27")] pub phone_call_duration_seconds: ::core::option::Option, - /// App ID for an app conversion action. + /// App ID for an app conversion action. #[prost(string, optional, tag="28")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Mobile app vendor for an app conversion action. + /// Output only. Mobile app vendor for an app conversion action. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="17")] pub mobile_app_vendor: i32, - /// Output only. Firebase settings for Firebase conversion types. + /// Output only. Firebase settings for Firebase conversion types. #[prost(message, optional, tag="18")] pub firebase_settings: ::core::option::Option, - /// Output only. Third Party App Analytics settings for third party conversion types. + /// Output only. Third Party App Analytics settings for third party conversion types. #[prost(message, optional, tag="19")] pub third_party_app_analytics_settings: ::core::option::Option, } /// Nested message and enum types in `ConversionAction`. pub mod conversion_action { - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelSettings { - /// The attribution model type of this conversion action. + /// The attribution model type of this conversion action. #[prost(enumeration="super::super::enums::attribution_model_enum::AttributionModel", tag="1")] pub attribution_model: i32, - /// Output only. The status of the data-driven attribution model for the conversion - /// action. + /// Output only. The status of the data-driven attribution model for the conversion + /// action. #[prost(enumeration="super::super::enums::data_driven_model_status_enum::DataDrivenModelStatus", tag="2")] pub data_driven_model_status: i32, } - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueSettings { - /// The value to use when conversion events for this conversion action are - /// sent with an invalid, disallowed or missing value, or when - /// this conversion action is configured to always use the default value. + /// The value to use when conversion events for this conversion action are + /// sent with an invalid, disallowed or missing value, or when + /// this conversion action is configured to always use the default value. #[prost(double, optional, tag="4")] pub default_value: ::core::option::Option, - /// The currency code to use when conversion events for this conversion - /// action are sent with an invalid or missing currency code, or when this - /// conversion action is configured to always use the default value. + /// The currency code to use when conversion events for this conversion + /// action are sent with an invalid or missing currency code, or when this + /// conversion action is configured to always use the default value. #[prost(string, optional, tag="5")] pub default_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Controls whether the default value and default currency code are used in - /// place of the value and currency code specified in conversion events for - /// this conversion action. + /// Controls whether the default value and default currency code are used in + /// place of the value and currency code specified in conversion events for + /// this conversion action. #[prost(bool, optional, tag="6")] pub always_use_default_value: ::core::option::Option, } - /// Settings related to a third party app analytics conversion action. + /// Settings related to a third party app analytics conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsSettings { - /// Output only. The event name of a third-party app analytics conversion. + /// Output only. The event name of a third-party app analytics conversion. #[prost(string, optional, tag="2")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Name of the third-party app analytics provider. + /// Output only. Name of the third-party app analytics provider. #[prost(string, tag="3")] pub provider_name: ::prost::alloc::string::String, } - /// Settings related to a Firebase conversion action. + /// Settings related to a Firebase conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirebaseSettings { - /// Output only. The event name of a Firebase conversion. + /// Output only. The event name of a Firebase conversion. #[prost(string, optional, tag="3")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Firebase project ID of the conversion. + /// Output only. The Firebase project ID of the conversion. #[prost(string, optional, tag="4")] pub project_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The GA property ID of the conversion. + /// Output only. The GA property ID of the conversion. #[prost(int64, tag="5")] pub property_id: i64, - /// Output only. The GA property name of the conversion. + /// Output only. The GA property name of the conversion. #[prost(string, tag="6")] pub property_name: ::prost::alloc::string::String, } } -// Proto file describing the Conversion Custom Variable resource. +// Proto file describing the Conversion Custom Variable resource. -/// A conversion custom variable -/// See "About custom variables for conversions" at -/// +/// A conversion custom variable +/// See "About custom variables for conversions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariable { - /// Immutable. The resource name of the conversion custom variable. - /// Conversion custom variable resource names have the form: + /// Immutable. The resource name of the conversion custom variable. + /// Conversion custom variable resource names have the form: /// - /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion custom variable. + /// Output only. The ID of the conversion custom variable. #[prost(int64, tag="2")] pub id: i64, - /// Required. The name of the conversion custom variable. - /// Name should be unique. The maximum length of name is 100 characters. - /// There should not be any extra spaces before and after. + /// Required. The name of the conversion custom variable. + /// Name should be unique. The maximum length of name is 100 characters. + /// There should not be any extra spaces before and after. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet - /// and sent to Google Ads along with conversion pings. For conversion uploads - /// in Google Ads API, the resource name of the conversion custom variable is - /// used. - /// Tag should be unique. The maximum size of tag is 100 bytes. - /// There should not be any extra spaces before and after. - /// Currently only lowercase letters, numbers and underscores are allowed in - /// the tag. + /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet + /// and sent to Google Ads along with conversion pings. For conversion uploads + /// in Google Ads API, the resource name of the conversion custom variable is + /// used. + /// Tag should be unique. The maximum size of tag is 100 bytes. + /// There should not be any extra spaces before and after. + /// Currently only lowercase letters, numbers and underscores are allowed in + /// the tag. #[prost(string, tag="4")] pub tag: ::prost::alloc::string::String, - /// The status of the conversion custom variable for conversion event accrual. + /// The status of the conversion custom variable for conversion event accrual. #[prost(enumeration="super::enums::conversion_custom_variable_status_enum::ConversionCustomVariableStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the customer that owns the conversion custom variable. + /// Output only. The resource name of the customer that owns the conversion custom variable. #[prost(string, tag="6")] pub owner_customer: ::prost::alloc::string::String, } -/// Conversion goal settings for a Campaign. +/// Conversion goal settings for a Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfig { - /// Immutable. The resource name of the conversion goal campaign config. - /// Conversion goal campaign config resource names have the form: + /// Immutable. The resource name of the conversion goal campaign config. + /// Conversion goal campaign config resource names have the form: /// - /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this conversion goal campaign config is associated. + /// Immutable. The campaign with which this conversion goal campaign config is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The level of goal config the campaign is using. + /// The level of goal config the campaign is using. #[prost(enumeration="super::enums::goal_config_level_enum::GoalConfigLevel", tag="3")] pub goal_config_level: i32, - /// The custom conversion goal the campaign is using for optimization. + /// The custom conversion goal the campaign is using for optimization. #[prost(string, tag="4")] pub custom_conversion_goal: ::prost::alloc::string::String, } -// Proto file describing the Conversion Value Rule resource. +// Proto file describing the Conversion Value Rule resource. -/// A conversion value rule +/// A conversion value rule #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRule { - /// Immutable. The resource name of the conversion value rule. - /// Conversion value rule resource names have the form: + /// Immutable. The resource name of the conversion value rule. + /// Conversion value rule resource names have the form: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule. + /// Output only. The ID of the conversion value rule. #[prost(int64, tag="2")] pub id: i64, - /// Action applied when the rule is triggered. + /// Action applied when the rule is triggered. #[prost(message, optional, tag="3")] pub action: ::core::option::Option, - /// Condition for Geo location that must be satisfied for the value rule to - /// apply. + /// Condition for Geo location that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="4")] pub geo_location_condition: ::core::option::Option, - /// Condition for device type that must be satisfied for the value rule to - /// apply. + /// Condition for device type that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="5")] pub device_condition: ::core::option::Option, - /// Condition for audience that must be satisfied for the value rule to apply. + /// Condition for audience that must be satisfied for the value rule to apply. #[prost(message, optional, tag="6")] pub audience_condition: ::core::option::Option, - /// Output only. The resource name of the conversion value rule's owner customer. - /// When the value rule is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule's owner customer. + /// When the value rule is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="7")] pub owner_customer: ::prost::alloc::string::String, - /// The status of the conversion value rule. + /// The status of the conversion value rule. #[prost(enumeration="super::enums::conversion_value_rule_status_enum::ConversionValueRuleStatus", tag="8")] pub status: i32, } /// Nested message and enum types in `ConversionValueRule`. pub mod conversion_value_rule { - /// Action applied when rule is applied. + /// Action applied when rule is applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAction { - /// Specifies applied operation. + /// Specifies applied operation. #[prost(enumeration="super::super::enums::value_rule_operation_enum::ValueRuleOperation", tag="1")] pub operation: i32, - /// Specifies applied value. + /// Specifies applied value. #[prost(double, tag="2")] pub value: f64, } - /// Condition on Geo dimension. + /// Condition on Geo dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationCondition { - /// Geo locations that advertisers want to exclude. + /// Geo locations that advertisers want to exclude. #[prost(string, repeated, tag="1")] pub excluded_geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Excluded Geo location match type. + /// Excluded Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="2")] pub excluded_geo_match_type: i32, - /// Geo locations that advertisers want to include. + /// Geo locations that advertisers want to include. #[prost(string, repeated, tag="3")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Included Geo location match type. + /// Included Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="4")] pub geo_match_type: i32, } - /// Condition on Device dimension. + /// Condition on Device dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceCondition { - /// Value for device type condition. + /// Value for device type condition. #[prost(enumeration="super::super::enums::value_rule_device_type_enum::ValueRuleDeviceType", repeated, tag="1")] pub device_types: ::prost::alloc::vec::Vec, } - /// Condition on Audience dimension. + /// Condition on Audience dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAudienceCondition { - /// User Lists. + /// User Lists. #[prost(string, repeated, tag="1")] pub user_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User Interests. + /// User Interests. #[prost(string, repeated, tag="2")] pub user_interests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -// Proto file describing the Conversion Value Rule Set resource. +// Proto file describing the Conversion Value Rule Set resource. -/// A conversion value rule set +/// A conversion value rule set #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSet { - /// Immutable. The resource name of the conversion value rule set. - /// Conversion value rule set resource names have the form: + /// Immutable. The resource name of the conversion value rule set. + /// Conversion value rule set resource names have the form: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule set. + /// Output only. The ID of the conversion value rule set. #[prost(int64, tag="2")] pub id: i64, - /// Resource names of rules within the rule set. + /// Resource names of rules within the rule set. #[prost(string, repeated, tag="3")] pub conversion_value_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Defines dimensions for Value Rule conditions. The condition types of value - /// rules within this value rule set must be of these dimensions. The first - /// entry in this list is the primary dimension of the included value rules. - /// When using value rule primary dimension segmentation, conversion values - /// will be segmented into the values adjusted by value rules and the original - /// values, if some value rules apply. + /// Defines dimensions for Value Rule conditions. The condition types of value + /// rules within this value rule set must be of these dimensions. The first + /// entry in this list is the primary dimension of the included value rules. + /// When using value rule primary dimension segmentation, conversion values + /// will be segmented into the values adjusted by value rules and the original + /// values, if some value rules apply. #[prost(enumeration="super::enums::value_rule_set_dimension_enum::ValueRuleSetDimension", repeated, tag="4")] pub dimensions: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the conversion value rule set's owner customer. - /// When the value rule set is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule set's owner customer. + /// When the value rule set is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="5")] pub owner_customer: ::prost::alloc::string::String, - /// Immutable. Defines the scope where the conversion value rule set is attached. + /// Immutable. Defines the scope where the conversion value rule set is attached. #[prost(enumeration="super::enums::value_rule_set_attachment_type_enum::ValueRuleSetAttachmentType", tag="6")] pub attachment_type: i32, - /// The resource name of the campaign when the conversion value rule - /// set is attached to a campaign. + /// The resource name of the campaign when the conversion value rule + /// set is attached to a campaign. #[prost(string, tag="7")] pub campaign: ::prost::alloc::string::String, - /// Output only. The status of the conversion value rule set. - /// ** Read-only ** + /// Output only. The status of the conversion value rule set. + /// ** Read-only ** #[prost(enumeration="super::enums::conversion_value_rule_set_status_enum::ConversionValueRuleSetStatus", tag="8")] pub status: i32, - /// Immutable. The conversion action categories of the conversion value rule set. + /// Immutable. The conversion action categories of the conversion value rule set. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", repeated, packed="false", tag="9")] pub conversion_action_categories: ::prost::alloc::vec::Vec, } -// Proto file describing the Currency Constant resource. +// Proto file describing the Currency Constant resource. -/// A currency constant. +/// A currency constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyConstant { - /// Output only. The resource name of the currency constant. - /// Currency constant resource names have the form: + /// Output only. The resource name of the currency constant. + /// Currency constant resource names have the form: /// - /// `currencyConstants/{code}` + /// `currencyConstants/{code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ISO 4217 three-letter currency code, for example, "USD" + /// Output only. ISO 4217 three-letter currency code, for example, "USD" #[prost(string, optional, tag="6")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Full English name of the currency. + /// Output only. Full English name of the currency. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Standard symbol for describing this currency, for example, '$' for US - /// Dollars. + /// Output only. Standard symbol for describing this currency, for example, '$' for US + /// Dollars. #[prost(string, optional, tag="8")] pub symbol: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The billable unit for this currency. Billed amounts should be multiples of - /// this value. + /// Output only. The billable unit for this currency. Billed amounts should be multiples of + /// this value. #[prost(int64, optional, tag="9")] pub billable_unit_micros: ::core::option::Option, } -// Proto file describing the Custom Audience resource. +// Proto file describing the Custom Audience resource. -/// A custom audience. This is a list of users by interest. +/// A custom audience. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudience { - /// Immutable. The resource name of the custom audience. - /// Custom audience resource names have the form: + /// Immutable. The resource name of the custom audience. + /// Custom audience resource names have the form: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the custom audience. + /// Output only. ID of the custom audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this custom audience. Indicates whether the custom audience is - /// enabled or removed. + /// Output only. Status of this custom audience. Indicates whether the custom audience is + /// enabled or removed. #[prost(enumeration="super::enums::custom_audience_status_enum::CustomAudienceStatus", tag="3")] pub status: i32, - /// Name of the custom audience. It should be unique for all custom audiences - /// created by a customer. - /// This field is required for creating operations. + /// Name of the custom audience. It should be unique for all custom audiences + /// created by a customer. + /// This field is required for creating operations. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Type of the custom audience. - /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - /// audience but kept for existing audiences) + /// Type of the custom audience. + /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom + /// audience but kept for existing audiences) #[prost(enumeration="super::enums::custom_audience_type_enum::CustomAudienceType", tag="5")] pub r#type: i32, - /// Description of this custom audience. + /// Description of this custom audience. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// List of custom audience members that this custom audience is composed of. - /// Members can be added during CustomAudience creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom audience members that this custom audience is composed of. + /// Members can be added during CustomAudience creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom audience. A member can be a KEYWORD, URL, -/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. +/// A member of custom audience. A member can be a KEYWORD, URL, +/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMember { - /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. #[prost(enumeration="super::enums::custom_audience_member_type_enum::CustomAudienceMemberType", tag="1")] pub member_type: i32, - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[prost(oneof="custom_audience_member::Value", tags="2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceMember`. pub mod custom_audience_member { - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A keyword or keyword phrase — at most 10 words and 80 characters. - /// Languages with double-width characters such as Chinese, Japanese, - /// or Korean, are allowed 40 characters, which describes the user's - /// interests or actions. + /// A keyword or keyword phrase — at most 10 words and 80 characters. + /// Languages with double-width characters such as Chinese, Japanese, + /// or Korean, are allowed 40 characters, which describes the user's + /// interests or actions. #[prost(string, tag="2")] Keyword(::prost::alloc::string::String), - /// An HTTP URL, protocol-included — at most 2048 characters, which includes - /// contents users have interests in. + /// An HTTP URL, protocol-included — at most 2048 characters, which includes + /// contents users have interests in. #[prost(string, tag="3")] Url(::prost::alloc::string::String), - /// A place type described by a place category users visit. + /// A place type described by a place category users visit. #[prost(int64, tag="4")] PlaceCategory(i64), - /// A package name of Android apps which users installed such as - /// com.google.example. + /// A package name of Android apps which users installed such as + /// com.google.example. #[prost(string, tag="5")] App(::prost::alloc::string::String), } } -/// Custom conversion goal that can make arbitrary conversion actions biddable. +/// Custom conversion goal that can make arbitrary conversion actions biddable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoal { - /// Immutable. The resource name of the custom conversion goal. - /// Custom conversion goal resource names have the form: + /// Immutable. The resource name of the custom conversion goal. + /// Custom conversion goal resource names have the form: /// - /// `customers/{customer_id}/customConversionGoals/{goal_id}` + /// `customers/{customer_id}/customConversionGoals/{goal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ID for this custom conversion goal. + /// Immutable. The ID for this custom conversion goal. #[prost(int64, tag="2")] pub id: i64, - /// The name for this custom conversion goal. + /// The name for this custom conversion goal. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Conversion actions that the custom conversion goal makes biddable. + /// Conversion actions that the custom conversion goal makes biddable. #[prost(string, repeated, tag="4")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the custom conversion goal. + /// The status of the custom conversion goal. #[prost(enumeration="super::enums::custom_conversion_goal_status_enum::CustomConversionGoalStatus", tag="5")] pub status: i32, } -// Proto file describing the Custom Interest resource. +// Proto file describing the Custom Interest resource. -/// A custom interest. This is a list of users by interest. +/// A custom interest. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterest { - /// Immutable. The resource name of the custom interest. - /// Custom interest resource names have the form: + /// Immutable. The resource name of the custom interest. + /// Custom interest resource names have the form: /// - /// `customers/{customer_id}/customInterests/{custom_interest_id}` + /// `customers/{customer_id}/customInterests/{custom_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the custom interest. + /// Output only. Id of the custom interest. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Status of this custom interest. Indicates whether the custom interest is - /// enabled or removed. + /// Status of this custom interest. Indicates whether the custom interest is + /// enabled or removed. #[prost(enumeration="super::enums::custom_interest_status_enum::CustomInterestStatus", tag="3")] pub status: i32, - /// Name of the custom interest. It should be unique across the same custom - /// affinity audience. - /// This field is required for create operations. + /// Name of the custom interest. It should be unique across the same custom + /// affinity audience. + /// This field is required for create operations. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - /// By default the type is set to CUSTOM_AFFINITY. + /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. + /// By default the type is set to CUSTOM_AFFINITY. #[prost(enumeration="super::enums::custom_interest_type_enum::CustomInterestType", tag="5")] pub r#type: i32, - /// Description of this custom interest audience. + /// Description of this custom interest audience. #[prost(string, optional, tag="10")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// List of custom interest members that this custom interest is composed of. - /// Members can be added during CustomInterest creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom interest members that this custom interest is composed of. + /// Members can be added during CustomInterest creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom interest audience. A member can be a keyword or url. -/// It is immutable, that is, it can only be created or removed but not changed. +/// A member of custom interest audience. A member can be a keyword or url. +/// It is immutable, that is, it can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMember { - /// The type of custom interest member, KEYWORD or URL. + /// The type of custom interest member, KEYWORD or URL. #[prost(enumeration="super::enums::custom_interest_member_type_enum::CustomInterestMemberType", tag="1")] pub member_type: i32, - /// Keyword text when member_type is KEYWORD or URL string when - /// member_type is URL. + /// Keyword text when member_type is KEYWORD or URL string when + /// member_type is URL. #[prost(string, optional, tag="3")] pub parameter: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Customer resource. +// Proto file describing the Customer resource. -/// A customer. +/// A customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Customer { - /// Immutable. The resource name of the customer. - /// Customer resource names have the form: + /// Immutable. The resource name of the customer. + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customer. + /// Output only. The ID of the customer. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// Optional, non-unique descriptive name of the customer. + /// Optional, non-unique descriptive name of the customer. #[prost(string, optional, tag="20")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The currency in which the account operates. - /// A subset of the currency codes from the ISO 4217 standard is - /// supported. + /// Immutable. The currency in which the account operates. + /// A subset of the currency codes from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="21")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The local timezone ID of the customer. + /// Immutable. The local timezone ID of the customer. #[prost(string, optional, tag="22")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL out of parameters. + /// The URL template for constructing a tracking URL out of parameters. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for appending params to the final URL + /// The URL template for appending params to the final URL #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Whether auto-tagging is enabled for the customer. + /// Whether auto-tagging is enabled for the customer. #[prost(bool, optional, tag="25")] pub auto_tagging_enabled: ::core::option::Option, - /// Output only. Whether the Customer has a Partners program badge. If the Customer is not - /// associated with the Partners program, this will be false. For more - /// information, see + /// Output only. Whether the Customer has a Partners program badge. If the Customer is not + /// associated with the Partners program, this will be false. For more + /// information, see #[prost(bool, optional, tag="26")] pub has_partners_badge: ::core::option::Option, - /// Output only. Whether the customer is a manager. + /// Output only. Whether the customer is a manager. #[prost(bool, optional, tag="27")] pub manager: ::core::option::Option, - /// Output only. Whether the customer is a test account. + /// Output only. Whether the customer is a test account. #[prost(bool, optional, tag="28")] pub test_account: ::core::option::Option, - /// Call reporting setting for a customer. Only mutable in an `update` - /// operation. + /// Call reporting setting for a customer. Only mutable in an `update` + /// operation. #[prost(message, optional, tag="10")] pub call_reporting_setting: ::core::option::Option, - /// Output only. Conversion tracking setting for a customer. + /// Output only. Conversion tracking setting for a customer. #[prost(message, optional, tag="14")] pub conversion_tracking_setting: ::core::option::Option, - /// Output only. Remarketing setting for a customer. + /// Output only. Remarketing setting for a customer. #[prost(message, optional, tag="15")] pub remarketing_setting: ::core::option::Option, - /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - /// the list is empty, the customer is eligible. This field is read-only. + /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If + /// the list is empty, the customer is eligible. This field is read-only. #[prost(enumeration="super::enums::customer_pay_per_conversion_eligibility_failure_reason_enum::CustomerPayPerConversionEligibilityFailureReason", repeated, packed="false", tag="16")] pub pay_per_conversion_eligibility_failure_reasons: ::prost::alloc::vec::Vec, - /// Output only. Optimization score of the customer. + /// Output only. Optimization score of the customer. /// - /// Optimization score is an estimate of how well a customer's campaigns are - /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - /// for all manager customers, and for unscored non-manager customers. + /// Optimization score is an estimate of how well a customer's campaigns are + /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null + /// for all manager customers, and for unscored non-manager customers. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="29")] pub optimization_score: ::core::option::Option, - /// Output only. Optimization score weight of the customer. + /// Output only. Optimization score weight of the customer. /// - /// Optimization score weight can be used to compare/aggregate optimization - /// scores across multiple non-manager customers. The aggregate optimization - /// score of a manager is computed as the sum over all of their customers of - /// `Customer.optimization_score * Customer.optimization_score_weight`. This - /// field is 0 for all manager customers, and for unscored non-manager - /// customers. + /// Optimization score weight can be used to compare/aggregate optimization + /// scores across multiple non-manager customers. The aggregate optimization + /// score of a manager is computed as the sum over all of their customers of + /// `Customer.optimization_score * Customer.optimization_score_weight`. This + /// field is 0 for all manager customers, and for unscored non-manager + /// customers. /// - /// This field is read-only. + /// This field is read-only. #[prost(double, tag="30")] pub optimization_score_weight: f64, - /// Output only. The status of the customer. + /// Output only. The status of the customer. #[prost(enumeration="super::enums::customer_status_enum::CustomerStatus", tag="36")] pub status: i32, } -/// Call reporting setting for a customer. Only mutable in an `update` operation. +/// Call reporting setting for a customer. Only mutable in an `update` operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallReportingSetting { - /// Enable reporting of phone call events by redirecting them through Google - /// System. + /// Enable reporting of phone call events by redirecting them through Google + /// System. #[prost(bool, optional, tag="10")] pub call_reporting_enabled: ::core::option::Option, - /// Whether to enable call conversion reporting. + /// Whether to enable call conversion reporting. #[prost(bool, optional, tag="11")] pub call_conversion_reporting_enabled: ::core::option::Option, - /// Customer-level call conversion action to attribute a call conversion to. - /// If not set a default conversion action is used. Only in effect when - /// call_conversion_reporting_enabled is set to true. + /// Customer-level call conversion action to attribute a call conversion to. + /// If not set a default conversion action is used. Only in effect when + /// call_conversion_reporting_enabled is set to true. #[prost(string, optional, tag="12")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, } -/// A collection of customer-wide settings related to Google Ads Conversion -/// Tracking. +/// A collection of customer-wide settings related to Google Ads Conversion +/// Tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionTrackingSetting { - /// Output only. The conversion tracking id used for this account. This id doesn't indicate - /// whether the customer uses conversion tracking (conversion_tracking_status - /// does). This field is read-only. + /// Output only. The conversion tracking id used for this account. This id doesn't indicate + /// whether the customer uses conversion tracking (conversion_tracking_status + /// does). This field is read-only. #[prost(int64, optional, tag="3")] pub conversion_tracking_id: ::core::option::Option, - /// Output only. The conversion tracking id of the customer's manager. This is set when the - /// customer is opted into cross account conversion tracking, and it overrides - /// conversion_tracking_id. This field can only be managed through the Google - /// Ads UI. This field is read-only. + /// Output only. The conversion tracking id of the customer's manager. This is set when the + /// customer is opted into cross account conversion tracking, and it overrides + /// conversion_tracking_id. This field can only be managed through the Google + /// Ads UI. This field is read-only. #[prost(int64, optional, tag="4")] pub cross_account_conversion_tracking_id: ::core::option::Option, - /// Output only. Whether the customer has accepted customer data terms. If using - /// cross-account conversion tracking, this value is inherited from the - /// manager. This field is read-only. For more - /// information, see + /// Output only. Whether the customer has accepted customer data terms. If using + /// cross-account conversion tracking, this value is inherited from the + /// manager. This field is read-only. For more + /// information, see #[prost(bool, tag="5")] pub accepted_customer_data_terms: bool, - /// Output only. Conversion tracking status. It indicates whether the customer is using - /// conversion tracking, and who is the conversion tracking owner of this - /// customer. If this customer is using cross-account conversion tracking, - /// the value returned will differ based on the `login-customer-id` of the - /// request. + /// Output only. Conversion tracking status. It indicates whether the customer is using + /// conversion tracking, and who is the conversion tracking owner of this + /// customer. If this customer is using cross-account conversion tracking, + /// the value returned will differ based on the `login-customer-id` of the + /// request. #[prost(enumeration="super::enums::conversion_tracking_status_enum::ConversionTrackingStatus", tag="6")] pub conversion_tracking_status: i32, - /// Output only. Whether the customer is opted-in for enhanced conversions - /// for leads. If using cross-account conversion tracking, this value is - /// inherited from the manager. This field is read-only. + /// Output only. Whether the customer is opted-in for enhanced conversions + /// for leads. If using cross-account conversion tracking, this value is + /// inherited from the manager. This field is read-only. #[prost(bool, tag="7")] pub enhanced_conversions_for_leads_enabled: bool, - /// Output only. The resource name of the customer where conversions are created and - /// managed. This field is read-only. + /// Output only. The resource name of the customer where conversions are created and + /// managed. This field is read-only. #[prost(string, tag="8")] pub google_ads_conversion_customer: ::prost::alloc::string::String, } -/// Remarketing setting for a customer. +/// Remarketing setting for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingSetting { - /// Output only. The Google tag. + /// Output only. The Google tag. #[prost(string, optional, tag="2")] pub google_global_site_tag: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerClient resource. +// Proto file describing the CustomerClient resource. -/// A link between the given customer and a client customer. CustomerClients only -/// exist for manager customers. All direct and indirect client customers are -/// included, as well as the manager itself. +/// A link between the given customer and a client customer. CustomerClients only +/// exist for manager customers. All direct and indirect client customers are +/// included, as well as the manager itself. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClient { - /// Output only. The resource name of the customer client. - /// CustomerClient resource names have the form: - /// `customers/{customer_id}/customerClients/{client_customer_id}` + /// Output only. The resource name of the customer client. + /// CustomerClient resource names have the form: + /// `customers/{customer_id}/customerClients/{client_customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the client-customer which is linked to - /// the given customer. Read only. + /// Output only. The resource name of the client-customer which is linked to + /// the given customer. Read only. #[prost(string, optional, tag="12")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Specifies whether this is a - /// [hidden account](). - /// Read only. + /// Output only. Specifies whether this is a + /// [hidden account](). + /// Read only. #[prost(bool, optional, tag="13")] pub hidden: ::core::option::Option, - /// Output only. Distance between given customer and client. For self link, the level value - /// will be 0. Read only. + /// Output only. Distance between given customer and client. For self link, the level value + /// will be 0. Read only. #[prost(int64, optional, tag="14")] pub level: ::core::option::Option, - /// Output only. Common Locale Data Repository (CLDR) string representation of the - /// time zone of the client, for example, America/Los_Angeles. Read only. + /// Output only. Common Locale Data Repository (CLDR) string representation of the + /// time zone of the client, for example, America/Los_Angeles. Read only. #[prost(string, optional, tag="15")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Identifies if the client is a test account. Read only. + /// Output only. Identifies if the client is a test account. Read only. #[prost(bool, optional, tag="16")] pub test_account: ::core::option::Option, - /// Output only. Identifies if the client is a manager. Read only. + /// Output only. Identifies if the client is a manager. Read only. #[prost(bool, optional, tag="17")] pub manager: ::core::option::Option, - /// Output only. Descriptive name for the client. Read only. + /// Output only. Descriptive name for the client. Read only. #[prost(string, optional, tag="18")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. + /// Output only. Currency code (for example, 'USD', 'EUR') for the client. Read only. #[prost(string, optional, tag="19")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the client customer. Read only. + /// Output only. The ID of the client customer. Read only. #[prost(int64, optional, tag="20")] pub id: ::core::option::Option, - /// Output only. The resource names of the labels owned by the requesting customer that are - /// applied to the client customer. - /// Label resource names have the form: + /// Output only. The resource names of the labels owned by the requesting customer that are + /// applied to the client customer. + /// Label resource names have the form: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, repeated, tag="21")] pub applied_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The status of the client customer. Read only. + /// Output only. The status of the client customer. Read only. #[prost(enumeration="super::enums::customer_status_enum::CustomerStatus", tag="22")] pub status: i32, } -// Proto file describing the CustomerClientLink resource. +// Proto file describing the CustomerClientLink resource. -/// Represents customer client link relationship. +/// Represents customer client link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLink { - /// Immutable. Name of the resource. - /// CustomerClientLink resource names have the form: - /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerClientLink resource names have the form: + /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The client customer linked to this customer. + /// Immutable. The client customer linked to this customer. #[prost(string, optional, tag="7")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. This is uniquely identifies a customer client link. Read only. + /// Output only. This is uniquely identifies a customer client link. Read only. #[prost(int64, optional, tag="8")] pub manager_link_id: ::core::option::Option, - /// This is the status of the link between client and manager. + /// This is the status of the link between client and manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, - /// The visibility of the link. Users can choose whether or not to see hidden - /// links in the Google Ads UI. - /// Default value is false + /// The visibility of the link. Users can choose whether or not to see hidden + /// links in the Google Ads UI. + /// Default value is false #[prost(bool, optional, tag="9")] pub hidden: ::core::option::Option, } -/// Biddability control for conversion actions with a matching category and -/// origin. +/// Biddability control for conversion actions with a matching category and +/// origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoal { - /// Immutable. The resource name of the customer conversion goal. - /// Customer conversion goal resource names have the form: + /// Immutable. The resource name of the customer conversion goal. + /// Customer conversion goal resource names have the form: /// - /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The conversion category of this customer conversion goal. Only - /// conversion actions that have this category will be included in this goal. + /// The conversion category of this customer conversion goal. Only + /// conversion actions that have this category will be included in this goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="2")] pub category: i32, - /// The conversion origin of this customer conversion goal. Only - /// conversion actions that have this conversion origin will be included in - /// this goal. + /// The conversion origin of this customer conversion goal. Only + /// conversion actions that have this conversion origin will be included in + /// this goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="3")] pub origin: i32, - /// The biddability of the customer conversion goal. + /// The biddability of the customer conversion goal. #[prost(bool, tag="4")] pub biddable: bool, } -/// A customizer value for the associated CustomizerAttribute at the Customer -/// level. +/// A customizer value for the associated CustomizerAttribute at the Customer +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizer { - /// Immutable. The resource name of the customer customizer. - /// Customer customizer resource names have the form: + /// Immutable. The resource name of the customer customizer. + /// Customer customizer resource names have the form: /// - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the customer. + /// Required. Immutable. The customizer attribute which is linked to the customer. #[prost(string, tag="2")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the customer customizer attribute. + /// Output only. The status of the customer customizer attribute. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="3")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="4")] pub value: ::core::option::Option, } -// Proto file describing the CustomerExtensionSetting resource. +// Proto file describing the CustomerExtensionSetting resource. -/// A customer extension setting. +/// A customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSetting { - /// Immutable. The resource name of the customer extension setting. - /// CustomerExtensionSetting resource names have the form: + /// Immutable. The resource name of the customer extension setting. + /// CustomerExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// The resource names of the extension feed items to serve under the customer. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the customer. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="5")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="4")] pub device: i32, } -// Proto file describing the CustomerFeed resource. +// Proto file describing the CustomerFeed resource. -/// A customer feed. +/// A customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeed { - /// Immutable. The resource name of the customer feed. - /// Customer feed resource names have the form: + /// Immutable. The resource name of the customer feed. + /// Customer feed resource names have the form: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the customer. + /// Immutable. The feed being linked to the customer. #[prost(string, optional, tag="6")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// customer. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// customer. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="3")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CustomerFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CustomerFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="4")] pub matching_function: ::core::option::Option, - /// Output only. Status of the customer feed. - /// This field is read-only. + /// Output only. Status of the customer feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the customer label resource. +// Proto file describing the customer label resource. -/// Represents a relationship between a customer and a label. This customer may -/// not have access to all the labels attached to it. Additional CustomerLabels -/// may be returned by increasing permissions with login-customer-id. +/// Represents a relationship between a customer and a label. This customer may +/// not have access to all the labels attached to it. Additional CustomerLabels +/// may be returned by increasing permissions with login-customer-id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabel { - /// Immutable. Name of the resource. - /// Customer label resource names have the form: - /// `customers/{customer_id}/customerLabels/{label_id}` + /// Immutable. Name of the resource. + /// Customer label resource names have the form: + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the customer to which the label is attached. - /// Read only. + /// Output only. The resource name of the customer to which the label is attached. + /// Read only. #[prost(string, optional, tag="4")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the label assigned to the customer. + /// Output only. The resource name of the label assigned to the customer. /// - /// Note: the Customer ID portion of the label resource name is not - /// validated when creating a new CustomerLabel. + /// Note: the Customer ID portion of the label resource name is not + /// validated when creating a new CustomerLabel. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerManagerLink resource. +// Proto file describing the CustomerManagerLink resource. -/// Represents customer-manager link relationship. +/// Represents customer-manager link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLink { - /// Immutable. Name of the resource. - /// CustomerManagerLink resource names have the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerManagerLink resource names have the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The manager customer linked to the customer. + /// Output only. The manager customer linked to the customer. #[prost(string, optional, tag="6")] pub manager_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. ID of the customer-manager link. This field is read only. + /// Output only. ID of the customer-manager link. This field is read only. #[prost(int64, optional, tag="7")] pub manager_link_id: ::core::option::Option, - /// Status of the link between the customer and the manager. + /// Status of the link between the customer and the manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Customer Negative Criterion resource. +// Proto file describing the Customer Negative Criterion resource. -/// A negative criterion for exclusions at the customer level. +/// A negative criterion for exclusions at the customer level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterion { - /// Immutable. The resource name of the customer negative criterion. - /// Customer negative criterion resource names have the form: + /// Immutable. The resource name of the customer negative criterion. + /// Customer negative criterion resource names have the form: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="3")] pub r#type: i32, - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="customer_negative_criterion::Criterion", tags="4, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterion`. pub mod customer_negative_criterion { - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="4")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. MobileApplication. + /// Immutable. MobileApplication. #[prost(message, tag="5")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. MobileAppCategory. + /// Immutable. MobileAppCategory. #[prost(message, tag="6")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="8")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="9")] YoutubeChannel(super::super::common::YouTubeChannelInfo), } } -// Proto file describing the CustomerUserAccess resource. +// Proto file describing the CustomerUserAccess resource. -/// Represents the permission of a single user onto a single customer. +/// Represents the permission of a single user onto a single customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccess { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccesses/{user_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccesses/{user_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. User id of the user with the customer access. - /// Read only field + /// Output only. User id of the user with the customer access. + /// Read only field #[prost(int64, tag="2")] pub user_id: i64, - /// Output only. Email address of the user. - /// Read only field + /// Output only. Email address of the user. + /// Read only field #[prost(string, optional, tag="3")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Access role of the user. + /// Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// Output only. The customer user access creation time. - /// Read only field - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. The customer user access creation time. + /// Read only field + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="6")] pub access_creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The email address of the inviter user. - /// Read only field + /// Output only. The email address of the inviter user. + /// Read only field #[prost(string, optional, tag="7")] pub inviter_user_email_address: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerUserAccessInvitation resource. +// Proto file describing the CustomerUserAccessInvitation resource. -/// Represent an invitation to a new user on this customer account. +/// Represent an invitation to a new user on this customer account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitation { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invitation. - /// This field is read-only. + /// Output only. The ID of the invitation. + /// This field is read-only. #[prost(int64, tag="2")] pub invitation_id: i64, - /// Immutable. Access role of the user. + /// Immutable. Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="3")] pub access_role: i32, - /// Immutable. Email address the invitation was sent to. - /// This can differ from the email address of the account - /// that accepts the invite. + /// Immutable. Email address the invitation was sent to. + /// This can differ from the email address of the account + /// that accepts the invite. #[prost(string, tag="4")] pub email_address: ::prost::alloc::string::String, - /// Output only. Time invitation was created. - /// This field is read-only. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. Time invitation was created. + /// This field is read-only. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, tag="5")] pub creation_date_time: ::prost::alloc::string::String, - /// Output only. Invitation status of the user. + /// Output only. Invitation status of the user. #[prost(enumeration="super::enums::access_invitation_status_enum::AccessInvitationStatus", tag="6")] pub invitation_status: i32, } -/// A customizer attribute. -/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -/// AdGroupCriterionCustomizer to associate a customizer attribute and -/// set its value at the customer, campaign, ad group, or ad group criterion -/// level, respectively. +/// A customizer attribute. +/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or +/// AdGroupCriterionCustomizer to associate a customizer attribute and +/// set its value at the customer, campaign, ad group, or ad group criterion +/// level, respectively. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttribute { - /// Immutable. The resource name of the customizer attribute. - /// Customizer Attribute resource names have the form: + /// Immutable. The resource name of the customizer attribute. + /// Customizer Attribute resource names have the form: /// - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customizer attribute. + /// Output only. The ID of the customizer attribute. #[prost(int64, tag="2")] pub id: i64, - /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length - /// of 1 and maximum length of 40. Name of an enabled customizer attribute must - /// be unique (case insensitive). + /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + /// of 1 and maximum length of 40. Name of an enabled customizer attribute must + /// be unique (case insensitive). #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Immutable. The type of the customizer attribute. + /// Immutable. The type of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="4")] pub r#type: i32, - /// Output only. The status of the customizer attribute. + /// Output only. The status of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_status_enum::CustomizerAttributeStatus", tag="5")] pub status: i32, } -// Proto file describing the detail placement view resource. +// Proto file describing the detail placement view resource. -/// A view with metrics aggregated by ad group and URL or YouTube video. +/// A view with metrics aggregated by ad group and URL or YouTube video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailPlacementView { - /// Output only. The resource name of the detail placement view. - /// Detail placement view resource names have the form: + /// Output only. The resource name of the detail placement view. + /// Detail placement view resource names have the form: /// - /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at detail level, e. g. website URL, mobile - /// application ID, or a YouTube video ID. + /// Output only. The automatic placement string at detail level, e. g. website URL, mobile + /// application ID, or a YouTube video ID. #[prost(string, optional, tag="7")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name is URL name for websites, YouTube video name for YouTube - /// videos, and translated mobile app name for mobile apps. + /// Output only. The display name is URL name for websites, YouTube video name for YouTube + /// videos, and translated mobile app name for mobile apps. #[prost(string, optional, tag="8")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, for example, domain, link to the mobile - /// application in app store, or a YouTube channel URL. + /// Output only. URL of the group placement, for example, domain, link to the mobile + /// application in app store, or a YouTube channel URL. #[prost(string, optional, tag="9")] pub group_placement_target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the placement, for example, website, link to the mobile application - /// in app store, or a YouTube video URL. + /// Output only. URL of the placement, for example, website, link to the mobile application + /// in app store, or a YouTube video URL. #[prost(string, optional, tag="10")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, for example, Website, YouTube Video, and Mobile - /// Application. + /// Output only. Type of the placement, for example, Website, YouTube Video, and Mobile + /// Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="6")] pub placement_type: i32, } -// Proto file describing the Detailed Demographic resource. +// Proto file describing the Detailed Demographic resource. -/// A detailed demographic: a particular interest-based vertical to be targeted -/// to reach users based on long-term life facts. +/// A detailed demographic: a particular interest-based vertical to be targeted +/// to reach users based on long-term life facts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailedDemographic { - /// Output only. The resource name of the detailed demographic. - /// Detailed demographic resource names have the form: + /// Output only. The resource name of the detailed demographic. + /// Detailed demographic resource names have the form: /// - /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the detailed demographic. + /// Output only. The ID of the detailed demographic. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the detailed demographic. For example,"Highest Level of - /// Educational Attainment" + /// Output only. The name of the detailed demographic. For example,"Highest Level of + /// Educational Attainment" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the detailed_demographic. + /// Output only. The parent of the detailed_demographic. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the detailed demographic is launched to all channels and locales. + /// Output only. True if the detailed demographic is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the detailed demographic. + /// Output only. Availability information of the detailed demographic. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the display keyword view resource. +// Proto file describing the display keyword view resource. -/// A display keyword view. +/// A display keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayKeywordView { - /// Output only. The resource name of the display keyword view. - /// Display Keyword view resource names have the form: + /// Output only. The resource name of the display keyword view. + /// Display Keyword view resource names have the form: /// - /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the DistanceView resource. +// Proto file describing the DistanceView resource. -/// A distance view with metrics aggregated by the user's distance from an -/// advertiser's location extensions. Each DistanceBucket includes all -/// impressions that fall within its distance and a single impression will -/// contribute to the metrics for all DistanceBuckets that include the user's -/// distance. +/// A distance view with metrics aggregated by the user's distance from an +/// advertiser's location extensions. Each DistanceBucket includes all +/// impressions that fall within its distance and a single impression will +/// contribute to the metrics for all DistanceBuckets that include the user's +/// distance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceView { - /// Output only. The resource name of the distance view. - /// Distance view resource names have the form: + /// Output only. The resource name of the distance view. + /// Distance view resource names have the form: /// - /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` + /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Grouping of user distance from location extensions. + /// Output only. Grouping of user distance from location extensions. #[prost(enumeration="super::enums::distance_bucket_enum::DistanceBucket", tag="2")] pub distance_bucket: i32, - /// Output only. True if the DistanceBucket is using the metric system, false otherwise. + /// Output only. True if the DistanceBucket is using the metric system, false otherwise. #[prost(bool, optional, tag="4")] pub metric_system: ::core::option::Option, } -// Proto file describing the Domain Category resource. +// Proto file describing the Domain Category resource. -/// A category generated automatically by crawling a domain. If a campaign uses -/// the DynamicSearchAdsSetting, then domain categories will be generated for -/// the domain. The categories can be targeted using WebpageConditionInfo. -/// See: +/// A category generated automatically by crawling a domain. If a campaign uses +/// the DynamicSearchAdsSetting, then domain categories will be generated for +/// the domain. The categories can be targeted using WebpageConditionInfo. +/// See: #[derive(Clone, PartialEq, ::prost::Message)] pub struct DomainCategory { - /// Output only. The resource name of the domain category. - /// Domain category resource names have the form: + /// Output only. The resource name of the domain category. + /// Domain category resource names have the form: /// - /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` + /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign this category is recommended for. + /// Output only. The campaign this category is recommended for. #[prost(string, optional, tag="10")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Recommended category for the website domain, for example, if you have a - /// website about electronics, the categories could be "cameras", - /// "televisions", etc. + /// Output only. Recommended category for the website domain, for example, if you have a + /// website about electronics, the categories could be "cameras", + /// "televisions", etc. #[prost(string, optional, tag="11")] pub category: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The language code specifying the language of the website, for example, "en" - /// for English. The language can be specified in the DynamicSearchAdsSetting - /// required for dynamic search ads. This is the language of the pages from - /// your website that you want Google Ads to find, create ads for, - /// and match searches with. + /// Output only. The language code specifying the language of the website, for example, "en" + /// for English. The language can be specified in the DynamicSearchAdsSetting + /// required for dynamic search ads. This is the language of the pages from + /// your website that you want Google Ads to find, create ads for, + /// and match searches with. #[prost(string, optional, tag="12")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The domain for the website. The domain can be specified in the - /// DynamicSearchAdsSetting required for dynamic search ads. + /// Output only. The domain for the website. The domain can be specified in the + /// DynamicSearchAdsSetting required for dynamic search ads. #[prost(string, optional, tag="13")] pub domain: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Fraction of pages on your site that this category matches. + /// Output only. Fraction of pages on your site that this category matches. #[prost(double, optional, tag="14")] pub coverage_fraction: ::core::option::Option, - /// Output only. The position of this category in the set of categories. Lower numbers - /// indicate a better match for the domain. null indicates not recommended. + /// Output only. The position of this category in the set of categories. Lower numbers + /// indicate a better match for the domain. null indicates not recommended. #[prost(int64, optional, tag="15")] pub category_rank: ::core::option::Option, - /// Output only. Indicates whether this category has sub-categories. + /// Output only. Indicates whether this category has sub-categories. #[prost(bool, optional, tag="16")] pub has_children: ::core::option::Option, - /// Output only. The recommended cost per click for the category. + /// Output only. The recommended cost per click for the category. #[prost(int64, optional, tag="17")] pub recommended_cpc_bid_micros: ::core::option::Option, } -// Proto file describing the Dynamic Search Ads Search Term View resource. +// Proto file describing the Dynamic Search Ads Search Term View resource. -/// A dynamic search ads search term view. +/// A dynamic search ads search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSearchTermView { - /// Output only. The resource name of the dynamic search ads search term view. - /// Dynamic search ads search term view resource names have the form: + /// Output only. The resource name of the dynamic search ads search term view. + /// Dynamic search ads search term view resource names have the form: /// - /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` + /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Search term + /// Output only. Search term /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="9")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically generated headline of the Dynamic Search Ad. + /// Output only. The dynamically generated headline of the Dynamic Search Ad. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="10")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically selected landing page URL of the impression. + /// Output only. The dynamically selected landing page URL of the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="11")] pub landing_page: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The URL of page feed item served for the impression. + /// Output only. The URL of page feed item served for the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub page_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if query matches a negative keyword. + /// Output only. True if query matches a negative keyword. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="13")] pub has_negative_keyword: ::core::option::Option, - /// Output only. True if query is added to targeted keywords. + /// Output only. True if query is added to targeted keywords. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="14")] pub has_matching_keyword: ::core::option::Option, - /// Output only. True if query matches a negative url. + /// Output only. True if query matches a negative url. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="15")] pub has_negative_url: ::core::option::Option, } -// Proto file describing the expanded landing page view resource. +// Proto file describing the expanded landing page view resource. -/// A landing page view with metrics aggregated at the expanded final URL -/// level. +/// A landing page view with metrics aggregated at the expanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedLandingPageView { - /// Output only. The resource name of the expanded landing page view. - /// Expanded landing page view resource names have the form: + /// Output only. The resource name of the expanded landing page view. + /// Expanded landing page view resource names have the form: /// - /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The final URL that clicks are directed to. + /// Output only. The final URL that clicks are directed to. #[prost(string, optional, tag="3")] pub expanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Experiment resource. +// Proto file describing the Experiment resource. -/// A Google ads experiment for users to experiment changes on multiple -/// campaigns, compare the performance, and apply the effective changes. +/// A Google ads experiment for users to experiment changes on multiple +/// campaigns, compare the performance, and apply the effective changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Experiment { - /// Immutable. The resource name of the experiment. - /// Experiment resource names have the form: + /// Immutable. The resource name of the experiment. + /// Experiment resource names have the form: /// - /// `customers/{customer_id}/experiments/{experiment_id}` + /// `customers/{customer_id}/experiments/{experiment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the experiment. Read only. + /// Output only. The ID of the experiment. Read only. #[prost(int64, optional, tag="9")] pub experiment_id: ::core::option::Option, - /// Required. The name of the experiment. It must have a minimum length of 1 and - /// maximum length of 1024. It must be unique under a customer. + /// Required. The name of the experiment. It must have a minimum length of 1 and + /// maximum length of 1024. It must be unique under a customer. #[prost(string, tag="10")] pub name: ::prost::alloc::string::String, - /// The description of the experiment. It must have a minimum length of 1 and - /// maximum length of 2048. + /// The description of the experiment. It must have a minimum length of 1 and + /// maximum length of 2048. #[prost(string, tag="11")] pub description: ::prost::alloc::string::String, - /// For system managed experiments, the advertiser must provide a suffix during - /// construction, in the setup stage before moving to initiated. The suffix - /// will be appended to the in-design and experiment campaign names so that the - /// name is base campaign name + suffix. + /// For system managed experiments, the advertiser must provide a suffix during + /// construction, in the setup stage before moving to initiated. The suffix + /// will be appended to the in-design and experiment campaign names so that the + /// name is base campaign name + suffix. #[prost(string, tag="12")] pub suffix: ::prost::alloc::string::String, - /// The product/feature that uses this experiment. + /// The product/feature that uses this experiment. #[prost(enumeration="super::enums::experiment_type_enum::ExperimentType", tag="13")] pub r#type: i32, - /// The Advertiser-chosen status of this experiment. + /// The Advertiser-chosen status of this experiment. #[prost(enumeration="super::enums::experiment_status_enum::ExperimentStatus", tag="14")] pub status: i32, - /// Date when the experiment starts. By default, the experiment starts - /// now or on the campaign's start date, whichever is later. If this field is - /// set, then the experiment starts at the beginning of the specified date in - /// the customer's time zone. + /// Date when the experiment starts. By default, the experiment starts + /// now or on the campaign's start date, whichever is later. If this field is + /// set, then the experiment starts at the beginning of the specified date in + /// the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-03-14 + /// Format: YYYY-MM-DD + /// Example: 2019-03-14 #[prost(string, optional, tag="15")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Date when the experiment ends. By default, the experiment ends on - /// the campaign's end date. If this field is set, then the experiment ends at - /// the end of the specified date in the customer's time zone. + /// Date when the experiment ends. By default, the experiment ends on + /// the campaign's end date. If this field is set, then the experiment ends at + /// the end of the specified date in the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-04-18 + /// Format: YYYY-MM-DD + /// Example: 2019-04-18 #[prost(string, optional, tag="16")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// The goals of this experiment. + /// The goals of this experiment. #[prost(message, repeated, tag="17")] pub goals: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of experiment schedule or promote. The most recent long - /// running operation is returned. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of experiment schedule or promote. The most recent long + /// running operation is returned. #[prost(string, optional, tag="18")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the experiment promotion process. + /// Output only. The status of the experiment promotion process. #[prost(enumeration="super::enums::async_action_status_enum::AsyncActionStatus", tag="19")] pub promote_status: i32, } -// Proto file describing the Experiment arm resource. +// Proto file describing the Experiment arm resource. -/// A Google ads experiment for users to experiment changes on multiple -/// campaigns, compare the performance, and apply the effective changes. +/// A Google ads experiment for users to experiment changes on multiple +/// campaigns, compare the performance, and apply the effective changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArm { - /// Immutable. The resource name of the experiment arm. - /// Experiment arm resource names have the form: + /// Immutable. The resource name of the experiment arm. + /// Experiment arm resource names have the form: /// - /// `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` + /// `customers/{customer_id}/experimentArms/{TrialArm.trial_id}~{TrialArm.trial_arm_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The experiment to which the ExperimentArm belongs. + /// Immutable. The experiment to which the ExperimentArm belongs. #[prost(string, tag="2")] pub trial: ::prost::alloc::string::String, - /// Required. The name of the experiment arm. It must have a minimum length of 1 and - /// maximum length of 1024. It must be unique under an experiment. + /// Required. The name of the experiment arm. It must have a minimum length of 1 and + /// maximum length of 1024. It must be unique under an experiment. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Whether this arm is a control arm. A control arm is the arm against - /// which the other arms are compared. + /// Whether this arm is a control arm. A control arm is the arm against + /// which the other arms are compared. #[prost(bool, tag="4")] pub control: bool, - /// Traffic split of the trial arm. The value should be between 1 and 100 - /// and must total 100 between the two trial arms. + /// Traffic split of the trial arm. The value should be between 1 and 100 + /// and must total 100 between the two trial arms. #[prost(int64, tag="5")] pub traffic_split: i64, - /// List of campaigns in the trial arm. The max length is one. + /// List of campaigns in the trial arm. The max length is one. #[prost(string, repeated, tag="6")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The in design campaigns in the treatment experiment arm. + /// Output only. The in design campaigns in the treatment experiment arm. #[prost(string, repeated, tag="7")] pub in_design_campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the ExtensionFeedItem resource. +// Proto file describing the ExtensionFeedItem resource. -/// An extension feed item. +/// An extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItem { - /// Immutable. The resource name of the extension feed item. - /// Extension feed item resource names have the form: + /// Immutable. The resource name of the extension feed item. + /// Extension feed item resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this feed item. Read-only. + /// Output only. The ID of this feed item. Read-only. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. The extension type of the extension feed item. - /// This field is read-only. + /// Output only. The extension type of the extension feed item. + /// This field is read-only. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="13")] pub extension_type: i32, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="26")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="27")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// List of non-overlapping schedules specifying all time intervals - /// for which the feed item may serve. There can be a maximum of 6 schedules - /// per day. + /// List of non-overlapping schedules specifying all time intervals + /// for which the feed item may serve. There can be a maximum of 6 schedules + /// per day. #[prost(message, repeated, tag="16")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// The targeted device. + /// The targeted device. #[prost(enumeration="super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="17")] pub device: i32, - /// The targeted geo target constant. + /// The targeted geo target constant. #[prost(string, optional, tag="30")] pub targeted_geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The targeted keyword. + /// The targeted keyword. #[prost(message, optional, tag="22")] pub targeted_keyword: ::core::option::Option, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="4")] pub status: i32, - /// Extension type. + /// Extension type. #[prost(oneof="extension_feed_item::Extension", tags="2, 3, 7, 8, 9, 10, 11, 12, 14, 15, 23, 31")] pub extension: ::core::option::Option, - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[prost(oneof="extension_feed_item::ServingResourceTargeting", tags="28, 29")] pub serving_resource_targeting: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItem`. pub mod extension_feed_item { - /// Extension type. + /// Extension type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Extension { - /// Sitelink extension. + /// Sitelink extension. #[prost(message, tag="2")] SitelinkFeedItem(super::super::common::SitelinkFeedItem), - /// Structured snippet extension. + /// Structured snippet extension. #[prost(message, tag="3")] StructuredSnippetFeedItem(super::super::common::StructuredSnippetFeedItem), - /// App extension. + /// App extension. #[prost(message, tag="7")] AppFeedItem(super::super::common::AppFeedItem), - /// Call extension. + /// Call extension. #[prost(message, tag="8")] CallFeedItem(super::super::common::CallFeedItem), - /// Callout extension. + /// Callout extension. #[prost(message, tag="9")] CalloutFeedItem(super::super::common::CalloutFeedItem), - /// Text message extension. + /// Text message extension. #[prost(message, tag="10")] TextMessageFeedItem(super::super::common::TextMessageFeedItem), - /// Price extension. + /// Price extension. #[prost(message, tag="11")] PriceFeedItem(super::super::common::PriceFeedItem), - /// Promotion extension. + /// Promotion extension. #[prost(message, tag="12")] PromotionFeedItem(super::super::common::PromotionFeedItem), - /// Output only. Location extension. Locations are synced from a Business Profile into a - /// feed. This field is read-only. + /// Output only. Location extension. Locations are synced from a Business Profile into a + /// feed. This field is read-only. #[prost(message, tag="14")] LocationFeedItem(super::super::common::LocationFeedItem), - /// Output only. Affiliate location extension. Feed locations are populated by Google Ads - /// based on a chain ID. - /// This field is read-only. + /// Output only. Affiliate location extension. Feed locations are populated by Google Ads + /// based on a chain ID. + /// This field is read-only. #[prost(message, tag="15")] AffiliateLocationFeedItem(super::super::common::AffiliateLocationFeedItem), - /// Hotel Callout extension. + /// Hotel Callout extension. #[prost(message, tag="23")] HotelCalloutFeedItem(super::super::common::HotelCalloutFeedItem), - /// Immutable. Advertiser provided image extension. + /// Immutable. Advertiser provided image extension. #[prost(message, tag="31")] ImageFeedItem(super::super::common::ImageFeedItem), } - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ServingResourceTargeting { - /// The targeted campaign. + /// The targeted campaign. #[prost(string, tag="28")] TargetedCampaign(::prost::alloc::string::String), - /// The targeted ad group. + /// The targeted ad group. #[prost(string, tag="29")] TargetedAdGroup(::prost::alloc::string::String), } } -/// Represents a set of feed items. The set can be used and shared among certain -/// feed item features. For instance, the set can be referenced within the -/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. +/// Represents a set of feed items. The set can be used and shared among certain +/// feed item features. For instance, the set can be referenced within the +/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSet { - /// Immutable. The resource name of the feed item set. - /// Feed item set resource names have the form: - /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` + /// Immutable. The resource name of the feed item set. + /// Feed item set resource names have the form: + /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The resource name of the feed containing the feed items in the set. - /// Immutable. Required. + /// Immutable. The resource name of the feed containing the feed items in the set. + /// Immutable. Required. #[prost(string, tag="2")] pub feed: ::prost::alloc::string::String, - /// Output only. ID of the set. + /// Output only. ID of the set. #[prost(int64, tag="3")] pub feed_item_set_id: i64, - /// Name of the set. Must be unique within the account. + /// Name of the set. Must be unique within the account. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Output only. Status of the feed item set. - /// This field is read-only. + /// Output only. Status of the feed item set. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_set_status_enum::FeedItemSetStatus", tag="8")] pub status: i32, - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[prost(oneof="feed_item_set::DynamicSetFilter", tags="5, 6")] pub dynamic_set_filter: ::core::option::Option, } /// Nested message and enum types in `FeedItemSet`. pub mod feed_item_set { - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DynamicSetFilter { - /// Filter for dynamic location set. - /// It is only used for sets of locations. + /// Filter for dynamic location set. + /// It is only used for sets of locations. #[prost(message, tag="5")] DynamicLocationSetFilter(super::super::common::DynamicLocationSetFilter), - /// Filter for dynamic affiliate location set. - /// This field doesn't apply generally to feed item sets. It is only used for - /// sets of affiliate locations. + /// Filter for dynamic affiliate location set. + /// This field doesn't apply generally to feed item sets. It is only used for + /// sets of affiliate locations. #[prost(message, tag="6")] DynamicAffiliateLocationSetFilter(super::super::common::DynamicAffiliateLocationSetFilter), } } -// Proto file describing the FeedItemSetLink resource. +// Proto file describing the FeedItemSetLink resource. -/// Represents a link between a FeedItem and a FeedItemSet. +/// Represents a link between a FeedItem and a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLink { - /// Immutable. The resource name of the feed item set link. - /// Feed item set link resource names have the form: - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` + /// Immutable. The resource name of the feed item set link. + /// Feed item set link resource names have the form: + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The linked FeedItem. + /// Immutable. The linked FeedItem. #[prost(string, tag="2")] pub feed_item: ::prost::alloc::string::String, - /// Immutable. The linked FeedItemSet. + /// Immutable. The linked FeedItemSet. #[prost(string, tag="3")] pub feed_item_set: ::prost::alloc::string::String, } -// Proto file describing the FeedItemTarget resource. +// Proto file describing the FeedItemTarget resource. -/// A feed item target. +/// A feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTarget { - /// Immutable. The resource name of the feed item target. - /// Feed item target resource names have the form: - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// Immutable. The resource name of the feed item target. + /// Feed item target resource names have the form: + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed item to which this feed item target belongs. + /// Immutable. The feed item to which this feed item target belongs. #[prost(string, optional, tag="12")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The target type of this feed item target. This field is read-only. + /// Output only. The target type of this feed item target. This field is read-only. #[prost(enumeration="super::enums::feed_item_target_type_enum::FeedItemTargetType", tag="3")] pub feed_item_target_type: i32, - /// Output only. The ID of the targeted resource. This field is read-only. + /// Output only. The ID of the targeted resource. This field is read-only. #[prost(int64, optional, tag="13")] pub feed_item_target_id: ::core::option::Option, - /// Output only. Status of the feed item target. - /// This field is read-only. + /// Output only. Status of the feed item target. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_target_status_enum::FeedItemTargetStatus", tag="11")] pub status: i32, - /// The targeted resource. + /// The targeted resource. #[prost(oneof="feed_item_target::Target", tags="14, 15, 7, 16, 9, 10")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedItemTarget`. pub mod feed_item_target { - /// The targeted resource. + /// The targeted resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The targeted campaign. + /// Immutable. The targeted campaign. #[prost(string, tag="14")] Campaign(::prost::alloc::string::String), - /// Immutable. The targeted ad group. + /// Immutable. The targeted ad group. #[prost(string, tag="15")] AdGroup(::prost::alloc::string::String), - /// Immutable. The targeted keyword. + /// Immutable. The targeted keyword. #[prost(message, tag="7")] Keyword(super::super::common::KeywordInfo), - /// Immutable. The targeted geo target constant resource name. + /// Immutable. The targeted geo target constant resource name. #[prost(string, tag="16")] GeoTargetConstant(::prost::alloc::string::String), - /// Immutable. The targeted device. + /// Immutable. The targeted device. #[prost(enumeration="super::super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="9")] Device(i32), - /// Immutable. The targeted schedule. + /// Immutable. The targeted schedule. #[prost(message, tag="10")] AdSchedule(super::super::common::AdScheduleInfo), } } -// Proto file describing the FeedMapping resource. +// Proto file describing the FeedMapping resource. -/// A feed mapping. +/// A feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMapping { - /// Immutable. The resource name of the feed mapping. - /// Feed mapping resource names have the form: + /// Immutable. The resource name of the feed mapping. + /// Feed mapping resource names have the form: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed of this feed mapping. + /// Immutable. The feed of this feed mapping. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many - /// relationship meaning that 1 feed attribute can be used to populate - /// multiple placeholder fields, but 1 placeholder field can only draw - /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - /// field can be mapped to multiple feed attributes. Required. + /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many + /// relationship meaning that 1 feed attribute can be used to populate + /// multiple placeholder fields, but 1 placeholder field can only draw + /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder + /// field can be mapped to multiple feed attributes. Required. #[prost(message, repeated, tag="5")] pub attribute_field_mappings: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed mapping. - /// This field is read-only. + /// Output only. Status of the feed mapping. + /// This field is read-only. #[prost(enumeration="super::enums::feed_mapping_status_enum::FeedMappingStatus", tag="6")] pub status: i32, - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[prost(oneof="feed_mapping::Target", tags="3, 4")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedMapping`. pub mod feed_mapping { - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The placeholder type of this mapping (for example, if the mapping maps - /// feed attributes to placeholder fields). + /// Immutable. The placeholder type of this mapping (for example, if the mapping maps + /// feed attributes to placeholder fields). #[prost(enumeration="super::super::enums::placeholder_type_enum::PlaceholderType", tag="3")] PlaceholderType(i32), - /// Immutable. The criterion type of this mapping (for example, if the mapping maps feed - /// attributes to criterion fields). + /// Immutable. The criterion type of this mapping (for example, if the mapping maps feed + /// attributes to criterion fields). #[prost(enumeration="super::super::enums::feed_mapping_criterion_type_enum::FeedMappingCriterionType", tag="4")] CriterionType(i32), } } -/// Maps from feed attribute id to a placeholder or criterion field id. +/// Maps from feed attribute id to a placeholder or criterion field id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributeFieldMapping { - /// Immutable. Feed attribute from which to map. + /// Immutable. Feed attribute from which to map. #[prost(int64, optional, tag="24")] pub feed_attribute_id: ::core::option::Option, - /// Output only. The placeholder field ID. If a placeholder field enum is not published in - /// the current API version, then this field will be populated and the field - /// oneof will be empty. - /// This field is read-only. + /// Output only. The placeholder field ID. If a placeholder field enum is not published in + /// the current API version, then this field will be populated and the field + /// oneof will be empty. + /// This field is read-only. #[prost(int64, optional, tag="25")] pub field_id: ::core::option::Option, - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[prost(oneof="attribute_field_mapping::Field", tags="3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26")] pub field: ::core::option::Option, } /// Nested message and enum types in `AttributeFieldMapping`. pub mod attribute_field_mapping { - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Field { - /// Immutable. Sitelink Placeholder Fields. + /// Immutable. Sitelink Placeholder Fields. #[prost(enumeration="super::super::enums::sitelink_placeholder_field_enum::SitelinkPlaceholderField", tag="3")] SitelinkField(i32), - /// Immutable. Call Placeholder Fields. + /// Immutable. Call Placeholder Fields. #[prost(enumeration="super::super::enums::call_placeholder_field_enum::CallPlaceholderField", tag="4")] CallField(i32), - /// Immutable. App Placeholder Fields. + /// Immutable. App Placeholder Fields. #[prost(enumeration="super::super::enums::app_placeholder_field_enum::AppPlaceholderField", tag="5")] AppField(i32), - /// Output only. Location Placeholder Fields. This field is read-only. + /// Output only. Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::location_placeholder_field_enum::LocationPlaceholderField", tag="6")] LocationField(i32), - /// Output only. Affiliate Location Placeholder Fields. This field is read-only. + /// Output only. Affiliate Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::affiliate_location_placeholder_field_enum::AffiliateLocationPlaceholderField", tag="7")] AffiliateLocationField(i32), - /// Immutable. Callout Placeholder Fields. + /// Immutable. Callout Placeholder Fields. #[prost(enumeration="super::super::enums::callout_placeholder_field_enum::CalloutPlaceholderField", tag="8")] CalloutField(i32), - /// Immutable. Structured Snippet Placeholder Fields. + /// Immutable. Structured Snippet Placeholder Fields. #[prost(enumeration="super::super::enums::structured_snippet_placeholder_field_enum::StructuredSnippetPlaceholderField", tag="9")] StructuredSnippetField(i32), - /// Immutable. Message Placeholder Fields. + /// Immutable. Message Placeholder Fields. #[prost(enumeration="super::super::enums::message_placeholder_field_enum::MessagePlaceholderField", tag="10")] MessageField(i32), - /// Immutable. Price Placeholder Fields. + /// Immutable. Price Placeholder Fields. #[prost(enumeration="super::super::enums::price_placeholder_field_enum::PricePlaceholderField", tag="11")] PriceField(i32), - /// Immutable. Promotion Placeholder Fields. + /// Immutable. Promotion Placeholder Fields. #[prost(enumeration="super::super::enums::promotion_placeholder_field_enum::PromotionPlaceholderField", tag="12")] PromotionField(i32), - /// Immutable. Ad Customizer Placeholder Fields + /// Immutable. Ad Customizer Placeholder Fields #[prost(enumeration="super::super::enums::ad_customizer_placeholder_field_enum::AdCustomizerPlaceholderField", tag="13")] AdCustomizerField(i32), - /// Immutable. Dynamic Search Ad Page Feed Fields. + /// Immutable. Dynamic Search Ad Page Feed Fields. #[prost(enumeration="super::super::enums::dsa_page_feed_criterion_field_enum::DsaPageFeedCriterionField", tag="14")] DsaPageFeedField(i32), - /// Immutable. Location Target Fields. + /// Immutable. Location Target Fields. #[prost(enumeration="super::super::enums::location_extension_targeting_criterion_field_enum::LocationExtensionTargetingCriterionField", tag="15")] LocationExtensionTargetingField(i32), - /// Immutable. Education Placeholder Fields + /// Immutable. Education Placeholder Fields #[prost(enumeration="super::super::enums::education_placeholder_field_enum::EducationPlaceholderField", tag="16")] EducationField(i32), - /// Immutable. Flight Placeholder Fields + /// Immutable. Flight Placeholder Fields #[prost(enumeration="super::super::enums::flight_placeholder_field_enum::FlightPlaceholderField", tag="17")] FlightField(i32), - /// Immutable. Custom Placeholder Fields + /// Immutable. Custom Placeholder Fields #[prost(enumeration="super::super::enums::custom_placeholder_field_enum::CustomPlaceholderField", tag="18")] CustomField(i32), - /// Immutable. Hotel Placeholder Fields + /// Immutable. Hotel Placeholder Fields #[prost(enumeration="super::super::enums::hotel_placeholder_field_enum::HotelPlaceholderField", tag="19")] HotelField(i32), - /// Immutable. Real Estate Placeholder Fields + /// Immutable. Real Estate Placeholder Fields #[prost(enumeration="super::super::enums::real_estate_placeholder_field_enum::RealEstatePlaceholderField", tag="20")] RealEstateField(i32), - /// Immutable. Travel Placeholder Fields + /// Immutable. Travel Placeholder Fields #[prost(enumeration="super::super::enums::travel_placeholder_field_enum::TravelPlaceholderField", tag="21")] TravelField(i32), - /// Immutable. Local Placeholder Fields + /// Immutable. Local Placeholder Fields #[prost(enumeration="super::super::enums::local_placeholder_field_enum::LocalPlaceholderField", tag="22")] LocalField(i32), - /// Immutable. Job Placeholder Fields + /// Immutable. Job Placeholder Fields #[prost(enumeration="super::super::enums::job_placeholder_field_enum::JobPlaceholderField", tag="23")] JobField(i32), - /// Immutable. Image Placeholder Fields + /// Immutable. Image Placeholder Fields #[prost(enumeration="super::super::enums::image_placeholder_field_enum::ImagePlaceholderField", tag="26")] ImageField(i32), } } -// Proto file describing the FeedPlaceholderView resource. +// Proto file describing the FeedPlaceholderView resource. -/// A feed placeholder view. +/// A feed placeholder view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedPlaceholderView { - /// Output only. The resource name of the feed placeholder view. - /// Feed placeholder view resource names have the form: + /// Output only. The resource name of the feed placeholder view. + /// Feed placeholder view resource names have the form: /// - /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` + /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The placeholder type of the feed placeholder view. + /// Output only. The placeholder type of the feed placeholder view. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="2")] pub placeholder_type: i32, } -// Proto file describing the gender view resource. +// Proto file describing the gender view resource. -/// A gender view. +/// A gender view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderView { - /// Output only. The resource name of the gender view. - /// Gender view resource names have the form: + /// Output only. The resource name of the gender view. + /// Gender view resource names have the form: /// - /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the geo target constant resource. +// Proto file describing the geo target constant resource. -/// A geo target constant. +/// A geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstant { - /// Output only. The resource name of the geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{geo_target_constant_id}` + /// `geoTargetConstants/{geo_target_constant_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the geo target constant. + /// Output only. The ID of the geo target constant. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Geo target constant English name. + /// Output only. Geo target constant English name. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. #[prost(string, optional, tag="12")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant target type. + /// Output only. Geo target constant target type. #[prost(string, optional, tag="13")] pub target_type: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant status. + /// Output only. Geo target constant status. #[prost(enumeration="super::enums::geo_target_constant_status_enum::GeoTargetConstantStatus", tag="7")] pub status: i32, - /// Output only. The fully qualified English name, consisting of the target's name and that - /// of its parent and country. + /// Output only. The fully qualified English name, consisting of the target's name and that + /// of its parent and country. #[prost(string, optional, tag="14")] pub canonical_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the parent geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the parent geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{parent_geo_target_constant_id}` + /// `geoTargetConstants/{parent_geo_target_constant_id}` #[prost(string, optional, tag="9")] pub parent_geo_target: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the geographic view resource. +// Proto file describing the geographic view resource. -/// A geographic view. +/// A geographic view. /// -/// Geographic View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at either actual physical location of -/// the user or an area of interest. If other segment fields are used, you may -/// get more than one row per country. +/// Geographic View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at either actual physical location of +/// the user or an area of interest. If other segment fields are used, you may +/// get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeographicView { - /// Output only. The resource name of the geographic view. - /// Geographic view resource names have the form: + /// Output only. The resource name of the geographic view. + /// Geographic view resource names have the form: /// - /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Type of the geo targeting of the campaign. + /// Output only. Type of the geo targeting of the campaign. #[prost(enumeration="super::enums::geo_targeting_type_enum::GeoTargetingType", tag="3")] pub location_type: i32, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="5")] pub country_criterion_id: ::core::option::Option, } -// Proto file describing the Google Ads Field resource. +// Proto file describing the Google Ads Field resource. -/// A field or resource (artifact) used by GoogleAdsService. +/// A field or resource (artifact) used by GoogleAdsService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsField { - /// Output only. The resource name of the artifact. - /// Artifact resource names have the form: + /// Output only. The resource name of the artifact. + /// Artifact resource names have the form: /// - /// `googleAdsFields/{name}` + /// `googleAdsFields/{name}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The name of the artifact. + /// Output only. The name of the artifact. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category of the artifact. + /// Output only. The category of the artifact. #[prost(enumeration="super::enums::google_ads_field_category_enum::GoogleAdsFieldCategory", tag="3")] pub category: i32, - /// Output only. Whether the artifact can be used in a SELECT clause in search - /// queries. + /// Output only. Whether the artifact can be used in a SELECT clause in search + /// queries. #[prost(bool, optional, tag="22")] pub selectable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a WHERE clause in search - /// queries. + /// Output only. Whether the artifact can be used in a WHERE clause in search + /// queries. #[prost(bool, optional, tag="23")] pub filterable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a ORDER BY clause in search - /// queries. + /// Output only. Whether the artifact can be used in a ORDER BY clause in search + /// queries. #[prost(bool, optional, tag="24")] pub sortable: ::core::option::Option, - /// Output only. The names of all resources, segments, and metrics that are selectable with - /// the described artifact. + /// Output only. The names of all resources, segments, and metrics that are selectable with + /// the described artifact. #[prost(string, repeated, tag="25")] pub selectable_with: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The names of all resources that are selectable with the described - /// artifact. Fields from these resources do not segment metrics when included - /// in search queries. + /// Output only. The names of all resources that are selectable with the described + /// artifact. Fields from these resources do not segment metrics when included + /// in search queries. /// - /// This field is only set for artifacts whose category is RESOURCE. + /// This field is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="26")] pub attribute_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all metrics that are selectable with the - /// described artifact when it is used in the FROM clause. - /// It is only set for artifacts whose category is RESOURCE. + /// Output only. This field lists the names of all metrics that are selectable with the + /// described artifact when it is used in the FROM clause. + /// It is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="27")] pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all artifacts, whether a segment or another - /// resource, that segment metrics when included in search queries and when the - /// described artifact is used in the FROM clause. It is only set for artifacts - /// whose category is RESOURCE. + /// Output only. This field lists the names of all artifacts, whether a segment or another + /// resource, that segment metrics when included in search queries and when the + /// described artifact is used in the FROM clause. It is only set for artifacts + /// whose category is RESOURCE. #[prost(string, repeated, tag="28")] pub segments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Values the artifact can assume if it is a field of type ENUM. + /// Output only. Values the artifact can assume if it is a field of type ENUM. /// - /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. + /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. #[prost(string, repeated, tag="29")] pub enum_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field determines the operators that can be used with the artifact - /// in WHERE clauses. + /// Output only. This field determines the operators that can be used with the artifact + /// in WHERE clauses. #[prost(enumeration="super::enums::google_ads_field_data_type_enum::GoogleAdsFieldDataType", tag="12")] pub data_type: i32, - /// Output only. The URL of proto describing the artifact's data type. + /// Output only. The URL of proto describing the artifact's data type. #[prost(string, optional, tag="30")] pub type_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the field artifact is repeated. + /// Output only. Whether the field artifact is repeated. #[prost(bool, optional, tag="31")] pub is_repeated: ::core::option::Option, } -// Proto file describing the group placement view resource. +// Proto file describing the group placement view resource. -/// A group placement view. +/// A group placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GroupPlacementView { - /// Output only. The resource name of the group placement view. - /// Group placement view resource names have the form: + /// Output only. The resource name of the group placement view. + /// Group placement view resource names have the form: /// - /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at group level, e. g. web domain, mobile - /// app ID, or a YouTube channel ID. + /// Output only. The automatic placement string at group level, e. g. web domain, mobile + /// app ID, or a YouTube channel ID. #[prost(string, optional, tag="6")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Domain name for websites and YouTube channel name for YouTube channels. + /// Output only. Domain name for websites and YouTube channel name for YouTube channels. #[prost(string, optional, tag="7")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, for example, domain, link to the mobile - /// application in app store, or a YouTube channel URL. + /// Output only. URL of the group placement, for example, domain, link to the mobile + /// application in app store, or a YouTube channel URL. #[prost(string, optional, tag="8")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, for example, Website, YouTube Channel, Mobile - /// Application. + /// Output only. Type of the placement, for example, Website, YouTube Channel, Mobile + /// Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="5")] pub placement_type: i32, } -// Proto file describing the hotel group view resource. +// Proto file describing the hotel group view resource. -/// A hotel group view. +/// A hotel group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelGroupView { - /// Output only. The resource name of the hotel group view. - /// Hotel Group view resource names have the form: + /// Output only. The resource name of the hotel group view. + /// Hotel Group view resource names have the form: /// - /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel performance view resource. +// Proto file describing the hotel performance view resource. -/// A hotel performance view. +/// A hotel performance view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPerformanceView { - /// Output only. The resource name of the hotel performance view. - /// Hotel performance view resource names have the form: + /// Output only. The resource name of the hotel performance view. + /// Hotel performance view resource names have the form: /// - /// `customers/{customer_id}/hotelPerformanceView` + /// `customers/{customer_id}/hotelPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel reconciliation resource. +// Proto file describing the hotel reconciliation resource. -/// A hotel reconciliation. It contains conversion information from Hotel -/// bookings to reconcile with advertiser records. These rows may be updated -/// or canceled before billing through Bulk Uploads. +/// A hotel reconciliation. It contains conversion information from Hotel +/// bookings to reconcile with advertiser records. These rows may be updated +/// or canceled before billing through Bulk Uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliation { - /// Immutable. The resource name of the hotel reconciliation. - /// Hotel reconciliation resource names have the form: + /// Immutable. The resource name of the hotel reconciliation. + /// Hotel reconciliation resource names have the form: /// - /// `customers/{customer_id}/hotelReconciliations/{commission_id}` + /// `customers/{customer_id}/hotelReconciliations/{commission_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is - /// assigned a Commission ID to help you match it to a guest stay. + /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is + /// assigned a Commission ID to help you match it to a guest stay. #[prost(string, tag="2")] pub commission_id: ::prost::alloc::string::String, - /// Output only. The order ID is the identifier for this booking as provided in the - /// 'transaction_id' parameter of the conversion tracking tag. + /// Output only. The order ID is the identifier for this booking as provided in the + /// 'transaction_id' parameter of the conversion tracking tag. #[prost(string, tag="3")] pub order_id: ::prost::alloc::string::String, - /// Output only. The resource name for the Campaign associated with the conversion. + /// Output only. The resource name for the Campaign associated with the conversion. #[prost(string, tag="11")] pub campaign: ::prost::alloc::string::String, - /// Output only. Identifier for the Hotel Center account which provides the rates for the - /// Hotel campaign. + /// Output only. Identifier for the Hotel Center account which provides the rates for the + /// Hotel campaign. #[prost(int64, tag="4")] pub hotel_center_id: i64, - /// Output only. Unique identifier for the booked property, as provided in the Hotel Center - /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking - /// tag. + /// Output only. Unique identifier for the booked property, as provided in the Hotel Center + /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking + /// tag. #[prost(string, tag="5")] pub hotel_id: ::prost::alloc::string::String, - /// Output only. Check-in date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-in date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="6")] pub check_in_date: ::prost::alloc::string::String, - /// Output only. Check-out date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-out date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="7")] pub check_out_date: ::prost::alloc::string::String, - /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If - /// original booking value changes for any reason, such as itinerary changes or - /// room upsells, the reconciled value should be the full final amount - /// collected. If a booking is canceled, the reconciled value should include - /// the value of any cancellation fees or non-refundable nights charged. Value - /// is in millionths of the base unit currency. For example, $12.35 would be - /// represented as 12350000. Currency unit is in the default customer currency. + /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If + /// original booking value changes for any reason, such as itinerary changes or + /// room upsells, the reconciled value should be the full final amount + /// collected. If a booking is canceled, the reconciled value should include + /// the value of any cancellation fees or non-refundable nights charged. Value + /// is in millionths of the base unit currency. For example, $12.35 would be + /// represented as 12350000. Currency unit is in the default customer currency. #[prost(int64, tag="8")] pub reconciled_value_micros: i64, - /// Output only. Whether a given booking has been billed. Once billed, a booking can't be - /// modified. + /// Output only. Whether a given booking has been billed. Once billed, a booking can't be + /// modified. #[prost(bool, tag="9")] pub billed: bool, - /// Required. Output only. Current status of a booking with regards to reconciliation and billing. - /// Bookings should be reconciled within 45 days after the check-out date. - /// Any booking not reconciled within 45 days will be billed at its original - /// value. + /// Required. Output only. Current status of a booking with regards to reconciliation and billing. + /// Bookings should be reconciled within 45 days after the check-out date. + /// Any booking not reconciled within 45 days will be billed at its original + /// value. #[prost(enumeration="super::enums::hotel_reconciliation_status_enum::HotelReconciliationStatus", tag="10")] pub status: i32, } -// Proto file describing the income range view resource. +// Proto file describing the income range view resource. -/// An income range view. +/// An income range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeView { - /// Output only. The resource name of the income range view. - /// Income range view resource names have the form: + /// Output only. The resource name of the income range view. + /// Income range view resource names have the form: /// - /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Invoice resource. +// Proto file describing the Invoice resource. -/// An invoice. All invoice information is snapshotted to match the PDF invoice. -/// For invoices older than the launch of InvoiceService, the snapshotted -/// information may not match the PDF invoice. +/// An invoice. All invoice information is snapshotted to match the PDF invoice. +/// For invoices older than the launch of InvoiceService, the snapshotted +/// information may not match the PDF invoice. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Invoice { - /// Output only. The resource name of the invoice. Multiple customers can share a given - /// invoice, so multiple resource names may point to the same invoice. - /// Invoice resource names have the form: + /// Output only. The resource name of the invoice. Multiple customers can share a given + /// invoice, so multiple resource names may point to the same invoice. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". #[prost(string, optional, tag="25")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of invoice. + /// Output only. The type of invoice. #[prost(enumeration="super::enums::invoice_type_enum::InvoiceType", tag="3")] pub r#type: i32, - /// Output only. The resource name of this invoice's billing setup. + /// Output only. The resource name of this invoice's billing setup. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 16 digit ID used to identify the payments account associated with the - /// billing setup, for example, "1234-5678-9012-3456". It appears on the - /// invoice PDF as "Billing Account Number". + /// Output only. A 16 digit ID used to identify the payments account associated with the + /// billing setup, for example, "1234-5678-9012-3456". It appears on the + /// invoice PDF as "Billing Account Number". #[prost(string, optional, tag="27")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// billing setup, for example, "1234-5678-9012". It appears on the invoice PDF - /// as "Billing ID". + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// billing setup, for example, "1234-5678-9012". It appears on the invoice PDF + /// as "Billing ID". #[prost(string, optional, tag="28")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - /// either "Issue date" or "Invoice date". + /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as + /// either "Issue date" or "Invoice date". #[prost(string, optional, tag="29")] pub issue_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The due date in yyyy-mm-dd format. + /// Output only. The due date in yyyy-mm-dd format. #[prost(string, optional, tag="30")] pub due_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The service period date range of this invoice. The end date is inclusive. + /// Output only. The service period date range of this invoice. The end date is inclusive. #[prost(message, optional, tag="9")] pub service_date_range: ::core::option::Option, - /// Output only. The currency code. All costs are returned in this currency. A subset of the - /// currency codes derived from the ISO 4217 standard is supported. + /// Output only. The currency code. All costs are returned in this currency. A subset of the + /// currency codes derived from the ISO 4217 standard is supported. #[prost(string, optional, tag="31")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. + /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. #[prost(int64, tag="19")] pub adjustments_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level adjustments, in micros. + /// Output only. The sum of taxes on the invoice level adjustments, in micros. #[prost(int64, tag="20")] pub adjustments_tax_amount_micros: i64, - /// Output only. The total amount of invoice level adjustments, in micros. + /// Output only. The total amount of invoice level adjustments, in micros. #[prost(int64, tag="21")] pub adjustments_total_amount_micros: i64, - /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. #[prost(int64, tag="22")] pub regulatory_costs_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. + /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. #[prost(int64, tag="23")] pub regulatory_costs_tax_amount_micros: i64, - /// Output only. The total amount of invoice level regulatory costs, in micros. + /// Output only. The total amount of invoice level regulatory costs, in micros. #[prost(int64, tag="24")] pub regulatory_costs_total_amount_micros: i64, - /// Output only. The pretax subtotal amount, in micros. This equals the - /// sum of the AccountBudgetSummary subtotal amounts, - /// Invoice.adjustments_subtotal_amount_micros, and - /// Invoice.regulatory_costs_subtotal_amount_micros. - /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - /// longer included. + /// Output only. The pretax subtotal amount, in micros. This equals the + /// sum of the AccountBudgetSummary subtotal amounts, + /// Invoice.adjustments_subtotal_amount_micros, and + /// Invoice.regulatory_costs_subtotal_amount_micros. + /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no + /// longer included. #[prost(int64, optional, tag="33")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the - /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific - /// account budget. + /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific + /// account budget. #[prost(int64, optional, tag="34")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount, in micros. This equals the sum of - /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - /// also added as it is no longer already included in - /// Invoice.tax_amount_micros. + /// Output only. The total amount, in micros. This equals the sum of + /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. + /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is + /// also added as it is no longer already included in + /// Invoice.tax_amount_micros. #[prost(int64, optional, tag="35")] pub total_amount_micros: ::core::option::Option, - /// Output only. The resource name of the original invoice corrected, wrote off, or canceled - /// by this invoice, if applicable. If `corrected_invoice` is set, - /// `replaced_invoices` will not be set. - /// Invoice resource names have the form: + /// Output only. The resource name of the original invoice corrected, wrote off, or canceled + /// by this invoice, if applicable. If `corrected_invoice` is set, + /// `replaced_invoices` will not be set. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, optional, tag="36")] pub corrected_invoice: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the original invoice(s) being rebilled or replaced by - /// this invoice, if applicable. There might be multiple replaced invoices due - /// to invoice consolidation. The replaced invoices may not belong to the same - /// payments account. If `replaced_invoices` is set, `corrected_invoice` will - /// not be set. - /// Invoice resource names have the form: - /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// Output only. The resource name of the original invoice(s) being rebilled or replaced by + /// this invoice, if applicable. There might be multiple replaced invoices due + /// to invoice consolidation. The replaced invoices may not belong to the same + /// payments account. If `replaced_invoices` is set, `corrected_invoice` will + /// not be set. + /// Invoice resource names have the form: + /// + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, repeated, tag="37")] pub replaced_invoices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth - /// token to request the PDF with this URL. + /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth + /// token to request the PDF with this URL. #[prost(string, optional, tag="38")] pub pdf_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The list of summarized account budget information associated with this - /// invoice. + /// Output only. The list of summarized account budget information associated with this + /// invoice. #[prost(message, repeated, tag="18")] pub account_budget_summaries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Invoice`. pub mod invoice { - /// Represents a summarized account budget billable cost. + /// Represents a summarized account budget billable cost. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetSummary { - /// Output only. The resource name of the customer associated with this account budget. - /// This contains the customer ID, which appears on the invoice PDF as - /// "Account ID". - /// Customer resource names have the form: + /// Output only. The resource name of the customer associated with this account budget. + /// This contains the customer ID, which appears on the invoice PDF as + /// "Account ID". + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, optional, tag="10")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The descriptive name of the account budget's customer. It appears on the - /// invoice PDF as "Account". + /// Output only. The descriptive name of the account budget's customer. It appears on the + /// invoice PDF as "Account". #[prost(string, optional, tag="11")] pub customer_descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the account budget associated with this summarized - /// billable cost. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account budget associated with this summarized + /// billable cost. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, optional, tag="12")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the account budget. It appears on the invoice PDF as "Account - /// budget". + /// Output only. The name of the account budget. It appears on the invoice PDF as "Account + /// budget". #[prost(string, optional, tag="13")] pub account_budget_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The purchase order number of the account budget. It appears on the - /// invoice PDF as "Purchase order". + /// Output only. The purchase order number of the account budget. It appears on the + /// invoice PDF as "Purchase order". #[prost(string, optional, tag="14")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount attributable to this budget during the service - /// period, in micros. + /// Output only. The pretax subtotal amount attributable to this budget during the service + /// period, in micros. #[prost(int64, optional, tag="15")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The tax amount attributable to this budget during the service period, in - /// micros. + /// Output only. The tax amount attributable to this budget during the service period, in + /// micros. #[prost(int64, optional, tag="16")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount attributable to this budget during the service period, - /// in micros. This equals the sum of the account budget subtotal amount and - /// the account budget tax amount. + /// Output only. The total amount attributable to this budget during the service period, + /// in micros. This equals the sum of the account budget subtotal amount and + /// the account budget tax amount. #[prost(int64, optional, tag="17")] pub total_amount_micros: ::core::option::Option, - /// Output only. The billable activity date range of the account budget, within the - /// service date range of this invoice. The end date is inclusive. This can - /// be different from the account budget's start and end time. + /// Output only. The billable activity date range of the account budget, within the + /// service date range of this invoice. The end date is inclusive. This can + /// be different from the account budget's start and end time. #[prost(message, optional, tag="9")] pub billable_activity_date_range: ::core::option::Option, } } -// Proto file describing the keyword plan resource. +// Proto file describing the keyword plan resource. -/// A Keyword Planner plan. -/// Max number of saved keyword plans: 10000. -/// It's possible to remove plans if limit is reached. +/// A Keyword Planner plan. +/// Max number of saved keyword plans: 10000. +/// It's possible to remove plans if limit is reached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlan { - /// Immutable. The resource name of the Keyword Planner plan. - /// KeywordPlan resource names have the form: + /// Immutable. The resource name of the Keyword Planner plan. + /// KeywordPlan resource names have the form: /// - /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` + /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the keyword plan. + /// Output only. The ID of the keyword plan. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the keyword plan. + /// The name of the keyword plan. /// - /// This field is required and should not be empty when creating new keyword - /// plans. + /// This field is required and should not be empty when creating new keyword + /// plans. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The date period used for forecasting the plan. + /// The date period used for forecasting the plan. #[prost(message, optional, tag="4")] pub forecast_period: ::core::option::Option, } -/// The forecasting period associated with the keyword plan. +/// The forecasting period associated with the keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastPeriod { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[prost(oneof="keyword_plan_forecast_period::Interval", tags="1, 2")] pub interval: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanForecastPeriod`. pub mod keyword_plan_forecast_period { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Interval { - /// A future date range relative to the current date used for forecasting. + /// A future date range relative to the current date used for forecasting. #[prost(enumeration="super::super::enums::keyword_plan_forecast_interval_enum::KeywordPlanForecastInterval", tag="1")] DateInterval(i32), - /// The custom date range used for forecasting. It cannot be greater than - /// a year. - /// The start and end dates must be in the future. Otherwise, an error will - /// be returned when the forecasting action is performed. - /// The start and end dates are inclusive. + /// The custom date range used for forecasting. It cannot be greater than + /// a year. + /// The start and end dates must be in the future. Otherwise, an error will + /// be returned when the forecasting action is performed. + /// The start and end dates are inclusive. #[prost(message, tag="2")] DateRange(super::super::common::DateRange), } } -// Proto file describing the keyword plan ad group resource. +// Proto file describing the keyword plan ad group resource. -/// A Keyword Planner ad group. -/// Max number of keyword plan ad groups per plan: 200. +/// A Keyword Planner ad group. +/// Max number of keyword plan ad groups per plan: 200. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroup { - /// Immutable. The resource name of the Keyword Planner ad group. - /// KeywordPlanAdGroup resource names have the form: + /// Immutable. The resource name of the Keyword Planner ad group. + /// KeywordPlanAdGroup resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan campaign to which this ad group belongs. + /// The keyword plan campaign to which this ad group belongs. #[prost(string, optional, tag="6")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the keyword plan ad group. + /// Output only. The ID of the keyword plan ad group. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// The name of the keyword plan ad group. + /// The name of the keyword plan ad group. /// - /// This field is required and should not be empty when creating keyword plan - /// ad group. + /// This field is required and should not be empty when creating keyword plan + /// ad group. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A default ad group max cpc bid in micros in account currency for all - /// biddable keywords under the keyword plan ad group. - /// If not set, will inherit from parent campaign. + /// A default ad group max cpc bid in micros in account currency for all + /// biddable keywords under the keyword plan ad group. + /// If not set, will inherit from parent campaign. #[prost(int64, optional, tag="9")] pub cpc_bid_micros: ::core::option::Option, } -// Proto file describing the keyword plan ad group keyword resource. +// Proto file describing the keyword plan ad group keyword resource. -/// A Keyword Plan ad group keyword. -/// Max number of keyword plan keywords per plan: 10000. +/// A Keyword Plan ad group keyword. +/// Max number of keyword plan keywords per plan: 10000. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeyword { - /// Immutable. The resource name of the Keyword Plan ad group keyword. - /// KeywordPlanAdGroupKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan ad group keyword. + /// KeywordPlanAdGroupKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan ad group to which this keyword belongs. + /// The Keyword Plan ad group to which this keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan keyword. + /// Output only. The ID of the Keyword Plan keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency - /// is the same as the account currency code. This will override any CPC bid - /// set at the keyword plan ad group level. Not applicable for negative - /// keywords. (negative = true) This field is Optional. + /// A keyword level max cpc bid in micros (for example, $1 = 1mm). The currency + /// is the same as the account currency code. This will override any CPC bid + /// set at the keyword plan ad group level. Not applicable for negative + /// keywords. (negative = true) This field is Optional. #[prost(int64, optional, tag="11")] pub cpc_bid_micros: ::core::option::Option, - /// Immutable. If true, the keyword is negative. + /// Immutable. If true, the keyword is negative. #[prost(bool, optional, tag="12")] pub negative: ::core::option::Option, } -// Proto file describing the keyword plan campaign resource. +// Proto file describing the keyword plan campaign resource. -/// A Keyword Plan campaign. -/// Max number of keyword plan campaigns per plan allowed: 1. +/// A Keyword Plan campaign. +/// Max number of keyword plan campaigns per plan allowed: 1. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaign { - /// Immutable. The resource name of the Keyword Plan campaign. - /// KeywordPlanCampaign resource names have the form: + /// Immutable. The resource name of the Keyword Plan campaign. + /// KeywordPlanCampaign resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan this campaign belongs to. + /// The keyword plan this campaign belongs to. #[prost(string, optional, tag="9")] pub keyword_plan: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan campaign. + /// Output only. The ID of the Keyword Plan campaign. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// The name of the Keyword Plan campaign. + /// The name of the Keyword Plan campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The languages targeted for the Keyword Plan campaign. - /// Max allowed: 1. + /// The languages targeted for the Keyword Plan campaign. + /// Max allowed: 1. #[prost(string, repeated, tag="12")] pub language_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Targeting network. + /// Targeting network. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="6")] pub keyword_plan_network: i32, - /// A default max cpc bid in micros, and in the account currency, for all ad - /// groups under the campaign. + /// A default max cpc bid in micros, and in the account currency, for all ad + /// groups under the campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(int64, optional, tag="13")] pub cpc_bid_micros: ::core::option::Option, - /// The geo targets. - /// Max number allowed: 20. + /// The geo targets. + /// Max number allowed: 20. #[prost(message, repeated, tag="8")] pub geo_targets: ::prost::alloc::vec::Vec, } -/// A geo target. +/// A geo target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanGeoTarget { - /// Required. The resource name of the geo target. + /// Required. The resource name of the geo target. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword plan negative keyword resource. +// Proto file describing the keyword plan negative keyword resource. -/// A Keyword Plan Campaign keyword. -/// Only negative keywords are supported for Campaign Keyword. +/// A Keyword Plan Campaign keyword. +/// Only negative keywords are supported for Campaign Keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeyword { - /// Immutable. The resource name of the Keyword Plan Campaign keyword. - /// KeywordPlanCampaignKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan Campaign keyword. + /// KeywordPlanCampaignKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan campaign to which this negative keyword belongs. + /// The Keyword Plan campaign to which this negative keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan negative keyword. + /// Output only. The ID of the Keyword Plan negative keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// Immutable. If true, the keyword is negative. - /// Must be set to true. Only negative campaign keywords are supported. + /// Immutable. If true, the keyword is negative. + /// Must be set to true. Only negative campaign keywords are supported. #[prost(bool, optional, tag="11")] pub negative: ::core::option::Option, } -// Proto file describing the Smart Campaign keyword theme constant resource. +// Proto file describing the Smart Campaign keyword theme constant resource. -/// A Smart Campaign keyword theme constant. +/// A Smart Campaign keyword theme constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeConstant { - /// Output only. The resource name of the keyword theme constant. - /// Keyword theme constant resource names have the form: + /// Output only. The resource name of the keyword theme constant. + /// Keyword theme constant resource names have the form: /// - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="3")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name of the keyword theme or sub keyword theme. + /// Output only. The display name of the keyword theme or sub keyword theme. #[prost(string, optional, tag="4")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword view resource. +// Proto file describing the keyword view resource. -/// A keyword view. +/// A keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordView { - /// Output only. The resource name of the keyword view. - /// Keyword view resource names have the form: + /// Output only. The resource name of the keyword view. + /// Keyword view resource names have the form: /// - /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// A label. +/// A label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Label { - /// Immutable. Name of the resource. - /// Label resource names have the form: - /// `customers/{customer_id}/labels/{label_id}` + /// Immutable. Name of the resource. + /// Label resource names have the form: + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the label. Read only. + /// Output only. ID of the label. Read only. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// The name of the label. + /// The name of the label. /// - /// This field is required and should not be empty when creating a new label. + /// This field is required and should not be empty when creating a new label. /// - /// The length of this string should be between 1 and 80, inclusive. + /// The length of this string should be between 1 and 80, inclusive. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Status of the label. Read only. + /// Output only. Status of the label. Read only. #[prost(enumeration="super::enums::label_status_enum::LabelStatus", tag="4")] pub status: i32, - /// A type of label displaying text on a colored background. + /// A type of label displaying text on a colored background. #[prost(message, optional, tag="5")] pub text_label: ::core::option::Option, } -// Proto file describing the landing page view resource. +// Proto file describing the landing page view resource. -/// A landing page view with metrics aggregated at the unexpanded final URL -/// level. +/// A landing page view with metrics aggregated at the unexpanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LandingPageView { - /// Output only. The resource name of the landing page view. - /// Landing page view resource names have the form: + /// Output only. The resource name of the landing page view. + /// Landing page view resource names have the form: /// - /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The advertiser-specified final URL. + /// Output only. The advertiser-specified final URL. #[prost(string, optional, tag="3")] pub unexpanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the language constant resource. +// Proto file describing the language constant resource. -/// A language. +/// A language. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageConstant { - /// Output only. The resource name of the language constant. - /// Language constant resource names have the form: + /// Output only. The resource name of the language constant. + /// Language constant resource names have the form: /// - /// `languageConstants/{criterion_id}` + /// `languageConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the language constant. + /// Output only. The ID of the language constant. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. + /// Output only. The language code, for example, "en_US", "en_AU", "es", "fr", etc. #[prost(string, optional, tag="7")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The full name of the language in English, for example, "English (US)", - /// "Spanish", etc. + /// Output only. The full name of the language in English, for example, "English (US)", + /// "Spanish", etc. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the language is targetable. + /// Output only. Whether the language is targetable. #[prost(bool, optional, tag="9")] pub targetable: ::core::option::Option, } -// Proto file describing the lead form submission data resource. +// Proto file describing the lead form submission data resource. -/// Data from lead form submissions. +/// Data from lead form submissions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSubmissionData { - /// Output only. The resource name of the lead form submission data. - /// Lead form submission data resource names have the form: + /// Output only. The resource name of the lead form submission data. + /// Lead form submission data resource names have the form: /// - /// `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` + /// `customers/{customer_id}/leadFormSubmissionData/{lead_form_submission_data_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this lead form submission. + /// Output only. ID of this lead form submission. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. Asset associated with the submitted lead form. + /// Output only. Asset associated with the submitted lead form. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Output only. Campaign associated with the submitted lead form. + /// Output only. Campaign associated with the submitted lead form. #[prost(string, tag="4")] pub campaign: ::prost::alloc::string::String, - /// Output only. Submission data associated with a lead form. + /// Output only. Submission data associated with a lead form. #[prost(message, repeated, tag="5")] pub lead_form_submission_fields: ::prost::alloc::vec::Vec, - /// Output only. AdGroup associated with the submitted lead form. + /// Output only. AdGroup associated with the submitted lead form. #[prost(string, tag="6")] pub ad_group: ::prost::alloc::string::String, - /// Output only. AdGroupAd associated with the submitted lead form. + /// Output only. AdGroupAd associated with the submitted lead form. #[prost(string, tag="7")] pub ad_group_ad: ::prost::alloc::string::String, - /// Output only. Google Click Id associated with the submissed lead form. + /// Output only. Google Click Id associated with the submissed lead form. #[prost(string, tag="8")] pub gclid: ::prost::alloc::string::String, - /// Output only. The date and time at which the lead form was submitted. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// Output only. The date and time at which the lead form was submitted. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, tag="9")] pub submission_date_time: ::prost::alloc::string::String, } -/// Fields in the submitted lead form. +/// Fields in the submitted lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSubmissionField { - /// Output only. Field type for lead form fields. + /// Output only. Field type for lead form fields. #[prost(enumeration="super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType", tag="1")] pub field_type: i32, - /// Output only. Field value for lead form fields. + /// Output only. Field value for lead form fields. #[prost(string, tag="2")] pub field_value: ::prost::alloc::string::String, } -// Proto file describing the Life Event resource. +// Proto file describing the Life Event resource. -/// A life event: a particular interest-based vertical to be targeted to reach -/// users when they are in the midst of important life milestones. +/// A life event: a particular interest-based vertical to be targeted to reach +/// users when they are in the midst of important life milestones. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifeEvent { - /// Output only. The resource name of the life event. - /// Life event resource names have the form: + /// Output only. The resource name of the life event. + /// Life event resource names have the form: /// - /// `customers/{customer_id}/lifeEvents/{life_event_id}` + /// `customers/{customer_id}/lifeEvents/{life_event_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the life event. + /// Output only. The ID of the life event. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the life event, for example,"Recently Moved" + /// Output only. The name of the life event, for example,"Recently Moved" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the life_event. + /// Output only. The parent of the life_event. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the life event is launched to all channels and locales. + /// Output only. True if the life event is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the life event. + /// Output only. Availability information of the life event. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the location view resource. +// Proto file describing the location view resource. -/// A location view summarizes the performance of campaigns by -/// Location criteria. +/// A location view summarizes the performance of campaigns by +/// Location criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationView { - /// Output only. The resource name of the location view. - /// Location view resource names have the form: + /// Output only. The resource name of the location view. + /// Location view resource names have the form: /// - /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Managed Placement view resource. +// Proto file describing the Managed Placement view resource. -/// A managed placement view. +/// A managed placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedPlacementView { - /// Output only. The resource name of the Managed Placement view. - /// Managed placement view resource names have the form: + /// Output only. The resource name of the Managed Placement view. + /// Managed placement view resource names have the form: /// - /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the media file resource. +// Proto file describing the media file resource. -/// A media file. +/// A media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFile { - /// Immutable. The resource name of the media file. - /// Media file resource names have the form: + /// Immutable. The resource name of the media file. + /// Media file resource names have the form: /// - /// `customers/{customer_id}/mediaFiles/{media_file_id}` + /// `customers/{customer_id}/mediaFiles/{media_file_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the media file. + /// Output only. The ID of the media file. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Immutable. Type of the media file. + /// Immutable. Type of the media file. #[prost(enumeration="super::enums::media_type_enum::MediaType", tag="5")] pub r#type: i32, - /// Output only. The mime type of the media file. + /// Output only. The mime type of the media file. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="6")] pub mime_type: i32, - /// Immutable. The URL of where the original media file was downloaded from (or a file - /// name). Only used for media of type AUDIO and IMAGE. + /// Immutable. The URL of where the original media file was downloaded from (or a file + /// name). Only used for media of type AUDIO and IMAGE. #[prost(string, optional, tag="13")] pub source_url: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the media file. The name can be used by clients to help - /// identify previously uploaded media. + /// Immutable. The name of the media file. The name can be used by clients to help + /// identify previously uploaded media. #[prost(string, optional, tag="14")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The size of the media file in bytes. + /// Output only. The size of the media file in bytes. #[prost(int64, optional, tag="15")] pub file_size: ::core::option::Option, - /// The specific type of the media file. + /// The specific type of the media file. #[prost(oneof="media_file::Mediatype", tags="3, 4, 10, 11")] pub mediatype: ::core::option::Option, } /// Nested message and enum types in `MediaFile`. pub mod media_file { - /// The specific type of the media file. + /// The specific type of the media file. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mediatype { - /// Immutable. Encapsulates an Image. + /// Immutable. Encapsulates an Image. #[prost(message, tag="3")] Image(super::MediaImage), - /// Immutable. A ZIP archive media the content of which contains HTML5 assets. + /// Immutable. A ZIP archive media the content of which contains HTML5 assets. #[prost(message, tag="4")] MediaBundle(super::MediaBundle), - /// Output only. Encapsulates an Audio. + /// Output only. Encapsulates an Audio. #[prost(message, tag="10")] Audio(super::MediaAudio), - /// Immutable. Encapsulates a Video. + /// Immutable. Encapsulates a Video. #[prost(message, tag="11")] Video(super::MediaVideo), } } -/// Encapsulates an Image. +/// Encapsulates an Image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaImage { - /// Immutable. Raw image data. + /// Immutable. Raw image data. #[prost(bytes="vec", optional, tag="4")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to the full size version of the image. + /// Output only. The url to the full size version of the image. #[prost(string, optional, tag="2")] pub full_size_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The url to the preview size version of the image. + /// Output only. The url to the preview size version of the image. #[prost(string, optional, tag="3")] pub preview_size_image_url: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a ZIP archive media the content of which contains HTML5 assets. +/// Represents a ZIP archive media the content of which contains HTML5 assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundle { - /// Immutable. Raw zipped data. + /// Immutable. Raw zipped data. #[prost(bytes="vec", optional, tag="3")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to access the uploaded zipped data. - /// For example, - /// This field is read-only. + /// Output only. The url to access the uploaded zipped data. + /// For example, + /// This field is read-only. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Encapsulates an Audio. +/// Encapsulates an Audio. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaAudio { - /// Output only. The duration of the Audio in milliseconds. + /// Output only. The duration of the Audio in milliseconds. #[prost(int64, optional, tag="2")] pub ad_duration_millis: ::core::option::Option, } -/// Encapsulates a Video. +/// Encapsulates a Video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaVideo { - /// Output only. The duration of the Video in milliseconds. + /// Output only. The duration of the Video in milliseconds. #[prost(int64, optional, tag="5")] pub ad_duration_millis: ::core::option::Option, - /// Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - /// ", - /// Output only. The Advertising Digital Identification code for this video, as defined by - /// the American Association of Advertising Agencies, used mainly for - /// television commercials. + /// Output only. The Advertising Digital Identification code for this video, as defined by + /// the American Association of Advertising Agencies, used mainly for + /// television commercials. #[prost(string, optional, tag="7")] pub advertising_id_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Industry Standard Commercial Identifier code for this video, used - /// mainly for television commercials. + /// Output only. The Industry Standard Commercial Identifier code for this video, used + /// mainly for television commercials. #[prost(string, optional, tag="8")] pub isci_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Merchant Center link resource. +// Proto file describing the Merchant Center link resource. -/// A data sharing connection, proposed or in use, -/// between a Google Ads Customer and a Merchant Center account. +/// A data sharing connection, proposed or in use, +/// between a Google Ads Customer and a Merchant Center account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLink { - /// Immutable. The resource name of the merchant center link. - /// Merchant center link resource names have the form: + /// Immutable. The resource name of the merchant center link. + /// Merchant center link resource names have the form: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the Merchant Center account. - /// This field is readonly. + /// Output only. The ID of the Merchant Center account. + /// This field is readonly. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The name of the Merchant Center account. - /// This field is readonly. + /// Output only. The name of the Merchant Center account. + /// This field is readonly. #[prost(string, optional, tag="7")] pub merchant_center_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::merchant_center_link_status_enum::MerchantCenterLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Mobile App Category Constant resource. +// Proto file describing the Mobile App Category Constant resource. -/// A mobile application category constant. +/// A mobile application category constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryConstant { - /// Output only. The resource name of the mobile app category constant. - /// Mobile app category constant resource names have the form: + /// Output only. The resource name of the mobile app category constant. + /// Mobile app category constant resource names have the form: /// - /// `mobileAppCategoryConstants/{mobile_app_category_id}` + /// `mobileAppCategoryConstants/{mobile_app_category_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile app category constant. + /// Output only. The ID of the mobile app category constant. #[prost(int32, optional, tag="4")] pub id: ::core::option::Option, - /// Output only. Mobile app category name. + /// Output only. Mobile app category name. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the mobile device constant resource. +// Proto file describing the mobile device constant resource. -/// A mobile device constant. +/// A mobile device constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceConstant { - /// Output only. The resource name of the mobile device constant. - /// Mobile device constant resource names have the form: + /// Output only. The resource name of the mobile device constant. + /// Mobile device constant resource names have the form: /// - /// `mobileDeviceConstants/{criterion_id}` + /// `mobileDeviceConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile device constant. + /// Output only. The ID of the mobile device constant. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The name of the mobile device. + /// Output only. The name of the mobile device. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The manufacturer of the mobile device. + /// Output only. The manufacturer of the mobile device. #[prost(string, optional, tag="9")] pub manufacturer_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The operating system of the mobile device. + /// Output only. The operating system of the mobile device. #[prost(string, optional, tag="10")] pub operating_system_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of mobile device. + /// Output only. The type of mobile device. #[prost(enumeration="super::enums::mobile_device_type_enum::MobileDeviceType", tag="6")] pub r#type: i32, } -// Proto file describing the offline user data job resource. +// Proto file describing the offline user data job resource. -/// A job containing offline user data of store visitors, or user list members -/// that will be processed asynchronously. The uploaded data isn't readable and -/// the processing results of the job can only be read using -/// GoogleAdsService.Search/SearchStream. +/// A job containing offline user data of store visitors, or user list members +/// that will be processed asynchronously. The uploaded data isn't readable and +/// the processing results of the job can only be read using +/// GoogleAdsService.Search/SearchStream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJob { - /// Immutable. The resource name of the offline user data job. - /// Offline user data job resource names have the form: + /// Immutable. The resource name of the offline user data job. + /// Offline user data job resource names have the form: /// - /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this offline user data job. + /// Output only. ID of this offline user data job. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// Immutable. User specified job ID. + /// Immutable. User specified job ID. #[prost(int64, optional, tag="10")] pub external_id: ::core::option::Option, - /// Immutable. Type of the job. + /// Immutable. Type of the job. #[prost(enumeration="super::enums::offline_user_data_job_type_enum::OfflineUserDataJobType", tag="4")] pub r#type: i32, - /// Output only. Status of the job. + /// Output only. Status of the job. #[prost(enumeration="super::enums::offline_user_data_job_status_enum::OfflineUserDataJobStatus", tag="5")] pub status: i32, - /// Output only. Reason for the processing failure, if status is FAILED. + /// Output only. Reason for the processing failure, if status is FAILED. #[prost(enumeration="super::enums::offline_user_data_job_failure_reason_enum::OfflineUserDataJobFailureReason", tag="6")] pub failure_reason: i32, - /// Output only. Metadata of offline user data job depicting match rate range. + /// Output only. Metadata of offline user data job depicting match rate range. #[prost(message, optional, tag="11")] pub operation_metadata: ::core::option::Option, - /// Metadata of the job. + /// Metadata of the job. #[prost(oneof="offline_user_data_job::Metadata", tags="7, 8")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJob`. pub mod offline_user_data_job { - /// Metadata of the job. + /// Metadata of the job. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Immutable. Metadata for data updates to a CRM-based user list. + /// Immutable. Metadata for data updates to a CRM-based user list. #[prost(message, tag="7")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), - /// Immutable. Metadata for store sales data update. + /// Immutable. Metadata for store sales data update. #[prost(message, tag="8")] StoreSalesMetadata(super::super::common::StoreSalesMetadata), } } -/// Metadata of offline user data job. +/// Metadata of offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMetadata { - /// Output only. Match rate of the Customer Match user list upload. Describes the estimated - /// match rate when the status of the job is "RUNNING" and final match rate - /// when the final match rate is available after the status of the job is - /// "SUCCESS/FAILED". + /// Output only. Match rate of the Customer Match user list upload. Describes the estimated + /// match rate when the status of the job is "RUNNING" and final match rate + /// when the final match rate is available after the status of the job is + /// "SUCCESS/FAILED". #[prost(enumeration="super::enums::offline_user_data_job_match_rate_range_enum::OfflineUserDataJobMatchRateRange", tag="1")] pub match_rate_range: i32, } -// Proto file describing the operating system version constant resource. +// Proto file describing the operating system version constant resource. -/// A mobile operating system version or a range of versions, depending on -/// `operator_type`. List of available mobile platforms at -/// +/// A mobile operating system version or a range of versions, depending on +/// `operator_type`. List of available mobile platforms at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionConstant { - /// Output only. The resource name of the operating system version constant. - /// Operating system version constant resource names have the form: + /// Output only. The resource name of the operating system version constant. + /// Operating system version constant resource names have the form: /// - /// `operatingSystemVersionConstants/{criterion_id}` + /// `operatingSystemVersionConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the operating system version. + /// Output only. The ID of the operating system version. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. Name of the operating system. + /// Output only. Name of the operating system. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The OS Major Version number. + /// Output only. The OS Major Version number. #[prost(int32, optional, tag="9")] pub os_major_version: ::core::option::Option, - /// Output only. The OS Minor Version number. + /// Output only. The OS Minor Version number. #[prost(int32, optional, tag="10")] pub os_minor_version: ::core::option::Option, - /// Output only. Determines whether this constant represents a single version or a range of - /// versions. + /// Output only. Determines whether this constant represents a single version or a range of + /// versions. #[prost(enumeration="super::enums::operating_system_version_operator_type_enum::OperatingSystemVersionOperatorType", tag="6")] pub operator_type: i32, } -// Proto file describing the PaidOrganicSearchTermView resource. +// Proto file describing the PaidOrganicSearchTermView resource. -/// A paid organic search term view providing a view of search stats across -/// ads and organic listings aggregated by search term at the ad group level. +/// A paid organic search term view providing a view of search stats across +/// ads and organic listings aggregated by search term at the ad group level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaidOrganicSearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - /// {ad_group_id}~{URL-base64 search term}` + /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + /// {ad_group_id}~{URL-base64 search term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="3")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the parental status view resource. +// Proto file describing the parental status view resource. -/// A parental status view. +/// A parental status view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusView { - /// Output only. The resource name of the parental status view. - /// Parental Status view resource names have the form: + /// Output only. The resource name of the parental status view. + /// Parental Status view resource names have the form: /// - /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the PaymentsAccount resource. +// Proto file describing the PaymentsAccount resource. -/// A payments account, which can be used to set up billing for an Ads customer. +/// A payments account, which can be used to set up billing for an Ads customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccount { - /// Output only. The resource name of the payments account. - /// PaymentsAccount resource names have the form: + /// Output only. The resource name of the payments account. + /// PaymentsAccount resource names have the form: /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. A 16 digit ID used to identify a payments account. + /// Output only. A 16 digit ID used to identify a payments account. #[prost(string, optional, tag="8")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments account. + /// Output only. The name of the payments account. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The currency code of the payments account. - /// A subset of the currency codes derived from the ISO 4217 standard is - /// supported. + /// Output only. The currency code of the payments account. + /// A subset of the currency codes derived from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// payments account. + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// payments account. #[prost(string, optional, tag="11")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile ID present in uncommon situations, for - /// example, when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile ID present in uncommon situations, for + /// example, when a sequential liability agreement has been arranged. #[prost(string, optional, tag="12")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Paying manager of this payment account. + /// Output only. Paying manager of this payment account. #[prost(string, optional, tag="13")] pub paying_manager_customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductBiddingCategoryConstant resource. +// Proto file describing the ProductBiddingCategoryConstant resource. -/// A Product Bidding Category. +/// A Product Bidding Category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryConstant { - /// Output only. The resource name of the product bidding category. - /// Product bidding category resource names have the form: + /// Output only. The resource name of the product bidding category. + /// Product bidding category resource names have the form: /// - /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` + /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the product bidding category. + /// Output only. ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Two-letter upper-case country code of the product bidding category. + /// Output only. Two-letter upper-case country code of the product bidding category. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the parent product bidding category. + /// Output only. Resource name of the parent product bidding category. #[prost(string, optional, tag="12")] pub product_bidding_category_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Level of the product bidding category. + /// Output only. Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="5")] pub level: i32, - /// Output only. Status of the product bidding category. + /// Output only. Status of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_status_enum::ProductBiddingCategoryStatus", tag="6")] pub status: i32, - /// Output only. Language code of the product bidding category. + /// Output only. Language code of the product bidding category. #[prost(string, optional, tag="13")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Display value of the product bidding category localized according to - /// language_code. + /// Output only. Display value of the product bidding category localized according to + /// language_code. #[prost(string, optional, tag="14")] pub localized_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductGroup View resource. +// Proto file describing the ProductGroup View resource. -/// A product group view. +/// A product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductGroupView { - /// Output only. The resource name of the product group view. - /// Product group view resource names have the form: + /// Output only. The resource name of the product group view. + /// Product group view resource names have the form: /// - /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Recommendation resource. +// Proto file describing the Recommendation resource. -/// A recommendation. +/// A recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Recommendation { - /// Immutable. The resource name of the recommendation. + /// Immutable. The resource name of the recommendation. /// - /// `customers/{customer_id}/recommendations/{recommendation_id}` + /// `customers/{customer_id}/recommendations/{recommendation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The type of recommendation. + /// Output only. The type of recommendation. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="2")] pub r#type: i32, - /// Output only. The impact on account performance as a result of applying the - /// recommendation. + /// Output only. The impact on account performance as a result of applying the + /// recommendation. #[prost(message, optional, tag="3")] pub impact: ::core::option::Option, - /// Output only. The budget targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign budget. + /// Output only. The budget targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign budget. /// - /// This field will be set for the following recommendation types: - /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - /// MOVE_UNUSED_BUDGET + /// This field will be set for the following recommendation types: + /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, + /// MOVE_UNUSED_BUDGET #[prost(string, optional, tag="24")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The campaign targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign. - /// - /// This field will be set for the following recommendation types: - /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, - /// USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, - /// UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, - /// MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, - /// RESPONSIVE_SEARCH_AD, - /// RESPONSIVE_SEARCH_AD_ASSET, - /// SEARCH_PARTNERS_OPT_IN, - /// DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, - /// TARGET_ROAS_OPT_IN, TEXT_AD, - /// UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX + /// Output only. The campaign targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign. + /// + /// This field will be set for the following recommendation types: + /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, + /// USE_BROAD_MATCH_KEYWORD, KEYWORD, KEYWORD_MATCH_TYPE, + /// UPGRADE_LOCAL_CAMPAIGN_TO_PERFORMANCE_MAX, MAXIMIZE_CLICKS_OPT_IN, + /// MAXIMIZE_CONVERSIONS_OPT_IN, OPTIMIZE_AD_ROTATION, + /// RESPONSIVE_SEARCH_AD, + /// RESPONSIVE_SEARCH_AD_ASSET, + /// SEARCH_PARTNERS_OPT_IN, + /// DISPLAY_EXPANSION_OPT_IN, SITELINK_EXTENSION, TARGET_CPA_OPT_IN, + /// TARGET_ROAS_OPT_IN, TEXT_AD, + /// UPGRADE_SMART_SHOPPING_CAMPAIGN_TO_PERFORMANCE_MAX #[prost(string, optional, tag="25")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group targeted by this recommendation. This will be set only when - /// the recommendation affects a single ad group. + /// Output only. The ad group targeted by this recommendation. This will be set only when + /// the recommendation affects a single ad group. /// - /// This field will be set for the following recommendation types: - /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, - /// RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD + /// This field will be set for the following recommendation types: + /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, + /// RESPONSIVE_SEARCH_AD_ASSET, TEXT_AD #[prost(string, optional, tag="26")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the recommendation is dismissed or not. + /// Output only. Whether the recommendation is dismissed or not. #[prost(bool, optional, tag="27")] pub dismissed: ::core::option::Option, - /// The details of recommendation. + /// The details of recommendation. #[prost(oneof="recommendation::Recommendation", tags="4, 22, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 28, 29, 30, 31, 32, 33, 34, 35")] pub recommendation: ::core::option::Option, } /// Nested message and enum types in `Recommendation`. pub mod recommendation { - /// The impact of making the change as described in the recommendation. - /// Some types of recommendations may not have impact information. + /// The impact of making the change as described in the recommendation. + /// Some types of recommendations may not have impact information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationImpact { - /// Output only. Base metrics at the time the recommendation was generated. + /// Output only. Base metrics at the time the recommendation was generated. #[prost(message, optional, tag="1")] pub base_metrics: ::core::option::Option, - /// Output only. Estimated metrics if the recommendation is applied. + /// Output only. Estimated metrics if the recommendation is applied. #[prost(message, optional, tag="2")] pub potential_metrics: ::core::option::Option, } - /// Weekly account performance metrics. For some recommendation types, these - /// are averaged over the past 90-day period and hence can be fractional. + /// Weekly account performance metrics. For some recommendation types, these + /// are averaged over the past 90-day period and hence can be fractional. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationMetrics { - /// Output only. Number of ad impressions. + /// Output only. Number of ad impressions. #[prost(double, optional, tag="6")] pub impressions: ::core::option::Option, - /// Output only. Number of ad clicks. + /// Output only. Number of ad clicks. #[prost(double, optional, tag="7")] pub clicks: ::core::option::Option, - /// Output only. Cost (in micros) for advertising, in the local currency for the account. + /// Output only. Cost (in micros) for advertising, in the local currency for the account. #[prost(int64, optional, tag="8")] pub cost_micros: ::core::option::Option, - /// Output only. Number of conversions. + /// Output only. Number of conversions. #[prost(double, optional, tag="9")] pub conversions: ::core::option::Option, - /// Output only. Number of video views for a video ad campaign. + /// Output only. Number of video views for a video ad campaign. #[prost(double, optional, tag="10")] pub video_views: ::core::option::Option, } - /// The budget recommendation for budget constrained campaigns. + /// The budget recommendation for budget constrained campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendation { - /// Output only. The current budget amount in micros. + /// Output only. The current budget amount in micros. #[prost(int64, optional, tag="7")] pub current_budget_amount_micros: ::core::option::Option, - /// Output only. The recommended budget amount in micros. + /// Output only. The recommended budget amount in micros. #[prost(int64, optional, tag="8")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Output only. The budget amounts and associated impact estimates for some values of - /// possible budget amounts. + /// Output only. The budget amounts and associated impact estimates for some values of + /// possible budget amounts. #[prost(message, repeated, tag="3")] pub budget_options: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CampaignBudgetRecommendation`. pub mod campaign_budget_recommendation { - /// The impact estimates for a given budget amount. + /// The impact estimates for a given budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendationOption { - /// Output only. The budget amount for this option. + /// Output only. The budget amount for this option. #[prost(int64, optional, tag="3")] pub budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if budget is changed to amount specified in this - /// option. + /// Output only. The impact estimate if budget is changed to amount specified in this + /// option. #[prost(message, optional, tag="2")] pub impact: ::core::option::Option, } } - /// The keyword recommendation. + /// The keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordRecommendation { - /// Output only. The recommended keyword. + /// Output only. The recommended keyword. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended CPC (cost-per-click) bid. + /// Output only. The recommended CPC (cost-per-click) bid. #[prost(int64, optional, tag="3")] pub recommended_cpc_bid_micros: ::core::option::Option, } - /// The text ad recommendation. + /// The text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Creation date of the recommended ad. - /// YYYY-MM-DD format, for example, 2018-04-17. + /// Output only. Creation date of the recommended ad. + /// YYYY-MM-DD format, for example, 2018-04-17. #[prost(string, optional, tag="4")] pub creation_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Date, if present, is the earliest when the recommendation will be auto - /// applied. - /// YYYY-MM-DD format, for example, 2018-04-17. + /// Output only. Date, if present, is the earliest when the recommendation will be auto + /// applied. + /// YYYY-MM-DD format, for example, 2018-04-17. #[prost(string, optional, tag="5")] pub auto_apply_date: ::core::option::Option<::prost::alloc::string::String>, } - /// The Target CPA opt-in recommendation. + /// The Target CPA opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendation { - /// Output only. The available goals and corresponding options for Target CPA strategy. + /// Output only. The available goals and corresponding options for Target CPA strategy. #[prost(message, repeated, tag="1")] pub options: ::prost::alloc::vec::Vec, - /// Output only. The recommended average CPA target. See required budget amount and impact - /// of using this recommendation in options list. + /// Output only. The recommended average CPA target. See required budget amount and impact + /// of using this recommendation in options list. #[prost(int64, optional, tag="3")] pub recommended_target_cpa_micros: ::core::option::Option, } /// Nested message and enum types in `TargetCpaOptInRecommendation`. pub mod target_cpa_opt_in_recommendation { - /// The Target CPA opt-in option with impact estimate. + /// The Target CPA opt-in option with impact estimate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationOption { - /// Output only. The goal achieved by this option. + /// Output only. The goal achieved by this option. #[prost(enumeration="super::super::super::enums::target_cpa_opt_in_recommendation_goal_enum::TargetCpaOptInRecommendationGoal", tag="1")] pub goal: i32, - /// Output only. Average CPA target. + /// Output only. Average CPA target. #[prost(int64, optional, tag="5")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target CPA. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target CPA. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="6")] pub required_campaign_budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if this option is selected. + /// Output only. The impact estimate if this option is selected. #[prost(message, optional, tag="4")] pub impact: ::core::option::Option, } } - /// The Maximize Conversions Opt-In recommendation. + /// The Maximize Conversions Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionsOptInRecommendation { - /// Output only. The recommended new budget amount. + /// Output only. The recommended new budget amount. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Enhanced Cost-Per-Click Opt-In recommendation. + /// The Enhanced Cost-Per-Click Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpcOptInRecommendation { } - /// The Search Partners Opt-In recommendation. + /// The Search Partners Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchPartnersOptInRecommendation { } - /// The Maximize Clicks opt-in recommendation. + /// The Maximize Clicks opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeClicksOptInRecommendation { - /// Output only. The recommended new budget amount. - /// Only set if the current budget is too high. + /// Output only. The recommended new budget amount. + /// Only set if the current budget is too high. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Optimize Ad Rotation recommendation. + /// The Optimize Ad Rotation recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizeAdRotationRecommendation { } - /// The Callout extension recommendation. + /// The Callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionRecommendation { - /// Output only. Callout extensions recommended to be added. + /// Output only. Callout extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Sitelink extension recommendation. + /// The Sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionRecommendation { - /// Output only. Sitelink extensions recommended to be added. + /// Output only. Sitelink extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Call extension recommendation. + /// The Call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionRecommendation { - /// Output only. Call extensions recommended to be added. + /// Output only. Call extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The keyword match type recommendation. + /// The keyword match type recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeRecommendation { - /// Output only. The existing keyword where the match type should be more broad. + /// Output only. The existing keyword where the match type should be more broad. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended new match type. + /// Output only. The recommended new match type. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub recommended_match_type: i32, } - /// The move unused budget recommendation. + /// The move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetRecommendation { - /// Output only. The excess budget's resource_name. + /// Output only. The excess budget's resource_name. #[prost(string, optional, tag="3")] pub excess_campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The recommendation for the constrained budget to increase. + /// Output only. The recommendation for the constrained budget to increase. #[prost(message, optional, tag="2")] pub budget_recommendation: ::core::option::Option, } - /// The Target ROAS opt-in recommendation. + /// The Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInRecommendation { - /// Output only. The recommended target ROAS (revenue per unit of spend). - /// The value is between 0.01 and 1000.0, inclusive. + /// Output only. The recommended target ROAS (revenue per unit of spend). + /// The value is between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="1")] pub recommended_target_roas: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target ROAS. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target ROAS. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="2")] pub required_campaign_budget_amount_micros: ::core::option::Option, } - /// The add responsive search ad asset recommendation. + /// The add responsive search ad asset recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdAssetRecommendation { - /// Output only. The current ad to be updated. + /// Output only. The current ad to be updated. #[prost(message, optional, tag="1")] pub current_ad: ::core::option::Option, - /// Output only. The recommended assets. This is populated only with the new headlines - /// and/or descriptions, and is otherwise empty. + /// Output only. The recommended assets. This is populated only with the new headlines + /// and/or descriptions, and is otherwise empty. #[prost(message, optional, tag="2")] pub recommended_assets: ::core::option::Option, } - /// The responsive search ad improve ad strength recommendation. + /// The responsive search ad improve ad strength recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdImproveAdStrengthRecommendation { - /// Output only. The current ad to be updated. + /// Output only. The current ad to be updated. #[prost(message, optional, tag="1")] pub current_ad: ::core::option::Option, - /// Output only. The updated ad. + /// Output only. The updated ad. #[prost(message, optional, tag="2")] pub recommended_ad: ::core::option::Option, } - /// The add responsive search ad recommendation. + /// The add responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// The use broad match keyword recommendation. + /// The use broad match keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UseBroadMatchKeywordRecommendation { - /// Output only. Sample of keywords to be expanded to Broad Match. + /// Output only. Sample of keywords to be expanded to Broad Match. #[prost(message, repeated, tag="1")] pub keyword: ::prost::alloc::vec::Vec, - /// Output only. Total number of keywords to be expanded to Broad Match in the campaign. + /// Output only. Total number of keywords to be expanded to Broad Match in the campaign. #[prost(int64, tag="2")] pub suggested_keywords_count: i64, - /// Output only. Total number of keywords in the campaign. + /// Output only. Total number of keywords in the campaign. #[prost(int64, tag="3")] pub campaign_keywords_count: i64, - /// Output only. Whether the associated campaign uses a shared budget. + /// Output only. Whether the associated campaign uses a shared budget. #[prost(bool, tag="4")] pub campaign_uses_shared_budget: bool, - /// Output only. The budget recommended to avoid becoming budget constrained after - /// applying the recommendation. + /// Output only. The budget recommended to avoid becoming budget constrained after + /// applying the recommendation. #[prost(int64, tag="5")] pub required_campaign_budget_amount_micros: i64, } - /// The upgrade a Smart Shopping campaign to a Performance Max campaign - /// recommendation. + /// The upgrade a Smart Shopping campaign to a Performance Max campaign + /// recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation { - /// Output only. ID of Merchant Center account. + /// Output only. ID of Merchant Center account. #[prost(int64, tag="1")] pub merchant_id: i64, - /// Output only. Country whose products from merchant's inventory should be included. + /// Output only. Country whose products from merchant's inventory should be included. #[prost(string, tag="2")] pub sales_country_code: ::prost::alloc::string::String, } - /// The Display Expansion opt-in recommendation. + /// The Display Expansion opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayExpansionOptInRecommendation { } - /// The Upgrade Local campaign to Performance Max campaign recommendation. + /// The Upgrade Local campaign to Performance Max campaign recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpgradeLocalCampaignToPerformanceMaxRecommendation { } - /// The details of recommendation. + /// The details of recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Recommendation { - /// Output only. The campaign budget recommendation. + /// Output only. The campaign budget recommendation. #[prost(message, tag="4")] CampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The forecasting campaign budget recommendation. + /// Output only. The forecasting campaign budget recommendation. #[prost(message, tag="22")] ForecastingCampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The keyword recommendation. + /// Output only. The keyword recommendation. #[prost(message, tag="8")] KeywordRecommendation(KeywordRecommendation), - /// Output only. Add expanded text ad recommendation. + /// Output only. Add expanded text ad recommendation. #[prost(message, tag="9")] TextAdRecommendation(TextAdRecommendation), - /// Output only. The TargetCPA opt-in recommendation. + /// Output only. The TargetCPA opt-in recommendation. #[prost(message, tag="10")] TargetCpaOptInRecommendation(TargetCpaOptInRecommendation), - /// Output only. The MaximizeConversions Opt-In recommendation. + /// Output only. The MaximizeConversions Opt-In recommendation. #[prost(message, tag="11")] MaximizeConversionsOptInRecommendation(MaximizeConversionsOptInRecommendation), - /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. #[prost(message, tag="12")] EnhancedCpcOptInRecommendation(EnhancedCpcOptInRecommendation), - /// Output only. The Search Partners Opt-In recommendation. + /// Output only. The Search Partners Opt-In recommendation. #[prost(message, tag="14")] SearchPartnersOptInRecommendation(SearchPartnersOptInRecommendation), - /// Output only. The MaximizeClicks Opt-In recommendation. + /// Output only. The MaximizeClicks Opt-In recommendation. #[prost(message, tag="15")] MaximizeClicksOptInRecommendation(MaximizeClicksOptInRecommendation), - /// Output only. The Optimize Ad Rotation recommendation. + /// Output only. The Optimize Ad Rotation recommendation. #[prost(message, tag="16")] OptimizeAdRotationRecommendation(OptimizeAdRotationRecommendation), - /// Output only. The Callout extension recommendation. + /// Output only. The Callout extension recommendation. #[prost(message, tag="17")] CalloutExtensionRecommendation(CalloutExtensionRecommendation), - /// Output only. The Sitelink extension recommendation. + /// Output only. The Sitelink extension recommendation. #[prost(message, tag="18")] SitelinkExtensionRecommendation(SitelinkExtensionRecommendation), - /// Output only. The Call extension recommendation. + /// Output only. The Call extension recommendation. #[prost(message, tag="19")] CallExtensionRecommendation(CallExtensionRecommendation), - /// Output only. The keyword match type recommendation. + /// Output only. The keyword match type recommendation. #[prost(message, tag="20")] KeywordMatchTypeRecommendation(KeywordMatchTypeRecommendation), - /// Output only. The move unused budget recommendation. + /// Output only. The move unused budget recommendation. #[prost(message, tag="21")] MoveUnusedBudgetRecommendation(MoveUnusedBudgetRecommendation), - /// Output only. The Target ROAS opt-in recommendation. + /// Output only. The Target ROAS opt-in recommendation. #[prost(message, tag="23")] TargetRoasOptInRecommendation(TargetRoasOptInRecommendation), - /// Output only. The add responsive search ad recommendation. + /// Output only. The add responsive search ad recommendation. #[prost(message, tag="28")] ResponsiveSearchAdRecommendation(ResponsiveSearchAdRecommendation), - /// Output only. The marginal ROI campaign budget recommendation. + /// Output only. The marginal ROI campaign budget recommendation. #[prost(message, tag="29")] MarginalRoiCampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The use broad match keyword recommendation. + /// Output only. The use broad match keyword recommendation. #[prost(message, tag="30")] UseBroadMatchKeywordRecommendation(UseBroadMatchKeywordRecommendation), - /// Output only. The responsive search ad asset recommendation. + /// Output only. The responsive search ad asset recommendation. #[prost(message, tag="31")] ResponsiveSearchAdAssetRecommendation(ResponsiveSearchAdAssetRecommendation), - /// Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign - /// recommendation. + /// Output only. The upgrade a Smart Shopping campaign to a Performance Max campaign + /// recommendation. #[prost(message, tag="32")] UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation(UpgradeSmartShoppingCampaignToPerformanceMaxRecommendation), - /// Output only. The responsive search ad improve ad strength recommendation. + /// Output only. The responsive search ad improve ad strength recommendation. #[prost(message, tag="33")] ResponsiveSearchAdImproveAdStrengthRecommendation(ResponsiveSearchAdImproveAdStrengthRecommendation), - /// Output only. The Display Expansion opt-in recommendation. + /// Output only. The Display Expansion opt-in recommendation. #[prost(message, tag="34")] DisplayExpansionOptInRecommendation(DisplayExpansionOptInRecommendation), - /// Output only. The upgrade a Local campaign to a Performance Max campaign - /// recommendation. + /// Output only. The upgrade a Local campaign to a Performance Max campaign + /// recommendation. #[prost(message, tag="35")] UpgradeLocalCampaignToPerformanceMaxRecommendation(UpgradeLocalCampaignToPerformanceMaxRecommendation), } } -// Proto file describing the Remarketing Action resource. +// Proto file describing the Remarketing Action resource. -/// A remarketing action. A snippet of JavaScript code that will collect the -/// product id and the type of page people visited (product page, shopping cart -/// page, purchase page, general site visit) on an advertiser's website. +/// A remarketing action. A snippet of JavaScript code that will collect the +/// product id and the type of page people visited (product page, shopping cart +/// page, purchase page, general site visit) on an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingAction { - /// Immutable. The resource name of the remarketing action. - /// Remarketing action resource names have the form: + /// Immutable. The resource name of the remarketing action. + /// Remarketing action resource names have the form: /// - /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the remarketing action. + /// Output only. Id of the remarketing action. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the remarketing action. + /// The name of the remarketing action. /// - /// This field is required and should not be empty when creating new - /// remarketing actions. + /// This field is required and should not be empty when creating new + /// remarketing actions. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The snippets used for tracking remarketing actions. + /// Output only. The snippets used for tracking remarketing actions. #[prost(message, repeated, tag="4")] pub tag_snippets: ::prost::alloc::vec::Vec, } -// Proto file describing the SearchTermView resource. +// Proto file describing the SearchTermView resource. -/// A search term view with metrics aggregated by search term at the ad group -/// level. +/// A search term view with metrics aggregated by search term at the ad group +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="5")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group the search term served in. + /// Output only. The ad group the search term served in. #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Indicates whether the search term is currently one of your - /// targeted or excluded keywords. + /// Output only. Indicates whether the search term is currently one of your + /// targeted or excluded keywords. #[prost(enumeration="super::enums::search_term_targeting_status_enum::SearchTermTargetingStatus", tag="4")] pub status: i32, } -// Proto file describing the SharedCriterion resource. +// Proto file describing the SharedCriterion resource. -/// A criterion belonging to a shared set. +/// A criterion belonging to a shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterion { - /// Immutable. The resource name of the shared criterion. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared criterion. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The shared set to which the shared criterion belongs. + /// Immutable. The shared set to which the shared criterion belongs. #[prost(string, optional, tag="10")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="11")] pub criterion_id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="4")] pub r#type: i32, - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="shared_criterion::Criterion", tags="3, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `SharedCriterion`. pub mod shared_criterion { - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="3")] Keyword(super::super::common::KeywordInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="5")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="6")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile App Category. + /// Immutable. Mobile App Category. #[prost(message, tag="8")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="9")] MobileApplication(super::super::common::MobileApplicationInfo), } } -// Proto file describing the SharedSet resource. +// Proto file describing the SharedSet resource. -/// SharedSets are used for sharing criterion exclusions across multiple -/// campaigns. +/// SharedSets are used for sharing criterion exclusions across multiple +/// campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSet { - /// Immutable. The resource name of the shared set. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared set. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this shared set. Read only. + /// Output only. The ID of this shared set. Read only. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Immutable. The type of this shared set: each shared set holds only a single kind - /// of resource. Required. Immutable. + /// Immutable. The type of this shared set: each shared set holds only a single kind + /// of resource. Required. Immutable. #[prost(enumeration="super::enums::shared_set_type_enum::SharedSetType", tag="3")] pub r#type: i32, - /// The name of this shared set. Required. - /// Shared Sets must have names that are unique among active shared sets of - /// the same type. - /// The length of this string should be between 1 and 255 UTF-8 bytes, - /// inclusive. + /// The name of this shared set. Required. + /// Shared Sets must have names that are unique among active shared sets of + /// the same type. + /// The length of this string should be between 1 and 255 UTF-8 bytes, + /// inclusive. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this shared set. Read only. + /// Output only. The status of this shared set. Read only. #[prost(enumeration="super::enums::shared_set_status_enum::SharedSetStatus", tag="5")] pub status: i32, - /// Output only. The number of shared criteria within this shared set. Read only. + /// Output only. The number of shared criteria within this shared set. Read only. #[prost(int64, optional, tag="10")] pub member_count: ::core::option::Option, - /// Output only. The number of campaigns associated with this shared set. Read only. + /// Output only. The number of campaigns associated with this shared set. Read only. #[prost(int64, optional, tag="11")] pub reference_count: ::core::option::Option, } -// Proto file describing the ShoppingPerformanceView resource. +// Proto file describing the ShoppingPerformanceView resource. -/// Shopping performance view. -/// Provides Shopping campaign statistics aggregated at several product dimension -/// levels. Product dimension values from Merchant Center such as brand, -/// category, custom attributes, product condition and product type will reflect -/// the state of each dimension as of the date and time when the corresponding -/// event was recorded. +/// Shopping performance view. +/// Provides Shopping campaign statistics aggregated at several product dimension +/// levels. Product dimension values from Merchant Center such as brand, +/// category, custom attributes, product condition and product type will reflect +/// the state of each dimension as of the date and time when the corresponding +/// event was recorded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingPerformanceView { - /// Output only. The resource name of the Shopping performance view. - /// Shopping performance view resource names have the form: - /// `customers/{customer_id}/shoppingPerformanceView` + /// Output only. The resource name of the Shopping performance view. + /// Shopping performance view resource names have the form: + /// `customers/{customer_id}/shoppingPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the SmartCampaignSearchTermView resource. +// Proto file describing the SmartCampaignSearchTermView resource. -/// A Smart campaign search term view. +/// A Smart campaign search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSearchTermView { - /// Output only. The resource name of the Smart campaign search term view. - /// Smart campaign search term view resource names have the form: + /// Output only. The resource name of the Smart campaign search term view. + /// Smart campaign search term view resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, tag="2")] pub search_term: ::prost::alloc::string::String, - /// Output only. The Smart campaign the search term served in. + /// Output only. The Smart campaign the search term served in. #[prost(string, tag="3")] pub campaign: ::prost::alloc::string::String, } -// Proto file describing the Smart campaign setting resource. +// Proto file describing the Smart campaign setting resource. -/// Settings for configuring Smart campaigns. +/// Settings for configuring Smart campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSetting { - /// Immutable. The resource name of the Smart campaign setting. - /// Smart campaign setting resource names have the form: + /// Immutable. The resource name of the Smart campaign setting. + /// Smart campaign setting resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which these settings apply. + /// Output only. The campaign to which these settings apply. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Phone number and country code. + /// Phone number and country code. #[prost(message, optional, tag="3")] pub phone_number: ::core::option::Option, - /// The ISO-639-1 language code to advertise in. + /// The ISO-639-1 language code to advertise in. #[prost(string, tag="7")] pub advertising_language_code: ::prost::alloc::string::String, - /// The landing page of this campaign. + /// The landing page of this campaign. #[prost(oneof="smart_campaign_setting::LandingPage", tags="8, 9")] pub landing_page: ::core::option::Option, - /// The business setting of this campaign. + /// The business setting of this campaign. #[prost(oneof="smart_campaign_setting::BusinessSetting", tags="5, 10")] pub business_setting: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSetting`. pub mod smart_campaign_setting { - /// Phone number and country code in smart campaign settings. + /// Phone number and country code in smart campaign settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhoneNumber { - /// Phone number of the smart campaign. + /// Phone number of the smart campaign. #[prost(string, optional, tag="1")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Upper-case, two-letter country code as defined by ISO-3166. + /// Upper-case, two-letter country code as defined by ISO-3166. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } - /// Settings for configuring a business profile optimized for ads as this - /// campaign's landing page. + /// Settings for configuring a business profile optimized for ads as this + /// campaign's landing page. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdOptimizedBusinessProfileSetting { - /// Enabling a lead form on your business profile enables prospective - /// customers to contact your business by filling out a simple form, - /// and you'll receive their information through email. + /// Enabling a lead form on your business profile enables prospective + /// customers to contact your business by filling out a simple form, + /// and you'll receive their information through email. #[prost(bool, tag="1")] pub include_lead_form: bool, } - /// The landing page of this campaign. + /// The landing page of this campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LandingPage { - /// The user-provided landing page URL for this Campaign. + /// The user-provided landing page URL for this Campaign. #[prost(string, tag="8")] FinalUrl(::prost::alloc::string::String), - /// Settings for configuring a business profile optimized for ads as this - /// campaign's landing page. This campaign must be linked to a business - /// profile to use this option. For more information on this feature, - /// consult + /// Settings for configuring a business profile optimized for ads as this + /// campaign's landing page. This campaign must be linked to a business + /// profile to use this option. For more information on this feature, + /// consult #[prost(message, tag="9")] AdOptimizedBusinessProfileSetting(AdOptimizedBusinessProfileSetting), } - /// The business setting of this campaign. + /// The business setting of this campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// The name of the business. + /// The name of the business. #[prost(string, tag="5")] BusinessName(::prost::alloc::string::String), - /// The resource name of a Business Profile location. - /// Business Profile location resource names can be fetched through the - /// Business Profile API and adhere to the following format: - /// `locations/{locationId}`. + /// The resource name of a Business Profile location. + /// Business Profile location resource names can be fetched through the + /// Business Profile API and adhere to the following format: + /// `locations/{locationId}`. /// - /// See the [Business Profile API] - /// () - /// for additional details. + /// See the [Business Profile API] + /// () + /// for additional details. #[prost(string, tag="10")] BusinessProfileLocation(::prost::alloc::string::String), } } -/// A data sharing connection, allowing the import of third party app analytics -/// into a Google Ads Customer. +/// A data sharing connection, allowing the import of third party app analytics +/// into a Google Ads Customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLink { - /// Immutable. The resource name of the third party app analytics link. - /// Third party app analytics link resource names have the form: + /// Immutable. The resource name of the third party app analytics link. + /// Third party app analytics link resource names have the form: /// - /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The shareable link ID that should be provided to the third party when - /// setting up app analytics. This is able to be regenerated using regenerate - /// method in the ThirdPartyAppAnalyticsLinkService. + /// Output only. The shareable link ID that should be provided to the third party when + /// setting up app analytics. This is able to be regenerated using regenerate + /// method in the ThirdPartyAppAnalyticsLinkService. #[prost(string, optional, tag="3")] pub shareable_link_id: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Topic Constant resource. +// Proto file describing the Topic Constant resource. -/// Use topics to target or exclude placements in the Google Display Network -/// based on the category into which the placement falls (for example, -/// "Pets & Animals/Pets/Dogs"). +/// Use topics to target or exclude placements in the Google Display Network +/// based on the category into which the placement falls (for example, +/// "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicConstant { - /// Output only. The resource name of the topic constant. - /// topic constant resource names have the form: + /// Output only. The resource name of the topic constant. + /// topic constant resource names have the form: /// - /// `topicConstants/{topic_id}` + /// `topicConstants/{topic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the topic. + /// Output only. The ID of the topic. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. Resource name of parent of the topic constant. + /// Output only. Resource name of parent of the topic constant. #[prost(string, optional, tag="6")] pub topic_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// {"Pets & Animals", "Pets", "Dogs"} represents the - /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at - /// + /// Output only. The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// {"Pets & Animals", "Pets", "Dogs"} represents the + /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at + /// #[prost(string, repeated, tag="7")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the topic view resource. +// Proto file describing the topic view resource. -/// A topic view. +/// A topic view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicView { - /// Output only. The resource name of the topic view. - /// Topic view resource names have the form: + /// Output only. The resource name of the topic view. + /// Topic view resource names have the form: /// - /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the User Interest resource. +// Proto file describing the User Interest resource. -/// A user interest: a particular interest-based vertical to be targeted. +/// A user interest: a particular interest-based vertical to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterest { - /// Output only. The resource name of the user interest. - /// User interest resource names have the form: + /// Output only. The resource name of the user interest. + /// User interest resource names have the form: /// - /// `customers/{customer_id}/userInterests/{user_interest_id}` + /// `customers/{customer_id}/userInterests/{user_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Taxonomy type of the user interest. + /// Output only. Taxonomy type of the user interest. #[prost(enumeration="super::enums::user_interest_taxonomy_type_enum::UserInterestTaxonomyType", tag="2")] pub taxonomy_type: i32, - /// Output only. The ID of the user interest. + /// Output only. The ID of the user interest. #[prost(int64, optional, tag="8")] pub user_interest_id: ::core::option::Option, - /// Output only. The name of the user interest. + /// Output only. The name of the user interest. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The parent of the user interest. + /// Output only. The parent of the user interest. #[prost(string, optional, tag="10")] pub user_interest_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if the user interest is launched to all channels and locales. + /// Output only. True if the user interest is launched to all channels and locales. #[prost(bool, optional, tag="11")] pub launched_to_all: ::core::option::Option, - /// Output only. Availability information of the user interest. + /// Output only. Availability information of the user interest. #[prost(message, repeated, tag="7")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the User List resource. +// Proto file describing the User List resource. -/// A user list. This is a list of users a customer may target. +/// A user list. This is a list of users a customer may target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserList { - /// Immutable. The resource name of the user list. - /// User list resource names have the form: + /// Immutable. The resource name of the user list. + /// User list resource names have the form: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the user list. + /// Output only. Id of the user list. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. An option that indicates if a user may edit a list. Depends on the list - /// ownership and list type. For example, external remarketing user lists are - /// not editable. + /// Output only. An option that indicates if a user may edit a list. Depends on the list + /// ownership and list type. For example, external remarketing user lists are + /// not editable. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="26")] pub read_only: ::core::option::Option, - /// Name of this user list. Depending on its access_reason, the user list name - /// may not be unique (for example, if access_reason=SHARED) + /// Name of this user list. Depending on its access_reason, the user list name + /// may not be unique (for example, if access_reason=SHARED) #[prost(string, optional, tag="27")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Description of this user list. + /// Description of this user list. #[prost(string, optional, tag="28")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Membership status of this user list. Indicates whether a user list is open - /// or active. Only open user lists can accumulate more users and can be - /// targeted to. + /// Membership status of this user list. Indicates whether a user list is open + /// or active. Only open user lists can accumulate more users and can be + /// targeted to. #[prost(enumeration="super::enums::user_list_membership_status_enum::UserListMembershipStatus", tag="6")] pub membership_status: i32, - /// An ID from external system. It is used by user list sellers to correlate - /// IDs on their systems. + /// An ID from external system. It is used by user list sellers to correlate + /// IDs on their systems. #[prost(string, optional, tag="29")] pub integration_code: ::core::option::Option<::prost::alloc::string::String>, - /// Number of days a user's cookie stays on your list since its most recent - /// addition to the list. This field must be between 0 and 540 inclusive. - /// However, for CRM based userlists, this field can be set to 10000 which - /// means no expiration. + /// Number of days a user's cookie stays on your list since its most recent + /// addition to the list. This field must be between 0 and 540 inclusive. + /// However, for CRM based userlists, this field can be set to 10000 which + /// means no expiration. /// - /// It'll be ignored for logical_user_list. + /// It'll be ignored for logical_user_list. #[prost(int64, optional, tag="30")] pub membership_life_span: ::core::option::Option, - /// Output only. Estimated number of users in this user list, on the Google Display Network. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list, on the Google Display Network. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="31")] pub size_for_display: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, on the Google - /// Display Network. + /// Output only. Size range in terms of number of users of the UserList, on the Google + /// Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="10")] pub size_range_for_display: i32, - /// Output only. Estimated number of users in this user list in the google.com domain. - /// These are the users available for targeting in Search campaigns. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list in the google.com domain. + /// These are the users available for targeting in Search campaigns. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="32")] pub size_for_search: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, for Search ads. + /// Output only. Size range in terms of number of users of the UserList, for Search ads. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="12")] pub size_range_for_search: i32, - /// Output only. Type of this list. + /// Output only. Type of this list. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_type_enum::UserListType", tag="13")] pub r#type: i32, - /// Indicating the reason why this user list membership status is closed. It is - /// only populated on lists that were automatically closed due to inactivity, - /// and will be cleared once the list membership status becomes open. + /// Indicating the reason why this user list membership status is closed. It is + /// only populated on lists that were automatically closed due to inactivity, + /// and will be cleared once the list membership status becomes open. #[prost(enumeration="super::enums::user_list_closing_reason_enum::UserListClosingReason", tag="14")] pub closing_reason: i32, - /// Output only. Indicates the reason this account has been granted access to the list. - /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. + /// Output only. Indicates the reason this account has been granted access to the list. + /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::access_reason_enum::AccessReason", tag="15")] pub access_reason: i32, - /// Indicates if this share is still enabled. When a UserList is shared with - /// the user this field is set to ENABLED. Later the userList owner can decide - /// to revoke the share and make it DISABLED. - /// The default value of this field is set to ENABLED. + /// Indicates if this share is still enabled. When a UserList is shared with + /// the user this field is set to ENABLED. Later the userList owner can decide + /// to revoke the share and make it DISABLED. + /// The default value of this field is set to ENABLED. #[prost(enumeration="super::enums::user_list_access_status_enum::UserListAccessStatus", tag="16")] pub account_user_list_status: i32, - /// Indicates if this user list is eligible for Google Search Network. + /// Indicates if this user list is eligible for Google Search Network. #[prost(bool, optional, tag="33")] pub eligible_for_search: ::core::option::Option, - /// Output only. Indicates this user list is eligible for Google Display Network. + /// Output only. Indicates this user list is eligible for Google Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="34")] pub eligible_for_display: ::core::option::Option, - /// Output only. Indicates match rate for Customer Match lists. The range of this field is - /// \[0-100\]. This will be null for other list types or when it's not possible - /// to calculate the match rate. + /// Output only. Indicates match rate for Customer Match lists. The range of this field is + /// \[0-100\]. This will be null for other list types or when it's not possible + /// to calculate the match rate. /// - /// This field is read-only. + /// This field is read-only. #[prost(int32, optional, tag="24")] pub match_rate_percentage: ::core::option::Option, - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="user_list::UserList", tags="19, 20, 21, 22, 23")] pub user_list: ::core::option::Option, } /// Nested message and enum types in `UserList`. pub mod user_list { - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserList { - /// User list of CRM users provided by the advertiser. + /// User list of CRM users provided by the advertiser. #[prost(message, tag="19")] CrmBasedUserList(super::super::common::CrmBasedUserListInfo), - /// Output only. User list which are similar to users from another UserList. - /// These lists are readonly and automatically created by google. + /// Output only. User list which are similar to users from another UserList. + /// These lists are readonly and automatically created by google. #[prost(message, tag="20")] SimilarUserList(super::super::common::SimilarUserListInfo), - /// User list generated by a rule. + /// User list generated by a rule. #[prost(message, tag="21")] RuleBasedUserList(super::super::common::RuleBasedUserListInfo), - /// User list that is a custom combination of user lists and user interests. + /// User list that is a custom combination of user lists and user interests. #[prost(message, tag="22")] LogicalUserList(super::super::common::LogicalUserListInfo), - /// User list targeting as a collection of conversion or remarketing actions. + /// User list targeting as a collection of conversion or remarketing actions. #[prost(message, tag="23")] BasicUserList(super::super::common::BasicUserListInfo), } } -// Proto file describing the user location view resource. +// Proto file describing the user location view resource. -/// A user location view. +/// A user location view. /// -/// User Location View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at the actual physical location of -/// the user by targeted or not targeted location. If other segment fields are -/// used, you may get more than one row per country. +/// User Location View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at the actual physical location of +/// the user by targeted or not targeted location. If other segment fields are +/// used, you may get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLocationView { - /// Output only. The resource name of the user location view. - /// UserLocation view resource names have the form: + /// Output only. The resource name of the user location view. + /// UserLocation view resource names have the form: /// - /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="4")] pub country_criterion_id: ::core::option::Option, - /// Output only. Indicates whether location was targeted or not. + /// Output only. Indicates whether location was targeted or not. #[prost(bool, optional, tag="5")] pub targeting_location: ::core::option::Option, } -// Proto file describing the video resource. +// Proto file describing the video resource. -/// A video. +/// A video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Video { - /// Output only. The resource name of the video. - /// Video resource names have the form: + /// Output only. The resource name of the video. + /// Video resource names have the form: /// - /// `customers/{customer_id}/videos/{video_id}` + /// `customers/{customer_id}/videos/{video_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the video. + /// Output only. The ID of the video. #[prost(string, optional, tag="6")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The owner channel id of the video. + /// Output only. The owner channel id of the video. #[prost(string, optional, tag="7")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The duration of the video in milliseconds. + /// Output only. The duration of the video in milliseconds. #[prost(int64, optional, tag="8")] pub duration_millis: ::core::option::Option, - /// Output only. The title of the video. + /// Output only. The title of the video. #[prost(string, optional, tag="9")] pub title: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the webpage view resource. +// Proto file describing the webpage view resource. -/// A webpage view. +/// A webpage view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageView { - /// Output only. The resource name of the webpage view. - /// Webpage view resource names have the form: + /// Output only. The resource name of the webpage view. + /// Webpage view resource names have the form: /// - /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v11.services.rs b/gcloud-sdk/genproto/google.ads.googleads.v11.services.rs index 3b11a6ceb..0a360095f 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v11.services.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v11.services.rs @@ -1,65 +1,65 @@ -/// Request message for -/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. +/// Request message for +/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v11.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual account-level budget proposal. + /// Required. The operation to perform on an individual account-level budget proposal. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation to propose the creation of a new account-level budget or -/// edit/end/remove an existing one. +/// A single operation to propose the creation of a new account-level budget or +/// edit/end/remove an existing one. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalOperation { - /// FieldMask that determines which budget fields are modified. While budgets - /// may be modified, proposals that propose such modifications are final. - /// Therefore, update operations are not supported for proposals. + /// FieldMask that determines which budget fields are modified. While budgets + /// may be modified, proposals that propose such modifications are final. + /// Therefore, update operations are not supported for proposals. /// - /// Proposals that modify budgets have the 'update' proposal type. Specifying - /// a mask for any other proposal type is considered an error. + /// Proposals that modify budgets have the 'update' proposal type. Specifying + /// a mask for any other proposal type is considered an error. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="account_budget_proposal_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposalOperation`. pub mod account_budget_proposal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: A new proposal to create a new budget, edit an - /// existing budget, end an actively running budget, or remove an approved - /// budget scheduled to start in the future. - /// No resource name is expected for the new proposal. + /// Create operation: A new proposal to create a new budget, edit an + /// existing budget, end an actively running budget, or remove an approved + /// budget scheduled to start in the future. + /// No resource name is expected for the new proposal. #[prost(message, tag="2")] Create(super::super::resources::AccountBudgetProposal), - /// Remove operation: A resource name for the removed proposal is expected, - /// in this format: + /// Remove operation: A resource name for the removed proposal is expected, + /// in this format: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - /// A request may be cancelled iff it is pending. + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// A request may be cancelled iff it is pending. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for account-level budget mutate operations. +/// Response message for account-level budget mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResponse { - /// The result of the mutate. + /// The result of the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the account budget proposal mutate. +/// The result for the account budget proposal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -184,89 +184,89 @@ pub mod account_budget_proposal_service_client { } } } -/// Request message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink\]. +/// Request message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkRequest { - /// Required. The ID of the customer for which the account link is created. + /// Required. The ID of the customer for which the account link is created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The account link to be created. + /// Required. The account link to be created. #[prost(message, optional, tag="2")] pub account_link: ::core::option::Option, } -/// Response message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink\]. +/// Response message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v11.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkResponse { - /// Returned for successful operations. Resource name of the account link. + /// Returned for successful operations. Resource name of the account link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink\]. +/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v11.services.AccountLinkService.MutateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link. + /// Required. The operation to perform on the link. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single update on an account link. +/// A single update on an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform. + /// The operation to perform. #[prost(oneof="account_link_operation::Operation", tags="2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountLinkOperation`. pub mod account_link_operation { - /// The operation to perform. + /// The operation to perform. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The account link is expected to have - /// a valid resource name. + /// Update operation: The account link is expected to have + /// a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AccountLink), - /// Remove operation: A resource name for the account link to remove is - /// expected, in this format: + /// Remove operation: A resource name for the account link to remove is + /// expected, in this format: /// - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for account link mutate. +/// Response message for account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the account link mutate. +/// The result for the account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -409,67 +409,67 @@ pub mod account_link_service_client { } } } -/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. +/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v11.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsRequest { - /// Required. ID of the customer whose ad group ad labels are being modified. + /// Required. ID of the customer whose ad group ad labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group ad labels. + /// Required. The list of operations to perform on ad group ad labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group ad label. +/// A single operation (create, remove) on an ad group ad label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdLabelOperation`. pub mod ad_group_ad_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group ad - /// label. + /// Create operation: No resource name is expected for the new ad group ad + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAdLabel), - /// Remove operation: A resource name for the ad group ad label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group ad label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}` + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}_{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad labels mutate. +/// Response message for an ad group ad labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group ad label mutate. +/// The result for an ad group ad label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -581,84 +581,84 @@ pub mod ad_group_ad_label_service_client { } } } -/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds\]. +/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v11.services.AdGroupAdService.MutateAdGroupAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group ad. +/// A single operation (create, update, remove) on an ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="5")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdOperation`. pub mod ad_group_ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad. + /// Create operation: No resource name is expected for the new ad. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAd), - /// Update operation: The ad is expected to have a valid resource name. + /// Update operation: The ad is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupAd), - /// Remove operation: A resource name for the removed ad is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad mutate. +/// Response message for an ad group ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group ad with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group ad with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_ad: ::core::option::Option, } @@ -799,83 +799,83 @@ pub mod ad_group_ad_service_client { } } } -/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets\]. +/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v11.services.AdGroupAssetService.MutateAdGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsRequest { - /// Required. The ID of the customer whose ad group assets are being modified. + /// Required. The ID of the customer whose ad group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group assets. + /// Required. The list of operations to perform on individual ad group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group asset. +/// A single operation (create, update, remove) on an ad group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAssetOperation`. pub mod ad_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// asset. + /// Create operation: No resource name is expected for the new ad group + /// asset. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAsset), - /// Update operation: The ad group asset is expected to have a valid resource - /// name. + /// Update operation: The ad group asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::AdGroupAsset), - /// Remove operation: A resource name for the removed ad group asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group asset is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group asset mutate. +/// Response message for an ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group asset mutate. +/// The result for the ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ad group asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_asset: ::core::option::Option, } @@ -985,83 +985,83 @@ pub mod ad_group_asset_service_client { } } } -/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. +/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v11.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersRequest { - /// Required. ID of the customer whose ad group bid modifiers are being modified. + /// Required. ID of the customer whose ad group bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group bid modifiers. + /// Required. The list of operations to perform on individual ad group bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group bid modifier. +/// A single operation (create, remove, update) on an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifierOperation`. pub mod ad_group_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group bid - /// modifier. + /// Create operation: No resource name is expected for the new ad group bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::AdGroupBidModifier), - /// Update operation: The ad group bid modifier is expected to have a valid - /// resource name. + /// Update operation: The ad group bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupBidModifier), - /// Remove operation: A resource name for the removed ad group bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed ad group bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for ad group bid modifiers mutate. +/// Response message for ad group bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_bid_modifier: ::core::option::Option, } @@ -1188,79 +1188,79 @@ pub mod ad_group_bid_modifier_service_client { } } } -/// Request message for -/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. +/// Request message for +/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v11.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersRequest { - /// Required. The ID of the customer whose ad group criterion customizers are being - /// modified. + /// Required. The ID of the customer whose ad group criterion customizers are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group criterion - /// customizers. + /// Required. The list of operations to perform on individual ad group criterion + /// customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionCustomizerOperation`. pub mod ad_group_criterion_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// criterion customizer. + /// Create operation: No resource name is expected for the new ad group + /// criterion customizer. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionCustomizer), - /// Remove operation: A resource name for the removed ad group criterion - /// customizer is expected, in this format: + /// Remove operation: A resource name for the removed ad group criterion + /// customizer is expected, in this format: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion customizer mutate. +/// Response message for an ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group criterion customizer mutate. +/// The result for the ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCriterionCustomizer with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AdGroupCriterionCustomizer with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion_customizer: ::core::option::Option, } @@ -1364,68 +1364,68 @@ pub mod ad_group_criterion_customizer_service_client { } } } -/// Request message for -/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. +/// Request message for +/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v11.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsRequest { - /// Required. ID of the customer whose ad group criterion labels are being modified. + /// Required. ID of the customer whose ad group criterion labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group criterion labels. + /// Required. The list of operations to perform on ad group criterion labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group criterion label. +/// A single operation (create, remove) on an ad group criterion label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionLabelOperation`. pub mod ad_group_criterion_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionLabel), - /// Remove operation: A resource name for the ad group criterion label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group criterion label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion labels mutate. +/// Response message for an ad group criterion labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group criterion label mutate. +/// The result for an ad group criterion label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -1537,93 +1537,93 @@ pub mod ad_group_criterion_label_service_client { } } } -/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria\]. +/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v11.services.AdGroupCriterionService.MutateAdGroupCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaRequest { - /// Required. ID of the customer whose criteria are being modified. + /// Required. ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group criterion. +/// A single operation (create, remove, update) on an ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="5")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionOperation`. pub mod ad_group_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion mutate. +/// Response message for an ad group criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion: ::core::option::Option, } @@ -1759,76 +1759,76 @@ pub mod ad_group_criterion_service_client { } } } -/// Request message for -/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. +/// Request message for +/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v11.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersRequest { - /// Required. The ID of the customer whose ad group customizers are being modified. + /// Required. The ID of the customer whose ad group customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group customizers. + /// Required. The list of operations to perform on individual ad group customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCustomizerOperation`. pub mod ad_group_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// customizer + /// Create operation: No resource name is expected for the new ad group + /// customizer #[prost(message, tag="1")] Create(super::super::resources::AdGroupCustomizer), - /// Remove operation: A resource name for the removed ad group customizer is - /// expected, in this format: - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed ad group customizer is + /// expected, in this format: + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group customizer mutate. +/// Response message for an ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group customizer mutate. +/// The result for the ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_customizer: ::core::option::Option, } @@ -1930,86 +1930,86 @@ pub mod ad_group_customizer_service_client { } } } -/// Request message for -/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. +/// Request message for +/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v11.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsRequest { - /// Required. The ID of the customer whose ad group extension settings are being - /// modified. + /// Required. The ID of the customer whose ad group extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group extension - /// settings. + /// Required. The list of operations to perform on individual ad group extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on an ad group extension setting. +/// A single operation (create, update, remove) on an ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupExtensionSettingOperation`. pub mod ad_group_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// extension setting. + /// Create operation: No resource name is expected for the new ad group + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::AdGroupExtensionSetting), - /// Update operation: The ad group extension setting is expected to have a - /// valid resource name. + /// Update operation: The ad group extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupExtensionSetting), - /// Remove operation: A resource name for the removed ad group extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed ad group extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group extension setting mutate. +/// Response message for an ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group extension setting mutate. +/// The result for the ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_extension_setting: ::core::option::Option, } @@ -2143,82 +2143,82 @@ pub mod ad_group_extension_setting_service_client { } } } -/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds\]. +/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v11.services.AdGroupFeedService.MutateAdGroupFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsRequest { - /// Required. The ID of the customer whose ad group feeds are being modified. + /// Required. The ID of the customer whose ad group feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group feeds. + /// Required. The list of operations to perform on individual ad group feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group feed. +/// A single operation (create, update, remove) on an ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupFeedOperation`. pub mod ad_group_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group feed. + /// Create operation: No resource name is expected for the new ad group feed. #[prost(message, tag="1")] Create(super::super::resources::AdGroupFeed), - /// Update operation: The ad group feed is expected to have a valid resource - /// name. + /// Update operation: The ad group feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupFeed), - /// Remove operation: A resource name for the removed ad group feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group feed is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group feed mutate. +/// Response message for an ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group feed mutate. +/// The result for the ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_feed: ::core::option::Option, } @@ -2339,67 +2339,67 @@ pub mod ad_group_feed_service_client { } } } -/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels\]. +/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v11.services.AdGroupLabelService.MutateAdGroupLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsRequest { - /// Required. ID of the customer whose ad group labels are being modified. + /// Required. ID of the customer whose ad group labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group labels. + /// Required. The list of operations to perform on ad group labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group label. +/// A single operation (create, remove) on an ad group label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupLabelOperation`. pub mod ad_group_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupLabel), - /// Remove operation: A resource name for the ad group label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group labels mutate. +/// Response message for an ad group labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group label mutate. +/// The result for an ad group label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -2509,80 +2509,80 @@ pub mod ad_group_label_service_client { } } } -/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v11.services.AdGroupService.MutateAdGroups\]. +/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v11.services.AdGroupService.MutateAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsRequest { - /// Required. The ID of the customer whose ad groups are being modified. + /// Required. The ID of the customer whose ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad groups. + /// Required. The list of operations to perform on individual ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group. +/// A single operation (create, update, remove) on an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupOperation`. pub mod ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group. + /// Create operation: No resource name is expected for the new ad group. #[prost(message, tag="1")] Create(super::super::resources::AdGroup), - /// Update operation: The ad group is expected to have a valid resource name. + /// Update operation: The ad group is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroup), - /// Remove operation: A resource name for the removed ad group is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad group is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group mutate. +/// Response message for an ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group mutate. +/// The result for the ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad group with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, } @@ -2711,82 +2711,82 @@ pub mod ad_group_service_client { } } } -/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v11.services.AdParameterService.MutateAdParameters\] +/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v11.services.AdParameterService.MutateAdParameters\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersRequest { - /// Required. The ID of the customer whose ad parameters are being modified. + /// Required. The ID of the customer whose ad parameters are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad parameters. + /// Required. The list of operations to perform on individual ad parameters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on ad parameter. +/// A single operation (create, update, remove) on ad parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_parameter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdParameterOperation`. pub mod ad_parameter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad parameter. + /// Create operation: No resource name is expected for the new ad parameter. #[prost(message, tag="1")] Create(super::super::resources::AdParameter), - /// Update operation: The ad parameter is expected to have a valid resource - /// name. + /// Update operation: The ad parameter is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdParameter), - /// Remove operation: A resource name for the ad parameter to remove is - /// expected in this format: + /// Remove operation: A resource name for the ad parameter to remove is + /// expected in this format: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad parameter mutate. +/// Response message for an ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad parameter mutate. +/// The result for the ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParameterResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdParameter with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdParameter with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_parameter: ::core::option::Option, } @@ -2897,84 +2897,84 @@ pub mod ad_parameter_service_client { } } } -/// Request message for \[AdService.GetAd][google.ads.googleads.v11.services.AdService.GetAd\]. +/// Request message for \[AdService.GetAd][google.ads.googleads.v11.services.AdService.GetAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdRequest { - /// Required. The resource name of the ad to fetch. + /// Required. The resource name of the ad to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdService.MutateAds][google.ads.googleads.v11.services.AdService.MutateAds\]. +/// Request message for \[AdService.MutateAds][google.ads.googleads.v11.services.AdService.MutateAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update operation on an ad. +/// A single update operation on an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="3")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdOperation`. pub mod ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The ad is expected to have a valid resource name - /// in this format: + /// Update operation: The ad is expected to have a valid resource name + /// in this format: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(message, tag="1")] Update(super::super::resources::Ad), } } -/// Response message for an ad mutate. +/// Response message for an ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad: ::core::option::Option, } @@ -3139,73 +3139,73 @@ pub mod ad_service_client { } } } -/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets\]. +/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v11.services.AssetGroupAssetService.MutateAssetGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsRequest { - /// Required. The ID of the customer whose asset group assets are being modified. + /// Required. The ID of the customer whose asset group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group assets. + /// Required. The list of operations to perform on individual asset group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group asset. +/// A single operation (create, remove) on an asset group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_asset_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupAssetOperation`. pub mod asset_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// asset + /// Create operation: No resource name is expected for the new asset group + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetGroupAsset), - /// Update operation: The asset group asset sis expected to have a valid - /// resource name. + /// Update operation: The asset group asset sis expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupAsset), - /// Remove operation: A resource name for the removed asset group asset is - /// expected, in this format: - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// Remove operation: A resource name for the removed asset group asset is + /// expected, in this format: + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group asset mutate. +/// Response message for an asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group asset mutate. +/// The result for the asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3307,78 +3307,78 @@ pub mod asset_group_asset_service_client { } } } -/// Request message for -/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. -/// partial_failure is not supported because the tree needs to be validated -/// together. +/// Request message for +/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v11.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. +/// partial_failure is not supported because the tree needs to be validated +/// together. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersRequest { - /// Required. The ID of the customer whose asset group listing group filters are being - /// modified. + /// Required. The ID of the customer whose asset group listing group filters are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group listing group - /// filters. + /// Required. The list of operations to perform on individual asset group listing group + /// filters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset group listing group filter. +/// A single operation (create, remove) on an asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_listing_group_filter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupListingGroupFilterOperation`. pub mod asset_group_listing_group_filter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// listing group filter. + /// Create operation: No resource name is expected for the new asset group + /// listing group filter. #[prost(message, tag="1")] Create(super::super::resources::AssetGroupListingGroupFilter), - /// Update operation: The asset group listing group filter is expected to - /// have a valid resource name. + /// Update operation: The asset group listing group filter is expected to + /// have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupListingGroupFilter), - /// Remove operation: A resource name for the removed asset group listing - /// group filter is expected, in this format: - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - /// An entity can be removed only if it's not referenced by other - /// parent_listing_group_id. If multiple entities are being deleted, the - /// mutates must be in the correct order. + /// Remove operation: A resource name for the removed asset group listing + /// group filter is expected, in this format: + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// An entity can be removed only if it's not referenced by other + /// parent_listing_group_id. If multiple entities are being deleted, the + /// mutates must be in the correct order. #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group listing group filter mutate. +/// Response message for an asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset group listing group filter mutate. +/// The result for the asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFilterResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AssetGroupListingGroupFilter with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AssetGroupListingGroupFilter with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_group_listing_group_filter: ::core::option::Option, } @@ -3482,66 +3482,66 @@ pub mod asset_group_listing_group_filter_service_client { } } } -/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups\]. +/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v11.services.AssetGroupService.MutateAssetGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsRequest { - /// Required. The ID of the customer whose asset groups are being modified. + /// Required. The ID of the customer whose asset groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset groups. + /// Required. The list of operations to perform on individual asset groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group. +/// A single operation (create, remove) on an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupOperation`. pub mod asset_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group + /// Create operation: No resource name is expected for the new asset group #[prost(message, tag="1")] Create(super::super::resources::AssetGroup), - /// Update operation: The asset group is expected to have a valid resource - /// name. + /// Update operation: The asset group is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroup), - /// Remove operation: A resource name for the removed asset group is - /// expected, in this format: - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// Remove operation: A resource name for the removed asset group is + /// expected, in this format: + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group mutate. +/// Response message for an asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group mutate. +/// The result for the asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3638,75 +3638,75 @@ pub mod asset_group_service_client { } } } -/// Request message for -/// \[AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals\]. +/// Request message for +/// \[AssetGroupSignalService.MutateAssetGroupSignals][google.ads.googleads.v11.services.AssetGroupSignalService.MutateAssetGroupSignals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalsRequest { - /// Required. The ID of the customer whose asset group signals are being modified. + /// Required. The ID of the customer whose asset group signals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group signals. + /// Required. The list of operations to perform on individual asset group signals. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid operations - /// will return errors. If false, all operations will be carried out in one - /// transaction if and only if they are all valid. Default is false. + /// If true, successful operations will be carried out and invalid operations + /// will return errors. If false, all operations will be carried out in one + /// transaction if and only if they are all valid. Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset group signal. +/// A single operation (create, remove) on an asset group signal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupSignalOperation { - /// The mutate operation. Update is not supported. + /// The mutate operation. Update is not supported. #[prost(oneof="asset_group_signal_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupSignalOperation`. pub mod asset_group_signal_operation { - /// The mutate operation. Update is not supported. + /// The mutate operation. Update is not supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// signal. + /// Create operation: No resource name is expected for the new asset group + /// signal. #[prost(message, tag="1")] Create(super::super::resources::AssetGroupSignal), - /// Remove operation: A resource name for the removed asset group signal is - /// expected, in this format: - /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` + /// Remove operation: A resource name for the removed asset group signal is + /// expected, in this format: + /// `customers/{customer_id}/assetGroupSignals/{asset_group_id}~{criterion_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group signal mutate. +/// Response message for an asset group signal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group signal mutate. +/// The result for the asset group signal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupSignalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AssetGroupSignal with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AssetGroupSignal with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_group_signal: ::core::option::Option, } @@ -3808,79 +3808,79 @@ pub mod asset_group_signal_service_client { } } } -/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v11.services.AssetService.MutateAssets\] +/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v11.services.AssetService.MutateAssets\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsRequest { - /// Required. The ID of the customer whose assets are being modified. + /// Required. The ID of the customer whose assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual assets. + /// Required. The list of operations to perform on individual assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="3")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation to create an asset. Supported asset types are -/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset -/// should be created with Ad inline. +/// A single operation to create an asset. Supported asset types are +/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset +/// should be created with Ad inline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetOperation`. pub mod asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset. + /// Create operation: No resource name is expected for the new asset. #[prost(message, tag="1")] Create(super::super::resources::Asset), - /// Update operation: The asset is expected to have a valid resource name in - /// this format: + /// Update operation: The asset is expected to have a valid resource name in + /// this format: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(message, tag="2")] Update(super::super::resources::Asset), } } -/// Response message for an asset mutate. +/// Response message for an asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset mutate. +/// The result for the asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset: ::core::option::Option, } @@ -4007,75 +4007,75 @@ pub mod asset_service_client { } } } -/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets\]. +/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v11.services.AssetSetAssetService.MutateAssetSetAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsRequest { - /// Required. The ID of the customer whose asset set assets are being modified. + /// Required. The ID of the customer whose asset set assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset set assets. + /// Required. The list of operations to perform on individual asset set assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set asset. +/// A single operation (create, remove) on an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetAssetOperation`. pub mod asset_set_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set - /// asset + /// Create operation: No resource name is expected for the new asset set + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetSetAsset), - /// Remove operation: A resource name for the removed asset set asset is - /// expected, in this format: - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// Remove operation: A resource name for the removed asset set asset is + /// expected, in this format: + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set asset mutate. +/// Response message for an asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set asset mutate. +/// The result for the asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set asset with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated asset set asset with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set_asset: ::core::option::Option, } @@ -4175,80 +4175,80 @@ pub mod asset_set_asset_service_client { } } } -/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v11.services.AssetSetService.MutateAssetSets\]. +/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v11.services.AssetSetService.MutateAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsRequest { - /// Required. The ID of the customer whose asset sets are being modified. + /// Required. The ID of the customer whose asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset sets. + /// Required. The list of operations to perform on individual asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set. +/// A single operation (create, remove) on an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetOperation`. pub mod asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set + /// Create operation: No resource name is expected for the new asset set #[prost(message, tag="1")] Create(super::super::resources::AssetSet), - /// Update operation: The asset set is expected to have a valid resource - /// name. + /// Update operation: The asset set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetSet), - /// Remove operation: A resource name for the removed asset set is - /// expected, in this format: - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// Remove operation: A resource name for the removed asset set is + /// expected, in this format: + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set mutate. +/// Response message for an asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set mutate. +/// The result for the asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset set with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set: ::core::option::Option, } @@ -4345,382 +4345,382 @@ pub mod asset_set_service_client { } } } -/// Request message for \[AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport\]. +/// Request message for \[AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateInsightsFinderReportRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. A baseline audience for this report, typically all people in a region. + /// Required. A baseline audience for this report, typically all people in a region. #[prost(message, optional, tag="2")] pub baseline_audience: ::core::option::Option, - /// Required. The specific audience of interest for this report. The insights in the - /// report will be based on attributes more prevalent in this audience than - /// in the report's baseline audience. + /// Required. The specific audience of interest for this report. The insights in the + /// report will be based on attributes more prevalent in this audience than + /// in the report's baseline audience. #[prost(message, optional, tag="3")] pub specific_audience: ::core::option::Option, - /// The name of the customer being planned for. This is a user-defined value. + /// The name of the customer being planned for. This is a user-defined value. #[prost(string, tag="4")] pub customer_insights_group: ::prost::alloc::string::String, } -/// The response message for -/// \[AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport\], containing the -/// shareable URL for the report. +/// The response message for +/// \[AudienceInsightsService.GenerateInsightsFinderReport][google.ads.googleads.v11.services.AudienceInsightsService.GenerateInsightsFinderReport\], containing the +/// shareable URL for the report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateInsightsFinderReportResponse { - /// An HTTPS URL providing a deep link into the Insights Finder UI with the - /// report inputs filled in according to the request. + /// An HTTPS URL providing a deep link into the Insights Finder UI with the + /// report inputs filled in according to the request. #[prost(string, tag="1")] pub saved_report_url: ::prost::alloc::string::String, } -/// Request message for -/// \[AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights\]. +/// Request message for +/// \[AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateAudienceCompositionInsightsRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The audience of interest for which insights are being requested. + /// Required. The audience of interest for which insights are being requested. #[prost(message, optional, tag="2")] pub audience: ::core::option::Option, - /// The one-month range of historical data to use for insights, in the format - /// "yyyy-mm". If unset, insights will be returned for the last thirty days of - /// data. + /// The one-month range of historical data to use for insights, in the format + /// "yyyy-mm". If unset, insights will be returned for the last thirty days of + /// data. #[prost(string, tag="3")] pub data_month: ::prost::alloc::string::String, - /// Required. The audience dimensions for which composition insights should be returned. + /// Required. The audience dimensions for which composition insights should be returned. #[prost(enumeration="super::enums::audience_insights_dimension_enum::AudienceInsightsDimension", repeated, packed="false", tag="4")] pub dimensions: ::prost::alloc::vec::Vec, - /// The name of the customer being planned for. This is a user-defined value. + /// The name of the customer being planned for. This is a user-defined value. #[prost(string, tag="5")] pub customer_insights_group: ::prost::alloc::string::String, } -/// Response message for -/// \[AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights\]. +/// Response message for +/// \[AudienceInsightsService.GenerateAudienceCompositionInsights][google.ads.googleads.v11.services.AudienceInsightsService.GenerateAudienceCompositionInsights\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateAudienceCompositionInsightsResponse { - /// The contents of the insights report, organized into sections. - /// Each section is associated with one of the AudienceInsightsDimension values - /// in the request. There may be more than one section per dimension. + /// The contents of the insights report, organized into sections. + /// Each section is associated with one of the AudienceInsightsDimension values + /// in the request. There may be more than one section per dimension. #[prost(message, repeated, tag="1")] pub sections: ::prost::alloc::vec::Vec, } -/// Request message for -/// \[AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes\]. +/// Request message for +/// \[AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAudienceInsightsAttributesRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The types of attributes to be returned. + /// Required. The types of attributes to be returned. #[prost(enumeration="super::enums::audience_insights_dimension_enum::AudienceInsightsDimension", repeated, packed="false", tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// Required. A free text query. Attributes matching or related to this string will be - /// returned. + /// Required. A free text query. Attributes matching or related to this string will be + /// returned. #[prost(string, tag="3")] pub query_text: ::prost::alloc::string::String, - /// The name of the customer being planned for. This is a user-defined value. + /// The name of the customer being planned for. This is a user-defined value. #[prost(string, tag="4")] pub customer_insights_group: ::prost::alloc::string::String, } -/// Response message for -/// \[AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes\]. +/// Response message for +/// \[AudienceInsightsService.ListAudienceInsightsAttributes][google.ads.googleads.v11.services.AudienceInsightsService.ListAudienceInsightsAttributes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAudienceInsightsAttributesResponse { - /// The attributes matching the search query. + /// The attributes matching the search query. #[prost(message, repeated, tag="1")] pub attributes: ::prost::alloc::vec::Vec, } -/// An audience attribute that can be used to request insights about the -/// audience. +/// An audience attribute that can be used to request insights about the +/// audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsAttribute { - /// An audience attribute. + /// An audience attribute. #[prost(oneof="audience_insights_attribute::Attribute", tags="1, 2, 3, 4, 5, 6, 7, 8, 9, 10")] pub attribute: ::core::option::Option, } /// Nested message and enum types in `AudienceInsightsAttribute`. pub mod audience_insights_attribute { - /// An audience attribute. + /// An audience attribute. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Attribute { - /// An audience attribute defined by an age range. + /// An audience attribute defined by an age range. #[prost(message, tag="1")] AgeRange(super::super::common::AgeRangeInfo), - /// An audience attribute defined by a gender. + /// An audience attribute defined by a gender. #[prost(message, tag="2")] Gender(super::super::common::GenderInfo), - /// An audience attribute defiend by a geographic location. + /// An audience attribute defiend by a geographic location. #[prost(message, tag="3")] Location(super::super::common::LocationInfo), - /// An Affinity or In-Market audience. + /// An Affinity or In-Market audience. #[prost(message, tag="4")] UserInterest(super::super::common::UserInterestInfo), - /// An audience attribute defined by interest in a topic represented by a - /// Knowledge Graph entity. + /// An audience attribute defined by interest in a topic represented by a + /// Knowledge Graph entity. #[prost(message, tag="5")] Entity(super::AudienceInsightsEntity), - /// An audience attribute defined by interest in a Product & Service - /// category. + /// An audience attribute defined by interest in a Product & Service + /// category. #[prost(message, tag="6")] Category(super::AudienceInsightsCategory), - /// A YouTube Dynamic Lineup + /// A YouTube Dynamic Lineup #[prost(message, tag="7")] DynamicLineup(super::AudienceInsightsDynamicLineup), - /// A Parental Status value (parent, or not a parent). + /// A Parental Status value (parent, or not a parent). #[prost(message, tag="8")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// A household income percentile range. + /// A household income percentile range. #[prost(message, tag="9")] IncomeRange(super::super::common::IncomeRangeInfo), - /// A YouTube channel. + /// A YouTube channel. #[prost(message, tag="10")] YoutubeChannel(super::super::common::YouTubeChannelInfo), } } -/// An entity or category representing a topic that defines an audience. +/// An entity or category representing a topic that defines an audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsTopic { - /// An entity or category attribute. + /// An entity or category attribute. #[prost(oneof="audience_insights_topic::Topic", tags="1, 2")] pub topic: ::core::option::Option, } /// Nested message and enum types in `AudienceInsightsTopic`. pub mod audience_insights_topic { - /// An entity or category attribute. + /// An entity or category attribute. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Topic { - /// A Knowledge Graph entity + /// A Knowledge Graph entity #[prost(message, tag="1")] Entity(super::AudienceInsightsEntity), - /// A Product & Service category + /// A Product & Service category #[prost(message, tag="2")] Category(super::AudienceInsightsCategory), } } -/// A Knowledge Graph entity, represented by its machine id. +/// A Knowledge Graph entity, represented by its machine id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsEntity { - /// Required. The machine id (mid) of the Knowledge Graph entity. + /// Required. The machine id (mid) of the Knowledge Graph entity. #[prost(string, tag="1")] pub knowledge_graph_machine_id: ::prost::alloc::string::String, } -/// A Product and Service category. +/// A Product and Service category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsCategory { - /// Required. The criterion id of the category. + /// Required. The criterion id of the category. #[prost(string, tag="1")] pub category_id: ::prost::alloc::string::String, } -/// A YouTube Dynamic Lineup. +/// A YouTube Dynamic Lineup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsDynamicLineup { - /// Required. The numeric ID of the dynamic lineup. + /// Required. The numeric ID of the dynamic lineup. #[prost(string, tag="1")] pub dynamic_lineup_id: ::prost::alloc::string::String, } -/// A description of an audience used for requesting insights. +/// A description of an audience used for requesting insights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicInsightsAudience { - /// Required. The countries for this audience. + /// Required. The countries for this audience. #[prost(message, repeated, tag="1")] pub country_location: ::prost::alloc::vec::Vec, - /// Sub-country geographic location attributes. If present, each of these - /// must be contained in one of the countries in this audience. + /// Sub-country geographic location attributes. If present, each of these + /// must be contained in one of the countries in this audience. #[prost(message, repeated, tag="2")] pub sub_country_locations: ::prost::alloc::vec::Vec, - /// Gender for the audience. If absent, the audience does not restrict by - /// gender. + /// Gender for the audience. If absent, the audience does not restrict by + /// gender. #[prost(message, optional, tag="3")] pub gender: ::core::option::Option, - /// Age ranges for the audience. If absent, the audience represents all people - /// over 18 that match the other attributes. + /// Age ranges for the audience. If absent, the audience represents all people + /// over 18 that match the other attributes. #[prost(message, repeated, tag="4")] pub age_ranges: ::prost::alloc::vec::Vec, - /// User interests defining this audience. Affinity and In-Market audiences - /// are supported. + /// User interests defining this audience. Affinity and In-Market audiences + /// are supported. #[prost(message, repeated, tag="5")] pub user_interests: ::prost::alloc::vec::Vec, - /// Topics, represented by Knowledge Graph entities and/or Product & Service - /// categories, that this audience is interested in. + /// Topics, represented by Knowledge Graph entities and/or Product & Service + /// categories, that this audience is interested in. #[prost(message, repeated, tag="6")] pub topics: ::prost::alloc::vec::Vec, } -/// An audience attribute, with metadata about it, returned in response to a -/// search. +/// An audience attribute, with metadata about it, returned in response to a +/// search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceInsightsAttributeMetadata { - /// The type of the attribute. + /// The type of the attribute. #[prost(enumeration="super::enums::audience_insights_dimension_enum::AudienceInsightsDimension", tag="1")] pub dimension: i32, - /// The attribute itself. + /// The attribute itself. #[prost(message, optional, tag="2")] pub attribute: ::core::option::Option, - /// The human-readable name of the attribute. + /// The human-readable name of the attribute. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// A relevance score for this attribute, between 0 and 1. + /// A relevance score for this attribute, between 0 and 1. #[prost(double, tag="4")] pub score: f64, - /// A string that supplements the display_name to identify the attribute. - /// If the dimension is TOPIC, this is a brief description of the - /// Knowledge Graph entity, such as "American singer-songwriter". - /// If the dimension is CATEGORY, this is the complete path to the category in - /// The Product & Service taxonomy, for example - /// "/Apparel/Clothing/Outerwear". + /// A string that supplements the display_name to identify the attribute. + /// If the dimension is TOPIC, this is a brief description of the + /// Knowledge Graph entity, such as "American singer-songwriter". + /// If the dimension is CATEGORY, this is the complete path to the category in + /// The Product & Service taxonomy, for example + /// "/Apparel/Clothing/Outerwear". #[prost(string, tag="5")] pub display_info: ::prost::alloc::string::String, - /// Metadata specific to the dimension of this attribute. + /// Metadata specific to the dimension of this attribute. #[prost(oneof="audience_insights_attribute_metadata::DimensionMetadata", tags="6, 7")] pub dimension_metadata: ::core::option::Option, } /// Nested message and enum types in `AudienceInsightsAttributeMetadata`. pub mod audience_insights_attribute_metadata { - /// Metadata specific to the dimension of this attribute. + /// Metadata specific to the dimension of this attribute. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DimensionMetadata { - /// Special metadata for a YouTube channel. + /// Special metadata for a YouTube channel. #[prost(message, tag="6")] YoutubeChannelMetadata(super::YouTubeChannelAttributeMetadata), - /// Special metadata for a YouTube Dynamic Lineup. + /// Special metadata for a YouTube Dynamic Lineup. #[prost(message, tag="7")] DynamicAttributeMetadata(super::DynamicLineupAttributeMetadata), } } -/// Metadata associated with a YouTube channel attribute. +/// Metadata associated with a YouTube channel attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeChannelAttributeMetadata { - /// The approximate number of subscribers to the YouTube channel. + /// The approximate number of subscribers to the YouTube channel. #[prost(int64, tag="1")] pub subscriber_count: i64, } -/// Metadata associated with a Dynamic Lineup attribute. +/// Metadata associated with a Dynamic Lineup attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLineupAttributeMetadata { - /// The national market associated with the lineup. + /// The national market associated with the lineup. #[prost(message, optional, tag="1")] pub inventory_country: ::core::option::Option, - /// The median number of impressions per month on this lineup. + /// The median number of impressions per month on this lineup. #[prost(int64, optional, tag="2")] pub median_monthly_inventory: ::core::option::Option, - /// The lower end of a range containing the number of channels in the lineup. + /// The lower end of a range containing the number of channels in the lineup. #[prost(int64, optional, tag="3")] pub channel_count_lower_bound: ::core::option::Option, - /// The upper end of a range containing the number of channels in the lineup. + /// The upper end of a range containing the number of channels in the lineup. #[prost(int64, optional, tag="4")] pub channel_count_upper_bound: ::core::option::Option, } -/// A set of users, defined by various characteristics, for which insights can -/// be requested in AudienceInsightsService. +/// A set of users, defined by various characteristics, for which insights can +/// be requested in AudienceInsightsService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsightsAudience { - /// Required. The countries for the audience. + /// Required. The countries for the audience. #[prost(message, repeated, tag="1")] pub country_locations: ::prost::alloc::vec::Vec, - /// Sub-country geographic location attributes. If present, each of these - /// must be contained in one of the countries in this audience. If absent, the - /// audience is geographically to the country_locations and no further. + /// Sub-country geographic location attributes. If present, each of these + /// must be contained in one of the countries in this audience. If absent, the + /// audience is geographically to the country_locations and no further. #[prost(message, repeated, tag="2")] pub sub_country_locations: ::prost::alloc::vec::Vec, - /// Gender for the audience. If absent, the audience does not restrict by - /// gender. + /// Gender for the audience. If absent, the audience does not restrict by + /// gender. #[prost(message, optional, tag="3")] pub gender: ::core::option::Option, - /// Age ranges for the audience. If absent, the audience represents all people - /// over 18 that match the other attributes. + /// Age ranges for the audience. If absent, the audience represents all people + /// over 18 that match the other attributes. #[prost(message, repeated, tag="4")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Parental status for the audience. If absent, the audience does not - /// restrict by parental status. + /// Parental status for the audience. If absent, the audience does not + /// restrict by parental status. #[prost(message, optional, tag="5")] pub parental_status: ::core::option::Option, - /// Household income percentile ranges for the audience. If absent, the - /// audience does not restrict by household income range. + /// Household income percentile ranges for the audience. If absent, the + /// audience does not restrict by household income range. #[prost(message, repeated, tag="6")] pub income_ranges: ::prost::alloc::vec::Vec, - /// Dynamic lineups representing the YouTube content viewed by the audience. + /// Dynamic lineups representing the YouTube content viewed by the audience. #[prost(message, repeated, tag="7")] pub dynamic_lineups: ::prost::alloc::vec::Vec, - /// A combination of entity, category and user interest attributes defining the - /// audience. The combination has a logical AND-of-ORs structure: Attributes - /// within each InsightsAudienceAttributeGroup are combined with OR, and - /// the combinations themselves are combined together with AND. For example, - /// the expression (Entity OR Affinity) AND (In-Market OR Category) can be - /// formed using two InsightsAudienceAttributeGroups with two Attributes - /// each. + /// A combination of entity, category and user interest attributes defining the + /// audience. The combination has a logical AND-of-ORs structure: Attributes + /// within each InsightsAudienceAttributeGroup are combined with OR, and + /// the combinations themselves are combined together with AND. For example, + /// the expression (Entity OR Affinity) AND (In-Market OR Category) can be + /// formed using two InsightsAudienceAttributeGroups with two Attributes + /// each. #[prost(message, repeated, tag="8")] pub topic_audience_combinations: ::prost::alloc::vec::Vec, } -/// A list of AudienceInsightsAttributes. +/// A list of AudienceInsightsAttributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsightsAudienceAttributeGroup { - /// Required. A collection of audience attributes to be combined with logical OR. - /// Attributes need not all be the same dimension. Only Knowledge Graph - /// entities, Product & Service Categories, and Affinity and In-Market - /// audiences are supported in this context. + /// Required. A collection of audience attributes to be combined with logical OR. + /// Attributes need not all be the same dimension. Only Knowledge Graph + /// entities, Product & Service Categories, and Affinity and In-Market + /// audiences are supported in this context. #[prost(message, repeated, tag="1")] pub attributes: ::prost::alloc::vec::Vec, } -/// A collection of related attributes of the same type in an audience -/// composition insights report. +/// A collection of related attributes of the same type in an audience +/// composition insights report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceCompositionSection { - /// The type of the attributes in this section. + /// The type of the attributes in this section. #[prost(enumeration="super::enums::audience_insights_dimension_enum::AudienceInsightsDimension", tag="1")] pub dimension: i32, - /// The most relevant segments for this audience. If dimension is GENDER, - /// AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. + /// The most relevant segments for this audience. If dimension is GENDER, + /// AGE_RANGE or PARENTAL_STATUS, then this list of attributes is exhaustive. #[prost(message, repeated, tag="3")] pub top_attributes: ::prost::alloc::vec::Vec, - /// Additional attributes for this audience, grouped into clusters. Only - /// populated if dimension is YOUTUBE_CHANNEL. + /// Additional attributes for this audience, grouped into clusters. Only + /// populated if dimension is YOUTUBE_CHANNEL. #[prost(message, repeated, tag="4")] pub clustered_attributes: ::prost::alloc::vec::Vec, } -/// A collection of related attributes, with metadata and metrics, in an audience -/// composition insights report. +/// A collection of related attributes, with metadata and metrics, in an audience +/// composition insights report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceCompositionAttributeCluster { - /// The name of this cluster of attributes + /// The name of this cluster of attributes #[prost(string, tag="1")] pub cluster_display_name: ::prost::alloc::string::String, - /// If the dimension associated with this cluster is YOUTUBE_CHANNEL, then - /// cluster_metrics are metrics associated with the cluster as a whole. - /// For other dimensions, this field is unset. + /// If the dimension associated with this cluster is YOUTUBE_CHANNEL, then + /// cluster_metrics are metrics associated with the cluster as a whole. + /// For other dimensions, this field is unset. #[prost(message, optional, tag="3")] pub cluster_metrics: ::core::option::Option, - /// The individual attributes that make up this cluster, with metadata and - /// metrics. + /// The individual attributes that make up this cluster, with metadata and + /// metrics. #[prost(message, repeated, tag="4")] pub attributes: ::prost::alloc::vec::Vec, } -/// The share and index metrics associated with an attribute in an audience -/// composition insights report. +/// The share and index metrics associated with an attribute in an audience +/// composition insights report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceCompositionMetrics { - /// The fraction (from 0 to 1 inclusive) of the baseline audience that match - /// the attribute. + /// The fraction (from 0 to 1 inclusive) of the baseline audience that match + /// the attribute. #[prost(double, tag="1")] pub baseline_audience_share: f64, - /// The fraction (from 0 to 1 inclusive) of the specific audience that match - /// the attribute. + /// The fraction (from 0 to 1 inclusive) of the specific audience that match + /// the attribute. #[prost(double, tag="2")] pub audience_share: f64, - /// The ratio of audience_share to baseline_audience_share, or zero if this - /// ratio is undefined or is not meaningful. + /// The ratio of audience_share to baseline_audience_share, or zero if this + /// ratio is undefined or is not meaningful. #[prost(double, tag="3")] pub index: f64, - /// A relevance score from 0 to 1 inclusive. + /// A relevance score from 0 to 1 inclusive. #[prost(double, tag="4")] pub score: f64, } -/// An audience attribute with metadata and metrics. +/// An audience attribute with metadata and metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceCompositionAttribute { - /// The attribute with its metadata. + /// The attribute with its metadata. #[prost(message, optional, tag="1")] pub attribute_metadata: ::core::option::Option, - /// Share and index metrics for the attribute. + /// Share and index metrics for the attribute. #[prost(message, optional, tag="2")] pub metrics: ::core::option::Option, } @@ -4905,75 +4905,75 @@ pub mod audience_insights_service_client { } } } -/// Request message for \[AudienceService.MutateAudiences][google.ads.googleads.v11.services.AudienceService.MutateAudiences\]. +/// Request message for \[AudienceService.MutateAudiences][google.ads.googleads.v11.services.AudienceService.MutateAudiences\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudiencesRequest { - /// Required. The ID of the customer whose audiences are being modified. + /// Required. The ID of the customer whose audiences are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual audiences. + /// Required. The list of operations to perform on individual audiences. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid operations - /// will return errors. If false, all operations will be carried out in one - /// transaction if and only if they are all valid. Default is false. + /// If true, successful operations will be carried out and invalid operations + /// will return errors. If false, all operations will be carried out in one + /// transaction if and only if they are all valid. Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Response message for an audience mutate. +/// Response message for an audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudiencesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// A single operation (create, update) on an audience. +/// A single operation (create, update) on an audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="audience_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AudienceOperation`. pub mod audience_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new audience + /// Create operation: No resource name is expected for the new audience #[prost(message, tag="1")] Create(super::super::resources::Audience), - /// Update operation: The audience is expected to have a valid resource - /// name. + /// Update operation: The audience is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::Audience), } } -/// The result for the audience mutate. +/// The result for the audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAudienceResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated Audience with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated Audience with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub audience: ::core::option::Option, } @@ -5072,84 +5072,84 @@ pub mod audience_service_client { } } } -/// Request message for -/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. +/// Request message for +/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v11.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsRequest { - /// Required. ID of the customer whose data exclusions are being modified. + /// Required. ID of the customer whose data exclusions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual data exclusions. + /// Required. The list of operations to perform on individual data exclusions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a data exclusion. +/// A single operation (create, remove, update) on a data exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_data_exclusion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingDataExclusionOperation`. pub mod bidding_data_exclusion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new data - /// exclusion. + /// Create operation: No resource name is expected for the new data + /// exclusion. #[prost(message, tag="1")] Create(super::super::resources::BiddingDataExclusion), - /// Update operation: The data exclusion is expected to have a valid - /// resource name. + /// Update operation: The data exclusion is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingDataExclusion), - /// Remove operation: A resource name for the removed data exclusion - /// is expected, in this format: + /// Remove operation: A resource name for the removed data exclusion + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for data exlusions mutate. +/// Response message for data exlusions mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the data exclusion mutate. +/// The result for the data exclusion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding data exclusion with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding data exclusion with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_data_exclusion: ::core::option::Option, } @@ -5251,84 +5251,84 @@ pub mod bidding_data_exclusion_service_client { } } } -/// Request message for -/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. +/// Request message for +/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v11.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsRequest { - /// Required. ID of the customer whose seasonality adjustments are being modified. + /// Required. ID of the customer whose seasonality adjustments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual seasonality adjustments. + /// Required. The list of operations to perform on individual seasonality adjustments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a seasonality adjustment. +/// A single operation (create, remove, update) on a seasonality adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustmentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_seasonality_adjustment_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingSeasonalityAdjustmentOperation`. pub mod bidding_seasonality_adjustment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new seasonality - /// adjustment. + /// Create operation: No resource name is expected for the new seasonality + /// adjustment. #[prost(message, tag="1")] Create(super::super::resources::BiddingSeasonalityAdjustment), - /// Update operation: The seasonality adjustment is expected to have a valid - /// resource name. + /// Update operation: The seasonality adjustment is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingSeasonalityAdjustment), - /// Remove operation: A resource name for the removed seasonality adjustment - /// is expected, in this format: + /// Remove operation: A resource name for the removed seasonality adjustment + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for seasonality adjustments mutate. +/// Response message for seasonality adjustments mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the seasonality adjustment mutate. +/// The result for the seasonality adjustment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding seasonality adjustment with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding seasonality adjustment with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_seasonality_adjustment: ::core::option::Option, } @@ -5432,83 +5432,83 @@ pub mod bidding_seasonality_adjustment_service_client { } } } -/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies\]. +/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v11.services.BiddingStrategyService.MutateBiddingStrategies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesRequest { - /// Required. The ID of the customer whose bidding strategies are being modified. + /// Required. The ID of the customer whose bidding strategies are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual bidding strategies. + /// Required. The list of operations to perform on individual bidding strategies. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a bidding strategy. +/// A single operation (create, update, remove) on a bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_strategy_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategyOperation`. pub mod bidding_strategy_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new bidding - /// strategy. + /// Create operation: No resource name is expected for the new bidding + /// strategy. #[prost(message, tag="1")] Create(super::super::resources::BiddingStrategy), - /// Update operation: The bidding strategy is expected to have a valid - /// resource name. + /// Update operation: The bidding strategy is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingStrategy), - /// Remove operation: A resource name for the removed bidding strategy is - /// expected, in this format: + /// Remove operation: A resource name for the removed bidding strategy is + /// expected, in this format: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for bidding strategy mutate. +/// Response message for bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the bidding strategy mutate. +/// The result for the bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategyResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding strategy with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated bidding strategy with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_strategy: ::core::option::Option, } @@ -5638,83 +5638,83 @@ pub mod bidding_strategy_service_client { } } } -/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets\]. +/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v11.services.CampaignAssetService.MutateCampaignAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsRequest { - /// Required. The ID of the customer whose campaign assets are being modified. + /// Required. The ID of the customer whose campaign assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign assets. + /// Required. The list of operations to perform on individual campaign assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign asset. +/// A single operation (create, update, remove) on a campaign asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetOperation`. pub mod campaign_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// asset. + /// Create operation: No resource name is expected for the new campaign + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CampaignAsset), - /// Update operation: The campaign asset is expected to have a valid resource - /// name. + /// Update operation: The campaign asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CampaignAsset), - /// Remove operation: A resource name for the removed campaign asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign asset is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset mutate. +/// Response message for a campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign asset mutate. +/// The result for the campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset: ::core::option::Option, } @@ -5828,75 +5828,75 @@ pub mod campaign_asset_service_client { } } } -/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets\]. +/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v11.services.CampaignAssetSetService.MutateCampaignAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsRequest { - /// Required. The ID of the customer whose campaign asset sets are being modified. + /// Required. The ID of the customer whose campaign asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign asset sets. + /// Required. The list of operations to perform on individual campaign asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a campaign asset set. +/// A single operation (create, remove) on a campaign asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_set_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetSetOperation`. pub mod campaign_asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign asset - /// set. + /// Create operation: No resource name is expected for the new campaign asset + /// set. #[prost(message, tag="1")] Create(super::super::resources::CampaignAssetSet), - /// Remove operation: A resource name for the removed campaign asset set is - /// expected, in this format: - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// Remove operation: A resource name for the removed campaign asset set is + /// expected, in this format: + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset set mutate. +/// Response message for a campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign asset set mutate. +/// The result for the campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign asset set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset_set: ::core::option::Option, } @@ -5998,84 +5998,84 @@ pub mod campaign_asset_set_service_client { } } } -/// Request message for -/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. +/// Request message for +/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v11.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersRequest { - /// Required. ID of the customer whose campaign bid modifiers are being modified. + /// Required. ID of the customer whose campaign bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign bid modifiers. + /// Required. The list of operations to perform on individual campaign bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a campaign bid modifier. +/// A single operation (create, remove, update) on a campaign bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifierOperation`. pub mod campaign_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign bid - /// modifier. + /// Create operation: No resource name is expected for the new campaign bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::CampaignBidModifier), - /// Update operation: The campaign bid modifier is expected to have a valid - /// resource name. + /// Update operation: The campaign bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBidModifier), - /// Remove operation: A resource name for the removed campaign bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed campaign bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign bid modifiers mutate. +/// Response message for campaign bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_bid_modifier: ::core::option::Option, } @@ -6201,82 +6201,82 @@ pub mod campaign_bid_modifier_service_client { } } } -/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets\]. +/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v11.services.CampaignBudgetService.MutateCampaignBudgets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsRequest { - /// Required. The ID of the customer whose campaign budgets are being modified. + /// Required. The ID of the customer whose campaign budgets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign budgets. + /// Required. The list of operations to perform on individual campaign budgets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign budget. +/// A single operation (create, update, remove) on a campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_budget_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBudgetOperation`. pub mod campaign_budget_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new budget. + /// Create operation: No resource name is expected for the new budget. #[prost(message, tag="1")] Create(super::super::resources::CampaignBudget), - /// Update operation: The campaign budget is expected to have a valid - /// resource name. + /// Update operation: The campaign budget is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBudget), - /// Remove operation: A resource name for the removed budget is expected, in - /// this format: + /// Remove operation: A resource name for the removed budget is expected, in + /// this format: /// - /// `customers/{customer_id}/campaignBudgets/{budget_id}` + /// `customers/{customer_id}/campaignBudgets/{budget_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign budget mutate. +/// Response message for campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign budget mutate. +/// The result for the campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign budget with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign budget with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_budget: ::core::option::Option, } @@ -6395,53 +6395,53 @@ pub mod campaign_budget_service_client { } } } -/// Request message for -/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. +/// Request message for +/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v11.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsRequest { - /// Required. The ID of the customer whose campaign conversion goals are being modified. + /// Required. The ID of the customer whose campaign conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign conversion goal. + /// Required. The list of operations to perform on individual campaign conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a campaign conversion goal. +/// A single operation (update) on a campaign conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignConversionGoalOperation`. pub mod campaign_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignConversionGoal), } } -/// Response message for a campaign conversion goal mutate. +/// Response message for a campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign conversion goal mutate. +/// The result for the campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -6543,82 +6543,82 @@ pub mod campaign_conversion_goal_service_client { } } } -/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria\]. +/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v11.services.CampaignCriterionService.MutateCampaignCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign criterion. +/// A single operation (create, update, remove) on a campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionOperation`. pub mod campaign_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CampaignCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign criterion mutate. +/// Response message for campaign criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_criterion: ::core::option::Option, } @@ -6750,76 +6750,76 @@ pub mod campaign_criterion_service_client { } } } -/// Request message for -/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers\]. +/// Request message for +/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v11.services.CampaignCustomizerService.MutateCampaignCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersRequest { - /// Required. The ID of the customer whose campaign customizers are being modified. + /// Required. The ID of the customer whose campaign customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign customizers. + /// Required. The list of operations to perform on individual campaign customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCustomizerOperation`. pub mod campaign_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// customizer + /// Create operation: No resource name is expected for the new campaign + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CampaignCustomizer), - /// Remove operation: A resource name for the removed campaign customizer is - /// expected, in this format: - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed campaign customizer is + /// expected, in this format: + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an campaign customizer mutate. +/// Response message for an campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign customizer mutate. +/// The result for the campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CampaignCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CampaignCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_customizer: ::core::option::Option, } @@ -6921,125 +6921,125 @@ pub mod campaign_customizer_service_client { } } } -/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v11.services.CampaignDraftService.MutateCampaignDrafts\]. +/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v11.services.CampaignDraftService.MutateCampaignDrafts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsRequest { - /// Required. The ID of the customer whose campaign drafts are being modified. + /// Required. The ID of the customer whose campaign drafts are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign drafts. + /// Required. The list of operations to perform on individual campaign drafts. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v11.services.CampaignDraftService.PromoteCampaignDraft\]. +/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v11.services.CampaignDraftService.PromoteCampaignDraft\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignDraftRequest { - /// Required. The resource name of the campaign draft to promote. + /// Required. The resource name of the campaign draft to promote. #[prost(string, tag="1")] pub campaign_draft: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a campaign draft. +/// A single operation (create, update, remove) on a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_draft_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignDraftOperation`. pub mod campaign_draft_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// draft. + /// Create operation: No resource name is expected for the new campaign + /// draft. #[prost(message, tag="1")] Create(super::super::resources::CampaignDraft), - /// Update operation: The campaign draft is expected to have a valid - /// resource name. + /// Update operation: The campaign draft is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignDraft), - /// Remove operation: The campaign draft is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign draft is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign draft mutate. +/// Response message for campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign draft mutate. +/// The result for the campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign draft with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign draft with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_draft: ::core::option::Option, } -/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsRequest { - /// Required. The name of the campaign draft from which to retrieve the async errors. + /// Required. The name of the campaign draft from which to retrieve the async errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v11.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -7224,180 +7224,180 @@ pub mod campaign_draft_service_client { } } } -/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v11.services.CampaignExperimentService.MutateCampaignExperiments\]. +/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v11.services.CampaignExperimentService.MutateCampaignExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsRequest { - /// Required. The ID of the customer whose campaign experiments are being modified. + /// Required. The ID of the customer whose campaign experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign experiments. + /// Required. The list of operations to perform on individual campaign experiments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single update operation on a campaign experiment. +/// A single update operation on a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_experiment_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExperimentOperation`. pub mod campaign_experiment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The campaign experiment is expected to have a valid - /// resource name. + /// Update operation: The campaign experiment is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignExperiment), - /// Remove operation: The campaign experiment is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign experiment is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign experiment mutate. +/// Response message for campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign experiment mutate. +/// The result for the campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign experiment with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign experiment with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, } -/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.CreateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.CreateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentRequest { - /// Required. The ID of the customer whose campaign experiment is being created. + /// Required. The ID of the customer whose campaign experiment is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The campaign experiment to be created. + /// Required. The campaign experiment to be created. #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Message used as metadata returned in Long Running Operations for -/// CreateCampaignExperimentRequest +/// Message used as metadata returned in Long Running Operations for +/// CreateCampaignExperimentRequest #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentMetadata { - /// Resource name of campaign experiment created. + /// Resource name of campaign experiment created. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.GraduateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.GraduateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to graduate. + /// Required. The resource name of the campaign experiment to graduate. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// Required. Resource name of the budget to attach to the campaign graduated from the - /// experiment. + /// Required. Resource name of the budget to attach to the campaign graduated from the + /// experiment. #[prost(string, tag="2")] pub campaign_budget: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Response message for campaign experiment graduate. +/// Response message for campaign experiment graduate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentResponse { - /// The resource name of the campaign from the graduated experiment. - /// This campaign is the same one as CampaignExperiment.experiment_campaign. + /// The resource name of the campaign from the graduated experiment. + /// This campaign is the same one as CampaignExperiment.experiment_campaign. #[prost(string, tag="1")] pub graduated_campaign: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.PromoteCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.PromoteCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to promote. + /// Required. The resource name of the campaign experiment to promote. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.EndCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v11.services.CampaignExperimentService.EndCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to end. + /// Required. The resource name of the campaign experiment to end. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Request message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsRequest { - /// Required. The name of the campaign experiment from which to retrieve the async - /// errors. + /// Required. The name of the campaign experiment from which to retrieve the async + /// errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Response message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v11.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -7698,86 +7698,86 @@ pub mod campaign_experiment_service_client { } } } -/// Request message for -/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. +/// Request message for +/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v11.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsRequest { - /// Required. The ID of the customer whose campaign extension settings are being - /// modified. + /// Required. The ID of the customer whose campaign extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign extension - /// settings. + /// Required. The list of operations to perform on individual campaign extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign extension setting. +/// A single operation (create, update, remove) on a campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExtensionSettingOperation`. pub mod campaign_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// extension setting. + /// Create operation: No resource name is expected for the new campaign + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CampaignExtensionSetting), - /// Update operation: The campaign extension setting is expected to have a - /// valid resource name. + /// Update operation: The campaign extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignExtensionSetting), - /// Remove operation: A resource name for the removed campaign extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed campaign extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign extension setting mutate. +/// Response message for a campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign extension setting mutate. +/// The result for the campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign extension setting with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign extension setting with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_extension_setting: ::core::option::Option, } @@ -7910,82 +7910,82 @@ pub mod campaign_extension_setting_service_client { } } } -/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds\]. +/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v11.services.CampaignFeedService.MutateCampaignFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsRequest { - /// Required. The ID of the customer whose campaign feeds are being modified. + /// Required. The ID of the customer whose campaign feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign feeds. + /// Required. The list of operations to perform on individual campaign feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign feed. +/// A single operation (create, update, remove) on a campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignFeedOperation`. pub mod campaign_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign feed. + /// Create operation: No resource name is expected for the new campaign feed. #[prost(message, tag="1")] Create(super::super::resources::CampaignFeed), - /// Update operation: The campaign feed is expected to have a valid resource - /// name. + /// Update operation: The campaign feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignFeed), - /// Remove operation: A resource name for the removed campaign feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign feed is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign feed mutate. +/// Response message for a campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign feed mutate. +/// The result for the campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_feed: ::core::option::Option, } @@ -8107,83 +8107,83 @@ pub mod campaign_feed_service_client { } } } -/// Request message for \[CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups\]. +/// Request message for \[CampaignGroupService.MutateCampaignGroups][google.ads.googleads.v11.services.CampaignGroupService.MutateCampaignGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupsRequest { - /// Required. The ID of the customer whose campaign groups are being modified. + /// Required. The ID of the customer whose campaign groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign groups. + /// Required. The list of operations to perform on individual campaign groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign group. +/// A single operation (create, update, remove) on a campaign group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignGroupOperation`. pub mod campaign_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// group. + /// Create operation: No resource name is expected for the new campaign + /// group. #[prost(message, tag="1")] Create(super::super::resources::CampaignGroup), - /// Update operation: The campaign group is expected to have a valid - /// resource name. + /// Update operation: The campaign group is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignGroup), - /// Remove operation: A resource name for the removed campaign group is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign group is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` + /// `customers/{customer_id}/campaignGroups/{campaign_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign group mutate. +/// Response message for campaign group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign group mutate. +/// The result for the campaign group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignGroupResult { - /// Required. Returned for successful operations. + /// Required. Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign group with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign group with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_group: ::core::option::Option, } @@ -8283,67 +8283,67 @@ pub mod campaign_group_service_client { } } } -/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels\]. +/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v11.services.CampaignLabelService.MutateCampaignLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsRequest { - /// Required. ID of the customer whose campaign-label relationships are being modified. + /// Required. ID of the customer whose campaign-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on campaign-label relationships. + /// Required. The list of operations to perform on campaign-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a campaign-label relationship. +/// A single operation (create, remove) on a campaign-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignLabelOperation`. pub mod campaign_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign-label - /// relationship. + /// Create operation: No resource name is expected for the new campaign-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CampaignLabel), - /// Remove operation: A resource name for the campaign-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the campaign-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign labels mutate. +/// Response message for a campaign labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a campaign label mutate. +/// The result for a campaign label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -8456,81 +8456,81 @@ pub mod campaign_label_service_client { } } } -/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v11.services.CampaignService.MutateCampaigns\]. +/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v11.services.CampaignService.MutateCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsRequest { - /// Required. The ID of the customer whose campaigns are being modified. + /// Required. The ID of the customer whose campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaigns. + /// Required. The list of operations to perform on individual campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign. +/// A single operation (create, update, remove) on a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignOperation`. pub mod campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign. + /// Create operation: No resource name is expected for the new campaign. #[prost(message, tag="1")] Create(super::super::resources::Campaign), - /// Update operation: The campaign is expected to have a valid - /// resource name. + /// Update operation: The campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::Campaign), - /// Remove operation: A resource name for the removed campaign is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign is + /// expected, in this format: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign mutate. +/// The result for the campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated campaign with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, } @@ -8663,76 +8663,76 @@ pub mod campaign_service_client { } } } -/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets\]. +/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v11.services.CampaignSharedSetService.MutateCampaignSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsRequest { - /// Required. The ID of the customer whose campaign shared sets are being modified. + /// Required. The ID of the customer whose campaign shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign shared sets. + /// Required. The list of operations to perform on individual campaign shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an campaign shared set. +/// A single operation (create, remove) on an campaign shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_shared_set_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignSharedSetOperation`. pub mod campaign_shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// shared set. + /// Create operation: No resource name is expected for the new campaign + /// shared set. #[prost(message, tag="1")] Create(super::super::resources::CampaignSharedSet), - /// Remove operation: A resource name for the removed campaign shared set is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign shared set is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign shared set mutate. +/// Response message for a campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign shared set mutate. +/// The result for the campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign shared set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign shared set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_shared_set: ::core::option::Option, } @@ -8857,83 +8857,83 @@ pub mod campaign_shared_set_service_client { } } } -/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions\]. +/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsRequest { - /// Required. The ID of the customer whose conversion actions are being modified. + /// Required. The ID of the customer whose conversion actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion actions. + /// Required. The list of operations to perform on individual conversion actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion action. +/// A single operation (create, update, remove) on a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_action_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionActionOperation`. pub mod conversion_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// action. + /// Create operation: No resource name is expected for the new conversion + /// action. #[prost(message, tag="1")] Create(super::super::resources::ConversionAction), - /// Update operation: The conversion action is expected to have a valid - /// resource name. + /// Update operation: The conversion action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionAction), - /// Remove operation: A resource name for the removed conversion action is - /// expected, in this format: + /// Remove operation: A resource name for the removed conversion action is + /// expected, in this format: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions\]. +/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v11.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion action mutate. +/// The result for the conversion action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion action with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated conversion action with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_action: ::core::option::Option, } @@ -9053,81 +9053,81 @@ pub mod conversion_action_service_client { } } } -/// Request message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Request message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesRequest { - /// Required. The ID of the customer whose conversion custom variables are being - /// modified. + /// Required. The ID of the customer whose conversion custom variables are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion custom - /// variables. + /// Required. The list of operations to perform on individual conversion custom + /// variables. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update) on a conversion custom variable. +/// A single operation (create, update) on a conversion custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_custom_variable_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionCustomVariableOperation`. pub mod conversion_custom_variable_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// custom variable. + /// Create operation: No resource name is expected for the new conversion + /// custom variable. #[prost(message, tag="1")] Create(super::super::resources::ConversionCustomVariable), - /// Update operation: The conversion custom variable is expected to have a - /// valid resource name. + /// Update operation: The conversion custom variable is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionCustomVariable), } } -/// Response message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Response message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v11.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion custom variable mutate. +/// The result for the conversion custom variable mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariableResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion custom variable with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion custom variable with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_custom_variable: ::core::option::Option, } @@ -9241,63 +9241,63 @@ pub mod conversion_custom_variable_service_client { } } } -/// Request message for -/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. +/// Request message for +/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion goal campaign - /// config. + /// Required. The list of operations to perform on individual conversion goal campaign + /// config. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (update) on a conversion goal campaign config. +/// A single operation (update) on a conversion goal campaign config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfigOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_goal_campaign_config_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionGoalCampaignConfigOperation`. pub mod conversion_goal_campaign_config_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The conversion goal campaign config is expected to have - /// a valid resource name. + /// Update operation: The conversion goal campaign config is expected to have + /// a valid resource name. #[prost(message, tag="1")] Update(super::super::resources::ConversionGoalCampaignConfig), } } -/// Response message for a conversion goal campaign config mutate. +/// Response message for a conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion goal campaign config mutate. +/// The result for the conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ConversionGoalCampaignConfig with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ConversionGoalCampaignConfig with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_goal_campaign_config: ::core::option::Option, } @@ -9401,85 +9401,85 @@ pub mod conversion_goal_campaign_config_service_client { } } } -/// Request message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Request message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesRequest { - /// Required. The ID of the customer whose conversion value rules are being modified. + /// Required. The ID of the customer whose conversion value rules are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rules. + /// Required. The list of operations to perform on individual conversion value rules. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule. +/// A single operation (create, update, remove) on a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleOperation`. pub mod conversion_value_rule_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule. + /// Create operation: No resource name is expected for the new conversion + /// value rule. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRule), - /// Update operation: The conversion value rule is expected to have a valid - /// resource name. + /// Update operation: The conversion value rule is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRule), - /// Remove operation: A resource name for the removed conversion value rule - /// is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Response message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v11.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule mutate. +/// The result for the conversion value rule mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule: ::core::option::Option, } @@ -9581,85 +9581,85 @@ pub mod conversion_value_rule_service_client { } } } -/// Request message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Request message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsRequest { - /// Required. The ID of the customer whose conversion value rule sets are being modified. + /// Required. The ID of the customer whose conversion value rule sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rule sets. + /// Required. The list of operations to perform on individual conversion value rule sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule set. +/// A single operation (create, update, remove) on a conversion value rule set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleSetOperation`. pub mod conversion_value_rule_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule set. + /// Create operation: No resource name is expected for the new conversion + /// value rule set. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRuleSet), - /// Update operation: The conversion value rule set is expected to have a - /// valid resource name. + /// Update operation: The conversion value rule set is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRuleSet), - /// Remove operation: A resource name for the removed conversion value rule - /// set is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// set is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Response message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v11.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule set mutate. +/// The result for the conversion value rule set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule set with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule set with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule_set: ::core::option::Option, } @@ -9761,72 +9761,72 @@ pub mod conversion_value_rule_set_service_client { } } } -/// Request message for -/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals\]. +/// Request message for +/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v11.services.CustomConversionGoalService.MutateCustomConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom conversion goal. + /// Required. The list of operations to perform on individual custom conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on a custom conversion goal. +/// A single operation (create, remove) on a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_conversion_goal_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomConversionGoalOperation`. pub mod custom_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// conversion goal + /// Create operation: No resource name is expected for the new custom + /// conversion goal #[prost(message, tag="1")] Create(super::super::resources::CustomConversionGoal), - /// Update operation: The custom conversion goal is expected to have a - /// valid resource name. + /// Update operation: The custom conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomConversionGoal), - /// Remove operation: A resource name for the removed custom conversion goal - /// is expected, in this format: + /// Remove operation: A resource name for the removed custom conversion goal + /// is expected, in this format: /// - /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a custom conversion goal mutate. +/// Response message for a custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom conversion goal mutate. +/// The result for the custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomConversionGoal with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomConversionGoal with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub custom_conversion_goal: ::core::option::Option, } @@ -9928,83 +9928,83 @@ pub mod custom_conversion_goal_service_client { } } } -/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets\]. +/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v11.services.CustomerAssetService.MutateCustomerAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsRequest { - /// Required. The ID of the customer whose customer assets are being modified. + /// Required. The ID of the customer whose customer assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer assets. + /// Required. The list of operations to perform on individual customer assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer asset. +/// A single operation (create, update, remove) on a customer asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerAssetOperation`. pub mod customer_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// asset. + /// Create operation: No resource name is expected for the new customer + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CustomerAsset), - /// Update operation: The customer asset is expected to have a valid resource - /// name. + /// Update operation: The customer asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CustomerAsset), - /// Remove operation: A resource name for the removed customer asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer asset is + /// expected, in this format: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer asset mutate. +/// Response message for a customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer asset mutate. +/// The result for the customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated customer asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_asset: ::core::option::Option, } @@ -10115,53 +10115,53 @@ pub mod customer_asset_service_client { } } } -/// Request message for -/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. +/// Request message for +/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v11.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsRequest { - /// Required. The ID of the customer whose customer conversion goals are being modified. + /// Required. The ID of the customer whose customer conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer conversion goal. + /// Required. The list of operations to perform on individual customer conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a customer conversion goal. +/// A single operation (update) on a customer conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerConversionGoalOperation`. pub mod customer_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerConversionGoal), } } -/// Response message for a customer conversion goal mutate. +/// Response message for a customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer conversion goal mutate. +/// The result for the customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -10263,76 +10263,76 @@ pub mod customer_conversion_goal_service_client { } } } -/// Request message for -/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers\]. +/// Request message for +/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v11.services.CustomerCustomizerService.MutateCustomerCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersRequest { - /// Required. The ID of the customer whose customer customizers are being modified. + /// Required. The ID of the customer whose customer customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer customizers. + /// Required. The list of operations to perform on individual customer customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerCustomizerOperation`. pub mod customer_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// customizer + /// Create operation: No resource name is expected for the new customer + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CustomerCustomizer), - /// Remove operation: A resource name for the removed customer customizer is - /// expected, in this format: - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customer customizer is + /// expected, in this format: + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_customizer: ::core::option::Option, } @@ -10434,86 +10434,86 @@ pub mod customer_customizer_service_client { } } } -/// Request message for -/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. +/// Request message for +/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v11.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsRequest { - /// Required. The ID of the customer whose customer extension settings are being - /// modified. + /// Required. The ID of the customer whose customer extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer extension - /// settings. + /// Required. The list of operations to perform on individual customer extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer extension setting. +/// A single operation (create, update, remove) on a customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerExtensionSettingOperation`. pub mod customer_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// extension setting. + /// Create operation: No resource name is expected for the new customer + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CustomerExtensionSetting), - /// Update operation: The customer extension setting is expected to have a - /// valid resource name. + /// Update operation: The customer extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerExtensionSetting), - /// Remove operation: A resource name for the removed customer extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed customer extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer extension setting mutate. +/// Response message for a customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer extension setting mutate. +/// The result for the customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_extension_setting: ::core::option::Option, } @@ -10644,82 +10644,82 @@ pub mod customer_extension_setting_service_client { } } } -/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds\]. +/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v11.services.CustomerFeedService.MutateCustomerFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsRequest { - /// Required. The ID of the customer whose customer feeds are being modified. + /// Required. The ID of the customer whose customer feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer feeds. + /// Required. The list of operations to perform on individual customer feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer feed. +/// A single operation (create, update, remove) on a customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerFeedOperation`. pub mod customer_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer feed. + /// Create operation: No resource name is expected for the new customer feed. #[prost(message, tag="1")] Create(super::super::resources::CustomerFeed), - /// Update operation: The customer feed is expected to have a valid resource - /// name. + /// Update operation: The customer feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CustomerFeed), - /// Remove operation: A resource name for the removed customer feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer feed is + /// expected, in this format: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer feed mutate. +/// Response message for a customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer feed mutate. +/// The result for the customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated customer feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_feed: ::core::option::Option, } @@ -10840,67 +10840,67 @@ pub mod customer_feed_service_client { } } } -/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels\]. +/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v11.services.CustomerLabelService.MutateCustomerLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsRequest { - /// Required. ID of the customer whose customer-label relationships are being modified. + /// Required. ID of the customer whose customer-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on customer-label relationships. + /// Required. The list of operations to perform on customer-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a customer-label relationship. +/// A single operation (create, remove) on a customer-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerLabelOperation`. pub mod customer_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer-label - /// relationship. + /// Create operation: No resource name is expected for the new customer-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CustomerLabel), - /// Remove operation: A resource name for the customer-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the customer-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/customerLabels/{label_id}` + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer labels mutate. +/// Response message for a customer labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a customer label mutate. +/// The result for a customer label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -11011,75 +11011,75 @@ pub mod customer_label_service_client { } } } -/// Request message for -/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. +/// Request message for +/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v11.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create or remove) on a customer level negative criterion. +/// A single operation (create or remove) on a customer level negative criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_negative_criterion_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterionOperation`. pub mod customer_negative_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CustomerNegativeCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer negative criterion mutate. +/// Response message for customer negative criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated criterion with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated criterion with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_negative_criterion: ::core::option::Option, } @@ -11194,96 +11194,96 @@ pub mod customer_negative_criterion_service_client { } } } -/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v11.services.CustomerService.MutateCustomer\]. +/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v11.services.CustomerService.MutateCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="4")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="6")] pub response_content_type: i32, } -/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v11.services.CustomerService.CreateCustomerClient\]. +/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v11.services.CustomerService.CreateCustomerClient\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientRequest { - /// Required. The ID of the Manager under whom client customer is being created. + /// Required. The ID of the Manager under whom client customer is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The new client customer to create. The resource name on this customer - /// will be ignored. + /// Required. The new client customer to create. The resource name on this customer + /// will be ignored. #[prost(message, optional, tag="2")] pub customer_client: ::core::option::Option, - /// Email address of the user who should be invited on the created client - /// customer. Accessible only to customers on the allow-list. + /// Email address of the user who should be invited on the created client + /// customer. Accessible only to customers on the allow-list. #[prost(string, optional, tag="5")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed role of user on the created client customer. - /// Accessible only to customers on the allow-list. + /// The proposed role of user on the created client customer. + /// Accessible only to customers on the allow-list. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="6")] pub validate_only: bool, } -/// A single update on a customer. +/// A single update on a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerOperation { - /// Mutate operation. Only updates are supported for customer. + /// Mutate operation. Only updates are supported for customer. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for CreateCustomerClient mutate. +/// Response message for CreateCustomerClient mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientResponse { - /// The resource name of the newly created customer. Customer resource names - /// have the form: `customers/{customer_id}`. + /// The resource name of the newly created customer. Customer resource names + /// have the form: `customers/{customer_id}`. #[prost(string, tag="2")] pub resource_name: ::prost::alloc::string::String, - /// Link for inviting user to access the created customer. Accessible to - /// allowlisted customers only. + /// Link for inviting user to access the created customer. Accessible to + /// allowlisted customers only. #[prost(string, tag="3")] pub invitation_link: ::prost::alloc::string::String, } -/// Response message for customer mutate. +/// Response message for customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the customer mutate. +/// The result for the customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer with only mutable fields after mutate. The fields will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated customer with only mutable fields after mutate. The fields will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer: ::core::option::Option, } -/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers\]. +/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersRequest { } -/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers\]. +/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v11.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersResponse { - /// Resource name of customers directly accessible by the - /// user authenticating the call. + /// Resource name of customers directly accessible by the + /// user authenticating the call. #[prost(string, repeated, tag="1")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -11458,79 +11458,79 @@ pub mod customer_service_client { } } } -/// Request message for -/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes\]. +/// Request message for +/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v11.services.CustomizerAttributeService.MutateCustomizerAttributes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesRequest { - /// Required. The ID of the customer whose customizer attributes are being modified. + /// Required. The ID of the customer whose customizer attributes are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customizer attributes. + /// Required. The list of operations to perform on individual customizer attributes. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customizer_attribute_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomizerAttributeOperation`. pub mod customizer_attribute_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customizer - /// attribute + /// Create operation: No resource name is expected for the new customizer + /// attribute #[prost(message, tag="1")] Create(super::super::resources::CustomizerAttribute), - /// Remove operation: A resource name for the removed customizer attribute is - /// expected, in this format: - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customizer attribute is + /// expected, in this format: + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributeResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomizerAttribute with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomizerAttribute with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customizer_attribute: ::core::option::Option, } @@ -11632,82 +11632,82 @@ pub mod customizer_attribute_service_client { } } } -/// Request message for \[ExperimentArmService.MutateExperimentArms][google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms\]. +/// Request message for \[ExperimentArmService.MutateExperimentArms][google.ads.googleads.v11.services.ExperimentArmService.MutateExperimentArms\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmsRequest { - /// Required. The ID of the customer whose experiments are being modified. + /// Required. The ID of the customer whose experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual experiment arm. + /// Required. The list of operations to perform on individual experiment arm. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation on an experiment arm. +/// A single operation on an experiment arm. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentArmOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="experiment_arm_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExperimentArmOperation`. pub mod experiment_arm_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation + /// Create operation #[prost(message, tag="1")] Create(super::super::resources::ExperimentArm), - /// Update operation: The experiment arm is expected to have a valid - /// resource name. + /// Update operation: The experiment arm is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ExperimentArm), - /// Remove operation: The experiment arm is expected to have a valid - /// resource name, in this format: + /// Remove operation: The experiment arm is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/experiments/{campaign_experiment_id}` + /// `customers/{customer_id}/experiments/{campaign_experiment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for experiment arm mutate. +/// Response message for experiment arm mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the experiment arm mutate. +/// The result for the experiment arm mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentArmResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated experiment arm with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated experiment arm with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub experiment_arm: ::core::option::Option, } @@ -11816,181 +11816,181 @@ pub mod experiment_arm_service_client { } } } -/// Request message for \[ExperimentService.MutateExperiments][google.ads.googleads.v11.services.ExperimentService.MutateExperiments\]. +/// Request message for \[ExperimentService.MutateExperiments][google.ads.googleads.v11.services.ExperimentService.MutateExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentsRequest { - /// Required. The ID of the customer whose experiments are being modified. + /// Required. The ID of the customer whose experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual experiments. + /// Required. The list of operations to perform on individual experiments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation on an experiment. +/// A single operation on an experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExperimentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="experiment_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExperimentOperation`. pub mod experiment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation + /// Create operation #[prost(message, tag="1")] Create(super::super::resources::Experiment), - /// Update operation: The experiment is expected to have a valid - /// resource name. + /// Update operation: The experiment is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::Experiment), - /// Remove operation: The experiment is expected to have a valid - /// resource name, in this format: + /// Remove operation: The experiment is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/experiments/{campaign_experiment_id}` + /// `customers/{customer_id}/experiments/{campaign_experiment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for experiment mutate. +/// Response message for experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign experiment mutate. +/// The result for the campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExperimentResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.EndExperiment][google.ads.googleads.v11.services.ExperimentService.EndExperiment\]. +/// Request message for \[ExperimentService.EndExperiment][google.ads.googleads.v11.services.ExperimentService.EndExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndExperimentRequest { - /// Required. The resource name of the campaign experiment to end. + /// Required. The resource name of the campaign experiment to end. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors\]. +/// Request message for +/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentAsyncErrorsRequest { - /// Required. The name of the experiment from which to retrieve the async - /// errors. + /// Required. The name of the experiment from which to retrieve the async + /// errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. - /// The maximum page size is 1000. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. + /// The maximum page size is 1000. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for -/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors\]. +/// Response message for +/// \[ExperimentService.ListExperimentAsyncErrors][google.ads.googleads.v11.services.ExperimentService.ListExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentAsyncErrorsResponse { - /// details of the errors when performing the asynchronous operation. + /// details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.GraduateExperiment][google.ads.googleads.v11.services.ExperimentService.GraduateExperiment\]. +/// Request message for \[ExperimentService.GraduateExperiment][google.ads.googleads.v11.services.ExperimentService.GraduateExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateExperimentRequest { - /// Required. The experiment to be graduated. + /// Required. The experiment to be graduated. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, - /// Required. List of campaign budget mappings for graduation. Each campaign that - /// appears here will graduate, and will be assigned a new budget that is - /// paired with it in the mapping. The maximum size is one. + /// Required. List of campaign budget mappings for graduation. Each campaign that + /// appears here will graduate, and will be assigned a new budget that is + /// paired with it in the mapping. The maximum size is one. #[prost(message, repeated, tag="2")] pub campaign_budget_mappings: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// The mapping of experiment campaign and budget to be graduated. +/// The mapping of experiment campaign and budget to be graduated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetMapping { - /// Required. The experiment campaign to graduate. + /// Required. The experiment campaign to graduate. #[prost(string, tag="1")] pub experiment_campaign: ::prost::alloc::string::String, - /// Required. The budget that should be attached to the graduating experiment campaign. + /// Required. The budget that should be attached to the graduating experiment campaign. #[prost(string, tag="2")] pub campaign_budget: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.ScheduleExperiment][google.ads.googleads.v11.services.ExperimentService.ScheduleExperiment\]. +/// Request message for \[ExperimentService.ScheduleExperiment][google.ads.googleads.v11.services.ExperimentService.ScheduleExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleExperimentRequest { - /// Required. The scheduled experiment. + /// Required. The scheduled experiment. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// The metadata of the scheduled experiment. +/// The metadata of the scheduled experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleExperimentMetadata { - /// Required. The scheduled experiment. + /// Required. The scheduled experiment. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, } -/// Request message for \[ExperimentService.PromoteExperiment][google.ads.googleads.v11.services.ExperimentService.PromoteExperiment\]. +/// Request message for \[ExperimentService.PromoteExperiment][google.ads.googleads.v11.services.ExperimentService.PromoteExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteExperimentRequest { - /// Required. The resource name of the experiment to promote. + /// Required. The resource name of the experiment to promote. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// The metadata of the promoted experiment. +/// The metadata of the promoted experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteExperimentMetadata { - /// Required. The promoted experiment. + /// Required. The promoted experiment. #[prost(string, tag="1")] pub experiment: ::prost::alloc::string::String, } @@ -12273,84 +12273,84 @@ pub mod experiment_service_client { } } } -/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. +/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v11.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsRequest { - /// Required. The ID of the customer whose extension feed items are being - /// modified. + /// Required. The ID of the customer whose extension feed items are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual extension feed items. + /// Required. The list of operations to perform on individual extension feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an extension feed item. +/// A single operation (create, update, remove) on an extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="extension_feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItemOperation`. pub mod extension_feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new extension - /// feed item. + /// Create operation: No resource name is expected for the new extension + /// feed item. #[prost(message, tag="1")] Create(super::super::resources::ExtensionFeedItem), - /// Update operation: The extension feed item is expected to have a - /// valid resource name. + /// Update operation: The extension feed item is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ExtensionFeedItem), - /// Remove operation: A resource name for the removed extension feed item - /// is expected, in this format: + /// Remove operation: A resource name for the removed extension feed item + /// is expected, in this format: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an extension feed item mutate. +/// Response message for an extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the extension feed item mutate. +/// The result for the extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated extension feed item with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated extension feed item with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub extension_feed_item: ::core::option::Option, } @@ -12477,81 +12477,81 @@ pub mod extension_feed_item_service_client { } } } -/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v11.services.FeedItemService.MutateFeedItems\]. +/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v11.services.FeedItemService.MutateFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsRequest { - /// Required. The ID of the customer whose feed items are being modified. + /// Required. The ID of the customer whose feed items are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed items. + /// Required. The list of operations to perform on individual feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed item. +/// A single operation (create, update, remove) on an feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemOperation`. pub mod feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item. + /// Create operation: No resource name is expected for the new feed item. #[prost(message, tag="1")] Create(super::super::resources::FeedItem), - /// Update operation: The feed item is expected to have a valid resource - /// name. + /// Update operation: The feed item is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItem), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item mutate. +/// Response message for an feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item mutate. +/// The result for the feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed item with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item: ::core::option::Option, } @@ -12675,67 +12675,67 @@ pub mod feed_item_service_client { } } } -/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. +/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v11.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksRequest { - /// Required. The ID of the customer whose feed item set links are being modified. + /// Required. The ID of the customer whose feed item set links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item set links. + /// Required. The list of operations to perform on individual feed item set links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a feed item set link. +/// A single operation (create, update, remove) on a feed item set link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetLinkOperation`. pub mod feed_item_set_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the - /// new feed item set link. + /// Create operation: No resource name is expected for the + /// new feed item set link. #[prost(message, tag="1")] Create(super::super::resources::FeedItemSetLink), - /// Remove operation: A resource name for the removed feed item set link is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item set link is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed item set link mutate. +/// Response message for a feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set link mutate. +/// The result for the feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -12844,72 +12844,72 @@ pub mod feed_item_set_link_service_client { } } } -/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets\]. +/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v11.services.FeedItemSetService.MutateFeedItemSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsRequest { - /// Required. The ID of the customer whose feed item sets are being modified. + /// Required. The ID of the customer whose feed item sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item sets. + /// Required. The list of operations to perform on individual feed item sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item set. +/// A single operation (create, remove) on an feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetOperation`. pub mod feed_item_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item set + /// Create operation: No resource name is expected for the new feed item set #[prost(message, tag="1")] Create(super::super::resources::FeedItemSet), - /// Update operation: The feed item set is expected to have a valid resource - /// name. + /// Update operation: The feed item set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItemSet), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item set mutate. +/// Response message for an feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set mutate. +/// The result for the feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13015,76 +13015,76 @@ pub mod feed_item_set_service_client { } } } -/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets\]. +/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v11.services.FeedItemTargetService.MutateFeedItemTargets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsRequest { - /// Required. The ID of the customer whose feed item targets are being modified. + /// Required. The ID of the customer whose feed item targets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item targets. + /// Required. The list of operations to perform on individual feed item targets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item target. +/// A single operation (create, remove) on an feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_target_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemTargetOperation`. pub mod feed_item_target_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item - /// target. + /// Create operation: No resource name is expected for the new feed item + /// target. #[prost(message, tag="1")] Create(super::super::resources::FeedItemTarget), - /// Remove operation: A resource name for the removed feed item target is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item target is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item target mutate. +/// Response message for an feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item target mutate. +/// The result for the feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item target with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed item target with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item_target: ::core::option::Option, } @@ -13204,75 +13204,75 @@ pub mod feed_item_target_service_client { } } } -/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings\]. +/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v11.services.FeedMappingService.MutateFeedMappings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsRequest { - /// Required. The ID of the customer whose feed mappings are being modified. + /// Required. The ID of the customer whose feed mappings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed mappings. + /// Required. The list of operations to perform on individual feed mappings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a feed mapping. +/// A single operation (create, remove) on a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_mapping_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedMappingOperation`. pub mod feed_mapping_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed mapping. + /// Create operation: No resource name is expected for the new feed mapping. #[prost(message, tag="1")] Create(super::super::resources::FeedMapping), - /// Remove operation: A resource name for the removed feed mapping is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed mapping is + /// expected, in this format: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed mapping mutate. +/// Response message for a feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mapping mutate. +/// The result for the feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed mapping with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed mapping with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_mapping: ::core::option::Option, } @@ -13390,81 +13390,81 @@ pub mod feed_mapping_service_client { } } } -/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v11.services.FeedService.MutateFeeds\]. +/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v11.services.FeedService.MutateFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsRequest { - /// Required. The ID of the customer whose feeds are being modified. + /// Required. The ID of the customer whose feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feeds. + /// Required. The list of operations to perform on individual feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed. +/// A single operation (create, update, remove) on an feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedOperation`. pub mod feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed. + /// Create operation: No resource name is expected for the new feed. #[prost(message, tag="1")] Create(super::super::resources::Feed), - /// Update operation: The feed is expected to have a valid resource - /// name. + /// Update operation: The feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::Feed), - /// Remove operation: A resource name for the removed feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed is + /// expected, in this format: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed mutate. +/// Response message for an feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mutate. +/// The result for the feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed: ::core::option::Option, } @@ -13587,79 +13587,79 @@ pub mod feed_service_client { } } } -/// Request message for -/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. +/// Request message for +/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v11.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsRequest { - /// Required. The ID of the customer whose Keyword Plan ad group keywords are being - /// modified. + /// Required. The ID of the customer whose Keyword Plan ad group keywords are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad group - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan ad group + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan ad group +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupKeywordOperation`. pub mod keyword_plan_ad_group_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroupKeyword), - /// Update operation: The Keyword Plan ad group keyword is expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan ad group keyword is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroupKeyword), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// keyword is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// keyword is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group keyword mutate. +/// Response message for a Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group keyword mutate. +/// The result for the Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13781,76 +13781,76 @@ pub mod keyword_plan_ad_group_keyword_service_client { } } } -/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. +/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v11.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsRequest { - /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. + /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad groups. + /// Required. The list of operations to perform on individual Keyword Plan ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group. +/// A single operation (create, update, remove) on a Keyword Plan ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupOperation`. pub mod keyword_plan_ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroup), - /// Update operation: The Keyword Plan ad group is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan ad group is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroup), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group mutate. +/// Response message for a Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. The order of the results is determined by the - /// order of the keywords in the original request. + /// All results for the mutate. The order of the results is determined by the + /// order of the keywords in the original request. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group mutate. +/// The result for the Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13968,78 +13968,78 @@ pub mod keyword_plan_ad_group_service_client { } } } -/// Request message for -/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. +/// Request message for +/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v11.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsRequest { - /// Required. The ID of the customer whose campaign keywords are being modified. + /// Required. The ID of the customer whose campaign keywords are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaign - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan campaign + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan campaign +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignKeywordOperation`. pub mod keyword_plan_campaign_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaignKeyword), - /// Update operation: The Keyword Plan campaign keyword expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan campaign keyword expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaignKeyword), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// keywords expected in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// keywords expected in this format: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign keyword mutate. +/// Response message for a Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign keyword mutate. +/// The result for the Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -14159,76 +14159,76 @@ pub mod keyword_plan_campaign_keyword_service_client { } } } -/// Request message for -/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. +/// Request message for +/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v11.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsRequest { - /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. + /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaigns. + /// Required. The list of operations to perform on individual Keyword Plan campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign. +/// A single operation (create, update, remove) on a Keyword Plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignOperation`. pub mod keyword_plan_campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaign), - /// Update operation: The Keyword Plan campaign is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaign), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign mutate. +/// Response message for a Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign mutate. +/// The result for the Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -14347,278 +14347,278 @@ pub mod keyword_plan_campaign_service_client { } } } -/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v11.services.KeywordPlanService.MutateKeywordPlans\]. +/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v11.services.KeywordPlanService.MutateKeywordPlans\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansRequest { - /// Required. The ID of the customer whose keyword plans are being modified. + /// Required. The ID of the customer whose keyword plans are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual keyword plans. + /// Required. The list of operations to perform on individual keyword plans. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a keyword plan. +/// A single operation (create, update, remove) on a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanOperation`. pub mod keyword_plan_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new keyword plan. + /// Create operation: No resource name is expected for the new keyword plan. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlan), - /// Update operation: The keyword plan is expected to have a valid resource - /// name. + /// Update operation: The keyword plan is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlan), - /// Remove operation: A resource name for the removed keyword plan is - /// expected in this format: + /// Remove operation: A resource name for the removed keyword plan is + /// expected in this format: /// - /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a keyword plan mutate. +/// Response message for a keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the keyword plan mutate. +/// The result for the keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve\]. +/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve\]. +/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveResponse { - /// List of forecast curves for the keyword plan campaign. - /// One maximum. + /// List of forecast curves for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecast_curves: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesResponse { - /// List of weekly time series forecasts for the keyword plan campaign. - /// One maximum. + /// List of weekly time series forecasts for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub weekly_time_series_forecasts: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsResponse { - /// List of campaign forecasts. - /// One maximum. + /// List of campaign forecasts. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecasts: ::prost::alloc::vec::Vec, - /// List of ad group forecasts. + /// List of ad group forecasts. #[prost(message, repeated, tag="2")] pub ad_group_forecasts: ::prost::alloc::vec::Vec, - /// List of keyword forecasts. + /// List of keyword forecasts. #[prost(message, repeated, tag="3")] pub keyword_forecasts: ::prost::alloc::vec::Vec, } -/// A campaign forecast. +/// A campaign forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign. + /// The forecast for the Keyword Plan campaign. #[prost(message, optional, tag="2")] pub campaign_forecast: ::core::option::Option, } -/// An ad group forecast. +/// An ad group forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupForecast { - /// The resource name of the Keyword Plan ad group related to the forecast. + /// The resource name of the Keyword Plan ad group related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan ad group. + /// The forecast for the Keyword Plan ad group. #[prost(message, optional, tag="2")] pub ad_group_forecast: ::core::option::Option, } -/// A keyword forecast. +/// A keyword forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordForecast { - /// The resource name of the Keyword Plan keyword related to the forecast. + /// The resource name of the Keyword Plan keyword related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group_keyword: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan keyword. + /// The forecast for the Keyword Plan keyword. #[prost(message, optional, tag="2")] pub keyword_forecast: ::core::option::Option, } -/// The forecast curve for the campaign. +/// The forecast curve for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecastCurve { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The max cpc bid forecast curve for the campaign. + /// The max cpc bid forecast curve for the campaign. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast_curve: ::core::option::Option, } -/// The max cpc bid forecast curve. +/// The max cpc bid forecast curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecastCurve { - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="1")] pub max_cpc_bid_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign at a specific bid. +/// The forecast of the campaign at a specific bid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecast { - /// The max cpc bid in micros. + /// The max cpc bid in micros. #[prost(int64, optional, tag="3")] pub max_cpc_bid_micros: ::core::option::Option, - /// The forecast for the Keyword Plan campaign at the specific bid. + /// The forecast for the Keyword Plan campaign at the specific bid. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast: ::core::option::Option, } -/// The weekly time series forecast for the keyword plan campaign. +/// The weekly time series forecast for the keyword plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyTimeSeriesForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="1")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="2")] pub weekly_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign for the week starting start_date. +/// The forecast of the campaign for the week starting start_date. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyForecast { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="1")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign for the week. + /// The forecast for the Keyword Plan campaign for the week. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, } -/// Forecast metrics. +/// Forecast metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForecastMetrics { - /// Impressions + /// Impressions #[prost(double, optional, tag="7")] pub impressions: ::core::option::Option, - /// Ctr + /// Ctr #[prost(double, optional, tag="8")] pub ctr: ::core::option::Option, - /// AVG cpc + /// AVG cpc #[prost(int64, optional, tag="9")] pub average_cpc: ::core::option::Option, - /// Clicks + /// Clicks #[prost(double, optional, tag="10")] pub clicks: ::core::option::Option, - /// Cost + /// Cost #[prost(int64, optional, tag="11")] pub cost_micros: ::core::option::Option, } -/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsRequest { - /// Required. The resource name of the keyword plan of which historical metrics are - /// requested. + /// Required. The resource name of the keyword plan of which historical metrics are + /// requested. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="2")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="3")] pub historical_metrics_options: ::core::option::Option, } -/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsResponse { - /// List of keyword historical metrics. + /// List of keyword historical metrics. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all the keywords in the keyword planner plan. + /// The aggregate metrics for all the keywords in the keyword planner plan. #[prost(message, optional, tag="2")] pub aggregate_metric_results: ::core::option::Option, } -/// A keyword historical metrics. +/// A keyword historical metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordHistoricalMetrics { - /// The text of the query associated with one or more ad_group_keywords in the - /// plan. + /// The text of the query associated with one or more ad_group_keywords in the + /// plan. /// - /// Note that we de-dupe your keywords list, eliminating close variants before - /// returning the plan's keywords as text. For example, if your plan originally - /// contained the keywords 'car' and 'cars', the returned search query will - /// only contain 'cars'. - /// Starting V5, the list of de-duped queries will be included in - /// close_variants field. + /// Note that we de-dupe your keywords list, eliminating close variants before + /// returning the plan's keywords as text. For example, if your plan originally + /// contained the keywords 'car' and 'cars', the returned search query will + /// only contain 'cars'. + /// Starting V5, the list of de-duped queries will be included in + /// close_variants field. #[prost(string, optional, tag="4")] pub search_query: ::core::option::Option<::prost::alloc::string::String>, - /// The list of close variant queries for search_query whose search results - /// are combined into the search_query. + /// The list of close variant queries for search_query whose search results + /// are combined into the search_query. #[prost(string, repeated, tag="3")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The historical metrics for the query associated with one or more - /// ad_group_keywords in the plan. + /// The historical metrics for the query associated with one or more + /// ad_group_keywords in the plan. #[prost(message, optional, tag="2")] pub keyword_metrics: ::core::option::Option, } @@ -14869,80 +14869,80 @@ pub mod keyword_plan_service_client { } } } -/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v11.services.LabelService.MutateLabels\]. +/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v11.services.LabelService.MutateLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsRequest { - /// Required. ID of the customer whose labels are being modified. + /// Required. ID of the customer whose labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on labels. + /// Required. The list of operations to perform on labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a label. +/// A single operation (create, remove, update) on a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="label_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `LabelOperation`. pub mod label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new label. + /// Create operation: No resource name is expected for the new label. #[prost(message, tag="1")] Create(super::super::resources::Label), - /// Update operation: The label is expected to have a valid resource name. + /// Update operation: The label is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::Label), - /// Remove operation: A resource name for the label being removed, in - /// this format: + /// Remove operation: A resource name for the label being removed, in + /// this format: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a labels mutate. +/// Response message for a labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a label mutate. +/// The result for a label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated label with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated label with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub label: ::core::option::Option, } @@ -15063,69 +15063,69 @@ pub mod label_service_client { } } } -/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles\] +/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v11.services.MediaFileService.MutateMediaFiles\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesRequest { - /// Required. The ID of the customer whose media files are being modified. + /// Required. The ID of the customer whose media files are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual media file. + /// Required. The list of operations to perform on individual media file. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to create media file. +/// A single operation to create media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="media_file_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MediaFileOperation`. pub mod media_file_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new media file. + /// Create operation: No resource name is expected for the new media file. #[prost(message, tag="1")] Create(super::super::resources::MediaFile), } } -/// Response message for a media file mutate. +/// Response message for a media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the media file mutate. +/// The result for the media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFileResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated media file with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated media file with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub media_file: ::core::option::Option, } @@ -15244,68 +15244,68 @@ pub mod media_file_service_client { } } } -/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions\]. +/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v11.services.RemarketingActionService.MutateRemarketingActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsRequest { - /// Required. The ID of the customer whose remarketing actions are being modified. + /// Required. The ID of the customer whose remarketing actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual remarketing actions. + /// Required. The list of operations to perform on individual remarketing actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a remarketing action. +/// A single operation (create, update) on a remarketing action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="remarketing_action_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `RemarketingActionOperation`. pub mod remarketing_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new remarketing - /// action. + /// Create operation: No resource name is expected for the new remarketing + /// action. #[prost(message, tag="1")] Create(super::super::resources::RemarketingAction), - /// Update operation: The remarketing action is expected to have a valid - /// resource name. + /// Update operation: The remarketing action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::RemarketingAction), } } -/// Response message for remarketing action mutate. +/// Response message for remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the remarketing action mutate. +/// The result for the remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -15415,76 +15415,76 @@ pub mod remarketing_action_service_client { } } } -/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria\]. +/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v11.services.SharedCriterionService.MutateSharedCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaRequest { - /// Required. The ID of the customer whose shared criteria are being modified. + /// Required. The ID of the customer whose shared criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared criteria. + /// Required. The list of operations to perform on individual shared criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an shared criterion. +/// A single operation (create, remove) on an shared criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_criterion_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedCriterionOperation`. pub mod shared_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared - /// criterion. + /// Create operation: No resource name is expected for the new shared + /// criterion. #[prost(message, tag="1")] Create(super::super::resources::SharedCriterion), - /// Remove operation: A resource name for the removed shared criterion is - /// expected, in this format: + /// Remove operation: A resource name for the removed shared criterion is + /// expected, in this format: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared criterion mutate. +/// Response message for a shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared criterion mutate. +/// The result for the shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_criterion: ::core::option::Option, } @@ -15607,82 +15607,82 @@ pub mod shared_criterion_service_client { } } } -/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v11.services.SharedSetService.MutateSharedSets\]. +/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v11.services.SharedSetService.MutateSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsRequest { - /// Required. The ID of the customer whose shared sets are being modified. + /// Required. The ID of the customer whose shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared sets. + /// Required. The list of operations to perform on individual shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an shared set. +/// A single operation (create, update, remove) on an shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedSetOperation`. pub mod shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared set. + /// Create operation: No resource name is expected for the new shared set. #[prost(message, tag="1")] Create(super::super::resources::SharedSet), - /// Update operation: The shared set is expected to have a valid resource - /// name. + /// Update operation: The shared set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::SharedSet), - /// Remove operation: A resource name for the removed shared set is expected, - /// in this format: + /// Remove operation: A resource name for the removed shared set is expected, + /// in this format: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared set mutate. +/// Response message for a shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared set mutate. +/// The result for the shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared set with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared set with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_set: ::core::option::Option, } @@ -15803,64 +15803,64 @@ pub mod shared_set_service_client { } } } -/// Request message for -/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. +/// Request message for +/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsRequest { - /// Required. The ID of the customer whose Smart campaign settings are being modified. + /// Required. The ID of the customer whose Smart campaign settings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Smart campaign settings. + /// Required. The list of operations to perform on individual Smart campaign settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to update Smart campaign settings for a campaign. +/// A single operation to update Smart campaign settings for a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSettingOperation { - /// Update operation: The Smart campaign setting must specify a valid - /// resource name. + /// Update operation: The Smart campaign setting must specify a valid + /// resource name. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Smart campaign setting mutate. +/// The result for the Smart campaign setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated Smart campaign setting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated Smart campaign setting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub smart_campaign_setting: ::core::option::Option, } @@ -15961,73 +15961,73 @@ pub mod smart_campaign_setting_service_client { } } } -/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v11.services.UserListService.MutateUserLists\]. +/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v11.services.UserListService.MutateUserLists\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsRequest { - /// Required. The ID of the customer whose user lists are being modified. + /// Required. The ID of the customer whose user lists are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual user lists. + /// Required. The list of operations to perform on individual user lists. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a user list. +/// A single operation (create, update) on a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="user_list_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserListOperation`. pub mod user_list_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new user list. + /// Create operation: No resource name is expected for the new user list. #[prost(message, tag="1")] Create(super::super::resources::UserList), - /// Update operation: The user list is expected to have a valid resource - /// name. + /// Update operation: The user list is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::UserList), - /// Remove operation: A resource name for the removed user list is expected, - /// in this format: + /// Remove operation: A resource name for the removed user list is expected, + /// in this format: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for user list mutate. +/// Response message for user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the user list mutate. +/// The result for the user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -16145,1080 +16145,1080 @@ pub mod user_list_service_client { } } } -/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search\]. +/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="4")] pub page_size: i32, - /// If true, the request is validated but not executed. + /// If true, the request is validated but not executed. #[prost(bool, tag="5")] pub validate_only: bool, - /// If true, the total number of results that match the query ignoring the - /// LIMIT clause will be included in the response. - /// Default is false. + /// If true, the total number of results that match the query ignoring the + /// LIMIT clause will be included in the response. + /// Default is false. #[prost(bool, tag="7")] pub return_total_results_count: bool, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="8")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search\]. +/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v11.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT - /// clause. + /// Total number of results that match the query ignoring the LIMIT + /// clause. #[prost(int64, tag="3")] pub total_results_count: i64, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="5")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="6")] pub summary_row: ::core::option::Option, } -/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream\]. +/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="3")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream\]. +/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v11.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="3")] pub summary_row: ::core::option::Option, - /// The unique id of the request that is used for debugging purposes. + /// The unique id of the request that is used for debugging purposes. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// A returned row from the query. +/// A returned row from the query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsRow { - /// The account budget in the query. + /// The account budget in the query. #[prost(message, optional, tag="42")] pub account_budget: ::core::option::Option, - /// The account budget proposal referenced in the query. + /// The account budget proposal referenced in the query. #[prost(message, optional, tag="43")] pub account_budget_proposal: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="143")] pub account_link: ::core::option::Option, - /// The ad group referenced in the query. + /// The ad group referenced in the query. #[prost(message, optional, tag="3")] pub ad_group: ::core::option::Option, - /// The ad referenced in the query. + /// The ad referenced in the query. #[prost(message, optional, tag="16")] pub ad_group_ad: ::core::option::Option, - /// The ad group ad asset combination view in the query. + /// The ad group ad asset combination view in the query. #[prost(message, optional, tag="193")] pub ad_group_ad_asset_combination_view: ::core::option::Option, - /// The ad group ad asset view in the query. + /// The ad group ad asset view in the query. #[prost(message, optional, tag="131")] pub ad_group_ad_asset_view: ::core::option::Option, - /// The ad group ad label referenced in the query. + /// The ad group ad label referenced in the query. #[prost(message, optional, tag="120")] pub ad_group_ad_label: ::core::option::Option, - /// The ad group asset referenced in the query. + /// The ad group asset referenced in the query. #[prost(message, optional, tag="154")] pub ad_group_asset: ::core::option::Option, - /// The ad group audience view referenced in the query. + /// The ad group audience view referenced in the query. #[prost(message, optional, tag="57")] pub ad_group_audience_view: ::core::option::Option, - /// The bid modifier referenced in the query. + /// The bid modifier referenced in the query. #[prost(message, optional, tag="24")] pub ad_group_bid_modifier: ::core::option::Option, - /// The criterion referenced in the query. + /// The criterion referenced in the query. #[prost(message, optional, tag="17")] pub ad_group_criterion: ::core::option::Option, - /// The ad group criterion customizer referenced in the query. + /// The ad group criterion customizer referenced in the query. #[prost(message, optional, tag="187")] pub ad_group_criterion_customizer: ::core::option::Option, - /// The ad group criterion label referenced in the query. + /// The ad group criterion label referenced in the query. #[prost(message, optional, tag="121")] pub ad_group_criterion_label: ::core::option::Option, - /// The ad group criterion simulation referenced in the query. + /// The ad group criterion simulation referenced in the query. #[prost(message, optional, tag="110")] pub ad_group_criterion_simulation: ::core::option::Option, - /// The ad group customizer referenced in the query. + /// The ad group customizer referenced in the query. #[prost(message, optional, tag="185")] pub ad_group_customizer: ::core::option::Option, - /// The ad group extension setting referenced in the query. + /// The ad group extension setting referenced in the query. #[prost(message, optional, tag="112")] pub ad_group_extension_setting: ::core::option::Option, - /// The ad group feed referenced in the query. + /// The ad group feed referenced in the query. #[prost(message, optional, tag="67")] pub ad_group_feed: ::core::option::Option, - /// The ad group label referenced in the query. + /// The ad group label referenced in the query. #[prost(message, optional, tag="115")] pub ad_group_label: ::core::option::Option, - /// The ad group simulation referenced in the query. + /// The ad group simulation referenced in the query. #[prost(message, optional, tag="107")] pub ad_group_simulation: ::core::option::Option, - /// The ad parameter referenced in the query. + /// The ad parameter referenced in the query. #[prost(message, optional, tag="130")] pub ad_parameter: ::core::option::Option, - /// The age range view referenced in the query. + /// The age range view referenced in the query. #[prost(message, optional, tag="48")] pub age_range_view: ::core::option::Option, - /// The ad schedule view referenced in the query. + /// The ad schedule view referenced in the query. #[prost(message, optional, tag="89")] pub ad_schedule_view: ::core::option::Option, - /// The domain category referenced in the query. + /// The domain category referenced in the query. #[prost(message, optional, tag="91")] pub domain_category: ::core::option::Option, - /// The asset referenced in the query. + /// The asset referenced in the query. #[prost(message, optional, tag="105")] pub asset: ::core::option::Option, - /// The asset field type view referenced in the query. + /// The asset field type view referenced in the query. #[prost(message, optional, tag="168")] pub asset_field_type_view: ::core::option::Option, - /// The asset group asset referenced in the query. + /// The asset group asset referenced in the query. #[prost(message, optional, tag="173")] pub asset_group_asset: ::core::option::Option, - /// The asset group signal referenced in the query. + /// The asset group signal referenced in the query. #[prost(message, optional, tag="191")] pub asset_group_signal: ::core::option::Option, - /// The asset group listing group filter referenced in the query. + /// The asset group listing group filter referenced in the query. #[prost(message, optional, tag="182")] pub asset_group_listing_group_filter: ::core::option::Option, - /// The asset group product group view referenced in the query. + /// The asset group product group view referenced in the query. #[prost(message, optional, tag="189")] pub asset_group_product_group_view: ::core::option::Option, - /// The asset group referenced in the query. + /// The asset group referenced in the query. #[prost(message, optional, tag="172")] pub asset_group: ::core::option::Option, - /// The asset set asset referenced in the query. + /// The asset set asset referenced in the query. #[prost(message, optional, tag="180")] pub asset_set_asset: ::core::option::Option, - /// The asset set referenced in the query. + /// The asset set referenced in the query. #[prost(message, optional, tag="179")] pub asset_set: ::core::option::Option, - /// The batch job referenced in the query. + /// The batch job referenced in the query. #[prost(message, optional, tag="139")] pub batch_job: ::core::option::Option, - /// The bidding data exclusion referenced in the query. + /// The bidding data exclusion referenced in the query. #[prost(message, optional, tag="159")] pub bidding_data_exclusion: ::core::option::Option, - /// The bidding seasonality adjustment referenced in the query. + /// The bidding seasonality adjustment referenced in the query. #[prost(message, optional, tag="160")] pub bidding_seasonality_adjustment: ::core::option::Option, - /// The bidding strategy referenced in the query. + /// The bidding strategy referenced in the query. #[prost(message, optional, tag="18")] pub bidding_strategy: ::core::option::Option, - /// The bidding strategy simulation referenced in the query. + /// The bidding strategy simulation referenced in the query. #[prost(message, optional, tag="158")] pub bidding_strategy_simulation: ::core::option::Option, - /// The billing setup referenced in the query. + /// The billing setup referenced in the query. #[prost(message, optional, tag="41")] pub billing_setup: ::core::option::Option, - /// The call view referenced in the query. + /// The call view referenced in the query. #[prost(message, optional, tag="152")] pub call_view: ::core::option::Option, - /// The campaign budget referenced in the query. + /// The campaign budget referenced in the query. #[prost(message, optional, tag="19")] pub campaign_budget: ::core::option::Option, - /// The campaign referenced in the query. + /// The campaign referenced in the query. #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, - /// The campaign asset referenced in the query. + /// The campaign asset referenced in the query. #[prost(message, optional, tag="142")] pub campaign_asset: ::core::option::Option, - /// The campaign asset set referenced in the query. + /// The campaign asset set referenced in the query. #[prost(message, optional, tag="181")] pub campaign_asset_set: ::core::option::Option, - /// The campaign audience view referenced in the query. + /// The campaign audience view referenced in the query. #[prost(message, optional, tag="69")] pub campaign_audience_view: ::core::option::Option, - /// The campaign bid modifier referenced in the query. + /// The campaign bid modifier referenced in the query. #[prost(message, optional, tag="26")] pub campaign_bid_modifier: ::core::option::Option, - /// The CampaignConversionGoal referenced in the query. + /// The CampaignConversionGoal referenced in the query. #[prost(message, optional, tag="175")] pub campaign_conversion_goal: ::core::option::Option, - /// The campaign criterion referenced in the query. + /// The campaign criterion referenced in the query. #[prost(message, optional, tag="20")] pub campaign_criterion: ::core::option::Option, - /// The campaign criterion simulation referenced in the query. + /// The campaign criterion simulation referenced in the query. #[prost(message, optional, tag="111")] pub campaign_criterion_simulation: ::core::option::Option, - /// The campaign customizer referenced in the query. + /// The campaign customizer referenced in the query. #[prost(message, optional, tag="186")] pub campaign_customizer: ::core::option::Option, - /// The campaign draft referenced in the query. + /// The campaign draft referenced in the query. #[prost(message, optional, tag="49")] pub campaign_draft: ::core::option::Option, - /// The campaign experiment referenced in the query. + /// The campaign experiment referenced in the query. #[prost(message, optional, tag="84")] pub campaign_experiment: ::core::option::Option, - /// The campaign extension setting referenced in the query. + /// The campaign extension setting referenced in the query. #[prost(message, optional, tag="113")] pub campaign_extension_setting: ::core::option::Option, - /// The campaign feed referenced in the query. + /// The campaign feed referenced in the query. #[prost(message, optional, tag="63")] pub campaign_feed: ::core::option::Option, - /// Campaign Group referenced in AWQL query. + /// Campaign Group referenced in AWQL query. #[prost(message, optional, tag="25")] pub campaign_group: ::core::option::Option, - /// The campaign label referenced in the query. + /// The campaign label referenced in the query. #[prost(message, optional, tag="108")] pub campaign_label: ::core::option::Option, - /// Campaign Shared Set referenced in AWQL query. + /// Campaign Shared Set referenced in AWQL query. #[prost(message, optional, tag="30")] pub campaign_shared_set: ::core::option::Option, - /// The campaign simulation referenced in the query. + /// The campaign simulation referenced in the query. #[prost(message, optional, tag="157")] pub campaign_simulation: ::core::option::Option, - /// The carrier constant referenced in the query. + /// The carrier constant referenced in the query. #[prost(message, optional, tag="66")] pub carrier_constant: ::core::option::Option, - /// The ChangeEvent referenced in the query. + /// The ChangeEvent referenced in the query. #[prost(message, optional, tag="145")] pub change_event: ::core::option::Option, - /// The ChangeStatus referenced in the query. + /// The ChangeStatus referenced in the query. #[prost(message, optional, tag="37")] pub change_status: ::core::option::Option, - /// The CombinedAudience referenced in the query. + /// The CombinedAudience referenced in the query. #[prost(message, optional, tag="148")] pub combined_audience: ::core::option::Option, - /// The Audience referenced in the query. + /// The Audience referenced in the query. #[prost(message, optional, tag="190")] pub audience: ::core::option::Option, - /// The conversion action referenced in the query. + /// The conversion action referenced in the query. #[prost(message, optional, tag="103")] pub conversion_action: ::core::option::Option, - /// The conversion custom variable referenced in the query. + /// The conversion custom variable referenced in the query. #[prost(message, optional, tag="153")] pub conversion_custom_variable: ::core::option::Option, - /// The ConversionGoalCampaignConfig referenced in the query. + /// The ConversionGoalCampaignConfig referenced in the query. #[prost(message, optional, tag="177")] pub conversion_goal_campaign_config: ::core::option::Option, - /// The conversion value rule referenced in the query. + /// The conversion value rule referenced in the query. #[prost(message, optional, tag="164")] pub conversion_value_rule: ::core::option::Option, - /// The conversion value rule set referenced in the query. + /// The conversion value rule set referenced in the query. #[prost(message, optional, tag="165")] pub conversion_value_rule_set: ::core::option::Option, - /// The ClickView referenced in the query. + /// The ClickView referenced in the query. #[prost(message, optional, tag="122")] pub click_view: ::core::option::Option, - /// The currency constant referenced in the query. + /// The currency constant referenced in the query. #[prost(message, optional, tag="134")] pub currency_constant: ::core::option::Option, - /// The CustomAudience referenced in the query. + /// The CustomAudience referenced in the query. #[prost(message, optional, tag="147")] pub custom_audience: ::core::option::Option, - /// The CustomConversionGoal referenced in the query. + /// The CustomConversionGoal referenced in the query. #[prost(message, optional, tag="176")] pub custom_conversion_goal: ::core::option::Option, - /// The CustomInterest referenced in the query. + /// The CustomInterest referenced in the query. #[prost(message, optional, tag="104")] pub custom_interest: ::core::option::Option, - /// The customer referenced in the query. + /// The customer referenced in the query. #[prost(message, optional, tag="1")] pub customer: ::core::option::Option, - /// The customer asset referenced in the query. + /// The customer asset referenced in the query. #[prost(message, optional, tag="155")] pub customer_asset: ::core::option::Option, - /// The accessible bidding strategy referenced in the query. + /// The accessible bidding strategy referenced in the query. #[prost(message, optional, tag="169")] pub accessible_bidding_strategy: ::core::option::Option, - /// The customer customizer referenced in the query. + /// The customer customizer referenced in the query. #[prost(message, optional, tag="184")] pub customer_customizer: ::core::option::Option, - /// The CustomerManagerLink referenced in the query. + /// The CustomerManagerLink referenced in the query. #[prost(message, optional, tag="61")] pub customer_manager_link: ::core::option::Option, - /// The CustomerClientLink referenced in the query. + /// The CustomerClientLink referenced in the query. #[prost(message, optional, tag="62")] pub customer_client_link: ::core::option::Option, - /// The CustomerClient referenced in the query. + /// The CustomerClient referenced in the query. #[prost(message, optional, tag="70")] pub customer_client: ::core::option::Option, - /// The CustomerConversionGoal referenced in the query. + /// The CustomerConversionGoal referenced in the query. #[prost(message, optional, tag="174")] pub customer_conversion_goal: ::core::option::Option, - /// The customer extension setting referenced in the query. + /// The customer extension setting referenced in the query. #[prost(message, optional, tag="114")] pub customer_extension_setting: ::core::option::Option, - /// The customer feed referenced in the query. + /// The customer feed referenced in the query. #[prost(message, optional, tag="64")] pub customer_feed: ::core::option::Option, - /// The customer label referenced in the query. + /// The customer label referenced in the query. #[prost(message, optional, tag="124")] pub customer_label: ::core::option::Option, - /// The customer negative criterion referenced in the query. + /// The customer negative criterion referenced in the query. #[prost(message, optional, tag="88")] pub customer_negative_criterion: ::core::option::Option, - /// The CustomerUserAccess referenced in the query. + /// The CustomerUserAccess referenced in the query. #[prost(message, optional, tag="146")] pub customer_user_access: ::core::option::Option, - /// The CustomerUserAccessInvitation referenced in the query. + /// The CustomerUserAccessInvitation referenced in the query. #[prost(message, optional, tag="150")] pub customer_user_access_invitation: ::core::option::Option, - /// The customizer attribute referenced in the query. + /// The customizer attribute referenced in the query. #[prost(message, optional, tag="178")] pub customizer_attribute: ::core::option::Option, - /// The detail placement view referenced in the query. + /// The detail placement view referenced in the query. #[prost(message, optional, tag="118")] pub detail_placement_view: ::core::option::Option, - /// The detailed demographic referenced in the query. + /// The detailed demographic referenced in the query. #[prost(message, optional, tag="166")] pub detailed_demographic: ::core::option::Option, - /// The display keyword view referenced in the query. + /// The display keyword view referenced in the query. #[prost(message, optional, tag="47")] pub display_keyword_view: ::core::option::Option, - /// The distance view referenced in the query. + /// The distance view referenced in the query. #[prost(message, optional, tag="132")] pub distance_view: ::core::option::Option, - /// The dynamic search ads search term view referenced in the query. + /// The dynamic search ads search term view referenced in the query. #[prost(message, optional, tag="106")] pub dynamic_search_ads_search_term_view: ::core::option::Option, - /// The expanded landing page view referenced in the query. + /// The expanded landing page view referenced in the query. #[prost(message, optional, tag="128")] pub expanded_landing_page_view: ::core::option::Option, - /// The extension feed item referenced in the query. + /// The extension feed item referenced in the query. #[prost(message, optional, tag="85")] pub extension_feed_item: ::core::option::Option, - /// The feed referenced in the query. + /// The feed referenced in the query. #[prost(message, optional, tag="46")] pub feed: ::core::option::Option, - /// The feed item referenced in the query. + /// The feed item referenced in the query. #[prost(message, optional, tag="50")] pub feed_item: ::core::option::Option, - /// The feed item set referenced in the query. + /// The feed item set referenced in the query. #[prost(message, optional, tag="149")] pub feed_item_set: ::core::option::Option, - /// The feed item set link referenced in the query. + /// The feed item set link referenced in the query. #[prost(message, optional, tag="151")] pub feed_item_set_link: ::core::option::Option, - /// The feed item target referenced in the query. + /// The feed item target referenced in the query. #[prost(message, optional, tag="116")] pub feed_item_target: ::core::option::Option, - /// The feed mapping referenced in the query. + /// The feed mapping referenced in the query. #[prost(message, optional, tag="58")] pub feed_mapping: ::core::option::Option, - /// The feed placeholder view referenced in the query. + /// The feed placeholder view referenced in the query. #[prost(message, optional, tag="97")] pub feed_placeholder_view: ::core::option::Option, - /// The gender view referenced in the query. + /// The gender view referenced in the query. #[prost(message, optional, tag="40")] pub gender_view: ::core::option::Option, - /// The geo target constant referenced in the query. + /// The geo target constant referenced in the query. #[prost(message, optional, tag="23")] pub geo_target_constant: ::core::option::Option, - /// The geographic view referenced in the query. + /// The geographic view referenced in the query. #[prost(message, optional, tag="125")] pub geographic_view: ::core::option::Option, - /// The group placement view referenced in the query. + /// The group placement view referenced in the query. #[prost(message, optional, tag="119")] pub group_placement_view: ::core::option::Option, - /// The hotel group view referenced in the query. + /// The hotel group view referenced in the query. #[prost(message, optional, tag="51")] pub hotel_group_view: ::core::option::Option, - /// The hotel performance view referenced in the query. + /// The hotel performance view referenced in the query. #[prost(message, optional, tag="71")] pub hotel_performance_view: ::core::option::Option, - /// The hotel reconciliation referenced in the query. + /// The hotel reconciliation referenced in the query. #[prost(message, optional, tag="188")] pub hotel_reconciliation: ::core::option::Option, - /// The income range view referenced in the query. + /// The income range view referenced in the query. #[prost(message, optional, tag="138")] pub income_range_view: ::core::option::Option, - /// The keyword view referenced in the query. + /// The keyword view referenced in the query. #[prost(message, optional, tag="21")] pub keyword_view: ::core::option::Option, - /// The keyword plan referenced in the query. + /// The keyword plan referenced in the query. #[prost(message, optional, tag="32")] pub keyword_plan: ::core::option::Option, - /// The keyword plan campaign referenced in the query. + /// The keyword plan campaign referenced in the query. #[prost(message, optional, tag="33")] pub keyword_plan_campaign: ::core::option::Option, - /// The keyword plan campaign keyword referenced in the query. + /// The keyword plan campaign keyword referenced in the query. #[prost(message, optional, tag="140")] pub keyword_plan_campaign_keyword: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="35")] pub keyword_plan_ad_group: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="141")] pub keyword_plan_ad_group_keyword: ::core::option::Option, - /// The keyword theme constant referenced in the query. + /// The keyword theme constant referenced in the query. #[prost(message, optional, tag="163")] pub keyword_theme_constant: ::core::option::Option, - /// The label referenced in the query. + /// The label referenced in the query. #[prost(message, optional, tag="52")] pub label: ::core::option::Option, - /// The landing page view referenced in the query. + /// The landing page view referenced in the query. #[prost(message, optional, tag="126")] pub landing_page_view: ::core::option::Option, - /// The language constant referenced in the query. + /// The language constant referenced in the query. #[prost(message, optional, tag="55")] pub language_constant: ::core::option::Option, - /// The location view referenced in the query. + /// The location view referenced in the query. #[prost(message, optional, tag="123")] pub location_view: ::core::option::Option, - /// The managed placement view referenced in the query. + /// The managed placement view referenced in the query. #[prost(message, optional, tag="53")] pub managed_placement_view: ::core::option::Option, - /// The media file referenced in the query. + /// The media file referenced in the query. #[prost(message, optional, tag="90")] pub media_file: ::core::option::Option, - /// The mobile app category constant referenced in the query. + /// The mobile app category constant referenced in the query. #[prost(message, optional, tag="87")] pub mobile_app_category_constant: ::core::option::Option, - /// The mobile device constant referenced in the query. + /// The mobile device constant referenced in the query. #[prost(message, optional, tag="98")] pub mobile_device_constant: ::core::option::Option, - /// The offline user data job referenced in the query. + /// The offline user data job referenced in the query. #[prost(message, optional, tag="137")] pub offline_user_data_job: ::core::option::Option, - /// The operating system version constant referenced in the query. + /// The operating system version constant referenced in the query. #[prost(message, optional, tag="86")] pub operating_system_version_constant: ::core::option::Option, - /// The paid organic search term view referenced in the query. + /// The paid organic search term view referenced in the query. #[prost(message, optional, tag="129")] pub paid_organic_search_term_view: ::core::option::Option, - /// The parental status view referenced in the query. + /// The parental status view referenced in the query. #[prost(message, optional, tag="45")] pub parental_status_view: ::core::option::Option, - /// The Product Bidding Category referenced in the query. + /// The Product Bidding Category referenced in the query. #[prost(message, optional, tag="109")] pub product_bidding_category_constant: ::core::option::Option, - /// The product group view referenced in the query. + /// The product group view referenced in the query. #[prost(message, optional, tag="54")] pub product_group_view: ::core::option::Option, - /// The recommendation referenced in the query. + /// The recommendation referenced in the query. #[prost(message, optional, tag="22")] pub recommendation: ::core::option::Option, - /// The search term view referenced in the query. + /// The search term view referenced in the query. #[prost(message, optional, tag="68")] pub search_term_view: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="29")] pub shared_criterion: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="27")] pub shared_set: ::core::option::Option, - /// The Smart campaign setting referenced in the query. + /// The Smart campaign setting referenced in the query. #[prost(message, optional, tag="167")] pub smart_campaign_setting: ::core::option::Option, - /// The shopping performance view referenced in the query. + /// The shopping performance view referenced in the query. #[prost(message, optional, tag="117")] pub shopping_performance_view: ::core::option::Option, - /// The Smart campaign search term view referenced in the query. + /// The Smart campaign search term view referenced in the query. #[prost(message, optional, tag="170")] pub smart_campaign_search_term_view: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="144")] pub third_party_app_analytics_link: ::core::option::Option, - /// The topic view referenced in the query. + /// The topic view referenced in the query. #[prost(message, optional, tag="44")] pub topic_view: ::core::option::Option, - /// The experiment referenced in the query. + /// The experiment referenced in the query. #[prost(message, optional, tag="133")] pub experiment: ::core::option::Option, - /// The experiment arm referenced in the query. + /// The experiment arm referenced in the query. #[prost(message, optional, tag="183")] pub experiment_arm: ::core::option::Option, - /// The user interest referenced in the query. + /// The user interest referenced in the query. #[prost(message, optional, tag="59")] pub user_interest: ::core::option::Option, - /// The life event referenced in the query. + /// The life event referenced in the query. #[prost(message, optional, tag="161")] pub life_event: ::core::option::Option, - /// The user list referenced in the query. + /// The user list referenced in the query. #[prost(message, optional, tag="38")] pub user_list: ::core::option::Option, - /// The user location view referenced in the query. + /// The user location view referenced in the query. #[prost(message, optional, tag="135")] pub user_location_view: ::core::option::Option, - /// The remarketing action referenced in the query. + /// The remarketing action referenced in the query. #[prost(message, optional, tag="60")] pub remarketing_action: ::core::option::Option, - /// The topic constant referenced in the query. + /// The topic constant referenced in the query. #[prost(message, optional, tag="31")] pub topic_constant: ::core::option::Option, - /// The video referenced in the query. + /// The video referenced in the query. #[prost(message, optional, tag="39")] pub video: ::core::option::Option, - /// The webpage view referenced in the query. + /// The webpage view referenced in the query. #[prost(message, optional, tag="162")] pub webpage_view: ::core::option::Option, - /// The lead form user submission referenced in the query. + /// The lead form user submission referenced in the query. #[prost(message, optional, tag="192")] pub lead_form_submission_data: ::core::option::Option, - /// The metrics. + /// The metrics. #[prost(message, optional, tag="4")] pub metrics: ::core::option::Option, - /// The segments. + /// The segments. #[prost(message, optional, tag="102")] pub segments: ::core::option::Option, } -/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate\]. +/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsRequest { - /// Required. The ID of the customer whose resources are being modified. + /// Required. The ID of the customer whose resources are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual resources. + /// Required. The list of operations to perform on individual resources. #[prost(message, repeated, tag="2")] pub mutate_operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. The mutable - /// resource will only be returned if the resource has the appropriate response - /// field. For example, MutateCampaignResult.campaign. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. The mutable + /// resource will only be returned if the resource has the appropriate response + /// field. For example, MutateCampaignResult.campaign. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate\]. +/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v11.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All responses for the mutate. + /// All responses for the mutate. #[prost(message, repeated, tag="1")] pub mutate_operation_responses: ::prost::alloc::vec::Vec, } -/// A single operation (create, update, remove) on a resource. +/// A single operation (create, update, remove) on a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="mutate_operation::Operation", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 49, 22, 23, 65, 78, 80, 62, 71, 72, 81, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 9, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 79, 30, 31, 32, 34, 35, 70, 82, 83, 36, 37, 53, 54, 38, 39, 40, 44, 50, 51, 45, 48, 41, 42, 43, 14, 15, 61, 16")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MutateOperation`. pub mod mutate_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// An ad group ad label mutate operation. + /// An ad group ad label mutate operation. #[prost(message, tag="17")] AdGroupAdLabelOperation(super::AdGroupAdLabelOperation), - /// An ad group ad mutate operation. + /// An ad group ad mutate operation. #[prost(message, tag="1")] AdGroupAdOperation(super::AdGroupAdOperation), - /// An ad group asset mutate operation. + /// An ad group asset mutate operation. #[prost(message, tag="56")] AdGroupAssetOperation(super::AdGroupAssetOperation), - /// An ad group bid modifier mutate operation. + /// An ad group bid modifier mutate operation. #[prost(message, tag="2")] AdGroupBidModifierOperation(super::AdGroupBidModifierOperation), - /// An ad group criterion customizer mutate operation. + /// An ad group criterion customizer mutate operation. #[prost(message, tag="77")] AdGroupCriterionCustomizerOperation(super::AdGroupCriterionCustomizerOperation), - /// An ad group criterion label mutate operation. + /// An ad group criterion label mutate operation. #[prost(message, tag="18")] AdGroupCriterionLabelOperation(super::AdGroupCriterionLabelOperation), - /// An ad group criterion mutate operation. + /// An ad group criterion mutate operation. #[prost(message, tag="3")] AdGroupCriterionOperation(super::AdGroupCriterionOperation), - /// An ad group customizer mutate operation. + /// An ad group customizer mutate operation. #[prost(message, tag="75")] AdGroupCustomizerOperation(super::AdGroupCustomizerOperation), - /// An ad group extension setting mutate operation. + /// An ad group extension setting mutate operation. #[prost(message, tag="19")] AdGroupExtensionSettingOperation(super::AdGroupExtensionSettingOperation), - /// An ad group feed mutate operation. + /// An ad group feed mutate operation. #[prost(message, tag="20")] AdGroupFeedOperation(super::AdGroupFeedOperation), - /// An ad group label mutate operation. + /// An ad group label mutate operation. #[prost(message, tag="21")] AdGroupLabelOperation(super::AdGroupLabelOperation), - /// An ad group mutate operation. + /// An ad group mutate operation. #[prost(message, tag="5")] AdGroupOperation(super::AdGroupOperation), - /// An ad mutate operation. + /// An ad mutate operation. #[prost(message, tag="49")] AdOperation(super::AdOperation), - /// An ad parameter mutate operation. + /// An ad parameter mutate operation. #[prost(message, tag="22")] AdParameterOperation(super::AdParameterOperation), - /// An asset mutate operation. + /// An asset mutate operation. #[prost(message, tag="23")] AssetOperation(super::AssetOperation), - /// An asset group asset mutate operation. + /// An asset group asset mutate operation. #[prost(message, tag="65")] AssetGroupAssetOperation(super::AssetGroupAssetOperation), - /// An asset group listing group filter mutate operation. + /// An asset group listing group filter mutate operation. #[prost(message, tag="78")] AssetGroupListingGroupFilterOperation(super::AssetGroupListingGroupFilterOperation), - /// An asset group signal mutate operation. + /// An asset group signal mutate operation. #[prost(message, tag="80")] AssetGroupSignalOperation(super::AssetGroupSignalOperation), - /// An asset group mutate operation. + /// An asset group mutate operation. #[prost(message, tag="62")] AssetGroupOperation(super::AssetGroupOperation), - /// An asset set asset mutate operation. + /// An asset set asset mutate operation. #[prost(message, tag="71")] AssetSetAssetOperation(super::AssetSetAssetOperation), - /// An asset set mutate operation. + /// An asset set mutate operation. #[prost(message, tag="72")] AssetSetOperation(super::AssetSetOperation), - /// An audience mutate operation. + /// An audience mutate operation. #[prost(message, tag="81")] AudienceOperation(super::AudienceOperation), - /// A bidding data exclusion mutate operation. + /// A bidding data exclusion mutate operation. #[prost(message, tag="58")] BiddingDataExclusionOperation(super::BiddingDataExclusionOperation), - /// A bidding seasonality adjustment mutate operation. + /// A bidding seasonality adjustment mutate operation. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentOperation(super::BiddingSeasonalityAdjustmentOperation), - /// A bidding strategy mutate operation. + /// A bidding strategy mutate operation. #[prost(message, tag="6")] BiddingStrategyOperation(super::BiddingStrategyOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="52")] CampaignAssetOperation(super::CampaignAssetOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="73")] CampaignAssetSetOperation(super::CampaignAssetSetOperation), - /// A campaign bid modifier mutate operation. + /// A campaign bid modifier mutate operation. #[prost(message, tag="7")] CampaignBidModifierOperation(super::CampaignBidModifierOperation), - /// A campaign budget mutate operation. + /// A campaign budget mutate operation. #[prost(message, tag="8")] CampaignBudgetOperation(super::CampaignBudgetOperation), - /// A campaign conversion goal mutate operation. + /// A campaign conversion goal mutate operation. #[prost(message, tag="67")] CampaignConversionGoalOperation(super::CampaignConversionGoalOperation), - /// A campaign criterion mutate operation. + /// A campaign criterion mutate operation. #[prost(message, tag="13")] CampaignCriterionOperation(super::CampaignCriterionOperation), - /// An campaign customizer mutate operation. + /// An campaign customizer mutate operation. #[prost(message, tag="76")] CampaignCustomizerOperation(super::CampaignCustomizerOperation), - /// A campaign draft mutate operation. + /// A campaign draft mutate operation. #[prost(message, tag="24")] CampaignDraftOperation(super::CampaignDraftOperation), - /// A campaign experiment mutate operation. + /// A campaign experiment mutate operation. #[prost(message, tag="25")] CampaignExperimentOperation(super::CampaignExperimentOperation), - /// A campaign extension setting mutate operation. + /// A campaign extension setting mutate operation. #[prost(message, tag="26")] CampaignExtensionSettingOperation(super::CampaignExtensionSettingOperation), - /// A campaign feed mutate operation. + /// A campaign feed mutate operation. #[prost(message, tag="27")] CampaignFeedOperation(super::CampaignFeedOperation), - /// A campaign group mutate operation. + /// A campaign group mutate operation. #[prost(message, tag="9")] CampaignGroupOperation(super::CampaignGroupOperation), - /// A campaign label mutate operation. + /// A campaign label mutate operation. #[prost(message, tag="28")] CampaignLabelOperation(super::CampaignLabelOperation), - /// A campaign mutate operation. + /// A campaign mutate operation. #[prost(message, tag="10")] CampaignOperation(super::CampaignOperation), - /// A campaign shared set mutate operation. + /// A campaign shared set mutate operation. #[prost(message, tag="11")] CampaignSharedSetOperation(super::CampaignSharedSetOperation), - /// A conversion action mutate operation. + /// A conversion action mutate operation. #[prost(message, tag="12")] ConversionActionOperation(super::ConversionActionOperation), - /// A conversion custom variable mutate operation. + /// A conversion custom variable mutate operation. #[prost(message, tag="55")] ConversionCustomVariableOperation(super::ConversionCustomVariableOperation), - /// A conversion goal campaign config mutate operation. + /// A conversion goal campaign config mutate operation. #[prost(message, tag="69")] ConversionGoalCampaignConfigOperation(super::ConversionGoalCampaignConfigOperation), - /// A conversion value rule mutate operation. + /// A conversion value rule mutate operation. #[prost(message, tag="63")] ConversionValueRuleOperation(super::ConversionValueRuleOperation), - /// A conversion value rule set mutate operation. + /// A conversion value rule set mutate operation. #[prost(message, tag="64")] ConversionValueRuleSetOperation(super::ConversionValueRuleSetOperation), - /// A custom conversion goal mutate operation. + /// A custom conversion goal mutate operation. #[prost(message, tag="68")] CustomConversionGoalOperation(super::CustomConversionGoalOperation), - /// A customer asset mutate operation. + /// A customer asset mutate operation. #[prost(message, tag="57")] CustomerAssetOperation(super::CustomerAssetOperation), - /// A customer conversion goal mutate operation. + /// A customer conversion goal mutate operation. #[prost(message, tag="66")] CustomerConversionGoalOperation(super::CustomerConversionGoalOperation), - /// An customer customizer mutate operation. + /// An customer customizer mutate operation. #[prost(message, tag="79")] CustomerCustomizerOperation(super::CustomerCustomizerOperation), - /// A customer extension setting mutate operation. + /// A customer extension setting mutate operation. #[prost(message, tag="30")] CustomerExtensionSettingOperation(super::CustomerExtensionSettingOperation), - /// A customer feed mutate operation. + /// A customer feed mutate operation. #[prost(message, tag="31")] CustomerFeedOperation(super::CustomerFeedOperation), - /// A customer label mutate operation. + /// A customer label mutate operation. #[prost(message, tag="32")] CustomerLabelOperation(super::CustomerLabelOperation), - /// A customer negative criterion mutate operation. + /// A customer negative criterion mutate operation. #[prost(message, tag="34")] CustomerNegativeCriterionOperation(super::CustomerNegativeCriterionOperation), - /// A customer mutate operation. + /// A customer mutate operation. #[prost(message, tag="35")] CustomerOperation(super::CustomerOperation), - /// An customizer attribute mutate operation. + /// An customizer attribute mutate operation. #[prost(message, tag="70")] CustomizerAttributeOperation(super::CustomizerAttributeOperation), - /// An experiment mutate operation. + /// An experiment mutate operation. #[prost(message, tag="82")] ExperimentOperation(super::ExperimentOperation), - /// An experiment arm mutate operation. + /// An experiment arm mutate operation. #[prost(message, tag="83")] ExperimentArmOperation(super::ExperimentArmOperation), - /// An extension feed item mutate operation. + /// An extension feed item mutate operation. #[prost(message, tag="36")] ExtensionFeedItemOperation(super::ExtensionFeedItemOperation), - /// A feed item mutate operation. + /// A feed item mutate operation. #[prost(message, tag="37")] FeedItemOperation(super::FeedItemOperation), - /// A feed item set mutate operation. + /// A feed item set mutate operation. #[prost(message, tag="53")] FeedItemSetOperation(super::FeedItemSetOperation), - /// A feed item set link mutate operation. + /// A feed item set link mutate operation. #[prost(message, tag="54")] FeedItemSetLinkOperation(super::FeedItemSetLinkOperation), - /// A feed item target mutate operation. + /// A feed item target mutate operation. #[prost(message, tag="38")] FeedItemTargetOperation(super::FeedItemTargetOperation), - /// A feed mapping mutate operation. + /// A feed mapping mutate operation. #[prost(message, tag="39")] FeedMappingOperation(super::FeedMappingOperation), - /// A feed mutate operation. + /// A feed mutate operation. #[prost(message, tag="40")] FeedOperation(super::FeedOperation), - /// A keyword plan ad group operation. + /// A keyword plan ad group operation. #[prost(message, tag="44")] KeywordPlanAdGroupOperation(super::KeywordPlanAdGroupOperation), - /// A keyword plan ad group keyword operation. + /// A keyword plan ad group keyword operation. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordOperation(super::KeywordPlanAdGroupKeywordOperation), - /// A keyword plan campaign keyword operation. + /// A keyword plan campaign keyword operation. #[prost(message, tag="51")] KeywordPlanCampaignKeywordOperation(super::KeywordPlanCampaignKeywordOperation), - /// A keyword plan campaign operation. + /// A keyword plan campaign operation. #[prost(message, tag="45")] KeywordPlanCampaignOperation(super::KeywordPlanCampaignOperation), - /// A keyword plan operation. + /// A keyword plan operation. #[prost(message, tag="48")] KeywordPlanOperation(super::KeywordPlanOperation), - /// A label mutate operation. + /// A label mutate operation. #[prost(message, tag="41")] LabelOperation(super::LabelOperation), - /// A media file mutate operation. + /// A media file mutate operation. #[prost(message, tag="42")] MediaFileOperation(super::MediaFileOperation), - /// A remarketing action mutate operation. + /// A remarketing action mutate operation. #[prost(message, tag="43")] RemarketingActionOperation(super::RemarketingActionOperation), - /// A shared criterion mutate operation. + /// A shared criterion mutate operation. #[prost(message, tag="14")] SharedCriterionOperation(super::SharedCriterionOperation), - /// A shared set mutate operation. + /// A shared set mutate operation. #[prost(message, tag="15")] SharedSetOperation(super::SharedSetOperation), - /// A Smart campaign setting mutate operation. + /// A Smart campaign setting mutate operation. #[prost(message, tag="61")] SmartCampaignSettingOperation(super::SmartCampaignSettingOperation), - /// A user list mutate operation. + /// A user list mutate operation. #[prost(message, tag="16")] UserListOperation(super::UserListOperation), } } -/// Response message for the resource mutate. +/// Response message for the resource mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperationResponse { - /// The mutate response. + /// The mutate response. #[prost(oneof="mutate_operation_response::Response", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 22, 49, 23, 65, 78, 79, 62, 71, 72, 80, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 9, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 74, 30, 31, 32, 34, 35, 70, 81, 82, 36, 37, 53, 54, 38, 39, 40, 44, 45, 50, 51, 48, 41, 42, 43, 14, 15, 61, 16")] pub response: ::core::option::Option, } /// Nested message and enum types in `MutateOperationResponse`. pub mod mutate_operation_response { - /// The mutate response. + /// The mutate response. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// The result for the ad group ad label mutate. + /// The result for the ad group ad label mutate. #[prost(message, tag="17")] AdGroupAdLabelResult(super::MutateAdGroupAdLabelResult), - /// The result for the ad group ad mutate. + /// The result for the ad group ad mutate. #[prost(message, tag="1")] AdGroupAdResult(super::MutateAdGroupAdResult), - /// The result for the ad group asset mutate. + /// The result for the ad group asset mutate. #[prost(message, tag="56")] AdGroupAssetResult(super::MutateAdGroupAssetResult), - /// The result for the ad group bid modifier mutate. + /// The result for the ad group bid modifier mutate. #[prost(message, tag="2")] AdGroupBidModifierResult(super::MutateAdGroupBidModifierResult), - /// The result for the ad group criterion customizer mutate. + /// The result for the ad group criterion customizer mutate. #[prost(message, tag="77")] AdGroupCriterionCustomizerResult(super::MutateAdGroupCriterionCustomizerResult), - /// The result for the ad group criterion label mutate. + /// The result for the ad group criterion label mutate. #[prost(message, tag="18")] AdGroupCriterionLabelResult(super::MutateAdGroupCriterionLabelResult), - /// The result for the ad group criterion mutate. + /// The result for the ad group criterion mutate. #[prost(message, tag="3")] AdGroupCriterionResult(super::MutateAdGroupCriterionResult), - /// The result for the ad group customizer mutate. + /// The result for the ad group customizer mutate. #[prost(message, tag="75")] AdGroupCustomizerResult(super::MutateAdGroupCustomizerResult), - /// The result for the ad group extension setting mutate. + /// The result for the ad group extension setting mutate. #[prost(message, tag="19")] AdGroupExtensionSettingResult(super::MutateAdGroupExtensionSettingResult), - /// The result for the ad group feed mutate. + /// The result for the ad group feed mutate. #[prost(message, tag="20")] AdGroupFeedResult(super::MutateAdGroupFeedResult), - /// The result for the ad group label mutate. + /// The result for the ad group label mutate. #[prost(message, tag="21")] AdGroupLabelResult(super::MutateAdGroupLabelResult), - /// The result for the ad group mutate. + /// The result for the ad group mutate. #[prost(message, tag="5")] AdGroupResult(super::MutateAdGroupResult), - /// The result for the ad parameter mutate. + /// The result for the ad parameter mutate. #[prost(message, tag="22")] AdParameterResult(super::MutateAdParameterResult), - /// The result for the ad mutate. + /// The result for the ad mutate. #[prost(message, tag="49")] AdResult(super::MutateAdResult), - /// The result for the asset mutate. + /// The result for the asset mutate. #[prost(message, tag="23")] AssetResult(super::MutateAssetResult), - /// The result for the asset group asset mutate. + /// The result for the asset group asset mutate. #[prost(message, tag="65")] AssetGroupAssetResult(super::MutateAssetGroupAssetResult), - /// The result for the asset group listing group filter mutate. + /// The result for the asset group listing group filter mutate. #[prost(message, tag="78")] AssetGroupListingGroupFilterResult(super::MutateAssetGroupListingGroupFilterResult), - /// The result for the asset group signal mutate. + /// The result for the asset group signal mutate. #[prost(message, tag="79")] AssetGroupSignalResult(super::MutateAssetGroupSignalResult), - /// The result for the asset group mutate. + /// The result for the asset group mutate. #[prost(message, tag="62")] AssetGroupResult(super::MutateAssetGroupResult), - /// The result for the asset set asset mutate. + /// The result for the asset set asset mutate. #[prost(message, tag="71")] AssetSetAssetResult(super::MutateAssetSetAssetResult), - /// The result for the asset set mutate. + /// The result for the asset set mutate. #[prost(message, tag="72")] AssetSetResult(super::MutateAssetSetResult), - /// The result for the audience mutate. + /// The result for the audience mutate. #[prost(message, tag="80")] AudienceResult(super::MutateAudienceResult), - /// The result for the bidding data exclusion mutate. + /// The result for the bidding data exclusion mutate. #[prost(message, tag="58")] BiddingDataExclusionResult(super::MutateBiddingDataExclusionsResult), - /// The result for the bidding seasonality adjustment mutate. + /// The result for the bidding seasonality adjustment mutate. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentResult(super::MutateBiddingSeasonalityAdjustmentsResult), - /// The result for the bidding strategy mutate. + /// The result for the bidding strategy mutate. #[prost(message, tag="6")] BiddingStrategyResult(super::MutateBiddingStrategyResult), - /// The result for the campaign asset mutate. + /// The result for the campaign asset mutate. #[prost(message, tag="52")] CampaignAssetResult(super::MutateCampaignAssetResult), - /// The result for the campaign asset set mutate. + /// The result for the campaign asset set mutate. #[prost(message, tag="73")] CampaignAssetSetResult(super::MutateCampaignAssetSetResult), - /// The result for the campaign bid modifier mutate. + /// The result for the campaign bid modifier mutate. #[prost(message, tag="7")] CampaignBidModifierResult(super::MutateCampaignBidModifierResult), - /// The result for the campaign budget mutate. + /// The result for the campaign budget mutate. #[prost(message, tag="8")] CampaignBudgetResult(super::MutateCampaignBudgetResult), - /// The result for the campaign conversion goal mutate. + /// The result for the campaign conversion goal mutate. #[prost(message, tag="67")] CampaignConversionGoalResult(super::MutateCampaignConversionGoalResult), - /// The result for the campaign criterion mutate. + /// The result for the campaign criterion mutate. #[prost(message, tag="13")] CampaignCriterionResult(super::MutateCampaignCriterionResult), - /// The result for the campaign customizer mutate. + /// The result for the campaign customizer mutate. #[prost(message, tag="76")] CampaignCustomizerResult(super::MutateCampaignCustomizerResult), - /// The result for the campaign draft mutate. + /// The result for the campaign draft mutate. #[prost(message, tag="24")] CampaignDraftResult(super::MutateCampaignDraftResult), - /// The result for the campaign experiment mutate. + /// The result for the campaign experiment mutate. #[prost(message, tag="25")] CampaignExperimentResult(super::MutateCampaignExperimentResult), - /// The result for the campaign extension setting mutate. + /// The result for the campaign extension setting mutate. #[prost(message, tag="26")] CampaignExtensionSettingResult(super::MutateCampaignExtensionSettingResult), - /// The result for the campaign feed mutate. + /// The result for the campaign feed mutate. #[prost(message, tag="27")] CampaignFeedResult(super::MutateCampaignFeedResult), - /// The result for the campaign group mutate. + /// The result for the campaign group mutate. #[prost(message, tag="9")] CampaignGroupResult(super::MutateCampaignGroupResult), - /// The result for the campaign label mutate. + /// The result for the campaign label mutate. #[prost(message, tag="28")] CampaignLabelResult(super::MutateCampaignLabelResult), - /// The result for the campaign mutate. + /// The result for the campaign mutate. #[prost(message, tag="10")] CampaignResult(super::MutateCampaignResult), - /// The result for the campaign shared set mutate. + /// The result for the campaign shared set mutate. #[prost(message, tag="11")] CampaignSharedSetResult(super::MutateCampaignSharedSetResult), - /// The result for the conversion action mutate. + /// The result for the conversion action mutate. #[prost(message, tag="12")] ConversionActionResult(super::MutateConversionActionResult), - /// The result for the conversion custom variable mutate. + /// The result for the conversion custom variable mutate. #[prost(message, tag="55")] ConversionCustomVariableResult(super::MutateConversionCustomVariableResult), - /// The result for the conversion goal campaign config mutate. + /// The result for the conversion goal campaign config mutate. #[prost(message, tag="69")] ConversionGoalCampaignConfigResult(super::MutateConversionGoalCampaignConfigResult), - /// The result for the conversion value rule mutate. + /// The result for the conversion value rule mutate. #[prost(message, tag="63")] ConversionValueRuleResult(super::MutateConversionValueRuleResult), - /// The result for the conversion value rule set mutate. + /// The result for the conversion value rule set mutate. #[prost(message, tag="64")] ConversionValueRuleSetResult(super::MutateConversionValueRuleSetResult), - /// The result for the custom conversion goal mutate. + /// The result for the custom conversion goal mutate. #[prost(message, tag="68")] CustomConversionGoalResult(super::MutateCustomConversionGoalResult), - /// The result for the customer asset mutate. + /// The result for the customer asset mutate. #[prost(message, tag="57")] CustomerAssetResult(super::MutateCustomerAssetResult), - /// The result for the customer conversion goal mutate. + /// The result for the customer conversion goal mutate. #[prost(message, tag="66")] CustomerConversionGoalResult(super::MutateCustomerConversionGoalResult), - /// The result for the customer customizer mutate. + /// The result for the customer customizer mutate. #[prost(message, tag="74")] CustomerCustomizerResult(super::MutateCustomerCustomizerResult), - /// The result for the customer extension setting mutate. + /// The result for the customer extension setting mutate. #[prost(message, tag="30")] CustomerExtensionSettingResult(super::MutateCustomerExtensionSettingResult), - /// The result for the customer feed mutate. + /// The result for the customer feed mutate. #[prost(message, tag="31")] CustomerFeedResult(super::MutateCustomerFeedResult), - /// The result for the customer label mutate. + /// The result for the customer label mutate. #[prost(message, tag="32")] CustomerLabelResult(super::MutateCustomerLabelResult), - /// The result for the customer negative criterion mutate. + /// The result for the customer negative criterion mutate. #[prost(message, tag="34")] CustomerNegativeCriterionResult(super::MutateCustomerNegativeCriteriaResult), - /// The result for the customer mutate. + /// The result for the customer mutate. #[prost(message, tag="35")] CustomerResult(super::MutateCustomerResult), - /// The result for the customizer attribute mutate. + /// The result for the customizer attribute mutate. #[prost(message, tag="70")] CustomizerAttributeResult(super::MutateCustomizerAttributeResult), - /// The result for the experiment mutate. + /// The result for the experiment mutate. #[prost(message, tag="81")] ExperimentResult(super::MutateExperimentResult), - /// The result for the experiment arm mutate. + /// The result for the experiment arm mutate. #[prost(message, tag="82")] ExperimentArmResult(super::MutateExperimentArmResult), - /// The result for the extension feed item mutate. + /// The result for the extension feed item mutate. #[prost(message, tag="36")] ExtensionFeedItemResult(super::MutateExtensionFeedItemResult), - /// The result for the feed item mutate. + /// The result for the feed item mutate. #[prost(message, tag="37")] FeedItemResult(super::MutateFeedItemResult), - /// The result for the feed item set mutate. + /// The result for the feed item set mutate. #[prost(message, tag="53")] FeedItemSetResult(super::MutateFeedItemSetResult), - /// The result for the feed item set link mutate. + /// The result for the feed item set link mutate. #[prost(message, tag="54")] FeedItemSetLinkResult(super::MutateFeedItemSetLinkResult), - /// The result for the feed item target mutate. + /// The result for the feed item target mutate. #[prost(message, tag="38")] FeedItemTargetResult(super::MutateFeedItemTargetResult), - /// The result for the feed mapping mutate. + /// The result for the feed mapping mutate. #[prost(message, tag="39")] FeedMappingResult(super::MutateFeedMappingResult), - /// The result for the feed mutate. + /// The result for the feed mutate. #[prost(message, tag="40")] FeedResult(super::MutateFeedResult), - /// The result for the keyword plan ad group mutate. + /// The result for the keyword plan ad group mutate. #[prost(message, tag="44")] KeywordPlanAdGroupResult(super::MutateKeywordPlanAdGroupResult), - /// The result for the keyword plan campaign mutate. + /// The result for the keyword plan campaign mutate. #[prost(message, tag="45")] KeywordPlanCampaignResult(super::MutateKeywordPlanCampaignResult), - /// The result for the keyword plan ad group keyword mutate. + /// The result for the keyword plan ad group keyword mutate. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordResult(super::MutateKeywordPlanAdGroupKeywordResult), - /// The result for the keyword plan campaign keyword mutate. + /// The result for the keyword plan campaign keyword mutate. #[prost(message, tag="51")] KeywordPlanCampaignKeywordResult(super::MutateKeywordPlanCampaignKeywordResult), - /// The result for the keyword plan mutate. + /// The result for the keyword plan mutate. #[prost(message, tag="48")] KeywordPlanResult(super::MutateKeywordPlansResult), - /// The result for the label mutate. + /// The result for the label mutate. #[prost(message, tag="41")] LabelResult(super::MutateLabelResult), - /// The result for the media file mutate. + /// The result for the media file mutate. #[prost(message, tag="42")] MediaFileResult(super::MutateMediaFileResult), - /// The result for the remarketing action mutate. + /// The result for the remarketing action mutate. #[prost(message, tag="43")] RemarketingActionResult(super::MutateRemarketingActionResult), - /// The result for the shared criterion mutate. + /// The result for the shared criterion mutate. #[prost(message, tag="14")] SharedCriterionResult(super::MutateSharedCriterionResult), - /// The result for the shared set mutate. + /// The result for the shared set mutate. #[prost(message, tag="15")] SharedSetResult(super::MutateSharedSetResult), - /// The result for the Smart campaign setting mutate. + /// The result for the Smart campaign setting mutate. #[prost(message, tag="61")] SmartCampaignSettingResult(super::MutateSmartCampaignSettingResult), - /// The result for the user list mutate. + /// The result for the user list mutate. #[prost(message, tag="16")] UserListResult(super::MutateUserListResult), } @@ -17495,144 +17495,144 @@ pub mod google_ads_service_client { } } } -/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob\]. +/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobRequest { - /// Required. The ID of the customer for which to create a batch job. + /// Required. The ID of the customer for which to create a batch job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual batch job. + /// Required. The operation to perform on an individual batch job. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a batch job. +/// A single operation on a batch job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="batch_job_operation::Operation", tags="1, 4")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BatchJobOperation`. pub mod batch_job_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new batch job. + /// Create operation: No resource name is expected for the new batch job. #[prost(message, tag="1")] Create(super::super::resources::BatchJob), - /// Remove operation: The batch job must not have been run. A resource name - /// for the removed batch job is expected, in this format: + /// Remove operation: The batch job must not have been run. A resource name + /// for the removed batch job is expected, in this format: /// - /// `customers/{customer_id}/batchJobs/{batch_job_id}` + /// `customers/{customer_id}/batchJobs/{batch_job_id}` #[prost(string, tag="4")] Remove(::prost::alloc::string::String), } } -/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob\]. +/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v11.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResponse { - /// The result for the mutate. + /// The result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the batch job mutate. +/// The result for the batch job mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResult { - /// The resource name of the batch job. + /// The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v11.services.BatchJobService.RunBatchJob\]. +/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v11.services.BatchJobService.RunBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunBatchJobRequest { - /// Required. The resource name of the BatchJob to run. + /// Required. The resource name of the BatchJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations\]. +/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsRequest { - /// Required. The resource name of the batch job. + /// Required. The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// A token used to enforce sequencing. + /// A token used to enforce sequencing. /// - /// The first AddBatchJobOperations request for a batch job should not set - /// sequence_token. Subsequent requests must set sequence_token to the value of - /// next_sequence_token received in the previous AddBatchJobOperations - /// response. + /// The first AddBatchJobOperations request for a batch job should not set + /// sequence_token. Subsequent requests must set sequence_token to the value of + /// next_sequence_token received in the previous AddBatchJobOperations + /// response. #[prost(string, tag="2")] pub sequence_token: ::prost::alloc::string::String, - /// Required. The list of mutates being added. + /// Required. The list of mutates being added. /// - /// Operations can use negative integers as temp ids to signify dependencies - /// between entities created in this batch job. For example, a customer with - /// id = 1234 can create a campaign and an ad group in that same campaign by - /// creating a campaign in the first operation with the resource name - /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group - /// in the second operation with the campaign field also set to - /// "customers/1234/campaigns/-1". + /// Operations can use negative integers as temp ids to signify dependencies + /// between entities created in this batch job. For example, a customer with + /// id = 1234 can create a campaign and an ad group in that same campaign by + /// creating a campaign in the first operation with the resource name + /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group + /// in the second operation with the campaign field also set to + /// "customers/1234/campaigns/-1". #[prost(message, repeated, tag="3")] pub mutate_operations: ::prost::alloc::vec::Vec, } -/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations\]. +/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v11.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsResponse { - /// The total number of operations added so far for this batch job. + /// The total number of operations added so far for this batch job. #[prost(int64, tag="1")] pub total_operations: i64, - /// The sequence token to be used when calling AddBatchJobOperations again if - /// more operations need to be added. The next AddBatchJobOperations request - /// must set the sequence_token field to the value of this field. + /// The sequence token to be used when calling AddBatchJobOperations again if + /// more operations need to be added. The next AddBatchJobOperations request + /// must set the sequence_token field to the value of this field. #[prost(string, tag="2")] pub next_sequence_token: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults\]. +/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsRequest { - /// Required. The resource name of the batch job whose results are being listed. + /// Required. The resource name of the batch job whose results are being listed. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults\]. +/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v11.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// An individual batch job result. +/// An individual batch job result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobResult { - /// Index of the mutate operation. + /// Index of the mutate operation. #[prost(int64, tag="1")] pub operation_index: i64, - /// Response for the mutate. - /// May be empty if errors occurred. + /// Response for the mutate. + /// May be empty if errors occurred. #[prost(message, optional, tag="2")] pub mutate_operation_response: ::core::option::Option, - /// Details of the errors when processing the operation. + /// Details of the errors when processing the operation. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, } @@ -17836,54 +17836,54 @@ pub mod batch_job_service_client { } } } -/// Request message for billing setup mutate operations. +/// Request message for billing setup mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupRequest { - /// Required. Id of the customer to apply the billing setup mutate operation to. + /// Required. Id of the customer to apply the billing setup mutate operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform. + /// Required. The operation to perform. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a billing setup, which describes the cancellation of an -/// existing billing setup. +/// A single operation on a billing setup, which describes the cancellation of an +/// existing billing setup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupOperation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[prost(oneof="billing_setup_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BillingSetupOperation`. pub mod billing_setup_operation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Creates a billing setup. No resource name is expected for the new billing - /// setup. + /// Creates a billing setup. No resource name is expected for the new billing + /// setup. #[prost(message, tag="2")] Create(super::super::resources::BillingSetup), - /// Resource name of the billing setup to remove. A setup cannot be - /// removed unless it is in a pending state or its scheduled start time is in - /// the future. The resource name looks like - /// `customers/{customer_id}/billingSetups/{billing_id}`. + /// Resource name of the billing setup to remove. A setup cannot be + /// removed unless it is in a pending state or its scheduled start time is in + /// the future. The resource name looks like + /// `customers/{customer_id}/billingSetups/{billing_id}`. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for a billing setup operation. +/// Response message for a billing setup operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// Result for a single billing setup mutate. +/// Result for a single billing setup mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -17999,151 +17999,151 @@ pub mod billing_setup_service_client { } } } -/// Request message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Request message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversion adjustments that are being uploaded. + /// Required. The conversion adjustments that are being uploaded. #[prost(message, repeated, tag="2")] pub conversion_adjustments: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried out - /// in one transaction if and only if they are all valid. This should always be - /// set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried out + /// in one transaction if and only if they are all valid. This should always be + /// set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Response message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v11.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsResponse { - /// Errors that pertain to conversion adjustment failures in the partial - /// failure mode. Returned when all errors occur inside the adjustments. If any - /// errors occur outside the adjustments (for example, auth errors), we return - /// an RPC level error. See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion adjustment failures in the partial + /// failure mode. Returned when all errors occur inside the adjustments. If any + /// errors occur outside the adjustments (for example, auth errors), we return + /// an RPC level error. See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversion adjustments. Proto will be - /// empty for rows that received an error. Results are not returned when - /// validate_only is true. + /// Returned for successfully processed conversion adjustments. Proto will be + /// empty for rows that received an error. Results are not returned when + /// validate_only is true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A conversion adjustment. +/// A conversion adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustment { - /// For adjustments, uniquely identifies a conversion that was reported - /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this - /// value is optional but may be set in addition to the order_id. + /// For adjustments, uniquely identifies a conversion that was reported + /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this + /// value is optional but may be set in addition to the order_id. #[prost(message, optional, tag="12")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. If the conversion was - /// reported with an order ID specified, that order ID must be used as the - /// identifier here. The order ID is required for enhancements. + /// The order ID of the conversion to be adjusted. If the conversion was + /// reported with an order ID specified, that order ID must be used as the + /// identifier here. The order ID is required for enhancements. #[prost(string, optional, tag="13")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion - /// adjustment. Note: Although this resource name consists of a customer id and - /// a conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion + /// adjustment. Note: Although this resource name consists of a customer id and + /// a conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="8")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. Must be after the - /// conversion_date_time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. Must be after the + /// conversion_date_time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="9")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, - /// Information needed to restate the conversion's value. - /// Required for restatements. Should not be supplied for retractions. An error - /// will be returned if provided for a retraction. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// Information needed to restate the conversion's value. + /// Required for restatements. Should not be supplied for retractions. An error + /// will be returned if provided for a retraction. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(message, optional, tag="6")] pub restatement_value: ::core::option::Option, - /// The user identifiers to enhance the original conversion. - /// ConversionAdjustmentUploadService only accepts user identifiers in - /// enhancements. The maximum number of user identifiers for each - /// enhancement is 5. + /// The user identifiers to enhance the original conversion. + /// ConversionAdjustmentUploadService only accepts user identifiers in + /// enhancements. The maximum number of user identifiers for each + /// enhancement is 5. #[prost(message, repeated, tag="10")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// The user agent to enhance the original conversion. This can be found in - /// your user's HTTP request header when they convert on your web page. - /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - /// agent can only be specified in enhancements with user identifiers. This - /// should match the user agent of the request that sent the original - /// conversion so the conversion and its enhancement are either both attributed - /// as same-device or both attributed as cross-device. + /// The user agent to enhance the original conversion. This can be found in + /// your user's HTTP request header when they convert on your web page. + /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User + /// agent can only be specified in enhancements with user identifiers. This + /// should match the user agent of the request that sent the original + /// conversion so the conversion and its enhancement are either both attributed + /// as same-device or both attributed as cross-device. #[prost(string, optional, tag="11")] pub user_agent: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains information needed to restate a conversion's value. +/// Contains information needed to restate a conversion's value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestatementValue { - /// The restated conversion value. This is the value of the conversion after - /// restatement. For example, to change the value of a conversion from 100 to - /// 70, an adjusted value of 70 should be reported. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// The restated conversion value. This is the value of the conversion after + /// restatement. For example, to change the value of a conversion from 100 to + /// 70, an adjusted value of 70 should be reported. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(double, optional, tag="3")] pub adjusted_value: ::core::option::Option, - /// The currency of the restated value. If not provided, then the default - /// currency from the conversion action is used, and if that is not set then - /// the account currency is used. This is the ISO 4217 3-character currency - /// code for example, USD or EUR. + /// The currency of the restated value. If not provided, then the default + /// currency from the conversion action is used, and if that is not set then + /// the account currency is used. This is the ISO 4217 3-character currency + /// code for example, USD or EUR. #[prost(string, optional, tag="4")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Uniquely identifies a conversion that was reported without an order ID -/// specified. +/// Uniquely identifies a conversion that was reported without an order ID +/// specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GclidDateTimePair { - /// Google click ID (gclid) associated with the original conversion for this - /// adjustment. + /// Google click ID (gclid) associated with the original conversion for this + /// adjustment. #[prost(string, optional, tag="3")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the original conversion for this adjustment - /// occurred. The timezone must be specified. The format is "yyyy-mm-dd - /// hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the original conversion for this adjustment + /// occurred. The timezone must be specified. The format is "yyyy-mm-dd + /// hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="4")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// Information identifying a successfully processed ConversionAdjustment. +/// Information identifying a successfully processed ConversionAdjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentResult { - /// The gclid and conversion date time of the conversion. + /// The gclid and conversion date time of the conversion. #[prost(message, optional, tag="9")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. + /// The order ID of the conversion to be adjusted. #[prost(string, tag="10")] pub order_id: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion - /// adjustment. + /// Resource name of the conversion action associated with this conversion + /// adjustment. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, } @@ -18253,285 +18253,285 @@ pub mod conversion_adjustment_upload_service_client { } } } -/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions\]. +/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions\]. +/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (for example, auth errors), we return an RPC level - /// error. See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (for example, auth errors), we return an RPC level + /// error. See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions\]. +/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions\]. +/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v11.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (for example, auth errors), we return an RPC level - /// error. See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (for example, auth errors), we return an RPC level + /// error. See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A click conversion. +/// A click conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversion { - /// The Google click ID (gclid) associated with this conversion. + /// The Google click ID (gclid) associated with this conversion. #[prost(string, optional, tag="9")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="18")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="19")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="10")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after - /// the click time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. Must be after + /// the click time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="11")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="12")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="13")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The order ID associated with the conversion. An order id can only be used - /// for one conversion per conversion action. + /// The order ID associated with the conversion. An order id can only be used + /// for one conversion per conversion action. #[prost(string, optional, tag="14")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Additional data about externally attributed conversions. This field - /// is required for conversions with an externally attributed conversion - /// action, but should not be set otherwise. + /// Additional data about externally attributed conversions. This field + /// is required for conversions with an externally attributed conversion + /// action, but should not be set otherwise. #[prost(message, optional, tag="7")] pub external_attribution_data: ::core::option::Option, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="15")] pub custom_variables: ::prost::alloc::vec::Vec, - /// The cart data associated with this conversion. + /// The cart data associated with this conversion. #[prost(message, optional, tag="16")] pub cart_data: ::core::option::Option, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="17")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// The environment this conversion was recorded on, for example, App or Web. + /// The environment this conversion was recorded on, for example, App or Web. #[prost(enumeration="super::enums::conversion_environment_enum::ConversionEnvironment", tag="20")] pub conversion_environment: i32, } -/// A call conversion. +/// A call conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversion { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign, for example, "+16502531234". + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign, for example, "+16502531234". #[prost(string, optional, tag="7")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The timezone must be specified. - /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - /// for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The timezone must be specified. + /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + /// for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="9")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after the call - /// time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. Must be after the call + /// time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="10")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="11")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="12")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="13")] pub custom_variables: ::prost::alloc::vec::Vec, } -/// Contains additional information about externally attributed conversions. +/// Contains additional information about externally attributed conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalAttributionData { - /// Represents the fraction of the conversion that is attributed to the - /// Google Ads click. + /// Represents the fraction of the conversion that is attributed to the + /// Google Ads click. #[prost(double, optional, tag="3")] pub external_attribution_credit: ::core::option::Option, - /// Specifies the attribution model name. + /// Specifies the attribution model name. #[prost(string, optional, tag="4")] pub external_attribution_model: ::core::option::Option<::prost::alloc::string::String>, } -/// Identifying information for a successfully processed ClickConversion. +/// Identifying information for a successfully processed ClickConversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversionResult { - /// The Google Click ID (gclid) associated with this conversion. + /// The Google Click ID (gclid) associated with this conversion. #[prost(string, optional, tag="4")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="8")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="9")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="5")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="6")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="7")] pub user_identifiers: ::prost::alloc::vec::Vec, } -/// Identifying information for a successfully processed CallConversionUpload. +/// Identifying information for a successfully processed CallConversionUpload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionResult { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign. + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign. #[prost(string, optional, tag="5")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="6")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom variable. +/// A custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomVariable { - /// Resource name of the custom variable associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion custom variable id, validation will ignore the customer id and - /// use the conversion custom variable id as the sole identifier of the - /// conversion custom variable. + /// Resource name of the custom variable associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion custom variable id, validation will ignore the customer id and + /// use the conversion custom variable id as the sole identifier of the + /// conversion custom variable. #[prost(string, tag="1")] pub conversion_custom_variable: ::prost::alloc::string::String, - /// The value string of this custom variable. - /// The value of the custom variable should not contain private customer data, - /// such as email addresses or phone numbers. + /// The value string of this custom variable. + /// The value of the custom variable should not contain private customer data, + /// such as email addresses or phone numbers. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } -/// Contains additional information about cart data. +/// Contains additional information about cart data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CartData { - /// The Merchant Center ID where the items are uploaded. + /// The Merchant Center ID where the items are uploaded. #[prost(int64, tag="6")] pub merchant_id: i64, - /// The country code associated with the feed where the items are uploaded. + /// The country code associated with the feed where the items are uploaded. #[prost(string, tag="2")] pub feed_country_code: ::prost::alloc::string::String, - /// The language code associated with the feed where the items are uploaded. + /// The language code associated with the feed where the items are uploaded. #[prost(string, tag="3")] pub feed_language_code: ::prost::alloc::string::String, - /// Sum of all transaction level discounts, such as free shipping and - /// coupon discounts for the whole cart. The currency code is the same - /// as that in the ClickConversion message. + /// Sum of all transaction level discounts, such as free shipping and + /// coupon discounts for the whole cart. The currency code is the same + /// as that in the ClickConversion message. #[prost(double, tag="4")] pub local_transaction_cost: f64, - /// Data of the items purchased. + /// Data of the items purchased. #[prost(message, repeated, tag="5")] pub items: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CartData`. pub mod cart_data { - /// Contains data of the items purchased. + /// Contains data of the items purchased. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Item { - /// The shopping id of the item. Must be equal to the Merchant Center product - /// identifier. + /// The shopping id of the item. Must be equal to the Merchant Center product + /// identifier. #[prost(string, tag="1")] pub product_id: ::prost::alloc::string::String, - /// Number of items sold. + /// Number of items sold. #[prost(int32, tag="2")] pub quantity: i32, - /// Unit price excluding tax, shipping, and any transaction - /// level discounts. The currency code is the same as that in the - /// ClickConversion message. + /// Unit price excluding tax, shipping, and any transaction + /// level discounts. The currency code is the same as that in the + /// ClickConversion message. #[prost(double, tag="3")] pub unit_price: f64, } @@ -18675,62 +18675,62 @@ pub mod conversion_upload_service_client { } } } -/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences\]. +/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v11.services.CustomAudienceService.MutateCustomAudiences\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesRequest { - /// Required. The ID of the customer whose custom audiences are being modified. + /// Required. The ID of the customer whose custom audiences are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom audiences. + /// Required. The list of operations to perform on individual custom audiences. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a custom audience. +/// A single operation (create, update) on a custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_audience_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceOperation`. pub mod custom_audience_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// audience. + /// Create operation: No resource name is expected for the new custom + /// audience. #[prost(message, tag="1")] Create(super::super::resources::CustomAudience), - /// Update operation: The custom audience is expected to have a valid - /// resource name. + /// Update operation: The custom audience is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomAudience), - /// Remove operation: A resource name for the removed custom audience is - /// expected, in this format: + /// Remove operation: A resource name for the removed custom audience is + /// expected, in this format: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for custom audience mutate. +/// Response message for custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom audience mutate. +/// The result for the custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudienceResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -18844,56 +18844,56 @@ pub mod custom_audience_service_client { } } } -/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests\]. +/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v11.services.CustomInterestService.MutateCustomInterests\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsRequest { - /// Required. The ID of the customer whose custom interests are being modified. + /// Required. The ID of the customer whose custom interests are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom interests. + /// Required. The list of operations to perform on individual custom interests. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a custom interest. +/// A single operation (create, update) on a custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_interest_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomInterestOperation`. pub mod custom_interest_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// interest. + /// Create operation: No resource name is expected for the new custom + /// interest. #[prost(message, tag="1")] Create(super::super::resources::CustomInterest), - /// Update operation: The custom interest is expected to have a valid - /// resource name. + /// Update operation: The custom interest is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomInterest), } } -/// Response message for custom interest mutate. +/// Response message for custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom interest mutate. +/// The result for the custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19005,54 +19005,54 @@ pub mod custom_interest_service_client { } } } -/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink\]. +/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v11.services.CustomerClientLinkService.MutateCustomerClientLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkRequest { - /// Required. The ID of the customer whose customer link are being modified. + /// Required. The ID of the customer whose customer link are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the individual CustomerClientLink. + /// Required. The operation to perform on the individual CustomerClientLink. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a CustomerClientLink. +/// A single operation (create, update) on a CustomerClientLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_client_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerClientLinkOperation`. pub mod customer_client_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new link. + /// Create operation: No resource name is expected for the new link. #[prost(message, tag="1")] Create(super::super::resources::CustomerClientLink), - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerClientLink), } } -/// Response message for a CustomerClientLink mutate. +/// Response message for a CustomerClientLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for a single customer client link mutate. +/// The result for a single customer client link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19167,84 +19167,84 @@ pub mod customer_client_link_service_client { } } } -/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkRequest { - /// Required. The ID of the customer whose customer manager links are being modified. + /// Required. The ID of the customer whose customer manager links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer manager links. + /// Required. The list of operations to perform on individual customer manager links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v11.services.CustomerManagerLinkService.MoveManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkRequest { - /// Required. The ID of the client customer that is being moved. + /// Required. The ID of the client customer that is being moved. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The resource name of the previous CustomerManagerLink. - /// The resource name has the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Required. The resource name of the previous CustomerManagerLink. + /// The resource name has the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="2")] pub previous_customer_manager_link: ::prost::alloc::string::String, - /// Required. The resource name of the new manager customer that the client wants to move - /// to. Customer resource names have the format: "customers/{customer_id}" + /// Required. The resource name of the new manager customer that the client wants to move + /// to. Customer resource names have the format: "customers/{customer_id}" #[prost(string, tag="3")] pub new_manager: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Updates the status of a CustomerManagerLink. -/// The following actions are possible: -/// 1. Update operation with status ACTIVE accepts a pending invitation. -/// 2. Update operation with status REFUSED declines a pending invitation. -/// 3. Update operation with status INACTIVE terminates link to manager. +/// Updates the status of a CustomerManagerLink. +/// The following actions are possible: +/// 1. Update operation with status ACTIVE accepts a pending invitation. +/// 2. Update operation with status REFUSED declines a pending invitation. +/// 3. Update operation with status INACTIVE terminates link to manager. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_manager_link_operation::Operation", tags="2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerManagerLinkOperation`. pub mod customer_manager_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerManagerLink), } } -/// Response message for a CustomerManagerLink mutate. +/// Response message for a CustomerManagerLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// Response message for a CustomerManagerLink moveManagerLink. +/// Response message for a CustomerManagerLink moveManagerLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkResponse { - /// Returned for successful operations. Represents a CustomerManagerLink - /// resource of the newly created link between client customer and new manager - /// customer. + /// Returned for successful operations. Represents a CustomerManagerLink + /// resource of the newly created link between client customer and new manager + /// customer. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// The result for the customer manager link mutate. +/// The result for the customer manager link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19393,52 +19393,52 @@ pub mod customer_manager_link_service_client { } } } -/// Request message for -/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] +/// Request message for +/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationRequest { - /// Required. The ID of the customer whose access invitation is being modified. + /// Required. The ID of the customer whose access invitation is being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the access invitation + /// Required. The operation to perform on the access invitation #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (create or remove) on customer user access invitation. +/// A single operation (create or remove) on customer user access invitation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitationOperation { - /// The mutate operation + /// The mutate operation #[prost(oneof="customer_user_access_invitation_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessInvitationOperation`. pub mod customer_user_access_invitation_operation { - /// The mutate operation + /// The mutate operation #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new access - /// invitation. + /// Create operation: No resource name is expected for the new access + /// invitation. #[prost(message, tag="1")] Create(super::super::resources::CustomerUserAccessInvitation), - /// Remove operation: A resource name for the revoke invitation is - /// expected, in this format: + /// Remove operation: A resource name for the revoke invitation is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for access invitation mutate. +/// Response message for access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the access invitation mutate. +/// The result for the access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19551,55 +19551,55 @@ pub mod customer_user_access_invitation_service_client { } } } -/// Mutate Request for -/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess\]. +/// Mutate Request for +/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v11.services.CustomerUserAccessService.MutateCustomerUserAccess\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (update, remove) on customer user access. +/// A single operation (update, remove) on customer user access. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_user_access_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessOperation`. pub mod customer_user_access_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer user access is expected to have a valid - /// resource name. + /// Update operation: The customer user access is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerUserAccess), - /// Remove operation: A resource name for the removed access is - /// expected, in this format: + /// Remove operation: A resource name for the removed access is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer user access mutate. +/// Response message for customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the customer user access mutate. +/// The result for the customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19712,77 +19712,77 @@ pub mod customer_user_access_service_client { } } } -/// Request message for -/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Request message for +/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsRequest { - /// If possible, returned geo targets are translated using this locale. If not, - /// en is used by default. This is also used as a hint for returned geo - /// targets. + /// If possible, returned geo targets are translated using this locale. If not, + /// en is used by default. This is also used as a hint for returned geo + /// targets. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Returned geo targets are restricted to this country code. + /// Returned geo targets are restricted to this country code. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[prost(oneof="suggest_geo_target_constants_request::Query", tags="1, 2")] pub query: ::core::option::Option, } /// Nested message and enum types in `SuggestGeoTargetConstantsRequest`. pub mod suggest_geo_target_constants_request { - /// A list of location names. + /// A list of location names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationNames { - /// A list of location names. + /// A list of location names. #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargets { - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[prost(string, repeated, tag="2")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// The location names to search by. At most 25 names can be set. + /// The location names to search by. At most 25 names can be set. #[prost(message, tag="1")] LocationNames(LocationNames), - /// The geo target constant resource names to filter by. + /// The geo target constant resource names to filter by. #[prost(message, tag="2")] GeoTargets(GeoTargets), } } -/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v11.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsResponse { - /// Geo target constant suggestions. + /// Geo target constant suggestions. #[prost(message, repeated, tag="1")] pub geo_target_constant_suggestions: ::prost::alloc::vec::Vec, } -/// A geo target constant suggestion. +/// A geo target constant suggestion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestion { - /// The language this GeoTargetConstantSuggestion is currently translated to. - /// It affects the name of geo target fields. For example, if locale=en, then - /// name=Spain. If locale=es, then name=España. The default locale will be - /// returned if no translation exists for the locale in the request. + /// The language this GeoTargetConstantSuggestion is currently translated to. + /// It affects the name of geo target fields. For example, if locale=en, then + /// name=Spain. If locale=es, then name=España. The default locale will be + /// returned if no translation exists for the locale in the request. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Approximate user population that will be targeted, rounded to the - /// nearest 100. + /// Approximate user population that will be targeted, rounded to the + /// nearest 100. #[prost(int64, optional, tag="7")] pub reach: ::core::option::Option, - /// If the request searched by location name, this is the location name that - /// matched the geo target. + /// If the request searched by location name, this is the location name that + /// matched the geo target. #[prost(string, optional, tag="8")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// The GeoTargetConstant result. + /// The GeoTargetConstant result. #[prost(message, optional, tag="4")] pub geo_target_constant: ::core::option::Option, - /// The list of parents of the geo target constant. + /// The list of parents of the geo target constant. #[prost(message, repeated, tag="5")] pub geo_target_constant_parents: ::prost::alloc::vec::Vec, } @@ -19892,42 +19892,42 @@ pub mod geo_target_constant_service_client { } } } -/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField\]. +/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v11.services.GoogleAdsFieldService.GetGoogleAdsField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGoogleAdsFieldRequest { - /// Required. The resource name of the field to get. + /// Required. The resource name of the field to get. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsRequest { - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first page of - /// results will be returned. Use the value obtained from `next_page_token` - /// in the previous response in order to request the next page of results. + /// Token of the page to retrieve. If not specified, the first page of + /// results will be returned. Use the value obtained from `next_page_token` + /// in the previous response in order to request the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to further - /// limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to further + /// limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v11.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsResponse { - /// The list of fields that matched the query. + /// The list of fields that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. Pass the - /// content of this string as the `page_token` attribute of the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. Pass the + /// content of this string as the `page_token` attribute of the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT clause. + /// Total number of results that match the query ignoring the LIMIT clause. #[prost(int64, tag="3")] pub total_results_count: i64, } @@ -20066,30 +20066,30 @@ pub mod google_ads_field_service_client { } } } -/// Request message for fetching the invoices of a given billing setup that were -/// issued during a given month. +/// Request message for fetching the invoices of a given billing setup that were +/// issued during a given month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesRequest { - /// Required. The ID of the customer to fetch invoices for. + /// Required. The ID of the customer to fetch invoices for. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The billing setup resource name of the requested invoices. + /// Required. The billing setup resource name of the requested invoices. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="2")] pub billing_setup: ::prost::alloc::string::String, - /// Required. The issue year to retrieve invoices, in yyyy format. Only - /// invoices issued in 2019 or later can be retrieved. + /// Required. The issue year to retrieve invoices, in yyyy format. Only + /// invoices issued in 2019 or later can be retrieved. #[prost(string, tag="3")] pub issue_year: ::prost::alloc::string::String, - /// Required. The issue month to retrieve invoices. + /// Required. The issue month to retrieve invoices. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="4")] pub issue_month: i32, } -/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v11.services.InvoiceService.ListInvoices\]. +/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v11.services.InvoiceService.ListInvoices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesResponse { - /// The list of invoices that match the billing setup and time period. + /// The list of invoices that match the billing setup and time period. #[prost(message, repeated, tag="1")] pub invoices: ::prost::alloc::vec::Vec, } @@ -20195,281 +20195,281 @@ pub mod invoice_service_client { } } } -/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeasRequest { - /// The ID of the customer with the recommendation. + /// The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The resource name of the language to target. - /// Each keyword belongs to some set of languages; a keyword is included if - /// language is one of its languages. - /// If not set, all keywords will be included. + /// The resource name of the language to target. + /// Each keyword belongs to some set of languages; a keyword is included if + /// language is one of its languages. + /// If not set, all keywords will be included. #[prost(string, optional, tag="14")] pub language: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the location to target. Maximum is 10. - /// An empty list MAY be used to specify all targeting geos. + /// The resource names of the location to target. Maximum is 10. + /// An empty list MAY be used to specify all targeting geos. #[prost(string, repeated, tag="15")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, adult keywords will be included in response. - /// The default value is false. + /// If true, adult keywords will be included in response. + /// The default value is false. #[prost(bool, tag="10")] pub include_adult_keywords: bool, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. To request next page of results use the - /// value obtained from `next_page_token` in the previous response. - /// The request fields must match across pages. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. To request next page of results use the + /// value obtained from `next_page_token` in the previous response. + /// The request fields must match across pages. #[prost(string, tag="12")] pub page_token: ::prost::alloc::string::String, - /// Number of results to retrieve in a single page. - /// A maximum of 10,000 results may be returned, if the page_size - /// exceeds this, it is ignored. - /// If unspecified, at most 10,000 results will be returned. - /// The server may decide to further limit the number of returned resources. - /// If the response contains fewer than 10,000 results it may not be assumed - /// as last page of results. + /// Number of results to retrieve in a single page. + /// A maximum of 10,000 results may be returned, if the page_size + /// exceeds this, it is ignored. + /// If unspecified, at most 10,000 results will be returned. + /// The server may decide to further limit the number of returned resources. + /// If the response contains fewer than 10,000 results it may not be assumed + /// as last page of results. #[prost(int32, tag="13")] pub page_size: i32, - /// Targeting network. - /// If not set, Google Search And Partners Network will be used. + /// Targeting network. + /// If not set, Google Search And Partners Network will be used. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="9")] pub keyword_plan_network: i32, - /// The keyword annotations to include in response. + /// The keyword annotations to include in response. #[prost(enumeration="super::enums::keyword_plan_keyword_annotation_enum::KeywordPlanKeywordAnnotation", repeated, tag="17")] pub keyword_annotation: ::prost::alloc::vec::Vec, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="16")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="18")] pub historical_metrics_options: ::core::option::Option, - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[prost(oneof="generate_keyword_ideas_request::Seed", tags="2, 3, 5, 11")] pub seed: ::core::option::Option, } /// Nested message and enum types in `GenerateKeywordIdeasRequest`. pub mod generate_keyword_ideas_request { - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Seed { - /// A Keyword and a specific Url to generate ideas from - /// for example, cars, www.example.com/cars. + /// A Keyword and a specific Url to generate ideas from + /// for example, cars, www.example.com/cars. #[prost(message, tag="2")] KeywordAndUrlSeed(super::KeywordAndUrlSeed), - /// A Keyword or phrase to generate ideas from, for example, cars. + /// A Keyword or phrase to generate ideas from, for example, cars. #[prost(message, tag="3")] KeywordSeed(super::KeywordSeed), - /// A specific url to generate ideas from, for example, www.example.com/cars. + /// A specific url to generate ideas from, for example, www.example.com/cars. #[prost(message, tag="5")] UrlSeed(super::UrlSeed), - /// The site to generate ideas from, for example, www.example.com. + /// The site to generate ideas from, for example, www.example.com. #[prost(message, tag="11")] SiteSeed(super::SiteSeed), } } -/// Keyword And Url Seed +/// Keyword And Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAndUrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="4")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Keyword Seed +/// Keyword Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordSeed { - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Site Seed +/// Site Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct SiteSeed { - /// The domain name of the site. If the customer requesting the ideas doesn't - /// own the site provided only public information is returned. + /// The domain name of the site. If the customer requesting the ideas doesn't + /// own the site provided only public information is returned. #[prost(string, optional, tag="2")] pub site: ::core::option::Option<::prost::alloc::string::String>, } -/// Url Seed +/// Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResponse { - /// Results of generating keyword ideas. + /// Results of generating keyword ideas. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all keyword ideas. + /// The aggregate metrics for all keyword ideas. #[prost(message, optional, tag="4")] pub aggregate_metric_results: ::core::option::Option, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results available. + /// Total number of results available. #[prost(int64, tag="3")] pub total_size: i64, } -/// The result of generating keyword ideas. +/// The result of generating keyword ideas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResult { - /// Text of the keyword idea. - /// As in Keyword Plan historical metrics, this text may not be an actual - /// keyword, but the canonical form of multiple keywords. - /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. + /// Text of the keyword idea. + /// As in Keyword Plan historical metrics, this text may not be an actual + /// keyword, but the canonical form of multiple keywords. + /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The historical metrics for the keyword. + /// The historical metrics for the keyword. #[prost(message, optional, tag="3")] pub keyword_idea_metrics: ::core::option::Option, - /// The annotations for the keyword. - /// The annotation data is only provided if requested. + /// The annotations for the keyword. + /// The annotation data is only provided if requested. #[prost(message, optional, tag="6")] pub keyword_annotations: ::core::option::Option, - /// The list of close variants from the requested keywords that - /// are combined into this GenerateKeywordIdeaResult. See - /// for the - /// definition of "close variants". + /// The list of close variants from the requested keywords that + /// are combined into this GenerateKeywordIdeaResult. See + /// for the + /// definition of "close variants". #[prost(string, repeated, tag="7")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for -/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. +/// Request message for +/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsRequest { - /// The ID of the customer with the recommendation. + /// The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// A list of keywords to get historical metrics. - /// Not all inputs will be returned as a result of near-exact deduplication. - /// For example, if stats for "car" and "cars" are requested, only "car" will - /// be returned. - /// A maximum of 10,000 keywords can be used. + /// A list of keywords to get historical metrics. + /// Not all inputs will be returned as a result of near-exact deduplication. + /// For example, if stats for "car" and "cars" are requested, only "car" will + /// be returned. + /// A maximum of 10,000 keywords can be used. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The resource name of the language to target. - /// Each keyword belongs to some set of languages; a keyword is included if - /// language is one of its languages. - /// If not set, all keywords will be included. + /// The resource name of the language to target. + /// Each keyword belongs to some set of languages; a keyword is included if + /// language is one of its languages. + /// If not set, all keywords will be included. #[prost(string, optional, tag="4")] pub language: ::core::option::Option<::prost::alloc::string::String>, - /// If true, adult keywords will be included in response. - /// The default value is false. + /// If true, adult keywords will be included in response. + /// The default value is false. #[prost(bool, tag="5")] pub include_adult_keywords: bool, - /// The resource names of the location to target. Maximum is 10. - /// An empty list MAY be used to specify all targeting geos. + /// The resource names of the location to target. Maximum is 10. + /// An empty list MAY be used to specify all targeting geos. #[prost(string, repeated, tag="6")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Targeting network. - /// If not set, Google Search And Partners Network will be used. + /// Targeting network. + /// If not set, Google Search And Partners Network will be used. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="7")] pub keyword_plan_network: i32, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="8")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="3")] pub historical_metrics_options: ::core::option::Option, } -/// Response message for -/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. +/// Response message for +/// \[KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateKeywordHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsResponse { - /// List of keywords and their historical metrics. + /// List of keywords and their historical metrics. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all keywords. + /// The aggregate metrics for all keywords. #[prost(message, optional, tag="2")] pub aggregate_metric_results: ::core::option::Option, } -/// The result of generating keyword historical metrics. +/// The result of generating keyword historical metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordHistoricalMetricsResult { - /// The text of the query associated with one or more keywords. - /// Note that we de-dupe your keywords list, eliminating close variants - /// before returning the keywords as text. For example, if your request - /// originally contained the keywords "car" and "cars", the returned search - /// query will only contain "cars". The list of de-duped queries will be - /// included in close_variants field. + /// The text of the query associated with one or more keywords. + /// Note that we de-dupe your keywords list, eliminating close variants + /// before returning the keywords as text. For example, if your request + /// originally contained the keywords "car" and "cars", the returned search + /// query will only contain "cars". The list of de-duped queries will be + /// included in close_variants field. #[prost(string, optional, tag="1")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The list of close variants from the requested keywords whose stats - /// are combined into this GenerateKeywordHistoricalMetricsResult. + /// The list of close variants from the requested keywords whose stats + /// are combined into this GenerateKeywordHistoricalMetricsResult. #[prost(string, repeated, tag="3")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The historical metrics for text and its close variants + /// The historical metrics for text and its close variants #[prost(message, optional, tag="2")] pub keyword_metrics: ::core::option::Option, } -/// Request message for -/// \[KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes\]. +/// Request message for +/// \[KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateAdGroupThemesRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. A list of keywords to group into the provided AdGroups. + /// Required. A list of keywords to group into the provided AdGroups. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. A list of resource names of AdGroups to group keywords into. + /// Required. A list of resource names of AdGroups to group keywords into. /// Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, repeated, tag="3")] pub ad_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for -/// \[KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes\]. +/// Response message for +/// \[KeywordPlanIdeaService.GenerateAdGroupThemes][google.ads.googleads.v11.services.KeywordPlanIdeaService.GenerateAdGroupThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateAdGroupThemesResponse { - /// A list of suggested AdGroup/keyword pairings. + /// A list of suggested AdGroup/keyword pairings. #[prost(message, repeated, tag="1")] pub ad_group_keyword_suggestions: ::prost::alloc::vec::Vec, - /// A list of provided AdGroups that could not be used as suggestions. + /// A list of provided AdGroups that could not be used as suggestions. #[prost(message, repeated, tag="2")] pub unusable_ad_groups: ::prost::alloc::vec::Vec, } -/// The suggested text and AdGroup/Campaign pairing for a given keyword. +/// The suggested text and AdGroup/Campaign pairing for a given keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupKeywordSuggestion { - /// The original keyword text. + /// The original keyword text. #[prost(string, tag="1")] pub keyword_text: ::prost::alloc::string::String, - /// The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. + /// The normalized version of keyword_text for BROAD/EXACT/PHRASE suggestions. #[prost(string, tag="2")] pub suggested_keyword_text: ::prost::alloc::string::String, - /// The suggested keyword match type. + /// The suggested keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="3")] pub suggested_match_type: i32, - /// The suggested AdGroup for the keyword. - /// Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` + /// The suggested AdGroup for the keyword. + /// Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="4")] pub suggested_ad_group: ::prost::alloc::string::String, - /// The suggested Campaign for the keyword. - /// Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` + /// The suggested Campaign for the keyword. + /// Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="5")] pub suggested_campaign: ::prost::alloc::string::String, } -/// An AdGroup/Campaign pair that could not be used as a suggestion for keywords. +/// An AdGroup/Campaign pair that could not be used as a suggestion for keywords. /// -/// AdGroups may not be usable if the AdGroup -/// * belongs to Campaign that is not ENABLED or PAUSED -/// * is itself not ENABLED +/// AdGroups may not be usable if the AdGroup +/// * belongs to Campaign that is not ENABLED or PAUSED +/// * is itself not ENABLED #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnusableAdGroup { - /// The AdGroup resource name. - /// Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` + /// The AdGroup resource name. + /// Resource name format: `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="1")] pub ad_group: ::prost::alloc::string::String, - /// The Campaign resource name. - /// Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` + /// The Campaign resource name. + /// Resource name format: `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, } @@ -20644,28 +20644,28 @@ pub mod keyword_plan_idea_service_client { } } } -/// Request message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Request message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsRequest { - /// The query text of a keyword theme that will be used to map to similar - /// keyword themes. For example, "plumber" or "roofer". + /// The query text of a keyword theme that will be used to map to similar + /// keyword themes. For example, "plumber" or "roofer". #[prost(string, tag="1")] pub query_text: ::prost::alloc::string::String, - /// Upper-case, two-letter country code as defined by ISO-3166. This for - /// refining the scope of the query, default to 'US' if not set. + /// Upper-case, two-letter country code as defined by ISO-3166. This for + /// refining the scope of the query, default to 'US' if not set. #[prost(string, tag="2")] pub country_code: ::prost::alloc::string::String, - /// The two letter language code for get corresponding keyword theme for - /// refining the scope of the query, default to 'en' if not set. + /// The two letter language code for get corresponding keyword theme for + /// refining the scope of the query, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// Response message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Response message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v11.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsResponse { - /// Smart Campaign keyword theme suggestions. + /// Smart Campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_theme_constants: ::prost::alloc::vec::Vec, } @@ -20774,80 +20774,80 @@ pub mod keyword_theme_constant_service_client { } } } -/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksRequest { - /// Required. The ID of the customer onto which to apply the Merchant Center link list - /// operation. + /// Required. The ID of the customer onto which to apply the Merchant Center link list + /// operation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v11.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksResponse { - /// Merchant Center links available for the requested customer + /// Merchant Center links available for the requested customer #[prost(message, repeated, tag="1")] pub merchant_center_links: ::prost::alloc::vec::Vec, } -/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.GetMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.GetMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMerchantCenterLinkRequest { - /// Required. Resource name of the Merchant Center link. + /// Required. Resource name of the Merchant Center link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v11.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link + /// Required. The operation to perform on the link #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update on a Merchant Center link. +/// A single update on a Merchant Center link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform + /// The operation to perform #[prost(oneof="merchant_center_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MerchantCenterLinkOperation`. pub mod merchant_center_link_operation { - /// The operation to perform + /// The operation to perform #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The merchant center link is expected to have a valid - /// resource name. + /// Update operation: The merchant center link is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::MerchantCenterLink), - /// Remove operation: A resource name for the removed merchant center link is - /// expected, in this format: + /// Remove operation: A resource name for the removed merchant center link is + /// expected, in this format: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for Merchant Center link mutate. +/// Response message for Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the Merchant Center link mutate. +/// The result for the Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21020,105 +21020,105 @@ pub mod merchant_center_link_service_client { } } } -/// Request message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Request message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobRequest { - /// Required. The ID of the customer for which to create an offline user data job. + /// Required. The ID of the customer for which to create an offline user data job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The offline user data job to be created. + /// Required. The offline user data job to be created. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// If true, match rate range for the offline user data job is calculated and - /// made available in the resource. + /// If true, match rate range for the offline user data job is calculated and + /// made available in the resource. #[prost(bool, tag="5")] pub enable_match_rate_range_preview: bool, } -/// Response message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Response message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobResponse { - /// The resource name of the OfflineUserDataJob. + /// The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. +/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v11.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunOfflineUserDataJobRequest { - /// Required. The resource name of the OfflineUserDataJob to run. + /// Required. The resource name of the OfflineUserDataJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Request message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsRequest { - /// Required. The resource name of the OfflineUserDataJob. + /// Required. The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// True to enable partial failure for the offline user data job. + /// True to enable partial failure for the offline user data job. #[prost(bool, optional, tag="4")] pub enable_partial_failure: ::core::option::Option, - /// True to enable warnings for the offline user data job. When enabled, a - /// warning will not block the OfflineUserDataJobOperation, and will also - /// return warning messages about malformed field values. + /// True to enable warnings for the offline user data job. When enabled, a + /// warning will not block the OfflineUserDataJobOperation, and will also + /// return warning messages about malformed field values. #[prost(bool, optional, tag="6")] pub enable_warnings: ::core::option::Option, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. +/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobOperation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[prost(oneof="offline_user_data_job_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJobOperation`. pub mod offline_user_data_job_operation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Add the provided data to the transaction. Data cannot be retrieved after - /// being uploaded. + /// Add the provided data to the transaction. Data cannot be retrieved after + /// being uploaded. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// Remove the provided data from the transaction. Data cannot be retrieved - /// after being uploaded. + /// Remove the provided data from the transaction. Data cannot be retrieved + /// after being uploaded. #[prost(message, tag="2")] Remove(super::super::common::UserData), - /// Remove all previously provided data. This is only supported for Customer - /// Match. + /// Remove all previously provided data. This is only supported for Customer + /// Match. #[prost(bool, tag="3")] RemoveAll(bool), } } -/// Response message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Response message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v11.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors), we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors), we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Non blocking errors that pertain to operation failures in the warnings - /// mode. Returned only when enable_warnings = true. + /// Non blocking errors that pertain to operation failures in the warnings + /// mode. Returned only when enable_warnings = true. #[prost(message, optional, tag="2")] pub warning: ::core::option::Option, } @@ -21304,17 +21304,17 @@ pub mod offline_user_data_job_service_client { } } } -/// Request message for fetching all accessible payments accounts. +/// Request message for fetching all accessible payments accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsRequest { - /// Required. The ID of the customer to apply the PaymentsAccount list operation to. + /// Required. The ID of the customer to apply the PaymentsAccount list operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts\]. +/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v11.services.PaymentsAccountService.ListPaymentsAccounts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsResponse { - /// The list of accessible payments accounts. + /// The list of accessible payments accounts. #[prost(message, repeated, tag="1")] pub payments_accounts: ::prost::alloc::vec::Vec, } @@ -21427,581 +21427,581 @@ pub mod payments_account_service_client { } } } -/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. +/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsRequest { } -/// The list of plannable locations. +/// The list of plannable locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsResponse { - /// The list of locations available for planning. - /// See - /// - /// for sample locations. + /// The list of locations available for planning. + /// See + /// + /// for sample locations. #[prost(message, repeated, tag="1")] pub plannable_locations: ::prost::alloc::vec::Vec, } -/// A plannable location: country, metro region, province, etc. +/// A plannable location: country, metro region, province, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableLocation { - /// The location identifier. + /// The location identifier. #[prost(string, optional, tag="4")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// The unique location name in English. + /// The unique location name in English. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The parent country (not present if location is a country). - /// If present, will always be a GeoTargetConstant ID. Additional information - /// such as country name is provided by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\] or - /// \[GoogleAdsService.Search/SearchStream][\]. + /// The parent country (not present if location is a country). + /// If present, will always be a GeoTargetConstant ID. Additional information + /// such as country name is provided by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\] or + /// \[GoogleAdsService.Search/SearchStream][\]. #[prost(int64, optional, tag="6")] pub parent_country_id: ::core::option::Option, - /// The ISO-3166-1 alpha-2 country code that is associated with the location. + /// The ISO-3166-1 alpha-2 country code that is associated with the location. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The location's type. Location types correspond to target_type returned by - /// searching location type in \[GoogleAdsService.Search/SearchStream][\]. + /// The location's type. Location types correspond to target_type returned by + /// searching location type in \[GoogleAdsService.Search/SearchStream][\]. #[prost(string, optional, tag="8")] pub location_type: ::core::option::Option<::prost::alloc::string::String>, } -/// Request to list available products in a given location. +/// Request to list available products in a given location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsRequest { - /// Required. The ID of the selected location for planning. To list the available - /// plannable location IDs use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location for planning. To list the available + /// plannable location IDs use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="2")] pub plannable_location_id: ::prost::alloc::string::String, } -/// A response with all available products. +/// A response with all available products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsResponse { - /// The list of products available for planning and related targeting metadata. + /// The list of products available for planning and related targeting metadata. #[prost(message, repeated, tag="1")] pub product_metadata: ::prost::alloc::vec::Vec, } -/// The metadata associated with an available plannable product. +/// The metadata associated with an available plannable product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductMetadata { - /// The code associated with the ad product (for example: BUMPER, - /// TRUEVIEW_IN_STREAM). - /// To list the available plannable product codes use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. + /// The code associated with the ad product (for example: BUMPER, + /// TRUEVIEW_IN_STREAM). + /// To list the available plannable product codes use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. #[prost(string, optional, tag="4")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The name associated with the ad product. + /// The name associated with the ad product. #[prost(string, tag="3")] pub plannable_product_name: ::prost::alloc::string::String, - /// The allowed plannable targeting for this product. + /// The allowed plannable targeting for this product. #[prost(message, optional, tag="2")] pub plannable_targeting: ::core::option::Option, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableTargeting { - /// Allowed plannable age ranges for the product for which metrics will be - /// reported. Actual targeting is computed by mapping this age range onto - /// standard Google common.AgeRangeInfo values. + /// Allowed plannable age ranges for the product for which metrics will be + /// reported. Actual targeting is computed by mapping this age range onto + /// standard Google common.AgeRangeInfo values. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", repeated, tag="1")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Targetable genders for the ad product. + /// Targetable genders for the ad product. #[prost(message, repeated, tag="2")] pub genders: ::prost::alloc::vec::Vec, - /// Targetable devices for the ad product. - /// TABLET device targeting is automatically applied to reported metrics - /// when MOBILE targeting is selected for CPM_MASTHEAD, - /// GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. + /// Targetable devices for the ad product. + /// TABLET device targeting is automatically applied to reported metrics + /// when MOBILE targeting is selected for CPM_MASTHEAD, + /// GOOGLE_PREFERRED_BUMPER, and GOOGLE_PREFERRED_SHORT products. #[prost(message, repeated, tag="3")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable networks for the ad product. + /// Targetable networks for the ad product. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", repeated, tag="4")] pub networks: ::prost::alloc::vec::Vec, - /// Targetable YouTube Select Lineups for the ad product. + /// Targetable YouTube Select Lineups for the ad product. #[prost(message, repeated, tag="5")] pub youtube_select_lineups: ::prost::alloc::vec::Vec, } -/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v11.services.ReachPlanService.GenerateProductMixIdeas\]. +/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v11.services.ReachPlanService.GenerateProductMixIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The ID of the location, this is one of the IDs returned by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the location, this is one of the IDs returned by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="6")] pub plannable_location_id: ::prost::alloc::string::String, - /// Required. Currency code. - /// Three-character ISO 4217 currency code. + /// Required. Currency code. + /// Three-character ISO 4217 currency code. #[prost(string, tag="7")] pub currency_code: ::prost::alloc::string::String, - /// Required. Total budget. - /// Amount in micros. One million is equivalent to one unit. + /// Required. Total budget. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, tag="8")] pub budget_micros: i64, - /// The preferences of the suggested product mix. - /// An unset preference is interpreted as all possible values are allowed, - /// unless explicitly specified. + /// The preferences of the suggested product mix. + /// An unset preference is interpreted as all possible values are allowed, + /// unless explicitly specified. #[prost(message, optional, tag="5")] pub preferences: ::core::option::Option, } -/// Set of preferences about the planned mix. +/// Set of preferences about the planned mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Preferences { - /// True if ad skippable. - /// If not set, default is any value. + /// True if ad skippable. + /// If not set, default is any value. #[prost(bool, optional, tag="6")] pub is_skippable: ::core::option::Option, - /// True if ad start with sound. - /// If not set, default is any value. + /// True if ad start with sound. + /// If not set, default is any value. #[prost(bool, optional, tag="7")] pub starts_with_sound: ::core::option::Option, - /// The length of the ad. - /// If not set, default is any value. + /// The length of the ad. + /// If not set, default is any value. #[prost(enumeration="super::enums::reach_plan_ad_length_enum::ReachPlanAdLength", tag="3")] pub ad_length: i32, - /// True if ad will only show on the top content. - /// If not set, default is false. + /// True if ad will only show on the top content. + /// If not set, default is false. #[prost(bool, optional, tag="8")] pub top_content_only: ::core::option::Option, - /// True if the price is guaranteed. The cost of serving the ad is agreed - /// upfront and not subject to an auction. - /// If not set, default is any value. + /// True if the price is guaranteed. The cost of serving the ad is agreed + /// upfront and not subject to an auction. + /// If not set, default is any value. #[prost(bool, optional, tag="9")] pub has_guaranteed_price: ::core::option::Option, } -/// The suggested product mix. +/// The suggested product mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasResponse { - /// A list of products (ad formats) and the associated budget allocation idea. + /// A list of products (ad formats) and the associated budget allocation idea. #[prost(message, repeated, tag="1")] pub product_allocation: ::prost::alloc::vec::Vec, } -/// An allocation of a part of the budget on a given product. +/// An allocation of a part of the budget on a given product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductAllocation { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be allocated for the suggested product in requested currency. - /// Amount in micros. One million is equivalent to one unit. + /// The value to be allocated for the suggested product in requested currency. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, } -/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v11.services.ReachPlanService.GenerateReachForecast\]. +/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v11.services.ReachPlanService.GenerateReachForecast\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The currency code. - /// Three-character ISO 4217 currency code. + /// The currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="9")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Campaign duration. + /// Required. Campaign duration. #[prost(message, optional, tag="3")] pub campaign_duration: ::core::option::Option, - /// Chosen cookie frequency cap to be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user. - /// If not specified, no cap is applied. + /// Chosen cookie frequency cap to be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user. + /// If not specified, no cap is applied. /// - /// This field is deprecated in v4 and will eventually be removed. - /// Use cookie_frequency_cap_setting instead. + /// This field is deprecated in v4 and will eventually be removed. + /// Use cookie_frequency_cap_setting instead. #[prost(int32, optional, tag="10")] pub cookie_frequency_cap: ::core::option::Option, - /// Chosen cookie frequency cap to be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user during a specified time interval. - /// If not specified, a default of 0 (no cap) is applied. + /// Chosen cookie frequency cap to be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user during a specified time interval. + /// If not specified, a default of 0 (no cap) is applied. /// - /// This field replaces the deprecated cookie_frequency_cap field. + /// This field replaces the deprecated cookie_frequency_cap field. #[prost(message, optional, tag="8")] pub cookie_frequency_cap_setting: ::core::option::Option, - /// Chosen minimum effective frequency (the number of times a person was - /// exposed to the ad) for the reported reach metrics \[1-10\]. - /// This won't affect the targeting, but just the reporting. - /// If not specified, a default of 1 is applied. + /// Chosen minimum effective frequency (the number of times a person was + /// exposed to the ad) for the reported reach metrics \[1-10\]. + /// This won't affect the targeting, but just the reporting. + /// If not specified, a default of 1 is applied. /// - /// This field cannot be combined with the effective_frequency_limit field. + /// This field cannot be combined with the effective_frequency_limit field. #[prost(int32, optional, tag="11")] pub min_effective_frequency: ::core::option::Option, - /// The highest minimum effective frequency (the number of times a person was - /// exposed to the ad) value \[1-10\] to include in - /// Forecast.effective_frequency_breakdowns. - /// If not specified, Forecast.effective_frequency_breakdowns will not be - /// provided. + /// The highest minimum effective frequency (the number of times a person was + /// exposed to the ad) value \[1-10\] to include in + /// Forecast.effective_frequency_breakdowns. + /// If not specified, Forecast.effective_frequency_breakdowns will not be + /// provided. /// - /// The effective frequency value provided here will also be used as the - /// minimum effective frequency for the reported reach metrics. + /// The effective frequency value provided here will also be used as the + /// minimum effective frequency for the reported reach metrics. /// - /// This field cannot be combined with the min_effective_frequency field. + /// This field cannot be combined with the min_effective_frequency field. #[prost(message, optional, tag="12")] pub effective_frequency_limit: ::core::option::Option, - /// The targeting to be applied to all products selected in the product mix. + /// The targeting to be applied to all products selected in the product mix. /// - /// This is planned targeting: execution details might vary based on the - /// advertising product, consult an implementation specialist. + /// This is planned targeting: execution details might vary based on the + /// advertising product, consult an implementation specialist. /// - /// See specific metrics for details on how targeting affects them. + /// See specific metrics for details on how targeting affects them. #[prost(message, optional, tag="6")] pub targeting: ::core::option::Option, - /// Required. The products to be forecast. - /// The max number of allowed planned products is 15. + /// Required. The products to be forecast. + /// The max number of allowed planned products is 15. #[prost(message, repeated, tag="7")] pub planned_products: ::prost::alloc::vec::Vec, - /// Controls the forecast metrics returned in the response. + /// Controls the forecast metrics returned in the response. #[prost(message, optional, tag="13")] pub forecast_metric_options: ::core::option::Option, - /// The name of the customer being planned for. This is a user-defined value. - /// Required if targeting.audience_targeting is set. + /// The name of the customer being planned for. This is a user-defined value. + /// Required if targeting.audience_targeting is set. #[prost(string, optional, tag="14")] pub customer_reach_group: ::core::option::Option<::prost::alloc::string::String>, } -/// Effective frequency limit. +/// Effective frequency limit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyLimit { - /// The highest effective frequency value to include in - /// Forecast.effective_frequency_breakdowns. - /// This field supports frequencies 1-10, inclusive. + /// The highest effective frequency value to include in + /// Forecast.effective_frequency_breakdowns. + /// This field supports frequencies 1-10, inclusive. #[prost(int32, tag="1")] pub effective_frequency_breakdown_limit: i32, } -/// A rule specifying the maximum number of times an ad can be shown to a user -/// over a particular time period. +/// A rule specifying the maximum number of times an ad can be shown to a user +/// over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCap { - /// Required. The number of impressions, inclusive. + /// Required. The number of impressions, inclusive. #[prost(int32, tag="3")] pub impressions: i32, - /// Required. The type of time unit. + /// Required. The type of time unit. #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Targeting { - /// Required. The ID of the selected location. Plannable location IDs can be - /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location. Plannable location IDs can be + /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v11.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, optional, tag="6")] pub plannable_location_id: ::core::option::Option<::prost::alloc::string::String>, - /// Targeted age range. - /// An unset value is equivalent to targeting all ages. + /// Targeted age range. + /// An unset value is equivalent to targeting all ages. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", tag="2")] pub age_range: i32, - /// Targeted genders. - /// An unset value is equivalent to targeting MALE and FEMALE. + /// Targeted genders. + /// An unset value is equivalent to targeting MALE and FEMALE. #[prost(message, repeated, tag="3")] pub genders: ::prost::alloc::vec::Vec, - /// Targeted devices. - /// If not specified, targets all applicable devices. Applicable devices vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. + /// Targeted devices. + /// If not specified, targets all applicable devices. Applicable devices vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. #[prost(message, repeated, tag="4")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable network for the ad product. - /// If not specified, targets all applicable networks. Applicable networks vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. + /// Targetable network for the ad product. + /// If not specified, targets all applicable networks. Applicable networks vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", tag="5")] pub network: i32, - /// Targeted audiences. - /// If not specified, does not target any specific audience. + /// Targeted audiences. + /// If not specified, does not target any specific audience. #[prost(message, optional, tag="7")] pub audience_targeting: ::core::option::Option, } -/// The duration of a planned campaign. +/// The duration of a planned campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDuration { - /// The duration value in days. + /// The duration value in days. /// - /// This field cannot be combined with the date_range field. + /// This field cannot be combined with the date_range field. #[prost(int32, optional, tag="2")] pub duration_in_days: ::core::option::Option, - /// Date range of the campaign. - /// Dates are in the yyyy-mm-dd format and inclusive. - /// The end date must be < 1 year in the future and the - /// date range must be <= 92 days long. + /// Date range of the campaign. + /// Dates are in the yyyy-mm-dd format and inclusive. + /// The end date must be < 1 year in the future and the + /// date range must be <= 92 days long. /// - /// This field cannot be combined with the duration_in_days field. + /// This field cannot be combined with the duration_in_days field. #[prost(message, optional, tag="3")] pub date_range: ::core::option::Option, } -/// A product being planned for reach. +/// A product being planned for reach. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProduct { - /// Required. Selected product for planning. - /// The code associated with the ad product (for example: Trueview, Bumper). - /// To list the available plannable product codes use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. + /// Required. Selected product for planning. + /// The code associated with the ad product (for example: Trueview, Bumper). + /// To list the available plannable product codes use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Maximum budget allocation in micros for the selected product. - /// The value is specified in the selected planning currency_code. - /// For example: 1 000 000$ = 1 000 000 000 000 micros. + /// Required. Maximum budget allocation in micros for the selected product. + /// The value is specified in the selected planning currency_code. + /// For example: 1 000 000$ = 1 000 000 000 000 micros. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, - /// Targeting settings for the selected product. - /// To list the available targeting for each product use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. + /// Targeting settings for the selected product. + /// To list the available targeting for each product use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v11.services.ReachPlanService.ListPlannableProducts\]. #[prost(message, optional, tag="5")] pub advanced_product_targeting: ::core::option::Option, } -/// Response message containing the generated reach curve. +/// Response message containing the generated reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastResponse { - /// Reference on target audiences for this curve. + /// Reference on target audiences for this curve. #[prost(message, optional, tag="1")] pub on_target_audience_metrics: ::core::option::Option, - /// The generated reach curve for the planned product mix. + /// The generated reach curve for the planned product mix. #[prost(message, optional, tag="2")] pub reach_curve: ::core::option::Option, } -/// The reach curve for the planned products. +/// The reach curve for the planned products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachCurve { - /// All points on the reach curve. + /// All points on the reach curve. #[prost(message, repeated, tag="1")] pub reach_forecasts: ::prost::alloc::vec::Vec, } -/// A point on reach curve. +/// A point on reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachForecast { - /// The cost in micros. + /// The cost in micros. #[prost(int64, tag="5")] pub cost_micros: i64, - /// Forecasted traffic metrics for this point. + /// Forecasted traffic metrics for this point. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, - /// The forecasted allocation and traffic metrics for each planned product - /// at this point on the reach curve. + /// The forecasted allocation and traffic metrics for each planned product + /// at this point on the reach curve. #[prost(message, repeated, tag="4")] pub planned_product_reach_forecasts: ::prost::alloc::vec::Vec, } -/// Forecasted traffic metrics for the planned products and targeting. +/// Forecasted traffic metrics for the planned products and targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Forecast { - /// Number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times that exactly - /// matches the Targeting. + /// Number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times that exactly + /// matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="5")] pub on_target_reach: ::core::option::Option, - /// Total number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times. This includes - /// people that may fall outside the specified Targeting. + /// Total number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times. This includes + /// people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="6")] pub total_reach: ::core::option::Option, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, optional, tag="7")] pub on_target_impressions: ::core::option::Option, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, optional, tag="8")] pub total_impressions: ::core::option::Option, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="9")] pub viewable_impressions: ::core::option::Option, - /// A list of effective frequency forecasts. The list is ordered starting with - /// 1+ and ending with the value set in - /// GenerateReachForecastRequest.effective_frequency_limit. If no - /// effective_frequency_limit was set, this list will be empty. + /// A list of effective frequency forecasts. The list is ordered starting with + /// 1+ and ending with the value set in + /// GenerateReachForecastRequest.effective_frequency_limit. If no + /// effective_frequency_limit was set, this list will be empty. #[prost(message, repeated, tag="10")] pub effective_frequency_breakdowns: ::prost::alloc::vec::Vec, - /// Number of unique people reached that exactly matches the Targeting - /// including co-viewers. + /// Number of unique people reached that exactly matches the Targeting + /// including co-viewers. #[prost(int64, optional, tag="11")] pub on_target_coview_reach: ::core::option::Option, - /// Number of unique people reached including co-viewers. This includes - /// people that may fall outside the specified Targeting. + /// Number of unique people reached including co-viewers. This includes + /// people that may fall outside the specified Targeting. #[prost(int64, optional, tag="12")] pub total_coview_reach: ::core::option::Option, - /// Number of ad impressions that exactly matches the Targeting including - /// co-viewers. + /// Number of ad impressions that exactly matches the Targeting including + /// co-viewers. #[prost(int64, optional, tag="13")] pub on_target_coview_impressions: ::core::option::Option, - /// Total number of ad impressions including co-viewers. This includes - /// impressions that may fall outside the specified Targeting, due to - /// insufficient information on signed-in users. + /// Total number of ad impressions including co-viewers. This includes + /// impressions that may fall outside the specified Targeting, due to + /// insufficient information on signed-in users. #[prost(int64, optional, tag="14")] pub total_coview_impressions: ::core::option::Option, } -/// The forecasted allocation and traffic metrics for a specific product -/// at a point on the reach curve. +/// The forecasted allocation and traffic metrics for a specific product +/// at a point on the reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductReachForecast { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, tag="1")] pub plannable_product_code: ::prost::alloc::string::String, - /// The cost in micros. This may differ from the product's input allocation - /// if one or more planned products cannot fulfill the budget because of - /// limited inventory. + /// The cost in micros. This may differ from the product's input allocation + /// if one or more planned products cannot fulfill the budget because of + /// limited inventory. #[prost(int64, tag="2")] pub cost_micros: i64, - /// Forecasted traffic metrics for this product. + /// Forecasted traffic metrics for this product. #[prost(message, optional, tag="3")] pub planned_product_forecast: ::core::option::Option, } -/// Forecasted traffic metrics for a planned product. +/// Forecasted traffic metrics for a planned product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductForecast { - /// Number of unique people reached that exactly matches the Targeting. + /// Number of unique people reached that exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="1")] pub on_target_reach: i64, - /// Number of unique people reached. This includes people that may fall - /// outside the specified Targeting. + /// Number of unique people reached. This includes people that may fall + /// outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub total_reach: i64, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, tag="3")] pub on_target_impressions: i64, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, tag="4")] pub total_impressions: i64, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="5")] pub viewable_impressions: ::core::option::Option, - /// Number of unique people reached that exactly matches the Targeting - /// including co-viewers. + /// Number of unique people reached that exactly matches the Targeting + /// including co-viewers. #[prost(int64, optional, tag="6")] pub on_target_coview_reach: ::core::option::Option, - /// Number of unique people reached including co-viewers. This includes - /// people that may fall outside the specified Targeting. + /// Number of unique people reached including co-viewers. This includes + /// people that may fall outside the specified Targeting. #[prost(int64, optional, tag="7")] pub total_coview_reach: ::core::option::Option, - /// Number of ad impressions that exactly matches the Targeting including - /// co-viewers. + /// Number of ad impressions that exactly matches the Targeting including + /// co-viewers. #[prost(int64, optional, tag="8")] pub on_target_coview_impressions: ::core::option::Option, - /// Total number of ad impressions including co-viewers. This includes - /// impressions that may fall outside the specified Targeting, due to - /// insufficient information on signed-in users. + /// Total number of ad impressions including co-viewers. This includes + /// impressions that may fall outside the specified Targeting, due to + /// insufficient information on signed-in users. #[prost(int64, optional, tag="9")] pub total_coview_impressions: ::core::option::Option, } -/// Audience metrics for the planned products. -/// These metrics consider the following targeting dimensions: +/// Audience metrics for the planned products. +/// These metrics consider the following targeting dimensions: /// -/// - Location -/// - PlannableAgeRange -/// - Gender +/// - Location +/// - PlannableAgeRange +/// - Gender #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnTargetAudienceMetrics { - /// Reference audience size matching the considered targeting for YouTube. + /// Reference audience size matching the considered targeting for YouTube. #[prost(int64, optional, tag="3")] pub youtube_audience_size: ::core::option::Option, - /// Reference audience size matching the considered targeting for Census. + /// Reference audience size matching the considered targeting for Census. #[prost(int64, optional, tag="4")] pub census_audience_size: ::core::option::Option, } -/// A breakdown of the number of unique people reached at a given effective -/// frequency. +/// A breakdown of the number of unique people reached at a given effective +/// frequency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyBreakdown { - /// The effective frequency \[1-10\]. + /// The effective frequency \[1-10\]. #[prost(int32, tag="1")] pub effective_frequency: i32, - /// The number of unique people reached at least effective_frequency times that - /// exactly matches the Targeting. + /// The number of unique people reached at least effective_frequency times that + /// exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub on_target_reach: i64, - /// Total number of unique people reached at least effective_frequency times. - /// This includes people that may fall outside the specified Targeting. + /// Total number of unique people reached at least effective_frequency times. + /// This includes people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="3")] pub total_reach: i64, - /// The number of users (including co-viewing users) reached for the associated - /// effective_frequency value. + /// The number of users (including co-viewing users) reached for the associated + /// effective_frequency value. #[prost(int64, optional, tag="4")] pub effective_coview_reach: ::core::option::Option, - /// The number of users (including co-viewing users) reached for the associated - /// effective_frequency value within the specified plan demographic. + /// The number of users (including co-viewing users) reached for the associated + /// effective_frequency value within the specified plan demographic. #[prost(int64, optional, tag="5")] pub on_target_effective_coview_reach: ::core::option::Option, } -/// Controls forecast metrics to return. +/// Controls forecast metrics to return. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForecastMetricOptions { - /// Indicates whether to include co-view metrics in the response forecast. + /// Indicates whether to include co-view metrics in the response forecast. #[prost(bool, tag="1")] pub include_coview: bool, } -/// Audience targeting for reach forecast. +/// Audience targeting for reach forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceTargeting { - /// List of audiences based on user interests to be targeted. + /// List of audiences based on user interests to be targeted. #[prost(message, repeated, tag="1")] pub user_interest: ::prost::alloc::vec::Vec, } -/// Advanced targeting settings for products. +/// Advanced targeting settings for products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvancedProductTargeting { - /// Targeting options for this product. + /// Targeting options for this product. #[prost(oneof="advanced_product_targeting::AdvancedTargeting", tags="1")] pub advanced_targeting: ::core::option::Option, } /// Nested message and enum types in `AdvancedProductTargeting`. pub mod advanced_product_targeting { - /// Targeting options for this product. + /// Targeting options for this product. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdvancedTargeting { - /// Settings for YouTube Select targeting. + /// Settings for YouTube Select targeting. #[prost(message, tag="1")] YoutubeSelectSettings(super::YouTubeSelectSettings), } } -/// Request settings for YouTube Select Lineups +/// Request settings for YouTube Select Lineups #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeSelectSettings { - /// Lineup for YouTube Select Targeting. + /// Lineup for YouTube Select Targeting. #[prost(int64, tag="1")] pub lineup_id: i64, } -/// A Plannable YouTube Select Lineup for product targeting. +/// A Plannable YouTube Select Lineup for product targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeSelectLineUp { - /// The ID of the YouTube Select Lineup. + /// The ID of the YouTube Select Lineup. #[prost(int64, tag="1")] pub lineup_id: i64, - /// The unique name of the YouTube Select Lineup. + /// The unique name of the YouTube Select Lineup. #[prost(string, tag="2")] pub lineup_name: ::prost::alloc::string::String, } @@ -22212,265 +22212,265 @@ pub mod reach_plan_service_client { } } } -/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation\]. +/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to apply recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to apply recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried - /// out as a transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried + /// out as a transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, } -/// Information about the operation to apply a recommendation and any parameters -/// to customize it. +/// Information about the operation to apply a recommendation and any parameters +/// to customize it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationOperation { - /// The resource name of the recommendation to apply. + /// The resource name of the recommendation to apply. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[prost(oneof="apply_recommendation_operation::ApplyParameters", tags="2, 3, 4, 5, 10, 6, 7, 8, 9, 11, 12, 13, 14")] pub apply_parameters: ::core::option::Option, } /// Nested message and enum types in `ApplyRecommendationOperation`. pub mod apply_recommendation_operation { - /// Parameters to use when applying a campaign budget recommendation. + /// Parameters to use when applying a campaign budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetParameters { - /// New budget amount to set for target budget resource. This is a required - /// field. + /// New budget amount to set for target budget resource. This is a required + /// field. #[prost(int64, optional, tag="2")] pub new_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a text ad recommendation. + /// Parameters to use when applying a text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdParameters { - /// New ad to add to recommended ad group. All necessary fields need to be - /// set in this message. This is a required field. + /// New ad to add to recommended ad group. All necessary fields need to be + /// set in this message. This is a required field. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying keyword recommendation. + /// Parameters to use when applying keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordParameters { - /// The ad group resource to add keyword to. This is a required field. + /// The ad group resource to add keyword to. This is a required field. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. This is a required field. + /// The match type of the keyword. This is a required field. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, - /// Optional, CPC bid to set for the keyword. If not set, keyword will use - /// bid based on bidding strategy used by target ad group. + /// Optional, CPC bid to set for the keyword. If not set, keyword will use + /// bid based on bidding strategy used by target ad group. #[prost(int64, optional, tag="5")] pub cpc_bid_micros: ::core::option::Option, } - /// Parameters to use when applying Target CPA recommendation. + /// Parameters to use when applying Target CPA recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInParameters { - /// Average CPA to use for Target CPA bidding strategy. This is a required - /// field. + /// Average CPA to use for Target CPA bidding strategy. This is a required + /// field. #[prost(int64, optional, tag="3")] pub target_cpa_micros: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="4")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a Target ROAS opt-in recommendation. + /// Parameters to use when applying a Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInParameters { - /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a - /// required field, unless new_campaign_budget_amount_micros is set. + /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding + /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a + /// required field, unless new_campaign_budget_amount_micros is set. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="2")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionParameters { - /// Callout extensions to be added. This is a required field. + /// Callout extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub callout_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionParameters { - /// Call extensions to be added. This is a required field. + /// Call extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub call_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionParameters { - /// Sitelink extensions to be added. This is a required field. + /// Sitelink extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub sitelink_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetParameters { - /// Budget amount to move from excess budget to constrained budget. This is - /// a required field. + /// Budget amount to move from excess budget to constrained budget. This is + /// a required field. #[prost(int64, optional, tag="2")] pub budget_micros_to_move: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad asset - /// recommendation. + /// Parameters to use when applying a responsive search ad asset + /// recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdAssetParameters { - /// Updated ad. The current ad's content will be replaced. + /// Updated ad. The current ad's content will be replaced. #[prost(message, optional, tag="1")] pub updated_ad: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad improve ad strength - /// recommendation. + /// Parameters to use when applying a responsive search ad improve ad strength + /// recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdImproveAdStrengthParameters { - /// Updated ad. The current ad's content will be replaced. + /// Updated ad. The current ad's content will be replaced. #[prost(message, optional, tag="1")] pub updated_ad: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdParameters { - /// Required. New ad to add to recommended ad group. + /// Required. New ad to add to recommended ad group. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying a use broad match keyword recommendation. + /// Parameters to use when applying a use broad match keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UseBroadMatchKeywordParameters { - /// New budget amount to set for target budget resource. + /// New budget amount to set for target budget resource. #[prost(int64, optional, tag="1")] pub new_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApplyParameters { - /// Optional parameters to use when applying a campaign budget - /// recommendation. + /// Optional parameters to use when applying a campaign budget + /// recommendation. #[prost(message, tag="2")] CampaignBudget(CampaignBudgetParameters), - /// Optional parameters to use when applying a text ad recommendation. + /// Optional parameters to use when applying a text ad recommendation. #[prost(message, tag="3")] TextAd(TextAdParameters), - /// Optional parameters to use when applying keyword recommendation. + /// Optional parameters to use when applying keyword recommendation. #[prost(message, tag="4")] Keyword(KeywordParameters), - /// Optional parameters to use when applying target CPA opt-in - /// recommendation. + /// Optional parameters to use when applying target CPA opt-in + /// recommendation. #[prost(message, tag="5")] TargetCpaOptIn(TargetCpaOptInParameters), - /// Optional parameters to use when applying target ROAS opt-in - /// recommendation. + /// Optional parameters to use when applying target ROAS opt-in + /// recommendation. #[prost(message, tag="10")] TargetRoasOptIn(TargetRoasOptInParameters), - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[prost(message, tag="6")] CalloutExtension(CalloutExtensionParameters), - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[prost(message, tag="7")] CallExtension(CallExtensionParameters), - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[prost(message, tag="8")] SitelinkExtension(SitelinkExtensionParameters), - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[prost(message, tag="9")] MoveUnusedBudget(MoveUnusedBudgetParameters), - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[prost(message, tag="11")] ResponsiveSearchAd(ResponsiveSearchAdParameters), - /// Parameters to use when applying a use broad match keyword recommendation. + /// Parameters to use when applying a use broad match keyword recommendation. #[prost(message, tag="12")] UseBroadMatchKeyword(UseBroadMatchKeywordParameters), - /// Parameters to use when applying a responsive search ad asset - /// recommendation. + /// Parameters to use when applying a responsive search ad asset + /// recommendation. #[prost(message, tag="13")] ResponsiveSearchAdAsset(ResponsiveSearchAdAssetParameters), - /// Parameters to use when applying a responsive search ad improve ad - /// strength recommendation. + /// Parameters to use when applying a responsive search ad improve ad + /// strength recommendation. #[prost(message, tag="14")] ResponsiveSearchAdImproveAdStrength(ResponsiveSearchAdImproveAdStrengthParameters), } } -/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation\]. +/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v11.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResponse { - /// Results of operations to apply recommendations. + /// Results of operations to apply recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors) we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors) we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result of applying a recommendation. +/// The result of applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResult { - /// Returned for successful applies. + /// Returned for successful applies. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation\]. +/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to dismiss recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to dismiss recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried in a - /// single transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried in a + /// single transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="2")] pub partial_failure: bool, } /// Nested message and enum types in `DismissRecommendationRequest`. pub mod dismiss_recommendation_request { - /// Operation to dismiss a single recommendation identified by resource_name. + /// Operation to dismiss a single recommendation identified by resource_name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationOperation { - /// The resource name of the recommendation to dismiss. + /// The resource name of the recommendation to dismiss. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } } -/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation\]. +/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v11.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResponse { - /// Results of operations to dismiss recommendations. + /// Results of operations to dismiss recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (for example, auth - /// errors) we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (for example, auth + /// errors) we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } /// Nested message and enum types in `DismissRecommendationResponse`. pub mod dismiss_recommendation_response { - /// The result of dismissing a recommendation. + /// The result of dismissing a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResult { - /// Returned for successful dismissals. + /// Returned for successful dismissals. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22612,196 +22612,196 @@ pub mod recommendation_service_client { } } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsRequest { - /// Required. The ID of the customer whose budget options are to be suggested. + /// Required. The ID of the customer whose budget options are to be suggested. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[prost(oneof="suggest_smart_campaign_budget_options_request::SuggestionData", tags="2, 3")] pub suggestion_data: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsRequest`. pub mod suggest_smart_campaign_budget_options_request { - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SuggestionData { - /// Required. The resource name of the campaign to get suggestion for. + /// Required. The resource name of the campaign to get suggestion for. #[prost(string, tag="2")] Campaign(::prost::alloc::string::String), - /// Required. Information needed to get budget options + /// Required. Information needed to get budget options #[prost(message, tag="3")] SuggestionInfo(super::SmartCampaignSuggestionInfo), } } -/// Information needed to get suggestion for Smart Campaign. More information -/// provided will help the system to derive better suggestions. +/// Information needed to get suggestion for Smart Campaign. More information +/// provided will help the system to derive better suggestions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSuggestionInfo { - /// Optional. Landing page URL of the campaign. + /// Optional. Landing page URL of the campaign. #[prost(string, tag="1")] pub final_url: ::prost::alloc::string::String, - /// Optional. The two letter advertising language for the Smart campaign to be - /// constructed, default to 'en' if not set. + /// Optional. The two letter advertising language for the Smart campaign to be + /// constructed, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// Optional. The business ad schedule. + /// Optional. The business ad schedule. #[prost(message, repeated, tag="6")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion - /// accuracy and we recommend always setting it if possible. + /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion + /// accuracy and we recommend always setting it if possible. #[prost(message, repeated, tag="7")] pub keyword_themes: ::prost::alloc::vec::Vec, - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[prost(oneof="smart_campaign_suggestion_info::BusinessSetting", tags="8, 9")] pub business_setting: ::core::option::Option, - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[prost(oneof="smart_campaign_suggestion_info::GeoTarget", tags="4, 5")] pub geo_target: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSuggestionInfo`. pub mod smart_campaign_suggestion_info { - /// A list of locations. + /// A list of locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationList { - /// Required. Locations. + /// Required. Locations. #[prost(message, repeated, tag="1")] pub locations: ::prost::alloc::vec::Vec, } - /// A context that describes a business. + /// A context that describes a business. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessContext { - /// Optional. The name of the business. + /// Optional. The name of the business. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, } - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// Optional. Context describing the business to advertise. + /// Optional. Context describing the business to advertise. #[prost(message, tag="8")] BusinessContext(BusinessContext), - /// Optional. The resource name of a Business Profile location. - /// Business Profile location resource names can be fetched through the - /// Business Profile API and adhere to the following format: - /// `locations/{locationId}`. - /// - /// See the [Business Profile API] - /// () - /// for additional details. + /// Optional. The resource name of a Business Profile location. + /// Business Profile location resource names can be fetched through the + /// Business Profile API and adhere to the following format: + /// `locations/{locationId}`. + /// + /// See the [Business Profile API] + /// () + /// for additional details. #[prost(string, tag="9")] BusinessProfileLocation(::prost::alloc::string::String), } - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum GeoTarget { - /// Optional. The targeting geo location by locations. + /// Optional. The targeting geo location by locations. #[prost(message, tag="4")] LocationList(LocationList), - /// Optional. The targeting geo location by proximity. + /// Optional. The targeting geo location by proximity. #[prost(message, tag="5")] Proximity(super::super::common::ProximityInfo), } } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on -/// whether the system could suggest the options, either all of the options or -/// none of them might be returned. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on +/// whether the system could suggest the options, either all of the options or +/// none of them might be returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsResponse { - /// Optional. The lowest budget option. + /// Optional. The lowest budget option. #[prost(message, optional, tag="1")] pub low: ::core::option::Option, - /// Optional. The recommended budget option. + /// Optional. The recommended budget option. #[prost(message, optional, tag="2")] pub recommended: ::core::option::Option, - /// Optional. The highest budget option. + /// Optional. The highest budget option. #[prost(message, optional, tag="3")] pub high: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsResponse`. pub mod suggest_smart_campaign_budget_options_response { - /// Performance metrics for a given budget option. + /// Performance metrics for a given budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The estimated min daily clicks. + /// The estimated min daily clicks. #[prost(int64, tag="1")] pub min_daily_clicks: i64, - /// The estimated max daily clicks. + /// The estimated max daily clicks. #[prost(int64, tag="2")] pub max_daily_clicks: i64, } - /// Smart Campaign budget option. + /// Smart Campaign budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetOption { - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, tag="1")] pub daily_amount_micros: i64, - /// Metrics pertaining to the suggested budget, could be empty if there is - /// not enough information to derive the estimates. + /// Metrics pertaining to the suggested budget, could be empty if there is + /// not enough information to derive the estimates. #[prost(message, optional, tag="2")] pub metrics: ::core::option::Option, } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Inputs used to suggest a Smart campaign ad. - /// Required fields: final_url, language_code, keyword_themes. - /// Optional but recommended fields to improve the quality of the suggestion: - /// business_setting and geo_target. + /// Required. Inputs used to suggest a Smart campaign ad. + /// Required fields: final_url, language_code, keyword_themes. + /// Optional but recommended fields to improve the quality of the suggestion: + /// business_setting and geo_target. #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdResponse { - /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. #[prost(message, optional, tag="1")] pub ad_info: ::core::option::Option, } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Information to get keyword theme suggestions. - /// Required fields: - /// * suggestion_info.final_url - /// * suggestion_info.language_code - /// * suggestion_info.geo_target + /// Required. Information to get keyword theme suggestions. + /// Required fields: + /// * suggestion_info.final_url + /// * suggestion_info.language_code + /// * suggestion_info.geo_target /// - /// Recommended fields: - /// * suggestion_info.business_setting + /// Recommended fields: + /// * suggestion_info.business_setting #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v11.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesResponse { - /// Smart campaign keyword theme suggestions. + /// Smart campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_themes: ::prost::alloc::vec::Vec, } @@ -22951,16 +22951,16 @@ pub mod smart_campaign_suggest_service_client { } } } -/// Request message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Request message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdRequest { - /// Resource name of the third party app analytics link. + /// Resource name of the third party app analytics link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Response message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Response message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v11.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdResponse { } @@ -23071,59 +23071,59 @@ pub mod third_party_app_analytics_link_service_client { } } } -/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData\] +/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataRequest { - /// Required. The ID of the customer for which to update the user data. + /// Required. The ID of the customer for which to update the user data. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// Metadata of the request. + /// Metadata of the request. #[prost(oneof="upload_user_data_request::Metadata", tags="2")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `UploadUserDataRequest`. pub mod upload_user_data_request { - /// Metadata of the request. + /// Metadata of the request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Metadata for data updates to a Customer Match user list. + /// Metadata for data updates to a Customer Match user list. #[prost(message, tag="2")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), } } -/// Operation to be made for the UploadUserDataRequest. +/// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataOperation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[prost(oneof="user_data_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserDataOperation`. pub mod user_data_operation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// The list of user data to be appended to the user list. + /// The list of user data to be appended to the user list. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// The list of user data to be removed from the user list. + /// The list of user data to be removed from the user list. #[prost(message, tag="2")] Remove(super::super::common::UserData), } } -/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData\] -/// Uploads made through this service will not be visible under the 'Segment -/// members' section for the Customer Match List in the Google Ads UI. +/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v11.services.UserDataService.UploadUserData\] +/// Uploads made through this service will not be visible under the 'Segment +/// members' section for the Customer Match List in the Google Ads UI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataResponse { - /// The date time at which the request was received by API, formatted as - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". + /// The date time at which the request was received by API, formatted as + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="3")] pub upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Number of upload data operations received by API. + /// Number of upload data operations received by API. #[prost(int32, optional, tag="4")] pub received_operations_count: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v9.common.rs b/gcloud-sdk/genproto/google.ads.googleads.v9.common.rs index e1137d414..9f275183e 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v9.common.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v9.common.rs @@ -1,4861 +1,4861 @@ -// Proto file describing policy information. +// Proto file describing policy information. -/// Key of the violation. The key is used for referring to a violation -/// when filing an exemption request. +/// Key of the violation. The key is used for referring to a violation +/// when filing an exemption request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationKey { - /// Unique ID of the violated policy. + /// Unique ID of the violated policy. #[prost(string, optional, tag="3")] pub policy_name: ::core::option::Option<::prost::alloc::string::String>, - /// The text that violates the policy if specified. - /// Otherwise, refers to the policy in general - /// (e.g., when requesting to be exempt from the whole policy). - /// If not specified for criterion exemptions, the whole policy is implied. - /// Must be specified for ad exemptions. + /// The text that violates the policy if specified. + /// Otherwise, refers to the policy in general + /// (e.g., when requesting to be exempt from the whole policy). + /// If not specified for criterion exemptions, the whole policy is implied. + /// Must be specified for ad exemptions. #[prost(string, optional, tag="4")] pub violating_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Parameter for controlling how policy exemption is done. +/// Parameter for controlling how policy exemption is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameter { - /// The list of policy topics that should not cause a PolicyFindingError to - /// be reported. This field is currently only compatible with Enhanced Text Ad. - /// It corresponds to the PolicyTopicEntry.topic field. + /// The list of policy topics that should not cause a PolicyFindingError to + /// be reported. This field is currently only compatible with Enhanced Text Ad. + /// It corresponds to the PolicyTopicEntry.topic field. /// - /// Resources violating these policies will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these policies will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(string, repeated, tag="3")] pub ignorable_policy_topics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, please refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, please refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="2")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, } -/// Policy finding attached to a resource (e.g. alcohol policy associated with -/// a site that sells alcohol). +/// Policy finding attached to a resource (e.g. alcohol policy associated with +/// a site that sells alcohol). /// -/// Each PolicyTopicEntry has a topic that indicates the specific ads policy -/// the entry is about and a type to indicate the effect that the entry will have -/// on serving. It may optionally have one or more evidences that indicate the -/// reason for the finding. It may also optionally have one or more constraints -/// that provide details about how serving may be restricted. +/// Each PolicyTopicEntry has a topic that indicates the specific ads policy +/// the entry is about and a type to indicate the effect that the entry will have +/// on serving. It may optionally have one or more evidences that indicate the +/// reason for the finding. It may also optionally have one or more constraints +/// that provide details about how serving may be restricted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntry { - /// Policy topic this finding refers to. For example, "ALCOHOL", - /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible - /// policy topics is not fixed for a particular API version and may change - /// at any time. + /// Policy topic this finding refers to. For example, "ALCOHOL", + /// "TRADEMARKS_IN_AD_TEXT", or "DESTINATION_NOT_WORKING". The set of possible + /// policy topics is not fixed for a particular API version and may change + /// at any time. #[prost(string, optional, tag="5")] pub topic: ::core::option::Option<::prost::alloc::string::String>, - /// Describes the negative or positive effect this policy will have on serving. + /// Describes the negative or positive effect this policy will have on serving. #[prost(enumeration="super::enums::policy_topic_entry_type_enum::PolicyTopicEntryType", tag="2")] pub r#type: i32, - /// Additional information that explains policy finding - /// (e.g. the brand name for a trademark finding). + /// Additional information that explains policy finding + /// (e.g. the brand name for a trademark finding). #[prost(message, repeated, tag="3")] pub evidences: ::prost::alloc::vec::Vec, - /// Indicates how serving of this resource may be affected (e.g. not serving - /// in a country). + /// Indicates how serving of this resource may be affected (e.g. not serving + /// in a country). #[prost(message, repeated, tag="4")] pub constraints: ::prost::alloc::vec::Vec, } -/// Additional information that explains a policy finding. +/// Additional information that explains a policy finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidence { - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[prost(oneof="policy_topic_evidence::Value", tags="3, 4, 9, 6, 7, 8")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicEvidence`. pub mod policy_topic_evidence { - /// A list of fragments of text that violated a policy. + /// A list of fragments of text that violated a policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextList { - /// The fragments of text from the resource that caused the policy finding. + /// The fragments of text from the resource that caused the policy finding. #[prost(string, repeated, tag="2")] pub texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of websites that caused a policy finding. Used for - /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more - /// than five websites, only the top five (those that appear in resources the - /// most) will be listed here. + /// A list of websites that caused a policy finding. Used for + /// ONE_WEBSITE_PER_AD_GROUP policy topic, for example. In case there are more + /// than five websites, only the top five (those that appear in resources the + /// most) will be listed here. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebsiteList { - /// Websites that caused the policy finding. + /// Websites that caused the policy finding. #[prost(string, repeated, tag="2")] pub websites: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of strings found in a destination page that caused a policy - /// finding. + /// A list of strings found in a destination page that caused a policy + /// finding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationTextList { - /// List of text found in the resource's destination page. + /// List of text found in the resource's destination page. #[prost(string, repeated, tag="2")] pub destination_texts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Evidence of mismatches between the URLs of a resource. + /// Evidence of mismatches between the URLs of a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationMismatch { - /// The set of URLs that did not match each other. + /// The set of URLs that did not match each other. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_mismatch_url_type_enum::PolicyTopicEvidenceDestinationMismatchUrlType", repeated, tag="1")] pub url_types: ::prost::alloc::vec::Vec, } - /// Evidence details when the destination is returning an HTTP error - /// code or isn't functional in all locations for commonly used devices. + /// Evidence details when the destination is returning an HTTP error + /// code or isn't functional in all locations for commonly used devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationNotWorking { - /// The full URL that didn't work. + /// The full URL that didn't work. #[prost(string, optional, tag="7")] pub expanded_url: ::core::option::Option<::prost::alloc::string::String>, - /// The type of device that failed to load the URL. + /// The type of device that failed to load the URL. #[prost(enumeration="super::super::enums::policy_topic_evidence_destination_not_working_device_enum::PolicyTopicEvidenceDestinationNotWorkingDevice", tag="4")] pub device: i32, - /// The time the URL was last checked. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// The time the URL was last checked. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="8")] pub last_checked_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[prost(oneof="destination_not_working::Reason", tags="1, 6")] pub reason: ::core::option::Option, } /// Nested message and enum types in `DestinationNotWorking`. pub mod destination_not_working { - /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. + /// Indicates the reason of the DESTINATION_NOT_WORKING policy finding. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Reason { - /// The type of DNS error. + /// The type of DNS error. #[prost(enumeration="super::super::super::enums::policy_topic_evidence_destination_not_working_dns_error_type_enum::PolicyTopicEvidenceDestinationNotWorkingDnsErrorType", tag="1")] DnsErrorType(i32), - /// The HTTP error code. + /// The HTTP error code. #[prost(int64, tag="6")] HttpErrorCode(i64), } } - /// Specific evidence information depending on the evidence type. + /// Specific evidence information depending on the evidence type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// List of websites linked with this resource. + /// List of websites linked with this resource. #[prost(message, tag="3")] WebsiteList(WebsiteList), - /// List of evidence found in the text of a resource. + /// List of evidence found in the text of a resource. #[prost(message, tag="4")] TextList(TextList), - /// The language the resource was detected to be written in. - /// This is an IETF language tag such as "en-US". + /// The language the resource was detected to be written in. + /// This is an IETF language tag such as "en-US". #[prost(string, tag="9")] LanguageCode(::prost::alloc::string::String), - /// The text in the destination of the resource that is causing a policy - /// finding. + /// The text in the destination of the resource that is causing a policy + /// finding. #[prost(message, tag="6")] DestinationTextList(DestinationTextList), - /// Mismatch between the destinations of a resource's URLs. + /// Mismatch between the destinations of a resource's URLs. #[prost(message, tag="7")] DestinationMismatch(DestinationMismatch), - /// Details when the destination is returning an HTTP error code or isn't - /// functional in all locations for commonly used devices. + /// Details when the destination is returning an HTTP error code or isn't + /// functional in all locations for commonly used devices. #[prost(message, tag="8")] DestinationNotWorking(DestinationNotWorking), } } -/// Describes the effect on serving that a policy topic entry will have. +/// Describes the effect on serving that a policy topic entry will have. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicConstraint { - /// Specific information about the constraint. + /// Specific information about the constraint. #[prost(oneof="policy_topic_constraint::Value", tags="1, 2, 3, 4")] pub value: ::core::option::Option, } /// Nested message and enum types in `PolicyTopicConstraint`. pub mod policy_topic_constraint { - /// A list of countries where a resource's serving is constrained. + /// A list of countries where a resource's serving is constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraintList { - /// Total number of countries targeted by the resource. + /// Total number of countries targeted by the resource. #[prost(int32, optional, tag="3")] pub total_targeted_countries: ::core::option::Option, - /// Countries in which serving is restricted. + /// Countries in which serving is restricted. #[prost(message, repeated, tag="2")] pub countries: ::prost::alloc::vec::Vec, } - /// Indicates that a policy topic was constrained due to disapproval of the - /// website for reseller purposes. + /// Indicates that a policy topic was constrained due to disapproval of the + /// website for reseller purposes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResellerConstraint { } - /// Indicates that a resource's ability to serve in a particular country is - /// constrained. + /// Indicates that a resource's ability to serve in a particular country is + /// constrained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryConstraint { - /// Geo target constant resource name of the country in which serving is - /// constrained. + /// Geo target constant resource name of the country in which serving is + /// constrained. #[prost(string, optional, tag="2")] pub country_criterion: ::core::option::Option<::prost::alloc::string::String>, } - /// Specific information about the constraint. + /// Specific information about the constraint. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Countries where the resource cannot serve. + /// Countries where the resource cannot serve. #[prost(message, tag="1")] CountryConstraintList(CountryConstraintList), - /// Reseller constraint. + /// Reseller constraint. #[prost(message, tag="2")] ResellerConstraint(ResellerConstraint), - /// Countries where a certificate is required for serving. + /// Countries where a certificate is required for serving. #[prost(message, tag="3")] CertificateMissingInCountryList(CountryConstraintList), - /// Countries where the resource's domain is not covered by the - /// certificates associated with it. + /// Countries where the resource's domain is not covered by the + /// certificates associated with it. #[prost(message, tag="4")] CertificateDomainMismatchInCountryList(CountryConstraintList), } } -// Proto file describing asset policies. +// Proto file describing asset policies. -/// Contains policy information for an asset inside an ad. +/// Contains policy information for an asset inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdAssetPolicySummary { - /// The list of policy findings for this asset. + /// The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process this asset. + /// Where in the review process this asset. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status of this asset, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status of this asset, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing assets used inside an ad. +// Proto file describing assets used inside an ad. -/// A text asset used inside an ad. +/// A text asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTextAsset { - /// Asset text. + /// Asset text. #[prost(string, optional, tag="4")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The pinned field of the asset. This restricts the asset to only serve - /// within this field. Multiple assets can be pinned to the same field. An - /// asset that is unpinned or pinned to a different field will not serve in a - /// field where some other asset has been pinned. + /// The pinned field of the asset. This restricts the asset to only serve + /// within this field. Multiple assets can be pinned to the same field. An + /// asset that is unpinned or pinned to a different field will not serve in a + /// field where some other asset has been pinned. #[prost(enumeration="super::enums::served_asset_field_type_enum::ServedAssetFieldType", tag="2")] pub pinned_field: i32, - /// The performance label of this text asset. + /// The performance label of this text asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="5")] pub asset_performance_label: i32, - /// The policy summary of this text asset. + /// The policy summary of this text asset. #[prost(message, optional, tag="6")] pub policy_summary_info: ::core::option::Option, } -/// An image asset used inside an ad. +/// An image asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdImageAsset { - /// The Asset resource name of this image. + /// The Asset resource name of this image. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A video asset used inside an ad. +/// A video asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdVideoAsset { - /// The Asset resource name of this video. + /// The Asset resource name of this video. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -/// A media bundle asset used inside an ad. +/// A media bundle asset used inside an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdMediaBundleAsset { - /// The Asset resource name of this media bundle. + /// The Asset resource name of this media bundle. #[prost(string, optional, tag="2")] pub asset: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file containing info messages for specific ad types. +// Proto file containing info messages for specific ad types. -/// A text ad. +/// A text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="4")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, optional, tag="5")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, optional, tag="6")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded text ad. +/// An expanded text ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedTextAdInfo { - /// The first part of the ad's headline. + /// The first part of the ad's headline. #[prost(string, optional, tag="8")] pub headline_part1: ::core::option::Option<::prost::alloc::string::String>, - /// The second part of the ad's headline. + /// The second part of the ad's headline. #[prost(string, optional, tag="9")] pub headline_part2: ::core::option::Option<::prost::alloc::string::String>, - /// The third part of the ad's headline. + /// The third part of the ad's headline. #[prost(string, optional, tag="10")] pub headline_part3: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="11")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="12")] pub description2: ::core::option::Option<::prost::alloc::string::String>, - /// The text that can appear alongside the ad's displayed URL. + /// The text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="13")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Additional text that can appear alongside the ad's displayed URL. + /// Additional text that can appear alongside the ad's displayed URL. #[prost(string, optional, tag="14")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// An expanded dynamic search ad. +/// An expanded dynamic search ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedDynamicSearchAdInfo { - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="3")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The second description of the ad. + /// The second description of the ad. #[prost(string, optional, tag="4")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A hotel ad. +/// A hotel ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdInfo { } -/// A Smart Shopping ad. +/// A Smart Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSmartAdInfo { } -/// A standard Shopping ad. +/// A standard Shopping ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingProductAdInfo { } -/// A Shopping Comparison Listing ad. +/// A Shopping Comparison Listing ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingComparisonListingAdInfo { - /// Headline of the ad. This field is required. Allowed length is between 25 - /// and 45 characters. + /// Headline of the ad. This field is required. Allowed length is between 25 + /// and 45 characters. #[prost(string, optional, tag="2")] pub headline: ::core::option::Option<::prost::alloc::string::String>, } -/// A Gmail ad. +/// A Gmail ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailAdInfo { - /// The Gmail teaser. + /// The Gmail teaser. #[prost(message, optional, tag="1")] pub teaser: ::core::option::Option, - /// The MediaFile resource name of the header image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must - /// be between 3:1 and 5:1 (+-1%). + /// The MediaFile resource name of the header image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 300x100 pixels and the aspect ratio must + /// be between 3:1 and 5:1 (+-1%). #[prost(string, optional, tag="10")] pub header_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image. Valid image types are - /// GIF, JPEG and PNG. The image must either be landscape with a minimum size - /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a - /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) + /// The MediaFile resource name of the marketing image. Valid image types are + /// GIF, JPEG and PNG. The image must either be landscape with a minimum size + /// of 600x314 pixels and aspect ratio of 600:314 (+-1%) or square with a + /// minimum size of 300x300 pixels and aspect ratio of 1:1 (+-1%) #[prost(string, optional, tag="11")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Headline of the marketing image. + /// Headline of the marketing image. #[prost(string, optional, tag="12")] pub marketing_image_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the marketing image. + /// Description of the marketing image. #[prost(string, optional, tag="13")] pub marketing_image_description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the marketing image. + /// Display-call-to-action of the marketing image. #[prost(message, optional, tag="6")] pub marketing_image_display_call_to_action: ::core::option::Option, - /// Product images. Up to 15 images are supported. + /// Product images. Up to 15 images are supported. #[prost(message, repeated, tag="7")] pub product_images: ::prost::alloc::vec::Vec, - /// Product videos. Up to 7 videos are supported. At least one product video - /// or a marketing image must be specified. + /// Product videos. Up to 7 videos are supported. At least one product video + /// or a marketing image must be specified. #[prost(message, repeated, tag="8")] pub product_videos: ::prost::alloc::vec::Vec, } -/// Gmail teaser data. The teaser is a small header that acts as an invitation -/// to view the rest of the ad (the body). +/// Gmail teaser data. The teaser is a small header that acts as an invitation +/// to view the rest of the ad (the body). #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailTeaser { - /// Headline of the teaser. + /// Headline of the teaser. #[prost(string, optional, tag="5")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the teaser. + /// Description of the teaser. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Business name of the advertiser. + /// Business name of the advertiser. #[prost(string, optional, tag="7")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image. Valid image types are GIF, - /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must - /// be 1:1 (+-1%). + /// The MediaFile resource name of the logo image. Valid image types are GIF, + /// JPEG and PNG. The minimum size is 144x144 pixels and the aspect ratio must + /// be 1:1 (+-1%). #[prost(string, optional, tag="8")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, } -/// Data for display call to action. The call to action is a piece of the ad -/// that prompts the user to do something. Like clicking a link or making a phone -/// call. +/// Data for display call to action. The call to action is a piece of the ad +/// that prompts the user to do something. Like clicking a link or making a phone +/// call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayCallToAction { - /// Text for the display-call-to-action. + /// Text for the display-call-to-action. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for - /// white. + /// Text color for the display-call-to-action in hexadecimal, e.g. #ffffff for + /// white. #[prost(string, optional, tag="6")] pub text_color: ::core::option::Option<::prost::alloc::string::String>, - /// Identifies the URL collection in the `ad.url_collections` field. If not - /// set, the URL defaults to `final_url`. + /// Identifies the URL collection in the `ad.url_collections` field. If not + /// set, the URL defaults to `final_url`. #[prost(string, optional, tag="7")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Product image specific data. +/// Product image specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductImage { - /// The MediaFile resource name of the product image. Valid image types are - /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio - /// must be 1:1 (+-1%). + /// The MediaFile resource name of the product image. Valid image types are + /// GIF, JPEG and PNG. The minimum size is 300x300 pixels and the aspect ratio + /// must be 1:1 (+-1%). #[prost(string, optional, tag="4")] pub product_image: ::core::option::Option<::prost::alloc::string::String>, - /// Description of the product. + /// Description of the product. #[prost(string, optional, tag="5")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Display-call-to-action of the product image. + /// Display-call-to-action of the product image. #[prost(message, optional, tag="3")] pub display_call_to_action: ::core::option::Option, } -/// Product video specific data. +/// Product video specific data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductVideo { - /// The MediaFile resource name of a video which must be hosted on YouTube. + /// The MediaFile resource name of a video which must be hosted on YouTube. #[prost(string, optional, tag="2")] pub product_video: ::core::option::Option<::prost::alloc::string::String>, } -/// An image ad. +/// An image ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAdInfo { - /// Width in pixels of the full size image. + /// Width in pixels of the full size image. #[prost(int64, optional, tag="15")] pub pixel_width: ::core::option::Option, - /// Height in pixels of the full size image. + /// Height in pixels of the full size image. #[prost(int64, optional, tag="16")] pub pixel_height: ::core::option::Option, - /// URL of the full size image. + /// URL of the full size image. #[prost(string, optional, tag="17")] pub image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Width in pixels of the preview size image. + /// Width in pixels of the preview size image. #[prost(int64, optional, tag="18")] pub preview_pixel_width: ::core::option::Option, - /// Height in pixels of the preview size image. + /// Height in pixels of the preview size image. #[prost(int64, optional, tag="19")] pub preview_pixel_height: ::core::option::Option, - /// URL of the preview size image. + /// URL of the preview size image. #[prost(string, optional, tag="20")] pub preview_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// The mime type of the image. + /// The mime type of the image. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="10")] pub mime_type: i32, - /// The name of the image. If the image was created from a MediaFile, this is - /// the MediaFile's name. If the image was created from bytes, this is empty. + /// The name of the image. If the image was created from a MediaFile, this is + /// the MediaFile's name. If the image was created from bytes, this is empty. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[prost(oneof="image_ad_info::Image", tags="12, 13, 14")] pub image: ::core::option::Option, } /// Nested message and enum types in `ImageAdInfo`. pub mod image_ad_info { - /// The image to create the ImageAd from. This can be specified in one of - /// two ways. - /// 1. An existing MediaFile resource. - /// 2. The raw image data as bytes. + /// The image to create the ImageAd from. This can be specified in one of + /// two ways. + /// 1. An existing MediaFile resource. + /// 2. The raw image data as bytes. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Image { - /// The MediaFile resource to use for the image. + /// The MediaFile resource to use for the image. #[prost(string, tag="12")] MediaFile(::prost::alloc::string::String), - /// Raw image data as bytes. + /// Raw image data as bytes. #[prost(bytes, tag="13")] Data(::prost::alloc::vec::Vec), - /// An ad ID to copy the image from. + /// An ad ID to copy the image from. #[prost(int64, tag="14")] AdIdToCopyImageFrom(i64), } } -/// Representation of video bumper in-stream ad format (very short in-stream -/// non-skippable video ad). +/// Representation of video bumper in-stream ad format (very short in-stream +/// non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoBumperInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="3")] pub companion_banner: ::core::option::Option, } -/// Representation of video non-skippable in-stream ad format (15 second -/// in-stream non-skippable video ad). +/// Representation of video non-skippable in-stream ad format (15 second +/// in-stream non-skippable video ad). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoNonSkippableInStreamAdInfo { - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="5")] pub companion_banner: ::core::option::Option, - /// Label on the "Call To Action" button taking the user to the video ad's - /// final URL. + /// Label on the "Call To Action" button taking the user to the video ad's + /// final URL. #[prost(string, tag="3")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the "Call To Action" button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the "Call To Action" button to give + /// context and encourage clicking on the button. #[prost(string, tag="4")] pub action_headline: ::prost::alloc::string::String, } -/// Representation of video TrueView in-stream ad format (ad shown during video -/// playback, often at beginning, which displays a skip button a few seconds into -/// the video). +/// Representation of video TrueView in-stream ad format (ad shown during video +/// playback, often at beginning, which displays a skip button a few seconds into +/// the video). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoTrueViewInStreamAdInfo { - /// Label on the CTA (call-to-action) button taking the user to the video ad's - /// final URL. - /// Required for TrueView for action campaigns, optional otherwise. + /// Label on the CTA (call-to-action) button taking the user to the video ad's + /// final URL. + /// Required for TrueView for action campaigns, optional otherwise. #[prost(string, tag="4")] pub action_button_label: ::prost::alloc::string::String, - /// Additional text displayed with the CTA (call-to-action) button to give - /// context and encourage clicking on the button. + /// Additional text displayed with the CTA (call-to-action) button to give + /// context and encourage clicking on the button. #[prost(string, tag="5")] pub action_headline: ::prost::alloc::string::String, - /// The image assets of the companion banner used with the ad. + /// The image assets of the companion banner used with the ad. #[prost(message, optional, tag="7")] pub companion_banner: ::core::option::Option, } -/// Representation of video out-stream ad format (ad shown alongside a feed -/// with automatic playback, without sound). +/// Representation of video out-stream ad format (ad shown alongside a feed +/// with automatic playback, without sound). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoOutstreamAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="3")] pub headline: ::prost::alloc::string::String, - /// The description line. + /// The description line. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, } -/// Representation of video TrueView discovery ad format. +/// Representation of video TrueView discovery ad format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoTrueViewDiscoveryAdInfo { - /// The headline of the ad. + /// The headline of the ad. #[prost(string, tag="4")] pub headline: ::prost::alloc::string::String, - /// First text line for a TrueView video discovery ad. + /// First text line for a TrueView video discovery ad. #[prost(string, tag="5")] pub description1: ::prost::alloc::string::String, - /// Second text line for a TrueView video discovery ad. + /// Second text line for a TrueView video discovery ad. #[prost(string, tag="6")] pub description2: ::prost::alloc::string::String, - /// Video thumbnail image to use. + /// Video thumbnail image to use. #[prost(enumeration="super::enums::video_thumbnail_enum::VideoThumbnail", tag="7")] pub thumbnail: i32, } -/// A video ad. +/// A video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoAdInfo { - /// The YouTube video assets used for the ad. + /// The YouTube video assets used for the ad. #[prost(message, optional, tag="8")] pub video: ::core::option::Option, - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[prost(oneof="video_ad_info::Format", tags="2, 3, 4, 5, 6")] pub format: ::core::option::Option, } /// Nested message and enum types in `VideoAdInfo`. pub mod video_ad_info { - /// Format-specific schema for the different video formats. + /// Format-specific schema for the different video formats. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Format { - /// Video TrueView in-stream ad format. + /// Video TrueView in-stream ad format. #[prost(message, tag="2")] InStream(super::VideoTrueViewInStreamAdInfo), - /// Video bumper in-stream ad format. + /// Video bumper in-stream ad format. #[prost(message, tag="3")] Bumper(super::VideoBumperInStreamAdInfo), - /// Video out-stream ad format. + /// Video out-stream ad format. #[prost(message, tag="4")] OutStream(super::VideoOutstreamAdInfo), - /// Video non-skippable in-stream ad format. + /// Video non-skippable in-stream ad format. #[prost(message, tag="5")] NonSkippable(super::VideoNonSkippableInStreamAdInfo), - /// Video TrueView discovery ad format. + /// Video TrueView discovery ad format. #[prost(message, tag="6")] Discovery(super::VideoTrueViewDiscoveryAdInfo), } } -/// A video responsive ad. +/// A video responsive ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoResponsiveAdInfo { - /// List of text assets used for the short headline, e.g. the "Call To Action" - /// banner. Currently, only a single value for the short headline is supported. + /// List of text assets used for the short headline, e.g. the "Call To Action" + /// banner. Currently, only a single value for the short headline is supported. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the long headline. - /// Currently, only a single value for the long headline is supported. + /// List of text assets used for the long headline. + /// Currently, only a single value for the long headline is supported. #[prost(message, repeated, tag="2")] pub long_headlines: ::prost::alloc::vec::Vec, - /// List of text assets used for the description. - /// Currently, only a single value for the description is supported. + /// List of text assets used for the description. + /// Currently, only a single value for the description is supported. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets used for the button, e.g. the "Call To Action" button. - /// Currently, only a single value for the button is supported. + /// List of text assets used for the button, e.g. the "Call To Action" button. + /// Currently, only a single value for the button is supported. #[prost(message, repeated, tag="4")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of YouTube video assets used for the ad. - /// Currently, only a single value for the YouTube video asset is supported. + /// List of YouTube video assets used for the ad. + /// Currently, only a single value for the YouTube video asset is supported. #[prost(message, repeated, tag="5")] pub videos: ::prost::alloc::vec::Vec, - /// List of image assets used for the companion banner. - /// Currently, only a single value for the companion banner asset is supported. + /// List of image assets used for the companion banner. + /// Currently, only a single value for the companion banner asset is supported. #[prost(message, repeated, tag="6")] pub companion_banners: ::prost::alloc::vec::Vec, } -/// A responsive search ad. +/// A responsive search ad. /// -/// Responsive search ads let you create an ad that adapts to show more text, and -/// more relevant messages, to your customers. Enter multiple headlines and -/// descriptions when creating a responsive search ad, and over time, Google Ads -/// will automatically test different combinations and learn which combinations -/// perform best. By adapting your ad's content to more closely match potential -/// customers' search terms, responsive search ads may improve your campaign's -/// performance. +/// Responsive search ads let you create an ad that adapts to show more text, and +/// more relevant messages, to your customers. Enter multiple headlines and +/// descriptions when creating a responsive search ad, and over time, Google Ads +/// will automatically test different combinations and learn which combinations +/// perform best. By adapting your ad's content to more closely match potential +/// customers' search terms, responsive search ads may improve your campaign's +/// performance. /// -/// More information at +/// More information at #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// First part of text that can be appended to the URL in the ad. + /// First part of text that can be appended to the URL in the ad. #[prost(string, optional, tag="5")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. #[prost(string, optional, tag="6")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' -/// in the Google Ads UI. +/// A legacy responsive display ad. Ads of this type are labeled 'Responsive ads' +/// in the Google Ads UI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyResponsiveDisplayAdInfo { - /// The short version of the ad's headline. + /// The short version of the ad's headline. #[prost(string, optional, tag="16")] pub short_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The long version of the ad's headline. + /// The long version of the ad's headline. #[prost(string, optional, tag="17")] pub long_headline: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the ad. + /// The description of the ad. #[prost(string, optional, tag="18")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, optional, tag="19")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="21")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="22")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The call-to-action text for the ad. + /// The call-to-action text for the ad. #[prost(string, optional, tag="23")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the logo image used in the ad. + /// The MediaFile resource name of the logo image used in the ad. #[prost(string, optional, tag="24")] pub logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square logo image used in the ad. + /// The MediaFile resource name of the square logo image used in the ad. #[prost(string, optional, tag="25")] pub square_logo_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the marketing image used in the ad. + /// The MediaFile resource name of the marketing image used in the ad. #[prost(string, optional, tag="26")] pub marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// The MediaFile resource name of the square marketing image used in the ad. + /// The MediaFile resource name of the square marketing image used in the ad. #[prost(string, optional, tag="27")] pub square_marketing_image: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="13")] pub format_setting: i32, - /// Prefix before price. E.g. 'as low as'. + /// Prefix before price. E.g. 'as low as'. #[prost(string, optional, tag="28")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="29")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, } -/// An app ad. +/// An app ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppAdInfo { - /// Mandatory ad text. + /// Mandatory ad text. #[prost(message, optional, tag="1")] pub mandatory_ad_text: ::core::option::Option, - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="2")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="3")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. + /// List of YouTube video assets that may be displayed with the ad. #[prost(message, repeated, tag="5")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// List of media bundle assets that may be used with the ad. + /// List of media bundle assets that may be used with the ad. #[prost(message, repeated, tag="6")] pub html5_media_bundles: ::prost::alloc::vec::Vec, } -/// App engagement ads allow you to write text encouraging a specific action in -/// the app, like checking in, making a purchase, or booking a flight. -/// They allow you to send users to a specific part of your app where they can -/// find what they're looking for easier and faster. +/// App engagement ads allow you to write text encouraging a specific action in +/// the app, like checking in, making a purchase, or booking a flight. +/// They allow you to send users to a specific part of your app where they can +/// find what they're looking for easier and faster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppEngagementAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image assets that may be displayed with the ad. + /// List of image assets that may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of video assets that may be displayed with the ad. + /// List of video assets that may be displayed with the ad. #[prost(message, repeated, tag="4")] pub videos: ::prost::alloc::vec::Vec, } -/// App pre-registration ads link to your app or game listing on Google Play, and -/// can run on Google Play, on YouTube (in-stream only), and within other apps -/// and mobile websites on the Display Network. It will help capture people’s -/// interest in your app or game and generate an early install base for your app -/// or game before a launch. +/// App pre-registration ads link to your app or game listing on Google Play, and +/// can run on Google Play, on YouTube (in-stream only), and within other apps +/// and mobile websites on the Display Network. It will help capture people’s +/// interest in your app or game and generate an early install base for your app +/// or game before a launch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPreRegistrationAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of image asset IDs whose images may be displayed with the ad. + /// List of image asset IDs whose images may be displayed with the ad. #[prost(message, repeated, tag="3")] pub images: ::prost::alloc::vec::Vec, - /// List of YouTube video asset IDs whose videos may be displayed with the ad. + /// List of YouTube video asset IDs whose videos may be displayed with the ad. #[prost(message, repeated, tag="4")] pub youtube_videos: ::prost::alloc::vec::Vec, } -/// A legacy app install ad that only can be used by a few select customers. +/// A legacy app install ad that only can be used by a few select customers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdInfo { - /// The ID of the mobile app. + /// The ID of the mobile app. #[prost(string, optional, tag="6")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The app store the mobile app is available in. + /// The app store the mobile app is available in. #[prost(enumeration="super::enums::legacy_app_install_ad_app_store_enum::LegacyAppInstallAdAppStore", tag="2")] pub app_store: i32, - /// The headline of the ad. + /// The headline of the ad. #[prost(string, optional, tag="7")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// The first description line of the ad. + /// The first description line of the ad. #[prost(string, optional, tag="8")] pub description1: ::core::option::Option<::prost::alloc::string::String>, - /// The second description line of the ad. + /// The second description line of the ad. #[prost(string, optional, tag="9")] pub description2: ::core::option::Option<::prost::alloc::string::String>, } -/// A responsive display ad. +/// A responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdInfo { - /// Marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must - /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined - /// with `square_marketing_images`, the maximum is 15. + /// Marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 600x314 and the aspect ratio must + /// be 1.91:1 (+-1%). At least one `marketing_image` is required. Combined + /// with `square_marketing_images`, the maximum is 15. #[prost(message, repeated, tag="1")] pub marketing_images: ::prost::alloc::vec::Vec, - /// Square marketing images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must - /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined - /// with `marketing_images`, the maximum is 15. + /// Square marketing images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 300x300 and the aspect ratio must + /// be 1:1 (+-1%). At least one square `marketing_image` is required. Combined + /// with `marketing_images`, the maximum is 15. #[prost(message, repeated, tag="2")] pub square_marketing_images: ::prost::alloc::vec::Vec, - /// Logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must - /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 512x128 and the aspect ratio must + /// be 4:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="3")] pub logo_images: ::prost::alloc::vec::Vec, - /// Square logo images to be used in the ad. Valid image types are GIF, - /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must - /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. + /// Square logo images to be used in the ad. Valid image types are GIF, + /// JPEG, and PNG. The minimum size is 128x128 and the aspect ratio must + /// be 1:1 (+-1%). Combined with `square_logo_images`, the maximum is 5. #[prost(message, repeated, tag="4")] pub square_logo_images: ::prost::alloc::vec::Vec, - /// Short format headlines for the ad. The maximum length is 30 characters. - /// At least 1 and max 5 headlines can be specified. + /// Short format headlines for the ad. The maximum length is 30 characters. + /// At least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="5")] pub headlines: ::prost::alloc::vec::Vec, - /// A required long format headline. The maximum length is 90 characters. + /// A required long format headline. The maximum length is 90 characters. #[prost(message, optional, tag="6")] pub long_headline: ::core::option::Option, - /// Descriptive texts for the ad. The maximum length is 90 characters. At - /// least 1 and max 5 headlines can be specified. + /// Descriptive texts for the ad. The maximum length is 90 characters. At + /// least 1 and max 5 headlines can be specified. #[prost(message, repeated, tag="7")] pub descriptions: ::prost::alloc::vec::Vec, - /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. + /// Optional YouTube videos for the ad. A maximum of 5 videos can be specified. #[prost(message, repeated, tag="8")] pub youtube_videos: ::prost::alloc::vec::Vec, - /// The advertiser/brand name. Maximum display width is 25. + /// The advertiser/brand name. Maximum display width is 25. #[prost(string, optional, tag="17")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// The main color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The main color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="18")] pub main_color: ::core::option::Option<::prost::alloc::string::String>, - /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. - /// If one of `main_color` and `accent_color` is set, the other is required as - /// well. + /// The accent color of the ad in hexadecimal, e.g. #ffffff for white. + /// If one of `main_color` and `accent_color` is set, the other is required as + /// well. #[prost(string, optional, tag="19")] pub accent_color: ::core::option::Option<::prost::alloc::string::String>, - /// Advertiser's consent to allow flexible color. When true, the ad may be - /// served with different color if necessary. When false, the ad will be served - /// with the specified colors or a neutral color. - /// The default value is `true`. - /// Must be true if `main_color` and `accent_color` are not set. + /// Advertiser's consent to allow flexible color. When true, the ad may be + /// served with different color if necessary. When false, the ad will be served + /// with the specified colors or a neutral color. + /// The default value is `true`. + /// Must be true if `main_color` and `accent_color` are not set. #[prost(bool, optional, tag="20")] pub allow_flexible_color: ::core::option::Option, - /// The call-to-action text for the ad. Maximum display width is 30. + /// The call-to-action text for the ad. Maximum display width is 30. #[prost(string, optional, tag="21")] pub call_to_action_text: ::core::option::Option<::prost::alloc::string::String>, - /// Prefix before price. E.g. 'as low as'. + /// Prefix before price. E.g. 'as low as'. #[prost(string, optional, tag="22")] pub price_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Promotion text used for dynamic formats of responsive ads. For example - /// 'Free two-day shipping'. + /// Promotion text used for dynamic formats of responsive ads. For example + /// 'Free two-day shipping'. #[prost(string, optional, tag="23")] pub promo_text: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies which format the ad will be served in. Default is ALL_FORMATS. + /// Specifies which format the ad will be served in. Default is ALL_FORMATS. #[prost(enumeration="super::enums::display_ad_format_setting_enum::DisplayAdFormatSetting", tag="16")] pub format_setting: i32, - /// Specification for various creative controls. + /// Specification for various creative controls. #[prost(message, optional, tag="24")] pub control_spec: ::core::option::Option, } -/// A local ad. +/// A local ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. At least 1 and at most 5 headlines must be - /// specified. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. At least 1 and at most 5 headlines must be + /// specified. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. At least 1 and at most 5 descriptions must - /// be specified. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. At least 1 and at most 5 descriptions must + /// be specified. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, - /// List of text assets for call-to-actions. When the ad serves the - /// call-to-actions will be selected from this list. Call-to-actions are - /// optional and at most 5 can be specified. + /// List of text assets for call-to-actions. When the ad serves the + /// call-to-actions will be selected from this list. Call-to-actions are + /// optional and at most 5 can be specified. #[prost(message, repeated, tag="3")] pub call_to_actions: ::prost::alloc::vec::Vec, - /// List of marketing image assets that may be displayed with the ad. The - /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most - /// 20 image assets must be specified. + /// List of marketing image assets that may be displayed with the ad. The + /// images must be 314x600 pixels or 320x320 pixels. At least 1 and at most + /// 20 image assets must be specified. #[prost(message, repeated, tag="4")] pub marketing_images: ::prost::alloc::vec::Vec, - /// List of logo image assets that may be displayed with the ad. The images - /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 - /// image assets must be specified. + /// List of logo image assets that may be displayed with the ad. The images + /// must be 128x128 pixels and not larger than 120KB. At least 1 and at most 5 + /// image assets must be specified. #[prost(message, repeated, tag="5")] pub logo_images: ::prost::alloc::vec::Vec, - /// List of YouTube video assets that may be displayed with the ad. Videos - /// are optional and at most 20 can be specified. + /// List of YouTube video assets that may be displayed with the ad. Videos + /// are optional and at most 20 can be specified. #[prost(message, repeated, tag="6")] pub videos: ::prost::alloc::vec::Vec, - /// First part of optional text that can be appended to the URL in the ad. + /// First part of optional text that can be appended to the URL in the ad. #[prost(string, optional, tag="9")] pub path1: ::core::option::Option<::prost::alloc::string::String>, - /// Second part of optional text that can be appended to the URL in the ad. - /// This field can only be set when `path1` is also set. + /// Second part of optional text that can be appended to the URL in the ad. + /// This field can only be set when `path1` is also set. #[prost(string, optional, tag="10")] pub path2: ::core::option::Option<::prost::alloc::string::String>, } -/// A generic type of display ad. The exact ad format is controlled by the -/// `display_upload_product_type` field, which determines what kinds of data -/// need to be included with the ad. +/// A generic type of display ad. The exact ad format is controlled by the +/// `display_upload_product_type` field, which determines what kinds of data +/// need to be included with the ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadAdInfo { - /// The product type of this ad. See comments on the enum for details. + /// The product type of this ad. See comments on the enum for details. #[prost(enumeration="super::enums::display_upload_product_type_enum::DisplayUploadProductType", tag="1")] pub display_upload_product_type: i32, - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[prost(oneof="display_upload_ad_info::MediaAsset", tags="2")] pub media_asset: ::core::option::Option, } /// Nested message and enum types in `DisplayUploadAdInfo`. pub mod display_upload_ad_info { - /// The asset data that makes up the ad. + /// The asset data that makes up the ad. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MediaAsset { - /// A media bundle asset to be used in the ad. For information about the - /// media bundle for HTML5_UPLOAD_AD, see - /// - /// Media bundles that are part of dynamic product types use a special format - /// that needs to be created through the Google Web Designer. See - /// for more - /// information. + /// A media bundle asset to be used in the ad. For information about the + /// media bundle for HTML5_UPLOAD_AD, see + /// + /// Media bundles that are part of dynamic product types use a special format + /// that needs to be created through the Google Web Designer. See + /// for more + /// information. #[prost(message, tag="2")] MediaBundle(super::AdMediaBundleAsset), } } -/// Specification for various creative controls for a responsive display ad. +/// Specification for various creative controls for a responsive display ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveDisplayAdControlSpec { - /// Whether the advertiser has opted into the asset enhancements feature. + /// Whether the advertiser has opted into the asset enhancements feature. #[prost(bool, tag="1")] pub enable_asset_enhancements: bool, - /// Whether the advertiser has opted into auto-gen video feature. + /// Whether the advertiser has opted into auto-gen video feature. #[prost(bool, tag="2")] pub enable_autogen_video: bool, } -/// A Smart campaign ad. +/// A Smart campaign ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignAdInfo { - /// List of text assets for headlines. When the ad serves the headlines will - /// be selected from this list. 3 headlines must be specified. + /// List of text assets for headlines. When the ad serves the headlines will + /// be selected from this list. 3 headlines must be specified. #[prost(message, repeated, tag="1")] pub headlines: ::prost::alloc::vec::Vec, - /// List of text assets for descriptions. When the ad serves the descriptions - /// will be selected from this list. 2 descriptions must be specified. + /// List of text assets for descriptions. When the ad serves the descriptions + /// will be selected from this list. 2 descriptions must be specified. #[prost(message, repeated, tag="2")] pub descriptions: ::prost::alloc::vec::Vec, } -/// A call ad. +/// A call ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAdInfo { - /// The country code in the ad. + /// The country code in the ad. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// The phone number in the ad. + /// The phone number in the ad. #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// The business name in the ad. + /// The business name in the ad. #[prost(string, tag="3")] pub business_name: ::prost::alloc::string::String, - /// First headline in the ad. + /// First headline in the ad. #[prost(string, tag="11")] pub headline1: ::prost::alloc::string::String, - /// Second headline in the ad. + /// Second headline in the ad. #[prost(string, tag="12")] pub headline2: ::prost::alloc::string::String, - /// The first line of the ad's description. + /// The first line of the ad's description. #[prost(string, tag="4")] pub description1: ::prost::alloc::string::String, - /// The second line of the ad's description. + /// The second line of the ad's description. #[prost(string, tag="5")] pub description2: ::prost::alloc::string::String, - /// Whether to enable call tracking for the creative. Enabling call - /// tracking also enables call conversions. + /// Whether to enable call tracking for the creative. Enabling call + /// tracking also enables call conversions. #[prost(bool, tag="6")] pub call_tracked: bool, - /// Whether to disable call conversion for the creative. - /// If set to `true`, disables call conversions even when `call_tracked` is - /// `true`. - /// If `call_tracked` is `false`, this field is ignored. + /// Whether to disable call conversion for the creative. + /// If set to `true`, disables call conversions even when `call_tracked` is + /// `true`. + /// If `call_tracked` is `false`, this field is ignored. #[prost(bool, tag="7")] pub disable_call_conversion: bool, - /// The URL to be used for phone number verification. + /// The URL to be used for phone number verification. #[prost(string, tag="8")] pub phone_number_verification_url: ::prost::alloc::string::String, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// `call_tracked` is set to `true`. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// `call_tracked` is set to `true`. Otherwise this field is ignored. #[prost(string, tag="9")] pub conversion_action: ::prost::alloc::string::String, - /// The call conversion behavior of this call ad. It can use its own call - /// conversion setting, inherit the account level setting, or be disabled. + /// The call conversion behavior of this call ad. It can use its own call + /// conversion setting, inherit the account level setting, or be disabled. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="10")] pub conversion_reporting_state: i32, - /// First part of text that can be appended to the URL in the ad. Optional. + /// First part of text that can be appended to the URL in the ad. Optional. #[prost(string, tag="13")] pub path1: ::prost::alloc::string::String, - /// Second part of text that can be appended to the URL in the ad. This field - /// can only be set when `path1` is also set. Optional. + /// Second part of text that can be appended to the URL in the ad. This field + /// can only be set when `path1` is also set. Optional. #[prost(string, tag="14")] pub path2: ::prost::alloc::string::String, } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// A keyword criterion. +/// A keyword criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordInfo { - /// The text of the keyword (at most 80 characters and 10 words). + /// The text of the keyword (at most 80 characters and 10 words). #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. + /// The match type of the keyword. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, } -/// A placement criterion. This can be used to modify bids for sites when -/// targeting the content network. +/// A placement criterion. This can be used to modify bids for sites when +/// targeting the content network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementInfo { - /// URL of the placement. + /// URL of the placement. /// - /// For example, " + /// For example, " #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile app category criterion. +/// A mobile app category criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryInfo { - /// The mobile app category constant resource name. + /// The mobile app category constant resource name. #[prost(string, optional, tag="2")] pub mobile_app_category_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A mobile application criterion. +/// A mobile application criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileApplicationInfo { - /// A string that uniquely identifies a mobile application to Google Ads API. - /// The format of this string is "{platform}-{platform_native_id}", where - /// platform is "1" for iOS apps and "2" for Android apps, and where - /// platform_native_id is the mobile application identifier native to the - /// corresponding platform. - /// For iOS, this native identifier is the 9 digit string that appears at the - /// end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App - /// Store link is "). - /// For Android, this native identifier is the application's package name - /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// "). - /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS - /// and "2-com.labpixies.colordrips" for Android. - /// This field is required and must be set in CREATE operations. + /// A string that uniquely identifies a mobile application to Google Ads API. + /// The format of this string is "{platform}-{platform_native_id}", where + /// platform is "1" for iOS apps and "2" for Android apps, and where + /// platform_native_id is the mobile application identifier native to the + /// corresponding platform. + /// For iOS, this native identifier is the 9 digit string that appears at the + /// end of an App Store URL (e.g., "476943146" for "Flood-It! 2" whose App + /// Store link is "). + /// For Android, this native identifier is the application's package name + /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// "). + /// A well formed app id for Google Ads API would thus be "1-476943146" for iOS + /// and "2-com.labpixies.colordrips" for Android. + /// This field is required and must be set in CREATE operations. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this mobile application. + /// Name of this mobile application. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A location criterion. +/// A location criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationInfo { - /// The geo target constant resource name. + /// The geo target constant resource name. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A device criterion. +/// A device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceInfo { - /// Type of the device. + /// Type of the device. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub r#type: i32, } -/// A preferred content criterion. +/// A preferred content criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentInfo { - /// Type of the preferred content. + /// Type of the preferred content. #[prost(enumeration="super::enums::preferred_content_type_enum::PreferredContentType", tag="2")] pub r#type: i32, } -/// A listing group criterion. +/// A listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupInfo { - /// Type of the listing group. + /// Type of the listing group. #[prost(enumeration="super::enums::listing_group_type_enum::ListingGroupType", tag="1")] pub r#type: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="2")] pub case_value: ::core::option::Option, - /// Resource name of ad group criterion which is the parent listing group - /// subdivision. Null for the root group. + /// Resource name of ad group criterion which is the parent listing group + /// subdivision. Null for the root group. #[prost(string, optional, tag="4")] pub parent_ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// A listing scope criterion. +/// A listing scope criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingScopeInfo { - /// Scope of the campaign criterion. + /// Scope of the campaign criterion. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, } -/// Listing dimensions for listing group criterion. +/// Listing dimensions for listing group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingDimensionInfo { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_dimension_info::Dimension", tags="2, 3, 4, 5, 6, 13, 15, 8, 9, 10, 16, 11, 12, 14")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingDimensionInfo`. pub mod listing_dimension_info { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Advertiser-specific hotel ID. + /// Advertiser-specific hotel ID. #[prost(message, tag="2")] HotelId(super::HotelIdInfo), - /// Class of the hotel as a number of stars 1 to 5. + /// Class of the hotel as a number of stars 1 to 5. #[prost(message, tag="3")] HotelClass(super::HotelClassInfo), - /// Country or Region the hotel is located in. + /// Country or Region the hotel is located in. #[prost(message, tag="4")] HotelCountryRegion(super::HotelCountryRegionInfo), - /// State the hotel is located in. + /// State the hotel is located in. #[prost(message, tag="5")] HotelState(super::HotelStateInfo), - /// City the hotel is located in. + /// City the hotel is located in. #[prost(message, tag="6")] HotelCity(super::HotelCityInfo), - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="13")] ProductBiddingCategory(super::ProductBiddingCategoryInfo), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="15")] ProductBrand(super::ProductBrandInfo), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="8")] ProductChannel(super::ProductChannelInfo), - /// Availability of a product offer. + /// Availability of a product offer. #[prost(message, tag="9")] ProductChannelExclusivity(super::ProductChannelExclusivityInfo), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="10")] ProductCondition(super::ProductConditionInfo), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="16")] ProductCustomAttribute(super::ProductCustomAttributeInfo), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="11")] ProductItemId(super::ProductItemIdInfo), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="12")] ProductType(super::ProductTypeInfo), - /// Unknown dimension. Set when no other listing dimension is set. + /// Unknown dimension. Set when no other listing dimension is set. #[prost(message, tag="14")] UnknownListingDimension(super::UnknownListingDimensionInfo), } } -/// Advertiser-specific hotel ID. +/// Advertiser-specific hotel ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelIdInfo { - /// String value of the hotel ID. + /// String value of the hotel ID. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Class of the hotel as a number of stars 1 to 5. +/// Class of the hotel as a number of stars 1 to 5. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelClassInfo { - /// Long value of the hotel class. + /// Long value of the hotel class. #[prost(int64, optional, tag="2")] pub value: ::core::option::Option, } -/// Country or Region the hotel is located in. +/// Country or Region the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCountryRegionInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub country_region_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// State the hotel is located in. +/// State the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelStateInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub state_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// City the hotel is located in. +/// City the hotel is located in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCityInfo { - /// The Geo Target Constant resource name. + /// The Geo Target Constant resource name. #[prost(string, optional, tag="2")] pub city_criterion: ::core::option::Option<::prost::alloc::string::String>, } -/// Bidding category of a product offer. +/// Bidding category of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryInfo { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="4")] pub id: ::core::option::Option, - /// Two-letter upper-case country code of the product bidding category. It must - /// match the campaign.shopping_setting.sales_country field. + /// Two-letter upper-case country code of the product bidding category. It must + /// match the campaign.shopping_setting.sales_country field. #[prost(string, optional, tag="5")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the product bidding category. + /// Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="3")] pub level: i32, } -/// Brand of the product. +/// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrandInfo { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelInfo { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="1")] pub channel: i32, } -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityInfo { - /// Value of the availability. + /// Value of the availability. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="1")] pub channel_exclusivity: i32, } -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionInfo { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="1")] pub condition: i32, } -/// Custom attribute of a product offer. +/// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeInfo { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::enums::product_custom_attribute_index_enum::ProductCustomAttributeIndex", tag="2")] pub index: i32, } -/// Item id of a product offer. +/// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemIdInfo { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="2")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Type of a product offer. +/// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeInfo { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::enums::product_type_level_enum::ProductTypeLevel", tag="2")] pub level: i32, } -/// Unknown listing dimension. +/// Unknown listing dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnknownListingDimensionInfo { } -/// Criterion for hotel date selection (default dates vs. user selected). +/// Criterion for hotel date selection (default dates vs. user selected). #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeInfo { - /// Type of the hotel date selection + /// Type of the hotel date selection #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="1")] pub r#type: i32, } -/// Criterion for number of days prior to the stay the booking is being made. +/// Criterion for number of days prior to the stay the booking is being made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelAdvanceBookingWindowInfo { - /// Low end of the number of days prior to the stay. + /// Low end of the number of days prior to the stay. #[prost(int64, optional, tag="3")] pub min_days: ::core::option::Option, - /// High end of the number of days prior to the stay. + /// High end of the number of days prior to the stay. #[prost(int64, optional, tag="4")] pub max_days: ::core::option::Option, } -/// Criterion for length of hotel stay in nights. +/// Criterion for length of hotel stay in nights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelLengthOfStayInfo { - /// Low end of the number of nights in the stay. + /// Low end of the number of nights in the stay. #[prost(int64, optional, tag="3")] pub min_nights: ::core::option::Option, - /// High end of the number of nights in the stay. + /// High end of the number of nights in the stay. #[prost(int64, optional, tag="4")] pub max_nights: ::core::option::Option, } -/// Criterion for a check-in date range. +/// Criterion for a check-in date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDateRangeInfo { - /// Start date in the YYYY-MM-DD format. + /// Start date in the YYYY-MM-DD format. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// End date in the YYYY-MM-DD format. + /// End date in the YYYY-MM-DD format. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, } -/// Criterion for day of the week the booking is for. +/// Criterion for day of the week the booking is for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCheckInDayInfo { - /// The day of the week. + /// The day of the week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="1")] pub day_of_week: i32, } -/// Criterion for Interaction Type. +/// Criterion for Interaction Type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeInfo { - /// The interaction type. + /// The interaction type. #[prost(enumeration="super::enums::interaction_type_enum::InteractionType", tag="1")] pub r#type: i32, } -/// Represents an AdSchedule criterion. +/// Represents an AdSchedule criterion. /// -/// AdSchedule is specified as the day of the week and a time interval -/// within which ads will be shown. +/// AdSchedule is specified as the day of the week and a time interval +/// within which ads will be shown. /// -/// No more than six AdSchedules can be added for the same day. +/// No more than six AdSchedules can be added for the same day. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleInfo { - /// Minutes after the start hour at which this schedule starts. + /// Minutes after the start hour at which this schedule starts. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="1")] pub start_minute: i32, - /// Minutes after the end hour at which this schedule ends. The schedule is - /// exclusive of the end minute. + /// Minutes after the end hour at which this schedule ends. The schedule is + /// exclusive of the end minute. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::minute_of_hour_enum::MinuteOfHour", tag="2")] pub end_minute: i32, - /// Starting hour in 24 hour time. - /// This field must be between 0 and 23, inclusive. + /// Starting hour in 24 hour time. + /// This field must be between 0 and 23, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="6")] pub start_hour: ::core::option::Option, - /// Ending hour in 24 hour time; 24 signifies end of the day. - /// This field must be between 0 and 24, inclusive. + /// Ending hour in 24 hour time; 24 signifies end of the day. + /// This field must be between 0 and 24, inclusive. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(int32, optional, tag="7")] pub end_hour: ::core::option::Option, - /// Day of the week the schedule applies to. + /// Day of the week the schedule applies to. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, } -/// An age range criterion. +/// An age range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeInfo { - /// Type of the age range. + /// Type of the age range. #[prost(enumeration="super::enums::age_range_type_enum::AgeRangeType", tag="1")] pub r#type: i32, } -/// A gender criterion. +/// A gender criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderInfo { - /// Type of the gender. + /// Type of the gender. #[prost(enumeration="super::enums::gender_type_enum::GenderType", tag="1")] pub r#type: i32, } -/// An income range criterion. +/// An income range criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeInfo { - /// Type of the income range. + /// Type of the income range. #[prost(enumeration="super::enums::income_range_type_enum::IncomeRangeType", tag="1")] pub r#type: i32, } -/// A parental status criterion. +/// A parental status criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusInfo { - /// Type of the parental status. + /// Type of the parental status. #[prost(enumeration="super::enums::parental_status_type_enum::ParentalStatusType", tag="1")] pub r#type: i32, } -/// A YouTube Video criterion. +/// A YouTube Video criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeVideoInfo { - /// YouTube video id as it appears on the YouTube watch page. + /// YouTube video id as it appears on the YouTube watch page. #[prost(string, optional, tag="2")] pub video_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A YouTube Channel criterion. +/// A YouTube Channel criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YouTubeChannelInfo { - /// The YouTube uploader channel id or the channel code of a YouTube channel. + /// The YouTube uploader channel id or the channel code of a YouTube channel. #[prost(string, optional, tag="2")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A User List criterion. Represents a user list that is defined by the -/// advertiser to be targeted. +/// A User List criterion. Represents a user list that is defined by the +/// advertiser to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListInfo { - /// The User List resource name. + /// The User List resource name. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// A Proximity criterion. The geo point and radius determine what geographical -/// area is included. The address is a description of the geo point that does -/// not affect ad serving. +/// A Proximity criterion. The geo point and radius determine what geographical +/// area is included. The address is a description of the geo point that does +/// not affect ad serving. /// -/// There are two ways to create a proximity. First, by setting an address -/// and radius. The geo point will be automatically computed. Second, by -/// setting a geo point and radius. The address is an optional label that won't -/// be validated. +/// There are two ways to create a proximity. First, by setting an address +/// and radius. The geo point will be automatically computed. Second, by +/// setting a geo point and radius. The address is an optional label that won't +/// be validated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityInfo { - /// Latitude and longitude. + /// Latitude and longitude. #[prost(message, optional, tag="1")] pub geo_point: ::core::option::Option, - /// The radius of the proximity. + /// The radius of the proximity. #[prost(double, optional, tag="5")] pub radius: ::core::option::Option, - /// The unit of measurement of the radius. Default is KILOMETERS. + /// The unit of measurement of the radius. Default is KILOMETERS. #[prost(enumeration="super::enums::proximity_radius_units_enum::ProximityRadiusUnits", tag="3")] pub radius_units: i32, - /// Full address. + /// Full address. #[prost(message, optional, tag="4")] pub address: ::core::option::Option, } -/// Geo point for proximity criterion. +/// Geo point for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoPointInfo { - /// Micro degrees for the longitude. + /// Micro degrees for the longitude. #[prost(int32, optional, tag="3")] pub longitude_in_micro_degrees: ::core::option::Option, - /// Micro degrees for the latitude. + /// Micro degrees for the latitude. #[prost(int32, optional, tag="4")] pub latitude_in_micro_degrees: ::core::option::Option, } -/// Address for proximity criterion. +/// Address for proximity criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressInfo { - /// Postal code. + /// Postal code. #[prost(string, optional, tag="8")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state code. + /// Province or state code. #[prost(string, optional, tag="9")] pub province_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code. + /// Country code. #[prost(string, optional, tag="10")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Province or state name. + /// Province or state name. #[prost(string, optional, tag="11")] pub province_name: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 1. + /// Street address line 1. #[prost(string, optional, tag="12")] pub street_address: ::core::option::Option<::prost::alloc::string::String>, - /// Street address line 2. This field is write-only. It is only used for - /// calculating the longitude and latitude of an address when geo_point is - /// empty. + /// Street address line 2. This field is write-only. It is only used for + /// calculating the longitude and latitude of an address when geo_point is + /// empty. #[prost(string, optional, tag="13")] pub street_address2: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the city. + /// Name of the city. #[prost(string, optional, tag="14")] pub city_name: ::core::option::Option<::prost::alloc::string::String>, } -/// A topic criterion. Use topics to target or exclude placements in the -/// Google Display Network based on the category into which the placement falls -/// (for example, "Pets & Animals/Pets/Dogs"). +/// A topic criterion. Use topics to target or exclude placements in the +/// Google Display Network based on the category into which the placement falls +/// (for example, "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicInfo { - /// The Topic Constant resource name. + /// The Topic Constant resource name. #[prost(string, optional, tag="3")] pub topic_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" - /// category. + /// The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// "Pets & Animals", "Pets", "Dogs" represents the "Pets & Animals/Pets/Dogs" + /// category. #[prost(string, repeated, tag="4")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A language criterion. +/// A language criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageInfo { - /// The language constant resource name. + /// The language constant resource name. #[prost(string, optional, tag="2")] pub language_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An IpBlock criterion used for IP exclusions. We allow: +/// An IpBlock criterion used for IP exclusions. We allow: /// - IPv4 and IPv6 addresses /// - individual addresses (192.168.0.1) /// - masks for individual addresses (192.168.0.1/32) /// - masks for Class C networks (192.168.0.1/24) #[derive(Clone, PartialEq, ::prost::Message)] pub struct IpBlockInfo { - /// The IP address of this IP block. + /// The IP address of this IP block. #[prost(string, optional, tag="2")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, } -/// Content Label for category exclusion. +/// Content Label for category exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelInfo { - /// Content label type, required for CREATE operations. + /// Content label type, required for CREATE operations. #[prost(enumeration="super::enums::content_label_type_enum::ContentLabelType", tag="1")] pub r#type: i32, } -/// Represents a Carrier Criterion. +/// Represents a Carrier Criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierInfo { - /// The Carrier constant resource name. + /// The Carrier constant resource name. #[prost(string, optional, tag="2")] pub carrier_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a particular interest-based topic to be targeted. +/// Represents a particular interest-based topic to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestInfo { - /// The UserInterest resource name. + /// The UserInterest resource name. #[prost(string, optional, tag="2")] pub user_interest_category: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a criterion for targeting webpages of an advertiser's website. +/// Represents a criterion for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageInfo { - /// The name of the criterion that is defined by this parameter. The name value - /// will be used for identifying, sorting and filtering criteria with this type - /// of parameters. + /// The name of the criterion that is defined by this parameter. The name value + /// will be used for identifying, sorting and filtering criteria with this type + /// of parameters. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(string, optional, tag="3")] pub criterion_name: ::core::option::Option<::prost::alloc::string::String>, - /// Conditions, or logical expressions, for webpage targeting. The list of - /// webpage targeting conditions are and-ed together when evaluated - /// for targeting. + /// Conditions, or logical expressions, for webpage targeting. The list of + /// webpage targeting conditions are and-ed together when evaluated + /// for targeting. /// - /// This field is required for CREATE operations and is prohibited on UPDATE - /// operations. + /// This field is required for CREATE operations and is prohibited on UPDATE + /// operations. #[prost(message, repeated, tag="2")] pub conditions: ::prost::alloc::vec::Vec, - /// Website criteria coverage percentage. This is the computed percentage - /// of website coverage based on the website target, negative website target - /// and negative keywords in the ad group and campaign. For instance, when - /// coverage returns as 1, it indicates it has 100% coverage. This field is - /// read-only. + /// Website criteria coverage percentage. This is the computed percentage + /// of website coverage based on the website target, negative website target + /// and negative keywords in the ad group and campaign. For instance, when + /// coverage returns as 1, it indicates it has 100% coverage. This field is + /// read-only. #[prost(double, tag="4")] pub coverage_percentage: f64, - /// List of sample urls that match the website target. This field is read-only. + /// List of sample urls that match the website target. This field is read-only. #[prost(message, optional, tag="5")] pub sample: ::core::option::Option, } -/// Logical expression for targeting webpages of an advertiser's website. +/// Logical expression for targeting webpages of an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionInfo { - /// Operand of webpage targeting condition. + /// Operand of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operand_enum::WebpageConditionOperand", tag="1")] pub operand: i32, - /// Operator of webpage targeting condition. + /// Operator of webpage targeting condition. #[prost(enumeration="super::enums::webpage_condition_operator_enum::WebpageConditionOperator", tag="2")] pub operator: i32, - /// Argument of webpage targeting condition. + /// Argument of webpage targeting condition. #[prost(string, optional, tag="4")] pub argument: ::core::option::Option<::prost::alloc::string::String>, } -/// List of sample urls that match the website target +/// List of sample urls that match the website target #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageSampleInfo { - /// Webpage sample urls + /// Webpage sample urls #[prost(string, repeated, tag="1")] pub sample_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents an operating system version to be targeted. +/// Represents an operating system version to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionInfo { - /// The operating system version constant resource name. + /// The operating system version constant resource name. #[prost(string, optional, tag="2")] pub operating_system_version_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// An app payment model criterion. +/// An app payment model criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelInfo { - /// Type of the app payment model. + /// Type of the app payment model. #[prost(enumeration="super::enums::app_payment_model_type_enum::AppPaymentModelType", tag="1")] pub r#type: i32, } -/// A mobile device criterion. +/// A mobile device criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceInfo { - /// The mobile device constant resource name. + /// The mobile device constant resource name. #[prost(string, optional, tag="2")] pub mobile_device_constant: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom affinity criterion. -/// A criterion of this type is only targetable. +/// A custom affinity criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAffinityInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_affinity: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom intent criterion. -/// A criterion of this type is only targetable. +/// A custom intent criterion. +/// A criterion of this type is only targetable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomIntentInfo { - /// The CustomInterest resource name. + /// The CustomInterest resource name. #[prost(string, optional, tag="2")] pub custom_intent: ::core::option::Option<::prost::alloc::string::String>, } -/// A radius around a list of locations specified via a feed. +/// A radius around a list of locations specified via a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupInfo { - /// Feed specifying locations for targeting. - /// This is required and must be set in CREATE operations. + /// Feed specifying locations for targeting. + /// This is required and must be set in CREATE operations. #[prost(string, optional, tag="5")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Geo target constant(s) restricting the scope of the geographic area within - /// the feed. Currently only one geo target constant is allowed. + /// Geo target constant(s) restricting the scope of the geographic area within + /// the feed. Currently only one geo target constant is allowed. #[prost(string, repeated, tag="6")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Distance in units specifying the radius around targeted locations. - /// This is required and must be set in CREATE operations. + /// Distance in units specifying the radius around targeted locations. + /// This is required and must be set in CREATE operations. #[prost(int64, optional, tag="7")] pub radius: ::core::option::Option, - /// Unit of the radius. Miles and meters are supported for geo target - /// constants. Milli miles and meters are supported for feed item sets. - /// This is required and must be set in CREATE operations. + /// Unit of the radius. Miles and meters are supported for geo target + /// constants. Milli miles and meters are supported for feed item sets. + /// This is required and must be set in CREATE operations. #[prost(enumeration="super::enums::location_group_radius_units_enum::LocationGroupRadiusUnits", tag="4")] pub radius_units: i32, - /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, - /// then all items that appear in at least one set are targeted. This field - /// cannot be used with geo_target_constants. This is optional and can only be - /// set in CREATE operations. + /// FeedItemSets whose FeedItems are targeted. If multiple IDs are specified, + /// then all items that appear in at least one set are targeted. This field + /// cannot be used with geo_target_constants. This is optional and can only be + /// set in CREATE operations. #[prost(string, repeated, tag="8")] pub feed_item_sets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A custom audience criterion. +/// A custom audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceInfo { - /// The CustomAudience resource name. + /// The CustomAudience resource name. #[prost(string, tag="1")] pub custom_audience: ::prost::alloc::string::String, } -/// A combined audience criterion. +/// A combined audience criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceInfo { - /// The CombinedAudience resource name. + /// The CombinedAudience resource name. #[prost(string, tag="1")] pub combined_audience: ::prost::alloc::string::String, } -/// A Smart Campaign keyword theme. +/// A Smart Campaign keyword theme. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeInfo { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[prost(oneof="keyword_theme_info::KeywordTheme", tags="1, 2")] pub keyword_theme: ::core::option::Option, } /// Nested message and enum types in `KeywordThemeInfo`. pub mod keyword_theme_info { - /// Either a predefined keyword theme constant or free-form text may be - /// specified. + /// Either a predefined keyword theme constant or free-form text may be + /// specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum KeywordTheme { - /// The resource name of a Smart Campaign keyword theme constant. - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// The resource name of a Smart Campaign keyword theme constant. + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] KeywordThemeConstant(::prost::alloc::string::String), - /// Free-form text to be matched to a Smart Campaign keyword theme constant - /// on a best-effort basis. + /// Free-form text to be matched to a Smart Campaign keyword theme constant + /// on a best-effort basis. #[prost(string, tag="2")] FreeFormKeywordTheme(::prost::alloc::string::String), } } -// Proto file describing common feed proto messages. +// Proto file describing common feed proto messages. -/// Represents a price in a particular currency. +/// Represents a price in a particular currency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Money { - /// Three-character ISO 4217 currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="3")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Amount in micros. One million is equivalent to one unit. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub amount_micros: ::core::option::Option, } -// Proto file containing info messages for specific asset types. +// Proto file containing info messages for specific asset types. -/// A YouTube asset. +/// A YouTube asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoAsset { - /// YouTube video id. This is the 11 character string value used in the - /// YouTube video URL. + /// YouTube video id. This is the 11 character string value used in the + /// YouTube video URL. #[prost(string, optional, tag="2")] pub youtube_video_id: ::core::option::Option<::prost::alloc::string::String>, - /// YouTube video title. + /// YouTube video title. #[prost(string, tag="3")] pub youtube_video_title: ::prost::alloc::string::String, } -/// A MediaBundle asset. +/// A MediaBundle asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleAsset { - /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file - /// depends on the ad field where it will be used. For more information on the - /// format, see the documentation of the ad field where you plan on using the - /// MediaBundleAsset. This field is mutate only. + /// Media bundle (ZIP file) asset data. The format of the uploaded ZIP file + /// depends on the ad field where it will be used. For more information on the + /// format, see the documentation of the ad field where you plan on using the + /// MediaBundleAsset. This field is mutate only. #[prost(bytes="vec", optional, tag="2")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, } -/// An Image asset. +/// An Image asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageAsset { - /// The raw bytes data of an image. This field is mutate only. + /// The raw bytes data of an image. This field is mutate only. #[prost(bytes="vec", optional, tag="5")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// File size of the image asset in bytes. + /// File size of the image asset in bytes. #[prost(int64, optional, tag="6")] pub file_size: ::core::option::Option, - /// MIME type of the image asset. + /// MIME type of the image asset. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="3")] pub mime_type: i32, - /// Metadata for this image at its original size. + /// Metadata for this image at its original size. #[prost(message, optional, tag="4")] pub full_size: ::core::option::Option, } -/// Metadata for an image at a certain size, either original or resized. +/// Metadata for an image at a certain size, either original or resized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageDimension { - /// Height of the image. + /// Height of the image. #[prost(int64, optional, tag="4")] pub height_pixels: ::core::option::Option, - /// Width of the image. + /// Width of the image. #[prost(int64, optional, tag="5")] pub width_pixels: ::core::option::Option, - /// A URL that returns the image with this height and width. + /// A URL that returns the image with this height and width. #[prost(string, optional, tag="6")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// A Text asset. +/// A Text asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAsset { - /// Text content of the text asset. + /// Text content of the text asset. #[prost(string, optional, tag="2")] pub text: ::core::option::Option<::prost::alloc::string::String>, } -/// A Lead Form asset. +/// A Lead Form asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormAsset { - /// Required. The name of the business being advertised. + /// Required. The name of the business being advertised. #[prost(string, tag="10")] pub business_name: ::prost::alloc::string::String, - /// Required. Pre-defined display text that encourages user to expand the form. + /// Required. Pre-defined display text that encourages user to expand the form. #[prost(enumeration="super::enums::lead_form_call_to_action_type_enum::LeadFormCallToActionType", tag="17")] pub call_to_action_type: i32, - /// Required. Text giving a clear value proposition of what users expect once they expand - /// the form. + /// Required. Text giving a clear value proposition of what users expect once they expand + /// the form. #[prost(string, tag="18")] pub call_to_action_description: ::prost::alloc::string::String, - /// Required. Headline of the expanded form to describe what the form is asking for or - /// facilitating. + /// Required. Headline of the expanded form to describe what the form is asking for or + /// facilitating. #[prost(string, tag="12")] pub headline: ::prost::alloc::string::String, - /// Required. Detailed description of the expanded form to describe what the form is - /// asking for or facilitating. + /// Required. Detailed description of the expanded form to describe what the form is + /// asking for or facilitating. #[prost(string, tag="13")] pub description: ::prost::alloc::string::String, - /// Required. Link to a page describing the policy on how the collected data is handled - /// by the advertiser/business. + /// Required. Link to a page describing the policy on how the collected data is handled + /// by the advertiser/business. #[prost(string, tag="14")] pub privacy_policy_url: ::prost::alloc::string::String, - /// Headline of text shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Headline of text shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="15")] pub post_submit_headline: ::core::option::Option<::prost::alloc::string::String>, - /// Detailed description shown after form submission that describes how the - /// advertiser will follow up with the user. + /// Detailed description shown after form submission that describes how the + /// advertiser will follow up with the user. #[prost(string, optional, tag="16")] pub post_submit_description: ::core::option::Option<::prost::alloc::string::String>, - /// Ordered list of input fields. + /// Ordered list of input fields. #[prost(message, repeated, tag="8")] pub fields: ::prost::alloc::vec::Vec, - /// Configured methods for collected lead data to be delivered to advertiser. - /// Only one method typed as WebhookDelivery can be configured. + /// Configured methods for collected lead data to be delivered to advertiser. + /// Only one method typed as WebhookDelivery can be configured. #[prost(message, repeated, tag="9")] pub delivery_methods: ::prost::alloc::vec::Vec, - /// Pre-defined display text that encourages user action after the form is - /// submitted. + /// Pre-defined display text that encourages user action after the form is + /// submitted. #[prost(enumeration="super::enums::lead_form_post_submit_call_to_action_type_enum::LeadFormPostSubmitCallToActionType", tag="19")] pub post_submit_call_to_action_type: i32, - /// Asset resource name of the background image. The minimum size is 600x314 - /// and the aspect ratio must be 1.91:1 (+-1%). + /// Asset resource name of the background image. The minimum size is 600x314 + /// and the aspect ratio must be 1.91:1 (+-1%). #[prost(string, optional, tag="20")] pub background_image_asset: ::core::option::Option<::prost::alloc::string::String>, - /// Desired intent for the lead form, e.g. more volume or more qualified. + /// Desired intent for the lead form, e.g. more volume or more qualified. #[prost(enumeration="super::enums::lead_form_desired_intent_enum::LeadFormDesiredIntent", tag="21")] pub desired_intent: i32, - /// Custom disclosure shown along with Google disclaimer on the lead form. - /// Accessible to allowed customers only. + /// Custom disclosure shown along with Google disclaimer on the lead form. + /// Accessible to allowed customers only. #[prost(string, optional, tag="22")] pub custom_disclosure: ::core::option::Option<::prost::alloc::string::String>, } -/// One input field instance within a form. +/// One input field instance within a form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormField { - /// Describes the input type, which may be a predefined type such as - /// "full name" or a pre-vetted question like "Do you own a car?". + /// Describes the input type, which may be a predefined type such as + /// "full name" or a pre-vetted question like "Do you own a car?". #[prost(enumeration="super::enums::lead_form_field_user_input_type_enum::LeadFormFieldUserInputType", tag="1")] pub input_type: i32, - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[prost(oneof="lead_form_field::Answers", tags="2")] pub answers: ::core::option::Option, } /// Nested message and enum types in `LeadFormField`. pub mod lead_form_field { - /// Defines answer configuration that this form field accepts. If oneof is not - /// set, this is a free-text answer. + /// Defines answer configuration that this form field accepts. If oneof is not + /// set, this is a free-text answer. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Answers { - /// Answer configuration for a single choice question. Can be set only for - /// pre-vetted question fields. Minimum of 2 answers required and maximum of - /// 12 allowed. + /// Answer configuration for a single choice question. Can be set only for + /// pre-vetted question fields. Minimum of 2 answers required and maximum of + /// 12 allowed. #[prost(message, tag="2")] SingleChoiceAnswers(super::LeadFormSingleChoiceAnswers), } } -/// Defines possible answers for a single choice question, usually presented as -/// a single-choice drop-down list. +/// Defines possible answers for a single choice question, usually presented as +/// a single-choice drop-down list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormSingleChoiceAnswers { - /// List of choices for a single question field. The order of entries defines - /// UI order. Minimum of 2 answers required and maximum of 12 allowed. + /// List of choices for a single question field. The order of entries defines + /// UI order. Minimum of 2 answers required and maximum of 12 allowed. #[prost(string, repeated, tag="1")] pub answers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A configuration of how leads are delivered to the advertiser. +/// A configuration of how leads are delivered to the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDeliveryMethod { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[prost(oneof="lead_form_delivery_method::DeliveryDetails", tags="1")] pub delivery_details: ::core::option::Option, } /// Nested message and enum types in `LeadFormDeliveryMethod`. pub mod lead_form_delivery_method { - /// Various subtypes of delivery. + /// Various subtypes of delivery. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DeliveryDetails { - /// Webhook method of delivery. + /// Webhook method of delivery. #[prost(message, tag="1")] Webhook(super::WebhookDelivery), } } -/// Google notifies the advertiser of leads by making HTTP calls to an -/// endpoint they specify. The requests contain JSON matching a schema that -/// Google publishes as part of form ads documentation. +/// Google notifies the advertiser of leads by making HTTP calls to an +/// endpoint they specify. The requests contain JSON matching a schema that +/// Google publishes as part of form ads documentation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookDelivery { - /// Webhook url specified by advertiser to send the lead. + /// Webhook url specified by advertiser to send the lead. #[prost(string, optional, tag="4")] pub advertiser_webhook_url: ::core::option::Option<::prost::alloc::string::String>, - /// Anti-spoofing secret set by the advertiser as part of the webhook payload. + /// Anti-spoofing secret set by the advertiser as part of the webhook payload. #[prost(string, optional, tag="5")] pub google_secret: ::core::option::Option<::prost::alloc::string::String>, - /// The schema version that this delivery instance will use. + /// The schema version that this delivery instance will use. #[prost(int64, optional, tag="6")] pub payload_schema_version: ::core::option::Option, } -/// A Book on Google asset. Used to redirect user to book through Google. -/// Book on Google will change the redirect url to book directly through -/// Google. +/// A Book on Google asset. Used to redirect user to book through Google. +/// Book on Google will change the redirect url to book directly through +/// Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BookOnGoogleAsset { } -/// A Promotion asset. +/// A Promotion asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionAsset { - /// Required. A freeform description of what the promotion is targeting. + /// Required. A freeform description of what the promotion is targeting. #[prost(string, tag="1")] pub promotion_target: ::prost::alloc::string::String, - /// A modifier for qualification of the discount. + /// A modifier for qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Start date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="7")] pub redemption_start_date: ::prost::alloc::string::String, - /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd - /// format. + /// Last date of when the promotion is eligible to be redeemed, in yyyy-MM-dd + /// format. #[prost(string, tag="8")] pub redemption_end_date: ::prost::alloc::string::String, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within the - /// date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within the + /// date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, tag="10")] pub language_code: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="11")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="12")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="13")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_asset::DiscountType", tags="3, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_asset::PromotionTrigger", tags="5, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionAsset`. pub mod promotion_asset { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion. 1,000,000 = 100%. - /// Either this or money_amount_off is required. + /// Percentage off discount in the promotion. 1,000,000 = 100%. + /// Either this or money_amount_off is required. #[prost(int64, tag="3")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="5")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// A Callout asset. +/// A Callout asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutAsset { - /// Required. The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub callout_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="2")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="3")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="4")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Structured Snippet asset. +/// A Structured Snippet asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetAsset { - /// Required. The header of the snippet. - /// This string should be one of the predefined values at - /// + /// Required. The header of the snippet. + /// This string should be one of the predefined values at + /// #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The values in the snippet. - /// The size of this collection should be between 3 and 10, inclusive. - /// The length of each value should be between 1 and 25 characters, inclusive. + /// Required. The values in the snippet. + /// The size of this collection should be between 3 and 10, inclusive. + /// The length of each value should be between 1 and 25 characters, inclusive. #[prost(string, repeated, tag="2")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Sitelink asset. +/// A Sitelink asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkAsset { - /// Required. URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub link_text: ::prost::alloc::string::String, - /// First line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description2 - /// must also be set. + /// First line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description2 + /// must also be set. #[prost(string, tag="2")] pub description1: ::prost::alloc::string::String, - /// Second line of the description for the sitelink. - /// If set, the length should be between 1 and 35, inclusive, and description1 - /// must also be set. + /// Second line of the description for the sitelink. + /// If set, the length should be between 1 and 35, inclusive, and description1 + /// must also be set. #[prost(string, tag="3")] pub description2: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="6")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// A Page Feed asset. +/// A Page Feed asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PageFeedAsset { - /// Required. The webpage that advertisers want to target. + /// Required. The webpage that advertisers want to target. #[prost(string, tag="1")] pub page_url: ::prost::alloc::string::String, - /// Labels used to group the page urls. + /// Labels used to group the page urls. #[prost(string, repeated, tag="2")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dynamic Education asset. +/// A Dynamic Education asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicEducationAsset { - /// Required. Program ID which can be any sequence of letters and digits, and must be - /// unique and match the values of remarketing tag. Required. + /// Required. Program ID which can be any sequence of letters and digits, and must be + /// unique and match the values of remarketing tag. Required. #[prost(string, tag="1")] pub program_id: ::prost::alloc::string::String, - /// Location ID which can be any sequence of letters and digits and must be - /// unique. + /// Location ID which can be any sequence of letters and digits and must be + /// unique. #[prost(string, tag="2")] pub location_id: ::prost::alloc::string::String, - /// Required. Program name, e.g. Nursing. Required. + /// Required. Program name, e.g. Nursing. Required. #[prost(string, tag="3")] pub program_name: ::prost::alloc::string::String, - /// Subject of study, e.g. Health. + /// Subject of study, e.g. Health. #[prost(string, tag="4")] pub subject: ::prost::alloc::string::String, - /// Program description, e.g. Nursing Certification. + /// Program description, e.g. Nursing Certification. #[prost(string, tag="5")] pub program_description: ::prost::alloc::string::String, - /// School name, e.g. Mountain View School of Nursing. + /// School name, e.g. Mountain View School of Nursing. #[prost(string, tag="6")] pub school_name: ::prost::alloc::string::String, - /// School address which can be specified in one of the following formats. - /// (1) City, state, code, country, e.g. Mountain View, CA, USA. - /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. - /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 + /// School address which can be specified in one of the following formats. + /// (1) City, state, code, country, e.g. Mountain View, CA, USA. + /// (2) Full address, e.g. 123 Boulevard St, Mountain View, CA 94043. + /// (3) Latitude-longitude in the DDD format, e.g. 41.40338, 2.17403 #[prost(string, tag="7")] pub address: ::prost::alloc::string::String, - /// Contextual keywords, e.g. Nursing certification, Health, Mountain View. + /// Contextual keywords, e.g. Nursing certification, Health, Mountain View. #[prost(string, repeated, tag="8")] pub contextual_keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Android deep link, e.g. - /// android-app://com.example.android/http/example.com/gizmos?1234. + /// Android deep link, e.g. + /// android-app://com.example.android/http/example.com/gizmos?1234. #[prost(string, tag="9")] pub android_app_link: ::prost::alloc::string::String, - /// Similar program IDs. + /// Similar program IDs. #[prost(string, repeated, tag="10")] pub similar_program_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// iOS deep link, e.g. exampleApp://content/page. + /// iOS deep link, e.g. exampleApp://content/page. #[prost(string, tag="11")] pub ios_app_link: ::prost::alloc::string::String, - /// iOS app store ID. This is used to check if the user has the app installed - /// on their device before deep linking. If this field is set, then the - /// ios_app_link field must also be present. + /// iOS app store ID. This is used to check if the user has the app installed + /// on their device before deep linking. If this field is set, then the + /// ios_app_link field must also be present. #[prost(int64, tag="12")] pub ios_app_store_id: i64, - /// Thumbnail image url, e.g. The - /// thumbnail image will not be uploaded as image asset. + /// Thumbnail image url, e.g. The + /// thumbnail image will not be uploaded as image asset. #[prost(string, tag="13")] pub thumbnail_image_url: ::prost::alloc::string::String, - /// Image url, e.g. The image will not be - /// uploaded as image asset. + /// Image url, e.g. The image will not be + /// uploaded as image asset. #[prost(string, tag="14")] pub image_url: ::prost::alloc::string::String, } -/// An asset representing a mobile app. +/// An asset representing a mobile app. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppAsset { - /// Required. A string that uniquely identifies a mobile application. It should just - /// contain the platform native id, like "com.android.ebay" for Android or - /// "12345689" for iOS. + /// Required. A string that uniquely identifies a mobile application. It should just + /// contain the platform native id, like "com.android.ebay" for Android or + /// "12345689" for iOS. #[prost(string, tag="1")] pub app_id: ::prost::alloc::string::String, - /// Required. The application store that distributes this specific app. + /// Required. The application store that distributes this specific app. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="2")] pub app_store: i32, - /// Required. The visible text displayed when the link is rendered in an ad. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The visible text displayed when the link is rendered in an ad. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="3")] pub link_text: ::prost::alloc::string::String, - /// Start date of when this asset is effective and can begin serving, in - /// yyyy-MM-dd format. + /// Start date of when this asset is effective and can begin serving, in + /// yyyy-MM-dd format. #[prost(string, tag="4")] pub start_date: ::prost::alloc::string::String, - /// Last date of when this asset is effective and still serving, in yyyy-MM-dd - /// format. + /// Last date of when this asset is effective and still serving, in yyyy-MM-dd + /// format. #[prost(string, tag="5")] pub end_date: ::prost::alloc::string::String, } -/// An asset representing a hotel callout. +/// An asset representing a hotel callout. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutAsset { - /// Required. The text of the hotel callout asset. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The text of the hotel callout asset. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// Required. The language of the hotel callout. - /// Represented as BCP 47 language tag. + /// Required. The language of the hotel callout. + /// Represented as BCP 47 language tag. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// A Call asset. +/// A Call asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAsset { - /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. + /// Required. Two-letter country code of the phone number. Examples: 'US', 'us'. #[prost(string, tag="1")] pub country_code: ::prost::alloc::string::String, - /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' + /// Required. The advertiser's raw phone number. Examples: '1234567890', '(123)456-7890' #[prost(string, tag="2")] pub phone_number: ::prost::alloc::string::String, - /// Indicates whether this CallAsset should use its own call conversion - /// setting, follow the account level setting, or disable call conversion. + /// Indicates whether this CallAsset should use its own call conversion + /// setting, follow the account level setting, or disable call conversion. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="3")] pub call_conversion_reporting_state: i32, - /// The conversion action to attribute a call conversion to. If not set, the - /// default conversion action is used. This field only has effect if - /// call_conversion_reporting_state is set to - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// The conversion action to attribute a call conversion to. If not set, the + /// default conversion action is used. This field only has effect if + /// call_conversion_reporting_state is set to + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. #[prost(string, tag="4")] pub call_conversion_action: ::prost::alloc::string::String, - /// List of non-overlapping schedules specifying all time intervals for which - /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in - /// total. + /// List of non-overlapping schedules specifying all time intervals for which + /// the asset may serve. There can be a maximum of 6 schedules per day, 42 in + /// total. #[prost(message, repeated, tag="5")] pub ad_schedule_targets: ::prost::alloc::vec::Vec, } -/// An asset representing a list of price offers. +/// An asset representing a list of price offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceAsset { - /// Required. The type of the price asset. + /// Required. The type of the price asset. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// The price qualifier of the price asset. + /// The price qualifier of the price asset. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Required. The language of the price asset. - /// Represented as BCP 47 language tag. + /// Required. The language of the price asset. + /// Represented as BCP 47 language tag. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// The price offerings of the price asset. - /// The size of this collection should be between 3 and 8, inclusive. + /// The price offerings of the price asset. + /// The size of this collection should be between 3 and 8, inclusive. #[prost(message, repeated, tag="4")] pub price_offerings: ::prost::alloc::vec::Vec, } -/// A single price offering within a PriceAsset. +/// A single price offering within a PriceAsset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffering { - /// Required. The header of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The header of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="1")] pub header: ::prost::alloc::string::String, - /// Required. The description of the price offering. - /// The length of this string should be between 1 and 25, inclusive. + /// Required. The description of the price offering. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. The price value of the price offering. + /// Required. The price value of the price offering. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// The price unit of the price offering. + /// The price unit of the price offering. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// Required. The final URL after all cross domain redirects. + /// Required. The final URL after all cross domain redirects. #[prost(string, tag="5")] pub final_url: ::prost::alloc::string::String, - /// The final mobile URL after all cross domain redirects. + /// The final mobile URL after all cross domain redirects. #[prost(string, tag="6")] pub final_mobile_url: ::prost::alloc::string::String, } -/// A call to action asset. +/// A call to action asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionAsset { - /// Call to action. + /// Call to action. #[prost(enumeration="super::enums::call_to_action_type_enum::CallToActionType", tag="1")] pub call_to_action: i32, } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Commission is an automatic bidding strategy in which the advertiser pays a -/// certain portion of the conversion value. +/// Commission is an automatic bidding strategy in which the advertiser pays a +/// certain portion of the conversion value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Commission { - /// Commission rate defines the portion of the conversion value that the - /// advertiser will be billed. A commission rate of x should be passed into - /// this field as (x * 1,000,000). For example, 106,000 represents a commission - /// rate of 0.106 (10.6%). + /// Commission rate defines the portion of the conversion value that the + /// advertiser will be billed. A commission rate of x should be passed into + /// this field as (x * 1,000,000). For example, 106,000 represents a commission + /// rate of 0.106 (10.6%). #[prost(int64, optional, tag="2")] pub commission_rate_micros: ::core::option::Option, } -/// An automated bidding strategy that raises bids for clicks -/// that seem more likely to lead to a conversion and lowers -/// them for clicks where they seem less likely. +/// An automated bidding strategy that raises bids for clicks +/// that seem more likely to lead to a conversion and lowers +/// them for clicks where they seem less likely. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpc { } -/// Manual click-based bidding where user pays per click. +/// Manual click-based bidding where user pays per click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpc { - /// Whether bids are to be enhanced based on conversion optimizer data. + /// Whether bids are to be enhanced based on conversion optimizer data. #[prost(bool, optional, tag="2")] pub enhanced_cpc_enabled: ::core::option::Option, } -/// Manual impression-based bidding where user pays per thousand impressions. +/// Manual impression-based bidding where user pays per thousand impressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpm { } -/// View based bidding where user pays per video view. +/// View based bidding where user pays per video view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualCpv { } -/// An automated bidding strategy to help get the most conversions for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversions for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// The target cost-per-action (CPA) option. This is the average amount that - /// you would like to spend per conversion action. If set, the bid strategy - /// will get as many conversions as possible at or below the target - /// cost-per-action. If the target CPA is not set, the bid strategy will - /// aim to achieve the lowest possible CPA given the budget. + /// The target cost-per-action (CPA) option. This is the average amount that + /// you would like to spend per conversion action. If set, the bid strategy + /// will get as many conversions as possible at or below the target + /// cost-per-action. If the target CPA is not set, the bid strategy will + /// aim to achieve the lowest possible CPA given the budget. #[prost(int64, tag="1")] pub target_cpa: i64, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="2")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_floor_micros: i64, } -/// An automated bidding strategy to help get the most conversion value for your -/// campaigns while spending your budget. +/// An automated bidding strategy to help get the most conversion value for your +/// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// The target return on ad spend (ROAS) option. If set, the bid strategy will - /// maximize revenue while averaging the target return on ad spend. If the - /// target ROAS is high, the bid strategy may not be able to spend the full - /// budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// The target return on ad spend (ROAS) option. If set, the bid strategy will + /// maximize revenue while averaging the target return on ad spend. If the + /// target ROAS is high, the bid strategy may not be able to spend the full + /// budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="2")] pub target_roas: f64, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="3")] pub cpc_bid_ceiling_micros: i64, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// Mutable for portfolio bidding strategies only. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// Mutable for portfolio bidding strategies only. #[prost(int64, tag="4")] pub cpc_bid_floor_micros: i64, } -/// An automated bid strategy that sets bids to help get as many conversions as -/// possible at the target cost-per-acquisition (CPA) you set. +/// An automated bid strategy that sets bids to help get as many conversions as +/// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Average CPA target. - /// This target should be greater than or equal to minimum billable unit based - /// on the currency for the account. + /// Average CPA target. + /// This target should be greater than or equal to minimum billable unit based + /// on the currency for the account. #[prost(int64, optional, tag="4")] pub target_cpa_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// Target CPM (cost per thousand impressions) is an automated bidding strategy -/// that sets bids to optimize performance given the target CPM you set. +/// Target CPM (cost per thousand impressions) is an automated bidding strategy +/// that sets bids to optimize performance given the target CPM you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpm { } -/// An automated bidding strategy that sets bids so that a certain percentage of -/// search ads are shown at the top of the first page (or other targeted -/// location). +/// An automated bidding strategy that sets bids so that a certain percentage of +/// search ads are shown at the top of the first page (or other targeted +/// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// The targeted location on the search results page. + /// The targeted location on the search results page. #[prost(enumeration="super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The desired fraction of ads to be shown in the targeted location in micros. - /// E.g. 1% equals 10,000. + /// The desired fraction of ads to be shown in the targeted location in micros. + /// E.g. 1% equals 10,000. #[prost(int64, optional, tag="4")] pub location_fraction_micros: ::core::option::Option, - /// The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// An automated bidding strategy that helps you maximize revenue while -/// averaging a specific target return on ad spend (ROAS). +/// An automated bidding strategy that helps you maximize revenue while +/// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Required. The desired revenue (based on conversion data) per unit of spend. - /// Value must be between 0.01 and 1000.0, inclusive. + /// Required. The desired revenue (based on conversion data) per unit of spend. + /// Value must be between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="4")] pub target_roas: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="5")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Minimum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. - /// This should only be set for portfolio bid strategies. + /// Minimum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. + /// This should only be set for portfolio bid strategies. #[prost(int64, optional, tag="6")] pub cpc_bid_floor_micros: ::core::option::Option, } -/// An automated bid strategy that sets your bids to help get as many clicks -/// as possible within your budget. +/// An automated bid strategy that sets your bids to help get as many clicks +/// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="3")] pub target_spend_micros: ::core::option::Option, - /// Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="4")] pub cpc_bid_ceiling_micros: ::core::option::Option, } -/// A bidding strategy where bids are a fraction of the advertised price for -/// some good or service. +/// A bidding strategy where bids are a fraction of the advertised price for +/// some good or service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpc { - /// Maximum bid limit that can be set by the bid strategy. This is - /// an optional field entered by the advertiser and specified in local micros. - /// Note: A zero value is interpreted in the same way as having bid_ceiling - /// undefined. + /// Maximum bid limit that can be set by the bid strategy. This is + /// an optional field entered by the advertiser and specified in local micros. + /// Note: A zero value is interpreted in the same way as having bid_ceiling + /// undefined. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, - /// Adjusts the bid for each auction upward or downward, depending on the - /// likelihood of a conversion. Individual bids may exceed - /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should - /// not. + /// Adjusts the bid for each auction upward or downward, depending on the + /// likelihood of a conversion. Individual bids may exceed + /// cpc_bid_ceiling_micros, but the average bid amount for a campaign should + /// not. #[prost(bool, optional, tag="4")] pub enhanced_cpc_enabled: ::core::option::Option, } -// Proto file describing a ClickLocation. +// Proto file describing a ClickLocation. -/// Location criteria associated with a click. +/// Location criteria associated with a click. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickLocation { - /// The city location criterion associated with the impression. + /// The city location criterion associated with the impression. #[prost(string, optional, tag="6")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// The country location criterion associated with the impression. + /// The country location criterion associated with the impression. #[prost(string, optional, tag="7")] pub country: ::core::option::Option<::prost::alloc::string::String>, - /// The metro location criterion associated with the impression. + /// The metro location criterion associated with the impression. #[prost(string, optional, tag="8")] pub metro: ::core::option::Option<::prost::alloc::string::String>, - /// The most specific location criterion associated with the impression. + /// The most specific location criterion associated with the impression. #[prost(string, optional, tag="9")] pub most_specific: ::core::option::Option<::prost::alloc::string::String>, - /// The region location criterion associated with the impression. + /// The region location criterion associated with the impression. #[prost(string, optional, tag="10")] pub region: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing criterion category availability information. +// Proto file describing criterion category availability information. -/// Information of category availability, per advertising channel. +/// Information of category availability, per advertising channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryAvailability { - /// Channel types and subtypes that are available to the category. + /// Channel types and subtypes that are available to the category. #[prost(message, optional, tag="1")] pub channel: ::core::option::Option, - /// Locales that are available to the category for the channel. + /// Locales that are available to the category for the channel. #[prost(message, repeated, tag="2")] pub locale: ::prost::alloc::vec::Vec, } -/// Information of advertising channel type and subtypes a category is available -/// in. +/// Information of advertising channel type and subtypes a category is available +/// in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailability { - /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the - /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type - /// will be set, the category is available to all sub types under it) or - /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, - /// advertising_channel_sub_type, and include_default_channel_sub_type will all - /// be set). + /// Format of the channel availability. Can be ALL_CHANNELS (the rest of the + /// fields will not be set), CHANNEL_TYPE (only advertising_channel_type type + /// will be set, the category is available to all sub types under it) or + /// CHANNEL_TYPE_AND_SUBTYPES (advertising_channel_type, + /// advertising_channel_sub_type, and include_default_channel_sub_type will all + /// be set). #[prost(enumeration="super::enums::criterion_category_channel_availability_mode_enum::CriterionCategoryChannelAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Channel type the category is available to. + /// Channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="2")] pub advertising_channel_type: i32, - /// Channel subtypes under the channel type the category is available to. + /// Channel subtypes under the channel type the category is available to. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", repeated, tag="3")] pub advertising_channel_sub_type: ::prost::alloc::vec::Vec, - /// Whether default channel sub type is included. For example, - /// advertising_channel_type being DISPLAY and include_default_channel_sub_type - /// being false means that the default display campaign where channel sub type - /// is not set is not included in this availability configuration. + /// Whether default channel sub type is included. For example, + /// advertising_channel_type being DISPLAY and include_default_channel_sub_type + /// being false means that the default display campaign where channel sub type + /// is not set is not included in this availability configuration. #[prost(bool, optional, tag="5")] pub include_default_channel_sub_type: ::core::option::Option, } -/// Information about which locales a category is available in. +/// Information about which locales a category is available in. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailability { - /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and - /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only - /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will - /// be set). + /// Format of the locale availability. Can be LAUNCHED_TO_ALL (both country and + /// language will be empty), COUNTRY (only country will be set), LANGUAGE (only + /// language wil be set), COUNTRY_AND_LANGUAGE (both country and language will + /// be set). #[prost(enumeration="super::enums::criterion_category_locale_availability_mode_enum::CriterionCategoryLocaleAvailabilityMode", tag="1")] pub availability_mode: i32, - /// Code of the country. + /// Code of the country. #[prost(string, optional, tag="4")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Code of the language. + /// Code of the language. #[prost(string, optional, tag="5")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing CustomParameter and operation +// Proto file describing CustomParameter and operation -/// A mapping that can be used by custom parameter tags in a -/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. +/// A mapping that can be used by custom parameter tags in a +/// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomParameter { - /// The key matching the parameter tag name. + /// The key matching the parameter tag name. #[prost(string, optional, tag="3")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be substituted. + /// The value to be substituted. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing common customizer value proto messages. +// Proto file describing common customizer value proto messages. -/// A customizer value that is referenced in customizer linkage entities -/// like CustomerCustomizer, CampaignCustomizer, etc. +/// A customizer value that is referenced in customizer linkage entities +/// like CustomerCustomizer, CampaignCustomizer, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValue { - /// Required. The data type for the customizer value. It must match the attribute type. - /// The string_value content must match the constraints associated with the - /// type. + /// Required. The data type for the customizer value. It must match the attribute type. + /// The string_value content must match the constraints associated with the + /// type. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="1")] pub r#type: i32, - /// Required. Value to insert in creative text. Customizer values of all types are stored - /// as string to make formatting unambiguous. + /// Required. Value to insert in creative text. Customizer values of all types are stored + /// as string to make formatting unambiguous. #[prost(string, tag="2")] pub string_value: ::prost::alloc::string::String, } -// Proto file describing date range message. +// Proto file describing date range message. -/// A date range. +/// A date range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="3")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The end date, in yyyy-mm-dd format. This date is inclusive. + /// The end date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="4")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -/// The year month range inclusive of the start and end months. -/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). +/// The year month range inclusive of the start and end months. +/// Eg: A year month range to represent Jan 2020 would be: (Jan 2020, Jan 2020). #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonthRange { - /// The inclusive start year month. + /// The inclusive start year month. #[prost(message, optional, tag="1")] pub start: ::core::option::Option, - /// The inclusive end year month. + /// The inclusive end year month. #[prost(message, optional, tag="2")] pub end: ::core::option::Option, } -/// Year month. +/// Year month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YearMonth { - /// The year (e.g. 2020). + /// The year (e.g. 2020). #[prost(int64, tag="1")] pub year: i64, - /// The month of the year. (e.g. FEBRUARY). + /// The month of the year. (e.g. FEBRUARY). #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, } -// Proto file describing ExplorerAutoOptimizerSetting +// Proto file describing ExplorerAutoOptimizerSetting -/// Settings for the Display Campaign Optimizer, initially named "Explorer". -/// Learn more about -/// [automatic targeting](). +/// Settings for the Display Campaign Optimizer, initially named "Explorer". +/// Learn more about +/// [automatic targeting](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplorerAutoOptimizerSetting { - /// Indicates whether the optimizer is turned on. + /// Indicates whether the optimizer is turned on. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing extension types. +// Proto file describing extension types. -/// Represents an App extension. +/// Represents an App extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppFeedItem { - /// The visible text displayed when the link is rendered in an ad. - /// This string must not be empty, and the length of this string should - /// be between 1 and 25, inclusive. + /// The visible text displayed when the link is rendered in an ad. + /// This string must not be empty, and the length of this string should + /// be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// The store-specific ID for the target application. - /// This string must not be empty. + /// The store-specific ID for the target application. + /// This string must not be empty. #[prost(string, optional, tag="10")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// The application store that the target application belongs to. - /// This field is required. + /// The application store that the target application belongs to. + /// This field is required. #[prost(enumeration="super::enums::app_store_enum::AppStore", tag="3")] pub app_store: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This list must not be empty. + /// A list of possible final URLs after all cross domain redirects. + /// This list must not be empty. #[prost(string, repeated, tag="11")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. Default value is "{lpurl}". + /// URL template for constructing a tracking URL. Default value is "{lpurl}". #[prost(string, optional, tag="13")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="14")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Call extension. +/// Represents a Call extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallFeedItem { - /// The advertiser's phone number to append to the ad. - /// This string must not be empty. + /// The advertiser's phone number to append to the ad. + /// This string must not be empty. #[prost(string, optional, tag="7")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This string must not be empty. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This string must not be empty. #[prost(string, optional, tag="8")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether call tracking is enabled. By default, call tracking is - /// not enabled. + /// Indicates whether call tracking is enabled. By default, call tracking is + /// not enabled. #[prost(bool, optional, tag="9")] pub call_tracking_enabled: ::core::option::Option, - /// The conversion action to attribute a call conversion to. If not set a - /// default conversion action is used. This field only has effect if - /// call_tracking_enabled is set to true. Otherwise this field is ignored. + /// The conversion action to attribute a call conversion to. If not set a + /// default conversion action is used. This field only has effect if + /// call_tracking_enabled is set to true. Otherwise this field is ignored. #[prost(string, optional, tag="10")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// If true, disable call conversion tracking. call_conversion_action should - /// not be set if this is true. Optional. + /// If true, disable call conversion tracking. call_conversion_action should + /// not be set if this is true. Optional. #[prost(bool, optional, tag="11")] pub call_conversion_tracking_disabled: ::core::option::Option, - /// Enum value that indicates whether this call extension uses its own call - /// conversion setting (or just have call conversion disabled), or following - /// the account level setting. + /// Enum value that indicates whether this call extension uses its own call + /// conversion setting (or just have call conversion disabled), or following + /// the account level setting. #[prost(enumeration="super::enums::call_conversion_reporting_state_enum::CallConversionReportingState", tag="6")] pub call_conversion_reporting_state: i32, } -/// Represents a callout extension. +/// Represents a callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="2")] pub callout_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a location extension. +/// Represents a location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="9")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="10")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="11")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="12")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="13")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="14")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="15")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="16")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an affiliate location extension. +/// Represents an affiliate location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedItem { - /// The name of the business. + /// The name of the business. #[prost(string, optional, tag="11")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Line 1 of the business address. + /// Line 1 of the business address. #[prost(string, optional, tag="12")] pub address_line_1: ::core::option::Option<::prost::alloc::string::String>, - /// Line 2 of the business address. + /// Line 2 of the business address. #[prost(string, optional, tag="13")] pub address_line_2: ::core::option::Option<::prost::alloc::string::String>, - /// City of the business address. + /// City of the business address. #[prost(string, optional, tag="14")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// Province of the business address. + /// Province of the business address. #[prost(string, optional, tag="15")] pub province: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the business address. + /// Postal code of the business address. #[prost(string, optional, tag="16")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Country code of the business address. + /// Country code of the business address. #[prost(string, optional, tag="17")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Phone number of the business. + /// Phone number of the business. #[prost(string, optional, tag="18")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Id of the retail chain that is advertised as a seller of your product. + /// Id of the retail chain that is advertised as a seller of your product. #[prost(int64, optional, tag="19")] pub chain_id: ::core::option::Option, - /// Name of chain. + /// Name of chain. #[prost(string, optional, tag="20")] pub chain_name: ::core::option::Option<::prost::alloc::string::String>, } -/// An extension that users can click on to send a text message to the -/// advertiser. +/// An extension that users can click on to send a text message to the +/// advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextMessageFeedItem { - /// The business name to prepend to the message text. - /// This field is required. + /// The business name to prepend to the message text. + /// This field is required. #[prost(string, optional, tag="6")] pub business_name: ::core::option::Option<::prost::alloc::string::String>, - /// Uppercase two-letter country code of the advertiser's phone number. - /// This field is required. + /// Uppercase two-letter country code of the advertiser's phone number. + /// This field is required. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The advertiser's phone number the message will be sent to. Required. + /// The advertiser's phone number the message will be sent to. Required. #[prost(string, optional, tag="8")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// The text to show in the ad. - /// This field is required. + /// The text to show in the ad. + /// This field is required. #[prost(string, optional, tag="9")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The message extension_text populated in the messaging app. + /// The message extension_text populated in the messaging app. #[prost(string, optional, tag="10")] pub extension_text: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Price extension. +/// Represents a Price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceFeedItem { - /// Price extension type of this extension. + /// Price extension type of this extension. #[prost(enumeration="super::enums::price_extension_type_enum::PriceExtensionType", tag="1")] pub r#type: i32, - /// Price qualifier for all offers of this price extension. + /// Price qualifier for all offers of this price extension. #[prost(enumeration="super::enums::price_extension_price_qualifier_enum::PriceExtensionPriceQualifier", tag="2")] pub price_qualifier: i32, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="7")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The code of the language used for this price extension. + /// The code of the language used for this price extension. #[prost(string, optional, tag="8")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// The price offerings in this price extension. + /// The price offerings in this price extension. #[prost(message, repeated, tag="5")] pub price_offerings: ::prost::alloc::vec::Vec, - /// Tracking URL template for all offers of this price extension. + /// Tracking URL template for all offers of this price extension. #[prost(string, optional, tag="9")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents one price offer in a price extension. +/// Represents one price offer in a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceOffer { - /// Header text of this offer. + /// Header text of this offer. #[prost(string, optional, tag="7")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// Description text of this offer. + /// Description text of this offer. #[prost(string, optional, tag="8")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Price value of this offer. + /// Price value of this offer. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, - /// Price unit for this offer. + /// Price unit for this offer. #[prost(enumeration="super::enums::price_extension_price_unit_enum::PriceExtensionPriceUnit", tag="4")] pub unit: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="9")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="10")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Promotion extension. +/// Represents a Promotion extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionFeedItem { - /// A freeform description of what the promotion is targeting. - /// This field is required. + /// A freeform description of what the promotion is targeting. + /// This field is required. #[prost(string, optional, tag="16")] pub promotion_target: ::core::option::Option<::prost::alloc::string::String>, - /// Enum that modifies the qualification of the discount. + /// Enum that modifies the qualification of the discount. #[prost(enumeration="super::enums::promotion_extension_discount_modifier_enum::PromotionExtensionDiscountModifier", tag="2")] pub discount_modifier: i32, - /// Start date of when the promotion is eligible to be redeemed. + /// Start date of when the promotion is eligible to be redeemed. #[prost(string, optional, tag="19")] pub promotion_start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Last date when the promotion is eligible to be redeemed. + /// Last date when the promotion is eligible to be redeemed. #[prost(string, optional, tag="20")] pub promotion_end_date: ::core::option::Option<::prost::alloc::string::String>, - /// The occasion the promotion was intended for. - /// If an occasion is set, the redemption window will need to fall within - /// the date range associated with the occasion. + /// The occasion the promotion was intended for. + /// If an occasion is set, the redemption window will need to fall within + /// the date range associated with the occasion. #[prost(enumeration="super::enums::promotion_extension_occasion_enum::PromotionExtensionOccasion", tag="9")] pub occasion: i32, - /// A list of possible final URLs after all cross domain redirects. - /// This field is required. + /// A list of possible final URLs after all cross domain redirects. + /// This field is required. #[prost(string, repeated, tag="21")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="22")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="13")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the promotion. - /// Represented as BCP 47 language tag. + /// The language of the promotion. + /// Represented as BCP 47 language tag. #[prost(string, optional, tag="25")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[prost(oneof="promotion_feed_item::DiscountType", tags="17, 4")] pub discount_type: ::core::option::Option, - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[prost(oneof="promotion_feed_item::PromotionTrigger", tags="18, 6")] pub promotion_trigger: ::core::option::Option, } /// Nested message and enum types in `PromotionFeedItem`. pub mod promotion_feed_item { - /// Discount type, can be percentage off or amount off. + /// Discount type, can be percentage off or amount off. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DiscountType { - /// Percentage off discount in the promotion in micros. - /// One million is equivalent to one percent. - /// Either this or money_off_amount is required. + /// Percentage off discount in the promotion in micros. + /// One million is equivalent to one percent. + /// Either this or money_off_amount is required. #[prost(int64, tag="17")] PercentOff(i64), - /// Money amount off for discount in the promotion. - /// Either this or percent_off is required. + /// Money amount off for discount in the promotion. + /// Either this or percent_off is required. #[prost(message, tag="4")] MoneyAmountOff(super::Money), } - /// Promotion trigger. Can be by promotion code or promo by eligible order - /// amount. + /// Promotion trigger. Can be by promotion code or promo by eligible order + /// amount. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PromotionTrigger { - /// A code the user should use in order to be eligible for the promotion. + /// A code the user should use in order to be eligible for the promotion. #[prost(string, tag="18")] PromotionCode(::prost::alloc::string::String), - /// The amount the total order needs to be for the user to be eligible for - /// the promotion. + /// The amount the total order needs to be for the user to be eligible for + /// the promotion. #[prost(message, tag="6")] OrdersOverAmount(super::Money), } } -/// Represents a structured snippet extension. +/// Represents a structured snippet extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetFeedItem { - /// The header of the snippet. - /// This string must not be empty. + /// The header of the snippet. + /// This string must not be empty. #[prost(string, optional, tag="3")] pub header: ::core::option::Option<::prost::alloc::string::String>, - /// The values in the snippet. - /// The maximum size of this collection is 10. + /// The values in the snippet. + /// The maximum size of this collection is 10. #[prost(string, repeated, tag="4")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a sitelink extension. +/// Represents a sitelink extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkFeedItem { - /// URL display text for the sitelink. - /// The length of this string should be between 1 and 25, inclusive. + /// URL display text for the sitelink. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="9")] pub link_text: ::core::option::Option<::prost::alloc::string::String>, - /// First line of the description for the sitelink. - /// If this value is set, line2 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// First line of the description for the sitelink. + /// If this value is set, line2 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="10")] pub line1: ::core::option::Option<::prost::alloc::string::String>, - /// Second line of the description for the sitelink. - /// If this value is set, line1 must also be set. - /// The length of this string should be between 0 and 35, inclusive. + /// Second line of the description for the sitelink. + /// If this value is set, line1 must also be set. + /// The length of this string should be between 0 and 35, inclusive. #[prost(string, optional, tag="11")] pub line2: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="12")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="13")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="14")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="7")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Final URL suffix to be appended to landing page URLs served with - /// parallel tracking. + /// Final URL suffix to be appended to landing page URLs served with + /// parallel tracking. #[prost(string, optional, tag="15")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a hotel callout extension. +/// Represents a hotel callout extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelCalloutFeedItem { - /// The callout text. - /// The length of this string should be between 1 and 25, inclusive. + /// The callout text. + /// The length of this string should be between 1 and 25, inclusive. #[prost(string, optional, tag="3")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The language of the hotel callout text. - /// IETF BCP 47 compliant language code. + /// The language of the hotel callout text. + /// IETF BCP 47 compliant language code. #[prost(string, optional, tag="4")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an advertiser provided image extension. +/// Represents an advertiser provided image extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageFeedItem { - /// Required. Resource name of the image asset. + /// Required. Resource name of the image asset. #[prost(string, tag="1")] pub image_asset: ::prost::alloc::string::String, } -/// Represents a filter on locations in a feed item set. -/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. +/// Represents a filter on locations in a feed item set. +/// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicLocationSetFilter { - /// If multiple labels are set, then only feeditems marked with all the labels - /// will be added to the FeedItemSet. + /// If multiple labels are set, then only feeditems marked with all the labels + /// will be added to the FeedItemSet. #[prost(string, repeated, tag="1")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Business name filter. + /// Business name filter. #[prost(message, optional, tag="2")] pub business_name_filter: ::core::option::Option, } -/// Represents a business name filter on locations in a FeedItemSet. +/// Represents a business name filter on locations in a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessNameFilter { - /// Business name string to use for filtering. + /// Business name string to use for filtering. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, - /// The type of string matching to use when filtering with business_name. + /// The type of string matching to use when filtering with business_name. #[prost(enumeration="super::enums::feed_item_set_string_filter_type_enum::FeedItemSetStringFilterType", tag="2")] pub filter_type: i32, } -/// Represents a filter on affiliate locations in a FeedItemSet. -/// Only applicable if the parent Feed of the FeedItemSet is an -/// AFFILIATE_LOCATION feed. +/// Represents a filter on affiliate locations in a FeedItemSet. +/// Only applicable if the parent Feed of the FeedItemSet is an +/// AFFILIATE_LOCATION feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicAffiliateLocationSetFilter { - /// Used to filter affiliate locations by chain ids. Only affiliate locations - /// that belong to the specified chain(s) will be added to the FeedItemSet. + /// Used to filter affiliate locations by chain ids. Only affiliate locations + /// that belong to the specified chain(s) will be added to the FeedItemSet. #[prost(int64, repeated, tag="1")] pub chain_ids: ::prost::alloc::vec::Vec, } -// Proto file FinalAppUrl type. +// Proto file FinalAppUrl type. -/// A URL for deep linking into an app for the given operating system. +/// A URL for deep linking into an app for the given operating system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalAppUrl { - /// The operating system targeted by this URL. Required. + /// The operating system targeted by this URL. Required. #[prost(enumeration="super::enums::app_url_operating_system_type_enum::AppUrlOperatingSystemType", tag="1")] pub os_type: i32, - /// The app deep link URL. Deep links specify a location in an app that - /// corresponds to the content you'd like to show, and should be of the form - /// {scheme}://{host_path} - /// The scheme identifies which app to open. For your app, you can use a custom - /// scheme that starts with the app's name. The host and path specify the - /// unique location in the app where your content exists. - /// Example: "exampleapp://productid_1234". Required. + /// The app deep link URL. Deep links specify a location in an app that + /// corresponds to the content you'd like to show, and should be of the form + /// {scheme}://{host_path} + /// The scheme identifies which app to open. For your app, you can use a custom + /// scheme that starts with the app's name. The host and path specify the + /// unique location in the app where your content exists. + /// Example: "exampleapp://productid_1234". Required. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// A rule specifying the maximum number of times an ad (or some set of ads) can -/// be shown to a user over a particular time period. +/// A rule specifying the maximum number of times an ad (or some set of ads) can +/// be shown to a user over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEntry { - /// The key of a particular frequency cap. There can be no more - /// than one frequency cap with the same key. + /// The key of a particular frequency cap. There can be no more + /// than one frequency cap with the same key. #[prost(message, optional, tag="1")] pub key: ::core::option::Option, - /// Maximum number of events allowed during the time range by this cap. + /// Maximum number of events allowed during the time range by this cap. #[prost(int32, optional, tag="3")] pub cap: ::core::option::Option, } -/// A group of fields used as keys for a frequency cap. -/// There can be no more than one frequency cap with the same key. +/// A group of fields used as keys for a frequency cap. +/// There can be no more than one frequency cap with the same key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapKey { - /// The level on which the cap is to be applied (e.g. ad group ad, ad group). - /// The cap is applied to all the entities of this level. + /// The level on which the cap is to be applied (e.g. ad group ad, ad group). + /// The cap is applied to all the entities of this level. #[prost(enumeration="super::enums::frequency_cap_level_enum::FrequencyCapLevel", tag="1")] pub level: i32, - /// The type of event that the cap applies to (e.g. impression). + /// The type of event that the cap applies to (e.g. impression). #[prost(enumeration="super::enums::frequency_cap_event_type_enum::FrequencyCapEventType", tag="3")] pub event_type: i32, - /// Unit of time the cap is defined at (e.g. day, week). + /// Unit of time the cap is defined at (e.g. day, week). #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, - /// Number of time units the cap lasts. + /// Number of time units the cap lasts. #[prost(int32, optional, tag="5")] pub time_length: ::core::option::Option, } -// Proto file describing Keyword Planner messages. +// Proto file describing Keyword Planner messages. -/// Historical metrics specific to the targeting options selected. -/// Targeting options include geographies, network, etc. -/// Refer to for more -/// details. +/// Historical metrics specific to the targeting options selected. +/// Targeting options include geographies, network, etc. +/// Refer to for more +/// details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanHistoricalMetrics { - /// Approximate number of monthly searches on this query averaged - /// for the past 12 months. + /// Approximate number of monthly searches on this query averaged + /// for the past 12 months. #[prost(int64, optional, tag="7")] pub avg_monthly_searches: ::core::option::Option, - /// Approximate number of searches on this query for the past twelve months. + /// Approximate number of searches on this query for the past twelve months. #[prost(message, repeated, tag="6")] pub monthly_search_volumes: ::prost::alloc::vec::Vec, - /// The competition level for the query. + /// The competition level for the query. #[prost(enumeration="super::enums::keyword_plan_competition_level_enum::KeywordPlanCompetitionLevel", tag="2")] pub competition: i32, - /// The competition index for the query in the range [0, 100]. - /// Shows how competitive ad placement is for a keyword. - /// The level of competition from 0-100 is determined by the number of ad slots - /// filled divided by the total number of ad slots available. If not enough - /// data is available, null is returned. + /// The competition index for the query in the range [0, 100]. + /// Shows how competitive ad placement is for a keyword. + /// The level of competition from 0-100 is determined by the number of ad slots + /// filled divided by the total number of ad slots available. If not enough + /// data is available, null is returned. #[prost(int64, optional, tag="8")] pub competition_index: ::core::option::Option, - /// Top of page bid low range (20th percentile) in micros for the keyword. + /// Top of page bid low range (20th percentile) in micros for the keyword. #[prost(int64, optional, tag="9")] pub low_top_of_page_bid_micros: ::core::option::Option, - /// Top of page bid high range (80th percentile) in micros for the keyword. + /// Top of page bid high range (80th percentile) in micros for the keyword. #[prost(int64, optional, tag="10")] pub high_top_of_page_bid_micros: ::core::option::Option, } -/// Historical metrics options. +/// Historical metrics options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistoricalMetricsOptions { - /// The year month range for historical metrics. If not specified the searches - /// will be returned for past 12 months. - /// Searches data is available for the past 4 years. If the search volume is - /// not available for the entire year_month_range provided, the subset of the - /// year month range for which search volume is available will be returned. + /// The year month range for historical metrics. If not specified the searches + /// will be returned for past 12 months. + /// Searches data is available for the past 4 years. If the search volume is + /// not available for the entire year_month_range provided, the subset of the + /// year month range for which search volume is available will be returned. #[prost(message, optional, tag="1")] pub year_month_range: ::core::option::Option, } -/// Monthly search volume. +/// Monthly search volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthlySearchVolume { - /// The year of the search volume (e.g. 2020). + /// The year of the search volume (e.g. 2020). #[prost(int64, optional, tag="4")] pub year: ::core::option::Option, - /// The month of the search volume. + /// The month of the search volume. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="2")] pub month: i32, - /// Approximate number of searches for the month. - /// A null value indicates the search volume is unavailable for - /// that month. + /// Approximate number of searches for the month. + /// A null value indicates the search volume is unavailable for + /// that month. #[prost(int64, optional, tag="5")] pub monthly_searches: ::core::option::Option, } -/// The aggregate metrics specification of the request. +/// The aggregate metrics specification of the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetrics { - /// The list of aggregate metrics to fetch data. + /// The list of aggregate metrics to fetch data. #[prost(enumeration="super::enums::keyword_plan_aggregate_metric_type_enum::KeywordPlanAggregateMetricType", repeated, tag="1")] pub aggregate_metric_types: ::prost::alloc::vec::Vec, } -/// The aggregated historical metrics for keyword plan keywords. +/// The aggregated historical metrics for keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricResults { - /// The aggregate searches for all the keywords segmented by device - /// for the specified time. - /// Supports the following device types: MOBILE, TABLET, DESKTOP. + /// The aggregate searches for all the keywords segmented by device + /// for the specified time. + /// Supports the following device types: MOBILE, TABLET, DESKTOP. /// - /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set - /// in the KeywordPlanAggregateMetrics field in the request. + /// This is only set when KeywordPlanAggregateMetricTypeEnum.DEVICE is set + /// in the KeywordPlanAggregateMetrics field in the request. #[prost(message, repeated, tag="1")] pub device_searches: ::prost::alloc::vec::Vec, } -/// The total searches for the device type during the specified time period. +/// The total searches for the device type during the specified time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanDeviceSearches { - /// The device type. + /// The device type. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// The total searches for the device. + /// The total searches for the device. #[prost(int64, optional, tag="2")] pub search_count: ::core::option::Option, } -/// The Annotations for the Keyword plan keywords. +/// The Annotations for the Keyword plan keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAnnotations { - /// The list of concepts for the keyword. + /// The list of concepts for the keyword. #[prost(message, repeated, tag="1")] pub concepts: ::prost::alloc::vec::Vec, } -/// The concept for the keyword. +/// The concept for the keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordConcept { - /// The concept name for the keyword in the concept_group. + /// The concept name for the keyword in the concept_group. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group of the concept details. + /// The concept group of the concept details. #[prost(message, optional, tag="2")] pub concept_group: ::core::option::Option, } -/// The concept group for the keyword concept. +/// The concept group for the keyword concept. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConceptGroup { - /// The concept group name. + /// The concept group name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The concept group type. + /// The concept group type. #[prost(enumeration="super::enums::keyword_plan_concept_group_type_enum::KeywordPlanConceptGroupType", tag="2")] pub r#type: i32, } -// Proto file describing a matching function. +// Proto file describing a matching function. -/// Matching function associated with a -/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used -/// to filter the set of feed items selected. +/// Matching function associated with a +/// CustomerFeed, CampaignFeed, or AdGroupFeed. The matching function is used +/// to filter the set of feed items selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunction { - /// String representation of the Function. + /// String representation of the Function. /// - /// Examples: + /// Examples: /// - /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. - /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") - /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) - /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) - /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) + /// 1. IDENTITY(true) or IDENTITY(false). All or no feed items served. + /// 2. EQUALS(CONTEXT.DEVICE,"Mobile") + /// 3. IN(FEED_ITEM_ID,{1000001,1000002,1000003}) + /// 4. CONTAINS_ANY(FeedAttribute\[12345678,0\],{"Mars cruise","Venus cruise"}) + /// 5. AND(IN(FEED_ITEM_ID,{10001,10002}),EQUALS(CONTEXT.DEVICE,"Mobile")) /// - /// For more details, visit - /// + /// For more details, visit + /// /// - /// Note that because multiple strings may represent the same underlying - /// function (whitespace and single versus double quotation marks, for - /// example), the value returned may not be identical to the string sent in a - /// mutate request. + /// Note that because multiple strings may represent the same underlying + /// function (whitespace and single versus double quotation marks, for + /// example), the value returned may not be identical to the string sent in a + /// mutate request. #[prost(string, optional, tag="5")] pub function_string: ::core::option::Option<::prost::alloc::string::String>, - /// Operator for a function. + /// Operator for a function. #[prost(enumeration="super::enums::matching_function_operator_enum::MatchingFunctionOperator", tag="4")] pub operator: i32, - /// The operands on the left hand side of the equation. This is also the - /// operand to be used for single operand expressions such as NOT. + /// The operands on the left hand side of the equation. This is also the + /// operand to be used for single operand expressions such as NOT. #[prost(message, repeated, tag="2")] pub left_operands: ::prost::alloc::vec::Vec, - /// The operands on the right hand side of the equation. + /// The operands on the right hand side of the equation. #[prost(message, repeated, tag="3")] pub right_operands: ::prost::alloc::vec::Vec, } -/// An operand in a matching function. +/// An operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operand { - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[prost(oneof="operand::FunctionArgumentOperand", tags="1, 2, 3, 4")] pub function_argument_operand: ::core::option::Option, } /// Nested message and enum types in `Operand`. pub mod operand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConstantOperand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[prost(oneof="constant_operand::ConstantOperandValue", tags="5, 6, 7, 8")] pub constant_operand_value: ::core::option::Option, } /// Nested message and enum types in `ConstantOperand`. pub mod constant_operand { - /// Constant operand values. Required. + /// Constant operand values. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConstantOperandValue { - /// String value of the operand if it is a string type. + /// String value of the operand if it is a string type. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), - /// Int64 value of the operand if it is a int64 type. + /// Int64 value of the operand if it is a int64 type. #[prost(int64, tag="6")] LongValue(i64), - /// Boolean value of the operand if it is a boolean type. + /// Boolean value of the operand if it is a boolean type. #[prost(bool, tag="7")] BooleanValue(bool), - /// Double value of the operand if it is a double type. + /// Double value of the operand if it is a double type. #[prost(double, tag="8")] DoubleValue(f64), } } - /// A feed attribute operand in a matching function. - /// Used to represent a feed attribute in feed. + /// A feed attribute operand in a matching function. + /// Used to represent a feed attribute in feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperand { - /// The associated feed. Required. + /// The associated feed. Required. #[prost(int64, optional, tag="3")] pub feed_id: ::core::option::Option, - /// Id of the referenced feed attribute. Required. + /// Id of the referenced feed attribute. Required. #[prost(int64, optional, tag="4")] pub feed_attribute_id: ::core::option::Option, } - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionOperand { - /// The matching function held in this operand. + /// The matching function held in this operand. #[prost(message, optional, tag="1")] pub matching_function: ::core::option::Option, } - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestContextOperand { - /// Type of value to be referred in the request context. + /// Type of value to be referred in the request context. #[prost(enumeration="super::super::enums::matching_function_context_type_enum::MatchingFunctionContextType", tag="1")] pub context_type: i32, } - /// Different operands that can be used in a matching function. Required. + /// Different operands that can be used in a matching function. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FunctionArgumentOperand { - /// A constant operand in a matching function. + /// A constant operand in a matching function. #[prost(message, tag="1")] ConstantOperand(ConstantOperand), - /// This operand specifies a feed attribute in feed. + /// This operand specifies a feed attribute in feed. #[prost(message, tag="2")] FeedAttributeOperand(FeedAttributeOperand), - /// A function operand in a matching function. - /// Used to represent nested functions. + /// A function operand in a matching function. + /// Used to represent nested functions. #[prost(message, tag="3")] FunctionOperand(FunctionOperand), - /// An operand in a function referring to a value in the request context. + /// An operand in a function referring to a value in the request context. #[prost(message, tag="4")] RequestContextOperand(RequestContextOperand), } } -// Proto file describing metrics. +// Proto file describing metrics. -/// Metrics data. +/// Metrics data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The percent of your ad impressions that are shown as the very first ad - /// above the organic search results. + /// The percent of your ad impressions that are shown as the very first ad + /// above the organic search results. #[prost(double, optional, tag="183")] pub absolute_top_impression_percentage: ::core::option::Option, - /// Average cost of viewable impressions (`active_view_impressions`). + /// Average cost of viewable impressions (`active_view_impressions`). #[prost(double, optional, tag="184")] pub active_view_cpm: ::core::option::Option, - /// Active view measurable clicks divided by active view viewable impressions. - /// This metric is reported only for display network. + /// Active view measurable clicks divided by active view viewable impressions. + /// This metric is reported only for display network. #[prost(double, optional, tag="185")] pub active_view_ctr: ::core::option::Option, - /// A measurement of how often your ad has become viewable on a Display - /// Network site. + /// A measurement of how often your ad has become viewable on a Display + /// Network site. #[prost(int64, optional, tag="186")] pub active_view_impressions: ::core::option::Option, - /// The ratio of impressions that could be measured by Active View over the - /// number of served impressions. + /// The ratio of impressions that could be measured by Active View over the + /// number of served impressions. #[prost(double, optional, tag="187")] pub active_view_measurability: ::core::option::Option, - /// The cost of the impressions you received that were measurable by Active - /// View. + /// The cost of the impressions you received that were measurable by Active + /// View. #[prost(int64, optional, tag="188")] pub active_view_measurable_cost_micros: ::core::option::Option, - /// The number of times your ads are appearing on placements in positions - /// where they can be seen. + /// The number of times your ads are appearing on placements in positions + /// where they can be seen. #[prost(int64, optional, tag="189")] pub active_view_measurable_impressions: ::core::option::Option, - /// The percentage of time when your ad appeared on an Active View enabled site - /// (measurable impressions) and was viewable (viewable impressions). + /// The percentage of time when your ad appeared on an Active View enabled site + /// (measurable impressions) and was viewable (viewable impressions). #[prost(double, optional, tag="190")] pub active_view_viewability: ::core::option::Option, - /// All conversions from interactions (as oppose to view through conversions) - /// divided by the number of ad interactions. + /// All conversions from interactions (as oppose to view through conversions) + /// divided by the number of ad interactions. #[prost(double, optional, tag="191")] pub all_conversions_from_interactions_rate: ::core::option::Option, - /// The value of all conversions. + /// The value of all conversions. #[prost(double, optional, tag="192")] pub all_conversions_value: ::core::option::Option, - /// The value of all conversions. When this column is selected with date, the - /// values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of all conversions. When this column is selected with date, the + /// values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, tag="240")] pub all_conversions_value_by_conversion_date: f64, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. #[prost(double, optional, tag="193")] pub all_conversions: ::core::option::Option, - /// The total number of conversions. This includes all conversions regardless - /// of the value of include_in_conversions_metric. When this column is selected - /// with date, the values in date column means the conversion date. Details for - /// the by_conversion_date columns are available at - /// + /// The total number of conversions. This includes all conversions regardless + /// of the value of include_in_conversions_metric. When this column is selected + /// with date, the values in date column means the conversion date. Details for + /// the by_conversion_date columns are available at + /// #[prost(double, tag="241")] pub all_conversions_by_conversion_date: f64, - /// The value of all conversions divided by the total cost of ad interactions - /// (such as clicks for text ads or views for video ads). + /// The value of all conversions divided by the total cost of ad interactions + /// (such as clicks for text ads or views for video ads). #[prost(double, optional, tag="194")] pub all_conversions_value_per_cost: ::core::option::Option, - /// The number of times people clicked the "Call" button to call a store during - /// or after clicking an ad. This number doesn't include whether or not calls - /// were connected, or the duration of any calls. - /// This metric applies to feed items only. + /// The number of times people clicked the "Call" button to call a store during + /// or after clicking an ad. This number doesn't include whether or not calls + /// were connected, or the duration of any calls. + /// This metric applies to feed items only. #[prost(double, optional, tag="195")] pub all_conversions_from_click_to_call: ::core::option::Option, - /// The number of times people clicked a "Get directions" button to navigate to - /// a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a "Get directions" button to navigate to + /// a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="196")] pub all_conversions_from_directions: ::core::option::Option, - /// The value of all conversions from interactions divided by the total number - /// of interactions. + /// The value of all conversions from interactions divided by the total number + /// of interactions. #[prost(double, optional, tag="197")] pub all_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of times people clicked a link to view a store's menu after - /// clicking an ad. - /// This metric applies to feed items only. + /// The number of times people clicked a link to view a store's menu after + /// clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="198")] pub all_conversions_from_menu: ::core::option::Option, - /// The number of times people placed an order at a store after clicking an ad. - /// This metric applies to feed items only. + /// The number of times people placed an order at a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="199")] pub all_conversions_from_order: ::core::option::Option, - /// The number of other conversions (for example, posting a review or saving a - /// location for a store) that occurred after people clicked an ad. - /// This metric applies to feed items only. + /// The number of other conversions (for example, posting a review or saving a + /// location for a store) that occurred after people clicked an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="200")] pub all_conversions_from_other_engagement: ::core::option::Option, - /// Estimated number of times people visited a store after clicking an ad. - /// This metric applies to feed items only. + /// Estimated number of times people visited a store after clicking an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="201")] pub all_conversions_from_store_visit: ::core::option::Option, - /// The number of times that people were taken to a store's URL after clicking - /// an ad. - /// This metric applies to feed items only. + /// The number of times that people were taken to a store's URL after clicking + /// an ad. + /// This metric applies to feed items only. #[prost(double, optional, tag="202")] pub all_conversions_from_store_website: ::core::option::Option, - /// The average amount you pay per interaction. This amount is the total cost - /// of your ads divided by the total number of interactions. + /// The average amount you pay per interaction. This amount is the total cost + /// of your ads divided by the total number of interactions. #[prost(double, optional, tag="203")] pub average_cost: ::core::option::Option, - /// The total cost of all clicks divided by the total number of clicks - /// received. + /// The total cost of all clicks divided by the total number of clicks + /// received. #[prost(double, optional, tag="204")] pub average_cpc: ::core::option::Option, - /// The average amount that you've been charged for an ad engagement. This - /// amount is the total cost of all ad engagements divided by the total number - /// of ad engagements. + /// The average amount that you've been charged for an ad engagement. This + /// amount is the total cost of all ad engagements divided by the total number + /// of ad engagements. #[prost(double, optional, tag="205")] pub average_cpe: ::core::option::Option, - /// Average cost-per-thousand impressions (CPM). + /// Average cost-per-thousand impressions (CPM). #[prost(double, optional, tag="206")] pub average_cpm: ::core::option::Option, - /// The average amount you pay each time someone views your ad. - /// The average CPV is defined by the total cost of all ad views divided by - /// the number of views. + /// The average amount you pay each time someone views your ad. + /// The average CPV is defined by the total cost of all ad views divided by + /// the number of views. #[prost(double, optional, tag="207")] pub average_cpv: ::core::option::Option, - /// Average number of pages viewed per session. + /// Average number of pages viewed per session. #[prost(double, optional, tag="208")] pub average_page_views: ::core::option::Option, - /// Total duration of all sessions (in seconds) / number of sessions. Imported - /// from Google Analytics. + /// Total duration of all sessions (in seconds) / number of sessions. Imported + /// from Google Analytics. #[prost(double, optional, tag="209")] pub average_time_on_site: ::core::option::Option, - /// An indication of how other advertisers are bidding on similar products. + /// An indication of how other advertisers are bidding on similar products. #[prost(double, optional, tag="210")] pub benchmark_average_max_cpc: ::core::option::Option, - /// An indication on how other advertisers' Shopping ads for similar products - /// are performing based on how often people who see their ad click on it. + /// An indication on how other advertisers' Shopping ads for similar products + /// are performing based on how often people who see their ad click on it. #[prost(double, optional, tag="211")] pub benchmark_ctr: ::core::option::Option, - /// Percentage of clicks where the user only visited a single page on your - /// site. Imported from Google Analytics. + /// Percentage of clicks where the user only visited a single page on your + /// site. Imported from Google Analytics. #[prost(double, optional, tag="212")] pub bounce_rate: ::core::option::Option, - /// The number of clicks. + /// The number of clicks. #[prost(int64, optional, tag="131")] pub clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked. See the help page at - /// for details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked. See the help page at + /// for details. #[prost(int64, optional, tag="156")] pub combined_clicks: ::core::option::Option, - /// The number of times your ad or your site's listing in the unpaid - /// results was clicked (combined_clicks) divided by combined_queries. See the - /// help page at for - /// details. + /// The number of times your ad or your site's listing in the unpaid + /// results was clicked (combined_clicks) divided by combined_queries. See the + /// help page at for + /// details. #[prost(double, optional, tag="157")] pub combined_clicks_per_query: ::core::option::Option, - /// The number of searches that returned pages from your site in the unpaid - /// results or showed one of your text ads. See the help page at - /// for details. + /// The number of searches that returned pages from your site in the unpaid + /// results or showed one of your text ads. See the help page at + /// for details. #[prost(int64, optional, tag="158")] pub combined_queries: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show - /// on the Display Network but didn't because your budget was too low. - /// Note: Content budget lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show + /// on the Display Network but didn't because your budget was too low. + /// Note: Content budget lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="159")] pub content_budget_lost_impression_share: ::core::option::Option, - /// The impressions you've received on the Display Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Content impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Display Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Content impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="160")] pub content_impression_share: ::core::option::Option, - /// The last date/time a conversion tag for this conversion action successfully - /// fired and was seen by Google Ads. This firing event may not have been the - /// result of an attributable conversion (e.g. because the tag was fired from a - /// browser that did not previously click an ad from an appropriate - /// advertiser). The date/time is in the customer's time zone. + /// The last date/time a conversion tag for this conversion action successfully + /// fired and was seen by Google Ads. This firing event may not have been the + /// result of an attributable conversion (e.g. because the tag was fired from a + /// browser that did not previously click an ad from an appropriate + /// advertiser). The date/time is in the customer's time zone. #[prost(string, optional, tag="161")] pub conversion_last_received_request_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The date of the most recent conversion for this conversion action. The date - /// is in the customer's time zone. + /// The date of the most recent conversion for this conversion action. The date + /// is in the customer's time zone. #[prost(string, optional, tag="162")] pub conversion_last_conversion_date: ::core::option::Option<::prost::alloc::string::String>, - /// The estimated percentage of impressions on the Display Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Content rank lost impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Display Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Content rank lost impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="163")] pub content_rank_lost_impression_share: ::core::option::Option, - /// Conversions from interactions divided by the number of ad interactions - /// (such as clicks for text ads or views for video ads). This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// Conversions from interactions divided by the number of ad interactions + /// (such as clicks for text ads or views for video ads). This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="164")] pub conversions_from_interactions_rate: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="165")] pub conversions_value: ::core::option::Option, - /// The value of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The value of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="242")] pub conversions_value_by_conversion_date: f64, - /// The value of conversions divided by the cost of ad interactions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the cost of ad interactions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="166")] pub conversions_value_per_cost: ::core::option::Option, - /// The value of conversions from interactions divided by the number of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of conversions from interactions divided by the number of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="167")] pub conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="168")] pub conversions: ::core::option::Option, - /// The number of conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. When this column is selected with date, the values in date - /// column means the conversion date. Details for the by_conversion_date - /// columns are available at - /// + /// The number of conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. When this column is selected with date, the values in date + /// column means the conversion date. Details for the by_conversion_date + /// columns are available at + /// #[prost(double, tag="243")] pub conversions_by_conversion_date: f64, - /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions - /// (CPM) costs during this period. + /// The sum of your cost-per-click (CPC) and cost-per-thousand impressions + /// (CPM) costs during this period. #[prost(int64, optional, tag="169")] pub cost_micros: ::core::option::Option, - /// The cost of ad interactions divided by all conversions. + /// The cost of ad interactions divided by all conversions. #[prost(double, optional, tag="170")] pub cost_per_all_conversions: ::core::option::Option, - /// The cost of ad interactions divided by conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The cost of ad interactions divided by conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="171")] pub cost_per_conversion: ::core::option::Option, - /// The cost of ad interactions divided by current model attributed - /// conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The cost of ad interactions divided by current model attributed + /// conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="172")] pub cost_per_current_model_attributed_conversion: ::core::option::Option, - /// Conversions from when a customer clicks on a Google Ads ad on one device, - /// then converts on a different device or browser. - /// Cross-device conversions are already included in all_conversions. + /// Conversions from when a customer clicks on a Google Ads ad on one device, + /// then converts on a different device or browser. + /// Cross-device conversions are already included in all_conversions. #[prost(double, optional, tag="173")] pub cross_device_conversions: ::core::option::Option, - /// The number of clicks your ad receives (Clicks) divided by the number - /// of times your ad is shown (Impressions). + /// The number of clicks your ad receives (Clicks) divided by the number + /// of times your ad is shown (Impressions). #[prost(double, optional, tag="174")] pub ctr: ::core::option::Option, - /// Shows how your historic conversions data would look under the attribution - /// model you've currently selected. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Shows how your historic conversions data would look under the attribution + /// model you've currently selected. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="175")] pub current_model_attributed_conversions: ::core::option::Option, - /// Current model attributed conversions from interactions divided by the - /// number of ad interactions (such as clicks for text ads or views for video - /// ads). This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// Current model attributed conversions from interactions divided by the + /// number of ad interactions (such as clicks for text ads or views for video + /// ads). This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="176")] pub current_model_attributed_conversions_from_interactions_rate: ::core::option::Option, - /// The value of current model attributed conversions from interactions divided - /// by the number of ad interactions. This only includes conversion actions - /// which include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions from interactions divided + /// by the number of ad interactions. This only includes conversion actions + /// which include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="177")] pub current_model_attributed_conversions_from_interactions_value_per_interaction: ::core::option::Option, - /// The value of current model attributed conversions. This only includes - /// conversion actions which include_in_conversions_metric attribute is set to - /// true. If you use conversion-based bidding, your bid strategies will - /// optimize for these conversions. + /// The value of current model attributed conversions. This only includes + /// conversion actions which include_in_conversions_metric attribute is set to + /// true. If you use conversion-based bidding, your bid strategies will + /// optimize for these conversions. #[prost(double, optional, tag="178")] pub current_model_attributed_conversions_value: ::core::option::Option, - /// The value of current model attributed conversions divided by the cost of ad - /// interactions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the cost of ad + /// interactions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="179")] pub current_model_attributed_conversions_value_per_cost: ::core::option::Option, - /// How often people engage with your ad after it's shown to them. This is the - /// number of ad expansions divided by the number of times your ad is shown. + /// How often people engage with your ad after it's shown to them. This is the + /// number of ad expansions divided by the number of times your ad is shown. #[prost(double, optional, tag="180")] pub engagement_rate: ::core::option::Option, - /// The number of engagements. - /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the - /// future, other ad types may support engagement metrics. + /// The number of engagements. + /// An engagement occurs when a viewer expands your Lightbox ad. Also, in the + /// future, other ad types may support engagement metrics. #[prost(int64, optional, tag="181")] pub engagements: ::core::option::Option, - /// Average lead value based on clicks. + /// Average lead value based on clicks. #[prost(double, optional, tag="213")] pub hotel_average_lead_value_micros: ::core::option::Option, - /// The average price difference between the price offered by reporting hotel - /// advertiser and the cheapest price offered by the competing advertiser. + /// The average price difference between the price offered by reporting hotel + /// advertiser and the cheapest price offered by the competing advertiser. #[prost(double, optional, tag="214")] pub hotel_price_difference_percentage: ::core::option::Option, - /// The number of impressions that hotel partners could have had given their - /// feed performance. + /// The number of impressions that hotel partners could have had given their + /// feed performance. #[prost(int64, optional, tag="215")] pub hotel_eligible_impressions: ::core::option::Option, - /// The creative historical quality score. + /// The creative historical quality score. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="80")] pub historical_creative_quality_score: i32, - /// The quality of historical landing page experience. + /// The quality of historical landing page experience. #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="81")] pub historical_landing_page_quality_score: i32, - /// The historical quality score. + /// The historical quality score. #[prost(int64, optional, tag="216")] pub historical_quality_score: ::core::option::Option, - /// The historical search predicted click through rate (CTR). + /// The historical search predicted click through rate (CTR). #[prost(enumeration="super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="83")] pub historical_search_predicted_ctr: i32, - /// The number of times the ad was forwarded to someone else as a message. + /// The number of times the ad was forwarded to someone else as a message. #[prost(int64, optional, tag="217")] pub gmail_forwards: ::core::option::Option, - /// The number of times someone has saved your Gmail ad to their inbox as a - /// message. + /// The number of times someone has saved your Gmail ad to their inbox as a + /// message. #[prost(int64, optional, tag="218")] pub gmail_saves: ::core::option::Option, - /// The number of clicks to the landing page on the expanded state of Gmail - /// ads. + /// The number of clicks to the landing page on the expanded state of Gmail + /// ads. #[prost(int64, optional, tag="219")] pub gmail_secondary_clicks: ::core::option::Option, - /// The number of times a store's location-based ad was shown. - /// This metric applies to feed items only. + /// The number of times a store's location-based ad was shown. + /// This metric applies to feed items only. #[prost(int64, optional, tag="220")] pub impressions_from_store_reach: ::core::option::Option, - /// Count of how often your ad has appeared on a search results page or - /// website on the Google Network. + /// Count of how often your ad has appeared on a search results page or + /// website on the Google Network. #[prost(int64, optional, tag="221")] pub impressions: ::core::option::Option, - /// How often people interact with your ad after it is shown to them. - /// This is the number of interactions divided by the number of times your ad - /// is shown. + /// How often people interact with your ad after it is shown to them. + /// This is the number of interactions divided by the number of times your ad + /// is shown. #[prost(double, optional, tag="222")] pub interaction_rate: ::core::option::Option, - /// The number of interactions. - /// An interaction is the main user action associated with an ad format-clicks - /// for text and shopping ads, views for video ads, and so on. + /// The number of interactions. + /// An interaction is the main user action associated with an ad format-clicks + /// for text and shopping ads, views for video ads, and so on. #[prost(int64, optional, tag="223")] pub interactions: ::core::option::Option, - /// The types of payable and free interactions. + /// The types of payable and free interactions. #[prost(enumeration="super::enums::interaction_event_type_enum::InteractionEventType", repeated, tag="100")] pub interaction_event_types: ::prost::alloc::vec::Vec, - /// The percentage of clicks filtered out of your total number of clicks - /// (filtered + non-filtered clicks) during the reporting period. + /// The percentage of clicks filtered out of your total number of clicks + /// (filtered + non-filtered clicks) during the reporting period. #[prost(double, optional, tag="224")] pub invalid_click_rate: ::core::option::Option, - /// Number of clicks Google considers illegitimate and doesn't charge you for. + /// Number of clicks Google considers illegitimate and doesn't charge you for. #[prost(int64, optional, tag="225")] pub invalid_clicks: ::core::option::Option, - /// Number of message chats initiated for Click To Message impressions that - /// were message tracking eligible. + /// Number of message chats initiated for Click To Message impressions that + /// were message tracking eligible. #[prost(int64, optional, tag="226")] pub message_chats: ::core::option::Option, - /// Number of Click To Message impressions that were message tracking eligible. + /// Number of Click To Message impressions that were message tracking eligible. #[prost(int64, optional, tag="227")] pub message_impressions: ::core::option::Option, - /// Number of message chats initiated (message_chats) divided by the number - /// of message impressions (message_impressions). - /// Rate at which a user initiates a message chat from an ad impression with - /// a messaging option and message tracking enabled. - /// Note that this rate can be more than 1.0 for a given message impression. + /// Number of message chats initiated (message_chats) divided by the number + /// of message impressions (message_impressions). + /// Rate at which a user initiates a message chat from an ad impression with + /// a messaging option and message tracking enabled. + /// Note that this rate can be more than 1.0 for a given message impression. #[prost(double, optional, tag="228")] pub message_chat_rate: ::core::option::Option, - /// The percentage of mobile clicks that go to a mobile-friendly page. + /// The percentage of mobile clicks that go to a mobile-friendly page. #[prost(double, optional, tag="229")] pub mobile_friendly_clicks_percentage: ::core::option::Option, - /// Total optimization score uplift of all recommendations. + /// Total optimization score uplift of all recommendations. #[prost(double, optional, tag="247")] pub optimization_score_uplift: ::core::option::Option, - /// URL for the optimization score page in the Google Ads web interface. - /// This metric can be selected from `customer` or `campaign`, and can be - /// segmented by `segments.recommendation_type`. For example, `SELECT - /// metrics.optimization_score_url, segments.recommendation_type FROM - /// customer` will return a URL for each unique (customer, recommendation_type) - /// combination. + /// URL for the optimization score page in the Google Ads web interface. + /// This metric can be selected from `customer` or `campaign`, and can be + /// segmented by `segments.recommendation_type`. For example, `SELECT + /// metrics.optimization_score_url, segments.recommendation_type FROM + /// customer` will return a URL for each unique (customer, recommendation_type) + /// combination. #[prost(string, optional, tag="248")] pub optimization_score_url: ::core::option::Option<::prost::alloc::string::String>, - /// The number of times someone clicked your site's listing in the unpaid - /// results for a particular query. See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results for a particular query. See the help page at + /// for details. #[prost(int64, optional, tag="230")] pub organic_clicks: ::core::option::Option, - /// The number of times someone clicked your site's listing in the unpaid - /// results (organic_clicks) divided by the total number of searches that - /// returned pages from your site (organic_queries). See the help page at - /// for details. + /// The number of times someone clicked your site's listing in the unpaid + /// results (organic_clicks) divided by the total number of searches that + /// returned pages from your site (organic_queries). See the help page at + /// for details. #[prost(double, optional, tag="231")] pub organic_clicks_per_query: ::core::option::Option, - /// The number of listings for your site in the unpaid search results. See the - /// help page at for - /// details. + /// The number of listings for your site in the unpaid search results. See the + /// help page at for + /// details. #[prost(int64, optional, tag="232")] pub organic_impressions: ::core::option::Option, - /// The number of times a page from your site was listed in the unpaid search - /// results (organic_impressions) divided by the number of searches returning - /// your site's listing in the unpaid results (organic_queries). See the help - /// page at for details. + /// The number of times a page from your site was listed in the unpaid search + /// results (organic_impressions) divided by the number of searches returning + /// your site's listing in the unpaid results (organic_queries). See the help + /// page at for details. #[prost(double, optional, tag="233")] pub organic_impressions_per_query: ::core::option::Option, - /// The total number of searches that returned your site's listing in the - /// unpaid results. See the help page at - /// for details. + /// The total number of searches that returned your site's listing in the + /// unpaid results. See the help page at + /// for details. #[prost(int64, optional, tag="234")] pub organic_queries: ::core::option::Option, - /// Percentage of first-time sessions (from people who had never visited your - /// site before). Imported from Google Analytics. + /// Percentage of first-time sessions (from people who had never visited your + /// site before). Imported from Google Analytics. #[prost(double, optional, tag="235")] pub percent_new_visitors: ::core::option::Option, - /// Number of offline phone calls. + /// Number of offline phone calls. #[prost(int64, optional, tag="236")] pub phone_calls: ::core::option::Option, - /// Number of offline phone impressions. + /// Number of offline phone impressions. #[prost(int64, optional, tag="237")] pub phone_impressions: ::core::option::Option, - /// Number of phone calls received (phone_calls) divided by the number of - /// times your phone number is shown (phone_impressions). + /// Number of phone calls received (phone_calls) divided by the number of + /// times your phone number is shown (phone_impressions). #[prost(double, optional, tag="238")] pub phone_through_rate: ::core::option::Option, - /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of - /// all advertisers on the websites that show your ads. Measures how your ads - /// perform on Display Network sites compared to other ads on the same sites. + /// Your clickthrough rate (Ctr) divided by the average clickthrough rate of + /// all advertisers on the websites that show your ads. Measures how your ads + /// perform on Display Network sites compared to other ads on the same sites. #[prost(double, optional, tag="239")] pub relative_ctr: ::core::option::Option, - /// The percentage of the customer's Shopping or Search ad impressions that are - /// shown in the most prominent Shopping position. See - /// - /// for details. Any value below 0.1 is reported as 0.0999. + /// The percentage of the customer's Shopping or Search ad impressions that are + /// shown in the most prominent Shopping position. See + /// + /// for details. Any value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="136")] pub search_absolute_top_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to a low budget. Note: Search - /// budget lost absolute top impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to a low budget. Note: Search + /// budget lost absolute top impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="137")] pub search_budget_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percent of times that your ad was eligible to show on the - /// Search Network but didn't because your budget was too low. Note: Search - /// budget lost impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The estimated percent of times that your ad was eligible to show on the + /// Search Network but didn't because your budget was too low. Note: Search + /// budget lost impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="138")] pub search_budget_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to a low budget. Note: Search - /// budget lost top impression share is reported in the range of 0 to 0.9. Any - /// value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to a low budget. Note: Search + /// budget lost top impression share is reported in the range of 0 to 0.9. Any + /// value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="139")] pub search_budget_lost_top_impression_share: ::core::option::Option, - /// The number of clicks you've received on the Search Network - /// divided by the estimated number of clicks you were eligible to receive. - /// Note: Search click share is reported in the range of 0.1 to 1. Any value - /// below 0.1 is reported as 0.0999. + /// The number of clicks you've received on the Search Network + /// divided by the estimated number of clicks you were eligible to receive. + /// Note: Search click share is reported in the range of 0.1 to 1. Any value + /// below 0.1 is reported as 0.0999. #[prost(double, optional, tag="140")] pub search_click_share: ::core::option::Option, - /// The impressions you've received divided by the estimated number of - /// impressions you were eligible to receive on the Search Network for search - /// terms that matched your keywords exactly (or were close variants of your - /// keyword), regardless of your keyword match types. Note: Search exact match - /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 - /// is reported as 0.0999. + /// The impressions you've received divided by the estimated number of + /// impressions you were eligible to receive on the Search Network for search + /// terms that matched your keywords exactly (or were close variants of your + /// keyword), regardless of your keyword match types. Note: Search exact match + /// impression share is reported in the range of 0.1 to 1. Any value below 0.1 + /// is reported as 0.0999. #[prost(double, optional, tag="141")] pub search_exact_match_impression_share: ::core::option::Option, - /// The impressions you've received on the Search Network divided - /// by the estimated number of impressions you were eligible to receive. - /// Note: Search impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received on the Search Network divided + /// by the estimated number of impressions you were eligible to receive. + /// Note: Search impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="142")] pub search_impression_share: ::core::option::Option, - /// The number estimating how often your ad wasn't the very first ad above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost absolute top impression share is reported in the - /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad wasn't the very first ad above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost absolute top impression share is reported in the + /// range of 0 to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="143")] pub search_rank_lost_absolute_top_impression_share: ::core::option::Option, - /// The estimated percentage of impressions on the Search Network - /// that your ads didn't receive due to poor Ad Rank. - /// Note: Search rank lost impression share is reported in the range of 0 to - /// 0.9. Any value above 0.9 is reported as 0.9001. + /// The estimated percentage of impressions on the Search Network + /// that your ads didn't receive due to poor Ad Rank. + /// Note: Search rank lost impression share is reported in the range of 0 to + /// 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="144")] pub search_rank_lost_impression_share: ::core::option::Option, - /// The number estimating how often your ad didn't show anywhere above the - /// organic search results due to poor Ad Rank. - /// Note: Search rank lost top impression share is reported in the range of 0 - /// to 0.9. Any value above 0.9 is reported as 0.9001. + /// The number estimating how often your ad didn't show anywhere above the + /// organic search results due to poor Ad Rank. + /// Note: Search rank lost top impression share is reported in the range of 0 + /// to 0.9. Any value above 0.9 is reported as 0.9001. #[prost(double, optional, tag="145")] pub search_rank_lost_top_impression_share: ::core::option::Option, - /// The impressions you've received in the top location (anywhere above the - /// organic search results) compared to the estimated number of impressions you - /// were eligible to receive in the top location. - /// Note: Search top impression share is reported in the range of 0.1 to 1. Any - /// value below 0.1 is reported as 0.0999. + /// The impressions you've received in the top location (anywhere above the + /// organic search results) compared to the estimated number of impressions you + /// were eligible to receive in the top location. + /// Note: Search top impression share is reported in the range of 0.1 to 1. Any + /// value below 0.1 is reported as 0.0999. #[prost(double, optional, tag="146")] pub search_top_impression_share: ::core::option::Option, - /// A measure of how quickly your page loads after clicks on your mobile ads. - /// The score is a range from 1 to 10, 10 being the fastest. + /// A measure of how quickly your page loads after clicks on your mobile ads. + /// The score is a range from 1 to 10, 10 being the fastest. #[prost(int64, optional, tag="147")] pub speed_score: ::core::option::Option, - /// The percent of your ad impressions that are shown anywhere above the - /// organic search results. + /// The percent of your ad impressions that are shown anywhere above the + /// organic search results. #[prost(double, optional, tag="148")] pub top_impression_percentage: ::core::option::Option, - /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages - /// that reach a valid AMP page. + /// The percentage of ad clicks to Accelerated Mobile Pages (AMP) landing pages + /// that reach a valid AMP page. #[prost(double, optional, tag="149")] pub valid_accelerated_mobile_pages_clicks_percentage: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. + /// The value of all conversions divided by the number of all conversions. #[prost(double, optional, tag="150")] pub value_per_all_conversions: ::core::option::Option, - /// The value of all conversions divided by the number of all conversions. When - /// this column is selected with date, the values in date column means the - /// conversion date. Details for the by_conversion_date columns are available - /// at + /// The value of all conversions divided by the number of all conversions. When + /// this column is selected with date, the values in date column means the + /// conversion date. Details for the by_conversion_date columns are available + /// at #[prost(double, optional, tag="244")] pub value_per_all_conversions_by_conversion_date: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. #[prost(double, optional, tag="151")] pub value_per_conversion: ::core::option::Option, - /// The value of conversions divided by the number of conversions. This only - /// includes conversion actions which include_in_conversions_metric attribute - /// is set to true. If you use conversion-based bidding, your bid strategies - /// will optimize for these conversions. When this column is selected with - /// date, the values in date column means the conversion date. Details for the - /// by_conversion_date columns are available at - /// + /// The value of conversions divided by the number of conversions. This only + /// includes conversion actions which include_in_conversions_metric attribute + /// is set to true. If you use conversion-based bidding, your bid strategies + /// will optimize for these conversions. When this column is selected with + /// date, the values in date column means the conversion date. Details for the + /// by_conversion_date columns are available at + /// #[prost(double, optional, tag="245")] pub value_per_conversions_by_conversion_date: ::core::option::Option, - /// The value of current model attributed conversions divided by the number of - /// the conversions. This only includes conversion actions which - /// include_in_conversions_metric attribute is set to true. If you use - /// conversion-based bidding, your bid strategies will optimize for these - /// conversions. + /// The value of current model attributed conversions divided by the number of + /// the conversions. This only includes conversion actions which + /// include_in_conversions_metric attribute is set to true. If you use + /// conversion-based bidding, your bid strategies will optimize for these + /// conversions. #[prost(double, optional, tag="152")] pub value_per_current_model_attributed_conversion: ::core::option::Option, - /// Percentage of impressions where the viewer watched all of your video. + /// Percentage of impressions where the viewer watched all of your video. #[prost(double, optional, tag="132")] pub video_quartile_p100_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 25% of your video. + /// Percentage of impressions where the viewer watched 25% of your video. #[prost(double, optional, tag="133")] pub video_quartile_p25_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 50% of your video. + /// Percentage of impressions where the viewer watched 50% of your video. #[prost(double, optional, tag="134")] pub video_quartile_p50_rate: ::core::option::Option, - /// Percentage of impressions where the viewer watched 75% of your video. + /// Percentage of impressions where the viewer watched 75% of your video. #[prost(double, optional, tag="135")] pub video_quartile_p75_rate: ::core::option::Option, - /// The number of views your TrueView video ad receives divided by its number - /// of impressions, including thumbnail impressions for TrueView in-display - /// ads. + /// The number of views your TrueView video ad receives divided by its number + /// of impressions, including thumbnail impressions for TrueView in-display + /// ads. #[prost(double, optional, tag="153")] pub video_view_rate: ::core::option::Option, - /// The number of times your video ads were viewed. + /// The number of times your video ads were viewed. #[prost(int64, optional, tag="154")] pub video_views: ::core::option::Option, - /// The total number of view-through conversions. - /// These happen when a customer sees an image or rich media ad, then later - /// completes a conversion on your site without interacting with (e.g., - /// clicking on) another ad. + /// The total number of view-through conversions. + /// These happen when a customer sees an image or rich media ad, then later + /// completes a conversion on your site without interacting with (e.g., + /// clicking on) another ad. #[prost(int64, optional, tag="155")] pub view_through_conversions: ::core::option::Option, - /// The number of iOS Store Kit Ad Network conversions. + /// The number of iOS Store Kit Ad Network conversions. #[prost(int64, tag="246")] pub sk_ad_network_conversions: i64, } -// Proto file describing offline user data. +// Proto file describing offline user data. -/// Address identifier of offline data. +/// Address identifier of offline data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserAddressInfo { - /// First name of the user, which is hashed as SHA-256 after normalized - /// (Lowercase all characters; Remove any extra spaces before, after, and in - /// between). + /// First name of the user, which is hashed as SHA-256 after normalized + /// (Lowercase all characters; Remove any extra spaces before, after, and in + /// between). #[prost(string, optional, tag="7")] pub hashed_first_name: ::core::option::Option<::prost::alloc::string::String>, - /// Last name of the user, which is hashed as SHA-256 after normalized (lower - /// case only and no punctuation). + /// Last name of the user, which is hashed as SHA-256 after normalized (lower + /// case only and no punctuation). #[prost(string, optional, tag="8")] pub hashed_last_name: ::core::option::Option<::prost::alloc::string::String>, - /// City of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// City of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="9")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// State code of the address. Only accepted for Store Sales and - /// ConversionAdjustmentUploadService. + /// State code of the address. Only accepted for Store Sales and + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="10")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. + /// 2-letter country code in ISO-3166-1 alpha-2 of the user's address. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Postal code of the user's address. + /// Postal code of the user's address. #[prost(string, optional, tag="12")] pub postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// The street address of the user hashed using SHA-256 hash function after - /// normalization (lower case only). Only accepted for - /// ConversionAdjustmentUploadService. + /// The street address of the user hashed using SHA-256 hash function after + /// normalization (lower case only). Only accepted for + /// ConversionAdjustmentUploadService. #[prost(string, optional, tag="13")] pub hashed_street_address: ::core::option::Option<::prost::alloc::string::String>, } -/// User identifying information. +/// User identifying information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifier { - /// Source of the user identifier when the upload is from Store Sales, - /// ConversionUploadService, or ConversionAdjustmentUploadService. + /// Source of the user identifier when the upload is from Store Sales, + /// ConversionUploadService, or ConversionAdjustmentUploadService. #[prost(enumeration="super::enums::user_identifier_source_enum::UserIdentifierSource", tag="6")] pub user_identifier_source: i32, - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[prost(oneof="user_identifier::Identifier", tags="7, 8, 9, 10, 5")] pub identifier: ::core::option::Option, } /// Nested message and enum types in `UserIdentifier`. pub mod user_identifier { - /// Exactly one must be specified. For OfflineUserDataJobService, Customer - /// Match accepts hashed_email, hashed_phone_number, mobile_id, - /// third_party_user_id, and address_info; Store Sales accepts hashed_email, - /// hashed_phone_number, third_party_user_id, and address_info. - /// ConversionUploadService accepts hashed_email and hashed_phone_number. - /// ConversionAdjustmentUploadService accepts hashed_email, - /// hashed_phone_number, and address_info. + /// Exactly one must be specified. For OfflineUserDataJobService, Customer + /// Match accepts hashed_email, hashed_phone_number, mobile_id, + /// third_party_user_id, and address_info; Store Sales accepts hashed_email, + /// hashed_phone_number, third_party_user_id, and address_info. + /// ConversionUploadService accepts hashed_email and hashed_phone_number. + /// ConversionAdjustmentUploadService accepts hashed_email, + /// hashed_phone_number, and address_info. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Identifier { - /// Hashed email address using SHA-256 hash function after normalization. - /// Accepted for Customer Match, Store Sales, ConversionUploadService, and - /// ConversionAdjustmentUploadService. + /// Hashed email address using SHA-256 hash function after normalization. + /// Accepted for Customer Match, Store Sales, ConversionUploadService, and + /// ConversionAdjustmentUploadService. #[prost(string, tag="7")] HashedEmail(::prost::alloc::string::String), - /// Hashed phone number using SHA-256 hash function after normalization - /// (E164 standard). Accepted for Customer Match, Store Sales, - /// ConversionUploadService, and ConversionAdjustmentUploadService. + /// Hashed phone number using SHA-256 hash function after normalization + /// (E164 standard). Accepted for Customer Match, Store Sales, + /// ConversionUploadService, and ConversionAdjustmentUploadService. #[prost(string, tag="8")] HashedPhoneNumber(::prost::alloc::string::String), - /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. + /// Mobile device ID (advertising ID/IDFA). Accepted only for Customer Match. #[prost(string, tag="9")] MobileId(::prost::alloc::string::String), - /// Advertiser-assigned user ID for Customer Match upload, or - /// third-party-assigned user ID for Store Sales. Accepted only for Customer - /// Match and Store Sales. + /// Advertiser-assigned user ID for Customer Match upload, or + /// third-party-assigned user ID for Store Sales. Accepted only for Customer + /// Match and Store Sales. #[prost(string, tag="10")] ThirdPartyUserId(::prost::alloc::string::String), - /// Address information. Accepted only for Customer Match, Store Sales, and - /// ConversionAdjustmentUploadService. + /// Address information. Accepted only for Customer Match, Store Sales, and + /// ConversionAdjustmentUploadService. #[prost(message, tag="5")] AddressInfo(super::OfflineUserAddressInfo), } } -/// Attribute of the store sales transaction. +/// Attribute of the store sales transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransactionAttribute { - /// Timestamp when transaction occurred. Required. - /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" + /// Timestamp when transaction occurred. Required. + /// The format is "YYYY-MM-DD HH:MM:SS\[+/-HH:MM\]", where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30+03:00" #[prost(string, optional, tag="8")] pub transaction_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction amount in micros. Required. - /// Transaction amount in micros needs to be greater than 1000. - /// If item Attributes are provided, it represents the total value of the - /// items, after multiplying the unit price per item by the quantity provided - /// in the ItemAttributes. + /// Transaction amount in micros. Required. + /// Transaction amount in micros needs to be greater than 1000. + /// If item Attributes are provided, it represents the total value of the + /// items, after multiplying the unit price per item by the quantity provided + /// in the ItemAttributes. #[prost(double, optional, tag="9")] pub transaction_amount_micros: ::core::option::Option, - /// Transaction currency code. ISO 4217 three-letter code is used. Required. + /// Transaction currency code. ISO 4217 three-letter code is used. Required. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The resource name of conversion action to report conversions to. - /// Required. + /// The resource name of conversion action to report conversions to. + /// Required. #[prost(string, optional, tag="11")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Transaction order id. - /// Accessible only to customers on the allow-list. + /// Transaction order id. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="12")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Store attributes of the transaction. - /// Accessible only to customers on the allow-list. + /// Store attributes of the transaction. + /// Accessible only to customers on the allow-list. #[prost(message, optional, tag="6")] pub store_attribute: ::core::option::Option, - /// Value of the custom variable for each transaction. - /// Accessible only to customers on the allow-list. + /// Value of the custom variable for each transaction. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="13")] pub custom_value: ::core::option::Option<::prost::alloc::string::String>, - /// Item attributes of the transaction. + /// Item attributes of the transaction. #[prost(message, optional, tag="14")] pub item_attribute: ::core::option::Option, } -/// Store attributes of the transaction. +/// Store attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreAttribute { - /// Store code from - /// + /// Store code from + /// #[prost(string, optional, tag="2")] pub store_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Item attributes of the transaction. +/// Item attributes of the transaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ItemAttribute { - /// A unique identifier of a product. It can be either the Merchant Center Item - /// ID or GTIN (Global Trade Item Number). + /// A unique identifier of a product. It can be either the Merchant Center Item + /// ID or GTIN (Global Trade Item Number). #[prost(string, tag="1")] pub item_id: ::prost::alloc::string::String, - /// ID of the Merchant Center Account. + /// ID of the Merchant Center Account. #[prost(int64, optional, tag="2")] pub merchant_id: ::core::option::Option, - /// Common Locale Data Repository (CLDR) territory code of the country - /// associated with the feed where your items are uploaded. See - /// - /// for more information. + /// Common Locale Data Repository (CLDR) territory code of the country + /// associated with the feed where your items are uploaded. See + /// + /// for more information. #[prost(string, tag="3")] pub country_code: ::prost::alloc::string::String, - /// ISO 639-1 code of the language associated with the feed where your items - /// are uploaded + /// ISO 639-1 code of the language associated with the feed where your items + /// are uploaded #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// The number of items sold. Defaults to 1 if not set. + /// The number of items sold. Defaults to 1 if not set. #[prost(int64, tag="5")] pub quantity: i64, } -/// User data holding user identifiers and attributes. +/// User data holding user identifiers and attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserData { - /// User identification info. Required. + /// User identification info. Required. #[prost(message, repeated, tag="1")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// Additional transactions/attributes associated with the user. - /// Required when updating store sales data. + /// Additional transactions/attributes associated with the user. + /// Required when updating store sales data. #[prost(message, optional, tag="2")] pub transaction_attribute: ::core::option::Option, - /// Additional attributes associated with the user. Required when updating - /// customer match attributes. These have an expiration of 540 days. + /// Additional attributes associated with the user. Required when updating + /// customer match attributes. These have an expiration of 540 days. #[prost(message, optional, tag="3")] pub user_attribute: ::core::option::Option, } -/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job -/// type. +/// User attribute, can only be used with CUSTOMER_MATCH_WITH_ATTRIBUTES job +/// type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserAttribute { - /// Advertiser defined lifetime value for the user. + /// Advertiser defined lifetime value for the user. #[prost(int64, optional, tag="1")] pub lifetime_value_micros: ::core::option::Option, - /// Advertiser defined lifetime value bucket for the user. The valid range for - /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove - /// operation where 0 will also be accepted. + /// Advertiser defined lifetime value bucket for the user. The valid range for + /// a lifetime value bucket is from 1 (low) to 10 (high), except for remove + /// operation where 0 will also be accepted. #[prost(int32, optional, tag="2")] pub lifetime_value_bucket: ::core::option::Option, - /// Timestamp of the last purchase made by the user. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp of the last purchase made by the user. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="3")] pub last_purchase_date_time: ::prost::alloc::string::String, - /// Advertiser defined average number of purchases that are made by the user in - /// a 30 day period. + /// Advertiser defined average number of purchases that are made by the user in + /// a 30 day period. #[prost(int32, tag="4")] pub average_purchase_count: i32, - /// Advertiser defined average purchase value in micros for the user. + /// Advertiser defined average purchase value in micros for the user. #[prost(int64, tag="5")] pub average_purchase_value_micros: i64, - /// Timestamp when the user was acquired. - /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an - /// optional timezone offset from UTC. If the offset is absent, the API will - /// use the account's timezone as default. + /// Timestamp when the user was acquired. + /// The format is YYYY-MM-DD HH:MM:SS\[+/-HH:MM\], where \[+/-HH:MM\] is an + /// optional timezone offset from UTC. If the offset is absent, the API will + /// use the account's timezone as default. #[prost(string, tag="6")] pub acquisition_date_time: ::prost::alloc::string::String, - /// The shopping loyalty related data. Shopping utilizes this data to provide - /// users with a better experience. Accessible only to merchants on the - /// allow-list with users’ consent. + /// The shopping loyalty related data. Shopping utilizes this data to provide + /// users with a better experience. Accessible only to merchants on the + /// allow-list with users’ consent. #[prost(message, optional, tag="7")] pub shopping_loyalty: ::core::option::Option, } -/// The shopping loyalty related data. Shopping utilizes this data to provide -/// users with a better experience. -/// Accessible only to merchants on the allow-list. +/// The shopping loyalty related data. Shopping utilizes this data to provide +/// users with a better experience. +/// Accessible only to merchants on the allow-list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingLoyalty { - /// The membership tier. It is a free-form string as each merchant may have - /// their own loyalty system. For example, it could be a number from 1 to 10, - /// or a string such as "Golden" or "Silver", or even empty string "". + /// The membership tier. It is a free-form string as each merchant may have + /// their own loyalty system. For example, it could be a number from 1 to 10, + /// or a string such as "Golden" or "Silver", or even empty string "". #[prost(string, optional, tag="1")] pub loyalty_tier: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for customer match user list. +/// Metadata for customer match user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUserListMetadata { - /// The resource name of remarketing list to update data. - /// Required for job of CUSTOMER_MATCH_USER_LIST type. + /// The resource name of remarketing list to update data. + /// Required for job of CUSTOMER_MATCH_USER_LIST type. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// Metadata for Store Sales Direct. +/// Metadata for Store Sales Direct. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesMetadata { - /// This is the fraction of all transactions that are identifiable (i.e., - /// associated with any form of customer information). - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// This is the fraction of all transactions that are identifiable (i.e., + /// associated with any form of customer information). + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="5")] pub loyalty_fraction: ::core::option::Option, - /// This is the ratio of sales being uploaded compared to the overall sales - /// that can be associated with a customer. Required. - /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you - /// upload half the sales that you are able to associate with a customer, this - /// would be 0.5. + /// This is the ratio of sales being uploaded compared to the overall sales + /// that can be associated with a customer. Required. + /// The fraction needs to be between 0 and 1 (excluding 0). For example, if you + /// upload half the sales that you are able to associate with a customer, this + /// would be 0.5. #[prost(double, optional, tag="6")] pub transaction_upload_fraction: ::core::option::Option, - /// Name of the store sales custom variable key. A predefined key that - /// can be applied to the transaction and then later used for custom - /// segmentation in reporting. - /// Accessible only to customers on the allow-list. + /// Name of the store sales custom variable key. A predefined key that + /// can be applied to the transaction and then later used for custom + /// segmentation in reporting. + /// Accessible only to customers on the allow-list. #[prost(string, optional, tag="7")] pub custom_key: ::core::option::Option<::prost::alloc::string::String>, - /// Metadata for a third party Store Sales upload. + /// Metadata for a third party Store Sales upload. #[prost(message, optional, tag="3")] pub third_party_metadata: ::core::option::Option, } -/// Metadata for a third party Store Sales. -/// This product is only for customers on the allow-list. Please contact your -/// Google business development representative for details on the upload -/// configuration. +/// Metadata for a third party Store Sales. +/// This product is only for customers on the allow-list. Please contact your +/// Google business development representative for details on the upload +/// configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StoreSalesThirdPartyMetadata { - /// Time the advertiser uploaded the data to the partner. Required. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Time the advertiser uploaded the data to the partner. Required. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="7")] pub advertiser_upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The fraction of transactions that are valid. Invalid transactions may - /// include invalid formats or values. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of transactions that are valid. Invalid transactions may + /// include invalid formats or values. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="8")] pub valid_transaction_fraction: ::core::option::Option, - /// The fraction of valid transactions that are matched to a third party - /// assigned user ID on the partner side. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are matched to a third party + /// assigned user ID on the partner side. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="9")] pub partner_match_fraction: ::core::option::Option, - /// The fraction of valid transactions that are uploaded by the partner to - /// Google. - /// Required. - /// The fraction needs to be between 0 and 1 (excluding 0). + /// The fraction of valid transactions that are uploaded by the partner to + /// Google. + /// Required. + /// The fraction needs to be between 0 and 1 (excluding 0). #[prost(double, optional, tag="10")] pub partner_upload_fraction: ::core::option::Option, - /// Version of partner IDs to be used for uploads. Required. + /// Version of partner IDs to be used for uploads. Required. #[prost(string, optional, tag="11")] pub bridge_map_version_id: ::core::option::Option<::prost::alloc::string::String>, - /// ID of the third party partner updating the transaction feed. + /// ID of the third party partner updating the transaction feed. #[prost(int64, optional, tag="12")] pub partner_id: ::core::option::Option, } -// Proto file describing policy summary. +// Proto file describing policy summary. -/// Contains policy summary information. +/// Contains policy summary information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicySummary { - /// The list of policy findings. + /// The list of policy findings. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Where in the review process the resource is. + /// Where in the review process the resource is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// The overall approval status, which is calculated based on - /// the status of its individual policy topic entries. + /// The overall approval status, which is calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing RealTimeBiddingSetting +// Proto file describing RealTimeBiddingSetting -/// Settings for Real-Time Bidding, a feature only available for campaigns -/// targeting the Ad Exchange network. +/// Settings for Real-Time Bidding, a feature only available for campaigns +/// targeting the Ad Exchange network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealTimeBiddingSetting { - /// Whether the campaign is opted in to real-time bidding. + /// Whether the campaign is opted in to real-time bidding. #[prost(bool, optional, tag="2")] pub opt_in: ::core::option::Option, } -// Proto file describing segment only fields. +// Proto file describing segment only fields. -/// Segment only fields. +/// Segment only fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Segments { - /// Ad Destination type. + /// Ad Destination type. #[prost(enumeration="super::enums::ad_destination_type_enum::AdDestinationType", tag="136")] pub ad_destination_type: i32, - /// Ad network type. + /// Ad network type. #[prost(enumeration="super::enums::ad_network_type_enum::AdNetworkType", tag="3")] pub ad_network_type: i32, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(message, optional, tag="134")] pub budget_campaign_association_status: ::core::option::Option, - /// Click type. + /// Click type. #[prost(enumeration="super::enums::click_type_enum::ClickType", tag="26")] pub click_type: i32, - /// Resource name of the conversion action. + /// Resource name of the conversion action. #[prost(string, optional, tag="113")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// Conversion action category. + /// Conversion action category. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="53")] pub conversion_action_category: i32, - /// Conversion action name. + /// Conversion action name. #[prost(string, optional, tag="114")] pub conversion_action_name: ::core::option::Option<::prost::alloc::string::String>, - /// This segments your conversion columns by the original conversion and - /// conversion value vs. the delta if conversions were adjusted. False row has - /// the data as originally stated; While true row has the delta between data - /// now and the data as originally stated. Summing the two together results - /// post-adjustment data. + /// This segments your conversion columns by the original conversion and + /// conversion value vs. the delta if conversions were adjusted. False row has + /// the data as originally stated; While true row has the delta between data + /// now and the data as originally stated. Summing the two together results + /// post-adjustment data. #[prost(bool, optional, tag="115")] pub conversion_adjustment: ::core::option::Option, - /// Conversion attribution event type. + /// Conversion attribution event type. #[prost(enumeration="super::enums::conversion_attribution_event_type_enum::ConversionAttributionEventType", tag="2")] pub conversion_attribution_event_type: i32, - /// An enum value representing the number of days between the impression and - /// the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion. #[prost(enumeration="super::enums::conversion_lag_bucket_enum::ConversionLagBucket", tag="50")] pub conversion_lag_bucket: i32, - /// An enum value representing the number of days between the impression and - /// the conversion or between the impression and adjustments to the conversion. + /// An enum value representing the number of days between the impression and + /// the conversion or between the impression and adjustments to the conversion. #[prost(enumeration="super::enums::conversion_or_adjustment_lag_bucket_enum::ConversionOrAdjustmentLagBucket", tag="51")] pub conversion_or_adjustment_lag_bucket: i32, - /// Date to which metrics apply. - /// yyyy-MM-dd format, e.g., 2018-04-17. + /// Date to which metrics apply. + /// yyyy-MM-dd format, e.g., 2018-04-17. #[prost(string, optional, tag="79")] pub date: ::core::option::Option<::prost::alloc::string::String>, - /// Day of the week, e.g., MONDAY. + /// Day of the week, e.g., MONDAY. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="5")] pub day_of_week: i32, - /// Device to which metrics apply. + /// Device to which metrics apply. #[prost(enumeration="super::enums::device_enum::Device", tag="1")] pub device: i32, - /// External conversion source. + /// External conversion source. #[prost(enumeration="super::enums::external_conversion_source_enum::ExternalConversionSource", tag="55")] pub external_conversion_source: i32, - /// Resource name of the geo target constant that represents an airport. + /// Resource name of the geo target constant that represents an airport. #[prost(string, optional, tag="116")] pub geo_target_airport: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a canton. + /// Resource name of the geo target constant that represents a canton. #[prost(string, optional, tag="117")] pub geo_target_canton: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a city. + /// Resource name of the geo target constant that represents a city. #[prost(string, optional, tag="118")] pub geo_target_city: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a country. + /// Resource name of the geo target constant that represents a country. #[prost(string, optional, tag="119")] pub geo_target_country: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a county. + /// Resource name of the geo target constant that represents a county. #[prost(string, optional, tag="120")] pub geo_target_county: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a district. + /// Resource name of the geo target constant that represents a district. #[prost(string, optional, tag="121")] pub geo_target_district: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a metro. + /// Resource name of the geo target constant that represents a metro. #[prost(string, optional, tag="122")] pub geo_target_metro: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents the most - /// specific location. + /// Resource name of the geo target constant that represents the most + /// specific location. #[prost(string, optional, tag="123")] pub geo_target_most_specific_location: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a postal code. + /// Resource name of the geo target constant that represents a postal code. #[prost(string, optional, tag="124")] pub geo_target_postal_code: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a province. + /// Resource name of the geo target constant that represents a province. #[prost(string, optional, tag="125")] pub geo_target_province: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a region. + /// Resource name of the geo target constant that represents a region. #[prost(string, optional, tag="126")] pub geo_target_region: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the geo target constant that represents a state. + /// Resource name of the geo target constant that represents a state. #[prost(string, optional, tag="127")] pub geo_target_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel booking window in days. + /// Hotel booking window in days. #[prost(int64, optional, tag="135")] pub hotel_booking_window_days: ::core::option::Option, - /// Hotel center ID. + /// Hotel center ID. #[prost(int64, optional, tag="80")] pub hotel_center_id: ::core::option::Option, - /// Hotel check-in date. Formatted as yyyy-MM-dd. + /// Hotel check-in date. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="81")] pub hotel_check_in_date: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel check-in day of week. + /// Hotel check-in day of week. #[prost(enumeration="super::enums::day_of_week_enum::DayOfWeek", tag="9")] pub hotel_check_in_day_of_week: i32, - /// Hotel city. + /// Hotel city. #[prost(string, optional, tag="82")] pub hotel_city: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel class. + /// Hotel class. #[prost(int32, optional, tag="83")] pub hotel_class: ::core::option::Option, - /// Hotel country. + /// Hotel country. #[prost(string, optional, tag="84")] pub hotel_country: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel date selection type. + /// Hotel date selection type. #[prost(enumeration="super::enums::hotel_date_selection_type_enum::HotelDateSelectionType", tag="13")] pub hotel_date_selection_type: i32, - /// Hotel length of stay. + /// Hotel length of stay. #[prost(int32, optional, tag="85")] pub hotel_length_of_stay: ::core::option::Option, - /// Hotel rate rule ID. + /// Hotel rate rule ID. #[prost(string, optional, tag="86")] pub hotel_rate_rule_id: ::core::option::Option<::prost::alloc::string::String>, - /// Hotel rate type. + /// Hotel rate type. #[prost(enumeration="super::enums::hotel_rate_type_enum::HotelRateType", tag="74")] pub hotel_rate_type: i32, - /// Hotel price bucket. + /// Hotel price bucket. #[prost(enumeration="super::enums::hotel_price_bucket_enum::HotelPriceBucket", tag="78")] pub hotel_price_bucket: i32, - /// Hotel state. + /// Hotel state. #[prost(string, optional, tag="87")] pub hotel_state: ::core::option::Option<::prost::alloc::string::String>, - /// Hour of day as a number between 0 and 23, inclusive. + /// Hour of day as a number between 0 and 23, inclusive. #[prost(int32, optional, tag="88")] pub hour: ::core::option::Option, - /// Only used with feed item metrics. - /// Indicates whether the interaction metrics occurred on the feed item itself - /// or a different extension or ad unit. + /// Only used with feed item metrics. + /// Indicates whether the interaction metrics occurred on the feed item itself + /// or a different extension or ad unit. #[prost(bool, optional, tag="89")] pub interaction_on_this_extension: ::core::option::Option, - /// Keyword criterion. + /// Keyword criterion. #[prost(message, optional, tag="61")] pub keyword: ::core::option::Option, - /// Month as represented by the date of the first day of a month. Formatted as - /// yyyy-MM-dd. + /// Month as represented by the date of the first day of a month. Formatted as + /// yyyy-MM-dd. #[prost(string, optional, tag="90")] pub month: ::core::option::Option<::prost::alloc::string::String>, - /// Month of the year, e.g., January. + /// Month of the year, e.g., January. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="18")] pub month_of_year: i32, - /// Partner hotel ID. + /// Partner hotel ID. #[prost(string, optional, tag="91")] pub partner_hotel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Placeholder type. This is only used with feed item metrics. + /// Placeholder type. This is only used with feed item metrics. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="20")] pub placeholder_type: i32, - /// Aggregator ID of the product. + /// Aggregator ID of the product. #[prost(int64, optional, tag="132")] pub product_aggregator_id: ::core::option::Option, - /// Bidding category (level 1) of the product. + /// Bidding category (level 1) of the product. #[prost(string, optional, tag="92")] pub product_bidding_category_level1: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 2) of the product. + /// Bidding category (level 2) of the product. #[prost(string, optional, tag="93")] pub product_bidding_category_level2: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 3) of the product. + /// Bidding category (level 3) of the product. #[prost(string, optional, tag="94")] pub product_bidding_category_level3: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 4) of the product. + /// Bidding category (level 4) of the product. #[prost(string, optional, tag="95")] pub product_bidding_category_level4: ::core::option::Option<::prost::alloc::string::String>, - /// Bidding category (level 5) of the product. + /// Bidding category (level 5) of the product. #[prost(string, optional, tag="96")] pub product_bidding_category_level5: ::core::option::Option<::prost::alloc::string::String>, - /// Brand of the product. + /// Brand of the product. #[prost(string, optional, tag="97")] pub product_brand: ::core::option::Option<::prost::alloc::string::String>, - /// Channel of the product. + /// Channel of the product. #[prost(enumeration="super::enums::product_channel_enum::ProductChannel", tag="30")] pub product_channel: i32, - /// Channel exclusivity of the product. + /// Channel exclusivity of the product. #[prost(enumeration="super::enums::product_channel_exclusivity_enum::ProductChannelExclusivity", tag="31")] pub product_channel_exclusivity: i32, - /// Condition of the product. + /// Condition of the product. #[prost(enumeration="super::enums::product_condition_enum::ProductCondition", tag="32")] pub product_condition: i32, - /// Resource name of the geo target constant for the country of sale of the - /// product. + /// Resource name of the geo target constant for the country of sale of the + /// product. #[prost(string, optional, tag="98")] pub product_country: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 0 of the product. + /// Custom attribute 0 of the product. #[prost(string, optional, tag="99")] pub product_custom_attribute0: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 1 of the product. + /// Custom attribute 1 of the product. #[prost(string, optional, tag="100")] pub product_custom_attribute1: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 2 of the product. + /// Custom attribute 2 of the product. #[prost(string, optional, tag="101")] pub product_custom_attribute2: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 3 of the product. + /// Custom attribute 3 of the product. #[prost(string, optional, tag="102")] pub product_custom_attribute3: ::core::option::Option<::prost::alloc::string::String>, - /// Custom attribute 4 of the product. + /// Custom attribute 4 of the product. #[prost(string, optional, tag="103")] pub product_custom_attribute4: ::core::option::Option<::prost::alloc::string::String>, - /// Item ID of the product. + /// Item ID of the product. #[prost(string, optional, tag="104")] pub product_item_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the language constant for the language of the product. + /// Resource name of the language constant for the language of the product. #[prost(string, optional, tag="105")] pub product_language: ::core::option::Option<::prost::alloc::string::String>, - /// Merchant ID of the product. + /// Merchant ID of the product. #[prost(int64, optional, tag="133")] pub product_merchant_id: ::core::option::Option, - /// Store ID of the product. + /// Store ID of the product. #[prost(string, optional, tag="106")] pub product_store_id: ::core::option::Option<::prost::alloc::string::String>, - /// Title of the product. + /// Title of the product. #[prost(string, optional, tag="107")] pub product_title: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 1) of the product. + /// Type (level 1) of the product. #[prost(string, optional, tag="108")] pub product_type_l1: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 2) of the product. + /// Type (level 2) of the product. #[prost(string, optional, tag="109")] pub product_type_l2: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 3) of the product. + /// Type (level 3) of the product. #[prost(string, optional, tag="110")] pub product_type_l3: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 4) of the product. + /// Type (level 4) of the product. #[prost(string, optional, tag="111")] pub product_type_l4: ::core::option::Option<::prost::alloc::string::String>, - /// Type (level 5) of the product. + /// Type (level 5) of the product. #[prost(string, optional, tag="112")] pub product_type_l5: ::core::option::Option<::prost::alloc::string::String>, - /// Quarter as represented by the date of the first day of a quarter. - /// Uses the calendar year for quarters, e.g., the second quarter of 2018 - /// starts on 2018-04-01. Formatted as yyyy-MM-dd. + /// Quarter as represented by the date of the first day of a quarter. + /// Uses the calendar year for quarters, e.g., the second quarter of 2018 + /// starts on 2018-04-01. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="128")] pub quarter: ::core::option::Option<::prost::alloc::string::String>, - /// Recommendation type. + /// Recommendation type. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="140")] pub recommendation_type: i32, - /// Type of the search engine results page. + /// Type of the search engine results page. #[prost(enumeration="super::enums::search_engine_results_page_type_enum::SearchEngineResultsPageType", tag="70")] pub search_engine_results_page_type: i32, - /// Match type of the keyword that triggered the ad, including variants. + /// Match type of the keyword that triggered the ad, including variants. #[prost(enumeration="super::enums::search_term_match_type_enum::SearchTermMatchType", tag="22")] pub search_term_match_type: i32, - /// Position of the ad. + /// Position of the ad. #[prost(enumeration="super::enums::slot_enum::Slot", tag="23")] pub slot: i32, - /// Primary dimension of applied conversion value rules. - /// NO_RULE_APPLIED shows the total recorded value of conversions that - /// do not have a value rule applied. - /// ORIGINAL shows the original value of conversions to which a value rule - /// has been applied. - /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value - /// rules were applied. + /// Primary dimension of applied conversion value rules. + /// NO_RULE_APPLIED shows the total recorded value of conversions that + /// do not have a value rule applied. + /// ORIGINAL shows the original value of conversions to which a value rule + /// has been applied. + /// GEO_LOCATION, DEVICE, AUDIENCE show the net adjustment after value + /// rules were applied. #[prost(enumeration="super::enums::conversion_value_rule_primary_dimension_enum::ConversionValueRulePrimaryDimension", tag="138")] pub conversion_value_rule_primary_dimension: i32, - /// Resource name of the ad group criterion that represents webpage criterion. + /// Resource name of the ad group criterion that represents webpage criterion. #[prost(string, optional, tag="129")] pub webpage: ::core::option::Option<::prost::alloc::string::String>, - /// Week as defined as Monday through Sunday, and represented by the date of - /// Monday. Formatted as yyyy-MM-dd. + /// Week as defined as Monday through Sunday, and represented by the date of + /// Monday. Formatted as yyyy-MM-dd. #[prost(string, optional, tag="130")] pub week: ::core::option::Option<::prost::alloc::string::String>, - /// Year, formatted as yyyy. + /// Year, formatted as yyyy. #[prost(int32, optional, tag="131")] pub year: ::core::option::Option, - /// iOS Store Kit Ad Network conversion value. - /// Null value means this segment is not applicable, e.g. non-iOS campaign. + /// iOS Store Kit Ad Network conversion value. + /// Null value means this segment is not applicable, e.g. non-iOS campaign. #[prost(int64, optional, tag="137")] pub sk_ad_network_conversion_value: ::core::option::Option, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself - /// or a different asset or ad unit. - /// Interactions (e.g. clicks) are counted across all the parts of the served - /// ad (e.g. Ad itself and other components like Sitelinks) when they are - /// served together. When interaction_on_this_asset is true, it means the - /// interactions are on this specific asset and when interaction_on_this_asset - /// is false, it means the interactions is not on this specific asset but on - /// other parts of the served ad this asset is served with. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself + /// or a different asset or ad unit. + /// Interactions (e.g. clicks) are counted across all the parts of the served + /// ad (e.g. Ad itself and other components like Sitelinks) when they are + /// served together. When interaction_on_this_asset is true, it means the + /// interactions are on this specific asset and when interaction_on_this_asset + /// is false, it means the interactions is not on this specific asset but on + /// other parts of the served ad this asset is served with. #[prost(message, optional, tag="139")] pub asset_interaction_target: ::core::option::Option, } -/// A Keyword criterion segment. +/// A Keyword criterion segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Keyword { - /// The AdGroupCriterion resource name. + /// The AdGroupCriterion resource name. #[prost(string, optional, tag="3")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Keyword info. + /// Keyword info. #[prost(message, optional, tag="2")] pub info: ::core::option::Option, } -/// A BudgetCampaignAssociationStatus segment. +/// A BudgetCampaignAssociationStatus segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatus { - /// The campaign resource name. + /// The campaign resource name. #[prost(string, optional, tag="1")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Budget campaign association status. + /// Budget campaign association status. #[prost(enumeration="super::enums::budget_campaign_association_status_enum::BudgetCampaignAssociationStatus", tag="2")] pub status: i32, } -/// An AssetInteractionTarget segment. +/// An AssetInteractionTarget segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetInteractionTarget { - /// The asset resource name. + /// The asset resource name. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. - /// Indicates whether the interaction metrics occurred on the asset itself or a - /// different asset or ad unit. + /// Only used with CustomerAsset, CampaignAsset and AdGroupAsset metrics. + /// Indicates whether the interaction metrics occurred on the asset itself or a + /// different asset or ad unit. #[prost(bool, tag="2")] pub interaction_on_this_asset: bool, } -// Proto file describing simulation points. +// Proto file describing simulation points. -/// A container for simulation points for simulations of type BID_MODIFIER. +/// A container for simulation points for simulations of type BID_MODIFIER. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPointList { - /// Projected metrics for a series of bid modifier amounts. + /// Projected metrics for a series of bid modifier amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPC_BID. +/// A container for simulation points for simulations of type CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPointList { - /// Projected metrics for a series of CPC bid amounts. + /// Projected metrics for a series of CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type CPV_BID. +/// A container for simulation points for simulations of type CPV_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPointList { - /// Projected metrics for a series of CPV bid amounts. + /// Projected metrics for a series of CPV bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_CPA. +/// A container for simulation points for simulations of type TARGET_CPA. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPointList { - /// Projected metrics for a series of target CPA amounts. + /// Projected metrics for a series of target CPA amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type TARGET_ROAS. +/// A container for simulation points for simulations of type TARGET_ROAS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPointList { - /// Projected metrics for a series of target ROAS amounts. + /// Projected metrics for a series of target ROAS amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type PERCENT_CPC_BID. +/// A container for simulation points for simulations of type PERCENT_CPC_BID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPointList { - /// Projected metrics for a series of percent CPC bid amounts. + /// Projected metrics for a series of percent CPC bid amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type BUDGET. +/// A container for simulation points for simulations of type BUDGET. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPointList { - /// Projected metrics for a series of budget amounts. + /// Projected metrics for a series of budget amounts. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// A container for simulation points for simulations of type -/// TARGET_IMPRESSION_SHARE. +/// A container for simulation points for simulations of type +/// TARGET_IMPRESSION_SHARE. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPointList { - /// Projected metrics for a specific target impression share value. + /// Projected metrics for a specific target impression share value. #[prost(message, repeated, tag="1")] pub points: ::prost::alloc::vec::Vec, } -/// Projected metrics for a specific bid modifier amount. +/// Projected metrics for a specific bid modifier amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSimulationPoint { - /// The simulated bid modifier upon which projected metrics are based. + /// The simulated bid modifier upon which projected metrics are based. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Projected number of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="16")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="17")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="18")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="19")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="20")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="21")] pub top_slot_impressions: ::core::option::Option, - /// Projected number of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="22")] pub parent_biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected total value of biddable conversions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(double, optional, tag="23")] pub parent_biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks for the parent resource. + /// Projected number of clicks for the parent resource. #[prost(int64, optional, tag="24")] pub parent_clicks: ::core::option::Option, - /// Projected cost in micros for the parent resource. + /// Projected cost in micros for the parent resource. #[prost(int64, optional, tag="25")] pub parent_cost_micros: ::core::option::Option, - /// Projected number of impressions for the parent resource. + /// Projected number of impressions for the parent resource. #[prost(int64, optional, tag="26")] pub parent_impressions: ::core::option::Option, - /// Projected number of top slot impressions for the parent resource. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions for the parent resource. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="27")] pub parent_top_slot_impressions: ::core::option::Option, - /// Projected minimum daily budget that must be available to the parent - /// resource to realize this simulation. + /// Projected minimum daily budget that must be available to the parent + /// resource to realize this simulation. #[prost(int64, optional, tag="28")] pub parent_required_budget_micros: ::core::option::Option, } -/// Projected metrics for a specific CPC bid amount. +/// Projected metrics for a specific CPC bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpcBidSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="17")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[prost(oneof="cpc_bid_simulation_point::CpcSimulationKeyValue", tags="15, 16")] pub cpc_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `CpcBidSimulationPoint`. pub mod cpc_bid_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// cpc_bid_micros is set. - /// When SimulationModificationMethod = SCALING, - /// cpc_bid_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// cpc_bid_micros is set. + /// When SimulationModificationMethod = SCALING, + /// cpc_bid_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CpcSimulationKeyValue { - /// The simulated CPC bid upon which projected metrics are based. + /// The simulated CPC bid upon which projected metrics are based. #[prost(int64, tag="15")] CpcBidMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPC bids relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPC bids relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="16")] CpcBidScalingModifier(f64), } } -/// Projected metrics for a specific CPV bid amount. +/// Projected metrics for a specific CPV bid amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpvBidSimulationPoint { - /// The simulated CPV bid upon which projected metrics are based. + /// The simulated CPV bid upon which projected metrics are based. #[prost(int64, optional, tag="5")] pub cpv_bid_micros: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="6")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="7")] pub impressions: ::core::option::Option, - /// Projected number of views. + /// Projected number of views. #[prost(int64, optional, tag="8")] pub views: ::core::option::Option, } -/// Projected metrics for a specific target CPA amount. +/// Projected metrics for a specific target CPA amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaSimulationPoint { - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="19")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of app installs. + /// Projected number of app installs. #[prost(double, tag="15")] pub app_installs: f64, - /// Projected number of in-app actions. + /// Projected number of in-app actions. #[prost(double, tag="16")] pub in_app_actions: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[prost(oneof="target_cpa_simulation_point::TargetCpaSimulationKeyValue", tags="17, 18")] pub target_cpa_simulation_key_value: ::core::option::Option, } /// Nested message and enum types in `TargetCpaSimulationPoint`. pub mod target_cpa_simulation_point { - /// When SimulationModificationMethod = UNIFORM or DEFAULT, - /// target_cpa_micros is set. - /// When SimulationModificationMethod = SCALING, - /// target_cpa_scaling_modifier is set. + /// When SimulationModificationMethod = UNIFORM or DEFAULT, + /// target_cpa_micros is set. + /// When SimulationModificationMethod = SCALING, + /// target_cpa_scaling_modifier is set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetCpaSimulationKeyValue { - /// The simulated target CPA upon which projected metrics are based. + /// The simulated target CPA upon which projected metrics are based. #[prost(int64, tag="17")] TargetCpaMicros(i64), - /// The simulated scaling modifier upon which projected metrics are based. - /// All CPA targets relevant to the simulated entity are scaled by this - /// modifier. + /// The simulated scaling modifier upon which projected metrics are based. + /// All CPA targets relevant to the simulated entity are scaled by this + /// modifier. #[prost(double, tag="18")] TargetCpaScalingModifier(f64), } } -/// Projected metrics for a specific target ROAS amount. +/// Projected metrics for a specific target ROAS amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasSimulationPoint { - /// The simulated target ROAS upon which projected metrics are based. + /// The simulated target ROAS upon which projected metrics are based. #[prost(double, optional, tag="8")] pub target_roas: ::core::option::Option, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="15")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="9")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, optional, tag="10")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="11")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="12")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="13")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. - /// Only Search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only Search advertising channel type supports this field. #[prost(int64, optional, tag="14")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific percent CPC amount. Only Hotel advertising -/// channel type supports this field. +/// Projected metrics for a specific percent CPC amount. Only Hotel advertising +/// channel type supports this field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentCpcBidSimulationPoint { - /// The simulated percent CPC upon which projected metrics are based. Percent - /// CPC expressed as fraction of the advertised price for some good or service. - /// The value stored here is 1,000,000 * \[fraction\]. + /// The simulated percent CPC upon which projected metrics are based. Percent + /// CPC expressed as fraction of the advertised price for some good or service. + /// The value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="1")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, optional, tag="2")] pub biddable_conversions: ::core::option::Option, - /// Projected total value of biddable conversions in local currency. + /// Projected total value of biddable conversions in local currency. #[prost(double, optional, tag="3")] pub biddable_conversions_value: ::core::option::Option, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, optional, tag="4")] pub clicks: ::core::option::Option, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, optional, tag="5")] pub cost_micros: ::core::option::Option, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, optional, tag="6")] pub impressions: ::core::option::Option, - /// Projected number of top slot impressions. + /// Projected number of top slot impressions. #[prost(int64, optional, tag="7")] pub top_slot_impressions: ::core::option::Option, } -/// Projected metrics for a specific budget amount. +/// Projected metrics for a specific budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetSimulationPoint { - /// The simulated budget upon which projected metrics are based. + /// The simulated budget upon which projected metrics are based. #[prost(int64, tag="1")] pub budget_amount_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. - /// Only campaigns with the Target Spend bidding strategy support this field. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. + /// Only campaigns with the Target Spend bidding strategy support this field. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="3")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="5")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="6")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="7")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="8")] pub top_slot_impressions: i64, } -/// Projected metrics for a specific target impression share value. +/// Projected metrics for a specific target impression share value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareSimulationPoint { - /// The simulated target impression share value (in micros) upon which - /// projected metrics are based. - /// E.g. 10% impression share, which is equal to 0.1, is stored as 100_000. - /// This value is validated and will not exceed 1M (100%). + /// The simulated target impression share value (in micros) upon which + /// projected metrics are based. + /// E.g. 10% impression share, which is equal to 0.1, is stored as 100_000. + /// This value is validated and will not exceed 1M (100%). #[prost(int64, tag="1")] pub target_impression_share_micros: i64, - /// Projected required daily cpc bid ceiling that the advertiser must set to - /// realize this simulation, in micros of the advertiser currency. + /// Projected required daily cpc bid ceiling that the advertiser must set to + /// realize this simulation, in micros of the advertiser currency. #[prost(int64, tag="2")] pub required_cpc_bid_ceiling_micros: i64, - /// Projected required daily budget that the advertiser must set in order to - /// receive the estimated traffic, in micros of advertiser currency. + /// Projected required daily budget that the advertiser must set in order to + /// receive the estimated traffic, in micros of advertiser currency. #[prost(int64, tag="3")] pub required_budget_amount_micros: i64, - /// Projected number of biddable conversions. + /// Projected number of biddable conversions. #[prost(double, tag="4")] pub biddable_conversions: f64, - /// Projected total value of biddable conversions. + /// Projected total value of biddable conversions. #[prost(double, tag="5")] pub biddable_conversions_value: f64, - /// Projected number of clicks. + /// Projected number of clicks. #[prost(int64, tag="6")] pub clicks: i64, - /// Projected cost in micros. + /// Projected cost in micros. #[prost(int64, tag="7")] pub cost_micros: i64, - /// Projected number of impressions. + /// Projected number of impressions. #[prost(int64, tag="8")] pub impressions: i64, - /// Projected number of top slot impressions. - /// Only search advertising channel type supports this field. + /// Projected number of top slot impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="9")] pub top_slot_impressions: i64, - /// Projected number of absolute top impressions. - /// Only search advertising channel type supports this field. + /// Projected number of absolute top impressions. + /// Only search advertising channel type supports this field. #[prost(int64, tag="10")] pub absolute_top_impressions: i64, } -// Proto file describing TagSnippet +// Proto file describing TagSnippet -/// The site tag and event snippet pair for a TrackingCodeType. +/// The site tag and event snippet pair for a TrackingCodeType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagSnippet { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[prost(enumeration="super::enums::tracking_code_type_enum::TrackingCodeType", tag="1")] pub r#type: i32, - /// The format of the web page where the tracking tag and snippet will be - /// installed, e.g. HTML. + /// The format of the web page where the tracking tag and snippet will be + /// installed, e.g. HTML. #[prost(enumeration="super::enums::tracking_code_page_format_enum::TrackingCodePageFormat", tag="2")] pub page_format: i32, - /// The site tag that adds visitors to your basic remarketing lists and sets - /// new cookies on your domain. + /// The site tag that adds visitors to your basic remarketing lists and sets + /// new cookies on your domain. #[prost(string, optional, tag="5")] pub global_site_tag: ::core::option::Option<::prost::alloc::string::String>, - /// The event snippet that works with the site tag to track actions that - /// should be counted as conversions. + /// The event snippet that works with the site tag to track actions that + /// should be counted as conversions. #[prost(string, optional, tag="6")] pub event_snippet: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing TargetingSetting +// Proto file describing TargetingSetting -/// Settings for the targeting-related features, at the campaign and ad group -/// levels. For more details about the targeting setting, visit -/// +/// Settings for the targeting-related features, at the campaign and ad group +/// levels. For more details about the targeting setting, visit +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingSetting { - /// The per-targeting-dimension setting to restrict the reach of your campaign - /// or ad group. + /// The per-targeting-dimension setting to restrict the reach of your campaign + /// or ad group. #[prost(message, repeated, tag="1")] pub target_restrictions: ::prost::alloc::vec::Vec, - /// The list of operations changing the target restrictions. + /// The list of operations changing the target restrictions. /// - /// Adding a target restriction with a targeting dimension that already exists - /// causes the existing target restriction to be replaced with the new value. + /// Adding a target restriction with a targeting dimension that already exists + /// causes the existing target restriction to be replaced with the new value. #[prost(message, repeated, tag="2")] pub target_restriction_operations: ::prost::alloc::vec::Vec, } -/// The list of per-targeting-dimension targeting settings. +/// The list of per-targeting-dimension targeting settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestriction { - /// The targeting dimension that these settings apply to. + /// The targeting dimension that these settings apply to. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="1")] pub targeting_dimension: i32, - /// Indicates whether to restrict your ads to show only for the criteria you - /// have selected for this targeting_dimension, or to target all values for - /// this targeting_dimension and show ads based on your targeting in other - /// TargetingDimensions. A value of `true` means that these criteria will only - /// apply bid modifiers, and not affect targeting. A value of `false` means - /// that these criteria will restrict targeting as well as applying bid - /// modifiers. + /// Indicates whether to restrict your ads to show only for the criteria you + /// have selected for this targeting_dimension, or to target all values for + /// this targeting_dimension and show ads based on your targeting in other + /// TargetingDimensions. A value of `true` means that these criteria will only + /// apply bid modifiers, and not affect targeting. A value of `false` means + /// that these criteria will restrict targeting as well as applying bid + /// modifiers. #[prost(bool, optional, tag="3")] pub bid_only: ::core::option::Option, } -/// Operation to be performed on a target restriction list in a mutate. +/// Operation to be performed on a target restriction list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRestrictionOperation { - /// Type of list operation to perform. + /// Type of list operation to perform. #[prost(enumeration="target_restriction_operation::Operator", tag="1")] pub operator: i32, - /// The target restriction being added to or removed from the list. + /// The target restriction being added to or removed from the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `TargetRestrictionOperation`. pub mod target_restriction_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the restriction to the existing restrictions. + /// Add the restriction to the existing restrictions. Add = 2, - /// Remove the restriction from the existing restrictions. + /// Remove the restriction from the existing restrictions. Remove = 3, } impl Operator { @@ -4873,356 +4873,356 @@ pub mod target_restriction_operation { } } } -/// A type of label displaying text on a colored background. +/// A type of label displaying text on a colored background. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextLabel { - /// Background color of the label in RGB format. This string must match the - /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. - /// Note: The background color may not be visible for manager accounts. + /// Background color of the label in RGB format. This string must match the + /// regular expression '^\#(\[a-fA-F0-9]{6}|[a-fA-F0-9\]{3})$'. + /// Note: The background color may not be visible for manager accounts. #[prost(string, optional, tag="3")] pub background_color: ::core::option::Option<::prost::alloc::string::String>, - /// A short description of the label. The length must be no more than 200 - /// characters. + /// A short description of the label. The length must be no more than 200 + /// characters. #[prost(string, optional, tag="4")] pub description: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file UrlCollection type. +// Proto file UrlCollection type. -/// Collection of urls that is tagged with a unique identifier. +/// Collection of urls that is tagged with a unique identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlCollection { - /// Unique identifier for this UrlCollection instance. + /// Unique identifier for this UrlCollection instance. #[prost(string, optional, tag="5")] pub url_collection_id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of possible final URLs. + /// A list of possible final URLs. #[prost(string, repeated, tag="6")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs. + /// A list of possible final mobile URLs. #[prost(string, repeated, tag="7")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="8")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing user list types. +// Proto file describing user list types. -/// SimilarUserList is a list of users which are similar to users from another -/// UserList. These lists are read-only and automatically created by Google. +/// SimilarUserList is a list of users which are similar to users from another +/// UserList. These lists are read-only and automatically created by Google. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimilarUserListInfo { - /// Seed UserList from which this list is derived. + /// Seed UserList from which this list is derived. #[prost(string, optional, tag="2")] pub seed_user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// UserList of CRM users provided by the advertiser. +/// UserList of CRM users provided by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrmBasedUserListInfo { - /// A string that uniquely identifies a mobile application from which the data - /// was collected. - /// For iOS, the ID string is the 9 digit string that appears at the end of an - /// App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is - /// ). - /// For Android, the ID string is the application's package name - /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link - /// ). - /// Required when creating CrmBasedUserList for uploading mobile advertising - /// IDs. + /// A string that uniquely identifies a mobile application from which the data + /// was collected. + /// For iOS, the ID string is the 9 digit string that appears at the end of an + /// App Store URL (e.g., "476943146" for "Flood-It! 2" whose App Store link is + /// ). + /// For Android, the ID string is the application's package name + /// (e.g., "com.labpixies.colordrips" for "Color Drips" given Google Play link + /// ). + /// Required when creating CrmBasedUserList for uploading mobile advertising + /// IDs. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Matching key type of the list. - /// Mixed data types are not allowed on the same list. - /// This field is required for an ADD operation. + /// Matching key type of the list. + /// Mixed data types are not allowed on the same list. + /// This field is required for an ADD operation. #[prost(enumeration="super::enums::customer_match_upload_key_type_enum::CustomerMatchUploadKeyType", tag="2")] pub upload_key_type: i32, - /// Data source of the list. Default value is FIRST_PARTY. - /// Only customers on the allow-list can create third-party sourced CRM lists. + /// Data source of the list. Default value is FIRST_PARTY. + /// Only customers on the allow-list can create third-party sourced CRM lists. #[prost(enumeration="super::enums::user_list_crm_data_source_type_enum::UserListCrmDataSourceType", tag="3")] pub data_source_type: i32, } -/// A client defined rule based on custom parameters sent by web sites or -/// uploaded by the advertiser. +/// A client defined rule based on custom parameters sent by web sites or +/// uploaded by the advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleInfo { - /// Rule type is used to determine how to group rule items. + /// Rule type is used to determine how to group rule items. /// - /// The default is OR of ANDs (disjunctive normal form). - /// That is, rule items will be ANDed together within rule item groups and the - /// groups themselves will be ORed together. + /// The default is OR of ANDs (disjunctive normal form). + /// That is, rule items will be ANDed together within rule item groups and the + /// groups themselves will be ORed together. /// - /// Currently AND of ORs (conjunctive normal form) is only supported for - /// ExpressionRuleUserList. + /// Currently AND of ORs (conjunctive normal form) is only supported for + /// ExpressionRuleUserList. #[prost(enumeration="super::enums::user_list_rule_type_enum::UserListRuleType", tag="1")] pub rule_type: i32, - /// List of rule item groups that defines this rule. - /// Rule item groups are grouped together based on rule_type. + /// List of rule item groups that defines this rule. + /// Rule item groups are grouped together based on rule_type. #[prost(message, repeated, tag="2")] pub rule_item_groups: ::prost::alloc::vec::Vec, } -/// A group of rule items. +/// A group of rule items. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemGroupInfo { - /// Rule items that will be grouped together based on rule_type. + /// Rule items that will be grouped together based on rule_type. #[prost(message, repeated, tag="1")] pub rule_items: ::prost::alloc::vec::Vec, } -/// An atomic rule item. +/// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleItemInfo { - /// Rule variable name. It should match the corresponding key name fired - /// by the pixel. - /// A name must begin with US-ascii letters or underscore or UTF8 code that is - /// greater than 127 and consist of US-ascii letters or digits or underscore or - /// UTF8 code that is greater than 127. - /// For websites, there are two built-in variable URL (name = 'url__') and - /// referrer URL (name = 'ref_url__'). - /// This field must be populated when creating a new rule item. + /// Rule variable name. It should match the corresponding key name fired + /// by the pixel. + /// A name must begin with US-ascii letters or underscore or UTF8 code that is + /// greater than 127 and consist of US-ascii letters or digits or underscore or + /// UTF8 code that is greater than 127. + /// For websites, there are two built-in variable URL (name = 'url__') and + /// referrer URL (name = 'ref_url__'). + /// This field must be populated when creating a new rule item. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An atomic rule item. + /// An atomic rule item. #[prost(oneof="user_list_rule_item_info::RuleItem", tags="2, 3, 4")] pub rule_item: ::core::option::Option, } /// Nested message and enum types in `UserListRuleItemInfo`. pub mod user_list_rule_item_info { - /// An atomic rule item. + /// An atomic rule item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleItem { - /// An atomic rule item composed of a number operation. + /// An atomic rule item composed of a number operation. #[prost(message, tag="2")] NumberRuleItem(super::UserListNumberRuleItemInfo), - /// An atomic rule item composed of a string operation. + /// An atomic rule item composed of a string operation. #[prost(message, tag="3")] StringRuleItem(super::UserListStringRuleItemInfo), - /// An atomic rule item composed of a date operation. + /// An atomic rule item composed of a date operation. #[prost(message, tag="4")] DateRuleItem(super::UserListDateRuleItemInfo), } } -/// A rule item composed of a date operation. +/// A rule item composed of a date operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemInfo { - /// Date comparison operator. - /// This field is required and must be populated when creating new date - /// rule item. + /// Date comparison operator. + /// This field is required and must be populated when creating new date + /// rule item. #[prost(enumeration="super::enums::user_list_date_rule_item_operator_enum::UserListDateRuleItemOperator", tag="1")] pub operator: i32, - /// String representing date value to be compared with the rule variable. - /// Supported date format is YYYY-MM-DD. - /// Times are reported in the customer's time zone. + /// String representing date value to be compared with the rule variable. + /// Supported date format is YYYY-MM-DD. + /// Times are reported in the customer's time zone. #[prost(string, optional, tag="4")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// The relative date value of the right hand side denoted by number of days - /// offset from now. The value field will override this field when both are - /// present. + /// The relative date value of the right hand side denoted by number of days + /// offset from now. The value field will override this field when both are + /// present. #[prost(int64, optional, tag="5")] pub offset_in_days: ::core::option::Option, } -/// A rule item composed of a number operation. +/// A rule item composed of a number operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemInfo { - /// Number comparison operator. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number comparison operator. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(enumeration="super::enums::user_list_number_rule_item_operator_enum::UserListNumberRuleItemOperator", tag="1")] pub operator: i32, - /// Number value to be compared with the variable. - /// This field is required and must be populated when creating a new number - /// rule item. + /// Number value to be compared with the variable. + /// This field is required and must be populated when creating a new number + /// rule item. #[prost(double, optional, tag="3")] pub value: ::core::option::Option, } -/// A rule item composed of a string operation. +/// A rule item composed of a string operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemInfo { - /// String comparison operator. - /// This field is required and must be populated when creating a new string - /// rule item. + /// String comparison operator. + /// This field is required and must be populated when creating a new string + /// rule item. #[prost(enumeration="super::enums::user_list_string_rule_item_operator_enum::UserListStringRuleItemOperator", tag="1")] pub operator: i32, - /// The right hand side of the string rule item. For URLs or referrer URLs, - /// the value can not contain illegal URL chars such as newlines, quotes, - /// tabs, or parentheses. This field is required and must be populated when - /// creating a new string rule item. + /// The right hand side of the string rule item. For URLs or referrer URLs, + /// the value can not contain illegal URL chars such as newlines, quotes, + /// tabs, or parentheses. This field is required and must be populated when + /// creating a new string rule item. #[prost(string, optional, tag="3")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// User lists defined by combining two rules, left operand and right operand. -/// There are two operators: AND where left operand and right operand have to be -/// true; AND_NOT where left operand is true but right operand is false. +/// User lists defined by combining two rules, left operand and right operand. +/// There are two operators: AND where left operand and right operand have to be +/// true; AND_NOT where left operand is true but right operand is false. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedRuleUserListInfo { - /// Left operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Left operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="1")] pub left_operand: ::core::option::Option, - /// Right operand of the combined rule. - /// This field is required and must be populated when creating new combined - /// rule based user list. + /// Right operand of the combined rule. + /// This field is required and must be populated when creating new combined + /// rule based user list. #[prost(message, optional, tag="2")] pub right_operand: ::core::option::Option, - /// Operator to connect the two operands. + /// Operator to connect the two operands. /// - /// Required for creating a combined rule user list. + /// Required for creating a combined rule user list. #[prost(enumeration="super::enums::user_list_combined_rule_operator_enum::UserListCombinedRuleOperator", tag="3")] pub rule_operator: i32, } -/// Visitors of a page during specific dates. +/// Visitors of a page during specific dates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateSpecificRuleUserListInfo { - /// Boolean rule that defines visitor of a page. + /// Boolean rule that defines visitor of a page. /// - /// Required for creating a date specific rule user list. + /// Required for creating a date specific rule user list. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, - /// Start date of users visit. If set to 2000-01-01, then the list includes all - /// users before end_date. The date's format should be YYYY-MM-DD. + /// Start date of users visit. If set to 2000-01-01, then the list includes all + /// users before end_date. The date's format should be YYYY-MM-DD. /// - /// Required for creating a data specific rule user list. + /// Required for creating a data specific rule user list. #[prost(string, optional, tag="4")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Last date of users visit. If set to 2037-12-30, then the list includes all - /// users after start_date. The date's format should be YYYY-MM-DD. + /// Last date of users visit. If set to 2037-12-30, then the list includes all + /// users after start_date. The date's format should be YYYY-MM-DD. /// - /// Required for creating a data specific rule user list. + /// Required for creating a data specific rule user list. #[prost(string, optional, tag="5")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -/// Visitors of a page. The page visit is defined by one boolean rule expression. +/// Visitors of a page. The page visit is defined by one boolean rule expression. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpressionRuleUserListInfo { - /// Boolean rule that defines this user list. The rule consists of a list of - /// rule item groups and each rule item group consists of a list of rule items. - /// All the rule item groups are ORed or ANDed together for evaluation based on - /// rule.rule_type. + /// Boolean rule that defines this user list. The rule consists of a list of + /// rule item groups and each rule item group consists of a list of rule items. + /// All the rule item groups are ORed or ANDed together for evaluation based on + /// rule.rule_type. /// - /// Required for creating an expression rule user list. + /// Required for creating an expression rule user list. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, } -/// Representation of a userlist that is generated by a rule. +/// Representation of a userlist that is generated by a rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleBasedUserListInfo { - /// The status of pre-population. The field is default to NONE if not set which - /// means the previous users will not be considered. If set to REQUESTED, past - /// site visitors or app users who match the list definition will be included - /// in the list (works on the Display Network only). This will only - /// add past users from within the last 30 days, depending on the - /// list's membership duration and the date when the remarketing tag is added. - /// The status will be updated to FINISHED once request is processed, or FAILED - /// if the request fails. + /// The status of pre-population. The field is default to NONE if not set which + /// means the previous users will not be considered. If set to REQUESTED, past + /// site visitors or app users who match the list definition will be included + /// in the list (works on the Display Network only). This will only + /// add past users from within the last 30 days, depending on the + /// list's membership duration and the date when the remarketing tag is added. + /// The status will be updated to FINISHED once request is processed, or FAILED + /// if the request fails. #[prost(enumeration="super::enums::user_list_prepopulation_status_enum::UserListPrepopulationStatus", tag="1")] pub prepopulation_status: i32, - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[prost(oneof="rule_based_user_list_info::RuleBasedUserList", tags="2, 3, 4")] pub rule_based_user_list: ::core::option::Option, } /// Nested message and enum types in `RuleBasedUserListInfo`. pub mod rule_based_user_list_info { - /// Subtypes of rule based user lists. + /// Subtypes of rule based user lists. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RuleBasedUserList { - /// User lists defined by combining two rules. - /// There are two operators: AND, where the left and right operands have to - /// be true; AND_NOT where left operand is true but right operand is false. + /// User lists defined by combining two rules. + /// There are two operators: AND, where the left and right operands have to + /// be true; AND_NOT where left operand is true but right operand is false. #[prost(message, tag="2")] CombinedRuleUserList(super::CombinedRuleUserListInfo), - /// Visitors of a page during specific dates. The visiting periods are - /// defined as follows: - /// Between start_date (inclusive) and end_date (inclusive); - /// Before end_date (exclusive) with start_date = 2000-01-01; - /// After start_date (exclusive) with end_date = 2037-12-30. + /// Visitors of a page during specific dates. The visiting periods are + /// defined as follows: + /// Between start_date (inclusive) and end_date (inclusive); + /// Before end_date (exclusive) with start_date = 2000-01-01; + /// After start_date (exclusive) with end_date = 2037-12-30. #[prost(message, tag="3")] DateSpecificRuleUserList(super::DateSpecificRuleUserListInfo), - /// Visitors of a page. The page visit is defined by one boolean rule - /// expression. + /// Visitors of a page. The page visit is defined by one boolean rule + /// expression. #[prost(message, tag="4")] ExpressionRuleUserList(super::ExpressionRuleUserListInfo), } } -/// Represents a user list that is a custom combination of user lists. +/// Represents a user list that is a custom combination of user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListInfo { - /// Logical list rules that define this user list. The rules are defined as a - /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are - /// ANDed when they are evaluated. + /// Logical list rules that define this user list. The rules are defined as a + /// logical operator (ALL/ANY/NONE) and a list of user lists. All the rules are + /// ANDed when they are evaluated. /// - /// Required for creating a logical user list. + /// Required for creating a logical user list. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A user list logical rule. A rule has a logical operator (and/or/not) and a -/// list of user lists as operands. +/// A user list logical rule. A rule has a logical operator (and/or/not) and a +/// list of user lists as operands. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleInfo { - /// The logical operator of the rule. + /// The logical operator of the rule. #[prost(enumeration="super::enums::user_list_logical_rule_operator_enum::UserListLogicalRuleOperator", tag="1")] pub operator: i32, - /// The list of operands of the rule. + /// The list of operands of the rule. #[prost(message, repeated, tag="2")] pub rule_operands: ::prost::alloc::vec::Vec, } -/// Operand of logical user list that consists of a user list. +/// Operand of logical user list that consists of a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalUserListOperandInfo { - /// Resource name of a user list as an operand. + /// Resource name of a user list as an operand. #[prost(string, optional, tag="2")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, } -/// User list targeting as a collection of conversions or remarketing actions. +/// User list targeting as a collection of conversions or remarketing actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicUserListInfo { - /// Actions associated with this user list. + /// Actions associated with this user list. #[prost(message, repeated, tag="1")] pub actions: ::prost::alloc::vec::Vec, } -/// Represents an action type used for building remarketing user lists. +/// Represents an action type used for building remarketing user lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListActionInfo { - /// Subtypes of user list action. + /// Subtypes of user list action. #[prost(oneof="user_list_action_info::UserListAction", tags="3, 4")] pub user_list_action: ::core::option::Option, } /// Nested message and enum types in `UserListActionInfo`. pub mod user_list_action_info { - /// Subtypes of user list action. + /// Subtypes of user list action. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserListAction { - /// A conversion action that's not generated from remarketing. + /// A conversion action that's not generated from remarketing. #[prost(string, tag="3")] ConversionAction(::prost::alloc::string::String), - /// A remarketing action. + /// A remarketing action. #[prost(string, tag="4")] RemarketingAction(::prost::alloc::string::String), } } -// Proto file describing value types. +// Proto file describing value types. -/// A generic data container. +/// A generic data container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// A value. + /// A value. #[prost(oneof="value::Value", tags="1, 2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// A value. + /// A value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A boolean. + /// A boolean. #[prost(bool, tag="1")] BooleanValue(bool), - /// An int64. + /// An int64. #[prost(int64, tag="2")] Int64Value(i64), - /// A float. + /// A float. #[prost(float, tag="3")] FloatValue(f32), - /// A double. + /// A double. #[prost(double, tag="4")] DoubleValue(f64), - /// A string. + /// A string. #[prost(string, tag="5")] StringValue(::prost::alloc::string::String), } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v9.enums.rs b/gcloud-sdk/genproto/google.ads.googleads.v9.enums.rs index ac4a277fe..2ce4cd2af 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v9.enums.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v9.enums.rs @@ -1,34 +1,34 @@ -// Proto file describing policy topic entry types. +// Proto file describing policy topic entry types. -/// Container for enum describing possible policy topic entry types. +/// Container for enum describing possible policy topic entry types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEntryTypeEnum { } /// Nested message and enum types in `PolicyTopicEntryTypeEnum`. pub mod policy_topic_entry_type_enum { - /// The possible policy topic entry types. + /// The possible policy topic entry types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEntryType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The resource will not be served. + /// The resource will not be served. Prohibited = 2, - /// The resource will not be served under some circumstances. + /// The resource will not be served under some circumstances. Limited = 4, - /// The resource cannot serve at all because of the current targeting - /// criteria. + /// The resource cannot serve at all because of the current targeting + /// criteria. FullyLimited = 8, - /// May be of interest, but does not limit how the resource is served. + /// May be of interest, but does not limit how the resource is served. Descriptive = 5, - /// Could increase coverage beyond normal. + /// Could increase coverage beyond normal. Broadening = 6, - /// Constrained for all targeted countries, but may serve in other countries - /// through area of interest. + /// Constrained for all targeted countries, but may serve in other countries + /// through area of interest. AreaOfInterestOnly = 7, } impl PolicyTopicEntryType { @@ -50,34 +50,34 @@ pub mod policy_topic_entry_type_enum { } } } -// Proto file describing policy topic evidence destination mismatch url types. +// Proto file describing policy topic evidence destination mismatch url types. -/// Container for enum describing possible policy topic evidence destination -/// mismatch url types. +/// Container for enum describing possible policy topic evidence destination +/// mismatch url types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationMismatchUrlTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationMismatchUrlTypeEnum`. pub mod policy_topic_evidence_destination_mismatch_url_type_enum { - /// The possible policy topic evidence destination mismatch url types. + /// The possible policy topic evidence destination mismatch url types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationMismatchUrlType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The display url. + /// The display url. DisplayUrl = 2, - /// The final url. + /// The final url. FinalUrl = 3, - /// The final mobile url. + /// The final mobile url. FinalMobileUrl = 4, - /// The tracking url template, with substituted desktop url. + /// The tracking url template, with substituted desktop url. TrackingUrl = 5, - /// The tracking url template, with substituted mobile url. + /// The tracking url template, with substituted mobile url. MobileTrackingUrl = 6, } impl PolicyTopicEvidenceDestinationMismatchUrlType { @@ -98,31 +98,31 @@ pub mod policy_topic_evidence_destination_mismatch_url_type_enum { } } } -// Proto file describing device of destination not working policy topic -// evidence. +// Proto file describing device of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working devices. +/// Container for enum describing possible policy topic evidence destination not +/// working devices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDeviceEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDeviceEnum`. pub mod policy_topic_evidence_destination_not_working_device_enum { - /// The possible policy topic evidence destination not working devices. + /// The possible policy topic evidence destination not working devices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDevice { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Landing page doesn't work on desktop device. + /// Landing page doesn't work on desktop device. Desktop = 2, - /// Landing page doesn't work on Android device. + /// Landing page doesn't work on Android device. Android = 3, - /// Landing page doesn't work on iOS device. + /// Landing page doesn't work on iOS device. Ios = 4, } impl PolicyTopicEvidenceDestinationNotWorkingDevice { @@ -141,31 +141,31 @@ pub mod policy_topic_evidence_destination_not_working_device_enum { } } } -// Proto file describing DNS error types of destination not working policy topic -// evidence. +// Proto file describing DNS error types of destination not working policy topic +// evidence. -/// Container for enum describing possible policy topic evidence destination not -/// working DNS error types. +/// Container for enum describing possible policy topic evidence destination not +/// working DNS error types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum { } /// Nested message and enum types in `PolicyTopicEvidenceDestinationNotWorkingDnsErrorTypeEnum`. pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { - /// The possible policy topic evidence destination not working DNS error types. + /// The possible policy topic evidence destination not working DNS error types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Host name not found in DNS when fetching landing page. + /// Host name not found in DNS when fetching landing page. HostnameNotFound = 2, - /// Google internal crawler issue when communicating with DNS. This error - /// doesn't mean the landing page doesn't work. Google will recrawl the - /// landing page. + /// Google internal crawler issue when communicating with DNS. This error + /// doesn't mean the landing page doesn't work. Google will recrawl the + /// landing page. GoogleCrawlerDnsIssue = 3, } impl PolicyTopicEvidenceDestinationNotWorkingDnsErrorType { @@ -183,34 +183,34 @@ pub mod policy_topic_evidence_destination_not_working_dns_error_type_enum { } } } -// Proto file describing policy approval statuses. +// Proto file describing policy approval statuses. -/// Container for enum describing possible policy approval statuses. +/// Container for enum describing possible policy approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyApprovalStatusEnum { } /// Nested message and enum types in `PolicyApprovalStatusEnum`. pub mod policy_approval_status_enum { - /// The possible policy approval statuses. When there are several approval - /// statuses available the most severe one will be used. The order of severity - /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. + /// The possible policy approval statuses. When there are several approval + /// statuses available the most severe one will be used. The order of severity + /// is DISAPPROVED, AREA_OF_INTEREST_ONLY, APPROVED_LIMITED and APPROVED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Will not serve. + /// Will not serve. Disapproved = 2, - /// Serves with restrictions. + /// Serves with restrictions. ApprovedLimited = 3, - /// Serves without restrictions. + /// Serves without restrictions. Approved = 4, - /// Will not serve in targeted countries, but may serve for users who are - /// searching for information about the targeted countries. + /// Will not serve in targeted countries, but may serve for users who are + /// searching for information about the targeted countries. AreaOfInterestOnly = 5, } impl PolicyApprovalStatus { @@ -230,33 +230,33 @@ pub mod policy_approval_status_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible policy review statuses. +/// Container for enum describing possible policy review statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyReviewStatusEnum { } /// Nested message and enum types in `PolicyReviewStatusEnum`. pub mod policy_review_status_enum { - /// The possible policy review statuses. + /// The possible policy review statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyReviewStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Currently under review. + /// Currently under review. ReviewInProgress = 2, - /// Primary review complete. Other reviews may be continuing. + /// Primary review complete. Other reviews may be continuing. Reviewed = 3, - /// The resource has been resubmitted for approval or its policy decision has - /// been appealed. + /// The resource has been resubmitted for approval or its policy decision has + /// been appealed. UnderAppeal = 4, - /// The resource is eligible and may be serving but could still undergo - /// further review. + /// The resource is eligible and may be serving but could still undergo + /// further review. EligibleMayServe = 5, } impl PolicyReviewStatus { @@ -276,34 +276,34 @@ pub mod policy_review_status_enum { } } } -// Proto file describing the performance label of an asset. +// Proto file describing the performance label of an asset. -/// Container for enum describing the performance label of an asset. +/// Container for enum describing the performance label of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPerformanceLabelEnum { } /// Nested message and enum types in `AssetPerformanceLabelEnum`. pub mod asset_performance_label_enum { - /// Enum describing the possible performance labels of an asset, usually - /// computed in the context of a linkage. + /// Enum describing the possible performance labels of an asset, usually + /// computed in the context of a linkage. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetPerformanceLabel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This asset does not yet have any performance informantion. This may be - /// because it is still under review. + /// This asset does not yet have any performance informantion. This may be + /// because it is still under review. Pending = 2, - /// The asset has started getting impressions but the stats are not - /// statistically significant enough to get an asset performance label. + /// The asset has started getting impressions but the stats are not + /// statistically significant enough to get an asset performance label. Learning = 3, - /// Worst performing assets. + /// Worst performing assets. Low = 4, - /// Good performing assets. + /// Good performing assets. Good = 5, - /// Best performing assets. + /// Best performing assets. Best = 6, } impl AssetPerformanceLabel { @@ -324,33 +324,33 @@ pub mod asset_performance_label_enum { } } } -// Proto file describing policy review statuses. +// Proto file describing policy review statuses. -/// Container for enum describing possible asset field types. +/// Container for enum describing possible asset field types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServedAssetFieldTypeEnum { } /// Nested message and enum types in `ServedAssetFieldTypeEnum`. pub mod served_asset_field_type_enum { - /// The possible asset field types. + /// The possible asset field types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServedAssetFieldType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The asset is used in headline 1. + /// The asset is used in headline 1. Headline1 = 2, - /// The asset is used in headline 2. + /// The asset is used in headline 2. Headline2 = 3, - /// The asset is used in headline 3. + /// The asset is used in headline 3. Headline3 = 4, - /// The asset is used in description 1. + /// The asset is used in description 1. Description1 = 5, - /// The asset is used in description 2. + /// The asset is used in description 2. Description2 = 6, } impl ServedAssetFieldType { @@ -371,30 +371,30 @@ pub mod served_asset_field_type_enum { } } } -// Proto file describing call conversion reporting state. +// Proto file describing call conversion reporting state. -/// Container for enum describing possible data types for call conversion -/// reporting state. +/// Container for enum describing possible data types for call conversion +/// reporting state. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionReportingStateEnum { } /// Nested message and enum types in `CallConversionReportingStateEnum`. pub mod call_conversion_reporting_state_enum { - /// Possible data types for a call conversion action state. + /// Possible data types for a call conversion action state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallConversionReportingState { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Call conversion action is disabled. + /// Call conversion action is disabled. Disabled = 2, - /// Call conversion action will use call conversion type set at the - /// account level. + /// Call conversion action will use call conversion type set at the + /// account level. UseAccountLevelCallConversionAction = 3, - /// Call conversion action will use call conversion type set at the resource - /// (call only ads/call extensions) level. + /// Call conversion action will use call conversion type set at the resource + /// (call only ads/call extensions) level. UseResourceLevelCallConversionAction = 4, } impl CallConversionReportingState { @@ -413,28 +413,28 @@ pub mod call_conversion_reporting_state_enum { } } } -// Proto file describing display ad format settings. +// Proto file describing display ad format settings. -/// Container for display ad format settings. +/// Container for display ad format settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayAdFormatSettingEnum { } /// Nested message and enum types in `DisplayAdFormatSettingEnum`. pub mod display_ad_format_setting_enum { - /// Enumerates display ad format settings. + /// Enumerates display ad format settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayAdFormatSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Text, image and native formats. + /// Text, image and native formats. AllFormats = 2, - /// Text and image formats. + /// Text and image formats. NonNative = 3, - /// Native format, i.e. the format rendering is controlled by the publisher - /// and not by Google. + /// Native format, i.e. the format rendering is controlled by the publisher + /// and not by Google. Native = 4, } impl DisplayAdFormatSetting { @@ -453,64 +453,64 @@ pub mod display_ad_format_setting_enum { } } } -// Proto file describing display upload product types. +// Proto file describing display upload product types. -/// Container for display upload product types. Product types that have the word -/// "DYNAMIC" in them must be associated with a campaign that has a dynamic -/// remarketing feed. See -/// for more info about dynamic remarketing. Other product types are regarded -/// as "static" and do not have this requirement. +/// Container for display upload product types. Product types that have the word +/// "DYNAMIC" in them must be associated with a campaign that has a dynamic +/// remarketing feed. See +/// for more info about dynamic remarketing. Other product types are regarded +/// as "static" and do not have this requirement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayUploadProductTypeEnum { } /// Nested message and enum types in `DisplayUploadProductTypeEnum`. pub mod display_upload_product_type_enum { - /// Enumerates display upload product types. + /// Enumerates display upload product types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisplayUploadProductType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// HTML5 upload ad. This product type requires the upload_media_bundle - /// field in DisplayUploadAdInfo to be set. + /// HTML5 upload ad. This product type requires the upload_media_bundle + /// field in DisplayUploadAdInfo to be set. Html5UploadAd = 2, - /// Dynamic HTML5 education ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in an education campaign. + /// Dynamic HTML5 education ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in an education campaign. DynamicHtml5EducationAd = 3, - /// Dynamic HTML5 flight ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a flight campaign. + /// Dynamic HTML5 flight ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a flight campaign. DynamicHtml5FlightAd = 4, - /// Dynamic HTML5 hotel and rental ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel and rental ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelRentalAd = 5, - /// Dynamic HTML5 job ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a job campaign. + /// Dynamic HTML5 job ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a job campaign. DynamicHtml5JobAd = 6, - /// Dynamic HTML5 local ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a local campaign. + /// Dynamic HTML5 local ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a local campaign. DynamicHtml5LocalAd = 7, - /// Dynamic HTML5 real estate ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a real estate campaign. + /// Dynamic HTML5 real estate ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a real estate campaign. DynamicHtml5RealEstateAd = 8, - /// Dynamic HTML5 custom ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a custom campaign. + /// Dynamic HTML5 custom ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a custom campaign. DynamicHtml5CustomAd = 9, - /// Dynamic HTML5 travel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a travel campaign. + /// Dynamic HTML5 travel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a travel campaign. DynamicHtml5TravelAd = 10, - /// Dynamic HTML5 hotel ad. This product type requires the - /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be - /// used in a hotel campaign. + /// Dynamic HTML5 hotel ad. This product type requires the + /// upload_media_bundle field in DisplayUploadAdInfo to be set. Can only be + /// used in a hotel campaign. DynamicHtml5HotelAd = 11, } impl DisplayUploadProductType { @@ -536,31 +536,31 @@ pub mod display_upload_product_type_enum { } } } -// Proto file describing app store types for a legacy app install ad. +// Proto file describing app store types for a legacy app install ad. -/// Container for enum describing app store type in a legacy app install ad. +/// Container for enum describing app store type in a legacy app install ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LegacyAppInstallAdAppStoreEnum { } /// Nested message and enum types in `LegacyAppInstallAdAppStoreEnum`. pub mod legacy_app_install_ad_app_store_enum { - /// App store type in a legacy app install ad. + /// App store type in a legacy app install ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LegacyAppInstallAdAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleAppStore = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, - /// Windows Store. + /// Windows Store. WindowsStore = 4, - /// Windows Phone Store. + /// Windows Phone Store. WindowsPhoneStore = 5, - /// The app is hosted in a Chinese app store. + /// The app is hosted in a Chinese app store. CnAppStore = 6, } impl LegacyAppInstallAdAppStore { @@ -581,47 +581,47 @@ pub mod legacy_app_install_ad_app_store_enum { } } } -// Proto file describing mime types. +// Proto file describing mime types. -/// Container for enum describing the mime types. +/// Container for enum describing the mime types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MimeTypeEnum { } /// Nested message and enum types in `MimeTypeEnum`. pub mod mime_type_enum { - /// The mime type + /// The mime type #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MimeType { - /// The mime type has not been specified. + /// The mime type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// MIME type of image/jpeg. + /// MIME type of image/jpeg. ImageJpeg = 2, - /// MIME type of image/gif. + /// MIME type of image/gif. ImageGif = 3, - /// MIME type of image/png. + /// MIME type of image/png. ImagePng = 4, - /// MIME type of application/x-shockwave-flash. + /// MIME type of application/x-shockwave-flash. Flash = 5, - /// MIME type of text/html. + /// MIME type of text/html. TextHtml = 6, - /// MIME type of application/pdf. + /// MIME type of application/pdf. Pdf = 7, - /// MIME type of application/msword. + /// MIME type of application/msword. Msword = 8, - /// MIME type of application/vnd.ms-excel. + /// MIME type of application/vnd.ms-excel. Msexcel = 9, - /// MIME type of application/rtf. + /// MIME type of application/rtf. Rtf = 10, - /// MIME type of audio/wav. + /// MIME type of audio/wav. AudioWav = 11, - /// MIME type of audio/mp3. + /// MIME type of audio/mp3. AudioMp3 = 12, - /// MIME type of application/x-html5-ad-zip. + /// MIME type of application/x-html5-ad-zip. Html5AdZip = 13, } impl MimeType { @@ -649,32 +649,32 @@ pub mod mime_type_enum { } } } -// Proto file describing video thumbnails. +// Proto file describing video thumbnails. -/// Defines the thumbnail to use for In-Display video ads. Note that -/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are -/// auto-generated from the video. +/// Defines the thumbnail to use for In-Display video ads. Note that +/// DEFAULT_THUMBNAIL may have been uploaded by the user while thumbnails 1-3 are +/// auto-generated from the video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoThumbnailEnum { } /// Nested message and enum types in `VideoThumbnailEnum`. pub mod video_thumbnail_enum { - /// Enum listing the possible types of a video thumbnail. + /// Enum listing the possible types of a video thumbnail. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VideoThumbnail { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The default thumbnail. Can be auto-generated or user-uploaded. + /// The default thumbnail. Can be auto-generated or user-uploaded. DefaultThumbnail = 2, - /// Thumbnail 1, generated from the video. + /// Thumbnail 1, generated from the video. Thumbnail1 = 3, - /// Thumbnail 2, generated from the video. + /// Thumbnail 2, generated from the video. Thumbnail2 = 4, - /// Thumbnail 3, generated from the video. + /// Thumbnail 3, generated from the video. Thumbnail3 = 5, } impl VideoThumbnail { @@ -694,35 +694,35 @@ pub mod video_thumbnail_enum { } } } -// Proto file describing age range types. +// Proto file describing age range types. -/// Container for enum describing the type of demographic age ranges. +/// Container for enum describing the type of demographic age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeTypeEnum { } /// Nested message and enum types in `AgeRangeTypeEnum`. pub mod age_range_type_enum { - /// The type of demographic age ranges (e.g. between 18 and 24 years old). + /// The type of demographic age ranges (e.g. between 18 and 24 years old). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AgeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, - /// Undetermined age range. + /// Undetermined age range. AgeRangeUndetermined = 503999, } impl AgeRangeType { @@ -745,23 +745,23 @@ pub mod age_range_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// Represents a criterion for targeting paid apps. +/// Represents a criterion for targeting paid apps. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPaymentModelTypeEnum { } /// Nested message and enum types in `AppPaymentModelTypeEnum`. pub mod app_payment_model_type_enum { - /// Enum describing possible app payment models. + /// Enum describing possible app payment models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPaymentModelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents paid-for apps. + /// Represents paid-for apps. Paid = 30, } impl AppPaymentModelType { @@ -778,51 +778,51 @@ pub mod app_payment_model_type_enum { } } } -// Proto file describing content label types. +// Proto file describing content label types. -/// Container for enum describing content label types in ContentLabel. +/// Container for enum describing content label types in ContentLabel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentLabelTypeEnum { } /// Nested message and enum types in `ContentLabelTypeEnum`. pub mod content_label_type_enum { - /// Enum listing the content label types supported by ContentLabel criterion. + /// Enum listing the content label types supported by ContentLabel criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentLabelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Sexually suggestive content. + /// Sexually suggestive content. SexuallySuggestive = 2, - /// Below the fold placement. + /// Below the fold placement. BelowTheFold = 3, - /// Parked domain. + /// Parked domain. ParkedDomain = 4, - /// Juvenile, gross & bizarre content. + /// Juvenile, gross & bizarre content. Juvenile = 6, - /// Profanity & rough language. + /// Profanity & rough language. Profanity = 7, - /// Death & tragedy. + /// Death & tragedy. Tragedy = 8, - /// Video. + /// Video. Video = 9, - /// Content rating: G. + /// Content rating: G. VideoRatingDvG = 10, - /// Content rating: PG. + /// Content rating: PG. VideoRatingDvPg = 11, - /// Content rating: T. + /// Content rating: T. VideoRatingDvT = 12, - /// Content rating: MA. + /// Content rating: MA. VideoRatingDvMa = 13, - /// Content rating: not yet rated. + /// Content rating: not yet rated. VideoNotYetRated = 14, - /// Embedded video. + /// Embedded video. EmbeddedVideo = 15, - /// Live streaming video. + /// Live streaming video. LiveStreamingVideo = 16, - /// Sensitive social issues. + /// Sensitive social issues. SocialIssues = 17, } impl ContentLabelType { @@ -853,35 +853,35 @@ pub mod content_label_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of days of the week, e.g., "Monday". +/// Container for enumeration of days of the week, e.g., "Monday". #[derive(Clone, PartialEq, ::prost::Message)] pub struct DayOfWeekEnum { } /// Nested message and enum types in `DayOfWeekEnum`. pub mod day_of_week_enum { - /// Enumerates days of the week, e.g., "Monday". + /// Enumerates days of the week, e.g., "Monday". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DayOfWeek { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Monday. + /// Monday. Monday = 2, - /// Tuesday. + /// Tuesday. Tuesday = 3, - /// Wednesday. + /// Wednesday. Wednesday = 4, - /// Thursday. + /// Thursday. Thursday = 5, - /// Friday. + /// Friday. Friday = 6, - /// Saturday. + /// Saturday. Saturday = 7, - /// Sunday. + /// Sunday. Sunday = 8, } impl DayOfWeek { @@ -904,31 +904,31 @@ pub mod day_of_week_enum { } } } -// Proto file describing devices. +// Proto file describing devices. -/// Container for enumeration of Google Ads devices available for targeting. +/// Container for enumeration of Google Ads devices available for targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceEnum { } /// Nested message and enum types in `DeviceEnum`. pub mod device_enum { - /// Enumerates Google Ads devices available for targeting. + /// Enumerates Google Ads devices available for targeting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Device { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile devices with full browsers. + /// Mobile devices with full browsers. Mobile = 2, - /// Tablets with full browsers. + /// Tablets with full browsers. Tablet = 3, - /// Computers. + /// Computers. Desktop = 4, - /// Smart TVs and game consoles. + /// Smart TVs and game consoles. ConnectedTv = 6, - /// Other device types. + /// Other device types. Other = 5, } impl Device { @@ -949,27 +949,27 @@ pub mod device_enum { } } } -// Proto file describing gender types. +// Proto file describing gender types. -/// Container for enum describing the type of demographic genders. +/// Container for enum describing the type of demographic genders. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderTypeEnum { } /// Nested message and enum types in `GenderTypeEnum`. pub mod gender_type_enum { - /// The type of demographic genders (e.g. female). + /// The type of demographic genders (e.g. female). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GenderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Male. + /// Male. Male = 10, - /// Female. + /// Female. Female = 11, - /// Undetermined gender. + /// Undetermined gender. Undetermined = 20, } impl GenderType { @@ -988,25 +988,25 @@ pub mod gender_type_enum { } } } -// Proto file describing hotel date selection types. +// Proto file describing hotel date selection types. -/// Container for enum describing possible hotel date selection types +/// Container for enum describing possible hotel date selection types #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelDateSelectionTypeEnum { } /// Nested message and enum types in `HotelDateSelectionTypeEnum`. pub mod hotel_date_selection_type_enum { - /// Enum describing possible hotel date selection types. + /// Enum describing possible hotel date selection types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelDateSelectionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dates selected by default. + /// Dates selected by default. DefaultSelection = 50, - /// Dates selected by the user. + /// Dates selected by the user. UserSelected = 51, } impl HotelDateSelectionType { @@ -1024,35 +1024,35 @@ pub mod hotel_date_selection_type_enum { } } } -// Proto file describing income range types. +// Proto file describing income range types. -/// Container for enum describing the type of demographic income ranges. +/// Container for enum describing the type of demographic income ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeTypeEnum { } /// Nested message and enum types in `IncomeRangeTypeEnum`. pub mod income_range_type_enum { - /// The type of demographic income ranges (e.g. between 0% to 50%). + /// The type of demographic income ranges (e.g. between 0% to 50%). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IncomeRangeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 0%-50%. + /// 0%-50%. IncomeRange050 = 510001, - /// 50% to 60%. + /// 50% to 60%. IncomeRange5060 = 510002, - /// 60% to 70%. + /// 60% to 70%. IncomeRange6070 = 510003, - /// 70% to 80%. + /// 70% to 80%. IncomeRange7080 = 510004, - /// 80% to 90%. + /// 80% to 90%. IncomeRange8090 = 510005, - /// Greater than 90%. + /// Greater than 90%. IncomeRange90Up = 510006, - /// Undetermined income range. + /// Undetermined income range. IncomeRangeUndetermined = 510000, } impl IncomeRangeType { @@ -1075,23 +1075,23 @@ pub mod income_range_type_enum { } } } -// Proto file describing interaction types. +// Proto file describing interaction types. -/// Container for enum describing possible interaction types. +/// Container for enum describing possible interaction types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionTypeEnum { } /// Nested message and enum types in `InteractionTypeEnum`. pub mod interaction_type_enum { - /// Enum describing possible interaction types. + /// Enum describing possible interaction types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Calls. + /// Calls. Calls = 8000, } impl InteractionType { @@ -1108,27 +1108,27 @@ pub mod interaction_type_enum { } } } -// Proto file describing Keyword match types. +// Proto file describing Keyword match types. -/// Message describing Keyword match types. +/// Message describing Keyword match types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeEnum { } /// Nested message and enum types in `KeywordMatchTypeEnum`. pub mod keyword_match_type_enum { - /// Possible Keyword match types. + /// Possible Keyword match types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Exact match. + /// Exact match. Exact = 2, - /// Phrase match. + /// Phrase match. Phrase = 3, - /// Broad match. + /// Broad match. Broad = 4, } impl KeywordMatchType { @@ -1147,27 +1147,27 @@ pub mod keyword_match_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group. +/// Container for enum describing the type of the listing group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupTypeEnum { } /// Nested message and enum types in `ListingGroupTypeEnum`. pub mod listing_group_type_enum { - /// The type of the listing group. + /// The type of the listing group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimension. These nodes - /// are not used by serving to target listing entries, but is purely - /// to define the structure of the tree. + /// Subdivision of products along some listing dimension. These nodes + /// are not used by serving to target listing entries, but is purely + /// to define the structure of the tree. Subdivision = 2, - /// Listing group unit that defines a bid. + /// Listing group unit that defines a bid. Unit = 3, } impl ListingGroupType { @@ -1185,27 +1185,27 @@ pub mod listing_group_type_enum { } } } -// Proto file describing location group radius units. +// Proto file describing location group radius units. -/// Container for enum describing unit of radius in location group. +/// Container for enum describing unit of radius in location group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationGroupRadiusUnitsEnum { } /// Nested message and enum types in `LocationGroupRadiusUnitsEnum`. pub mod location_group_radius_units_enum { - /// The unit of radius distance in location group (e.g. MILES) + /// The unit of radius distance in location group (e.g. MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationGroupRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meters + /// Meters Meters = 2, - /// Miles + /// Miles Miles = 3, - /// Milli Miles + /// Milli Miles MilliMiles = 4, } impl LocationGroupRadiusUnits { @@ -1224,29 +1224,29 @@ pub mod location_group_radius_units_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of quarter-hours. +/// Container for enumeration of quarter-hours. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MinuteOfHourEnum { } /// Nested message and enum types in `MinuteOfHourEnum`. pub mod minute_of_hour_enum { - /// Enumerates of quarter-hours. E.g. "FIFTEEN" + /// Enumerates of quarter-hours. E.g. "FIFTEEN" #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinuteOfHour { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Zero minutes past the hour. + /// Zero minutes past the hour. Zero = 2, - /// Fifteen minutes past the hour. + /// Fifteen minutes past the hour. Fifteen = 3, - /// Thirty minutes past the hour. + /// Thirty minutes past the hour. Thirty = 4, - /// Forty-five minutes past the hour. + /// Forty-five minutes past the hour. FortyFive = 5, } impl MinuteOfHour { @@ -1266,27 +1266,27 @@ pub mod minute_of_hour_enum { } } } -// Proto file describing parenal status types. +// Proto file describing parenal status types. -/// Container for enum describing the type of demographic parental statuses. +/// Container for enum describing the type of demographic parental statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusTypeEnum { } /// Nested message and enum types in `ParentalStatusTypeEnum`. pub mod parental_status_type_enum { - /// The type of parental statuses (e.g. not a parent). + /// The type of parental statuses (e.g. not a parent). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ParentalStatusType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Parent. + /// Parent. Parent = 300, - /// Not a parent. + /// Not a parent. NotAParent = 301, - /// Undetermined parental status. + /// Undetermined parental status. Undetermined = 302, } impl ParentalStatusType { @@ -1305,23 +1305,23 @@ pub mod parental_status_type_enum { } } } -// Proto file describing preferred content criterion type. +// Proto file describing preferred content criterion type. -/// Container for enumeration of preferred content criterion type. +/// Container for enumeration of preferred content criterion type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreferredContentTypeEnum { } /// Nested message and enum types in `PreferredContentTypeEnum`. pub mod preferred_content_type_enum { - /// Enumerates preferred content criterion type. + /// Enumerates preferred content criterion type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PreferredContentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Represents top content on YouTube. + /// Represents top content on YouTube. YoutubeTopContent = 400, } impl PreferredContentType { @@ -1338,29 +1338,29 @@ pub mod preferred_content_type_enum { } } } -/// Level of a product bidding category. +/// Level of a product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryLevelEnum { } /// Nested message and enum types in `ProductBiddingCategoryLevelEnum`. pub mod product_bidding_category_level_enum { - /// Enum describing the level of the product bidding category. + /// Enum describing the level of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ProductBiddingCategoryLevel { @@ -1381,25 +1381,25 @@ pub mod product_bidding_category_level_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelEnum { } /// Nested message and enum types in `ProductChannelEnum`. pub mod product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ProductChannel { @@ -1417,27 +1417,27 @@ pub mod product_channel_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Availability of a product offer. +/// Availability of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannelExclusivityEnum { } /// Nested message and enum types in `ProductChannelExclusivityEnum`. pub mod product_channel_exclusivity_enum { - /// Enum describing the availability of a product offer. + /// Enum describing the availability of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductChannelExclusivity { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold through one channel only, either local stores or online - /// as indicated by its ProductChannel. + /// The item is sold through one channel only, either local stores or online + /// as indicated by its ProductChannel. SingleChannel = 2, - /// The item is matched to its online or local stores counterpart, indicating - /// it is available for purchase in both ShoppingProductChannels. + /// The item is matched to its online or local stores counterpart, indicating + /// it is available for purchase in both ShoppingProductChannels. MultiChannel = 3, } impl ProductChannelExclusivity { @@ -1455,27 +1455,27 @@ pub mod product_channel_exclusivity_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductConditionEnum { } /// Nested message and enum types in `ProductConditionEnum`. pub mod product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 3, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 4, - /// The product condition is used. + /// The product condition is used. Used = 5, } impl ProductCondition { @@ -1494,31 +1494,31 @@ pub mod product_condition_enum { } } } -// Proto file describing product custom attributes. +// Proto file describing product custom attributes. -/// Container for enum describing the index of the product custom attribute. +/// Container for enum describing the index of the product custom attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttributeIndexEnum { } /// Nested message and enum types in `ProductCustomAttributeIndexEnum`. pub mod product_custom_attribute_index_enum { - /// The index of the product custom attribute. + /// The index of the product custom attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First product custom attribute. + /// First product custom attribute. Index0 = 7, - /// Second product custom attribute. + /// Second product custom attribute. Index1 = 8, - /// Third product custom attribute. + /// Third product custom attribute. Index2 = 9, - /// Fourth product custom attribute. + /// Fourth product custom attribute. Index3 = 10, - /// Fifth product custom attribute. + /// Fifth product custom attribute. Index4 = 11, } impl ProductCustomAttributeIndex { @@ -1539,31 +1539,31 @@ pub mod product_custom_attribute_index_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductTypeLevelEnum { } /// Nested message and enum types in `ProductTypeLevelEnum`. pub mod product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 7, - /// Level 2. + /// Level 2. Level2 = 8, - /// Level 3. + /// Level 3. Level3 = 9, - /// Level 4. + /// Level 4. Level4 = 10, - /// Level 5. + /// Level 5. Level5 = 11, } impl ProductTypeLevel { @@ -1584,25 +1584,25 @@ pub mod product_type_level_enum { } } } -// Proto file describing proximity radius units. +// Proto file describing proximity radius units. -/// Container for enum describing unit of radius in proximity. +/// Container for enum describing unit of radius in proximity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProximityRadiusUnitsEnum { } /// Nested message and enum types in `ProximityRadiusUnitsEnum`. pub mod proximity_radius_units_enum { - /// The unit of radius distance in proximity (e.g. MILES) + /// The unit of radius distance in proximity (e.g. MILES) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProximityRadiusUnits { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Miles + /// Miles Miles = 2, - /// Kilometers + /// Kilometers Kilometers = 3, } impl ProximityRadiusUnits { @@ -1620,31 +1620,31 @@ pub mod proximity_radius_units_enum { } } } -// Proto file describing webpage condition operand. +// Proto file describing webpage condition operand. -/// Container for enum describing webpage condition operand in webpage criterion. +/// Container for enum describing webpage condition operand in webpage criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperandEnum { } /// Nested message and enum types in `WebpageConditionOperandEnum`. pub mod webpage_condition_operand_enum { - /// The webpage condition operand in webpage criterion. + /// The webpage condition operand in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperand { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Operand denoting a webpage URL targeting condition. + /// Operand denoting a webpage URL targeting condition. Url = 2, - /// Operand denoting a webpage category targeting condition. + /// Operand denoting a webpage category targeting condition. Category = 3, - /// Operand denoting a webpage title targeting condition. + /// Operand denoting a webpage title targeting condition. PageTitle = 4, - /// Operand denoting a webpage content targeting condition. + /// Operand denoting a webpage content targeting condition. PageContent = 5, - /// Operand denoting a webpage custom label targeting condition. + /// Operand denoting a webpage custom label targeting condition. CustomLabel = 6, } impl WebpageConditionOperand { @@ -1665,26 +1665,26 @@ pub mod webpage_condition_operand_enum { } } } -// Proto file describing webpage condition operator. +// Proto file describing webpage condition operator. -/// Container for enum describing webpage condition operator in webpage -/// criterion. +/// Container for enum describing webpage condition operator in webpage +/// criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageConditionOperatorEnum { } /// Nested message and enum types in `WebpageConditionOperatorEnum`. pub mod webpage_condition_operator_enum { - /// The webpage condition operator in webpage criterion. + /// The webpage condition operator in webpage criterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WebpageConditionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The argument web condition is equal to the compared web condition. + /// The argument web condition is equal to the compared web condition. Equals = 2, - /// The argument web condition is part of the compared web condition. + /// The argument web condition is part of the compared web condition. Contains = 3, } impl WebpageConditionOperator { @@ -1702,39 +1702,39 @@ pub mod webpage_condition_operator_enum { } } } -// Proto file describing call to action type. +// Proto file describing call to action type. -/// Container for enum describing the call to action types. +/// Container for enum describing the call to action types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallToActionTypeEnum { } /// Nested message and enum types in `CallToActionTypeEnum`. pub mod call_to_action_type_enum { - /// Enum describing possible types of call to action. + /// Enum describing possible types of call to action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call to action type is learn more. + /// The call to action type is learn more. LearnMore = 2, - /// The call to action type is get quote. + /// The call to action type is get quote. GetQuote = 3, - /// The call to action type is apply now. + /// The call to action type is apply now. ApplyNow = 4, - /// The call to action type is sign up. + /// The call to action type is sign up. SignUp = 5, - /// The call to action type is contact us. + /// The call to action type is contact us. ContactUs = 6, - /// The call to action type is subscribe. + /// The call to action type is subscribe. Subscribe = 7, - /// The call to action type is download. + /// The call to action type is download. Download = 8, - /// The call to action type is book now. + /// The call to action type is book now. BookNow = 9, - /// The call to action type is shop now. + /// The call to action type is shop now. ShopNow = 10, } impl CallToActionType { @@ -1759,47 +1759,47 @@ pub mod call_to_action_type_enum { } } } -/// Describes the type of call-to-action phrases in a lead form. +/// Describes the type of call-to-action phrases in a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormCallToActionTypeEnum`. pub mod lead_form_call_to_action_type_enum { - /// Enum describing the type of call-to-action phrases in a lead form. + /// Enum describing the type of call-to-action phrases in a lead form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Learn more. + /// Learn more. LearnMore = 2, - /// Get quote. + /// Get quote. GetQuote = 3, - /// Apply now. + /// Apply now. ApplyNow = 4, - /// Sign Up. + /// Sign Up. SignUp = 5, - /// Contact us. + /// Contact us. ContactUs = 6, - /// Subscribe. + /// Subscribe. Subscribe = 7, - /// Download. + /// Download. Download = 8, - /// Book now. + /// Book now. BookNow = 9, - /// Get offer. + /// Get offer. GetOffer = 10, - /// Register. + /// Register. Register = 11, - /// Get info. + /// Get info. GetInfo = 12, - /// Request a demo. + /// Request a demo. RequestDemo = 13, - /// Join now. + /// Join now. JoinNow = 14, - /// Get started. + /// Get started. GetStarted = 15, } impl LeadFormCallToActionType { @@ -1829,23 +1829,23 @@ pub mod lead_form_call_to_action_type_enum { } } } -/// Describes the desired level of intent of generated leads. +/// Describes the desired level of intent of generated leads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormDesiredIntentEnum { } /// Nested message and enum types in `LeadFormDesiredIntentEnum`. pub mod lead_form_desired_intent_enum { - /// Enum describing the desired level of intent of generated leads. + /// Enum describing the desired level of intent of generated leads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormDesiredIntent { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Deliver more leads at a potentially lower quality. + /// Deliver more leads at a potentially lower quality. LowIntent = 2, - /// Deliver leads that are more qualified. + /// Deliver leads that are more qualified. HighIntent = 3, } impl LeadFormDesiredIntent { @@ -1863,190 +1863,190 @@ pub mod lead_form_desired_intent_enum { } } } -/// Describes the input type of a lead form field. +/// Describes the input type of a lead form field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormFieldUserInputTypeEnum { } /// Nested message and enum types in `LeadFormFieldUserInputTypeEnum`. pub mod lead_form_field_user_input_type_enum { - /// Enum describing the input type of a lead form field. + /// Enum describing the input type of a lead form field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormFieldUserInputType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The user will be asked to fill in their given and family name. This field - /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. + /// The user will be asked to fill in their given and family name. This field + /// cannot be set at the same time as GIVEN_NAME or FAMILY_NAME. FullName = 2, - /// The user will be asked to fill in their email address. + /// The user will be asked to fill in their email address. Email = 3, - /// The user will be asked to fill in their phone number. + /// The user will be asked to fill in their phone number. PhoneNumber = 4, - /// The user will be asked to fill in their zip code. + /// The user will be asked to fill in their zip code. PostalCode = 5, - /// The user will be asked to fill in their city. + /// The user will be asked to fill in their city. City = 9, - /// The user will be asked to fill in their region part of the address (e.g. - /// state for US, province for Canada). + /// The user will be asked to fill in their region part of the address (e.g. + /// state for US, province for Canada). Region = 10, - /// The user will be asked to fill in their country. + /// The user will be asked to fill in their country. Country = 11, - /// The user will be asked to fill in their work email address. + /// The user will be asked to fill in their work email address. WorkEmail = 12, - /// The user will be asked to fill in their company name. + /// The user will be asked to fill in their company name. CompanyName = 13, - /// The user will be asked to fill in their work phone. + /// The user will be asked to fill in their work phone. WorkPhone = 14, - /// The user will be asked to fill in their job title. + /// The user will be asked to fill in their job title. JobTitle = 15, - /// The user will be asked to fill in their first name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their first name. This + /// field can not be set at the same time as FULL_NAME. FirstName = 23, - /// The user will be asked to fill in their last name. This - /// field can not be set at the same time as FULL_NAME. + /// The user will be asked to fill in their last name. This + /// field can not be set at the same time as FULL_NAME. LastName = 24, - /// Question: "Which model are you interested in?" - /// Category: "Auto" + /// Question: "Which model are you interested in?" + /// Category: "Auto" VehicleModel = 1001, - /// Question: "Which type of vehicle are you interested in?" - /// Category: "Auto" + /// Question: "Which type of vehicle are you interested in?" + /// Category: "Auto" VehicleType = 1002, - /// Question: "What is your preferred dealership?" - /// Category: "Auto" + /// Question: "What is your preferred dealership?" + /// Category: "Auto" PreferredDealership = 1003, - /// Question: "When do you plan on purchasing a vehicle?" - /// Category: "Auto" + /// Question: "When do you plan on purchasing a vehicle?" + /// Category: "Auto" VehiclePurchaseTimeline = 1004, - /// Question: "Do you own a vehicle?" - /// Category: "Auto" + /// Question: "Do you own a vehicle?" + /// Category: "Auto" VehicleOwnership = 1005, - /// Question: "What vehicle ownership option are you interested in?" - /// Category: "Auto" + /// Question: "What vehicle ownership option are you interested in?" + /// Category: "Auto" VehiclePaymentType = 1009, - /// Question: "What type of vehicle condition are you interested in?" - /// Category: "Auto" + /// Question: "What type of vehicle condition are you interested in?" + /// Category: "Auto" VehicleCondition = 1010, - /// Question: "What size is your company?" - /// Category: "Business" + /// Question: "What size is your company?" + /// Category: "Business" CompanySize = 1006, - /// Question: "What is your annual sales volume?" - /// Category: "Business" + /// Question: "What is your annual sales volume?" + /// Category: "Business" AnnualSales = 1007, - /// Question: "How many years have you been in business?" - /// Category: "Business" + /// Question: "How many years have you been in business?" + /// Category: "Business" YearsInBusiness = 1008, - /// Question: "What is your job department?" - /// Category: "Business" + /// Question: "What is your job department?" + /// Category: "Business" JobDepartment = 1011, - /// Question: "What is your job role?" - /// Category: "Business" + /// Question: "What is your job role?" + /// Category: "Business" JobRole = 1012, - /// Question: "Which program are you interested in?" - /// Category: "Education" + /// Question: "Which program are you interested in?" + /// Category: "Education" EducationProgram = 1013, - /// Question: "Which course are you interested in?" - /// Category: "Education" + /// Question: "Which course are you interested in?" + /// Category: "Education" EducationCourse = 1014, - /// Question: "Which product are you interested in?" - /// Category: "General" + /// Question: "Which product are you interested in?" + /// Category: "General" Product = 1016, - /// Question: "Which service are you interested in?" - /// Category: "General" + /// Question: "Which service are you interested in?" + /// Category: "General" Service = 1017, - /// Question: "Which offer are you interested in?" - /// Category: "General" + /// Question: "Which offer are you interested in?" + /// Category: "General" Offer = 1018, - /// Question: "Which category are you interested in?" - /// Category: "General" + /// Question: "Which category are you interested in?" + /// Category: "General" Category = 1019, - /// Question: "What is your preferred method of contact?" - /// Category: "General" + /// Question: "What is your preferred method of contact?" + /// Category: "General" PreferredContactMethod = 1020, - /// Question: "What is your preferred location?" - /// Category: "General" + /// Question: "What is your preferred location?" + /// Category: "General" PreferredLocation = 1021, - /// Question: "What is the best time to contact you?" - /// Category: "General" + /// Question: "What is the best time to contact you?" + /// Category: "General" PreferredContactTime = 1022, - /// Question: "When are you looking to make a purchase?" - /// Category: "General" + /// Question: "When are you looking to make a purchase?" + /// Category: "General" PurchaseTimeline = 1023, - /// Question: "How many years of work experience do you have?" - /// Category: "Jobs" + /// Question: "How many years of work experience do you have?" + /// Category: "Jobs" YearsOfExperience = 1048, - /// Question: "What industry do you work in?" - /// Category: "Jobs" + /// Question: "What industry do you work in?" + /// Category: "Jobs" JobIndustry = 1049, - /// Question: "What is your highest level of education?" - /// Category: "Jobs" + /// Question: "What is your highest level of education?" + /// Category: "Jobs" LevelOfEducation = 1050, - /// Question: "What type of property are you looking for?" - /// Category: "Real Estate" + /// Question: "What type of property are you looking for?" + /// Category: "Real Estate" PropertyType = 1024, - /// Question: "What do you need a realtor's help with?" - /// Category: "Real Estate" + /// Question: "What do you need a realtor's help with?" + /// Category: "Real Estate" RealtorHelpGoal = 1025, - /// Question: "What neighborhood are you interested in?" - /// Category: "Real Estate" + /// Question: "What neighborhood are you interested in?" + /// Category: "Real Estate" PropertyCommunity = 1026, - /// Question: "What price range are you looking for?" - /// Category: "Real Estate" + /// Question: "What price range are you looking for?" + /// Category: "Real Estate" PriceRange = 1027, - /// Question: "How many bedrooms are you looking for?" - /// Category: "Real Estate" + /// Question: "How many bedrooms are you looking for?" + /// Category: "Real Estate" NumberOfBedrooms = 1028, - /// Question: "Are you looking for a fully furnished property?" - /// Category: "Real Estate" + /// Question: "Are you looking for a fully furnished property?" + /// Category: "Real Estate" FurnishedProperty = 1029, - /// Question: "Are you looking for properties that allow pets?" - /// Category: "Real Estate" + /// Question: "Are you looking for properties that allow pets?" + /// Category: "Real Estate" PetsAllowedProperty = 1030, - /// Question: "What is the next product you plan to purchase?" - /// Category: "Retail" + /// Question: "What is the next product you plan to purchase?" + /// Category: "Retail" NextPlannedPurchase = 1031, - /// Question: "Would you like to sign up for an event?" - /// Category: "Retail" + /// Question: "Would you like to sign up for an event?" + /// Category: "Retail" EventSignupInterest = 1033, - /// Question: "Where are you interested in shopping?" - /// Category: "Retail" + /// Question: "Where are you interested in shopping?" + /// Category: "Retail" PreferredShoppingPlaces = 1034, - /// Question: "What is your favorite brand?" - /// Category: "Retail" + /// Question: "What is your favorite brand?" + /// Category: "Retail" FavoriteBrand = 1035, - /// Question: "Which type of valid commercial license do you have?" - /// Category: "Transportation" + /// Question: "Which type of valid commercial license do you have?" + /// Category: "Transportation" TransportationCommercialLicenseType = 1036, - /// Question: "Interested in booking an event?" - /// Category: "Travel" + /// Question: "Interested in booking an event?" + /// Category: "Travel" EventBookingInterest = 1038, - /// Question: "What is your destination country?" - /// Category: "Travel" + /// Question: "What is your destination country?" + /// Category: "Travel" DestinationCountry = 1039, - /// Question: "What is your destination city?" - /// Category: "Travel" + /// Question: "What is your destination city?" + /// Category: "Travel" DestinationCity = 1040, - /// Question: "What is your departure country?" - /// Category: "Travel" + /// Question: "What is your departure country?" + /// Category: "Travel" DepartureCountry = 1041, - /// Question: "What is your departure city?" - /// Category: "Travel" + /// Question: "What is your departure city?" + /// Category: "Travel" DepartureCity = 1042, - /// Question: "What is your departure date?" - /// Category: "Travel" + /// Question: "What is your departure date?" + /// Category: "Travel" DepartureDate = 1043, - /// Question: "What is your return date?" - /// Category: "Travel" + /// Question: "What is your return date?" + /// Category: "Travel" ReturnDate = 1044, - /// Question: "How many people are you traveling with?" - /// Category: "Travel" + /// Question: "How many people are you traveling with?" + /// Category: "Travel" NumberOfTravelers = 1045, - /// Question: "What is your travel budget?" - /// Category: "Travel" + /// Question: "What is your travel budget?" + /// Category: "Travel" TravelBudget = 1046, - /// Question: "Where do you want to stay during your travel?" - /// Category: "Travel" + /// Question: "Where do you want to stay during your travel?" + /// Category: "Travel" TravelAccommodation = 1047, } impl LeadFormFieldUserInputType { @@ -2122,28 +2122,28 @@ pub mod lead_form_field_user_input_type_enum { } } } -/// Describes the type of post-submit call-to-action phrases for a lead form. +/// Describes the type of post-submit call-to-action phrases for a lead form. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LeadFormPostSubmitCallToActionTypeEnum { } /// Nested message and enum types in `LeadFormPostSubmitCallToActionTypeEnum`. pub mod lead_form_post_submit_call_to_action_type_enum { - /// Enum describing the type of post-submit call-to-action phrases for a lead - /// form. + /// Enum describing the type of post-submit call-to-action phrases for a lead + /// form. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LeadFormPostSubmitCallToActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Visit site. + /// Visit site. VisitSite = 2, - /// Download. + /// Download. Download = 3, - /// Learn more. + /// Learn more. LearnMore = 4, - /// Shop now. + /// Shop now. ShopNow = 5, } impl LeadFormPostSubmitCallToActionType { @@ -2163,23 +2163,23 @@ pub mod lead_form_post_submit_call_to_action_type_enum { } } } -/// Container for enum describing different types of mobile app vendors. +/// Container for enum describing different types of mobile app vendors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppVendorEnum { } /// Nested message and enum types in `MobileAppVendorEnum`. pub mod mobile_app_vendor_enum { - /// The type of mobile app vendor + /// The type of mobile app vendor #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileAppVendor { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app vendor for Apple app store. + /// Mobile app vendor for Apple app store. AppleAppStore = 2, - /// Mobile app vendor for Google app store. + /// Mobile app vendor for Google app store. GoogleAppStore = 3, } impl MobileAppVendor { @@ -2197,27 +2197,27 @@ pub mod mobile_app_vendor_enum { } } } -// Proto file describing price extension price qualifier type. +// Proto file describing price extension price qualifier type. -/// Container for enum describing a price extension price qualifier. +/// Container for enum describing a price extension price qualifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceQualifierEnum { } /// Nested message and enum types in `PriceExtensionPriceQualifierEnum`. pub mod price_extension_price_qualifier_enum { - /// Enums of price extension price qualifier. + /// Enums of price extension price qualifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceQualifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'From' qualifier for the price. + /// 'From' qualifier for the price. From = 2, - /// 'Up to' qualifier for the price. + /// 'Up to' qualifier for the price. UpTo = 3, - /// 'Average' qualifier for the price. + /// 'Average' qualifier for the price. Average = 4, } impl PriceExtensionPriceQualifier { @@ -2236,33 +2236,33 @@ pub mod price_extension_price_qualifier_enum { } } } -// Proto file describing price extension price unit. +// Proto file describing price extension price unit. -/// Container for enum describing price extension price unit. +/// Container for enum describing price extension price unit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionPriceUnitEnum { } /// Nested message and enum types in `PriceExtensionPriceUnitEnum`. pub mod price_extension_price_unit_enum { - /// Price extension price unit. + /// Price extension price unit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionPriceUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per hour. + /// Per hour. PerHour = 2, - /// Per day. + /// Per day. PerDay = 3, - /// Per week. + /// Per week. PerWeek = 4, - /// Per month. + /// Per month. PerMonth = 5, - /// Per year. + /// Per year. PerYear = 6, - /// Per night. + /// Per night. PerNight = 7, } impl PriceExtensionPriceUnit { @@ -2284,39 +2284,39 @@ pub mod price_extension_price_unit_enum { } } } -// Proto file describing price extension type. +// Proto file describing price extension type. -/// Container for enum describing types for a price extension. +/// Container for enum describing types for a price extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceExtensionTypeEnum { } /// Nested message and enum types in `PriceExtensionTypeEnum`. pub mod price_extension_type_enum { - /// Price extension type. + /// Price extension type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriceExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The type for showing a list of brands. + /// The type for showing a list of brands. Brands = 2, - /// The type for showing a list of events. + /// The type for showing a list of events. Events = 3, - /// The type for showing locations relevant to your business. + /// The type for showing locations relevant to your business. Locations = 4, - /// The type for showing sub-regions or districts within a city or region. + /// The type for showing sub-regions or districts within a city or region. Neighborhoods = 5, - /// The type for showing a collection of product categories. + /// The type for showing a collection of product categories. ProductCategories = 6, - /// The type for showing a collection of related product tiers. + /// The type for showing a collection of related product tiers. ProductTiers = 7, - /// The type for showing a collection of services offered by your business. + /// The type for showing a collection of services offered by your business. Services = 8, - /// The type for showing a collection of service categories. + /// The type for showing a collection of service categories. ServiceCategories = 9, - /// The type for showing a collection of related service tiers. + /// The type for showing a collection of related service tiers. ServiceTiers = 10, } impl PriceExtensionType { @@ -2341,24 +2341,24 @@ pub mod price_extension_type_enum { } } } -// Proto file describing promotion extension discount modifier. +// Proto file describing promotion extension discount modifier. -/// Container for enum describing possible a promotion extension -/// discount modifier. +/// Container for enum describing possible a promotion extension +/// discount modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionDiscountModifierEnum { } /// Nested message and enum types in `PromotionExtensionDiscountModifierEnum`. pub mod promotion_extension_discount_modifier_enum { - /// A promotion extension discount modifier. + /// A promotion extension discount modifier. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionDiscountModifier { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// 'Up to'. + /// 'Up to'. UpTo = 2, } impl PromotionExtensionDiscountModifier { @@ -2375,97 +2375,97 @@ pub mod promotion_extension_discount_modifier_enum { } } } -// Proto file describing promotion extension occasion. +// Proto file describing promotion extension occasion. -/// Container for enum describing a promotion extension occasion. -/// For more information about the occasions please check: -/// +/// Container for enum describing a promotion extension occasion. +/// For more information about the occasions please check: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionExtensionOccasionEnum { } /// Nested message and enum types in `PromotionExtensionOccasionEnum`. pub mod promotion_extension_occasion_enum { - /// A promotion extension occasion. + /// A promotion extension occasion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionExtensionOccasion { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// New Year's. + /// New Year's. NewYears = 2, - /// Chinese New Year. + /// Chinese New Year. ChineseNewYear = 3, - /// Valentine's Day. + /// Valentine's Day. ValentinesDay = 4, - /// Easter. + /// Easter. Easter = 5, - /// Mother's Day. + /// Mother's Day. MothersDay = 6, - /// Father's Day. + /// Father's Day. FathersDay = 7, - /// Labor Day. + /// Labor Day. LaborDay = 8, - /// Back To School. + /// Back To School. BackToSchool = 9, - /// Halloween. + /// Halloween. Halloween = 10, - /// Black Friday. + /// Black Friday. BlackFriday = 11, - /// Cyber Monday. + /// Cyber Monday. CyberMonday = 12, - /// Christmas. + /// Christmas. Christmas = 13, - /// Boxing Day. + /// Boxing Day. BoxingDay = 14, - /// Independence Day in any country. + /// Independence Day in any country. IndependenceDay = 15, - /// National Day in any country. + /// National Day in any country. NationalDay = 16, - /// End of any season. + /// End of any season. EndOfSeason = 17, - /// Winter Sale. + /// Winter Sale. WinterSale = 18, - /// Summer sale. + /// Summer sale. SummerSale = 19, - /// Fall Sale. + /// Fall Sale. FallSale = 20, - /// Spring Sale. + /// Spring Sale. SpringSale = 21, - /// Ramadan. + /// Ramadan. Ramadan = 22, - /// Eid al-Fitr. + /// Eid al-Fitr. EidAlFitr = 23, - /// Eid al-Adha. + /// Eid al-Adha. EidAlAdha = 24, - /// Singles Day. + /// Singles Day. SinglesDay = 25, - /// Women's Day. + /// Women's Day. WomensDay = 26, - /// Holi. + /// Holi. Holi = 27, - /// Parent's Day. + /// Parent's Day. ParentsDay = 28, - /// St. Nicholas Day. + /// St. Nicholas Day. StNicholasDay = 29, - /// Carnival. + /// Carnival. Carnival = 30, - /// Epiphany, also known as Three Kings' Day. + /// Epiphany, also known as Three Kings' Day. Epiphany = 31, - /// Rosh Hashanah. + /// Rosh Hashanah. RoshHashanah = 32, - /// Passover. + /// Passover. Passover = 33, - /// Hanukkah. + /// Hanukkah. Hanukkah = 34, - /// Diwali. + /// Diwali. Diwali = 35, - /// Navratri. + /// Navratri. Navratri = 36, - /// Available in Thai: Songkran. + /// Available in Thai: Songkran. Songkran = 37, - /// Available in Japanese: Year-end Gift. + /// Available in Japanese: Year-end Gift. YearEndGift = 38, } impl PromotionExtensionOccasion { @@ -2518,29 +2518,29 @@ pub mod promotion_extension_occasion_enum { } } } -// Proto file describing target impression share goal. +// Proto file describing target impression share goal. -/// Container for enum describing where on the first search results page the -/// automated bidding system should target impressions for the -/// TargetImpressionShare bidding strategy. +/// Container for enum describing where on the first search results page the +/// automated bidding system should target impressions for the +/// TargetImpressionShare bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShareLocationEnum { } /// Nested message and enum types in `TargetImpressionShareLocationEnum`. pub mod target_impression_share_location_enum { - /// Enum describing possible goals. + /// Enum describing possible goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetImpressionShareLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Any location on the web page. + /// Any location on the web page. AnywhereOnPage = 2, - /// Top box of ads. + /// Top box of ads. TopOfPage = 3, - /// Top slot in the top box of ads. + /// Top slot in the top box of ads. AbsoluteTopOfPage = 4, } impl TargetImpressionShareLocation { @@ -2559,62 +2559,62 @@ pub mod target_impression_share_location_enum { } } } -// Proto file describing advertising channel subtypes. +// Proto file describing advertising channel subtypes. -/// An immutable specialization of an Advertising Channel. +/// An immutable specialization of an Advertising Channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelSubTypeEnum { } /// Nested message and enum types in `AdvertisingChannelSubTypeEnum`. pub mod advertising_channel_sub_type_enum { - /// Enum describing the different channel subtypes. + /// Enum describing the different channel subtypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelSubType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile app campaigns for Search. + /// Mobile app campaigns for Search. SearchMobileApp = 2, - /// Mobile app campaigns for Display. + /// Mobile app campaigns for Display. DisplayMobileApp = 3, - /// AdWords express campaigns for search. + /// AdWords express campaigns for search. SearchExpress = 4, - /// AdWords Express campaigns for display. + /// AdWords Express campaigns for display. DisplayExpress = 5, - /// Smart Shopping campaigns. + /// Smart Shopping campaigns. ShoppingSmartAds = 6, - /// Gmail Ad campaigns. + /// Gmail Ad campaigns. DisplayGmailAd = 7, - /// Smart display campaigns. + /// Smart display campaigns. DisplaySmartCampaign = 8, - /// Video Outstream campaigns. + /// Video Outstream campaigns. VideoOutstream = 9, - /// Video TrueView for Action campaigns. + /// Video TrueView for Action campaigns. VideoAction = 10, - /// Video campaigns with non-skippable video ads. + /// Video campaigns with non-skippable video ads. VideoNonSkippable = 11, - /// App Campaign that allows you to easily promote your Android or iOS app - /// across Google's top properties including Search, Play, YouTube, and the - /// Google Display Network. + /// App Campaign that allows you to easily promote your Android or iOS app + /// across Google's top properties including Search, Play, YouTube, and the + /// Google Display Network. AppCampaign = 12, - /// App Campaign for engagement, focused on driving re-engagement with the - /// app across several of Google’s top properties including Search, YouTube, - /// and the Google Display Network. + /// App Campaign for engagement, focused on driving re-engagement with the + /// app across several of Google’s top properties including Search, YouTube, + /// and the Google Display Network. AppCampaignForEngagement = 13, - /// Campaigns specialized for local advertising. + /// Campaigns specialized for local advertising. LocalCampaign = 14, - /// Shopping Comparison Listing campaigns. + /// Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 15, - /// Standard Smart campaigns. + /// Standard Smart campaigns. SmartCampaign = 16, - /// Video campaigns with sequence video ads. + /// Video campaigns with sequence video ads. VideoSequence = 17, - /// App Campaign for pre registration, specialized for advertising mobile - /// app pre-registration, that targets multiple advertising channels across - /// Google Play, YouTube and Display Network. See - /// to learn more. + /// App Campaign for pre registration, specialized for advertising mobile + /// app pre-registration, that targets multiple advertising channels across + /// Google Play, YouTube and Display Network. See + /// to learn more. AppCampaignForPreRegistration = 18, } impl AdvertisingChannelSubType { @@ -2647,41 +2647,41 @@ pub mod advertising_channel_sub_type_enum { } } } -// Proto file describing advertising channel types +// Proto file describing advertising channel types -/// The channel type a campaign may target to serve on. +/// The channel type a campaign may target to serve on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvertisingChannelTypeEnum { } /// Nested message and enum types in `AdvertisingChannelTypeEnum`. pub mod advertising_channel_type_enum { - /// Enum describing the various advertising channel types. + /// Enum describing the various advertising channel types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisingChannelType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search Network. Includes display bundled, and Search+ campaigns. + /// Search Network. Includes display bundled, and Search+ campaigns. Search = 2, - /// Google Display Network only. + /// Google Display Network only. Display = 3, - /// Shopping campaigns serve on the shopping property - /// and on google.com search results. + /// Shopping campaigns serve on the shopping property + /// and on google.com search results. Shopping = 4, - /// Hotel Ads campaigns. + /// Hotel Ads campaigns. Hotel = 5, - /// Video campaigns. + /// Video campaigns. Video = 6, - /// App Campaigns, and App Campaigns for Engagement, that run - /// across multiple channels. + /// App Campaigns, and App Campaigns for Engagement, that run + /// across multiple channels. MultiChannel = 7, - /// Local ads campaigns. + /// Local ads campaigns. Local = 8, - /// Smart campaigns. + /// Smart campaigns. Smart = 9, - /// Performance Max campaigns. + /// Performance Max campaigns. PerformanceMax = 10, } impl AdvertisingChannelType { @@ -2706,32 +2706,32 @@ pub mod advertising_channel_type_enum { } } } -// Proto file describing the criterion category channel availability mode. +// Proto file describing the criterion category channel availability mode. -/// Describes channel availability mode for a criterion availability - whether -/// the availability is meant to include all advertising channels, or a -/// particular channel with all its channel subtypes, or a channel with a certain -/// subset of channel subtypes. +/// Describes channel availability mode for a criterion availability - whether +/// the availability is meant to include all advertising channels, or a +/// particular channel with all its channel subtypes, or a channel with a certain +/// subset of channel subtypes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryChannelAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryChannelAvailabilityModeEnum`. pub mod criterion_category_channel_availability_mode_enum { - /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. + /// Enum containing the possible CriterionCategoryChannelAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryChannelAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all channel types and subtypes. + /// The category is available to campaigns of all channel types and subtypes. AllChannels = 2, - /// The category is available to campaigns of a specific channel type, - /// including all subtypes under it. + /// The category is available to campaigns of a specific channel type, + /// including all subtypes under it. ChannelTypeAndAllSubtypes = 3, - /// The category is available to campaigns of a specific channel type and - /// subtype(s). + /// The category is available to campaigns of a specific channel type and + /// subtype(s). ChannelTypeAndSubsetSubtypes = 4, } impl CriterionCategoryChannelAvailabilityMode { @@ -2750,34 +2750,34 @@ pub mod criterion_category_channel_availability_mode_enum { } } } -// Proto file describing the criterion category locale availability mode. +// Proto file describing the criterion category locale availability mode. -/// Describes locale availability mode for a criterion availability - whether -/// it's available globally, or a particular country with all languages, or a -/// particular language with all countries, or a country-language pair. +/// Describes locale availability mode for a criterion availability - whether +/// it's available globally, or a particular country with all languages, or a +/// particular language with all countries, or a country-language pair. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionCategoryLocaleAvailabilityModeEnum { } /// Nested message and enum types in `CriterionCategoryLocaleAvailabilityModeEnum`. pub mod criterion_category_locale_availability_mode_enum { - /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. + /// Enum containing the possible CriterionCategoryLocaleAvailabilityMode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionCategoryLocaleAvailabilityMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is available to campaigns of all locales. + /// The category is available to campaigns of all locales. AllLocales = 2, - /// The category is available to campaigns within a list of countries, - /// regardless of language. + /// The category is available to campaigns within a list of countries, + /// regardless of language. CountryAndAllLanguages = 3, - /// The category is available to campaigns within a list of languages, - /// regardless of country. + /// The category is available to campaigns within a list of languages, + /// regardless of country. LanguageAndAllCountries = 4, - /// The category is available to campaigns within a list of country, language - /// pairs. + /// The category is available to campaigns within a list of country, language + /// pairs. CountryAndLanguage = 5, } impl CriterionCategoryLocaleAvailabilityMode { @@ -2797,29 +2797,29 @@ pub mod criterion_category_locale_availability_mode_enum { } } } -// Proto file describing customizer attribute type. +// Proto file describing customizer attribute type. -/// Container for enum describing possible types of a customizer attribute. +/// Container for enum describing possible types of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeTypeEnum { } /// Nested message and enum types in `CustomizerAttributeTypeEnum`. pub mod customizer_attribute_type_enum { - /// The possible types of a customizer attribute. + /// The possible types of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeType { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// Text customizer. + /// Text customizer. Text = 2, - /// Number customizer. + /// Number customizer. Number = 3, - /// Price customizer consisting of a number and a currency. + /// Price customizer consisting of a number and a currency. Price = 4, - /// Percentage customizer consisting of a number and a '%'. + /// Percentage customizer consisting of a number and a '%'. Percent = 5, } impl CustomizerAttributeType { @@ -2839,45 +2839,45 @@ pub mod customizer_attribute_type_enum { } } } -// Proto file describing days of week. +// Proto file describing days of week. -/// Container for enumeration of months of the year, e.g., "January". +/// Container for enumeration of months of the year, e.g., "January". #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonthOfYearEnum { } /// Nested message and enum types in `MonthOfYearEnum`. pub mod month_of_year_enum { - /// Enumerates months of the year, e.g., "January". + /// Enumerates months of the year, e.g., "January". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MonthOfYear { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// January. + /// January. January = 2, - /// February. + /// February. February = 3, - /// March. + /// March. March = 4, - /// April. + /// April. April = 5, - /// May. + /// May. May = 6, - /// June. + /// June. June = 7, - /// July. + /// July. July = 8, - /// August. + /// August. August = 9, - /// September. + /// September. September = 10, - /// October. + /// October. October = 11, - /// November. + /// November. November = 12, - /// December. + /// December. December = 13, } impl MonthOfYear { @@ -2905,25 +2905,25 @@ pub mod month_of_year_enum { } } } -// Proto file describing app store types for an app extension. +// Proto file describing app store types for an app extension. -/// Container for enum describing app store type in an app extension. +/// Container for enum describing app store type in an app extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppStoreEnum { } /// Nested message and enum types in `AppStoreEnum`. pub mod app_store_enum { - /// App store type in an app extension. + /// App store type in an app extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple iTunes. + /// Apple iTunes. AppleItunes = 2, - /// Google Play. + /// Google Play. GooglePlay = 3, } impl AppStore { @@ -2941,21 +2941,21 @@ pub mod app_store_enum { } } } -/// The type of string matching to be used for a dynamic FeedItemSet filter. +/// The type of string matching to be used for a dynamic FeedItemSet filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStringFilterTypeEnum { } /// Nested message and enum types in `FeedItemSetStringFilterTypeEnum`. pub mod feed_item_set_string_filter_type_enum { - /// describe the possible types for a FeedItemSetStringFilter. + /// describe the possible types for a FeedItemSetStringFilter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStringFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The dynamic set filter will use exact string matching. + /// The dynamic set filter will use exact string matching. Exact = 2, } impl FeedItemSetStringFilterType { @@ -2972,25 +2972,25 @@ pub mod feed_item_set_string_filter_type_enum { } } } -// Proto file describing operating system for a deeplink app URL. +// Proto file describing operating system for a deeplink app URL. -/// The possible OS types for a deeplink AppUrl. +/// The possible OS types for a deeplink AppUrl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppUrlOperatingSystemTypeEnum { } /// Nested message and enum types in `AppUrlOperatingSystemTypeEnum`. pub mod app_url_operating_system_type_enum { - /// Operating System + /// Operating System #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppUrlOperatingSystemType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The Apple IOS operating system. + /// The Apple IOS operating system. Ios = 2, - /// The Android operating system. + /// The Android operating system. Android = 3, } impl AppUrlOperatingSystemType { @@ -3008,25 +3008,25 @@ pub mod app_url_operating_system_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the type of event that the cap applies to. +/// Container for enum describing the type of event that the cap applies to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapEventTypeEnum { } /// Nested message and enum types in `FrequencyCapEventTypeEnum`. pub mod frequency_cap_event_type_enum { - /// The type of event that the cap applies to (e.g. impression). + /// The type of event that the cap applies to (e.g. impression). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap applies on ad impressions. + /// The cap applies on ad impressions. Impression = 2, - /// The cap applies on video ad views. + /// The cap applies on video ad views. VideoView = 3, } impl FrequencyCapEventType { @@ -3044,28 +3044,28 @@ pub mod frequency_cap_event_type_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the level on which the cap is to be applied. +/// Container for enum describing the level on which the cap is to be applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapLevelEnum { } /// Nested message and enum types in `FrequencyCapLevelEnum`. pub mod frequency_cap_level_enum { - /// The level on which the cap is to be applied (e.g ad group ad, ad group). - /// Cap is applied to all the resources of this level. + /// The level on which the cap is to be applied (e.g ad group ad, ad group). + /// Cap is applied to all the resources of this level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap is applied at the ad group ad level. + /// The cap is applied at the ad group ad level. AdGroupAd = 2, - /// The cap is applied at the ad group level. + /// The cap is applied at the ad group level. AdGroup = 3, - /// The cap is applied at the campaign level. + /// The cap is applied at the campaign level. Campaign = 4, } impl FrequencyCapLevel { @@ -3084,27 +3084,27 @@ pub mod frequency_cap_level_enum { } } } -// Proto file describing frequency caps. +// Proto file describing frequency caps. -/// Container for enum describing the unit of time the cap is defined at. +/// Container for enum describing the unit of time the cap is defined at. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCapTimeUnitEnum { } /// Nested message and enum types in `FrequencyCapTimeUnitEnum`. pub mod frequency_cap_time_unit_enum { - /// Unit of time the cap is defined at (e.g. day, week). + /// Unit of time the cap is defined at (e.g. day, week). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FrequencyCapTimeUnit { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The cap would define limit per one day. + /// The cap would define limit per one day. Day = 2, - /// The cap would define limit per one week. + /// The cap would define limit per one week. Week = 3, - /// The cap would define limit per one month. + /// The cap would define limit per one month. Month = 4, } impl FrequencyCapTimeUnit { @@ -3123,23 +3123,23 @@ pub mod frequency_cap_time_unit_enum { } } } -// Proto file describing keyword plan aggregate metric types. +// Proto file describing keyword plan aggregate metric types. -/// The enumeration of keyword plan aggregate metric types. +/// The enumeration of keyword plan aggregate metric types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAggregateMetricTypeEnum { } /// Nested message and enum types in `KeywordPlanAggregateMetricTypeEnum`. pub mod keyword_plan_aggregate_metric_type_enum { - /// Aggregate fields. + /// Aggregate fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAggregateMetricType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The device breakdown of aggregate search volume. + /// The device breakdown of aggregate search volume. Device = 2, } impl KeywordPlanAggregateMetricType { @@ -3156,31 +3156,31 @@ pub mod keyword_plan_aggregate_metric_type_enum { } } } -// Proto file describing Keyword Planner competition levels. +// Proto file describing Keyword Planner competition levels. -/// Container for enumeration of keyword competition levels. The competition -/// level indicates how competitive ad placement is for a keyword and -/// is determined by the number of advertisers bidding on that keyword relative -/// to all keywords across Google. The competition level can depend on the -/// location and Search Network targeting options you've selected. +/// Container for enumeration of keyword competition levels. The competition +/// level indicates how competitive ad placement is for a keyword and +/// is determined by the number of advertisers bidding on that keyword relative +/// to all keywords across Google. The competition level can depend on the +/// location and Search Network targeting options you've selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCompetitionLevelEnum { } /// Nested message and enum types in `KeywordPlanCompetitionLevelEnum`. pub mod keyword_plan_competition_level_enum { - /// Competition level of a keyword. + /// Competition level of a keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCompetitionLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Low competition. The Competition Index range for this is [0, 33]. + /// Low competition. The Competition Index range for this is [0, 33]. Low = 2, - /// Medium competition. The Competition Index range for this is [34, 66]. + /// Medium competition. The Competition Index range for this is [34, 66]. Medium = 3, - /// High competition. The Competition Index range for this is [67, 100]. + /// High competition. The Competition Index range for this is [67, 100]. High = 4, } impl KeywordPlanCompetitionLevel { @@ -3199,32 +3199,32 @@ pub mod keyword_plan_competition_level_enum { } } } -// Proto file describing Keyword Planner Concept Group types. +// Proto file describing Keyword Planner Concept Group types. -/// Container for enumeration of keyword plan concept group types. +/// Container for enumeration of keyword plan concept group types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanConceptGroupTypeEnum { } /// Nested message and enum types in `KeywordPlanConceptGroupTypeEnum`. pub mod keyword_plan_concept_group_type_enum { - /// Enumerates keyword plan concept group types. + /// Enumerates keyword plan concept group types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanConceptGroupType { - /// The concept group classification different from brand/non-brand. - /// This is a catch all bucket for all classifications that are none of the - /// below. + /// The concept group classification different from brand/non-brand. + /// This is a catch all bucket for all classifications that are none of the + /// below. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The concept group classification is based on BRAND. + /// The concept group classification is based on BRAND. Brand = 2, - /// The concept group classification based on BRAND, that didn't fit well - /// with the BRAND classifications. These are generally outliers and can have - /// very few keywords in this type of classification. + /// The concept group classification based on BRAND, that didn't fit well + /// with the BRAND classifications. These are generally outliers and can have + /// very few keywords in this type of classification. OtherBrands = 3, - /// These concept group classification is not based on BRAND. This is - /// returned for generic keywords that don't have a brand association. + /// These concept group classification is not based on BRAND. This is + /// returned for generic keywords that don't have a brand association. NonBrand = 4, } impl KeywordPlanConceptGroupType { @@ -3243,27 +3243,27 @@ pub mod keyword_plan_concept_group_type_enum { } } } -// Proto file describing matching function context types. +// Proto file describing matching function context types. -/// Container for context types for an operand in a matching function. +/// Container for context types for an operand in a matching function. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionContextTypeEnum { } /// Nested message and enum types in `MatchingFunctionContextTypeEnum`. pub mod matching_function_context_type_enum { - /// Possible context types for an operand in a matching function. + /// Possible context types for an operand in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionContextType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item id in the request context. + /// Feed item id in the request context. FeedItemId = 2, - /// The device being used (possible values are 'Desktop' or 'Mobile'). + /// The device being used (possible values are 'Desktop' or 'Mobile'). DeviceName = 3, - /// Feed item set id in the request context. + /// Feed item set id in the request context. FeedItemSetId = 4, } impl MatchingFunctionContextType { @@ -3282,37 +3282,37 @@ pub mod matching_function_context_type_enum { } } } -// Proto file describing matching function operators. +// Proto file describing matching function operators. -/// Container for enum describing matching function operator. +/// Container for enum describing matching function operator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingFunctionOperatorEnum { } /// Nested message and enum types in `MatchingFunctionOperatorEnum`. pub mod matching_function_operator_enum { - /// Possible operators in a matching function. + /// Possible operators in a matching function. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchingFunctionOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The IN operator. + /// The IN operator. In = 2, - /// The IDENTITY operator. + /// The IDENTITY operator. Identity = 3, - /// The EQUALS operator + /// The EQUALS operator Equals = 4, - /// Operator that takes two or more operands that are of type - /// FunctionOperand and checks that all the operands evaluate to true. - /// For functions related to ad formats, all the operands must be in - /// left_operands. + /// Operator that takes two or more operands that are of type + /// FunctionOperand and checks that all the operands evaluate to true. + /// For functions related to ad formats, all the operands must be in + /// left_operands. And = 5, - /// Operator that returns true if the elements in left_operands contain any - /// of the elements in right_operands. Otherwise, return false. The - /// right_operands must contain at least 1 and no more than 3 - /// ConstantOperands. + /// Operator that returns true if the elements in left_operands contain any + /// of the elements in right_operands. Otherwise, return false. The + /// right_operands must contain at least 1 and no more than 3 + /// ConstantOperands. ContainsAny = 6, } impl MatchingFunctionOperator { @@ -3333,35 +3333,35 @@ pub mod matching_function_operator_enum { } } } -// Proto file describing types of payable and free interactions. +// Proto file describing types of payable and free interactions. -/// Container for enum describing types of payable and free interactions. +/// Container for enum describing types of payable and free interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InteractionEventTypeEnum { } /// Nested message and enum types in `InteractionEventTypeEnum`. pub mod interaction_event_type_enum { - /// Enum describing possible types of payable and free interactions. + /// Enum describing possible types of payable and free interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InteractionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Click to site. In most cases, this interaction navigates to an external - /// location, usually the advertiser's landing page. This is also the default - /// InteractionEventType for click events. + /// Click to site. In most cases, this interaction navigates to an external + /// location, usually the advertiser's landing page. This is also the default + /// InteractionEventType for click events. Click = 2, - /// The user's expressed intent to engage with the ad in-place. + /// The user's expressed intent to engage with the ad in-place. Engagement = 3, - /// User viewed a video ad. + /// User viewed a video ad. VideoView = 4, - /// The default InteractionEventType for ad conversion events. - /// This is used when an ad conversion row does NOT indicate - /// that the free interactions (i.e., the ad conversions) - /// should be 'promoted' and reported as part of the core metrics. - /// These are simply other (ad) conversions. + /// The default InteractionEventType for ad conversion events. + /// This is used when an ad conversion row does NOT indicate + /// that the free interactions (i.e., the ad conversions) + /// should be 'promoted' and reported as part of the core metrics. + /// These are simply other (ad) conversions. None = 5, } impl InteractionEventType { @@ -3381,27 +3381,27 @@ pub mod interaction_event_type_enum { } } } -// Proto file describing quality score buckets. +// Proto file describing quality score buckets. -/// The relative performance compared to other advertisers. +/// The relative performance compared to other advertisers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityScoreBucketEnum { } /// Nested message and enum types in `QualityScoreBucketEnum`. pub mod quality_score_bucket_enum { - /// Enum listing the possible quality score buckets. + /// Enum listing the possible quality score buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QualityScoreBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Quality of the creative is below average. + /// Quality of the creative is below average. BelowAverage = 2, - /// Quality of the creative is average. + /// Quality of the creative is average. Average = 3, - /// Quality of the creative is above average. + /// Quality of the creative is above average. AboveAverage = 4, } impl QualityScoreBucket { @@ -3420,29 +3420,29 @@ pub mod quality_score_bucket_enum { } } } -// Proto file describing user identifier source +// Proto file describing user identifier source -/// Container for enum describing the source of the user identifier for offline -/// Store Sales, click conversion, and conversion adjustment uploads. +/// Container for enum describing the source of the user identifier for offline +/// Store Sales, click conversion, and conversion adjustment uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserIdentifierSourceEnum { } /// Nested message and enum types in `UserIdentifierSourceEnum`. pub mod user_identifier_source_enum { - /// The type of user identifier source for offline Store Sales, click - /// conversion, and conversion adjustment uploads. + /// The type of user identifier source for offline Store Sales, click + /// conversion, and conversion adjustment uploads. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserIdentifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version + /// Used for return value only. Represents value unknown in this version Unknown = 1, - /// Indicates that the user identifier was provided by the first party - /// (advertiser). + /// Indicates that the user identifier was provided by the first party + /// (advertiser). FirstParty = 2, - /// Indicates that the user identifier was provided by the third party - /// (partner). + /// Indicates that the user identifier was provided by the third party + /// (partner). ThirdParty = 3, } impl UserIdentifierSource { @@ -3460,43 +3460,43 @@ pub mod user_identifier_source_enum { } } } -// Proto file describing ad destination types. +// Proto file describing ad destination types. -/// Container for enumeration of Google Ads destination types. +/// Container for enumeration of Google Ads destination types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdDestinationTypeEnum { } /// Nested message and enum types in `AdDestinationTypeEnum`. pub mod ad_destination_type_enum { - /// Enumerates Google Ads destination types + /// Enumerates Google Ads destination types #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdDestinationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Ads that don't intend to drive users off from ads to other destinations + /// Ads that don't intend to drive users off from ads to other destinations NotApplicable = 2, - /// Website + /// Website Website = 3, - /// App Deep Link + /// App Deep Link AppDeepLink = 4, - /// iOS App Store or Play Store + /// iOS App Store or Play Store AppStore = 5, - /// Call Dialer + /// Call Dialer PhoneCall = 6, - /// Map App + /// Map App MapDirections = 7, - /// Location Dedicated Page + /// Location Dedicated Page LocationListing = 8, - /// Text Message + /// Text Message Message = 9, - /// Lead Generation Form + /// Lead Generation Form LeadForm = 10, - /// YouTube + /// YouTube Youtube = 11, - /// Ad Destination for Conversions with keys unknown + /// Ad Destination for Conversions with keys unknown UnmodeledForConversions = 12, } impl AdDestinationType { @@ -3523,33 +3523,33 @@ pub mod ad_destination_type_enum { } } } -// Proto file describing ad network types. +// Proto file describing ad network types. -/// Container for enumeration of Google Ads network types. +/// Container for enumeration of Google Ads network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdNetworkTypeEnum { } /// Nested message and enum types in `AdNetworkTypeEnum`. pub mod ad_network_type_enum { - /// Enumerates Google Ads network types. + /// Enumerates Google Ads network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdNetworkType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search. + /// Google search. Search = 2, - /// Search partners. + /// Search partners. SearchPartners = 3, - /// Display Network. + /// Display Network. Content = 4, - /// YouTube Search. + /// YouTube Search. YoutubeSearch = 5, - /// YouTube Videos + /// YouTube Videos YoutubeWatch = 6, - /// Cross-network. + /// Cross-network. Mixed = 7, } impl AdNetworkType { @@ -3571,26 +3571,26 @@ pub mod ad_network_type_enum { } } } -// Proto file describing Budget and Campaign association status. +// Proto file describing Budget and Campaign association status. -/// Message describing the status of the association between the Budget and the -/// Campaign. +/// Message describing the status of the association between the Budget and the +/// Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetCampaignAssociationStatusEnum { } /// Nested message and enum types in `BudgetCampaignAssociationStatusEnum`. pub mod budget_campaign_association_status_enum { - /// Possible statuses of the association between the Budget and the Campaign. + /// Possible statuses of the association between the Budget and the Campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetCampaignAssociationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign is currently using the budget. + /// The campaign is currently using the budget. Enabled = 2, - /// The campaign is no longer using the budget. + /// The campaign is no longer using the budget. Removed = 3, } impl BudgetCampaignAssociationStatus { @@ -3608,127 +3608,127 @@ pub mod budget_campaign_association_status_enum { } } } -// Proto file describing click types. +// Proto file describing click types. -/// Container for enumeration of Google Ads click types. +/// Container for enumeration of Google Ads click types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickTypeEnum { } /// Nested message and enum types in `ClickTypeEnum`. pub mod click_type_enum { - /// Enumerates Google Ads click types. + /// Enumerates Google Ads click types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ClickType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// App engagement ad deep link. + /// App engagement ad deep link. AppDeeplink = 2, - /// Breadcrumbs. + /// Breadcrumbs. Breadcrumbs = 3, - /// Broadband Plan. + /// Broadband Plan. BroadbandPlan = 4, - /// Manually dialed phone calls. + /// Manually dialed phone calls. CallTracking = 5, - /// Phone calls. + /// Phone calls. Calls = 6, - /// Click on engagement ad. + /// Click on engagement ad. ClickOnEngagementAd = 7, - /// Driving direction. + /// Driving direction. GetDirections = 8, - /// Get location details. + /// Get location details. LocationExpansion = 9, - /// Call. + /// Call. LocationFormatCall = 10, - /// Directions. + /// Directions. LocationFormatDirections = 11, - /// Image(s). + /// Image(s). LocationFormatImage = 12, - /// Go to landing page. + /// Go to landing page. LocationFormatLandingPage = 13, - /// Map. + /// Map. LocationFormatMap = 14, - /// Go to store info. + /// Go to store info. LocationFormatStoreInfo = 15, - /// Text. + /// Text. LocationFormatText = 16, - /// Mobile phone calls. + /// Mobile phone calls. MobileCallTracking = 17, - /// Print offer. + /// Print offer. OfferPrints = 18, - /// Other. + /// Other. Other = 19, - /// Product plusbox offer. + /// Product plusbox offer. ProductExtensionClicks = 20, - /// Shopping - Product - Online. + /// Shopping - Product - Online. ProductListingAdClicks = 21, - /// Sitelink. + /// Sitelink. Sitelinks = 22, - /// Show nearby locations. + /// Show nearby locations. StoreLocator = 23, - /// Headline. + /// Headline. UrlClicks = 25, - /// App store. + /// App store. VideoAppStoreClicks = 26, - /// Call-to-Action overlay. + /// Call-to-Action overlay. VideoCallToActionClicks = 27, - /// Cards. + /// Cards. VideoCardActionHeadlineClicks = 28, - /// End cap. + /// End cap. VideoEndCapClicks = 29, - /// Website. + /// Website. VideoWebsiteClicks = 30, - /// Visual Sitelinks. + /// Visual Sitelinks. VisualSitelinks = 31, - /// Wireless Plan. + /// Wireless Plan. WirelessPlan = 32, - /// Shopping - Product - Local. + /// Shopping - Product - Local. ProductListingAdLocal = 33, - /// Shopping - Product - MultiChannel Local. + /// Shopping - Product - MultiChannel Local. ProductListingAdMultichannelLocal = 34, - /// Shopping - Product - MultiChannel Online. + /// Shopping - Product - MultiChannel Online. ProductListingAdMultichannelOnline = 35, - /// Shopping - Product - Coupon. + /// Shopping - Product - Coupon. ProductListingAdsCoupon = 36, - /// Shopping - Product - Sell on Google. + /// Shopping - Product - Sell on Google. ProductListingAdTransactable = 37, - /// Shopping - Product - App engagement ad deep link. + /// Shopping - Product - App engagement ad deep link. ProductAdAppDeeplink = 38, - /// Shopping - Showcase - Category. + /// Shopping - Showcase - Category. ShowcaseAdCategoryLink = 39, - /// Shopping - Showcase - Local storefront. + /// Shopping - Showcase - Local storefront. ShowcaseAdLocalStorefrontLink = 40, - /// Shopping - Showcase - Online product. + /// Shopping - Showcase - Online product. ShowcaseAdOnlineProductLink = 42, - /// Shopping - Showcase - Local product. + /// Shopping - Showcase - Local product. ShowcaseAdLocalProductLink = 43, - /// Promotion Extension. + /// Promotion Extension. PromotionExtension = 44, - /// Ad Headline. + /// Ad Headline. SwipeableGalleryAdHeadline = 45, - /// Swipes. + /// Swipes. SwipeableGalleryAdSwipes = 46, - /// See More. + /// See More. SwipeableGalleryAdSeeMore = 47, - /// Sitelink 1. + /// Sitelink 1. SwipeableGalleryAdSitelinkOne = 48, - /// Sitelink 2. + /// Sitelink 2. SwipeableGalleryAdSitelinkTwo = 49, - /// Sitelink 3. + /// Sitelink 3. SwipeableGalleryAdSitelinkThree = 50, - /// Sitelink 4. + /// Sitelink 4. SwipeableGalleryAdSitelinkFour = 51, - /// Sitelink 5. + /// Sitelink 5. SwipeableGalleryAdSitelinkFive = 52, - /// Hotel price. + /// Hotel price. HotelPrice = 53, - /// Price Extension. + /// Price Extension. PriceExtension = 54, - /// Book on Google hotel room selection. + /// Book on Google hotel room selection. HotelBookOnGoogleRoomSelection = 55, - /// Shopping - Comparison Listing. + /// Shopping - Comparison Listing. ShoppingComparisonListing = 56, } impl ClickType { @@ -3797,63 +3797,63 @@ pub mod click_type_enum { } } } -/// Container for enum describing the category of conversions that are associated -/// with a ConversionAction. +/// Container for enum describing the category of conversions that are associated +/// with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCategoryEnum { } /// Nested message and enum types in `ConversionActionCategoryEnum`. pub mod conversion_action_category_enum { - /// The category of conversions that are associated with a ConversionAction. + /// The category of conversions that are associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCategory { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Default category. + /// Default category. Default = 2, - /// User visiting a page. + /// User visiting a page. PageView = 3, - /// Purchase, sales, or "order placed" event. + /// Purchase, sales, or "order placed" event. Purchase = 4, - /// Signup user action. + /// Signup user action. Signup = 5, - /// Lead-generating action. + /// Lead-generating action. Lead = 6, - /// Software download action (as for an app). + /// Software download action (as for an app). Download = 7, - /// The addition of items to a shopping cart or bag on an advertiser site. + /// The addition of items to a shopping cart or bag on an advertiser site. AddToCart = 8, - /// When someone enters the checkout flow on an advertiser site. + /// When someone enters the checkout flow on an advertiser site. BeginCheckout = 9, - /// The start of a paid subscription for a product or service. + /// The start of a paid subscription for a product or service. SubscribePaid = 10, - /// A call to indicate interest in an advertiser's offering. + /// A call to indicate interest in an advertiser's offering. PhoneCallLead = 11, - /// A lead conversion imported from an external source into Google Ads. + /// A lead conversion imported from an external source into Google Ads. ImportedLead = 12, - /// A submission of a form on an advertiser site indicating business - /// interest. + /// A submission of a form on an advertiser site indicating business + /// interest. SubmitLeadForm = 13, - /// A booking of an appointment with an advertiser's business. + /// A booking of an appointment with an advertiser's business. BookAppointment = 14, - /// A quote or price estimate request. + /// A quote or price estimate request. RequestQuote = 15, - /// A search for an advertiser's business location with intention to visit. + /// A search for an advertiser's business location with intention to visit. GetDirections = 16, - /// A click to an advertiser's partner's site. + /// A click to an advertiser's partner's site. OutboundClick = 17, - /// A call, SMS, email, chat or other type of contact to an advertiser. + /// A call, SMS, email, chat or other type of contact to an advertiser. Contact = 18, - /// A website engagement event such as long site time or a Google Analytics - /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal - /// imports. + /// A website engagement event such as long site time or a Google Analytics + /// (GA) Smart Goal. Intended to be used for GA, Firebase, GA Gold goal + /// imports. Engagement = 19, - /// A visit to a physical store location. + /// A visit to a physical store location. StoreVisit = 20, - /// A sale occurring in a physical store. + /// A sale occurring in a physical store. StoreSale = 21, } impl ConversionActionCategory { @@ -3889,23 +3889,23 @@ pub mod conversion_action_category_enum { } } } -/// Container for enum indicating the event type the conversion is attributed to. +/// Container for enum indicating the event type the conversion is attributed to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAttributionEventTypeEnum { } /// Nested message and enum types in `ConversionAttributionEventTypeEnum`. pub mod conversion_attribution_event_type_enum { - /// The event type of conversions that are attributed to. + /// The event type of conversions that are attributed to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAttributionEventType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// The conversion is attributed to an impression. + /// The conversion is attributed to an impression. Impression = 2, - /// The conversion is attributed to an interaction. + /// The conversion is attributed to an interaction. Interaction = 3, } impl ConversionAttributionEventType { @@ -3923,75 +3923,75 @@ pub mod conversion_attribution_event_type_enum { } } } -/// Container for enum representing the number of days between impression and -/// conversion. +/// Container for enum representing the number of days between impression and +/// conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionLagBucketEnum { } /// Nested message and enum types in `ConversionLagBucketEnum`. pub mod conversion_lag_bucket_enum { - /// Enum representing the number of days between impression and conversion. + /// Enum representing the number of days between impression and conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. LessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. OneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. TwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. FourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. FiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. SixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. SevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. EightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. NineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. TenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. TwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. FourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. TwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. FortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. SixtyToNinetyDays = 20, } impl ConversionLagBucket { @@ -4026,142 +4026,142 @@ pub mod conversion_lag_bucket_enum { } } } -/// Container for enum representing the number of days between the impression and -/// the conversion or between the impression and adjustments to the conversion. +/// Container for enum representing the number of days between the impression and +/// the conversion or between the impression and adjustments to the conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOrAdjustmentLagBucketEnum { } /// Nested message and enum types in `ConversionOrAdjustmentLagBucketEnum`. pub mod conversion_or_adjustment_lag_bucket_enum { - /// Enum representing the number of days between the impression and the - /// conversion or between the impression and adjustments to the conversion. + /// Enum representing the number of days between the impression and the + /// conversion or between the impression and adjustments to the conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrAdjustmentLagBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. + /// Conversion lag bucket from 0 to 1 day. 0 day is included, 1 day is not. ConversionLessThanOneDay = 2, - /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. + /// Conversion lag bucket from 1 to 2 days. 1 day is included, 2 days is not. ConversionOneToTwoDays = 3, - /// Conversion lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. ConversionTwoToThreeDays = 4, - /// Conversion lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. ConversionThreeToFourDays = 5, - /// Conversion lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. ConversionFourToFiveDays = 6, - /// Conversion lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. ConversionFiveToSixDays = 7, - /// Conversion lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. ConversionSixToSevenDays = 8, - /// Conversion lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. ConversionSevenToEightDays = 9, - /// Conversion lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. ConversionEightToNineDays = 10, - /// Conversion lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. ConversionNineToTenDays = 11, - /// Conversion lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. ConversionTenToElevenDays = 12, - /// Conversion lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. ConversionElevenToTwelveDays = 13, - /// Conversion lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. ConversionTwelveToThirteenDays = 14, - /// Conversion lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. ConversionThirteenToFourteenDays = 15, - /// Conversion lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. ConversionFourteenToTwentyOneDays = 16, - /// Conversion lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. ConversionTwentyOneToThirtyDays = 17, - /// Conversion lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. ConversionThirtyToFortyFiveDays = 18, - /// Conversion lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. ConversionFortyFiveToSixtyDays = 19, - /// Conversion lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. ConversionSixtyToNinetyDays = 20, - /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, - /// 1 day is not. + /// Conversion adjustment lag bucket from 0 to 1 day. 0 day is included, + /// 1 day is not. AdjustmentLessThanOneDay = 21, - /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, - /// 2 days is not. + /// Conversion adjustment lag bucket from 1 to 2 days. 1 day is included, + /// 2 days is not. AdjustmentOneToTwoDays = 22, - /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, - /// 3 days is not. + /// Conversion adjustment lag bucket from 2 to 3 days. 2 days is included, + /// 3 days is not. AdjustmentTwoToThreeDays = 23, - /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, - /// 4 days is not. + /// Conversion adjustment lag bucket from 3 to 4 days. 3 days is included, + /// 4 days is not. AdjustmentThreeToFourDays = 24, - /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, - /// 5 days is not. + /// Conversion adjustment lag bucket from 4 to 5 days. 4 days is included, + /// 5 days is not. AdjustmentFourToFiveDays = 25, - /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, - /// 6 days is not. + /// Conversion adjustment lag bucket from 5 to 6 days. 5 days is included, + /// 6 days is not. AdjustmentFiveToSixDays = 26, - /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, - /// 7 days is not. + /// Conversion adjustment lag bucket from 6 to 7 days. 6 days is included, + /// 7 days is not. AdjustmentSixToSevenDays = 27, - /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, - /// 8 days is not. + /// Conversion adjustment lag bucket from 7 to 8 days. 7 days is included, + /// 8 days is not. AdjustmentSevenToEightDays = 28, - /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, - /// 9 days is not. + /// Conversion adjustment lag bucket from 8 to 9 days. 8 days is included, + /// 9 days is not. AdjustmentEightToNineDays = 29, - /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, - /// 10 days is not. + /// Conversion adjustment lag bucket from 9 to 10 days. 9 days is included, + /// 10 days is not. AdjustmentNineToTenDays = 30, - /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, - /// 11 days is not. + /// Conversion adjustment lag bucket from 10 to 11 days. 10 days is included, + /// 11 days is not. AdjustmentTenToElevenDays = 31, - /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, - /// 12 days is not. + /// Conversion adjustment lag bucket from 11 to 12 days. 11 days is included, + /// 12 days is not. AdjustmentElevenToTwelveDays = 32, - /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, - /// 13 days is not. + /// Conversion adjustment lag bucket from 12 to 13 days. 12 days is included, + /// 13 days is not. AdjustmentTwelveToThirteenDays = 33, - /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, - /// 14 days is not. + /// Conversion adjustment lag bucket from 13 to 14 days. 13 days is included, + /// 14 days is not. AdjustmentThirteenToFourteenDays = 34, - /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, - /// 21 days is not. + /// Conversion adjustment lag bucket from 14 to 21 days. 14 days is included, + /// 21 days is not. AdjustmentFourteenToTwentyOneDays = 35, - /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, - /// 30 days is not. + /// Conversion adjustment lag bucket from 21 to 30 days. 21 days is included, + /// 30 days is not. AdjustmentTwentyOneToThirtyDays = 36, - /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, - /// 45 days is not. + /// Conversion adjustment lag bucket from 30 to 45 days. 30 days is included, + /// 45 days is not. AdjustmentThirtyToFortyFiveDays = 37, - /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, - /// 60 days is not. + /// Conversion adjustment lag bucket from 45 to 60 days. 45 days is included, + /// 60 days is not. AdjustmentFortyFiveToSixtyDays = 38, - /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, - /// 90 days is not. + /// Conversion adjustment lag bucket from 60 to 90 days. 60 days is included, + /// 90 days is not. AdjustmentSixtyToNinetyDays = 39, - /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is - /// included, 145 days is not. + /// Conversion adjustment lag bucket from 90 to 145 days. 90 days is + /// included, 145 days is not. AdjustmentNinetyToOneHundredAndFortyFiveDays = 40, - /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag - /// bucket was available in Google Ads. + /// Conversion lag bucket UNKNOWN. This is for dates before conversion lag + /// bucket was available in Google Ads. ConversionUnknown = 41, - /// Conversion adjustment lag bucket UNKNOWN. This is for dates before - /// conversion adjustment lag bucket was available in Google Ads. + /// Conversion adjustment lag bucket UNKNOWN. This is for dates before + /// conversion adjustment lag bucket was available in Google Ads. AdjustmentUnknown = 42, } impl ConversionOrAdjustmentLagBucket { @@ -4218,36 +4218,36 @@ pub mod conversion_or_adjustment_lag_bucket_enum { } } } -// Proto file describing conversion value rule primary dimension. +// Proto file describing conversion value rule primary dimension. -/// Container for enum describing value rule primary dimension for stats. +/// Container for enum describing value rule primary dimension for stats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRulePrimaryDimensionEnum { } /// Nested message and enum types in `ConversionValueRulePrimaryDimensionEnum`. pub mod conversion_value_rule_primary_dimension_enum { - /// Identifies the primary dimension for conversion value rule stats. + /// Identifies the primary dimension for conversion value rule stats. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRulePrimaryDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// For no-value-rule-applied conversions after value rule is enabled. + /// For no-value-rule-applied conversions after value rule is enabled. NoRuleApplied = 2, - /// Below are for value-rule-applied conversions: - /// The original stats. + /// Below are for value-rule-applied conversions: + /// The original stats. Original = 3, - /// When a new or returning customer condition is satisfied. + /// When a new or returning customer condition is satisfied. NewVsReturningUser = 4, - /// When a query-time Geo location condition is satisfied. + /// When a query-time Geo location condition is satisfied. GeoLocation = 5, - /// When a query-time browsing device condition is satisfied. + /// When a query-time browsing device condition is satisfied. Device = 6, - /// When a query-time audience condition is satisfied. + /// When a query-time audience condition is satisfied. Audience = 7, - /// When multiple rules are applied. + /// When multiple rules are applied. Multiple = 8, } impl ConversionValueRulePrimaryDimension { @@ -4270,102 +4270,102 @@ pub mod conversion_value_rule_primary_dimension_enum { } } } -/// Container for enum describing the external conversion source that is -/// associated with a ConversionAction. +/// Container for enum describing the external conversion source that is +/// associated with a ConversionAction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalConversionSourceEnum { } /// Nested message and enum types in `ExternalConversionSourceEnum`. pub mod external_conversion_source_enum { - /// The external conversion source that is associated with a ConversionAction. + /// The external conversion source that is associated with a ConversionAction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExternalConversionSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Conversion that occurs when a user navigates to a particular webpage - /// after viewing an ad; Displayed in Google Ads UI as 'Website'. + /// Conversion that occurs when a user navigates to a particular webpage + /// after viewing an ad; Displayed in Google Ads UI as 'Website'. Webpage = 2, - /// Conversion that comes from linked Google Analytics goal or transaction; - /// Displayed in Google Ads UI as 'Analytics'. + /// Conversion that comes from linked Google Analytics goal or transaction; + /// Displayed in Google Ads UI as 'Analytics'. Analytics = 3, - /// Website conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from clicks'. + /// Website conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from clicks'. Upload = 4, - /// Conversion that occurs when a user clicks on a call extension directly on - /// an ad; Displayed in Google Ads UI as 'Calls from ads'. + /// Conversion that occurs when a user clicks on a call extension directly on + /// an ad; Displayed in Google Ads UI as 'Calls from ads'. AdCallMetrics = 5, - /// Conversion that occurs when a user calls a dynamically-generated phone - /// number (by installed javascript) from an advertiser's website after - /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. + /// Conversion that occurs when a user calls a dynamically-generated phone + /// number (by installed javascript) from an advertiser's website after + /// clicking on an ad; Displayed in Google Ads UI as 'Calls from website'. WebsiteCallMetrics = 6, - /// Conversion that occurs when a user visits an advertiser's retail store - /// after clicking on a Google ad; - /// Displayed in Google Ads UI as 'Store visits'. + /// Conversion that occurs when a user visits an advertiser's retail store + /// after clicking on a Google ad; + /// Displayed in Google Ads UI as 'Store visits'. StoreVisits = 7, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an Android app; - /// Displayed in Google Ads UI as 'Android in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an Android app; + /// Displayed in Google Ads UI as 'Android in-app action'. AndroidInApp = 8, - /// Conversion that occurs when a user takes an in-app action such as a - /// purchase in an iOS app; - /// Displayed in Google Ads UI as 'iOS in-app action'. + /// Conversion that occurs when a user takes an in-app action such as a + /// purchase in an iOS app; + /// Displayed in Google Ads UI as 'iOS in-app action'. IosInApp = 9, - /// Conversion that occurs when a user opens an iOS app for the first time; - /// Displayed in Google Ads UI as 'iOS app install (first open)'. + /// Conversion that occurs when a user opens an iOS app for the first time; + /// Displayed in Google Ads UI as 'iOS app install (first open)'. IosFirstOpen = 10, - /// Legacy app conversions that do not have an AppPlatform provided; - /// Displayed in Google Ads UI as 'Mobile app'. + /// Legacy app conversions that do not have an AppPlatform provided; + /// Displayed in Google Ads UI as 'Mobile app'. AppUnspecified = 11, - /// Conversion that occurs when a user opens an Android app for the first - /// time; Displayed in Google Ads UI as 'Android app install (first open)'. + /// Conversion that occurs when a user opens an Android app for the first + /// time; Displayed in Google Ads UI as 'Android app install (first open)'. AndroidFirstOpen = 12, - /// Call conversion that is uploaded through ConversionUploadService; - /// Displayed in Google Ads UI as 'Import from calls'. + /// Call conversion that is uploaded through ConversionUploadService; + /// Displayed in Google Ads UI as 'Import from calls'. UploadCalls = 13, - /// Conversion that comes from a linked Firebase event; - /// Displayed in Google Ads UI as 'Firebase'. + /// Conversion that comes from a linked Firebase event; + /// Displayed in Google Ads UI as 'Firebase'. Firebase = 14, - /// Conversion that occurs when a user clicks on a mobile phone number; - /// Displayed in Google Ads UI as 'Phone number clicks'. + /// Conversion that occurs when a user clicks on a mobile phone number; + /// Displayed in Google Ads UI as 'Phone number clicks'. ClickToCall = 15, - /// Conversion that comes from Salesforce; - /// Displayed in Google Ads UI as 'Salesforce.com'. + /// Conversion that comes from Salesforce; + /// Displayed in Google Ads UI as 'Salesforce.com'. Salesforce = 16, - /// Conversion that comes from in-store purchases recorded by CRM; - /// Displayed in Google Ads UI as 'Store sales (data partner)'. + /// Conversion that comes from in-store purchases recorded by CRM; + /// Displayed in Google Ads UI as 'Store sales (data partner)'. StoreSalesCrm = 17, - /// Conversion that comes from in-store purchases from payment network; - /// Displayed in Google Ads UI as 'Store sales (payment network)'. + /// Conversion that comes from in-store purchases from payment network; + /// Displayed in Google Ads UI as 'Store sales (payment network)'. StoreSalesPaymentNetwork = 18, - /// Codeless Google Play conversion; - /// Displayed in Google Ads UI as 'Google Play'. + /// Codeless Google Play conversion; + /// Displayed in Google Ads UI as 'Google Play'. GooglePlay = 19, - /// Conversion that comes from a linked third-party app analytics event; - /// Displayed in Google Ads UI as 'Third-party app analytics'. + /// Conversion that comes from a linked third-party app analytics event; + /// Displayed in Google Ads UI as 'Third-party app analytics'. ThirdPartyAppAnalytics = 20, - /// Conversion that is controlled by Google Attribution. + /// Conversion that is controlled by Google Attribution. GoogleAttribution = 21, - /// Store Sales conversion based on first-party or third-party merchant data - /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. + /// Store Sales conversion based on first-party or third-party merchant data + /// uploads. Displayed in Google Ads UI as 'Store sales (direct upload)'. StoreSalesDirectUpload = 23, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. Displayed in Google Ads UI as 'Store sales'. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. Displayed in Google Ads UI as 'Store sales'. StoreSales = 24, - /// Conversions imported from Search Ads 360 Floodlight data. + /// Conversions imported from Search Ads 360 Floodlight data. SearchAds360 = 25, - /// Conversions that track local actions from Google's products and services - /// after interacting with an ad. + /// Conversions that track local actions from Google's products and services + /// after interacting with an ad. GoogleHosted = 27, - /// Conversions reported by Floodlight tags. + /// Conversions reported by Floodlight tags. Floodlight = 29, - /// Conversions that come from Google Analytics specifically for Search Ads - /// 360. Displayed in Google Ads UI as Analytics (SA360). + /// Conversions that come from Google Analytics specifically for Search Ads + /// 360. Displayed in Google Ads UI as Analytics (SA360). AnalyticsSearchAds360 = 31, - /// Conversion that comes from a linked Firebase event for Search Ads 360. + /// Conversion that comes from a linked Firebase event for Search Ads 360. FirebaseSearchAds360 = 33, } impl ExternalConversionSource { @@ -4408,32 +4408,32 @@ pub mod external_conversion_source_enum { } } } -// Proto file describing hotel price buckets. +// Proto file describing hotel price buckets. -/// Container for enum describing hotel price bucket for a hotel itinerary. +/// Container for enum describing hotel price bucket for a hotel itinerary. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPriceBucketEnum { } /// Nested message and enum types in `HotelPriceBucketEnum`. pub mod hotel_price_bucket_enum { - /// Enum describing possible hotel price buckets. + /// Enum describing possible hotel price buckets. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPriceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Uniquely lowest price. Partner has the lowest price, and no other - /// partners are within a small variance of that price. + /// Uniquely lowest price. Partner has the lowest price, and no other + /// partners are within a small variance of that price. LowestUnique = 2, - /// Tied for lowest price. Partner is within a small variance of the lowest - /// price. + /// Tied for lowest price. Partner is within a small variance of the lowest + /// price. LowestTied = 3, - /// Not lowest price. Partner is not within a small variance of the lowest - /// price. + /// Not lowest price. Partner is not within a small variance of the lowest + /// price. NotLowest = 4, - /// Partner was the only one shown. + /// Partner was the only one shown. OnlyPartnerShown = 5, } impl HotelPriceBucket { @@ -4453,35 +4453,35 @@ pub mod hotel_price_bucket_enum { } } } -// Proto file describing hotel rate types. +// Proto file describing hotel rate types. -/// Container for enum describing possible hotel rate types. +/// Container for enum describing possible hotel rate types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelRateTypeEnum { } /// Nested message and enum types in `HotelRateTypeEnum`. pub mod hotel_rate_type_enum { - /// Enum describing possible hotel rate types. + /// Enum describing possible hotel rate types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelRateType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Rate type information is unavailable. + /// Rate type information is unavailable. Unavailable = 2, - /// Rates available to everyone. + /// Rates available to everyone. PublicRate = 3, - /// A membership program rate is available and satisfies basic requirements - /// like having a public rate available. UI treatment will strikethrough the - /// public rate and indicate that a discount is available to the user. For - /// more on Qualified Rates, visit - /// + /// A membership program rate is available and satisfies basic requirements + /// like having a public rate available. UI treatment will strikethrough the + /// public rate and indicate that a discount is available to the user. For + /// more on Qualified Rates, visit + /// QualifiedRate = 4, - /// Rates available to users that satisfy some eligibility criteria. e.g. - /// all signed-in users, 20% of mobile users, all mobile users in Canada, - /// etc. + /// Rates available to users that satisfy some eligibility criteria. e.g. + /// all signed-in users, 20% of mobile users, all mobile users in Canada, + /// etc. PrivateRate = 5, } impl HotelRateType { @@ -4501,81 +4501,81 @@ pub mod hotel_rate_type_enum { } } } -// Proto file describing feed placeholder types. +// Proto file describing feed placeholder types. -/// Container for enum describing possible placeholder types for a feed mapping. +/// Container for enum describing possible placeholder types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlaceholderTypeEnum { } /// Nested message and enum types in `PlaceholderTypeEnum`. pub mod placeholder_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlaceholderType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Lets you show links in your ad to pages from your website, including the - /// main landing page. + /// Lets you show links in your ad to pages from your website, including the + /// main landing page. Sitelink = 2, - /// Lets you attach a phone number to an ad, allowing customers to call - /// directly from the ad. + /// Lets you attach a phone number to an ad, allowing customers to call + /// directly from the ad. Call = 3, - /// Lets you provide users with a link that points to a mobile app in - /// addition to a website. + /// Lets you provide users with a link that points to a mobile app in + /// addition to a website. App = 4, - /// Lets you show locations of businesses from your Business Profile - /// in your ad. This helps people find your locations by showing your - /// ads with your address, a map to your location, or the distance to your - /// business. This extension type is useful to draw customers to your - /// brick-and-mortar location. + /// Lets you show locations of businesses from your Business Profile + /// in your ad. This helps people find your locations by showing your + /// ads with your address, a map to your location, or the distance to your + /// business. This extension type is useful to draw customers to your + /// brick-and-mortar location. Location = 5, - /// If you sell your product through retail chains, affiliate location - /// extensions let you show nearby stores that carry your products. + /// If you sell your product through retail chains, affiliate location + /// extensions let you show nearby stores that carry your products. AffiliateLocation = 6, - /// Lets you include additional text with your search ads that provide - /// detailed information about your business, including products and services - /// you offer. Callouts appear in ads at the top and bottom of Google search - /// results. + /// Lets you include additional text with your search ads that provide + /// detailed information about your business, including products and services + /// you offer. Callouts appear in ads at the top and bottom of Google search + /// results. Callout = 7, - /// Lets you add more info to your ad, specific to some predefined categories - /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values - /// are required. + /// Lets you add more info to your ad, specific to some predefined categories + /// such as types, brands, styles, etc. A minimum of 3 text (SNIPPETS) values + /// are required. StructuredSnippet = 8, - /// Allows users to see your ad, click an icon, and contact you directly by - /// text message. With one tap on your ad, people can contact you to book an - /// appointment, get a quote, ask for information, or request a service. + /// Allows users to see your ad, click an icon, and contact you directly by + /// text message. With one tap on your ad, people can contact you to book an + /// appointment, get a quote, ask for information, or request a service. Message = 9, - /// Lets you display prices for a list of items along with your ads. A price - /// feed is composed of three to eight price table rows. + /// Lets you display prices for a list of items along with your ads. A price + /// feed is composed of three to eight price table rows. Price = 10, - /// Allows you to highlight sales and other promotions that let users see how - /// they can save by buying now. + /// Allows you to highlight sales and other promotions that let users see how + /// they can save by buying now. Promotion = 11, - /// Lets you dynamically inject custom data into the title and description - /// of your ads. + /// Lets you dynamically inject custom data into the title and description + /// of your ads. AdCustomizer = 12, - /// Indicates that this feed is for education dynamic remarketing. + /// Indicates that this feed is for education dynamic remarketing. DynamicEducation = 13, - /// Indicates that this feed is for flight dynamic remarketing. + /// Indicates that this feed is for flight dynamic remarketing. DynamicFlight = 14, - /// Indicates that this feed is for a custom dynamic remarketing type. Use - /// this only if the other business types don't apply to your products or - /// services. + /// Indicates that this feed is for a custom dynamic remarketing type. Use + /// this only if the other business types don't apply to your products or + /// services. DynamicCustom = 15, - /// Indicates that this feed is for hotels and rentals dynamic remarketing. + /// Indicates that this feed is for hotels and rentals dynamic remarketing. DynamicHotel = 16, - /// Indicates that this feed is for real estate dynamic remarketing. + /// Indicates that this feed is for real estate dynamic remarketing. DynamicRealEstate = 17, - /// Indicates that this feed is for travel dynamic remarketing. + /// Indicates that this feed is for travel dynamic remarketing. DynamicTravel = 18, - /// Indicates that this feed is for local deals dynamic remarketing. + /// Indicates that this feed is for local deals dynamic remarketing. DynamicLocal = 19, - /// Indicates that this feed is for job dynamic remarketing. + /// Indicates that this feed is for job dynamic remarketing. DynamicJob = 20, - /// Lets you attach an image to an ad. + /// Lets you attach an image to an ad. Image = 21, } impl PlaceholderType { @@ -4611,71 +4611,71 @@ pub mod placeholder_type_enum { } } } -// Proto file describing Recommendation types. +// Proto file describing Recommendation types. -/// Container for enum describing types of recommendations. +/// Container for enum describing types of recommendations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationTypeEnum { } /// Nested message and enum types in `RecommendationTypeEnum`. pub mod recommendation_type_enum { - /// Types of recommendations. + /// Types of recommendations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget recommendation for campaigns that are currently budget-constrained - /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which - /// applies to campaigns that are expected to become budget-constrained in - /// the future). + /// Budget recommendation for campaigns that are currently budget-constrained + /// (as opposed to the FORECASTING_CAMPAIGN_BUDGET recommendation, which + /// applies to campaigns that are expected to become budget-constrained in + /// the future). CampaignBudget = 2, - /// Keyword recommendation. + /// Keyword recommendation. Keyword = 3, - /// Recommendation to add a new text ad. + /// Recommendation to add a new text ad. TextAd = 4, - /// Recommendation to update a campaign to use a Target CPA bidding strategy. + /// Recommendation to update a campaign to use a Target CPA bidding strategy. TargetCpaOptIn = 5, - /// Recommendation to update a campaign to use the Maximize Conversions - /// bidding strategy. + /// Recommendation to update a campaign to use the Maximize Conversions + /// bidding strategy. MaximizeConversionsOptIn = 6, - /// Recommendation to enable Enhanced Cost Per Click for a campaign. + /// Recommendation to enable Enhanced Cost Per Click for a campaign. EnhancedCpcOptIn = 7, - /// Recommendation to start showing your campaign's ads on Google Search - /// Partners Websites. + /// Recommendation to start showing your campaign's ads on Google Search + /// Partners Websites. SearchPartnersOptIn = 8, - /// Recommendation to update a campaign to use a Maximize Clicks bidding - /// strategy. + /// Recommendation to update a campaign to use a Maximize Clicks bidding + /// strategy. MaximizeClicksOptIn = 9, - /// Recommendation to start using the "Optimize" ad rotation setting for the - /// given ad group. + /// Recommendation to start using the "Optimize" ad rotation setting for the + /// given ad group. OptimizeAdRotation = 10, - /// Recommendation to add callout extensions to a campaign. + /// Recommendation to add callout extensions to a campaign. CalloutExtension = 11, - /// Recommendation to add sitelink extensions to a campaign. + /// Recommendation to add sitelink extensions to a campaign. SitelinkExtension = 12, - /// Recommendation to add call extensions to a campaign. + /// Recommendation to add call extensions to a campaign. CallExtension = 13, - /// Recommendation to change an existing keyword from one match type to a - /// broader match type. + /// Recommendation to change an existing keyword from one match type to a + /// broader match type. KeywordMatchType = 14, - /// Recommendation to move unused budget from one budget to a constrained - /// budget. + /// Recommendation to move unused budget from one budget to a constrained + /// budget. MoveUnusedBudget = 15, - /// Budget recommendation for campaigns that are expected to become - /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET - /// recommendation, which applies to campaigns that are currently - /// budget-constrained). + /// Budget recommendation for campaigns that are expected to become + /// budget-constrained in the future (as opposed to the CAMPAIGN_BUDGET + /// recommendation, which applies to campaigns that are currently + /// budget-constrained). ForecastingCampaignBudget = 16, - /// Recommendation to update a campaign to use a Target ROAS bidding - /// strategy. + /// Recommendation to update a campaign to use a Target ROAS bidding + /// strategy. TargetRoasOptIn = 17, - /// Recommendation to add a new responsive search ad. + /// Recommendation to add a new responsive search ad. ResponsiveSearchAd = 18, - /// Budget recommendation for campaigns whose ROI is predicted to increase - /// with a budget adjustment. + /// Budget recommendation for campaigns whose ROI is predicted to increase + /// with a budget adjustment. MarginalRoiCampaignBudget = 19, } impl RecommendationType { @@ -4709,28 +4709,28 @@ pub mod recommendation_type_enum { } } } -// Proto file describing search engine results page types. +// Proto file describing search engine results page types. -/// The type of the search engine results page. +/// The type of the search engine results page. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchEngineResultsPageTypeEnum { } /// Nested message and enum types in `SearchEngineResultsPageTypeEnum`. pub mod search_engine_results_page_type_enum { - /// The type of the search engine results page. + /// The type of the search engine results page. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchEngineResultsPageType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Only ads were contained in the search engine results page. + /// Only ads were contained in the search engine results page. AdsOnly = 2, - /// Only organic results were contained in the search engine results page. + /// Only organic results were contained in the search engine results page. OrganicOnly = 3, - /// Both ads and organic results were contained in the search engine results - /// page. + /// Both ads and organic results were contained in the search engine results + /// page. AdsAndOrganic = 4, } impl SearchEngineResultsPageType { @@ -4749,31 +4749,31 @@ pub mod search_engine_results_page_type_enum { } } } -// Proto file describing search term match types. +// Proto file describing search term match types. -/// Container for enum describing match types for a keyword triggering an ad. +/// Container for enum describing match types for a keyword triggering an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermMatchTypeEnum { } /// Nested message and enum types in `SearchTermMatchTypeEnum`. pub mod search_term_match_type_enum { - /// Possible match types for a keyword triggering an ad, including variants. + /// Possible match types for a keyword triggering an ad, including variants. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Broad match. + /// Broad match. Broad = 2, - /// Exact match. + /// Exact match. Exact = 3, - /// Phrase match. + /// Phrase match. Phrase = 4, - /// Exact match (close variant). + /// Exact match (close variant). NearExact = 5, - /// Phrase match (close variant). + /// Phrase match (close variant). NearPhrase = 6, } impl SearchTermMatchType { @@ -4794,35 +4794,35 @@ pub mod search_term_match_type_enum { } } } -// Proto file describing slots. +// Proto file describing slots. -/// Container for enumeration of possible positions of the Ad. +/// Container for enumeration of possible positions of the Ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlotEnum { } /// Nested message and enum types in `SlotEnum`. pub mod slot_enum { - /// Enumerates possible positions of the Ad. + /// Enumerates possible positions of the Ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Slot { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google search: Side. + /// Google search: Side. SearchSide = 2, - /// Google search: Top. + /// Google search: Top. SearchTop = 3, - /// Google search: Other. + /// Google search: Other. SearchOther = 4, - /// Google Display Network. + /// Google Display Network. Content = 5, - /// Search partners: Top. + /// Search partners: Top. SearchPartnerTop = 6, - /// Search partners: Other. + /// Search partners: Other. SearchPartnerOther = 7, - /// Cross-network. + /// Cross-network. Mixed = 8, } impl Slot { @@ -4845,25 +4845,25 @@ pub mod slot_enum { } } } -/// Container for enum describing the format of the web page where the tracking -/// tag and snippet will be installed. +/// Container for enum describing the format of the web page where the tracking +/// tag and snippet will be installed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodePageFormatEnum { } /// Nested message and enum types in `TrackingCodePageFormatEnum`. pub mod tracking_code_page_format_enum { - /// The format of the web page where the tracking tag and snippet will be - /// installed. + /// The format of the web page where the tracking tag and snippet will be + /// installed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodePageFormat { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Standard HTML page format. + /// Standard HTML page format. Html = 2, - /// Google AMP page format. + /// Google AMP page format. Amp = 3, } impl TrackingCodePageFormat { @@ -4881,32 +4881,32 @@ pub mod tracking_code_page_format_enum { } } } -/// Container for enum describing the type of the generated tag snippets for -/// tracking conversions. +/// Container for enum describing the type of the generated tag snippets for +/// tracking conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingCodeTypeEnum { } /// Nested message and enum types in `TrackingCodeTypeEnum`. pub mod tracking_code_type_enum { - /// The type of the generated tag snippets for tracking conversions. + /// The type of the generated tag snippets for tracking conversions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingCodeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The snippet that is fired as a result of a website page loading. + /// The snippet that is fired as a result of a website page loading. Webpage = 2, - /// The snippet contains a JavaScript function which fires the tag. This - /// function is typically called from an onClick handler added to a link or - /// button element on the page. + /// The snippet contains a JavaScript function which fires the tag. This + /// function is typically called from an onClick handler added to a link or + /// button element on the page. WebpageOnclick = 3, - /// For embedding on a mobile webpage. The snippet contains a JavaScript - /// function which fires the tag. + /// For embedding on a mobile webpage. The snippet contains a JavaScript + /// function which fires the tag. ClickToCall = 4, - /// The snippet that is used to replace the phone number on your website with - /// a Google forwarding number for call tracking purposes. + /// The snippet that is used to replace the phone number on your website with + /// a Google forwarding number for call tracking purposes. WebsiteCall = 5, } impl TrackingCodeType { @@ -4926,43 +4926,43 @@ pub mod tracking_code_type_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The dimensions that can be targeted. +/// The dimensions that can be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetingDimensionEnum { } /// Nested message and enum types in `TargetingDimensionEnum`. pub mod targeting_dimension_enum { - /// Enum describing possible targeting dimensions. + /// Enum describing possible targeting dimensions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetingDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid - /// dimension. Keywords are always a targeting dimension, so may not be set - /// as a target "ALL" dimension with TargetRestriction. + /// Keyword criteria, e.g. 'mars cruise'. KEYWORD may be used as a custom bid + /// dimension. Keywords are always a targeting dimension, so may not be set + /// as a target "ALL" dimension with TargetRestriction. Keyword = 2, - /// Audience criteria, which include user list, user interest, custom - /// affinity, and custom in market. + /// Audience criteria, which include user list, user interest, custom + /// affinity, and custom in market. Audience = 3, - /// Topic criteria for targeting categories of content, e.g. - /// 'category::Animals>Pets' Used for Display and Video targeting. + /// Topic criteria for targeting categories of content, e.g. + /// 'category::Animals>Pets' Used for Display and Video targeting. Topic = 4, - /// Criteria for targeting gender. + /// Criteria for targeting gender. Gender = 5, - /// Criteria for targeting age ranges. + /// Criteria for targeting age ranges. AgeRange = 6, - /// Placement criteria, which include websites like 'www.flowers4sale.com', - /// as well as mobile applications, mobile app categories, YouTube videos, - /// and YouTube channels. + /// Placement criteria, which include websites like 'www.flowers4sale.com', + /// as well as mobile applications, mobile app categories, YouTube videos, + /// and YouTube channels. Placement = 7, - /// Criteria for parental status targeting. + /// Criteria for parental status targeting. ParentalStatus = 8, - /// Criteria for income range targeting. + /// Criteria for income range targeting. IncomeRange = 9, } impl TargetingDimension { @@ -4986,27 +4986,27 @@ pub mod targeting_dimension_enum { } } } -/// Indicates what type of data are the user list's members matched from. +/// Indicates what type of data are the user list's members matched from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerMatchUploadKeyTypeEnum { } /// Nested message and enum types in `CustomerMatchUploadKeyTypeEnum`. pub mod customer_match_upload_key_type_enum { - /// Enum describing possible customer match upload key types. + /// Enum describing possible customer match upload key types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerMatchUploadKeyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Members are matched from customer info such as email address, phone - /// number or physical address. + /// Members are matched from customer info such as email address, phone + /// number or physical address. ContactInfo = 2, - /// Members are matched from a user id generated and assigned by the - /// advertiser. + /// Members are matched from a user id generated and assigned by the + /// advertiser. CrmId = 3, - /// Members are matched from mobile advertising ids. + /// Members are matched from mobile advertising ids. MobileAdvertisingId = 4, } impl CustomerMatchUploadKeyType { @@ -5025,23 +5025,23 @@ pub mod customer_match_upload_key_type_enum { } } } -/// Logical operator connecting two rules. +/// Logical operator connecting two rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCombinedRuleOperatorEnum { } /// Nested message and enum types in `UserListCombinedRuleOperatorEnum`. pub mod user_list_combined_rule_operator_enum { - /// Enum describing possible user list combined rule operators. + /// Enum describing possible user list combined rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCombinedRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A AND B. + /// A AND B. And = 2, - /// A AND NOT B. + /// A AND NOT B. AndNot = 3, } impl UserListCombinedRuleOperator { @@ -5059,25 +5059,25 @@ pub mod user_list_combined_rule_operator_enum { } } } -/// Indicates source of Crm upload data. +/// Indicates source of Crm upload data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListCrmDataSourceTypeEnum { } /// Nested message and enum types in `UserListCrmDataSourceTypeEnum`. pub mod user_list_crm_data_source_type_enum { - /// Enum describing possible user list crm data source type. + /// Enum describing possible user list crm data source type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListCrmDataSourceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The uploaded data is first-party data. + /// The uploaded data is first-party data. FirstParty = 2, - /// The uploaded data is from a third-party credit bureau. + /// The uploaded data is from a third-party credit bureau. ThirdPartyCreditBureau = 3, - /// The uploaded data is from a third-party voter file. + /// The uploaded data is from a third-party voter file. ThirdPartyVoterFile = 4, } impl UserListCrmDataSourceType { @@ -5096,27 +5096,27 @@ pub mod user_list_crm_data_source_type_enum { } } } -/// Supported rule operator for date type. +/// Supported rule operator for date type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListDateRuleItemOperatorEnum { } /// Nested message and enum types in `UserListDateRuleItemOperatorEnum`. pub mod user_list_date_rule_item_operator_enum { - /// Enum describing possible user list date rule item operators. + /// Enum describing possible user list date rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListDateRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals. + /// Equals. Equals = 2, - /// Not Equals. + /// Not Equals. NotEquals = 3, - /// Before. + /// Before. Before = 4, - /// After. + /// After. After = 5, } impl UserListDateRuleItemOperator { @@ -5136,25 +5136,25 @@ pub mod user_list_date_rule_item_operator_enum { } } } -/// The logical operator of the rule. +/// The logical operator of the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListLogicalRuleOperatorEnum { } /// Nested message and enum types in `UserListLogicalRuleOperatorEnum`. pub mod user_list_logical_rule_operator_enum { - /// Enum describing possible user list logical rule operators. + /// Enum describing possible user list logical rule operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListLogicalRuleOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// And - all of the operands. + /// And - all of the operands. All = 2, - /// Or - at least one of the operands. + /// Or - at least one of the operands. Any = 3, - /// Not - none of the operands. + /// Not - none of the operands. None = 4, } impl UserListLogicalRuleOperator { @@ -5173,31 +5173,31 @@ pub mod user_list_logical_rule_operator_enum { } } } -/// Supported rule operator for number type. +/// Supported rule operator for number type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListNumberRuleItemOperatorEnum { } /// Nested message and enum types in `UserListNumberRuleItemOperatorEnum`. pub mod user_list_number_rule_item_operator_enum { - /// Enum describing possible user list number rule item operators. + /// Enum describing possible user list number rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListNumberRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Greater than. + /// Greater than. GreaterThan = 2, - /// Greater than or equal. + /// Greater than or equal. GreaterThanOrEqual = 3, - /// Equals. + /// Equals. Equals = 4, - /// Not equals. + /// Not equals. NotEquals = 5, - /// Less than. + /// Less than. LessThan = 6, - /// Less than or equal. + /// Less than or equal. LessThanOrEqual = 7, } impl UserListNumberRuleItemOperator { @@ -5219,25 +5219,25 @@ pub mod user_list_number_rule_item_operator_enum { } } } -/// Indicates status of prepopulation based on the rule. +/// Indicates status of prepopulation based on the rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListPrepopulationStatusEnum { } /// Nested message and enum types in `UserListPrepopulationStatusEnum`. pub mod user_list_prepopulation_status_enum { - /// Enum describing possible user list prepopulation status. + /// Enum describing possible user list prepopulation status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListPrepopulationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prepopoulation is being requested. + /// Prepopoulation is being requested. Requested = 2, - /// Prepopulation is finished. + /// Prepopulation is finished. Finished = 3, - /// Prepopulation failed. + /// Prepopulation failed. Failed = 4, } impl UserListPrepopulationStatus { @@ -5256,23 +5256,23 @@ pub mod user_list_prepopulation_status_enum { } } } -/// Rule based user list rule type. +/// Rule based user list rule type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListRuleTypeEnum { } /// Nested message and enum types in `UserListRuleTypeEnum`. pub mod user_list_rule_type_enum { - /// Enum describing possible user list rule types. + /// Enum describing possible user list rule types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListRuleType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conjunctive normal form. + /// Conjunctive normal form. AndOfOrs = 2, - /// Disjunctive normal form. + /// Disjunctive normal form. OrOfAnds = 3, } impl UserListRuleType { @@ -5290,35 +5290,35 @@ pub mod user_list_rule_type_enum { } } } -/// Supported rule operator for string type. +/// Supported rule operator for string type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListStringRuleItemOperatorEnum { } /// Nested message and enum types in `UserListStringRuleItemOperatorEnum`. pub mod user_list_string_rule_item_operator_enum { - /// Enum describing possible user list string rule item operators. + /// Enum describing possible user list string rule item operators. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListStringRuleItemOperator { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Contains. + /// Contains. Contains = 2, - /// Equals. + /// Equals. Equals = 3, - /// Starts with. + /// Starts with. StartsWith = 4, - /// Ends with. + /// Ends with. EndsWith = 5, - /// Not equals. + /// Not equals. NotEquals = 6, - /// Not contains. + /// Not contains. NotContains = 7, - /// Not starts with. + /// Not starts with. NotStartsWith = 8, - /// Not ends with. + /// Not ends with. NotEndsWith = 9, } impl UserListStringRuleItemOperator { @@ -5342,29 +5342,29 @@ pub mod user_list_string_rule_item_operator_enum { } } } -// Proto file describing AccessInvitationStatus enum. +// Proto file describing AccessInvitationStatus enum. -/// Container for enum for identifying the status of access invitation +/// Container for enum for identifying the status of access invitation #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationStatusEnum { } /// Nested message and enum types in `AccessInvitationStatusEnum`. pub mod access_invitation_status_enum { - /// Possible access invitation status of a user + /// Possible access invitation status of a user #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The initial state of an invitation, before being acted upon by anyone. + /// The initial state of an invitation, before being acted upon by anyone. Pending = 2, - /// Invitation process was terminated by the email recipient. No new user was - /// created. + /// Invitation process was terminated by the email recipient. No new user was + /// created. Declined = 3, - /// Invitation URLs expired without being acted upon. No new user can be - /// created. Invitations expire 20 days after creation. + /// Invitation URLs expired without being acted upon. No new user can be + /// created. Invitations expire 20 days after creation. Expired = 4, } impl AccessInvitationStatus { @@ -5383,29 +5383,29 @@ pub mod access_invitation_status_enum { } } } -/// Indicates the way the resource such as user list is related to a user. +/// Indicates the way the resource such as user list is related to a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessReasonEnum { } /// Nested message and enum types in `AccessReasonEnum`. pub mod access_reason_enum { - /// Enum describing possible access reasons. + /// Enum describing possible access reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The resource is owned by the user. + /// The resource is owned by the user. Owned = 2, - /// The resource is shared to the user. + /// The resource is shared to the user. Shared = 3, - /// The resource is licensed to the user. + /// The resource is licensed to the user. Licensed = 4, - /// The user subscribed to the resource. + /// The user subscribed to the resource. Subscribed = 5, - /// The resource is accessible to the user. + /// The resource is accessible to the user. Affiliated = 6, } impl AccessReason { @@ -5426,28 +5426,28 @@ pub mod access_reason_enum { } } } -/// Container for enum describing possible access role for user. +/// Container for enum describing possible access role for user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessRoleEnum { } /// Nested message and enum types in `AccessRoleEnum`. pub mod access_role_enum { - /// Possible access role of a user. + /// Possible access role of a user. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessRole { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Owns its account and can control the addition of other users. + /// Owns its account and can control the addition of other users. Admin = 2, - /// Can modify campaigns, but can't affect other users. + /// Can modify campaigns, but can't affect other users. Standard = 3, - /// Can view campaigns and account changes, but cannot make edits. + /// Can view campaigns and account changes, but cannot make edits. ReadOnly = 4, - /// Role for \"email only\" access. Represents an email recipient rather than - /// a true User entity. + /// Role for \"email only\" access. Represents an email recipient rather than + /// a true User entity. EmailOnly = 5, } impl AccessRole { @@ -5467,35 +5467,35 @@ pub mod access_role_enum { } } } -// Proto file describing AccountBudgetProposal statuses. +// Proto file describing AccountBudgetProposal statuses. -/// Message describing AccountBudgetProposal statuses. +/// Message describing AccountBudgetProposal statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalStatusEnum { } /// Nested message and enum types in `AccountBudgetProposalStatusEnum`. pub mod account_budget_proposal_status_enum { - /// The possible statuses of an AccountBudgetProposal. + /// The possible statuses of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The proposal is pending approval. + /// The proposal is pending approval. Pending = 2, - /// The proposal has been approved but the corresponding billing setup - /// has not. This can occur for proposals that set up the first budget - /// when signing up for billing or when performing a change of bill-to - /// operation. + /// The proposal has been approved but the corresponding billing setup + /// has not. This can occur for proposals that set up the first budget + /// when signing up for billing or when performing a change of bill-to + /// operation. ApprovedHeld = 3, - /// The proposal has been approved. + /// The proposal has been approved. Approved = 4, - /// The proposal has been cancelled by the user. + /// The proposal has been cancelled by the user. Cancelled = 5, - /// The proposal has been rejected by the user, e.g. by rejecting an - /// acceptance email. + /// The proposal has been rejected by the user, e.g. by rejecting an + /// acceptance email. Rejected = 6, } impl AccountBudgetProposalStatus { @@ -5516,29 +5516,29 @@ pub mod account_budget_proposal_status_enum { } } } -// Proto file describing AccountBudgetProposal types. +// Proto file describing AccountBudgetProposal types. -/// Message describing AccountBudgetProposal types. +/// Message describing AccountBudgetProposal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalTypeEnum { } /// Nested message and enum types in `AccountBudgetProposalTypeEnum`. pub mod account_budget_proposal_type_enum { - /// The possible types of an AccountBudgetProposal. + /// The possible types of an AccountBudgetProposal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Identifies a request to create a new budget. + /// Identifies a request to create a new budget. Create = 2, - /// Identifies a request to edit an existing budget. + /// Identifies a request to edit an existing budget. Update = 3, - /// Identifies a request to end a budget that has already started. + /// Identifies a request to end a budget that has already started. End = 4, - /// Identifies a request to remove a budget that hasn't started yet. + /// Identifies a request to remove a budget that hasn't started yet. Remove = 5, } impl AccountBudgetProposalType { @@ -5558,27 +5558,27 @@ pub mod account_budget_proposal_type_enum { } } } -// Proto file describing AccountBudget statuses. +// Proto file describing AccountBudget statuses. -/// Message describing AccountBudget statuses. +/// Message describing AccountBudget statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetStatusEnum { } /// Nested message and enum types in `AccountBudgetStatusEnum`. pub mod account_budget_status_enum { - /// The possible statuses of an AccountBudget. + /// The possible statuses of an AccountBudget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The account budget is pending approval. + /// The account budget is pending approval. Pending = 2, - /// The account budget has been approved. + /// The account budget has been approved. Approved = 3, - /// The account budget has been cancelled by the user. + /// The account budget has been cancelled by the user. Cancelled = 4, } impl AccountBudgetStatus { @@ -5597,34 +5597,34 @@ pub mod account_budget_status_enum { } } } -/// Container for enum describing possible statuses of an account link. +/// Container for enum describing possible statuses of an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkStatusEnum { } /// Nested message and enum types in `AccountLinkStatusEnum`. pub mod account_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and another account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link is removed/disabled. + /// The link is removed/disabled. Removed = 3, - /// The link to the other account has been requested. A user on the other - /// account may now approve the link by setting the status to ENABLED. + /// The link to the other account has been requested. A user on the other + /// account may now approve the link by setting the status to ENABLED. Requested = 4, - /// This link has been requested by a user on the other account. It may be - /// approved by a user on this account by setting the status to ENABLED. + /// This link has been requested by a user on the other account. It may be + /// approved by a user on this account by setting the status to ENABLED. PendingApproval = 5, - /// The link is rejected by the approver. + /// The link is rejected by the approver. Rejected = 6, - /// The link is revoked by the user who requested the link. + /// The link is revoked by the user who requested the link. Revoked = 7, } impl AccountLinkStatus { @@ -5646,29 +5646,29 @@ pub mod account_link_status_enum { } } } -// Proto file describing Ad Customizer placeholder fields. +// Proto file describing Ad Customizer placeholder fields. -/// Values for Ad Customizer placeholder fields. +/// Values for Ad Customizer placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerPlaceholderFieldEnum { } /// Nested message and enum types in `AdCustomizerPlaceholderFieldEnum`. pub mod ad_customizer_placeholder_field_enum { - /// Possible values for Ad Customizers placeholder fields. + /// Possible values for Ad Customizers placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. Integer value to be inserted. + /// Data Type: INT64. Integer value to be inserted. Integer = 2, - /// Data Type: STRING. Price value to be inserted. + /// Data Type: STRING. Price value to be inserted. Price = 3, - /// Data Type: DATE_TIME. Date value to be inserted. + /// Data Type: DATE_TIME. Date value to be inserted. Date = 4, - /// Data Type: STRING. String value to be inserted. + /// Data Type: STRING. String value to be inserted. String = 5, } impl AdCustomizerPlaceholderField { @@ -5688,28 +5688,28 @@ pub mod ad_customizer_placeholder_field_enum { } } } -// Proto file describing ad group ad rotation mode. +// Proto file describing ad group ad rotation mode. -/// Container for enum describing possible ad rotation modes of ads within an -/// ad group. +/// Container for enum describing possible ad rotation modes of ads within an +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdRotationModeEnum { } /// Nested message and enum types in `AdGroupAdRotationModeEnum`. pub mod ad_group_ad_rotation_mode_enum { - /// The possible ad rotation modes of an ad group. + /// The possible ad rotation modes of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdRotationMode { - /// The ad rotation mode has not been specified. + /// The ad rotation mode has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Optimize ad group ads based on clicks or conversions. + /// Optimize ad group ads based on clicks or conversions. Optimize = 2, - /// Rotate evenly forever. + /// Rotate evenly forever. RotateForever = 3, } impl AdGroupAdRotationMode { @@ -5727,29 +5727,29 @@ pub mod ad_group_ad_rotation_mode_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an AdGroupAd. +/// Container for enum describing possible statuses of an AdGroupAd. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdStatusEnum { } /// Nested message and enum types in `AdGroupAdStatusEnum`. pub mod ad_group_ad_status_enum { - /// The possible statuses of an AdGroupAd. + /// The possible statuses of an AdGroupAd. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group ad is enabled. + /// The ad group ad is enabled. Enabled = 2, - /// The ad group ad is paused. + /// The ad group ad is paused. Paused = 3, - /// The ad group ad is removed. + /// The ad group ad is removed. Removed = 4, } impl AdGroupAdStatus { @@ -5768,29 +5768,29 @@ pub mod ad_group_ad_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible AdGroupCriterion approval statuses. +/// Container for enum describing possible AdGroupCriterion approval statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionApprovalStatusEnum { } /// Nested message and enum types in `AdGroupCriterionApprovalStatusEnum`. pub mod ad_group_criterion_approval_status_enum { - /// Enumerates AdGroupCriterion approval statuses. + /// Enumerates AdGroupCriterion approval statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionApprovalStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Approved. + /// Approved. Approved = 2, - /// Disapproved. + /// Disapproved. Disapproved = 3, - /// Pending Review. + /// Pending Review. PendingReview = 4, - /// Under review. + /// Under review. UnderReview = 5, } impl AdGroupCriterionApprovalStatus { @@ -5810,29 +5810,29 @@ pub mod ad_group_criterion_approval_status_enum { } } } -// Proto file describing AdGroupCriterion statuses. +// Proto file describing AdGroupCriterion statuses. -/// Message describing AdGroupCriterion statuses. +/// Message describing AdGroupCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionStatusEnum { } /// Nested message and enum types in `AdGroupCriterionStatusEnum`. pub mod ad_group_criterion_status_enum { - /// The possible statuses of an AdGroupCriterion. + /// The possible statuses of an AdGroupCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group criterion is enabled. + /// The ad group criterion is enabled. Enabled = 2, - /// The ad group criterion is paused. + /// The ad group criterion is paused. Paused = 3, - /// The ad group criterion is removed. + /// The ad group criterion is removed. Removed = 4, } impl AdGroupCriterionStatus { @@ -5851,29 +5851,29 @@ pub mod ad_group_criterion_status_enum { } } } -// Proto file describing ad group status. +// Proto file describing ad group status. -/// Container for enum describing possible statuses of an ad group. +/// Container for enum describing possible statuses of an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupStatusEnum { } /// Nested message and enum types in `AdGroupStatusEnum`. pub mod ad_group_status_enum { - /// The possible statuses of an ad group. + /// The possible statuses of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad group is enabled. + /// The ad group is enabled. Enabled = 2, - /// The ad group is paused. + /// The ad group is paused. Paused = 3, - /// The ad group is removed. + /// The ad group is removed. Removed = 4, } impl AdGroupStatus { @@ -5892,57 +5892,57 @@ pub mod ad_group_status_enum { } } } -// Proto file describing ad group types. +// Proto file describing ad group types. -/// Defines types of an ad group, specific to a particular campaign channel -/// type. This type drives validations that restrict which entities can be -/// added to the ad group. +/// Defines types of an ad group, specific to a particular campaign channel +/// type. This type drives validations that restrict which entities can be +/// added to the ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupTypeEnum { } /// Nested message and enum types in `AdGroupTypeEnum`. pub mod ad_group_type_enum { - /// Enum listing the possible types of an ad group. + /// Enum listing the possible types of an ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupType { - /// The type has not been specified. + /// The type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The default ad group type for Search campaigns. + /// The default ad group type for Search campaigns. SearchStandard = 2, - /// The default ad group type for Display campaigns. + /// The default ad group type for Display campaigns. DisplayStandard = 3, - /// The ad group type for Shopping campaigns serving standard product ads. + /// The ad group type for Shopping campaigns serving standard product ads. ShoppingProductAds = 4, - /// The default ad group type for Hotel campaigns. + /// The default ad group type for Hotel campaigns. HotelAds = 6, - /// The type for ad groups in Smart Shopping campaigns. + /// The type for ad groups in Smart Shopping campaigns. ShoppingSmartAds = 7, - /// Short unskippable in-stream video ads. + /// Short unskippable in-stream video ads. VideoBumper = 8, - /// TrueView (skippable) in-stream video ads. + /// TrueView (skippable) in-stream video ads. VideoTrueViewInStream = 9, - /// TrueView in-display video ads. + /// TrueView in-display video ads. VideoTrueViewInDisplay = 10, - /// Unskippable in-stream video ads. + /// Unskippable in-stream video ads. VideoNonSkippableInStream = 11, - /// Outstream video ads. + /// Outstream video ads. VideoOutstream = 12, - /// Ad group type for Dynamic Search Ads ad groups. + /// Ad group type for Dynamic Search Ads ad groups. SearchDynamicAds = 13, - /// The type for ad groups in Shopping Comparison Listing campaigns. + /// The type for ad groups in Shopping Comparison Listing campaigns. ShoppingComparisonListingAds = 14, - /// The ad group type for Promoted Hotel ad groups. + /// The ad group type for Promoted Hotel ad groups. PromotedHotelAds = 15, - /// Video responsive ad groups. + /// Video responsive ad groups. VideoResponsive = 16, - /// Video efficient reach ad groups. + /// Video efficient reach ad groups. VideoEfficientReach = 17, - /// Ad group type for Smart campaigns. + /// Ad group type for Smart campaigns. SmartCampaignAds = 18, } impl AdGroupType { @@ -5974,36 +5974,36 @@ pub mod ad_group_type_enum { } } } -// Proto file describing ad serving statuses. +// Proto file describing ad serving statuses. -/// Possible ad serving statuses of a campaign. +/// Possible ad serving statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdServingOptimizationStatusEnum { } /// Nested message and enum types in `AdServingOptimizationStatusEnum`. pub mod ad_serving_optimization_status_enum { - /// Enum describing possible serving statuses. + /// Enum describing possible serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdServingOptimizationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Ad serving is optimized based on CTR for the campaign. + /// Ad serving is optimized based on CTR for the campaign. Optimize = 2, - /// Ad serving is optimized based on CTR * Conversion for the campaign. If - /// the campaign is not in the conversion optimizer bidding strategy, it will - /// default to OPTIMIZED. + /// Ad serving is optimized based on CTR * Conversion for the campaign. If + /// the campaign is not in the conversion optimizer bidding strategy, it will + /// default to OPTIMIZED. ConversionOptimize = 3, - /// Ads are rotated evenly for 90 days, then optimized for clicks. + /// Ads are rotated evenly for 90 days, then optimized for clicks. Rotate = 4, - /// Show lower performing ads more evenly with higher performing ads, and do - /// not optimize. + /// Show lower performing ads more evenly with higher performing ads, and do + /// not optimize. RotateIndefinitely = 5, - /// Ad serving optimization status is not available. + /// Ad serving optimization status is not available. Unavailable = 6, } impl AdServingOptimizationStatus { @@ -6024,33 +6024,33 @@ pub mod ad_serving_optimization_status_enum { } } } -// Proto file describing ad strengths. +// Proto file describing ad strengths. -/// Container for enum describing possible ad strengths. +/// Container for enum describing possible ad strengths. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdStrengthEnum { } /// Nested message and enum types in `AdStrengthEnum`. pub mod ad_strength_enum { - /// Enum listing the possible ad strengths. + /// Enum listing the possible ad strengths. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdStrength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The ad strength is currently pending. + /// The ad strength is currently pending. Pending = 2, - /// No ads could be generated. + /// No ads could be generated. NoAds = 3, - /// Poor strength. + /// Poor strength. Poor = 4, - /// Average strength. + /// Average strength. Average = 5, - /// Good strength. + /// Good strength. Good = 6, - /// Excellent strength. + /// Excellent strength. Excellent = 7, } impl AdStrength { @@ -6072,80 +6072,80 @@ pub mod ad_strength_enum { } } } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// Container for enum describing possible types of an ad. +/// Container for enum describing possible types of an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdTypeEnum { } /// Nested message and enum types in `AdTypeEnum`. pub mod ad_type_enum { - /// The possible types of an ad. + /// The possible types of an ad. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The ad is a text ad. + /// The ad is a text ad. TextAd = 2, - /// The ad is an expanded text ad. + /// The ad is an expanded text ad. ExpandedTextAd = 3, - /// The ad is an expanded dynamic search ad. + /// The ad is an expanded dynamic search ad. ExpandedDynamicSearchAd = 7, - /// The ad is a hotel ad. + /// The ad is a hotel ad. HotelAd = 8, - /// The ad is a Smart Shopping ad. + /// The ad is a Smart Shopping ad. ShoppingSmartAd = 9, - /// The ad is a standard Shopping ad. + /// The ad is a standard Shopping ad. ShoppingProductAd = 10, - /// The ad is a video ad. + /// The ad is a video ad. VideoAd = 12, - /// This ad is a Gmail ad. + /// This ad is a Gmail ad. GmailAd = 13, - /// This ad is an Image ad. + /// This ad is an Image ad. ImageAd = 14, - /// The ad is a responsive search ad. + /// The ad is a responsive search ad. ResponsiveSearchAd = 15, - /// The ad is a legacy responsive display ad. + /// The ad is a legacy responsive display ad. LegacyResponsiveDisplayAd = 16, - /// The ad is an app ad. + /// The ad is an app ad. AppAd = 17, - /// The ad is a legacy app install ad. + /// The ad is a legacy app install ad. LegacyAppInstallAd = 18, - /// The ad is a responsive display ad. + /// The ad is a responsive display ad. ResponsiveDisplayAd = 19, - /// The ad is a local ad. + /// The ad is a local ad. LocalAd = 20, - /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. + /// The ad is a display upload ad with the HTML5_UPLOAD_AD product type. Html5UploadAd = 21, - /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product - /// types. + /// The ad is a display upload ad with one of the DYNAMIC_HTML5_* product + /// types. DynamicHtml5Ad = 22, - /// The ad is an app engagement ad. + /// The ad is an app engagement ad. AppEngagementAd = 23, - /// The ad is a Shopping Comparison Listing ad. + /// The ad is a Shopping Comparison Listing ad. ShoppingComparisonListingAd = 24, - /// Video bumper ad. + /// Video bumper ad. VideoBumperAd = 25, - /// Video non-skippable in-stream ad. + /// Video non-skippable in-stream ad. VideoNonSkippableInStreamAd = 26, - /// Video outstream ad. + /// Video outstream ad. VideoOutstreamAd = 27, - /// Video TrueView in-display ad. + /// Video TrueView in-display ad. VideoTrueviewDiscoveryAd = 28, - /// Video TrueView in-stream ad. + /// Video TrueView in-stream ad. VideoTrueviewInStreamAd = 29, - /// Video responsive ad. + /// Video responsive ad. VideoResponsiveAd = 30, - /// Smart campaign ad. + /// Smart campaign ad. SmartCampaignAd = 31, - /// Call ad. + /// Call ad. CallAd = 32, - /// Universal app pre-registration ad. + /// Universal app pre-registration ad. AppPreRegistrationAd = 33, } impl AdType { @@ -6189,24 +6189,24 @@ pub mod ad_type_enum { } } } -// Proto file describing relation type for affiliate location feeds. +// Proto file describing relation type for affiliate location feeds. -/// Container for enum describing possible values for a relationship type for -/// an affiliate location feed. +/// Container for enum describing possible values for a relationship type for +/// an affiliate location feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedRelationshipTypeEnum { } /// Nested message and enum types in `AffiliateLocationFeedRelationshipTypeEnum`. pub mod affiliate_location_feed_relationship_type_enum { - /// Possible values for a relationship type for an affiliate location feed. + /// Possible values for a relationship type for an affiliate location feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationFeedRelationshipType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// General retailer relationship. + /// General retailer relationship. GeneralRetailer = 2, } impl AffiliateLocationFeedRelationshipType { @@ -6223,43 +6223,43 @@ pub mod affiliate_location_feed_relationship_type_enum { } } } -// Proto file describing Affiliate Location placeholder fields. +// Proto file describing Affiliate Location placeholder fields. -/// Values for Affiliate Location placeholder fields. +/// Values for Affiliate Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationPlaceholderFieldEnum { } /// Nested message and enum types in `AffiliateLocationPlaceholderFieldEnum`. pub mod affiliate_location_placeholder_field_enum { - /// Possible values for Affiliate Location placeholder fields. + /// Possible values for Affiliate Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AffiliateLocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, - /// Data Type: STRING. Language code of the business. + /// Data Type: STRING. Language code of the business. LanguageCode = 10, - /// Data Type: INT64. ID of the chain. + /// Data Type: INT64. ID of the chain. ChainId = 11, - /// Data Type: STRING. Name of the chain. + /// Data Type: STRING. Name of the chain. ChainName = 12, } impl AffiliateLocationPlaceholderField { @@ -6286,25 +6286,25 @@ pub mod affiliate_location_placeholder_field_enum { } } } -// Proto file describing App Campaign app store. +// Proto file describing App Campaign app store. -/// The application store that distributes mobile applications. +/// The application store that distributes mobile applications. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignAppStoreEnum { } /// Nested message and enum types in `AppCampaignAppStoreEnum`. pub mod app_campaign_app_store_enum { - /// Enum describing app campaign app store. + /// Enum describing app campaign app store. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignAppStore { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Apple app store. + /// Apple app store. AppleAppStore = 2, - /// Google play. + /// Google play. GoogleAppStore = 3, } impl AppCampaignAppStore { @@ -6322,41 +6322,41 @@ pub mod app_campaign_app_store_enum { } } } -// Proto file describing App Campaign bidding strategy goal types. +// Proto file describing App Campaign bidding strategy goal types. -/// Container for enum describing goal towards which the bidding strategy of an -/// app campaign should optimize for. +/// Container for enum describing goal towards which the bidding strategy of an +/// app campaign should optimize for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignBiddingStrategyGoalTypeEnum { } /// Nested message and enum types in `AppCampaignBiddingStrategyGoalTypeEnum`. pub mod app_campaign_bidding_strategy_goal_type_enum { - /// Goal type of App campaign BiddingStrategy. + /// Goal type of App campaign BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppCampaignBiddingStrategyGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Aim to maximize the number of app installs. The cpa bid is the - /// target cost per install. + /// Aim to maximize the number of app installs. The cpa bid is the + /// target cost per install. OptimizeInstallsTargetInstallCost = 2, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per install. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per install. OptimizeInAppConversionsTargetInstallCost = 3, - /// Aim to maximize the long term number of selected in-app conversions from - /// app installs. The cpa bid is the target cost per in-app conversion. Note - /// that the actual cpa may seem higher than the target cpa at first, since - /// the long term conversions haven’t happened yet. + /// Aim to maximize the long term number of selected in-app conversions from + /// app installs. The cpa bid is the target cost per in-app conversion. Note + /// that the actual cpa may seem higher than the target cpa at first, since + /// the long term conversions haven’t happened yet. OptimizeInAppConversionsTargetConversionCost = 4, - /// Aim to maximize all conversions' value, i.e. install + selected in-app - /// conversions while achieving or exceeding target return on advertising - /// spend. + /// Aim to maximize all conversions' value, i.e. install + selected in-app + /// conversions while achieving or exceeding target return on advertising + /// spend. OptimizeReturnOnAdvertisingSpend = 5, - /// Aim to maximize the pre-registration of the app. + /// Aim to maximize the pre-registration of the app. OptimizePreRegistrationConversionVolume = 6, - /// Aim to maximize installation of the app without target cost-per-install. + /// Aim to maximize installation of the app without target cost-per-install. OptimizeInstallsWithoutTargetInstallCost = 7, } impl AppCampaignBiddingStrategyGoalType { @@ -6378,44 +6378,44 @@ pub mod app_campaign_bidding_strategy_goal_type_enum { } } } -// Proto file describing App placeholder fields. +// Proto file describing App placeholder fields. -/// Values for App placeholder fields. +/// Values for App placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppPlaceholderFieldEnum { } /// Nested message and enum types in `AppPlaceholderFieldEnum`. pub mod app_placeholder_field_enum { - /// Possible values for App placeholder fields. + /// Possible values for App placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AppPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The application store that the target application - /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play - /// Store. + /// Data Type: INT64. The application store that the target application + /// belongs to. Valid values are: 1 = Apple iTunes Store; 2 = Google Play + /// Store. Store = 2, - /// Data Type: STRING. The store-specific ID for the target application. + /// Data Type: STRING. The store-specific ID for the target application. Id = 3, - /// Data Type: STRING. The visible text displayed when the link is rendered - /// in an ad. + /// Data Type: STRING. The visible text displayed when the link is rendered + /// in an ad. LinkText = 4, - /// Data Type: STRING. The destination URL of the in-app link. + /// Data Type: STRING. The destination URL of the in-app link. Url = 5, - /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the in-app link when using Upgraded + /// URLs. FinalUrls = 6, - /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the in-app link when using + /// Upgraded URLs. FinalMobileUrls = 7, - /// Data Type: URL. Tracking template for the in-app link when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the in-app link when using Upgraded + /// URLs. TrackingUrl = 8, - /// Data Type: STRING. Final URL suffix for the in-app link when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the in-app link when using + /// parallel tracking. FinalUrlSuffix = 9, } impl AppPlaceholderField { @@ -6439,70 +6439,70 @@ pub mod app_placeholder_field_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the possible placements of an asset. +/// Container for enum describing the possible placements of an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeEnum { } /// Nested message and enum types in `AssetFieldTypeEnum`. pub mod asset_field_type_enum { - /// Enum describing the possible placements of an asset. + /// Enum describing the possible placements of an asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetFieldType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The asset is linked for use as a headline. + /// The asset is linked for use as a headline. Headline = 2, - /// The asset is linked for use as a description. + /// The asset is linked for use as a description. Description = 3, - /// The asset is linked for use as mandatory ad text. + /// The asset is linked for use as mandatory ad text. MandatoryAdText = 4, - /// The asset is linked for use as a marketing image. + /// The asset is linked for use as a marketing image. MarketingImage = 5, - /// The asset is linked for use as a media bundle. + /// The asset is linked for use as a media bundle. MediaBundle = 6, - /// The asset is linked for use as a YouTube video. + /// The asset is linked for use as a YouTube video. YoutubeVideo = 7, - /// The asset is linked to indicate that a hotels campaign is "Book on - /// Google" enabled. + /// The asset is linked to indicate that a hotels campaign is "Book on + /// Google" enabled. BookOnGoogle = 8, - /// The asset is linked for use as a Lead Form extension. + /// The asset is linked for use as a Lead Form extension. LeadForm = 9, - /// The asset is linked for use as a Promotion extension. + /// The asset is linked for use as a Promotion extension. Promotion = 10, - /// The asset is linked for use as a Callout extension. + /// The asset is linked for use as a Callout extension. Callout = 11, - /// The asset is linked for use as a Structured Snippet extension. + /// The asset is linked for use as a Structured Snippet extension. StructuredSnippet = 12, - /// The asset is linked for use as a Sitelink extension. + /// The asset is linked for use as a Sitelink extension. Sitelink = 13, - /// The asset is linked for use as a Mobile App extension. + /// The asset is linked for use as a Mobile App extension. MobileApp = 14, - /// The asset is linked for use as a Hotel Callout extension. + /// The asset is linked for use as a Hotel Callout extension. HotelCallout = 15, - /// The asset is linked for use as a Call extension. + /// The asset is linked for use as a Call extension. Call = 16, - /// The asset is linked for use as a Price extension. + /// The asset is linked for use as a Price extension. Price = 24, - /// The asset is linked for use as a long headline. + /// The asset is linked for use as a long headline. LongHeadline = 17, - /// The asset is linked for use as a business name. + /// The asset is linked for use as a business name. BusinessName = 18, - /// The asset is linked for use as a square marketing image. + /// The asset is linked for use as a square marketing image. SquareMarketingImage = 19, - /// The asset is linked for use as a portrait marketing image. + /// The asset is linked for use as a portrait marketing image. PortraitMarketingImage = 20, - /// The asset is linked for use as a logo. + /// The asset is linked for use as a logo. Logo = 21, - /// The asset is linked for use as a landscape logo. + /// The asset is linked for use as a landscape logo. LandscapeLogo = 22, - /// The asset is linked for use as a non YouTube logo. + /// The asset is linked for use as a non YouTube logo. Video = 23, - /// The asset is linked for use to select a call-to-action. + /// The asset is linked for use to select a call-to-action. CallToActionSelection = 25, } impl AssetFieldType { @@ -6542,27 +6542,27 @@ pub mod asset_field_type_enum { } } } -// Proto file describing asset group status. +// Proto file describing asset group status. -/// Container for enum describing possible statuses of an asset group. +/// Container for enum describing possible statuses of an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupStatusEnum { } /// Nested message and enum types in `AssetGroupStatusEnum`. pub mod asset_group_status_enum { - /// The possible statuses of an asset group. + /// The possible statuses of an asset group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The asset group is enabled. + /// The asset group is enabled. Enabled = 2, - /// The asset group is paused. + /// The asset group is paused. Paused = 3, - /// The asset group is removed. + /// The asset group is removed. Removed = 4, } impl AssetGroupStatus { @@ -6581,27 +6581,27 @@ pub mod asset_group_status_enum { } } } -// Proto file describing status of an asset link. +// Proto file describing status of an asset link. -/// Container for enum describing possible statuses of an asset link. +/// Container for enum describing possible statuses of an asset link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkStatusEnum { } /// Nested message and enum types in `AssetLinkStatusEnum`. pub mod asset_link_status_enum { - /// Enum describing statuses of an asset link. + /// Enum describing statuses of an asset link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Asset link is enabled. + /// Asset link is enabled. Enabled = 2, - /// Asset link has been removed. + /// Asset link has been removed. Removed = 3, - /// Asset link is paused. + /// Asset link is paused. Paused = 4, } impl AssetLinkStatus { @@ -6620,26 +6620,26 @@ pub mod asset_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set asset. +/// Container for enum describing possible statuses of an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetStatusEnum { } /// Nested message and enum types in `AssetSetAssetStatusEnum`. pub mod asset_set_asset_status_enum { - /// The possible statuses of an asset set asset. + /// The possible statuses of an asset set asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set asset is enabled. + /// The asset set asset is enabled. Enabled = 2, - /// The asset set asset is removed. + /// The asset set asset is removed. Removed = 3, } impl AssetSetAssetStatus { @@ -6657,27 +6657,27 @@ pub mod asset_set_asset_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of the linkage between asset -/// set and its container. +/// Container for enum describing possible statuses of the linkage between asset +/// set and its container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkStatusEnum { } /// Nested message and enum types in `AssetSetLinkStatusEnum`. pub mod asset_set_link_status_enum { - /// The possible statuses of he linkage between asset set and its container. + /// The possible statuses of he linkage between asset set and its container. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The linkage between asset set and its container is enabled. + /// The linkage between asset set and its container is enabled. Enabled = 2, - /// The linkage between asset set and its container is removed. + /// The linkage between asset set and its container is removed. Removed = 3, } impl AssetSetLinkStatus { @@ -6695,26 +6695,26 @@ pub mod asset_set_link_status_enum { } } } -// Proto file describing asset set status. +// Proto file describing asset set status. -/// Container for enum describing possible statuses of an asset set. +/// Container for enum describing possible statuses of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetStatusEnum { } /// Nested message and enum types in `AssetSetStatusEnum`. pub mod asset_set_status_enum { - /// The possible statuses of an asset set. + /// The possible statuses of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. - /// This is a response-only value. + /// The received value is not known in this version. + /// This is a response-only value. Unknown = 1, - /// The asset set is enabled. + /// The asset set is enabled. Enabled = 2, - /// The asset set is removed. + /// The asset set is removed. Removed = 3, } impl AssetSetStatus { @@ -6732,27 +6732,27 @@ pub mod asset_set_status_enum { } } } -// Proto file describing asset set type. +// Proto file describing asset set type. -/// Container for enum describing possible types of an asset set. +/// Container for enum describing possible types of an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetTypeEnum { } /// Nested message and enum types in `AssetSetTypeEnum`. pub mod asset_set_type_enum { - /// Possible types of an asset set. + /// Possible types of an asset set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Page feed. + /// Page feed. PageFeed = 2, - /// Dynamic education feed. + /// Dynamic education feed. DynamicEducation = 3, - /// Google Merchant Center asset set. + /// Google Merchant Center asset set. MerchantCenterFeed = 4, } impl AssetSetType { @@ -6771,55 +6771,55 @@ pub mod asset_set_type_enum { } } } -// Proto file describing asset type. +// Proto file describing asset type. -/// Container for enum describing the types of asset. +/// Container for enum describing the types of asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetTypeEnum { } /// Nested message and enum types in `AssetTypeEnum`. pub mod asset_type_enum { - /// Enum describing possible types of asset. + /// Enum describing possible types of asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube video asset. + /// YouTube video asset. YoutubeVideo = 2, - /// Media bundle asset. + /// Media bundle asset. MediaBundle = 3, - /// Image asset. + /// Image asset. Image = 4, - /// Text asset. + /// Text asset. Text = 5, - /// Lead form asset. + /// Lead form asset. LeadForm = 6, - /// Book on Google asset. + /// Book on Google asset. BookOnGoogle = 7, - /// Promotion asset. + /// Promotion asset. Promotion = 8, - /// Callout asset. + /// Callout asset. Callout = 9, - /// Structured Snippet asset. + /// Structured Snippet asset. StructuredSnippet = 10, - /// Sitelink asset. + /// Sitelink asset. Sitelink = 11, - /// Page Feed asset. + /// Page Feed asset. PageFeed = 12, - /// Dynamic Education asset. + /// Dynamic Education asset. DynamicEducation = 13, - /// Mobile app asset. + /// Mobile app asset. MobileApp = 14, - /// Hotel callout asset. + /// Hotel callout asset. HotelCallout = 15, - /// Call asset. + /// Call asset. Call = 16, - /// Price asset. + /// Price asset. Price = 17, - /// Call to action asset. + /// Call to action asset. CallToAction = 18, } impl AssetType { @@ -6852,42 +6852,42 @@ pub mod asset_type_enum { } } } -/// Container for enum representing the attribution model that describes how to -/// distribute credit for a particular conversion across potentially many prior -/// interactions. +/// Container for enum representing the attribution model that describes how to +/// distribute credit for a particular conversion across potentially many prior +/// interactions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelEnum { } /// Nested message and enum types in `AttributionModelEnum`. pub mod attribution_model_enum { - /// The attribution model that describes how to distribute credit for a - /// particular conversion across potentially many prior interactions. + /// The attribution model that describes how to distribute credit for a + /// particular conversion across potentially many prior interactions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AttributionModel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Uses external attribution. + /// Uses external attribution. External = 100, - /// Attributes all credit for a conversion to its last click. + /// Attributes all credit for a conversion to its last click. GoogleAdsLastClick = 101, - /// Attributes all credit for a conversion to its first click using Google - /// Search attribution. + /// Attributes all credit for a conversion to its first click using Google + /// Search attribution. GoogleSearchAttributionFirstClick = 102, - /// Attributes credit for a conversion equally across all of its clicks using - /// Google Search attribution. + /// Attributes credit for a conversion equally across all of its clicks using + /// Google Search attribution. GoogleSearchAttributionLinear = 103, - /// Attributes exponentially more credit for a conversion to its more recent - /// clicks using Google Search attribution (half-life is 1 week). + /// Attributes exponentially more credit for a conversion to its more recent + /// clicks using Google Search attribution (half-life is 1 week). GoogleSearchAttributionTimeDecay = 104, - /// Attributes 40% of the credit for a conversion to its first and last - /// clicks. Remaining 20% is evenly distributed across all other clicks. This - /// uses Google Search attribution. + /// Attributes 40% of the credit for a conversion to its first and last + /// clicks. Remaining 20% is evenly distributed across all other clicks. This + /// uses Google Search attribution. GoogleSearchAttributionPositionBased = 105, - /// Flexible model that uses machine learning to determine the appropriate - /// distribution of credit among clicks using Google Search attribution. + /// Flexible model that uses machine learning to determine the appropriate + /// distribution of credit among clicks using Google Search attribution. GoogleSearchAttributionDataDriven = 106, } impl AttributionModel { @@ -6910,27 +6910,27 @@ pub mod attribution_model_enum { } } } -// Proto file describing batch job statuses. +// Proto file describing batch job statuses. -/// Container for enum describing possible batch job statuses. +/// Container for enum describing possible batch job statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobStatusEnum { } /// Nested message and enum types in `BatchJobStatusEnum`. pub mod batch_job_status_enum { - /// The batch job statuses. + /// The batch job statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job is not currently running. + /// The job is not currently running. Pending = 2, - /// The job is running. + /// The job is running. Running = 3, - /// The job is done. + /// The job is done. Done = 4, } impl BatchJobStatus { @@ -6949,26 +6949,26 @@ pub mod batch_job_status_enum { } } } -// Proto file describing bid modifier source. +// Proto file describing bid modifier source. -/// Container for enum describing possible bid modifier sources. +/// Container for enum describing possible bid modifier sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BidModifierSourceEnum { } /// Nested message and enum types in `BidModifierSourceEnum`. pub mod bid_modifier_source_enum { - /// Enum describing possible bid modifier sources. + /// Enum describing possible bid modifier sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BidModifierSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The bid modifier is specified at the campaign level, on the campaign - /// level criterion. + /// The bid modifier is specified at the campaign level, on the campaign + /// level criterion. Campaign = 2, - /// The bid modifier is specified (overridden) at the ad group level. + /// The bid modifier is specified (overridden) at the ad group level. AdGroup = 3, } impl BidModifierSource { @@ -6986,29 +6986,29 @@ pub mod bid_modifier_source_enum { } } } -// Proto file describing bidding sources. +// Proto file describing bidding sources. -/// Container for enum describing possible bidding sources. +/// Container for enum describing possible bidding sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSourceEnum { } /// Nested message and enum types in `BiddingSourceEnum`. pub mod bidding_source_enum { - /// Indicates where a bid or target is defined. For example, an ad group - /// criterion may define a cpc bid directly, or it can inherit its cpc bid from - /// the ad group. + /// Indicates where a bid or target is defined. For example, an ad group + /// criterion may define a cpc bid directly, or it can inherit its cpc bid from + /// the ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Effective bid or target is inherited from campaign bidding strategy. + /// Effective bid or target is inherited from campaign bidding strategy. CampaignBiddingStrategy = 5, - /// The bid or target is defined on the ad group. + /// The bid or target is defined on the ad group. AdGroup = 6, - /// The bid or target is defined on the ad group criterion. + /// The bid or target is defined on the ad group criterion. AdGroupCriterion = 7, } impl BiddingSource { @@ -7027,27 +7027,27 @@ pub mod bidding_source_enum { } } } -// Proto file describing BiddingStrategy statuses. +// Proto file describing BiddingStrategy statuses. -/// Message describing BiddingStrategy statuses. +/// Message describing BiddingStrategy statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyStatusEnum { } /// Nested message and enum types in `BiddingStrategyStatusEnum`. pub mod bidding_strategy_status_enum { - /// The possible statuses of a BiddingStrategy. + /// The possible statuses of a BiddingStrategy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The bidding strategy is enabled. + /// The bidding strategy is enabled. Enabled = 2, - /// The bidding strategy is removed. + /// The bidding strategy is removed. Removed = 4, } impl BiddingStrategyStatus { @@ -7065,80 +7065,80 @@ pub mod bidding_strategy_status_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Container for enum describing possible bidding strategy types. +/// Container for enum describing possible bidding strategy types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyTypeEnum { } /// Nested message and enum types in `BiddingStrategyTypeEnum`. pub mod bidding_strategy_type_enum { - /// Enum describing possible bidding strategy types. + /// Enum describing possible bidding strategy types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. Commission = 16, - /// Enhanced CPC is a bidding strategy that raises bids for clicks - /// that seem more likely to lead to a conversion and lowers - /// them for clicks where they seem less likely. + /// Enhanced CPC is a bidding strategy that raises bids for clicks + /// that seem more likely to lead to a conversion and lowers + /// them for clicks where they seem less likely. EnhancedCpc = 2, - /// Used for return value only. Indicates that a campaign does not have a - /// bidding strategy. This prevents the campaign from serving. For example, - /// a campaign may be attached to a manager bidding strategy and the serving - /// account is subsequently unlinked from the manager account. In this case - /// the campaign will automatically be detached from the now inaccessible - /// manager bidding strategy and transition to the INVALID bidding strategy - /// type. + /// Used for return value only. Indicates that a campaign does not have a + /// bidding strategy. This prevents the campaign from serving. For example, + /// a campaign may be attached to a manager bidding strategy and the serving + /// account is subsequently unlinked from the manager account. In this case + /// the campaign will automatically be detached from the now inaccessible + /// manager bidding strategy and transition to the INVALID bidding strategy + /// type. Invalid = 17, - /// Manual click based bidding where user pays per click. + /// Manual click based bidding where user pays per click. ManualCpc = 3, - /// Manual impression based bidding - /// where user pays per thousand impressions. + /// Manual impression based bidding + /// where user pays per thousand impressions. ManualCpm = 4, - /// A bidding strategy that pays a configurable amount per video view. + /// A bidding strategy that pays a configurable amount per video view. ManualCpv = 13, - /// A bidding strategy that automatically maximizes number of conversions - /// given a daily budget. + /// A bidding strategy that automatically maximizes number of conversions + /// given a daily budget. MaximizeConversions = 10, - /// An automated bidding strategy that automatically sets bids to maximize - /// revenue while spending your budget. + /// An automated bidding strategy that automatically sets bids to maximize + /// revenue while spending your budget. MaximizeConversionValue = 11, - /// Page-One Promoted bidding scheme, which sets max cpc bids to - /// target impressions on page one or page one promoted slots on google.com. - /// This enum value is deprecated. + /// Page-One Promoted bidding scheme, which sets max cpc bids to + /// target impressions on page one or page one promoted slots on google.com. + /// This enum value is deprecated. PageOnePromoted = 5, - /// Percent Cpc is bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Percent Cpc is bidding strategy where bids are a fraction of the + /// advertised price for some good or service. PercentCpc = 12, - /// Target CPA is an automated bid strategy that sets bids - /// to help get as many conversions as possible - /// at the target cost-per-acquisition (CPA) you set. + /// Target CPA is an automated bid strategy that sets bids + /// to help get as many conversions as possible + /// at the target cost-per-acquisition (CPA) you set. TargetCpa = 6, - /// Target CPM is an automated bid strategy that sets bids to help get - /// as many impressions as possible at the target cost per one thousand - /// impressions (CPM) you set. + /// Target CPM is an automated bid strategy that sets bids to help get + /// as many impressions as possible at the target cost per one thousand + /// impressions (CPM) you set. TargetCpm = 14, - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). TargetImpressionShare = 15, - /// Target Outrank Share is an automated bidding strategy that sets bids - /// based on the target fraction of auctions where the advertiser - /// should outrank a specific competitor. - /// This enum value is deprecated. + /// Target Outrank Share is an automated bidding strategy that sets bids + /// based on the target fraction of auctions where the advertiser + /// should outrank a specific competitor. + /// This enum value is deprecated. TargetOutrankShare = 7, - /// Target ROAS is an automated bidding strategy - /// that helps you maximize revenue while averaging - /// a specific target Return On Average Spend (ROAS). + /// Target ROAS is an automated bidding strategy + /// that helps you maximize revenue while averaging + /// a specific target Return On Average Spend (ROAS). TargetRoas = 8, - /// Target Spend is an automated bid strategy that sets your bids - /// to help get as many clicks as possible within your budget. + /// Target Spend is an automated bid strategy that sets your bids + /// to help get as many clicks as possible within your budget. TargetSpend = 9, } impl BiddingStrategyType { @@ -7170,31 +7170,31 @@ pub mod bidding_strategy_type_enum { } } } -// Proto file describing BillingSetup statuses. +// Proto file describing BillingSetup statuses. -/// Message describing BillingSetup statuses. +/// Message describing BillingSetup statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupStatusEnum { } /// Nested message and enum types in `BillingSetupStatusEnum`. pub mod billing_setup_status_enum { - /// The possible statuses of a BillingSetup. + /// The possible statuses of a BillingSetup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The billing setup is pending approval. + /// The billing setup is pending approval. Pending = 2, - /// The billing setup has been approved but the corresponding first budget - /// has not. This can only occur for billing setups configured for monthly - /// invoicing. + /// The billing setup has been approved but the corresponding first budget + /// has not. This can only occur for billing setups configured for monthly + /// invoicing. ApprovedHeld = 3, - /// The billing setup has been approved. + /// The billing setup has been approved. Approved = 4, - /// The billing setup was cancelled by the user prior to approval. + /// The billing setup was cancelled by the user prior to approval. Cancelled = 5, } impl BillingSetupStatus { @@ -7214,47 +7214,47 @@ pub mod billing_setup_status_enum { } } } -// Proto file describing brand safety suitability settings. +// Proto file describing brand safety suitability settings. -/// Container for enum with 3-Tier brand safety suitability control. +/// Container for enum with 3-Tier brand safety suitability control. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BrandSafetySuitabilityEnum { } /// Nested message and enum types in `BrandSafetySuitabilityEnum`. pub mod brand_safety_suitability_enum { - /// 3-Tier brand safety suitability control. + /// 3-Tier brand safety suitability control. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BrandSafetySuitability { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This option lets you show ads across all inventory on YouTube and video - /// partners that meet our standards for monetization. This option may be an - /// appropriate choice for brands that want maximum access to the full - /// breadth of videos eligible for ads, including, for example, videos that - /// have strong profanity in the context of comedy or a documentary, or - /// excessive violence as featured in video games. + /// This option lets you show ads across all inventory on YouTube and video + /// partners that meet our standards for monetization. This option may be an + /// appropriate choice for brands that want maximum access to the full + /// breadth of videos eligible for ads, including, for example, videos that + /// have strong profanity in the context of comedy or a documentary, or + /// excessive violence as featured in video games. ExpandedInventory = 2, - /// This option lets you show ads across a wide range of content that's - /// appropriate for most brands, such as popular music videos, documentaries, - /// and movie trailers. The content you can show ads on is based on YouTube's - /// advertiser-friendly content guidelines that take into account, for - /// example, the strength or frequency of profanity, or the appropriateness - /// of subject matter like sensitive events. Ads won't show, for example, on - /// content with repeated strong profanity, strong sexual content, or graphic - /// violence. + /// This option lets you show ads across a wide range of content that's + /// appropriate for most brands, such as popular music videos, documentaries, + /// and movie trailers. The content you can show ads on is based on YouTube's + /// advertiser-friendly content guidelines that take into account, for + /// example, the strength or frequency of profanity, or the appropriateness + /// of subject matter like sensitive events. Ads won't show, for example, on + /// content with repeated strong profanity, strong sexual content, or graphic + /// violence. StandardInventory = 3, - /// This option lets you show ads on a reduced range of content that's - /// appropriate for brands with particularly strict guidelines around - /// inappropriate language and sexual suggestiveness; above and beyond what - /// YouTube's advertiser-friendly content guidelines address. The videos - /// accessible in this sensitive category meet heightened requirements, - /// especially for inappropriate language and sexual suggestiveness. For - /// example, your ads will be excluded from showing on some of YouTube's most - /// popular music videos and other pop culture content across YouTube and - /// Google video partners. + /// This option lets you show ads on a reduced range of content that's + /// appropriate for brands with particularly strict guidelines around + /// inappropriate language and sexual suggestiveness; above and beyond what + /// YouTube's advertiser-friendly content guidelines address. The videos + /// accessible in this sensitive category meet heightened requirements, + /// especially for inappropriate language and sexual suggestiveness. For + /// example, your ads will be excluded from showing on some of YouTube's most + /// popular music videos and other pop culture content across YouTube and + /// Google video partners. LimitedInventory = 4, } impl BrandSafetySuitability { @@ -7273,28 +7273,28 @@ pub mod brand_safety_suitability_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget delivery methods. A delivery method determines the -/// rate at which the Budget is spent. +/// Message describing Budget delivery methods. A delivery method determines the +/// rate at which the Budget is spent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetDeliveryMethodEnum { } /// Nested message and enum types in `BudgetDeliveryMethodEnum`. pub mod budget_delivery_method_enum { - /// Possible delivery methods of a Budget. + /// Possible delivery methods of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetDeliveryMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The budget server will throttle serving evenly across - /// the entire time period. + /// The budget server will throttle serving evenly across + /// the entire time period. Standard = 2, - /// The budget server will not throttle serving, - /// and ads will serve as fast as possible. + /// The budget server will not throttle serving, + /// and ads will serve as fast as possible. Accelerated = 3, } impl BudgetDeliveryMethod { @@ -7312,28 +7312,28 @@ pub mod budget_delivery_method_enum { } } } -// Proto file describing Budget delivery methods. +// Proto file describing Budget delivery methods. -/// Message describing Budget period. +/// Message describing Budget period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetPeriodEnum { } /// Nested message and enum types in `BudgetPeriodEnum`. pub mod budget_period_enum { - /// Possible period of a Budget. + /// Possible period of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetPeriod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Daily budget. + /// Daily budget. Daily = 2, - /// Custom budget, added back in V5. - /// Custom bugdet can be used with total_amount to specify lifetime budget - /// limit. See: for more - /// info. + /// Custom budget, added back in V5. + /// Custom bugdet can be used with total_amount to specify lifetime budget + /// limit. See: for more + /// info. CustomPeriod = 5, } impl BudgetPeriod { @@ -7351,25 +7351,25 @@ pub mod budget_period_enum { } } } -// Proto file describing Budget statuses +// Proto file describing Budget statuses -/// Message describing a Budget status +/// Message describing a Budget status #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetStatusEnum { } /// Nested message and enum types in `BudgetStatusEnum`. pub mod budget_status_enum { - /// Possible statuses of a Budget. + /// Possible statuses of a Budget. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget is enabled. + /// Budget is enabled. Enabled = 2, - /// Budget is removed. + /// Budget is removed. Removed = 3, } impl BudgetStatus { @@ -7387,40 +7387,40 @@ pub mod budget_status_enum { } } } -// Proto file describing Budget types. +// Proto file describing Budget types. -/// Describes Budget types. +/// Describes Budget types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetTypeEnum { } /// Nested message and enum types in `BudgetTypeEnum`. pub mod budget_type_enum { - /// Possible Budget types. + /// Possible Budget types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BudgetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Budget type for standard Google Ads usage. - /// Caps daily spend at two times the specified budget amount. - /// Full details: + /// Budget type for standard Google Ads usage. + /// Caps daily spend at two times the specified budget amount. + /// Full details: Standard = 2, - /// Budget type with a fixed cost-per-acquisition (conversion). - /// Full details: + /// Budget type with a fixed cost-per-acquisition (conversion). + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), - /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), + /// BiddingStrategyType.TARGET_CPA and PaymentMode.CONVERSIONS. FixedCpa = 4, - /// Budget type for Smart Campaign. - /// Full details: + /// Budget type for Smart Campaign. + /// Full details: /// - /// This type is only supported by campaigns with - /// AdvertisingChannelType.SMART and - /// AdvertisingChannelSubType.SMART_CAMPAIGN. + /// This type is only supported by campaigns with + /// AdvertisingChannelType.SMART and + /// AdvertisingChannelSubType.SMART_CAMPAIGN. SmartCampaign = 5, } impl BudgetType { @@ -7439,38 +7439,38 @@ pub mod budget_type_enum { } } } -// Proto file describing Call placeholder fields. +// Proto file describing Call placeholder fields. -/// Values for Call placeholder fields. +/// Values for Call placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallPlaceholderFieldEnum { } /// Nested message and enum types in `CallPlaceholderFieldEnum`. pub mod call_placeholder_field_enum { - /// Possible values for Call placeholder fields. + /// Possible values for Call placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The advertiser's phone number to append to the ad. + /// Data Type: STRING. The advertiser's phone number to append to the ad. PhoneNumber = 2, - /// Data Type: STRING. Uppercase two-letter country code of the advertiser's - /// phone number. + /// Data Type: STRING. Uppercase two-letter country code of the advertiser's + /// phone number. CountryCode = 3, - /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: - /// true. + /// Data Type: BOOLEAN. Indicates whether call tracking is enabled. Default: + /// true. Tracked = 4, - /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This - /// object contains the phoneCallDurationfield which is the minimum duration - /// (in seconds) of a call to be considered a conversion. + /// Data Type: INT64. The ID of an AdCallMetricsConversion object. This + /// object contains the phoneCallDurationfield which is the minimum duration + /// (in seconds) of a call to be considered a conversion. ConversionTypeId = 5, - /// Data Type: STRING. Indicates whether this call extension uses its own - /// call conversion setting or follows the account level setting. - /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and - /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. + /// Data Type: STRING. Indicates whether this call extension uses its own + /// call conversion setting or follows the account level setting. + /// Valid values are: USE_ACCOUNT_LEVEL_CALL_CONVERSION_ACTION and + /// USE_RESOURCE_LEVEL_CALL_CONVERSION_ACTION. ConversionReportingState = 6, } impl CallPlaceholderField { @@ -7491,25 +7491,25 @@ pub mod call_placeholder_field_enum { } } } -// Proto file describing call tracking display location. +// Proto file describing call tracking display location. -/// Container for enum describing possible call tracking display locations. +/// Container for enum describing possible call tracking display locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTrackingDisplayLocationEnum { } /// Nested message and enum types in `CallTrackingDisplayLocationEnum`. pub mod call_tracking_display_location_enum { - /// Possible call tracking display locations. + /// Possible call tracking display locations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallTrackingDisplayLocation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call placed from the ad. + /// The phone call placed from the ad. Ad = 2, - /// The phone call placed from the landing page ad points to. + /// The phone call placed from the landing page ad points to. LandingPage = 3, } impl CallTrackingDisplayLocation { @@ -7527,26 +7527,26 @@ pub mod call_tracking_display_location_enum { } } } -// Proto file describing call types. +// Proto file describing call types. -/// Container for enum describing possible types of property from where the call -/// was made. +/// Container for enum describing possible types of property from where the call +/// was made. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallTypeEnum { } /// Nested message and enum types in `CallTypeEnum`. pub mod call_type_enum { - /// Possible types of property from where the call was made. + /// Possible types of property from where the call was made. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CallType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The phone call was manually dialed. + /// The phone call was manually dialed. ManuallyDialed = 2, - /// The phone call was a mobile click-to-call. + /// The phone call was a mobile click-to-call. HighEndMobileSearch = 3, } impl CallType { @@ -7564,23 +7564,23 @@ pub mod call_type_enum { } } } -// Proto file describing Callout placeholder fields. +// Proto file describing Callout placeholder fields. -/// Values for Callout placeholder fields. +/// Values for Callout placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutPlaceholderFieldEnum { } /// Nested message and enum types in `CalloutPlaceholderFieldEnum`. pub mod callout_placeholder_field_enum { - /// Possible values for Callout placeholder fields. + /// Possible values for Callout placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CalloutPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Callout text. + /// Data Type: STRING. Callout text. CalloutText = 2, } impl CalloutPlaceholderField { @@ -7597,29 +7597,29 @@ pub mod callout_placeholder_field_enum { } } } -// Proto file describing CampaignCriterion statuses. +// Proto file describing CampaignCriterion statuses. -/// Message describing CampaignCriterion statuses. +/// Message describing CampaignCriterion statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionStatusEnum { } /// Nested message and enum types in `CampaignCriterionStatusEnum`. pub mod campaign_criterion_status_enum { - /// The possible statuses of a CampaignCriterion. + /// The possible statuses of a CampaignCriterion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The campaign criterion is enabled. + /// The campaign criterion is enabled. Enabled = 2, - /// The campaign criterion is paused. + /// The campaign criterion is paused. Paused = 3, - /// The campaign criterion is removed. + /// The campaign criterion is removed. Removed = 4, } impl CampaignCriterionStatus { @@ -7638,37 +7638,37 @@ pub mod campaign_criterion_status_enum { } } } -// Proto file describing campaign draft status. +// Proto file describing campaign draft status. -/// Container for enum describing possible statuses of a campaign draft. +/// Container for enum describing possible statuses of a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftStatusEnum { } /// Nested message and enum types in `CampaignDraftStatusEnum`. pub mod campaign_draft_status_enum { - /// Possible statuses of a campaign draft. + /// Possible statuses of a campaign draft. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Initial state of the draft, the advertiser can start adding changes with - /// no effect on serving. + /// Initial state of the draft, the advertiser can start adding changes with + /// no effect on serving. Proposed = 2, - /// The campaign draft is removed. + /// The campaign draft is removed. Removed = 3, - /// Advertiser requested to promote draft's changes back into the original - /// campaign. Advertiser can poll the long running operation returned by - /// the promote action to see the status of the promotion. + /// Advertiser requested to promote draft's changes back into the original + /// campaign. Advertiser can poll the long running operation returned by + /// the promote action to see the status of the promotion. Promoting = 5, - /// The process to merge changes in the draft back to the original campaign - /// has completed successfully. + /// The process to merge changes in the draft back to the original campaign + /// has completed successfully. Promoted = 4, - /// The promotion failed after it was partially applied. Promote cannot be - /// attempted again safely, so the issue must be corrected in the original - /// campaign. + /// The promotion failed after it was partially applied. Promote cannot be + /// attempted again safely, so the issue must be corrected in the original + /// campaign. PromoteFailed = 6, } impl CampaignDraftStatus { @@ -7689,45 +7689,45 @@ pub mod campaign_draft_status_enum { } } } -// Proto file describing campaign experiment status. +// Proto file describing campaign experiment status. -/// Container for enum describing possible statuses of a campaign experiment. +/// Container for enum describing possible statuses of a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentStatusEnum { } /// Nested message and enum types in `CampaignExperimentStatusEnum`. pub mod campaign_experiment_status_enum { - /// Possible statuses of a campaign experiment. + /// Possible statuses of a campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The experiment campaign is being initialized. + /// The experiment campaign is being initialized. Initializing = 2, - /// Initialization of the experiment campaign failed. + /// Initialization of the experiment campaign failed. InitializationFailed = 8, - /// The experiment campaign is fully initialized. The experiment is currently - /// running, scheduled to run in the future or has ended based on its - /// end date. An experiment with the status INITIALIZING will be updated to - /// ENABLED when it is fully created. + /// The experiment campaign is fully initialized. The experiment is currently + /// running, scheduled to run in the future or has ended based on its + /// end date. An experiment with the status INITIALIZING will be updated to + /// ENABLED when it is fully created. Enabled = 3, - /// The experiment campaign was graduated to a stand-alone - /// campaign, existing independently of the experiment. + /// The experiment campaign was graduated to a stand-alone + /// campaign, existing independently of the experiment. Graduated = 4, - /// The experiment is removed. + /// The experiment is removed. Removed = 5, - /// The experiment's changes are being applied to the original campaign. - /// The long running operation returned by the promote method can be polled - /// to see the status of the promotion. + /// The experiment's changes are being applied to the original campaign. + /// The long running operation returned by the promote method can be polled + /// to see the status of the promotion. Promoting = 6, - /// Promote of the experiment campaign failed. + /// Promote of the experiment campaign failed. PromotionFailed = 9, - /// The changes of the experiment are promoted to their original campaign. + /// The changes of the experiment are promoted to their original campaign. Promoted = 7, - /// The experiment was ended manually. It did not end based on its end date. + /// The experiment was ended manually. It did not end based on its end date. EndedManually = 10, } impl CampaignExperimentStatus { @@ -7752,28 +7752,28 @@ pub mod campaign_experiment_status_enum { } } } -// Proto file describing campaign experiment traffic split type. +// Proto file describing campaign experiment traffic split type. -/// Container for enum describing campaign experiment traffic split type. +/// Container for enum describing campaign experiment traffic split type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTrafficSplitTypeEnum { } /// Nested message and enum types in `CampaignExperimentTrafficSplitTypeEnum`. pub mod campaign_experiment_traffic_split_type_enum { - /// Enum of strategies for splitting traffic between base and experiment - /// campaigns in campaign experiment. + /// Enum of strategies for splitting traffic between base and experiment + /// campaigns in campaign experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentTrafficSplitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Traffic is randomly assigned to the base or experiment arm for each - /// query, independent of previous assignments for the same user. + /// Traffic is randomly assigned to the base or experiment arm for each + /// query, independent of previous assignments for the same user. RandomQuery = 2, - /// Traffic is split using cookies to keep users in the same arm (base or - /// experiment) of the experiment. + /// Traffic is split using cookies to keep users in the same arm (base or + /// experiment) of the experiment. Cookie = 3, } impl CampaignExperimentTrafficSplitType { @@ -7791,33 +7791,33 @@ pub mod campaign_experiment_traffic_split_type_enum { } } } -// Proto file describing campaign experiment type. +// Proto file describing campaign experiment type. -/// Container for enum describing campaign experiment type. +/// Container for enum describing campaign experiment type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentTypeEnum { } /// Nested message and enum types in `CampaignExperimentTypeEnum`. pub mod campaign_experiment_type_enum { - /// Indicates if this campaign is a normal campaign, - /// a draft campaign, or an experiment campaign. + /// Indicates if this campaign is a normal campaign, + /// a draft campaign, or an experiment campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// This is a regular campaign. + /// This is a regular campaign. Base = 2, - /// This is a draft version of a campaign. - /// It has some modifications from a base campaign, - /// but it does not serve or accrue metrics. + /// This is a draft version of a campaign. + /// It has some modifications from a base campaign, + /// but it does not serve or accrue metrics. Draft = 3, - /// This is an experiment version of a campaign. - /// It has some modifications from a base campaign, - /// and a percentage of traffic is being diverted - /// from the BASE campaign to this experiment campaign. + /// This is an experiment version of a campaign. + /// It has some modifications from a base campaign, + /// and a percentage of traffic is being diverted + /// from the BASE campaign to this experiment campaign. Experiment = 4, } impl CampaignExperimentType { @@ -7836,33 +7836,33 @@ pub mod campaign_experiment_type_enum { } } } -// Proto file describing Campaign serving statuses. +// Proto file describing Campaign serving statuses. -/// Message describing Campaign serving statuses. +/// Message describing Campaign serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignServingStatusEnum { } /// Nested message and enum types in `CampaignServingStatusEnum`. pub mod campaign_serving_status_enum { - /// Possible serving statuses of a campaign. + /// Possible serving statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignServingStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Serving. + /// Serving. Serving = 2, - /// None. + /// None. None = 3, - /// Ended. + /// Ended. Ended = 4, - /// Pending. + /// Pending. Pending = 5, - /// Suspended. + /// Suspended. Suspended = 6, } impl CampaignServingStatus { @@ -7883,25 +7883,25 @@ pub mod campaign_serving_status_enum { } } } -// Proto file describing campaign shared set statuses. +// Proto file describing campaign shared set statuses. -/// Container for enum describing types of campaign shared set statuses. +/// Container for enum describing types of campaign shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetStatusEnum { } /// Nested message and enum types in `CampaignSharedSetStatusEnum`. pub mod campaign_shared_set_status_enum { - /// Enum listing the possible campaign shared set statuses. + /// Enum listing the possible campaign shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The campaign shared set is enabled. + /// The campaign shared set is enabled. Enabled = 2, - /// The campaign shared set is removed and can no longer be used. + /// The campaign shared set is removed and can no longer be used. Removed = 3, } impl CampaignSharedSetStatus { @@ -7919,27 +7919,27 @@ pub mod campaign_shared_set_status_enum { } } } -// Proto file describing campaign status. +// Proto file describing campaign status. -/// Container for enum describing possible statuses of a campaign. +/// Container for enum describing possible statuses of a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignStatusEnum { } /// Nested message and enum types in `CampaignStatusEnum`. pub mod campaign_status_enum { - /// Possible statuses of a campaign. + /// Possible statuses of a campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Campaign is currently serving ads depending on budget information. + /// Campaign is currently serving ads depending on budget information. Enabled = 2, - /// Campaign has been paused by the user. + /// Campaign has been paused by the user. Paused = 3, - /// Campaign has been removed. + /// Campaign has been removed. Removed = 4, } impl CampaignStatus { @@ -7958,52 +7958,52 @@ pub mod campaign_status_enum { } } } -// Proto file describing the sources that the change event resource was -// made through. +// Proto file describing the sources that the change event resource was +// made through. -/// Container for enum describing the sources that the change event resource -/// was made through. +/// Container for enum describing the sources that the change event resource +/// was made through. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeClientTypeEnum { } /// Nested message and enum types in `ChangeClientTypeEnum`. pub mod change_client_type_enum { - /// The source that the change_event resource was made through. + /// The source that the change_event resource was made through. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeClientType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified client type - /// unknown in this version. + /// Used for return value only. Represents an unclassified client type + /// unknown in this version. Unknown = 1, - /// Changes made through the "ads.google.com". - /// For example, changes made through campaign management. + /// Changes made through the "ads.google.com". + /// For example, changes made through campaign management. GoogleAdsWebClient = 2, - /// Changes made through Google Ads automated rules. + /// Changes made through Google Ads automated rules. GoogleAdsAutomatedRule = 3, - /// Changes made through Google Ads scripts. + /// Changes made through Google Ads scripts. GoogleAdsScripts = 4, - /// Changes made by Google Ads bulk upload. + /// Changes made by Google Ads bulk upload. GoogleAdsBulkUpload = 5, - /// Changes made by Google Ads API. + /// Changes made by Google Ads API. GoogleAdsApi = 6, - /// Changes made by Google Ads Editor. + /// Changes made by Google Ads Editor. GoogleAdsEditor = 7, - /// Changes made by Google Ads mobile app. + /// Changes made by Google Ads mobile app. GoogleAdsMobileApp = 8, - /// Changes made through Google Ads recommendations. + /// Changes made through Google Ads recommendations. GoogleAdsRecommendations = 9, - /// Changes made through Search Ads 360 Sync. + /// Changes made through Search Ads 360 Sync. SearchAds360Sync = 10, - /// Changes made through Search Ads 360 Post. + /// Changes made through Search Ads 360 Post. SearchAds360Post = 11, - /// Changes made through internal tools. - /// For example, when a user sets a URL template on an entity like a - /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. + /// Changes made through internal tools. + /// For example, when a user sets a URL template on an entity like a + /// Campaign, it's automatically wrapped with the SA360 Clickserver URL. InternalTool = 12, - /// Types of changes that are not categorized, for example, - /// changes made by coupon redemption through Google Ads. + /// Types of changes that are not categorized, for example, + /// changes made by coupon redemption through Google Ads. Other = 13, } impl ChangeClientType { @@ -8031,55 +8031,55 @@ pub mod change_client_type_enum { } } } -// Proto file describing the resource types the ChangeEvent resource supports. +// Proto file describing the resource types the ChangeEvent resource supports. -/// Container for enum describing supported resource types for the ChangeEvent -/// resource. +/// Container for enum describing supported resource types for the ChangeEvent +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventResourceTypeEnum { } /// Nested message and enum types in `ChangeEventResourceTypeEnum`. pub mod change_event_resource_type_enum { - /// Enum listing the resource types support by the ChangeEvent resource. + /// Enum listing the resource types support by the ChangeEvent resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An Ad resource change. + /// An Ad resource change. Ad = 2, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 4, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 5, - /// A CampaignBudget resource change. + /// A CampaignBudget resource change. CampaignBudget = 6, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 7, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 8, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 11, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 12, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 13, - /// An Asset resource change. + /// An Asset resource change. Asset = 14, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 15, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 16, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 17, } impl ChangeEventResourceType { @@ -8111,28 +8111,28 @@ pub mod change_event_resource_type_enum { } } } -// Proto file describing the change status operations. +// Proto file describing the change status operations. -/// Container for enum describing operations for the ChangeStatus resource. +/// Container for enum describing operations for the ChangeStatus resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusOperationEnum { } /// Nested message and enum types in `ChangeStatusOperationEnum`. pub mod change_status_operation_enum { - /// Status of the changed resource + /// Status of the changed resource #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Added = 2, - /// The resource was modified. + /// The resource was modified. Changed = 3, - /// The resource was removed. + /// The resource was removed. Removed = 4, } impl ChangeStatusOperation { @@ -8151,55 +8151,55 @@ pub mod change_status_operation_enum { } } } -// Proto file describing the resource types the ChangeStatus resource supports. +// Proto file describing the resource types the ChangeStatus resource supports. -/// Container for enum describing supported resource types for the ChangeStatus -/// resource. +/// Container for enum describing supported resource types for the ChangeStatus +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusResourceTypeEnum { } /// Nested message and enum types in `ChangeStatusResourceTypeEnum`. pub mod change_status_resource_type_enum { - /// Enum listing the resource types support by the ChangeStatus resource. + /// Enum listing the resource types support by the ChangeStatus resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusResourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified resource unknown - /// in this version. + /// Used for return value only. Represents an unclassified resource unknown + /// in this version. Unknown = 1, - /// An AdGroup resource change. + /// An AdGroup resource change. AdGroup = 3, - /// An AdGroupAd resource change. + /// An AdGroupAd resource change. AdGroupAd = 4, - /// An AdGroupCriterion resource change. + /// An AdGroupCriterion resource change. AdGroupCriterion = 5, - /// A Campaign resource change. + /// A Campaign resource change. Campaign = 6, - /// A CampaignCriterion resource change. + /// A CampaignCriterion resource change. CampaignCriterion = 7, - /// A Feed resource change. + /// A Feed resource change. Feed = 9, - /// A FeedItem resource change. + /// A FeedItem resource change. FeedItem = 10, - /// An AdGroupFeed resource change. + /// An AdGroupFeed resource change. AdGroupFeed = 11, - /// A CampaignFeed resource change. + /// A CampaignFeed resource change. CampaignFeed = 12, - /// An AdGroupBidModifier resource change. + /// An AdGroupBidModifier resource change. AdGroupBidModifier = 13, - /// A SharedSet resource change. + /// A SharedSet resource change. SharedSet = 14, - /// A CampaignSharedSet resource change. + /// A CampaignSharedSet resource change. CampaignSharedSet = 15, - /// An Asset resource change. + /// An Asset resource change. Asset = 16, - /// A CustomerAsset resource change. + /// A CustomerAsset resource change. CustomerAsset = 17, - /// A CampaignAsset resource change. + /// A CampaignAsset resource change. CampaignAsset = 18, - /// An AdGroupAsset resource change. + /// An AdGroupAsset resource change. AdGroupAsset = 19, } impl ChangeStatusResourceType { @@ -8231,26 +8231,26 @@ pub mod change_status_resource_type_enum { } } } -// Proto file describing combined audience status. +// Proto file describing combined audience status. -/// The status of combined audience. +/// The status of combined audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudienceStatusEnum { } /// Nested message and enum types in `CombinedAudienceStatusEnum`. pub mod combined_audience_status_enum { - /// Enum containing possible combined audience status types. + /// Enum containing possible combined audience status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CombinedAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - combined audience is enabled and can be targeted. + /// Enabled status - combined audience is enabled and can be targeted. Enabled = 2, - /// Removed status - combined audience is removed and cannot be used for - /// targeting. + /// Removed status - combined audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CombinedAudienceStatus { @@ -8268,27 +8268,27 @@ pub mod combined_audience_status_enum { } } } -// Proto file describing conversion action counting type. +// Proto file describing conversion action counting type. -/// Container for enum describing the conversion deduplication mode for -/// conversion optimizer. +/// Container for enum describing the conversion deduplication mode for +/// conversion optimizer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionCountingTypeEnum { } /// Nested message and enum types in `ConversionActionCountingTypeEnum`. pub mod conversion_action_counting_type_enum { - /// Indicates how conversions for this action will be counted. For more - /// information, see + /// Indicates how conversions for this action will be counted. For more + /// information, see #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionCountingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Count only one conversion per click. + /// Count only one conversion per click. OnePerClick = 2, - /// Count all conversions per click. + /// Count all conversions per click. ManyPerClick = 3, } impl ConversionActionCountingType { @@ -8306,28 +8306,28 @@ pub mod conversion_action_counting_type_enum { } } } -// Proto file describing conversion action status. +// Proto file describing conversion action status. -/// Container for enum describing possible statuses of a conversion action. +/// Container for enum describing possible statuses of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionStatusEnum { } /// Nested message and enum types in `ConversionActionStatusEnum`. pub mod conversion_action_status_enum { - /// Possible statuses of a conversion action. + /// Possible statuses of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions will be recorded. + /// Conversions will be recorded. Enabled = 2, - /// Conversions will not be recorded. + /// Conversions will not be recorded. Removed = 3, - /// Conversions will not be recorded and the conversion action will not - /// appear in the UI. + /// Conversions will not be recorded and the conversion action will not + /// appear in the UI. Hidden = 4, } impl ConversionActionStatus { @@ -8346,116 +8346,116 @@ pub mod conversion_action_status_enum { } } } -// Proto file describing conversion action type. +// Proto file describing conversion action type. -/// Container for enum describing possible types of a conversion action. +/// Container for enum describing possible types of a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionTypeEnum { } /// Nested message and enum types in `ConversionActionTypeEnum`. pub mod conversion_action_type_enum { - /// Possible types of a conversion action. + /// Possible types of a conversion action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversions that occur when a user clicks on an ad's call extension. + /// Conversions that occur when a user clicks on an ad's call extension. AdCall = 2, - /// Conversions that occur when a user on a mobile device clicks a phone - /// number. + /// Conversions that occur when a user on a mobile device clicks a phone + /// number. ClickToCall = 3, - /// Conversions that occur when a user downloads a mobile app from the Google - /// Play Store. + /// Conversions that occur when a user downloads a mobile app from the Google + /// Play Store. GooglePlayDownload = 4, - /// Conversions that occur when a user makes a purchase in an app through - /// Android billing. + /// Conversions that occur when a user makes a purchase in an app through + /// Android billing. GooglePlayInAppPurchase = 5, - /// Call conversions that are tracked by the advertiser and uploaded. + /// Call conversions that are tracked by the advertiser and uploaded. UploadCalls = 6, - /// Conversions that are tracked by the advertiser and uploaded with - /// attributed clicks. + /// Conversions that are tracked by the advertiser and uploaded with + /// attributed clicks. UploadClicks = 7, - /// Conversions that occur on a webpage. + /// Conversions that occur on a webpage. Webpage = 8, - /// Conversions that occur when a user calls a dynamically-generated phone - /// number from an advertiser's website. + /// Conversions that occur when a user calls a dynamically-generated phone + /// number from an advertiser's website. WebsiteCall = 9, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads. - /// Only customers on the allowlist can use store sales direct upload types. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads. + /// Only customers on the allowlist can use store sales direct upload types. StoreSalesDirectUpload = 10, - /// Store Sales conversion based on first-party or third-party merchant - /// data uploads and/or from in-store purchases using cards from payment - /// networks. - /// Only customers on the allowlist can use store sales types. - /// Read only. + /// Store Sales conversion based on first-party or third-party merchant + /// data uploads and/or from in-store purchases using cards from payment + /// networks. + /// Only customers on the allowlist can use store sales types. + /// Read only. StoreSales = 11, - /// Android app first open conversions tracked via Firebase. + /// Android app first open conversions tracked via Firebase. FirebaseAndroidFirstOpen = 12, - /// Android app in app purchase conversions tracked via Firebase. + /// Android app in app purchase conversions tracked via Firebase. FirebaseAndroidInAppPurchase = 13, - /// Android app custom conversions tracked via Firebase. + /// Android app custom conversions tracked via Firebase. FirebaseAndroidCustom = 14, - /// iOS app first open conversions tracked via Firebase. + /// iOS app first open conversions tracked via Firebase. FirebaseIosFirstOpen = 15, - /// iOS app in app purchase conversions tracked via Firebase. + /// iOS app in app purchase conversions tracked via Firebase. FirebaseIosInAppPurchase = 16, - /// iOS app custom conversions tracked via Firebase. + /// iOS app custom conversions tracked via Firebase. FirebaseIosCustom = 17, - /// Android app first open conversions tracked via Third Party App Analytics. + /// Android app first open conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsAndroidFirstOpen = 18, - /// Android app in app purchase conversions tracked via Third Party App - /// Analytics. + /// Android app in app purchase conversions tracked via Third Party App + /// Analytics. ThirdPartyAppAnalyticsAndroidInAppPurchase = 19, - /// Android app custom conversions tracked via Third Party App Analytics. + /// Android app custom conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsAndroidCustom = 20, - /// iOS app first open conversions tracked via Third Party App Analytics. + /// iOS app first open conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsIosFirstOpen = 21, - /// iOS app in app purchase conversions tracked via Third Party App - /// Analytics. + /// iOS app in app purchase conversions tracked via Third Party App + /// Analytics. ThirdPartyAppAnalyticsIosInAppPurchase = 22, - /// iOS app custom conversions tracked via Third Party App Analytics. + /// iOS app custom conversions tracked via Third Party App Analytics. ThirdPartyAppAnalyticsIosCustom = 23, - /// Conversions that occur when a user pre-registers a mobile app from the - /// Google Play Store. Read only. + /// Conversions that occur when a user pre-registers a mobile app from the + /// Google Play Store. Read only. AndroidAppPreRegistration = 24, - /// Conversions that track all Google Play downloads which aren't tracked - /// by an app-specific type. Read only. + /// Conversions that track all Google Play downloads which aren't tracked + /// by an app-specific type. Read only. AndroidInstallsAllOtherApps = 25, - /// Floodlight activity that counts the number of times that users have - /// visited a particular webpage after seeing or clicking on one of - /// an advertiser's ads. Read only. + /// Floodlight activity that counts the number of times that users have + /// visited a particular webpage after seeing or clicking on one of + /// an advertiser's ads. Read only. FloodlightAction = 26, - /// Floodlight activity that tracks the number of sales made or the number - /// of items purchased. Can also capture the total value of each sale. - /// Read only. + /// Floodlight activity that tracks the number of sales made or the number + /// of items purchased. Can also capture the total value of each sale. + /// Read only. FloodlightTransaction = 27, - /// Conversions that track local actions from Google's products and - /// services after interacting with an ad. Read only. + /// Conversions that track local actions from Google's products and + /// services after interacting with an ad. Read only. GoogleHosted = 28, - /// Conversions reported when a user submits a lead form. Read only. + /// Conversions reported when a user submits a lead form. Read only. LeadFormSubmit = 29, - /// Conversions that come from Salesforce. Read only. + /// Conversions that come from Salesforce. Read only. Salesforce = 30, - /// Conversions imported from Search Ads 360 Floodlight data. Read only. + /// Conversions imported from Search Ads 360 Floodlight data. Read only. SearchAds360 = 31, - /// Call conversions that occur on Smart campaign Ads without call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads without call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignAdClicksToCall = 32, - /// The user clicks on a call element within Google Maps. Smart campaign - /// only. Read only. + /// The user clicks on a call element within Google Maps. Smart campaign + /// only. Read only. SmartCampaignMapClicksToCall = 33, - /// The user requests directions to a business location within Google Maps. - /// Smart campaign only. Read only. + /// The user requests directions to a business location within Google Maps. + /// Smart campaign only. Read only. SmartCampaignMapDirections = 34, - /// Call conversions that occur on Smart campaign Ads with call tracking - /// setup, using Smart campaign custom criteria. Read only. + /// Call conversions that occur on Smart campaign Ads with call tracking + /// setup, using Smart campaign custom criteria. Read only. SmartCampaignTrackedCalls = 35, - /// Conversions that occur when a user visits an advertiser's retail store. - /// Read only. + /// Conversions that occur when a user visits an advertiser's retail store. + /// Read only. StoreVisits = 36, } impl ConversionActionType { @@ -8506,30 +8506,30 @@ pub mod conversion_action_type_enum { } } } -// Proto file describing conversion adjustment type. +// Proto file describing conversion adjustment type. -/// Container for enum describing conversion adjustment types. +/// Container for enum describing conversion adjustment types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentTypeEnum { } /// Nested message and enum types in `ConversionAdjustmentTypeEnum`. pub mod conversion_adjustment_type_enum { - /// The different actions advertisers can take to adjust the conversions that - /// they already reported. Retractions negate a conversion. Restatements change - /// the value of a conversion. + /// The different actions advertisers can take to adjust the conversions that + /// they already reported. Retractions negate a conversion. Restatements change + /// the value of a conversion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represents value unknown in this version. + /// Represents value unknown in this version. Unknown = 1, - /// Negates a conversion so that its total value and count are both zero. + /// Negates a conversion so that its total value and count are both zero. Retraction = 2, - /// Changes the value of a conversion. + /// Changes the value of a conversion. Restatement = 3, - /// Supplements an existing conversion with provided user identifiers and - /// user agent, which can be used by Google to enhance the conversion count. + /// Supplements an existing conversion with provided user identifiers and + /// user agent, which can be used by Google to enhance the conversion count. Enhancement = 4, } impl ConversionAdjustmentType { @@ -8548,32 +8548,32 @@ pub mod conversion_adjustment_type_enum { } } } -// Proto file describing conversion custom variable status. +// Proto file describing conversion custom variable status. -/// Container for enum describing possible statuses of a conversion custom -/// variable. +/// Container for enum describing possible statuses of a conversion custom +/// variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableStatusEnum { } /// Nested message and enum types in `ConversionCustomVariableStatusEnum`. pub mod conversion_custom_variable_status_enum { - /// Possible statuses of a conversion custom variable. + /// Possible statuses of a conversion custom variable. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The conversion custom variable is pending activation and will not - /// accrue stats until set to ENABLED. + /// The conversion custom variable is pending activation and will not + /// accrue stats until set to ENABLED. /// - /// This status can't be used in CREATE and UPDATE requests. + /// This status can't be used in CREATE and UPDATE requests. ActivationNeeded = 2, - /// The conversion custom variable is enabled and will accrue stats. + /// The conversion custom variable is enabled and will accrue stats. Enabled = 3, - /// The conversion custom variable is paused and will not accrue stats - /// until set to ENABLED again. + /// The conversion custom variable is paused and will not accrue stats + /// until set to ENABLED again. Paused = 4, } impl ConversionCustomVariableStatus { @@ -8592,38 +8592,38 @@ pub mod conversion_custom_variable_status_enum { } } } -// Proto file describing conversion origin. +// Proto file describing conversion origin. -/// Container for enum describing possible conversion origins. +/// Container for enum describing possible conversion origins. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionOriginEnum { } /// Nested message and enum types in `ConversionOriginEnum`. pub mod conversion_origin_enum { - /// The possible places where a conversion can occur. + /// The possible places where a conversion can occur. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionOrigin { - /// The conversion origin has not been specified. + /// The conversion origin has not been specified. Unspecified = 0, - /// The conversion origin is not known in this version. + /// The conversion origin is not known in this version. Unknown = 1, - /// Conversion that occurs when a user visits a website or takes an action - /// there after viewing an ad. + /// Conversion that occurs when a user visits a website or takes an action + /// there after viewing an ad. Website = 2, - /// Conversions reported by an offline pipeline which collects local actions - /// from Google-hosted pages (e.g. Google Maps, Google Place Page, etc) and - /// attributes them to relevant ad events. + /// Conversions reported by an offline pipeline which collects local actions + /// from Google-hosted pages (e.g. Google Maps, Google Place Page, etc) and + /// attributes them to relevant ad events. GoogleHosted = 3, - /// Conversion that occurs when a user performs an action via any app - /// platforms. + /// Conversion that occurs when a user performs an action via any app + /// platforms. App = 4, - /// Conversion that occurs when a user makes a call from ads. + /// Conversion that occurs when a user makes a call from ads. CallFromAds = 5, - /// Conversion that occurs when a user visits or makes a purchase at a - /// physical store. + /// Conversion that occurs when a user visits or makes a purchase at a + /// physical store. Store = 6, - /// Conversion that occurs on YouTube. + /// Conversion that occurs on YouTube. YoutubeHosted = 7, } impl ConversionOrigin { @@ -8645,29 +8645,29 @@ pub mod conversion_origin_enum { } } } -// Proto file describing conversion value rule set status. +// Proto file describing conversion value rule set status. -/// Container for enum describing possible statuses of a conversion value rule -/// set. +/// Container for enum describing possible statuses of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetStatusEnum { } /// Nested message and enum types in `ConversionValueRuleSetStatusEnum`. pub mod conversion_value_rule_set_status_enum { - /// Possible statuses of a conversion value rule set. + /// Possible statuses of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule Set is enabled and can be applied. + /// Conversion Value Rule Set is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule Set is permanently deleted and can't be applied. + /// Conversion Value Rule Set is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule Set is paused and won't be applied. It can be - /// enabled again. + /// Conversion Value Rule Set is paused and won't be applied. It can be + /// enabled again. Paused = 4, } impl ConversionValueRuleSetStatus { @@ -8686,27 +8686,27 @@ pub mod conversion_value_rule_set_status_enum { } } } -// Proto file describing conversion value rule status. +// Proto file describing conversion value rule status. -/// Container for enum describing possible statuses of a conversion value rule. +/// Container for enum describing possible statuses of a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleStatusEnum { } /// Nested message and enum types in `ConversionValueRuleStatusEnum`. pub mod conversion_value_rule_status_enum { - /// Possible statuses of a conversion value rule. + /// Possible statuses of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Conversion Value Rule is enabled and can be applied. + /// Conversion Value Rule is enabled and can be applied. Enabled = 2, - /// Conversion Value Rule is permanently deleted and can't be applied. + /// Conversion Value Rule is permanently deleted and can't be applied. Removed = 3, - /// Conversion Value Rule is paused, but can be re-enabled. + /// Conversion Value Rule is paused, but can be re-enabled. Paused = 4, } impl ConversionValueRuleStatus { @@ -8725,25 +8725,25 @@ pub mod conversion_value_rule_status_enum { } } } -// Proto file describing approval status for the criterion. +// Proto file describing approval status for the criterion. -/// Container for enum describing possible criterion system serving statuses. +/// Container for enum describing possible criterion system serving statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionSystemServingStatusEnum { } /// Nested message and enum types in `CriterionSystemServingStatusEnum`. pub mod criterion_system_serving_status_enum { - /// Enumerates criterion system serving statuses. + /// Enumerates criterion system serving statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionSystemServingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Eligible. + /// Eligible. Eligible = 2, - /// Low search volume. + /// Low search volume. RarelyServed = 3, } impl CriterionSystemServingStatus { @@ -8761,87 +8761,87 @@ pub mod criterion_system_serving_status_enum { } } } -// Proto file describing criteria types. +// Proto file describing criteria types. -/// The possible types of a criterion. +/// The possible types of a criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionTypeEnum { } /// Nested message and enum types in `CriterionTypeEnum`. pub mod criterion_type_enum { - /// Enum describing possible criterion types. + /// Enum describing possible criterion types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Keyword. e.g. 'mars cruise'. + /// Keyword. e.g. 'mars cruise'. Keyword = 2, - /// Placement, aka Website. e.g. 'www.flowers4sale.com' + /// Placement, aka Website. e.g. 'www.flowers4sale.com' Placement = 3, - /// Mobile application categories to target. + /// Mobile application categories to target. MobileAppCategory = 4, - /// Mobile applications to target. + /// Mobile applications to target. MobileApplication = 5, - /// Devices to target. + /// Devices to target. Device = 6, - /// Locations to target. + /// Locations to target. Location = 7, - /// Listing groups to target. + /// Listing groups to target. ListingGroup = 8, - /// Ad Schedule. + /// Ad Schedule. AdSchedule = 9, - /// Age range. + /// Age range. AgeRange = 10, - /// Gender. + /// Gender. Gender = 11, - /// Income Range. + /// Income Range. IncomeRange = 12, - /// Parental status. + /// Parental status. ParentalStatus = 13, - /// YouTube Video. + /// YouTube Video. YoutubeVideo = 14, - /// YouTube Channel. + /// YouTube Channel. YoutubeChannel = 15, - /// User list. + /// User list. UserList = 16, - /// Proximity. + /// Proximity. Proximity = 17, - /// A topic target on the display network (e.g. "Pets & Animals"). + /// A topic target on the display network (e.g. "Pets & Animals"). Topic = 18, - /// Listing scope to target. + /// Listing scope to target. ListingScope = 19, - /// Language. + /// Language. Language = 20, - /// IpBlock. + /// IpBlock. IpBlock = 21, - /// Content Label for category exclusion. + /// Content Label for category exclusion. ContentLabel = 22, - /// Carrier. + /// Carrier. Carrier = 23, - /// A category the user is interested in. + /// A category the user is interested in. UserInterest = 24, - /// Webpage criterion for dynamic search ads. + /// Webpage criterion for dynamic search ads. Webpage = 25, - /// Operating system version. + /// Operating system version. OperatingSystemVersion = 26, - /// App payment model. + /// App payment model. AppPaymentModel = 27, - /// Mobile device. + /// Mobile device. MobileDevice = 28, - /// Custom affinity. + /// Custom affinity. CustomAffinity = 29, - /// Custom intent. + /// Custom intent. CustomIntent = 30, - /// Location group. + /// Location group. LocationGroup = 31, - /// Custom audience + /// Custom audience CustomAudience = 32, - /// Combined audience + /// Combined audience CombinedAudience = 33, - /// Smart Campaign keyword theme + /// Smart Campaign keyword theme KeywordTheme = 34, } impl CriterionType { @@ -8890,29 +8890,29 @@ pub mod criterion_type_enum { } } } -// Proto file describing custom audience member type. +// Proto file describing custom audience member type. -/// The type of custom audience member. +/// The type of custom audience member. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMemberTypeEnum { } /// Nested message and enum types in `CustomAudienceMemberTypeEnum`. pub mod custom_audience_member_type_enum { - /// Enum containing possible custom audience member types. + /// Enum containing possible custom audience member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Users whose interests or actions are described by a keyword. + /// Users whose interests or actions are described by a keyword. Keyword = 2, - /// Users who have interests related to the website's content. + /// Users who have interests related to the website's content. Url = 3, - /// Users who visit place types described by a place category. + /// Users who visit place types described by a place category. PlaceCategory = 4, - /// Users who have installed a mobile app. + /// Users who have installed a mobile app. App = 5, } impl CustomAudienceMemberType { @@ -8932,26 +8932,26 @@ pub mod custom_audience_member_type_enum { } } } -// Proto file describing custom audience status. +// Proto file describing custom audience status. -/// The status of custom audience. +/// The status of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceStatusEnum { } /// Nested message and enum types in `CustomAudienceStatusEnum`. pub mod custom_audience_status_enum { - /// Enum containing possible custom audience statuses. + /// Enum containing possible custom audience statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom audience is enabled and can be targeted. + /// Enabled status - custom audience is enabled and can be targeted. Enabled = 2, - /// Removed status - custom audience is removed and cannot be used for - /// targeting. + /// Removed status - custom audience is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomAudienceStatus { @@ -8969,31 +8969,31 @@ pub mod custom_audience_status_enum { } } } -// Proto file describing custom audience type. +// Proto file describing custom audience type. -/// The types of custom audience. +/// The types of custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceTypeEnum { } /// Nested message and enum types in `CustomAudienceTypeEnum`. pub mod custom_audience_type_enum { - /// Enum containing possible custom audience types. + /// Enum containing possible custom audience types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Google Ads will auto-select the best interpretation at serving - /// time. + /// Google Ads will auto-select the best interpretation at serving + /// time. Auto = 2, - /// Matches users by their interests. + /// Matches users by their interests. Interest = 3, - /// Matches users by topics they are researching or products they are - /// considering for purchase. + /// Matches users by topics they are researching or products they are + /// considering for purchase. PurchaseIntent = 4, - /// Matches users by what they searched on Google Search. + /// Matches users by what they searched on Google Search. Search = 5, } impl CustomAudienceType { @@ -9013,25 +9013,25 @@ pub mod custom_audience_type_enum { } } } -// Proto file describing custom conversion goal status. +// Proto file describing custom conversion goal status. -/// Container for enum describing possible statuses of a custom conversion goal. +/// Container for enum describing possible statuses of a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalStatusEnum { } /// Nested message and enum types in `CustomConversionGoalStatusEnum`. pub mod custom_conversion_goal_status_enum { - /// The possible statuses of a custom conversion goal. + /// The possible statuses of a custom conversion goal. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The custom conversion goal is enabled. + /// The custom conversion goal is enabled. Enabled = 2, - /// The custom conversion goal is removed. + /// The custom conversion goal is removed. Removed = 3, } impl CustomConversionGoalStatus { @@ -9049,25 +9049,25 @@ pub mod custom_conversion_goal_status_enum { } } } -// Proto file describing custom interest member type. +// Proto file describing custom interest member type. -/// The types of custom interest member, either KEYWORD or URL. +/// The types of custom interest member, either KEYWORD or URL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMemberTypeEnum { } /// Nested message and enum types in `CustomInterestMemberTypeEnum`. pub mod custom_interest_member_type_enum { - /// Enum containing possible custom interest member types. + /// Enum containing possible custom interest member types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestMemberType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Custom interest member type KEYWORD. + /// Custom interest member type KEYWORD. Keyword = 2, - /// Custom interest member type URL. + /// Custom interest member type URL. Url = 3, } impl CustomInterestMemberType { @@ -9085,26 +9085,26 @@ pub mod custom_interest_member_type_enum { } } } -// Proto file describing custom interest status. +// Proto file describing custom interest status. -/// The status of custom interest. +/// The status of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestStatusEnum { } /// Nested message and enum types in `CustomInterestStatusEnum`. pub mod custom_interest_status_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Enabled status - custom interest is enabled and can be targeted to. + /// Enabled status - custom interest is enabled and can be targeted to. Enabled = 2, - /// Removed status - custom interest is removed and cannot be used for - /// targeting. + /// Removed status - custom interest is removed and cannot be used for + /// targeting. Removed = 3, } impl CustomInterestStatus { @@ -9122,25 +9122,25 @@ pub mod custom_interest_status_enum { } } } -// Proto file describing custom interest type. +// Proto file describing custom interest type. -/// The types of custom interest. +/// The types of custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestTypeEnum { } /// Nested message and enum types in `CustomInterestTypeEnum`. pub mod custom_interest_type_enum { - /// Enum containing possible custom interest types. + /// Enum containing possible custom interest types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows brand advertisers to define custom affinity audience lists. + /// Allows brand advertisers to define custom affinity audience lists. CustomAffinity = 2, - /// Allows advertisers to define custom intent audience lists. + /// Allows advertisers to define custom intent audience lists. CustomIntent = 3, } impl CustomInterestType { @@ -9158,86 +9158,86 @@ pub mod custom_interest_type_enum { } } } -// Proto file describing Custom placeholder fields. +// Proto file describing Custom placeholder fields. -/// Values for Custom placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Custom placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPlaceholderFieldEnum { } /// Nested message and enum types in `CustomPlaceholderFieldEnum`. pub mod custom_placeholder_field_enum { - /// Possible values for Custom placeholder fields. + /// Possible values for Custom placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination ID and ID2 must be unique per - /// offer. + /// Data Type: STRING. Required. Combination ID and ID2 must be unique per + /// offer. Id = 2, - /// Data Type: STRING. Combination ID and ID2 must be unique per offer. + /// Data Type: STRING. Combination ID and ID2 must be unique per offer. Id2 = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. ItemTitle = 4, - /// Data Type: STRING. Optional text to be shown in the image ad. + /// Data Type: STRING. Optional text to be shown in the image ad. ItemSubtitle = 5, - /// Data Type: STRING. Optional description of the product to be shown in the - /// ad. + /// Data Type: STRING. Optional description of the product to be shown in the + /// ad. ItemDescription = 6, - /// Data Type: STRING. Full address of your offer or service, including - /// postal code. This will be used to identify the closest product to the - /// user when there are multiple offers in the feed that are relevant to the - /// user. + /// Data Type: STRING. Full address of your offer or service, including + /// postal code. This will be used to identify the closest product to the + /// user when there are multiple offers in the feed that are relevant to the + /// user. ItemAddress = 7, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 8, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 9, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 10, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 11, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 12, - /// Data Type: STRING. Used as a recommendation engine signal to serve items - /// in the same category. + /// Data Type: STRING. Used as a recommendation engine signal to serve items + /// in the same category. ItemCategory = 13, - /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific product for ads that have multiple - /// products. + /// Data Type: URL_LIST. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific product for ads that have multiple + /// products. FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended IDs to show together with + /// this item. SimilarIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl CustomPlaceholderField { @@ -9273,38 +9273,38 @@ pub mod custom_placeholder_field_enum { } } } -// Proto file describing pay per conversion eligibility failure reasons. +// Proto file describing pay per conversion eligibility failure reasons. -/// Container for enum describing reasons why a customer is not eligible to use -/// PaymentMode.CONVERSIONS. +/// Container for enum describing reasons why a customer is not eligible to use +/// PaymentMode.CONVERSIONS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerPayPerConversionEligibilityFailureReasonEnum { } /// Nested message and enum types in `CustomerPayPerConversionEligibilityFailureReasonEnum`. pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { - /// Enum describing possible reasons a customer is not eligible to use - /// PaymentMode.CONVERSIONS. + /// Enum describing possible reasons a customer is not eligible to use + /// PaymentMode.CONVERSIONS. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerPayPerConversionEligibilityFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Customer does not have enough conversions. + /// Customer does not have enough conversions. NotEnoughConversions = 2, - /// Customer's conversion lag is too high. + /// Customer's conversion lag is too high. ConversionLagTooHigh = 3, - /// Customer uses shared budgets. + /// Customer uses shared budgets. HasCampaignWithSharedBudget = 4, - /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. + /// Customer has conversions with ConversionActionType.UPLOAD_CLICKS. HasUploadClicksConversion = 5, - /// Customer's average daily spend is too high. + /// Customer's average daily spend is too high. AverageDailySpendTooHigh = 6, - /// Customer's eligibility has not yet been calculated by the Google Ads - /// backend. Check back soon. + /// Customer's eligibility has not yet been calculated by the Google Ads + /// backend. Check back soon. AnalysisNotComplete = 7, - /// Customer is not eligible due to other reasons. + /// Customer is not eligible due to other reasons. Other = 8, } impl CustomerPayPerConversionEligibilityFailureReason { @@ -9327,25 +9327,25 @@ pub mod customer_pay_per_conversion_eligibility_failure_reason_enum { } } } -// Proto file describing customizer attribute status. +// Proto file describing customizer attribute status. -/// Container for enum describing possible statuses of a customizer attribute. +/// Container for enum describing possible statuses of a customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeStatusEnum { } /// Nested message and enum types in `CustomizerAttributeStatusEnum`. pub mod customizer_attribute_status_enum { - /// The possible statuses of a customizer attribute. + /// The possible statuses of a customizer attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer attribute is enabled. + /// The customizer attribute is enabled. Enabled = 2, - /// The customizer attribute is removed. + /// The customizer attribute is removed. Removed = 3, } impl CustomizerAttributeStatus { @@ -9363,25 +9363,25 @@ pub mod customizer_attribute_status_enum { } } } -// Proto file describing customizer value status. +// Proto file describing customizer value status. -/// Container for enum describing possible statuses of a customizer value. +/// Container for enum describing possible statuses of a customizer value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerValueStatusEnum { } /// Nested message and enum types in `CustomizerValueStatusEnum`. pub mod customizer_value_status_enum { - /// The possible statuses of a customizer value. + /// The possible statuses of a customizer value. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerValueStatus { - /// The status has not been specified. + /// The status has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. Unknown = 1, - /// The customizer value is enabled. + /// The customizer value is enabled. Enabled = 2, - /// The customizer value is removed. + /// The customizer value is removed. Removed = 3, } impl CustomizerValueStatus { @@ -9399,35 +9399,35 @@ pub mod customizer_value_status_enum { } } } -// Proto file describing data-driven model status. +// Proto file describing data-driven model status. -/// Container for enum indicating data driven model status. +/// Container for enum indicating data driven model status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataDrivenModelStatusEnum { } /// Nested message and enum types in `DataDrivenModelStatusEnum`. pub mod data_driven_model_status_enum { - /// Enumerates data driven model statuses. + /// Enumerates data driven model statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataDrivenModelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The data driven model is available. + /// The data driven model is available. Available = 2, - /// The data driven model is stale. It hasn't been updated for at least 7 - /// days. It is still being used, but will become expired if it does not get - /// updated for 30 days. + /// The data driven model is stale. It hasn't been updated for at least 7 + /// days. It is still being used, but will become expired if it does not get + /// updated for 30 days. Stale = 3, - /// The data driven model expired. It hasn't been updated for at least 30 - /// days and cannot be used. Most commonly this is because there hasn't been - /// the required number of events in a recent 30-day period. + /// The data driven model expired. It hasn't been updated for at least 30 + /// days and cannot be used. Most commonly this is because there hasn't been + /// the required number of events in a recent 30-day period. Expired = 4, - /// The data driven model has never been generated. Most commonly this is - /// because there has never been the required number of events in any 30-day - /// period. + /// The data driven model has never been generated. Most commonly this is + /// because there has never been the required number of events in any 30-day + /// period. NeverGenerated = 5, } impl DataDrivenModelStatus { @@ -9447,77 +9447,77 @@ pub mod data_driven_model_status_enum { } } } -// Proto file describing distance buckets. +// Proto file describing distance buckets. -/// Container for distance buckets of a user’s distance from an advertiser’s -/// location extension. +/// Container for distance buckets of a user’s distance from an advertiser’s +/// location extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceBucketEnum { } /// Nested message and enum types in `DistanceBucketEnum`. pub mod distance_bucket_enum { - /// The distance bucket for a user’s distance from an advertiser’s location - /// extension. + /// The distance bucket for a user’s distance from an advertiser’s location + /// extension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistanceBucket { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User was within 700m of the location. + /// User was within 700m of the location. Within700m = 2, - /// User was within 1KM of the location. + /// User was within 1KM of the location. Within1km = 3, - /// User was within 5KM of the location. + /// User was within 5KM of the location. Within5km = 4, - /// User was within 10KM of the location. + /// User was within 10KM of the location. Within10km = 5, - /// User was within 15KM of the location. + /// User was within 15KM of the location. Within15km = 6, - /// User was within 20KM of the location. + /// User was within 20KM of the location. Within20km = 7, - /// User was within 25KM of the location. + /// User was within 25KM of the location. Within25km = 8, - /// User was within 30KM of the location. + /// User was within 30KM of the location. Within30km = 9, - /// User was within 35KM of the location. + /// User was within 35KM of the location. Within35km = 10, - /// User was within 40KM of the location. + /// User was within 40KM of the location. Within40km = 11, - /// User was within 45KM of the location. + /// User was within 45KM of the location. Within45km = 12, - /// User was within 50KM of the location. + /// User was within 50KM of the location. Within50km = 13, - /// User was within 55KM of the location. + /// User was within 55KM of the location. Within55km = 14, - /// User was within 60KM of the location. + /// User was within 60KM of the location. Within60km = 15, - /// User was within 65KM of the location. + /// User was within 65KM of the location. Within65km = 16, - /// User was beyond 65KM of the location. + /// User was beyond 65KM of the location. Beyond65km = 17, - /// User was within 0.7 miles of the location. + /// User was within 0.7 miles of the location. Within07miles = 18, - /// User was within 1 mile of the location. + /// User was within 1 mile of the location. Within1mile = 19, - /// User was within 5 miles of the location. + /// User was within 5 miles of the location. Within5miles = 20, - /// User was within 10 miles of the location. + /// User was within 10 miles of the location. Within10miles = 21, - /// User was within 15 miles of the location. + /// User was within 15 miles of the location. Within15miles = 22, - /// User was within 20 miles of the location. + /// User was within 20 miles of the location. Within20miles = 23, - /// User was within 25 miles of the location. + /// User was within 25 miles of the location. Within25miles = 24, - /// User was within 30 miles of the location. + /// User was within 30 miles of the location. Within30miles = 25, - /// User was within 35 miles of the location. + /// User was within 35 miles of the location. Within35miles = 26, - /// User was within 40 miles of the location. + /// User was within 40 miles of the location. Within40miles = 27, - /// User was beyond 40 miles of the location. + /// User was beyond 40 miles of the location. Beyond40miles = 28, } impl DistanceBucket { @@ -9560,26 +9560,26 @@ pub mod distance_bucket_enum { } } } -// Proto file describing Dynamic Search Ad Page Feed criterion fields. +// Proto file describing Dynamic Search Ad Page Feed criterion fields. -/// Values for Dynamic Search Ad Page Feed criterion fields. +/// Values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DsaPageFeedCriterionFieldEnum { } /// Nested message and enum types in `DsaPageFeedCriterionFieldEnum`. pub mod dsa_page_feed_criterion_field_enum { - /// Possible values for Dynamic Search Ad Page Feed criterion fields. + /// Possible values for Dynamic Search Ad Page Feed criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DsaPageFeedCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: URL or URL_LIST. URL of the web page you want to target. + /// Data Type: URL or URL_LIST. URL of the web page you want to target. PageUrl = 2, - /// Data Type: STRING_LIST. The labels that will help you target ads within - /// your page feed. + /// Data Type: STRING_LIST. The labels that will help you target ads within + /// your page feed. Label = 3, } impl DsaPageFeedCriterionField { @@ -9597,71 +9597,71 @@ pub mod dsa_page_feed_criterion_field_enum { } } } -// Proto file describing Education placeholder fields. +// Proto file describing Education placeholder fields. -/// Values for Education placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Education placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct EducationPlaceholderFieldEnum { } /// Nested message and enum types in `EducationPlaceholderFieldEnum`. pub mod education_placeholder_field_enum { - /// Possible values for Education placeholder fields. + /// Possible values for Education placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EducationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID - /// must be unique per offer. + /// Data Type: STRING. Required. Combination of PROGRAM ID and LOCATION ID + /// must be unique per offer. ProgramId = 2, - /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be - /// unique per offer. + /// Data Type: STRING. Combination of PROGRAM ID and LOCATION ID must be + /// unique per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with program name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with program name to be shown + /// in dynamic ad. ProgramName = 4, - /// Data Type: STRING. Area of study that can be shown in dynamic ad. + /// Data Type: STRING. Area of study that can be shown in dynamic ad. AreaOfStudy = 5, - /// Data Type: STRING. Description of program that can be shown in dynamic - /// ad. + /// Data Type: STRING. Description of program that can be shown in dynamic + /// ad. ProgramDescription = 6, - /// Data Type: STRING. Name of school that can be shown in dynamic ad. + /// Data Type: STRING. Name of school that can be shown in dynamic ad. SchoolName = 7, - /// Data Type: STRING. Complete school address, including postal code. + /// Data Type: STRING. Complete school address, including postal code. Address = 8, - /// Data Type: URL. Image to be displayed in ads. + /// Data Type: URL. Image to be displayed in ads. ThumbnailImageUrl = 9, - /// Data Type: URL. Alternative hosted file of image to be used in the ad. + /// Data Type: URL. Alternative hosted file of image to be used in the ad. AlternativeThumbnailImageUrl = 10, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific program and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific program and its location). FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended program IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended program IDs to show together + /// with this item. SimilarProgramIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl EducationPlaceholderField { @@ -9694,27 +9694,27 @@ pub mod education_placeholder_field_enum { } } } -// Proto file describing extension setting device type. +// Proto file describing extension setting device type. -/// Container for enum describing extension setting device types. +/// Container for enum describing extension setting device types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingDeviceEnum { } /// Nested message and enum types in `ExtensionSettingDeviceEnum`. pub mod extension_setting_device_enum { - /// Possible device types for an extension setting. + /// Possible device types for an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Mobile. The extensions in the extension setting will only serve on - /// mobile devices. + /// Mobile. The extensions in the extension setting will only serve on + /// mobile devices. Mobile = 2, - /// Desktop. The extensions in the extension setting will only serve on - /// desktop devices. + /// Desktop. The extensions in the extension setting will only serve on + /// desktop devices. Desktop = 3, } impl ExtensionSettingDevice { @@ -9732,48 +9732,48 @@ pub mod extension_setting_device_enum { } } } -// Proto file describing extension type. +// Proto file describing extension type. -/// Container for enum describing possible data types for an extension in an -/// extension setting. +/// Container for enum describing possible data types for an extension in an +/// extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionTypeEnum { } /// Nested message and enum types in `ExtensionTypeEnum`. pub mod extension_type_enum { - /// Possible data types for an extension in an extension setting. + /// Possible data types for an extension in an extension setting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// None. + /// None. None = 2, - /// App. + /// App. App = 3, - /// Call. + /// Call. Call = 4, - /// Callout. + /// Callout. Callout = 5, - /// Message. + /// Message. Message = 6, - /// Price. + /// Price. Price = 7, - /// Promotion. + /// Promotion. Promotion = 8, - /// Sitelink. + /// Sitelink. Sitelink = 10, - /// Structured snippet. + /// Structured snippet. StructuredSnippet = 11, - /// Location. + /// Location. Location = 12, - /// Affiliate location. + /// Affiliate location. AffiliateLocation = 13, - /// Hotel callout + /// Hotel callout HotelCallout = 15, - /// Image. + /// Image. Image = 16, } impl ExtensionType { @@ -9802,47 +9802,47 @@ pub mod extension_type_enum { } } } -// Proto file describing feed attribute type. +// Proto file describing feed attribute type. -/// Container for enum describing possible data types for a feed attribute. +/// Container for enum describing possible data types for a feed attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeTypeEnum { } /// Nested message and enum types in `FeedAttributeTypeEnum`. pub mod feed_attribute_type_enum { - /// Possible data types for a feed attribute. + /// Possible data types for a feed attribute. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Int64. + /// Int64. Int64 = 2, - /// Double. + /// Double. Double = 3, - /// String. + /// String. String = 4, - /// Boolean. + /// Boolean. Boolean = 5, - /// Url. + /// Url. Url = 6, - /// Datetime. + /// Datetime. DateTime = 7, - /// Int64 list. + /// Int64 list. Int64List = 8, - /// Double (8 bytes) list. + /// Double (8 bytes) list. DoubleList = 9, - /// String list. + /// String list. StringList = 10, - /// Boolean list. + /// Boolean list. BooleanList = 11, - /// Url list. + /// Url list. UrlList = 12, - /// Datetime list. + /// Datetime list. DateTimeList = 13, - /// Price. + /// Price. Price = 14, } impl FeedAttributeType { @@ -9871,27 +9871,27 @@ pub mod feed_attribute_type_enum { } } } -// Proto file describing feed item quality evaluation approval statuses. +// Proto file describing feed item quality evaluation approval statuses. -/// Container for enum describing possible quality evaluation approval statuses -/// of a feed item. +/// Container for enum describing possible quality evaluation approval statuses +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityApprovalStatusEnum { } /// Nested message and enum types in `FeedItemQualityApprovalStatusEnum`. pub mod feed_item_quality_approval_status_enum { - /// The possible quality evaluation approval statuses of a feed item. + /// The possible quality evaluation approval statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityApprovalStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Meets all quality expectations. + /// Meets all quality expectations. Approved = 2, - /// Does not meet some quality expectations. The specific reason is found in - /// the quality_disapproval_reasons field. + /// Does not meet some quality expectations. The specific reason is found in + /// the quality_disapproval_reasons field. Disapproved = 3, } impl FeedItemQualityApprovalStatus { @@ -9909,58 +9909,58 @@ pub mod feed_item_quality_approval_status_enum { } } } -// Proto file describing feed item quality disapproval reasons. +// Proto file describing feed item quality disapproval reasons. -/// Container for enum describing possible quality evaluation disapproval reasons -/// of a feed item. +/// Container for enum describing possible quality evaluation disapproval reasons +/// of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemQualityDisapprovalReasonEnum { } /// Nested message and enum types in `FeedItemQualityDisapprovalReasonEnum`. pub mod feed_item_quality_disapproval_reason_enum { - /// The possible quality evaluation disapproval reasons of a feed item. + /// The possible quality evaluation disapproval reasons of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemQualityDisapprovalReason { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Price contains repetitive headers. + /// Price contains repetitive headers. PriceTableRepetitiveHeaders = 2, - /// Price contains repetitive description. + /// Price contains repetitive description. PriceTableRepetitiveDescription = 3, - /// Price contains inconsistent items. + /// Price contains inconsistent items. PriceTableInconsistentRows = 4, - /// Price contains qualifiers in description. + /// Price contains qualifiers in description. PriceDescriptionHasPriceQualifiers = 5, - /// Price contains an unsupported language. + /// Price contains an unsupported language. PriceUnsupportedLanguage = 6, - /// Price item header is not relevant to the price type. + /// Price item header is not relevant to the price type. PriceTableRowHeaderTableTypeMismatch = 7, - /// Price item header has promotional text. + /// Price item header has promotional text. PriceTableRowHeaderHasPromotionalText = 8, - /// Price item description is not relevant to the item header. + /// Price item description is not relevant to the item header. PriceTableRowDescriptionNotRelevant = 9, - /// Price item description contains promotional text. + /// Price item description contains promotional text. PriceTableRowDescriptionHasPromotionalText = 10, - /// Price item header and description are repetitive. + /// Price item header and description are repetitive. PriceTableRowHeaderDescriptionRepetitive = 11, - /// Price item is in a foreign language, nonsense, or can't be rated. + /// Price item is in a foreign language, nonsense, or can't be rated. PriceTableRowUnrateable = 12, - /// Price item price is invalid or inaccurate. + /// Price item price is invalid or inaccurate. PriceTableRowPriceInvalid = 13, - /// Price item URL is invalid or irrelevant. + /// Price item URL is invalid or irrelevant. PriceTableRowUrlInvalid = 14, - /// Price item header or description has price. + /// Price item header or description has price. PriceHeaderOrDescriptionHasPrice = 15, - /// Structured snippet values do not match the header. + /// Structured snippet values do not match the header. StructuredSnippetsHeaderPolicyViolated = 16, - /// Structured snippet values are repeated. + /// Structured snippet values are repeated. StructuredSnippetsRepeatedValues = 17, - /// Structured snippet values violate editorial guidelines like punctuation. + /// Structured snippet values violate editorial guidelines like punctuation. StructuredSnippetsEditorialGuidelines = 18, - /// Structured snippet contain promotional text. + /// Structured snippet contain promotional text. StructuredSnippetsHasPromotionalText = 19, } impl FeedItemQualityDisapprovalReason { @@ -9994,25 +9994,25 @@ pub mod feed_item_quality_disapproval_reason_enum { } } } -// Proto file describing feed item set status. +// Proto file describing feed item set status. -/// Container for enum describing possible statuses of a feed item set. +/// Container for enum describing possible statuses of a feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetStatusEnum { } /// Nested message and enum types in `FeedItemSetStatusEnum`. pub mod feed_item_set_status_enum { - /// Possible statuses of a feed item set. + /// Possible statuses of a feed item set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item set is enabled. + /// Feed item set is enabled. Enabled = 2, - /// Feed item set has been removed. + /// Feed item set has been removed. Removed = 3, } impl FeedItemSetStatus { @@ -10030,25 +10030,25 @@ pub mod feed_item_set_status_enum { } } } -// Proto file describing feed item status. +// Proto file describing feed item status. -/// Container for enum describing possible statuses of a feed item. +/// Container for enum describing possible statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemStatusEnum { } /// Nested message and enum types in `FeedItemStatusEnum`. pub mod feed_item_status_enum { - /// Possible statuses of a feed item. + /// Possible statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item is enabled. + /// Feed item is enabled. Enabled = 2, - /// Feed item has been removed. + /// Feed item has been removed. Removed = 3, } impl FeedItemStatus { @@ -10066,24 +10066,24 @@ pub mod feed_item_status_enum { } } } -// Proto file describing feed item target device type. +// Proto file describing feed item target device type. -/// Container for enum describing possible data types for a feed item target -/// device. +/// Container for enum describing possible data types for a feed item target +/// device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetDeviceEnum { } /// Nested message and enum types in `FeedItemTargetDeviceEnum`. pub mod feed_item_target_device_enum { - /// Possible data types for a feed item target device. + /// Possible data types for a feed item target device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetDevice { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile. + /// Mobile. Mobile = 2, } impl FeedItemTargetDevice { @@ -10100,25 +10100,25 @@ pub mod feed_item_target_device_enum { } } } -// Proto file describing feed item target status. +// Proto file describing feed item target status. -/// Container for enum describing possible statuses of a feed item target. +/// Container for enum describing possible statuses of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetStatusEnum { } /// Nested message and enum types in `FeedItemTargetStatusEnum`. pub mod feed_item_target_status_enum { - /// Possible statuses of a feed item target. + /// Possible statuses of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item target is enabled. + /// Feed item target is enabled. Enabled = 2, - /// Feed item target has been removed. + /// Feed item target has been removed. Removed = 3, } impl FeedItemTargetStatus { @@ -10136,27 +10136,27 @@ pub mod feed_item_target_status_enum { } } } -// Proto file describing feed item target type status. +// Proto file describing feed item target type status. -/// Container for enum describing possible types of a feed item target. +/// Container for enum describing possible types of a feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetTypeEnum { } /// Nested message and enum types in `FeedItemTargetTypeEnum`. pub mod feed_item_target_type_enum { - /// Possible type of a feed item target. + /// Possible type of a feed item target. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed item targets a campaign. + /// Feed item targets a campaign. Campaign = 2, - /// Feed item targets an ad group. + /// Feed item targets an ad group. AdGroup = 3, - /// Feed item targets a criterion. + /// Feed item targets a criterion. Criterion = 4, } impl FeedItemTargetType { @@ -10175,27 +10175,27 @@ pub mod feed_item_target_type_enum { } } } -// Proto file describing feed item validation statuses. +// Proto file describing feed item validation statuses. -/// Container for enum describing possible validation statuses of a feed item. +/// Container for enum describing possible validation statuses of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationStatusEnum { } /// Nested message and enum types in `FeedItemValidationStatusEnum`. pub mod feed_item_validation_status_enum { - /// The possible validation statuses of a feed item. + /// The possible validation statuses of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Validation pending. + /// Validation pending. Pending = 2, - /// An error was found. + /// An error was found. Invalid = 3, - /// Feed item is semantically well-formed. + /// Feed item is semantically well-formed. Valid = 4, } impl FeedItemValidationStatus { @@ -10214,25 +10214,25 @@ pub mod feed_item_validation_status_enum { } } } -// Proto file describing status of a feed link. +// Proto file describing status of a feed link. -/// Container for an enum describing possible statuses of a feed link. +/// Container for an enum describing possible statuses of a feed link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedLinkStatusEnum { } /// Nested message and enum types in `FeedLinkStatusEnum`. pub mod feed_link_status_enum { - /// Possible statuses of a feed link. + /// Possible statuses of a feed link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed link is enabled. + /// Feed link is enabled. Enabled = 2, - /// Feed link has been removed. + /// Feed link has been removed. Removed = 3, } impl FeedLinkStatus { @@ -10250,25 +10250,25 @@ pub mod feed_link_status_enum { } } } -// Proto file describing criterion types for feed mappings. +// Proto file describing criterion types for feed mappings. -/// Container for enum describing possible criterion types for a feed mapping. +/// Container for enum describing possible criterion types for a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingCriterionTypeEnum { } /// Nested message and enum types in `FeedMappingCriterionTypeEnum`. pub mod feed_mapping_criterion_type_enum { - /// Possible placeholder types for a feed mapping. + /// Possible placeholder types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingCriterionType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Allows campaign targeting at locations within a location feed. + /// Allows campaign targeting at locations within a location feed. LocationExtensionTargeting = 4, - /// Allows url targeting for your dynamic search ads within a page feed. + /// Allows url targeting for your dynamic search ads within a page feed. DsaPageFeed = 3, } impl FeedMappingCriterionType { @@ -10286,25 +10286,25 @@ pub mod feed_mapping_criterion_type_enum { } } } -// Proto file describing feed mapping status. +// Proto file describing feed mapping status. -/// Container for enum describing possible statuses of a feed mapping. +/// Container for enum describing possible statuses of a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingStatusEnum { } /// Nested message and enum types in `FeedMappingStatusEnum`. pub mod feed_mapping_status_enum { - /// Possible statuses of a feed mapping. + /// Possible statuses of a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed mapping is enabled. + /// Feed mapping is enabled. Enabled = 2, - /// Feed mapping has been removed. + /// Feed mapping has been removed. Removed = 3, } impl FeedMappingStatus { @@ -10322,28 +10322,28 @@ pub mod feed_mapping_status_enum { } } } -// Proto file describing feed origin. +// Proto file describing feed origin. -/// Container for enum describing possible values for a feed origin. +/// Container for enum describing possible values for a feed origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOriginEnum { } /// Nested message and enum types in `FeedOriginEnum`. pub mod feed_origin_enum { - /// Possible values for a feed origin. + /// Possible values for a feed origin. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedOrigin { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The FeedAttributes for this Feed are managed by the - /// user. Users can add FeedAttributes to this Feed. + /// The FeedAttributes for this Feed are managed by the + /// user. Users can add FeedAttributes to this Feed. User = 2, - /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of - /// this type is maintained by Google and will have the correct attributes - /// for the placeholder type of the feed. + /// The FeedAttributes for an GOOGLE Feed are created by Google. A feed of + /// this type is maintained by Google and will have the correct attributes + /// for the placeholder type of the feed. Google = 3, } impl FeedOrigin { @@ -10361,25 +10361,25 @@ pub mod feed_origin_enum { } } } -// Proto file describing feed status. +// Proto file describing feed status. -/// Container for enum describing possible statuses of a feed. +/// Container for enum describing possible statuses of a feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedStatusEnum { } /// Nested message and enum types in `FeedStatusEnum`. pub mod feed_status_enum { - /// Possible statuses of a feed. + /// Possible statuses of a feed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Feed is enabled. + /// Feed is enabled. Enabled = 2, - /// Feed has been removed. + /// Feed has been removed. Removed = 3, } impl FeedStatus { @@ -10397,78 +10397,78 @@ pub mod feed_status_enum { } } } -// Proto file describing Flight placeholder fields. +// Proto file describing Flight placeholder fields. -/// Values for Flight placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Flight placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlightPlaceholderFieldEnum { } /// Nested message and enum types in `FlightPlaceholderFieldEnum`. pub mod flight_placeholder_field_enum { - /// Possible values for Flight placeholder fields. + /// Possible values for Flight placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FlightPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Optional. Combination of destination id and origin id must be unique per - /// offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Optional. Combination of destination id and origin id must be unique per + /// offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with product name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with product name to be shown + /// in dynamic ad. FlightDescription = 4, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. OriginName = 5, - /// Data Type: STRING. Shorter names are recommended. + /// Data Type: STRING. Shorter names are recommended. DestinationName = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" FlightPrice = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" FlightSalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 13, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 14, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 15, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 16, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 17, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 18, } impl FlightPlaceholderField { @@ -10501,27 +10501,27 @@ pub mod flight_placeholder_field_enum { } } } -// Proto file describing geo target constant statuses. +// Proto file describing geo target constant statuses. -/// Container for describing the status of a geo target constant. +/// Container for describing the status of a geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantStatusEnum { } /// Nested message and enum types in `GeoTargetConstantStatusEnum`. pub mod geo_target_constant_status_enum { - /// The possible statuses of a geo target constant. + /// The possible statuses of a geo target constant. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The geo target constant is valid. + /// The geo target constant is valid. Enabled = 2, - /// The geo target constant is obsolete and will be removed. + /// The geo target constant is obsolete and will be removed. RemovalPlanned = 3, } impl GeoTargetConstantStatus { @@ -10539,25 +10539,25 @@ pub mod geo_target_constant_status_enum { } } } -// Proto file describing GeoTargetingRestriction. +// Proto file describing GeoTargetingRestriction. -/// Message describing feed item geo targeting restriction. +/// Message describing feed item geo targeting restriction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingRestrictionEnum { } /// Nested message and enum types in `GeoTargetingRestrictionEnum`. pub mod geo_targeting_restriction_enum { - /// A restriction used to determine if the request context's - /// geo should be matched. + /// A restriction used to determine if the request context's + /// geo should be matched. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingRestriction { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates that request context should match the physical location of - /// the user. + /// Indicates that request context should match the physical location of + /// the user. LocationOfPresence = 2, } impl GeoTargetingRestriction { @@ -10574,25 +10574,25 @@ pub mod geo_targeting_restriction_enum { } } } -// Proto file describing geo targeting types. +// Proto file describing geo targeting types. -/// Container for enum describing possible geo targeting types. +/// Container for enum describing possible geo targeting types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetingTypeEnum { } /// Nested message and enum types in `GeoTargetingTypeEnum`. pub mod geo_targeting_type_enum { - /// The possible geo targeting types. + /// The possible geo targeting types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetingType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Location the user is interested in while making the query. + /// Location the user is interested in while making the query. AreaOfInterest = 2, - /// Location of the user issuing the query. + /// Location of the user issuing the query. LocationOfPresence = 3, } impl GeoTargetingType { @@ -10610,27 +10610,27 @@ pub mod geo_targeting_type_enum { } } } -// Proto file describing goal config level. +// Proto file describing goal config level. -/// Container for enum describing possible goal config levels. +/// Container for enum describing possible goal config levels. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoalConfigLevelEnum { } /// Nested message and enum types in `GoalConfigLevelEnum`. pub mod goal_config_level_enum { - /// The possible goal config levels. Campaigns automatically inherit the - /// effective conversion account's customer goals unless they have been - /// configured with their own set of campaign goals. + /// The possible goal config levels. Campaigns automatically inherit the + /// effective conversion account's customer goals unless they have been + /// configured with their own set of campaign goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoalConfigLevel { - /// The goal config level has not been specified. + /// The goal config level has not been specified. Unspecified = 0, - /// The goal config level is not known in this version. + /// The goal config level is not known in this version. Unknown = 1, - /// The goal config is defined at the customer level. + /// The goal config is defined at the customer level. Customer = 2, - /// The goal config is defined at the campaign level. + /// The goal config is defined at the campaign level. Campaign = 3, } impl GoalConfigLevel { @@ -10648,34 +10648,34 @@ pub mod goal_config_level_enum { } } } -// Proto file describing GoogleAdsField categories. +// Proto file describing GoogleAdsField categories. -/// Container for enum that determines if the described artifact is a resource -/// or a field, and if it is a field, when it segments search queries. +/// Container for enum that determines if the described artifact is a resource +/// or a field, and if it is a field, when it segments search queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldCategoryEnum { } /// Nested message and enum types in `GoogleAdsFieldCategoryEnum`. pub mod google_ads_field_category_enum { - /// The category of the artifact. + /// The category of the artifact. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldCategory { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// The described artifact is a resource. + /// The described artifact is a resource. Resource = 2, - /// The described artifact is a field and is an attribute of a resource. - /// Including a resource attribute field in a query may segment the query if - /// the resource to which it is attributed segments the resource found in - /// the FROM clause. + /// The described artifact is a field and is an attribute of a resource. + /// Including a resource attribute field in a query may segment the query if + /// the resource to which it is attributed segments the resource found in + /// the FROM clause. Attribute = 3, - /// The described artifact is a field and always segments search queries. + /// The described artifact is a field and always segments search queries. Segment = 5, - /// The described artifact is a field and is a metric. It never segments - /// search queries. + /// The described artifact is a field and is a metric. It never segments + /// search queries. Metric = 6, } impl GoogleAdsFieldCategory { @@ -10695,68 +10695,68 @@ pub mod google_ads_field_category_enum { } } } -// Proto file describing GoogleAdsField data types. +// Proto file describing GoogleAdsField data types. -/// Container holding the various data types. +/// Container holding the various data types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFieldDataTypeEnum { } /// Nested message and enum types in `GoogleAdsFieldDataTypeEnum`. pub mod google_ads_field_data_type_enum { - /// These are the various types a GoogleAdsService artifact may take on. + /// These are the various types a GoogleAdsService artifact may take on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleAdsFieldDataType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Unknown + /// Unknown Unknown = 1, - /// Maps to google.protobuf.BoolValue + /// Maps to google.protobuf.BoolValue /// - /// Applicable operators: =, != + /// Applicable operators: =, != Boolean = 2, - /// Maps to google.protobuf.StringValue. It can be compared using the set of - /// operators specific to dates however. + /// Maps to google.protobuf.StringValue. It can be compared using the set of + /// operators specific to dates however. /// - /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN + /// Applicable operators: =, <, >, <=, >=, BETWEEN, DURING, and IN Date = 3, - /// Maps to google.protobuf.DoubleValue + /// Maps to google.protobuf.DoubleValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Double = 4, - /// Maps to an enum. It's specific definition can be found at type_url. + /// Maps to an enum. It's specific definition can be found at type_url. /// - /// Applicable operators: =, !=, IN, NOT IN + /// Applicable operators: =, !=, IN, NOT IN Enum = 5, - /// Maps to google.protobuf.FloatValue + /// Maps to google.protobuf.FloatValue /// - /// Applicable operators: =, !=, <, >, IN, NOT IN + /// Applicable operators: =, !=, <, >, IN, NOT IN Float = 6, - /// Maps to google.protobuf.Int32Value + /// Maps to google.protobuf.Int32Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int32 = 7, - /// Maps to google.protobuf.Int64Value + /// Maps to google.protobuf.Int64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Int64 = 8, - /// Maps to a protocol buffer message type. The data type's details can be - /// found in type_url. + /// Maps to a protocol buffer message type. The data type's details can be + /// found in type_url. /// - /// No operators work with MESSAGE fields. + /// No operators work with MESSAGE fields. Message = 9, - /// Maps to google.protobuf.StringValue. Represents the resource name - /// (unique id) of a resource or one of its foreign keys. + /// Maps to google.protobuf.StringValue. Represents the resource name + /// (unique id) of a resource or one of its foreign keys. /// - /// No operators work with RESOURCE_NAME fields. + /// No operators work with RESOURCE_NAME fields. ResourceName = 10, - /// Maps to google.protobuf.StringValue. + /// Maps to google.protobuf.StringValue. /// - /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN + /// Applicable operators: =, !=, LIKE, NOT LIKE, IN, NOT IN String = 11, - /// Maps to google.protobuf.UInt64Value + /// Maps to google.protobuf.UInt64Value /// - /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN + /// Applicable operators: =, !=, <, >, <=, >=, BETWEEN, IN, NOT IN Uint64 = 12, } impl GoogleAdsFieldDataType { @@ -10783,25 +10783,25 @@ pub mod google_ads_field_data_type_enum { } } } -// Proto file describing google voice call status. +// Proto file describing google voice call status. -/// Container for enum describing possible statuses of a google voice call. +/// Container for enum describing possible statuses of a google voice call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleVoiceCallStatusEnum { } /// Nested message and enum types in `GoogleVoiceCallStatusEnum`. pub mod google_voice_call_status_enum { - /// Possible statuses of a google voice call. + /// Possible statuses of a google voice call. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleVoiceCallStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The call was missed. + /// The call was missed. Missed = 2, - /// The call was received. + /// The call was received. Received = 3, } impl GoogleVoiceCallStatus { @@ -10819,81 +10819,81 @@ pub mod google_voice_call_status_enum { } } } -// Proto file describing Hotel placeholder fields. +// Proto file describing Hotel placeholder fields. -/// Values for Hotel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Hotel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPlaceholderFieldEnum { } /// Nested message and enum types in `HotelPlaceholderFieldEnum`. pub mod hotel_placeholder_field_enum { - /// Possible values for Hotel placeholder fields. + /// Possible values for Hotel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. PropertyId = 2, - /// Data Type: STRING. Required. Main headline with property name to be shown - /// in dynamic ad. + /// Data Type: STRING. Required. Main headline with property name to be shown + /// in dynamic ad. PropertyName = 3, - /// Data Type: STRING. Name of destination to be shown in dynamic ad. + /// Data Type: STRING. Name of destination to be shown in dynamic ad. DestinationName = 4, - /// Data Type: STRING. Description of destination to be shown in dynamic ad. + /// Data Type: STRING. Description of destination to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 12, - /// Data Type: INT64. Star rating (1 to 5) used to group like items - /// together for recommendation engine. + /// Data Type: INT64. Star rating (1 to 5) used to group like items + /// together for recommendation engine. StarRating = 13, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 14, - /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded - /// URLs. User will be redirected to these URLs when they click on an ad, or - /// when they click on a specific flight for ads that show multiple - /// flights. + /// Data Type: URL_LIST. Required. Final URLs for the ad when using Upgraded + /// URLs. User will be redirected to these URLs when they click on an ad, or + /// when they click on a specific flight for ads that show multiple + /// flights. FinalUrls = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended property IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended property IDs to show together + /// with this item. SimilarPropertyIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl HotelPlaceholderField { @@ -10929,35 +10929,35 @@ pub mod hotel_placeholder_field_enum { } } } -// Proto file describing hotel reconciliation row status. +// Proto file describing hotel reconciliation row status. -/// Container for HotelReconciliationStatus. +/// Container for HotelReconciliationStatus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliationStatusEnum { } /// Nested message and enum types in `HotelReconciliationStatusEnum`. pub mod hotel_reconciliation_status_enum { - /// Status of the hotel booking reconciliation. + /// Status of the hotel booking reconciliation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HotelReconciliationStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Bookings are for a future date, or a stay is underway but the check-out - /// date hasn't passed. An active reservation can't be reconciled. + /// Bookings are for a future date, or a stay is underway but the check-out + /// date hasn't passed. An active reservation can't be reconciled. ReservationEnabled = 2, - /// Check-out has already taken place, or the booked dates have passed - /// without cancellation. Bookings that are not reconciled within 45 days of - /// the check-out date are billed based on the original booking price. + /// Check-out has already taken place, or the booked dates have passed + /// without cancellation. Bookings that are not reconciled within 45 days of + /// the check-out date are billed based on the original booking price. ReconciliationNeeded = 3, - /// These bookings have been reconciled. Reconciled bookings are billed 45 - /// days after the check-out date. + /// These bookings have been reconciled. Reconciled bookings are billed 45 + /// days after the check-out date. Reconciled = 4, - /// This booking was marked as canceled. Canceled stays with a value greater - /// than zero (due to minimum stay rules or cancellation fees) are billed 45 - /// days after the check-out date. + /// This booking was marked as canceled. Canceled stays with a value greater + /// than zero (due to minimum stay rules or cancellation fees) are billed 45 + /// days after the check-out date. Canceled = 5, } impl HotelReconciliationStatus { @@ -10977,23 +10977,23 @@ pub mod hotel_reconciliation_status_enum { } } } -// Proto file describing Advertiser Provided Image placeholder fields. +// Proto file describing Advertiser Provided Image placeholder fields. -/// Values for Advertiser Provided Image placeholder fields. +/// Values for Advertiser Provided Image placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImagePlaceholderFieldEnum { } /// Nested message and enum types in `ImagePlaceholderFieldEnum`. pub mod image_placeholder_field_enum { - /// Possible values for Advertiser Provided Image placeholder fields. + /// Possible values for Advertiser Provided Image placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: INT64. The asset ID of the image. + /// Data Type: INT64. The asset ID of the image. AssetId = 2, } impl ImagePlaceholderField { @@ -11010,25 +11010,25 @@ pub mod image_placeholder_field_enum { } } } -// Proto file describing invoice types. +// Proto file describing invoice types. -/// Container for enum describing the type of invoices. +/// Container for enum describing the type of invoices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceTypeEnum { } /// Nested message and enum types in `InvoiceTypeEnum`. pub mod invoice_type_enum { - /// The possible type of invoices. + /// The possible type of invoices. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// An invoice with a negative amount. The account receives a credit. + /// An invoice with a negative amount. The account receives a credit. CreditMemo = 2, - /// An invoice with a positive amount. The account owes a balance. + /// An invoice with a positive amount. The account owes a balance. Invoice = 3, } impl InvoiceType { @@ -11046,75 +11046,75 @@ pub mod invoice_type_enum { } } } -// Proto file describing Job placeholder fields. +// Proto file describing Job placeholder fields. -/// Values for Job placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Job placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobPlaceholderFieldEnum { } /// Nested message and enum types in `JobPlaceholderFieldEnum`. pub mod job_placeholder_field_enum { - /// Possible values for Job placeholder fields. + /// Possible values for Job placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be - /// unique. If both JOB_ID and LOCATION_ID are specified, then the - /// pair must be unique. - /// ID) pair must be unique. + /// Data Type: STRING. Required. If only JOB_ID is specified, then it must be + /// unique. If both JOB_ID and LOCATION_ID are specified, then the + /// pair must be unique. + /// ID) pair must be unique. JobId = 2, - /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique - /// per offer. + /// Data Type: STRING. Combination of JOB_ID and LOCATION_ID must be unique + /// per offer. LocationId = 3, - /// Data Type: STRING. Required. Main headline with job title to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with job title to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. Job subtitle to be shown in dynamic ad. + /// Data Type: STRING. Job subtitle to be shown in dynamic ad. Subtitle = 5, - /// Data Type: STRING. Description of job to be shown in dynamic ad. + /// Data Type: STRING. Description of job to be shown in dynamic ad. Description = 6, - /// Data Type: URL. Image to be displayed in the ad. Highly recommended for - /// image ads. + /// Data Type: URL. Image to be displayed in the ad. Highly recommended for + /// image ads. ImageUrl = 7, - /// Data Type: STRING. Category of property used to group like items together - /// for recommendation engine. + /// Data Type: STRING. Category of property used to group like items together + /// for recommendation engine. Category = 8, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 9, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 10, - /// Data Type: STRING. Salary or salary range of job to be shown in dynamic - /// ad. + /// Data Type: STRING. Salary or salary range of job to be shown in dynamic + /// ad. Salary = 11, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific job and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific job and its location). FinalUrls = 12, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended job IDs to show together with - /// this item. + /// Data Type: STRING_LIST. List of recommended job IDs to show together with + /// this item. SimilarJobIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl JobPlaceholderField { @@ -11147,30 +11147,30 @@ pub mod job_placeholder_field_enum { } } } -// Proto file describing keyword plan forecast intervals. +// Proto file describing keyword plan forecast intervals. -/// Container for enumeration of forecast intervals. +/// Container for enumeration of forecast intervals. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastIntervalEnum { } /// Nested message and enum types in `KeywordPlanForecastIntervalEnum`. pub mod keyword_plan_forecast_interval_enum { - /// Forecast intervals. + /// Forecast intervals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanForecastInterval { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// The next week date range for keyword plan. The next week is based - /// on the default locale of the user's account and is mostly SUN-SAT or - /// MON-SUN. - /// This can be different from next-7 days. + /// The next week date range for keyword plan. The next week is based + /// on the default locale of the user's account and is mostly SUN-SAT or + /// MON-SUN. + /// This can be different from next-7 days. NextWeek = 3, - /// The next month date range for keyword plan. + /// The next month date range for keyword plan. NextMonth = 4, - /// The next quarter date range for keyword plan. + /// The next quarter date range for keyword plan. NextQuarter = 5, } impl KeywordPlanForecastInterval { @@ -11189,23 +11189,23 @@ pub mod keyword_plan_forecast_interval_enum { } } } -// Proto file describing Keyword Planner Keyword annotation types. +// Proto file describing Keyword Planner Keyword annotation types. -/// Container for enumeration of keyword plan keyword annotations. +/// Container for enumeration of keyword plan keyword annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordAnnotationEnum { } /// Nested message and enum types in `KeywordPlanKeywordAnnotationEnum`. pub mod keyword_plan_keyword_annotation_enum { - /// Enumerates keyword plan annotations that can be requested. + /// Enumerates keyword plan annotations that can be requested. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanKeywordAnnotation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Return the keyword concept and concept group data. + /// Return the keyword concept and concept group data. KeywordConcept = 2, } impl KeywordPlanKeywordAnnotation { @@ -11222,25 +11222,25 @@ pub mod keyword_plan_keyword_annotation_enum { } } } -// Proto file describing Keyword Planner forecastable network types. +// Proto file describing Keyword Planner forecastable network types. -/// Container for enumeration of keyword plan forecastable network types. +/// Container for enumeration of keyword plan forecastable network types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanNetworkEnum { } /// Nested message and enum types in `KeywordPlanNetworkEnum`. pub mod keyword_plan_network_enum { - /// Enumerates keyword plan forecastable network types. + /// Enumerates keyword plan forecastable network types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Google Search. + /// Google Search. GoogleSearch = 2, - /// Google Search + Search partners. + /// Google Search + Search partners. GoogleSearchAndPartners = 3, } impl KeywordPlanNetwork { @@ -11258,23 +11258,23 @@ pub mod keyword_plan_network_enum { } } } -/// Container for enum describing possible status of a label. +/// Container for enum describing possible status of a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelStatusEnum { } /// Nested message and enum types in `LabelStatusEnum`. pub mod label_status_enum { - /// Possible statuses of a label. + /// Possible statuses of a label. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Label is enabled. + /// Label is enabled. Enabled = 2, - /// Label is removed. + /// Label is removed. Removed = 3, } impl LabelStatus { @@ -11292,26 +11292,26 @@ pub mod label_status_enum { } } } -/// Container for enum describing different types of Linked accounts. +/// Container for enum describing different types of Linked accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LinkedAccountTypeEnum { } /// Nested message and enum types in `LinkedAccountTypeEnum`. pub mod linked_account_type_enum { - /// Describes the possible link types between a Google Ads customer - /// and another account. + /// Describes the possible link types between a Google Ads customer + /// and another account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkedAccountType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A link to provide third party app analytics data. + /// A link to provide third party app analytics data. ThirdPartyAppAnalytics = 2, - /// A link to Data partner. + /// A link to Data partner. DataPartner = 3, - /// A link to Google Ads. + /// A link to Google Ads. GoogleAds = 4, } impl LinkedAccountType { @@ -11330,32 +11330,32 @@ pub mod linked_account_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the levels of bidding category used in -/// ListingGroupFilterDimension. +/// Container for enum describing the levels of bidding category used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterBiddingCategoryLevelEnum { } /// Nested message and enum types in `ListingGroupFilterBiddingCategoryLevelEnum`. pub mod listing_group_filter_bidding_category_level_enum { - /// The level of the listing group filter bidding category. + /// The level of the listing group filter bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterBiddingCategoryLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterBiddingCategoryLevel { @@ -11376,32 +11376,32 @@ pub mod listing_group_filter_bidding_category_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the indexes of custom attribute used in -/// ListingGroupFilterDimension. +/// Container for enum describing the indexes of custom attribute used in +/// ListingGroupFilterDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterCustomAttributeIndexEnum { } /// Nested message and enum types in `ListingGroupFilterCustomAttributeIndexEnum`. pub mod listing_group_filter_custom_attribute_index_enum { - /// The index of customer attributes. + /// The index of customer attributes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterCustomAttributeIndex { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// First listing group filter custom attribute. + /// First listing group filter custom attribute. Index0 = 2, - /// Second listing group filter custom attribute. + /// Second listing group filter custom attribute. Index1 = 3, - /// Third listing group filter custom attribute. + /// Third listing group filter custom attribute. Index2 = 4, - /// Fourth listing group filter custom attribute. + /// Fourth listing group filter custom attribute. Index3 = 5, - /// Fifth listing group filter custom attribute. + /// Fifth listing group filter custom attribute. Index4 = 6, } impl ListingGroupFilterCustomAttributeIndex { @@ -11422,25 +11422,25 @@ pub mod listing_group_filter_custom_attribute_index_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Locality of a product offer. +/// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductChannelEnum { } /// Nested message and enum types in `ListingGroupFilterProductChannelEnum`. pub mod listing_group_filter_product_channel_enum { - /// Enum describing the locality of a product offer. + /// Enum describing the locality of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductChannel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The item is sold online. + /// The item is sold online. Online = 2, - /// The item is sold in local stores. + /// The item is sold in local stores. Local = 3, } impl ListingGroupFilterProductChannel { @@ -11458,27 +11458,27 @@ pub mod listing_group_filter_product_channel_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Condition of a product offer. +/// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductConditionEnum { } /// Nested message and enum types in `ListingGroupFilterProductConditionEnum`. pub mod listing_group_filter_product_condition_enum { - /// Enum describing the condition of a product offer. + /// Enum describing the condition of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductCondition { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The product condition is new. + /// The product condition is new. New = 2, - /// The product condition is refurbished. + /// The product condition is refurbished. Refurbished = 3, - /// The product condition is used. + /// The product condition is used. Used = 4, } impl ListingGroupFilterProductCondition { @@ -11497,31 +11497,31 @@ pub mod listing_group_filter_product_condition_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Level of the type of a product offer. +/// Level of the type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterProductTypeLevelEnum { } /// Nested message and enum types in `ListingGroupFilterProductTypeLevelEnum`. pub mod listing_group_filter_product_type_level_enum { - /// Enum describing the level of the type of a product offer. + /// Enum describing the level of the type of a product offer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterProductTypeLevel { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Level 1. + /// Level 1. Level1 = 2, - /// Level 2. + /// Level 2. Level2 = 3, - /// Level 3. + /// Level 3. Level3 = 4, - /// Level 4. + /// Level 4. Level4 = 5, - /// Level 5. + /// Level 5. Level5 = 6, } impl ListingGroupFilterProductTypeLevel { @@ -11542,27 +11542,27 @@ pub mod listing_group_filter_product_type_level_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the listing group filter node. +/// Container for enum describing the type of the listing group filter node. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterTypeEnum { } /// Nested message and enum types in `ListingGroupFilterTypeEnum`. pub mod listing_group_filter_type_enum { - /// The type of the listing group filter. + /// The type of the listing group filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Subdivision of products along some listing dimensions. + /// Subdivision of products along some listing dimensions. Subdivision = 2, - /// An included listing group filter leaf node. + /// An included listing group filter leaf node. UnitIncluded = 3, - /// An excluded listing group filter leaf node. + /// An excluded listing group filter leaf node. UnitExcluded = 4, } impl ListingGroupFilterType { @@ -11581,24 +11581,24 @@ pub mod listing_group_filter_type_enum { } } } -// Proto file describing listing groups. +// Proto file describing listing groups. -/// Container for enum describing the type of the vertical a listing group filter -/// tree represents. +/// Container for enum describing the type of the vertical a listing group filter +/// tree represents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterVerticalEnum { } /// Nested message and enum types in `ListingGroupFilterVerticalEnum`. pub mod listing_group_filter_vertical_enum { - /// The type of the listing group filter vertical. + /// The type of the listing group filter vertical. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListingGroupFilterVertical { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Represents the shopping vertical. + /// Represents the shopping vertical. Shopping = 2, } impl ListingGroupFilterVertical { @@ -11615,77 +11615,77 @@ pub mod listing_group_filter_vertical_enum { } } } -// Proto file describing Local placeholder fields. +// Proto file describing Local placeholder fields. -/// Values for Local placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Local placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalPlaceholderFieldEnum { } /// Nested message and enum types in `LocalPlaceholderFieldEnum`. pub mod local_placeholder_field_enum { - /// Possible values for Local placeholder fields. + /// Possible values for Local placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Unique ID. + /// Data Type: STRING. Required. Unique ID. DealId = 2, - /// Data Type: STRING. Required. Main headline with local deal title to be - /// shown in dynamic ad. + /// Data Type: STRING. Required. Main headline with local deal title to be + /// shown in dynamic ad. DealName = 3, - /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. + /// Data Type: STRING. Local deal subtitle to be shown in dynamic ad. Subtitle = 4, - /// Data Type: STRING. Description of local deal to be shown in dynamic ad. + /// Data Type: STRING. Description of local deal to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. Example: "100.00 USD" Price = 6, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 7, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 8, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 9, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 10, - /// Data Type: STRING. Complete property address, including postal code. + /// Data Type: STRING. Complete property address, including postal code. Address = 11, - /// Data Type: STRING. Category of local deal used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of local deal used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific local deal and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific local deal and its location). FinalUrls = 14, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 15, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 16, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 17, - /// Data Type: STRING_LIST. List of recommended local deal IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended local deal IDs to show + /// together with this item. SimilarDealIds = 18, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 19, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 20, } impl LocalPlaceholderField { @@ -11720,33 +11720,33 @@ pub mod local_placeholder_field_enum { } } } -// Proto file describing Location Extension Targeting criterion fields. +// Proto file describing Location Extension Targeting criterion fields. -/// Values for Location Extension Targeting criterion fields. +/// Values for Location Extension Targeting criterion fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationExtensionTargetingCriterionFieldEnum { } /// Nested message and enum types in `LocationExtensionTargetingCriterionFieldEnum`. pub mod location_extension_targeting_criterion_field_enum { - /// Possible values for Location Extension Targeting criterion fields. + /// Possible values for Location Extension Targeting criterion fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationExtensionTargetingCriterionField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 2, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 3, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 4, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 5, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 6, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 7, } impl LocationExtensionTargetingCriterionField { @@ -11768,37 +11768,37 @@ pub mod location_extension_targeting_criterion_field_enum { } } } -// Proto file describing Location placeholder fields. +// Proto file describing Location placeholder fields. -/// Values for Location placeholder fields. +/// Values for Location placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPlaceholderFieldEnum { } /// Nested message and enum types in `LocationPlaceholderFieldEnum`. pub mod location_placeholder_field_enum { - /// Possible values for Location placeholder fields. + /// Possible values for Location placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of the business. + /// Data Type: STRING. The name of the business. BusinessName = 2, - /// Data Type: STRING. Line 1 of the business address. + /// Data Type: STRING. Line 1 of the business address. AddressLine1 = 3, - /// Data Type: STRING. Line 2 of the business address. + /// Data Type: STRING. Line 2 of the business address. AddressLine2 = 4, - /// Data Type: STRING. City of the business address. + /// Data Type: STRING. City of the business address. City = 5, - /// Data Type: STRING. Province of the business address. + /// Data Type: STRING. Province of the business address. Province = 6, - /// Data Type: STRING. Postal code of the business address. + /// Data Type: STRING. Postal code of the business address. PostalCode = 7, - /// Data Type: STRING. Country code of the business address. + /// Data Type: STRING. Country code of the business address. CountryCode = 8, - /// Data Type: STRING. Phone number of the business. + /// Data Type: STRING. Phone number of the business. PhoneNumber = 9, } impl LocationPlaceholderField { @@ -11822,25 +11822,25 @@ pub mod location_placeholder_field_enum { } } } -// Proto file describing location source types. +// Proto file describing location source types. -/// Used to distinguish the location source type. +/// Used to distinguish the location source type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationSourceTypeEnum { } /// Nested message and enum types in `LocationSourceTypeEnum`. pub mod location_source_type_enum { - /// The possible types of a location source. + /// The possible types of a location source. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationSourceType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Locations associated with the customer's linked Business Profile. + /// Locations associated with the customer's linked Business Profile. GoogleMyBusiness = 2, - /// Affiliate (chain) store locations. For example, Best Buy store locations. + /// Affiliate (chain) store locations. For example, Best Buy store locations. Affiliate = 3, } impl LocationSourceType { @@ -11858,31 +11858,31 @@ pub mod location_source_type_enum { } } } -/// Container for enum describing possible status of a manager and client link. +/// Container for enum describing possible status of a manager and client link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkStatusEnum { } /// Nested message and enum types in `ManagerLinkStatusEnum`. pub mod manager_link_status_enum { - /// Possible statuses of a link. + /// Possible statuses of a link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Indicates current in-effect relationship + /// Indicates current in-effect relationship Active = 2, - /// Indicates terminated relationship + /// Indicates terminated relationship Inactive = 3, - /// Indicates relationship has been requested by manager, but the client - /// hasn't accepted yet. + /// Indicates relationship has been requested by manager, but the client + /// hasn't accepted yet. Pending = 4, - /// Relationship was requested by the manager, but the client has refused. + /// Relationship was requested by the manager, but the client has refused. Refused = 5, - /// Indicates relationship has been requested by manager, but manager - /// canceled it. + /// Indicates relationship has been requested by manager, but manager + /// canceled it. Canceled = 6, } impl ManagerLinkStatus { @@ -11903,35 +11903,35 @@ pub mod manager_link_status_enum { } } } -// Proto file describing media types. +// Proto file describing media types. -/// Container for enum describing the types of media. +/// Container for enum describing the types of media. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaTypeEnum { } /// Nested message and enum types in `MediaTypeEnum`. pub mod media_type_enum { - /// The type of media. + /// The type of media. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// The media type has not been specified. + /// The media type has not been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// Static image, used for image ad. + /// Static image, used for image ad. Image = 2, - /// Small image, used for map ad. + /// Small image, used for map ad. Icon = 3, - /// ZIP file, used in fields of template ads. + /// ZIP file, used in fields of template ads. MediaBundle = 4, - /// Audio file. + /// Audio file. Audio = 5, - /// Video file. + /// Video file. Video = 6, - /// Animated image, such as animated GIF. + /// Animated image, such as animated GIF. DynamicImage = 7, } impl MediaType { @@ -11953,28 +11953,28 @@ pub mod media_type_enum { } } } -// Proto file describing Merchant Center link statuses. +// Proto file describing Merchant Center link statuses. -/// Container for enum describing possible statuses of a Google Merchant Center -/// link. +/// Container for enum describing possible statuses of a Google Merchant Center +/// link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkStatusEnum { } /// Nested message and enum types in `MerchantCenterLinkStatusEnum`. pub mod merchant_center_link_status_enum { - /// Describes the possible statuses for a link between a Google Ads customer - /// and a Google Merchant Center account. + /// Describes the possible statuses for a link between a Google Ads customer + /// and a Google Merchant Center account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterLinkStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The link is enabled. + /// The link is enabled. Enabled = 2, - /// The link has no effect. It was proposed by the Merchant Center Account - /// owner and hasn't been confirmed by the customer. + /// The link has no effect. It was proposed by the Merchant Center Account + /// owner and hasn't been confirmed by the customer. Pending = 3, } impl MerchantCenterLinkStatus { @@ -11992,33 +11992,33 @@ pub mod merchant_center_link_status_enum { } } } -// Proto file describing Message placeholder fields. +// Proto file describing Message placeholder fields. -/// Values for Message placeholder fields. +/// Values for Message placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MessagePlaceholderFieldEnum { } /// Nested message and enum types in `MessagePlaceholderFieldEnum`. pub mod message_placeholder_field_enum { - /// Possible values for Message placeholder fields. + /// Possible values for Message placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MessagePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The name of your business. + /// Data Type: STRING. The name of your business. BusinessName = 2, - /// Data Type: STRING. Country code of phone number. + /// Data Type: STRING. Country code of phone number. CountryCode = 3, - /// Data Type: STRING. A phone number that's capable of sending and receiving - /// text messages. + /// Data Type: STRING. A phone number that's capable of sending and receiving + /// text messages. PhoneNumber = 4, - /// Data Type: STRING. The text that will go in your click-to-message ad. + /// Data Type: STRING. The text that will go in your click-to-message ad. MessageExtensionText = 5, - /// Data Type: STRING. The message text automatically shows in people's - /// messaging apps when they tap to send you a message. + /// Data Type: STRING. The message text automatically shows in people's + /// messaging apps when they tap to send you a message. MessageText = 6, } impl MessagePlaceholderField { @@ -12039,25 +12039,25 @@ pub mod message_placeholder_field_enum { } } } -// Proto file describing mobile device types. +// Proto file describing mobile device types. -/// Container for enum describing the types of mobile device. +/// Container for enum describing the types of mobile device. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceTypeEnum { } /// Nested message and enum types in `MobileDeviceTypeEnum`. pub mod mobile_device_type_enum { - /// The type of mobile device. + /// The type of mobile device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MobileDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile phones. + /// Mobile phones. Mobile = 2, - /// Tablets. + /// Tablets. Tablet = 3, } impl MobileDeviceType { @@ -12075,27 +12075,27 @@ pub mod mobile_device_type_enum { } } } -// Proto file describing negative geo target types. +// Proto file describing negative geo target types. -/// Container for enum describing possible negative geo target types. +/// Container for enum describing possible negative geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NegativeGeoTargetTypeEnum { } /// Nested message and enum types in `NegativeGeoTargetTypeEnum`. pub mod negative_geo_target_type_enum { - /// The possible negative geo target types. + /// The possible negative geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NegativeGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that a user is excluded from seeing the ad if they - /// are in, or show interest in, advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in, or show interest in, advertiser's excluded locations. PresenceOrInterest = 4, - /// Specifies that a user is excluded from seeing the ad if they - /// are in advertiser's excluded locations. + /// Specifies that a user is excluded from seeing the ad if they + /// are in advertiser's excluded locations. Presence = 5, } impl NegativeGeoTargetType { @@ -12113,26 +12113,26 @@ pub mod negative_geo_target_type_enum { } } } -// Proto file describing offline user data job failure reasons. +// Proto file describing offline user data job failure reasons. -/// Container for enum describing reasons why an offline user data job -/// failed to be processed. +/// Container for enum describing reasons why an offline user data job +/// failed to be processed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobFailureReasonEnum { } /// Nested message and enum types in `OfflineUserDataJobFailureReasonEnum`. pub mod offline_user_data_job_failure_reason_enum { - /// The failure reason of an offline user data job. + /// The failure reason of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobFailureReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The matched transactions are insufficient. + /// The matched transactions are insufficient. InsufficientMatchedTransactions = 2, - /// The uploaded transactions are insufficient. + /// The uploaded transactions are insufficient. InsufficientTransactions = 3, } impl OfflineUserDataJobFailureReason { @@ -12150,39 +12150,39 @@ pub mod offline_user_data_job_failure_reason_enum { } } } -/// Container for enum describing reasons match rate ranges for a customer match -/// list upload. +/// Container for enum describing reasons match rate ranges for a customer match +/// list upload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMatchRateRangeEnum { } /// Nested message and enum types in `OfflineUserDataJobMatchRateRangeEnum`. pub mod offline_user_data_job_match_rate_range_enum { - /// The match rate range of an offline user data job. + /// The match rate range of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobMatchRateRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Default value for match rate range. + /// Default value for match rate range. Unknown = 1, - /// Match rate range for offline data upload entity is between 0% and 19%. + /// Match rate range for offline data upload entity is between 0% and 19%. MatchRangeLessThan20 = 2, - /// Match rate range for offline data upload entity is between 20% and 30%. + /// Match rate range for offline data upload entity is between 20% and 30%. MatchRange20To30 = 3, - /// Match rate range for offline data upload entity is between 31% and 40%. + /// Match rate range for offline data upload entity is between 31% and 40%. MatchRange31To40 = 4, - /// Match rate range for offline data upload entity is between 41% and 50%. + /// Match rate range for offline data upload entity is between 41% and 50%. MatchRange41To50 = 5, - /// Match rate range for offline data upload entity is between 51% and 60%. + /// Match rate range for offline data upload entity is between 51% and 60%. MatchRange51To60 = 6, - /// Match rate range for offline data upload entity is between 61% and 70%. + /// Match rate range for offline data upload entity is between 61% and 70%. MatchRange61To70 = 7, - /// Match rate range for offline data upload entity is between 71% and 80%. + /// Match rate range for offline data upload entity is between 71% and 80%. MatchRange71To80 = 8, - /// Match rate range for offline data upload entity is between 81% and 90%. + /// Match rate range for offline data upload entity is between 81% and 90%. MatchRange81To90 = 9, - /// Match rate range for offline data upload entity more than or equal to - /// 91%. + /// Match rate range for offline data upload entity more than or equal to + /// 91%. MatchRange91To100 = 10, } impl OfflineUserDataJobMatchRateRange { @@ -12207,29 +12207,29 @@ pub mod offline_user_data_job_match_rate_range_enum { } } } -// Proto file describing offline user data job status. +// Proto file describing offline user data job status. -/// Container for enum describing status of an offline user data job. +/// Container for enum describing status of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobStatusEnum { } /// Nested message and enum types in `OfflineUserDataJobStatusEnum`. pub mod offline_user_data_job_status_enum { - /// The status of an offline user data job. + /// The status of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The job has been successfully created and pending for uploading. + /// The job has been successfully created and pending for uploading. Pending = 2, - /// Upload(s) have been accepted and data is being processed. + /// Upload(s) have been accepted and data is being processed. Running = 3, - /// Uploaded data has been successfully processed. + /// Uploaded data has been successfully processed. Success = 4, - /// Uploaded data has failed to be processed. + /// Uploaded data has failed to be processed. Failed = 5, } impl OfflineUserDataJobStatus { @@ -12249,29 +12249,29 @@ pub mod offline_user_data_job_status_enum { } } } -// Proto file describing offline user data job types. +// Proto file describing offline user data job types. -/// Container for enum describing types of an offline user data job. +/// Container for enum describing types of an offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobTypeEnum { } /// Nested message and enum types in `OfflineUserDataJobTypeEnum`. pub mod offline_user_data_job_type_enum { - /// The type of an offline user data job. + /// The type of an offline user data job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Store Sales Direct data for self service. + /// Store Sales Direct data for self service. StoreSalesUploadFirstParty = 2, - /// Store Sales Direct data for third party. + /// Store Sales Direct data for third party. StoreSalesUploadThirdParty = 3, - /// Customer Match user list data. + /// Customer Match user list data. CustomerMatchUserList = 4, - /// Customer Match with attribute data. + /// Customer Match with attribute data. CustomerMatchWithAttributes = 5, } impl OfflineUserDataJobType { @@ -12291,25 +12291,25 @@ pub mod offline_user_data_job_type_enum { } } } -// Proto file describing operating system version operator types. +// Proto file describing operating system version operator types. -/// Container for enum describing the type of OS operators. +/// Container for enum describing the type of OS operators. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionOperatorTypeEnum { } /// Nested message and enum types in `OperatingSystemVersionOperatorTypeEnum`. pub mod operating_system_version_operator_type_enum { - /// The type of operating system version. + /// The type of operating system version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatingSystemVersionOperatorType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Equals to the specified version. + /// Equals to the specified version. EqualsTo = 2, - /// Greater than or equals to the specified version. + /// Greater than or equals to the specified version. GreaterThanEqualsTo = 4, } impl OperatingSystemVersionOperatorType { @@ -12327,32 +12327,32 @@ pub mod operating_system_version_operator_type_enum { } } } -// Proto file describing optimization goal type. +// Proto file describing optimization goal type. -/// Container for enum describing the type of optimization goal. +/// Container for enum describing the type of optimization goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalTypeEnum { } /// Nested message and enum types in `OptimizationGoalTypeEnum`. pub mod optimization_goal_type_enum { - /// The type of optimization goal + /// The type of optimization goal #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptimizationGoalType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// Optimize for call clicks. Call click conversions are times people - /// selected 'Call' to contact a store after viewing an ad. + /// Optimize for call clicks. Call click conversions are times people + /// selected 'Call' to contact a store after viewing an ad. CallClicks = 2, - /// Optimize for driving directions. Driving directions conversions are - /// times people selected 'Get directions' to navigate to a store after - /// viewing an ad. + /// Optimize for driving directions. Driving directions conversions are + /// times people selected 'Get directions' to navigate to a store after + /// viewing an ad. DrivingDirections = 3, - /// Optimize for pre-registration. Pre-registration conversions are the - /// number of pre-registration signups to receive a notification when the app - /// is released. + /// Optimize for pre-registration. Pre-registration conversions are the + /// number of pre-registration signups to receive a notification when the app + /// is released. AppPreRegistration = 4, } impl OptimizationGoalType { @@ -12371,37 +12371,37 @@ pub mod optimization_goal_type_enum { } } } -// Proto file describing payment modes. +// Proto file describing payment modes. -/// Container for enum describing possible payment modes. +/// Container for enum describing possible payment modes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentModeEnum { } /// Nested message and enum types in `PaymentModeEnum`. pub mod payment_mode_enum { - /// Enum describing possible payment modes. + /// Enum describing possible payment modes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Pay per click. + /// Pay per click. Clicks = 4, - /// Pay per conversion value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.HOTEL_ADS_COMMISSION. + /// Pay per conversion value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.HOTEL_ADS_COMMISSION. ConversionValue = 5, - /// Pay per conversion. This mode is only supported by campaigns with - /// AdvertisingChannelType.DISPLAY (excluding - /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, - /// and BudgetType.FIXED_CPA. The customer must also be eligible for this - /// mode. See Customer.eligibility_failure_reasons for details. + /// Pay per conversion. This mode is only supported by campaigns with + /// AdvertisingChannelType.DISPLAY (excluding + /// AdvertisingChannelSubType.DISPLAY_GMAIL), BiddingStrategyType.TARGET_CPA, + /// and BudgetType.FIXED_CPA. The customer must also be eligible for this + /// mode. See Customer.eligibility_failure_reasons for details. Conversions = 6, - /// Pay per guest stay value. This mode is only supported by campaigns with - /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and - /// BudgetType.STANDARD. + /// Pay per guest stay value. This mode is only supported by campaigns with + /// AdvertisingChannelType.HOTEL, BiddingStrategyType.COMMISSION, and + /// BudgetType.STANDARD. GuestStay = 7, } impl PaymentMode { @@ -12421,31 +12421,31 @@ pub mod payment_mode_enum { } } } -// Proto file describing placement types. +// Proto file describing placement types. -/// Container for enum describing possible placement types. +/// Container for enum describing possible placement types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacementTypeEnum { } /// Nested message and enum types in `PlacementTypeEnum`. pub mod placement_type_enum { - /// Possible placement types for a feed mapping. + /// Possible placement types for a feed mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PlacementType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Websites(e.g. 'www.flowers4sale.com'). + /// Websites(e.g. 'www.flowers4sale.com'). Website = 2, - /// Mobile application categories(e.g. 'Games'). + /// Mobile application categories(e.g. 'Games'). MobileAppCategory = 3, - /// mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). + /// mobile applications(e.g. 'mobileapp::2-com.whatsthewordanswers'). MobileApplication = 4, - /// YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). + /// YouTube videos(e.g. 'youtube.com/video/wtLJPvx7-ys'). YoutubeVideo = 5, - /// YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). + /// YouTube channels(e.g. 'youtube.com::L8ZULXASCc1I_oaOT0NaOQ'). YoutubeChannel = 6, } impl PlacementType { @@ -12466,32 +12466,32 @@ pub mod placement_type_enum { } } } -// Proto file describing positive geo target types. +// Proto file describing positive geo target types. -/// Container for enum describing possible positive geo target types. +/// Container for enum describing possible positive geo target types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositiveGeoTargetTypeEnum { } /// Nested message and enum types in `PositiveGeoTargetTypeEnum`. pub mod positive_geo_target_type_enum { - /// The possible positive geo target types. + /// The possible positive geo target types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PositiveGeoTargetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Specifies that an ad is triggered if the user is in, - /// or shows interest in, advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in, + /// or shows interest in, advertiser's targeted locations. PresenceOrInterest = 5, - /// Specifies that an ad is triggered if the user - /// searches for advertiser's targeted locations. - /// This can only be used with Search and standard - /// Shopping campaigns. + /// Specifies that an ad is triggered if the user + /// searches for advertiser's targeted locations. + /// This can only be used with Search and standard + /// Shopping campaigns. SearchInterest = 6, - /// Specifies that an ad is triggered if the user is in - /// or regularly in advertiser's targeted locations. + /// Specifies that an ad is triggered if the user is in + /// or regularly in advertiser's targeted locations. Presence = 7, } impl PositiveGeoTargetType { @@ -12510,164 +12510,164 @@ pub mod positive_geo_target_type_enum { } } } -// Proto file describing Price placeholder fields. +// Proto file describing Price placeholder fields. -/// Values for Price placeholder fields. +/// Values for Price placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricePlaceholderFieldEnum { } /// Nested message and enum types in `PricePlaceholderFieldEnum`. pub mod price_placeholder_field_enum { - /// Possible values for Price placeholder fields. + /// Possible values for Price placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PricePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The type of your price feed. Must match one of the - /// predefined price feed type exactly. + /// Data Type: STRING. The type of your price feed. Must match one of the + /// predefined price feed type exactly. Type = 2, - /// Data Type: STRING. The qualifier of each price. Must match one of the - /// predefined price qualifiers exactly. + /// Data Type: STRING. The qualifier of each price. Must match one of the + /// predefined price qualifiers exactly. PriceQualifier = 3, - /// Data Type: URL. Tracking template for the price feed when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the price feed when using Upgraded + /// URLs. TrackingTemplate = 4, - /// Data Type: STRING. Language of the price feed. Must match one of the - /// available available locale codes exactly. + /// Data Type: STRING. Language of the price feed. Must match one of the + /// available available locale codes exactly. Language = 5, - /// Data Type: STRING. Final URL suffix for the price feed when using - /// parallel tracking. + /// Data Type: STRING. Final URL suffix for the price feed when using + /// parallel tracking. FinalUrlSuffix = 6, - /// Data Type: STRING. The header of item 1 of the table. + /// Data Type: STRING. The header of item 1 of the table. Item1Header = 100, - /// Data Type: STRING. The description of item 1 of the table. + /// Data Type: STRING. The description of item 1 of the table. Item1Description = 101, - /// Data Type: MONEY. The price (money with currency) of item 1 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 1 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item1Price = 102, - /// Data Type: STRING. The price unit of item 1 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 1 of the table. Must match one + /// of the predefined price units. Item1Unit = 103, - /// Data Type: URL_LIST. The final URLs of item 1 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 1 of the table when using + /// Upgraded URLs. Item1FinalUrls = 104, - /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 1 of the table when + /// using Upgraded URLs. Item1FinalMobileUrls = 105, - /// Data Type: STRING. The header of item 2 of the table. + /// Data Type: STRING. The header of item 2 of the table. Item2Header = 200, - /// Data Type: STRING. The description of item 2 of the table. + /// Data Type: STRING. The description of item 2 of the table. Item2Description = 201, - /// Data Type: MONEY. The price (money with currency) of item 2 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 2 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item2Price = 202, - /// Data Type: STRING. The price unit of item 2 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 2 of the table. Must match one + /// of the predefined price units. Item2Unit = 203, - /// Data Type: URL_LIST. The final URLs of item 2 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 2 of the table when using + /// Upgraded URLs. Item2FinalUrls = 204, - /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 2 of the table when + /// using Upgraded URLs. Item2FinalMobileUrls = 205, - /// Data Type: STRING. The header of item 3 of the table. + /// Data Type: STRING. The header of item 3 of the table. Item3Header = 300, - /// Data Type: STRING. The description of item 3 of the table. + /// Data Type: STRING. The description of item 3 of the table. Item3Description = 301, - /// Data Type: MONEY. The price (money with currency) of item 3 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 3 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item3Price = 302, - /// Data Type: STRING. The price unit of item 3 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 3 of the table. Must match one + /// of the predefined price units. Item3Unit = 303, - /// Data Type: URL_LIST. The final URLs of item 3 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 3 of the table when using + /// Upgraded URLs. Item3FinalUrls = 304, - /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 3 of the table when + /// using Upgraded URLs. Item3FinalMobileUrls = 305, - /// Data Type: STRING. The header of item 4 of the table. + /// Data Type: STRING. The header of item 4 of the table. Item4Header = 400, - /// Data Type: STRING. The description of item 4 of the table. + /// Data Type: STRING. The description of item 4 of the table. Item4Description = 401, - /// Data Type: MONEY. The price (money with currency) of item 4 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 4 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item4Price = 402, - /// Data Type: STRING. The price unit of item 4 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 4 of the table. Must match one + /// of the predefined price units. Item4Unit = 403, - /// Data Type: URL_LIST. The final URLs of item 4 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 4 of the table when using + /// Upgraded URLs. Item4FinalUrls = 404, - /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 4 of the table when + /// using Upgraded URLs. Item4FinalMobileUrls = 405, - /// Data Type: STRING. The header of item 5 of the table. + /// Data Type: STRING. The header of item 5 of the table. Item5Header = 500, - /// Data Type: STRING. The description of item 5 of the table. + /// Data Type: STRING. The description of item 5 of the table. Item5Description = 501, - /// Data Type: MONEY. The price (money with currency) of item 5 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 5 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item5Price = 502, - /// Data Type: STRING. The price unit of item 5 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 5 of the table. Must match one + /// of the predefined price units. Item5Unit = 503, - /// Data Type: URL_LIST. The final URLs of item 5 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 5 of the table when using + /// Upgraded URLs. Item5FinalUrls = 504, - /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 5 of the table when + /// using Upgraded URLs. Item5FinalMobileUrls = 505, - /// Data Type: STRING. The header of item 6 of the table. + /// Data Type: STRING. The header of item 6 of the table. Item6Header = 600, - /// Data Type: STRING. The description of item 6 of the table. + /// Data Type: STRING. The description of item 6 of the table. Item6Description = 601, - /// Data Type: MONEY. The price (money with currency) of item 6 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 6 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item6Price = 602, - /// Data Type: STRING. The price unit of item 6 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 6 of the table. Must match one + /// of the predefined price units. Item6Unit = 603, - /// Data Type: URL_LIST. The final URLs of item 6 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 6 of the table when using + /// Upgraded URLs. Item6FinalUrls = 604, - /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 6 of the table when + /// using Upgraded URLs. Item6FinalMobileUrls = 605, - /// Data Type: STRING. The header of item 7 of the table. + /// Data Type: STRING. The header of item 7 of the table. Item7Header = 700, - /// Data Type: STRING. The description of item 7 of the table. + /// Data Type: STRING. The description of item 7 of the table. Item7Description = 701, - /// Data Type: MONEY. The price (money with currency) of item 7 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 7 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item7Price = 702, - /// Data Type: STRING. The price unit of item 7 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 7 of the table. Must match one + /// of the predefined price units. Item7Unit = 703, - /// Data Type: URL_LIST. The final URLs of item 7 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 7 of the table when using + /// Upgraded URLs. Item7FinalUrls = 704, - /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 7 of the table when + /// using Upgraded URLs. Item7FinalMobileUrls = 705, - /// Data Type: STRING. The header of item 8 of the table. + /// Data Type: STRING. The header of item 8 of the table. Item8Header = 800, - /// Data Type: STRING. The description of item 8 of the table. + /// Data Type: STRING. The description of item 8 of the table. Item8Description = 801, - /// Data Type: MONEY. The price (money with currency) of item 8 of the table, - /// e.g., 30 USD. The currency must match one of the available currencies. + /// Data Type: MONEY. The price (money with currency) of item 8 of the table, + /// e.g., 30 USD. The currency must match one of the available currencies. Item8Price = 802, - /// Data Type: STRING. The price unit of item 8 of the table. Must match one - /// of the predefined price units. + /// Data Type: STRING. The price unit of item 8 of the table. Must match one + /// of the predefined price units. Item8Unit = 803, - /// Data Type: URL_LIST. The final URLs of item 8 of the table when using - /// Upgraded URLs. + /// Data Type: URL_LIST. The final URLs of item 8 of the table when using + /// Upgraded URLs. Item8FinalUrls = 804, - /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when - /// using Upgraded URLs. + /// Data Type: URL_LIST. The final mobile URLs of item 8 of the table when + /// using Upgraded URLs. Item8FinalMobileUrls = 805, } impl PricePlaceholderField { @@ -12736,25 +12736,25 @@ pub mod price_placeholder_field_enum { } } } -// Proto file describing bidding schemes. +// Proto file describing bidding schemes. -/// Status of the product bidding category. +/// Status of the product bidding category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryStatusEnum { } /// Nested message and enum types in `ProductBiddingCategoryStatusEnum`. pub mod product_bidding_category_status_enum { - /// Enum describing the status of the product bidding category. + /// Enum describing the status of the product bidding category. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProductBiddingCategoryStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The category is active and can be used for bidding. + /// The category is active and can be used for bidding. Active = 2, - /// The category is obsolete. Used only for reporting purposes. + /// The category is obsolete. Used only for reporting purposes. Obsolete = 3, } impl ProductBiddingCategoryStatus { @@ -12772,58 +12772,58 @@ pub mod product_bidding_category_status_enum { } } } -// Proto file describing Promotion placeholder fields. +// Proto file describing Promotion placeholder fields. -/// Values for Promotion placeholder fields. +/// Values for Promotion placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromotionPlaceholderFieldEnum { } /// Nested message and enum types in `PromotionPlaceholderFieldEnum`. pub mod promotion_placeholder_field_enum { - /// Possible values for Promotion placeholder fields. + /// Possible values for Promotion placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The text that appears on the ad when the extension is - /// shown. + /// Data Type: STRING. The text that appears on the ad when the extension is + /// shown. PromotionTarget = 2, - /// Data Type: STRING. Allows you to add "up to" phrase to the promotion, - /// in case you have variable promotion rates. + /// Data Type: STRING. Allows you to add "up to" phrase to the promotion, + /// in case you have variable promotion rates. DiscountModifier = 3, - /// Data Type: INT64. Takes a value in micros, where 1 million micros - /// represents 1%, and is shown as a percentage when rendered. + /// Data Type: INT64. Takes a value in micros, where 1 million micros + /// represents 1%, and is shown as a percentage when rendered. PercentOff = 4, - /// Data Type: MONEY. Requires a currency and an amount of money. + /// Data Type: MONEY. Requires a currency and an amount of money. MoneyAmountOff = 5, - /// Data Type: STRING. A string that the user enters to get the discount. + /// Data Type: STRING. A string that the user enters to get the discount. PromotionCode = 6, - /// Data Type: MONEY. A minimum spend before the user qualifies for the - /// promotion. + /// Data Type: MONEY. A minimum spend before the user qualifies for the + /// promotion. OrdersOverAmount = 7, - /// Data Type: DATE. The start date of the promotion. + /// Data Type: DATE. The start date of the promotion. PromotionStart = 8, - /// Data Type: DATE. The end date of the promotion. + /// Data Type: DATE. The end date of the promotion. PromotionEnd = 9, - /// Data Type: STRING. Describes the associated event for the promotion using - /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. + /// Data Type: STRING. Describes the associated event for the promotion using + /// one of the PromotionExtensionOccasion enum values, for example NEW_YEARS. Occasion = 10, - /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs to be used in the ad when using Upgraded + /// URLs. FinalUrls = 11, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 12, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 13, - /// Data Type: STRING. A string represented by a language code for the - /// promotion. + /// Data Type: STRING. A string represented by a language code for the + /// promotion. Language = 14, - /// Data Type: STRING. Final URL suffix for the ad when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for the ad when using parallel + /// tracking. FinalUrlSuffix = 15, } impl PromotionPlaceholderField { @@ -12853,27 +12853,27 @@ pub mod promotion_placeholder_field_enum { } } } -// Proto file describing ad lengths of a plannable video ad. +// Proto file describing ad lengths of a plannable video ad. -/// Message describing length of a plannable video ad. +/// Message describing length of a plannable video ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAdLengthEnum { } /// Nested message and enum types in `ReachPlanAdLengthEnum`. pub mod reach_plan_ad_length_enum { - /// Possible ad length values. + /// Possible ad length values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAdLength { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// 6 seconds long ad. + /// 6 seconds long ad. SixSeconds = 2, - /// 15 or 20 seconds long ad. + /// 15 or 20 seconds long ad. FifteenOrTwentySeconds = 3, - /// More than 20 seconds long ad. + /// More than 20 seconds long ad. TwentySecondsOrMore = 4, } impl ReachPlanAdLength { @@ -12892,73 +12892,73 @@ pub mod reach_plan_ad_length_enum { } } } -// Proto file describing a plannable age range. +// Proto file describing a plannable age range. -/// Message describing plannable age ranges. +/// Message describing plannable age ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanAgeRangeEnum { } /// Nested message and enum types in `ReachPlanAgeRangeEnum`. pub mod reach_plan_age_range_enum { - /// Possible plannable age range values. + /// Possible plannable age range values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanAgeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The value is unknown in this version. + /// The value is unknown in this version. Unknown = 1, - /// Between 18 and 24 years old. + /// Between 18 and 24 years old. AgeRange1824 = 503001, - /// Between 18 and 34 years old. + /// Between 18 and 34 years old. AgeRange1834 = 2, - /// Between 18 and 44 years old. + /// Between 18 and 44 years old. AgeRange1844 = 3, - /// Between 18 and 49 years old. + /// Between 18 and 49 years old. AgeRange1849 = 4, - /// Between 18 and 54 years old. + /// Between 18 and 54 years old. AgeRange1854 = 5, - /// Between 18 and 64 years old. + /// Between 18 and 64 years old. AgeRange1864 = 6, - /// Between 18 and 65+ years old. + /// Between 18 and 65+ years old. AgeRange1865Up = 7, - /// Between 21 and 34 years old. + /// Between 21 and 34 years old. AgeRange2134 = 8, - /// Between 25 and 34 years old. + /// Between 25 and 34 years old. AgeRange2534 = 503002, - /// Between 25 and 44 years old. + /// Between 25 and 44 years old. AgeRange2544 = 9, - /// Between 25 and 49 years old. + /// Between 25 and 49 years old. AgeRange2549 = 10, - /// Between 25 and 54 years old. + /// Between 25 and 54 years old. AgeRange2554 = 11, - /// Between 25 and 64 years old. + /// Between 25 and 64 years old. AgeRange2564 = 12, - /// Between 25 and 65+ years old. + /// Between 25 and 65+ years old. AgeRange2565Up = 13, - /// Between 35 and 44 years old. + /// Between 35 and 44 years old. AgeRange3544 = 503003, - /// Between 35 and 49 years old. + /// Between 35 and 49 years old. AgeRange3549 = 14, - /// Between 35 and 54 years old. + /// Between 35 and 54 years old. AgeRange3554 = 15, - /// Between 35 and 64 years old. + /// Between 35 and 64 years old. AgeRange3564 = 16, - /// Between 35 and 65+ years old. + /// Between 35 and 65+ years old. AgeRange3565Up = 17, - /// Between 45 and 54 years old. + /// Between 45 and 54 years old. AgeRange4554 = 503004, - /// Between 45 and 64 years old. + /// Between 45 and 64 years old. AgeRange4564 = 18, - /// Between 45 and 65+ years old. + /// Between 45 and 65+ years old. AgeRange4565Up = 19, - /// Between 50 and 65+ years old. + /// Between 50 and 65+ years old. AgeRange5065Up = 20, - /// Between 55 and 64 years old. + /// Between 55 and 64 years old. AgeRange5564 = 503005, - /// Between 55 and 65+ years old. + /// Between 55 and 65+ years old. AgeRange5565Up = 21, - /// 65 years old and beyond. + /// 65 years old and beyond. AgeRange65Up = 503006, } impl ReachPlanAgeRange { @@ -13000,28 +13000,28 @@ pub mod reach_plan_age_range_enum { } } } -// Proto file describing a plannable network. +// Proto file describing a plannable network. -/// Container for enum describing plannable networks. +/// Container for enum describing plannable networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanNetworkEnum { } /// Nested message and enum types in `ReachPlanNetworkEnum`. pub mod reach_plan_network_enum { - /// Possible plannable network values. + /// Possible plannable network values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanNetwork { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used as a return value only. Represents value unknown in this version. + /// Used as a return value only. Represents value unknown in this version. Unknown = 1, - /// YouTube network. + /// YouTube network. Youtube = 2, - /// Google Video Partners (GVP) network. + /// Google Video Partners (GVP) network. GoogleVideoPartners = 3, - /// A combination of the YouTube network and the Google Video Partners - /// network. + /// A combination of the YouTube network and the Google Video Partners + /// network. YoutubeAndGoogleVideoPartners = 4, } impl ReachPlanNetwork { @@ -13040,74 +13040,74 @@ pub mod reach_plan_network_enum { } } } -// Proto file describing Real Estate placeholder fields. +// Proto file describing Real Estate placeholder fields. -/// Values for Real Estate placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Real Estate placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RealEstatePlaceholderFieldEnum { } /// Nested message and enum types in `RealEstatePlaceholderFieldEnum`. pub mod real_estate_placeholder_field_enum { - /// Possible values for Real Estate placeholder fields. + /// Possible values for Real Estate placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RealEstatePlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Unique ID. + /// Data Type: STRING. Unique ID. ListingId = 2, - /// Data Type: STRING. Main headline with listing name to be shown in dynamic - /// ad. + /// Data Type: STRING. Main headline with listing name to be shown in dynamic + /// ad. ListingName = 3, - /// Data Type: STRING. City name to be shown in dynamic ad. + /// Data Type: STRING. City name to be shown in dynamic ad. CityName = 4, - /// Data Type: STRING. Description of listing to be shown in dynamic ad. + /// Data Type: STRING. Description of listing to be shown in dynamic ad. Description = 5, - /// Data Type: STRING. Complete listing address, including postal code. + /// Data Type: STRING. Complete listing address, including postal code. Address = 6, - /// Data Type: STRING. Price to be shown in the ad. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 9, - /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used - /// to group like items together for recommendation engine. + /// Data Type: STRING. Type of property (house, condo, apartment, etc.) used + /// to group like items together for recommendation engine. PropertyType = 10, - /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) - /// used to group like items together for recommendation engine. + /// Data Type: STRING. Type of listing (resale, rental, foreclosure, etc.) + /// used to group like items together for recommendation engine. ListingType = 11, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 12, - /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded - /// URLs; the more specific the better (e.g. the individual URL of a specific - /// listing and its location). + /// Data Type: URL_LIST. Final URLs to be used in ad when using Upgraded + /// URLs; the more specific the better (e.g. the individual URL of a specific + /// listing and its location). FinalUrls = 13, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 14, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 15, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 16, - /// Data Type: STRING_LIST. List of recommended listing IDs to show together - /// with this item. + /// Data Type: STRING_LIST. List of recommended listing IDs to show together + /// with this item. SimilarListingIds = 17, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 18, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 19, } impl RealEstatePlaceholderField { @@ -13141,29 +13141,29 @@ pub mod real_estate_placeholder_field_enum { } } } -// Proto file describing the resource change operations in change event. +// Proto file describing the resource change operations in change event. -/// Container for enum describing resource change operations -/// in the ChangeEvent resource. +/// Container for enum describing resource change operations +/// in the ChangeEvent resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceChangeOperationEnum { } /// Nested message and enum types in `ResourceChangeOperationEnum`. pub mod resource_change_operation_enum { - /// The operation on the changed resource in change_event resource. + /// The operation on the changed resource in change_event resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceChangeOperation { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// The resource was created. + /// The resource was created. Create = 2, - /// The resource was modified. + /// The resource was modified. Update = 3, - /// The resource was removed. + /// The resource was removed. Remove = 4, } impl ResourceChangeOperation { @@ -13182,271 +13182,271 @@ pub mod resource_change_operation_enum { } } } -/// Container for enum describing possible resource limit types. +/// Container for enum describing possible resource limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceLimitTypeEnum { } /// Nested message and enum types in `ResourceLimitTypeEnum`. pub mod resource_limit_type_enum { - /// Resource limit type. + /// Resource limit type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceLimitType { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents an unclassified operation unknown - /// in this version. + /// Used for return value only. Represents an unclassified operation unknown + /// in this version. Unknown = 1, - /// Number of ENABLED and PAUSED campaigns per customer. + /// Number of ENABLED and PAUSED campaigns per customer. CampaignsPerCustomer = 2, - /// Number of ENABLED and PAUSED base campaigns per customer. + /// Number of ENABLED and PAUSED base campaigns per customer. BaseCampaignsPerCustomer = 3, - /// Number of ENABLED and PAUSED experiment campaigns per customer. + /// Number of ENABLED and PAUSED experiment campaigns per customer. ExperimentCampaignsPerCustomer = 105, - /// Number of ENABLED and PAUSED Hotel campaigns per customer. + /// Number of ENABLED and PAUSED Hotel campaigns per customer. HotelCampaignsPerCustomer = 4, - /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. + /// Number of ENABLED and PAUSED Smart Shopping campaigns per customer. SmartShoppingCampaignsPerCustomer = 5, - /// Number of ENABLED ad groups per campaign. + /// Number of ENABLED ad groups per campaign. AdGroupsPerCampaign = 6, - /// Number of ENABLED ad groups per Shopping campaign. + /// Number of ENABLED ad groups per Shopping campaign. AdGroupsPerShoppingCampaign = 8, - /// Number of ENABLED ad groups per Hotel campaign. + /// Number of ENABLED ad groups per Hotel campaign. AdGroupsPerHotelCampaign = 9, - /// Number of ENABLED reporting ad groups per local campaign. + /// Number of ENABLED reporting ad groups per local campaign. ReportingAdGroupsPerLocalCampaign = 10, - /// Number of ENABLED reporting ad groups per App campaign. It includes app - /// campaign and app campaign for engagement. + /// Number of ENABLED reporting ad groups per App campaign. It includes app + /// campaign and app campaign for engagement. ReportingAdGroupsPerAppCampaign = 11, - /// Number of ENABLED managed ad groups per smart campaign. + /// Number of ENABLED managed ad groups per smart campaign. ManagedAdGroupsPerSmartCampaign = 52, - /// Number of ENABLED ad group criteria per customer. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED - /// 3. its campaign is not REMOVED. + /// Number of ENABLED ad group criteria per customer. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED + /// 3. its campaign is not REMOVED. AdGroupCriteriaPerCustomer = 12, - /// Number of ad group criteria across all base campaigns for a customer. + /// Number of ad group criteria across all base campaigns for a customer. BaseAdGroupCriteriaPerCustomer = 13, - /// Number of ad group criteria across all experiment campaigns for a - /// customer. + /// Number of ad group criteria across all experiment campaigns for a + /// customer. ExperimentAdGroupCriteriaPerCustomer = 107, - /// Number of ENABLED ad group criteria per campaign. - /// An ad group criterion is considered as ENABLED if: - /// 1. it's not REMOVED - /// 2. its ad group is not REMOVED. + /// Number of ENABLED ad group criteria per campaign. + /// An ad group criterion is considered as ENABLED if: + /// 1. it's not REMOVED + /// 2. its ad group is not REMOVED. AdGroupCriteriaPerCampaign = 14, - /// Number of ENABLED campaign criteria per customer. + /// Number of ENABLED campaign criteria per customer. CampaignCriteriaPerCustomer = 15, - /// Number of ENABLED campaign criteria across all base campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all base campaigns for a + /// customer. BaseCampaignCriteriaPerCustomer = 16, - /// Number of ENABLED campaign criteria across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign criteria across all experiment campaigns for a + /// customer. ExperimentCampaignCriteriaPerCustomer = 108, - /// Number of ENABLED webpage criteria per customer, including - /// campaign level and ad group level. + /// Number of ENABLED webpage criteria per customer, including + /// campaign level and ad group level. WebpageCriteriaPerCustomer = 17, - /// Number of ENABLED webpage criteria across all base campaigns for - /// a customer. + /// Number of ENABLED webpage criteria across all base campaigns for + /// a customer. BaseWebpageCriteriaPerCustomer = 18, - /// Meximum number of ENABLED webpage criteria across all experiment - /// campaigns for a customer. + /// Meximum number of ENABLED webpage criteria across all experiment + /// campaigns for a customer. ExperimentWebpageCriteriaPerCustomer = 19, - /// Number of combined audience criteria per ad group. + /// Number of combined audience criteria per ad group. CombinedAudienceCriteriaPerAdGroup = 20, - /// Limit for placement criterion type group in customer negative criterion. + /// Limit for placement criterion type group in customer negative criterion. CustomerNegativePlacementCriteriaPerCustomer = 21, - /// Limit for YouTube TV channels in customer negative criterion. + /// Limit for YouTube TV channels in customer negative criterion. CustomerNegativeYoutubeChannelCriteriaPerCustomer = 22, - /// Number of ENABLED criteria per ad group. + /// Number of ENABLED criteria per ad group. CriteriaPerAdGroup = 23, - /// Number of listing group criteria per ad group. + /// Number of listing group criteria per ad group. ListingGroupsPerAdGroup = 24, - /// Number of ENABLED explicitly shared budgets per customer. + /// Number of ENABLED explicitly shared budgets per customer. ExplicitlySharedBudgetsPerCustomer = 25, - /// Number of ENABLED implicitly shared budgets per customer. + /// Number of ENABLED implicitly shared budgets per customer. ImplicitlySharedBudgetsPerCustomer = 26, - /// Number of combined audience criteria per campaign. + /// Number of combined audience criteria per campaign. CombinedAudienceCriteriaPerCampaign = 27, - /// Number of negative keywords per campaign. + /// Number of negative keywords per campaign. NegativeKeywordsPerCampaign = 28, - /// Number of excluded campaign criteria in placement dimension, e.g. - /// placement, mobile application, YouTube channel, etc. The API criterion - /// type is NOT limited to placement only, and this does not include - /// exclusions at the ad group or other levels. + /// Number of excluded campaign criteria in placement dimension, e.g. + /// placement, mobile application, YouTube channel, etc. The API criterion + /// type is NOT limited to placement only, and this does not include + /// exclusions at the ad group or other levels. NegativePlacementsPerCampaign = 29, - /// Number of geo targets per campaign. + /// Number of geo targets per campaign. GeoTargetsPerCampaign = 30, - /// Number of negative IP blocks per campaign. + /// Number of negative IP blocks per campaign. NegativeIpBlocksPerCampaign = 32, - /// Number of proximity targets per campaign. + /// Number of proximity targets per campaign. ProximitiesPerCampaign = 33, - /// Number of listing scopes per Shopping campaign. + /// Number of listing scopes per Shopping campaign. ListingScopesPerShoppingCampaign = 34, - /// Number of listing scopes per non-Shopping campaign. + /// Number of listing scopes per non-Shopping campaign. ListingScopesPerNonShoppingCampaign = 35, - /// Number of criteria per negative keyword shared set. + /// Number of criteria per negative keyword shared set. NegativeKeywordsPerSharedSet = 36, - /// Number of criteria per negative placement shared set. + /// Number of criteria per negative placement shared set. NegativePlacementsPerSharedSet = 37, - /// Default number of shared sets allowed per type per customer. + /// Default number of shared sets allowed per type per customer. SharedSetsPerCustomerForTypeDefault = 40, - /// Number of shared sets of negative placement list type for a - /// manager customer. + /// Number of shared sets of negative placement list type for a + /// manager customer. SharedSetsPerCustomerForNegativePlacementListLower = 41, - /// Number of hotel_advance_booking_window bid modifiers per ad group. + /// Number of hotel_advance_booking_window bid modifiers per ad group. HotelAdvanceBookingWindowBidModifiersPerAdGroup = 44, - /// Number of ENABLED shared bidding strategies per customer. + /// Number of ENABLED shared bidding strategies per customer. BiddingStrategiesPerCustomer = 45, - /// Number of open basic user lists per customer. + /// Number of open basic user lists per customer. BasicUserListsPerCustomer = 47, - /// Number of open logical user lists per customer. + /// Number of open logical user lists per customer. LogicalUserListsPerCustomer = 48, - /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a - /// customer. + /// Number of ENABLED and PAUSED ad group ads across all base campaigns for a + /// customer. BaseAdGroupAdsPerCustomer = 53, - /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns - /// for a customer. + /// Number of ENABLED and PAUSED ad group ads across all experiment campaigns + /// for a customer. ExperimentAdGroupAdsPerCustomer = 54, - /// Number of ENABLED and PAUSED ad group ads per campaign. + /// Number of ENABLED and PAUSED ad group ads per campaign. AdGroupAdsPerCampaign = 55, - /// Number of ENABLED ads per ad group that do not fall in to other buckets. - /// Includes text and many other types. + /// Number of ENABLED ads per ad group that do not fall in to other buckets. + /// Includes text and many other types. TextAndOtherAdsPerAdGroup = 56, - /// Number of ENABLED image ads per ad group. + /// Number of ENABLED image ads per ad group. ImageAdsPerAdGroup = 57, - /// Number of ENABLED shopping smart ads per ad group. + /// Number of ENABLED shopping smart ads per ad group. ShoppingSmartAdsPerAdGroup = 58, - /// Number of ENABLED responsive search ads per ad group. + /// Number of ENABLED responsive search ads per ad group. ResponsiveSearchAdsPerAdGroup = 59, - /// Number of ENABLED app ads per ad group. + /// Number of ENABLED app ads per ad group. AppAdsPerAdGroup = 60, - /// Number of ENABLED app engagement ads per ad group. + /// Number of ENABLED app engagement ads per ad group. AppEngagementAdsPerAdGroup = 61, - /// Number of ENABLED local ads per ad group. + /// Number of ENABLED local ads per ad group. LocalAdsPerAdGroup = 62, - /// Number of ENABLED video ads per ad group. + /// Number of ENABLED video ads per ad group. VideoAdsPerAdGroup = 63, - /// Number of ENABLED lead form CampaignAssets per campaign. + /// Number of ENABLED lead form CampaignAssets per campaign. LeadFormCampaignAssetsPerCampaign = 143, - /// Number of ENABLED promotion CustomerAssets per customer. + /// Number of ENABLED promotion CustomerAssets per customer. PromotionCustomerAssetsPerCustomer = 79, - /// Number of ENABLED promotion CampaignAssets per campaign. + /// Number of ENABLED promotion CampaignAssets per campaign. PromotionCampaignAssetsPerCampaign = 80, - /// Number of ENABLED promotion AdGroupAssets per ad group. + /// Number of ENABLED promotion AdGroupAssets per ad group. PromotionAdGroupAssetsPerAdGroup = 81, - /// Number of ENABLED callout CustomerAssets per customer. + /// Number of ENABLED callout CustomerAssets per customer. CalloutCustomerAssetsPerCustomer = 134, - /// Number of ENABLED callout CampaignAssets per campaign. + /// Number of ENABLED callout CampaignAssets per campaign. CalloutCampaignAssetsPerCampaign = 135, - /// Number of ENABLED callout AdGroupAssets per ad group. + /// Number of ENABLED callout AdGroupAssets per ad group. CalloutAdGroupAssetsPerAdGroup = 136, - /// Number of ENABLED sitelink CustomerAssets per customer. + /// Number of ENABLED sitelink CustomerAssets per customer. SitelinkCustomerAssetsPerCustomer = 137, - /// Number of ENABLED sitelink CampaignAssets per campaign. + /// Number of ENABLED sitelink CampaignAssets per campaign. SitelinkCampaignAssetsPerCampaign = 138, - /// Number of ENABLED sitelink AdGroupAssets per ad group. + /// Number of ENABLED sitelink AdGroupAssets per ad group. SitelinkAdGroupAssetsPerAdGroup = 139, - /// Number of ENABLED structured snippet CustomerAssets per customer. + /// Number of ENABLED structured snippet CustomerAssets per customer. StructuredSnippetCustomerAssetsPerCustomer = 140, - /// Number of ENABLED structured snippet CampaignAssets per campaign. + /// Number of ENABLED structured snippet CampaignAssets per campaign. StructuredSnippetCampaignAssetsPerCampaign = 141, - /// Number of ENABLED structured snippet AdGroupAssets per ad group. + /// Number of ENABLED structured snippet AdGroupAssets per ad group. StructuredSnippetAdGroupAssetsPerAdGroup = 142, - /// Number of ENABLED mobile app CustomerAssets per customer. + /// Number of ENABLED mobile app CustomerAssets per customer. MobileAppCustomerAssetsPerCustomer = 144, - /// Number of ENABLED mobile app CampaignAssets per campaign. + /// Number of ENABLED mobile app CampaignAssets per campaign. MobileAppCampaignAssetsPerCampaign = 145, - /// Number of ENABLED mobile app AdGroupAssets per ad group. + /// Number of ENABLED mobile app AdGroupAssets per ad group. MobileAppAdGroupAssetsPerAdGroup = 146, - /// Number of ENABLED hotel callout CustomerAssets per customer. + /// Number of ENABLED hotel callout CustomerAssets per customer. HotelCalloutCustomerAssetsPerCustomer = 147, - /// Number of ENABLED hotel callout CampaignAssets per campaign. + /// Number of ENABLED hotel callout CampaignAssets per campaign. HotelCalloutCampaignAssetsPerCampaign = 148, - /// Number of ENABLED hotel callout AdGroupAssets per ad group. + /// Number of ENABLED hotel callout AdGroupAssets per ad group. HotelCalloutAdGroupAssetsPerAdGroup = 149, - /// Number of ENABLED call CustomerAssets per customer. + /// Number of ENABLED call CustomerAssets per customer. CallCustomerAssetsPerCustomer = 150, - /// Number of ENABLED call CampaignAssets per campaign. + /// Number of ENABLED call CampaignAssets per campaign. CallCampaignAssetsPerCampaign = 151, - /// Number of ENABLED call AdGroupAssets per ad group. + /// Number of ENABLED call AdGroupAssets per ad group. CallAdGroupAssetsPerAdGroup = 152, - /// Number of ENABLED price CustomerAssets per customer. + /// Number of ENABLED price CustomerAssets per customer. PriceCustomerAssetsPerCustomer = 154, - /// Number of ENABLED price CampaignAssets per campaign. + /// Number of ENABLED price CampaignAssets per campaign. PriceCampaignAssetsPerCampaign = 155, - /// Number of ENABLED price AdGroupAssets per ad group. + /// Number of ENABLED price AdGroupAssets per ad group. PriceAdGroupAssetsPerAdGroup = 156, - /// Number of versions per ad. + /// Number of versions per ad. VersionsPerAd = 82, - /// Number of ENABLED user feeds per customer. + /// Number of ENABLED user feeds per customer. UserFeedsPerCustomer = 90, - /// Number of ENABLED system feeds per customer. + /// Number of ENABLED system feeds per customer. SystemFeedsPerCustomer = 91, - /// Number of feed attributes per feed. + /// Number of feed attributes per feed. FeedAttributesPerFeed = 92, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemsPerCustomer = 94, - /// Number of ENABLED campaign feeds per customer. + /// Number of ENABLED campaign feeds per customer. CampaignFeedsPerCustomer = 95, - /// Number of ENABLED campaign feeds across all base campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all base campaigns for a + /// customer. BaseCampaignFeedsPerCustomer = 96, - /// Number of ENABLED campaign feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED campaign feeds across all experiment campaigns for a + /// customer. ExperimentCampaignFeedsPerCustomer = 109, - /// Number of ENABLED ad group feeds per customer. + /// Number of ENABLED ad group feeds per customer. AdGroupFeedsPerCustomer = 97, - /// Number of ENABLED ad group feeds across all base campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all base campaigns for a + /// customer. BaseAdGroupFeedsPerCustomer = 98, - /// Number of ENABLED ad group feeds across all experiment campaigns for a - /// customer. + /// Number of ENABLED ad group feeds across all experiment campaigns for a + /// customer. ExperimentAdGroupFeedsPerCustomer = 110, - /// Number of ENABLED ad group feeds per campaign. + /// Number of ENABLED ad group feeds per campaign. AdGroupFeedsPerCampaign = 99, - /// Number of ENABLED feed items per customer. + /// Number of ENABLED feed items per customer. FeedItemSetsPerCustomer = 100, - /// Number of feed items per feed item set. + /// Number of feed items per feed item set. FeedItemsPerFeedItemSet = 101, - /// Number of ENABLED campaign experiments per customer. + /// Number of ENABLED campaign experiments per customer. CampaignExperimentsPerCustomer = 112, - /// Number of video experiment arms per experiment. + /// Number of video experiment arms per experiment. ExperimentArmsPerVideoExperiment = 113, - /// Number of owned labels per customer. + /// Number of owned labels per customer. OwnedLabelsPerCustomer = 115, - /// Number of applied labels per campaign. + /// Number of applied labels per campaign. LabelsPerCampaign = 117, - /// Number of applied labels per ad group. + /// Number of applied labels per ad group. LabelsPerAdGroup = 118, - /// Number of applied labels per ad group ad. + /// Number of applied labels per ad group ad. LabelsPerAdGroupAd = 119, - /// Number of applied labels per ad group criterion. + /// Number of applied labels per ad group criterion. LabelsPerAdGroupCriterion = 120, - /// Number of customers with a single label applied. + /// Number of customers with a single label applied. TargetCustomersPerLabel = 121, - /// Number of ENABLED keyword plans per user per customer. - /// The limit is applied per pair because by default a plan - /// is private to a user of a customer. Each user of a customer has his or - /// her own independent limit. + /// Number of ENABLED keyword plans per user per customer. + /// The limit is applied per pair because by default a plan + /// is private to a user of a customer. Each user of a customer has his or + /// her own independent limit. KeywordPlansPerUserPerCustomer = 122, - /// Number of keyword plan ad group keywords per keyword plan. + /// Number of keyword plan ad group keywords per keyword plan. KeywordPlanAdGroupKeywordsPerKeywordPlan = 123, - /// Number of keyword plan ad groups per keyword plan. + /// Number of keyword plan ad groups per keyword plan. KeywordPlanAdGroupsPerKeywordPlan = 124, - /// Number of keyword plan negative keywords (both campaign and ad group) per - /// keyword plan. + /// Number of keyword plan negative keywords (both campaign and ad group) per + /// keyword plan. KeywordPlanNegativeKeywordsPerKeywordPlan = 125, - /// Number of keyword plan campaigns per keyword plan. + /// Number of keyword plan campaigns per keyword plan. KeywordPlanCampaignsPerKeywordPlan = 126, - /// Number of ENABLED conversion actions per customer. + /// Number of ENABLED conversion actions per customer. ConversionActionsPerCustomer = 128, - /// Number of operations in a single batch job. + /// Number of operations in a single batch job. BatchJobOperationsPerJob = 130, - /// Number of PENDING or ENABLED batch jobs per customer. + /// Number of PENDING or ENABLED batch jobs per customer. BatchJobsPerCustomer = 131, - /// Number of hotel check-in date range bid modifiers per ad agroup. + /// Number of hotel check-in date range bid modifiers per ad agroup. HotelCheckInDateRangeBidModifiersPerAdGroup = 132, } impl ResourceLimitType { @@ -13573,24 +13573,24 @@ pub mod resource_limit_type_enum { } } } -// Proto file describing the response content types used in mutate operations. +// Proto file describing the response content types used in mutate operations. -/// Container for possible response content types. +/// Container for possible response content types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseContentTypeEnum { } /// Nested message and enum types in `ResponseContentTypeEnum`. pub mod response_content_type_enum { - /// Possible response content types. + /// Possible response content types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResponseContentType { - /// Not specified. Will return the resource name only in the response. + /// Not specified. Will return the resource name only in the response. Unspecified = 0, - /// The mutate response will be the resource name. + /// The mutate response will be the resource name. ResourceNameOnly = 1, - /// The mutate response will be the resource name and the resource with - /// all mutable fields. + /// The mutate response will be the resource name and the resource with + /// all mutable fields. MutableResource = 2, } impl ResponseContentType { @@ -13607,31 +13607,31 @@ pub mod response_content_type_enum { } } } -// Proto file describing search term targeting statuses. +// Proto file describing search term targeting statuses. -/// Container for enum indicating whether a search term is one of your targeted -/// or excluded keywords. +/// Container for enum indicating whether a search term is one of your targeted +/// or excluded keywords. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermTargetingStatusEnum { } /// Nested message and enum types in `SearchTermTargetingStatusEnum`. pub mod search_term_targeting_status_enum { - /// Indicates whether the search term is one of your targeted or excluded - /// keywords. + /// Indicates whether the search term is one of your targeted or excluded + /// keywords. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchTermTargetingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Search term is added to targeted keywords. + /// Search term is added to targeted keywords. Added = 2, - /// Search term matches a negative keyword. + /// Search term matches a negative keyword. Excluded = 3, - /// Search term has been both added and excluded. + /// Search term has been both added and excluded. AddedExcluded = 4, - /// Search term is neither targeted nor excluded. + /// Search term is neither targeted nor excluded. None = 5, } impl SearchTermTargetingStatus { @@ -13651,33 +13651,33 @@ pub mod search_term_targeting_status_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event scopes. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event scopes. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventScopeEnum { } /// Nested message and enum types in `SeasonalityEventScopeEnum`. pub mod seasonality_event_scope_enum { - /// The possible scopes of a Seasonality Event. + /// The possible scopes of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventScope { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is applied to all the customer’s traffic for - /// supported advertising channel types and device types. The CUSTOMER scope - /// cannot be used in mutates. + /// The seasonality event is applied to all the customer’s traffic for + /// supported advertising channel types and device types. The CUSTOMER scope + /// cannot be used in mutates. Customer = 2, - /// The seasonality event is applied to all specified campaigns. + /// The seasonality event is applied to all specified campaigns. Campaign = 4, - /// The seasonality event is applied to all campaigns that belong to - /// specified channel types. + /// The seasonality event is applied to all campaigns that belong to + /// specified channel types. Channel = 5, } impl SeasonalityEventScope { @@ -13696,28 +13696,28 @@ pub mod seasonality_event_scope_enum { } } } -// Proto file describing seasonality event status. +// Proto file describing seasonality event status. -/// Message describing seasonality event statuses. The two types of seasonality -/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. +/// Message describing seasonality event statuses. The two types of seasonality +/// events are BiddingSeasonalityAdjustments and BiddingDataExclusions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SeasonalityEventStatusEnum { } /// Nested message and enum types in `SeasonalityEventStatusEnum`. pub mod seasonality_event_status_enum { - /// The possible statuses of a Seasonality Event. + /// The possible statuses of a Seasonality Event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SeasonalityEventStatus { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// The received value is not known in this version. + /// The received value is not known in this version. /// - /// This is a response-only value. + /// This is a response-only value. Unknown = 1, - /// The seasonality event is enabled. + /// The seasonality event is enabled. Enabled = 2, - /// The seasonality event is removed. + /// The seasonality event is removed. Removed = 4, } impl SeasonalityEventStatus { @@ -13735,25 +13735,25 @@ pub mod seasonality_event_status_enum { } } } -// Proto file describing shared set statuses. +// Proto file describing shared set statuses. -/// Container for enum describing types of shared set statuses. +/// Container for enum describing types of shared set statuses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetStatusEnum { } /// Nested message and enum types in `SharedSetStatusEnum`. pub mod shared_set_status_enum { - /// Enum listing the possible shared set statuses. + /// Enum listing the possible shared set statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The shared set is enabled. + /// The shared set is enabled. Enabled = 2, - /// The shared set is removed and can no longer be used. + /// The shared set is removed and can no longer be used. Removed = 3, } impl SharedSetStatus { @@ -13771,25 +13771,25 @@ pub mod shared_set_status_enum { } } } -// Proto file describing shared set types. +// Proto file describing shared set types. -/// Container for enum describing types of shared sets. +/// Container for enum describing types of shared sets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetTypeEnum { } /// Nested message and enum types in `SharedSetTypeEnum`. pub mod shared_set_type_enum { - /// Enum listing the possible shared set types. + /// Enum listing the possible shared set types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// A set of keywords that can be excluded from targeting. + /// A set of keywords that can be excluded from targeting. NegativeKeywords = 2, - /// A set of placements that can be excluded from targeting. + /// A set of placements that can be excluded from targeting. NegativePlacements = 3, } impl SharedSetType { @@ -13807,33 +13807,33 @@ pub mod shared_set_type_enum { } } } -// Proto file describing simulation modification methods. +// Proto file describing simulation modification methods. -/// Container for enum describing the method by which a simulation modifies -/// a field. +/// Container for enum describing the method by which a simulation modifies +/// a field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationModificationMethodEnum { } /// Nested message and enum types in `SimulationModificationMethodEnum`. pub mod simulation_modification_method_enum { - /// Enum describing the method by which a simulation modifies a field. + /// Enum describing the method by which a simulation modifies a field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationModificationMethod { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The values in a simulation were applied to all children of a given - /// resource uniformly. Overrides on child resources were not respected. + /// The values in a simulation were applied to all children of a given + /// resource uniformly. Overrides on child resources were not respected. Uniform = 2, - /// The values in a simulation were applied to the given resource. - /// Overrides on child resources were respected, and traffic estimates - /// do not include these resources. + /// The values in a simulation were applied to the given resource. + /// Overrides on child resources were respected, and traffic estimates + /// do not include these resources. Default = 3, - /// The values in a simulation were all scaled by the same factor. - /// For example, in a simulated TargetCpa campaign, the campaign target and - /// all ad group targets were scaled by a factor of X. + /// The values in a simulation were all scaled by the same factor. + /// For example, in a simulated TargetCpa campaign, the campaign target and + /// all ad group targets were scaled by a factor of X. Scaling = 4, } impl SimulationModificationMethod { @@ -13852,37 +13852,37 @@ pub mod simulation_modification_method_enum { } } } -// Proto file describing simulation types. +// Proto file describing simulation types. -/// Container for enum describing the field a simulation modifies. +/// Container for enum describing the field a simulation modifies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulationTypeEnum { } /// Nested message and enum types in `SimulationTypeEnum`. pub mod simulation_type_enum { - /// Enum describing the field a simulation modifies. + /// Enum describing the field a simulation modifies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SimulationType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The simulation is for a CPC bid. + /// The simulation is for a CPC bid. CpcBid = 2, - /// The simulation is for a CPV bid. + /// The simulation is for a CPV bid. CpvBid = 3, - /// The simulation is for a CPA target. + /// The simulation is for a CPA target. TargetCpa = 4, - /// The simulation is for a bid modifier. + /// The simulation is for a bid modifier. BidModifier = 5, - /// The simulation is for a ROAS target. + /// The simulation is for a ROAS target. TargetRoas = 6, - /// The simulation is for a percent CPC bid. + /// The simulation is for a percent CPC bid. PercentCpcBid = 7, - /// The simulation is for an impression share target. + /// The simulation is for an impression share target. TargetImpressionShare = 8, - /// The simulation is for a budget. + /// The simulation is for a budget. Budget = 9, } impl SimulationType { @@ -13906,39 +13906,39 @@ pub mod simulation_type_enum { } } } -// Proto file describing Sitelink placeholder fields. +// Proto file describing Sitelink placeholder fields. -/// Values for Sitelink placeholder fields. +/// Values for Sitelink placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkPlaceholderFieldEnum { } /// Nested message and enum types in `SitelinkPlaceholderFieldEnum`. pub mod sitelink_placeholder_field_enum { - /// Possible values for Sitelink placeholder fields. + /// Possible values for Sitelink placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SitelinkPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The link text for your sitelink. + /// Data Type: STRING. The link text for your sitelink. Text = 2, - /// Data Type: STRING. First line of the sitelink description. + /// Data Type: STRING. First line of the sitelink description. Line1 = 3, - /// Data Type: STRING. Second line of the sitelink description. + /// Data Type: STRING. Second line of the sitelink description. Line2 = 4, - /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final URLs for the sitelink when using Upgraded + /// URLs. FinalUrls = 5, - /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using - /// Upgraded URLs. + /// Data Type: URL_LIST. Final Mobile URLs for the sitelink when using + /// Upgraded URLs. FinalMobileUrls = 6, - /// Data Type: URL. Tracking template for the sitelink when using Upgraded - /// URLs. + /// Data Type: URL. Tracking template for the sitelink when using Upgraded + /// URLs. TrackingUrl = 7, - /// Data Type: STRING. Final URL suffix for sitelink when using parallel - /// tracking. + /// Data Type: STRING. Final URL suffix for sitelink when using parallel + /// tracking. FinalUrlSuffix = 8, } impl SitelinkPlaceholderField { @@ -13961,24 +13961,24 @@ pub mod sitelink_placeholder_field_enum { } } } -// Proto file describing SpendingLimit types. +// Proto file describing SpendingLimit types. -/// Message describing spending limit types. +/// Message describing spending limit types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpendingLimitTypeEnum { } /// Nested message and enum types in `SpendingLimitTypeEnum`. pub mod spending_limit_type_enum { - /// The possible spending limit types used by certain resources as an - /// alternative to absolute money values in micros. + /// The possible spending limit types used by certain resources as an + /// alternative to absolute money values in micros. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SpendingLimitType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Infinite, indicates unlimited spending power. + /// Infinite, indicates unlimited spending power. Infinite = 2, } impl SpendingLimitType { @@ -13995,30 +13995,30 @@ pub mod spending_limit_type_enum { } } } -// Proto file describing Structured Snippet placeholder fields. +// Proto file describing Structured Snippet placeholder fields. -/// Values for Structured Snippet placeholder fields. +/// Values for Structured Snippet placeholder fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructuredSnippetPlaceholderFieldEnum { } /// Nested message and enum types in `StructuredSnippetPlaceholderFieldEnum`. pub mod structured_snippet_placeholder_field_enum { - /// Possible values for Structured Snippet placeholder fields. + /// Possible values for Structured Snippet placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StructuredSnippetPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. The category of snippet of your products/services. - /// Must match exactly one of the predefined structured snippets headers. - /// For a list, visit - /// + /// Data Type: STRING. The category of snippet of your products/services. + /// Must match exactly one of the predefined structured snippets headers. + /// For a list, visit + /// Header = 2, - /// Data Type: STRING_LIST. Text values that describe your products/services. - /// All text must be family safe. Special or non-ASCII characters are not - /// permitted. A snippet can be at most 25 characters. + /// Data Type: STRING_LIST. Text values that describe your products/services. + /// All text must be family safe. Special or non-ASCII characters are not + /// permitted. A snippet can be at most 25 characters. Snippets = 3, } impl StructuredSnippetPlaceholderField { @@ -14036,28 +14036,28 @@ pub mod structured_snippet_placeholder_field_enum { } } } -// Proto file describing summary row setting. +// Proto file describing summary row setting. -/// Indicates summary row setting in request parameter. +/// Indicates summary row setting in request parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SummaryRowSettingEnum { } /// Nested message and enum types in `SummaryRowSettingEnum`. pub mod summary_row_setting_enum { - /// Enum describing return summary row settings. + /// Enum describing return summary row settings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SummaryRowSetting { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Represent unknown values of return summary row. + /// Represent unknown values of return summary row. Unknown = 1, - /// Do not return summary row. + /// Do not return summary row. NoSummaryRow = 2, - /// Return summary row along with results. The summary row will be returned - /// in the last batch alone (last batch will contain no results). + /// Return summary row along with results. The summary row will be returned + /// in the last batch alone (last batch will contain no results). SummaryRowWithResults = 3, - /// Return summary row only and return no results. + /// Return summary row only and return no results. SummaryRowOnly = 4, } impl SummaryRowSetting { @@ -14076,23 +14076,23 @@ pub mod summary_row_setting_enum { } } } -// Proto file describing system managed entity sources. +// Proto file describing system managed entity sources. -/// Container for enum describing possible system managed entity sources. +/// Container for enum describing possible system managed entity sources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemManagedResourceSourceEnum { } /// Nested message and enum types in `SystemManagedResourceSourceEnum`. pub mod system_managed_resource_source_enum { - /// Enum listing the possible system managed entity sources. + /// Enum listing the possible system managed entity sources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SystemManagedResourceSource { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Generated ad variations experiment ad. + /// Generated ad variations experiment ad. AdVariations = 2, } impl SystemManagedResourceSource { @@ -14109,30 +14109,30 @@ pub mod system_managed_resource_source_enum { } } } -// Proto file describing TargetCpaOptIn recommendation goals. +// Proto file describing TargetCpaOptIn recommendation goals. -/// Container for enum describing goals for TargetCpaOptIn recommendation. +/// Container for enum describing goals for TargetCpaOptIn recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationGoalEnum { } /// Nested message and enum types in `TargetCpaOptInRecommendationGoalEnum`. pub mod target_cpa_opt_in_recommendation_goal_enum { - /// Goal of TargetCpaOptIn recommendation. + /// Goal of TargetCpaOptIn recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetCpaOptInRecommendationGoal { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Recommendation to set Target CPA to maintain the same cost. + /// Recommendation to set Target CPA to maintain the same cost. SameCost = 2, - /// Recommendation to set Target CPA to maintain the same conversions. + /// Recommendation to set Target CPA to maintain the same conversions. SameConversions = 3, - /// Recommendation to set Target CPA to maintain the same CPA. + /// Recommendation to set Target CPA to maintain the same CPA. SameCpa = 4, - /// Recommendation to set Target CPA to a value that is as close as possible - /// to, yet lower than, the actual CPA (computed for past 28 days). + /// Recommendation to set Target CPA to a value that is as close as possible + /// to, yet lower than, the actual CPA (computed for past 28 days). ClosestCpa = 5, } impl TargetCpaOptInRecommendationGoal { @@ -14152,26 +14152,26 @@ pub mod target_cpa_opt_in_recommendation_goal_enum { } } } -// Proto file describing TimeType types. +// Proto file describing TimeType types. -/// Message describing time types. +/// Message describing time types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeTypeEnum { } /// Nested message and enum types in `TimeTypeEnum`. pub mod time_type_enum { - /// The possible time types used by certain resources as an alternative to - /// absolute timestamps. + /// The possible time types used by certain resources as an alternative to + /// absolute timestamps. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// As soon as possible. + /// As soon as possible. Now = 2, - /// An infinite point in the future. + /// An infinite point in the future. Forever = 3, } impl TimeType { @@ -14189,85 +14189,85 @@ pub mod time_type_enum { } } } -// Proto file describing Travel placeholder fields. +// Proto file describing Travel placeholder fields. -/// Values for Travel placeholder fields. -/// For more information about dynamic remarketing feeds, see -/// +/// Values for Travel placeholder fields. +/// For more information about dynamic remarketing feeds, see +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TravelPlaceholderFieldEnum { } /// Nested message and enum types in `TravelPlaceholderFieldEnum`. pub mod travel_placeholder_field_enum { - /// Possible values for Travel placeholder fields. + /// Possible values for Travel placeholder fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TravelPlaceholderField { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Data Type: STRING. Required. Destination id. Example: PAR, LON. - /// For feed items that only have destination id, destination id must be a - /// unique key. For feed items that have both destination id and origin id, - /// then the combination must be a unique key. + /// Data Type: STRING. Required. Destination id. Example: PAR, LON. + /// For feed items that only have destination id, destination id must be a + /// unique key. For feed items that have both destination id and origin id, + /// then the combination must be a unique key. DestinationId = 2, - /// Data Type: STRING. Origin id. Example: PAR, LON. - /// Combination of DESTINATION_ID and ORIGIN_ID must be - /// unique per offer. + /// Data Type: STRING. Origin id. Example: PAR, LON. + /// Combination of DESTINATION_ID and ORIGIN_ID must be + /// unique per offer. OriginId = 3, - /// Data Type: STRING. Required. Main headline with name to be shown in - /// dynamic ad. + /// Data Type: STRING. Required. Main headline with name to be shown in + /// dynamic ad. Title = 4, - /// Data Type: STRING. The destination name. Shorter names are recommended. + /// Data Type: STRING. The destination name. Shorter names are recommended. DestinationName = 5, - /// Data Type: STRING. Origin name. Shorter names are recommended. + /// Data Type: STRING. Origin name. Shorter names are recommended. OriginName = 6, - /// Data Type: STRING. Price to be shown in the ad. Highly recommended for - /// dynamic ads. - /// Example: "100.00 USD" + /// Data Type: STRING. Price to be shown in the ad. Highly recommended for + /// dynamic ads. + /// Example: "100.00 USD" Price = 7, - /// Data Type: STRING. Formatted price to be shown in the ad. - /// Example: "Starting at $100.00 USD", "$80 - $100" + /// Data Type: STRING. Formatted price to be shown in the ad. + /// Example: "Starting at $100.00 USD", "$80 - $100" FormattedPrice = 8, - /// Data Type: STRING. Sale price to be shown in the ad. - /// Example: "80.00 USD" + /// Data Type: STRING. Sale price to be shown in the ad. + /// Example: "80.00 USD" SalePrice = 9, - /// Data Type: STRING. Formatted sale price to be shown in the ad. - /// Example: "On sale for $80.00", "$60 - $80" + /// Data Type: STRING. Formatted sale price to be shown in the ad. + /// Example: "On sale for $80.00", "$60 - $80" FormattedSalePrice = 10, - /// Data Type: URL. Image to be displayed in the ad. + /// Data Type: URL. Image to be displayed in the ad. ImageUrl = 11, - /// Data Type: STRING. Category of travel offer used to group like items - /// together for recommendation engine. + /// Data Type: STRING. Category of travel offer used to group like items + /// together for recommendation engine. Category = 12, - /// Data Type: STRING_LIST. Keywords used for product retrieval. + /// Data Type: STRING_LIST. Keywords used for product retrieval. ContextualKeywords = 13, - /// Data Type: STRING. Address of travel offer, including postal code. + /// Data Type: STRING. Address of travel offer, including postal code. DestinationAddress = 14, - /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using - /// Upgraded URLs; the more specific the better (e.g. the individual URL of a - /// specific travel offer and its location). + /// Data Type: URL_LIST. Required. Final URLs to be used in ad, when using + /// Upgraded URLs; the more specific the better (e.g. the individual URL of a + /// specific travel offer and its location). FinalUrl = 15, - /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded - /// URLs. + /// Data Type: URL_LIST. Final mobile URLs for the ad when using Upgraded + /// URLs. FinalMobileUrls = 16, - /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. + /// Data Type: URL. Tracking template for the ad when using Upgraded URLs. TrackingUrl = 17, - /// Data Type: STRING. Android app link. Must be formatted as: - /// android-app://{package_id}/{scheme}/{host_path}. - /// The components are defined as follows: - /// package_id: app ID as specified in Google Play. - /// scheme: the scheme to pass to the application. Can be HTTP, or a custom + /// Data Type: STRING. Android app link. Must be formatted as: + /// android-app://{package_id}/{scheme}/{host_path}. + /// The components are defined as follows: + /// package_id: app ID as specified in Google Play. + /// scheme: the scheme to pass to the application. Can be HTTP, or a custom /// scheme. - /// host_path: identifies the specific content within your application. + /// host_path: identifies the specific content within your application. AndroidAppLink = 18, - /// Data Type: STRING_LIST. List of recommended destination IDs to show - /// together with this item. + /// Data Type: STRING_LIST. List of recommended destination IDs to show + /// together with this item. SimilarDestinationIds = 19, - /// Data Type: STRING. iOS app link. + /// Data Type: STRING. iOS app link. IosAppLink = 20, - /// Data Type: INT64. iOS app store ID. + /// Data Type: INT64. iOS app store ID. IosAppStoreId = 21, } impl TravelPlaceholderField { @@ -14303,31 +14303,31 @@ pub mod travel_placeholder_field_enum { } } } -// Proto file describing the UserInterest taxonomy type +// Proto file describing the UserInterest taxonomy type -/// Message describing a UserInterestTaxonomyType. +/// Message describing a UserInterestTaxonomyType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterestTaxonomyTypeEnum { } /// Nested message and enum types in `UserInterestTaxonomyTypeEnum`. pub mod user_interest_taxonomy_type_enum { - /// Enum containing the possible UserInterestTaxonomyTypes. + /// Enum containing the possible UserInterestTaxonomyTypes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserInterestTaxonomyType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The affinity for this user interest. + /// The affinity for this user interest. Affinity = 2, - /// The market for this user interest. + /// The market for this user interest. InMarket = 3, - /// Users known to have installed applications in the specified categories. + /// Users known to have installed applications in the specified categories. MobileAppInstallUser = 4, - /// The geographical location of the interest-based vertical. + /// The geographical location of the interest-based vertical. VerticalGeo = 5, - /// User interest criteria for new smart phone users. + /// User interest criteria for new smart phone users. NewSmartPhoneUser = 6, } impl UserInterestTaxonomyType { @@ -14348,25 +14348,25 @@ pub mod user_interest_taxonomy_type_enum { } } } -// Proto file describing user list access status. +// Proto file describing user list access status. -/// Indicates if this client still has access to the list. +/// Indicates if this client still has access to the list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListAccessStatusEnum { } /// Nested message and enum types in `UserListAccessStatusEnum`. pub mod user_list_access_status_enum { - /// Enum containing possible user list access statuses. + /// Enum containing possible user list access statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListAccessStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The access is enabled. + /// The access is enabled. Enabled = 2, - /// The access is disabled. + /// The access is disabled. Disabled = 3, } impl UserListAccessStatus { @@ -14384,24 +14384,24 @@ pub mod user_list_access_status_enum { } } } -// Proto file describing user list closing reason. +// Proto file describing user list closing reason. -/// Indicates the reason why the userlist was closed. -/// This enum is only used when a list is auto-closed by the system. +/// Indicates the reason why the userlist was closed. +/// This enum is only used when a list is auto-closed by the system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListClosingReasonEnum { } /// Nested message and enum types in `UserListClosingReasonEnum`. pub mod user_list_closing_reason_enum { - /// Enum describing possible user list closing reasons. + /// Enum describing possible user list closing reasons. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListClosingReason { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// The userlist was closed because of not being used for over one year. + /// The userlist was closed because of not being used for over one year. Unused = 2, } impl UserListClosingReason { @@ -14418,27 +14418,27 @@ pub mod user_list_closing_reason_enum { } } } -// Proto file describing user list membership status. +// Proto file describing user list membership status. -/// Membership status of this user list. Indicates whether a user list is open -/// or active. Only open user lists can accumulate more users and can be used for -/// targeting. +/// Membership status of this user list. Indicates whether a user list is open +/// or active. Only open user lists can accumulate more users and can be used for +/// targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListMembershipStatusEnum { } /// Nested message and enum types in `UserListMembershipStatusEnum`. pub mod user_list_membership_status_enum { - /// Enum containing possible user list membership statuses. + /// Enum containing possible user list membership statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListMembershipStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Open status - List is accruing members and can be targeted to. + /// Open status - List is accruing members and can be targeted to. Open = 2, - /// Closed status - No new members being added. Cannot be used for targeting. + /// Closed status - No new members being added. Cannot be used for targeting. Closed = 3, } impl UserListMembershipStatus { @@ -14456,53 +14456,53 @@ pub mod user_list_membership_status_enum { } } } -// Proto file describing user list size range. +// Proto file describing user list size range. -/// Size range in terms of number of users of a UserList. +/// Size range in terms of number of users of a UserList. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListSizeRangeEnum { } /// Nested message and enum types in `UserListSizeRangeEnum`. pub mod user_list_size_range_enum { - /// Enum containing possible user list size ranges. + /// Enum containing possible user list size ranges. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListSizeRange { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// User list has less than 500 users. + /// User list has less than 500 users. LessThanFiveHundred = 2, - /// User list has number of users in range of 500 to 1000. + /// User list has number of users in range of 500 to 1000. LessThanOneThousand = 3, - /// User list has number of users in range of 1000 to 10000. + /// User list has number of users in range of 1000 to 10000. OneThousandToTenThousand = 4, - /// User list has number of users in range of 10000 to 50000. + /// User list has number of users in range of 10000 to 50000. TenThousandToFiftyThousand = 5, - /// User list has number of users in range of 50000 to 100000. + /// User list has number of users in range of 50000 to 100000. FiftyThousandToOneHundredThousand = 6, - /// User list has number of users in range of 100000 to 300000. + /// User list has number of users in range of 100000 to 300000. OneHundredThousandToThreeHundredThousand = 7, - /// User list has number of users in range of 300000 to 500000. + /// User list has number of users in range of 300000 to 500000. ThreeHundredThousandToFiveHundredThousand = 8, - /// User list has number of users in range of 500000 to 1 million. + /// User list has number of users in range of 500000 to 1 million. FiveHundredThousandToOneMillion = 9, - /// User list has number of users in range of 1 to 2 millions. + /// User list has number of users in range of 1 to 2 millions. OneMillionToTwoMillion = 10, - /// User list has number of users in range of 2 to 3 millions. + /// User list has number of users in range of 2 to 3 millions. TwoMillionToThreeMillion = 11, - /// User list has number of users in range of 3 to 5 millions. + /// User list has number of users in range of 3 to 5 millions. ThreeMillionToFiveMillion = 12, - /// User list has number of users in range of 5 to 10 millions. + /// User list has number of users in range of 5 to 10 millions. FiveMillionToTenMillion = 13, - /// User list has number of users in range of 10 to 20 millions. + /// User list has number of users in range of 10 to 20 millions. TenMillionToTwentyMillion = 14, - /// User list has number of users in range of 20 to 30 millions. + /// User list has number of users in range of 20 to 30 millions. TwentyMillionToThirtyMillion = 15, - /// User list has number of users in range of 30 to 50 millions. + /// User list has number of users in range of 30 to 50 millions. ThirtyMillionToFiftyMillion = 16, - /// User list has over 50 million users. + /// User list has over 50 million users. OverFiftyMillion = 17, } impl UserListSizeRange { @@ -14534,34 +14534,34 @@ pub mod user_list_size_range_enum { } } } -// Proto file describing user list type. +// Proto file describing user list type. -/// The user list types. +/// The user list types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListTypeEnum { } /// Nested message and enum types in `UserListTypeEnum`. pub mod user_list_type_enum { - /// Enum containing possible user list types. + /// Enum containing possible user list types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// UserList represented as a collection of conversion types. + /// UserList represented as a collection of conversion types. Remarketing = 2, - /// UserList represented as a combination of other user lists/interests. + /// UserList represented as a combination of other user lists/interests. Logical = 3, - /// UserList created in the Google Ad Manager platform. + /// UserList created in the Google Ad Manager platform. ExternalRemarketing = 4, - /// UserList associated with a rule. + /// UserList associated with a rule. RuleBased = 5, - /// UserList with users similar to users of another UserList. + /// UserList with users similar to users of another UserList. Similar = 6, - /// UserList of first-party CRM data provided by advertiser in the form of - /// emails or other formats. + /// UserList of first-party CRM data provided by advertiser in the form of + /// emails or other formats. CrmBased = 7, } impl UserListType { @@ -14583,28 +14583,28 @@ pub mod user_list_type_enum { } } } -// Proto file describing conversion value rule device type. +// Proto file describing conversion value rule device type. -/// Container for enum describing possible device types used in a conversion -/// value rule. +/// Container for enum describing possible device types used in a conversion +/// value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceTypeEnum { } /// Nested message and enum types in `ValueRuleDeviceTypeEnum`. pub mod value_rule_device_type_enum { - /// Possible device types used in conversion value rule. + /// Possible device types used in conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleDeviceType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Mobile device. + /// Mobile device. Mobile = 2, - /// Desktop device. + /// Desktop device. Desktop = 3, - /// Tablet device. + /// Tablet device. Tablet = 4, } impl ValueRuleDeviceType { @@ -14623,26 +14623,26 @@ pub mod value_rule_device_type_enum { } } } -// Proto file describing conversion value rule geo location match type. +// Proto file describing conversion value rule geo location match type. -/// Container for enum describing possible geographic location matching types -/// used in a conversion value rule. +/// Container for enum describing possible geographic location matching types +/// used in a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationMatchTypeEnum { } /// Nested message and enum types in `ValueRuleGeoLocationMatchTypeEnum`. pub mod value_rule_geo_location_match_type_enum { - /// Possible geographic location matching types. + /// Possible geographic location matching types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleGeoLocationMatchType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Either Area of Interest or Location of Presence can be used to match. + /// Either Area of Interest or Location of Presence can be used to match. Any = 2, - /// Only Location of Presence can be used to match. + /// Only Location of Presence can be used to match. LocationOfPresence = 3, } impl ValueRuleGeoLocationMatchType { @@ -14660,28 +14660,28 @@ pub mod value_rule_geo_location_match_type_enum { } } } -// Proto file describing conversion value rule operation. +// Proto file describing conversion value rule operation. -/// Container for enum describing possible operations for value rules which are -/// executed when rules are triggered. +/// Container for enum describing possible operations for value rules which are +/// executed when rules are triggered. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleOperationEnum { } /// Nested message and enum types in `ValueRuleOperationEnum`. pub mod value_rule_operation_enum { - /// Possible operations of the action of a conversion value rule. + /// Possible operations of the action of a conversion value rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleOperation { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add provided value to conversion value. + /// Add provided value to conversion value. Add = 2, - /// Multiply conversion value by provided value. + /// Multiply conversion value by provided value. Multiply = 3, - /// Set conversion value to provided value. + /// Set conversion value to provided value. Set = 4, } impl ValueRuleOperation { @@ -14700,25 +14700,25 @@ pub mod value_rule_operation_enum { } } } -// Proto file describing where the conversion value rule is attached. +// Proto file describing where the conversion value rule is attached. -/// Container for enum describing where a value rule set is attached. +/// Container for enum describing where a value rule set is attached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetAttachmentTypeEnum { } /// Nested message and enum types in `ValueRuleSetAttachmentTypeEnum`. pub mod value_rule_set_attachment_type_enum { - /// Possible level where a value rule set is attached. + /// Possible level where a value rule set is attached. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetAttachmentType { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Attached to the customer. + /// Attached to the customer. Customer = 2, - /// Attached to a campaign. + /// Attached to a campaign. Campaign = 3, } impl ValueRuleSetAttachmentType { @@ -14736,28 +14736,28 @@ pub mod value_rule_set_attachment_type_enum { } } } -// Proto file describing conversion value rule set dimension. +// Proto file describing conversion value rule set dimension. -/// Container for enum describing possible dimensions of a conversion value rule -/// set. +/// Container for enum describing possible dimensions of a conversion value rule +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleSetDimensionEnum { } /// Nested message and enum types in `ValueRuleSetDimensionEnum`. pub mod value_rule_set_dimension_enum { - /// Possible dimensions of a conversion value rule set. + /// Possible dimensions of a conversion value rule set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueRuleSetDimension { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Dimension for geo location. + /// Dimension for geo location. GeoLocation = 2, - /// Dimension for device type. + /// Dimension for device type. Device = 3, - /// Dimension for audience. + /// Dimension for audience. Audience = 4, } impl ValueRuleSetDimension { @@ -14776,25 +14776,25 @@ pub mod value_rule_set_dimension_enum { } } } -// Proto file describing vanity pharma display url modes. +// Proto file describing vanity pharma display url modes. -/// The display mode for vanity pharma URLs. +/// The display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaDisplayUrlModeEnum { } /// Nested message and enum types in `VanityPharmaDisplayUrlModeEnum`. pub mod vanity_pharma_display_url_mode_enum { - /// Enum describing possible display modes for vanity pharma URLs. + /// Enum describing possible display modes for vanity pharma URLs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaDisplayUrlMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Replace vanity pharma URL with manufacturer website url. + /// Replace vanity pharma URL with manufacturer website url. ManufacturerWebsiteUrl = 2, - /// Replace vanity pharma URL with description of the website. + /// Replace vanity pharma URL with description of the website. WebsiteDescription = 3, } impl VanityPharmaDisplayUrlMode { @@ -14812,52 +14812,52 @@ pub mod vanity_pharma_display_url_mode_enum { } } } -// Proto file describing vanity pharma texts. +// Proto file describing vanity pharma texts. -/// The text that will be displayed in display URL of the text ad when website -/// description is the selected display mode for vanity pharma URLs. +/// The text that will be displayed in display URL of the text ad when website +/// description is the selected display mode for vanity pharma URLs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharmaTextEnum { } /// Nested message and enum types in `VanityPharmaTextEnum`. pub mod vanity_pharma_text_enum { - /// Enum describing possible text. + /// Enum describing possible text. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VanityPharmaText { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Prescription treatment website with website content in English. + /// Prescription treatment website with website content in English. PrescriptionTreatmentWebsiteEn = 2, - /// Prescription treatment website with website content in Spanish - /// (Sitio de tratamientos con receta). + /// Prescription treatment website with website content in Spanish + /// (Sitio de tratamientos con receta). PrescriptionTreatmentWebsiteEs = 3, - /// Prescription device website with website content in English. + /// Prescription device website with website content in English. PrescriptionDeviceWebsiteEn = 4, - /// Prescription device website with website content in Spanish (Sitio de - /// dispositivos con receta). + /// Prescription device website with website content in Spanish (Sitio de + /// dispositivos con receta). PrescriptionDeviceWebsiteEs = 5, - /// Medical device website with website content in English. + /// Medical device website with website content in English. MedicalDeviceWebsiteEn = 6, - /// Medical device website with website content in Spanish (Sitio de - /// dispositivos médicos). + /// Medical device website with website content in Spanish (Sitio de + /// dispositivos médicos). MedicalDeviceWebsiteEs = 7, - /// Preventative treatment website with website content in English. + /// Preventative treatment website with website content in English. PreventativeTreatmentWebsiteEn = 8, - /// Preventative treatment website with website content in Spanish (Sitio de - /// tratamientos preventivos). + /// Preventative treatment website with website content in Spanish (Sitio de + /// tratamientos preventivos). PreventativeTreatmentWebsiteEs = 9, - /// Prescription contraception website with website content in English. + /// Prescription contraception website with website content in English. PrescriptionContraceptionWebsiteEn = 10, - /// Prescription contraception website with website content in Spanish (Sitio - /// de anticonceptivos con receta). + /// Prescription contraception website with website content in Spanish (Sitio + /// de anticonceptivos con receta). PrescriptionContraceptionWebsiteEs = 11, - /// Prescription vaccine website with website content in English. + /// Prescription vaccine website with website content in English. PrescriptionVaccineWebsiteEn = 12, - /// Prescription vaccine website with website content in Spanish (Sitio de - /// vacunas con receta). + /// Prescription vaccine website with website content in Spanish (Sitio de + /// vacunas con receta). PrescriptionVaccineWebsiteEs = 13, } impl VanityPharmaText { diff --git a/gcloud-sdk/genproto/google.ads.googleads.v9.errors.rs b/gcloud-sdk/genproto/google.ads.googleads.v9.errors.rs index ee1c25e46..b78eae67e 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v9.errors.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v9.errors.rs @@ -1,35 +1,35 @@ -// Proto file describing AccessInvitation errors. +// Proto file describing AccessInvitation errors. -/// Container for enum describing possible AccessInvitation errors. +/// Container for enum describing possible AccessInvitation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInvitationErrorEnum { } /// Nested message and enum types in `AccessInvitationErrorEnum`. pub mod access_invitation_error_enum { - /// Enum describing possible AccessInvitation errors. + /// Enum describing possible AccessInvitation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessInvitationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The email address is invalid for sending an invitation. + /// The email address is invalid for sending an invitation. InvalidEmailAddress = 2, - /// Email address already has access to this customer. + /// Email address already has access to this customer. EmailAddressAlreadyHasAccess = 3, - /// Invalid invitation status for the operation. + /// Invalid invitation status for the operation. InvalidInvitationStatus = 4, - /// Email address cannot be like abc+foo@google.com. + /// Email address cannot be like abc+foo@google.com. GoogleConsumerAccountNotAllowed = 5, - /// Invalid invitation id. + /// Invalid invitation id. InvalidInvitationId = 6, - /// Email address already has a pending invitation. + /// Email address already has a pending invitation. EmailAddressAlreadyHasPendingInvitation = 7, - /// Pending invitation limit exceeded for the customer. + /// Pending invitation limit exceeded for the customer. PendingInvitationsLimitExceeded = 8, - /// Email address doesn't conform to the email domain policy. Please see - /// + /// Email address doesn't conform to the email domain policy. Please see + /// EmailDomainPolicyViolated = 9, } impl AccessInvitationError { @@ -53,75 +53,75 @@ pub mod access_invitation_error_enum { } } } -// Proto file describing account budget proposal errors. +// Proto file describing account budget proposal errors. -/// Container for enum describing possible account budget proposal errors. +/// Container for enum describing possible account budget proposal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalErrorEnum { } /// Nested message and enum types in `AccountBudgetProposalErrorEnum`. pub mod account_budget_proposal_error_enum { - /// Enum describing possible account budget proposal errors. + /// Enum describing possible account budget proposal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountBudgetProposalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be empty for create/end/remove proposals. + /// The field mask must be empty for create/end/remove proposals. FieldMaskNotAllowed = 2, - /// The field cannot be set because of the proposal type. + /// The field cannot be set because of the proposal type. ImmutableField = 3, - /// The field is required because of the proposal type. + /// The field is required because of the proposal type. RequiredFieldMissing = 4, - /// Proposals that have been approved cannot be cancelled. + /// Proposals that have been approved cannot be cancelled. CannotCancelApprovedProposal = 5, - /// Budgets that haven't been approved cannot be removed. + /// Budgets that haven't been approved cannot be removed. CannotRemoveUnapprovedBudget = 6, - /// Budgets that are currently running cannot be removed. + /// Budgets that are currently running cannot be removed. CannotRemoveRunningBudget = 7, - /// Budgets that haven't been approved cannot be truncated. + /// Budgets that haven't been approved cannot be truncated. CannotEndUnapprovedBudget = 8, - /// Only budgets that are currently running can be truncated. + /// Only budgets that are currently running can be truncated. CannotEndInactiveBudget = 9, - /// All budgets must have names. + /// All budgets must have names. BudgetNameRequired = 10, - /// Expired budgets cannot be edited after a sufficient amount of time has - /// passed. + /// Expired budgets cannot be edited after a sufficient amount of time has + /// passed. CannotUpdateOldBudget = 11, - /// It is not permissible a propose a new budget that ends in the past. + /// It is not permissible a propose a new budget that ends in the past. CannotEndInPast = 12, - /// An expired budget cannot be extended to overlap with the running budget. + /// An expired budget cannot be extended to overlap with the running budget. CannotExtendEndTime = 13, - /// A purchase order number is required. + /// A purchase order number is required. PurchaseOrderNumberRequired = 14, - /// Budgets that have a pending update cannot be updated. + /// Budgets that have a pending update cannot be updated. PendingUpdateProposalExists = 15, - /// Cannot propose more than one budget when the corresponding billing setup - /// hasn't been approved. + /// Cannot propose more than one budget when the corresponding billing setup + /// hasn't been approved. MultipleBudgetsNotAllowedForUnapprovedBillingSetup = 16, - /// Cannot update the start time of a budget that has already started. + /// Cannot update the start time of a budget that has already started. CannotUpdateStartTimeForStartedBudget = 17, - /// Cannot update the spending limit of a budget with an amount lower than - /// what has already been spent. + /// Cannot update the spending limit of a budget with an amount lower than + /// what has already been spent. SpendingLimitLowerThanAccruedCostNotAllowed = 18, - /// Cannot propose a budget update without actually changing any fields. + /// Cannot propose a budget update without actually changing any fields. UpdateIsNoOp = 19, - /// The end time must come after the start time. + /// The end time must come after the start time. EndTimeMustFollowStartTime = 20, - /// The budget's date range must fall within the date range of its billing - /// setup. + /// The budget's date range must fall within the date range of its billing + /// setup. BudgetDateRangeIncompatibleWithBillingSetup = 21, - /// The user is not authorized to mutate budgets for the given billing setup. + /// The user is not authorized to mutate budgets for the given billing setup. NotAuthorized = 22, - /// Mutates are not allowed for the given billing setup. + /// Mutates are not allowed for the given billing setup. InvalidBillingSetup = 23, - /// Budget creation failed as it overlaps with an pending budget proposal - /// or an approved budget. + /// Budget creation failed as it overlaps with an pending budget proposal + /// or an approved budget. OverlapsExistingBudget = 24, - /// The control setting in user's payments profile doesn't allow budget - /// creation through API. Log in to Google Ads to create budget. + /// The control setting in user's payments profile doesn't allow budget + /// creation through API. Log in to Google Ads to create budget. CannotCreateBudgetThroughApi = 25, } impl AccountBudgetProposalError { @@ -161,23 +161,23 @@ pub mod account_budget_proposal_error_enum { } } } -// Proto file describing AccountLink errors. +// Proto file describing AccountLink errors. -/// Container for enum describing possible account link errors. +/// Container for enum describing possible account link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkErrorEnum { } /// Nested message and enum types in `AccountLinkErrorEnum`. pub mod account_link_error_enum { - /// Enum describing possible account link errors. + /// Enum describing possible account link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccountLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The new link status is invalid. + /// The new link status is invalid. InvalidStatus = 2, } impl AccountLinkError { @@ -194,31 +194,31 @@ pub mod account_link_error_enum { } } } -// Proto file describing ad customizer errors. +// Proto file describing ad customizer errors. -/// Container for enum describing possible ad customizer errors. +/// Container for enum describing possible ad customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdCustomizerErrorEnum { } /// Nested message and enum types in `AdCustomizerErrorEnum`. pub mod ad_customizer_error_enum { - /// Enum describing possible ad customizer errors. + /// Enum describing possible ad customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date argument in countdown function. + /// Invalid date argument in countdown function. CountdownInvalidDateFormat = 2, - /// Countdown end date is in the past. + /// Countdown end date is in the past. CountdownDateInPast = 3, - /// Invalid locale string in countdown function. + /// Invalid locale string in countdown function. CountdownInvalidLocale = 4, - /// Days-before argument to countdown function is not positive. + /// Days-before argument to countdown function is not positive. CountdownInvalidStartDaysBefore = 5, - /// A user list referenced in an IF function does not exist. + /// A user list referenced in an IF function does not exist. UnknownUserList = 6, } impl AdCustomizerError { @@ -239,351 +239,351 @@ pub mod ad_customizer_error_enum { } } } -// Proto file describing ad errors. +// Proto file describing ad errors. -/// Container for enum describing possible ad errors. +/// Container for enum describing possible ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdErrorEnum { } /// Nested message and enum types in `AdErrorEnum`. pub mod ad_error_enum { - /// Enum describing possible ad errors. + /// Enum describing possible ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ad customizers are not supported for ad type. + /// Ad customizers are not supported for ad type. AdCustomizersNotSupportedForAdType = 2, - /// Estimating character sizes the string is too long. + /// Estimating character sizes the string is too long. ApproximatelyTooLong = 3, - /// Estimating character sizes the string is too short. + /// Estimating character sizes the string is too short. ApproximatelyTooShort = 4, - /// There is a problem with the snippet. + /// There is a problem with the snippet. BadSnippet = 5, - /// Cannot modify an ad. + /// Cannot modify an ad. CannotModifyAd = 6, - /// business name and url cannot be set at the same time + /// business name and url cannot be set at the same time CannotSetBusinessNameIfUrlSet = 7, - /// The specified field is incompatible with this ad's type or settings. + /// The specified field is incompatible with this ad's type or settings. CannotSetField = 8, - /// Cannot set field when originAdId is set. + /// Cannot set field when originAdId is set. CannotSetFieldWithOriginAdIdSet = 9, - /// Cannot set field when an existing ad id is set for sharing. + /// Cannot set field when an existing ad id is set for sharing. CannotSetFieldWithAdIdSetForSharing = 10, - /// Cannot set allowFlexibleColor false if no color is provided by user. + /// Cannot set allowFlexibleColor false if no color is provided by user. CannotSetAllowFlexibleColorFalse = 11, - /// When user select native, no color control is allowed because we will - /// always respect publisher color for native format serving. + /// When user select native, no color control is allowed because we will + /// always respect publisher color for native format serving. CannotSetColorControlWhenNativeFormatSetting = 12, - /// Cannot specify a url for the ad type + /// Cannot specify a url for the ad type CannotSetUrl = 13, - /// Cannot specify a tracking or mobile url without also setting final urls + /// Cannot specify a tracking or mobile url without also setting final urls CannotSetWithoutFinalUrls = 14, - /// Cannot specify a legacy url and a final url simultaneously + /// Cannot specify a legacy url and a final url simultaneously CannotSetWithFinalUrls = 15, - /// Cannot specify a urls in UrlData and in template fields simultaneously. + /// Cannot specify a urls in UrlData and in template fields simultaneously. CannotSetWithUrlData = 17, - /// This operator cannot be used with a subclass of Ad. + /// This operator cannot be used with a subclass of Ad. CannotUseAdSubclassForOperator = 18, - /// Customer is not approved for mobile ads. + /// Customer is not approved for mobile ads. CustomerNotApprovedMobileads = 19, - /// Customer is not approved for 3PAS richmedia ads. + /// Customer is not approved for 3PAS richmedia ads. CustomerNotApprovedThirdpartyAds = 20, - /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. + /// Customer is not approved for 3PAS redirect richmedia (Ad Exchange) ads. CustomerNotApprovedThirdpartyRedirectAds = 21, - /// Not an eligible customer + /// Not an eligible customer CustomerNotEligible = 22, - /// Customer is not eligible for updating beacon url + /// Customer is not eligible for updating beacon url CustomerNotEligibleForUpdatingBeaconUrl = 23, - /// There already exists an ad with the same dimensions in the union. + /// There already exists an ad with the same dimensions in the union. DimensionAlreadyInUnion = 24, - /// Ad's dimension must be set before setting union dimension. + /// Ad's dimension must be set before setting union dimension. DimensionMustBeSet = 25, - /// Ad's dimension must be included in the union dimensions. + /// Ad's dimension must be included in the union dimensions. DimensionNotInUnion = 26, - /// Display Url cannot be specified (applies to Ad Exchange Ads) + /// Display Url cannot be specified (applies to Ad Exchange Ads) DisplayUrlCannotBeSpecified = 27, - /// Telephone number contains invalid characters or invalid format. Please - /// re-enter your number using digits (0-9), dashes (-), and parentheses - /// only. + /// Telephone number contains invalid characters or invalid format. Please + /// re-enter your number using digits (0-9), dashes (-), and parentheses + /// only. DomesticPhoneNumberFormat = 28, - /// Emergency telephone numbers are not allowed. Please enter a valid - /// domestic phone number to connect customers to your business. + /// Emergency telephone numbers are not allowed. Please enter a valid + /// domestic phone number to connect customers to your business. EmergencyPhoneNumber = 29, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 30, - /// A feed attribute referenced in an ad customizer tag is not in the ad - /// customizer mapping for the feed. + /// A feed attribute referenced in an ad customizer tag is not in the ad + /// customizer mapping for the feed. FeedAttributeMustHaveMappingForTypeId = 31, - /// The ad customizer field mapping for the feed attribute does not match the - /// expected field type. + /// The ad customizer field mapping for the feed attribute does not match the + /// expected field type. FeedAttributeMappingTypeMismatch = 32, - /// The use of ad customizer tags in the ad text is disallowed. Details in - /// trigger. + /// The use of ad customizer tags in the ad text is disallowed. Details in + /// trigger. IllegalAdCustomizerTagUse = 33, - /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. + /// Tags of the form {PH_x}, where x is a number, are disallowed in ad text. IllegalTagUse = 34, - /// The dimensions of the ad are specified or derived in multiple ways and - /// are not consistent. + /// The dimensions of the ad are specified or derived in multiple ways and + /// are not consistent. InconsistentDimensions = 35, - /// The status cannot differ among template ads of the same union. + /// The status cannot differ among template ads of the same union. InconsistentStatusInTemplateUnion = 36, - /// The length of the string is not valid. + /// The length of the string is not valid. IncorrectLength = 37, - /// The ad is ineligible for upgrade. + /// The ad is ineligible for upgrade. IneligibleForUpgrade = 38, - /// User cannot create mobile ad for countries targeted in specified - /// campaign. + /// User cannot create mobile ad for countries targeted in specified + /// campaign. InvalidAdAddressCampaignTarget = 39, - /// Invalid Ad type. A specific type of Ad is required. + /// Invalid Ad type. A specific type of Ad is required. InvalidAdType = 40, - /// Headline, description or phone cannot be present when creating mobile - /// image ad. + /// Headline, description or phone cannot be present when creating mobile + /// image ad. InvalidAttributesForMobileImage = 41, - /// Image cannot be present when creating mobile text ad. + /// Image cannot be present when creating mobile text ad. InvalidAttributesForMobileText = 42, - /// Invalid call to action text. + /// Invalid call to action text. InvalidCallToActionText = 43, - /// Invalid character in URL. + /// Invalid character in URL. InvalidCharacterForUrl = 44, - /// Creative's country code is not valid. + /// Creative's country code is not valid. InvalidCountryCode = 45, - /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) + /// Invalid use of Expanded Dynamic Search Ads tags ({lpurl} etc.) InvalidExpandedDynamicSearchAdTag = 47, - /// An input error whose real reason was not properly mapped (should not - /// happen). + /// An input error whose real reason was not properly mapped (should not + /// happen). InvalidInput = 48, - /// An invalid markup language was entered. + /// An invalid markup language was entered. InvalidMarkupLanguage = 49, - /// An invalid mobile carrier was entered. + /// An invalid mobile carrier was entered. InvalidMobileCarrier = 50, - /// Specified mobile carriers target a country not targeted by the campaign. + /// Specified mobile carriers target a country not targeted by the campaign. InvalidMobileCarrierTarget = 51, - /// Wrong number of elements for given element type + /// Wrong number of elements for given element type InvalidNumberOfElements = 52, - /// The format of the telephone number is incorrect. Please re-enter the - /// number using the correct format. + /// The format of the telephone number is incorrect. Please re-enter the + /// number using the correct format. InvalidPhoneNumberFormat = 53, - /// The certified vendor format id is incorrect. + /// The certified vendor format id is incorrect. InvalidRichMediaCertifiedVendorFormatId = 54, - /// The template ad data contains validation errors. + /// The template ad data contains validation errors. InvalidTemplateData = 55, - /// The template field doesn't have have the correct type. + /// The template field doesn't have have the correct type. InvalidTemplateElementFieldType = 56, - /// Invalid template id. + /// Invalid template id. InvalidTemplateId = 57, - /// After substituting replacement strings, the line is too wide. + /// After substituting replacement strings, the line is too wide. LineTooWide = 58, - /// The feed referenced must have ad customizer mapping to be used in a - /// customizer tag. + /// The feed referenced must have ad customizer mapping to be used in a + /// customizer tag. MissingAdCustomizerMapping = 59, - /// Missing address component in template element address field. + /// Missing address component in template element address field. MissingAddressComponent = 60, - /// An ad name must be entered. + /// An ad name must be entered. MissingAdvertisementName = 61, - /// Business name must be entered. + /// Business name must be entered. MissingBusinessName = 62, - /// Description (line 2) must be entered. + /// Description (line 2) must be entered. MissingDescription1 = 63, - /// Description (line 3) must be entered. + /// Description (line 3) must be entered. MissingDescription2 = 64, - /// The destination url must contain at least one tag (e.g. {lpurl}) + /// The destination url must contain at least one tag (e.g. {lpurl}) MissingDestinationUrlTag = 65, - /// The tracking url template of ExpandedDynamicSearchAd must contain at - /// least one tag. (e.g. {lpurl}) + /// The tracking url template of ExpandedDynamicSearchAd must contain at + /// least one tag. (e.g. {lpurl}) MissingLandingPageUrlTag = 66, - /// A valid dimension must be specified for this ad. + /// A valid dimension must be specified for this ad. MissingDimension = 67, - /// A display URL must be entered. + /// A display URL must be entered. MissingDisplayUrl = 68, - /// Headline must be entered. + /// Headline must be entered. MissingHeadline = 69, - /// A height must be entered. + /// A height must be entered. MissingHeight = 70, - /// An image must be entered. + /// An image must be entered. MissingImage = 71, - /// Marketing image or product videos are required. + /// Marketing image or product videos are required. MissingMarketingImageOrProductVideos = 72, - /// The markup language in which your site is written must be entered. + /// The markup language in which your site is written must be entered. MissingMarkupLanguages = 73, - /// A mobile carrier must be entered. + /// A mobile carrier must be entered. MissingMobileCarrier = 74, - /// Phone number must be entered. + /// Phone number must be entered. MissingPhone = 75, - /// Missing required template fields + /// Missing required template fields MissingRequiredTemplateFields = 76, - /// Missing a required field value + /// Missing a required field value MissingTemplateFieldValue = 77, - /// The ad must have text. + /// The ad must have text. MissingText = 78, - /// A visible URL must be entered. + /// A visible URL must be entered. MissingVisibleUrl = 79, - /// A width must be entered. + /// A width must be entered. MissingWidth = 80, - /// Only 1 feed can be used as the source of ad customizer substitutions in a - /// single ad. + /// Only 1 feed can be used as the source of ad customizer substitutions in a + /// single ad. MultipleDistinctFeedsUnsupported = 81, - /// TempAdUnionId must be use when adding template ads. + /// TempAdUnionId must be use when adding template ads. MustUseTempAdUnionIdOnAdd = 82, - /// The string has too many characters. + /// The string has too many characters. TooLong = 83, - /// The string has too few characters. + /// The string has too few characters. TooShort = 84, - /// Ad union dimensions cannot change for saved ads. + /// Ad union dimensions cannot change for saved ads. UnionDimensionsCannotChange = 85, - /// Address component is not {country, lat, lng}. + /// Address component is not {country, lat, lng}. UnknownAddressComponent = 86, - /// Unknown unique field name + /// Unknown unique field name UnknownFieldName = 87, - /// Unknown unique name (template element type specifier) + /// Unknown unique name (template element type specifier) UnknownUniqueName = 88, - /// Unsupported ad dimension + /// Unsupported ad dimension UnsupportedDimensions = 89, - /// URL starts with an invalid scheme. + /// URL starts with an invalid scheme. UrlInvalidScheme = 90, - /// URL ends with an invalid top-level domain name. + /// URL ends with an invalid top-level domain name. UrlInvalidTopLevelDomain = 91, - /// URL contains illegal characters. + /// URL contains illegal characters. UrlMalformed = 92, - /// URL must contain a host name. + /// URL must contain a host name. UrlNoHost = 93, - /// URL not equivalent during upgrade. + /// URL not equivalent during upgrade. UrlNotEquivalent = 94, - /// URL host name too long to be stored as visible URL (applies to Ad - /// Exchange ads) + /// URL host name too long to be stored as visible URL (applies to Ad + /// Exchange ads) UrlHostNameTooLong = 95, - /// URL must start with a scheme. + /// URL must start with a scheme. UrlNoScheme = 96, - /// URL should end in a valid domain extension, such as .com or .net. + /// URL should end in a valid domain extension, such as .com or .net. UrlNoTopLevelDomain = 97, - /// URL must not end with a path. + /// URL must not end with a path. UrlPathNotAllowed = 98, - /// URL must not specify a port. + /// URL must not specify a port. UrlPortNotAllowed = 99, - /// URL must not contain a query. + /// URL must not contain a query. UrlQueryNotAllowed = 100, - /// A url scheme is not allowed in front of tag in tracking url template - /// (e.g. ) + /// A url scheme is not allowed in front of tag in tracking url template + /// (e.g. ) UrlSchemeBeforeExpandedDynamicSearchAdTag = 102, - /// The user does not have permissions to create a template ad for the given - /// template. + /// The user does not have permissions to create a template ad for the given + /// template. UserDoesNotHaveAccessToTemplate = 103, - /// Expandable setting is inconsistent/wrong. For example, an AdX ad is - /// invalid if it has a expandable vendor format but no expanding directions - /// specified, or expanding directions is specified, but the vendor format is - /// not expandable. + /// Expandable setting is inconsistent/wrong. For example, an AdX ad is + /// invalid if it has a expandable vendor format but no expanding directions + /// specified, or expanding directions is specified, but the vendor format is + /// not expandable. InconsistentExpandableSettings = 104, - /// Format is invalid + /// Format is invalid InvalidFormat = 105, - /// The text of this field did not match a pattern of allowed values. + /// The text of this field did not match a pattern of allowed values. InvalidFieldText = 106, - /// Template element is mising + /// Template element is mising ElementNotPresent = 107, - /// Error occurred during image processing + /// Error occurred during image processing ImageError = 108, - /// The value is not within the valid range + /// The value is not within the valid range ValueNotInRange = 109, - /// Template element field is not present + /// Template element field is not present FieldNotPresent = 110, - /// Address is incomplete + /// Address is incomplete AddressNotComplete = 111, - /// Invalid address + /// Invalid address AddressInvalid = 112, - /// Error retrieving specified video + /// Error retrieving specified video VideoRetrievalError = 113, - /// Error processing audio + /// Error processing audio AudioError = 114, - /// Display URL is incorrect for YouTube PYV ads + /// Display URL is incorrect for YouTube PYV ads InvalidYoutubeDisplayUrl = 115, - /// Too many product Images in GmailAd + /// Too many product Images in GmailAd TooManyProductImages = 116, - /// Too many product Videos in GmailAd + /// Too many product Videos in GmailAd TooManyProductVideos = 117, - /// The device preference is not compatible with the ad type + /// The device preference is not compatible with the ad type IncompatibleAdTypeAndDevicePreference = 118, - /// Call tracking is not supported for specified country. + /// Call tracking is not supported for specified country. CalltrackingNotSupportedForCountry = 119, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CarrierSpecificShortNumberNotAllowed = 120, - /// Specified phone number type is disallowed. + /// Specified phone number type is disallowed. DisallowedNumberType = 121, - /// Phone number not supported for country. + /// Phone number not supported for country. PhoneNumberNotSupportedForCountry = 122, - /// Phone number not supported with call tracking enabled for country. + /// Phone number not supported with call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 123, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. PremiumRateNumberNotAllowed = 124, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. VanityPhoneNumberNotAllowed = 125, - /// Invalid call conversion type id. + /// Invalid call conversion type id. InvalidCallConversionTypeId = 126, - /// Cannot disable call conversion and set conversion type id. + /// Cannot disable call conversion and set conversion type id. CannotDisableCallConversionAndSetConversionTypeId = 127, - /// Cannot set path2 without path1. + /// Cannot set path2 without path1. CannotSetPath2WithoutPath1 = 128, - /// Missing domain name in campaign setting when adding expanded dynamic - /// search ad. + /// Missing domain name in campaign setting when adding expanded dynamic + /// search ad. MissingDynamicSearchAdsSettingDomainName = 129, - /// The associated ad is not compatible with restriction type. + /// The associated ad is not compatible with restriction type. IncompatibleWithRestrictionType = 130, - /// Consent for call recording is required for creating/updating call only - /// ads. Please see + /// Consent for call recording is required for creating/updating call only + /// ads. Please see CustomerConsentForCallRecordingRequired = 131, - /// Either an image or a media bundle is required in a display upload ad. + /// Either an image or a media bundle is required in a display upload ad. MissingImageOrMediaBundle = 132, - /// The display upload product type is not supported in this campaign. + /// The display upload product type is not supported in this campaign. ProductTypeNotSupportedInThisCampaign = 133, - /// The default value of an ad placeholder can not be the empty string. + /// The default value of an ad placeholder can not be the empty string. PlaceholderCannotHaveEmptyDefaultValue = 134, - /// Ad placeholders with countdown functions must not have a default value. + /// Ad placeholders with countdown functions must not have a default value. PlaceholderCountdownFunctionCannotHaveDefaultValue = 135, - /// A previous ad placeholder that had a default value was found which means - /// that all (non-countdown) placeholders must have a default value. This - /// ad placeholder does not have a default value. + /// A previous ad placeholder that had a default value was found which means + /// that all (non-countdown) placeholders must have a default value. This + /// ad placeholder does not have a default value. PlaceholderDefaultValueMissing = 136, - /// A previous ad placeholder that did not have a default value was found - /// which means that no placeholders may have a default value. This - /// ad placeholder does have a default value. + /// A previous ad placeholder that did not have a default value was found + /// which means that no placeholders may have a default value. This + /// ad placeholder does have a default value. UnexpectedPlaceholderDefaultValue = 137, - /// Two ad customizers may not be directly adjacent in an ad text. They must - /// be separated by at least one character. + /// Two ad customizers may not be directly adjacent in an ad text. They must + /// be separated by at least one character. AdCustomizersMayNotBeAdjacent = 138, - /// The ad is not associated with any enabled AdGroupAd, and cannot be - /// updated. + /// The ad is not associated with any enabled AdGroupAd, and cannot be + /// updated. UpdatingAdWithNoEnabledAssociation = 139, - /// Call Ad verification url and final url don't have same domain. + /// Call Ad verification url and final url don't have same domain. CallAdVerificationUrlFinalUrlDoesNotHaveSameDomain = 140, - /// Final url and verification url cannot both be empty for call ads. + /// Final url and verification url cannot both be empty for call ads. CallAdFinalUrlAndVerificationUrlCannotBothBeEmpty = 154, - /// Too many ad customizers in one asset. + /// Too many ad customizers in one asset. TooManyAdCustomizers = 141, - /// The ad customizer tag is recognized, but the format is invalid. + /// The ad customizer tag is recognized, but the format is invalid. InvalidAdCustomizerFormat = 142, - /// Customizer tags cannot be nested. + /// Customizer tags cannot be nested. NestedAdCustomizerSyntax = 143, - /// The ad customizer syntax used in the ad is not supported. + /// The ad customizer syntax used in the ad is not supported. UnsupportedAdCustomizerSyntax = 144, - /// There exists unpaired brace in the ad customizer tag. + /// There exists unpaired brace in the ad customizer tag. UnpairedBraceInAdCustomizerTag = 145, - /// More than one type of countdown tag exists among all text lines. + /// More than one type of countdown tag exists among all text lines. MoreThanOneCountdownTagTypeExists = 146, - /// Date time in the countdown tag is invalid. + /// Date time in the countdown tag is invalid. DateTimeInCountdownTagIsInvalid = 147, - /// Date time in the countdown tag is in the past. + /// Date time in the countdown tag is in the past. DateTimeInCountdownTagIsPast = 148, - /// Cannot recognize the ad customizer tag. + /// Cannot recognize the ad customizer tag. UnrecognizedAdCustomizerTagFound = 149, - /// Customizer type forbidden for this field. + /// Customizer type forbidden for this field. CustomizerTypeForbiddenForField = 150, - /// Customizer attribute name is invalid. + /// Customizer attribute name is invalid. InvalidCustomizerAttributeName = 151, - /// App store value does not match the value of the app store in the app - /// specified in the campaign. + /// App store value does not match the value of the app store in the app + /// specified in the campaign. StoreMismatch = 152, - /// Missing required image aspect ratio. + /// Missing required image aspect ratio. MissingRequiredImageAspectRatio = 153, } impl AdError { @@ -749,46 +749,46 @@ pub mod ad_error_enum { } } } -// Proto file describing ad group ad errors. +// Proto file describing ad group ad errors. -/// Container for enum describing possible ad group ad errors. +/// Container for enum describing possible ad group ad errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdErrorEnum { } /// Nested message and enum types in `AdGroupAdErrorEnum`. pub mod ad_group_ad_error_enum { - /// Enum describing possible ad group ad errors. + /// Enum describing possible ad group ad errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupAdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the adgroup ad and the label. + /// No link found between the adgroup ad and the label. AdGroupAdLabelDoesNotExist = 2, - /// The label has already been attached to the adgroup ad. + /// The label has already been attached to the adgroup ad. AdGroupAdLabelAlreadyExists = 3, - /// The specified ad was not found in the adgroup + /// The specified ad was not found in the adgroup AdNotUnderAdgroup = 4, - /// Removed ads may not be modified + /// Removed ads may not be modified CannotOperateOnRemovedAdgroupad = 5, - /// An ad of this type is deprecated and cannot be created. Only deletions - /// are permitted. + /// An ad of this type is deprecated and cannot be created. Only deletions + /// are permitted. CannotCreateDeprecatedAds = 6, - /// Text ads are deprecated and cannot be created. Use expanded text ads - /// instead. + /// Text ads are deprecated and cannot be created. Use expanded text ads + /// instead. CannotCreateTextAds = 7, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 8, - /// An ad may only be modified once per call + /// An ad may only be modified once per call ResourceReferencedInMultipleOps = 9, - /// AdGroupAds with the given ad type cannot be paused. + /// AdGroupAds with the given ad type cannot be paused. AdTypeCannotBePaused = 10, - /// AdGroupAds with the given ad type cannot be removed. + /// AdGroupAds with the given ad type cannot be removed. AdTypeCannotBeRemoved = 11, - /// An ad of this type is deprecated and cannot be updated. Only removals - /// are permitted. + /// An ad of this type is deprecated and cannot be updated. Only removals + /// are permitted. CannotUpdateDeprecatedAds = 12, } impl AdGroupAdError { @@ -815,26 +815,26 @@ pub mod ad_group_ad_error_enum { } } } -// Proto file describing ad group bid modifier errors. +// Proto file describing ad group bid modifier errors. -/// Container for enum describing possible ad group bid modifier errors. +/// Container for enum describing possible ad group bid modifier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierErrorEnum { } /// Nested message and enum types in `AdGroupBidModifierErrorEnum`. pub mod ad_group_bid_modifier_error_enum { - /// Enum describing possible ad group bid modifier errors. + /// Enum describing possible ad group bid modifier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupBidModifierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion ID does not support bid modification. + /// The criterion ID does not support bid modification. CriterionIdNotSupported = 2, - /// Cannot override the bid modifier for the given criterion ID if the parent - /// campaign is opted out of the same criterion. + /// Cannot override the bid modifier for the given criterion ID if the parent + /// campaign is opted out of the same criterion. CannotOverrideOptedOutCampaignCriterionBidModifier = 3, } impl AdGroupBidModifierError { @@ -852,23 +852,23 @@ pub mod ad_group_bid_modifier_error_enum { } } } -// Proto file describing ad group criterion customizer errors. +// Proto file describing ad group criterion customizer errors. -/// Container for enum describing possible ad group criterion customizer errors. +/// Container for enum describing possible ad group criterion customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCriterionCustomizerErrorEnum`. pub mod ad_group_criterion_customizer_error_enum { - /// Enum describing possible ad group criterion customizer errors. + /// Enum describing possible ad group criterion customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Only keyword type criterion is allowed to link customizer attribute. + /// Only keyword type criterion is allowed to link customizer attribute. CriterionIsNotKeyword = 2, } impl AdGroupCriterionCustomizerError { @@ -885,86 +885,86 @@ pub mod ad_group_criterion_customizer_error_enum { } } } -// Proto file describing ad group criterion errors. +// Proto file describing ad group criterion errors. -/// Container for enum describing possible ad group criterion errors. +/// Container for enum describing possible ad group criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionErrorEnum { } /// Nested message and enum types in `AdGroupCriterionErrorEnum`. pub mod ad_group_criterion_error_enum { - /// Enum describing possible ad group criterion errors. + /// Enum describing possible ad group criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No link found between the AdGroupCriterion and the label. + /// No link found between the AdGroupCriterion and the label. AdGroupCriterionLabelDoesNotExist = 2, - /// The label has already been attached to the AdGroupCriterion. + /// The label has already been attached to the AdGroupCriterion. AdGroupCriterionLabelAlreadyExists = 3, - /// Negative AdGroupCriterion cannot have labels. + /// Negative AdGroupCriterion cannot have labels. CannotAddLabelToNegativeCriterion = 4, - /// Too many operations for a single call. + /// Too many operations for a single call. TooManyOperations = 5, - /// Negative ad group criteria are not updateable. + /// Negative ad group criteria are not updateable. CantUpdateNegative = 6, - /// Concrete type of criterion (keyword v.s. placement) is required for ADD - /// and SET operations. + /// Concrete type of criterion (keyword v.s. placement) is required for ADD + /// and SET operations. ConcreteTypeRequired = 7, - /// Bid is incompatible with ad group's bidding settings. + /// Bid is incompatible with ad group's bidding settings. BidIncompatibleWithAdgroup = 8, - /// Cannot target and exclude the same criterion at once. + /// Cannot target and exclude the same criterion at once. CannotTargetAndExclude = 9, - /// The URL of a placement is invalid. + /// The URL of a placement is invalid. IllegalUrl = 10, - /// Keyword text was invalid. + /// Keyword text was invalid. InvalidKeywordText = 11, - /// Destination URL was invalid. + /// Destination URL was invalid. InvalidDestinationUrl = 12, - /// The destination url must contain at least one tag (e.g. {lpurl}) + /// The destination url must contain at least one tag (e.g. {lpurl}) MissingDestinationUrlTag = 13, - /// Keyword-level cpm bid is not supported + /// Keyword-level cpm bid is not supported KeywordLevelBidNotSupportedForManualcpm = 14, - /// For example, cannot add a biddable ad group criterion that had been - /// removed. + /// For example, cannot add a biddable ad group criterion that had been + /// removed. InvalidUserStatus = 15, - /// Criteria type cannot be targeted for the ad group. Either the account is - /// restricted to keywords only, the criteria type is incompatible with the - /// campaign's bidding strategy, or the criteria type can only be applied to - /// campaigns. + /// Criteria type cannot be targeted for the ad group. Either the account is + /// restricted to keywords only, the criteria type is incompatible with the + /// campaign's bidding strategy, or the criteria type can only be applied to + /// campaigns. CannotAddCriteriaType = 16, - /// Criteria type cannot be excluded for the ad group. Refer to the - /// documentation for a specific criterion to check if it is excludable. + /// Criteria type cannot be excluded for the ad group. Refer to the + /// documentation for a specific criterion to check if it is excludable. CannotExcludeCriteriaType = 17, - /// Partial failure is not supported for shopping campaign mutate operations. + /// Partial failure is not supported for shopping campaign mutate operations. CampaignTypeNotCompatibleWithPartialFailure = 27, - /// Operations in the mutate request changes too many shopping ad groups. - /// Please split requests for multiple shopping ad groups across multiple - /// requests. + /// Operations in the mutate request changes too many shopping ad groups. + /// Please split requests for multiple shopping ad groups across multiple + /// requests. OperationsForTooManyShoppingAdgroups = 28, - /// Not allowed to modify url fields of an ad group criterion if there are - /// duplicate elements for that ad group criterion in the request. + /// Not allowed to modify url fields of an ad group criterion if there are + /// duplicate elements for that ad group criterion in the request. CannotModifyUrlFieldsWithDuplicateElements = 29, - /// Cannot set url fields without also setting final urls. + /// Cannot set url fields without also setting final urls. CannotSetWithoutFinalUrls = 30, - /// Cannot clear final urls if final mobile urls exist. + /// Cannot clear final urls if final mobile urls exist. CannotClearFinalUrlsIfFinalMobileUrlsExist = 31, - /// Cannot clear final urls if final app urls exist. + /// Cannot clear final urls if final app urls exist. CannotClearFinalUrlsIfFinalAppUrlsExist = 32, - /// Cannot clear final urls if tracking url template exists. + /// Cannot clear final urls if tracking url template exists. CannotClearFinalUrlsIfTrackingUrlTemplateExists = 33, - /// Cannot clear final urls if url custom parameters exist. + /// Cannot clear final urls if url custom parameters exist. CannotClearFinalUrlsIfUrlCustomParametersExist = 34, - /// Cannot set both destination url and final urls. + /// Cannot set both destination url and final urls. CannotSetBothDestinationUrlAndFinalUrls = 35, - /// Cannot set both destination url and tracking url template. + /// Cannot set both destination url and tracking url template. CannotSetBothDestinationUrlAndTrackingUrlTemplate = 36, - /// Final urls are not supported for this criterion type. + /// Final urls are not supported for this criterion type. FinalUrlsNotSupportedForCriterionType = 37, - /// Final mobile urls are not supported for this criterion type. + /// Final mobile urls are not supported for this criterion type. FinalMobileUrlsNotSupportedForCriterionType = 38, } impl AdGroupCriterionError { @@ -1008,21 +1008,21 @@ pub mod ad_group_criterion_error_enum { } } } -// Proto file describing ad group customizer errors. +// Proto file describing ad group customizer errors. -/// Container for enum describing possible ad group customizer errors. +/// Container for enum describing possible ad group customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerErrorEnum { } /// Nested message and enum types in `AdGroupCustomizerErrorEnum`. pub mod ad_group_customizer_error_enum { - /// Enum describing possible ad group customizer errors. + /// Enum describing possible ad group customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl AdGroupCustomizerError { @@ -1038,54 +1038,54 @@ pub mod ad_group_customizer_error_enum { } } } -// Proto file describing ad group errors. +// Proto file describing ad group errors. -/// Container for enum describing possible ad group errors. +/// Container for enum describing possible ad group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupErrorEnum { } /// Nested message and enum types in `AdGroupErrorEnum`. pub mod ad_group_error_enum { - /// Enum describing possible ad group errors. + /// Enum describing possible ad group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// AdGroup with the same name already exists for the campaign. + /// AdGroup with the same name already exists for the campaign. DuplicateAdgroupName = 2, - /// AdGroup name is not valid. + /// AdGroup name is not valid. InvalidAdgroupName = 3, - /// Advertiser is not allowed to target sites or set site bids that are not - /// on the Google Search Network. + /// Advertiser is not allowed to target sites or set site bids that are not + /// on the Google Search Network. AdvertiserNotOnContentNetwork = 5, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 6, - /// AdGroup bid does not match the campaign's bidding strategy. + /// AdGroup bid does not match the campaign's bidding strategy. BidTypeAndBiddingStrategyMismatch = 7, - /// AdGroup name is required for Add. + /// AdGroup name is required for Add. MissingAdgroupName = 8, - /// No link found between the ad group and the label. + /// No link found between the ad group and the label. AdgroupLabelDoesNotExist = 9, - /// The label has already been attached to the ad group. + /// The label has already been attached to the ad group. AdgroupLabelAlreadyExists = 10, - /// The CriterionTypeGroup is not supported for the content bid dimension. + /// The CriterionTypeGroup is not supported for the content bid dimension. InvalidContentBidCriterionTypeGroup = 11, - /// The ad group type is not compatible with the campaign channel type. + /// The ad group type is not compatible with the campaign channel type. AdGroupTypeNotValidForAdvertisingChannelType = 12, - /// The ad group type is not supported in the country of sale of the - /// campaign. + /// The ad group type is not supported in the country of sale of the + /// campaign. AdgroupTypeNotSupportedForCampaignSalesCountry = 13, - /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to - /// campaigns that have DynamicSearchAdsSetting attached. + /// Ad groups of AdGroupType.SEARCH_DYNAMIC_ADS can only be added to + /// campaigns that have DynamicSearchAdsSetting attached. CannotAddAdgroupOfTypeDsaToCampaignWithoutDsaSetting = 14, - /// Promoted hotels ad groups are only available to customers on the - /// allow-list. + /// Promoted hotels ad groups are only available to customers on the + /// allow-list. PromotedHotelAdGroupsNotAvailableForCustomer = 15, - /// The field type cannot be excluded because an active ad group-asset link - /// of this type exists. + /// The field type cannot be excluded because an active ad group-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 16, } impl AdGroupError { @@ -1115,37 +1115,37 @@ pub mod ad_group_error_enum { } } } -// Proto file describing ad group feed errors. +// Proto file describing ad group feed errors. -/// Container for enum describing possible ad group feed errors. +/// Container for enum describing possible ad group feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedErrorEnum { } /// Nested message and enum types in `AdGroupFeedErrorEnum`. pub mod ad_group_feed_error_enum { - /// Enum describing possible ad group feed errors. + /// Enum describing possible ad group feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdGroupFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this ad group and place holder type. + /// An active feed already exists for this ad group and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The AdGroupFeed already exists. UPDATE operation should be used to modify - /// the existing AdGroupFeed. + /// The AdGroupFeed already exists. UPDATE operation should be used to modify + /// the existing AdGroupFeed. AdgroupFeedAlreadyExists = 4, - /// Cannot operate on removed AdGroupFeed. + /// Cannot operate on removed AdGroupFeed. CannotOperateOnRemovedAdgroupFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Location AdGroupFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location AdGroupFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 8, } impl AdGroupFeedError { @@ -1168,25 +1168,25 @@ pub mod ad_group_feed_error_enum { } } } -// Proto file describing ad parameter errors. +// Proto file describing ad parameter errors. -/// Container for enum describing possible ad parameter errors. +/// Container for enum describing possible ad parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterErrorEnum { } /// Nested message and enum types in `AdParameterErrorEnum`. pub mod ad_parameter_error_enum { - /// Enum describing possible ad parameter errors. + /// Enum describing possible ad parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The ad group criterion must be a keyword criterion. + /// The ad group criterion must be a keyword criterion. AdGroupCriterionMustBeKeyword = 2, - /// The insertion text is invalid. + /// The insertion text is invalid. InvalidInsertionTextFormat = 3, } impl AdParameterError { @@ -1204,28 +1204,28 @@ pub mod ad_parameter_error_enum { } } } -// Proto file describing ad sharing errors. +// Proto file describing ad sharing errors. -/// Container for enum describing possible ad sharing errors. +/// Container for enum describing possible ad sharing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdSharingErrorEnum { } /// Nested message and enum types in `AdSharingErrorEnum`. pub mod ad_sharing_error_enum { - /// Enum describing possible ad sharing errors. + /// Enum describing possible ad sharing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdSharingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error resulting in attempting to add an Ad to an AdGroup that already - /// contains the Ad. + /// Error resulting in attempting to add an Ad to an AdGroup that already + /// contains the Ad. AdGroupAlreadyContainsAd = 2, - /// Ad is not compatible with the AdGroup it is being shared with. + /// Ad is not compatible with the AdGroup it is being shared with. IncompatibleAdUnderAdGroup = 3, - /// Cannot add AdGroupAd on inactive Ad. + /// Cannot add AdGroupAd on inactive Ad. CannotShareInactiveAd = 4, } impl AdSharingError { @@ -1244,23 +1244,23 @@ pub mod ad_sharing_error_enum { } } } -// Proto file describing adx errors. +// Proto file describing adx errors. -/// Container for enum describing possible adx errors. +/// Container for enum describing possible adx errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdxErrorEnum { } /// Nested message and enum types in `AdxErrorEnum`. pub mod adx_error_enum { - /// Enum describing possible adx errors. + /// Enum describing possible adx errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdxError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Attempt to use non-AdX feature by AdX customer. + /// Attempt to use non-AdX feature by AdX customer. UnsupportedFeature = 2, } impl AdxError { @@ -1277,84 +1277,84 @@ pub mod adx_error_enum { } } } -// Proto file describing asset errors. +// Proto file describing asset errors. -/// Container for enum describing possible asset errors. +/// Container for enum describing possible asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetErrorEnum { } /// Nested message and enum types in `AssetErrorEnum`. pub mod asset_error_enum { - /// Enum describing possible asset errors. + /// Enum describing possible asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer is not is not on the allow-list for this asset type. + /// The customer is not is not on the allow-list for this asset type. CustomerNotOnAllowlistForAssetType = 13, - /// Assets are duplicated across operations. + /// Assets are duplicated across operations. DuplicateAsset = 3, - /// The asset name is duplicated, either across operations or with an - /// existing asset. + /// The asset name is duplicated, either across operations or with an + /// existing asset. DuplicateAssetName = 4, - /// The Asset.asset_data oneof is empty. + /// The Asset.asset_data oneof is empty. AssetDataIsMissing = 5, - /// The asset has a name which is different from an existing duplicate that - /// represents the same content. + /// The asset has a name which is different from an existing duplicate that + /// represents the same content. CannotModifyAssetName = 6, - /// The field cannot be set for this asset type. + /// The field cannot be set for this asset type. FieldIncompatibleWithAssetType = 7, - /// Call to action must come from the list of supported values. + /// Call to action must come from the list of supported values. InvalidCallToActionText = 8, - /// A lead form asset is created with an invalid combination of input fields. + /// A lead form asset is created with an invalid combination of input fields. LeadFormInvalidFieldsCombination = 9, - /// Lead forms require that the Terms of Service have been agreed to before - /// mutates can be executed. + /// Lead forms require that the Terms of Service have been agreed to before + /// mutates can be executed. LeadFormMissingAgreement = 10, - /// Asset status is invalid in this operation. + /// Asset status is invalid in this operation. InvalidAssetStatus = 11, - /// The field cannot be modified by this asset type. + /// The field cannot be modified by this asset type. FieldCannotBeModifiedForAssetType = 12, - /// Ad schedules for the same asset cannot overlap. + /// Ad schedules for the same asset cannot overlap. SchedulesCannotOverlap = 14, - /// Cannot set both percent off and money amount off fields of promotion - /// asset. + /// Cannot set both percent off and money amount off fields of promotion + /// asset. PromotionCannotSetPercentOffAndMoneyAmountOff = 15, - /// Cannot set both promotion code and orders over amount fields of promotion - /// asset. + /// Cannot set both promotion code and orders over amount fields of promotion + /// asset. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 16, - /// The field has too many decimal places specified. + /// The field has too many decimal places specified. TooManyDecimalPlacesSpecified = 17, - /// Duplicate assets across operations, which have identical Asset.asset_data - /// oneof, cannot have different asset level fields for asset types which are - /// deduped. + /// Duplicate assets across operations, which have identical Asset.asset_data + /// oneof, cannot have different asset level fields for asset types which are + /// deduped. DuplicateAssetsWithDifferentFieldValue = 18, - /// Carrier specific short number is not allowed. + /// Carrier specific short number is not allowed. CallCarrierSpecificShortNumberNotAllowed = 19, - /// Customer consent required for call recording Terms of Service. + /// Customer consent required for call recording Terms of Service. CallCustomerConsentForCallRecordingRequired = 20, - /// The type of the specified phone number is not allowed. + /// The type of the specified phone number is not allowed. CallDisallowedNumberType = 21, - /// If the default call_conversion_action is not used, the customer must have - /// a ConversionAction with the same id and the ConversionAction must be call - /// conversion type. + /// If the default call_conversion_action is not used, the customer must have + /// a ConversionAction with the same id and the ConversionAction must be call + /// conversion type. CallInvalidConversionAction = 22, - /// The country code of the phone number is invalid. + /// The country code of the phone number is invalid. CallInvalidCountryCode = 23, - /// The format of the phone number is incorrect. + /// The format of the phone number is incorrect. CallInvalidDomesticPhoneNumberFormat = 24, - /// The input phone number is not a valid phone number. + /// The input phone number is not a valid phone number. CallInvalidPhoneNumber = 25, - /// The phone number is not supported for country. + /// The phone number is not supported for country. CallPhoneNumberNotSupportedForCountry = 26, - /// Premium rate phone number is not allowed. + /// Premium rate phone number is not allowed. CallPremiumRateNumberNotAllowed = 27, - /// Vanity phone number is not allowed. + /// Vanity phone number is not allowed. CallVanityPhoneNumberNotAllowed = 28, - /// PriceOffering cannot have the same value for header and description. + /// PriceOffering cannot have the same value for header and description. PriceHeaderSameAsDescription = 29, } impl AssetError { @@ -1397,27 +1397,27 @@ pub mod asset_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group asset errors. +/// Container for enum describing possible asset group asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetErrorEnum { } /// Nested message and enum types in `AssetGroupAssetErrorEnum`. pub mod asset_group_asset_error_enum { - /// Enum describing possible asset group asset errors. + /// Enum describing possible asset group asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot add duplicated asset group asset. + /// Cannot add duplicated asset group asset. DuplicateResource = 2, - /// Expandable tags are not allowed in description assets. + /// Expandable tags are not allowed in description assets. ExpandableTagsNotAllowedInDescription = 3, - /// Ad customizers are not supported in assetgroup's text assets. + /// Ad customizers are not supported in assetgroup's text assets. AdCustomizerNotSupported = 4, } impl AssetGroupAssetError { @@ -1436,41 +1436,41 @@ pub mod asset_group_asset_error_enum { } } } -// Proto file describing asset group errors. +// Proto file describing asset group errors. -/// Container for enum describing possible asset group errors. +/// Container for enum describing possible asset group errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupErrorEnum { } /// Nested message and enum types in `AssetGroupErrorEnum`. pub mod asset_group_error_enum { - /// Enum describing possible asset group errors. + /// Enum describing possible asset group errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each asset group in a single campaign must have a unique name. + /// Each asset group in a single campaign must have a unique name. DuplicateName = 2, - /// Cannot add asset group for the campaign type. + /// Cannot add asset group for the campaign type. CannotAddAssetGroupForCampaignType = 3, - /// Not enough headline asset for a valid asset group. + /// Not enough headline asset for a valid asset group. NotEnoughHeadlineAsset = 4, - /// Not enough long headline asset for a valid asset group. + /// Not enough long headline asset for a valid asset group. NotEnoughLongHeadlineAsset = 5, - /// Not enough description headline asset for a valid asset group. + /// Not enough description headline asset for a valid asset group. NotEnoughDescriptionAsset = 6, - /// Not enough business name asset for a valid asset group. + /// Not enough business name asset for a valid asset group. NotEnoughBusinessNameAsset = 7, - /// Not enough marketing image asset for a valid asset group. + /// Not enough marketing image asset for a valid asset group. NotEnoughMarketingImageAsset = 8, - /// Not enough square marketing image asset for a valid asset group. + /// Not enough square marketing image asset for a valid asset group. NotEnoughSquareMarketingImageAsset = 9, - /// Not enough logo asset for a valid asset group. + /// Not enough logo asset for a valid asset group. NotEnoughLogoAsset = 10, - /// Final url and shopping merchant url does not have the same domain. + /// Final url and shopping merchant url does not have the same domain. FinalUrlShoppingMerchantHomePageUrlDomainsDiffer = 11, } impl AssetGroupError { @@ -1496,49 +1496,49 @@ pub mod asset_group_error_enum { } } } -// Proto file describing asset group asset errors. +// Proto file describing asset group asset errors. -/// Container for enum describing possible asset group listing group filter -/// errors. +/// Container for enum describing possible asset group listing group filter +/// errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterErrorEnum { } /// Nested message and enum types in `AssetGroupListingGroupFilterErrorEnum`. pub mod asset_group_listing_group_filter_error_enum { - /// Enum describing possible asset group listing group filter errors. + /// Enum describing possible asset group listing group filter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetGroupListingGroupFilterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Listing group tree is too deep. + /// Listing group tree is too deep. TreeTooDeep = 2, - /// Listing Group UNIT node cannot have children. + /// Listing Group UNIT node cannot have children. UnitCannotHaveChildren = 3, - /// Listing Group SUBDIVISION node must have everything else child. + /// Listing Group SUBDIVISION node must have everything else child. SubdivisionMustHaveEverythingElseChild = 4, - /// Dimension type of Listing Group must be the same as that of its siblings. + /// Dimension type of Listing Group must be the same as that of its siblings. DifferentDimensionTypeBetweenSiblings = 5, - /// The sibling Listing Groups target exactly the same dimension value. + /// The sibling Listing Groups target exactly the same dimension value. SameDimensionValueBetweenSiblings = 6, - /// The dimension type is the same as one of the ancestor Listing Groups. + /// The dimension type is the same as one of the ancestor Listing Groups. SameDimensionTypeBetweenAncestors = 7, - /// Each Listing Group tree must have a single root. + /// Each Listing Group tree must have a single root. MultipleRoots = 8, - /// Invalid Listing Group dimension value. + /// Invalid Listing Group dimension value. InvalidDimensionValue = 9, - /// Hierarchical dimension must refine a dimension of the same type. + /// Hierarchical dimension must refine a dimension of the same type. MustRefineHierarchicalParentType = 10, - /// Invalid Product Bidding Category. + /// Invalid Product Bidding Category. InvalidProductBiddingCategory = 11, - /// Modifying case value is allowed only while updating the entire subtree at - /// the same time. + /// Modifying case value is allowed only while updating the entire subtree at + /// the same time. ChangingCaseValueWithChildren = 12, - /// Subdivision node has children which must be removed first. + /// Subdivision node has children which must be removed first. SubdivisionHasChildren = 13, - /// Dimension can't subdivide everything-else node in its own hierarchy. + /// Dimension can't subdivide everything-else node in its own hierarchy. CannotRefineHierarchicalEverythingElse = 14, } impl AssetGroupListingGroupFilterError { @@ -1567,69 +1567,69 @@ pub mod asset_group_listing_group_filter_error_enum { } } } -// Proto file describing asset link errors. +// Proto file describing asset link errors. -/// Container for enum describing possible asset link errors. +/// Container for enum describing possible asset link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetLinkErrorEnum { } /// Nested message and enum types in `AssetLinkErrorEnum`. pub mod asset_link_error_enum { - /// Enum describing possible asset link errors. + /// Enum describing possible asset link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Pinning is not supported for the given asset link field. + /// Pinning is not supported for the given asset link field. PinningUnsupported = 2, - /// The given field type is not supported to be added directly via asset - /// links. + /// The given field type is not supported to be added directly via asset + /// links. UnsupportedFieldType = 3, - /// The given asset's type and the specified field type are incompatible. + /// The given asset's type and the specified field type are incompatible. FieldTypeIncompatibleWithAssetType = 4, - /// The specified field type is incompatible with the given campaign type. + /// The specified field type is incompatible with the given campaign type. FieldTypeIncompatibleWithCampaignType = 5, - /// The campaign advertising channel type cannot be associated with the given - /// asset due to channel-based restrictions on the asset's fields. + /// The campaign advertising channel type cannot be associated with the given + /// asset due to channel-based restrictions on the asset's fields. IncompatibleAdvertisingChannelType = 6, - /// The image asset provided is not within the dimension constraints - /// specified for the submitted asset field. + /// The image asset provided is not within the dimension constraints + /// specified for the submitted asset field. ImageNotWithinSpecifiedDimensionRange = 7, - /// The pinned field is not valid for the submitted asset field. + /// The pinned field is not valid for the submitted asset field. InvalidPinnedField = 8, - /// The media bundle asset provided is too large for the submitted asset - /// field. + /// The media bundle asset provided is too large for the submitted asset + /// field. MediaBundleAssetFileSizeTooLarge = 9, - /// Not enough assets are available for use with other fields since other - /// assets are pinned to specific fields. + /// Not enough assets are available for use with other fields since other + /// assets are pinned to specific fields. NotEnoughAvailableAssetLinksForValidCombination = 10, - /// Not enough assets with fallback are available. When validating the - /// minimum number of assets, assets without fallback (e.g. assets that - /// contain location tag without default value "{LOCATION(City)}") will not - /// be counted. + /// Not enough assets with fallback are available. When validating the + /// minimum number of assets, assets without fallback (e.g. assets that + /// contain location tag without default value "{LOCATION(City)}") will not + /// be counted. NotEnoughAvailableAssetLinksWithFallback = 11, - /// This is a combination of the - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and - /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets - /// with fallback are available since some assets are pinned. + /// This is a combination of the + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_FOR_VALID_COMBINATION and + /// NOT_ENOUGH_AVAILABLE_ASSET_LINKS_WITH_FALLBACK errors. Not enough assets + /// with fallback are available since some assets are pinned. NotEnoughAvailableAssetLinksWithFallbackForValidCombination = 12, - /// The YouTube video referenced in the provided asset has been removed. + /// The YouTube video referenced in the provided asset has been removed. YoutubeVideoRemoved = 13, - /// The YouTube video referenced in the provided asset is too long for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too long for the + /// field submitted. YoutubeVideoTooLong = 14, - /// The YouTube video referenced in the provided asset is too short for the - /// field submitted. + /// The YouTube video referenced in the provided asset is too short for the + /// field submitted. YoutubeVideoTooShort = 15, - /// The status is invalid for the operation specified. + /// The status is invalid for the operation specified. InvalidStatus = 17, - /// The YouTube video referenced in the provided asset has unknown duration. - /// This might be the case for a livestream video or a video being currently - /// uploaded to YouTube. In both cases, the video duration should eventually - /// get resolved. + /// The YouTube video referenced in the provided asset has unknown duration. + /// This might be the case for a livestream video or a video being currently + /// uploaded to YouTube. In both cases, the video duration should eventually + /// get resolved. YoutubeVideoDurationNotDefined = 18, } impl AssetLinkError { @@ -1661,30 +1661,30 @@ pub mod asset_link_error_enum { } } } -// Proto file describing asset set asset errors. +// Proto file describing asset set asset errors. -/// Container for enum describing possible asset set asset errors. +/// Container for enum describing possible asset set asset errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetErrorEnum { } /// Nested message and enum types in `AssetSetAssetErrorEnum`. pub mod asset_set_asset_error_enum { - /// Enum describing possible asset set asset errors. + /// Enum describing possible asset set asset errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetAssetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset type is not eligible to be linked to the specific type of asset - /// set. + /// The asset type is not eligible to be linked to the specific type of asset + /// set. InvalidAssetType = 2, - /// The asset set type is not eligible to contain the specified type of - /// assets. + /// The asset set type is not eligible to contain the specified type of + /// assets. InvalidAssetSetType = 3, - /// The asset contains duplicate external key with another asset in the asset - /// set. + /// The asset contains duplicate external key with another asset in the asset + /// set. DuplicateExternalKey = 4, } impl AssetSetAssetError { @@ -1703,23 +1703,23 @@ pub mod asset_set_asset_error_enum { } } } -// Proto file describing asset set errors. +// Proto file describing asset set errors. -/// Container for enum describing possible asset set errors. +/// Container for enum describing possible asset set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetErrorEnum { } /// Nested message and enum types in `AssetSetErrorEnum`. pub mod asset_set_error_enum { - /// Enum describing possible asset set errors. + /// Enum describing possible asset set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The asset set name matches that of another enabled asset set. + /// The asset set name matches that of another enabled asset set. DuplicateAssetSetName = 2, } impl AssetSetError { @@ -1736,33 +1736,33 @@ pub mod asset_set_error_enum { } } } -// Proto file describing asset set link errors. +// Proto file describing asset set link errors. -/// Container for enum describing possible asset set link errors. +/// Container for enum describing possible asset set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetLinkErrorEnum { } /// Nested message and enum types in `AssetSetLinkErrorEnum`. pub mod asset_set_link_error_enum { - /// Enum describing possible asset set link errors. + /// Enum describing possible asset set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AssetSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Advertising channel type cannot be attached to the asset set due to - /// channel-based restrictions. + /// Advertising channel type cannot be attached to the asset set due to + /// channel-based restrictions. IncompatibleAdvertisingChannelType = 2, - /// For this asset set type, only one campaign to feed linkage is allowed. + /// For this asset set type, only one campaign to feed linkage is allowed. DuplicateFeedLink = 3, - /// The asset set type and campaign type are incompatible. + /// The asset set type and campaign type are incompatible. IncompatibleAssetSetTypeWithCampaignType = 4, - /// Cannot link duplicate asset sets to the same campaign. + /// Cannot link duplicate asset sets to the same campaign. DuplicateAssetSetLink = 5, - /// Cannot remove the asset set link. If a campaign is linked with only one - /// asset set and you attempt to unlink them, this error will be triggered. + /// Cannot remove the asset set link. If a campaign is linked with only one + /// asset set and you attempt to unlink them, this error will be triggered. AssetSetLinkCannotBeRemoved = 6, } impl AssetSetLinkError { @@ -1783,62 +1783,62 @@ pub mod asset_set_link_error_enum { } } } -// Proto file describing authentication errors. +// Proto file describing authentication errors. -/// Container for enum describing possible authentication errors. +/// Container for enum describing possible authentication errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthenticationErrorEnum { } /// Nested message and enum types in `AuthenticationErrorEnum`. pub mod authentication_error_enum { - /// Enum describing possible authentication errors. + /// Enum describing possible authentication errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthenticationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Authentication of the request failed. + /// Authentication of the request failed. AuthenticationError = 2, - /// Client Customer ID is not a number. + /// Client Customer ID is not a number. ClientCustomerIdInvalid = 5, - /// No customer found for the provided customer ID. + /// No customer found for the provided customer ID. CustomerNotFound = 8, - /// Client's Google Account is deleted. + /// Client's Google Account is deleted. GoogleAccountDeleted = 9, - /// Google account login token in the cookie is invalid. + /// Google account login token in the cookie is invalid. GoogleAccountCookieInvalid = 10, - /// A problem occurred during Google account authentication. + /// A problem occurred during Google account authentication. GoogleAccountAuthenticationFailed = 25, - /// The user in the Google account login token does not match the user ID in - /// the cookie. + /// The user in the Google account login token does not match the user ID in + /// the cookie. GoogleAccountUserAndAdsUserMismatch = 12, - /// Login cookie is required for authentication. + /// Login cookie is required for authentication. LoginCookieRequired = 13, - /// User in the cookie is not a valid Ads user. + /// User in the cookie is not a valid Ads user. NotAdsUser = 14, - /// Oauth token in the header is not valid. + /// Oauth token in the header is not valid. OauthTokenInvalid = 15, - /// Oauth token in the header has expired. + /// Oauth token in the header has expired. OauthTokenExpired = 16, - /// Oauth token in the header has been disabled. + /// Oauth token in the header has been disabled. OauthTokenDisabled = 17, - /// Oauth token in the header has been revoked. + /// Oauth token in the header has been revoked. OauthTokenRevoked = 18, - /// Oauth token HTTP header is malformed. + /// Oauth token HTTP header is malformed. OauthTokenHeaderInvalid = 19, - /// Login cookie is not valid. + /// Login cookie is not valid. LoginCookieInvalid = 20, - /// User Id in the header is not a valid id. + /// User Id in the header is not a valid id. UserIdInvalid = 22, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable 2-Step Verification in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable 2-Step Verification in your + /// Google account at TwoStepVerificationNotEnrolled = 23, - /// An account administrator changed this account's authentication settings. - /// To access this Google Ads account, enable Advanced Protection in your - /// Google account at + /// An account administrator changed this account's authentication settings. + /// To access this Google Ads account, enable Advanced Protection in your + /// Google account at AdvancedProtectionNotEnrolled = 24, } impl AuthenticationError { @@ -1872,56 +1872,56 @@ pub mod authentication_error_enum { } } } -// Proto file describing authorization errors. +// Proto file describing authorization errors. -/// Container for enum describing possible authorization errors. +/// Container for enum describing possible authorization errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationErrorEnum { } /// Nested message and enum types in `AuthorizationErrorEnum`. pub mod authorization_error_enum { - /// Enum describing possible authorization errors. + /// Enum describing possible authorization errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User doesn't have permission to access customer. Note: If you're - /// accessing a client customer, the manager's customer ID must be set in the - /// `login-customer-id` header. Learn more at - /// + /// User doesn't have permission to access customer. Note: If you're + /// accessing a client customer, the manager's customer ID must be set in the + /// `login-customer-id` header. Learn more at + /// UserPermissionDenied = 2, - /// The developer token is not on the allow-list. + /// The developer token is not on the allow-list. DeveloperTokenNotOnAllowlist = 13, - /// The developer token is not allowed with the project sent in the request. + /// The developer token is not allowed with the project sent in the request. DeveloperTokenProhibited = 4, - /// The Google Cloud project sent in the request does not have permission to - /// access the api. + /// The Google Cloud project sent in the request does not have permission to + /// access the api. ProjectDisabled = 5, - /// Authorization of the client failed. + /// Authorization of the client failed. AuthorizationError = 6, - /// The user does not have permission to perform this action - /// (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. + /// The user does not have permission to perform this action + /// (e.g., ADD, UPDATE, REMOVE) on the resource or call a method. ActionNotPermitted = 7, - /// Signup not complete. + /// Signup not complete. IncompleteSignup = 8, - /// The customer can't be used because it isn't enabled. + /// The customer can't be used because it isn't enabled. CustomerNotEnabled = 24, - /// The developer must sign the terms of service. They can be found here: - /// ads.google.com/aw/apicenter + /// The developer must sign the terms of service. They can be found here: + /// ads.google.com/aw/apicenter MissingTos = 9, - /// The developer token is not approved. Non-approved developer tokens can - /// only be used with test accounts. + /// The developer token is not approved. Non-approved developer tokens can + /// only be used with test accounts. DeveloperTokenNotApproved = 10, - /// The login customer specified does not have access to the account - /// specified, so the request is invalid. + /// The login customer specified does not have access to the account + /// specified, so the request is invalid. InvalidLoginCustomerIdServingCustomerIdCombination = 11, - /// The developer specified does not have access to the service. + /// The developer specified does not have access to the service. ServiceAccessDenied = 12, - /// The customer (or login customer) isn't in Google Ads. It belongs to - /// another ads system. + /// The customer (or login customer) isn't in Google Ads. It belongs to + /// another ads system. AccessDeniedForAccountType = 25, } impl AuthorizationError { @@ -1950,34 +1950,34 @@ pub mod authorization_error_enum { } } } -// Proto file describing batch job errors. +// Proto file describing batch job errors. -/// Container for enum describing possible batch job errors. +/// Container for enum describing possible batch job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobErrorEnum { } /// Nested message and enum types in `BatchJobErrorEnum`. pub mod batch_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The batch job cannot add more operations or run after it has started - /// running. + /// The batch job cannot add more operations or run after it has started + /// running. CannotModifyJobAfterJobStartsRunning = 2, - /// The operations for an AddBatchJobOperations request were empty. + /// The operations for an AddBatchJobOperations request were empty. EmptyOperations = 3, - /// The sequence token for an AddBatchJobOperations request was invalid. + /// The sequence token for an AddBatchJobOperations request was invalid. InvalidSequenceToken = 4, - /// Batch job results can only be retrieved once the job is finished. + /// Batch job results can only be retrieved once the job is finished. ResultsNotReady = 5, - /// The page size for ListBatchJobResults was invalid. + /// The page size for ListBatchJobResults was invalid. InvalidPageSize = 6, - /// The batch job cannot be removed because it has started running. + /// The batch job cannot be removed because it has started running. CanOnlyRemovePendingJob = 7, } impl BatchJobError { @@ -1999,75 +1999,75 @@ pub mod batch_job_error_enum { } } } -// Proto file describing bidding errors. +// Proto file describing bidding errors. -/// Container for enum describing possible bidding errors. +/// Container for enum describing possible bidding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingErrorEnum { } /// Nested message and enum types in `BiddingErrorEnum`. pub mod bidding_error_enum { - /// Enum describing possible bidding errors. + /// Enum describing possible bidding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot transition to new bidding strategy. + /// Cannot transition to new bidding strategy. BiddingStrategyTransitionNotAllowed = 2, - /// Cannot attach bidding strategy to campaign. + /// Cannot attach bidding strategy to campaign. CannotAttachBiddingStrategyToCampaign = 7, - /// Bidding strategy is not supported or cannot be used as anonymous. + /// Bidding strategy is not supported or cannot be used as anonymous. InvalidAnonymousBiddingStrategyType = 10, - /// The type does not match the named strategy's type. + /// The type does not match the named strategy's type. InvalidBiddingStrategyType = 14, - /// The bid is invalid. + /// The bid is invalid. InvalidBid = 17, - /// Bidding strategy is not available for the account type. + /// Bidding strategy is not available for the account type. BiddingStrategyNotAvailableForAccountType = 18, - /// Conversion tracking is not enabled in the campaign that has value-based - /// bidding transitions. + /// Conversion tracking is not enabled in the campaign that has value-based + /// bidding transitions. ConversionTrackingNotEnabled = 19, - /// Not enough conversions tracked for value-based bidding transitions. + /// Not enough conversions tracked for value-based bidding transitions. NotEnoughConversions = 20, - /// Campaign can not be created with given bidding strategy. It can be - /// transitioned to the strategy, once eligible. + /// Campaign can not be created with given bidding strategy. It can be + /// transitioned to the strategy, once eligible. CannotCreateCampaignWithBiddingStrategy = 21, - /// Cannot target content network only as campaign uses Page One Promoted - /// bidding strategy. + /// Cannot target content network only as campaign uses Page One Promoted + /// bidding strategy. CannotTargetContentNetworkOnlyWithCampaignLevelPopBiddingStrategy = 23, - /// Budget Optimizer and Target Spend bidding strategies are not supported - /// for campaigns with AdSchedule targeting. + /// Budget Optimizer and Target Spend bidding strategies are not supported + /// for campaigns with AdSchedule targeting. BiddingStrategyNotSupportedWithAdSchedule = 24, - /// Pay per conversion is not available to all the customer, only few - /// customers on the allow-list can use this. + /// Pay per conversion is not available to all the customer, only few + /// customers on the allow-list can use this. PayPerConversionNotAvailableForCustomer = 25, - /// Pay per conversion is not allowed with Target CPA. + /// Pay per conversion is not allowed with Target CPA. PayPerConversionNotAllowedWithTargetCpa = 26, - /// Cannot set bidding strategy to Manual CPM for search network only - /// campaigns. + /// Cannot set bidding strategy to Manual CPM for search network only + /// campaigns. BiddingStrategyNotAllowedForSearchOnlyCampaigns = 27, - /// The bidding strategy is not supported for use in drafts or experiments. + /// The bidding strategy is not supported for use in drafts or experiments. BiddingStrategyNotSupportedInDraftsOrExperiments = 28, - /// Bidding strategy type does not support product type ad group criterion. + /// Bidding strategy type does not support product type ad group criterion. BiddingStrategyTypeDoesNotSupportProductTypeAdgroupCriterion = 29, - /// Bid amount is too small. + /// Bid amount is too small. BidTooSmall = 30, - /// Bid amount is too big. + /// Bid amount is too big. BidTooBig = 31, - /// Bid has too many fractional digit precision. + /// Bid has too many fractional digit precision. BidTooManyFractionalDigits = 32, - /// Invalid domain name specified. + /// Invalid domain name specified. InvalidDomainName = 33, - /// The field is not compatible with the payment mode. + /// The field is not compatible with the payment mode. NotCompatibleWithPaymentMode = 34, - /// The field is not compatible with the budget type. + /// The field is not compatible with the budget type. NotCompatibleWithBudgetType = 35, - /// The field is not compatible with the bidding strategy type. + /// The field is not compatible with the bidding strategy type. NotCompatibleWithBiddingStrategyType = 36, - /// Bidding strategy type is incompatible with shared budget. + /// Bidding strategy type is incompatible with shared budget. BiddingStrategyTypeIncompatibleWithSharedBudget = 37, } impl BiddingError { @@ -2107,33 +2107,33 @@ pub mod bidding_error_enum { } } } -// Proto file describing bidding strategy errors. +// Proto file describing bidding strategy errors. -/// Container for enum describing possible bidding strategy errors. +/// Container for enum describing possible bidding strategy errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyErrorEnum { } /// Nested message and enum types in `BiddingStrategyErrorEnum`. pub mod bidding_strategy_error_enum { - /// Enum describing possible bidding strategy errors. + /// Enum describing possible bidding strategy errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BiddingStrategyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Each bidding strategy must have a unique name. + /// Each bidding strategy must have a unique name. DuplicateName = 2, - /// Bidding strategy type is immutable. + /// Bidding strategy type is immutable. CannotChangeBiddingStrategyType = 3, - /// Only bidding strategies not linked to campaigns, adgroups or adgroup - /// criteria can be removed. + /// Only bidding strategies not linked to campaigns, adgroups or adgroup + /// criteria can be removed. CannotRemoveAssociatedStrategy = 4, - /// The specified bidding strategy is not supported. + /// The specified bidding strategy is not supported. BiddingStrategyNotSupported = 5, - /// The bidding strategy is incompatible with the campaign's bidding - /// strategy goal type. + /// The bidding strategy is incompatible with the campaign's bidding + /// strategy goal type. IncompatibleBiddingStrategyAndBiddingStrategyGoalType = 6, } impl BiddingStrategyError { @@ -2154,68 +2154,68 @@ pub mod bidding_strategy_error_enum { } } } -// Proto file describing billing setup errors. +// Proto file describing billing setup errors. -/// Container for enum describing possible billing setup errors. +/// Container for enum describing possible billing setup errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupErrorEnum { } /// Nested message and enum types in `BillingSetupErrorEnum`. pub mod billing_setup_error_enum { - /// Enum describing possible billing setup errors. + /// Enum describing possible billing setup errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BillingSetupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot specify both an existing payments account and a new payments - /// account when setting up billing. + /// Cannot specify both an existing payments account and a new payments + /// account when setting up billing. CannotUseExistingAndNewAccount = 2, - /// Cannot cancel an approved billing setup whose start time has passed. + /// Cannot cancel an approved billing setup whose start time has passed. CannotRemoveStartedBillingSetup = 3, - /// Cannot perform a Change of Bill-To (CBT) to the same payments account. + /// Cannot perform a Change of Bill-To (CBT) to the same payments account. CannotChangeBillingToSamePaymentsAccount = 4, - /// Billing setups can only be used by customers with ENABLED or DRAFT - /// status. + /// Billing setups can only be used by customers with ENABLED or DRAFT + /// status. BillingSetupNotPermittedForCustomerStatus = 5, - /// Billing setups must either include a correctly formatted existing - /// payments account id, or a non-empty new payments account name. + /// Billing setups must either include a correctly formatted existing + /// payments account id, or a non-empty new payments account name. InvalidPaymentsAccount = 6, - /// Only billable and third-party customers can create billing setups. + /// Only billable and third-party customers can create billing setups. BillingSetupNotPermittedForCustomerCategory = 7, - /// Billing setup creations can only use NOW for start time type. + /// Billing setup creations can only use NOW for start time type. InvalidStartTimeType = 8, - /// Billing setups can only be created for a third-party customer if they do - /// not already have a setup. + /// Billing setups can only be created for a third-party customer if they do + /// not already have a setup. ThirdPartyAlreadyHasBilling = 9, - /// Billing setups cannot be created if there is already a pending billing in - /// progress. + /// Billing setups cannot be created if there is already a pending billing in + /// progress. BillingSetupInProgress = 10, - /// Billing setups can only be created by customers who have permission to - /// setup billings. Users can contact a representative for help setting up - /// permissions. + /// Billing setups can only be created by customers who have permission to + /// setup billings. Users can contact a representative for help setting up + /// permissions. NoSignupPermission = 11, - /// Billing setups cannot be created if there is already a future-approved - /// billing. + /// Billing setups cannot be created if there is already a future-approved + /// billing. ChangeOfBillToInProgress = 12, - /// Requested payments profile not found. + /// Requested payments profile not found. PaymentsProfileNotFound = 13, - /// Requested payments account not found. + /// Requested payments account not found. PaymentsAccountNotFound = 14, - /// Billing setup creation failed because the payments profile is ineligible. + /// Billing setup creation failed because the payments profile is ineligible. PaymentsProfileIneligible = 15, - /// Billing setup creation failed because the payments account is ineligible. + /// Billing setup creation failed because the payments account is ineligible. PaymentsAccountIneligible = 16, - /// Billing setup creation failed because the payments profile needs internal - /// approval. + /// Billing setup creation failed because the payments profile needs internal + /// approval. CustomerNeedsInternalApproval = 17, - /// Payments account has different currency code than the current customer - /// and hence cannot be used to setup billing. + /// Payments account has different currency code than the current customer + /// and hence cannot be used to setup billing. PaymentsAccountIneligibleCurrencyCodeMismatch = 19, - /// A start time in the future cannot be used because there is currently no - /// active billing setup for this customer. + /// A start time in the future cannot be used because there is currently no + /// active billing setup for this customer. FutureStartTimeProhibited = 20, } impl BillingSetupError { @@ -2249,60 +2249,60 @@ pub mod billing_setup_error_enum { } } } -// Proto file describing campaign budget errors. +// Proto file describing campaign budget errors. -/// Container for enum describing possible campaign budget errors. +/// Container for enum describing possible campaign budget errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetErrorEnum { } /// Nested message and enum types in `CampaignBudgetErrorEnum`. pub mod campaign_budget_error_enum { - /// Enum describing possible campaign budget errors. + /// Enum describing possible campaign budget errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignBudgetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign budget cannot be shared. + /// The campaign budget cannot be shared. CampaignBudgetCannotBeShared = 17, - /// The requested campaign budget no longer exists. + /// The requested campaign budget no longer exists. CampaignBudgetRemoved = 2, - /// The campaign budget is associated with at least one campaign, and so the - /// campaign budget cannot be removed. + /// The campaign budget is associated with at least one campaign, and so the + /// campaign budget cannot be removed. CampaignBudgetInUse = 3, - /// Customer is not on the allow-list for this campaign budget period. + /// Customer is not on the allow-list for this campaign budget period. CampaignBudgetPeriodNotAvailable = 4, - /// This field is not mutable on implicitly shared campaign budgets + /// This field is not mutable on implicitly shared campaign budgets CannotModifyFieldOfImplicitlySharedCampaignBudget = 6, - /// Cannot change explicitly shared campaign budgets back to implicitly - /// shared ones. + /// Cannot change explicitly shared campaign budgets back to implicitly + /// shared ones. CannotUpdateCampaignBudgetToImplicitlyShared = 7, - /// An implicit campaign budget without a name cannot be changed to - /// explicitly shared campaign budget. + /// An implicit campaign budget without a name cannot be changed to + /// explicitly shared campaign budget. CannotUpdateCampaignBudgetToExplicitlySharedWithoutName = 8, - /// Cannot change an implicitly shared campaign budget to an explicitly - /// shared one. + /// Cannot change an implicitly shared campaign budget to an explicitly + /// shared one. CannotUpdateCampaignBudgetToExplicitlyShared = 9, - /// Only explicitly shared campaign budgets can be used with multiple - /// campaigns. + /// Only explicitly shared campaign budgets can be used with multiple + /// campaigns. CannotUseImplicitlySharedCampaignBudgetWithMultipleCampaigns = 10, - /// A campaign budget with this name already exists. + /// A campaign budget with this name already exists. DuplicateName = 11, - /// A money amount was not in the expected currency. + /// A money amount was not in the expected currency. MoneyAmountInWrongCurrency = 12, - /// A money amount was less than the minimum CPC for currency. + /// A money amount was less than the minimum CPC for currency. MoneyAmountLessThanCurrencyMinimumCpc = 13, - /// A money amount was greater than the maximum allowed. + /// A money amount was greater than the maximum allowed. MoneyAmountTooLarge = 14, - /// A money amount was negative. + /// A money amount was negative. NegativeMoneyAmount = 15, - /// A money amount was not a multiple of a minimum unit. + /// A money amount was not a multiple of a minimum unit. NonMultipleOfMinimumCurrencyUnit = 16, - /// Total budget amount must be unset when BudgetPeriod is DAILY. + /// Total budget amount must be unset when BudgetPeriod is DAILY. TotalBudgetAmountMustBeUnsetForBudgetPeriodDaily = 18, - /// The period of the budget is not allowed. + /// The period of the budget is not allowed. InvalidPeriod = 19, } impl CampaignBudgetError { @@ -2335,60 +2335,60 @@ pub mod campaign_budget_error_enum { } } } -// Proto file describing campaign criterion errors. +// Proto file describing campaign criterion errors. -/// Container for enum describing possible campaign criterion errors. +/// Container for enum describing possible campaign criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionErrorEnum { } /// Nested message and enum types in `CampaignCriterionErrorEnum`. pub mod campaign_criterion_error_enum { - /// Enum describing possible campaign criterion errors. + /// Enum describing possible campaign criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion (keyword v.s. placement) is required for - /// CREATE and UPDATE operations. + /// Concrete type of criterion (keyword v.s. placement) is required for + /// CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 3, - /// Criteria type can not be excluded for the campaign by the customer. like - /// AOL account type cannot target site type criteria + /// Criteria type can not be excluded for the campaign by the customer. like + /// AOL account type cannot target site type criteria CannotExcludeCriteriaType = 4, - /// Cannot set the campaign criterion status for this criteria type. + /// Cannot set the campaign criterion status for this criteria type. CannotSetStatusForCriteriaType = 5, - /// Cannot set the campaign criterion status for an excluded criteria. + /// Cannot set the campaign criterion status for an excluded criteria. CannotSetStatusForExcludedCriteria = 6, - /// Cannot target and exclude the same criterion. + /// Cannot target and exclude the same criterion. CannotTargetAndExclude = 7, - /// The mutate contained too many operations. + /// The mutate contained too many operations. TooManyOperations = 8, - /// This operator cannot be applied to a criterion of this type. + /// This operator cannot be applied to a criterion of this type. OperatorNotSupportedForCriterionType = 9, - /// The Shopping campaign sales country is not supported for - /// ProductSalesChannel targeting. + /// The Shopping campaign sales country is not supported for + /// ProductSalesChannel targeting. ShoppingCampaignSalesCountryNotSupportedForSalesChannel = 10, - /// The existing field can't be updated with CREATE operation. It can be - /// updated with UPDATE operation only. + /// The existing field can't be updated with CREATE operation. It can be + /// updated with UPDATE operation only. CannotAddExistingField = 11, - /// Negative criteria are immutable, so updates are not allowed. + /// Negative criteria are immutable, so updates are not allowed. CannotUpdateNegativeCriterion = 12, - /// Only free form names are allowed for negative Smart campaign keyword - /// theme. + /// Only free form names are allowed for negative Smart campaign keyword + /// theme. CannotSetNegativeKeywordThemeConstantCriterion = 13, - /// Invalid Smart campaign keyword theme constant criterion. + /// Invalid Smart campaign keyword theme constant criterion. InvalidKeywordThemeConstant = 14, - /// A Smart campaign keyword theme constant or free-form Smart campaign - /// keyword theme is required. + /// A Smart campaign keyword theme constant or free-form Smart campaign + /// keyword theme is required. MissingKeywordThemeConstantOrFreeFormKeywordTheme = 15, - /// A Smart campaign may not target proximity and location criteria - /// simultaneously. + /// A Smart campaign may not target proximity and location criteria + /// simultaneously. CannotTargetBothProximityAndLocationCriteriaForSmartCampaign = 16, - /// A Smart campaign may not target multiple proximity criteria. + /// A Smart campaign may not target multiple proximity criteria. CannotTargetMultipleProximityCriteriaForSmartCampaign = 17, } impl CampaignCriterionError { @@ -2420,21 +2420,21 @@ pub mod campaign_criterion_error_enum { } } } -// Proto file describing campaign customizer errors. +// Proto file describing campaign customizer errors. -/// Container for enum describing possible campaign customizer errors. +/// Container for enum describing possible campaign customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerErrorEnum { } /// Nested message and enum types in `CampaignCustomizerErrorEnum`. pub mod campaign_customizer_error_enum { - /// Enum describing possible campaign customizer errors. + /// Enum describing possible campaign customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CampaignCustomizerError { @@ -2450,46 +2450,46 @@ pub mod campaign_customizer_error_enum { } } } -// Proto file describing campaign draft errors. +// Proto file describing campaign draft errors. -/// Container for enum describing possible campaign draft errors. +/// Container for enum describing possible campaign draft errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftErrorEnum { } /// Nested message and enum types in `CampaignDraftErrorEnum`. pub mod campaign_draft_error_enum { - /// Enum describing possible campaign draft errors. + /// Enum describing possible campaign draft errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignDraftError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A draft with this name already exists for this campaign. + /// A draft with this name already exists for this campaign. DuplicateDraftName = 2, - /// The draft is removed and cannot be transitioned to another status. + /// The draft is removed and cannot be transitioned to another status. InvalidStatusTransitionFromRemoved = 3, - /// The draft has been promoted and cannot be transitioned to the specified - /// status. + /// The draft has been promoted and cannot be transitioned to the specified + /// status. InvalidStatusTransitionFromPromoted = 4, - /// The draft has failed to be promoted and cannot be transitioned to the - /// specified status. + /// The draft has failed to be promoted and cannot be transitioned to the + /// specified status. InvalidStatusTransitionFromPromoteFailed = 5, - /// This customer is not allowed to create drafts. + /// This customer is not allowed to create drafts. CustomerCannotCreateDraft = 6, - /// This campaign is not allowed to create drafts. + /// This campaign is not allowed to create drafts. CampaignCannotCreateDraft = 7, - /// This modification cannot be made on a draft. + /// This modification cannot be made on a draft. InvalidDraftChange = 8, - /// The draft cannot be transitioned to the specified status from its - /// current status. + /// The draft cannot be transitioned to the specified status from its + /// current status. InvalidStatusTransition = 9, - /// The campaign has reached the maximum number of drafts that can be created - /// for a campaign throughout its lifetime. No additional drafts can be - /// created for this campaign. Removed drafts also count towards this limit. + /// The campaign has reached the maximum number of drafts that can be created + /// for a campaign throughout its lifetime. No additional drafts can be + /// created for this campaign. Removed drafts also count towards this limit. MaxNumberOfDraftsPerCampaignReached = 10, - /// ListAsyncErrors was called without first promoting the draft. + /// ListAsyncErrors was called without first promoting the draft. ListErrorsForPromotedDraftOnly = 11, } impl CampaignDraftError { @@ -2515,132 +2515,132 @@ pub mod campaign_draft_error_enum { } } } -// Proto file describing campaign errors. +// Proto file describing campaign errors. -/// Container for enum describing possible campaign errors. +/// Container for enum describing possible campaign errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignErrorEnum { } /// Nested message and enum types in `CampaignErrorEnum`. pub mod campaign_error_enum { - /// Enum describing possible campaign errors. + /// Enum describing possible campaign errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot target content network. + /// Cannot target content network. CannotTargetContentNetwork = 3, - /// Cannot target search network. + /// Cannot target search network. CannotTargetSearchNetwork = 4, - /// Cannot cover search network without google search network. + /// Cannot cover search network without google search network. CannotTargetSearchNetworkWithoutGoogleSearch = 5, - /// Cannot target Google Search network for a CPM campaign. + /// Cannot target Google Search network for a CPM campaign. CannotTargetGoogleSearchForCpmCampaign = 6, - /// Must target at least one network. + /// Must target at least one network. CampaignMustTargetAtLeastOneNetwork = 7, - /// Only some Google partners are allowed to target partner search network. + /// Only some Google partners are allowed to target partner search network. CannotTargetPartnerSearchNetwork = 8, - /// Cannot target content network only as campaign has criteria-level bidding - /// strategy. + /// Cannot target content network only as campaign has criteria-level bidding + /// strategy. CannotTargetContentNetworkOnlyWithCriteriaLevelBiddingStrategy = 9, - /// Cannot modify the start or end date such that the campaign duration would - /// not contain the durations of all runnable trials. + /// Cannot modify the start or end date such that the campaign duration would + /// not contain the durations of all runnable trials. CampaignDurationMustContainAllRunnableTrials = 10, - /// Cannot modify dates, budget or status of a trial campaign. + /// Cannot modify dates, budget or status of a trial campaign. CannotModifyForTrialCampaign = 11, - /// Trying to modify the name of an active or paused campaign, where the name - /// is already assigned to another active or paused campaign. + /// Trying to modify the name of an active or paused campaign, where the name + /// is already assigned to another active or paused campaign. DuplicateCampaignName = 12, - /// Two fields are in conflicting modes. + /// Two fields are in conflicting modes. IncompatibleCampaignField = 13, - /// Campaign name cannot be used. + /// Campaign name cannot be used. InvalidCampaignName = 14, - /// Given status is invalid. + /// Given status is invalid. InvalidAdServingOptimizationStatus = 15, - /// Error in the campaign level tracking URL. + /// Error in the campaign level tracking URL. InvalidTrackingUrl = 16, - /// Cannot set both tracking URL template and tracking setting. A user has - /// to clear legacy tracking setting in order to add tracking URL template. + /// Cannot set both tracking URL template and tracking setting. A user has + /// to clear legacy tracking setting in order to add tracking URL template. CannotSetBothTrackingUrlTemplateAndTrackingSetting = 17, - /// The maximum number of impressions for Frequency Cap should be an integer - /// greater than 0. + /// The maximum number of impressions for Frequency Cap should be an integer + /// greater than 0. MaxImpressionsNotInRange = 18, - /// Only the Day, Week and Month time units are supported. + /// Only the Day, Week and Month time units are supported. TimeUnitNotSupported = 19, - /// Operation not allowed on a campaign whose serving status has ended + /// Operation not allowed on a campaign whose serving status has ended InvalidOperationIfServingStatusHasEnded = 20, - /// This budget is exclusively linked to a Campaign that is using experiments - /// so it cannot be shared. + /// This budget is exclusively linked to a Campaign that is using experiments + /// so it cannot be shared. BudgetCannotBeShared = 21, - /// Campaigns using experiments cannot use a shared budget. + /// Campaigns using experiments cannot use a shared budget. CampaignCannotUseSharedBudget = 22, - /// A different budget cannot be assigned to a campaign when there are - /// running or scheduled trials. + /// A different budget cannot be assigned to a campaign when there are + /// running or scheduled trials. CannotChangeBudgetOnCampaignWithTrials = 23, - /// No link found between the campaign and the label. + /// No link found between the campaign and the label. CampaignLabelDoesNotExist = 24, - /// The label has already been attached to the campaign. + /// The label has already been attached to the campaign. CampaignLabelAlreadyExists = 25, - /// A ShoppingSetting was not found when creating a shopping campaign. + /// A ShoppingSetting was not found when creating a shopping campaign. MissingShoppingSetting = 26, - /// The country in shopping setting is not an allowed country. + /// The country in shopping setting is not an allowed country. InvalidShoppingSalesCountry = 27, - /// The requested channel type is not available according to the customer's - /// account setting. + /// The requested channel type is not available according to the customer's + /// account setting. AdvertisingChannelTypeNotAvailableForAccountType = 31, - /// The AdvertisingChannelSubType is not a valid subtype of the primary - /// channel type. + /// The AdvertisingChannelSubType is not a valid subtype of the primary + /// channel type. InvalidAdvertisingChannelSubType = 32, - /// At least one conversion must be selected. + /// At least one conversion must be selected. AtLeastOneConversionMustBeSelected = 33, - /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode - /// at campaign is deprecated. + /// Setting ad rotation mode for a campaign is not allowed. Ad rotation mode + /// at campaign is deprecated. CannotSetAdRotationMode = 34, - /// Trying to change start date on a campaign that has started. + /// Trying to change start date on a campaign that has started. CannotModifyStartDateIfAlreadyStarted = 35, - /// Trying to modify a date into the past. + /// Trying to modify a date into the past. CannotSetDateToPast = 36, - /// Hotel center id in the hotel setting does not match any customer links. + /// Hotel center id in the hotel setting does not match any customer links. MissingHotelCustomerLink = 37, - /// Hotel center id in the hotel setting must match an active customer link. + /// Hotel center id in the hotel setting must match an active customer link. InvalidHotelCustomerLink = 38, - /// Hotel setting was not found when creating a hotel ads campaign. + /// Hotel setting was not found when creating a hotel ads campaign. MissingHotelSetting = 39, - /// A Campaign cannot use shared campaign budgets and be part of a campaign - /// group. + /// A Campaign cannot use shared campaign budgets and be part of a campaign + /// group. CannotUseSharedCampaignBudgetWhilePartOfCampaignGroup = 40, - /// The app ID was not found. + /// The app ID was not found. AppNotFound = 41, - /// Campaign.shopping_setting.enable_local is not supported for the specified - /// campaign type. + /// Campaign.shopping_setting.enable_local is not supported for the specified + /// campaign type. ShoppingEnableLocalNotSupportedForCampaignType = 42, - /// The merchant does not support the creation of campaigns for Shopping - /// Comparison Listing Ads. + /// The merchant does not support the creation of campaigns for Shopping + /// Comparison Listing Ads. MerchantNotAllowedForComparisonListingAds = 43, - /// The App campaign for engagement cannot be created because there aren't - /// enough installs. + /// The App campaign for engagement cannot be created because there aren't + /// enough installs. InsufficientAppInstallsCount = 44, - /// The App campaign for engagement cannot be created because the app is - /// sensitive. + /// The App campaign for engagement cannot be created because the app is + /// sensitive. SensitiveCategoryApp = 45, - /// Customers with Housing, Employment, or Credit ads must accept updated - /// personalized ads policy to continue creating campaigns. + /// Customers with Housing, Employment, or Credit ads must accept updated + /// personalized ads policy to continue creating campaigns. HecAgreementRequired = 46, - /// The field is not compatible with view through conversion optimization. + /// The field is not compatible with view through conversion optimization. NotCompatibleWithViewThroughConversionOptimization = 49, - /// The field type cannot be excluded because an active campaign-asset link - /// of this type exists. + /// The field type cannot be excluded because an active campaign-asset link + /// of this type exists. InvalidExcludedParentAssetFieldType = 48, - /// The app pre-registration campaign cannot be created for non-Android - /// applications. + /// The app pre-registration campaign cannot be created for non-Android + /// applications. CannotCreateAppPreRegistrationForNonAndroidApp = 50, - /// The campaign cannot be created since the app is not available for - /// pre-registration in any country. + /// The campaign cannot be created since the app is not available for + /// pre-registration in any country. AppNotAvailableToCreateAppPreRegistrationCampaign = 51, - /// The type of the Budget is not compatible with this Campaign. + /// The type of the Budget is not compatible with this Campaign. IncompatibleBudgetType = 52, } impl CampaignError { @@ -2702,48 +2702,48 @@ pub mod campaign_error_enum { } } } -// Proto file describing campaign experiment errors. +// Proto file describing campaign experiment errors. -/// Container for enum describing possible campaign experiment errors. +/// Container for enum describing possible campaign experiment errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentErrorEnum { } /// Nested message and enum types in `CampaignExperimentErrorEnum`. pub mod campaign_experiment_error_enum { - /// Enum describing possible campaign experiment errors. + /// Enum describing possible campaign experiment errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignExperimentError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active campaign or experiment with this name already exists. + /// An active campaign or experiment with this name already exists. DuplicateName = 2, - /// Experiment cannot be updated from the current state to the - /// requested target state. For example, an experiment can only graduate - /// if its status is ENABLED. + /// Experiment cannot be updated from the current state to the + /// requested target state. For example, an experiment can only graduate + /// if its status is ENABLED. InvalidTransition = 3, - /// Cannot create an experiment from a campaign using an explicitly shared - /// budget. + /// Cannot create an experiment from a campaign using an explicitly shared + /// budget. CannotCreateExperimentWithSharedBudget = 4, - /// Cannot create an experiment for a removed base campaign. + /// Cannot create an experiment for a removed base campaign. CannotCreateExperimentForRemovedBaseCampaign = 5, - /// Cannot create an experiment from a draft, which has a status other than - /// proposed. + /// Cannot create an experiment from a draft, which has a status other than + /// proposed. CannotCreateExperimentForNonProposedDraft = 6, - /// This customer is not allowed to create an experiment. + /// This customer is not allowed to create an experiment. CustomerCannotCreateExperiment = 7, - /// This campaign is not allowed to create an experiment. + /// This campaign is not allowed to create an experiment. CampaignCannotCreateExperiment = 8, - /// Trying to set an experiment duration which overlaps with another - /// experiment. + /// Trying to set an experiment duration which overlaps with another + /// experiment. ExperimentDurationsMustNotOverlap = 9, - /// All non-removed experiments must start and end within their campaign's - /// duration. + /// All non-removed experiments must start and end within their campaign's + /// duration. ExperimentDurationMustBeWithinCampaignDuration = 10, - /// The experiment cannot be modified because its status is in a terminal - /// state, such as REMOVED. + /// The experiment cannot be modified because its status is in a terminal + /// state, such as REMOVED. CannotMutateExperimentDueToStatus = 11, } impl CampaignExperimentError { @@ -2769,37 +2769,37 @@ pub mod campaign_experiment_error_enum { } } } -// Proto file describing campaign feed errors. +// Proto file describing campaign feed errors. -/// Container for enum describing possible campaign feed errors. +/// Container for enum describing possible campaign feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedErrorEnum { } /// Nested message and enum types in `CampaignFeedErrorEnum`. pub mod campaign_feed_error_enum { - /// Enum describing possible campaign feed errors. + /// Enum describing possible campaign feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this campaign and placeholder type. + /// An active feed already exists for this campaign and placeholder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 4, - /// The CampaignFeed already exists. UPDATE should be used to modify the - /// existing CampaignFeed. + /// The CampaignFeed already exists. UPDATE should be used to modify the + /// existing CampaignFeed. CannotCreateAlreadyExistingCampaignFeed = 5, - /// Cannot update removed campaign feed. + /// Cannot update removed campaign feed. CannotModifyRemovedCampaignFeed = 6, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 7, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 8, - /// Location CampaignFeeds cannot be created unless there is a location - /// CustomerFeed for the specified feed. + /// Location CampaignFeeds cannot be created unless there is a location + /// CustomerFeed for the specified feed. NoExistingLocationCustomerFeed = 9, } impl CampaignFeedError { @@ -2822,23 +2822,23 @@ pub mod campaign_feed_error_enum { } } } -// Proto file describing campaign shared set errors. +// Proto file describing campaign shared set errors. -/// Container for enum describing possible campaign shared set errors. +/// Container for enum describing possible campaign shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetErrorEnum { } /// Nested message and enum types in `CampaignSharedSetErrorEnum`. pub mod campaign_shared_set_error_enum { - /// Enum describing possible campaign shared set errors. + /// Enum describing possible campaign shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CampaignSharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The shared set belongs to another customer and permission isn't granted. + /// The shared set belongs to another customer and permission isn't granted. SharedSetAccessDenied = 2, } impl CampaignSharedSetError { @@ -2855,35 +2855,35 @@ pub mod campaign_shared_set_error_enum { } } } -// Proto file describing change event errors. +// Proto file describing change event errors. -/// Container for enum describing possible change event errors. +/// Container for enum describing possible change event errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEventErrorEnum { } /// Nested message and enum types in `ChangeEventErrorEnum`. pub mod change_event_error_enum { - /// Enum describing possible change event errors. + /// Enum describing possible change event errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeEventError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. It cannot be older than 30 days. + /// The requested start date is too old. It cannot be older than 30 days. StartDateTooOld = 2, - /// The change_event search request must specify a finite range filter - /// on change_date_time. + /// The change_event search request must specify a finite range filter + /// on change_date_time. ChangeDateRangeInfinite = 3, - /// The change event search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change event search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 4, - /// The change_event search request must specify a LIMIT. + /// The change_event search request must specify a LIMIT. LimitNotSpecified = 5, - /// The LIMIT specified by change_event request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_event request should be less than or equal + /// to 10K. InvalidLimitClause = 6, } impl ChangeEventError { @@ -2904,35 +2904,35 @@ pub mod change_event_error_enum { } } } -// Proto file describing change status errors. +// Proto file describing change status errors. -/// Container for enum describing possible change status errors. +/// Container for enum describing possible change status errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatusErrorEnum { } /// Nested message and enum types in `ChangeStatusErrorEnum`. pub mod change_status_error_enum { - /// Enum describing possible change status errors. + /// Enum describing possible change status errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeStatusError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The requested start date is too old. + /// The requested start date is too old. StartDateTooOld = 3, - /// The change_status search request must specify a finite range filter - /// on last_change_date_time. + /// The change_status search request must specify a finite range filter + /// on last_change_date_time. ChangeDateRangeInfinite = 4, - /// The change status search request has specified invalid date time filters - /// that can never logically produce any valid results (for example, start - /// time after end time). + /// The change status search request has specified invalid date time filters + /// that can never logically produce any valid results (for example, start + /// time after end time). ChangeDateRangeNegative = 5, - /// The change_status search request must specify a LIMIT. + /// The change_status search request must specify a LIMIT. LimitNotSpecified = 6, - /// The LIMIT specified by change_status request should be less than or equal - /// to 10K. + /// The LIMIT specified by change_status request should be less than or equal + /// to 10K. InvalidLimitClause = 7, } impl ChangeStatusError { @@ -2953,25 +2953,25 @@ pub mod change_status_error_enum { } } } -// Proto file describing collection size errors. +// Proto file describing collection size errors. -/// Container for enum describing possible collection size errors. +/// Container for enum describing possible collection size errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CollectionSizeErrorEnum { } /// Nested message and enum types in `CollectionSizeErrorEnum`. pub mod collection_size_error_enum { - /// Enum describing possible collection size errors. + /// Enum describing possible collection size errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CollectionSizeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too few. + /// Too few. TooFew = 2, - /// Too many. + /// Too many. TooMany = 3, } impl CollectionSizeError { @@ -2989,25 +2989,25 @@ pub mod collection_size_error_enum { } } } -// Proto file describing context errors. +// Proto file describing context errors. -/// Container for enum describing possible context errors. +/// Container for enum describing possible context errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextErrorEnum { } /// Nested message and enum types in `ContextErrorEnum`. pub mod context_error_enum { - /// Enum describing possible context errors. + /// Enum describing possible context errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContextError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The operation is not allowed for the given context. + /// The operation is not allowed for the given context. OperationNotPermittedForContext = 2, - /// The operation is not allowed for removed resources. + /// The operation is not allowed for removed resources. OperationNotPermittedForRemovedResource = 3, } impl ContextError { @@ -3025,49 +3025,49 @@ pub mod context_error_enum { } } } -// Proto file describing conversion action errors. +// Proto file describing conversion action errors. -/// Container for enum describing possible conversion action errors. +/// Container for enum describing possible conversion action errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionErrorEnum { } /// Nested message and enum types in `ConversionActionErrorEnum`. pub mod conversion_action_error_enum { - /// Enum describing possible conversion action errors. + /// Enum describing possible conversion action errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionActionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action name already exists. + /// The specified conversion action name already exists. DuplicateName = 2, - /// Another conversion action with the specified app id already exists. + /// Another conversion action with the specified app id already exists. DuplicateAppId = 3, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. TwoConversionActionsBiddingOnSameAppDownload = 4, - /// Android first open action conflicts with Google play codeless download - /// action tracking the same app. + /// Android first open action conflicts with Google play codeless download + /// action tracking the same app. BiddingOnSameAppDownloadAsGlobalAction = 5, - /// The attribution model cannot be set to DATA_DRIVEN because a data-driven - /// model has never been generated. + /// The attribution model cannot be set to DATA_DRIVEN because a data-driven + /// model has never been generated. DataDrivenModelWasNeverGenerated = 6, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is expired. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is expired. DataDrivenModelExpired = 7, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is stale. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is stale. DataDrivenModelStale = 8, - /// The attribution model cannot be set to DATA_DRIVEN because the - /// data-driven model is unavailable or the conversion action was newly - /// added. + /// The attribution model cannot be set to DATA_DRIVEN because the + /// data-driven model is unavailable or the conversion action was newly + /// added. DataDrivenModelUnknown = 9, - /// Creation of this conversion action type isn't supported by Google - /// Ads API. + /// Creation of this conversion action type isn't supported by Google + /// Ads API. CreationNotSupported = 10, - /// Update of this conversion action isn't supported by Google Ads API. + /// Update of this conversion action isn't supported by Google Ads API. UpdateNotSupported = 11, } impl ConversionActionError { @@ -3093,79 +3093,79 @@ pub mod conversion_action_error_enum { } } } -// Proto file describing conversion adjustment upload errors. +// Proto file describing conversion adjustment upload errors. -/// Container for enum describing possible conversion adjustment upload errors. +/// Container for enum describing possible conversion adjustment upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentUploadErrorEnum { } /// Nested message and enum types in `ConversionAdjustmentUploadErrorEnum`. pub mod conversion_adjustment_upload_error_enum { - /// Enum describing possible conversion adjustment upload errors. + /// Enum describing possible conversion adjustment upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionAdjustmentUploadError { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified conversion action was created too recently. - /// Please try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Please try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 2, - /// No conversion action of a supported ConversionActionType that matches the - /// provided information can be found for the customer. + /// No conversion action of a supported ConversionActionType that matches the + /// provided information can be found for the customer. InvalidConversionAction = 3, - /// A retraction was already reported for this conversion. + /// A retraction was already reported for this conversion. ConversionAlreadyRetracted = 4, - /// A conversion for the supplied combination of conversion - /// action and conversion identifier could not be found. + /// A conversion for the supplied combination of conversion + /// action and conversion identifier could not be found. ConversionNotFound = 5, - /// The specified conversion has already expired. Conversions expire after 55 - /// days, after which adjustments cannot be reported against them. + /// The specified conversion has already expired. Conversions expire after 55 + /// days, after which adjustments cannot be reported against them. ConversionExpired = 6, - /// The supplied adjustment date time precedes that of the original - /// conversion. + /// The supplied adjustment date time precedes that of the original + /// conversion. AdjustmentPrecedesConversion = 7, - /// A restatement with a more recent adjustment date time was already - /// reported for this conversion. + /// A restatement with a more recent adjustment date time was already + /// reported for this conversion. MoreRecentRestatementFound = 8, - /// The conversion was created too recently. + /// The conversion was created too recently. TooRecentConversion = 9, - /// Restatements cannot be reported for a conversion action that always uses - /// the default value. + /// Restatements cannot be reported for a conversion action that always uses + /// the default value. CannotRestateConversionActionThatAlwaysUsesDefaultConversionValue = 10, - /// The request contained more than 2000 adjustments. + /// The request contained more than 2000 adjustments. TooManyAdjustmentsInRequest = 11, - /// The conversion has been adjusted too many times. + /// The conversion has been adjusted too many times. TooManyAdjustments = 12, - /// A restatement with this timestamp already exists for this conversion. To - /// upload another adjustment, please use a different timestamp. + /// A restatement with this timestamp already exists for this conversion. To + /// upload another adjustment, please use a different timestamp. RestatementAlreadyExists = 13, - /// This adjustment has the same timestamp as another adjustment in the - /// request for this conversion. To upload another adjustment, please use a - /// different timestamp. + /// This adjustment has the same timestamp as another adjustment in the + /// request for this conversion. To upload another adjustment, please use a + /// different timestamp. DuplicateAdjustmentInRequest = 14, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 15, - /// The enhanced conversion settings of the conversion action supplied is - /// not eligible for enhancements. + /// The enhanced conversion settings of the conversion action supplied is + /// not eligible for enhancements. ConversionActionNotEligibleForEnhancement = 16, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 17, - /// The provided user identifier is not supported. - /// ConversionAdjustmentUploadService only supports hashed_email, - /// hashed_phone_number, and address_info. + /// The provided user identifier is not supported. + /// ConversionAdjustmentUploadService only supports hashed_email, + /// hashed_phone_number, and address_info. UnsupportedUserIdentifier = 18, - /// Cannot set both gclid_date_time_pair and order_id. + /// Cannot set both gclid_date_time_pair and order_id. GclidDateTimePairAndOrderIdBothSet = 20, - /// An enhancement with this conversion action and order_id already exists - /// for this conversion. + /// An enhancement with this conversion action and order_id already exists + /// for this conversion. ConversionAlreadyEnhanced = 21, - /// This enhancement has the same conversion action and order_id as - /// another enhancement in the request. + /// This enhancement has the same conversion action and order_id as + /// another enhancement in the request. DuplicateEnhancementInRequest = 22, } impl ConversionAdjustmentUploadError { @@ -3201,25 +3201,25 @@ pub mod conversion_adjustment_upload_error_enum { } } } -// Proto file describing conversion custom variable errors. +// Proto file describing conversion custom variable errors. -/// Container for enum describing possible conversion custom variable errors. +/// Container for enum describing possible conversion custom variable errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableErrorEnum { } /// Nested message and enum types in `ConversionCustomVariableErrorEnum`. pub mod conversion_custom_variable_error_enum { - /// Enum describing possible conversion custom variable errors. + /// Enum describing possible conversion custom variable errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionCustomVariableError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A conversion custom variable with the specified name already exists. + /// A conversion custom variable with the specified name already exists. DuplicateName = 2, - /// A conversion custom variable with the specified tag already exists. + /// A conversion custom variable with the specified tag already exists. DuplicateTag = 3, } impl ConversionCustomVariableError { @@ -3237,140 +3237,140 @@ pub mod conversion_custom_variable_error_enum { } } } -// Proto file describing conversion upload errors. +// Proto file describing conversion upload errors. -/// Container for enum describing possible conversion upload errors. +/// Container for enum describing possible conversion upload errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionUploadErrorEnum { } /// Nested message and enum types in `ConversionUploadErrorEnum`. pub mod conversion_upload_error_enum { - /// Enum describing possible conversion upload errors. + /// Enum describing possible conversion upload errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The request contained more than 2000 conversions. + /// The request contained more than 2000 conversions. TooManyConversionsInRequest = 2, - /// The specified gclid could not be decoded. + /// The specified gclid could not be decoded. UnparseableGclid = 3, - /// The specified conversion_date_time is before the event time - /// associated with the given identifier or iOS URL parameter. + /// The specified conversion_date_time is before the event time + /// associated with the given identifier or iOS URL parameter. ConversionPrecedesEvent = 42, - /// The click associated with the given identifier or iOS URL parameter is - /// either too old to be imported or occurred outside of the click through - /// lookback window for the specified conversion action. + /// The click associated with the given identifier or iOS URL parameter is + /// either too old to be imported or occurred outside of the click through + /// lookback window for the specified conversion action. ExpiredEvent = 43, - /// The click associated with the given identifier or iOS URL parameter - /// occurred too recently. Please try uploading again after 6 hours have - /// passed since the click occurred. + /// The click associated with the given identifier or iOS URL parameter + /// occurred too recently. Please try uploading again after 6 hours have + /// passed since the click occurred. TooRecentEvent = 44, - /// The click associated with the given identifier or iOS URL parameter could - /// not be found in the system. This can happen if the identifier or iOS URL - /// parameter are collected for non Google Ads clicks. + /// The click associated with the given identifier or iOS URL parameter could + /// not be found in the system. This can happen if the identifier or iOS URL + /// parameter are collected for non Google Ads clicks. EventNotFound = 45, - /// The click associated with the given identifier or iOS URL parameter is - /// owned by a customer account that the uploading customer does not manage. + /// The click associated with the given identifier or iOS URL parameter is + /// owned by a customer account that the uploading customer does not manage. UnauthorizedCustomer = 8, - /// No upload eligible conversion action that matches the provided - /// information can be found for the customer. + /// No upload eligible conversion action that matches the provided + /// information can be found for the customer. InvalidConversionAction = 9, - /// The specified conversion action was created too recently. - /// Please try the upload again after 4-6 hours have passed since the - /// conversion action was created. + /// The specified conversion action was created too recently. + /// Please try the upload again after 4-6 hours have passed since the + /// conversion action was created. TooRecentConversionAction = 10, - /// The click associated with the given identifier does not contain - /// conversion tracking information. + /// The click associated with the given identifier does not contain + /// conversion tracking information. ConversionTrackingNotEnabledAtImpressionTime = 11, - /// The specified conversion action does not use an external attribution - /// model, but external_attribution_data was set. + /// The specified conversion action does not use an external attribution + /// model, but external_attribution_data was set. ExternalAttributionDataSetForNonExternallyAttributedConversionAction = 12, - /// The specified conversion action uses an external attribution model, but - /// external_attribution_data or one of its contained fields was not set. - /// Both external_attribution_credit and external_attribution_model must be - /// set for externally attributed conversion actions. + /// The specified conversion action uses an external attribution model, but + /// external_attribution_data or one of its contained fields was not set. + /// Both external_attribution_credit and external_attribution_model must be + /// set for externally attributed conversion actions. ExternalAttributionDataNotSetForExternallyAttributedConversionAction = 13, - /// Order IDs are not supported for conversion actions which use an external - /// attribution model. + /// Order IDs are not supported for conversion actions which use an external + /// attribution model. OrderIdNotPermittedForExternallyAttributedConversionAction = 14, - /// A conversion with the same order id and conversion action combination - /// already exists in our system. + /// A conversion with the same order id and conversion action combination + /// already exists in our system. OrderIdAlreadyInUse = 15, - /// The request contained two or more conversions with the same order id and - /// conversion action combination. + /// The request contained two or more conversions with the same order id and + /// conversion action combination. DuplicateOrderId = 16, - /// The call occurred too recently. Please try uploading again after 12 hours - /// have passed since the call occurred. + /// The call occurred too recently. Please try uploading again after 12 hours + /// have passed since the call occurred. TooRecentCall = 17, - /// The click that initiated the call is too old for this conversion to be - /// imported. + /// The click that initiated the call is too old for this conversion to be + /// imported. ExpiredCall = 18, - /// The call or the click leading to the call was not found. + /// The call or the click leading to the call was not found. CallNotFound = 19, - /// The specified conversion_date_time is before the call_start_date_time. + /// The specified conversion_date_time is before the call_start_date_time. ConversionPrecedesCall = 20, - /// The click associated with the call does not contain conversion tracking - /// information. + /// The click associated with the call does not contain conversion tracking + /// information. ConversionTrackingNotEnabledAtCallTime = 21, - /// The caller’s phone number cannot be parsed. It should be formatted either - /// as E.164 "+16502531234", International "+64 3-331 6005" or US national - /// number "6502531234". + /// The caller’s phone number cannot be parsed. It should be formatted either + /// as E.164 "+16502531234", International "+64 3-331 6005" or US national + /// number "6502531234". UnparseableCallersPhoneNumber = 22, - /// A conversion with this timestamp already exists for this click. To upload - /// another conversion, please use a different timestamp. + /// A conversion with this timestamp already exists for this click. To upload + /// another conversion, please use a different timestamp. ClickConversionAlreadyExists = 23, - /// A conversion with this timestamp already exists for this call. To upload - /// another conversion, please use a different timestamp. + /// A conversion with this timestamp already exists for this call. To upload + /// another conversion, please use a different timestamp. CallConversionAlreadyExists = 24, - /// This conversion has the same click and timestamp as another conversion in - /// the request. To upload another conversion for this click, please use a - /// different timestamp. + /// This conversion has the same click and timestamp as another conversion in + /// the request. To upload another conversion for this click, please use a + /// different timestamp. DuplicateClickConversionInRequest = 25, - /// This conversion has the same call and timestamp as another conversion in - /// the request. To upload another conversion for this call, please use a - /// different timestamp. + /// This conversion has the same call and timestamp as another conversion in + /// the request. To upload another conversion for this call, please use a + /// different timestamp. DuplicateCallConversionInRequest = 26, - /// The custom variable is not enabled. + /// The custom variable is not enabled. CustomVariableNotEnabled = 28, - /// The value of the custom variable contains private customer data, such - /// as email addresses or phone numbers. + /// The value of the custom variable contains private customer data, such + /// as email addresses or phone numbers. CustomVariableValueContainsPii = 29, - /// The click associated with the given identifier or iOS URL parameter isn't - /// from the account where conversion tracking is set up. + /// The click associated with the given identifier or iOS URL parameter isn't + /// from the account where conversion tracking is set up. InvalidCustomerForClick = 30, - /// The click associated with the given call isn't from the account where - /// conversion tracking is set up. + /// The click associated with the given call isn't from the account where + /// conversion tracking is set up. InvalidCustomerForCall = 31, - /// The conversion can't be uploaded because the conversion source didn't - /// comply with the App Tracking Transparency (ATT) policy or the person who - /// converted didn't consent to tracking. + /// The conversion can't be uploaded because the conversion source didn't + /// comply with the App Tracking Transparency (ATT) policy or the person who + /// converted didn't consent to tracking. ConversionNotCompliantWithAttPolicy = 32, - /// No click was found for the provided user identifiers that could be - /// applied to the specified conversion action. + /// No click was found for the provided user identifiers that could be + /// applied to the specified conversion action. ClickNotFound = 33, - /// The provided user identifier is not a SHA-256 hash. It is either unhashed - /// or hashed using a different hash function. + /// The provided user identifier is not a SHA-256 hash. It is either unhashed + /// or hashed using a different hash function. InvalidUserIdentifier = 34, - /// Conversion actions which use an external attribution model cannot be used - /// with UserIdentifier. + /// Conversion actions which use an external attribution model cannot be used + /// with UserIdentifier. ExternallyAttributedConversionActionNotPermittedWithUserIdentifier = 35, - /// The provided user identifier is not supported. ConversionUploadService - /// only supports hashed_email and hashed_phone_number. + /// The provided user identifier is not supported. ConversionUploadService + /// only supports hashed_email and hashed_phone_number. UnsupportedUserIdentifier = 36, - /// gbraid and wbraid are both set in the request. Only one is allowed. + /// gbraid and wbraid are both set in the request. Only one is allowed. GbraidWbraidBothSet = 38, - /// The specified wbraid could not be decoded. + /// The specified wbraid could not be decoded. UnparseableWbraid = 39, - /// The specified gbraid could not be decoded. + /// The specified gbraid could not be decoded. UnparseableGbraid = 40, - /// Conversion types which use an external attribution model cannot be used - /// with gbraid or wbraid. + /// Conversion types which use an external attribution model cannot be used + /// with gbraid or wbraid. ExternallyAttributedConversionTypeNotPermittedWithBraid = 41, - /// Conversion actions which use the one-per-click counting type cannot be - /// used with gbraid or wbraid. + /// Conversion actions which use the one-per-click counting type cannot be + /// used with gbraid or wbraid. OnePerClickConversionActionNotPermittedWithBraid = 46, } impl ConversionUploadError { @@ -3425,57 +3425,57 @@ pub mod conversion_upload_error_enum { } } } -// Proto file describing conversion value rule errors. +// Proto file describing conversion value rule errors. -/// Container for enum describing possible conversion value rule errors. +/// Container for enum describing possible conversion value rule errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleErrorEnum { } /// Nested message and enum types in `ConversionValueRuleErrorEnum`. pub mod conversion_value_rule_error_enum { - /// Enum describing possible conversion value rule errors. + /// Enum describing possible conversion value rule errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The value rule's geo location condition contains invalid geo target - /// constant(s), i.e. there's no matching geo target. + /// The value rule's geo location condition contains invalid geo target + /// constant(s), i.e. there's no matching geo target. InvalidGeoTargetConstant = 2, - /// The value rule's geo location condition contains conflicting included and - /// excluded geo targets. Specifically, some of the excluded geo target(s) - /// are the same as or contain some of the included geo target(s). For - /// example, the geo location condition includes California but excludes U.S. + /// The value rule's geo location condition contains conflicting included and + /// excluded geo targets. Specifically, some of the excluded geo target(s) + /// are the same as or contain some of the included geo target(s). For + /// example, the geo location condition includes California but excludes U.S. ConflictingIncludedAndExcludedGeoTarget = 3, - /// User specified conflicting conditions for two value rules in the same - /// value rule set. + /// User specified conflicting conditions for two value rules in the same + /// value rule set. ConflictingConditions = 4, - /// The value rule cannot be removed because it's still included in some - /// value rule set. + /// The value rule cannot be removed because it's still included in some + /// value rule set. CannotRemoveIfIncludedInValueRuleSet = 5, - /// The value rule contains a condition that's not allowed by the value rule - /// set including this value rule. + /// The value rule contains a condition that's not allowed by the value rule + /// set including this value rule. ConditionNotAllowed = 6, - /// The value rule contains a field that should be unset. + /// The value rule contains a field that should be unset. FieldMustBeUnset = 7, - /// Pausing the value rule requires pausing the value rule set because the - /// value rule is (one of) the last enabled in the value rule set. + /// Pausing the value rule requires pausing the value rule set because the + /// value rule is (one of) the last enabled in the value rule set. CannotPauseUnlessValueRuleSetIsPaused = 8, - /// The value rule's geo location condition contains untargetable geo target - /// constant(s). + /// The value rule's geo location condition contains untargetable geo target + /// constant(s). UntargetableGeoTarget = 9, - /// The value rule's audience condition contains invalid user list(s). In - /// another word, there's no matching user list. + /// The value rule's audience condition contains invalid user list(s). In + /// another word, there's no matching user list. InvalidAudienceUserList = 10, - /// The value rule's audience condition contains inaccessible user list(s). + /// The value rule's audience condition contains inaccessible user list(s). InaccessibleUserList = 11, - /// The value rule's audience condition contains invalid user_interest(s). - /// This might be because there is no matching user interest, or the user - /// interest is not visible. + /// The value rule's audience condition contains invalid user_interest(s). + /// This might be because there is no matching user interest, or the user + /// interest is not visible. InvalidAudienceUserInterest = 12, - /// When a value rule is created, it shouldn't have REMOVED status. + /// When a value rule is created, it shouldn't have REMOVED status. CannotAddRuleWithStatusRemoved = 13, } impl ConversionValueRuleError { @@ -3503,52 +3503,52 @@ pub mod conversion_value_rule_error_enum { } } } -// Proto file describing conversion value rule set errors. +// Proto file describing conversion value rule set errors. -/// Container for enum describing possible conversion value rule set errors. +/// Container for enum describing possible conversion value rule set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetErrorEnum { } /// Nested message and enum types in `ConversionValueRuleSetErrorEnum`. pub mod conversion_value_rule_set_error_enum { - /// Enum describing possible conversion value rule set errors. + /// Enum describing possible conversion value rule set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversionValueRuleSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Two value rules in this value rule set contain conflicting conditions. + /// Two value rules in this value rule set contain conflicting conditions. ConflictingValueRuleConditions = 2, - /// This value rule set includes a value rule that cannot be found, has been - /// permanently removed or belongs to a different customer. + /// This value rule set includes a value rule that cannot be found, has been + /// permanently removed or belongs to a different customer. InvalidValueRule = 3, - /// An error that's thrown when a mutate operation is trying to - /// replace/remove some existing elements in the dimensions field. In other - /// words, ADD op is always fine and UPDATE op is fine if it's only appending - /// new elements into dimensions list. + /// An error that's thrown when a mutate operation is trying to + /// replace/remove some existing elements in the dimensions field. In other + /// words, ADD op is always fine and UPDATE op is fine if it's only appending + /// new elements into dimensions list. DimensionsUpdateOnlyAllowAppend = 4, - /// An error that's thrown when a mutate is adding new value rule(s) into a - /// value rule set and the added value rule(s) include conditions that are - /// not specified in the dimensions of the value rule set. + /// An error that's thrown when a mutate is adding new value rule(s) into a + /// value rule set and the added value rule(s) include conditions that are + /// not specified in the dimensions of the value rule set. ConditionTypeNotAllowed = 5, - /// The dimensions field contains duplicate elements. + /// The dimensions field contains duplicate elements. DuplicateDimensions = 6, - /// This value rule set is attached to an invalid campaign id. Either a - /// campaign with this campaign id doesn't exist or it belongs to a different - /// customer. + /// This value rule set is attached to an invalid campaign id. Either a + /// campaign with this campaign id doesn't exist or it belongs to a different + /// customer. InvalidCampaignId = 7, - /// When a mutate request tries to pause a value rule set, the enabled - /// value rules in this set must be paused in the same command, or this error - /// will be thrown. + /// When a mutate request tries to pause a value rule set, the enabled + /// value rules in this set must be paused in the same command, or this error + /// will be thrown. CannotPauseUnlessAllValueRulesArePaused = 8, - /// When a mutate request tries to pause all the value rules in a value rule - /// set, the value rule set must be paused, or this error will be thrown. + /// When a mutate request tries to pause all the value rules in a value rule + /// set, the value rule set must be paused, or this error will be thrown. ShouldPauseWhenAllValueRulesArePaused = 9, - /// This value rule set is attached to a campaign that does not support value - /// rules. Currently, campaign level value rule sets can only be created on - /// Search, or Display campaigns. + /// This value rule set is attached to a campaign that does not support value + /// rules. Currently, campaign level value rule sets can only be created on + /// Search, or Display campaigns. ValueRulesNotSupportedForCampaignType = 10, } impl ConversionValueRuleSetError { @@ -3573,23 +3573,23 @@ pub mod conversion_value_rule_set_error_enum { } } } -// Proto file describing country code errors. +// Proto file describing country code errors. -/// Container for enum describing country code errors. +/// Container for enum describing country code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CountryCodeErrorEnum { } /// Nested message and enum types in `CountryCodeErrorEnum`. pub mod country_code_error_enum { - /// Enum describing country code errors. + /// Enum describing country code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CountryCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 2, } impl CountryCodeError { @@ -3606,307 +3606,307 @@ pub mod country_code_error_enum { } } } -// Proto file describing criterion errors. +// Proto file describing criterion errors. -/// Container for enum describing possible criterion errors. +/// Container for enum describing possible criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CriterionErrorEnum { } /// Nested message and enum types in `CriterionErrorEnum`. pub mod criterion_error_enum { - /// Enum describing possible criterion errors. + /// Enum describing possible criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Concrete type of criterion is required for CREATE and UPDATE operations. + /// Concrete type of criterion is required for CREATE and UPDATE operations. ConcreteTypeRequired = 2, - /// The category requested for exclusion is invalid. + /// The category requested for exclusion is invalid. InvalidExcludedCategory = 3, - /// Invalid keyword criteria text. + /// Invalid keyword criteria text. InvalidKeywordText = 4, - /// Keyword text should be less than 80 chars. + /// Keyword text should be less than 80 chars. KeywordTextTooLong = 5, - /// Keyword text has too many words. + /// Keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword text has invalid characters or symbols. + /// Keyword text has invalid characters or symbols. KeywordHasInvalidChars = 7, - /// Invalid placement URL. + /// Invalid placement URL. InvalidPlacementUrl = 8, - /// Invalid user list criterion. + /// Invalid user list criterion. InvalidUserList = 9, - /// Invalid user interest criterion. + /// Invalid user interest criterion. InvalidUserInterest = 10, - /// Placement URL has wrong format. + /// Placement URL has wrong format. InvalidFormatForPlacementUrl = 11, - /// Placement URL is too long. + /// Placement URL is too long. PlacementUrlIsTooLong = 12, - /// Indicates the URL contains an illegal character. + /// Indicates the URL contains an illegal character. PlacementUrlHasIllegalChar = 13, - /// Indicates the URL contains multiple comma separated URLs. + /// Indicates the URL contains multiple comma separated URLs. PlacementUrlHasMultipleSitesInLine = 14, - /// Indicates the domain is blocked. + /// Indicates the domain is blocked. PlacementIsNotAvailableForTargetingOrExclusion = 15, - /// Invalid topic path. + /// Invalid topic path. InvalidTopicPath = 16, - /// The YouTube Channel Id is invalid. + /// The YouTube Channel Id is invalid. InvalidYoutubeChannelId = 17, - /// The YouTube Video Id is invalid. + /// The YouTube Video Id is invalid. InvalidYoutubeVideoId = 18, - /// Indicates the placement is a YouTube vertical channel, which is no longer - /// supported. + /// Indicates the placement is a YouTube vertical channel, which is no longer + /// supported. YoutubeVerticalChannelDeprecated = 19, - /// Indicates the placement is a YouTube demographic channel, which is no - /// longer supported. + /// Indicates the placement is a YouTube demographic channel, which is no + /// longer supported. YoutubeDemographicChannelDeprecated = 20, - /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel - /// and YouTubeVideo criterion instead. + /// YouTube urls are not supported in Placement criterion. Use YouTubeChannel + /// and YouTubeVideo criterion instead. YoutubeUrlUnsupported = 21, - /// Criteria type can not be excluded by the customer, like AOL account type - /// cannot target site type criteria. + /// Criteria type can not be excluded by the customer, like AOL account type + /// cannot target site type criteria. CannotExcludeCriteriaType = 22, - /// Criteria type can not be targeted. + /// Criteria type can not be targeted. CannotAddCriteriaType = 23, - /// Not allowed to exclude similar user list. + /// Not allowed to exclude similar user list. CannotExcludeSimilarUserList = 26, - /// Not allowed to target a closed user list. + /// Not allowed to target a closed user list. CannotAddClosedUserList = 27, - /// Not allowed to add display only UserLists to search only campaigns. + /// Not allowed to add display only UserLists to search only campaigns. CannotAddDisplayOnlyListsToSearchOnlyCampaigns = 28, - /// Not allowed to add display only UserLists to search plus campaigns. + /// Not allowed to add display only UserLists to search plus campaigns. CannotAddDisplayOnlyListsToSearchCampaigns = 29, - /// Not allowed to add display only UserLists to shopping campaigns. + /// Not allowed to add display only UserLists to shopping campaigns. CannotAddDisplayOnlyListsToShoppingCampaigns = 30, - /// Not allowed to add User interests to search only campaigns. + /// Not allowed to add User interests to search only campaigns. CannotAddUserInterestsToSearchCampaigns = 31, - /// Not allowed to set bids for this criterion type in search campaigns + /// Not allowed to set bids for this criterion type in search campaigns CannotSetBidsOnCriterionTypeInSearchCampaigns = 32, - /// Final URLs, URL Templates and CustomParameters cannot be set for the - /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and - /// MobileAppCategory in search campaigns and shopping campaigns. + /// Final URLs, URL Templates and CustomParameters cannot be set for the + /// criterion types of Gender, AgeRange, UserList, Placement, MobileApp, and + /// MobileAppCategory in search campaigns and shopping campaigns. CannotAddUrlsToCriterionTypeForCampaignType = 33, - /// Invalid combined audience criterion. + /// Invalid combined audience criterion. InvalidCombinedAudience = 122, - /// Invalid custom affinity criterion. + /// Invalid custom affinity criterion. InvalidCustomAffinity = 96, - /// Invalid custom intent criterion. + /// Invalid custom intent criterion. InvalidCustomIntent = 97, - /// Invalid custom audience criterion. + /// Invalid custom audience criterion. InvalidCustomAudience = 121, - /// IP address is not valid. + /// IP address is not valid. InvalidIpAddress = 34, - /// IP format is not valid. + /// IP format is not valid. InvalidIpFormat = 35, - /// Mobile application is not valid. + /// Mobile application is not valid. InvalidMobileApp = 36, - /// Mobile application category is not valid. + /// Mobile application category is not valid. InvalidMobileAppCategory = 37, - /// The CriterionId does not exist or is of the incorrect type. + /// The CriterionId does not exist or is of the incorrect type. InvalidCriterionId = 38, - /// The Criterion is not allowed to be targeted. + /// The Criterion is not allowed to be targeted. CannotTargetCriterion = 39, - /// The criterion is not allowed to be targeted as it is deprecated. + /// The criterion is not allowed to be targeted as it is deprecated. CannotTargetObsoleteCriterion = 40, - /// The CriterionId is not valid for the type. + /// The CriterionId is not valid for the type. CriterionIdAndTypeMismatch = 41, - /// Distance for the radius for the proximity criterion is invalid. + /// Distance for the radius for the proximity criterion is invalid. InvalidProximityRadius = 42, - /// Units for the distance for the radius for the proximity criterion is - /// invalid. + /// Units for the distance for the radius for the proximity criterion is + /// invalid. InvalidProximityRadiusUnits = 43, - /// Street address in the address is not valid. + /// Street address in the address is not valid. InvalidStreetaddressLength = 44, - /// City name in the address is not valid. + /// City name in the address is not valid. InvalidCitynameLength = 45, - /// Region code in the address is not valid. + /// Region code in the address is not valid. InvalidRegioncodeLength = 46, - /// Region name in the address is not valid. + /// Region name in the address is not valid. InvalidRegionnameLength = 47, - /// Postal code in the address is not valid. + /// Postal code in the address is not valid. InvalidPostalcodeLength = 48, - /// Country code in the address is not valid. + /// Country code in the address is not valid. InvalidCountryCode = 49, - /// Latitude for the GeoPoint is not valid. + /// Latitude for the GeoPoint is not valid. InvalidLatitude = 50, - /// Longitude for the GeoPoint is not valid. + /// Longitude for the GeoPoint is not valid. InvalidLongitude = 51, - /// The Proximity input is not valid. Both address and geoPoint cannot be - /// null. + /// The Proximity input is not valid. Both address and geoPoint cannot be + /// null. ProximityGeopointAndAddressBothCannotBeNull = 52, - /// The Proximity address cannot be geocoded to a valid lat/long. + /// The Proximity address cannot be geocoded to a valid lat/long. InvalidProximityAddress = 53, - /// User domain name is not valid. + /// User domain name is not valid. InvalidUserDomainName = 54, - /// Length of serialized criterion parameter exceeded size limit. + /// Length of serialized criterion parameter exceeded size limit. CriterionParameterTooLong = 55, - /// Time interval in the AdSchedule overlaps with another AdSchedule. + /// Time interval in the AdSchedule overlaps with another AdSchedule. AdScheduleTimeIntervalsOverlap = 56, - /// AdSchedule time interval cannot span multiple days. + /// AdSchedule time interval cannot span multiple days. AdScheduleIntervalCannotSpanMultipleDays = 57, - /// AdSchedule time interval specified is invalid, endTime cannot be earlier - /// than startTime. + /// AdSchedule time interval specified is invalid, endTime cannot be earlier + /// than startTime. AdScheduleInvalidTimeInterval = 58, - /// The number of AdSchedule entries in a day exceeds the limit. + /// The number of AdSchedule entries in a day exceeds the limit. AdScheduleExceededIntervalsPerDayLimit = 59, - /// CriteriaId does not match the interval of the AdSchedule specified. + /// CriteriaId does not match the interval of the AdSchedule specified. AdScheduleCriterionIdMismatchingFields = 60, - /// Cannot set bid modifier for this criterion type. + /// Cannot set bid modifier for this criterion type. CannotBidModifyCriterionType = 61, - /// Cannot bid modify criterion, since it is opted out of the campaign. + /// Cannot bid modify criterion, since it is opted out of the campaign. CannotBidModifyCriterionCampaignOptedOut = 62, - /// Cannot set bid modifier for a negative criterion. + /// Cannot set bid modifier for a negative criterion. CannotBidModifyNegativeCriterion = 63, - /// Bid Modifier already exists. Use SET operation to update. + /// Bid Modifier already exists. Use SET operation to update. BidModifierAlreadyExists = 64, - /// Feed Id is not allowed in these Location Groups. + /// Feed Id is not allowed in these Location Groups. FeedIdNotAllowed = 65, - /// The account may not use the requested criteria type. For example, some - /// accounts are restricted to keywords only. + /// The account may not use the requested criteria type. For example, some + /// accounts are restricted to keywords only. AccountIneligibleForCriteriaType = 66, - /// The requested criteria type cannot be used with campaign or ad group - /// bidding strategy. + /// The requested criteria type cannot be used with campaign or ad group + /// bidding strategy. CriteriaTypeInvalidForBiddingStrategy = 67, - /// The Criterion is not allowed to be excluded. + /// The Criterion is not allowed to be excluded. CannotExcludeCriterion = 68, - /// The criterion is not allowed to be removed. For example, we cannot remove - /// any of the device criterion. + /// The criterion is not allowed to be removed. For example, we cannot remove + /// any of the device criterion. CannotRemoveCriterion = 69, - /// Bidding categories do not form a valid path in the Shopping bidding - /// category taxonomy. + /// Bidding categories do not form a valid path in the Shopping bidding + /// category taxonomy. InvalidProductBiddingCategory = 76, - /// ShoppingSetting must be added to the campaign before ProductScope - /// criteria can be added. + /// ShoppingSetting must be added to the campaign before ProductScope + /// criteria can be added. MissingShoppingSetting = 77, - /// Matching function is invalid. + /// Matching function is invalid. InvalidMatchingFunction = 78, - /// Filter parameters not allowed for location groups targeting. + /// Filter parameters not allowed for location groups targeting. LocationFilterNotAllowed = 79, - /// Feed not found, or the feed is not an enabled location feed. + /// Feed not found, or the feed is not an enabled location feed. InvalidFeedForLocationFilter = 98, - /// Given location filter parameter is invalid for location groups targeting. + /// Given location filter parameter is invalid for location groups targeting. LocationFilterInvalid = 80, - /// Cannot set geo target constants and feed item sets at the same time. + /// Cannot set geo target constants and feed item sets at the same time. CannotSetGeoTargetConstantsWithFeedItemSets = 123, - /// The location group radius is in the range but not at the valid increment. + /// The location group radius is in the range but not at the valid increment. InvalidLocationGroupRadius = 124, - /// The location group radius unit is invalid. + /// The location group radius unit is invalid. InvalidLocationGroupRadiusUnit = 125, - /// Criteria type cannot be associated with a campaign and its ad group(s) - /// simultaneously. + /// Criteria type cannot be associated with a campaign and its ad group(s) + /// simultaneously. CannotAttachCriteriaAtCampaignAndAdgroup = 81, - /// Range represented by hotel length of stay's min nights and max nights - /// overlaps with an existing criterion. + /// Range represented by hotel length of stay's min nights and max nights + /// overlaps with an existing criterion. HotelLengthOfStayOverlapsWithExistingCriterion = 82, - /// Range represented by hotel advance booking window's min days and max days - /// overlaps with an existing criterion. + /// Range represented by hotel advance booking window's min days and max days + /// overlaps with an existing criterion. HotelAdvanceBookingWindowOverlapsWithExistingCriterion = 83, - /// The field is not allowed to be set when the negative field is set to - /// true, e.g. we don't allow bids in negative ad group or campaign criteria. + /// The field is not allowed to be set when the negative field is set to + /// true, e.g. we don't allow bids in negative ad group or campaign criteria. FieldIncompatibleWithNegativeTargeting = 84, - /// The combination of operand and operator in webpage condition is invalid. + /// The combination of operand and operator in webpage condition is invalid. InvalidWebpageCondition = 85, - /// The URL of webpage condition is invalid. + /// The URL of webpage condition is invalid. InvalidWebpageConditionUrl = 86, - /// The URL of webpage condition cannot be empty or contain white space. + /// The URL of webpage condition cannot be empty or contain white space. WebpageConditionUrlCannotBeEmpty = 87, - /// The URL of webpage condition contains an unsupported protocol. + /// The URL of webpage condition contains an unsupported protocol. WebpageConditionUrlUnsupportedProtocol = 88, - /// The URL of webpage condition cannot be an IP address. + /// The URL of webpage condition cannot be an IP address. WebpageConditionUrlCannotBeIpAddress = 89, - /// The domain of the URL is not consistent with the domain in campaign - /// setting. + /// The domain of the URL is not consistent with the domain in campaign + /// setting. WebpageConditionUrlDomainNotConsistentWithCampaignSetting = 90, - /// The URL of webpage condition cannot be a public suffix itself. + /// The URL of webpage condition cannot be a public suffix itself. WebpageConditionUrlCannotBePublicSuffix = 91, - /// The URL of webpage condition has an invalid public suffix. + /// The URL of webpage condition has an invalid public suffix. WebpageConditionUrlInvalidPublicSuffix = 92, - /// Value track parameter is not supported in webpage condition URL. + /// Value track parameter is not supported in webpage condition URL. WebpageConditionUrlValueTrackValueNotSupported = 93, - /// Only one URL-EQUALS webpage condition is allowed in a webpage - /// criterion and it cannot be combined with other conditions. + /// Only one URL-EQUALS webpage condition is allowed in a webpage + /// criterion and it cannot be combined with other conditions. WebpageCriterionUrlEqualsCanHaveOnlyOneCondition = 94, - /// A webpage criterion cannot be added to a non-DSA ad group. + /// A webpage criterion cannot be added to a non-DSA ad group. WebpageCriterionNotSupportedOnNonDsaAdGroup = 95, - /// Cannot add positive user list criteria in Smart Display campaigns. + /// Cannot add positive user list criteria in Smart Display campaigns. CannotTargetUserListForSmartDisplayCampaigns = 99, - /// Cannot add positive placement criterion types in search campaigns. + /// Cannot add positive placement criterion types in search campaigns. CannotTargetPlacementsForSearchCampaigns = 126, - /// Listing scope contains too many dimension types. + /// Listing scope contains too many dimension types. ListingScopeTooManyDimensionTypes = 100, - /// Listing scope has too many IN operators. + /// Listing scope has too many IN operators. ListingScopeTooManyInOperators = 101, - /// Listing scope contains IN operator on an unsupported dimension type. + /// Listing scope contains IN operator on an unsupported dimension type. ListingScopeInOperatorNotSupported = 102, - /// There are dimensions with duplicate dimension type. + /// There are dimensions with duplicate dimension type. DuplicateListingDimensionType = 103, - /// There are dimensions with duplicate dimension value. + /// There are dimensions with duplicate dimension value. DuplicateListingDimensionValue = 104, - /// Listing group SUBDIVISION nodes cannot have bids. + /// Listing group SUBDIVISION nodes cannot have bids. CannotSetBidsOnListingGroupSubdivision = 105, - /// Ad group is invalid due to the listing groups it contains. + /// Ad group is invalid due to the listing groups it contains. InvalidListingGroupHierarchy = 106, - /// Listing group unit cannot have children. + /// Listing group unit cannot have children. ListingGroupUnitCannotHaveChildren = 107, - /// Subdivided listing groups must have an "others" case. + /// Subdivided listing groups must have an "others" case. ListingGroupSubdivisionRequiresOthersCase = 108, - /// Dimension type of listing group must be the same as that of its siblings. + /// Dimension type of listing group must be the same as that of its siblings. ListingGroupRequiresSameDimensionTypeAsSiblings = 109, - /// Listing group cannot be added to the ad group because it already exists. + /// Listing group cannot be added to the ad group because it already exists. ListingGroupAlreadyExists = 110, - /// Listing group referenced in the operation was not found in the ad group. + /// Listing group referenced in the operation was not found in the ad group. ListingGroupDoesNotExist = 111, - /// Recursive removal failed because listing group subdivision is being - /// created or modified in this request. + /// Recursive removal failed because listing group subdivision is being + /// created or modified in this request. ListingGroupCannotBeRemoved = 112, - /// Listing group type is not allowed for specified ad group criterion type. + /// Listing group type is not allowed for specified ad group criterion type. InvalidListingGroupType = 113, - /// Listing group in an ADD operation specifies a non temporary criterion id. + /// Listing group in an ADD operation specifies a non temporary criterion id. ListingGroupAddMayOnlyUseTempId = 114, - /// The combined length of dimension values of the Listing scope criterion - /// is too long. + /// The combined length of dimension values of the Listing scope criterion + /// is too long. ListingScopeTooLong = 115, - /// Listing scope contains too many dimensions. + /// Listing scope contains too many dimensions. ListingScopeTooManyDimensions = 116, - /// The combined length of dimension values of the Listing group criterion is - /// too long. + /// The combined length of dimension values of the Listing group criterion is + /// too long. ListingGroupTooLong = 117, - /// Listing group tree is too deep. + /// Listing group tree is too deep. ListingGroupTreeTooDeep = 118, - /// Listing dimension is invalid (e.g. dimension contains illegal value, - /// dimension type is represented with wrong class, etc). Listing dimension - /// value can not contain "==" or "&+". + /// Listing dimension is invalid (e.g. dimension contains illegal value, + /// dimension type is represented with wrong class, etc). Listing dimension + /// value can not contain "==" or "&+". InvalidListingDimension = 119, - /// Listing dimension type is either invalid for campaigns of this type or - /// cannot be used in the current context. BIDDING_CATEGORY_Lx and - /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their - /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially - /// and start from L1. Furthermore, an "others" Listing group cannot be - /// subdivided with a dimension of the same type but of a higher level - /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with - /// BIDDING_CATEGORY_L4). + /// Listing dimension type is either invalid for campaigns of this type or + /// cannot be used in the current context. BIDDING_CATEGORY_Lx and + /// PRODUCT_TYPE_Lx dimensions must be used in ascending order of their + /// levels: L1, L2, L3, L4, L5... The levels must be specified sequentially + /// and start from L1. Furthermore, an "others" Listing group cannot be + /// subdivided with a dimension of the same type but of a higher level + /// ("others" BIDDING_CATEGORY_L3 can be subdivided with BRAND but not with + /// BIDDING_CATEGORY_L4). InvalidListingDimensionType = 120, - /// Customer is not on allowlist for composite audience in display campaigns. + /// Customer is not on allowlist for composite audience in display campaigns. AdvertiserNotOnAllowlistForCombinedAudienceOnDisplay = 127, - /// Cannot target on a removed combined audience. + /// Cannot target on a removed combined audience. CannotTargetRemovedCombinedAudience = 128, - /// Combined audience ID is invalid. + /// Combined audience ID is invalid. InvalidCombinedAudienceId = 129, - /// Can not target removed combined audience. + /// Can not target removed combined audience. CannotTargetRemovedCustomAudience = 130, - /// Range represented by hotel check-in date's start date and end date - /// overlaps with an existing criterion. + /// Range represented by hotel check-in date's start date and end date + /// overlaps with an existing criterion. HotelCheckInDateRangeOverlapsWithExistingCriterion = 131, - /// Start date is earlier than earliest allowed value of yesterday UTC. + /// Start date is earlier than earliest allowed value of yesterday UTC. HotelCheckInDateRangeStartDateTooEarly = 132, - /// End date later is than latest allowed day of 330 days in the future UTC. + /// End date later is than latest allowed day of 330 days in the future UTC. HotelCheckInDateRangeEndDateTooLate = 133, - /// Start date is after end date. + /// Start date is after end date. HotelCheckInDateRangeReversed = 134, - /// Broad match modifier (BMM) keywords can no longer be created. Please see - /// + /// Broad match modifier (BMM) keywords can no longer be created. Please see + /// BroadMatchModifierKeywordNotAllowed = 135, } impl CriterionError { @@ -4048,23 +4048,23 @@ pub mod criterion_error_enum { } } } -// Proto file describing currency code errors. +// Proto file describing currency code errors. -/// Container for enum describing possible currency code errors. +/// Container for enum describing possible currency code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyCodeErrorEnum { } /// Nested message and enum types in `CurrencyCodeErrorEnum`. pub mod currency_code_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CurrencyCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The currency code is not supported. + /// The currency code is not supported. Unsupported = 2, } impl CurrencyCodeError { @@ -4081,37 +4081,37 @@ pub mod currency_code_error_enum { } } } -// Proto file describing custom audience errors. +// Proto file describing custom audience errors. -/// Container for enum describing possible custom audience errors. +/// Container for enum describing possible custom audience errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceErrorEnum { } /// Nested message and enum types in `CustomAudienceErrorEnum`. pub mod custom_audience_error_enum { - /// Enum describing possible custom audience errors. + /// Enum describing possible custom audience errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomAudienceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// New name in the custom audience is duplicated ignoring cases. + /// New name in the custom audience is duplicated ignoring cases. NameAlreadyUsed = 2, - /// Cannot remove a custom audience while it's still being used as targeting. + /// Cannot remove a custom audience while it's still being used as targeting. CannotRemoveWhileInUse = 3, - /// Cannot update or remove a custom audience that is already removed. + /// Cannot update or remove a custom audience that is already removed. ResourceAlreadyRemoved = 4, - /// The pair of [type, value] already exists in members. + /// The pair of [type, value] already exists in members. MemberTypeAndParameterAlreadyExisted = 5, - /// Member type is invalid. + /// Member type is invalid. InvalidMemberType = 6, - /// Member type does not have associated value. + /// Member type does not have associated value. MemberTypeAndValueDoesNotMatch = 7, - /// Custom audience contains a member that violates policy. + /// Custom audience contains a member that violates policy. PolicyViolation = 8, - /// Change in custom audience type is not allowed. + /// Change in custom audience type is not allowed. InvalidTypeChange = 9, } impl CustomAudienceError { @@ -4135,29 +4135,29 @@ pub mod custom_audience_error_enum { } } } -// Proto file describing CustomConversionGoal errors. +// Proto file describing CustomConversionGoal errors. -/// Container for enum describing possible custom conversion goal errors. +/// Container for enum describing possible custom conversion goal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalErrorEnum { } /// Nested message and enum types in `CustomConversionGoalErrorEnum`. pub mod custom_conversion_goal_error_enum { - /// Enum describing possible custom conversion goal errors. + /// Enum describing possible custom conversion goal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomConversionGoalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot find a conversion action with the specified id. + /// Cannot find a conversion action with the specified id. InvalidConversionAction = 2, - /// The conversion action is not enabled so it cannot be included in a custom - /// conversion goal. + /// The conversion action is not enabled so it cannot be included in a custom + /// conversion goal. ConversionActionNotEnabled = 3, - /// The custom conversion goal cannot be removed because it's linked to a - /// campaign. + /// The custom conversion goal cannot be removed because it's linked to a + /// campaign. CannotRemoveLinkedCustomConversionGoal = 4, } impl CustomConversionGoalError { @@ -4176,36 +4176,36 @@ pub mod custom_conversion_goal_error_enum { } } } -// Proto file describing custom interest errors. +// Proto file describing custom interest errors. -/// Container for enum describing possible custom interest errors. +/// Container for enum describing possible custom interest errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestErrorEnum { } /// Nested message and enum types in `CustomInterestErrorEnum`. pub mod custom_interest_error_enum { - /// Enum describing possible custom interest errors. + /// Enum describing possible custom interest errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomInterestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate custom interest name ignoring case. + /// Duplicate custom interest name ignoring case. NameAlreadyUsed = 2, - /// In the remove custom interest member operation, both member ID and - /// pair [type, parameter] are not present. + /// In the remove custom interest member operation, both member ID and + /// pair [type, parameter] are not present. CustomInterestMemberIdAndTypeParameterNotPresentInRemove = 3, - /// The pair of [type, parameter] does not exist. + /// The pair of [type, parameter] does not exist. TypeAndParameterNotFound = 4, - /// The pair of [type, parameter] already exists. + /// The pair of [type, parameter] already exists. TypeAndParameterAlreadyExisted = 5, - /// Unsupported custom interest member type. + /// Unsupported custom interest member type. InvalidCustomInterestMemberType = 6, - /// Cannot remove a custom interest while it's still being targeted. + /// Cannot remove a custom interest while it's still being targeted. CannotRemoveWhileInUse = 7, - /// Cannot mutate custom interest type. + /// Cannot mutate custom interest type. CannotChangeType = 8, } impl CustomInterestError { @@ -4228,37 +4228,37 @@ pub mod custom_interest_error_enum { } } } -// Proto file describing CustomerClientLink errors. +// Proto file describing CustomerClientLink errors. -/// Container for enum describing possible CustomeClientLink errors. +/// Container for enum describing possible CustomeClientLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkErrorEnum { } /// Nested message and enum types in `CustomerClientLinkErrorEnum`. pub mod customer_client_link_error_enum { - /// Enum describing possible CustomerClientLink errors. + /// Enum describing possible CustomerClientLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerClientLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Trying to manage a client that already in being managed by customer. + /// Trying to manage a client that already in being managed by customer. ClientAlreadyInvitedByThisManager = 2, - /// Already managed by some other manager in the hierarchy. + /// Already managed by some other manager in the hierarchy. ClientAlreadyManagedInHierarchy = 3, - /// Attempt to create a cycle in the hierarchy. + /// Attempt to create a cycle in the hierarchy. CyclicLinkNotAllowed = 4, - /// Managed accounts has the maximum number of linked accounts. + /// Managed accounts has the maximum number of linked accounts. CustomerHasTooManyAccounts = 5, - /// Invitor has the maximum pending invitations. + /// Invitor has the maximum pending invitations. ClientHasTooManyInvitations = 6, - /// Attempt to change hidden status of a link that is not active. + /// Attempt to change hidden status of a link that is not active. CannotHideOrUnhideManagerAccounts = 7, - /// Parent manager account has the maximum number of linked accounts. + /// Parent manager account has the maximum number of linked accounts. CustomerHasTooManyAccountsAtManager = 8, - /// Client has too many managers. + /// Client has too many managers. ClientHasTooManyManagers = 9, } impl CustomerClientLinkError { @@ -4282,21 +4282,21 @@ pub mod customer_client_link_error_enum { } } } -// Proto file describing customer customizer errors. +// Proto file describing customer customizer errors. -/// Container for enum describing possible customer customizer errors. +/// Container for enum describing possible customer customizer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerErrorEnum { } /// Nested message and enum types in `CustomerCustomizerErrorEnum`. pub mod customer_customizer_error_enum { - /// Enum describing possible customer customizer errors. + /// Enum describing possible customer customizer errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerCustomizerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, } impl CustomerCustomizerError { @@ -4312,25 +4312,25 @@ pub mod customer_customizer_error_enum { } } } -/// Container for enum describing possible customer errors. +/// Container for enum describing possible customer errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerErrorEnum { } /// Nested message and enum types in `CustomerErrorEnum`. pub mod customer_error_enum { - /// Set of errors that are related to requests dealing with Customer. + /// Set of errors that are related to requests dealing with Customer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer status is not allowed to be changed from DRAFT and CLOSED. - /// Currency code and at least one of country code and time zone needs to be - /// set when status is changed to ENABLED. + /// Customer status is not allowed to be changed from DRAFT and CLOSED. + /// Currency code and at least one of country code and time zone needs to be + /// set when status is changed to ENABLED. StatusChangeDisallowed = 2, - /// CustomerService cannot get a customer that has not been fully set up. + /// CustomerService cannot get a customer that has not been fully set up. AccountNotSetUp = 3, } impl CustomerError { @@ -4348,36 +4348,36 @@ pub mod customer_error_enum { } } } -// Proto file describing customer feed errors. +// Proto file describing customer feed errors. -/// Container for enum describing possible customer feed errors. +/// Container for enum describing possible customer feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedErrorEnum { } /// Nested message and enum types in `CustomerFeedErrorEnum`. pub mod customer_feed_error_enum { - /// Enum describing possible customer feed errors. + /// Enum describing possible customer feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerFeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An active feed already exists for this customer and place holder type. + /// An active feed already exists for this customer and place holder type. FeedAlreadyExistsForPlaceholderType = 2, - /// The specified feed is removed. + /// The specified feed is removed. CannotCreateForRemovedFeed = 3, - /// The CustomerFeed already exists. Update should be used to modify the - /// existing CustomerFeed. + /// The CustomerFeed already exists. Update should be used to modify the + /// existing CustomerFeed. CannotCreateAlreadyExistingCustomerFeed = 4, - /// Cannot update removed customer feed. + /// Cannot update removed customer feed. CannotModifyRemovedCustomerFeed = 5, - /// Invalid placeholder type. + /// Invalid placeholder type. InvalidPlaceholderType = 6, - /// Feed mapping for this placeholder type does not exist. + /// Feed mapping for this placeholder type does not exist. MissingFeedmappingForPlaceholderType = 7, - /// Placeholder not allowed at the account level. + /// Placeholder not allowed at the account level. PlaceholderTypeNotAllowedOnCustomerFeed = 8, } impl CustomerFeedError { @@ -4400,43 +4400,43 @@ pub mod customer_feed_error_enum { } } } -// Proto file describing CustomerManagerLink errors. +// Proto file describing CustomerManagerLink errors. -/// Container for enum describing possible CustomerManagerLink errors. +/// Container for enum describing possible CustomerManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkErrorEnum { } /// Nested message and enum types in `CustomerManagerLinkErrorEnum`. pub mod customer_manager_link_error_enum { - /// Enum describing possible CustomerManagerLink errors. + /// Enum describing possible CustomerManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// No pending invitation. + /// No pending invitation. NoPendingInvite = 2, - /// Attempt to operate on the same client more than once in the same call. + /// Attempt to operate on the same client more than once in the same call. SameClientMoreThanOncePerCall = 3, - /// Manager account has the maximum number of linked accounts. + /// Manager account has the maximum number of linked accounts. ManagerHasMaxNumberOfLinkedAccounts = 4, - /// If no active user on account it cannot be unlinked from its manager. + /// If no active user on account it cannot be unlinked from its manager. CannotUnlinkAccountWithoutActiveUser = 5, - /// Account should have at least one active owner on it before being - /// unlinked. + /// Account should have at least one active owner on it before being + /// unlinked. CannotRemoveLastClientAccountOwner = 6, - /// Only account owners may change their permission role. + /// Only account owners may change their permission role. CannotChangeRoleByNonAccountOwner = 7, - /// When a client's link to its manager is not active, the link role cannot - /// be changed. + /// When a client's link to its manager is not active, the link role cannot + /// be changed. CannotChangeRoleForNonActiveLinkAccount = 8, - /// Attempt to link a child to a parent that contains or will contain - /// duplicate children. + /// Attempt to link a child to a parent that contains or will contain + /// duplicate children. DuplicateChildFound = 9, - /// The authorized customer is a test account. It can add no more than the - /// allowed number of accounts + /// The authorized customer is a test account. It can add no more than the + /// allowed number of accounts TestAccountLinksTooManyChildAccounts = 10, } impl CustomerManagerLinkError { @@ -4461,32 +4461,32 @@ pub mod customer_manager_link_error_enum { } } } -// Proto file describing CustomerUserAccess errors. +// Proto file describing CustomerUserAccess errors. -/// Container for enum describing possible CustomerUserAccess errors. +/// Container for enum describing possible CustomerUserAccess errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessErrorEnum { } /// Nested message and enum types in `CustomerUserAccessErrorEnum`. pub mod customer_user_access_error_enum { - /// Enum describing possible customer user access errors. + /// Enum describing possible customer user access errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerUserAccessError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There is no user associated with the user id specified. + /// There is no user associated with the user id specified. InvalidUserId = 2, - /// Unable to remove the access between the user and customer. + /// Unable to remove the access between the user and customer. RemovalDisallowed = 3, - /// Unable to add or update the access role as specified. + /// Unable to add or update the access role as specified. DisallowedAccessRole = 4, - /// The user can't remove itself from an active serving customer if it's the - /// last admin user and the customer doesn't have any owner manager + /// The user can't remove itself from an active serving customer if it's the + /// last admin user and the customer doesn't have any owner manager LastAdminUserOfServingCustomer = 5, - /// Last admin user cannot be removed from a manager. + /// Last admin user cannot be removed from a manager. LastAdminUserOfManager = 6, } impl CustomerUserAccessError { @@ -4507,24 +4507,24 @@ pub mod customer_user_access_error_enum { } } } -// Proto file describing customizer attribute errors. +// Proto file describing customizer attribute errors. -/// Container for enum describing possible customizer attribute errors. +/// Container for enum describing possible customizer attribute errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeErrorEnum { } /// Nested message and enum types in `CustomizerAttributeErrorEnum`. pub mod customizer_attribute_error_enum { - /// Enum describing possible customizer attribute errors. + /// Enum describing possible customizer attribute errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomizerAttributeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// CustomizerAttribute name matches that of another active - /// CustomizerAttribute. + /// CustomizerAttribute name matches that of another active + /// CustomizerAttribute. DuplicateCustomizerAttributeName = 2, } impl CustomizerAttributeError { @@ -4541,30 +4541,30 @@ pub mod customizer_attribute_error_enum { } } } -// Proto file describing database errors. +// Proto file describing database errors. -/// Container for enum describing possible database errors. +/// Container for enum describing possible database errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseErrorEnum { } /// Nested message and enum types in `DatabaseErrorEnum`. pub mod database_error_enum { - /// Enum describing possible database errors. + /// Enum describing possible database errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiple requests were attempting to modify the same resource at once. - /// Please retry the request. + /// Multiple requests were attempting to modify the same resource at once. + /// Please retry the request. ConcurrentModification = 2, - /// The request conflicted with existing data. This error will usually be - /// replaced with a more specific error if the request is retried. + /// The request conflicted with existing data. This error will usually be + /// replaced with a more specific error if the request is retried. DataConstraintViolation = 3, - /// The data written is too large. Please split the request into smaller - /// requests. + /// The data written is too large. Please split the request into smaller + /// requests. RequestTooLarge = 4, } impl DatabaseError { @@ -4583,41 +4583,41 @@ pub mod database_error_enum { } } } -// Proto file describing date errors. +// Proto file describing date errors. -/// Container for enum describing possible date errors. +/// Container for enum describing possible date errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateErrorEnum { } /// Nested message and enum types in `DateErrorEnum`. pub mod date_error_enum { - /// Enum describing possible date errors. + /// Enum describing possible date errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Given field values do not correspond to a valid date. + /// Given field values do not correspond to a valid date. InvalidFieldValuesInDate = 2, - /// Given field values do not correspond to a valid date time. + /// Given field values do not correspond to a valid date time. InvalidFieldValuesInDateTime = 3, - /// The string date's format should be yyyy-mm-dd. + /// The string date's format should be yyyy-mm-dd. InvalidStringDate = 4, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss.ssssss. InvalidStringDateTimeMicros = 6, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss. InvalidStringDateTimeSeconds = 11, - /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. + /// The string date time's format should be yyyy-mm-dd hh:mm:ss+|-hh:mm. InvalidStringDateTimeSecondsWithOffset = 12, - /// Date is before allowed minimum. + /// Date is before allowed minimum. EarlierThanMinimumDate = 7, - /// Date is after allowed maximum. + /// Date is after allowed maximum. LaterThanMaximumDate = 8, - /// Date range bounds are not in order. + /// Date range bounds are not in order. DateRangeMinimumDateLaterThanMaximumDate = 9, - /// Both dates in range are null. + /// Both dates in range are null. DateRangeMinimumAndMaximumDatesBothNull = 10, } impl DateError { @@ -4643,31 +4643,31 @@ pub mod date_error_enum { } } } -// Proto file describing date range errors. +// Proto file describing date range errors. -/// Container for enum describing possible date range errors. +/// Container for enum describing possible date range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRangeErrorEnum { } /// Nested message and enum types in `DateRangeErrorEnum`. pub mod date_range_error_enum { - /// Enum describing possible date range errors. + /// Enum describing possible date range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DateRangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid date. + /// Invalid date. InvalidDate = 2, - /// The start date was after the end date. + /// The start date was after the end date. StartDateAfterEndDate = 3, - /// Cannot set date to past time + /// Cannot set date to past time CannotSetDateToPast = 4, - /// A date was used that is past the system "last" date. + /// A date was used that is past the system "last" date. AfterMaximumAllowableDate = 5, - /// Trying to change start date on a resource that has started. + /// Trying to change start date on a resource that has started. CannotModifyStartDateIfAlreadyStarted = 6, } impl DateRangeError { @@ -4688,25 +4688,25 @@ pub mod date_range_error_enum { } } } -// Proto file describing distinct errors. +// Proto file describing distinct errors. -/// Container for enum describing possible distinct errors. +/// Container for enum describing possible distinct errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistinctErrorEnum { } /// Nested message and enum types in `DistinctErrorEnum`. pub mod distinct_error_enum { - /// Enum describing possible distinct errors. + /// Enum describing possible distinct errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistinctError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Duplicate element. + /// Duplicate element. DuplicateElement = 2, - /// Duplicate type. + /// Duplicate type. DuplicateType = 3, } impl DistinctError { @@ -4724,23 +4724,23 @@ pub mod distinct_error_enum { } } } -// Proto file describing enum errors. +// Proto file describing enum errors. -/// Container for enum describing possible enum errors. +/// Container for enum describing possible enum errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumErrorEnum { } /// Nested message and enum types in `EnumErrorEnum`. pub mod enum_error_enum { - /// Enum describing possible enum errors. + /// Enum describing possible enum errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnumError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The enum value is not permitted. + /// The enum value is not permitted. EnumValueNotPermitted = 3, } impl EnumError { @@ -4757,127 +4757,127 @@ pub mod enum_error_enum { } } } -// Proto file describing extension feed item errors. +// Proto file describing extension feed item errors. -/// Container for enum describing possible extension feed item error. +/// Container for enum describing possible extension feed item error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemErrorEnum { } /// Nested message and enum types in `ExtensionFeedItemErrorEnum`. pub mod extension_feed_item_error_enum { - /// Enum describing possible extension feed item errors. + /// Enum describing possible extension feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionFeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 2, - /// Url list is too long. + /// Url list is too long. UrlListTooLong = 3, - /// Cannot have a geo targeting restriction without having geo targeting. + /// Cannot have a geo targeting restriction without having geo targeting. CannotHaveRestrictionOnEmptyGeoTargeting = 4, - /// Cannot simultaneously set sitelink field with final urls. + /// Cannot simultaneously set sitelink field with final urls. CannotSetWithFinalUrls = 5, - /// Must set field with final urls. + /// Must set field with final urls. CannotSetWithoutFinalUrls = 6, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 7, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 8, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 9, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 10, - /// Phone number type for a call extension is not allowed. - /// For example, personal number is not allowed for a call extension in - /// most regions. + /// Phone number type for a call extension is not allowed. + /// For example, personal number is not allowed for a call extension in + /// most regions. DisallowedNumberType = 11, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 12, - /// Vanity phone numbers (i.e. those including letters) are not allowed for - /// call extensions. + /// Vanity phone numbers (i.e. those including letters) are not allowed for + /// call extensions. VanityPhoneNumberNotAllowed = 13, - /// Call conversion action provided for a call extension is invalid. + /// Call conversion action provided for a call extension is invalid. InvalidCallConversionAction = 14, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotOnAllowlistForCalltracking = 47, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 16, - /// Customer hasn't consented for call recording, which is required for - /// creating/updating call feed items. Please see - /// + /// Customer hasn't consented for call recording, which is required for + /// creating/updating call feed items. Please see + /// CustomerConsentForCallRecordingRequired = 17, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 18, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 19, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 20, - /// A denylisted review source name or url was provided for a review - /// extension. + /// A denylisted review source name or url was provided for a review + /// extension. ReviewExtensionSourceIneligible = 21, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 22, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 23, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 24, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 25, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 26, - /// Price extension has too many items. + /// Price extension has too many items. PriceExtensionHasTooManyItems = 27, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 28, - /// The input value is not currently supported in the selected language of an - /// extension. + /// The input value is not currently supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 29, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 30, - /// Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != - /// 0). + /// Invalid feed item schedule end time (i.e., endHour = 24 and endMinute != + /// 0). InvalidScheduleEnd = 31, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 32, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 33, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 34, - /// Phone number not supported when call tracking enabled for country. + /// Phone number not supported when call tracking enabled for country. PhoneNumberNotSupportedWithCalltrackingForCountry = 35, - /// Cannot set call_conversion_action while call_conversion_tracking_enabled - /// is set to true. + /// Cannot set call_conversion_action while call_conversion_tracking_enabled + /// is set to true. ConflictingCallConversionSettings = 36, - /// The type of the input extension feed item doesn't match the existing - /// extension feed item. + /// The type of the input extension feed item doesn't match the existing + /// extension feed item. ExtensionTypeMismatch = 37, - /// The oneof field extension i.e. subtype of extension feed item is - /// required. + /// The oneof field extension i.e. subtype of extension feed item is + /// required. ExtensionSubtypeRequired = 38, - /// The referenced feed item is not mapped to a supported extension type. + /// The referenced feed item is not mapped to a supported extension type. ExtensionTypeUnsupported = 39, - /// Cannot operate on a Feed with more than one active FeedMapping. + /// Cannot operate on a Feed with more than one active FeedMapping. CannotOperateOnFeedWithMultipleMappings = 40, - /// Cannot operate on a Feed that has key attributes. + /// Cannot operate on a Feed that has key attributes. CannotOperateOnFeedWithKeyAttributes = 41, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 42, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 43, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 44, - /// Concrete sub type of ExtensionFeedItem is required for this operation. + /// Concrete sub type of ExtensionFeedItem is required for this operation. ConcreteExtensionTypeRequired = 45, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 46, } impl ExtensionFeedItemError { @@ -4938,173 +4938,173 @@ pub mod extension_feed_item_error_enum { } } } -// Proto file describing extension setting validation errors. +// Proto file describing extension setting validation errors. -/// Container for enum describing validation errors of extension settings. +/// Container for enum describing validation errors of extension settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionSettingErrorEnum { } /// Nested message and enum types in `ExtensionSettingErrorEnum`. pub mod extension_setting_error_enum { - /// Enum describing possible extension setting errors. + /// Enum describing possible extension setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExtensionSettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A platform restriction was provided without input extensions or existing - /// extensions. + /// A platform restriction was provided without input extensions or existing + /// extensions. ExtensionsRequired = 2, - /// The provided feed type does not correspond to the provided extensions. + /// The provided feed type does not correspond to the provided extensions. FeedTypeExtensionTypeMismatch = 3, - /// The provided feed type cannot be used. + /// The provided feed type cannot be used. InvalidFeedType = 4, - /// The provided feed type cannot be used at the customer level. + /// The provided feed type cannot be used at the customer level. InvalidFeedTypeForCustomerExtensionSetting = 5, - /// Cannot change a feed item field on a CREATE operation. + /// Cannot change a feed item field on a CREATE operation. CannotChangeFeedItemOnCreate = 6, - /// Cannot update an extension that is not already in this setting. + /// Cannot update an extension that is not already in this setting. CannotUpdateNewlyCreatedExtension = 7, - /// There is no existing AdGroupExtensionSetting for this type. + /// There is no existing AdGroupExtensionSetting for this type. NoExistingAdGroupExtensionSettingForType = 8, - /// There is no existing CampaignExtensionSetting for this type. + /// There is no existing CampaignExtensionSetting for this type. NoExistingCampaignExtensionSettingForType = 9, - /// There is no existing CustomerExtensionSetting for this type. + /// There is no existing CustomerExtensionSetting for this type. NoExistingCustomerExtensionSettingForType = 10, - /// The AdGroupExtensionSetting already exists. UPDATE should be used to - /// modify the existing AdGroupExtensionSetting. + /// The AdGroupExtensionSetting already exists. UPDATE should be used to + /// modify the existing AdGroupExtensionSetting. AdGroupExtensionSettingAlreadyExists = 11, - /// The CampaignExtensionSetting already exists. UPDATE should be used to - /// modify the existing CampaignExtensionSetting. + /// The CampaignExtensionSetting already exists. UPDATE should be used to + /// modify the existing CampaignExtensionSetting. CampaignExtensionSettingAlreadyExists = 12, - /// The CustomerExtensionSetting already exists. UPDATE should be used to - /// modify the existing CustomerExtensionSetting. + /// The CustomerExtensionSetting already exists. UPDATE should be used to + /// modify the existing CustomerExtensionSetting. CustomerExtensionSettingAlreadyExists = 13, - /// An active ad group feed already exists for this place holder type. + /// An active ad group feed already exists for this place holder type. AdGroupFeedAlreadyExistsForPlaceholderType = 14, - /// An active campaign feed already exists for this place holder type. + /// An active campaign feed already exists for this place holder type. CampaignFeedAlreadyExistsForPlaceholderType = 15, - /// An active customer feed already exists for this place holder type. + /// An active customer feed already exists for this place holder type. CustomerFeedAlreadyExistsForPlaceholderType = 16, - /// Value is not within the accepted range. + /// Value is not within the accepted range. ValueOutOfRange = 17, - /// Cannot simultaneously set specified field with final urls. + /// Cannot simultaneously set specified field with final urls. CannotSetFieldWithFinalUrls = 18, - /// Must set field with final urls. + /// Must set field with final urls. FinalUrlsNotSet = 19, - /// Phone number for a call extension is invalid. + /// Phone number for a call extension is invalid. InvalidPhoneNumber = 20, - /// Phone number for a call extension is not supported for the given country - /// code. + /// Phone number for a call extension is not supported for the given country + /// code. PhoneNumberNotSupportedForCountry = 21, - /// A carrier specific number in short format is not allowed for call - /// extensions. + /// A carrier specific number in short format is not allowed for call + /// extensions. CarrierSpecificShortNumberNotAllowed = 22, - /// Premium rate numbers are not allowed for call extensions. + /// Premium rate numbers are not allowed for call extensions. PremiumRateNumberNotAllowed = 23, - /// Phone number type for a call extension is not allowed. + /// Phone number type for a call extension is not allowed. DisallowedNumberType = 24, - /// Phone number for a call extension does not meet domestic format - /// requirements. + /// Phone number for a call extension does not meet domestic format + /// requirements. InvalidDomesticPhoneNumberFormat = 25, - /// Vanity phone numbers (i.e. those including letters) are not allowed for - /// call extensions. + /// Vanity phone numbers (i.e. those including letters) are not allowed for + /// call extensions. VanityPhoneNumberNotAllowed = 26, - /// Country code provided for a call extension is invalid. + /// Country code provided for a call extension is invalid. InvalidCountryCode = 27, - /// Call conversion type id provided for a call extension is invalid. + /// Call conversion type id provided for a call extension is invalid. InvalidCallConversionTypeId = 28, - /// For a call extension, the customer is not on the allow-list for call - /// tracking. + /// For a call extension, the customer is not on the allow-list for call + /// tracking. CustomerNotInAllowlistForCalltracking = 69, - /// Call tracking is not supported for the given country for a call - /// extension. + /// Call tracking is not supported for the given country for a call + /// extension. CalltrackingNotSupportedForCountry = 30, - /// App id provided for an app extension is invalid. + /// App id provided for an app extension is invalid. InvalidAppId = 31, - /// Quotation marks present in the review text for a review extension. + /// Quotation marks present in the review text for a review extension. QuotesInReviewExtensionSnippet = 32, - /// Hyphen character present in the review text for a review extension. + /// Hyphen character present in the review text for a review extension. HyphensInReviewExtensionSnippet = 33, - /// A blocked review source name or url was provided for a review - /// extension. + /// A blocked review source name or url was provided for a review + /// extension. ReviewExtensionSourceNotEligible = 34, - /// Review source name should not be found in the review text. + /// Review source name should not be found in the review text. SourceNameInReviewExtensionText = 35, - /// Field must be set. + /// Field must be set. MissingField = 36, - /// Inconsistent currency codes. + /// Inconsistent currency codes. InconsistentCurrencyCodes = 37, - /// Price extension cannot have duplicated headers. + /// Price extension cannot have duplicated headers. PriceExtensionHasDuplicatedHeaders = 38, - /// Price item cannot have duplicated header and description. + /// Price item cannot have duplicated header and description. PriceItemHasDuplicatedHeaderAndDescription = 39, - /// Price extension has too few items + /// Price extension has too few items PriceExtensionHasTooFewItems = 40, - /// Price extension has too many items + /// Price extension has too many items PriceExtensionHasTooManyItems = 41, - /// The input value is not currently supported. + /// The input value is not currently supported. UnsupportedValue = 42, - /// Unknown or unsupported device preference. + /// Unknown or unsupported device preference. InvalidDevicePreference = 43, - /// Invalid feed item schedule end time (i.e., endHour = 24 and - /// endMinute != 0). + /// Invalid feed item schedule end time (i.e., endHour = 24 and + /// endMinute != 0). InvalidScheduleEnd = 45, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 47, - /// Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not - /// allowed. + /// Overlapping feed item schedule times (e.g., 7-10AM and 8-11AM) are not + /// allowed. OverlappingSchedulesNotAllowed = 48, - /// Feed item schedule end time must be after start time. + /// Feed item schedule end time must be after start time. ScheduleEndNotAfterStart = 49, - /// There are too many feed item schedules per day. + /// There are too many feed item schedules per day. TooManySchedulesPerDay = 50, - /// Cannot edit the same extension feed item more than once in the same - /// request. + /// Cannot edit the same extension feed item more than once in the same + /// request. DuplicateExtensionFeedItemEdit = 51, - /// Invalid structured snippet header. + /// Invalid structured snippet header. InvalidSnippetsHeader = 52, - /// Phone number with call tracking enabled is not supported for the - /// specified country. + /// Phone number with call tracking enabled is not supported for the + /// specified country. PhoneNumberNotSupportedWithCalltrackingForCountry = 53, - /// The targeted adgroup must belong to the targeted campaign. + /// The targeted adgroup must belong to the targeted campaign. CampaignTargetingMismatch = 54, - /// The feed used by the ExtensionSetting is removed and cannot be operated - /// on. Remove the ExtensionSetting to allow a new one to be created using - /// an active feed. + /// The feed used by the ExtensionSetting is removed and cannot be operated + /// on. Remove the ExtensionSetting to allow a new one to be created using + /// an active feed. CannotOperateOnRemovedFeed = 55, - /// The ExtensionFeedItem type is required for this operation. + /// The ExtensionFeedItem type is required for this operation. ExtensionTypeRequired = 56, - /// The matching function that links the extension feed to the customer, - /// campaign, or ad group is not compatible with the ExtensionSetting - /// services. + /// The matching function that links the extension feed to the customer, + /// campaign, or ad group is not compatible with the ExtensionSetting + /// services. IncompatibleUnderlyingMatchingFunction = 57, - /// Start date must be before end date. + /// Start date must be before end date. StartDateAfterEndDate = 58, - /// Input price is not in a valid format. + /// Input price is not in a valid format. InvalidPriceFormat = 59, - /// The promotion time is invalid. + /// The promotion time is invalid. PromotionInvalidTime = 60, - /// Cannot set both percent discount and money discount fields. + /// Cannot set both percent discount and money discount fields. PromotionCannotSetPercentDiscountAndMoneyDiscount = 61, - /// Cannot set both promotion code and orders over amount fields. + /// Cannot set both promotion code and orders over amount fields. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 62, - /// This field has too many decimal places specified. + /// This field has too many decimal places specified. TooManyDecimalPlacesSpecified = 63, - /// The language code is not valid. + /// The language code is not valid. InvalidLanguageCode = 64, - /// The language is not supported. + /// The language is not supported. UnsupportedLanguage = 65, - /// Customer hasn't consented for call recording, which is required for - /// adding/updating call extensions. Please see - /// + /// Customer hasn't consented for call recording, which is required for + /// adding/updating call extensions. Please see + /// CustomerConsentForCallRecordingRequired = 66, - /// The UPDATE operation does not specify any fields other than the resource - /// name in the update mask. + /// The UPDATE operation does not specify any fields other than the resource + /// name in the update mask. ExtensionSettingUpdateIsANoop = 67, - /// The extension contains text which has been prohibited on policy grounds. + /// The extension contains text which has been prohibited on policy grounds. DisallowedText = 68, } impl ExtensionSettingError { @@ -5185,27 +5185,27 @@ pub mod extension_setting_error_enum { } } } -// Proto file describing feed attribute reference errors. +// Proto file describing feed attribute reference errors. -/// Container for enum describing possible feed attribute reference errors. +/// Container for enum describing possible feed attribute reference errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeReferenceErrorEnum { } /// Nested message and enum types in `FeedAttributeReferenceErrorEnum`. pub mod feed_attribute_reference_error_enum { - /// Enum describing possible feed attribute reference errors. + /// Enum describing possible feed attribute reference errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedAttributeReferenceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A feed referenced by ID has been removed. + /// A feed referenced by ID has been removed. CannotReferenceRemovedFeed = 2, - /// There is no enabled feed with the given name. + /// There is no enabled feed with the given name. InvalidFeedName = 3, - /// There is no feed attribute in an enabled feed with the given name. + /// There is no feed attribute in an enabled feed with the given name. InvalidFeedAttributeName = 4, } impl FeedAttributeReferenceError { @@ -5224,68 +5224,68 @@ pub mod feed_attribute_reference_error_enum { } } } -// Proto file describing feed errors. +// Proto file describing feed errors. -/// Container for enum describing possible feed errors. +/// Container for enum describing possible feed errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedErrorEnum { } /// Nested message and enum types in `FeedErrorEnum`. pub mod feed_error_enum { - /// Enum describing possible feed errors. + /// Enum describing possible feed errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The names of the FeedAttributes must be unique. + /// The names of the FeedAttributes must be unique. AttributeNamesNotUnique = 2, - /// The attribute list must be an exact copy of the existing list if the - /// attribute ID's are present. + /// The attribute list must be an exact copy of the existing list if the + /// attribute ID's are present. AttributesDoNotMatchExistingAttributes = 3, - /// Cannot specify USER origin for a system generated feed. + /// Cannot specify USER origin for a system generated feed. CannotSpecifyUserOriginForSystemFeed = 4, - /// Cannot specify GOOGLE origin for a non-system generated feed. + /// Cannot specify GOOGLE origin for a non-system generated feed. CannotSpecifyGoogleOriginForNonSystemFeed = 5, - /// Cannot specify feed attributes for system feed. + /// Cannot specify feed attributes for system feed. CannotSpecifyFeedAttributesForSystemFeed = 6, - /// Cannot update FeedAttributes on feed with origin GOOGLE. + /// Cannot update FeedAttributes on feed with origin GOOGLE. CannotUpdateFeedAttributesWithOriginGoogle = 7, - /// The given ID refers to a removed Feed. Removed Feeds are immutable. + /// The given ID refers to a removed Feed. Removed Feeds are immutable. FeedRemoved = 8, - /// The origin of the feed is not valid for the client. + /// The origin of the feed is not valid for the client. InvalidOriginValue = 9, - /// A user can only create and modify feeds with USER origin. + /// A user can only create and modify feeds with USER origin. FeedOriginIsNotUser = 10, - /// Invalid auth token for the given email. + /// Invalid auth token for the given email. InvalidAuthTokenForEmail = 11, - /// Invalid email specified. + /// Invalid email specified. InvalidEmail = 12, - /// Feed name matches that of another active Feed. + /// Feed name matches that of another active Feed. DuplicateFeedName = 13, - /// Name of feed is not allowed. + /// Name of feed is not allowed. InvalidFeedName = 14, - /// Missing OAuthInfo. + /// Missing OAuthInfo. MissingOauthInfo = 15, - /// New FeedAttributes must not affect the unique key. + /// New FeedAttributes must not affect the unique key. NewAttributeCannotBePartOfUniqueKey = 16, - /// Too many FeedAttributes for a Feed. + /// Too many FeedAttributes for a Feed. TooManyAttributes = 17, - /// The business account is not valid. + /// The business account is not valid. InvalidBusinessAccount = 18, - /// Business account cannot access Business Profile. + /// Business account cannot access Business Profile. BusinessAccountCannotAccessLocationAccount = 19, - /// Invalid chain ID provided for affiliate location feed. + /// Invalid chain ID provided for affiliate location feed. InvalidAffiliateChainId = 20, - /// There is already a feed with the given system feed generation data. + /// There is already a feed with the given system feed generation data. DuplicateSystemFeed = 21, - /// An error occurred accessing Business Profile. + /// An error occurred accessing Business Profile. GmbAccessError = 22, - /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. + /// A customer cannot have both LOCATION and AFFILIATE_LOCATION feeds. CannotHaveLocationAndAffiliateLocationFeeds = 23, - /// Feed-based extension is read-only for this extension type. + /// Feed-based extension is read-only for this extension type. LegacyExtensionTypeReadOnly = 24, } impl FeedError { @@ -5324,39 +5324,39 @@ pub mod feed_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemErrorEnum { } /// Nested message and enum types in `FeedItemErrorEnum`. pub mod feed_item_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot convert the feed attribute value from string to its real type. + /// Cannot convert the feed attribute value from string to its real type. CannotConvertAttributeValueFromString = 2, - /// Cannot operate on removed feed item. + /// Cannot operate on removed feed item. CannotOperateOnRemovedFeedItem = 3, - /// Date time zone does not match the account's time zone. + /// Date time zone does not match the account's time zone. DateTimeMustBeInAccountTimeZone = 4, - /// Feed item with the key attributes could not be found. + /// Feed item with the key attributes could not be found. KeyAttributesNotFound = 5, - /// Url feed attribute value is not valid. + /// Url feed attribute value is not valid. InvalidUrl = 6, - /// Some key attributes are missing. + /// Some key attributes are missing. MissingKeyAttributes = 7, - /// Feed item has same key attributes as another feed item. + /// Feed item has same key attributes as another feed item. KeyAttributesNotUnique = 8, - /// Cannot modify key attributes on an existing feed item. + /// Cannot modify key attributes on an existing feed item. CannotModifyKeyAttributeValue = 9, - /// The feed attribute value is too large. + /// The feed attribute value is too large. SizeTooLargeForMultiValueAttribute = 10, } impl FeedItemError { @@ -5381,41 +5381,41 @@ pub mod feed_item_error_enum { } } } -// Proto file describing feed item set errors. +// Proto file describing feed item set errors. -/// Container for enum describing possible feed item set errors. +/// Container for enum describing possible feed item set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetErrorEnum { } /// Nested message and enum types in `FeedItemSetErrorEnum`. pub mod feed_item_set_error_enum { - /// Enum describing possible feed item set errors. + /// Enum describing possible feed item set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given ID refers to a removed FeedItemSet. + /// The given ID refers to a removed FeedItemSet. FeedItemSetRemoved = 2, - /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it - /// exists. A set is either static or dynamic once added, and that cannot - /// change. + /// The dynamic filter of a feed item set cannot be cleared on UPDATE if it + /// exists. A set is either static or dynamic once added, and that cannot + /// change. CannotClearDynamicFilter = 3, - /// The dynamic filter of a feed item set cannot be created on UPDATE if it - /// does not exist. A set is either static or dynamic once added, and that - /// cannot change. + /// The dynamic filter of a feed item set cannot be created on UPDATE if it + /// does not exist. A set is either static or dynamic once added, and that + /// cannot change. CannotCreateDynamicFilter = 4, - /// FeedItemSets can only be made for location or affiliate location feeds. + /// FeedItemSets can only be made for location or affiliate location feeds. InvalidFeedType = 5, - /// FeedItemSets duplicate name. Name should be unique within an account. + /// FeedItemSets duplicate name. Name should be unique within an account. DuplicateName = 6, - /// The feed type of the parent Feed is not compatible with the type of - /// dynamic filter being set. For example, you can only set - /// dynamic_location_set_filter for LOCATION feed item sets. + /// The feed type of the parent Feed is not compatible with the type of + /// dynamic filter being set. For example, you can only set + /// dynamic_location_set_filter for LOCATION feed item sets. WrongDynamicFilterForFeedType = 7, - /// Chain ID specified for AffiliateLocationFeedData is invalid. + /// Chain ID specified for AffiliateLocationFeedData is invalid. DynamicFilterInvalidChainIds = 8, } impl FeedItemSetError { @@ -5438,26 +5438,26 @@ pub mod feed_item_set_error_enum { } } } -// Proto file describing feed item set link errors. +// Proto file describing feed item set link errors. -/// Container for enum describing possible feed item set link errors. +/// Container for enum describing possible feed item set link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkErrorEnum { } /// Nested message and enum types in `FeedItemSetLinkErrorEnum`. pub mod feed_item_set_link_error_enum { - /// Enum describing possible feed item set link errors. + /// Enum describing possible feed item set link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemSetLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems - /// in a given Feed can be linked to a FeedItemSet in that Feed. + /// The feed IDs of the FeedItemSet and FeedItem do not match. Only FeedItems + /// in a given Feed can be linked to a FeedItemSet in that Feed. FeedIdMismatch = 2, - /// Cannot add or remove links to a dynamic set. + /// Cannot add or remove links to a dynamic set. NoMutateAllowedForDynamicSet = 3, } impl FeedItemSetLinkError { @@ -5475,39 +5475,39 @@ pub mod feed_item_set_link_error_enum { } } } -// Proto file describing feed item target errors. +// Proto file describing feed item target errors. -/// Container for enum describing possible feed item target errors. +/// Container for enum describing possible feed item target errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetErrorEnum { } /// Nested message and enum types in `FeedItemTargetErrorEnum`. pub mod feed_item_target_error_enum { - /// Enum describing possible feed item target errors. + /// Enum describing possible feed item target errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemTargetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// On CREATE, the FeedItemTarget must have a populated field in the oneof - /// target. + /// On CREATE, the FeedItemTarget must have a populated field in the oneof + /// target. MustSetTargetOneofOnCreate = 2, - /// The specified feed item target already exists, so it cannot be added. + /// The specified feed item target already exists, so it cannot be added. FeedItemTargetAlreadyExists = 3, - /// The schedules for a given feed item cannot overlap. + /// The schedules for a given feed item cannot overlap. FeedItemSchedulesCannotOverlap = 4, - /// Too many targets of a given type were added for a single feed item. + /// Too many targets of a given type were added for a single feed item. TargetLimitExceededForGivenType = 5, - /// Too many AdSchedules are enabled for the feed item for the given day. + /// Too many AdSchedules are enabled for the feed item for the given day. TooManySchedulesPerDay = 6, - /// A feed item may either have an enabled campaign target or an enabled ad - /// group target. + /// A feed item may either have an enabled campaign target or an enabled ad + /// group target. CannotHaveEnabledCampaignAndEnabledAdGroupTargets = 7, - /// Duplicate ad schedules aren't allowed. + /// Duplicate ad schedules aren't allowed. DuplicateAdSchedule = 8, - /// Duplicate keywords aren't allowed. + /// Duplicate keywords aren't allowed. DuplicateKeyword = 9, } impl FeedItemTargetError { @@ -5531,249 +5531,249 @@ pub mod feed_item_target_error_enum { } } } -// Proto file describing feed item validation errors. +// Proto file describing feed item validation errors. -/// Container for enum describing possible validation errors of a feed item. +/// Container for enum describing possible validation errors of a feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationErrorEnum { } /// Nested message and enum types in `FeedItemValidationErrorEnum`. pub mod feed_item_validation_error_enum { - /// The possible validation errors of a feed item. + /// The possible validation errors of a feed item. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedItemValidationError { - /// No value has been specified. + /// No value has been specified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// String is too short. + /// String is too short. StringTooShort = 2, - /// String is too long. + /// String is too long. StringTooLong = 3, - /// Value is not provided. + /// Value is not provided. ValueNotSpecified = 4, - /// Phone number format is invalid for region. + /// Phone number format is invalid for region. InvalidDomesticPhoneNumberFormat = 5, - /// String does not represent a phone number. + /// String does not represent a phone number. InvalidPhoneNumber = 6, - /// Phone number format is not compatible with country code. + /// Phone number format is not compatible with country code. PhoneNumberNotSupportedForCountry = 7, - /// Premium rate number is not allowed. + /// Premium rate number is not allowed. PremiumRateNumberNotAllowed = 8, - /// Phone number type is not allowed. + /// Phone number type is not allowed. DisallowedNumberType = 9, - /// Specified value is outside of the valid range. + /// Specified value is outside of the valid range. ValueOutOfRange = 10, - /// Call tracking is not supported in the selected country. + /// Call tracking is not supported in the selected country. CalltrackingNotSupportedForCountry = 11, - /// Customer is not on the allow-list for call tracking. + /// Customer is not on the allow-list for call tracking. CustomerNotInAllowlistForCalltracking = 99, - /// Country code is invalid. + /// Country code is invalid. InvalidCountryCode = 13, - /// The specified mobile app id is invalid. + /// The specified mobile app id is invalid. InvalidAppId = 14, - /// Some required field attributes are missing. + /// Some required field attributes are missing. MissingAttributesForFields = 15, - /// Invalid email button type for email extension. + /// Invalid email button type for email extension. InvalidTypeId = 16, - /// Email address is invalid. + /// Email address is invalid. InvalidEmailAddress = 17, - /// The HTTPS URL in email extension is invalid. + /// The HTTPS URL in email extension is invalid. InvalidHttpsUrl = 18, - /// Delivery address is missing from email extension. + /// Delivery address is missing from email extension. MissingDeliveryAddress = 19, - /// FeedItem scheduling start date comes after end date. + /// FeedItem scheduling start date comes after end date. StartDateAfterEndDate = 20, - /// FeedItem scheduling start time is missing. + /// FeedItem scheduling start time is missing. MissingFeedItemStartTime = 21, - /// FeedItem scheduling end time is missing. + /// FeedItem scheduling end time is missing. MissingFeedItemEndTime = 22, - /// Cannot compute system attributes on a FeedItem that has no FeedItemId. + /// Cannot compute system attributes on a FeedItem that has no FeedItemId. MissingFeedItemId = 23, - /// Call extension vanity phone numbers are not supported. + /// Call extension vanity phone numbers are not supported. VanityPhoneNumberNotAllowed = 24, - /// Invalid review text. + /// Invalid review text. InvalidReviewExtensionSnippet = 25, - /// Invalid format for numeric value in ad parameter. + /// Invalid format for numeric value in ad parameter. InvalidNumberFormat = 26, - /// Invalid format for date value in ad parameter. + /// Invalid format for date value in ad parameter. InvalidDateFormat = 27, - /// Invalid format for price value in ad parameter. + /// Invalid format for price value in ad parameter. InvalidPriceFormat = 28, - /// Unrecognized type given for value in ad parameter. + /// Unrecognized type given for value in ad parameter. UnknownPlaceholderField = 29, - /// Enhanced sitelinks must have both description lines specified. + /// Enhanced sitelinks must have both description lines specified. MissingEnhancedSitelinkDescriptionLine = 30, - /// Review source is ineligible. + /// Review source is ineligible. ReviewExtensionSourceIneligible = 31, - /// Review text cannot contain hyphens or dashes. + /// Review text cannot contain hyphens or dashes. HyphensInReviewExtensionSnippet = 32, - /// Review text cannot contain double quote characters. + /// Review text cannot contain double quote characters. DoubleQuotesInReviewExtensionSnippet = 33, - /// Review text cannot contain quote characters. + /// Review text cannot contain quote characters. QuotesInReviewExtensionSnippet = 34, - /// Parameters are encoded in the wrong format. + /// Parameters are encoded in the wrong format. InvalidFormEncodedParams = 35, - /// URL parameter name must contain only letters, numbers, underscores, and - /// dashes. + /// URL parameter name must contain only letters, numbers, underscores, and + /// dashes. InvalidUrlParameterName = 36, - /// Cannot find address location. + /// Cannot find address location. NoGeocodingResult = 37, - /// Review extension text has source name. + /// Review extension text has source name. SourceNameInReviewExtensionText = 38, - /// Some phone numbers can be shorter than usual. Some of these short numbers - /// are carrier-specific, and we disallow those in ad extensions because they - /// will not be available to all users. + /// Some phone numbers can be shorter than usual. Some of these short numbers + /// are carrier-specific, and we disallow those in ad extensions because they + /// will not be available to all users. CarrierSpecificShortNumberNotAllowed = 39, - /// Triggered when a request references a placeholder field id that does not - /// exist. + /// Triggered when a request references a placeholder field id that does not + /// exist. InvalidPlaceholderFieldId = 40, - /// URL contains invalid ValueTrack tags or format. + /// URL contains invalid ValueTrack tags or format. InvalidUrlTag = 41, - /// Provided list exceeds acceptable size. + /// Provided list exceeds acceptable size. ListTooLong = 42, - /// Certain combinations of attributes aren't allowed to be specified in the - /// same feed item. + /// Certain combinations of attributes aren't allowed to be specified in the + /// same feed item. InvalidAttributesCombination = 43, - /// An attribute has the same value repeatedly. + /// An attribute has the same value repeatedly. DuplicateValues = 44, - /// Advertisers can link a conversion action with a phone number to indicate - /// that sufficiently long calls forwarded to that phone number should be - /// counted as conversions of the specified type. This is an error message - /// indicating that the conversion action specified is invalid (e.g., the - /// conversion action does not exist within the appropriate Google Ads - /// account, or it is a type of conversion not appropriate to phone call - /// conversions). + /// Advertisers can link a conversion action with a phone number to indicate + /// that sufficiently long calls forwarded to that phone number should be + /// counted as conversions of the specified type. This is an error message + /// indicating that the conversion action specified is invalid (e.g., the + /// conversion action does not exist within the appropriate Google Ads + /// account, or it is a type of conversion not appropriate to phone call + /// conversions). InvalidCallConversionActionId = 45, - /// Tracking template requires final url to be set. + /// Tracking template requires final url to be set. CannotSetWithoutFinalUrls = 46, - /// An app id was provided that doesn't exist in the given app store. + /// An app id was provided that doesn't exist in the given app store. AppIdDoesntExistInAppStore = 47, - /// Invalid U2 final url. + /// Invalid U2 final url. InvalidFinalUrl = 48, - /// Invalid U2 tracking url. + /// Invalid U2 tracking url. InvalidTrackingUrl = 49, - /// Final URL should start from App download URL. + /// Final URL should start from App download URL. InvalidFinalUrlForAppDownloadUrl = 50, - /// List provided is too short. + /// List provided is too short. ListTooShort = 51, - /// User Action field has invalid value. + /// User Action field has invalid value. InvalidUserAction = 52, - /// Type field has invalid value. + /// Type field has invalid value. InvalidTypeName = 53, - /// Change status for event is invalid. + /// Change status for event is invalid. InvalidEventChangeStatus = 54, - /// The header of a structured snippets extension is not one of the valid - /// headers. + /// The header of a structured snippets extension is not one of the valid + /// headers. InvalidSnippetsHeader = 55, - /// Android app link is not formatted correctly + /// Android app link is not formatted correctly InvalidAndroidAppLink = 56, - /// Phone number incompatible with call tracking for country. + /// Phone number incompatible with call tracking for country. NumberTypeWithCalltrackingNotSupportedForCountry = 57, - /// The input is identical to a reserved keyword + /// The input is identical to a reserved keyword ReservedKeywordOther = 58, - /// Each option label in the message extension must be unique. + /// Each option label in the message extension must be unique. DuplicateOptionLabels = 59, - /// Each option prefill in the message extension must be unique. + /// Each option prefill in the message extension must be unique. DuplicateOptionPrefills = 60, - /// In message extensions, the number of optional labels and optional - /// prefills must be the same. + /// In message extensions, the number of optional labels and optional + /// prefills must be the same. UnequalListLengths = 61, - /// All currency codes in an ad extension must be the same. + /// All currency codes in an ad extension must be the same. InconsistentCurrencyCodes = 62, - /// Headers in price extension are not unique. + /// Headers in price extension are not unique. PriceExtensionHasDuplicatedHeaders = 63, - /// Header and description in an item are the same. + /// Header and description in an item are the same. ItemHasDuplicatedHeaderAndDescription = 64, - /// Price extension has too few items. + /// Price extension has too few items. PriceExtensionHasTooFewItems = 65, - /// The given value is not supported. + /// The given value is not supported. UnsupportedValue = 66, - /// Invalid final mobile url. + /// Invalid final mobile url. InvalidFinalMobileUrl = 67, - /// The given string value of Label contains invalid characters + /// The given string value of Label contains invalid characters InvalidKeywordlessAdRuleLabel = 68, - /// The given URL contains value track parameters. + /// The given URL contains value track parameters. ValueTrackParameterNotSupported = 69, - /// The given value is not supported in the selected language of an - /// extension. + /// The given value is not supported in the selected language of an + /// extension. UnsupportedValueInSelectedLanguage = 70, - /// The iOS app link is not formatted correctly. + /// The iOS app link is not formatted correctly. InvalidIosAppLink = 71, - /// iOS app link or iOS app store id is missing. + /// iOS app link or iOS app store id is missing. MissingIosAppLinkOrIosAppStoreId = 72, - /// Promotion time is invalid. + /// Promotion time is invalid. PromotionInvalidTime = 73, - /// Both the percent off and money amount off fields are set. + /// Both the percent off and money amount off fields are set. PromotionCannotSetPercentOffAndMoneyAmountOff = 74, - /// Both the promotion code and orders over amount fields are set. + /// Both the promotion code and orders over amount fields are set. PromotionCannotSetPromotionCodeAndOrdersOverAmount = 75, - /// Too many decimal places are specified. + /// Too many decimal places are specified. TooManyDecimalPlacesSpecified = 76, - /// Ad Customizers are present and not allowed. + /// Ad Customizers are present and not allowed. AdCustomizersNotAllowed = 77, - /// Language code is not valid. + /// Language code is not valid. InvalidLanguageCode = 78, - /// Language is not supported. + /// Language is not supported. UnsupportedLanguage = 79, - /// IF Function is present and not allowed. + /// IF Function is present and not allowed. IfFunctionNotAllowed = 80, - /// Final url suffix is not valid. + /// Final url suffix is not valid. InvalidFinalUrlSuffix = 81, - /// Final url suffix contains an invalid tag. + /// Final url suffix contains an invalid tag. InvalidTagInFinalUrlSuffix = 82, - /// Final url suffix is formatted incorrectly. + /// Final url suffix is formatted incorrectly. InvalidFinalUrlSuffixFormat = 83, - /// Consent for call recording, which is required for the use of call - /// extensions, was not provided by the advertiser. Please see - /// + /// Consent for call recording, which is required for the use of call + /// extensions, was not provided by the advertiser. Please see + /// CustomerConsentForCallRecordingRequired = 84, - /// Multiple message delivery options are set. + /// Multiple message delivery options are set. OnlyOneDeliveryOptionIsAllowed = 85, - /// No message delivery option is set. + /// No message delivery option is set. NoDeliveryOptionIsSet = 86, - /// String value of conversion reporting state field is not valid. + /// String value of conversion reporting state field is not valid. InvalidConversionReportingState = 87, - /// Image size is not right. + /// Image size is not right. ImageSizeWrong = 88, - /// Email delivery is not supported in the country specified in the country - /// code field. + /// Email delivery is not supported in the country specified in the country + /// code field. EmailDeliveryNotAvailableInCountry = 89, - /// Auto reply is not supported in the country specified in the country code - /// field. + /// Auto reply is not supported in the country specified in the country code + /// field. AutoReplyNotAvailableInCountry = 90, - /// Invalid value specified for latitude. + /// Invalid value specified for latitude. InvalidLatitudeValue = 91, - /// Invalid value specified for longitude. + /// Invalid value specified for longitude. InvalidLongitudeValue = 92, - /// Too many label fields provided. + /// Too many label fields provided. TooManyLabels = 93, - /// Invalid image url. + /// Invalid image url. InvalidImageUrl = 94, - /// Latitude value is missing. + /// Latitude value is missing. MissingLatitudeValue = 95, - /// Longitude value is missing. + /// Longitude value is missing. MissingLongitudeValue = 96, - /// Unable to find address. + /// Unable to find address. AddressNotFound = 97, - /// Cannot target provided address. + /// Cannot target provided address. AddressNotTargetable = 98, - /// The specified asset ID does not exist. + /// The specified asset ID does not exist. InvalidAssetId = 100, - /// The asset type cannot be set for the field. + /// The asset type cannot be set for the field. IncompatibleAssetType = 101, - /// The image has unexpected size. + /// The image has unexpected size. ImageErrorUnexpectedSize = 102, - /// The image aspect ratio is not allowed. + /// The image aspect ratio is not allowed. ImageErrorAspectRatioNotAllowed = 103, - /// The image file is too large. + /// The image file is too large. ImageErrorFileTooLarge = 104, - /// The image format is unsupported. + /// The image format is unsupported. ImageErrorFormatNotAllowed = 105, - /// Image violates constraints without more details. + /// Image violates constraints without more details. ImageErrorConstraintsViolated = 106, - /// An error occurred when validating image. + /// An error occurred when validating image. ImageErrorServerError = 107, } impl FeedItemValidationError { @@ -5894,60 +5894,60 @@ pub mod feed_item_validation_error_enum { } } } -// Proto file describing feed item errors. +// Proto file describing feed item errors. -/// Container for enum describing possible feed item errors. +/// Container for enum describing possible feed item errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingErrorEnum { } /// Nested message and enum types in `FeedMappingErrorEnum`. pub mod feed_mapping_error_enum { - /// Enum describing possible feed item errors. + /// Enum describing possible feed item errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedMappingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The given placeholder field does not exist. + /// The given placeholder field does not exist. InvalidPlaceholderField = 2, - /// The given criterion field does not exist. + /// The given criterion field does not exist. InvalidCriterionField = 3, - /// The given placeholder type does not exist. + /// The given placeholder type does not exist. InvalidPlaceholderType = 4, - /// The given criterion type does not exist. + /// The given criterion type does not exist. InvalidCriterionType = 5, - /// A feed mapping must contain at least one attribute field mapping. + /// A feed mapping must contain at least one attribute field mapping. NoAttributeFieldMappings = 7, - /// The type of the feed attribute referenced in the attribute field mapping - /// must match the type of the placeholder field. + /// The type of the feed attribute referenced in the attribute field mapping + /// must match the type of the placeholder field. FeedAttributeTypeMismatch = 8, - /// A feed mapping for a system generated feed cannot be operated on. + /// A feed mapping for a system generated feed cannot be operated on. CannotOperateOnMappingsForSystemGeneratedFeed = 9, - /// Only one feed mapping for a placeholder type is allowed per feed or - /// customer (depending on the placeholder type). + /// Only one feed mapping for a placeholder type is allowed per feed or + /// customer (depending on the placeholder type). MultipleMappingsForPlaceholderType = 10, - /// Only one feed mapping for a criterion type is allowed per customer. + /// Only one feed mapping for a criterion type is allowed per customer. MultipleMappingsForCriterionType = 11, - /// Only one feed attribute mapping for a placeholder field is allowed - /// (depending on the placeholder type). + /// Only one feed attribute mapping for a placeholder field is allowed + /// (depending on the placeholder type). MultipleMappingsForPlaceholderField = 12, - /// Only one feed attribute mapping for a criterion field is allowed - /// (depending on the criterion type). + /// Only one feed attribute mapping for a criterion field is allowed + /// (depending on the criterion type). MultipleMappingsForCriterionField = 13, - /// This feed mapping may not contain any explicit attribute field mappings. + /// This feed mapping may not contain any explicit attribute field mappings. UnexpectedAttributeFieldMappings = 14, - /// Location placeholder feed mappings can only be created for Places feeds. + /// Location placeholder feed mappings can only be created for Places feeds. LocationPlaceholderOnlyForPlacesFeeds = 15, - /// Mappings for typed feeds cannot be modified. + /// Mappings for typed feeds cannot be modified. CannotModifyMappingsForTypedFeed = 16, - /// The given placeholder type can only be mapped to system generated feeds. + /// The given placeholder type can only be mapped to system generated feeds. InvalidPlaceholderTypeForNonSystemGeneratedFeed = 17, - /// The given placeholder type cannot be mapped to a system generated feed - /// with the given type. + /// The given placeholder type cannot be mapped to a system generated feed + /// with the given type. InvalidPlaceholderTypeForSystemGeneratedFeedType = 18, - /// The "field" oneof was not set in an AttributeFieldMapping. + /// The "field" oneof was not set in an AttributeFieldMapping. AttributeFieldMappingMissingField = 19, } impl FeedMappingError { @@ -5980,35 +5980,35 @@ pub mod feed_mapping_error_enum { } } } -// Proto file describing field errors. +// Proto file describing field errors. -/// Container for enum describing possible field errors. +/// Container for enum describing possible field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldErrorEnum { } /// Nested message and enum types in `FieldErrorEnum`. pub mod field_error_enum { - /// Enum describing possible field errors. + /// Enum describing possible field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The required field was not present. + /// The required field was not present. Required = 2, - /// The field attempted to be mutated is immutable. + /// The field attempted to be mutated is immutable. ImmutableField = 3, - /// The field's value is invalid. + /// The field's value is invalid. InvalidValue = 4, - /// The field cannot be set. + /// The field cannot be set. ValueMustBeUnset = 5, - /// The required repeated field was empty. + /// The required repeated field was empty. RequiredNonemptyList = 6, - /// The field cannot be cleared. + /// The field cannot be cleared. FieldCannotBeCleared = 7, - /// The field's value is on a deny-list for this field. + /// The field's value is on a deny-list for this field. BlockedValue = 9, } impl FieldError { @@ -6031,31 +6031,31 @@ pub mod field_error_enum { } } } -// Proto file describing field mask errors. +// Proto file describing field mask errors. -/// Container for enum describing possible field mask errors. +/// Container for enum describing possible field mask errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldMaskErrorEnum { } /// Nested message and enum types in `FieldMaskErrorEnum`. pub mod field_mask_error_enum { - /// Enum describing possible field mask errors. + /// Enum describing possible field mask errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldMaskError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The field mask must be provided for update operations. + /// The field mask must be provided for update operations. FieldMaskMissing = 5, - /// The field mask must be empty for create and remove operations. + /// The field mask must be empty for create and remove operations. FieldMaskNotAllowed = 4, - /// The field mask contained an invalid field. + /// The field mask contained an invalid field. FieldNotFound = 2, - /// The field mask updated a field with subfields. Fields with subfields may - /// be cleared, but not updated. To fix this, the field mask should select - /// all the subfields of the invalid field. + /// The field mask updated a field with subfields. Fields with subfields may + /// be cleared, but not updated. To fix this, the field mask should select + /// all the subfields of the invalid field. FieldHasSubfields = 3, } impl FieldMaskError { @@ -6075,54 +6075,54 @@ pub mod field_mask_error_enum { } } } -// Proto file describing function errors. +// Proto file describing function errors. -/// Container for enum describing possible function errors. +/// Container for enum describing possible function errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionErrorEnum { } /// Nested message and enum types in `FunctionErrorEnum`. pub mod function_error_enum { - /// Enum describing possible function errors. + /// Enum describing possible function errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The format of the function is not recognized as a supported function - /// format. + /// The format of the function is not recognized as a supported function + /// format. InvalidFunctionFormat = 2, - /// Operand data types do not match. + /// Operand data types do not match. DataTypeMismatch = 3, - /// The operands cannot be used together in a conjunction. + /// The operands cannot be used together in a conjunction. InvalidConjunctionOperands = 4, - /// Invalid numer of Operands. + /// Invalid numer of Operands. InvalidNumberOfOperands = 5, - /// Operand Type not supported. + /// Operand Type not supported. InvalidOperandType = 6, - /// Operator not supported. + /// Operator not supported. InvalidOperator = 7, - /// Request context type not supported. + /// Request context type not supported. InvalidRequestContextType = 8, - /// The matching function is not allowed for call placeholders + /// The matching function is not allowed for call placeholders InvalidFunctionForCallPlaceholder = 9, - /// The matching function is not allowed for the specified placeholder + /// The matching function is not allowed for the specified placeholder InvalidFunctionForPlaceholder = 10, - /// Invalid operand. + /// Invalid operand. InvalidOperand = 11, - /// Missing value for the constant operand. + /// Missing value for the constant operand. MissingConstantOperandValue = 12, - /// The value of the constant operand is invalid. + /// The value of the constant operand is invalid. InvalidConstantOperandValue = 13, - /// Invalid function nesting. + /// Invalid function nesting. InvalidNesting = 14, - /// The Feed ID was different from another Feed ID in the same function. + /// The Feed ID was different from another Feed ID in the same function. MultipleFeedIdsNotSupported = 15, - /// The matching function is invalid for use with a feed with a fixed schema. + /// The matching function is invalid for use with a feed with a fixed schema. InvalidFunctionForFeedWithFixedSchema = 16, - /// Invalid attribute name. + /// Invalid attribute name. InvalidAttributeName = 17, } impl FunctionError { @@ -6154,43 +6154,43 @@ pub mod function_error_enum { } } } -// Proto file describing function parsing errors. +// Proto file describing function parsing errors. -/// Container for enum describing possible function parsing errors. +/// Container for enum describing possible function parsing errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionParsingErrorEnum { } /// Nested message and enum types in `FunctionParsingErrorEnum`. pub mod function_parsing_error_enum { - /// Enum describing possible function parsing errors. + /// Enum describing possible function parsing errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunctionParsingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unexpected end of function string. + /// Unexpected end of function string. NoMoreInput = 2, - /// Could not find an expected character. + /// Could not find an expected character. ExpectedCharacter = 3, - /// Unexpected separator character. + /// Unexpected separator character. UnexpectedSeparator = 4, - /// Unmatched left bracket or parenthesis. + /// Unmatched left bracket or parenthesis. UnmatchedLeftBracket = 5, - /// Unmatched right bracket or parenthesis. + /// Unmatched right bracket or parenthesis. UnmatchedRightBracket = 6, - /// Functions are nested too deeply. + /// Functions are nested too deeply. TooManyNestedFunctions = 7, - /// Missing right-hand-side operand. + /// Missing right-hand-side operand. MissingRightHandOperand = 8, - /// Invalid operator/function name. + /// Invalid operator/function name. InvalidOperatorName = 9, - /// Feed attribute operand's argument is not an integer. + /// Feed attribute operand's argument is not an integer. FeedAttributeOperandArgumentNotInteger = 10, - /// Missing function operands. + /// Missing function operands. NoOperands = 11, - /// Function had too many operands. + /// Function had too many operands. TooManyOperands = 12, } impl FunctionParsingError { @@ -6217,29 +6217,29 @@ pub mod function_parsing_error_enum { } } } -/// Container for enum describing possible geo target constant suggestion errors. +/// Container for enum describing possible geo target constant suggestion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestionErrorEnum { } /// Nested message and enum types in `GeoTargetConstantSuggestionErrorEnum`. pub mod geo_target_constant_suggestion_error_enum { - /// Enum describing possible geo target constant suggestion errors. + /// Enum describing possible geo target constant suggestion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GeoTargetConstantSuggestionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A location name cannot be greater than 300 characters. + /// A location name cannot be greater than 300 characters. LocationNameSizeLimit = 2, - /// At most 25 location names can be specified in a SuggestGeoTargetConstants - /// method. + /// At most 25 location names can be specified in a SuggestGeoTargetConstants + /// method. LocationNameLimit = 3, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 4, - /// Geo target constant resource names or location names must be provided in - /// the request. + /// Geo target constant resource names or location names must be provided in + /// the request. RequestParametersUnset = 5, } impl GeoTargetConstantSuggestionError { @@ -6259,25 +6259,25 @@ pub mod geo_target_constant_suggestion_error_enum { } } } -// Proto file describing header errors. +// Proto file describing header errors. -/// Container for enum describing possible header errors. +/// Container for enum describing possible header errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HeaderErrorEnum { } /// Nested message and enum types in `HeaderErrorEnum`. pub mod header_error_enum { - /// Enum describing possible header errors. + /// Enum describing possible header errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HeaderError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The login customer ID could not be validated. + /// The login customer ID could not be validated. InvalidLoginCustomerId = 3, - /// The linked customer ID could not be validated. + /// The linked customer ID could not be validated. InvalidLinkedCustomerId = 7, } impl HeaderError { @@ -6295,23 +6295,23 @@ pub mod header_error_enum { } } } -// Proto file describing id errors. +// Proto file describing id errors. -/// Container for enum describing possible id errors. +/// Container for enum describing possible id errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdErrorEnum { } /// Nested message and enum types in `IdErrorEnum`. pub mod id_error_enum { - /// Enum describing possible id errors. + /// Enum describing possible id errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Id not found + /// Id not found NotFound = 2, } impl IdError { @@ -6328,102 +6328,102 @@ pub mod id_error_enum { } } } -// Proto file describing image errors. +// Proto file describing image errors. -/// Container for enum describing possible image errors. +/// Container for enum describing possible image errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageErrorEnum { } /// Nested message and enum types in `ImageErrorEnum`. pub mod image_error_enum { - /// Enum describing possible image errors. + /// Enum describing possible image errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImageError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The image is not valid. + /// The image is not valid. InvalidImage = 2, - /// The image could not be stored. + /// The image could not be stored. StorageError = 3, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 4, - /// The image is not of legal dimensions. + /// The image is not of legal dimensions. UnexpectedSize = 5, - /// Animated image are not permitted. + /// Animated image are not permitted. AnimatedNotAllowed = 6, - /// Animation is too long. + /// Animation is too long. AnimationTooLong = 7, - /// There was an error on the server. + /// There was an error on the server. ServerError = 8, - /// Image cannot be in CMYK color format. + /// Image cannot be in CMYK color format. CmykJpegNotAllowed = 9, - /// Flash images are not permitted. + /// Flash images are not permitted. FlashNotAllowed = 10, - /// Flash images must support clickTag. + /// Flash images must support clickTag. FlashWithoutClicktag = 11, - /// A flash error has occurred after fixing the click tag. + /// A flash error has occurred after fixing the click tag. FlashErrorAfterFixingClickTag = 12, - /// Unacceptable visual effects. + /// Unacceptable visual effects. AnimatedVisualEffect = 13, - /// There was a problem with the flash image. + /// There was a problem with the flash image. FlashError = 14, - /// Incorrect image layout. + /// Incorrect image layout. LayoutProblem = 15, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingImageFile = 16, - /// There was an error storing the image. + /// There was an error storing the image. ErrorStoringImage = 17, - /// The aspect ratio of the image is not allowed. + /// The aspect ratio of the image is not allowed. AspectRatioNotAllowed = 18, - /// Flash cannot have network objects. + /// Flash cannot have network objects. FlashHasNetworkObjects = 19, - /// Flash cannot have network methods. + /// Flash cannot have network methods. FlashHasNetworkMethods = 20, - /// Flash cannot have a Url. + /// Flash cannot have a Url. FlashHasUrl = 21, - /// Flash cannot use mouse tracking. + /// Flash cannot use mouse tracking. FlashHasMouseTracking = 22, - /// Flash cannot have a random number. + /// Flash cannot have a random number. FlashHasRandomNum = 23, - /// Ad click target cannot be '_self'. + /// Ad click target cannot be '_self'. FlashSelfTargets = 24, - /// GetUrl method should only use '_blank'. + /// GetUrl method should only use '_blank'. FlashBadGeturlTarget = 25, - /// Flash version is not supported. + /// Flash version is not supported. FlashVersionNotSupported = 26, - /// Flash movies need to have hard coded click URL or clickTAG + /// Flash movies need to have hard coded click URL or clickTAG FlashWithoutHardCodedClickUrl = 27, - /// Uploaded flash file is corrupted. + /// Uploaded flash file is corrupted. InvalidFlashFile = 28, - /// Uploaded flash file can be parsed, but the click tag can not be fixed - /// properly. + /// Uploaded flash file can be parsed, but the click tag can not be fixed + /// properly. FailedToFixClickTagInFlash = 29, - /// Flash movie accesses network resources + /// Flash movie accesses network resources FlashAccessesNetworkResources = 30, - /// Flash movie attempts to call external javascript code + /// Flash movie attempts to call external javascript code FlashExternalJsCall = 31, - /// Flash movie attempts to call flash system commands + /// Flash movie attempts to call flash system commands FlashExternalFsCall = 32, - /// Image file is too large. + /// Image file is too large. FileTooLarge = 33, - /// Image data is too large. + /// Image data is too large. ImageDataTooLarge = 34, - /// Error while processing the image. + /// Error while processing the image. ImageProcessingError = 35, - /// Image is too small. + /// Image is too small. ImageTooSmall = 36, - /// Input was invalid. + /// Input was invalid. InvalidInput = 37, - /// There was a problem reading the image file. + /// There was a problem reading the image file. ProblemReadingFile = 38, - /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED - /// can't be provided. This happens when asset spec contains more than one - /// constraint and different criteria of different constraints are violated. + /// Image constraints are violated, but details like ASPECT_RATIO_NOT_ALLOWED + /// can't be provided. This happens when asset spec contains more than one + /// constraint and different criteria of different constraints are violated. ImageConstraintsViolated = 39, - /// Image format is not allowed. + /// Image format is not allowed. FormatNotAllowed = 40, } impl ImageError { @@ -6478,31 +6478,31 @@ pub mod image_error_enum { } } } -// Proto file describing internal errors. +// Proto file describing internal errors. -/// Container for enum describing possible internal errors. +/// Container for enum describing possible internal errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InternalErrorEnum { } /// Nested message and enum types in `InternalErrorEnum`. pub mod internal_error_enum { - /// Enum describing possible internal errors. + /// Enum describing possible internal errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InternalError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Google Ads API encountered unexpected internal error. + /// Google Ads API encountered unexpected internal error. InternalError = 2, - /// The intended error code doesn't exist in specified API version. It will - /// be released in a future API version. + /// The intended error code doesn't exist in specified API version. It will + /// be released in a future API version. ErrorCodeNotPublished = 3, - /// Google Ads API encountered an unexpected transient error. The user - /// should retry their request in these cases. + /// Google Ads API encountered an unexpected transient error. The user + /// should retry their request in these cases. TransientError = 4, - /// The request took longer than a deadline. + /// The request took longer than a deadline. DeadlineExceeded = 5, } impl InternalError { @@ -6522,32 +6522,32 @@ pub mod internal_error_enum { } } } -// Proto file describing invoice errors. +// Proto file describing invoice errors. -/// Container for enum describing possible invoice errors. +/// Container for enum describing possible invoice errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvoiceErrorEnum { } /// Nested message and enum types in `InvoiceErrorEnum`. pub mod invoice_error_enum { - /// Enum describing possible invoice errors. + /// Enum describing possible invoice errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InvoiceError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot request invoices issued before 2019-01-01. + /// Cannot request invoices issued before 2019-01-01. YearMonthTooOld = 2, - /// Cannot request invoices for customer who doesn't receive invoices. + /// Cannot request invoices for customer who doesn't receive invoices. NotInvoicedCustomer = 3, - /// Cannot request invoices for a non approved billing setup. + /// Cannot request invoices for a non approved billing setup. BillingSetupNotApproved = 4, - /// Cannot request invoices for a billing setup that is not on monthly - /// invoicing. + /// Cannot request invoices for a billing setup that is not on monthly + /// invoicing. BillingSetupNotOnMonthlyInvoicing = 5, - /// Cannot request invoices for a non serving customer. + /// Cannot request invoices for a non serving customer. NonServingCustomer = 6, } impl InvoiceError { @@ -6568,28 +6568,28 @@ pub mod invoice_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group. +// Proto file describing errors from applying a keyword plan ad group. -/// Container for enum describing possible errors from applying a keyword plan -/// ad group. +/// Container for enum describing possible errors from applying a keyword plan +/// ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupErrorEnum`. pub mod keyword_plan_ad_group_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group. + /// Enum describing possible errors from applying a keyword plan ad group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The keyword plan ad group name is missing, empty, longer than allowed - /// limit or contains invalid chars. + /// The keyword plan ad group name is missing, empty, longer than allowed + /// limit or contains invalid chars. InvalidName = 2, - /// The keyword plan ad group name is duplicate to an existing keyword plan - /// AdGroup name or other keyword plan AdGroup name in the request. + /// The keyword plan ad group name is duplicate to an existing keyword plan + /// AdGroup name or other keyword plan AdGroup name in the request. DuplicateName = 3, } impl KeywordPlanAdGroupError { @@ -6607,41 +6607,41 @@ pub mod keyword_plan_ad_group_error_enum { } } } -// Proto file describing errors from applying a keyword plan ad group keyword or -// keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan ad group keyword or +// keyword plan campaign keyword. -/// Container for enum describing possible errors from applying an ad group -/// keyword or a campaign keyword from a keyword plan. +/// Container for enum describing possible errors from applying an ad group +/// keyword or a campaign keyword from a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanAdGroupKeywordErrorEnum`. pub mod keyword_plan_ad_group_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan ad group - /// keyword or keyword plan campaign keyword. + /// Enum describing possible errors from applying a keyword plan ad group + /// keyword or keyword plan campaign keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanAdGroupKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword or negative keyword has invalid match type. + /// A keyword or negative keyword has invalid match type. InvalidKeywordMatchType = 2, - /// A keyword or negative keyword with same text and match type already - /// exists. + /// A keyword or negative keyword with same text and match type already + /// exists. DuplicateKeyword = 3, - /// Keyword or negative keyword text exceeds the allowed limit. + /// Keyword or negative keyword text exceeds the allowed limit. KeywordTextTooLong = 4, - /// Keyword or negative keyword text has invalid characters or symbols. + /// Keyword or negative keyword text has invalid characters or symbols. KeywordHasInvalidChars = 5, - /// Keyword or negative keyword text has too many words. + /// Keyword or negative keyword text has too many words. KeywordHasTooManyWords = 6, - /// Keyword or negative keyword has invalid text. + /// Keyword or negative keyword has invalid text. InvalidKeywordText = 7, - /// Cpc Bid set for negative keyword. + /// Cpc Bid set for negative keyword. NegativeKeywordHasCpcBid = 8, - /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. + /// New broad match modifier (BMM) KpAdGroupKeywords are not allowed. NewBmmKeywordsNotAllowed = 9, } impl KeywordPlanAdGroupKeywordError { @@ -6665,36 +6665,36 @@ pub mod keyword_plan_ad_group_keyword_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign. +// Proto file describing errors from applying a keyword plan campaign. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignErrorEnum`. pub mod keyword_plan_campaign_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign. + /// Enum describing possible errors from applying a keyword plan campaign. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A keyword plan campaign name is missing, empty, longer than allowed limit - /// or contains invalid chars. + /// A keyword plan campaign name is missing, empty, longer than allowed limit + /// or contains invalid chars. InvalidName = 2, - /// A keyword plan campaign contains one or more untargetable languages. + /// A keyword plan campaign contains one or more untargetable languages. InvalidLanguages = 3, - /// A keyword plan campaign contains one or more invalid geo targets. + /// A keyword plan campaign contains one or more invalid geo targets. InvalidGeos = 4, - /// The keyword plan campaign name is duplicate to an existing keyword plan - /// campaign name or other keyword plan campaign name in the request. + /// The keyword plan campaign name is duplicate to an existing keyword plan + /// campaign name or other keyword plan campaign name in the request. DuplicateName = 5, - /// The number of geo targets in the keyword plan campaign exceeds limits. + /// The number of geo targets in the keyword plan campaign exceeds limits. MaxGeosExceeded = 6, - /// The number of languages in the keyword plan campaign exceeds limits. + /// The number of languages in the keyword plan campaign exceeds limits. MaxLanguagesExceeded = 7, } impl KeywordPlanCampaignError { @@ -6716,25 +6716,25 @@ pub mod keyword_plan_campaign_error_enum { } } } -// Proto file describing errors from applying a keyword plan campaign keyword. +// Proto file describing errors from applying a keyword plan campaign keyword. -/// Container for enum describing possible errors from applying a keyword plan -/// campaign keyword. +/// Container for enum describing possible errors from applying a keyword plan +/// campaign keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordErrorEnum { } /// Nested message and enum types in `KeywordPlanCampaignKeywordErrorEnum`. pub mod keyword_plan_campaign_keyword_error_enum { - /// Enum describing possible errors from applying a keyword plan campaign - /// keyword. + /// Enum describing possible errors from applying a keyword plan campaign + /// keyword. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanCampaignKeywordError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Keyword plan campaign keyword is positive. + /// Keyword plan campaign keyword is positive. CampaignKeywordIsPositive = 8, } impl KeywordPlanCampaignKeywordError { @@ -6751,54 +6751,54 @@ pub mod keyword_plan_campaign_keyword_error_enum { } } } -// Proto file describing errors from applying keyword plan resources (keyword -// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) -// or KeywordPlanService RPC. +// Proto file describing errors from applying keyword plan resources (keyword +// plan, keyword plan campaign, keyword plan ad group or keyword plan keyword) +// or KeywordPlanService RPC. -/// Container for enum describing possible errors from applying a keyword plan -/// resource (keyword plan, keyword plan campaign, keyword plan ad group or -/// keyword plan keyword) or KeywordPlanService RPC. +/// Container for enum describing possible errors from applying a keyword plan +/// resource (keyword plan, keyword plan campaign, keyword plan ad group or +/// keyword plan keyword) or KeywordPlanService RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanErrorEnum { } /// Nested message and enum types in `KeywordPlanErrorEnum`. pub mod keyword_plan_error_enum { - /// Enum describing possible errors from applying a keyword plan. + /// Enum describing possible errors from applying a keyword plan. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The plan's bid multiplier value is outside the valid range. + /// The plan's bid multiplier value is outside the valid range. BidMultiplierOutOfRange = 2, - /// The plan's bid value is too high. + /// The plan's bid value is too high. BidTooHigh = 3, - /// The plan's bid value is too low. + /// The plan's bid value is too low. BidTooLow = 4, - /// The plan's cpc bid is not a multiple of the minimum billable unit. + /// The plan's cpc bid is not a multiple of the minimum billable unit. BidTooManyFractionalDigits = 5, - /// The plan's daily budget value is too low. + /// The plan's daily budget value is too low. DailyBudgetTooLow = 6, - /// The plan's daily budget is not a multiple of the minimum billable unit. + /// The plan's daily budget is not a multiple of the minimum billable unit. DailyBudgetTooManyFractionalDigits = 7, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 8, - /// The plan has no keyword. + /// The plan has no keyword. KeywordPlanHasNoKeywords = 9, - /// The plan is not enabled and API cannot provide mutation, forecast or - /// stats. + /// The plan is not enabled and API cannot provide mutation, forecast or + /// stats. KeywordPlanNotEnabled = 10, - /// The requested plan cannot be found for providing forecast or stats. + /// The requested plan cannot be found for providing forecast or stats. KeywordPlanNotFound = 11, - /// The plan is missing a cpc bid. + /// The plan is missing a cpc bid. MissingBid = 13, - /// The plan is missing required forecast_period field. + /// The plan is missing required forecast_period field. MissingForecastPeriod = 14, - /// The plan's forecast_period has invalid forecast date range. + /// The plan's forecast_period has invalid forecast date range. InvalidForecastDateRange = 15, - /// The plan's name is invalid. + /// The plan's name is invalid. InvalidName = 16, } impl KeywordPlanError { @@ -6828,25 +6828,25 @@ pub mod keyword_plan_error_enum { } } } -// Proto file describing errors from KeywordPlanIdeaService. +// Proto file describing errors from KeywordPlanIdeaService. -/// Container for enum describing possible errors from KeywordPlanIdeaService. +/// Container for enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanIdeaErrorEnum { } /// Nested message and enum types in `KeywordPlanIdeaErrorEnum`. pub mod keyword_plan_idea_error_enum { - /// Enum describing possible errors from KeywordPlanIdeaService. + /// Enum describing possible errors from KeywordPlanIdeaService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeywordPlanIdeaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Error when crawling the input URL. + /// Error when crawling the input URL. UrlCrawlError = 2, - /// The input has an invalid value. + /// The input has an invalid value. InvalidValue = 3, } impl KeywordPlanIdeaError { @@ -6864,41 +6864,41 @@ pub mod keyword_plan_idea_error_enum { } } } -// Proto file describing label errors. +// Proto file describing label errors. -/// Container for enum describing possible label errors. +/// Container for enum describing possible label errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelErrorEnum { } /// Nested message and enum types in `LabelErrorEnum`. pub mod label_error_enum { - /// Enum describing possible label errors. + /// Enum describing possible label errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LabelError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// An inactive label cannot be applied. + /// An inactive label cannot be applied. CannotApplyInactiveLabel = 2, - /// A label cannot be applied to a disabled ad group criterion. + /// A label cannot be applied to a disabled ad group criterion. CannotApplyLabelToDisabledAdGroupCriterion = 3, - /// A label cannot be applied to a negative ad group criterion. + /// A label cannot be applied to a negative ad group criterion. CannotApplyLabelToNegativeAdGroupCriterion = 4, - /// Cannot apply more than 50 labels per resource. + /// Cannot apply more than 50 labels per resource. ExceededLabelLimitPerType = 5, - /// Labels from a manager account cannot be applied to campaign, ad group, - /// ad group ad, or ad group criterion resources. + /// Labels from a manager account cannot be applied to campaign, ad group, + /// ad group ad, or ad group criterion resources. InvalidResourceForManagerLabel = 6, - /// Label names must be unique. + /// Label names must be unique. DuplicateName = 7, - /// Label names cannot be empty. + /// Label names cannot be empty. InvalidLabelName = 8, - /// Labels cannot be applied to a draft. + /// Labels cannot be applied to a draft. CannotAttachLabelToDraft = 9, - /// Labels not from a manager account cannot be applied to the customer - /// resource. + /// Labels not from a manager account cannot be applied to the customer + /// resource. CannotAttachNonManagerLabelToCustomer = 10, } impl LabelError { @@ -6923,25 +6923,25 @@ pub mod label_error_enum { } } } -// Proto file describing language code errors. +// Proto file describing language code errors. -/// Container for enum describing language code errors. +/// Container for enum describing language code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageCodeErrorEnum { } /// Nested message and enum types in `LanguageCodeErrorEnum`. pub mod language_code_error_enum { - /// Enum describing language code errors. + /// Enum describing language code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LanguageCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input language code is not recognized. + /// The input language code is not recognized. LanguageCodeNotFound = 2, - /// The language code is not supported. + /// The language code is not supported. InvalidLanguageCode = 3, } impl LanguageCodeError { @@ -6959,25 +6959,25 @@ pub mod language_code_error_enum { } } } -// Proto file describing list operation errors. +// Proto file describing list operation errors. -/// Container for enum describing possible list operation errors. +/// Container for enum describing possible list operation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOperationErrorEnum { } /// Nested message and enum types in `ListOperationErrorEnum`. pub mod list_operation_error_enum { - /// Enum describing possible list operation errors. + /// Enum describing possible list operation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ListOperationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Field required in value is missing. + /// Field required in value is missing. RequiredFieldMissing = 7, - /// Duplicate or identical value is sent in multiple list operations. + /// Duplicate or identical value is sent in multiple list operations. DuplicateValues = 8, } impl ListOperationError { @@ -6995,61 +6995,61 @@ pub mod list_operation_error_enum { } } } -// Proto file describing ManagerLink errors. +// Proto file describing ManagerLink errors. -/// Container for enum describing possible ManagerLink errors. +/// Container for enum describing possible ManagerLink errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagerLinkErrorEnum { } /// Nested message and enum types in `ManagerLinkErrorEnum`. pub mod manager_link_error_enum { - /// Enum describing possible ManagerLink errors. + /// Enum describing possible ManagerLink errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagerLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The manager and client have incompatible account types. + /// The manager and client have incompatible account types. AccountsNotCompatibleForLinking = 2, - /// Client is already linked to too many managers. + /// Client is already linked to too many managers. TooManyManagers = 3, - /// Manager has too many pending invitations. + /// Manager has too many pending invitations. TooManyInvites = 4, - /// Client is already invited by this manager. + /// Client is already invited by this manager. AlreadyInvitedByThisManager = 5, - /// The client is already managed by this manager. + /// The client is already managed by this manager. AlreadyManagedByThisManager = 6, - /// Client is already managed in hierarchy. + /// Client is already managed in hierarchy. AlreadyManagedInHierarchy = 7, - /// Manager and sub-manager to be linked have duplicate client. + /// Manager and sub-manager to be linked have duplicate client. DuplicateChildFound = 8, - /// Client has no active user that can access the client account. + /// Client has no active user that can access the client account. ClientHasNoAdminUser = 9, - /// Adding this link would exceed the maximum hierarchy depth. + /// Adding this link would exceed the maximum hierarchy depth. MaxDepthExceeded = 10, - /// Adding this link will create a cycle. + /// Adding this link will create a cycle. CycleNotAllowed = 11, - /// Manager account has the maximum number of linked clients. + /// Manager account has the maximum number of linked clients. TooManyAccounts = 12, - /// Parent manager account has the maximum number of linked clients. + /// Parent manager account has the maximum number of linked clients. TooManyAccountsAtManager = 13, - /// The account is not authorized owner. + /// The account is not authorized owner. NonOwnerUserCannotModifyLink = 14, - /// Your manager account is suspended, and you are no longer allowed to link - /// to clients. + /// Your manager account is suspended, and you are no longer allowed to link + /// to clients. SuspendedAccountCannotAddClients = 15, - /// You are not allowed to move a client to a manager that is not under your - /// current hierarchy. + /// You are not allowed to move a client to a manager that is not under your + /// current hierarchy. ClientOutsideTree = 16, - /// The changed status for mutate link is invalid. + /// The changed status for mutate link is invalid. InvalidStatusChange = 17, - /// The change for mutate link is invalid. + /// The change for mutate link is invalid. InvalidChange = 18, - /// You are not allowed to link a manager account to itself. + /// You are not allowed to link a manager account to itself. CustomerCannotManageSelf = 19, - /// The link was created with status ACTIVE and not PENDING. + /// The link was created with status ACTIVE and not PENDING. CreatingEnabledLinkNotAllowed = 20, } impl ManagerLinkError { @@ -7084,65 +7084,65 @@ pub mod manager_link_error_enum { } } } -// Proto file describing media bundle errors. +// Proto file describing media bundle errors. -/// Container for enum describing possible media bundle errors. +/// Container for enum describing possible media bundle errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundleErrorEnum { } /// Nested message and enum types in `MediaBundleErrorEnum`. pub mod media_bundle_error_enum { - /// Enum describing possible media bundle errors. + /// Enum describing possible media bundle errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaBundleError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// There was a problem with the request. + /// There was a problem with the request. BadRequest = 3, - /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. + /// HTML5 ads using DoubleClick Studio created ZIP files are not supported. DoubleclickBundleNotAllowed = 4, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 5, - /// Media bundle file is too large. + /// Media bundle file is too large. FileTooLarge = 6, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 7, - /// Input was invalid. + /// Input was invalid. InvalidInput = 8, - /// There was a problem with the media bundle. + /// There was a problem with the media bundle. InvalidMediaBundle = 9, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 10, - /// The media bundle contains a file with an unknown mime type + /// The media bundle contains a file with an unknown mime type InvalidMimeType = 11, - /// The media bundle contain an invalid asset path. + /// The media bundle contain an invalid asset path. InvalidPath = 12, - /// HTML5 ad is trying to reference an asset not in .ZIP file + /// HTML5 ad is trying to reference an asset not in .ZIP file InvalidUrlReference = 13, - /// Media data is too large. + /// Media data is too large. MediaDataTooLarge = 14, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 15, - /// There was an error on the server. + /// There was an error on the server. ServerError = 16, - /// The image could not be stored. + /// The image could not be stored. StorageError = 17, - /// Media bundle created with the Swiffy tool is not allowed. + /// Media bundle created with the Swiffy tool is not allowed. SwiffyBundleNotAllowed = 18, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFiles = 19, - /// The media bundle is not of legal dimensions. + /// The media bundle is not of legal dimensions. UnexpectedSize = 20, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 21, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 22, - /// URL in HTML5 entry is not ssl compliant. + /// URL in HTML5 entry is not ssl compliant. UrlInMediaBundleNotSslCompliant = 23, - /// Custom exits not allowed in HTML5 entry. + /// Custom exits not allowed in HTML5 entry. CustomExitNotAllowed = 24, } impl MediaBundleError { @@ -7180,67 +7180,67 @@ pub mod media_bundle_error_enum { } } } -// Proto file describing media file errors. +// Proto file describing media file errors. -/// Container for enum describing possible media file errors. +/// Container for enum describing possible media file errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileErrorEnum { } /// Nested message and enum types in `MediaFileErrorEnum`. pub mod media_file_error_enum { - /// Enum describing possible media file errors. + /// Enum describing possible media file errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaFileError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Cannot create a standard icon type. + /// Cannot create a standard icon type. CannotCreateStandardIcon = 2, - /// May only select Standard Icons alone. + /// May only select Standard Icons alone. CannotSelectStandardIconWithOtherTypes = 3, - /// Image contains both a media file ID and data. + /// Image contains both a media file ID and data. CannotSpecifyMediaFileIdAndData = 4, - /// A media file with given type and reference ID already exists. + /// A media file with given type and reference ID already exists. DuplicateMedia = 5, - /// A required field was not specified or is an empty string. + /// A required field was not specified or is an empty string. EmptyField = 6, - /// A media file may only be modified once per call. + /// A media file may only be modified once per call. ResourceReferencedInMultipleOps = 7, - /// Field is not supported for the media sub type. + /// Field is not supported for the media sub type. FieldNotSupportedForMediaSubType = 8, - /// The media file ID is invalid. + /// The media file ID is invalid. InvalidMediaFileId = 9, - /// The media subtype is invalid. + /// The media subtype is invalid. InvalidMediaSubType = 10, - /// The media file type is invalid. + /// The media file type is invalid. InvalidMediaFileType = 11, - /// The mimetype is invalid. + /// The mimetype is invalid. InvalidMimeType = 12, - /// The media reference ID is invalid. + /// The media reference ID is invalid. InvalidReferenceId = 13, - /// The YouTube video ID is invalid. + /// The YouTube video ID is invalid. InvalidYouTubeId = 14, - /// Media file has failed transcoding + /// Media file has failed transcoding MediaFileFailedTranscoding = 15, - /// Media file has not been transcoded. + /// Media file has not been transcoded. MediaNotTranscoded = 16, - /// The media type does not match the actual media file's type. + /// The media type does not match the actual media file's type. MediaTypeDoesNotMatchMediaFileType = 17, - /// None of the fields have been specified. + /// None of the fields have been specified. NoFieldsSpecified = 18, - /// One of reference ID or media file ID must be specified. + /// One of reference ID or media file ID must be specified. NullReferenceIdAndMediaId = 19, - /// The string has too many characters. + /// The string has too many characters. TooLong = 20, - /// The specified type is not supported. + /// The specified type is not supported. UnsupportedType = 21, - /// YouTube is unavailable for requesting video data. + /// YouTube is unavailable for requesting video data. YouTubeServiceUnavailable = 22, - /// The YouTube video has a non positive duration. + /// The YouTube video has a non positive duration. YouTubeVideoHasNonPositiveDuration = 23, - /// The YouTube video ID is syntactically valid but the video was not found. + /// The YouTube video ID is syntactically valid but the video was not found. YouTubeVideoNotFound = 24, } impl MediaFileError { @@ -7279,95 +7279,95 @@ pub mod media_file_error_enum { } } } -// Proto file describing media uploading errors. +// Proto file describing media uploading errors. -/// Container for enum describing possible media uploading errors. +/// Container for enum describing possible media uploading errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaUploadErrorEnum { } /// Nested message and enum types in `MediaUploadErrorEnum`. pub mod media_upload_error_enum { - /// Enum describing possible media uploading errors. + /// Enum describing possible media uploading errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaUploadError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The uploaded file is too big. + /// The uploaded file is too big. FileTooBig = 2, - /// Image data is unparseable. + /// Image data is unparseable. UnparseableImage = 3, - /// Animated images are not allowed. + /// Animated images are not allowed. AnimatedImageNotAllowed = 4, - /// The image or media bundle format is not allowed. + /// The image or media bundle format is not allowed. FormatNotAllowed = 5, - /// Cannot reference URL external to the media bundle. + /// Cannot reference URL external to the media bundle. ExternalUrlNotAllowed = 6, - /// HTML5 ad is trying to reference an asset not in .ZIP file. + /// HTML5 ad is trying to reference an asset not in .ZIP file. InvalidUrlReference = 7, - /// The media bundle contains no primary entry. + /// The media bundle contains no primary entry. MissingPrimaryMediaBundleEntry = 8, - /// Animation has disallowed visual effects. + /// Animation has disallowed visual effects. AnimatedVisualEffect = 9, - /// Animation longer than the allowed 30 second limit. + /// Animation longer than the allowed 30 second limit. AnimationTooLong = 10, - /// The aspect ratio of the image does not match the expected aspect ratios - /// provided in the asset spec. + /// The aspect ratio of the image does not match the expected aspect ratios + /// provided in the asset spec. AspectRatioNotAllowed = 11, - /// Audio files are not allowed in bundle. + /// Audio files are not allowed in bundle. AudioNotAllowedInMediaBundle = 12, - /// CMYK jpegs are not supported. + /// CMYK jpegs are not supported. CmykJpegNotAllowed = 13, - /// Flash movies are not allowed. + /// Flash movies are not allowed. FlashNotAllowed = 14, - /// The frame rate of the video is higher than the allowed 5fps. + /// The frame rate of the video is higher than the allowed 5fps. FrameRateTooHigh = 15, - /// ZIP file from Google Web Designer is not published. + /// ZIP file from Google Web Designer is not published. GoogleWebDesignerZipFileNotPublished = 16, - /// Image constraints are violated, but more details (like - /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. - /// This happens when asset spec contains more than one constraint and - /// criteria of different constraints are violated. + /// Image constraints are violated, but more details (like + /// DIMENSIONS_NOT_ALLOWED or ASPECT_RATIO_NOT_ALLOWED) can not be provided. + /// This happens when asset spec contains more than one constraint and + /// criteria of different constraints are violated. ImageConstraintsViolated = 17, - /// Media bundle data is unrecognizable. + /// Media bundle data is unrecognizable. InvalidMediaBundle = 18, - /// There was a problem with one or more of the media bundle entries. + /// There was a problem with one or more of the media bundle entries. InvalidMediaBundleEntry = 19, - /// The asset has an invalid mime type. + /// The asset has an invalid mime type. InvalidMimeType = 20, - /// The media bundle contains an invalid asset path. + /// The media bundle contains an invalid asset path. InvalidPath = 21, - /// Image has layout problem. + /// Image has layout problem. LayoutProblem = 22, - /// An asset had a URL reference that is malformed per RFC 1738 convention. + /// An asset had a URL reference that is malformed per RFC 1738 convention. MalformedUrl = 23, - /// The uploaded media bundle format is not allowed. + /// The uploaded media bundle format is not allowed. MediaBundleNotAllowed = 24, - /// The media bundle is not compatible with the asset spec product type. - /// (E.g. Gmail, dynamic remarketing, etc.) + /// The media bundle is not compatible with the asset spec product type. + /// (E.g. Gmail, dynamic remarketing, etc.) MediaBundleNotCompatibleToProductType = 25, - /// A bundle being uploaded that is incompatible with multiple assets for - /// different reasons. + /// A bundle being uploaded that is incompatible with multiple assets for + /// different reasons. MediaBundleRejectedByMultipleAssetSpecs = 26, - /// The media bundle contains too many files. + /// The media bundle contains too many files. TooManyFilesInMediaBundle = 27, - /// Google Web Designer not created for "Google Ads" environment. + /// Google Web Designer not created for "Google Ads" environment. UnsupportedGoogleWebDesignerEnvironment = 28, - /// Unsupported HTML5 feature in HTML5 asset. + /// Unsupported HTML5 feature in HTML5 asset. UnsupportedHtml5Feature = 29, - /// URL in HTML5 entry is not SSL compliant. + /// URL in HTML5 entry is not SSL compliant. UrlInMediaBundleNotSslCompliant = 30, - /// Video file name is longer than the 50 allowed characters. + /// Video file name is longer than the 50 allowed characters. VideoFileNameTooLong = 31, - /// Multiple videos with same name in a bundle. + /// Multiple videos with same name in a bundle. VideoMultipleFilesWithSameName = 32, - /// Videos are not allowed in media bundle. + /// Videos are not allowed in media bundle. VideoNotAllowedInMediaBundle = 33, - /// This type of media cannot be uploaded through the Google Ads API. + /// This type of media cannot be uploaded through the Google Ads API. CannotUploadMediaTypeThroughApi = 34, - /// The dimensions of the image are not allowed. + /// The dimensions of the image are not allowed. DimensionsNotAllowed = 35, } impl MediaUploadError { @@ -7417,25 +7417,25 @@ pub mod media_upload_error_enum { } } } -// Proto file describing merchant center errors. +// Proto file describing merchant center errors. -/// Container for enum describing possible merchant center errors. +/// Container for enum describing possible merchant center errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterErrorEnum { } /// Nested message and enum types in `MerchantCenterErrorEnum`. pub mod merchant_center_error_enum { - /// Enum describing Merchant Center errors. + /// Enum describing Merchant Center errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MerchantCenterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Merchant ID is either not found or not linked to the Google Ads customer. + /// Merchant ID is either not found or not linked to the Google Ads customer. MerchantIdCannotBeAccessed = 2, - /// Customer not allowlisted for Shopping in Performance Max Campaign. + /// Customer not allowlisted for Shopping in Performance Max Campaign. CustomerNotAllowedForShoppingPerformanceMax = 3, } impl MerchantCenterError { @@ -7453,46 +7453,46 @@ pub mod merchant_center_error_enum { } } } -// Proto file describing multiplier errors. +// Proto file describing multiplier errors. -/// Container for enum describing possible multiplier errors. +/// Container for enum describing possible multiplier errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MultiplierErrorEnum { } /// Nested message and enum types in `MultiplierErrorEnum`. pub mod multiplier_error_enum { - /// Enum describing possible multiplier errors. + /// Enum describing possible multiplier errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MultiplierError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Multiplier value is too high + /// Multiplier value is too high MultiplierTooHigh = 2, - /// Multiplier value is too low + /// Multiplier value is too low MultiplierTooLow = 3, - /// Too many fractional digits + /// Too many fractional digits TooManyFractionalDigits = 4, - /// A multiplier cannot be set for this bidding strategy + /// A multiplier cannot be set for this bidding strategy MultiplierNotAllowedForBiddingStrategy = 5, - /// A multiplier cannot be set when there is no base bid (e.g., content max - /// cpc) + /// A multiplier cannot be set when there is no base bid (e.g., content max + /// cpc) MultiplierNotAllowedWhenBaseBidIsMissing = 6, - /// A bid multiplier must be specified + /// A bid multiplier must be specified NoMultiplierSpecified = 7, - /// Multiplier causes bid to exceed daily budget + /// Multiplier causes bid to exceed daily budget MultiplierCausesBidToExceedDailyBudget = 8, - /// Multiplier causes bid to exceed monthly budget + /// Multiplier causes bid to exceed monthly budget MultiplierCausesBidToExceedMonthlyBudget = 9, - /// Multiplier causes bid to exceed custom budget + /// Multiplier causes bid to exceed custom budget MultiplierCausesBidToExceedCustomBudget = 10, - /// Multiplier causes bid to exceed maximum allowed bid + /// Multiplier causes bid to exceed maximum allowed bid MultiplierCausesBidToExceedMaxAllowedBid = 11, - /// Multiplier causes bid to become less than the minimum bid allowed + /// Multiplier causes bid to become less than the minimum bid allowed BidLessThanMinAllowedBidWithMultiplier = 12, - /// Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy + /// Multiplier type (cpc vs. cpm) needs to match campaign's bidding strategy MultiplierAndBiddingStrategyTypeMismatch = 13, } impl MultiplierError { @@ -7520,40 +7520,40 @@ pub mod multiplier_error_enum { } } } -// Proto file describing mutate errors. +// Proto file describing mutate errors. -/// Container for enum describing possible mutate errors. +/// Container for enum describing possible mutate errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateErrorEnum { } /// Nested message and enum types in `MutateErrorEnum`. pub mod mutate_error_enum { - /// Enum describing possible mutate errors. + /// Enum describing possible mutate errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MutateError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Requested resource was not found. + /// Requested resource was not found. ResourceNotFound = 3, - /// Cannot mutate the same resource twice in one request. + /// Cannot mutate the same resource twice in one request. IdExistsInMultipleMutates = 7, - /// The field's contents don't match another field that represents the same - /// data. + /// The field's contents don't match another field that represents the same + /// data. InconsistentFieldValues = 8, - /// Mutates are not allowed for the requested resource. + /// Mutates are not allowed for the requested resource. MutateNotAllowed = 9, - /// The resource isn't in Google Ads. It belongs to another ads system. + /// The resource isn't in Google Ads. It belongs to another ads system. ResourceNotInGoogleAds = 10, - /// The resource being created already exists. + /// The resource being created already exists. ResourceAlreadyExists = 11, - /// This resource cannot be used with "validate_only". + /// This resource cannot be used with "validate_only". ResourceDoesNotSupportValidateOnly = 12, - /// This operation cannot be used with "partial_failure". + /// This operation cannot be used with "partial_failure". OperationDoesNotSupportPartialFailure = 16, - /// Attempt to write to read-only fields. + /// Attempt to write to read-only fields. ResourceReadOnly = 13, } impl MutateError { @@ -7578,28 +7578,28 @@ pub mod mutate_error_enum { } } } -// Proto file describing new resource creation errors. +// Proto file describing new resource creation errors. -/// Container for enum describing possible new resource creation errors. +/// Container for enum describing possible new resource creation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NewResourceCreationErrorEnum { } /// Nested message and enum types in `NewResourceCreationErrorEnum`. pub mod new_resource_creation_error_enum { - /// Enum describing possible new resource creation errors. + /// Enum describing possible new resource creation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NewResourceCreationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Do not set the id field while creating new resources. + /// Do not set the id field while creating new resources. CannotSetIdForCreate = 2, - /// Creating more than one resource with the same temp ID is not allowed. + /// Creating more than one resource with the same temp ID is not allowed. DuplicateTempIds = 3, - /// Parent resource with specified temp ID failed validation, so no - /// validation will be done for this child resource. + /// Parent resource with specified temp ID failed validation, so no + /// validation will be done for this child resource. TempIdResourceHadErrors = 4, } impl NewResourceCreationError { @@ -7618,23 +7618,23 @@ pub mod new_resource_creation_error_enum { } } } -// Proto file describing not allowlisted errors. +// Proto file describing not allowlisted errors. -/// Container for enum describing possible not allowlisted errors. +/// Container for enum describing possible not allowlisted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotAllowlistedErrorEnum { } /// Nested message and enum types in `NotAllowlistedErrorEnum`. pub mod not_allowlisted_error_enum { - /// Enum describing possible not allowlisted errors. + /// Enum describing possible not allowlisted errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotAllowlistedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowlisted for accessing this feature. + /// Customer is not allowlisted for accessing this feature. CustomerNotAllowlistedForThisFeature = 2, } impl NotAllowlistedError { @@ -7651,23 +7651,23 @@ pub mod not_allowlisted_error_enum { } } } -// Proto file describing not empty errors. +// Proto file describing not empty errors. -/// Container for enum describing possible not empty errors. +/// Container for enum describing possible not empty errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotEmptyErrorEnum { } /// Nested message and enum types in `NotEmptyErrorEnum`. pub mod not_empty_error_enum { - /// Enum describing possible not empty errors. + /// Enum describing possible not empty errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NotEmptyError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Empty list. + /// Empty list. EmptyList = 2, } impl NotEmptyError { @@ -7684,23 +7684,23 @@ pub mod not_empty_error_enum { } } } -// Proto file describing null errors. +// Proto file describing null errors. -/// Container for enum describing possible null errors. +/// Container for enum describing possible null errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NullErrorEnum { } /// Nested message and enum types in `NullErrorEnum`. pub mod null_error_enum { - /// Enum describing possible null errors. + /// Enum describing possible null errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NullError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Specified list/container must not contain any null elements + /// Specified list/container must not contain any null elements NullContent = 2, } impl NullError { @@ -7717,103 +7717,103 @@ pub mod null_error_enum { } } } -// Proto file describing offline user data job errors. +// Proto file describing offline user data job errors. -/// Container for enum describing possible offline user data job errors. +/// Container for enum describing possible offline user data job errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobErrorEnum { } /// Nested message and enum types in `OfflineUserDataJobErrorEnum`. pub mod offline_user_data_job_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OfflineUserDataJobError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The user list ID provided for the job is invalid. + /// The user list ID provided for the job is invalid. InvalidUserListId = 3, - /// Type of the user list is not applicable for the job. + /// Type of the user list is not applicable for the job. InvalidUserListType = 4, - /// Customer is not allowisted for using user ID in upload data. + /// Customer is not allowisted for using user ID in upload data. NotOnAllowlistForUserId = 33, - /// Upload data is not compatible with the upload key type of the associated - /// user list. + /// Upload data is not compatible with the upload key type of the associated + /// user list. IncompatibleUploadKeyType = 6, - /// The user identifier is missing valid data. + /// The user identifier is missing valid data. MissingUserIdentifier = 7, - /// The mobile ID is malformed. + /// The mobile ID is malformed. InvalidMobileIdFormat = 8, - /// Maximum number of user identifiers allowed per request is 100,000. + /// Maximum number of user identifiers allowed per request is 100,000. TooManyUserIdentifiers = 9, - /// Customer is not on the allow-list for store sales direct data. + /// Customer is not on the allow-list for store sales direct data. NotOnAllowlistForStoreSalesDirect = 31, - /// Customer is not on the allow-list for unified store sales data. + /// Customer is not on the allow-list for unified store sales data. NotOnAllowlistForUnifiedStoreSales = 32, - /// The partner ID in store sales direct metadata is invalid. + /// The partner ID in store sales direct metadata is invalid. InvalidPartnerId = 11, - /// The data in user identifier should not be encoded. + /// The data in user identifier should not be encoded. InvalidEncoding = 12, - /// The country code is invalid. + /// The country code is invalid. InvalidCountryCode = 13, - /// Incompatible user identifier when using third_party_user_id for store - /// sales direct first party data or not using third_party_user_id for store - /// sales third party data. + /// Incompatible user identifier when using third_party_user_id for store + /// sales direct first party data or not using third_party_user_id for store + /// sales third party data. IncompatibleUserIdentifier = 14, - /// A transaction time in the future is not allowed. + /// A transaction time in the future is not allowed. FutureTransactionTime = 15, - /// The conversion_action specified in transaction_attributes is used to - /// report conversions to a conversion action configured in Google Ads. This - /// error indicates there is no such conversion action in the account. + /// The conversion_action specified in transaction_attributes is used to + /// report conversions to a conversion action configured in Google Ads. This + /// error indicates there is no such conversion action in the account. InvalidConversionAction = 16, - /// Mobile ID is not supported for store sales direct data. + /// Mobile ID is not supported for store sales direct data. MobileIdNotSupported = 17, - /// When a remove-all operation is provided, it has to be the first operation - /// of the operation list. + /// When a remove-all operation is provided, it has to be the first operation + /// of the operation list. InvalidOperationOrder = 18, - /// Mixing creation and removal of offline data in the same job is not - /// allowed. + /// Mixing creation and removal of offline data in the same job is not + /// allowed. ConflictingOperation = 19, - /// The external update ID already exists. + /// The external update ID already exists. ExternalUpdateIdAlreadyExists = 21, - /// Once the upload job is started, new operations cannot be added. + /// Once the upload job is started, new operations cannot be added. JobAlreadyStarted = 22, - /// Remove operation is not allowed for store sales direct updates. + /// Remove operation is not allowed for store sales direct updates. RemoveNotSupported = 23, - /// Remove-all is not supported for certain offline user data job types. + /// Remove-all is not supported for certain offline user data job types. RemoveAllNotSupported = 24, - /// The SHA256 encoded value is malformed. + /// The SHA256 encoded value is malformed. InvalidSha256Format = 25, - /// The custom key specified is not enabled for the unified store sales - /// upload. + /// The custom key specified is not enabled for the unified store sales + /// upload. CustomKeyDisabled = 26, - /// The custom key specified is not predefined through the Google Ads UI. + /// The custom key specified is not predefined through the Google Ads UI. CustomKeyNotPredefined = 27, - /// The custom key specified is not set in the upload. + /// The custom key specified is not set in the upload. CustomKeyNotSet = 29, - /// The customer has not accepted the customer data terms in the conversion - /// settings page. + /// The customer has not accepted the customer data terms in the conversion + /// settings page. CustomerNotAcceptedCustomerDataTerms = 30, - /// User attributes cannot be uploaded into a user list. + /// User attributes cannot be uploaded into a user list. AttributesNotApplicableForCustomerMatchUserList = 34, - /// Lifetime value bucket must be a number from 1-10, except for remove - /// operation where 0 will be accepted. + /// Lifetime value bucket must be a number from 1-10, except for remove + /// operation where 0 will be accepted. LifetimeValueBucketNotInRange = 35, - /// Identifiers not supported for Customer Match attributes. User attributes - /// can only be provided with contact info (email, phone, address) user - /// identifiers. + /// Identifiers not supported for Customer Match attributes. User attributes + /// can only be provided with contact info (email, phone, address) user + /// identifiers. IncompatibleUserIdentifierForAttributes = 36, - /// A time in the future is not allowed. + /// A time in the future is not allowed. FutureTimeNotAllowed = 37, - /// Last purchase date time cannot be less than acquisition date time. + /// Last purchase date time cannot be less than acquisition date time. LastPurchaseTimeLessThanAcquisitionTime = 38, - /// Only emails are accepted as user identifiers for shopping loyalty match. - /// {-- api.dev/not-precedent: The identifier is not limited to ids, but - /// also include other user info eg. phone numbers.} + /// Only emails are accepted as user identifiers for shopping loyalty match. + /// {-- api.dev/not-precedent: The identifier is not limited to ids, but + /// also include other user info eg. phone numbers.} CustomerIdentifierNotAllowed = 39, - /// Provided item ID is invalid. + /// Provided item ID is invalid. InvalidItemId = 40, } impl OfflineUserDataJobError { @@ -7863,41 +7863,41 @@ pub mod offline_user_data_job_error_enum { } } } -// Proto file describing operation access denied errors. +// Proto file describing operation access denied errors. -/// Container for enum describing possible operation access denied errors. +/// Container for enum describing possible operation access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationAccessDeniedErrorEnum { } /// Nested message and enum types in `OperationAccessDeniedErrorEnum`. pub mod operation_access_denied_error_enum { - /// Enum describing possible operation access denied errors. + /// Enum describing possible operation access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Unauthorized invocation of a service's method (get, mutate, etc.) + /// Unauthorized invocation of a service's method (get, mutate, etc.) ActionNotPermitted = 2, - /// Unauthorized CREATE operation in invoking a service's mutate method. + /// Unauthorized CREATE operation in invoking a service's mutate method. CreateOperationNotPermitted = 3, - /// Unauthorized REMOVE operation in invoking a service's mutate method. + /// Unauthorized REMOVE operation in invoking a service's mutate method. RemoveOperationNotPermitted = 4, - /// Unauthorized UPDATE operation in invoking a service's mutate method. + /// Unauthorized UPDATE operation in invoking a service's mutate method. UpdateOperationNotPermitted = 5, - /// A mutate action is not allowed on this resource, from this client. + /// A mutate action is not allowed on this resource, from this client. MutateActionNotPermittedForClient = 6, - /// This operation is not permitted on this campaign type + /// This operation is not permitted on this campaign type OperationNotPermittedForCampaignType = 7, - /// A CREATE operation may not set status to REMOVED. + /// A CREATE operation may not set status to REMOVED. CreateAsRemovedNotPermitted = 8, - /// This operation is not allowed because the resource is removed. + /// This operation is not allowed because the resource is removed. OperationNotPermittedForRemovedResource = 9, - /// This operation is not permitted on this ad group type. + /// This operation is not permitted on this ad group type. OperationNotPermittedForAdGroupType = 10, - /// The mutate is not allowed for this customer. + /// The mutate is not allowed for this customer. MutateNotPermittedForCustomer = 11, } impl OperationAccessDeniedError { @@ -7923,23 +7923,23 @@ pub mod operation_access_denied_error_enum { } } } -// Proto file describing operator errors. +// Proto file describing operator errors. -/// Container for enum describing possible operator errors. +/// Container for enum describing possible operator errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatorErrorEnum { } /// Nested message and enum types in `OperatorErrorEnum`. pub mod operator_error_enum { - /// Enum describing possible operator errors. + /// Enum describing possible operator errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperatorError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Operator not supported. + /// Operator not supported. OperatorNotSupported = 2, } impl OperatorError { @@ -7956,24 +7956,24 @@ pub mod operator_error_enum { } } } -// Proto file describing partial failure errors. +// Proto file describing partial failure errors. -/// Container for enum describing possible partial failure errors. +/// Container for enum describing possible partial failure errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialFailureErrorEnum { } /// Nested message and enum types in `PartialFailureErrorEnum`. pub mod partial_failure_error_enum { - /// Enum describing possible partial failure errors. + /// Enum describing possible partial failure errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartialFailureError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The partial failure field was false in the request. - /// This method requires this field be set to true. + /// The partial failure field was false in the request. + /// This method requires this field be set to true. PartialFailureModeRequired = 2, } impl PartialFailureError { @@ -7990,23 +7990,23 @@ pub mod partial_failure_error_enum { } } } -// Proto file describing payments account service errors. +// Proto file describing payments account service errors. -/// Container for enum describing possible errors in payments account service. +/// Container for enum describing possible errors in payments account service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountErrorEnum { } /// Nested message and enum types in `PaymentsAccountErrorEnum`. pub mod payments_account_error_enum { - /// Enum describing possible errors in payments account service. + /// Enum describing possible errors in payments account service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentsAccountError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Manager customers are not supported for payments account service. + /// Manager customers are not supported for payments account service. NotSupportedForManagerCustomer = 2, } impl PaymentsAccountError { @@ -8023,26 +8023,26 @@ pub mod payments_account_error_enum { } } } -// Proto file describing policy finding errors. +// Proto file describing policy finding errors. -/// Container for enum describing possible policy finding errors. +/// Container for enum describing possible policy finding errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingErrorEnum { } /// Nested message and enum types in `PolicyFindingErrorEnum`. pub mod policy_finding_error_enum { - /// Enum describing possible policy finding errors. + /// Enum describing possible policy finding errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyFindingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The resource has been disapproved since the policy summary includes - /// policy topics of type PROHIBITED. + /// The resource has been disapproved since the policy summary includes + /// policy topics of type PROHIBITED. PolicyFinding = 2, - /// The given policy topic does not exist. + /// The given policy topic does not exist. PolicyTopicNotFound = 3, } impl PolicyFindingError { @@ -8060,28 +8060,28 @@ pub mod policy_finding_error_enum { } } } -// Proto file describing policy validation parameter errors. +// Proto file describing policy validation parameter errors. -/// Container for enum describing possible policy validation parameter errors. +/// Container for enum describing possible policy validation parameter errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyValidationParameterErrorEnum { } /// Nested message and enum types in `PolicyValidationParameterErrorEnum`. pub mod policy_validation_parameter_error_enum { - /// Enum describing possible policy validation parameter errors. + /// Enum describing possible policy validation parameter errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyValidationParameterError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Ignorable policy topics are not supported for the ad type. + /// Ignorable policy topics are not supported for the ad type. UnsupportedAdTypeForIgnorablePolicyTopics = 2, - /// Exempt policy violation keys are not supported for the ad type. + /// Exempt policy violation keys are not supported for the ad type. UnsupportedAdTypeForExemptPolicyViolationKeys = 3, - /// Cannot set ignorable policy topics and exempt policy violation keys in - /// the same policy violation parameter. + /// Cannot set ignorable policy topics and exempt policy violation keys in + /// the same policy violation parameter. CannotSetBothIgnorablePolicyTopicsAndExemptPolicyViolationKeys = 4, } impl PolicyValidationParameterError { @@ -8100,23 +8100,23 @@ pub mod policy_validation_parameter_error_enum { } } } -// Proto file describing policy violation errors. +// Proto file describing policy violation errors. -/// Container for enum describing possible policy violation errors. +/// Container for enum describing possible policy violation errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationErrorEnum { } /// Nested message and enum types in `PolicyViolationErrorEnum`. pub mod policy_violation_error_enum { - /// Enum describing possible policy violation errors. + /// Enum describing possible policy violation errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyViolationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// A policy was violated. See PolicyViolationDetails for more detail. + /// A policy was violated. See PolicyViolationDetails for more detail. PolicyError = 2, } impl PolicyViolationError { @@ -8133,149 +8133,149 @@ pub mod policy_violation_error_enum { } } } -// Proto file describing query errors. +// Proto file describing query errors. -/// Container for enum describing possible query errors. +/// Container for enum describing possible query errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryErrorEnum { } /// Nested message and enum types in `QueryErrorEnum`. pub mod query_error_enum { - /// Enum describing possible query errors. + /// Enum describing possible query errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QueryError { - /// Name unspecified. + /// Name unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Returned if all other query error reasons are not applicable. + /// Returned if all other query error reasons are not applicable. QueryError = 50, - /// A condition used in the query references an invalid enum constant. + /// A condition used in the query references an invalid enum constant. BadEnumConstant = 18, - /// Query contains an invalid escape sequence. + /// Query contains an invalid escape sequence. BadEscapeSequence = 7, - /// Field name is invalid. + /// Field name is invalid. BadFieldName = 12, - /// Limit value is invalid (i.e. not a number) + /// Limit value is invalid (i.e. not a number) BadLimitValue = 15, - /// Encountered number can not be parsed. + /// Encountered number can not be parsed. BadNumber = 5, - /// Invalid operator encountered. + /// Invalid operator encountered. BadOperator = 3, - /// Parameter unknown or not supported. + /// Parameter unknown or not supported. BadParameterName = 61, - /// Parameter have invalid value. + /// Parameter have invalid value. BadParameterValue = 62, - /// Invalid resource type was specified in the FROM clause. + /// Invalid resource type was specified in the FROM clause. BadResourceTypeInFromClause = 45, - /// Non-ASCII symbol encountered outside of strings. + /// Non-ASCII symbol encountered outside of strings. BadSymbol = 2, - /// Value is invalid. + /// Value is invalid. BadValue = 4, - /// Date filters fail to restrict date to a range smaller than 31 days. - /// Applicable if the query is segmented by date. + /// Date filters fail to restrict date to a range smaller than 31 days. + /// Applicable if the query is segmented by date. DateRangeTooWide = 36, - /// Filters on date/week/month/quarter have a start date after - /// end date. + /// Filters on date/week/month/quarter have a start date after + /// end date. DateRangeTooNarrow = 60, - /// Expected AND between values with BETWEEN operator. + /// Expected AND between values with BETWEEN operator. ExpectedAnd = 30, - /// Expecting ORDER BY to have BY. + /// Expecting ORDER BY to have BY. ExpectedBy = 14, - /// There was no dimension field selected. + /// There was no dimension field selected. ExpectedDimensionFieldInSelectClause = 37, - /// Missing filters on date related fields. + /// Missing filters on date related fields. ExpectedFiltersOnDateRange = 55, - /// Missing FROM clause. + /// Missing FROM clause. ExpectedFrom = 44, - /// The operator used in the conditions requires the value to be a list. + /// The operator used in the conditions requires the value to be a list. ExpectedList = 41, - /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT - /// clause. + /// Fields used in WHERE or ORDER BY clauses are missing from the SELECT + /// clause. ExpectedReferencedFieldInSelectClause = 16, - /// SELECT is missing at the beginning of query. + /// SELECT is missing at the beginning of query. ExpectedSelect = 13, - /// A list was passed as a value to a condition whose operator expects a - /// single value. + /// A list was passed as a value to a condition whose operator expects a + /// single value. ExpectedSingleValue = 42, - /// Missing one or both values with BETWEEN operator. + /// Missing one or both values with BETWEEN operator. ExpectedValueWithBetweenOperator = 29, - /// Invalid date format. Expected 'YYYY-MM-DD'. + /// Invalid date format. Expected 'YYYY-MM-DD'. InvalidDateFormat = 38, - /// Misaligned date value for the filter. The date should be the start of a - /// week/month/quarter if the filtered field is - /// segments.week/segments.month/segments.quarter. + /// Misaligned date value for the filter. The date should be the start of a + /// week/month/quarter if the filtered field is + /// segments.week/segments.month/segments.quarter. MisalignedDateForFilter = 64, - /// Value passed was not a string when it should have been. I.e., it was a - /// number or unquoted literal. + /// Value passed was not a string when it should have been. I.e., it was a + /// number or unquoted literal. InvalidStringValue = 57, - /// A String value passed to the BETWEEN operator does not parse as a date. + /// A String value passed to the BETWEEN operator does not parse as a date. InvalidValueWithBetweenOperator = 26, - /// The value passed to the DURING operator is not a Date range literal + /// The value passed to the DURING operator is not a Date range literal InvalidValueWithDuringOperator = 22, - /// An invalid value was passed to the LIKE operator. + /// An invalid value was passed to the LIKE operator. InvalidValueWithLikeOperator = 56, - /// An operator was provided that is inapplicable to the field being - /// filtered. + /// An operator was provided that is inapplicable to the field being + /// filtered. OperatorFieldMismatch = 35, - /// A Condition was found with an empty list. + /// A Condition was found with an empty list. ProhibitedEmptyListInCondition = 28, - /// A condition used in the query references an unsupported enum constant. + /// A condition used in the query references an unsupported enum constant. ProhibitedEnumConstant = 54, - /// Fields that are not allowed to be selected together were included in - /// the SELECT clause. + /// Fields that are not allowed to be selected together were included in + /// the SELECT clause. ProhibitedFieldCombinationInSelectClause = 31, - /// A field that is not orderable was included in the ORDER BY clause. + /// A field that is not orderable was included in the ORDER BY clause. ProhibitedFieldInOrderByClause = 40, - /// A field that is not selectable was included in the SELECT clause. + /// A field that is not selectable was included in the SELECT clause. ProhibitedFieldInSelectClause = 23, - /// A field that is not filterable was included in the WHERE clause. + /// A field that is not filterable was included in the WHERE clause. ProhibitedFieldInWhereClause = 24, - /// Resource type specified in the FROM clause is not supported by this - /// service. + /// Resource type specified in the FROM clause is not supported by this + /// service. ProhibitedResourceTypeInFromClause = 43, - /// A field that comes from an incompatible resource was included in the - /// SELECT clause. + /// A field that comes from an incompatible resource was included in the + /// SELECT clause. ProhibitedResourceTypeInSelectClause = 48, - /// A field that comes from an incompatible resource was included in the - /// WHERE clause. + /// A field that comes from an incompatible resource was included in the + /// WHERE clause. ProhibitedResourceTypeInWhereClause = 58, - /// A metric incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A metric incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedMetricInSelectOrWhereClause = 49, - /// A segment incompatible with the main resource or other selected - /// segmenting resources was included in the SELECT or WHERE clause. + /// A segment incompatible with the main resource or other selected + /// segmenting resources was included in the SELECT or WHERE clause. ProhibitedSegmentInSelectOrWhereClause = 51, - /// A segment in the SELECT clause is incompatible with a metric in the - /// SELECT or WHERE clause. + /// A segment in the SELECT clause is incompatible with a metric in the + /// SELECT or WHERE clause. ProhibitedSegmentWithMetricInSelectOrWhereClause = 53, - /// The value passed to the limit clause is too low. + /// The value passed to the limit clause is too low. LimitValueTooLow = 25, - /// Query has a string containing a newline character. + /// Query has a string containing a newline character. ProhibitedNewlineInString = 8, - /// List contains values of different types. + /// List contains values of different types. ProhibitedValueCombinationInList = 10, - /// The values passed to the BETWEEN operator are not of the same type. + /// The values passed to the BETWEEN operator are not of the same type. ProhibitedValueCombinationWithBetweenOperator = 21, - /// Query contains unterminated string. + /// Query contains unterminated string. StringNotTerminated = 6, - /// Too many segments are specified in SELECT clause. + /// Too many segments are specified in SELECT clause. TooManySegments = 34, - /// Query is incomplete and cannot be parsed. + /// Query is incomplete and cannot be parsed. UnexpectedEndOfQuery = 9, - /// FROM clause cannot be specified in this query. + /// FROM clause cannot be specified in this query. UnexpectedFromClause = 47, - /// Query contains one or more unrecognized fields. + /// Query contains one or more unrecognized fields. UnrecognizedField = 32, - /// Query has an unexpected extra part. + /// Query has an unexpected extra part. UnexpectedInput = 11, - /// Metrics cannot be requested for a manager account. To retrieve metrics, - /// issue separate requests against each client account under the manager - /// account. + /// Metrics cannot be requested for a manager account. To retrieve metrics, + /// issue separate requests against each client account under the manager + /// account. RequestedMetricsForManager = 59, - /// The number of values (right-hand-side operands) in a filter exceeds the - /// limit. + /// The number of values (right-hand-side operands) in a filter exceeds the + /// limit. FilterHasTooManyValues = 63, } impl QueryError { @@ -8346,27 +8346,27 @@ pub mod query_error_enum { } } } -// Proto file describing quota errors. +// Proto file describing quota errors. -/// Container for enum describing possible quota errors. +/// Container for enum describing possible quota errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorEnum { } /// Nested message and enum types in `QuotaErrorEnum`. pub mod quota_error_enum { - /// Enum describing possible quota errors. + /// Enum describing possible quota errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too many requests. + /// Too many requests. ResourceExhausted = 2, - /// Access is prohibited. + /// Access is prohibited. AccessProhibited = 3, - /// Too many requests in a short amount of time. + /// Too many requests in a short amount of time. ResourceTemporarilyExhausted = 4, } impl QuotaError { @@ -8385,25 +8385,25 @@ pub mod quota_error_enum { } } } -// Proto file describing range errors. +// Proto file describing range errors. -/// Container for enum describing possible range errors. +/// Container for enum describing possible range errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RangeErrorEnum { } /// Nested message and enum types in `RangeErrorEnum`. pub mod range_error_enum { - /// Enum describing possible range errors. + /// Enum describing possible range errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RangeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Too low. + /// Too low. TooLow = 2, - /// Too high. + /// Too high. TooHigh = 3, } impl RangeError { @@ -8421,24 +8421,24 @@ pub mod range_error_enum { } } } -// Proto file describing errors generated from ReachPlanService. +// Proto file describing errors generated from ReachPlanService. -/// Container for enum describing possible errors returned from -/// the ReachPlanService. +/// Container for enum describing possible errors returned from +/// the ReachPlanService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachPlanErrorEnum { } /// Nested message and enum types in `ReachPlanErrorEnum`. pub mod reach_plan_error_enum { - /// Enum describing possible errors from ReachPlanService. + /// Enum describing possible errors from ReachPlanService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReachPlanError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Not forecastable due to missing rate card data. + /// Not forecastable due to missing rate card data. NotForecastableMissingRate = 2, } impl ReachPlanError { @@ -8455,53 +8455,53 @@ pub mod reach_plan_error_enum { } } } -// Proto file describing errors from applying a recommendation. +// Proto file describing errors from applying a recommendation. -/// Container for enum describing possible errors from applying a recommendation. +/// Container for enum describing possible errors from applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationErrorEnum { } /// Nested message and enum types in `RecommendationErrorEnum`. pub mod recommendation_error_enum { - /// Enum describing possible errors from applying a recommendation. + /// Enum describing possible errors from applying a recommendation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecommendationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified budget amount is too low e.g. lower than minimum currency - /// unit or lower than ad group minimum cost-per-click. + /// The specified budget amount is too low e.g. lower than minimum currency + /// unit or lower than ad group minimum cost-per-click. BudgetAmountTooSmall = 2, - /// The specified budget amount is too large. + /// The specified budget amount is too large. BudgetAmountTooLarge = 3, - /// The specified budget amount is not a valid amount. e.g. not a multiple - /// of minimum currency unit. + /// The specified budget amount is not a valid amount. e.g. not a multiple + /// of minimum currency unit. InvalidBudgetAmount = 4, - /// The specified keyword or ad violates ad policy. + /// The specified keyword or ad violates ad policy. PolicyError = 5, - /// The specified bid amount is not valid. e.g. too many fractional digits, - /// or negative amount. + /// The specified bid amount is not valid. e.g. too many fractional digits, + /// or negative amount. InvalidBidAmount = 6, - /// The number of keywords in ad group have reached the maximum allowed. + /// The number of keywords in ad group have reached the maximum allowed. AdgroupKeywordLimit = 7, - /// The recommendation requested to apply has already been applied. + /// The recommendation requested to apply has already been applied. RecommendationAlreadyApplied = 8, - /// The recommendation requested to apply has been invalidated. + /// The recommendation requested to apply has been invalidated. RecommendationInvalidated = 9, - /// The number of operations in a single request exceeds the maximum allowed. + /// The number of operations in a single request exceeds the maximum allowed. TooManyOperations = 10, - /// There are no operations in the request. + /// There are no operations in the request. NoOperations = 11, - /// Operations with multiple recommendation types are not supported when - /// partial failure mode is not enabled. + /// Operations with multiple recommendation types are not supported when + /// partial failure mode is not enabled. DifferentTypesNotSupported = 12, - /// Request contains multiple operations with the same resource_name. + /// Request contains multiple operations with the same resource_name. DuplicateResourceName = 13, - /// The recommendation requested to dismiss has already been dismissed. + /// The recommendation requested to dismiss has already been dismissed. RecommendationAlreadyDismissed = 14, - /// The recommendation apply request was malformed and invalid. + /// The recommendation apply request was malformed and invalid. InvalidApplyRequest = 15, } impl RecommendationError { @@ -8531,23 +8531,23 @@ pub mod recommendation_error_enum { } } } -// Proto file describing region code errors. +// Proto file describing region code errors. -/// Container for enum describing possible region code errors. +/// Container for enum describing possible region code errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionCodeErrorEnum { } /// Nested message and enum types in `RegionCodeErrorEnum`. pub mod region_code_error_enum { - /// Enum describing possible region code errors. + /// Enum describing possible region code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RegionCodeError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Invalid region code. + /// Invalid region code. InvalidRegionCode = 2, } impl RegionCodeError { @@ -8564,73 +8564,73 @@ pub mod region_code_error_enum { } } } -// Proto file describing request errors. +// Proto file describing request errors. -/// Container for enum describing possible request errors. +/// Container for enum describing possible request errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestErrorEnum { } /// Nested message and enum types in `RequestErrorEnum`. pub mod request_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RequestError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Resource name is required for this request. + /// Resource name is required for this request. ResourceNameMissing = 3, - /// Resource name provided is malformed. + /// Resource name provided is malformed. ResourceNameMalformed = 4, - /// Resource name provided is malformed. + /// Resource name provided is malformed. BadResourceId = 17, - /// Customer ID is invalid. + /// Customer ID is invalid. InvalidCustomerId = 16, - /// Mutate operation should have either create, update, or remove specified. + /// Mutate operation should have either create, update, or remove specified. OperationRequired = 5, - /// Requested resource not found. + /// Requested resource not found. ResourceNotFound = 6, - /// Next page token specified in user request is invalid. + /// Next page token specified in user request is invalid. InvalidPageToken = 7, - /// Next page token specified in user request has expired. + /// Next page token specified in user request has expired. ExpiredPageToken = 8, - /// Page size specified in user request is invalid. + /// Page size specified in user request is invalid. InvalidPageSize = 22, - /// Required field is missing. + /// Required field is missing. RequiredFieldMissing = 9, - /// The field cannot be modified because it's immutable. It's also possible - /// that the field can be modified using 'create' operation but not 'update'. + /// The field cannot be modified because it's immutable. It's also possible + /// that the field can be modified using 'create' operation but not 'update'. ImmutableField = 11, - /// Received too many entries in request. + /// Received too many entries in request. TooManyMutateOperations = 13, - /// Request cannot be executed by a manager account. + /// Request cannot be executed by a manager account. CannotBeExecutedByManagerAccount = 14, - /// Mutate request was attempting to modify a readonly field. - /// For instance, Budget fields can be requested for Ad Group, - /// but are read-only for adGroups:mutate. + /// Mutate request was attempting to modify a readonly field. + /// For instance, Budget fields can be requested for Ad Group, + /// but are read-only for adGroups:mutate. CannotModifyForeignField = 15, - /// Enum value is not permitted. + /// Enum value is not permitted. InvalidEnumValue = 18, - /// The developer-token parameter is required for all requests. + /// The developer-token parameter is required for all requests. DeveloperTokenParameterMissing = 19, - /// The login-customer-id parameter is required for this request. + /// The login-customer-id parameter is required for this request. LoginCustomerIdParameterMissing = 20, - /// page_token is set in the validate only request + /// page_token is set in the validate only request ValidateOnlyRequestHasPageToken = 21, - /// return_summary_row cannot be enabled if request did not select any - /// metrics field. + /// return_summary_row cannot be enabled if request did not select any + /// metrics field. CannotReturnSummaryRowForRequestWithoutMetrics = 29, - /// return_summary_row should not be enabled for validate only requests. + /// return_summary_row should not be enabled for validate only requests. CannotReturnSummaryRowForValidateOnlyRequests = 30, - /// return_summary_row parameter value should be the same between requests - /// with page_token field set and their original request. + /// return_summary_row parameter value should be the same between requests + /// with page_token field set and their original request. InconsistentReturnSummaryRowValue = 31, - /// The total results count cannot be returned if it was not requested in the - /// original request. + /// The total results count cannot be returned if it was not requested in the + /// original request. TotalResultsCountNotOriginallyRequested = 32, - /// Deadline specified by the client was too short. + /// Deadline specified by the client was too short. RpcDeadlineTooShort = 33, } impl RequestError { @@ -8669,23 +8669,23 @@ pub mod request_error_enum { } } } -// Proto file describing resource access denied errors. +// Proto file describing resource access denied errors. -/// Container for enum describing possible resource access denied errors. +/// Container for enum describing possible resource access denied errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceAccessDeniedErrorEnum { } /// Nested message and enum types in `ResourceAccessDeniedErrorEnum`. pub mod resource_access_denied_error_enum { - /// Enum describing possible resource access denied errors. + /// Enum describing possible resource access denied errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceAccessDeniedError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// User did not have write access. + /// User did not have write access. WriteAccessDenied = 3, } impl ResourceAccessDeniedError { @@ -8702,61 +8702,61 @@ pub mod resource_access_denied_error_enum { } } } -// Proto file describing resource count limit exceeded errors. +// Proto file describing resource count limit exceeded errors. -/// Container for enum describing possible resource count limit exceeded errors. +/// Container for enum describing possible resource count limit exceeded errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountLimitExceededErrorEnum { } /// Nested message and enum types in `ResourceCountLimitExceededErrorEnum`. pub mod resource_count_limit_exceeded_error_enum { - /// Enum describing possible resource count limit exceeded errors. + /// Enum describing possible resource count limit exceeded errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceCountLimitExceededError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Indicates that this request would exceed the number of allowed resources - /// for the Google Ads account. The exact resource type and limit being - /// checked can be inferred from accountLimitType. + /// Indicates that this request would exceed the number of allowed resources + /// for the Google Ads account. The exact resource type and limit being + /// checked can be inferred from accountLimitType. AccountLimit = 2, - /// Indicates that this request would exceed the number of allowed resources - /// in a Campaign. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// Campaign involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in a Campaign. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// Campaign involved is given by enclosingId. CampaignLimit = 3, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group. The exact resource type and limit being checked can be - /// inferred from accountLimitType, and the numeric id of the - /// ad group involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group. The exact resource type and limit being checked can be + /// inferred from accountLimitType, and the numeric id of the + /// ad group involved is given by enclosingId. AdgroupLimit = 4, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group ad. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the enclosingId - /// contains the ad group id followed by the ad id, separated by a single - /// comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group ad. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the enclosingId + /// contains the ad group id followed by the ad id, separated by a single + /// comma (,). AdGroupAdLimit = 5, - /// Indicates that this request would exceed the number of allowed resources - /// in an ad group criterion. The exact resource type and limit being checked - /// can be inferred from accountLimitType, and the - /// enclosingId contains the ad group id followed by the - /// criterion id, separated by a single comma (,). + /// Indicates that this request would exceed the number of allowed resources + /// in an ad group criterion. The exact resource type and limit being checked + /// can be inferred from accountLimitType, and the + /// enclosingId contains the ad group id followed by the + /// criterion id, separated by a single comma (,). AdGroupCriterionLimit = 6, - /// Indicates that this request would exceed the number of allowed resources - /// in this shared set. The exact resource type and limit being checked can - /// be inferred from accountLimitType, and the numeric id of the - /// shared set involved is given by enclosingId. + /// Indicates that this request would exceed the number of allowed resources + /// in this shared set. The exact resource type and limit being checked can + /// be inferred from accountLimitType, and the numeric id of the + /// shared set involved is given by enclosingId. SharedSetLimit = 7, - /// Exceeds a limit related to a matching function. + /// Exceeds a limit related to a matching function. MatchingFunctionLimit = 8, - /// The response for this request would exceed the maximum number of rows - /// that can be returned. + /// The response for this request would exceed the maximum number of rows + /// that can be returned. ResponseRowLimitExceeded = 9, - /// This request would exceed a limit on the number of allowed resources. - /// The details of which type of limit was exceeded will eventually be - /// returned in ErrorDetails. + /// This request would exceed a limit on the number of allowed resources. + /// The details of which type of limit was exceeded will eventually be + /// returned in ErrorDetails. ResourceLimit = 10, } impl ResourceCountLimitExceededError { @@ -8781,51 +8781,51 @@ pub mod resource_count_limit_exceeded_error_enum { } } } -// Proto file describing setting errors. +// Proto file describing setting errors. -/// Container for enum describing possible setting errors. +/// Container for enum describing possible setting errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SettingErrorEnum { } /// Nested message and enum types in `SettingErrorEnum`. pub mod setting_error_enum { - /// Enum describing possible setting errors. + /// Enum describing possible setting errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SettingError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The campaign setting is not available for this Google Ads account. + /// The campaign setting is not available for this Google Ads account. SettingTypeIsNotAvailable = 3, - /// The setting is not compatible with the campaign. + /// The setting is not compatible with the campaign. SettingTypeIsNotCompatibleWithCampaign = 4, - /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See - /// CriterionTypeGroup documentation for CriterionTypeGroups allowed - /// in Campaign or AdGroup TargetingSettings. + /// The supplied TargetingSetting contains an invalid CriterionTypeGroup. See + /// CriterionTypeGroup documentation for CriterionTypeGroups allowed + /// in Campaign or AdGroup TargetingSettings. TargetingSettingContainsInvalidCriterionTypeGroup = 5, - /// TargetingSetting must not explicitly - /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, - /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in - /// which case the system will set them to true automatically). + /// TargetingSetting must not explicitly + /// set any of the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, + /// PARENT, INCOME_RANGE) to false (it's okay to not set them at all, in + /// which case the system will set them to true automatically). TargetingSettingDemographicCriterionTypeGroupsMustBeSetToTargetAll = 6, - /// TargetingSetting cannot change any of - /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, - /// INCOME_RANGE) from true to false. + /// TargetingSetting cannot change any of + /// the Demographic CriterionTypeGroups (AGE_RANGE, GENDER, PARENT, + /// INCOME_RANGE) from true to false. TargetingSettingCannotChangeTargetAllToFalseForDemographicCriterionTypeGroup = 7, - /// At least one feed id should be present. + /// At least one feed id should be present. DynamicSearchAdsSettingAtLeastOneFeedIdMustBePresent = 8, - /// The supplied DynamicSearchAdsSetting contains an invalid domain name. + /// The supplied DynamicSearchAdsSetting contains an invalid domain name. DynamicSearchAdsSettingContainsInvalidDomainName = 9, - /// The supplied DynamicSearchAdsSetting contains a subdomain name. + /// The supplied DynamicSearchAdsSetting contains a subdomain name. DynamicSearchAdsSettingContainsSubdomainName = 10, - /// The supplied DynamicSearchAdsSetting contains an invalid language code. + /// The supplied DynamicSearchAdsSetting contains an invalid language code. DynamicSearchAdsSettingContainsInvalidLanguageCode = 11, - /// TargetingSettings in search campaigns should not have - /// CriterionTypeGroup.PLACEMENT set to targetAll. + /// TargetingSettings in search campaigns should not have + /// CriterionTypeGroup.PLACEMENT set to targetAll. TargetAllIsNotAllowedForPlacementInSearchCampaign = 12, - /// The setting value is not compatible with the campaign type. + /// The setting value is not compatible with the campaign type. SettingValueNotCompatibleWithCampaign = 20, } impl SettingError { @@ -8852,23 +8852,23 @@ pub mod setting_error_enum { } } } -// Proto file describing shared criterion errors. +// Proto file describing shared criterion errors. -/// Container for enum describing possible shared criterion errors. +/// Container for enum describing possible shared criterion errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionErrorEnum { } /// Nested message and enum types in `SharedCriterionErrorEnum`. pub mod shared_criterion_error_enum { - /// Enum describing possible shared criterion errors. + /// Enum describing possible shared criterion errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedCriterionError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The criterion is not appropriate for the shared set type. + /// The criterion is not appropriate for the shared set type. CriterionTypeNotAllowedForSharedSetType = 2, } impl SharedCriterionError { @@ -8885,29 +8885,29 @@ pub mod shared_criterion_error_enum { } } } -// Proto file describing shared set errors. +// Proto file describing shared set errors. -/// Container for enum describing possible shared set errors. +/// Container for enum describing possible shared set errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetErrorEnum { } /// Nested message and enum types in `SharedSetErrorEnum`. pub mod shared_set_error_enum { - /// Enum describing possible shared set errors. + /// Enum describing possible shared set errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SharedSetError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The customer cannot create this type of shared set. + /// The customer cannot create this type of shared set. CustomerCannotCreateSharedSetOfThisType = 2, - /// A shared set with this name already exists. + /// A shared set with this name already exists. DuplicateName = 3, - /// Removed shared sets cannot be mutated. + /// Removed shared sets cannot be mutated. SharedSetRemoved = 4, - /// The shared set cannot be removed because it is in use. + /// The shared set cannot be removed because it is in use. SharedSetInUse = 5, } impl SharedSetError { @@ -8927,25 +8927,25 @@ pub mod shared_set_error_enum { } } } -// Proto file describing size limit errors. +// Proto file describing size limit errors. -/// Container for enum describing possible size limit errors. +/// Container for enum describing possible size limit errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SizeLimitErrorEnum { } /// Nested message and enum types in `SizeLimitErrorEnum`. pub mod size_limit_error_enum { - /// Enum describing possible size limit errors. + /// Enum describing possible size limit errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SizeLimitError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The number of entries in the request exceeds the system limit. + /// The number of entries in the request exceeds the system limit. RequestSizeLimitExceeded = 2, - /// The number of entries in the response exceeds the system limit. + /// The number of entries in the response exceeds the system limit. ResponseSizeLimitExceeded = 3, } impl SizeLimitError { @@ -8963,25 +8963,25 @@ pub mod size_limit_error_enum { } } } -// Proto file describing string format errors. +// Proto file describing string format errors. -/// Container for enum describing possible string format errors. +/// Container for enum describing possible string format errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFormatErrorEnum { } /// Nested message and enum types in `StringFormatErrorEnum`. pub mod string_format_error_enum { - /// Enum describing possible string format errors. + /// Enum describing possible string format errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringFormatError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The input string value contains disallowed characters. + /// The input string value contains disallowed characters. IllegalChars = 2, - /// The input string value is invalid for the associated field. + /// The input string value is invalid for the associated field. InvalidFormat = 3, } impl StringFormatError { @@ -8999,28 +8999,28 @@ pub mod string_format_error_enum { } } } -// Proto file describing string length errors. +// Proto file describing string length errors. -/// Container for enum describing possible string length errors. +/// Container for enum describing possible string length errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringLengthErrorEnum { } /// Nested message and enum types in `StringLengthErrorEnum`. pub mod string_length_error_enum { - /// Enum describing possible string length errors. + /// Enum describing possible string length errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StringLengthError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The specified field should have a least one non-whitespace character in - /// it. + /// The specified field should have a least one non-whitespace character in + /// it. Empty = 4, - /// Too short. + /// Too short. TooShort = 2, - /// Too long. + /// Too long. TooLong = 3, } impl StringLengthError { @@ -9039,30 +9039,30 @@ pub mod string_length_error_enum { } } } -// Proto file describing ThirdPartyAppAnalyticsLink errors. +// Proto file describing ThirdPartyAppAnalyticsLink errors. -/// Container for enum describing possible third party app analytics link errors. +/// Container for enum describing possible third party app analytics link errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkErrorEnum { } /// Nested message and enum types in `ThirdPartyAppAnalyticsLinkErrorEnum`. pub mod third_party_app_analytics_link_error_enum { - /// Enum describing possible third party app analytics link errors. + /// Enum describing possible third party app analytics link errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ThirdPartyAppAnalyticsLinkError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The provided analytics provider ID is invalid. + /// The provided analytics provider ID is invalid. InvalidAnalyticsProviderId = 2, - /// The provided mobile app ID is invalid. + /// The provided mobile app ID is invalid. InvalidMobileAppId = 3, - /// The mobile app corresponding to the provided app ID is not - /// active/enabled. + /// The mobile app corresponding to the provided app ID is not + /// active/enabled. MobileAppIsNotEnabled = 4, - /// Regenerating shareable link ID is only allowed on active links + /// Regenerating shareable link ID is only allowed on active links CannotRegenerateShareableLinkIdForRemovedLink = 5, } impl ThirdPartyAppAnalyticsLinkError { @@ -9082,23 +9082,23 @@ pub mod third_party_app_analytics_link_error_enum { } } } -// Proto file describing time zone errors. +// Proto file describing time zone errors. -/// Container for enum describing possible time zone errors. +/// Container for enum describing possible time zone errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeZoneErrorEnum { } /// Nested message and enum types in `TimeZoneErrorEnum`. pub mod time_zone_error_enum { - /// Enum describing possible currency code errors. + /// Enum describing possible currency code errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeZoneError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Time zone is not valid. + /// Time zone is not valid. InvalidTimeZone = 5, } impl TimeZoneError { @@ -9115,141 +9115,141 @@ pub mod time_zone_error_enum { } } } -// Proto file describing url field errors. +// Proto file describing url field errors. -/// Container for enum describing possible url field errors. +/// Container for enum describing possible url field errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlFieldErrorEnum { } /// Nested message and enum types in `UrlFieldErrorEnum`. pub mod url_field_error_enum { - /// Enum describing possible url field errors. + /// Enum describing possible url field errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UrlFieldError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// The tracking url template is invalid. + /// The tracking url template is invalid. InvalidTrackingUrlTemplate = 2, - /// The tracking url template contains invalid tag. + /// The tracking url template contains invalid tag. InvalidTagInTrackingUrlTemplate = 3, - /// The tracking url template must contain at least one tag (e.g. {lpurl}), - /// This applies only to tracking url template associated with website ads or - /// product ads. + /// The tracking url template must contain at least one tag (e.g. {lpurl}), + /// This applies only to tracking url template associated with website ads or + /// product ads. MissingTrackingUrlTemplateTag = 4, - /// The tracking url template must start with a valid protocol (or lpurl - /// tag). + /// The tracking url template must start with a valid protocol (or lpurl + /// tag). MissingProtocolInTrackingUrlTemplate = 5, - /// The tracking url template starts with an invalid protocol. + /// The tracking url template starts with an invalid protocol. InvalidProtocolInTrackingUrlTemplate = 6, - /// The tracking url template contains illegal characters. + /// The tracking url template contains illegal characters. MalformedTrackingUrlTemplate = 7, - /// The tracking url template must contain a host name (or lpurl tag). + /// The tracking url template must contain a host name (or lpurl tag). MissingHostInTrackingUrlTemplate = 8, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInTrackingUrlTemplate = 9, - /// The tracking url template contains nested occurrences of the same - /// conditional tag (i.e. {ifmobile:{ifmobile:x}}). + /// The tracking url template contains nested occurrences of the same + /// conditional tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedTrackingUrlTemplateTag = 10, - /// The final url is invalid. + /// The final url is invalid. InvalidFinalUrl = 11, - /// The final url contains invalid tag. + /// The final url contains invalid tag. InvalidTagInFinalUrl = 12, - /// The final url contains nested occurrences of the same conditional tag - /// (i.e. {ifmobile:{ifmobile:x}}). + /// The final url contains nested occurrences of the same conditional tag + /// (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalUrlTag = 13, - /// The final url must start with a valid protocol. + /// The final url must start with a valid protocol. MissingProtocolInFinalUrl = 14, - /// The final url starts with an invalid protocol. + /// The final url starts with an invalid protocol. InvalidProtocolInFinalUrl = 15, - /// The final url contains illegal characters. + /// The final url contains illegal characters. MalformedFinalUrl = 16, - /// The final url must contain a host name. + /// The final url must contain a host name. MissingHostInFinalUrl = 17, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalUrl = 18, - /// The final mobile url is invalid. + /// The final mobile url is invalid. InvalidFinalMobileUrl = 19, - /// The final mobile url contains invalid tag. + /// The final mobile url contains invalid tag. InvalidTagInFinalMobileUrl = 20, - /// The final mobile url contains nested occurrences of the same conditional - /// tag (i.e. {ifmobile:{ifmobile:x}}). + /// The final mobile url contains nested occurrences of the same conditional + /// tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalMobileUrlTag = 21, - /// The final mobile url must start with a valid protocol. + /// The final mobile url must start with a valid protocol. MissingProtocolInFinalMobileUrl = 22, - /// The final mobile url starts with an invalid protocol. + /// The final mobile url starts with an invalid protocol. InvalidProtocolInFinalMobileUrl = 23, - /// The final mobile url contains illegal characters. + /// The final mobile url contains illegal characters. MalformedFinalMobileUrl = 24, - /// The final mobile url must contain a host name. + /// The final mobile url must contain a host name. MissingHostInFinalMobileUrl = 25, - /// The tracking url template has an invalid or missing top level domain - /// extension. + /// The tracking url template has an invalid or missing top level domain + /// extension. InvalidTldInFinalMobileUrl = 26, - /// The final app url is invalid. + /// The final app url is invalid. InvalidFinalAppUrl = 27, - /// The final app url contains invalid tag. + /// The final app url contains invalid tag. InvalidTagInFinalAppUrl = 28, - /// The final app url contains nested occurrences of the same conditional tag - /// (i.e. {ifmobile:{ifmobile:x}}). + /// The final app url contains nested occurrences of the same conditional tag + /// (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedFinalAppUrlTag = 29, - /// More than one app url found for the same OS type. + /// More than one app url found for the same OS type. MultipleAppUrlsForOstype = 30, - /// The OS type given for an app url is not valid. + /// The OS type given for an app url is not valid. InvalidOstype = 31, - /// The protocol given for an app url is not valid. (E.g. "android-app://") + /// The protocol given for an app url is not valid. (E.g. "android-app://") InvalidProtocolForAppUrl = 32, - /// The package id (app id) given for an app url is not valid. + /// The package id (app id) given for an app url is not valid. InvalidPackageIdForAppUrl = 33, - /// The number of url custom parameters for an resource exceeds the maximum - /// limit allowed. + /// The number of url custom parameters for an resource exceeds the maximum + /// limit allowed. UrlCustomParametersCountExceedsLimit = 34, - /// An invalid character appears in the parameter key. + /// An invalid character appears in the parameter key. InvalidCharactersInUrlCustomParameterKey = 39, - /// An invalid character appears in the parameter value. + /// An invalid character appears in the parameter value. InvalidCharactersInUrlCustomParameterValue = 40, - /// The url custom parameter value fails url tag validation. + /// The url custom parameter value fails url tag validation. InvalidTagInUrlCustomParameterValue = 41, - /// The custom parameter contains nested occurrences of the same conditional - /// tag (i.e. {ifmobile:{ifmobile:x}}). + /// The custom parameter contains nested occurrences of the same conditional + /// tag (i.e. {ifmobile:{ifmobile:x}}). RedundantNestedUrlCustomParameterTag = 42, - /// The protocol (http:// or https://) is missing. + /// The protocol (http:// or https://) is missing. MissingProtocol = 43, - /// Unsupported protocol in URL. Only http and https are supported. + /// Unsupported protocol in URL. Only http and https are supported. InvalidProtocol = 52, - /// The url is invalid. + /// The url is invalid. InvalidUrl = 44, - /// Destination Url is deprecated. + /// Destination Url is deprecated. DestinationUrlDeprecated = 45, - /// The url contains invalid tag. + /// The url contains invalid tag. InvalidTagInUrl = 46, - /// The url must contain at least one tag (e.g. {lpurl}). + /// The url must contain at least one tag (e.g. {lpurl}). MissingUrlTag = 47, - /// Duplicate url id. + /// Duplicate url id. DuplicateUrlId = 48, - /// Invalid url id. + /// Invalid url id. InvalidUrlId = 49, - /// The final url suffix cannot begin with '?' or '&' characters and must be - /// a valid query string. + /// The final url suffix cannot begin with '?' or '&' characters and must be + /// a valid query string. FinalUrlSuffixMalformed = 50, - /// The final url suffix cannot contain {lpurl} related or {ignore} tags. + /// The final url suffix cannot contain {lpurl} related or {ignore} tags. InvalidTagInFinalUrlSuffix = 51, - /// The top level domain is invalid, e.g. not a public top level domain - /// listed in publicsuffix.org. + /// The top level domain is invalid, e.g. not a public top level domain + /// listed in publicsuffix.org. InvalidTopLevelDomain = 53, - /// Malformed top level domain in URL. + /// Malformed top level domain in URL. MalformedTopLevelDomain = 54, - /// Malformed URL. + /// Malformed URL. MalformedUrl = 55, - /// No host found in URL. + /// No host found in URL. MissingHost = 56, - /// Custom parameter value cannot be null. + /// Custom parameter value cannot be null. NullCustomParameterValue = 57, - /// Track parameter is not supported. + /// Track parameter is not supported. ValueTrackParameterNotSupported = 58, } impl UrlFieldError { @@ -9318,27 +9318,27 @@ pub mod url_field_error_enum { } } } -// Proto file describing user data errors. +// Proto file describing user data errors. -/// Container for enum describing possible user data errors. +/// Container for enum describing possible user data errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataErrorEnum { } /// Nested message and enum types in `UserDataErrorEnum`. pub mod user_data_error_enum { - /// Enum describing possible request errors. + /// Enum describing possible request errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserDataError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Customer is not allowed to perform operations related to Customer Match. + /// Customer is not allowed to perform operations related to Customer Match. OperationsForCustomerMatchNotAllowed = 2, - /// Maximum number of user identifiers allowed for each mutate is 100. + /// Maximum number of user identifiers allowed for each mutate is 100. TooManyUserIdentifiers = 3, - /// Current user list is not applicable for the given customer. + /// Current user list is not applicable for the given customer. UserListNotApplicable = 4, } impl UserDataError { @@ -9357,80 +9357,80 @@ pub mod user_data_error_enum { } } } -// Proto file describing user list errors. +// Proto file describing user list errors. -/// Container for enum describing possible user list errors. +/// Container for enum describing possible user list errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListErrorEnum { } /// Nested message and enum types in `UserListErrorEnum`. pub mod user_list_error_enum { - /// Enum describing possible user list errors. + /// Enum describing possible user list errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserListError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Creating and updating external remarketing user lists is not supported. + /// Creating and updating external remarketing user lists is not supported. ExternalRemarketingUserListMutateNotSupported = 2, - /// Concrete type of user list is required. + /// Concrete type of user list is required. ConcreteTypeRequired = 3, - /// Creating/updating user list conversion types requires specifying the - /// conversion type Id. + /// Creating/updating user list conversion types requires specifying the + /// conversion type Id. ConversionTypeIdRequired = 4, - /// Remarketing user list cannot have duplicate conversion types. + /// Remarketing user list cannot have duplicate conversion types. DuplicateConversionTypes = 5, - /// Conversion type is invalid/unknown. + /// Conversion type is invalid/unknown. InvalidConversionType = 6, - /// User list description is empty or invalid. + /// User list description is empty or invalid. InvalidDescription = 7, - /// User list name is empty or invalid. + /// User list name is empty or invalid. InvalidName = 8, - /// Type of the UserList does not match. + /// Type of the UserList does not match. InvalidType = 9, - /// Embedded logical user lists are not allowed. + /// Embedded logical user lists are not allowed. CanNotAddLogicalListAsLogicalListOperand = 10, - /// User list rule operand is invalid. + /// User list rule operand is invalid. InvalidUserListLogicalRuleOperand = 11, - /// Name is already being used for another user list for the account. + /// Name is already being used for another user list for the account. NameAlreadyUsed = 12, - /// Name is required when creating a new conversion type. + /// Name is required when creating a new conversion type. NewConversionTypeNameRequired = 13, - /// The given conversion type name has been used. + /// The given conversion type name has been used. ConversionTypeNameAlreadyUsed = 14, - /// Only an owner account may edit a user list. + /// Only an owner account may edit a user list. OwnershipRequiredForSet = 15, - /// Creating user list without setting type in oneof user_list field, or - /// creating/updating read-only user list types is not allowed. + /// Creating user list without setting type in oneof user_list field, or + /// creating/updating read-only user list types is not allowed. UserListMutateNotSupported = 16, - /// Rule is invalid. + /// Rule is invalid. InvalidRule = 17, - /// The specified date range is empty. + /// The specified date range is empty. InvalidDateRange = 27, - /// A UserList which is privacy sensitive or legal rejected cannot be mutated - /// by external users. + /// A UserList which is privacy sensitive or legal rejected cannot be mutated + /// by external users. CanNotMutateSensitiveUserlist = 28, - /// Maximum number of rulebased user lists a customer can have. + /// Maximum number of rulebased user lists a customer can have. MaxNumRulebasedUserlists = 29, - /// BasicUserList's billable record field cannot be modified once it is set. + /// BasicUserList's billable record field cannot be modified once it is set. CannotModifyBillableRecordCount = 30, - /// crm_based_user_list.app_id field must be set when upload_key_type is - /// MOBILE_ADVERTISING_ID. + /// crm_based_user_list.app_id field must be set when upload_key_type is + /// MOBILE_ADVERTISING_ID. AppIdNotSet = 31, - /// Name of the user list is reserved for system generated lists and cannot - /// be used. + /// Name of the user list is reserved for system generated lists and cannot + /// be used. UserlistNameIsReservedForSystemList = 32, - /// Advertiser needs to be on the allow-list to use remarketing lists created - /// from advertiser uploaded data (e.g., Customer Match lists). + /// Advertiser needs to be on the allow-list to use remarketing lists created + /// from advertiser uploaded data (e.g., Customer Match lists). AdvertiserNotOnAllowlistForUsingUploadedData = 37, - /// The provided rule_type is not supported for the user list. + /// The provided rule_type is not supported for the user list. RuleTypeIsNotSupported = 34, - /// Similar user list cannot be used as a logical user list operand. + /// Similar user list cannot be used as a logical user list operand. CanNotAddASimilarUserlistAsLogicalListOperand = 35, - /// Logical user list should not have a mix of CRM based user list and other - /// types of lists in its rules. + /// Logical user list should not have a mix of CRM based user list and other + /// types of lists in its rules. CanNotMixCrmBasedInLogicalListWithOtherLists = 36, } impl UserListError { @@ -9472,27 +9472,27 @@ pub mod user_list_error_enum { } } } -// Proto file describing YouTube video registration errors. +// Proto file describing YouTube video registration errors. -/// Container for enum describing YouTube video registration errors. +/// Container for enum describing YouTube video registration errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YoutubeVideoRegistrationErrorEnum { } /// Nested message and enum types in `YoutubeVideoRegistrationErrorEnum`. pub mod youtube_video_registration_error_enum { - /// Enum describing YouTube video registration errors. + /// Enum describing YouTube video registration errors. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum YoutubeVideoRegistrationError { - /// Enum unspecified. + /// Enum unspecified. Unspecified = 0, - /// The received error code is not known in this version. + /// The received error code is not known in this version. Unknown = 1, - /// Video to be registered wasn't found. + /// Video to be registered wasn't found. VideoNotFound = 2, - /// Video to be registered is not accessible (e.g. private). + /// Video to be registered is not accessible (e.g. private). VideoNotAccessible = 3, - /// Video to be registered is not eligible (e.g. mature content). + /// Video to be registered is not eligible (e.g. mature content). VideoNotEligible = 4, } impl YoutubeVideoRegistrationError { @@ -9511,553 +9511,553 @@ pub mod youtube_video_registration_error_enum { } } } -// Proto file describing the common error protos +// Proto file describing the common error protos -/// Describes how a GoogleAds API call failed. It's returned inside -/// google.rpc.Status.details when a call fails. +/// Describes how a GoogleAds API call failed. It's returned inside +/// google.rpc.Status.details when a call fails. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsFailure { - /// The list of errors that occurred. + /// The list of errors that occurred. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// The unique ID of the request that is used for debugging purposes. + /// The unique ID of the request that is used for debugging purposes. #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// GoogleAds-specific error. +/// GoogleAds-specific error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsError { - /// An enum value that indicates which error occurred. + /// An enum value that indicates which error occurred. #[prost(message, optional, tag="1")] pub error_code: ::core::option::Option, - /// A human-readable description of the error. + /// A human-readable description of the error. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// The value that triggered the error. + /// The value that triggered the error. #[prost(message, optional, tag="3")] pub trigger: ::core::option::Option, - /// Describes the part of the request proto that caused the error. + /// Describes the part of the request proto that caused the error. #[prost(message, optional, tag="4")] pub location: ::core::option::Option, - /// Additional error details, which are returned by certain error codes. Most - /// error codes do not include details. + /// Additional error details, which are returned by certain error codes. Most + /// error codes do not include details. #[prost(message, optional, tag="5")] pub details: ::core::option::Option, } -/// The error reason represented by type and enum. +/// The error reason represented by type and enum. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorCode { - /// The list of error enums + /// The list of error enums #[prost(oneof="error_code::ErrorCode", tags="1, 2, 3, 4, 5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 17, 161, 18, 159, 19, 21, 24, 25, 107, 149, 155, 148, 153, 154, 152, 26, 29, 160, 31, 109, 32, 150, 158, 90, 151, 33, 34, 35, 36, 37, 38, 39, 40, 110, 42, 116, 86, 162, 44, 45, 46, 47, 48, 49, 58, 51, 52, 53, 54, 55, 56, 57, 117, 59, 60, 61, 62, 63, 64, 65, 115, 143, 111, 145, 146, 66, 67, 68, 70, 71, 72, 132, 74, 133, 76, 77, 78, 136, 79, 80, 81, 82, 83, 84, 87, 88, 91, 92, 93, 94, 96, 97, 98, 100, 101, 102, 103, 140, 141, 104, 105, 112, 114, 118, 119, 137, 121, 122, 124, 125, 126, 127, 128, 129, 130, 131, 134, 135, 138, 139")] pub error_code: ::core::option::Option, } /// Nested message and enum types in `ErrorCode`. pub mod error_code { - /// The list of error enums + /// The list of error enums #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ErrorCode { - /// An error caused by the request + /// An error caused by the request #[prost(enumeration="super::request_error_enum::RequestError", tag="1")] RequestError(i32), - /// An error with a Bidding Strategy mutate. + /// An error with a Bidding Strategy mutate. #[prost(enumeration="super::bidding_strategy_error_enum::BiddingStrategyError", tag="2")] BiddingStrategyError(i32), - /// An error with a URL field mutate. + /// An error with a URL field mutate. #[prost(enumeration="super::url_field_error_enum::UrlFieldError", tag="3")] UrlFieldError(i32), - /// An error with a list operation. + /// An error with a list operation. #[prost(enumeration="super::list_operation_error_enum::ListOperationError", tag="4")] ListOperationError(i32), - /// An error with an AWQL query + /// An error with an AWQL query #[prost(enumeration="super::query_error_enum::QueryError", tag="5")] QueryError(i32), - /// An error with a mutate + /// An error with a mutate #[prost(enumeration="super::mutate_error_enum::MutateError", tag="7")] MutateError(i32), - /// An error with a field mask + /// An error with a field mask #[prost(enumeration="super::field_mask_error_enum::FieldMaskError", tag="8")] FieldMaskError(i32), - /// An error encountered when trying to authorize a user. + /// An error encountered when trying to authorize a user. #[prost(enumeration="super::authorization_error_enum::AuthorizationError", tag="9")] AuthorizationError(i32), - /// An unexpected server-side error. + /// An unexpected server-side error. #[prost(enumeration="super::internal_error_enum::InternalError", tag="10")] InternalError(i32), - /// An error with the amonut of quota remaining. + /// An error with the amonut of quota remaining. #[prost(enumeration="super::quota_error_enum::QuotaError", tag="11")] QuotaError(i32), - /// An error with an Ad Group Ad mutate. + /// An error with an Ad Group Ad mutate. #[prost(enumeration="super::ad_error_enum::AdError", tag="12")] AdError(i32), - /// An error with an Ad Group mutate. + /// An error with an Ad Group mutate. #[prost(enumeration="super::ad_group_error_enum::AdGroupError", tag="13")] AdGroupError(i32), - /// An error with a Campaign Budget mutate. + /// An error with a Campaign Budget mutate. #[prost(enumeration="super::campaign_budget_error_enum::CampaignBudgetError", tag="14")] CampaignBudgetError(i32), - /// An error with a Campaign mutate. + /// An error with a Campaign mutate. #[prost(enumeration="super::campaign_error_enum::CampaignError", tag="15")] CampaignError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::authentication_error_enum::AuthenticationError", tag="17")] AuthenticationError(i32), - /// The reasons for the ad group criterion customizer error. + /// The reasons for the ad group criterion customizer error. #[prost(enumeration="super::ad_group_criterion_customizer_error_enum::AdGroupCriterionCustomizerError", tag="161")] AdGroupCriterionCustomizerError(i32), - /// Indicates failure to properly authenticate user. + /// Indicates failure to properly authenticate user. #[prost(enumeration="super::ad_group_criterion_error_enum::AdGroupCriterionError", tag="18")] AdGroupCriterionError(i32), - /// The reasons for the ad group customizer error. + /// The reasons for the ad group customizer error. #[prost(enumeration="super::ad_group_customizer_error_enum::AdGroupCustomizerError", tag="159")] AdGroupCustomizerError(i32), - /// The reasons for the ad customizer error + /// The reasons for the ad customizer error #[prost(enumeration="super::ad_customizer_error_enum::AdCustomizerError", tag="19")] AdCustomizerError(i32), - /// The reasons for the ad group ad error + /// The reasons for the ad group ad error #[prost(enumeration="super::ad_group_ad_error_enum::AdGroupAdError", tag="21")] AdGroupAdError(i32), - /// The reasons for the ad sharing error + /// The reasons for the ad sharing error #[prost(enumeration="super::ad_sharing_error_enum::AdSharingError", tag="24")] AdSharingError(i32), - /// The reasons for the adx error + /// The reasons for the adx error #[prost(enumeration="super::adx_error_enum::AdxError", tag="25")] AdxError(i32), - /// The reasons for the asset error + /// The reasons for the asset error #[prost(enumeration="super::asset_error_enum::AssetError", tag="107")] AssetError(i32), - /// The reasons for the asset group asset error + /// The reasons for the asset group asset error #[prost(enumeration="super::asset_group_asset_error_enum::AssetGroupAssetError", tag="149")] AssetGroupAssetError(i32), - /// The reasons for the asset group listing group filter error + /// The reasons for the asset group listing group filter error #[prost(enumeration="super::asset_group_listing_group_filter_error_enum::AssetGroupListingGroupFilterError", tag="155")] AssetGroupListingGroupFilterError(i32), - /// The reasons for the asset group error + /// The reasons for the asset group error #[prost(enumeration="super::asset_group_error_enum::AssetGroupError", tag="148")] AssetGroupError(i32), - /// The reasons for the asset set asset error + /// The reasons for the asset set asset error #[prost(enumeration="super::asset_set_asset_error_enum::AssetSetAssetError", tag="153")] AssetSetAssetError(i32), - /// The reasons for the asset set link error + /// The reasons for the asset set link error #[prost(enumeration="super::asset_set_link_error_enum::AssetSetLinkError", tag="154")] AssetSetLinkError(i32), - /// The reasons for the asset set error + /// The reasons for the asset set error #[prost(enumeration="super::asset_set_error_enum::AssetSetError", tag="152")] AssetSetError(i32), - /// The reasons for the bidding errors + /// The reasons for the bidding errors #[prost(enumeration="super::bidding_error_enum::BiddingError", tag="26")] BiddingError(i32), - /// The reasons for the campaign criterion error + /// The reasons for the campaign criterion error #[prost(enumeration="super::campaign_criterion_error_enum::CampaignCriterionError", tag="29")] CampaignCriterionError(i32), - /// The reasons for the campaign customizer error. + /// The reasons for the campaign customizer error. #[prost(enumeration="super::campaign_customizer_error_enum::CampaignCustomizerError", tag="160")] CampaignCustomizerError(i32), - /// The reasons for the collection size error + /// The reasons for the collection size error #[prost(enumeration="super::collection_size_error_enum::CollectionSizeError", tag="31")] CollectionSizeError(i32), - /// The reasons for the country code error + /// The reasons for the country code error #[prost(enumeration="super::country_code_error_enum::CountryCodeError", tag="109")] CountryCodeError(i32), - /// The reasons for the criterion error + /// The reasons for the criterion error #[prost(enumeration="super::criterion_error_enum::CriterionError", tag="32")] CriterionError(i32), - /// The reasons for the custom conversion goal error + /// The reasons for the custom conversion goal error #[prost(enumeration="super::custom_conversion_goal_error_enum::CustomConversionGoalError", tag="150")] CustomConversionGoalError(i32), - /// The reasons for the customer customizer error. + /// The reasons for the customer customizer error. #[prost(enumeration="super::customer_customizer_error_enum::CustomerCustomizerError", tag="158")] CustomerCustomizerError(i32), - /// The reasons for the customer error + /// The reasons for the customer error #[prost(enumeration="super::customer_error_enum::CustomerError", tag="90")] CustomerError(i32), - /// The reasons for the customizer attribute error. + /// The reasons for the customizer attribute error. #[prost(enumeration="super::customizer_attribute_error_enum::CustomizerAttributeError", tag="151")] CustomizerAttributeError(i32), - /// The reasons for the date error + /// The reasons for the date error #[prost(enumeration="super::date_error_enum::DateError", tag="33")] DateError(i32), - /// The reasons for the date range error + /// The reasons for the date range error #[prost(enumeration="super::date_range_error_enum::DateRangeError", tag="34")] DateRangeError(i32), - /// The reasons for the distinct error + /// The reasons for the distinct error #[prost(enumeration="super::distinct_error_enum::DistinctError", tag="35")] DistinctError(i32), - /// The reasons for the feed attribute reference error + /// The reasons for the feed attribute reference error #[prost(enumeration="super::feed_attribute_reference_error_enum::FeedAttributeReferenceError", tag="36")] FeedAttributeReferenceError(i32), - /// The reasons for the function error + /// The reasons for the function error #[prost(enumeration="super::function_error_enum::FunctionError", tag="37")] FunctionError(i32), - /// The reasons for the function parsing error + /// The reasons for the function parsing error #[prost(enumeration="super::function_parsing_error_enum::FunctionParsingError", tag="38")] FunctionParsingError(i32), - /// The reasons for the id error + /// The reasons for the id error #[prost(enumeration="super::id_error_enum::IdError", tag="39")] IdError(i32), - /// The reasons for the image error + /// The reasons for the image error #[prost(enumeration="super::image_error_enum::ImageError", tag="40")] ImageError(i32), - /// The reasons for the language code error + /// The reasons for the language code error #[prost(enumeration="super::language_code_error_enum::LanguageCodeError", tag="110")] LanguageCodeError(i32), - /// The reasons for the media bundle error + /// The reasons for the media bundle error #[prost(enumeration="super::media_bundle_error_enum::MediaBundleError", tag="42")] MediaBundleError(i32), - /// The reasons for media uploading errors. + /// The reasons for media uploading errors. #[prost(enumeration="super::media_upload_error_enum::MediaUploadError", tag="116")] MediaUploadError(i32), - /// The reasons for the media file error + /// The reasons for the media file error #[prost(enumeration="super::media_file_error_enum::MediaFileError", tag="86")] MediaFileError(i32), - /// Container for enum describing possible merchant center errors. + /// Container for enum describing possible merchant center errors. #[prost(enumeration="super::merchant_center_error_enum::MerchantCenterError", tag="162")] MerchantCenterError(i32), - /// The reasons for the multiplier error + /// The reasons for the multiplier error #[prost(enumeration="super::multiplier_error_enum::MultiplierError", tag="44")] MultiplierError(i32), - /// The reasons for the new resource creation error + /// The reasons for the new resource creation error #[prost(enumeration="super::new_resource_creation_error_enum::NewResourceCreationError", tag="45")] NewResourceCreationError(i32), - /// The reasons for the not empty error + /// The reasons for the not empty error #[prost(enumeration="super::not_empty_error_enum::NotEmptyError", tag="46")] NotEmptyError(i32), - /// The reasons for the null error + /// The reasons for the null error #[prost(enumeration="super::null_error_enum::NullError", tag="47")] NullError(i32), - /// The reasons for the operator error + /// The reasons for the operator error #[prost(enumeration="super::operator_error_enum::OperatorError", tag="48")] OperatorError(i32), - /// The reasons for the range error + /// The reasons for the range error #[prost(enumeration="super::range_error_enum::RangeError", tag="49")] RangeError(i32), - /// The reasons for error in applying a recommendation + /// The reasons for error in applying a recommendation #[prost(enumeration="super::recommendation_error_enum::RecommendationError", tag="58")] RecommendationError(i32), - /// The reasons for the region code error + /// The reasons for the region code error #[prost(enumeration="super::region_code_error_enum::RegionCodeError", tag="51")] RegionCodeError(i32), - /// The reasons for the setting error + /// The reasons for the setting error #[prost(enumeration="super::setting_error_enum::SettingError", tag="52")] SettingError(i32), - /// The reasons for the string format error + /// The reasons for the string format error #[prost(enumeration="super::string_format_error_enum::StringFormatError", tag="53")] StringFormatError(i32), - /// The reasons for the string length error + /// The reasons for the string length error #[prost(enumeration="super::string_length_error_enum::StringLengthError", tag="54")] StringLengthError(i32), - /// The reasons for the operation access denied error + /// The reasons for the operation access denied error #[prost(enumeration="super::operation_access_denied_error_enum::OperationAccessDeniedError", tag="55")] OperationAccessDeniedError(i32), - /// The reasons for the resource access denied error + /// The reasons for the resource access denied error #[prost(enumeration="super::resource_access_denied_error_enum::ResourceAccessDeniedError", tag="56")] ResourceAccessDeniedError(i32), - /// The reasons for the resource count limit exceeded error + /// The reasons for the resource count limit exceeded error #[prost(enumeration="super::resource_count_limit_exceeded_error_enum::ResourceCountLimitExceededError", tag="57")] ResourceCountLimitExceededError(i32), - /// The reasons for YouTube video registration errors. + /// The reasons for YouTube video registration errors. #[prost(enumeration="super::youtube_video_registration_error_enum::YoutubeVideoRegistrationError", tag="117")] YoutubeVideoRegistrationError(i32), - /// The reasons for the ad group bid modifier error + /// The reasons for the ad group bid modifier error #[prost(enumeration="super::ad_group_bid_modifier_error_enum::AdGroupBidModifierError", tag="59")] AdGroupBidModifierError(i32), - /// The reasons for the context error + /// The reasons for the context error #[prost(enumeration="super::context_error_enum::ContextError", tag="60")] ContextError(i32), - /// The reasons for the field error + /// The reasons for the field error #[prost(enumeration="super::field_error_enum::FieldError", tag="61")] FieldError(i32), - /// The reasons for the shared set error + /// The reasons for the shared set error #[prost(enumeration="super::shared_set_error_enum::SharedSetError", tag="62")] SharedSetError(i32), - /// The reasons for the shared criterion error + /// The reasons for the shared criterion error #[prost(enumeration="super::shared_criterion_error_enum::SharedCriterionError", tag="63")] SharedCriterionError(i32), - /// The reasons for the campaign shared set error + /// The reasons for the campaign shared set error #[prost(enumeration="super::campaign_shared_set_error_enum::CampaignSharedSetError", tag="64")] CampaignSharedSetError(i32), - /// The reasons for the conversion action error + /// The reasons for the conversion action error #[prost(enumeration="super::conversion_action_error_enum::ConversionActionError", tag="65")] ConversionActionError(i32), - /// The reasons for the conversion adjustment upload error + /// The reasons for the conversion adjustment upload error #[prost(enumeration="super::conversion_adjustment_upload_error_enum::ConversionAdjustmentUploadError", tag="115")] ConversionAdjustmentUploadError(i32), - /// The reasons for the conversion custom variable error + /// The reasons for the conversion custom variable error #[prost(enumeration="super::conversion_custom_variable_error_enum::ConversionCustomVariableError", tag="143")] ConversionCustomVariableError(i32), - /// The reasons for the conversion upload error + /// The reasons for the conversion upload error #[prost(enumeration="super::conversion_upload_error_enum::ConversionUploadError", tag="111")] ConversionUploadError(i32), - /// The reasons for the conversion value rule error + /// The reasons for the conversion value rule error #[prost(enumeration="super::conversion_value_rule_error_enum::ConversionValueRuleError", tag="145")] ConversionValueRuleError(i32), - /// The reasons for the conversion value rule set error + /// The reasons for the conversion value rule set error #[prost(enumeration="super::conversion_value_rule_set_error_enum::ConversionValueRuleSetError", tag="146")] ConversionValueRuleSetError(i32), - /// The reasons for the header error. + /// The reasons for the header error. #[prost(enumeration="super::header_error_enum::HeaderError", tag="66")] HeaderError(i32), - /// The reasons for the database error. + /// The reasons for the database error. #[prost(enumeration="super::database_error_enum::DatabaseError", tag="67")] DatabaseError(i32), - /// The reasons for the policy finding error. + /// The reasons for the policy finding error. #[prost(enumeration="super::policy_finding_error_enum::PolicyFindingError", tag="68")] PolicyFindingError(i32), - /// The reason for enum error. + /// The reason for enum error. #[prost(enumeration="super::enum_error_enum::EnumError", tag="70")] EnumError(i32), - /// The reason for keyword plan error. + /// The reason for keyword plan error. #[prost(enumeration="super::keyword_plan_error_enum::KeywordPlanError", tag="71")] KeywordPlanError(i32), - /// The reason for keyword plan campaign error. + /// The reason for keyword plan campaign error. #[prost(enumeration="super::keyword_plan_campaign_error_enum::KeywordPlanCampaignError", tag="72")] KeywordPlanCampaignError(i32), - /// The reason for keyword plan campaign keyword error. + /// The reason for keyword plan campaign keyword error. #[prost(enumeration="super::keyword_plan_campaign_keyword_error_enum::KeywordPlanCampaignKeywordError", tag="132")] KeywordPlanCampaignKeywordError(i32), - /// The reason for keyword plan ad group error. + /// The reason for keyword plan ad group error. #[prost(enumeration="super::keyword_plan_ad_group_error_enum::KeywordPlanAdGroupError", tag="74")] KeywordPlanAdGroupError(i32), - /// The reason for keyword plan ad group keyword error. + /// The reason for keyword plan ad group keyword error. #[prost(enumeration="super::keyword_plan_ad_group_keyword_error_enum::KeywordPlanAdGroupKeywordError", tag="133")] KeywordPlanAdGroupKeywordError(i32), - /// The reason for keyword idea error. + /// The reason for keyword idea error. #[prost(enumeration="super::keyword_plan_idea_error_enum::KeywordPlanIdeaError", tag="76")] KeywordPlanIdeaError(i32), - /// The reasons for account budget proposal errors. + /// The reasons for account budget proposal errors. #[prost(enumeration="super::account_budget_proposal_error_enum::AccountBudgetProposalError", tag="77")] AccountBudgetProposalError(i32), - /// The reasons for the user list error + /// The reasons for the user list error #[prost(enumeration="super::user_list_error_enum::UserListError", tag="78")] UserListError(i32), - /// The reasons for the change event error + /// The reasons for the change event error #[prost(enumeration="super::change_event_error_enum::ChangeEventError", tag="136")] ChangeEventError(i32), - /// The reasons for the change status error + /// The reasons for the change status error #[prost(enumeration="super::change_status_error_enum::ChangeStatusError", tag="79")] ChangeStatusError(i32), - /// The reasons for the feed error + /// The reasons for the feed error #[prost(enumeration="super::feed_error_enum::FeedError", tag="80")] FeedError(i32), - /// The reasons for the geo target constant suggestion error. + /// The reasons for the geo target constant suggestion error. #[prost(enumeration="super::geo_target_constant_suggestion_error_enum::GeoTargetConstantSuggestionError", tag="81")] GeoTargetConstantSuggestionError(i32), - /// The reasons for the campaign draft error + /// The reasons for the campaign draft error #[prost(enumeration="super::campaign_draft_error_enum::CampaignDraftError", tag="82")] CampaignDraftError(i32), - /// The reasons for the feed item error + /// The reasons for the feed item error #[prost(enumeration="super::feed_item_error_enum::FeedItemError", tag="83")] FeedItemError(i32), - /// The reason for the label error. + /// The reason for the label error. #[prost(enumeration="super::label_error_enum::LabelError", tag="84")] LabelError(i32), - /// The reasons for the billing setup error + /// The reasons for the billing setup error #[prost(enumeration="super::billing_setup_error_enum::BillingSetupError", tag="87")] BillingSetupError(i32), - /// The reasons for the customer client link error + /// The reasons for the customer client link error #[prost(enumeration="super::customer_client_link_error_enum::CustomerClientLinkError", tag="88")] CustomerClientLinkError(i32), - /// The reasons for the customer manager link error + /// The reasons for the customer manager link error #[prost(enumeration="super::customer_manager_link_error_enum::CustomerManagerLinkError", tag="91")] CustomerManagerLinkError(i32), - /// The reasons for the feed mapping error + /// The reasons for the feed mapping error #[prost(enumeration="super::feed_mapping_error_enum::FeedMappingError", tag="92")] FeedMappingError(i32), - /// The reasons for the customer feed error + /// The reasons for the customer feed error #[prost(enumeration="super::customer_feed_error_enum::CustomerFeedError", tag="93")] CustomerFeedError(i32), - /// The reasons for the ad group feed error + /// The reasons for the ad group feed error #[prost(enumeration="super::ad_group_feed_error_enum::AdGroupFeedError", tag="94")] AdGroupFeedError(i32), - /// The reasons for the campaign feed error + /// The reasons for the campaign feed error #[prost(enumeration="super::campaign_feed_error_enum::CampaignFeedError", tag="96")] CampaignFeedError(i32), - /// The reasons for the custom interest error + /// The reasons for the custom interest error #[prost(enumeration="super::custom_interest_error_enum::CustomInterestError", tag="97")] CustomInterestError(i32), - /// The reasons for the campaign experiment error + /// The reasons for the campaign experiment error #[prost(enumeration="super::campaign_experiment_error_enum::CampaignExperimentError", tag="98")] CampaignExperimentError(i32), - /// The reasons for the extension feed item error + /// The reasons for the extension feed item error #[prost(enumeration="super::extension_feed_item_error_enum::ExtensionFeedItemError", tag="100")] ExtensionFeedItemError(i32), - /// The reasons for the ad parameter error + /// The reasons for the ad parameter error #[prost(enumeration="super::ad_parameter_error_enum::AdParameterError", tag="101")] AdParameterError(i32), - /// The reasons for the feed item validation error + /// The reasons for the feed item validation error #[prost(enumeration="super::feed_item_validation_error_enum::FeedItemValidationError", tag="102")] FeedItemValidationError(i32), - /// The reasons for the extension setting error + /// The reasons for the extension setting error #[prost(enumeration="super::extension_setting_error_enum::ExtensionSettingError", tag="103")] ExtensionSettingError(i32), - /// The reasons for the feed item set error + /// The reasons for the feed item set error #[prost(enumeration="super::feed_item_set_error_enum::FeedItemSetError", tag="140")] FeedItemSetError(i32), - /// The reasons for the feed item set link error + /// The reasons for the feed item set link error #[prost(enumeration="super::feed_item_set_link_error_enum::FeedItemSetLinkError", tag="141")] FeedItemSetLinkError(i32), - /// The reasons for the feed item target error + /// The reasons for the feed item target error #[prost(enumeration="super::feed_item_target_error_enum::FeedItemTargetError", tag="104")] FeedItemTargetError(i32), - /// The reasons for the policy violation error + /// The reasons for the policy violation error #[prost(enumeration="super::policy_violation_error_enum::PolicyViolationError", tag="105")] PolicyViolationError(i32), - /// The reasons for the mutate job error + /// The reasons for the mutate job error #[prost(enumeration="super::partial_failure_error_enum::PartialFailureError", tag="112")] PartialFailureError(i32), - /// The reasons for the policy validation parameter error + /// The reasons for the policy validation parameter error #[prost(enumeration="super::policy_validation_parameter_error_enum::PolicyValidationParameterError", tag="114")] PolicyValidationParameterError(i32), - /// The reasons for the size limit error + /// The reasons for the size limit error #[prost(enumeration="super::size_limit_error_enum::SizeLimitError", tag="118")] SizeLimitError(i32), - /// The reasons for the offline user data job error. + /// The reasons for the offline user data job error. #[prost(enumeration="super::offline_user_data_job_error_enum::OfflineUserDataJobError", tag="119")] OfflineUserDataJobError(i32), - /// The reasons for the not allowlisted error + /// The reasons for the not allowlisted error #[prost(enumeration="super::not_allowlisted_error_enum::NotAllowlistedError", tag="137")] NotAllowlistedError(i32), - /// The reasons for the manager link error + /// The reasons for the manager link error #[prost(enumeration="super::manager_link_error_enum::ManagerLinkError", tag="121")] ManagerLinkError(i32), - /// The reasons for the currency code error + /// The reasons for the currency code error #[prost(enumeration="super::currency_code_error_enum::CurrencyCodeError", tag="122")] CurrencyCodeError(i32), - /// The reasons for the access invitation error + /// The reasons for the access invitation error #[prost(enumeration="super::access_invitation_error_enum::AccessInvitationError", tag="124")] AccessInvitationError(i32), - /// The reasons for the reach plan error + /// The reasons for the reach plan error #[prost(enumeration="super::reach_plan_error_enum::ReachPlanError", tag="125")] ReachPlanError(i32), - /// The reasons for the invoice error + /// The reasons for the invoice error #[prost(enumeration="super::invoice_error_enum::InvoiceError", tag="126")] InvoiceError(i32), - /// The reasons for errors in payments accounts service + /// The reasons for errors in payments accounts service #[prost(enumeration="super::payments_account_error_enum::PaymentsAccountError", tag="127")] PaymentsAccountError(i32), - /// The reasons for the time zone error + /// The reasons for the time zone error #[prost(enumeration="super::time_zone_error_enum::TimeZoneError", tag="128")] TimeZoneError(i32), - /// The reasons for the asset link error + /// The reasons for the asset link error #[prost(enumeration="super::asset_link_error_enum::AssetLinkError", tag="129")] AssetLinkError(i32), - /// The reasons for the user data error. + /// The reasons for the user data error. #[prost(enumeration="super::user_data_error_enum::UserDataError", tag="130")] UserDataError(i32), - /// The reasons for the batch job error + /// The reasons for the batch job error #[prost(enumeration="super::batch_job_error_enum::BatchJobError", tag="131")] BatchJobError(i32), - /// The reasons for the account link status change error + /// The reasons for the account link status change error #[prost(enumeration="super::account_link_error_enum::AccountLinkError", tag="134")] AccountLinkError(i32), - /// The reasons for the third party app analytics link mutate error + /// The reasons for the third party app analytics link mutate error #[prost(enumeration="super::third_party_app_analytics_link_error_enum::ThirdPartyAppAnalyticsLinkError", tag="135")] ThirdPartyAppAnalyticsLinkError(i32), - /// The reasons for the customer user access mutate error + /// The reasons for the customer user access mutate error #[prost(enumeration="super::customer_user_access_error_enum::CustomerUserAccessError", tag="138")] CustomerUserAccessError(i32), - /// The reasons for the custom audience error + /// The reasons for the custom audience error #[prost(enumeration="super::custom_audience_error_enum::CustomAudienceError", tag="139")] CustomAudienceError(i32), } } -/// Describes the part of the request proto that caused the error. +/// Describes the part of the request proto that caused the error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorLocation { - /// A field path that indicates which field was invalid in the request. + /// A field path that indicates which field was invalid in the request. #[prost(message, repeated, tag="2")] pub field_path_elements: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ErrorLocation`. pub mod error_location { - /// A part of a field path. + /// A part of a field path. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldPathElement { - /// The name of a field or a oneof + /// The name of a field or a oneof #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// If field_name is a repeated field, this is the element that failed + /// If field_name is a repeated field, this is the element that failed #[prost(int32, optional, tag="3")] pub index: ::core::option::Option, } } -/// Additional error details. +/// Additional error details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorDetails { - /// The error code that should have been returned, but wasn't. This is used - /// when the error code is not published in the client specified version. + /// The error code that should have been returned, but wasn't. This is used + /// when the error code is not published in the client specified version. #[prost(string, tag="1")] pub unpublished_error_code: ::prost::alloc::string::String, - /// Describes an ad policy violation. + /// Describes an ad policy violation. #[prost(message, optional, tag="2")] pub policy_violation_details: ::core::option::Option, - /// Describes policy violation findings. + /// Describes policy violation findings. #[prost(message, optional, tag="3")] pub policy_finding_details: ::core::option::Option, - /// Details on the quota error, including the scope (account or developer), the - /// rate bucket name and the retry delay. + /// Details on the quota error, including the scope (account or developer), the + /// rate bucket name and the retry delay. #[prost(message, optional, tag="4")] pub quota_error_details: ::core::option::Option, - /// Details for a resource count limit exceeded error. + /// Details for a resource count limit exceeded error. #[prost(message, optional, tag="5")] pub resource_count_details: ::core::option::Option, } -/// Error returned as part of a mutate response. -/// This error indicates single policy violation by some text -/// in one of the fields. +/// Error returned as part of a mutate response. +/// This error indicates single policy violation by some text +/// in one of the fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyViolationDetails { - /// Human readable description of policy violation. + /// Human readable description of policy violation. #[prost(string, tag="2")] pub external_policy_description: ::prost::alloc::string::String, - /// Unique identifier for this violation. - /// If policy is exemptible, this key may be used to request exemption. + /// Unique identifier for this violation. + /// If policy is exemptible, this key may be used to request exemption. #[prost(message, optional, tag="4")] pub key: ::core::option::Option, - /// Human readable name of the policy. + /// Human readable name of the policy. #[prost(string, tag="5")] pub external_policy_name: ::prost::alloc::string::String, - /// Whether user can file an exemption request for this violation. + /// Whether user can file an exemption request for this violation. #[prost(bool, tag="6")] pub is_exemptible: bool, } -/// Error returned as part of a mutate response. -/// This error indicates one or more policy findings in the fields of a -/// resource. +/// Error returned as part of a mutate response. +/// This error indicates one or more policy findings in the fields of a +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyFindingDetails { - /// The list of policy topics for the resource. Contains the PROHIBITED or - /// FULLY_LIMITED policy topic entries that prevented the resource from being - /// saved (among any other entries the resource may also have). + /// The list of policy topics for the resource. Contains the PROHIBITED or + /// FULLY_LIMITED policy topic entries that prevented the resource from being + /// saved (among any other entries the resource may also have). #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, } -/// Additional quota error details when there is QuotaError. +/// Additional quota error details when there is QuotaError. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaErrorDetails { - /// The rate scope of the quota limit. + /// The rate scope of the quota limit. #[prost(enumeration="quota_error_details::QuotaRateScope", tag="1")] pub rate_scope: i32, - /// The high level description of the quota bucket. - /// Examples are "Get requests for standard access" or "Requests per account". + /// The high level description of the quota bucket. + /// Examples are "Get requests for standard access" or "Requests per account". #[prost(string, tag="2")] pub rate_name: ::prost::alloc::string::String, - /// Backoff period that customers should wait before sending next request. + /// Backoff period that customers should wait before sending next request. #[prost(message, optional, tag="3")] pub retry_delay: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `QuotaErrorDetails`. pub mod quota_error_details { - /// Enum of possible scopes that quota buckets belong to. + /// Enum of possible scopes that quota buckets belong to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaRateScope { - /// Unspecified enum + /// Unspecified enum Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Per customer account quota + /// Per customer account quota Account = 2, - /// Per project or DevToken quota + /// Per project or DevToken quota Developer = 3, } impl QuotaRateScope { @@ -10075,24 +10075,24 @@ pub mod quota_error_details { } } } -/// Error details returned when an resource count limit was exceeded. +/// Error details returned when an resource count limit was exceeded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCountDetails { - /// The ID of the resource whose limit was exceeded. - /// External customer ID if the limit is for a customer. + /// The ID of the resource whose limit was exceeded. + /// External customer ID if the limit is for a customer. #[prost(string, tag="1")] pub enclosing_id: ::prost::alloc::string::String, - /// The name of the resource (Customer, Campaign etc.) whose limit was - /// exceeded. + /// The name of the resource (Customer, Campaign etc.) whose limit was + /// exceeded. #[prost(string, tag="5")] pub enclosing_resource: ::prost::alloc::string::String, - /// The limit which was exceeded. + /// The limit which was exceeded. #[prost(int32, tag="2")] pub limit: i32, - /// The resource limit type which was exceeded. + /// The resource limit type which was exceeded. #[prost(enumeration="super::enums::resource_limit_type_enum::ResourceLimitType", tag="3")] pub limit_type: i32, - /// The count of existing entities. + /// The count of existing entities. #[prost(int32, tag="4")] pub existing_count: i32, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v9.resources.rs b/gcloud-sdk/genproto/google.ads.googleads.v9.resources.rs index 70364bb7c..c3e9f40c3 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v9.resources.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v9.resources.rs @@ -1,1641 +1,1641 @@ -/// Represents a view of BiddingStrategies owned by and shared with the customer. +/// Represents a view of BiddingStrategies owned by and shared with the customer. /// -/// In contrast to BiddingStrategy, this resource includes strategies owned by -/// managers of the customer and shared with this customer - in addition to -/// strategies owned by this customer. This resource does not provide metrics and -/// only exposes a limited subset of the BiddingStrategy attributes. +/// In contrast to BiddingStrategy, this resource includes strategies owned by +/// managers of the customer and shared with this customer - in addition to +/// strategies owned by this customer. This resource does not provide metrics and +/// only exposes a limited subset of the BiddingStrategy attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessibleBiddingStrategy { - /// Output only. The resource name of the accessible bidding strategy. - /// AccessibleBiddingStrategy resource names have the form: + /// Output only. The resource name of the accessible bidding strategy. + /// AccessibleBiddingStrategy resource names have the form: /// - /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/accessibleBiddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the bidding strategy. + /// Output only. The name of the bidding strategy. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The type of the bidding strategy. + /// Output only. The type of the bidding strategy. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="4")] pub r#type: i32, - /// Output only. The ID of the Customer which owns the bidding strategy. + /// Output only. The ID of the Customer which owns the bidding strategy. #[prost(int64, tag="5")] pub owner_customer_id: i64, - /// Output only. descriptive_name of the Customer which owns the bidding strategy. + /// Output only. descriptive_name of the Customer which owns the bidding strategy. #[prost(string, tag="6")] pub owner_descriptive_name: ::prost::alloc::string::String, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="accessible_bidding_strategy::Scheme", tags="7, 8, 9, 10, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `AccessibleBiddingStrategy`. pub mod accessible_bidding_strategy { - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionValue { - /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy - /// will maximize revenue while averaging the target return on ad spend. If - /// the target ROAS is high, the bid strategy may not be able to spend the - /// full budget. If the target ROAS is not set, the bid strategy will aim to - /// achieve the highest possible ROAS for the budget. + /// Output only. The target return on ad spend (ROAS) option. If set, the bid strategy + /// will maximize revenue while averaging the target return on ad spend. If + /// the target ROAS is high, the bid strategy may not be able to spend the + /// full budget. If the target ROAS is not set, the bid strategy will aim to + /// achieve the highest possible ROAS for the budget. #[prost(double, tag="1")] pub target_roas: f64, } - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversions { - /// Output only. The target cost per acquisition (CPA) option. This is the average amount - /// that you would like to spend per acquisition. + /// Output only. The target cost per acquisition (CPA) option. This is the average amount + /// that you would like to spend per acquisition. #[prost(int64, tag="1")] pub target_cpa: i64, } - /// An automated bidding strategy that helps you maximize revenue while - /// averaging a specific target return on ad spend (ROAS). + /// An automated bidding strategy that helps you maximize revenue while + /// averaging a specific target return on ad spend (ROAS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoas { - /// Output only. The desired revenue (based on conversion data) per unit of spend. + /// Output only. The desired revenue (based on conversion data) per unit of spend. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, } - /// An automated bid strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// An automated bid strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpa { - /// Output only. Average CPA target. - /// This target should be greater than or equal to minimum billable unit - /// based on the currency for the account. + /// Output only. Average CPA target. + /// This target should be greater than or equal to minimum billable unit + /// based on the currency for the account. #[prost(int64, optional, tag="1")] pub target_cpa_micros: ::core::option::Option, } - /// An automated bidding strategy that sets bids so that a certain percentage - /// of search ads are shown at the top of the first page (or other targeted - /// location). + /// An automated bidding strategy that sets bids so that a certain percentage + /// of search ads are shown at the top of the first page (or other targeted + /// location). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetImpressionShare { - /// Output only. The targeted location on the search results page. + /// Output only. The targeted location on the search results page. #[prost(enumeration="super::super::enums::target_impression_share_location_enum::TargetImpressionShareLocation", tag="1")] pub location: i32, - /// The desired fraction of ads to be shown in the targeted location in - /// micros. E.g. 1% equals 10,000. + /// The desired fraction of ads to be shown in the targeted location in + /// micros. E.g. 1% equals 10,000. #[prost(int64, optional, tag="2")] pub location_fraction_micros: ::core::option::Option, - /// Output only. The highest CPC bid the automated bidding system is permitted to specify. - /// This is a required field entered by the advertiser that sets the ceiling - /// and specified in local micros. + /// Output only. The highest CPC bid the automated bidding system is permitted to specify. + /// This is a required field entered by the advertiser that sets the ceiling + /// and specified in local micros. #[prost(int64, optional, tag="3")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// An automated bid strategy that sets your bids to help get as many clicks - /// as possible within your budget. + /// An automated bid strategy that sets your bids to help get as many clicks + /// as possible within your budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSpend { - /// Output only. The spend target under which to maximize clicks. - /// A TargetSpend bidder will attempt to spend the smaller of this value - /// or the natural throttling spend amount. - /// If not specified, the budget is used as the spend target. - /// This field is deprecated and should no longer be used. See - /// - /// for details. + /// Output only. The spend target under which to maximize clicks. + /// A TargetSpend bidder will attempt to spend the smaller of this value + /// or the natural throttling spend amount. + /// If not specified, the budget is used as the spend target. + /// This field is deprecated and should no longer be used. See + /// + /// for details. #[deprecated] #[prost(int64, optional, tag="1")] pub target_spend_micros: ::core::option::Option, - /// Output only. Maximum bid limit that can be set by the bid strategy. - /// The limit applies to all keywords managed by the strategy. + /// Output only. Maximum bid limit that can be set by the bid strategy. + /// The limit applies to all keywords managed by the strategy. #[prost(int64, optional, tag="2")] pub cpc_bid_ceiling_micros: ::core::option::Option, } - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// Output only. An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="7")] MaximizeConversionValue(MaximizeConversionValue), - /// Output only. An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// Output only. An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="8")] MaximizeConversions(MaximizeConversions), - /// Output only. A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// Output only. A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(TargetCpa), - /// Output only. A bidding strategy that automatically optimizes towards a desired - /// percentage of impressions. + /// Output only. A bidding strategy that automatically optimizes towards a desired + /// percentage of impressions. #[prost(message, tag="10")] TargetImpressionShare(TargetImpressionShare), - /// Output only. A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// Output only. A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(TargetRoas), - /// Output only. A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// Output only. A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(TargetSpend), } } -// Proto file describing the AccountBudget resource. +// Proto file describing the AccountBudget resource. -/// An account-level budget. It contains information about the budget itself, -/// as well as the most recently approved changes to the budget and proposed -/// changes that are pending approval. The proposed changes that are pending -/// approval, if any, are found in 'pending_proposal'. Effective details about -/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those -/// without a prefix. Since some effective details may differ from what the user -/// had originally requested (e.g. spending limit), these differences are -/// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. +/// An account-level budget. It contains information about the budget itself, +/// as well as the most recently approved changes to the budget and proposed +/// changes that are pending approval. The proposed changes that are pending +/// approval, if any, are found in 'pending_proposal'. Effective details about +/// the budget are found in fields prefixed 'approved_', 'adjusted_' and those +/// without a prefix. Since some effective details may differ from what the user +/// had originally requested (e.g. spending limit), these differences are +/// juxtaposed via 'proposed_', 'approved_', and possibly 'adjusted_' fields. /// -/// This resource is mutated using AccountBudgetProposal and cannot be mutated -/// directly. A budget may have at most one pending proposal at any given time. -/// It is read through pending_proposal. +/// This resource is mutated using AccountBudgetProposal and cannot be mutated +/// directly. A budget may have at most one pending proposal at any given time. +/// It is read through pending_proposal. /// -/// Once approved, a budget may be subject to adjustments, such as credit -/// adjustments. Adjustments create differences between the 'approved' and -/// 'adjusted' fields, which would otherwise be identical. +/// Once approved, a budget may be subject to adjustments, such as credit +/// adjustments. Adjustments create differences between the 'approved' and +/// 'adjusted' fields, which would otherwise be identical. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudget { - /// Output only. The resource name of the account-level budget. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account-level budget. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the account-level budget. + /// Output only. The ID of the account-level budget. #[prost(int64, optional, tag="23")] pub id: ::core::option::Option, - /// Output only. The resource name of the billing setup associated with this account-level - /// budget. BillingSetup resource names have the form: + /// Output only. The resource name of the billing setup associated with this account-level + /// budget. BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="24")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this account-level budget. + /// Output only. The status of this account-level budget. #[prost(enumeration="super::enums::account_budget_status_enum::AccountBudgetStatus", tag="4")] pub status: i32, - /// Output only. The name of the account-level budget. + /// Output only. The name of the account-level budget. #[prost(string, optional, tag="25")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The proposed start time of the account-level budget in - /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, - /// this is the time of request. + /// Output only. The proposed start time of the account-level budget in + /// yyyy-MM-dd HH:mm:ss format. If a start time type of NOW was proposed, + /// this is the time of request. #[prost(string, optional, tag="26")] pub proposed_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss - /// format. + /// Output only. The approved start time of the account-level budget in yyyy-MM-dd HH:mm:ss + /// format. /// - /// For example, if a new budget is approved after the proposed start time, - /// the approved start time is the time of approval. + /// For example, if a new budget is approved after the proposed start time, + /// the approved start time is the time of approval. #[prost(string, optional, tag="27")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The total adjustments amount. + /// Output only. The total adjustments amount. /// - /// An example of an adjustment is courtesy credits. + /// An example of an adjustment is courtesy credits. #[prost(int64, tag="33")] pub total_adjustments_micros: i64, - /// Output only. The value of Ads that have been served, in micros. + /// Output only. The value of Ads that have been served, in micros. /// - /// This includes overdelivery costs, in which case a credit might be - /// automatically applied to the budget (see total_adjustments_micros). + /// This includes overdelivery costs, in which case a credit might be + /// automatically applied to the budget (see total_adjustments_micros). #[prost(int64, tag="34")] pub amount_served_micros: i64, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="35")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with the budget. + /// Output only. Notes associated with the budget. #[prost(string, optional, tag="36")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pending proposal to modify this budget, if applicable. + /// Output only. The pending proposal to modify this budget, if applicable. #[prost(message, optional, tag="22")] pub pending_proposal: ::core::option::Option, - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[prost(oneof="account_budget::ProposedEndTime", tags="28, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[prost(oneof="account_budget::ApprovedEndTime", tags="29, 11")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget::ProposedSpendingLimit", tags="30, 13")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[prost(oneof="account_budget::ApprovedSpendingLimit", tags="31, 15")] pub approved_spending_limit: ::core::option::Option, - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[prost(oneof="account_budget::AdjustedSpendingLimit", tags="32, 17")] pub adjusted_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudget`. pub mod account_budget { - /// A pending proposal associated with the enclosing account-level budget, - /// if applicable. + /// A pending proposal associated with the enclosing account-level budget, + /// if applicable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PendingAccountBudgetProposal { - /// Output only. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Output only. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, optional, tag="12")] pub account_budget_proposal: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of this proposal, e.g. END to end the budget associated - /// with this proposal. + /// Output only. The type of this proposal, e.g. END to end the budget associated + /// with this proposal. #[prost(enumeration="super::super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="2")] pub proposal_type: i32, - /// Output only. The name to assign to the account-level budget. + /// Output only. The name to assign to the account-level budget. #[prost(string, optional, tag="13")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The start time in yyyy-MM-dd HH:mm:ss format. #[prost(string, optional, tag="14")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A purchase order number is a value that helps users reference this budget - /// in their monthly invoices. + /// Output only. A purchase order number is a value that helps users reference this budget + /// in their monthly invoices. #[prost(string, optional, tag="17")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Notes associated with this budget. + /// Output only. Notes associated with this budget. #[prost(string, optional, tag="18")] pub notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this account-level budget proposal was created. - /// Formatted as yyyy-MM-dd HH:mm:ss. + /// Output only. The time when this account-level budget proposal was created. + /// Formatted as yyyy-MM-dd HH:mm:ss. #[prost(string, optional, tag="19")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[prost(oneof="pending_account_budget_proposal::EndTime", tags="15, 6")] pub end_time: ::core::option::Option, - /// The spending limit. + /// The spending limit. #[prost(oneof="pending_account_budget_proposal::SpendingLimit", tags="16, 8")] pub spending_limit: ::core::option::Option, } /// Nested message and enum types in `PendingAccountBudgetProposal`. pub mod pending_account_budget_proposal { - /// The end time of the account-level budget. + /// The end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="15")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a well-defined type, e.g. FOREVER. + /// Output only. The end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::super::enums::time_type_enum::TimeType", tag="6")] EndTimeType(i32), } - /// The spending limit. + /// The spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SpendingLimit { - /// Output only. The spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="16")] SpendingLimitMicros(i64), - /// Output only. The spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="8")] SpendingLimitType(i32), } } - /// The proposed end time of the account-level budget. + /// The proposed end time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The proposed end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="28")] ProposedEndDateTime(::prost::alloc::string::String), - /// Output only. The proposed end time as a well-defined type, e.g. FOREVER. + /// Output only. The proposed end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end time of the account-level budget. + /// The approved end time of the account-level budget. /// - /// For example, if a budget's end time is updated and the proposal is approved - /// after the proposed end time, the approved end time is the time of approval. + /// For example, if a budget's end time is updated and the proposal is approved + /// after the proposed end time, the approved end time is the time of approval. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. + /// Output only. The approved end time in yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="29")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end time as a well-defined type, e.g. FOREVER. + /// Output only. The approved end time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="11")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Output only. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="30")] ProposedSpendingLimitMicros(i64), - /// Output only. The proposed spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The proposed spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="13")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. /// - /// For example, if the amount already spent by the account exceeds the - /// proposed spending limit at the time the proposal is approved, the approved - /// spending limit is set to the amount already spent. + /// For example, if the amount already spent by the account exceeds the + /// proposed spending limit at the time the proposal is approved, the approved + /// spending limit is set to the amount already spent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. This will only be populated if the proposed spending limit - /// is finite, and will always be greater than or equal to the - /// proposed spending limit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. This will only be populated if the proposed spending limit + /// is finite, and will always be greater than or equal to the + /// proposed spending limit. #[prost(int64, tag="31")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This - /// will only be populated if the approved spending limit is INFINITE. + /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. This + /// will only be populated if the approved spending limit is INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="15")] ApprovedSpendingLimitType(i32), } - /// The spending limit after adjustments have been applied. Adjustments are - /// stored in total_adjustments_micros. + /// The spending limit after adjustments have been applied. Adjustments are + /// stored in total_adjustments_micros. /// - /// This value has the final say on how much the account is allowed to spend. + /// This value has the final say on how much the account is allowed to spend. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdjustedSpendingLimit { - /// Output only. The adjusted spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The adjusted spending limit in micros. One million is equivalent to + /// one unit. /// - /// If the approved spending limit is finite, the adjusted - /// spending limit may vary depending on the types of adjustments applied - /// to this budget, if applicable. + /// If the approved spending limit is finite, the adjusted + /// spending limit may vary depending on the types of adjustments applied + /// to this budget, if applicable. /// - /// The different kinds of adjustments are described here: - /// + /// The different kinds of adjustments are described here: + /// /// - /// For example, a debit adjustment reduces how much the account is - /// allowed to spend. + /// For example, a debit adjustment reduces how much the account is + /// allowed to spend. #[prost(int64, tag="32")] AdjustedSpendingLimitMicros(i64), - /// Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. - /// This will only be populated if the adjusted spending limit is INFINITE, - /// which is guaranteed to be true if the approved spending limit is - /// INFINITE. + /// Output only. The adjusted spending limit as a well-defined type, e.g. INFINITE. + /// This will only be populated if the adjusted spending limit is INFINITE, + /// which is guaranteed to be true if the approved spending limit is + /// INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="17")] AdjustedSpendingLimitType(i32), } } -// Proto file describing the AccountBudgetProposal resource. +// Proto file describing the AccountBudgetProposal resource. -/// An account-level budget proposal. +/// An account-level budget proposal. /// -/// All fields prefixed with 'proposed' may not necessarily be applied directly. -/// For example, proposed spending limits may be adjusted before their -/// application. This is true if the 'proposed' field has an 'approved' -/// counterpart, e.g. spending limits. +/// All fields prefixed with 'proposed' may not necessarily be applied directly. +/// For example, proposed spending limits may be adjusted before their +/// application. This is true if the 'proposed' field has an 'approved' +/// counterpart, e.g. spending limits. /// -/// Please note that the proposal type (proposal_type) changes which fields are -/// required and which must remain empty. +/// Please note that the proposal type (proposal_type) changes which fields are +/// required and which must remain empty. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposal { - /// Immutable. The resource name of the proposal. - /// AccountBudgetProposal resource names have the form: + /// Immutable. The resource name of the proposal. + /// AccountBudgetProposal resource names have the form: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the proposal. + /// Output only. The ID of the proposal. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Immutable. The resource name of the billing setup associated with this proposal. + /// Immutable. The resource name of the billing setup associated with this proposal. #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The resource name of the account-level budget associated with this - /// proposal. + /// Immutable. The resource name of the account-level budget associated with this + /// proposal. #[prost(string, optional, tag="27")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The type of this proposal, e.g. END to end the budget associated with this - /// proposal. + /// Immutable. The type of this proposal, e.g. END to end the budget associated with this + /// proposal. #[prost(enumeration="super::enums::account_budget_proposal_type_enum::AccountBudgetProposalType", tag="4")] pub proposal_type: i32, - /// Output only. The status of this proposal. - /// When a new proposal is created, the status defaults to PENDING. + /// Output only. The status of this proposal. + /// When a new proposal is created, the status defaults to PENDING. #[prost(enumeration="super::enums::account_budget_proposal_status_enum::AccountBudgetProposalStatus", tag="15")] pub status: i32, - /// Immutable. The name to assign to the account-level budget. + /// Immutable. The name to assign to the account-level budget. #[prost(string, optional, tag="28")] pub proposed_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, optional, tag="30")] pub approved_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A purchase order number is a value that enables the user to help them - /// reference this budget in their monthly invoices. + /// Immutable. A purchase order number is a value that enables the user to help them + /// reference this budget in their monthly invoices. #[prost(string, optional, tag="35")] pub proposed_purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Notes associated with this budget. + /// Immutable. Notes associated with this budget. #[prost(string, optional, tag="36")] pub proposed_notes: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget proposal was created, which is - /// not the same as its approval date time, if applicable. + /// Output only. The date time when this account-level budget proposal was created, which is + /// not the same as its approval date time, if applicable. #[prost(string, optional, tag="37")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The date time when this account-level budget was approved, if applicable. + /// Output only. The date time when this account-level budget was approved, if applicable. #[prost(string, optional, tag="38")] pub approval_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[prost(oneof="account_budget_proposal::ProposedStartTime", tags="29, 7")] pub proposed_start_time: ::core::option::Option, - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[prost(oneof="account_budget_proposal::ProposedEndTime", tags="31, 9")] pub proposed_end_time: ::core::option::Option, - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[prost(oneof="account_budget_proposal::ApprovedEndTime", tags="32, 22")] pub approved_end_time: ::core::option::Option, - /// The proposed spending limit. + /// The proposed spending limit. #[prost(oneof="account_budget_proposal::ProposedSpendingLimit", tags="33, 11")] pub proposed_spending_limit: ::core::option::Option, - /// The approved spending limit. + /// The approved spending limit. #[prost(oneof="account_budget_proposal::ApprovedSpendingLimit", tags="34, 24")] pub approved_spending_limit: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposal`. pub mod account_budget_proposal { - /// The proposed start date time of the account-level budget, which cannot be - /// in the past. + /// The proposed start date time of the account-level budget, which cannot be + /// in the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedStartTime { - /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed start date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="29")] ProposedStartDateTime(::prost::alloc::string::String), - /// Immutable. The proposed start date time as a well-defined type, e.g. NOW. + /// Immutable. The proposed start date time as a well-defined type, e.g. NOW. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="7")] ProposedStartTimeType(i32), } - /// The proposed end date time of the account-level budget, which cannot be in - /// the past. + /// The proposed end date time of the account-level budget, which cannot be in + /// the past. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedEndTime { - /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. + /// Immutable. The proposed end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="31")] ProposedEndDateTime(::prost::alloc::string::String), - /// Immutable. The proposed end date time as a well-defined type, e.g. FOREVER. + /// Immutable. The proposed end date time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="9")] ProposedEndTimeType(i32), } - /// The approved end date time of the account-level budget. + /// The approved end date time of the account-level budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedEndTime { - /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. + /// Output only. The approved end date time in yyyy-mm-dd hh:mm:ss format. #[prost(string, tag="32")] ApprovedEndDateTime(::prost::alloc::string::String), - /// Output only. The approved end date time as a well-defined type, e.g. FOREVER. + /// Output only. The approved end date time as a well-defined type, e.g. FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="22")] ApprovedEndTimeType(i32), } - /// The proposed spending limit. + /// The proposed spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProposedSpendingLimit { - /// Immutable. The proposed spending limit in micros. One million is equivalent to - /// one unit. + /// Immutable. The proposed spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="33")] ProposedSpendingLimitMicros(i64), - /// Immutable. The proposed spending limit as a well-defined type, e.g. INFINITE. + /// Immutable. The proposed spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="11")] ProposedSpendingLimitType(i32), } - /// The approved spending limit. + /// The approved spending limit. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApprovedSpendingLimit { - /// Output only. The approved spending limit in micros. One million is equivalent to - /// one unit. + /// Output only. The approved spending limit in micros. One million is equivalent to + /// one unit. #[prost(int64, tag="34")] ApprovedSpendingLimitMicros(i64), - /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. + /// Output only. The approved spending limit as a well-defined type, e.g. INFINITE. #[prost(enumeration="super::super::enums::spending_limit_type_enum::SpendingLimitType", tag="24")] ApprovedSpendingLimitType(i32), } } -/// Represents the data sharing connection between a Google Ads account and -/// another account +/// Represents the data sharing connection between a Google Ads account and +/// another account #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLink { - /// Immutable. Resource name of the account link. - /// AccountLink resource names have the form: - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// Immutable. Resource name of the account link. + /// AccountLink resource names have the form: + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the link. - /// This field is read only. + /// Output only. The ID of the link. + /// This field is read only. #[prost(int64, optional, tag="8")] pub account_link_id: ::core::option::Option, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::account_link_status_enum::AccountLinkStatus", tag="3")] pub status: i32, - /// Output only. The type of the linked account. + /// Output only. The type of the linked account. #[prost(enumeration="super::enums::linked_account_type_enum::LinkedAccountType", tag="4")] pub r#type: i32, - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[prost(oneof="account_link::LinkedAccount", tags="5, 6, 7")] pub linked_account: ::core::option::Option, } /// Nested message and enum types in `AccountLink`. pub mod account_link { - /// An account linked to this Google Ads account. + /// An account linked to this Google Ads account. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LinkedAccount { - /// Immutable. A third party app analytics link. + /// Immutable. A third party app analytics link. #[prost(message, tag="5")] ThirdPartyAppAnalytics(super::ThirdPartyAppAnalyticsLinkIdentifier), - /// Output only. Data partner link. + /// Output only. Data partner link. #[prost(message, tag="6")] DataPartner(super::DataPartnerLinkIdentifier), - /// Output only. Google Ads link. + /// Output only. Google Ads link. #[prost(message, tag="7")] GoogleAds(super::GoogleAdsLinkIdentifier), } } -/// The identifiers of a Third Party App Analytics Link. +/// The identifiers of a Third Party App Analytics Link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLinkIdentifier { - /// Immutable. The ID of the app analytics provider. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The ID of the app analytics provider. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="4")] pub app_analytics_provider_id: ::core::option::Option, - /// Immutable. A string that uniquely identifies a mobile application from which the data - /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit - /// string that appears at the end of an App Store URL (e.g., "422689480" for - /// "Gmail" whose App Store link is - /// ). For - /// Android, the ID string is the application's package name (e.g., - /// "com.google.android.gm" for "Gmail" given Google Play link - /// ) - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. A string that uniquely identifies a mobile application from which the data + /// was collected to the Google Ads API. For iOS, the ID string is the 9 digit + /// string that appears at the end of an App Store URL (e.g., "422689480" for + /// "Gmail" whose App Store link is + /// ). For + /// Android, the ID string is the application's package name (e.g., + /// "com.google.android.gm" for "Gmail" given Google Play link + /// ) + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="5")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The vendor of the app. - /// This field should not be empty when creating a new third - /// party app analytics link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The vendor of the app. + /// This field should not be empty when creating a new third + /// party app analytics link. It is unable to be modified after the creation of + /// the link. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="3")] pub app_vendor: i32, } -/// The identifier for Data Partner account. +/// The identifier for Data Partner account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataPartnerLinkIdentifier { - /// Immutable. The customer ID of the Data partner account. - /// This field is required and should not be empty when creating a new - /// data partner link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The customer ID of the Data partner account. + /// This field is required and should not be empty when creating a new + /// data partner link. It is unable to be modified after the creation of + /// the link. #[prost(int64, optional, tag="1")] pub data_partner_id: ::core::option::Option, } -/// The identifier for Google Ads account. +/// The identifier for Google Ads account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsLinkIdentifier { - /// Immutable. The resource name of the Google Ads account. - /// This field is required and should not be empty when creating a new - /// Google Ads link. It is unable to be modified after the creation of - /// the link. + /// Immutable. The resource name of the Google Ads account. + /// This field is required and should not be empty when creating a new + /// Google Ads link. It is unable to be modified after the creation of + /// the link. #[prost(string, optional, tag="3")] pub customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad type. +// Proto file describing the ad type. -/// An ad. +/// An ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Ad { - /// Immutable. The resource name of the ad. - /// Ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad resource names have the form: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(string, tag="37")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad. + /// Output only. The ID of the ad. #[prost(int64, optional, tag="40")] pub id: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="41")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final app URLs that will be used on mobile if the user has the - /// specific app installed. + /// A list of final app URLs that will be used on mobile if the user has the + /// specific app installed. #[prost(message, repeated, tag="35")] pub final_app_urls: ::prost::alloc::vec::Vec, - /// The list of possible final mobile URLs after all cross-domain redirects - /// for the ad. + /// The list of possible final mobile URLs after all cross-domain redirects + /// for the ad. #[prost(string, repeated, tag="42")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="43")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The suffix to use when constructing a final URL. + /// The suffix to use when constructing a final URL. #[prost(string, optional, tag="44")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings that can be used to substitute custom parameter tags - /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. - /// For mutates, please use url custom parameter operations. + /// The list of mappings that can be used to substitute custom parameter tags + /// in a `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// For mutates, please use url custom parameter operations. #[prost(message, repeated, tag="10")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The URL that appears in the ad description for some ad formats. + /// The URL that appears in the ad description for some ad formats. #[prost(string, optional, tag="45")] pub display_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of ad. + /// Output only. The type of ad. #[prost(enumeration="super::enums::ad_type_enum::AdType", tag="5")] pub r#type: i32, - /// Output only. Indicates if this ad was automatically added by Google Ads and not by a - /// user. For example, this could happen when ads are automatically created as - /// suggestions for new ads based on knowledge of how existing ads are - /// performing. + /// Output only. Indicates if this ad was automatically added by Google Ads and not by a + /// user. For example, this could happen when ads are automatically created as + /// suggestions for new ads based on knowledge of how existing ads are + /// performing. #[prost(bool, optional, tag="46")] pub added_by_google_ads: ::core::option::Option, - /// The device preference for the ad. You can only specify a preference for - /// mobile devices. When this preference is set the ad will be preferred over - /// other ads when being displayed on a mobile device. The ad can still be - /// displayed on other device types, e.g. if no other ads are available. - /// If unspecified (no device preference), all devices are targeted. - /// This is only supported by some ad types. + /// The device preference for the ad. You can only specify a preference for + /// mobile devices. When this preference is set the ad will be preferred over + /// other ads when being displayed on a mobile device. The ad can still be + /// displayed on other device types, e.g. if no other ads are available. + /// If unspecified (no device preference), all devices are targeted. + /// This is only supported by some ad types. #[prost(enumeration="super::enums::device_enum::Device", tag="20")] pub device_preference: i32, - /// Additional URLs for the ad that are tagged with a unique identifier that - /// can be referenced from other fields in the ad. + /// Additional URLs for the ad that are tagged with a unique identifier that + /// can be referenced from other fields in the ad. #[prost(message, repeated, tag="26")] pub url_collections: ::prost::alloc::vec::Vec, - /// Immutable. The name of the ad. This is only used to be able to identify the ad. It - /// does not need to be unique and does not affect the served ad. The name - /// field is currently only supported for DisplayUploadAd, ImageAd, - /// ShoppingComparisonListingAd and VideoAd. + /// Immutable. The name of the ad. This is only used to be able to identify the ad. It + /// does not need to be unique and does not affect the served ad. The name + /// field is currently only supported for DisplayUploadAd, ImageAd, + /// ShoppingComparisonListingAd and VideoAd. #[prost(string, optional, tag="47")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. If this ad is system managed, then this field will indicate the source. - /// This field is read-only. + /// Output only. If this ad is system managed, then this field will indicate the source. + /// This field is read-only. #[prost(enumeration="super::enums::system_managed_resource_source_enum::SystemManagedResourceSource", tag="27")] pub system_managed_resource_source: i32, - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[prost(oneof="ad::AdData", tags="6, 7, 49, 14, 15, 17, 18, 21, 22, 24, 39, 25, 28, 29, 30, 31, 32, 33, 34, 36, 48, 50")] pub ad_data: ::core::option::Option, } /// Nested message and enum types in `Ad`. pub mod ad { - /// Details pertinent to the ad type. Exactly one value must be set. + /// Details pertinent to the ad type. Exactly one value must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdData { - /// Immutable. Details pertaining to a text ad. + /// Immutable. Details pertaining to a text ad. #[prost(message, tag="6")] TextAd(super::super::common::TextAdInfo), - /// Details pertaining to an expanded text ad. + /// Details pertaining to an expanded text ad. #[prost(message, tag="7")] ExpandedTextAd(super::super::common::ExpandedTextAdInfo), - /// Details pertaining to a call ad. + /// Details pertaining to a call ad. #[prost(message, tag="49")] CallAd(super::super::common::CallAdInfo), - /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. - /// This type of ad has its headline, final URLs, and display URL - /// auto-generated at serving time according to domain name specific - /// information provided by `dynamic_search_ads_setting` linked at the - /// campaign level. + /// Immutable. Details pertaining to an Expanded Dynamic Search Ad. + /// This type of ad has its headline, final URLs, and display URL + /// auto-generated at serving time according to domain name specific + /// information provided by `dynamic_search_ads_setting` linked at the + /// campaign level. #[prost(message, tag="14")] ExpandedDynamicSearchAd(super::super::common::ExpandedDynamicSearchAdInfo), - /// Details pertaining to a hotel ad. + /// Details pertaining to a hotel ad. #[prost(message, tag="15")] HotelAd(super::super::common::HotelAdInfo), - /// Details pertaining to a Smart Shopping ad. + /// Details pertaining to a Smart Shopping ad. #[prost(message, tag="17")] ShoppingSmartAd(super::super::common::ShoppingSmartAdInfo), - /// Details pertaining to a Shopping product ad. + /// Details pertaining to a Shopping product ad. #[prost(message, tag="18")] ShoppingProductAd(super::super::common::ShoppingProductAdInfo), - /// Immutable. Details pertaining to a Gmail ad. + /// Immutable. Details pertaining to a Gmail ad. #[prost(message, tag="21")] GmailAd(super::super::common::GmailAdInfo), - /// Immutable. Details pertaining to an Image ad. + /// Immutable. Details pertaining to an Image ad. #[prost(message, tag="22")] ImageAd(super::super::common::ImageAdInfo), - /// Details pertaining to a Video ad. + /// Details pertaining to a Video ad. #[prost(message, tag="24")] VideoAd(super::super::common::VideoAdInfo), - /// Details pertaining to a Video responsive ad. + /// Details pertaining to a Video responsive ad. #[prost(message, tag="39")] VideoResponsiveAd(super::super::common::VideoResponsiveAdInfo), - /// Details pertaining to a responsive search ad. + /// Details pertaining to a responsive search ad. #[prost(message, tag="25")] ResponsiveSearchAd(super::super::common::ResponsiveSearchAdInfo), - /// Details pertaining to a legacy responsive display ad. + /// Details pertaining to a legacy responsive display ad. #[prost(message, tag="28")] LegacyResponsiveDisplayAd(super::super::common::LegacyResponsiveDisplayAdInfo), - /// Details pertaining to an app ad. + /// Details pertaining to an app ad. #[prost(message, tag="29")] AppAd(super::super::common::AppAdInfo), - /// Immutable. Details pertaining to a legacy app install ad. + /// Immutable. Details pertaining to a legacy app install ad. #[prost(message, tag="30")] LegacyAppInstallAd(super::super::common::LegacyAppInstallAdInfo), - /// Details pertaining to a responsive display ad. + /// Details pertaining to a responsive display ad. #[prost(message, tag="31")] ResponsiveDisplayAd(super::super::common::ResponsiveDisplayAdInfo), - /// Details pertaining to a local ad. + /// Details pertaining to a local ad. #[prost(message, tag="32")] LocalAd(super::super::common::LocalAdInfo), - /// Details pertaining to a display upload ad. + /// Details pertaining to a display upload ad. #[prost(message, tag="33")] DisplayUploadAd(super::super::common::DisplayUploadAdInfo), - /// Details pertaining to an app engagement ad. + /// Details pertaining to an app engagement ad. #[prost(message, tag="34")] AppEngagementAd(super::super::common::AppEngagementAdInfo), - /// Details pertaining to a Shopping Comparison Listing ad. + /// Details pertaining to a Shopping Comparison Listing ad. #[prost(message, tag="36")] ShoppingComparisonListingAd(super::super::common::ShoppingComparisonListingAdInfo), - /// Details pertaining to a Smart campaign ad. + /// Details pertaining to a Smart campaign ad. #[prost(message, tag="48")] SmartCampaignAd(super::super::common::SmartCampaignAdInfo), - /// Details pertaining to an app pre-registration ad. + /// Details pertaining to an app pre-registration ad. #[prost(message, tag="50")] AppPreRegistrationAd(super::super::common::AppPreRegistrationAdInfo), } } -// Proto file describing the ad group resource. +// Proto file describing the ad group resource. -/// An ad group. +/// An ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroup { - /// Immutable. The resource name of the ad group. - /// Ad group resource names have the form: + /// Immutable. The resource name of the ad group. + /// Ad group resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the ad group. + /// Output only. The ID of the ad group. #[prost(int64, optional, tag="34")] pub id: ::core::option::Option, - /// The name of the ad group. + /// The name of the ad group. /// - /// This field is required and should not be empty when creating new ad - /// groups. + /// This field is required and should not be empty when creating new ad + /// groups. /// - /// It must contain fewer than 255 UTF-8 full-width characters. + /// It must contain fewer than 255 UTF-8 full-width characters. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="35")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the ad group. + /// The status of the ad group. #[prost(enumeration="super::enums::ad_group_status_enum::AdGroupStatus", tag="5")] pub status: i32, - /// Immutable. The type of the ad group. + /// Immutable. The type of the ad group. #[prost(enumeration="super::enums::ad_group_type_enum::AdGroupType", tag="12")] pub r#type: i32, - /// The ad rotation mode of the ad group. + /// The ad rotation mode of the ad group. #[prost(enumeration="super::enums::ad_group_ad_rotation_mode_enum::AdGroupAdRotationMode", tag="22")] pub ad_rotation_mode: i32, - /// Output only. For draft or experiment ad groups, this field is the resource name of the - /// base ad group from which this ad group was created. If a draft or - /// experiment ad group does not have a base ad group, then this field is null. + /// Output only. For draft or experiment ad groups, this field is the resource name of the + /// base ad group from which this ad group was created. If a draft or + /// experiment ad group does not have a base ad group, then this field is null. /// - /// For base ad groups, this field equals the ad group resource name. + /// For base ad groups, this field equals the ad group resource name. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="36")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="37")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="6")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Immutable. The campaign to which the ad group belongs. + /// Immutable. The campaign to which the ad group belongs. #[prost(string, optional, tag="38")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum CPC (cost-per-click) bid. + /// The maximum CPC (cost-per-click) bid. #[prost(int64, optional, tag="39")] pub cpc_bid_micros: ::core::option::Option, - /// The maximum CPM (cost-per-thousand viewable impressions) bid. + /// The maximum CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="40")] pub cpm_bid_micros: ::core::option::Option, - /// The target CPA (cost-per-acquisition). If the ad group's campaign - /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa - /// field set), then this field overrides the target CPA specified in the - /// campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target CPA (cost-per-acquisition). If the ad group's campaign + /// bidding strategy is TargetCpa or MaximizeConversions (with its target_cpa + /// field set), then this field overrides the target CPA specified in the + /// campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(int64, optional, tag="41")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The CPV (cost-per-view) bid. + /// Output only. The CPV (cost-per-view) bid. #[prost(int64, optional, tag="42")] pub cpv_bid_micros: ::core::option::Option, - /// Average amount in micros that the advertiser is willing to pay for every - /// thousand times the ad is shown. + /// Average amount in micros that the advertiser is willing to pay for every + /// thousand times the ad is shown. #[prost(int64, optional, tag="43")] pub target_cpm_micros: ::core::option::Option, - /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign - /// bidding strategy is TargetRoas or MaximizeConversionValue (with its - /// target_roas field set), then this field overrides the target ROAS specified - /// in the campaign's bidding strategy. - /// Otherwise, this value is ignored. + /// The target ROAS (return-on-ad-spend) override. If the ad group's campaign + /// bidding strategy is TargetRoas or MaximizeConversionValue (with its + /// target_roas field set), then this field overrides the target ROAS specified + /// in the campaign's bidding strategy. + /// Otherwise, this value is ignored. #[prost(double, optional, tag="44")] pub target_roas: ::core::option::Option, - /// The percent cpc bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The percent cpc bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="45")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Settings for the Display Campaign Optimizer, initially termed "Explorer". + /// Settings for the Display Campaign Optimizer, initially termed "Explorer". #[prost(message, optional, tag="21")] pub explorer_auto_optimizer_setting: ::core::option::Option, - /// Allows advertisers to specify a targeting dimension on which to place - /// absolute bids. This is only applicable for campaigns that target only the - /// display network and not search. + /// Allows advertisers to specify a targeting dimension on which to place + /// absolute bids. This is only applicable for campaigns that target only the + /// display network and not search. #[prost(enumeration="super::enums::targeting_dimension_enum::TargetingDimension", tag="23")] pub display_custom_bid_dimension: i32, - /// URL template for appending params to Final URL. + /// URL template for appending params to Final URL. #[prost(string, optional, tag="46")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="25")] pub targeting_setting: ::core::option::Option, - /// Output only. The effective target CPA (cost-per-acquisition). - /// This field is read-only. + /// Output only. The effective target CPA (cost-per-acquisition). + /// This field is read-only. #[prost(int64, optional, tag="47")] pub effective_target_cpa_micros: ::core::option::Option, - /// Output only. Source of the effective target CPA. - /// This field is read-only. + /// Output only. Source of the effective target CPA. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="29")] pub effective_target_cpa_source: i32, - /// Output only. The effective target ROAS (return-on-ad-spend). - /// This field is read-only. + /// Output only. The effective target ROAS (return-on-ad-spend). + /// This field is read-only. #[prost(double, optional, tag="48")] pub effective_target_roas: ::core::option::Option, - /// Output only. Source of the effective target ROAS. - /// This field is read-only. + /// Output only. Source of the effective target ROAS. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="32")] pub effective_target_roas_source: i32, - /// Output only. The resource names of labels attached to this ad group. + /// Output only. The resource names of labels attached to this ad group. #[prost(string, repeated, tag="49")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The asset field types that should be excluded from this ad group. Asset - /// links with these field types will not be inherited by this ad group from - /// the upper levels. + /// The asset field types that should be excluded from this ad group. Asset + /// links with these field types will not be inherited by this ad group from + /// the upper levels. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="54")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, } -// Proto file describing the ad group ad resource. +// Proto file describing the ad group ad resource. -/// An ad group ad. +/// An ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAd { - /// Immutable. The resource name of the ad. - /// Ad group ad resource names have the form: + /// Immutable. The resource name of the ad. + /// Ad group ad resource names have the form: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The status of the ad. + /// The status of the ad. #[prost(enumeration="super::enums::ad_group_ad_status_enum::AdGroupAdStatus", tag="3")] pub status: i32, - /// Immutable. The ad group to which the ad belongs. + /// Immutable. The ad group to which the ad belongs. #[prost(string, optional, tag="9")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad. + /// Immutable. The ad. #[prost(message, optional, tag="5")] pub ad: ::core::option::Option, - /// Output only. Policy information for the ad. + /// Output only. Policy information for the ad. #[prost(message, optional, tag="6")] pub policy_summary: ::core::option::Option, - /// Output only. Overall ad strength for this ad group ad. + /// Output only. Overall ad strength for this ad group ad. #[prost(enumeration="super::enums::ad_strength_enum::AdStrength", tag="7")] pub ad_strength: i32, - /// Output only. A list of recommendations to improve the ad strength. For example, a - /// recommendation could be "Your headlines are a little too similar. - /// Try adding more distinct headlines.". + /// Output only. A list of recommendations to improve the ad strength. For example, a + /// recommendation could be "Your headlines are a little too similar. + /// Try adding more distinct headlines.". #[prost(string, repeated, tag="13")] pub action_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group ad. + /// Output only. The resource names of labels attached to this ad group ad. #[prost(string, repeated, tag="10")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Contains policy information for an ad. +/// Contains policy information for an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdPolicySummary { - /// Output only. The list of policy findings for this ad. + /// Output only. The list of policy findings for this ad. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad is. + /// Output only. Where in the review process this ad is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad, calculated based on the status of - /// its individual policy topic entries. + /// Output only. The overall approval status of this ad, calculated based on the status of + /// its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the ad group ad asset view resource. +// Proto file describing the ad group ad asset view resource. -/// A link between an AdGroupAd and an Asset. -/// Currently we only support AdGroupAdAssetView for AppAds. +/// A link between an AdGroupAd and an Asset. +/// Currently we only support AdGroupAdAssetView for AppAds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetView { - /// Output only. The resource name of the ad group ad asset view. - /// Ad group ad asset view resource names have the form (Before V4): + /// Output only. The resource name of the ad group ad asset view. + /// Ad group ad asset view resource names have the form (Before V4): /// - /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssets/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` /// - /// Ad group ad asset view resource names have the form (Beginning from V4): + /// Ad group ad asset view resource names have the form (Beginning from V4): /// - /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` + /// `customers/{customer_id}/adGroupAdAssetViews/{AdGroupAdAsset.ad_group_id}~{AdGroupAdAsset.ad_id}~{AdGroupAdAsset.asset_id}~{AdGroupAdAsset.field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ad group ad to which the asset is linked. + /// Output only. The ad group ad to which the asset is linked. #[prost(string, optional, tag="9")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The asset which is linked to the ad group ad. + /// Output only. The asset which is linked to the ad group ad. #[prost(string, optional, tag="10")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Role that the asset takes in the ad. + /// Output only. Role that the asset takes in the ad. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="2")] pub field_type: i32, - /// Output only. The status between the asset and the latest version of the ad. If true, the - /// asset is linked to the latest version of the ad. If false, it means the - /// link once existed but has been removed and is no longer present in the - /// latest version of the ad. + /// Output only. The status between the asset and the latest version of the ad. If true, the + /// asset is linked to the latest version of the ad. If false, it means the + /// link once existed but has been removed and is no longer present in the + /// latest version of the ad. #[prost(bool, optional, tag="8")] pub enabled: ::core::option::Option, - /// Output only. Policy information for the ad group ad asset. + /// Output only. Policy information for the ad group ad asset. #[prost(message, optional, tag="3")] pub policy_summary: ::core::option::Option, - /// Output only. Performance of an asset linkage. + /// Output only. Performance of an asset linkage. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="4")] pub performance_label: i32, } -/// Contains policy information for an ad group ad asset. +/// Contains policy information for an ad group ad asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdAssetPolicySummary { - /// Output only. The list of policy findings for the ad group ad asset. + /// Output only. The list of policy findings for the ad group ad asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this ad group ad asset is. + /// Output only. Where in the review process this ad group ad asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this ad group ad asset, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of this ad group ad asset, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the ad group ad label resource. +// Proto file describing the ad group ad label resource. -/// A relationship between an ad group ad and a label. +/// A relationship between an ad group ad and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabel { - /// Immutable. The resource name of the ad group ad label. - /// Ad group ad label resource names have the form: - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` + /// Immutable. The resource name of the ad group ad label. + /// Ad group ad label resource names have the form: + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group ad to which the label is attached. + /// Immutable. The ad group ad to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group ad. + /// Immutable. The label assigned to the ad group ad. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the AdGroupAsset resource. +// Proto file describing the AdGroupAsset resource. -/// A link between an ad group and an asset. +/// A link between an ad group and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAsset { - /// Immutable. The resource name of the ad group asset. - /// AdGroupAsset resource names have the form: + /// Immutable. The resource name of the ad group asset. + /// AdGroupAsset resource names have the form: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The ad group to which the asset is linked. + /// Required. Immutable. The ad group to which the asset is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the ad group. + /// Required. Immutable. The asset which is linked to the ad group. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes under the linked ad group. + /// Required. Immutable. Role that the asset takes under the linked ad group. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Status of the ad group asset. + /// Status of the ad group asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the ad group audience view resource. +// Proto file describing the ad group audience view resource. -/// An ad group audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated at the audience level. +/// An ad group audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated at the audience level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAudienceView { - /// Output only. The resource name of the ad group audience view. - /// Ad group audience view resource names have the form: + /// Output only. The resource name of the ad group audience view. + /// Ad group audience view resource names have the form: /// - /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupAudienceViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the ad group bid modifier resource. +// Proto file describing the ad group bid modifier resource. -/// Represents an ad group bid modifier. +/// Represents an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifier { - /// Immutable. The resource name of the ad group bid modifier. - /// Ad group bid modifier resource names have the form: + /// Immutable. The resource name of the ad group bid modifier. + /// Ad group bid modifier resource names have the form: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which this criterion belongs. + /// Immutable. The ad group to which this criterion belongs. #[prost(string, optional, tag="13")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="14")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. - /// Use 0 to opt out of a Device type. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. The range is 1.0 - 6.0 for PreferredContent. + /// Use 0 to opt out of a Device type. #[prost(double, optional, tag="15")] pub bid_modifier: ::core::option::Option, - /// Output only. The base ad group from which this draft/trial adgroup bid modifier was - /// created. If ad_group is a base ad group then this field will be equal to - /// ad_group. If the ad group was created in the draft or trial and has no - /// corresponding base ad group, then this field will be null. - /// This field is readonly. + /// Output only. The base ad group from which this draft/trial adgroup bid modifier was + /// created. If ad_group is a base ad group then this field will be equal to + /// ad_group. If the ad group was created in the draft or trial and has no + /// corresponding base ad group, then this field will be null. + /// This field is readonly. #[prost(string, optional, tag="16")] pub base_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Bid modifier source. + /// Output only. Bid modifier source. #[prost(enumeration="super::enums::bid_modifier_source_enum::BidModifierSource", tag="10")] pub bid_modifier_source: i32, - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="ad_group_bid_modifier::Criterion", tags="5, 6, 7, 8, 11, 12, 17")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifier`. pub mod ad_group_bid_modifier { - /// The criterion of this ad group bid modifier. + /// The criterion of this ad group bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for hotel date selection (default dates vs. user selected). + /// Immutable. Criterion for hotel date selection (default dates vs. user selected). #[prost(message, tag="5")] HotelDateSelectionType(super::super::common::HotelDateSelectionTypeInfo), - /// Immutable. Criterion for number of days prior to the stay the booking is being made. + /// Immutable. Criterion for number of days prior to the stay the booking is being made. #[prost(message, tag="6")] HotelAdvanceBookingWindow(super::super::common::HotelAdvanceBookingWindowInfo), - /// Immutable. Criterion for length of hotel stay in nights. + /// Immutable. Criterion for length of hotel stay in nights. #[prost(message, tag="7")] HotelLengthOfStay(super::super::common::HotelLengthOfStayInfo), - /// Immutable. Criterion for day of the week the booking is for. + /// Immutable. Criterion for day of the week the booking is for. #[prost(message, tag="8")] HotelCheckInDay(super::super::common::HotelCheckInDayInfo), - /// Immutable. A device criterion. + /// Immutable. A device criterion. #[prost(message, tag="11")] Device(super::super::common::DeviceInfo), - /// Immutable. A preferred content criterion. + /// Immutable. A preferred content criterion. #[prost(message, tag="12")] PreferredContent(super::super::common::PreferredContentInfo), - /// Immutable. Criterion for a hotel check-in date range. + /// Immutable. Criterion for a hotel check-in date range. #[prost(message, tag="17")] HotelCheckInDateRange(super::super::common::HotelCheckInDateRangeInfo), } } -// Proto file describing the ad group criterion resource. +// Proto file describing the ad group criterion resource. -/// An ad group criterion. +/// An ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterion { - /// Immutable. The resource name of the ad group criterion. - /// Ad group criterion resource names have the form: + /// Immutable. The resource name of the ad group criterion. + /// Ad group criterion resource names have the form: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="56")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="77")] pub display_name: ::prost::alloc::string::String, - /// The status of the criterion. - /// - /// This is the status of the ad group criterion entity, set by the client. - /// Note: UI reports may incorporate additional information that affects - /// whether a criterion is eligible to run. In some cases a criterion that's - /// REMOVED in the API can still show as enabled in the UI. - /// For example, campaigns by default show to users of all age ranges unless - /// excluded. The UI will show each age range as "enabled", since they're - /// eligible to see the ads; but AdGroupCriterion.status will show "removed", - /// since no positive criterion was added. + /// The status of the criterion. + /// + /// This is the status of the ad group criterion entity, set by the client. + /// Note: UI reports may incorporate additional information that affects + /// whether a criterion is eligible to run. In some cases a criterion that's + /// REMOVED in the API can still show as enabled in the UI. + /// For example, campaigns by default show to users of all age ranges unless + /// excluded. The UI will show each age range as "enabled", since they're + /// eligible to see the ads; but AdGroupCriterion.status will show "removed", + /// since no positive criterion was added. #[prost(enumeration="super::enums::ad_group_criterion_status_enum::AdGroupCriterionStatus", tag="3")] pub status: i32, - /// Output only. Information regarding the quality of the criterion. + /// Output only. Information regarding the quality of the criterion. #[prost(message, optional, tag="4")] pub quality_info: ::core::option::Option, - /// Immutable. The ad group to which the criterion belongs. + /// Immutable. The ad group to which the criterion belongs. #[prost(string, optional, tag="57")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="25")] pub r#type: i32, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. /// - /// This field is immutable. To switch a criterion from positive to negative, - /// remove then re-add it. + /// This field is immutable. To switch a criterion from positive to negative, + /// remove then re-add it. #[prost(bool, optional, tag="58")] pub negative: ::core::option::Option, - /// Output only. Serving status of the criterion. + /// Output only. Serving status of the criterion. #[prost(enumeration="super::enums::criterion_system_serving_status_enum::CriterionSystemServingStatus", tag="52")] pub system_serving_status: i32, - /// Output only. Approval status of the criterion. + /// Output only. Approval status of the criterion. #[prost(enumeration="super::enums::ad_group_criterion_approval_status_enum::AdGroupCriterionApprovalStatus", tag="53")] pub approval_status: i32, - /// Output only. List of disapproval reasons of the criterion. + /// Output only. List of disapproval reasons of the criterion. /// - /// The different reasons for disapproving a criterion can be found here: - /// + /// The different reasons for disapproving a criterion can be found here: + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(string, repeated, tag="59")] pub disapproval_reasons: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The resource names of labels attached to this ad group criterion. + /// Output only. The resource names of labels attached to this ad group criterion. #[prost(string, repeated, tag="60")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The modifier for the bid when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// The modifier for the bid when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. #[prost(double, optional, tag="61")] pub bid_modifier: ::core::option::Option, - /// The CPC (cost-per-click) bid. + /// The CPC (cost-per-click) bid. #[prost(int64, optional, tag="62")] pub cpc_bid_micros: ::core::option::Option, - /// The CPM (cost-per-thousand viewable impressions) bid. + /// The CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="63")] pub cpm_bid_micros: ::core::option::Option, - /// The CPV (cost-per-view) bid. + /// The CPV (cost-per-view) bid. #[prost(int64, optional, tag="64")] pub cpv_bid_micros: ::core::option::Option, - /// The CPC bid amount, expressed as a fraction of the advertised price - /// for some good or service. The valid range for the fraction is [0,1) and the - /// value stored here is 1,000,000 * \[fraction\]. + /// The CPC bid amount, expressed as a fraction of the advertised price + /// for some good or service. The valid range for the fraction is [0,1) and the + /// value stored here is 1,000,000 * \[fraction\]. #[prost(int64, optional, tag="65")] pub percent_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPC (cost-per-click) bid. + /// Output only. The effective CPC (cost-per-click) bid. #[prost(int64, optional, tag="66")] pub effective_cpc_bid_micros: ::core::option::Option, - /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. + /// Output only. The effective CPM (cost-per-thousand viewable impressions) bid. #[prost(int64, optional, tag="67")] pub effective_cpm_bid_micros: ::core::option::Option, - /// Output only. The effective CPV (cost-per-view) bid. + /// Output only. The effective CPV (cost-per-view) bid. #[prost(int64, optional, tag="68")] pub effective_cpv_bid_micros: ::core::option::Option, - /// Output only. The effective Percent CPC bid amount. + /// Output only. The effective Percent CPC bid amount. #[prost(int64, optional, tag="69")] pub effective_percent_cpc_bid_micros: ::core::option::Option, - /// Output only. Source of the effective CPC bid. + /// Output only. Source of the effective CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="21")] pub effective_cpc_bid_source: i32, - /// Output only. Source of the effective CPM bid. + /// Output only. Source of the effective CPM bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="22")] pub effective_cpm_bid_source: i32, - /// Output only. Source of the effective CPV bid. + /// Output only. Source of the effective CPV bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="23")] pub effective_cpv_bid_source: i32, - /// Output only. Source of the effective Percent CPC bid. + /// Output only. Source of the effective Percent CPC bid. #[prost(enumeration="super::enums::bidding_source_enum::BiddingSource", tag="35")] pub effective_percent_cpc_bid_source: i32, - /// Output only. Estimates for criterion bids at various positions. + /// Output only. Estimates for criterion bids at various positions. #[prost(message, optional, tag="10")] pub position_estimates: ::core::option::Option, - /// The list of possible final URLs after all cross-domain redirects for the - /// ad. + /// The list of possible final URLs after all cross-domain redirects for the + /// ad. #[prost(string, repeated, tag="70")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of possible final mobile URLs after all cross-domain redirects. + /// The list of possible final mobile URLs after all cross-domain redirects. #[prost(string, repeated, tag="71")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for appending params to final URL. + /// URL template for appending params to final URL. #[prost(string, optional, tag="72")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="73")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="14")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="ad_group_criterion::Criterion", tags="27, 28, 29, 30, 32, 36, 37, 38, 39, 42, 40, 41, 43, 45, 46, 47, 48, 49, 74, 75")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterion`. pub mod ad_group_criterion { - /// A container for ad group criterion quality information. + /// A container for ad group criterion quality information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QualityInfo { - /// Output only. The quality score. + /// Output only. The quality score. /// - /// This field may not be populated if Google does not have enough - /// information to determine a value. + /// This field may not be populated if Google does not have enough + /// information to determine a value. #[prost(int32, optional, tag="5")] pub quality_score: ::core::option::Option, - /// Output only. The performance of the ad compared to other advertisers. + /// Output only. The performance of the ad compared to other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="2")] pub creative_quality_score: i32, - /// Output only. The quality score of the landing page. + /// Output only. The quality score of the landing page. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="3")] pub post_click_quality_score: i32, - /// Output only. The click-through rate compared to that of other advertisers. + /// Output only. The click-through rate compared to that of other advertisers. #[prost(enumeration="super::super::enums::quality_score_bucket_enum::QualityScoreBucket", tag="4")] pub search_predicted_ctr: i32, } - /// Estimates for criterion bids at various positions. + /// Estimates for criterion bids at various positions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PositionEstimates { - /// Output only. The estimate of the CPC bid required for ad to be shown on first - /// page of search results. + /// Output only. The estimate of the CPC bid required for ad to be shown on first + /// page of search results. #[prost(int64, optional, tag="6")] pub first_page_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed in first - /// position, at the top of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed in first + /// position, at the top of the first page of search results. #[prost(int64, optional, tag="7")] pub first_position_cpc_micros: ::core::option::Option, - /// Output only. The estimate of the CPC bid required for ad to be displayed at the top - /// of the first page of search results. + /// Output only. The estimate of the CPC bid required for ad to be displayed at the top + /// of the first page of search results. #[prost(int64, optional, tag="8")] pub top_of_page_cpc_micros: ::core::option::Option, - /// Output only. Estimate of how many clicks per week you might get by changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how many clicks per week you might get by changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="9")] pub estimated_add_clicks_at_first_position_cpc: ::core::option::Option, - /// Output only. Estimate of how your cost per week might change when changing your - /// keyword bid to the value in first_position_cpc_micros. + /// Output only. Estimate of how your cost per week might change when changing your + /// keyword bid to the value in first_position_cpc_micros. #[prost(int64, optional, tag="10")] pub estimated_add_cost_at_first_position_cpc: ::core::option::Option, } - /// The ad group criterion. + /// The ad group criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="27")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="28")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="29")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="30")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Listing group. + /// Immutable. Listing group. #[prost(message, tag="32")] ListingGroup(super::super::common::ListingGroupInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="36")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="37")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="38")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="39")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="42")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="40")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="41")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="43")] Topic(super::super::common::TopicInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="45")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage + /// Immutable. Webpage #[prost(message, tag="46")] Webpage(super::super::common::WebpageInfo), - /// Immutable. App Payment Model. + /// Immutable. App Payment Model. #[prost(message, tag="47")] AppPaymentModel(super::super::common::AppPaymentModelInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="48")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Intent. + /// Immutable. Custom Intent. #[prost(message, tag="49")] CustomIntent(super::super::common::CustomIntentInfo), - /// Immutable. Custom Audience. + /// Immutable. Custom Audience. #[prost(message, tag="74")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="75")] CombinedAudience(super::super::common::CombinedAudienceInfo), } } -/// A customizer value for the associated CustomizerAttribute at the -/// AdGroupCriterion level. +/// A customizer value for the associated CustomizerAttribute at the +/// AdGroupCriterion level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizer { - /// Immutable. The resource name of the ad group criterion customizer. - /// Ad group criterion customizer resource names have the form: + /// Immutable. The resource name of the ad group criterion customizer. + /// Ad group criterion customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the customizer attribute is linked. - /// It must be a keyword criterion. + /// Immutable. The ad group criterion to which the customizer attribute is linked. + /// It must be a keyword criterion. #[prost(string, optional, tag="2")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. + /// Required. Immutable. The customizer attribute which is linked to the ad group criterion. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group criterion customizer. + /// Output only. The status of the ad group criterion customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the ad group criterion label resource. +// Proto file describing the ad group criterion label resource. -/// A relationship between an ad group criterion and a label. +/// A relationship between an ad group criterion and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabel { - /// Immutable. The resource name of the ad group criterion label. - /// Ad group criterion label resource names have the form: - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// Immutable. The resource name of the ad group criterion label. + /// Ad group criterion label resource names have the form: + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion to which the label is attached. + /// Immutable. The ad group criterion to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group criterion. + /// Immutable. The label assigned to the ad group criterion. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group criterion simulation resource. +// Proto file describing the ad group criterion simulation resource. -/// An ad group criterion simulation. Supported combinations of advertising -/// channel type, criterion type, simulation type, and simulation modification -/// method are detailed below respectively. Hotel AdGroupCriterion simulation -/// operations starting in V5. +/// An ad group criterion simulation. Supported combinations of advertising +/// channel type, criterion type, simulation type, and simulation modification +/// method are detailed below respectively. Hotel AdGroupCriterion simulation +/// operations starting in V5. /// -/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM -/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM -/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM -/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM -/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM +/// 1. DISPLAY - KEYWORD - CPC_BID - UNIFORM +/// 2. SEARCH - KEYWORD - CPC_BID - UNIFORM +/// 3. SHOPPING - LISTING_GROUP - CPC_BID - UNIFORM +/// 4. HOTEL - LISTING_GROUP - CPC_BID - UNIFORM +/// 5. HOTEL - LISTING_GROUP - PERCENT_CPC_BID - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionSimulation { - /// Output only. The resource name of the ad group criterion simulation. - /// Ad group criterion simulation resource names have the form: + /// Output only. The resource name of the ad group criterion simulation. + /// Ad group criterion simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupCriterionSimulations/{ad_group_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. AdGroup ID of the simulation. + /// Output only. AdGroup ID of the simulation. #[prost(int64, optional, tag="9")] pub ad_group_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_criterion_simulation::PointList", tags="8, 13")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionSimulation`. pub mod ad_group_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. + /// Output only. Simulation points if the simulation type is PERCENT_CPC_BID. #[prost(message, tag="13")] PercentCpcBidPointList(super::super::common::PercentCpcBidSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the AdGroup -/// level. +/// A customizer value for the associated CustomizerAttribute at the AdGroup +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizer { - /// Immutable. The resource name of the ad group customizer. - /// Ad group customizer resource names have the form: + /// Immutable. The resource name of the ad group customizer. + /// Ad group customizer resource names have the form: /// - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the customizer attribute is linked. + /// Immutable. The ad group to which the customizer attribute is linked. #[prost(string, tag="2")] pub ad_group: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the ad group. + /// Required. Immutable. The customizer attribute which is linked to the ad group. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the ad group customizer. + /// Output only. The status of the ad group customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the AdGroupExtensionSetting resource. +// Proto file describing the AdGroupExtensionSetting resource. -/// An ad group extension setting. +/// An ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSetting { - /// Immutable. The resource name of the ad group extension setting. - /// AdGroupExtensionSetting resource names have the form: + /// Immutable. The resource name of the ad group extension setting. + /// AdGroupExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the ad group extension setting. + /// Immutable. The extension type of the ad group extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the ad group. The linked extension feed items will - /// serve under this ad group. - /// AdGroup resource names have the form: + /// Immutable. The resource name of the ad group. The linked extension feed items will + /// serve under this ad group. + /// AdGroup resource names have the form: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the ad group. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the ad group. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the AdGroupFeed resource. +// Proto file describing the AdGroupFeed resource. -/// An ad group feed. +/// An ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeed { - /// Immutable. The resource name of the ad group feed. - /// Ad group feed resource names have the form: + /// Immutable. The resource name of the ad group feed. + /// Ad group feed resource names have the form: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the ad group. + /// Immutable. The feed being linked to the ad group. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The ad group being linked to the feed. + /// Immutable. The ad group being linked to the feed. #[prost(string, optional, tag="8")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// ad group. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// ad group. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the AdGroupFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the AdGroupFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the ad group feed. - /// This field is read-only. + /// Output only. Status of the ad group feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the ad group label resource. +// Proto file describing the ad group label resource. -/// A relationship between an ad group and a label. +/// A relationship between an ad group and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabel { - /// Immutable. The resource name of the ad group label. - /// Ad group label resource names have the form: - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// Immutable. The resource name of the ad group label. + /// Ad group label resource names have the form: + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group to which the label is attached. + /// Immutable. The ad group to which the label is attached. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the ad group. + /// Immutable. The label assigned to the ad group. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad group simulation resource. +// Proto file describing the ad group simulation resource. -/// An ad group simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification method is -/// detailed below respectively. +/// An ad group simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification method is +/// detailed below respectively. /// -/// 1. SEARCH - CPC_BID - DEFAULT -/// 2. SEARCH - CPC_BID - UNIFORM -/// 3. SEARCH - TARGET_CPA - UNIFORM -/// 4. SEARCH - TARGET_ROAS - UNIFORM -/// 5. DISPLAY - CPC_BID - DEFAULT -/// 6. DISPLAY - CPC_BID - UNIFORM -/// 7. DISPLAY - TARGET_CPA - UNIFORM +/// 1. SEARCH - CPC_BID - DEFAULT +/// 2. SEARCH - CPC_BID - UNIFORM +/// 3. SEARCH - TARGET_CPA - UNIFORM +/// 4. SEARCH - TARGET_ROAS - UNIFORM +/// 5. DISPLAY - CPC_BID - DEFAULT +/// 6. DISPLAY - CPC_BID - UNIFORM +/// 7. DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupSimulation { - /// Output only. The resource name of the ad group simulation. - /// Ad group simulation resource names have the form: + /// Output only. The resource name of the ad group simulation. + /// Ad group simulation resource names have the form: /// - /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/adGroupSimulations/{ad_group_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Ad group id of the simulation. + /// Output only. Ad group id of the simulation. #[prost(int64, optional, tag="12")] pub ad_group_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="13")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, optional, tag="14")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="ad_group_simulation::PointList", tags="8, 10, 9, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `AdGroupSimulation`. pub mod ad_group_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="8")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is CPV_BID. + /// Output only. Simulation points if the simulation type is CPV_BID. #[prost(message, tag="10")] CpvBidPointList(super::super::common::CpvBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="9")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="11")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the ad parameter resource. +// Proto file describing the ad parameter resource. -/// An ad parameter that is used to update numeric values (such as prices or -/// inventory levels) in any text line of an ad (including URLs). There can -/// be a maximum of two AdParameters per ad group criterion. (One with -/// parameter_index = 1 and one with parameter_index = 2.) -/// In the ad the parameters are referenced by a placeholder of the form -/// "{param#:value}". E.g. "{param1:$17}" +/// An ad parameter that is used to update numeric values (such as prices or +/// inventory levels) in any text line of an ad (including URLs). There can +/// be a maximum of two AdParameters per ad group criterion. (One with +/// parameter_index = 1 and one with parameter_index = 2.) +/// In the ad the parameters are referenced by a placeholder of the form +/// "{param#:value}". E.g. "{param1:$17}" #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameter { - /// Immutable. The resource name of the ad parameter. - /// Ad parameter resource names have the form: + /// Immutable. The resource name of the ad parameter. + /// Ad parameter resource names have the form: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ad group criterion that this ad parameter belongs to. + /// Immutable. The ad group criterion that this ad parameter belongs to. #[prost(string, optional, tag="5")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. + /// Immutable. The unique index of this ad parameter. Must be either 1 or 2. #[prost(int64, optional, tag="6")] pub parameter_index: ::core::option::Option, - /// Numeric value to insert into the ad text. The following restrictions + /// Numeric value to insert into the ad text. The following restrictions /// apply: /// - Can use comma or period as a separator, with an optional period or /// comma (respectively) for fractional values. For example, 1,000,000.00 @@ -1651,2272 +1651,2272 @@ pub struct AdParameter { #[prost(string, optional, tag="7")] pub insertion_text: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ad schedule view resource. +// Proto file describing the ad schedule view resource. -/// An ad schedule view summarizes the performance of campaigns by -/// AdSchedule criteria. +/// An ad schedule view summarizes the performance of campaigns by +/// AdSchedule criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdScheduleView { - /// Output only. The resource name of the ad schedule view. - /// AdSchedule view resource names have the form: + /// Output only. The resource name of the ad schedule view. + /// AdSchedule view resource names have the form: /// - /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/adScheduleViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the age range view resource. +// Proto file describing the age range view resource. -/// An age range view. +/// An age range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgeRangeView { - /// Output only. The resource name of the age range view. - /// Age range view resource names have the form: + /// Output only. The resource name of the age range view. + /// Age range view resource names have the form: /// - /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/ageRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the asset resource. +// Proto file describing the asset resource. -/// Asset is a part of an ad which can be shared across multiple ads. -/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. -/// Assets are immutable and cannot be removed. To stop an asset from serving, -/// remove the asset from the entity that is using it. +/// Asset is a part of an ad which can be shared across multiple ads. +/// It can be an image (ImageAsset), a video (YoutubeVideoAsset), etc. +/// Assets are immutable and cannot be removed. To stop an asset from serving, +/// remove the asset from the entity that is using it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// Immutable. The resource name of the asset. - /// Asset resource names have the form: + /// Immutable. The resource name of the asset. + /// Asset resource names have the form: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset. + /// Output only. The ID of the asset. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Optional name of the asset. + /// Optional name of the asset. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the asset. + /// Output only. Type of the asset. #[prost(enumeration="super::enums::asset_type_enum::AssetType", tag="4")] pub r#type: i32, - /// A list of possible final URLs after all cross domain redirects. + /// A list of possible final URLs after all cross domain redirects. #[prost(string, repeated, tag="14")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of possible final mobile URLs after all cross domain redirects. + /// A list of possible final mobile URLs after all cross domain redirects. #[prost(string, repeated, tag="16")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL template for constructing a tracking URL. + /// URL template for constructing a tracking URL. #[prost(string, optional, tag="17")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// A list of mappings to be used for substituting URL custom parameter tags in - /// the tracking_url_template, final_urls, and/or final_mobile_urls. + /// A list of mappings to be used for substituting URL custom parameter tags in + /// the tracking_url_template, final_urls, and/or final_mobile_urls. #[prost(message, repeated, tag="18")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// URL template for appending params to landing page URLs served with parallel - /// tracking. + /// URL template for appending params to landing page URLs served with parallel + /// tracking. #[prost(string, optional, tag="19")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Policy information for the asset. + /// Output only. Policy information for the asset. #[prost(message, optional, tag="13")] pub policy_summary: ::core::option::Option, - /// The specific type of the asset. + /// The specific type of the asset. #[prost(oneof="asset::AssetData", tags="5, 6, 7, 8, 9, 10, 15, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29")] pub asset_data: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// The specific type of the asset. + /// The specific type of the asset. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AssetData { - /// Immutable. A YouTube video asset. + /// Immutable. A YouTube video asset. #[prost(message, tag="5")] YoutubeVideoAsset(super::super::common::YoutubeVideoAsset), - /// Immutable. A media bundle asset. + /// Immutable. A media bundle asset. #[prost(message, tag="6")] MediaBundleAsset(super::super::common::MediaBundleAsset), - /// Output only. An image asset. + /// Output only. An image asset. #[prost(message, tag="7")] ImageAsset(super::super::common::ImageAsset), - /// Immutable. A text asset. + /// Immutable. A text asset. #[prost(message, tag="8")] TextAsset(super::super::common::TextAsset), - /// A lead form asset. + /// A lead form asset. #[prost(message, tag="9")] LeadFormAsset(super::super::common::LeadFormAsset), - /// A book on google asset. + /// A book on google asset. #[prost(message, tag="10")] BookOnGoogleAsset(super::super::common::BookOnGoogleAsset), - /// A promotion asset. + /// A promotion asset. #[prost(message, tag="15")] PromotionAsset(super::super::common::PromotionAsset), - /// A callout asset. + /// A callout asset. #[prost(message, tag="20")] CalloutAsset(super::super::common::CalloutAsset), - /// A structured snippet asset. + /// A structured snippet asset. #[prost(message, tag="21")] StructuredSnippetAsset(super::super::common::StructuredSnippetAsset), - /// A sitelink asset. + /// A sitelink asset. #[prost(message, tag="22")] SitelinkAsset(super::super::common::SitelinkAsset), - /// A page feed asset. + /// A page feed asset. #[prost(message, tag="23")] PageFeedAsset(super::super::common::PageFeedAsset), - /// A dynamic education asset. + /// A dynamic education asset. #[prost(message, tag="24")] DynamicEducationAsset(super::super::common::DynamicEducationAsset), - /// A mobile app asset. + /// A mobile app asset. #[prost(message, tag="25")] MobileAppAsset(super::super::common::MobileAppAsset), - /// A hotel callout asset. + /// A hotel callout asset. #[prost(message, tag="26")] HotelCalloutAsset(super::super::common::HotelCalloutAsset), - /// A call asset. + /// A call asset. #[prost(message, tag="27")] CallAsset(super::super::common::CallAsset), - /// A price asset. + /// A price asset. #[prost(message, tag="28")] PriceAsset(super::super::common::PriceAsset), - /// Immutable. A call to action asset. + /// Immutable. A call to action asset. #[prost(message, tag="29")] CallToActionAsset(super::super::common::CallToActionAsset), } } -/// Contains policy information for an asset. +/// Contains policy information for an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetPolicySummary { - /// Output only. The list of policy findings for this asset. + /// Output only. The list of policy findings for this asset. #[prost(message, repeated, tag="1")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. Where in the review process this asset is. + /// Output only. Where in the review process this asset is. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="2")] pub review_status: i32, - /// Output only. The overall approval status of this asset, calculated based on the status - /// of its individual policy topic entries. + /// Output only. The overall approval status of this asset, calculated based on the status + /// of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="3")] pub approval_status: i32, } -// Proto file describing the AssetFieldTypeView resource. +// Proto file describing the AssetFieldTypeView resource. -/// An asset field type view. -/// This view reports non-overcounted metrics for each asset field type when the -/// asset is used as extension. +/// An asset field type view. +/// This view reports non-overcounted metrics for each asset field type when the +/// asset is used as extension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetFieldTypeView { - /// Output only. The resource name of the asset field type view. - /// Asset field type view resource names have the form: + /// Output only. The resource name of the asset field type view. + /// Asset field type view resource names have the form: /// - /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` + /// `customers/{customer_id}/assetFieldTypeViews/{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The asset field type of the asset field type view. + /// Output only. The asset field type of the asset field type view. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, } -/// An asset group. -/// AssetGroupAsset will be used to link an asset to the asset group. -/// AssetGroupHint will be used to associate a hint to an asset group. +/// An asset group. +/// AssetGroupAsset will be used to link an asset to the asset group. +/// AssetGroupHint will be used to associate a hint to an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroup { - /// Immutable. The resource name of the asset group. - /// Asset group resource names have the form: + /// Immutable. The resource name of the asset group. + /// Asset group resource names have the form: /// - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the asset group. + /// Output only. The ID of the asset group. #[prost(int64, tag="9")] pub id: i64, - /// Immutable. The campaign with which this asset group is associated. - /// The asset which is linked to the asset group. + /// Immutable. The campaign with which this asset group is associated. + /// The asset which is linked to the asset group. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Name of the asset group. Required. It must have a minimum length of 1 and - /// maximum length of 128. It must be unique under a campaign. + /// Required. Name of the asset group. Required. It must have a minimum length of 1 and + /// maximum length of 128. It must be unique under a campaign. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// A list of final URLs after all cross domain redirects. In performance max, - /// by default, the urls will be eligible for expansion unless opted out. + /// A list of final URLs after all cross domain redirects. In performance max, + /// by default, the urls will be eligible for expansion unless opted out. #[prost(string, repeated, tag="4")] pub final_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of final mobile URLs after all cross domain redirects. In - /// performance max, by default, the urls will be eligible for expansion - /// unless opted out. + /// A list of final mobile URLs after all cross domain redirects. In + /// performance max, by default, the urls will be eligible for expansion + /// unless opted out. #[prost(string, repeated, tag="5")] pub final_mobile_urls: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the asset group. + /// The status of the asset group. #[prost(enumeration="super::enums::asset_group_status_enum::AssetGroupStatus", tag="6")] pub status: i32, - /// First part of text that may appear appended to the url displayed in - /// the ad. + /// First part of text that may appear appended to the url displayed in + /// the ad. #[prost(string, tag="7")] pub path1: ::prost::alloc::string::String, - /// Second part of text that may appear appended to the url displayed in - /// the ad. This field can only be set when path1 is set. + /// Second part of text that may appear appended to the url displayed in + /// the ad. This field can only be set when path1 is set. #[prost(string, tag="8")] pub path2: ::prost::alloc::string::String, } -/// AssetGroupAsset is the link between an asset and an asset group. -/// Adding an AssetGroupAsset links an asset with an asset group. +/// AssetGroupAsset is the link between an asset and an asset group. +/// Adding an AssetGroupAsset links an asset with an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAsset { - /// Immutable. The resource name of the asset group asset. - /// Asset group asset resource name have the form: + /// Immutable. The resource name of the asset group asset. + /// Asset group asset resource name have the form: /// - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group asset is linking. + /// Immutable. The asset group which this asset group asset is linking. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Immutable. The asset which this asset group asset is linking. + /// Immutable. The asset which this asset group asset is linking. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// The description of the placement of the asset within the asset group. E.g.: - /// HEADLINE, YOUTUBE_VIDEO etc + /// The description of the placement of the asset within the asset group. E.g.: + /// HEADLINE, YOUTUBE_VIDEO etc #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// The status of the link between an asset and asset group. + /// The status of the link between an asset and asset group. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, - /// Output only. The performance of this asset group asset. + /// Output only. The performance of this asset group asset. #[prost(enumeration="super::enums::asset_performance_label_enum::AssetPerformanceLabel", tag="6")] pub performance_label: i32, - /// Output only. The policy information for this asset group asset. + /// Output only. The policy information for this asset group asset. #[prost(message, optional, tag="7")] pub policy_summary: ::core::option::Option, } -/// AssetGroupListingGroupFilter represents a listing group filter tree node in -/// an asset group. +/// AssetGroupListingGroupFilter represents a listing group filter tree node in +/// an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilter { - /// Immutable. The resource name of the asset group listing group filter. - /// Asset group listing group filter resource name have the form: + /// Immutable. The resource name of the asset group listing group filter. + /// Asset group listing group filter resource name have the form: /// - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset group which this asset group listing group filter is part of. + /// Immutable. The asset group which this asset group listing group filter is part of. #[prost(string, tag="2")] pub asset_group: ::prost::alloc::string::String, - /// Output only. The ID of the ListingGroupFilter. + /// Output only. The ID of the ListingGroupFilter. #[prost(int64, tag="3")] pub id: i64, - /// Immutable. Type of a listing group filter node. + /// Immutable. Type of a listing group filter node. #[prost(enumeration="super::enums::listing_group_filter_type_enum::ListingGroupFilterType", tag="4")] pub r#type: i32, - /// Immutable. The vertical the current node tree represents. All nodes in the same tree - /// must belong to the same vertical. + /// Immutable. The vertical the current node tree represents. All nodes in the same tree + /// must belong to the same vertical. #[prost(enumeration="super::enums::listing_group_filter_vertical_enum::ListingGroupFilterVertical", tag="5")] pub vertical: i32, - /// Dimension value with which this listing group is refining its parent. - /// Undefined for the root group. + /// Dimension value with which this listing group is refining its parent. + /// Undefined for the root group. #[prost(message, optional, tag="6")] pub case_value: ::core::option::Option, - /// Immutable. Resource name of the parent listing group subdivision. Null for the root - /// listing group filter node. + /// Immutable. Resource name of the parent listing group subdivision. Null for the root + /// listing group filter node. #[prost(string, tag="7")] pub parent_listing_group_filter: ::prost::alloc::string::String, } -/// Listing dimensions for the asset group listing group filter. +/// Listing dimensions for the asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListingGroupFilterDimension { - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[prost(oneof="listing_group_filter_dimension::Dimension", tags="1, 2, 3, 4, 5, 6, 7")] pub dimension: ::core::option::Option, } /// Nested message and enum types in `ListingGroupFilterDimension`. pub mod listing_group_filter_dimension { - /// One element of a bidding category at a certain level. Top-level categories - /// are at level 1, their children at level 2, and so on. We currently support - /// up to 5 levels. The user must specify a dimension type that indicates the - /// level of the category. All cases of the same subdivision must have the same - /// dimension type (category level). + /// One element of a bidding category at a certain level. Top-level categories + /// are at level 1, their children at level 2, and so on. We currently support + /// up to 5 levels. The user must specify a dimension type that indicates the + /// level of the category. All cases of the same subdivision must have the same + /// dimension type (category level). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategory { - /// ID of the product bidding category. + /// ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="1")] pub id: ::core::option::Option, - /// Indicates the level of the category in the taxonomy. + /// Indicates the level of the category in the taxonomy. #[prost(enumeration="super::super::enums::listing_group_filter_bidding_category_level_enum::ListingGroupFilterBiddingCategoryLevel", tag="2")] pub level: i32, } - /// Brand of the product. + /// Brand of the product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBrand { - /// String value of the product brand. + /// String value of the product brand. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Locality of a product offer. + /// Locality of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductChannel { - /// Value of the locality. + /// Value of the locality. #[prost(enumeration="super::super::enums::listing_group_filter_product_channel_enum::ListingGroupFilterProductChannel", tag="1")] pub channel: i32, } - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCustomAttribute { - /// String value of the product custom attribute. + /// String value of the product custom attribute. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the index of the custom attribute. + /// Indicates the index of the custom attribute. #[prost(enumeration="super::super::enums::listing_group_filter_custom_attribute_index_enum::ListingGroupFilterCustomAttributeIndex", tag="2")] pub index: i32, } - /// Condition of a product offer. + /// Condition of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductCondition { - /// Value of the condition. + /// Value of the condition. #[prost(enumeration="super::super::enums::listing_group_filter_product_condition_enum::ListingGroupFilterProductCondition", tag="1")] pub condition: i32, } - /// Item id of a product offer. + /// Item id of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductItemId { - /// Value of the id. + /// Value of the id. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, } - /// Type of a product offer. + /// Type of a product offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductType { - /// Value of the type. + /// Value of the type. #[prost(string, optional, tag="1")] pub value: ::core::option::Option<::prost::alloc::string::String>, - /// Level of the type. + /// Level of the type. #[prost(enumeration="super::super::enums::listing_group_filter_product_type_level_enum::ListingGroupFilterProductTypeLevel", tag="2")] pub level: i32, } - /// Dimension of one of the types below is always present. + /// Dimension of one of the types below is always present. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Dimension { - /// Bidding category of a product offer. + /// Bidding category of a product offer. #[prost(message, tag="1")] ProductBiddingCategory(ProductBiddingCategory), - /// Brand of a product offer. + /// Brand of a product offer. #[prost(message, tag="2")] ProductBrand(ProductBrand), - /// Locality of a product offer. + /// Locality of a product offer. #[prost(message, tag="3")] ProductChannel(ProductChannel), - /// Condition of a product offer. + /// Condition of a product offer. #[prost(message, tag="4")] ProductCondition(ProductCondition), - /// Custom attribute of a product offer. + /// Custom attribute of a product offer. #[prost(message, tag="5")] ProductCustomAttribute(ProductCustomAttribute), - /// Item id of a product offer. + /// Item id of a product offer. #[prost(message, tag="6")] ProductItemId(ProductItemId), - /// Type of a product offer. + /// Type of a product offer. #[prost(message, tag="7")] ProductType(ProductType), } } -// Proto file describing the AssetGroupProductGroupView resource. +// Proto file describing the AssetGroupProductGroupView resource. -/// An asset group product group view. +/// An asset group product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupProductGroupView { - /// Output only. The resource name of the asset group product group view. - /// Asset group product group view resource names have the form: + /// Output only. The resource name of the asset group product group view. + /// Asset group product group view resource names have the form: /// - /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` + /// `customers/{customer_id}/assetGroupProductGroupViews/{asset_group_id}~{listing_group_filter_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// An asset set representing a collection of assets. -/// Use AssetSetAsset to link an asset to the asset set. +/// An asset set representing a collection of assets. +/// Use AssetSetAsset to link an asset to the asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSet { - /// Immutable. The resource name of the asset set. - /// Asset set resource names have the form: + /// Immutable. The resource name of the asset set. + /// Asset set resource names have the form: /// - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Name of the asset set. Required. It must have a minimum length of 1 and - /// maximum length of 128. + /// Required. Name of the asset set. Required. It must have a minimum length of 1 and + /// maximum length of 128. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of the asset set. Required. + /// Required. Immutable. The type of the asset set. Required. #[prost(enumeration="super::enums::asset_set_type_enum::AssetSetType", tag="3")] pub r#type: i32, - /// Output only. The status of the asset set. Read-only. + /// Output only. The status of the asset set. Read-only. #[prost(enumeration="super::enums::asset_set_status_enum::AssetSetStatus", tag="4")] pub status: i32, - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[prost(message, optional, tag="5")] pub merchant_center_feed: ::core::option::Option, } /// Nested message and enum types in `AssetSet`. pub mod asset_set { - /// Merchant ID and Feed Label from Google Merchant Center. + /// Merchant ID and Feed Label from Google Merchant Center. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterFeed { - /// Required. Merchant ID from Google Merchant Center + /// Required. Merchant ID from Google Merchant Center #[prost(int64, tag="1")] pub merchant_id: i64, - /// Optional. Feed Label from Google Merchant Center. + /// Optional. Feed Label from Google Merchant Center. #[prost(string, optional, tag="2")] pub feed_label: ::core::option::Option<::prost::alloc::string::String>, } } -/// AssetSetAsset is the link between an asset and an asset set. -/// Adding an AssetSetAsset links an asset with an asset set. +/// AssetSetAsset is the link between an asset and an asset set. +/// Adding an AssetSetAsset links an asset with an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAsset { - /// Immutable. The resource name of the asset set asset. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the asset set asset. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The asset set which this asset set asset is linking to. + /// Immutable. The asset set which this asset set asset is linking to. #[prost(string, tag="2")] pub asset_set: ::prost::alloc::string::String, - /// Immutable. The asset which this asset set asset is linking to. + /// Immutable. The asset which this asset set asset is linking to. #[prost(string, tag="3")] pub asset: ::prost::alloc::string::String, - /// Output only. The status of the asset set asset. Read-only. + /// Output only. The status of the asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_asset_status_enum::AssetSetAssetStatus", tag="4")] pub status: i32, } -// Proto file describing the batch job resource. +// Proto file describing the batch job resource. -/// A list of mutates being processed asynchronously. The mutates are uploaded -/// by the user. The mutates themselves aren't readable and the results of the -/// job can only be read using BatchJobService.ListBatchJobResults. +/// A list of mutates being processed asynchronously. The mutates are uploaded +/// by the user. The mutates themselves aren't readable and the results of the +/// job can only be read using BatchJobService.ListBatchJobResults. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJob { - /// Immutable. The resource name of the batch job. - /// Batch job resource names have the form: + /// Immutable. The resource name of the batch job. + /// Batch job resource names have the form: /// - /// `customers/{customer_id}/batchJobs/{batch_job_id}` + /// `customers/{customer_id}/batchJobs/{batch_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this batch job. + /// Output only. ID of this batch job. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The next sequence token to use when adding operations. Only set when the - /// batch job status is PENDING. + /// Output only. The next sequence token to use when adding operations. Only set when the + /// batch job status is PENDING. #[prost(string, optional, tag="8")] pub next_add_sequence_token: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Contains additional information about this batch job. + /// Output only. Contains additional information about this batch job. #[prost(message, optional, tag="4")] pub metadata: ::core::option::Option, - /// Output only. Status of this batch job. + /// Output only. Status of this batch job. #[prost(enumeration="super::enums::batch_job_status_enum::BatchJobStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion. Only set when the batch job status is RUNNING or DONE. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion. Only set when the batch job status is RUNNING or DONE. #[prost(string, optional, tag="9")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BatchJob`. pub mod batch_job { - /// Additional information about the batch job. This message is also used as - /// metadata returned in batch job Long Running Operations. + /// Additional information about the batch job. This message is also used as + /// metadata returned in batch job Long Running Operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobMetadata { - /// Output only. The time when this batch job was created. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" + /// Output only. The time when this batch job was created. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:00" #[prost(string, optional, tag="8")] pub creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job started running. - /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" + /// Output only. The time when this batch job started running. + /// Formatted as yyyy-mm-dd hh:mm:ss. Example: "2018-03-05 09:15:30" #[prost(string, optional, tag="7")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The time when this batch job was completed. - /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" + /// Output only. The time when this batch job was completed. + /// Formatted as yyyy-MM-dd HH:mm:ss. Example: "2018-03-05 09:16:00" #[prost(string, optional, tag="9")] pub completion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. - /// This is empty if the job hasn't started running yet. + /// Output only. The fraction (between 0.0 and 1.0) of mutates that have been processed. + /// This is empty if the job hasn't started running yet. #[prost(double, optional, tag="10")] pub estimated_completion_ratio: ::core::option::Option, - /// Output only. The number of mutate operations in the batch job. + /// Output only. The number of mutate operations in the batch job. #[prost(int64, optional, tag="11")] pub operation_count: ::core::option::Option, - /// Output only. The number of mutate operations executed by the batch job. - /// Present only if the job has started running. + /// Output only. The number of mutate operations executed by the batch job. + /// Present only if the job has started running. #[prost(int64, optional, tag="12")] pub executed_operation_count: ::core::option::Option, } } -/// Represents a bidding data exclusion. +/// Represents a bidding data exclusion. /// -/// See "About data exclusions" at -/// +/// See "About data exclusions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusion { - /// Immutable. The resource name of the data exclusion. - /// Data exclusion resource names have the form: + /// Immutable. The resource name of the data exclusion. + /// Data exclusion resource names have the form: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the data exclusion. + /// Output only. The ID of the data exclusion. #[prost(int64, tag="2")] pub data_exclusion_id: i64, - /// The scope of the data exclusion. + /// The scope of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the data exclusion. + /// Output only. The status of the data exclusion. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The inclusive start time of the data exclusion in yyyy-MM-dd HH:mm:ss + /// format. /// - /// A data exclusion is backward looking and should be used for events that - /// start in the past and end either in the past or future. + /// A data exclusion is backward looking and should be used for events that + /// start in the past and end either in the past or future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. + /// Required. The exclusive end time of the data exclusion in yyyy-MM-dd HH:mm:ss format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the data exclusion. The name can be at most 255 - /// characters. + /// The name of the data exclusion. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the data exclusion. The description can be at - /// most 2048 characters. + /// The description of the data exclusion. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this exclusion. - /// Otherwise, only the specified targeted devices will be included in this - /// exclusion. + /// If not specified, all devices will be included in this exclusion. + /// Otherwise, only the specified targeted devices will be included in this + /// exclusion. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// The data exclusion will apply to the campaigns listed when the scope of - /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is - /// 2000. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data exclusion will apply to the campaigns listed when the scope of + /// this exclusion is CAMPAIGN. The maximum number of campaigns per event is + /// 2000. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="10")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The data_exclusion will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// exclusion is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a data exclusion with both advertising_channel_types and - /// campaign_ids is not supported. + /// The data_exclusion will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// exclusion is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a data exclusion with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="11")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -/// Represents a bidding seasonality adjustment. +/// Represents a bidding seasonality adjustment. /// -/// See "About seasonality adjustments" at -/// +/// See "About seasonality adjustments" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustment { - /// Immutable. The resource name of the seasonality adjustment. - /// Seasonality adjustment resource names have the form: + /// Immutable. The resource name of the seasonality adjustment. + /// Seasonality adjustment resource names have the form: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the seasonality adjustment. + /// Output only. The ID of the seasonality adjustment. #[prost(int64, tag="2")] pub seasonality_adjustment_id: i64, - /// The scope of the seasonality adjustment. + /// The scope of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_scope_enum::SeasonalityEventScope", tag="3")] pub scope: i32, - /// Output only. The status of the seasonality adjustment. + /// Output only. The status of the seasonality adjustment. #[prost(enumeration="super::enums::seasonality_event_status_enum::SeasonalityEventStatus", tag="4")] pub status: i32, - /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd - /// HH:mm:ss format. + /// Required. The inclusive start time of the seasonality adjustment in yyyy-MM-dd + /// HH:mm:ss format. /// - /// A seasonality adjustment is forward looking and should be used for events - /// that start and end in the future. + /// A seasonality adjustment is forward looking and should be used for events + /// that start and end in the future. #[prost(string, tag="5")] pub start_date_time: ::prost::alloc::string::String, - /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss - /// format. + /// Required. The exclusive end time of the seasonality adjustment in yyyy-MM-dd HH:mm:ss + /// format. /// - /// The length of [start_date_time, end_date_time) interval must be - /// within (0, 14 days]. + /// The length of [start_date_time, end_date_time) interval must be + /// within (0, 14 days]. #[prost(string, tag="6")] pub end_date_time: ::prost::alloc::string::String, - /// The name of the seasonality adjustment. The name can be at most 255 - /// characters. + /// The name of the seasonality adjustment. The name can be at most 255 + /// characters. #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, - /// The description of the seasonality adjustment. The description can be at - /// most 2048 characters. + /// The description of the seasonality adjustment. The description can be at + /// most 2048 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// If not specified, all devices will be included in this adjustment. - /// Otherwise, only the specified targeted devices will be included in this - /// adjustment. + /// If not specified, all devices will be included in this adjustment. + /// Otherwise, only the specified targeted devices will be included in this + /// adjustment. #[prost(enumeration="super::enums::device_enum::Device", repeated, tag="9")] pub devices: ::prost::alloc::vec::Vec, - /// Conversion rate modifier estimated based on expected conversion rate - /// changes. When this field is unset or set to 1.0 no adjustment will be - /// applied to traffic. The allowed range is 0.1 to 10.0. + /// Conversion rate modifier estimated based on expected conversion rate + /// changes. When this field is unset or set to 1.0 no adjustment will be + /// applied to traffic. The allowed range is 0.1 to 10.0. #[prost(double, tag="10")] pub conversion_rate_modifier: f64, - /// The seasonality adjustment will apply to the campaigns listed when the - /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per - /// event is 2000. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to the campaigns listed when the + /// scope of this adjustment is CAMPAIGN. The maximum number of campaigns per + /// event is 2000. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(string, repeated, tag="11")] pub campaigns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The seasonality adjustment will apply to all the campaigns under the listed - /// channels retroactively as well as going forward when the scope of this - /// adjustment is CHANNEL. - /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. - /// Note: a seasonality adjustment with both advertising_channel_types and - /// campaign_ids is not supported. + /// The seasonality adjustment will apply to all the campaigns under the listed + /// channels retroactively as well as going forward when the scope of this + /// adjustment is CHANNEL. + /// The supported advertising channel types are DISPLAY, SEARCH and SHOPPING. + /// Note: a seasonality adjustment with both advertising_channel_types and + /// campaign_ids is not supported. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", repeated, tag="12")] pub advertising_channel_types: ::prost::alloc::vec::Vec, } -// Proto file describing the BiddingStrategy resource +// Proto file describing the BiddingStrategy resource -/// A bidding strategy. +/// A bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategy { - /// Immutable. The resource name of the bidding strategy. - /// Bidding strategy resource names have the form: + /// Immutable. The resource name of the bidding strategy. + /// Bidding strategy resource names have the form: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the bidding strategy. + /// Output only. The ID of the bidding strategy. #[prost(int64, optional, tag="16")] pub id: ::core::option::Option, - /// The name of the bidding strategy. - /// All bidding strategies within an account must be named distinctly. + /// The name of the bidding strategy. + /// All bidding strategies within an account must be named distinctly. /// - /// The length of this string should be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string should be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="17")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the bidding strategy. + /// Output only. The status of the bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_status_enum::BiddingStrategyStatus", tag="15")] pub status: i32, - /// Output only. The type of the bidding strategy. - /// Create a bidding strategy by setting the bidding scheme. + /// Output only. The type of the bidding strategy. + /// Create a bidding strategy by setting the bidding scheme. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="5")] pub r#type: i32, - /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Immutable. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this currency can be set on - /// creation and defaults to the manager customer's currency. For serving - /// customers, this field cannot be set; all strategies in a serving customer - /// implicitly use the serving customer's currency. In all cases the - /// effective_currency_code field returns the currency used by the strategy. + /// For bidding strategies in manager customers, this currency can be set on + /// creation and defaults to the manager customer's currency. For serving + /// customers, this field cannot be set; all strategies in a serving customer + /// implicitly use the serving customer's currency. In all cases the + /// effective_currency_code field returns the currency used by the strategy. #[prost(string, tag="23")] pub currency_code: ::prost::alloc::string::String, - /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). + /// Output only. The currency used by the bidding strategy (ISO 4217 three-letter code). /// - /// For bidding strategies in manager customers, this is the currency set by - /// the advertiser when creating the strategy. For serving customers, this is - /// the customer's currency_code. + /// For bidding strategies in manager customers, this is the currency set by + /// the advertiser when creating the strategy. For serving customers, this is + /// the customer's currency_code. /// - /// Bidding strategy metrics are reported in this currency. + /// Bidding strategy metrics are reported in this currency. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="20")] pub effective_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The number of campaigns attached to this bidding strategy. + /// Output only. The number of campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="18")] pub campaign_count: ::core::option::Option, - /// Output only. The number of non-removed campaigns attached to this bidding strategy. + /// Output only. The number of non-removed campaigns attached to this bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="19")] pub non_removed_campaign_count: ::core::option::Option, - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[prost(oneof="bidding_strategy::Scheme", tags="7, 21, 22, 9, 48, 11, 12")] pub scheme: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategy`. pub mod bidding_strategy { - /// The bidding scheme. + /// The bidding scheme. /// - /// Only one can be set. + /// Only one can be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scheme { - /// A bidding strategy that raises bids for clicks that seem more likely to - /// lead to a conversion and lowers them for clicks where they seem less - /// likely. + /// A bidding strategy that raises bids for clicks that seem more likely to + /// lead to a conversion and lowers them for clicks where they seem less + /// likely. #[prost(message, tag="7")] EnhancedCpc(super::super::common::EnhancedCpc), - /// An automated bidding strategy to help get the most conversion value for - /// your campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversion value for + /// your campaigns while spending your budget. #[prost(message, tag="21")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// An automated bidding strategy to help get the most conversions for your - /// campaigns while spending your budget. + /// An automated bidding strategy to help get the most conversions for your + /// campaigns while spending your budget. #[prost(message, tag="22")] MaximizeConversions(super::super::common::MaximizeConversions), - /// A bidding strategy that sets bids to help get as many conversions as - /// possible at the target cost-per-acquisition (CPA) you set. + /// A bidding strategy that sets bids to help get as many conversions as + /// possible at the target cost-per-acquisition (CPA) you set. #[prost(message, tag="9")] TargetCpa(super::super::common::TargetCpa), - /// A bidding strategy that automatically optimizes towards a desired - /// percentage of impressions. + /// A bidding strategy that automatically optimizes towards a desired + /// percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// A bidding strategy that helps you maximize revenue while averaging a - /// specific target Return On Ad Spend (ROAS). + /// A bidding strategy that helps you maximize revenue while averaging a + /// specific target Return On Ad Spend (ROAS). #[prost(message, tag="11")] TargetRoas(super::super::common::TargetRoas), - /// A bid strategy that sets your bids to help get as many clicks as - /// possible within your budget. + /// A bid strategy that sets your bids to help get as many clicks as + /// possible within your budget. #[prost(message, tag="12")] TargetSpend(super::super::common::TargetSpend), } } -// Proto file describing the bidding strategy simulation resource. +// Proto file describing the bidding strategy simulation resource. -/// A bidding strategy simulation. Supported combinations of simulation type -/// and simulation modification method are detailed below respectively. +/// A bidding strategy simulation. Supported combinations of simulation type +/// and simulation modification method are detailed below respectively. /// -/// 1. TARGET_CPA - UNIFORM -/// 2. TARGET_ROAS - UNIFORM +/// 1. TARGET_CPA - UNIFORM +/// 2. TARGET_ROAS - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategySimulation { - /// Output only. The resource name of the bidding strategy simulation. - /// Bidding strategy simulation resource names have the form: + /// Output only. The resource name of the bidding strategy simulation. + /// Bidding strategy simulation resource names have the form: /// - /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Bidding strategy shared set id of the simulation. + /// Output only. Bidding strategy shared set id of the simulation. #[prost(int64, tag="2")] pub bidding_strategy_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="bidding_strategy_simulation::PointList", tags="7, 8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategySimulation`. pub mod bidding_strategy_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="7")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="8")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), } } -// Proto file describing the BillingSetup resource. +// Proto file describing the BillingSetup resource. -/// A billing setup, which associates a payments account and an advertiser. A -/// billing setup is specific to one advertiser. +/// A billing setup, which associates a payments account and an advertiser. A +/// billing setup is specific to one advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetup { - /// Immutable. The resource name of the billing setup. - /// BillingSetup resource names have the form: + /// Immutable. The resource name of the billing setup. + /// BillingSetup resource names have the form: /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the billing setup. + /// Output only. The ID of the billing setup. #[prost(int64, optional, tag="15")] pub id: ::core::option::Option, - /// Output only. The status of the billing setup. + /// Output only. The status of the billing setup. #[prost(enumeration="super::enums::billing_setup_status_enum::BillingSetupStatus", tag="3")] pub status: i32, - /// Immutable. The resource name of the payments account associated with this billing - /// setup. Payments resource names have the form: - /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` - /// When setting up billing, this is used to signup with an existing payments - /// account (and then payments_account_info should not be set). - /// When getting a billing setup, this and payments_account_info will be - /// populated. + /// Immutable. The resource name of the payments account associated with this billing + /// setup. Payments resource names have the form: + /// + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// When setting up billing, this is used to signup with an existing payments + /// account (and then payments_account_info should not be set). + /// When getting a billing setup, this and payments_account_info will be + /// populated. #[prost(string, optional, tag="18")] pub payments_account: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The payments account information associated with this billing setup. - /// When setting up billing, this is used to signup with a new payments account - /// (and then payments_account should not be set). - /// When getting a billing setup, this and payments_account will be - /// populated. + /// Immutable. The payments account information associated with this billing setup. + /// When setting up billing, this is used to signup with a new payments account + /// (and then payments_account should not be set). + /// When getting a billing setup, this and payments_account will be + /// populated. #[prost(message, optional, tag="12")] pub payments_account_info: ::core::option::Option, - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[prost(oneof="billing_setup::StartTime", tags="16, 10")] pub start_time: ::core::option::Option, - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[prost(oneof="billing_setup::EndTime", tags="17, 14")] pub end_time: ::core::option::Option, } /// Nested message and enum types in `BillingSetup`. pub mod billing_setup { - /// Container of payments account information for this billing. + /// Container of payments account information for this billing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccountInfo { - /// Output only. A 16 digit id used to identify the payments account associated with the - /// billing setup. + /// Output only. A 16 digit id used to identify the payments account associated with the + /// billing setup. /// - /// This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". + /// This must be passed as a string with dashes, e.g. "1234-5678-9012-3456". #[prost(string, optional, tag="6")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the payments account associated with the billing setup. + /// Immutable. The name of the payments account associated with the billing setup. /// - /// This enables the user to specify a meaningful name for a payments account - /// to aid in reconciling monthly invoices. + /// This enables the user to specify a meaningful name for a payments account + /// to aid in reconciling monthly invoices. /// - /// This name will be printed in the monthly invoices. + /// This name will be printed in the monthly invoices. #[prost(string, optional, tag="7")] pub payments_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. A 12 digit id used to identify the payments profile associated with the - /// billing setup. + /// Immutable. A 12 digit id used to identify the payments profile associated with the + /// billing setup. /// - /// This must be passed in as a string with dashes, e.g. "1234-5678-9012". + /// This must be passed in as a string with dashes, e.g. "1234-5678-9012". #[prost(string, optional, tag="8")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments profile associated with the billing setup. + /// Output only. The name of the payments profile associated with the billing setup. #[prost(string, optional, tag="9")] pub payments_profile_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile id present in uncommon situations, e.g. - /// when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile id present in uncommon situations, e.g. + /// when a sequential liability agreement has been arranged. #[prost(string, optional, tag="10")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, } - /// When creating a new billing setup, this is when the setup should take - /// effect. NOW is the only acceptable start time if the customer doesn't have - /// any approved setups. + /// When creating a new billing setup, this is when the setup should take + /// effect. NOW is the only acceptable start time if the customer doesn't have + /// any approved setups. /// - /// When fetching an existing billing setup, this is the requested start time. - /// However, if the setup was approved (see status) after the requested start - /// time, then this is the approval time. + /// When fetching an existing billing setup, this is the requested start time. + /// However, if the setup was approved (see status) after the requested start + /// time, then this is the approval time. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartTime { - /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a - /// future time is allowed. + /// Immutable. The start date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. Only a + /// future time is allowed. #[prost(string, tag="16")] StartDateTime(::prost::alloc::string::String), - /// Immutable. The start time as a type. Only NOW is allowed. + /// Immutable. The start time as a type. Only NOW is allowed. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="10")] StartTimeType(i32), } - /// When the billing setup ends / ended. This is either FOREVER or the start - /// time of the next scheduled billing setup. + /// When the billing setup ends / ended. This is either FOREVER or the start + /// time of the next scheduled billing setup. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndTime { - /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. + /// Output only. The end date time in yyyy-MM-dd or yyyy-MM-dd HH:mm:ss format. #[prost(string, tag="17")] EndDateTime(::prost::alloc::string::String), - /// Output only. The end time as a type. The only possible value is FOREVER. + /// Output only. The end time as a type. The only possible value is FOREVER. #[prost(enumeration="super::super::enums::time_type_enum::TimeType", tag="14")] EndTimeType(i32), } } -// Proto file describing the call view resource. +// Proto file describing the call view resource. -/// A call view that includes data for call tracking of call-only ads or call -/// extensions. +/// A call view that includes data for call tracking of call-only ads or call +/// extensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallView { - /// Output only. The resource name of the call view. - /// Call view resource names have the form: + /// Output only. The resource name of the call view. + /// Call view resource names have the form: /// - /// `customers/{customer_id}/callViews/{call_detail_id}` + /// `customers/{customer_id}/callViews/{call_detail_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Country code of the caller. + /// Output only. Country code of the caller. #[prost(string, tag="2")] pub caller_country_code: ::prost::alloc::string::String, - /// Output only. Area code of the caller. Null if the call duration is shorter than 15 - /// seconds. + /// Output only. Area code of the caller. Null if the call duration is shorter than 15 + /// seconds. #[prost(string, tag="3")] pub caller_area_code: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call duration in seconds. + /// Output only. The advertiser-provided call duration in seconds. #[prost(int64, tag="4")] pub call_duration_seconds: i64, - /// Output only. The advertiser-provided call start date time. + /// Output only. The advertiser-provided call start date time. #[prost(string, tag="5")] pub start_call_date_time: ::prost::alloc::string::String, - /// Output only. The advertiser-provided call end date time. + /// Output only. The advertiser-provided call end date time. #[prost(string, tag="6")] pub end_call_date_time: ::prost::alloc::string::String, - /// Output only. The call tracking display location. + /// Output only. The call tracking display location. #[prost(enumeration="super::enums::call_tracking_display_location_enum::CallTrackingDisplayLocation", tag="7")] pub call_tracking_display_location: i32, - /// Output only. The type of the call. + /// Output only. The type of the call. #[prost(enumeration="super::enums::call_type_enum::CallType", tag="8")] pub r#type: i32, - /// Output only. The status of the call. + /// Output only. The status of the call. #[prost(enumeration="super::enums::google_voice_call_status_enum::GoogleVoiceCallStatus", tag="9")] pub call_status: i32, } -// Proto file describing the Campaign resource. +// Proto file describing the Campaign resource. -/// A campaign. +/// A campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Campaign { - /// Immutable. The resource name of the campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign. + /// Output only. The ID of the campaign. #[prost(int64, optional, tag="59")] pub id: ::core::option::Option, - /// The name of the campaign. + /// The name of the campaign. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="58")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the campaign. + /// The status of the campaign. /// - /// When a new campaign is added, the status defaults to ENABLED. + /// When a new campaign is added, the status defaults to ENABLED. #[prost(enumeration="super::enums::campaign_status_enum::CampaignStatus", tag="5")] pub status: i32, - /// Output only. The ad serving status of the campaign. + /// Output only. The ad serving status of the campaign. #[prost(enumeration="super::enums::campaign_serving_status_enum::CampaignServingStatus", tag="21")] pub serving_status: i32, - /// The ad serving optimization status of the campaign. + /// The ad serving optimization status of the campaign. #[prost(enumeration="super::enums::ad_serving_optimization_status_enum::AdServingOptimizationStatus", tag="8")] pub ad_serving_optimization_status: i32, - /// Immutable. The primary serving target for ads within the campaign. - /// The targeting options can be refined in `network_settings`. + /// Immutable. The primary serving target for ads within the campaign. + /// The targeting options can be refined in `network_settings`. /// - /// This field is required and should not be empty when creating new - /// campaigns. + /// This field is required and should not be empty when creating new + /// campaigns. /// - /// Can be set only when creating campaigns. - /// After the campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After the campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_type_enum::AdvertisingChannelType", tag="9")] pub advertising_channel_type: i32, - /// Immutable. Optional refinement to `advertising_channel_type`. - /// Must be a valid sub-type of the parent channel type. + /// Immutable. Optional refinement to `advertising_channel_type`. + /// Must be a valid sub-type of the parent channel type. /// - /// Can be set only when creating campaigns. - /// After campaign is created, the field can not be changed. + /// Can be set only when creating campaigns. + /// After campaign is created, the field can not be changed. #[prost(enumeration="super::enums::advertising_channel_sub_type_enum::AdvertisingChannelSubType", tag="10")] pub advertising_channel_sub_type: i32, - /// The URL template for constructing a tracking URL. + /// The URL template for constructing a tracking URL. #[prost(string, optional, tag="60")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="12")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Settings for Real-Time Bidding, a feature only available for campaigns - /// targeting the Ad Exchange network. + /// Settings for Real-Time Bidding, a feature only available for campaigns + /// targeting the Ad Exchange network. #[prost(message, optional, tag="39")] pub real_time_bidding_setting: ::core::option::Option, - /// The network settings for the campaign. + /// The network settings for the campaign. #[prost(message, optional, tag="14")] pub network_settings: ::core::option::Option, - /// Immutable. The hotel setting for the campaign. + /// Immutable. The hotel setting for the campaign. #[prost(message, optional, tag="32")] pub hotel_setting: ::core::option::Option, - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[prost(message, optional, tag="33")] pub dynamic_search_ads_setting: ::core::option::Option, - /// The setting for controlling Shopping campaigns. + /// The setting for controlling Shopping campaigns. #[prost(message, optional, tag="36")] pub shopping_setting: ::core::option::Option, - /// Setting for targeting related features. + /// Setting for targeting related features. #[prost(message, optional, tag="43")] pub targeting_setting: ::core::option::Option, - /// The setting for ads geotargeting. + /// The setting for ads geotargeting. #[prost(message, optional, tag="47")] pub geo_target_type_setting: ::core::option::Option, - /// The setting for local campaign. + /// The setting for local campaign. #[prost(message, optional, tag="50")] pub local_campaign_setting: ::core::option::Option, - /// The setting related to App Campaign. + /// The setting related to App Campaign. #[prost(message, optional, tag="51")] pub app_campaign_setting: ::core::option::Option, - /// Output only. The resource names of labels attached to this campaign. + /// Output only. The resource names of labels attached to this campaign. #[prost(string, repeated, tag="61")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The type of campaign: normal, draft, or experiment. + /// Output only. The type of campaign: normal, draft, or experiment. #[prost(enumeration="super::enums::campaign_experiment_type_enum::CampaignExperimentType", tag="17")] pub experiment_type: i32, - /// Output only. The resource name of the base campaign of a draft or experiment campaign. - /// For base campaigns, this is equal to `resource_name`. + /// Output only. The resource name of the base campaign of a draft or experiment campaign. + /// For base campaigns, this is equal to `resource_name`. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="56")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The budget of the campaign. + /// The budget of the campaign. #[prost(string, optional, tag="62")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of bidding strategy. + /// Output only. The type of bidding strategy. /// - /// A bidding strategy can be created by setting either the bidding scheme to - /// create a standard bidding strategy or the `bidding_strategy` field to - /// create a portfolio bidding strategy. + /// A bidding strategy can be created by setting either the bidding scheme to + /// create a standard bidding strategy or the `bidding_strategy` field to + /// create a portfolio bidding strategy. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::bidding_strategy_type_enum::BiddingStrategyType", tag="22")] pub bidding_strategy_type: i32, - /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the - /// unrestricted attributes of the attached portfolio bidding - /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not - /// use a portfolio strategy. - /// Unrestricted strategy attributes are available to all customers - /// with whom the strategy is shared and are read from the - /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are - /// only available to the owner customer of the strategy and their managers. - /// Restricted attributes can only be read from the BiddingStrategy resource. + /// Output only. Resource name of AccessibleBiddingStrategy, a read-only view of the + /// unrestricted attributes of the attached portfolio bidding + /// strategy identified by 'bidding_strategy'. Empty, if the campaign does not + /// use a portfolio strategy. + /// Unrestricted strategy attributes are available to all customers + /// with whom the strategy is shared and are read from the + /// AccessibleBiddingStrategy resource. In contrast, restricted attributes are + /// only available to the owner customer of the strategy and their managers. + /// Restricted attributes can only be read from the BiddingStrategy resource. #[prost(string, tag="71")] pub accessible_bidding_strategy: ::prost::alloc::string::String, - /// The date when campaign started. + /// The date when campaign started. #[prost(string, optional, tag="63")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign. + /// The last day of the campaign. #[prost(string, optional, tag="64")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// Suffix used to append query parameters to landing pages that are served - /// with parallel tracking. + /// Suffix used to append query parameters to landing pages that are served + /// with parallel tracking. #[prost(string, optional, tag="65")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// A list that limits how often each user will see this campaign's ads. + /// A list that limits how often each user will see this campaign's ads. #[prost(message, repeated, tag="40")] pub frequency_caps: ::prost::alloc::vec::Vec, - /// Output only. 3-Tier Brand Safety setting for the campaign. + /// Output only. 3-Tier Brand Safety setting for the campaign. #[prost(enumeration="super::enums::brand_safety_suitability_enum::BrandSafetySuitability", tag="42")] pub video_brand_safety_suitability: i32, - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[prost(message, optional, tag="44")] pub vanity_pharma: ::core::option::Option, - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[prost(message, optional, tag="45")] pub selective_optimization: ::core::option::Option, - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[prost(message, optional, tag="54")] pub optimization_goal_setting: ::core::option::Option, - /// Output only. Campaign-level settings for tracking information. + /// Output only. Campaign-level settings for tracking information. #[prost(message, optional, tag="46")] pub tracking_setting: ::core::option::Option, - /// Payment mode for the campaign. + /// Payment mode for the campaign. #[prost(enumeration="super::enums::payment_mode_enum::PaymentMode", tag="52")] pub payment_mode: i32, - /// Output only. Optimization score of the campaign. + /// Output only. Optimization score of the campaign. /// - /// Optimization score is an estimate of how well a campaign is set to perform. - /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the - /// campaign is performing at full potential. This field is null for unscored - /// campaigns. + /// Optimization score is an estimate of how well a campaign is set to perform. + /// It ranges from 0% (0.0) to 100% (1.0), with 100% indicating that the + /// campaign is performing at full potential. This field is null for unscored + /// campaigns. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="66")] pub optimization_score: ::core::option::Option, - /// The asset field types that should be excluded from this campaign. Asset - /// links with these field types will not be inherited by this campaign from - /// the upper level. + /// The asset field types that should be excluded from this campaign. Asset + /// links with these field types will not be inherited by this campaign from + /// the upper level. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", repeated, tag="69")] pub excluded_parent_asset_field_types: ::prost::alloc::vec::Vec, - /// Represents opting out of URL expansion to more targeted URLs. If opted out - /// (true), only the final URLs in the asset group or URLs specified in the - /// advertiser's Google Merchant Center or business data feeds are targeted. - /// If opted in (false), the entire domain will be targeted. This field can - /// only be set for Performance Max campaigns, where the default value is - /// false. + /// Represents opting out of URL expansion to more targeted URLs. If opted out + /// (true), only the final URLs in the asset group or URLs specified in the + /// advertiser's Google Merchant Center or business data feeds are targeted. + /// If opted in (false), the entire domain will be targeted. This field can + /// only be set for Performance Max campaigns, where the default value is + /// false. #[prost(bool, optional, tag="72")] pub url_expansion_opt_out: ::core::option::Option, - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created via BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created via BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[prost(oneof="campaign::CampaignBiddingStrategy", tags="67, 49, 24, 25, 37, 30, 31, 26, 48, 29, 27, 34, 41")] pub campaign_bidding_strategy: ::core::option::Option, } /// Nested message and enum types in `Campaign`. pub mod campaign { - /// The network settings for the campaign. + /// The network settings for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkSettings { - /// Whether ads will be served with google.com search results. + /// Whether ads will be served with google.com search results. #[prost(bool, optional, tag="5")] pub target_google_search: ::core::option::Option, - /// Whether ads will be served on partner sites in the Google Search Network - /// (requires `target_google_search` to also be `true`). + /// Whether ads will be served on partner sites in the Google Search Network + /// (requires `target_google_search` to also be `true`). #[prost(bool, optional, tag="6")] pub target_search_network: ::core::option::Option, - /// Whether ads will be served on specified placements in the Google Display - /// Network. Placements are specified using the Placement criterion. + /// Whether ads will be served on specified placements in the Google Display + /// Network. Placements are specified using the Placement criterion. #[prost(bool, optional, tag="7")] pub target_content_network: ::core::option::Option, - /// Whether ads will be served on the Google Partner Network. - /// This is available only to some select Google partner accounts. + /// Whether ads will be served on the Google Partner Network. + /// This is available only to some select Google partner accounts. #[prost(bool, optional, tag="8")] pub target_partner_search_network: ::core::option::Option, } - /// Campaign-level settings for hotel ads. + /// Campaign-level settings for hotel ads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelSettingInfo { - /// Immutable. The linked Hotel Center account. + /// Immutable. The linked Hotel Center account. #[prost(int64, optional, tag="2")] pub hotel_center_id: ::core::option::Option, } - /// The setting for controlling Dynamic Search Ads (DSA). + /// The setting for controlling Dynamic Search Ads (DSA). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSetting { - /// Required. The Internet domain name that this setting represents, e.g., "google.com" - /// or "www.google.com". + /// Required. The Internet domain name that this setting represents, e.g., "google.com" + /// or "www.google.com". #[prost(string, tag="6")] pub domain_name: ::prost::alloc::string::String, - /// Required. The language code specifying the language of the domain, e.g., "en". + /// Required. The language code specifying the language of the domain, e.g., "en". #[prost(string, tag="7")] pub language_code: ::prost::alloc::string::String, - /// Whether the campaign uses advertiser supplied URLs exclusively. + /// Whether the campaign uses advertiser supplied URLs exclusively. #[prost(bool, optional, tag="8")] pub use_supplied_urls_only: ::core::option::Option, - /// The list of page feeds associated with the campaign. + /// The list of page feeds associated with the campaign. #[prost(string, repeated, tag="9")] pub feeds: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Optimization goal setting for this campaign, which includes a set of - /// optimization goal types. + /// Optimization goal setting for this campaign, which includes a set of + /// optimization goal types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizationGoalSetting { - /// The list of optimization goal types. + /// The list of optimization goal types. #[prost(enumeration="super::super::enums::optimization_goal_type_enum::OptimizationGoalType", repeated, tag="1")] pub optimization_goal_types: ::prost::alloc::vec::Vec, } - /// The setting for Shopping campaigns. Defines the universe of products that - /// can be advertised by the campaign, and how this campaign interacts with - /// other Shopping campaigns. + /// The setting for Shopping campaigns. Defines the universe of products that + /// can be advertised by the campaign, and how this campaign interacts with + /// other Shopping campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingSetting { - /// Immutable. ID of the Merchant Center account. - /// This field is required for create operations. This field is immutable for - /// Shopping campaigns. + /// Immutable. ID of the Merchant Center account. + /// This field is required for create operations. This field is immutable for + /// Shopping campaigns. #[prost(int64, optional, tag="5")] pub merchant_id: ::core::option::Option, - /// Sales country of products to include in the campaign. - /// This field is required for Shopping campaigns. - /// This field is optional for non-Shopping campaigns, but it must be equal - /// to 'ZZ' if set. + /// Sales country of products to include in the campaign. + /// This field is required for Shopping campaigns. + /// This field is optional for non-Shopping campaigns, but it must be equal + /// to 'ZZ' if set. #[prost(string, optional, tag="6")] pub sales_country: ::core::option::Option<::prost::alloc::string::String>, - /// Priority of the campaign. Campaigns with numerically higher priorities - /// take precedence over those with lower priorities. - /// This field is required for Shopping campaigns, with values between 0 and - /// 2, inclusive. - /// This field is optional for Smart Shopping campaigns, but must be equal to - /// 3 if set. + /// Priority of the campaign. Campaigns with numerically higher priorities + /// take precedence over those with lower priorities. + /// This field is required for Shopping campaigns, with values between 0 and + /// 2, inclusive. + /// This field is optional for Smart Shopping campaigns, but must be equal to + /// 3 if set. #[prost(int32, optional, tag="7")] pub campaign_priority: ::core::option::Option, - /// Whether to include local products. + /// Whether to include local products. #[prost(bool, optional, tag="8")] pub enable_local: ::core::option::Option, } - /// Campaign-level settings for tracking information. + /// Campaign-level settings for tracking information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrackingSetting { - /// Output only. The url used for dynamic tracking. + /// Output only. The url used for dynamic tracking. #[prost(string, optional, tag="2")] pub tracking_url: ::core::option::Option<::prost::alloc::string::String>, } - /// Represents a collection of settings related to ads geotargeting. + /// Represents a collection of settings related to ads geotargeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetTypeSetting { - /// The setting used for positive geotargeting in this particular campaign. + /// The setting used for positive geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::positive_geo_target_type_enum::PositiveGeoTargetType", tag="1")] pub positive_geo_target_type: i32, - /// The setting used for negative geotargeting in this particular campaign. + /// The setting used for negative geotargeting in this particular campaign. #[prost(enumeration="super::super::enums::negative_geo_target_type_enum::NegativeGeoTargetType", tag="2")] pub negative_geo_target_type: i32, } - /// Campaign setting for local campaigns. + /// Campaign setting for local campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalCampaignSetting { - /// The location source type for this local campaign. + /// The location source type for this local campaign. #[prost(enumeration="super::super::enums::location_source_type_enum::LocationSourceType", tag="1")] pub location_source_type: i32, } - /// Campaign-level settings for App Campaigns. + /// Campaign-level settings for App Campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppCampaignSetting { - /// Represents the goal which the bidding strategy of this app campaign - /// should optimize towards. + /// Represents the goal which the bidding strategy of this app campaign + /// should optimize towards. #[prost(enumeration="super::super::enums::app_campaign_bidding_strategy_goal_type_enum::AppCampaignBiddingStrategyGoalType", tag="1")] pub bidding_strategy_goal_type: i32, - /// Immutable. A string that uniquely identifies a mobile application. + /// Immutable. A string that uniquely identifies a mobile application. #[prost(string, optional, tag="4")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The application store that distributes this specific app. + /// Immutable. The application store that distributes this specific app. #[prost(enumeration="super::super::enums::app_campaign_app_store_enum::AppCampaignAppStore", tag="3")] pub app_store: i32, } - /// Describes how unbranded pharma ads will be displayed. + /// Describes how unbranded pharma ads will be displayed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VanityPharma { - /// The display mode for vanity pharma URLs. + /// The display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_display_url_mode_enum::VanityPharmaDisplayUrlMode", tag="1")] pub vanity_pharma_display_url_mode: i32, - /// The text that will be displayed in display URL of the text ad when - /// website description is the selected display mode for vanity pharma URLs. + /// The text that will be displayed in display URL of the text ad when + /// website description is the selected display mode for vanity pharma URLs. #[prost(enumeration="super::super::enums::vanity_pharma_text_enum::VanityPharmaText", tag="2")] pub vanity_pharma_text: i32, } - /// Selective optimization setting for this campaign, which includes a set of - /// conversion actions to optimize this campaign towards. + /// Selective optimization setting for this campaign, which includes a set of + /// conversion actions to optimize this campaign towards. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SelectiveOptimization { - /// The selected set of conversion actions for optimizing this campaign. + /// The selected set of conversion actions for optimizing this campaign. #[prost(string, repeated, tag="2")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// The bidding strategy for the campaign. + /// The bidding strategy for the campaign. /// - /// Must be either portfolio (created via BiddingStrategy service) or - /// standard, that is embedded into the campaign. + /// Must be either portfolio (created via BiddingStrategy service) or + /// standard, that is embedded into the campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CampaignBiddingStrategy { - /// Portfolio bidding strategy used by campaign. + /// Portfolio bidding strategy used by campaign. #[prost(string, tag="67")] BiddingStrategy(::prost::alloc::string::String), - /// Commission is an automatic bidding strategy in which the advertiser pays - /// a certain portion of the conversion value. + /// Commission is an automatic bidding strategy in which the advertiser pays + /// a certain portion of the conversion value. #[prost(message, tag="49")] Commission(super::super::common::Commission), - /// Standard Manual CPC bidding strategy. - /// Manual click-based bidding where user pays per click. + /// Standard Manual CPC bidding strategy. + /// Manual click-based bidding where user pays per click. #[prost(message, tag="24")] ManualCpc(super::super::common::ManualCpc), - /// Standard Manual CPM bidding strategy. - /// Manual impression-based bidding where user pays per thousand - /// impressions. + /// Standard Manual CPM bidding strategy. + /// Manual impression-based bidding where user pays per thousand + /// impressions. #[prost(message, tag="25")] ManualCpm(super::super::common::ManualCpm), - /// Output only. A bidding strategy that pays a configurable amount per video view. + /// Output only. A bidding strategy that pays a configurable amount per video view. #[prost(message, tag="37")] ManualCpv(super::super::common::ManualCpv), - /// Standard Maximize Conversions bidding strategy that automatically - /// maximizes number of conversions while spending your budget. + /// Standard Maximize Conversions bidding strategy that automatically + /// maximizes number of conversions while spending your budget. #[prost(message, tag="30")] MaximizeConversions(super::super::common::MaximizeConversions), - /// Standard Maximize Conversion Value bidding strategy that automatically - /// sets bids to maximize revenue while spending your budget. + /// Standard Maximize Conversion Value bidding strategy that automatically + /// sets bids to maximize revenue while spending your budget. #[prost(message, tag="31")] MaximizeConversionValue(super::super::common::MaximizeConversionValue), - /// Standard Target CPA bidding strategy that automatically sets bids to - /// help get as many conversions as possible at the target - /// cost-per-acquisition (CPA) you set. + /// Standard Target CPA bidding strategy that automatically sets bids to + /// help get as many conversions as possible at the target + /// cost-per-acquisition (CPA) you set. #[prost(message, tag="26")] TargetCpa(super::super::common::TargetCpa), - /// Target Impression Share bidding strategy. An automated bidding strategy - /// that sets bids to achieve a desired percentage of impressions. + /// Target Impression Share bidding strategy. An automated bidding strategy + /// that sets bids to achieve a desired percentage of impressions. #[prost(message, tag="48")] TargetImpressionShare(super::super::common::TargetImpressionShare), - /// Standard Target ROAS bidding strategy that automatically maximizes - /// revenue while averaging a specific target return on ad spend (ROAS). + /// Standard Target ROAS bidding strategy that automatically maximizes + /// revenue while averaging a specific target return on ad spend (ROAS). #[prost(message, tag="29")] TargetRoas(super::super::common::TargetRoas), - /// Standard Target Spend bidding strategy that automatically sets your bids - /// to help get as many clicks as possible within your budget. + /// Standard Target Spend bidding strategy that automatically sets your bids + /// to help get as many clicks as possible within your budget. #[prost(message, tag="27")] TargetSpend(super::super::common::TargetSpend), - /// Standard Percent Cpc bidding strategy where bids are a fraction of the - /// advertised price for some good or service. + /// Standard Percent Cpc bidding strategy where bids are a fraction of the + /// advertised price for some good or service. #[prost(message, tag="34")] PercentCpc(super::super::common::PercentCpc), - /// A bidding strategy that automatically optimizes cost per thousand - /// impressions. + /// A bidding strategy that automatically optimizes cost per thousand + /// impressions. #[prost(message, tag="41")] TargetCpm(super::super::common::TargetCpm), } } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// A link between a Campaign and an Asset. +/// A link between a Campaign and an Asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAsset { - /// Immutable. The resource name of the campaign asset. - /// CampaignAsset resource names have the form: + /// Immutable. The resource name of the campaign asset. + /// CampaignAsset resource names have the form: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the asset is linked. + /// Immutable. The campaign to which the asset is linked. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The asset which is linked to the campaign. + /// Immutable. The asset which is linked to the campaign. #[prost(string, optional, tag="7")] pub asset: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Role that the asset takes under the linked campaign. - /// Required. + /// Immutable. Role that the asset takes under the linked campaign. + /// Required. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="4")] pub field_type: i32, - /// Status of the campaign asset. + /// Status of the campaign asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the CampaignAsset resource. +// Proto file describing the CampaignAsset resource. -/// CampaignAssetSet is the linkage between a campaign and an asset set. -/// Adding a CampaignAssetSet links an asset set with a campaign. +/// CampaignAssetSet is the linkage between a campaign and an asset set. +/// Adding a CampaignAssetSet links an asset set with a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSet { - /// Immutable. The resource name of the campaign asset set. - /// Asset set asset resource names have the form: + /// Immutable. The resource name of the campaign asset set. + /// Asset set asset resource names have the form: /// - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which this asset set is linked. + /// Immutable. The campaign to which this asset set is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Immutable. The asset set which is linked to the campaign. + /// Immutable. The asset set which is linked to the campaign. #[prost(string, tag="3")] pub asset_set: ::prost::alloc::string::String, - /// Output only. The status of the campaign asset set asset. Read-only. + /// Output only. The status of the campaign asset set asset. Read-only. #[prost(enumeration="super::enums::asset_set_link_status_enum::AssetSetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the campaign audience view resource. +// Proto file describing the campaign audience view resource. -/// A campaign audience view. -/// Includes performance data from interests and remarketing lists for Display -/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), -/// aggregated by campaign and audience criterion. This view only includes -/// audiences attached at the campaign level. +/// A campaign audience view. +/// Includes performance data from interests and remarketing lists for Display +/// Network and YouTube Network ads, and remarketing lists for search ads (RLSA), +/// aggregated by campaign and audience criterion. This view only includes +/// audiences attached at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAudienceView { - /// Output only. The resource name of the campaign audience view. - /// Campaign audience view resource names have the form: + /// Output only. The resource name of the campaign audience view. + /// Campaign audience view resource names have the form: /// - /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignAudienceViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Campaign Bid Modifier resource. +// Proto file describing the Campaign Bid Modifier resource. -/// Represents a bid-modifiable only criterion at the campaign level. +/// Represents a bid-modifiable only criterion at the campaign level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifier { - /// Immutable. The resource name of the campaign bid modifier. - /// Campaign bid modifier resource names have the form: + /// Immutable. The resource name of the campaign bid modifier. + /// Campaign bid modifier resource names have the form: /// - /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which this criterion belongs. + /// Output only. The campaign to which this criterion belongs. #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion to bid modify. + /// Output only. The ID of the criterion to bid modify. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="7")] pub criterion_id: ::core::option::Option, - /// The modifier for the bid when the criterion matches. + /// The modifier for the bid when the criterion matches. #[prost(double, optional, tag="8")] pub bid_modifier: ::core::option::Option, - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[prost(oneof="campaign_bid_modifier::Criterion", tags="5")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifier`. pub mod campaign_bid_modifier { - /// The criterion of this campaign bid modifier. + /// The criterion of this campaign bid modifier. /// - /// Required in create operations starting in V5. + /// Required in create operations starting in V5. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Criterion for interaction type. Only supported for search campaigns. + /// Immutable. Criterion for interaction type. Only supported for search campaigns. #[prost(message, tag="5")] InteractionType(super::super::common::InteractionTypeInfo), } } -// Proto file describing the Budget resource. +// Proto file describing the Budget resource. -/// A campaign budget. +/// A campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudget { - /// Immutable. The resource name of the campaign budget. - /// Campaign budget resource names have the form: + /// Immutable. The resource name of the campaign budget. + /// Campaign budget resource names have the form: /// - /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` + /// `customers/{customer_id}/campaignBudgets/{campaign_budget_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign budget. + /// Output only. The ID of the campaign budget. /// - /// A campaign budget is created using the CampaignBudgetService create - /// operation and is assigned a budget ID. A budget ID can be shared across - /// different campaigns; the system will then allocate the campaign budget - /// among different campaigns to get optimum results. + /// A campaign budget is created using the CampaignBudgetService create + /// operation and is assigned a budget ID. A budget ID can be shared across + /// different campaigns; the system will then allocate the campaign budget + /// among different campaigns to get optimum results. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// The name of the campaign budget. + /// The name of the campaign budget. /// - /// When creating a campaign budget through CampaignBudgetService, every - /// explicitly shared campaign budget must have a non-null, non-empty name. - /// Campaign budgets that are not explicitly shared derive their name from the - /// attached campaign's name. + /// When creating a campaign budget through CampaignBudgetService, every + /// explicitly shared campaign budget must have a non-null, non-empty name. + /// Campaign budgets that are not explicitly shared derive their name from the + /// attached campaign's name. /// - /// The length of this string must be between 1 and 255, inclusive, - /// in UTF-8 bytes, (trimmed). + /// The length of this string must be between 1 and 255, inclusive, + /// in UTF-8 bytes, (trimmed). #[prost(string, optional, tag="20")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. Monthly spend is capped at 30.4 times this amount. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. Monthly spend is capped at 30.4 times this amount. #[prost(int64, optional, tag="21")] pub amount_micros: ::core::option::Option, - /// The lifetime amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The lifetime amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="22")] pub total_amount_micros: ::core::option::Option, - /// Output only. The status of this campaign budget. This field is read-only. + /// Output only. The status of this campaign budget. This field is read-only. #[prost(enumeration="super::enums::budget_status_enum::BudgetStatus", tag="6")] pub status: i32, - /// The delivery method that determines the rate at which the campaign budget - /// is spent. + /// The delivery method that determines the rate at which the campaign budget + /// is spent. /// - /// Defaults to STANDARD if unspecified in a create operation. + /// Defaults to STANDARD if unspecified in a create operation. #[prost(enumeration="super::enums::budget_delivery_method_enum::BudgetDeliveryMethod", tag="7")] pub delivery_method: i32, - /// Specifies whether the budget is explicitly shared. Defaults to true if - /// unspecified in a create operation. + /// Specifies whether the budget is explicitly shared. Defaults to true if + /// unspecified in a create operation. /// - /// If true, the budget was created with the purpose of sharing - /// across one or more campaigns. + /// If true, the budget was created with the purpose of sharing + /// across one or more campaigns. /// - /// If false, the budget was created with the intention of only being used - /// with a single campaign. The budget's name and status will stay in sync - /// with the campaign's name and status. Attempting to share the budget with a - /// second campaign will result in an error. + /// If false, the budget was created with the intention of only being used + /// with a single campaign. The budget's name and status will stay in sync + /// with the campaign's name and status. Attempting to share the budget with a + /// second campaign will result in an error. /// - /// A non-shared budget can become an explicitly shared. The same operation - /// must also assign the budget a name. + /// A non-shared budget can become an explicitly shared. The same operation + /// must also assign the budget a name. /// - /// A shared campaign budget can never become non-shared. + /// A shared campaign budget can never become non-shared. #[prost(bool, optional, tag="23")] pub explicitly_shared: ::core::option::Option, - /// Output only. The number of campaigns actively using the budget. + /// Output only. The number of campaigns actively using the budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="24")] pub reference_count: ::core::option::Option, - /// Output only. Indicates whether there is a recommended budget for this campaign budget. + /// Output only. Indicates whether there is a recommended budget for this campaign budget. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="25")] pub has_recommended_budget: ::core::option::Option, - /// Output only. The recommended budget amount. If no recommendation is available, this will - /// be set to the budget amount. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The recommended budget amount. If no recommendation is available, this will + /// be set to the budget amount. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="26")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. + /// Immutable. Period over which to spend the budget. Defaults to DAILY if not specified. #[prost(enumeration="super::enums::budget_period_enum::BudgetPeriod", tag="13")] pub period: i32, - /// Output only. The estimated change in weekly clicks if the recommended budget is applied. + /// Output only. The estimated change in weekly clicks if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="27")] pub recommended_budget_estimated_change_weekly_clicks: ::core::option::Option, - /// Output only. The estimated change in weekly cost in micros if the recommended budget is - /// applied. One million is equivalent to one currency unit. + /// Output only. The estimated change in weekly cost in micros if the recommended budget is + /// applied. One million is equivalent to one currency unit. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="28")] pub recommended_budget_estimated_change_weekly_cost_micros: ::core::option::Option, - /// Output only. The estimated change in weekly interactions if the recommended budget is - /// applied. + /// Output only. The estimated change in weekly interactions if the recommended budget is + /// applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="29")] pub recommended_budget_estimated_change_weekly_interactions: ::core::option::Option, - /// Output only. The estimated change in weekly views if the recommended budget is applied. + /// Output only. The estimated change in weekly views if the recommended budget is applied. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="30")] pub recommended_budget_estimated_change_weekly_views: ::core::option::Option, - /// Immutable. The type of the campaign budget. + /// Immutable. The type of the campaign budget. #[prost(enumeration="super::enums::budget_type_enum::BudgetType", tag="18")] pub r#type: i32, } -/// The biddability setting for the specified campaign only for all -/// conversion actions with a matching category and origin. +/// The biddability setting for the specified campaign only for all +/// conversion actions with a matching category and origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoal { - /// Immutable. The resource name of the campaign conversion goal. - /// Campaign conversion goal resource names have the form: + /// Immutable. The resource name of the campaign conversion goal. + /// Campaign conversion goal resource names have the form: /// - /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` + /// `customers/{customer_id}/campaignConversionGoals/{campaign_id}~{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this campaign conversion goal is associated. + /// Immutable. The campaign with which this campaign conversion goal is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The conversion category of this campaign conversion goal. + /// The conversion category of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="3")] pub category: i32, - /// The conversion origin of this campaign conversion goal. + /// The conversion origin of this campaign conversion goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="4")] pub origin: i32, - /// The biddability of the campaign conversion goal. + /// The biddability of the campaign conversion goal. #[prost(bool, tag="5")] pub biddable: bool, } -// Proto file describing the Campaign Criterion resource. +// Proto file describing the Campaign Criterion resource. -/// A campaign criterion. +/// A campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterion { - /// Immutable. The resource name of the campaign criterion. - /// Campaign criterion resource names have the form: + /// Immutable. The resource name of the campaign criterion. + /// Campaign criterion resource names have the form: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the criterion belongs. + /// Immutable. The campaign to which the criterion belongs. #[prost(string, optional, tag="37")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored during mutate. + /// This field is ignored during mutate. #[prost(int64, optional, tag="38")] pub criterion_id: ::core::option::Option, - /// Output only. The display name of the criterion. + /// Output only. The display name of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(string, tag="43")] pub display_name: ::prost::alloc::string::String, - /// The modifier for the bids when the criterion matches. The modifier must be - /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. - /// Use 0 to opt out of a Device type. + /// The modifier for the bids when the criterion matches. The modifier must be + /// in the range: 0.1 - 10.0. Most targetable criteria types support modifiers. + /// Use 0 to opt out of a Device type. #[prost(float, optional, tag="39")] pub bid_modifier: ::core::option::Option, - /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. + /// Immutable. Whether to target (`false`) or exclude (`true`) the criterion. #[prost(bool, optional, tag="40")] pub negative: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="6")] pub r#type: i32, - /// The status of the criterion. + /// The status of the criterion. #[prost(enumeration="super::enums::campaign_criterion_status_enum::CampaignCriterionStatus", tag="35")] pub status: i32, - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="campaign_criterion::Criterion", tags="8, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 22, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 36, 41, 42, 45")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterion`. pub mod campaign_criterion { - /// The campaign criterion. + /// The campaign criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="8")] Keyword(super::super::common::KeywordInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="9")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile app category. + /// Immutable. Mobile app category. #[prost(message, tag="10")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="11")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. Location. + /// Immutable. Location. #[prost(message, tag="12")] Location(super::super::common::LocationInfo), - /// Immutable. Device. + /// Immutable. Device. #[prost(message, tag="13")] Device(super::super::common::DeviceInfo), - /// Immutable. Ad Schedule. + /// Immutable. Ad Schedule. #[prost(message, tag="15")] AdSchedule(super::super::common::AdScheduleInfo), - /// Immutable. Age range. + /// Immutable. Age range. #[prost(message, tag="16")] AgeRange(super::super::common::AgeRangeInfo), - /// Immutable. Gender. + /// Immutable. Gender. #[prost(message, tag="17")] Gender(super::super::common::GenderInfo), - /// Immutable. Income range. + /// Immutable. Income range. #[prost(message, tag="18")] IncomeRange(super::super::common::IncomeRangeInfo), - /// Immutable. Parental status. + /// Immutable. Parental status. #[prost(message, tag="19")] ParentalStatus(super::super::common::ParentalStatusInfo), - /// Immutable. User List. + /// Immutable. User List. #[prost(message, tag="22")] UserList(super::super::common::UserListInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="20")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="21")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Proximity. + /// Immutable. Proximity. #[prost(message, tag="23")] Proximity(super::super::common::ProximityInfo), - /// Immutable. Topic. + /// Immutable. Topic. #[prost(message, tag="24")] Topic(super::super::common::TopicInfo), - /// Immutable. Listing scope. + /// Immutable. Listing scope. #[prost(message, tag="25")] ListingScope(super::super::common::ListingScopeInfo), - /// Immutable. Language. + /// Immutable. Language. #[prost(message, tag="26")] Language(super::super::common::LanguageInfo), - /// Immutable. IpBlock. + /// Immutable. IpBlock. #[prost(message, tag="27")] IpBlock(super::super::common::IpBlockInfo), - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="28")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. Carrier. + /// Immutable. Carrier. #[prost(message, tag="29")] Carrier(super::super::common::CarrierInfo), - /// Immutable. User Interest. + /// Immutable. User Interest. #[prost(message, tag="30")] UserInterest(super::super::common::UserInterestInfo), - /// Immutable. Webpage. + /// Immutable. Webpage. #[prost(message, tag="31")] Webpage(super::super::common::WebpageInfo), - /// Immutable. Operating system version. + /// Immutable. Operating system version. #[prost(message, tag="32")] OperatingSystemVersion(super::super::common::OperatingSystemVersionInfo), - /// Immutable. Mobile Device. + /// Immutable. Mobile Device. #[prost(message, tag="33")] MobileDevice(super::super::common::MobileDeviceInfo), - /// Immutable. Location Group + /// Immutable. Location Group #[prost(message, tag="34")] LocationGroup(super::super::common::LocationGroupInfo), - /// Immutable. Custom Affinity. + /// Immutable. Custom Affinity. #[prost(message, tag="36")] CustomAffinity(super::super::common::CustomAffinityInfo), - /// Immutable. Custom Audience + /// Immutable. Custom Audience #[prost(message, tag="41")] CustomAudience(super::super::common::CustomAudienceInfo), - /// Immutable. Combined Audience. + /// Immutable. Combined Audience. #[prost(message, tag="42")] CombinedAudience(super::super::common::CombinedAudienceInfo), - /// Immutable. Smart Campaign Keyword Theme. + /// Immutable. Smart Campaign Keyword Theme. #[prost(message, tag="45")] KeywordTheme(super::super::common::KeywordThemeInfo), } } -// Proto file describing the campaign criterion simulation resource. +// Proto file describing the campaign criterion simulation resource. -/// A campaign criterion simulation. Supported combinations of advertising -/// channel type, criterion ids, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign criterion simulation. Supported combinations of advertising +/// channel type, criterion ids, simulation type and simulation modification +/// method is detailed below respectively. /// -/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM -/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM +/// 1. SEARCH - 30000,30001,30002 - BID_MODIFIER - UNIFORM +/// 2. DISPLAY - 30001 - BID_MODIFIER - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionSimulation { - /// Output only. The resource name of the campaign criterion simulation. - /// Campaign criterion simulation resource names have the form: + /// Output only. The resource name of the campaign criterion simulation. + /// Campaign criterion simulation resource names have the form: /// - /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignCriterionSimulations/{campaign_id}~{criterion_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign ID of the simulation. + /// Output only. Campaign ID of the simulation. #[prost(int64, optional, tag="9")] pub campaign_id: ::core::option::Option, - /// Output only. Criterion ID of the simulation. + /// Output only. Criterion ID of the simulation. #[prost(int64, optional, tag="10")] pub criterion_id: ::core::option::Option, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="4")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="5")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="11")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, optional, tag="12")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_criterion_simulation::PointList", tags="8")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionSimulation`. pub mod campaign_criterion_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is BID_MODIFIER. + /// Output only. Simulation points if the simulation type is BID_MODIFIER. #[prost(message, tag="8")] BidModifierPointList(super::super::common::BidModifierSimulationPointList), } } -/// A customizer value for the associated CustomizerAttribute at the Campaign -/// level. +/// A customizer value for the associated CustomizerAttribute at the Campaign +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizer { - /// Immutable. The resource name of the campaign customizer. - /// Campaign customizer resource names have the form: + /// Immutable. The resource name of the campaign customizer. + /// Campaign customizer resource names have the form: /// - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the customizer attribute is linked. + /// Immutable. The campaign to which the customizer attribute is linked. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the campaign. + /// Required. Immutable. The customizer attribute which is linked to the campaign. #[prost(string, tag="3")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the campaign customizer. + /// Output only. The status of the campaign customizer. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="4")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="5")] pub value: ::core::option::Option, } -// Proto file describing the Campaign Draft resource. +// Proto file describing the Campaign Draft resource. -/// A campaign draft. +/// A campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraft { - /// Immutable. The resource name of the campaign draft. - /// Campaign draft resource names have the form: + /// Immutable. The resource name of the campaign draft. + /// Campaign draft resource names have the form: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the draft. + /// Output only. The ID of the draft. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="9")] pub draft_id: ::core::option::Option, - /// Immutable. The base campaign to which the draft belongs. + /// Immutable. The base campaign to which the draft belongs. #[prost(string, optional, tag="10")] pub base_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign draft. + /// The name of the campaign draft. /// - /// This field is required and should not be empty when creating new - /// campaign drafts. + /// This field is required and should not be empty when creating new + /// campaign drafts. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the Campaign that results from overlaying the draft - /// changes onto the base campaign. + /// Output only. Resource name of the Campaign that results from overlaying the draft + /// changes onto the base campaign. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub draft_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign draft. This field is read-only. + /// Output only. The status of the campaign draft. This field is read-only. /// - /// When a new campaign draft is added, the status defaults to PROPOSED. + /// When a new campaign draft is added, the status defaults to PROPOSED. #[prost(enumeration="super::enums::campaign_draft_status_enum::CampaignDraftStatus", tag="6")] pub status: i32, - /// Output only. Whether there is an experiment based on this draft currently serving. + /// Output only. Whether there is an experiment based on this draft currently serving. #[prost(bool, optional, tag="13")] pub has_experiment_running: ::core::option::Option, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of draft promotion. This is only set if the draft promotion - /// is in progress or finished. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of draft promotion. This is only set if the draft promotion + /// is in progress or finished. #[prost(string, optional, tag="14")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Campaign Experiment resource. +// Proto file describing the Campaign Experiment resource. -/// An A/B experiment that compares the performance of the base campaign -/// (the control) and a variation of that campaign (the experiment). +/// An A/B experiment that compares the performance of the base campaign +/// (the control) and a variation of that campaign (the experiment). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperiment { - /// Immutable. The resource name of the campaign experiment. - /// Campaign experiment resource names have the form: + /// Immutable. The resource name of the campaign experiment. + /// Campaign experiment resource names have the form: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the campaign experiment. + /// Output only. The ID of the campaign experiment. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="13")] pub id: ::core::option::Option, - /// Immutable. The campaign draft with staged changes to the base campaign. + /// Immutable. The campaign draft with staged changes to the base campaign. #[prost(string, optional, tag="14")] pub campaign_draft: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the campaign experiment. + /// The name of the campaign experiment. /// - /// This field is required when creating new campaign experiments - /// and must not conflict with the name of another non-removed - /// campaign experiment or campaign. + /// This field is required when creating new campaign experiments + /// and must not conflict with the name of another non-removed + /// campaign experiment or campaign. /// - /// It must not contain any null (code point 0x0), NL line feed - /// (code point 0xA) or carriage return (code point 0xD) characters. + /// It must not contain any null (code point 0x0), NL line feed + /// (code point 0xA) or carriage return (code point 0xD) characters. #[prost(string, optional, tag="15")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The description of the experiment. + /// The description of the experiment. #[prost(string, optional, tag="16")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and - /// 99 inclusive. Base campaign receives the remainder of the traffic - /// (100 - traffic_split_percent). Required for create. + /// Immutable. Share of traffic directed to experiment as a percent (must be between 1 and + /// 99 inclusive. Base campaign receives the remainder of the traffic + /// (100 - traffic_split_percent). Required for create. #[prost(int64, optional, tag="17")] pub traffic_split_percent: ::core::option::Option, - /// Immutable. Determines the behavior of the traffic split. + /// Immutable. Determines the behavior of the traffic split. #[prost(enumeration="super::enums::campaign_experiment_traffic_split_type_enum::CampaignExperimentTrafficSplitType", tag="7")] pub traffic_split_type: i32, - /// Output only. The experiment campaign, as opposed to the base campaign. + /// Output only. The experiment campaign, as opposed to the base campaign. #[prost(string, optional, tag="18")] pub experiment_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of the campaign experiment. This field is read-only. + /// Output only. The status of the campaign experiment. This field is read-only. #[prost(enumeration="super::enums::campaign_experiment_status_enum::CampaignExperimentStatus", tag="9")] pub status: i32, - /// Output only. The resource name of the long-running operation that can be used to poll - /// for completion of experiment create or promote. The most recent long - /// running operation is returned. + /// Output only. The resource name of the long-running operation that can be used to poll + /// for completion of experiment create or promote. The most recent long + /// running operation is returned. #[prost(string, optional, tag="19")] pub long_running_operation: ::core::option::Option<::prost::alloc::string::String>, - /// Date when the campaign experiment starts. By default, the experiment starts - /// now or on the campaign's start date, whichever is later. If this field is - /// set, then the experiment starts at the beginning of the specified date in - /// the customer's time zone. Cannot be changed once the experiment starts. + /// Date when the campaign experiment starts. By default, the experiment starts + /// now or on the campaign's start date, whichever is later. If this field is + /// set, then the experiment starts at the beginning of the specified date in + /// the customer's time zone. Cannot be changed once the experiment starts. /// - /// Format: YYYY-MM-DD - /// Example: 2019-03-14 + /// Format: YYYY-MM-DD + /// Example: 2019-03-14 #[prost(string, optional, tag="20")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The last day of the campaign experiment. By default, the experiment ends on - /// the campaign's end date. If this field is set, then the experiment ends at - /// the end of the specified date in the customer's time zone. + /// The last day of the campaign experiment. By default, the experiment ends on + /// the campaign's end date. If this field is set, then the experiment ends at + /// the end of the specified date in the customer's time zone. /// - /// Format: YYYY-MM-DD - /// Example: 2019-04-18 + /// Format: YYYY-MM-DD + /// Example: 2019-04-18 #[prost(string, optional, tag="21")] pub end_date: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignExtensionSetting resource. +// Proto file describing the CampaignExtensionSetting resource. -/// A campaign extension setting. +/// A campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSetting { - /// Immutable. The resource name of the campaign extension setting. - /// CampaignExtensionSetting resource names have the form: + /// Immutable. The resource name of the campaign extension setting. + /// CampaignExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// Immutable. The resource name of the campaign. The linked extension feed items will - /// serve under this campaign. - /// Campaign resource names have the form: + /// Immutable. The resource name of the campaign. The linked extension feed items will + /// serve under this campaign. + /// Campaign resource names have the form: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, optional, tag="6")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the extension feed items to serve under the campaign. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the campaign. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="7")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="5")] pub device: i32, } -// Proto file describing the CampaignFeed resource. +// Proto file describing the CampaignFeed resource. -/// A campaign feed. +/// A campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeed { - /// Immutable. The resource name of the campaign feed. - /// Campaign feed resource names have the form: + /// Immutable. The resource name of the campaign feed. + /// Campaign feed resource names have the form: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id} #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which the CampaignFeed belongs. + /// Immutable. The feed to which the CampaignFeed belongs. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The campaign to which the CampaignFeed belongs. + /// Immutable. The campaign to which the CampaignFeed belongs. #[prost(string, optional, tag="8")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// campaign. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// campaign. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="4")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CampaignFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CampaignFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="5")] pub matching_function: ::core::option::Option, - /// Output only. Status of the campaign feed. - /// This field is read-only. + /// Output only. Status of the campaign feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="6")] pub status: i32, } -// Proto file describing the campaign label resource. +// Proto file describing the campaign label resource. -/// Represents a relationship between a campaign and a label. +/// Represents a relationship between a campaign and a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabel { - /// Immutable. Name of the resource. - /// Campaign label resource names have the form: - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// Immutable. Name of the resource. + /// Campaign label resource names have the form: + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the label is attached. + /// Immutable. The campaign to which the label is attached. #[prost(string, optional, tag="4")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The label assigned to the campaign. + /// Immutable. The label assigned to the campaign. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CampaignSharedSet resource. +// Proto file describing the CampaignSharedSet resource. -/// CampaignSharedSets are used for managing the shared sets associated with a -/// campaign. +/// CampaignSharedSets are used for managing the shared sets associated with a +/// campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSet { - /// Immutable. The resource name of the campaign shared set. - /// Campaign shared set resource names have the form: + /// Immutable. The resource name of the campaign shared set. + /// Campaign shared set resource names have the form: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign to which the campaign shared set belongs. + /// Immutable. The campaign to which the campaign shared set belongs. #[prost(string, optional, tag="5")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The shared set associated with the campaign. This may be a negative keyword - /// shared set of another customer. This customer should be a manager of the - /// other customer, otherwise the campaign shared set will exist but have no - /// serving effect. Only negative keyword shared sets can be associated with - /// Shopping campaigns. Only negative placement shared sets can be associated - /// with Display mobile app campaigns. + /// Immutable. The shared set associated with the campaign. This may be a negative keyword + /// shared set of another customer. This customer should be a manager of the + /// other customer, otherwise the campaign shared set will exist but have no + /// serving effect. Only negative keyword shared sets can be associated with + /// Shopping campaigns. Only negative placement shared sets can be associated + /// with Display mobile app campaigns. #[prost(string, optional, tag="6")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this campaign shared set. Read only. + /// Output only. The status of this campaign shared set. Read only. #[prost(enumeration="super::enums::campaign_shared_set_status_enum::CampaignSharedSetStatus", tag="2")] pub status: i32, } -// Proto file describing the campaign simulation resource. +// Proto file describing the campaign simulation resource. -/// A campaign simulation. Supported combinations of advertising -/// channel type, simulation type and simulation modification -/// method is detailed below respectively. +/// A campaign simulation. Supported combinations of advertising +/// channel type, simulation type and simulation modification +/// method is detailed below respectively. /// -/// SEARCH - CPC_BID - UNIFORM -/// SEARCH - CPC_BID - SCALING -/// SEARCH - TARGET_CPA - UNIFORM -/// SEARCH - TARGET_CPA - SCALING -/// SEARCH - TARGET_ROAS - UNIFORM -/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM -/// SEARCH - BUDGET - UNIFORM -/// SHOPPING - BUDGET - UNIFORM -/// SHOPPING - TARGET_ROAS - UNIFORM -/// MULTIPLE - TARGET_CPA - UNIFORM -/// OWNED_AND_OPERATED - TARGET_CPA - DEFAULT -/// DISPLAY - TARGET_CPA - UNIFORM +/// SEARCH - CPC_BID - UNIFORM +/// SEARCH - CPC_BID - SCALING +/// SEARCH - TARGET_CPA - UNIFORM +/// SEARCH - TARGET_CPA - SCALING +/// SEARCH - TARGET_ROAS - UNIFORM +/// SEARCH - TARGET_IMPRESSION_SHARE - UNIFORM +/// SEARCH - BUDGET - UNIFORM +/// SHOPPING - BUDGET - UNIFORM +/// SHOPPING - TARGET_ROAS - UNIFORM +/// MULTIPLE - TARGET_CPA - UNIFORM +/// OWNED_AND_OPERATED - TARGET_CPA - DEFAULT +/// DISPLAY - TARGET_CPA - UNIFORM #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSimulation { - /// Output only. The resource name of the campaign simulation. - /// Campaign simulation resource names have the form: + /// Output only. The resource name of the campaign simulation. + /// Campaign simulation resource names have the form: /// - /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` + /// `customers/{customer_id}/campaignSimulations/{campaign_id}~{type}~{modification_method}~{start_date}~{end_date}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Campaign id of the simulation. + /// Output only. Campaign id of the simulation. #[prost(int64, tag="2")] pub campaign_id: i64, - /// Output only. The field that the simulation modifies. + /// Output only. The field that the simulation modifies. #[prost(enumeration="super::enums::simulation_type_enum::SimulationType", tag="3")] pub r#type: i32, - /// Output only. How the simulation modifies the field. + /// Output only. How the simulation modifies the field. #[prost(enumeration="super::enums::simulation_modification_method_enum::SimulationModificationMethod", tag="4")] pub modification_method: i32, - /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. + /// Output only. First day on which the simulation is based, in YYYY-MM-DD format. #[prost(string, tag="5")] pub start_date: ::prost::alloc::string::String, - /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format + /// Output only. Last day on which the simulation is based, in YYYY-MM-DD format #[prost(string, tag="6")] pub end_date: ::prost::alloc::string::String, - /// List of simulation points. + /// List of simulation points. #[prost(oneof="campaign_simulation::PointList", tags="7, 8, 9, 10, 11")] pub point_list: ::core::option::Option, } /// Nested message and enum types in `CampaignSimulation`. pub mod campaign_simulation { - /// List of simulation points. + /// List of simulation points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PointList { - /// Output only. Simulation points if the simulation type is CPC_BID. + /// Output only. Simulation points if the simulation type is CPC_BID. #[prost(message, tag="7")] CpcBidPointList(super::super::common::CpcBidSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_CPA. + /// Output only. Simulation points if the simulation type is TARGET_CPA. #[prost(message, tag="8")] TargetCpaPointList(super::super::common::TargetCpaSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_ROAS. + /// Output only. Simulation points if the simulation type is TARGET_ROAS. #[prost(message, tag="9")] TargetRoasPointList(super::super::common::TargetRoasSimulationPointList), - /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. + /// Output only. Simulation points if the simulation type is TARGET_IMPRESSION_SHARE. #[prost(message, tag="10")] TargetImpressionSharePointList(super::super::common::TargetImpressionShareSimulationPointList), - /// Output only. Simulation points if the simulation type is BUDGET. + /// Output only. Simulation points if the simulation type is BUDGET. #[prost(message, tag="11")] BudgetPointList(super::super::common::BudgetSimulationPointList), } } -// Proto file describing the Carrier constant resource. +// Proto file describing the Carrier constant resource. -/// A carrier criterion that can be used in campaign targeting. +/// A carrier criterion that can be used in campaign targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CarrierConstant { - /// Output only. The resource name of the carrier criterion. - /// Carrier criterion resource names have the form: + /// Output only. The resource name of the carrier criterion. + /// Carrier criterion resource names have the form: /// - /// `carrierConstants/{criterion_id}` + /// `carrierConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the carrier criterion. + /// Output only. The ID of the carrier criterion. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. The full name of the carrier in English. + /// Output only. The full name of the carrier in English. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The country code of the country where the carrier is located, e.g., "AR", - /// "FR", etc. + /// Output only. The country code of the country where the carrier is located, e.g., "AR", + /// "FR", etc. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerAsset resource. +// Proto file describing the CustomerAsset resource. -/// A link between a customer and an asset. +/// A link between a customer and an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAsset { - /// Immutable. The resource name of the customer asset. - /// CustomerAsset resource names have the form: + /// Immutable. The resource name of the customer asset. + /// CustomerAsset resource names have the form: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The asset which is linked to the customer. + /// Required. Immutable. The asset which is linked to the customer. #[prost(string, tag="2")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. Role that the asset takes for the customer link. + /// Required. Immutable. Role that the asset takes for the customer link. #[prost(enumeration="super::enums::asset_field_type_enum::AssetFieldType", tag="3")] pub field_type: i32, - /// Status of the customer asset. + /// Status of the customer asset. #[prost(enumeration="super::enums::asset_link_status_enum::AssetLinkStatus", tag="4")] pub status: i32, } -// Proto file describing the Feed resource. +// Proto file describing the Feed resource. -/// A feed. +/// A feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feed { - /// Immutable. The resource name of the feed. - /// Feed resource names have the form: + /// Immutable. The resource name of the feed. + /// Feed resource names have the form: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the feed. - /// This field is read-only. + /// Output only. The ID of the feed. + /// This field is read-only. #[prost(int64, optional, tag="11")] pub id: ::core::option::Option, - /// Immutable. Name of the feed. Required. + /// Immutable. Name of the feed. Required. #[prost(string, optional, tag="12")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The Feed's attributes. Required on CREATE, unless - /// system_feed_generation_data is provided, in which case Google Ads will - /// update the feed with the correct attributes. - /// Disallowed on UPDATE. Use attribute_operations to add new attributes. + /// The Feed's attributes. Required on CREATE, unless + /// system_feed_generation_data is provided, in which case Google Ads will + /// update the feed with the correct attributes. + /// Disallowed on UPDATE. Use attribute_operations to add new attributes. #[prost(message, repeated, tag="4")] pub attributes: ::prost::alloc::vec::Vec, - /// The list of operations changing the feed attributes. Attributes can only - /// be added, not removed. + /// The list of operations changing the feed attributes. Attributes can only + /// be added, not removed. #[prost(message, repeated, tag="9")] pub attribute_operations: ::prost::alloc::vec::Vec, - /// Immutable. Specifies who manages the FeedAttributes for the Feed. + /// Immutable. Specifies who manages the FeedAttributes for the Feed. #[prost(enumeration="super::enums::feed_origin_enum::FeedOrigin", tag="5")] pub origin: i32, - /// Output only. Status of the feed. - /// This field is read-only. + /// Output only. Status of the feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_status_enum::FeedStatus", tag="8")] pub status: i32, - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[prost(oneof="feed::SystemFeedGenerationData", tags="6, 7")] pub system_feed_generation_data: ::core::option::Option, } /// Nested message and enum types in `Feed`. pub mod feed { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlacesLocationFeedData { - /// Immutable. Required authentication token (from OAuth API) for the email. - /// This field can only be specified in a create request. All its subfields - /// are not selectable. + /// Immutable. Required authentication token (from OAuth API) for the email. + /// This field can only be specified in a create request. All its subfields + /// are not selectable. #[prost(message, optional, tag="1")] pub oauth_info: ::core::option::Option, - /// Email address of a Business Profile or email address of a - /// manager of the Business Profile. Required. + /// Email address of a Business Profile or email address of a + /// manager of the Business Profile. Required. #[prost(string, optional, tag="7")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Plus page ID of the managed business whose locations should be used. If - /// this field is not set, then all businesses accessible by the user - /// (specified by email_address) are used. - /// This field is mutate-only and is not selectable. + /// Plus page ID of the managed business whose locations should be used. If + /// this field is not set, then all businesses accessible by the user + /// (specified by email_address) are used. + /// This field is mutate-only and is not selectable. #[prost(string, tag="8")] pub business_account_id: ::prost::alloc::string::String, - /// Used to filter Business Profile listings by business name. If - /// business_name_filter is set, only listings with a matching business name - /// are candidates to be sync'd into FeedItems. + /// Used to filter Business Profile listings by business name. If + /// business_name_filter is set, only listings with a matching business name + /// are candidates to be sync'd into FeedItems. #[prost(string, optional, tag="9")] pub business_name_filter: ::core::option::Option<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by categories. If entries - /// exist in category_filters, only listings that belong to any of the - /// categories are candidates to be sync'd into FeedItems. If no entries - /// exist in category_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by categories. If entries + /// exist in category_filters, only listings that belong to any of the + /// categories are candidates to be sync'd into FeedItems. If no entries + /// exist in category_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="11")] pub category_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Used to filter Business Profile listings by labels. If entries exist in - /// label_filters, only listings that has any of the labels set are - /// candidates to be synchronized into FeedItems. If no entries exist in - /// label_filters, then all listings are candidates for syncing. + /// Used to filter Business Profile listings by labels. If entries exist in + /// label_filters, only listings that has any of the labels set are + /// candidates to be synchronized into FeedItems. If no entries exist in + /// label_filters, then all listings are candidates for syncing. #[prost(string, repeated, tag="12")] pub label_filters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `PlacesLocationFeedData`. pub mod places_location_feed_data { - /// Data used for authorization using OAuth. + /// Data used for authorization using OAuth. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OAuthInfo { - /// The HTTP method used to obtain authorization. + /// The HTTP method used to obtain authorization. #[prost(string, optional, tag="4")] pub http_method: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP request URL used to obtain authorization. + /// The HTTP request URL used to obtain authorization. #[prost(string, optional, tag="5")] pub http_request_url: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP authorization header used to obtain authorization. + /// The HTTP authorization header used to obtain authorization. #[prost(string, optional, tag="6")] pub http_authorization_header: ::core::option::Option<::prost::alloc::string::String>, } } - /// Data used to configure an affiliate location feed populated with the - /// specified chains. + /// Data used to configure an affiliate location feed populated with the + /// specified chains. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AffiliateLocationFeedData { - /// The list of chains that the affiliate location feed will sync the - /// locations from. + /// The list of chains that the affiliate location feed will sync the + /// locations from. #[prost(int64, repeated, tag="3")] pub chain_ids: ::prost::alloc::vec::Vec, - /// The relationship the chains have with the advertiser. + /// The relationship the chains have with the advertiser. #[prost(enumeration="super::super::enums::affiliate_location_feed_relationship_type_enum::AffiliateLocationFeedRelationshipType", tag="2")] pub relationship_type: i32, } - /// The system data for the Feed. This data specifies information for - /// generating the feed items of the system generated feed. + /// The system data for the Feed. This data specifies information for + /// generating the feed items of the system generated feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SystemFeedGenerationData { - /// Data used to configure a location feed populated from Business Profile. + /// Data used to configure a location feed populated from Business Profile. #[prost(message, tag="6")] PlacesLocationFeedData(PlacesLocationFeedData), - /// Data used to configure an affiliate location feed populated with - /// the specified chains. + /// Data used to configure an affiliate location feed populated with + /// the specified chains. #[prost(message, tag="7")] AffiliateLocationFeedData(AffiliateLocationFeedData), } } -/// FeedAttributes define the types of data expected to be present in a Feed. A -/// single FeedAttribute specifies the expected type of the FeedItemAttributes -/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as -/// being part of a FeedItem's unique key. +/// FeedAttributes define the types of data expected to be present in a Feed. A +/// single FeedAttribute specifies the expected type of the FeedItemAttributes +/// with the same FeedAttributeId. Optionally, a FeedAttribute can be marked as +/// being part of a FeedItem's unique key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttribute { - /// ID of the attribute. + /// ID of the attribute. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the attribute. Required. + /// The name of the attribute. Required. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Data type for feed attribute. Required. + /// Data type for feed attribute. Required. #[prost(enumeration="super::enums::feed_attribute_type_enum::FeedAttributeType", tag="3")] pub r#type: i32, - /// Indicates that data corresponding to this attribute is part of a - /// FeedItem's unique key. It defaults to false if it is unspecified. Note - /// that a unique key is not required in a Feed's schema, in which case the - /// FeedItems must be referenced by their feed_item_id. + /// Indicates that data corresponding to this attribute is part of a + /// FeedItem's unique key. It defaults to false if it is unspecified. Note + /// that a unique key is not required in a Feed's schema, in which case the + /// FeedItems must be referenced by their feed_item_id. #[prost(bool, optional, tag="7")] pub is_part_of_key: ::core::option::Option, } -/// Operation to be performed on a feed attribute list in a mutate. +/// Operation to be performed on a feed attribute list in a mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedAttributeOperation { - /// Output only. Type of list operation to perform. + /// Output only. Type of list operation to perform. #[prost(enumeration="feed_attribute_operation::Operator", tag="1")] pub operator: i32, - /// Output only. The feed attribute being added to the list. + /// Output only. The feed attribute being added to the list. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `FeedAttributeOperation`. pub mod feed_attribute_operation { - /// The operator. + /// The operator. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Used for return value only. Represents value unknown in this version. + /// Used for return value only. Represents value unknown in this version. Unknown = 1, - /// Add the attribute to the existing attributes. + /// Add the attribute to the existing attributes. Add = 2, } impl Operator { @@ -3933,3973 +3933,3973 @@ pub mod feed_attribute_operation { } } } -// Proto file describing the FeedItem resource. +// Proto file describing the FeedItem resource. -/// A feed item. +/// A feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItem { - /// Immutable. The resource name of the feed item. - /// Feed item resource names have the form: + /// Immutable. The resource name of the feed item. + /// Feed item resource names have the form: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed to which this feed item belongs. + /// Immutable. The feed to which this feed item belongs. #[prost(string, optional, tag="11")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of this feed item. + /// Output only. The ID of this feed item. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="13")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="14")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The feed item's attribute values. + /// The feed item's attribute values. #[prost(message, repeated, tag="6")] pub attribute_values: ::prost::alloc::vec::Vec, - /// Geo targeting restriction specifies the type of location that can be used - /// for targeting. + /// Geo targeting restriction specifies the type of location that can be used + /// for targeting. #[prost(enumeration="super::enums::geo_targeting_restriction_enum::GeoTargetingRestriction", tag="7")] pub geo_targeting_restriction: i32, - /// The list of mappings used to substitute custom parameter tags in a - /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. + /// The list of mappings used to substitute custom parameter tags in a + /// `tracking_url_template`, `final_urls`, or `mobile_final_urls`. #[prost(message, repeated, tag="8")] pub url_custom_parameters: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="9")] pub status: i32, - /// Output only. List of info about a feed item's validation and approval state for active - /// feed mappings. There will be an entry in the list for each type of feed - /// mapping associated with the feed, e.g. a feed with a sitelink and a call - /// feed mapping would cause every feed item associated with that feed to have - /// an entry in this list for both sitelink and call. - /// This field is read-only. + /// Output only. List of info about a feed item's validation and approval state for active + /// feed mappings. There will be an entry in the list for each type of feed + /// mapping associated with the feed, e.g. a feed with a sitelink and a call + /// feed mapping would cause every feed item associated with that feed to have + /// an entry in this list for both sitelink and call. + /// This field is read-only. #[prost(message, repeated, tag="10")] pub policy_infos: ::prost::alloc::vec::Vec, } -/// A feed item attribute value. +/// A feed item attribute value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemAttributeValue { - /// Id of the feed attribute for which the value is associated with. + /// Id of the feed attribute for which the value is associated with. #[prost(int64, optional, tag="11")] pub feed_attribute_id: ::core::option::Option, - /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute - /// of type INT64. + /// Int64 value. Should be set if feed_attribute_id refers to a feed attribute + /// of type INT64. #[prost(int64, optional, tag="12")] pub integer_value: ::core::option::Option, - /// Bool value. Should be set if feed_attribute_id refers to a feed attribute - /// of type BOOLEAN. + /// Bool value. Should be set if feed_attribute_id refers to a feed attribute + /// of type BOOLEAN. #[prost(bool, optional, tag="13")] pub boolean_value: ::core::option::Option, - /// String value. Should be set if feed_attribute_id refers to a feed attribute - /// of type STRING, URL or DATE_TIME. - /// For STRING the maximum length is 1500 characters. For URL the maximum - /// length is 2076 characters. For DATE_TIME the string must be in the format - /// "YYYYMMDD HHMMSS". + /// String value. Should be set if feed_attribute_id refers to a feed attribute + /// of type STRING, URL or DATE_TIME. + /// For STRING the maximum length is 1500 characters. For URL the maximum + /// length is 2076 characters. For DATE_TIME the string must be in the format + /// "YYYYMMDD HHMMSS". #[prost(string, optional, tag="14")] pub string_value: ::core::option::Option<::prost::alloc::string::String>, - /// Double value. Should be set if feed_attribute_id refers to a feed attribute - /// of type DOUBLE. + /// Double value. Should be set if feed_attribute_id refers to a feed attribute + /// of type DOUBLE. #[prost(double, optional, tag="15")] pub double_value: ::core::option::Option, - /// Price value. Should be set if feed_attribute_id refers to a feed attribute - /// of type PRICE. + /// Price value. Should be set if feed_attribute_id refers to a feed attribute + /// of type PRICE. #[prost(message, optional, tag="6")] pub price_value: ::core::option::Option, - /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed - /// attribute of type INT64_LIST. + /// Repeated int64 value. Should be set if feed_attribute_id refers to a feed + /// attribute of type INT64_LIST. #[prost(int64, repeated, tag="16")] pub integer_values: ::prost::alloc::vec::Vec, - /// Repeated bool value. Should be set if feed_attribute_id refers to a feed - /// attribute of type BOOLEAN_LIST. + /// Repeated bool value. Should be set if feed_attribute_id refers to a feed + /// attribute of type BOOLEAN_LIST. #[prost(bool, repeated, tag="17")] pub boolean_values: ::prost::alloc::vec::Vec, - /// Repeated string value. Should be set if feed_attribute_id refers to a feed - /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. - /// For STRING_LIST and URL_LIST the total size of the list in bytes may not - /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. - /// - /// For STRING_LIST the maximum length of each string element is 1500 - /// characters. For URL_LIST the maximum length is 2076 characters. For - /// DATE_TIME the format of the string must be the same as start and end time - /// for the feed item. + /// Repeated string value. Should be set if feed_attribute_id refers to a feed + /// attribute of type STRING_LIST, URL_LIST or DATE_TIME_LIST. + /// For STRING_LIST and URL_LIST the total size of the list in bytes may not + /// exceed 3000. For DATE_TIME_LIST the number of elements may not exceed 200. + /// + /// For STRING_LIST the maximum length of each string element is 1500 + /// characters. For URL_LIST the maximum length is 2076 characters. For + /// DATE_TIME the format of the string must be the same as start and end time + /// for the feed item. #[prost(string, repeated, tag="18")] pub string_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Repeated double value. Should be set if feed_attribute_id refers to a feed - /// attribute of type DOUBLE_LIST. + /// Repeated double value. Should be set if feed_attribute_id refers to a feed + /// attribute of type DOUBLE_LIST. #[prost(double, repeated, tag="19")] pub double_values: ::prost::alloc::vec::Vec, } -/// Policy, validation, and quality approval info for a feed item for the -/// specified placeholder type. +/// Policy, validation, and quality approval info for a feed item for the +/// specified placeholder type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemPlaceholderPolicyInfo { - /// Output only. The placeholder type. + /// Output only. The placeholder type. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="10")] pub placeholder_type_enum: i32, - /// Output only. The FeedMapping that contains the placeholder type. + /// Output only. The FeedMapping that contains the placeholder type. #[prost(string, optional, tag="11")] pub feed_mapping_resource_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Where the placeholder type is in the review process. + /// Output only. Where the placeholder type is in the review process. #[prost(enumeration="super::enums::policy_review_status_enum::PolicyReviewStatus", tag="3")] pub review_status: i32, - /// Output only. The overall approval status of the placeholder type, calculated based on - /// the status of its individual policy topic entries. + /// Output only. The overall approval status of the placeholder type, calculated based on + /// the status of its individual policy topic entries. #[prost(enumeration="super::enums::policy_approval_status_enum::PolicyApprovalStatus", tag="4")] pub approval_status: i32, - /// Output only. The list of policy findings for the placeholder type. + /// Output only. The list of policy findings for the placeholder type. #[prost(message, repeated, tag="5")] pub policy_topic_entries: ::prost::alloc::vec::Vec, - /// Output only. The validation status of the palceholder type. + /// Output only. The validation status of the palceholder type. #[prost(enumeration="super::enums::feed_item_validation_status_enum::FeedItemValidationStatus", tag="6")] pub validation_status: i32, - /// Output only. List of placeholder type validation errors. + /// Output only. List of placeholder type validation errors. #[prost(message, repeated, tag="7")] pub validation_errors: ::prost::alloc::vec::Vec, - /// Output only. Placeholder type quality evaluation approval status. + /// Output only. Placeholder type quality evaluation approval status. #[prost(enumeration="super::enums::feed_item_quality_approval_status_enum::FeedItemQualityApprovalStatus", tag="8")] pub quality_approval_status: i32, - /// Output only. List of placeholder type quality evaluation disapproval reasons. + /// Output only. List of placeholder type quality evaluation disapproval reasons. #[prost(enumeration="super::enums::feed_item_quality_disapproval_reason_enum::FeedItemQualityDisapprovalReason", repeated, packed="false", tag="9")] pub quality_disapproval_reasons: ::prost::alloc::vec::Vec, } -/// Stores a validation error and the set of offending feed attributes which -/// together are responsible for causing a feed item validation error. +/// Stores a validation error and the set of offending feed attributes which +/// together are responsible for causing a feed item validation error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemValidationError { - /// Output only. Error code indicating what validation error was triggered. The description - /// of the error can be found in the 'description' field. + /// Output only. Error code indicating what validation error was triggered. The description + /// of the error can be found in the 'description' field. #[prost(enumeration="super::errors::feed_item_validation_error_enum::FeedItemValidationError", tag="1")] pub validation_error: i32, - /// Output only. The description of the validation error. + /// Output only. The description of the validation error. #[prost(string, optional, tag="6")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Set of feed attributes in the feed item flagged during validation. If - /// empty, no specific feed attributes can be associated with the error - /// (e.g. error across the entire feed item). + /// Output only. Set of feed attributes in the feed item flagged during validation. If + /// empty, no specific feed attributes can be associated with the error + /// (e.g. error across the entire feed item). #[prost(int64, repeated, packed="false", tag="7")] pub feed_attribute_ids: ::prost::alloc::vec::Vec, - /// Output only. Any extra information related to this error which is not captured by - /// validation_error and feed_attribute_id (e.g. placeholder field IDs when - /// feed_attribute_id is not mapped). Note that extra_info is not localized. + /// Output only. Any extra information related to this error which is not captured by + /// validation_error and feed_attribute_id (e.g. placeholder field IDs when + /// feed_attribute_id is not mapped). Note that extra_info is not localized. #[prost(string, optional, tag="8")] pub extra_info: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Change Event resource. +// Proto file describing the Change Event resource. -/// Describes the granular change of returned resource of certain resource types. -/// Changes made through UI, API and new versions of Editor -/// by external users (including external users, and internal users that can be -/// shown externally) in the past 30 days will be shown. The change shows the old -/// values of the changed fields before the change and the new values right after -/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new -/// change. +/// Describes the granular change of returned resource of certain resource types. +/// Changes made through UI, API and new versions of Editor +/// by external users (including external users, and internal users that can be +/// shown externally) in the past 30 days will be shown. The change shows the old +/// values of the changed fields before the change and the new values right after +/// the change. ChangeEvent could have up to 3 minutes delay to reflect a new +/// change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeEvent { - /// Output only. The resource name of the change event. - /// Change event resource names have the form: + /// Output only. The resource name of the change event. + /// Change event resource names have the form: /// - /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` + /// `customers/{customer_id}/changeEvents/{timestamp_micros}~{command_index}~{mutate_index}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the change was committed on this resource. + /// Output only. Time at which the change was committed on this resource. #[prost(string, tag="2")] pub change_date_time: ::prost::alloc::string::String, - /// Output only. The type of the changed resource. This dictates what resource - /// will be set in old_resource and new_resource. + /// Output only. The type of the changed resource. This dictates what resource + /// will be set in old_resource and new_resource. #[prost(enumeration="super::enums::change_event_resource_type_enum::ChangeEventResourceType", tag="3")] pub change_resource_type: i32, - /// Output only. The Simply resource this change occurred on. + /// Output only. The Simply resource this change occurred on. #[prost(string, tag="4")] pub change_resource_name: ::prost::alloc::string::String, - /// Output only. Where the change was made through. + /// Output only. Where the change was made through. #[prost(enumeration="super::enums::change_client_type_enum::ChangeClientType", tag="5")] pub client_type: i32, - /// Output only. The email of the user who made this change. + /// Output only. The email of the user who made this change. #[prost(string, tag="6")] pub user_email: ::prost::alloc::string::String, - /// Output only. The old resource before the change. Only changed fields will be populated. + /// Output only. The old resource before the change. Only changed fields will be populated. #[prost(message, optional, tag="7")] pub old_resource: ::core::option::Option, - /// Output only. The new resource after the change. Only changed fields will be populated. + /// Output only. The new resource after the change. Only changed fields will be populated. #[prost(message, optional, tag="8")] pub new_resource: ::core::option::Option, - /// Output only. The operation on the changed resource. + /// Output only. The operation on the changed resource. #[prost(enumeration="super::enums::resource_change_operation_enum::ResourceChangeOperation", tag="9")] pub resource_change_operation: i32, - /// Output only. A list of fields that are changed in the returned resource. + /// Output only. A list of fields that are changed in the returned resource. #[prost(message, optional, tag="10")] pub changed_fields: ::core::option::Option<::prost_types::FieldMask>, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, tag="11")] pub campaign: ::prost::alloc::string::String, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, tag="12")] pub ad_group: ::prost::alloc::string::String, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, tag="13")] pub feed: ::prost::alloc::string::String, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, tag="14")] pub feed_item: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="20")] pub asset: ::prost::alloc::string::String, } /// Nested message and enum types in `ChangeEvent`. pub mod change_event { - /// A wrapper proto presenting all supported resources. - /// Only the resource of the change_resource_type will be set. + /// A wrapper proto presenting all supported resources. + /// Only the resource of the change_resource_type will be set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangedResource { - /// Output only. Set if change_resource_type == AD. + /// Output only. Set if change_resource_type == AD. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP. + /// Output only. Set if change_resource_type == AD_GROUP. #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. + /// Output only. Set if change_resource_type == AD_GROUP_CRITERION. #[prost(message, optional, tag="3")] pub ad_group_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN. + /// Output only. Set if change_resource_type == CAMPAIGN. #[prost(message, optional, tag="4")] pub campaign: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. + /// Output only. Set if change_resource_type == CAMPAIGN_BUDGET. #[prost(message, optional, tag="5")] pub campaign_budget: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. + /// Output only. Set if change_resource_type == AD_GROUP_BID_MODIFIER. #[prost(message, optional, tag="6")] pub ad_group_bid_modifier: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. + /// Output only. Set if change_resource_type == CAMPAIGN_CRITERION. #[prost(message, optional, tag="7")] pub campaign_criterion: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED. + /// Output only. Set if change_resource_type == FEED. #[prost(message, optional, tag="8")] pub feed: ::core::option::Option, - /// Output only. Set if change_resource_type == FEED_ITEM. + /// Output only. Set if change_resource_type == FEED_ITEM. #[prost(message, optional, tag="9")] pub feed_item: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_FEED. + /// Output only. Set if change_resource_type == CAMPAIGN_FEED. #[prost(message, optional, tag="10")] pub campaign_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_FEED. + /// Output only. Set if change_resource_type == AD_GROUP_FEED. #[prost(message, optional, tag="11")] pub ad_group_feed: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_AD. + /// Output only. Set if change_resource_type == AD_GROUP_AD. #[prost(message, optional, tag="12")] pub ad_group_ad: ::core::option::Option, - /// Output only. Set if change_resource_type == ASSET. + /// Output only. Set if change_resource_type == ASSET. #[prost(message, optional, tag="13")] pub asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CUSTOMER_ASSET. + /// Output only. Set if change_resource_type == CUSTOMER_ASSET. #[prost(message, optional, tag="14")] pub customer_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. + /// Output only. Set if change_resource_type == CAMPAIGN_ASSET. #[prost(message, optional, tag="15")] pub campaign_asset: ::core::option::Option, - /// Output only. Set if change_resource_type == AD_GROUP_ASSET. + /// Output only. Set if change_resource_type == AD_GROUP_ASSET. #[prost(message, optional, tag="16")] pub ad_group_asset: ::core::option::Option, } } -// Proto file describing the Change Status resource. +// Proto file describing the Change Status resource. -/// Describes the status of returned resource. ChangeStatus could have up to 3 -/// minutes delay to reflect a new change. +/// Describes the status of returned resource. ChangeStatus could have up to 3 +/// minutes delay to reflect a new change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeStatus { - /// Output only. The resource name of the change status. - /// Change status resource names have the form: + /// Output only. The resource name of the change status. + /// Change status resource names have the form: /// - /// `customers/{customer_id}/changeStatus/{change_status_id}` + /// `customers/{customer_id}/changeStatus/{change_status_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Time at which the most recent change has occurred on this resource. + /// Output only. Time at which the most recent change has occurred on this resource. #[prost(string, optional, tag="24")] pub last_change_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the type of the changed resource. This dictates what fields - /// will be set. For example, for AD_GROUP, campaign and ad_group fields will - /// be set. + /// Output only. Represents the type of the changed resource. This dictates what fields + /// will be set. For example, for AD_GROUP, campaign and ad_group fields will + /// be set. #[prost(enumeration="super::enums::change_status_resource_type_enum::ChangeStatusResourceType", tag="4")] pub resource_type: i32, - /// Output only. The Campaign affected by this change. + /// Output only. The Campaign affected by this change. #[prost(string, optional, tag="17")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroup affected by this change. + /// Output only. The AdGroup affected by this change. #[prost(string, optional, tag="18")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Represents the status of the changed resource. + /// Output only. Represents the status of the changed resource. #[prost(enumeration="super::enums::change_status_operation_enum::ChangeStatusOperation", tag="8")] pub resource_status: i32, - /// Output only. The AdGroupAd affected by this change. + /// Output only. The AdGroupAd affected by this change. #[prost(string, optional, tag="25")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupCriterion affected by this change. + /// Output only. The AdGroupCriterion affected by this change. #[prost(string, optional, tag="26")] pub ad_group_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignCriterion affected by this change. + /// Output only. The CampaignCriterion affected by this change. #[prost(string, optional, tag="27")] pub campaign_criterion: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Feed affected by this change. + /// Output only. The Feed affected by this change. #[prost(string, optional, tag="28")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The FeedItem affected by this change. + /// Output only. The FeedItem affected by this change. #[prost(string, optional, tag="29")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupFeed affected by this change. + /// Output only. The AdGroupFeed affected by this change. #[prost(string, optional, tag="30")] pub ad_group_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The CampaignFeed affected by this change. + /// Output only. The CampaignFeed affected by this change. #[prost(string, optional, tag="31")] pub campaign_feed: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The AdGroupBidModifier affected by this change. + /// Output only. The AdGroupBidModifier affected by this change. #[prost(string, optional, tag="32")] pub ad_group_bid_modifier: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The SharedSet affected by this change. + /// Output only. The SharedSet affected by this change. #[prost(string, tag="33")] pub shared_set: ::prost::alloc::string::String, - /// Output only. The CampaignSharedSet affected by this change. + /// Output only. The CampaignSharedSet affected by this change. #[prost(string, tag="34")] pub campaign_shared_set: ::prost::alloc::string::String, - /// Output only. The Asset affected by this change. + /// Output only. The Asset affected by this change. #[prost(string, tag="35")] pub asset: ::prost::alloc::string::String, - /// Output only. The CustomerAsset affected by this change. + /// Output only. The CustomerAsset affected by this change. #[prost(string, tag="36")] pub customer_asset: ::prost::alloc::string::String, - /// Output only. The CampaignAsset affected by this change. + /// Output only. The CampaignAsset affected by this change. #[prost(string, tag="37")] pub campaign_asset: ::prost::alloc::string::String, - /// Output only. The AdGroupAsset affected by this change. + /// Output only. The AdGroupAsset affected by this change. #[prost(string, tag="38")] pub ad_group_asset: ::prost::alloc::string::String, } -// Proto file describing the ClickView resource. +// Proto file describing the ClickView resource. -/// A click view with metrics aggregated at each click level, including both -/// valid and invalid clicks. For non-Search campaigns, metrics.clicks -/// represents the number of valid and invalid interactions. -/// Queries including ClickView must have a filter limiting the results to one -/// day and can be requested for dates back to 90 days before the time of the -/// request. +/// A click view with metrics aggregated at each click level, including both +/// valid and invalid clicks. For non-Search campaigns, metrics.clicks +/// represents the number of valid and invalid interactions. +/// Queries including ClickView must have a filter limiting the results to one +/// day and can be requested for dates back to 90 days before the time of the +/// request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickView { - /// Output only. The resource name of the click view. - /// Click view resource names have the form: + /// Output only. The resource name of the click view. + /// Click view resource names have the form: /// - /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` + /// `customers/{customer_id}/clickViews/{date (yyyy-MM-dd)}~{gclid}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The Google Click ID. + /// Output only. The Google Click ID. #[prost(string, optional, tag="8")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The location criteria matching the area of interest associated with the - /// impression. + /// Output only. The location criteria matching the area of interest associated with the + /// impression. #[prost(message, optional, tag="3")] pub area_of_interest: ::core::option::Option, - /// Output only. The location criteria matching the location of presence associated with the - /// impression. + /// Output only. The location criteria matching the location of presence associated with the + /// impression. #[prost(message, optional, tag="4")] pub location_of_presence: ::core::option::Option, - /// Output only. Page number in search results where the ad was shown. + /// Output only. Page number in search results where the ad was shown. #[prost(int64, optional, tag="9")] pub page_number: ::core::option::Option, - /// Output only. The associated ad. + /// Output only. The associated ad. #[prost(string, optional, tag="10")] pub ad_group_ad: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated campaign location target, if one exists. + /// Output only. The associated campaign location target, if one exists. #[prost(string, optional, tag="11")] pub campaign_location_target: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated user list, if one exists. + /// Output only. The associated user list, if one exists. #[prost(string, optional, tag="12")] pub user_list: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The associated keyword, if one exists and the click corresponds to the - /// SEARCH channel. + /// Output only. The associated keyword, if one exists and the click corresponds to the + /// SEARCH channel. #[prost(string, tag="13")] pub keyword: ::prost::alloc::string::String, - /// Output only. Basic information about the associated keyword, if it exists. + /// Output only. Basic information about the associated keyword, if it exists. #[prost(message, optional, tag="14")] pub keyword_info: ::core::option::Option, } -// Proto file describing the Combined Audience resource. +// Proto file describing the Combined Audience resource. -/// Describe a resource for combined audiences which includes different -/// audiences. +/// Describe a resource for combined audiences which includes different +/// audiences. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CombinedAudience { - /// Immutable. The resource name of the combined audience. - /// Combined audience names have the form: + /// Immutable. The resource name of the combined audience. + /// Combined audience names have the form: /// - /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` + /// `customers/{customer_id}/combinedAudience/{combined_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the combined audience. + /// Output only. ID of the combined audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this combined audience. Indicates whether the combined audience - /// is enabled or removed. + /// Output only. Status of this combined audience. Indicates whether the combined audience + /// is enabled or removed. #[prost(enumeration="super::enums::combined_audience_status_enum::CombinedAudienceStatus", tag="3")] pub status: i32, - /// Output only. Name of the combined audience. It should be unique across all combined - /// audiences. + /// Output only. Name of the combined audience. It should be unique across all combined + /// audiences. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Output only. Description of this combined audience. + /// Output only. Description of this combined audience. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, } -// Proto file describing the Conversion Action resource. +// Proto file describing the Conversion Action resource. -/// A conversion action. +/// A conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAction { - /// Immutable. The resource name of the conversion action. - /// Conversion action resource names have the form: + /// Immutable. The resource name of the conversion action. + /// Conversion action resource names have the form: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion action. + /// Output only. The ID of the conversion action. #[prost(int64, optional, tag="21")] pub id: ::core::option::Option, - /// The name of the conversion action. + /// The name of the conversion action. /// - /// This field is required and should not be empty when creating new - /// conversion actions. + /// This field is required and should not be empty when creating new + /// conversion actions. #[prost(string, optional, tag="22")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of this conversion action for conversion event accrual. + /// The status of this conversion action for conversion event accrual. #[prost(enumeration="super::enums::conversion_action_status_enum::ConversionActionStatus", tag="4")] pub status: i32, - /// Immutable. The type of this conversion action. + /// Immutable. The type of this conversion action. #[prost(enumeration="super::enums::conversion_action_type_enum::ConversionActionType", tag="5")] pub r#type: i32, - /// Output only. The conversion origin of this conversion action. + /// Output only. The conversion origin of this conversion action. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="30")] pub origin: i32, - /// If a conversion action’s primary_for_goal bit is false, the conversion - /// action is non-biddable for all campaigns regardless of their customer - /// conversion goal or campaign conversion goal. - /// However, custom conversion goals do not respect primary_for_goal, so if - /// a campaign has a custom conversion goal configured with a - /// primary_for_goal = false conversion action, that conversion action is - /// still biddable. + /// If a conversion action’s primary_for_goal bit is false, the conversion + /// action is non-biddable for all campaigns regardless of their customer + /// conversion goal or campaign conversion goal. + /// However, custom conversion goals do not respect primary_for_goal, so if + /// a campaign has a custom conversion goal configured with a + /// primary_for_goal = false conversion action, that conversion action is + /// still biddable. #[prost(bool, tag="31")] pub primary_for_goal: bool, - /// The category of conversions reported for this conversion action. + /// The category of conversions reported for this conversion action. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="6")] pub category: i32, - /// Output only. The resource name of the conversion action owner customer, or null if this - /// is a system-defined conversion action. + /// Output only. The resource name of the conversion action owner customer, or null if this + /// is a system-defined conversion action. #[prost(string, optional, tag="23")] pub owner_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Whether this conversion action should be included in the "conversions" - /// metric. + /// Whether this conversion action should be included in the "conversions" + /// metric. #[prost(bool, optional, tag="24")] pub include_in_conversions_metric: ::core::option::Option, - /// The maximum number of days that may elapse between an interaction - /// (e.g., a click) and a conversion event. + /// The maximum number of days that may elapse between an interaction + /// (e.g., a click) and a conversion event. #[prost(int64, optional, tag="25")] pub click_through_lookback_window_days: ::core::option::Option, - /// The maximum number of days which may elapse between an impression and a - /// conversion without an interaction. + /// The maximum number of days which may elapse between an impression and a + /// conversion without an interaction. #[prost(int64, optional, tag="26")] pub view_through_lookback_window_days: ::core::option::Option, - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[prost(message, optional, tag="11")] pub value_settings: ::core::option::Option, - /// How to count conversion events for the conversion action. + /// How to count conversion events for the conversion action. #[prost(enumeration="super::enums::conversion_action_counting_type_enum::ConversionActionCountingType", tag="12")] pub counting_type: i32, - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[prost(message, optional, tag="13")] pub attribution_model_settings: ::core::option::Option, - /// Output only. The snippets used for tracking conversions. + /// Output only. The snippets used for tracking conversions. #[prost(message, repeated, tag="14")] pub tag_snippets: ::prost::alloc::vec::Vec, - /// The phone call duration in seconds after which a conversion should be - /// reported for this conversion action. + /// The phone call duration in seconds after which a conversion should be + /// reported for this conversion action. /// - /// The value must be between 0 and 10000, inclusive. + /// The value must be between 0 and 10000, inclusive. #[prost(int64, optional, tag="27")] pub phone_call_duration_seconds: ::core::option::Option, - /// App ID for an app conversion action. + /// App ID for an app conversion action. #[prost(string, optional, tag="28")] pub app_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Mobile app vendor for an app conversion action. + /// Output only. Mobile app vendor for an app conversion action. #[prost(enumeration="super::enums::mobile_app_vendor_enum::MobileAppVendor", tag="17")] pub mobile_app_vendor: i32, - /// Output only. Firebase settings for Firebase conversion types. + /// Output only. Firebase settings for Firebase conversion types. #[prost(message, optional, tag="18")] pub firebase_settings: ::core::option::Option, - /// Output only. Third Party App Analytics settings for third party conversion types. + /// Output only. Third Party App Analytics settings for third party conversion types. #[prost(message, optional, tag="19")] pub third_party_app_analytics_settings: ::core::option::Option, } /// Nested message and enum types in `ConversionAction`. pub mod conversion_action { - /// Settings related to this conversion action's attribution model. + /// Settings related to this conversion action's attribution model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionModelSettings { - /// The attribution model type of this conversion action. + /// The attribution model type of this conversion action. #[prost(enumeration="super::super::enums::attribution_model_enum::AttributionModel", tag="1")] pub attribution_model: i32, - /// Output only. The status of the data-driven attribution model for the conversion - /// action. + /// Output only. The status of the data-driven attribution model for the conversion + /// action. #[prost(enumeration="super::super::enums::data_driven_model_status_enum::DataDrivenModelStatus", tag="2")] pub data_driven_model_status: i32, } - /// Settings related to the value for conversion events associated with this - /// conversion action. + /// Settings related to the value for conversion events associated with this + /// conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueSettings { - /// The value to use when conversion events for this conversion action are - /// sent with an invalid, disallowed or missing value, or when - /// this conversion action is configured to always use the default value. + /// The value to use when conversion events for this conversion action are + /// sent with an invalid, disallowed or missing value, or when + /// this conversion action is configured to always use the default value. #[prost(double, optional, tag="4")] pub default_value: ::core::option::Option, - /// The currency code to use when conversion events for this conversion - /// action are sent with an invalid or missing currency code, or when this - /// conversion action is configured to always use the default value. + /// The currency code to use when conversion events for this conversion + /// action are sent with an invalid or missing currency code, or when this + /// conversion action is configured to always use the default value. #[prost(string, optional, tag="5")] pub default_currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Controls whether the default value and default currency code are used in - /// place of the value and currency code specified in conversion events for - /// this conversion action. + /// Controls whether the default value and default currency code are used in + /// place of the value and currency code specified in conversion events for + /// this conversion action. #[prost(bool, optional, tag="6")] pub always_use_default_value: ::core::option::Option, } - /// Settings related to a third party app analytics conversion action. + /// Settings related to a third party app analytics conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsSettings { - /// Output only. The event name of a third-party app analytics conversion. + /// Output only. The event name of a third-party app analytics conversion. #[prost(string, optional, tag="2")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Name of the third-party app analytics provider. + /// Output only. Name of the third-party app analytics provider. #[prost(string, tag="3")] pub provider_name: ::prost::alloc::string::String, } - /// Settings related to a Firebase conversion action. + /// Settings related to a Firebase conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirebaseSettings { - /// Output only. The event name of a Firebase conversion. + /// Output only. The event name of a Firebase conversion. #[prost(string, optional, tag="3")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Firebase project ID of the conversion. + /// Output only. The Firebase project ID of the conversion. #[prost(string, optional, tag="4")] pub project_id: ::core::option::Option<::prost::alloc::string::String>, } } -// Proto file describing the Conversion Custom Variable resource. +// Proto file describing the Conversion Custom Variable resource. -/// A conversion custom variable -/// See "About custom variables for conversions" at -/// +/// A conversion custom variable +/// See "About custom variables for conversions" at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariable { - /// Immutable. The resource name of the conversion custom variable. - /// Conversion custom variable resource names have the form: + /// Immutable. The resource name of the conversion custom variable. + /// Conversion custom variable resource names have the form: /// - /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` + /// `customers/{customer_id}/conversionCustomVariables/{conversion_custom_variable_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion custom variable. + /// Output only. The ID of the conversion custom variable. #[prost(int64, tag="2")] pub id: i64, - /// Required. The name of the conversion custom variable. - /// Name should be unique. The maximum length of name is 100 characters. - /// There should not be any extra spaces before and after. + /// Required. The name of the conversion custom variable. + /// Name should be unique. The maximum length of name is 100 characters. + /// There should not be any extra spaces before and after. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet - /// and sent to Google Ads along with conversion pings. For conversion uploads - /// in Google Ads API, the resource name of the conversion custom variable is - /// used. - /// Tag should be unique. The maximum size of tag is 100 bytes. - /// There should not be any extra spaces before and after. - /// Currently only lowercase letters, numbers and underscores are allowed in - /// the tag. + /// Required. Immutable. The tag of the conversion custom variable. It is used in the event snippet + /// and sent to Google Ads along with conversion pings. For conversion uploads + /// in Google Ads API, the resource name of the conversion custom variable is + /// used. + /// Tag should be unique. The maximum size of tag is 100 bytes. + /// There should not be any extra spaces before and after. + /// Currently only lowercase letters, numbers and underscores are allowed in + /// the tag. #[prost(string, tag="4")] pub tag: ::prost::alloc::string::String, - /// The status of the conversion custom variable for conversion event accrual. + /// The status of the conversion custom variable for conversion event accrual. #[prost(enumeration="super::enums::conversion_custom_variable_status_enum::ConversionCustomVariableStatus", tag="5")] pub status: i32, - /// Output only. The resource name of the customer that owns the conversion custom variable. + /// Output only. The resource name of the customer that owns the conversion custom variable. #[prost(string, tag="6")] pub owner_customer: ::prost::alloc::string::String, } -/// Conversion goal settings for a Campaign. +/// Conversion goal settings for a Campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfig { - /// Immutable. The resource name of the conversion goal campaign config. - /// Conversion goal campaign config resource names have the form: + /// Immutable. The resource name of the conversion goal campaign config. + /// Conversion goal campaign config resource names have the form: /// - /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` + /// `customers/{customer_id}/conversionGoalCampaignConfigs/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The campaign with which this conversion goal campaign config is associated. + /// Immutable. The campaign with which this conversion goal campaign config is associated. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// The level of goal config the campaign is using. + /// The level of goal config the campaign is using. #[prost(enumeration="super::enums::goal_config_level_enum::GoalConfigLevel", tag="3")] pub goal_config_level: i32, - /// The custom conversion goal the campaign is using for optimization. + /// The custom conversion goal the campaign is using for optimization. #[prost(string, tag="4")] pub custom_conversion_goal: ::prost::alloc::string::String, } -// Proto file describing the Conversion Value Rule resource. +// Proto file describing the Conversion Value Rule resource. -/// A conversion value rule +/// A conversion value rule #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRule { - /// Immutable. The resource name of the conversion value rule. - /// Conversion value rule resource names have the form: + /// Immutable. The resource name of the conversion value rule. + /// Conversion value rule resource names have the form: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule. + /// Output only. The ID of the conversion value rule. #[prost(int64, tag="2")] pub id: i64, - /// Action applied when the rule is triggered. + /// Action applied when the rule is triggered. #[prost(message, optional, tag="3")] pub action: ::core::option::Option, - /// Condition for Geo location that must be satisfied for the value rule to - /// apply. + /// Condition for Geo location that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="4")] pub geo_location_condition: ::core::option::Option, - /// Condition for device type that must be satisfied for the value rule to - /// apply. + /// Condition for device type that must be satisfied for the value rule to + /// apply. #[prost(message, optional, tag="5")] pub device_condition: ::core::option::Option, - /// Condition for audience that must be satisfied for the value rule to apply. + /// Condition for audience that must be satisfied for the value rule to apply. #[prost(message, optional, tag="6")] pub audience_condition: ::core::option::Option, - /// Output only. The resource name of the conversion value rule's owner customer. - /// When the value rule is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule's owner customer. + /// When the value rule is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="7")] pub owner_customer: ::prost::alloc::string::String, - /// The status of the conversion value rule. + /// The status of the conversion value rule. #[prost(enumeration="super::enums::conversion_value_rule_status_enum::ConversionValueRuleStatus", tag="8")] pub status: i32, } /// Nested message and enum types in `ConversionValueRule`. pub mod conversion_value_rule { - /// Action applied when rule is applied. + /// Action applied when rule is applied. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAction { - /// Specifies applied operation. + /// Specifies applied operation. #[prost(enumeration="super::super::enums::value_rule_operation_enum::ValueRuleOperation", tag="1")] pub operation: i32, - /// Specifies applied value. + /// Specifies applied value. #[prost(double, tag="2")] pub value: f64, } - /// Condition on Geo dimension. + /// Condition on Geo dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleGeoLocationCondition { - /// Geo locations that advertisers want to exclude. + /// Geo locations that advertisers want to exclude. #[prost(string, repeated, tag="1")] pub excluded_geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Excluded Geo location match type. + /// Excluded Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="2")] pub excluded_geo_match_type: i32, - /// Geo locations that advertisers want to include. + /// Geo locations that advertisers want to include. #[prost(string, repeated, tag="3")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Included Geo location match type. + /// Included Geo location match type. #[prost(enumeration="super::super::enums::value_rule_geo_location_match_type_enum::ValueRuleGeoLocationMatchType", tag="4")] pub geo_match_type: i32, } - /// Condition on Device dimension. + /// Condition on Device dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleDeviceCondition { - /// Value for device type condition. + /// Value for device type condition. #[prost(enumeration="super::super::enums::value_rule_device_type_enum::ValueRuleDeviceType", repeated, tag="1")] pub device_types: ::prost::alloc::vec::Vec, } - /// Condition on Audience dimension. + /// Condition on Audience dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRuleAudienceCondition { - /// User Lists. + /// User Lists. #[prost(string, repeated, tag="1")] pub user_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User Interests. + /// User Interests. #[prost(string, repeated, tag="2")] pub user_interests: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -// Proto file describing the Conversion Value Rule Set resource. +// Proto file describing the Conversion Value Rule Set resource. -/// A conversion value rule set +/// A conversion value rule set #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSet { - /// Immutable. The resource name of the conversion value rule set. - /// Conversion value rule set resource names have the form: + /// Immutable. The resource name of the conversion value rule set. + /// Conversion value rule set resource names have the form: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the conversion value rule set. + /// Output only. The ID of the conversion value rule set. #[prost(int64, tag="2")] pub id: i64, - /// Resource names of rules within the rule set. + /// Resource names of rules within the rule set. #[prost(string, repeated, tag="3")] pub conversion_value_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Defines dimensions for Value Rule conditions. The condition types of value - /// rules within this value rule set must be of these dimensions. The first - /// entry in this list is the primary dimension of the included value rules. - /// When using value rule primary dimension segmentation, conversion values - /// will be segmented into the values adjusted by value rules and the original - /// values, if some value rules apply. + /// Defines dimensions for Value Rule conditions. The condition types of value + /// rules within this value rule set must be of these dimensions. The first + /// entry in this list is the primary dimension of the included value rules. + /// When using value rule primary dimension segmentation, conversion values + /// will be segmented into the values adjusted by value rules and the original + /// values, if some value rules apply. #[prost(enumeration="super::enums::value_rule_set_dimension_enum::ValueRuleSetDimension", repeated, tag="4")] pub dimensions: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the conversion value rule set's owner customer. - /// When the value rule set is inherited from a manager - /// customer, owner_customer will be the resource name of the manager whereas - /// the customer in the resource_name will be of the requesting serving - /// customer. - /// ** Read-only ** + /// Output only. The resource name of the conversion value rule set's owner customer. + /// When the value rule set is inherited from a manager + /// customer, owner_customer will be the resource name of the manager whereas + /// the customer in the resource_name will be of the requesting serving + /// customer. + /// ** Read-only ** #[prost(string, tag="5")] pub owner_customer: ::prost::alloc::string::String, - /// Defines the scope where the conversion value rule set is attached. + /// Defines the scope where the conversion value rule set is attached. #[prost(enumeration="super::enums::value_rule_set_attachment_type_enum::ValueRuleSetAttachmentType", tag="6")] pub attachment_type: i32, - /// The resource name of the campaign when the conversion value rule - /// set is attached to a campaign. + /// The resource name of the campaign when the conversion value rule + /// set is attached to a campaign. #[prost(string, tag="7")] pub campaign: ::prost::alloc::string::String, - /// Output only. The status of the conversion value rule set. - /// ** Read-only ** + /// Output only. The status of the conversion value rule set. + /// ** Read-only ** #[prost(enumeration="super::enums::conversion_value_rule_set_status_enum::ConversionValueRuleSetStatus", tag="8")] pub status: i32, } -// Proto file describing the Currency Constant resource. +// Proto file describing the Currency Constant resource. -/// A currency constant. +/// A currency constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CurrencyConstant { - /// Output only. The resource name of the currency constant. - /// Currency constant resource names have the form: + /// Output only. The resource name of the currency constant. + /// Currency constant resource names have the form: /// - /// `currencyConstants/{code}` + /// `currencyConstants/{code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ISO 4217 three-letter currency code, e.g. "USD" + /// Output only. ISO 4217 three-letter currency code, e.g. "USD" #[prost(string, optional, tag="6")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Full English name of the currency. + /// Output only. Full English name of the currency. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars. + /// Output only. Standard symbol for describing this currency, e.g. '$' for US Dollars. #[prost(string, optional, tag="8")] pub symbol: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The billable unit for this currency. Billed amounts should be multiples of - /// this value. + /// Output only. The billable unit for this currency. Billed amounts should be multiples of + /// this value. #[prost(int64, optional, tag="9")] pub billable_unit_micros: ::core::option::Option, } -// Proto file describing the Custom Audience resource. +// Proto file describing the Custom Audience resource. -/// A custom audience. This is a list of users by interest. +/// A custom audience. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudience { - /// Immutable. The resource name of the custom audience. - /// Custom audience resource names have the form: + /// Immutable. The resource name of the custom audience. + /// Custom audience resource names have the form: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the custom audience. + /// Output only. ID of the custom audience. #[prost(int64, tag="2")] pub id: i64, - /// Output only. Status of this custom audience. Indicates whether the custom audience is - /// enabled or removed. + /// Output only. Status of this custom audience. Indicates whether the custom audience is + /// enabled or removed. #[prost(enumeration="super::enums::custom_audience_status_enum::CustomAudienceStatus", tag="3")] pub status: i32, - /// Name of the custom audience. It should be unique for all custom audiences - /// created by a customer. - /// This field is required for creating operations. + /// Name of the custom audience. It should be unique for all custom audiences + /// created by a customer. + /// This field is required for creating operations. #[prost(string, tag="4")] pub name: ::prost::alloc::string::String, - /// Type of the custom audience. - /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom - /// audience but kept for existing audiences) + /// Type of the custom audience. + /// ("INTEREST" OR "PURCHASE_INTENT" is not allowed for newly created custom + /// audience but kept for existing audiences) #[prost(enumeration="super::enums::custom_audience_type_enum::CustomAudienceType", tag="5")] pub r#type: i32, - /// Description of this custom audience. + /// Description of this custom audience. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// List of custom audience members that this custom audience is composed of. - /// Members can be added during CustomAudience creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom audience members that this custom audience is composed of. + /// Members can be added during CustomAudience creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom audience. A member can be a KEYWORD, URL, -/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. +/// A member of custom audience. A member can be a KEYWORD, URL, +/// PLACE_CATEGORY or APP. It can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceMember { - /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. + /// The type of custom audience member, KEYWORD, URL, PLACE_CATEGORY or APP. #[prost(enumeration="super::enums::custom_audience_member_type_enum::CustomAudienceMemberType", tag="1")] pub member_type: i32, - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[prost(oneof="custom_audience_member::Value", tags="2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceMember`. pub mod custom_audience_member { - /// The CustomAudienceMember value. One field is populated depending on the - /// member type. + /// The CustomAudienceMember value. One field is populated depending on the + /// member type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A keyword or keyword phrase — at most 10 words and 80 characters. - /// Languages with double-width characters such as Chinese, Japanese, - /// or Korean, are allowed 40 characters, which describes the user's - /// interests or actions. + /// A keyword or keyword phrase — at most 10 words and 80 characters. + /// Languages with double-width characters such as Chinese, Japanese, + /// or Korean, are allowed 40 characters, which describes the user's + /// interests or actions. #[prost(string, tag="2")] Keyword(::prost::alloc::string::String), - /// An HTTP URL, protocol-included — at most 2048 characters, which includes - /// contents users have interests in. + /// An HTTP URL, protocol-included — at most 2048 characters, which includes + /// contents users have interests in. #[prost(string, tag="3")] Url(::prost::alloc::string::String), - /// A place type described by a place category users visit. + /// A place type described by a place category users visit. #[prost(int64, tag="4")] PlaceCategory(i64), - /// A package name of Android apps which users installed such as - /// com.google.example. + /// A package name of Android apps which users installed such as + /// com.google.example. #[prost(string, tag="5")] App(::prost::alloc::string::String), } } -/// Custom conversion goal that can make arbitrary conversion actions biddable. +/// Custom conversion goal that can make arbitrary conversion actions biddable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoal { - /// Immutable. The resource name of the custom conversion goal. - /// Custom conversion goal resource names have the form: + /// Immutable. The resource name of the custom conversion goal. + /// Custom conversion goal resource names have the form: /// - /// `customers/{customer_id}/customConversionGoals/{goal_id}` + /// `customers/{customer_id}/customConversionGoals/{goal_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The ID for this custom conversion goal. + /// Immutable. The ID for this custom conversion goal. #[prost(int64, tag="2")] pub id: i64, - /// The name for this custom conversion goal. + /// The name for this custom conversion goal. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Conversion actions that the custom conversion goal makes biddable. + /// Conversion actions that the custom conversion goal makes biddable. #[prost(string, repeated, tag="4")] pub conversion_actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status of the custom conversion goal. + /// The status of the custom conversion goal. #[prost(enumeration="super::enums::custom_conversion_goal_status_enum::CustomConversionGoalStatus", tag="5")] pub status: i32, } -// Proto file describing the Custom Interest resource. +// Proto file describing the Custom Interest resource. -/// A custom interest. This is a list of users by interest. +/// A custom interest. This is a list of users by interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterest { - /// Immutable. The resource name of the custom interest. - /// Custom interest resource names have the form: + /// Immutable. The resource name of the custom interest. + /// Custom interest resource names have the form: /// - /// `customers/{customer_id}/customInterests/{custom_interest_id}` + /// `customers/{customer_id}/customInterests/{custom_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the custom interest. + /// Output only. Id of the custom interest. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Status of this custom interest. Indicates whether the custom interest is - /// enabled or removed. + /// Status of this custom interest. Indicates whether the custom interest is + /// enabled or removed. #[prost(enumeration="super::enums::custom_interest_status_enum::CustomInterestStatus", tag="3")] pub status: i32, - /// Name of the custom interest. It should be unique across the same custom - /// affinity audience. - /// This field is required for create operations. + /// Name of the custom interest. It should be unique across the same custom + /// affinity audience. + /// This field is required for create operations. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. - /// By default the type is set to CUSTOM_AFFINITY. + /// Type of the custom interest, CUSTOM_AFFINITY or CUSTOM_INTENT. + /// By default the type is set to CUSTOM_AFFINITY. #[prost(enumeration="super::enums::custom_interest_type_enum::CustomInterestType", tag="5")] pub r#type: i32, - /// Description of this custom interest audience. + /// Description of this custom interest audience. #[prost(string, optional, tag="10")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// List of custom interest members that this custom interest is composed of. - /// Members can be added during CustomInterest creation. If members are - /// presented in UPDATE operation, existing members will be overridden. + /// List of custom interest members that this custom interest is composed of. + /// Members can be added during CustomInterest creation. If members are + /// presented in UPDATE operation, existing members will be overridden. #[prost(message, repeated, tag="7")] pub members: ::prost::alloc::vec::Vec, } -/// A member of custom interest audience. A member can be a keyword or url. -/// It is immutable, that is, it can only be created or removed but not changed. +/// A member of custom interest audience. A member can be a keyword or url. +/// It is immutable, that is, it can only be created or removed but not changed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestMember { - /// The type of custom interest member, KEYWORD or URL. + /// The type of custom interest member, KEYWORD or URL. #[prost(enumeration="super::enums::custom_interest_member_type_enum::CustomInterestMemberType", tag="1")] pub member_type: i32, - /// Keyword text when member_type is KEYWORD or URL string when - /// member_type is URL. + /// Keyword text when member_type is KEYWORD or URL string when + /// member_type is URL. #[prost(string, optional, tag="3")] pub parameter: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Customer resource. +// Proto file describing the Customer resource. -/// A customer. +/// A customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Customer { - /// Immutable. The resource name of the customer. - /// Customer resource names have the form: + /// Immutable. The resource name of the customer. + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customer. + /// Output only. The ID of the customer. #[prost(int64, optional, tag="19")] pub id: ::core::option::Option, - /// Optional, non-unique descriptive name of the customer. + /// Optional, non-unique descriptive name of the customer. #[prost(string, optional, tag="20")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The currency in which the account operates. - /// A subset of the currency codes from the ISO 4217 standard is - /// supported. + /// Immutable. The currency in which the account operates. + /// A subset of the currency codes from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="21")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The local timezone ID of the customer. + /// Immutable. The local timezone ID of the customer. #[prost(string, optional, tag="22")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for constructing a tracking URL out of parameters. + /// The URL template for constructing a tracking URL out of parameters. #[prost(string, optional, tag="23")] pub tracking_url_template: ::core::option::Option<::prost::alloc::string::String>, - /// The URL template for appending params to the final URL + /// The URL template for appending params to the final URL #[prost(string, optional, tag="24")] pub final_url_suffix: ::core::option::Option<::prost::alloc::string::String>, - /// Whether auto-tagging is enabled for the customer. + /// Whether auto-tagging is enabled for the customer. #[prost(bool, optional, tag="25")] pub auto_tagging_enabled: ::core::option::Option, - /// Output only. Whether the Customer has a Partners program badge. If the Customer is not - /// associated with the Partners program, this will be false. For more - /// information, see + /// Output only. Whether the Customer has a Partners program badge. If the Customer is not + /// associated with the Partners program, this will be false. For more + /// information, see #[prost(bool, optional, tag="26")] pub has_partners_badge: ::core::option::Option, - /// Output only. Whether the customer is a manager. + /// Output only. Whether the customer is a manager. #[prost(bool, optional, tag="27")] pub manager: ::core::option::Option, - /// Output only. Whether the customer is a test account. + /// Output only. Whether the customer is a test account. #[prost(bool, optional, tag="28")] pub test_account: ::core::option::Option, - /// Call reporting setting for a customer. + /// Call reporting setting for a customer. #[prost(message, optional, tag="10")] pub call_reporting_setting: ::core::option::Option, - /// Output only. Conversion tracking setting for a customer. + /// Output only. Conversion tracking setting for a customer. #[prost(message, optional, tag="14")] pub conversion_tracking_setting: ::core::option::Option, - /// Output only. Remarketing setting for a customer. + /// Output only. Remarketing setting for a customer. #[prost(message, optional, tag="15")] pub remarketing_setting: ::core::option::Option, - /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If - /// the list is empty, the customer is eligible. This field is read-only. + /// Output only. Reasons why the customer is not eligible to use PaymentMode.CONVERSIONS. If + /// the list is empty, the customer is eligible. This field is read-only. #[prost(enumeration="super::enums::customer_pay_per_conversion_eligibility_failure_reason_enum::CustomerPayPerConversionEligibilityFailureReason", repeated, packed="false", tag="16")] pub pay_per_conversion_eligibility_failure_reasons: ::prost::alloc::vec::Vec, - /// Output only. Optimization score of the customer. + /// Output only. Optimization score of the customer. /// - /// Optimization score is an estimate of how well a customer's campaigns are - /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null - /// for all manager customers, and for unscored non-manager customers. + /// Optimization score is an estimate of how well a customer's campaigns are + /// set to perform. It ranges from 0% (0.0) to 100% (1.0). This field is null + /// for all manager customers, and for unscored non-manager customers. /// - /// See "About optimization score" at - /// + /// See "About optimization score" at + /// /// - /// This field is read-only. + /// This field is read-only. #[prost(double, optional, tag="29")] pub optimization_score: ::core::option::Option, - /// Output only. Optimization score weight of the customer. + /// Output only. Optimization score weight of the customer. /// - /// Optimization score weight can be used to compare/aggregate optimization - /// scores across multiple non-manager customers. The aggregate optimization - /// score of a manager is computed as the sum over all of their customers of - /// `Customer.optimization_score * Customer.optimization_score_weight`. This - /// field is 0 for all manager customers, and for unscored non-manager - /// customers. + /// Optimization score weight can be used to compare/aggregate optimization + /// scores across multiple non-manager customers. The aggregate optimization + /// score of a manager is computed as the sum over all of their customers of + /// `Customer.optimization_score * Customer.optimization_score_weight`. This + /// field is 0 for all manager customers, and for unscored non-manager + /// customers. /// - /// This field is read-only. + /// This field is read-only. #[prost(double, tag="30")] pub optimization_score_weight: f64, } -/// Call reporting setting for a customer. +/// Call reporting setting for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallReportingSetting { - /// Enable reporting of phone call events by redirecting them via Google - /// System. + /// Enable reporting of phone call events by redirecting them via Google + /// System. #[prost(bool, optional, tag="10")] pub call_reporting_enabled: ::core::option::Option, - /// Whether to enable call conversion reporting. + /// Whether to enable call conversion reporting. #[prost(bool, optional, tag="11")] pub call_conversion_reporting_enabled: ::core::option::Option, - /// Customer-level call conversion action to attribute a call conversion to. - /// If not set a default conversion action is used. Only in effect when - /// call_conversion_reporting_enabled is set to true. + /// Customer-level call conversion action to attribute a call conversion to. + /// If not set a default conversion action is used. Only in effect when + /// call_conversion_reporting_enabled is set to true. #[prost(string, optional, tag="12")] pub call_conversion_action: ::core::option::Option<::prost::alloc::string::String>, } -/// A collection of customer-wide settings related to Google Ads Conversion -/// Tracking. +/// A collection of customer-wide settings related to Google Ads Conversion +/// Tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionTrackingSetting { - /// Output only. The conversion tracking id used for this account. This id is automatically - /// assigned after any conversion tracking feature is used. If the customer - /// doesn't use conversion tracking, this is 0. This field is read-only. + /// Output only. The conversion tracking id used for this account. This id is automatically + /// assigned after any conversion tracking feature is used. If the customer + /// doesn't use conversion tracking, this is 0. This field is read-only. #[prost(int64, optional, tag="3")] pub conversion_tracking_id: ::core::option::Option, - /// Output only. The conversion tracking id of the customer's manager. This is set when the - /// customer is opted into cross account conversion tracking, and it overrides - /// conversion_tracking_id. This field can only be managed through the Google - /// Ads UI. This field is read-only. + /// Output only. The conversion tracking id of the customer's manager. This is set when the + /// customer is opted into cross account conversion tracking, and it overrides + /// conversion_tracking_id. This field can only be managed through the Google + /// Ads UI. This field is read-only. #[prost(int64, optional, tag="4")] pub cross_account_conversion_tracking_id: ::core::option::Option, } -/// Remarketing setting for a customer. +/// Remarketing setting for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingSetting { - /// Output only. The Google global site tag. + /// Output only. The Google global site tag. #[prost(string, optional, tag="2")] pub google_global_site_tag: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerClient resource. +// Proto file describing the CustomerClient resource. -/// A link between the given customer and a client customer. CustomerClients only -/// exist for manager customers. All direct and indirect client customers are -/// included, as well as the manager itself. +/// A link between the given customer and a client customer. CustomerClients only +/// exist for manager customers. All direct and indirect client customers are +/// included, as well as the manager itself. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClient { - /// Output only. The resource name of the customer client. - /// CustomerClient resource names have the form: - /// `customers/{customer_id}/customerClients/{client_customer_id}` + /// Output only. The resource name of the customer client. + /// CustomerClient resource names have the form: + /// `customers/{customer_id}/customerClients/{client_customer_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the client-customer which is linked to - /// the given customer. Read only. + /// Output only. The resource name of the client-customer which is linked to + /// the given customer. Read only. #[prost(string, optional, tag="12")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Specifies whether this is a - /// [hidden account](). - /// Read only. + /// Output only. Specifies whether this is a + /// [hidden account](). + /// Read only. #[prost(bool, optional, tag="13")] pub hidden: ::core::option::Option, - /// Output only. Distance between given customer and client. For self link, the level value - /// will be 0. Read only. + /// Output only. Distance between given customer and client. For self link, the level value + /// will be 0. Read only. #[prost(int64, optional, tag="14")] pub level: ::core::option::Option, - /// Output only. Common Locale Data Repository (CLDR) string representation of the - /// time zone of the client, e.g. America/Los_Angeles. Read only. + /// Output only. Common Locale Data Repository (CLDR) string representation of the + /// time zone of the client, e.g. America/Los_Angeles. Read only. #[prost(string, optional, tag="15")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Identifies if the client is a test account. Read only. + /// Output only. Identifies if the client is a test account. Read only. #[prost(bool, optional, tag="16")] pub test_account: ::core::option::Option, - /// Output only. Identifies if the client is a manager. Read only. + /// Output only. Identifies if the client is a manager. Read only. #[prost(bool, optional, tag="17")] pub manager: ::core::option::Option, - /// Output only. Descriptive name for the client. Read only. + /// Output only. Descriptive name for the client. Read only. #[prost(string, optional, tag="18")] pub descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only. + /// Output only. Currency code (e.g. 'USD', 'EUR') for the client. Read only. #[prost(string, optional, tag="19")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the client customer. Read only. + /// Output only. The ID of the client customer. Read only. #[prost(int64, optional, tag="20")] pub id: ::core::option::Option, - /// Output only. The resource names of the labels owned by the requesting customer that are - /// applied to the client customer. - /// Label resource names have the form: + /// Output only. The resource names of the labels owned by the requesting customer that are + /// applied to the client customer. + /// Label resource names have the form: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, repeated, tag="21")] pub applied_labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the CustomerClientLink resource. +// Proto file describing the CustomerClientLink resource. -/// Represents customer client link relationship. +/// Represents customer client link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLink { - /// Immutable. Name of the resource. - /// CustomerClientLink resource names have the form: - /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerClientLink resource names have the form: + /// `customers/{customer_id}/customerClientLinks/{client_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The client customer linked to this customer. + /// Immutable. The client customer linked to this customer. #[prost(string, optional, tag="7")] pub client_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. This is uniquely identifies a customer client link. Read only. + /// Output only. This is uniquely identifies a customer client link. Read only. #[prost(int64, optional, tag="8")] pub manager_link_id: ::core::option::Option, - /// This is the status of the link between client and manager. + /// This is the status of the link between client and manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, - /// The visibility of the link. Users can choose whether or not to see hidden - /// links in the Google Ads UI. - /// Default value is false + /// The visibility of the link. Users can choose whether or not to see hidden + /// links in the Google Ads UI. + /// Default value is false #[prost(bool, optional, tag="9")] pub hidden: ::core::option::Option, } -/// Biddability control for conversion actions with a matching category and -/// origin. +/// Biddability control for conversion actions with a matching category and +/// origin. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoal { - /// Immutable. The resource name of the customer conversion goal. - /// Customer conversion goal resource names have the form: + /// Immutable. The resource name of the customer conversion goal. + /// Customer conversion goal resource names have the form: /// - /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` + /// `customers/{customer_id}/customerConversionGoals/{category}~{origin}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The conversion category of this customer conversion goal. Only - /// conversion actions that have this category will be included in this goal. + /// The conversion category of this customer conversion goal. Only + /// conversion actions that have this category will be included in this goal. #[prost(enumeration="super::enums::conversion_action_category_enum::ConversionActionCategory", tag="2")] pub category: i32, - /// The conversion origin of this customer conversion goal. Only - /// conversion actions that have this conversion origin will be included in - /// this goal. + /// The conversion origin of this customer conversion goal. Only + /// conversion actions that have this conversion origin will be included in + /// this goal. #[prost(enumeration="super::enums::conversion_origin_enum::ConversionOrigin", tag="3")] pub origin: i32, - /// The biddability of the customer conversion goal. + /// The biddability of the customer conversion goal. #[prost(bool, tag="4")] pub biddable: bool, } -/// A customizer value for the associated CustomizerAttribute at the Customer -/// level. +/// A customizer value for the associated CustomizerAttribute at the Customer +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizer { - /// Immutable. The resource name of the customer customizer. - /// Customer customizer resource names have the form: + /// Immutable. The resource name of the customer customizer. + /// Customer customizer resource names have the form: /// - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Immutable. The customizer attribute which is linked to the customer. + /// Required. Immutable. The customizer attribute which is linked to the customer. #[prost(string, tag="2")] pub customizer_attribute: ::prost::alloc::string::String, - /// Output only. The status of the customer customizer attribute. + /// Output only. The status of the customer customizer attribute. #[prost(enumeration="super::enums::customizer_value_status_enum::CustomizerValueStatus", tag="3")] pub status: i32, - /// Required. The value to associate with the customizer attribute at this level. The - /// value must be of the type specified for the CustomizerAttribute. + /// Required. The value to associate with the customizer attribute at this level. The + /// value must be of the type specified for the CustomizerAttribute. #[prost(message, optional, tag="4")] pub value: ::core::option::Option, } -// Proto file describing the CustomerExtensionSetting resource. +// Proto file describing the CustomerExtensionSetting resource. -/// A customer extension setting. +/// A customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSetting { - /// Immutable. The resource name of the customer extension setting. - /// CustomerExtensionSetting resource names have the form: + /// Immutable. The resource name of the customer extension setting. + /// CustomerExtensionSetting resource names have the form: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The extension type of the customer extension setting. + /// Immutable. The extension type of the customer extension setting. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="2")] pub extension_type: i32, - /// The resource names of the extension feed items to serve under the customer. - /// ExtensionFeedItem resource names have the form: + /// The resource names of the extension feed items to serve under the customer. + /// ExtensionFeedItem resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, repeated, tag="5")] pub extension_feed_items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The device for which the extensions will serve. Optional. + /// The device for which the extensions will serve. Optional. #[prost(enumeration="super::enums::extension_setting_device_enum::ExtensionSettingDevice", tag="4")] pub device: i32, } -// Proto file describing the CustomerFeed resource. +// Proto file describing the CustomerFeed resource. -/// A customer feed. +/// A customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeed { - /// Immutable. The resource name of the customer feed. - /// Customer feed resource names have the form: + /// Immutable. The resource name of the customer feed. + /// Customer feed resource names have the form: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed being linked to the customer. + /// Immutable. The feed being linked to the customer. #[prost(string, optional, tag="6")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates which placeholder types the feed may populate under the connected - /// customer. Required. + /// Indicates which placeholder types the feed may populate under the connected + /// customer. Required. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", repeated, tag="3")] pub placeholder_types: ::prost::alloc::vec::Vec, - /// Matching function associated with the CustomerFeed. - /// The matching function is used to filter the set of feed items selected. - /// Required. + /// Matching function associated with the CustomerFeed. + /// The matching function is used to filter the set of feed items selected. + /// Required. #[prost(message, optional, tag="4")] pub matching_function: ::core::option::Option, - /// Output only. Status of the customer feed. - /// This field is read-only. + /// Output only. Status of the customer feed. + /// This field is read-only. #[prost(enumeration="super::enums::feed_link_status_enum::FeedLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the customer label resource. +// Proto file describing the customer label resource. -/// Represents a relationship between a customer and a label. This customer may -/// not have access to all the labels attached to it. Additional CustomerLabels -/// may be returned by increasing permissions with login-customer-id. +/// Represents a relationship between a customer and a label. This customer may +/// not have access to all the labels attached to it. Additional CustomerLabels +/// may be returned by increasing permissions with login-customer-id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabel { - /// Immutable. Name of the resource. - /// Customer label resource names have the form: - /// `customers/{customer_id}/customerLabels/{label_id}` + /// Immutable. Name of the resource. + /// Customer label resource names have the form: + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The resource name of the customer to which the label is attached. - /// Read only. + /// Output only. The resource name of the customer to which the label is attached. + /// Read only. #[prost(string, optional, tag="4")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the label assigned to the customer. + /// Output only. The resource name of the label assigned to the customer. /// - /// Note: the Customer ID portion of the label resource name is not - /// validated when creating a new CustomerLabel. + /// Note: the Customer ID portion of the label resource name is not + /// validated when creating a new CustomerLabel. #[prost(string, optional, tag="5")] pub label: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerManagerLink resource. +// Proto file describing the CustomerManagerLink resource. -/// Represents customer-manager link relationship. +/// Represents customer-manager link relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLink { - /// Immutable. Name of the resource. - /// CustomerManagerLink resource names have the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Immutable. Name of the resource. + /// CustomerManagerLink resource names have the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The manager customer linked to the customer. + /// Output only. The manager customer linked to the customer. #[prost(string, optional, tag="6")] pub manager_customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. ID of the customer-manager link. This field is read only. + /// Output only. ID of the customer-manager link. This field is read only. #[prost(int64, optional, tag="7")] pub manager_link_id: ::core::option::Option, - /// Status of the link between the customer and the manager. + /// Status of the link between the customer and the manager. #[prost(enumeration="super::enums::manager_link_status_enum::ManagerLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Customer Negative Criterion resource. +// Proto file describing the Customer Negative Criterion resource. -/// A negative criterion for exclusions at the customer level. +/// A negative criterion for exclusions at the customer level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterion { - /// Immutable. The resource name of the customer negative criterion. - /// Customer negative criterion resource names have the form: + /// Immutable. The resource name of the customer negative criterion. + /// Customer negative criterion resource names have the form: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="3")] pub r#type: i32, - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="customer_negative_criterion::Criterion", tags="4, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterion`. pub mod customer_negative_criterion { - /// The customer negative criterion. + /// The customer negative criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. ContentLabel. + /// Immutable. ContentLabel. #[prost(message, tag="4")] ContentLabel(super::super::common::ContentLabelInfo), - /// Immutable. MobileApplication. + /// Immutable. MobileApplication. #[prost(message, tag="5")] MobileApplication(super::super::common::MobileApplicationInfo), - /// Immutable. MobileAppCategory. + /// Immutable. MobileAppCategory. #[prost(message, tag="6")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="8")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="9")] YoutubeChannel(super::super::common::YouTubeChannelInfo), } } -// Proto file describing the CustomerUserAccess resource. +// Proto file describing the CustomerUserAccess resource. -/// Represents the permission of a single user onto a single customer. +/// Represents the permission of a single user onto a single customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccess { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccesses/{user_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccesses/{user_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. User id of the user with the customer access. - /// Read only field + /// Output only. User id of the user with the customer access. + /// Read only field #[prost(int64, tag="2")] pub user_id: i64, - /// Output only. Email address of the user. - /// Read only field + /// Output only. Email address of the user. + /// Read only field #[prost(string, optional, tag="3")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// Access role of the user. + /// Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// Output only. The customer user access creation time. - /// Read only field - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. The customer user access creation time. + /// Read only field + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="6")] pub access_creation_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The email address of the inviter user. - /// Read only field + /// Output only. The email address of the inviter user. + /// Read only field #[prost(string, optional, tag="7")] pub inviter_user_email_address: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the CustomerUserAccessInvitation resource. +// Proto file describing the CustomerUserAccessInvitation resource. -/// Represent an invitation to a new user on this customer account. +/// Represent an invitation to a new user on this customer account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitation { - /// Immutable. Name of the resource. - /// Resource names have the form: - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// Immutable. Name of the resource. + /// Resource names have the form: + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invitation. - /// This field is read-only. + /// Output only. The ID of the invitation. + /// This field is read-only. #[prost(int64, tag="2")] pub invitation_id: i64, - /// Immutable. Access role of the user. + /// Immutable. Access role of the user. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="3")] pub access_role: i32, - /// Immutable. Email address the invitation was sent to. - /// This can differ from the email address of the account - /// that accepts the invite. + /// Immutable. Email address the invitation was sent to. + /// This can differ from the email address of the account + /// that accepts the invite. #[prost(string, tag="4")] pub email_address: ::prost::alloc::string::String, - /// Output only. Time invitation was created. - /// This field is read-only. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Output only. Time invitation was created. + /// This field is read-only. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, tag="5")] pub creation_date_time: ::prost::alloc::string::String, - /// Output only. Invitation status of the user. + /// Output only. Invitation status of the user. #[prost(enumeration="super::enums::access_invitation_status_enum::AccessInvitationStatus", tag="6")] pub invitation_status: i32, } -/// A customizer attribute. -/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or -/// AdGroupCriterionCustomizer to associate a customizer attribute and -/// set its value at the customer, campaign, ad group, or ad group criterion -/// level, respectively. +/// A customizer attribute. +/// Use CustomerCustomizer, CampaignCustomizer, AdGroupCustomizer, or +/// AdGroupCriterionCustomizer to associate a customizer attribute and +/// set its value at the customer, campaign, ad group, or ad group criterion +/// level, respectively. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttribute { - /// Immutable. The resource name of the customizer attribute. - /// Customizer Attribute resource names have the form: + /// Immutable. The resource name of the customizer attribute. + /// Customizer Attribute resource names have the form: /// - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the customizer attribute. + /// Output only. The ID of the customizer attribute. #[prost(int64, tag="2")] pub id: i64, - /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length - /// of 1 and maximum length of 40. Name of an enabled customizer attribute must - /// be unique (case insensitive). + /// Required. Immutable. Name of the customizer attribute. Required. It must have a minimum length + /// of 1 and maximum length of 40. Name of an enabled customizer attribute must + /// be unique (case insensitive). #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Immutable. The type of the customizer attribute. + /// Immutable. The type of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_type_enum::CustomizerAttributeType", tag="4")] pub r#type: i32, - /// Output only. The status of the customizer attribute. + /// Output only. The status of the customizer attribute. #[prost(enumeration="super::enums::customizer_attribute_status_enum::CustomizerAttributeStatus", tag="5")] pub status: i32, } -// Proto file describing the detail placement view resource. +// Proto file describing the detail placement view resource. -/// A view with metrics aggregated by ad group and URL or YouTube video. +/// A view with metrics aggregated by ad group and URL or YouTube video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailPlacementView { - /// Output only. The resource name of the detail placement view. - /// Detail placement view resource names have the form: + /// Output only. The resource name of the detail placement view. + /// Detail placement view resource names have the form: /// - /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/detailPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at detail level, e. g. website URL, mobile - /// application ID, or a YouTube video ID. + /// Output only. The automatic placement string at detail level, e. g. website URL, mobile + /// application ID, or a YouTube video ID. #[prost(string, optional, tag="7")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name is URL name for websites, YouTube video name for YouTube - /// videos, and translated mobile app name for mobile apps. + /// Output only. The display name is URL name for websites, YouTube video name for YouTube + /// videos, and translated mobile app name for mobile apps. #[prost(string, optional, tag="8")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, e.g. domain, link to the mobile application in - /// app store, or a YouTube channel URL. + /// Output only. URL of the group placement, e.g. domain, link to the mobile application in + /// app store, or a YouTube channel URL. #[prost(string, optional, tag="9")] pub group_placement_target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the placement, e.g. website, link to the mobile application in app - /// store, or a YouTube video URL. + /// Output only. URL of the placement, e.g. website, link to the mobile application in app + /// store, or a YouTube video URL. #[prost(string, optional, tag="10")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, e.g. Website, YouTube Video, and Mobile Application. + /// Output only. Type of the placement, e.g. Website, YouTube Video, and Mobile Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="6")] pub placement_type: i32, } -// Proto file describing the Detailed Demographic resource. +// Proto file describing the Detailed Demographic resource. -/// A detailed demographic: a particular interest-based vertical to be targeted -/// to reach users based on long-term life facts. +/// A detailed demographic: a particular interest-based vertical to be targeted +/// to reach users based on long-term life facts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetailedDemographic { - /// Output only. The resource name of the detailed demographic. - /// Detailed demographic resource names have the form: + /// Output only. The resource name of the detailed demographic. + /// Detailed demographic resource names have the form: /// - /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` + /// `customers/{customer_id}/detailedDemographics/{detailed_demographic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the detailed demographic. + /// Output only. The ID of the detailed demographic. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the detailed demographic. E.g."Highest Level of Educational - /// Attainment" + /// Output only. The name of the detailed demographic. E.g."Highest Level of Educational + /// Attainment" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the detailed_demographic. + /// Output only. The parent of the detailed_demographic. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the detailed demographic is launched to all channels and locales. + /// Output only. True if the detailed demographic is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the detailed demographic. + /// Output only. Availability information of the detailed demographic. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the display keyword view resource. +// Proto file describing the display keyword view resource. -/// A display keyword view. +/// A display keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayKeywordView { - /// Output only. The resource name of the display keyword view. - /// Display Keyword view resource names have the form: + /// Output only. The resource name of the display keyword view. + /// Display Keyword view resource names have the form: /// - /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/displayKeywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the DistanceView resource. +// Proto file describing the DistanceView resource. -/// A distance view with metrics aggregated by the user's distance from an -/// advertiser's location extensions. Each DistanceBucket includes all -/// impressions that fall within its distance and a single impression will -/// contribute to the metrics for all DistanceBuckets that include the user's -/// distance. +/// A distance view with metrics aggregated by the user's distance from an +/// advertiser's location extensions. Each DistanceBucket includes all +/// impressions that fall within its distance and a single impression will +/// contribute to the metrics for all DistanceBuckets that include the user's +/// distance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistanceView { - /// Output only. The resource name of the distance view. - /// Distance view resource names have the form: + /// Output only. The resource name of the distance view. + /// Distance view resource names have the form: /// - /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` + /// `customers/{customer_id}/distanceViews/1~{distance_bucket}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Grouping of user distance from location extensions. + /// Output only. Grouping of user distance from location extensions. #[prost(enumeration="super::enums::distance_bucket_enum::DistanceBucket", tag="2")] pub distance_bucket: i32, - /// Output only. True if the DistanceBucket is using the metric system, false otherwise. + /// Output only. True if the DistanceBucket is using the metric system, false otherwise. #[prost(bool, optional, tag="4")] pub metric_system: ::core::option::Option, } -// Proto file describing the Domain Category resource. +// Proto file describing the Domain Category resource. -/// A category generated automatically by crawling a domain. If a campaign uses -/// the DynamicSearchAdsSetting, then domain categories will be generated for -/// the domain. The categories can be targeted using WebpageConditionInfo. -/// See: +/// A category generated automatically by crawling a domain. If a campaign uses +/// the DynamicSearchAdsSetting, then domain categories will be generated for +/// the domain. The categories can be targeted using WebpageConditionInfo. +/// See: #[derive(Clone, PartialEq, ::prost::Message)] pub struct DomainCategory { - /// Output only. The resource name of the domain category. - /// Domain category resource names have the form: + /// Output only. The resource name of the domain category. + /// Domain category resource names have the form: /// - /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` + /// `customers/{customer_id}/domainCategories/{campaign_id}~{category_base64}~{language_code}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign this category is recommended for. + /// Output only. The campaign this category is recommended for. #[prost(string, optional, tag="10")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Recommended category for the website domain. e.g. if you have a website - /// about electronics, the categories could be "cameras", "televisions", etc. + /// Output only. Recommended category for the website domain. e.g. if you have a website + /// about electronics, the categories could be "cameras", "televisions", etc. #[prost(string, optional, tag="11")] pub category: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The language code specifying the language of the website. e.g. "en" for - /// English. The language can be specified in the DynamicSearchAdsSetting - /// required for dynamic search ads. This is the language of the pages from - /// your website that you want Google Ads to find, create ads for, - /// and match searches with. + /// Output only. The language code specifying the language of the website. e.g. "en" for + /// English. The language can be specified in the DynamicSearchAdsSetting + /// required for dynamic search ads. This is the language of the pages from + /// your website that you want Google Ads to find, create ads for, + /// and match searches with. #[prost(string, optional, tag="12")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The domain for the website. The domain can be specified in the - /// DynamicSearchAdsSetting required for dynamic search ads. + /// Output only. The domain for the website. The domain can be specified in the + /// DynamicSearchAdsSetting required for dynamic search ads. #[prost(string, optional, tag="13")] pub domain: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Fraction of pages on your site that this category matches. + /// Output only. Fraction of pages on your site that this category matches. #[prost(double, optional, tag="14")] pub coverage_fraction: ::core::option::Option, - /// Output only. The position of this category in the set of categories. Lower numbers - /// indicate a better match for the domain. null indicates not recommended. + /// Output only. The position of this category in the set of categories. Lower numbers + /// indicate a better match for the domain. null indicates not recommended. #[prost(int64, optional, tag="15")] pub category_rank: ::core::option::Option, - /// Output only. Indicates whether this category has sub-categories. + /// Output only. Indicates whether this category has sub-categories. #[prost(bool, optional, tag="16")] pub has_children: ::core::option::Option, - /// Output only. The recommended cost per click for the category. + /// Output only. The recommended cost per click for the category. #[prost(int64, optional, tag="17")] pub recommended_cpc_bid_micros: ::core::option::Option, } -// Proto file describing the Dynamic Search Ads Search Term View resource. +// Proto file describing the Dynamic Search Ads Search Term View resource. -/// A dynamic search ads search term view. +/// A dynamic search ads search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DynamicSearchAdsSearchTermView { - /// Output only. The resource name of the dynamic search ads search term view. - /// Dynamic search ads search term view resource names have the form: + /// Output only. The resource name of the dynamic search ads search term view. + /// Dynamic search ads search term view resource names have the form: /// - /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` + /// `customers/{customer_id}/dynamicSearchAdsSearchTermViews/{ad_group_id}~{search_term_fingerprint}~{headline_fingerprint}~{landing_page_fingerprint}~{page_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Search term + /// Output only. Search term /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="9")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically generated headline of the Dynamic Search Ad. + /// Output only. The dynamically generated headline of the Dynamic Search Ad. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="10")] pub headline: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The dynamically selected landing page URL of the impression. + /// Output only. The dynamically selected landing page URL of the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="11")] pub landing_page: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The URL of page feed item served for the impression. + /// Output only. The URL of page feed item served for the impression. /// - /// This field is read-only. + /// This field is read-only. #[prost(string, optional, tag="12")] pub page_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if query matches a negative keyword. + /// Output only. True if query matches a negative keyword. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="13")] pub has_negative_keyword: ::core::option::Option, - /// Output only. True if query is added to targeted keywords. + /// Output only. True if query is added to targeted keywords. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="14")] pub has_matching_keyword: ::core::option::Option, - /// Output only. True if query matches a negative url. + /// Output only. True if query matches a negative url. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="15")] pub has_negative_url: ::core::option::Option, } -// Proto file describing the expanded landing page view resource. +// Proto file describing the expanded landing page view resource. -/// A landing page view with metrics aggregated at the expanded final URL -/// level. +/// A landing page view with metrics aggregated at the expanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandedLandingPageView { - /// Output only. The resource name of the expanded landing page view. - /// Expanded landing page view resource names have the form: + /// Output only. The resource name of the expanded landing page view. + /// Expanded landing page view resource names have the form: /// - /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` + /// `customers/{customer_id}/expandedLandingPageViews/{expanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The final URL that clicks are directed to. + /// Output only. The final URL that clicks are directed to. #[prost(string, optional, tag="3")] pub expanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ExtensionFeedItem resource. +// Proto file describing the ExtensionFeedItem resource. -/// An extension feed item. +/// An extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItem { - /// Immutable. The resource name of the extension feed item. - /// Extension feed item resource names have the form: + /// Immutable. The resource name of the extension feed item. + /// Extension feed item resource names have the form: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this feed item. Read-only. + /// Output only. The ID of this feed item. Read-only. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. The extension type of the extension feed item. - /// This field is read-only. + /// Output only. The extension type of the extension feed item. + /// This field is read-only. #[prost(enumeration="super::enums::extension_type_enum::ExtensionType", tag="13")] pub extension_type: i32, - /// Start time in which this feed item is effective and can begin serving. The - /// time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// Start time in which this feed item is effective and can begin serving. The + /// time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="26")] pub start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// End time in which this feed item is no longer effective and will stop - /// serving. The time is in the customer's time zone. - /// The format is "YYYY-MM-DD HH:MM:SS". - /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" + /// End time in which this feed item is no longer effective and will stop + /// serving. The time is in the customer's time zone. + /// The format is "YYYY-MM-DD HH:MM:SS". + /// Examples: "2018-03-05 09:15:00" or "2018-02-01 14:34:30" #[prost(string, optional, tag="27")] pub end_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// List of non-overlapping schedules specifying all time intervals - /// for which the feed item may serve. There can be a maximum of 6 schedules - /// per day. + /// List of non-overlapping schedules specifying all time intervals + /// for which the feed item may serve. There can be a maximum of 6 schedules + /// per day. #[prost(message, repeated, tag="16")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// The targeted device. + /// The targeted device. #[prost(enumeration="super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="17")] pub device: i32, - /// The targeted geo target constant. + /// The targeted geo target constant. #[prost(string, optional, tag="30")] pub targeted_geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, - /// The targeted keyword. + /// The targeted keyword. #[prost(message, optional, tag="22")] pub targeted_keyword: ::core::option::Option, - /// Output only. Status of the feed item. - /// This field is read-only. + /// Output only. Status of the feed item. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_status_enum::FeedItemStatus", tag="4")] pub status: i32, - /// Extension type. + /// Extension type. #[prost(oneof="extension_feed_item::Extension", tags="2, 3, 7, 8, 9, 10, 11, 12, 14, 15, 23, 31")] pub extension: ::core::option::Option, - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[prost(oneof="extension_feed_item::ServingResourceTargeting", tags="28, 29")] pub serving_resource_targeting: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItem`. pub mod extension_feed_item { - /// Extension type. + /// Extension type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Extension { - /// Sitelink extension. + /// Sitelink extension. #[prost(message, tag="2")] SitelinkFeedItem(super::super::common::SitelinkFeedItem), - /// Structured snippet extension. + /// Structured snippet extension. #[prost(message, tag="3")] StructuredSnippetFeedItem(super::super::common::StructuredSnippetFeedItem), - /// App extension. + /// App extension. #[prost(message, tag="7")] AppFeedItem(super::super::common::AppFeedItem), - /// Call extension. + /// Call extension. #[prost(message, tag="8")] CallFeedItem(super::super::common::CallFeedItem), - /// Callout extension. + /// Callout extension. #[prost(message, tag="9")] CalloutFeedItem(super::super::common::CalloutFeedItem), - /// Text message extension. + /// Text message extension. #[prost(message, tag="10")] TextMessageFeedItem(super::super::common::TextMessageFeedItem), - /// Price extension. + /// Price extension. #[prost(message, tag="11")] PriceFeedItem(super::super::common::PriceFeedItem), - /// Promotion extension. + /// Promotion extension. #[prost(message, tag="12")] PromotionFeedItem(super::super::common::PromotionFeedItem), - /// Output only. Location extension. Locations are synced from a Business Profile into a - /// feed. This field is read-only. + /// Output only. Location extension. Locations are synced from a Business Profile into a + /// feed. This field is read-only. #[prost(message, tag="14")] LocationFeedItem(super::super::common::LocationFeedItem), - /// Output only. Affiliate location extension. Feed locations are populated by Google Ads - /// based on a chain ID. - /// This field is read-only. + /// Output only. Affiliate location extension. Feed locations are populated by Google Ads + /// based on a chain ID. + /// This field is read-only. #[prost(message, tag="15")] AffiliateLocationFeedItem(super::super::common::AffiliateLocationFeedItem), - /// Hotel Callout extension. + /// Hotel Callout extension. #[prost(message, tag="23")] HotelCalloutFeedItem(super::super::common::HotelCalloutFeedItem), - /// Immutable. Advertiser provided image extension. + /// Immutable. Advertiser provided image extension. #[prost(message, tag="31")] ImageFeedItem(super::super::common::ImageFeedItem), } - /// Targeting at either the campaign or ad group level. Feed items that target - /// a campaign or ad group will only serve with that resource. + /// Targeting at either the campaign or ad group level. Feed items that target + /// a campaign or ad group will only serve with that resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ServingResourceTargeting { - /// The targeted campaign. + /// The targeted campaign. #[prost(string, tag="28")] TargetedCampaign(::prost::alloc::string::String), - /// The targeted ad group. + /// The targeted ad group. #[prost(string, tag="29")] TargetedAdGroup(::prost::alloc::string::String), } } -/// Represents a set of feed items. The set can be used and shared among certain -/// feed item features. For instance, the set can be referenced within the -/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. +/// Represents a set of feed items. The set can be used and shared among certain +/// feed item features. For instance, the set can be referenced within the +/// matching functions of CustomerFeed, CampaignFeed, and AdGroupFeed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSet { - /// Immutable. The resource name of the feed item set. - /// Feed item set resource names have the form: - /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` + /// Immutable. The resource name of the feed item set. + /// Feed item set resource names have the form: + /// `customers/{customer_id}/feedItemSets/{feed_id}~{feed_item_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The resource name of the feed containing the feed items in the set. - /// Immutable. Required. + /// Immutable. The resource name of the feed containing the feed items in the set. + /// Immutable. Required. #[prost(string, tag="2")] pub feed: ::prost::alloc::string::String, - /// Output only. ID of the set. + /// Output only. ID of the set. #[prost(int64, tag="3")] pub feed_item_set_id: i64, - /// Name of the set. Must be unique within the account. + /// Name of the set. Must be unique within the account. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Output only. Status of the feed item set. - /// This field is read-only. + /// Output only. Status of the feed item set. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_set_status_enum::FeedItemSetStatus", tag="8")] pub status: i32, - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[prost(oneof="feed_item_set::DynamicSetFilter", tags="5, 6")] pub dynamic_set_filter: ::core::option::Option, } /// Nested message and enum types in `FeedItemSet`. pub mod feed_item_set { - /// Represents a filter on locations in a feed item set. - /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. + /// Represents a filter on locations in a feed item set. + /// Only applicable if the parent Feed of the FeedItemSet is a LOCATION feed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DynamicSetFilter { - /// Filter for dynamic location set. - /// It is only used for sets of locations. + /// Filter for dynamic location set. + /// It is only used for sets of locations. #[prost(message, tag="5")] DynamicLocationSetFilter(super::super::common::DynamicLocationSetFilter), - /// Filter for dynamic affiliate location set. - /// This field doesn't apply generally to feed item sets. It is only used for - /// sets of affiliate locations. + /// Filter for dynamic affiliate location set. + /// This field doesn't apply generally to feed item sets. It is only used for + /// sets of affiliate locations. #[prost(message, tag="6")] DynamicAffiliateLocationSetFilter(super::super::common::DynamicAffiliateLocationSetFilter), } } -// Proto file describing the FeedItemSetLink resource. +// Proto file describing the FeedItemSetLink resource. -/// Represents a link between a FeedItem and a FeedItemSet. +/// Represents a link between a FeedItem and a FeedItemSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLink { - /// Immutable. The resource name of the feed item set link. - /// Feed item set link resource names have the form: - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` + /// Immutable. The resource name of the feed item set link. + /// Feed item set link resource names have the form: + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}~{feed_item_set_id}~{feed_item_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The linked FeedItem. + /// Immutable. The linked FeedItem. #[prost(string, tag="2")] pub feed_item: ::prost::alloc::string::String, - /// Immutable. The linked FeedItemSet. + /// Immutable. The linked FeedItemSet. #[prost(string, tag="3")] pub feed_item_set: ::prost::alloc::string::String, } -// Proto file describing the FeedItemTarget resource. +// Proto file describing the FeedItemTarget resource. -/// A feed item target. +/// A feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTarget { - /// Immutable. The resource name of the feed item target. - /// Feed item target resource names have the form: - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// Immutable. The resource name of the feed item target. + /// Feed item target resource names have the form: + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed item to which this feed item target belongs. + /// Immutable. The feed item to which this feed item target belongs. #[prost(string, optional, tag="12")] pub feed_item: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The target type of this feed item target. This field is read-only. + /// Output only. The target type of this feed item target. This field is read-only. #[prost(enumeration="super::enums::feed_item_target_type_enum::FeedItemTargetType", tag="3")] pub feed_item_target_type: i32, - /// Output only. The ID of the targeted resource. This field is read-only. + /// Output only. The ID of the targeted resource. This field is read-only. #[prost(int64, optional, tag="13")] pub feed_item_target_id: ::core::option::Option, - /// Output only. Status of the feed item target. - /// This field is read-only. + /// Output only. Status of the feed item target. + /// This field is read-only. #[prost(enumeration="super::enums::feed_item_target_status_enum::FeedItemTargetStatus", tag="11")] pub status: i32, - /// The targeted resource. + /// The targeted resource. #[prost(oneof="feed_item_target::Target", tags="14, 15, 7, 16, 9, 10")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedItemTarget`. pub mod feed_item_target { - /// The targeted resource. + /// The targeted resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The targeted campaign. + /// Immutable. The targeted campaign. #[prost(string, tag="14")] Campaign(::prost::alloc::string::String), - /// Immutable. The targeted ad group. + /// Immutable. The targeted ad group. #[prost(string, tag="15")] AdGroup(::prost::alloc::string::String), - /// Immutable. The targeted keyword. + /// Immutable. The targeted keyword. #[prost(message, tag="7")] Keyword(super::super::common::KeywordInfo), - /// Immutable. The targeted geo target constant resource name. + /// Immutable. The targeted geo target constant resource name. #[prost(string, tag="16")] GeoTargetConstant(::prost::alloc::string::String), - /// Immutable. The targeted device. + /// Immutable. The targeted device. #[prost(enumeration="super::super::enums::feed_item_target_device_enum::FeedItemTargetDevice", tag="9")] Device(i32), - /// Immutable. The targeted schedule. + /// Immutable. The targeted schedule. #[prost(message, tag="10")] AdSchedule(super::super::common::AdScheduleInfo), } } -// Proto file describing the FeedMapping resource. +// Proto file describing the FeedMapping resource. -/// A feed mapping. +/// A feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMapping { - /// Immutable. The resource name of the feed mapping. - /// Feed mapping resource names have the form: + /// Immutable. The resource name of the feed mapping. + /// Feed mapping resource names have the form: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The feed of this feed mapping. + /// Immutable. The feed of this feed mapping. #[prost(string, optional, tag="7")] pub feed: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many - /// relationship meaning that 1 feed attribute can be used to populate - /// multiple placeholder fields, but 1 placeholder field can only draw - /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder - /// field can be mapped to multiple feed attributes. Required. + /// Immutable. Feed attributes to field mappings. These mappings are a one-to-many + /// relationship meaning that 1 feed attribute can be used to populate + /// multiple placeholder fields, but 1 placeholder field can only draw + /// data from 1 feed attribute. Ad Customizer is an exception, 1 placeholder + /// field can be mapped to multiple feed attributes. Required. #[prost(message, repeated, tag="5")] pub attribute_field_mappings: ::prost::alloc::vec::Vec, - /// Output only. Status of the feed mapping. - /// This field is read-only. + /// Output only. Status of the feed mapping. + /// This field is read-only. #[prost(enumeration="super::enums::feed_mapping_status_enum::FeedMappingStatus", tag="6")] pub status: i32, - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[prost(oneof="feed_mapping::Target", tags="3, 4")] pub target: ::core::option::Option, } /// Nested message and enum types in `FeedMapping`. pub mod feed_mapping { - /// Feed mapping target. Can be either a placeholder or a criterion. For a - /// given feed, the active FeedMappings must have unique targets. Required. + /// Feed mapping target. Can be either a placeholder or a criterion. For a + /// given feed, the active FeedMappings must have unique targets. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Immutable. The placeholder type of this mapping (i.e., if the mapping maps feed - /// attributes to placeholder fields). + /// Immutable. The placeholder type of this mapping (i.e., if the mapping maps feed + /// attributes to placeholder fields). #[prost(enumeration="super::super::enums::placeholder_type_enum::PlaceholderType", tag="3")] PlaceholderType(i32), - /// Immutable. The criterion type of this mapping (i.e., if the mapping maps feed - /// attributes to criterion fields). + /// Immutable. The criterion type of this mapping (i.e., if the mapping maps feed + /// attributes to criterion fields). #[prost(enumeration="super::super::enums::feed_mapping_criterion_type_enum::FeedMappingCriterionType", tag="4")] CriterionType(i32), } } -/// Maps from feed attribute id to a placeholder or criterion field id. +/// Maps from feed attribute id to a placeholder or criterion field id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributeFieldMapping { - /// Immutable. Feed attribute from which to map. + /// Immutable. Feed attribute from which to map. #[prost(int64, optional, tag="24")] pub feed_attribute_id: ::core::option::Option, - /// Output only. The placeholder field ID. If a placeholder field enum is not published in - /// the current API version, then this field will be populated and the field - /// oneof will be empty. - /// This field is read-only. + /// Output only. The placeholder field ID. If a placeholder field enum is not published in + /// the current API version, then this field will be populated and the field + /// oneof will be empty. + /// This field is read-only. #[prost(int64, optional, tag="25")] pub field_id: ::core::option::Option, - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[prost(oneof="attribute_field_mapping::Field", tags="3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 26")] pub field: ::core::option::Option, } /// Nested message and enum types in `AttributeFieldMapping`. pub mod attribute_field_mapping { - /// Placeholder or criterion field to be populated using data from - /// the above feed attribute. Required. + /// Placeholder or criterion field to be populated using data from + /// the above feed attribute. Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Field { - /// Immutable. Sitelink Placeholder Fields. + /// Immutable. Sitelink Placeholder Fields. #[prost(enumeration="super::super::enums::sitelink_placeholder_field_enum::SitelinkPlaceholderField", tag="3")] SitelinkField(i32), - /// Immutable. Call Placeholder Fields. + /// Immutable. Call Placeholder Fields. #[prost(enumeration="super::super::enums::call_placeholder_field_enum::CallPlaceholderField", tag="4")] CallField(i32), - /// Immutable. App Placeholder Fields. + /// Immutable. App Placeholder Fields. #[prost(enumeration="super::super::enums::app_placeholder_field_enum::AppPlaceholderField", tag="5")] AppField(i32), - /// Output only. Location Placeholder Fields. This field is read-only. + /// Output only. Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::location_placeholder_field_enum::LocationPlaceholderField", tag="6")] LocationField(i32), - /// Output only. Affiliate Location Placeholder Fields. This field is read-only. + /// Output only. Affiliate Location Placeholder Fields. This field is read-only. #[prost(enumeration="super::super::enums::affiliate_location_placeholder_field_enum::AffiliateLocationPlaceholderField", tag="7")] AffiliateLocationField(i32), - /// Immutable. Callout Placeholder Fields. + /// Immutable. Callout Placeholder Fields. #[prost(enumeration="super::super::enums::callout_placeholder_field_enum::CalloutPlaceholderField", tag="8")] CalloutField(i32), - /// Immutable. Structured Snippet Placeholder Fields. + /// Immutable. Structured Snippet Placeholder Fields. #[prost(enumeration="super::super::enums::structured_snippet_placeholder_field_enum::StructuredSnippetPlaceholderField", tag="9")] StructuredSnippetField(i32), - /// Immutable. Message Placeholder Fields. + /// Immutable. Message Placeholder Fields. #[prost(enumeration="super::super::enums::message_placeholder_field_enum::MessagePlaceholderField", tag="10")] MessageField(i32), - /// Immutable. Price Placeholder Fields. + /// Immutable. Price Placeholder Fields. #[prost(enumeration="super::super::enums::price_placeholder_field_enum::PricePlaceholderField", tag="11")] PriceField(i32), - /// Immutable. Promotion Placeholder Fields. + /// Immutable. Promotion Placeholder Fields. #[prost(enumeration="super::super::enums::promotion_placeholder_field_enum::PromotionPlaceholderField", tag="12")] PromotionField(i32), - /// Immutable. Ad Customizer Placeholder Fields + /// Immutable. Ad Customizer Placeholder Fields #[prost(enumeration="super::super::enums::ad_customizer_placeholder_field_enum::AdCustomizerPlaceholderField", tag="13")] AdCustomizerField(i32), - /// Immutable. Dynamic Search Ad Page Feed Fields. + /// Immutable. Dynamic Search Ad Page Feed Fields. #[prost(enumeration="super::super::enums::dsa_page_feed_criterion_field_enum::DsaPageFeedCriterionField", tag="14")] DsaPageFeedField(i32), - /// Immutable. Location Target Fields. + /// Immutable. Location Target Fields. #[prost(enumeration="super::super::enums::location_extension_targeting_criterion_field_enum::LocationExtensionTargetingCriterionField", tag="15")] LocationExtensionTargetingField(i32), - /// Immutable. Education Placeholder Fields + /// Immutable. Education Placeholder Fields #[prost(enumeration="super::super::enums::education_placeholder_field_enum::EducationPlaceholderField", tag="16")] EducationField(i32), - /// Immutable. Flight Placeholder Fields + /// Immutable. Flight Placeholder Fields #[prost(enumeration="super::super::enums::flight_placeholder_field_enum::FlightPlaceholderField", tag="17")] FlightField(i32), - /// Immutable. Custom Placeholder Fields + /// Immutable. Custom Placeholder Fields #[prost(enumeration="super::super::enums::custom_placeholder_field_enum::CustomPlaceholderField", tag="18")] CustomField(i32), - /// Immutable. Hotel Placeholder Fields + /// Immutable. Hotel Placeholder Fields #[prost(enumeration="super::super::enums::hotel_placeholder_field_enum::HotelPlaceholderField", tag="19")] HotelField(i32), - /// Immutable. Real Estate Placeholder Fields + /// Immutable. Real Estate Placeholder Fields #[prost(enumeration="super::super::enums::real_estate_placeholder_field_enum::RealEstatePlaceholderField", tag="20")] RealEstateField(i32), - /// Immutable. Travel Placeholder Fields + /// Immutable. Travel Placeholder Fields #[prost(enumeration="super::super::enums::travel_placeholder_field_enum::TravelPlaceholderField", tag="21")] TravelField(i32), - /// Immutable. Local Placeholder Fields + /// Immutable. Local Placeholder Fields #[prost(enumeration="super::super::enums::local_placeholder_field_enum::LocalPlaceholderField", tag="22")] LocalField(i32), - /// Immutable. Job Placeholder Fields + /// Immutable. Job Placeholder Fields #[prost(enumeration="super::super::enums::job_placeholder_field_enum::JobPlaceholderField", tag="23")] JobField(i32), - /// Immutable. Image Placeholder Fields + /// Immutable. Image Placeholder Fields #[prost(enumeration="super::super::enums::image_placeholder_field_enum::ImagePlaceholderField", tag="26")] ImageField(i32), } } -// Proto file describing the FeedPlaceholderView resource. +// Proto file describing the FeedPlaceholderView resource. -/// A feed placeholder view. +/// A feed placeholder view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedPlaceholderView { - /// Output only. The resource name of the feed placeholder view. - /// Feed placeholder view resource names have the form: + /// Output only. The resource name of the feed placeholder view. + /// Feed placeholder view resource names have the form: /// - /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` + /// `customers/{customer_id}/feedPlaceholderViews/{placeholder_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The placeholder type of the feed placeholder view. + /// Output only. The placeholder type of the feed placeholder view. #[prost(enumeration="super::enums::placeholder_type_enum::PlaceholderType", tag="2")] pub placeholder_type: i32, } -// Proto file describing the gender view resource. +// Proto file describing the gender view resource. -/// A gender view. +/// A gender view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenderView { - /// Output only. The resource name of the gender view. - /// Gender view resource names have the form: + /// Output only. The resource name of the gender view. + /// Gender view resource names have the form: /// - /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/genderViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the geo target constant resource. +// Proto file describing the geo target constant resource. -/// A geo target constant. +/// A geo target constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstant { - /// Output only. The resource name of the geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{geo_target_constant_id}` + /// `geoTargetConstants/{geo_target_constant_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the geo target constant. + /// Output only. The ID of the geo target constant. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Geo target constant English name. + /// Output only. Geo target constant English name. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. + /// Output only. The ISO-3166-1 alpha-2 country code that is associated with the target. #[prost(string, optional, tag="12")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant target type. + /// Output only. Geo target constant target type. #[prost(string, optional, tag="13")] pub target_type: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Geo target constant status. + /// Output only. Geo target constant status. #[prost(enumeration="super::enums::geo_target_constant_status_enum::GeoTargetConstantStatus", tag="7")] pub status: i32, - /// Output only. The fully qualified English name, consisting of the target's name and that - /// of its parent and country. + /// Output only. The fully qualified English name, consisting of the target's name and that + /// of its parent and country. #[prost(string, optional, tag="14")] pub canonical_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the parent geo target constant. - /// Geo target constant resource names have the form: + /// Output only. The resource name of the parent geo target constant. + /// Geo target constant resource names have the form: /// - /// `geoTargetConstants/{parent_geo_target_constant_id}` + /// `geoTargetConstants/{parent_geo_target_constant_id}` #[prost(string, optional, tag="9")] pub parent_geo_target: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the geographic view resource. +// Proto file describing the geographic view resource. -/// A geographic view. +/// A geographic view. /// -/// Geographic View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at either actual physical location of -/// the user or an area of interest. If other segment fields are used, you may -/// get more than one row per country. +/// Geographic View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at either actual physical location of +/// the user or an area of interest. If other segment fields are used, you may +/// get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeographicView { - /// Output only. The resource name of the geographic view. - /// Geographic view resource names have the form: + /// Output only. The resource name of the geographic view. + /// Geographic view resource names have the form: /// - /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` + /// `customers/{customer_id}/geographicViews/{country_criterion_id}~{location_type}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Type of the geo targeting of the campaign. + /// Output only. Type of the geo targeting of the campaign. #[prost(enumeration="super::enums::geo_targeting_type_enum::GeoTargetingType", tag="3")] pub location_type: i32, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="5")] pub country_criterion_id: ::core::option::Option, } -// Proto file describing the Google Ads Field resource. +// Proto file describing the Google Ads Field resource. -/// A field or resource (artifact) used by GoogleAdsService. +/// A field or resource (artifact) used by GoogleAdsService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsField { - /// Output only. The resource name of the artifact. - /// Artifact resource names have the form: + /// Output only. The resource name of the artifact. + /// Artifact resource names have the form: /// - /// `googleAdsFields/{name}` + /// `googleAdsFields/{name}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The name of the artifact. + /// Output only. The name of the artifact. #[prost(string, optional, tag="21")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category of the artifact. + /// Output only. The category of the artifact. #[prost(enumeration="super::enums::google_ads_field_category_enum::GoogleAdsFieldCategory", tag="3")] pub category: i32, - /// Output only. Whether the artifact can be used in a SELECT clause in search - /// queries. + /// Output only. Whether the artifact can be used in a SELECT clause in search + /// queries. #[prost(bool, optional, tag="22")] pub selectable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a WHERE clause in search - /// queries. + /// Output only. Whether the artifact can be used in a WHERE clause in search + /// queries. #[prost(bool, optional, tag="23")] pub filterable: ::core::option::Option, - /// Output only. Whether the artifact can be used in a ORDER BY clause in search - /// queries. + /// Output only. Whether the artifact can be used in a ORDER BY clause in search + /// queries. #[prost(bool, optional, tag="24")] pub sortable: ::core::option::Option, - /// Output only. The names of all resources, segments, and metrics that are selectable with - /// the described artifact. + /// Output only. The names of all resources, segments, and metrics that are selectable with + /// the described artifact. #[prost(string, repeated, tag="25")] pub selectable_with: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The names of all resources that are selectable with the described - /// artifact. Fields from these resources do not segment metrics when included - /// in search queries. + /// Output only. The names of all resources that are selectable with the described + /// artifact. Fields from these resources do not segment metrics when included + /// in search queries. /// - /// This field is only set for artifacts whose category is RESOURCE. + /// This field is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="26")] pub attribute_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all metrics that are selectable with the - /// described artifact when it is used in the FROM clause. - /// It is only set for artifacts whose category is RESOURCE. + /// Output only. This field lists the names of all metrics that are selectable with the + /// described artifact when it is used in the FROM clause. + /// It is only set for artifacts whose category is RESOURCE. #[prost(string, repeated, tag="27")] pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field lists the names of all artifacts, whether a segment or another - /// resource, that segment metrics when included in search queries and when the - /// described artifact is used in the FROM clause. It is only set for artifacts - /// whose category is RESOURCE. + /// Output only. This field lists the names of all artifacts, whether a segment or another + /// resource, that segment metrics when included in search queries and when the + /// described artifact is used in the FROM clause. It is only set for artifacts + /// whose category is RESOURCE. #[prost(string, repeated, tag="28")] pub segments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Values the artifact can assume if it is a field of type ENUM. + /// Output only. Values the artifact can assume if it is a field of type ENUM. /// - /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. + /// This field is only set for artifacts of category SEGMENT or ATTRIBUTE. #[prost(string, repeated, tag="29")] pub enum_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. This field determines the operators that can be used with the artifact - /// in WHERE clauses. + /// Output only. This field determines the operators that can be used with the artifact + /// in WHERE clauses. #[prost(enumeration="super::enums::google_ads_field_data_type_enum::GoogleAdsFieldDataType", tag="12")] pub data_type: i32, - /// Output only. The URL of proto describing the artifact's data type. + /// Output only. The URL of proto describing the artifact's data type. #[prost(string, optional, tag="30")] pub type_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the field artifact is repeated. + /// Output only. Whether the field artifact is repeated. #[prost(bool, optional, tag="31")] pub is_repeated: ::core::option::Option, } -// Proto file describing the group placement view resource. +// Proto file describing the group placement view resource. -/// A group placement view. +/// A group placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GroupPlacementView { - /// Output only. The resource name of the group placement view. - /// Group placement view resource names have the form: + /// Output only. The resource name of the group placement view. + /// Group placement view resource names have the form: /// - /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` + /// `customers/{customer_id}/groupPlacementViews/{ad_group_id}~{base64_placement}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The automatic placement string at group level, e. g. web domain, mobile - /// app ID, or a YouTube channel ID. + /// Output only. The automatic placement string at group level, e. g. web domain, mobile + /// app ID, or a YouTube channel ID. #[prost(string, optional, tag="6")] pub placement: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Domain name for websites and YouTube channel name for YouTube channels. + /// Output only. Domain name for websites and YouTube channel name for YouTube channels. #[prost(string, optional, tag="7")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. URL of the group placement, e.g. domain, link to the mobile application in - /// app store, or a YouTube channel URL. + /// Output only. URL of the group placement, e.g. domain, link to the mobile application in + /// app store, or a YouTube channel URL. #[prost(string, optional, tag="8")] pub target_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Type of the placement, e.g. Website, YouTube Channel, Mobile Application. + /// Output only. Type of the placement, e.g. Website, YouTube Channel, Mobile Application. #[prost(enumeration="super::enums::placement_type_enum::PlacementType", tag="5")] pub placement_type: i32, } -// Proto file describing the hotel group view resource. +// Proto file describing the hotel group view resource. -/// A hotel group view. +/// A hotel group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelGroupView { - /// Output only. The resource name of the hotel group view. - /// Hotel Group view resource names have the form: + /// Output only. The resource name of the hotel group view. + /// Hotel Group view resource names have the form: /// - /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/hotelGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel performance view resource. +// Proto file describing the hotel performance view resource. -/// A hotel performance view. +/// A hotel performance view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelPerformanceView { - /// Output only. The resource name of the hotel performance view. - /// Hotel performance view resource names have the form: + /// Output only. The resource name of the hotel performance view. + /// Hotel performance view resource names have the form: /// - /// `customers/{customer_id}/hotelPerformanceView` + /// `customers/{customer_id}/hotelPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the hotel reconciliation resource. +// Proto file describing the hotel reconciliation resource. -/// A hotel reconciliation. It contains conversion information from Hotel -/// bookings to reconcile with advertiser records. These rows may be updated -/// or canceled before billing via Bulk Uploads. +/// A hotel reconciliation. It contains conversion information from Hotel +/// bookings to reconcile with advertiser records. These rows may be updated +/// or canceled before billing via Bulk Uploads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotelReconciliation { - /// Immutable. The resource name of the hotel reconciliation. - /// Hotel reconciliation resource names have the form: + /// Immutable. The resource name of the hotel reconciliation. + /// Hotel reconciliation resource names have the form: /// - /// `customers/{customer_id}/hotelReconciliations/{commission_id}` + /// `customers/{customer_id}/hotelReconciliations/{commission_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is - /// assigned a Commission ID to help you match it to a guest stay. + /// Required. Output only. The commission ID is Google's ID for this booking. Every booking event is + /// assigned a Commission ID to help you match it to a guest stay. #[prost(string, tag="2")] pub commission_id: ::prost::alloc::string::String, - /// Output only. The order ID is the identifier for this booking as provided in the - /// 'transaction_id' parameter of the conversion tracking tag. + /// Output only. The order ID is the identifier for this booking as provided in the + /// 'transaction_id' parameter of the conversion tracking tag. #[prost(string, tag="3")] pub order_id: ::prost::alloc::string::String, - /// Output only. Identifier for the Hotel Center account which provides the rates for the - /// Hotel campaign. + /// Output only. Identifier for the Hotel Center account which provides the rates for the + /// Hotel campaign. #[prost(int64, tag="4")] pub hotel_center_id: i64, - /// Output only. Unique identifier for the booked property, as provided in the Hotel Center - /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking - /// tag. + /// Output only. Unique identifier for the booked property, as provided in the Hotel Center + /// feed. The hotel ID comes from the 'ID' parameter of the conversion tracking + /// tag. #[prost(string, tag="5")] pub hotel_id: ::prost::alloc::string::String, - /// Output only. Check-in date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-in date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="6")] pub check_in_date: ::prost::alloc::string::String, - /// Output only. Check-out date recorded when the booking is made. If the check-in date is - /// modified at reconciliation, the revised date will then take the place of - /// the original date in this column. Format is YYYY-MM-DD. + /// Output only. Check-out date recorded when the booking is made. If the check-in date is + /// modified at reconciliation, the revised date will then take the place of + /// the original date in this column. Format is YYYY-MM-DD. #[prost(string, tag="7")] pub check_out_date: ::prost::alloc::string::String, - /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If - /// original booking value changes for any reason, such as itinerary changes or - /// room upsells, the reconciled value should be the full final amount - /// collected. If a booking is canceled, the reconciled value should include - /// the value of any cancellation fees or non-refundable nights charged. Value - /// is in millionths of the base unit currency. For example, $12.35 would be - /// represented as 12350000. Currency unit is in the default customer currency. + /// Required. Output only. Reconciled value is the final value of a booking as paid by the guest. If + /// original booking value changes for any reason, such as itinerary changes or + /// room upsells, the reconciled value should be the full final amount + /// collected. If a booking is canceled, the reconciled value should include + /// the value of any cancellation fees or non-refundable nights charged. Value + /// is in millionths of the base unit currency. For example, $12.35 would be + /// represented as 12350000. Currency unit is in the default customer currency. #[prost(int64, tag="8")] pub reconciled_value_micros: i64, - /// Output only. Whether a given booking has been billed. Once billed, a booking can't be - /// modified. + /// Output only. Whether a given booking has been billed. Once billed, a booking can't be + /// modified. #[prost(bool, tag="9")] pub billed: bool, - /// Required. Output only. Current status of a booking with regards to reconciliation and billing. - /// Bookings should be reconciled within 45 days after the check-out date. - /// Any booking not reconciled within 45 days will be billed at its original - /// value. + /// Required. Output only. Current status of a booking with regards to reconciliation and billing. + /// Bookings should be reconciled within 45 days after the check-out date. + /// Any booking not reconciled within 45 days will be billed at its original + /// value. #[prost(enumeration="super::enums::hotel_reconciliation_status_enum::HotelReconciliationStatus", tag="10")] pub status: i32, } -// Proto file describing the income range view resource. +// Proto file describing the income range view resource. -/// An income range view. +/// An income range view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncomeRangeView { - /// Output only. The resource name of the income range view. - /// Income range view resource names have the form: + /// Output only. The resource name of the income range view. + /// Income range view resource names have the form: /// - /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/incomeRangeViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Invoice resource. +// Proto file describing the Invoice resource. -/// An invoice. All invoice information is snapshotted to match the PDF invoice. -/// For invoices older than the launch of InvoiceService, the snapshotted -/// information may not match the PDF invoice. +/// An invoice. All invoice information is snapshotted to match the PDF invoice. +/// For invoices older than the launch of InvoiceService, the snapshotted +/// information may not match the PDF invoice. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Invoice { - /// Output only. The resource name of the invoice. Multiple customers can share a given - /// invoice, so multiple resource names may point to the same invoice. - /// Invoice resource names have the form: + /// Output only. The resource name of the invoice. Multiple customers can share a given + /// invoice, so multiple resource names may point to the same invoice. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". + /// Output only. The ID of the invoice. It appears on the invoice PDF as "Invoice number". #[prost(string, optional, tag="25")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of invoice. + /// Output only. The type of invoice. #[prost(enumeration="super::enums::invoice_type_enum::InvoiceType", tag="3")] pub r#type: i32, - /// Output only. The resource name of this invoice’s billing setup. + /// Output only. The resource name of this invoice’s billing setup. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, optional, tag="26")] pub billing_setup: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 16 digit ID used to identify the payments account associated with the - /// billing setup, e.g. "1234-5678-9012-3456". It appears on the invoice PDF as - /// "Billing Account Number". + /// Output only. A 16 digit ID used to identify the payments account associated with the + /// billing setup, e.g. "1234-5678-9012-3456". It appears on the invoice PDF as + /// "Billing Account Number". #[prost(string, optional, tag="27")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// billing setup, e.g. "1234-5678-9012". It appears on the invoice PDF as - /// "Billing ID". + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// billing setup, e.g. "1234-5678-9012". It appears on the invoice PDF as + /// "Billing ID". #[prost(string, optional, tag="28")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as - /// either "Issue date" or "Invoice date". + /// Output only. The issue date in yyyy-mm-dd format. It appears on the invoice PDF as + /// either "Issue date" or "Invoice date". #[prost(string, optional, tag="29")] pub issue_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The due date in yyyy-mm-dd format. + /// Output only. The due date in yyyy-mm-dd format. #[prost(string, optional, tag="30")] pub due_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The service period date range of this invoice. The end date is inclusive. + /// Output only. The service period date range of this invoice. The end date is inclusive. #[prost(message, optional, tag="9")] pub service_date_range: ::core::option::Option, - /// Output only. The currency code. All costs are returned in this currency. A subset of the - /// currency codes derived from the ISO 4217 standard is supported. + /// Output only. The currency code. All costs are returned in this currency. A subset of the + /// currency codes derived from the ISO 4217 standard is supported. #[prost(string, optional, tag="31")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. + /// Output only. The pretax subtotal amount of invoice level adjustments, in micros. #[prost(int64, tag="19")] pub adjustments_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level adjustments, in micros. + /// Output only. The sum of taxes on the invoice level adjustments, in micros. #[prost(int64, tag="20")] pub adjustments_tax_amount_micros: i64, - /// Output only. The total amount of invoice level adjustments, in micros. + /// Output only. The total amount of invoice level adjustments, in micros. #[prost(int64, tag="21")] pub adjustments_total_amount_micros: i64, - /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. + /// Output only. The pretax subtotal amount of invoice level regulatory costs, in micros. #[prost(int64, tag="22")] pub regulatory_costs_subtotal_amount_micros: i64, - /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. + /// Output only. The sum of taxes on the invoice level regulatory costs, in micros. #[prost(int64, tag="23")] pub regulatory_costs_tax_amount_micros: i64, - /// Output only. The total amount of invoice level regulatory costs, in micros. + /// Output only. The total amount of invoice level regulatory costs, in micros. #[prost(int64, tag="24")] pub regulatory_costs_total_amount_micros: i64, - /// Output only. The pretax subtotal amount, in micros. This equals the - /// sum of the AccountBudgetSummary subtotal amounts, - /// Invoice.adjustments_subtotal_amount_micros, and - /// Invoice.regulatory_costs_subtotal_amount_micros. - /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no - /// longer included. + /// Output only. The pretax subtotal amount, in micros. This equals the + /// sum of the AccountBudgetSummary subtotal amounts, + /// Invoice.adjustments_subtotal_amount_micros, and + /// Invoice.regulatory_costs_subtotal_amount_micros. + /// Starting with v6, the Invoice.regulatory_costs_subtotal_amount_micros is no + /// longer included. #[prost(int64, optional, tag="33")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the - /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific - /// account budget. + /// Output only. The sum of all taxes on the invoice, in micros. This equals the sum of the + /// AccountBudgetSummary tax amounts, plus taxes not associated with a specific + /// account budget. #[prost(int64, optional, tag="34")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount, in micros. This equals the sum of - /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. - /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is - /// also added as it is no longer already included in - /// Invoice.tax_amount_micros. + /// Output only. The total amount, in micros. This equals the sum of + /// Invoice.subtotal_amount_micros and Invoice.tax_amount_micros. + /// Starting with v6, Invoice.regulatory_costs_subtotal_amount_micros is + /// also added as it is no longer already included in + /// Invoice.tax_amount_micros. #[prost(int64, optional, tag="35")] pub total_amount_micros: ::core::option::Option, - /// Output only. The resource name of the original invoice corrected, wrote off, or canceled - /// by this invoice, if applicable. If `corrected_invoice` is set, - /// `replaced_invoices` will not be set. - /// Invoice resource names have the form: + /// Output only. The resource name of the original invoice corrected, wrote off, or canceled + /// by this invoice, if applicable. If `corrected_invoice` is set, + /// `replaced_invoices` will not be set. + /// Invoice resource names have the form: /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, optional, tag="36")] pub corrected_invoice: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the original invoice(s) being rebilled or replaced by - /// this invoice, if applicable. There might be multiple replaced invoices due - /// to invoice consolidation. The replaced invoices may not belong to the same - /// payments account. If `replaced_invoices` is set, `corrected_invoice` will - /// not be set. - /// Invoice resource names have the form: - /// - /// `customers/{customer_id}/invoices/{invoice_id}` + /// Output only. The resource name of the original invoice(s) being rebilled or replaced by + /// this invoice, if applicable. There might be multiple replaced invoices due + /// to invoice consolidation. The replaced invoices may not belong to the same + /// payments account. If `replaced_invoices` is set, `corrected_invoice` will + /// not be set. + /// Invoice resource names have the form: + /// + /// `customers/{customer_id}/invoices/{invoice_id}` #[prost(string, repeated, tag="37")] pub replaced_invoices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth - /// token to request the PDF with this URL. + /// Output only. The URL to a PDF copy of the invoice. Users need to pass in their OAuth + /// token to request the PDF with this URL. #[prost(string, optional, tag="38")] pub pdf_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The list of summarized account budget information associated with this - /// invoice. + /// Output only. The list of summarized account budget information associated with this + /// invoice. #[prost(message, repeated, tag="18")] pub account_budget_summaries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Invoice`. pub mod invoice { - /// Represents a summarized account budget billable cost. + /// Represents a summarized account budget billable cost. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetSummary { - /// Output only. The resource name of the customer associated with this account budget. - /// This contains the customer ID, which appears on the invoice PDF as - /// "Account ID". - /// Customer resource names have the form: + /// Output only. The resource name of the customer associated with this account budget. + /// This contains the customer ID, which appears on the invoice PDF as + /// "Account ID". + /// Customer resource names have the form: /// - /// `customers/{customer_id}` + /// `customers/{customer_id}` #[prost(string, optional, tag="10")] pub customer: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The descriptive name of the account budget’s customer. It appears on the - /// invoice PDF as "Account". + /// Output only. The descriptive name of the account budget’s customer. It appears on the + /// invoice PDF as "Account". #[prost(string, optional, tag="11")] pub customer_descriptive_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The resource name of the account budget associated with this summarized - /// billable cost. - /// AccountBudget resource names have the form: + /// Output only. The resource name of the account budget associated with this summarized + /// billable cost. + /// AccountBudget resource names have the form: /// - /// `customers/{customer_id}/accountBudgets/{account_budget_id}` + /// `customers/{customer_id}/accountBudgets/{account_budget_id}` #[prost(string, optional, tag="12")] pub account_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the account budget. It appears on the invoice PDF as "Account - /// budget". + /// Output only. The name of the account budget. It appears on the invoice PDF as "Account + /// budget". #[prost(string, optional, tag="13")] pub account_budget_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The purchase order number of the account budget. It appears on the - /// invoice PDF as "Purchase order". + /// Output only. The purchase order number of the account budget. It appears on the + /// invoice PDF as "Purchase order". #[prost(string, optional, tag="14")] pub purchase_order_number: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The pretax subtotal amount attributable to this budget during the service - /// period, in micros. + /// Output only. The pretax subtotal amount attributable to this budget during the service + /// period, in micros. #[prost(int64, optional, tag="15")] pub subtotal_amount_micros: ::core::option::Option, - /// Output only. The tax amount attributable to this budget during the service period, in - /// micros. + /// Output only. The tax amount attributable to this budget during the service period, in + /// micros. #[prost(int64, optional, tag="16")] pub tax_amount_micros: ::core::option::Option, - /// Output only. The total amount attributable to this budget during the service period, - /// in micros. This equals the sum of the account budget subtotal amount and - /// the account budget tax amount. + /// Output only. The total amount attributable to this budget during the service period, + /// in micros. This equals the sum of the account budget subtotal amount and + /// the account budget tax amount. #[prost(int64, optional, tag="17")] pub total_amount_micros: ::core::option::Option, - /// Output only. The billable activity date range of the account budget, within the - /// service date range of this invoice. The end date is inclusive. This can - /// be different from the account budget's start and end time. + /// Output only. The billable activity date range of the account budget, within the + /// service date range of this invoice. The end date is inclusive. This can + /// be different from the account budget's start and end time. #[prost(message, optional, tag="9")] pub billable_activity_date_range: ::core::option::Option, } } -// Proto file describing the keyword plan resource. +// Proto file describing the keyword plan resource. -/// A Keyword Planner plan. -/// Max number of saved keyword plans: 10000. -/// It's possible to remove plans if limit is reached. +/// A Keyword Planner plan. +/// Max number of saved keyword plans: 10000. +/// It's possible to remove plans if limit is reached. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlan { - /// Immutable. The resource name of the Keyword Planner plan. - /// KeywordPlan resource names have the form: + /// Immutable. The resource name of the Keyword Planner plan. + /// KeywordPlan resource names have the form: /// - /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` + /// `customers/{customer_id}/keywordPlans/{kp_plan_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the keyword plan. + /// Output only. The ID of the keyword plan. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the keyword plan. + /// The name of the keyword plan. /// - /// This field is required and should not be empty when creating new keyword - /// plans. + /// This field is required and should not be empty when creating new keyword + /// plans. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The date period used for forecasting the plan. + /// The date period used for forecasting the plan. #[prost(message, optional, tag="4")] pub forecast_period: ::core::option::Option, } -/// The forecasting period associated with the keyword plan. +/// The forecasting period associated with the keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanForecastPeriod { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[prost(oneof="keyword_plan_forecast_period::Interval", tags="1, 2")] pub interval: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanForecastPeriod`. pub mod keyword_plan_forecast_period { - /// Required. The date used for forecasting the Plan. + /// Required. The date used for forecasting the Plan. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Interval { - /// A future date range relative to the current date used for forecasting. + /// A future date range relative to the current date used for forecasting. #[prost(enumeration="super::super::enums::keyword_plan_forecast_interval_enum::KeywordPlanForecastInterval", tag="1")] DateInterval(i32), - /// The custom date range used for forecasting. - /// The start and end dates must be in the future. Otherwise, an error will - /// be returned when the forecasting action is performed. - /// The start and end dates are inclusive. + /// The custom date range used for forecasting. + /// The start and end dates must be in the future. Otherwise, an error will + /// be returned when the forecasting action is performed. + /// The start and end dates are inclusive. #[prost(message, tag="2")] DateRange(super::super::common::DateRange), } } -// Proto file describing the keyword plan ad group resource. +// Proto file describing the keyword plan ad group resource. -/// A Keyword Planner ad group. -/// Max number of keyword plan ad groups per plan: 200. +/// A Keyword Planner ad group. +/// Max number of keyword plan ad groups per plan: 200. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroup { - /// Immutable. The resource name of the Keyword Planner ad group. - /// KeywordPlanAdGroup resource names have the form: + /// Immutable. The resource name of the Keyword Planner ad group. + /// KeywordPlanAdGroup resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan campaign to which this ad group belongs. + /// The keyword plan campaign to which this ad group belongs. #[prost(string, optional, tag="6")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the keyword plan ad group. + /// Output only. The ID of the keyword plan ad group. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// The name of the keyword plan ad group. + /// The name of the keyword plan ad group. /// - /// This field is required and should not be empty when creating keyword plan - /// ad group. + /// This field is required and should not be empty when creating keyword plan + /// ad group. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A default ad group max cpc bid in micros in account currency for all - /// biddable keywords under the keyword plan ad group. - /// If not set, will inherit from parent campaign. + /// A default ad group max cpc bid in micros in account currency for all + /// biddable keywords under the keyword plan ad group. + /// If not set, will inherit from parent campaign. #[prost(int64, optional, tag="9")] pub cpc_bid_micros: ::core::option::Option, } -// Proto file describing the keyword plan ad group keyword resource. +// Proto file describing the keyword plan ad group keyword resource. -/// A Keyword Plan ad group keyword. -/// Max number of keyword plan keywords per plan: 10000. +/// A Keyword Plan ad group keyword. +/// Max number of keyword plan keywords per plan: 10000. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeyword { - /// Immutable. The resource name of the Keyword Plan ad group keyword. - /// KeywordPlanAdGroupKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan ad group keyword. + /// KeywordPlanAdGroupKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan ad group to which this keyword belongs. + /// The Keyword Plan ad group to which this keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan keyword. + /// Output only. The ID of the Keyword Plan keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// A keyword level max cpc bid in micros (e.g. $1 = 1mm). The currency is the - /// same as the account currency code. This will override any CPC bid set at - /// the keyword plan ad group level. - /// Not applicable for negative keywords. (negative = true) - /// This field is Optional. + /// A keyword level max cpc bid in micros (e.g. $1 = 1mm). The currency is the + /// same as the account currency code. This will override any CPC bid set at + /// the keyword plan ad group level. + /// Not applicable for negative keywords. (negative = true) + /// This field is Optional. #[prost(int64, optional, tag="11")] pub cpc_bid_micros: ::core::option::Option, - /// Immutable. If true, the keyword is negative. + /// Immutable. If true, the keyword is negative. #[prost(bool, optional, tag="12")] pub negative: ::core::option::Option, } -// Proto file describing the keyword plan campaign resource. +// Proto file describing the keyword plan campaign resource. -/// A Keyword Plan campaign. -/// Max number of keyword plan campaigns per plan allowed: 1. +/// A Keyword Plan campaign. +/// Max number of keyword plan campaigns per plan allowed: 1. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaign { - /// Immutable. The resource name of the Keyword Plan campaign. - /// KeywordPlanCampaign resource names have the form: + /// Immutable. The resource name of the Keyword Plan campaign. + /// KeywordPlanCampaign resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{kp_campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The keyword plan this campaign belongs to. + /// The keyword plan this campaign belongs to. #[prost(string, optional, tag="9")] pub keyword_plan: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan campaign. + /// Output only. The ID of the Keyword Plan campaign. #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// The name of the Keyword Plan campaign. + /// The name of the Keyword Plan campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(string, optional, tag="11")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The languages targeted for the Keyword Plan campaign. - /// Max allowed: 1. + /// The languages targeted for the Keyword Plan campaign. + /// Max allowed: 1. #[prost(string, repeated, tag="12")] pub language_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Targeting network. + /// Targeting network. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="6")] pub keyword_plan_network: i32, - /// A default max cpc bid in micros, and in the account currency, for all ad - /// groups under the campaign. + /// A default max cpc bid in micros, and in the account currency, for all ad + /// groups under the campaign. /// - /// This field is required and should not be empty when creating Keyword Plan - /// campaigns. + /// This field is required and should not be empty when creating Keyword Plan + /// campaigns. #[prost(int64, optional, tag="13")] pub cpc_bid_micros: ::core::option::Option, - /// The geo targets. - /// Max number allowed: 20. + /// The geo targets. + /// Max number allowed: 20. #[prost(message, repeated, tag="8")] pub geo_targets: ::prost::alloc::vec::Vec, } -/// A geo target. +/// A geo target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanGeoTarget { - /// Required. The resource name of the geo target. + /// Required. The resource name of the geo target. #[prost(string, optional, tag="2")] pub geo_target_constant: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword plan negative keyword resource. +// Proto file describing the keyword plan negative keyword resource. -/// A Keyword Plan Campaign keyword. -/// Only negative keywords are supported for Campaign Keyword. +/// A Keyword Plan Campaign keyword. +/// Only negative keywords are supported for Campaign Keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeyword { - /// Immutable. The resource name of the Keyword Plan Campaign keyword. - /// KeywordPlanCampaignKeyword resource names have the form: + /// Immutable. The resource name of the Keyword Plan Campaign keyword. + /// KeywordPlanCampaignKeyword resource names have the form: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The Keyword Plan campaign to which this negative keyword belongs. + /// The Keyword Plan campaign to which this negative keyword belongs. #[prost(string, optional, tag="8")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the Keyword Plan negative keyword. + /// Output only. The ID of the Keyword Plan negative keyword. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// The keyword text. + /// The keyword text. #[prost(string, optional, tag="10")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The keyword match type. + /// The keyword match type. #[prost(enumeration="super::enums::keyword_match_type_enum::KeywordMatchType", tag="5")] pub match_type: i32, - /// Immutable. If true, the keyword is negative. - /// Must be set to true. Only negative campaign keywords are supported. + /// Immutable. If true, the keyword is negative. + /// Must be set to true. Only negative campaign keywords are supported. #[prost(bool, optional, tag="11")] pub negative: ::core::option::Option, } -// Proto file describing the Smart Campaign keyword theme constant resource. +// Proto file describing the Smart Campaign keyword theme constant resource. -/// A Smart Campaign keyword theme constant. +/// A Smart Campaign keyword theme constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordThemeConstant { - /// Output only. The resource name of the keyword theme constant. - /// Keyword theme constant resource names have the form: + /// Output only. The resource name of the keyword theme constant. + /// Keyword theme constant resource names have the form: /// - /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` + /// `keywordThemeConstants/{keyword_theme_id}~{sub_keyword_theme_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-3166 Alpha-2 country code of the constant, eg. "US". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". - /// To display and query matching purpose, the keyword theme needs to be - /// localized. + /// Output only. The ISO-639-1 language code with 2 letters of the constant, eg. "en". + /// To display and query matching purpose, the keyword theme needs to be + /// localized. #[prost(string, optional, tag="3")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The display name of the keyword theme or sub keyword theme. + /// Output only. The display name of the keyword theme or sub keyword theme. #[prost(string, optional, tag="4")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the keyword view resource. +// Proto file describing the keyword view resource. -/// A keyword view. +/// A keyword view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordView { - /// Output only. The resource name of the keyword view. - /// Keyword view resource names have the form: + /// Output only. The resource name of the keyword view. + /// Keyword view resource names have the form: /// - /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/keywordViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// A label. +/// A label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Label { - /// Immutable. Name of the resource. - /// Label resource names have the form: - /// `customers/{customer_id}/labels/{label_id}` + /// Immutable. Name of the resource. + /// Label resource names have the form: + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the label. Read only. + /// Output only. Id of the label. Read only. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// The name of the label. + /// The name of the label. /// - /// This field is required and should not be empty when creating a new label. + /// This field is required and should not be empty when creating a new label. /// - /// The length of this string should be between 1 and 80, inclusive. + /// The length of this string should be between 1 and 80, inclusive. #[prost(string, optional, tag="7")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Status of the label. Read only. + /// Output only. Status of the label. Read only. #[prost(enumeration="super::enums::label_status_enum::LabelStatus", tag="4")] pub status: i32, - /// A type of label displaying text on a colored background. + /// A type of label displaying text on a colored background. #[prost(message, optional, tag="5")] pub text_label: ::core::option::Option, } -// Proto file describing the landing page view resource. +// Proto file describing the landing page view resource. -/// A landing page view with metrics aggregated at the unexpanded final URL -/// level. +/// A landing page view with metrics aggregated at the unexpanded final URL +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LandingPageView { - /// Output only. The resource name of the landing page view. - /// Landing page view resource names have the form: + /// Output only. The resource name of the landing page view. + /// Landing page view resource names have the form: /// - /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` + /// `customers/{customer_id}/landingPageViews/{unexpanded_final_url_fingerprint}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The advertiser-specified final URL. + /// Output only. The advertiser-specified final URL. #[prost(string, optional, tag="3")] pub unexpanded_final_url: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the language constant resource. +// Proto file describing the language constant resource. -/// A language. +/// A language. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LanguageConstant { - /// Output only. The resource name of the language constant. - /// Language constant resource names have the form: + /// Output only. The resource name of the language constant. + /// Language constant resource names have the form: /// - /// `languageConstants/{criterion_id}` + /// `languageConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the language constant. + /// Output only. The ID of the language constant. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc. + /// Output only. The language code, e.g. "en_US", "en_AU", "es", "fr", etc. #[prost(string, optional, tag="7")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The full name of the language in English, e.g., "English (US)", "Spanish", - /// etc. + /// Output only. The full name of the language in English, e.g., "English (US)", "Spanish", + /// etc. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the language is targetable. + /// Output only. Whether the language is targetable. #[prost(bool, optional, tag="9")] pub targetable: ::core::option::Option, } -// Proto file describing the Life Event resource. +// Proto file describing the Life Event resource. -/// A life event: a particular interest-based vertical to be targeted to reach -/// users when they are in the midst of important life milestones. +/// A life event: a particular interest-based vertical to be targeted to reach +/// users when they are in the midst of important life milestones. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifeEvent { - /// Output only. The resource name of the life event. - /// Life event resource names have the form: + /// Output only. The resource name of the life event. + /// Life event resource names have the form: /// - /// `customers/{customer_id}/lifeEvents/{life_event_id}` + /// `customers/{customer_id}/lifeEvents/{life_event_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the life event. + /// Output only. The ID of the life event. #[prost(int64, tag="2")] pub id: i64, - /// Output only. The name of the life event. E.g.,"Recently Moved" + /// Output only. The name of the life event. E.g.,"Recently Moved" #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Output only. The parent of the life_event. + /// Output only. The parent of the life_event. #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, - /// Output only. True if the life event is launched to all channels and locales. + /// Output only. True if the life event is launched to all channels and locales. #[prost(bool, tag="5")] pub launched_to_all: bool, - /// Output only. Availability information of the life event. + /// Output only. Availability information of the life event. #[prost(message, repeated, tag="6")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the location view resource. +// Proto file describing the location view resource. -/// A location view summarizes the performance of campaigns by -/// Location criteria. +/// A location view summarizes the performance of campaigns by +/// Location criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationView { - /// Output only. The resource name of the location view. - /// Location view resource names have the form: + /// Output only. The resource name of the location view. + /// Location view resource names have the form: /// - /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/locationViews/{campaign_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Managed Placement view resource. +// Proto file describing the Managed Placement view resource. -/// A managed placement view. +/// A managed placement view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedPlacementView { - /// Output only. The resource name of the Managed Placement view. - /// Managed placement view resource names have the form: + /// Output only. The resource name of the Managed Placement view. + /// Managed placement view resource names have the form: /// - /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/managedPlacementViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the media file resource. +// Proto file describing the media file resource. -/// A media file. +/// A media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFile { - /// Immutable. The resource name of the media file. - /// Media file resource names have the form: + /// Immutable. The resource name of the media file. + /// Media file resource names have the form: /// - /// `customers/{customer_id}/mediaFiles/{media_file_id}` + /// `customers/{customer_id}/mediaFiles/{media_file_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the media file. + /// Output only. The ID of the media file. #[prost(int64, optional, tag="12")] pub id: ::core::option::Option, - /// Immutable. Type of the media file. + /// Immutable. Type of the media file. #[prost(enumeration="super::enums::media_type_enum::MediaType", tag="5")] pub r#type: i32, - /// Output only. The mime type of the media file. + /// Output only. The mime type of the media file. #[prost(enumeration="super::enums::mime_type_enum::MimeType", tag="6")] pub mime_type: i32, - /// Immutable. The URL of where the original media file was downloaded from (or a file - /// name). Only used for media of type AUDIO and IMAGE. + /// Immutable. The URL of where the original media file was downloaded from (or a file + /// name). Only used for media of type AUDIO and IMAGE. #[prost(string, optional, tag="13")] pub source_url: ::core::option::Option<::prost::alloc::string::String>, - /// Immutable. The name of the media file. The name can be used by clients to help - /// identify previously uploaded media. + /// Immutable. The name of the media file. The name can be used by clients to help + /// identify previously uploaded media. #[prost(string, optional, tag="14")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The size of the media file in bytes. + /// Output only. The size of the media file in bytes. #[prost(int64, optional, tag="15")] pub file_size: ::core::option::Option, - /// The specific type of the media file. + /// The specific type of the media file. #[prost(oneof="media_file::Mediatype", tags="3, 4, 10, 11")] pub mediatype: ::core::option::Option, } /// Nested message and enum types in `MediaFile`. pub mod media_file { - /// The specific type of the media file. + /// The specific type of the media file. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mediatype { - /// Immutable. Encapsulates an Image. + /// Immutable. Encapsulates an Image. #[prost(message, tag="3")] Image(super::MediaImage), - /// Immutable. A ZIP archive media the content of which contains HTML5 assets. + /// Immutable. A ZIP archive media the content of which contains HTML5 assets. #[prost(message, tag="4")] MediaBundle(super::MediaBundle), - /// Output only. Encapsulates an Audio. + /// Output only. Encapsulates an Audio. #[prost(message, tag="10")] Audio(super::MediaAudio), - /// Immutable. Encapsulates a Video. + /// Immutable. Encapsulates a Video. #[prost(message, tag="11")] Video(super::MediaVideo), } } -/// Encapsulates an Image. +/// Encapsulates an Image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaImage { - /// Immutable. Raw image data. + /// Immutable. Raw image data. #[prost(bytes="vec", optional, tag="4")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to the full size version of the image. + /// Output only. The url to the full size version of the image. #[prost(string, optional, tag="2")] pub full_size_image_url: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The url to the preview size version of the image. + /// Output only. The url to the preview size version of the image. #[prost(string, optional, tag="3")] pub preview_size_image_url: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a ZIP archive media the content of which contains HTML5 assets. +/// Represents a ZIP archive media the content of which contains HTML5 assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaBundle { - /// Immutable. Raw zipped data. + /// Immutable. Raw zipped data. #[prost(bytes="vec", optional, tag="3")] pub data: ::core::option::Option<::prost::alloc::vec::Vec>, - /// Output only. The url to access the uploaded zipped data. - /// E.g. - /// This field is read-only. + /// Output only. The url to access the uploaded zipped data. + /// E.g. + /// This field is read-only. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Encapsulates an Audio. +/// Encapsulates an Audio. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaAudio { - /// Output only. The duration of the Audio in milliseconds. + /// Output only. The duration of the Audio in milliseconds. #[prost(int64, optional, tag="2")] pub ad_duration_millis: ::core::option::Option, } -/// Encapsulates a Video. +/// Encapsulates a Video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaVideo { - /// Output only. The duration of the Video in milliseconds. + /// Output only. The duration of the Video in milliseconds. #[prost(int64, optional, tag="5")] pub ad_duration_millis: ::core::option::Option, - /// Immutable. The YouTube video ID (as seen in YouTube URLs). Adding prefix - /// ", - /// Output only. The Advertising Digital Identification code for this video, as defined by - /// the American Association of Advertising Agencies, used mainly for - /// television commercials. + /// Output only. The Advertising Digital Identification code for this video, as defined by + /// the American Association of Advertising Agencies, used mainly for + /// television commercials. #[prost(string, optional, tag="7")] pub advertising_id_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The Industry Standard Commercial Identifier code for this video, used - /// mainly for television commercials. + /// Output only. The Industry Standard Commercial Identifier code for this video, used + /// mainly for television commercials. #[prost(string, optional, tag="8")] pub isci_code: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Merchant Center link resource. +// Proto file describing the Merchant Center link resource. -/// A data sharing connection, proposed or in use, -/// between a Google Ads Customer and a Merchant Center account. +/// A data sharing connection, proposed or in use, +/// between a Google Ads Customer and a Merchant Center account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLink { - /// Immutable. The resource name of the merchant center link. - /// Merchant center link resource names have the form: + /// Immutable. The resource name of the merchant center link. + /// Merchant center link resource names have the form: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the Merchant Center account. - /// This field is readonly. + /// Output only. The ID of the Merchant Center account. + /// This field is readonly. #[prost(int64, optional, tag="6")] pub id: ::core::option::Option, - /// Output only. The name of the Merchant Center account. - /// This field is readonly. + /// Output only. The name of the Merchant Center account. + /// This field is readonly. #[prost(string, optional, tag="7")] pub merchant_center_account_name: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the link. + /// The status of the link. #[prost(enumeration="super::enums::merchant_center_link_status_enum::MerchantCenterLinkStatus", tag="5")] pub status: i32, } -// Proto file describing the Mobile App Category Constant resource. +// Proto file describing the Mobile App Category Constant resource. -/// A mobile application category constant. +/// A mobile application category constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileAppCategoryConstant { - /// Output only. The resource name of the mobile app category constant. - /// Mobile app category constant resource names have the form: + /// Output only. The resource name of the mobile app category constant. + /// Mobile app category constant resource names have the form: /// - /// `mobileAppCategoryConstants/{mobile_app_category_id}` + /// `mobileAppCategoryConstants/{mobile_app_category_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile app category constant. + /// Output only. The ID of the mobile app category constant. #[prost(int32, optional, tag="4")] pub id: ::core::option::Option, - /// Output only. Mobile app category name. + /// Output only. Mobile app category name. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the mobile device constant resource. +// Proto file describing the mobile device constant resource. -/// A mobile device constant. +/// A mobile device constant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MobileDeviceConstant { - /// Output only. The resource name of the mobile device constant. - /// Mobile device constant resource names have the form: + /// Output only. The resource name of the mobile device constant. + /// Mobile device constant resource names have the form: /// - /// `mobileDeviceConstants/{criterion_id}` + /// `mobileDeviceConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the mobile device constant. + /// Output only. The ID of the mobile device constant. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. The name of the mobile device. + /// Output only. The name of the mobile device. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The manufacturer of the mobile device. + /// Output only. The manufacturer of the mobile device. #[prost(string, optional, tag="9")] pub manufacturer_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The operating system of the mobile device. + /// Output only. The operating system of the mobile device. #[prost(string, optional, tag="10")] pub operating_system_name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The type of mobile device. + /// Output only. The type of mobile device. #[prost(enumeration="super::enums::mobile_device_type_enum::MobileDeviceType", tag="6")] pub r#type: i32, } -// Proto file describing the offline user data job resource. +// Proto file describing the offline user data job resource. -/// A job containing offline user data of store visitors, or user list members -/// that will be processed asynchronously. The uploaded data isn't readable and -/// the processing results of the job can only be read using -/// OfflineUserDataJobService.GetOfflineUserDataJob. +/// A job containing offline user data of store visitors, or user list members +/// that will be processed asynchronously. The uploaded data isn't readable and +/// the processing results of the job can only be read using +/// OfflineUserDataJobService.GetOfflineUserDataJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJob { - /// Immutable. The resource name of the offline user data job. - /// Offline user data job resource names have the form: + /// Immutable. The resource name of the offline user data job. + /// Offline user data job resource names have the form: /// - /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` + /// `customers/{customer_id}/offlineUserDataJobs/{offline_user_data_job_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of this offline user data job. + /// Output only. ID of this offline user data job. #[prost(int64, optional, tag="9")] pub id: ::core::option::Option, - /// Immutable. User specified job ID. + /// Immutable. User specified job ID. #[prost(int64, optional, tag="10")] pub external_id: ::core::option::Option, - /// Immutable. Type of the job. + /// Immutable. Type of the job. #[prost(enumeration="super::enums::offline_user_data_job_type_enum::OfflineUserDataJobType", tag="4")] pub r#type: i32, - /// Output only. Status of the job. + /// Output only. Status of the job. #[prost(enumeration="super::enums::offline_user_data_job_status_enum::OfflineUserDataJobStatus", tag="5")] pub status: i32, - /// Output only. Reason for the processing failure, if status is FAILED. + /// Output only. Reason for the processing failure, if status is FAILED. #[prost(enumeration="super::enums::offline_user_data_job_failure_reason_enum::OfflineUserDataJobFailureReason", tag="6")] pub failure_reason: i32, - /// Output only. Metadata of offline user data job depicting match rate range. + /// Output only. Metadata of offline user data job depicting match rate range. #[prost(message, optional, tag="11")] pub operation_metadata: ::core::option::Option, - /// Metadata of the job. + /// Metadata of the job. #[prost(oneof="offline_user_data_job::Metadata", tags="7, 8")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJob`. pub mod offline_user_data_job { - /// Metadata of the job. + /// Metadata of the job. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Immutable. Metadata for data updates to a CRM-based user list. + /// Immutable. Metadata for data updates to a CRM-based user list. #[prost(message, tag="7")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), - /// Immutable. Metadata for store sales data update. + /// Immutable. Metadata for store sales data update. #[prost(message, tag="8")] StoreSalesMetadata(super::super::common::StoreSalesMetadata), } } -/// Metadata of offline user data job. +/// Metadata of offline user data job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobMetadata { - /// Output only. Match rate of the Customer Match user list upload. Describes the estimated - /// match rate when the status of the job is “RUNNING” and final match rate - /// when the final match rate is available after the status of the job is - /// “SUCCESS/FAILED”. + /// Output only. Match rate of the Customer Match user list upload. Describes the estimated + /// match rate when the status of the job is “RUNNING” and final match rate + /// when the final match rate is available after the status of the job is + /// “SUCCESS/FAILED”. #[prost(enumeration="super::enums::offline_user_data_job_match_rate_range_enum::OfflineUserDataJobMatchRateRange", tag="1")] pub match_rate_range: i32, } -// Proto file describing the operating system version constant resource. +// Proto file describing the operating system version constant resource. -/// A mobile operating system version or a range of versions, depending on -/// `operator_type`. List of available mobile platforms at -/// +/// A mobile operating system version or a range of versions, depending on +/// `operator_type`. List of available mobile platforms at +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatingSystemVersionConstant { - /// Output only. The resource name of the operating system version constant. - /// Operating system version constant resource names have the form: + /// Output only. The resource name of the operating system version constant. + /// Operating system version constant resource names have the form: /// - /// `operatingSystemVersionConstants/{criterion_id}` + /// `operatingSystemVersionConstants/{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the operating system version. + /// Output only. The ID of the operating system version. #[prost(int64, optional, tag="7")] pub id: ::core::option::Option, - /// Output only. Name of the operating system. + /// Output only. Name of the operating system. #[prost(string, optional, tag="8")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The OS Major Version number. + /// Output only. The OS Major Version number. #[prost(int32, optional, tag="9")] pub os_major_version: ::core::option::Option, - /// Output only. The OS Minor Version number. + /// Output only. The OS Minor Version number. #[prost(int32, optional, tag="10")] pub os_minor_version: ::core::option::Option, - /// Output only. Determines whether this constant represents a single version or a range of - /// versions. + /// Output only. Determines whether this constant represents a single version or a range of + /// versions. #[prost(enumeration="super::enums::operating_system_version_operator_type_enum::OperatingSystemVersionOperatorType", tag="6")] pub operator_type: i32, } -// Proto file describing the PaidOrganicSearchTermView resource. +// Proto file describing the PaidOrganicSearchTermView resource. -/// A paid organic search term view providing a view of search stats across -/// ads and organic listings aggregated by search term at the ad group level. +/// A paid organic search term view providing a view of search stats across +/// ads and organic listings aggregated by search term at the ad group level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaidOrganicSearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ - /// {ad_group_id}~{URL-base64 search term}` + /// `customers/{customer_id}/paidOrganicSearchTermViews/{campaign_id}~ + /// {ad_group_id}~{URL-base64 search term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="3")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the parental status view resource. +// Proto file describing the parental status view resource. -/// A parental status view. +/// A parental status view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParentalStatusView { - /// Output only. The resource name of the parental status view. - /// Parental Status view resource names have the form: + /// Output only. The resource name of the parental status view. + /// Parental Status view resource names have the form: /// - /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/parentalStatusViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the PaymentsAccount resource. +// Proto file describing the PaymentsAccount resource. -/// A payments account, which can be used to set up billing for an Ads customer. +/// A payments account, which can be used to set up billing for an Ads customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PaymentsAccount { - /// Output only. The resource name of the payments account. - /// PaymentsAccount resource names have the form: + /// Output only. The resource name of the payments account. + /// PaymentsAccount resource names have the form: /// - /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` + /// `customers/{customer_id}/paymentsAccounts/{payments_account_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. A 16 digit ID used to identify a payments account. + /// Output only. A 16 digit ID used to identify a payments account. #[prost(string, optional, tag="8")] pub payments_account_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The name of the payments account. + /// Output only. The name of the payments account. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The currency code of the payments account. - /// A subset of the currency codes derived from the ISO 4217 standard is - /// supported. + /// Output only. The currency code of the payments account. + /// A subset of the currency codes derived from the ISO 4217 standard is + /// supported. #[prost(string, optional, tag="10")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A 12 digit ID used to identify the payments profile associated with the - /// payments account. + /// Output only. A 12 digit ID used to identify the payments profile associated with the + /// payments account. #[prost(string, optional, tag="11")] pub payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. A secondary payments profile ID present in uncommon situations, e.g. - /// when a sequential liability agreement has been arranged. + /// Output only. A secondary payments profile ID present in uncommon situations, e.g. + /// when a sequential liability agreement has been arranged. #[prost(string, optional, tag="12")] pub secondary_payments_profile_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Paying manager of this payment account. + /// Output only. Paying manager of this payment account. #[prost(string, optional, tag="13")] pub paying_manager_customer: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductBiddingCategoryConstant resource. +// Proto file describing the ProductBiddingCategoryConstant resource. -/// A Product Bidding Category. +/// A Product Bidding Category. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductBiddingCategoryConstant { - /// Output only. The resource name of the product bidding category. - /// Product bidding category resource names have the form: + /// Output only. The resource name of the product bidding category. + /// Product bidding category resource names have the form: /// - /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` + /// `productBiddingCategoryConstants/{country_code}~{level}~{id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. ID of the product bidding category. + /// Output only. ID of the product bidding category. /// - /// This ID is equivalent to the google_product_category ID as described in - /// this article: + /// This ID is equivalent to the google_product_category ID as described in + /// this article: #[prost(int64, optional, tag="10")] pub id: ::core::option::Option, - /// Output only. Two-letter upper-case country code of the product bidding category. + /// Output only. Two-letter upper-case country code of the product bidding category. #[prost(string, optional, tag="11")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Resource name of the parent product bidding category. + /// Output only. Resource name of the parent product bidding category. #[prost(string, optional, tag="12")] pub product_bidding_category_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Level of the product bidding category. + /// Output only. Level of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_level_enum::ProductBiddingCategoryLevel", tag="5")] pub level: i32, - /// Output only. Status of the product bidding category. + /// Output only. Status of the product bidding category. #[prost(enumeration="super::enums::product_bidding_category_status_enum::ProductBiddingCategoryStatus", tag="6")] pub status: i32, - /// Output only. Language code of the product bidding category. + /// Output only. Language code of the product bidding category. #[prost(string, optional, tag="13")] pub language_code: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Display value of the product bidding category localized according to - /// language_code. + /// Output only. Display value of the product bidding category localized according to + /// language_code. #[prost(string, optional, tag="14")] pub localized_name: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the ProductGroup View resource. +// Proto file describing the ProductGroup View resource. -/// A product group view. +/// A product group view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductGroupView { - /// Output only. The resource name of the product group view. - /// Product group view resource names have the form: + /// Output only. The resource name of the product group view. + /// Product group view resource names have the form: /// - /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/productGroupViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the Recommendation resource. +// Proto file describing the Recommendation resource. -/// A recommendation. +/// A recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Recommendation { - /// Immutable. The resource name of the recommendation. + /// Immutable. The resource name of the recommendation. /// - /// `customers/{customer_id}/recommendations/{recommendation_id}` + /// `customers/{customer_id}/recommendations/{recommendation_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The type of recommendation. + /// Output only. The type of recommendation. #[prost(enumeration="super::enums::recommendation_type_enum::RecommendationType", tag="2")] pub r#type: i32, - /// Output only. The impact on account performance as a result of applying the - /// recommendation. + /// Output only. The impact on account performance as a result of applying the + /// recommendation. #[prost(message, optional, tag="3")] pub impact: ::core::option::Option, - /// Output only. The budget targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign budget. + /// Output only. The budget targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign budget. /// - /// This field will be set for the following recommendation types: - /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, - /// MOVE_UNUSED_BUDGET + /// This field will be set for the following recommendation types: + /// CAMPAIGN_BUDGET, FORECASTING_CAMPAIGN_BUDGET, MARGINAL_ROI_CAMPAIGN_BUDGET, + /// MOVE_UNUSED_BUDGET #[prost(string, optional, tag="24")] pub campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The campaign targeted by this recommendation. This will be set only when - /// the recommendation affects a single campaign. - /// - /// This field will be set for the following recommendation types: - /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, KEYWORD, - /// KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, - /// OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, SEARCH_PARTNERS_OPT_IN, - /// SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD + /// Output only. The campaign targeted by this recommendation. This will be set only when + /// the recommendation affects a single campaign. + /// + /// This field will be set for the following recommendation types: + /// CALL_EXTENSION, CALLOUT_EXTENSION, ENHANCED_CPC_OPT_IN, KEYWORD, + /// KEYWORD_MATCH_TYPE, MAXIMIZE_CLICKS_OPT_IN, MAXIMIZE_CONVERSIONS_OPT_IN, + /// OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, SEARCH_PARTNERS_OPT_IN, + /// SITELINK_EXTENSION, TARGET_CPA_OPT_IN, TARGET_ROAS_OPT_IN, TEXT_AD #[prost(string, optional, tag="25")] pub campaign: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group targeted by this recommendation. This will be set only when - /// the recommendation affects a single ad group. + /// Output only. The ad group targeted by this recommendation. This will be set only when + /// the recommendation affects a single ad group. /// - /// This field will be set for the following recommendation types: - /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, TEXT_AD + /// This field will be set for the following recommendation types: + /// KEYWORD, OPTIMIZE_AD_ROTATION, RESPONSIVE_SEARCH_AD, TEXT_AD #[prost(string, optional, tag="26")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Whether the recommendation is dismissed or not. + /// Output only. Whether the recommendation is dismissed or not. #[prost(bool, optional, tag="27")] pub dismissed: ::core::option::Option, - /// The details of recommendation. + /// The details of recommendation. #[prost(oneof="recommendation::Recommendation", tags="4, 22, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20, 21, 23, 28, 29")] pub recommendation: ::core::option::Option, } /// Nested message and enum types in `Recommendation`. pub mod recommendation { - /// The impact of making the change as described in the recommendation. - /// Some types of recommendations may not have impact information. + /// The impact of making the change as described in the recommendation. + /// Some types of recommendations may not have impact information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationImpact { - /// Output only. Base metrics at the time the recommendation was generated. + /// Output only. Base metrics at the time the recommendation was generated. #[prost(message, optional, tag="1")] pub base_metrics: ::core::option::Option, - /// Output only. Estimated metrics if the recommendation is applied. + /// Output only. Estimated metrics if the recommendation is applied. #[prost(message, optional, tag="2")] pub potential_metrics: ::core::option::Option, } - /// Weekly account performance metrics. For some recommendation types, these - /// are averaged over the past 90-day period and hence can be fractional. + /// Weekly account performance metrics. For some recommendation types, these + /// are averaged over the past 90-day period and hence can be fractional. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecommendationMetrics { - /// Output only. Number of ad impressions. + /// Output only. Number of ad impressions. #[prost(double, optional, tag="6")] pub impressions: ::core::option::Option, - /// Output only. Number of ad clicks. + /// Output only. Number of ad clicks. #[prost(double, optional, tag="7")] pub clicks: ::core::option::Option, - /// Output only. Cost (in micros) for advertising, in the local currency for the account. + /// Output only. Cost (in micros) for advertising, in the local currency for the account. #[prost(int64, optional, tag="8")] pub cost_micros: ::core::option::Option, - /// Output only. Number of conversions. + /// Output only. Number of conversions. #[prost(double, optional, tag="9")] pub conversions: ::core::option::Option, - /// Output only. Number of video views for a video ad campaign. + /// Output only. Number of video views for a video ad campaign. #[prost(double, optional, tag="10")] pub video_views: ::core::option::Option, } - /// The budget recommendation for budget constrained campaigns. + /// The budget recommendation for budget constrained campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendation { - /// Output only. The current budget amount in micros. + /// Output only. The current budget amount in micros. #[prost(int64, optional, tag="7")] pub current_budget_amount_micros: ::core::option::Option, - /// Output only. The recommended budget amount in micros. + /// Output only. The recommended budget amount in micros. #[prost(int64, optional, tag="8")] pub recommended_budget_amount_micros: ::core::option::Option, - /// Output only. The budget amounts and associated impact estimates for some values of - /// possible budget amounts. + /// Output only. The budget amounts and associated impact estimates for some values of + /// possible budget amounts. #[prost(message, repeated, tag="3")] pub budget_options: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CampaignBudgetRecommendation`. pub mod campaign_budget_recommendation { - /// The impact estimates for a given budget amount. + /// The impact estimates for a given budget amount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetRecommendationOption { - /// Output only. The budget amount for this option. + /// Output only. The budget amount for this option. #[prost(int64, optional, tag="3")] pub budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if budget is changed to amount specified in this - /// option. + /// Output only. The impact estimate if budget is changed to amount specified in this + /// option. #[prost(message, optional, tag="2")] pub impact: ::core::option::Option, } } - /// The keyword recommendation. + /// The keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordRecommendation { - /// Output only. The recommended keyword. + /// Output only. The recommended keyword. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended CPC (cost-per-click) bid. + /// Output only. The recommended CPC (cost-per-click) bid. #[prost(int64, optional, tag="3")] pub recommended_cpc_bid_micros: ::core::option::Option, } - /// The Target ROAS opt-in recommendation. + /// The Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInRecommendation { - /// Output only. The recommended target ROAS (revenue per unit of spend). - /// The value is between 0.01 and 1000.0, inclusive. + /// Output only. The recommended target ROAS (revenue per unit of spend). + /// The value is between 0.01 and 1000.0, inclusive. #[prost(double, optional, tag="1")] pub recommended_target_roas: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target ROAS. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target ROAS. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="2")] pub required_campaign_budget_amount_micros: ::core::option::Option, } - /// The text ad recommendation. + /// The text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, - /// Output only. Creation date of the recommended ad. - /// YYYY-MM-DD format, e.g., 2018-04-17. + /// Output only. Creation date of the recommended ad. + /// YYYY-MM-DD format, e.g., 2018-04-17. #[prost(string, optional, tag="4")] pub creation_date: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Date, if present, is the earliest when the recommendation will be auto - /// applied. - /// YYYY-MM-DD format, e.g., 2018-04-17. + /// Output only. Date, if present, is the earliest when the recommendation will be auto + /// applied. + /// YYYY-MM-DD format, e.g., 2018-04-17. #[prost(string, optional, tag="5")] pub auto_apply_date: ::core::option::Option<::prost::alloc::string::String>, } - /// The Maximize Clicks opt-in recommendation. + /// The Maximize Clicks opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeClicksOptInRecommendation { - /// Output only. The recommended new budget amount. - /// Only set if the current budget is too high. + /// Output only. The recommended new budget amount. + /// Only set if the current budget is too high. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Target CPA opt-in recommendation. + /// The Target CPA opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendation { - /// Output only. The available goals and corresponding options for Target CPA strategy. + /// Output only. The available goals and corresponding options for Target CPA strategy. #[prost(message, repeated, tag="1")] pub options: ::prost::alloc::vec::Vec, - /// Output only. The recommended average CPA target. See required budget amount and impact - /// of using this recommendation in options list. + /// Output only. The recommended average CPA target. See required budget amount and impact + /// of using this recommendation in options list. #[prost(int64, optional, tag="3")] pub recommended_target_cpa_micros: ::core::option::Option, } /// Nested message and enum types in `TargetCpaOptInRecommendation`. pub mod target_cpa_opt_in_recommendation { - /// The Target CPA opt-in option with impact estimate. + /// The Target CPA opt-in option with impact estimate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInRecommendationOption { - /// Output only. The goal achieved by this option. + /// Output only. The goal achieved by this option. #[prost(enumeration="super::super::super::enums::target_cpa_opt_in_recommendation_goal_enum::TargetCpaOptInRecommendationGoal", tag="1")] pub goal: i32, - /// Output only. Average CPA target. + /// Output only. Average CPA target. #[prost(int64, optional, tag="5")] pub target_cpa_micros: ::core::option::Option, - /// Output only. The minimum campaign budget, in local currency for the account, - /// required to achieve the target CPA. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// Output only. The minimum campaign budget, in local currency for the account, + /// required to achieve the target CPA. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, optional, tag="6")] pub required_campaign_budget_amount_micros: ::core::option::Option, - /// Output only. The impact estimate if this option is selected. + /// Output only. The impact estimate if this option is selected. #[prost(message, optional, tag="4")] pub impact: ::core::option::Option, } } - /// The Maximize Conversions Opt-In recommendation. + /// The Maximize Conversions Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MaximizeConversionsOptInRecommendation { - /// Output only. The recommended new budget amount. + /// Output only. The recommended new budget amount. #[prost(int64, optional, tag="2")] pub recommended_budget_amount_micros: ::core::option::Option, } - /// The Search Partners Opt-In recommendation. + /// The Search Partners Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchPartnersOptInRecommendation { } - /// The move unused budget recommendation. + /// The move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetRecommendation { - /// Output only. The excess budget's resource_name. + /// Output only. The excess budget's resource_name. #[prost(string, optional, tag="3")] pub excess_campaign_budget: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The recommendation for the constrained budget to increase. + /// Output only. The recommendation for the constrained budget to increase. #[prost(message, optional, tag="2")] pub budget_recommendation: ::core::option::Option, } - /// The Enhanced Cost-Per-Click Opt-In recommendation. + /// The Enhanced Cost-Per-Click Opt-In recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnhancedCpcOptInRecommendation { } - /// The Optimize Ad Rotation recommendation. + /// The Optimize Ad Rotation recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizeAdRotationRecommendation { } - /// The Callout extension recommendation. + /// The Callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionRecommendation { - /// Output only. Callout extensions recommended to be added. + /// Output only. Callout extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Sitelink extension recommendation. + /// The Sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionRecommendation { - /// Output only. Sitelink extensions recommended to be added. + /// Output only. Sitelink extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The Call extension recommendation. + /// The Call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionRecommendation { - /// Output only. Call extensions recommended to be added. + /// Output only. Call extensions recommended to be added. #[prost(message, repeated, tag="1")] pub recommended_extensions: ::prost::alloc::vec::Vec, } - /// The keyword match type recommendation. + /// The keyword match type recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordMatchTypeRecommendation { - /// Output only. The existing keyword where the match type should be more broad. + /// Output only. The existing keyword where the match type should be more broad. #[prost(message, optional, tag="1")] pub keyword: ::core::option::Option, - /// Output only. The recommended new match type. + /// Output only. The recommended new match type. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub recommended_match_type: i32, } - /// The add responsive search ad recommendation. + /// The add responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdRecommendation { - /// Output only. Recommended ad. + /// Output only. Recommended ad. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// The details of recommendation. + /// The details of recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Recommendation { - /// Output only. The campaign budget recommendation. + /// Output only. The campaign budget recommendation. #[prost(message, tag="4")] CampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The forecasting campaign budget recommendation. + /// Output only. The forecasting campaign budget recommendation. #[prost(message, tag="22")] ForecastingCampaignBudgetRecommendation(CampaignBudgetRecommendation), - /// Output only. The keyword recommendation. + /// Output only. The keyword recommendation. #[prost(message, tag="8")] KeywordRecommendation(KeywordRecommendation), - /// Output only. Add expanded text ad recommendation. + /// Output only. Add expanded text ad recommendation. #[prost(message, tag="9")] TextAdRecommendation(TextAdRecommendation), - /// Output only. The TargetCPA opt-in recommendation. + /// Output only. The TargetCPA opt-in recommendation. #[prost(message, tag="10")] TargetCpaOptInRecommendation(TargetCpaOptInRecommendation), - /// Output only. The MaximizeConversions Opt-In recommendation. + /// Output only. The MaximizeConversions Opt-In recommendation. #[prost(message, tag="11")] MaximizeConversionsOptInRecommendation(MaximizeConversionsOptInRecommendation), - /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. + /// Output only. The Enhanced Cost-Per-Click Opt-In recommendation. #[prost(message, tag="12")] EnhancedCpcOptInRecommendation(EnhancedCpcOptInRecommendation), - /// Output only. The Search Partners Opt-In recommendation. + /// Output only. The Search Partners Opt-In recommendation. #[prost(message, tag="14")] SearchPartnersOptInRecommendation(SearchPartnersOptInRecommendation), - /// Output only. The MaximizeClicks Opt-In recommendation. + /// Output only. The MaximizeClicks Opt-In recommendation. #[prost(message, tag="15")] MaximizeClicksOptInRecommendation(MaximizeClicksOptInRecommendation), - /// Output only. The Optimize Ad Rotation recommendation. + /// Output only. The Optimize Ad Rotation recommendation. #[prost(message, tag="16")] OptimizeAdRotationRecommendation(OptimizeAdRotationRecommendation), - /// Output only. The Callout extension recommendation. + /// Output only. The Callout extension recommendation. #[prost(message, tag="17")] CalloutExtensionRecommendation(CalloutExtensionRecommendation), - /// Output only. The Sitelink extension recommendation. + /// Output only. The Sitelink extension recommendation. #[prost(message, tag="18")] SitelinkExtensionRecommendation(SitelinkExtensionRecommendation), - /// Output only. The Call extension recommendation. + /// Output only. The Call extension recommendation. #[prost(message, tag="19")] CallExtensionRecommendation(CallExtensionRecommendation), - /// Output only. The keyword match type recommendation. + /// Output only. The keyword match type recommendation. #[prost(message, tag="20")] KeywordMatchTypeRecommendation(KeywordMatchTypeRecommendation), - /// Output only. The move unused budget recommendation. + /// Output only. The move unused budget recommendation. #[prost(message, tag="21")] MoveUnusedBudgetRecommendation(MoveUnusedBudgetRecommendation), - /// Output only. The Target ROAS opt-in recommendation. + /// Output only. The Target ROAS opt-in recommendation. #[prost(message, tag="23")] TargetRoasOptInRecommendation(TargetRoasOptInRecommendation), - /// Output only. The add responsive search ad recommendation. + /// Output only. The add responsive search ad recommendation. #[prost(message, tag="28")] ResponsiveSearchAdRecommendation(ResponsiveSearchAdRecommendation), - /// Output only. The marginal ROI campaign budget recommendation. + /// Output only. The marginal ROI campaign budget recommendation. #[prost(message, tag="29")] MarginalRoiCampaignBudgetRecommendation(CampaignBudgetRecommendation), } } -// Proto file describing the Remarketing Action resource. +// Proto file describing the Remarketing Action resource. -/// A remarketing action. A snippet of JavaScript code that will collect the -/// product id and the type of page people visited (product page, shopping cart -/// page, purchase page, general site visit) on an advertiser's website. +/// A remarketing action. A snippet of JavaScript code that will collect the +/// product id and the type of page people visited (product page, shopping cart +/// page, purchase page, general site visit) on an advertiser's website. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingAction { - /// Immutable. The resource name of the remarketing action. - /// Remarketing action resource names have the form: + /// Immutable. The resource name of the remarketing action. + /// Remarketing action resource names have the form: /// - /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` + /// `customers/{customer_id}/remarketingActions/{remarketing_action_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the remarketing action. + /// Output only. Id of the remarketing action. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// The name of the remarketing action. + /// The name of the remarketing action. /// - /// This field is required and should not be empty when creating new - /// remarketing actions. + /// This field is required and should not be empty when creating new + /// remarketing actions. #[prost(string, optional, tag="6")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The snippets used for tracking remarketing actions. + /// Output only. The snippets used for tracking remarketing actions. #[prost(message, repeated, tag="4")] pub tag_snippets: ::prost::alloc::vec::Vec, } -// Proto file describing the SearchTermView resource. +// Proto file describing the SearchTermView resource. -/// A search term view with metrics aggregated by search term at the ad group -/// level. +/// A search term view with metrics aggregated by search term at the ad group +/// level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchTermView { - /// Output only. The resource name of the search term view. - /// Search term view resource names have the form: + /// Output only. The resource name of the search term view. + /// Search term view resource names have the form: /// - /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/searchTermViews/{campaign_id}~{ad_group_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, optional, tag="5")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ad group the search term served in. + /// Output only. The ad group the search term served in. #[prost(string, optional, tag="6")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. Indicates whether the search term is currently one of your - /// targeted or excluded keywords. + /// Output only. Indicates whether the search term is currently one of your + /// targeted or excluded keywords. #[prost(enumeration="super::enums::search_term_targeting_status_enum::SearchTermTargetingStatus", tag="4")] pub status: i32, } -// Proto file describing the SharedCriterion resource. +// Proto file describing the SharedCriterion resource. -/// A criterion belonging to a shared set. +/// A criterion belonging to a shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterion { - /// Immutable. The resource name of the shared criterion. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared criterion. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Immutable. The shared set to which the shared criterion belongs. + /// Immutable. The shared set to which the shared criterion belongs. #[prost(string, optional, tag="10")] pub shared_set: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The ID of the criterion. + /// Output only. The ID of the criterion. /// - /// This field is ignored for mutates. + /// This field is ignored for mutates. #[prost(int64, optional, tag="11")] pub criterion_id: ::core::option::Option, - /// Output only. The type of the criterion. + /// Output only. The type of the criterion. #[prost(enumeration="super::enums::criterion_type_enum::CriterionType", tag="4")] pub r#type: i32, - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="shared_criterion::Criterion", tags="3, 5, 6, 7, 8, 9")] pub criterion: ::core::option::Option, } /// Nested message and enum types in `SharedCriterion`. pub mod shared_criterion { - /// The criterion. + /// The criterion. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Criterion { - /// Immutable. Keyword. + /// Immutable. Keyword. #[prost(message, tag="3")] Keyword(super::super::common::KeywordInfo), - /// Immutable. YouTube Video. + /// Immutable. YouTube Video. #[prost(message, tag="5")] YoutubeVideo(super::super::common::YouTubeVideoInfo), - /// Immutable. YouTube Channel. + /// Immutable. YouTube Channel. #[prost(message, tag="6")] YoutubeChannel(super::super::common::YouTubeChannelInfo), - /// Immutable. Placement. + /// Immutable. Placement. #[prost(message, tag="7")] Placement(super::super::common::PlacementInfo), - /// Immutable. Mobile App Category. + /// Immutable. Mobile App Category. #[prost(message, tag="8")] MobileAppCategory(super::super::common::MobileAppCategoryInfo), - /// Immutable. Mobile application. + /// Immutable. Mobile application. #[prost(message, tag="9")] MobileApplication(super::super::common::MobileApplicationInfo), } } -// Proto file describing the SharedSet resource. +// Proto file describing the SharedSet resource. -/// SharedSets are used for sharing criterion exclusions across multiple -/// campaigns. +/// SharedSets are used for sharing criterion exclusions across multiple +/// campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSet { - /// Immutable. The resource name of the shared set. - /// Shared set resource names have the form: + /// Immutable. The resource name of the shared set. + /// Shared set resource names have the form: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of this shared set. Read only. + /// Output only. The ID of this shared set. Read only. #[prost(int64, optional, tag="8")] pub id: ::core::option::Option, - /// Immutable. The type of this shared set: each shared set holds only a single kind - /// of resource. Required. Immutable. + /// Immutable. The type of this shared set: each shared set holds only a single kind + /// of resource. Required. Immutable. #[prost(enumeration="super::enums::shared_set_type_enum::SharedSetType", tag="3")] pub r#type: i32, - /// The name of this shared set. Required. - /// Shared Sets must have names that are unique among active shared sets of - /// the same type. - /// The length of this string should be between 1 and 255 UTF-8 bytes, - /// inclusive. + /// The name of this shared set. Required. + /// Shared Sets must have names that are unique among active shared sets of + /// the same type. + /// The length of this string should be between 1 and 255 UTF-8 bytes, + /// inclusive. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The status of this shared set. Read only. + /// Output only. The status of this shared set. Read only. #[prost(enumeration="super::enums::shared_set_status_enum::SharedSetStatus", tag="5")] pub status: i32, - /// Output only. The number of shared criteria within this shared set. Read only. + /// Output only. The number of shared criteria within this shared set. Read only. #[prost(int64, optional, tag="10")] pub member_count: ::core::option::Option, - /// Output only. The number of campaigns associated with this shared set. Read only. + /// Output only. The number of campaigns associated with this shared set. Read only. #[prost(int64, optional, tag="11")] pub reference_count: ::core::option::Option, } -// Proto file describing the ShoppingPerformanceView resource. +// Proto file describing the ShoppingPerformanceView resource. -/// Shopping performance view. -/// Provides Shopping campaign statistics aggregated at several product dimension -/// levels. Product dimension values from Merchant Center such as brand, -/// category, custom attributes, product condition and product type will reflect -/// the state of each dimension as of the date and time when the corresponding -/// event was recorded. +/// Shopping performance view. +/// Provides Shopping campaign statistics aggregated at several product dimension +/// levels. Product dimension values from Merchant Center such as brand, +/// category, custom attributes, product condition and product type will reflect +/// the state of each dimension as of the date and time when the corresponding +/// event was recorded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShoppingPerformanceView { - /// Output only. The resource name of the Shopping performance view. - /// Shopping performance view resource names have the form: - /// `customers/{customer_id}/shoppingPerformanceView` + /// Output only. The resource name of the Shopping performance view. + /// Shopping performance view resource names have the form: + /// `customers/{customer_id}/shoppingPerformanceView` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the SmartCampaignSearchTermView resource. +// Proto file describing the SmartCampaignSearchTermView resource. -/// A Smart campaign search term view. +/// A Smart campaign search term view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSearchTermView { - /// Output only. The resource name of the Smart campaign search term view. - /// Smart campaign search term view resource names have the form: + /// Output only. The resource name of the Smart campaign search term view. + /// Smart campaign search term view resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` + /// `customers/{customer_id}/smartCampaignSearchTermViews/{campaign_id}~{URL-base64_search_term}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The search term. + /// Output only. The search term. #[prost(string, tag="2")] pub search_term: ::prost::alloc::string::String, - /// Output only. The Smart campaign the search term served in. + /// Output only. The Smart campaign the search term served in. #[prost(string, tag="3")] pub campaign: ::prost::alloc::string::String, } -// Proto file describing the Smart campaign setting resource. +// Proto file describing the Smart campaign setting resource. -/// Settings for configuring Smart campaigns. +/// Settings for configuring Smart campaigns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSetting { - /// Immutable. The resource name of the Smart campaign setting. - /// Smart campaign setting resource names have the form: + /// Immutable. The resource name of the Smart campaign setting. + /// Smart campaign setting resource names have the form: /// - /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` + /// `customers/{customer_id}/smartCampaignSettings/{campaign_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The campaign to which these settings apply. + /// Output only. The campaign to which these settings apply. #[prost(string, tag="2")] pub campaign: ::prost::alloc::string::String, - /// Phone number and country code. + /// Phone number and country code. #[prost(message, optional, tag="3")] pub phone_number: ::core::option::Option, - /// Landing page url given by user for this Campaign. + /// Landing page url given by user for this Campaign. #[prost(string, tag="4")] pub final_url: ::prost::alloc::string::String, - /// The ISO-639-1 language code to advertise in. + /// The ISO-639-1 language code to advertise in. #[prost(string, tag="7")] pub advertising_language_code: ::prost::alloc::string::String, - /// The business setting of this campaign. + /// The business setting of this campaign. #[prost(oneof="smart_campaign_setting::BusinessSetting", tags="5, 6")] pub business_setting: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSetting`. pub mod smart_campaign_setting { - /// Phone number and country code in smart campaign settings. + /// Phone number and country code in smart campaign settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhoneNumber { - /// Phone number of the smart campaign. + /// Phone number of the smart campaign. #[prost(string, optional, tag="1")] pub phone_number: ::core::option::Option<::prost::alloc::string::String>, - /// Upper-case, two-letter country code as defined by ISO-3166. + /// Upper-case, two-letter country code as defined by ISO-3166. #[prost(string, optional, tag="2")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, } - /// The business setting of this campaign. + /// The business setting of this campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// The name of the business. + /// The name of the business. #[prost(string, tag="5")] BusinessName(::prost::alloc::string::String), - /// The ID of the Business Profile location. - /// The location ID can be fetched by Business Profile API with its form: - /// accounts/{accountId}/locations/{locationId}. The last {locationId} - /// component from the Business Profile API represents the - /// business_location_id. See the [Business Profile API] - /// () + /// The ID of the Business Profile location. + /// The location ID can be fetched by Business Profile API with its form: + /// accounts/{accountId}/locations/{locationId}. The last {locationId} + /// component from the Business Profile API represents the + /// business_location_id. See the [Business Profile API] + /// () #[prost(int64, tag="6")] BusinessLocationId(i64), } } -/// A data sharing connection, allowing the import of third party app analytics -/// into a Google Ads Customer. +/// A data sharing connection, allowing the import of third party app analytics +/// into a Google Ads Customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyAppAnalyticsLink { - /// Immutable. The resource name of the third party app analytics link. - /// Third party app analytics link resource names have the form: + /// Immutable. The resource name of the third party app analytics link. + /// Third party app analytics link resource names have the form: /// - /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` + /// `customers/{customer_id}/thirdPartyAppAnalyticsLinks/{account_link_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The shareable link ID that should be provided to the third party when - /// setting up app analytics. This is able to be regenerated using regenerate - /// method in the ThirdPartyAppAnalyticsLinkService. + /// Output only. The shareable link ID that should be provided to the third party when + /// setting up app analytics. This is able to be regenerated using regenerate + /// method in the ThirdPartyAppAnalyticsLinkService. #[prost(string, optional, tag="3")] pub shareable_link_id: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the Topic Constant resource. +// Proto file describing the Topic Constant resource. -/// Use topics to target or exclude placements in the Google Display Network -/// based on the category into which the placement falls (for example, -/// "Pets & Animals/Pets/Dogs"). +/// Use topics to target or exclude placements in the Google Display Network +/// based on the category into which the placement falls (for example, +/// "Pets & Animals/Pets/Dogs"). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicConstant { - /// Output only. The resource name of the topic constant. - /// topic constant resource names have the form: + /// Output only. The resource name of the topic constant. + /// topic constant resource names have the form: /// - /// `topicConstants/{topic_id}` + /// `topicConstants/{topic_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the topic. + /// Output only. The ID of the topic. #[prost(int64, optional, tag="5")] pub id: ::core::option::Option, - /// Output only. Resource name of parent of the topic constant. + /// Output only. Resource name of parent of the topic constant. #[prost(string, optional, tag="6")] pub topic_constant_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The category to target or exclude. Each subsequent element in the array - /// describes a more specific sub-category. For example, - /// {"Pets & Animals", "Pets", "Dogs"} represents the - /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at - /// + /// Output only. The category to target or exclude. Each subsequent element in the array + /// describes a more specific sub-category. For example, + /// {"Pets & Animals", "Pets", "Dogs"} represents the + /// "Pets & Animals/Pets/Dogs" category. List of available topic categories at + /// #[prost(string, repeated, tag="7")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -// Proto file describing the topic view resource. +// Proto file describing the topic view resource. -/// A topic view. +/// A topic view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TopicView { - /// Output only. The resource name of the topic view. - /// Topic view resource names have the form: + /// Output only. The resource name of the topic view. + /// Topic view resource names have the form: /// - /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/topicViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -// Proto file describing the User Interest resource. +// Proto file describing the User Interest resource. -/// A user interest: a particular interest-based vertical to be targeted. +/// A user interest: a particular interest-based vertical to be targeted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInterest { - /// Output only. The resource name of the user interest. - /// User interest resource names have the form: + /// Output only. The resource name of the user interest. + /// User interest resource names have the form: /// - /// `customers/{customer_id}/userInterests/{user_interest_id}` + /// `customers/{customer_id}/userInterests/{user_interest_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Taxonomy type of the user interest. + /// Output only. Taxonomy type of the user interest. #[prost(enumeration="super::enums::user_interest_taxonomy_type_enum::UserInterestTaxonomyType", tag="2")] pub taxonomy_type: i32, - /// Output only. The ID of the user interest. + /// Output only. The ID of the user interest. #[prost(int64, optional, tag="8")] pub user_interest_id: ::core::option::Option, - /// Output only. The name of the user interest. + /// Output only. The name of the user interest. #[prost(string, optional, tag="9")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The parent of the user interest. + /// Output only. The parent of the user interest. #[prost(string, optional, tag="10")] pub user_interest_parent: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. True if the user interest is launched to all channels and locales. + /// Output only. True if the user interest is launched to all channels and locales. #[prost(bool, optional, tag="11")] pub launched_to_all: ::core::option::Option, - /// Output only. Availability information of the user interest. + /// Output only. Availability information of the user interest. #[prost(message, repeated, tag="7")] pub availabilities: ::prost::alloc::vec::Vec, } -// Proto file describing the User List resource. +// Proto file describing the User List resource. -/// A user list. This is a list of users a customer may target. +/// A user list. This is a list of users a customer may target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserList { - /// Immutable. The resource name of the user list. - /// User list resource names have the form: + /// Immutable. The resource name of the user list. + /// User list resource names have the form: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Id of the user list. + /// Output only. Id of the user list. #[prost(int64, optional, tag="25")] pub id: ::core::option::Option, - /// Output only. A flag that indicates if a user may edit a list. Depends on the list - /// ownership and list type. For example, external remarketing user lists are - /// not editable. + /// Output only. A flag that indicates if a user may edit a list. Depends on the list + /// ownership and list type. For example, external remarketing user lists are + /// not editable. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="26")] pub read_only: ::core::option::Option, - /// Name of this user list. Depending on its access_reason, the user list name - /// may not be unique (e.g. if access_reason=SHARED) + /// Name of this user list. Depending on its access_reason, the user list name + /// may not be unique (e.g. if access_reason=SHARED) #[prost(string, optional, tag="27")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Description of this user list. + /// Description of this user list. #[prost(string, optional, tag="28")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Membership status of this user list. Indicates whether a user list is open - /// or active. Only open user lists can accumulate more users and can be - /// targeted to. + /// Membership status of this user list. Indicates whether a user list is open + /// or active. Only open user lists can accumulate more users and can be + /// targeted to. #[prost(enumeration="super::enums::user_list_membership_status_enum::UserListMembershipStatus", tag="6")] pub membership_status: i32, - /// An ID from external system. It is used by user list sellers to correlate - /// IDs on their systems. + /// An ID from external system. It is used by user list sellers to correlate + /// IDs on their systems. #[prost(string, optional, tag="29")] pub integration_code: ::core::option::Option<::prost::alloc::string::String>, - /// Number of days a user's cookie stays on your list since its most recent - /// addition to the list. This field must be between 0 and 540 inclusive. - /// However, for CRM based userlists, this field can be set to 10000 which - /// means no expiration. + /// Number of days a user's cookie stays on your list since its most recent + /// addition to the list. This field must be between 0 and 540 inclusive. + /// However, for CRM based userlists, this field can be set to 10000 which + /// means no expiration. /// - /// It'll be ignored for logical_user_list. + /// It'll be ignored for logical_user_list. #[prost(int64, optional, tag="30")] pub membership_life_span: ::core::option::Option, - /// Output only. Estimated number of users in this user list, on the Google Display Network. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list, on the Google Display Network. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="31")] pub size_for_display: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, on the Google - /// Display Network. + /// Output only. Size range in terms of number of users of the UserList, on the Google + /// Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="10")] pub size_range_for_display: i32, - /// Output only. Estimated number of users in this user list in the google.com domain. - /// These are the users available for targeting in Search campaigns. - /// This value is null if the number of users has not yet been determined. + /// Output only. Estimated number of users in this user list in the google.com domain. + /// These are the users available for targeting in Search campaigns. + /// This value is null if the number of users has not yet been determined. /// - /// This field is read-only. + /// This field is read-only. #[prost(int64, optional, tag="32")] pub size_for_search: ::core::option::Option, - /// Output only. Size range in terms of number of users of the UserList, for Search ads. + /// Output only. Size range in terms of number of users of the UserList, for Search ads. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_size_range_enum::UserListSizeRange", tag="12")] pub size_range_for_search: i32, - /// Output only. Type of this list. + /// Output only. Type of this list. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::user_list_type_enum::UserListType", tag="13")] pub r#type: i32, - /// Indicating the reason why this user list membership status is closed. It is - /// only populated on lists that were automatically closed due to inactivity, - /// and will be cleared once the list membership status becomes open. + /// Indicating the reason why this user list membership status is closed. It is + /// only populated on lists that were automatically closed due to inactivity, + /// and will be cleared once the list membership status becomes open. #[prost(enumeration="super::enums::user_list_closing_reason_enum::UserListClosingReason", tag="14")] pub closing_reason: i32, - /// Output only. Indicates the reason this account has been granted access to the list. - /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. + /// Output only. Indicates the reason this account has been granted access to the list. + /// The reason can be SHARED, OWNED, LICENSED or SUBSCRIBED. /// - /// This field is read-only. + /// This field is read-only. #[prost(enumeration="super::enums::access_reason_enum::AccessReason", tag="15")] pub access_reason: i32, - /// Indicates if this share is still enabled. When a UserList is shared with - /// the user this field is set to ENABLED. Later the userList owner can decide - /// to revoke the share and make it DISABLED. - /// The default value of this field is set to ENABLED. + /// Indicates if this share is still enabled. When a UserList is shared with + /// the user this field is set to ENABLED. Later the userList owner can decide + /// to revoke the share and make it DISABLED. + /// The default value of this field is set to ENABLED. #[prost(enumeration="super::enums::user_list_access_status_enum::UserListAccessStatus", tag="16")] pub account_user_list_status: i32, - /// Indicates if this user list is eligible for Google Search Network. + /// Indicates if this user list is eligible for Google Search Network. #[prost(bool, optional, tag="33")] pub eligible_for_search: ::core::option::Option, - /// Output only. Indicates this user list is eligible for Google Display Network. + /// Output only. Indicates this user list is eligible for Google Display Network. /// - /// This field is read-only. + /// This field is read-only. #[prost(bool, optional, tag="34")] pub eligible_for_display: ::core::option::Option, - /// Output only. Indicates match rate for Customer Match lists. The range of this field is - /// \[0-100\]. This will be null for other list types or when it's not possible - /// to calculate the match rate. + /// Output only. Indicates match rate for Customer Match lists. The range of this field is + /// \[0-100\]. This will be null for other list types or when it's not possible + /// to calculate the match rate. /// - /// This field is read-only. + /// This field is read-only. #[prost(int32, optional, tag="24")] pub match_rate_percentage: ::core::option::Option, - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[prost(oneof="user_list::UserList", tags="19, 20, 21, 22, 23")] pub user_list: ::core::option::Option, } /// Nested message and enum types in `UserList`. pub mod user_list { - /// The user list. + /// The user list. /// - /// Exactly one must be set. + /// Exactly one must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UserList { - /// User list of CRM users provided by the advertiser. + /// User list of CRM users provided by the advertiser. #[prost(message, tag="19")] CrmBasedUserList(super::super::common::CrmBasedUserListInfo), - /// Output only. User list which are similar to users from another UserList. - /// These lists are readonly and automatically created by google. + /// Output only. User list which are similar to users from another UserList. + /// These lists are readonly and automatically created by google. #[prost(message, tag="20")] SimilarUserList(super::super::common::SimilarUserListInfo), - /// User list generated by a rule. + /// User list generated by a rule. #[prost(message, tag="21")] RuleBasedUserList(super::super::common::RuleBasedUserListInfo), - /// User list that is a custom combination of user lists and user interests. + /// User list that is a custom combination of user lists and user interests. #[prost(message, tag="22")] LogicalUserList(super::super::common::LogicalUserListInfo), - /// User list targeting as a collection of conversion or remarketing actions. + /// User list targeting as a collection of conversion or remarketing actions. #[prost(message, tag="23")] BasicUserList(super::super::common::BasicUserListInfo), } } -// Proto file describing the user location view resource. +// Proto file describing the user location view resource. -/// A user location view. +/// A user location view. /// -/// User Location View includes all metrics aggregated at the country level, -/// one row per country. It reports metrics at the actual physical location of -/// the user by targeted or not targeted location. If other segment fields are -/// used, you may get more than one row per country. +/// User Location View includes all metrics aggregated at the country level, +/// one row per country. It reports metrics at the actual physical location of +/// the user by targeted or not targeted location. If other segment fields are +/// used, you may get more than one row per country. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLocationView { - /// Output only. The resource name of the user location view. - /// UserLocation view resource names have the form: + /// Output only. The resource name of the user location view. + /// UserLocation view resource names have the form: /// - /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` + /// `customers/{customer_id}/userLocationViews/{country_criterion_id}~{targeting_location}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. Criterion Id for the country. + /// Output only. Criterion Id for the country. #[prost(int64, optional, tag="4")] pub country_criterion_id: ::core::option::Option, - /// Output only. Indicates whether location was targeted or not. + /// Output only. Indicates whether location was targeted or not. #[prost(bool, optional, tag="5")] pub targeting_location: ::core::option::Option, } -// Proto file describing the video resource. +// Proto file describing the video resource. -/// A video. +/// A video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Video { - /// Output only. The resource name of the video. - /// Video resource names have the form: + /// Output only. The resource name of the video. + /// Video resource names have the form: /// - /// `customers/{customer_id}/videos/{video_id}` + /// `customers/{customer_id}/videos/{video_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Output only. The ID of the video. + /// Output only. The ID of the video. #[prost(string, optional, tag="6")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The owner channel id of the video. + /// Output only. The owner channel id of the video. #[prost(string, optional, tag="7")] pub channel_id: ::core::option::Option<::prost::alloc::string::String>, - /// Output only. The duration of the video in milliseconds. + /// Output only. The duration of the video in milliseconds. #[prost(int64, optional, tag="8")] pub duration_millis: ::core::option::Option, - /// Output only. The title of the video. + /// Output only. The title of the video. #[prost(string, optional, tag="9")] pub title: ::core::option::Option<::prost::alloc::string::String>, } -// Proto file describing the webpage view resource. +// Proto file describing the webpage view resource. -/// A webpage view. +/// A webpage view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebpageView { - /// Output only. The resource name of the webpage view. - /// Webpage view resource names have the form: + /// Output only. The resource name of the webpage view. + /// Webpage view resource names have the form: /// - /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/webpageViews/{ad_group_id}~{criterion_id}` #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.ads.googleads.v9.services.rs b/gcloud-sdk/genproto/google.ads.googleads.v9.services.rs index ea222ee4d..4b0c830b6 100644 --- a/gcloud-sdk/genproto/google.ads.googleads.v9.services.rs +++ b/gcloud-sdk/genproto/google.ads.googleads.v9.services.rs @@ -1,8 +1,8 @@ -/// Request message for -/// \[AccessibleBiddingStrategyService.GetAccessibleBiddingStrategy][google.ads.googleads.v9.services.AccessibleBiddingStrategyService.GetAccessibleBiddingStrategy\]. +/// Request message for +/// \[AccessibleBiddingStrategyService.GetAccessibleBiddingStrategy][google.ads.googleads.v9.services.AccessibleBiddingStrategyService.GetAccessibleBiddingStrategy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccessibleBiddingStrategyRequest { - /// Required. The resource name of the accessible bidding strategy to fetch. + /// Required. The resource name of the accessible bidding strategy to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -103,76 +103,76 @@ pub mod accessible_bidding_strategy_service_client { } } } -/// Request message for -/// \[AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v9.services.AccountBudgetProposalService.GetAccountBudgetProposal\]. +/// Request message for +/// \[AccountBudgetProposalService.GetAccountBudgetProposal][google.ads.googleads.v9.services.AccountBudgetProposalService.GetAccountBudgetProposal\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccountBudgetProposalRequest { - /// Required. The resource name of the account-level budget proposal to fetch. + /// Required. The resource name of the account-level budget proposal to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v9.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. +/// Request message for +/// \[AccountBudgetProposalService.MutateAccountBudgetProposal][google.ads.googleads.v9.services.AccountBudgetProposalService.MutateAccountBudgetProposal\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual account-level budget proposal. + /// Required. The operation to perform on an individual account-level budget proposal. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation to propose the creation of a new account-level budget or -/// edit/end/remove an existing one. +/// A single operation to propose the creation of a new account-level budget or +/// edit/end/remove an existing one. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountBudgetProposalOperation { - /// FieldMask that determines which budget fields are modified. While budgets - /// may be modified, proposals that propose such modifications are final. - /// Therefore, update operations are not supported for proposals. + /// FieldMask that determines which budget fields are modified. While budgets + /// may be modified, proposals that propose such modifications are final. + /// Therefore, update operations are not supported for proposals. /// - /// Proposals that modify budgets have the 'update' proposal type. Specifying - /// a mask for any other proposal type is considered an error. + /// Proposals that modify budgets have the 'update' proposal type. Specifying + /// a mask for any other proposal type is considered an error. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="account_budget_proposal_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountBudgetProposalOperation`. pub mod account_budget_proposal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: A new proposal to create a new budget, edit an - /// existing budget, end an actively running budget, or remove an approved - /// budget scheduled to start in the future. - /// No resource name is expected for the new proposal. + /// Create operation: A new proposal to create a new budget, edit an + /// existing budget, end an actively running budget, or remove an approved + /// budget scheduled to start in the future. + /// No resource name is expected for the new proposal. #[prost(message, tag="2")] Create(super::super::resources::AccountBudgetProposal), - /// Remove operation: A resource name for the removed proposal is expected, - /// in this format: + /// Remove operation: A resource name for the removed proposal is expected, + /// in this format: /// - /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` - /// A request may be cancelled iff it is pending. + /// `customers/{customer_id}/accountBudgetProposals/{account_budget_proposal_id}` + /// A request may be cancelled iff it is pending. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for account-level budget mutate operations. +/// Response message for account-level budget mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResponse { - /// The result of the mutate. + /// The result of the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the account budget proposal mutate. +/// The result for the account budget proposal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountBudgetProposalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -333,11 +333,11 @@ pub mod account_budget_proposal_service_client { } } } -/// Request message for -/// \[AccountBudgetService.GetAccountBudget][google.ads.googleads.v9.services.AccountBudgetService.GetAccountBudget\]. +/// Request message for +/// \[AccountBudgetService.GetAccountBudget][google.ads.googleads.v9.services.AccountBudgetService.GetAccountBudget\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccountBudgetRequest { - /// Required. The resource name of the account-level budget to fetch. + /// Required. The resource name of the account-level budget to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -446,96 +446,96 @@ pub mod account_budget_service_client { } } } -/// Request message for \[AccountLinkService.GetAccountLink][google.ads.googleads.v9.services.AccountLinkService.GetAccountLink\]. +/// Request message for \[AccountLinkService.GetAccountLink][google.ads.googleads.v9.services.AccountLinkService.GetAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccountLinkRequest { - /// Required. Resource name of the account link. + /// Required. Resource name of the account link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v9.services.AccountLinkService.CreateAccountLink\]. +/// Request message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v9.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkRequest { - /// Required. The ID of the customer for which the account link is created. + /// Required. The ID of the customer for which the account link is created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The account link to be created. + /// Required. The account link to be created. #[prost(message, optional, tag="2")] pub account_link: ::core::option::Option, } -/// Response message for -/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v9.services.AccountLinkService.CreateAccountLink\]. +/// Response message for +/// \[AccountLinkService.CreateAccountLink][google.ads.googleads.v9.services.AccountLinkService.CreateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAccountLinkResponse { - /// Returned for successful operations. Resource name of the account link. + /// Returned for successful operations. Resource name of the account link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v9.services.AccountLinkService.MutateAccountLink\]. +/// Request message for \[AccountLinkService.MutateAccountLink][google.ads.googleads.v9.services.AccountLinkService.MutateAccountLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link. + /// Required. The operation to perform on the link. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single update on an account link. +/// A single update on an account link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform. + /// The operation to perform. #[prost(oneof="account_link_operation::Operation", tags="2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AccountLinkOperation`. pub mod account_link_operation { - /// The operation to perform. + /// The operation to perform. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The account link is expected to have - /// a valid resource name. + /// Update operation: The account link is expected to have + /// a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AccountLink), - /// Remove operation: A resource name for the account link to remove is - /// expected, in this format: + /// Remove operation: A resource name for the account link to remove is + /// expected, in this format: /// - /// `customers/{customer_id}/accountLinks/{account_link_id}` + /// `customers/{customer_id}/accountLinks/{account_link_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for account link mutate. +/// Response message for account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the account link mutate. +/// The result for the account link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAccountLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -709,10 +709,10 @@ pub mod account_link_service_client { } } } -/// Request message for \[AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v9.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView\]. +/// Request message for \[AdGroupAdAssetViewService.GetAdGroupAdAssetView][google.ads.googleads.v9.services.AdGroupAdAssetViewService.GetAdGroupAdAssetView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupAdAssetViewRequest { - /// Required. The resource name of the ad group ad asset view to fetch. + /// Required. The resource name of the ad group ad asset view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -821,75 +821,75 @@ pub mod ad_group_ad_asset_view_service_client { } } } -/// Request message for \[AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v9.services.AdGroupAdLabelService.GetAdGroupAdLabel\]. +/// Request message for \[AdGroupAdLabelService.GetAdGroupAdLabel][google.ads.googleads.v9.services.AdGroupAdLabelService.GetAdGroupAdLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupAdLabelRequest { - /// Required. The resource name of the ad group ad label to fetch. + /// Required. The resource name of the ad group ad label to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v9.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. +/// Request message for \[AdGroupAdLabelService.MutateAdGroupAdLabels][google.ads.googleads.v9.services.AdGroupAdLabelService.MutateAdGroupAdLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsRequest { - /// Required. ID of the customer whose ad group ad labels are being modified. + /// Required. ID of the customer whose ad group ad labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group ad labels. + /// Required. The list of operations to perform on ad group ad labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group ad label. +/// A single operation (create, remove) on an ad group ad label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdLabelOperation`. pub mod ad_group_ad_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group ad - /// label. + /// Create operation: No resource name is expected for the new ad group ad + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAdLabel), - /// Remove operation: A resource name for the ad group ad label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group ad label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id} - /// _{label_id}` + /// `customers/{customer_id}/adGroupAdLabels/{ad_group_id}~{ad_id} + /// _{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad labels mutate. +/// Response message for an ad group ad labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group ad label mutate. +/// The result for an ad group ad label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -1032,91 +1032,91 @@ pub mod ad_group_ad_label_service_client { } } } -/// Request message for \[AdGroupAdService.GetAdGroupAd][google.ads.googleads.v9.services.AdGroupAdService.GetAdGroupAd\]. +/// Request message for \[AdGroupAdService.GetAdGroupAd][google.ads.googleads.v9.services.AdGroupAdService.GetAdGroupAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupAdRequest { - /// Required. The resource name of the ad to fetch. + /// Required. The resource name of the ad to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v9.services.AdGroupAdService.MutateAdGroupAds\]. +/// Request message for \[AdGroupAdService.MutateAdGroupAds][google.ads.googleads.v9.services.AdGroupAdService.MutateAdGroupAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group ad. +/// A single operation (create, update, remove) on an ad group ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="5")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_ad_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAdOperation`. pub mod ad_group_ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad. + /// Create operation: No resource name is expected for the new ad. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAd), - /// Update operation: The ad is expected to have a valid resource name. + /// Update operation: The ad is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupAd), - /// Remove operation: A resource name for the removed ad is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` + /// `customers/{customer_id}/adGroupAds/{ad_group_id}~{ad_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group ad mutate. +/// Response message for an ad group ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group ad with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group ad with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_ad: ::core::option::Option, } @@ -1285,90 +1285,90 @@ pub mod ad_group_ad_service_client { } } } -/// Request message for \[AdGroupAssetService.GetAdGroupAsset][google.ads.googleads.v9.services.AdGroupAssetService.GetAdGroupAsset\]. +/// Request message for \[AdGroupAssetService.GetAdGroupAsset][google.ads.googleads.v9.services.AdGroupAssetService.GetAdGroupAsset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupAssetRequest { - /// Required. The resource name of the ad group asset to fetch. + /// Required. The resource name of the ad group asset to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v9.services.AdGroupAssetService.MutateAdGroupAssets\]. +/// Request message for \[AdGroupAssetService.MutateAdGroupAssets][google.ads.googleads.v9.services.AdGroupAssetService.MutateAdGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsRequest { - /// Required. The ID of the customer whose ad group assets are being modified. + /// Required. The ID of the customer whose ad group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group assets. + /// Required. The list of operations to perform on individual ad group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group asset. +/// A single operation (create, update, remove) on an ad group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupAssetOperation`. pub mod ad_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// asset. + /// Create operation: No resource name is expected for the new ad group + /// asset. #[prost(message, tag="1")] Create(super::super::resources::AdGroupAsset), - /// Update operation: The ad group asset is expected to have a valid resource - /// name. + /// Update operation: The ad group asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::AdGroupAsset), - /// Remove operation: A resource name for the removed ad group asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group asset is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/adGroupAssets/{ad_group_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group asset mutate. +/// Response message for an ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group asset mutate. +/// The result for the ad group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ad group asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_asset: ::core::option::Option, } @@ -1509,10 +1509,10 @@ pub mod ad_group_asset_service_client { } } } -/// Request message for \[AdGroupAudienceViewService.GetAdGroupAudienceView][google.ads.googleads.v9.services.AdGroupAudienceViewService.GetAdGroupAudienceView\]. +/// Request message for \[AdGroupAudienceViewService.GetAdGroupAudienceView][google.ads.googleads.v9.services.AdGroupAudienceViewService.GetAdGroupAudienceView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupAudienceViewRequest { - /// Required. The resource name of the ad group audience view to fetch. + /// Required. The resource name of the ad group audience view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -1621,90 +1621,90 @@ pub mod ad_group_audience_view_service_client { } } } -/// Request message for \[AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v9.services.AdGroupBidModifierService.GetAdGroupBidModifier\]. +/// Request message for \[AdGroupBidModifierService.GetAdGroupBidModifier][google.ads.googleads.v9.services.AdGroupBidModifierService.GetAdGroupBidModifier\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupBidModifierRequest { - /// Required. The resource name of the ad group bid modifier to fetch. + /// Required. The resource name of the ad group bid modifier to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v9.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. +/// Request message for \[AdGroupBidModifierService.MutateAdGroupBidModifiers][google.ads.googleads.v9.services.AdGroupBidModifierService.MutateAdGroupBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersRequest { - /// Required. ID of the customer whose ad group bid modifiers are being modified. + /// Required. ID of the customer whose ad group bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group bid modifiers. + /// Required. The list of operations to perform on individual ad group bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group bid modifier. +/// A single operation (create, remove, update) on an ad group bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupBidModifierOperation`. pub mod ad_group_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group bid - /// modifier. + /// Create operation: No resource name is expected for the new ad group bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::AdGroupBidModifier), - /// Update operation: The ad group bid modifier is expected to have a valid - /// resource name. + /// Update operation: The ad group bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupBidModifier), - /// Remove operation: A resource name for the removed ad group bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed ad group bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupBidModifiers/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for ad group bid modifiers mutate. +/// Response message for ad group bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_bid_modifier: ::core::option::Option, } @@ -1862,79 +1862,79 @@ pub mod ad_group_bid_modifier_service_client { } } } -/// Request message for -/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v9.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. +/// Request message for +/// \[AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers][google.ads.googleads.v9.services.AdGroupCriterionCustomizerService.MutateAdGroupCriterionCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersRequest { - /// Required. The ID of the customer whose ad group criterion customizers are being - /// modified. + /// Required. The ID of the customer whose ad group criterion customizers are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group criterion - /// customizers. + /// Required. The list of operations to perform on individual ad group criterion + /// customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionCustomizerOperation`. pub mod ad_group_criterion_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// criterion customizer. + /// Create operation: No resource name is expected for the new ad group + /// criterion customizer. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionCustomizer), - /// Remove operation: A resource name for the removed ad group criterion - /// customizer is expected, in this format: + /// Remove operation: A resource name for the removed ad group criterion + /// customizer is expected, in this format: /// - /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` + /// `customers/{customer_id}/adGroupCriterionCustomizers/{ad_group_id}~{criterion_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion customizer mutate. +/// Response message for an ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group criterion customizer mutate. +/// The result for the ad group criterion customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCriterionCustomizer with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AdGroupCriterionCustomizer with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion_customizer: ::core::option::Option, } @@ -2038,76 +2038,76 @@ pub mod ad_group_criterion_customizer_service_client { } } } -/// Request message for -/// \[AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v9.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel\]. +/// Request message for +/// \[AdGroupCriterionLabelService.GetAdGroupCriterionLabel][google.ads.googleads.v9.services.AdGroupCriterionLabelService.GetAdGroupCriterionLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupCriterionLabelRequest { - /// Required. The resource name of the ad group criterion label to fetch. + /// Required. The resource name of the ad group criterion label to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v9.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. +/// Request message for +/// \[AdGroupCriterionLabelService.MutateAdGroupCriterionLabels][google.ads.googleads.v9.services.AdGroupCriterionLabelService.MutateAdGroupCriterionLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsRequest { - /// Required. ID of the customer whose ad group criterion labels are being modified. + /// Required. ID of the customer whose ad group criterion labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group criterion labels. + /// Required. The list of operations to perform on ad group criterion labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group criterion label. +/// A single operation (create, remove) on an ad group criterion label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionLabelOperation`. pub mod ad_group_criterion_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterionLabel), - /// Remove operation: A resource name for the ad group criterion label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group criterion label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` + /// `customers/{customer_id}/adGroupCriterionLabels/{ad_group_id}~{criterion_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion labels mutate. +/// Response message for an ad group criterion labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group criterion label mutate. +/// The result for an ad group criterion label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -2250,100 +2250,100 @@ pub mod ad_group_criterion_label_service_client { } } } -/// Request message for \[AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v9.services.AdGroupCriterionService.GetAdGroupCriterion\]. +/// Request message for \[AdGroupCriterionService.GetAdGroupCriterion][google.ads.googleads.v9.services.AdGroupCriterionService.GetAdGroupCriterion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupCriterionRequest { - /// Required. The resource name of the criterion to fetch. + /// Required. The resource name of the criterion to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v9.services.AdGroupCriterionService.MutateAdGroupCriteria\]. +/// Request message for \[AdGroupCriterionService.MutateAdGroupCriteria][google.ads.googleads.v9.services.AdGroupCriterionService.MutateAdGroupCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaRequest { - /// Required. ID of the customer whose criteria are being modified. + /// Required. ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on an ad group criterion. +/// A single operation (create, remove, update) on an ad group criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The list of policy violation keys that should not cause a - /// PolicyViolationError to be reported. Not all policy violations are - /// exemptable, please refer to the is_exemptible field in the returned - /// PolicyViolationError. + /// The list of policy violation keys that should not cause a + /// PolicyViolationError to be reported. Not all policy violations are + /// exemptable, please refer to the is_exemptible field in the returned + /// PolicyViolationError. /// - /// Resources violating these polices will be saved, but will not be eligible - /// to serve. They may begin serving at a later time due to a change in - /// policies, re-review of the resource, or a change in advertiser - /// certificates. + /// Resources violating these polices will be saved, but will not be eligible + /// to serve. They may begin serving at a later time due to a change in + /// policies, re-review of the resource, or a change in advertiser + /// certificates. #[prost(message, repeated, tag="5")] pub exempt_policy_violation_keys: ::prost::alloc::vec::Vec, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCriterionOperation`. pub mod ad_group_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::AdGroupCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` + /// `customers/{customer_id}/adGroupCriteria/{ad_group_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group criterion mutate. +/// Response message for an ad group criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_criterion: ::core::option::Option, } @@ -2510,11 +2510,11 @@ pub mod ad_group_criterion_service_client { } } } -/// Request message for -/// \[AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v9.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation\]. +/// Request message for +/// \[AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation][google.ads.googleads.v9.services.AdGroupCriterionSimulationService.GetAdGroupCriterionSimulation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupCriterionSimulationRequest { - /// Required. The resource name of the ad group criterion simulation to fetch. + /// Required. The resource name of the ad group criterion simulation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -2623,76 +2623,76 @@ pub mod ad_group_criterion_simulation_service_client { } } } -/// Request message for -/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v9.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. +/// Request message for +/// \[AdGroupCustomizerService.MutateAdGroupCustomizers][google.ads.googleads.v9.services.AdGroupCustomizerService.MutateAdGroupCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersRequest { - /// Required. The ID of the customer whose ad group customizers are being modified. + /// Required. The ID of the customer whose ad group customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group customizers. + /// Required. The list of operations to perform on individual ad group customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupCustomizerOperation`. pub mod ad_group_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// customizer + /// Create operation: No resource name is expected for the new ad group + /// customizer #[prost(message, tag="1")] Create(super::super::resources::AdGroupCustomizer), - /// Remove operation: A resource name for the removed ad group customizer is - /// expected, in this format: - /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed ad group customizer is + /// expected, in this format: + /// `customers/{customer_id}/adGroupCustomizers/{ad_group_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group customizer mutate. +/// Response message for an ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the ad group customizer mutate. +/// The result for the ad group customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_customizer: ::core::option::Option, } @@ -2794,94 +2794,94 @@ pub mod ad_group_customizer_service_client { } } } -/// Request message for -/// \[AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v9.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting\]. +/// Request message for +/// \[AdGroupExtensionSettingService.GetAdGroupExtensionSetting][google.ads.googleads.v9.services.AdGroupExtensionSettingService.GetAdGroupExtensionSetting\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupExtensionSettingRequest { - /// Required. The resource name of the ad group extension setting to fetch. + /// Required. The resource name of the ad group extension setting to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v9.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. +/// Request message for +/// \[AdGroupExtensionSettingService.MutateAdGroupExtensionSettings][google.ads.googleads.v9.services.AdGroupExtensionSettingService.MutateAdGroupExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsRequest { - /// Required. The ID of the customer whose ad group extension settings are being - /// modified. + /// Required. The ID of the customer whose ad group extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group extension - /// settings. + /// Required. The list of operations to perform on individual ad group extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on an ad group extension setting. +/// A single operation (create, update, remove) on an ad group extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupExtensionSettingOperation`. pub mod ad_group_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// extension setting. + /// Create operation: No resource name is expected for the new ad group + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::AdGroupExtensionSetting), - /// Update operation: The ad group extension setting is expected to have a - /// valid resource name. + /// Update operation: The ad group extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupExtensionSetting), - /// Remove operation: A resource name for the removed ad group extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed ad group extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` + /// `customers/{customer_id}/adGroupExtensionSettings/{ad_group_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group extension setting mutate. +/// Response message for an ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group extension setting mutate. +/// The result for the ad group extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdGroupExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_extension_setting: ::core::option::Option, } @@ -3046,89 +3046,89 @@ pub mod ad_group_extension_setting_service_client { } } } -/// Request message for \[AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v9.services.AdGroupFeedService.GetAdGroupFeed\]. +/// Request message for \[AdGroupFeedService.GetAdGroupFeed][google.ads.googleads.v9.services.AdGroupFeedService.GetAdGroupFeed\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupFeedRequest { - /// Required. The resource name of the ad group feed to fetch. + /// Required. The resource name of the ad group feed to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v9.services.AdGroupFeedService.MutateAdGroupFeeds\]. +/// Request message for \[AdGroupFeedService.MutateAdGroupFeeds][google.ads.googleads.v9.services.AdGroupFeedService.MutateAdGroupFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsRequest { - /// Required. The ID of the customer whose ad group feeds are being modified. + /// Required. The ID of the customer whose ad group feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad group feeds. + /// Required. The list of operations to perform on individual ad group feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group feed. +/// A single operation (create, update, remove) on an ad group feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupFeedOperation`. pub mod ad_group_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group feed. + /// Create operation: No resource name is expected for the new ad group feed. #[prost(message, tag="1")] Create(super::super::resources::AdGroupFeed), - /// Update operation: The ad group feed is expected to have a valid resource - /// name. + /// Update operation: The ad group feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdGroupFeed), - /// Remove operation: A resource name for the removed ad group feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed ad group feed is + /// expected, in this format: /// - /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` + /// `customers/{customer_id}/adGroupFeeds/{ad_group_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group feed mutate. +/// Response message for an ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group feed mutate. +/// The result for the ad group feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated ad group feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group_feed: ::core::option::Option, } @@ -3280,74 +3280,74 @@ pub mod ad_group_feed_service_client { } } } -/// Request message for \[AdGroupLabelService.GetAdGroupLabel][google.ads.googleads.v9.services.AdGroupLabelService.GetAdGroupLabel\]. +/// Request message for \[AdGroupLabelService.GetAdGroupLabel][google.ads.googleads.v9.services.AdGroupLabelService.GetAdGroupLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupLabelRequest { - /// Required. The resource name of the ad group label to fetch. + /// Required. The resource name of the ad group label to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v9.services.AdGroupLabelService.MutateAdGroupLabels\]. +/// Request message for \[AdGroupLabelService.MutateAdGroupLabels][google.ads.googleads.v9.services.AdGroupLabelService.MutateAdGroupLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsRequest { - /// Required. ID of the customer whose ad group labels are being modified. + /// Required. ID of the customer whose ad group labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on ad group labels. + /// Required. The list of operations to perform on ad group labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an ad group label. +/// A single operation (create, remove) on an ad group label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupLabelOperation`. pub mod ad_group_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group - /// label. + /// Create operation: No resource name is expected for the new ad group + /// label. #[prost(message, tag="1")] Create(super::super::resources::AdGroupLabel), - /// Remove operation: A resource name for the ad group label - /// being removed, in this format: + /// Remove operation: A resource name for the ad group label + /// being removed, in this format: /// - /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` + /// `customers/{customer_id}/adGroupLabels/{ad_group_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group labels mutate. +/// Response message for an ad group labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for an ad group label mutate. +/// The result for an ad group label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3488,87 +3488,87 @@ pub mod ad_group_label_service_client { } } } -/// Request message for \[AdGroupService.GetAdGroup][google.ads.googleads.v9.services.AdGroupService.GetAdGroup\]. +/// Request message for \[AdGroupService.GetAdGroup][google.ads.googleads.v9.services.AdGroupService.GetAdGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupRequest { - /// Required. The resource name of the ad group to fetch. + /// Required. The resource name of the ad group to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v9.services.AdGroupService.MutateAdGroups\]. +/// Request message for \[AdGroupService.MutateAdGroups][google.ads.googleads.v9.services.AdGroupService.MutateAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsRequest { - /// Required. The ID of the customer whose ad groups are being modified. + /// Required. The ID of the customer whose ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad groups. + /// Required. The list of operations to perform on individual ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an ad group. +/// A single operation (create, update, remove) on an ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdGroupOperation`. pub mod ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad group. + /// Create operation: No resource name is expected for the new ad group. #[prost(message, tag="1")] Create(super::super::resources::AdGroup), - /// Update operation: The ad group is expected to have a valid resource name. + /// Update operation: The ad group is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AdGroup), - /// Remove operation: A resource name for the removed ad group is expected, - /// in this format: + /// Remove operation: A resource name for the removed ad group is expected, + /// in this format: /// - /// `customers/{customer_id}/adGroups/{ad_group_id}` + /// `customers/{customer_id}/adGroups/{ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad group mutate. +/// Response message for an ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad group mutate. +/// The result for the ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad group with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad group with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_group: ::core::option::Option, } @@ -3725,10 +3725,10 @@ pub mod ad_group_service_client { } } } -/// Request message for \[AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v9.services.AdGroupSimulationService.GetAdGroupSimulation\]. +/// Request message for \[AdGroupSimulationService.GetAdGroupSimulation][google.ads.googleads.v9.services.AdGroupSimulationService.GetAdGroupSimulation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdGroupSimulationRequest { - /// Required. The resource name of the ad group simulation to fetch. + /// Required. The resource name of the ad group simulation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -3837,89 +3837,89 @@ pub mod ad_group_simulation_service_client { } } } -/// Request message for \[AdParameterService.GetAdParameter][google.ads.googleads.v9.services.AdParameterService.GetAdParameter\] +/// Request message for \[AdParameterService.GetAdParameter][google.ads.googleads.v9.services.AdParameterService.GetAdParameter\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdParameterRequest { - /// Required. The resource name of the ad parameter to fetch. + /// Required. The resource name of the ad parameter to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v9.services.AdParameterService.MutateAdParameters\] +/// Request message for \[AdParameterService.MutateAdParameters][google.ads.googleads.v9.services.AdParameterService.MutateAdParameters\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersRequest { - /// Required. The ID of the customer whose ad parameters are being modified. + /// Required. The ID of the customer whose ad parameters are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ad parameters. + /// Required. The list of operations to perform on individual ad parameters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on ad parameter. +/// A single operation (create, update, remove) on ad parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdParameterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_parameter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdParameterOperation`. pub mod ad_parameter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new ad parameter. + /// Create operation: No resource name is expected for the new ad parameter. #[prost(message, tag="1")] Create(super::super::resources::AdParameter), - /// Update operation: The ad parameter is expected to have a valid resource - /// name. + /// Update operation: The ad parameter is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AdParameter), - /// Remove operation: A resource name for the ad parameter to remove is - /// expected in this format: + /// Remove operation: A resource name for the ad parameter to remove is + /// expected in this format: /// - /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` + /// `customers/{customer_id}/adParameters/{ad_group_id}~{criterion_id}~{parameter_index}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an ad parameter mutate. +/// Response message for an ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParametersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad parameter mutate. +/// The result for the ad parameter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdParameterResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AdParameter with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated AdParameter with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad_parameter: ::core::option::Option, } @@ -4061,10 +4061,10 @@ pub mod ad_parameter_service_client { } } } -/// Request message for \[AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v9.services.AdScheduleViewService.GetAdScheduleView\]. +/// Request message for \[AdScheduleViewService.GetAdScheduleView][google.ads.googleads.v9.services.AdScheduleViewService.GetAdScheduleView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdScheduleViewRequest { - /// Required. The resource name of the ad schedule view to fetch. + /// Required. The resource name of the ad schedule view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -4171,84 +4171,84 @@ pub mod ad_schedule_view_service_client { } } } -/// Request message for \[AdService.GetAd][google.ads.googleads.v9.services.AdService.GetAd\]. +/// Request message for \[AdService.GetAd][google.ads.googleads.v9.services.AdService.GetAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAdRequest { - /// Required. The resource name of the ad to fetch. + /// Required. The resource name of the ad to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AdService.MutateAds][google.ads.googleads.v9.services.AdService.MutateAds\]. +/// Request message for \[AdService.MutateAds][google.ads.googleads.v9.services.AdService.MutateAds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsRequest { - /// Required. The ID of the customer whose ads are being modified. + /// Required. The ID of the customer whose ads are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual ads. + /// Required. The list of operations to perform on individual ads. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update operation on an ad. +/// A single update operation on an ad. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Configuration for how policies are validated. + /// Configuration for how policies are validated. #[prost(message, optional, tag="3")] pub policy_validation_parameter: ::core::option::Option, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="ad_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AdOperation`. pub mod ad_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The ad is expected to have a valid resource name - /// in this format: + /// Update operation: The ad is expected to have a valid resource name + /// in this format: /// - /// `customers/{customer_id}/ads/{ad_id}` + /// `customers/{customer_id}/ads/{ad_id}` #[prost(message, tag="1")] Update(super::super::resources::Ad), } } -/// Response message for an ad mutate. +/// Response message for an ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the ad mutate. +/// The result for the ad mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAdResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ad with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated ad with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub ad: ::core::option::Option, } @@ -4413,10 +4413,10 @@ pub mod ad_service_client { } } } -/// Request message for \[AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v9.services.AgeRangeViewService.GetAgeRangeView\]. +/// Request message for \[AgeRangeViewService.GetAgeRangeView][google.ads.googleads.v9.services.AgeRangeViewService.GetAgeRangeView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAgeRangeViewRequest { - /// Required. The resource name of the age range view to fetch. + /// Required. The resource name of the age range view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -4523,10 +4523,10 @@ pub mod age_range_view_service_client { } } } -/// Request message for \[AssetFieldTypeViewService.GetAssetFieldTypeView][google.ads.googleads.v9.services.AssetFieldTypeViewService.GetAssetFieldTypeView\]. +/// Request message for \[AssetFieldTypeViewService.GetAssetFieldTypeView][google.ads.googleads.v9.services.AssetFieldTypeViewService.GetAssetFieldTypeView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssetFieldTypeViewRequest { - /// Required. The resource name of the asset field type view to fetch. + /// Required. The resource name of the asset field type view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -4627,80 +4627,80 @@ pub mod asset_field_type_view_service_client { } } } -/// Request message for \[AssetGroupAssetService.GetAssetGroupAsset][google.ads.googleads.v9.services.AssetGroupAssetService.GetAssetGroupAsset\]. +/// Request message for \[AssetGroupAssetService.GetAssetGroupAsset][google.ads.googleads.v9.services.AssetGroupAssetService.GetAssetGroupAsset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssetGroupAssetRequest { - /// Required. The resource name of the asset group asset to fetch. + /// Required. The resource name of the asset group asset to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v9.services.AssetGroupAssetService.MutateAssetGroupAssets\]. +/// Request message for \[AssetGroupAssetService.MutateAssetGroupAssets][google.ads.googleads.v9.services.AssetGroupAssetService.MutateAssetGroupAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsRequest { - /// Required. The ID of the customer whose asset group assets are being modified. + /// Required. The ID of the customer whose asset group assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group assets. + /// Required. The list of operations to perform on individual asset group assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group asset. +/// A single operation (create, remove) on an asset group asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_asset_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupAssetOperation`. pub mod asset_group_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// asset + /// Create operation: No resource name is expected for the new asset group + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetGroupAsset), - /// Update operation: The asset group asset sis expected to have a valid - /// resource name. + /// Update operation: The asset group asset sis expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupAsset), - /// Remove operation: A resource name for the removed asset group asset is - /// expected, in this format: - /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` + /// Remove operation: A resource name for the removed asset group asset is + /// expected, in this format: + /// `customers/{customer_id}/assetGroupAssets/{asset_group_id}~{asset_id}~{field_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group asset mutate. +/// Response message for an asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group asset mutate. +/// The result for the asset group asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -4825,78 +4825,78 @@ pub mod asset_group_asset_service_client { } } } -/// Request message for -/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v9.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. -/// partial_failure is not supported because the tree needs to be validated -/// together. +/// Request message for +/// \[AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters][google.ads.googleads.v9.services.AssetGroupListingGroupFilterService.MutateAssetGroupListingGroupFilters\]. +/// partial_failure is not supported because the tree needs to be validated +/// together. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersRequest { - /// Required. The ID of the customer whose asset group listing group filters are being - /// modified. + /// Required. The ID of the customer whose asset group listing group filters are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset group listing group - /// filters. + /// Required. The list of operations to perform on individual asset group listing group + /// filters. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset group listing group filter. +/// A single operation (create, remove) on an asset group listing group filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupListingGroupFilterOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_listing_group_filter_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupListingGroupFilterOperation`. pub mod asset_group_listing_group_filter_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group - /// listing group filter. + /// Create operation: No resource name is expected for the new asset group + /// listing group filter. #[prost(message, tag="1")] Create(super::super::resources::AssetGroupListingGroupFilter), - /// Update operation: The asset group listing group filter is expected to - /// have a valid resource name. + /// Update operation: The asset group listing group filter is expected to + /// have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroupListingGroupFilter), - /// Remove operation: A resource name for the removed asset group listing - /// group filter is expected, in this format: - /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` - /// An entity can be removed only if it's not referenced by other - /// parent_listing_group_id. If multiple entities are being deleted, the - /// mutates must be in the correct order. + /// Remove operation: A resource name for the removed asset group listing + /// group filter is expected, in this format: + /// `customers/{customer_id}/assetGroupListingGroupFilters/{asset_group_id}~{listing_group_filter_id}` + /// An entity can be removed only if it's not referenced by other + /// parent_listing_group_id. If multiple entities are being deleted, the + /// mutates must be in the correct order. #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group listing group filter mutate. +/// Response message for an asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFiltersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset group listing group filter mutate. +/// The result for the asset group listing group filter mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupListingGroupFilterResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated AssetGroupListingGroupFilter with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated AssetGroupListingGroupFilter with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_group_listing_group_filter: ::core::option::Option, } @@ -5000,73 +5000,73 @@ pub mod asset_group_listing_group_filter_service_client { } } } -/// Request message for \[AssetGroupService.GetAssetGroup][google.ads.googleads.v9.services.AssetGroupService.GetAssetGroup\]. +/// Request message for \[AssetGroupService.GetAssetGroup][google.ads.googleads.v9.services.AssetGroupService.GetAssetGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssetGroupRequest { - /// Required. The resource name of the asset group to fetch. + /// Required. The resource name of the asset group to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v9.services.AssetGroupService.MutateAssetGroups\]. +/// Request message for \[AssetGroupService.MutateAssetGroups][google.ads.googleads.v9.services.AssetGroupService.MutateAssetGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsRequest { - /// Required. The ID of the customer whose asset groups are being modified. + /// Required. The ID of the customer whose asset groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset groups. + /// Required. The list of operations to perform on individual asset groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an asset group. +/// A single operation (create, remove) on an asset group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetGroupOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetGroupOperation`. pub mod asset_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset group + /// Create operation: No resource name is expected for the new asset group #[prost(message, tag="1")] Create(super::super::resources::AssetGroup), - /// Update operation: The asset group is expected to have a valid resource - /// name. + /// Update operation: The asset group is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetGroup), - /// Remove operation: A resource name for the removed asset group is - /// expected, in this format: - /// `customers/{customer_id}/assetGroups/{asset_group_id}` + /// Remove operation: A resource name for the removed asset group is + /// expected, in this format: + /// `customers/{customer_id}/assetGroups/{asset_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset group mutate. +/// Response message for an asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset group mutate. +/// The result for the asset group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -5186,86 +5186,86 @@ pub mod asset_group_service_client { } } } -/// Request message for \[AssetService.GetAsset][google.ads.googleads.v9.services.AssetService.GetAsset\] +/// Request message for \[AssetService.GetAsset][google.ads.googleads.v9.services.AssetService.GetAsset\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssetRequest { - /// Required. The resource name of the asset to fetch. + /// Required. The resource name of the asset to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v9.services.AssetService.MutateAssets\] +/// Request message for \[AssetService.MutateAssets][google.ads.googleads.v9.services.AssetService.MutateAssets\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsRequest { - /// Required. The ID of the customer whose assets are being modified. + /// Required. The ID of the customer whose assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual assets. + /// Required. The list of operations to perform on individual assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="3")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation to create an asset. Supported asset types are -/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset -/// should be created with Ad inline. +/// A single operation to create an asset. Supported asset types are +/// YoutubeVideoAsset, MediaBundleAsset, ImageAsset, and LeadFormAsset. TextAsset +/// should be created with Ad inline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetOperation`. pub mod asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset. + /// Create operation: No resource name is expected for the new asset. #[prost(message, tag="1")] Create(super::super::resources::Asset), - /// Update operation: The asset is expected to have a valid resource name in - /// this format: + /// Update operation: The asset is expected to have a valid resource name in + /// this format: /// - /// `customers/{customer_id}/assets/{asset_id}` + /// `customers/{customer_id}/assets/{asset_id}` #[prost(message, tag="2")] Update(super::super::resources::Asset), } } -/// Response message for an asset mutate. +/// Response message for an asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the asset mutate. +/// The result for the asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset: ::core::option::Option, } @@ -5420,75 +5420,75 @@ pub mod asset_service_client { } } } -/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v9.services.AssetSetAssetService.MutateAssetSetAssets\]. +/// Request message for \[AssetSetAssetService.MutateAssetSetAssets][google.ads.googleads.v9.services.AssetSetAssetService.MutateAssetSetAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsRequest { - /// Required. The ID of the customer whose asset set assets are being modified. + /// Required. The ID of the customer whose asset set assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset set assets. + /// Required. The list of operations to perform on individual asset set assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set asset. +/// A single operation (create, remove) on an asset set asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetAssetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_asset_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetAssetOperation`. pub mod asset_set_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set - /// asset + /// Create operation: No resource name is expected for the new asset set + /// asset #[prost(message, tag="1")] Create(super::super::resources::AssetSetAsset), - /// Remove operation: A resource name for the removed asset set asset is - /// expected, in this format: - /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` + /// Remove operation: A resource name for the removed asset set asset is + /// expected, in this format: + /// `customers/{customer_id}/assetSetAssets/{asset_set_id}~{asset_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set asset mutate. +/// Response message for an asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set asset mutate. +/// The result for the asset set asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set asset with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated asset set asset with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set_asset: ::core::option::Option, } @@ -5588,80 +5588,80 @@ pub mod asset_set_asset_service_client { } } } -/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v9.services.AssetSetService.MutateAssetSets\]. +/// Request message for \[AssetSetService.MutateAssetSets][google.ads.googleads.v9.services.AssetSetService.MutateAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsRequest { - /// Required. The ID of the customer whose asset sets are being modified. + /// Required. The ID of the customer whose asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual asset sets. + /// Required. The list of operations to perform on individual asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an asset set. +/// A single operation (create, remove) on an asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="asset_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `AssetSetOperation`. pub mod asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new asset set + /// Create operation: No resource name is expected for the new asset set #[prost(message, tag="1")] Create(super::super::resources::AssetSet), - /// Update operation: The asset set is expected to have a valid resource - /// name. + /// Update operation: The asset set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::AssetSet), - /// Remove operation: A resource name for the removed asset set is - /// expected, in this format: - /// `customers/{customer_id}/assetSets/{asset_set_id}` + /// Remove operation: A resource name for the removed asset set is + /// expected, in this format: + /// `customers/{customer_id}/assetSets/{asset_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an asset set mutate. +/// Response message for an asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the asset set mutate. +/// The result for the asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated asset set with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated asset set with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub asset_set: ::core::option::Option, } @@ -5758,92 +5758,92 @@ pub mod asset_set_service_client { } } } -/// Request message for -/// \[BiddingDataExclusionService.GetBiddingDataExclusion][google.ads.googleads.v9.services.BiddingDataExclusionService.GetBiddingDataExclusion\]. +/// Request message for +/// \[BiddingDataExclusionService.GetBiddingDataExclusion][google.ads.googleads.v9.services.BiddingDataExclusionService.GetBiddingDataExclusion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiddingDataExclusionRequest { - /// Required. The resource name of the data exclusion to fetch. + /// Required. The resource name of the data exclusion to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v9.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. +/// Request message for +/// \[BiddingDataExclusionService.MutateBiddingDataExclusions][google.ads.googleads.v9.services.BiddingDataExclusionService.MutateBiddingDataExclusions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsRequest { - /// Required. ID of the customer whose data exclusions are being modified. + /// Required. ID of the customer whose data exclusions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual data exclusions. + /// Required. The list of operations to perform on individual data exclusions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a data exclusion. +/// A single operation (create, remove, update) on a data exclusion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingDataExclusionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_data_exclusion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingDataExclusionOperation`. pub mod bidding_data_exclusion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new data - /// exclusion. + /// Create operation: No resource name is expected for the new data + /// exclusion. #[prost(message, tag="1")] Create(super::super::resources::BiddingDataExclusion), - /// Update operation: The data exclusion is expected to have a valid - /// resource name. + /// Update operation: The data exclusion is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingDataExclusion), - /// Remove operation: A resource name for the removed data exclusion - /// is expected, in this format: + /// Remove operation: A resource name for the removed data exclusion + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` + /// `customers/{customer_id}/biddingDataExclusions/{data_exclusion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for data exlusions mutate. +/// Response message for data exlusions mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the data exclusion mutate. +/// The result for the data exclusion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingDataExclusionsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding data exclusion with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding data exclusion with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_data_exclusion: ::core::option::Option, } @@ -5968,92 +5968,92 @@ pub mod bidding_data_exclusion_service_client { } } } -/// Request message for -/// \[BiddingSeasonalityAdjustmentService.GetBiddingSeasonalityAdjustment][google.ads.googleads.v9.services.BiddingSeasonalityAdjustmentService.GetBiddingSeasonalityAdjustment\]. +/// Request message for +/// \[BiddingSeasonalityAdjustmentService.GetBiddingSeasonalityAdjustment][google.ads.googleads.v9.services.BiddingSeasonalityAdjustmentService.GetBiddingSeasonalityAdjustment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiddingSeasonalityAdjustmentRequest { - /// Required. The resource name of the seasonality adjustment to fetch. + /// Required. The resource name of the seasonality adjustment to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v9.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. +/// Request message for +/// \[BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments][google.ads.googleads.v9.services.BiddingSeasonalityAdjustmentService.MutateBiddingSeasonalityAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsRequest { - /// Required. ID of the customer whose seasonality adjustments are being modified. + /// Required. ID of the customer whose seasonality adjustments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual seasonality adjustments. + /// Required. The list of operations to perform on individual seasonality adjustments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a seasonality adjustment. +/// A single operation (create, remove, update) on a seasonality adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingSeasonalityAdjustmentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_seasonality_adjustment_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingSeasonalityAdjustmentOperation`. pub mod bidding_seasonality_adjustment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new seasonality - /// adjustment. + /// Create operation: No resource name is expected for the new seasonality + /// adjustment. #[prost(message, tag="1")] Create(super::super::resources::BiddingSeasonalityAdjustment), - /// Update operation: The seasonality adjustment is expected to have a valid - /// resource name. + /// Update operation: The seasonality adjustment is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingSeasonalityAdjustment), - /// Remove operation: A resource name for the removed seasonality adjustment - /// is expected, in this format: + /// Remove operation: A resource name for the removed seasonality adjustment + /// is expected, in this format: /// - /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` + /// `customers/{customer_id}/biddingSeasonalityAdjustments/{seasonality_adjustment_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for seasonality adjustments mutate. +/// Response message for seasonality adjustments mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the seasonality adjustment mutate. +/// The result for the seasonality adjustment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingSeasonalityAdjustmentsResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding seasonality adjustment with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated bidding seasonality adjustment with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_seasonality_adjustment: ::core::option::Option, } @@ -6182,90 +6182,90 @@ pub mod bidding_seasonality_adjustment_service_client { } } } -/// Request message for \[BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v9.services.BiddingStrategyService.GetBiddingStrategy\]. +/// Request message for \[BiddingStrategyService.GetBiddingStrategy][google.ads.googleads.v9.services.BiddingStrategyService.GetBiddingStrategy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiddingStrategyRequest { - /// Required. The resource name of the bidding strategy to fetch. + /// Required. The resource name of the bidding strategy to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v9.services.BiddingStrategyService.MutateBiddingStrategies\]. +/// Request message for \[BiddingStrategyService.MutateBiddingStrategies][google.ads.googleads.v9.services.BiddingStrategyService.MutateBiddingStrategies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesRequest { - /// Required. The ID of the customer whose bidding strategies are being modified. + /// Required. The ID of the customer whose bidding strategies are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual bidding strategies. + /// Required. The list of operations to perform on individual bidding strategies. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a bidding strategy. +/// A single operation (create, update, remove) on a bidding strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiddingStrategyOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="bidding_strategy_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BiddingStrategyOperation`. pub mod bidding_strategy_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new bidding - /// strategy. + /// Create operation: No resource name is expected for the new bidding + /// strategy. #[prost(message, tag="1")] Create(super::super::resources::BiddingStrategy), - /// Update operation: The bidding strategy is expected to have a valid - /// resource name. + /// Update operation: The bidding strategy is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::BiddingStrategy), - /// Remove operation: A resource name for the removed bidding strategy is - /// expected, in this format: + /// Remove operation: A resource name for the removed bidding strategy is + /// expected, in this format: /// - /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` + /// `customers/{customer_id}/biddingStrategies/{bidding_strategy_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for bidding strategy mutate. +/// Response message for bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategiesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the bidding strategy mutate. +/// The result for the bidding strategy mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBiddingStrategyResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated bidding strategy with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated bidding strategy with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub bidding_strategy: ::core::option::Option, } @@ -6426,90 +6426,90 @@ pub mod bidding_strategy_service_client { } } } -/// Request message for \[CampaignAssetService.GetCampaignAsset][google.ads.googleads.v9.services.CampaignAssetService.GetCampaignAsset\]. +/// Request message for \[CampaignAssetService.GetCampaignAsset][google.ads.googleads.v9.services.CampaignAssetService.GetCampaignAsset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignAssetRequest { - /// Required. The resource name of the campaign asset to fetch. + /// Required. The resource name of the campaign asset to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v9.services.CampaignAssetService.MutateCampaignAssets\]. +/// Request message for \[CampaignAssetService.MutateCampaignAssets][google.ads.googleads.v9.services.CampaignAssetService.MutateCampaignAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsRequest { - /// Required. The ID of the customer whose campaign assets are being modified. + /// Required. The ID of the customer whose campaign assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign assets. + /// Required. The list of operations to perform on individual campaign assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign asset. +/// A single operation (create, update, remove) on a campaign asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetOperation`. pub mod campaign_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// asset. + /// Create operation: No resource name is expected for the new campaign + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CampaignAsset), - /// Update operation: The campaign asset is expected to have a valid resource - /// name. + /// Update operation: The campaign asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CampaignAsset), - /// Remove operation: A resource name for the removed campaign asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign asset is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` + /// `customers/{customer_id}/campaignAssets/{campaign_id}~{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset mutate. +/// Response message for a campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign asset mutate. +/// The result for the campaign asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset: ::core::option::Option, } @@ -6654,75 +6654,75 @@ pub mod campaign_asset_service_client { } } } -/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v9.services.CampaignAssetSetService.MutateCampaignAssetSets\]. +/// Request message for \[CampaignAssetSetService.MutateCampaignAssetSets][google.ads.googleads.v9.services.CampaignAssetSetService.MutateCampaignAssetSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsRequest { - /// Required. The ID of the customer whose campaign asset sets are being modified. + /// Required. The ID of the customer whose campaign asset sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign asset sets. + /// Required. The list of operations to perform on individual campaign asset sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a campaign asset set. +/// A single operation (create, remove) on a campaign asset set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignAssetSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_asset_set_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignAssetSetOperation`. pub mod campaign_asset_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign asset - /// set. + /// Create operation: No resource name is expected for the new campaign asset + /// set. #[prost(message, tag="1")] Create(super::super::resources::CampaignAssetSet), - /// Remove operation: A resource name for the removed campaign asset set is - /// expected, in this format: - /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` + /// Remove operation: A resource name for the removed campaign asset set is + /// expected, in this format: + /// `customers/{customer_id}/campaignAssetSets/{campaign_id}~{asset_set_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign asset set mutate. +/// Response message for a campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign asset set mutate. +/// The result for the campaign asset set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignAssetSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign asset set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign asset set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_asset_set: ::core::option::Option, } @@ -6824,91 +6824,91 @@ pub mod campaign_asset_set_service_client { } } } -/// Request message for \[CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v9.services.CampaignBidModifierService.GetCampaignBidModifier\]. +/// Request message for \[CampaignBidModifierService.GetCampaignBidModifier][google.ads.googleads.v9.services.CampaignBidModifierService.GetCampaignBidModifier\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignBidModifierRequest { - /// Required. The resource name of the campaign bid modifier to fetch. + /// Required. The resource name of the campaign bid modifier to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v9.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. +/// Request message for +/// \[CampaignBidModifierService.MutateCampaignBidModifiers][google.ads.googleads.v9.services.CampaignBidModifierService.MutateCampaignBidModifiers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersRequest { - /// Required. ID of the customer whose campaign bid modifiers are being modified. + /// Required. ID of the customer whose campaign bid modifiers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign bid modifiers. + /// Required. The list of operations to perform on individual campaign bid modifiers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a campaign bid modifier. +/// A single operation (create, remove, update) on a campaign bid modifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBidModifierOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_bid_modifier_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBidModifierOperation`. pub mod campaign_bid_modifier_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign bid - /// modifier. + /// Create operation: No resource name is expected for the new campaign bid + /// modifier. #[prost(message, tag="1")] Create(super::super::resources::CampaignBidModifier), - /// Update operation: The campaign bid modifier is expected to have a valid - /// resource name. + /// Update operation: The campaign bid modifier is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBidModifier), - /// Remove operation: A resource name for the removed campaign bid modifier - /// is expected, in this format: + /// Remove operation: A resource name for the removed campaign bid modifier + /// is expected, in this format: /// - /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/CampaignBidModifiers/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign bid modifiers mutate. +/// Response message for campaign bid modifiers mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifiersResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBidModifierResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign bid modifier with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign bid modifier with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_bid_modifier: ::core::option::Option, } @@ -7065,89 +7065,89 @@ pub mod campaign_bid_modifier_service_client { } } } -/// Request message for \[CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v9.services.CampaignBudgetService.GetCampaignBudget\]. +/// Request message for \[CampaignBudgetService.GetCampaignBudget][google.ads.googleads.v9.services.CampaignBudgetService.GetCampaignBudget\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignBudgetRequest { - /// Required. The resource name of the campaign budget to fetch. + /// Required. The resource name of the campaign budget to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v9.services.CampaignBudgetService.MutateCampaignBudgets\]. +/// Request message for \[CampaignBudgetService.MutateCampaignBudgets][google.ads.googleads.v9.services.CampaignBudgetService.MutateCampaignBudgets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsRequest { - /// Required. The ID of the customer whose campaign budgets are being modified. + /// Required. The ID of the customer whose campaign budgets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign budgets. + /// Required. The list of operations to perform on individual campaign budgets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign budget. +/// A single operation (create, update, remove) on a campaign budget. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_budget_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignBudgetOperation`. pub mod campaign_budget_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new budget. + /// Create operation: No resource name is expected for the new budget. #[prost(message, tag="1")] Create(super::super::resources::CampaignBudget), - /// Update operation: The campaign budget is expected to have a valid - /// resource name. + /// Update operation: The campaign budget is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignBudget), - /// Remove operation: A resource name for the removed budget is expected, in - /// this format: + /// Remove operation: A resource name for the removed budget is expected, in + /// this format: /// - /// `customers/{customer_id}/campaignBudgets/{budget_id}` + /// `customers/{customer_id}/campaignBudgets/{budget_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign budget mutate. +/// Response message for campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign budget mutate. +/// The result for the campaign budget mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignBudgetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign budget with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign budget with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_budget: ::core::option::Option, } @@ -7297,53 +7297,53 @@ pub mod campaign_budget_service_client { } } } -/// Request message for -/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v9.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. +/// Request message for +/// \[CampaignConversionGoalService.MutateCampaignConversionGoals][google.ads.googleads.v9.services.CampaignConversionGoalService.MutateCampaignConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsRequest { - /// Required. The ID of the customer whose campaign conversion goals are being modified. + /// Required. The ID of the customer whose campaign conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign conversion goal. + /// Required. The list of operations to perform on individual campaign conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a campaign conversion goal. +/// A single operation (update) on a campaign conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignConversionGoalOperation`. pub mod campaign_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignConversionGoal), } } -/// Response message for a campaign conversion goal mutate. +/// Response message for a campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign conversion goal mutate. +/// The result for the campaign conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -7445,89 +7445,89 @@ pub mod campaign_conversion_goal_service_client { } } } -/// Request message for \[CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v9.services.CampaignCriterionService.GetCampaignCriterion\]. +/// Request message for \[CampaignCriterionService.GetCampaignCriterion][google.ads.googleads.v9.services.CampaignCriterionService.GetCampaignCriterion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignCriterionRequest { - /// Required. The resource name of the criterion to fetch. + /// Required. The resource name of the criterion to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v9.services.CampaignCriterionService.MutateCampaignCriteria\]. +/// Request message for \[CampaignCriterionService.MutateCampaignCriteria][google.ads.googleads.v9.services.CampaignCriterionService.MutateCampaignCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign criterion. +/// A single operation (create, update, remove) on a campaign criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCriterionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_criterion_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCriterionOperation`. pub mod campaign_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CampaignCriterion), - /// Update operation: The criterion is expected to have a valid resource - /// name. + /// Update operation: The criterion is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` + /// `customers/{customer_id}/campaignCriteria/{campaign_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign criterion mutate. +/// Response message for campaign criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_criterion: ::core::option::Option, } @@ -7690,76 +7690,76 @@ pub mod campaign_criterion_service_client { } } } -/// Request message for -/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v9.services.CampaignCustomizerService.MutateCampaignCustomizers\]. +/// Request message for +/// \[CampaignCustomizerService.MutateCampaignCustomizers][google.ads.googleads.v9.services.CampaignCustomizerService.MutateCampaignCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersRequest { - /// Required. The ID of the customer whose campaign customizers are being modified. + /// Required. The ID of the customer whose campaign customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign customizers. + /// Required. The list of operations to perform on individual campaign customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignCustomizerOperation`. pub mod campaign_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// customizer + /// Create operation: No resource name is expected for the new campaign + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CampaignCustomizer), - /// Remove operation: A resource name for the removed campaign customizer is - /// expected, in this format: - /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` + /// Remove operation: A resource name for the removed campaign customizer is + /// expected, in this format: + /// `customers/{customer_id}/campaignCustomizers/{campaign_id}~{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an campaign customizer mutate. +/// Response message for an campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the campaign customizer mutate. +/// The result for the campaign customizer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CampaignCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CampaignCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_customizer: ::core::option::Option, } @@ -7861,132 +7861,132 @@ pub mod campaign_customizer_service_client { } } } -/// Request message for \[CampaignDraftService.GetCampaignDraft][google.ads.googleads.v9.services.CampaignDraftService.GetCampaignDraft\]. +/// Request message for \[CampaignDraftService.GetCampaignDraft][google.ads.googleads.v9.services.CampaignDraftService.GetCampaignDraft\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignDraftRequest { - /// Required. The resource name of the campaign draft to fetch. + /// Required. The resource name of the campaign draft to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v9.services.CampaignDraftService.MutateCampaignDrafts\]. +/// Request message for \[CampaignDraftService.MutateCampaignDrafts][google.ads.googleads.v9.services.CampaignDraftService.MutateCampaignDrafts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsRequest { - /// Required. The ID of the customer whose campaign drafts are being modified. + /// Required. The ID of the customer whose campaign drafts are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign drafts. + /// Required. The list of operations to perform on individual campaign drafts. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v9.services.CampaignDraftService.PromoteCampaignDraft\]. +/// Request message for \[CampaignDraftService.PromoteCampaignDraft][google.ads.googleads.v9.services.CampaignDraftService.PromoteCampaignDraft\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignDraftRequest { - /// Required. The resource name of the campaign draft to promote. + /// Required. The resource name of the campaign draft to promote. #[prost(string, tag="1")] pub campaign_draft: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a campaign draft. +/// A single operation (create, update, remove) on a campaign draft. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDraftOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_draft_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignDraftOperation`. pub mod campaign_draft_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// draft. + /// Create operation: No resource name is expected for the new campaign + /// draft. #[prost(message, tag="1")] Create(super::super::resources::CampaignDraft), - /// Update operation: The campaign draft is expected to have a valid - /// resource name. + /// Update operation: The campaign draft is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignDraft), - /// Remove operation: The campaign draft is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign draft is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` + /// `customers/{customer_id}/campaignDrafts/{base_campaign_id}~{draft_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign draft mutate. +/// Response message for campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign draft mutate. +/// The result for the campaign draft mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignDraftResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign draft with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign draft with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_draft: ::core::option::Option, } -/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v9.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Request message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v9.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsRequest { - /// Required. The name of the campaign draft from which to retrieve the async errors. + /// Required. The name of the campaign draft from which to retrieve the async errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v9.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. +/// Response message for \[CampaignDraftService.ListCampaignDraftAsyncErrors][google.ads.googleads.v9.services.CampaignDraftService.ListCampaignDraftAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignDraftAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -8202,187 +8202,187 @@ pub mod campaign_draft_service_client { } } } -/// Request message for \[CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GetCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.GetCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GetCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to fetch. + /// Required. The resource name of the campaign experiment to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v9.services.CampaignExperimentService.MutateCampaignExperiments\]. +/// Request message for \[CampaignExperimentService.MutateCampaignExperiments][google.ads.googleads.v9.services.CampaignExperimentService.MutateCampaignExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsRequest { - /// Required. The ID of the customer whose campaign experiments are being modified. + /// Required. The ID of the customer whose campaign experiments are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign experiments. + /// Required. The list of operations to perform on individual campaign experiments. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single update operation on a campaign experiment. +/// A single update operation on a campaign experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExperimentOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_experiment_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExperimentOperation`. pub mod campaign_experiment_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The campaign experiment is expected to have a valid - /// resource name. + /// Update operation: The campaign experiment is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CampaignExperiment), - /// Remove operation: The campaign experiment is expected to have a valid - /// resource name, in this format: + /// Remove operation: The campaign experiment is expected to have a valid + /// resource name, in this format: /// - /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` + /// `customers/{customer_id}/campaignExperiments/{campaign_experiment_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign experiment mutate. +/// Response message for campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign experiment mutate. +/// The result for the campaign experiment mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExperimentResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign experiment with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign experiment with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, } -/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.CreateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.CreateCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.CreateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentRequest { - /// Required. The ID of the customer whose campaign experiment is being created. + /// Required. The ID of the customer whose campaign experiment is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The campaign experiment to be created. + /// Required. The campaign experiment to be created. #[prost(message, optional, tag="2")] pub campaign_experiment: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Message used as metadata returned in Long Running Operations for -/// CreateCampaignExperimentRequest +/// Message used as metadata returned in Long Running Operations for +/// CreateCampaignExperimentRequest #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCampaignExperimentMetadata { - /// Resource name of campaign experiment created. + /// Resource name of campaign experiment created. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GraduateCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.GraduateCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.GraduateCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to graduate. + /// Required. The resource name of the campaign experiment to graduate. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// Required. Resource name of the budget to attach to the campaign graduated from the - /// experiment. + /// Required. Resource name of the budget to attach to the campaign graduated from the + /// experiment. #[prost(string, tag="2")] pub campaign_budget: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Response message for campaign experiment graduate. +/// Response message for campaign experiment graduate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GraduateCampaignExperimentResponse { - /// The resource name of the campaign from the graduated experiment. - /// This campaign is the same one as CampaignExperiment.experiment_campaign. + /// The resource name of the campaign from the graduated experiment. + /// This campaign is the same one as CampaignExperiment.experiment_campaign. #[prost(string, tag="1")] pub graduated_campaign: ::prost::alloc::string::String, } -/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.PromoteCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.PromoteCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.PromoteCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to promote. + /// Required. The resource name of the campaign experiment to promote. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but no Long Running Operation is created. - /// Only errors are returned. + /// If true, the request is validated but no Long Running Operation is created. + /// Only errors are returned. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.EndCampaignExperiment\]. +/// Request message for \[CampaignExperimentService.EndCampaignExperiment][google.ads.googleads.v9.services.CampaignExperimentService.EndCampaignExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndCampaignExperimentRequest { - /// Required. The resource name of the campaign experiment to end. + /// Required. The resource name of the campaign experiment to end. #[prost(string, tag="1")] pub campaign_experiment: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v9.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Request message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v9.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsRequest { - /// Required. The name of the campaign experiment from which to retrieve the async - /// errors. + /// Required. The name of the campaign experiment from which to retrieve the async + /// errors. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for -/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v9.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. +/// Response message for +/// \[CampaignExperimentService.ListCampaignExperimentAsyncErrors][google.ads.googleads.v9.services.CampaignExperimentService.ListCampaignExperimentAsyncErrors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCampaignExperimentAsyncErrorsResponse { - /// Details of the errors when performing the asynchronous operation. + /// Details of the errors when performing the asynchronous operation. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -8714,94 +8714,94 @@ pub mod campaign_experiment_service_client { } } } -/// Request message for -/// \[CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v9.services.CampaignExtensionSettingService.GetCampaignExtensionSetting\]. +/// Request message for +/// \[CampaignExtensionSettingService.GetCampaignExtensionSetting][google.ads.googleads.v9.services.CampaignExtensionSettingService.GetCampaignExtensionSetting\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignExtensionSettingRequest { - /// Required. The resource name of the campaign extension setting to fetch. + /// Required. The resource name of the campaign extension setting to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v9.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. +/// Request message for +/// \[CampaignExtensionSettingService.MutateCampaignExtensionSettings][google.ads.googleads.v9.services.CampaignExtensionSettingService.MutateCampaignExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsRequest { - /// Required. The ID of the customer whose campaign extension settings are being - /// modified. + /// Required. The ID of the customer whose campaign extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign extension - /// settings. + /// Required. The list of operations to perform on individual campaign extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign extension setting. +/// A single operation (create, update, remove) on a campaign extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignExtensionSettingOperation`. pub mod campaign_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// extension setting. + /// Create operation: No resource name is expected for the new campaign + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CampaignExtensionSetting), - /// Update operation: The campaign extension setting is expected to have a - /// valid resource name. + /// Update operation: The campaign extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CampaignExtensionSetting), - /// Remove operation: A resource name for the removed campaign extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed campaign extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` + /// `customers/{customer_id}/campaignExtensionSettings/{campaign_id}~{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign extension setting mutate. +/// Response message for a campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign extension setting mutate. +/// The result for the campaign extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign extension setting with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated campaign extension setting with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_extension_setting: ::core::option::Option, } @@ -8965,89 +8965,89 @@ pub mod campaign_extension_setting_service_client { } } } -/// Request message for \[CampaignFeedService.GetCampaignFeed][google.ads.googleads.v9.services.CampaignFeedService.GetCampaignFeed\]. +/// Request message for \[CampaignFeedService.GetCampaignFeed][google.ads.googleads.v9.services.CampaignFeedService.GetCampaignFeed\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignFeedRequest { - /// Required. The resource name of the campaign feed to fetch. + /// Required. The resource name of the campaign feed to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v9.services.CampaignFeedService.MutateCampaignFeeds\]. +/// Request message for \[CampaignFeedService.MutateCampaignFeeds][google.ads.googleads.v9.services.CampaignFeedService.MutateCampaignFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsRequest { - /// Required. The ID of the customer whose campaign feeds are being modified. + /// Required. The ID of the customer whose campaign feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign feeds. + /// Required. The list of operations to perform on individual campaign feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign feed. +/// A single operation (create, update, remove) on a campaign feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignFeedOperation`. pub mod campaign_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign feed. + /// Create operation: No resource name is expected for the new campaign feed. #[prost(message, tag="1")] Create(super::super::resources::CampaignFeed), - /// Update operation: The campaign feed is expected to have a valid resource - /// name. + /// Update operation: The campaign feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CampaignFeed), - /// Remove operation: A resource name for the removed campaign feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign feed is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` + /// `customers/{customer_id}/campaignFeeds/{campaign_id}~{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign feed mutate. +/// Response message for a campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign feed mutate. +/// The result for the campaign feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_feed: ::core::option::Option, } @@ -9200,74 +9200,74 @@ pub mod campaign_feed_service_client { } } } -/// Request message for \[CampaignLabelService.GetCampaignLabel][google.ads.googleads.v9.services.CampaignLabelService.GetCampaignLabel\]. +/// Request message for \[CampaignLabelService.GetCampaignLabel][google.ads.googleads.v9.services.CampaignLabelService.GetCampaignLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignLabelRequest { - /// Required. The resource name of the campaign-label relationship to fetch. + /// Required. The resource name of the campaign-label relationship to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v9.services.CampaignLabelService.MutateCampaignLabels\]. +/// Request message for \[CampaignLabelService.MutateCampaignLabels][google.ads.googleads.v9.services.CampaignLabelService.MutateCampaignLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsRequest { - /// Required. ID of the customer whose campaign-label relationships are being modified. + /// Required. ID of the customer whose campaign-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on campaign-label relationships. + /// Required. The list of operations to perform on campaign-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a campaign-label relationship. +/// A single operation (create, remove) on a campaign-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignLabelOperation`. pub mod campaign_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign-label - /// relationship. + /// Create operation: No resource name is expected for the new campaign-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CampaignLabel), - /// Remove operation: A resource name for the campaign-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the campaign-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` + /// `customers/{customer_id}/campaignLabels/{campaign_id}~{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign labels mutate. +/// Response message for a campaign labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a campaign label mutate. +/// The result for a campaign label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -9411,88 +9411,88 @@ pub mod campaign_label_service_client { } } } -/// Request message for \[CampaignService.GetCampaign][google.ads.googleads.v9.services.CampaignService.GetCampaign\]. +/// Request message for \[CampaignService.GetCampaign][google.ads.googleads.v9.services.CampaignService.GetCampaign\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignRequest { - /// Required. The resource name of the campaign to fetch. + /// Required. The resource name of the campaign to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v9.services.CampaignService.MutateCampaigns\]. +/// Request message for \[CampaignService.MutateCampaigns][google.ads.googleads.v9.services.CampaignService.MutateCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsRequest { - /// Required. The ID of the customer whose campaigns are being modified. + /// Required. The ID of the customer whose campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaigns. + /// Required. The list of operations to perform on individual campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a campaign. +/// A single operation (create, update, remove) on a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignOperation`. pub mod campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign. + /// Create operation: No resource name is expected for the new campaign. #[prost(message, tag="1")] Create(super::super::resources::Campaign), - /// Update operation: The campaign is expected to have a valid - /// resource name. + /// Update operation: The campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::Campaign), - /// Remove operation: A resource name for the removed campaign is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign is + /// expected, in this format: /// - /// `customers/{customer_id}/campaigns/{campaign_id}` + /// `customers/{customer_id}/campaigns/{campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign mutate. +/// The result for the campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated campaign with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, } @@ -9653,83 +9653,83 @@ pub mod campaign_service_client { } } } -/// Request message for \[CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v9.services.CampaignSharedSetService.GetCampaignSharedSet\]. +/// Request message for \[CampaignSharedSetService.GetCampaignSharedSet][google.ads.googleads.v9.services.CampaignSharedSetService.GetCampaignSharedSet\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignSharedSetRequest { - /// Required. The resource name of the campaign shared set to fetch. + /// Required. The resource name of the campaign shared set to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v9.services.CampaignSharedSetService.MutateCampaignSharedSets\]. +/// Request message for \[CampaignSharedSetService.MutateCampaignSharedSets][google.ads.googleads.v9.services.CampaignSharedSetService.MutateCampaignSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsRequest { - /// Required. The ID of the customer whose campaign shared sets are being modified. + /// Required. The ID of the customer whose campaign shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual campaign shared sets. + /// Required. The list of operations to perform on individual campaign shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an campaign shared set. +/// A single operation (create, remove) on an campaign shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignSharedSetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="campaign_shared_set_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CampaignSharedSetOperation`. pub mod campaign_shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new campaign - /// shared set. + /// Create operation: No resource name is expected for the new campaign + /// shared set. #[prost(message, tag="1")] Create(super::super::resources::CampaignSharedSet), - /// Remove operation: A resource name for the removed campaign shared set is - /// expected, in this format: + /// Remove operation: A resource name for the removed campaign shared set is + /// expected, in this format: /// - /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` + /// `customers/{customer_id}/campaignSharedSets/{campaign_id}~{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a campaign shared set mutate. +/// Response message for a campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the campaign shared set mutate. +/// The result for the campaign shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCampaignSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated campaign shared set with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated campaign shared set with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub campaign_shared_set: ::core::option::Option, } @@ -9885,90 +9885,90 @@ pub mod campaign_shared_set_service_client { } } } -/// Request message for \[ConversionActionService.GetConversionAction][google.ads.googleads.v9.services.ConversionActionService.GetConversionAction\]. +/// Request message for \[ConversionActionService.GetConversionAction][google.ads.googleads.v9.services.ConversionActionService.GetConversionAction\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionActionRequest { - /// Required. The resource name of the conversion action to fetch. + /// Required. The resource name of the conversion action to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v9.services.ConversionActionService.MutateConversionActions\]. +/// Request message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v9.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsRequest { - /// Required. The ID of the customer whose conversion actions are being modified. + /// Required. The ID of the customer whose conversion actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion actions. + /// Required. The list of operations to perform on individual conversion actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion action. +/// A single operation (create, update, remove) on a conversion action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_action_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionActionOperation`. pub mod conversion_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// action. + /// Create operation: No resource name is expected for the new conversion + /// action. #[prost(message, tag="1")] Create(super::super::resources::ConversionAction), - /// Update operation: The conversion action is expected to have a valid - /// resource name. + /// Update operation: The conversion action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionAction), - /// Remove operation: A resource name for the removed conversion action is - /// expected, in this format: + /// Remove operation: A resource name for the removed conversion action is + /// expected, in this format: /// - /// `customers/{customer_id}/conversionActions/{conversion_action_id}` + /// `customers/{customer_id}/conversionActions/{conversion_action_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v9.services.ConversionActionService.MutateConversionActions\]. +/// Response message for \[ConversionActionService.MutateConversionActions][google.ads.googleads.v9.services.ConversionActionService.MutateConversionActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion action mutate. +/// The result for the conversion action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion action with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated conversion action with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_action: ::core::option::Option, } @@ -10119,89 +10119,89 @@ pub mod conversion_action_service_client { } } } -/// Request message for -/// \[ConversionCustomVariableService.GetConversionCustomVariable][google.ads.googleads.v9.services.ConversionCustomVariableService.GetConversionCustomVariable\]. +/// Request message for +/// \[ConversionCustomVariableService.GetConversionCustomVariable][google.ads.googleads.v9.services.ConversionCustomVariableService.GetConversionCustomVariable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionCustomVariableRequest { - /// Required. The resource name of the conversion custom variable to fetch. + /// Required. The resource name of the conversion custom variable to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v9.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Request message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v9.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesRequest { - /// Required. The ID of the customer whose conversion custom variables are being - /// modified. + /// Required. The ID of the customer whose conversion custom variables are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion custom - /// variables. + /// Required. The list of operations to perform on individual conversion custom + /// variables. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update) on a conversion custom variable. +/// A single operation (create, update) on a conversion custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionCustomVariableOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_custom_variable_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionCustomVariableOperation`. pub mod conversion_custom_variable_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// custom variable. + /// Create operation: No resource name is expected for the new conversion + /// custom variable. #[prost(message, tag="1")] Create(super::super::resources::ConversionCustomVariable), - /// Update operation: The conversion custom variable is expected to have a - /// valid resource name. + /// Update operation: The conversion custom variable is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionCustomVariable), } } -/// Response message for -/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v9.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. +/// Response message for +/// \[ConversionCustomVariableService.MutateConversionCustomVariables][google.ads.googleads.v9.services.ConversionCustomVariableService.MutateConversionCustomVariables\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariablesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion custom variable mutate. +/// The result for the conversion custom variable mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionCustomVariableResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion custom variable with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion custom variable with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_custom_variable: ::core::option::Option, } @@ -10346,63 +10346,63 @@ pub mod conversion_custom_variable_service_client { } } } -/// Request message for -/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. +/// Request message for +/// \[ConversionGoalCampaignConfigService.MutateConversionGoalCampaignConfig][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion goal campaign - /// config. + /// Required. The list of operations to perform on individual conversion goal campaign + /// config. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (update) on a conversion goal campaign config. +/// A single operation (update) on a conversion goal campaign config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionGoalCampaignConfigOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_goal_campaign_config_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionGoalCampaignConfigOperation`. pub mod conversion_goal_campaign_config_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The conversion goal campaign config is expected to have - /// a valid resource name. + /// Update operation: The conversion goal campaign config is expected to have + /// a valid resource name. #[prost(message, tag="1")] Update(super::super::resources::ConversionGoalCampaignConfig), } } -/// Response message for a conversion goal campaign config mutate. +/// Response message for a conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the conversion goal campaign config mutate. +/// The result for the conversion goal campaign config mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionGoalCampaignConfigResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated ConversionGoalCampaignConfig with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated ConversionGoalCampaignConfig with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_goal_campaign_config: ::core::option::Option, } @@ -10506,93 +10506,93 @@ pub mod conversion_goal_campaign_config_service_client { } } } -/// Request message for -/// \[ConversionValueRuleService.GetConversionValueRule][google.ads.googleads.v9.services.ConversionValueRuleService.GetConversionValueRule\]. +/// Request message for +/// \[ConversionValueRuleService.GetConversionValueRule][google.ads.googleads.v9.services.ConversionValueRuleService.GetConversionValueRule\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionValueRuleRequest { - /// Required. The resource name of the conversion value rule to fetch. + /// Required. The resource name of the conversion value rule to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v9.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Request message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v9.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesRequest { - /// Required. The ID of the customer whose conversion value rules are being modified. + /// Required. The ID of the customer whose conversion value rules are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rules. + /// Required. The list of operations to perform on individual conversion value rules. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule. +/// A single operation (create, update, remove) on a conversion value rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleOperation`. pub mod conversion_value_rule_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule. + /// Create operation: No resource name is expected for the new conversion + /// value rule. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRule), - /// Update operation: The conversion value rule is expected to have a valid - /// resource name. + /// Update operation: The conversion value rule is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRule), - /// Remove operation: A resource name for the removed conversion value rule - /// is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` + /// `customers/{customer_id}/conversionValueRules/{conversion_value_rule_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v9.services.ConversionValueRuleService.MutateConversionValueRules\]. +/// Response message for +/// \[ConversionValueRuleService.MutateConversionValueRules][google.ads.googleads.v9.services.ConversionValueRuleService.MutateConversionValueRules\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRulesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule mutate. +/// The result for the conversion value rule mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule: ::core::option::Option, } @@ -10717,93 +10717,93 @@ pub mod conversion_value_rule_service_client { } } } -/// Request message for -/// \[ConversionValueRuleSetService.GetConversionValueRuleSet][google.ads.googleads.v9.services.ConversionValueRuleSetService.GetConversionValueRuleSet\]. +/// Request message for +/// \[ConversionValueRuleSetService.GetConversionValueRuleSet][google.ads.googleads.v9.services.ConversionValueRuleSetService.GetConversionValueRuleSet\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionValueRuleSetRequest { - /// Required. The resource name of the conversion value rule set to fetch. + /// Required. The resource name of the conversion value rule set to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v9.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Request message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v9.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsRequest { - /// Required. The ID of the customer whose conversion value rule sets are being modified. + /// Required. The ID of the customer whose conversion value rule sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual conversion value rule sets. + /// Required. The list of operations to perform on individual conversion value rule sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="5")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a conversion value rule set. +/// A single operation (create, update, remove) on a conversion value rule set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionValueRuleSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="conversion_value_rule_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ConversionValueRuleSetOperation`. pub mod conversion_value_rule_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new conversion - /// value rule set. + /// Create operation: No resource name is expected for the new conversion + /// value rule set. #[prost(message, tag="1")] Create(super::super::resources::ConversionValueRuleSet), - /// Update operation: The conversion value rule set is expected to have a - /// valid resource name. + /// Update operation: The conversion value rule set is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ConversionValueRuleSet), - /// Remove operation: A resource name for the removed conversion value rule - /// set is expected, in this format: + /// Remove operation: A resource name for the removed conversion value rule + /// set is expected, in this format: /// - /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` + /// `customers/{customer_id}/conversionValueRuleSets/{conversion_value_rule_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for -/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v9.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. +/// Response message for +/// \[ConversionValueRuleSetService.MutateConversionValueRuleSets][google.ads.googleads.v9.services.ConversionValueRuleSetService.MutateConversionValueRuleSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the conversion value rule set mutate. +/// The result for the conversion value rule set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateConversionValueRuleSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated conversion value rule set with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated conversion value rule set with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub conversion_value_rule_set: ::core::option::Option, } @@ -10928,72 +10928,72 @@ pub mod conversion_value_rule_set_service_client { } } } -/// Request message for -/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v9.services.CustomConversionGoalService.MutateCustomConversionGoals\]. +/// Request message for +/// \[CustomConversionGoalService.MutateCustomConversionGoals][google.ads.googleads.v9.services.CustomConversionGoalService.MutateCustomConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsRequest { - /// Required. The ID of the customer whose custom conversion goals are being modified. + /// Required. The ID of the customer whose custom conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom conversion goal. + /// Required. The list of operations to perform on individual custom conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// A single operation (create, remove) on a custom conversion goal. +/// A single operation (create, remove) on a custom conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_conversion_goal_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomConversionGoalOperation`. pub mod custom_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// conversion goal + /// Create operation: No resource name is expected for the new custom + /// conversion goal #[prost(message, tag="1")] Create(super::super::resources::CustomConversionGoal), - /// Update operation: The custom conversion goal is expected to have a - /// valid resource name. + /// Update operation: The custom conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomConversionGoal), - /// Remove operation: A resource name for the removed custom conversion goal - /// is expected, in this format: + /// Remove operation: A resource name for the removed custom conversion goal + /// is expected, in this format: /// - /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' + /// 'customers/{customer_id}/conversionActions/{ConversionGoal.custom_goal_config.conversion_type_ids}' #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a custom conversion goal mutate. +/// Response message for a custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom conversion goal mutate. +/// The result for the custom conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomConversionGoal with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomConversionGoal with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub custom_conversion_goal: ::core::option::Option, } @@ -11095,90 +11095,90 @@ pub mod custom_conversion_goal_service_client { } } } -/// Request message for \[CustomerAssetService.GetCustomerAsset][google.ads.googleads.v9.services.CustomerAssetService.GetCustomerAsset\]. +/// Request message for \[CustomerAssetService.GetCustomerAsset][google.ads.googleads.v9.services.CustomerAssetService.GetCustomerAsset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerAssetRequest { - /// Required. The resource name of the customer asset to fetch. + /// Required. The resource name of the customer asset to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v9.services.CustomerAssetService.MutateCustomerAssets\]. +/// Request message for \[CustomerAssetService.MutateCustomerAssets][google.ads.googleads.v9.services.CustomerAssetService.MutateCustomerAssets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsRequest { - /// Required. The ID of the customer whose customer assets are being modified. + /// Required. The ID of the customer whose customer assets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer assets. + /// Required. The list of operations to perform on individual customer assets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer asset. +/// A single operation (create, update, remove) on a customer asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerAssetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_asset_operation::Operation", tags="1, 3, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerAssetOperation`. pub mod customer_asset_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// asset. + /// Create operation: No resource name is expected for the new customer + /// asset. #[prost(message, tag="1")] Create(super::super::resources::CustomerAsset), - /// Update operation: The customer asset is expected to have a valid resource - /// name. + /// Update operation: The customer asset is expected to have a valid resource + /// name. #[prost(message, tag="3")] Update(super::super::resources::CustomerAsset), - /// Remove operation: A resource name for the removed customer asset is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer asset is + /// expected, in this format: /// - /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` + /// `customers/{customer_id}/customerAssets/{asset_id}~{field_type}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer asset mutate. +/// Response message for a customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer asset mutate. +/// The result for the customer asset mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerAssetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer asset with only mutable fields after - /// mutate. The field will only be returned when response_content_type is set - /// to "MUTABLE_RESOURCE". + /// The mutated customer asset with only mutable fields after + /// mutate. The field will only be returned when response_content_type is set + /// to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_asset: ::core::option::Option, } @@ -11320,53 +11320,53 @@ pub mod customer_asset_service_client { } } } -/// Request message for -/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v9.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. +/// Request message for +/// \[CustomerConversionGoalService.MutateCustomerConversionGoals][google.ads.googleads.v9.services.CustomerConversionGoalService.MutateCustomerConversionGoals\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsRequest { - /// Required. The ID of the customer whose customer conversion goals are being modified. + /// Required. The ID of the customer whose customer conversion goals are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer conversion goal. + /// Required. The list of operations to perform on individual customer conversion goal. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (update) on a customer conversion goal. +/// A single operation (update) on a customer conversion goal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConversionGoalOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_conversion_goal_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerConversionGoalOperation`. pub mod customer_conversion_goal_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer conversion goal is expected to have a - /// valid resource name. + /// Update operation: The customer conversion goal is expected to have a + /// valid resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerConversionGoal), } } -/// Response message for a customer conversion goal mutate. +/// Response message for a customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer conversion goal mutate. +/// The result for the customer conversion goal mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerConversionGoalResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -11468,76 +11468,76 @@ pub mod customer_conversion_goal_service_client { } } } -/// Request message for -/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v9.services.CustomerCustomizerService.MutateCustomerCustomizers\]. +/// Request message for +/// \[CustomerCustomizerService.MutateCustomerCustomizers][google.ads.googleads.v9.services.CustomerCustomizerService.MutateCustomerCustomizers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersRequest { - /// Required. The ID of the customer whose customer customizers are being modified. + /// Required. The ID of the customer whose customer customizers are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer customizers. + /// Required. The list of operations to perform on individual customer customizers. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerCustomizerOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_customizer_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerCustomizerOperation`. pub mod customer_customizer_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// customizer + /// Create operation: No resource name is expected for the new customer + /// customizer #[prost(message, tag="1")] Create(super::super::resources::CustomerCustomizer), - /// Remove operation: A resource name for the removed customer customizer is - /// expected, in this format: - /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customer customizer is + /// expected, in this format: + /// `customers/{customer_id}/customerCustomizers/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizersResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerCustomizerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerCustomizer with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerCustomizer with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_customizer: ::core::option::Option, } @@ -11639,94 +11639,94 @@ pub mod customer_customizer_service_client { } } } -/// Request message for -/// \[CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v9.services.CustomerExtensionSettingService.GetCustomerExtensionSetting\]. +/// Request message for +/// \[CustomerExtensionSettingService.GetCustomerExtensionSetting][google.ads.googleads.v9.services.CustomerExtensionSettingService.GetCustomerExtensionSetting\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerExtensionSettingRequest { - /// Required. The resource name of the customer extension setting to fetch. + /// Required. The resource name of the customer extension setting to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v9.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. +/// Request message for +/// \[CustomerExtensionSettingService.MutateCustomerExtensionSettings][google.ads.googleads.v9.services.CustomerExtensionSettingService.MutateCustomerExtensionSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsRequest { - /// Required. The ID of the customer whose customer extension settings are being - /// modified. + /// Required. The ID of the customer whose customer extension settings are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer extension - /// settings. + /// Required. The list of operations to perform on individual customer extension + /// settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer extension setting. +/// A single operation (create, update, remove) on a customer extension setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerExtensionSettingOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_extension_setting_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerExtensionSettingOperation`. pub mod customer_extension_setting_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer - /// extension setting. + /// Create operation: No resource name is expected for the new customer + /// extension setting. #[prost(message, tag="1")] Create(super::super::resources::CustomerExtensionSetting), - /// Update operation: The customer extension setting is expected to have a - /// valid resource name. + /// Update operation: The customer extension setting is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerExtensionSetting), - /// Remove operation: A resource name for the removed customer extension - /// setting is expected, in this format: + /// Remove operation: A resource name for the removed customer extension + /// setting is expected, in this format: /// - /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` + /// `customers/{customer_id}/customerExtensionSettings/{extension_type}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer extension setting mutate. +/// Response message for a customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer extension setting mutate. +/// The result for the customer extension setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerExtensionSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomerExtensionSetting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomerExtensionSetting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_extension_setting: ::core::option::Option, } @@ -11888,89 +11888,89 @@ pub mod customer_extension_setting_service_client { } } } -/// Request message for \[CustomerFeedService.GetCustomerFeed][google.ads.googleads.v9.services.CustomerFeedService.GetCustomerFeed\]. +/// Request message for \[CustomerFeedService.GetCustomerFeed][google.ads.googleads.v9.services.CustomerFeedService.GetCustomerFeed\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerFeedRequest { - /// Required. The resource name of the customer feed to fetch. + /// Required. The resource name of the customer feed to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v9.services.CustomerFeedService.MutateCustomerFeeds\]. +/// Request message for \[CustomerFeedService.MutateCustomerFeeds][google.ads.googleads.v9.services.CustomerFeedService.MutateCustomerFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsRequest { - /// Required. The ID of the customer whose customer feeds are being modified. + /// Required. The ID of the customer whose customer feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer feeds. + /// Required. The list of operations to perform on individual customer feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on a customer feed. +/// A single operation (create, update, remove) on a customer feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerFeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerFeedOperation`. pub mod customer_feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer feed. + /// Create operation: No resource name is expected for the new customer feed. #[prost(message, tag="1")] Create(super::super::resources::CustomerFeed), - /// Update operation: The customer feed is expected to have a valid resource - /// name. + /// Update operation: The customer feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::CustomerFeed), - /// Remove operation: A resource name for the removed customer feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed customer feed is + /// expected, in this format: /// - /// `customers/{customer_id}/customerFeeds/{feed_id}` + /// `customers/{customer_id}/customerFeeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer feed mutate. +/// Response message for a customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the customer feed mutate. +/// The result for the customer feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer feed with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated customer feed with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_feed: ::core::option::Option, } @@ -12122,74 +12122,74 @@ pub mod customer_feed_service_client { } } } -/// Request message for \[CustomerLabelService.GetCustomerLabel][google.ads.googleads.v9.services.CustomerLabelService.GetCustomerLabel\]. +/// Request message for \[CustomerLabelService.GetCustomerLabel][google.ads.googleads.v9.services.CustomerLabelService.GetCustomerLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerLabelRequest { - /// Required. The resource name of the customer-label relationship to fetch. + /// Required. The resource name of the customer-label relationship to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v9.services.CustomerLabelService.MutateCustomerLabels\]. +/// Request message for \[CustomerLabelService.MutateCustomerLabels][google.ads.googleads.v9.services.CustomerLabelService.MutateCustomerLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsRequest { - /// Required. ID of the customer whose customer-label relationships are being modified. + /// Required. ID of the customer whose customer-label relationships are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on customer-label relationships. + /// Required. The list of operations to perform on customer-label relationships. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on a customer-label relationship. +/// A single operation (create, remove) on a customer-label relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerLabelOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_label_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerLabelOperation`. pub mod customer_label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customer-label - /// relationship. + /// Create operation: No resource name is expected for the new customer-label + /// relationship. #[prost(message, tag="1")] Create(super::super::resources::CustomerLabel), - /// Remove operation: A resource name for the customer-label relationship - /// being removed, in this format: + /// Remove operation: A resource name for the customer-label relationship + /// being removed, in this format: /// - /// `customers/{customer_id}/customerLabels/{label_id}` + /// `customers/{customer_id}/customerLabels/{label_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a customer labels mutate. +/// Response message for a customer labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a customer label mutate. +/// The result for a customer label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -12331,83 +12331,83 @@ pub mod customer_label_service_client { } } } -/// Request message for -/// \[CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v9.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion\]. +/// Request message for +/// \[CustomerNegativeCriterionService.GetCustomerNegativeCriterion][google.ads.googleads.v9.services.CustomerNegativeCriterionService.GetCustomerNegativeCriterion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerNegativeCriterionRequest { - /// Required. The resource name of the criterion to fetch. + /// Required. The resource name of the criterion to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v9.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. +/// Request message for +/// \[CustomerNegativeCriterionService.MutateCustomerNegativeCriteria][google.ads.googleads.v9.services.CustomerNegativeCriterionService.MutateCustomerNegativeCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaRequest { - /// Required. The ID of the customer whose criteria are being modified. + /// Required. The ID of the customer whose criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual criteria. + /// Required. The list of operations to perform on individual criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create or remove) on a customer level negative criterion. +/// A single operation (create or remove) on a customer level negative criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerNegativeCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_negative_criterion_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerNegativeCriterionOperation`. pub mod customer_negative_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new criterion. + /// Create operation: No resource name is expected for the new criterion. #[prost(message, tag="1")] Create(super::super::resources::CustomerNegativeCriterion), - /// Remove operation: A resource name for the removed criterion is expected, - /// in this format: + /// Remove operation: A resource name for the removed criterion is expected, + /// in this format: /// - /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` + /// `customers/{customer_id}/customerNegativeCriteria/{criterion_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer negative criterion mutate. +/// Response message for customer negative criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the criterion mutate. +/// The result for the criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerNegativeCriteriaResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated criterion with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated criterion with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer_negative_criterion: ::core::option::Option, } @@ -12553,102 +12553,102 @@ pub mod customer_negative_criterion_service_client { } } } -/// Request message for \[CustomerService.GetCustomer][google.ads.googleads.v9.services.CustomerService.GetCustomer\]. +/// Request message for \[CustomerService.GetCustomer][google.ads.googleads.v9.services.CustomerService.GetCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerRequest { - /// Required. The resource name of the customer to fetch. + /// Required. The resource name of the customer to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v9.services.CustomerService.MutateCustomer\]. +/// Request message for \[CustomerService.MutateCustomer][google.ads.googleads.v9.services.CustomerService.MutateCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="4")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="6")] pub response_content_type: i32, } -/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v9.services.CustomerService.CreateCustomerClient\]. +/// Request message for \[CustomerService.CreateCustomerClient][google.ads.googleads.v9.services.CustomerService.CreateCustomerClient\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientRequest { - /// Required. The ID of the Manager under whom client customer is being created. + /// Required. The ID of the Manager under whom client customer is being created. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The new client customer to create. The resource name on this customer - /// will be ignored. + /// Required. The new client customer to create. The resource name on this customer + /// will be ignored. #[prost(message, optional, tag="2")] pub customer_client: ::core::option::Option, - /// Email address of the user who should be invited on the created client - /// customer. Accessible only to customers on the allow-list. + /// Email address of the user who should be invited on the created client + /// customer. Accessible only to customers on the allow-list. #[prost(string, optional, tag="5")] pub email_address: ::core::option::Option<::prost::alloc::string::String>, - /// The proposed role of user on the created client customer. - /// Accessible only to customers on the allow-list. + /// The proposed role of user on the created client customer. + /// Accessible only to customers on the allow-list. #[prost(enumeration="super::enums::access_role_enum::AccessRole", tag="4")] pub access_role: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="6")] pub validate_only: bool, } -/// A single update on a customer. +/// A single update on a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerOperation { - /// Mutate operation. Only updates are supported for customer. + /// Mutate operation. Only updates are supported for customer. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for CreateCustomerClient mutate. +/// Response message for CreateCustomerClient mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerClientResponse { - /// The resource name of the newly created customer client. + /// The resource name of the newly created customer client. #[prost(string, tag="2")] pub resource_name: ::prost::alloc::string::String, - /// Link for inviting user to access the created customer. Accessible to - /// allowlisted customers only. + /// Link for inviting user to access the created customer. Accessible to + /// allowlisted customers only. #[prost(string, tag="3")] pub invitation_link: ::prost::alloc::string::String, } -/// Response message for customer mutate. +/// Response message for customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the customer mutate. +/// The result for the customer mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated customer with only mutable fields after mutate. The fields will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated customer with only mutable fields after mutate. The fields will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customer: ::core::option::Option, } -/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v9.services.CustomerService.ListAccessibleCustomers\]. +/// Request message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v9.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersRequest { } -/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v9.services.CustomerService.ListAccessibleCustomers\]. +/// Response message for \[CustomerService.ListAccessibleCustomers][google.ads.googleads.v9.services.CustomerService.ListAccessibleCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccessibleCustomersResponse { - /// Resource name of customers directly accessible by the - /// user authenticating the call. + /// Resource name of customers directly accessible by the + /// user authenticating the call. #[prost(string, repeated, tag="1")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -12851,79 +12851,79 @@ pub mod customer_service_client { } } } -/// Request message for -/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v9.services.CustomizerAttributeService.MutateCustomizerAttributes\]. +/// Request message for +/// \[CustomizerAttributeService.MutateCustomizerAttributes][google.ads.googleads.v9.services.CustomizerAttributeService.MutateCustomizerAttributes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesRequest { - /// Required. The ID of the customer whose customizer attributes are being modified. + /// Required. The ID of the customer whose customizer attributes are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customizer attributes. + /// Required. The list of operations to perform on individual customizer attributes. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an customizer attribute. +/// A single operation (create, remove) on an customizer attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomizerAttributeOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customizer_attribute_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomizerAttributeOperation`. pub mod customizer_attribute_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new customizer - /// attribute + /// Create operation: No resource name is expected for the new customizer + /// attribute #[prost(message, tag="1")] Create(super::super::resources::CustomizerAttribute), - /// Remove operation: A resource name for the removed customizer attribute is - /// expected, in this format: - /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` + /// Remove operation: A resource name for the removed customizer attribute is + /// expected, in this format: + /// `customers/{customer_id}/customizerAttributes/{customizer_attribute_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an customizer attribute mutate. +/// Response message for an customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the customizer attribute mutate. +/// The result for the customizer attribute mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomizerAttributeResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated CustomizerAttribute with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated CustomizerAttribute with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub customizer_attribute: ::core::option::Option, } @@ -13025,91 +13025,91 @@ pub mod customizer_attribute_service_client { } } } -/// Request message for \[ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v9.services.ExtensionFeedItemService.GetExtensionFeedItem\]. +/// Request message for \[ExtensionFeedItemService.GetExtensionFeedItem][google.ads.googleads.v9.services.ExtensionFeedItemService.GetExtensionFeedItem\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExtensionFeedItemRequest { - /// Required. The resource name of the extension feed item to fetch. + /// Required. The resource name of the extension feed item to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v9.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. +/// Request message for \[ExtensionFeedItemService.MutateExtensionFeedItems][google.ads.googleads.v9.services.ExtensionFeedItemService.MutateExtensionFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsRequest { - /// Required. The ID of the customer whose extension feed items are being - /// modified. + /// Required. The ID of the customer whose extension feed items are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual extension feed items. + /// Required. The list of operations to perform on individual extension feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an extension feed item. +/// A single operation (create, update, remove) on an extension feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtensionFeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="extension_feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `ExtensionFeedItemOperation`. pub mod extension_feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new extension - /// feed item. + /// Create operation: No resource name is expected for the new extension + /// feed item. #[prost(message, tag="1")] Create(super::super::resources::ExtensionFeedItem), - /// Update operation: The extension feed item is expected to have a - /// valid resource name. + /// Update operation: The extension feed item is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::ExtensionFeedItem), - /// Remove operation: A resource name for the removed extension feed item - /// is expected, in this format: + /// Remove operation: A resource name for the removed extension feed item + /// is expected, in this format: /// - /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` + /// `customers/{customer_id}/extensionFeedItems/{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an extension feed item mutate. +/// Response message for an extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the extension feed item mutate. +/// The result for the extension feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateExtensionFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated extension feed item with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated extension feed item with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub extension_feed_item: ::core::option::Option, } @@ -13267,88 +13267,88 @@ pub mod extension_feed_item_service_client { } } } -/// Request message for \[FeedItemService.GetFeedItem][google.ads.googleads.v9.services.FeedItemService.GetFeedItem\]. +/// Request message for \[FeedItemService.GetFeedItem][google.ads.googleads.v9.services.FeedItemService.GetFeedItem\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedItemRequest { - /// Required. The resource name of the feed item to fetch. + /// Required. The resource name of the feed item to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v9.services.FeedItemService.MutateFeedItems\]. +/// Request message for \[FeedItemService.MutateFeedItems][google.ads.googleads.v9.services.FeedItemService.MutateFeedItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsRequest { - /// Required. The ID of the customer whose feed items are being modified. + /// Required. The ID of the customer whose feed items are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed items. + /// Required. The list of operations to perform on individual feed items. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed item. +/// A single operation (create, update, remove) on an feed item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemOperation`. pub mod feed_item_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item. + /// Create operation: No resource name is expected for the new feed item. #[prost(message, tag="1")] Create(super::super::resources::FeedItem), - /// Update operation: The feed item is expected to have a valid resource - /// name. + /// Update operation: The feed item is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItem), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item mutate. +/// Response message for an feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item mutate. +/// The result for the feed item mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed item with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item: ::core::option::Option, } @@ -13500,74 +13500,74 @@ pub mod feed_item_service_client { } } } -/// Request message for \[FeedItemSetLinkService.GetFeedItemSetLinks][\]. +/// Request message for \[FeedItemSetLinkService.GetFeedItemSetLinks][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedItemSetLinkRequest { - /// Required. The resource name of the feed item set link to fetch. + /// Required. The resource name of the feed item set link to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v9.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. +/// Request message for \[FeedItemSetLinkService.MutateFeedItemSetLinks][google.ads.googleads.v9.services.FeedItemSetLinkService.MutateFeedItemSetLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksRequest { - /// Required. The ID of the customer whose feed item set links are being modified. + /// Required. The ID of the customer whose feed item set links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item set links. + /// Required. The list of operations to perform on individual feed item set links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a feed item set link. +/// A single operation (create, update, remove) on a feed item set link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetLinkOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetLinkOperation`. pub mod feed_item_set_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the - /// new feed item set link. + /// Create operation: No resource name is expected for the + /// new feed item set link. #[prost(message, tag="1")] Create(super::super::resources::FeedItemSetLink), - /// Remove operation: A resource name for the removed feed item set link is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item set link is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` + /// `customers/{customer_id}/feedItemSetLinks/{feed_id}_{feed_item_set_id}_{feed_item_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed item set link mutate. +/// Response message for a feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinksResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set link mutate. +/// The result for the feed item set link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13707,79 +13707,79 @@ pub mod feed_item_set_link_service_client { } } } -/// Request message for \[FeedItemSetService.GetFeedItemSet][google.ads.googleads.v9.services.FeedItemSetService.GetFeedItemSet\]. +/// Request message for \[FeedItemSetService.GetFeedItemSet][google.ads.googleads.v9.services.FeedItemSetService.GetFeedItemSet\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedItemSetRequest { - /// Required. The resource name of the feed item set to fetch. + /// Required. The resource name of the feed item set to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v9.services.FeedItemSetService.MutateFeedItemSets\]. +/// Request message for \[FeedItemSetService.MutateFeedItemSets][google.ads.googleads.v9.services.FeedItemSetService.MutateFeedItemSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsRequest { - /// Required. The ID of the customer whose feed item sets are being modified. + /// Required. The ID of the customer whose feed item sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item sets. + /// Required. The list of operations to perform on individual feed item sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item set. +/// A single operation (create, remove) on an feed item set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemSetOperation`. pub mod feed_item_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item set + /// Create operation: No resource name is expected for the new feed item set #[prost(message, tag="1")] Create(super::super::resources::FeedItemSet), - /// Update operation: The feed item set is expected to have a valid resource - /// name. + /// Update operation: The feed item set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::FeedItemSet), - /// Remove operation: A resource name for the removed feed item is - /// expected, in this format: - /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` + /// Remove operation: A resource name for the removed feed item is + /// expected, in this format: + /// `customers/{customer_id}/feedItems/{feed_id}~{feed_item_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item set mutate. +/// Response message for an feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result for the feed item set mutate. +/// The result for the feed item set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -13916,83 +13916,83 @@ pub mod feed_item_set_service_client { } } } -/// Request message for \[FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v9.services.FeedItemTargetService.GetFeedItemTarget\]. +/// Request message for \[FeedItemTargetService.GetFeedItemTarget][google.ads.googleads.v9.services.FeedItemTargetService.GetFeedItemTarget\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedItemTargetRequest { - /// Required. The resource name of the feed item targets to fetch. + /// Required. The resource name of the feed item targets to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v9.services.FeedItemTargetService.MutateFeedItemTargets\]. +/// Request message for \[FeedItemTargetService.MutateFeedItemTargets][google.ads.googleads.v9.services.FeedItemTargetService.MutateFeedItemTargets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsRequest { - /// Required. The ID of the customer whose feed item targets are being modified. + /// Required. The ID of the customer whose feed item targets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed item targets. + /// Required. The list of operations to perform on individual feed item targets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="4")] pub partial_failure: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, remove) on an feed item target. +/// A single operation (create, remove) on an feed item target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedItemTargetOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_item_target_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedItemTargetOperation`. pub mod feed_item_target_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed item - /// target. + /// Create operation: No resource name is expected for the new feed item + /// target. #[prost(message, tag="1")] Create(super::super::resources::FeedItemTarget), - /// Remove operation: A resource name for the removed feed item target is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed item target is + /// expected, in this format: /// - /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` + /// `customers/{customer_id}/feedItemTargets/{feed_id}~{feed_item_id}~{feed_item_target_type}~{feed_item_target_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed item target mutate. +/// Response message for an feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed item target mutate. +/// The result for the feed item target mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedItemTargetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed item target with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed item target with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_item_target: ::core::option::Option, } @@ -14143,82 +14143,82 @@ pub mod feed_item_target_service_client { } } } -/// Request message for \[FeedMappingService.GetFeedMapping][google.ads.googleads.v9.services.FeedMappingService.GetFeedMapping\]. +/// Request message for \[FeedMappingService.GetFeedMapping][google.ads.googleads.v9.services.FeedMappingService.GetFeedMapping\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedMappingRequest { - /// Required. The resource name of the feed mapping to fetch. + /// Required. The resource name of the feed mapping to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v9.services.FeedMappingService.MutateFeedMappings\]. +/// Request message for \[FeedMappingService.MutateFeedMappings][google.ads.googleads.v9.services.FeedMappingService.MutateFeedMappings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsRequest { - /// Required. The ID of the customer whose feed mappings are being modified. + /// Required. The ID of the customer whose feed mappings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feed mappings. + /// Required. The list of operations to perform on individual feed mappings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on a feed mapping. +/// A single operation (create, remove) on a feed mapping. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedMappingOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_mapping_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedMappingOperation`. pub mod feed_mapping_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed mapping. + /// Create operation: No resource name is expected for the new feed mapping. #[prost(message, tag="1")] Create(super::super::resources::FeedMapping), - /// Remove operation: A resource name for the removed feed mapping is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed mapping is + /// expected, in this format: /// - /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` + /// `customers/{customer_id}/feedMappings/{feed_id}~{feed_mapping_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a feed mapping mutate. +/// Response message for a feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mapping mutate. +/// The result for the feed mapping mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedMappingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed mapping with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated feed mapping with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed_mapping: ::core::option::Option, } @@ -14367,88 +14367,88 @@ pub mod feed_mapping_service_client { } } } -/// Request message for \[FeedService.GetFeed][google.ads.googleads.v9.services.FeedService.GetFeed\]. +/// Request message for \[FeedService.GetFeed][google.ads.googleads.v9.services.FeedService.GetFeed\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedRequest { - /// Required. The resource name of the feed to fetch. + /// Required. The resource name of the feed to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v9.services.FeedService.MutateFeeds\]. +/// Request message for \[FeedService.MutateFeeds][google.ads.googleads.v9.services.FeedService.MutateFeeds\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsRequest { - /// Required. The ID of the customer whose feeds are being modified. + /// Required. The ID of the customer whose feeds are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual feeds. + /// Required. The list of operations to perform on individual feeds. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an feed. +/// A single operation (create, update, remove) on an feed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="feed_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `FeedOperation`. pub mod feed_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new feed. + /// Create operation: No resource name is expected for the new feed. #[prost(message, tag="1")] Create(super::super::resources::Feed), - /// Update operation: The feed is expected to have a valid resource - /// name. + /// Update operation: The feed is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::Feed), - /// Remove operation: A resource name for the removed feed is - /// expected, in this format: + /// Remove operation: A resource name for the removed feed is + /// expected, in this format: /// - /// `customers/{customer_id}/feeds/{feed_id}` + /// `customers/{customer_id}/feeds/{feed_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for an feed mutate. +/// Response message for an feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the feed mutate. +/// The result for the feed mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateFeedResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated feed with only mutable fields after mutate. The field will only - /// be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated feed with only mutable fields after mutate. The field will only + /// be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub feed: ::core::option::Option, } @@ -14599,87 +14599,87 @@ pub mod feed_service_client { } } } -/// Request message for -/// \[KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword][google.ads.googleads.v9.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword\]. +/// Request message for +/// \[KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword][google.ads.googleads.v9.services.KeywordPlanAdGroupKeywordService.GetKeywordPlanAdGroupKeyword\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordPlanAdGroupKeywordRequest { - /// Required. The resource name of the ad group keyword to fetch. + /// Required. The resource name of the ad group keyword to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v9.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. +/// Request message for +/// \[KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords][google.ads.googleads.v9.services.KeywordPlanAdGroupKeywordService.MutateKeywordPlanAdGroupKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsRequest { - /// Required. The ID of the customer whose Keyword Plan ad group keywords are being - /// modified. + /// Required. The ID of the customer whose Keyword Plan ad group keywords are being + /// modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad group - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan ad group + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan ad group +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupKeywordOperation`. pub mod keyword_plan_ad_group_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroupKeyword), - /// Update operation: The Keyword Plan ad group keyword is expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan ad group keyword is expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroupKeyword), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// keyword is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// keyword is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{kp_ad_group_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group keyword mutate. +/// Response message for a Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group keyword mutate. +/// The result for the Keyword Plan ad group keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -14832,83 +14832,83 @@ pub mod keyword_plan_ad_group_keyword_service_client { } } } -/// Request message for \[KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v9.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup\]. +/// Request message for \[KeywordPlanAdGroupService.GetKeywordPlanAdGroup][google.ads.googleads.v9.services.KeywordPlanAdGroupService.GetKeywordPlanAdGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordPlanAdGroupRequest { - /// Required. The resource name of the Keyword Plan ad group to fetch. + /// Required. The resource name of the Keyword Plan ad group to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v9.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. +/// Request message for \[KeywordPlanAdGroupService.MutateKeywordPlanAdGroups][google.ads.googleads.v9.services.KeywordPlanAdGroupService.MutateKeywordPlanAdGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsRequest { - /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. + /// Required. The ID of the customer whose Keyword Plan ad groups are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan ad groups. + /// Required. The list of operations to perform on individual Keyword Plan ad groups. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan ad group. +/// A single operation (create, update, remove) on a Keyword Plan ad group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_ad_group_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanAdGroupOperation`. pub mod keyword_plan_ad_group_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// ad group. + /// Create operation: No resource name is expected for the new Keyword Plan + /// ad group. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanAdGroup), - /// Update operation: The Keyword Plan ad group is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan ad group is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanAdGroup), - /// Remove operation: A resource name for the removed Keyword Plan ad group - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan ad group + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{kp_ad_group_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan ad group mutate. +/// Response message for a Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. The order of the results is determined by the - /// order of the keywords in the original request. + /// All results for the mutate. The order of the results is determined by the + /// order of the keywords in the original request. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan ad group mutate. +/// The result for the Keyword Plan ad group mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanAdGroupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -15057,86 +15057,86 @@ pub mod keyword_plan_ad_group_service_client { } } } -/// Request message for -/// \[KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword][google.ads.googleads.v9.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword\]. +/// Request message for +/// \[KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword][google.ads.googleads.v9.services.KeywordPlanCampaignKeywordService.GetKeywordPlanCampaignKeyword\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordPlanCampaignKeywordRequest { - /// Required. The resource name of the plan to fetch. + /// Required. The resource name of the plan to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v9.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. +/// Request message for +/// \[KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords][google.ads.googleads.v9.services.KeywordPlanCampaignKeywordService.MutateKeywordPlanCampaignKeywords\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsRequest { - /// Required. The ID of the customer whose campaign keywords are being modified. + /// Required. The ID of the customer whose campaign keywords are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaign - /// keywords. + /// Required. The list of operations to perform on individual Keyword Plan campaign + /// keywords. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign -/// keyword. +/// A single operation (create, update, remove) on a Keyword Plan campaign +/// keyword. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignKeywordOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_keyword_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignKeywordOperation`. pub mod keyword_plan_campaign_keyword_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign keyword. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign keyword. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaignKeyword), - /// Update operation: The Keyword Plan campaign keyword expected to have a - /// valid resource name. + /// Update operation: The Keyword Plan campaign keyword expected to have a + /// valid resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaignKeyword), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// keywords expected in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// keywords expected in this format: /// - /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` + /// `customers/{customer_id}/keywordPlanCampaignKeywords/{kp_campaign_keyword_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign keyword mutate. +/// Response message for a Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign keyword mutate. +/// The result for the Keyword Plan campaign keyword mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignKeywordResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -15287,83 +15287,83 @@ pub mod keyword_plan_campaign_keyword_service_client { } } } -/// Request message for \[KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v9.services.KeywordPlanCampaignService.GetKeywordPlanCampaign\]. +/// Request message for \[KeywordPlanCampaignService.GetKeywordPlanCampaign][google.ads.googleads.v9.services.KeywordPlanCampaignService.GetKeywordPlanCampaign\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordPlanCampaignRequest { - /// Required. The resource name of the Keyword Plan campaign to fetch. + /// Required. The resource name of the Keyword Plan campaign to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v9.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. +/// Request message for +/// \[KeywordPlanCampaignService.MutateKeywordPlanCampaigns][google.ads.googleads.v9.services.KeywordPlanCampaignService.MutateKeywordPlanCampaigns\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsRequest { - /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. + /// Required. The ID of the customer whose Keyword Plan campaigns are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Keyword Plan campaigns. + /// Required. The list of operations to perform on individual Keyword Plan campaigns. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a Keyword Plan campaign. +/// A single operation (create, update, remove) on a Keyword Plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_campaign_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanCampaignOperation`. pub mod keyword_plan_campaign_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new Keyword Plan - /// campaign. + /// Create operation: No resource name is expected for the new Keyword Plan + /// campaign. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlanCampaign), - /// Update operation: The Keyword Plan campaign is expected to have a valid - /// resource name. + /// Update operation: The Keyword Plan campaign is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlanCampaign), - /// Remove operation: A resource name for the removed Keyword Plan campaign - /// is expected, in this format: + /// Remove operation: A resource name for the removed Keyword Plan campaign + /// is expected, in this format: /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keywordPlan_campaign_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a Keyword Plan campaign mutate. +/// Response message for a Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Keyword Plan campaign mutate. +/// The result for the Keyword Plan campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlanCampaignResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -15513,285 +15513,285 @@ pub mod keyword_plan_campaign_service_client { } } } -/// Request message for \[KeywordPlanService.GetKeywordPlan][google.ads.googleads.v9.services.KeywordPlanService.GetKeywordPlan\]. +/// Request message for \[KeywordPlanService.GetKeywordPlan][google.ads.googleads.v9.services.KeywordPlanService.GetKeywordPlan\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordPlanRequest { - /// Required. The resource name of the plan to fetch. + /// Required. The resource name of the plan to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v9.services.KeywordPlanService.MutateKeywordPlans\]. +/// Request message for \[KeywordPlanService.MutateKeywordPlans][google.ads.googleads.v9.services.KeywordPlanService.MutateKeywordPlans\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansRequest { - /// Required. The ID of the customer whose keyword plans are being modified. + /// Required. The ID of the customer whose keyword plans are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual keyword plans. + /// Required. The list of operations to perform on individual keyword plans. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update, remove) on a keyword plan. +/// A single operation (create, update, remove) on a keyword plan. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanOperation { - /// The FieldMask that determines which resource fields are modified in an - /// update. + /// The FieldMask that determines which resource fields are modified in an + /// update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="keyword_plan_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `KeywordPlanOperation`. pub mod keyword_plan_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new keyword plan. + /// Create operation: No resource name is expected for the new keyword plan. #[prost(message, tag="1")] Create(super::super::resources::KeywordPlan), - /// Update operation: The keyword plan is expected to have a valid resource - /// name. + /// Update operation: The keyword plan is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::KeywordPlan), - /// Remove operation: A resource name for the removed keyword plan is - /// expected in this format: + /// Remove operation: A resource name for the removed keyword plan is + /// expected in this format: /// - /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` + /// `customers/{customer_id}/keywordPlans/{keyword_plan_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a keyword plan mutate. +/// Response message for a keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the keyword plan mutate. +/// The result for the keyword plan mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateKeywordPlansResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastCurve\]. +/// Request message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastCurve\]. +/// Response message for \[KeywordPlanService.GenerateForecastCurve][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastCurve\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastCurveResponse { - /// List of forecast curves for the keyword plan campaign. - /// One maximum. + /// List of forecast curves for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecast_curves: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Request message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastTimeSeries\]. +/// Response message for \[KeywordPlanService.GenerateForecastTimeSeries][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastTimeSeries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastTimeSeriesResponse { - /// List of weekly time series forecasts for the keyword plan campaign. - /// One maximum. + /// List of weekly time series forecasts for the keyword plan campaign. + /// One maximum. #[prost(message, repeated, tag="1")] pub weekly_time_series_forecasts: ::prost::alloc::vec::Vec, } -/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Request message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsRequest { - /// Required. The resource name of the keyword plan to be forecasted. + /// Required. The resource name of the keyword plan to be forecasted. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, } -/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastMetrics\]. +/// Response message for \[KeywordPlanService.GenerateForecastMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateForecastMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateForecastMetricsResponse { - /// List of campaign forecasts. - /// One maximum. + /// List of campaign forecasts. + /// One maximum. #[prost(message, repeated, tag="1")] pub campaign_forecasts: ::prost::alloc::vec::Vec, - /// List of ad group forecasts. + /// List of ad group forecasts. #[prost(message, repeated, tag="2")] pub ad_group_forecasts: ::prost::alloc::vec::Vec, - /// List of keyword forecasts. + /// List of keyword forecasts. #[prost(message, repeated, tag="3")] pub keyword_forecasts: ::prost::alloc::vec::Vec, } -/// A campaign forecast. +/// A campaign forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign. + /// The forecast for the Keyword Plan campaign. #[prost(message, optional, tag="2")] pub campaign_forecast: ::core::option::Option, } -/// An ad group forecast. +/// An ad group forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanAdGroupForecast { - /// The resource name of the Keyword Plan ad group related to the forecast. + /// The resource name of the Keyword Plan ad group related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` + /// `customers/{customer_id}/keywordPlanAdGroups/{keyword_plan_ad_group_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan ad group. + /// The forecast for the Keyword Plan ad group. #[prost(message, optional, tag="2")] pub ad_group_forecast: ::core::option::Option, } -/// A keyword forecast. +/// A keyword forecast. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordForecast { - /// The resource name of the Keyword Plan keyword related to the forecast. + /// The resource name of the Keyword Plan keyword related to the forecast. /// - /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` + /// `customers/{customer_id}/keywordPlanAdGroupKeywords/{keyword_plan_ad_group_keyword_id}` #[prost(string, optional, tag="3")] pub keyword_plan_ad_group_keyword: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan keyword. + /// The forecast for the Keyword Plan keyword. #[prost(message, optional, tag="2")] pub keyword_forecast: ::core::option::Option, } -/// The forecast curve for the campaign. +/// The forecast curve for the campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanCampaignForecastCurve { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="3")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The max cpc bid forecast curve for the campaign. + /// The max cpc bid forecast curve for the campaign. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast_curve: ::core::option::Option, } -/// The max cpc bid forecast curve. +/// The max cpc bid forecast curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecastCurve { - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="1")] pub max_cpc_bid_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign at a specific bid. +/// The forecast of the campaign at a specific bid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanMaxCpcBidForecast { - /// The max cpc bid in micros. + /// The max cpc bid in micros. #[prost(int64, optional, tag="3")] pub max_cpc_bid_micros: ::core::option::Option, - /// The forecast for the Keyword Plan campaign at the specific bid. + /// The forecast for the Keyword Plan campaign at the specific bid. #[prost(message, optional, tag="2")] pub max_cpc_bid_forecast: ::core::option::Option, } -/// The weekly time series forecast for the keyword plan campaign. +/// The weekly time series forecast for the keyword plan campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyTimeSeriesForecast { - /// The resource name of the Keyword Plan campaign related to the forecast. + /// The resource name of the Keyword Plan campaign related to the forecast. /// - /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` + /// `customers/{customer_id}/keywordPlanCampaigns/{keyword_plan_campaign_id}` #[prost(string, optional, tag="1")] pub keyword_plan_campaign: ::core::option::Option<::prost::alloc::string::String>, - /// The forecasts for the Keyword Plan campaign at different max CPC bids. + /// The forecasts for the Keyword Plan campaign at different max CPC bids. #[prost(message, repeated, tag="2")] pub weekly_forecasts: ::prost::alloc::vec::Vec, } -/// The forecast of the campaign for the week starting start_date. +/// The forecast of the campaign for the week starting start_date. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanWeeklyForecast { - /// The start date, in yyyy-mm-dd format. This date is inclusive. + /// The start date, in yyyy-mm-dd format. This date is inclusive. #[prost(string, optional, tag="1")] pub start_date: ::core::option::Option<::prost::alloc::string::String>, - /// The forecast for the Keyword Plan campaign for the week. + /// The forecast for the Keyword Plan campaign for the week. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, } -/// Forecast metrics. +/// Forecast metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForecastMetrics { - /// Impressions + /// Impressions #[prost(double, optional, tag="7")] pub impressions: ::core::option::Option, - /// Ctr + /// Ctr #[prost(double, optional, tag="8")] pub ctr: ::core::option::Option, - /// AVG cpc + /// AVG cpc #[prost(int64, optional, tag="9")] pub average_cpc: ::core::option::Option, - /// Clicks + /// Clicks #[prost(double, optional, tag="10")] pub clicks: ::core::option::Option, - /// Cost + /// Cost #[prost(int64, optional, tag="11")] pub cost_micros: ::core::option::Option, } -/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Request message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsRequest { - /// Required. The resource name of the keyword plan of which historical metrics are - /// requested. + /// Required. The resource name of the keyword plan of which historical metrics are + /// requested. #[prost(string, tag="1")] pub keyword_plan: ::prost::alloc::string::String, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="2")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="3")] pub historical_metrics_options: ::core::option::Option, } -/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateHistoricalMetrics\]. +/// Response message for \[KeywordPlanService.GenerateHistoricalMetrics][google.ads.googleads.v9.services.KeywordPlanService.GenerateHistoricalMetrics\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateHistoricalMetricsResponse { - /// List of keyword historical metrics. + /// List of keyword historical metrics. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all the keywords in the keyword planner plan. + /// The aggregate metrics for all the keywords in the keyword planner plan. #[prost(message, optional, tag="2")] pub aggregate_metric_results: ::core::option::Option, } -/// A keyword historical metrics. +/// A keyword historical metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordPlanKeywordHistoricalMetrics { - /// The text of the query associated with one or more ad_group_keywords in the - /// plan. + /// The text of the query associated with one or more ad_group_keywords in the + /// plan. /// - /// Note that we de-dupe your keywords list, eliminating close variants before - /// returning the plan's keywords as text. For example, if your plan originally - /// contained the keywords 'car' and 'cars', the returned search query will - /// only contain 'cars'. - /// Starting V5, the list of de-duped queries will be included in - /// close_variants field. + /// Note that we de-dupe your keywords list, eliminating close variants before + /// returning the plan's keywords as text. For example, if your plan originally + /// contained the keywords 'car' and 'cars', the returned search query will + /// only contain 'cars'. + /// Starting V5, the list of de-duped queries will be included in + /// close_variants field. #[prost(string, optional, tag="4")] pub search_query: ::core::option::Option<::prost::alloc::string::String>, - /// The list of close variant queries for search_query whose search results - /// are combined into the search_query. + /// The list of close variant queries for search_query whose search results + /// are combined into the search_query. #[prost(string, repeated, tag="3")] pub close_variants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The historical metrics for the query associated with one or more - /// ad_group_keywords in the plan. + /// The historical metrics for the query associated with one or more + /// ad_group_keywords in the plan. #[prost(message, optional, tag="2")] pub keyword_metrics: ::core::option::Option, } @@ -16073,87 +16073,87 @@ pub mod keyword_plan_service_client { } } } -/// Request message for \[LabelService.GetLabel][google.ads.googleads.v9.services.LabelService.GetLabel\]. +/// Request message for \[LabelService.GetLabel][google.ads.googleads.v9.services.LabelService.GetLabel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLabelRequest { - /// Required. The resource name of the label to fetch. + /// Required. The resource name of the label to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v9.services.LabelService.MutateLabels\]. +/// Request message for \[LabelService.MutateLabels][google.ads.googleads.v9.services.LabelService.MutateLabels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsRequest { - /// Required. ID of the customer whose labels are being modified. + /// Required. ID of the customer whose labels are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on labels. + /// Required. The list of operations to perform on labels. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove, update) on a label. +/// A single operation (create, remove, update) on a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="label_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `LabelOperation`. pub mod label_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new label. + /// Create operation: No resource name is expected for the new label. #[prost(message, tag="1")] Create(super::super::resources::Label), - /// Update operation: The label is expected to have a valid resource name. + /// Update operation: The label is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::Label), - /// Remove operation: A resource name for the label being removed, in - /// this format: + /// Remove operation: A resource name for the label being removed, in + /// this format: /// - /// `customers/{customer_id}/labels/{label_id}` + /// `customers/{customer_id}/labels/{label_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a labels mutate. +/// Response message for a labels mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for a label mutate. +/// The result for a label mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateLabelResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated label with only mutable fields after mutate. The field will - /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". + /// The mutated label with only mutable fields after mutate. The field will + /// only be returned when response_content_type is set to "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub label: ::core::option::Option, } @@ -16302,76 +16302,76 @@ pub mod label_service_client { } } } -/// Request message for \[MediaFileService.GetMediaFile][google.ads.googleads.v9.services.MediaFileService.GetMediaFile\] +/// Request message for \[MediaFileService.GetMediaFile][google.ads.googleads.v9.services.MediaFileService.GetMediaFile\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMediaFileRequest { - /// Required. The resource name of the media file to fetch. + /// Required. The resource name of the media file to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v9.services.MediaFileService.MutateMediaFiles\] +/// Request message for \[MediaFileService.MutateMediaFiles][google.ads.googleads.v9.services.MediaFileService.MutateMediaFiles\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesRequest { - /// Required. The ID of the customer whose media files are being modified. + /// Required. The ID of the customer whose media files are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual media file. + /// Required. The list of operations to perform on individual media file. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to create media file. +/// A single operation to create media file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MediaFileOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="media_file_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MediaFileOperation`. pub mod media_file_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new media file. + /// Create operation: No resource name is expected for the new media file. #[prost(message, tag="1")] Create(super::super::resources::MediaFile), } } -/// Response message for a media file mutate. +/// Response message for a media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFilesResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the media file mutate. +/// The result for the media file mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMediaFileResult { - /// The resource name returned for successful operations. + /// The resource name returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated media file with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated media file with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub media_file: ::core::option::Option, } @@ -16518,75 +16518,75 @@ pub mod media_file_service_client { } } } -/// Request message for \[RemarketingActionService.GetRemarketingAction][google.ads.googleads.v9.services.RemarketingActionService.GetRemarketingAction\]. +/// Request message for \[RemarketingActionService.GetRemarketingAction][google.ads.googleads.v9.services.RemarketingActionService.GetRemarketingAction\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRemarketingActionRequest { - /// Required. The resource name of the remarketing action to fetch. + /// Required. The resource name of the remarketing action to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v9.services.RemarketingActionService.MutateRemarketingActions\]. +/// Request message for \[RemarketingActionService.MutateRemarketingActions][google.ads.googleads.v9.services.RemarketingActionService.MutateRemarketingActions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsRequest { - /// Required. The ID of the customer whose remarketing actions are being modified. + /// Required. The ID of the customer whose remarketing actions are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual remarketing actions. + /// Required. The list of operations to perform on individual remarketing actions. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a remarketing action. +/// A single operation (create, update) on a remarketing action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemarketingActionOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="remarketing_action_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `RemarketingActionOperation`. pub mod remarketing_action_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new remarketing - /// action. + /// Create operation: No resource name is expected for the new remarketing + /// action. #[prost(message, tag="1")] Create(super::super::resources::RemarketingAction), - /// Update operation: The remarketing action is expected to have a valid - /// resource name. + /// Update operation: The remarketing action is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::RemarketingAction), } } -/// Response message for remarketing action mutate. +/// Response message for remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the remarketing action mutate. +/// The result for the remarketing action mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRemarketingActionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -16727,83 +16727,83 @@ pub mod remarketing_action_service_client { } } } -/// Request message for \[SharedCriterionService.GetSharedCriterion][google.ads.googleads.v9.services.SharedCriterionService.GetSharedCriterion\]. +/// Request message for \[SharedCriterionService.GetSharedCriterion][google.ads.googleads.v9.services.SharedCriterionService.GetSharedCriterion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSharedCriterionRequest { - /// Required. The resource name of the shared criterion to fetch. + /// Required. The resource name of the shared criterion to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v9.services.SharedCriterionService.MutateSharedCriteria\]. +/// Request message for \[SharedCriterionService.MutateSharedCriteria][google.ads.googleads.v9.services.SharedCriterionService.MutateSharedCriteria\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaRequest { - /// Required. The ID of the customer whose shared criteria are being modified. + /// Required. The ID of the customer whose shared criteria are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared criteria. + /// Required. The list of operations to perform on individual shared criteria. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, remove) on an shared criterion. +/// A single operation (create, remove) on an shared criterion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedCriterionOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_criterion_operation::Operation", tags="1, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedCriterionOperation`. pub mod shared_criterion_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared - /// criterion. + /// Create operation: No resource name is expected for the new shared + /// criterion. #[prost(message, tag="1")] Create(super::super::resources::SharedCriterion), - /// Remove operation: A resource name for the removed shared criterion is - /// expected, in this format: + /// Remove operation: A resource name for the removed shared criterion is + /// expected, in this format: /// - /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` + /// `customers/{customer_id}/sharedCriteria/{shared_set_id}~{criterion_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared criterion mutate. +/// Response message for a shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriteriaResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared criterion mutate. +/// The result for the shared criterion mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedCriterionResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared criterion with only mutable fields after mutate. The - /// field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared criterion with only mutable fields after mutate. The + /// field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_criterion: ::core::option::Option, } @@ -16957,89 +16957,89 @@ pub mod shared_criterion_service_client { } } } -/// Request message for \[SharedSetService.GetSharedSet][google.ads.googleads.v9.services.SharedSetService.GetSharedSet\]. +/// Request message for \[SharedSetService.GetSharedSet][google.ads.googleads.v9.services.SharedSetService.GetSharedSet\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSharedSetRequest { - /// Required. The resource name of the shared set to fetch. + /// Required. The resource name of the shared set to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v9.services.SharedSetService.MutateSharedSets\]. +/// Request message for \[SharedSetService.MutateSharedSets][google.ads.googleads.v9.services.SharedSetService.MutateSharedSets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsRequest { - /// Required. The ID of the customer whose shared sets are being modified. + /// Required. The ID of the customer whose shared sets are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual shared sets. + /// Required. The list of operations to perform on individual shared sets. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation (create, update, remove) on an shared set. +/// A single operation (create, update, remove) on an shared set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SharedSetOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="shared_set_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `SharedSetOperation`. pub mod shared_set_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new shared set. + /// Create operation: No resource name is expected for the new shared set. #[prost(message, tag="1")] Create(super::super::resources::SharedSet), - /// Update operation: The shared set is expected to have a valid resource - /// name. + /// Update operation: The shared set is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::SharedSet), - /// Remove operation: A resource name for the removed shared set is expected, - /// in this format: + /// Remove operation: A resource name for the removed shared set is expected, + /// in this format: /// - /// `customers/{customer_id}/sharedSets/{shared_set_id}` + /// `customers/{customer_id}/sharedSets/{shared_set_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for a shared set mutate. +/// Response message for a shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the shared set mutate. +/// The result for the shared set mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSharedSetResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated shared set with only mutable fields after mutate. The field - /// will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated shared set with only mutable fields after mutate. The field + /// will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub shared_set: ::core::option::Option, } @@ -17188,71 +17188,71 @@ pub mod shared_set_service_client { } } } -/// Request message for \[SmartCampaignSettingService.GetSmartCampaignSetting][google.ads.googleads.v9.services.SmartCampaignSettingService.GetSmartCampaignSetting\]. +/// Request message for \[SmartCampaignSettingService.GetSmartCampaignSetting][google.ads.googleads.v9.services.SmartCampaignSettingService.GetSmartCampaignSetting\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSmartCampaignSettingRequest { - /// Required. The resource name of the Smart campaign setting to fetch. + /// Required. The resource name of the Smart campaign setting to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. +/// Request message for +/// \[SmartCampaignSettingService.MutateSmartCampaignSetting][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsRequest { - /// Required. The ID of the customer whose Smart campaign settings are being modified. + /// Required. The ID of the customer whose Smart campaign settings are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual Smart campaign settings. + /// Required. The list of operations to perform on individual Smart campaign settings. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// A single operation to update Smart campaign settings for a campaign. +/// A single operation to update Smart campaign settings for a campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSettingOperation { - /// Update operation: The Smart campaign setting must specify a valid - /// resource name. + /// Update operation: The Smart campaign setting must specify a valid + /// resource name. #[prost(message, optional, tag="1")] pub update: ::core::option::Option, - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for campaign mutate. +/// Response message for campaign mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the Smart campaign setting mutate. +/// The result for the Smart campaign setting mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateSmartCampaignSettingResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The mutated Smart campaign setting with only mutable fields after mutate. - /// The field will only be returned when response_content_type is set to - /// "MUTABLE_RESOURCE". + /// The mutated Smart campaign setting with only mutable fields after mutate. + /// The field will only be returned when response_content_type is set to + /// "MUTABLE_RESOURCE". #[prost(message, optional, tag="2")] pub smart_campaign_setting: ::core::option::Option, } @@ -17376,80 +17376,80 @@ pub mod smart_campaign_setting_service_client { } } } -/// Request message for \[UserListService.GetUserList][google.ads.googleads.v9.services.UserListService.GetUserList\]. +/// Request message for \[UserListService.GetUserList][google.ads.googleads.v9.services.UserListService.GetUserList\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUserListRequest { - /// Required. The resource name of the user list to fetch. + /// Required. The resource name of the user list to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v9.services.UserListService.MutateUserLists\]. +/// Request message for \[UserListService.MutateUserLists][google.ads.googleads.v9.services.UserListService.MutateUserLists\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsRequest { - /// Required. The ID of the customer whose user lists are being modified. + /// Required. The ID of the customer whose user lists are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual user lists. + /// Required. The list of operations to perform on individual user lists. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a user list. +/// A single operation (create, update) on a user list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserListOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="user_list_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserListOperation`. pub mod user_list_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new user list. + /// Create operation: No resource name is expected for the new user list. #[prost(message, tag="1")] Create(super::super::resources::UserList), - /// Update operation: The user list is expected to have a valid resource - /// name. + /// Update operation: The user list is expected to have a valid resource + /// name. #[prost(message, tag="2")] Update(super::super::resources::UserList), - /// Remove operation: A resource name for the removed user list is expected, - /// in this format: + /// Remove operation: A resource name for the removed user list is expected, + /// in this format: /// - /// `customers/{customer_id}/userLists/{user_list_id}` + /// `customers/{customer_id}/userLists/{user_list_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for user list mutate. +/// Response message for user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the user list mutate. +/// The result for the user list mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateUserListResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -17595,1029 +17595,1029 @@ pub mod user_list_service_client { } } } -/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v9.services.GoogleAdsService.Search\]. +/// Request message for \[GoogleAdsService.Search][google.ads.googleads.v9.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="4")] pub page_size: i32, - /// If true, the request is validated but not executed. + /// If true, the request is validated but not executed. #[prost(bool, tag="5")] pub validate_only: bool, - /// If true, the total number of results that match the query ignoring the - /// LIMIT clause will be included in the response. - /// Default is false. + /// If true, the total number of results that match the query ignoring the + /// LIMIT clause will be included in the response. + /// Default is false. #[prost(bool, tag="7")] pub return_total_results_count: bool, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="8")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v9.services.GoogleAdsService.Search\]. +/// Response message for \[GoogleAdsService.Search][google.ads.googleads.v9.services.GoogleAdsService.Search\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT - /// clause. + /// Total number of results that match the query ignoring the LIMIT + /// clause. #[prost(int64, tag="3")] pub total_results_count: i64, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="5")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="6")] pub summary_row: ::core::option::Option, } -/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v9.services.GoogleAdsService.SearchStream\]. +/// Request message for \[GoogleAdsService.SearchStream][google.ads.googleads.v9.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamRequest { - /// Required. The ID of the customer being queried. + /// Required. The ID of the customer being queried. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Determines whether a summary row will be returned. By default, summary row - /// is not returned. If requested, the summary row will be sent in a response - /// by itself after all other query results are returned. + /// Determines whether a summary row will be returned. By default, summary row + /// is not returned. If requested, the summary row will be sent in a response + /// by itself after all other query results are returned. #[prost(enumeration="super::enums::summary_row_setting_enum::SummaryRowSetting", tag="3")] pub summary_row_setting: i32, } -/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v9.services.GoogleAdsService.SearchStream\]. +/// Response message for \[GoogleAdsService.SearchStream][google.ads.googleads.v9.services.GoogleAdsService.SearchStream\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsStreamResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// FieldMask that represents what fields were requested by the user. + /// FieldMask that represents what fields were requested by the user. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Summary row that contains summary of metrics in results. - /// Summary of metrics means aggregation of metrics across all results, - /// here aggregation could be sum, average, rate, etc. + /// Summary row that contains summary of metrics in results. + /// Summary of metrics means aggregation of metrics across all results, + /// here aggregation could be sum, average, rate, etc. #[prost(message, optional, tag="3")] pub summary_row: ::core::option::Option, - /// The unique id of the request that is used for debugging purposes. + /// The unique id of the request that is used for debugging purposes. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// A returned row from the query. +/// A returned row from the query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsRow { - /// The account budget in the query. + /// The account budget in the query. #[prost(message, optional, tag="42")] pub account_budget: ::core::option::Option, - /// The account budget proposal referenced in the query. + /// The account budget proposal referenced in the query. #[prost(message, optional, tag="43")] pub account_budget_proposal: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="143")] pub account_link: ::core::option::Option, - /// The ad group referenced in the query. + /// The ad group referenced in the query. #[prost(message, optional, tag="3")] pub ad_group: ::core::option::Option, - /// The ad referenced in the query. + /// The ad referenced in the query. #[prost(message, optional, tag="16")] pub ad_group_ad: ::core::option::Option, - /// The ad group ad asset view in the query. + /// The ad group ad asset view in the query. #[prost(message, optional, tag="131")] pub ad_group_ad_asset_view: ::core::option::Option, - /// The ad group ad label referenced in the query. + /// The ad group ad label referenced in the query. #[prost(message, optional, tag="120")] pub ad_group_ad_label: ::core::option::Option, - /// The ad group asset referenced in the query. + /// The ad group asset referenced in the query. #[prost(message, optional, tag="154")] pub ad_group_asset: ::core::option::Option, - /// The ad group audience view referenced in the query. + /// The ad group audience view referenced in the query. #[prost(message, optional, tag="57")] pub ad_group_audience_view: ::core::option::Option, - /// The bid modifier referenced in the query. + /// The bid modifier referenced in the query. #[prost(message, optional, tag="24")] pub ad_group_bid_modifier: ::core::option::Option, - /// The criterion referenced in the query. + /// The criterion referenced in the query. #[prost(message, optional, tag="17")] pub ad_group_criterion: ::core::option::Option, - /// The ad group criterion customizer referenced in the query. + /// The ad group criterion customizer referenced in the query. #[prost(message, optional, tag="187")] pub ad_group_criterion_customizer: ::core::option::Option, - /// The ad group criterion label referenced in the query. + /// The ad group criterion label referenced in the query. #[prost(message, optional, tag="121")] pub ad_group_criterion_label: ::core::option::Option, - /// The ad group criterion simulation referenced in the query. + /// The ad group criterion simulation referenced in the query. #[prost(message, optional, tag="110")] pub ad_group_criterion_simulation: ::core::option::Option, - /// The ad group customizer referenced in the query. + /// The ad group customizer referenced in the query. #[prost(message, optional, tag="185")] pub ad_group_customizer: ::core::option::Option, - /// The ad group extension setting referenced in the query. + /// The ad group extension setting referenced in the query. #[prost(message, optional, tag="112")] pub ad_group_extension_setting: ::core::option::Option, - /// The ad group feed referenced in the query. + /// The ad group feed referenced in the query. #[prost(message, optional, tag="67")] pub ad_group_feed: ::core::option::Option, - /// The ad group label referenced in the query. + /// The ad group label referenced in the query. #[prost(message, optional, tag="115")] pub ad_group_label: ::core::option::Option, - /// The ad group simulation referenced in the query. + /// The ad group simulation referenced in the query. #[prost(message, optional, tag="107")] pub ad_group_simulation: ::core::option::Option, - /// The ad parameter referenced in the query. + /// The ad parameter referenced in the query. #[prost(message, optional, tag="130")] pub ad_parameter: ::core::option::Option, - /// The age range view referenced in the query. + /// The age range view referenced in the query. #[prost(message, optional, tag="48")] pub age_range_view: ::core::option::Option, - /// The ad schedule view referenced in the query. + /// The ad schedule view referenced in the query. #[prost(message, optional, tag="89")] pub ad_schedule_view: ::core::option::Option, - /// The domain category referenced in the query. + /// The domain category referenced in the query. #[prost(message, optional, tag="91")] pub domain_category: ::core::option::Option, - /// The asset referenced in the query. + /// The asset referenced in the query. #[prost(message, optional, tag="105")] pub asset: ::core::option::Option, - /// The asset field type view referenced in the query. + /// The asset field type view referenced in the query. #[prost(message, optional, tag="168")] pub asset_field_type_view: ::core::option::Option, - /// The asset group asset referenced in the query. + /// The asset group asset referenced in the query. #[prost(message, optional, tag="173")] pub asset_group_asset: ::core::option::Option, - /// The asset group listing group filter referenced in the query. + /// The asset group listing group filter referenced in the query. #[prost(message, optional, tag="182")] pub asset_group_listing_group_filter: ::core::option::Option, - /// The asset group product group view referenced in the query. + /// The asset group product group view referenced in the query. #[prost(message, optional, tag="189")] pub asset_group_product_group_view: ::core::option::Option, - /// The asset group referenced in the query. + /// The asset group referenced in the query. #[prost(message, optional, tag="172")] pub asset_group: ::core::option::Option, - /// The asset set asset referenced in the query. + /// The asset set asset referenced in the query. #[prost(message, optional, tag="180")] pub asset_set_asset: ::core::option::Option, - /// The asset set referenced in the query. + /// The asset set referenced in the query. #[prost(message, optional, tag="179")] pub asset_set: ::core::option::Option, - /// The batch job referenced in the query. + /// The batch job referenced in the query. #[prost(message, optional, tag="139")] pub batch_job: ::core::option::Option, - /// The bidding data exclusion referenced in the query. + /// The bidding data exclusion referenced in the query. #[prost(message, optional, tag="159")] pub bidding_data_exclusion: ::core::option::Option, - /// The bidding seasonality adjustment referenced in the query. + /// The bidding seasonality adjustment referenced in the query. #[prost(message, optional, tag="160")] pub bidding_seasonality_adjustment: ::core::option::Option, - /// The bidding strategy referenced in the query. + /// The bidding strategy referenced in the query. #[prost(message, optional, tag="18")] pub bidding_strategy: ::core::option::Option, - /// The bidding strategy simulation referenced in the query. + /// The bidding strategy simulation referenced in the query. #[prost(message, optional, tag="158")] pub bidding_strategy_simulation: ::core::option::Option, - /// The billing setup referenced in the query. + /// The billing setup referenced in the query. #[prost(message, optional, tag="41")] pub billing_setup: ::core::option::Option, - /// The call view referenced in the query. + /// The call view referenced in the query. #[prost(message, optional, tag="152")] pub call_view: ::core::option::Option, - /// The campaign budget referenced in the query. + /// The campaign budget referenced in the query. #[prost(message, optional, tag="19")] pub campaign_budget: ::core::option::Option, - /// The campaign referenced in the query. + /// The campaign referenced in the query. #[prost(message, optional, tag="2")] pub campaign: ::core::option::Option, - /// The campaign asset referenced in the query. + /// The campaign asset referenced in the query. #[prost(message, optional, tag="142")] pub campaign_asset: ::core::option::Option, - /// The campaign asset set referenced in the query. + /// The campaign asset set referenced in the query. #[prost(message, optional, tag="181")] pub campaign_asset_set: ::core::option::Option, - /// The campaign audience view referenced in the query. + /// The campaign audience view referenced in the query. #[prost(message, optional, tag="69")] pub campaign_audience_view: ::core::option::Option, - /// The campaign bid modifier referenced in the query. + /// The campaign bid modifier referenced in the query. #[prost(message, optional, tag="26")] pub campaign_bid_modifier: ::core::option::Option, - /// The CampaignConversionGoal referenced in the query. + /// The CampaignConversionGoal referenced in the query. #[prost(message, optional, tag="175")] pub campaign_conversion_goal: ::core::option::Option, - /// The campaign criterion referenced in the query. + /// The campaign criterion referenced in the query. #[prost(message, optional, tag="20")] pub campaign_criterion: ::core::option::Option, - /// The campaign criterion simulation referenced in the query. + /// The campaign criterion simulation referenced in the query. #[prost(message, optional, tag="111")] pub campaign_criterion_simulation: ::core::option::Option, - /// The campaign customizer referenced in the query. + /// The campaign customizer referenced in the query. #[prost(message, optional, tag="186")] pub campaign_customizer: ::core::option::Option, - /// The campaign draft referenced in the query. + /// The campaign draft referenced in the query. #[prost(message, optional, tag="49")] pub campaign_draft: ::core::option::Option, - /// The campaign experiment referenced in the query. + /// The campaign experiment referenced in the query. #[prost(message, optional, tag="84")] pub campaign_experiment: ::core::option::Option, - /// The campaign extension setting referenced in the query. + /// The campaign extension setting referenced in the query. #[prost(message, optional, tag="113")] pub campaign_extension_setting: ::core::option::Option, - /// The campaign feed referenced in the query. + /// The campaign feed referenced in the query. #[prost(message, optional, tag="63")] pub campaign_feed: ::core::option::Option, - /// The campaign label referenced in the query. + /// The campaign label referenced in the query. #[prost(message, optional, tag="108")] pub campaign_label: ::core::option::Option, - /// Campaign Shared Set referenced in AWQL query. + /// Campaign Shared Set referenced in AWQL query. #[prost(message, optional, tag="30")] pub campaign_shared_set: ::core::option::Option, - /// The campaign simulation referenced in the query. + /// The campaign simulation referenced in the query. #[prost(message, optional, tag="157")] pub campaign_simulation: ::core::option::Option, - /// The carrier constant referenced in the query. + /// The carrier constant referenced in the query. #[prost(message, optional, tag="66")] pub carrier_constant: ::core::option::Option, - /// The ChangeEvent referenced in the query. + /// The ChangeEvent referenced in the query. #[prost(message, optional, tag="145")] pub change_event: ::core::option::Option, - /// The ChangeStatus referenced in the query. + /// The ChangeStatus referenced in the query. #[prost(message, optional, tag="37")] pub change_status: ::core::option::Option, - /// The CombinedAudience referenced in the query. + /// The CombinedAudience referenced in the query. #[prost(message, optional, tag="148")] pub combined_audience: ::core::option::Option, - /// The conversion action referenced in the query. + /// The conversion action referenced in the query. #[prost(message, optional, tag="103")] pub conversion_action: ::core::option::Option, - /// The conversion custom variable referenced in the query. + /// The conversion custom variable referenced in the query. #[prost(message, optional, tag="153")] pub conversion_custom_variable: ::core::option::Option, - /// The ConversionGoalCampaignConfig referenced in the query. + /// The ConversionGoalCampaignConfig referenced in the query. #[prost(message, optional, tag="177")] pub conversion_goal_campaign_config: ::core::option::Option, - /// The conversion value rule referenced in the query. + /// The conversion value rule referenced in the query. #[prost(message, optional, tag="164")] pub conversion_value_rule: ::core::option::Option, - /// The conversion value rule set referenced in the query. + /// The conversion value rule set referenced in the query. #[prost(message, optional, tag="165")] pub conversion_value_rule_set: ::core::option::Option, - /// The ClickView referenced in the query. + /// The ClickView referenced in the query. #[prost(message, optional, tag="122")] pub click_view: ::core::option::Option, - /// The currency constant referenced in the query. + /// The currency constant referenced in the query. #[prost(message, optional, tag="134")] pub currency_constant: ::core::option::Option, - /// The CustomAudience referenced in the query. + /// The CustomAudience referenced in the query. #[prost(message, optional, tag="147")] pub custom_audience: ::core::option::Option, - /// The CustomConversionGoal referenced in the query. + /// The CustomConversionGoal referenced in the query. #[prost(message, optional, tag="176")] pub custom_conversion_goal: ::core::option::Option, - /// The CustomInterest referenced in the query. + /// The CustomInterest referenced in the query. #[prost(message, optional, tag="104")] pub custom_interest: ::core::option::Option, - /// The customer referenced in the query. + /// The customer referenced in the query. #[prost(message, optional, tag="1")] pub customer: ::core::option::Option, - /// The customer asset referenced in the query. + /// The customer asset referenced in the query. #[prost(message, optional, tag="155")] pub customer_asset: ::core::option::Option, - /// The accessible bidding strategy referenced in the query. + /// The accessible bidding strategy referenced in the query. #[prost(message, optional, tag="169")] pub accessible_bidding_strategy: ::core::option::Option, - /// The customer customizer referenced in the query. + /// The customer customizer referenced in the query. #[prost(message, optional, tag="184")] pub customer_customizer: ::core::option::Option, - /// The CustomerManagerLink referenced in the query. + /// The CustomerManagerLink referenced in the query. #[prost(message, optional, tag="61")] pub customer_manager_link: ::core::option::Option, - /// The CustomerClientLink referenced in the query. + /// The CustomerClientLink referenced in the query. #[prost(message, optional, tag="62")] pub customer_client_link: ::core::option::Option, - /// The CustomerClient referenced in the query. + /// The CustomerClient referenced in the query. #[prost(message, optional, tag="70")] pub customer_client: ::core::option::Option, - /// The CustomerConversionGoal referenced in the query. + /// The CustomerConversionGoal referenced in the query. #[prost(message, optional, tag="174")] pub customer_conversion_goal: ::core::option::Option, - /// The customer extension setting referenced in the query. + /// The customer extension setting referenced in the query. #[prost(message, optional, tag="114")] pub customer_extension_setting: ::core::option::Option, - /// The customer feed referenced in the query. + /// The customer feed referenced in the query. #[prost(message, optional, tag="64")] pub customer_feed: ::core::option::Option, - /// The customer label referenced in the query. + /// The customer label referenced in the query. #[prost(message, optional, tag="124")] pub customer_label: ::core::option::Option, - /// The customer negative criterion referenced in the query. + /// The customer negative criterion referenced in the query. #[prost(message, optional, tag="88")] pub customer_negative_criterion: ::core::option::Option, - /// The CustomerUserAccess referenced in the query. + /// The CustomerUserAccess referenced in the query. #[prost(message, optional, tag="146")] pub customer_user_access: ::core::option::Option, - /// The CustomerUserAccessInvitation referenced in the query. + /// The CustomerUserAccessInvitation referenced in the query. #[prost(message, optional, tag="150")] pub customer_user_access_invitation: ::core::option::Option, - /// The customizer attribute referenced in the query. + /// The customizer attribute referenced in the query. #[prost(message, optional, tag="178")] pub customizer_attribute: ::core::option::Option, - /// The detail placement view referenced in the query. + /// The detail placement view referenced in the query. #[prost(message, optional, tag="118")] pub detail_placement_view: ::core::option::Option, - /// The detailed demographic referenced in the query. + /// The detailed demographic referenced in the query. #[prost(message, optional, tag="166")] pub detailed_demographic: ::core::option::Option, - /// The display keyword view referenced in the query. + /// The display keyword view referenced in the query. #[prost(message, optional, tag="47")] pub display_keyword_view: ::core::option::Option, - /// The distance view referenced in the query. + /// The distance view referenced in the query. #[prost(message, optional, tag="132")] pub distance_view: ::core::option::Option, - /// The dynamic search ads search term view referenced in the query. + /// The dynamic search ads search term view referenced in the query. #[prost(message, optional, tag="106")] pub dynamic_search_ads_search_term_view: ::core::option::Option, - /// The expanded landing page view referenced in the query. + /// The expanded landing page view referenced in the query. #[prost(message, optional, tag="128")] pub expanded_landing_page_view: ::core::option::Option, - /// The extension feed item referenced in the query. + /// The extension feed item referenced in the query. #[prost(message, optional, tag="85")] pub extension_feed_item: ::core::option::Option, - /// The feed referenced in the query. + /// The feed referenced in the query. #[prost(message, optional, tag="46")] pub feed: ::core::option::Option, - /// The feed item referenced in the query. + /// The feed item referenced in the query. #[prost(message, optional, tag="50")] pub feed_item: ::core::option::Option, - /// The feed item set referenced in the query. + /// The feed item set referenced in the query. #[prost(message, optional, tag="149")] pub feed_item_set: ::core::option::Option, - /// The feed item set link referenced in the query. + /// The feed item set link referenced in the query. #[prost(message, optional, tag="151")] pub feed_item_set_link: ::core::option::Option, - /// The feed item target referenced in the query. + /// The feed item target referenced in the query. #[prost(message, optional, tag="116")] pub feed_item_target: ::core::option::Option, - /// The feed mapping referenced in the query. + /// The feed mapping referenced in the query. #[prost(message, optional, tag="58")] pub feed_mapping: ::core::option::Option, - /// The feed placeholder view referenced in the query. + /// The feed placeholder view referenced in the query. #[prost(message, optional, tag="97")] pub feed_placeholder_view: ::core::option::Option, - /// The gender view referenced in the query. + /// The gender view referenced in the query. #[prost(message, optional, tag="40")] pub gender_view: ::core::option::Option, - /// The geo target constant referenced in the query. + /// The geo target constant referenced in the query. #[prost(message, optional, tag="23")] pub geo_target_constant: ::core::option::Option, - /// The geographic view referenced in the query. + /// The geographic view referenced in the query. #[prost(message, optional, tag="125")] pub geographic_view: ::core::option::Option, - /// The group placement view referenced in the query. + /// The group placement view referenced in the query. #[prost(message, optional, tag="119")] pub group_placement_view: ::core::option::Option, - /// The hotel group view referenced in the query. + /// The hotel group view referenced in the query. #[prost(message, optional, tag="51")] pub hotel_group_view: ::core::option::Option, - /// The hotel performance view referenced in the query. + /// The hotel performance view referenced in the query. #[prost(message, optional, tag="71")] pub hotel_performance_view: ::core::option::Option, - /// The hotel reconciliation referenced in the query. + /// The hotel reconciliation referenced in the query. #[prost(message, optional, tag="188")] pub hotel_reconciliation: ::core::option::Option, - /// The income range view referenced in the query. + /// The income range view referenced in the query. #[prost(message, optional, tag="138")] pub income_range_view: ::core::option::Option, - /// The keyword view referenced in the query. + /// The keyword view referenced in the query. #[prost(message, optional, tag="21")] pub keyword_view: ::core::option::Option, - /// The keyword plan referenced in the query. + /// The keyword plan referenced in the query. #[prost(message, optional, tag="32")] pub keyword_plan: ::core::option::Option, - /// The keyword plan campaign referenced in the query. + /// The keyword plan campaign referenced in the query. #[prost(message, optional, tag="33")] pub keyword_plan_campaign: ::core::option::Option, - /// The keyword plan campaign keyword referenced in the query. + /// The keyword plan campaign keyword referenced in the query. #[prost(message, optional, tag="140")] pub keyword_plan_campaign_keyword: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="35")] pub keyword_plan_ad_group: ::core::option::Option, - /// The keyword plan ad group referenced in the query. + /// The keyword plan ad group referenced in the query. #[prost(message, optional, tag="141")] pub keyword_plan_ad_group_keyword: ::core::option::Option, - /// The keyword theme constant referenced in the query. + /// The keyword theme constant referenced in the query. #[prost(message, optional, tag="163")] pub keyword_theme_constant: ::core::option::Option, - /// The label referenced in the query. + /// The label referenced in the query. #[prost(message, optional, tag="52")] pub label: ::core::option::Option, - /// The landing page view referenced in the query. + /// The landing page view referenced in the query. #[prost(message, optional, tag="126")] pub landing_page_view: ::core::option::Option, - /// The language constant referenced in the query. + /// The language constant referenced in the query. #[prost(message, optional, tag="55")] pub language_constant: ::core::option::Option, - /// The location view referenced in the query. + /// The location view referenced in the query. #[prost(message, optional, tag="123")] pub location_view: ::core::option::Option, - /// The managed placement view referenced in the query. + /// The managed placement view referenced in the query. #[prost(message, optional, tag="53")] pub managed_placement_view: ::core::option::Option, - /// The media file referenced in the query. + /// The media file referenced in the query. #[prost(message, optional, tag="90")] pub media_file: ::core::option::Option, - /// The mobile app category constant referenced in the query. + /// The mobile app category constant referenced in the query. #[prost(message, optional, tag="87")] pub mobile_app_category_constant: ::core::option::Option, - /// The mobile device constant referenced in the query. + /// The mobile device constant referenced in the query. #[prost(message, optional, tag="98")] pub mobile_device_constant: ::core::option::Option, - /// The offline user data job referenced in the query. + /// The offline user data job referenced in the query. #[prost(message, optional, tag="137")] pub offline_user_data_job: ::core::option::Option, - /// The operating system version constant referenced in the query. + /// The operating system version constant referenced in the query. #[prost(message, optional, tag="86")] pub operating_system_version_constant: ::core::option::Option, - /// The paid organic search term view referenced in the query. + /// The paid organic search term view referenced in the query. #[prost(message, optional, tag="129")] pub paid_organic_search_term_view: ::core::option::Option, - /// The parental status view referenced in the query. + /// The parental status view referenced in the query. #[prost(message, optional, tag="45")] pub parental_status_view: ::core::option::Option, - /// The Product Bidding Category referenced in the query. + /// The Product Bidding Category referenced in the query. #[prost(message, optional, tag="109")] pub product_bidding_category_constant: ::core::option::Option, - /// The product group view referenced in the query. + /// The product group view referenced in the query. #[prost(message, optional, tag="54")] pub product_group_view: ::core::option::Option, - /// The recommendation referenced in the query. + /// The recommendation referenced in the query. #[prost(message, optional, tag="22")] pub recommendation: ::core::option::Option, - /// The search term view referenced in the query. + /// The search term view referenced in the query. #[prost(message, optional, tag="68")] pub search_term_view: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="29")] pub shared_criterion: ::core::option::Option, - /// The shared set referenced in the query. + /// The shared set referenced in the query. #[prost(message, optional, tag="27")] pub shared_set: ::core::option::Option, - /// The Smart campaign setting referenced in the query. + /// The Smart campaign setting referenced in the query. #[prost(message, optional, tag="167")] pub smart_campaign_setting: ::core::option::Option, - /// The shopping performance view referenced in the query. + /// The shopping performance view referenced in the query. #[prost(message, optional, tag="117")] pub shopping_performance_view: ::core::option::Option, - /// The Smart campaign search term view referenced in the query. + /// The Smart campaign search term view referenced in the query. #[prost(message, optional, tag="170")] pub smart_campaign_search_term_view: ::core::option::Option, - /// The AccountLink referenced in the query. + /// The AccountLink referenced in the query. #[prost(message, optional, tag="144")] pub third_party_app_analytics_link: ::core::option::Option, - /// The topic view referenced in the query. + /// The topic view referenced in the query. #[prost(message, optional, tag="44")] pub topic_view: ::core::option::Option, - /// The user interest referenced in the query. + /// The user interest referenced in the query. #[prost(message, optional, tag="59")] pub user_interest: ::core::option::Option, - /// The life event referenced in the query. + /// The life event referenced in the query. #[prost(message, optional, tag="161")] pub life_event: ::core::option::Option, - /// The user list referenced in the query. + /// The user list referenced in the query. #[prost(message, optional, tag="38")] pub user_list: ::core::option::Option, - /// The user location view referenced in the query. + /// The user location view referenced in the query. #[prost(message, optional, tag="135")] pub user_location_view: ::core::option::Option, - /// The remarketing action referenced in the query. + /// The remarketing action referenced in the query. #[prost(message, optional, tag="60")] pub remarketing_action: ::core::option::Option, - /// The topic constant referenced in the query. + /// The topic constant referenced in the query. #[prost(message, optional, tag="31")] pub topic_constant: ::core::option::Option, - /// The video referenced in the query. + /// The video referenced in the query. #[prost(message, optional, tag="39")] pub video: ::core::option::Option, - /// The webpage view referenced in the query. + /// The webpage view referenced in the query. #[prost(message, optional, tag="162")] pub webpage_view: ::core::option::Option, - /// The metrics. + /// The metrics. #[prost(message, optional, tag="4")] pub metrics: ::core::option::Option, - /// The segments. + /// The segments. #[prost(message, optional, tag="102")] pub segments: ::core::option::Option, } -/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v9.services.GoogleAdsService.Mutate\]. +/// Request message for \[GoogleAdsService.Mutate][google.ads.googleads.v9.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsRequest { - /// Required. The ID of the customer whose resources are being modified. + /// Required. The ID of the customer whose resources are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual resources. + /// Required. The list of operations to perform on individual resources. #[prost(message, repeated, tag="2")] pub mutate_operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned post mutation. The mutable - /// resource will only be returned if the resource has the appropriate response - /// field. E.g. MutateCampaignResult.campaign. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned post mutation. The mutable + /// resource will only be returned if the resource has the appropriate response + /// field. E.g. MutateCampaignResult.campaign. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="5")] pub response_content_type: i32, } -/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v9.services.GoogleAdsService.Mutate\]. +/// Response message for \[GoogleAdsService.Mutate][google.ads.googleads.v9.services.GoogleAdsService.Mutate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateGoogleAdsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g., auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g., auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="3")] pub partial_failure_error: ::core::option::Option, - /// All responses for the mutate. + /// All responses for the mutate. #[prost(message, repeated, tag="1")] pub mutate_operation_responses: ::prost::alloc::vec::Vec, } -/// A single operation (create, update, remove) on a resource. +/// A single operation (create, update, remove) on a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="mutate_operation::Operation", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 49, 22, 23, 65, 78, 62, 71, 72, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 74, 30, 31, 32, 34, 35, 70, 36, 37, 53, 54, 38, 39, 40, 44, 50, 51, 45, 48, 41, 42, 43, 14, 15, 61, 16")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MutateOperation`. pub mod mutate_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// An ad group ad label mutate operation. + /// An ad group ad label mutate operation. #[prost(message, tag="17")] AdGroupAdLabelOperation(super::AdGroupAdLabelOperation), - /// An ad group ad mutate operation. + /// An ad group ad mutate operation. #[prost(message, tag="1")] AdGroupAdOperation(super::AdGroupAdOperation), - /// An ad group asset mutate operation. + /// An ad group asset mutate operation. #[prost(message, tag="56")] AdGroupAssetOperation(super::AdGroupAssetOperation), - /// An ad group bid modifier mutate operation. + /// An ad group bid modifier mutate operation. #[prost(message, tag="2")] AdGroupBidModifierOperation(super::AdGroupBidModifierOperation), - /// An ad group criterion customizer mutate operation. + /// An ad group criterion customizer mutate operation. #[prost(message, tag="77")] AdGroupCriterionCustomizerOperation(super::AdGroupCriterionCustomizerOperation), - /// An ad group criterion label mutate operation. + /// An ad group criterion label mutate operation. #[prost(message, tag="18")] AdGroupCriterionLabelOperation(super::AdGroupCriterionLabelOperation), - /// An ad group criterion mutate operation. + /// An ad group criterion mutate operation. #[prost(message, tag="3")] AdGroupCriterionOperation(super::AdGroupCriterionOperation), - /// An ad group customizer mutate operation. + /// An ad group customizer mutate operation. #[prost(message, tag="75")] AdGroupCustomizerOperation(super::AdGroupCustomizerOperation), - /// An ad group extension setting mutate operation. + /// An ad group extension setting mutate operation. #[prost(message, tag="19")] AdGroupExtensionSettingOperation(super::AdGroupExtensionSettingOperation), - /// An ad group feed mutate operation. + /// An ad group feed mutate operation. #[prost(message, tag="20")] AdGroupFeedOperation(super::AdGroupFeedOperation), - /// An ad group label mutate operation. + /// An ad group label mutate operation. #[prost(message, tag="21")] AdGroupLabelOperation(super::AdGroupLabelOperation), - /// An ad group mutate operation. + /// An ad group mutate operation. #[prost(message, tag="5")] AdGroupOperation(super::AdGroupOperation), - /// An ad mutate operation. + /// An ad mutate operation. #[prost(message, tag="49")] AdOperation(super::AdOperation), - /// An ad parameter mutate operation. + /// An ad parameter mutate operation. #[prost(message, tag="22")] AdParameterOperation(super::AdParameterOperation), - /// An asset mutate operation. + /// An asset mutate operation. #[prost(message, tag="23")] AssetOperation(super::AssetOperation), - /// An asset group asset mutate operation. + /// An asset group asset mutate operation. #[prost(message, tag="65")] AssetGroupAssetOperation(super::AssetGroupAssetOperation), - /// An asset group listing group filter mutate operation. + /// An asset group listing group filter mutate operation. #[prost(message, tag="78")] AssetGroupListingGroupFilterOperation(super::AssetGroupListingGroupFilterOperation), - /// An asset group mutate operation. + /// An asset group mutate operation. #[prost(message, tag="62")] AssetGroupOperation(super::AssetGroupOperation), - /// An asset set asset mutate operation. + /// An asset set asset mutate operation. #[prost(message, tag="71")] AssetSetAssetOperation(super::AssetSetAssetOperation), - /// An asset set mutate operation. + /// An asset set mutate operation. #[prost(message, tag="72")] AssetSetOperation(super::AssetSetOperation), - /// A bidding data exclusion mutate operation. + /// A bidding data exclusion mutate operation. #[prost(message, tag="58")] BiddingDataExclusionOperation(super::BiddingDataExclusionOperation), - /// A bidding seasonality adjustment mutate operation. + /// A bidding seasonality adjustment mutate operation. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentOperation(super::BiddingSeasonalityAdjustmentOperation), - /// A bidding strategy mutate operation. + /// A bidding strategy mutate operation. #[prost(message, tag="6")] BiddingStrategyOperation(super::BiddingStrategyOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="52")] CampaignAssetOperation(super::CampaignAssetOperation), - /// A campaign asset mutate operation. + /// A campaign asset mutate operation. #[prost(message, tag="73")] CampaignAssetSetOperation(super::CampaignAssetSetOperation), - /// A campaign bid modifier mutate operation. + /// A campaign bid modifier mutate operation. #[prost(message, tag="7")] CampaignBidModifierOperation(super::CampaignBidModifierOperation), - /// A campaign budget mutate operation. + /// A campaign budget mutate operation. #[prost(message, tag="8")] CampaignBudgetOperation(super::CampaignBudgetOperation), - /// A campaign conversion goal mutate operation. + /// A campaign conversion goal mutate operation. #[prost(message, tag="67")] CampaignConversionGoalOperation(super::CampaignConversionGoalOperation), - /// A campaign criterion mutate operation. + /// A campaign criterion mutate operation. #[prost(message, tag="13")] CampaignCriterionOperation(super::CampaignCriterionOperation), - /// An campaign customizer mutate operation. + /// An campaign customizer mutate operation. #[prost(message, tag="76")] CampaignCustomizerOperation(super::CampaignCustomizerOperation), - /// A campaign draft mutate operation. + /// A campaign draft mutate operation. #[prost(message, tag="24")] CampaignDraftOperation(super::CampaignDraftOperation), - /// A campaign experiment mutate operation. + /// A campaign experiment mutate operation. #[prost(message, tag="25")] CampaignExperimentOperation(super::CampaignExperimentOperation), - /// A campaign extension setting mutate operation. + /// A campaign extension setting mutate operation. #[prost(message, tag="26")] CampaignExtensionSettingOperation(super::CampaignExtensionSettingOperation), - /// A campaign feed mutate operation. + /// A campaign feed mutate operation. #[prost(message, tag="27")] CampaignFeedOperation(super::CampaignFeedOperation), - /// A campaign label mutate operation. + /// A campaign label mutate operation. #[prost(message, tag="28")] CampaignLabelOperation(super::CampaignLabelOperation), - /// A campaign mutate operation. + /// A campaign mutate operation. #[prost(message, tag="10")] CampaignOperation(super::CampaignOperation), - /// A campaign shared set mutate operation. + /// A campaign shared set mutate operation. #[prost(message, tag="11")] CampaignSharedSetOperation(super::CampaignSharedSetOperation), - /// A conversion action mutate operation. + /// A conversion action mutate operation. #[prost(message, tag="12")] ConversionActionOperation(super::ConversionActionOperation), - /// A conversion custom variable mutate operation. + /// A conversion custom variable mutate operation. #[prost(message, tag="55")] ConversionCustomVariableOperation(super::ConversionCustomVariableOperation), - /// A conversion goal campaign config mutate operation. + /// A conversion goal campaign config mutate operation. #[prost(message, tag="69")] ConversionGoalCampaignConfigOperation(super::ConversionGoalCampaignConfigOperation), - /// A conversion value rule mutate operation. + /// A conversion value rule mutate operation. #[prost(message, tag="63")] ConversionValueRuleOperation(super::ConversionValueRuleOperation), - /// A conversion value rule set mutate operation. + /// A conversion value rule set mutate operation. #[prost(message, tag="64")] ConversionValueRuleSetOperation(super::ConversionValueRuleSetOperation), - /// A custom conversion goal mutate operation. + /// A custom conversion goal mutate operation. #[prost(message, tag="68")] CustomConversionGoalOperation(super::CustomConversionGoalOperation), - /// A customer asset mutate operation. + /// A customer asset mutate operation. #[prost(message, tag="57")] CustomerAssetOperation(super::CustomerAssetOperation), - /// A customer conversion goal mutate operation. + /// A customer conversion goal mutate operation. #[prost(message, tag="66")] CustomerConversionGoalOperation(super::CustomerConversionGoalOperation), - /// An customer customizer mutate operation. + /// An customer customizer mutate operation. #[prost(message, tag="74")] CustomizerCustomizerOperation(super::CustomerCustomizerOperation), - /// A customer extension setting mutate operation. + /// A customer extension setting mutate operation. #[prost(message, tag="30")] CustomerExtensionSettingOperation(super::CustomerExtensionSettingOperation), - /// A customer feed mutate operation. + /// A customer feed mutate operation. #[prost(message, tag="31")] CustomerFeedOperation(super::CustomerFeedOperation), - /// A customer label mutate operation. + /// A customer label mutate operation. #[prost(message, tag="32")] CustomerLabelOperation(super::CustomerLabelOperation), - /// A customer negative criterion mutate operation. + /// A customer negative criterion mutate operation. #[prost(message, tag="34")] CustomerNegativeCriterionOperation(super::CustomerNegativeCriterionOperation), - /// A customer mutate operation. + /// A customer mutate operation. #[prost(message, tag="35")] CustomerOperation(super::CustomerOperation), - /// An customizer attribute mutate operation. + /// An customizer attribute mutate operation. #[prost(message, tag="70")] CustomizerAttributeOperation(super::CustomizerAttributeOperation), - /// An extension feed item mutate operation. + /// An extension feed item mutate operation. #[prost(message, tag="36")] ExtensionFeedItemOperation(super::ExtensionFeedItemOperation), - /// A feed item mutate operation. + /// A feed item mutate operation. #[prost(message, tag="37")] FeedItemOperation(super::FeedItemOperation), - /// A feed item set mutate operation. + /// A feed item set mutate operation. #[prost(message, tag="53")] FeedItemSetOperation(super::FeedItemSetOperation), - /// A feed item set link mutate operation. + /// A feed item set link mutate operation. #[prost(message, tag="54")] FeedItemSetLinkOperation(super::FeedItemSetLinkOperation), - /// A feed item target mutate operation. + /// A feed item target mutate operation. #[prost(message, tag="38")] FeedItemTargetOperation(super::FeedItemTargetOperation), - /// A feed mapping mutate operation. + /// A feed mapping mutate operation. #[prost(message, tag="39")] FeedMappingOperation(super::FeedMappingOperation), - /// A feed mutate operation. + /// A feed mutate operation. #[prost(message, tag="40")] FeedOperation(super::FeedOperation), - /// A keyword plan ad group operation. + /// A keyword plan ad group operation. #[prost(message, tag="44")] KeywordPlanAdGroupOperation(super::KeywordPlanAdGroupOperation), - /// A keyword plan ad group keyword operation. + /// A keyword plan ad group keyword operation. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordOperation(super::KeywordPlanAdGroupKeywordOperation), - /// A keyword plan campaign keyword operation. + /// A keyword plan campaign keyword operation. #[prost(message, tag="51")] KeywordPlanCampaignKeywordOperation(super::KeywordPlanCampaignKeywordOperation), - /// A keyword plan campaign operation. + /// A keyword plan campaign operation. #[prost(message, tag="45")] KeywordPlanCampaignOperation(super::KeywordPlanCampaignOperation), - /// A keyword plan operation. + /// A keyword plan operation. #[prost(message, tag="48")] KeywordPlanOperation(super::KeywordPlanOperation), - /// A label mutate operation. + /// A label mutate operation. #[prost(message, tag="41")] LabelOperation(super::LabelOperation), - /// A media file mutate operation. + /// A media file mutate operation. #[prost(message, tag="42")] MediaFileOperation(super::MediaFileOperation), - /// A remarketing action mutate operation. + /// A remarketing action mutate operation. #[prost(message, tag="43")] RemarketingActionOperation(super::RemarketingActionOperation), - /// A shared criterion mutate operation. + /// A shared criterion mutate operation. #[prost(message, tag="14")] SharedCriterionOperation(super::SharedCriterionOperation), - /// A shared set mutate operation. + /// A shared set mutate operation. #[prost(message, tag="15")] SharedSetOperation(super::SharedSetOperation), - /// A Smart campaign setting mutate operation. + /// A Smart campaign setting mutate operation. #[prost(message, tag="61")] SmartCampaignSettingOperation(super::SmartCampaignSettingOperation), - /// A user list mutate operation. + /// A user list mutate operation. #[prost(message, tag="16")] UserListOperation(super::UserListOperation), } } -/// Response message for the resource mutate. +/// Response message for the resource mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateOperationResponse { - /// The mutate response. + /// The mutate response. #[prost(oneof="mutate_operation_response::Response", tags="17, 1, 56, 2, 77, 18, 3, 75, 19, 20, 21, 5, 22, 49, 23, 65, 78, 62, 71, 72, 58, 59, 6, 52, 73, 7, 8, 67, 13, 76, 24, 25, 26, 27, 28, 10, 11, 12, 55, 69, 63, 64, 68, 57, 66, 74, 30, 31, 32, 34, 35, 70, 36, 37, 53, 54, 38, 39, 40, 44, 45, 50, 51, 48, 41, 42, 43, 14, 15, 61, 16")] pub response: ::core::option::Option, } /// Nested message and enum types in `MutateOperationResponse`. pub mod mutate_operation_response { - /// The mutate response. + /// The mutate response. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// The result for the ad group ad label mutate. + /// The result for the ad group ad label mutate. #[prost(message, tag="17")] AdGroupAdLabelResult(super::MutateAdGroupAdLabelResult), - /// The result for the ad group ad mutate. + /// The result for the ad group ad mutate. #[prost(message, tag="1")] AdGroupAdResult(super::MutateAdGroupAdResult), - /// The result for the ad group asset mutate. + /// The result for the ad group asset mutate. #[prost(message, tag="56")] AdGroupAssetResult(super::MutateAdGroupAssetResult), - /// The result for the ad group bid modifier mutate. + /// The result for the ad group bid modifier mutate. #[prost(message, tag="2")] AdGroupBidModifierResult(super::MutateAdGroupBidModifierResult), - /// The result for the ad group criterion customizer mutate. + /// The result for the ad group criterion customizer mutate. #[prost(message, tag="77")] AdGroupCriterionCustomizerResult(super::MutateAdGroupCriterionCustomizerResult), - /// The result for the ad group criterion label mutate. + /// The result for the ad group criterion label mutate. #[prost(message, tag="18")] AdGroupCriterionLabelResult(super::MutateAdGroupCriterionLabelResult), - /// The result for the ad group criterion mutate. + /// The result for the ad group criterion mutate. #[prost(message, tag="3")] AdGroupCriterionResult(super::MutateAdGroupCriterionResult), - /// The result for the ad group customizer mutate. + /// The result for the ad group customizer mutate. #[prost(message, tag="75")] AdGroupCustomizerResult(super::MutateAdGroupCustomizerResult), - /// The result for the ad group extension setting mutate. + /// The result for the ad group extension setting mutate. #[prost(message, tag="19")] AdGroupExtensionSettingResult(super::MutateAdGroupExtensionSettingResult), - /// The result for the ad group feed mutate. + /// The result for the ad group feed mutate. #[prost(message, tag="20")] AdGroupFeedResult(super::MutateAdGroupFeedResult), - /// The result for the ad group label mutate. + /// The result for the ad group label mutate. #[prost(message, tag="21")] AdGroupLabelResult(super::MutateAdGroupLabelResult), - /// The result for the ad group mutate. + /// The result for the ad group mutate. #[prost(message, tag="5")] AdGroupResult(super::MutateAdGroupResult), - /// The result for the ad parameter mutate. + /// The result for the ad parameter mutate. #[prost(message, tag="22")] AdParameterResult(super::MutateAdParameterResult), - /// The result for the ad mutate. + /// The result for the ad mutate. #[prost(message, tag="49")] AdResult(super::MutateAdResult), - /// The result for the asset mutate. + /// The result for the asset mutate. #[prost(message, tag="23")] AssetResult(super::MutateAssetResult), - /// The result for the asset group asset mutate. + /// The result for the asset group asset mutate. #[prost(message, tag="65")] AssetGroupAssetResult(super::MutateAssetGroupAssetResult), - /// The result for the asset group listing group filter mutate. + /// The result for the asset group listing group filter mutate. #[prost(message, tag="78")] AssetGroupListingGroupFilterResult(super::MutateAssetGroupListingGroupFilterResult), - /// The result for the asset group mutate. + /// The result for the asset group mutate. #[prost(message, tag="62")] AssetGroupResult(super::MutateAssetGroupResult), - /// The result for the asset set asset mutate. + /// The result for the asset set asset mutate. #[prost(message, tag="71")] AssetSetAssetResult(super::MutateAssetSetAssetResult), - /// The result for the asset set mutate. + /// The result for the asset set mutate. #[prost(message, tag="72")] AssetSetResult(super::MutateAssetSetResult), - /// The result for the bidding data exclusion mutate. + /// The result for the bidding data exclusion mutate. #[prost(message, tag="58")] BiddingDataExclusionResult(super::MutateBiddingDataExclusionsResult), - /// The result for the bidding seasonality adjustment mutate. + /// The result for the bidding seasonality adjustment mutate. #[prost(message, tag="59")] BiddingSeasonalityAdjustmentResult(super::MutateBiddingSeasonalityAdjustmentsResult), - /// The result for the bidding strategy mutate. + /// The result for the bidding strategy mutate. #[prost(message, tag="6")] BiddingStrategyResult(super::MutateBiddingStrategyResult), - /// The result for the campaign asset mutate. + /// The result for the campaign asset mutate. #[prost(message, tag="52")] CampaignAssetResult(super::MutateCampaignAssetResult), - /// The result for the campaign asset set mutate. + /// The result for the campaign asset set mutate. #[prost(message, tag="73")] CampaignAssetSetResult(super::MutateCampaignAssetSetResult), - /// The result for the campaign bid modifier mutate. + /// The result for the campaign bid modifier mutate. #[prost(message, tag="7")] CampaignBidModifierResult(super::MutateCampaignBidModifierResult), - /// The result for the campaign budget mutate. + /// The result for the campaign budget mutate. #[prost(message, tag="8")] CampaignBudgetResult(super::MutateCampaignBudgetResult), - /// The result for the campaign conversion goal mutate. + /// The result for the campaign conversion goal mutate. #[prost(message, tag="67")] CampaignConversionGoalResult(super::MutateCampaignConversionGoalResult), - /// The result for the campaign criterion mutate. + /// The result for the campaign criterion mutate. #[prost(message, tag="13")] CampaignCriterionResult(super::MutateCampaignCriterionResult), - /// The result for the campaign customizer mutate. + /// The result for the campaign customizer mutate. #[prost(message, tag="76")] CampaignCustomizerResult(super::MutateCampaignCustomizerResult), - /// The result for the campaign draft mutate. + /// The result for the campaign draft mutate. #[prost(message, tag="24")] CampaignDraftResult(super::MutateCampaignDraftResult), - /// The result for the campaign experiment mutate. + /// The result for the campaign experiment mutate. #[prost(message, tag="25")] CampaignExperimentResult(super::MutateCampaignExperimentResult), - /// The result for the campaign extension setting mutate. + /// The result for the campaign extension setting mutate. #[prost(message, tag="26")] CampaignExtensionSettingResult(super::MutateCampaignExtensionSettingResult), - /// The result for the campaign feed mutate. + /// The result for the campaign feed mutate. #[prost(message, tag="27")] CampaignFeedResult(super::MutateCampaignFeedResult), - /// The result for the campaign label mutate. + /// The result for the campaign label mutate. #[prost(message, tag="28")] CampaignLabelResult(super::MutateCampaignLabelResult), - /// The result for the campaign mutate. + /// The result for the campaign mutate. #[prost(message, tag="10")] CampaignResult(super::MutateCampaignResult), - /// The result for the campaign shared set mutate. + /// The result for the campaign shared set mutate. #[prost(message, tag="11")] CampaignSharedSetResult(super::MutateCampaignSharedSetResult), - /// The result for the conversion action mutate. + /// The result for the conversion action mutate. #[prost(message, tag="12")] ConversionActionResult(super::MutateConversionActionResult), - /// The result for the conversion custom variable mutate. + /// The result for the conversion custom variable mutate. #[prost(message, tag="55")] ConversionCustomVariableResult(super::MutateConversionCustomVariableResult), - /// The result for the conversion goal campaign config mutate. + /// The result for the conversion goal campaign config mutate. #[prost(message, tag="69")] ConversionGoalCampaignConfigResult(super::MutateConversionGoalCampaignConfigResult), - /// The result for the conversion value rule mutate. + /// The result for the conversion value rule mutate. #[prost(message, tag="63")] ConversionValueRuleResult(super::MutateConversionValueRuleResult), - /// The result for the conversion value rule set mutate. + /// The result for the conversion value rule set mutate. #[prost(message, tag="64")] ConversionValueRuleSetResult(super::MutateConversionValueRuleSetResult), - /// The result for the custom conversion goal mutate. + /// The result for the custom conversion goal mutate. #[prost(message, tag="68")] CustomConversionGoalResult(super::MutateCustomConversionGoalResult), - /// The result for the customer asset mutate. + /// The result for the customer asset mutate. #[prost(message, tag="57")] CustomerAssetResult(super::MutateCustomerAssetResult), - /// The result for the customer conversion goal mutate. + /// The result for the customer conversion goal mutate. #[prost(message, tag="66")] CustomerConversionGoalResult(super::MutateCustomerConversionGoalResult), - /// The result for the customer customizer mutate. + /// The result for the customer customizer mutate. #[prost(message, tag="74")] CustomerCustomizerResult(super::MutateCustomerCustomizerResult), - /// The result for the customer extension setting mutate. + /// The result for the customer extension setting mutate. #[prost(message, tag="30")] CustomerExtensionSettingResult(super::MutateCustomerExtensionSettingResult), - /// The result for the customer feed mutate. + /// The result for the customer feed mutate. #[prost(message, tag="31")] CustomerFeedResult(super::MutateCustomerFeedResult), - /// The result for the customer label mutate. + /// The result for the customer label mutate. #[prost(message, tag="32")] CustomerLabelResult(super::MutateCustomerLabelResult), - /// The result for the customer negative criterion mutate. + /// The result for the customer negative criterion mutate. #[prost(message, tag="34")] CustomerNegativeCriterionResult(super::MutateCustomerNegativeCriteriaResult), - /// The result for the customer mutate. + /// The result for the customer mutate. #[prost(message, tag="35")] CustomerResult(super::MutateCustomerResult), - /// The result for the customizer attribute mutate. + /// The result for the customizer attribute mutate. #[prost(message, tag="70")] CustomizerAttributeResult(super::MutateCustomizerAttributeResult), - /// The result for the extension feed item mutate. + /// The result for the extension feed item mutate. #[prost(message, tag="36")] ExtensionFeedItemResult(super::MutateExtensionFeedItemResult), - /// The result for the feed item mutate. + /// The result for the feed item mutate. #[prost(message, tag="37")] FeedItemResult(super::MutateFeedItemResult), - /// The result for the feed item set mutate. + /// The result for the feed item set mutate. #[prost(message, tag="53")] FeedItemSetResult(super::MutateFeedItemSetResult), - /// The result for the feed item set link mutate. + /// The result for the feed item set link mutate. #[prost(message, tag="54")] FeedItemSetLinkResult(super::MutateFeedItemSetLinkResult), - /// The result for the feed item target mutate. + /// The result for the feed item target mutate. #[prost(message, tag="38")] FeedItemTargetResult(super::MutateFeedItemTargetResult), - /// The result for the feed mapping mutate. + /// The result for the feed mapping mutate. #[prost(message, tag="39")] FeedMappingResult(super::MutateFeedMappingResult), - /// The result for the feed mutate. + /// The result for the feed mutate. #[prost(message, tag="40")] FeedResult(super::MutateFeedResult), - /// The result for the keyword plan ad group mutate. + /// The result for the keyword plan ad group mutate. #[prost(message, tag="44")] KeywordPlanAdGroupResult(super::MutateKeywordPlanAdGroupResult), - /// The result for the keyword plan campaign mutate. + /// The result for the keyword plan campaign mutate. #[prost(message, tag="45")] KeywordPlanCampaignResult(super::MutateKeywordPlanCampaignResult), - /// The result for the keyword plan ad group keyword mutate. + /// The result for the keyword plan ad group keyword mutate. #[prost(message, tag="50")] KeywordPlanAdGroupKeywordResult(super::MutateKeywordPlanAdGroupKeywordResult), - /// The result for the keyword plan campaign keyword mutate. + /// The result for the keyword plan campaign keyword mutate. #[prost(message, tag="51")] KeywordPlanCampaignKeywordResult(super::MutateKeywordPlanCampaignKeywordResult), - /// The result for the keyword plan mutate. + /// The result for the keyword plan mutate. #[prost(message, tag="48")] KeywordPlanResult(super::MutateKeywordPlansResult), - /// The result for the label mutate. + /// The result for the label mutate. #[prost(message, tag="41")] LabelResult(super::MutateLabelResult), - /// The result for the media file mutate. + /// The result for the media file mutate. #[prost(message, tag="42")] MediaFileResult(super::MutateMediaFileResult), - /// The result for the remarketing action mutate. + /// The result for the remarketing action mutate. #[prost(message, tag="43")] RemarketingActionResult(super::MutateRemarketingActionResult), - /// The result for the shared criterion mutate. + /// The result for the shared criterion mutate. #[prost(message, tag="14")] SharedCriterionResult(super::MutateSharedCriterionResult), - /// The result for the shared set mutate. + /// The result for the shared set mutate. #[prost(message, tag="15")] SharedSetResult(super::MutateSharedSetResult), - /// The result for the Smart campaign setting mutate. + /// The result for the Smart campaign setting mutate. #[prost(message, tag="61")] SmartCampaignSettingResult(super::MutateSmartCampaignSettingResult), - /// The result for the user list mutate. + /// The result for the user list mutate. #[prost(message, tag="16")] UserListResult(super::MutateUserListResult), } @@ -18894,145 +18894,145 @@ pub mod google_ads_service_client { } } } -/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v9.services.BatchJobService.MutateBatchJob\]. +/// Request message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v9.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobRequest { - /// Required. The ID of the customer for which to create a batch job. + /// Required. The ID of the customer for which to create a batch job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on an individual batch job. + /// Required. The operation to perform on an individual batch job. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a batch job. +/// A single operation on a batch job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobOperation { - /// The mutate operation. + /// The mutate operation. #[prost(oneof="batch_job_operation::Operation", tags="1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BatchJobOperation`. pub mod batch_job_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new batch job. + /// Create operation: No resource name is expected for the new batch job. #[prost(message, tag="1")] Create(super::super::resources::BatchJob), } } -/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v9.services.BatchJobService.MutateBatchJob\]. +/// Response message for \[BatchJobService.MutateBatchJob][google.ads.googleads.v9.services.BatchJobService.MutateBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResponse { - /// The result for the mutate. + /// The result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the batch job mutate. +/// The result for the batch job mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBatchJobResult { - /// The resource name of the batch job. + /// The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.GetBatchJob][google.ads.googleads.v9.services.BatchJobService.GetBatchJob\]. +/// Request message for \[BatchJobService.GetBatchJob][google.ads.googleads.v9.services.BatchJobService.GetBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBatchJobRequest { - /// Required. The resource name of the batch job to get. + /// Required. The resource name of the batch job to get. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v9.services.BatchJobService.RunBatchJob\]. +/// Request message for \[BatchJobService.RunBatchJob][google.ads.googleads.v9.services.BatchJobService.RunBatchJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunBatchJobRequest { - /// Required. The resource name of the BatchJob to run. + /// Required. The resource name of the BatchJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v9.services.BatchJobService.AddBatchJobOperations\]. +/// Request message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v9.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsRequest { - /// Required. The resource name of the batch job. + /// Required. The resource name of the batch job. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// A token used to enforce sequencing. + /// A token used to enforce sequencing. /// - /// The first AddBatchJobOperations request for a batch job should not set - /// sequence_token. Subsequent requests must set sequence_token to the value of - /// next_sequence_token received in the previous AddBatchJobOperations - /// response. + /// The first AddBatchJobOperations request for a batch job should not set + /// sequence_token. Subsequent requests must set sequence_token to the value of + /// next_sequence_token received in the previous AddBatchJobOperations + /// response. #[prost(string, tag="2")] pub sequence_token: ::prost::alloc::string::String, - /// Required. The list of mutates being added. + /// Required. The list of mutates being added. /// - /// Operations can use negative integers as temp ids to signify dependencies - /// between entities created in this batch job. For example, a customer with - /// id = 1234 can create a campaign and an ad group in that same campaign by - /// creating a campaign in the first operation with the resource name - /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group - /// in the second operation with the campaign field also set to - /// "customers/1234/campaigns/-1". + /// Operations can use negative integers as temp ids to signify dependencies + /// between entities created in this batch job. For example, a customer with + /// id = 1234 can create a campaign and an ad group in that same campaign by + /// creating a campaign in the first operation with the resource name + /// explicitly set to "customers/1234/campaigns/-1", and creating an ad group + /// in the second operation with the campaign field also set to + /// "customers/1234/campaigns/-1". #[prost(message, repeated, tag="3")] pub mutate_operations: ::prost::alloc::vec::Vec, } -/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v9.services.BatchJobService.AddBatchJobOperations\]. +/// Response message for \[BatchJobService.AddBatchJobOperations][google.ads.googleads.v9.services.BatchJobService.AddBatchJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddBatchJobOperationsResponse { - /// The total number of operations added so far for this batch job. + /// The total number of operations added so far for this batch job. #[prost(int64, tag="1")] pub total_operations: i64, - /// The sequence token to be used when calling AddBatchJobOperations again if - /// more operations need to be added. The next AddBatchJobOperations request - /// must set the sequence_token field to the value of this field. + /// The sequence token to be used when calling AddBatchJobOperations again if + /// more operations need to be added. The next AddBatchJobOperations request + /// must set the sequence_token field to the value of this field. #[prost(string, tag="2")] pub next_sequence_token: ::prost::alloc::string::String, } -/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v9.services.BatchJobService.ListBatchJobResults\]. +/// Request message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v9.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsRequest { - /// Required. The resource name of the batch job whose results are being listed. + /// Required. The resource name of the batch job whose results are being listed. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. Use the value obtained from - /// `next_page_token` in the previous response in order to request - /// the next page of results. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. Use the value obtained from + /// `next_page_token` in the previous response in order to request + /// the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When a page request is too large, the server may decide to - /// further limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When a page request is too large, the server may decide to + /// further limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, - /// The response content type setting. Determines whether the mutable resource - /// or just the resource name should be returned. + /// The response content type setting. Determines whether the mutable resource + /// or just the resource name should be returned. #[prost(enumeration="super::enums::response_content_type_enum::ResponseContentType", tag="4")] pub response_content_type: i32, } -/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v9.services.BatchJobService.ListBatchJobResults\]. +/// Response message for \[BatchJobService.ListBatchJobResults][google.ads.googleads.v9.services.BatchJobService.ListBatchJobResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchJobResultsResponse { - /// The list of rows that matched the query. + /// The list of rows that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. `next_page_token` is not returned for the last - /// page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. `next_page_token` is not returned for the last + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// An individual batch job result. +/// An individual batch job result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchJobResult { - /// Index of the mutate operation. + /// Index of the mutate operation. #[prost(int64, tag="1")] pub operation_index: i64, - /// Response for the mutate. - /// May be empty if errors occurred. + /// Response for the mutate. + /// May be empty if errors occurred. #[prost(message, optional, tag="2")] pub mutate_operation_response: ::core::option::Option, - /// Details of the errors when processing the operation. + /// Details of the errors when processing the operation. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, } @@ -19264,11 +19264,11 @@ pub mod batch_job_service_client { } } } -/// Request message for -/// \[BiddingStrategySimulationService.GetBiddingStrategySimulation][google.ads.googleads.v9.services.BiddingStrategySimulationService.GetBiddingStrategySimulation\]. +/// Request message for +/// \[BiddingStrategySimulationService.GetBiddingStrategySimulation][google.ads.googleads.v9.services.BiddingStrategySimulationService.GetBiddingStrategySimulation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiddingStrategySimulationRequest { - /// Required. The resource name of the bidding strategy simulation to fetch. + /// Required. The resource name of the bidding strategy simulation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19369,62 +19369,62 @@ pub mod bidding_strategy_simulation_service_client { } } } -/// Request message for -/// \[BillingSetupService.GetBillingSetup][google.ads.googleads.v9.services.BillingSetupService.GetBillingSetup\]. +/// Request message for +/// \[BillingSetupService.GetBillingSetup][google.ads.googleads.v9.services.BillingSetupService.GetBillingSetup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBillingSetupRequest { - /// Required. The resource name of the billing setup to fetch. + /// Required. The resource name of the billing setup to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for billing setup mutate operations. +/// Request message for billing setup mutate operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupRequest { - /// Required. Id of the customer to apply the billing setup mutate operation to. + /// Required. Id of the customer to apply the billing setup mutate operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform. + /// Required. The operation to perform. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation on a billing setup, which describes the cancellation of an -/// existing billing setup. +/// A single operation on a billing setup, which describes the cancellation of an +/// existing billing setup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingSetupOperation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[prost(oneof="billing_setup_operation::Operation", tags="2, 1")] pub operation: ::core::option::Option, } /// Nested message and enum types in `BillingSetupOperation`. pub mod billing_setup_operation { - /// Only one of these operations can be set. "Update" operations are not - /// supported. + /// Only one of these operations can be set. "Update" operations are not + /// supported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Creates a billing setup. No resource name is expected for the new billing - /// setup. + /// Creates a billing setup. No resource name is expected for the new billing + /// setup. #[prost(message, tag="2")] Create(super::super::resources::BillingSetup), - /// Resource name of the billing setup to remove. A setup cannot be - /// removed unless it is in a pending state or its scheduled start time is in - /// the future. The resource name looks like - /// `customers/{customer_id}/billingSetups/{billing_id}`. + /// Resource name of the billing setup to remove. A setup cannot be + /// removed unless it is in a pending state or its scheduled start time is in + /// the future. The resource name looks like + /// `customers/{customer_id}/billingSetups/{billing_id}`. #[prost(string, tag="1")] Remove(::prost::alloc::string::String), } } -/// Response message for a billing setup operation. +/// Response message for a billing setup operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// Result for a single billing setup mutate. +/// Result for a single billing setup mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateBillingSetupResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19571,10 +19571,10 @@ pub mod billing_setup_service_client { } } } -/// Request message for \[CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v9.services.CampaignAudienceViewService.GetCampaignAudienceView\]. +/// Request message for \[CampaignAudienceViewService.GetCampaignAudienceView][google.ads.googleads.v9.services.CampaignAudienceViewService.GetCampaignAudienceView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignAudienceViewRequest { - /// Required. The resource name of the campaign audience view to fetch. + /// Required. The resource name of the campaign audience view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19683,11 +19683,11 @@ pub mod campaign_audience_view_service_client { } } } -/// Request message for -/// \[CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v9.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation\]. +/// Request message for +/// \[CampaignCriterionSimulationService.GetCampaignCriterionSimulation][google.ads.googleads.v9.services.CampaignCriterionSimulationService.GetCampaignCriterionSimulation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignCriterionSimulationRequest { - /// Required. The resource name of the campaign criterion simulation to fetch. + /// Required. The resource name of the campaign criterion simulation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19798,11 +19798,11 @@ pub mod campaign_criterion_simulation_service_client { } } } -/// Request message for -/// \[CampaignSimulationService.GetCampaignSimulation][google.ads.googleads.v9.services.CampaignSimulationService.GetCampaignSimulation\]. +/// Request message for +/// \[CampaignSimulationService.GetCampaignSimulation][google.ads.googleads.v9.services.CampaignSimulationService.GetCampaignSimulation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCampaignSimulationRequest { - /// Required. The resource name of the campaign simulation to fetch. + /// Required. The resource name of the campaign simulation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -19903,10 +19903,10 @@ pub mod campaign_simulation_service_client { } } } -/// Request message for \[CarrierConstantService.GetCarrierConstant][google.ads.googleads.v9.services.CarrierConstantService.GetCarrierConstant\]. +/// Request message for \[CarrierConstantService.GetCarrierConstant][google.ads.googleads.v9.services.CarrierConstantService.GetCarrierConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCarrierConstantRequest { - /// Required. Resource name of the carrier constant to fetch. + /// Required. Resource name of the carrier constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -20015,10 +20015,10 @@ pub mod carrier_constant_service_client { } } } -/// Request message for '\[ChangeStatusService.GetChangeStatus][google.ads.googleads.v9.services.ChangeStatusService.GetChangeStatus\]'. +/// Request message for '\[ChangeStatusService.GetChangeStatus][google.ads.googleads.v9.services.ChangeStatusService.GetChangeStatus\]'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetChangeStatusRequest { - /// Required. The resource name of the change status to fetch. + /// Required. The resource name of the change status to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -20125,10 +20125,10 @@ pub mod change_status_service_client { } } } -/// Request message for \[ClickViewService.GetClickView][google.ads.googleads.v9.services.ClickViewService.GetClickView\]. +/// Request message for \[ClickViewService.GetClickView][google.ads.googleads.v9.services.ClickViewService.GetClickView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClickViewRequest { - /// Required. The resource name of the click view to fetch. + /// Required. The resource name of the click view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -20232,10 +20232,10 @@ pub mod click_view_service_client { } } } -/// Request message for \[CombinedAudienceService.GetCombinedAudience][google.ads.googleads.v9.services.CombinedAudienceService.GetCombinedAudience\]. +/// Request message for \[CombinedAudienceService.GetCombinedAudience][google.ads.googleads.v9.services.CombinedAudienceService.GetCombinedAudience\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCombinedAudienceRequest { - /// Required. The resource name of the combined audience to fetch. + /// Required. The resource name of the combined audience to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -20346,152 +20346,152 @@ pub mod combined_audience_service_client { } } } -/// Request message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v9.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Request message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v9.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversion adjustments that are being uploaded. + /// Required. The conversion adjustments that are being uploaded. #[prost(message, repeated, tag="2")] pub conversion_adjustments: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried out - /// in one transaction if and only if they are all valid. This should always be - /// set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried out + /// in one transaction if and only if they are all valid. This should always be + /// set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for -/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v9.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. +/// Response message for +/// \[ConversionAdjustmentUploadService.UploadConversionAdjustments][google.ads.googleads.v9.services.ConversionAdjustmentUploadService.UploadConversionAdjustments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadConversionAdjustmentsResponse { - /// Errors that pertain to conversion adjustment failures in the partial - /// failure mode. Returned when all errors occur inside the adjustments. If any - /// errors occur outside the adjustments (e.g. auth errors), we return an RPC - /// level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion adjustment failures in the partial + /// failure mode. Returned when all errors occur inside the adjustments. If any + /// errors occur outside the adjustments (e.g. auth errors), we return an RPC + /// level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversion adjustments. Proto will be - /// empty for rows that received an error. Results are not returned when - /// validate_only is true. + /// Returned for successfully processed conversion adjustments. Proto will be + /// empty for rows that received an error. Results are not returned when + /// validate_only is true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A conversion adjustment. +/// A conversion adjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustment { - /// For adjustments, uniquely identifies a conversion that was reported - /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this - /// value is optional but may be set in addition to the order_id. + /// For adjustments, uniquely identifies a conversion that was reported + /// without an order ID specified. If the adjustment_type is ENHANCEMENT, this + /// value is optional but may be set in addition to the order_id. #[prost(message, optional, tag="12")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. If the conversion was - /// reported with an order ID specified, that order ID must be used as the - /// identifier here. The order ID is required for enhancements. + /// The order ID of the conversion to be adjusted. If the conversion was + /// reported with an order ID specified, that order ID must be used as the + /// identifier here. The order ID is required for enhancements. #[prost(string, optional, tag="13")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion - /// adjustment. Note: Although this resource name consists of a customer id and - /// a conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion + /// adjustment. Note: Although this resource name consists of a customer id and + /// a conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="8")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. Must be after the - /// conversion_date_time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. Must be after the + /// conversion_date_time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="9")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, - /// Information needed to restate the conversion's value. - /// Required for restatements. Should not be supplied for retractions. An error - /// will be returned if provided for a retraction. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// Information needed to restate the conversion's value. + /// Required for restatements. Should not be supplied for retractions. An error + /// will be returned if provided for a retraction. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(message, optional, tag="6")] pub restatement_value: ::core::option::Option, - /// The user identifiers to enhance the original conversion. - /// ConversionAdjustmentUploadService only accepts user identifiers in - /// enhancements. The maximum number of user identifiers for each - /// enhancement is 5. + /// The user identifiers to enhance the original conversion. + /// ConversionAdjustmentUploadService only accepts user identifiers in + /// enhancements. The maximum number of user identifiers for each + /// enhancement is 5. #[prost(message, repeated, tag="10")] pub user_identifiers: ::prost::alloc::vec::Vec, - /// The user agent to enhance the original conversion. This can be found in - /// your user's HTTP request header when they convert on your web page. - /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User - /// agent can only be specified in enhancements with user identifiers. This - /// should match the user agent of the request that sent the original - /// conversion so the conversion and its enhancement are either both attributed - /// as same-device or both attributed as cross-device. + /// The user agent to enhance the original conversion. This can be found in + /// your user's HTTP request header when they convert on your web page. + /// Example, "Mozilla/5.0 (iPhone; CPU iPhone OS 12_2 like Mac OS X)". User + /// agent can only be specified in enhancements with user identifiers. This + /// should match the user agent of the request that sent the original + /// conversion so the conversion and its enhancement are either both attributed + /// as same-device or both attributed as cross-device. #[prost(string, optional, tag="11")] pub user_agent: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains information needed to restate a conversion's value. +/// Contains information needed to restate a conversion's value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestatementValue { - /// The restated conversion value. This is the value of the conversion after - /// restatement. For example, to change the value of a conversion from 100 to - /// 70, an adjusted value of 70 should be reported. - /// NOTE: If you want to upload a second restatement with a different adjusted - /// value, it must have a new, more recent, adjustment occurrence time. - /// Otherwise, it will be treated as a duplicate of the previous restatement - /// and ignored. + /// The restated conversion value. This is the value of the conversion after + /// restatement. For example, to change the value of a conversion from 100 to + /// 70, an adjusted value of 70 should be reported. + /// NOTE: If you want to upload a second restatement with a different adjusted + /// value, it must have a new, more recent, adjustment occurrence time. + /// Otherwise, it will be treated as a duplicate of the previous restatement + /// and ignored. #[prost(double, optional, tag="3")] pub adjusted_value: ::core::option::Option, - /// The currency of the restated value. If not provided, then the default - /// currency from the conversion action is used, and if that is not set then - /// the account currency is used. This is the ISO 4217 3-character currency - /// code e.g. USD or EUR. + /// The currency of the restated value. If not provided, then the default + /// currency from the conversion action is used, and if that is not set then + /// the account currency is used. This is the ISO 4217 3-character currency + /// code e.g. USD or EUR. #[prost(string, optional, tag="4")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, } -/// Uniquely identifies a conversion that was reported without an order ID -/// specified. +/// Uniquely identifies a conversion that was reported without an order ID +/// specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GclidDateTimePair { - /// Google click ID (gclid) associated with the original conversion for this - /// adjustment. + /// Google click ID (gclid) associated with the original conversion for this + /// adjustment. #[prost(string, optional, tag="3")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the original conversion for this adjustment - /// occurred. The timezone must be specified. The format is "yyyy-mm-dd - /// hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the original conversion for this adjustment + /// occurred. The timezone must be specified. The format is "yyyy-mm-dd + /// hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="4")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// Information identifying a successfully processed ConversionAdjustment. +/// Information identifying a successfully processed ConversionAdjustment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionAdjustmentResult { - /// The gclid and conversion date time of the conversion. + /// The gclid and conversion date time of the conversion. #[prost(message, optional, tag="9")] pub gclid_date_time_pair: ::core::option::Option, - /// The order ID of the conversion to be adjusted. + /// The order ID of the conversion to be adjusted. #[prost(string, tag="10")] pub order_id: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion - /// adjustment. + /// Resource name of the conversion action associated with this conversion + /// adjustment. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the adjustment occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the adjustment occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub adjustment_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The adjustment type. + /// The adjustment type. #[prost(enumeration="super::enums::conversion_adjustment_type_enum::ConversionAdjustmentType", tag="5")] pub adjustment_type: i32, } @@ -20601,282 +20601,282 @@ pub mod conversion_adjustment_upload_service_client { } } } -/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadClickConversions\]. +/// Request message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadClickConversions\]. +/// Response message for \[ConversionUploadService.UploadClickConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadClickConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadClickConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (e.g. auth errors), we return an RPC level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (e.g. auth errors), we return an RPC level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadCallConversions\]. +/// Request message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsRequest { - /// Required. The ID of the customer performing the upload. + /// Required. The ID of the customer performing the upload. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The conversions that are being uploaded. + /// Required. The conversions that are being uploaded. #[prost(message, repeated, tag="2")] pub conversions: ::prost::alloc::vec::Vec, - /// Required. If true, successful operations will be carried out and invalid - /// operations will return errors. If false, all operations will be carried - /// out in one transaction if and only if they are all valid. - /// This should always be set to true. - /// See - /// - /// for more information about partial failure. + /// Required. If true, successful operations will be carried out and invalid + /// operations will return errors. If false, all operations will be carried + /// out in one transaction if and only if they are all valid. + /// This should always be set to true. + /// See + /// + /// for more information about partial failure. #[prost(bool, tag="3")] pub partial_failure: bool, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadCallConversions\]. +/// Response message for \[ConversionUploadService.UploadCallConversions][google.ads.googleads.v9.services.ConversionUploadService.UploadCallConversions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadCallConversionsResponse { - /// Errors that pertain to conversion failures in the partial failure mode. - /// Returned when all errors occur inside the conversions. If any errors occur - /// outside the conversions (e.g. auth errors), we return an RPC level error. - /// See - /// - /// for more information about partial failure. + /// Errors that pertain to conversion failures in the partial failure mode. + /// Returned when all errors occur inside the conversions. If any errors occur + /// outside the conversions (e.g. auth errors), we return an RPC level error. + /// See + /// + /// for more information about partial failure. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Returned for successfully processed conversions. Proto will be empty for - /// rows that received an error. Results are not returned when validate_only is - /// true. + /// Returned for successfully processed conversions. Proto will be empty for + /// rows that received an error. Results are not returned when validate_only is + /// true. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// A click conversion. +/// A click conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversion { - /// The Google click ID (gclid) associated with this conversion. + /// The Google click ID (gclid) associated with this conversion. #[prost(string, optional, tag="9")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="18")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="19")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="10")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after - /// the click time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. + /// The date time at which the conversion occurred. Must be after + /// the click time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. #[prost(string, optional, tag="11")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="12")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="13")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The order ID associated with the conversion. An order id can only be used - /// for one conversion per conversion action. + /// The order ID associated with the conversion. An order id can only be used + /// for one conversion per conversion action. #[prost(string, optional, tag="14")] pub order_id: ::core::option::Option<::prost::alloc::string::String>, - /// Additional data about externally attributed conversions. This field - /// is required for conversions with an externally attributed conversion - /// action, but should not be set otherwise. + /// Additional data about externally attributed conversions. This field + /// is required for conversions with an externally attributed conversion + /// action, but should not be set otherwise. #[prost(message, optional, tag="7")] pub external_attribution_data: ::core::option::Option, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="15")] pub custom_variables: ::prost::alloc::vec::Vec, - /// The cart data associated with this conversion. + /// The cart data associated with this conversion. #[prost(message, optional, tag="16")] pub cart_data: ::core::option::Option, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="17")] pub user_identifiers: ::prost::alloc::vec::Vec, } -/// A call conversion. +/// A call conversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversion { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign. e.g. "+16502531234". + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign. e.g. "+16502531234". #[prost(string, optional, tag="7")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The timezone must be specified. - /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", - /// e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The timezone must be specified. + /// The format is "yyyy-mm-dd hh:mm:ss+|-hh:mm", + /// e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion action id, validation will ignore the customer id and use the - /// conversion action id as the sole identifier of the conversion action. + /// Resource name of the conversion action associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion action id, validation will ignore the customer id and use the + /// conversion action id as the sole identifier of the conversion action. #[prost(string, optional, tag="9")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. Must be after the call - /// time. The timezone must be specified. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. Must be after the call + /// time. The timezone must be specified. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="10")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the conversion for the advertiser. + /// The value of the conversion for the advertiser. #[prost(double, optional, tag="11")] pub conversion_value: ::core::option::Option, - /// Currency associated with the conversion value. This is the ISO 4217 - /// 3-character currency code. For example: USD, EUR. + /// Currency associated with the conversion value. This is the ISO 4217 + /// 3-character currency code. For example: USD, EUR. #[prost(string, optional, tag="12")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The custom variables associated with this conversion. + /// The custom variables associated with this conversion. #[prost(message, repeated, tag="13")] pub custom_variables: ::prost::alloc::vec::Vec, } -/// Contains additional information about externally attributed conversions. +/// Contains additional information about externally attributed conversions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalAttributionData { - /// Represents the fraction of the conversion that is attributed to the - /// Google Ads click. + /// Represents the fraction of the conversion that is attributed to the + /// Google Ads click. #[prost(double, optional, tag="3")] pub external_attribution_credit: ::core::option::Option, - /// Specifies the attribution model name. + /// Specifies the attribution model name. #[prost(string, optional, tag="4")] pub external_attribution_model: ::core::option::Option<::prost::alloc::string::String>, } -/// Identifying information for a successfully processed ClickConversion. +/// Identifying information for a successfully processed ClickConversion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClickConversionResult { - /// The Google Click ID (gclid) associated with this conversion. + /// The Google Click ID (gclid) associated with this conversion. #[prost(string, optional, tag="4")] pub gclid: ::core::option::Option<::prost::alloc::string::String>, - /// The click identifier for clicks associated with app conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with app conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="8")] pub gbraid: ::prost::alloc::string::String, - /// The click identifier for clicks associated with web conversions and - /// originating from iOS devices starting with iOS14. + /// The click identifier for clicks associated with web conversions and + /// originating from iOS devices starting with iOS14. #[prost(string, tag="9")] pub wbraid: ::prost::alloc::string::String, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="5")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. “2019-01-01 12:32:45-08:00”. #[prost(string, optional, tag="6")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// The user identifiers associated with this conversion. Only hashed_email and - /// hashed_phone_number are supported for conversion uploads. The maximum - /// number of user identifiers for each conversion is 5. + /// The user identifiers associated with this conversion. Only hashed_email and + /// hashed_phone_number are supported for conversion uploads. The maximum + /// number of user identifiers for each conversion is 5. #[prost(message, repeated, tag="7")] pub user_identifiers: ::prost::alloc::vec::Vec, } -/// Identifying information for a successfully processed CallConversionUpload. +/// Identifying information for a successfully processed CallConversionUpload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallConversionResult { - /// The caller id from which this call was placed. Caller id is expected to be - /// in E.164 format with preceding '+' sign. + /// The caller id from which this call was placed. Caller id is expected to be + /// in E.164 format with preceding '+' sign. #[prost(string, optional, tag="5")] pub caller_id: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the call occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the call occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="6")] pub call_start_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Resource name of the conversion action associated with this conversion. + /// Resource name of the conversion action associated with this conversion. #[prost(string, optional, tag="7")] pub conversion_action: ::core::option::Option<::prost::alloc::string::String>, - /// The date time at which the conversion occurred. The format is - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the conversion occurred. The format is + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="8")] pub conversion_date_time: ::core::option::Option<::prost::alloc::string::String>, } -/// A custom variable. +/// A custom variable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomVariable { - /// Resource name of the custom variable associated with this conversion. - /// Note: Although this resource name consists of a customer id and a - /// conversion custom variable id, validation will ignore the customer id and - /// use the conversion custom variable id as the sole identifier of the - /// conversion custom variable. + /// Resource name of the custom variable associated with this conversion. + /// Note: Although this resource name consists of a customer id and a + /// conversion custom variable id, validation will ignore the customer id and + /// use the conversion custom variable id as the sole identifier of the + /// conversion custom variable. #[prost(string, tag="1")] pub conversion_custom_variable: ::prost::alloc::string::String, - /// The value string of this custom variable. - /// The value of the custom variable should not contain private customer data, - /// such as email addresses or phone numbers. + /// The value string of this custom variable. + /// The value of the custom variable should not contain private customer data, + /// such as email addresses or phone numbers. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } -/// Contains additional information about cart data. +/// Contains additional information about cart data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CartData { - /// The Merchant Center ID where the items are uploaded. + /// The Merchant Center ID where the items are uploaded. #[prost(int64, tag="6")] pub merchant_id: i64, - /// The country code associated with the feed where the items are uploaded. + /// The country code associated with the feed where the items are uploaded. #[prost(string, tag="2")] pub feed_country_code: ::prost::alloc::string::String, - /// The language code associated with the feed where the items are uploaded. + /// The language code associated with the feed where the items are uploaded. #[prost(string, tag="3")] pub feed_language_code: ::prost::alloc::string::String, - /// Sum of all transaction level discounts, such as free shipping and - /// coupon discounts for the whole cart. The currency code is the same - /// as that in the ClickConversion message. + /// Sum of all transaction level discounts, such as free shipping and + /// coupon discounts for the whole cart. The currency code is the same + /// as that in the ClickConversion message. #[prost(double, tag="4")] pub local_transaction_cost: f64, - /// Data of the items purchased. + /// Data of the items purchased. #[prost(message, repeated, tag="5")] pub items: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CartData`. pub mod cart_data { - /// Contains data of the items purchased. + /// Contains data of the items purchased. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Item { - /// The shopping id of the item. Must be equal to the Merchant Center product - /// identifier. + /// The shopping id of the item. Must be equal to the Merchant Center product + /// identifier. #[prost(string, tag="1")] pub product_id: ::prost::alloc::string::String, - /// Number of items sold. + /// Number of items sold. #[prost(int32, tag="2")] pub quantity: i32, - /// Unit price excluding tax, shipping, and any transaction - /// level discounts. The currency code is the same as that in the - /// ClickConversion message. + /// Unit price excluding tax, shipping, and any transaction + /// level discounts. The currency code is the same as that in the + /// ClickConversion message. #[prost(double, tag="3")] pub unit_price: f64, } @@ -21020,10 +21020,10 @@ pub mod conversion_upload_service_client { } } } -/// Request message for \[CurrencyConstantService.GetCurrencyConstant][google.ads.googleads.v9.services.CurrencyConstantService.GetCurrencyConstant\]. +/// Request message for \[CurrencyConstantService.GetCurrencyConstant][google.ads.googleads.v9.services.CurrencyConstantService.GetCurrencyConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCurrencyConstantRequest { - /// Required. Resource name of the currency constant to fetch. + /// Required. Resource name of the currency constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21132,69 +21132,69 @@ pub mod currency_constant_service_client { } } } -/// Request message for \[CustomAudienceService.GetCustomAudience][google.ads.googleads.v9.services.CustomAudienceService.GetCustomAudience\]. +/// Request message for \[CustomAudienceService.GetCustomAudience][google.ads.googleads.v9.services.CustomAudienceService.GetCustomAudience\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomAudienceRequest { - /// Required. The resource name of the custom audience to fetch. + /// Required. The resource name of the custom audience to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v9.services.CustomAudienceService.MutateCustomAudiences\]. +/// Request message for \[CustomAudienceService.MutateCustomAudiences][google.ads.googleads.v9.services.CustomAudienceService.MutateCustomAudiences\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesRequest { - /// Required. The ID of the customer whose custom audiences are being modified. + /// Required. The ID of the customer whose custom audiences are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom audiences. + /// Required. The list of operations to perform on individual custom audiences. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a custom audience. +/// A single operation (create, update) on a custom audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomAudienceOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_audience_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomAudienceOperation`. pub mod custom_audience_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// audience. + /// Create operation: No resource name is expected for the new custom + /// audience. #[prost(message, tag="1")] Create(super::super::resources::CustomAudience), - /// Update operation: The custom audience is expected to have a valid - /// resource name. + /// Update operation: The custom audience is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomAudience), - /// Remove operation: A resource name for the removed custom audience is - /// expected, in this format: + /// Remove operation: A resource name for the removed custom audience is + /// expected, in this format: /// - /// `customers/{customer_id}/customAudiences/{custom_audience_id}` + /// `customers/{customer_id}/customAudiences/{custom_audience_id}` #[prost(string, tag="3")] Remove(::prost::alloc::string::String), } } -/// Response message for custom audience mutate. +/// Response message for custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudiencesResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom audience mutate. +/// The result for the custom audience mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomAudienceResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21339,63 +21339,63 @@ pub mod custom_audience_service_client { } } } -/// Request message for \[CustomInterestService.GetCustomInterest][google.ads.googleads.v9.services.CustomInterestService.GetCustomInterest\]. +/// Request message for \[CustomInterestService.GetCustomInterest][google.ads.googleads.v9.services.CustomInterestService.GetCustomInterest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomInterestRequest { - /// Required. The resource name of the custom interest to fetch. + /// Required. The resource name of the custom interest to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v9.services.CustomInterestService.MutateCustomInterests\]. +/// Request message for \[CustomInterestService.MutateCustomInterests][google.ads.googleads.v9.services.CustomInterestService.MutateCustomInterests\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsRequest { - /// Required. The ID of the customer whose custom interests are being modified. + /// Required. The ID of the customer whose custom interests are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual custom interests. + /// Required. The list of operations to perform on individual custom interests. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A single operation (create, update) on a custom interest. +/// A single operation (create, update) on a custom interest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomInterestOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="custom_interest_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomInterestOperation`. pub mod custom_interest_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new custom - /// interest. + /// Create operation: No resource name is expected for the new custom + /// interest. #[prost(message, tag="1")] Create(super::super::resources::CustomInterest), - /// Update operation: The custom interest is expected to have a valid - /// resource name. + /// Update operation: The custom interest is expected to have a valid + /// resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomInterest), } } -/// Response message for custom interest mutate. +/// Response message for custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestsResponse { - /// All results for the mutate. + /// All results for the mutate. #[prost(message, repeated, tag="2")] pub results: ::prost::alloc::vec::Vec, } -/// The result for the custom interest mutate. +/// The result for the custom interest mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomInterestResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21538,61 +21538,61 @@ pub mod custom_interest_service_client { } } } -/// Request message for \[CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v9.services.CustomerClientLinkService.GetCustomerClientLink\]. +/// Request message for \[CustomerClientLinkService.GetCustomerClientLink][google.ads.googleads.v9.services.CustomerClientLinkService.GetCustomerClientLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerClientLinkRequest { - /// Required. The resource name of the customer client link to fetch. + /// Required. The resource name of the customer client link to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v9.services.CustomerClientLinkService.MutateCustomerClientLink\]. +/// Request message for \[CustomerClientLinkService.MutateCustomerClientLink][google.ads.googleads.v9.services.CustomerClientLinkService.MutateCustomerClientLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkRequest { - /// Required. The ID of the customer whose customer link are being modified. + /// Required. The ID of the customer whose customer link are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the individual CustomerClientLink. + /// Required. The operation to perform on the individual CustomerClientLink. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single operation (create, update) on a CustomerClientLink. +/// A single operation (create, update) on a CustomerClientLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerClientLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_client_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerClientLinkOperation`. pub mod customer_client_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new link. + /// Create operation: No resource name is expected for the new link. #[prost(message, tag="1")] Create(super::super::resources::CustomerClientLink), - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerClientLink), } } -/// Response message for a CustomerClientLink mutate. +/// Response message for a CustomerClientLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for a single customer client link mutate. +/// The result for a single customer client link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerClientLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21738,10 +21738,10 @@ pub mod customer_client_link_service_client { } } } -/// Request message for \[CustomerClientService.GetCustomerClient][google.ads.googleads.v9.services.CustomerClientService.GetCustomerClient\]. +/// Request message for \[CustomerClientService.GetCustomerClient][google.ads.googleads.v9.services.CustomerClientService.GetCustomerClient\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerClientRequest { - /// Required. The resource name of the client to fetch. + /// Required. The resource name of the client to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -21848,91 +21848,91 @@ pub mod customer_client_service_client { } } } -/// Request message for \[CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.GetCustomerManagerLink\]. +/// Request message for \[CustomerManagerLinkService.GetCustomerManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.GetCustomerManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerManagerLinkRequest { - /// Required. The resource name of the CustomerManagerLink to fetch. + /// Required. The resource name of the CustomerManagerLink to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MutateCustomerManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.MutateCustomerManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkRequest { - /// Required. The ID of the customer whose customer manager links are being modified. + /// Required. The ID of the customer whose customer manager links are being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to perform on individual customer manager links. + /// Required. The list of operations to perform on individual customer manager links. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.MoveManagerLink\]. +/// Request message for \[CustomerManagerLinkService.MoveManagerLink][google.ads.googleads.v9.services.CustomerManagerLinkService.MoveManagerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkRequest { - /// Required. The ID of the client customer that is being moved. + /// Required. The ID of the client customer that is being moved. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The resource name of the previous CustomerManagerLink. - /// The resource name has the form: - /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` + /// Required. The resource name of the previous CustomerManagerLink. + /// The resource name has the form: + /// `customers/{customer_id}/customerManagerLinks/{manager_customer_id}~{manager_link_id}` #[prost(string, tag="2")] pub previous_customer_manager_link: ::prost::alloc::string::String, - /// Required. The resource name of the new manager customer that the client wants to move - /// to. Customer resource names have the format: "customers/{customer_id}" + /// Required. The resource name of the new manager customer that the client wants to move + /// to. Customer resource names have the format: "customers/{customer_id}" #[prost(string, tag="3")] pub new_manager: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Updates the status of a CustomerManagerLink. -/// The following actions are possible: -/// 1. Update operation with status ACTIVE accepts a pending invitation. -/// 2. Update operation with status REFUSED declines a pending invitation. -/// 3. Update operation with status INACTIVE terminates link to manager. +/// Updates the status of a CustomerManagerLink. +/// The following actions are possible: +/// 1. Update operation with status ACTIVE accepts a pending invitation. +/// 2. Update operation with status REFUSED declines a pending invitation. +/// 3. Update operation with status INACTIVE terminates link to manager. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerManagerLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_manager_link_operation::Operation", tags="2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerManagerLinkOperation`. pub mod customer_manager_link_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The link is expected to have a valid resource name. + /// Update operation: The link is expected to have a valid resource name. #[prost(message, tag="2")] Update(super::super::resources::CustomerManagerLink), } } -/// Response message for a CustomerManagerLink mutate. +/// Response message for a CustomerManagerLink mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResponse { - /// A result that identifies the resource affected by the mutate request. + /// A result that identifies the resource affected by the mutate request. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// Response message for a CustomerManagerLink moveManagerLink. +/// Response message for a CustomerManagerLink moveManagerLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveManagerLinkResponse { - /// Returned for successful operations. Represents a CustomerManagerLink - /// resource of the newly created link between client customer and new manager - /// customer. + /// Returned for successful operations. Represents a CustomerManagerLink + /// resource of the newly created link between client customer and new manager + /// customer. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// The result for the customer manager link mutate. +/// The result for the customer manager link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerManagerLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22112,60 +22112,60 @@ pub mod customer_manager_link_service_client { } } } -/// Request message for -/// \[CustomerUserAccessInvitation.GetCustomerUserAccessInvitation][\] +/// Request message for +/// \[CustomerUserAccessInvitation.GetCustomerUserAccessInvitation][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerUserAccessInvitationRequest { - /// Required. Resource name of the access invitation. + /// Required. Resource name of the access invitation. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] +/// Request message for +/// \[CustomerUserAccessInvitation.MutateCustomerUserAccessInvitation][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationRequest { - /// Required. The ID of the customer whose access invitation is being modified. + /// Required. The ID of the customer whose access invitation is being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the access invitation + /// Required. The operation to perform on the access invitation #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (create or remove) on customer user access invitation. +/// A single operation (create or remove) on customer user access invitation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessInvitationOperation { - /// The mutate operation + /// The mutate operation #[prost(oneof="customer_user_access_invitation_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessInvitationOperation`. pub mod customer_user_access_invitation_operation { - /// The mutate operation + /// The mutate operation #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Create operation: No resource name is expected for the new access - /// invitation. + /// Create operation: No resource name is expected for the new access + /// invitation. #[prost(message, tag="1")] Create(super::super::resources::CustomerUserAccessInvitation), - /// Remove operation: A resource name for the revoke invitation is - /// expected, in this format: + /// Remove operation: A resource name for the revoke invitation is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` + /// `customers/{customer_id}/customerUserAccessInvitations/{invitation_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for access invitation mutate. +/// Response message for access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the access invitation mutate. +/// The result for the access invitation mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessInvitationResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22311,63 +22311,63 @@ pub mod customer_user_access_invitation_service_client { } } } -/// Request message for -/// \[CustomerUserAccessService.GetCustomerUserAccess][google.ads.googleads.v9.services.CustomerUserAccessService.GetCustomerUserAccess\]. +/// Request message for +/// \[CustomerUserAccessService.GetCustomerUserAccess][google.ads.googleads.v9.services.CustomerUserAccessService.GetCustomerUserAccess\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerUserAccessRequest { - /// Required. Resource name of the customer user access. + /// Required. Resource name of the customer user access. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Mutate Request for -/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v9.services.CustomerUserAccessService.MutateCustomerUserAccess\]. +/// Mutate Request for +/// \[CustomerUserAccessService.MutateCustomerUserAccess][google.ads.googleads.v9.services.CustomerUserAccessService.MutateCustomerUserAccess\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the customer + /// Required. The operation to perform on the customer #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, } -/// A single operation (update, remove) on customer user access. +/// A single operation (update, remove) on customer user access. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerUserAccessOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The mutate operation. + /// The mutate operation. #[prost(oneof="customer_user_access_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `CustomerUserAccessOperation`. pub mod customer_user_access_operation { - /// The mutate operation. + /// The mutate operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The customer user access is expected to have a valid - /// resource name. + /// Update operation: The customer user access is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::CustomerUserAccess), - /// Remove operation: A resource name for the removed access is - /// expected, in this format: + /// Remove operation: A resource name for the removed access is + /// expected, in this format: /// - /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` + /// `customers/{customer_id}/customerUserAccesses/{CustomerUserAccess.user_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for customer user access mutate. +/// Response message for customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, } -/// The result for the customer user access mutate. +/// The result for the customer user access mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateCustomerUserAccessResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22511,10 +22511,10 @@ pub mod customer_user_access_service_client { } } } -/// Request message for \[DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v9.services.DetailPlacementViewService.GetDetailPlacementView\]. +/// Request message for \[DetailPlacementViewService.GetDetailPlacementView][google.ads.googleads.v9.services.DetailPlacementViewService.GetDetailPlacementView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDetailPlacementViewRequest { - /// Required. The resource name of the Detail Placement view to fetch. + /// Required. The resource name of the Detail Placement view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22623,10 +22623,10 @@ pub mod detail_placement_view_service_client { } } } -/// Request message for \[DetailedDemographicService.GetDetailedDemographic][google.ads.googleads.v9.services.DetailedDemographicService.GetDetailedDemographic\]. +/// Request message for \[DetailedDemographicService.GetDetailedDemographic][google.ads.googleads.v9.services.DetailedDemographicService.GetDetailedDemographic\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDetailedDemographicRequest { - /// Required. Resource name of the DetailedDemographic to fetch. + /// Required. Resource name of the DetailedDemographic to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22727,10 +22727,10 @@ pub mod detailed_demographic_service_client { } } } -/// Request message for \[DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v9.services.DisplayKeywordViewService.GetDisplayKeywordView\]. +/// Request message for \[DisplayKeywordViewService.GetDisplayKeywordView][google.ads.googleads.v9.services.DisplayKeywordViewService.GetDisplayKeywordView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDisplayKeywordViewRequest { - /// Required. The resource name of the display keyword view to fetch. + /// Required. The resource name of the display keyword view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22839,10 +22839,10 @@ pub mod display_keyword_view_service_client { } } } -/// Request message for \[DistanceViewService.GetDistanceView][google.ads.googleads.v9.services.DistanceViewService.GetDistanceView\]. +/// Request message for \[DistanceViewService.GetDistanceView][google.ads.googleads.v9.services.DistanceViewService.GetDistanceView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDistanceViewRequest { - /// Required. The resource name of the distance view to fetch. + /// Required. The resource name of the distance view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -22949,11 +22949,11 @@ pub mod distance_view_service_client { } } } -/// Request message for -/// \[DomainCategoryService.GetDomainCategory][google.ads.googleads.v9.services.DomainCategoryService.GetDomainCategory\]. +/// Request message for +/// \[DomainCategoryService.GetDomainCategory][google.ads.googleads.v9.services.DomainCategoryService.GetDomainCategory\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDomainCategoryRequest { - /// Required. Resource name of the domain category to fetch. + /// Required. Resource name of the domain category to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23060,11 +23060,11 @@ pub mod domain_category_service_client { } } } -/// Request message for -/// \[DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v9.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView\]. +/// Request message for +/// \[DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView][google.ads.googleads.v9.services.DynamicSearchAdsSearchTermViewService.GetDynamicSearchAdsSearchTermView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDynamicSearchAdsSearchTermViewRequest { - /// Required. The resource name of the dynamic search ads search term view to fetch. + /// Required. The resource name of the dynamic search ads search term view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23175,11 +23175,11 @@ pub mod dynamic_search_ads_search_term_view_service_client { } } } -/// Request message for -/// \[ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v9.services.ExpandedLandingPageViewService.GetExpandedLandingPageView\]. +/// Request message for +/// \[ExpandedLandingPageViewService.GetExpandedLandingPageView][google.ads.googleads.v9.services.ExpandedLandingPageViewService.GetExpandedLandingPageView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExpandedLandingPageViewRequest { - /// Required. The resource name of the expanded landing page view to fetch. + /// Required. The resource name of the expanded landing page view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23288,10 +23288,10 @@ pub mod expanded_landing_page_view_service_client { } } } -/// Request message for \[FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v9.services.FeedPlaceholderViewService.GetFeedPlaceholderView\]. +/// Request message for \[FeedPlaceholderViewService.GetFeedPlaceholderView][google.ads.googleads.v9.services.FeedPlaceholderViewService.GetFeedPlaceholderView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedPlaceholderViewRequest { - /// Required. The resource name of the feed placeholder view to fetch. + /// Required. The resource name of the feed placeholder view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23400,10 +23400,10 @@ pub mod feed_placeholder_view_service_client { } } } -/// Request message for \[GenderViewService.GetGenderView][google.ads.googleads.v9.services.GenderViewService.GetGenderView\]. +/// Request message for \[GenderViewService.GetGenderView][google.ads.googleads.v9.services.GenderViewService.GetGenderView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGenderViewRequest { - /// Required. The resource name of the gender view to fetch. + /// Required. The resource name of the gender view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23510,84 +23510,84 @@ pub mod gender_view_service_client { } } } -/// Request message for \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. +/// Request message for \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGeoTargetConstantRequest { - /// Required. The resource name of the geo target constant to fetch. + /// Required. The resource name of the geo target constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v9.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Request message for +/// \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v9.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsRequest { - /// If possible, returned geo targets are translated using this locale. If not, - /// en is used by default. This is also used as a hint for returned geo - /// targets. + /// If possible, returned geo targets are translated using this locale. If not, + /// en is used by default. This is also used as a hint for returned geo + /// targets. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Returned geo targets are restricted to this country code. + /// Returned geo targets are restricted to this country code. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[prost(oneof="suggest_geo_target_constants_request::Query", tags="1, 2")] pub query: ::core::option::Option, } /// Nested message and enum types in `SuggestGeoTargetConstantsRequest`. pub mod suggest_geo_target_constants_request { - /// A list of location names. + /// A list of location names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationNames { - /// A list of location names. + /// A list of location names. #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargets { - /// A list of geo target constant resource names. + /// A list of geo target constant resource names. #[prost(string, repeated, tag="2")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Required. A selector of geo target constants. + /// Required. A selector of geo target constants. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// The location names to search by. At most 25 names can be set. + /// The location names to search by. At most 25 names can be set. #[prost(message, tag="1")] LocationNames(LocationNames), - /// The geo target constant resource names to filter by. + /// The geo target constant resource names to filter by. #[prost(message, tag="2")] GeoTargets(GeoTargets), } } -/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v9.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. +/// Response message for \[GeoTargetConstantService.SuggestGeoTargetConstants][google.ads.googleads.v9.services.GeoTargetConstantService.SuggestGeoTargetConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestGeoTargetConstantsResponse { - /// Geo target constant suggestions. + /// Geo target constant suggestions. #[prost(message, repeated, tag="1")] pub geo_target_constant_suggestions: ::prost::alloc::vec::Vec, } -/// A geo target constant suggestion. +/// A geo target constant suggestion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GeoTargetConstantSuggestion { - /// The language this GeoTargetConstantSuggestion is currently translated to. - /// It affects the name of geo target fields. For example, if locale=en, then - /// name=Spain. If locale=es, then name=España. The default locale will be - /// returned if no translation exists for the locale in the request. + /// The language this GeoTargetConstantSuggestion is currently translated to. + /// It affects the name of geo target fields. For example, if locale=en, then + /// name=Spain. If locale=es, then name=España. The default locale will be + /// returned if no translation exists for the locale in the request. #[prost(string, optional, tag="6")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// Approximate user population that will be targeted, rounded to the - /// nearest 100. + /// Approximate user population that will be targeted, rounded to the + /// nearest 100. #[prost(int64, optional, tag="7")] pub reach: ::core::option::Option, - /// If the request searched by location name, this is the location name that - /// matched the geo target. + /// If the request searched by location name, this is the location name that + /// matched the geo target. #[prost(string, optional, tag="8")] pub search_term: ::core::option::Option<::prost::alloc::string::String>, - /// The GeoTargetConstant result. + /// The GeoTargetConstant result. #[prost(message, optional, tag="4")] pub geo_target_constant: ::core::option::Option, - /// The list of parents of the geo target constant. + /// The list of parents of the geo target constant. #[prost(message, repeated, tag="5")] pub geo_target_constant_parents: ::prost::alloc::vec::Vec, } @@ -23728,10 +23728,10 @@ pub mod geo_target_constant_service_client { } } } -/// Request message for \[GeographicViewService.GetGeographicView][google.ads.googleads.v9.services.GeographicViewService.GetGeographicView\]. +/// Request message for \[GeographicViewService.GetGeographicView][google.ads.googleads.v9.services.GeographicViewService.GetGeographicView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGeographicViewRequest { - /// Required. The resource name of the geographic view to fetch. + /// Required. The resource name of the geographic view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -23838,42 +23838,42 @@ pub mod geographic_view_service_client { } } } -/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v9.services.GoogleAdsFieldService.GetGoogleAdsField\]. +/// Request message for \[GoogleAdsFieldService.GetGoogleAdsField][google.ads.googleads.v9.services.GoogleAdsFieldService.GetGoogleAdsField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGoogleAdsFieldRequest { - /// Required. The resource name of the field to get. + /// Required. The resource name of the field to get. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v9.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Request message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v9.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsRequest { - /// Required. The query string. + /// Required. The query string. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Token of the page to retrieve. If not specified, the first page of - /// results will be returned. Use the value obtained from `next_page_token` - /// in the previous response in order to request the next page of results. + /// Token of the page to retrieve. If not specified, the first page of + /// results will be returned. Use the value obtained from `next_page_token` + /// in the previous response in order to request the next page of results. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Number of elements to retrieve in a single page. - /// When too large a page is requested, the server may decide to further - /// limit the number of returned resources. + /// Number of elements to retrieve in a single page. + /// When too large a page is requested, the server may decide to further + /// limit the number of returned resources. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v9.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. +/// Response message for \[GoogleAdsFieldService.SearchGoogleAdsFields][google.ads.googleads.v9.services.GoogleAdsFieldService.SearchGoogleAdsFields\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchGoogleAdsFieldsResponse { - /// The list of fields that matched the query. + /// The list of fields that matched the query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token used to retrieve the next page of results. Pass the - /// content of this string as the `page_token` attribute of the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. Pass the + /// content of this string as the `page_token` attribute of the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results that match the query ignoring the LIMIT clause. + /// Total number of results that match the query ignoring the LIMIT clause. #[prost(int64, tag="3")] pub total_results_count: i64, } @@ -24012,10 +24012,10 @@ pub mod google_ads_field_service_client { } } } -/// Request message for \[GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v9.services.GroupPlacementViewService.GetGroupPlacementView\]. +/// Request message for \[GroupPlacementViewService.GetGroupPlacementView][google.ads.googleads.v9.services.GroupPlacementViewService.GetGroupPlacementView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGroupPlacementViewRequest { - /// Required. The resource name of the Group Placement view to fetch. + /// Required. The resource name of the Group Placement view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -24124,10 +24124,10 @@ pub mod group_placement_view_service_client { } } } -/// Request message for \[HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v9.services.HotelGroupViewService.GetHotelGroupView\]. +/// Request message for \[HotelGroupViewService.GetHotelGroupView][google.ads.googleads.v9.services.HotelGroupViewService.GetHotelGroupView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHotelGroupViewRequest { - /// Required. Resource name of the Hotel Group View to fetch. + /// Required. Resource name of the Hotel Group View to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -24234,10 +24234,10 @@ pub mod hotel_group_view_service_client { } } } -/// Request message for \[HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v9.services.HotelPerformanceViewService.GetHotelPerformanceView\]. +/// Request message for \[HotelPerformanceViewService.GetHotelPerformanceView][google.ads.googleads.v9.services.HotelPerformanceViewService.GetHotelPerformanceView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHotelPerformanceViewRequest { - /// Required. Resource name of the Hotel Performance View to fetch. + /// Required. Resource name of the Hotel Performance View to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -24346,10 +24346,10 @@ pub mod hotel_performance_view_service_client { } } } -/// Request message for \[IncomeRangeViewService.GetIncomeRangeView][google.ads.googleads.v9.services.IncomeRangeViewService.GetIncomeRangeView\]. +/// Request message for \[IncomeRangeViewService.GetIncomeRangeView][google.ads.googleads.v9.services.IncomeRangeViewService.GetIncomeRangeView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIncomeRangeViewRequest { - /// Required. The resource name of the income range view to fetch. + /// Required. The resource name of the income range view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -24458,30 +24458,30 @@ pub mod income_range_view_service_client { } } } -/// Request message for fetching the invoices of a given billing setup that were -/// issued during a given month. +/// Request message for fetching the invoices of a given billing setup that were +/// issued during a given month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesRequest { - /// Required. The ID of the customer to fetch invoices for. + /// Required. The ID of the customer to fetch invoices for. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The billing setup resource name of the requested invoices. + /// Required. The billing setup resource name of the requested invoices. /// - /// `customers/{customer_id}/billingSetups/{billing_setup_id}` + /// `customers/{customer_id}/billingSetups/{billing_setup_id}` #[prost(string, tag="2")] pub billing_setup: ::prost::alloc::string::String, - /// Required. The issue year to retrieve invoices, in yyyy format. Only - /// invoices issued in 2019 or later can be retrieved. + /// Required. The issue year to retrieve invoices, in yyyy format. Only + /// invoices issued in 2019 or later can be retrieved. #[prost(string, tag="3")] pub issue_year: ::prost::alloc::string::String, - /// Required. The issue month to retrieve invoices. + /// Required. The issue month to retrieve invoices. #[prost(enumeration="super::enums::month_of_year_enum::MonthOfYear", tag="4")] pub issue_month: i32, } -/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v9.services.InvoiceService.ListInvoices\]. +/// Response message for \[InvoiceService.ListInvoices][google.ads.googleads.v9.services.InvoiceService.ListInvoices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInvoicesResponse { - /// The list of invoices that match the billing setup and time period. + /// The list of invoices that match the billing setup and time period. #[prost(message, repeated, tag="1")] pub invoices: ::prost::alloc::vec::Vec, } @@ -24587,140 +24587,140 @@ pub mod invoice_service_client { } } } -/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v9.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Request message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v9.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeasRequest { - /// The ID of the customer with the recommendation. + /// The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The resource name of the language to target. - /// Required + /// The resource name of the language to target. + /// Required #[prost(string, optional, tag="14")] pub language: ::core::option::Option<::prost::alloc::string::String>, - /// The resource names of the location to target. - /// Max 10 + /// The resource names of the location to target. + /// Max 10 #[prost(string, repeated, tag="15")] pub geo_target_constants: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, adult keywords will be included in response. - /// The default value is false. + /// If true, adult keywords will be included in response. + /// The default value is false. #[prost(bool, tag="10")] pub include_adult_keywords: bool, - /// Token of the page to retrieve. If not specified, the first - /// page of results will be returned. To request next page of results use the - /// value obtained from `next_page_token` in the previous response. - /// The request fields must match across pages. + /// Token of the page to retrieve. If not specified, the first + /// page of results will be returned. To request next page of results use the + /// value obtained from `next_page_token` in the previous response. + /// The request fields must match across pages. #[prost(string, tag="12")] pub page_token: ::prost::alloc::string::String, - /// Number of results to retrieve in a single page. - /// A maximum of 10,000 results may be returned, if the page_size - /// exceeds this, it is ignored. - /// If unspecified, at most 10,000 results will be returned. - /// The server may decide to further limit the number of returned resources. - /// If the response contains fewer than 10,000 results it may not be assumed - /// as last page of results. + /// Number of results to retrieve in a single page. + /// A maximum of 10,000 results may be returned, if the page_size + /// exceeds this, it is ignored. + /// If unspecified, at most 10,000 results will be returned. + /// The server may decide to further limit the number of returned resources. + /// If the response contains fewer than 10,000 results it may not be assumed + /// as last page of results. #[prost(int32, tag="13")] pub page_size: i32, - /// Targeting network. + /// Targeting network. #[prost(enumeration="super::enums::keyword_plan_network_enum::KeywordPlanNetwork", tag="9")] pub keyword_plan_network: i32, - /// The keyword annotations to include in response. + /// The keyword annotations to include in response. #[prost(enumeration="super::enums::keyword_plan_keyword_annotation_enum::KeywordPlanKeywordAnnotation", repeated, tag="17")] pub keyword_annotation: ::prost::alloc::vec::Vec, - /// The aggregate fields to include in response. + /// The aggregate fields to include in response. #[prost(message, optional, tag="16")] pub aggregate_metrics: ::core::option::Option, - /// The options for historical metrics data. + /// The options for historical metrics data. #[prost(message, optional, tag="18")] pub historical_metrics_options: ::core::option::Option, - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[prost(oneof="generate_keyword_ideas_request::Seed", tags="2, 3, 5, 11")] pub seed: ::core::option::Option, } /// Nested message and enum types in `GenerateKeywordIdeasRequest`. pub mod generate_keyword_ideas_request { - /// The type of seed to generate keyword ideas. + /// The type of seed to generate keyword ideas. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Seed { - /// A Keyword and a specific Url to generate ideas from - /// e.g. cars, www.example.com/cars. + /// A Keyword and a specific Url to generate ideas from + /// e.g. cars, www.example.com/cars. #[prost(message, tag="2")] KeywordAndUrlSeed(super::KeywordAndUrlSeed), - /// A Keyword or phrase to generate ideas from, e.g. cars. + /// A Keyword or phrase to generate ideas from, e.g. cars. #[prost(message, tag="3")] KeywordSeed(super::KeywordSeed), - /// A specific url to generate ideas from, e.g. www.example.com/cars. + /// A specific url to generate ideas from, e.g. www.example.com/cars. #[prost(message, tag="5")] UrlSeed(super::UrlSeed), - /// The site to generate ideas from, e.g. www.example.com. + /// The site to generate ideas from, e.g. www.example.com. #[prost(message, tag="11")] SiteSeed(super::SiteSeed), } } -/// Keyword And Url Seed +/// Keyword And Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordAndUrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="3")] pub url: ::core::option::Option<::prost::alloc::string::String>, - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="4")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Keyword Seed +/// Keyword Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordSeed { - /// Requires at least one keyword. + /// Requires at least one keyword. #[prost(string, repeated, tag="2")] pub keywords: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Site Seed +/// Site Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct SiteSeed { - /// The domain name of the site. If the customer requesting the ideas doesn't - /// own the site provided only public information is returned. + /// The domain name of the site. If the customer requesting the ideas doesn't + /// own the site provided only public information is returned. #[prost(string, optional, tag="2")] pub site: ::core::option::Option<::prost::alloc::string::String>, } -/// Url Seed +/// Url Seed #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlSeed { - /// The URL to crawl in order to generate keyword ideas. + /// The URL to crawl in order to generate keyword ideas. #[prost(string, optional, tag="2")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v9.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. +/// Response message for \[KeywordPlanIdeaService.GenerateKeywordIdeas][google.ads.googleads.v9.services.KeywordPlanIdeaService.GenerateKeywordIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResponse { - /// Results of generating keyword ideas. + /// Results of generating keyword ideas. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// The aggregate metrics for all keyword ideas. + /// The aggregate metrics for all keyword ideas. #[prost(message, optional, tag="4")] pub aggregate_metric_results: ::core::option::Option, - /// Pagination token used to retrieve the next page of results. - /// Pass the content of this string as the `page_token` attribute of - /// the next request. - /// `next_page_token` is not returned for the last page. + /// Pagination token used to retrieve the next page of results. + /// Pass the content of this string as the `page_token` attribute of + /// the next request. + /// `next_page_token` is not returned for the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of results available. + /// Total number of results available. #[prost(int64, tag="3")] pub total_size: i64, } -/// The result of generating keyword ideas. +/// The result of generating keyword ideas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateKeywordIdeaResult { - /// Text of the keyword idea. - /// As in Keyword Plan historical metrics, this text may not be an actual - /// keyword, but the canonical form of multiple keywords. - /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. + /// Text of the keyword idea. + /// As in Keyword Plan historical metrics, this text may not be an actual + /// keyword, but the canonical form of multiple keywords. + /// See KeywordPlanKeywordHistoricalMetrics message in KeywordPlanService. #[prost(string, optional, tag="5")] pub text: ::core::option::Option<::prost::alloc::string::String>, - /// The historical metrics for the keyword. + /// The historical metrics for the keyword. #[prost(message, optional, tag="3")] pub keyword_idea_metrics: ::core::option::Option, - /// The annotations for the keyword. - /// The annotation data is only provided if requested. + /// The annotations for the keyword. + /// The annotation data is only provided if requested. #[prost(message, optional, tag="6")] pub keyword_annotations: ::core::option::Option, } @@ -24828,35 +24828,35 @@ pub mod keyword_plan_idea_service_client { } } } -/// Request message for \[KeywordThemeConstantService.GetKeywordThemeConstant][google.ads.googleads.v9.services.KeywordThemeConstantService.GetKeywordThemeConstant\]. +/// Request message for \[KeywordThemeConstantService.GetKeywordThemeConstant][google.ads.googleads.v9.services.KeywordThemeConstantService.GetKeywordThemeConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordThemeConstantRequest { - /// Required. The resource name of the keyword theme constant to fetch. + /// Required. The resource name of the keyword theme constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v9.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Request message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v9.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsRequest { - /// The query text of a keyword theme that will be used to map to similar - /// keyword themes. E.g. "plumber" or "roofer". + /// The query text of a keyword theme that will be used to map to similar + /// keyword themes. E.g. "plumber" or "roofer". #[prost(string, tag="1")] pub query_text: ::prost::alloc::string::String, - /// Upper-case, two-letter country code as defined by ISO-3166. This for - /// refining the scope of the query, default to 'US' if not set. + /// Upper-case, two-letter country code as defined by ISO-3166. This for + /// refining the scope of the query, default to 'US' if not set. #[prost(string, tag="2")] pub country_code: ::prost::alloc::string::String, - /// The two letter language code for get corresponding keyword theme for - /// refining the scope of the query, default to 'en' if not set. + /// The two letter language code for get corresponding keyword theme for + /// refining the scope of the query, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// Response message for -/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v9.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. +/// Response message for +/// \[KeywordThemeConstantService.SuggestKeywordThemeConstants][google.ads.googleads.v9.services.KeywordThemeConstantService.SuggestKeywordThemeConstants\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemeConstantsResponse { - /// Smart Campaign keyword theme suggestions. + /// Smart Campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_theme_constants: ::prost::alloc::vec::Vec, } @@ -24988,10 +24988,10 @@ pub mod keyword_theme_constant_service_client { } } } -/// Request message for \[KeywordViewService.GetKeywordView][google.ads.googleads.v9.services.KeywordViewService.GetKeywordView\]. +/// Request message for \[KeywordViewService.GetKeywordView][google.ads.googleads.v9.services.KeywordViewService.GetKeywordView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeywordViewRequest { - /// Required. The resource name of the keyword view to fetch. + /// Required. The resource name of the keyword view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25098,10 +25098,10 @@ pub mod keyword_view_service_client { } } } -/// Request message for \[LandingPageViewService.GetLandingPageView][google.ads.googleads.v9.services.LandingPageViewService.GetLandingPageView\]. +/// Request message for \[LandingPageViewService.GetLandingPageView][google.ads.googleads.v9.services.LandingPageViewService.GetLandingPageView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLandingPageViewRequest { - /// Required. The resource name of the landing page view to fetch. + /// Required. The resource name of the landing page view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25210,10 +25210,10 @@ pub mod landing_page_view_service_client { } } } -/// Request message for \[LanguageConstantService.GetLanguageConstant][google.ads.googleads.v9.services.LanguageConstantService.GetLanguageConstant\]. +/// Request message for \[LanguageConstantService.GetLanguageConstant][google.ads.googleads.v9.services.LanguageConstantService.GetLanguageConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLanguageConstantRequest { - /// Required. Resource name of the language constant to fetch. + /// Required. Resource name of the language constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25322,10 +25322,10 @@ pub mod language_constant_service_client { } } } -/// Request message for \[LifeEventService.GetLifeEvent][google.ads.googleads.v9.services.LifeEventService.GetLifeEvent\]. +/// Request message for \[LifeEventService.GetLifeEvent][google.ads.googleads.v9.services.LifeEventService.GetLifeEvent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLifeEventRequest { - /// Required. Resource name of the LifeEvent to fetch. + /// Required. Resource name of the LifeEvent to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25421,10 +25421,10 @@ pub mod life_event_service_client { } } } -/// Request message for \[LocationViewService.GetLocationView][google.ads.googleads.v9.services.LocationViewService.GetLocationView\]. +/// Request message for \[LocationViewService.GetLocationView][google.ads.googleads.v9.services.LocationViewService.GetLocationView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLocationViewRequest { - /// Required. The resource name of the location view to fetch. + /// Required. The resource name of the location view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25531,10 +25531,10 @@ pub mod location_view_service_client { } } } -/// Request message for \[ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v9.services.ManagedPlacementViewService.GetManagedPlacementView\]. +/// Request message for \[ManagedPlacementViewService.GetManagedPlacementView][google.ads.googleads.v9.services.ManagedPlacementViewService.GetManagedPlacementView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetManagedPlacementViewRequest { - /// Required. The resource name of the Managed Placement View to fetch. + /// Required. The resource name of the Managed Placement View to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25643,80 +25643,80 @@ pub mod managed_placement_view_service_client { } } } -/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v9.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Request message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v9.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksRequest { - /// Required. The ID of the customer onto which to apply the Merchant Center link list - /// operation. + /// Required. The ID of the customer onto which to apply the Merchant Center link list + /// operation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v9.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. +/// Response message for \[MerchantCenterLinkService.ListMerchantCenterLinks][google.ads.googleads.v9.services.MerchantCenterLinkService.ListMerchantCenterLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMerchantCenterLinksResponse { - /// Merchant Center links available for the requested customer + /// Merchant Center links available for the requested customer #[prost(message, repeated, tag="1")] pub merchant_center_links: ::prost::alloc::vec::Vec, } -/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v9.services.MerchantCenterLinkService.GetMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.GetMerchantCenterLink][google.ads.googleads.v9.services.MerchantCenterLinkService.GetMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMerchantCenterLinkRequest { - /// Required. Resource name of the Merchant Center link. + /// Required. Resource name of the Merchant Center link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v9.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. +/// Request message for \[MerchantCenterLinkService.MutateMerchantCenterLink][google.ads.googleads.v9.services.MerchantCenterLinkService.MutateMerchantCenterLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkRequest { - /// Required. The ID of the customer being modified. + /// Required. The ID of the customer being modified. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The operation to perform on the link + /// Required. The operation to perform on the link #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A single update on a Merchant Center link. +/// A single update on a Merchant Center link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MerchantCenterLinkOperation { - /// FieldMask that determines which resource fields are modified in an update. + /// FieldMask that determines which resource fields are modified in an update. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The operation to perform + /// The operation to perform #[prost(oneof="merchant_center_link_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `MerchantCenterLinkOperation`. pub mod merchant_center_link_operation { - /// The operation to perform + /// The operation to perform #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Update operation: The merchant center link is expected to have a valid - /// resource name. + /// Update operation: The merchant center link is expected to have a valid + /// resource name. #[prost(message, tag="1")] Update(super::super::resources::MerchantCenterLink), - /// Remove operation: A resource name for the removed merchant center link is - /// expected, in this format: + /// Remove operation: A resource name for the removed merchant center link is + /// expected, in this format: /// - /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` + /// `customers/{customer_id}/merchantCenterLinks/{merchant_center_id}` #[prost(string, tag="2")] Remove(::prost::alloc::string::String), } } -/// Response message for Merchant Center link mutate. +/// Response message for Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResponse { - /// Result for the mutate. + /// Result for the mutate. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// The result for the Merchant Center link mutate. +/// The result for the Merchant Center link mutate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateMerchantCenterLinkResult { - /// Returned for successful operations. + /// Returned for successful operations. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -25889,11 +25889,11 @@ pub mod merchant_center_link_service_client { } } } -/// Request message for -/// \[MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v9.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant\]. +/// Request message for +/// \[MobileAppCategoryConstantService.GetMobileAppCategoryConstant][google.ads.googleads.v9.services.MobileAppCategoryConstantService.GetMobileAppCategoryConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMobileAppCategoryConstantRequest { - /// Required. Resource name of the mobile app category constant to fetch. + /// Required. Resource name of the mobile app category constant to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -26002,10 +26002,10 @@ pub mod mobile_app_category_constant_service_client { } } } -/// Request message for \[MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v9.services.MobileDeviceConstantService.GetMobileDeviceConstant\]. +/// Request message for \[MobileDeviceConstantService.GetMobileDeviceConstant][google.ads.googleads.v9.services.MobileDeviceConstantService.GetMobileDeviceConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMobileDeviceConstantRequest { - /// Required. Resource name of the mobile device to fetch. + /// Required. Resource name of the mobile device to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -26114,112 +26114,112 @@ pub mod mobile_device_constant_service_client { } } } -/// Request message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Request message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobRequest { - /// Required. The ID of the customer for which to create an offline user data job. + /// Required. The ID of the customer for which to create an offline user data job. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The offline user data job to be created. + /// Required. The offline user data job to be created. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="3")] pub validate_only: bool, - /// If true, match rate range for the offline user data job is calculated and - /// made available in the resource. + /// If true, match rate range for the offline user data job is calculated and + /// made available in the resource. #[prost(bool, tag="5")] pub enable_match_rate_range_preview: bool, } -/// Response message for -/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. +/// Response message for +/// \[OfflineUserDataJobService.CreateOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.CreateOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateOfflineUserDataJobResponse { - /// The resource name of the OfflineUserDataJob. + /// The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[OfflineUserDataJobService.GetOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.GetOfflineUserDataJob\]. +/// Request message for \[OfflineUserDataJobService.GetOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.GetOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetOfflineUserDataJobRequest { - /// Required. The resource name of the OfflineUserDataJob to get. + /// Required. The resource name of the OfflineUserDataJob to get. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. +/// Request message for \[OfflineUserDataJobService.RunOfflineUserDataJob][google.ads.googleads.v9.services.OfflineUserDataJobService.RunOfflineUserDataJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunOfflineUserDataJobRequest { - /// Required. The resource name of the OfflineUserDataJob to run. + /// Required. The resource name of the OfflineUserDataJob to run. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="2")] pub validate_only: bool, } -/// Request message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v9.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Request message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v9.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsRequest { - /// Required. The resource name of the OfflineUserDataJob. + /// Required. The resource name of the OfflineUserDataJob. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// True to enable partial failure for the offline user data job. + /// True to enable partial failure for the offline user data job. #[prost(bool, optional, tag="4")] pub enable_partial_failure: ::core::option::Option, - /// True to enable warnings for the offline user data job. When enabled, a - /// warning will not block the OfflineUserDataJobOperation, and will also - /// return warning messages about malformed field values. + /// True to enable warnings for the offline user data job. When enabled, a + /// warning will not block the OfflineUserDataJobOperation, and will also + /// return warning messages about malformed field values. #[prost(bool, optional, tag="6")] pub enable_warnings: ::core::option::Option, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, the request is validated but not executed. Only errors are - /// returned, not results. + /// If true, the request is validated but not executed. Only errors are + /// returned, not results. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. +/// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OfflineUserDataJobOperation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[prost(oneof="offline_user_data_job_operation::Operation", tags="1, 2, 3")] pub operation: ::core::option::Option, } /// Nested message and enum types in `OfflineUserDataJobOperation`. pub mod offline_user_data_job_operation { - /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. + /// Operation to be made for the AddOfflineUserDataJobOperationsRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// Add the provided data to the transaction. Data cannot be retrieved after - /// being uploaded. + /// Add the provided data to the transaction. Data cannot be retrieved after + /// being uploaded. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// Remove the provided data from the transaction. Data cannot be retrieved - /// after being uploaded. + /// Remove the provided data from the transaction. Data cannot be retrieved + /// after being uploaded. #[prost(message, tag="2")] Remove(super::super::common::UserData), - /// Remove all previously provided data. This is only supported for Customer - /// Match. + /// Remove all previously provided data. This is only supported for Customer + /// Match. #[prost(bool, tag="3")] RemoveAll(bool), } } -/// Response message for -/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v9.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. +/// Response message for +/// \[OfflineUserDataJobService.AddOfflineUserDataJobOperations][google.ads.googleads.v9.services.OfflineUserDataJobService.AddOfflineUserDataJobOperations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOfflineUserDataJobOperationsResponse { - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors), - /// we return an RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors), + /// we return an RPC level error. #[prost(message, optional, tag="1")] pub partial_failure_error: ::core::option::Option, - /// Non blocking errors that pertain to operation failures in the warnings - /// mode. Returned only when enable_warnings = true. + /// Non blocking errors that pertain to operation failures in the warnings + /// mode. Returned only when enable_warnings = true. #[prost(message, optional, tag="2")] pub warning: ::core::option::Option, } @@ -26436,11 +26436,11 @@ pub mod offline_user_data_job_service_client { } } } -/// Request message for -/// \[OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v9.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant\]. +/// Request message for +/// \[OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant][google.ads.googleads.v9.services.OperatingSystemVersionConstantService.GetOperatingSystemVersionConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetOperatingSystemVersionConstantRequest { - /// Required. Resource name of the OS version to fetch. + /// Required. Resource name of the OS version to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -26551,11 +26551,11 @@ pub mod operating_system_version_constant_service_client { } } } -/// Request message for -/// \[PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView][google.ads.googleads.v9.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView\]. +/// Request message for +/// \[PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView][google.ads.googleads.v9.services.PaidOrganicSearchTermViewService.GetPaidOrganicSearchTermView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPaidOrganicSearchTermViewRequest { - /// Required. The resource name of the paid organic search term view to fetch. + /// Required. The resource name of the paid organic search term view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -26664,10 +26664,10 @@ pub mod paid_organic_search_term_view_service_client { } } } -/// Request message for \[ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v9.services.ParentalStatusViewService.GetParentalStatusView\]. +/// Request message for \[ParentalStatusViewService.GetParentalStatusView][google.ads.googleads.v9.services.ParentalStatusViewService.GetParentalStatusView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetParentalStatusViewRequest { - /// Required. The resource name of the parental status view to fetch. + /// Required. The resource name of the parental status view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -26776,17 +26776,17 @@ pub mod parental_status_view_service_client { } } } -/// Request message for fetching all accessible payments accounts. +/// Request message for fetching all accessible payments accounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsRequest { - /// Required. The ID of the customer to apply the PaymentsAccount list operation to. + /// Required. The ID of the customer to apply the PaymentsAccount list operation to. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v9.services.PaymentsAccountService.ListPaymentsAccounts\]. +/// Response message for \[PaymentsAccountService.ListPaymentsAccounts][google.ads.googleads.v9.services.PaymentsAccountService.ListPaymentsAccounts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPaymentsAccountsResponse { - /// The list of accessible payments accounts. + /// The list of accessible payments accounts. #[prost(message, repeated, tag="1")] pub payments_accounts: ::prost::alloc::vec::Vec, } @@ -26899,11 +26899,11 @@ pub mod payments_account_service_client { } } } -/// Request message for -/// \[ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant][google.ads.googleads.v9.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant\]. +/// Request message for +/// \[ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant][google.ads.googleads.v9.services.ProductBiddingCategoryConstantService.GetProductBiddingCategoryConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetProductBiddingCategoryConstantRequest { - /// Required. Resource name of the Product Bidding Category to fetch. + /// Required. Resource name of the Product Bidding Category to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -27014,10 +27014,10 @@ pub mod product_bidding_category_constant_service_client { } } } -/// Request message for \[ProductGroupViewService.GetProductGroupView][google.ads.googleads.v9.services.ProductGroupViewService.GetProductGroupView\]. +/// Request message for \[ProductGroupViewService.GetProductGroupView][google.ads.googleads.v9.services.ProductGroupViewService.GetProductGroupView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetProductGroupViewRequest { - /// Required. The resource name of the product group view to fetch. + /// Required. The resource name of the product group view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -27126,472 +27126,472 @@ pub mod product_group_view_service_client { } } } -/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. +/// Request message for \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsRequest { } -/// The list of plannable locations. +/// The list of plannable locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableLocationsResponse { - /// The list of locations available for planning (Countries, DMAs, - /// sub-countries). - /// For locations like Countries and DMAs see - /// for - /// more information. + /// The list of locations available for planning (Countries, DMAs, + /// sub-countries). + /// For locations like Countries and DMAs see + /// for + /// more information. #[prost(message, repeated, tag="1")] pub plannable_locations: ::prost::alloc::vec::Vec, } -/// A plannable location: a country, a DMA, a metro region, a tv region, -/// a province. +/// A plannable location: a country, a DMA, a metro region, a tv region, +/// a province. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableLocation { - /// The location identifier. + /// The location identifier. #[prost(string, optional, tag="4")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// The unique location name in english. + /// The unique location name in english. #[prost(string, optional, tag="5")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The parent country, not present if location is a country. - /// If present will always be a GeoTargetConstant ID. Additional information, - /// such as country name is provided by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\] or directly by accessing - /// \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. + /// The parent country, not present if location is a country. + /// If present will always be a GeoTargetConstant ID. Additional information, + /// such as country name is provided by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\] or directly by accessing + /// \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. #[prost(int64, optional, tag="6")] pub parent_country_id: ::core::option::Option, - /// The ISO-3166-1 alpha-2 country code that is associated with the location. + /// The ISO-3166-1 alpha-2 country code that is associated with the location. #[prost(string, optional, tag="7")] pub country_code: ::core::option::Option<::prost::alloc::string::String>, - /// The location's type. Location types correspond to target_type returned by - /// \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. + /// The location's type. Location types correspond to target_type returned by + /// \[GeoTargetConstantService.GetGeoTargetConstant][google.ads.googleads.v9.services.GeoTargetConstantService.GetGeoTargetConstant\]. #[prost(string, optional, tag="8")] pub location_type: ::core::option::Option<::prost::alloc::string::String>, } -/// Request to list available products in a given location. +/// Request to list available products in a given location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsRequest { - /// Required. The ID of the selected location for planning. To list the available - /// plannable location ids use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location for planning. To list the available + /// plannable location ids use \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="2")] pub plannable_location_id: ::prost::alloc::string::String, } -/// A response with all available products. +/// A response with all available products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPlannableProductsResponse { - /// The list of products available for planning and related targeting metadata. + /// The list of products available for planning and related targeting metadata. #[prost(message, repeated, tag="1")] pub product_metadata: ::prost::alloc::vec::Vec, } -/// The metadata associated with an available plannable product. +/// The metadata associated with an available plannable product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductMetadata { - /// The code associated with the ad product. E.g. BUMPER, TRUEVIEW_IN_STREAM - /// To list the available plannable product codes use ListPlannableProducts. + /// The code associated with the ad product. E.g. BUMPER, TRUEVIEW_IN_STREAM + /// To list the available plannable product codes use ListPlannableProducts. #[prost(string, optional, tag="4")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The name associated with the ad product. + /// The name associated with the ad product. #[prost(string, tag="3")] pub plannable_product_name: ::prost::alloc::string::String, - /// The allowed plannable targeting for this product. + /// The allowed plannable targeting for this product. #[prost(message, optional, tag="2")] pub plannable_targeting: ::core::option::Option, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannableTargeting { - /// Allowed plannable age ranges for the product for which metrics will be - /// reported. Actual targeting is computed by mapping this age range onto - /// standard Google common.AgeRangeInfo values. + /// Allowed plannable age ranges for the product for which metrics will be + /// reported. Actual targeting is computed by mapping this age range onto + /// standard Google common.AgeRangeInfo values. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", repeated, tag="1")] pub age_ranges: ::prost::alloc::vec::Vec, - /// Targetable genders for the ad product. + /// Targetable genders for the ad product. #[prost(message, repeated, tag="2")] pub genders: ::prost::alloc::vec::Vec, - /// Targetable devices for the ad product. - /// TABLET device targeting is automatically applied to reported metrics - /// when MOBILE targeting is selected for CPM_MASTHEAD, - /// GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products. + /// Targetable devices for the ad product. + /// TABLET device targeting is automatically applied to reported metrics + /// when MOBILE targeting is selected for CPM_MASTHEAD, + /// GOOGLE_PREFERRED_BUMPER and GOOGLE_PREFERRED_SHORT products. #[prost(message, repeated, tag="3")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable networks for the ad product. + /// Targetable networks for the ad product. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", repeated, tag="4")] pub networks: ::prost::alloc::vec::Vec, } -/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v9.services.ReachPlanService.GenerateProductMixIdeas\]. +/// Request message for \[ReachPlanService.GenerateProductMixIdeas][google.ads.googleads.v9.services.ReachPlanService.GenerateProductMixIdeas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The ID of the location, this is one of the ids returned by - /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the location, this is one of the ids returned by + /// \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, tag="6")] pub plannable_location_id: ::prost::alloc::string::String, - /// Required. Currency code. - /// Three-character ISO 4217 currency code. + /// Required. Currency code. + /// Three-character ISO 4217 currency code. #[prost(string, tag="7")] pub currency_code: ::prost::alloc::string::String, - /// Required. Total budget. - /// Amount in micros. One million is equivalent to one unit. + /// Required. Total budget. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, tag="8")] pub budget_micros: i64, - /// The preferences of the suggested product mix. - /// An unset preference is interpreted as all possible values are allowed, - /// unless explicitly specified. + /// The preferences of the suggested product mix. + /// An unset preference is interpreted as all possible values are allowed, + /// unless explicitly specified. #[prost(message, optional, tag="5")] pub preferences: ::core::option::Option, } -/// Set of preferences about the planned mix. +/// Set of preferences about the planned mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Preferences { - /// True if ad skippable. - /// If not set, default is any value. + /// True if ad skippable. + /// If not set, default is any value. #[prost(bool, optional, tag="6")] pub is_skippable: ::core::option::Option, - /// True if ad start with sound. - /// If not set, default is any value. + /// True if ad start with sound. + /// If not set, default is any value. #[prost(bool, optional, tag="7")] pub starts_with_sound: ::core::option::Option, - /// The length of the ad. - /// If not set, default is any value. + /// The length of the ad. + /// If not set, default is any value. #[prost(enumeration="super::enums::reach_plan_ad_length_enum::ReachPlanAdLength", tag="3")] pub ad_length: i32, - /// True if ad will only show on the top content. - /// If not set, default is false. + /// True if ad will only show on the top content. + /// If not set, default is false. #[prost(bool, optional, tag="8")] pub top_content_only: ::core::option::Option, - /// True if the price guaranteed. The cost of serving the ad is agreed upfront - /// and not subject to an auction. - /// If not set, default is any value. + /// True if the price guaranteed. The cost of serving the ad is agreed upfront + /// and not subject to an auction. + /// If not set, default is any value. #[prost(bool, optional, tag="9")] pub has_guaranteed_price: ::core::option::Option, } -/// The suggested product mix. +/// The suggested product mix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateProductMixIdeasResponse { - /// A list of products (ad formats) and the associated budget allocation idea. + /// A list of products (ad formats) and the associated budget allocation idea. #[prost(message, repeated, tag="1")] pub product_allocation: ::prost::alloc::vec::Vec, } -/// An allocation of a part of the budget on a given product. +/// An allocation of a part of the budget on a given product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProductAllocation { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// The value to be allocated for the suggested product in requested currency. - /// Amount in micros. One million is equivalent to one unit. + /// The value to be allocated for the suggested product in requested currency. + /// Amount in micros. One million is equivalent to one unit. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, } -/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v9.services.ReachPlanService.GenerateReachForecast\]. +/// Request message for \[ReachPlanService.GenerateReachForecast][google.ads.googleads.v9.services.ReachPlanService.GenerateReachForecast\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The currency code. - /// Three-character ISO 4217 currency code. + /// The currency code. + /// Three-character ISO 4217 currency code. #[prost(string, optional, tag="9")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Campaign duration. + /// Required. Campaign duration. #[prost(message, optional, tag="3")] pub campaign_duration: ::core::option::Option, - /// Desired cookie frequency cap that will be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user. - /// If not specified no cap is applied. + /// Desired cookie frequency cap that will be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user. + /// If not specified no cap is applied. /// - /// This field is deprecated in v4 and will eventually be removed. - /// Please use cookie_frequency_cap_setting instead. + /// This field is deprecated in v4 and will eventually be removed. + /// Please use cookie_frequency_cap_setting instead. #[prost(int32, optional, tag="10")] pub cookie_frequency_cap: ::core::option::Option, - /// Desired cookie frequency cap that will be applied to each planned product. - /// This is equivalent to the frequency cap exposed in Google Ads when creating - /// a campaign, it represents the maximum number of times an ad can be shown to - /// the same user during a specified time interval. - /// If not specified, a default of 0 (no cap) is applied. + /// Desired cookie frequency cap that will be applied to each planned product. + /// This is equivalent to the frequency cap exposed in Google Ads when creating + /// a campaign, it represents the maximum number of times an ad can be shown to + /// the same user during a specified time interval. + /// If not specified, a default of 0 (no cap) is applied. /// - /// This field replaces the deprecated cookie_frequency_cap field. + /// This field replaces the deprecated cookie_frequency_cap field. #[prost(message, optional, tag="8")] pub cookie_frequency_cap_setting: ::core::option::Option, - /// Desired minimum effective frequency (the number of times a person was - /// exposed to the ad) for the reported reach metrics \[1-10\]. - /// This won't affect the targeting, but just the reporting. - /// If not specified, a default of 1 is applied. + /// Desired minimum effective frequency (the number of times a person was + /// exposed to the ad) for the reported reach metrics \[1-10\]. + /// This won't affect the targeting, but just the reporting. + /// If not specified, a default of 1 is applied. /// - /// This field cannot be combined with the effective_frequency_limit field. + /// This field cannot be combined with the effective_frequency_limit field. #[prost(int32, optional, tag="11")] pub min_effective_frequency: ::core::option::Option, - /// The highest minimum effective frequency (the number of times a person was - /// exposed to the ad) value \[1-10\] to include in - /// Forecast.effective_frequency_breakdowns. - /// If not specified, Forecast.effective_frequency_breakdowns will not be - /// provided. + /// The highest minimum effective frequency (the number of times a person was + /// exposed to the ad) value \[1-10\] to include in + /// Forecast.effective_frequency_breakdowns. + /// If not specified, Forecast.effective_frequency_breakdowns will not be + /// provided. /// - /// The effective frequency value provided here will also be used as the - /// minimum effective frequency for the reported reach metrics. + /// The effective frequency value provided here will also be used as the + /// minimum effective frequency for the reported reach metrics. /// - /// This field cannot be combined with the min_effective_frequency field. + /// This field cannot be combined with the min_effective_frequency field. #[prost(message, optional, tag="12")] pub effective_frequency_limit: ::core::option::Option, - /// The targeting to be applied to all products selected in the product mix. + /// The targeting to be applied to all products selected in the product mix. /// - /// This is planned targeting: execution details might vary based on the - /// advertising product, please consult an implementation specialist. + /// This is planned targeting: execution details might vary based on the + /// advertising product, please consult an implementation specialist. /// - /// See specific metrics for details on how targeting affects them. + /// See specific metrics for details on how targeting affects them. #[prost(message, optional, tag="6")] pub targeting: ::core::option::Option, - /// Required. The products to be forecast. - /// The max number of allowed planned products is 15. + /// Required. The products to be forecast. + /// The max number of allowed planned products is 15. #[prost(message, repeated, tag="7")] pub planned_products: ::prost::alloc::vec::Vec, } -/// Effective frequency limit. +/// Effective frequency limit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyLimit { - /// The highest effective frequency value to include in - /// Forecast.effective_frequency_breakdowns. - /// This field supports frequencies 1-10, inclusive. + /// The highest effective frequency value to include in + /// Forecast.effective_frequency_breakdowns. + /// This field supports frequencies 1-10, inclusive. #[prost(int32, tag="1")] pub effective_frequency_breakdown_limit: i32, } -/// A rule specifying the maximum number of times an ad can be shown to a user -/// over a particular time period. +/// A rule specifying the maximum number of times an ad can be shown to a user +/// over a particular time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FrequencyCap { - /// Required. The number of impressions, inclusive. + /// Required. The number of impressions, inclusive. #[prost(int32, tag="3")] pub impressions: i32, - /// Required. The type of time unit. + /// Required. The type of time unit. #[prost(enumeration="super::enums::frequency_cap_time_unit_enum::FrequencyCapTimeUnit", tag="2")] pub time_unit: i32, } -/// The targeting for which traffic metrics will be reported. +/// The targeting for which traffic metrics will be reported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Targeting { - /// Required. The ID of the selected location. Plannable location IDs can be - /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. + /// Required. The ID of the selected location. Plannable location IDs can be + /// obtained from \[ReachPlanService.ListPlannableLocations][google.ads.googleads.v9.services.ReachPlanService.ListPlannableLocations\]. #[prost(string, optional, tag="6")] pub plannable_location_id: ::core::option::Option<::prost::alloc::string::String>, - /// Targeted age range. - /// An unset value is equivalent to targeting all ages. + /// Targeted age range. + /// An unset value is equivalent to targeting all ages. #[prost(enumeration="super::enums::reach_plan_age_range_enum::ReachPlanAgeRange", tag="2")] pub age_range: i32, - /// Targeted genders. - /// An unset value is equivalent to targeting MALE and FEMALE. + /// Targeted genders. + /// An unset value is equivalent to targeting MALE and FEMALE. #[prost(message, repeated, tag="3")] pub genders: ::prost::alloc::vec::Vec, - /// Targeted devices. - /// If not specified, targets all applicable devices. Applicable devices vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. + /// Targeted devices. + /// If not specified, targets all applicable devices. Applicable devices vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. #[prost(message, repeated, tag="4")] pub devices: ::prost::alloc::vec::Vec, - /// Targetable network for the ad product. - /// If not specified, targets all applicable networks. Applicable networks vary - /// by product and region and can be obtained from - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. + /// Targetable network for the ad product. + /// If not specified, targets all applicable networks. Applicable networks vary + /// by product and region and can be obtained from + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. #[prost(enumeration="super::enums::reach_plan_network_enum::ReachPlanNetwork", tag="5")] pub network: i32, } -/// The duration of a planned campaign. +/// The duration of a planned campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignDuration { - /// The duration value in days. + /// The duration value in days. /// - /// This field cannot be combined with the date_range field. + /// This field cannot be combined with the date_range field. #[prost(int32, optional, tag="2")] pub duration_in_days: ::core::option::Option, - /// Date range of the campaign. - /// Dates are in the yyyy-mm-dd format and inclusive. - /// The end date must be < 1 year in the future and the - /// date range must be <= 92 days long. + /// Date range of the campaign. + /// Dates are in the yyyy-mm-dd format and inclusive. + /// The end date must be < 1 year in the future and the + /// date range must be <= 92 days long. /// - /// This field cannot be combined with the duration_in_days field. + /// This field cannot be combined with the duration_in_days field. #[prost(message, optional, tag="3")] pub date_range: ::core::option::Option, } -/// A product being planned for reach. +/// A product being planned for reach. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProduct { - /// Required. Selected product for planning. - /// The code associated with the ad product. E.g. Trueview, Bumper - /// To list the available plannable product codes use - /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. + /// Required. Selected product for planning. + /// The code associated with the ad product. E.g. Trueview, Bumper + /// To list the available plannable product codes use + /// \[ReachPlanService.ListPlannableProducts][google.ads.googleads.v9.services.ReachPlanService.ListPlannableProducts\]. #[prost(string, optional, tag="3")] pub plannable_product_code: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Maximum budget allocation in micros for the selected product. - /// The value is specified in the selected planning currency_code. - /// E.g. 1 000 000$ = 1 000 000 000 000 micros. + /// Required. Maximum budget allocation in micros for the selected product. + /// The value is specified in the selected planning currency_code. + /// E.g. 1 000 000$ = 1 000 000 000 000 micros. #[prost(int64, optional, tag="4")] pub budget_micros: ::core::option::Option, } -/// Response message containing the generated reach curve. +/// Response message containing the generated reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateReachForecastResponse { - /// Reference on target audiences for this curve. + /// Reference on target audiences for this curve. #[prost(message, optional, tag="1")] pub on_target_audience_metrics: ::core::option::Option, - /// The generated reach curve for the planned product mix. + /// The generated reach curve for the planned product mix. #[prost(message, optional, tag="2")] pub reach_curve: ::core::option::Option, } -/// The reach curve for the planned products. +/// The reach curve for the planned products. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachCurve { - /// All points on the reach curve. + /// All points on the reach curve. #[prost(message, repeated, tag="1")] pub reach_forecasts: ::prost::alloc::vec::Vec, } -/// A point on reach curve. +/// A point on reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReachForecast { - /// The cost in micros. + /// The cost in micros. #[prost(int64, tag="5")] pub cost_micros: i64, - /// Forecasted traffic metrics for this point. + /// Forecasted traffic metrics for this point. #[prost(message, optional, tag="2")] pub forecast: ::core::option::Option, - /// The forecasted allocation and traffic metrics for each planned product - /// at this point on the reach curve. + /// The forecasted allocation and traffic metrics for each planned product + /// at this point on the reach curve. #[prost(message, repeated, tag="4")] pub planned_product_reach_forecasts: ::prost::alloc::vec::Vec, } -/// Forecasted traffic metrics for the planned products and targeting. +/// Forecasted traffic metrics for the planned products and targeting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Forecast { - /// Number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times that exactly - /// matches the Targeting. + /// Number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times that exactly + /// matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="5")] pub on_target_reach: ::core::option::Option, - /// Total number of unique people reached at least - /// GenerateReachForecastRequest.min_effective_frequency or - /// GenerateReachForecastRequest.effective_frequency_limit times. This includes - /// people that may fall outside the specified Targeting. + /// Total number of unique people reached at least + /// GenerateReachForecastRequest.min_effective_frequency or + /// GenerateReachForecastRequest.effective_frequency_limit times. This includes + /// people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, optional, tag="6")] pub total_reach: ::core::option::Option, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, optional, tag="7")] pub on_target_impressions: ::core::option::Option, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, optional, tag="8")] pub total_impressions: ::core::option::Option, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="9")] pub viewable_impressions: ::core::option::Option, - /// A list of effective frequency forecasts. The list is ordered starting with - /// 1+ and ending with the value set in - /// GenerateReachForecastRequest.effective_frequency_limit. If no - /// effective_frequency_limit was set, this list will be empty. + /// A list of effective frequency forecasts. The list is ordered starting with + /// 1+ and ending with the value set in + /// GenerateReachForecastRequest.effective_frequency_limit. If no + /// effective_frequency_limit was set, this list will be empty. #[prost(message, repeated, tag="10")] pub effective_frequency_breakdowns: ::prost::alloc::vec::Vec, } -/// The forecasted allocation and traffic metrics for a specific product -/// at a point on the reach curve. +/// The forecasted allocation and traffic metrics for a specific product +/// at a point on the reach curve. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductReachForecast { - /// Selected product for planning. The product codes returned are within the - /// set of the ones returned by ListPlannableProducts when using the same - /// location ID. + /// Selected product for planning. The product codes returned are within the + /// set of the ones returned by ListPlannableProducts when using the same + /// location ID. #[prost(string, tag="1")] pub plannable_product_code: ::prost::alloc::string::String, - /// The cost in micros. This may differ from the product's input allocation - /// if one or more planned products cannot fulfill the budget because of - /// limited inventory. + /// The cost in micros. This may differ from the product's input allocation + /// if one or more planned products cannot fulfill the budget because of + /// limited inventory. #[prost(int64, tag="2")] pub cost_micros: i64, - /// Forecasted traffic metrics for this product. + /// Forecasted traffic metrics for this product. #[prost(message, optional, tag="3")] pub planned_product_forecast: ::core::option::Option, } -/// Forecasted traffic metrics for a planned product. +/// Forecasted traffic metrics for a planned product. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlannedProductForecast { - /// Number of unique people reached that exactly matches the Targeting. + /// Number of unique people reached that exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="1")] pub on_target_reach: i64, - /// Number of unique people reached. This includes people that may fall - /// outside the specified Targeting. + /// Number of unique people reached. This includes people that may fall + /// outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub total_reach: i64, - /// Number of ad impressions that exactly matches the Targeting. + /// Number of ad impressions that exactly matches the Targeting. #[prost(int64, tag="3")] pub on_target_impressions: i64, - /// Total number of ad impressions. This includes impressions that may fall - /// outside the specified Targeting, due to insufficient information on - /// signed-in users. + /// Total number of ad impressions. This includes impressions that may fall + /// outside the specified Targeting, due to insufficient information on + /// signed-in users. #[prost(int64, tag="4")] pub total_impressions: i64, - /// Number of times the ad's impressions were considered viewable. - /// See for - /// more information about what makes an ad viewable and how - /// viewability is measured. + /// Number of times the ad's impressions were considered viewable. + /// See for + /// more information about what makes an ad viewable and how + /// viewability is measured. #[prost(int64, optional, tag="5")] pub viewable_impressions: ::core::option::Option, } -/// Audience metrics for the planned products. -/// These metrics consider the following targeting dimensions: +/// Audience metrics for the planned products. +/// These metrics consider the following targeting dimensions: /// -/// - Location -/// - PlannableAgeRange -/// - Gender +/// - Location +/// - PlannableAgeRange +/// - Gender #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnTargetAudienceMetrics { - /// Reference audience size matching the considered targeting for YouTube. + /// Reference audience size matching the considered targeting for YouTube. #[prost(int64, optional, tag="3")] pub youtube_audience_size: ::core::option::Option, - /// Reference audience size matching the considered targeting for Census. + /// Reference audience size matching the considered targeting for Census. #[prost(int64, optional, tag="4")] pub census_audience_size: ::core::option::Option, } -/// A breakdown of the number of unique people reached at a given effective -/// frequency. +/// A breakdown of the number of unique people reached at a given effective +/// frequency. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveFrequencyBreakdown { - /// The effective frequency \[1-10\]. + /// The effective frequency \[1-10\]. #[prost(int32, tag="1")] pub effective_frequency: i32, - /// The number of unique people reached at least effective_frequency times that - /// exactly matches the Targeting. + /// The number of unique people reached at least effective_frequency times that + /// exactly matches the Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the on_target_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the on_target_reach + /// value will be rounded to 0. #[prost(int64, tag="2")] pub on_target_reach: i64, - /// Total number of unique people reached at least effective_frequency times. - /// This includes people that may fall outside the specified Targeting. + /// Total number of unique people reached at least effective_frequency times. + /// This includes people that may fall outside the specified Targeting. /// - /// Note that a minimum number of unique people must be reached in order for - /// data to be reported. If the minimum number is not met, the total_reach - /// value will be rounded to 0. + /// Note that a minimum number of unique people must be reached in order for + /// data to be reported. If the minimum number is not met, the total_reach + /// value will be rounded to 0. #[prost(int64, tag="3")] pub total_reach: i64, } @@ -27802,238 +27802,238 @@ pub mod reach_plan_service_client { } } } -/// Request message for \[RecommendationService.GetRecommendation][google.ads.googleads.v9.services.RecommendationService.GetRecommendation\]. +/// Request message for \[RecommendationService.GetRecommendation][google.ads.googleads.v9.services.RecommendationService.GetRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRecommendationRequest { - /// Required. The resource name of the recommendation to fetch. + /// Required. The resource name of the recommendation to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v9.services.RecommendationService.ApplyRecommendation\]. +/// Request message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v9.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to apply recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to apply recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried - /// out as a transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried + /// out as a transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="3")] pub partial_failure: bool, } -/// Information about the operation to apply a recommendation and any parameters -/// to customize it. +/// Information about the operation to apply a recommendation and any parameters +/// to customize it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationOperation { - /// The resource name of the recommendation to apply. + /// The resource name of the recommendation to apply. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[prost(oneof="apply_recommendation_operation::ApplyParameters", tags="2, 3, 4, 5, 10, 6, 7, 8, 9, 11")] pub apply_parameters: ::core::option::Option, } /// Nested message and enum types in `ApplyRecommendationOperation`. pub mod apply_recommendation_operation { - /// Parameters to use when applying a campaign budget recommendation. + /// Parameters to use when applying a campaign budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CampaignBudgetParameters { - /// New budget amount to set for target budget resource. This is a required - /// field. + /// New budget amount to set for target budget resource. This is a required + /// field. #[prost(int64, optional, tag="2")] pub new_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a text ad recommendation. + /// Parameters to use when applying a text ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextAdParameters { - /// New ad to add to recommended ad group. All necessary fields need to be - /// set in this message. This is a required field. + /// New ad to add to recommended ad group. All necessary fields need to be + /// set in this message. This is a required field. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying keyword recommendation. + /// Parameters to use when applying keyword recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KeywordParameters { - /// The ad group resource to add keyword to. This is a required field. + /// The ad group resource to add keyword to. This is a required field. #[prost(string, optional, tag="4")] pub ad_group: ::core::option::Option<::prost::alloc::string::String>, - /// The match type of the keyword. This is a required field. + /// The match type of the keyword. This is a required field. #[prost(enumeration="super::super::enums::keyword_match_type_enum::KeywordMatchType", tag="2")] pub match_type: i32, - /// Optional, CPC bid to set for the keyword. If not set, keyword will use - /// bid based on bidding strategy used by target ad group. + /// Optional, CPC bid to set for the keyword. If not set, keyword will use + /// bid based on bidding strategy used by target ad group. #[prost(int64, optional, tag="5")] pub cpc_bid_micros: ::core::option::Option, } - /// Parameters to use when applying Target CPA recommendation. + /// Parameters to use when applying Target CPA recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetCpaOptInParameters { - /// Average CPA to use for Target CPA bidding strategy. This is a required - /// field. + /// Average CPA to use for Target CPA bidding strategy. This is a required + /// field. #[prost(int64, optional, tag="3")] pub target_cpa_micros: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="4")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying a Target ROAS opt-in recommendation. + /// Parameters to use when applying a Target ROAS opt-in recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRoasOptInParameters { - /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding - /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a - /// required field, unless new_campaign_budget_amount_micros is set. + /// Average ROAS (revenue per unit of spend) to use for Target ROAS bidding + /// strategy. The value is between 0.01 and 1000.0, inclusive. This is a + /// required field, unless new_campaign_budget_amount_micros is set. #[prost(double, optional, tag="1")] pub target_roas: ::core::option::Option, - /// Optional, budget amount to set for the campaign. + /// Optional, budget amount to set for the campaign. #[prost(int64, optional, tag="2")] pub new_campaign_budget_amount_micros: ::core::option::Option, } - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalloutExtensionParameters { - /// Callout extensions to be added. This is a required field. + /// Callout extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub callout_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallExtensionParameters { - /// Call extensions to be added. This is a required field. + /// Call extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub call_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SitelinkExtensionParameters { - /// Sitelink extensions to be added. This is a required field. + /// Sitelink extensions to be added. This is a required field. #[prost(message, repeated, tag="1")] pub sitelink_extensions: ::prost::alloc::vec::Vec, } - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveUnusedBudgetParameters { - /// Budget amount to move from excess budget to constrained budget. This is - /// a required field. + /// Budget amount to move from excess budget to constrained budget. This is + /// a required field. #[prost(int64, optional, tag="2")] pub budget_micros_to_move: ::core::option::Option, } - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponsiveSearchAdParameters { - /// Required. New ad to add to recommended ad group. + /// Required. New ad to add to recommended ad group. #[prost(message, optional, tag="1")] pub ad: ::core::option::Option, } - /// Parameters to use when applying the recommendation. + /// Parameters to use when applying the recommendation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ApplyParameters { - /// Optional parameters to use when applying a campaign budget - /// recommendation. + /// Optional parameters to use when applying a campaign budget + /// recommendation. #[prost(message, tag="2")] CampaignBudget(CampaignBudgetParameters), - /// Optional parameters to use when applying a text ad recommendation. + /// Optional parameters to use when applying a text ad recommendation. #[prost(message, tag="3")] TextAd(TextAdParameters), - /// Optional parameters to use when applying keyword recommendation. + /// Optional parameters to use when applying keyword recommendation. #[prost(message, tag="4")] Keyword(KeywordParameters), - /// Optional parameters to use when applying target CPA opt-in - /// recommendation. + /// Optional parameters to use when applying target CPA opt-in + /// recommendation. #[prost(message, tag="5")] TargetCpaOptIn(TargetCpaOptInParameters), - /// Optional parameters to use when applying target ROAS opt-in - /// recommendation. + /// Optional parameters to use when applying target ROAS opt-in + /// recommendation. #[prost(message, tag="10")] TargetRoasOptIn(TargetRoasOptInParameters), - /// Parameters to use when applying callout extension recommendation. + /// Parameters to use when applying callout extension recommendation. #[prost(message, tag="6")] CalloutExtension(CalloutExtensionParameters), - /// Parameters to use when applying call extension recommendation. + /// Parameters to use when applying call extension recommendation. #[prost(message, tag="7")] CallExtension(CallExtensionParameters), - /// Parameters to use when applying sitelink extension recommendation. + /// Parameters to use when applying sitelink extension recommendation. #[prost(message, tag="8")] SitelinkExtension(SitelinkExtensionParameters), - /// Parameters to use when applying move unused budget recommendation. + /// Parameters to use when applying move unused budget recommendation. #[prost(message, tag="9")] MoveUnusedBudget(MoveUnusedBudgetParameters), - /// Parameters to use when applying a responsive search ad recommendation. + /// Parameters to use when applying a responsive search ad recommendation. #[prost(message, tag="11")] ResponsiveSearchAd(ResponsiveSearchAdParameters), } } -/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v9.services.RecommendationService.ApplyRecommendation\]. +/// Response message for \[RecommendationService.ApplyRecommendation][google.ads.googleads.v9.services.RecommendationService.ApplyRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResponse { - /// Results of operations to apply recommendations. + /// Results of operations to apply recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors) - /// we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors) + /// we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } -/// The result of applying a recommendation. +/// The result of applying a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyRecommendationResult { - /// Returned for successful applies. + /// Returned for successful applies. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v9.services.RecommendationService.DismissRecommendation\]. +/// Request message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v9.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationRequest { - /// Required. The ID of the customer with the recommendation. + /// Required. The ID of the customer with the recommendation. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to dismiss recommendations. - /// If partial_failure=false all recommendations should be of the same type - /// There is a limit of 100 operations per request. + /// Required. The list of operations to dismiss recommendations. + /// If partial_failure=false all recommendations should be of the same type + /// There is a limit of 100 operations per request. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// If true, successful operations will be carried out and invalid - /// operations will return errors. If false, operations will be carried in a - /// single transaction if and only if they are all valid. - /// Default is false. + /// If true, successful operations will be carried out and invalid + /// operations will return errors. If false, operations will be carried in a + /// single transaction if and only if they are all valid. + /// Default is false. #[prost(bool, tag="2")] pub partial_failure: bool, } /// Nested message and enum types in `DismissRecommendationRequest`. pub mod dismiss_recommendation_request { - /// Operation to dismiss a single recommendation identified by resource_name. + /// Operation to dismiss a single recommendation identified by resource_name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationOperation { - /// The resource name of the recommendation to dismiss. + /// The resource name of the recommendation to dismiss. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } } -/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v9.services.RecommendationService.DismissRecommendation\]. +/// Response message for \[RecommendationService.DismissRecommendation][google.ads.googleads.v9.services.RecommendationService.DismissRecommendation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResponse { - /// Results of operations to dismiss recommendations. + /// Results of operations to dismiss recommendations. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Errors that pertain to operation failures in the partial failure mode. - /// Returned only when partial_failure = true and all errors occur inside the - /// operations. If any errors occur outside the operations (e.g. auth errors) - /// we return the RPC level error. + /// Errors that pertain to operation failures in the partial failure mode. + /// Returned only when partial_failure = true and all errors occur inside the + /// operations. If any errors occur outside the operations (e.g. auth errors) + /// we return the RPC level error. #[prost(message, optional, tag="2")] pub partial_failure_error: ::core::option::Option, } /// Nested message and enum types in `DismissRecommendationResponse`. pub mod dismiss_recommendation_response { - /// The result of dismissing a recommendation. + /// The result of dismissing a recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissRecommendationResult { - /// Returned for successful dismissals. + /// Returned for successful dismissals. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -28206,10 +28206,10 @@ pub mod recommendation_service_client { } } } -/// Request message for \[SearchTermViewService.GetSearchTermView][google.ads.googleads.v9.services.SearchTermViewService.GetSearchTermView\]. +/// Request message for \[SearchTermViewService.GetSearchTermView][google.ads.googleads.v9.services.SearchTermViewService.GetSearchTermView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSearchTermViewRequest { - /// Required. The resource name of the search term view to fetch. + /// Required. The resource name of the search term view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -28316,11 +28316,11 @@ pub mod search_term_view_service_client { } } } -/// Request message for -/// \[ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v9.services.ShoppingPerformanceViewService.GetShoppingPerformanceView\]. +/// Request message for +/// \[ShoppingPerformanceViewService.GetShoppingPerformanceView][google.ads.googleads.v9.services.ShoppingPerformanceViewService.GetShoppingPerformanceView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetShoppingPerformanceViewRequest { - /// Required. The resource name of the Shopping performance view to fetch. + /// Required. The resource name of the Shopping performance view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -28429,11 +28429,11 @@ pub mod shopping_performance_view_service_client { } } } -/// Request message for -/// \[SmartCampaignSearchTermViewService.GetSmartCampaignSearchTermView][google.ads.googleads.v9.services.SmartCampaignSearchTermViewService.GetSmartCampaignSearchTermView\]. +/// Request message for +/// \[SmartCampaignSearchTermViewService.GetSmartCampaignSearchTermView][google.ads.googleads.v9.services.SmartCampaignSearchTermViewService.GetSmartCampaignSearchTermView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSmartCampaignSearchTermViewRequest { - /// Required. The resource name of the Smart campaign search term view to fetch. + /// Required. The resource name of the Smart campaign search term view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -28544,194 +28544,194 @@ pub mod smart_campaign_search_term_view_service_client { } } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsRequest { - /// Required. The ID of the customer whose budget options are to be suggested. + /// Required. The ID of the customer whose budget options are to be suggested. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[prost(oneof="suggest_smart_campaign_budget_options_request::SuggestionData", tags="2, 3")] pub suggestion_data: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsRequest`. pub mod suggest_smart_campaign_budget_options_request { - /// Required. For first time campaign creation use SuggestionInfo, for - /// subsequent updates on BudgetOptions based on an already created campaign - /// use that campaign. + /// Required. For first time campaign creation use SuggestionInfo, for + /// subsequent updates on BudgetOptions based on an already created campaign + /// use that campaign. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SuggestionData { - /// Required. The resource name of the campaign to get suggestion for. + /// Required. The resource name of the campaign to get suggestion for. #[prost(string, tag="2")] Campaign(::prost::alloc::string::String), - /// Required. Information needed to get budget options + /// Required. Information needed to get budget options #[prost(message, tag="3")] SuggestionInfo(super::SmartCampaignSuggestionInfo), } } -/// Information needed to get suggestion for Smart Campaign. More information -/// provided will help the system to derive better suggestions. +/// Information needed to get suggestion for Smart Campaign. More information +/// provided will help the system to derive better suggestions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartCampaignSuggestionInfo { - /// Optional. Landing page URL of the campaign. + /// Optional. Landing page URL of the campaign. #[prost(string, tag="1")] pub final_url: ::prost::alloc::string::String, - /// Optional. The two letter advertising language for the Smart campaign to be - /// constructed, default to 'en' if not set. + /// Optional. The two letter advertising language for the Smart campaign to be + /// constructed, default to 'en' if not set. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, - /// Optional. The business ad schedule. + /// Optional. The business ad schedule. #[prost(message, repeated, tag="6")] pub ad_schedules: ::prost::alloc::vec::Vec, - /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion - /// accuracy and we recommend always setting it if possible. + /// Optional. Smart campaign keyword themes. This field may greatly improve suggestion + /// accuracy and we recommend always setting it if possible. #[prost(message, repeated, tag="7")] pub keyword_themes: ::prost::alloc::vec::Vec, - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[prost(oneof="smart_campaign_suggestion_info::BusinessSetting", tags="8, 2")] pub business_setting: ::core::option::Option, - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[prost(oneof="smart_campaign_suggestion_info::GeoTarget", tags="4, 5")] pub geo_target: ::core::option::Option, } /// Nested message and enum types in `SmartCampaignSuggestionInfo`. pub mod smart_campaign_suggestion_info { - /// A list of locations. + /// A list of locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationList { - /// Required. Locations. + /// Required. Locations. #[prost(message, repeated, tag="1")] pub locations: ::prost::alloc::vec::Vec, } - /// A context that describes a business. + /// A context that describes a business. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessContext { - /// Optional. The name of the business. + /// Optional. The name of the business. #[prost(string, tag="1")] pub business_name: ::prost::alloc::string::String, } - /// The business settings to consider when generating suggestions. - /// Settings are automatically extracted from the business when provided. - /// Otherwise, these settings must be specified explicitly. + /// The business settings to consider when generating suggestions. + /// Settings are automatically extracted from the business when provided. + /// Otherwise, these settings must be specified explicitly. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BusinessSetting { - /// Optional. Context describing the business to advertise. + /// Optional. Context describing the business to advertise. #[prost(message, tag="8")] BusinessContext(BusinessContext), - /// Optional. The ID of the Business Profile location. - /// The location ID can be fetched by Business Profile API with its form: - /// accounts/{accountId}/locations/{locationId}. The last {locationId} - /// component from the Business Profile API represents the - /// business_location_id. See the [Business Profile API] - /// () + /// Optional. The ID of the Business Profile location. + /// The location ID can be fetched by Business Profile API with its form: + /// accounts/{accountId}/locations/{locationId}. The last {locationId} + /// component from the Business Profile API represents the + /// business_location_id. See the [Business Profile API] + /// () #[prost(int64, tag="2")] BusinessLocationId(i64), } - /// The geo target of the campaign, either a list of locations or - /// a single proximity shall be specified. + /// The geo target of the campaign, either a list of locations or + /// a single proximity shall be specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum GeoTarget { - /// Optional. The targeting geo location by locations. + /// Optional. The targeting geo location by locations. #[prost(message, tag="4")] LocationList(LocationList), - /// Optional. The targeting geo location by proximity. + /// Optional. The targeting geo location by proximity. #[prost(message, tag="5")] Proximity(super::super::common::ProximityInfo), } } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on -/// whether the system could suggest the options, either all of the options or -/// none of them might be returned. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignBudgets][\]. Depending on +/// whether the system could suggest the options, either all of the options or +/// none of them might be returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignBudgetOptionsResponse { - /// Optional. The lowest budget option. + /// Optional. The lowest budget option. #[prost(message, optional, tag="1")] pub low: ::core::option::Option, - /// Optional. The recommended budget option. + /// Optional. The recommended budget option. #[prost(message, optional, tag="2")] pub recommended: ::core::option::Option, - /// Optional. The highest budget option. + /// Optional. The highest budget option. #[prost(message, optional, tag="3")] pub high: ::core::option::Option, } /// Nested message and enum types in `SuggestSmartCampaignBudgetOptionsResponse`. pub mod suggest_smart_campaign_budget_options_response { - /// Performance metrics for a given budget option. + /// Performance metrics for a given budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metrics { - /// The estimated min daily clicks. + /// The estimated min daily clicks. #[prost(int64, tag="1")] pub min_daily_clicks: i64, - /// The estimated max daily clicks. + /// The estimated max daily clicks. #[prost(int64, tag="2")] pub max_daily_clicks: i64, } - /// Smart Campaign budget option. + /// Smart Campaign budget option. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetOption { - /// The amount of the budget, in the local currency for the account. - /// Amount is specified in micros, where one million is equivalent to one - /// currency unit. + /// The amount of the budget, in the local currency for the account. + /// Amount is specified in micros, where one million is equivalent to one + /// currency unit. #[prost(int64, tag="1")] pub daily_amount_micros: i64, - /// Metrics pertaining to the suggested budget, could be empty if there is - /// not enough information to derive the estimates. + /// Metrics pertaining to the suggested budget, could be empty if there is + /// not enough information to derive the estimates. #[prost(message, optional, tag="2")] pub metrics: ::core::option::Option, } } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Inputs used to suggest a Smart campaign ad. - /// Required fields: final_url, language_code, keyword_themes. - /// Optional but recommended fields to improve the quality of the suggestion: - /// business_setting and geo_target. + /// Required. Inputs used to suggest a Smart campaign ad. + /// Required fields: final_url, language_code, keyword_themes. + /// Optional but recommended fields to improve the quality of the suggestion: + /// business_setting and geo_target. #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestSmartCampaignAd][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestSmartCampaignAd\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestSmartCampaignAdResponse { - /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. + /// Optional. Ad info includes 3 creative headlines and 2 creative descriptions. #[prost(message, optional, tag="1")] pub ad_info: ::core::option::Option, } -/// Request message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Request message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesRequest { - /// Required. The ID of the customer. + /// Required. The ID of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. Information to get keyword theme suggestions. - /// Required fields: - /// * suggestion_info.final_url - /// * suggestion_info.language_code - /// * suggestion_info.geo_target + /// Required. Information to get keyword theme suggestions. + /// Required fields: + /// * suggestion_info.final_url + /// * suggestion_info.language_code + /// * suggestion_info.geo_target /// - /// Recommended fields: - /// * suggestion_info.business_setting + /// Recommended fields: + /// * suggestion_info.business_setting #[prost(message, optional, tag="2")] pub suggestion_info: ::core::option::Option, } -/// Response message for -/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. +/// Response message for +/// \[SmartCampaignSuggestService.SuggestKeywordThemes][google.ads.googleads.v9.services.SmartCampaignSuggestService.SuggestKeywordThemes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestKeywordThemesResponse { - /// Smart campaign keyword theme suggestions. + /// Smart campaign keyword theme suggestions. #[prost(message, repeated, tag="1")] pub keyword_themes: ::prost::alloc::vec::Vec, } @@ -28881,24 +28881,24 @@ pub mod smart_campaign_suggest_service_client { } } } -/// Request message for -/// \[ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink\]. +/// Request message for +/// \[ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.GetThirdPartyAppAnalyticsLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetThirdPartyAppAnalyticsLinkRequest { - /// Resource name of the third party app analytics link. + /// Resource name of the third party app analytics link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Request message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Request message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdRequest { - /// Resource name of the third party app analytics link. + /// Resource name of the third party app analytics link. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Response message for -/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. +/// Response message for +/// \[ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId][google.ads.googleads.v9.services.ThirdPartyAppAnalyticsLinkService.RegenerateShareableLinkId\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegenerateShareableLinkIdResponse { } @@ -29040,10 +29040,10 @@ pub mod third_party_app_analytics_link_service_client { } } } -/// Request message for \[TopicConstantService.GetTopicConstant][google.ads.googleads.v9.services.TopicConstantService.GetTopicConstant\]. +/// Request message for \[TopicConstantService.GetTopicConstant][google.ads.googleads.v9.services.TopicConstantService.GetTopicConstant\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTopicConstantRequest { - /// Required. Resource name of the Topic to fetch. + /// Required. Resource name of the Topic to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -29150,10 +29150,10 @@ pub mod topic_constant_service_client { } } } -/// Request message for \[TopicViewService.GetTopicView][google.ads.googleads.v9.services.TopicViewService.GetTopicView\]. +/// Request message for \[TopicViewService.GetTopicView][google.ads.googleads.v9.services.TopicViewService.GetTopicView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTopicViewRequest { - /// Required. The resource name of the topic view to fetch. + /// Required. The resource name of the topic view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -29257,57 +29257,57 @@ pub mod topic_view_service_client { } } } -/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v9.services.UserDataService.UploadUserData\] +/// Request message for \[UserDataService.UploadUserData][google.ads.googleads.v9.services.UserDataService.UploadUserData\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataRequest { - /// Required. The ID of the customer for which to update the user data. + /// Required. The ID of the customer for which to update the user data. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The list of operations to be done. + /// Required. The list of operations to be done. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, - /// Metadata of the request. + /// Metadata of the request. #[prost(oneof="upload_user_data_request::Metadata", tags="2")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `UploadUserDataRequest`. pub mod upload_user_data_request { - /// Metadata of the request. + /// Metadata of the request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Metadata for data updates to a Customer Match user list. + /// Metadata for data updates to a Customer Match user list. #[prost(message, tag="2")] CustomerMatchUserListMetadata(super::super::common::CustomerMatchUserListMetadata), } } -/// Operation to be made for the UploadUserDataRequest. +/// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserDataOperation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[prost(oneof="user_data_operation::Operation", tags="1, 2")] pub operation: ::core::option::Option, } /// Nested message and enum types in `UserDataOperation`. pub mod user_data_operation { - /// Operation to be made for the UploadUserDataRequest. + /// Operation to be made for the UploadUserDataRequest. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Operation { - /// The list of user data to be appended to the user list. + /// The list of user data to be appended to the user list. #[prost(message, tag="1")] Create(super::super::common::UserData), - /// The list of user data to be removed from the user list. + /// The list of user data to be removed from the user list. #[prost(message, tag="2")] Remove(super::super::common::UserData), } } -/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v9.services.UserDataService.UploadUserData\] +/// Response message for \[UserDataService.UploadUserData][google.ads.googleads.v9.services.UserDataService.UploadUserData\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadUserDataResponse { - /// The date time at which the request was received by API, formatted as - /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". + /// The date time at which the request was received by API, formatted as + /// "yyyy-mm-dd hh:mm:ss+|-hh:mm", e.g. "2019-01-01 12:32:45-08:00". #[prost(string, optional, tag="3")] pub upload_date_time: ::core::option::Option<::prost::alloc::string::String>, - /// Number of upload data operations received by API. + /// Number of upload data operations received by API. #[prost(int32, optional, tag="4")] pub received_operations_count: ::core::option::Option, } @@ -29416,10 +29416,10 @@ pub mod user_data_service_client { } } } -/// Request message for \[UserInterestService.GetUserInterest][google.ads.googleads.v9.services.UserInterestService.GetUserInterest\]. +/// Request message for \[UserInterestService.GetUserInterest][google.ads.googleads.v9.services.UserInterestService.GetUserInterest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUserInterestRequest { - /// Required. Resource name of the UserInterest to fetch. + /// Required. Resource name of the UserInterest to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -29526,10 +29526,10 @@ pub mod user_interest_service_client { } } } -/// Request message for \[UserLocationViewService.GetUserLocationView][google.ads.googleads.v9.services.UserLocationViewService.GetUserLocationView\]. +/// Request message for \[UserLocationViewService.GetUserLocationView][google.ads.googleads.v9.services.UserLocationViewService.GetUserLocationView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUserLocationViewRequest { - /// Required. The resource name of the user location view to fetch. + /// Required. The resource name of the user location view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -29638,10 +29638,10 @@ pub mod user_location_view_service_client { } } } -/// Request message for \[VideoService.GetVideo][google.ads.googleads.v9.services.VideoService.GetVideo\]. +/// Request message for \[VideoService.GetVideo][google.ads.googleads.v9.services.VideoService.GetVideo\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVideoRequest { - /// Required. The resource name of the video to fetch. + /// Required. The resource name of the video to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } @@ -29745,10 +29745,10 @@ pub mod video_service_client { } } } -/// Request message for \[WebpageViewService.GetWebpageView][google.ads.googleads.v9.services.WebpageViewService.GetWebpageView\]. +/// Request message for \[WebpageViewService.GetWebpageView][google.ads.googleads.v9.services.WebpageViewService.GetWebpageView\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWebpageViewRequest { - /// Required. The resource name of the webpage view to fetch. + /// Required. The resource name of the webpage view to fetch. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.analytics.admin.v1alpha.rs b/gcloud-sdk/genproto/google.analytics.admin.v1alpha.rs index 2f03657a1..b7cfcde38 100644 --- a/gcloud-sdk/genproto/google.analytics.admin.v1alpha.rs +++ b/gcloud-sdk/genproto/google.analytics.admin.v1alpha.rs @@ -1,140 +1,140 @@ -/// Dimensions are attributes of your data. For example, the dimension -/// `userEmail` indicates the email of the user that accessed reporting data. -/// Dimension values in report responses are strings. +/// Dimensions are attributes of your data. For example, the dimension +/// `userEmail` indicates the email of the user that accessed reporting data. +/// Dimension values in report responses are strings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessDimension { - /// The API name of the dimension. See [Data Access - /// Schema]() - /// for the list of dimensions supported in this API. + /// The API name of the dimension. See [Data Access + /// Schema]() + /// for the list of dimensions supported in this API. /// - /// Dimensions are referenced by name in `dimensionFilter` and `orderBys`. + /// Dimensions are referenced by name in `dimensionFilter` and `orderBys`. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, } -/// The quantitative measurements of a report. For example, the metric -/// `accessCount` is the total number of data access records. +/// The quantitative measurements of a report. For example, the metric +/// `accessCount` is the total number of data access records. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessMetric { - /// The API name of the metric. See [Data Access - /// Schema]() - /// for the list of metrics supported in this API. + /// The API name of the metric. See [Data Access + /// Schema]() + /// for the list of metrics supported in this API. /// - /// Metrics are referenced by name in `metricFilter` & `orderBys`. + /// Metrics are referenced by name in `metricFilter` & `orderBys`. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, } -/// A contiguous range of days: startDate, startDate + 1, ..., endDate. +/// A contiguous range of days: startDate, startDate + 1, ..., endDate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessDateRange { - /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - /// be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also - /// accepted, and in that case, the date is inferred based on the current time - /// in the request's time zone. + /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + /// be after `endDate`. The format `NdaysAgo`, `yesterday`, or `today` is also + /// accepted, and in that case, the date is inferred based on the current time + /// in the request's time zone. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - /// be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is - /// also accepted, and in that case, the date is inferred based on the current - /// time in the request's time zone. + /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + /// be before `startDate`. The format `NdaysAgo`, `yesterday`, or `today` is + /// also accepted, and in that case, the date is inferred based on the current + /// time in the request's time zone. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, } -/// Expresses dimension or metric filters. The fields in the same expression need -/// to be either all dimensions or all metrics. +/// Expresses dimension or metric filters. The fields in the same expression need +/// to be either all dimensions or all metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessFilterExpression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[prost(oneof="access_filter_expression::OneExpression", tags="1, 2, 3, 4")] pub one_expression: ::core::option::Option, } /// Nested message and enum types in `AccessFilterExpression`. pub mod access_filter_expression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneExpression { - /// Each of the FilterExpressions in the and_group has an AND relationship. + /// Each of the FilterExpressions in the and_group has an AND relationship. #[prost(message, tag="1")] AndGroup(super::AccessFilterExpressionList), - /// Each of the FilterExpressions in the or_group has an OR relationship. + /// Each of the FilterExpressions in the or_group has an OR relationship. #[prost(message, tag="2")] OrGroup(super::AccessFilterExpressionList), - /// The FilterExpression is NOT of not_expression. + /// The FilterExpression is NOT of not_expression. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive filter. In the same FilterExpression, all of the filter's - /// field names need to be either all dimensions or all metrics. + /// A primitive filter. In the same FilterExpression, all of the filter's + /// field names need to be either all dimensions or all metrics. #[prost(message, tag="4")] AccessFilter(super::AccessFilter), } } -/// A list of filter expressions. +/// A list of filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessFilterExpressionList { - /// A list of filter expressions. + /// A list of filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter dimension or metric values. +/// An expression to filter dimension or metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessFilter { - /// The dimension name or metric name. + /// The dimension name or metric name. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[prost(oneof="access_filter::OneFilter", tags="2, 3, 4, 5")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `AccessFilter`. pub mod access_filter { - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="2")] StringFilter(super::AccessStringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="3")] InListFilter(super::AccessInListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="4")] NumericFilter(super::AccessNumericFilter), - /// A filter for two values. + /// A filter for two values. #[prost(message, tag="5")] BetweenFilter(super::AccessBetweenFilter), } } -/// The filter for strings. +/// The filter for strings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessStringFilter { - /// The match type for this filter. + /// The match type for this filter. #[prost(enumeration="access_string_filter::MatchType", tag="1")] pub match_type: i32, - /// The string value used for the matching. + /// The string value used for the matching. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="3")] pub case_sensitive: bool, } /// Nested message and enum types in `AccessStringFilter`. pub mod access_string_filter { - /// The match type of a string filter. + /// The match type of a string filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Exact match of the string value. + /// Exact match of the string value. Exact = 1, - /// Begins with the string value. + /// Begins with the string value. BeginsWith = 2, - /// Ends with the string value. + /// Ends with the string value. EndsWith = 3, - /// Contains the string value. + /// Contains the string value. Contains = 4, - /// Full match for the regular expression with the string value. + /// Full match for the regular expression with the string value. FullRegexp = 5, - /// Partial match for the regular expression with the string value. + /// Partial match for the regular expression with the string value. PartialRegexp = 6, } impl MatchType { @@ -155,43 +155,43 @@ pub mod access_string_filter { } } } -/// The result needs to be in a list of string values. +/// The result needs to be in a list of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessInListFilter { - /// The list of string values. Must be non-empty. + /// The list of string values. Must be non-empty. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="2")] pub case_sensitive: bool, } -/// Filters for numeric or date values. +/// Filters for numeric or date values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessNumericFilter { - /// The operation type for this filter. + /// The operation type for this filter. #[prost(enumeration="access_numeric_filter::Operation", tag="1")] pub operation: i32, - /// A numeric value or a date value. + /// A numeric value or a date value. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `AccessNumericFilter`. pub mod access_numeric_filter { - /// The operation applied to a numeric filter. + /// The operation applied to a numeric filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operation { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Equal + /// Equal Equal = 1, - /// Less than + /// Less than LessThan = 2, - /// Less than or equal + /// Less than or equal LessThanOrEqual = 3, - /// Greater than + /// Greater than GreaterThan = 4, - /// Greater than or equal + /// Greater than or equal GreaterThanOrEqual = 5, } impl Operation { @@ -211,86 +211,86 @@ pub mod access_numeric_filter { } } } -/// To express that the result needs to be between two numbers (inclusive). +/// To express that the result needs to be between two numbers (inclusive). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessBetweenFilter { - /// Begins with this number. + /// Begins with this number. #[prost(message, optional, tag="1")] pub from_value: ::core::option::Option, - /// Ends with this number. + /// Ends with this number. #[prost(message, optional, tag="2")] pub to_value: ::core::option::Option, } -/// To represent a number. +/// To represent a number. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericValue { - /// One of a numeric value + /// One of a numeric value #[prost(oneof="numeric_value::OneValue", tags="1, 2")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `NumericValue`. pub mod numeric_value { - /// One of a numeric value + /// One of a numeric value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Integer value + /// Integer value #[prost(int64, tag="1")] Int64Value(i64), - /// Double value + /// Double value #[prost(double, tag="2")] DoubleValue(f64), } } -/// Order bys define how rows will be sorted in the response. For example, -/// ordering rows by descending access count is one ordering, and ordering rows -/// by the country string is a different ordering. +/// Order bys define how rows will be sorted in the response. For example, +/// ordering rows by descending access count is one ordering, and ordering rows +/// by the country string is a different ordering. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessOrderBy { - /// If true, sorts by descending order. If false or unspecified, sorts in - /// ascending order. + /// If true, sorts by descending order. If false or unspecified, sorts in + /// ascending order. #[prost(bool, tag="3")] pub desc: bool, - /// Specify one type of order by for `OrderBy`. + /// Specify one type of order by for `OrderBy`. #[prost(oneof="access_order_by::OneOrderBy", tags="1, 2")] pub one_order_by: ::core::option::Option, } /// Nested message and enum types in `AccessOrderBy`. pub mod access_order_by { - /// Sorts by metric values. + /// Sorts by metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricOrderBy { - /// A metric name in the request to order by. + /// A metric name in the request to order by. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, } - /// Sorts by dimension values. + /// Sorts by dimension values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionOrderBy { - /// A dimension name in the request to order by. + /// A dimension name in the request to order by. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, - /// Controls the rule for dimension value ordering. + /// Controls the rule for dimension value ordering. #[prost(enumeration="dimension_order_by::OrderType", tag="2")] pub order_type: i32, } /// Nested message and enum types in `DimensionOrderBy`. pub mod dimension_order_by { - /// Rule to order the string dimension values by. + /// Rule to order the string dimension values by. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OrderType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < - /// "b" < "z". + /// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + /// "b" < "z". Alphanumeric = 1, - /// Case insensitive alphanumeric sort by lower case Unicode code point. - /// For example, "2" < "A" < "b" < "X" < "z". + /// Case insensitive alphanumeric sort by lower case Unicode code point. + /// For example, "2" < "A" < "b" < "X" < "z". CaseInsensitiveAlphanumeric = 2, - /// Dimension values are converted to numbers before sorting. For example - /// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < - /// "25". Non-numeric dimension values all have equal ordering value below - /// all numeric values. + /// Dimension values are converted to numbers before sorting. For example + /// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + /// "25". Non-numeric dimension values all have equal ordering value below + /// all numeric values. Numeric = 3, } impl OrderType { @@ -308,162 +308,162 @@ pub mod access_order_by { } } } - /// Specify one type of order by for `OrderBy`. + /// Specify one type of order by for `OrderBy`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneOrderBy { - /// Sorts results by a metric's values. + /// Sorts results by a metric's values. #[prost(message, tag="1")] Metric(MetricOrderBy), - /// Sorts results by a dimension's values. + /// Sorts results by a dimension's values. #[prost(message, tag="2")] Dimension(DimensionOrderBy), } } -/// Describes a dimension column in the report. Dimensions requested in a report -/// produce column entries within rows and DimensionHeaders. However, dimensions -/// used exclusively within filters or expressions do not produce columns in a -/// report; correspondingly, those dimensions do not produce headers. +/// Describes a dimension column in the report. Dimensions requested in a report +/// produce column entries within rows and DimensionHeaders. However, dimensions +/// used exclusively within filters or expressions do not produce columns in a +/// report; correspondingly, those dimensions do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessDimensionHeader { - /// The dimension's name; for example 'userEmail'. + /// The dimension's name; for example 'userEmail'. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, } -/// Describes a metric column in the report. Visible metrics requested in a -/// report produce column entries within rows and MetricHeaders. However, -/// metrics used exclusively within filters or expressions do not produce columns -/// in a report; correspondingly, those metrics do not produce headers. +/// Describes a metric column in the report. Visible metrics requested in a +/// report produce column entries within rows and MetricHeaders. However, +/// metrics used exclusively within filters or expressions do not produce columns +/// in a report; correspondingly, those metrics do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessMetricHeader { - /// The metric's name; for example 'accessCount'. + /// The metric's name; for example 'accessCount'. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, } -/// Access report data for each row. +/// Access report data for each row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessRow { - /// List of dimension values. These values are in the same order as specified - /// in the request. + /// List of dimension values. These values are in the same order as specified + /// in the request. #[prost(message, repeated, tag="1")] pub dimension_values: ::prost::alloc::vec::Vec, - /// List of metric values. These values are in the same order as specified - /// in the request. + /// List of metric values. These values are in the same order as specified + /// in the request. #[prost(message, repeated, tag="2")] pub metric_values: ::prost::alloc::vec::Vec, } -/// The value of a dimension. +/// The value of a dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessDimensionValue { - /// The dimension value. For example, this value may be 'France' for the - /// 'country' dimension. + /// The dimension value. For example, this value may be 'France' for the + /// 'country' dimension. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, } -/// The value of a metric. +/// The value of a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessMetricValue { - /// The measurement value. For example, this value may be '13'. + /// The measurement value. For example, this value may be '13'. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, } -/// Current state of all quotas for this Analytics property. If any quota for a -/// property is exhausted, all requests to that property will return Resource -/// Exhausted errors. +/// Current state of all quotas for this Analytics property. If any quota for a +/// property is exhausted, all requests to that property will return Resource +/// Exhausted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessQuota { - /// Properties can use 250,000 tokens per day. Most requests consume fewer than - /// 10 tokens. + /// Properties can use 250,000 tokens per day. Most requests consume fewer than + /// 10 tokens. #[prost(message, optional, tag="1")] pub tokens_per_day: ::core::option::Option, - /// Properties can use 50,000 tokens per hour. An API request consumes a single - /// number of tokens, and that number is deducted from both the hourly and - /// daily quotas. + /// Properties can use 50,000 tokens per hour. An API request consumes a single + /// number of tokens, and that number is deducted from both the hourly and + /// daily quotas. #[prost(message, optional, tag="2")] pub tokens_per_hour: ::core::option::Option, - /// Properties can use up to 50 concurrent requests. + /// Properties can use up to 50 concurrent requests. #[prost(message, optional, tag="3")] pub concurrent_requests: ::core::option::Option, - /// Properties and cloud project pairs can have up to 50 server errors per - /// hour. + /// Properties and cloud project pairs can have up to 50 server errors per + /// hour. #[prost(message, optional, tag="4")] pub server_errors_per_project_per_hour: ::core::option::Option, } -/// Current state for a particular quota group. +/// Current state for a particular quota group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessQuotaStatus { - /// Quota consumed by this request. + /// Quota consumed by this request. #[prost(int32, tag="1")] pub consumed: i32, - /// Quota remaining after this request. + /// Quota remaining after this request. #[prost(int32, tag="2")] pub remaining: i32, } -/// A specific filter for a single dimension or metric. +/// A specific filter for a single dimension or metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceDimensionOrMetricFilter { - /// Required. Immutable. The dimension name or metric name to filter. + /// Required. Immutable. The dimension name or metric name to filter. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Optional. Indicates whether this filter needs dynamic evaluation or not. If set to - /// true, users join the Audience if they ever met the condition (static - /// evaluation). If unset or set to false, user evaluation for an Audience is - /// dynamic; users are added to an Audience when they meet the conditions and - /// then removed when they no longer meet them. + /// Optional. Indicates whether this filter needs dynamic evaluation or not. If set to + /// true, users join the Audience if they ever met the condition (static + /// evaluation). If unset or set to false, user evaluation for an Audience is + /// dynamic; users are added to an Audience when they meet the conditions and + /// then removed when they no longer meet them. /// - /// This can only be set when Audience scope is ACROSS_ALL_SESSIONS. + /// This can only be set when Audience scope is ACROSS_ALL_SESSIONS. #[prost(bool, tag="6")] pub at_any_point_in_time: bool, - /// Optional. If set, specifies the time window for which to evaluate data in number of - /// days. If not set, then audience data is evaluated against lifetime data - /// (i.e., infinite time window). + /// Optional. If set, specifies the time window for which to evaluate data in number of + /// days. If not set, then audience data is evaluated against lifetime data + /// (i.e., infinite time window). /// - /// For example, if set to 1 day, only the current day's data is evaluated. The - /// reference point is the current day when at_any_point_in_time is unset or - /// false. + /// For example, if set to 1 day, only the current day's data is evaluated. The + /// reference point is the current day when at_any_point_in_time is unset or + /// false. /// - /// It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be - /// greater than 60 days. + /// It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be + /// greater than 60 days. #[prost(int32, tag="7")] pub in_any_n_day_period: i32, - /// One of the above filters. + /// One of the above filters. #[prost(oneof="audience_dimension_or_metric_filter::OneFilter", tags="2, 3, 4, 5")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `AudienceDimensionOrMetricFilter`. pub mod audience_dimension_or_metric_filter { - /// A filter for a string-type dimension that matches a particular pattern. + /// A filter for a string-type dimension that matches a particular pattern. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFilter { - /// Required. The match type for the string filter. + /// Required. The match type for the string filter. #[prost(enumeration="string_filter::MatchType", tag="1")] pub match_type: i32, - /// Required. The string value to be matched against. + /// Required. The string value to be matched against. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, - /// Optional. If true, the match is case-sensitive. If false, the match is - /// case-insensitive. + /// Optional. If true, the match is case-sensitive. If false, the match is + /// case-insensitive. #[prost(bool, tag="3")] pub case_sensitive: bool, } /// Nested message and enum types in `StringFilter`. pub mod string_filter { - /// The match type for the string filter. + /// The match type for the string filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Exact match of the string value. + /// Exact match of the string value. Exact = 1, - /// Begins with the string value. + /// Begins with the string value. BeginsWith = 2, - /// Ends with the string value. + /// Ends with the string value. EndsWith = 3, - /// Contains the string value. + /// Contains the string value. Contains = 4, - /// Full regular expression matches with the string value. + /// Full regular expression matches with the string value. FullRegexp = 5, - /// Partial regular expression matches with the string value. + /// Partial regular expression matches with the string value. PartialRegexp = 6, } impl MatchType { @@ -484,64 +484,64 @@ pub mod audience_dimension_or_metric_filter { } } } - /// A filter for a string dimension that matches a particular list of options. + /// A filter for a string dimension that matches a particular list of options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InListFilter { - /// Required. The list of possible string values to match against. Must be non-empty. + /// Required. The list of possible string values to match against. Must be non-empty. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If true, the match is case-sensitive. If false, the match is - /// case-insensitive. + /// Optional. If true, the match is case-sensitive. If false, the match is + /// case-insensitive. #[prost(bool, tag="2")] pub case_sensitive: bool, } - /// To represent a number. + /// To represent a number. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericValue { - /// One of a numeric value. + /// One of a numeric value. #[prost(oneof="numeric_value::OneValue", tags="1, 2")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `NumericValue`. pub mod numeric_value { - /// One of a numeric value. + /// One of a numeric value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Integer value. + /// Integer value. #[prost(int64, tag="1")] Int64Value(i64), - /// Double value. + /// Double value. #[prost(double, tag="2")] DoubleValue(f64), } } - /// A filter for numeric or date values on a dimension or metric. + /// A filter for numeric or date values on a dimension or metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericFilter { - /// Required. The operation applied to a numeric filter. + /// Required. The operation applied to a numeric filter. #[prost(enumeration="numeric_filter::Operation", tag="1")] pub operation: i32, - /// Required. The numeric or date value to match against. + /// Required. The numeric or date value to match against. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `NumericFilter`. pub mod numeric_filter { - /// The operation applied to a numeric filter. + /// The operation applied to a numeric filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operation { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Equal. + /// Equal. Equal = 1, - /// Less than. + /// Less than. LessThan = 2, - /// Less than or equal. + /// Less than or equal. LessThanOrEqual = 3, - /// Greater than. + /// Greater than. GreaterThan = 4, - /// Greater than or equal. + /// Greater than or equal. GreaterThanOrEqual = 5, } impl Operation { @@ -561,158 +561,158 @@ pub mod audience_dimension_or_metric_filter { } } } - /// A filter for numeric or date values between certain values on a dimension - /// or metric. + /// A filter for numeric or date values between certain values on a dimension + /// or metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BetweenFilter { - /// Required. Begins with this number, inclusive. + /// Required. Begins with this number, inclusive. #[prost(message, optional, tag="1")] pub from_value: ::core::option::Option, - /// Required. Ends with this number, inclusive. + /// Required. Ends with this number, inclusive. #[prost(message, optional, tag="2")] pub to_value: ::core::option::Option, } - /// One of the above filters. + /// One of the above filters. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// A filter for a string-type dimension that matches a particular pattern. + /// A filter for a string-type dimension that matches a particular pattern. #[prost(message, tag="2")] StringFilter(StringFilter), - /// A filter for a string dimension that matches a particular list of - /// options. + /// A filter for a string dimension that matches a particular list of + /// options. #[prost(message, tag="3")] InListFilter(InListFilter), - /// A filter for numeric or date values on a dimension or metric. + /// A filter for numeric or date values on a dimension or metric. #[prost(message, tag="4")] NumericFilter(NumericFilter), - /// A filter for numeric or date values between certain values on a dimension - /// or metric. + /// A filter for numeric or date values between certain values on a dimension + /// or metric. #[prost(message, tag="5")] BetweenFilter(BetweenFilter), } } -/// A filter that matches events of a single event name. If an event parameter -/// is specified, only the subset of events that match both the single event name -/// and the parameter filter expressions match this event filter. +/// A filter that matches events of a single event name. If an event parameter +/// is specified, only the subset of events that match both the single event name +/// and the parameter filter expressions match this event filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceEventFilter { - /// Required. Immutable. The name of the event to match against. + /// Required. Immutable. The name of the event to match against. #[prost(string, tag="1")] pub event_name: ::prost::alloc::string::String, - /// Optional. If specified, this filter matches events that match both the single - /// event name and the parameter filter expressions. AudienceEventFilter - /// inside the parameter filter expression cannot be set (i.e., nested - /// event filters are not supported). This should be a single and_group of - /// dimension_or_metric_filter or not_expression; ANDs of ORs are not - /// supported. Also, if it includes a filter for "eventCount", only that one - /// will be considered; all the other filters will be ignored. + /// Optional. If specified, this filter matches events that match both the single + /// event name and the parameter filter expressions. AudienceEventFilter + /// inside the parameter filter expression cannot be set (i.e., nested + /// event filters are not supported). This should be a single and_group of + /// dimension_or_metric_filter or not_expression; ANDs of ORs are not + /// supported. Also, if it includes a filter for "eventCount", only that one + /// will be considered; all the other filters will be ignored. #[prost(message, optional, boxed, tag="2")] pub event_parameter_filter_expression: ::core::option::Option<::prost::alloc::boxed::Box>, } -/// A logical expression of Audience dimension, metric, or event filters. +/// A logical expression of Audience dimension, metric, or event filters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceFilterExpression { - /// The expression applied to a filter. + /// The expression applied to a filter. #[prost(oneof="audience_filter_expression::Expr", tags="1, 2, 3, 4, 5")] pub expr: ::core::option::Option, } /// Nested message and enum types in `AudienceFilterExpression`. pub mod audience_filter_expression { - /// The expression applied to a filter. + /// The expression applied to a filter. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// A list of expressions to be AND’ed together. It can only contain - /// AudienceFilterExpressions with or_group. This must be set for the top - /// level AudienceFilterExpression. + /// A list of expressions to be AND’ed together. It can only contain + /// AudienceFilterExpressions with or_group. This must be set for the top + /// level AudienceFilterExpression. #[prost(message, tag="1")] AndGroup(super::AudienceFilterExpressionList), - /// A list of expressions to OR’ed together. It cannot contain - /// AudienceFilterExpressions with and_group or or_group. + /// A list of expressions to OR’ed together. It cannot contain + /// AudienceFilterExpressions with and_group or or_group. #[prost(message, tag="2")] OrGroup(super::AudienceFilterExpressionList), - /// A filter expression to be NOT'ed (i.e., inverted, complemented). It - /// can only include a dimension_or_metric_filter. This cannot be set on the - /// top level AudienceFilterExpression. + /// A filter expression to be NOT'ed (i.e., inverted, complemented). It + /// can only include a dimension_or_metric_filter. This cannot be set on the + /// top level AudienceFilterExpression. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A filter on a single dimension or metric. This cannot be set on the top - /// level AudienceFilterExpression. + /// A filter on a single dimension or metric. This cannot be set on the top + /// level AudienceFilterExpression. #[prost(message, tag="4")] DimensionOrMetricFilter(super::AudienceDimensionOrMetricFilter), - /// Creates a filter that matches a specific event. This cannot be set on the - /// top level AudienceFilterExpression. + /// Creates a filter that matches a specific event. This cannot be set on the + /// top level AudienceFilterExpression. #[prost(message, tag="5")] EventFilter(::prost::alloc::boxed::Box), } } -/// A list of Audience filter expressions. +/// A list of Audience filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceFilterExpressionList { - /// A list of Audience filter expressions. + /// A list of Audience filter expressions. #[prost(message, repeated, tag="1")] pub filter_expressions: ::prost::alloc::vec::Vec, } -/// Defines a simple filter that a user must satisfy to be a member of the -/// Audience. +/// Defines a simple filter that a user must satisfy to be a member of the +/// Audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSimpleFilter { - /// Required. Immutable. Specifies the scope for this filter. + /// Required. Immutable. Specifies the scope for this filter. #[prost(enumeration="AudienceFilterScope", tag="1")] pub scope: i32, - /// Required. Immutable. A logical expression of Audience dimension, metric, or event filters. + /// Required. Immutable. A logical expression of Audience dimension, metric, or event filters. #[prost(message, optional, tag="2")] pub filter_expression: ::core::option::Option, } -/// Defines filters that must occur in a specific order for the user to be a -/// member of the Audience. +/// Defines filters that must occur in a specific order for the user to be a +/// member of the Audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSequenceFilter { - /// Required. Immutable. Specifies the scope for this filter. + /// Required. Immutable. Specifies the scope for this filter. #[prost(enumeration="AudienceFilterScope", tag="1")] pub scope: i32, - /// Optional. Defines the time period in which the whole sequence must occur. + /// Optional. Defines the time period in which the whole sequence must occur. #[prost(message, optional, tag="2")] pub sequence_maximum_duration: ::core::option::Option<::prost_types::Duration>, - /// Required. An ordered sequence of steps. A user must complete each step in order to - /// join the sequence filter. + /// Required. An ordered sequence of steps. A user must complete each step in order to + /// join the sequence filter. #[prost(message, repeated, tag="3")] pub sequence_steps: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `AudienceSequenceFilter`. pub mod audience_sequence_filter { - /// A condition that must occur in the specified step order for this user - /// to match the sequence. + /// A condition that must occur in the specified step order for this user + /// to match the sequence. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceSequenceStep { - /// Required. Immutable. Specifies the scope for this step. + /// Required. Immutable. Specifies the scope for this step. #[prost(enumeration="super::AudienceFilterScope", tag="1")] pub scope: i32, - /// Optional. If true, the event satisfying this step must be the very next event - /// after the event satisfying the last step. If unset or false, this - /// step indirectly follows the prior step; for example, there may be - /// events between the prior step and this step. It is ignored for the - /// first step. + /// Optional. If true, the event satisfying this step must be the very next event + /// after the event satisfying the last step. If unset or false, this + /// step indirectly follows the prior step; for example, there may be + /// events between the prior step and this step. It is ignored for the + /// first step. #[prost(bool, tag="2")] pub immediately_follows: bool, - /// Optional. When set, this step must be satisfied within the constraint_duration of - /// the previous step (i.e., t\[i\] - t\[i-1\] <= constraint_duration). If not - /// set, there is no duration requirement (the duration is effectively - /// unlimited). It is ignored for the first step. + /// Optional. When set, this step must be satisfied within the constraint_duration of + /// the previous step (i.e., t\[i\] - t\[i-1\] <= constraint_duration). If not + /// set, there is no duration requirement (the duration is effectively + /// unlimited). It is ignored for the first step. #[prost(message, optional, tag="3")] pub constraint_duration: ::core::option::Option<::prost_types::Duration>, - /// Required. Immutable. A logical expression of Audience dimension, metric, or event filters in - /// each step. + /// Required. Immutable. A logical expression of Audience dimension, metric, or event filters in + /// each step. #[prost(message, optional, tag="4")] pub filter_expression: ::core::option::Option, } } -/// A clause for defining either a simple or sequence filter. A filter can be -/// inclusive (i.e., users satisfying the filter clause are included in the -/// Audience) or exclusive (i.e., users satisfying the filter clause are -/// excluded from the Audience). +/// A clause for defining either a simple or sequence filter. A filter can be +/// inclusive (i.e., users satisfying the filter clause are included in the +/// Audience) or exclusive (i.e., users satisfying the filter clause are +/// excluded from the Audience). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceFilterClause { - /// Required. Specifies whether this is an include or exclude filter clause. + /// Required. Specifies whether this is an include or exclude filter clause. #[prost(enumeration="audience_filter_clause::AudienceClauseType", tag="1")] pub clause_type: i32, #[prost(oneof="audience_filter_clause::Filter", tags="2, 3")] @@ -720,15 +720,15 @@ pub struct AudienceFilterClause { } /// Nested message and enum types in `AudienceFilterClause`. pub mod audience_filter_clause { - /// Specifies whether this is an include or exclude filter clause. + /// Specifies whether this is an include or exclude filter clause. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceClauseType { - /// Unspecified clause type. + /// Unspecified clause type. Unspecified = 0, - /// Users will be included in the Audience if the filter clause is met. + /// Users will be included in the Audience if the filter clause is met. Include = 1, - /// Users will be excluded from the Audience if the filter clause is met. + /// Users will be excluded from the Audience if the filter clause is met. Exclude = 2, } impl AudienceClauseType { @@ -746,37 +746,37 @@ pub mod audience_filter_clause { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Filter { - /// A simple filter that a user must satisfy to be a member of the Audience. + /// A simple filter that a user must satisfy to be a member of the Audience. #[prost(message, tag="2")] SimpleFilter(super::AudienceSimpleFilter), - /// Filters that must occur in a specific order for the user to be a member - /// of the Audience. + /// Filters that must occur in a specific order for the user to be a member + /// of the Audience. #[prost(message, tag="3")] SequenceFilter(super::AudienceSequenceFilter), } } -/// Specifies an event to log when a user joins the Audience. +/// Specifies an event to log when a user joins the Audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudienceEventTrigger { - /// Required. The event name that will be logged. + /// Required. The event name that will be logged. #[prost(string, tag="1")] pub event_name: ::prost::alloc::string::String, - /// Required. When to log the event. + /// Required. When to log the event. #[prost(enumeration="audience_event_trigger::LogCondition", tag="2")] pub log_condition: i32, } /// Nested message and enum types in `AudienceEventTrigger`. pub mod audience_event_trigger { - /// Determines when to log the event. + /// Determines when to log the event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogCondition { - /// Log condition is not specified. + /// Log condition is not specified. Unspecified = 0, - /// The event should be logged only when a user is joined. + /// The event should be logged only when a user is joined. AudienceJoined = 1, - /// The event should be logged whenever the Audience condition is met, even - /// if the user is already a member of the Audience. + /// The event should be logged whenever the Audience condition is met, even + /// if the user is already a member of the Audience. AudienceMembershipRenewed = 2, } impl LogCondition { @@ -793,54 +793,54 @@ pub mod audience_event_trigger { } } } -/// A resource message representing a GA4 Audience. +/// A resource message representing a GA4 Audience. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Audience { - /// Output only. The resource name for this Audience resource. - /// Format: properties/{propertyId}/audiences/{audienceId} + /// Output only. The resource name for this Audience resource. + /// Format: properties/{propertyId}/audiences/{audienceId} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the Audience. + /// Required. The display name of the Audience. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. The description of the Audience. + /// Required. The description of the Audience. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more - /// than 540 days. + /// Required. Immutable. The duration a user should stay in an Audience. It cannot be set to more + /// than 540 days. #[prost(int32, tag="4")] pub membership_duration_days: i32, - /// Output only. It is automatically set by GA to false if this is an NPA Audience and is - /// excluded from ads personalization. + /// Output only. It is automatically set by GA to false if this is an NPA Audience and is + /// excluded from ads personalization. #[prost(bool, tag="5")] pub ads_personalization_enabled: bool, - /// Optional. Specifies an event to log when a user joins the Audience. If not set, no - /// event is logged when a user joins the Audience. + /// Optional. Specifies an event to log when a user joins the Audience. If not set, no + /// event is logged when a user joins the Audience. #[prost(message, optional, tag="6")] pub event_trigger: ::core::option::Option, - /// Immutable. Specifies how long an exclusion lasts for users that meet the exclusion - /// filter. It is applied to all EXCLUDE filter clauses and is ignored when - /// there is no EXCLUDE filter clause in the Audience. + /// Immutable. Specifies how long an exclusion lasts for users that meet the exclusion + /// filter. It is applied to all EXCLUDE filter clauses and is ignored when + /// there is no EXCLUDE filter clause in the Audience. #[prost(enumeration="audience::AudienceExclusionDurationMode", tag="7")] pub exclusion_duration_mode: i32, - /// Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed - /// together. + /// Required. Immutable. null Filter clauses that define the Audience. All clauses will be AND’ed + /// together. #[prost(message, repeated, tag="8")] pub filter_clauses: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Audience`. pub mod audience { - /// Specifies how long an exclusion lasts for users that meet the exclusion - /// filter. + /// Specifies how long an exclusion lasts for users that meet the exclusion + /// filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceExclusionDurationMode { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Exclude users from the Audience during periods when they meet the - /// filter clause. + /// Exclude users from the Audience during periods when they meet the + /// filter clause. ExcludeTemporarily = 1, - /// Exclude users from the Audience if they've ever met the filter clause. + /// Exclude users from the Audience if they've ever met the filter clause. ExcludePermanently = 2, } impl AudienceExclusionDurationMode { @@ -857,20 +857,20 @@ pub mod audience { } } } -/// Specifies how to evaluate users for joining an Audience. +/// Specifies how to evaluate users for joining an Audience. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudienceFilterScope { - /// Scope is not specified. + /// Scope is not specified. Unspecified = 0, - /// User joins the Audience if the filter condition is met within one - /// event. + /// User joins the Audience if the filter condition is met within one + /// event. WithinSameEvent = 1, - /// User joins the Audience if the filter condition is met within one - /// session. + /// User joins the Audience if the filter condition is met within one + /// session. WithinSameSession = 2, - /// User joins the Audience if the filter condition is met by any event - /// across any session. + /// User joins the Audience if the filter condition is met by any event + /// across any session. AcrossAllSessions = 3, } impl AudienceFilterScope { @@ -887,185 +887,185 @@ impl AudienceFilterScope { } } } -/// A resource message representing a Google Analytics account. +/// A resource message representing a Google Analytics account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Account { - /// Output only. Resource name of this account. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Output only. Resource name of this account. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Time when this account was originally created. + /// Output only. Time when this account was originally created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when account payload fields were last updated. + /// Output only. Time when account payload fields were last updated. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Human-readable display name for this account. + /// Required. Human-readable display name for this account. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Country of business. Must be a Unicode CLDR region code. + /// Country of business. Must be a Unicode CLDR region code. #[prost(string, tag="5")] pub region_code: ::prost::alloc::string::String, - /// Output only. Indicates whether this Account is soft-deleted or not. Deleted - /// accounts are excluded from List results unless specifically requested. + /// Output only. Indicates whether this Account is soft-deleted or not. Deleted + /// accounts are excluded from List results unless specifically requested. #[prost(bool, tag="6")] pub deleted: bool, } -/// A resource message representing a Google Analytics GA4 property. +/// A resource message representing a Google Analytics GA4 property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Property { - /// Output only. Resource name of this property. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Output only. Resource name of this property. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The property type for this Property resource. When creating a property, if - /// the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - /// implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - /// via Google Analytics Admin API. + /// Immutable. The property type for this Property resource. When creating a property, if + /// the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be + /// implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created + /// via Google Analytics Admin API. #[prost(enumeration="PropertyType", tag="14")] pub property_type: i32, - /// Output only. Time when the entity was originally created. + /// Output only. Time when the entity was originally created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when entity payload fields were last updated. + /// Output only. Time when entity payload fields were last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. Resource name of this property's logical parent. + /// Immutable. Resource name of this property's logical parent. /// - /// Note: The Property-Moving UI can be used to change the parent. - /// Format: accounts/{account}, properties/{property} - /// Example: "accounts/100", "properties/101" + /// Note: The Property-Moving UI can be used to change the parent. + /// Format: accounts/{account}, properties/{property} + /// Example: "accounts/100", "properties/101" #[prost(string, tag="2")] pub parent: ::prost::alloc::string::String, - /// Required. Human-readable display name for this property. + /// Required. Human-readable display name for this property. /// - /// The max allowed display name length is 100 UTF-16 code units. + /// The max allowed display name length is 100 UTF-16 code units. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Industry associated with this property - /// Example: AUTOMOTIVE, FOOD_AND_DRINK + /// Industry associated with this property + /// Example: AUTOMOTIVE, FOOD_AND_DRINK #[prost(enumeration="IndustryCategory", tag="6")] pub industry_category: i32, - /// Required. Reporting Time Zone, used as the day boundary for reports, regardless of - /// where the data originates. If the time zone honors DST, Analytics will - /// automatically adjust for the changes. + /// Required. Reporting Time Zone, used as the day boundary for reports, regardless of + /// where the data originates. If the time zone honors DST, Analytics will + /// automatically adjust for the changes. /// - /// NOTE: Changing the time zone only affects data going forward, and is not - /// applied retroactively. + /// NOTE: Changing the time zone only affects data going forward, and is not + /// applied retroactively. /// - /// Format: - /// Example: "America/Los_Angeles" + /// Format: + /// Example: "America/Los_Angeles" #[prost(string, tag="7")] pub time_zone: ::prost::alloc::string::String, - /// The currency type used in reports involving monetary values. + /// The currency type used in reports involving monetary values. /// /// - /// Format: - /// Examples: "USD", "EUR", "JPY" + /// Format: + /// Examples: "USD", "EUR", "JPY" #[prost(string, tag="8")] pub currency_code: ::prost::alloc::string::String, - /// Output only. The Google Analytics service level that applies to this property. + /// Output only. The Google Analytics service level that applies to this property. #[prost(enumeration="ServiceLevel", tag="10")] pub service_level: i32, - /// Output only. If set, the time at which this property was trashed. If not set, then this - /// property is not currently in the trash can. + /// Output only. If set, the time at which this property was trashed. If not set, then this + /// property is not currently in the trash can. #[prost(message, optional, tag="11")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. If set, the time at which this trashed property will be permanently - /// deleted. If not set, then this property is not currently in the trash can - /// and is not slated to be deleted. + /// Output only. If set, the time at which this trashed property will be permanently + /// deleted. If not set, then this property is not currently in the trash can + /// and is not slated to be deleted. #[prost(message, optional, tag="12")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. The resource name of the parent account - /// Format: accounts/{account_id} - /// Example: "accounts/123" + /// Immutable. The resource name of the parent account + /// Format: accounts/{account_id} + /// Example: "accounts/123" #[prost(string, tag="13")] pub account: ::prost::alloc::string::String, } -/// A resource message representing a data stream. +/// A resource message representing a data stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataStream { - /// Output only. Resource name of this Data Stream. - /// Format: properties/{property_id}/dataStreams/{stream_id} - /// Example: "properties/1000/dataStreams/2000" + /// Output only. Resource name of this Data Stream. + /// Format: properties/{property_id}/dataStreams/{stream_id} + /// Example: "properties/1000/dataStreams/2000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of this DataStream resource. + /// Required. Immutable. The type of this DataStream resource. #[prost(enumeration="data_stream::DataStreamType", tag="2")] pub r#type: i32, - /// Human-readable display name for the Data Stream. + /// Human-readable display name for the Data Stream. /// - /// Required for web data streams. + /// Required for web data streams. /// - /// The max allowed display name length is 255 UTF-16 code units. + /// The max allowed display name length is 255 UTF-16 code units. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Time when this stream was originally created. + /// Output only. Time when this stream was originally created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when stream payload fields were last updated. + /// Output only. Time when stream payload fields were last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Data for specific data stream types. The message that will be - /// set corresponds to the type of this stream. + /// Data for specific data stream types. The message that will be + /// set corresponds to the type of this stream. #[prost(oneof="data_stream::StreamData", tags="6, 7, 8")] pub stream_data: ::core::option::Option, } /// Nested message and enum types in `DataStream`. pub mod data_stream { - /// Data specific to web streams. + /// Data specific to web streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebStreamData { - /// Output only. Analytics "Measurement ID", without the "G-" prefix. - /// Example: "G-1A2BCD345E" would just be "1A2BCD345E" + /// Output only. Analytics "Measurement ID", without the "G-" prefix. + /// Example: "G-1A2BCD345E" would just be "1A2BCD345E" #[prost(string, tag="1")] pub measurement_id: ::prost::alloc::string::String, - /// Output only. ID of the corresponding web app in Firebase, if any. - /// This ID can change if the web app is deleted and recreated. + /// Output only. ID of the corresponding web app in Firebase, if any. + /// This ID can change if the web app is deleted and recreated. #[prost(string, tag="2")] pub firebase_app_id: ::prost::alloc::string::String, - /// Immutable. Domain name of the web app being measured, or empty. - /// Example: " " + /// Immutable. Domain name of the web app being measured, or empty. + /// Example: " " #[prost(string, tag="3")] pub default_uri: ::prost::alloc::string::String, } - /// Data specific to Android app streams. + /// Data specific to Android app streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AndroidAppStreamData { - /// Output only. ID of the corresponding Android app in Firebase, if any. - /// This ID can change if the Android app is deleted and recreated. + /// Output only. ID of the corresponding Android app in Firebase, if any. + /// This ID can change if the Android app is deleted and recreated. #[prost(string, tag="1")] pub firebase_app_id: ::prost::alloc::string::String, - /// Immutable. The package name for the app being measured. - /// Example: "com.example.myandroidapp" + /// Immutable. The package name for the app being measured. + /// Example: "com.example.myandroidapp" #[prost(string, tag="2")] pub package_name: ::prost::alloc::string::String, } - /// Data specific to iOS app streams. + /// Data specific to iOS app streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IosAppStreamData { - /// Output only. ID of the corresponding iOS app in Firebase, if any. - /// This ID can change if the iOS app is deleted and recreated. + /// Output only. ID of the corresponding iOS app in Firebase, if any. + /// This ID can change if the iOS app is deleted and recreated. #[prost(string, tag="1")] pub firebase_app_id: ::prost::alloc::string::String, - /// Required. Immutable. The Apple App Store Bundle ID for the app - /// Example: "com.example.myiosapp" + /// Required. Immutable. The Apple App Store Bundle ID for the app + /// Example: "com.example.myiosapp" #[prost(string, tag="2")] pub bundle_id: ::prost::alloc::string::String, } - /// The type of the data stream. + /// The type of the data stream. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataStreamType { - /// Type unknown or not specified. + /// Type unknown or not specified. Unspecified = 0, - /// Web data stream. + /// Web data stream. WebDataStream = 1, - /// Android app data stream. + /// Android app data stream. AndroidAppDataStream = 2, - /// iOS app data stream. + /// iOS app data stream. IosAppDataStream = 3, } impl DataStreamType { @@ -1082,281 +1082,281 @@ pub mod data_stream { } } } - /// Data for specific data stream types. The message that will be - /// set corresponds to the type of this stream. + /// Data for specific data stream types. The message that will be + /// set corresponds to the type of this stream. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StreamData { - /// Data specific to web streams. Must be populated if type is - /// WEB_DATA_STREAM. + /// Data specific to web streams. Must be populated if type is + /// WEB_DATA_STREAM. #[prost(message, tag="6")] WebStreamData(WebStreamData), - /// Data specific to Android app streams. Must be populated if type is - /// ANDROID_APP_DATA_STREAM. + /// Data specific to Android app streams. Must be populated if type is + /// ANDROID_APP_DATA_STREAM. #[prost(message, tag="7")] AndroidAppStreamData(AndroidAppStreamData), - /// Data specific to iOS app streams. Must be populated if type is - /// IOS_APP_DATA_STREAM. + /// Data specific to iOS app streams. Must be populated if type is + /// IOS_APP_DATA_STREAM. #[prost(message, tag="8")] IosAppStreamData(IosAppStreamData), } } -/// A resource message representing a user's permissions on an Account or -/// Property resource. +/// A resource message representing a user's permissions on an Account or +/// Property resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserLink { - /// Output only. Example format: properties/1234/userLinks/5678 + /// Output only. Example format: properties/1234/userLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Email address of the user to link + /// Immutable. Email address of the user to link #[prost(string, tag="2")] pub email_address: ::prost::alloc::string::String, - /// Roles directly assigned to this user for this account or property. + /// Roles directly assigned to this user for this account or property. /// - /// Valid values: - /// predefinedRoles/viewer - /// predefinedRoles/analyst - /// predefinedRoles/editor - /// predefinedRoles/admin - /// predefinedRoles/no-cost-data - /// predefinedRoles/no-revenue-data + /// Valid values: + /// predefinedRoles/viewer + /// predefinedRoles/analyst + /// predefinedRoles/editor + /// predefinedRoles/admin + /// predefinedRoles/no-cost-data + /// predefinedRoles/no-revenue-data /// - /// Excludes roles that are inherited from a higher-level entity, group, - /// or organization admin role. + /// Excludes roles that are inherited from a higher-level entity, group, + /// or organization admin role. /// - /// A UserLink that is updated to have an empty list of direct_roles will be - /// deleted. + /// A UserLink that is updated to have an empty list of direct_roles will be + /// deleted. #[prost(string, repeated, tag="3")] pub direct_roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Read-only resource used to summarize a principal's effective roles. +/// Read-only resource used to summarize a principal's effective roles. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditUserLink { - /// Example format: properties/1234/userLinks/5678 + /// Example format: properties/1234/userLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Email address of the linked user + /// Email address of the linked user #[prost(string, tag="2")] pub email_address: ::prost::alloc::string::String, - /// Roles directly assigned to this user for this entity. + /// Roles directly assigned to this user for this entity. /// - /// Format: predefinedRoles/viewer + /// Format: predefinedRoles/viewer /// - /// Excludes roles that are inherited from an account (if this is for a - /// property), group, or organization admin role. + /// Excludes roles that are inherited from an account (if this is for a + /// property), group, or organization admin role. #[prost(string, repeated, tag="3")] pub direct_roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Union of all permissions a user has at this account or property (includes - /// direct permissions, group-inherited permissions, etc.). + /// Union of all permissions a user has at this account or property (includes + /// direct permissions, group-inherited permissions, etc.). /// - /// Format: predefinedRoles/viewer + /// Format: predefinedRoles/viewer #[prost(string, repeated, tag="4")] pub effective_roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A link between a GA4 property and a Firebase project. +/// A link between a GA4 property and a Firebase project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirebaseLink { - /// Output only. Example format: properties/1234/firebaseLinks/5678 + /// Output only. Example format: properties/1234/firebaseLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Firebase project resource name. When creating a FirebaseLink, you may - /// provide this resource name using either a project number or project ID. - /// Once this resource has been created, returned FirebaseLinks will always - /// have a project_name that contains a project number. + /// Immutable. Firebase project resource name. When creating a FirebaseLink, you may + /// provide this resource name using either a project number or project ID. + /// Once this resource has been created, returned FirebaseLinks will always + /// have a project_name that contains a project number. /// - /// Format: 'projects/{project number}' - /// Example: 'projects/1234' + /// Format: 'projects/{project number}' + /// Example: 'projects/1234' #[prost(string, tag="2")] pub project: ::prost::alloc::string::String, - /// Output only. Time when this FirebaseLink was originally created. + /// Output only. Time when this FirebaseLink was originally created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Read-only resource with the tag for sending data from a website to a -/// DataStream. Only present for web DataStream resources. +/// Read-only resource with the tag for sending data from a website to a +/// DataStream. Only present for web DataStream resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalSiteTag { - /// Output only. Resource name for this GlobalSiteTag resource. - /// Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - /// Example: "properties/123/dataStreams/456/globalSiteTag" + /// Output only. Resource name for this GlobalSiteTag resource. + /// Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + /// Example: "properties/123/dataStreams/456/globalSiteTag" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. JavaScript code snippet to be pasted as the first item into the head tag of - /// every webpage to measure. + /// Immutable. JavaScript code snippet to be pasted as the first item into the head tag of + /// every webpage to measure. #[prost(string, tag="2")] pub snippet: ::prost::alloc::string::String, } -/// A link between a GA4 property and a Google Ads account. +/// A link between a GA4 property and a Google Ads account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsLink { - /// Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + /// Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} /// - /// Note: googleAdsLinkId is not the Google Ads customer ID. + /// Note: googleAdsLinkId is not the Google Ads customer ID. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Google Ads customer ID. + /// Immutable. Google Ads customer ID. #[prost(string, tag="3")] pub customer_id: ::prost::alloc::string::String, - /// Output only. If true, this link is for a Google Ads manager account. + /// Output only. If true, this link is for a Google Ads manager account. #[prost(bool, tag="4")] pub can_manage_clients: bool, - /// Enable personalized advertising features with this integration. - /// Automatically publish my Google Analytics audience lists and Google - /// Analytics remarketing events/parameters to the linked Google Ads account. - /// If this field is not set on create/update, it will be defaulted to true. + /// Enable personalized advertising features with this integration. + /// Automatically publish my Google Analytics audience lists and Google + /// Analytics remarketing events/parameters to the linked Google Ads account. + /// If this field is not set on create/update, it will be defaulted to true. #[prost(message, optional, tag="5")] pub ads_personalization_enabled: ::core::option::Option, - /// Output only. Time when this link was originally created. + /// Output only. Time when this link was originally created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when this link was last updated. + /// Output only. Time when this link was last updated. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Email address of the user that created the link. - /// An empty string will be returned if the email address can't be retrieved. + /// Output only. Email address of the user that created the link. + /// An empty string will be returned if the email address can't be retrieved. #[prost(string, tag="9")] pub creator_email_address: ::prost::alloc::string::String, } -/// A resource message representing data sharing settings of a Google Analytics -/// account. +/// A resource message representing data sharing settings of a Google Analytics +/// account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSharingSettings { - /// Output only. Resource name. - /// Format: accounts/{account}/dataSharingSettings - /// Example: "accounts/1000/dataSharingSettings" + /// Output only. Resource name. + /// Format: accounts/{account}/dataSharingSettings + /// Example: "accounts/1000/dataSharingSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Allows Google support to access the data in order to help troubleshoot - /// issues. + /// Allows Google support to access the data in order to help troubleshoot + /// issues. #[prost(bool, tag="2")] pub sharing_with_google_support_enabled: bool, - /// Allows Google sales teams that are assigned to the customer to access the - /// data in order to suggest configuration changes to improve results. - /// Sales team restrictions still apply when enabled. + /// Allows Google sales teams that are assigned to the customer to access the + /// data in order to suggest configuration changes to improve results. + /// Sales team restrictions still apply when enabled. #[prost(bool, tag="3")] pub sharing_with_google_assigned_sales_enabled: bool, - /// Allows any of Google sales to access the data in order to suggest - /// configuration changes to improve results. + /// Allows any of Google sales to access the data in order to suggest + /// configuration changes to improve results. #[prost(bool, tag="4")] pub sharing_with_google_any_sales_enabled: bool, - /// Allows Google to use the data to improve other Google products or services. + /// Allows Google to use the data to improve other Google products or services. #[prost(bool, tag="5")] pub sharing_with_google_products_enabled: bool, - /// Allows Google to share the data anonymously in aggregate form with others. + /// Allows Google to share the data anonymously in aggregate form with others. #[prost(bool, tag="6")] pub sharing_with_others_enabled: bool, } -/// A virtual resource representing an overview of an account and -/// all its child GA4 properties. +/// A virtual resource representing an overview of an account and +/// all its child GA4 properties. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountSummary { - /// Resource name for this account summary. - /// Format: accountSummaries/{account_id} - /// Example: "accountSummaries/1000" + /// Resource name for this account summary. + /// Format: accountSummaries/{account_id} + /// Example: "accountSummaries/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Resource name of account referred to by this account summary - /// Format: accounts/{account_id} - /// Example: "accounts/1000" + /// Resource name of account referred to by this account summary + /// Format: accounts/{account_id} + /// Example: "accounts/1000" #[prost(string, tag="2")] pub account: ::prost::alloc::string::String, - /// Display name for the account referred to in this account summary. + /// Display name for the account referred to in this account summary. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// List of summaries for child accounts of this account. + /// List of summaries for child accounts of this account. #[prost(message, repeated, tag="4")] pub property_summaries: ::prost::alloc::vec::Vec, } -/// A virtual resource representing metadata for a GA4 property. +/// A virtual resource representing metadata for a GA4 property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertySummary { - /// Resource name of property referred to by this property summary - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Resource name of property referred to by this property summary + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Display name for the property referred to in this property summary. + /// Display name for the property referred to in this property summary. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The property's property type. + /// The property's property type. #[prost(enumeration="PropertyType", tag="3")] pub property_type: i32, - /// Resource name of this property's logical parent. + /// Resource name of this property's logical parent. /// - /// Note: The Property-Moving UI can be used to change the parent. - /// Format: accounts/{account}, properties/{property} - /// Example: "accounts/100", "properties/200" + /// Note: The Property-Moving UI can be used to change the parent. + /// Format: accounts/{account}, properties/{property} + /// Example: "accounts/100", "properties/200" #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, } -/// A secret value used for sending hits to Measurement Protocol. +/// A secret value used for sending hits to Measurement Protocol. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MeasurementProtocolSecret { - /// Output only. Resource name of this secret. This secret may be a child of any type of - /// stream. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Output only. Resource name of this secret. This secret may be a child of any type of + /// stream. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name for this secret. + /// Required. Human-readable display name for this secret. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The measurement protocol secret value. Pass this value to the api_secret - /// field of the Measurement Protocol API when sending hits to this - /// secret's parent property. + /// Output only. The measurement protocol secret value. Pass this value to the api_secret + /// field of the Measurement Protocol API when sending hits to this + /// secret's parent property. #[prost(string, tag="3")] pub secret_value: ::prost::alloc::string::String, } -/// A set of changes within a Google Analytics account or its child properties -/// that resulted from the same cause. Common causes would be updates made in the -/// Google Analytics UI, changes from customer support, or automatic Google -/// Analytics system changes. +/// A set of changes within a Google Analytics account or its child properties +/// that resulted from the same cause. Common causes would be updates made in the +/// Google Analytics UI, changes from customer support, or automatic Google +/// Analytics system changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryEvent { - /// ID of this change history event. This ID is unique across Google Analytics. + /// ID of this change history event. This ID is unique across Google Analytics. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Time when change was made. + /// Time when change was made. #[prost(message, optional, tag="2")] pub change_time: ::core::option::Option<::prost_types::Timestamp>, - /// The type of actor that made this change. + /// The type of actor that made this change. #[prost(enumeration="ActorType", tag="3")] pub actor_type: i32, - /// Email address of the Google account that made the change. This will be a - /// valid email address if the actor field is set to USER, and empty otherwise. - /// Google accounts that have been deleted will cause an error. + /// Email address of the Google account that made the change. This will be a + /// valid email address if the actor field is set to USER, and empty otherwise. + /// Google accounts that have been deleted will cause an error. #[prost(string, tag="4")] pub user_actor_email: ::prost::alloc::string::String, - /// If true, then the list of changes returned was filtered, and does not - /// represent all changes that occurred in this event. + /// If true, then the list of changes returned was filtered, and does not + /// represent all changes that occurred in this event. #[prost(bool, tag="5")] pub changes_filtered: bool, - /// A list of changes made in this change history event that fit the filters - /// specified in SearchChangeHistoryEventsRequest. + /// A list of changes made in this change history event that fit the filters + /// specified in SearchChangeHistoryEventsRequest. #[prost(message, repeated, tag="6")] pub changes: ::prost::alloc::vec::Vec, } -/// A description of a change to a single Google Analytics resource. +/// A description of a change to a single Google Analytics resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryChange { - /// Resource name of the resource whose changes are described by this entry. + /// Resource name of the resource whose changes are described by this entry. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The type of action that changed this resource. + /// The type of action that changed this resource. #[prost(enumeration="ActionType", tag="2")] pub action: i32, - /// Resource contents from before the change was made. If this resource was - /// created in this change, this field will be missing. + /// Resource contents from before the change was made. If this resource was + /// created in this change, this field will be missing. #[prost(message, optional, tag="3")] pub resource_before_change: ::core::option::Option, - /// Resource contents from after the change was made. If this resource was - /// deleted in this change, this field will be missing. + /// Resource contents from after the change was made. If this resource was + /// deleted in this change, this field will be missing. #[prost(message, optional, tag="4")] pub resource_after_change: ::core::option::Option, } /// Nested message and enum types in `ChangeHistoryChange`. pub mod change_history_change { - /// A snapshot of a resource as before or after the result of a change in - /// change history. + /// A snapshot of a resource as before or after the result of a change in + /// change history. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryResource { #[prost(oneof="change_history_resource::Resource", tags="1, 2, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 18, 20")] @@ -1366,236 +1366,236 @@ pub mod change_history_change { pub mod change_history_resource { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resource { - /// A snapshot of an Account resource in change history. + /// A snapshot of an Account resource in change history. #[prost(message, tag="1")] Account(super::super::Account), - /// A snapshot of a Property resource in change history. + /// A snapshot of a Property resource in change history. #[prost(message, tag="2")] Property(super::super::Property), - /// A snapshot of a FirebaseLink resource in change history. + /// A snapshot of a FirebaseLink resource in change history. #[prost(message, tag="6")] FirebaseLink(super::super::FirebaseLink), - /// A snapshot of a GoogleAdsLink resource in change history. + /// A snapshot of a GoogleAdsLink resource in change history. #[prost(message, tag="7")] GoogleAdsLink(super::super::GoogleAdsLink), - /// A snapshot of a GoogleSignalsSettings resource in change history. + /// A snapshot of a GoogleSignalsSettings resource in change history. #[prost(message, tag="8")] GoogleSignalsSettings(super::super::GoogleSignalsSettings), - /// A snapshot of a DisplayVideo360AdvertiserLink resource in change - /// history. + /// A snapshot of a DisplayVideo360AdvertiserLink resource in change + /// history. #[prost(message, tag="9")] DisplayVideo360AdvertiserLink(super::super::DisplayVideo360AdvertiserLink), - /// A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in - /// change history. + /// A snapshot of a DisplayVideo360AdvertiserLinkProposal resource in + /// change history. #[prost(message, tag="10")] DisplayVideo360AdvertiserLinkProposal(super::super::DisplayVideo360AdvertiserLinkProposal), - /// A snapshot of a ConversionEvent resource in change history. + /// A snapshot of a ConversionEvent resource in change history. #[prost(message, tag="11")] ConversionEvent(super::super::ConversionEvent), - /// A snapshot of a MeasurementProtocolSecret resource in change history. + /// A snapshot of a MeasurementProtocolSecret resource in change history. #[prost(message, tag="12")] MeasurementProtocolSecret(super::super::MeasurementProtocolSecret), - /// A snapshot of a CustomDimension resource in change history. + /// A snapshot of a CustomDimension resource in change history. #[prost(message, tag="13")] CustomDimension(super::super::CustomDimension), - /// A snapshot of a CustomMetric resource in change history. + /// A snapshot of a CustomMetric resource in change history. #[prost(message, tag="14")] CustomMetric(super::super::CustomMetric), - /// A snapshot of a data retention settings resource in change history. + /// A snapshot of a data retention settings resource in change history. #[prost(message, tag="15")] DataRetentionSettings(super::super::DataRetentionSettings), - /// A snapshot of a DataStream resource in change history. + /// A snapshot of a DataStream resource in change history. #[prost(message, tag="18")] DataStream(super::super::DataStream), - /// A snapshot of AttributionSettings resource in change history. + /// A snapshot of AttributionSettings resource in change history. #[prost(message, tag="20")] AttributionSettings(super::super::AttributionSettings), } } } -/// A link between a GA4 property and a Display & Video 360 advertiser. +/// A link between a GA4 property and a Display & Video 360 advertiser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayVideo360AdvertiserLink { - /// Output only. The resource name for this DisplayVideo360AdvertiserLink resource. - /// Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} + /// Output only. The resource name for this DisplayVideo360AdvertiserLink resource. + /// Format: properties/{propertyId}/displayVideo360AdvertiserLinks/{linkId} /// - /// Note: linkId is not the Display & Video 360 Advertiser ID + /// Note: linkId is not the Display & Video 360 Advertiser ID #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The Display & Video 360 Advertiser's advertiser ID. + /// Immutable. The Display & Video 360 Advertiser's advertiser ID. #[prost(string, tag="2")] pub advertiser_id: ::prost::alloc::string::String, - /// Output only. The display name of the Display & Video 360 Advertiser. + /// Output only. The display name of the Display & Video 360 Advertiser. #[prost(string, tag="3")] pub advertiser_display_name: ::prost::alloc::string::String, - /// Enables personalized advertising features with this integration. - /// If this field is not set on create/update, it will be defaulted to true. + /// Enables personalized advertising features with this integration. + /// If this field is not set on create/update, it will be defaulted to true. #[prost(message, optional, tag="4")] pub ads_personalization_enabled: ::core::option::Option, - /// Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 - /// property. After link creation, this can only be updated from the Display & - /// Video 360 product. - /// If this field is not set on create, it will be defaulted to true. + /// Immutable. Enables the import of campaign data from Display & Video 360 into the GA4 + /// property. After link creation, this can only be updated from the Display & + /// Video 360 product. + /// If this field is not set on create, it will be defaulted to true. #[prost(message, optional, tag="5")] pub campaign_data_sharing_enabled: ::core::option::Option, - /// Immutable. Enables the import of cost data from Display & Video 360 into the GA4 - /// property. This can only be enabled if campaign_data_sharing_enabled is - /// enabled. After link creation, this can only be updated from the Display & - /// Video 360 product. - /// If this field is not set on create, it will be defaulted to true. + /// Immutable. Enables the import of cost data from Display & Video 360 into the GA4 + /// property. This can only be enabled if campaign_data_sharing_enabled is + /// enabled. After link creation, this can only be updated from the Display & + /// Video 360 product. + /// If this field is not set on create, it will be defaulted to true. #[prost(message, optional, tag="6")] pub cost_data_sharing_enabled: ::core::option::Option, } -/// A proposal for a link between a GA4 property and a Display & Video 360 -/// advertiser. +/// A proposal for a link between a GA4 property and a Display & Video 360 +/// advertiser. /// -/// A proposal is converted to a DisplayVideo360AdvertiserLink once approved. -/// Google Analytics admins approve inbound proposals while Display & Video 360 -/// admins approve outbound proposals. +/// A proposal is converted to a DisplayVideo360AdvertiserLink once approved. +/// Google Analytics admins approve inbound proposals while Display & Video 360 +/// admins approve outbound proposals. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayVideo360AdvertiserLinkProposal { - /// Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. - /// Format: - /// properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} + /// Output only. The resource name for this DisplayVideo360AdvertiserLinkProposal resource. + /// Format: + /// properties/{propertyId}/displayVideo360AdvertiserLinkProposals/{proposalId} /// - /// Note: proposalId is not the Display & Video 360 Advertiser ID + /// Note: proposalId is not the Display & Video 360 Advertiser ID #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The Display & Video 360 Advertiser's advertiser ID. + /// Immutable. The Display & Video 360 Advertiser's advertiser ID. #[prost(string, tag="2")] pub advertiser_id: ::prost::alloc::string::String, - /// Output only. The status information for this link proposal. + /// Output only. The status information for this link proposal. #[prost(message, optional, tag="3")] pub link_proposal_status_details: ::core::option::Option, - /// Output only. The display name of the Display & Video Advertiser. - /// Only populated for proposals that originated from Display & Video 360. + /// Output only. The display name of the Display & Video Advertiser. + /// Only populated for proposals that originated from Display & Video 360. #[prost(string, tag="4")] pub advertiser_display_name: ::prost::alloc::string::String, - /// Input only. On a proposal being sent to Display & Video 360, this field must be set to - /// the email address of an admin on the target advertiser. This is used to - /// verify that the Google Analytics admin is aware of at least one admin on - /// the Display & Video 360 Advertiser. This does not restrict approval of the - /// proposal to a single user. Any admin on the Display & Video 360 Advertiser - /// may approve the proposal. + /// Input only. On a proposal being sent to Display & Video 360, this field must be set to + /// the email address of an admin on the target advertiser. This is used to + /// verify that the Google Analytics admin is aware of at least one admin on + /// the Display & Video 360 Advertiser. This does not restrict approval of the + /// proposal to a single user. Any admin on the Display & Video 360 Advertiser + /// may approve the proposal. #[prost(string, tag="5")] pub validation_email: ::prost::alloc::string::String, - /// Immutable. Enables personalized advertising features with this integration. - /// If this field is not set on create, it will be defaulted to true. + /// Immutable. Enables personalized advertising features with this integration. + /// If this field is not set on create, it will be defaulted to true. #[prost(message, optional, tag="6")] pub ads_personalization_enabled: ::core::option::Option, - /// Immutable. Enables the import of campaign data from Display & Video 360. - /// If this field is not set on create, it will be defaulted to true. + /// Immutable. Enables the import of campaign data from Display & Video 360. + /// If this field is not set on create, it will be defaulted to true. #[prost(message, optional, tag="7")] pub campaign_data_sharing_enabled: ::core::option::Option, - /// Immutable. Enables the import of cost data from Display & Video 360. - /// This can only be enabled if campaign_data_sharing_enabled is enabled. - /// If this field is not set on create, it will be defaulted to true. + /// Immutable. Enables the import of cost data from Display & Video 360. + /// This can only be enabled if campaign_data_sharing_enabled is enabled. + /// If this field is not set on create, it will be defaulted to true. #[prost(message, optional, tag="8")] pub cost_data_sharing_enabled: ::core::option::Option, } -/// Status information for a link proposal. +/// Status information for a link proposal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LinkProposalStatusDetails { - /// Output only. The source of this proposal. + /// Output only. The source of this proposal. #[prost(enumeration="LinkProposalInitiatingProduct", tag="1")] pub link_proposal_initiating_product: i32, - /// Output only. The email address of the user that proposed this linkage. + /// Output only. The email address of the user that proposed this linkage. #[prost(string, tag="2")] pub requestor_email: ::prost::alloc::string::String, - /// Output only. The state of this proposal. + /// Output only. The state of this proposal. #[prost(enumeration="LinkProposalState", tag="3")] pub link_proposal_state: i32, } -/// A conversion event in a Google Analytics property. +/// A conversion event in a Google Analytics property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionEvent { - /// Output only. Resource name of this conversion event. - /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Output only. Resource name of this conversion event. + /// Format: properties/{property}/conversionEvents/{conversion_event} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The event name for this conversion event. - /// Examples: 'click', 'purchase' + /// Immutable. The event name for this conversion event. + /// Examples: 'click', 'purchase' #[prost(string, tag="2")] pub event_name: ::prost::alloc::string::String, - /// Output only. Time when this conversion event was created in the property. + /// Output only. Time when this conversion event was created in the property. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. If set, this event can currently be deleted via DeleteConversionEvent. + /// Output only. If set, this event can currently be deleted via DeleteConversionEvent. #[prost(bool, tag="4")] pub deletable: bool, - /// Output only. If set to true, this conversion event refers to a custom event. If set to - /// false, this conversion event refers to a default event in GA. Default - /// events typically have special meaning in GA. Default events are usually - /// created for you by the GA system, but in some cases can be created by - /// property admins. Custom events count towards the maximum number of - /// custom conversion events that may be created per property. + /// Output only. If set to true, this conversion event refers to a custom event. If set to + /// false, this conversion event refers to a default event in GA. Default + /// events typically have special meaning in GA. Default events are usually + /// created for you by the GA system, but in some cases can be created by + /// property admins. Custom events count towards the maximum number of + /// custom conversion events that may be created per property. #[prost(bool, tag="5")] pub custom: bool, } -/// Settings values for Google Signals. This is a singleton resource. +/// Settings values for Google Signals. This is a singleton resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleSignalsSettings { - /// Output only. Resource name of this setting. - /// Format: properties/{property_id}/googleSignalsSettings - /// Example: "properties/1000/googleSignalsSettings" + /// Output only. Resource name of this setting. + /// Format: properties/{property_id}/googleSignalsSettings + /// Example: "properties/1000/googleSignalsSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Status of this setting. + /// Status of this setting. #[prost(enumeration="GoogleSignalsState", tag="3")] pub state: i32, - /// Output only. Terms of Service acceptance. + /// Output only. Terms of Service acceptance. #[prost(enumeration="GoogleSignalsConsent", tag="4")] pub consent: i32, } -/// A definition for a CustomDimension. +/// A definition for a CustomDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomDimension { - /// Output only. Resource name for this CustomDimension resource. - /// Format: properties/{property}/customDimensions/{customDimension} + /// Output only. Resource name for this CustomDimension resource. + /// Format: properties/{property}/customDimensions/{customDimension} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Tagging parameter name for this custom dimension. + /// Required. Immutable. Tagging parameter name for this custom dimension. /// - /// If this is a user-scoped dimension, then this is the user property name. - /// If this is an event-scoped dimension, then this is the event parameter - /// name. + /// If this is a user-scoped dimension, then this is the user property name. + /// If this is an event-scoped dimension, then this is the event parameter + /// name. /// - /// May only contain alphanumeric and underscore characters, starting with a - /// letter. Max length of 24 characters for user-scoped dimensions, 40 - /// characters for event-scoped dimensions. + /// May only contain alphanumeric and underscore characters, starting with a + /// letter. Max length of 24 characters for user-scoped dimensions, 40 + /// characters for event-scoped dimensions. #[prost(string, tag="2")] pub parameter_name: ::prost::alloc::string::String, - /// Required. Display name for this custom dimension as shown in the Analytics UI. - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. + /// Required. Display name for this custom dimension as shown in the Analytics UI. + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description for this custom dimension. Max length of 150 characters. + /// Optional. Description for this custom dimension. Max length of 150 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. The scope of this dimension. + /// Required. Immutable. The scope of this dimension. #[prost(enumeration="custom_dimension::DimensionScope", tag="5")] pub scope: i32, - /// Optional. If set to true, sets this dimension as NPA and excludes it from ads - /// personalization. + /// Optional. If set to true, sets this dimension as NPA and excludes it from ads + /// personalization. /// - /// This is currently only supported by user-scoped custom dimensions. + /// This is currently only supported by user-scoped custom dimensions. #[prost(bool, tag="6")] pub disallow_ads_personalization: bool, } /// Nested message and enum types in `CustomDimension`. pub mod custom_dimension { - /// Valid values for the scope of this dimension. + /// Valid values for the scope of this dimension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DimensionScope { - /// Scope unknown or not specified. + /// Scope unknown or not specified. Unspecified = 0, - /// Dimension scoped to an event. + /// Dimension scoped to an event. Event = 1, - /// Dimension scoped to a user. + /// Dimension scoped to a user. User = 2, } impl DimensionScope { @@ -1612,75 +1612,75 @@ pub mod custom_dimension { } } } -/// A definition for a custom metric. +/// A definition for a custom metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomMetric { - /// Output only. Resource name for this CustomMetric resource. - /// Format: properties/{property}/customMetrics/{customMetric} + /// Output only. Resource name for this CustomMetric resource. + /// Format: properties/{property}/customMetrics/{customMetric} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Tagging name for this custom metric. + /// Required. Immutable. Tagging name for this custom metric. /// - /// If this is an event-scoped metric, then this is the event parameter - /// name. + /// If this is an event-scoped metric, then this is the event parameter + /// name. /// - /// May only contain alphanumeric and underscore charactes, starting with a - /// letter. Max length of 40 characters for event-scoped metrics. + /// May only contain alphanumeric and underscore charactes, starting with a + /// letter. Max length of 40 characters for event-scoped metrics. #[prost(string, tag="2")] pub parameter_name: ::prost::alloc::string::String, - /// Required. Display name for this custom metric as shown in the Analytics UI. - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. + /// Required. Display name for this custom metric as shown in the Analytics UI. + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description for this custom dimension. - /// Max length of 150 characters. + /// Optional. Description for this custom dimension. + /// Max length of 150 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Required. The type for the custom metric's value. + /// Required. The type for the custom metric's value. #[prost(enumeration="custom_metric::MeasurementUnit", tag="5")] pub measurement_unit: i32, - /// Required. Immutable. The scope of this custom metric. + /// Required. Immutable. The scope of this custom metric. #[prost(enumeration="custom_metric::MetricScope", tag="6")] pub scope: i32, - /// Optional. Types of restricted data that this metric may contain. Required for metrics - /// with CURRENCY measurement unit. Must be empty for metrics with a - /// non-CURRENCY measurement unit. + /// Optional. Types of restricted data that this metric may contain. Required for metrics + /// with CURRENCY measurement unit. Must be empty for metrics with a + /// non-CURRENCY measurement unit. #[prost(enumeration="custom_metric::RestrictedMetricType", repeated, packed="false", tag="8")] pub restricted_metric_type: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CustomMetric`. pub mod custom_metric { - /// Possible types of representing the custom metric's value. + /// Possible types of representing the custom metric's value. /// - /// Currency representation may change in the future, requiring a breaking API - /// change. + /// Currency representation may change in the future, requiring a breaking API + /// change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MeasurementUnit { - /// MeasurementUnit unspecified or missing. + /// MeasurementUnit unspecified or missing. Unspecified = 0, - /// This metric uses default units. + /// This metric uses default units. Standard = 1, - /// This metric measures a currency. + /// This metric measures a currency. Currency = 2, - /// This metric measures feet. + /// This metric measures feet. Feet = 3, - /// This metric measures meters. + /// This metric measures meters. Meters = 4, - /// This metric measures kilometers. + /// This metric measures kilometers. Kilometers = 5, - /// This metric measures miles. + /// This metric measures miles. Miles = 6, - /// This metric measures milliseconds. + /// This metric measures milliseconds. Milliseconds = 7, - /// This metric measures seconds. + /// This metric measures seconds. Seconds = 8, - /// This metric measures minutes. + /// This metric measures minutes. Minutes = 9, - /// This metric measures hours. + /// This metric measures hours. Hours = 10, } impl MeasurementUnit { @@ -1704,13 +1704,13 @@ pub mod custom_metric { } } } - /// The scope of this metric. + /// The scope of this metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricScope { - /// Scope unknown or not specified. + /// Scope unknown or not specified. Unspecified = 0, - /// Metric scoped to an event. + /// Metric scoped to an event. Event = 1, } impl MetricScope { @@ -1725,16 +1725,16 @@ pub mod custom_metric { } } } - /// Labels that mark the data in this custom metric as data that should be - /// restricted to specific users. + /// Labels that mark the data in this custom metric as data that should be + /// restricted to specific users. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestrictedMetricType { - /// Type unknown or unspecified. + /// Type unknown or unspecified. Unspecified = 0, - /// Metric reports cost data. + /// Metric reports cost data. CostData = 1, - /// Metric reports revenue data. + /// Metric reports revenue data. RevenueData = 2, } impl RestrictedMetricType { @@ -1751,41 +1751,41 @@ pub mod custom_metric { } } } -/// Settings values for data retention. This is a singleton resource. +/// Settings values for data retention. This is a singleton resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataRetentionSettings { - /// Output only. Resource name for this DataRetentionSetting resource. - /// Format: properties/{property}/dataRetentionSettings + /// Output only. Resource name for this DataRetentionSetting resource. + /// Format: properties/{property}/dataRetentionSettings #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The length of time that event-level data is retained. + /// The length of time that event-level data is retained. #[prost(enumeration="data_retention_settings::RetentionDuration", tag="2")] pub event_data_retention: i32, - /// If true, reset the retention period for the user identifier with every - /// event from that user. + /// If true, reset the retention period for the user identifier with every + /// event from that user. #[prost(bool, tag="3")] pub reset_user_data_on_new_activity: bool, } /// Nested message and enum types in `DataRetentionSettings`. pub mod data_retention_settings { - /// Valid values for the data retention duration. + /// Valid values for the data retention duration. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RetentionDuration { - /// Data retention time duration is not specified. + /// Data retention time duration is not specified. Unspecified = 0, - /// The data retention time duration is 2 months. + /// The data retention time duration is 2 months. TwoMonths = 1, - /// The data retention time duration is 14 months. + /// The data retention time duration is 14 months. FourteenMonths = 3, - /// The data retention time duration is 26 months. - /// Available to 360 properties only. + /// The data retention time duration is 26 months. + /// Available to 360 properties only. TwentySixMonths = 4, - /// The data retention time duration is 38 months. - /// Available to 360 properties only. + /// The data retention time duration is 38 months. + /// Available to 360 properties only. ThirtyEightMonths = 5, - /// The data retention time duration is 50 months. - /// Available to 360 properties only. + /// The data retention time duration is 50 months. + /// Available to 360 properties only. FiftyMonths = 6, } impl RetentionDuration { @@ -1805,45 +1805,45 @@ pub mod data_retention_settings { } } } -/// The attribution settings used for a given property. This is a singleton -/// resource. +/// The attribution settings used for a given property. This is a singleton +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttributionSettings { - /// Output only. Resource name of this attribution settings resource. - /// Format: properties/{property_id}/attributionSettings - /// Example: "properties/1000/attributionSettings" + /// Output only. Resource name of this attribution settings resource. + /// Format: properties/{property_id}/attributionSettings + /// Example: "properties/1000/attributionSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The lookback window configuration for acquisition conversion events. - /// The default window size is 30 days. + /// Required. The lookback window configuration for acquisition conversion events. + /// The default window size is 30 days. #[prost(enumeration="attribution_settings::AcquisitionConversionEventLookbackWindow", tag="2")] pub acquisition_conversion_event_lookback_window: i32, - /// Required. The lookback window for all other, non-acquisition conversion events. - /// The default window size is 90 days. + /// Required. The lookback window for all other, non-acquisition conversion events. + /// The default window size is 90 days. #[prost(enumeration="attribution_settings::OtherConversionEventLookbackWindow", tag="3")] pub other_conversion_event_lookback_window: i32, - /// Required. The reporting attribution model used to calculate conversion credit in this - /// property's reports. + /// Required. The reporting attribution model used to calculate conversion credit in this + /// property's reports. /// - /// Changing the attribution model will apply to both historical and future - /// data. These changes will be reflected in reports with conversion and - /// revenue data. User and session data will be unaffected. + /// Changing the attribution model will apply to both historical and future + /// data. These changes will be reflected in reports with conversion and + /// revenue data. User and session data will be unaffected. #[prost(enumeration="attribution_settings::ReportingAttributionModel", tag="4")] pub reporting_attribution_model: i32, } /// Nested message and enum types in `AttributionSettings`. pub mod attribution_settings { - /// How far back in time events should be considered for inclusion in a - /// converting path which leads to the first install of an app or the first - /// visit to a site. + /// How far back in time events should be considered for inclusion in a + /// converting path which leads to the first install of an app or the first + /// visit to a site. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AcquisitionConversionEventLookbackWindow { - /// Lookback window size unspecified. + /// Lookback window size unspecified. Unspecified = 0, - /// 7-day lookback window. + /// 7-day lookback window. AcquisitionConversionEventLookbackWindow7Days = 1, - /// 30-day lookback window. + /// 30-day lookback window. AcquisitionConversionEventLookbackWindow30Days = 2, } impl AcquisitionConversionEventLookbackWindow { @@ -1859,19 +1859,19 @@ pub mod attribution_settings { } } } - /// How far back in time events should be considered for inclusion in a - /// converting path for all conversions other than first app install/first site - /// visit. + /// How far back in time events should be considered for inclusion in a + /// converting path for all conversions other than first app install/first site + /// visit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OtherConversionEventLookbackWindow { - /// Lookback window size unspecified. + /// Lookback window size unspecified. Unspecified = 0, - /// 30-day lookback window. + /// 30-day lookback window. OtherConversionEventLookbackWindow30Days = 1, - /// 60-day lookback window. + /// 60-day lookback window. OtherConversionEventLookbackWindow60Days = 2, - /// 90-day lookback window. + /// 90-day lookback window. OtherConversionEventLookbackWindow90Days = 3, } impl OtherConversionEventLookbackWindow { @@ -1888,36 +1888,36 @@ pub mod attribution_settings { } } } - /// The reporting attribution model used to calculate conversion credit in this - /// property's reports. + /// The reporting attribution model used to calculate conversion credit in this + /// property's reports. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReportingAttributionModel { - /// Reporting attribution model unspecified. + /// Reporting attribution model unspecified. Unspecified = 0, - /// Data-driven attribution distributes credit for the conversion based on - /// data for each conversion event. Each Data-driven model is specific to - /// each advertiser and each conversion event. + /// Data-driven attribution distributes credit for the conversion based on + /// data for each conversion event. Each Data-driven model is specific to + /// each advertiser and each conversion event. CrossChannelDataDriven = 1, - /// Ignores direct traffic and attributes 100% of the conversion value to the - /// last channel that the customer clicked through (or engaged view through - /// for YouTube) before converting. + /// Ignores direct traffic and attributes 100% of the conversion value to the + /// last channel that the customer clicked through (or engaged view through + /// for YouTube) before converting. CrossChannelLastClick = 2, - /// Gives all credit for the conversion to the first channel that a customer - /// clicked (or engaged view through for YouTube) before converting. + /// Gives all credit for the conversion to the first channel that a customer + /// clicked (or engaged view through for YouTube) before converting. CrossChannelFirstClick = 3, - /// Distributes the credit for the conversion equally across all the channels - /// a customer clicked (or engaged view through for YouTube) before - /// converting. + /// Distributes the credit for the conversion equally across all the channels + /// a customer clicked (or engaged view through for YouTube) before + /// converting. CrossChannelLinear = 4, - /// Attributes 40% credit to the first and last interaction, and the - /// remaining 20% credit is distributed evenly to the middle interactions. + /// Attributes 40% credit to the first and last interaction, and the + /// remaining 20% credit is distributed evenly to the middle interactions. CrossChannelPositionBased = 5, - /// Gives more credit to the touchpoints that happened closer in time to - /// the conversion. + /// Gives more credit to the touchpoints that happened closer in time to + /// the conversion. CrossChannelTimeDecay = 6, - /// Attributes 100% of the conversion value to the last Google Ads channel - /// that the customer clicked through before converting. + /// Attributes 100% of the conversion value to the last Google Ads channel + /// that the customer clicked through before converting. AdsPreferredLastClick = 7, } impl ReportingAttributionModel { @@ -1939,63 +1939,63 @@ pub mod attribution_settings { } } } -/// The category selected for this property, used for industry benchmarking. +/// The category selected for this property, used for industry benchmarking. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IndustryCategory { - /// Industry category unspecified + /// Industry category unspecified Unspecified = 0, - /// Automotive + /// Automotive Automotive = 1, - /// Business and industrial markets + /// Business and industrial markets BusinessAndIndustrialMarkets = 2, - /// Finance + /// Finance Finance = 3, - /// Healthcare + /// Healthcare Healthcare = 4, - /// Technology + /// Technology Technology = 5, - /// Travel + /// Travel Travel = 6, - /// Other + /// Other Other = 7, - /// Arts and entertainment + /// Arts and entertainment ArtsAndEntertainment = 8, - /// Beauty and fitness + /// Beauty and fitness BeautyAndFitness = 9, - /// Books and literature + /// Books and literature BooksAndLiterature = 10, - /// Food and drink + /// Food and drink FoodAndDrink = 11, - /// Games + /// Games Games = 12, - /// Hobbies and leisure + /// Hobbies and leisure HobbiesAndLeisure = 13, - /// Home and garden + /// Home and garden HomeAndGarden = 14, - /// Internet and telecom + /// Internet and telecom InternetAndTelecom = 15, - /// Law and government + /// Law and government LawAndGovernment = 16, - /// News + /// News News = 17, - /// Online communities + /// Online communities OnlineCommunities = 18, - /// People and society + /// People and society PeopleAndSociety = 19, - /// Pets and animals + /// Pets and animals PetsAndAnimals = 20, - /// Real estate + /// Real estate RealEstate = 21, - /// Reference + /// Reference Reference = 22, - /// Science + /// Science Science = 23, - /// Sports + /// Sports Sports = 24, - /// Jobs and education + /// Jobs and education JobsAndEducation = 25, - /// Shopping + /// Shopping Shopping = 26, } impl IndustryCategory { @@ -2035,15 +2035,15 @@ impl IndustryCategory { } } } -/// Various levels of service for Google Analytics. +/// Various levels of service for Google Analytics. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServiceLevel { - /// Service level not specified or invalid. + /// Service level not specified or invalid. Unspecified = 0, - /// The standard version of Google Analytics. + /// The standard version of Google Analytics. GoogleAnalyticsStandard = 1, - /// The paid, premium version of Google Analytics. + /// The paid, premium version of Google Analytics. GoogleAnalytics360 = 2, } impl ServiceLevel { @@ -2059,18 +2059,18 @@ impl ServiceLevel { } } } -/// Different kinds of actors that can make changes to Google Analytics -/// resources. +/// Different kinds of actors that can make changes to Google Analytics +/// resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ActorType { - /// Unknown or unspecified actor type. + /// Unknown or unspecified actor type. Unspecified = 0, - /// Changes made by the user specified in actor_email. + /// Changes made by the user specified in actor_email. User = 1, - /// Changes made by the Google Analytics system. + /// Changes made by the Google Analytics system. System = 2, - /// Changes made by Google Analytics support team staff. + /// Changes made by Google Analytics support team staff. Support = 3, } impl ActorType { @@ -2087,17 +2087,17 @@ impl ActorType { } } } -/// Types of actions that may change a resource. +/// Types of actions that may change a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ActionType { - /// Action type unknown or not specified. + /// Action type unknown or not specified. Unspecified = 0, - /// Resource was created in this change. + /// Resource was created in this change. Created = 1, - /// Resource was updated in this change. + /// Resource was updated in this change. Updated = 2, - /// Resource was deleted in this change. + /// Resource was deleted in this change. Deleted = 3, } impl ActionType { @@ -2114,41 +2114,41 @@ impl ActionType { } } } -/// Types of resources whose changes may be returned from change history. +/// Types of resources whose changes may be returned from change history. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeHistoryResourceType { - /// Resource type unknown or not specified. + /// Resource type unknown or not specified. Unspecified = 0, - /// Account resource + /// Account resource Account = 1, - /// Property resource + /// Property resource Property = 2, - /// FirebaseLink resource + /// FirebaseLink resource FirebaseLink = 6, - /// GoogleAdsLink resource + /// GoogleAdsLink resource GoogleAdsLink = 7, - /// GoogleSignalsSettings resource + /// GoogleSignalsSettings resource GoogleSignalsSettings = 8, - /// ConversionEvent resource + /// ConversionEvent resource ConversionEvent = 9, - /// MeasurementProtocolSecret resource + /// MeasurementProtocolSecret resource MeasurementProtocolSecret = 10, - /// CustomDimension resource + /// CustomDimension resource CustomDimension = 11, - /// CustomMetric resource + /// CustomMetric resource CustomMetric = 12, - /// DataRetentionSettings resource + /// DataRetentionSettings resource DataRetentionSettings = 13, - /// DisplayVideo360AdvertiserLink resource + /// DisplayVideo360AdvertiserLink resource DisplayVideo360AdvertiserLink = 14, - /// DisplayVideo360AdvertiserLinkProposal resource + /// DisplayVideo360AdvertiserLinkProposal resource DisplayVideo360AdvertiserLinkProposal = 15, - /// SearchAds360Link resource + /// SearchAds360Link resource SearchAds360Link = 16, - /// DataStream resource + /// DataStream resource DataStream = 18, - /// AttributionSettings resource + /// AttributionSettings resource AttributionSettings = 20, } impl ChangeHistoryResourceType { @@ -2177,17 +2177,17 @@ impl ChangeHistoryResourceType { } } } -/// Status of the Google Signals settings (i.e., whether this feature has been -/// enabled for the property). +/// Status of the Google Signals settings (i.e., whether this feature has been +/// enabled for the property). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleSignalsState { - /// Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to - /// represent that the user has not made an explicit choice. + /// Google Signals status defaults to GOOGLE_SIGNALS_STATE_UNSPECIFIED to + /// represent that the user has not made an explicit choice. Unspecified = 0, - /// Google Signals is enabled. + /// Google Signals is enabled. GoogleSignalsEnabled = 1, - /// Google Signals is disabled. + /// Google Signals is disabled. GoogleSignalsDisabled = 2, } impl GoogleSignalsState { @@ -2203,18 +2203,18 @@ impl GoogleSignalsState { } } } -/// Consent field of the Google Signals settings (i.e., whether the user has -/// consented to the Google Signals terms of service.) +/// Consent field of the Google Signals settings (i.e., whether the user has +/// consented to the Google Signals terms of service.) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoogleSignalsConsent { - /// Google Signals consent value defaults to - /// GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as - /// GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. + /// Google Signals consent value defaults to + /// GOOGLE_SIGNALS_CONSENT_UNSPECIFIED. This will be treated as + /// GOOGLE_SIGNALS_CONSENT_NOT_CONSENTED. Unspecified = 0, - /// Terms of service have been accepted + /// Terms of service have been accepted Consented = 2, - /// Terms of service have not been accepted + /// Terms of service have not been accepted NotConsented = 1, } impl GoogleSignalsConsent { @@ -2230,16 +2230,16 @@ impl GoogleSignalsConsent { } } } -/// An indication of which product the user initiated a link proposal from. +/// An indication of which product the user initiated a link proposal from. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkProposalInitiatingProduct { - /// Unspecified product. + /// Unspecified product. Unspecified = 0, - /// This proposal was created by a user from Google Analytics. + /// This proposal was created by a user from Google Analytics. GoogleAnalytics = 1, - /// This proposal was created by a user from a linked product (not Google - /// Analytics). + /// This proposal was created by a user from a linked product (not Google + /// Analytics). LinkedProduct = 2, } impl LinkProposalInitiatingProduct { @@ -2255,31 +2255,31 @@ impl LinkProposalInitiatingProduct { } } } -/// The state of a link proposal resource. +/// The state of a link proposal resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkProposalState { - /// Unspecified state + /// Unspecified state Unspecified = 0, - /// This proposal is awaiting review from a Google Analytics user. This - /// proposal will automatically expire after some time. + /// This proposal is awaiting review from a Google Analytics user. This + /// proposal will automatically expire after some time. AwaitingReviewFromGoogleAnalytics = 1, - /// This proposal is awaiting review from a user of a linked product. This - /// proposal will automatically expire after some time. + /// This proposal is awaiting review from a user of a linked product. This + /// proposal will automatically expire after some time. AwaitingReviewFromLinkedProduct = 2, - /// This proposal has been withdrawn by an admin on the initiating product. - /// This proposal will be automatically deleted after some time. + /// This proposal has been withdrawn by an admin on the initiating product. + /// This proposal will be automatically deleted after some time. Withdrawn = 3, - /// This proposal has been declined by an admin on the receiving product. This - /// proposal will be automatically deleted after some time. + /// This proposal has been declined by an admin on the receiving product. This + /// proposal will be automatically deleted after some time. Declined = 4, - /// This proposal expired due to lack of response from an admin on the - /// receiving product. This proposal will be automatically deleted after some - /// time. + /// This proposal expired due to lack of response from an admin on the + /// receiving product. This proposal will be automatically deleted after some + /// time. Expired = 5, - /// This proposal has become obsolete because a link was directly created to - /// the same external product resource that this proposal specifies. This - /// proposal will be automatically deleted after some time. + /// This proposal has become obsolete because a link was directly created to + /// the same external product resource that this proposal specifies. This + /// proposal will be automatically deleted after some time. Obsolete = 6, } impl LinkProposalState { @@ -2299,17 +2299,17 @@ impl LinkProposalState { } } } -/// Types of Property resources. +/// Types of Property resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PropertyType { - /// Unknown or unspecified property type + /// Unknown or unspecified property type Unspecified = 0, - /// Ordinary GA4 property + /// Ordinary GA4 property Ordinary = 1, - /// GA4 subproperty + /// GA4 subproperty Subproperty = 2, - /// GA4 rollup property + /// GA4 rollup property Rollup = 3, } impl PropertyType { @@ -2326,1311 +2326,1311 @@ impl PropertyType { } } } -/// The request for a Data Access Record Report. +/// The request for a Data Access Record Report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunAccessReportRequest { - /// The Data Access Report is requested for this property. - /// For example if "123" is your GA4 property ID, then entity should be - /// "properties/123". + /// The Data Access Report is requested for this property. + /// For example if "123" is your GA4 property ID, then entity should be + /// "properties/123". #[prost(string, tag="1")] pub entity: ::prost::alloc::string::String, - /// The dimensions requested and displayed in the response. Requests are - /// allowed up to 9 dimensions. + /// The dimensions requested and displayed in the response. Requests are + /// allowed up to 9 dimensions. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metrics requested and displayed in the response. Requests are allowed - /// up to 10 metrics. + /// The metrics requested and displayed in the response. Requests are allowed + /// up to 10 metrics. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// Date ranges of access records to read. If multiple date ranges are - /// requested, each response row will contain a zero based date range index. If - /// two date ranges overlap, the access records for the overlapping days is - /// included in the response rows for both date ranges. Requests are allowed up - /// to 2 date ranges. + /// Date ranges of access records to read. If multiple date ranges are + /// requested, each response row will contain a zero based date range index. If + /// two date ranges overlap, the access records for the overlapping days is + /// included in the response rows for both date ranges. Requests are allowed up + /// to 2 date ranges. #[prost(message, repeated, tag="4")] pub date_ranges: ::prost::alloc::vec::Vec, - /// Dimension filters allow you to restrict report response to specific - /// dimension values which match the filter. For example, filtering on access - /// records of a single user. To learn more, see [Fundamentals of Dimension - /// Filters]() - /// for examples. Metrics cannot be used in this filter. + /// Dimension filters allow you to restrict report response to specific + /// dimension values which match the filter. For example, filtering on access + /// records of a single user. To learn more, see [Fundamentals of Dimension + /// Filters]() + /// for examples. Metrics cannot be used in this filter. #[prost(message, optional, tag="5")] pub dimension_filter: ::core::option::Option, - /// Metric filters allow you to restrict report response to specific metric - /// values which match the filter. Metric filters are applied after aggregating - /// the report's rows, similar to SQL having-clause. Dimensions cannot be used - /// in this filter. + /// Metric filters allow you to restrict report response to specific metric + /// values which match the filter. Metric filters are applied after aggregating + /// the report's rows, similar to SQL having-clause. Dimensions cannot be used + /// in this filter. #[prost(message, optional, tag="6")] pub metric_filter: ::core::option::Option, - /// The row count of the start row. The first row is counted as row 0. If - /// offset is unspecified, it is treated as 0. If offset is zero, then this - /// method will return the first page of results with `limit` entries. + /// The row count of the start row. The first row is counted as row 0. If + /// offset is unspecified, it is treated as 0. If offset is zero, then this + /// method will return the first page of results with `limit` entries. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int64, tag="7")] pub offset: i64, - /// The number of rows to return. If unspecified, 10,000 rows are returned. The - /// API returns a maximum of 100,000 rows per request, no matter how many you - /// ask for. `limit` must be positive. + /// The number of rows to return. If unspecified, 10,000 rows are returned. The + /// API returns a maximum of 100,000 rows per request, no matter how many you + /// ask for. `limit` must be positive. /// - /// The API may return fewer rows than the requested `limit`, if there aren't - /// as many remaining rows as the `limit`. For instance, there are fewer than - /// 300 possible values for the dimension `country`, so when reporting on only - /// `country`, you can't get more than 300 rows, even if you set `limit` to a - /// higher value. + /// The API may return fewer rows than the requested `limit`, if there aren't + /// as many remaining rows as the `limit`. For instance, there are fewer than + /// 300 possible values for the dimension `country`, so when reporting on only + /// `country`, you can't get more than 300 rows, even if you set `limit` to a + /// higher value. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int64, tag="8")] pub limit: i64, - /// This request's time zone if specified. If unspecified, the property's time - /// zone is used. The request's time zone is used to interpret the start & end - /// dates of the report. + /// This request's time zone if specified. If unspecified, the property's time + /// zone is used. The request's time zone is used to interpret the start & end + /// dates of the report. /// - /// Formatted as strings from the IANA Time Zone database - /// (); for example "America/New_York" or - /// "Asia/Tokyo". + /// Formatted as strings from the IANA Time Zone database + /// (); for example "America/New_York" or + /// "Asia/Tokyo". #[prost(string, tag="9")] pub time_zone: ::prost::alloc::string::String, - /// Specifies how rows are ordered in the response. + /// Specifies how rows are ordered in the response. #[prost(message, repeated, tag="10")] pub order_bys: ::prost::alloc::vec::Vec, - /// Toggles whether to return the current state of this Analytics Property's - /// quota. Quota is returned in \[AccessQuota\](#AccessQuota). + /// Toggles whether to return the current state of this Analytics Property's + /// quota. Quota is returned in \[AccessQuota\](#AccessQuota). #[prost(bool, tag="11")] pub return_entity_quota: bool, } -/// The customized Data Access Record Report response. +/// The customized Data Access Record Report response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunAccessReportResponse { - /// The header for a column in the report that corresponds to a specific - /// dimension. The number of DimensionHeaders and ordering of DimensionHeaders - /// matches the dimensions present in rows. + /// The header for a column in the report that corresponds to a specific + /// dimension. The number of DimensionHeaders and ordering of DimensionHeaders + /// matches the dimensions present in rows. #[prost(message, repeated, tag="1")] pub dimension_headers: ::prost::alloc::vec::Vec, - /// The header for a column in the report that corresponds to a specific - /// metric. The number of MetricHeaders and ordering of MetricHeaders matches - /// the metrics present in rows. + /// The header for a column in the report that corresponds to a specific + /// metric. The number of MetricHeaders and ordering of MetricHeaders matches + /// the metrics present in rows. #[prost(message, repeated, tag="2")] pub metric_headers: ::prost::alloc::vec::Vec, - /// Rows of dimension value combinations and metric values in the report. + /// Rows of dimension value combinations and metric values in the report. #[prost(message, repeated, tag="3")] pub rows: ::prost::alloc::vec::Vec, - /// The total number of rows in the query result. `rowCount` is independent of - /// the number of rows returned in the response, the `limit` request - /// parameter, and the `offset` request parameter. For example if a query - /// returns 175 rows and includes `limit` of 50 in the API request, the - /// response will contain `rowCount` of 175 but only 50 rows. + /// The total number of rows in the query result. `rowCount` is independent of + /// the number of rows returned in the response, the `limit` request + /// parameter, and the `offset` request parameter. For example if a query + /// returns 175 rows and includes `limit` of 50 in the API request, the + /// response will contain `rowCount` of 175 but only 50 rows. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int32, tag="4")] pub row_count: i32, - /// The quota state for this Analytics property including this request. + /// The quota state for this Analytics property including this request. #[prost(message, optional, tag="5")] pub quota: ::core::option::Option, } -/// Request message for GetAccount RPC. +/// Request message for GetAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccountRequest { - /// Required. The name of the account to lookup. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Required. The name of the account to lookup. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAccounts RPC. +/// Request message for ListAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountsRequest { - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListAccounts` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListAccounts` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListAccounts` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAccounts` must + /// match the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Whether to include soft-deleted (ie: "trashed") Accounts in the - /// results. Accounts can be inspected to determine whether they are deleted or - /// not. + /// Whether to include soft-deleted (ie: "trashed") Accounts in the + /// results. Accounts can be inspected to determine whether they are deleted or + /// not. #[prost(bool, tag="3")] pub show_deleted: bool, } -/// Request message for ListAccounts RPC. +/// Request message for ListAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountsResponse { - /// Results that were accessible to the caller. + /// Results that were accessible to the caller. #[prost(message, repeated, tag="1")] pub accounts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DeleteAccount RPC. +/// Request message for DeleteAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAccountRequest { - /// Required. The name of the Account to soft-delete. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Required. The name of the Account to soft-delete. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateAccount RPC. +/// Request message for UpdateAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAccountRequest { - /// Required. The account to update. - /// The account's `name` field is used to identify the account. + /// Required. The account to update. + /// The account's `name` field is used to identify the account. #[prost(message, optional, tag="1")] pub account: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ProvisionAccountTicket RPC. +/// Request message for ProvisionAccountTicket RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionAccountTicketRequest { - /// The account to create. + /// The account to create. #[prost(message, optional, tag="1")] pub account: ::core::option::Option, - /// Redirect URI where the user will be sent after accepting Terms of Service. - /// Must be configured in Developers Console as a Redirect URI + /// Redirect URI where the user will be sent after accepting Terms of Service. + /// Must be configured in Developers Console as a Redirect URI #[prost(string, tag="2")] pub redirect_uri: ::prost::alloc::string::String, } -/// Response message for ProvisionAccountTicket RPC. +/// Response message for ProvisionAccountTicket RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionAccountTicketResponse { - /// The param to be passed in the ToS link. + /// The param to be passed in the ToS link. #[prost(string, tag="1")] pub account_ticket_id: ::prost::alloc::string::String, } -/// Request message for GetProperty RPC. +/// Request message for GetProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPropertyRequest { - /// Required. The name of the property to lookup. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Required. The name of the property to lookup. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListProperties RPC. +/// Request message for ListProperties RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPropertiesRequest { - /// Required. An expression for filtering the results of the request. - /// Fields eligible for filtering are: - /// `parent:`(The resource name of the parent account/property) or - /// `ancestor:`(The resource name of the parent account) or - /// `firebase_project:`(The id or number of the linked firebase project). - /// Some examples of filters: + /// Required. An expression for filtering the results of the request. + /// Fields eligible for filtering are: + /// `parent:`(The resource name of the parent account/property) or + /// `ancestor:`(The resource name of the parent account) or + /// `firebase_project:`(The id or number of the linked firebase project). + /// Some examples of filters: /// - /// ``` - /// | Filter | Description | - /// |-----------------------------|-------------------------------------------| - /// | parent:accounts/123 | The account with account id: 123. | - /// | parent:properties/123 | The property with property id: 123. | - /// | ancestor:accounts/123 | The account with account id: 123. | - /// | firebase_project:project-id | The firebase project with id: project-id. | - /// | firebase_project:123 | The firebase project with number: 123. | - /// ``` + /// ``` + /// | Filter | Description | + /// |-----------------------------|-------------------------------------------| + /// | parent:accounts/123 | The account with account id: 123. | + /// | parent:properties/123 | The property with property id: 123. | + /// | ancestor:accounts/123 | The account with account id: 123. | + /// | firebase_project:project-id | The firebase project with id: project-id. | + /// | firebase_project:123 | The firebase project with number: 123. | + /// ``` #[prost(string, tag="1")] pub filter: ::prost::alloc::string::String, - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListProperties` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListProperties` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListProperties` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListProperties` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Whether to include soft-deleted (ie: "trashed") Properties in the - /// results. Properties can be inspected to determine whether they are deleted - /// or not. + /// Whether to include soft-deleted (ie: "trashed") Properties in the + /// results. Properties can be inspected to determine whether they are deleted + /// or not. #[prost(bool, tag="4")] pub show_deleted: bool, } -/// Response message for ListProperties RPC. +/// Response message for ListProperties RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPropertiesResponse { - /// Results that matched the filter criteria and were accessible to the caller. + /// Results that matched the filter criteria and were accessible to the caller. #[prost(message, repeated, tag="1")] pub properties: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for UpdateProperty RPC. +/// Request message for UpdateProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePropertyRequest { - /// Required. The property to update. - /// The property's `name` field is used to identify the property to be - /// updated. + /// Required. The property to update. + /// The property's `name` field is used to identify the property to be + /// updated. #[prost(message, optional, tag="1")] pub property: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for CreateProperty RPC. +/// Request message for CreateProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePropertyRequest { - /// Required. The property to create. - /// Note: the supplied property must specify its parent. + /// Required. The property to create. + /// Note: the supplied property must specify its parent. #[prost(message, optional, tag="1")] pub property: ::core::option::Option, } -/// Request message for DeleteProperty RPC. +/// Request message for DeleteProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePropertyRequest { - /// Required. The name of the Property to soft-delete. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Required. The name of the Property to soft-delete. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetUserLink RPC. +/// Request message for GetUserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUserLinkRequest { - /// Required. Example format: accounts/1234/userLinks/5678 + /// Required. Example format: accounts/1234/userLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BatchGetUserLinks RPC. +/// Request message for BatchGetUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetUserLinksRequest { - /// Required. The account or property that all user links in the request are - /// for. The parent of all provided values for the 'names' field must match - /// this field. - /// Example format: accounts/1234 + /// Required. The account or property that all user links in the request are + /// for. The parent of all provided values for the 'names' field must match + /// this field. + /// Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The names of the user links to retrieve. - /// A maximum of 1000 user links can be retrieved in a batch. - /// Format: accounts/{accountId}/userLinks/{userLinkId} + /// Required. The names of the user links to retrieve. + /// A maximum of 1000 user links can be retrieved in a batch. + /// Format: accounts/{accountId}/userLinks/{userLinkId} #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for BatchGetUserLinks RPC. +/// Response message for BatchGetUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetUserLinksResponse { - /// The requested user links. + /// The requested user links. #[prost(message, repeated, tag="1")] pub user_links: ::prost::alloc::vec::Vec, } -/// Request message for ListUserLinks RPC. +/// Request message for ListUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListUserLinksRequest { - /// Required. Example format: accounts/1234 + /// Required. Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of user links to return. - /// The service may return fewer than this value. - /// If unspecified, at most 200 user links will be returned. - /// The maximum value is 500; values above 500 will be coerced to 500. + /// The maximum number of user links to return. + /// The service may return fewer than this value. + /// If unspecified, at most 200 user links will be returned. + /// The maximum value is 500; values above 500 will be coerced to 500. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListUserLinks` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListUserLinks` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListUserLinks` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListUserLinks` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListUserLinks RPC. +/// Response message for ListUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListUserLinksResponse { - /// List of UserLinks. These will be ordered stably, but in an arbitrary order. + /// List of UserLinks. These will be ordered stably, but in an arbitrary order. #[prost(message, repeated, tag="1")] pub user_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for AuditUserLinks RPC. +/// Request message for AuditUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditUserLinksRequest { - /// Required. Example format: accounts/1234 + /// Required. Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of user links to return. - /// The service may return fewer than this value. - /// If unspecified, at most 1000 user links will be returned. - /// The maximum value is 5000; values above 5000 will be coerced to 5000. + /// The maximum number of user links to return. + /// The service may return fewer than this value. + /// If unspecified, at most 1000 user links will be returned. + /// The maximum value is 5000; values above 5000 will be coerced to 5000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `AuditUserLinks` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `AuditUserLinks` must - /// match the call that provided the page token. + /// A page token, received from a previous `AuditUserLinks` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `AuditUserLinks` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for AuditUserLinks RPC. +/// Response message for AuditUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditUserLinksResponse { - /// List of AuditUserLinks. These will be ordered stably, but in an arbitrary - /// order. + /// List of AuditUserLinks. These will be ordered stably, but in an arbitrary + /// order. #[prost(message, repeated, tag="1")] pub user_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateUserLink RPC. +/// Request message for CreateUserLink RPC. /// -/// Users can have multiple email addresses associated with their Google -/// account, and one of these email addresses is the "primary" email address. -/// Any of the email addresses associated with a Google account may be used -/// for a new UserLink, but the returned UserLink will always contain the -/// "primary" email address. As a result, the input and output email address -/// for this request may differ. +/// Users can have multiple email addresses associated with their Google +/// account, and one of these email addresses is the "primary" email address. +/// Any of the email addresses associated with a Google account may be used +/// for a new UserLink, but the returned UserLink will always contain the +/// "primary" email address. As a result, the input and output email address +/// for this request may differ. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateUserLinkRequest { - /// Required. Example format: accounts/1234 + /// Required. Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. If set, then email the new user notifying them that they've been granted - /// permissions to the resource. + /// Optional. If set, then email the new user notifying them that they've been granted + /// permissions to the resource. #[prost(bool, tag="2")] pub notify_new_user: bool, - /// Required. The user link to create. + /// Required. The user link to create. #[prost(message, optional, tag="3")] pub user_link: ::core::option::Option, } -/// Request message for BatchCreateUserLinks RPC. +/// Request message for BatchCreateUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateUserLinksRequest { - /// Required. The account or property that all user links in the request are for. - /// This field is required. The parent field in the CreateUserLinkRequest - /// messages must either be empty or match this field. - /// Example format: accounts/1234 + /// Required. The account or property that all user links in the request are for. + /// This field is required. The parent field in the CreateUserLinkRequest + /// messages must either be empty or match this field. + /// Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. If set, then email the new users notifying them that they've been granted - /// permissions to the resource. Regardless of whether this is set or not, - /// notify_new_user field inside each individual request is ignored. + /// Optional. If set, then email the new users notifying them that they've been granted + /// permissions to the resource. Regardless of whether this is set or not, + /// notify_new_user field inside each individual request is ignored. #[prost(bool, tag="2")] pub notify_new_users: bool, - /// Required. The requests specifying the user links to create. - /// A maximum of 1000 user links can be created in a batch. + /// Required. The requests specifying the user links to create. + /// A maximum of 1000 user links can be created in a batch. #[prost(message, repeated, tag="3")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for BatchCreateUserLinks RPC. +/// Response message for BatchCreateUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateUserLinksResponse { - /// The user links created. + /// The user links created. #[prost(message, repeated, tag="1")] pub user_links: ::prost::alloc::vec::Vec, } -/// Request message for UpdateUserLink RPC. +/// Request message for UpdateUserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateUserLinkRequest { - /// Required. The user link to update. + /// Required. The user link to update. #[prost(message, optional, tag="1")] pub user_link: ::core::option::Option, } -/// Request message for BatchUpdateUserLinks RPC. +/// Request message for BatchUpdateUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateUserLinksRequest { - /// Required. The account or property that all user links in the request are - /// for. The parent field in the UpdateUserLinkRequest messages must either be - /// empty or match this field. - /// Example format: accounts/1234 + /// Required. The account or property that all user links in the request are + /// for. The parent field in the UpdateUserLinkRequest messages must either be + /// empty or match this field. + /// Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The requests specifying the user links to update. - /// A maximum of 1000 user links can be updated in a batch. + /// Required. The requests specifying the user links to update. + /// A maximum of 1000 user links can be updated in a batch. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for BatchUpdateUserLinks RPC. +/// Response message for BatchUpdateUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateUserLinksResponse { - /// The user links updated. + /// The user links updated. #[prost(message, repeated, tag="1")] pub user_links: ::prost::alloc::vec::Vec, } -/// Request message for DeleteUserLink RPC. +/// Request message for DeleteUserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteUserLinkRequest { - /// Required. Example format: accounts/1234/userLinks/5678 + /// Required. Example format: accounts/1234/userLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BatchDeleteUserLinks RPC. +/// Request message for BatchDeleteUserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDeleteUserLinksRequest { - /// Required. The account or property that all user links in the request are - /// for. The parent of all values for user link names to delete must match this - /// field. - /// Example format: accounts/1234 + /// Required. The account or property that all user links in the request are + /// for. The parent of all values for user link names to delete must match this + /// field. + /// Example format: accounts/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The requests specifying the user links to update. - /// A maximum of 1000 user links can be updated in a batch. + /// Required. The requests specifying the user links to update. + /// A maximum of 1000 user links can be updated in a batch. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Request message for CreateFirebaseLink RPC +/// Request message for CreateFirebaseLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFirebaseLinkRequest { - /// Required. Format: properties/{property_id} - /// Example: properties/1234 + /// Required. Format: properties/{property_id} + /// Example: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Firebase link to create. + /// Required. The Firebase link to create. #[prost(message, optional, tag="2")] pub firebase_link: ::core::option::Option, } -/// Request message for DeleteFirebaseLink RPC +/// Request message for DeleteFirebaseLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFirebaseLinkRequest { - /// Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - /// Example: properties/1234/firebaseLinks/5678 + /// Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + /// Example: properties/1234/firebaseLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListFirebaseLinks RPC +/// Request message for ListFirebaseLinks RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirebaseLinksRequest { - /// Required. Format: properties/{property_id} - /// Example: properties/1234 + /// Required. Format: properties/{property_id} + /// Example: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListFirebaseLinks` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListProperties` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListFirebaseLinks` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListProperties` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListFirebaseLinks RPC +/// Response message for ListFirebaseLinks RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirebaseLinksResponse { - /// List of FirebaseLinks. This will have at most one value. + /// List of FirebaseLinks. This will have at most one value. #[prost(message, repeated, tag="1")] pub firebase_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. - /// Currently, Google Analytics supports only one FirebaseLink per property, - /// so this will never be populated. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. + /// Currently, Google Analytics supports only one FirebaseLink per property, + /// so this will never be populated. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetGlobalSiteTag RPC. +/// Request message for GetGlobalSiteTag RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalSiteTagRequest { - /// Required. The name of the site tag to lookup. - /// Note that site tags are singletons and do not have unique IDs. - /// Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag - /// Example: "properties/123/dataStreams/456/globalSiteTag" + /// Required. The name of the site tag to lookup. + /// Note that site tags are singletons and do not have unique IDs. + /// Format: properties/{property_id}/dataStreams/{stream_id}/globalSiteTag + /// Example: "properties/123/dataStreams/456/globalSiteTag" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateGoogleAdsLink RPC +/// Request message for CreateGoogleAdsLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateGoogleAdsLinkRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The GoogleAdsLink to create. + /// Required. The GoogleAdsLink to create. #[prost(message, optional, tag="2")] pub google_ads_link: ::core::option::Option, } -/// Request message for UpdateGoogleAdsLink RPC +/// Request message for UpdateGoogleAdsLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateGoogleAdsLinkRequest { - /// The GoogleAdsLink to update + /// The GoogleAdsLink to update #[prost(message, optional, tag="1")] pub google_ads_link: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for DeleteGoogleAdsLink RPC. +/// Request message for DeleteGoogleAdsLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGoogleAdsLinkRequest { - /// Required. Example format: properties/1234/googleAdsLinks/5678 + /// Required. Example format: properties/1234/googleAdsLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListGoogleAdsLinks RPC. +/// Request message for ListGoogleAdsLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGoogleAdsLinksRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListGoogleAdsLinks` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListGoogleAdsLinks` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListGoogleAdsLinks` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListGoogleAdsLinks` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListGoogleAdsLinks RPC. +/// Response message for ListGoogleAdsLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGoogleAdsLinksResponse { - /// List of GoogleAdsLinks. + /// List of GoogleAdsLinks. #[prost(message, repeated, tag="1")] pub google_ads_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetDataSharingSettings RPC. +/// Request message for GetDataSharingSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataSharingSettingsRequest { - /// Required. The name of the settings to lookup. - /// Format: accounts/{account}/dataSharingSettings - /// Example: "accounts/1000/dataSharingSettings" + /// Required. The name of the settings to lookup. + /// Format: accounts/{account}/dataSharingSettings + /// Example: "accounts/1000/dataSharingSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAccountSummaries RPC. +/// Request message for ListAccountSummaries RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountSummariesRequest { - /// The maximum number of AccountSummary resources to return. The service may - /// return fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of AccountSummary resources to return. The service may + /// return fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListAccountSummaries` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListAccountSummaries` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListAccountSummaries` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAccountSummaries` + /// must match the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListAccountSummaries RPC. +/// Response message for ListAccountSummaries RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountSummariesResponse { - /// Account summaries of all accounts the caller has access to. + /// Account summaries of all accounts the caller has access to. #[prost(message, repeated, tag="1")] pub account_summaries: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for AcknowledgeUserDataCollection RPC. +/// Request message for AcknowledgeUserDataCollection RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcknowledgeUserDataCollectionRequest { - /// Required. The property for which to acknowledge user data collection. + /// Required. The property for which to acknowledge user data collection. #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Required. An acknowledgement that the caller of this method understands the terms - /// of user data collection. + /// Required. An acknowledgement that the caller of this method understands the terms + /// of user data collection. /// - /// This field must contain the exact value: - /// "I acknowledge that I have the necessary privacy disclosures and rights - /// from my end users for the collection and processing of their data, - /// including the association of such data with the visitation information - /// Google Analytics collects from my site and/or app property." + /// This field must contain the exact value: + /// "I acknowledge that I have the necessary privacy disclosures and rights + /// from my end users for the collection and processing of their data, + /// including the association of such data with the visitation information + /// Google Analytics collects from my site and/or app property." #[prost(string, tag="2")] pub acknowledgement: ::prost::alloc::string::String, } -/// Response message for AcknowledgeUserDataCollection RPC. +/// Response message for AcknowledgeUserDataCollection RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcknowledgeUserDataCollectionResponse { } -/// Request message for SearchChangeHistoryEvents RPC. +/// Request message for SearchChangeHistoryEvents RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchChangeHistoryEventsRequest { - /// Required. The account resource for which to return change history resources. + /// Required. The account resource for which to return change history resources. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Optional. Resource name for a child property. If set, only return changes - /// made to this property or its child resources. + /// Optional. Resource name for a child property. If set, only return changes + /// made to this property or its child resources. #[prost(string, tag="2")] pub property: ::prost::alloc::string::String, - /// Optional. If set, only return changes if they are for a resource that matches at - /// least one of these types. + /// Optional. If set, only return changes if they are for a resource that matches at + /// least one of these types. #[prost(enumeration="ChangeHistoryResourceType", repeated, packed="false", tag="3")] pub resource_type: ::prost::alloc::vec::Vec, - /// Optional. If set, only return changes that match one or more of these types of - /// actions. + /// Optional. If set, only return changes that match one or more of these types of + /// actions. #[prost(enumeration="ActionType", repeated, packed="false", tag="4")] pub action: ::prost::alloc::vec::Vec, - /// Optional. If set, only return changes if they are made by a user in this list. + /// Optional. If set, only return changes if they are made by a user in this list. #[prost(string, repeated, tag="5")] pub actor_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If set, only return changes made after this time (inclusive). + /// Optional. If set, only return changes made after this time (inclusive). #[prost(message, optional, tag="6")] pub earliest_change_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. If set, only return changes made before this time (inclusive). + /// Optional. If set, only return changes made before this time (inclusive). #[prost(message, optional, tag="7")] pub latest_change_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The maximum number of ChangeHistoryEvent items to return. - /// The service may return fewer than this value, even if there are additional - /// pages. If unspecified, at most 50 items will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// Optional. The maximum number of ChangeHistoryEvent items to return. + /// The service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 items will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="8")] pub page_size: i32, - /// Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - /// Provide this to retrieve the subsequent page. When paginating, all other - /// parameters provided to `SearchChangeHistoryEvents` must match the call that - /// provided the page token. + /// Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `SearchChangeHistoryEvents` must match the call that + /// provided the page token. #[prost(string, tag="9")] pub page_token: ::prost::alloc::string::String, } -/// Response message for SearchAccounts RPC. +/// Response message for SearchAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchChangeHistoryEventsResponse { - /// Results that were accessible to the caller. + /// Results that were accessible to the caller. #[prost(message, repeated, tag="1")] pub change_history_events: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetMeasurementProtocolSecret RPC. +/// Request message for GetMeasurementProtocolSecret RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMeasurementProtocolSecretRequest { - /// Required. The name of the measurement protocol secret to lookup. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Required. The name of the measurement protocol secret to lookup. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateMeasurementProtocolSecret RPC +/// Request message for CreateMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMeasurementProtocolSecretRequest { - /// Required. The parent resource where this secret will be created. - /// Format: properties/{property}/dataStreams/{dataStream} + /// Required. The parent resource where this secret will be created. + /// Format: properties/{property}/dataStreams/{dataStream} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The measurement protocol secret to create. + /// Required. The measurement protocol secret to create. #[prost(message, optional, tag="2")] pub measurement_protocol_secret: ::core::option::Option, } -/// Request message for DeleteMeasurementProtocolSecret RPC +/// Request message for DeleteMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMeasurementProtocolSecretRequest { - /// Required. The name of the MeasurementProtocolSecret to delete. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Required. The name of the MeasurementProtocolSecret to delete. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateMeasurementProtocolSecret RPC +/// Request message for UpdateMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMeasurementProtocolSecretRequest { - /// Required. The measurement protocol secret to update. + /// Required. The measurement protocol secret to update. #[prost(message, optional, tag="1")] pub measurement_protocol_secret: ::core::option::Option, - /// The list of fields to be updated. Omitted fields will not be updated. + /// The list of fields to be updated. Omitted fields will not be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListMeasurementProtocolSecret RPC +/// Request message for ListMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMeasurementProtocolSecretsRequest { - /// Required. The resource name of the parent stream. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + /// Required. The resource name of the parent stream. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 10 resources will be returned. - /// The maximum value is 10. Higher values will be coerced to the maximum. + /// The maximum number of resources to return. + /// If unspecified, at most 10 resources will be returned. + /// The maximum value is 10. Higher values will be coerced to the maximum. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListMeasurementProtocolSecrets` - /// call. Provide this to retrieve the subsequent page. When paginating, all - /// other parameters provided to `ListMeasurementProtocolSecrets` must match - /// the call that provided the page token. + /// A page token, received from a previous `ListMeasurementProtocolSecrets` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListMeasurementProtocolSecrets` must match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListMeasurementProtocolSecret RPC +/// Response message for ListMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMeasurementProtocolSecretsResponse { - /// A list of secrets for the parent stream specified in the request. + /// A list of secrets for the parent stream specified in the request. #[prost(message, repeated, tag="1")] pub measurement_protocol_secrets: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetGoogleSignalsSettings RPC +/// Request message for GetGoogleSignalsSettings RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGoogleSignalsSettingsRequest { - /// Required. The name of the google signals settings to retrieve. - /// Format: properties/{property}/googleSignalsSettings + /// Required. The name of the google signals settings to retrieve. + /// Format: properties/{property}/googleSignalsSettings #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateGoogleSignalsSettings RPC +/// Request message for UpdateGoogleSignalsSettings RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateGoogleSignalsSettingsRequest { - /// Required. The settings to update. - /// The `name` field is used to identify the settings to be updated. + /// Required. The settings to update. + /// The `name` field is used to identify the settings to be updated. #[prost(message, optional, tag="1")] pub google_signals_settings: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for CreateConversionEvent RPC +/// Request message for CreateConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConversionEventRequest { - /// Required. The conversion event to create. + /// Required. The conversion event to create. #[prost(message, optional, tag="1")] pub conversion_event: ::core::option::Option, - /// Required. The resource name of the parent property where this conversion event will - /// be created. Format: properties/123 + /// Required. The resource name of the parent property where this conversion event will + /// be created. Format: properties/123 #[prost(string, tag="2")] pub parent: ::prost::alloc::string::String, } -/// Request message for GetConversionEvent RPC +/// Request message for GetConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionEventRequest { - /// Required. The resource name of the conversion event to retrieve. - /// Format: properties/{property}/conversionEvents/{conversion_event} - /// Example: "properties/123/conversionEvents/456" + /// Required. The resource name of the conversion event to retrieve. + /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Example: "properties/123/conversionEvents/456" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for DeleteConversionEvent RPC +/// Request message for DeleteConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConversionEventRequest { - /// Required. The resource name of the conversion event to delete. - /// Format: properties/{property}/conversionEvents/{conversion_event} - /// Example: "properties/123/conversionEvents/456" + /// Required. The resource name of the conversion event to delete. + /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Example: "properties/123/conversionEvents/456" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListConversionEvents RPC +/// Request message for ListConversionEvents RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversionEventsRequest { - /// Required. The resource name of the parent property. - /// Example: 'properties/123' + /// Required. The resource name of the parent property. + /// Example: 'properties/123' #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListConversionEvents` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListConversionEvents` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListConversionEvents` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListConversionEvents` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListConversionEvents RPC. +/// Response message for ListConversionEvents RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversionEventsResponse { - /// The requested conversion events + /// The requested conversion events #[prost(message, repeated, tag="1")] pub conversion_events: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetDisplayVideo360AdvertiserLink RPC. +/// Request message for GetDisplayVideo360AdvertiserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDisplayVideo360AdvertiserLinkRequest { - /// Required. The name of the DisplayVideo360AdvertiserLink to get. - /// Example format: properties/1234/displayVideo360AdvertiserLink/5678 + /// Required. The name of the DisplayVideo360AdvertiserLink to get. + /// Example format: properties/1234/displayVideo360AdvertiserLink/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListDisplayVideo360AdvertiserLinks RPC. +/// Request message for ListDisplayVideo360AdvertiserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDisplayVideo360AdvertiserLinksRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDisplayVideo360AdvertiserLinks` + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListDisplayVideo360AdvertiserLinks` must match the call that provided the - /// page token. + /// When paginating, all other parameters provided to + /// `ListDisplayVideo360AdvertiserLinks` must match the call that provided the + /// page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListDisplayVideo360AdvertiserLinks RPC. +/// Response message for ListDisplayVideo360AdvertiserLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDisplayVideo360AdvertiserLinksResponse { - /// List of DisplayVideo360AdvertiserLinks. + /// List of DisplayVideo360AdvertiserLinks. #[prost(message, repeated, tag="1")] pub display_video_360_advertiser_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateDisplayVideo360AdvertiserLink RPC. +/// Request message for CreateDisplayVideo360AdvertiserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDisplayVideo360AdvertiserLinkRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DisplayVideo360AdvertiserLink to create. + /// Required. The DisplayVideo360AdvertiserLink to create. #[prost(message, optional, tag="2")] pub display_video_360_advertiser_link: ::core::option::Option, } -/// Request message for DeleteDisplayVideo360AdvertiserLink RPC. +/// Request message for DeleteDisplayVideo360AdvertiserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDisplayVideo360AdvertiserLinkRequest { - /// Required. The name of the DisplayVideo360AdvertiserLink to delete. - /// Example format: properties/1234/displayVideo360AdvertiserLinks/5678 + /// Required. The name of the DisplayVideo360AdvertiserLink to delete. + /// Example format: properties/1234/displayVideo360AdvertiserLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateDisplayVideo360AdvertiserLink RPC. +/// Request message for UpdateDisplayVideo360AdvertiserLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDisplayVideo360AdvertiserLinkRequest { - /// The DisplayVideo360AdvertiserLink to update + /// The DisplayVideo360AdvertiserLink to update #[prost(message, optional, tag="1")] pub display_video_360_advertiser_link: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for GetDisplayVideo360AdvertiserLinkProposal RPC. +/// Request message for GetDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDisplayVideo360AdvertiserLinkProposalRequest { - /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. - /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to get. + /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListDisplayVideo360AdvertiserLinkProposals RPC. +/// Request message for ListDisplayVideo360AdvertiserLinkProposals RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDisplayVideo360AdvertiserLinkProposalsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous - /// `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve - /// the subsequent page. + /// A page token, received from a previous + /// `ListDisplayVideo360AdvertiserLinkProposals` call. Provide this to retrieve + /// the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListDisplayVideo360AdvertiserLinkProposals` must match the call that - /// provided the page token. + /// When paginating, all other parameters provided to + /// `ListDisplayVideo360AdvertiserLinkProposals` must match the call that + /// provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. +/// Response message for ListDisplayVideo360AdvertiserLinkProposals RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDisplayVideo360AdvertiserLinkProposalsResponse { - /// List of DisplayVideo360AdvertiserLinkProposals. + /// List of DisplayVideo360AdvertiserLinkProposals. #[prost(message, repeated, tag="1")] pub display_video_360_advertiser_link_proposals: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC. +/// Request message for CreateDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDisplayVideo360AdvertiserLinkProposalRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DisplayVideo360AdvertiserLinkProposal to create. + /// Required. The DisplayVideo360AdvertiserLinkProposal to create. #[prost(message, optional, tag="2")] pub display_video_360_advertiser_link_proposal: ::core::option::Option, } -/// Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC. +/// Request message for DeleteDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDisplayVideo360AdvertiserLinkProposalRequest { - /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. - /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to delete. + /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. +/// Request message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveDisplayVideo360AdvertiserLinkProposalRequest { - /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. - /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to approve. + /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. +/// Response message for ApproveDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveDisplayVideo360AdvertiserLinkProposalResponse { - /// The DisplayVideo360AdvertiserLink created as a result of approving the - /// proposal. + /// The DisplayVideo360AdvertiserLink created as a result of approving the + /// proposal. #[prost(message, optional, tag="1")] pub display_video_360_advertiser_link: ::core::option::Option, } -/// Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC. +/// Request message for CancelDisplayVideo360AdvertiserLinkProposal RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelDisplayVideo360AdvertiserLinkProposalRequest { - /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. - /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 + /// Required. The name of the DisplayVideo360AdvertiserLinkProposal to cancel. + /// Example format: properties/1234/displayVideo360AdvertiserLinkProposals/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateCustomDimension RPC. +/// Request message for CreateCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomDimensionRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomDimension to create. + /// Required. The CustomDimension to create. #[prost(message, optional, tag="2")] pub custom_dimension: ::core::option::Option, } -/// Request message for UpdateCustomDimension RPC. +/// Request message for UpdateCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomDimensionRequest { - /// The CustomDimension to update + /// The CustomDimension to update #[prost(message, optional, tag="1")] pub custom_dimension: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListCustomDimensions RPC. +/// Request message for ListCustomDimensions RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomDimensionsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListCustomDimensions` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListCustomDimensions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCustomDimensions` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCustomDimensions` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListCustomDimensions RPC. +/// Response message for ListCustomDimensions RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomDimensionsResponse { - /// List of CustomDimensions. + /// List of CustomDimensions. #[prost(message, repeated, tag="1")] pub custom_dimensions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ArchiveCustomDimension RPC. +/// Request message for ArchiveCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArchiveCustomDimensionRequest { - /// Required. The name of the CustomDimension to archive. - /// Example format: properties/1234/customDimensions/5678 + /// Required. The name of the CustomDimension to archive. + /// Example format: properties/1234/customDimensions/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetCustomDimension RPC. +/// Request message for GetCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomDimensionRequest { - /// Required. The name of the CustomDimension to get. - /// Example format: properties/1234/customDimensions/5678 + /// Required. The name of the CustomDimension to get. + /// Example format: properties/1234/customDimensions/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateCustomMetric RPC. +/// Request message for CreateCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomMetricRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomMetric to create. + /// Required. The CustomMetric to create. #[prost(message, optional, tag="2")] pub custom_metric: ::core::option::Option, } -/// Request message for UpdateCustomMetric RPC. +/// Request message for UpdateCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomMetricRequest { - /// The CustomMetric to update + /// The CustomMetric to update #[prost(message, optional, tag="1")] pub custom_metric: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListCustomMetrics RPC. +/// Request message for ListCustomMetrics RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomMetricsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListCustomMetrics` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListCustomMetrics` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCustomMetrics` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCustomMetrics` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListCustomMetrics RPC. +/// Response message for ListCustomMetrics RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomMetricsResponse { - /// List of CustomMetrics. + /// List of CustomMetrics. #[prost(message, repeated, tag="1")] pub custom_metrics: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ArchiveCustomMetric RPC. +/// Request message for ArchiveCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArchiveCustomMetricRequest { - /// Required. The name of the CustomMetric to archive. - /// Example format: properties/1234/customMetrics/5678 + /// Required. The name of the CustomMetric to archive. + /// Example format: properties/1234/customMetrics/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetCustomMetric RPC. +/// Request message for GetCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomMetricRequest { - /// Required. The name of the CustomMetric to get. - /// Example format: properties/1234/customMetrics/5678 + /// Required. The name of the CustomMetric to get. + /// Example format: properties/1234/customMetrics/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetDataRetentionSettings RPC. +/// Request message for GetDataRetentionSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataRetentionSettingsRequest { - /// Required. The name of the settings to lookup. - /// Format: - /// properties/{property}/dataRetentionSettings - /// Example: "properties/1000/dataRetentionSettings" + /// Required. The name of the settings to lookup. + /// Format: + /// properties/{property}/dataRetentionSettings + /// Example: "properties/1000/dataRetentionSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateDataRetentionSettings RPC. +/// Request message for UpdateDataRetentionSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataRetentionSettingsRequest { - /// Required. The settings to update. - /// The `name` field is used to identify the settings to be updated. + /// Required. The settings to update. + /// The `name` field is used to identify the settings to be updated. #[prost(message, optional, tag="1")] pub data_retention_settings: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for CreateDataStream RPC. +/// Request message for CreateDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataStreamRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DataStream to create. + /// Required. The DataStream to create. #[prost(message, optional, tag="2")] pub data_stream: ::core::option::Option, } -/// Request message for DeleteDataStream RPC. +/// Request message for DeleteDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataStreamRequest { - /// Required. The name of the DataStream to delete. - /// Example format: properties/1234/dataStreams/5678 + /// Required. The name of the DataStream to delete. + /// Example format: properties/1234/dataStreams/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateDataStream RPC. +/// Request message for UpdateDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataStreamRequest { - /// The DataStream to update + /// The DataStream to update #[prost(message, optional, tag="1")] pub data_stream: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListDataStreams RPC. +/// Request message for ListDataStreams RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataStreamsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDataStreams` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDataStreams` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListDataStreams` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListDataStreams` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListDataStreams RPC. +/// Response message for ListDataStreams RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataStreamsResponse { - /// List of DataStreams. + /// List of DataStreams. #[prost(message, repeated, tag="1")] pub data_streams: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetDataStream RPC. +/// Request message for GetDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataStreamRequest { - /// Required. The name of the DataStream to get. - /// Example format: properties/1234/dataStreams/5678 + /// Required. The name of the DataStream to get. + /// Example format: properties/1234/dataStreams/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetAudience RPC. +/// Request message for GetAudience RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAudienceRequest { - /// Required. The name of the Audience to get. - /// Example format: properties/1234/audiences/5678 + /// Required. The name of the Audience to get. + /// Example format: properties/1234/audiences/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAudiences RPC. +/// Request message for ListAudiences RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAudiencesRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListAudiences` call. Provide this - /// to retrieve the subsequent page. + /// A page token, received from a previous `ListAudiences` call. Provide this + /// to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListAudiences` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListAudiences` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListAudiences RPC. +/// Response message for ListAudiences RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAudiencesResponse { - /// List of Audiences. + /// List of Audiences. #[prost(message, repeated, tag="1")] pub audiences: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateAudience RPC. +/// Request message for CreateAudience RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAudienceRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The audience to create. + /// Required. The audience to create. #[prost(message, optional, tag="2")] pub audience: ::core::option::Option, } -/// Request message for UpdateAudience RPC. +/// Request message for UpdateAudience RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAudienceRequest { - /// Required. The audience to update. - /// The audience's `name` field is used to identify the audience to be updated. + /// Required. The audience to update. + /// The audience's `name` field is used to identify the audience to be updated. #[prost(message, optional, tag="1")] pub audience: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ArchiveAudience RPC. +/// Request message for ArchiveAudience RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArchiveAudienceRequest { - /// Required. Example format: properties/1234/audiences/5678 + /// Required. Example format: properties/1234/audiences/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetAttributionSettings RPC. +/// Request message for GetAttributionSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAttributionSettingsRequest { - /// Required. The name of the attribution settings to retrieve. - /// Format: properties/{property}/attributionSettings + /// Required. The name of the attribution settings to retrieve. + /// Format: properties/{property}/attributionSettings #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateAttributionSettings RPC +/// Request message for UpdateAttributionSettings RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAttributionSettingsRequest { - /// Required. The attribution settings to update. - /// The `name` field is used to identify the settings to be updated. + /// Required. The attribution settings to update. + /// The `name` field is used to identify the settings to be updated. #[prost(message, optional, tag="1")] pub attribution_settings: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } diff --git a/gcloud-sdk/genproto/google.analytics.admin.v1beta.rs b/gcloud-sdk/genproto/google.analytics.admin.v1beta.rs index 7c5c24530..a811a143d 100644 --- a/gcloud-sdk/genproto/google.analytics.admin.v1beta.rs +++ b/gcloud-sdk/genproto/google.analytics.admin.v1beta.rs @@ -1,182 +1,182 @@ -/// A resource message representing a Google Analytics account. +/// A resource message representing a Google Analytics account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Account { - /// Output only. Resource name of this account. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Output only. Resource name of this account. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Time when this account was originally created. + /// Output only. Time when this account was originally created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when account payload fields were last updated. + /// Output only. Time when account payload fields were last updated. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Human-readable display name for this account. + /// Required. Human-readable display name for this account. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Country of business. Must be a Unicode CLDR region code. + /// Country of business. Must be a Unicode CLDR region code. #[prost(string, tag="5")] pub region_code: ::prost::alloc::string::String, - /// Output only. Indicates whether this Account is soft-deleted or not. Deleted - /// accounts are excluded from List results unless specifically requested. + /// Output only. Indicates whether this Account is soft-deleted or not. Deleted + /// accounts are excluded from List results unless specifically requested. #[prost(bool, tag="6")] pub deleted: bool, } -/// A resource message representing a Google Analytics GA4 property. +/// A resource message representing a Google Analytics GA4 property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Property { - /// Output only. Resource name of this property. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Output only. Resource name of this property. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The property type for this Property resource. When creating a property, if - /// the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be - /// implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created - /// via Google Analytics Admin API. + /// Immutable. The property type for this Property resource. When creating a property, if + /// the type is "PROPERTY_TYPE_UNSPECIFIED", then "ORDINARY_PROPERTY" will be + /// implied. "SUBPROPERTY" and "ROLLUP_PROPERTY" types cannot yet be created + /// via Google Analytics Admin API. #[prost(enumeration="PropertyType", tag="14")] pub property_type: i32, - /// Output only. Time when the entity was originally created. + /// Output only. Time when the entity was originally created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when entity payload fields were last updated. + /// Output only. Time when entity payload fields were last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. Resource name of this property's logical parent. + /// Immutable. Resource name of this property's logical parent. /// - /// Note: The Property-Moving UI can be used to change the parent. - /// Format: accounts/{account}, properties/{property} - /// Example: "accounts/100", "properties/101" + /// Note: The Property-Moving UI can be used to change the parent. + /// Format: accounts/{account}, properties/{property} + /// Example: "accounts/100", "properties/101" #[prost(string, tag="2")] pub parent: ::prost::alloc::string::String, - /// Required. Human-readable display name for this property. + /// Required. Human-readable display name for this property. /// - /// The max allowed display name length is 100 UTF-16 code units. + /// The max allowed display name length is 100 UTF-16 code units. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Industry associated with this property - /// Example: AUTOMOTIVE, FOOD_AND_DRINK + /// Industry associated with this property + /// Example: AUTOMOTIVE, FOOD_AND_DRINK #[prost(enumeration="IndustryCategory", tag="6")] pub industry_category: i32, - /// Required. Reporting Time Zone, used as the day boundary for reports, regardless of - /// where the data originates. If the time zone honors DST, Analytics will - /// automatically adjust for the changes. + /// Required. Reporting Time Zone, used as the day boundary for reports, regardless of + /// where the data originates. If the time zone honors DST, Analytics will + /// automatically adjust for the changes. /// - /// NOTE: Changing the time zone only affects data going forward, and is not - /// applied retroactively. + /// NOTE: Changing the time zone only affects data going forward, and is not + /// applied retroactively. /// - /// Format: - /// Example: "America/Los_Angeles" + /// Format: + /// Example: "America/Los_Angeles" #[prost(string, tag="7")] pub time_zone: ::prost::alloc::string::String, - /// The currency type used in reports involving monetary values. + /// The currency type used in reports involving monetary values. /// /// - /// Format: - /// Examples: "USD", "EUR", "JPY" + /// Format: + /// Examples: "USD", "EUR", "JPY" #[prost(string, tag="8")] pub currency_code: ::prost::alloc::string::String, - /// Output only. The Google Analytics service level that applies to this property. + /// Output only. The Google Analytics service level that applies to this property. #[prost(enumeration="ServiceLevel", tag="10")] pub service_level: i32, - /// Output only. If set, the time at which this property was trashed. If not set, then this - /// property is not currently in the trash can. + /// Output only. If set, the time at which this property was trashed. If not set, then this + /// property is not currently in the trash can. #[prost(message, optional, tag="11")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. If set, the time at which this trashed property will be permanently - /// deleted. If not set, then this property is not currently in the trash can - /// and is not slated to be deleted. + /// Output only. If set, the time at which this trashed property will be permanently + /// deleted. If not set, then this property is not currently in the trash can + /// and is not slated to be deleted. #[prost(message, optional, tag="12")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. The resource name of the parent account - /// Format: accounts/{account_id} - /// Example: "accounts/123" + /// Immutable. The resource name of the parent account + /// Format: accounts/{account_id} + /// Example: "accounts/123" #[prost(string, tag="13")] pub account: ::prost::alloc::string::String, } -/// A resource message representing a data stream. +/// A resource message representing a data stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataStream { - /// Output only. Resource name of this Data Stream. - /// Format: properties/{property_id}/dataStreams/{stream_id} - /// Example: "properties/1000/dataStreams/2000" + /// Output only. Resource name of this Data Stream. + /// Format: properties/{property_id}/dataStreams/{stream_id} + /// Example: "properties/1000/dataStreams/2000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of this DataStream resource. + /// Required. Immutable. The type of this DataStream resource. #[prost(enumeration="data_stream::DataStreamType", tag="2")] pub r#type: i32, - /// Human-readable display name for the Data Stream. + /// Human-readable display name for the Data Stream. /// - /// Required for web data streams. + /// Required for web data streams. /// - /// The max allowed display name length is 255 UTF-16 code units. + /// The max allowed display name length is 255 UTF-16 code units. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Time when this stream was originally created. + /// Output only. Time when this stream was originally created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when stream payload fields were last updated. + /// Output only. Time when stream payload fields were last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Data for specific data stream types. The message that will be - /// set corresponds to the type of this stream. + /// Data for specific data stream types. The message that will be + /// set corresponds to the type of this stream. #[prost(oneof="data_stream::StreamData", tags="6, 7, 8")] pub stream_data: ::core::option::Option, } /// Nested message and enum types in `DataStream`. pub mod data_stream { - /// Data specific to web streams. + /// Data specific to web streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebStreamData { - /// Output only. Analytics "Measurement ID", without the "G-" prefix. - /// Example: "G-1A2BCD345E" would just be "1A2BCD345E" + /// Output only. Analytics "Measurement ID", without the "G-" prefix. + /// Example: "G-1A2BCD345E" would just be "1A2BCD345E" #[prost(string, tag="1")] pub measurement_id: ::prost::alloc::string::String, - /// Output only. ID of the corresponding web app in Firebase, if any. - /// This ID can change if the web app is deleted and recreated. + /// Output only. ID of the corresponding web app in Firebase, if any. + /// This ID can change if the web app is deleted and recreated. #[prost(string, tag="2")] pub firebase_app_id: ::prost::alloc::string::String, - /// Immutable. Domain name of the web app being measured, or empty. - /// Example: " " + /// Immutable. Domain name of the web app being measured, or empty. + /// Example: " " #[prost(string, tag="3")] pub default_uri: ::prost::alloc::string::String, } - /// Data specific to Android app streams. + /// Data specific to Android app streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AndroidAppStreamData { - /// Output only. ID of the corresponding Android app in Firebase, if any. - /// This ID can change if the Android app is deleted and recreated. + /// Output only. ID of the corresponding Android app in Firebase, if any. + /// This ID can change if the Android app is deleted and recreated. #[prost(string, tag="1")] pub firebase_app_id: ::prost::alloc::string::String, - /// Immutable. The package name for the app being measured. - /// Example: "com.example.myandroidapp" + /// Immutable. The package name for the app being measured. + /// Example: "com.example.myandroidapp" #[prost(string, tag="2")] pub package_name: ::prost::alloc::string::String, } - /// Data specific to iOS app streams. + /// Data specific to iOS app streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IosAppStreamData { - /// Output only. ID of the corresponding iOS app in Firebase, if any. - /// This ID can change if the iOS app is deleted and recreated. + /// Output only. ID of the corresponding iOS app in Firebase, if any. + /// This ID can change if the iOS app is deleted and recreated. #[prost(string, tag="1")] pub firebase_app_id: ::prost::alloc::string::String, - /// Required. Immutable. The Apple App Store Bundle ID for the app - /// Example: "com.example.myiosapp" + /// Required. Immutable. The Apple App Store Bundle ID for the app + /// Example: "com.example.myiosapp" #[prost(string, tag="2")] pub bundle_id: ::prost::alloc::string::String, } - /// The type of the data stream. + /// The type of the data stream. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataStreamType { - /// Type unknown or not specified. + /// Type unknown or not specified. Unspecified = 0, - /// Web data stream. + /// Web data stream. WebDataStream = 1, - /// Android app data stream. + /// Android app data stream. AndroidAppDataStream = 2, - /// iOS app data stream. + /// iOS app data stream. IosAppDataStream = 3, } impl DataStreamType { @@ -193,215 +193,215 @@ pub mod data_stream { } } } - /// Data for specific data stream types. The message that will be - /// set corresponds to the type of this stream. + /// Data for specific data stream types. The message that will be + /// set corresponds to the type of this stream. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StreamData { - /// Data specific to web streams. Must be populated if type is - /// WEB_DATA_STREAM. + /// Data specific to web streams. Must be populated if type is + /// WEB_DATA_STREAM. #[prost(message, tag="6")] WebStreamData(WebStreamData), - /// Data specific to Android app streams. Must be populated if type is - /// ANDROID_APP_DATA_STREAM. + /// Data specific to Android app streams. Must be populated if type is + /// ANDROID_APP_DATA_STREAM. #[prost(message, tag="7")] AndroidAppStreamData(AndroidAppStreamData), - /// Data specific to iOS app streams. Must be populated if type is - /// IOS_APP_DATA_STREAM. + /// Data specific to iOS app streams. Must be populated if type is + /// IOS_APP_DATA_STREAM. #[prost(message, tag="8")] IosAppStreamData(IosAppStreamData), } } -/// A link between a GA4 property and a Firebase project. +/// A link between a GA4 property and a Firebase project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirebaseLink { - /// Output only. Example format: properties/1234/firebaseLinks/5678 + /// Output only. Example format: properties/1234/firebaseLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Firebase project resource name. When creating a FirebaseLink, you may - /// provide this resource name using either a project number or project ID. - /// Once this resource has been created, returned FirebaseLinks will always - /// have a project_name that contains a project number. + /// Immutable. Firebase project resource name. When creating a FirebaseLink, you may + /// provide this resource name using either a project number or project ID. + /// Once this resource has been created, returned FirebaseLinks will always + /// have a project_name that contains a project number. /// - /// Format: 'projects/{project number}' - /// Example: 'projects/1234' + /// Format: 'projects/{project number}' + /// Example: 'projects/1234' #[prost(string, tag="2")] pub project: ::prost::alloc::string::String, - /// Output only. Time when this FirebaseLink was originally created. + /// Output only. Time when this FirebaseLink was originally created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// A link between a GA4 property and a Google Ads account. +/// A link between a GA4 property and a Google Ads account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GoogleAdsLink { - /// Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} + /// Output only. Format: properties/{propertyId}/googleAdsLinks/{googleAdsLinkId} /// - /// Note: googleAdsLinkId is not the Google Ads customer ID. + /// Note: googleAdsLinkId is not the Google Ads customer ID. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Google Ads customer ID. + /// Immutable. Google Ads customer ID. #[prost(string, tag="3")] pub customer_id: ::prost::alloc::string::String, - /// Output only. If true, this link is for a Google Ads manager account. + /// Output only. If true, this link is for a Google Ads manager account. #[prost(bool, tag="4")] pub can_manage_clients: bool, - /// Enable personalized advertising features with this integration. - /// Automatically publish my Google Analytics audience lists and Google - /// Analytics remarketing events/parameters to the linked Google Ads account. - /// If this field is not set on create/update, it will be defaulted to true. + /// Enable personalized advertising features with this integration. + /// Automatically publish my Google Analytics audience lists and Google + /// Analytics remarketing events/parameters to the linked Google Ads account. + /// If this field is not set on create/update, it will be defaulted to true. #[prost(message, optional, tag="5")] pub ads_personalization_enabled: ::core::option::Option, - /// Output only. Time when this link was originally created. + /// Output only. Time when this link was originally created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when this link was last updated. + /// Output only. Time when this link was last updated. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Email address of the user that created the link. - /// An empty string will be returned if the email address can't be retrieved. + /// Output only. Email address of the user that created the link. + /// An empty string will be returned if the email address can't be retrieved. #[prost(string, tag="9")] pub creator_email_address: ::prost::alloc::string::String, } -/// A resource message representing data sharing settings of a Google Analytics -/// account. +/// A resource message representing data sharing settings of a Google Analytics +/// account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSharingSettings { - /// Output only. Resource name. - /// Format: accounts/{account}/dataSharingSettings - /// Example: "accounts/1000/dataSharingSettings" + /// Output only. Resource name. + /// Format: accounts/{account}/dataSharingSettings + /// Example: "accounts/1000/dataSharingSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Allows Google support to access the data in order to help troubleshoot - /// issues. + /// Allows Google support to access the data in order to help troubleshoot + /// issues. #[prost(bool, tag="2")] pub sharing_with_google_support_enabled: bool, - /// Allows Google sales teams that are assigned to the customer to access the - /// data in order to suggest configuration changes to improve results. - /// Sales team restrictions still apply when enabled. + /// Allows Google sales teams that are assigned to the customer to access the + /// data in order to suggest configuration changes to improve results. + /// Sales team restrictions still apply when enabled. #[prost(bool, tag="3")] pub sharing_with_google_assigned_sales_enabled: bool, - /// Allows any of Google sales to access the data in order to suggest - /// configuration changes to improve results. + /// Allows any of Google sales to access the data in order to suggest + /// configuration changes to improve results. #[prost(bool, tag="4")] pub sharing_with_google_any_sales_enabled: bool, - /// Allows Google to use the data to improve other Google products or services. + /// Allows Google to use the data to improve other Google products or services. #[prost(bool, tag="5")] pub sharing_with_google_products_enabled: bool, - /// Allows Google to share the data anonymously in aggregate form with others. + /// Allows Google to share the data anonymously in aggregate form with others. #[prost(bool, tag="6")] pub sharing_with_others_enabled: bool, } -/// A virtual resource representing an overview of an account and -/// all its child GA4 properties. +/// A virtual resource representing an overview of an account and +/// all its child GA4 properties. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccountSummary { - /// Resource name for this account summary. - /// Format: accountSummaries/{account_id} - /// Example: "accountSummaries/1000" + /// Resource name for this account summary. + /// Format: accountSummaries/{account_id} + /// Example: "accountSummaries/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Resource name of account referred to by this account summary - /// Format: accounts/{account_id} - /// Example: "accounts/1000" + /// Resource name of account referred to by this account summary + /// Format: accounts/{account_id} + /// Example: "accounts/1000" #[prost(string, tag="2")] pub account: ::prost::alloc::string::String, - /// Display name for the account referred to in this account summary. + /// Display name for the account referred to in this account summary. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// List of summaries for child accounts of this account. + /// List of summaries for child accounts of this account. #[prost(message, repeated, tag="4")] pub property_summaries: ::prost::alloc::vec::Vec, } -/// A virtual resource representing metadata for a GA4 property. +/// A virtual resource representing metadata for a GA4 property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertySummary { - /// Resource name of property referred to by this property summary - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Resource name of property referred to by this property summary + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Display name for the property referred to in this property summary. + /// Display name for the property referred to in this property summary. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The property's property type. + /// The property's property type. #[prost(enumeration="PropertyType", tag="3")] pub property_type: i32, - /// Resource name of this property's logical parent. + /// Resource name of this property's logical parent. /// - /// Note: The Property-Moving UI can be used to change the parent. - /// Format: accounts/{account}, properties/{property} - /// Example: "accounts/100", "properties/200" + /// Note: The Property-Moving UI can be used to change the parent. + /// Format: accounts/{account}, properties/{property} + /// Example: "accounts/100", "properties/200" #[prost(string, tag="4")] pub parent: ::prost::alloc::string::String, } -/// A secret value used for sending hits to Measurement Protocol. +/// A secret value used for sending hits to Measurement Protocol. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MeasurementProtocolSecret { - /// Output only. Resource name of this secret. This secret may be a child of any type of - /// stream. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Output only. Resource name of this secret. This secret may be a child of any type of + /// stream. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name for this secret. + /// Required. Human-readable display name for this secret. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The measurement protocol secret value. Pass this value to the api_secret - /// field of the Measurement Protocol API when sending hits to this - /// secret's parent property. + /// Output only. The measurement protocol secret value. Pass this value to the api_secret + /// field of the Measurement Protocol API when sending hits to this + /// secret's parent property. #[prost(string, tag="3")] pub secret_value: ::prost::alloc::string::String, } -/// A set of changes within a Google Analytics account or its child properties -/// that resulted from the same cause. Common causes would be updates made in the -/// Google Analytics UI, changes from customer support, or automatic Google -/// Analytics system changes. +/// A set of changes within a Google Analytics account or its child properties +/// that resulted from the same cause. Common causes would be updates made in the +/// Google Analytics UI, changes from customer support, or automatic Google +/// Analytics system changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryEvent { - /// ID of this change history event. This ID is unique across Google Analytics. + /// ID of this change history event. This ID is unique across Google Analytics. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Time when change was made. + /// Time when change was made. #[prost(message, optional, tag="2")] pub change_time: ::core::option::Option<::prost_types::Timestamp>, - /// The type of actor that made this change. + /// The type of actor that made this change. #[prost(enumeration="ActorType", tag="3")] pub actor_type: i32, - /// Email address of the Google account that made the change. This will be a - /// valid email address if the actor field is set to USER, and empty otherwise. - /// Google accounts that have been deleted will cause an error. + /// Email address of the Google account that made the change. This will be a + /// valid email address if the actor field is set to USER, and empty otherwise. + /// Google accounts that have been deleted will cause an error. #[prost(string, tag="4")] pub user_actor_email: ::prost::alloc::string::String, - /// If true, then the list of changes returned was filtered, and does not - /// represent all changes that occurred in this event. + /// If true, then the list of changes returned was filtered, and does not + /// represent all changes that occurred in this event. #[prost(bool, tag="5")] pub changes_filtered: bool, - /// A list of changes made in this change history event that fit the filters - /// specified in SearchChangeHistoryEventsRequest. + /// A list of changes made in this change history event that fit the filters + /// specified in SearchChangeHistoryEventsRequest. #[prost(message, repeated, tag="6")] pub changes: ::prost::alloc::vec::Vec, } -/// A description of a change to a single Google Analytics resource. +/// A description of a change to a single Google Analytics resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryChange { - /// Resource name of the resource whose changes are described by this entry. + /// Resource name of the resource whose changes are described by this entry. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The type of action that changed this resource. + /// The type of action that changed this resource. #[prost(enumeration="ActionType", tag="2")] pub action: i32, - /// Resource contents from before the change was made. If this resource was - /// created in this change, this field will be missing. + /// Resource contents from before the change was made. If this resource was + /// created in this change, this field will be missing. #[prost(message, optional, tag="3")] pub resource_before_change: ::core::option::Option, - /// Resource contents from after the change was made. If this resource was - /// deleted in this change, this field will be missing. + /// Resource contents from after the change was made. If this resource was + /// deleted in this change, this field will be missing. #[prost(message, optional, tag="4")] pub resource_after_change: ::core::option::Option, } /// Nested message and enum types in `ChangeHistoryChange`. pub mod change_history_change { - /// A snapshot of a resource as before or after the result of a change in - /// change history. + /// A snapshot of a resource as before or after the result of a change in + /// change history. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeHistoryResource { #[prost(oneof="change_history_resource::Resource", tags="1, 2, 6, 7, 11, 12, 15, 18")] @@ -411,108 +411,108 @@ pub mod change_history_change { pub mod change_history_resource { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resource { - /// A snapshot of an Account resource in change history. + /// A snapshot of an Account resource in change history. #[prost(message, tag="1")] Account(super::super::Account), - /// A snapshot of a Property resource in change history. + /// A snapshot of a Property resource in change history. #[prost(message, tag="2")] Property(super::super::Property), - /// A snapshot of a FirebaseLink resource in change history. + /// A snapshot of a FirebaseLink resource in change history. #[prost(message, tag="6")] FirebaseLink(super::super::FirebaseLink), - /// A snapshot of a GoogleAdsLink resource in change history. + /// A snapshot of a GoogleAdsLink resource in change history. #[prost(message, tag="7")] GoogleAdsLink(super::super::GoogleAdsLink), - /// A snapshot of a ConversionEvent resource in change history. + /// A snapshot of a ConversionEvent resource in change history. #[prost(message, tag="11")] ConversionEvent(super::super::ConversionEvent), - /// A snapshot of a MeasurementProtocolSecret resource in change history. + /// A snapshot of a MeasurementProtocolSecret resource in change history. #[prost(message, tag="12")] MeasurementProtocolSecret(super::super::MeasurementProtocolSecret), - /// A snapshot of a data retention settings resource in change history. + /// A snapshot of a data retention settings resource in change history. #[prost(message, tag="15")] DataRetentionSettings(super::super::DataRetentionSettings), - /// A snapshot of a DataStream resource in change history. + /// A snapshot of a DataStream resource in change history. #[prost(message, tag="18")] DataStream(super::super::DataStream), } } } -/// A conversion event in a Google Analytics property. +/// A conversion event in a Google Analytics property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversionEvent { - /// Output only. Resource name of this conversion event. - /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Output only. Resource name of this conversion event. + /// Format: properties/{property}/conversionEvents/{conversion_event} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The event name for this conversion event. - /// Examples: 'click', 'purchase' + /// Immutable. The event name for this conversion event. + /// Examples: 'click', 'purchase' #[prost(string, tag="2")] pub event_name: ::prost::alloc::string::String, - /// Output only. Time when this conversion event was created in the property. + /// Output only. Time when this conversion event was created in the property. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. If set, this event can currently be deleted via DeleteConversionEvent. + /// Output only. If set, this event can currently be deleted via DeleteConversionEvent. #[prost(bool, tag="4")] pub deletable: bool, - /// Output only. If set to true, this conversion event refers to a custom event. If set to - /// false, this conversion event refers to a default event in GA. Default - /// events typically have special meaning in GA. Default events are usually - /// created for you by the GA system, but in some cases can be created by - /// property admins. Custom events count towards the maximum number of - /// custom conversion events that may be created per property. + /// Output only. If set to true, this conversion event refers to a custom event. If set to + /// false, this conversion event refers to a default event in GA. Default + /// events typically have special meaning in GA. Default events are usually + /// created for you by the GA system, but in some cases can be created by + /// property admins. Custom events count towards the maximum number of + /// custom conversion events that may be created per property. #[prost(bool, tag="5")] pub custom: bool, } -/// A definition for a CustomDimension. +/// A definition for a CustomDimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomDimension { - /// Output only. Resource name for this CustomDimension resource. - /// Format: properties/{property}/customDimensions/{customDimension} + /// Output only. Resource name for this CustomDimension resource. + /// Format: properties/{property}/customDimensions/{customDimension} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Tagging parameter name for this custom dimension. + /// Required. Immutable. Tagging parameter name for this custom dimension. /// - /// If this is a user-scoped dimension, then this is the user property name. - /// If this is an event-scoped dimension, then this is the event parameter - /// name. + /// If this is a user-scoped dimension, then this is the user property name. + /// If this is an event-scoped dimension, then this is the event parameter + /// name. /// - /// May only contain alphanumeric and underscore characters, starting with a - /// letter. Max length of 24 characters for user-scoped dimensions, 40 - /// characters for event-scoped dimensions. + /// May only contain alphanumeric and underscore characters, starting with a + /// letter. Max length of 24 characters for user-scoped dimensions, 40 + /// characters for event-scoped dimensions. #[prost(string, tag="2")] pub parameter_name: ::prost::alloc::string::String, - /// Required. Display name for this custom dimension as shown in the Analytics UI. - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. + /// Required. Display name for this custom dimension as shown in the Analytics UI. + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description for this custom dimension. Max length of 150 characters. + /// Optional. Description for this custom dimension. Max length of 150 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. The scope of this dimension. + /// Required. Immutable. The scope of this dimension. #[prost(enumeration="custom_dimension::DimensionScope", tag="5")] pub scope: i32, - /// Optional. If set to true, sets this dimension as NPA and excludes it from ads - /// personalization. + /// Optional. If set to true, sets this dimension as NPA and excludes it from ads + /// personalization. /// - /// This is currently only supported by user-scoped custom dimensions. + /// This is currently only supported by user-scoped custom dimensions. #[prost(bool, tag="6")] pub disallow_ads_personalization: bool, } /// Nested message and enum types in `CustomDimension`. pub mod custom_dimension { - /// Valid values for the scope of this dimension. + /// Valid values for the scope of this dimension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DimensionScope { - /// Scope unknown or not specified. + /// Scope unknown or not specified. Unspecified = 0, - /// Dimension scoped to an event. + /// Dimension scoped to an event. Event = 1, - /// Dimension scoped to a user. + /// Dimension scoped to a user. User = 2, } impl DimensionScope { @@ -529,75 +529,75 @@ pub mod custom_dimension { } } } -/// A definition for a custom metric. +/// A definition for a custom metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomMetric { - /// Output only. Resource name for this CustomMetric resource. - /// Format: properties/{property}/customMetrics/{customMetric} + /// Output only. Resource name for this CustomMetric resource. + /// Format: properties/{property}/customMetrics/{customMetric} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Tagging name for this custom metric. + /// Required. Immutable. Tagging name for this custom metric. /// - /// If this is an event-scoped metric, then this is the event parameter - /// name. + /// If this is an event-scoped metric, then this is the event parameter + /// name. /// - /// May only contain alphanumeric and underscore charactes, starting with a - /// letter. Max length of 40 characters for event-scoped metrics. + /// May only contain alphanumeric and underscore charactes, starting with a + /// letter. Max length of 40 characters for event-scoped metrics. #[prost(string, tag="2")] pub parameter_name: ::prost::alloc::string::String, - /// Required. Display name for this custom metric as shown in the Analytics UI. - /// Max length of 82 characters, alphanumeric plus space and underscore - /// starting with a letter. Legacy system-generated display names may contain - /// square brackets, but updates to this field will never permit square - /// brackets. + /// Required. Display name for this custom metric as shown in the Analytics UI. + /// Max length of 82 characters, alphanumeric plus space and underscore + /// starting with a letter. Legacy system-generated display names may contain + /// square brackets, but updates to this field will never permit square + /// brackets. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description for this custom dimension. - /// Max length of 150 characters. + /// Optional. Description for this custom dimension. + /// Max length of 150 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Required. The type for the custom metric's value. + /// Required. The type for the custom metric's value. #[prost(enumeration="custom_metric::MeasurementUnit", tag="5")] pub measurement_unit: i32, - /// Required. Immutable. The scope of this custom metric. + /// Required. Immutable. The scope of this custom metric. #[prost(enumeration="custom_metric::MetricScope", tag="6")] pub scope: i32, - /// Optional. Types of restricted data that this metric may contain. Required for metrics - /// with CURRENCY measurement unit. Must be empty for metrics with a - /// non-CURRENCY measurement unit. + /// Optional. Types of restricted data that this metric may contain. Required for metrics + /// with CURRENCY measurement unit. Must be empty for metrics with a + /// non-CURRENCY measurement unit. #[prost(enumeration="custom_metric::RestrictedMetricType", repeated, packed="false", tag="8")] pub restricted_metric_type: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CustomMetric`. pub mod custom_metric { - /// Possible types of representing the custom metric's value. + /// Possible types of representing the custom metric's value. /// - /// Currency representation may change in the future, requiring a breaking API - /// change. + /// Currency representation may change in the future, requiring a breaking API + /// change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MeasurementUnit { - /// MeasurementUnit unspecified or missing. + /// MeasurementUnit unspecified or missing. Unspecified = 0, - /// This metric uses default units. + /// This metric uses default units. Standard = 1, - /// This metric measures a currency. + /// This metric measures a currency. Currency = 2, - /// This metric measures feet. + /// This metric measures feet. Feet = 3, - /// This metric measures meters. + /// This metric measures meters. Meters = 4, - /// This metric measures kilometers. + /// This metric measures kilometers. Kilometers = 5, - /// This metric measures miles. + /// This metric measures miles. Miles = 6, - /// This metric measures milliseconds. + /// This metric measures milliseconds. Milliseconds = 7, - /// This metric measures seconds. + /// This metric measures seconds. Seconds = 8, - /// This metric measures minutes. + /// This metric measures minutes. Minutes = 9, - /// This metric measures hours. + /// This metric measures hours. Hours = 10, } impl MeasurementUnit { @@ -621,13 +621,13 @@ pub mod custom_metric { } } } - /// The scope of this metric. + /// The scope of this metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricScope { - /// Scope unknown or not specified. + /// Scope unknown or not specified. Unspecified = 0, - /// Metric scoped to an event. + /// Metric scoped to an event. Event = 1, } impl MetricScope { @@ -642,16 +642,16 @@ pub mod custom_metric { } } } - /// Labels that mark the data in this custom metric as data that should be - /// restricted to specific users. + /// Labels that mark the data in this custom metric as data that should be + /// restricted to specific users. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestrictedMetricType { - /// Type unknown or unspecified. + /// Type unknown or unspecified. Unspecified = 0, - /// Metric reports cost data. + /// Metric reports cost data. CostData = 1, - /// Metric reports revenue data. + /// Metric reports revenue data. RevenueData = 2, } impl RestrictedMetricType { @@ -668,41 +668,41 @@ pub mod custom_metric { } } } -/// Settings values for data retention. This is a singleton resource. +/// Settings values for data retention. This is a singleton resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataRetentionSettings { - /// Output only. Resource name for this DataRetentionSetting resource. - /// Format: properties/{property}/dataRetentionSettings + /// Output only. Resource name for this DataRetentionSetting resource. + /// Format: properties/{property}/dataRetentionSettings #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The length of time that event-level data is retained. + /// The length of time that event-level data is retained. #[prost(enumeration="data_retention_settings::RetentionDuration", tag="2")] pub event_data_retention: i32, - /// If true, reset the retention period for the user identifier with every - /// event from that user. + /// If true, reset the retention period for the user identifier with every + /// event from that user. #[prost(bool, tag="3")] pub reset_user_data_on_new_activity: bool, } /// Nested message and enum types in `DataRetentionSettings`. pub mod data_retention_settings { - /// Valid values for the data retention duration. + /// Valid values for the data retention duration. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RetentionDuration { - /// Data retention time duration is not specified. + /// Data retention time duration is not specified. Unspecified = 0, - /// The data retention time duration is 2 months. + /// The data retention time duration is 2 months. TwoMonths = 1, - /// The data retention time duration is 14 months. + /// The data retention time duration is 14 months. FourteenMonths = 3, - /// The data retention time duration is 26 months. - /// Available to 360 properties only. + /// The data retention time duration is 26 months. + /// Available to 360 properties only. TwentySixMonths = 4, - /// The data retention time duration is 38 months. - /// Available to 360 properties only. + /// The data retention time duration is 38 months. + /// Available to 360 properties only. ThirtyEightMonths = 5, - /// The data retention time duration is 50 months. - /// Available to 360 properties only. + /// The data retention time duration is 50 months. + /// Available to 360 properties only. FiftyMonths = 6, } impl RetentionDuration { @@ -722,63 +722,63 @@ pub mod data_retention_settings { } } } -/// The category selected for this property, used for industry benchmarking. +/// The category selected for this property, used for industry benchmarking. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IndustryCategory { - /// Industry category unspecified + /// Industry category unspecified Unspecified = 0, - /// Automotive + /// Automotive Automotive = 1, - /// Business and industrial markets + /// Business and industrial markets BusinessAndIndustrialMarkets = 2, - /// Finance + /// Finance Finance = 3, - /// Healthcare + /// Healthcare Healthcare = 4, - /// Technology + /// Technology Technology = 5, - /// Travel + /// Travel Travel = 6, - /// Other + /// Other Other = 7, - /// Arts and entertainment + /// Arts and entertainment ArtsAndEntertainment = 8, - /// Beauty and fitness + /// Beauty and fitness BeautyAndFitness = 9, - /// Books and literature + /// Books and literature BooksAndLiterature = 10, - /// Food and drink + /// Food and drink FoodAndDrink = 11, - /// Games + /// Games Games = 12, - /// Hobbies and leisure + /// Hobbies and leisure HobbiesAndLeisure = 13, - /// Home and garden + /// Home and garden HomeAndGarden = 14, - /// Internet and telecom + /// Internet and telecom InternetAndTelecom = 15, - /// Law and government + /// Law and government LawAndGovernment = 16, - /// News + /// News News = 17, - /// Online communities + /// Online communities OnlineCommunities = 18, - /// People and society + /// People and society PeopleAndSociety = 19, - /// Pets and animals + /// Pets and animals PetsAndAnimals = 20, - /// Real estate + /// Real estate RealEstate = 21, - /// Reference + /// Reference Reference = 22, - /// Science + /// Science Science = 23, - /// Sports + /// Sports Sports = 24, - /// Jobs and education + /// Jobs and education JobsAndEducation = 25, - /// Shopping + /// Shopping Shopping = 26, } impl IndustryCategory { @@ -818,15 +818,15 @@ impl IndustryCategory { } } } -/// Various levels of service for Google Analytics. +/// Various levels of service for Google Analytics. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServiceLevel { - /// Service level not specified or invalid. + /// Service level not specified or invalid. Unspecified = 0, - /// The standard version of Google Analytics. + /// The standard version of Google Analytics. GoogleAnalyticsStandard = 1, - /// The paid, premium version of Google Analytics. + /// The paid, premium version of Google Analytics. GoogleAnalytics360 = 2, } impl ServiceLevel { @@ -842,18 +842,18 @@ impl ServiceLevel { } } } -/// Different kinds of actors that can make changes to Google Analytics -/// resources. +/// Different kinds of actors that can make changes to Google Analytics +/// resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ActorType { - /// Unknown or unspecified actor type. + /// Unknown or unspecified actor type. Unspecified = 0, - /// Changes made by the user specified in actor_email. + /// Changes made by the user specified in actor_email. User = 1, - /// Changes made by the Google Analytics system. + /// Changes made by the Google Analytics system. System = 2, - /// Changes made by Google Analytics support team staff. + /// Changes made by Google Analytics support team staff. Support = 3, } impl ActorType { @@ -870,17 +870,17 @@ impl ActorType { } } } -/// Types of actions that may change a resource. +/// Types of actions that may change a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ActionType { - /// Action type unknown or not specified. + /// Action type unknown or not specified. Unspecified = 0, - /// Resource was created in this change. + /// Resource was created in this change. Created = 1, - /// Resource was updated in this change. + /// Resource was updated in this change. Updated = 2, - /// Resource was deleted in this change. + /// Resource was deleted in this change. Deleted = 3, } impl ActionType { @@ -897,35 +897,35 @@ impl ActionType { } } } -/// Types of resources whose changes may be returned from change history. +/// Types of resources whose changes may be returned from change history. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeHistoryResourceType { - /// Resource type unknown or not specified. + /// Resource type unknown or not specified. Unspecified = 0, - /// Account resource + /// Account resource Account = 1, - /// Property resource + /// Property resource Property = 2, - /// FirebaseLink resource + /// FirebaseLink resource FirebaseLink = 6, - /// GoogleAdsLink resource + /// GoogleAdsLink resource GoogleAdsLink = 7, - /// GoogleSignalsSettings resource + /// GoogleSignalsSettings resource GoogleSignalsSettings = 8, - /// ConversionEvent resource + /// ConversionEvent resource ConversionEvent = 9, - /// MeasurementProtocolSecret resource + /// MeasurementProtocolSecret resource MeasurementProtocolSecret = 10, - /// DataRetentionSettings resource + /// DataRetentionSettings resource DataRetentionSettings = 13, - /// DisplayVideo360AdvertiserLink resource + /// DisplayVideo360AdvertiserLink resource DisplayVideo360AdvertiserLink = 14, - /// DisplayVideo360AdvertiserLinkProposal resource + /// DisplayVideo360AdvertiserLinkProposal resource DisplayVideo360AdvertiserLinkProposal = 15, - /// DataStream resource + /// DataStream resource DataStream = 18, - /// AttributionSettings resource + /// AttributionSettings resource AttributionSettings = 20, } impl ChangeHistoryResourceType { @@ -951,17 +951,17 @@ impl ChangeHistoryResourceType { } } } -/// Types of Property resources. +/// Types of Property resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PropertyType { - /// Unknown or unspecified property type + /// Unknown or unspecified property type Unspecified = 0, - /// Ordinary GA4 property + /// Ordinary GA4 property Ordinary = 1, - /// GA4 subproperty + /// GA4 subproperty Subproperty = 2, - /// GA4 rollup property + /// GA4 rollup property Rollup = 3, } impl PropertyType { @@ -978,749 +978,749 @@ impl PropertyType { } } } -/// Request message for GetAccount RPC. +/// Request message for GetAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccountRequest { - /// Required. The name of the account to lookup. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Required. The name of the account to lookup. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAccounts RPC. +/// Request message for ListAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountsRequest { - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListAccounts` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListAccounts` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListAccounts` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAccounts` must + /// match the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Whether to include soft-deleted (ie: "trashed") Accounts in the - /// results. Accounts can be inspected to determine whether they are deleted or - /// not. + /// Whether to include soft-deleted (ie: "trashed") Accounts in the + /// results. Accounts can be inspected to determine whether they are deleted or + /// not. #[prost(bool, tag="3")] pub show_deleted: bool, } -/// Request message for ListAccounts RPC. +/// Request message for ListAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountsResponse { - /// Results that were accessible to the caller. + /// Results that were accessible to the caller. #[prost(message, repeated, tag="1")] pub accounts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DeleteAccount RPC. +/// Request message for DeleteAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAccountRequest { - /// Required. The name of the Account to soft-delete. - /// Format: accounts/{account} - /// Example: "accounts/100" + /// Required. The name of the Account to soft-delete. + /// Format: accounts/{account} + /// Example: "accounts/100" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateAccount RPC. +/// Request message for UpdateAccount RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAccountRequest { - /// Required. The account to update. - /// The account's `name` field is used to identify the account. + /// Required. The account to update. + /// The account's `name` field is used to identify the account. #[prost(message, optional, tag="1")] pub account: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ProvisionAccountTicket RPC. +/// Request message for ProvisionAccountTicket RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionAccountTicketRequest { - /// The account to create. + /// The account to create. #[prost(message, optional, tag="1")] pub account: ::core::option::Option, - /// Redirect URI where the user will be sent after accepting Terms of Service. - /// Must be configured in Developers Console as a Redirect URI + /// Redirect URI where the user will be sent after accepting Terms of Service. + /// Must be configured in Developers Console as a Redirect URI #[prost(string, tag="2")] pub redirect_uri: ::prost::alloc::string::String, } -/// Response message for ProvisionAccountTicket RPC. +/// Response message for ProvisionAccountTicket RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionAccountTicketResponse { - /// The param to be passed in the ToS link. + /// The param to be passed in the ToS link. #[prost(string, tag="1")] pub account_ticket_id: ::prost::alloc::string::String, } -/// Request message for GetProperty RPC. +/// Request message for GetProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPropertyRequest { - /// Required. The name of the property to lookup. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Required. The name of the property to lookup. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListProperties RPC. +/// Request message for ListProperties RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPropertiesRequest { - /// Required. An expression for filtering the results of the request. - /// Fields eligible for filtering are: - /// `parent:`(The resource name of the parent account/property) or - /// `ancestor:`(The resource name of the parent account) or - /// `firebase_project:`(The id or number of the linked firebase project). - /// Some examples of filters: + /// Required. An expression for filtering the results of the request. + /// Fields eligible for filtering are: + /// `parent:`(The resource name of the parent account/property) or + /// `ancestor:`(The resource name of the parent account) or + /// `firebase_project:`(The id or number of the linked firebase project). + /// Some examples of filters: /// - /// ``` - /// | Filter | Description | - /// |-----------------------------|-------------------------------------------| - /// | parent:accounts/123 | The account with account id: 123. | - /// | parent:properties/123 | The property with property id: 123. | - /// | ancestor:accounts/123 | The account with account id: 123. | - /// | firebase_project:project-id | The firebase project with id: project-id. | - /// | firebase_project:123 | The firebase project with number: 123. | - /// ``` + /// ``` + /// | Filter | Description | + /// |-----------------------------|-------------------------------------------| + /// | parent:accounts/123 | The account with account id: 123. | + /// | parent:properties/123 | The property with property id: 123. | + /// | ancestor:accounts/123 | The account with account id: 123. | + /// | firebase_project:project-id | The firebase project with id: project-id. | + /// | firebase_project:123 | The firebase project with number: 123. | + /// ``` #[prost(string, tag="1")] pub filter: ::prost::alloc::string::String, - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListProperties` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListProperties` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListProperties` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListProperties` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Whether to include soft-deleted (ie: "trashed") Properties in the - /// results. Properties can be inspected to determine whether they are deleted - /// or not. + /// Whether to include soft-deleted (ie: "trashed") Properties in the + /// results. Properties can be inspected to determine whether they are deleted + /// or not. #[prost(bool, tag="4")] pub show_deleted: bool, } -/// Response message for ListProperties RPC. +/// Response message for ListProperties RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPropertiesResponse { - /// Results that matched the filter criteria and were accessible to the caller. + /// Results that matched the filter criteria and were accessible to the caller. #[prost(message, repeated, tag="1")] pub properties: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for UpdateProperty RPC. +/// Request message for UpdateProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePropertyRequest { - /// Required. The property to update. - /// The property's `name` field is used to identify the property to be - /// updated. + /// Required. The property to update. + /// The property's `name` field is used to identify the property to be + /// updated. #[prost(message, optional, tag="1")] pub property: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for CreateProperty RPC. +/// Request message for CreateProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePropertyRequest { - /// Required. The property to create. - /// Note: the supplied property must specify its parent. + /// Required. The property to create. + /// Note: the supplied property must specify its parent. #[prost(message, optional, tag="1")] pub property: ::core::option::Option, } -/// Request message for DeleteProperty RPC. +/// Request message for DeleteProperty RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePropertyRequest { - /// Required. The name of the Property to soft-delete. - /// Format: properties/{property_id} - /// Example: "properties/1000" + /// Required. The name of the Property to soft-delete. + /// Format: properties/{property_id} + /// Example: "properties/1000" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateFirebaseLink RPC +/// Request message for CreateFirebaseLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFirebaseLinkRequest { - /// Required. Format: properties/{property_id} - /// Example: properties/1234 + /// Required. Format: properties/{property_id} + /// Example: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Firebase link to create. + /// Required. The Firebase link to create. #[prost(message, optional, tag="2")] pub firebase_link: ::core::option::Option, } -/// Request message for DeleteFirebaseLink RPC +/// Request message for DeleteFirebaseLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFirebaseLinkRequest { - /// Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} - /// Example: properties/1234/firebaseLinks/5678 + /// Required. Format: properties/{property_id}/firebaseLinks/{firebase_link_id} + /// Example: properties/1234/firebaseLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListFirebaseLinks RPC +/// Request message for ListFirebaseLinks RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirebaseLinksRequest { - /// Required. Format: properties/{property_id} - /// Example: properties/1234 + /// Required. Format: properties/{property_id} + /// Example: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. The service may return - /// fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. The service may return + /// fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListFirebaseLinks` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListProperties` must - /// match the call that provided the page token. + /// A page token, received from a previous `ListFirebaseLinks` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListProperties` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListFirebaseLinks RPC +/// Response message for ListFirebaseLinks RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirebaseLinksResponse { - /// List of FirebaseLinks. This will have at most one value. + /// List of FirebaseLinks. This will have at most one value. #[prost(message, repeated, tag="1")] pub firebase_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. - /// Currently, Google Analytics supports only one FirebaseLink per property, - /// so this will never be populated. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. + /// Currently, Google Analytics supports only one FirebaseLink per property, + /// so this will never be populated. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateGoogleAdsLink RPC +/// Request message for CreateGoogleAdsLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateGoogleAdsLinkRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The GoogleAdsLink to create. + /// Required. The GoogleAdsLink to create. #[prost(message, optional, tag="2")] pub google_ads_link: ::core::option::Option, } -/// Request message for UpdateGoogleAdsLink RPC +/// Request message for UpdateGoogleAdsLink RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateGoogleAdsLinkRequest { - /// The GoogleAdsLink to update + /// The GoogleAdsLink to update #[prost(message, optional, tag="1")] pub google_ads_link: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for DeleteGoogleAdsLink RPC. +/// Request message for DeleteGoogleAdsLink RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGoogleAdsLinkRequest { - /// Required. Example format: properties/1234/googleAdsLinks/5678 + /// Required. Example format: properties/1234/googleAdsLinks/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListGoogleAdsLinks RPC. +/// Request message for ListGoogleAdsLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGoogleAdsLinksRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListGoogleAdsLinks` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListGoogleAdsLinks` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListGoogleAdsLinks` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListGoogleAdsLinks` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListGoogleAdsLinks RPC. +/// Response message for ListGoogleAdsLinks RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGoogleAdsLinksResponse { - /// List of GoogleAdsLinks. + /// List of GoogleAdsLinks. #[prost(message, repeated, tag="1")] pub google_ads_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetDataSharingSettings RPC. +/// Request message for GetDataSharingSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataSharingSettingsRequest { - /// Required. The name of the settings to lookup. - /// Format: accounts/{account}/dataSharingSettings - /// Example: "accounts/1000/dataSharingSettings" + /// Required. The name of the settings to lookup. + /// Format: accounts/{account}/dataSharingSettings + /// Example: "accounts/1000/dataSharingSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAccountSummaries RPC. +/// Request message for ListAccountSummaries RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountSummariesRequest { - /// The maximum number of AccountSummary resources to return. The service may - /// return fewer than this value, even if there are additional pages. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of AccountSummary resources to return. The service may + /// return fewer than this value, even if there are additional pages. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListAccountSummaries` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListAccountSummaries` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListAccountSummaries` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListAccountSummaries` + /// must match the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListAccountSummaries RPC. +/// Response message for ListAccountSummaries RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAccountSummariesResponse { - /// Account summaries of all accounts the caller has access to. + /// Account summaries of all accounts the caller has access to. #[prost(message, repeated, tag="1")] pub account_summaries: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for AcknowledgeUserDataCollection RPC. +/// Request message for AcknowledgeUserDataCollection RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcknowledgeUserDataCollectionRequest { - /// Required. The property for which to acknowledge user data collection. + /// Required. The property for which to acknowledge user data collection. #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Required. An acknowledgement that the caller of this method understands the terms - /// of user data collection. + /// Required. An acknowledgement that the caller of this method understands the terms + /// of user data collection. /// - /// This field must contain the exact value: - /// "I acknowledge that I have the necessary privacy disclosures and rights - /// from my end users for the collection and processing of their data, - /// including the association of such data with the visitation information - /// Google Analytics collects from my site and/or app property." + /// This field must contain the exact value: + /// "I acknowledge that I have the necessary privacy disclosures and rights + /// from my end users for the collection and processing of their data, + /// including the association of such data with the visitation information + /// Google Analytics collects from my site and/or app property." #[prost(string, tag="2")] pub acknowledgement: ::prost::alloc::string::String, } -/// Response message for AcknowledgeUserDataCollection RPC. +/// Response message for AcknowledgeUserDataCollection RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcknowledgeUserDataCollectionResponse { } -/// Request message for SearchChangeHistoryEvents RPC. +/// Request message for SearchChangeHistoryEvents RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchChangeHistoryEventsRequest { - /// Required. The account resource for which to return change history resources. + /// Required. The account resource for which to return change history resources. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Optional. Resource name for a child property. If set, only return changes - /// made to this property or its child resources. + /// Optional. Resource name for a child property. If set, only return changes + /// made to this property or its child resources. #[prost(string, tag="2")] pub property: ::prost::alloc::string::String, - /// Optional. If set, only return changes if they are for a resource that matches at - /// least one of these types. + /// Optional. If set, only return changes if they are for a resource that matches at + /// least one of these types. #[prost(enumeration="ChangeHistoryResourceType", repeated, packed="false", tag="3")] pub resource_type: ::prost::alloc::vec::Vec, - /// Optional. If set, only return changes that match one or more of these types of - /// actions. + /// Optional. If set, only return changes that match one or more of these types of + /// actions. #[prost(enumeration="ActionType", repeated, packed="false", tag="4")] pub action: ::prost::alloc::vec::Vec, - /// Optional. If set, only return changes if they are made by a user in this list. + /// Optional. If set, only return changes if they are made by a user in this list. #[prost(string, repeated, tag="5")] pub actor_email: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If set, only return changes made after this time (inclusive). + /// Optional. If set, only return changes made after this time (inclusive). #[prost(message, optional, tag="6")] pub earliest_change_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. If set, only return changes made before this time (inclusive). + /// Optional. If set, only return changes made before this time (inclusive). #[prost(message, optional, tag="7")] pub latest_change_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The maximum number of ChangeHistoryEvent items to return. - /// The service may return fewer than this value, even if there are additional - /// pages. If unspecified, at most 50 items will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// Optional. The maximum number of ChangeHistoryEvent items to return. + /// The service may return fewer than this value, even if there are additional + /// pages. If unspecified, at most 50 items will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="8")] pub page_size: i32, - /// Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. - /// Provide this to retrieve the subsequent page. When paginating, all other - /// parameters provided to `SearchChangeHistoryEvents` must match the call that - /// provided the page token. + /// Optional. A page token, received from a previous `SearchChangeHistoryEvents` call. + /// Provide this to retrieve the subsequent page. When paginating, all other + /// parameters provided to `SearchChangeHistoryEvents` must match the call that + /// provided the page token. #[prost(string, tag="9")] pub page_token: ::prost::alloc::string::String, } -/// Response message for SearchAccounts RPC. +/// Response message for SearchAccounts RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchChangeHistoryEventsResponse { - /// Results that were accessible to the caller. + /// Results that were accessible to the caller. #[prost(message, repeated, tag="1")] pub change_history_events: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetMeasurementProtocolSecret RPC. +/// Request message for GetMeasurementProtocolSecret RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMeasurementProtocolSecretRequest { - /// Required. The name of the measurement protocol secret to lookup. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Required. The name of the measurement protocol secret to lookup. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateMeasurementProtocolSecret RPC +/// Request message for CreateMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMeasurementProtocolSecretRequest { - /// Required. The parent resource where this secret will be created. - /// Format: properties/{property}/dataStreams/{dataStream} + /// Required. The parent resource where this secret will be created. + /// Format: properties/{property}/dataStreams/{dataStream} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The measurement protocol secret to create. + /// Required. The measurement protocol secret to create. #[prost(message, optional, tag="2")] pub measurement_protocol_secret: ::core::option::Option, } -/// Request message for DeleteMeasurementProtocolSecret RPC +/// Request message for DeleteMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMeasurementProtocolSecretRequest { - /// Required. The name of the MeasurementProtocolSecret to delete. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} + /// Required. The name of the MeasurementProtocolSecret to delete. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets/{measurementProtocolSecret} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateMeasurementProtocolSecret RPC +/// Request message for UpdateMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMeasurementProtocolSecretRequest { - /// Required. The measurement protocol secret to update. + /// Required. The measurement protocol secret to update. #[prost(message, optional, tag="1")] pub measurement_protocol_secret: ::core::option::Option, - /// The list of fields to be updated. Omitted fields will not be updated. + /// The list of fields to be updated. Omitted fields will not be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListMeasurementProtocolSecret RPC +/// Request message for ListMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMeasurementProtocolSecretsRequest { - /// Required. The resource name of the parent stream. - /// Format: - /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets + /// Required. The resource name of the parent stream. + /// Format: + /// properties/{property}/dataStreams/{dataStream}/measurementProtocolSecrets #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 10 resources will be returned. - /// The maximum value is 10. Higher values will be coerced to the maximum. + /// The maximum number of resources to return. + /// If unspecified, at most 10 resources will be returned. + /// The maximum value is 10. Higher values will be coerced to the maximum. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListMeasurementProtocolSecrets` - /// call. Provide this to retrieve the subsequent page. When paginating, all - /// other parameters provided to `ListMeasurementProtocolSecrets` must match - /// the call that provided the page token. + /// A page token, received from a previous `ListMeasurementProtocolSecrets` + /// call. Provide this to retrieve the subsequent page. When paginating, all + /// other parameters provided to `ListMeasurementProtocolSecrets` must match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListMeasurementProtocolSecret RPC +/// Response message for ListMeasurementProtocolSecret RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMeasurementProtocolSecretsResponse { - /// A list of secrets for the parent stream specified in the request. + /// A list of secrets for the parent stream specified in the request. #[prost(message, repeated, tag="1")] pub measurement_protocol_secrets: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateConversionEvent RPC +/// Request message for CreateConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConversionEventRequest { - /// Required. The conversion event to create. + /// Required. The conversion event to create. #[prost(message, optional, tag="1")] pub conversion_event: ::core::option::Option, - /// Required. The resource name of the parent property where this conversion event will - /// be created. Format: properties/123 + /// Required. The resource name of the parent property where this conversion event will + /// be created. Format: properties/123 #[prost(string, tag="2")] pub parent: ::prost::alloc::string::String, } -/// Request message for GetConversionEvent RPC +/// Request message for GetConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversionEventRequest { - /// Required. The resource name of the conversion event to retrieve. - /// Format: properties/{property}/conversionEvents/{conversion_event} - /// Example: "properties/123/conversionEvents/456" + /// Required. The resource name of the conversion event to retrieve. + /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Example: "properties/123/conversionEvents/456" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for DeleteConversionEvent RPC +/// Request message for DeleteConversionEvent RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConversionEventRequest { - /// Required. The resource name of the conversion event to delete. - /// Format: properties/{property}/conversionEvents/{conversion_event} - /// Example: "properties/123/conversionEvents/456" + /// Required. The resource name of the conversion event to delete. + /// Format: properties/{property}/conversionEvents/{conversion_event} + /// Example: "properties/123/conversionEvents/456" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListConversionEvents RPC +/// Request message for ListConversionEvents RPC #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversionEventsRequest { - /// Required. The resource name of the parent property. - /// Example: 'properties/123' + /// Required. The resource name of the parent property. + /// Example: 'properties/123' #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200; (higher values will be coerced to the maximum) + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200; (higher values will be coerced to the maximum) #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListConversionEvents` call. - /// Provide this to retrieve the subsequent page. - /// When paginating, all other parameters provided to `ListConversionEvents` - /// must match the call that provided the page token. + /// A page token, received from a previous `ListConversionEvents` call. + /// Provide this to retrieve the subsequent page. + /// When paginating, all other parameters provided to `ListConversionEvents` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListConversionEvents RPC. +/// Response message for ListConversionEvents RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversionEventsResponse { - /// The requested conversion events + /// The requested conversion events #[prost(message, repeated, tag="1")] pub conversion_events: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateCustomDimension RPC. +/// Request message for CreateCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomDimensionRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomDimension to create. + /// Required. The CustomDimension to create. #[prost(message, optional, tag="2")] pub custom_dimension: ::core::option::Option, } -/// Request message for UpdateCustomDimension RPC. +/// Request message for UpdateCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomDimensionRequest { - /// The CustomDimension to update + /// The CustomDimension to update #[prost(message, optional, tag="1")] pub custom_dimension: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListCustomDimensions RPC. +/// Request message for ListCustomDimensions RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomDimensionsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListCustomDimensions` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListCustomDimensions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCustomDimensions` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCustomDimensions` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListCustomDimensions RPC. +/// Response message for ListCustomDimensions RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomDimensionsResponse { - /// List of CustomDimensions. + /// List of CustomDimensions. #[prost(message, repeated, tag="1")] pub custom_dimensions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ArchiveCustomDimension RPC. +/// Request message for ArchiveCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArchiveCustomDimensionRequest { - /// Required. The name of the CustomDimension to archive. - /// Example format: properties/1234/customDimensions/5678 + /// Required. The name of the CustomDimension to archive. + /// Example format: properties/1234/customDimensions/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetCustomDimension RPC. +/// Request message for GetCustomDimension RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomDimensionRequest { - /// Required. The name of the CustomDimension to get. - /// Example format: properties/1234/customDimensions/5678 + /// Required. The name of the CustomDimension to get. + /// Example format: properties/1234/customDimensions/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateCustomMetric RPC. +/// Request message for CreateCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomMetricRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomMetric to create. + /// Required. The CustomMetric to create. #[prost(message, optional, tag="2")] pub custom_metric: ::core::option::Option, } -/// Request message for UpdateCustomMetric RPC. +/// Request message for UpdateCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomMetricRequest { - /// The CustomMetric to update + /// The CustomMetric to update #[prost(message, optional, tag="1")] pub custom_metric: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListCustomMetrics RPC. +/// Request message for ListCustomMetrics RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomMetricsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListCustomMetrics` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListCustomMetrics` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCustomMetrics` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCustomMetrics` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListCustomMetrics RPC. +/// Response message for ListCustomMetrics RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomMetricsResponse { - /// List of CustomMetrics. + /// List of CustomMetrics. #[prost(message, repeated, tag="1")] pub custom_metrics: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ArchiveCustomMetric RPC. +/// Request message for ArchiveCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArchiveCustomMetricRequest { - /// Required. The name of the CustomMetric to archive. - /// Example format: properties/1234/customMetrics/5678 + /// Required. The name of the CustomMetric to archive. + /// Example format: properties/1234/customMetrics/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetCustomMetric RPC. +/// Request message for GetCustomMetric RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomMetricRequest { - /// Required. The name of the CustomMetric to get. - /// Example format: properties/1234/customMetrics/5678 + /// Required. The name of the CustomMetric to get. + /// Example format: properties/1234/customMetrics/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetDataRetentionSettings RPC. +/// Request message for GetDataRetentionSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataRetentionSettingsRequest { - /// Required. The name of the settings to lookup. - /// Format: - /// properties/{property}/dataRetentionSettings - /// Example: "properties/1000/dataRetentionSettings" + /// Required. The name of the settings to lookup. + /// Format: + /// properties/{property}/dataRetentionSettings + /// Example: "properties/1000/dataRetentionSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateDataRetentionSettings RPC. +/// Request message for UpdateDataRetentionSettings RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataRetentionSettingsRequest { - /// Required. The settings to update. - /// The `name` field is used to identify the settings to be updated. + /// Required. The settings to update. + /// The `name` field is used to identify the settings to be updated. #[prost(message, optional, tag="1")] pub data_retention_settings: ::core::option::Option, - /// Required. The list of fields to be updated. Field names must be in snake case - /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace - /// the entire entity, use one path with the string "*" to match all fields. + /// Required. The list of fields to be updated. Field names must be in snake case + /// (e.g., "field_to_update"). Omitted fields will not be updated. To replace + /// the entire entity, use one path with the string "*" to match all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for CreateDataStream RPC. +/// Request message for CreateDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataStreamRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DataStream to create. + /// Required. The DataStream to create. #[prost(message, optional, tag="2")] pub data_stream: ::core::option::Option, } -/// Request message for DeleteDataStream RPC. +/// Request message for DeleteDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataStreamRequest { - /// Required. The name of the DataStream to delete. - /// Example format: properties/1234/dataStreams/5678 + /// Required. The name of the DataStream to delete. + /// Example format: properties/1234/dataStreams/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for UpdateDataStream RPC. +/// Request message for UpdateDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataStreamRequest { - /// The DataStream to update + /// The DataStream to update #[prost(message, optional, tag="1")] pub data_stream: ::core::option::Option, - /// Required. The list of fields to be updated. Omitted fields will not be updated. - /// To replace the entire entity, use one path with the string "*" to match - /// all fields. + /// Required. The list of fields to be updated. Omitted fields will not be updated. + /// To replace the entire entity, use one path with the string "*" to match + /// all fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ListDataStreams RPC. +/// Request message for ListDataStreams RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataStreamsRequest { - /// Required. Example format: properties/1234 + /// Required. Example format: properties/1234 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of resources to return. - /// If unspecified, at most 50 resources will be returned. - /// The maximum value is 200 (higher values will be coerced to the maximum). + /// The maximum number of resources to return. + /// If unspecified, at most 50 resources will be returned. + /// The maximum value is 200 (higher values will be coerced to the maximum). #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDataStreams` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDataStreams` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListDataStreams` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListDataStreams` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListDataStreams RPC. +/// Response message for ListDataStreams RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataStreamsResponse { - /// List of DataStreams. + /// List of DataStreams. #[prost(message, repeated, tag="1")] pub data_streams: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetDataStream RPC. +/// Request message for GetDataStream RPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataStreamRequest { - /// Required. The name of the DataStream to get. - /// Example format: properties/1234/dataStreams/5678 + /// Required. The name of the DataStream to get. + /// Example format: properties/1234/dataStreams/5678 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.analytics.data.v1alpha.rs b/gcloud-sdk/genproto/google.analytics.data.v1alpha.rs index c0de9344a..2a3f0defd 100644 --- a/gcloud-sdk/genproto/google.analytics.data.v1alpha.rs +++ b/gcloud-sdk/genproto/google.analytics.data.v1alpha.rs @@ -1,199 +1,199 @@ -/// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests -/// are allowed up to 4 date ranges. +/// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests +/// are allowed up to 4 date ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - /// be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also - /// accepted, and in that case, the date is inferred based on the property's - /// reporting time zone. + /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + /// be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also + /// accepted, and in that case, the date is inferred based on the property's + /// reporting time zone. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - /// be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is - /// also accepted, and in that case, the date is inferred based on the - /// property's reporting time zone. + /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + /// be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is + /// also accepted, and in that case, the date is inferred based on the + /// property's reporting time zone. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, - /// Assigns a name to this date range. The dimension `dateRange` is valued to - /// this name in a report response. If set, cannot begin with `date_range_` or - /// `RESERVED_`. If not set, date ranges are named by their zero based index in - /// the request: `date_range_0`, `date_range_1`, etc. + /// Assigns a name to this date range. The dimension `dateRange` is valued to + /// this name in a report response. If set, cannot begin with `date_range_` or + /// `RESERVED_`. If not set, date ranges are named by their zero based index in + /// the request: `date_range_0`, `date_range_1`, etc. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, } -/// Dimensions are attributes of your data. For example, the dimension city -/// indicates the city from which an event originates. Dimension values in report -/// responses are strings; for example, the city could be "Paris" or "New York". +/// Dimensions are attributes of your data. For example, the dimension city +/// indicates the city from which an event originates. Dimension values in report +/// responses are strings; for example, the city could be "Paris" or "New York". #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dimension { - /// The name of the dimension. See the [API - /// Dimensions]() - /// for the list of dimension names. + /// The name of the dimension. See the [API + /// Dimensions]() + /// for the list of dimension names. /// - /// If `dimensionExpression` is specified, `name` can be any string that you - /// would like within the allowed character set. For example if a - /// `dimensionExpression` concatenates `country` and `city`, you could call - /// that dimension `countryAndCity`. Dimension names that you choose must match - /// the regular expression `^\[a-zA-Z0-9_\]$`. + /// If `dimensionExpression` is specified, `name` can be any string that you + /// would like within the allowed character set. For example if a + /// `dimensionExpression` concatenates `country` and `city`, you could call + /// that dimension `countryAndCity`. Dimension names that you choose must match + /// the regular expression `^\[a-zA-Z0-9_\]$`. /// - /// Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, - /// `dimensionExpression`, and `pivots`. + /// Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, + /// `dimensionExpression`, and `pivots`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// One dimension can be the result of an expression of multiple dimensions. - /// For example, dimension "country, city": concatenate(country, ", ", city). + /// One dimension can be the result of an expression of multiple dimensions. + /// For example, dimension "country, city": concatenate(country, ", ", city). #[prost(message, optional, tag="2")] pub dimension_expression: ::core::option::Option, } -/// Used to express a dimension which is the result of a formula of multiple -/// dimensions. Example usages: -/// 1) lower_case(dimension) -/// 2) concatenate(dimension1, symbol, dimension2). +/// Used to express a dimension which is the result of a formula of multiple +/// dimensions. Example usages: +/// 1) lower_case(dimension) +/// 2) concatenate(dimension1, symbol, dimension2). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionExpression { - /// Specify one type of dimension expression for `DimensionExpression`. + /// Specify one type of dimension expression for `DimensionExpression`. #[prost(oneof="dimension_expression::OneExpression", tags="4, 5, 6")] pub one_expression: ::core::option::Option, } /// Nested message and enum types in `DimensionExpression`. pub mod dimension_expression { - /// Used to convert a dimension value to a single case. + /// Used to convert a dimension value to a single case. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CaseExpression { - /// Name of a dimension. The name must refer back to a name in dimensions - /// field of the request. + /// Name of a dimension. The name must refer back to a name in dimensions + /// field of the request. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, } - /// Used to combine dimension values to a single dimension. + /// Used to combine dimension values to a single dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConcatenateExpression { - /// Names of dimensions. The names must refer back to names in the dimensions - /// field of the request. + /// Names of dimensions. The names must refer back to names in the dimensions + /// field of the request. #[prost(string, repeated, tag="1")] pub dimension_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The delimiter placed between dimension names. + /// The delimiter placed between dimension names. /// - /// Delimiters are often single characters such as "|" or "," but can be - /// longer strings. If a dimension value contains the delimiter, both will be - /// present in response with no distinction. For example if dimension 1 value - /// = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the - /// response will contain "US,FR,JP". + /// Delimiters are often single characters such as "|" or "," but can be + /// longer strings. If a dimension value contains the delimiter, both will be + /// present in response with no distinction. For example if dimension 1 value + /// = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the + /// response will contain "US,FR,JP". #[prost(string, tag="2")] pub delimiter: ::prost::alloc::string::String, } - /// Specify one type of dimension expression for `DimensionExpression`. + /// Specify one type of dimension expression for `DimensionExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneExpression { - /// Used to convert a dimension value to lower case. + /// Used to convert a dimension value to lower case. #[prost(message, tag="4")] LowerCase(CaseExpression), - /// Used to convert a dimension value to upper case. + /// Used to convert a dimension value to upper case. #[prost(message, tag="5")] UpperCase(CaseExpression), - /// Used to combine dimension values to a single dimension. - /// For example, dimension "country, city": concatenate(country, ", ", city). + /// Used to combine dimension values to a single dimension. + /// For example, dimension "country, city": concatenate(country, ", ", city). #[prost(message, tag="6")] Concatenate(ConcatenateExpression), } } -/// To express dimension or metric filters. The fields in the same -/// FilterExpression need to be either all dimensions or all metrics. +/// To express dimension or metric filters. The fields in the same +/// FilterExpression need to be either all dimensions or all metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FilterExpression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[prost(oneof="filter_expression::Expr", tags="1, 2, 3, 4")] pub expr: ::core::option::Option, } /// Nested message and enum types in `FilterExpression`. pub mod filter_expression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The FilterExpressions in and_group have an AND relationship. + /// The FilterExpressions in and_group have an AND relationship. #[prost(message, tag="1")] AndGroup(super::FilterExpressionList), - /// The FilterExpressions in or_group have an OR relationship. + /// The FilterExpressions in or_group have an OR relationship. #[prost(message, tag="2")] OrGroup(super::FilterExpressionList), - /// The FilterExpression is NOT of not_expression. + /// The FilterExpression is NOT of not_expression. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive filter. In the same FilterExpression, all of the filter's - /// field names need to be either all dimensions or all metrics. + /// A primitive filter. In the same FilterExpression, all of the filter's + /// field names need to be either all dimensions or all metrics. #[prost(message, tag="4")] Filter(super::Filter), } } -/// A list of filter expressions. +/// A list of filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FilterExpressionList { - /// A list of filter expressions. + /// A list of filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter dimension or metric values. +/// An expression to filter dimension or metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Filter { - /// The dimension name or metric name. Must be a name defined in dimensions - /// or metrics. + /// The dimension name or metric name. Must be a name defined in dimensions + /// or metrics. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[prost(oneof="filter::OneFilter", tags="2, 3, 4, 5")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `Filter`. pub mod filter { - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="2")] StringFilter(super::StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="3")] InListFilter(super::InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="4")] NumericFilter(super::NumericFilter), - /// A filter for between two values. + /// A filter for between two values. #[prost(message, tag="5")] BetweenFilter(super::BetweenFilter), } } -/// The filter for string +/// The filter for string #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFilter { - /// The match type for this filter. + /// The match type for this filter. #[prost(enumeration="string_filter::MatchType", tag="1")] pub match_type: i32, - /// The string value used for the matching. + /// The string value used for the matching. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="3")] pub case_sensitive: bool, } /// Nested message and enum types in `StringFilter`. pub mod string_filter { - /// The match type of a string filter + /// The match type of a string filter #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Exact match of the string value. + /// Exact match of the string value. Exact = 1, - /// Begins with the string value. + /// Begins with the string value. BeginsWith = 2, - /// Ends with the string value. + /// Ends with the string value. EndsWith = 3, - /// Contains the string value. + /// Contains the string value. Contains = 4, - /// Full match for the regular expression with the string value. + /// Full match for the regular expression with the string value. FullRegexp = 5, - /// Partial match for the regular expression with the string value. + /// Partial match for the regular expression with the string value. PartialRegexp = 6, } impl MatchType { @@ -214,44 +214,44 @@ pub mod string_filter { } } } -/// The result needs to be in a list of string values. +/// The result needs to be in a list of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InListFilter { - /// The list of string values. - /// Must be non-empty. + /// The list of string values. + /// Must be non-empty. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="2")] pub case_sensitive: bool, } -/// Filters for numeric or date values. +/// Filters for numeric or date values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericFilter { - /// The operation type for this filter. + /// The operation type for this filter. #[prost(enumeration="numeric_filter::Operation", tag="1")] pub operation: i32, - /// A numeric value or a date value. + /// A numeric value or a date value. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `NumericFilter`. pub mod numeric_filter { - /// The operation applied to a numeric filter + /// The operation applied to a numeric filter #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operation { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Equal + /// Equal Equal = 1, - /// Less than + /// Less than LessThan = 2, - /// Less than or equal + /// Less than or equal LessThanOrEqual = 3, - /// Greater than + /// Greater than GreaterThan = 4, - /// Greater than or equal + /// Greater than or equal GreaterThanOrEqual = 5, } impl Operation { @@ -271,1030 +271,1030 @@ pub mod numeric_filter { } } } -/// To express that the result needs to be between two numbers (inclusive). +/// To express that the result needs to be between two numbers (inclusive). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BetweenFilter { - /// Begins with this number. + /// Begins with this number. #[prost(message, optional, tag="1")] pub from_value: ::core::option::Option, - /// Ends with this number. + /// Ends with this number. #[prost(message, optional, tag="2")] pub to_value: ::core::option::Option, } -/// To represent a number. +/// To represent a number. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericValue { - /// One of a numeric value + /// One of a numeric value #[prost(oneof="numeric_value::OneValue", tags="1, 2")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `NumericValue`. pub mod numeric_value { - /// One of a numeric value + /// One of a numeric value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Integer value + /// Integer value #[prost(int64, tag="1")] Int64Value(i64), - /// Double value + /// Double value #[prost(double, tag="2")] DoubleValue(f64), } } -/// Describes a dimension column in the report. Dimensions requested in a report -/// produce column entries within rows and DimensionHeaders. However, dimensions -/// used exclusively within filters or expressions do not produce columns in a -/// report; correspondingly, those dimensions do not produce headers. +/// Describes a dimension column in the report. Dimensions requested in a report +/// produce column entries within rows and DimensionHeaders. However, dimensions +/// used exclusively within filters or expressions do not produce columns in a +/// report; correspondingly, those dimensions do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionHeader { - /// The dimension's name. + /// The dimension's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Describes a metric column in the report. Visible metrics requested in a -/// report produce column entries within rows and MetricHeaders. However, -/// metrics used exclusively within filters or expressions do not produce columns -/// in a report; correspondingly, those metrics do not produce headers. +/// Describes a metric column in the report. Visible metrics requested in a +/// report produce column entries within rows and MetricHeaders. However, +/// metrics used exclusively within filters or expressions do not produce columns +/// in a report; correspondingly, those metrics do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricHeader { - /// The metric's name. + /// The metric's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The metric's data type. + /// The metric's data type. #[prost(enumeration="MetricType", tag="2")] pub r#type: i32, } -/// Report data for each row. -/// For example if RunReportRequest contains: +/// Report data for each row. +/// For example if RunReportRequest contains: /// -/// ```none -/// "dimensions": [ +/// ```none +/// "dimensions": [ /// { /// "name": "eventName" /// }, /// { /// "name": "countryId" /// } -/// ], -/// "metrics": [ +/// ], +/// "metrics": [ /// { /// "name": "eventCount" /// } -/// ] -/// ``` +/// ] +/// ``` /// -/// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and -/// 15 as the eventCount, would be: +/// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and +/// 15 as the eventCount, would be: /// -/// ```none -/// "dimensionValues": [ +/// ```none +/// "dimensionValues": [ /// { /// "value": "in_app_purchase" /// }, /// { /// "value": "JP" /// } -/// ], -/// "metricValues": [ +/// ], +/// "metricValues": [ /// { /// "value": "15" /// } -/// ] -/// ``` +/// ] +/// ``` #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// List of requested dimension values. In a PivotReport, dimension_values - /// are only listed for dimensions included in a pivot. + /// List of requested dimension values. In a PivotReport, dimension_values + /// are only listed for dimensions included in a pivot. #[prost(message, repeated, tag="1")] pub dimension_values: ::prost::alloc::vec::Vec, - /// List of requested visible metric values. + /// List of requested visible metric values. #[prost(message, repeated, tag="2")] pub metric_values: ::prost::alloc::vec::Vec, } -/// The value of a dimension. +/// The value of a dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionValue { - /// One kind of dimension value + /// One kind of dimension value #[prost(oneof="dimension_value::OneValue", tags="1")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `DimensionValue`. pub mod dimension_value { - /// One kind of dimension value + /// One kind of dimension value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Value as a string if the dimension type is a string. + /// Value as a string if the dimension type is a string. #[prost(string, tag="1")] Value(::prost::alloc::string::String), } } -/// The value of a metric. +/// The value of a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricValue { - /// One of metric value + /// One of metric value #[prost(oneof="metric_value::OneValue", tags="4")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `MetricValue`. pub mod metric_value { - /// One of metric value + /// One of metric value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Measurement value. See MetricHeader for type. + /// Measurement value. See MetricHeader for type. #[prost(string, tag="4")] Value(::prost::alloc::string::String), } } -/// Current state of all quotas for this Analytics Property. If any quota for a -/// property is exhausted, all requests to that property will return Resource -/// Exhausted errors. +/// Current state of all quotas for this Analytics Property. If any quota for a +/// property is exhausted, all requests to that property will return Resource +/// Exhausted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyQuota { - /// Standard Analytics Properties can use up to 25,000 tokens per day; - /// Analytics 360 Properties can use 250,000 tokens per day. Most requests - /// consume fewer than 10 tokens. + /// Standard Analytics Properties can use up to 25,000 tokens per day; + /// Analytics 360 Properties can use 250,000 tokens per day. Most requests + /// consume fewer than 10 tokens. #[prost(message, optional, tag="1")] pub tokens_per_day: ::core::option::Option, - /// Standard Analytics Properties can use up to 5,000 tokens per hour; - /// Analytics 360 Properties can use 50,000 tokens per hour. An API request - /// consumes a single number of tokens, and that number is deducted from both - /// the hourly and daily quotas. + /// Standard Analytics Properties can use up to 5,000 tokens per hour; + /// Analytics 360 Properties can use 50,000 tokens per hour. An API request + /// consumes a single number of tokens, and that number is deducted from both + /// the hourly and daily quotas. #[prost(message, optional, tag="2")] pub tokens_per_hour: ::core::option::Option, - /// Standard Analytics Properties can send up to 10 concurrent requests; - /// Analytics 360 Properties can use up to 50 concurrent requests. + /// Standard Analytics Properties can send up to 10 concurrent requests; + /// Analytics 360 Properties can use up to 50 concurrent requests. #[prost(message, optional, tag="3")] pub concurrent_requests: ::core::option::Option, - /// Standard Analytics Properties and cloud project pairs can have up to 10 - /// server errors per hour; Analytics 360 Properties and cloud project pairs - /// can have up to 50 server errors per hour. + /// Standard Analytics Properties and cloud project pairs can have up to 10 + /// server errors per hour; Analytics 360 Properties and cloud project pairs + /// can have up to 50 server errors per hour. #[prost(message, optional, tag="4")] pub server_errors_per_project_per_hour: ::core::option::Option, - /// Analytics Properties can send up to 120 requests with potentially - /// thresholded dimensions per hour. In a batch request, each report request - /// is individually counted for this quota if the request contains potentially - /// thresholded dimensions. + /// Analytics Properties can send up to 120 requests with potentially + /// thresholded dimensions per hour. In a batch request, each report request + /// is individually counted for this quota if the request contains potentially + /// thresholded dimensions. #[prost(message, optional, tag="5")] pub potentially_thresholded_requests_per_hour: ::core::option::Option, } -/// Current state for a particular quota group. +/// Current state for a particular quota group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaStatus { - /// Quota consumed by this request. + /// Quota consumed by this request. #[prost(int32, tag="1")] pub consumed: i32, - /// Quota remaining after this request. + /// Quota remaining after this request. #[prost(int32, tag="2")] pub remaining: i32, } -/// Breakdowns add a dimension to the funnel table sub report response. +/// Breakdowns add a dimension to the funnel table sub report response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelBreakdown { - /// The dimension column added to the funnel table sub report response. The - /// breakdown dimension breaks down each funnel step. A valid - /// `breakdownDimension` is required if `funnelBreakdown` is specified. + /// The dimension column added to the funnel table sub report response. The + /// breakdown dimension breaks down each funnel step. A valid + /// `breakdownDimension` is required if `funnelBreakdown` is specified. #[prost(message, optional, tag="1")] pub breakdown_dimension: ::core::option::Option, - /// The maximum number of distinct values of the breakdown dimension to return - /// in the response. A `limit` of `5` is used if limit is not specified. Limit - /// must exceed zero and cannot exceed 15. + /// The maximum number of distinct values of the breakdown dimension to return + /// in the response. A `limit` of `5` is used if limit is not specified. Limit + /// must exceed zero and cannot exceed 15. #[prost(int64, optional, tag="2")] pub limit: ::core::option::Option, } -/// Next actions state the value for a dimension after the user has achieved -/// a step but before the same user has achieved the next step. For example if -/// the `nextActionDimension` is `eventName`, then `nextActionDimension` in the -/// `i`th funnel step row will return first event after the event that qualified -/// the user into the `i`th funnel step but before the user achieved the `i+1`th -/// funnel step. +/// Next actions state the value for a dimension after the user has achieved +/// a step but before the same user has achieved the next step. For example if +/// the `nextActionDimension` is `eventName`, then `nextActionDimension` in the +/// `i`th funnel step row will return first event after the event that qualified +/// the user into the `i`th funnel step but before the user achieved the `i+1`th +/// funnel step. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelNextAction { - /// The dimension column added to the funnel visualization sub report response. - /// The next action dimension returns the next dimension value of this - /// dimension after the user has attained the `i`th funnel step. + /// The dimension column added to the funnel visualization sub report response. + /// The next action dimension returns the next dimension value of this + /// dimension after the user has attained the `i`th funnel step. /// - /// `nextActionDimension` currently only supports `eventName` and most Page / - /// Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` - /// cannot be a dimension expression. + /// `nextActionDimension` currently only supports `eventName` and most Page / + /// Screen dimensions like `pageTitle` and `pagePath`. `nextActionDimension` + /// cannot be a dimension expression. #[prost(message, optional, tag="1")] pub next_action_dimension: ::core::option::Option, - /// The maximum number of distinct values of the breakdown dimension to return - /// in the response. A `limit` of `5` is used if limit is not specified. Limit - /// must exceed zero and cannot exceed 5. + /// The maximum number of distinct values of the breakdown dimension to return + /// in the response. A `limit` of `5` is used if limit is not specified. Limit + /// must exceed zero and cannot exceed 5. #[prost(int64, optional, tag="2")] pub limit: ::core::option::Option, } -/// Configures the funnel in a funnel report request. A funnel reports on users -/// as they pass through a sequence of steps. +/// Configures the funnel in a funnel report request. A funnel reports on users +/// as they pass through a sequence of steps. /// -/// Funnel exploration lets you visualize the steps your users take to complete a -/// task and quickly see how well they are succeeding or failing at each step. -/// For example, how do prospects become shoppers and then become buyers? How do -/// one time buyers become repeat buyers? With this information, you can improve -/// inefficient or abandoned customer journeys. +/// Funnel exploration lets you visualize the steps your users take to complete a +/// task and quickly see how well they are succeeding or failing at each step. +/// For example, how do prospects become shoppers and then become buyers? How do +/// one time buyers become repeat buyers? With this information, you can improve +/// inefficient or abandoned customer journeys. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Funnel { - /// In an open funnel, users can enter the funnel in any step, and in a closed - /// funnel, users must enter the funnel in the first step. Optional. If - /// unspecified, a closed funnel is used. + /// In an open funnel, users can enter the funnel in any step, and in a closed + /// funnel, users must enter the funnel in the first step. Optional. If + /// unspecified, a closed funnel is used. #[prost(bool, tag="1")] pub is_open_funnel: bool, - /// The sequential steps of this funnel. + /// The sequential steps of this funnel. #[prost(message, repeated, tag="2")] pub steps: ::prost::alloc::vec::Vec, } -/// Steps define the user journey you want to measure. Steps contain one or -/// more conditions that your users must meet to be included in that step of -/// the funnel journey. +/// Steps define the user journey you want to measure. Steps contain one or +/// more conditions that your users must meet to be included in that step of +/// the funnel journey. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelStep { - /// The distinctive name for this step. If unspecified, steps will be named - /// by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines - /// string value returned by the `funnelStepName` dimension. For example, - /// specifying `name = Purchase` in the request's third funnel step will - /// produce `3. Purchase` in the funnel report response. + /// The distinctive name for this step. If unspecified, steps will be named + /// by a 1 based indexed name (i.e. "0. ", "1. ", etc.). This name defines + /// string value returned by the `funnelStepName` dimension. For example, + /// specifying `name = Purchase` in the request's third funnel step will + /// produce `3. Purchase` in the funnel report response. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If true, this step must directly follow the previous step. If false, - /// there can be events between the previous step and this step. If - /// unspecified, `isDirectlyFollowedBy` is treated as false. + /// If true, this step must directly follow the previous step. If false, + /// there can be events between the previous step and this step. If + /// unspecified, `isDirectlyFollowedBy` is treated as false. #[prost(bool, tag="2")] pub is_directly_followed_by: bool, - /// If specified, this step must complete within this duration of the - /// completion of the prior step. `withinDurationFromPriorStep` is inclusive - /// of the endpoint at the microsecond granularity. For example a duration of - /// 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 - /// microsecond. + /// If specified, this step must complete within this duration of the + /// completion of the prior step. `withinDurationFromPriorStep` is inclusive + /// of the endpoint at the microsecond granularity. For example a duration of + /// 5 seconds can be completed at 4.9 or 5.0 seconds, but not 5 seconds and 1 + /// microsecond. /// - /// `withinDurationFromPriorStep` is optional, and if unspecified, steps may - /// be separated by any time duration. + /// `withinDurationFromPriorStep` is optional, and if unspecified, steps may + /// be separated by any time duration. #[prost(message, optional, tag="3")] pub within_duration_from_prior_step: ::core::option::Option<::prost_types::Duration>, - /// The condition that your users must meet to be included in this step of - /// the funnel journey. + /// The condition that your users must meet to be included in this step of + /// the funnel journey. #[prost(message, optional, tag="4")] pub filter_expression: ::core::option::Option, } -/// Funnel sub reports contain the dimension and metric data values. For example, -/// 12 users reached the second step of the funnel. +/// Funnel sub reports contain the dimension and metric data values. For example, +/// 12 users reached the second step of the funnel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelSubReport { - /// Describes dimension columns. Funnel reports always include the funnel step - /// dimension in sub report responses. Additional dimensions like breakdowns, - /// dates, and next actions may be present in the response if requested. + /// Describes dimension columns. Funnel reports always include the funnel step + /// dimension in sub report responses. Additional dimensions like breakdowns, + /// dates, and next actions may be present in the response if requested. #[prost(message, repeated, tag="1")] pub dimension_headers: ::prost::alloc::vec::Vec, - /// Describes metric columns. Funnel reports always include active users in sub - /// report responses. The funnel table includes additional metrics like - /// completion rate, abandonments, and abandonments rate. + /// Describes metric columns. Funnel reports always include active users in sub + /// report responses. The funnel table includes additional metrics like + /// completion rate, abandonments, and abandonments rate. #[prost(message, repeated, tag="2")] pub metric_headers: ::prost::alloc::vec::Vec, - /// Rows of dimension value combinations and metric values in the report. + /// Rows of dimension value combinations and metric values in the report. #[prost(message, repeated, tag="3")] pub rows: ::prost::alloc::vec::Vec, - /// Metadata for the funnel report. + /// Metadata for the funnel report. #[prost(message, optional, tag="4")] pub metadata: ::core::option::Option, } -/// User segments are subsets of users who engaged with your site or app. For -/// example, users who have previously purchased; users who added items to their -/// shopping carts, but didn’t complete a purchase. +/// User segments are subsets of users who engaged with your site or app. For +/// example, users who have previously purchased; users who added items to their +/// shopping carts, but didn’t complete a purchase. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSegment { - /// Defines which users are included in this segment. Optional. + /// Defines which users are included in this segment. Optional. #[prost(message, optional, tag="1")] pub user_inclusion_criteria: ::core::option::Option, - /// Defines which users are excluded in this segment. Optional. + /// Defines which users are excluded in this segment. Optional. #[prost(message, optional, tag="2")] pub exclusion: ::core::option::Option, } -/// A user matches a criteria if the user's events meet the conditions in the -/// criteria. +/// A user matches a criteria if the user's events meet the conditions in the +/// criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSegmentCriteria { - /// A user matches this criteria if the user matches each of these - /// `andConditionGroups` and each of the `andSequenceGroups`. - /// `andConditionGroups` may be empty if `andSequenceGroups` are specified. + /// A user matches this criteria if the user matches each of these + /// `andConditionGroups` and each of the `andSequenceGroups`. + /// `andConditionGroups` may be empty if `andSequenceGroups` are specified. #[prost(message, repeated, tag="1")] pub and_condition_groups: ::prost::alloc::vec::Vec, - /// A user matches this criteria if the user matches each of these - /// `andSequenceGroups` and each of the `andConditionGroups`. - /// `andSequenceGroups` may be empty if `andConditionGroups` are specified. + /// A user matches this criteria if the user matches each of these + /// `andSequenceGroups` and each of the `andConditionGroups`. + /// `andSequenceGroups` may be empty if `andConditionGroups` are specified. #[prost(message, repeated, tag="2")] pub and_sequence_groups: ::prost::alloc::vec::Vec, } -/// Conditions tell Analytics what data to include in or exclude from the -/// segment. +/// Conditions tell Analytics what data to include in or exclude from the +/// segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSegmentConditionGroup { - /// Data is included or excluded from the segment based on if it matches - /// the condition group. This scoping defines how many events the - /// `segmentFilterExpression` is evaluated on before the condition group - /// is determined to be matched or not. For example if `conditionScoping = - /// USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all - /// events in a session, and then, the condition group is determined to be - /// matched or not for this user. For example if `conditionScoping = - /// USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single - /// event, and then, the condition group is determined to be matched or not for - /// this user. + /// Data is included or excluded from the segment based on if it matches + /// the condition group. This scoping defines how many events the + /// `segmentFilterExpression` is evaluated on before the condition group + /// is determined to be matched or not. For example if `conditionScoping = + /// USER_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + /// events in a session, and then, the condition group is determined to be + /// matched or not for this user. For example if `conditionScoping = + /// USER_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a single + /// event, and then, the condition group is determined to be matched or not for + /// this user. /// - /// Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is - /// used. + /// Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + /// used. #[prost(enumeration="UserCriteriaScoping", tag="1")] pub condition_scoping: i32, - /// Data is included or excluded from the segment based on if it matches - /// this expression. Expressions express criteria on dimension, metrics, - /// and/or parameters. + /// Data is included or excluded from the segment based on if it matches + /// this expression. Expressions express criteria on dimension, metrics, + /// and/or parameters. #[prost(message, optional, tag="2")] pub segment_filter_expression: ::core::option::Option, } -/// Define conditions that must occur in a specific order for the user to be -/// a member of the segment. +/// Define conditions that must occur in a specific order for the user to be +/// a member of the segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSegmentSequenceGroup { - /// All sequence steps must be satisfied in the scoping for the user to - /// match the sequence. For example if `sequenceScoping = - /// USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within - /// one session for the user to match the sequence. `sequenceScoping = - /// USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. + /// All sequence steps must be satisfied in the scoping for the user to + /// match the sequence. For example if `sequenceScoping = + /// USER_CRITERIA_WITHIN_SAME_SESSION`, all sequence steps must complete within + /// one session for the user to match the sequence. `sequenceScoping = + /// USER_CRITERIA_WITHIN_SAME_EVENT` is not supported. /// - /// Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is - /// used. + /// Optional. If unspecified, `conditionScoping = ACROSS_ALL_SESSIONS` is + /// used. #[prost(enumeration="UserCriteriaScoping", tag="1")] pub sequence_scoping: i32, - /// Defines the time period in which the whole sequence must occur; for - /// example, 30 Minutes. `sequenceMaximumDuration` is inclusive - /// of the endpoint at the microsecond granularity. For example a sequence - /// with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 - /// seconds, but not 5 seconds and 1 microsecond. + /// Defines the time period in which the whole sequence must occur; for + /// example, 30 Minutes. `sequenceMaximumDuration` is inclusive + /// of the endpoint at the microsecond granularity. For example a sequence + /// with a maximum duration of 5 seconds can be completed at 4.9 or 5.0 + /// seconds, but not 5 seconds and 1 microsecond. /// - /// `sequenceMaximumDuration` is optional, and if unspecified, sequences can - /// be completed in any time duration. + /// `sequenceMaximumDuration` is optional, and if unspecified, sequences can + /// be completed in any time duration. #[prost(message, optional, tag="2")] pub sequence_maximum_duration: ::core::option::Option<::prost_types::Duration>, - /// An ordered sequence of condition steps. A user's events must complete - /// each step in order for the user to match the - /// `UserSegmentSequenceGroup`. + /// An ordered sequence of condition steps. A user's events must complete + /// each step in order for the user to match the + /// `UserSegmentSequenceGroup`. #[prost(message, repeated, tag="3")] pub user_sequence_steps: ::prost::alloc::vec::Vec, } -/// A condition that must occur in the specified step order for this user -/// to match the sequence. +/// A condition that must occur in the specified step order for this user +/// to match the sequence. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSequenceStep { - /// If true, the event satisfying this step must be the very next event - /// after the event satifying the last step. If false, this step indirectly - /// follows the prior step; for example, there may be events between the - /// prior step and this step. `isDirectlyFollowedBy` must be false for - /// the first step. + /// If true, the event satisfying this step must be the very next event + /// after the event satifying the last step. If false, this step indirectly + /// follows the prior step; for example, there may be events between the + /// prior step and this step. `isDirectlyFollowedBy` must be false for + /// the first step. #[prost(bool, tag="1")] pub is_directly_followed_by: bool, - /// This sequence step must be satisfied in the scoping for the user to - /// match the sequence. For example if `sequenceScoping = - /// WITHIN_SAME_SESSION`, this sequence steps must complete within one - /// session for the user to match the sequence. `stepScoping = - /// ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = - /// ACROSS_ALL_SESSIONS`. + /// This sequence step must be satisfied in the scoping for the user to + /// match the sequence. For example if `sequenceScoping = + /// WITHIN_SAME_SESSION`, this sequence steps must complete within one + /// session for the user to match the sequence. `stepScoping = + /// ACROSS_ALL_SESSIONS` is only allowed if the `sequenceScoping = + /// ACROSS_ALL_SESSIONS`. /// - /// Optional. If unspecified, `stepScoping` uses the same - /// `UserCriteriaScoping` as the `sequenceScoping`. + /// Optional. If unspecified, `stepScoping` uses the same + /// `UserCriteriaScoping` as the `sequenceScoping`. #[prost(enumeration="UserCriteriaScoping", tag="2")] pub step_scoping: i32, - /// A user matches this sequence step if their events match this - /// expression. Expressions express criteria on dimension, metrics, - /// and/or parameters. + /// A user matches this sequence step if their events match this + /// expression. Expressions express criteria on dimension, metrics, + /// and/or parameters. #[prost(message, optional, tag="3")] pub segment_filter_expression: ::core::option::Option, } -/// Specifies which users are excluded in this segment. +/// Specifies which users are excluded in this segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserSegmentExclusion { - /// Specifies how long an exclusion will last if a user matches the - /// `userExclusionCriteria`. + /// Specifies how long an exclusion will last if a user matches the + /// `userExclusionCriteria`. /// - /// Optional. If unspecified, `userExclusionDuration` of - /// `USER_EXCLUSION_TEMPORARY` is used. + /// Optional. If unspecified, `userExclusionDuration` of + /// `USER_EXCLUSION_TEMPORARY` is used. #[prost(enumeration="UserExclusionDuration", tag="1")] pub user_exclusion_duration: i32, - /// If a user meets this condition, the user is excluded from membership in - /// the segment for the `userExclusionDuration`. + /// If a user meets this condition, the user is excluded from membership in + /// the segment for the `userExclusionDuration`. #[prost(message, optional, tag="2")] pub user_exclusion_criteria: ::core::option::Option, } -/// Session segments are subsets of the sessions that occurred on your site or -/// app: for example, all the sessions that originated from a particular -/// advertising campaign. +/// Session segments are subsets of the sessions that occurred on your site or +/// app: for example, all the sessions that originated from a particular +/// advertising campaign. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionSegment { - /// Defines which sessions are included in this segment. Optional. + /// Defines which sessions are included in this segment. Optional. #[prost(message, optional, tag="1")] pub session_inclusion_criteria: ::core::option::Option, - /// Defines which sessions are excluded in this segment. Optional. + /// Defines which sessions are excluded in this segment. Optional. #[prost(message, optional, tag="2")] pub exclusion: ::core::option::Option, } -/// A session matches a criteria if the session's events meet the conditions in -/// the criteria. +/// A session matches a criteria if the session's events meet the conditions in +/// the criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionSegmentCriteria { - /// A session matches this criteria if the session matches each of these - /// `andConditionGroups`. + /// A session matches this criteria if the session matches each of these + /// `andConditionGroups`. #[prost(message, repeated, tag="1")] pub and_condition_groups: ::prost::alloc::vec::Vec, } -/// Conditions tell Analytics what data to include in or exclude from the -/// segment. +/// Conditions tell Analytics what data to include in or exclude from the +/// segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionSegmentConditionGroup { - /// Data is included or excluded from the segment based on if it matches - /// the condition group. This scoping defines how many events the - /// `segmentFilterExpression` is evaluated on before the condition group - /// is determined to be matched or not. For example if `conditionScoping = - /// SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all - /// events in a session, and then, the condition group is determined to be - /// matched or not for this session. For example if `conditionScoping = - /// SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a - /// single event, and then, the condition group is determined to be matched or - /// not for this session. + /// Data is included or excluded from the segment based on if it matches + /// the condition group. This scoping defines how many events the + /// `segmentFilterExpression` is evaluated on before the condition group + /// is determined to be matched or not. For example if `conditionScoping = + /// SESSION_CRITERIA_WITHIN_SAME_SESSION`, the expression is evaluated on all + /// events in a session, and then, the condition group is determined to be + /// matched or not for this session. For example if `conditionScoping = + /// SESSION_CRITERIA_WITHIN_SAME_EVENT`, the expression is evaluated on a + /// single event, and then, the condition group is determined to be matched or + /// not for this session. /// - /// Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` - /// is used. + /// Optional. If unspecified, a `conditionScoping` of `WITHIN_SAME_SESSION` + /// is used. #[prost(enumeration="SessionCriteriaScoping", tag="1")] pub condition_scoping: i32, - /// Data is included or excluded from the segment based on if it matches - /// this expression. Expressions express criteria on dimension, metrics, - /// and/or parameters. + /// Data is included or excluded from the segment based on if it matches + /// this expression. Expressions express criteria on dimension, metrics, + /// and/or parameters. #[prost(message, optional, tag="2")] pub segment_filter_expression: ::core::option::Option, } -/// Specifies which sessions are excluded in this segment. +/// Specifies which sessions are excluded in this segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionSegmentExclusion { - /// Specifies how long an exclusion will last if a session matches the - /// `sessionExclusionCriteria`. + /// Specifies how long an exclusion will last if a session matches the + /// `sessionExclusionCriteria`. /// - /// Optional. If unspecified, a `sessionExclusionDuration` of - /// `SESSION_EXCLUSION_TEMPORARY` is used. + /// Optional. If unspecified, a `sessionExclusionDuration` of + /// `SESSION_EXCLUSION_TEMPORARY` is used. #[prost(enumeration="SessionExclusionDuration", tag="1")] pub session_exclusion_duration: i32, - /// If a session meets this condition, the session is excluded from - /// membership in the segment for the `sessionExclusionDuration`. + /// If a session meets this condition, the session is excluded from + /// membership in the segment for the `sessionExclusionDuration`. #[prost(message, optional, tag="2")] pub session_exclusion_criteria: ::core::option::Option, } -/// Event segments are subsets of events that were triggered on your site or app. -/// for example, all purchase events made in a particular location; app_exception -/// events that occurred on a specific operating system. +/// Event segments are subsets of events that were triggered on your site or app. +/// for example, all purchase events made in a particular location; app_exception +/// events that occurred on a specific operating system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventSegment { - /// Defines which events are included in this segment. Optional. + /// Defines which events are included in this segment. Optional. #[prost(message, optional, tag="1")] pub event_inclusion_criteria: ::core::option::Option, - /// Defines which events are excluded in this segment. Optional. + /// Defines which events are excluded in this segment. Optional. #[prost(message, optional, tag="2")] pub exclusion: ::core::option::Option, } -/// An event matches a criteria if the event meet the conditions in the -/// criteria. +/// An event matches a criteria if the event meet the conditions in the +/// criteria. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventSegmentCriteria { - /// An event matches this criteria if the event matches each of these - /// `andConditionGroups`. + /// An event matches this criteria if the event matches each of these + /// `andConditionGroups`. #[prost(message, repeated, tag="1")] pub and_condition_groups: ::prost::alloc::vec::Vec, } -/// Conditions tell Analytics what data to include in or exclude from the -/// segment. +/// Conditions tell Analytics what data to include in or exclude from the +/// segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventSegmentConditionGroup { - /// `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. + /// `conditionScoping` should always be `EVENT_CRITERIA_WITHIN_SAME_EVENT`. /// - /// Optional. If unspecified, a `conditionScoping` of - /// `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. + /// Optional. If unspecified, a `conditionScoping` of + /// `EVENT_CRITERIA_WITHIN_SAME_EVENT` is used. #[prost(enumeration="EventCriteriaScoping", tag="1")] pub condition_scoping: i32, - /// Data is included or excluded from the segment based on if it matches - /// this expression. Expressions express criteria on dimension, metrics, - /// and/or parameters. + /// Data is included or excluded from the segment based on if it matches + /// this expression. Expressions express criteria on dimension, metrics, + /// and/or parameters. #[prost(message, optional, tag="2")] pub segment_filter_expression: ::core::option::Option, } -/// Specifies which events are excluded in this segment. +/// Specifies which events are excluded in this segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventSegmentExclusion { - /// `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. + /// `eventExclusionDuration` should always be `PERMANENTLY_EXCLUDE`. /// - /// Optional. If unspecified, an `eventExclusionDuration` of - /// `EVENT_EXCLUSION_PERMANENT` is used. + /// Optional. If unspecified, an `eventExclusionDuration` of + /// `EVENT_EXCLUSION_PERMANENT` is used. #[prost(enumeration="EventExclusionDuration", tag="1")] pub event_exclusion_duration: i32, - /// If an event meets this condition, the event is excluded from membership - /// in the segment for the `eventExclusionDuration`. + /// If an event meets this condition, the event is excluded from membership + /// in the segment for the `eventExclusionDuration`. #[prost(message, optional, tag="2")] pub event_exclusion_criteria: ::core::option::Option, } -/// A segment is a subset of your Analytics data. For example, of your entire set -/// of users, one segment might be users from a particular country or city. -/// Another segment might be users who purchase a particular line of products or -/// who visit a specific part of your site or trigger certain events in your app. +/// A segment is a subset of your Analytics data. For example, of your entire set +/// of users, one segment might be users from a particular country or city. +/// Another segment might be users who purchase a particular line of products or +/// who visit a specific part of your site or trigger certain events in your app. /// -/// To learn more, see [GA4 Segment -/// Builder](). +/// To learn more, see [GA4 Segment +/// Builder](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Segment { - /// The name for this segment. If unspecified, segments are named "Segment". - /// This name defines string value returned by the `segment` dimension. The - /// `segment` dimension prefixes segment names by the 1-based index number of - /// the segment in the request (i.e. "1. Segment", "2. Segment", etc.). + /// The name for this segment. If unspecified, segments are named "Segment". + /// This name defines string value returned by the `segment` dimension. The + /// `segment` dimension prefixes segment names by the 1-based index number of + /// the segment in the request (i.e. "1. Segment", "2. Segment", etc.). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A segment is specified in one scope. + /// A segment is specified in one scope. #[prost(oneof="segment::OneSegmentScope", tags="2, 3, 4")] pub one_segment_scope: ::core::option::Option, } /// Nested message and enum types in `Segment`. pub mod segment { - /// A segment is specified in one scope. + /// A segment is specified in one scope. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneSegmentScope { - /// User segments are subsets of users who engaged with your site or app. + /// User segments are subsets of users who engaged with your site or app. #[prost(message, tag="2")] UserSegment(super::UserSegment), - /// Session segments are subsets of the sessions that occurred on your site - /// or app. + /// Session segments are subsets of the sessions that occurred on your site + /// or app. #[prost(message, tag="3")] SessionSegment(super::SessionSegment), - /// Event segments are subsets of events that were triggered on your site or - /// app. + /// Event segments are subsets of events that were triggered on your site or + /// app. #[prost(message, tag="4")] EventSegment(super::EventSegment), } } -/// Expresses combinations of segment filters. +/// Expresses combinations of segment filters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentFilterExpression { - /// Specify one type of filter for `SegmentFilterExpression`. + /// Specify one type of filter for `SegmentFilterExpression`. #[prost(oneof="segment_filter_expression::Expr", tags="1, 2, 3, 4, 5")] pub expr: ::core::option::Option, } /// Nested message and enum types in `SegmentFilterExpression`. pub mod segment_filter_expression { - /// Specify one type of filter for `SegmentFilterExpression`. + /// Specify one type of filter for `SegmentFilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The SegmentFilterExpression in `andGroup` have an AND relationship. + /// The SegmentFilterExpression in `andGroup` have an AND relationship. #[prost(message, tag="1")] AndGroup(super::SegmentFilterExpressionList), - /// The SegmentFilterExpression in `orGroup` have an OR relationship. + /// The SegmentFilterExpression in `orGroup` have an OR relationship. #[prost(message, tag="2")] OrGroup(super::SegmentFilterExpressionList), - /// The SegmentFilterExpression is NOT of `notExpression`. + /// The SegmentFilterExpression is NOT of `notExpression`. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive segment filter. + /// A primitive segment filter. #[prost(message, tag="4")] SegmentFilter(super::SegmentFilter), - /// Creates a filter that matches events of a single event name. If a - /// parameter filter expression is specified, only the subset of events that - /// match both the single event name and the parameter filter expressions - /// match this event filter. + /// Creates a filter that matches events of a single event name. If a + /// parameter filter expression is specified, only the subset of events that + /// match both the single event name and the parameter filter expressions + /// match this event filter. #[prost(message, tag="5")] SegmentEventFilter(super::SegmentEventFilter), } } -/// A list of segment filter expressions. +/// A list of segment filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentFilterExpressionList { - /// The list of segment filter expressions + /// The list of segment filter expressions #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter dimension or metric values. +/// An expression to filter dimension or metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentFilter { - /// The dimension name or metric name. + /// The dimension name or metric name. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Specifies the scope for the filter. + /// Specifies the scope for the filter. #[prost(message, optional, tag="8")] pub filter_scoping: ::core::option::Option, - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[prost(oneof="segment_filter::OneFilter", tags="4, 5, 6, 7")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `SegmentFilter`. pub mod segment_filter { - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="4")] StringFilter(super::StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="5")] InListFilter(super::InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="6")] NumericFilter(super::NumericFilter), - /// A filter for between two values. + /// A filter for between two values. #[prost(message, tag="7")] BetweenFilter(super::BetweenFilter), } } -/// Scopings specify how the dimensions & metrics of multiple events -/// should be considered when evaluating a segment filter. +/// Scopings specify how the dimensions & metrics of multiple events +/// should be considered when evaluating a segment filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentFilterScoping { - /// If `atAnyPointInTime` is true, this filter evaluates to true for all - /// events if it evaluates to true for any event in the date range of the - /// request. + /// If `atAnyPointInTime` is true, this filter evaluates to true for all + /// events if it evaluates to true for any event in the date range of the + /// request. /// - /// This `atAnyPointInTime` parameter does not extend the date range of - /// events in the report. If `atAnyPointInTime` is true, only events within - /// the report's date range are considered when evaluating this filter. + /// This `atAnyPointInTime` parameter does not extend the date range of + /// events in the report. If `atAnyPointInTime` is true, only events within + /// the report's date range are considered when evaluating this filter. /// - /// This `atAnyPointInTime` is only able to be specified if the criteria - /// scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in - /// sequences. + /// This `atAnyPointInTime` is only able to be specified if the criteria + /// scoping is `ACROSS_ALL_SESSIONS` and is not able to be specified in + /// sequences. /// - /// If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = - /// false is used if unspecified. + /// If the criteria scoping is `ACROSS_ALL_SESSIONS`, `atAnyPointInTime` = + /// false is used if unspecified. #[prost(bool, optional, tag="1")] pub at_any_point_in_time: ::core::option::Option, } -/// Creates a filter that matches events of a single event name. If a parameter -/// filter expression is specified, only the subset of events that match both the -/// single event name and the parameter filter expressions match this event -/// filter. +/// Creates a filter that matches events of a single event name. If a parameter +/// filter expression is specified, only the subset of events that match both the +/// single event name and the parameter filter expressions match this event +/// filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentEventFilter { - /// This filter matches events of this single event name. Event name is - /// required. + /// This filter matches events of this single event name. Event name is + /// required. #[prost(string, optional, tag="1")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// If specified, this filter matches events that match both the single event - /// name and the parameter filter expressions. + /// If specified, this filter matches events that match both the single event + /// name and the parameter filter expressions. /// - /// Inside the parameter filter expression, only parameter filters are - /// available. + /// Inside the parameter filter expression, only parameter filters are + /// available. #[prost(message, optional, tag="2")] pub segment_parameter_filter_expression: ::core::option::Option, } -/// Expresses combinations of segment filter on parameters. +/// Expresses combinations of segment filter on parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentParameterFilterExpression { - /// Specify one type of filter for `SegmentParameterFilterExpression`. + /// Specify one type of filter for `SegmentParameterFilterExpression`. #[prost(oneof="segment_parameter_filter_expression::Expr", tags="1, 2, 3, 4")] pub expr: ::core::option::Option, } /// Nested message and enum types in `SegmentParameterFilterExpression`. pub mod segment_parameter_filter_expression { - /// Specify one type of filter for `SegmentParameterFilterExpression`. + /// Specify one type of filter for `SegmentParameterFilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The SegmentParameterFilterExpression in `andGroup` have an AND - /// relationship. + /// The SegmentParameterFilterExpression in `andGroup` have an AND + /// relationship. #[prost(message, tag="1")] AndGroup(super::SegmentParameterFilterExpressionList), - /// The SegmentParameterFilterExpression in `orGroup` have an OR - /// relationship. + /// The SegmentParameterFilterExpression in `orGroup` have an OR + /// relationship. #[prost(message, tag="2")] OrGroup(super::SegmentParameterFilterExpressionList), - /// The SegmentParameterFilterExpression is NOT of `notExpression`. + /// The SegmentParameterFilterExpression is NOT of `notExpression`. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive segment parameter filter. + /// A primitive segment parameter filter. #[prost(message, tag="4")] SegmentParameterFilter(super::SegmentParameterFilter), } } -/// A list of segment parameter filter expressions. +/// A list of segment parameter filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentParameterFilterExpressionList { - /// The list of segment parameter filter expressions. + /// The list of segment parameter filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter parameter values in a segment. +/// An expression to filter parameter values in a segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentParameterFilter { - /// Specifies the scope for the filter. + /// Specifies the scope for the filter. #[prost(message, optional, tag="8")] pub filter_scoping: ::core::option::Option, - /// The field that is being filtered. + /// The field that is being filtered. #[prost(oneof="segment_parameter_filter::OneParameter", tags="1, 2")] pub one_parameter: ::core::option::Option, - /// Specify one type of filter. + /// Specify one type of filter. #[prost(oneof="segment_parameter_filter::OneFilter", tags="4, 5, 6, 7")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `SegmentParameterFilter`. pub mod segment_parameter_filter { - /// The field that is being filtered. + /// The field that is being filtered. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneParameter { - /// This filter will be evaluated on the specified event parameter. Event - /// parameters are logged as parameters of the event. Event parameters - /// include fields like "firebase_screen" & "currency". + /// This filter will be evaluated on the specified event parameter. Event + /// parameters are logged as parameters of the event. Event parameters + /// include fields like "firebase_screen" & "currency". /// - /// Event parameters can only be used in segments & funnels and can only be - /// used in a descendent filter from an EventFilter. In a descendent filter - /// from an EventFilter either event or item parameters should be used. + /// Event parameters can only be used in segments & funnels and can only be + /// used in a descendent filter from an EventFilter. In a descendent filter + /// from an EventFilter either event or item parameters should be used. #[prost(string, tag="1")] EventParameterName(::prost::alloc::string::String), - /// This filter will be evaluated on the specified item parameter. Item - /// parameters are logged as parameters in the item array. Item parameters - /// include fields like "item_name" & "item_category". + /// This filter will be evaluated on the specified item parameter. Item + /// parameters are logged as parameters in the item array. Item parameters + /// include fields like "item_name" & "item_category". /// - /// Item parameters can only be used in segments & funnels and can only be - /// used in a descendent filter from an EventFilter. In a descendent filter - /// from an EventFilter either event or item parameters should be used. + /// Item parameters can only be used in segments & funnels and can only be + /// used in a descendent filter from an EventFilter. In a descendent filter + /// from an EventFilter either event or item parameters should be used. /// - /// Item parameters are only available in ecommerce events. To learn more - /// about ecommerce events, see the [Measure ecommerce] - /// () - /// guide. + /// Item parameters are only available in ecommerce events. To learn more + /// about ecommerce events, see the [Measure ecommerce] + /// () + /// guide. #[prost(string, tag="2")] ItemParameterName(::prost::alloc::string::String), } - /// Specify one type of filter. + /// Specify one type of filter. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="4")] StringFilter(super::StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="5")] InListFilter(super::InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="6")] NumericFilter(super::NumericFilter), - /// A filter for between two values. + /// A filter for between two values. #[prost(message, tag="7")] BetweenFilter(super::BetweenFilter), } } -/// Scopings specify how multiple events should be considered when evaluating a -/// segment parameter filter. +/// Scopings specify how multiple events should be considered when evaluating a +/// segment parameter filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentParameterFilterScoping { - /// Accumulates the parameter over the specified period of days before - /// applying the filter. Only supported if criteria scoping is - /// `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the - /// parameter is `event_count`. + /// Accumulates the parameter over the specified period of days before + /// applying the filter. Only supported if criteria scoping is + /// `ACROSS_ALL_SESSIONS` or `WITHIN_SAME_SESSION`. Only supported if the + /// parameter is `event_count`. /// - /// For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", - /// the event parameter is "event_count", and the Filter's criteria is - /// greater than 5, this filter will accumulate the event count of purchase - /// events over every 3 consecutive day period in the report's date range; a - /// user will pass this Filter's criteria to be included in this segment if - /// their count of purchase events exceeds 5 in any 3 consecutive day period. - /// For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to - /// 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. + /// For example if `inAnyNDayPeriod` is 3, the event_name is "purchase", + /// the event parameter is "event_count", and the Filter's criteria is + /// greater than 5, this filter will accumulate the event count of purchase + /// events over every 3 consecutive day period in the report's date range; a + /// user will pass this Filter's criteria to be included in this segment if + /// their count of purchase events exceeds 5 in any 3 consecutive day period. + /// For example, the periods 2021-11-01 to 2021-11-03, 2021-11-02 to + /// 2021-11-04, 2021-11-03 to 2021-11-05, and etc. will be considered. /// - /// The date range is not extended for the purpose of having a full N day - /// window near the start of the date range. For example if a report is for - /// 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day - /// period will be effectively shortened because no event data outside the - /// report's date range will be read. For example, the first four periods - /// will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, - /// 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. + /// The date range is not extended for the purpose of having a full N day + /// window near the start of the date range. For example if a report is for + /// 2021-11-01 to 2021-11-10 and `inAnyNDayPeriod` = 3, the first two day + /// period will be effectively shortened because no event data outside the + /// report's date range will be read. For example, the first four periods + /// will effectively be: 2021-11-01 to 2021-11-01, 2021-11-01 to 2021-11-02, + /// 2021-11-01 to 2021-11-03, and 2021-11-02 to 2021-11-04. /// - /// `inAnyNDayPeriod` is optional. If not specified, the - /// `segmentParameterFilter` is applied to each event individually. + /// `inAnyNDayPeriod` is optional. If not specified, the + /// `segmentParameterFilter` is applied to each event individually. #[prost(int64, optional, tag="1")] pub in_any_n_day_period: ::core::option::Option, } -/// Expresses combinations of funnel filters. +/// Expresses combinations of funnel filters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelFilterExpression { - /// Specify one type of filter for `FunnelFilterExpression`. + /// Specify one type of filter for `FunnelFilterExpression`. #[prost(oneof="funnel_filter_expression::Expr", tags="1, 2, 3, 4, 5")] pub expr: ::core::option::Option, } /// Nested message and enum types in `FunnelFilterExpression`. pub mod funnel_filter_expression { - /// Specify one type of filter for `FunnelFilterExpression`. + /// Specify one type of filter for `FunnelFilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The FunnelFilterExpression in `andGroup` have an AND relationship. + /// The FunnelFilterExpression in `andGroup` have an AND relationship. #[prost(message, tag="1")] AndGroup(super::FunnelFilterExpressionList), - /// The FunnelFilterExpression in `orGroup` have an OR relationship. + /// The FunnelFilterExpression in `orGroup` have an OR relationship. #[prost(message, tag="2")] OrGroup(super::FunnelFilterExpressionList), - /// The FunnelFilterExpression is NOT of `notExpression`. + /// The FunnelFilterExpression is NOT of `notExpression`. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A funnel filter for a dimension or metric. + /// A funnel filter for a dimension or metric. #[prost(message, tag="4")] FunnelFieldFilter(super::FunnelFieldFilter), - /// Creates a filter that matches events of a single event name. If a - /// parameter filter expression is specified, only the subset of events that - /// match both the single event name and the parameter filter expressions - /// match this event filter. + /// Creates a filter that matches events of a single event name. If a + /// parameter filter expression is specified, only the subset of events that + /// match both the single event name and the parameter filter expressions + /// match this event filter. #[prost(message, tag="5")] FunnelEventFilter(super::FunnelEventFilter), } } -/// A list of funnel filter expressions. +/// A list of funnel filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelFilterExpressionList { - /// The list of funnel filter expressions. + /// The list of funnel filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter dimension or metric values. +/// An expression to filter dimension or metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelFieldFilter { - /// The dimension name or metric name. + /// The dimension name or metric name. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Specify one type of filter. + /// Specify one type of filter. #[prost(oneof="funnel_field_filter::OneFilter", tags="4, 5, 6, 7")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `FunnelFieldFilter`. pub mod funnel_field_filter { - /// Specify one type of filter. + /// Specify one type of filter. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="4")] StringFilter(super::StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="5")] InListFilter(super::InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="6")] NumericFilter(super::NumericFilter), - /// A filter for between two values. + /// A filter for between two values. #[prost(message, tag="7")] BetweenFilter(super::BetweenFilter), } } -/// Creates a filter that matches events of a single event name. If a parameter -/// filter expression is specified, only the subset of events that match both the -/// single event name and the parameter filter expressions match this event -/// filter. +/// Creates a filter that matches events of a single event name. If a parameter +/// filter expression is specified, only the subset of events that match both the +/// single event name and the parameter filter expressions match this event +/// filter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelEventFilter { - /// This filter matches events of this single event name. Event name is - /// required. + /// This filter matches events of this single event name. Event name is + /// required. #[prost(string, optional, tag="1")] pub event_name: ::core::option::Option<::prost::alloc::string::String>, - /// If specified, this filter matches events that match both the single event - /// name and the parameter filter expressions. + /// If specified, this filter matches events that match both the single event + /// name and the parameter filter expressions. /// - /// Inside the parameter filter expression, only parameter filters are - /// available. + /// Inside the parameter filter expression, only parameter filters are + /// available. #[prost(message, optional, tag="2")] pub funnel_parameter_filter_expression: ::core::option::Option, } -/// Expresses combinations of funnel filters on parameters. +/// Expresses combinations of funnel filters on parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelParameterFilterExpression { - /// Specify one type of filter for `FunnelParameterFilterExpression`. + /// Specify one type of filter for `FunnelParameterFilterExpression`. #[prost(oneof="funnel_parameter_filter_expression::Expr", tags="1, 2, 3, 4")] pub expr: ::core::option::Option, } /// Nested message and enum types in `FunnelParameterFilterExpression`. pub mod funnel_parameter_filter_expression { - /// Specify one type of filter for `FunnelParameterFilterExpression`. + /// Specify one type of filter for `FunnelParameterFilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The FunnelParameterFilterExpression in `andGroup` have an AND - /// relationship. + /// The FunnelParameterFilterExpression in `andGroup` have an AND + /// relationship. #[prost(message, tag="1")] AndGroup(super::FunnelParameterFilterExpressionList), - /// The FunnelParameterFilterExpression in `orGroup` have an OR - /// relationship. + /// The FunnelParameterFilterExpression in `orGroup` have an OR + /// relationship. #[prost(message, tag="2")] OrGroup(super::FunnelParameterFilterExpressionList), - /// The FunnelParameterFilterExpression is NOT of `notExpression`. + /// The FunnelParameterFilterExpression is NOT of `notExpression`. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive funnel parameter filter. + /// A primitive funnel parameter filter. #[prost(message, tag="4")] FunnelParameterFilter(super::FunnelParameterFilter), } } -/// A list of funnel parameter filter expressions. +/// A list of funnel parameter filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelParameterFilterExpressionList { - /// The list of funnel parameter filter expressions. + /// The list of funnel parameter filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter parameter values in a funnel. +/// An expression to filter parameter values in a funnel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelParameterFilter { - /// The field that is being filtered. + /// The field that is being filtered. #[prost(oneof="funnel_parameter_filter::OneParameter", tags="1, 2")] pub one_parameter: ::core::option::Option, - /// Specify one type of filter. + /// Specify one type of filter. #[prost(oneof="funnel_parameter_filter::OneFilter", tags="4, 5, 6, 7")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `FunnelParameterFilter`. pub mod funnel_parameter_filter { - /// The field that is being filtered. + /// The field that is being filtered. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneParameter { - /// This filter will be evaluated on the specified event parameter. Event - /// parameters are logged as parameters of the event. Event parameters - /// include fields like "firebase_screen" & "currency". + /// This filter will be evaluated on the specified event parameter. Event + /// parameters are logged as parameters of the event. Event parameters + /// include fields like "firebase_screen" & "currency". /// - /// Event parameters can only be used in segments & funnels and can only be - /// used in a descendent filter from an EventFilter. In a descendent filter - /// from an EventFilter either event or item parameters should be used. + /// Event parameters can only be used in segments & funnels and can only be + /// used in a descendent filter from an EventFilter. In a descendent filter + /// from an EventFilter either event or item parameters should be used. #[prost(string, tag="1")] EventParameterName(::prost::alloc::string::String), - /// This filter will be evaluated on the specified item parameter. Item - /// parameters are logged as parameters in the item array. Item parameters - /// include fields like "item_name" & "item_category". + /// This filter will be evaluated on the specified item parameter. Item + /// parameters are logged as parameters in the item array. Item parameters + /// include fields like "item_name" & "item_category". /// - /// Item parameters can only be used in segments & funnels and can only be - /// used in a descendent filter from an EventFilter. In a descendent filter - /// from an EventFilter either event or item parameters should be used. + /// Item parameters can only be used in segments & funnels and can only be + /// used in a descendent filter from an EventFilter. In a descendent filter + /// from an EventFilter either event or item parameters should be used. /// - /// Item parameters are only available in ecommerce events. To learn more - /// about ecommerce events, see the [Measure ecommerce] - /// () - /// guide. + /// Item parameters are only available in ecommerce events. To learn more + /// about ecommerce events, see the [Measure ecommerce] + /// () + /// guide. #[prost(string, tag="2")] ItemParameterName(::prost::alloc::string::String), } - /// Specify one type of filter. + /// Specify one type of filter. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="4")] StringFilter(super::StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="5")] InListFilter(super::InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="6")] NumericFilter(super::NumericFilter), - /// A filter for between two values. + /// A filter for between two values. #[prost(message, tag="7")] BetweenFilter(super::BetweenFilter), } } -/// The funnel report's response metadata carries additional information about -/// the funnel report. +/// The funnel report's response metadata carries additional information about +/// the funnel report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunnelResponseMetadata { - /// If funnel report results are - /// \[sampled\](), this - /// describes what percentage of events were used in this funnel report. One - /// `samplingMetadatas` is populated for each date range. Each - /// `samplingMetadatas` corresponds to a date range in order that date ranges - /// were specified in the request. + /// If funnel report results are + /// \[sampled\](), this + /// describes what percentage of events were used in this funnel report. One + /// `samplingMetadatas` is populated for each date range. Each + /// `samplingMetadatas` corresponds to a date range in order that date ranges + /// were specified in the request. /// - /// However if the results are not sampled, this field will not be defined. + /// However if the results are not sampled, this field will not be defined. #[prost(message, repeated, tag="1")] pub sampling_metadatas: ::prost::alloc::vec::Vec, } -/// If funnel report results are -/// \[sampled\](), this -/// metadata describes what percentage of events were used in this funnel -/// report for a date range. Sampling is the practice of analyzing a subset of -/// all data in order to uncover the meaningful information in the larger data -/// set. +/// If funnel report results are +/// \[sampled\](), this +/// metadata describes what percentage of events were used in this funnel +/// report for a date range. Sampling is the practice of analyzing a subset of +/// all data in order to uncover the meaningful information in the larger data +/// set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SamplingMetadata { - /// The total number of events read in this sampled report for a date range. - /// This is the size of the subset this property's data that was analyzed in - /// this funnel report. + /// The total number of events read in this sampled report for a date range. + /// This is the size of the subset this property's data that was analyzed in + /// this funnel report. #[prost(int64, tag="1")] pub samples_read_count: i64, - /// The total number of events present in this property's data that could - /// have been analyzed in this funnel report for a date range. Sampling - /// uncovers the meaningful information about the larger data set, and this - /// is the size of the larger data set. + /// The total number of events present in this property's data that could + /// have been analyzed in this funnel report for a date range. Sampling + /// uncovers the meaningful information about the larger data set, and this + /// is the size of the larger data set. /// - /// To calculate the percentage of available data that was used in this - /// funnel report, compute `samplesReadCount/samplingSpaceSize`. + /// To calculate the percentage of available data that was used in this + /// funnel report, compute `samplesReadCount/samplingSpaceSize`. #[prost(int64, tag="2")] pub sampling_space_size: i64, } -/// Scoping specifies which events are considered when evaluating if a user -/// meets a criteria. +/// Scoping specifies which events are considered when evaluating if a user +/// meets a criteria. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserCriteriaScoping { - /// Unspecified criteria scoping. Do not specify. + /// Unspecified criteria scoping. Do not specify. Unspecified = 0, - /// If the criteria is satisfied within one event, the user matches the - /// criteria. + /// If the criteria is satisfied within one event, the user matches the + /// criteria. UserCriteriaWithinSameEvent = 1, - /// If the criteria is satisfied within one session, the user matches the - /// criteria. + /// If the criteria is satisfied within one session, the user matches the + /// criteria. UserCriteriaWithinSameSession = 2, - /// If the criteria is satisfied by any events for the user, the user - /// matches the criteria. + /// If the criteria is satisfied by any events for the user, the user + /// matches the criteria. UserCriteriaAcrossAllSessions = 3, } impl UserCriteriaScoping { @@ -1311,18 +1311,18 @@ impl UserCriteriaScoping { } } } -/// Enumerates options for how long an exclusion will last if a user matches -/// the `userExclusionCriteria`. +/// Enumerates options for how long an exclusion will last if a user matches +/// the `userExclusionCriteria`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserExclusionDuration { - /// Unspecified exclusion duration. Do not specify. + /// Unspecified exclusion duration. Do not specify. Unspecified = 0, - /// Temporarily exclude users from the segment during periods when the - /// user meets the `userExclusionCriteria` condition. + /// Temporarily exclude users from the segment during periods when the + /// user meets the `userExclusionCriteria` condition. UserExclusionTemporary = 1, - /// Permanently exclude users from the segment if the user ever meets the - /// `userExclusionCriteria` condition. + /// Permanently exclude users from the segment if the user ever meets the + /// `userExclusionCriteria` condition. UserExclusionPermanent = 2, } impl UserExclusionDuration { @@ -1338,18 +1338,18 @@ impl UserExclusionDuration { } } } -/// Scoping specifies which events are considered when evaluating if a -/// session meets a criteria. +/// Scoping specifies which events are considered when evaluating if a +/// session meets a criteria. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SessionCriteriaScoping { - /// Unspecified criteria scoping. Do not specify. + /// Unspecified criteria scoping. Do not specify. Unspecified = 0, - /// If the criteria is satisfied within one event, the session matches the - /// criteria. + /// If the criteria is satisfied within one event, the session matches the + /// criteria. SessionCriteriaWithinSameEvent = 1, - /// If the criteria is satisfied within one session, the session matches - /// the criteria. + /// If the criteria is satisfied within one session, the session matches + /// the criteria. SessionCriteriaWithinSameSession = 2, } impl SessionCriteriaScoping { @@ -1365,18 +1365,18 @@ impl SessionCriteriaScoping { } } } -/// Enumerates options for how long an exclusion will last if a session -/// matches the `sessionExclusionCriteria`. +/// Enumerates options for how long an exclusion will last if a session +/// matches the `sessionExclusionCriteria`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SessionExclusionDuration { - /// Unspecified exclusion duration. Do not specify. + /// Unspecified exclusion duration. Do not specify. Unspecified = 0, - /// Temporarily exclude sessions from the segment during periods when the - /// session meets the `sessionExclusionCriteria` condition. + /// Temporarily exclude sessions from the segment during periods when the + /// session meets the `sessionExclusionCriteria` condition. SessionExclusionTemporary = 1, - /// Permanently exclude sessions from the segment if the session ever meets - /// the `sessionExclusionCriteria` condition. + /// Permanently exclude sessions from the segment if the session ever meets + /// the `sessionExclusionCriteria` condition. SessionExclusionPermanent = 2, } impl SessionExclusionDuration { @@ -1392,15 +1392,15 @@ impl SessionExclusionDuration { } } } -/// Scoping specifies which events are considered when evaluating if an event -/// meets a criteria. +/// Scoping specifies which events are considered when evaluating if an event +/// meets a criteria. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventCriteriaScoping { - /// Unspecified criteria scoping. Do not specify. + /// Unspecified criteria scoping. Do not specify. Unspecified = 0, - /// If the criteria is satisfied within one event, the event matches the - /// criteria. + /// If the criteria is satisfied within one event, the event matches the + /// criteria. EventCriteriaWithinSameEvent = 1, } impl EventCriteriaScoping { @@ -1415,15 +1415,15 @@ impl EventCriteriaScoping { } } } -/// Enumerates options for how long an exclusion will last if an event -/// matches the `eventExclusionCriteria`. +/// Enumerates options for how long an exclusion will last if an event +/// matches the `eventExclusionCriteria`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventExclusionDuration { - /// Unspecified exclusion duration. Do not specify. + /// Unspecified exclusion duration. Do not specify. Unspecified = 0, - /// Permanently exclude events from the segment if the event ever meets - /// the `eventExclusionCriteria` condition. + /// Permanently exclude events from the segment if the event ever meets + /// the `eventExclusionCriteria` condition. EventExclusionPermanent = 1, } impl EventExclusionDuration { @@ -1438,35 +1438,35 @@ impl EventExclusionDuration { } } } -/// A metric's value type. +/// A metric's value type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Integer type. + /// Integer type. TypeInteger = 1, - /// Floating point type. + /// Floating point type. TypeFloat = 2, - /// A duration of seconds; a special floating point type. + /// A duration of seconds; a special floating point type. TypeSeconds = 4, - /// A duration in milliseconds; a special floating point type. + /// A duration in milliseconds; a special floating point type. TypeMilliseconds = 5, - /// A duration in minutes; a special floating point type. + /// A duration in minutes; a special floating point type. TypeMinutes = 6, - /// A duration in hours; a special floating point type. + /// A duration in hours; a special floating point type. TypeHours = 7, - /// A custom metric of standard type; a special floating point type. + /// A custom metric of standard type; a special floating point type. TypeStandard = 8, - /// An amount of money; a special floating point type. + /// An amount of money; a special floating point type. TypeCurrency = 9, - /// A length in feet; a special floating point type. + /// A length in feet; a special floating point type. TypeFeet = 10, - /// A length in miles; a special floating point type. + /// A length in miles; a special floating point type. TypeMiles = 11, - /// A length in meters; a special floating point type. + /// A length in meters; a special floating point type. TypeMeters = 12, - /// A length in kilometers; a special floating point type. + /// A length in kilometers; a special floating point type. TypeKilometers = 13, } impl MetricType { @@ -1492,94 +1492,94 @@ impl MetricType { } } } -/// The request for a funnel report. +/// The request for a funnel report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunFunnelReportRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). - /// Within a batch request, this property should either be unspecified or - /// consistent with the batch-level property. + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). + /// Within a batch request, this property should either be unspecified or + /// consistent with the batch-level property. /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Date ranges of data to read. If multiple date ranges are requested, each - /// response row will contain a zero based date range index. If two date - /// ranges overlap, the event data for the overlapping days is included in the - /// response rows for both date ranges. + /// Date ranges of data to read. If multiple date ranges are requested, each + /// response row will contain a zero based date range index. If two date + /// ranges overlap, the event data for the overlapping days is included in the + /// response rows for both date ranges. #[prost(message, repeated, tag="2")] pub date_ranges: ::prost::alloc::vec::Vec, - /// The configuration of this request's funnel. This funnel configuration is - /// required. + /// The configuration of this request's funnel. This funnel configuration is + /// required. #[prost(message, optional, tag="3")] pub funnel: ::core::option::Option, - /// If specified, this breakdown adds a dimension to the funnel table sub - /// report response. This breakdown dimension expands each funnel step to the - /// unique values of the breakdown dimension. For example, a breakdown by the - /// `deviceCategory` dimension will create rows for `mobile`, `tablet`, - /// `desktop`, and the total. + /// If specified, this breakdown adds a dimension to the funnel table sub + /// report response. This breakdown dimension expands each funnel step to the + /// unique values of the breakdown dimension. For example, a breakdown by the + /// `deviceCategory` dimension will create rows for `mobile`, `tablet`, + /// `desktop`, and the total. #[prost(message, optional, tag="4")] pub funnel_breakdown: ::core::option::Option, - /// If specified, next action adds a dimension to the funnel visualization sub - /// report response. This next action dimension expands each funnel step to the - /// unique values of the next action. For example a next action of the - /// `eventName` dimension will create rows for several events (i.e. - /// `session_start` & `click`) and the total. + /// If specified, next action adds a dimension to the funnel visualization sub + /// report response. This next action dimension expands each funnel step to the + /// unique values of the next action. For example a next action of the + /// `eventName` dimension will create rows for several events (i.e. + /// `session_start` & `click`) and the total. /// - /// Next action only supports `eventName` and most Page / Screen dimensions - /// like `pageTitle` and `pagePath`. + /// Next action only supports `eventName` and most Page / Screen dimensions + /// like `pageTitle` and `pagePath`. #[prost(message, optional, tag="5")] pub funnel_next_action: ::core::option::Option, - /// The funnel visualization type controls the dimensions present in the funnel - /// visualization sub report response. If not specified, `STANDARD_FUNNEL` is - /// used. + /// The funnel visualization type controls the dimensions present in the funnel + /// visualization sub report response. If not specified, `STANDARD_FUNNEL` is + /// used. #[prost(enumeration="run_funnel_report_request::FunnelVisualizationType", tag="6")] pub funnel_visualization_type: i32, - /// The configurations of segments. Segments are subsets of a property's data. - /// In a funnel report with segments, the funnel is evaluated in each segment. + /// The configurations of segments. Segments are subsets of a property's data. + /// In a funnel report with segments, the funnel is evaluated in each segment. /// - /// Each segment specified in this request - /// produces a separate row in the response; in the response, each segment - /// identified by its name. + /// Each segment specified in this request + /// produces a separate row in the response; in the response, each segment + /// identified by its name. /// - /// The segments parameter is optional. Requests are limited to 4 segments. + /// The segments parameter is optional. Requests are limited to 4 segments. #[prost(message, repeated, tag="7")] pub segments: ::prost::alloc::vec::Vec, - /// The number of rows to return. If unspecified, 10,000 rows are returned. The - /// API returns a maximum of 100,000 rows per request, no matter how many you - /// ask for. `limit` must be positive. + /// The number of rows to return. If unspecified, 10,000 rows are returned. The + /// API returns a maximum of 100,000 rows per request, no matter how many you + /// ask for. `limit` must be positive. /// - /// The API can also return fewer rows than the requested `limit`, if there - /// aren't as many dimension values as the `limit`. + /// The API can also return fewer rows than the requested `limit`, if there + /// aren't as many dimension values as the `limit`. #[prost(int64, tag="9")] pub limit: i64, - /// Dimension filters allow you to ask for only specific dimension values in - /// the report. To learn more, see [Creating a Report: Dimension - /// Filters]() - /// for examples. Metrics cannot be used in this filter. + /// Dimension filters allow you to ask for only specific dimension values in + /// the report. To learn more, see [Creating a Report: Dimension + /// Filters]() + /// for examples. Metrics cannot be used in this filter. #[prost(message, optional, tag="10")] pub dimension_filter: ::core::option::Option, - /// Toggles whether to return the current state of this Analytics Property's - /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). + /// Toggles whether to return the current state of this Analytics Property's + /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). #[prost(bool, tag="12")] pub return_property_quota: bool, } /// Nested message and enum types in `RunFunnelReportRequest`. pub mod run_funnel_report_request { - /// Controls the dimensions present in the funnel visualization sub report - /// response. + /// Controls the dimensions present in the funnel visualization sub report + /// response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FunnelVisualizationType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// A standard (stepped) funnel. The funnel visualization sub report in the - /// response will not contain date. + /// A standard (stepped) funnel. The funnel visualization sub report in the + /// response will not contain date. StandardFunnel = 1, - /// A trended (line chart) funnel. The funnel visualization sub report in the - /// response will contain the date dimension. + /// A trended (line chart) funnel. The funnel visualization sub report in the + /// response will contain the date dimension. TrendedFunnel = 2, } impl FunnelVisualizationType { @@ -1596,34 +1596,34 @@ pub mod run_funnel_report_request { } } } -/// The funnel report response contains two sub reports. The two sub reports are -/// different combinations of dimensions and metrics. +/// The funnel report response contains two sub reports. The two sub reports are +/// different combinations of dimensions and metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunFunnelReportResponse { - /// The funnel table is a report with the funnel step, segment, breakdown - /// dimension, active users, completion rate, abandonments, and abandonments - /// rate. + /// The funnel table is a report with the funnel step, segment, breakdown + /// dimension, active users, completion rate, abandonments, and abandonments + /// rate. /// - /// The segment dimension is only present in this response if a segment was - /// requested. The breakdown dimension is only present in this response if it - /// was requested. + /// The segment dimension is only present in this response if a segment was + /// requested. The breakdown dimension is only present in this response if it + /// was requested. #[prost(message, optional, tag="1")] pub funnel_table: ::core::option::Option, - /// The funnel visualization is a report with the funnel step, segment, date, - /// next action dimension, and active users. + /// The funnel visualization is a report with the funnel step, segment, date, + /// next action dimension, and active users. /// - /// The segment dimension is only present in this response if a segment was - /// requested. The date dimension is only present in this response if it was - /// requested via the `TRENDED_FUNNEL` funnel type. The next action dimension - /// is only present in the response if it was requested. + /// The segment dimension is only present in this response if a segment was + /// requested. The date dimension is only present in this response if it was + /// requested via the `TRENDED_FUNNEL` funnel type. The next action dimension + /// is only present in the response if it was requested. #[prost(message, optional, tag="2")] pub funnel_visualization: ::core::option::Option, - /// This Analytics Property's quota state including this request. + /// This Analytics Property's quota state including this request. #[prost(message, optional, tag="3")] pub property_quota: ::core::option::Option, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#runFunnelReport". Useful to distinguish between - /// response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#runFunnelReport". Useful to distinguish between + /// response types in JSON. #[prost(string, tag="4")] pub kind: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.analytics.data.v1beta.rs b/gcloud-sdk/genproto/google.analytics.data.v1beta.rs index b1e9653aa..bb6a4b451 100644 --- a/gcloud-sdk/genproto/google.analytics.data.v1beta.rs +++ b/gcloud-sdk/genproto/google.analytics.data.v1beta.rs @@ -1,246 +1,246 @@ -/// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests -/// are allowed up to 4 date ranges. +/// A contiguous set of days: startDate, startDate + 1, ..., endDate. Requests +/// are allowed up to 4 date ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateRange { - /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot - /// be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also - /// accepted, and in that case, the date is inferred based on the property's - /// reporting time zone. + /// The inclusive start date for the query in the format `YYYY-MM-DD`. Cannot + /// be after `end_date`. The format `NdaysAgo`, `yesterday`, or `today` is also + /// accepted, and in that case, the date is inferred based on the property's + /// reporting time zone. #[prost(string, tag="1")] pub start_date: ::prost::alloc::string::String, - /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot - /// be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is - /// also accepted, and in that case, the date is inferred based on the - /// property's reporting time zone. + /// The inclusive end date for the query in the format `YYYY-MM-DD`. Cannot + /// be before `start_date`. The format `NdaysAgo`, `yesterday`, or `today` is + /// also accepted, and in that case, the date is inferred based on the + /// property's reporting time zone. #[prost(string, tag="2")] pub end_date: ::prost::alloc::string::String, - /// Assigns a name to this date range. The dimension `dateRange` is valued to - /// this name in a report response. If set, cannot begin with `date_range_` or - /// `RESERVED_`. If not set, date ranges are named by their zero based index in - /// the request: `date_range_0`, `date_range_1`, etc. + /// Assigns a name to this date range. The dimension `dateRange` is valued to + /// this name in a report response. If set, cannot begin with `date_range_` or + /// `RESERVED_`. If not set, date ranges are named by their zero based index in + /// the request: `date_range_0`, `date_range_1`, etc. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, } -/// A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., -/// endMinutesAgo. Requests are allowed up to 2 minute ranges. +/// A contiguous set of minutes: startMinutesAgo, startMinutesAgo + 1, ..., +/// endMinutesAgo. Requests are allowed up to 2 minute ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MinuteRange { - /// The inclusive start minute for the query as a number of minutes before now. - /// For example, `"startMinutesAgo": 29` specifies the report should include - /// event data from 29 minutes ago and after. Cannot be after `endMinutesAgo`. + /// The inclusive start minute for the query as a number of minutes before now. + /// For example, `"startMinutesAgo": 29` specifies the report should include + /// event data from 29 minutes ago and after. Cannot be after `endMinutesAgo`. /// - /// If unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics - /// properties can request up to the last 30 minutes of event data - /// (`startMinutesAgo <= 29`), and Google Analytics 360 properties can request - /// up to the last 60 minutes of event data (`startMinutesAgo <= 59`). + /// If unspecified, `startMinutesAgo` is defaulted to 29. Standard Analytics + /// properties can request up to the last 30 minutes of event data + /// (`startMinutesAgo <= 29`), and Google Analytics 360 properties can request + /// up to the last 60 minutes of event data (`startMinutesAgo <= 59`). #[prost(int32, optional, tag="1")] pub start_minutes_ago: ::core::option::Option, - /// The inclusive end minute for the query as a number of minutes before now. - /// Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15` - /// specifies the report should include event data from prior to 15 minutes - /// ago. + /// The inclusive end minute for the query as a number of minutes before now. + /// Cannot be before `startMinutesAgo`. For example, `"endMinutesAgo": 15` + /// specifies the report should include event data from prior to 15 minutes + /// ago. /// - /// If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics - /// properties can request any minute in the last 30 minutes of event data - /// (`endMinutesAgo <= 29`), and Google Analytics 360 properties can request - /// any minute in the last 60 minutes of event data (`endMinutesAgo <= 59`). + /// If unspecified, `endMinutesAgo` is defaulted to 0. Standard Analytics + /// properties can request any minute in the last 30 minutes of event data + /// (`endMinutesAgo <= 29`), and Google Analytics 360 properties can request + /// any minute in the last 60 minutes of event data (`endMinutesAgo <= 59`). #[prost(int32, optional, tag="2")] pub end_minutes_ago: ::core::option::Option, - /// Assigns a name to this minute range. The dimension `dateRange` is valued to - /// this name in a report response. If set, cannot begin with `date_range_` or - /// `RESERVED_`. If not set, minute ranges are named by their zero based index - /// in the request: `date_range_0`, `date_range_1`, etc. + /// Assigns a name to this minute range. The dimension `dateRange` is valued to + /// this name in a report response. If set, cannot begin with `date_range_` or + /// `RESERVED_`. If not set, minute ranges are named by their zero based index + /// in the request: `date_range_0`, `date_range_1`, etc. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, } -/// Dimensions are attributes of your data. For example, the dimension city -/// indicates the city from which an event originates. Dimension values in report -/// responses are strings; for example, city could be "Paris" or "New York". -/// Requests are allowed up to 9 dimensions. +/// Dimensions are attributes of your data. For example, the dimension city +/// indicates the city from which an event originates. Dimension values in report +/// responses are strings; for example, city could be "Paris" or "New York". +/// Requests are allowed up to 9 dimensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dimension { - /// The name of the dimension. See the [API - /// Dimensions]() - /// for the list of dimension names. + /// The name of the dimension. See the [API + /// Dimensions]() + /// for the list of dimension names. /// - /// If `dimensionExpression` is specified, `name` can be any string that you - /// would like within the allowed character set. For example if a - /// `dimensionExpression` concatenates `country` and `city`, you could call - /// that dimension `countryAndCity`. Dimension names that you choose must match - /// the regular expression `^\[a-zA-Z0-9_\]$`. + /// If `dimensionExpression` is specified, `name` can be any string that you + /// would like within the allowed character set. For example if a + /// `dimensionExpression` concatenates `country` and `city`, you could call + /// that dimension `countryAndCity`. Dimension names that you choose must match + /// the regular expression `^\[a-zA-Z0-9_\]$`. /// - /// Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, - /// `dimensionExpression`, and `pivots`. + /// Dimensions are referenced by `name` in `dimensionFilter`, `orderBys`, + /// `dimensionExpression`, and `pivots`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// One dimension can be the result of an expression of multiple dimensions. - /// For example, dimension "country, city": concatenate(country, ", ", city). + /// One dimension can be the result of an expression of multiple dimensions. + /// For example, dimension "country, city": concatenate(country, ", ", city). #[prost(message, optional, tag="2")] pub dimension_expression: ::core::option::Option, } -/// Used to express a dimension which is the result of a formula of multiple -/// dimensions. Example usages: -/// 1) lower_case(dimension) -/// 2) concatenate(dimension1, symbol, dimension2). +/// Used to express a dimension which is the result of a formula of multiple +/// dimensions. Example usages: +/// 1) lower_case(dimension) +/// 2) concatenate(dimension1, symbol, dimension2). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionExpression { - /// Specify one type of dimension expression for `DimensionExpression`. + /// Specify one type of dimension expression for `DimensionExpression`. #[prost(oneof="dimension_expression::OneExpression", tags="4, 5, 6")] pub one_expression: ::core::option::Option, } /// Nested message and enum types in `DimensionExpression`. pub mod dimension_expression { - /// Used to convert a dimension value to a single case. + /// Used to convert a dimension value to a single case. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CaseExpression { - /// Name of a dimension. The name must refer back to a name in dimensions - /// field of the request. + /// Name of a dimension. The name must refer back to a name in dimensions + /// field of the request. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, } - /// Used to combine dimension values to a single dimension. + /// Used to combine dimension values to a single dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConcatenateExpression { - /// Names of dimensions. The names must refer back to names in the dimensions - /// field of the request. + /// Names of dimensions. The names must refer back to names in the dimensions + /// field of the request. #[prost(string, repeated, tag="1")] pub dimension_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The delimiter placed between dimension names. + /// The delimiter placed between dimension names. /// - /// Delimiters are often single characters such as "|" or "," but can be - /// longer strings. If a dimension value contains the delimiter, both will be - /// present in response with no distinction. For example if dimension 1 value - /// = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the - /// response will contain "US,FR,JP". + /// Delimiters are often single characters such as "|" or "," but can be + /// longer strings. If a dimension value contains the delimiter, both will be + /// present in response with no distinction. For example if dimension 1 value + /// = "US,FR", dimension 2 value = "JP", and delimiter = ",", then the + /// response will contain "US,FR,JP". #[prost(string, tag="2")] pub delimiter: ::prost::alloc::string::String, } - /// Specify one type of dimension expression for `DimensionExpression`. + /// Specify one type of dimension expression for `DimensionExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneExpression { - /// Used to convert a dimension value to lower case. + /// Used to convert a dimension value to lower case. #[prost(message, tag="4")] LowerCase(CaseExpression), - /// Used to convert a dimension value to upper case. + /// Used to convert a dimension value to upper case. #[prost(message, tag="5")] UpperCase(CaseExpression), - /// Used to combine dimension values to a single dimension. - /// For example, dimension "country, city": concatenate(country, ", ", city). + /// Used to combine dimension values to a single dimension. + /// For example, dimension "country, city": concatenate(country, ", ", city). #[prost(message, tag="6")] Concatenate(ConcatenateExpression), } } -/// The quantitative measurements of a report. For example, the metric -/// `eventCount` is the total number of events. Requests are allowed up to 10 -/// metrics. +/// The quantitative measurements of a report. For example, the metric +/// `eventCount` is the total number of events. Requests are allowed up to 10 +/// metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metric { - /// The name of the metric. See the [API - /// Metrics]() - /// for the list of metric names. + /// The name of the metric. See the [API + /// Metrics]() + /// for the list of metric names. /// - /// If `expression` is specified, `name` can be any string that you would like - /// within the allowed character set. For example if `expression` is - /// `screenPageViews/sessions`, you could call that metric's name = - /// `viewsPerSession`. Metric names that you choose must match the regular - /// expression `^\[a-zA-Z0-9_\]$`. + /// If `expression` is specified, `name` can be any string that you would like + /// within the allowed character set. For example if `expression` is + /// `screenPageViews/sessions`, you could call that metric's name = + /// `viewsPerSession`. Metric names that you choose must match the regular + /// expression `^\[a-zA-Z0-9_\]$`. /// - /// Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric - /// `expression`. + /// Metrics are referenced by `name` in `metricFilter`, `orderBys`, and metric + /// `expression`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A mathematical expression for derived metrics. For example, the metric - /// Event count per user is `eventCount/totalUsers`. + /// A mathematical expression for derived metrics. For example, the metric + /// Event count per user is `eventCount/totalUsers`. #[prost(string, tag="2")] pub expression: ::prost::alloc::string::String, - /// Indicates if a metric is invisible in the report response. If a metric is - /// invisible, the metric will not produce a column in the response, but can be - /// used in `metricFilter`, `orderBys`, or a metric `expression`. + /// Indicates if a metric is invisible in the report response. If a metric is + /// invisible, the metric will not produce a column in the response, but can be + /// used in `metricFilter`, `orderBys`, or a metric `expression`. #[prost(bool, tag="3")] pub invisible: bool, } -/// To express dimension or metric filters. -/// The fields in the same FilterExpression need to be either all dimensions or -/// all metrics. +/// To express dimension or metric filters. +/// The fields in the same FilterExpression need to be either all dimensions or +/// all metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FilterExpression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[prost(oneof="filter_expression::Expr", tags="1, 2, 3, 4")] pub expr: ::core::option::Option, } /// Nested message and enum types in `FilterExpression`. pub mod filter_expression { - /// Specify one type of filter expression for `FilterExpression`. + /// Specify one type of filter expression for `FilterExpression`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expr { - /// The FilterExpressions in and_group have an AND relationship. + /// The FilterExpressions in and_group have an AND relationship. #[prost(message, tag="1")] AndGroup(super::FilterExpressionList), - /// The FilterExpressions in or_group have an OR relationship. + /// The FilterExpressions in or_group have an OR relationship. #[prost(message, tag="2")] OrGroup(super::FilterExpressionList), - /// The FilterExpression is NOT of not_expression. + /// The FilterExpression is NOT of not_expression. #[prost(message, tag="3")] NotExpression(::prost::alloc::boxed::Box), - /// A primitive filter. - /// All fields in filter in same FilterExpression needs to be either all - /// dimensions or metrics. + /// A primitive filter. + /// All fields in filter in same FilterExpression needs to be either all + /// dimensions or metrics. #[prost(message, tag="4")] Filter(super::Filter), } } -/// A list of filter expressions. +/// A list of filter expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FilterExpressionList { - /// A list of filter expressions. + /// A list of filter expressions. #[prost(message, repeated, tag="1")] pub expressions: ::prost::alloc::vec::Vec, } -/// An expression to filter dimension or metric values. +/// An expression to filter dimension or metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Filter { - /// The dimension name or metric name. Must be a name defined in dimensions - /// or metrics. + /// The dimension name or metric name. Must be a name defined in dimensions + /// or metrics. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[prost(oneof="filter::OneFilter", tags="3, 4, 5, 6")] pub one_filter: ::core::option::Option, } /// Nested message and enum types in `Filter`. pub mod filter { - /// The filter for string + /// The filter for string #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringFilter { - /// The match type for this filter. + /// The match type for this filter. #[prost(enumeration="string_filter::MatchType", tag="1")] pub match_type: i32, - /// The string value used for the matching. + /// The string value used for the matching. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="3")] pub case_sensitive: bool, } /// Nested message and enum types in `StringFilter`. pub mod string_filter { - /// The match type of a string filter + /// The match type of a string filter #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Exact match of the string value. + /// Exact match of the string value. Exact = 1, - /// Begins with the string value. + /// Begins with the string value. BeginsWith = 2, - /// Ends with the string value. + /// Ends with the string value. EndsWith = 3, - /// Contains the string value. + /// Contains the string value. Contains = 4, - /// Full regular expression match with the string value. + /// Full regular expression match with the string value. FullRegexp = 5, - /// Partial regular expression match with the string value. + /// Partial regular expression match with the string value. PartialRegexp = 6, } impl MatchType { @@ -261,44 +261,44 @@ pub mod filter { } } } - /// The result needs to be in a list of string values. + /// The result needs to be in a list of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InListFilter { - /// The list of string values. - /// Must be non-empty. + /// The list of string values. + /// Must be non-empty. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, the string value is case sensitive. + /// If true, the string value is case sensitive. #[prost(bool, tag="2")] pub case_sensitive: bool, } - /// Filters for numeric or date values. + /// Filters for numeric or date values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericFilter { - /// The operation type for this filter. + /// The operation type for this filter. #[prost(enumeration="numeric_filter::Operation", tag="1")] pub operation: i32, - /// A numeric value or a date value. + /// A numeric value or a date value. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } /// Nested message and enum types in `NumericFilter`. pub mod numeric_filter { - /// The operation applied to a numeric filter + /// The operation applied to a numeric filter #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operation { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Equal + /// Equal Equal = 1, - /// Less than + /// Less than LessThan = 2, - /// Less than or equal + /// Less than or equal LessThanOrEqual = 3, - /// Greater than + /// Greater than GreaterThan = 4, - /// Greater than or equal + /// Greater than or equal GreaterThanOrEqual = 5, } impl Operation { @@ -318,80 +318,80 @@ pub mod filter { } } } - /// To express that the result needs to be between two numbers (inclusive). + /// To express that the result needs to be between two numbers (inclusive). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BetweenFilter { - /// Begins with this number. + /// Begins with this number. #[prost(message, optional, tag="1")] pub from_value: ::core::option::Option, - /// Ends with this number. + /// Ends with this number. #[prost(message, optional, tag="2")] pub to_value: ::core::option::Option, } - /// Specify one type of filter for `Filter`. + /// Specify one type of filter for `Filter`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneFilter { - /// Strings related filter. + /// Strings related filter. #[prost(message, tag="3")] StringFilter(StringFilter), - /// A filter for in list values. + /// A filter for in list values. #[prost(message, tag="4")] InListFilter(InListFilter), - /// A filter for numeric or date values. + /// A filter for numeric or date values. #[prost(message, tag="5")] NumericFilter(NumericFilter), - /// A filter for two values. + /// A filter for two values. #[prost(message, tag="6")] BetweenFilter(BetweenFilter), } } -/// The sort options. +/// The sort options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OrderBy { - /// If true, sorts by descending order. + /// If true, sorts by descending order. #[prost(bool, tag="4")] pub desc: bool, - /// Specify one type of order by for `OrderBy`. + /// Specify one type of order by for `OrderBy`. #[prost(oneof="order_by::OneOrderBy", tags="1, 2, 3")] pub one_order_by: ::core::option::Option, } /// Nested message and enum types in `OrderBy`. pub mod order_by { - /// Sorts by metric values. + /// Sorts by metric values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricOrderBy { - /// A metric name in the request to order by. + /// A metric name in the request to order by. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, } - /// Sorts by dimension values. + /// Sorts by dimension values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionOrderBy { - /// A dimension name in the request to order by. + /// A dimension name in the request to order by. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, - /// Controls the rule for dimension value ordering. + /// Controls the rule for dimension value ordering. #[prost(enumeration="dimension_order_by::OrderType", tag="2")] pub order_type: i32, } /// Nested message and enum types in `DimensionOrderBy`. pub mod dimension_order_by { - /// Rule to order the string dimension values by. + /// Rule to order the string dimension values by. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OrderType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < - /// "b" < "z". + /// Alphanumeric sort by Unicode code point. For example, "2" < "A" < "X" < + /// "b" < "z". Alphanumeric = 1, - /// Case insensitive alphanumeric sort by lower case Unicode code point. - /// For example, "2" < "A" < "b" < "X" < "z". + /// Case insensitive alphanumeric sort by lower case Unicode code point. + /// For example, "2" < "A" < "b" < "X" < "z". CaseInsensitiveAlphanumeric = 2, - /// Dimension values are converted to numbers before sorting. For example - /// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < - /// "25". Non-numeric dimension values all have equal ordering value below - /// all numeric values. + /// Dimension values are converted to numbers before sorting. For example + /// in NUMERIC sort, "25" < "100", and in `ALPHANUMERIC` sort, "100" < + /// "25". Non-numeric dimension values all have equal ordering value below + /// all numeric values. Numeric = 3, } impl OrderType { @@ -409,28 +409,28 @@ pub mod order_by { } } } - /// Sorts by a pivot column group. + /// Sorts by a pivot column group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PivotOrderBy { - /// In the response to order by, order rows by this column. Must be a metric - /// name from the request. + /// In the response to order by, order rows by this column. Must be a metric + /// name from the request. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, - /// Used to select a dimension name and value pivot. If multiple pivot - /// selections are given, the sort occurs on rows where all pivot selection - /// dimension name and value pairs match the row's dimension name and value - /// pair. + /// Used to select a dimension name and value pivot. If multiple pivot + /// selections are given, the sort occurs on rows where all pivot selection + /// dimension name and value pairs match the row's dimension name and value + /// pair. #[prost(message, repeated, tag="2")] pub pivot_selections: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `PivotOrderBy`. pub mod pivot_order_by { - /// A pair of dimension names and values. Rows with this dimension pivot pair - /// are ordered by the metric's value. + /// A pair of dimension names and values. Rows with this dimension pivot pair + /// are ordered by the metric's value. /// - /// For example if pivots = {{"browser", "Chrome"}} and - /// metric_name = "Sessions", - /// then the rows will be sorted based on Sessions in Chrome. + /// For example if pivots = {{"browser", "Chrome"}} and + /// metric_name = "Sessions", + /// then the rows will be sorted based on Sessions in Chrome. /// /// ---------|----------|----------------|----------|---------------- /// | Chrome | Chrome | Safari | Safari @@ -443,183 +443,183 @@ pub mod order_by { /// ---------|----------|----------------|----------|---------------- #[derive(Clone, PartialEq, ::prost::Message)] pub struct PivotSelection { - /// Must be a dimension name from the request. + /// Must be a dimension name from the request. #[prost(string, tag="1")] pub dimension_name: ::prost::alloc::string::String, - /// Order by only when the named dimension is this value. + /// Order by only when the named dimension is this value. #[prost(string, tag="2")] pub dimension_value: ::prost::alloc::string::String, } } - /// Specify one type of order by for `OrderBy`. + /// Specify one type of order by for `OrderBy`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneOrderBy { - /// Sorts results by a metric's values. + /// Sorts results by a metric's values. #[prost(message, tag="1")] Metric(MetricOrderBy), - /// Sorts results by a dimension's values. + /// Sorts results by a dimension's values. #[prost(message, tag="2")] Dimension(DimensionOrderBy), - /// Sorts results by a metric's values within a pivot column group. + /// Sorts results by a metric's values within a pivot column group. #[prost(message, tag="3")] Pivot(PivotOrderBy), } } -/// Describes the visible dimension columns and rows in the report response. +/// Describes the visible dimension columns and rows in the report response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Pivot { - /// Dimension names for visible columns in the report response. Including - /// "dateRange" produces a date range column; for each row in the response, - /// dimension values in the date range column will indicate the corresponding - /// date range from the request. + /// Dimension names for visible columns in the report response. Including + /// "dateRange" produces a date range column; for each row in the response, + /// dimension values in the date range column will indicate the corresponding + /// date range from the request. #[prost(string, repeated, tag="1")] pub field_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies how dimensions are ordered in the pivot. In the first Pivot, the - /// OrderBys determine Row and PivotDimensionHeader ordering; in subsequent - /// Pivots, the OrderBys determine only PivotDimensionHeader ordering. - /// Dimensions specified in these OrderBys must be a subset of - /// Pivot.field_names. + /// Specifies how dimensions are ordered in the pivot. In the first Pivot, the + /// OrderBys determine Row and PivotDimensionHeader ordering; in subsequent + /// Pivots, the OrderBys determine only PivotDimensionHeader ordering. + /// Dimensions specified in these OrderBys must be a subset of + /// Pivot.field_names. #[prost(message, repeated, tag="2")] pub order_bys: ::prost::alloc::vec::Vec, - /// The row count of the start row. The first row is counted as row 0. + /// The row count of the start row. The first row is counted as row 0. #[prost(int64, tag="3")] pub offset: i64, - /// The number of unique combinations of dimension values to return in this - /// pivot. The `limit` parameter is required. A `limit` of 10,000 is common for - /// single pivot requests. + /// The number of unique combinations of dimension values to return in this + /// pivot. The `limit` parameter is required. A `limit` of 10,000 is common for + /// single pivot requests. /// - /// The product of the `limit` for each `pivot` in a `RunPivotReportRequest` - /// must not exceed 100,000. For example, a two pivot request with `limit: - /// 1000` in each pivot will fail because the product is `1,000,000`. + /// The product of the `limit` for each `pivot` in a `RunPivotReportRequest` + /// must not exceed 100,000. For example, a two pivot request with `limit: + /// 1000` in each pivot will fail because the product is `1,000,000`. #[prost(int64, tag="4")] pub limit: i64, - /// Aggregate the metrics by dimensions in this pivot using the specified - /// metric_aggregations. + /// Aggregate the metrics by dimensions in this pivot using the specified + /// metric_aggregations. #[prost(enumeration="MetricAggregation", repeated, tag="5")] pub metric_aggregations: ::prost::alloc::vec::Vec, } -/// The specification of cohorts for a cohort report. +/// The specification of cohorts for a cohort report. /// -/// Cohort reports create a time series of user retention for the cohort. For -/// example, you could select the cohort of users that were acquired in the first -/// week of September and follow that cohort for the next six weeks. Selecting -/// the users acquired in the first week of September cohort is specified in the -/// `cohort` object. Following that cohort for the next six weeks is specified in -/// the `cohortsRange` object. +/// Cohort reports create a time series of user retention for the cohort. For +/// example, you could select the cohort of users that were acquired in the first +/// week of September and follow that cohort for the next six weeks. Selecting +/// the users acquired in the first week of September cohort is specified in the +/// `cohort` object. Following that cohort for the next six weeks is specified in +/// the `cohortsRange` object. /// -/// For examples, see [Cohort Report -/// Examples](). +/// For examples, see [Cohort Report +/// Examples](). /// -/// The report response could show a weekly time series where say your app has -/// retained 60% of this cohort after three weeks and 25% of this cohort after -/// six weeks. These two percentages can be calculated by the metric -/// `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report. +/// The report response could show a weekly time series where say your app has +/// retained 60% of this cohort after three weeks and 25% of this cohort after +/// six weeks. These two percentages can be calculated by the metric +/// `cohortActiveUsers/cohortTotalUsers` and will be separate rows in the report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CohortSpec { - /// Defines the selection criteria to group users into cohorts. + /// Defines the selection criteria to group users into cohorts. /// - /// Most cohort reports define only a single cohort. If multiple cohorts are - /// specified, each cohort can be recognized in the report by their name. + /// Most cohort reports define only a single cohort. If multiple cohorts are + /// specified, each cohort can be recognized in the report by their name. #[prost(message, repeated, tag="1")] pub cohorts: ::prost::alloc::vec::Vec, - /// Cohort reports follow cohorts over an extended reporting date range. This - /// range specifies an offset duration to follow the cohorts over. + /// Cohort reports follow cohorts over an extended reporting date range. This + /// range specifies an offset duration to follow the cohorts over. #[prost(message, optional, tag="2")] pub cohorts_range: ::core::option::Option, - /// Optional settings for a cohort report. + /// Optional settings for a cohort report. #[prost(message, optional, tag="3")] pub cohort_report_settings: ::core::option::Option, } -/// Defines a cohort selection criteria. A cohort is a group of users who share -/// a common characteristic. For example, users with the same `firstSessionDate` -/// belong to the same cohort. +/// Defines a cohort selection criteria. A cohort is a group of users who share +/// a common characteristic. For example, users with the same `firstSessionDate` +/// belong to the same cohort. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cohort { - /// Assigns a name to this cohort. The dimension `cohort` is valued to this - /// name in a report response. If set, cannot begin with `cohort_` or - /// `RESERVED_`. If not set, cohorts are named by their zero based index - /// `cohort_0`, `cohort_1`, etc. + /// Assigns a name to this cohort. The dimension `cohort` is valued to this + /// name in a report response. If set, cannot begin with `cohort_` or + /// `RESERVED_`. If not set, cohorts are named by their zero based index + /// `cohort_0`, `cohort_1`, etc. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Dimension used by the cohort. Required and only supports - /// `firstSessionDate`. + /// Dimension used by the cohort. Required and only supports + /// `firstSessionDate`. #[prost(string, tag="2")] pub dimension: ::prost::alloc::string::String, - /// The cohort selects users whose first touch date is between start date and - /// end date defined in the `dateRange`. This `dateRange` does not specify the - /// full date range of event data that is present in a cohort report. In a - /// cohort report, this `dateRange` is extended by the granularity and offset - /// present in the `cohortsRange`; event data for the extended reporting date - /// range is present in a cohort report. + /// The cohort selects users whose first touch date is between start date and + /// end date defined in the `dateRange`. This `dateRange` does not specify the + /// full date range of event data that is present in a cohort report. In a + /// cohort report, this `dateRange` is extended by the granularity and offset + /// present in the `cohortsRange`; event data for the extended reporting date + /// range is present in a cohort report. /// - /// In a cohort request, this `dateRange` is required and the `dateRanges` in - /// the `RunReportRequest` or `RunPivotReportRequest` must be unspecified. + /// In a cohort request, this `dateRange` is required and the `dateRanges` in + /// the `RunReportRequest` or `RunPivotReportRequest` must be unspecified. /// - /// This `dateRange` should generally be aligned with the cohort's granularity. - /// If `CohortsRange` uses daily granularity, this `dateRange` can be a single - /// day. If `CohortsRange` uses weekly granularity, this `dateRange` can be - /// aligned to a week boundary, starting at Sunday and ending Saturday. If - /// `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to - /// a month, starting at the first and ending on the last day of the month. + /// This `dateRange` should generally be aligned with the cohort's granularity. + /// If `CohortsRange` uses daily granularity, this `dateRange` can be a single + /// day. If `CohortsRange` uses weekly granularity, this `dateRange` can be + /// aligned to a week boundary, starting at Sunday and ending Saturday. If + /// `CohortsRange` uses monthly granularity, this `dateRange` can be aligned to + /// a month, starting at the first and ending on the last day of the month. #[prost(message, optional, tag="3")] pub date_range: ::core::option::Option, } -/// Configures the extended reporting date range for a cohort report. Specifies -/// an offset duration to follow the cohorts over. +/// Configures the extended reporting date range for a cohort report. Specifies +/// an offset duration to follow the cohorts over. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CohortsRange { - /// Required. The granularity used to interpret the `startOffset` and - /// `endOffset` for the extended reporting date range for a cohort report. + /// Required. The granularity used to interpret the `startOffset` and + /// `endOffset` for the extended reporting date range for a cohort report. #[prost(enumeration="cohorts_range::Granularity", tag="1")] pub granularity: i32, - /// `startOffset` specifies the start date of the extended reporting date range - /// for a cohort report. `startOffset` is commonly set to 0 so that reports - /// contain data from the acquisition of the cohort forward. + /// `startOffset` specifies the start date of the extended reporting date range + /// for a cohort report. `startOffset` is commonly set to 0 so that reports + /// contain data from the acquisition of the cohort forward. /// - /// If `granularity` is `DAILY`, the `startDate` of the extended reporting date - /// range is `startDate` of the cohort plus `startOffset` days. + /// If `granularity` is `DAILY`, the `startDate` of the extended reporting date + /// range is `startDate` of the cohort plus `startOffset` days. /// - /// If `granularity` is `WEEKLY`, the `startDate` of the extended reporting - /// date range is `startDate` of the cohort plus `startOffset * 7` days. + /// If `granularity` is `WEEKLY`, the `startDate` of the extended reporting + /// date range is `startDate` of the cohort plus `startOffset * 7` days. /// - /// If `granularity` is `MONTHLY`, the `startDate` of the extended reporting - /// date range is `startDate` of the cohort plus `startOffset * 30` days. + /// If `granularity` is `MONTHLY`, the `startDate` of the extended reporting + /// date range is `startDate` of the cohort plus `startOffset * 30` days. #[prost(int32, tag="2")] pub start_offset: i32, - /// Required. `endOffset` specifies the end date of the extended reporting date - /// range for a cohort report. `endOffset` can be any positive integer but is - /// commonly set to 5 to 10 so that reports contain data on the cohort for the - /// next several granularity time periods. + /// Required. `endOffset` specifies the end date of the extended reporting date + /// range for a cohort report. `endOffset` can be any positive integer but is + /// commonly set to 5 to 10 so that reports contain data on the cohort for the + /// next several granularity time periods. /// - /// If `granularity` is `DAILY`, the `endDate` of the extended reporting date - /// range is `endDate` of the cohort plus `endOffset` days. + /// If `granularity` is `DAILY`, the `endDate` of the extended reporting date + /// range is `endDate` of the cohort plus `endOffset` days. /// - /// If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date - /// range is `endDate` of the cohort plus `endOffset * 7` days. + /// If `granularity` is `WEEKLY`, the `endDate` of the extended reporting date + /// range is `endDate` of the cohort plus `endOffset * 7` days. /// - /// If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date - /// range is `endDate` of the cohort plus `endOffset * 30` days. + /// If `granularity` is `MONTHLY`, the `endDate` of the extended reporting date + /// range is `endDate` of the cohort plus `endOffset * 30` days. #[prost(int32, tag="3")] pub end_offset: i32, } /// Nested message and enum types in `CohortsRange`. pub mod cohorts_range { - /// The granularity used to interpret the `startOffset` and `endOffset` for the - /// extended reporting date range for a cohort report. + /// The granularity used to interpret the `startOffset` and `endOffset` for the + /// extended reporting date range for a cohort report. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Granularity { - /// Should never be specified. + /// Should never be specified. Unspecified = 0, - /// Daily granularity. Commonly used if the cohort's `dateRange` is a single - /// day and the request contains `cohortNthDay`. + /// Daily granularity. Commonly used if the cohort's `dateRange` is a single + /// day and the request contains `cohortNthDay`. Daily = 1, - /// Weekly granularity. Commonly used if the cohort's `dateRange` is a week - /// in duration (starting on Sunday and ending on Saturday) and the request - /// contains `cohortNthWeek`. + /// Weekly granularity. Commonly used if the cohort's `dateRange` is a week + /// in duration (starting on Sunday and ending on Saturday) and the request + /// contains `cohortNthWeek`. Weekly = 2, - /// Monthly granularity. Commonly used if the cohort's `dateRange` is a month - /// in duration and the request contains `cohortNthMonth`. + /// Monthly granularity. Commonly used if the cohort's `dateRange` is a month + /// in duration and the request contains `cohortNthMonth`. Monthly = 3, } impl Granularity { @@ -637,349 +637,349 @@ pub mod cohorts_range { } } } -/// Optional settings of a cohort report. +/// Optional settings of a cohort report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CohortReportSettings { - /// If true, accumulates the result from first touch day to the end day. Not - /// supported in `RunReportRequest`. + /// If true, accumulates the result from first touch day to the end day. Not + /// supported in `RunReportRequest`. #[prost(bool, tag="1")] pub accumulate: bool, } -/// Response's metadata carrying additional information about the report content. +/// Response's metadata carrying additional information about the report content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseMetaData { - /// If true, indicates some buckets of dimension combinations are rolled into - /// "(other)" row. This can happen for high cardinality reports. + /// If true, indicates some buckets of dimension combinations are rolled into + /// "(other)" row. This can happen for high cardinality reports. #[prost(bool, tag="3")] pub data_loss_from_other_row: bool, - /// Describes the schema restrictions actively enforced in creating this - /// report. To learn more, see [Access and data-restriction - /// management](). + /// Describes the schema restrictions actively enforced in creating this + /// report. To learn more, see [Access and data-restriction + /// management](). #[prost(message, optional, tag="4")] pub schema_restriction_response: ::core::option::Option, - /// The currency code used in this report. Intended to be used in formatting - /// currency metrics like `purchaseRevenue` for visualization. If currency_code - /// was specified in the request, this response parameter will echo the request - /// parameter; otherwise, this response parameter is the property's current - /// currency_code. + /// The currency code used in this report. Intended to be used in formatting + /// currency metrics like `purchaseRevenue` for visualization. If currency_code + /// was specified in the request, this response parameter will echo the request + /// parameter; otherwise, this response parameter is the property's current + /// currency_code. /// - /// Currency codes are string encodings of currency types from the ISO 4217 - /// standard (); for example "USD", - /// "EUR", "JPY". To learn more, see - /// + /// Currency codes are string encodings of currency types from the ISO 4217 + /// standard (); for example "USD", + /// "EUR", "JPY". To learn more, see + /// #[prost(string, optional, tag="5")] pub currency_code: ::core::option::Option<::prost::alloc::string::String>, - /// The property's current timezone. Intended to be used to interpret - /// time-based dimensions like `hour` and `minute`. Formatted as strings from - /// the IANA Time Zone database (); for example - /// "America/New_York" or "Asia/Tokyo". + /// The property's current timezone. Intended to be used to interpret + /// time-based dimensions like `hour` and `minute`. Formatted as strings from + /// the IANA Time Zone database (); for example + /// "America/New_York" or "Asia/Tokyo". #[prost(string, optional, tag="6")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// If empty reason is specified, the report is empty for this reason. + /// If empty reason is specified, the report is empty for this reason. #[prost(string, optional, tag="7")] pub empty_reason: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ResponseMetaData`. pub mod response_meta_data { - /// The schema restrictions actively enforced in creating this report. To learn - /// more, see [Access and data-restriction - /// management](). + /// The schema restrictions actively enforced in creating this report. To learn + /// more, see [Access and data-restriction + /// management](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct SchemaRestrictionResponse { - /// All restrictions actively enforced in creating the report. For example, - /// `purchaseRevenue` always has the restriction type `REVENUE_DATA`. - /// However, this active response restriction is only populated if the user's - /// custom role disallows access to `REVENUE_DATA`. + /// All restrictions actively enforced in creating the report. For example, + /// `purchaseRevenue` always has the restriction type `REVENUE_DATA`. + /// However, this active response restriction is only populated if the user's + /// custom role disallows access to `REVENUE_DATA`. #[prost(message, repeated, tag="1")] pub active_metric_restrictions: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SchemaRestrictionResponse`. pub mod schema_restriction_response { - /// A metric actively restricted in creating the report. + /// A metric actively restricted in creating the report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActiveMetricRestriction { - /// The name of the restricted metric. + /// The name of the restricted metric. #[prost(string, optional, tag="1")] pub metric_name: ::core::option::Option<::prost::alloc::string::String>, - /// The reason for this metric's restriction. + /// The reason for this metric's restriction. #[prost(enumeration="super::super::RestrictedMetricType", repeated, tag="2")] pub restricted_metric_types: ::prost::alloc::vec::Vec, } } } -/// Describes a dimension column in the report. Dimensions requested in a report -/// produce column entries within rows and DimensionHeaders. However, dimensions -/// used exclusively within filters or expressions do not produce columns in a -/// report; correspondingly, those dimensions do not produce headers. +/// Describes a dimension column in the report. Dimensions requested in a report +/// produce column entries within rows and DimensionHeaders. However, dimensions +/// used exclusively within filters or expressions do not produce columns in a +/// report; correspondingly, those dimensions do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionHeader { - /// The dimension's name. + /// The dimension's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Describes a metric column in the report. Visible metrics requested in a -/// report produce column entries within rows and MetricHeaders. However, -/// metrics used exclusively within filters or expressions do not produce columns -/// in a report; correspondingly, those metrics do not produce headers. +/// Describes a metric column in the report. Visible metrics requested in a +/// report produce column entries within rows and MetricHeaders. However, +/// metrics used exclusively within filters or expressions do not produce columns +/// in a report; correspondingly, those metrics do not produce headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricHeader { - /// The metric's name. + /// The metric's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The metric's data type. + /// The metric's data type. #[prost(enumeration="MetricType", tag="2")] pub r#type: i32, } -/// Dimensions' values in a single pivot. +/// Dimensions' values in a single pivot. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PivotHeader { - /// The size is the same as the cardinality of the corresponding dimension - /// combinations. + /// The size is the same as the cardinality of the corresponding dimension + /// combinations. #[prost(message, repeated, tag="1")] pub pivot_dimension_headers: ::prost::alloc::vec::Vec, - /// The cardinality of the pivot. The total number of rows for this pivot's - /// fields regardless of how the parameters `offset` and `limit` are specified - /// in the request. + /// The cardinality of the pivot. The total number of rows for this pivot's + /// fields regardless of how the parameters `offset` and `limit` are specified + /// in the request. #[prost(int32, tag="2")] pub row_count: i32, } -/// Summarizes dimension values from a row for this pivot. +/// Summarizes dimension values from a row for this pivot. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PivotDimensionHeader { - /// Values of multiple dimensions in a pivot. + /// Values of multiple dimensions in a pivot. #[prost(message, repeated, tag="1")] pub dimension_values: ::prost::alloc::vec::Vec, } -/// Report data for each row. -/// For example if RunReportRequest contains: +/// Report data for each row. +/// For example if RunReportRequest contains: /// -/// ```none -/// "dimensions": [ +/// ```none +/// "dimensions": [ /// { /// "name": "eventName" /// }, /// { /// "name": "countryId" /// } -/// ], -/// "metrics": [ +/// ], +/// "metrics": [ /// { /// "name": "eventCount" /// } -/// ] -/// ``` +/// ] +/// ``` /// -/// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and -/// 15 as the eventCount, would be: +/// One row with 'in_app_purchase' as the eventName, 'JP' as the countryId, and +/// 15 as the eventCount, would be: /// -/// ```none -/// "dimensionValues": [ +/// ```none +/// "dimensionValues": [ /// { /// "value": "in_app_purchase" /// }, /// { /// "value": "JP" /// } -/// ], -/// "metricValues": [ +/// ], +/// "metricValues": [ /// { /// "value": "15" /// } -/// ] -/// ``` +/// ] +/// ``` #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// List of requested dimension values. In a PivotReport, dimension_values - /// are only listed for dimensions included in a pivot. + /// List of requested dimension values. In a PivotReport, dimension_values + /// are only listed for dimensions included in a pivot. #[prost(message, repeated, tag="1")] pub dimension_values: ::prost::alloc::vec::Vec, - /// List of requested visible metric values. + /// List of requested visible metric values. #[prost(message, repeated, tag="2")] pub metric_values: ::prost::alloc::vec::Vec, } -/// The value of a dimension. +/// The value of a dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionValue { - /// One kind of dimension value + /// One kind of dimension value #[prost(oneof="dimension_value::OneValue", tags="1")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `DimensionValue`. pub mod dimension_value { - /// One kind of dimension value + /// One kind of dimension value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Value as a string if the dimension type is a string. + /// Value as a string if the dimension type is a string. #[prost(string, tag="1")] Value(::prost::alloc::string::String), } } -/// The value of a metric. +/// The value of a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricValue { - /// One of metric value + /// One of metric value #[prost(oneof="metric_value::OneValue", tags="4")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `MetricValue`. pub mod metric_value { - /// One of metric value + /// One of metric value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Measurement value. See MetricHeader for type. + /// Measurement value. See MetricHeader for type. #[prost(string, tag="4")] Value(::prost::alloc::string::String), } } -/// To represent a number. +/// To represent a number. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericValue { - /// One of a numeric value + /// One of a numeric value #[prost(oneof="numeric_value::OneValue", tags="1, 2")] pub one_value: ::core::option::Option, } /// Nested message and enum types in `NumericValue`. pub mod numeric_value { - /// One of a numeric value + /// One of a numeric value #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneValue { - /// Integer value + /// Integer value #[prost(int64, tag="1")] Int64Value(i64), - /// Double value + /// Double value #[prost(double, tag="2")] DoubleValue(f64), } } -/// Current state of all quotas for this Analytics Property. If any quota for a -/// property is exhausted, all requests to that property will return Resource -/// Exhausted errors. +/// Current state of all quotas for this Analytics Property. If any quota for a +/// property is exhausted, all requests to that property will return Resource +/// Exhausted errors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyQuota { - /// Standard Analytics Properties can use up to 25,000 tokens per day; - /// Analytics 360 Properties can use 250,000 tokens per day. Most requests - /// consume fewer than 10 tokens. + /// Standard Analytics Properties can use up to 25,000 tokens per day; + /// Analytics 360 Properties can use 250,000 tokens per day. Most requests + /// consume fewer than 10 tokens. #[prost(message, optional, tag="1")] pub tokens_per_day: ::core::option::Option, - /// Standard Analytics Properties can use up to 5,000 tokens per hour; - /// Analytics 360 Properties can use 50,000 tokens per hour. An API request - /// consumes a single number of tokens, and that number is deducted from both - /// the hourly and daily quotas. + /// Standard Analytics Properties can use up to 5,000 tokens per hour; + /// Analytics 360 Properties can use 50,000 tokens per hour. An API request + /// consumes a single number of tokens, and that number is deducted from both + /// the hourly and daily quotas. #[prost(message, optional, tag="2")] pub tokens_per_hour: ::core::option::Option, - /// Standard Analytics Properties can send up to 10 concurrent requests; - /// Analytics 360 Properties can use up to 50 concurrent requests. + /// Standard Analytics Properties can send up to 10 concurrent requests; + /// Analytics 360 Properties can use up to 50 concurrent requests. #[prost(message, optional, tag="3")] pub concurrent_requests: ::core::option::Option, - /// Standard Analytics Properties and cloud project pairs can have up to 10 - /// server errors per hour; Analytics 360 Properties and cloud project pairs - /// can have up to 50 server errors per hour. + /// Standard Analytics Properties and cloud project pairs can have up to 10 + /// server errors per hour; Analytics 360 Properties and cloud project pairs + /// can have up to 50 server errors per hour. #[prost(message, optional, tag="4")] pub server_errors_per_project_per_hour: ::core::option::Option, - /// Analytics Properties can send up to 120 requests with potentially - /// thresholded dimensions per hour. In a batch request, each report request - /// is individually counted for this quota if the request contains potentially - /// thresholded dimensions. + /// Analytics Properties can send up to 120 requests with potentially + /// thresholded dimensions per hour. In a batch request, each report request + /// is individually counted for this quota if the request contains potentially + /// thresholded dimensions. #[prost(message, optional, tag="5")] pub potentially_thresholded_requests_per_hour: ::core::option::Option, } -/// Current state for a particular quota group. +/// Current state for a particular quota group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaStatus { - /// Quota consumed by this request. + /// Quota consumed by this request. #[prost(int32, tag="1")] pub consumed: i32, - /// Quota remaining after this request. + /// Quota remaining after this request. #[prost(int32, tag="2")] pub remaining: i32, } -/// Explains a dimension. +/// Explains a dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionMetadata { - /// This dimension's name. Useable in \[Dimension\](#Dimension)'s `name`. For - /// example, `eventName`. + /// This dimension's name. Useable in \[Dimension\](#Dimension)'s `name`. For + /// example, `eventName`. #[prost(string, tag="1")] pub api_name: ::prost::alloc::string::String, - /// This dimension's name within the Google Analytics user interface. For - /// example, `Event name`. + /// This dimension's name within the Google Analytics user interface. For + /// example, `Event name`. #[prost(string, tag="2")] pub ui_name: ::prost::alloc::string::String, - /// Description of how this dimension is used and calculated. + /// Description of how this dimension is used and calculated. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Still usable but deprecated names for this dimension. If populated, this - /// dimension is available by either `apiName` or one of `deprecatedApiNames` - /// for a period of time. After the deprecation period, the dimension will be - /// available only by `apiName`. + /// Still usable but deprecated names for this dimension. If populated, this + /// dimension is available by either `apiName` or one of `deprecatedApiNames` + /// for a period of time. After the deprecation period, the dimension will be + /// available only by `apiName`. #[prost(string, repeated, tag="4")] pub deprecated_api_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the dimension is a custom dimension for this property. + /// True if the dimension is a custom dimension for this property. #[prost(bool, tag="5")] pub custom_definition: bool, - /// The display name of the category that this dimension belongs to. Similar - /// dimensions and metrics are categorized together. + /// The display name of the category that this dimension belongs to. Similar + /// dimensions and metrics are categorized together. #[prost(string, tag="7")] pub category: ::prost::alloc::string::String, } -/// Explains a metric. +/// Explains a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricMetadata { - /// A metric name. Useable in \[Metric\](#Metric)'s `name`. For example, - /// `eventCount`. + /// A metric name. Useable in \[Metric\](#Metric)'s `name`. For example, + /// `eventCount`. #[prost(string, tag="1")] pub api_name: ::prost::alloc::string::String, - /// This metric's name within the Google Analytics user interface. For example, - /// `Event count`. + /// This metric's name within the Google Analytics user interface. For example, + /// `Event count`. #[prost(string, tag="2")] pub ui_name: ::prost::alloc::string::String, - /// Description of how this metric is used and calculated. + /// Description of how this metric is used and calculated. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Still usable but deprecated names for this metric. If populated, this - /// metric is available by either `apiName` or one of `deprecatedApiNames` - /// for a period of time. After the deprecation period, the metric will be - /// available only by `apiName`. + /// Still usable but deprecated names for this metric. If populated, this + /// metric is available by either `apiName` or one of `deprecatedApiNames` + /// for a period of time. After the deprecation period, the metric will be + /// available only by `apiName`. #[prost(string, repeated, tag="4")] pub deprecated_api_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The type of this metric. + /// The type of this metric. #[prost(enumeration="MetricType", tag="5")] pub r#type: i32, - /// The mathematical expression for this derived metric. Can be used in - /// \[Metric\](#Metric)'s `expression` field for equivalent reports. Most metrics - /// are not expressions, and for non-expressions, this field is empty. + /// The mathematical expression for this derived metric. Can be used in + /// \[Metric\](#Metric)'s `expression` field for equivalent reports. Most metrics + /// are not expressions, and for non-expressions, this field is empty. #[prost(string, tag="6")] pub expression: ::prost::alloc::string::String, - /// True if the metric is a custom metric for this property. + /// True if the metric is a custom metric for this property. #[prost(bool, tag="7")] pub custom_definition: bool, - /// If reasons are specified, your access is blocked to this metric for this - /// property. API requests from you to this property for this metric will - /// succeed; however, the report will contain only zeros for this metric. API - /// requests with metric filters on blocked metrics will fail. If reasons are - /// empty, you have access to this metric. + /// If reasons are specified, your access is blocked to this metric for this + /// property. API requests from you to this property for this metric will + /// succeed; however, the report will contain only zeros for this metric. API + /// requests with metric filters on blocked metrics will fail. If reasons are + /// empty, you have access to this metric. /// - /// To learn more, see [Access and data-restriction - /// management](). + /// To learn more, see [Access and data-restriction + /// management](). #[prost(enumeration="metric_metadata::BlockedReason", repeated, tag="8")] pub blocked_reasons: ::prost::alloc::vec::Vec, - /// The display name of the category that this metrics belongs to. Similar - /// dimensions and metrics are categorized together. + /// The display name of the category that this metrics belongs to. Similar + /// dimensions and metrics are categorized together. #[prost(string, tag="10")] pub category: ::prost::alloc::string::String, } /// Nested message and enum types in `MetricMetadata`. pub mod metric_metadata { - /// Justifications for why this metric is blocked. + /// Justifications for why this metric is blocked. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BlockedReason { - /// Will never be specified in API response. + /// Will never be specified in API response. Unspecified = 0, - /// If present, your access is blocked to revenue related metrics for this - /// property, and this metric is revenue related. + /// If present, your access is blocked to revenue related metrics for this + /// property, and this metric is revenue related. NoRevenueMetrics = 1, - /// If present, your access is blocked to cost related metrics for this - /// property, and this metric is cost related. + /// If present, your access is blocked to cost related metrics for this + /// property, and this metric is cost related. NoCostMetrics = 2, } impl BlockedReason { @@ -996,45 +996,45 @@ pub mod metric_metadata { } } } -/// The compatibility for a single dimension. +/// The compatibility for a single dimension. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DimensionCompatibility { - /// The dimension metadata contains the API name for this compatibility - /// information. The dimension metadata also contains other helpful information - /// like the UI name and description. + /// The dimension metadata contains the API name for this compatibility + /// information. The dimension metadata also contains other helpful information + /// like the UI name and description. #[prost(message, optional, tag="1")] pub dimension_metadata: ::core::option::Option, - /// The compatibility of this dimension. If the compatibility is COMPATIBLE, - /// this dimension can be successfully added to the report. + /// The compatibility of this dimension. If the compatibility is COMPATIBLE, + /// this dimension can be successfully added to the report. #[prost(enumeration="Compatibility", optional, tag="2")] pub compatibility: ::core::option::Option, } -/// The compatibility for a single metric. +/// The compatibility for a single metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricCompatibility { - /// The metric metadata contains the API name for this compatibility - /// information. The metric metadata also contains other helpful information - /// like the UI name and description. + /// The metric metadata contains the API name for this compatibility + /// information. The metric metadata also contains other helpful information + /// like the UI name and description. #[prost(message, optional, tag="1")] pub metric_metadata: ::core::option::Option, - /// The compatibility of this metric. If the compatibility is COMPATIBLE, - /// this metric can be successfully added to the report. + /// The compatibility of this metric. If the compatibility is COMPATIBLE, + /// this metric can be successfully added to the report. #[prost(enumeration="Compatibility", optional, tag="2")] pub compatibility: ::core::option::Option, } -/// Represents aggregation of metrics. +/// Represents aggregation of metrics. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricAggregation { - /// Unspecified operator. + /// Unspecified operator. Unspecified = 0, - /// SUM operator. + /// SUM operator. Total = 1, - /// Minimum operator. + /// Minimum operator. Minimum = 5, - /// Maximum operator. + /// Maximum operator. Maximum = 6, - /// Count operator. + /// Count operator. Count = 4, } impl MetricAggregation { @@ -1052,35 +1052,35 @@ impl MetricAggregation { } } } -/// A metric's value type. +/// A metric's value type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Integer type. + /// Integer type. TypeInteger = 1, - /// Floating point type. + /// Floating point type. TypeFloat = 2, - /// A duration of seconds; a special floating point type. + /// A duration of seconds; a special floating point type. TypeSeconds = 4, - /// A duration in milliseconds; a special floating point type. + /// A duration in milliseconds; a special floating point type. TypeMilliseconds = 5, - /// A duration in minutes; a special floating point type. + /// A duration in minutes; a special floating point type. TypeMinutes = 6, - /// A duration in hours; a special floating point type. + /// A duration in hours; a special floating point type. TypeHours = 7, - /// A custom metric of standard type; a special floating point type. + /// A custom metric of standard type; a special floating point type. TypeStandard = 8, - /// An amount of money; a special floating point type. + /// An amount of money; a special floating point type. TypeCurrency = 9, - /// A length in feet; a special floating point type. + /// A length in feet; a special floating point type. TypeFeet = 10, - /// A length in miles; a special floating point type. + /// A length in miles; a special floating point type. TypeMiles = 11, - /// A length in meters; a special floating point type. + /// A length in meters; a special floating point type. TypeMeters = 12, - /// A length in kilometers; a special floating point type. + /// A length in kilometers; a special floating point type. TypeKilometers = 13, } impl MetricType { @@ -1106,16 +1106,16 @@ impl MetricType { } } } -/// Categories of data that you may be restricted from viewing on certain GA4 -/// properties. +/// Categories of data that you may be restricted from viewing on certain GA4 +/// properties. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestrictedMetricType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Cost metrics such as `adCost`. + /// Cost metrics such as `adCost`. CostData = 1, - /// Revenue metrics such as `purchaseRevenue`. + /// Revenue metrics such as `purchaseRevenue`. RevenueData = 2, } impl RestrictedMetricType { @@ -1131,17 +1131,17 @@ impl RestrictedMetricType { } } } -/// The compatibility types for a single dimension or metric. +/// The compatibility types for a single dimension or metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Compatibility { - /// Unspecified compatibility. + /// Unspecified compatibility. Unspecified = 0, - /// The dimension or metric is compatible. This dimension or metric can be - /// successfully added to a report. + /// The dimension or metric is compatible. This dimension or metric can be + /// successfully added to a report. Compatible = 1, - /// The dimension or metric is incompatible. This dimension or metric cannot be - /// successfully added to a report. + /// The dimension or metric is incompatible. This dimension or metric cannot be + /// successfully added to a report. Incompatible = 2, } impl Compatibility { @@ -1157,268 +1157,268 @@ impl Compatibility { } } } -/// The request for compatibility information for a report's dimensions and -/// metrics. Check compatibility provides a preview of the compatibility of a -/// report; fields shared with the `runReport` request should be the same values -/// as in your `runReport` request. +/// The request for compatibility information for a report's dimensions and +/// metrics. Check compatibility provides a preview of the compatibility of a +/// report; fields shared with the `runReport` request should be the same values +/// as in your `runReport` request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckCompatibilityRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. To - /// learn more, see [where to find your Property - /// ID](). - /// `property` should be the same value as in your `runReport` request. + /// A Google Analytics GA4 property identifier whose events are tracked. To + /// learn more, see [where to find your Property + /// ID](). + /// `property` should be the same value as in your `runReport` request. /// - /// Example: properties/1234 + /// Example: properties/1234 /// - /// Set the Property ID to 0 for compatibility checking on dimensions and - /// metrics common to all properties. In this special mode, this method will - /// not return custom dimensions and metrics. + /// Set the Property ID to 0 for compatibility checking on dimensions and + /// metrics common to all properties. In this special mode, this method will + /// not return custom dimensions and metrics. #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// The dimensions in this report. `dimensions` should be the same value as in - /// your `runReport` request. + /// The dimensions in this report. `dimensions` should be the same value as in + /// your `runReport` request. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metrics in this report. `metrics` should be the same value as in your - /// `runReport` request. + /// The metrics in this report. `metrics` should be the same value as in your + /// `runReport` request. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// The filter clause of dimensions. `dimensionFilter` should be the same value - /// as in your `runReport` request. + /// The filter clause of dimensions. `dimensionFilter` should be the same value + /// as in your `runReport` request. #[prost(message, optional, tag="4")] pub dimension_filter: ::core::option::Option, - /// The filter clause of metrics. `metricFilter` should be the same value as in - /// your `runReport` request + /// The filter clause of metrics. `metricFilter` should be the same value as in + /// your `runReport` request #[prost(message, optional, tag="5")] pub metric_filter: ::core::option::Option, - /// Filters the dimensions and metrics in the response to just this - /// compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` - /// to only return compatible dimensions & metrics. + /// Filters the dimensions and metrics in the response to just this + /// compatibility. Commonly used as `”compatibilityFilter”: “COMPATIBLE”` + /// to only return compatible dimensions & metrics. #[prost(enumeration="Compatibility", tag="6")] pub compatibility_filter: i32, } -/// The compatibility response with the compatibility of each dimension & metric. +/// The compatibility response with the compatibility of each dimension & metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckCompatibilityResponse { - /// The compatibility of each dimension. + /// The compatibility of each dimension. #[prost(message, repeated, tag="1")] pub dimension_compatibilities: ::prost::alloc::vec::Vec, - /// The compatibility of each metric. + /// The compatibility of each metric. #[prost(message, repeated, tag="2")] pub metric_compatibilities: ::prost::alloc::vec::Vec, } -/// The dimensions and metrics currently accepted in reporting methods. +/// The dimensions and metrics currently accepted in reporting methods. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metadata { - /// Resource name of this metadata. + /// Resource name of this metadata. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// The dimension descriptions. + /// The dimension descriptions. #[prost(message, repeated, tag="1")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metric descriptions. + /// The metric descriptions. #[prost(message, repeated, tag="2")] pub metrics: ::prost::alloc::vec::Vec, } -/// The request to generate a report. +/// The request to generate a report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunReportRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). - /// Within a batch request, this property should either be unspecified or - /// consistent with the batch-level property. + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). + /// Within a batch request, this property should either be unspecified or + /// consistent with the batch-level property. /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// The dimensions requested and displayed. + /// The dimensions requested and displayed. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metrics requested and displayed. + /// The metrics requested and displayed. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// Date ranges of data to read. If multiple date ranges are requested, each - /// response row will contain a zero based date range index. If two date - /// ranges overlap, the event data for the overlapping days is included in the - /// response rows for both date ranges. In a cohort request, this `dateRanges` - /// must be unspecified. + /// Date ranges of data to read. If multiple date ranges are requested, each + /// response row will contain a zero based date range index. If two date + /// ranges overlap, the event data for the overlapping days is included in the + /// response rows for both date ranges. In a cohort request, this `dateRanges` + /// must be unspecified. #[prost(message, repeated, tag="4")] pub date_ranges: ::prost::alloc::vec::Vec, - /// Dimension filters allow you to ask for only specific dimension values in - /// the report. To learn more, see [Fundamentals of Dimension - /// Filters]() - /// for examples. Metrics cannot be used in this filter. + /// Dimension filters allow you to ask for only specific dimension values in + /// the report. To learn more, see [Fundamentals of Dimension + /// Filters]() + /// for examples. Metrics cannot be used in this filter. #[prost(message, optional, tag="5")] pub dimension_filter: ::core::option::Option, - /// The filter clause of metrics. Applied at post aggregation phase, similar to - /// SQL having-clause. Dimensions cannot be used in this filter. + /// The filter clause of metrics. Applied at post aggregation phase, similar to + /// SQL having-clause. Dimensions cannot be used in this filter. #[prost(message, optional, tag="6")] pub metric_filter: ::core::option::Option, - /// The row count of the start row. The first row is counted as row 0. + /// The row count of the start row. The first row is counted as row 0. /// - /// When paging, the first request does not specify offset; or equivalently, - /// sets offset to 0; the first request returns the first `limit` of rows. The - /// second request sets offset to the `limit` of the first request; the second - /// request returns the second `limit` of rows. + /// When paging, the first request does not specify offset; or equivalently, + /// sets offset to 0; the first request returns the first `limit` of rows. The + /// second request sets offset to the `limit` of the first request; the second + /// request returns the second `limit` of rows. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int64, tag="7")] pub offset: i64, - /// The number of rows to return. If unspecified, 10,000 rows are returned. The - /// API returns a maximum of 100,000 rows per request, no matter how many you - /// ask for. `limit` must be positive. + /// The number of rows to return. If unspecified, 10,000 rows are returned. The + /// API returns a maximum of 100,000 rows per request, no matter how many you + /// ask for. `limit` must be positive. /// - /// The API can also return fewer rows than the requested `limit`, if there - /// aren't as many dimension values as the `limit`. For instance, there are - /// fewer than 300 possible values for the dimension `country`, so when - /// reporting on only `country`, you can't get more than 300 rows, even if you - /// set `limit` to a higher value. + /// The API can also return fewer rows than the requested `limit`, if there + /// aren't as many dimension values as the `limit`. For instance, there are + /// fewer than 300 possible values for the dimension `country`, so when + /// reporting on only `country`, you can't get more than 300 rows, even if you + /// set `limit` to a higher value. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int64, tag="8")] pub limit: i64, - /// Aggregation of metrics. Aggregated metric values will be shown in rows - /// where the dimension_values are set to "RESERVED_(MetricAggregation)". + /// Aggregation of metrics. Aggregated metric values will be shown in rows + /// where the dimension_values are set to "RESERVED_(MetricAggregation)". #[prost(enumeration="MetricAggregation", repeated, tag="9")] pub metric_aggregations: ::prost::alloc::vec::Vec, - /// Specifies how rows are ordered in the response. + /// Specifies how rows are ordered in the response. #[prost(message, repeated, tag="10")] pub order_bys: ::prost::alloc::vec::Vec, - /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". - /// If the field is empty, the report uses the property's default currency. + /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". + /// If the field is empty, the report uses the property's default currency. #[prost(string, tag="11")] pub currency_code: ::prost::alloc::string::String, - /// Cohort group associated with this request. If there is a cohort group - /// in the request the 'cohort' dimension must be present. + /// Cohort group associated with this request. If there is a cohort group + /// in the request the 'cohort' dimension must be present. #[prost(message, optional, tag="12")] pub cohort_spec: ::core::option::Option, - /// If false or unspecified, each row with all metrics equal to 0 will not be - /// returned. If true, these rows will be returned if they are not separately - /// removed by a filter. + /// If false or unspecified, each row with all metrics equal to 0 will not be + /// returned. If true, these rows will be returned if they are not separately + /// removed by a filter. #[prost(bool, tag="13")] pub keep_empty_rows: bool, - /// Toggles whether to return the current state of this Analytics Property's - /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). + /// Toggles whether to return the current state of this Analytics Property's + /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). #[prost(bool, tag="14")] pub return_property_quota: bool, } -/// The response report table corresponding to a request. +/// The response report table corresponding to a request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunReportResponse { - /// Describes dimension columns. The number of DimensionHeaders and ordering of - /// DimensionHeaders matches the dimensions present in rows. + /// Describes dimension columns. The number of DimensionHeaders and ordering of + /// DimensionHeaders matches the dimensions present in rows. #[prost(message, repeated, tag="1")] pub dimension_headers: ::prost::alloc::vec::Vec, - /// Describes metric columns. The number of MetricHeaders and ordering of - /// MetricHeaders matches the metrics present in rows. + /// Describes metric columns. The number of MetricHeaders and ordering of + /// MetricHeaders matches the metrics present in rows. #[prost(message, repeated, tag="2")] pub metric_headers: ::prost::alloc::vec::Vec, - /// Rows of dimension value combinations and metric values in the report. + /// Rows of dimension value combinations and metric values in the report. #[prost(message, repeated, tag="3")] pub rows: ::prost::alloc::vec::Vec, - /// If requested, the totaled values of metrics. + /// If requested, the totaled values of metrics. #[prost(message, repeated, tag="4")] pub totals: ::prost::alloc::vec::Vec, - /// If requested, the maximum values of metrics. + /// If requested, the maximum values of metrics. #[prost(message, repeated, tag="5")] pub maximums: ::prost::alloc::vec::Vec, - /// If requested, the minimum values of metrics. + /// If requested, the minimum values of metrics. #[prost(message, repeated, tag="6")] pub minimums: ::prost::alloc::vec::Vec, - /// The total number of rows in the query result. `rowCount` is independent of - /// the number of rows returned in the response, the `limit` request - /// parameter, and the `offset` request parameter. For example if a query - /// returns 175 rows and includes `limit` of 50 in the API request, the - /// response will contain `rowCount` of 175 but only 50 rows. + /// The total number of rows in the query result. `rowCount` is independent of + /// the number of rows returned in the response, the `limit` request + /// parameter, and the `offset` request parameter. For example if a query + /// returns 175 rows and includes `limit` of 50 in the API request, the + /// response will contain `rowCount` of 175 but only 50 rows. /// - /// To learn more about this pagination parameter, see - /// \[Pagination\](). + /// To learn more about this pagination parameter, see + /// \[Pagination\](). #[prost(int32, tag="7")] pub row_count: i32, - /// Metadata for the report. + /// Metadata for the report. #[prost(message, optional, tag="8")] pub metadata: ::core::option::Option, - /// This Analytics Property's quota state including this request. + /// This Analytics Property's quota state including this request. #[prost(message, optional, tag="9")] pub property_quota: ::core::option::Option, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#runReport". Useful to distinguish between - /// response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#runReport". Useful to distinguish between + /// response types in JSON. #[prost(string, tag="10")] pub kind: ::prost::alloc::string::String, } -/// The request to generate a pivot report. +/// The request to generate a pivot report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunPivotReportRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). - /// Within a batch request, this property should either be unspecified or - /// consistent with the batch-level property. + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). + /// Within a batch request, this property should either be unspecified or + /// consistent with the batch-level property. /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// The dimensions requested. All defined dimensions must be used by one of the - /// following: dimension_expression, dimension_filter, pivots, order_bys. + /// The dimensions requested. All defined dimensions must be used by one of the + /// following: dimension_expression, dimension_filter, pivots, order_bys. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metrics requested, at least one metric needs to be specified. All - /// defined metrics must be used by one of the following: metric_expression, - /// metric_filter, order_bys. + /// The metrics requested, at least one metric needs to be specified. All + /// defined metrics must be used by one of the following: metric_expression, + /// metric_filter, order_bys. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// The date range to retrieve event data for the report. If multiple date - /// ranges are specified, event data from each date range is used in the - /// report. A special dimension with field name "dateRange" can be included in - /// a Pivot's field names; if included, the report compares between date - /// ranges. In a cohort request, this `dateRanges` must be unspecified. + /// The date range to retrieve event data for the report. If multiple date + /// ranges are specified, event data from each date range is used in the + /// report. A special dimension with field name "dateRange" can be included in + /// a Pivot's field names; if included, the report compares between date + /// ranges. In a cohort request, this `dateRanges` must be unspecified. #[prost(message, repeated, tag="4")] pub date_ranges: ::prost::alloc::vec::Vec, - /// Describes the visual format of the report's dimensions in columns or rows. - /// The union of the fieldNames (dimension names) in all pivots must be a - /// subset of dimension names defined in Dimensions. No two pivots can share a - /// dimension. A dimension is only visible if it appears in a pivot. + /// Describes the visual format of the report's dimensions in columns or rows. + /// The union of the fieldNames (dimension names) in all pivots must be a + /// subset of dimension names defined in Dimensions. No two pivots can share a + /// dimension. A dimension is only visible if it appears in a pivot. #[prost(message, repeated, tag="5")] pub pivots: ::prost::alloc::vec::Vec, - /// The filter clause of dimensions. Dimensions must be requested to be used in - /// this filter. Metrics cannot be used in this filter. + /// The filter clause of dimensions. Dimensions must be requested to be used in + /// this filter. Metrics cannot be used in this filter. #[prost(message, optional, tag="6")] pub dimension_filter: ::core::option::Option, - /// The filter clause of metrics. Applied at post aggregation phase, similar to - /// SQL having-clause. Metrics must be requested to be used in this filter. - /// Dimensions cannot be used in this filter. + /// The filter clause of metrics. Applied at post aggregation phase, similar to + /// SQL having-clause. Metrics must be requested to be used in this filter. + /// Dimensions cannot be used in this filter. #[prost(message, optional, tag="7")] pub metric_filter: ::core::option::Option, - /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". - /// If the field is empty, the report uses the property's default currency. + /// A currency code in ISO4217 format, such as "AED", "USD", "JPY". + /// If the field is empty, the report uses the property's default currency. #[prost(string, tag="8")] pub currency_code: ::prost::alloc::string::String, - /// Cohort group associated with this request. If there is a cohort group - /// in the request the 'cohort' dimension must be present. + /// Cohort group associated with this request. If there is a cohort group + /// in the request the 'cohort' dimension must be present. #[prost(message, optional, tag="9")] pub cohort_spec: ::core::option::Option, - /// If false or unspecified, each row with all metrics equal to 0 will not be - /// returned. If true, these rows will be returned if they are not separately - /// removed by a filter. + /// If false or unspecified, each row with all metrics equal to 0 will not be + /// returned. If true, these rows will be returned if they are not separately + /// removed by a filter. #[prost(bool, tag="10")] pub keep_empty_rows: bool, - /// Toggles whether to return the current state of this Analytics Property's - /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). + /// Toggles whether to return the current state of this Analytics Property's + /// quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). #[prost(bool, tag="11")] pub return_property_quota: bool, } -/// The response pivot report table corresponding to a pivot request. +/// The response pivot report table corresponding to a pivot request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunPivotReportResponse { - /// Summarizes the columns and rows created by a pivot. Each pivot in the - /// request produces one header in the response. If we have a request like - /// this: + /// Summarizes the columns and rows created by a pivot. Each pivot in the + /// request produces one header in the response. If we have a request like + /// this: /// /// "pivots": [{ /// "fieldNames": ["country", @@ -1428,7 +1428,7 @@ pub struct RunPivotReportResponse { /// "fieldNames": "eventName" /// }] /// - /// We will have the following `pivotHeaders` in the response: + /// We will have the following `pivotHeaders` in the response: /// /// "pivotHeaders" : [{ /// "dimensionHeaders": [{ @@ -1454,206 +1454,206 @@ pub struct RunPivotReportResponse { /// }] #[prost(message, repeated, tag="1")] pub pivot_headers: ::prost::alloc::vec::Vec, - /// Describes dimension columns. The number of DimensionHeaders and ordering of - /// DimensionHeaders matches the dimensions present in rows. + /// Describes dimension columns. The number of DimensionHeaders and ordering of + /// DimensionHeaders matches the dimensions present in rows. #[prost(message, repeated, tag="2")] pub dimension_headers: ::prost::alloc::vec::Vec, - /// Describes metric columns. The number of MetricHeaders and ordering of - /// MetricHeaders matches the metrics present in rows. + /// Describes metric columns. The number of MetricHeaders and ordering of + /// MetricHeaders matches the metrics present in rows. #[prost(message, repeated, tag="3")] pub metric_headers: ::prost::alloc::vec::Vec, - /// Rows of dimension value combinations and metric values in the report. + /// Rows of dimension value combinations and metric values in the report. #[prost(message, repeated, tag="4")] pub rows: ::prost::alloc::vec::Vec, - /// Aggregation of metric values. Can be totals, minimums, or maximums. The - /// returned aggregations are controlled by the metric_aggregations in the - /// pivot. The type of aggregation returned in each row is shown by the - /// dimension_values which are set to "RESERVED_". + /// Aggregation of metric values. Can be totals, minimums, or maximums. The + /// returned aggregations are controlled by the metric_aggregations in the + /// pivot. The type of aggregation returned in each row is shown by the + /// dimension_values which are set to "RESERVED_". #[prost(message, repeated, tag="5")] pub aggregates: ::prost::alloc::vec::Vec, - /// Metadata for the report. + /// Metadata for the report. #[prost(message, optional, tag="6")] pub metadata: ::core::option::Option, - /// This Analytics Property's quota state including this request. + /// This Analytics Property's quota state including this request. #[prost(message, optional, tag="7")] pub property_quota: ::core::option::Option, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#runPivotReport". Useful to distinguish between - /// response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#runPivotReport". Useful to distinguish between + /// response types in JSON. #[prost(string, tag="8")] pub kind: ::prost::alloc::string::String, } -/// The batch request containing multiple report requests. +/// The batch request containing multiple report requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunReportsRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). - /// This property must be specified for the batch. The property within - /// RunReportRequest may either be unspecified or consistent with this - /// property. + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). + /// This property must be specified for the batch. The property within + /// RunReportRequest may either be unspecified or consistent with this + /// property. /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Individual requests. Each request has a separate report response. Each - /// batch request is allowed up to 5 requests. + /// Individual requests. Each request has a separate report response. Each + /// batch request is allowed up to 5 requests. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// The batch response containing multiple reports. +/// The batch response containing multiple reports. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunReportsResponse { - /// Individual responses. Each response has a separate report request. + /// Individual responses. Each response has a separate report request. #[prost(message, repeated, tag="1")] pub reports: ::prost::alloc::vec::Vec, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#batchRunReports". Useful to distinguish between - /// response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#batchRunReports". Useful to distinguish between + /// response types in JSON. #[prost(string, tag="2")] pub kind: ::prost::alloc::string::String, } -/// The batch request containing multiple pivot report requests. +/// The batch request containing multiple pivot report requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunPivotReportsRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). - /// This property must be specified for the batch. The property within - /// RunPivotReportRequest may either be unspecified or consistent with this - /// property. + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). + /// This property must be specified for the batch. The property within + /// RunPivotReportRequest may either be unspecified or consistent with this + /// property. /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// Individual requests. Each request has a separate pivot report response. - /// Each batch request is allowed up to 5 requests. + /// Individual requests. Each request has a separate pivot report response. + /// Each batch request is allowed up to 5 requests. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// The batch response containing multiple pivot reports. +/// The batch response containing multiple pivot reports. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunPivotReportsResponse { - /// Individual responses. Each response has a separate pivot report request. + /// Individual responses. Each response has a separate pivot report request. #[prost(message, repeated, tag="1")] pub pivot_reports: ::prost::alloc::vec::Vec, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#batchRunPivotReports". Useful to distinguish - /// between response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#batchRunPivotReports". Useful to distinguish + /// between response types in JSON. #[prost(string, tag="2")] pub kind: ::prost::alloc::string::String, } -/// Request for a property's dimension and metric metadata. +/// Request for a property's dimension and metric metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMetadataRequest { - /// Required. The resource name of the metadata to retrieve. This name field is - /// specified in the URL path and not URL parameters. Property is a numeric - /// Google Analytics GA4 Property identifier. To learn more, see [where to find - /// your Property - /// ID](). + /// Required. The resource name of the metadata to retrieve. This name field is + /// specified in the URL path and not URL parameters. Property is a numeric + /// Google Analytics GA4 Property identifier. To learn more, see [where to find + /// your Property + /// ID](). /// - /// Example: properties/1234/metadata + /// Example: properties/1234/metadata /// - /// Set the Property ID to 0 for dimensions and metrics common to all - /// properties. In this special mode, this method will not return custom - /// dimensions and metrics. + /// Set the Property ID to 0 for dimensions and metrics common to all + /// properties. In this special mode, this method will not return custom + /// dimensions and metrics. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to generate a realtime report. +/// The request to generate a realtime report. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunRealtimeReportRequest { - /// A Google Analytics GA4 property identifier whose events are tracked. - /// Specified in the URL path and not the body. To learn more, see [where to - /// find your Property - /// ID](). + /// A Google Analytics GA4 property identifier whose events are tracked. + /// Specified in the URL path and not the body. To learn more, see [where to + /// find your Property + /// ID](). /// - /// Example: properties/1234 + /// Example: properties/1234 #[prost(string, tag="1")] pub property: ::prost::alloc::string::String, - /// The dimensions requested and displayed. + /// The dimensions requested and displayed. #[prost(message, repeated, tag="2")] pub dimensions: ::prost::alloc::vec::Vec, - /// The metrics requested and displayed. + /// The metrics requested and displayed. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, - /// The filter clause of dimensions. Dimensions must be requested to be used in - /// this filter. Metrics cannot be used in this filter. + /// The filter clause of dimensions. Dimensions must be requested to be used in + /// this filter. Metrics cannot be used in this filter. #[prost(message, optional, tag="4")] pub dimension_filter: ::core::option::Option, - /// The filter clause of metrics. Applied at post aggregation phase, similar to - /// SQL having-clause. Metrics must be requested to be used in this filter. - /// Dimensions cannot be used in this filter. + /// The filter clause of metrics. Applied at post aggregation phase, similar to + /// SQL having-clause. Metrics must be requested to be used in this filter. + /// Dimensions cannot be used in this filter. #[prost(message, optional, tag="5")] pub metric_filter: ::core::option::Option, - /// The number of rows to return. If unspecified, 10,000 rows are returned. The - /// API returns a maximum of 100,000 rows per request, no matter how many you - /// ask for. `limit` must be positive. + /// The number of rows to return. If unspecified, 10,000 rows are returned. The + /// API returns a maximum of 100,000 rows per request, no matter how many you + /// ask for. `limit` must be positive. /// - /// The API can also return fewer rows than the requested `limit`, if there - /// aren't as many dimension values as the `limit`. For instance, there are - /// fewer than 300 possible values for the dimension `country`, so when - /// reporting on only `country`, you can't get more than 300 rows, even if you - /// set `limit` to a higher value. + /// The API can also return fewer rows than the requested `limit`, if there + /// aren't as many dimension values as the `limit`. For instance, there are + /// fewer than 300 possible values for the dimension `country`, so when + /// reporting on only `country`, you can't get more than 300 rows, even if you + /// set `limit` to a higher value. #[prost(int64, tag="6")] pub limit: i64, - /// Aggregation of metrics. Aggregated metric values will be shown in rows - /// where the dimension_values are set to "RESERVED_(MetricAggregation)". + /// Aggregation of metrics. Aggregated metric values will be shown in rows + /// where the dimension_values are set to "RESERVED_(MetricAggregation)". #[prost(enumeration="MetricAggregation", repeated, tag="7")] pub metric_aggregations: ::prost::alloc::vec::Vec, - /// Specifies how rows are ordered in the response. + /// Specifies how rows are ordered in the response. #[prost(message, repeated, tag="8")] pub order_bys: ::prost::alloc::vec::Vec, - /// Toggles whether to return the current state of this Analytics Property's - /// Realtime quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). + /// Toggles whether to return the current state of this Analytics Property's + /// Realtime quota. Quota is returned in \[PropertyQuota\](#PropertyQuota). #[prost(bool, tag="9")] pub return_property_quota: bool, - /// The minute ranges of event data to read. If unspecified, one minute range - /// for the last 30 minutes will be used. If multiple minute ranges are - /// requested, each response row will contain a zero based minute range index. - /// If two minute ranges overlap, the event data for the overlapping minutes is - /// included in the response rows for both minute ranges. + /// The minute ranges of event data to read. If unspecified, one minute range + /// for the last 30 minutes will be used. If multiple minute ranges are + /// requested, each response row will contain a zero based minute range index. + /// If two minute ranges overlap, the event data for the overlapping minutes is + /// included in the response rows for both minute ranges. #[prost(message, repeated, tag="10")] pub minute_ranges: ::prost::alloc::vec::Vec, } -/// The response realtime report table corresponding to a request. +/// The response realtime report table corresponding to a request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunRealtimeReportResponse { - /// Describes dimension columns. The number of DimensionHeaders and ordering of - /// DimensionHeaders matches the dimensions present in rows. + /// Describes dimension columns. The number of DimensionHeaders and ordering of + /// DimensionHeaders matches the dimensions present in rows. #[prost(message, repeated, tag="1")] pub dimension_headers: ::prost::alloc::vec::Vec, - /// Describes metric columns. The number of MetricHeaders and ordering of - /// MetricHeaders matches the metrics present in rows. + /// Describes metric columns. The number of MetricHeaders and ordering of + /// MetricHeaders matches the metrics present in rows. #[prost(message, repeated, tag="2")] pub metric_headers: ::prost::alloc::vec::Vec, - /// Rows of dimension value combinations and metric values in the report. + /// Rows of dimension value combinations and metric values in the report. #[prost(message, repeated, tag="3")] pub rows: ::prost::alloc::vec::Vec, - /// If requested, the totaled values of metrics. + /// If requested, the totaled values of metrics. #[prost(message, repeated, tag="4")] pub totals: ::prost::alloc::vec::Vec, - /// If requested, the maximum values of metrics. + /// If requested, the maximum values of metrics. #[prost(message, repeated, tag="5")] pub maximums: ::prost::alloc::vec::Vec, - /// If requested, the minimum values of metrics. + /// If requested, the minimum values of metrics. #[prost(message, repeated, tag="6")] pub minimums: ::prost::alloc::vec::Vec, - /// The total number of rows in the query result. `rowCount` is independent of - /// the number of rows returned in the response and the `limit` request - /// parameter. For example if a query returns 175 rows and includes `limit` - /// of 50 in the API request, the response will contain `rowCount` of 175 but - /// only 50 rows. + /// The total number of rows in the query result. `rowCount` is independent of + /// the number of rows returned in the response and the `limit` request + /// parameter. For example if a query returns 175 rows and includes `limit` + /// of 50 in the API request, the response will contain `rowCount` of 175 but + /// only 50 rows. #[prost(int32, tag="7")] pub row_count: i32, - /// This Analytics Property's Realtime quota state including this request. + /// This Analytics Property's Realtime quota state including this request. #[prost(message, optional, tag="8")] pub property_quota: ::core::option::Option, - /// Identifies what kind of resource this message is. This `kind` is always the - /// fixed string "analyticsData#runRealtimeReport". Useful to distinguish - /// between response types in JSON. + /// Identifies what kind of resource this message is. This `kind` is always the + /// fixed string "analyticsData#runRealtimeReport". Useful to distinguish + /// between response types in JSON. #[prost(string, tag="9")] pub kind: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.api.apikeys.v2.rs b/gcloud-sdk/genproto/google.api.apikeys.v2.rs index 047d37356..3389faed7 100644 --- a/gcloud-sdk/genproto/google.api.apikeys.v2.rs +++ b/gcloud-sdk/genproto/google.api.apikeys.v2.rs @@ -1,148 +1,148 @@ -/// The representation of a key managed by the API Keys API. +/// The representation of a key managed by the API Keys API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Key { - /// Output only. The resource name of the key. - /// The `name` has the form: - /// `projects//locations/global/keys/`. - /// For example: - /// `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` + /// Output only. The resource name of the key. + /// The `name` has the form: + /// `projects//locations/global/keys/`. + /// For example: + /// `projects/123456867718/locations/global/keys/b7ff1f9f-8275-410a-94dd-3855ee9b5dd2` /// - /// NOTE: Key is a global resource; hence the only supported value for - /// location is `global`. + /// NOTE: Key is a global resource; hence the only supported value for + /// location is `global`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Unique id in UUID4 format. + /// Output only. Unique id in UUID4 format. #[prost(string, tag="5")] pub uid: ::prost::alloc::string::String, - /// Human-readable display name of this key that you can modify. - /// The maximum length is 63 characters. + /// Human-readable display name of this key that you can modify. + /// The maximum length is 63 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. An encrypted and signed value held by this key. - /// This field can be accessed only through the `GetKeyString` method. + /// Output only. An encrypted and signed value held by this key. + /// This field can be accessed only through the `GetKeyString` method. #[prost(string, tag="3")] pub key_string: ::prost::alloc::string::String, - /// Output only. A timestamp identifying the time this key was originally - /// created. + /// Output only. A timestamp identifying the time this key was originally + /// created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A timestamp identifying the time this key was last - /// updated. + /// Output only. A timestamp identifying the time this key was last + /// updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A timestamp when this key was deleted. If the resource is not deleted, - /// this must be empty. + /// Output only. A timestamp when this key was deleted. If the resource is not deleted, + /// this must be empty. #[prost(message, optional, tag="7")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, - /// Annotations is an unstructured key-value map stored with a policy that - /// may be set by external tools to store and retrieve arbitrary metadata. - /// They are not queryable and should be preserved when modifying objects. + /// Annotations is an unstructured key-value map stored with a policy that + /// may be set by external tools to store and retrieve arbitrary metadata. + /// They are not queryable and should be preserved when modifying objects. #[prost(map="string, string", tag="8")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Key restrictions. + /// Key restrictions. #[prost(message, optional, tag="9")] pub restrictions: ::core::option::Option, - /// Output only. A checksum computed by the server based on the current value of the Key - /// resource. This may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. - /// See + /// Output only. A checksum computed by the server based on the current value of the Key + /// resource. This may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. + /// See #[prost(string, tag="11")] pub etag: ::prost::alloc::string::String, } -/// Describes the restrictions on the key. +/// Describes the restrictions on the key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Restrictions { - /// A restriction for a specific service and optionally one or - /// more specific methods. Requests are allowed if they - /// match any of these restrictions. If no restrictions are - /// specified, all targets are allowed. + /// A restriction for a specific service and optionally one or + /// more specific methods. Requests are allowed if they + /// match any of these restrictions. If no restrictions are + /// specified, all targets are allowed. #[prost(message, repeated, tag="5")] pub api_targets: ::prost::alloc::vec::Vec, - /// The websites, IP addresses, Android apps, or iOS apps (the clients) that - /// are allowed to use the key. You can specify only one type of client - /// restrictions per key. + /// The websites, IP addresses, Android apps, or iOS apps (the clients) that + /// are allowed to use the key. You can specify only one type of client + /// restrictions per key. #[prost(oneof="restrictions::ClientRestrictions", tags="1, 2, 3, 4")] pub client_restrictions: ::core::option::Option, } /// Nested message and enum types in `Restrictions`. pub mod restrictions { - /// The websites, IP addresses, Android apps, or iOS apps (the clients) that - /// are allowed to use the key. You can specify only one type of client - /// restrictions per key. + /// The websites, IP addresses, Android apps, or iOS apps (the clients) that + /// are allowed to use the key. You can specify only one type of client + /// restrictions per key. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ClientRestrictions { - /// The HTTP referrers (websites) that are allowed to use the key. + /// The HTTP referrers (websites) that are allowed to use the key. #[prost(message, tag="1")] BrowserKeyRestrictions(super::BrowserKeyRestrictions), - /// The IP addresses of callers that are allowed to use the key. + /// The IP addresses of callers that are allowed to use the key. #[prost(message, tag="2")] ServerKeyRestrictions(super::ServerKeyRestrictions), - /// The Android apps that are allowed to use the key. + /// The Android apps that are allowed to use the key. #[prost(message, tag="3")] AndroidKeyRestrictions(super::AndroidKeyRestrictions), - /// The iOS apps that are allowed to use the key. + /// The iOS apps that are allowed to use the key. #[prost(message, tag="4")] IosKeyRestrictions(super::IosKeyRestrictions), } } -/// The HTTP referrers (websites) that are allowed to use the key. +/// The HTTP referrers (websites) that are allowed to use the key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BrowserKeyRestrictions { - /// A list of regular expressions for the referrer URLs that are allowed - /// to make API calls with this key. + /// A list of regular expressions for the referrer URLs that are allowed + /// to make API calls with this key. #[prost(string, repeated, tag="1")] pub allowed_referrers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The IP addresses of callers that are allowed to use the key. +/// The IP addresses of callers that are allowed to use the key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServerKeyRestrictions { - /// A list of the caller IP addresses that are allowed to make API calls - /// with this key. + /// A list of the caller IP addresses that are allowed to make API calls + /// with this key. #[prost(string, repeated, tag="1")] pub allowed_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The Android apps that are allowed to use the key. +/// The Android apps that are allowed to use the key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AndroidKeyRestrictions { - /// A list of Android applications that are allowed to make API calls with - /// this key. + /// A list of Android applications that are allowed to make API calls with + /// this key. #[prost(message, repeated, tag="1")] pub allowed_applications: ::prost::alloc::vec::Vec, } -/// Identifier of an Android application for key use. +/// Identifier of an Android application for key use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AndroidApplication { - /// The SHA1 fingerprint of the application. For example, both sha1 formats are - /// acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or - /// DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. - /// Output format is the latter. + /// The SHA1 fingerprint of the application. For example, both sha1 formats are + /// acceptable : DA:39:A3:EE:5E:6B:4B:0D:32:55:BF:EF:95:60:18:90:AF:D8:07:09 or + /// DA39A3EE5E6B4B0D3255BFEF95601890AFD80709. + /// Output format is the latter. #[prost(string, tag="1")] pub sha1_fingerprint: ::prost::alloc::string::String, - /// The package name of the application. + /// The package name of the application. #[prost(string, tag="2")] pub package_name: ::prost::alloc::string::String, } -/// The iOS apps that are allowed to use the key. +/// The iOS apps that are allowed to use the key. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IosKeyRestrictions { - /// A list of bundle IDs that are allowed when making API calls with this key. + /// A list of bundle IDs that are allowed when making API calls with this key. #[prost(string, repeated, tag="1")] pub allowed_bundle_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A restriction for a specific service and optionally one or multiple -/// specific methods. Both fields are case insensitive. +/// A restriction for a specific service and optionally one or multiple +/// specific methods. Both fields are case insensitive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiTarget { - /// The service for this restriction. It should be the canonical - /// service name, for example: `translate.googleapis.com`. - /// You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) - /// to get a list of services that are enabled in the project. + /// The service for this restriction. It should be the canonical + /// service name, for example: `translate.googleapis.com`. + /// You can use [`gcloud services list`](/sdk/gcloud/reference/services/list) + /// to get a list of services that are enabled in the project. #[prost(string, tag="1")] pub service: ::prost::alloc::string::String, - /// Optional. List of one or more methods that can be called. - /// If empty, all methods for the service are allowed. A wildcard - /// (*) can be used as the last symbol. - /// Valid examples: + /// Optional. List of one or more methods that can be called. + /// If empty, all methods for the service are allowed. A wildcard + /// (*) can be used as the last symbol. + /// Valid examples: /// `google.cloud.translate.v2.TranslateService.GetSupportedLanguage` /// `TranslateText` /// `Get*` @@ -150,128 +150,128 @@ pub struct ApiTarget { #[prost(string, repeated, tag="2")] pub methods: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for `CreateKey` method. +/// Request message for `CreateKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateKeyRequest { - /// Required. The project in which the API key is created. + /// Required. The project in which the API key is created. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The API key fields to set at creation time. - /// You can configure only the `display_name`, `restrictions`, and - /// `annotations` fields. + /// Required. The API key fields to set at creation time. + /// You can configure only the `display_name`, `restrictions`, and + /// `annotations` fields. #[prost(message, optional, tag="2")] pub key: ::core::option::Option, - /// User specified key id (optional). If specified, it will become the final - /// component of the key resource name. + /// User specified key id (optional). If specified, it will become the final + /// component of the key resource name. /// - /// The id must be unique within the project, must conform with RFC-1034, - /// is restricted to lower-cased letters, and has a maximum length of 63 - /// characters. In another word, the id must match the regular - /// expression: `\[a-z]([a-z0-9-]{0,61}[a-z0-9\])?`. + /// The id must be unique within the project, must conform with RFC-1034, + /// is restricted to lower-cased letters, and has a maximum length of 63 + /// characters. In another word, the id must match the regular + /// expression: `\[a-z]([a-z0-9-]{0,61}[a-z0-9\])?`. /// - /// The id must NOT be a UUID-like string. + /// The id must NOT be a UUID-like string. #[prost(string, tag="3")] pub key_id: ::prost::alloc::string::String, } -/// Request message for `ListKeys` method. +/// Request message for `ListKeys` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListKeysRequest { - /// Required. Lists all API keys associated with this project. + /// Required. Lists all API keys associated with this project. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Specifies the maximum number of results to be returned at a time. + /// Optional. Specifies the maximum number of results to be returned at a time. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Requests a specific page of results. + /// Optional. Requests a specific page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Indicate that keys deleted in the past 30 days should also be - /// returned. + /// Optional. Indicate that keys deleted in the past 30 days should also be + /// returned. #[prost(bool, tag="6")] pub show_deleted: bool, } -/// Response message for `ListKeys` method. +/// Response message for `ListKeys` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListKeysResponse { - /// A list of API keys. + /// A list of API keys. #[prost(message, repeated, tag="1")] pub keys: ::prost::alloc::vec::Vec, - /// The pagination token for the next page of results. + /// The pagination token for the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `GetKey` method. +/// Request message for `GetKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeyRequest { - /// Required. The resource name of the API key to get. + /// Required. The resource name of the API key to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `GetKeyString` method. +/// Request message for `GetKeyString` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeyStringRequest { - /// Required. The resource name of the API key to be retrieved. + /// Required. The resource name of the API key to be retrieved. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for `GetKeyString` method. +/// Response message for `GetKeyString` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetKeyStringResponse { - /// An encrypted and signed value of the key. + /// An encrypted and signed value of the key. #[prost(string, tag="1")] pub key_string: ::prost::alloc::string::String, } -/// Request message for `UpdateKey` method. +/// Request message for `UpdateKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateKeyRequest { - /// Required. Set the `name` field to the resource name of the API key to be - /// updated. You can update only the `display_name`, `restrictions`, and - /// `annotations` fields. + /// Required. Set the `name` field to the resource name of the API key to be + /// updated. You can update only the `display_name`, `restrictions`, and + /// `annotations` fields. #[prost(message, optional, tag="1")] pub key: ::core::option::Option, - /// The field mask specifies which fields to be updated as part of this - /// request. All other fields are ignored. - /// Mutable fields are: `display_name`, `restrictions`, and `annotations`. - /// If an update mask is not provided, the service treats it as an implied mask - /// equivalent to all allowed fields that are set on the wire. If the field - /// mask has a special value "*", the service treats it equivalent to replace - /// all allowed mutable fields. + /// The field mask specifies which fields to be updated as part of this + /// request. All other fields are ignored. + /// Mutable fields are: `display_name`, `restrictions`, and `annotations`. + /// If an update mask is not provided, the service treats it as an implied mask + /// equivalent to all allowed fields that are set on the wire. If the field + /// mask has a special value "*", the service treats it equivalent to replace + /// all allowed mutable fields. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `DeleteKey` method. +/// Request message for `DeleteKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteKeyRequest { - /// Required. The resource name of the API key to be deleted. + /// Required. The resource name of the API key to be deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag known to the client for the expected state of the key. - /// This is to be used for optimistic concurrency. + /// Optional. The etag known to the client for the expected state of the key. + /// This is to be used for optimistic concurrency. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request message for `UndeleteKey` method. +/// Request message for `UndeleteKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteKeyRequest { - /// Required. The resource name of the API key to be undeleted. + /// Required. The resource name of the API key to be undeleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `LookupKey` method. +/// Request message for `LookupKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupKeyRequest { - /// Required. Finds the project that owns the key string value. + /// Required. Finds the project that owns the key string value. #[prost(string, tag="1")] pub key_string: ::prost::alloc::string::String, } -/// Response message for `LookupKey` method. +/// Response message for `LookupKey` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupKeyResponse { - /// The project that owns the key with the value specified in the request. + /// The project that owns the key with the value specified in the request. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The resource name of the API key. If the API key has been purged, - /// resource name is empty. + /// The resource name of the API key. If the API key has been purged, + /// resource name is empty. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.api.expr.conformance.v1alpha1.rs b/gcloud-sdk/genproto/google.api.expr.conformance.v1alpha1.rs index 1ace6859b..6f8b1908f 100644 --- a/gcloud-sdk/genproto/google.api.expr.conformance.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.api.expr.conformance.v1alpha1.rs @@ -1,129 +1,129 @@ -/// Request message for the Parse method. +/// Request message for the Parse method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParseRequest { - /// Required. Source text in CEL syntax. + /// Required. Source text in CEL syntax. #[prost(string, tag="1")] pub cel_source: ::prost::alloc::string::String, - /// Tag for version of CEL syntax, for future use. + /// Tag for version of CEL syntax, for future use. #[prost(string, tag="2")] pub syntax_version: ::prost::alloc::string::String, - /// File or resource for source text, used in \[SourceInfo][google.api.SourceInfo\]. + /// File or resource for source text, used in \[SourceInfo][google.api.SourceInfo\]. #[prost(string, tag="3")] pub source_location: ::prost::alloc::string::String, - /// Prevent macro expansion. See "Macros" in Language Defiinition. + /// Prevent macro expansion. See "Macros" in Language Defiinition. #[prost(bool, tag="4")] pub disable_macros: bool, } -/// Response message for the Parse method. +/// Response message for the Parse method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParseResponse { - /// The parsed representation, or unset if parsing failed. + /// The parsed representation, or unset if parsing failed. #[prost(message, optional, tag="1")] pub parsed_expr: ::core::option::Option, - /// Any number of issues with \[StatusDetails][\] as the details. + /// Any number of issues with \[StatusDetails][\] as the details. #[prost(message, repeated, tag="2")] pub issues: ::prost::alloc::vec::Vec, } -/// Request message for the Check method. +/// Request message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckRequest { - /// Required. The parsed representation of the CEL program. + /// Required. The parsed representation of the CEL program. #[prost(message, optional, tag="1")] pub parsed_expr: ::core::option::Option, - /// Declarations of types for external variables and functions. - /// Required if program uses external variables or functions - /// not in the default environment. + /// Declarations of types for external variables and functions. + /// Required if program uses external variables or functions + /// not in the default environment. #[prost(message, repeated, tag="2")] pub type_env: ::prost::alloc::vec::Vec, - /// The protocol buffer context. See "Name Resolution" in the - /// Language Definition. + /// The protocol buffer context. See "Name Resolution" in the + /// Language Definition. #[prost(string, tag="3")] pub container: ::prost::alloc::string::String, - /// If true, use only the declarations in \[type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env\]. If false (default), - /// add declarations for the standard definitions to the type environment. See - /// "Standard Definitions" in the Language Definition. + /// If true, use only the declarations in \[type_env][google.api.expr.conformance.v1alpha1.CheckRequest.type_env\]. If false (default), + /// add declarations for the standard definitions to the type environment. See + /// "Standard Definitions" in the Language Definition. #[prost(bool, tag="4")] pub no_std_env: bool, } -/// Response message for the Check method. +/// Response message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckResponse { - /// The annotated representation, or unset if checking failed. + /// The annotated representation, or unset if checking failed. #[prost(message, optional, tag="1")] pub checked_expr: ::core::option::Option, - /// Any number of issues with \[StatusDetails][\] as the details. + /// Any number of issues with \[StatusDetails][\] as the details. #[prost(message, repeated, tag="2")] pub issues: ::prost::alloc::vec::Vec, } -/// Request message for the Eval method. +/// Request message for the Eval method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvalRequest { - /// Bindings for the external variables. The types SHOULD be compatible - /// with the type environment in \[CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest\], if checked. + /// Bindings for the external variables. The types SHOULD be compatible + /// with the type environment in \[CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest\], if checked. #[prost(map="string, message", tag="3")] pub bindings: ::std::collections::HashMap<::prost::alloc::string::String, super::super::v1alpha1::ExprValue>, - /// SHOULD be the same container as used in \[CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest\], if checked. + /// SHOULD be the same container as used in \[CheckRequest][google.api.expr.conformance.v1alpha1.CheckRequest\], if checked. #[prost(string, tag="4")] pub container: ::prost::alloc::string::String, - /// Required. Either the parsed or annotated representation of the CEL program. + /// Required. Either the parsed or annotated representation of the CEL program. #[prost(oneof="eval_request::ExprKind", tags="1, 2")] pub expr_kind: ::core::option::Option, } /// Nested message and enum types in `EvalRequest`. pub mod eval_request { - /// Required. Either the parsed or annotated representation of the CEL program. + /// Required. Either the parsed or annotated representation of the CEL program. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ExprKind { - /// Evaluate based on the parsed representation. + /// Evaluate based on the parsed representation. #[prost(message, tag="1")] ParsedExpr(super::super::super::v1alpha1::ParsedExpr), - /// Evaluate based on the checked representation. + /// Evaluate based on the checked representation. #[prost(message, tag="2")] CheckedExpr(super::super::super::v1alpha1::CheckedExpr), } } -/// Response message for the Eval method. +/// Response message for the Eval method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvalResponse { - /// The execution result, or unset if execution couldn't start. + /// The execution result, or unset if execution couldn't start. #[prost(message, optional, tag="1")] pub result: ::core::option::Option, - /// Any number of issues with \[StatusDetails][\] as the details. - /// Note that CEL execution errors are reified into \[ExprValue][\]. - /// Nevertheless, we'll allow out-of-band issues to be raised, - /// which also makes the replies more regular. + /// Any number of issues with \[StatusDetails][\] as the details. + /// Note that CEL execution errors are reified into \[ExprValue][\]. + /// Nevertheless, we'll allow out-of-band issues to be raised, + /// which also makes the replies more regular. #[prost(message, repeated, tag="2")] pub issues: ::prost::alloc::vec::Vec, } -/// Warnings or errors in service execution are represented by -/// \[google.rpc.Status][google.rpc.Status\] messages, with the following message -/// in the details field. +/// Warnings or errors in service execution are represented by +/// \[google.rpc.Status][google.rpc.Status\] messages, with the following message +/// in the details field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueDetails { - /// The severity of the issue. + /// The severity of the issue. #[prost(enumeration="issue_details::Severity", tag="1")] pub severity: i32, - /// Position in the source, if known. + /// Position in the source, if known. #[prost(message, optional, tag="2")] pub position: ::core::option::Option, - /// Expression ID from \[Expr][\], 0 if unknown. + /// Expression ID from \[Expr][\], 0 if unknown. #[prost(int64, tag="3")] pub id: i64, } /// Nested message and enum types in `IssueDetails`. pub mod issue_details { - /// Severities of issues. + /// Severities of issues. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Severity { - /// An unspecified severity. + /// An unspecified severity. Unspecified = 0, - /// Deprecation issue for statements and method that may no longer be - /// supported or maintained. + /// Deprecation issue for statements and method that may no longer be + /// supported or maintained. Deprecation = 1, - /// Warnings such as: unused variables. + /// Warnings such as: unused variables. Warning = 2, - /// Errors such as: unmatched curly braces or variable redefinition. + /// Errors such as: unmatched curly braces or variable redefinition. Error = 3, } impl Severity { diff --git a/gcloud-sdk/genproto/google.api.expr.v1alpha1.rs b/gcloud-sdk/genproto/google.api.expr.v1alpha1.rs index 5c044c200..d0894c136 100644 --- a/gcloud-sdk/genproto/google.api.expr.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.api.expr.v1alpha1.rs @@ -1,456 +1,456 @@ -// A representation of the abstract syntax of the Common Expression Language. +// A representation of the abstract syntax of the Common Expression Language. -/// An expression together with source information as returned by the parser. +/// An expression together with source information as returned by the parser. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParsedExpr { - /// The parsed expression. + /// The parsed expression. #[prost(message, optional, tag="2")] pub expr: ::core::option::Option, - /// The source info derived from input that generated the parsed `expr`. + /// The source info derived from input that generated the parsed `expr`. #[prost(message, optional, tag="3")] pub source_info: ::core::option::Option, } -/// An abstract representation of a common expression. +/// An abstract representation of a common expression. /// -/// Expressions are abstractly represented as a collection of identifiers, -/// select statements, function calls, literals, and comprehensions. All -/// operators with the exception of the '.' operator are modelled as function -/// calls. This makes it easy to represent new operators into the existing AST. +/// Expressions are abstractly represented as a collection of identifiers, +/// select statements, function calls, literals, and comprehensions. All +/// operators with the exception of the '.' operator are modelled as function +/// calls. This makes it easy to represent new operators into the existing AST. /// -/// All references within expressions must resolve to a \[Decl][google.api.expr.v1alpha1.Decl\] provided at -/// type-check for an expression to be valid. A reference may either be a bare -/// identifier `name` or a qualified identifier `google.api.name`. References -/// may either refer to a value or a function declaration. +/// All references within expressions must resolve to a \[Decl][google.api.expr.v1alpha1.Decl\] provided at +/// type-check for an expression to be valid. A reference may either be a bare +/// identifier `name` or a qualified identifier `google.api.name`. References +/// may either refer to a value or a function declaration. /// -/// For example, the expression `google.api.name.startsWith('expr')` references -/// the declaration `google.api.name` within a \[Expr.Select][google.api.expr.v1alpha1.Expr.Select\] expression, and -/// the function declaration `startsWith`. +/// For example, the expression `google.api.name.startsWith('expr')` references +/// the declaration `google.api.name` within a \[Expr.Select][google.api.expr.v1alpha1.Expr.Select\] expression, and +/// the function declaration `startsWith`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Expr { - /// Required. An id assigned to this node by the parser which is unique in a - /// given expression tree. This is used to associate type information and other - /// attributes to a node in the parse tree. + /// Required. An id assigned to this node by the parser which is unique in a + /// given expression tree. This is used to associate type information and other + /// attributes to a node in the parse tree. #[prost(int64, tag="2")] pub id: i64, - /// Required. Variants of expressions. + /// Required. Variants of expressions. #[prost(oneof="expr::ExprKind", tags="3, 4, 5, 6, 7, 8, 9")] pub expr_kind: ::core::option::Option, } /// Nested message and enum types in `Expr`. pub mod expr { - /// An identifier expression. e.g. `request`. + /// An identifier expression. e.g. `request`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Ident { - /// Required. Holds a single, unqualified identifier, possibly preceded by a - /// '.'. + /// Required. Holds a single, unqualified identifier, possibly preceded by a + /// '.'. /// - /// Qualified names are represented by the \[Expr.Select][google.api.expr.v1alpha1.Expr.Select\] expression. + /// Qualified names are represented by the \[Expr.Select][google.api.expr.v1alpha1.Expr.Select\] expression. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } - /// A field selection expression. e.g. `request.auth`. + /// A field selection expression. e.g. `request.auth`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Select { - /// Required. The target of the selection expression. + /// Required. The target of the selection expression. /// - /// For example, in the select expression `request.auth`, the `request` - /// portion of the expression is the `operand`. + /// For example, in the select expression `request.auth`, the `request` + /// portion of the expression is the `operand`. #[prost(message, optional, boxed, tag="1")] pub operand: ::core::option::Option<::prost::alloc::boxed::Box>, - /// Required. The name of the field to select. + /// Required. The name of the field to select. /// - /// For example, in the select expression `request.auth`, the `auth` portion - /// of the expression would be the `field`. + /// For example, in the select expression `request.auth`, the `auth` portion + /// of the expression would be the `field`. #[prost(string, tag="2")] pub field: ::prost::alloc::string::String, - /// Whether the select is to be interpreted as a field presence test. + /// Whether the select is to be interpreted as a field presence test. /// - /// This results from the macro `has(request.auth)`. + /// This results from the macro `has(request.auth)`. #[prost(bool, tag="3")] pub test_only: bool, } - /// A call expression, including calls to predefined functions and operators. + /// A call expression, including calls to predefined functions and operators. /// - /// For example, `value == 10`, `size(map_value)`. + /// For example, `value == 10`, `size(map_value)`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Call { - /// The target of an method call-style expression. For example, `x` in - /// `x.f()`. + /// The target of an method call-style expression. For example, `x` in + /// `x.f()`. #[prost(message, optional, boxed, tag="1")] pub target: ::core::option::Option<::prost::alloc::boxed::Box>, - /// Required. The name of the function or method being called. + /// Required. The name of the function or method being called. #[prost(string, tag="2")] pub function: ::prost::alloc::string::String, - /// The arguments. + /// The arguments. #[prost(message, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec, } - /// A list creation expression. + /// A list creation expression. /// - /// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. - /// `dyn([1, 'hello', 2.0])` + /// Lists may either be homogenous, e.g. `[1, 2, 3]`, or heterogeneous, e.g. + /// `dyn([1, 'hello', 2.0])` #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateList { - /// The elements part of the list. + /// The elements part of the list. #[prost(message, repeated, tag="1")] pub elements: ::prost::alloc::vec::Vec, } - /// A map or message creation expression. + /// A map or message creation expression. /// - /// Maps are constructed as `{'key_name': 'value'}`. Message construction is - /// similar, but prefixed with a type name and composed of field ids: - /// `types.MyType{field_id: 'value'}`. + /// Maps are constructed as `{'key_name': 'value'}`. Message construction is + /// similar, but prefixed with a type name and composed of field ids: + /// `types.MyType{field_id: 'value'}`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateStruct { - /// The type name of the message to be created, empty when creating map - /// literals. + /// The type name of the message to be created, empty when creating map + /// literals. #[prost(string, tag="1")] pub message_name: ::prost::alloc::string::String, - /// The entries in the creation expression. + /// The entries in the creation expression. #[prost(message, repeated, tag="2")] pub entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CreateStruct`. pub mod create_struct { - /// Represents an entry. + /// Represents an entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// Required. An id assigned to this node by the parser which is unique - /// in a given expression tree. This is used to associate type - /// information and other attributes to the node. + /// Required. An id assigned to this node by the parser which is unique + /// in a given expression tree. This is used to associate type + /// information and other attributes to the node. #[prost(int64, tag="1")] pub id: i64, - /// Required. The value assigned to the key. + /// Required. The value assigned to the key. #[prost(message, optional, tag="4")] pub value: ::core::option::Option, - /// The `Entry` key kinds. + /// The `Entry` key kinds. #[prost(oneof="entry::KeyKind", tags="2, 3")] pub key_kind: ::core::option::Option, } /// Nested message and enum types in `Entry`. pub mod entry { - /// The `Entry` key kinds. + /// The `Entry` key kinds. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum KeyKind { - /// The field key for a message creator statement. + /// The field key for a message creator statement. #[prost(string, tag="2")] FieldKey(::prost::alloc::string::String), - /// The key expression for a map creation statement. + /// The key expression for a map creation statement. #[prost(message, tag="3")] MapKey(super::super::super::Expr), } } } - /// A comprehension expression applied to a list or map. + /// A comprehension expression applied to a list or map. /// - /// Comprehensions are not part of the core syntax, but enabled with macros. - /// A macro matches a specific call signature within a parsed AST and replaces - /// the call with an alternate AST block. Macro expansion happens at parse - /// time. + /// Comprehensions are not part of the core syntax, but enabled with macros. + /// A macro matches a specific call signature within a parsed AST and replaces + /// the call with an alternate AST block. Macro expansion happens at parse + /// time. /// - /// The following macros are supported within CEL: + /// The following macros are supported within CEL: /// - /// Aggregate type macros may be applied to all elements in a list or all keys - /// in a map: + /// Aggregate type macros may be applied to all elements in a list or all keys + /// in a map: /// - /// * `all`, `exists`, `exists_one` - test a predicate expression against + /// * `all`, `exists`, `exists_one` - test a predicate expression against /// the inputs and return `true` if the predicate is satisfied for all, /// any, or only one value `list.all(x, x < 10)`. - /// * `filter` - test a predicate expression against the inputs and return + /// * `filter` - test a predicate expression against the inputs and return /// the subset of elements which satisfy the predicate: /// `payments.filter(p, p > 1000)`. - /// * `map` - apply an expression to all elements in the input and return the + /// * `map` - apply an expression to all elements in the input and return the /// output aggregate type: `[1, 2, 3].map(i, i * i)`. /// - /// The `has(m.x)` macro tests whether the property `x` is present in struct - /// `m`. The semantics of this macro depend on the type of `m`. For proto2 - /// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the - /// macro tests whether the property is set to its default. For map and struct - /// types, the macro tests whether the property `x` is defined on `m`. + /// The `has(m.x)` macro tests whether the property `x` is present in struct + /// `m`. The semantics of this macro depend on the type of `m`. For proto2 + /// messages `has(m.x)` is defined as 'defined, but not set`. For proto3, the + /// macro tests whether the property is set to its default. For map and struct + /// types, the macro tests whether the property `x` is defined on `m`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Comprehension { - /// The name of the iteration variable. + /// The name of the iteration variable. #[prost(string, tag="1")] pub iter_var: ::prost::alloc::string::String, - /// The range over which var iterates. + /// The range over which var iterates. #[prost(message, optional, boxed, tag="2")] pub iter_range: ::core::option::Option<::prost::alloc::boxed::Box>, - /// The name of the variable used for accumulation of the result. + /// The name of the variable used for accumulation of the result. #[prost(string, tag="3")] pub accu_var: ::prost::alloc::string::String, - /// The initial value of the accumulator. + /// The initial value of the accumulator. #[prost(message, optional, boxed, tag="4")] pub accu_init: ::core::option::Option<::prost::alloc::boxed::Box>, - /// An expression which can contain iter_var and accu_var. + /// An expression which can contain iter_var and accu_var. /// - /// Returns false when the result has been computed and may be used as - /// a hint to short-circuit the remainder of the comprehension. + /// Returns false when the result has been computed and may be used as + /// a hint to short-circuit the remainder of the comprehension. #[prost(message, optional, boxed, tag="5")] pub loop_condition: ::core::option::Option<::prost::alloc::boxed::Box>, - /// An expression which can contain iter_var and accu_var. + /// An expression which can contain iter_var and accu_var. /// - /// Computes the next value of accu_var. + /// Computes the next value of accu_var. #[prost(message, optional, boxed, tag="6")] pub loop_step: ::core::option::Option<::prost::alloc::boxed::Box>, - /// An expression which can contain accu_var. + /// An expression which can contain accu_var. /// - /// Computes the result. + /// Computes the result. #[prost(message, optional, boxed, tag="7")] pub result: ::core::option::Option<::prost::alloc::boxed::Box>, } - /// Required. Variants of expressions. + /// Required. Variants of expressions. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ExprKind { - /// A literal expression. + /// A literal expression. #[prost(message, tag="3")] ConstExpr(super::Constant), - /// An identifier expression. + /// An identifier expression. #[prost(message, tag="4")] IdentExpr(Ident), - /// A field selection expression, e.g. `request.auth`. + /// A field selection expression, e.g. `request.auth`. #[prost(message, tag="5")] SelectExpr(::prost::alloc::boxed::Box), - /// A call expression, including calls to predefined functions and operators. + /// A call expression, including calls to predefined functions and operators. #[prost(message, tag="6")] CallExpr(::prost::alloc::boxed::Box), - /// A list creation expression. + /// A list creation expression. #[prost(message, tag="7")] ListExpr(CreateList), - /// A map or object creation expression. + /// A map or object creation expression. #[prost(message, tag="8")] StructExpr(CreateStruct), - /// A comprehension expression. + /// A comprehension expression. #[prost(message, tag="9")] ComprehensionExpr(::prost::alloc::boxed::Box), } } -/// Represents a primitive literal. +/// Represents a primitive literal. /// -/// This is similar to the primitives supported in the well-known type -/// `google.protobuf.Value`, but richer so it can represent CEL's full range of -/// primitives. +/// This is similar to the primitives supported in the well-known type +/// `google.protobuf.Value`, but richer so it can represent CEL's full range of +/// primitives. /// -/// Lists and structs are not included as constants as these aggregate types may -/// contain \[Expr][google.api.expr.v1beta1.Expr\] elements which require evaluation and are thus not constant. +/// Lists and structs are not included as constants as these aggregate types may +/// contain \[Expr][google.api.expr.v1beta1.Expr\] elements which require evaluation and are thus not constant. /// -/// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, -/// `true`, `null`. +/// Examples of literals include: `"hello"`, `b'bytes'`, `1u`, `4.2`, `-2`, +/// `true`, `null`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Literal { - /// Required. The valid constant kinds. + /// Required. The valid constant kinds. #[prost(oneof="literal::ConstantKind", tags="1, 2, 3, 4, 5, 6, 7")] pub constant_kind: ::core::option::Option, } /// Nested message and enum types in `Literal`. pub mod literal { - /// Required. The valid constant kinds. + /// Required. The valid constant kinds. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConstantKind { - /// null value. + /// null value. #[prost(enumeration="::prost_types::NullValue", tag="1")] NullValue(i32), - /// boolean value. + /// boolean value. #[prost(bool, tag="2")] BoolValue(bool), - /// int64 value. + /// int64 value. #[prost(int64, tag="3")] Int64Value(i64), - /// uint64 value. + /// uint64 value. #[prost(uint64, tag="4")] Uint64Value(u64), - /// double value. + /// double value. #[prost(double, tag="5")] DoubleValue(f64), - /// string value. + /// string value. #[prost(string, tag="6")] StringValue(::prost::alloc::string::String), - /// bytes value. + /// bytes value. #[prost(bytes, tag="7")] BytesValue(::prost::alloc::vec::Vec), } } -/// A declaration. +/// A declaration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Decl { - /// The id of the declaration. + /// The id of the declaration. #[prost(int32, tag="1")] pub id: i32, - /// The name of the declaration. + /// The name of the declaration. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// The documentation string for the declaration. + /// The documentation string for the declaration. #[prost(string, tag="3")] pub doc: ::prost::alloc::string::String, - /// The kind of declaration. + /// The kind of declaration. #[prost(oneof="decl::Kind", tags="4, 5")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Decl`. pub mod decl { - /// The kind of declaration. + /// The kind of declaration. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// An identifier declaration. + /// An identifier declaration. #[prost(message, tag="4")] Ident(super::IdentDecl), - /// A function declaration. + /// A function declaration. #[prost(message, tag="5")] Function(super::FunctionDecl), } } -/// The declared type of a variable. +/// The declared type of a variable. /// -/// Extends runtime type values with extra information used for type checking -/// and dispatching. +/// Extends runtime type values with extra information used for type checking +/// and dispatching. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeclType { - /// The expression id of the declared type, if applicable. + /// The expression id of the declared type, if applicable. #[prost(int32, tag="1")] pub id: i32, - /// The type name, e.g. 'int', 'my.type.Type' or 'T' + /// The type name, e.g. 'int', 'my.type.Type' or 'T' #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// An ordered list of type parameters, e.g. ``. - /// Only applies to a subset of types, e.g. `map`, `list`. + /// An ordered list of type parameters, e.g. ``. + /// Only applies to a subset of types, e.g. `map`, `list`. #[prost(message, repeated, tag="4")] pub type_params: ::prost::alloc::vec::Vec, } -/// An identifier declaration. +/// An identifier declaration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentDecl { - /// Optional type of the identifier. + /// Optional type of the identifier. #[prost(message, optional, tag="3")] pub r#type: ::core::option::Option, - /// Optional value of the identifier. + /// Optional value of the identifier. #[prost(message, optional, tag="4")] pub value: ::core::option::Option, } -/// A function declaration. +/// A function declaration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FunctionDecl { - /// The function arguments. + /// The function arguments. #[prost(message, repeated, tag="1")] pub args: ::prost::alloc::vec::Vec, - /// Optional declared return type. + /// Optional declared return type. #[prost(message, optional, tag="2")] pub return_type: ::core::option::Option, - /// If the first argument of the function is the receiver. + /// If the first argument of the function is the receiver. #[prost(bool, tag="3")] pub receiver_function: bool, } -/// Represents a CEL value. +/// Represents a CEL value. /// -/// This is similar to `google.protobuf.Value`, but can represent CEL's full -/// range of values. +/// This is similar to `google.protobuf.Value`, but can represent CEL's full +/// range of values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// Required. The valid kinds of values. + /// Required. The valid kinds of values. #[prost(oneof="value::Kind", tags="1, 2, 3, 4, 5, 6, 7, 9, 10, 11, 12, 15")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// Required. The valid kinds of values. + /// Required. The valid kinds of values. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Null value. + /// Null value. #[prost(enumeration="::prost_types::NullValue", tag="1")] NullValue(i32), - /// Boolean value. + /// Boolean value. #[prost(bool, tag="2")] BoolValue(bool), - /// Signed integer value. + /// Signed integer value. #[prost(int64, tag="3")] Int64Value(i64), - /// Unsigned integer value. + /// Unsigned integer value. #[prost(uint64, tag="4")] Uint64Value(u64), - /// Floating point value. + /// Floating point value. #[prost(double, tag="5")] DoubleValue(f64), - /// UTF-8 string value. + /// UTF-8 string value. #[prost(string, tag="6")] StringValue(::prost::alloc::string::String), - /// Byte string value. + /// Byte string value. #[prost(bytes, tag="7")] BytesValue(::prost::alloc::vec::Vec), - /// An enum value. + /// An enum value. #[prost(message, tag="9")] EnumValue(super::EnumValue), - /// The proto message backing an object value. + /// The proto message backing an object value. #[prost(message, tag="10")] ObjectValue(::prost_types::Any), - /// Map value. + /// Map value. #[prost(message, tag="11")] MapValue(super::MapValue), - /// List value. + /// List value. #[prost(message, tag="12")] ListValue(super::ListValue), - /// A Type value represented by the fully qualified name of the type. + /// A Type value represented by the fully qualified name of the type. #[prost(string, tag="15")] TypeValue(::prost::alloc::string::String), } } -/// An enum value. +/// An enum value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// The fully qualified name of the enum type. + /// The fully qualified name of the enum type. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// The value of the enum. + /// The value of the enum. #[prost(int32, tag="2")] pub value: i32, } -/// A list. +/// A list. /// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. +/// Wrapped in a message so 'not set' and empty can be differentiated, which is +/// required for use in a 'oneof'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListValue { - /// The ordered values in the list. + /// The ordered values in the list. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A map. +/// A map. /// -/// Wrapped in a message so 'not set' and empty can be differentiated, which is -/// required for use in a 'oneof'. +/// Wrapped in a message so 'not set' and empty can be differentiated, which is +/// required for use in a 'oneof'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MapValue { - /// The set of map entries. + /// The set of map entries. /// - /// CEL has fewer restrictions on keys, so a protobuf map represenation - /// cannot be used. + /// CEL has fewer restrictions on keys, so a protobuf map represenation + /// cannot be used. #[prost(message, repeated, tag="1")] pub entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MapValue`. pub mod map_value { - /// An entry in the map. + /// An entry in the map. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The key. + /// The key. /// - /// Must be unique with in the map. - /// Currently only boolean, int, uint, and string values can be keys. + /// Must be unique with in the map. + /// Currently only boolean, int, uint, and string values can be keys. #[prost(message, optional, tag="1")] pub key: ::core::option::Option, - /// The value. + /// The value. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } } -/// The state of an evaluation. +/// The state of an evaluation. /// -/// Can represent an initial, partial, or completed state of evaluation. +/// Can represent an initial, partial, or completed state of evaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvalState { - /// The unique values referenced in this message. + /// The unique values referenced in this message. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, - /// An ordered list of results. + /// An ordered list of results. /// - /// Tracks the flow of evaluation through the expression. - /// May be sparse. + /// Tracks the flow of evaluation through the expression. + /// May be sparse. #[prost(message, repeated, tag="3")] pub results: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EvalState`. pub mod eval_state { - /// A single evaluation result. + /// A single evaluation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - /// The expression this result is for. + /// The expression this result is for. #[prost(message, optional, tag="1")] pub expr: ::core::option::Option, - /// The index in `values` of the resulting value. + /// The index in `values` of the resulting value. #[prost(int32, tag="2")] pub value: i32, } } -/// The value of an evaluated expression. +/// The value of an evaluated expression. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExprValue { - /// An expression can resolve to a value, error or unknown. + /// An expression can resolve to a value, error or unknown. #[prost(oneof="expr_value::Kind", tags="1, 2, 3")] pub kind: ::core::option::Option, } /// Nested message and enum types in `ExprValue`. pub mod expr_value { - /// An expression can resolve to a value, error or unknown. + /// An expression can resolve to a value, error or unknown. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// A concrete value. + /// A concrete value. #[prost(message, tag="1")] Value(super::Value), - /// The set of errors in the critical path of evalution. + /// The set of errors in the critical path of evalution. /// - /// Only errors in the critical path are included. For example, - /// `( || true) && ` will only result in ``, - /// while ` || ` will result in both `` and - /// ``. + /// Only errors in the critical path are included. For example, + /// `( || true) && ` will only result in ``, + /// while ` || ` will result in both `` and + /// ``. /// - /// Errors cause by the presence of other errors are not included in the - /// set. For example `.foo`, `foo()`, and ` + 1` will - /// only result in ``. + /// Errors cause by the presence of other errors are not included in the + /// set. For example `.foo`, `foo()`, and ` + 1` will + /// only result in ``. /// - /// Multiple errors *might* be included when evaluation could result - /// in different errors. For example ` + ` and - /// `foo(, )` may result in ``, `` or both. - /// The exact subset of errors included for this case is unspecified and - /// depends on the implementation details of the evaluator. + /// Multiple errors *might* be included when evaluation could result + /// in different errors. For example ` + ` and + /// `foo(, )` may result in ``, `` or both. + /// The exact subset of errors included for this case is unspecified and + /// depends on the implementation details of the evaluator. #[prost(message, tag="2")] Error(super::ErrorSet), - /// The set of unknowns in the critical path of evaluation. + /// The set of unknowns in the critical path of evaluation. /// - /// Unknown behaves identically to Error with regards to propagation. - /// Specifically, only unknowns in the critical path are included, unknowns - /// caused by the presence of other unknowns are not included, and multiple - /// unknowns *might* be included included when evaluation could result in - /// different unknowns. For example: + /// Unknown behaves identically to Error with regards to propagation. + /// Specifically, only unknowns in the critical path are included, unknowns + /// caused by the presence of other unknowns are not included, and multiple + /// unknowns *might* be included included when evaluation could result in + /// different unknowns. For example: /// /// ( || true) && -> /// || -> @@ -556,13 +556,13 @@ pub mod expr_value { /// foo() -> /// + -> or /// - /// Unknown takes precidence over Error in cases where a `Value` can short - /// circuit the result: + /// Unknown takes precidence over Error in cases where a `Value` can short + /// circuit the result: /// /// || -> /// && -> /// - /// Errors take precidence in all other cases: + /// Errors take precidence in all other cases: /// /// + -> /// foo(, ) -> @@ -570,28 +570,28 @@ pub mod expr_value { Unknown(super::UnknownSet), } } -/// A set of errors. +/// A set of errors. /// -/// The errors included depend on the context. See `ExprValue.error`. +/// The errors included depend on the context. See `ExprValue.error`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorSet { - /// The errors in the set. + /// The errors in the set. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, } -/// A set of expressions for which the value is unknown. +/// A set of expressions for which the value is unknown. /// -/// The unknowns included depend on the context. See `ExprValue.unknown`. +/// The unknowns included depend on the context. See `ExprValue.unknown`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnknownSet { - /// The ids of the expressions with unknown values. + /// The ids of the expressions with unknown values. #[prost(message, repeated, tag="1")] pub exprs: ::prost::alloc::vec::Vec, } -/// A reference to an expression id. +/// A reference to an expression id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdRef { - /// The expression id. + /// The expression id. #[prost(int32, tag="1")] pub id: i32, } diff --git a/gcloud-sdk/genproto/google.api.rs b/gcloud-sdk/genproto/google.api.rs index fb2a4d00b..68ed3e5e9 100644 --- a/gcloud-sdk/genproto/google.api.rs +++ b/gcloud-sdk/genproto/google.api.rs @@ -1,44 +1,44 @@ -/// An indicator of the behavior of a given field (for example, that a field -/// is required in requests, or given as output but ignored as input). -/// This **does not** change the behavior in protocol buffers itself; it only -/// denotes the behavior and may affect how API tooling handles the field. +/// An indicator of the behavior of a given field (for example, that a field +/// is required in requests, or given as output but ignored as input). +/// This **does not** change the behavior in protocol buffers itself; it only +/// denotes the behavior and may affect how API tooling handles the field. /// -/// Note: This enum **may** receive new values in the future. +/// Note: This enum **may** receive new values in the future. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FieldBehavior { - /// Conventional default for enums. Do not use this. + /// Conventional default for enums. Do not use this. Unspecified = 0, - /// Specifically denotes a field as optional. - /// While all fields in protocol buffers are optional, this may be specified - /// for emphasis if appropriate. + /// Specifically denotes a field as optional. + /// While all fields in protocol buffers are optional, this may be specified + /// for emphasis if appropriate. Optional = 1, - /// Denotes a field as required. - /// This indicates that the field **must** be provided as part of the request, - /// and failure to do so will cause an error (usually `INVALID_ARGUMENT`). + /// Denotes a field as required. + /// This indicates that the field **must** be provided as part of the request, + /// and failure to do so will cause an error (usually `INVALID_ARGUMENT`). Required = 2, - /// Denotes a field as output only. - /// This indicates that the field is provided in responses, but including the - /// field in a request does nothing (the server *must* ignore it and - /// *must not* throw an error as a result of the field's presence). + /// Denotes a field as output only. + /// This indicates that the field is provided in responses, but including the + /// field in a request does nothing (the server *must* ignore it and + /// *must not* throw an error as a result of the field's presence). OutputOnly = 3, - /// Denotes a field as input only. - /// This indicates that the field is provided in requests, and the - /// corresponding field is not included in output. + /// Denotes a field as input only. + /// This indicates that the field is provided in requests, and the + /// corresponding field is not included in output. InputOnly = 4, - /// Denotes a field as immutable. - /// This indicates that the field may be set once in a request to create a - /// resource, but may not be changed thereafter. + /// Denotes a field as immutable. + /// This indicates that the field may be set once in a request to create a + /// resource, but may not be changed thereafter. Immutable = 5, - /// Denotes that a (repeated) field is an unordered list. - /// This indicates that the service may provide the elements of the list - /// in any arbitrary order, rather than the order the user originally - /// provided. Additionally, the list's order may or may not be stable. + /// Denotes that a (repeated) field is an unordered list. + /// This indicates that the service may provide the elements of the list + /// in any arbitrary order, rather than the order the user originally + /// provided. Additionally, the list's order may or may not be stable. UnorderedList = 6, - /// Denotes that this field returns a non-empty default value if not set. - /// This indicates that if the user provides the empty value in a request, - /// a non-empty value will be returned. The user will not be aware of what - /// non-empty value to expect. + /// Denotes that this field returns a non-empty default value if not set. + /// This indicates that if the user provides the empty value in a request, + /// a non-empty value will be returned. The user will not be aware of what + /// non-empty value to expect. NonEmptyDefault = 7, } impl FieldBehavior { @@ -59,13 +59,13 @@ impl FieldBehavior { } } } -/// A simple descriptor of a resource type. +/// A simple descriptor of a resource type. /// -/// ResourceDescriptor annotates a resource message (either by means of a -/// protobuf annotation or use in the service config), and associates the -/// resource's schema, the resource type, and the pattern of the resource name. +/// ResourceDescriptor annotates a resource message (either by means of a +/// protobuf annotation or use in the service config), and associates the +/// resource's schema, the resource type, and the pattern of the resource name. /// -/// Example: +/// Example: /// /// message Topic { /// // Indicates this message defines a resource schema. @@ -77,16 +77,16 @@ impl FieldBehavior { /// }; /// } /// -/// The ResourceDescriptor Yaml config will look like: +/// The ResourceDescriptor Yaml config will look like: /// /// resources: /// - type: "pubsub.googleapis.com/Topic" /// pattern: "projects/{project}/topics/{topic}" /// -/// Sometimes, resources have multiple patterns, typically because they can -/// live under multiple parents. +/// Sometimes, resources have multiple patterns, typically because they can +/// live under multiple parents. /// -/// Example: +/// Example: /// /// message LogEntry { /// option (google.api.resource) = { @@ -98,7 +98,7 @@ impl FieldBehavior { /// }; /// } /// -/// The ResourceDescriptor Yaml config will look like: +/// The ResourceDescriptor Yaml config will look like: /// /// resources: /// - type: 'logging.googleapis.com/LogEntry' @@ -108,46 +108,46 @@ impl FieldBehavior { /// pattern: "billingAccounts/{billing_account}/logs/{log}" #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceDescriptor { - /// The resource type. It must be in the format of - /// {service_name}/{resource_type_kind}. The `resource_type_kind` must be - /// singular and must not include version numbers. + /// The resource type. It must be in the format of + /// {service_name}/{resource_type_kind}. The `resource_type_kind` must be + /// singular and must not include version numbers. /// - /// Example: `storage.googleapis.com/Bucket` + /// Example: `storage.googleapis.com/Bucket` /// - /// The value of the resource_type_kind must follow the regular expression - /// /\[A-Za-z][a-zA-Z0-9\]+/. It should start with an upper case character and - /// should use PascalCase (UpperCamelCase). The maximum number of - /// characters allowed for the `resource_type_kind` is 100. + /// The value of the resource_type_kind must follow the regular expression + /// /\[A-Za-z][a-zA-Z0-9\]+/. It should start with an upper case character and + /// should use PascalCase (UpperCamelCase). The maximum number of + /// characters allowed for the `resource_type_kind` is 100. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Optional. The relative resource name pattern associated with this resource - /// type. The DNS prefix of the full resource name shouldn't be specified here. + /// Optional. The relative resource name pattern associated with this resource + /// type. The DNS prefix of the full resource name shouldn't be specified here. /// - /// The path pattern must follow the syntax, which aligns with HTTP binding - /// syntax: + /// The path pattern must follow the syntax, which aligns with HTTP binding + /// syntax: /// /// Template = Segment { "/" Segment } ; /// Segment = LITERAL | Variable ; /// Variable = "{" LITERAL "}" ; /// - /// Examples: + /// Examples: /// /// - "projects/{project}/topics/{topic}" /// - "projects/{project}/knowledgeBases/{knowledge_base}" /// - /// The components in braces correspond to the IDs for each resource in the - /// hierarchy. It is expected that, if multiple patterns are provided, - /// the same component name (e.g. "project") refers to IDs of the same - /// type of resource. + /// The components in braces correspond to the IDs for each resource in the + /// hierarchy. It is expected that, if multiple patterns are provided, + /// the same component name (e.g. "project") refers to IDs of the same + /// type of resource. #[prost(string, repeated, tag="2")] pub pattern: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The field on the resource that designates the resource name - /// field. If omitted, this is assumed to be "name". + /// Optional. The field on the resource that designates the resource name + /// field. If omitted, this is assumed to be "name". #[prost(string, tag="3")] pub name_field: ::prost::alloc::string::String, - /// Optional. The historical or future-looking state of the resource pattern. + /// Optional. The historical or future-looking state of the resource pattern. /// - /// Example: + /// Example: /// /// // The InspectTemplate message originally only supported resource /// // names with organization, and project was added later. @@ -162,42 +162,42 @@ pub struct ResourceDescriptor { /// } #[prost(enumeration="resource_descriptor::History", tag="4")] pub history: i32, - /// The plural name used in the resource name and permission names, such as - /// 'projects' for the resource name of 'projects/{project}' and the permission - /// name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same - /// concept of the `plural` field in k8s CRD spec - /// - /// - /// Note: The plural form is required even for singleton resources. See - /// + /// The plural name used in the resource name and permission names, such as + /// 'projects' for the resource name of 'projects/{project}' and the permission + /// name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same + /// concept of the `plural` field in k8s CRD spec + /// + /// + /// Note: The plural form is required even for singleton resources. See + /// #[prost(string, tag="5")] pub plural: ::prost::alloc::string::String, - /// The same concept of the `singular` field in k8s CRD spec - /// - /// Such as "project" for the `resourcemanager.googleapis.com/Project` type. + /// The same concept of the `singular` field in k8s CRD spec + /// + /// Such as "project" for the `resourcemanager.googleapis.com/Project` type. #[prost(string, tag="6")] pub singular: ::prost::alloc::string::String, - /// Style flag(s) for this resource. - /// These indicate that a resource is expected to conform to a given - /// style. See the specific style flags for additional information. + /// Style flag(s) for this resource. + /// These indicate that a resource is expected to conform to a given + /// style. See the specific style flags for additional information. #[prost(enumeration="resource_descriptor::Style", repeated, tag="10")] pub style: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ResourceDescriptor`. pub mod resource_descriptor { - /// A description of the historical or future-looking state of the - /// resource pattern. + /// A description of the historical or future-looking state of the + /// resource pattern. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum History { - /// The "unset" value. + /// The "unset" value. Unspecified = 0, - /// The resource originally had one pattern and launched as such, and - /// additional patterns were added later. + /// The resource originally had one pattern and launched as such, and + /// additional patterns were added later. OriginallySinglePattern = 1, - /// The resource has one pattern, but the API owner expects to add more - /// later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents - /// that from being necessary once there are multiple patterns.) + /// The resource has one pattern, but the API owner expects to add more + /// later. (This is the inverse of ORIGINALLY_SINGLE_PATTERN, and prevents + /// that from being necessary once there are multiple patterns.) FutureMultiPattern = 2, } impl History { @@ -213,20 +213,20 @@ pub mod resource_descriptor { } } } - /// A flag representing a specific style that a resource claims to conform to. + /// A flag representing a specific style that a resource claims to conform to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Style { - /// The unspecified value. Do not use. + /// The unspecified value. Do not use. Unspecified = 0, - /// This resource is intended to be "declarative-friendly". + /// This resource is intended to be "declarative-friendly". /// - /// Declarative-friendly resources must be more strictly consistent, and - /// setting this to true communicates to tools that this resource should - /// adhere to declarative-friendly expectations. + /// Declarative-friendly resources must be more strictly consistent, and + /// setting this to true communicates to tools that this resource should + /// adhere to declarative-friendly expectations. /// - /// Note: This is used by the API linter (linter.aip.dev) to enable - /// additional checks. + /// Note: This is used by the API linter (linter.aip.dev) to enable + /// additional checks. DeclarativeFriendly = 1, } impl Style { @@ -242,13 +242,13 @@ pub mod resource_descriptor { } } } -/// Defines a proto annotation that describes a string field that refers to -/// an API resource. +/// Defines a proto annotation that describes a string field that refers to +/// an API resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceReference { - /// The resource type that the annotated field references. + /// The resource type that the annotated field references. /// - /// Example: + /// Example: /// /// message Subscription { /// string topic = 2 [(google.api.resource_reference) = { @@ -256,10 +256,10 @@ pub struct ResourceReference { /// }]; /// } /// - /// Occasionally, a field may reference an arbitrary resource. In this case, - /// APIs use the special value * in their resource reference. + /// Occasionally, a field may reference an arbitrary resource. In this case, + /// APIs use the special value * in their resource reference. /// - /// Example: + /// Example: /// /// message GetIamPolicyRequest { /// string resource = 2 [(google.api.resource_reference) = { @@ -268,11 +268,11 @@ pub struct ResourceReference { /// } #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// The resource type of a child collection that the annotated field - /// references. This is useful for annotating the `parent` field that - /// doesn't have a fixed resource type. + /// The resource type of a child collection that the annotated field + /// references. This is useful for annotating the `parent` field that + /// doesn't have a fixed resource type. /// - /// Example: + /// Example: /// /// message ListLogEntriesRequest { /// string parent = 1 [(google.api.resource_reference) = { @@ -282,49 +282,49 @@ pub struct ResourceReference { #[prost(string, tag="2")] pub child_type: ::prost::alloc::string::String, } -/// Defines the HTTP configuration for an API service. It contains a list of -/// \[HttpRule][google.api.HttpRule\], each specifying the mapping of an RPC method -/// to one or more HTTP REST API methods. +/// Defines the HTTP configuration for an API service. It contains a list of +/// \[HttpRule][google.api.HttpRule\], each specifying the mapping of an RPC method +/// to one or more HTTP REST API methods. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Http { - /// A list of HTTP configuration rules that apply to individual API methods. + /// A list of HTTP configuration rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, - /// When set to true, URL path parameters will be fully URI-decoded except in - /// cases of single segment matches in reserved expansion, where "%2F" will be - /// left encoded. + /// When set to true, URL path parameters will be fully URI-decoded except in + /// cases of single segment matches in reserved expansion, where "%2F" will be + /// left encoded. /// - /// The default behavior is to not decode RFC 6570 reserved characters in multi - /// segment matches. + /// The default behavior is to not decode RFC 6570 reserved characters in multi + /// segment matches. #[prost(bool, tag="2")] pub fully_decode_reserved_expansion: bool, } -/// # gRPC Transcoding +/// # gRPC Transcoding /// -/// gRPC Transcoding is a feature for mapping between a gRPC method and one or -/// more HTTP REST endpoints. It allows developers to build a single API service -/// that supports both gRPC APIs and REST APIs. Many systems, including [Google -/// APIs](), -/// [Cloud Endpoints](), [gRPC -/// Gateway](), -/// and \[Envoy\]() proxy support this feature -/// and use it for large scale production services. +/// gRPC Transcoding is a feature for mapping between a gRPC method and one or +/// more HTTP REST endpoints. It allows developers to build a single API service +/// that supports both gRPC APIs and REST APIs. Many systems, including [Google +/// APIs](), +/// [Cloud Endpoints](), [gRPC +/// Gateway](), +/// and \[Envoy\]() proxy support this feature +/// and use it for large scale production services. /// -/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies -/// how different portions of the gRPC request message are mapped to the URL -/// path, URL query parameters, and HTTP request body. It also controls how the -/// gRPC response message is mapped to the HTTP response body. `HttpRule` is -/// typically specified as an `google.api.http` annotation on the gRPC method. +/// `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies +/// how different portions of the gRPC request message are mapped to the URL +/// path, URL query parameters, and HTTP request body. It also controls how the +/// gRPC response message is mapped to the HTTP response body. `HttpRule` is +/// typically specified as an `google.api.http` annotation on the gRPC method. /// -/// Each mapping specifies a URL path template and an HTTP method. The path -/// template may refer to one or more fields in the gRPC request message, as long -/// as each field is a non-repeated field with a primitive (non-message) type. -/// The path template controls how fields of the request message are mapped to -/// the URL path. +/// Each mapping specifies a URL path template and an HTTP method. The path +/// template may refer to one or more fields in the gRPC request message, as long +/// as each field is a non-repeated field with a primitive (non-message) type. +/// The path template controls how fields of the request message are mapped to +/// the URL path. /// -/// Example: +/// Example: /// /// service Messaging { /// rpc GetMessage(GetMessageRequest) returns (Message) { @@ -340,15 +340,15 @@ pub struct Http { /// string text = 1; // The resource content. /// } /// -/// This enables an HTTP REST to gRPC mapping as below: +/// This enables an HTTP REST to gRPC mapping as below: /// -/// HTTP | gRPC -/// -----|----- -/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")` /// -/// Any fields in the request message which are not bound by the path template -/// automatically become HTTP query parameters if there is no HTTP request body. -/// For example: +/// Any fields in the request message which are not bound by the path template +/// automatically become HTTP query parameters if there is no HTTP request body. +/// For example: /// /// service Messaging { /// rpc GetMessage(GetMessageRequest) returns (Message) { @@ -366,24 +366,24 @@ pub struct Http { /// SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`. /// } /// -/// This enables a HTTP JSON to RPC mapping as below: +/// This enables a HTTP JSON to RPC mapping as below: /// -/// HTTP | gRPC -/// -----|----- -/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | -/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: -/// "foo"))` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456?revision=2&sub.subfield=foo` | +/// `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield: +/// "foo"))` /// -/// Note that fields which are mapped to URL query parameters must have a -/// primitive type or a repeated primitive type or a non-repeated message type. -/// In the case of a repeated type, the parameter can be repeated in the URL -/// as `...?param=A¶m=B`. In the case of a message type, each field of the -/// message is mapped to a separate parameter, such as -/// `...?foo.a=A&foo.b=B&foo.c=C`. +/// Note that fields which are mapped to URL query parameters must have a +/// primitive type or a repeated primitive type or a non-repeated message type. +/// In the case of a repeated type, the parameter can be repeated in the URL +/// as `...?param=A¶m=B`. In the case of a message type, each field of the +/// message is mapped to a separate parameter, such as +/// `...?foo.a=A&foo.b=B&foo.c=C`. /// -/// For HTTP methods that allow a request body, the `body` field -/// specifies the mapping. Consider a REST update method on the -/// message resource collection: +/// For HTTP methods that allow a request body, the `body` field +/// specifies the mapping. Consider a REST update method on the +/// message resource collection: /// /// service Messaging { /// rpc UpdateMessage(UpdateMessageRequest) returns (Message) { @@ -398,19 +398,19 @@ pub struct Http { /// Message message = 2; // mapped to the body /// } /// -/// The following HTTP JSON to RPC mapping is enabled, where the -/// representation of the JSON in the request body is determined by -/// protos JSON encoding: +/// The following HTTP JSON to RPC mapping is enabled, where the +/// representation of the JSON in the request body is determined by +/// protos JSON encoding: /// -/// HTTP | gRPC -/// -----|----- -/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -/// "123456" message { text: "Hi!" })` +/// HTTP | gRPC +/// -----|----- +/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +/// "123456" message { text: "Hi!" })` /// -/// The special name `*` can be used in the body mapping to define that -/// every field not bound by the path template should be mapped to the -/// request body. This enables the following alternative definition of -/// the update method: +/// The special name `*` can be used in the body mapping to define that +/// every field not bound by the path template should be mapped to the +/// request body. This enables the following alternative definition of +/// the update method: /// /// service Messaging { /// rpc UpdateMessage(Message) returns (Message) { @@ -426,21 +426,21 @@ pub struct Http { /// } /// /// -/// The following HTTP JSON to RPC mapping is enabled: +/// The following HTTP JSON to RPC mapping is enabled: /// -/// HTTP | gRPC -/// -----|----- -/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: -/// "123456" text: "Hi!")` +/// HTTP | gRPC +/// -----|----- +/// `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id: +/// "123456" text: "Hi!")` /// -/// Note that when using `*` in the body mapping, it is not possible to -/// have HTTP parameters, as all fields not bound by the path end in -/// the body. This makes this option more rarely used in practice when -/// defining REST APIs. The common usage of `*` is in custom methods -/// which don't use the URL at all for transferring data. +/// Note that when using `*` in the body mapping, it is not possible to +/// have HTTP parameters, as all fields not bound by the path end in +/// the body. This makes this option more rarely used in practice when +/// defining REST APIs. The common usage of `*` is in custom methods +/// which don't use the URL at all for transferring data. /// -/// It is possible to define multiple HTTP methods for one RPC by using -/// the `additional_bindings` option. Example: +/// It is possible to define multiple HTTP methods for one RPC by using +/// the `additional_bindings` option. Example: /// /// service Messaging { /// rpc GetMessage(GetMessageRequest) returns (Message) { @@ -457,17 +457,17 @@ pub struct Http { /// string user_id = 2; /// } /// -/// This enables the following two alternative HTTP JSON to RPC mappings: +/// This enables the following two alternative HTTP JSON to RPC mappings: /// -/// HTTP | gRPC -/// -----|----- -/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` -/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: -/// "123456")` +/// HTTP | gRPC +/// -----|----- +/// `GET /v1/messages/123456` | `GetMessage(message_id: "123456")` +/// `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id: +/// "123456")` /// -/// ## Rules for HTTP mapping +/// ## Rules for HTTP mapping /// -/// 1. Leaf request fields (recursive expansion nested messages in the request +/// 1. Leaf request fields (recursive expansion nested messages in the request /// message) are classified into three categories: /// - Fields referred by the path template. They are passed via the URL path. /// - Fields referred by the \[HttpRule.body][google.api.HttpRule.body\]. They are passed via the HTTP @@ -481,7 +481,7 @@ pub struct Http { /// 3. If \[HttpRule.body][google.api.HttpRule.body\] is omitted, there is no HTTP request body, all /// fields are passed via URL path and URL query parameters. /// -/// ### Path template syntax +/// ### Path template syntax /// /// Template = "/" Segments [ Verb ] ; /// Segments = Segment { "/" Segment } ; @@ -490,52 +490,52 @@ pub struct Http { /// FieldPath = IDENT { "." IDENT } ; /// Verb = ":" LITERAL ; /// -/// The syntax `*` matches a single URL path segment. The syntax `**` matches -/// zero or more URL path segments, which must be the last part of the URL path -/// except the `Verb`. -/// -/// The syntax `Variable` matches part of the URL path as specified by its -/// template. A variable template must not contain other variables. If a variable -/// matches a single path segment, its template may be omitted, e.g. `{var}` -/// is equivalent to `{var=*}`. -/// -/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` -/// contains any reserved character, such characters should be percent-encoded -/// before the matching. -/// -/// If a variable contains exactly one path segment, such as `"{var}"` or -/// `"{var=*}"`, when such a variable is expanded into a URL path on the client -/// side, all characters except `\[-_.~0-9a-zA-Z\]` are percent-encoded. The -/// server side does the reverse decoding. Such variables show up in the -/// [Discovery -/// Document]() as -/// `{var}`. -/// -/// If a variable contains multiple path segments, such as `"{var=foo/*}"` -/// or `"{var=**}"`, when such a variable is expanded into a URL path on the -/// client side, all characters except `\[-_.~/0-9a-zA-Z\]` are percent-encoded. -/// The server side does the reverse decoding, except "%2F" and "%2f" are left -/// unchanged. Such variables show up in the -/// [Discovery -/// Document]() as -/// `{+var}`. -/// -/// ## Using gRPC API Service Configuration -/// -/// gRPC API Service Configuration (service config) is a configuration language -/// for configuring a gRPC service to become a user-facing product. The -/// service config is simply the YAML representation of the `google.api.Service` -/// proto message. -/// -/// As an alternative to annotating your proto file, you can configure gRPC -/// transcoding in your service config YAML files. You do this by specifying a -/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same -/// effect as the proto annotation. This can be particularly useful if you -/// have a proto that is reused in multiple services. Note that any transcoding -/// specified in the service config will override any matching transcoding -/// configuration in the proto. -/// -/// Example: +/// The syntax `*` matches a single URL path segment. The syntax `**` matches +/// zero or more URL path segments, which must be the last part of the URL path +/// except the `Verb`. +/// +/// The syntax `Variable` matches part of the URL path as specified by its +/// template. A variable template must not contain other variables. If a variable +/// matches a single path segment, its template may be omitted, e.g. `{var}` +/// is equivalent to `{var=*}`. +/// +/// The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL` +/// contains any reserved character, such characters should be percent-encoded +/// before the matching. +/// +/// If a variable contains exactly one path segment, such as `"{var}"` or +/// `"{var=*}"`, when such a variable is expanded into a URL path on the client +/// side, all characters except `\[-_.~0-9a-zA-Z\]` are percent-encoded. The +/// server side does the reverse decoding. Such variables show up in the +/// [Discovery +/// Document]() as +/// `{var}`. +/// +/// If a variable contains multiple path segments, such as `"{var=foo/*}"` +/// or `"{var=**}"`, when such a variable is expanded into a URL path on the +/// client side, all characters except `\[-_.~/0-9a-zA-Z\]` are percent-encoded. +/// The server side does the reverse decoding, except "%2F" and "%2f" are left +/// unchanged. Such variables show up in the +/// [Discovery +/// Document]() as +/// `{+var}`. +/// +/// ## Using gRPC API Service Configuration +/// +/// gRPC API Service Configuration (service config) is a configuration language +/// for configuring a gRPC service to become a user-facing product. The +/// service config is simply the YAML representation of the `google.api.Service` +/// proto message. +/// +/// As an alternative to annotating your proto file, you can configure gRPC +/// transcoding in your service config YAML files. You do this by specifying a +/// `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same +/// effect as the proto annotation. This can be particularly useful if you +/// have a proto that is reused in multiple services. Note that any transcoding +/// specified in the service config will override any matching transcoding +/// configuration in the proto. +/// +/// Example: /// /// http: /// rules: @@ -543,112 +543,112 @@ pub struct Http { /// - selector: example.v1.Messaging.GetMessage /// get: /v1/messages/{message_id}/{sub.subfield} /// -/// ## Special notes +/// ## Special notes /// -/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the -/// proto to JSON conversion must follow the [proto3 -/// specification](). +/// When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the +/// proto to JSON conversion must follow the [proto3 +/// specification](). /// -/// While the single segment variable follows the semantics of -/// [RFC 6570]() Section 3.2.2 Simple String -/// Expansion, the multi segment variable **does not** follow RFC 6570 Section -/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion -/// does not expand special characters like `?` and `#`, which would lead -/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding -/// for multi segment variables. +/// While the single segment variable follows the semantics of +/// [RFC 6570]() Section 3.2.2 Simple String +/// Expansion, the multi segment variable **does not** follow RFC 6570 Section +/// 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion +/// does not expand special characters like `?` and `#`, which would lead +/// to invalid URLs. As the result, gRPC Transcoding uses a custom encoding +/// for multi segment variables. /// -/// The path variables **must not** refer to any repeated or mapped field, -/// because client libraries are not capable of handling such variable expansion. +/// The path variables **must not** refer to any repeated or mapped field, +/// because client libraries are not capable of handling such variable expansion. /// -/// The path variables **must not** capture the leading "/" character. The reason -/// is that the most common use case "{var}" does not capture the leading "/" -/// character. For consistency, all path variables must share the same behavior. +/// The path variables **must not** capture the leading "/" character. The reason +/// is that the most common use case "{var}" does not capture the leading "/" +/// character. For consistency, all path variables must share the same behavior. /// -/// Repeated message fields must not be mapped to URL query parameters, because -/// no client library can support such complicated mapping. +/// Repeated message fields must not be mapped to URL query parameters, because +/// no client library can support such complicated mapping. /// -/// If an API needs to use a JSON array for request or response body, it can map -/// the request or response body to a repeated field. However, some gRPC -/// Transcoding implementations may not support this feature. +/// If an API needs to use a JSON array for request or response body, it can map +/// the request or response body to a repeated field. However, some gRPC +/// Transcoding implementations may not support this feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRule { - /// Selects a method to which this rule applies. + /// Selects a method to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// The name of the request field whose value is mapped to the HTTP request - /// body, or `*` for mapping all request fields not captured by the path - /// pattern to the HTTP body, or omitted for not having any HTTP request body. + /// The name of the request field whose value is mapped to the HTTP request + /// body, or `*` for mapping all request fields not captured by the path + /// pattern to the HTTP body, or omitted for not having any HTTP request body. /// - /// NOTE: the referred field must be present at the top-level of the request - /// message type. + /// NOTE: the referred field must be present at the top-level of the request + /// message type. #[prost(string, tag="7")] pub body: ::prost::alloc::string::String, - /// Optional. The name of the response field whose value is mapped to the HTTP - /// response body. When omitted, the entire response message will be used - /// as the HTTP response body. + /// Optional. The name of the response field whose value is mapped to the HTTP + /// response body. When omitted, the entire response message will be used + /// as the HTTP response body. /// - /// NOTE: The referred field must be present at the top-level of the response - /// message type. + /// NOTE: The referred field must be present at the top-level of the response + /// message type. #[prost(string, tag="12")] pub response_body: ::prost::alloc::string::String, - /// Additional HTTP bindings for the selector. Nested bindings must - /// not contain an `additional_bindings` field themselves (that is, - /// the nesting may only be one level deep). + /// Additional HTTP bindings for the selector. Nested bindings must + /// not contain an `additional_bindings` field themselves (that is, + /// the nesting may only be one level deep). #[prost(message, repeated, tag="11")] pub additional_bindings: ::prost::alloc::vec::Vec, - /// Determines the URL pattern is matched by this rules. This pattern can be - /// used with any of the {get|put|post|delete|patch} methods. A custom method - /// can be defined using the 'custom' field. + /// Determines the URL pattern is matched by this rules. This pattern can be + /// used with any of the {get|put|post|delete|patch} methods. A custom method + /// can be defined using the 'custom' field. #[prost(oneof="http_rule::Pattern", tags="2, 3, 4, 5, 6, 8")] pub pattern: ::core::option::Option, } /// Nested message and enum types in `HttpRule`. pub mod http_rule { - /// Determines the URL pattern is matched by this rules. This pattern can be - /// used with any of the {get|put|post|delete|patch} methods. A custom method - /// can be defined using the 'custom' field. + /// Determines the URL pattern is matched by this rules. This pattern can be + /// used with any of the {get|put|post|delete|patch} methods. A custom method + /// can be defined using the 'custom' field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Pattern { - /// Maps to HTTP GET. Used for listing and getting information about - /// resources. + /// Maps to HTTP GET. Used for listing and getting information about + /// resources. #[prost(string, tag="2")] Get(::prost::alloc::string::String), - /// Maps to HTTP PUT. Used for replacing a resource. + /// Maps to HTTP PUT. Used for replacing a resource. #[prost(string, tag="3")] Put(::prost::alloc::string::String), - /// Maps to HTTP POST. Used for creating a resource or performing an action. + /// Maps to HTTP POST. Used for creating a resource or performing an action. #[prost(string, tag="4")] Post(::prost::alloc::string::String), - /// Maps to HTTP DELETE. Used for deleting a resource. + /// Maps to HTTP DELETE. Used for deleting a resource. #[prost(string, tag="5")] Delete(::prost::alloc::string::String), - /// Maps to HTTP PATCH. Used for updating a resource. + /// Maps to HTTP PATCH. Used for updating a resource. #[prost(string, tag="6")] Patch(::prost::alloc::string::String), - /// The custom pattern is used for specifying an HTTP method that is not - /// included in the `pattern` field, such as HEAD, or "*" to leave the - /// HTTP method unspecified for this rule. The wild-card rule is useful - /// for services that provide content to Web (HTML) clients. + /// The custom pattern is used for specifying an HTTP method that is not + /// included in the `pattern` field, such as HEAD, or "*" to leave the + /// HTTP method unspecified for this rule. The wild-card rule is useful + /// for services that provide content to Web (HTML) clients. #[prost(message, tag="8")] Custom(super::CustomHttpPattern), } } -/// A custom pattern is used for defining custom HTTP verb. +/// A custom pattern is used for defining custom HTTP verb. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomHttpPattern { - /// The name of this custom HTTP verb. + /// The name of this custom HTTP verb. #[prost(string, tag="1")] pub kind: ::prost::alloc::string::String, - /// The path matched by this custom verb. + /// The path matched by this custom verb. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `Authentication` defines the authentication configuration for API methods -/// provided by an API service. +/// `Authentication` defines the authentication configuration for API methods +/// provided by an API service. /// -/// Example: +/// Example: /// /// name: calendar.googleapis.com /// authentication: @@ -665,53 +665,53 @@ pub struct CustomHttpPattern { /// canonical_scopes: #[derive(Clone, PartialEq, ::prost::Message)] pub struct Authentication { - /// A list of authentication rules that apply to individual API methods. + /// A list of authentication rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="3")] pub rules: ::prost::alloc::vec::Vec, - /// Defines a set of authentication providers that a service supports. + /// Defines a set of authentication providers that a service supports. #[prost(message, repeated, tag="4")] pub providers: ::prost::alloc::vec::Vec, } -/// Authentication rules for the service. +/// Authentication rules for the service. /// -/// By default, if a method has any authentication requirements, every request -/// must include a valid credential matching one of the requirements. -/// It's an error to include more than one kind of credential in a single -/// request. +/// By default, if a method has any authentication requirements, every request +/// must include a valid credential matching one of the requirements. +/// It's an error to include more than one kind of credential in a single +/// request. /// -/// If a method doesn't have any auth requirements, request credentials will be -/// ignored. +/// If a method doesn't have any auth requirements, request credentials will be +/// ignored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthenticationRule { - /// Selects the methods to which this rule applies. + /// Selects the methods to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// The requirements for OAuth credentials. + /// The requirements for OAuth credentials. #[prost(message, optional, tag="2")] pub oauth: ::core::option::Option, - /// If true, the service accepts API keys without any other credential. - /// This flag only applies to HTTP and gRPC requests. + /// If true, the service accepts API keys without any other credential. + /// This flag only applies to HTTP and gRPC requests. #[prost(bool, tag="5")] pub allow_without_credential: bool, - /// Requirements for additional authentication providers. + /// Requirements for additional authentication providers. #[prost(message, repeated, tag="7")] pub requirements: ::prost::alloc::vec::Vec, } -/// Specifies a location to extract JWT from an API request. +/// Specifies a location to extract JWT from an API request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JwtLocation { - /// The value prefix. The value format is "value_prefix{token}" - /// Only applies to "in" header type. Must be empty for "in" query type. - /// If not empty, the header value has to match (case sensitive) this prefix. - /// If not matched, JWT will not be extracted. If matched, JWT will be - /// extracted after the prefix is removed. - /// - /// For example, for "Authorization: Bearer {JWT}", - /// value_prefix="Bearer " with a space at the end. + /// The value prefix. The value format is "value_prefix{token}" + /// Only applies to "in" header type. Must be empty for "in" query type. + /// If not empty, the header value has to match (case sensitive) this prefix. + /// If not matched, JWT will not be extracted. If matched, JWT will be + /// extracted after the prefix is removed. + /// + /// For example, for "Authorization: Bearer {JWT}", + /// value_prefix="Bearer " with a space at the end. #[prost(string, tag="3")] pub value_prefix: ::prost::alloc::string::String, #[prost(oneof="jwt_location::In", tags="1, 2")] @@ -721,37 +721,37 @@ pub struct JwtLocation { pub mod jwt_location { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum In { - /// Specifies HTTP header name to extract JWT token. + /// Specifies HTTP header name to extract JWT token. #[prost(string, tag="1")] Header(::prost::alloc::string::String), - /// Specifies URL query parameter name to extract JWT token. + /// Specifies URL query parameter name to extract JWT token. #[prost(string, tag="2")] Query(::prost::alloc::string::String), } } -/// Configuration for an authentication provider, including support for -/// [JSON Web Token -/// (JWT)](). +/// Configuration for an authentication provider, including support for +/// [JSON Web Token +/// (JWT)](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthProvider { - /// The unique identifier of the auth provider. It will be referred to by - /// `AuthRequirement.provider_id`. + /// The unique identifier of the auth provider. It will be referred to by + /// `AuthRequirement.provider_id`. /// - /// Example: "bookstore_auth". + /// Example: "bookstore_auth". #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Identifies the principal that issued the JWT. See - /// - /// Usually a URL or an email address. + /// Identifies the principal that issued the JWT. See + /// + /// Usually a URL or an email address. /// - /// Example: - /// Example: 1234567-compute@developer.gserviceaccount.com + /// Example: + /// Example: 1234567-compute@developer.gserviceaccount.com #[prost(string, tag="2")] pub issuer: ::prost::alloc::string::String, - /// URL of the provider's public key set to validate signature of the JWT. See - /// [OpenID - /// Discovery](). - /// Optional if the key set document: + /// URL of the provider's public key set to validate signature of the JWT. See + /// [OpenID + /// Discovery](). + /// Optional if the key set document: /// - can be retrieved from /// [OpenID /// Discovery]() @@ -759,44 +759,44 @@ pub struct AuthProvider { /// - can be inferred from the email domain of the issuer (e.g. a Google /// service account). /// - /// Example: + /// Example: #[prost(string, tag="3")] pub jwks_uri: ::prost::alloc::string::String, - /// The list of JWT - /// \[audiences\](). - /// that are allowed to access. A JWT containing any of these audiences will - /// be accepted. When this setting is absent, JWTs with audiences: + /// The list of JWT + /// \[audiences\](). + /// that are allowed to access. A JWT containing any of these audiences will + /// be accepted. When this setting is absent, JWTs with audiences: /// - " /// - " - /// will be accepted. - /// For example, if no audiences are in the setting, LibraryService API will - /// accept JWTs with the following audiences: + /// will be accepted. + /// For example, if no audiences are in the setting, LibraryService API will + /// accept JWTs with the following audiences: /// - /// /// - /// - /// Example: + /// Example: /// /// audiences: bookstore_android.apps.googleusercontent.com, /// bookstore_web.apps.googleusercontent.com #[prost(string, tag="4")] pub audiences: ::prost::alloc::string::String, - /// Redirect URL if JWT token is required but not present or is expired. - /// Implement authorizationUrl of securityDefinitions in OpenAPI spec. + /// Redirect URL if JWT token is required but not present or is expired. + /// Implement authorizationUrl of securityDefinitions in OpenAPI spec. #[prost(string, tag="5")] pub authorization_url: ::prost::alloc::string::String, - /// Defines the locations to extract the JWT. + /// Defines the locations to extract the JWT. /// - /// JWT locations can be either from HTTP headers or URL query parameters. - /// The rule is that the first match wins. The checking order is: checking - /// all headers first, then URL query parameters. + /// JWT locations can be either from HTTP headers or URL query parameters. + /// The rule is that the first match wins. The checking order is: checking + /// all headers first, then URL query parameters. /// - /// If not specified, default to use following 3 locations: + /// If not specified, default to use following 3 locations: /// 1) Authorization: Bearer /// 2) x-goog-iap-jwt-assertion /// 3) access_token query parameter /// - /// Default locations can be specified as followings: + /// Default locations can be specified as followings: /// jwt_locations: /// - header: Authorization /// value_prefix: "Bearer " @@ -805,88 +805,88 @@ pub struct AuthProvider { #[prost(message, repeated, tag="6")] pub jwt_locations: ::prost::alloc::vec::Vec, } -/// OAuth scopes are a way to define data and permissions on data. For example, -/// there are scopes defined for "Read-only access to Google Calendar" and -/// "Access to Cloud Platform". Users can consent to a scope for an application, -/// giving it permission to access that data on their behalf. +/// OAuth scopes are a way to define data and permissions on data. For example, +/// there are scopes defined for "Read-only access to Google Calendar" and +/// "Access to Cloud Platform". Users can consent to a scope for an application, +/// giving it permission to access that data on their behalf. /// -/// OAuth scope specifications should be fairly coarse grained; a user will need -/// to see and understand the text description of what your scope means. +/// OAuth scope specifications should be fairly coarse grained; a user will need +/// to see and understand the text description of what your scope means. /// -/// In most cases: use one or at most two OAuth scopes for an entire family of -/// products. If your product has multiple APIs, you should probably be sharing -/// the OAuth scope across all of those APIs. +/// In most cases: use one or at most two OAuth scopes for an entire family of +/// products. If your product has multiple APIs, you should probably be sharing +/// the OAuth scope across all of those APIs. /// -/// When you need finer grained OAuth consent screens: talk with your product -/// management about how developers will use them in practice. +/// When you need finer grained OAuth consent screens: talk with your product +/// management about how developers will use them in practice. /// -/// Please note that even though each of the canonical scopes is enough for a -/// request to be accepted and passed to the backend, a request can still fail -/// due to the backend requiring additional scopes or permissions. +/// Please note that even though each of the canonical scopes is enough for a +/// request to be accepted and passed to the backend, a request can still fail +/// due to the backend requiring additional scopes or permissions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OAuthRequirements { - /// The list of publicly documented OAuth scopes that are allowed access. An - /// OAuth token containing any of these scopes will be accepted. + /// The list of publicly documented OAuth scopes that are allowed access. An + /// OAuth token containing any of these scopes will be accepted. /// - /// Example: + /// Example: /// /// canonical_scopes: /// #[prost(string, tag="1")] pub canonical_scopes: ::prost::alloc::string::String, } -/// User-defined authentication requirements, including support for -/// [JSON Web Token -/// (JWT)](). +/// User-defined authentication requirements, including support for +/// [JSON Web Token +/// (JWT)](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthRequirement { - /// \[id][google.api.AuthProvider.id\] from authentication provider. + /// \[id][google.api.AuthProvider.id\] from authentication provider. /// - /// Example: + /// Example: /// /// provider_id: bookstore_auth #[prost(string, tag="1")] pub provider_id: ::prost::alloc::string::String, - /// NOTE: This will be deprecated soon, once AuthProvider.audiences is - /// implemented and accepted in all the runtime components. + /// NOTE: This will be deprecated soon, once AuthProvider.audiences is + /// implemented and accepted in all the runtime components. /// - /// The list of JWT - /// \[audiences\](). - /// that are allowed to access. A JWT containing any of these audiences will - /// be accepted. When this setting is absent, only JWTs with audience - /// " - /// will be accepted. For example, if no audiences are in the setting, - /// LibraryService API will only accept JWTs with the following audience - /// " + /// The list of JWT + /// \[audiences\](). + /// that are allowed to access. A JWT containing any of these audiences will + /// be accepted. When this setting is absent, only JWTs with audience + /// " + /// will be accepted. For example, if no audiences are in the setting, + /// LibraryService API will only accept JWTs with the following audience + /// " /// - /// Example: + /// Example: /// /// audiences: bookstore_android.apps.googleusercontent.com, /// bookstore_web.apps.googleusercontent.com #[prost(string, tag="2")] pub audiences: ::prost::alloc::string::String, } -/// `Backend` defines the backend configuration for a service. +/// `Backend` defines the backend configuration for a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Backend { - /// A list of API backend rules that apply to individual API methods. + /// A list of API backend rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A backend rule provides configuration for an individual API element. +/// A backend rule provides configuration for an individual API element. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendRule { - /// Selects the methods to which this rule applies. + /// Selects the methods to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// The address of the API backend. + /// The address of the API backend. /// - /// The scheme is used to determine the backend protocol and security. - /// The following schemes are accepted: + /// The scheme is used to determine the backend protocol and security. + /// The following schemes are accepted: /// /// SCHEME PROTOCOL SECURITY /// http:// HTTP None @@ -894,36 +894,36 @@ pub struct BackendRule { /// grpc:// gRPC None /// grpcs:// gRPC TLS /// - /// It is recommended to explicitly include a scheme. Leaving out the scheme - /// may cause constrasting behaviors across platforms. + /// It is recommended to explicitly include a scheme. Leaving out the scheme + /// may cause constrasting behaviors across platforms. /// - /// If the port is unspecified, the default is: - /// - 80 for schemes without TLS - /// - 443 for schemes with TLS + /// If the port is unspecified, the default is: + /// - 80 for schemes without TLS + /// - 443 for schemes with TLS /// - /// For HTTP backends, use \[protocol][google.api.BackendRule.protocol\] - /// to specify the protocol version. + /// For HTTP backends, use \[protocol][google.api.BackendRule.protocol\] + /// to specify the protocol version. #[prost(string, tag="2")] pub address: ::prost::alloc::string::String, - /// The number of seconds to wait for a response from a request. The default - /// varies based on the request protocol and deployment environment. + /// The number of seconds to wait for a response from a request. The default + /// varies based on the request protocol and deployment environment. #[prost(double, tag="3")] pub deadline: f64, - /// Minimum deadline in seconds needed for this method. Calls having deadline - /// value lower than this will be rejected. + /// Minimum deadline in seconds needed for this method. Calls having deadline + /// value lower than this will be rejected. #[prost(double, tag="4")] pub min_deadline: f64, - /// The number of seconds to wait for the completion of a long running - /// operation. The default is no deadline. + /// The number of seconds to wait for the completion of a long running + /// operation. The default is no deadline. #[prost(double, tag="5")] pub operation_deadline: f64, #[prost(enumeration="backend_rule::PathTranslation", tag="6")] pub path_translation: i32, - /// The protocol used for sending a request to the backend. - /// The supported values are "http/1.1" and "h2". + /// The protocol used for sending a request to the backend. + /// The supported values are "http/1.1" and "h2". /// - /// The default value is inferred from the scheme in the - /// \[address][google.api.BackendRule.address\] field: + /// The default value is inferred from the scheme in the + /// \[address][google.api.BackendRule.address\] field: /// /// SCHEME PROTOCOL /// http:// http/1.1 @@ -931,62 +931,62 @@ pub struct BackendRule { /// grpc:// h2 /// grpcs:// h2 /// - /// For secure HTTP backends (https://) that support HTTP/2, set this field - /// to "h2" for improved performance. + /// For secure HTTP backends (https://) that support HTTP/2, set this field + /// to "h2" for improved performance. /// - /// Configuring this field to non-default values is only supported for secure - /// HTTP backends. This field will be ignored for all other backends. + /// Configuring this field to non-default values is only supported for secure + /// HTTP backends. This field will be ignored for all other backends. /// - /// See - /// - /// for more details on the supported values. + /// See + /// + /// for more details on the supported values. #[prost(string, tag="9")] pub protocol: ::prost::alloc::string::String, - /// Authentication settings used by the backend. + /// Authentication settings used by the backend. /// - /// These are typically used to provide service management functionality to - /// a backend served on a publicly-routable URL. The `authentication` - /// details should match the authentication behavior used by the backend. + /// These are typically used to provide service management functionality to + /// a backend served on a publicly-routable URL. The `authentication` + /// details should match the authentication behavior used by the backend. /// - /// For example, specifying `jwt_audience` implies that the backend expects - /// authentication via a JWT. + /// For example, specifying `jwt_audience` implies that the backend expects + /// authentication via a JWT. /// - /// When authentication is unspecified, the resulting behavior is the same - /// as `disable_auth` set to `true`. + /// When authentication is unspecified, the resulting behavior is the same + /// as `disable_auth` set to `true`. /// - /// Refer to for - /// JWT ID token. + /// Refer to for + /// JWT ID token. #[prost(oneof="backend_rule::Authentication", tags="7, 8")] pub authentication: ::core::option::Option, } /// Nested message and enum types in `BackendRule`. pub mod backend_rule { - /// Path Translation specifies how to combine the backend address with the - /// request path in order to produce the appropriate forwarding URL for the - /// request. + /// Path Translation specifies how to combine the backend address with the + /// request path in order to produce the appropriate forwarding URL for the + /// request. /// - /// Path Translation is applicable only to HTTP-based backends. Backends which - /// do not accept requests over HTTP/HTTPS should leave `path_translation` - /// unspecified. + /// Path Translation is applicable only to HTTP-based backends. Backends which + /// do not accept requests over HTTP/HTTPS should leave `path_translation` + /// unspecified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PathTranslation { Unspecified = 0, - /// Use the backend address as-is, with no modification to the path. If the - /// URL pattern contains variables, the variable names and values will be - /// appended to the query string. If a query string parameter and a URL - /// pattern variable have the same name, this may result in duplicate keys in - /// the query string. + /// Use the backend address as-is, with no modification to the path. If the + /// URL pattern contains variables, the variable names and values will be + /// appended to the query string. If a query string parameter and a URL + /// pattern variable have the same name, this may result in duplicate keys in + /// the query string. /// - /// # Examples + /// # Examples /// - /// Given the following operation config: + /// Given the following operation config: /// /// Method path: /api/company/{cid}/user/{uid} /// Backend address: /// - /// Requests to the following request paths will call the backend at the - /// translated path: + /// Requests to the following request paths will call the backend at the + /// translated path: /// /// Request path: /api/company/widgetworks/user/johndoe /// Translated: @@ -996,17 +996,17 @@ pub mod backend_rule { /// Translated: /// ConstantAddress = 1, - /// The request path will be appended to the backend address. + /// The request path will be appended to the backend address. /// - /// # Examples + /// # Examples /// - /// Given the following operation config: + /// Given the following operation config: /// /// Method path: /api/company/{cid}/user/{uid} /// Backend address: /// - /// Requests to the following request paths will call the backend at the - /// translated path: + /// Requests to the following request paths will call the backend at the + /// translated path: /// /// Request path: /api/company/widgetworks/user/johndoe /// Translated: @@ -1030,43 +1030,43 @@ pub mod backend_rule { } } } - /// Authentication settings used by the backend. + /// Authentication settings used by the backend. /// - /// These are typically used to provide service management functionality to - /// a backend served on a publicly-routable URL. The `authentication` - /// details should match the authentication behavior used by the backend. + /// These are typically used to provide service management functionality to + /// a backend served on a publicly-routable URL. The `authentication` + /// details should match the authentication behavior used by the backend. /// - /// For example, specifying `jwt_audience` implies that the backend expects - /// authentication via a JWT. + /// For example, specifying `jwt_audience` implies that the backend expects + /// authentication via a JWT. /// - /// When authentication is unspecified, the resulting behavior is the same - /// as `disable_auth` set to `true`. + /// When authentication is unspecified, the resulting behavior is the same + /// as `disable_auth` set to `true`. /// - /// Refer to for - /// JWT ID token. + /// Refer to for + /// JWT ID token. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Authentication { - /// The JWT audience is used when generating a JWT ID token for the backend. - /// This ID token will be added in the HTTP "authorization" header, and sent - /// to the backend. + /// The JWT audience is used when generating a JWT ID token for the backend. + /// This ID token will be added in the HTTP "authorization" header, and sent + /// to the backend. #[prost(string, tag="7")] JwtAudience(::prost::alloc::string::String), - /// When disable_auth is true, a JWT ID token won't be generated and the - /// original "Authorization" HTTP header will be preserved. If the header is - /// used to carry the original token and is expected by the backend, this - /// field must be set to true to preserve the header. + /// When disable_auth is true, a JWT ID token won't be generated and the + /// original "Authorization" HTTP header will be preserved. If the header is + /// used to carry the original token and is expected by the backend, this + /// field must be set to true to preserve the header. #[prost(bool, tag="8")] DisableAuth(bool), } } -/// Billing related configuration of the service. +/// Billing related configuration of the service. /// -/// The following example shows how to configure monitored resources and metrics -/// for billing, `consumer_destinations` is the only supported destination and -/// the monitored resources need at least one label key -/// `cloud.googleapis.com/location` to indicate the location of the billing -/// usage, using different monitored resources between monitoring and billing is -/// recommended so they can be evolved independently: +/// The following example shows how to configure monitored resources and metrics +/// for billing, `consumer_destinations` is the only supported destination and +/// the monitored resources need at least one label key +/// `cloud.googleapis.com/location` to indicate the location of the billing +/// usage, using different monitored resources between monitoring and billing is +/// recommended so they can be evolved independently: /// /// /// monitored_resources: @@ -1093,88 +1093,88 @@ pub mod backend_rule { /// - library.googleapis.com/book/borrowed_count #[derive(Clone, PartialEq, ::prost::Message)] pub struct Billing { - /// Billing configurations for sending metrics to the consumer project. - /// There can be multiple consumer destinations per service, each one must have - /// a different monitored resource type. A metric can be used in at most - /// one consumer destination. + /// Billing configurations for sending metrics to the consumer project. + /// There can be multiple consumer destinations per service, each one must have + /// a different monitored resource type. A metric can be used in at most + /// one consumer destination. #[prost(message, repeated, tag="8")] pub consumer_destinations: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Billing`. pub mod billing { - /// Configuration of a specific billing destination (Currently only support - /// bill against consumer project). + /// Configuration of a specific billing destination (Currently only support + /// bill against consumer project). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingDestination { - /// The monitored resource type. The type must be defined in - /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. + /// The monitored resource type. The type must be defined in + /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. #[prost(string, tag="1")] pub monitored_resource: ::prost::alloc::string::String, - /// Names of the metrics to report to this billing destination. - /// Each name must be defined in \[Service.metrics][google.api.Service.metrics\] section. + /// Names of the metrics to report to this billing destination. + /// Each name must be defined in \[Service.metrics][google.api.Service.metrics\] section. #[prost(string, repeated, tag="2")] pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Output generated from semantically comparing two versions of a service -/// configuration. +/// Output generated from semantically comparing two versions of a service +/// configuration. /// -/// Includes detailed information about a field that have changed with -/// applicable advice about potential consequences for the change, such as -/// backwards-incompatibility. +/// Includes detailed information about a field that have changed with +/// applicable advice about potential consequences for the change, such as +/// backwards-incompatibility. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigChange { - /// Object hierarchy path to the change, with levels separated by a '.' - /// character. For repeated fields, an applicable unique identifier field is - /// used for the index (usually selector, name, or id). For maps, the term - /// 'key' is used. If the field has no unique identifier, the numeric index - /// is used. - /// Examples: - /// - visibility.rules\[selector=="google.LibraryService.ListBooks"\].restriction - /// - quota.metric_rules\[selector=="google"].metric_costs[key=="reads"\].value - /// - logging.producer_destinations\[0\] + /// Object hierarchy path to the change, with levels separated by a '.' + /// character. For repeated fields, an applicable unique identifier field is + /// used for the index (usually selector, name, or id). For maps, the term + /// 'key' is used. If the field has no unique identifier, the numeric index + /// is used. + /// Examples: + /// - visibility.rules\[selector=="google.LibraryService.ListBooks"\].restriction + /// - quota.metric_rules\[selector=="google"].metric_costs[key=="reads"\].value + /// - logging.producer_destinations\[0\] #[prost(string, tag="1")] pub element: ::prost::alloc::string::String, - /// Value of the changed object in the old Service configuration, - /// in JSON format. This field will not be populated if ChangeType == ADDED. + /// Value of the changed object in the old Service configuration, + /// in JSON format. This field will not be populated if ChangeType == ADDED. #[prost(string, tag="2")] pub old_value: ::prost::alloc::string::String, - /// Value of the changed object in the new Service configuration, - /// in JSON format. This field will not be populated if ChangeType == REMOVED. + /// Value of the changed object in the new Service configuration, + /// in JSON format. This field will not be populated if ChangeType == REMOVED. #[prost(string, tag="3")] pub new_value: ::prost::alloc::string::String, - /// The type for this change, either ADDED, REMOVED, or MODIFIED. + /// The type for this change, either ADDED, REMOVED, or MODIFIED. #[prost(enumeration="ChangeType", tag="4")] pub change_type: i32, - /// Collection of advice provided for this change, useful for determining the - /// possible impact of this change. + /// Collection of advice provided for this change, useful for determining the + /// possible impact of this change. #[prost(message, repeated, tag="5")] pub advices: ::prost::alloc::vec::Vec, } -/// Generated advice about this change, used for providing more -/// information about how a change will affect the existing service. +/// Generated advice about this change, used for providing more +/// information about how a change will affect the existing service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Advice { - /// Useful description for why this advice was applied and what actions should - /// be taken to mitigate any implied risks. + /// Useful description for why this advice was applied and what actions should + /// be taken to mitigate any implied risks. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, } -/// Classifies set of possible modifications to an object in the service -/// configuration. +/// Classifies set of possible modifications to an object in the service +/// configuration. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeType { - /// No value was provided. + /// No value was provided. Unspecified = 0, - /// The changed object exists in the 'new' service configuration, but not - /// in the 'old' service configuration. + /// The changed object exists in the 'new' service configuration, but not + /// in the 'old' service configuration. Added = 1, - /// The changed object exists in the 'old' service configuration, but not - /// in the 'new' service configuration. + /// The changed object exists in the 'old' service configuration, but not + /// in the 'new' service configuration. Removed = 2, - /// The changed object exists in both service configurations, but its value - /// is different. + /// The changed object exists in both service configurations, but its value + /// is different. Modified = 3, } impl ChangeType { @@ -1191,14 +1191,14 @@ impl ChangeType { } } } -/// A descriptor for defining project properties for a service. One service may -/// have many consumer projects, and the service may want to behave differently -/// depending on some properties on the project. For example, a project may be -/// associated with a school, or a business, or a government agency, a business -/// type property on the project may affect how a service responds to the client. -/// This descriptor defines which properties are allowed to be set on a project. +/// A descriptor for defining project properties for a service. One service may +/// have many consumer projects, and the service may want to behave differently +/// depending on some properties on the project. For example, a project may be +/// associated with a school, or a business, or a government agency, a business +/// type property on the project may affect how a service responds to the client. +/// This descriptor defines which properties are allowed to be set on a project. /// -/// Example: +/// Example: /// /// project_properties: /// properties: @@ -1209,47 +1209,47 @@ impl ChangeType { /// type: INT64 #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectProperties { - /// List of per consumer project-specific properties. + /// List of per consumer project-specific properties. #[prost(message, repeated, tag="1")] pub properties: ::prost::alloc::vec::Vec, } -/// Defines project properties. +/// Defines project properties. /// -/// API services can define properties that can be assigned to consumer projects -/// so that backends can perform response customization without having to make -/// additional calls or maintain additional storage. For example, Maps API -/// defines properties that controls map tile cache period, or whether to embed a -/// watermark in a result. +/// API services can define properties that can be assigned to consumer projects +/// so that backends can perform response customization without having to make +/// additional calls or maintain additional storage. For example, Maps API +/// defines properties that controls map tile cache period, or whether to embed a +/// watermark in a result. /// -/// These values can be set via API producer console. Only API providers can -/// define and set these properties. +/// These values can be set via API producer console. Only API providers can +/// define and set these properties. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Property { - /// The name of the property (a.k.a key). + /// The name of the property (a.k.a key). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of this property. + /// The type of this property. #[prost(enumeration="property::PropertyType", tag="2")] pub r#type: i32, - /// The description of the property + /// The description of the property #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Property`. pub mod property { - /// Supported data type of the property values + /// Supported data type of the property values #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PropertyType { - /// The type is unspecified, and will result in an error. + /// The type is unspecified, and will result in an error. Unspecified = 0, - /// The type is `int64`. + /// The type is `int64`. Int64 = 1, - /// The type is `bool`. + /// The type is `bool`. Bool = 2, - /// The type is `string`. + /// The type is `string`. String = 3, - /// The type is 'double'. + /// The type is 'double'. Double = 4, } impl PropertyType { @@ -1268,9 +1268,9 @@ pub mod property { } } } -/// `Context` defines which contexts an API requests. +/// `Context` defines which contexts an API requests. /// -/// Example: +/// Example: /// /// context: /// rules: @@ -1279,20 +1279,20 @@ pub mod property { /// - google.rpc.context.ProjectContext /// - google.rpc.context.OriginContext /// -/// The above specifies that all methods in the API request -/// `google.rpc.context.ProjectContext` and -/// `google.rpc.context.OriginContext`. +/// The above specifies that all methods in the API request +/// `google.rpc.context.ProjectContext` and +/// `google.rpc.context.OriginContext`. /// -/// Available context types are defined in package -/// `google.rpc.context`. +/// Available context types are defined in package +/// `google.rpc.context`. /// -/// This also provides mechanism to allowlist any protobuf message extension that -/// can be sent in grpc metadata using “x-goog-ext--bin” and -/// “x-goog-ext--jspb” format. For example, list any service -/// specific protobuf types that can appear in grpc metadata as follows in your -/// yaml file: +/// This also provides mechanism to allowlist any protobuf message extension that +/// can be sent in grpc metadata using “x-goog-ext--bin” and +/// “x-goog-ext--jspb” format. For example, list any service +/// specific protobuf types that can appear in grpc metadata as follows in your +/// yaml file: /// -/// Example: +/// Example: /// /// context: /// rules: @@ -1302,238 +1302,238 @@ pub mod property { /// allowed_response_extensions: /// - google.foo.v1.NewExtension /// -/// You can also specify extension ID instead of fully qualified extension name -/// here. +/// You can also specify extension ID instead of fully qualified extension name +/// here. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Context { - /// A list of RPC context rules that apply to individual API methods. + /// A list of RPC context rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A context rule provides information about the context for an individual API -/// element. +/// A context rule provides information about the context for an individual API +/// element. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextRule { - /// Selects the methods to which this rule applies. + /// Selects the methods to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// A list of full type names of requested contexts. + /// A list of full type names of requested contexts. #[prost(string, repeated, tag="2")] pub requested: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of full type names of provided contexts. + /// A list of full type names of provided contexts. #[prost(string, repeated, tag="3")] pub provided: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of full type names or extension IDs of extensions allowed in grpc - /// side channel from client to backend. + /// A list of full type names or extension IDs of extensions allowed in grpc + /// side channel from client to backend. #[prost(string, repeated, tag="4")] pub allowed_request_extensions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of full type names or extension IDs of extensions allowed in grpc - /// side channel from backend to client. + /// A list of full type names or extension IDs of extensions allowed in grpc + /// side channel from backend to client. #[prost(string, repeated, tag="5")] pub allowed_response_extensions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Selects and configures the service controller used by the service. The -/// service controller handles features like abuse, quota, billing, logging, -/// monitoring, etc. +/// Selects and configures the service controller used by the service. The +/// service controller handles features like abuse, quota, billing, logging, +/// monitoring, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Control { - /// The service control environment to use. If empty, no control plane - /// feature (like quota and billing) will be enabled. + /// The service control environment to use. If empty, no control plane + /// feature (like quota and billing) will be enabled. #[prost(string, tag="1")] pub environment: ::prost::alloc::string::String, } -/// `Distribution` contains summary statistics for a population of values. It -/// optionally contains a histogram representing the distribution of those values -/// across a set of buckets. +/// `Distribution` contains summary statistics for a population of values. It +/// optionally contains a histogram representing the distribution of those values +/// across a set of buckets. /// -/// The summary statistics are the count, mean, sum of the squared deviation from -/// the mean, the minimum, and the maximum of the set of population of values. -/// The histogram is based on a sequence of buckets and gives a count of values -/// that fall into each bucket. The boundaries of the buckets are given either -/// explicitly or by formulas for buckets of fixed or exponentially increasing -/// widths. +/// The summary statistics are the count, mean, sum of the squared deviation from +/// the mean, the minimum, and the maximum of the set of population of values. +/// The histogram is based on a sequence of buckets and gives a count of values +/// that fall into each bucket. The boundaries of the buckets are given either +/// explicitly or by formulas for buckets of fixed or exponentially increasing +/// widths. /// -/// Although it is not forbidden, it is generally a bad idea to include -/// non-finite values (infinities or NaNs) in the population of values, as this -/// will render the `mean` and `sum_of_squared_deviation` fields meaningless. +/// Although it is not forbidden, it is generally a bad idea to include +/// non-finite values (infinities or NaNs) in the population of values, as this +/// will render the `mean` and `sum_of_squared_deviation` fields meaningless. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Distribution { - /// The number of values in the population. Must be non-negative. This value - /// must equal the sum of the values in `bucket_counts` if a histogram is - /// provided. + /// The number of values in the population. Must be non-negative. This value + /// must equal the sum of the values in `bucket_counts` if a histogram is + /// provided. #[prost(int64, tag="1")] pub count: i64, - /// The arithmetic mean of the values in the population. If `count` is zero - /// then this field must be zero. + /// The arithmetic mean of the values in the population. If `count` is zero + /// then this field must be zero. #[prost(double, tag="2")] pub mean: f64, - /// The sum of squared deviations from the mean of the values in the - /// population. For values x_i this is: + /// The sum of squared deviations from the mean of the values in the + /// population. For values x_i this is: /// /// Sum\[i=1..n\]((x_i - mean)^2) /// - /// Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition - /// describes Welford's method for accumulating this sum in one pass. + /// Knuth, "The Art of Computer Programming", Vol. 2, page 232, 3rd edition + /// describes Welford's method for accumulating this sum in one pass. /// - /// If `count` is zero then this field must be zero. + /// If `count` is zero then this field must be zero. #[prost(double, tag="3")] pub sum_of_squared_deviation: f64, - /// If specified, contains the range of the population values. The field - /// must not be present if the `count` is zero. + /// If specified, contains the range of the population values. The field + /// must not be present if the `count` is zero. #[prost(message, optional, tag="4")] pub range: ::core::option::Option, - /// Defines the histogram bucket boundaries. If the distribution does not - /// contain a histogram, then omit this field. + /// Defines the histogram bucket boundaries. If the distribution does not + /// contain a histogram, then omit this field. #[prost(message, optional, tag="6")] pub bucket_options: ::core::option::Option, - /// The number of values in each bucket of the histogram, as described in - /// `bucket_options`. If the distribution does not have a histogram, then omit - /// this field. If there is a histogram, then the sum of the values in - /// `bucket_counts` must equal the value in the `count` field of the - /// distribution. - /// - /// If present, `bucket_counts` should contain N values, where N is the number - /// of buckets specified in `bucket_options`. If you supply fewer than N - /// values, the remaining values are assumed to be 0. - /// - /// The order of the values in `bucket_counts` follows the bucket numbering - /// schemes described for the three bucket types. The first value must be the - /// count for the underflow bucket (number 0). The next N-2 values are the - /// counts for the finite buckets (number 1 through N-2). The N'th value in - /// `bucket_counts` is the count for the overflow bucket (number N-1). + /// The number of values in each bucket of the histogram, as described in + /// `bucket_options`. If the distribution does not have a histogram, then omit + /// this field. If there is a histogram, then the sum of the values in + /// `bucket_counts` must equal the value in the `count` field of the + /// distribution. + /// + /// If present, `bucket_counts` should contain N values, where N is the number + /// of buckets specified in `bucket_options`. If you supply fewer than N + /// values, the remaining values are assumed to be 0. + /// + /// The order of the values in `bucket_counts` follows the bucket numbering + /// schemes described for the three bucket types. The first value must be the + /// count for the underflow bucket (number 0). The next N-2 values are the + /// counts for the finite buckets (number 1 through N-2). The N'th value in + /// `bucket_counts` is the count for the overflow bucket (number N-1). #[prost(int64, repeated, tag="7")] pub bucket_counts: ::prost::alloc::vec::Vec, - /// Must be in increasing order of `value` field. + /// Must be in increasing order of `value` field. #[prost(message, repeated, tag="10")] pub exemplars: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Distribution`. pub mod distribution { - /// The range of the population values. + /// The range of the population values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Range { - /// The minimum of the population values. + /// The minimum of the population values. #[prost(double, tag="1")] pub min: f64, - /// The maximum of the population values. + /// The maximum of the population values. #[prost(double, tag="2")] pub max: f64, } - /// `BucketOptions` describes the bucket boundaries used to create a histogram - /// for the distribution. The buckets can be in a linear sequence, an - /// exponential sequence, or each bucket can be specified explicitly. - /// `BucketOptions` does not include the number of values in each bucket. - /// - /// A bucket has an inclusive lower bound and exclusive upper bound for the - /// values that are counted for that bucket. The upper bound of a bucket must - /// be strictly greater than the lower bound. The sequence of N buckets for a - /// distribution consists of an underflow bucket (number 0), zero or more - /// finite buckets (number 1 through N - 2) and an overflow bucket (number N - - /// 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the - /// same as the upper bound of bucket i - 1. The buckets span the whole range - /// of finite values: lower bound of the underflow bucket is -infinity and the - /// upper bound of the overflow bucket is +infinity. The finite buckets are - /// so-called because both bounds are finite. + /// `BucketOptions` describes the bucket boundaries used to create a histogram + /// for the distribution. The buckets can be in a linear sequence, an + /// exponential sequence, or each bucket can be specified explicitly. + /// `BucketOptions` does not include the number of values in each bucket. + /// + /// A bucket has an inclusive lower bound and exclusive upper bound for the + /// values that are counted for that bucket. The upper bound of a bucket must + /// be strictly greater than the lower bound. The sequence of N buckets for a + /// distribution consists of an underflow bucket (number 0), zero or more + /// finite buckets (number 1 through N - 2) and an overflow bucket (number N - + /// 1). The buckets are contiguous: the lower bound of bucket i (i > 0) is the + /// same as the upper bound of bucket i - 1. The buckets span the whole range + /// of finite values: lower bound of the underflow bucket is -infinity and the + /// upper bound of the overflow bucket is +infinity. The finite buckets are + /// so-called because both bounds are finite. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BucketOptions { - /// Exactly one of these three fields must be set. + /// Exactly one of these three fields must be set. #[prost(oneof="bucket_options::Options", tags="1, 2, 3")] pub options: ::core::option::Option, } /// Nested message and enum types in `BucketOptions`. pub mod bucket_options { - /// Specifies a linear sequence of buckets that all have the same width - /// (except overflow and underflow). Each bucket represents a constant - /// absolute uncertainty on the specific value in the bucket. + /// Specifies a linear sequence of buckets that all have the same width + /// (except overflow and underflow). Each bucket represents a constant + /// absolute uncertainty on the specific value in the bucket. /// - /// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - /// following boundaries: + /// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the + /// following boundaries: /// /// Upper bound (0 <= i < N-1): offset + (width * i). /// Lower bound (1 <= i < N): offset + (width * (i - 1)). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Linear { - /// Must be greater than 0. + /// Must be greater than 0. #[prost(int32, tag="1")] pub num_finite_buckets: i32, - /// Must be greater than 0. + /// Must be greater than 0. #[prost(double, tag="2")] pub width: f64, - /// Lower bound of the first bucket. + /// Lower bound of the first bucket. #[prost(double, tag="3")] pub offset: f64, } - /// Specifies an exponential sequence of buckets that have a width that is - /// proportional to the value of the lower bound. Each bucket represents a - /// constant relative uncertainty on a specific value in the bucket. + /// Specifies an exponential sequence of buckets that have a width that is + /// proportional to the value of the lower bound. Each bucket represents a + /// constant relative uncertainty on a specific value in the bucket. /// - /// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the - /// following boundaries: + /// There are `num_finite_buckets + 2` (= N) buckets. Bucket `i` has the + /// following boundaries: /// /// Upper bound (0 <= i < N-1): scale * (growth_factor ^ i). /// Lower bound (1 <= i < N): scale * (growth_factor ^ (i - 1)). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Exponential { - /// Must be greater than 0. + /// Must be greater than 0. #[prost(int32, tag="1")] pub num_finite_buckets: i32, - /// Must be greater than 1. + /// Must be greater than 1. #[prost(double, tag="2")] pub growth_factor: f64, - /// Must be greater than 0. + /// Must be greater than 0. #[prost(double, tag="3")] pub scale: f64, } - /// Specifies a set of buckets with arbitrary widths. + /// Specifies a set of buckets with arbitrary widths. /// - /// There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following - /// boundaries: + /// There are `size(bounds) + 1` (= N) buckets. Bucket `i` has the following + /// boundaries: /// /// Upper bound (0 <= i < N-1): bounds\[i\] /// Lower bound (1 <= i < N); bounds[i - 1] /// - /// The `bounds` field must contain at least one element. If `bounds` has - /// only one element, then there are no finite buckets, and that single - /// element is the common boundary of the overflow and underflow buckets. + /// The `bounds` field must contain at least one element. If `bounds` has + /// only one element, then there are no finite buckets, and that single + /// element is the common boundary of the overflow and underflow buckets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explicit { - /// The values must be monotonically increasing. + /// The values must be monotonically increasing. #[prost(double, repeated, tag="1")] pub bounds: ::prost::alloc::vec::Vec, } - /// Exactly one of these three fields must be set. + /// Exactly one of these three fields must be set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Options { - /// The linear bucket. + /// The linear bucket. #[prost(message, tag="1")] LinearBuckets(Linear), - /// The exponential buckets. + /// The exponential buckets. #[prost(message, tag="2")] ExponentialBuckets(Exponential), - /// The explicit buckets. + /// The explicit buckets. #[prost(message, tag="3")] ExplicitBuckets(Explicit), } } - /// Exemplars are example points that may be used to annotate aggregated - /// distribution values. They are metadata that gives information about a - /// particular value added to a Distribution bucket, such as a trace ID that - /// was active when a value was added. They may contain further information, - /// such as a example values and timestamps, origin, etc. + /// Exemplars are example points that may be used to annotate aggregated + /// distribution values. They are metadata that gives information about a + /// particular value added to a Distribution bucket, such as a trace ID that + /// was active when a value was added. They may contain further information, + /// such as a example values and timestamps, origin, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Exemplar { - /// Value of the exemplar point. This value determines to which bucket the - /// exemplar belongs. + /// Value of the exemplar point. This value determines to which bucket the + /// exemplar belongs. #[prost(double, tag="1")] pub value: f64, - /// The observation (sampling) time of the above value. + /// The observation (sampling) time of the above value. #[prost(message, optional, tag="2")] pub timestamp: ::core::option::Option<::prost_types::Timestamp>, - /// Contextual information about the example value. Examples are: + /// Contextual information about the example value. Examples are: /// /// Trace: type.googleapis.com/google.monitoring.v3.SpanContext /// @@ -1542,16 +1542,16 @@ pub mod distribution { /// Labels dropped during aggregation: /// type.googleapis.com/google.monitoring.v3.DroppedLabels /// - /// There may be only a single attachment of any given message type in a - /// single exemplar, and this is enforced by the system. + /// There may be only a single attachment of any given message type in a + /// single exemplar, and this is enforced by the system. #[prost(message, repeated, tag="3")] pub attachments: ::prost::alloc::vec::Vec<::prost_types::Any>, } } -/// `Documentation` provides the information for describing a service. +/// `Documentation` provides the information for describing a service. /// -/// Example: -///
documentation:
+/// Example:
+/// 
documentation:
 ///    summary: >
 ///      The Google Calendar API gives access
 ///      to most calendar features.
@@ -1570,132 +1570,132 @@ pub mod distribution {
 ///    - selector: google.calendar.Calendar.Put
 ///      description: >
 ///        ...
-///  
-/// Documentation is provided in markdown syntax. In addition to -/// standard markdown features, definition lists, tables and fenced -/// code blocks are supported. Section headers can be provided and are -/// interpreted relative to the section nesting of the context where -/// a documentation fragment is embedded. -/// -/// Documentation from the IDL is merged with documentation defined -/// via the config at normalization time, where documentation provided -/// by config rules overrides IDL provided. -/// -/// A number of constructs specific to the API platform are supported -/// in documentation text. -/// -/// In order to reference a proto element, the following -/// notation can be used: -///
[fully.qualified.proto.name][]
-/// To override the display text used for the link, this can be used: -///
[display text][fully.qualified.proto.name]
-/// Text can be excluded from doc using the following notation: -///
(-- internal comment --)
-/// -/// A few directives are available in documentation. Note that -/// directives must appear on a single line to be properly -/// identified. The `include` directive includes a markdown file from -/// an external source: -///
(== include path/to/file ==)
-/// The `resource_for` directive marks a message to be the resource of -/// a collection in REST view. If it is not specified, tools attempt -/// to infer the resource from the operations in a collection: -///
(== resource_for v1.shelves.books ==)
-/// The directive `suppress_warning` does not directly affect documentation -/// and is documented together with service config validation. +///
+/// Documentation is provided in markdown syntax. In addition to +/// standard markdown features, definition lists, tables and fenced +/// code blocks are supported. Section headers can be provided and are +/// interpreted relative to the section nesting of the context where +/// a documentation fragment is embedded. +/// +/// Documentation from the IDL is merged with documentation defined +/// via the config at normalization time, where documentation provided +/// by config rules overrides IDL provided. +/// +/// A number of constructs specific to the API platform are supported +/// in documentation text. +/// +/// In order to reference a proto element, the following +/// notation can be used: +///
[fully.qualified.proto.name][]
+/// To override the display text used for the link, this can be used: +///
[display text][fully.qualified.proto.name]
+/// Text can be excluded from doc using the following notation: +///
(-- internal comment --)
+/// +/// A few directives are available in documentation. Note that +/// directives must appear on a single line to be properly +/// identified. The `include` directive includes a markdown file from +/// an external source: +///
(== include path/to/file ==)
+/// The `resource_for` directive marks a message to be the resource of +/// a collection in REST view. If it is not specified, tools attempt +/// to infer the resource from the operations in a collection: +///
(== resource_for v1.shelves.books ==)
+/// The directive `suppress_warning` does not directly affect documentation +/// and is documented together with service config validation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Documentation { - /// A short summary of what the service does. Can only be provided by - /// plain text. + /// A short summary of what the service does. Can only be provided by + /// plain text. #[prost(string, tag="1")] pub summary: ::prost::alloc::string::String, - /// The top level pages for the documentation set. + /// The top level pages for the documentation set. #[prost(message, repeated, tag="5")] pub pages: ::prost::alloc::vec::Vec, - /// A list of documentation rules that apply to individual API elements. + /// A list of documentation rules that apply to individual API elements. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="3")] pub rules: ::prost::alloc::vec::Vec, - /// The URL to the root of documentation. + /// The URL to the root of documentation. #[prost(string, tag="4")] pub documentation_root_url: ::prost::alloc::string::String, - /// Specifies the service root url if the default one (the service name - /// from the yaml file) is not suitable. This can be seen in any fully - /// specified service urls as well as sections that show a base that other - /// urls are relative to. + /// Specifies the service root url if the default one (the service name + /// from the yaml file) is not suitable. This can be seen in any fully + /// specified service urls as well as sections that show a base that other + /// urls are relative to. #[prost(string, tag="6")] pub service_root_url: ::prost::alloc::string::String, - /// Declares a single overview page. For example: - ///
documentation:
+    /// Declares a single overview page. For example:
+    /// 
documentation:
     ///    summary: ...
     ///    overview: (== include overview.md ==)
-    ///  
- /// This is a shortcut for the following declaration (using pages style): - ///
documentation:
+    /// 
+ /// This is a shortcut for the following declaration (using pages style): + ///
documentation:
     ///    summary: ...
     ///    pages:
     ///    - name: Overview
     ///      content: (== include overview.md ==)
-    ///  
- /// Note: you cannot specify both `overview` field and `pages` field. + ///
+ /// Note: you cannot specify both `overview` field and `pages` field. #[prost(string, tag="2")] pub overview: ::prost::alloc::string::String, } -/// A documentation rule provides information about individual API elements. +/// A documentation rule provides information about individual API elements. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentationRule { - /// The selector is a comma-separated list of patterns. Each pattern is a - /// qualified name of the element which may end in "*", indicating a wildcard. - /// Wildcards are only allowed at the end and for a whole component of the - /// qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A - /// wildcard will match one or more components. To specify a default for all - /// applicable elements, the whole pattern "*" is used. + /// The selector is a comma-separated list of patterns. Each pattern is a + /// qualified name of the element which may end in "*", indicating a wildcard. + /// Wildcards are only allowed at the end and for a whole component of the + /// qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". A + /// wildcard will match one or more components. To specify a default for all + /// applicable elements, the whole pattern "*" is used. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// Description of the selected API(s). + /// Description of the selected API(s). #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Deprecation description of the selected element(s). It can be provided if - /// an element is marked as `deprecated`. + /// Deprecation description of the selected element(s). It can be provided if + /// an element is marked as `deprecated`. #[prost(string, tag="3")] pub deprecation_description: ::prost::alloc::string::String, } -/// Represents a documentation page. A page can contain subpages to represent -/// nested documentation set structure. +/// Represents a documentation page. A page can contain subpages to represent +/// nested documentation set structure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Page { - /// The name of the page. It will be used as an identity of the page to - /// generate URI of the page, text of the link to this page in navigation, - /// etc. The full page name (start from the root page name to this page - /// concatenated with `.`) can be used as reference to the page in your - /// documentation. For example: - ///
pages:
-    ///  - name: Tutorial
+    /// The name of the page. It will be used as an identity of the page to
+    /// generate URI of the page, text of the link to this page in navigation,
+    /// etc. The full page name (start from the root page name to this page
+    /// concatenated with `.`) can be used as reference to the page in your
+    /// documentation. For example:
+    /// 
pages:
+    /// - name: Tutorial
     ///    content: (== include tutorial.md ==)
     ///    subpages:
     ///    - name: Java
     ///      content: (== include tutorial_java.md ==)
-    ///  
- /// You can reference `Java` page using Markdown reference link syntax: - /// `\[Java][Tutorial.Java\]`. + ///
+ /// You can reference `Java` page using Markdown reference link syntax: + /// `\[Java][Tutorial.Java\]`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The Markdown content of the page. You can use (== include {path} - /// ==) to include content from a Markdown file. + /// The Markdown content of the page. You can use (== include {path} + /// ==) to include content from a Markdown file. #[prost(string, tag="2")] pub content: ::prost::alloc::string::String, - /// Subpages of this page. The order of subpages specified here will be - /// honored in the generated docset. + /// Subpages of this page. The order of subpages specified here will be + /// honored in the generated docset. #[prost(message, repeated, tag="3")] pub subpages: ::prost::alloc::vec::Vec, } -/// `Endpoint` describes a network endpoint of a service that serves a set of -/// APIs. It is commonly known as a service endpoint. A service may expose -/// any number of service endpoints, and all service endpoints share the same -/// service definition, such as quota limits and monitoring metrics. +/// `Endpoint` describes a network endpoint of a service that serves a set of +/// APIs. It is commonly known as a service endpoint. A service may expose +/// any number of service endpoints, and all service endpoints share the same +/// service definition, such as quota limits and monitoring metrics. /// -/// Example service configuration: +/// Example service configuration: /// /// name: library-example.googleapis.com /// endpoints: @@ -1708,54 +1708,54 @@ pub struct Page { /// allow_cors: true #[derive(Clone, PartialEq, ::prost::Message)] pub struct Endpoint { - /// The canonical name of this endpoint. + /// The canonical name of this endpoint. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Unimplemented. Dot not use. + /// Unimplemented. Dot not use. /// - /// DEPRECATED: This field is no longer supported. Instead of using aliases, - /// please specify multiple \[google.api.Endpoint][google.api.Endpoint\] for each of the intended - /// aliases. + /// DEPRECATED: This field is no longer supported. Instead of using aliases, + /// please specify multiple \[google.api.Endpoint][google.api.Endpoint\] for each of the intended + /// aliases. /// - /// Additional names that this endpoint will be hosted on. + /// Additional names that this endpoint will be hosted on. #[deprecated] #[prost(string, repeated, tag="2")] pub aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The specification of an Internet routable address of API frontend that will - /// handle requests to this [API - /// Endpoint](). It should be - /// either a valid IPv4 address or a fully-qualified domain name. For example, - /// "8.8.8.8" or "myservice.appspot.com". + /// The specification of an Internet routable address of API frontend that will + /// handle requests to this [API + /// Endpoint](). It should be + /// either a valid IPv4 address or a fully-qualified domain name. For example, + /// "8.8.8.8" or "myservice.appspot.com". #[prost(string, tag="101")] pub target: ::prost::alloc::string::String, - /// Allowing - /// \[CORS\](), aka - /// cross-domain traffic, would allow the backends served from this endpoint to - /// receive and respond to HTTP OPTIONS requests. The response will be used by - /// the browser to determine whether the subsequent cross-origin request is - /// allowed to proceed. + /// Allowing + /// \[CORS\](), aka + /// cross-domain traffic, would allow the backends served from this endpoint to + /// receive and respond to HTTP OPTIONS requests. The response will be used by + /// the browser to determine whether the subsequent cross-origin request is + /// allowed to proceed. #[prost(bool, tag="5")] pub allow_cors: bool, } -/// Defines the supported values for `google.rpc.ErrorInfo.reason` for the -/// `googleapis.com` error domain. This error domain is reserved for [Service -/// Infrastructure](). -/// For each error info of this domain, the metadata key "service" refers to the -/// logical identifier of an API service, such as "pubsub.googleapis.com". The -/// "consumer" refers to the entity that consumes an API Service. It typically is -/// a Google project that owns the client application or the server resource, -/// such as "projects/123". Other metadata keys are specific to each error -/// reason. For more information, see the definition of the specific error -/// reason. +/// Defines the supported values for `google.rpc.ErrorInfo.reason` for the +/// `googleapis.com` error domain. This error domain is reserved for [Service +/// Infrastructure](). +/// For each error info of this domain, the metadata key "service" refers to the +/// logical identifier of an API service, such as "pubsub.googleapis.com". The +/// "consumer" refers to the entity that consumes an API Service. It typically is +/// a Google project that owns the client application or the server resource, +/// such as "projects/123". Other metadata keys are specific to each error +/// reason. For more information, see the definition of the specific error +/// reason. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ErrorReason { - /// Do not use this default value. + /// Do not use this default value. Unspecified = 0, - /// The request is calling a disabled service for a consumer. + /// The request is calling a disabled service for a consumer. /// - /// Example of an ErrorInfo when the consumer "projects/123" contacting - /// "pubsub.googleapis.com" service which is disabled: + /// Example of an ErrorInfo when the consumer "projects/123" contacting + /// "pubsub.googleapis.com" service which is disabled: /// /// { "reason": "SERVICE_DISABLED", /// "domain": "googleapis.com", @@ -1765,14 +1765,14 @@ pub enum ErrorReason { /// } /// } /// - /// This response indicates the "pubsub.googleapis.com" has been disabled in - /// "projects/123". + /// This response indicates the "pubsub.googleapis.com" has been disabled in + /// "projects/123". ServiceDisabled = 1, - /// The request whose associated billing account is disabled. + /// The request whose associated billing account is disabled. /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to contact - /// "pubsub.googleapis.com" service because the associated billing account is - /// disabled: + /// Example of an ErrorInfo when the consumer "projects/123" fails to contact + /// "pubsub.googleapis.com" service because the associated billing account is + /// disabled: /// /// { "reason": "BILLING_DISABLED", /// "domain": "googleapis.com", @@ -1782,14 +1782,14 @@ pub enum ErrorReason { /// } /// } /// - /// This response indicates the billing account associated has been disabled. + /// This response indicates the billing account associated has been disabled. BillingDisabled = 2, - /// The request is denied because the provided [API - /// key]() is invalid. It - /// may be in a bad format, cannot be found, or has been expired). + /// The request is denied because the provided [API + /// key]() is invalid. It + /// may be in a bad format, cannot be found, or has been expired). /// - /// Example of an ErrorInfo when the request is contacting - /// "storage.googleapis.com" service with an invalid API key: + /// Example of an ErrorInfo when the request is contacting + /// "storage.googleapis.com" service with an invalid API key: /// /// { "reason": "API_KEY_INVALID", /// "domain": "googleapis.com", @@ -1798,12 +1798,12 @@ pub enum ErrorReason { /// } /// } ApiKeyInvalid = 3, - /// The request is denied because it violates [API key API - /// restrictions](). + /// The request is denied because it violates [API key API + /// restrictions](). /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call the - /// "storage.googleapis.com" service because this service is restricted in the - /// API key: + /// Example of an ErrorInfo when the consumer "projects/123" fails to call the + /// "storage.googleapis.com" service because this service is restricted in the + /// API key: /// /// { "reason": "API_KEY_SERVICE_BLOCKED", /// "domain": "googleapis.com", @@ -1813,12 +1813,12 @@ pub enum ErrorReason { /// } /// } ApiKeyServiceBlocked = 4, - /// The request is denied because it violates [API key HTTP - /// restrictions](). + /// The request is denied because it violates [API key HTTP + /// restrictions](). /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call - /// "storage.googleapis.com" service because the http referrer of the request - /// violates API key HTTP restrictions: + /// Example of an ErrorInfo when the consumer "projects/123" fails to call + /// "storage.googleapis.com" service because the http referrer of the request + /// violates API key HTTP restrictions: /// /// { "reason": "API_KEY_HTTP_REFERRER_BLOCKED", /// "domain": "googleapis.com", @@ -1828,12 +1828,12 @@ pub enum ErrorReason { /// } /// } ApiKeyHttpReferrerBlocked = 7, - /// The request is denied because it violates [API key IP address - /// restrictions](). + /// The request is denied because it violates [API key IP address + /// restrictions](). /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call - /// "storage.googleapis.com" service because the caller IP of the request - /// violates API key IP address restrictions: + /// Example of an ErrorInfo when the consumer "projects/123" fails to call + /// "storage.googleapis.com" service because the caller IP of the request + /// violates API key IP address restrictions: /// /// { "reason": "API_KEY_IP_ADDRESS_BLOCKED", /// "domain": "googleapis.com", @@ -1843,12 +1843,12 @@ pub enum ErrorReason { /// } /// } ApiKeyIpAddressBlocked = 8, - /// The request is denied because it violates [API key Android application - /// restrictions](). + /// The request is denied because it violates [API key Android application + /// restrictions](). /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call - /// "storage.googleapis.com" service because the request from the Android apps - /// violates the API key Android application restrictions: + /// Example of an ErrorInfo when the consumer "projects/123" fails to call + /// "storage.googleapis.com" service because the request from the Android apps + /// violates the API key Android application restrictions: /// /// { "reason": "API_KEY_ANDROID_APP_BLOCKED", /// "domain": "googleapis.com", @@ -1858,12 +1858,12 @@ pub enum ErrorReason { /// } /// } ApiKeyAndroidAppBlocked = 9, - /// The request is denied because it violates [API key iOS application - /// restrictions](). + /// The request is denied because it violates [API key iOS application + /// restrictions](). /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call - /// "storage.googleapis.com" service because the request from the iOS apps - /// violates the API key iOS application restrictions: + /// Example of an ErrorInfo when the consumer "projects/123" fails to call + /// "storage.googleapis.com" service because the request from the iOS apps + /// violates the API key iOS application restrictions: /// /// { "reason": "API_KEY_IOS_APP_BLOCKED", /// "domain": "googleapis.com", @@ -1873,14 +1873,14 @@ pub enum ErrorReason { /// } /// } ApiKeyIosAppBlocked = 13, - /// The request is denied because there is not enough rate quota for the - /// consumer. + /// The request is denied because there is not enough rate quota for the + /// consumer. /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to contact - /// "pubsub.googleapis.com" service because consumer's rate quota usage has - /// reached the maximum value set for the quota limit - /// "ReadsPerMinutePerProject" on the quota metric - /// "pubsub.googleapis.com/read_requests": + /// Example of an ErrorInfo when the consumer "projects/123" fails to contact + /// "pubsub.googleapis.com" service because consumer's rate quota usage has + /// reached the maximum value set for the quota limit + /// "ReadsPerMinutePerProject" on the quota metric + /// "pubsub.googleapis.com/read_requests": /// /// { "reason": "RATE_LIMIT_EXCEEDED", /// "domain": "googleapis.com", @@ -1892,10 +1892,10 @@ pub enum ErrorReason { /// } /// } /// - /// Example of an ErrorInfo when the consumer "projects/123" checks quota on - /// the service "dataflow.googleapis.com" and hits the organization quota - /// limit "DefaultRequestsPerMinutePerOrganization" on the metric - /// "dataflow.googleapis.com/default_requests". + /// Example of an ErrorInfo when the consumer "projects/123" checks quota on + /// the service "dataflow.googleapis.com" and hits the organization quota + /// limit "DefaultRequestsPerMinutePerOrganization" on the metric + /// "dataflow.googleapis.com/default_requests". /// /// { "reason": "RATE_LIMIT_EXCEEDED", /// "domain": "googleapis.com", @@ -1907,13 +1907,13 @@ pub enum ErrorReason { /// } /// } RateLimitExceeded = 5, - /// The request is denied because there is not enough resource quota for the - /// consumer. + /// The request is denied because there is not enough resource quota for the + /// consumer. /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to contact - /// "compute.googleapis.com" service because consumer's resource quota usage - /// has reached the maximum value set for the quota limit "VMsPerProject" - /// on the quota metric "compute.googleapis.com/vms": + /// Example of an ErrorInfo when the consumer "projects/123" fails to contact + /// "compute.googleapis.com" service because consumer's resource quota usage + /// has reached the maximum value set for the quota limit "VMsPerProject" + /// on the quota metric "compute.googleapis.com/vms": /// /// { "reason": "RESOURCE_QUOTA_EXCEEDED", /// "domain": "googleapis.com", @@ -1925,10 +1925,10 @@ pub enum ErrorReason { /// } /// } /// - /// Example of an ErrorInfo when the consumer "projects/123" checks resource - /// quota on the service "dataflow.googleapis.com" and hits the organization - /// quota limit "jobs-per-organization" on the metric - /// "dataflow.googleapis.com/job_count". + /// Example of an ErrorInfo when the consumer "projects/123" checks resource + /// quota on the service "dataflow.googleapis.com" and hits the organization + /// quota limit "jobs-per-organization" on the metric + /// "dataflow.googleapis.com/job_count". /// /// { "reason": "RESOURCE_QUOTA_EXCEEDED", /// "domain": "googleapis.com", @@ -1940,13 +1940,13 @@ pub enum ErrorReason { /// } /// } ResourceQuotaExceeded = 6, - /// The request whose associated billing account address is in a tax restricted - /// location, violates the local tax restrictions when creating resources in - /// the restricted region. + /// The request whose associated billing account address is in a tax restricted + /// location, violates the local tax restrictions when creating resources in + /// the restricted region. /// - /// Example of an ErrorInfo when creating the Cloud Storage Bucket in the - /// container "projects/123" under a tax restricted region - /// "locations/asia-northeast3": + /// Example of an ErrorInfo when creating the Cloud Storage Bucket in the + /// container "projects/123" under a tax restricted region + /// "locations/asia-northeast3": /// /// { "reason": "LOCATION_TAX_POLICY_VIOLATED", /// "domain": "googleapis.com", @@ -1957,16 +1957,16 @@ pub enum ErrorReason { /// } /// } /// - /// This response indicates creating the Cloud Storage Bucket in - /// "locations/asia-northeast3" violates the location tax restriction. + /// This response indicates creating the Cloud Storage Bucket in + /// "locations/asia-northeast3" violates the location tax restriction. LocationTaxPolicyViolated = 10, - /// The request is denied because the caller does not have required permission - /// on the user project "projects/123" or the user project is invalid. For more - /// information, check the [userProject System - /// Parameters](). + /// The request is denied because the caller does not have required permission + /// on the user project "projects/123" or the user project is invalid. For more + /// information, check the [userProject System + /// Parameters](). /// - /// Example of an ErrorInfo when the caller is calling Cloud Storage service - /// with insufficient permissions on the user project: + /// Example of an ErrorInfo when the caller is calling Cloud Storage service + /// with insufficient permissions on the user project: /// /// { "reason": "USER_PROJECT_DENIED", /// "domain": "googleapis.com", @@ -1976,13 +1976,13 @@ pub enum ErrorReason { /// } /// } UserProjectDenied = 11, - /// The request is denied because the consumer "projects/123" is suspended due - /// to Terms of Service(Tos) violations. Check [Project suspension - /// guidelines]() - /// for more information. + /// The request is denied because the consumer "projects/123" is suspended due + /// to Terms of Service(Tos) violations. Check [Project suspension + /// guidelines]() + /// for more information. /// - /// Example of an ErrorInfo when calling Cloud Storage service with the - /// suspended consumer "projects/123": + /// Example of an ErrorInfo when calling Cloud Storage service with the + /// suspended consumer "projects/123": /// /// { "reason": "CONSUMER_SUSPENDED", /// "domain": "googleapis.com", @@ -1992,11 +1992,11 @@ pub enum ErrorReason { /// } /// } ConsumerSuspended = 12, - /// The request is denied because the associated consumer is invalid. It may be - /// in a bad format, cannot be found, or have been deleted. + /// The request is denied because the associated consumer is invalid. It may be + /// in a bad format, cannot be found, or have been deleted. /// - /// Example of an ErrorInfo when calling Cloud Storage service with the - /// invalid consumer "projects/123": + /// Example of an ErrorInfo when calling Cloud Storage service with the + /// invalid consumer "projects/123": /// /// { "reason": "CONSUMER_INVALID", /// "domain": "googleapis.com", @@ -2006,16 +2006,16 @@ pub enum ErrorReason { /// } /// } ConsumerInvalid = 14, - /// The request is denied because it violates [VPC Service - /// Controls](). - /// The 'uid' field is a random generated identifier that customer can use it - /// to search the audit log for a request rejected by VPC Service Controls. For - /// more information, please refer [VPC Service Controls - /// Troubleshooting]() + /// The request is denied because it violates [VPC Service + /// Controls](). + /// The 'uid' field is a random generated identifier that customer can use it + /// to search the audit log for a request rejected by VPC Service Controls. For + /// more information, please refer [VPC Service Controls + /// Troubleshooting]() /// - /// Example of an ErrorInfo when the consumer "projects/123" fails to call - /// Cloud Storage service because the request is prohibited by the VPC Service - /// Controls. + /// Example of an ErrorInfo when the consumer "projects/123" fails to call + /// Cloud Storage service because the request is prohibited by the VPC Service + /// Controls. /// /// { "reason": "SECURITY_POLICY_VIOLATED", /// "domain": "googleapis.com", @@ -2026,10 +2026,10 @@ pub enum ErrorReason { /// } /// } SecurityPolicyViolated = 15, - /// The request is denied because the provided access token has expired. + /// The request is denied because the provided access token has expired. /// - /// Example of an ErrorInfo when the request is calling Cloud Storage service - /// with an expired access token: + /// Example of an ErrorInfo when the request is calling Cloud Storage service + /// with an expired access token: /// /// { "reason": "ACCESS_TOKEN_EXPIRED", /// "domain": "googleapis.com", @@ -2039,15 +2039,15 @@ pub enum ErrorReason { /// } /// } AccessTokenExpired = 16, - /// The request is denied because the provided access token doesn't have at - /// least one of the acceptable scopes required for the API. Please check - /// [OAuth 2.0 Scopes for Google - /// APIs]() for - /// the list of the OAuth 2.0 scopes that you might need to request to access - /// the API. + /// The request is denied because the provided access token doesn't have at + /// least one of the acceptable scopes required for the API. Please check + /// [OAuth 2.0 Scopes for Google + /// APIs]() for + /// the list of the OAuth 2.0 scopes that you might need to request to access + /// the API. /// - /// Example of an ErrorInfo when the request is calling Cloud Storage service - /// with an access token that is missing required scopes: + /// Example of an ErrorInfo when the request is calling Cloud Storage service + /// with an access token that is missing required scopes: /// /// { "reason": "ACCESS_TOKEN_SCOPE_INSUFFICIENT", /// "domain": "googleapis.com", @@ -2057,17 +2057,17 @@ pub enum ErrorReason { /// } /// } AccessTokenScopeInsufficient = 17, - /// The request is denied because the account associated with the provided - /// access token is in an invalid state, such as disabled or deleted. - /// For more information, see + /// The request is denied because the account associated with the provided + /// access token is in an invalid state, such as disabled or deleted. + /// For more information, see /// - /// Warning: For privacy reasons, the server may not be able to disclose the - /// email address for some accounts. The client MUST NOT depend on the - /// availability of the `email` attribute. + /// Warning: For privacy reasons, the server may not be able to disclose the + /// email address for some accounts. The client MUST NOT depend on the + /// availability of the `email` attribute. /// - /// Example of an ErrorInfo when the request is to the Cloud Storage API with - /// an access token that is associated with a disabled or deleted [service - /// account](): + /// Example of an ErrorInfo when the request is to the Cloud Storage API with + /// an access token that is associated with a disabled or deleted [service + /// account](): /// /// { "reason": "ACCOUNT_STATE_INVALID", /// "domain": "googleapis.com", @@ -2078,11 +2078,11 @@ pub enum ErrorReason { /// } /// } AccountStateInvalid = 18, - /// The request is denied because the type of the provided access token is not - /// supported by the API being called. + /// The request is denied because the type of the provided access token is not + /// supported by the API being called. /// - /// Example of an ErrorInfo when the request is to the Cloud Storage API with - /// an unsupported token type. + /// Example of an ErrorInfo when the request is to the Cloud Storage API with + /// an unsupported token type. /// /// { "reason": "ACCESS_TOKEN_TYPE_UNSUPPORTED", /// "domain": "googleapis.com", @@ -2123,19 +2123,19 @@ impl ErrorReason { } } } -/// Message that represents an arbitrary HTTP body. It should only be used for -/// payload formats that can't be represented as JSON, such as raw binary or -/// an HTML page. +/// Message that represents an arbitrary HTTP body. It should only be used for +/// payload formats that can't be represented as JSON, such as raw binary or +/// an HTML page. /// /// -/// This message can be used both in streaming and non-streaming API methods in -/// the request as well as the response. +/// This message can be used both in streaming and non-streaming API methods in +/// the request as well as the response. /// -/// It can be used as a top-level request field, which is convenient if one -/// wants to extract parameters from either the URL or HTTP template into the -/// request fields and also want access to the raw HTTP body. +/// It can be used as a top-level request field, which is convenient if one +/// wants to extract parameters from either the URL or HTTP template into the +/// request fields and also want access to the raw HTTP body. /// -/// Example: +/// Example: /// /// message GetResourceRequest { /// // A unique request id. @@ -2154,7 +2154,7 @@ impl ErrorReason { /// /// } /// -/// Example with streaming methods: +/// Example with streaming methods: /// /// service CaldavService { /// rpc GetCalendar(stream google.api.HttpBody) @@ -2164,45 +2164,45 @@ impl ErrorReason { /// /// } /// -/// Use of this type only changes how the request and response bodies are -/// handled, all other features will continue to work unchanged. +/// Use of this type only changes how the request and response bodies are +/// handled, all other features will continue to work unchanged. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpBody { - /// The HTTP Content-Type header value specifying the content type of the body. + /// The HTTP Content-Type header value specifying the content type of the body. #[prost(string, tag="1")] pub content_type: ::prost::alloc::string::String, - /// The HTTP request/response body as raw binary. + /// The HTTP request/response body as raw binary. #[prost(bytes="vec", tag="2")] pub data: ::prost::alloc::vec::Vec, - /// Application specific response metadata. Must be set in the first response - /// for streaming APIs. + /// Application specific response metadata. Must be set in the first response + /// for streaming APIs. #[prost(message, repeated, tag="3")] pub extensions: ::prost::alloc::vec::Vec<::prost_types::Any>, } -/// A description of a label. +/// A description of a label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelDescriptor { - /// The label key. + /// The label key. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// The type of data that can be assigned to the label. + /// The type of data that can be assigned to the label. #[prost(enumeration="label_descriptor::ValueType", tag="2")] pub value_type: i32, - /// A human-readable description for the label. + /// A human-readable description for the label. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `LabelDescriptor`. pub mod label_descriptor { - /// Value types that can be used as label values. + /// Value types that can be used as label values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueType { - /// A variable-length string. This is the default. + /// A variable-length string. This is the default. String = 0, - /// Boolean; true or false. + /// Boolean; true or false. Bool = 1, - /// A 64-bit signed integer. + /// A 64-bit signed integer. Int64 = 2, } impl ValueType { @@ -2219,47 +2219,47 @@ pub mod label_descriptor { } } } -/// The launch stage as defined by [Google Cloud Platform -/// Launch Stages](). +/// The launch stage as defined by [Google Cloud Platform +/// Launch Stages](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LaunchStage { - /// Do not use this default value. + /// Do not use this default value. Unspecified = 0, - /// The feature is not yet implemented. Users can not use it. + /// The feature is not yet implemented. Users can not use it. Unimplemented = 6, - /// Prelaunch features are hidden from users and are only visible internally. + /// Prelaunch features are hidden from users and are only visible internally. Prelaunch = 7, - /// Early Access features are limited to a closed group of testers. To use - /// these features, you must sign up in advance and sign a Trusted Tester - /// agreement (which includes confidentiality provisions). These features may - /// be unstable, changed in backward-incompatible ways, and are not - /// guaranteed to be released. + /// Early Access features are limited to a closed group of testers. To use + /// these features, you must sign up in advance and sign a Trusted Tester + /// agreement (which includes confidentiality provisions). These features may + /// be unstable, changed in backward-incompatible ways, and are not + /// guaranteed to be released. EarlyAccess = 1, - /// Alpha is a limited availability test for releases before they are cleared - /// for widespread use. By Alpha, all significant design issues are resolved - /// and we are in the process of verifying functionality. Alpha customers - /// need to apply for access, agree to applicable terms, and have their - /// projects allowlisted. Alpha releases don’t have to be feature complete, - /// no SLAs are provided, and there are no technical support obligations, but - /// they will be far enough along that customers can actually use them in - /// test environments or for limited-use tests -- just like they would in - /// normal production cases. + /// Alpha is a limited availability test for releases before they are cleared + /// for widespread use. By Alpha, all significant design issues are resolved + /// and we are in the process of verifying functionality. Alpha customers + /// need to apply for access, agree to applicable terms, and have their + /// projects allowlisted. Alpha releases don’t have to be feature complete, + /// no SLAs are provided, and there are no technical support obligations, but + /// they will be far enough along that customers can actually use them in + /// test environments or for limited-use tests -- just like they would in + /// normal production cases. Alpha = 2, - /// Beta is the point at which we are ready to open a release for any - /// customer to use. There are no SLA or technical support obligations in a - /// Beta release. Products will be complete from a feature perspective, but - /// may have some open outstanding issues. Beta releases are suitable for - /// limited production use cases. + /// Beta is the point at which we are ready to open a release for any + /// customer to use. There are no SLA or technical support obligations in a + /// Beta release. Products will be complete from a feature perspective, but + /// may have some open outstanding issues. Beta releases are suitable for + /// limited production use cases. Beta = 3, - /// GA features are open to all developers and are considered stable and - /// fully qualified for production use. + /// GA features are open to all developers and are considered stable and + /// fully qualified for production use. Ga = 4, - /// Deprecated features are scheduled to be shut down and removed. For more - /// information, see the “Deprecation Policy” section of our [Terms of - /// Service]() - /// and the [Google Cloud Platform Subject to the Deprecation - /// Policy]() documentation. + /// Deprecated features are scheduled to be shut down and removed. For more + /// information, see the “Deprecation Policy” section of our [Terms of + /// Service]() + /// and the [Google Cloud Platform Subject to the Deprecation + /// Policy]() documentation. Deprecated = 5, } impl LaunchStage { @@ -2280,7 +2280,7 @@ impl LaunchStage { } } } -/// A description of a log type. Example in YAML format: +/// A description of a log type. Example in YAML format: /// /// - name: library.googleapis.com/activity_history /// description: The history of borrowing and returning library items. @@ -2290,32 +2290,32 @@ impl LaunchStage { /// description: Identifier of a library customer #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogDescriptor { - /// The name of the log. It must be less than 512 characters long and can - /// include the following characters: upper- and lower-case alphanumeric - /// characters \[A-Za-z0-9\], and punctuation characters including - /// slash, underscore, hyphen, period \[/_-.\]. + /// The name of the log. It must be less than 512 characters long and can + /// include the following characters: upper- and lower-case alphanumeric + /// characters \[A-Za-z0-9\], and punctuation characters including + /// slash, underscore, hyphen, period \[/_-.\]. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The set of labels that are available to describe a specific log entry. - /// Runtime requests that contain labels not specified here are - /// considered invalid. + /// The set of labels that are available to describe a specific log entry. + /// Runtime requests that contain labels not specified here are + /// considered invalid. #[prost(message, repeated, tag="2")] pub labels: ::prost::alloc::vec::Vec, - /// A human-readable description of this log. This information appears in - /// the documentation and can contain details. + /// A human-readable description of this log. This information appears in + /// the documentation and can contain details. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The human-readable name for this log. This information appears on - /// the user interface and should be concise. + /// The human-readable name for this log. This information appears on + /// the user interface and should be concise. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, } -/// Logging configuration of the service. +/// Logging configuration of the service. /// -/// The following example shows how to configure logs to be sent to the -/// producer and consumer projects. In the example, the `activity_history` -/// log is sent to both the producer and consumer projects, whereas the -/// `purchase_history` log is only sent to the producer project. +/// The following example shows how to configure logs to be sent to the +/// producer and consumer projects. In the example, the `activity_history` +/// log is sent to both the producer and consumer projects, whereas the +/// `purchase_history` log is only sent to the producer project. /// /// monitored_resources: /// - type: library.googleapis.com/branch @@ -2341,143 +2341,143 @@ pub struct LogDescriptor { /// - activity_history #[derive(Clone, PartialEq, ::prost::Message)] pub struct Logging { - /// Logging configurations for sending logs to the producer project. - /// There can be multiple producer destinations, each one must have a - /// different monitored resource type. A log can be used in at most - /// one producer destination. + /// Logging configurations for sending logs to the producer project. + /// There can be multiple producer destinations, each one must have a + /// different monitored resource type. A log can be used in at most + /// one producer destination. #[prost(message, repeated, tag="1")] pub producer_destinations: ::prost::alloc::vec::Vec, - /// Logging configurations for sending logs to the consumer project. - /// There can be multiple consumer destinations, each one must have a - /// different monitored resource type. A log can be used in at most - /// one consumer destination. + /// Logging configurations for sending logs to the consumer project. + /// There can be multiple consumer destinations, each one must have a + /// different monitored resource type. A log can be used in at most + /// one consumer destination. #[prost(message, repeated, tag="2")] pub consumer_destinations: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Logging`. pub mod logging { - /// Configuration of a specific logging destination (the producer project - /// or the consumer project). + /// Configuration of a specific logging destination (the producer project + /// or the consumer project). #[derive(Clone, PartialEq, ::prost::Message)] pub struct LoggingDestination { - /// The monitored resource type. The type must be defined in the - /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. + /// The monitored resource type. The type must be defined in the + /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. #[prost(string, tag="3")] pub monitored_resource: ::prost::alloc::string::String, - /// Names of the logs to be sent to this destination. Each name must - /// be defined in the \[Service.logs][google.api.Service.logs\] section. If the log name is - /// not a domain scoped name, it will be automatically prefixed with - /// the service name followed by "/". + /// Names of the logs to be sent to this destination. Each name must + /// be defined in the \[Service.logs][google.api.Service.logs\] section. If the log name is + /// not a domain scoped name, it will be automatically prefixed with + /// the service name followed by "/". #[prost(string, repeated, tag="1")] pub logs: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Defines a metric type and its schema. Once a metric descriptor is created, -/// deleting or altering it stops data collection and makes the metric type's -/// existing data unusable. +/// Defines a metric type and its schema. Once a metric descriptor is created, +/// deleting or altering it stops data collection and makes the metric type's +/// existing data unusable. /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricDescriptor { - /// The resource name of the metric descriptor. + /// The resource name of the metric descriptor. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The metric type, including its DNS name prefix. The type is not - /// URL-encoded. All user-defined metric types have the DNS name - /// `custom.googleapis.com` or `external.googleapis.com`. Metric types should - /// use a natural hierarchical grouping. For example: + /// The metric type, including its DNS name prefix. The type is not + /// URL-encoded. All user-defined metric types have the DNS name + /// `custom.googleapis.com` or `external.googleapis.com`. Metric types should + /// use a natural hierarchical grouping. For example: /// /// "custom.googleapis.com/invoice/paid/amount" /// "external.googleapis.com/prometheus/up" /// "appengine.googleapis.com/http/server/response_latencies" #[prost(string, tag="8")] pub r#type: ::prost::alloc::string::String, - /// The set of labels that can be used to describe a specific - /// instance of this metric type. For example, the - /// `appengine.googleapis.com/http/server/response_latencies` metric - /// type has a label for the HTTP response code, `response_code`, so - /// you can look at latencies for successful responses or just - /// for responses that failed. + /// The set of labels that can be used to describe a specific + /// instance of this metric type. For example, the + /// `appengine.googleapis.com/http/server/response_latencies` metric + /// type has a label for the HTTP response code, `response_code`, so + /// you can look at latencies for successful responses or just + /// for responses that failed. #[prost(message, repeated, tag="2")] pub labels: ::prost::alloc::vec::Vec, - /// Whether the metric records instantaneous values, changes to a value, etc. - /// Some combinations of `metric_kind` and `value_type` might not be supported. + /// Whether the metric records instantaneous values, changes to a value, etc. + /// Some combinations of `metric_kind` and `value_type` might not be supported. #[prost(enumeration="metric_descriptor::MetricKind", tag="3")] pub metric_kind: i32, - /// Whether the measurement is an integer, a floating-point number, etc. - /// Some combinations of `metric_kind` and `value_type` might not be supported. + /// Whether the measurement is an integer, a floating-point number, etc. + /// Some combinations of `metric_kind` and `value_type` might not be supported. #[prost(enumeration="metric_descriptor::ValueType", tag="4")] pub value_type: i32, - /// The units in which the metric value is reported. It is only applicable - /// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` - /// defines the representation of the stored metric values. - /// - /// Different systems might scale the values to be more easily displayed (so a - /// value of `0.02kBy` _might_ be displayed as `20By`, and a value of - /// `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is - /// `kBy`, then the value of the metric is always in thousands of bytes, no - /// matter how it might be displayed. - /// - /// If you want a custom metric to record the exact number of CPU-seconds used - /// by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is - /// `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 - /// CPU-seconds, then the value is written as `12005`. - /// - /// Alternatively, if you want a custom metric to record data in a more - /// granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is - /// `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), - /// or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). - /// - /// The supported units are a subset of [The Unified Code for Units of - /// Measure]() standard: - /// - /// **Basic units (UNIT)** - /// - /// * `bit` bit - /// * `By` byte - /// * `s` second - /// * `min` minute - /// * `h` hour - /// * `d` day - /// * `1` dimensionless - /// - /// **Prefixes (PREFIX)** - /// - /// * `k` kilo (10^3) - /// * `M` mega (10^6) - /// * `G` giga (10^9) - /// * `T` tera (10^12) - /// * `P` peta (10^15) - /// * `E` exa (10^18) - /// * `Z` zetta (10^21) - /// * `Y` yotta (10^24) - /// - /// * `m` milli (10^-3) - /// * `u` micro (10^-6) - /// * `n` nano (10^-9) - /// * `p` pico (10^-12) - /// * `f` femto (10^-15) - /// * `a` atto (10^-18) - /// * `z` zepto (10^-21) - /// * `y` yocto (10^-24) - /// - /// * `Ki` kibi (2^10) - /// * `Mi` mebi (2^20) - /// * `Gi` gibi (2^30) - /// * `Ti` tebi (2^40) - /// * `Pi` pebi (2^50) - /// - /// **Grammar** - /// - /// The grammar also includes these connectors: - /// - /// * `/` division or ratio (as an infix operator). For examples, + /// The units in which the metric value is reported. It is only applicable + /// if the `value_type` is `INT64`, `DOUBLE`, or `DISTRIBUTION`. The `unit` + /// defines the representation of the stored metric values. + /// + /// Different systems might scale the values to be more easily displayed (so a + /// value of `0.02kBy` _might_ be displayed as `20By`, and a value of + /// `3523kBy` _might_ be displayed as `3.5MBy`). However, if the `unit` is + /// `kBy`, then the value of the metric is always in thousands of bytes, no + /// matter how it might be displayed. + /// + /// If you want a custom metric to record the exact number of CPU-seconds used + /// by a job, you can create an `INT64 CUMULATIVE` metric whose `unit` is + /// `s{CPU}` (or equivalently `1s{CPU}` or just `s`). If the job uses 12,005 + /// CPU-seconds, then the value is written as `12005`. + /// + /// Alternatively, if you want a custom metric to record data in a more + /// granular way, you can create a `DOUBLE CUMULATIVE` metric whose `unit` is + /// `ks{CPU}`, and then write the value `12.005` (which is `12005/1000`), + /// or use `Kis{CPU}` and write `11.723` (which is `12005/1024`). + /// + /// The supported units are a subset of [The Unified Code for Units of + /// Measure]() standard: + /// + /// **Basic units (UNIT)** + /// + /// * `bit` bit + /// * `By` byte + /// * `s` second + /// * `min` minute + /// * `h` hour + /// * `d` day + /// * `1` dimensionless + /// + /// **Prefixes (PREFIX)** + /// + /// * `k` kilo (10^3) + /// * `M` mega (10^6) + /// * `G` giga (10^9) + /// * `T` tera (10^12) + /// * `P` peta (10^15) + /// * `E` exa (10^18) + /// * `Z` zetta (10^21) + /// * `Y` yotta (10^24) + /// + /// * `m` milli (10^-3) + /// * `u` micro (10^-6) + /// * `n` nano (10^-9) + /// * `p` pico (10^-12) + /// * `f` femto (10^-15) + /// * `a` atto (10^-18) + /// * `z` zepto (10^-21) + /// * `y` yocto (10^-24) + /// + /// * `Ki` kibi (2^10) + /// * `Mi` mebi (2^20) + /// * `Gi` gibi (2^30) + /// * `Ti` tebi (2^40) + /// * `Pi` pebi (2^50) + /// + /// **Grammar** + /// + /// The grammar also includes these connectors: + /// + /// * `/` division or ratio (as an infix operator). For examples, /// `kBy/{email}` or `MiBy/10ms` (although you should almost never /// have `/s` in a metric `unit`; rates should always be computed at /// query time from the underlying cumulative or delta value). - /// * `.` multiplication or composition (as an infix operator). For + /// * `.` multiplication or composition (as an infix operator). For /// examples, `GBy.d` or `k{watt}.h`. /// - /// The grammar for a unit is as follows: + /// The grammar for a unit is as follows: /// /// Expression = Component { "." Component } { "/" Component } ; /// @@ -2488,14 +2488,14 @@ pub struct MetricDescriptor { /// /// Annotation = "{" NAME "}" ; /// - /// Notes: + /// Notes: /// - /// * `Annotation` is just a comment if it follows a `UNIT`. If the annotation + /// * `Annotation` is just a comment if it follows a `UNIT`. If the annotation /// is used alone, then the unit is equivalent to `1`. For examples, /// `{request}/s == 1/s`, `By{transmitted}/s == By/s`. - /// * `NAME` is a sequence of non-blank printable ASCII characters not + /// * `NAME` is a sequence of non-blank printable ASCII characters not /// containing `{` or `}`. - /// * `1` represents a unitary [dimensionless + /// * `1` represents a unitary [dimensionless /// unit]() of 1, such /// as in `1/s`. It is typically used when none of the basic units are /// appropriate. For example, "new users per day" can be represented as @@ -2503,75 +2503,75 @@ pub struct MetricDescriptor { /// users). Alternatively, "thousands of page views per day" would be /// represented as `1000/d` or `k1/d` or `k{page_views}/d` (and a metric /// value of `5.3` would mean "5300 page views per day"). - /// * `%` represents dimensionless value of 1/100, and annotates values giving + /// * `%` represents dimensionless value of 1/100, and annotates values giving /// a percentage (so the metric values are typically in the range of 0..100, /// and a metric value `3` means "3 percent"). - /// * `10^2.%` indicates a metric contains a ratio, typically in the range + /// * `10^2.%` indicates a metric contains a ratio, typically in the range /// 0..1, that will be multiplied by 100 and displayed as a percentage /// (so a metric value `0.03` means "3 percent"). #[prost(string, tag="5")] pub unit: ::prost::alloc::string::String, - /// A detailed description of the metric, which can be used in documentation. + /// A detailed description of the metric, which can be used in documentation. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// A concise name for the metric, which can be displayed in user interfaces. - /// Use sentence case without an ending period, for example "Request count". - /// This field is optional but it is recommended to be set for any metrics - /// associated with user-visible concepts, such as Quota. + /// A concise name for the metric, which can be displayed in user interfaces. + /// Use sentence case without an ending period, for example "Request count". + /// This field is optional but it is recommended to be set for any metrics + /// associated with user-visible concepts, such as Quota. #[prost(string, tag="7")] pub display_name: ::prost::alloc::string::String, - /// Optional. Metadata which can be used to guide usage of the metric. + /// Optional. Metadata which can be used to guide usage of the metric. #[prost(message, optional, tag="10")] pub metadata: ::core::option::Option, - /// Optional. The launch stage of the metric definition. + /// Optional. The launch stage of the metric definition. #[prost(enumeration="LaunchStage", tag="12")] pub launch_stage: i32, - /// Read-only. If present, then a [time - /// series]\[google.monitoring.v3.TimeSeries\], which is identified partially by - /// a metric type and a \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\], that is associated - /// with this metric type can only be associated with one of the monitored - /// resource types listed here. + /// Read-only. If present, then a [time + /// series]\[google.monitoring.v3.TimeSeries\], which is identified partially by + /// a metric type and a \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\], that is associated + /// with this metric type can only be associated with one of the monitored + /// resource types listed here. #[prost(string, repeated, tag="13")] pub monitored_resource_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `MetricDescriptor`. pub mod metric_descriptor { - /// Additional annotations that can be used to guide the usage of a metric. + /// Additional annotations that can be used to guide the usage of a metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricDescriptorMetadata { - /// Deprecated. Must use the \[MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage\] instead. + /// Deprecated. Must use the \[MetricDescriptor.launch_stage][google.api.MetricDescriptor.launch_stage\] instead. #[deprecated] #[prost(enumeration="super::LaunchStage", tag="1")] pub launch_stage: i32, - /// The sampling period of metric data points. For metrics which are written - /// periodically, consecutive data points are stored at this time interval, - /// excluding data loss due to errors. Metrics with a higher granularity have - /// a smaller sampling period. + /// The sampling period of metric data points. For metrics which are written + /// periodically, consecutive data points are stored at this time interval, + /// excluding data loss due to errors. Metrics with a higher granularity have + /// a smaller sampling period. #[prost(message, optional, tag="2")] pub sample_period: ::core::option::Option<::prost_types::Duration>, - /// The delay of data points caused by ingestion. Data points older than this - /// age are guaranteed to be ingested and available to be read, excluding - /// data loss due to errors. + /// The delay of data points caused by ingestion. Data points older than this + /// age are guaranteed to be ingested and available to be read, excluding + /// data loss due to errors. #[prost(message, optional, tag="3")] pub ingest_delay: ::core::option::Option<::prost_types::Duration>, } - /// The kind of measurement. It describes how the data is reported. - /// For information on setting the start time and end time based on - /// the MetricKind, see \[TimeInterval][google.monitoring.v3.TimeInterval\]. + /// The kind of measurement. It describes how the data is reported. + /// For information on setting the start time and end time based on + /// the MetricKind, see \[TimeInterval][google.monitoring.v3.TimeInterval\]. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricKind { - /// Do not use this default value. + /// Do not use this default value. Unspecified = 0, - /// An instantaneous measurement of a value. + /// An instantaneous measurement of a value. Gauge = 1, - /// The change in a value during a time interval. + /// The change in a value during a time interval. Delta = 2, - /// A value accumulated over a time interval. Cumulative - /// measurements in a time series should have the same start time - /// and increasing end times, until an event resets the cumulative - /// value to zero and sets a new start time for the following - /// points. + /// A value accumulated over a time interval. Cumulative + /// measurements in a time series should have the same start time + /// and increasing end times, until an event resets the cumulative + /// value to zero and sets a new start time for the following + /// points. Cumulative = 3, } impl MetricKind { @@ -2588,25 +2588,25 @@ pub mod metric_descriptor { } } } - /// The value type of a metric. + /// The value type of a metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueType { - /// Do not use this default value. + /// Do not use this default value. Unspecified = 0, - /// The value is a boolean. - /// This value type can be used only if the metric kind is `GAUGE`. + /// The value is a boolean. + /// This value type can be used only if the metric kind is `GAUGE`. Bool = 1, - /// The value is a signed 64-bit integer. + /// The value is a signed 64-bit integer. Int64 = 2, - /// The value is a double precision floating point number. + /// The value is a double precision floating point number. Double = 3, - /// The value is a text string. - /// This value type can be used only if the metric kind is `GAUGE`. + /// The value is a text string. + /// This value type can be used only if the metric kind is `GAUGE`. String = 4, - /// The value is a \[`Distribution`][google.api.Distribution\]. + /// The value is a \[`Distribution`][google.api.Distribution\]. Distribution = 5, - /// The value is money. + /// The value is money. Money = 6, } impl ValueType { @@ -2627,120 +2627,120 @@ pub mod metric_descriptor { } } } -/// A specific metric, identified by specifying values for all of the -/// labels of a \[`MetricDescriptor`][google.api.MetricDescriptor\]. +/// A specific metric, identified by specifying values for all of the +/// labels of a \[`MetricDescriptor`][google.api.MetricDescriptor\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metric { - /// An existing metric type, see \[google.api.MetricDescriptor][google.api.MetricDescriptor\]. - /// For example, `custom.googleapis.com/invoice/paid/amount`. + /// An existing metric type, see \[google.api.MetricDescriptor][google.api.MetricDescriptor\]. + /// For example, `custom.googleapis.com/invoice/paid/amount`. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, - /// The set of label values that uniquely identify this metric. All - /// labels listed in the `MetricDescriptor` must be assigned values. + /// The set of label values that uniquely identify this metric. All + /// labels listed in the `MetricDescriptor` must be assigned values. #[prost(map="string, string", tag="2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// An object that describes the schema of a \[MonitoredResource][google.api.MonitoredResource\] object using a -/// type name and a set of labels. For example, the monitored resource -/// descriptor for Google Compute Engine VM instances has a type of -/// `"gce_instance"` and specifies the use of the labels `"instance_id"` and -/// `"zone"` to identify particular VM instances. +/// An object that describes the schema of a \[MonitoredResource][google.api.MonitoredResource\] object using a +/// type name and a set of labels. For example, the monitored resource +/// descriptor for Google Compute Engine VM instances has a type of +/// `"gce_instance"` and specifies the use of the labels `"instance_id"` and +/// `"zone"` to identify particular VM instances. /// -/// Different APIs can support different monitored resource types. APIs generally -/// provide a `list` method that returns the monitored resource descriptors used -/// by the API. +/// Different APIs can support different monitored resource types. APIs generally +/// provide a `list` method that returns the monitored resource descriptors used +/// by the API. /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoredResourceDescriptor { - /// Optional. The resource name of the monitored resource descriptor: - /// `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where - /// {type} is the value of the `type` field in this object and - /// {project_id} is a project ID that provides API-specific context for - /// accessing the type. APIs that do not use project information can use the - /// resource name format `"monitoredResourceDescriptors/{type}"`. + /// Optional. The resource name of the monitored resource descriptor: + /// `"projects/{project_id}/monitoredResourceDescriptors/{type}"` where + /// {type} is the value of the `type` field in this object and + /// {project_id} is a project ID that provides API-specific context for + /// accessing the type. APIs that do not use project information can use the + /// resource name format `"monitoredResourceDescriptors/{type}"`. #[prost(string, tag="5")] pub name: ::prost::alloc::string::String, - /// Required. The monitored resource type. For example, the type - /// `"cloudsql_database"` represents databases in Google Cloud SQL. + /// Required. The monitored resource type. For example, the type + /// `"cloudsql_database"` represents databases in Google Cloud SQL. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Optional. A concise name for the monitored resource type that might be - /// displayed in user interfaces. It should be a Title Cased Noun Phrase, - /// without any article or other determiners. For example, - /// `"Google Cloud SQL Database"`. + /// Optional. A concise name for the monitored resource type that might be + /// displayed in user interfaces. It should be a Title Cased Noun Phrase, + /// without any article or other determiners. For example, + /// `"Google Cloud SQL Database"`. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. A detailed description of the monitored resource type that might - /// be used in documentation. + /// Optional. A detailed description of the monitored resource type that might + /// be used in documentation. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Required. A set of labels used to describe instances of this monitored - /// resource type. For example, an individual Google Cloud SQL database is - /// identified by values for the labels `"database_id"` and `"zone"`. + /// Required. A set of labels used to describe instances of this monitored + /// resource type. For example, an individual Google Cloud SQL database is + /// identified by values for the labels `"database_id"` and `"zone"`. #[prost(message, repeated, tag="4")] pub labels: ::prost::alloc::vec::Vec, - /// Optional. The launch stage of the monitored resource definition. + /// Optional. The launch stage of the monitored resource definition. #[prost(enumeration="LaunchStage", tag="7")] pub launch_stage: i32, } -/// An object representing a resource that can be used for monitoring, logging, -/// billing, or other purposes. Examples include virtual machine instances, -/// databases, and storage devices such as disks. The `type` field identifies a -/// \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] object that describes the resource's -/// schema. Information in the `labels` field identifies the actual resource and -/// its attributes according to the schema. For example, a particular Compute -/// Engine VM instance could be represented by the following object, because the -/// \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] for `"gce_instance"` has labels -/// `"instance_id"` and `"zone"`: +/// An object representing a resource that can be used for monitoring, logging, +/// billing, or other purposes. Examples include virtual machine instances, +/// databases, and storage devices such as disks. The `type` field identifies a +/// \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] object that describes the resource's +/// schema. Information in the `labels` field identifies the actual resource and +/// its attributes according to the schema. For example, a particular Compute +/// Engine VM instance could be represented by the following object, because the +/// \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] for `"gce_instance"` has labels +/// `"instance_id"` and `"zone"`: /// /// { "type": "gce_instance", /// "labels": { "instance_id": "12345678901234", /// "zone": "us-central1-a" }} #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoredResource { - /// Required. The monitored resource type. This field must match - /// the `type` field of a \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] object. For - /// example, the type of a Compute Engine VM instance is `gce_instance`. + /// Required. The monitored resource type. This field must match + /// the `type` field of a \[MonitoredResourceDescriptor][google.api.MonitoredResourceDescriptor\] object. For + /// example, the type of a Compute Engine VM instance is `gce_instance`. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Required. Values for all of the labels listed in the associated monitored - /// resource descriptor. For example, Compute Engine VM instances use the - /// labels `"project_id"`, `"instance_id"`, and `"zone"`. + /// Required. Values for all of the labels listed in the associated monitored + /// resource descriptor. For example, Compute Engine VM instances use the + /// labels `"project_id"`, `"instance_id"`, and `"zone"`. #[prost(map="string, string", tag="2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Auxiliary metadata for a \[MonitoredResource][google.api.MonitoredResource\] object. -/// \[MonitoredResource][google.api.MonitoredResource\] objects contain the minimum set of information to -/// uniquely identify a monitored resource instance. There is some other useful -/// auxiliary metadata. Monitoring and Logging use an ingestion -/// pipeline to extract metadata for cloud resources of all types, and store -/// the metadata in this message. +/// Auxiliary metadata for a \[MonitoredResource][google.api.MonitoredResource\] object. +/// \[MonitoredResource][google.api.MonitoredResource\] objects contain the minimum set of information to +/// uniquely identify a monitored resource instance. There is some other useful +/// auxiliary metadata. Monitoring and Logging use an ingestion +/// pipeline to extract metadata for cloud resources of all types, and store +/// the metadata in this message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoredResourceMetadata { - /// Output only. Values for predefined system metadata labels. - /// System labels are a kind of metadata extracted by Google, including - /// "machine_image", "vpc", "subnet_id", - /// "security_group", "name", etc. - /// System label values can be only strings, Boolean values, or a list of - /// strings. For example: + /// Output only. Values for predefined system metadata labels. + /// System labels are a kind of metadata extracted by Google, including + /// "machine_image", "vpc", "subnet_id", + /// "security_group", "name", etc. + /// System label values can be only strings, Boolean values, or a list of + /// strings. For example: /// /// { "name": "my-test-instance", /// "security_group": ["a", "b", "c"], /// "spot_instance": false } #[prost(message, optional, tag="1")] pub system_labels: ::core::option::Option<::prost_types::Struct>, - /// Output only. A map of user-defined metadata labels. + /// Output only. A map of user-defined metadata labels. #[prost(map="string, string", tag="2")] pub user_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Monitoring configuration of the service. +/// Monitoring configuration of the service. /// -/// The example below shows how to configure monitored resources and metrics -/// for monitoring. In the example, a monitored resource and two metrics are -/// defined. The `library.googleapis.com/book/returned_count` metric is sent -/// to both producer and consumer projects, whereas the -/// `library.googleapis.com/book/num_overdue` metric is only sent to the -/// consumer project. +/// The example below shows how to configure monitored resources and metrics +/// for monitoring. In the example, a monitored resource and two metrics are +/// defined. The `library.googleapis.com/book/returned_count` metric is sent +/// to both producer and consumer projects, whereas the +/// `library.googleapis.com/book/num_overdue` metric is only sent to the +/// consumer project. /// /// monitored_resources: /// - type: library.googleapis.com/Branch @@ -2787,50 +2787,50 @@ pub struct MonitoredResourceMetadata { /// - library.googleapis.com/book/num_overdue #[derive(Clone, PartialEq, ::prost::Message)] pub struct Monitoring { - /// Monitoring configurations for sending metrics to the producer project. - /// There can be multiple producer destinations. A monitored resource type may - /// appear in multiple monitoring destinations if different aggregations are - /// needed for different sets of metrics associated with that monitored - /// resource type. A monitored resource and metric pair may only be used once - /// in the Monitoring configuration. + /// Monitoring configurations for sending metrics to the producer project. + /// There can be multiple producer destinations. A monitored resource type may + /// appear in multiple monitoring destinations if different aggregations are + /// needed for different sets of metrics associated with that monitored + /// resource type. A monitored resource and metric pair may only be used once + /// in the Monitoring configuration. #[prost(message, repeated, tag="1")] pub producer_destinations: ::prost::alloc::vec::Vec, - /// Monitoring configurations for sending metrics to the consumer project. - /// There can be multiple consumer destinations. A monitored resource type may - /// appear in multiple monitoring destinations if different aggregations are - /// needed for different sets of metrics associated with that monitored - /// resource type. A monitored resource and metric pair may only be used once - /// in the Monitoring configuration. + /// Monitoring configurations for sending metrics to the consumer project. + /// There can be multiple consumer destinations. A monitored resource type may + /// appear in multiple monitoring destinations if different aggregations are + /// needed for different sets of metrics associated with that monitored + /// resource type. A monitored resource and metric pair may only be used once + /// in the Monitoring configuration. #[prost(message, repeated, tag="2")] pub consumer_destinations: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Monitoring`. pub mod monitoring { - /// Configuration of a specific monitoring destination (the producer project - /// or the consumer project). + /// Configuration of a specific monitoring destination (the producer project + /// or the consumer project). #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoringDestination { - /// The monitored resource type. The type must be defined in - /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. + /// The monitored resource type. The type must be defined in + /// \[Service.monitored_resources][google.api.Service.monitored_resources\] section. #[prost(string, tag="1")] pub monitored_resource: ::prost::alloc::string::String, - /// Types of the metrics to report to this monitoring destination. - /// Each type must be defined in \[Service.metrics][google.api.Service.metrics\] section. + /// Types of the metrics to report to this monitoring destination. + /// Each type must be defined in \[Service.metrics][google.api.Service.metrics\] section. #[prost(string, repeated, tag="2")] pub metrics: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Quota configuration helps to achieve fairness and budgeting in service -/// usage. +/// Quota configuration helps to achieve fairness and budgeting in service +/// usage. /// -/// The metric based quota configuration works this way: -/// - The service configuration defines a set of metrics. -/// - For API calls, the quota.metric_rules maps methods to metrics with +/// The metric based quota configuration works this way: +/// - The service configuration defines a set of metrics. +/// - For API calls, the quota.metric_rules maps methods to metrics with /// corresponding costs. -/// - The quota.limits defines limits on the metrics, which will be used for +/// - The quota.limits defines limits on the metrics, which will be used for /// quota checks at runtime. /// -/// An example quota configuration in yaml format: +/// An example quota configuration in yaml format: /// /// quota: /// limits: @@ -2873,123 +2873,123 @@ pub mod monitoring { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Quota { - /// List of `QuotaLimit` definitions for the service. + /// List of `QuotaLimit` definitions for the service. #[prost(message, repeated, tag="3")] pub limits: ::prost::alloc::vec::Vec, - /// List of `MetricRule` definitions, each one mapping a selected method to one - /// or more metrics. + /// List of `MetricRule` definitions, each one mapping a selected method to one + /// or more metrics. #[prost(message, repeated, tag="4")] pub metric_rules: ::prost::alloc::vec::Vec, } -/// Bind API methods to metrics. Binding a method to a metric causes that -/// metric's configured quota behaviors to apply to the method call. +/// Bind API methods to metrics. Binding a method to a metric causes that +/// metric's configured quota behaviors to apply to the method call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricRule { - /// Selects the methods to which this rule applies. + /// Selects the methods to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// Metrics to update when the selected methods are called, and the associated - /// cost applied to each metric. + /// Metrics to update when the selected methods are called, and the associated + /// cost applied to each metric. /// - /// The key of the map is the metric name, and the values are the amount - /// increased for the metric against which the quota limits are defined. - /// The value must not be negative. + /// The key of the map is the metric name, and the values are the amount + /// increased for the metric against which the quota limits are defined. + /// The value must not be negative. #[prost(map="string, int64", tag="2")] pub metric_costs: ::std::collections::HashMap<::prost::alloc::string::String, i64>, } -/// `QuotaLimit` defines a specific limit that applies over a specified duration -/// for a limit type. There can be at most one limit for a duration and limit -/// type combination defined within a `QuotaGroup`. +/// `QuotaLimit` defines a specific limit that applies over a specified duration +/// for a limit type. There can be at most one limit for a duration and limit +/// type combination defined within a `QuotaGroup`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaLimit { - /// Name of the quota limit. + /// Name of the quota limit. /// - /// The name must be provided, and it must be unique within the service. The - /// name can only include alphanumeric characters as well as '-'. + /// The name must be provided, and it must be unique within the service. The + /// name can only include alphanumeric characters as well as '-'. /// - /// The maximum length of the limit name is 64 characters. + /// The maximum length of the limit name is 64 characters. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// Optional. User-visible, extended description for this quota limit. - /// Should be used only when more context is needed to understand this limit - /// than provided by the limit's display name (see: `display_name`). + /// Optional. User-visible, extended description for this quota limit. + /// Should be used only when more context is needed to understand this limit + /// than provided by the limit's display name (see: `display_name`). #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Default number of tokens that can be consumed during the specified - /// duration. This is the number of tokens assigned when a client - /// application developer activates the service for his/her project. + /// Default number of tokens that can be consumed during the specified + /// duration. This is the number of tokens assigned when a client + /// application developer activates the service for his/her project. /// - /// Specifying a value of 0 will block all requests. This can be used if you - /// are provisioning quota to selected consumers and blocking others. - /// Similarly, a value of -1 will indicate an unlimited quota. No other - /// negative values are allowed. + /// Specifying a value of 0 will block all requests. This can be used if you + /// are provisioning quota to selected consumers and blocking others. + /// Similarly, a value of -1 will indicate an unlimited quota. No other + /// negative values are allowed. /// - /// Used by group-based quotas only. + /// Used by group-based quotas only. #[prost(int64, tag="3")] pub default_limit: i64, - /// Maximum number of tokens that can be consumed during the specified - /// duration. Client application developers can override the default limit up - /// to this maximum. If specified, this value cannot be set to a value less - /// than the default limit. If not specified, it is set to the default limit. + /// Maximum number of tokens that can be consumed during the specified + /// duration. Client application developers can override the default limit up + /// to this maximum. If specified, this value cannot be set to a value less + /// than the default limit. If not specified, it is set to the default limit. /// - /// To allow clients to apply overrides with no upper bound, set this to -1, - /// indicating unlimited maximum quota. + /// To allow clients to apply overrides with no upper bound, set this to -1, + /// indicating unlimited maximum quota. /// - /// Used by group-based quotas only. + /// Used by group-based quotas only. #[prost(int64, tag="4")] pub max_limit: i64, - /// Free tier value displayed in the Developers Console for this limit. - /// The free tier is the number of tokens that will be subtracted from the - /// billed amount when billing is enabled. - /// This field can only be set on a limit with duration "1d", in a billable - /// group; it is invalid on any other limit. If this field is not set, it - /// defaults to 0, indicating that there is no free tier for this service. - /// - /// Used by group-based quotas only. + /// Free tier value displayed in the Developers Console for this limit. + /// The free tier is the number of tokens that will be subtracted from the + /// billed amount when billing is enabled. + /// This field can only be set on a limit with duration "1d", in a billable + /// group; it is invalid on any other limit. If this field is not set, it + /// defaults to 0, indicating that there is no free tier for this service. + /// + /// Used by group-based quotas only. #[prost(int64, tag="7")] pub free_tier: i64, - /// Duration of this limit in textual notation. Must be "100s" or "1d". + /// Duration of this limit in textual notation. Must be "100s" or "1d". /// - /// Used by group-based quotas only. + /// Used by group-based quotas only. #[prost(string, tag="5")] pub duration: ::prost::alloc::string::String, - /// The name of the metric this quota limit applies to. The quota limits with - /// the same metric will be checked together during runtime. The metric must be - /// defined within the service config. + /// The name of the metric this quota limit applies to. The quota limits with + /// the same metric will be checked together during runtime. The metric must be + /// defined within the service config. #[prost(string, tag="8")] pub metric: ::prost::alloc::string::String, - /// Specify the unit of the quota limit. It uses the same syntax as - /// \[Metric.unit][\]. The supported unit kinds are determined by the quota - /// backend system. + /// Specify the unit of the quota limit. It uses the same syntax as + /// \[Metric.unit][\]. The supported unit kinds are determined by the quota + /// backend system. /// - /// Here are some examples: - /// * "1/min/{project}" for quota per minute per project. + /// Here are some examples: + /// * "1/min/{project}" for quota per minute per project. /// - /// Note: the order of unit components is insignificant. - /// The "1" at the beginning is required to follow the metric unit syntax. + /// Note: the order of unit components is insignificant. + /// The "1" at the beginning is required to follow the metric unit syntax. #[prost(string, tag="9")] pub unit: ::prost::alloc::string::String, - /// Tiered limit values. You must specify this as a key:value pair, with an - /// integer value that is the maximum number of requests allowed for the - /// specified unit. Currently only STANDARD is supported. + /// Tiered limit values. You must specify this as a key:value pair, with an + /// integer value that is the maximum number of requests allowed for the + /// specified unit. Currently only STANDARD is supported. #[prost(map="string, int64", tag="10")] pub values: ::std::collections::HashMap<::prost::alloc::string::String, i64>, - /// User-visible display name for this limit. - /// Optional. If not set, the UI will provide a default display name based on - /// the quota configuration. This field can be used to override the default - /// display name generated from the configuration. + /// User-visible display name for this limit. + /// Optional. If not set, the UI will provide a default display name based on + /// the quota configuration. This field can be used to override the default + /// display name generated from the configuration. #[prost(string, tag="12")] pub display_name: ::prost::alloc::string::String, } -/// Specifies the routing information that should be sent along with the request -/// in the form of routing header. -/// **NOTE:** All service configuration rules follow the "last one wins" order. +/// Specifies the routing information that should be sent along with the request +/// in the form of routing header. +/// **NOTE:** All service configuration rules follow the "last one wins" order. /// -/// The examples below will apply to an RPC which has the following request type: +/// The examples below will apply to an RPC which has the following request type: /// -/// Message Definition: +/// Message Definition: /// /// message Request { /// // The name of the Table @@ -3006,24 +3006,24 @@ pub struct QuotaLimit { /// string app_profile_id = 2; /// } /// -/// Example message: +/// Example message: /// /// { /// table_name: projects/proj_foo/instances/instance_bar/table/table_baz, /// app_profile_id: profiles/prof_qux /// } /// -/// The routing header consists of one or multiple key-value pairs. Every key -/// and value must be percent-encoded, and joined together in the format of -/// `key1=value1&key2=value2`. -/// In the examples below I am skipping the percent-encoding for readablity. +/// The routing header consists of one or multiple key-value pairs. Every key +/// and value must be percent-encoded, and joined together in the format of +/// `key1=value1&key2=value2`. +/// In the examples below I am skipping the percent-encoding for readablity. /// -/// Example 1 +/// Example 1 /// -/// Extracting a field from the request to put into the routing header -/// unchanged, with the key equal to the field name. +/// Extracting a field from the request to put into the routing header +/// unchanged, with the key equal to the field name. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take the `app_profile_id`. @@ -3032,16 +3032,16 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: app_profile_id=profiles/prof_qux /// -/// Example 2 +/// Example 2 /// -/// Extracting a field from the request to put into the routing header -/// unchanged, with the key different from the field name. +/// Extracting a field from the request to put into the routing header +/// unchanged, with the key different from the field name. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take the `app_profile_id`, but name it `routing_id` in the header. @@ -3051,23 +3051,23 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: routing_id=profiles/prof_qux /// -/// Example 3 +/// Example 3 /// -/// Extracting a field from the request to put into the routing -/// header, while matching a path template syntax on the field's value. +/// Extracting a field from the request to put into the routing +/// header, while matching a path template syntax on the field's value. /// -/// NB: it is more useful to send nothing than to send garbage for the purpose -/// of dynamic routing, since garbage pollutes cache. Thus the matching. +/// NB: it is more useful to send nothing than to send garbage for the purpose +/// of dynamic routing, since garbage pollutes cache. Thus the matching. /// -/// Sub-example 3a +/// Sub-example 3a /// -/// The field matches the template. +/// The field matches the template. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take the `table_name`, if it's well-formed (with project-based @@ -3078,16 +3078,16 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// table_name=projects/proj_foo/instances/instance_bar/table/table_baz /// -/// Sub-example 3b +/// Sub-example 3b /// -/// The field does not match the template. +/// The field does not match the template. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take the `table_name`, if it's well-formed (with region-based @@ -3098,16 +3098,16 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// /// -/// Sub-example 3c +/// Sub-example 3c /// -/// Multiple alternative conflictingly named path templates are -/// specified. The one that matches is used to construct the header. +/// Multiple alternative conflictingly named path templates are +/// specified. The one that matches is used to construct the header. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take the `table_name`, if it's well-formed, whether @@ -3123,17 +3123,17 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// table_name=projects/proj_foo/instances/instance_bar/table/table_baz /// -/// Example 4 +/// Example 4 /// -/// Extracting a single routing header key-value pair by matching a -/// template syntax on (a part of) a single request field. +/// Extracting a single routing header key-value pair by matching a +/// template syntax on (a part of) a single request field. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // Take just the project id from the `table_name` field. @@ -3143,17 +3143,17 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: routing_id=projects/proj_foo /// -/// Example 5 +/// Example 5 /// -/// Extracting a single routing header key-value pair by matching -/// several conflictingly named path templates on (parts of) a single request -/// field. The last template to match "wins" the conflict. +/// Extracting a single routing header key-value pair by matching +/// several conflictingly named path templates on (parts of) a single request +/// field. The last template to match "wins" the conflict. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // If the `table_name` does not have instances information, @@ -3170,22 +3170,22 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// routing_id=projects/proj_foo/instances/instance_bar /// -/// Example 6 +/// Example 6 /// -/// Extracting multiple routing header key-value pairs by matching -/// several non-conflicting path templates on (parts of) a single request field. +/// Extracting multiple routing header key-value pairs by matching +/// several non-conflicting path templates on (parts of) a single request field. /// -/// Sub-example 6a +/// Sub-example 6a /// -/// Make the templates strict, so that if the `table_name` does not -/// have an instance information, nothing is sent. +/// Make the templates strict, so that if the `table_name` does not +/// have an instance information, nothing is sent. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // The routing code needs two keys instead of one composite @@ -3202,17 +3202,17 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// project_id=projects/proj_foo&instance_id=instances/instance_bar /// -/// Sub-example 6b +/// Sub-example 6b /// -/// Make the templates loose, so that if the `table_name` does not -/// have an instance information, just the project id part is sent. +/// Make the templates loose, so that if the `table_name` does not +/// have an instance information, just the project id part is sent. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // The routing code wants two keys instead of one composite @@ -3229,24 +3229,24 @@ pub struct QuotaLimit { /// } /// }; /// -/// result (is the same as 6a for our example message because it has the instance -/// information): +/// result (is the same as 6a for our example message because it has the instance +/// information): /// /// x-goog-request-params: /// project_id=projects/proj_foo&instance_id=instances/instance_bar /// -/// Example 7 +/// Example 7 /// -/// Extracting multiple routing header key-value pairs by matching -/// several path templates on multiple request fields. +/// Extracting multiple routing header key-value pairs by matching +/// several path templates on multiple request fields. /// -/// NB: note that here there is no way to specify sending nothing if one of the -/// fields does not match its template. E.g. if the `table_name` is in the wrong -/// format, the `project_id` will not be sent, but the `routing_id` will be. -/// The backend routing code has to be aware of that and be prepared to not -/// receive a full complement of keys if it expects multiple. +/// NB: note that here there is no way to specify sending nothing if one of the +/// fields does not match its template. E.g. if the `table_name` is in the wrong +/// format, the `project_id` will not be sent, but the `routing_id` will be. +/// The backend routing code has to be aware of that and be prepared to not +/// receive a full complement of keys if it expects multiple. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // The routing needs both `project_id` and `routing_id` @@ -3262,18 +3262,18 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// project_id=projects/proj_foo&routing_id=profiles/prof_qux /// -/// Example 8 +/// Example 8 /// -/// Extracting a single routing header key-value pair by matching -/// several conflictingly named path templates on several request fields. The -/// last template to match "wins" the conflict. +/// Extracting a single routing header key-value pair by matching +/// several conflictingly named path templates on several request fields. The +/// last template to match "wins" the conflict. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // The `routing_id` can be a project id or a region id depending on @@ -3294,15 +3294,15 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: routing_id=profiles/prof_qux /// -/// Example 9 +/// Example 9 /// -/// Bringing it all together. +/// Bringing it all together. /// -/// annotation: +/// annotation: /// /// option (google.api.routing) = { /// // For routing both `table_location` and a `routing_id` are needed. @@ -3338,38 +3338,38 @@ pub struct QuotaLimit { /// } /// }; /// -/// result: +/// result: /// /// x-goog-request-params: /// table_location=instances/instance_bar&routing_id=prof_qux #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutingRule { - /// A collection of Routing Parameter specifications. - /// **NOTE:** If multiple Routing Parameters describe the same key - /// (via the `path_template` field or via the `field` field when - /// `path_template` is not provided), "last one wins" rule - /// determines which Parameter gets used. - /// See the examples for more details. + /// A collection of Routing Parameter specifications. + /// **NOTE:** If multiple Routing Parameters describe the same key + /// (via the `path_template` field or via the `field` field when + /// `path_template` is not provided), "last one wins" rule + /// determines which Parameter gets used. + /// See the examples for more details. #[prost(message, repeated, tag="2")] pub routing_parameters: ::prost::alloc::vec::Vec, } -/// A projection from an input message to the GRPC or REST header. +/// A projection from an input message to the GRPC or REST header. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutingParameter { - /// A request field to extract the header key-value pair from. + /// A request field to extract the header key-value pair from. #[prost(string, tag="1")] pub field: ::prost::alloc::string::String, - /// A pattern matching the key-value field. Optional. - /// If not specified, the whole field specified in the `field` field will be - /// taken as value, and its name used as key. If specified, it MUST contain - /// exactly one named segment (along with any number of unnamed segments) The - /// pattern will be matched over the field specified in the `field` field, then - /// if the match is successful: - /// - the name of the single named segment will be used as a header name, - /// - the match value of the segment will be used as a header value; - /// if the match is NOT successful, nothing will be sent. - /// - /// Example: + /// A pattern matching the key-value field. Optional. + /// If not specified, the whole field specified in the `field` field will be + /// taken as value, and its name used as key. If specified, it MUST contain + /// exactly one named segment (along with any number of unnamed segments) The + /// pattern will be matched over the field specified in the `field` field, then + /// if the match is successful: + /// - the name of the single named segment will be used as a header name, + /// - the match value of the segment will be used as a header value; + /// if the match is NOT successful, nothing will be sent. + /// + /// Example: /// /// -- This is a field in the request message /// | that the header value will be extracted from. @@ -3388,57 +3388,57 @@ pub struct RoutingParameter { /// The string in the field must match the whole pattern -- /// before brackets, inside brackets, after brackets. /// - /// When looking at this specific example, we can see that: - /// - A key-value pair with the key `table_location` + /// When looking at this specific example, we can see that: + /// - A key-value pair with the key `table_location` /// and the value matching `instances/*` should be added /// to the x-goog-request-params routing header. - /// - The value is extracted from the request message's `table_name` field + /// - The value is extracted from the request message's `table_name` field /// if it matches the full pattern specified: /// `projects/*/instances/*/tables/*`. /// - /// **NB:** If the `path_template` field is not provided, the key name is - /// equal to the field name, and the whole field should be sent as a value. - /// This makes the pattern for the field and the value functionally equivalent - /// to `**`, and the configuration + /// **NB:** If the `path_template` field is not provided, the key name is + /// equal to the field name, and the whole field should be sent as a value. + /// This makes the pattern for the field and the value functionally equivalent + /// to `**`, and the configuration /// /// { /// field: "table_name" /// } /// - /// is a functionally equivalent shorthand to: + /// is a functionally equivalent shorthand to: /// /// { /// field: "table_name" /// path_template: "{table_name=**}" /// } /// - /// See Example 1 for more details. + /// See Example 1 for more details. #[prost(string, tag="2")] pub path_template: ::prost::alloc::string::String, } -/// Source information used to create a Service Config +/// Source information used to create a Service Config #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceInfo { - /// All files used during config generation. + /// All files used during config generation. #[prost(message, repeated, tag="1")] pub source_files: ::prost::alloc::vec::Vec<::prost_types::Any>, } -/// ### System parameter configuration +/// ### System parameter configuration /// -/// A system parameter is a special kind of parameter defined by the API -/// system, not by an individual API. It is typically mapped to an HTTP header -/// and/or a URL query parameter. This configuration specifies which methods -/// change the names of the system parameters. +/// A system parameter is a special kind of parameter defined by the API +/// system, not by an individual API. It is typically mapped to an HTTP header +/// and/or a URL query parameter. This configuration specifies which methods +/// change the names of the system parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemParameters { - /// Define system parameters. + /// Define system parameters. /// - /// The parameters defined here will override the default parameters - /// implemented by the system. If this field is missing from the service - /// config, default system parameters will be used. Default system parameters - /// and names is implementation-dependent. + /// The parameters defined here will override the default parameters + /// implemented by the system. If this field is missing from the service + /// config, default system parameters will be used. Default system parameters + /// and names is implementation-dependent. /// - /// Example: define api key for all methods + /// Example: define api key for all methods /// /// system_parameters /// rules: @@ -3448,7 +3448,7 @@ pub struct SystemParameters { /// url_query_parameter: api_key /// /// - /// Example: define 2 api key names for a specific method. + /// Example: define 2 api key names for a specific method. /// /// system_parameters /// rules: @@ -3459,95 +3459,95 @@ pub struct SystemParameters { /// - name: api_key /// http_header: Api-Key2 /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// Define a system parameter rule mapping system parameter definitions to -/// methods. +/// Define a system parameter rule mapping system parameter definitions to +/// methods. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemParameterRule { - /// Selects the methods to which this rule applies. Use '*' to indicate all - /// methods in all APIs. + /// Selects the methods to which this rule applies. Use '*' to indicate all + /// methods in all APIs. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// Define parameters. Multiple names may be defined for a parameter. - /// For a given method call, only one of them should be used. If multiple - /// names are used the behavior is implementation-dependent. - /// If none of the specified names are present the behavior is - /// parameter-dependent. + /// Define parameters. Multiple names may be defined for a parameter. + /// For a given method call, only one of them should be used. If multiple + /// names are used the behavior is implementation-dependent. + /// If none of the specified names are present the behavior is + /// parameter-dependent. #[prost(message, repeated, tag="2")] pub parameters: ::prost::alloc::vec::Vec, } -/// Define a parameter's name and location. The parameter may be passed as either -/// an HTTP header or a URL query parameter, and if both are passed the behavior -/// is implementation-dependent. +/// Define a parameter's name and location. The parameter may be passed as either +/// an HTTP header or a URL query parameter, and if both are passed the behavior +/// is implementation-dependent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemParameter { - /// Define the name of the parameter, such as "api_key" . It is case sensitive. + /// Define the name of the parameter, such as "api_key" . It is case sensitive. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Define the HTTP header name to use for the parameter. It is case - /// insensitive. + /// Define the HTTP header name to use for the parameter. It is case + /// insensitive. #[prost(string, tag="2")] pub http_header: ::prost::alloc::string::String, - /// Define the URL query parameter name to use for the parameter. It is case - /// sensitive. + /// Define the URL query parameter name to use for the parameter. It is case + /// sensitive. #[prost(string, tag="3")] pub url_query_parameter: ::prost::alloc::string::String, } -/// Configuration controlling usage of a service. +/// Configuration controlling usage of a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Usage { - /// Requirements that must be satisfied before a consumer project can use the - /// service. Each requirement is of the form /; - /// for example 'serviceusage.googleapis.com/billing-enabled'. - /// - /// For Google APIs, a Terms of Service requirement must be included here. - /// Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". - /// Other Google APIs should include - /// "serviceusage.googleapis.com/tos/universal". Additional ToS can be - /// included based on the business needs. + /// Requirements that must be satisfied before a consumer project can use the + /// service. Each requirement is of the form /; + /// for example 'serviceusage.googleapis.com/billing-enabled'. + /// + /// For Google APIs, a Terms of Service requirement must be included here. + /// Google Cloud APIs must include "serviceusage.googleapis.com/tos/cloud". + /// Other Google APIs should include + /// "serviceusage.googleapis.com/tos/universal". Additional ToS can be + /// included based on the business needs. #[prost(string, repeated, tag="1")] pub requirements: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of usage rules that apply to individual API methods. + /// A list of usage rules that apply to individual API methods. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="6")] pub rules: ::prost::alloc::vec::Vec, - /// The full resource name of a channel used for sending notifications to the - /// service producer. - /// - /// Google Service Management currently only supports - /// [Google Cloud Pub/Sub]() as a notification - /// channel. To use Google Cloud Pub/Sub as the channel, this must be the name - /// of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format - /// documented in + /// The full resource name of a channel used for sending notifications to the + /// service producer. + /// + /// Google Service Management currently only supports + /// [Google Cloud Pub/Sub]() as a notification + /// channel. To use Google Cloud Pub/Sub as the channel, this must be the name + /// of a Cloud Pub/Sub topic that uses the Cloud Pub/Sub topic name format + /// documented in #[prost(string, tag="7")] pub producer_notification_channel: ::prost::alloc::string::String, } -/// Usage configuration rules for the service. +/// Usage configuration rules for the service. /// -/// NOTE: Under development. +/// NOTE: Under development. /// /// -/// Use this rule to configure unregistered calls for the service. Unregistered -/// calls are calls that do not contain consumer project identity. -/// (Example: calls that do not contain an API key). -/// By default, API methods do not allow unregistered calls, and each method call -/// must be identified by a consumer project identity. Use this rule to -/// allow/disallow unregistered calls. +/// Use this rule to configure unregistered calls for the service. Unregistered +/// calls are calls that do not contain consumer project identity. +/// (Example: calls that do not contain an API key). +/// By default, API methods do not allow unregistered calls, and each method call +/// must be identified by a consumer project identity. Use this rule to +/// allow/disallow unregistered calls. /// -/// Example of an API that wants to allow unregistered calls for entire service. +/// Example of an API that wants to allow unregistered calls for entire service. /// /// usage: /// rules: /// - selector: "*" /// allow_unregistered_calls: true /// -/// Example of a method that wants to allow unregistered calls. +/// Example of a method that wants to allow unregistered calls. /// /// usage: /// rules: @@ -3555,30 +3555,30 @@ pub struct Usage { /// allow_unregistered_calls: true #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsageRule { - /// Selects the methods to which this rule applies. Use '*' to indicate all - /// methods in all APIs. + /// Selects the methods to which this rule applies. Use '*' to indicate all + /// methods in all APIs. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// If true, the selected method allows unregistered calls, e.g. calls - /// that don't identify any user or application. + /// If true, the selected method allows unregistered calls, e.g. calls + /// that don't identify any user or application. #[prost(bool, tag="2")] pub allow_unregistered_calls: bool, - /// If true, the selected method should skip service control and the control - /// plane features, such as quota and billing, will not be available. - /// This flag is used by Google Cloud Endpoints to bypass checks for internal - /// methods, such as service health check methods. + /// If true, the selected method should skip service control and the control + /// plane features, such as quota and billing, will not be available. + /// This flag is used by Google Cloud Endpoints to bypass checks for internal + /// methods, such as service health check methods. #[prost(bool, tag="3")] pub skip_service_control: bool, } -/// `Service` is the root object of Google service configuration schema. It -/// describes basic information about a service, such as the name and the -/// title, and delegates other aspects to sub-sections. Each sub-section is -/// either a proto message or a repeated proto message that configures a -/// specific aspect, such as auth. See each proto message definition for details. +/// `Service` is the root object of Google service configuration schema. It +/// describes basic information about a service, such as the name and the +/// title, and delegates other aspects to sub-sections. Each sub-section is +/// either a proto message or a repeated proto message that configures a +/// specific aspect, such as auth. See each proto message definition for details. /// -/// Example: +/// Example: /// /// type: google.api.Service /// name: calendar.googleapis.com @@ -3596,124 +3596,124 @@ pub struct UsageRule { /// provider_id: google_calendar_auth #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// The service name, which is a DNS-like logical identifier for the - /// service, such as `calendar.googleapis.com`. The service name - /// typically goes through DNS verification to make sure the owner - /// of the service also owns the DNS name. + /// The service name, which is a DNS-like logical identifier for the + /// service, such as `calendar.googleapis.com`. The service name + /// typically goes through DNS verification to make sure the owner + /// of the service also owns the DNS name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The product title for this service. + /// The product title for this service. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// The Google project that owns this service. + /// The Google project that owns this service. #[prost(string, tag="22")] pub producer_project_id: ::prost::alloc::string::String, - /// A unique ID for a specific instance of this message, typically assigned - /// by the client for tracking purpose. Must be no longer than 63 characters - /// and only lower case letters, digits, '.', '_' and '-' are allowed. If - /// empty, the server may choose to generate one instead. + /// A unique ID for a specific instance of this message, typically assigned + /// by the client for tracking purpose. Must be no longer than 63 characters + /// and only lower case letters, digits, '.', '_' and '-' are allowed. If + /// empty, the server may choose to generate one instead. #[prost(string, tag="33")] pub id: ::prost::alloc::string::String, - /// A list of API interfaces exported by this service. Only the `name` field - /// of the \[google.protobuf.Api][google.protobuf.Api\] needs to be provided by the configuration - /// author, as the remaining fields will be derived from the IDL during the - /// normalization process. It is an error to specify an API interface here - /// which cannot be resolved against the associated IDL files. + /// A list of API interfaces exported by this service. Only the `name` field + /// of the \[google.protobuf.Api][google.protobuf.Api\] needs to be provided by the configuration + /// author, as the remaining fields will be derived from the IDL during the + /// normalization process. It is an error to specify an API interface here + /// which cannot be resolved against the associated IDL files. #[prost(message, repeated, tag="3")] pub apis: ::prost::alloc::vec::Vec<::prost_types::Api>, - /// A list of all proto message types included in this API service. - /// Types referenced directly or indirectly by the `apis` are - /// automatically included. Messages which are not referenced but - /// shall be included, such as types used by the `google.protobuf.Any` type, - /// should be listed here by name. Example: + /// A list of all proto message types included in this API service. + /// Types referenced directly or indirectly by the `apis` are + /// automatically included. Messages which are not referenced but + /// shall be included, such as types used by the `google.protobuf.Any` type, + /// should be listed here by name. Example: /// /// types: /// - name: google.protobuf.Int32 #[prost(message, repeated, tag="4")] pub types: ::prost::alloc::vec::Vec<::prost_types::Type>, - /// A list of all enum types included in this API service. Enums - /// referenced directly or indirectly by the `apis` are automatically - /// included. Enums which are not referenced but shall be included - /// should be listed here by name. Example: + /// A list of all enum types included in this API service. Enums + /// referenced directly or indirectly by the `apis` are automatically + /// included. Enums which are not referenced but shall be included + /// should be listed here by name. Example: /// /// enums: /// - name: google.someapi.v1.SomeEnum #[prost(message, repeated, tag="5")] pub enums: ::prost::alloc::vec::Vec<::prost_types::Enum>, - /// Additional API documentation. + /// Additional API documentation. #[prost(message, optional, tag="6")] pub documentation: ::core::option::Option, - /// API backend configuration. + /// API backend configuration. #[prost(message, optional, tag="8")] pub backend: ::core::option::Option, - /// HTTP configuration. + /// HTTP configuration. #[prost(message, optional, tag="9")] pub http: ::core::option::Option, - /// Quota configuration. + /// Quota configuration. #[prost(message, optional, tag="10")] pub quota: ::core::option::Option, - /// Auth configuration. + /// Auth configuration. #[prost(message, optional, tag="11")] pub authentication: ::core::option::Option, - /// Context configuration. + /// Context configuration. #[prost(message, optional, tag="12")] pub context: ::core::option::Option, - /// Configuration controlling usage of this service. + /// Configuration controlling usage of this service. #[prost(message, optional, tag="15")] pub usage: ::core::option::Option, - /// Configuration for network endpoints. If this is empty, then an endpoint - /// with the same name as the service is automatically generated to service all - /// defined APIs. + /// Configuration for network endpoints. If this is empty, then an endpoint + /// with the same name as the service is automatically generated to service all + /// defined APIs. #[prost(message, repeated, tag="18")] pub endpoints: ::prost::alloc::vec::Vec, - /// Configuration for the service control plane. + /// Configuration for the service control plane. #[prost(message, optional, tag="21")] pub control: ::core::option::Option, - /// Defines the logs used by this service. + /// Defines the logs used by this service. #[prost(message, repeated, tag="23")] pub logs: ::prost::alloc::vec::Vec, - /// Defines the metrics used by this service. + /// Defines the metrics used by this service. #[prost(message, repeated, tag="24")] pub metrics: ::prost::alloc::vec::Vec, - /// Defines the monitored resources used by this service. This is required - /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. + /// Defines the monitored resources used by this service. This is required + /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. #[prost(message, repeated, tag="25")] pub monitored_resources: ::prost::alloc::vec::Vec, - /// Billing configuration. + /// Billing configuration. #[prost(message, optional, tag="26")] pub billing: ::core::option::Option, - /// Logging configuration. + /// Logging configuration. #[prost(message, optional, tag="27")] pub logging: ::core::option::Option, - /// Monitoring configuration. + /// Monitoring configuration. #[prost(message, optional, tag="28")] pub monitoring: ::core::option::Option, - /// System parameter configuration. + /// System parameter configuration. #[prost(message, optional, tag="29")] pub system_parameters: ::core::option::Option, - /// Output only. The source information for this configuration if available. + /// Output only. The source information for this configuration if available. #[prost(message, optional, tag="37")] pub source_info: ::core::option::Option, - /// Obsolete. Do not use. + /// Obsolete. Do not use. /// - /// This field has no semantic meaning. The service config compiler always - /// sets this field to `3`. + /// This field has no semantic meaning. The service config compiler always + /// sets this field to `3`. #[deprecated] #[prost(message, optional, tag="20")] pub config_version: ::core::option::Option, } -/// `Visibility` defines restrictions for the visibility of service -/// elements. Restrictions are specified using visibility labels -/// (e.g., PREVIEW) that are elsewhere linked to users and projects. +/// `Visibility` defines restrictions for the visibility of service +/// elements. Restrictions are specified using visibility labels +/// (e.g., PREVIEW) that are elsewhere linked to users and projects. /// -/// Users and projects can have access to more than one visibility label. The -/// effective visibility for multiple labels is the union of each label's -/// elements, plus any unrestricted elements. +/// Users and projects can have access to more than one visibility label. The +/// effective visibility for multiple labels is the union of each label's +/// elements, plus any unrestricted elements. /// -/// If an element and its parents have no restrictions, visibility is -/// unconditionally granted. +/// If an element and its parents have no restrictions, visibility is +/// unconditionally granted. /// -/// Example: +/// Example: /// /// visibility: /// rules: @@ -3722,40 +3722,40 @@ pub struct Service { /// - selector: google.calendar.Calendar.Delegate /// restriction: INTERNAL /// -/// Here, all methods are publicly visible except for the restricted methods -/// EnhancedSearch and Delegate. +/// Here, all methods are publicly visible except for the restricted methods +/// EnhancedSearch and Delegate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Visibility { - /// A list of visibility rules that apply to individual API elements. + /// A list of visibility rules that apply to individual API elements. /// - /// **NOTE:** All service configuration rules follow "last one wins" order. + /// **NOTE:** All service configuration rules follow "last one wins" order. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } -/// A visibility rule provides visibility configuration for an individual API -/// element. +/// A visibility rule provides visibility configuration for an individual API +/// element. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VisibilityRule { - /// Selects methods, messages, fields, enums, etc. to which this rule applies. + /// Selects methods, messages, fields, enums, etc. to which this rule applies. /// - /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. + /// Refer to \[selector][google.api.DocumentationRule.selector\] for syntax details. #[prost(string, tag="1")] pub selector: ::prost::alloc::string::String, - /// A comma-separated list of visibility labels that apply to the `selector`. - /// Any of the listed labels can be used to grant the visibility. + /// A comma-separated list of visibility labels that apply to the `selector`. + /// Any of the listed labels can be used to grant the visibility. /// - /// If a rule has multiple labels, removing one of the labels but not all of - /// them can break clients. + /// If a rule has multiple labels, removing one of the labels but not all of + /// them can break clients. /// - /// Example: + /// Example: /// /// visibility: /// rules: /// - selector: google.calendar.Calendar.EnhancedSearch /// restriction: INTERNAL, PREVIEW /// - /// Removing INTERNAL from this restriction will break clients that rely on - /// this method and only had access to it through INTERNAL. + /// Removing INTERNAL from this restriction will break clients that rely on + /// this method and only had access to it through INTERNAL. #[prost(string, tag="2")] pub restriction: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.api.servicecontrol.v1.rs b/gcloud-sdk/genproto/google.api.servicecontrol.v1.rs index fd04ab60f..f59fd98a9 100644 --- a/gcloud-sdk/genproto/google.api.servicecontrol.v1.rs +++ b/gcloud-sdk/genproto/google.api.servicecontrol.v1.rs @@ -1,81 +1,81 @@ -/// Defines the errors to be returned in -/// \[google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors\]. +/// Defines the errors to be returned in +/// \[google.api.servicecontrol.v1.CheckResponse.check_errors][google.api.servicecontrol.v1.CheckResponse.check_errors\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckError { - /// The error code. + /// The error code. #[prost(enumeration="check_error::Code", tag="1")] pub code: i32, - /// Subject to whom this error applies. See the specific code enum for more - /// details on this field. For example: + /// Subject to whom this error applies. See the specific code enum for more + /// details on this field. For example: /// - /// - "project:" - /// - "folder:" - /// - "organization:" + /// - "project:" + /// - "folder:" + /// - "organization:" #[prost(string, tag="4")] pub subject: ::prost::alloc::string::String, - /// Free-form text providing details on the error cause of the error. + /// Free-form text providing details on the error cause of the error. #[prost(string, tag="2")] pub detail: ::prost::alloc::string::String, - /// Contains public information about the check error. If available, - /// `status.code` will be non zero and client can propagate it out as public - /// error. + /// Contains public information about the check error. If available, + /// `status.code` will be non zero and client can propagate it out as public + /// error. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, } /// Nested message and enum types in `CheckError`. pub mod check_error { - /// Error codes for Check responses. + /// Error codes for Check responses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// This is never used in `CheckResponse`. + /// This is never used in `CheckResponse`. ErrorCodeUnspecified = 0, - /// The consumer's project id, network container, or resource container was - /// not found. Same as \[google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND\]. + /// The consumer's project id, network container, or resource container was + /// not found. Same as \[google.rpc.Code.NOT_FOUND][google.rpc.Code.NOT_FOUND\]. NotFound = 5, - /// The consumer doesn't have access to the specified resource. - /// Same as \[google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED\]. + /// The consumer doesn't have access to the specified resource. + /// Same as \[google.rpc.Code.PERMISSION_DENIED][google.rpc.Code.PERMISSION_DENIED\]. PermissionDenied = 7, - /// Quota check failed. Same as \[google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED\]. + /// Quota check failed. Same as \[google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED\]. ResourceExhausted = 8, - /// The consumer hasn't activated the service. + /// The consumer hasn't activated the service. ServiceNotActivated = 104, - /// The consumer cannot access the service because billing is disabled. + /// The consumer cannot access the service because billing is disabled. BillingDisabled = 107, - /// The consumer's project has been marked as deleted (soft deletion). + /// The consumer's project has been marked as deleted (soft deletion). ProjectDeleted = 108, - /// The consumer's project number or id does not represent a valid project. + /// The consumer's project number or id does not represent a valid project. ProjectInvalid = 114, - /// The input consumer info does not represent a valid consumer folder or - /// organization. + /// The input consumer info does not represent a valid consumer folder or + /// organization. ConsumerInvalid = 125, - /// The IP address of the consumer is invalid for the specific consumer - /// project. + /// The IP address of the consumer is invalid for the specific consumer + /// project. IpAddressBlocked = 109, - /// The referer address of the consumer request is invalid for the specific - /// consumer project. + /// The referer address of the consumer request is invalid for the specific + /// consumer project. RefererBlocked = 110, - /// The client application of the consumer request is invalid for the - /// specific consumer project. + /// The client application of the consumer request is invalid for the + /// specific consumer project. ClientAppBlocked = 111, - /// The API targeted by this request is invalid for the specified consumer - /// project. + /// The API targeted by this request is invalid for the specified consumer + /// project. ApiTargetBlocked = 122, - /// The consumer's API key is invalid. + /// The consumer's API key is invalid. ApiKeyInvalid = 105, - /// The consumer's API Key has expired. + /// The consumer's API Key has expired. ApiKeyExpired = 112, - /// The consumer's API Key was not found in config record. + /// The consumer's API Key was not found in config record. ApiKeyNotFound = 113, - /// The credential in the request can not be verified. + /// The credential in the request can not be verified. InvalidCredential = 123, - /// The backend server for looking up project id/number is unavailable. + /// The backend server for looking up project id/number is unavailable. NamespaceLookupUnavailable = 300, - /// The backend server for checking service status is unavailable. + /// The backend server for checking service status is unavailable. ServiceStatusUnavailable = 301, - /// The backend server for checking billing status is unavailable. + /// The backend server for checking billing status is unavailable. BillingStatusUnavailable = 302, - /// Cloud Resource Manager backend server is unavailable. + /// Cloud Resource Manager backend server is unavailable. CloudResourceManagerBackendUnavailable = 305, } impl Code { @@ -110,435 +110,435 @@ pub mod check_error { } } } -/// Distribution represents a frequency distribution of double-valued sample -/// points. It contains the size of the population of sample points plus -/// additional optional information: +/// Distribution represents a frequency distribution of double-valued sample +/// points. It contains the size of the population of sample points plus +/// additional optional information: /// -/// * the arithmetic mean of the samples -/// * the minimum and maximum of the samples -/// * the sum-squared-deviation of the samples, used to compute variance -/// * a histogram of the values of the sample points +/// * the arithmetic mean of the samples +/// * the minimum and maximum of the samples +/// * the sum-squared-deviation of the samples, used to compute variance +/// * a histogram of the values of the sample points #[derive(Clone, PartialEq, ::prost::Message)] pub struct Distribution { - /// The total number of samples in the distribution. Must be >= 0. + /// The total number of samples in the distribution. Must be >= 0. #[prost(int64, tag="1")] pub count: i64, - /// The arithmetic mean of the samples in the distribution. If `count` is - /// zero then this field must be zero. + /// The arithmetic mean of the samples in the distribution. If `count` is + /// zero then this field must be zero. #[prost(double, tag="2")] pub mean: f64, - /// The minimum of the population of values. Ignored if `count` is zero. + /// The minimum of the population of values. Ignored if `count` is zero. #[prost(double, tag="3")] pub minimum: f64, - /// The maximum of the population of values. Ignored if `count` is zero. + /// The maximum of the population of values. Ignored if `count` is zero. #[prost(double, tag="4")] pub maximum: f64, - /// The sum of squared deviations from the mean: + /// The sum of squared deviations from the mean: /// Sum\[i=1..count\]((x_i - mean)^2) - /// where each x_i is a sample values. If `count` is zero then this field - /// must be zero, otherwise validation of the request fails. + /// where each x_i is a sample values. If `count` is zero then this field + /// must be zero, otherwise validation of the request fails. #[prost(double, tag="5")] pub sum_of_squared_deviation: f64, - /// The number of samples in each histogram bucket. `bucket_counts` are - /// optional. If present, they must sum to the `count` value. + /// The number of samples in each histogram bucket. `bucket_counts` are + /// optional. If present, they must sum to the `count` value. /// - /// The buckets are defined below in `bucket_option`. There are N buckets. - /// `bucket_counts\[0\]` is the number of samples in the underflow bucket. - /// `bucket_counts\[1\]` to `bucket_counts\[N-1\]` are the numbers of samples - /// in each of the finite buckets. And `bucket_counts\[N\] is the number - /// of samples in the overflow bucket. See the comments of `bucket_option` - /// below for more details. + /// The buckets are defined below in `bucket_option`. There are N buckets. + /// `bucket_counts\[0\]` is the number of samples in the underflow bucket. + /// `bucket_counts\[1\]` to `bucket_counts\[N-1\]` are the numbers of samples + /// in each of the finite buckets. And `bucket_counts\[N\] is the number + /// of samples in the overflow bucket. See the comments of `bucket_option` + /// below for more details. /// - /// Any suffix of trailing zeros may be omitted. + /// Any suffix of trailing zeros may be omitted. #[prost(int64, repeated, tag="6")] pub bucket_counts: ::prost::alloc::vec::Vec, - /// Example points. Must be in increasing order of `value` field. + /// Example points. Must be in increasing order of `value` field. #[prost(message, repeated, tag="10")] pub exemplars: ::prost::alloc::vec::Vec, - /// Defines the buckets in the histogram. `bucket_option` and `bucket_counts` - /// must be both set, or both unset. + /// Defines the buckets in the histogram. `bucket_option` and `bucket_counts` + /// must be both set, or both unset. /// - /// Buckets are numbered in the range of [0, N], with a total of N+1 buckets. - /// There must be at least two buckets (a single-bucket histogram gives - /// no information that isn't already provided by `count`). + /// Buckets are numbered in the range of [0, N], with a total of N+1 buckets. + /// There must be at least two buckets (a single-bucket histogram gives + /// no information that isn't already provided by `count`). /// - /// The first bucket is the underflow bucket which has a lower bound - /// of -inf. The last bucket is the overflow bucket which has an - /// upper bound of +inf. All other buckets (if any) are called "finite" - /// buckets because they have finite lower and upper bounds. As described - /// below, there are three ways to define the finite buckets. + /// The first bucket is the underflow bucket which has a lower bound + /// of -inf. The last bucket is the overflow bucket which has an + /// upper bound of +inf. All other buckets (if any) are called "finite" + /// buckets because they have finite lower and upper bounds. As described + /// below, there are three ways to define the finite buckets. /// /// (1) Buckets with constant width. /// (2) Buckets with exponentially growing widths. /// (3) Buckets with arbitrary user-provided widths. /// - /// In all cases, the buckets cover the entire real number line (-inf, - /// +inf). Bucket upper bounds are exclusive and lower bounds are - /// inclusive. The upper bound of the underflow bucket is equal to the - /// lower bound of the smallest finite bucket; the lower bound of the - /// overflow bucket is equal to the upper bound of the largest finite - /// bucket. + /// In all cases, the buckets cover the entire real number line (-inf, + /// +inf). Bucket upper bounds are exclusive and lower bounds are + /// inclusive. The upper bound of the underflow bucket is equal to the + /// lower bound of the smallest finite bucket; the lower bound of the + /// overflow bucket is equal to the upper bound of the largest finite + /// bucket. #[prost(oneof="distribution::BucketOption", tags="7, 8, 9")] pub bucket_option: ::core::option::Option, } /// Nested message and enum types in `Distribution`. pub mod distribution { - /// Describing buckets with constant width. + /// Describing buckets with constant width. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LinearBuckets { - /// The number of finite buckets. With the underflow and overflow buckets, - /// the total number of buckets is `num_finite_buckets` + 2. - /// See comments on `bucket_options` for details. + /// The number of finite buckets. With the underflow and overflow buckets, + /// the total number of buckets is `num_finite_buckets` + 2. + /// See comments on `bucket_options` for details. #[prost(int32, tag="1")] pub num_finite_buckets: i32, - /// The i'th linear bucket covers the interval + /// The i'th linear bucket covers the interval /// [offset + (i-1) * width, offset + i * width) - /// where i ranges from 1 to num_finite_buckets, inclusive. - /// Must be strictly positive. + /// where i ranges from 1 to num_finite_buckets, inclusive. + /// Must be strictly positive. #[prost(double, tag="2")] pub width: f64, - /// The i'th linear bucket covers the interval + /// The i'th linear bucket covers the interval /// [offset + (i-1) * width, offset + i * width) - /// where i ranges from 1 to num_finite_buckets, inclusive. + /// where i ranges from 1 to num_finite_buckets, inclusive. #[prost(double, tag="3")] pub offset: f64, } - /// Describing buckets with exponentially growing width. + /// Describing buckets with exponentially growing width. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExponentialBuckets { - /// The number of finite buckets. With the underflow and overflow buckets, - /// the total number of buckets is `num_finite_buckets` + 2. - /// See comments on `bucket_options` for details. + /// The number of finite buckets. With the underflow and overflow buckets, + /// the total number of buckets is `num_finite_buckets` + 2. + /// See comments on `bucket_options` for details. #[prost(int32, tag="1")] pub num_finite_buckets: i32, - /// The i'th exponential bucket covers the interval + /// The i'th exponential bucket covers the interval /// [scale * growth_factor^(i-1), scale * growth_factor^i) - /// where i ranges from 1 to num_finite_buckets inclusive. - /// Must be larger than 1.0. + /// where i ranges from 1 to num_finite_buckets inclusive. + /// Must be larger than 1.0. #[prost(double, tag="2")] pub growth_factor: f64, - /// The i'th exponential bucket covers the interval + /// The i'th exponential bucket covers the interval /// [scale * growth_factor^(i-1), scale * growth_factor^i) - /// where i ranges from 1 to num_finite_buckets inclusive. - /// Must be > 0. + /// where i ranges from 1 to num_finite_buckets inclusive. + /// Must be > 0. #[prost(double, tag="3")] pub scale: f64, } - /// Describing buckets with arbitrary user-provided width. + /// Describing buckets with arbitrary user-provided width. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplicitBuckets { - /// 'bound' is a list of strictly increasing boundaries between - /// buckets. Note that a list of length N-1 defines N buckets because - /// of fenceposting. See comments on `bucket_options` for details. + /// 'bound' is a list of strictly increasing boundaries between + /// buckets. Note that a list of length N-1 defines N buckets because + /// of fenceposting. See comments on `bucket_options` for details. /// - /// The i'th finite bucket covers the interval + /// The i'th finite bucket covers the interval /// \[bound[i-1\], bound\[i\]) - /// where i ranges from 1 to bound_size() - 1. Note that there are no - /// finite buckets at all if 'bound' only contains a single element; in - /// that special case the single bound defines the boundary between the - /// underflow and overflow buckets. + /// where i ranges from 1 to bound_size() - 1. Note that there are no + /// finite buckets at all if 'bound' only contains a single element; in + /// that special case the single bound defines the boundary between the + /// underflow and overflow buckets. /// - /// bucket number lower bound upper bound + /// bucket number lower bound upper bound /// i == 0 (underflow) -inf bound\[i\] /// 0 < i < bound_size() bound\[i-1\] bound\[i\] /// i == bound_size() (overflow) bound\[i-1\] +inf #[prost(double, repeated, tag="1")] pub bounds: ::prost::alloc::vec::Vec, } - /// Defines the buckets in the histogram. `bucket_option` and `bucket_counts` - /// must be both set, or both unset. + /// Defines the buckets in the histogram. `bucket_option` and `bucket_counts` + /// must be both set, or both unset. /// - /// Buckets are numbered in the range of [0, N], with a total of N+1 buckets. - /// There must be at least two buckets (a single-bucket histogram gives - /// no information that isn't already provided by `count`). + /// Buckets are numbered in the range of [0, N], with a total of N+1 buckets. + /// There must be at least two buckets (a single-bucket histogram gives + /// no information that isn't already provided by `count`). /// - /// The first bucket is the underflow bucket which has a lower bound - /// of -inf. The last bucket is the overflow bucket which has an - /// upper bound of +inf. All other buckets (if any) are called "finite" - /// buckets because they have finite lower and upper bounds. As described - /// below, there are three ways to define the finite buckets. + /// The first bucket is the underflow bucket which has a lower bound + /// of -inf. The last bucket is the overflow bucket which has an + /// upper bound of +inf. All other buckets (if any) are called "finite" + /// buckets because they have finite lower and upper bounds. As described + /// below, there are three ways to define the finite buckets. /// /// (1) Buckets with constant width. /// (2) Buckets with exponentially growing widths. /// (3) Buckets with arbitrary user-provided widths. /// - /// In all cases, the buckets cover the entire real number line (-inf, - /// +inf). Bucket upper bounds are exclusive and lower bounds are - /// inclusive. The upper bound of the underflow bucket is equal to the - /// lower bound of the smallest finite bucket; the lower bound of the - /// overflow bucket is equal to the upper bound of the largest finite - /// bucket. + /// In all cases, the buckets cover the entire real number line (-inf, + /// +inf). Bucket upper bounds are exclusive and lower bounds are + /// inclusive. The upper bound of the underflow bucket is equal to the + /// lower bound of the smallest finite bucket; the lower bound of the + /// overflow bucket is equal to the upper bound of the largest finite + /// bucket. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BucketOption { - /// Buckets with constant width. + /// Buckets with constant width. #[prost(message, tag="7")] LinearBuckets(LinearBuckets), - /// Buckets with exponentially growing width. + /// Buckets with exponentially growing width. #[prost(message, tag="8")] ExponentialBuckets(ExponentialBuckets), - /// Buckets with arbitrary user-provided width. + /// Buckets with arbitrary user-provided width. #[prost(message, tag="9")] ExplicitBuckets(ExplicitBuckets), } } -/// A common proto for logging HTTP requests. Only contains semantics -/// defined by the HTTP specification. Product-specific logging -/// information MUST be defined in a separate message. +/// A common proto for logging HTTP requests. Only contains semantics +/// defined by the HTTP specification. Product-specific logging +/// information MUST be defined in a separate message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRequest { - /// The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. + /// The request method. Examples: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`. #[prost(string, tag="1")] pub request_method: ::prost::alloc::string::String, - /// The scheme (http, https), the host name, the path, and the query - /// portion of the URL that was requested. - /// Example: `" + /// The scheme (http, https), the host name, the path, and the query + /// portion of the URL that was requested. + /// Example: `" #[prost(string, tag="2")] pub request_url: ::prost::alloc::string::String, - /// The size of the HTTP request message in bytes, including the request - /// headers and the request body. + /// The size of the HTTP request message in bytes, including the request + /// headers and the request body. #[prost(int64, tag="3")] pub request_size: i64, - /// The response code indicating the status of the response. - /// Examples: 200, 404. + /// The response code indicating the status of the response. + /// Examples: 200, 404. #[prost(int32, tag="4")] pub status: i32, - /// The size of the HTTP response message sent back to the client, in bytes, - /// including the response headers and the response body. + /// The size of the HTTP response message sent back to the client, in bytes, + /// including the response headers and the response body. #[prost(int64, tag="5")] pub response_size: i64, - /// The user agent sent by the client. Example: - /// `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET - /// CLR 1.0.3705)"`. + /// The user agent sent by the client. Example: + /// `"Mozilla/4.0 (compatible; MSIE 6.0; Windows 98; Q312461; .NET + /// CLR 1.0.3705)"`. #[prost(string, tag="6")] pub user_agent: ::prost::alloc::string::String, - /// The IP address (IPv4 or IPv6) of the client that issued the HTTP - /// request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. + /// The IP address (IPv4 or IPv6) of the client that issued the HTTP + /// request. Examples: `"192.168.1.1"`, `"FE80::0202:B3FF:FE1E:8329"`. #[prost(string, tag="7")] pub remote_ip: ::prost::alloc::string::String, - /// The IP address (IPv4 or IPv6) of the origin server that the request was - /// sent to. + /// The IP address (IPv4 or IPv6) of the origin server that the request was + /// sent to. #[prost(string, tag="13")] pub server_ip: ::prost::alloc::string::String, - /// The referer URL of the request, as defined in - /// [HTTP/1.1 Header Field - /// Definitions](). + /// The referer URL of the request, as defined in + /// [HTTP/1.1 Header Field + /// Definitions](). #[prost(string, tag="8")] pub referer: ::prost::alloc::string::String, - /// The request processing latency on the server, from the time the request was - /// received until the response was sent. + /// The request processing latency on the server, from the time the request was + /// received until the response was sent. #[prost(message, optional, tag="14")] pub latency: ::core::option::Option<::prost_types::Duration>, - /// Whether or not a cache lookup was attempted. + /// Whether or not a cache lookup was attempted. #[prost(bool, tag="11")] pub cache_lookup: bool, - /// Whether or not an entity was served from cache - /// (with or without validation). + /// Whether or not an entity was served from cache + /// (with or without validation). #[prost(bool, tag="9")] pub cache_hit: bool, - /// Whether or not the response was validated with the origin server before - /// being served from cache. This field is only meaningful if `cache_hit` is - /// True. + /// Whether or not the response was validated with the origin server before + /// being served from cache. This field is only meaningful if `cache_hit` is + /// True. #[prost(bool, tag="10")] pub cache_validated_with_origin_server: bool, - /// The number of HTTP response bytes inserted into cache. Set only when a - /// cache fill was attempted. + /// The number of HTTP response bytes inserted into cache. Set only when a + /// cache fill was attempted. #[prost(int64, tag="12")] pub cache_fill_bytes: i64, - /// Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" + /// Protocol used for the request. Examples: "HTTP/1.1", "HTTP/2", "websocket" #[prost(string, tag="15")] pub protocol: ::prost::alloc::string::String, } -/// An individual log entry. +/// An individual log entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogEntry { - /// Required. The log to which this log entry belongs. Examples: `"syslog"`, - /// `"book_log"`. + /// Required. The log to which this log entry belongs. Examples: `"syslog"`, + /// `"book_log"`. #[prost(string, tag="10")] pub name: ::prost::alloc::string::String, - /// The time the event described by the log entry occurred. If - /// omitted, defaults to operation start time. + /// The time the event described by the log entry occurred. If + /// omitted, defaults to operation start time. #[prost(message, optional, tag="11")] pub timestamp: ::core::option::Option<::prost_types::Timestamp>, - /// The severity of the log entry. The default value is - /// `LogSeverity.DEFAULT`. + /// The severity of the log entry. The default value is + /// `LogSeverity.DEFAULT`. #[prost(enumeration="super::super::super::logging::r#type::LogSeverity", tag="12")] pub severity: i32, - /// Optional. Information about the HTTP request associated with this - /// log entry, if applicable. + /// Optional. Information about the HTTP request associated with this + /// log entry, if applicable. #[prost(message, optional, tag="14")] pub http_request: ::core::option::Option, - /// Optional. Resource name of the trace associated with the log entry, if any. - /// If this field contains a relative resource name, you can assume the name is - /// relative to `//tracing.googleapis.com`. Example: - /// `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` + /// Optional. Resource name of the trace associated with the log entry, if any. + /// If this field contains a relative resource name, you can assume the name is + /// relative to `//tracing.googleapis.com`. Example: + /// `projects/my-projectid/traces/06796866738c859f2f19b7cfb3214824` #[prost(string, tag="15")] pub trace: ::prost::alloc::string::String, - /// A unique ID for the log entry used for deduplication. If omitted, - /// the implementation will generate one based on operation_id. + /// A unique ID for the log entry used for deduplication. If omitted, + /// the implementation will generate one based on operation_id. #[prost(string, tag="4")] pub insert_id: ::prost::alloc::string::String, - /// A set of user-defined (key, value) data that provides additional - /// information about the log entry. + /// A set of user-defined (key, value) data that provides additional + /// information about the log entry. #[prost(map="string, string", tag="13")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Information about an operation associated with the log entry, if - /// applicable. + /// Optional. Information about an operation associated with the log entry, if + /// applicable. #[prost(message, optional, tag="16")] pub operation: ::core::option::Option, - /// Optional. Source code location information associated with the log entry, - /// if any. + /// Optional. Source code location information associated with the log entry, + /// if any. #[prost(message, optional, tag="17")] pub source_location: ::core::option::Option, - /// The log entry payload, which can be one of multiple types. + /// The log entry payload, which can be one of multiple types. #[prost(oneof="log_entry::Payload", tags="2, 3, 6")] pub payload: ::core::option::Option, } /// Nested message and enum types in `LogEntry`. pub mod log_entry { - /// The log entry payload, which can be one of multiple types. + /// The log entry payload, which can be one of multiple types. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// The log entry payload, represented as a protocol buffer that is - /// expressed as a JSON object. The only accepted type currently is - /// \[AuditLog][google.cloud.audit.AuditLog\]. + /// The log entry payload, represented as a protocol buffer that is + /// expressed as a JSON object. The only accepted type currently is + /// \[AuditLog][google.cloud.audit.AuditLog\]. #[prost(message, tag="2")] ProtoPayload(::prost_types::Any), - /// The log entry payload, represented as a Unicode string (UTF-8). + /// The log entry payload, represented as a Unicode string (UTF-8). #[prost(string, tag="3")] TextPayload(::prost::alloc::string::String), - /// The log entry payload, represented as a structure that - /// is expressed as a JSON object. + /// The log entry payload, represented as a structure that + /// is expressed as a JSON object. #[prost(message, tag="6")] StructPayload(::prost_types::Struct), } } -/// Additional information about a potentially long-running operation with which -/// a log entry is associated. +/// Additional information about a potentially long-running operation with which +/// a log entry is associated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogEntryOperation { - /// Optional. An arbitrary operation identifier. Log entries with the - /// same identifier are assumed to be part of the same operation. + /// Optional. An arbitrary operation identifier. Log entries with the + /// same identifier are assumed to be part of the same operation. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Optional. An arbitrary producer identifier. The combination of - /// `id` and `producer` must be globally unique. Examples for `producer`: - /// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. + /// Optional. An arbitrary producer identifier. The combination of + /// `id` and `producer` must be globally unique. Examples for `producer`: + /// `"MyDivision.MyBigCompany.com"`, `"github.com/MyProject/MyApplication"`. #[prost(string, tag="2")] pub producer: ::prost::alloc::string::String, - /// Optional. Set this to True if this is the first log entry in the operation. + /// Optional. Set this to True if this is the first log entry in the operation. #[prost(bool, tag="3")] pub first: bool, - /// Optional. Set this to True if this is the last log entry in the operation. + /// Optional. Set this to True if this is the last log entry in the operation. #[prost(bool, tag="4")] pub last: bool, } -/// Additional information about the source code location that produced the log -/// entry. +/// Additional information about the source code location that produced the log +/// entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogEntrySourceLocation { - /// Optional. Source file name. Depending on the runtime environment, this - /// might be a simple name or a fully-qualified name. + /// Optional. Source file name. Depending on the runtime environment, this + /// might be a simple name or a fully-qualified name. #[prost(string, tag="1")] pub file: ::prost::alloc::string::String, - /// Optional. Line within the source file. 1-based; 0 indicates no line number - /// available. + /// Optional. Line within the source file. 1-based; 0 indicates no line number + /// available. #[prost(int64, tag="2")] pub line: i64, - /// Optional. Human-readable name of the function or method being invoked, with - /// optional context such as the class or package name. This information may be - /// used in contexts such as the logs viewer, where a file and line number are - /// less meaningful. The format can vary by language. For example: - /// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - /// (Python). + /// Optional. Human-readable name of the function or method being invoked, with + /// optional context such as the class or package name. This information may be + /// used in contexts such as the logs viewer, where a file and line number are + /// less meaningful. The format can vary by language. For example: + /// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` + /// (Python). #[prost(string, tag="3")] pub function: ::prost::alloc::string::String, } -/// Represents a single metric value. +/// Represents a single metric value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricValue { - /// The labels describing the metric value. - /// See comments on \[google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels\] for - /// the overriding relationship. - /// Note that this map must not contain monitored resource labels. + /// The labels describing the metric value. + /// See comments on \[google.api.servicecontrol.v1.Operation.labels][google.api.servicecontrol.v1.Operation.labels\] for + /// the overriding relationship. + /// Note that this map must not contain monitored resource labels. #[prost(map="string, string", tag="1")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The start of the time period over which this metric value's measurement - /// applies. The time period has different semantics for different metric - /// types (cumulative, delta, and gauge). See the metric definition - /// documentation in the service configuration for details. If not specified, - /// \[google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time\] will be used. + /// The start of the time period over which this metric value's measurement + /// applies. The time period has different semantics for different metric + /// types (cumulative, delta, and gauge). See the metric definition + /// documentation in the service configuration for details. If not specified, + /// \[google.api.servicecontrol.v1.Operation.start_time][google.api.servicecontrol.v1.Operation.start_time\] will be used. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The end of the time period over which this metric value's measurement - /// applies. If not specified, - /// \[google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time\] will be used. + /// The end of the time period over which this metric value's measurement + /// applies. If not specified, + /// \[google.api.servicecontrol.v1.Operation.end_time][google.api.servicecontrol.v1.Operation.end_time\] will be used. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The value. The type of value used in the request must - /// agree with the metric definition in the service configuration, otherwise - /// the MetricValue is rejected. + /// The value. The type of value used in the request must + /// agree with the metric definition in the service configuration, otherwise + /// the MetricValue is rejected. #[prost(oneof="metric_value::Value", tags="4, 5, 6, 7, 8")] pub value: ::core::option::Option, } /// Nested message and enum types in `MetricValue`. pub mod metric_value { - /// The value. The type of value used in the request must - /// agree with the metric definition in the service configuration, otherwise - /// the MetricValue is rejected. + /// The value. The type of value used in the request must + /// agree with the metric definition in the service configuration, otherwise + /// the MetricValue is rejected. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A boolean value. + /// A boolean value. #[prost(bool, tag="4")] BoolValue(bool), - /// A signed 64-bit integer value. + /// A signed 64-bit integer value. #[prost(int64, tag="5")] Int64Value(i64), - /// A double precision floating point value. + /// A double precision floating point value. #[prost(double, tag="6")] DoubleValue(f64), - /// A text string value. + /// A text string value. #[prost(string, tag="7")] StringValue(::prost::alloc::string::String), - /// A distribution value. + /// A distribution value. #[prost(message, tag="8")] DistributionValue(super::Distribution), } } -/// Represents a set of metric values in the same metric. -/// Each metric value in the set should have a unique combination of start time, -/// end time, and label values. +/// Represents a set of metric values in the same metric. +/// Each metric value in the set should have a unique combination of start time, +/// end time, and label values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricValueSet { - /// The metric name defined in the service configuration. + /// The metric name defined in the service configuration. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, - /// The values in this metric. + /// The values in this metric. #[prost(message, repeated, tag="2")] pub metric_values: ::prost::alloc::vec::Vec, } -/// Represents information regarding an operation. +/// Represents information regarding an operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operation { - /// Identity of the operation. This must be unique within the scope of the - /// service that generated the operation. If the service calls - /// Check() and Report() on the same operation, the two calls should carry - /// the same id. + /// Identity of the operation. This must be unique within the scope of the + /// service that generated the operation. If the service calls + /// Check() and Report() on the same operation, the two calls should carry + /// the same id. /// - /// UUID version 4 is recommended, though not required. - /// In scenarios where an operation is computed from existing information - /// and an idempotent id is desirable for deduplication purpose, UUID version 5 - /// is recommended. See RFC 4122 for details. + /// UUID version 4 is recommended, though not required. + /// In scenarios where an operation is computed from existing information + /// and an idempotent id is desirable for deduplication purpose, UUID version 5 + /// is recommended. See RFC 4122 for details. #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Fully qualified name of the operation. Reserved for future use. + /// Fully qualified name of the operation. Reserved for future use. #[prost(string, tag="2")] pub operation_name: ::prost::alloc::string::String, - /// Identity of the consumer who is using the service. - /// This field should be filled in for the operations initiated by a - /// consumer, but not for service-initiated operations that are - /// not related to a specific consumer. + /// Identity of the consumer who is using the service. + /// This field should be filled in for the operations initiated by a + /// consumer, but not for service-initiated operations that are + /// not related to a specific consumer. /// - /// - This can be in one of the following formats: + /// - This can be in one of the following formats: /// - project:PROJECT_ID, /// - project`_`number:PROJECT_NUMBER, /// - projects/PROJECT_ID or PROJECT_NUMBER, @@ -547,23 +547,23 @@ pub struct Operation { /// - api`_`key:API_KEY. #[prost(string, tag="3")] pub consumer_id: ::prost::alloc::string::String, - /// Required. Start time of the operation. + /// Required. Start time of the operation. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of the operation. - /// Required when the operation is used in - /// \[ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report\], - /// but optional when the operation is used in - /// \[ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check\]. + /// End time of the operation. + /// Required when the operation is used in + /// \[ServiceController.Report][google.api.servicecontrol.v1.ServiceController.Report\], + /// but optional when the operation is used in + /// \[ServiceController.Check][google.api.servicecontrol.v1.ServiceController.Check\]. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels describing the operation. Only the following labels are allowed: + /// Labels describing the operation. Only the following labels are allowed: /// - /// - Labels describing monitored resources as defined in + /// - Labels describing monitored resources as defined in /// the service configuration. - /// - Default labels of metric values. When specified, labels defined in the + /// - Default labels of metric values. When specified, labels defined in the /// metric value override these default. - /// - The following labels defined by Google Cloud Platform: + /// - The following labels defined by Google Cloud Platform: /// - `cloud.googleapis.com/location` describing the location where the /// operation happened, /// - `servicecontrol.googleapis.com/user_agent` describing the user agent @@ -575,40 +575,40 @@ pub struct Operation { /// Kubernetes Engine. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Represents information about this operation. Each MetricValueSet - /// corresponds to a metric defined in the service configuration. - /// The data type used in the MetricValueSet must agree with - /// the data type specified in the metric definition. + /// Represents information about this operation. Each MetricValueSet + /// corresponds to a metric defined in the service configuration. + /// The data type used in the MetricValueSet must agree with + /// the data type specified in the metric definition. /// - /// Within a single operation, it is not allowed to have more than one - /// MetricValue instances that have the same metric names and identical - /// label value combinations. If a request has such duplicated MetricValue - /// instances, the entire request is rejected with - /// an invalid argument error. + /// Within a single operation, it is not allowed to have more than one + /// MetricValue instances that have the same metric names and identical + /// label value combinations. If a request has such duplicated MetricValue + /// instances, the entire request is rejected with + /// an invalid argument error. #[prost(message, repeated, tag="7")] pub metric_value_sets: ::prost::alloc::vec::Vec, - /// Represents information to be logged. + /// Represents information to be logged. #[prost(message, repeated, tag="8")] pub log_entries: ::prost::alloc::vec::Vec, - /// DO NOT USE. This is an experimental field. + /// DO NOT USE. This is an experimental field. #[prost(enumeration="operation::Importance", tag="11")] pub importance: i32, - /// Unimplemented. + /// Unimplemented. #[prost(message, repeated, tag="16")] pub extensions: ::prost::alloc::vec::Vec<::prost_types::Any>, } /// Nested message and enum types in `Operation`. pub mod operation { - /// Defines the importance of the data contained in the operation. + /// Defines the importance of the data contained in the operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Importance { - /// Allows data caching, batching, and aggregation. It provides - /// higher performance with higher data loss risk. + /// Allows data caching, batching, and aggregation. It provides + /// higher performance with higher data loss risk. Low = 0, - /// Disables data aggregation to minimize data loss. It is for operations - /// that contains significant monetary value or audit trail. This feature - /// only applies to the client libraries. + /// Disables data aggregation to minimize data loss. It is for operations + /// that contains significant monetary value or audit trail. This feature + /// only applies to the client libraries. High = 1, } impl Importance { @@ -624,119 +624,119 @@ pub mod operation { } } } -/// Request message for the AllocateQuota method. +/// Request message for the AllocateQuota method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocateQuotaRequest { - /// Name of the service as specified in the service configuration. For example, - /// `"pubsub.googleapis.com"`. + /// Name of the service as specified in the service configuration. For example, + /// `"pubsub.googleapis.com"`. /// - /// See \[google.api.Service][google.api.Service\] for the definition of a service name. + /// See \[google.api.Service][google.api.Service\] for the definition of a service name. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Operation that describes the quota allocation. + /// Operation that describes the quota allocation. #[prost(message, optional, tag="2")] pub allocate_operation: ::core::option::Option, - /// Specifies which version of service configuration should be used to process - /// the request. If unspecified or no matching version can be found, the latest - /// one will be used. + /// Specifies which version of service configuration should be used to process + /// the request. If unspecified or no matching version can be found, the latest + /// one will be used. #[prost(string, tag="4")] pub service_config_id: ::prost::alloc::string::String, } -/// Represents information regarding a quota operation. +/// Represents information regarding a quota operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaOperation { - /// Identity of the operation. This is expected to be unique within the scope - /// of the service that generated the operation, and guarantees idempotency in - /// case of retries. + /// Identity of the operation. This is expected to be unique within the scope + /// of the service that generated the operation, and guarantees idempotency in + /// case of retries. /// - /// In order to ensure best performance and latency in the Quota backends, - /// operation_ids are optimally associated with time, so that related - /// operations can be accessed fast in storage. For this reason, the - /// recommended token for services that intend to operate at a high QPS is - /// Unix time in nanos + UUID + /// In order to ensure best performance and latency in the Quota backends, + /// operation_ids are optimally associated with time, so that related + /// operations can be accessed fast in storage. For this reason, the + /// recommended token for services that intend to operate at a high QPS is + /// Unix time in nanos + UUID #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Fully qualified name of the API method for which this quota operation is - /// requested. This name is used for matching quota rules or metric rules and - /// billing status rules defined in service configuration. + /// Fully qualified name of the API method for which this quota operation is + /// requested. This name is used for matching quota rules or metric rules and + /// billing status rules defined in service configuration. /// - /// This field should not be set if any of the following is true: - /// (1) the quota operation is performed on non-API resources. - /// (2) quota_metrics is set because the caller is doing quota override. + /// This field should not be set if any of the following is true: + /// (1) the quota operation is performed on non-API resources. + /// (2) quota_metrics is set because the caller is doing quota override. /// /// - /// Example of an RPC method name: + /// Example of an RPC method name: /// google.example.library.v1.LibraryService.CreateShelf #[prost(string, tag="2")] pub method_name: ::prost::alloc::string::String, - /// Identity of the consumer for whom this quota operation is being performed. + /// Identity of the consumer for whom this quota operation is being performed. /// - /// This can be in one of the following formats: + /// This can be in one of the following formats: /// project:, /// project_number:, /// api_key:. #[prost(string, tag="3")] pub consumer_id: ::prost::alloc::string::String, - /// Labels describing the operation. + /// Labels describing the operation. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Represents information about this operation. Each MetricValueSet - /// corresponds to a metric defined in the service configuration. - /// The data type used in the MetricValueSet must agree with - /// the data type specified in the metric definition. + /// Represents information about this operation. Each MetricValueSet + /// corresponds to a metric defined in the service configuration. + /// The data type used in the MetricValueSet must agree with + /// the data type specified in the metric definition. /// - /// Within a single operation, it is not allowed to have more than one - /// MetricValue instances that have the same metric names and identical - /// label value combinations. If a request has such duplicated MetricValue - /// instances, the entire request is rejected with - /// an invalid argument error. + /// Within a single operation, it is not allowed to have more than one + /// MetricValue instances that have the same metric names and identical + /// label value combinations. If a request has such duplicated MetricValue + /// instances, the entire request is rejected with + /// an invalid argument error. /// - /// This field is mutually exclusive with method_name. + /// This field is mutually exclusive with method_name. #[prost(message, repeated, tag="5")] pub quota_metrics: ::prost::alloc::vec::Vec, - /// Quota mode for this operation. + /// Quota mode for this operation. #[prost(enumeration="quota_operation::QuotaMode", tag="6")] pub quota_mode: i32, } /// Nested message and enum types in `QuotaOperation`. pub mod quota_operation { - /// Supported quota modes. + /// Supported quota modes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaMode { - /// Guard against implicit default. Must not be used. + /// Guard against implicit default. Must not be used. Unspecified = 0, - /// For AllocateQuota request, allocates quota for the amount specified in - /// the service configuration or specified using the quota metrics. If the - /// amount is higher than the available quota, allocation error will be - /// returned and no quota will be allocated. - /// If multiple quotas are part of the request, and one fails, none of the - /// quotas are allocated or released. + /// For AllocateQuota request, allocates quota for the amount specified in + /// the service configuration or specified using the quota metrics. If the + /// amount is higher than the available quota, allocation error will be + /// returned and no quota will be allocated. + /// If multiple quotas are part of the request, and one fails, none of the + /// quotas are allocated or released. Normal = 1, - /// The operation allocates quota for the amount specified in the service - /// configuration or specified using the quota metrics. If the amount is - /// higher than the available quota, request does not fail but all available - /// quota will be allocated. - /// For rate quota, BEST_EFFORT will continue to deduct from other groups - /// even if one does not have enough quota. For allocation, it will find the - /// minimum available amount across all groups and deduct that amount from - /// all the affected groups. + /// The operation allocates quota for the amount specified in the service + /// configuration or specified using the quota metrics. If the amount is + /// higher than the available quota, request does not fail but all available + /// quota will be allocated. + /// For rate quota, BEST_EFFORT will continue to deduct from other groups + /// even if one does not have enough quota. For allocation, it will find the + /// minimum available amount across all groups and deduct that amount from + /// all the affected groups. BestEffort = 2, - /// For AllocateQuota request, only checks if there is enough quota - /// available and does not change the available quota. No lock is placed on - /// the available quota either. + /// For AllocateQuota request, only checks if there is enough quota + /// available and does not change the available quota. No lock is placed on + /// the available quota either. CheckOnly = 3, - /// Unimplemented. When used in AllocateQuotaRequest, this returns the - /// effective quota limit(s) in the response, and no quota check will be - /// performed. Not supported for other requests, and even for - /// AllocateQuotaRequest, this is currently supported only for allowlisted - /// services. + /// Unimplemented. When used in AllocateQuotaRequest, this returns the + /// effective quota limit(s) in the response, and no quota check will be + /// performed. Not supported for other requests, and even for + /// AllocateQuotaRequest, this is currently supported only for allowlisted + /// services. QueryOnly = 4, - /// The operation allocates quota for the amount specified in the service - /// configuration or specified using the quota metrics. If the requested - /// amount is higher than the available quota, request does not fail and - /// remaining quota would become negative (going over the limit). - /// Not supported for Rate Quota. + /// The operation allocates quota for the amount specified in the service + /// configuration or specified using the quota metrics. If the requested + /// amount is higher than the available quota, request does not fail and + /// remaining quota would become negative (going over the limit). + /// Not supported for Rate Quota. AdjustOnly = 5, } impl QuotaMode { @@ -756,74 +756,74 @@ pub mod quota_operation { } } } -/// Response message for the AllocateQuota method. +/// Response message for the AllocateQuota method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocateQuotaResponse { - /// The same operation_id value used in the AllocateQuotaRequest. Used for - /// logging and diagnostics purposes. + /// The same operation_id value used in the AllocateQuotaRequest. Used for + /// logging and diagnostics purposes. #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Indicates the decision of the allocate. + /// Indicates the decision of the allocate. #[prost(message, repeated, tag="2")] pub allocate_errors: ::prost::alloc::vec::Vec, - /// Quota metrics to indicate the result of allocation. Depending on the - /// request, one or more of the following metrics will be included: + /// Quota metrics to indicate the result of allocation. Depending on the + /// request, one or more of the following metrics will be included: /// - /// 1. Per quota group or per quota metric incremental usage will be specified - /// using the following delta metric : + /// 1. Per quota group or per quota metric incremental usage will be specified + /// using the following delta metric : /// "serviceruntime.googleapis.com/api/consumer/quota_used_count" /// - /// 2. The quota limit reached condition will be specified using the following - /// boolean metric : + /// 2. The quota limit reached condition will be specified using the following + /// boolean metric : /// "serviceruntime.googleapis.com/quota/exceeded" #[prost(message, repeated, tag="3")] pub quota_metrics: ::prost::alloc::vec::Vec, - /// ID of the actual config used to process the request. + /// ID of the actual config used to process the request. #[prost(string, tag="4")] pub service_config_id: ::prost::alloc::string::String, } -/// Represents error information for \[QuotaOperation][google.api.servicecontrol.v1.QuotaOperation\]. +/// Represents error information for \[QuotaOperation][google.api.servicecontrol.v1.QuotaOperation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaError { - /// Error code. + /// Error code. #[prost(enumeration="quota_error::Code", tag="1")] pub code: i32, - /// Subject to whom this error applies. See the specific enum for more details - /// on this field. For example, "clientip:" or - /// "project:". + /// Subject to whom this error applies. See the specific enum for more details + /// on this field. For example, "clientip:" or + /// "project:". #[prost(string, tag="2")] pub subject: ::prost::alloc::string::String, - /// Free-form text that provides details on the cause of the error. + /// Free-form text that provides details on the cause of the error. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Contains additional information about the quota error. - /// If available, `status.code` will be non zero. + /// Contains additional information about the quota error. + /// If available, `status.code` will be non zero. #[prost(message, optional, tag="4")] pub status: ::core::option::Option, } /// Nested message and enum types in `QuotaError`. pub mod quota_error { - /// Error codes related to project config validations are deprecated since the - /// quota controller methods do not perform these validations. Instead services - /// have to call the Check method, without quota_properties field, to perform - /// these validations before calling the quota controller methods. These - /// methods check only for project deletion to be wipe out compliant. + /// Error codes related to project config validations are deprecated since the + /// quota controller methods do not perform these validations. Instead services + /// have to call the Check method, without quota_properties field, to perform + /// these validations before calling the quota controller methods. These + /// methods check only for project deletion to be wipe out compliant. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// This is never used. + /// This is never used. Unspecified = 0, - /// Quota allocation failed. - /// Same as \[google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED\]. + /// Quota allocation failed. + /// Same as \[google.rpc.Code.RESOURCE_EXHAUSTED][google.rpc.Code.RESOURCE_EXHAUSTED\]. ResourceExhausted = 8, - /// Consumer cannot access the service because the service requires active - /// billing. + /// Consumer cannot access the service because the service requires active + /// billing. BillingNotActive = 107, - /// Consumer's project has been marked as deleted (soft deletion). + /// Consumer's project has been marked as deleted (soft deletion). ProjectDeleted = 108, - /// Specified API key is invalid. + /// Specified API key is invalid. ApiKeyInvalid = 105, - /// Specified API Key has expired. + /// Specified API Key has expired. ApiKeyExpired = 112, } impl Code { @@ -948,105 +948,105 @@ pub mod quota_controller_client { } } } -/// Request message for the Check method. +/// Request message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckRequest { - /// The service name as specified in its service configuration. For example, - /// `"pubsub.googleapis.com"`. + /// The service name as specified in its service configuration. For example, + /// `"pubsub.googleapis.com"`. /// - /// See - /// \[google.api.Service\]() - /// for the definition of a service name. + /// See + /// \[google.api.Service\]() + /// for the definition of a service name. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// The operation to be checked. + /// The operation to be checked. #[prost(message, optional, tag="2")] pub operation: ::core::option::Option, - /// Specifies which version of service configuration should be used to process - /// the request. + /// Specifies which version of service configuration should be used to process + /// the request. /// - /// If unspecified or no matching version can be found, the - /// latest one will be used. + /// If unspecified or no matching version can be found, the + /// latest one will be used. #[prost(string, tag="4")] pub service_config_id: ::prost::alloc::string::String, } -/// Response message for the Check method. +/// Response message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckResponse { - /// The same operation_id value used in the - /// \[CheckRequest][google.api.servicecontrol.v1.CheckRequest\]. Used for logging - /// and diagnostics purposes. + /// The same operation_id value used in the + /// \[CheckRequest][google.api.servicecontrol.v1.CheckRequest\]. Used for logging + /// and diagnostics purposes. #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Indicate the decision of the check. + /// Indicate the decision of the check. /// - /// If no check errors are present, the service should process the operation. - /// Otherwise the service should use the list of errors to determine the - /// appropriate action. + /// If no check errors are present, the service should process the operation. + /// Otherwise the service should use the list of errors to determine the + /// appropriate action. #[prost(message, repeated, tag="2")] pub check_errors: ::prost::alloc::vec::Vec, - /// The actual config id used to process the request. + /// The actual config id used to process the request. #[prost(string, tag="5")] pub service_config_id: ::prost::alloc::string::String, - /// The current service rollout id used to process the request. + /// The current service rollout id used to process the request. #[prost(string, tag="11")] pub service_rollout_id: ::prost::alloc::string::String, - /// Feedback data returned from the server during processing a Check request. + /// Feedback data returned from the server during processing a Check request. #[prost(message, optional, tag="6")] pub check_info: ::core::option::Option, } /// Nested message and enum types in `CheckResponse`. pub mod check_response { - /// Contains additional information about the check operation. + /// Contains additional information about the check operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckInfo { - /// A list of fields and label keys that are ignored by the server. - /// The client doesn't need to send them for following requests to improve - /// performance and allow better aggregation. + /// A list of fields and label keys that are ignored by the server. + /// The client doesn't need to send them for following requests to improve + /// performance and allow better aggregation. #[prost(string, repeated, tag="1")] pub unused_arguments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Consumer info of this check. + /// Consumer info of this check. #[prost(message, optional, tag="2")] pub consumer_info: ::core::option::Option, } - /// `ConsumerInfo` provides information about the consumer. + /// `ConsumerInfo` provides information about the consumer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsumerInfo { - /// The Google cloud project number, e.g. 1234567890. A value of 0 indicates - /// no project number is found. + /// The Google cloud project number, e.g. 1234567890. A value of 0 indicates + /// no project number is found. /// - /// NOTE: This field is deprecated after we support flexible consumer - /// id. New code should not depend on this field anymore. + /// NOTE: This field is deprecated after we support flexible consumer + /// id. New code should not depend on this field anymore. #[prost(int64, tag="1")] pub project_number: i64, - /// The type of the consumer which should have been defined in - /// [Google Resource Manager](). + /// The type of the consumer which should have been defined in + /// [Google Resource Manager](). #[prost(enumeration="consumer_info::ConsumerType", tag="2")] pub r#type: i32, - /// The consumer identity number, can be Google cloud project number, folder - /// number or organization number e.g. 1234567890. A value of 0 indicates no - /// consumer number is found. + /// The consumer identity number, can be Google cloud project number, folder + /// number or organization number e.g. 1234567890. A value of 0 indicates no + /// consumer number is found. #[prost(int64, tag="3")] pub consumer_number: i64, } /// Nested message and enum types in `ConsumerInfo`. pub mod consumer_info { - /// The type of the consumer as defined in - /// [Google Resource Manager](). + /// The type of the consumer as defined in + /// [Google Resource Manager](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConsumerType { - /// This is never used. + /// This is never used. Unspecified = 0, - /// The consumer is a Google Cloud Project. + /// The consumer is a Google Cloud Project. Project = 1, - /// The consumer is a Google Cloud Folder. + /// The consumer is a Google Cloud Folder. Folder = 2, - /// The consumer is a Google Cloud Organization. + /// The consumer is a Google Cloud Organization. Organization = 3, - /// Service-specific resource container which is defined by the service - /// producer to offer their users the ability to manage service control - /// functionalities at a finer level of granularity than the PROJECT. + /// Service-specific resource container which is defined by the service + /// producer to offer their users the ability to manage service control + /// functionalities at a finer level of granularity than the PROJECT. ServiceSpecific = 4, } impl ConsumerType { @@ -1066,77 +1066,77 @@ pub mod check_response { } } } -/// Request message for the Report method. +/// Request message for the Report method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportRequest { - /// The service name as specified in its service configuration. For example, - /// `"pubsub.googleapis.com"`. + /// The service name as specified in its service configuration. For example, + /// `"pubsub.googleapis.com"`. /// - /// See - /// \[google.api.Service\]() - /// for the definition of a service name. + /// See + /// \[google.api.Service\]() + /// for the definition of a service name. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Operations to be reported. + /// Operations to be reported. /// - /// Typically the service should report one operation per request. - /// Putting multiple operations into a single request is allowed, but should - /// be used only when multiple operations are natually available at the time - /// of the report. + /// Typically the service should report one operation per request. + /// Putting multiple operations into a single request is allowed, but should + /// be used only when multiple operations are natually available at the time + /// of the report. /// - /// There is no limit on the number of operations in the same ReportRequest, - /// however the ReportRequest size should be no larger than 1MB. See - /// \[ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors\] - /// for partial failure behavior. + /// There is no limit on the number of operations in the same ReportRequest, + /// however the ReportRequest size should be no larger than 1MB. See + /// \[ReportResponse.report_errors][google.api.servicecontrol.v1.ReportResponse.report_errors\] + /// for partial failure behavior. #[prost(message, repeated, tag="2")] pub operations: ::prost::alloc::vec::Vec, - /// Specifies which version of service config should be used to process the - /// request. + /// Specifies which version of service config should be used to process the + /// request. /// - /// If unspecified or no matching version can be found, the - /// latest one will be used. + /// If unspecified or no matching version can be found, the + /// latest one will be used. #[prost(string, tag="3")] pub service_config_id: ::prost::alloc::string::String, } -/// Response message for the Report method. +/// Response message for the Report method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportResponse { - /// Partial failures, one for each `Operation` in the request that failed - /// processing. There are three possible combinations of the RPC status: + /// Partial failures, one for each `Operation` in the request that failed + /// processing. There are three possible combinations of the RPC status: /// - /// 1. The combination of a successful RPC status and an empty `report_errors` + /// 1. The combination of a successful RPC status and an empty `report_errors` /// list indicates a complete success where all `Operations` in the /// request are processed successfully. - /// 2. The combination of a successful RPC status and a non-empty + /// 2. The combination of a successful RPC status and a non-empty /// `report_errors` list indicates a partial success where some /// `Operations` in the request succeeded. Each /// `Operation` that failed processing has a corresponding item /// in this list. - /// 3. A failed RPC status indicates a general non-deterministic failure. + /// 3. A failed RPC status indicates a general non-deterministic failure. /// When this happens, it's impossible to know which of the /// 'Operations' in the request succeeded or failed. #[prost(message, repeated, tag="1")] pub report_errors: ::prost::alloc::vec::Vec, - /// The actual config id used to process the request. + /// The actual config id used to process the request. #[prost(string, tag="2")] pub service_config_id: ::prost::alloc::string::String, - /// The current service rollout id used to process the request. + /// The current service rollout id used to process the request. #[prost(string, tag="4")] pub service_rollout_id: ::prost::alloc::string::String, } /// Nested message and enum types in `ReportResponse`. pub mod report_response { - /// Represents the processing error of one - /// \[Operation][google.api.servicecontrol.v1.Operation\] in the request. + /// Represents the processing error of one + /// \[Operation][google.api.servicecontrol.v1.Operation\] in the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportError { - /// The - /// \[Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id\] - /// value from the request. + /// The + /// \[Operation.operation_id][google.api.servicecontrol.v1.Operation.operation_id\] + /// value from the request. #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Details of the error when processing the - /// \[Operation][google.api.servicecontrol.v1.Operation\]. + /// Details of the error when processing the + /// \[Operation][google.api.servicecontrol.v1.Operation\]. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.api.servicecontrol.v2.rs b/gcloud-sdk/genproto/google.api.servicecontrol.v2.rs index 18e1b393e..2c5f81437 100644 --- a/gcloud-sdk/genproto/google.api.servicecontrol.v2.rs +++ b/gcloud-sdk/genproto/google.api.servicecontrol.v2.rs @@ -1,94 +1,94 @@ -/// Request message for the Check method. +/// Request message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckRequest { - /// The service name as specified in its service configuration. For example, - /// `"pubsub.googleapis.com"`. + /// The service name as specified in its service configuration. For example, + /// `"pubsub.googleapis.com"`. /// - /// See - /// \[google.api.Service\]() - /// for the definition of a service name. + /// See + /// \[google.api.Service\]() + /// for the definition of a service name. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Specifies the version of the service configuration that should be used to - /// process the request. Must not be empty. Set this field to 'latest' to - /// specify using the latest configuration. + /// Specifies the version of the service configuration that should be used to + /// process the request. Must not be empty. Set this field to 'latest' to + /// specify using the latest configuration. #[prost(string, tag="2")] pub service_config_id: ::prost::alloc::string::String, - /// Describes attributes about the operation being executed by the service. + /// Describes attributes about the operation being executed by the service. #[prost(message, optional, tag="3")] pub attributes: ::core::option::Option, - /// Describes the resources and the policies applied to each resource. + /// Describes the resources and the policies applied to each resource. #[prost(message, repeated, tag="4")] pub resources: ::prost::alloc::vec::Vec, - /// Optional. Contains a comma-separated list of flags. + /// Optional. Contains a comma-separated list of flags. #[prost(string, tag="5")] pub flags: ::prost::alloc::string::String, } -/// Describes a resource referenced in the request. +/// Describes a resource referenced in the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceInfo { - /// The name of the resource referenced in the request. + /// The name of the resource referenced in the request. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource type in the format of "{service}/{kind}". + /// The resource type in the format of "{service}/{kind}". #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// The resource permission needed for this request. - /// The format must be "{service}/{plural}.{verb}". + /// The resource permission needed for this request. + /// The format must be "{service}/{plural}.{verb}". #[prost(string, tag="3")] pub permission: ::prost::alloc::string::String, - /// Optional. The identifier of the container of this resource. For Google - /// Cloud APIs, the resource container must be one of the following formats: + /// Optional. The identifier of the container of this resource. For Google + /// Cloud APIs, the resource container must be one of the following formats: /// - `projects/` /// - `folders/` /// - `organizations/` - /// For the policy enforcement on the container level (VPCSC and Location - /// Policy check), this field takes precedence on the container extracted from - /// name when presents. + /// For the policy enforcement on the container level (VPCSC and Location + /// Policy check), this field takes precedence on the container extracted from + /// name when presents. #[prost(string, tag="4")] pub container: ::prost::alloc::string::String, - /// Optional. The location of the resource. The value must be a valid zone, - /// region or multiregion. For example: "europe-west4" or - /// "northamerica-northeast1-a" + /// Optional. The location of the resource. The value must be a valid zone, + /// region or multiregion. For example: "europe-west4" or + /// "northamerica-northeast1-a" #[prost(string, tag="5")] pub location: ::prost::alloc::string::String, } -/// Response message for the Check method. +/// Response message for the Check method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckResponse { - /// Operation is allowed when this field is not set. Any non-'OK' status - /// indicates a denial; \[google.rpc.Status.details][google.rpc.Status.details\] - /// would contain additional details about the denial. + /// Operation is allowed when this field is not set. Any non-'OK' status + /// indicates a denial; \[google.rpc.Status.details][google.rpc.Status.details\] + /// would contain additional details about the denial. #[prost(message, optional, tag="1")] pub status: ::core::option::Option, - /// Returns a set of request contexts generated from the `CheckRequest`. + /// Returns a set of request contexts generated from the `CheckRequest`. #[prost(map="string, string", tag="2")] pub headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Request message for the Report method. +/// Request message for the Report method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportRequest { - /// The service name as specified in its service configuration. For example, - /// `"pubsub.googleapis.com"`. + /// The service name as specified in its service configuration. For example, + /// `"pubsub.googleapis.com"`. /// - /// See - /// \[google.api.Service\]() - /// for the definition of a service name. + /// See + /// \[google.api.Service\]() + /// for the definition of a service name. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Specifies the version of the service configuration that should be used to - /// process the request. Must not be empty. Set this field to 'latest' to - /// specify using the latest configuration. + /// Specifies the version of the service configuration that should be used to + /// process the request. Must not be empty. Set this field to 'latest' to + /// specify using the latest configuration. #[prost(string, tag="2")] pub service_config_id: ::prost::alloc::string::String, - /// Describes the list of operations to be reported. Each operation is - /// represented as an AttributeContext, and contains all attributes around an - /// API access. + /// Describes the list of operations to be reported. Each operation is + /// represented as an AttributeContext, and contains all attributes around an + /// API access. #[prost(message, repeated, tag="3")] pub operations: ::prost::alloc::vec::Vec, } -/// Response message for the Report method. -/// If the request contains any invalid data, the server returns an RPC error. +/// Response message for the Report method. +/// If the request contains any invalid data, the server returns an RPC error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportResponse { } diff --git a/gcloud-sdk/genproto/google.api.servicemanagement.v1.rs b/gcloud-sdk/genproto/google.api.servicemanagement.v1.rs index 366cefb77..682d8dfdf 100644 --- a/gcloud-sdk/genproto/google.api.servicemanagement.v1.rs +++ b/gcloud-sdk/genproto/google.api.servicemanagement.v1.rs @@ -1,61 +1,61 @@ -/// The full representation of a Service that is managed by -/// Google Service Management. +/// The full representation of a Service that is managed by +/// Google Service Management. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedService { - /// The name of the service. See the - /// \[overview\]() - /// for naming requirements. + /// The name of the service. See the + /// \[overview\]() + /// for naming requirements. #[prost(string, tag="2")] pub service_name: ::prost::alloc::string::String, - /// ID of the project that produces and owns this service. + /// ID of the project that produces and owns this service. #[prost(string, tag="3")] pub producer_project_id: ::prost::alloc::string::String, } -/// The metadata associated with a long running operation resource. +/// The metadata associated with a long running operation resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The full name of the resources that this operation is directly - /// associated with. + /// The full name of the resources that this operation is directly + /// associated with. #[prost(string, repeated, tag="1")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Detailed status information for each step. The order is undetermined. + /// Detailed status information for each step. The order is undetermined. #[prost(message, repeated, tag="2")] pub steps: ::prost::alloc::vec::Vec, - /// Percentage of completion of this operation, ranging from 0 to 100. + /// Percentage of completion of this operation, ranging from 0 to 100. #[prost(int32, tag="3")] pub progress_percentage: i32, - /// The start time of the operation. + /// The start time of the operation. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `OperationMetadata`. pub mod operation_metadata { - /// Represents the status of one operation step. + /// Represents the status of one operation step. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Step { - /// The short description of the step. + /// The short description of the step. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The status code. + /// The status code. #[prost(enumeration="Status", tag="4")] pub status: i32, } - /// Code describes the status of the operation (or one of its steps). + /// Code describes the status of the operation (or one of its steps). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// Unspecifed code. + /// Unspecifed code. Unspecified = 0, - /// The operation or step has completed without errors. + /// The operation or step has completed without errors. Done = 1, - /// The operation or step has not started yet. + /// The operation or step has not started yet. NotStarted = 2, - /// The operation or step is in progress. + /// The operation or step is in progress. InProgress = 3, - /// The operation or step has completed with errors. If the operation is - /// rollbackable, the rollback completed with errors too. + /// The operation or step has completed with errors. If the operation is + /// rollbackable, the rollback completed with errors too. Failed = 4, - /// The operation or step has completed with cancellation. + /// The operation or step has completed with cancellation. Cancelled = 5, } impl Status { @@ -75,28 +75,28 @@ pub mod operation_metadata { } } } -/// Represents a diagnostic message (error or warning) +/// Represents a diagnostic message (error or warning) #[derive(Clone, PartialEq, ::prost::Message)] pub struct Diagnostic { - /// File name and line number of the error or warning. + /// File name and line number of the error or warning. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// The kind of diagnostic information provided. + /// The kind of diagnostic information provided. #[prost(enumeration="diagnostic::Kind", tag="2")] pub kind: i32, - /// Message describing the error or warning. + /// Message describing the error or warning. #[prost(string, tag="3")] pub message: ::prost::alloc::string::String, } /// Nested message and enum types in `Diagnostic`. pub mod diagnostic { - /// The kind of diagnostic information possible. + /// The kind of diagnostic information possible. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Kind { - /// Warnings and errors + /// Warnings and errors Warning = 0, - /// Only errors + /// Only errors Error = 1, } impl Kind { @@ -112,30 +112,30 @@ pub mod diagnostic { } } } -/// Represents a source file which is used to generate the service configuration -/// defined by `google.api.Service`. +/// Represents a source file which is used to generate the service configuration +/// defined by `google.api.Service`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigSource { - /// A unique ID for a specific instance of this message, typically assigned - /// by the client for tracking purpose. If empty, the server may choose to - /// generate one instead. + /// A unique ID for a specific instance of this message, typically assigned + /// by the client for tracking purpose. If empty, the server may choose to + /// generate one instead. #[prost(string, tag="5")] pub id: ::prost::alloc::string::String, - /// Set of source configuration files that are used to generate a service - /// configuration (`google.api.Service`). + /// Set of source configuration files that are used to generate a service + /// configuration (`google.api.Service`). #[prost(message, repeated, tag="2")] pub files: ::prost::alloc::vec::Vec, } -/// Generic specification of a source configuration file +/// Generic specification of a source configuration file #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigFile { - /// The file name of the configuration file (full or relative path). + /// The file name of the configuration file (full or relative path). #[prost(string, tag="1")] pub file_path: ::prost::alloc::string::String, - /// The bytes that constitute the file. + /// The bytes that constitute the file. #[prost(bytes="vec", tag="3")] pub file_contents: ::prost::alloc::vec::Vec, - /// The type of configuration file this represents. + /// The type of configuration file this represents. #[prost(enumeration="config_file::FileType", tag="4")] pub file_type: i32, } @@ -144,27 +144,27 @@ pub mod config_file { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FileType { - /// Unknown file type. + /// Unknown file type. Unspecified = 0, - /// YAML-specification of service. + /// YAML-specification of service. ServiceConfigYaml = 1, - /// OpenAPI specification, serialized in JSON. + /// OpenAPI specification, serialized in JSON. OpenApiJson = 2, - /// OpenAPI specification, serialized in YAML. + /// OpenAPI specification, serialized in YAML. OpenApiYaml = 3, - /// FileDescriptorSet, generated by protoc. + /// FileDescriptorSet, generated by protoc. /// - /// To generate, use protoc with imports and source info included. - /// For an example test.proto file, the following command would put the value - /// in a new file named out.pb. + /// To generate, use protoc with imports and source info included. + /// For an example test.proto file, the following command would put the value + /// in a new file named out.pb. /// - /// $protoc --include_imports --include_source_info test.proto -o out.pb + /// $protoc --include_imports --include_source_info test.proto -o out.pb FileDescriptorSetProto = 4, - /// Uncompiled Proto file. Used for storage and display purposes only, - /// currently server-side compilation is not supported. Should match the - /// inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A - /// file of this type can only be included if at least one file of type - /// FILE_DESCRIPTOR_SET_PROTO is included. + /// Uncompiled Proto file. Used for storage and display purposes only, + /// currently server-side compilation is not supported. Should match the + /// inputs to 'protoc' command used to generated FILE_DESCRIPTOR_SET_PROTO. A + /// file of this type can only be included if at least one file of type + /// FILE_DESCRIPTOR_SET_PROTO is included. ProtoFile = 6, } impl FileType { @@ -184,75 +184,75 @@ pub mod config_file { } } } -/// Represents a service configuration with its name and id. +/// Represents a service configuration with its name and id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigRef { - /// Resource name of a service config. It must have the following - /// format: "services/{service name}/configs/{config id}". + /// Resource name of a service config. It must have the following + /// format: "services/{service name}/configs/{config id}". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Change report associated with a particular service configuration. +/// Change report associated with a particular service configuration. /// -/// It contains a list of ConfigChanges based on the comparison between -/// two service configurations. +/// It contains a list of ConfigChanges based on the comparison between +/// two service configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeReport { - /// List of changes between two service configurations. - /// The changes will be alphabetically sorted based on the identifier - /// of each change. - /// A ConfigChange identifier is a dot separated path to the configuration. - /// Example: visibility.rules\[selector='LibraryService.CreateBook'\].restriction + /// List of changes between two service configurations. + /// The changes will be alphabetically sorted based on the identifier + /// of each change. + /// A ConfigChange identifier is a dot separated path to the configuration. + /// Example: visibility.rules\[selector='LibraryService.CreateBook'\].restriction #[prost(message, repeated, tag="1")] pub config_changes: ::prost::alloc::vec::Vec, } -/// A rollout resource that defines how service configuration versions are pushed -/// to control plane systems. Typically, you create a new version of the -/// service config, and then create a Rollout to push the service config. +/// A rollout resource that defines how service configuration versions are pushed +/// to control plane systems. Typically, you create a new version of the +/// service config, and then create a Rollout to push the service config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Rollout { - /// Optional. Unique identifier of this Rollout. Must be no longer than 63 - /// characters and only lower case letters, digits, '.', '_' and '-' are - /// allowed. + /// Optional. Unique identifier of this Rollout. Must be no longer than 63 + /// characters and only lower case letters, digits, '.', '_' and '-' are + /// allowed. /// - /// If not specified by client, the server will generate one. The generated id - /// will have the form of , where "date" is the create - /// date in ISO 8601 format. "revision number" is a monotonically increasing - /// positive number that is reset every day for each service. - /// An example of the generated rollout_id is '2016-02-16r1' + /// If not specified by client, the server will generate one. The generated id + /// will have the form of , where "date" is the create + /// date in ISO 8601 format. "revision number" is a monotonically increasing + /// positive number that is reset every day for each service. + /// An example of the generated rollout_id is '2016-02-16r1' #[prost(string, tag="1")] pub rollout_id: ::prost::alloc::string::String, - /// Creation time of the rollout. Readonly. + /// Creation time of the rollout. Readonly. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The user who created the Rollout. Readonly. + /// The user who created the Rollout. Readonly. #[prost(string, tag="3")] pub created_by: ::prost::alloc::string::String, - /// The status of this rollout. Readonly. In case of a failed rollout, - /// the system will automatically rollback to the current Rollout - /// version. Readonly. + /// The status of this rollout. Readonly. In case of a failed rollout, + /// the system will automatically rollback to the current Rollout + /// version. Readonly. #[prost(enumeration="rollout::RolloutStatus", tag="4")] pub status: i32, - /// The name of the service associated with this Rollout. + /// The name of the service associated with this Rollout. #[prost(string, tag="8")] pub service_name: ::prost::alloc::string::String, - /// Strategy that defines which versions of service configurations should be - /// pushed - /// and how they should be used at runtime. + /// Strategy that defines which versions of service configurations should be + /// pushed + /// and how they should be used at runtime. #[prost(oneof="rollout::Strategy", tags="5, 200")] pub strategy: ::core::option::Option, } /// Nested message and enum types in `Rollout`. pub mod rollout { - /// Strategy that specifies how clients of Google Service Controller want to - /// send traffic to use different config versions. This is generally - /// used by API proxy to split traffic based on your configured percentage for - /// each config version. + /// Strategy that specifies how clients of Google Service Controller want to + /// send traffic to use different config versions. This is generally + /// used by API proxy to split traffic based on your configured percentage for + /// each config version. /// - /// One example of how to gradually rollout a new service configuration using - /// this - /// strategy: - /// Day 1 + /// One example of how to gradually rollout a new service configuration using + /// this + /// strategy: + /// Day 1 /// /// Rollout { /// id: "example.googleapis.com/rollout_20160206" @@ -264,7 +264,7 @@ pub mod rollout { /// } /// } /// - /// Day 2 + /// Day 2 /// /// Rollout { /// id: "example.googleapis.com/rollout_20160207" @@ -276,36 +276,36 @@ pub mod rollout { /// } #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrafficPercentStrategy { - /// Maps service configuration IDs to their corresponding traffic percentage. - /// Key is the service configuration ID, Value is the traffic percentage - /// which must be greater than 0.0 and the sum must equal to 100.0. + /// Maps service configuration IDs to their corresponding traffic percentage. + /// Key is the service configuration ID, Value is the traffic percentage + /// which must be greater than 0.0 and the sum must equal to 100.0. #[prost(map="string, double", tag="1")] pub percentages: ::std::collections::HashMap<::prost::alloc::string::String, f64>, } - /// Strategy used to delete a service. This strategy is a placeholder only - /// used by the system generated rollout to delete a service. + /// Strategy used to delete a service. This strategy is a placeholder only + /// used by the system generated rollout to delete a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteServiceStrategy { } - /// Status of a Rollout. + /// Status of a Rollout. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RolloutStatus { - /// No status specified. + /// No status specified. Unspecified = 0, - /// The Rollout is in progress. + /// The Rollout is in progress. InProgress = 1, - /// The Rollout has completed successfully. + /// The Rollout has completed successfully. Success = 2, - /// The Rollout has been cancelled. This can happen if you have overlapping - /// Rollout pushes, and the previous ones will be cancelled. + /// The Rollout has been cancelled. This can happen if you have overlapping + /// Rollout pushes, and the previous ones will be cancelled. Cancelled = 3, - /// The Rollout has failed and the rollback attempt has failed too. + /// The Rollout has failed and the rollback attempt has failed too. Failed = 4, - /// The Rollout has not started yet and is pending for execution. + /// The Rollout has not started yet and is pending for execution. Pending = 5, - /// The Rollout has failed and rolled back to the previous successful - /// Rollout. + /// The Rollout has failed and rolled back to the previous successful + /// Rollout. FailedRolledBack = 6, } impl RolloutStatus { @@ -325,110 +325,110 @@ pub mod rollout { } } } - /// Strategy that defines which versions of service configurations should be - /// pushed - /// and how they should be used at runtime. + /// Strategy that defines which versions of service configurations should be + /// pushed + /// and how they should be used at runtime. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Strategy { - /// Google Service Control selects service configurations based on - /// traffic percentage. + /// Google Service Control selects service configurations based on + /// traffic percentage. #[prost(message, tag="5")] TrafficPercentStrategy(TrafficPercentStrategy), - /// The strategy associated with a rollout to delete a `ManagedService`. - /// Readonly. + /// The strategy associated with a rollout to delete a `ManagedService`. + /// Readonly. #[prost(message, tag="200")] DeleteServiceStrategy(DeleteServiceStrategy), } } -/// Request message for `ListServices` method. +/// Request message for `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Include services produced by the specified project. + /// Include services produced by the specified project. #[prost(string, tag="1")] pub producer_project_id: ::prost::alloc::string::String, - /// The max number of items to include in the response list. Page size is 50 - /// if not specified. Maximum value is 100. + /// The max number of items to include in the response list. Page size is 50 + /// if not specified. Maximum value is 100. #[prost(int32, tag="5")] pub page_size: i32, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, - /// Include services consumed by the specified consumer. + /// Include services consumed by the specified consumer. /// - /// The Google Service Management implementation accepts the following - /// forms: - /// - project: + /// The Google Service Management implementation accepts the following + /// forms: + /// - project: #[deprecated] #[prost(string, tag="7")] pub consumer_id: ::prost::alloc::string::String, } -/// Response message for `ListServices` method. +/// Response message for `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// The returned services will only have the name field set. + /// The returned services will only have the name field set. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// Token that can be passed to `ListServices` to resume a paginated query. + /// Token that can be passed to `ListServices` to resume a paginated query. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `GetService` method. +/// Request message for `GetService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRequest { - /// Required. The name of the service. See the `ServiceManager` overview for - /// naming requirements. For example: `example.googleapis.com`. + /// Required. The name of the service. See the `ServiceManager` overview for + /// naming requirements. For example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, } -/// Request message for CreateService method. +/// Request message for CreateService method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateServiceRequest { - /// Required. Initial values for the service resource. + /// Required. Initial values for the service resource. #[prost(message, optional, tag="1")] pub service: ::core::option::Option, } -/// Request message for DeleteService method. +/// Request message for DeleteService method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteServiceRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, } -/// Request message for UndeleteService method. +/// Request message for UndeleteService method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteServiceRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, } -/// Response message for UndeleteService method. +/// Response message for UndeleteService method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteServiceResponse { - /// Revived service resource. + /// Revived service resource. #[prost(message, optional, tag="1")] pub service: ::core::option::Option, } -/// Request message for GetServiceConfig method. +/// Request message for GetServiceConfig method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceConfigRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Required. The id of the service configuration resource. + /// Required. The id of the service configuration resource. /// - /// This field must be specified for the server to return all fields, including - /// `SourceInfo`. + /// This field must be specified for the server to return all fields, including + /// `SourceInfo`. #[prost(string, tag="2")] pub config_id: ::prost::alloc::string::String, - /// Specifies which parts of the Service Config should be returned in the - /// response. + /// Specifies which parts of the Service Config should be returned in the + /// response. #[prost(enumeration="get_service_config_request::ConfigView", tag="3")] pub view: i32, } @@ -437,12 +437,12 @@ pub mod get_service_config_request { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConfigView { - /// Server response includes all fields except SourceInfo. + /// Server response includes all fields except SourceInfo. Basic = 0, - /// Server response includes all fields including SourceInfo. - /// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' - /// and are only available for configs created using the - /// SubmitConfigSource method. + /// Server response includes all fields including SourceInfo. + /// SourceFiles are of type 'google.api.servicemanagement.v1.ConfigFile' + /// and are only available for configs created using the + /// SubmitConfigSource method. Full = 1, } impl ConfigView { @@ -458,97 +458,97 @@ pub mod get_service_config_request { } } } -/// Request message for ListServiceConfigs method. +/// Request message for ListServiceConfigs method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServiceConfigsRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// The token of the page to retrieve. + /// The token of the page to retrieve. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// The max number of items to include in the response list. Page size is 50 - /// if not specified. Maximum value is 100. + /// The max number of items to include in the response list. Page size is 50 + /// if not specified. Maximum value is 100. #[prost(int32, tag="3")] pub page_size: i32, } -/// Response message for ListServiceConfigs method. +/// Response message for ListServiceConfigs method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServiceConfigsResponse { - /// The list of service configuration resources. + /// The list of service configuration resources. #[prost(message, repeated, tag="1")] pub service_configs: ::prost::alloc::vec::Vec, - /// The token of the next page of results. + /// The token of the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateServiceConfig method. +/// Request message for CreateServiceConfig method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateServiceConfigRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Required. The service configuration resource. + /// Required. The service configuration resource. #[prost(message, optional, tag="2")] pub service_config: ::core::option::Option, } -/// Request message for SubmitConfigSource method. +/// Request message for SubmitConfigSource method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubmitConfigSourceRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Required. The source configuration for the service. + /// Required. The source configuration for the service. #[prost(message, optional, tag="2")] pub config_source: ::core::option::Option, - /// Optional. If set, this will result in the generation of a - /// `google.api.Service` configuration based on the `ConfigSource` provided, - /// but the generated config and the sources will NOT be persisted. + /// Optional. If set, this will result in the generation of a + /// `google.api.Service` configuration based on the `ConfigSource` provided, + /// but the generated config and the sources will NOT be persisted. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Response message for SubmitConfigSource method. +/// Response message for SubmitConfigSource method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubmitConfigSourceResponse { - /// The generated service configuration. + /// The generated service configuration. #[prost(message, optional, tag="1")] pub service_config: ::core::option::Option, } -/// Request message for 'CreateServiceRollout' +/// Request message for 'CreateServiceRollout' #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateServiceRolloutRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Required. The rollout resource. The `service_name` field is output only. + /// Required. The rollout resource. The `service_name` field is output only. #[prost(message, optional, tag="2")] pub rollout: ::core::option::Option, } -/// Request message for 'ListServiceRollouts' +/// Request message for 'ListServiceRollouts' #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServiceRolloutsRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// The token of the page to retrieve. + /// The token of the page to retrieve. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// The max number of items to include in the response list. Page size is 50 - /// if not specified. Maximum value is 100. + /// The max number of items to include in the response list. Page size is 50 + /// if not specified. Maximum value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Required. Use `filter` to return subset of rollouts. - /// The following filters are supported: + /// Required. Use `filter` to return subset of rollouts. + /// The following filters are supported: /// -- To limit the results to only those in /// status (google.api.servicemanagement.v1.RolloutStatus) 'SUCCESS', /// use filter='status=SUCCESS' @@ -558,62 +558,62 @@ pub struct ListServiceRolloutsRequest { #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListServiceRollouts method. +/// Response message for ListServiceRollouts method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServiceRolloutsResponse { - /// The list of rollout resources. + /// The list of rollout resources. #[prost(message, repeated, tag="1")] pub rollouts: ::prost::alloc::vec::Vec, - /// The token of the next page of results. + /// The token of the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetServiceRollout method. +/// Request message for GetServiceRollout method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRolloutRequest { - /// Required. The name of the service. See the - /// \[overview\]() for naming requirements. For - /// example: `example.googleapis.com`. + /// Required. The name of the service. See the + /// \[overview\]() for naming requirements. For + /// example: `example.googleapis.com`. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// Required. The id of the rollout resource. + /// Required. The id of the rollout resource. #[prost(string, tag="2")] pub rollout_id: ::prost::alloc::string::String, } -/// Request message for GenerateConfigReport method. +/// Request message for GenerateConfigReport method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateConfigReportRequest { - /// Required. Service configuration for which we want to generate the report. - /// For this version of API, the supported types are - /// \[google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef\], - /// \[google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource\], - /// and \[google.api.Service][google.api.Service\] + /// Required. Service configuration for which we want to generate the report. + /// For this version of API, the supported types are + /// \[google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef\], + /// \[google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource\], + /// and \[google.api.Service][google.api.Service\] #[prost(message, optional, tag="1")] pub new_config: ::core::option::Option<::prost_types::Any>, - /// Optional. Service configuration against which the comparison will be done. - /// For this version of API, the supported types are - /// \[google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef\], - /// \[google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource\], - /// and \[google.api.Service][google.api.Service\] + /// Optional. Service configuration against which the comparison will be done. + /// For this version of API, the supported types are + /// \[google.api.servicemanagement.v1.ConfigRef][google.api.servicemanagement.v1.ConfigRef\], + /// \[google.api.servicemanagement.v1.ConfigSource][google.api.servicemanagement.v1.ConfigSource\], + /// and \[google.api.Service][google.api.Service\] #[prost(message, optional, tag="2")] pub old_config: ::core::option::Option<::prost_types::Any>, } -/// Response message for GenerateConfigReport method. +/// Response message for GenerateConfigReport method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateConfigReportResponse { - /// Name of the service this report belongs to. + /// Name of the service this report belongs to. #[prost(string, tag="1")] pub service_name: ::prost::alloc::string::String, - /// ID of the service configuration this report belongs to. + /// ID of the service configuration this report belongs to. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// list of ChangeReport, each corresponding to comparison between two - /// service configurations. + /// list of ChangeReport, each corresponding to comparison between two + /// service configurations. #[prost(message, repeated, tag="3")] pub change_reports: ::prost::alloc::vec::Vec, - /// Errors / Linter warnings associated with the service definition this - /// report - /// belongs to. + /// Errors / Linter warnings associated with the service definition this + /// report + /// belongs to. #[prost(message, repeated, tag="4")] pub diagnostics: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.api.serviceusage.v1.rs b/gcloud-sdk/genproto/google.api.serviceusage.v1.rs index df7bb15ab..ee38ec4fa 100644 --- a/gcloud-sdk/genproto/google.api.serviceusage.v1.rs +++ b/gcloud-sdk/genproto/google.api.serviceusage.v1.rs @@ -1,90 +1,90 @@ -/// A service that is available for use by the consumer. +/// A service that is available for use by the consumer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// The resource name of the consumer and service. + /// The resource name of the consumer and service. /// - /// A valid name would be: - /// - projects/123/services/serviceusage.googleapis.com + /// A valid name would be: + /// - projects/123/services/serviceusage.googleapis.com #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource name of the consumer. + /// The resource name of the consumer. /// - /// A valid name would be: - /// - projects/123 + /// A valid name would be: + /// - projects/123 #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The service configuration of the available service. - /// Some fields may be filtered out of the configuration in responses to - /// the `ListServices` method. These fields are present only in responses to - /// the `GetService` method. + /// The service configuration of the available service. + /// Some fields may be filtered out of the configuration in responses to + /// the `ListServices` method. These fields are present only in responses to + /// the `GetService` method. #[prost(message, optional, tag="2")] pub config: ::core::option::Option, - /// Whether or not the service has been enabled for use by the consumer. + /// Whether or not the service has been enabled for use by the consumer. #[prost(enumeration="State", tag="4")] pub state: i32, } -/// The configuration of the service. +/// The configuration of the service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceConfig { - /// The DNS address at which this service is available. + /// The DNS address at which this service is available. /// - /// An example DNS address would be: - /// `calendar.googleapis.com`. + /// An example DNS address would be: + /// `calendar.googleapis.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The product title for this service. + /// The product title for this service. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// A list of API interfaces exported by this service. Contains only the names, - /// versions, and method names of the interfaces. + /// A list of API interfaces exported by this service. Contains only the names, + /// versions, and method names of the interfaces. #[prost(message, repeated, tag="3")] pub apis: ::prost::alloc::vec::Vec<::prost_types::Api>, - /// Additional API documentation. Contains only the summary and the - /// documentation URL. + /// Additional API documentation. Contains only the summary and the + /// documentation URL. #[prost(message, optional, tag="6")] pub documentation: ::core::option::Option, - /// Quota configuration. + /// Quota configuration. #[prost(message, optional, tag="10")] pub quota: ::core::option::Option, - /// Auth configuration. Contains only the OAuth rules. + /// Auth configuration. Contains only the OAuth rules. #[prost(message, optional, tag="11")] pub authentication: ::core::option::Option, - /// Configuration controlling usage of this service. + /// Configuration controlling usage of this service. #[prost(message, optional, tag="15")] pub usage: ::core::option::Option, - /// Configuration for network endpoints. Contains only the names and aliases - /// of the endpoints. + /// Configuration for network endpoints. Contains only the names and aliases + /// of the endpoints. #[prost(message, repeated, tag="18")] pub endpoints: ::prost::alloc::vec::Vec, - /// Defines the monitored resources used by this service. This is required - /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. + /// Defines the monitored resources used by this service. This is required + /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. #[prost(message, repeated, tag="25")] pub monitored_resources: ::prost::alloc::vec::Vec, - /// Monitoring configuration. - /// This should not include the 'producer_destinations' field. + /// Monitoring configuration. + /// This should not include the 'producer_destinations' field. #[prost(message, optional, tag="28")] pub monitoring: ::core::option::Option, } -/// The operation metadata returned for the batchend services operation. +/// The operation metadata returned for the batchend services operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The full name of the resources that this operation is directly - /// associated with. + /// The full name of the resources that this operation is directly + /// associated with. #[prost(string, repeated, tag="2")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Whether or not a service has been enabled for use by a consumer. +/// Whether or not a service has been enabled for use by a consumer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The default value, which indicates that the enabled state of the service - /// is unspecified or not meaningful. Currently, all consumers other than - /// projects (such as folders and organizations) are always in this state. + /// The default value, which indicates that the enabled state of the service + /// is unspecified or not meaningful. Currently, all consumers other than + /// projects (such as folders and organizations) are always in this state. Unspecified = 0, - /// The service cannot be used by this consumer. It has either been explicitly - /// disabled, or has never been enabled. + /// The service cannot be used by this consumer. It has either been explicitly + /// disabled, or has never been enabled. Disabled = 1, - /// The service has been explicitly enabled for use by this consumer. + /// The service has been explicitly enabled for use by this consumer. Enabled = 2, } impl State { @@ -100,69 +100,69 @@ impl State { } } } -/// Request message for the `EnableService` method. +/// Request message for the `EnableService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableServiceRequest { - /// Name of the consumer and service to enable the service on. + /// Name of the consumer and service to enable the service on. /// - /// The `EnableService` and `DisableService` methods currently only support - /// projects. + /// The `EnableService` and `DisableService` methods currently only support + /// projects. /// - /// Enabling a service requires that the service is public or is shared with - /// the user enabling the service. + /// Enabling a service requires that the service is public or is shared with + /// the user enabling the service. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` where `123` is the - /// project number. + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` where `123` is the + /// project number. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for the `EnableService` method. -/// This response message is assigned to the `response` field of the returned -/// Operation when that operation is done. +/// Response message for the `EnableService` method. +/// This response message is assigned to the `response` field of the returned +/// Operation when that operation is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableServiceResponse { - /// The new state of the service after enabling. + /// The new state of the service after enabling. #[prost(message, optional, tag="1")] pub service: ::core::option::Option, } -/// Request message for the `DisableService` method. +/// Request message for the `DisableService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisableServiceRequest { - /// Name of the consumer and service to disable the service on. + /// Name of the consumer and service to disable the service on. /// - /// The enable and disable methods currently only support projects. + /// The enable and disable methods currently only support projects. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` where `123` is the - /// project number. + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` where `123` is the + /// project number. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Indicates if services that are enabled and which depend on this service - /// should also be disabled. If not set, an error will be generated if any - /// enabled services depend on the service to be disabled. When set, the - /// service, and any enabled services that depend on it, will be disabled - /// together. + /// Indicates if services that are enabled and which depend on this service + /// should also be disabled. If not set, an error will be generated if any + /// enabled services depend on the service to be disabled. When set, the + /// service, and any enabled services that depend on it, will be disabled + /// together. #[prost(bool, tag="2")] pub disable_dependent_services: bool, - /// Defines the behavior for checking service usage when disabling a service. + /// Defines the behavior for checking service usage when disabling a service. #[prost(enumeration="disable_service_request::CheckIfServiceHasUsage", tag="3")] pub check_if_service_has_usage: i32, } /// Nested message and enum types in `DisableServiceRequest`. pub mod disable_service_request { - /// Enum to determine if service usage should be checked when disabling a - /// service. + /// Enum to determine if service usage should be checked when disabling a + /// service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CheckIfServiceHasUsage { - /// When unset, the default behavior is used, which is SKIP. + /// When unset, the default behavior is used, which is SKIP. Unspecified = 0, - /// If set, skip checking service usage when disabling a service. + /// If set, skip checking service usage when disabling a service. Skip = 1, - /// If set, service usage is checked when disabling the service. If a - /// service, or its dependents, has usage in the last 30 days, the request - /// returns a FAILED_PRECONDITION error. + /// If set, service usage is checked when disabling the service. If a + /// service, or its dependents, has usage in the last 30 days, the request + /// returns a FAILED_PRECONDITION error. Check = 2, } impl CheckIfServiceHasUsage { @@ -179,134 +179,134 @@ pub mod disable_service_request { } } } -/// Response message for the `DisableService` method. -/// This response message is assigned to the `response` field of the returned -/// Operation when that operation is done. +/// Response message for the `DisableService` method. +/// This response message is assigned to the `response` field of the returned +/// Operation when that operation is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisableServiceResponse { - /// The new state of the service after disabling. + /// The new state of the service after disabling. #[prost(message, optional, tag="1")] pub service: ::core::option::Option, } -/// Request message for the `GetService` method. +/// Request message for the `GetService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRequest { - /// Name of the consumer and service to get the `ConsumerState` for. + /// Name of the consumer and service to get the `ConsumerState` for. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` where `123` is the - /// project number. + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` where `123` is the + /// project number. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the `ListServices` method. +/// Request message for the `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Parent to search for services on. + /// Parent to search for services on. /// - /// An example name would be: - /// `projects/123` where `123` is the project number. + /// An example name would be: + /// `projects/123` where `123` is the project number. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested size of the next page of data. - /// Requested page size cannot exceed 200. - /// If not set, the default page size is 50. + /// Requested size of the next page of data. + /// Requested page size cannot exceed 200. + /// If not set, the default page size is 50. #[prost(int32, tag="2")] pub page_size: i32, - /// Token identifying which result to start with, which is returned by a - /// previous list call. + /// Token identifying which result to start with, which is returned by a + /// previous list call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Only list services that conform to the given filter. - /// The allowed filter strings are `state:ENABLED` and `state:DISABLED`. + /// Only list services that conform to the given filter. + /// The allowed filter strings are `state:ENABLED` and `state:DISABLED`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for the `ListServices` method. +/// Response message for the `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// The available services for the requested project. + /// The available services for the requested project. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// Token that can be passed to `ListServices` to resume a paginated - /// query. + /// Token that can be passed to `ListServices` to resume a paginated + /// query. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for the `BatchEnableServices` method. +/// Request message for the `BatchEnableServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchEnableServicesRequest { - /// Parent to enable services on. + /// Parent to enable services on. /// - /// An example name would be: - /// `projects/123` where `123` is the project number. + /// An example name would be: + /// `projects/123` where `123` is the project number. /// - /// The `BatchEnableServices` method currently only supports projects. + /// The `BatchEnableServices` method currently only supports projects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The identifiers of the services to enable on the project. + /// The identifiers of the services to enable on the project. /// - /// A valid identifier would be: - /// serviceusage.googleapis.com + /// A valid identifier would be: + /// serviceusage.googleapis.com /// - /// Enabling services requires that each service is public or is shared with - /// the user enabling the service. + /// Enabling services requires that each service is public or is shared with + /// the user enabling the service. /// - /// A single request can enable a maximum of 20 services at a time. If more - /// than 20 services are specified, the request will fail, and no state changes - /// will occur. + /// A single request can enable a maximum of 20 services at a time. If more + /// than 20 services are specified, the request will fail, and no state changes + /// will occur. #[prost(string, repeated, tag="2")] pub service_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for the `BatchEnableServices` method. -/// This response message is assigned to the `response` field of the returned -/// Operation when that operation is done. +/// Response message for the `BatchEnableServices` method. +/// This response message is assigned to the `response` field of the returned +/// Operation when that operation is done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchEnableServicesResponse { - /// The new state of the services after enabling. + /// The new state of the services after enabling. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// If allow_partial_success is true, and one or more services could not be - /// enabled, this field contains the details about each failure. + /// If allow_partial_success is true, and one or more services could not be + /// enabled, this field contains the details about each failure. #[prost(message, repeated, tag="2")] pub failures: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BatchEnableServicesResponse`. pub mod batch_enable_services_response { - /// Provides error messages for the failing services. + /// Provides error messages for the failing services. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableFailure { - /// The service id of a service that could not be enabled. + /// The service id of a service that could not be enabled. #[prost(string, tag="1")] pub service_id: ::prost::alloc::string::String, - /// An error message describing why the service could not be enabled. + /// An error message describing why the service could not be enabled. #[prost(string, tag="2")] pub error_message: ::prost::alloc::string::String, } } -/// Request message for the `BatchGetServices` method. +/// Request message for the `BatchGetServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetServicesRequest { - /// Parent to retrieve services from. - /// If this is set, the parent of all of the services specified in `names` must - /// match this field. An example name would be: `projects/123` where `123` is - /// the project number. The `BatchGetServices` method currently only supports - /// projects. + /// Parent to retrieve services from. + /// If this is set, the parent of all of the services specified in `names` must + /// match this field. An example name would be: `projects/123` where `123` is + /// the project number. The `BatchGetServices` method currently only supports + /// projects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Names of the services to retrieve. + /// Names of the services to retrieve. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` where `123` is the - /// project number. - /// A single request can get a maximum of 30 services at a time. + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` where `123` is the + /// project number. + /// A single request can get a maximum of 30 services at a time. #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for the `BatchGetServices` method. +/// Response message for the `BatchGetServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetServicesResponse { - /// The requested Service states. + /// The requested Service states. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.api.serviceusage.v1beta1.rs b/gcloud-sdk/genproto/google.api.serviceusage.v1beta1.rs index 112bd3dab..4bcc3346b 100644 --- a/gcloud-sdk/genproto/google.api.serviceusage.v1beta1.rs +++ b/gcloud-sdk/genproto/google.api.serviceusage.v1beta1.rs @@ -1,337 +1,337 @@ -/// A service that is available for use by the consumer. +/// A service that is available for use by the consumer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// The resource name of the consumer and service. + /// The resource name of the consumer and service. /// - /// A valid name would be: - /// - `projects/123/services/serviceusage.googleapis.com` + /// A valid name would be: + /// - `projects/123/services/serviceusage.googleapis.com` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource name of the consumer. + /// The resource name of the consumer. /// - /// A valid name would be: - /// - `projects/123` + /// A valid name would be: + /// - `projects/123` #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The service configuration of the available service. - /// Some fields may be filtered out of the configuration in responses to - /// the `ListServices` method. These fields are present only in responses to - /// the `GetService` method. + /// The service configuration of the available service. + /// Some fields may be filtered out of the configuration in responses to + /// the `ListServices` method. These fields are present only in responses to + /// the `GetService` method. #[prost(message, optional, tag="2")] pub config: ::core::option::Option, - /// Whether or not the service has been enabled for use by the consumer. + /// Whether or not the service has been enabled for use by the consumer. #[prost(enumeration="State", tag="4")] pub state: i32, } -/// The configuration of the service. +/// The configuration of the service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceConfig { - /// The DNS address at which this service is available. + /// The DNS address at which this service is available. /// - /// An example DNS address would be: - /// `calendar.googleapis.com`. + /// An example DNS address would be: + /// `calendar.googleapis.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The product title for this service. + /// The product title for this service. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// A list of API interfaces exported by this service. Contains only the names, - /// versions, and method names of the interfaces. + /// A list of API interfaces exported by this service. Contains only the names, + /// versions, and method names of the interfaces. #[prost(message, repeated, tag="3")] pub apis: ::prost::alloc::vec::Vec<::prost_types::Api>, - /// Additional API documentation. Contains only the summary and the - /// documentation URL. + /// Additional API documentation. Contains only the summary and the + /// documentation URL. #[prost(message, optional, tag="6")] pub documentation: ::core::option::Option, - /// Quota configuration. + /// Quota configuration. #[prost(message, optional, tag="10")] pub quota: ::core::option::Option, - /// Auth configuration. Contains only the OAuth rules. + /// Auth configuration. Contains only the OAuth rules. #[prost(message, optional, tag="11")] pub authentication: ::core::option::Option, - /// Configuration controlling usage of this service. + /// Configuration controlling usage of this service. #[prost(message, optional, tag="15")] pub usage: ::core::option::Option, - /// Configuration for network endpoints. Contains only the names and aliases - /// of the endpoints. + /// Configuration for network endpoints. Contains only the names and aliases + /// of the endpoints. #[prost(message, repeated, tag="18")] pub endpoints: ::prost::alloc::vec::Vec, - /// Defines the monitored resources used by this service. This is required - /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. + /// Defines the monitored resources used by this service. This is required + /// by the \[Service.monitoring][google.api.Service.monitoring\] and \[Service.logging][google.api.Service.logging\] configurations. #[prost(message, repeated, tag="25")] pub monitored_resources: ::prost::alloc::vec::Vec, - /// Monitoring configuration. - /// This should not include the 'producer_destinations' field. + /// Monitoring configuration. + /// This should not include the 'producer_destinations' field. #[prost(message, optional, tag="28")] pub monitoring: ::core::option::Option, } -/// The operation metadata returned for the batchend services operation. +/// The operation metadata returned for the batchend services operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The full name of the resources that this operation is directly - /// associated with. + /// The full name of the resources that this operation is directly + /// associated with. #[prost(string, repeated, tag="2")] pub resource_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Consumer quota settings for a quota metric. +/// Consumer quota settings for a quota metric. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsumerQuotaMetric { - /// The resource name of the quota settings on this metric for this consumer. + /// The resource name of the quota settings on this metric for this consumer. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus` /// - /// The resource name is intended to be opaque and should not be parsed for - /// its component strings, since its representation could change in the future. + /// The resource name is intended to be opaque and should not be parsed for + /// its component strings, since its representation could change in the future. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The name of the metric. + /// The name of the metric. /// - /// An example name would be: - /// `compute.googleapis.com/cpus` + /// An example name would be: + /// `compute.googleapis.com/cpus` #[prost(string, tag="4")] pub metric: ::prost::alloc::string::String, - /// The display name of the metric. + /// The display name of the metric. /// - /// An example name would be: - /// `CPUs` + /// An example name would be: + /// `CPUs` #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The consumer quota for each quota limit defined on the metric. + /// The consumer quota for each quota limit defined on the metric. #[prost(message, repeated, tag="3")] pub consumer_quota_limits: ::prost::alloc::vec::Vec, - /// The quota limits targeting the descendant containers of the - /// consumer in request. + /// The quota limits targeting the descendant containers of the + /// consumer in request. /// - /// If the consumer in request is of type `organizations` - /// or `folders`, the field will list per-project limits in the metric; if the - /// consumer in request is of type `project`, the field will be empty. + /// If the consumer in request is of type `organizations` + /// or `folders`, the field will list per-project limits in the metric; if the + /// consumer in request is of type `project`, the field will be empty. /// - /// The `quota_buckets` field of each descendant consumer quota limit will not - /// be populated. + /// The `quota_buckets` field of each descendant consumer quota limit will not + /// be populated. #[prost(message, repeated, tag="6")] pub descendant_consumer_quota_limits: ::prost::alloc::vec::Vec, - /// The units in which the metric value is reported. + /// The units in which the metric value is reported. #[prost(string, tag="5")] pub unit: ::prost::alloc::string::String, } -/// Consumer quota settings for a quota limit. +/// Consumer quota settings for a quota limit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsumerQuotaLimit { - /// The resource name of the quota limit. + /// The resource name of the quota limit. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` /// - /// The resource name is intended to be opaque and should not be parsed for - /// its component strings, since its representation could change in the future. + /// The resource name is intended to be opaque and should not be parsed for + /// its component strings, since its representation could change in the future. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The name of the parent metric of this limit. + /// The name of the parent metric of this limit. /// - /// An example name would be: - /// `compute.googleapis.com/cpus` + /// An example name would be: + /// `compute.googleapis.com/cpus` #[prost(string, tag="8")] pub metric: ::prost::alloc::string::String, - /// The limit unit. + /// The limit unit. /// - /// An example unit would be - /// `1/{project}/{region}` - /// Note that `{project}` and `{region}` are not placeholders in this example; - /// the literal characters `{` and `}` occur in the string. + /// An example unit would be + /// `1/{project}/{region}` + /// Note that `{project}` and `{region}` are not placeholders in this example; + /// the literal characters `{` and `}` occur in the string. #[prost(string, tag="2")] pub unit: ::prost::alloc::string::String, - /// Whether this limit is precise or imprecise. + /// Whether this limit is precise or imprecise. #[prost(bool, tag="3")] pub is_precise: bool, - /// Whether admin overrides are allowed on this limit + /// Whether admin overrides are allowed on this limit #[prost(bool, tag="7")] pub allows_admin_overrides: bool, - /// Summary of the enforced quota buckets, organized by quota dimension, - /// ordered from least specific to most specific (for example, the global - /// default bucket, with no quota dimensions, will always appear first). + /// Summary of the enforced quota buckets, organized by quota dimension, + /// ordered from least specific to most specific (for example, the global + /// default bucket, with no quota dimensions, will always appear first). #[prost(message, repeated, tag="9")] pub quota_buckets: ::prost::alloc::vec::Vec, } -/// A quota bucket is a quota provisioning unit for a specific set of dimensions. +/// A quota bucket is a quota provisioning unit for a specific set of dimensions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaBucket { - /// The effective limit of this quota bucket. Equal to default_limit if there - /// are no overrides. + /// The effective limit of this quota bucket. Equal to default_limit if there + /// are no overrides. #[prost(int64, tag="1")] pub effective_limit: i64, - /// The default limit of this quota bucket, as specified by the service - /// configuration. + /// The default limit of this quota bucket, as specified by the service + /// configuration. #[prost(int64, tag="2")] pub default_limit: i64, - /// Producer override on this quota bucket. + /// Producer override on this quota bucket. #[prost(message, optional, tag="3")] pub producer_override: ::core::option::Option, - /// Consumer override on this quota bucket. + /// Consumer override on this quota bucket. #[prost(message, optional, tag="4")] pub consumer_override: ::core::option::Option, - /// Admin override on this quota bucket. + /// Admin override on this quota bucket. #[prost(message, optional, tag="5")] pub admin_override: ::core::option::Option, - /// The dimensions of this quota bucket. + /// The dimensions of this quota bucket. /// - /// If this map is empty, this is the global bucket, which is the default quota - /// value applied to all requests that do not have a more specific override. + /// If this map is empty, this is the global bucket, which is the default quota + /// value applied to all requests that do not have a more specific override. /// - /// If this map is nonempty, the default limit, effective limit, and quota - /// overrides apply only to requests that have the dimensions given in the map. + /// If this map is nonempty, the default limit, effective limit, and quota + /// overrides apply only to requests that have the dimensions given in the map. /// - /// For example, if the map has key `region` and value `us-east-1`, then the - /// specified effective limit is only effective in that region, and the - /// specified overrides apply only in that region. + /// For example, if the map has key `region` and value `us-east-1`, then the + /// specified effective limit is only effective in that region, and the + /// specified overrides apply only in that region. #[prost(map="string, string", tag="6")] pub dimensions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// A quota override +/// A quota override #[derive(Clone, PartialEq, ::prost::Message)] pub struct QuotaOverride { - /// The resource name of the override. - /// This name is generated by the server when the override is created. + /// The resource name of the override. + /// This name is generated by the server when the override is created. /// - /// Example names would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + /// Example names would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` /// - /// The resource name is intended to be opaque and should not be parsed for - /// its component strings, since its representation could change in the future. + /// The resource name is intended to be opaque and should not be parsed for + /// its component strings, since its representation could change in the future. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The overriding quota limit value. - /// Can be any nonnegative integer, or -1 (unlimited quota). + /// The overriding quota limit value. + /// Can be any nonnegative integer, or -1 (unlimited quota). #[prost(int64, tag="2")] pub override_value: i64, - /// If this map is nonempty, then this override applies only to specific values - /// for dimensions defined in the limit unit. + /// If this map is nonempty, then this override applies only to specific values + /// for dimensions defined in the limit unit. /// - /// For example, an override on a limit with the unit `1/{project}/{region}` - /// could contain an entry with the key `region` and the value `us-east-1`; - /// the override is only applied to quota consumed in that region. + /// For example, an override on a limit with the unit `1/{project}/{region}` + /// could contain an entry with the key `region` and the value `us-east-1`; + /// the override is only applied to quota consumed in that region. /// - /// This map has the following restrictions: + /// This map has the following restrictions: /// - /// * Keys that are not defined in the limit's unit are not valid keys. + /// * Keys that are not defined in the limit's unit are not valid keys. /// Any string appearing in `{brackets}` in the unit (besides `{project}` /// or /// `{user}`) is a defined key. - /// * `project` is not a valid key; the project is already specified in + /// * `project` is not a valid key; the project is already specified in /// the parent resource name. - /// * `user` is not a valid key; the API does not support quota overrides + /// * `user` is not a valid key; the API does not support quota overrides /// that apply only to a specific user. - /// * If `region` appears as a key, its value must be a valid Cloud region. - /// * If `zone` appears as a key, its value must be a valid Cloud zone. - /// * If any valid key other than `region` or `zone` appears in the map, then + /// * If `region` appears as a key, its value must be a valid Cloud region. + /// * If `zone` appears as a key, its value must be a valid Cloud zone. + /// * If any valid key other than `region` or `zone` appears in the map, then /// all valid keys other than `region` or `zone` must also appear in the /// map. #[prost(map="string, string", tag="3")] pub dimensions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the metric to which this override applies. + /// The name of the metric to which this override applies. /// - /// An example name would be: - /// `compute.googleapis.com/cpus` + /// An example name would be: + /// `compute.googleapis.com/cpus` #[prost(string, tag="4")] pub metric: ::prost::alloc::string::String, - /// The limit unit of the limit to which this override applies. + /// The limit unit of the limit to which this override applies. /// - /// An example unit would be: - /// `1/{project}/{region}` - /// Note that `{project}` and `{region}` are not placeholders in this example; - /// the literal characters `{` and `}` occur in the string. + /// An example unit would be: + /// `1/{project}/{region}` + /// Note that `{project}` and `{region}` are not placeholders in this example; + /// the literal characters `{` and `}` occur in the string. #[prost(string, tag="5")] pub unit: ::prost::alloc::string::String, - /// The resource name of the ancestor that requested the override. For example: - /// `organizations/12345` or `folders/67890`. - /// Used by admin overrides only. + /// The resource name of the ancestor that requested the override. For example: + /// `organizations/12345` or `folders/67890`. + /// Used by admin overrides only. #[prost(string, tag="6")] pub admin_override_ancestor: ::prost::alloc::string::String, } -/// Import data embedded in the request message +/// Import data embedded in the request message #[derive(Clone, PartialEq, ::prost::Message)] pub struct OverrideInlineSource { - /// The overrides to create. - /// Each override must have a value for 'metric' and 'unit', to specify - /// which metric and which limit the override should be applied to. - /// The 'name' field of the override does not need to be set; it is ignored. + /// The overrides to create. + /// Each override must have a value for 'metric' and 'unit', to specify + /// which metric and which limit the override should be applied to. + /// The 'name' field of the override does not need to be set; it is ignored. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, } -/// Quota policy created by quota administrator. +/// Quota policy created by quota administrator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdminQuotaPolicy { - /// The resource name of the policy. - /// This name is generated by the server when the policy is created. + /// The resource name of the policy. + /// This name is generated by the server when the policy is created. /// - /// Example names would be: - /// `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d` + /// Example names would be: + /// `organizations/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminQuotaPolicies/4a3f2c1d` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The quota policy value. - /// Can be any nonnegative integer, or -1 (unlimited quota). + /// The quota policy value. + /// Can be any nonnegative integer, or -1 (unlimited quota). #[prost(int64, tag="2")] pub policy_value: i64, /// - /// If this map is nonempty, then this policy applies only to specific values - /// for dimensions defined in the limit unit. + /// If this map is nonempty, then this policy applies only to specific values + /// for dimensions defined in the limit unit. /// - /// For example, an policy on a limit with the unit `1/{project}/{region}` - /// could contain an entry with the key `region` and the value `us-east-1`; - /// the policy is only applied to quota consumed in that region. + /// For example, an policy on a limit with the unit `1/{project}/{region}` + /// could contain an entry with the key `region` and the value `us-east-1`; + /// the policy is only applied to quota consumed in that region. /// - /// This map has the following restrictions: + /// This map has the following restrictions: /// - /// * If `region` appears as a key, its value must be a valid Cloud region. - /// * If `zone` appears as a key, its value must be a valid Cloud zone. - /// * Keys other than `region` or `zone` are not valid. + /// * If `region` appears as a key, its value must be a valid Cloud region. + /// * If `zone` appears as a key, its value must be a valid Cloud zone. + /// * Keys other than `region` or `zone` are not valid. #[prost(map="string, string", tag="3")] pub dimensions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the metric to which this policy applies. + /// The name of the metric to which this policy applies. /// - /// An example name would be: - /// `compute.googleapis.com/cpus` + /// An example name would be: + /// `compute.googleapis.com/cpus` #[prost(string, tag="4")] pub metric: ::prost::alloc::string::String, - /// The limit unit of the limit to which this policy applies. + /// The limit unit of the limit to which this policy applies. /// - /// An example unit would be: - /// `1/{project}/{region}` - /// Note that `{project}` and `{region}` are not placeholders in this example; - /// the literal characters `{` and `}` occur in the string. + /// An example unit would be: + /// `1/{project}/{region}` + /// Note that `{project}` and `{region}` are not placeholders in this example; + /// the literal characters `{` and `}` occur in the string. #[prost(string, tag="5")] pub unit: ::prost::alloc::string::String, - /// The cloud resource container at which the quota policy is created. The - /// format is `{container_type}/{container_number}` + /// The cloud resource container at which the quota policy is created. The + /// format is `{container_type}/{container_number}` #[prost(string, tag="6")] pub container: ::prost::alloc::string::String, } -/// Service identity for a service. This is the identity that service producer -/// should use to access consumer resources. +/// Service identity for a service. This is the identity that service producer +/// should use to access consumer resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceIdentity { - /// The email address of the service account that a service producer would use - /// to access consumer resources. + /// The email address of the service account that a service producer would use + /// to access consumer resources. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, - /// The unique and stable id of the service account. - /// + /// The unique and stable id of the service account. + /// #[prost(string, tag="2")] pub unique_id: ::prost::alloc::string::String, } -/// Whether or not a service has been enabled for use by a consumer. +/// Whether or not a service has been enabled for use by a consumer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The default value, which indicates that the enabled state of the service - /// is unspecified or not meaningful. Currently, all consumers other than - /// projects (such as folders and organizations) are always in this state. + /// The default value, which indicates that the enabled state of the service + /// is unspecified or not meaningful. Currently, all consumers other than + /// projects (such as folders and organizations) are always in this state. Unspecified = 0, - /// The service cannot be used by this consumer. It has either been explicitly - /// disabled, or has never been enabled. + /// The service cannot be used by this consumer. It has either been explicitly + /// disabled, or has never been enabled. Disabled = 1, - /// The service has been explicitly enabled for use by this consumer. + /// The service has been explicitly enabled for use by this consumer. Enabled = 2, } impl State { @@ -347,22 +347,22 @@ impl State { } } } -/// Selected view of quota. Can be used to request more detailed quota -/// information when retrieving quota metrics and limits. +/// Selected view of quota. Can be used to request more detailed quota +/// information when retrieving quota metrics and limits. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaView { - /// No quota view specified. Requests that do not specify a quota view will - /// typically default to the BASIC view. + /// No quota view specified. Requests that do not specify a quota view will + /// typically default to the BASIC view. Unspecified = 0, - /// Only buckets with overrides are shown in the response. + /// Only buckets with overrides are shown in the response. Basic = 1, - /// Include per-location buckets even if they do not have overrides. - /// When the view is FULL, and a limit has regional or zonal quota, the limit - /// will include buckets for all regions or zones that could support - /// overrides, even if none are currently present. In some cases this will - /// cause the response to become very large; callers that do not need this - /// extra information should use the BASIC view instead. + /// Include per-location buckets even if they do not have overrides. + /// When the view is FULL, and a limit has regional or zonal quota, the limit + /// will include buckets for all regions or zones that could support + /// overrides, even if none are currently present. In some cases this will + /// cause the response to become very large; callers that do not need this + /// extra information should use the BASIC view instead. Full = 2, } impl QuotaView { @@ -378,17 +378,17 @@ impl QuotaView { } } } -/// Enumerations of quota safety checks. +/// Enumerations of quota safety checks. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuotaSafetyCheck { - /// Unspecified quota safety check. + /// Unspecified quota safety check. Unspecified = 0, - /// Validates that a quota mutation would not cause the consumer's effective - /// limit to be lower than the consumer's quota usage. + /// Validates that a quota mutation would not cause the consumer's effective + /// limit to be lower than the consumer's quota usage. LimitDecreaseBelowUsage = 1, - /// Validates that a quota mutation would not cause the consumer's effective - /// limit to decrease by more than 10 percent. + /// Validates that a quota mutation would not cause the consumer's effective + /// limit to decrease by more than 10 percent. LimitDecreasePercentageTooHigh = 2, } impl QuotaSafetyCheck { @@ -404,552 +404,552 @@ impl QuotaSafetyCheck { } } } -/// Request message for the `EnableService` method. +/// Request message for the `EnableService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableServiceRequest { - /// Name of the consumer and service to enable the service on. + /// Name of the consumer and service to enable the service on. /// - /// The `EnableService` and `DisableService` methods currently only support - /// projects. + /// The `EnableService` and `DisableService` methods currently only support + /// projects. /// - /// Enabling a service requires that the service is public or is shared with - /// the user enabling the service. + /// Enabling a service requires that the service is public or is shared with + /// the user enabling the service. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` - /// where `123` is the project number (not project ID). + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` + /// where `123` is the project number (not project ID). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the `DisableService` method. +/// Request message for the `DisableService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisableServiceRequest { - /// Name of the consumer and service to disable the service on. + /// Name of the consumer and service to disable the service on. /// - /// The enable and disable methods currently only support projects. + /// The enable and disable methods currently only support projects. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` - /// where `123` is the project number (not project ID). + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` + /// where `123` is the project number (not project ID). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the `GetService` method. +/// Request message for the `GetService` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRequest { - /// Name of the consumer and service to get the `ConsumerState` for. + /// Name of the consumer and service to get the `ConsumerState` for. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com` - /// where `123` is the project number (not project ID). + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com` + /// where `123` is the project number (not project ID). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the `ListServices` method. +/// Request message for the `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Parent to search for services on. + /// Parent to search for services on. /// - /// An example name would be: - /// `projects/123` - /// where `123` is the project number (not project ID). + /// An example name would be: + /// `projects/123` + /// where `123` is the project number (not project ID). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested size of the next page of data. - /// Requested page size cannot exceed 200. + /// Requested size of the next page of data. + /// Requested page size cannot exceed 200. /// If not set, the default page size is 50. #[prost(int32, tag="2")] pub page_size: i32, - /// Token identifying which result to start with, which is returned by a - /// previous list call. + /// Token identifying which result to start with, which is returned by a + /// previous list call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Only list services that conform to the given filter. - /// The allowed filter strings are `state:ENABLED` and `state:DISABLED`. + /// Only list services that conform to the given filter. + /// The allowed filter strings are `state:ENABLED` and `state:DISABLED`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for the `ListServices` method. +/// Response message for the `ListServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// The available services for the requested project. + /// The available services for the requested project. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// Token that can be passed to `ListServices` to resume a paginated - /// query. + /// Token that can be passed to `ListServices` to resume a paginated + /// query. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for the `BatchEnableServices` method. +/// Request message for the `BatchEnableServices` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchEnableServicesRequest { - /// Parent to enable services on. + /// Parent to enable services on. /// - /// An example name would be: - /// `projects/123` - /// where `123` is the project number (not project ID). + /// An example name would be: + /// `projects/123` + /// where `123` is the project number (not project ID). /// - /// The `BatchEnableServices` method currently only supports projects. + /// The `BatchEnableServices` method currently only supports projects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The identifiers of the services to enable on the project. + /// The identifiers of the services to enable on the project. /// - /// A valid identifier would be: - /// serviceusage.googleapis.com + /// A valid identifier would be: + /// serviceusage.googleapis.com /// - /// Enabling services requires that each service is public or is shared with - /// the user enabling the service. + /// Enabling services requires that each service is public or is shared with + /// the user enabling the service. /// - /// Two or more services must be specified. To enable a single service, - /// use the `EnableService` method instead. + /// Two or more services must be specified. To enable a single service, + /// use the `EnableService` method instead. /// - /// A single request can enable a maximum of 20 services at a time. If more - /// than 20 services are specified, the request will fail, and no state changes - /// will occur. + /// A single request can enable a maximum of 20 services at a time. If more + /// than 20 services are specified, the request will fail, and no state changes + /// will occur. #[prost(string, repeated, tag="2")] pub service_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for ListConsumerQuotaMetrics +/// Request message for ListConsumerQuotaMetrics #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConsumerQuotaMetricsRequest { - /// Parent of the quotas resource. + /// Parent of the quotas resource. /// - /// Some example names would be: - /// `projects/123/services/serviceconsumermanagement.googleapis.com` - /// `folders/345/services/serviceconsumermanagement.googleapis.com` - /// `organizations/456/services/serviceconsumermanagement.googleapis.com` + /// Some example names would be: + /// `projects/123/services/serviceconsumermanagement.googleapis.com` + /// `folders/345/services/serviceconsumermanagement.googleapis.com` + /// `organizations/456/services/serviceconsumermanagement.googleapis.com` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested size of the next page of data. + /// Requested size of the next page of data. #[prost(int32, tag="2")] pub page_size: i32, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Specifies the level of detail for quota information in the response. + /// Specifies the level of detail for quota information in the response. #[prost(enumeration="QuotaView", tag="4")] pub view: i32, } -/// Response message for ListConsumerQuotaMetrics +/// Response message for ListConsumerQuotaMetrics #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConsumerQuotaMetricsResponse { - /// Quota settings for the consumer, organized by quota metric. + /// Quota settings for the consumer, organized by quota metric. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetConsumerQuotaMetric +/// Request message for GetConsumerQuotaMetric #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConsumerQuotaMetricRequest { - /// The resource name of the quota limit. + /// The resource name of the quota limit. /// - /// An example name would be: - /// `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` + /// An example name would be: + /// `projects/123/services/serviceusage.googleapis.com/quotas/metrics/serviceusage.googleapis.com%2Fmutate_requests` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies the level of detail for quota information in the response. + /// Specifies the level of detail for quota information in the response. #[prost(enumeration="QuotaView", tag="2")] pub view: i32, } -/// Request message for GetConsumerQuotaLimit +/// Request message for GetConsumerQuotaLimit #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConsumerQuotaLimitRequest { - /// The resource name of the quota limit. + /// The resource name of the quota limit. /// - /// Use the quota limit resource name returned by previous - /// ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. + /// Use the quota limit resource name returned by previous + /// ListConsumerQuotaMetrics and GetConsumerQuotaMetric API calls. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies the level of detail for quota information in the response. + /// Specifies the level of detail for quota information in the response. #[prost(enumeration="QuotaView", tag="2")] pub view: i32, } -/// Request message for CreateAdminOverride. +/// Request message for CreateAdminOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAdminOverrideRequest { - /// The resource name of the parent quota limit, returned by a - /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + /// The resource name of the parent quota limit, returned by a + /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The admin override to create. + /// The admin override to create. #[prost(message, optional, tag="2")] pub r#override: ::core::option::Option, - /// Whether to force the creation of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the creation of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="4")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for UpdateAdminOverride. +/// Request message for UpdateAdminOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAdminOverrideRequest { - /// The resource name of the override to update. + /// The resource name of the override to update. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The new override. - /// Only the override_value is updated; all other fields are ignored. + /// The new override. + /// Only the override_value is updated; all other fields are ignored. #[prost(message, optional, tag="2")] pub r#override: ::core::option::Option, - /// Whether to force the update of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the update of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// Update only the specified fields of the override. - /// If unset, all fields will be updated. + /// Update only the specified fields of the override. + /// If unset, all fields will be updated. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="5")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for DeleteAdminOverride. +/// Request message for DeleteAdminOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAdminOverrideRequest { - /// The resource name of the override to delete. + /// The resource name of the override to delete. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/adminOverrides/4a3f2c1d` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Whether to force the deletion of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the deletion of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="2")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="3")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for ListAdminOverrides +/// Request message for ListAdminOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAdminOverridesRequest { - /// The resource name of the parent quota limit, returned by a - /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + /// The resource name of the parent quota limit, returned by a + /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested size of the next page of data. + /// Requested size of the next page of data. #[prost(int32, tag="2")] pub page_size: i32, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListAdminOverrides. +/// Response message for ListAdminOverrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAdminOverridesResponse { - /// Admin overrides on this limit. + /// Admin overrides on this limit. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Response message for BatchCreateAdminOverrides +/// Response message for BatchCreateAdminOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateAdminOverridesResponse { - /// The overrides that were created. + /// The overrides that were created. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, } -/// Request message for ImportAdminOverrides +/// Request message for ImportAdminOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportAdminOverridesRequest { - /// The resource name of the consumer. + /// The resource name of the consumer. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Whether to force the creation of the quota overrides. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the creation of the quota overrides. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="4")] pub force_only: ::prost::alloc::vec::Vec, - /// Source of import data + /// Source of import data #[prost(oneof="import_admin_overrides_request::Source", tags="2")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportAdminOverridesRequest`. pub mod import_admin_overrides_request { - /// Source of import data + /// Source of import data #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The import data is specified in the request message itself + /// The import data is specified in the request message itself #[prost(message, tag="2")] InlineSource(super::OverrideInlineSource), } } -/// Response message for ImportAdminOverrides +/// Response message for ImportAdminOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportAdminOverridesResponse { - /// The overrides that were created from the imported data. + /// The overrides that were created from the imported data. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by ImportAdminOverrides. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by ImportAdminOverrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportAdminOverridesMetadata { } -/// Request message for CreateConsumerOverride. +/// Request message for CreateConsumerOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConsumerOverrideRequest { - /// The resource name of the parent quota limit, returned by a - /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + /// The resource name of the parent quota limit, returned by a + /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The override to create. + /// The override to create. #[prost(message, optional, tag="2")] pub r#override: ::core::option::Option, - /// Whether to force the creation of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the creation of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="4")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for UpdateConsumerOverride. +/// Request message for UpdateConsumerOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConsumerOverrideRequest { - /// The resource name of the override to update. + /// The resource name of the override to update. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The new override. - /// Only the override_value is updated; all other fields are ignored. + /// The new override. + /// Only the override_value is updated; all other fields are ignored. #[prost(message, optional, tag="2")] pub r#override: ::core::option::Option, - /// Whether to force the update of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the update of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// Update only the specified fields of the override. - /// If unset, all fields will be updated. + /// Update only the specified fields of the override. + /// If unset, all fields will be updated. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="5")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for DeleteConsumerOverride. +/// Request message for DeleteConsumerOverride. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConsumerOverrideRequest { - /// The resource name of the override to delete. + /// The resource name of the override to delete. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion/consumerOverrides/4a3f2c1d` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Whether to force the deletion of the quota override. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the deletion of the quota override. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="2")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="3")] pub force_only: ::prost::alloc::vec::Vec, } -/// Request message for ListConsumerOverrides +/// Request message for ListConsumerOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConsumerOverridesRequest { - /// The resource name of the parent quota limit, returned by a - /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. + /// The resource name of the parent quota limit, returned by a + /// ListConsumerQuotaMetrics or GetConsumerQuotaMetric call. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com/consumerQuotaMetrics/compute.googleapis.com%2Fcpus/limits/%2Fproject%2Fregion` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested size of the next page of data. + /// Requested size of the next page of data. #[prost(int32, tag="2")] pub page_size: i32, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListConsumerOverrides. +/// Response message for ListConsumerOverrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConsumerOverridesResponse { - /// Consumer overrides on this limit. + /// Consumer overrides on this limit. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, - /// Token identifying which result to start with; returned by a previous list - /// call. + /// Token identifying which result to start with; returned by a previous list + /// call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Response message for BatchCreateConsumerOverrides +/// Response message for BatchCreateConsumerOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateConsumerOverridesResponse { - /// The overrides that were created. + /// The overrides that were created. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, } -/// Request message for ImportConsumerOverrides +/// Request message for ImportConsumerOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportConsumerOverridesRequest { - /// The resource name of the consumer. + /// The resource name of the consumer. /// - /// An example name would be: - /// `projects/123/services/compute.googleapis.com` + /// An example name would be: + /// `projects/123/services/compute.googleapis.com` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Whether to force the creation of the quota overrides. - /// Setting the force parameter to 'true' ignores all quota safety checks that - /// would fail the request. QuotaSafetyCheck lists all such validations. + /// Whether to force the creation of the quota overrides. + /// Setting the force parameter to 'true' ignores all quota safety checks that + /// would fail the request. QuotaSafetyCheck lists all such validations. #[prost(bool, tag="3")] pub force: bool, - /// The list of quota safety checks to ignore before the override mutation. - /// Unlike 'force' field that ignores all the quota safety checks, the - /// 'force_only' field ignores only the specified checks; other checks are - /// still enforced. The 'force' and 'force_only' fields cannot both be set. + /// The list of quota safety checks to ignore before the override mutation. + /// Unlike 'force' field that ignores all the quota safety checks, the + /// 'force_only' field ignores only the specified checks; other checks are + /// still enforced. The 'force' and 'force_only' fields cannot both be set. #[prost(enumeration="QuotaSafetyCheck", repeated, tag="4")] pub force_only: ::prost::alloc::vec::Vec, - /// Source of import data + /// Source of import data #[prost(oneof="import_consumer_overrides_request::Source", tags="2")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportConsumerOverridesRequest`. pub mod import_consumer_overrides_request { - /// Source of import data + /// Source of import data #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The import data is specified in the request message itself + /// The import data is specified in the request message itself #[prost(message, tag="2")] InlineSource(super::OverrideInlineSource), } } -/// Response message for ImportConsumerOverrides +/// Response message for ImportConsumerOverrides #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportConsumerOverridesResponse { - /// The overrides that were created from the imported data. + /// The overrides that were created from the imported data. #[prost(message, repeated, tag="1")] pub overrides: ::prost::alloc::vec::Vec, } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by ImportConsumerOverrides. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by ImportConsumerOverrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportConsumerOverridesMetadata { } -/// Response message for ImportAdminQuotaPolicies +/// Response message for ImportAdminQuotaPolicies #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportAdminQuotaPoliciesResponse { - /// The policies that were created from the imported data. + /// The policies that were created from the imported data. #[prost(message, repeated, tag="1")] pub policies: ::prost::alloc::vec::Vec, } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by ImportAdminQuotaPolicies. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by ImportAdminQuotaPolicies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportAdminQuotaPoliciesMetadata { } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by CreateAdminQuotaPolicy. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by CreateAdminQuotaPolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAdminQuotaPolicyMetadata { } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by UpdateAdminQuotaPolicy. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by UpdateAdminQuotaPolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAdminQuotaPolicyMetadata { } -/// Metadata message that provides information such as progress, -/// partial failures, and similar information on each GetOperation call -/// of LRO returned by DeleteAdminQuotaPolicy. +/// Metadata message that provides information such as progress, +/// partial failures, and similar information on each GetOperation call +/// of LRO returned by DeleteAdminQuotaPolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAdminQuotaPolicyMetadata { } -/// Request message for generating service identity. +/// Request message for generating service identity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateServiceIdentityRequest { - /// Name of the consumer and service to generate an identity for. + /// Name of the consumer and service to generate an identity for. /// - /// The `GenerateServiceIdentity` methods currently only support projects. + /// The `GenerateServiceIdentity` methods currently only support projects. /// - /// An example name would be: - /// `projects/123/services/example.googleapis.com` where `123` is the - /// project number. + /// An example name would be: + /// `projects/123/services/example.googleapis.com` where `123` is the + /// project number. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, } -/// Response message for getting service identity. +/// Response message for getting service identity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceIdentityResponse { - /// Service identity that service producer can use to access consumer - /// resources. If exists is true, it contains email and unique_id. If exists is - /// false, it contains pre-constructed email and empty unique_id. + /// Service identity that service producer can use to access consumer + /// resources. If exists is true, it contains email and unique_id. If exists is + /// false, it contains pre-constructed email and empty unique_id. #[prost(message, optional, tag="1")] pub identity: ::core::option::Option, - /// Service identity state. + /// Service identity state. #[prost(enumeration="get_service_identity_response::IdentityState", tag="2")] pub state: i32, } /// Nested message and enum types in `GetServiceIdentityResponse`. pub mod get_service_identity_response { - /// Enum for service identity state. + /// Enum for service identity state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdentityState { - /// Default service identity state. This value is used if the state is - /// omitted. + /// Default service identity state. This value is used if the state is + /// omitted. Unspecified = 0, - /// Service identity has been created and can be used. + /// Service identity has been created and can be used. Active = 1, } impl IdentityState { @@ -965,7 +965,7 @@ pub mod get_service_identity_response { } } } -/// Metadata for the `GetServiceIdentity` method. +/// Metadata for the `GetServiceIdentity` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceIdentityMetadata { } diff --git a/gcloud-sdk/genproto/google.appengine.legacy.rs b/gcloud-sdk/genproto/google.appengine.legacy.rs index 87bc868c7..ce92e7416 100644 --- a/gcloud-sdk/genproto/google.appengine.legacy.rs +++ b/gcloud-sdk/genproto/google.appengine.legacy.rs @@ -1,12 +1,12 @@ -/// Admin Console legacy audit log. +/// Admin Console legacy audit log. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditData { - /// Text description of the admin event. - /// This is the "Event" column in Admin Console's Admin Logs. + /// Text description of the admin event. + /// This is the "Event" column in Admin Console's Admin Logs. #[prost(string, tag="1")] pub event_message: ::prost::alloc::string::String, - /// Arbitrary event data. - /// This is the "Result" column in Admin Console's Admin Logs. + /// Arbitrary event data. + /// This is the "Result" column in Admin Console's Admin Logs. #[prost(map="string, string", tag="2")] pub event_data: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } diff --git a/gcloud-sdk/genproto/google.appengine.logging.v1.rs b/gcloud-sdk/genproto/google.appengine.logging.v1.rs index fb18b72d2..2e2183801 100644 --- a/gcloud-sdk/genproto/google.appengine.logging.v1.rs +++ b/gcloud-sdk/genproto/google.appengine.logging.v1.rs @@ -1,171 +1,171 @@ -/// Application log line emitted while processing a request. +/// Application log line emitted while processing a request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogLine { - /// Approximate time when this log entry was made. + /// Approximate time when this log entry was made. #[prost(message, optional, tag="1")] pub time: ::core::option::Option<::prost_types::Timestamp>, - /// Severity of this log entry. + /// Severity of this log entry. #[prost(enumeration="super::super::super::logging::r#type::LogSeverity", tag="2")] pub severity: i32, - /// App-provided log message. + /// App-provided log message. #[prost(string, tag="3")] pub log_message: ::prost::alloc::string::String, - /// Where in the source code this log message was written. + /// Where in the source code this log message was written. #[prost(message, optional, tag="4")] pub source_location: ::core::option::Option, } -/// Specifies a location in a source code file. +/// Specifies a location in a source code file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceLocation { - /// Source file name. Depending on the runtime environment, this might be a - /// simple name or a fully-qualified name. + /// Source file name. Depending on the runtime environment, this might be a + /// simple name or a fully-qualified name. #[prost(string, tag="1")] pub file: ::prost::alloc::string::String, - /// Line within the source file. + /// Line within the source file. #[prost(int64, tag="2")] pub line: i64, - /// Human-readable name of the function or method being invoked, with optional - /// context such as the class or package name. This information is used in - /// contexts such as the logs viewer, where a file and line number are less - /// meaningful. The format can vary by language. For example: - /// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` - /// (Python). + /// Human-readable name of the function or method being invoked, with optional + /// context such as the class or package name. This information is used in + /// contexts such as the logs viewer, where a file and line number are less + /// meaningful. The format can vary by language. For example: + /// `qual.if.ied.Class.method` (Java), `dir/package.func` (Go), `function` + /// (Python). #[prost(string, tag="3")] pub function_name: ::prost::alloc::string::String, } -/// A reference to a particular snapshot of the source tree used to build and -/// deploy an application. +/// A reference to a particular snapshot of the source tree used to build and +/// deploy an application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceReference { - /// Optional. A URI string identifying the repository. - /// Example: " + /// Optional. A URI string identifying the repository. + /// Example: " #[prost(string, tag="1")] pub repository: ::prost::alloc::string::String, - /// The canonical and persistent identifier of the deployed revision. - /// Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" + /// The canonical and persistent identifier of the deployed revision. + /// Example (git): "0035781c50ec7aa23385dc841529ce8a4b70db1b" #[prost(string, tag="2")] pub revision_id: ::prost::alloc::string::String, } -/// Complete log information about a single HTTP request to an App Engine -/// application. +/// Complete log information about a single HTTP request to an App Engine +/// application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestLog { - /// Application that handled this request. + /// Application that handled this request. #[prost(string, tag="1")] pub app_id: ::prost::alloc::string::String, - /// Module of the application that handled this request. + /// Module of the application that handled this request. #[prost(string, tag="37")] pub module_id: ::prost::alloc::string::String, - /// Version of the application that handled this request. + /// Version of the application that handled this request. #[prost(string, tag="2")] pub version_id: ::prost::alloc::string::String, - /// Globally unique identifier for a request, which is based on the request - /// start time. Request IDs for requests which started later will compare - /// greater as strings than those for requests which started earlier. + /// Globally unique identifier for a request, which is based on the request + /// start time. Request IDs for requests which started later will compare + /// greater as strings than those for requests which started earlier. #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Origin IP address. + /// Origin IP address. #[prost(string, tag="4")] pub ip: ::prost::alloc::string::String, - /// Time when the request started. + /// Time when the request started. #[prost(message, optional, tag="6")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the request finished. + /// Time when the request finished. #[prost(message, optional, tag="7")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Latency of the request. + /// Latency of the request. #[prost(message, optional, tag="8")] pub latency: ::core::option::Option<::prost_types::Duration>, - /// Number of CPU megacycles used to process request. + /// Number of CPU megacycles used to process request. #[prost(int64, tag="9")] pub mega_cycles: i64, - /// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`. + /// Request method. Example: `"GET"`, `"HEAD"`, `"PUT"`, `"POST"`, `"DELETE"`. #[prost(string, tag="10")] pub method: ::prost::alloc::string::String, - /// Contains the path and query portion of the URL that was requested. For - /// example, if the URL was " the resource - /// would be "/app?name=val". The fragment identifier, which is identified by - /// the `#` character, is not included. + /// Contains the path and query portion of the URL that was requested. For + /// example, if the URL was " the resource + /// would be "/app?name=val". The fragment identifier, which is identified by + /// the `#` character, is not included. #[prost(string, tag="11")] pub resource: ::prost::alloc::string::String, - /// HTTP version of request. Example: `"HTTP/1.1"`. + /// HTTP version of request. Example: `"HTTP/1.1"`. #[prost(string, tag="12")] pub http_version: ::prost::alloc::string::String, - /// HTTP response status code. Example: 200, 404. + /// HTTP response status code. Example: 200, 404. #[prost(int32, tag="13")] pub status: i32, - /// Size in bytes sent back to client by request. + /// Size in bytes sent back to client by request. #[prost(int64, tag="14")] pub response_size: i64, - /// Referrer URL of request. + /// Referrer URL of request. #[prost(string, tag="15")] pub referrer: ::prost::alloc::string::String, - /// User agent that made the request. + /// User agent that made the request. #[prost(string, tag="16")] pub user_agent: ::prost::alloc::string::String, - /// The logged-in user who made the request. + /// The logged-in user who made the request. /// - /// Most likely, this is the part of the user's email before the `@` sign. The - /// field value is the same for different requests from the same user, but - /// different users can have similar names. This information is also - /// available to the application via the App Engine Users API. + /// Most likely, this is the part of the user's email before the `@` sign. The + /// field value is the same for different requests from the same user, but + /// different users can have similar names. This information is also + /// available to the application via the App Engine Users API. /// - /// This field will be populated starting with App Engine 1.9.21. + /// This field will be populated starting with App Engine 1.9.21. #[prost(string, tag="40")] pub nickname: ::prost::alloc::string::String, - /// File or class that handled the request. + /// File or class that handled the request. #[prost(string, tag="17")] pub url_map_entry: ::prost::alloc::string::String, - /// Internet host and port number of the resource being requested. + /// Internet host and port number of the resource being requested. #[prost(string, tag="20")] pub host: ::prost::alloc::string::String, - /// An indication of the relative cost of serving this request. + /// An indication of the relative cost of serving this request. #[prost(double, tag="21")] pub cost: f64, - /// Queue name of the request, in the case of an offline request. + /// Queue name of the request, in the case of an offline request. #[prost(string, tag="22")] pub task_queue_name: ::prost::alloc::string::String, - /// Task name of the request, in the case of an offline request. + /// Task name of the request, in the case of an offline request. #[prost(string, tag="23")] pub task_name: ::prost::alloc::string::String, - /// Whether this was a loading request for the instance. + /// Whether this was a loading request for the instance. #[prost(bool, tag="24")] pub was_loading_request: bool, - /// Time this request spent in the pending request queue. + /// Time this request spent in the pending request queue. #[prost(message, optional, tag="25")] pub pending_time: ::core::option::Option<::prost_types::Duration>, - /// If the instance processing this request belongs to a manually scaled - /// module, then this is the 0-based index of the instance. Otherwise, this - /// value is -1. + /// If the instance processing this request belongs to a manually scaled + /// module, then this is the 0-based index of the instance. Otherwise, this + /// value is -1. #[prost(int32, tag="26")] pub instance_index: i32, - /// Whether this request is finished or active. + /// Whether this request is finished or active. #[prost(bool, tag="27")] pub finished: bool, - /// Whether this is the first `RequestLog` entry for this request. If an - /// active request has several `RequestLog` entries written to Stackdriver - /// Logging, then this field will be set for one of them. + /// Whether this is the first `RequestLog` entry for this request. If an + /// active request has several `RequestLog` entries written to Stackdriver + /// Logging, then this field will be set for one of them. #[prost(bool, tag="42")] pub first: bool, - /// An identifier for the instance that handled the request. + /// An identifier for the instance that handled the request. #[prost(string, tag="28")] pub instance_id: ::prost::alloc::string::String, - /// A list of log lines emitted by the application while serving this request. + /// A list of log lines emitted by the application while serving this request. #[prost(message, repeated, tag="29")] pub line: ::prost::alloc::vec::Vec, - /// App Engine release version. + /// App Engine release version. #[prost(string, tag="38")] pub app_engine_release: ::prost::alloc::string::String, - /// Stackdriver Trace identifier for this request. + /// Stackdriver Trace identifier for this request. #[prost(string, tag="39")] pub trace_id: ::prost::alloc::string::String, - /// If true, the value in the 'trace_id' field was sampled for storage in a - /// trace backend. + /// If true, the value in the 'trace_id' field was sampled for storage in a + /// trace backend. #[prost(bool, tag="43")] pub trace_sampled: bool, - /// Source code for the application that handled this request. There can be - /// more than one source reference per deployed application if source code is - /// distributed among multiple repositories. + /// Source code for the application that handled this request. There can be + /// more than one source reference per deployed application if source code is + /// distributed among multiple repositories. #[prost(message, repeated, tag="41")] pub source_reference: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.appengine.v1.rs b/gcloud-sdk/genproto/google.appengine.v1.rs index 69e0546a8..961cb7561 100644 --- a/gcloud-sdk/genproto/google.appengine.v1.rs +++ b/gcloud-sdk/genproto/google.appengine.v1.rs @@ -1,52 +1,52 @@ -/// [Google Cloud Endpoints]() -/// configuration for API handlers. +/// [Google Cloud Endpoints]() +/// configuration for API handlers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiConfigHandler { - /// Action to take when users access resources that require - /// authentication. Defaults to `redirect`. + /// Action to take when users access resources that require + /// authentication. Defaults to `redirect`. #[prost(enumeration="AuthFailAction", tag="1")] pub auth_fail_action: i32, - /// Level of login required to access this resource. Defaults to - /// `optional`. + /// Level of login required to access this resource. Defaults to + /// `optional`. #[prost(enumeration="LoginRequirement", tag="2")] pub login: i32, - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="3")] pub script: ::prost::alloc::string::String, - /// Security (HTTPS) enforcement for this URL. + /// Security (HTTPS) enforcement for this URL. #[prost(enumeration="SecurityLevel", tag="4")] pub security_level: i32, - /// URL to serve the endpoint at. + /// URL to serve the endpoint at. #[prost(string, tag="5")] pub url: ::prost::alloc::string::String, } -/// Custom static error page to be served when an error occurs. +/// Custom static error page to be served when an error occurs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorHandler { - /// Error condition this handler applies to. + /// Error condition this handler applies to. #[prost(enumeration="error_handler::ErrorCode", tag="1")] pub error_code: i32, - /// Static file content to be served for this error. + /// Static file content to be served for this error. #[prost(string, tag="2")] pub static_file: ::prost::alloc::string::String, - /// MIME type of file. Defaults to `text/html`. + /// MIME type of file. Defaults to `text/html`. #[prost(string, tag="3")] pub mime_type: ::prost::alloc::string::String, } /// Nested message and enum types in `ErrorHandler`. pub mod error_handler { - /// Error codes. + /// Error codes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ErrorCode { - /// Not specified. ERROR_CODE_DEFAULT is assumed. + /// Not specified. ERROR_CODE_DEFAULT is assumed. Unspecified = 0, - /// Application has exceeded a resource quota. + /// Application has exceeded a resource quota. OverQuota = 1, - /// Client blocked by the application's Denial of Service protection - /// configuration. + /// Client blocked by the application's Denial of Service protection + /// configuration. DosApiDenial = 2, - /// Deadline reached before the application responds. + /// Deadline reached before the application responds. Timeout = 3, } impl ErrorCode { @@ -64,51 +64,51 @@ pub mod error_handler { } } } -/// URL pattern and description of how the URL should be handled. App Engine can -/// handle URLs by executing application code or by serving static files -/// uploaded with the version, such as images, CSS, or JavaScript. +/// URL pattern and description of how the URL should be handled. App Engine can +/// handle URLs by executing application code or by serving static files +/// uploaded with the version, such as images, CSS, or JavaScript. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMap { - /// URL prefix. Uses regular expression syntax, which means regexp - /// special characters must be escaped, but should not contain groupings. - /// All URLs that begin with this prefix are handled by this handler, using the - /// portion of the URL after the prefix as part of the file path. + /// URL prefix. Uses regular expression syntax, which means regexp + /// special characters must be escaped, but should not contain groupings. + /// All URLs that begin with this prefix are handled by this handler, using the + /// portion of the URL after the prefix as part of the file path. #[prost(string, tag="1")] pub url_regex: ::prost::alloc::string::String, - /// Security (HTTPS) enforcement for this URL. + /// Security (HTTPS) enforcement for this URL. #[prost(enumeration="SecurityLevel", tag="5")] pub security_level: i32, - /// Level of login required to access this resource. Not supported for Node.js - /// in the App Engine standard environment. + /// Level of login required to access this resource. Not supported for Node.js + /// in the App Engine standard environment. #[prost(enumeration="LoginRequirement", tag="6")] pub login: i32, - /// Action to take when users access resources that require - /// authentication. Defaults to `redirect`. + /// Action to take when users access resources that require + /// authentication. Defaults to `redirect`. #[prost(enumeration="AuthFailAction", tag="7")] pub auth_fail_action: i32, - /// `30x` code to use when performing redirects for the `secure` field. - /// Defaults to `302`. + /// `30x` code to use when performing redirects for the `secure` field. + /// Defaults to `302`. #[prost(enumeration="url_map::RedirectHttpResponseCode", tag="8")] pub redirect_http_response_code: i32, - /// Type of handler for this URL pattern. + /// Type of handler for this URL pattern. #[prost(oneof="url_map::HandlerType", tags="2, 3, 4")] pub handler_type: ::core::option::Option, } /// Nested message and enum types in `UrlMap`. pub mod url_map { - /// Redirect codes. + /// Redirect codes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RedirectHttpResponseCode { - /// Not specified. `302` is assumed. + /// Not specified. `302` is assumed. Unspecified = 0, - /// `301 Moved Permanently` code. + /// `301 Moved Permanently` code. RedirectHttpResponseCode301 = 1, - /// `302 Moved Temporarily` code. + /// `302 Moved Temporarily` code. RedirectHttpResponseCode302 = 2, - /// `303 See Other` code. + /// `303 See Other` code. RedirectHttpResponseCode303 = 3, - /// `307 Temporary Redirect` code. + /// `307 Temporary Redirect` code. RedirectHttpResponseCode307 = 4, } impl RedirectHttpResponseCode { @@ -126,188 +126,188 @@ pub mod url_map { } } } - /// Type of handler for this URL pattern. + /// Type of handler for this URL pattern. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum HandlerType { - /// Returns the contents of a file, such as an image, as the response. + /// Returns the contents of a file, such as an image, as the response. #[prost(message, tag="2")] StaticFiles(super::StaticFilesHandler), - /// Executes a script to handle the requests that match this URL - /// pattern. Only the `auto` value is supported for Node.js in the - /// App Engine standard environment, for example `"script": "auto"`. + /// Executes a script to handle the requests that match this URL + /// pattern. Only the `auto` value is supported for Node.js in the + /// App Engine standard environment, for example `"script": "auto"`. #[prost(message, tag="3")] Script(super::ScriptHandler), - /// Uses API Endpoints to handle requests. + /// Uses API Endpoints to handle requests. #[prost(message, tag="4")] ApiEndpoint(super::ApiEndpointHandler), } } -/// Files served directly to the user for a given URL, such as images, CSS -/// stylesheets, or JavaScript source files. Static file handlers describe which -/// files in the application directory are static files, and which URLs serve -/// them. +/// Files served directly to the user for a given URL, such as images, CSS +/// stylesheets, or JavaScript source files. Static file handlers describe which +/// files in the application directory are static files, and which URLs serve +/// them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticFilesHandler { - /// Path to the static files matched by the URL pattern, from the - /// application root directory. The path can refer to text matched in groupings - /// in the URL pattern. + /// Path to the static files matched by the URL pattern, from the + /// application root directory. The path can refer to text matched in groupings + /// in the URL pattern. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Regular expression that matches the file paths for all files that should be - /// referenced by this handler. + /// Regular expression that matches the file paths for all files that should be + /// referenced by this handler. #[prost(string, tag="2")] pub upload_path_regex: ::prost::alloc::string::String, - /// HTTP headers to use for all responses from these URLs. + /// HTTP headers to use for all responses from these URLs. #[prost(map="string, string", tag="3")] pub http_headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// MIME type used to serve all files served by this handler. + /// MIME type used to serve all files served by this handler. /// - /// Defaults to file-specific MIME types, which are derived from each file's - /// filename extension. + /// Defaults to file-specific MIME types, which are derived from each file's + /// filename extension. #[prost(string, tag="4")] pub mime_type: ::prost::alloc::string::String, - /// Time a static file served by this handler should be cached - /// by web proxies and browsers. + /// Time a static file served by this handler should be cached + /// by web proxies and browsers. #[prost(message, optional, tag="5")] pub expiration: ::core::option::Option<::prost_types::Duration>, - /// Whether this handler should match the request if the file - /// referenced by the handler does not exist. + /// Whether this handler should match the request if the file + /// referenced by the handler does not exist. #[prost(bool, tag="6")] pub require_matching_file: bool, - /// Whether files should also be uploaded as code data. By default, files - /// declared in static file handlers are uploaded as static - /// data and are only served to end users; they cannot be read by the - /// application. If enabled, uploads are charged against both your code and - /// static data storage resource quotas. + /// Whether files should also be uploaded as code data. By default, files + /// declared in static file handlers are uploaded as static + /// data and are only served to end users; they cannot be read by the + /// application. If enabled, uploads are charged against both your code and + /// static data storage resource quotas. #[prost(bool, tag="7")] pub application_readable: bool, } -/// Executes a script to handle the request that matches the URL pattern. +/// Executes a script to handle the request that matches the URL pattern. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScriptHandler { - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="1")] pub script_path: ::prost::alloc::string::String, } -/// Uses Google Cloud Endpoints to handle requests. +/// Uses Google Cloud Endpoints to handle requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiEndpointHandler { - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="1")] pub script_path: ::prost::alloc::string::String, } -/// Health checking configuration for VM instances. Unhealthy instances -/// are killed and replaced with new instances. Only applicable for -/// instances in App Engine flexible environment. +/// Health checking configuration for VM instances. Unhealthy instances +/// are killed and replaced with new instances. Only applicable for +/// instances in App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheck { - /// Whether to explicitly disable health checks for this instance. + /// Whether to explicitly disable health checks for this instance. #[prost(bool, tag="1")] pub disable_health_check: bool, - /// Host header to send when performing an HTTP health check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing an HTTP health check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive successful health checks required before receiving - /// traffic. + /// Number of consecutive successful health checks required before receiving + /// traffic. #[prost(uint32, tag="3")] pub healthy_threshold: u32, - /// Number of consecutive failed health checks required before removing - /// traffic. + /// Number of consecutive failed health checks required before removing + /// traffic. #[prost(uint32, tag="4")] pub unhealthy_threshold: u32, - /// Number of consecutive failed health checks required before an instance is - /// restarted. + /// Number of consecutive failed health checks required before an instance is + /// restarted. #[prost(uint32, tag="5")] pub restart_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="6")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the health check is considered failed. + /// Time before the health check is considered failed. #[prost(message, optional, tag="7")] pub timeout: ::core::option::Option<::prost_types::Duration>, } -/// Readiness checking configuration for VM instances. Unhealthy instances -/// are removed from traffic rotation. +/// Readiness checking configuration for VM instances. Unhealthy instances +/// are removed from traffic rotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadinessCheck { - /// The request path. + /// The request path. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Host header to send when performing a HTTP Readiness check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing a HTTP Readiness check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive failed checks required before removing - /// traffic. + /// Number of consecutive failed checks required before removing + /// traffic. #[prost(uint32, tag="3")] pub failure_threshold: u32, - /// Number of consecutive successful checks required before receiving - /// traffic. + /// Number of consecutive successful checks required before receiving + /// traffic. #[prost(uint32, tag="4")] pub success_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="5")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the check is considered failed. + /// Time before the check is considered failed. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// A maximum time limit on application initialization, measured from moment - /// the application successfully replies to a healthcheck until it is ready to - /// serve traffic. + /// A maximum time limit on application initialization, measured from moment + /// the application successfully replies to a healthcheck until it is ready to + /// serve traffic. #[prost(message, optional, tag="7")] pub app_start_timeout: ::core::option::Option<::prost_types::Duration>, } -/// Health checking configuration for VM instances. Unhealthy instances -/// are killed and replaced with new instances. +/// Health checking configuration for VM instances. Unhealthy instances +/// are killed and replaced with new instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LivenessCheck { - /// The request path. + /// The request path. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Host header to send when performing a HTTP Liveness check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing a HTTP Liveness check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive failed checks required before considering the - /// VM unhealthy. + /// Number of consecutive failed checks required before considering the + /// VM unhealthy. #[prost(uint32, tag="3")] pub failure_threshold: u32, - /// Number of consecutive successful checks required before considering - /// the VM healthy. + /// Number of consecutive successful checks required before considering + /// the VM healthy. #[prost(uint32, tag="4")] pub success_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="5")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the check is considered failed. + /// Time before the check is considered failed. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// The initial delay before starting to execute the checks. + /// The initial delay before starting to execute the checks. #[prost(message, optional, tag="7")] pub initial_delay: ::core::option::Option<::prost_types::Duration>, } -/// Third-party Python runtime library that is required by the application. +/// Third-party Python runtime library that is required by the application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Library { - /// Name of the library. Example: "django". + /// Name of the library. Example: "django". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Version of the library to select, or "latest". + /// Version of the library to select, or "latest". #[prost(string, tag="2")] pub version: ::prost::alloc::string::String, } -/// Actions to take when the user is not logged in. +/// Actions to take when the user is not logged in. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthFailAction { - /// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. + /// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. Unspecified = 0, - /// Redirects user to "accounts.google.com". The user is redirected back to the - /// application URL after signing in or creating an account. + /// Redirects user to "accounts.google.com". The user is redirected back to the + /// application URL after signing in or creating an account. Redirect = 1, - /// Rejects request with a `401` HTTP status code and an error - /// message. + /// Rejects request with a `401` HTTP status code and an error + /// message. Unauthorized = 2, } impl AuthFailAction { @@ -323,22 +323,22 @@ impl AuthFailAction { } } } -/// Methods to restrict access to a URL based on login status. +/// Methods to restrict access to a URL based on login status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LoginRequirement { - /// Not specified. `LOGIN_OPTIONAL` is assumed. + /// Not specified. `LOGIN_OPTIONAL` is assumed. LoginUnspecified = 0, - /// Does not require that the user is signed in. + /// Does not require that the user is signed in. LoginOptional = 1, - /// If the user is not signed in, the `auth_fail_action` is taken. - /// In addition, if the user is not an administrator for the - /// application, they are given an error message regardless of - /// `auth_fail_action`. If the user is an administrator, the handler - /// proceeds. + /// If the user is not signed in, the `auth_fail_action` is taken. + /// In addition, if the user is not an administrator for the + /// application, they are given an error message regardless of + /// `auth_fail_action`. If the user is an administrator, the handler + /// proceeds. LoginAdmin = 2, - /// If the user has signed in, the handler proceeds normally. Otherwise, the - /// auth_fail_action is taken. + /// If the user has signed in, the handler proceeds normally. Otherwise, the + /// auth_fail_action is taken. LoginRequired = 3, } impl LoginRequirement { @@ -355,22 +355,22 @@ impl LoginRequirement { } } } -/// Methods to enforce security (HTTPS) on a URL. +/// Methods to enforce security (HTTPS) on a URL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SecurityLevel { - /// Not specified. + /// Not specified. SecureUnspecified = 0, - /// Requests for a URL that match this handler that use HTTPS are automatically - /// redirected to the HTTP equivalent URL. + /// Requests for a URL that match this handler that use HTTPS are automatically + /// redirected to the HTTP equivalent URL. SecureNever = 1, - /// Both HTTP and HTTPS requests with URLs that match the handler succeed - /// without redirects. The application can examine the request to determine - /// which protocol was used and respond accordingly. + /// Both HTTP and HTTPS requests with URLs that match the handler succeed + /// without redirects. The application can examine the request to determine + /// which protocol was used and respond accordingly. SecureOptional = 2, - /// Requests for a URL that match this handler that do not use HTTPS are - /// automatically redirected to the HTTPS URL with the same path. Query - /// parameters are reserved for the redirect. + /// Requests for a URL that match this handler that do not use HTTPS are + /// automatically redirected to the HTTPS URL with the same path. Query + /// parameters are reserved for the redirect. SecureAlways = 3, } impl SecurityLevel { @@ -387,143 +387,143 @@ impl SecurityLevel { } } } -/// An Application resource contains the top-level configuration of an App -/// Engine application. +/// An Application resource contains the top-level configuration of an App +/// Engine application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Application { - /// Full path to the Application resource in the API. - /// Example: `apps/myapp`. + /// Full path to the Application resource in the API. + /// Example: `apps/myapp`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Identifier of the Application resource. This identifier is equivalent - /// to the project ID of the Google Cloud Platform project where you want to - /// deploy your application. - /// Example: `myapp`. + /// Identifier of the Application resource. This identifier is equivalent + /// to the project ID of the Google Cloud Platform project where you want to + /// deploy your application. + /// Example: `myapp`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// HTTP path dispatch rules for requests to the application that do not - /// explicitly target a service or version. Rules are order-dependent. - /// Up to 20 dispatch rules can be supported. + /// HTTP path dispatch rules for requests to the application that do not + /// explicitly target a service or version. Rules are order-dependent. + /// Up to 20 dispatch rules can be supported. #[prost(message, repeated, tag="3")] pub dispatch_rules: ::prost::alloc::vec::Vec, - /// Google Apps authentication domain that controls which users can access - /// this application. + /// Google Apps authentication domain that controls which users can access + /// this application. /// - /// Defaults to open access for any Google Account. + /// Defaults to open access for any Google Account. #[prost(string, tag="6")] pub auth_domain: ::prost::alloc::string::String, - /// Location from which this application runs. Application instances - /// run out of the data centers in the specified location, which is also where - /// all of the application's end user content is stored. + /// Location from which this application runs. Application instances + /// run out of the data centers in the specified location, which is also where + /// all of the application's end user content is stored. /// - /// Defaults to `us-central`. + /// Defaults to `us-central`. /// - /// View the list of - /// [supported locations](). + /// View the list of + /// [supported locations](). #[prost(string, tag="7")] pub location_id: ::prost::alloc::string::String, - /// Google Cloud Storage bucket that can be used for storing files - /// associated with this application. This bucket is associated with the - /// application and can be used by the gcloud deployment commands. + /// Google Cloud Storage bucket that can be used for storing files + /// associated with this application. This bucket is associated with the + /// application and can be used by the gcloud deployment commands. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="8")] pub code_bucket: ::prost::alloc::string::String, - /// Cookie expiration policy for this application. + /// Cookie expiration policy for this application. #[prost(message, optional, tag="9")] pub default_cookie_expiration: ::core::option::Option<::prost_types::Duration>, - /// Serving status of this application. + /// Serving status of this application. #[prost(enumeration="application::ServingStatus", tag="10")] pub serving_status: i32, - /// Hostname used to reach this application, as resolved by App Engine. + /// Hostname used to reach this application, as resolved by App Engine. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="11")] pub default_hostname: ::prost::alloc::string::String, - /// Google Cloud Storage bucket that can be used by this application to store - /// content. + /// Google Cloud Storage bucket that can be used by this application to store + /// content. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="12")] pub default_bucket: ::prost::alloc::string::String, - /// The service account associated with the application. - /// This is the app-level default identity. If no identity provided during - /// create version, Admin API will fallback to this one. + /// The service account associated with the application. + /// This is the app-level default identity. If no identity provided during + /// create version, Admin API will fallback to this one. #[prost(string, tag="13")] pub service_account: ::prost::alloc::string::String, #[prost(message, optional, tag="14")] pub iap: ::core::option::Option, - /// The Google Container Registry domain used for storing managed build docker - /// images for this application. + /// The Google Container Registry domain used for storing managed build docker + /// images for this application. #[prost(string, tag="16")] pub gcr_domain: ::prost::alloc::string::String, - /// The type of the Cloud Firestore or Cloud Datastore database associated with - /// this application. + /// The type of the Cloud Firestore or Cloud Datastore database associated with + /// this application. #[prost(enumeration="application::DatabaseType", tag="17")] pub database_type: i32, - /// The feature specific settings to be used in the application. + /// The feature specific settings to be used in the application. #[prost(message, optional, tag="18")] pub feature_settings: ::core::option::Option, } /// Nested message and enum types in `Application`. pub mod application { - /// Identity-Aware Proxy + /// Identity-Aware Proxy #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentityAwareProxy { - /// Whether the serving infrastructure will authenticate and - /// authorize all incoming requests. + /// Whether the serving infrastructure will authenticate and + /// authorize all incoming requests. /// - /// If true, the `oauth2_client_id` and `oauth2_client_secret` - /// fields must be non-empty. + /// If true, the `oauth2_client_id` and `oauth2_client_secret` + /// fields must be non-empty. #[prost(bool, tag="1")] pub enabled: bool, - /// OAuth2 client ID to use for the authentication flow. + /// OAuth2 client ID to use for the authentication flow. #[prost(string, tag="2")] pub oauth2_client_id: ::prost::alloc::string::String, - /// OAuth2 client secret to use for the authentication flow. + /// OAuth2 client secret to use for the authentication flow. /// - /// For security reasons, this value cannot be retrieved via the API. - /// Instead, the SHA-256 hash of the value is returned in the - /// `oauth2_client_secret_sha256` field. + /// For security reasons, this value cannot be retrieved via the API. + /// Instead, the SHA-256 hash of the value is returned in the + /// `oauth2_client_secret_sha256` field. /// - /// @InputOnly + /// @InputOnly #[prost(string, tag="3")] pub oauth2_client_secret: ::prost::alloc::string::String, - /// Hex-encoded SHA-256 hash of the client secret. + /// Hex-encoded SHA-256 hash of the client secret. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="4")] pub oauth2_client_secret_sha256: ::prost::alloc::string::String, } - /// The feature specific settings to be used in the application. These define - /// behaviors that are user configurable. + /// The feature specific settings to be used in the application. These define + /// behaviors that are user configurable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSettings { - /// Boolean value indicating if split health checks should be used instead - /// of the legacy health checks. At an app.yaml level, this means defaulting - /// to 'readiness_check' and 'liveness_check' values instead of - /// 'health_check' ones. Once the legacy 'health_check' behavior is - /// deprecated, and this value is always true, this setting can - /// be removed. + /// Boolean value indicating if split health checks should be used instead + /// of the legacy health checks. At an app.yaml level, this means defaulting + /// to 'readiness_check' and 'liveness_check' values instead of + /// 'health_check' ones. Once the legacy 'health_check' behavior is + /// deprecated, and this value is always true, this setting can + /// be removed. #[prost(bool, tag="1")] pub split_health_checks: bool, - /// If true, use [Container-Optimized OS]() - /// base image for VMs, rather than a base Debian image. + /// If true, use [Container-Optimized OS]() + /// base image for VMs, rather than a base Debian image. #[prost(bool, tag="2")] pub use_container_optimized_os: bool, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServingStatus { - /// Serving status is unspecified. + /// Serving status is unspecified. Unspecified = 0, - /// Application is serving. + /// Application is serving. Serving = 1, - /// Application has been disabled by the user. + /// Application has been disabled by the user. UserDisabled = 2, - /// Application has been disabled by the system. + /// Application has been disabled by the system. SystemDisabled = 3, } impl ServingStatus { @@ -543,13 +543,13 @@ pub mod application { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// Database type is unspecified. + /// Database type is unspecified. Unspecified = 0, - /// Cloud Datastore + /// Cloud Datastore CloudDatastore = 1, - /// Cloud Firestore Native + /// Cloud Firestore Native CloudFirestore = 2, - /// Cloud Firestore in Datastore Mode + /// Cloud Firestore in Datastore Mode CloudDatastoreCompatibility = 3, } impl DatabaseType { @@ -567,169 +567,169 @@ pub mod application { } } } -/// Rules to match an HTTP request and dispatch that request to a service. +/// Rules to match an HTTP request and dispatch that request to a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlDispatchRule { - /// Domain name to match against. The wildcard "`*`" is supported if - /// specified before a period: "`*.`". + /// Domain name to match against. The wildcard "`*`" is supported if + /// specified before a period: "`*.`". /// - /// Defaults to matching all domains: "`*`". + /// Defaults to matching all domains: "`*`". #[prost(string, tag="1")] pub domain: ::prost::alloc::string::String, - /// Pathname within the host. Must start with a "`/`". A - /// single "`*`" can be included at the end of the path. + /// Pathname within the host. Must start with a "`/`". A + /// single "`*`" can be included at the end of the path. /// - /// The sum of the lengths of the domain and path may not - /// exceed 100 characters. + /// The sum of the lengths of the domain and path may not + /// exceed 100 characters. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Resource ID of a service in this application that should - /// serve the matched request. The service must already - /// exist. Example: `default`. + /// Resource ID of a service in this application that should + /// serve the matched request. The service must already + /// exist. Example: `default`. #[prost(string, tag="3")] pub service: ::prost::alloc::string::String, } -/// An SSL certificate that a user has been authorized to administer. A user -/// is authorized to administer any certificate that applies to one of their -/// authorized domains. +/// An SSL certificate that a user has been authorized to administer. A user +/// is authorized to administer any certificate that applies to one of their +/// authorized domains. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizedCertificate { - /// Full path to the `AuthorizedCertificate` resource in the API. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Full path to the `AuthorizedCertificate` resource in the API. Example: + /// `apps/myapp/authorizedCertificates/12345`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the certificate. This is a unique value autogenerated - /// on `AuthorizedCertificate` resource creation. Example: `12345`. + /// Relative name of the certificate. This is a unique value autogenerated + /// on `AuthorizedCertificate` resource creation. Example: `12345`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// The user-specified display name of the certificate. This is not - /// guaranteed to be unique. Example: `My Certificate`. + /// The user-specified display name of the certificate. This is not + /// guaranteed to be unique. Example: `My Certificate`. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Topmost applicable domains of this certificate. This certificate - /// applies to these domains and their subdomains. Example: `example.com`. + /// Topmost applicable domains of this certificate. This certificate + /// applies to these domains and their subdomains. Example: `example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, repeated, tag="4")] pub domain_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The time when this certificate expires. To update the renewal time on this - /// certificate, upload an SSL certificate with a different expiration time - /// using \[`AuthorizedCertificates.UpdateAuthorizedCertificate`\](). + /// The time when this certificate expires. To update the renewal time on this + /// certificate, upload an SSL certificate with a different expiration time + /// using \[`AuthorizedCertificates.UpdateAuthorizedCertificate`\](). /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="5")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// The SSL certificate serving the `AuthorizedCertificate` resource. This - /// must be obtained independently from a certificate authority. + /// The SSL certificate serving the `AuthorizedCertificate` resource. This + /// must be obtained independently from a certificate authority. #[prost(message, optional, tag="6")] pub certificate_raw_data: ::core::option::Option, - /// Only applicable if this certificate is managed by App Engine. Managed - /// certificates are tied to the lifecycle of a `DomainMapping` and cannot be - /// updated or deleted via the `AuthorizedCertificates` API. If this - /// certificate is manually administered by the user, this field will be empty. + /// Only applicable if this certificate is managed by App Engine. Managed + /// certificates are tied to the lifecycle of a `DomainMapping` and cannot be + /// updated or deleted via the `AuthorizedCertificates` API. If this + /// certificate is manually administered by the user, this field will be empty. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="7")] pub managed_certificate: ::core::option::Option, - /// The full paths to user visible Domain Mapping resources that have this - /// certificate mapped. Example: `apps/myapp/domainMappings/example.com`. + /// The full paths to user visible Domain Mapping resources that have this + /// certificate mapped. Example: `apps/myapp/domainMappings/example.com`. /// - /// This may not represent the full list of mapped domain mappings if the user - /// does not have `VIEWER` permissions on all of the applications that have - /// this certificate mapped. See `domain_mappings_count` for a complete count. + /// This may not represent the full list of mapped domain mappings if the user + /// does not have `VIEWER` permissions on all of the applications that have + /// this certificate mapped. See `domain_mappings_count` for a complete count. /// - /// Only returned by `GET` or `LIST` requests when specifically requested by - /// the `view=FULL_CERTIFICATE` option. + /// Only returned by `GET` or `LIST` requests when specifically requested by + /// the `view=FULL_CERTIFICATE` option. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, repeated, tag="8")] pub visible_domain_mappings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Aggregate count of the domain mappings with this certificate mapped. This - /// count includes domain mappings on applications for which the user does not - /// have `VIEWER` permissions. + /// Aggregate count of the domain mappings with this certificate mapped. This + /// count includes domain mappings on applications for which the user does not + /// have `VIEWER` permissions. /// - /// Only returned by `GET` or `LIST` requests when specifically requested by - /// the `view=FULL_CERTIFICATE` option. + /// Only returned by `GET` or `LIST` requests when specifically requested by + /// the `view=FULL_CERTIFICATE` option. /// - /// @OutputOnly + /// @OutputOnly #[prost(int32, tag="9")] pub domain_mappings_count: i32, } -/// An SSL certificate obtained from a certificate authority. +/// An SSL certificate obtained from a certificate authority. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CertificateRawData { - /// PEM encoded x.509 public key certificate. This field is set once on - /// certificate creation. Must include the header and footer. Example: - ///
-    ///  -----BEGIN CERTIFICATE-----
-    ///  
-    ///  -----END CERTIFICATE-----
-    ///  
+ /// PEM encoded x.509 public key certificate. This field is set once on + /// certificate creation. Must include the header and footer. Example: + ///
+    /// -----BEGIN CERTIFICATE-----
+    /// 
+    /// -----END CERTIFICATE-----
+    /// 
#[prost(string, tag="1")] pub public_certificate: ::prost::alloc::string::String, - /// Unencrypted PEM encoded RSA private key. This field is set once on - /// certificate creation and then encrypted. The key size must be 2048 - /// bits or fewer. Must include the header and footer. Example: - ///
-    ///  -----BEGIN RSA PRIVATE KEY-----
-    ///  
-    ///  -----END RSA PRIVATE KEY-----
-    ///  
- /// @InputOnly + /// Unencrypted PEM encoded RSA private key. This field is set once on + /// certificate creation and then encrypted. The key size must be 2048 + /// bits or fewer. Must include the header and footer. Example: + ///
+    /// -----BEGIN RSA PRIVATE KEY-----
+    /// 
+    /// -----END RSA PRIVATE KEY-----
+    /// 
+ /// @InputOnly #[prost(string, tag="2")] pub private_key: ::prost::alloc::string::String, } -/// A certificate managed by App Engine. +/// A certificate managed by App Engine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedCertificate { - /// Time at which the certificate was last renewed. The renewal process is - /// fully managed. Certificate renewal will automatically occur before the - /// certificate expires. Renewal errors can be tracked via `ManagementStatus`. + /// Time at which the certificate was last renewed. The renewal process is + /// fully managed. Certificate renewal will automatically occur before the + /// certificate expires. Renewal errors can be tracked via `ManagementStatus`. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="1")] pub last_renewal_time: ::core::option::Option<::prost_types::Timestamp>, - /// Status of certificate management. Refers to the most recent certificate - /// acquisition or renewal attempt. + /// Status of certificate management. Refers to the most recent certificate + /// acquisition or renewal attempt. /// - /// @OutputOnly + /// @OutputOnly #[prost(enumeration="ManagementStatus", tag="2")] pub status: i32, } -/// State of certificate management. Refers to the most recent certificate -/// acquisition or renewal attempt. +/// State of certificate management. Refers to the most recent certificate +/// acquisition or renewal attempt. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagementStatus { Unspecified = 0, - /// Certificate was successfully obtained and inserted into the serving - /// system. + /// Certificate was successfully obtained and inserted into the serving + /// system. Ok = 1, - /// Certificate is under active attempts to acquire or renew. + /// Certificate is under active attempts to acquire or renew. Pending = 2, - /// Most recent renewal failed due to an invalid DNS setup and will be - /// retried. Renewal attempts will continue to fail until the certificate - /// domain's DNS configuration is fixed. The last successfully provisioned - /// certificate may still be serving. + /// Most recent renewal failed due to an invalid DNS setup and will be + /// retried. Renewal attempts will continue to fail until the certificate + /// domain's DNS configuration is fixed. The last successfully provisioned + /// certificate may still be serving. FailedRetryingNotVisible = 4, - /// All renewal attempts have been exhausted, likely due to an invalid DNS - /// setup. + /// All renewal attempts have been exhausted, likely due to an invalid DNS + /// setup. FailedPermanent = 6, - /// Most recent renewal failed due to an explicit CAA record that does not - /// include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will - /// continue to fail until the CAA is reconfigured. The last successfully - /// provisioned certificate may still be serving. + /// Most recent renewal failed due to an explicit CAA record that does not + /// include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will + /// continue to fail until the CAA is reconfigured. The last successfully + /// provisioned certificate may still be serving. FailedRetryingCaaForbidden = 7, - /// Most recent renewal failed due to a CAA retrieval failure. This means that - /// the domain's DNS provider does not properly handle CAA records, failing - /// requests for CAA records when no CAA records are defined. Renewals will - /// continue to fail until the DNS provider is changed or a CAA record is - /// added for the given domain. The last successfully provisioned certificate - /// may still be serving. + /// Most recent renewal failed due to a CAA retrieval failure. This means that + /// the domain's DNS provider does not properly handle CAA records, failing + /// requests for CAA records when no CAA records are defined. Renewals will + /// continue to fail until the DNS provider is changed or a CAA record is + /// added for the given domain. The last successfully provisioned certificate + /// may still be serving. FailedRetryingCaaChecking = 8, } impl ManagementStatus { @@ -749,92 +749,92 @@ impl ManagementStatus { } } } -/// A domain that a user has been authorized to administer. To authorize use -/// of a domain, verify ownership via -/// [Webmaster Central](). +/// A domain that a user has been authorized to administer. To authorize use +/// of a domain, verify ownership via +/// [Webmaster Central](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizedDomain { - /// Full path to the `AuthorizedDomain` resource in the API. Example: - /// `apps/myapp/authorizedDomains/example.com`. + /// Full path to the `AuthorizedDomain` resource in the API. Example: + /// `apps/myapp/authorizedDomains/example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Fully qualified domain name of the domain authorized for use. Example: - /// `example.com`. + /// Fully qualified domain name of the domain authorized for use. Example: + /// `example.com`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, } -/// A domain serving an App Engine application. +/// A domain serving an App Engine application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DomainMapping { - /// Full path to the `DomainMapping` resource in the API. Example: - /// `apps/myapp/domainMapping/example.com`. + /// Full path to the `DomainMapping` resource in the API. Example: + /// `apps/myapp/domainMapping/example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the domain serving the application. Example: - /// `example.com`. + /// Relative name of the domain serving the application. Example: + /// `example.com`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// SSL configuration for this domain. If unconfigured, this domain will not - /// serve with SSL. + /// SSL configuration for this domain. If unconfigured, this domain will not + /// serve with SSL. #[prost(message, optional, tag="3")] pub ssl_settings: ::core::option::Option, - /// The resource records required to configure this domain mapping. These - /// records must be added to the domain's DNS configuration in order to - /// serve the application via this domain mapping. + /// The resource records required to configure this domain mapping. These + /// records must be added to the domain's DNS configuration in order to + /// serve the application via this domain mapping. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, repeated, tag="4")] pub resource_records: ::prost::alloc::vec::Vec, } -/// SSL configuration for a `DomainMapping` resource. +/// SSL configuration for a `DomainMapping` resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslSettings { - /// ID of the `AuthorizedCertificate` resource configuring SSL for the - /// application. Clearing this field will remove SSL support. - /// - /// By default, a managed certificate is automatically created for every - /// domain mapping. To omit SSL support or to configure SSL manually, specify - /// `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must - /// be authorized to administer the `AuthorizedCertificate` resource to - /// manually map it to a `DomainMapping` resource. - /// Example: `12345`. + /// ID of the `AuthorizedCertificate` resource configuring SSL for the + /// application. Clearing this field will remove SSL support. + /// + /// By default, a managed certificate is automatically created for every + /// domain mapping. To omit SSL support or to configure SSL manually, specify + /// `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must + /// be authorized to administer the `AuthorizedCertificate` resource to + /// manually map it to a `DomainMapping` resource. + /// Example: `12345`. #[prost(string, tag="1")] pub certificate_id: ::prost::alloc::string::String, - /// SSL management type for this domain. If `AUTOMATIC`, a managed certificate - /// is automatically provisioned. If `MANUAL`, `certificate_id` must be - /// manually specified in order to configure SSL for this domain. + /// SSL management type for this domain. If `AUTOMATIC`, a managed certificate + /// is automatically provisioned. If `MANUAL`, `certificate_id` must be + /// manually specified in order to configure SSL for this domain. #[prost(enumeration="ssl_settings::SslManagementType", tag="3")] pub ssl_management_type: i32, - /// ID of the managed `AuthorizedCertificate` resource currently being - /// provisioned, if applicable. Until the new managed certificate has been - /// successfully provisioned, the previous SSL state will be preserved. Once - /// the provisioning process completes, the `certificate_id` field will reflect - /// the new managed certificate and this field will be left empty. To remove - /// SSL support while there is still a pending managed certificate, clear the - /// `certificate_id` field with an `UpdateDomainMappingRequest`. - /// - /// @OutputOnly + /// ID of the managed `AuthorizedCertificate` resource currently being + /// provisioned, if applicable. Until the new managed certificate has been + /// successfully provisioned, the previous SSL state will be preserved. Once + /// the provisioning process completes, the `certificate_id` field will reflect + /// the new managed certificate and this field will be left empty. To remove + /// SSL support while there is still a pending managed certificate, clear the + /// `certificate_id` field with an `UpdateDomainMappingRequest`. + /// + /// @OutputOnly #[prost(string, tag="4")] pub pending_managed_certificate_id: ::prost::alloc::string::String, } /// Nested message and enum types in `SslSettings`. pub mod ssl_settings { - /// The SSL management type for this domain. + /// The SSL management type for this domain. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SslManagementType { - /// Defaults to `AUTOMATIC`. + /// Defaults to `AUTOMATIC`. Unspecified = 0, - /// SSL support for this domain is configured automatically. The mapped SSL - /// certificate will be automatically renewed. + /// SSL support for this domain is configured automatically. The mapped SSL + /// certificate will be automatically renewed. Automatic = 1, - /// SSL support for this domain is configured manually by the user. Either - /// the domain has no SSL support or a user-obtained SSL certificate has been - /// explictly mapped to this domain. + /// SSL support for this domain is configured manually by the user. Either + /// the domain has no SSL support or a user-obtained SSL certificate has been + /// explictly mapped to this domain. Manual = 2, } impl SslManagementType { @@ -851,34 +851,34 @@ pub mod ssl_settings { } } } -/// A DNS resource record. +/// A DNS resource record. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceRecord { - /// Relative name of the object affected by this record. Only applicable for - /// `CNAME` records. Example: 'www'. + /// Relative name of the object affected by this record. Only applicable for + /// `CNAME` records. Example: 'www'. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data for this record. Values vary by record type, as defined in RFC 1035 - /// (section 5) and RFC 1034 (section 3.6.1). + /// Data for this record. Values vary by record type, as defined in RFC 1035 + /// (section 5) and RFC 1034 (section 3.6.1). #[prost(string, tag="2")] pub rrdata: ::prost::alloc::string::String, - /// Resource record type. Example: `AAAA`. + /// Resource record type. Example: `AAAA`. #[prost(enumeration="resource_record::RecordType", tag="3")] pub r#type: i32, } /// Nested message and enum types in `ResourceRecord`. pub mod resource_record { - /// A resource record type. + /// A resource record type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecordType { - /// An unknown resource record. + /// An unknown resource record. Unspecified = 0, - /// An A resource record. Data is an IPv4 address. + /// An A resource record. Data is an IPv4 address. A = 1, - /// An AAAA resource record. Data is an IPv6 address. + /// An AAAA resource record. Data is an IPv6 address. Aaaa = 2, - /// A CNAME resource record. Data is a domain name to be aliased. + /// A CNAME resource record. Data is a domain name to be aliased. Cname = 3, } impl RecordType { @@ -896,49 +896,49 @@ pub mod resource_record { } } } -/// A single firewall rule that is evaluated against incoming traffic -/// and provides an action to take on matched requests. +/// A single firewall rule that is evaluated against incoming traffic +/// and provides an action to take on matched requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallRule { - /// A positive integer between [1, Int32.MaxValue-1] that defines the order of - /// rule evaluation. Rules with the lowest priority are evaluated first. + /// A positive integer between [1, Int32.MaxValue-1] that defines the order of + /// rule evaluation. Rules with the lowest priority are evaluated first. /// - /// A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic - /// when no previous rule matches. Only the action of this rule can be modified - /// by the user. + /// A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic + /// when no previous rule matches. Only the action of this rule can be modified + /// by the user. #[prost(int32, tag="1")] pub priority: i32, - /// The action to take on matched requests. + /// The action to take on matched requests. #[prost(enumeration="firewall_rule::Action", tag="2")] pub action: i32, - /// IP address or range, defined using CIDR notation, of requests that this - /// rule applies to. You can use the wildcard character "*" to match all IPs - /// equivalent to "0/0" and "::/0" together. - /// Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` + /// IP address or range, defined using CIDR notation, of requests that this + /// rule applies to. You can use the wildcard character "*" to match all IPs + /// equivalent to "0/0" and "::/0" together. + /// Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` /// or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. /// /// - ///

Truncation will be silently performed on addresses which are not - /// properly truncated. For example, `1.2.3.4/24` is accepted as the same - /// address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted - /// as the same address as `2001:db8::/32`. + ///

Truncation will be silently performed on addresses which are not + /// properly truncated. For example, `1.2.3.4/24` is accepted as the same + /// address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted + /// as the same address as `2001:db8::/32`. #[prost(string, tag="3")] pub source_range: ::prost::alloc::string::String, - /// An optional string description of this rule. - /// This field has a maximum length of 100 characters. + /// An optional string description of this rule. + /// This field has a maximum length of 100 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `FirewallRule`. pub mod firewall_rule { - /// Available actions to take on matching requests. + /// Available actions to take on matching requests. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { UnspecifiedAction = 0, - /// Matching requests are allowed. + /// Matching requests are allowed. Allow = 1, - /// Matching requests are denied. + /// Matching requests are denied. Deny = 2, } impl Action { @@ -955,104 +955,104 @@ pub mod firewall_rule { } } } -/// An Instance resource is the computing unit that App Engine uses to -/// automatically scale an application. +/// An Instance resource is the computing unit that App Engine uses to +/// automatically scale an application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Output only. Full path to the Instance resource in the API. - /// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Output only. Full path to the Instance resource in the API. + /// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Relative name of the instance within the version. - /// Example: `instance-1`. + /// Output only. Relative name of the instance within the version. + /// Example: `instance-1`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. App Engine release this instance is running on. + /// Output only. App Engine release this instance is running on. #[prost(string, tag="3")] pub app_engine_release: ::prost::alloc::string::String, - /// Output only. Availability of the instance. + /// Output only. Availability of the instance. #[prost(enumeration="instance::Availability", tag="4")] pub availability: i32, - /// Output only. Name of the virtual machine where this instance lives. Only applicable - /// for instances in App Engine flexible environment. + /// Output only. Name of the virtual machine where this instance lives. Only applicable + /// for instances in App Engine flexible environment. #[prost(string, tag="5")] pub vm_name: ::prost::alloc::string::String, - /// Output only. Zone where the virtual machine is located. Only applicable for instances - /// in App Engine flexible environment. + /// Output only. Zone where the virtual machine is located. Only applicable for instances + /// in App Engine flexible environment. #[prost(string, tag="6")] pub vm_zone_name: ::prost::alloc::string::String, - /// Output only. Virtual machine ID of this instance. Only applicable for instances in - /// App Engine flexible environment. + /// Output only. Virtual machine ID of this instance. Only applicable for instances in + /// App Engine flexible environment. #[prost(string, tag="7")] pub vm_id: ::prost::alloc::string::String, - /// Output only. Time that this instance was started. + /// Output only. Time that this instance was started. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="8")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Number of requests since this instance was started. + /// Output only. Number of requests since this instance was started. #[prost(int32, tag="9")] pub requests: i32, - /// Output only. Number of errors since this instance was started. + /// Output only. Number of errors since this instance was started. #[prost(int32, tag="10")] pub errors: i32, - /// Output only. Average queries per second (QPS) over the last minute. + /// Output only. Average queries per second (QPS) over the last minute. #[prost(float, tag="11")] pub qps: f32, - /// Output only. Average latency (ms) over the last minute. + /// Output only. Average latency (ms) over the last minute. #[prost(int32, tag="12")] pub average_latency: i32, - /// Output only. Total memory in use (bytes). + /// Output only. Total memory in use (bytes). #[prost(int64, tag="13")] pub memory_usage: i64, - /// Output only. Status of the virtual machine where this instance lives. Only applicable - /// for instances in App Engine flexible environment. + /// Output only. Status of the virtual machine where this instance lives. Only applicable + /// for instances in App Engine flexible environment. #[prost(string, tag="14")] pub vm_status: ::prost::alloc::string::String, - /// Output only. Whether this instance is in debug mode. Only applicable for instances in - /// App Engine flexible environment. + /// Output only. Whether this instance is in debug mode. Only applicable for instances in + /// App Engine flexible environment. #[prost(bool, tag="15")] pub vm_debug_enabled: bool, - /// Output only. The IP address of this instance. Only applicable for instances in App - /// Engine flexible environment. + /// Output only. The IP address of this instance. Only applicable for instances in App + /// Engine flexible environment. #[prost(string, tag="16")] pub vm_ip: ::prost::alloc::string::String, - /// Output only. The liveness health check of this instance. Only applicable for instances - /// in App Engine flexible environment. + /// Output only. The liveness health check of this instance. Only applicable for instances + /// in App Engine flexible environment. #[prost(enumeration="instance::liveness::LivenessState", tag="17")] pub vm_liveness: i32, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Wrapper for LivenessState enum. + /// Wrapper for LivenessState enum. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Liveness { } /// Nested message and enum types in `Liveness`. pub mod liveness { - /// Liveness health check status for Flex instances. + /// Liveness health check status for Flex instances. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LivenessState { - /// There is no liveness health check for the instance. Only applicable for - /// instances in App Engine standard environment. + /// There is no liveness health check for the instance. Only applicable for + /// instances in App Engine standard environment. Unspecified = 0, - /// The health checking system is aware of the instance but its health is - /// not known at the moment. + /// The health checking system is aware of the instance but its health is + /// not known at the moment. Unknown = 1, - /// The instance is reachable i.e. a connection to the application health - /// checking endpoint can be established, and conforms to the requirements - /// defined by the health check. + /// The instance is reachable i.e. a connection to the application health + /// checking endpoint can be established, and conforms to the requirements + /// defined by the health check. Healthy = 2, - /// The instance is reachable, but does not conform to the requirements - /// defined by the health check. + /// The instance is reachable, but does not conform to the requirements + /// defined by the health check. Unhealthy = 3, - /// The instance is being drained. The existing connections to the instance - /// have time to complete, but the new ones are being refused. + /// The instance is being drained. The existing connections to the instance + /// have time to complete, but the new ones are being refused. Draining = 4, - /// The instance is unreachable i.e. a connection to the application health - /// checking endpoint cannot be established, or the server does not respond - /// within the specified timeout. + /// The instance is unreachable i.e. a connection to the application health + /// checking endpoint cannot be established, or the server does not respond + /// within the specified timeout. Timeout = 5, } impl LivenessState { @@ -1072,7 +1072,7 @@ pub mod instance { } } } - /// Availability of the instance. + /// Availability of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Availability { @@ -1094,27 +1094,27 @@ pub mod instance { } } } -/// A NetworkSettings resource is a container for ingress settings for a version -/// or service. +/// A NetworkSettings resource is a container for ingress settings for a version +/// or service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkSettings { - /// The ingress settings for version or service. + /// The ingress settings for version or service. #[prost(enumeration="network_settings::IngressTrafficAllowed", tag="1")] pub ingress_traffic_allowed: i32, } /// Nested message and enum types in `NetworkSettings`. pub mod network_settings { - /// If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. + /// If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IngressTrafficAllowed { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Allow HTTP traffic from public and private sources. + /// Allow HTTP traffic from public and private sources. All = 1, - /// Allow HTTP traffic from only private VPC sources. + /// Allow HTTP traffic from only private VPC sources. InternalOnly = 2, - /// Allow HTTP traffic from private VPC sources and through load balancers. + /// Allow HTTP traffic from private VPC sources and through load balancers. InternalAndLb = 3, } impl IngressTrafficAllowed { @@ -1132,85 +1132,85 @@ pub mod network_settings { } } } -/// A Service resource is a logical component of an application that can share -/// state and communicate in a secure fashion with other services. -/// For example, an application that handles customer requests might -/// include separate services to handle tasks such as backend data -/// analysis or API requests from mobile devices. Each service has a -/// collection of versions that define a specific set of code used to -/// implement the functionality of that service. +/// A Service resource is a logical component of an application that can share +/// state and communicate in a secure fashion with other services. +/// For example, an application that handles customer requests might +/// include separate services to handle tasks such as backend data +/// analysis or API requests from mobile devices. Each service has a +/// collection of versions that define a specific set of code used to +/// implement the functionality of that service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// Full path to the Service resource in the API. - /// Example: `apps/myapp/services/default`. + /// Full path to the Service resource in the API. + /// Example: `apps/myapp/services/default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the service within the application. - /// Example: `default`. + /// Relative name of the service within the application. + /// Example: `default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Mapping that defines fractional HTTP traffic diversion to - /// different versions within the service. + /// Mapping that defines fractional HTTP traffic diversion to + /// different versions within the service. #[prost(message, optional, tag="3")] pub split: ::core::option::Option, - /// A set of labels to apply to this service. Labels are key/value pairs that - /// describe the service and all resources that belong to it (e.g., - /// versions). The labels can be used to search and group resources, and are - /// propagated to the usage and billing reports, enabling fine-grain analysis - /// of costs. An example of using labels is to tag resources belonging to - /// different environments (e.g., "env=prod", "env=qa"). - /// - ///

Label keys and values can be no longer than 63 characters and can only - /// contain lowercase letters, numeric characters, underscores, dashes, and - /// international characters. Label keys must start with a lowercase letter - /// or an international character. Each service can have at most 32 labels. + /// A set of labels to apply to this service. Labels are key/value pairs that + /// describe the service and all resources that belong to it (e.g., + /// versions). The labels can be used to search and group resources, and are + /// propagated to the usage and billing reports, enabling fine-grain analysis + /// of costs. An example of using labels is to tag resources belonging to + /// different environments (e.g., "env=prod", "env=qa"). + /// + ///

Label keys and values can be no longer than 63 characters and can only + /// contain lowercase letters, numeric characters, underscores, dashes, and + /// international characters. Label keys must start with a lowercase letter + /// or an international character. Each service can have at most 32 labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Ingress settings for this service. Will apply to all versions. + /// Ingress settings for this service. Will apply to all versions. #[prost(message, optional, tag="6")] pub network_settings: ::core::option::Option, } -/// Traffic routing configuration for versions within a single service. Traffic -/// splits define how traffic directed to the service is assigned to versions. +/// Traffic routing configuration for versions within a single service. Traffic +/// splits define how traffic directed to the service is assigned to versions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrafficSplit { - /// Mechanism used to determine which version a request is sent to. - /// The traffic selection algorithm will - /// be stable for either type until allocations are changed. + /// Mechanism used to determine which version a request is sent to. + /// The traffic selection algorithm will + /// be stable for either type until allocations are changed. #[prost(enumeration="traffic_split::ShardBy", tag="1")] pub shard_by: i32, - /// Mapping from version IDs within the service to fractional - /// (0.000, 1] allocations of traffic for that version. Each version can - /// be specified only once, but some versions in the service may not - /// have any traffic allocation. Services that have traffic allocated - /// cannot be deleted until either the service is deleted or - /// their traffic allocation is removed. Allocations must sum to 1. - /// Up to two decimal place precision is supported for IP-based splits and - /// up to three decimal places is supported for cookie-based splits. + /// Mapping from version IDs within the service to fractional + /// (0.000, 1] allocations of traffic for that version. Each version can + /// be specified only once, but some versions in the service may not + /// have any traffic allocation. Services that have traffic allocated + /// cannot be deleted until either the service is deleted or + /// their traffic allocation is removed. Allocations must sum to 1. + /// Up to two decimal place precision is supported for IP-based splits and + /// up to three decimal places is supported for cookie-based splits. #[prost(map="string, double", tag="2")] pub allocations: ::std::collections::HashMap<::prost::alloc::string::String, f64>, } /// Nested message and enum types in `TrafficSplit`. pub mod traffic_split { - /// Available sharding mechanisms. + /// Available sharding mechanisms. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ShardBy { - /// Diversion method unspecified. + /// Diversion method unspecified. Unspecified = 0, - /// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie - /// must be set by the application itself or no diversion will occur. + /// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie + /// must be set by the application itself or no diversion will occur. Cookie = 1, - /// Diversion based on applying the modulus operation to a fingerprint - /// of the IP address. + /// Diversion based on applying the modulus operation to a fingerprint + /// of the IP address. Ip = 2, - /// Diversion based on weighted random assignment. An incoming request is - /// randomly routed to a version in the traffic split, with probability - /// proportional to the version's traffic share. + /// Diversion based on weighted random assignment. An incoming request is + /// randomly routed to a version in the traffic split, with probability + /// proportional to the version's traffic share. Random = 3, } impl ShardBy { @@ -1228,361 +1228,361 @@ pub mod traffic_split { } } } -/// Code and application artifacts used to deploy a version to App Engine. +/// Code and application artifacts used to deploy a version to App Engine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Deployment { - /// Manifest of the files stored in Google Cloud Storage that are included - /// as part of this version. All files must be readable using the - /// credentials supplied with this call. + /// Manifest of the files stored in Google Cloud Storage that are included + /// as part of this version. All files must be readable using the + /// credentials supplied with this call. #[prost(map="string, message", tag="1")] pub files: ::std::collections::HashMap<::prost::alloc::string::String, FileInfo>, - /// The Docker image for the container that runs the version. - /// Only applicable for instances running in the App Engine flexible environment. + /// The Docker image for the container that runs the version. + /// Only applicable for instances running in the App Engine flexible environment. #[prost(message, optional, tag="2")] pub container: ::core::option::Option, - /// The zip file for this deployment, if this is a zip deployment. + /// The zip file for this deployment, if this is a zip deployment. #[prost(message, optional, tag="3")] pub zip: ::core::option::Option, - /// Options for any Google Cloud Build builds created as a part of this - /// deployment. + /// Options for any Google Cloud Build builds created as a part of this + /// deployment. /// - /// These options will only be used if a new build is created, such as when - /// deploying to the App Engine flexible environment using files or zip. + /// These options will only be used if a new build is created, such as when + /// deploying to the App Engine flexible environment using files or zip. #[prost(message, optional, tag="6")] pub cloud_build_options: ::core::option::Option, } -/// Single source file that is part of the version to be deployed. Each source -/// file that is deployed must be specified separately. +/// Single source file that is part of the version to be deployed. Each source +/// file that is deployed must be specified separately. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileInfo { - /// URL source to use to fetch this file. Must be a URL to a resource in - /// Google Cloud Storage in the form - /// 'http(s)://storage.googleapis.com/\/\'. + /// URL source to use to fetch this file. Must be a URL to a resource in + /// Google Cloud Storage in the form + /// 'http(s)://storage.googleapis.com/\/\'. #[prost(string, tag="1")] pub source_url: ::prost::alloc::string::String, - /// The SHA1 hash of the file, in hex. + /// The SHA1 hash of the file, in hex. #[prost(string, tag="2")] pub sha1_sum: ::prost::alloc::string::String, - /// The MIME type of the file. + /// The MIME type of the file. /// - /// Defaults to the value from Google Cloud Storage. + /// Defaults to the value from Google Cloud Storage. #[prost(string, tag="3")] pub mime_type: ::prost::alloc::string::String, } -/// Docker image that is used to create a container and start a VM instance for -/// the version that you deploy. Only applicable for instances running in the App -/// Engine flexible environment. +/// Docker image that is used to create a container and start a VM instance for +/// the version that you deploy. Only applicable for instances running in the App +/// Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerInfo { - /// URI to the hosted container image in Google Container Registry. The URI - /// must be fully qualified and include a tag or digest. - /// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" + /// URI to the hosted container image in Google Container Registry. The URI + /// must be fully qualified and include a tag or digest. + /// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" #[prost(string, tag="1")] pub image: ::prost::alloc::string::String, } -/// Options for the build operations performed as a part of the version -/// deployment. Only applicable for App Engine flexible environment when creating -/// a version using source code directly. +/// Options for the build operations performed as a part of the version +/// deployment. Only applicable for App Engine flexible environment when creating +/// a version using source code directly. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudBuildOptions { - /// Path to the yaml file used in deployment, used to determine runtime - /// configuration details. + /// Path to the yaml file used in deployment, used to determine runtime + /// configuration details. /// - /// Required for flexible environment builds. + /// Required for flexible environment builds. /// - /// See - /// for more details. + /// See + /// for more details. #[prost(string, tag="1")] pub app_yaml_path: ::prost::alloc::string::String, - /// The Cloud Build timeout used as part of any dependent builds performed by - /// version creation. Defaults to 10 minutes. + /// The Cloud Build timeout used as part of any dependent builds performed by + /// version creation. Defaults to 10 minutes. #[prost(message, optional, tag="2")] pub cloud_build_timeout: ::core::option::Option<::prost_types::Duration>, } -/// The zip file information for a zip deployment. +/// The zip file information for a zip deployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ZipInfo { - /// URL of the zip file to deploy from. Must be a URL to a resource in - /// Google Cloud Storage in the form - /// 'http(s)://storage.googleapis.com/\/\'. + /// URL of the zip file to deploy from. Must be a URL to a resource in + /// Google Cloud Storage in the form + /// 'http(s)://storage.googleapis.com/\/\'. #[prost(string, tag="3")] pub source_url: ::prost::alloc::string::String, - /// An estimate of the number of files in a zip for a zip deployment. - /// If set, must be greater than or equal to the actual number of files. - /// Used for optimizing performance; if not provided, deployment may be slow. + /// An estimate of the number of files in a zip for a zip deployment. + /// If set, must be greater than or equal to the actual number of files. + /// Used for optimizing performance; if not provided, deployment may be slow. #[prost(int32, tag="4")] pub files_count: i32, } -/// A Version resource is a specific set of source code and configuration files -/// that are deployed into a service. +/// A Version resource is a specific set of source code and configuration files +/// that are deployed into a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Version { - /// Full path to the Version resource in the API. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Full path to the Version resource in the API. Example: + /// `apps/myapp/services/default/versions/v1`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the version within the service. Example: `v1`. - /// Version names can contain only lowercase letters, numbers, or hyphens. - /// Reserved names: "default", "latest", and any name with the prefix "ah-". + /// Relative name of the version within the service. Example: `v1`. + /// Version names can contain only lowercase letters, numbers, or hyphens. + /// Reserved names: "default", "latest", and any name with the prefix "ah-". #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Before an application can receive email or XMPP messages, the application - /// must be configured to enable the service. + /// Before an application can receive email or XMPP messages, the application + /// must be configured to enable the service. #[prost(enumeration="InboundServiceType", repeated, tag="6")] pub inbound_services: ::prost::alloc::vec::Vec, - /// Instance class that is used to run this version. Valid values are: + /// Instance class that is used to run this version. Valid values are: /// - /// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` - /// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` + /// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` + /// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` /// - /// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or - /// BasicScaling. + /// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or + /// BasicScaling. #[prost(string, tag="7")] pub instance_class: ::prost::alloc::string::String, - /// Extra network settings. - /// Only applicable in the App Engine flexible environment. + /// Extra network settings. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="8")] pub network: ::core::option::Option, - /// The Google Compute Engine zones that are supported by this version in the - /// App Engine flexible environment. Deprecated. + /// The Google Compute Engine zones that are supported by this version in the + /// App Engine flexible environment. Deprecated. #[prost(string, repeated, tag="118")] pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Machine resources for this version. - /// Only applicable in the App Engine flexible environment. + /// Machine resources for this version. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="9")] pub resources: ::core::option::Option, - /// Desired runtime. Example: `python27`. + /// Desired runtime. Example: `python27`. #[prost(string, tag="10")] pub runtime: ::prost::alloc::string::String, - /// The channel of the runtime to use. Only available for some - /// runtimes. Defaults to the `default` channel. + /// The channel of the runtime to use. Only available for some + /// runtimes. Defaults to the `default` channel. #[prost(string, tag="117")] pub runtime_channel: ::prost::alloc::string::String, - /// Whether multiple requests can be dispatched to this version at once. + /// Whether multiple requests can be dispatched to this version at once. #[prost(bool, tag="11")] pub threadsafe: bool, - /// Whether to deploy this version in a container on a virtual machine. + /// Whether to deploy this version in a container on a virtual machine. #[prost(bool, tag="12")] pub vm: bool, - /// Allows App Engine second generation runtimes to access the legacy bundled - /// services. + /// Allows App Engine second generation runtimes to access the legacy bundled + /// services. #[prost(bool, tag="128")] pub app_engine_apis: bool, - /// Metadata settings that are supplied to this version to enable - /// beta runtime features. + /// Metadata settings that are supplied to this version to enable + /// beta runtime features. #[prost(map="string, string", tag="13")] pub beta_settings: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// App Engine execution environment for this version. + /// App Engine execution environment for this version. /// - /// Defaults to `standard`. + /// Defaults to `standard`. #[prost(string, tag="14")] pub env: ::prost::alloc::string::String, - /// Current serving status of this version. Only the versions with a - /// `SERVING` status create instances and can be billed. + /// Current serving status of this version. Only the versions with a + /// `SERVING` status create instances and can be billed. /// - /// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`. + /// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`. #[prost(enumeration="ServingStatus", tag="15")] pub serving_status: i32, - /// Email address of the user who created this version. + /// Email address of the user who created this version. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="16")] pub created_by: ::prost::alloc::string::String, - /// Time that this version was created. + /// Time that this version was created. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="17")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Total size in bytes of all the files that are included in this version - /// and currently hosted on the App Engine disk. + /// Total size in bytes of all the files that are included in this version + /// and currently hosted on the App Engine disk. /// - /// @OutputOnly + /// @OutputOnly #[prost(int64, tag="18")] pub disk_usage_bytes: i64, - /// The version of the API in the given runtime environment. Please see the - /// app.yaml reference for valid values at - /// /config/appref> + /// The version of the API in the given runtime environment. Please see the + /// app.yaml reference for valid values at + /// /config/appref> #[prost(string, tag="21")] pub runtime_api_version: ::prost::alloc::string::String, - /// The path or name of the app's main executable. + /// The path or name of the app's main executable. #[prost(string, tag="22")] pub runtime_main_executable_path: ::prost::alloc::string::String, - /// The identity that the deployed version will run as. - /// Admin API will use the App Engine Appspot service account as default if - /// this field is neither provided in app.yaml file nor through CLI flag. + /// The identity that the deployed version will run as. + /// Admin API will use the App Engine Appspot service account as default if + /// this field is neither provided in app.yaml file nor through CLI flag. #[prost(string, tag="127")] pub service_account: ::prost::alloc::string::String, - /// An ordered list of URL-matching patterns that should be applied to incoming - /// requests. The first matching URL handles the request and other request - /// handlers are not attempted. + /// An ordered list of URL-matching patterns that should be applied to incoming + /// requests. The first matching URL handles the request and other request + /// handlers are not attempted. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="100")] pub handlers: ::prost::alloc::vec::Vec, - /// Custom static error pages. Limited to 10KB per page. + /// Custom static error pages. Limited to 10KB per page. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="101")] pub error_handlers: ::prost::alloc::vec::Vec, - /// Configuration for third-party Python runtime libraries that are required - /// by the application. + /// Configuration for third-party Python runtime libraries that are required + /// by the application. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="102")] pub libraries: ::prost::alloc::vec::Vec, - /// Serving configuration for - /// [Google Cloud Endpoints](). + /// Serving configuration for + /// [Google Cloud Endpoints](). /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="103")] pub api_config: ::core::option::Option, - /// Environment variables available to the application. + /// Environment variables available to the application. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(map="string, string", tag="104")] pub env_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Environment variables available to the build environment. + /// Environment variables available to the build environment. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(map="string, string", tag="125")] pub build_env_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Duration that static files should be cached by web proxies and browsers. - /// Only applicable if the corresponding - /// \[StaticFilesHandler\]() - /// does not specify its own expiration time. + /// Duration that static files should be cached by web proxies and browsers. + /// Only applicable if the corresponding + /// \[StaticFilesHandler\]() + /// does not specify its own expiration time. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="105")] pub default_expiration: ::core::option::Option<::prost_types::Duration>, - /// Configures health checking for instances. Unhealthy instances are - /// stopped and replaced with new instances. - /// Only applicable in the App Engine flexible environment. + /// Configures health checking for instances. Unhealthy instances are + /// stopped and replaced with new instances. + /// Only applicable in the App Engine flexible environment. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="106")] pub health_check: ::core::option::Option, - /// Configures readiness health checking for instances. - /// Unhealthy instances are not put into the backend traffic rotation. + /// Configures readiness health checking for instances. + /// Unhealthy instances are not put into the backend traffic rotation. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="112")] pub readiness_check: ::core::option::Option, - /// Configures liveness health checking for instances. - /// Unhealthy instances are stopped and replaced with new instances + /// Configures liveness health checking for instances. + /// Unhealthy instances are stopped and replaced with new instances /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="113")] pub liveness_check: ::core::option::Option, - /// Files that match this pattern will not be built into this version. - /// Only applicable for Go runtimes. + /// Files that match this pattern will not be built into this version. + /// Only applicable for Go runtimes. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(string, tag="107")] pub nobuild_files_regex: ::prost::alloc::string::String, - /// Code and application artifacts that make up this version. + /// Code and application artifacts that make up this version. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="108")] pub deployment: ::core::option::Option, - /// Serving URL for this version. Example: - /// " + /// Serving URL for this version. Example: + /// " /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="109")] pub version_url: ::prost::alloc::string::String, - /// Cloud Endpoints configuration. + /// Cloud Endpoints configuration. /// - /// If endpoints_api_service is set, the Cloud Endpoints Extensible Service - /// Proxy will be provided to serve the API implemented by the app. + /// If endpoints_api_service is set, the Cloud Endpoints Extensible Service + /// Proxy will be provided to serve the API implemented by the app. #[prost(message, optional, tag="110")] pub endpoints_api_service: ::core::option::Option, - /// The entrypoint for the application. + /// The entrypoint for the application. #[prost(message, optional, tag="122")] pub entrypoint: ::core::option::Option, - /// Enables VPC connectivity for standard apps. + /// Enables VPC connectivity for standard apps. #[prost(message, optional, tag="121")] pub vpc_access_connector: ::core::option::Option, - /// Controls how instances are created, scaled, and reaped. + /// Controls how instances are created, scaled, and reaped. /// - /// Defaults to `AutomaticScaling`. + /// Defaults to `AutomaticScaling`. #[prost(oneof="version::Scaling", tags="3, 4, 5")] pub scaling: ::core::option::Option, } /// Nested message and enum types in `Version`. pub mod version { - /// Controls how instances are created, scaled, and reaped. + /// Controls how instances are created, scaled, and reaped. /// - /// Defaults to `AutomaticScaling`. + /// Defaults to `AutomaticScaling`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scaling { - /// Automatic scaling is based on request rate, response latencies, and other - /// application metrics. Instances are dynamically created and destroyed as - /// needed in order to handle traffic. + /// Automatic scaling is based on request rate, response latencies, and other + /// application metrics. Instances are dynamically created and destroyed as + /// needed in order to handle traffic. #[prost(message, tag="3")] AutomaticScaling(super::AutomaticScaling), - /// A service with basic scaling will create an instance when the application - /// receives a request. The instance will be turned down when the app becomes - /// idle. Basic scaling is ideal for work that is intermittent or driven by - /// user activity. + /// A service with basic scaling will create an instance when the application + /// receives a request. The instance will be turned down when the app becomes + /// idle. Basic scaling is ideal for work that is intermittent or driven by + /// user activity. #[prost(message, tag="4")] BasicScaling(super::BasicScaling), - /// A service with manual scaling runs continuously, allowing you to perform - /// complex initialization and rely on the state of its memory over time. - /// Manually scaled versions are sometimes referred to as "backends". + /// A service with manual scaling runs continuously, allowing you to perform + /// complex initialization and rely on the state of its memory over time. + /// Manually scaled versions are sometimes referred to as "backends". #[prost(message, tag="5")] ManualScaling(super::ManualScaling), } } -/// [Cloud Endpoints]() configuration. -/// The Endpoints API Service provides tooling for serving Open API and gRPC -/// endpoints via an NGINX proxy. Only valid for App Engine Flexible environment -/// deployments. +/// [Cloud Endpoints]() configuration. +/// The Endpoints API Service provides tooling for serving Open API and gRPC +/// endpoints via an NGINX proxy. Only valid for App Engine Flexible environment +/// deployments. /// -/// The fields here refer to the name and configuration ID of a "service" -/// resource in the [Service Management API](). +/// The fields here refer to the name and configuration ID of a "service" +/// resource in the [Service Management API](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndpointsApiService { - /// Endpoints service name which is the name of the "service" resource in the - /// Service Management API. For example "myapi.endpoints.myproject.cloud.goog" + /// Endpoints service name which is the name of the "service" resource in the + /// Service Management API. For example "myapi.endpoints.myproject.cloud.goog" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Endpoints service configuration ID as specified by the Service Management - /// API. For example "2016-09-19r1". - /// - /// By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. - /// This means that Endpoints starts up with a particular configuration ID. - /// When a new configuration is rolled out, Endpoints must be given the new - /// configuration ID. The `config_id` field is used to give the configuration - /// ID and is required in this case. - /// - /// Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. - /// When using this, Endpoints fetches the latest configuration and does not - /// need the configuration ID. In this case, `config_id` must be omitted. + /// Endpoints service configuration ID as specified by the Service Management + /// API. For example "2016-09-19r1". + /// + /// By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. + /// This means that Endpoints starts up with a particular configuration ID. + /// When a new configuration is rolled out, Endpoints must be given the new + /// configuration ID. The `config_id` field is used to give the configuration + /// ID and is required in this case. + /// + /// Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. + /// When using this, Endpoints fetches the latest configuration and does not + /// need the configuration ID. In this case, `config_id` must be omitted. #[prost(string, tag="2")] pub config_id: ::prost::alloc::string::String, - /// Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If - /// `MANAGED`, `config_id` must be omitted. + /// Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If + /// `MANAGED`, `config_id` must be omitted. #[prost(enumeration="endpoints_api_service::RolloutStrategy", tag="3")] pub rollout_strategy: i32, - /// Enable or disable trace sampling. By default, this is set to false for - /// enabled. + /// Enable or disable trace sampling. By default, this is set to false for + /// enabled. #[prost(bool, tag="4")] pub disable_trace_sampling: bool, } /// Nested message and enum types in `EndpointsApiService`. pub mod endpoints_api_service { - /// Available rollout strategies. + /// Available rollout strategies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RolloutStrategy { - /// Not specified. Defaults to `FIXED`. + /// Not specified. Defaults to `FIXED`. UnspecifiedRolloutStrategy = 0, - /// Endpoints service configuration ID will be fixed to the configuration ID - /// specified by `config_id`. + /// Endpoints service configuration ID will be fixed to the configuration ID + /// specified by `config_id`. Fixed = 1, - /// Endpoints service configuration ID will be updated with each rollout. + /// Endpoints service configuration ID will be updated with each rollout. Managed = 2, } impl RolloutStrategy { @@ -1599,266 +1599,266 @@ pub mod endpoints_api_service { } } } -/// Automatic scaling is based on request rate, response latencies, and other -/// application metrics. +/// Automatic scaling is based on request rate, response latencies, and other +/// application metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomaticScaling { - /// The time period that the - /// \[Autoscaler\]() - /// should wait before it starts collecting information from a new instance. - /// This prevents the autoscaler from collecting information when the instance - /// is initializing, during which the collected usage would not be reliable. - /// Only applicable in the App Engine flexible environment. + /// The time period that the + /// \[Autoscaler\]() + /// should wait before it starts collecting information from a new instance. + /// This prevents the autoscaler from collecting information when the instance + /// is initializing, during which the collected usage would not be reliable. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="1")] pub cool_down_period: ::core::option::Option<::prost_types::Duration>, - /// Target scaling by CPU usage. + /// Target scaling by CPU usage. #[prost(message, optional, tag="2")] pub cpu_utilization: ::core::option::Option, - /// Number of concurrent requests an automatic scaling instance can accept - /// before the scheduler spawns a new instance. + /// Number of concurrent requests an automatic scaling instance can accept + /// before the scheduler spawns a new instance. /// - /// Defaults to a runtime-specific value. + /// Defaults to a runtime-specific value. #[prost(int32, tag="3")] pub max_concurrent_requests: i32, - /// Maximum number of idle instances that should be maintained for this - /// version. + /// Maximum number of idle instances that should be maintained for this + /// version. #[prost(int32, tag="4")] pub max_idle_instances: i32, - /// Maximum number of instances that should be started to handle requests for - /// this version. + /// Maximum number of instances that should be started to handle requests for + /// this version. #[prost(int32, tag="5")] pub max_total_instances: i32, - /// Maximum amount of time that a request should wait in the pending queue - /// before starting a new instance to handle it. + /// Maximum amount of time that a request should wait in the pending queue + /// before starting a new instance to handle it. #[prost(message, optional, tag="6")] pub max_pending_latency: ::core::option::Option<::prost_types::Duration>, - /// Minimum number of idle instances that should be maintained for - /// this version. Only applicable for the default version of a service. + /// Minimum number of idle instances that should be maintained for + /// this version. Only applicable for the default version of a service. #[prost(int32, tag="7")] pub min_idle_instances: i32, - /// Minimum number of running instances that should be maintained for this - /// version. + /// Minimum number of running instances that should be maintained for this + /// version. #[prost(int32, tag="8")] pub min_total_instances: i32, - /// Minimum amount of time a request should wait in the pending queue before - /// starting a new instance to handle it. + /// Minimum amount of time a request should wait in the pending queue before + /// starting a new instance to handle it. #[prost(message, optional, tag="9")] pub min_pending_latency: ::core::option::Option<::prost_types::Duration>, - /// Target scaling by request utilization. + /// Target scaling by request utilization. #[prost(message, optional, tag="10")] pub request_utilization: ::core::option::Option, - /// Target scaling by disk usage. + /// Target scaling by disk usage. #[prost(message, optional, tag="11")] pub disk_utilization: ::core::option::Option, - /// Target scaling by network usage. + /// Target scaling by network usage. #[prost(message, optional, tag="12")] pub network_utilization: ::core::option::Option, - /// Scheduler settings for standard environment. + /// Scheduler settings for standard environment. #[prost(message, optional, tag="20")] pub standard_scheduler_settings: ::core::option::Option, } -/// A service with basic scaling will create an instance when the application -/// receives a request. The instance will be turned down when the app becomes -/// idle. Basic scaling is ideal for work that is intermittent or driven by -/// user activity. +/// A service with basic scaling will create an instance when the application +/// receives a request. The instance will be turned down when the app becomes +/// idle. Basic scaling is ideal for work that is intermittent or driven by +/// user activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicScaling { - /// Duration of time after the last request that an instance must wait before - /// the instance is shut down. + /// Duration of time after the last request that an instance must wait before + /// the instance is shut down. #[prost(message, optional, tag="1")] pub idle_timeout: ::core::option::Option<::prost_types::Duration>, - /// Maximum number of instances to create for this version. + /// Maximum number of instances to create for this version. #[prost(int32, tag="2")] pub max_instances: i32, } -/// A service with manual scaling runs continuously, allowing you to perform -/// complex initialization and rely on the state of its memory over time. +/// A service with manual scaling runs continuously, allowing you to perform +/// complex initialization and rely on the state of its memory over time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualScaling { - /// Number of instances to assign to the service at the start. This number - /// can later be altered by using the - /// [Modules API]() - /// `set_num_instances()` function. + /// Number of instances to assign to the service at the start. This number + /// can later be altered by using the + /// [Modules API]() + /// `set_num_instances()` function. #[prost(int32, tag="1")] pub instances: i32, } -/// Target scaling by CPU usage. +/// Target scaling by CPU usage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpuUtilization { - /// Period of time over which CPU utilization is calculated. + /// Period of time over which CPU utilization is calculated. #[prost(message, optional, tag="1")] pub aggregation_window_length: ::core::option::Option<::prost_types::Duration>, - /// Target CPU utilization ratio to maintain when scaling. Must be between 0 - /// and 1. + /// Target CPU utilization ratio to maintain when scaling. Must be between 0 + /// and 1. #[prost(double, tag="2")] pub target_utilization: f64, } -/// Target scaling by request utilization. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by request utilization. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestUtilization { - /// Target requests per second. + /// Target requests per second. #[prost(int32, tag="1")] pub target_request_count_per_second: i32, - /// Target number of concurrent requests. + /// Target number of concurrent requests. #[prost(int32, tag="2")] pub target_concurrent_requests: i32, } -/// Target scaling by disk usage. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by disk usage. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskUtilization { - /// Target bytes written per second. + /// Target bytes written per second. #[prost(int32, tag="14")] pub target_write_bytes_per_second: i32, - /// Target ops written per second. + /// Target ops written per second. #[prost(int32, tag="15")] pub target_write_ops_per_second: i32, - /// Target bytes read per second. + /// Target bytes read per second. #[prost(int32, tag="16")] pub target_read_bytes_per_second: i32, - /// Target ops read per seconds. + /// Target ops read per seconds. #[prost(int32, tag="17")] pub target_read_ops_per_second: i32, } -/// Target scaling by network usage. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by network usage. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkUtilization { - /// Target bytes sent per second. + /// Target bytes sent per second. #[prost(int32, tag="1")] pub target_sent_bytes_per_second: i32, - /// Target packets sent per second. + /// Target packets sent per second. #[prost(int32, tag="11")] pub target_sent_packets_per_second: i32, - /// Target bytes received per second. + /// Target bytes received per second. #[prost(int32, tag="12")] pub target_received_bytes_per_second: i32, - /// Target packets received per second. + /// Target packets received per second. #[prost(int32, tag="13")] pub target_received_packets_per_second: i32, } -/// Scheduler settings for standard environment. +/// Scheduler settings for standard environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardSchedulerSettings { - /// Target CPU utilization ratio to maintain when scaling. + /// Target CPU utilization ratio to maintain when scaling. #[prost(double, tag="1")] pub target_cpu_utilization: f64, - /// Target throughput utilization ratio to maintain when scaling + /// Target throughput utilization ratio to maintain when scaling #[prost(double, tag="2")] pub target_throughput_utilization: f64, - /// Minimum number of instances to run for this version. Set to zero to disable - /// `min_instances` configuration. + /// Minimum number of instances to run for this version. Set to zero to disable + /// `min_instances` configuration. #[prost(int32, tag="3")] pub min_instances: i32, - /// Maximum number of instances to run for this version. Set to zero to disable - /// `max_instances` configuration. + /// Maximum number of instances to run for this version. Set to zero to disable + /// `max_instances` configuration. #[prost(int32, tag="4")] pub max_instances: i32, } -/// Extra network settings. -/// Only applicable in the App Engine flexible environment. +/// Extra network settings. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Network { - /// List of ports, or port pairs, to forward from the virtual machine to the - /// application container. - /// Only applicable in the App Engine flexible environment. + /// List of ports, or port pairs, to forward from the virtual machine to the + /// application container. + /// Only applicable in the App Engine flexible environment. #[prost(string, repeated, tag="1")] pub forwarded_ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Tag to apply to the instance during creation. - /// Only applicable in the App Engine flexible environment. + /// Tag to apply to the instance during creation. + /// Only applicable in the App Engine flexible environment. #[prost(string, tag="2")] pub instance_tag: ::prost::alloc::string::String, - /// Google Compute Engine network where the virtual machines are created. - /// Specify the short name, not the resource path. + /// Google Compute Engine network where the virtual machines are created. + /// Specify the short name, not the resource path. /// - /// Defaults to `default`. + /// Defaults to `default`. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Google Cloud Platform sub-network where the virtual machines are created. - /// Specify the short name, not the resource path. - /// - /// If a subnetwork name is specified, a network name will also be required - /// unless it is for the default network. - /// - /// * If the network that the instance is being created in is a Legacy network, - /// then the IP address is allocated from the IPv4Range. - /// * If the network that the instance is being created in is an auto Subnet - /// Mode Network, then only network name should be specified (not the - /// subnetwork_name) and the IP address is created from the IPCidrRange of the - /// subnetwork that exists in that zone for that network. - /// * If the network that the instance is being created in is a custom Subnet - /// Mode Network, then the subnetwork_name must be specified and the - /// IP address is created from the IPCidrRange of the subnetwork. - /// - /// If specified, the subnetwork must exist in the same region as the - /// App Engine flexible environment application. + /// Google Cloud Platform sub-network where the virtual machines are created. + /// Specify the short name, not the resource path. + /// + /// If a subnetwork name is specified, a network name will also be required + /// unless it is for the default network. + /// + /// * If the network that the instance is being created in is a Legacy network, + /// then the IP address is allocated from the IPv4Range. + /// * If the network that the instance is being created in is an auto Subnet + /// Mode Network, then only network name should be specified (not the + /// subnetwork_name) and the IP address is created from the IPCidrRange of the + /// subnetwork that exists in that zone for that network. + /// * If the network that the instance is being created in is a custom Subnet + /// Mode Network, then the subnetwork_name must be specified and the + /// IP address is created from the IPCidrRange of the subnetwork. + /// + /// If specified, the subnetwork must exist in the same region as the + /// App Engine flexible environment application. #[prost(string, tag="4")] pub subnetwork_name: ::prost::alloc::string::String, - /// Enable session affinity. - /// Only applicable in the App Engine flexible environment. + /// Enable session affinity. + /// Only applicable in the App Engine flexible environment. #[prost(bool, tag="5")] pub session_affinity: bool, } -/// Volumes mounted within the app container. -/// Only applicable in the App Engine flexible environment. +/// Volumes mounted within the app container. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Volume { - /// Unique name for the volume. + /// Unique name for the volume. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Underlying volume type, e.g. 'tmpfs'. + /// Underlying volume type, e.g. 'tmpfs'. #[prost(string, tag="2")] pub volume_type: ::prost::alloc::string::String, - /// Volume size in gigabytes. + /// Volume size in gigabytes. #[prost(double, tag="3")] pub size_gb: f64, } -/// Machine resources for a version. +/// Machine resources for a version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resources { - /// Number of CPU cores needed. + /// Number of CPU cores needed. #[prost(double, tag="1")] pub cpu: f64, - /// Disk size (GB) needed. + /// Disk size (GB) needed. #[prost(double, tag="2")] pub disk_gb: f64, - /// Memory (GB) needed. + /// Memory (GB) needed. #[prost(double, tag="3")] pub memory_gb: f64, - /// User specified volumes. + /// User specified volumes. #[prost(message, repeated, tag="4")] pub volumes: ::prost::alloc::vec::Vec, - /// The name of the encryption key that is stored in Google Cloud KMS. - /// Only should be used by Cloud Composer to encrypt the vm disk + /// The name of the encryption key that is stored in Google Cloud KMS. + /// Only should be used by Cloud Composer to encrypt the vm disk #[prost(string, tag="5")] pub kms_key_reference: ::prost::alloc::string::String, } -/// VPC access connector specification. +/// VPC access connector specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcAccessConnector { - /// Full Serverless VPC Access Connector name e.g. - /// /projects/my-project/locations/us-central1/connectors/c1. + /// Full Serverless VPC Access Connector name e.g. + /// /projects/my-project/locations/us-central1/connectors/c1. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The egress setting for the connector, controlling what traffic is diverted - /// through it. + /// The egress setting for the connector, controlling what traffic is diverted + /// through it. #[prost(enumeration="vpc_access_connector::EgressSetting", tag="2")] pub egress_setting: i32, } /// Nested message and enum types in `VpcAccessConnector`. pub mod vpc_access_connector { - /// Available egress settings. + /// Available egress settings. /// - /// This controls what traffic is diverted through the VPC Access Connector - /// resource. By default PRIVATE_IP_RANGES will be used. + /// This controls what traffic is diverted through the VPC Access Connector + /// resource. By default PRIVATE_IP_RANGES will be used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EgressSetting { Unspecified = 0, - /// Force the use of VPC Access for all egress traffic from the function. + /// Force the use of VPC Access for all egress traffic from the function. AllTraffic = 1, - /// Use the VPC Access Connector for private IP space from RFC1918. + /// Use the VPC Access Connector for private IP space from RFC1918. PrivateIpRanges = 2, } impl EgressSetting { @@ -1875,45 +1875,45 @@ pub mod vpc_access_connector { } } } -/// The entrypoint for the application. +/// The entrypoint for the application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entrypoint { - /// The command to run. + /// The command to run. #[prost(oneof="entrypoint::Command", tags="1")] pub command: ::core::option::Option, } /// Nested message and enum types in `Entrypoint`. pub mod entrypoint { - /// The command to run. + /// The command to run. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Command { - /// The format should be a shell command that can be fed to `bash -c`. + /// The format should be a shell command that can be fed to `bash -c`. #[prost(string, tag="1")] Shell(::prost::alloc::string::String), } } -/// Available inbound services. +/// Available inbound services. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InboundServiceType { - /// Not specified. + /// Not specified. InboundServiceUnspecified = 0, - /// Allows an application to receive mail. + /// Allows an application to receive mail. InboundServiceMail = 1, - /// Allows an application to receive email-bound notifications. + /// Allows an application to receive email-bound notifications. InboundServiceMailBounce = 2, - /// Allows an application to receive error stanzas. + /// Allows an application to receive error stanzas. InboundServiceXmppError = 3, - /// Allows an application to receive instant messages. + /// Allows an application to receive instant messages. InboundServiceXmppMessage = 4, - /// Allows an application to receive user subscription POSTs. + /// Allows an application to receive user subscription POSTs. InboundServiceXmppSubscribe = 5, - /// Allows an application to receive a user's chat presence. + /// Allows an application to receive a user's chat presence. InboundServiceXmppPresence = 6, - /// Registers an application for notifications when a client connects or - /// disconnects from a channel. + /// Registers an application for notifications when a client connects or + /// disconnects from a channel. InboundServiceChannelPresence = 7, - /// Enables warmup requests. + /// Enables warmup requests. InboundServiceWarmup = 9, } impl InboundServiceType { @@ -1935,18 +1935,18 @@ impl InboundServiceType { } } } -/// Run states of a version. +/// Run states of a version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Currently serving. Instances are created according to the - /// scaling settings of the version. + /// Currently serving. Instances are created according to the + /// scaling settings of the version. Serving = 1, - /// Disabled. No instances will be created and the scaling - /// settings are ignored until the state of the version changes - /// to `SERVING`. + /// Disabled. No instances will be created and the scaling + /// settings are ignored until the state of the version changes + /// to `SERVING`. Stopped = 2, } impl ServingStatus { @@ -1962,504 +1962,504 @@ impl ServingStatus { } } } -/// Request message for `Applications.GetApplication`. +/// Request message for `Applications.GetApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApplicationRequest { - /// Name of the Application resource to get. Example: `apps/myapp`. + /// Name of the Application resource to get. Example: `apps/myapp`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Applications.CreateApplication`. +/// Request message for `Applications.CreateApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApplicationRequest { - /// Application configuration. + /// Application configuration. #[prost(message, optional, tag="2")] pub application: ::core::option::Option, } -/// Request message for `Applications.UpdateApplication`. +/// Request message for `Applications.UpdateApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApplicationRequest { - /// Name of the Application resource to update. Example: `apps/myapp`. + /// Name of the Application resource to update. Example: `apps/myapp`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An Application containing the updated resource. + /// An Application containing the updated resource. #[prost(message, optional, tag="2")] pub application: ::core::option::Option, - /// Required. Standard field mask for the set of fields to be updated. + /// Required. Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for 'Applications.RepairApplication'. +/// Request message for 'Applications.RepairApplication'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RepairApplicationRequest { - /// Name of the application to repair. Example: `apps/myapp` + /// Name of the application to repair. Example: `apps/myapp` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Services.ListServices`. +/// Request message for `Services.ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Services.ListServices`. +/// Response message for `Services.ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// The services belonging to the requested application. + /// The services belonging to the requested application. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Services.GetService`. +/// Request message for `Services.GetService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRequest { - /// Name of the resource requested. Example: `apps/myapp/services/default`. + /// Name of the resource requested. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Services.UpdateService`. +/// Request message for `Services.UpdateService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateServiceRequest { - /// Name of the resource to update. Example: `apps/myapp/services/default`. + /// Name of the resource to update. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A Service resource containing the updated service. Only fields set in the - /// field mask will be updated. + /// A Service resource containing the updated service. Only fields set in the + /// field mask will be updated. #[prost(message, optional, tag="2")] pub service: ::core::option::Option, - /// Required. Standard field mask for the set of fields to be updated. + /// Required. Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Set to `true` to gradually shift traffic to one or more versions that you - /// specify. By default, traffic is shifted immediately. - /// For gradual traffic migration, the target versions - /// must be located within instances that are configured for both - /// [warmup requests]() - /// and - /// [automatic scaling](). - /// You must specify the - /// \[`shardBy`\]() - /// field in the Service resource. Gradual traffic migration is not - /// supported in the App Engine flexible environment. For examples, see - /// [Migrating and Splitting Traffic](). + /// Set to `true` to gradually shift traffic to one or more versions that you + /// specify. By default, traffic is shifted immediately. + /// For gradual traffic migration, the target versions + /// must be located within instances that are configured for both + /// [warmup requests]() + /// and + /// [automatic scaling](). + /// You must specify the + /// \[`shardBy`\]() + /// field in the Service resource. Gradual traffic migration is not + /// supported in the App Engine flexible environment. For examples, see + /// [Migrating and Splitting Traffic](). #[prost(bool, tag="4")] pub migrate_traffic: bool, } -/// Request message for `Services.DeleteService`. +/// Request message for `Services.DeleteService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteServiceRequest { - /// Name of the resource requested. Example: `apps/myapp/services/default`. + /// Name of the resource requested. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Versions.ListVersions`. +/// Request message for `Versions.ListVersions`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsRequest { - /// Name of the parent Service resource. Example: - /// `apps/myapp/services/default`. + /// Name of the parent Service resource. Example: + /// `apps/myapp/services/default`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `List` response. + /// Controls the set of fields returned in the `List` response. #[prost(enumeration="VersionView", tag="2")] pub view: i32, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="3")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Versions.ListVersions`. +/// Response message for `Versions.ListVersions`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsResponse { - /// The versions belonging to the requested service. + /// The versions belonging to the requested service. #[prost(message, repeated, tag="1")] pub versions: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Versions.GetVersion`. +/// Request message for `Versions.GetVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVersionRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `Get` response. + /// Controls the set of fields returned in the `Get` response. #[prost(enumeration="VersionView", tag="2")] pub view: i32, } -/// Request message for `Versions.CreateVersion`. +/// Request message for `Versions.CreateVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionRequest { - /// Name of the parent resource to create this version under. Example: - /// `apps/myapp/services/default`. + /// Name of the parent resource to create this version under. Example: + /// `apps/myapp/services/default`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Application deployment configuration. + /// Application deployment configuration. #[prost(message, optional, tag="2")] pub version: ::core::option::Option, } -/// Request message for `Versions.UpdateVersion`. +/// Request message for `Versions.UpdateVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateVersionRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/services/default/versions/1`. + /// Name of the resource to update. Example: + /// `apps/myapp/services/default/versions/1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A Version containing the updated resource. Only fields set in the field - /// mask will be updated. + /// A Version containing the updated resource. Only fields set in the field + /// mask will be updated. #[prost(message, optional, tag="2")] pub version: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `Versions.DeleteVersion`. +/// Request message for `Versions.DeleteVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteVersionRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.ListInstances`. +/// Request message for `Instances.ListInstances`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Name of the parent Version resource. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the parent Version resource. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Instances.ListInstances`. +/// Response message for `Instances.ListInstances`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// The instances belonging to the requested version. + /// The instances belonging to the requested version. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Instances.GetInstance`. +/// Request message for `Instances.GetInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.DeleteInstance`. +/// Request message for `Instances.DeleteInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.DebugInstance`. +/// Request message for `Instances.DebugInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DebugInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Public SSH key to add to the instance. Examples: + /// Public SSH key to add to the instance. Examples: /// - /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] \[USERNAME\]` - /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] google-ssh {"userName":"\[USERNAME]","expireOn":"[EXPIRE_TIME\]"}` + /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] \[USERNAME\]` + /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] google-ssh {"userName":"\[USERNAME]","expireOn":"[EXPIRE_TIME\]"}` /// - /// For more information, see - /// [Adding and Removing SSH Keys](). + /// For more information, see + /// [Adding and Removing SSH Keys](). #[prost(string, tag="2")] pub ssh_key: ::prost::alloc::string::String, } -/// Request message for `Firewall.ListIngressRules`. +/// Request message for `Firewall.ListIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIngressRulesRequest { - /// Name of the Firewall collection to retrieve. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the Firewall collection to retrieve. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A valid IP Address. If set, only rules matching this address will be - /// returned. The first returned rule will be the rule that fires on requests - /// from this IP. + /// A valid IP Address. If set, only rules matching this address will be + /// returned. The first returned rule will be the rule that fires on requests + /// from this IP. #[prost(string, tag="4")] pub matching_address: ::prost::alloc::string::String, } -/// Response message for `Firewall.ListIngressRules`. +/// Response message for `Firewall.ListIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIngressRulesResponse { - /// The ingress FirewallRules for this application. + /// The ingress FirewallRules for this application. #[prost(message, repeated, tag="1")] pub ingress_rules: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Firewall.BatchUpdateIngressRules`. +/// Request message for `Firewall.BatchUpdateIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateIngressRulesRequest { - /// Name of the Firewall collection to set. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the Firewall collection to set. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A list of FirewallRules to replace the existing set. + /// A list of FirewallRules to replace the existing set. #[prost(message, repeated, tag="2")] pub ingress_rules: ::prost::alloc::vec::Vec, } -/// Response message for `Firewall.UpdateAllIngressRules`. +/// Response message for `Firewall.UpdateAllIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateIngressRulesResponse { - /// The full list of ingress FirewallRules for this application. + /// The full list of ingress FirewallRules for this application. #[prost(message, repeated, tag="1")] pub ingress_rules: ::prost::alloc::vec::Vec, } -/// Request message for `Firewall.CreateIngressRule`. +/// Request message for `Firewall.CreateIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIngressRuleRequest { - /// Name of the parent Firewall collection in which to create a new rule. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the parent Firewall collection in which to create a new rule. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A FirewallRule containing the new resource. + /// A FirewallRule containing the new resource. /// - /// The user may optionally provide a position at which the new rule will be - /// placed. The positions define a sequential list starting at 1. If a rule - /// already exists at the given position, rules greater than the provided - /// position will be moved forward by one. + /// The user may optionally provide a position at which the new rule will be + /// placed. The positions define a sequential list starting at 1. If a rule + /// already exists at the given position, rules greater than the provided + /// position will be moved forward by one. /// - /// If no position is provided, the server will place the rule as the second to - /// last rule in the sequence before the required default allow-all or deny-all - /// rule. + /// If no position is provided, the server will place the rule as the second to + /// last rule in the sequence before the required default allow-all or deny-all + /// rule. #[prost(message, optional, tag="2")] pub rule: ::core::option::Option, } -/// Request message for `Firewall.GetIngressRule`. +/// Request message for `Firewall.GetIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIngressRuleRequest { - /// Name of the Firewall resource to retrieve. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to retrieve. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Firewall.UpdateIngressRule`. +/// Request message for `Firewall.UpdateIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIngressRuleRequest { - /// Name of the Firewall resource to update. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to update. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A FirewallRule containing the updated resource + /// A FirewallRule containing the updated resource #[prost(message, optional, tag="2")] pub rule: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `Firewall.DeleteIngressRule`. +/// Request message for `Firewall.DeleteIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIngressRuleRequest { - /// Name of the Firewall resource to delete. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to delete. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `AuthorizedDomains.ListAuthorizedDomains`. +/// Request message for `AuthorizedDomains.ListAuthorizedDomains`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedDomainsRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `AuthorizedDomains.ListAuthorizedDomains`. +/// Response message for `AuthorizedDomains.ListAuthorizedDomains`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedDomainsResponse { - /// The authorized domains belonging to the user. + /// The authorized domains belonging to the user. #[prost(message, repeated, tag="1")] pub domains: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. +/// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedCertificatesRequest { - /// Name of the parent `Application` resource. Example: `apps/myapp`. + /// Name of the parent `Application` resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `LIST` response. + /// Controls the set of fields returned in the `LIST` response. #[prost(enumeration="AuthorizedCertificateView", tag="4")] pub view: i32, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. +/// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedCertificatesResponse { - /// The SSL certificates the user is authorized to administer. + /// The SSL certificates the user is authorized to administer. #[prost(message, repeated, tag="1")] pub certificates: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `AuthorizedCertificates.GetAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.GetAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAuthorizedCertificateRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource requested. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `GET` response. + /// Controls the set of fields returned in the `GET` response. #[prost(enumeration="AuthorizedCertificateView", tag="2")] pub view: i32, } -/// Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAuthorizedCertificateRequest { - /// Name of the parent `Application` resource. Example: `apps/myapp`. + /// Name of the parent `Application` resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// SSL certificate data. + /// SSL certificate data. #[prost(message, optional, tag="2")] pub certificate: ::core::option::Option, } -/// Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAuthorizedCertificateRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource to update. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An `AuthorizedCertificate` containing the updated resource. Only fields set - /// in the field mask will be updated. + /// An `AuthorizedCertificate` containing the updated resource. Only fields set + /// in the field mask will be updated. #[prost(message, optional, tag="2")] pub certificate: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. Updates are only - /// supported on the `certificate_raw_data` and `display_name` fields. + /// Standard field mask for the set of fields to be updated. Updates are only + /// supported on the `certificate_raw_data` and `display_name` fields. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAuthorizedCertificateRequest { - /// Name of the resource to delete. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource to delete. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.ListDomainMappings`. +/// Request message for `DomainMappings.ListDomainMappings`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDomainMappingsRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `DomainMappings.ListDomainMappings`. +/// Response message for `DomainMappings.ListDomainMappings`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDomainMappingsResponse { - /// The domain mappings for the application. + /// The domain mappings for the application. #[prost(message, repeated, tag="1")] pub domain_mappings: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.GetDomainMapping`. +/// Request message for `DomainMappings.GetDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDomainMappingRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource requested. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.CreateDomainMapping`. +/// Request message for `DomainMappings.CreateDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDomainMappingRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Domain mapping configuration. + /// Domain mapping configuration. #[prost(message, optional, tag="2")] pub domain_mapping: ::core::option::Option, - /// Whether the domain creation should override any existing mappings for this - /// domain. By default, overrides are rejected. + /// Whether the domain creation should override any existing mappings for this + /// domain. By default, overrides are rejected. #[prost(enumeration="DomainOverrideStrategy", tag="4")] pub override_strategy: i32, } -/// Request message for `DomainMappings.UpdateDomainMapping`. +/// Request message for `DomainMappings.UpdateDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDomainMappingRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource to update. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A domain mapping containing the updated resource. Only fields set - /// in the field mask will be updated. + /// A domain mapping containing the updated resource. Only fields set + /// in the field mask will be updated. #[prost(message, optional, tag="2")] pub domain_mapping: ::core::option::Option, - /// Required. Standard field mask for the set of fields to be updated. + /// Required. Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `DomainMappings.DeleteDomainMapping`. +/// Request message for `DomainMappings.DeleteDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDomainMappingRequest { - /// Name of the resource to delete. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource to delete. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Fields that should be returned when \[Version][google.appengine.v1.Version\] resources -/// are retrieved. +/// Fields that should be returned when \[Version][google.appengine.v1.Version\] resources +/// are retrieved. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VersionView { - /// Basic version information including scaling and inbound services, - /// but not detailed deployment information. + /// Basic version information including scaling and inbound services, + /// but not detailed deployment information. Basic = 0, - /// The information from `BASIC`, plus detailed information about the - /// deployment. This format is required when creating resources, but - /// is not returned in `Get` or `List` by default. + /// The information from `BASIC`, plus detailed information about the + /// deployment. This format is required when creating resources, but + /// is not returned in `Get` or `List` by default. Full = 1, } impl VersionView { @@ -2474,16 +2474,16 @@ impl VersionView { } } } -/// Fields that should be returned when an AuthorizedCertificate resource is -/// retrieved. +/// Fields that should be returned when an AuthorizedCertificate resource is +/// retrieved. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizedCertificateView { - /// Basic certificate information, including applicable domains and expiration - /// date. + /// Basic certificate information, including applicable domains and expiration + /// date. BasicCertificate = 0, - /// The information from `BASIC_CERTIFICATE`, plus detailed information on the - /// domain mappings that have this certificate mapped. + /// The information from `BASIC_CERTIFICATE`, plus detailed information on the + /// domain mappings that have this certificate mapped. FullCertificate = 1, } impl AuthorizedCertificateView { @@ -2498,20 +2498,20 @@ impl AuthorizedCertificateView { } } } -/// Override strategy for mutating an existing mapping. +/// Override strategy for mutating an existing mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DomainOverrideStrategy { - /// Strategy unspecified. Defaults to `STRICT`. + /// Strategy unspecified. Defaults to `STRICT`. UnspecifiedDomainOverrideStrategy = 0, - /// Overrides not allowed. If a mapping already exists for the - /// specified domain, the request will return an ALREADY_EXISTS (409). + /// Overrides not allowed. If a mapping already exists for the + /// specified domain, the request will return an ALREADY_EXISTS (409). Strict = 1, - /// Overrides allowed. If a mapping already exists for the specified domain, - /// the request will overwrite it. Note that this might stop another - /// Google product from serving. For example, if the domain is - /// mapped to another App Engine application, that app will no - /// longer serve from that domain. + /// Overrides allowed. If a mapping already exists for the specified domain, + /// the request will overwrite it. Note that this might stop another + /// Google product from serving. For example, if the domain is + /// mapped to another App Engine application, that app will no + /// longer serve from that domain. Override = 2, } impl DomainOverrideStrategy { @@ -3938,123 +3938,123 @@ pub mod domain_mappings_client { } } } -/// App Engine admin service audit log. +/// App Engine admin service audit log. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditData { - /// Detailed information about methods that require it. Does not include - /// simple Get, List or Delete methods because all significant information - /// (resource name, number of returned elements for List operations) is already - /// included in parent audit log message. + /// Detailed information about methods that require it. Does not include + /// simple Get, List or Delete methods because all significant information + /// (resource name, number of returned elements for List operations) is already + /// included in parent audit log message. #[prost(oneof="audit_data::Method", tags="1, 2")] pub method: ::core::option::Option, } /// Nested message and enum types in `AuditData`. pub mod audit_data { - /// Detailed information about methods that require it. Does not include - /// simple Get, List or Delete methods because all significant information - /// (resource name, number of returned elements for List operations) is already - /// included in parent audit log message. + /// Detailed information about methods that require it. Does not include + /// simple Get, List or Delete methods because all significant information + /// (resource name, number of returned elements for List operations) is already + /// included in parent audit log message. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Method { - /// Detailed information about UpdateService call. + /// Detailed information about UpdateService call. #[prost(message, tag="1")] UpdateService(super::UpdateServiceMethod), - /// Detailed information about CreateVersion call. + /// Detailed information about CreateVersion call. #[prost(message, tag="2")] CreateVersion(super::CreateVersionMethod), } } -/// Detailed information about UpdateService call. +/// Detailed information about UpdateService call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateServiceMethod { - /// Update service request. + /// Update service request. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, } -/// Detailed information about CreateVersion call. +/// Detailed information about CreateVersion call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionMethod { - /// Create version request. + /// Create version request. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, } -/// Metadata for the given \[google.cloud.location.Location][google.cloud.location.Location\]. +/// Metadata for the given \[google.cloud.location.Location][google.cloud.location.Location\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationMetadata { - /// App Engine standard environment is available in the given location. + /// App Engine standard environment is available in the given location. /// - /// @OutputOnly + /// @OutputOnly #[prost(bool, tag="2")] pub standard_environment_available: bool, - /// App Engine flexible environment is available in the given location. + /// App Engine flexible environment is available in the given location. /// - /// @OutputOnly + /// @OutputOnly #[prost(bool, tag="4")] pub flexible_environment_available: bool, - /// Output only. [Search API]() - /// is available in the given location. + /// Output only. [Search API]() + /// is available in the given location. #[prost(bool, tag="6")] pub search_api_available: bool, } -/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\]. +/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadataV1 { - /// API method that initiated this operation. Example: - /// `google.appengine.v1.Versions.CreateVersion`. + /// API method that initiated this operation. Example: + /// `google.appengine.v1.Versions.CreateVersion`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub method: ::prost::alloc::string::String, - /// Time that this operation was created. + /// Time that this operation was created. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="2")] pub insert_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time that this operation completed. + /// Time that this operation completed. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// User who requested this operation. + /// User who requested this operation. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="4")] pub user: ::prost::alloc::string::String, - /// Name of the resource that this operation is acting on. Example: - /// `apps/myapp/services/default`. + /// Name of the resource that this operation is acting on. Example: + /// `apps/myapp/services/default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="5")] pub target: ::prost::alloc::string::String, - /// Ephemeral message that may change every time the operation is polled. - /// @OutputOnly + /// Ephemeral message that may change every time the operation is polled. + /// @OutputOnly #[prost(string, tag="6")] pub ephemeral_message: ::prost::alloc::string::String, - /// Durable messages that persist on every operation poll. - /// @OutputOnly + /// Durable messages that persist on every operation poll. + /// @OutputOnly #[prost(string, repeated, tag="7")] pub warning: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Metadata specific to the type of operation in progress. - /// @OutputOnly + /// Metadata specific to the type of operation in progress. + /// @OutputOnly #[prost(oneof="operation_metadata_v1::MethodMetadata", tags="8")] pub method_metadata: ::core::option::Option, } /// Nested message and enum types in `OperationMetadataV1`. pub mod operation_metadata_v1 { - /// Metadata specific to the type of operation in progress. - /// @OutputOnly + /// Metadata specific to the type of operation in progress. + /// @OutputOnly #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MethodMetadata { #[prost(message, tag="8")] CreateVersionMetadata(super::CreateVersionMetadataV1), } } -/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\] during a -/// \[google.appengine.v1.CreateVersionRequest][google.appengine.v1.CreateVersionRequest\]. +/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\] during a +/// \[google.appengine.v1.CreateVersionRequest][google.appengine.v1.CreateVersionRequest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionMetadataV1 { - /// The Cloud Build ID if one was created as part of the version create. - /// @OutputOnly + /// The Cloud Build ID if one was created as part of the version create. + /// @OutputOnly #[prost(string, tag="1")] pub cloud_build_id: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.appengine.v1beta.rs b/gcloud-sdk/genproto/google.appengine.v1beta.rs index ab8667610..48d691a07 100644 --- a/gcloud-sdk/genproto/google.appengine.v1beta.rs +++ b/gcloud-sdk/genproto/google.appengine.v1beta.rs @@ -1,52 +1,52 @@ -/// [Google Cloud Endpoints]() -/// configuration for API handlers. +/// [Google Cloud Endpoints]() +/// configuration for API handlers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiConfigHandler { - /// Action to take when users access resources that require - /// authentication. Defaults to `redirect`. + /// Action to take when users access resources that require + /// authentication. Defaults to `redirect`. #[prost(enumeration="AuthFailAction", tag="1")] pub auth_fail_action: i32, - /// Level of login required to access this resource. Defaults to - /// `optional`. + /// Level of login required to access this resource. Defaults to + /// `optional`. #[prost(enumeration="LoginRequirement", tag="2")] pub login: i32, - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="3")] pub script: ::prost::alloc::string::String, - /// Security (HTTPS) enforcement for this URL. + /// Security (HTTPS) enforcement for this URL. #[prost(enumeration="SecurityLevel", tag="4")] pub security_level: i32, - /// URL to serve the endpoint at. + /// URL to serve the endpoint at. #[prost(string, tag="5")] pub url: ::prost::alloc::string::String, } -/// Custom static error page to be served when an error occurs. +/// Custom static error page to be served when an error occurs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorHandler { - /// Error condition this handler applies to. + /// Error condition this handler applies to. #[prost(enumeration="error_handler::ErrorCode", tag="1")] pub error_code: i32, - /// Static file content to be served for this error. + /// Static file content to be served for this error. #[prost(string, tag="2")] pub static_file: ::prost::alloc::string::String, - /// MIME type of file. Defaults to `text/html`. + /// MIME type of file. Defaults to `text/html`. #[prost(string, tag="3")] pub mime_type: ::prost::alloc::string::String, } /// Nested message and enum types in `ErrorHandler`. pub mod error_handler { - /// Error codes. + /// Error codes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ErrorCode { - /// Not specified. ERROR_CODE_DEFAULT is assumed. + /// Not specified. ERROR_CODE_DEFAULT is assumed. Unspecified = 0, - /// Application has exceeded a resource quota. + /// Application has exceeded a resource quota. OverQuota = 1, - /// Client blocked by the application's Denial of Service protection - /// configuration. + /// Client blocked by the application's Denial of Service protection + /// configuration. DosApiDenial = 2, - /// Deadline reached before the application responds. + /// Deadline reached before the application responds. Timeout = 3, } impl ErrorCode { @@ -64,51 +64,51 @@ pub mod error_handler { } } } -/// URL pattern and description of how the URL should be handled. App Engine can -/// handle URLs by executing application code or by serving static files -/// uploaded with the version, such as images, CSS, or JavaScript. +/// URL pattern and description of how the URL should be handled. App Engine can +/// handle URLs by executing application code or by serving static files +/// uploaded with the version, such as images, CSS, or JavaScript. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMap { - /// URL prefix. Uses regular expression syntax, which means regexp - /// special characters must be escaped, but should not contain groupings. - /// All URLs that begin with this prefix are handled by this handler, using the - /// portion of the URL after the prefix as part of the file path. + /// URL prefix. Uses regular expression syntax, which means regexp + /// special characters must be escaped, but should not contain groupings. + /// All URLs that begin with this prefix are handled by this handler, using the + /// portion of the URL after the prefix as part of the file path. #[prost(string, tag="1")] pub url_regex: ::prost::alloc::string::String, - /// Security (HTTPS) enforcement for this URL. + /// Security (HTTPS) enforcement for this URL. #[prost(enumeration="SecurityLevel", tag="5")] pub security_level: i32, - /// Level of login required to access this resource. Not supported for Node.js - /// in the App Engine standard environment. + /// Level of login required to access this resource. Not supported for Node.js + /// in the App Engine standard environment. #[prost(enumeration="LoginRequirement", tag="6")] pub login: i32, - /// Action to take when users access resources that require - /// authentication. Defaults to `redirect`. + /// Action to take when users access resources that require + /// authentication. Defaults to `redirect`. #[prost(enumeration="AuthFailAction", tag="7")] pub auth_fail_action: i32, - /// `30x` code to use when performing redirects for the `secure` field. - /// Defaults to `302`. + /// `30x` code to use when performing redirects for the `secure` field. + /// Defaults to `302`. #[prost(enumeration="url_map::RedirectHttpResponseCode", tag="8")] pub redirect_http_response_code: i32, - /// Type of handler for this URL pattern. + /// Type of handler for this URL pattern. #[prost(oneof="url_map::HandlerType", tags="2, 3, 4")] pub handler_type: ::core::option::Option, } /// Nested message and enum types in `UrlMap`. pub mod url_map { - /// Redirect codes. + /// Redirect codes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RedirectHttpResponseCode { - /// Not specified. `302` is assumed. + /// Not specified. `302` is assumed. Unspecified = 0, - /// `301 Moved Permanently` code. + /// `301 Moved Permanently` code. RedirectHttpResponseCode301 = 1, - /// `302 Moved Temporarily` code. + /// `302 Moved Temporarily` code. RedirectHttpResponseCode302 = 2, - /// `303 See Other` code. + /// `303 See Other` code. RedirectHttpResponseCode303 = 3, - /// `307 Temporary Redirect` code. + /// `307 Temporary Redirect` code. RedirectHttpResponseCode307 = 4, } impl RedirectHttpResponseCode { @@ -126,188 +126,188 @@ pub mod url_map { } } } - /// Type of handler for this URL pattern. + /// Type of handler for this URL pattern. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum HandlerType { - /// Returns the contents of a file, such as an image, as the response. + /// Returns the contents of a file, such as an image, as the response. #[prost(message, tag="2")] StaticFiles(super::StaticFilesHandler), - /// Executes a script to handle the requests that match this URL - /// pattern. Only the `auto` value is supported for Node.js in the - /// App Engine standard environment, for example `"script": "auto"`. + /// Executes a script to handle the requests that match this URL + /// pattern. Only the `auto` value is supported for Node.js in the + /// App Engine standard environment, for example `"script": "auto"`. #[prost(message, tag="3")] Script(super::ScriptHandler), - /// Uses API Endpoints to handle requests. + /// Uses API Endpoints to handle requests. #[prost(message, tag="4")] ApiEndpoint(super::ApiEndpointHandler), } } -/// Files served directly to the user for a given URL, such as images, CSS -/// stylesheets, or JavaScript source files. Static file handlers describe which -/// files in the application directory are static files, and which URLs serve -/// them. +/// Files served directly to the user for a given URL, such as images, CSS +/// stylesheets, or JavaScript source files. Static file handlers describe which +/// files in the application directory are static files, and which URLs serve +/// them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticFilesHandler { - /// Path to the static files matched by the URL pattern, from the - /// application root directory. The path can refer to text matched in groupings - /// in the URL pattern. + /// Path to the static files matched by the URL pattern, from the + /// application root directory. The path can refer to text matched in groupings + /// in the URL pattern. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Regular expression that matches the file paths for all files that should be - /// referenced by this handler. + /// Regular expression that matches the file paths for all files that should be + /// referenced by this handler. #[prost(string, tag="2")] pub upload_path_regex: ::prost::alloc::string::String, - /// HTTP headers to use for all responses from these URLs. + /// HTTP headers to use for all responses from these URLs. #[prost(map="string, string", tag="3")] pub http_headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// MIME type used to serve all files served by this handler. + /// MIME type used to serve all files served by this handler. /// - /// Defaults to file-specific MIME types, which are derived from each file's - /// filename extension. + /// Defaults to file-specific MIME types, which are derived from each file's + /// filename extension. #[prost(string, tag="4")] pub mime_type: ::prost::alloc::string::String, - /// Time a static file served by this handler should be cached - /// by web proxies and browsers. + /// Time a static file served by this handler should be cached + /// by web proxies and browsers. #[prost(message, optional, tag="5")] pub expiration: ::core::option::Option<::prost_types::Duration>, - /// Whether this handler should match the request if the file - /// referenced by the handler does not exist. + /// Whether this handler should match the request if the file + /// referenced by the handler does not exist. #[prost(bool, tag="6")] pub require_matching_file: bool, - /// Whether files should also be uploaded as code data. By default, files - /// declared in static file handlers are uploaded as static - /// data and are only served to end users; they cannot be read by the - /// application. If enabled, uploads are charged against both your code and - /// static data storage resource quotas. + /// Whether files should also be uploaded as code data. By default, files + /// declared in static file handlers are uploaded as static + /// data and are only served to end users; they cannot be read by the + /// application. If enabled, uploads are charged against both your code and + /// static data storage resource quotas. #[prost(bool, tag="7")] pub application_readable: bool, } -/// Executes a script to handle the request that matches the URL pattern. +/// Executes a script to handle the request that matches the URL pattern. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScriptHandler { - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="1")] pub script_path: ::prost::alloc::string::String, } -/// Uses Google Cloud Endpoints to handle requests. +/// Uses Google Cloud Endpoints to handle requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiEndpointHandler { - /// Path to the script from the application root directory. + /// Path to the script from the application root directory. #[prost(string, tag="1")] pub script_path: ::prost::alloc::string::String, } -/// Health checking configuration for VM instances. Unhealthy instances -/// are killed and replaced with new instances. Only applicable for -/// instances in App Engine flexible environment. +/// Health checking configuration for VM instances. Unhealthy instances +/// are killed and replaced with new instances. Only applicable for +/// instances in App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheck { - /// Whether to explicitly disable health checks for this instance. + /// Whether to explicitly disable health checks for this instance. #[prost(bool, tag="1")] pub disable_health_check: bool, - /// Host header to send when performing an HTTP health check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing an HTTP health check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive successful health checks required before receiving - /// traffic. + /// Number of consecutive successful health checks required before receiving + /// traffic. #[prost(uint32, tag="3")] pub healthy_threshold: u32, - /// Number of consecutive failed health checks required before removing - /// traffic. + /// Number of consecutive failed health checks required before removing + /// traffic. #[prost(uint32, tag="4")] pub unhealthy_threshold: u32, - /// Number of consecutive failed health checks required before an instance is - /// restarted. + /// Number of consecutive failed health checks required before an instance is + /// restarted. #[prost(uint32, tag="5")] pub restart_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="6")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the health check is considered failed. + /// Time before the health check is considered failed. #[prost(message, optional, tag="7")] pub timeout: ::core::option::Option<::prost_types::Duration>, } -/// Readiness checking configuration for VM instances. Unhealthy instances -/// are removed from traffic rotation. +/// Readiness checking configuration for VM instances. Unhealthy instances +/// are removed from traffic rotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadinessCheck { - /// The request path. + /// The request path. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Host header to send when performing a HTTP Readiness check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing a HTTP Readiness check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive failed checks required before removing - /// traffic. + /// Number of consecutive failed checks required before removing + /// traffic. #[prost(uint32, tag="3")] pub failure_threshold: u32, - /// Number of consecutive successful checks required before receiving - /// traffic. + /// Number of consecutive successful checks required before receiving + /// traffic. #[prost(uint32, tag="4")] pub success_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="5")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the check is considered failed. + /// Time before the check is considered failed. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// A maximum time limit on application initialization, measured from moment - /// the application successfully replies to a healthcheck until it is ready to - /// serve traffic. + /// A maximum time limit on application initialization, measured from moment + /// the application successfully replies to a healthcheck until it is ready to + /// serve traffic. #[prost(message, optional, tag="7")] pub app_start_timeout: ::core::option::Option<::prost_types::Duration>, } -/// Health checking configuration for VM instances. Unhealthy instances -/// are killed and replaced with new instances. +/// Health checking configuration for VM instances. Unhealthy instances +/// are killed and replaced with new instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LivenessCheck { - /// The request path. + /// The request path. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Host header to send when performing a HTTP Liveness check. - /// Example: "myapp.appspot.com" + /// Host header to send when performing a HTTP Liveness check. + /// Example: "myapp.appspot.com" #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Number of consecutive failed checks required before considering the - /// VM unhealthy. + /// Number of consecutive failed checks required before considering the + /// VM unhealthy. #[prost(uint32, tag="3")] pub failure_threshold: u32, - /// Number of consecutive successful checks required before considering - /// the VM healthy. + /// Number of consecutive successful checks required before considering + /// the VM healthy. #[prost(uint32, tag="4")] pub success_threshold: u32, - /// Interval between health checks. + /// Interval between health checks. #[prost(message, optional, tag="5")] pub check_interval: ::core::option::Option<::prost_types::Duration>, - /// Time before the check is considered failed. + /// Time before the check is considered failed. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// The initial delay before starting to execute the checks. + /// The initial delay before starting to execute the checks. #[prost(message, optional, tag="7")] pub initial_delay: ::core::option::Option<::prost_types::Duration>, } -/// Third-party Python runtime library that is required by the application. +/// Third-party Python runtime library that is required by the application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Library { - /// Name of the library. Example: "django". + /// Name of the library. Example: "django". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Version of the library to select, or "latest". + /// Version of the library to select, or "latest". #[prost(string, tag="2")] pub version: ::prost::alloc::string::String, } -/// Actions to take when the user is not logged in. +/// Actions to take when the user is not logged in. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthFailAction { - /// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. + /// Not specified. `AUTH_FAIL_ACTION_REDIRECT` is assumed. Unspecified = 0, - /// Redirects user to "accounts.google.com". The user is redirected back to the - /// application URL after signing in or creating an account. + /// Redirects user to "accounts.google.com". The user is redirected back to the + /// application URL after signing in or creating an account. Redirect = 1, - /// Rejects request with a `401` HTTP status code and an error - /// message. + /// Rejects request with a `401` HTTP status code and an error + /// message. Unauthorized = 2, } impl AuthFailAction { @@ -323,22 +323,22 @@ impl AuthFailAction { } } } -/// Methods to restrict access to a URL based on login status. +/// Methods to restrict access to a URL based on login status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LoginRequirement { - /// Not specified. `LOGIN_OPTIONAL` is assumed. + /// Not specified. `LOGIN_OPTIONAL` is assumed. LoginUnspecified = 0, - /// Does not require that the user is signed in. + /// Does not require that the user is signed in. LoginOptional = 1, - /// If the user is not signed in, the `auth_fail_action` is taken. - /// In addition, if the user is not an administrator for the - /// application, they are given an error message regardless of - /// `auth_fail_action`. If the user is an administrator, the handler - /// proceeds. + /// If the user is not signed in, the `auth_fail_action` is taken. + /// In addition, if the user is not an administrator for the + /// application, they are given an error message regardless of + /// `auth_fail_action`. If the user is an administrator, the handler + /// proceeds. LoginAdmin = 2, - /// If the user has signed in, the handler proceeds normally. Otherwise, the - /// auth_fail_action is taken. + /// If the user has signed in, the handler proceeds normally. Otherwise, the + /// auth_fail_action is taken. LoginRequired = 3, } impl LoginRequirement { @@ -355,22 +355,22 @@ impl LoginRequirement { } } } -/// Methods to enforce security (HTTPS) on a URL. +/// Methods to enforce security (HTTPS) on a URL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SecurityLevel { - /// Not specified. + /// Not specified. SecureUnspecified = 0, - /// Requests for a URL that match this handler that use HTTPS are automatically - /// redirected to the HTTP equivalent URL. + /// Requests for a URL that match this handler that use HTTPS are automatically + /// redirected to the HTTP equivalent URL. SecureNever = 1, - /// Both HTTP and HTTPS requests with URLs that match the handler succeed - /// without redirects. The application can examine the request to determine - /// which protocol was used and respond accordingly. + /// Both HTTP and HTTPS requests with URLs that match the handler succeed + /// without redirects. The application can examine the request to determine + /// which protocol was used and respond accordingly. SecureOptional = 2, - /// Requests for a URL that match this handler that do not use HTTPS are - /// automatically redirected to the HTTPS URL with the same path. Query - /// parameters are reserved for the redirect. + /// Requests for a URL that match this handler that do not use HTTPS are + /// automatically redirected to the HTTPS URL with the same path. Query + /// parameters are reserved for the redirect. SecureAlways = 3, } impl SecurityLevel { @@ -387,138 +387,138 @@ impl SecurityLevel { } } } -/// An Application resource contains the top-level configuration of an App -/// Engine application. +/// An Application resource contains the top-level configuration of an App +/// Engine application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Application { - /// Full path to the Application resource in the API. - /// Example: `apps/myapp`. + /// Full path to the Application resource in the API. + /// Example: `apps/myapp`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Identifier of the Application resource. This identifier is equivalent - /// to the project ID of the Google Cloud Platform project where you want to - /// deploy your application. - /// Example: `myapp`. + /// Identifier of the Application resource. This identifier is equivalent + /// to the project ID of the Google Cloud Platform project where you want to + /// deploy your application. + /// Example: `myapp`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// HTTP path dispatch rules for requests to the application that do not - /// explicitly target a service or version. Rules are order-dependent. - /// Up to 20 dispatch rules can be supported. + /// HTTP path dispatch rules for requests to the application that do not + /// explicitly target a service or version. Rules are order-dependent. + /// Up to 20 dispatch rules can be supported. #[prost(message, repeated, tag="3")] pub dispatch_rules: ::prost::alloc::vec::Vec, - /// Google Apps authentication domain that controls which users can access - /// this application. + /// Google Apps authentication domain that controls which users can access + /// this application. /// - /// Defaults to open access for any Google Account. + /// Defaults to open access for any Google Account. #[prost(string, tag="6")] pub auth_domain: ::prost::alloc::string::String, - /// Location from which this application runs. Application instances - /// run out of the data centers in the specified location, which is also where - /// all of the application's end user content is stored. + /// Location from which this application runs. Application instances + /// run out of the data centers in the specified location, which is also where + /// all of the application's end user content is stored. /// - /// Defaults to `us-central`. + /// Defaults to `us-central`. /// - /// View the list of - /// [supported locations](). + /// View the list of + /// [supported locations](). #[prost(string, tag="7")] pub location_id: ::prost::alloc::string::String, - /// Google Cloud Storage bucket that can be used for storing files - /// associated with this application. This bucket is associated with the - /// application and can be used by the gcloud deployment commands. + /// Google Cloud Storage bucket that can be used for storing files + /// associated with this application. This bucket is associated with the + /// application and can be used by the gcloud deployment commands. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="8")] pub code_bucket: ::prost::alloc::string::String, - /// Cookie expiration policy for this application. + /// Cookie expiration policy for this application. #[prost(message, optional, tag="9")] pub default_cookie_expiration: ::core::option::Option<::prost_types::Duration>, - /// Serving status of this application. + /// Serving status of this application. #[prost(enumeration="application::ServingStatus", tag="10")] pub serving_status: i32, - /// Hostname used to reach this application, as resolved by App Engine. + /// Hostname used to reach this application, as resolved by App Engine. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="11")] pub default_hostname: ::prost::alloc::string::String, - /// Google Cloud Storage bucket that can be used by this application to store - /// content. + /// Google Cloud Storage bucket that can be used by this application to store + /// content. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="12")] pub default_bucket: ::prost::alloc::string::String, #[prost(message, optional, tag="14")] pub iap: ::core::option::Option, - /// The Google Container Registry domain used for storing managed build docker - /// images for this application. + /// The Google Container Registry domain used for storing managed build docker + /// images for this application. #[prost(string, tag="16")] pub gcr_domain: ::prost::alloc::string::String, - /// The type of the Cloud Firestore or Cloud Datastore database associated with - /// this application. + /// The type of the Cloud Firestore or Cloud Datastore database associated with + /// this application. #[prost(enumeration="application::DatabaseType", tag="17")] pub database_type: i32, - /// The feature specific settings to be used in the application. + /// The feature specific settings to be used in the application. #[prost(message, optional, tag="18")] pub feature_settings: ::core::option::Option, } /// Nested message and enum types in `Application`. pub mod application { - /// Identity-Aware Proxy + /// Identity-Aware Proxy #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentityAwareProxy { - /// Whether the serving infrastructure will authenticate and - /// authorize all incoming requests. + /// Whether the serving infrastructure will authenticate and + /// authorize all incoming requests. /// - /// If true, the `oauth2_client_id` and `oauth2_client_secret` - /// fields must be non-empty. + /// If true, the `oauth2_client_id` and `oauth2_client_secret` + /// fields must be non-empty. #[prost(bool, tag="1")] pub enabled: bool, - /// OAuth2 client ID to use for the authentication flow. + /// OAuth2 client ID to use for the authentication flow. #[prost(string, tag="2")] pub oauth2_client_id: ::prost::alloc::string::String, - /// OAuth2 client secret to use for the authentication flow. + /// OAuth2 client secret to use for the authentication flow. /// - /// For security reasons, this value cannot be retrieved via the API. - /// Instead, the SHA-256 hash of the value is returned in the - /// `oauth2_client_secret_sha256` field. + /// For security reasons, this value cannot be retrieved via the API. + /// Instead, the SHA-256 hash of the value is returned in the + /// `oauth2_client_secret_sha256` field. /// - /// @InputOnly + /// @InputOnly #[prost(string, tag="3")] pub oauth2_client_secret: ::prost::alloc::string::String, - /// Hex-encoded SHA-256 hash of the client secret. + /// Hex-encoded SHA-256 hash of the client secret. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="4")] pub oauth2_client_secret_sha256: ::prost::alloc::string::String, } - /// The feature specific settings to be used in the application. These define - /// behaviors that are user configurable. + /// The feature specific settings to be used in the application. These define + /// behaviors that are user configurable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSettings { - /// Boolean value indicating if split health checks should be used instead - /// of the legacy health checks. At an app.yaml level, this means defaulting - /// to 'readiness_check' and 'liveness_check' values instead of - /// 'health_check' ones. Once the legacy 'health_check' behavior is - /// deprecated, and this value is always true, this setting can - /// be removed. + /// Boolean value indicating if split health checks should be used instead + /// of the legacy health checks. At an app.yaml level, this means defaulting + /// to 'readiness_check' and 'liveness_check' values instead of + /// 'health_check' ones. Once the legacy 'health_check' behavior is + /// deprecated, and this value is always true, this setting can + /// be removed. #[prost(bool, tag="1")] pub split_health_checks: bool, - /// If true, use [Container-Optimized OS]() - /// base image for VMs, rather than a base Debian image. + /// If true, use [Container-Optimized OS]() + /// base image for VMs, rather than a base Debian image. #[prost(bool, tag="2")] pub use_container_optimized_os: bool, } #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServingStatus { - /// Serving status is unspecified. + /// Serving status is unspecified. Unspecified = 0, - /// Application is serving. + /// Application is serving. Serving = 1, - /// Application has been disabled by the user. + /// Application has been disabled by the user. UserDisabled = 2, - /// Application has been disabled by the system. + /// Application has been disabled by the system. SystemDisabled = 3, } impl ServingStatus { @@ -538,13 +538,13 @@ pub mod application { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// Database type is unspecified. + /// Database type is unspecified. Unspecified = 0, - /// Cloud Datastore + /// Cloud Datastore CloudDatastore = 1, - /// Cloud Firestore Native + /// Cloud Firestore Native CloudFirestore = 2, - /// Cloud Firestore in Datastore Mode + /// Cloud Firestore in Datastore Mode CloudDatastoreCompatibility = 3, } impl DatabaseType { @@ -562,169 +562,169 @@ pub mod application { } } } -/// Rules to match an HTTP request and dispatch that request to a service. +/// Rules to match an HTTP request and dispatch that request to a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlDispatchRule { - /// Domain name to match against. The wildcard "`*`" is supported if - /// specified before a period: "`*.`". + /// Domain name to match against. The wildcard "`*`" is supported if + /// specified before a period: "`*.`". /// - /// Defaults to matching all domains: "`*`". + /// Defaults to matching all domains: "`*`". #[prost(string, tag="1")] pub domain: ::prost::alloc::string::String, - /// Pathname within the host. Must start with a "`/`". A - /// single "`*`" can be included at the end of the path. + /// Pathname within the host. Must start with a "`/`". A + /// single "`*`" can be included at the end of the path. /// - /// The sum of the lengths of the domain and path may not - /// exceed 100 characters. + /// The sum of the lengths of the domain and path may not + /// exceed 100 characters. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Resource ID of a service in this application that should - /// serve the matched request. The service must already - /// exist. Example: `default`. + /// Resource ID of a service in this application that should + /// serve the matched request. The service must already + /// exist. Example: `default`. #[prost(string, tag="3")] pub service: ::prost::alloc::string::String, } -/// An SSL certificate that a user has been authorized to administer. A user -/// is authorized to administer any certificate that applies to one of their -/// authorized domains. +/// An SSL certificate that a user has been authorized to administer. A user +/// is authorized to administer any certificate that applies to one of their +/// authorized domains. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizedCertificate { - /// Full path to the `AuthorizedCertificate` resource in the API. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Full path to the `AuthorizedCertificate` resource in the API. Example: + /// `apps/myapp/authorizedCertificates/12345`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the certificate. This is a unique value autogenerated - /// on `AuthorizedCertificate` resource creation. Example: `12345`. + /// Relative name of the certificate. This is a unique value autogenerated + /// on `AuthorizedCertificate` resource creation. Example: `12345`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// The user-specified display name of the certificate. This is not - /// guaranteed to be unique. Example: `My Certificate`. + /// The user-specified display name of the certificate. This is not + /// guaranteed to be unique. Example: `My Certificate`. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Topmost applicable domains of this certificate. This certificate - /// applies to these domains and their subdomains. Example: `example.com`. + /// Topmost applicable domains of this certificate. This certificate + /// applies to these domains and their subdomains. Example: `example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, repeated, tag="4")] pub domain_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The time when this certificate expires. To update the renewal time on this - /// certificate, upload an SSL certificate with a different expiration time - /// using \[`AuthorizedCertificates.UpdateAuthorizedCertificate`\](). + /// The time when this certificate expires. To update the renewal time on this + /// certificate, upload an SSL certificate with a different expiration time + /// using \[`AuthorizedCertificates.UpdateAuthorizedCertificate`\](). /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="5")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// The SSL certificate serving the `AuthorizedCertificate` resource. This - /// must be obtained independently from a certificate authority. + /// The SSL certificate serving the `AuthorizedCertificate` resource. This + /// must be obtained independently from a certificate authority. #[prost(message, optional, tag="6")] pub certificate_raw_data: ::core::option::Option, - /// Only applicable if this certificate is managed by App Engine. Managed - /// certificates are tied to the lifecycle of a `DomainMapping` and cannot be - /// updated or deleted via the `AuthorizedCertificates` API. If this - /// certificate is manually administered by the user, this field will be empty. + /// Only applicable if this certificate is managed by App Engine. Managed + /// certificates are tied to the lifecycle of a `DomainMapping` and cannot be + /// updated or deleted via the `AuthorizedCertificates` API. If this + /// certificate is manually administered by the user, this field will be empty. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="7")] pub managed_certificate: ::core::option::Option, - /// The full paths to user visible Domain Mapping resources that have this - /// certificate mapped. Example: `apps/myapp/domainMappings/example.com`. + /// The full paths to user visible Domain Mapping resources that have this + /// certificate mapped. Example: `apps/myapp/domainMappings/example.com`. /// - /// This may not represent the full list of mapped domain mappings if the user - /// does not have `VIEWER` permissions on all of the applications that have - /// this certificate mapped. See `domain_mappings_count` for a complete count. + /// This may not represent the full list of mapped domain mappings if the user + /// does not have `VIEWER` permissions on all of the applications that have + /// this certificate mapped. See `domain_mappings_count` for a complete count. /// - /// Only returned by `GET` or `LIST` requests when specifically requested by - /// the `view=FULL_CERTIFICATE` option. + /// Only returned by `GET` or `LIST` requests when specifically requested by + /// the `view=FULL_CERTIFICATE` option. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, repeated, tag="8")] pub visible_domain_mappings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Aggregate count of the domain mappings with this certificate mapped. This - /// count includes domain mappings on applications for which the user does not - /// have `VIEWER` permissions. + /// Aggregate count of the domain mappings with this certificate mapped. This + /// count includes domain mappings on applications for which the user does not + /// have `VIEWER` permissions. /// - /// Only returned by `GET` or `LIST` requests when specifically requested by - /// the `view=FULL_CERTIFICATE` option. + /// Only returned by `GET` or `LIST` requests when specifically requested by + /// the `view=FULL_CERTIFICATE` option. /// - /// @OutputOnly + /// @OutputOnly #[prost(int32, tag="9")] pub domain_mappings_count: i32, } -/// An SSL certificate obtained from a certificate authority. +/// An SSL certificate obtained from a certificate authority. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CertificateRawData { - /// PEM encoded x.509 public key certificate. This field is set once on - /// certificate creation. Must include the header and footer. Example: - ///

-    ///  -----BEGIN CERTIFICATE-----
-    ///  
-    ///  -----END CERTIFICATE-----
-    ///  
+ /// PEM encoded x.509 public key certificate. This field is set once on + /// certificate creation. Must include the header and footer. Example: + ///
+    /// -----BEGIN CERTIFICATE-----
+    /// 
+    /// -----END CERTIFICATE-----
+    /// 
#[prost(string, tag="1")] pub public_certificate: ::prost::alloc::string::String, - /// Unencrypted PEM encoded RSA private key. This field is set once on - /// certificate creation and then encrypted. The key size must be 2048 - /// bits or fewer. Must include the header and footer. Example: - ///
-    ///  -----BEGIN RSA PRIVATE KEY-----
-    ///  
-    ///  -----END RSA PRIVATE KEY-----
-    ///  
- /// @InputOnly + /// Unencrypted PEM encoded RSA private key. This field is set once on + /// certificate creation and then encrypted. The key size must be 2048 + /// bits or fewer. Must include the header and footer. Example: + ///
+    /// -----BEGIN RSA PRIVATE KEY-----
+    /// 
+    /// -----END RSA PRIVATE KEY-----
+    /// 
+ /// @InputOnly #[prost(string, tag="2")] pub private_key: ::prost::alloc::string::String, } -/// A certificate managed by App Engine. +/// A certificate managed by App Engine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedCertificate { - /// Time at which the certificate was last renewed. The renewal process is - /// fully managed. Certificate renewal will automatically occur before the - /// certificate expires. Renewal errors can be tracked via `ManagementStatus`. + /// Time at which the certificate was last renewed. The renewal process is + /// fully managed. Certificate renewal will automatically occur before the + /// certificate expires. Renewal errors can be tracked via `ManagementStatus`. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="1")] pub last_renewal_time: ::core::option::Option<::prost_types::Timestamp>, - /// Status of certificate management. Refers to the most recent certificate - /// acquisition or renewal attempt. + /// Status of certificate management. Refers to the most recent certificate + /// acquisition or renewal attempt. /// - /// @OutputOnly + /// @OutputOnly #[prost(enumeration="ManagementStatus", tag="2")] pub status: i32, } -/// State of certificate management. Refers to the most recent certificate -/// acquisition or renewal attempt. +/// State of certificate management. Refers to the most recent certificate +/// acquisition or renewal attempt. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagementStatus { Unspecified = 0, - /// Certificate was successfully obtained and inserted into the serving - /// system. + /// Certificate was successfully obtained and inserted into the serving + /// system. Ok = 1, - /// Certificate is under active attempts to acquire or renew. + /// Certificate is under active attempts to acquire or renew. Pending = 2, - /// Most recent renewal failed due to an invalid DNS setup and will be - /// retried. Renewal attempts will continue to fail until the certificate - /// domain's DNS configuration is fixed. The last successfully provisioned - /// certificate may still be serving. + /// Most recent renewal failed due to an invalid DNS setup and will be + /// retried. Renewal attempts will continue to fail until the certificate + /// domain's DNS configuration is fixed. The last successfully provisioned + /// certificate may still be serving. FailedRetryingNotVisible = 4, - /// All renewal attempts have been exhausted, likely due to an invalid DNS - /// setup. + /// All renewal attempts have been exhausted, likely due to an invalid DNS + /// setup. FailedPermanent = 6, - /// Most recent renewal failed due to an explicit CAA record that does not - /// include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will - /// continue to fail until the CAA is reconfigured. The last successfully - /// provisioned certificate may still be serving. + /// Most recent renewal failed due to an explicit CAA record that does not + /// include one of the in-use CAs (Google CA and Let's Encrypt). Renewals will + /// continue to fail until the CAA is reconfigured. The last successfully + /// provisioned certificate may still be serving. FailedRetryingCaaForbidden = 7, - /// Most recent renewal failed due to a CAA retrieval failure. This means that - /// the domain's DNS provider does not properly handle CAA records, failing - /// requests for CAA records when no CAA records are defined. Renewals will - /// continue to fail until the DNS provider is changed or a CAA record is - /// added for the given domain. The last successfully provisioned certificate - /// may still be serving. + /// Most recent renewal failed due to a CAA retrieval failure. This means that + /// the domain's DNS provider does not properly handle CAA records, failing + /// requests for CAA records when no CAA records are defined. Renewals will + /// continue to fail until the DNS provider is changed or a CAA record is + /// added for the given domain. The last successfully provisioned certificate + /// may still be serving. FailedRetryingCaaChecking = 8, } impl ManagementStatus { @@ -744,90 +744,90 @@ impl ManagementStatus { } } } -/// A domain that a user has been authorized to administer. To authorize use -/// of a domain, verify ownership via -/// [Webmaster Central](). +/// A domain that a user has been authorized to administer. To authorize use +/// of a domain, verify ownership via +/// [Webmaster Central](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizedDomain { - /// Full path to the `AuthorizedDomain` resource in the API. Example: - /// `apps/myapp/authorizedDomains/example.com`. + /// Full path to the `AuthorizedDomain` resource in the API. Example: + /// `apps/myapp/authorizedDomains/example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Fully qualified domain name of the domain authorized for use. Example: - /// `example.com`. + /// Fully qualified domain name of the domain authorized for use. Example: + /// `example.com`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, } -/// A domain serving an App Engine application. +/// A domain serving an App Engine application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DomainMapping { - /// Full path to the `DomainMapping` resource in the API. Example: - /// `apps/myapp/domainMapping/example.com`. + /// Full path to the `DomainMapping` resource in the API. Example: + /// `apps/myapp/domainMapping/example.com`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the domain serving the application. Example: - /// `example.com`. + /// Relative name of the domain serving the application. Example: + /// `example.com`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// SSL configuration for this domain. If unconfigured, this domain will not - /// serve with SSL. + /// SSL configuration for this domain. If unconfigured, this domain will not + /// serve with SSL. #[prost(message, optional, tag="3")] pub ssl_settings: ::core::option::Option, - /// The resource records required to configure this domain mapping. These - /// records must be added to the domain's DNS configuration in order to - /// serve the application via this domain mapping. + /// The resource records required to configure this domain mapping. These + /// records must be added to the domain's DNS configuration in order to + /// serve the application via this domain mapping. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, repeated, tag="4")] pub resource_records: ::prost::alloc::vec::Vec, } -/// SSL configuration for a `DomainMapping` resource. +/// SSL configuration for a `DomainMapping` resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslSettings { - /// ID of the `AuthorizedCertificate` resource configuring SSL for the - /// application. Clearing this field will remove SSL support. - /// - /// By default, a managed certificate is automatically created for every - /// domain mapping. To omit SSL support or to configure SSL manually, specify - /// `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must - /// be authorized to administer the `AuthorizedCertificate` resource to - /// manually map it to a `DomainMapping` resource. - /// Example: `12345`. + /// ID of the `AuthorizedCertificate` resource configuring SSL for the + /// application. Clearing this field will remove SSL support. + /// + /// By default, a managed certificate is automatically created for every + /// domain mapping. To omit SSL support or to configure SSL manually, specify + /// `SslManagementType.MANUAL` on a `CREATE` or `UPDATE` request. You must + /// be authorized to administer the `AuthorizedCertificate` resource to + /// manually map it to a `DomainMapping` resource. + /// Example: `12345`. #[prost(string, tag="1")] pub certificate_id: ::prost::alloc::string::String, - /// SSL management type for this domain. If `AUTOMATIC`, a managed certificate - /// is automatically provisioned. If `MANUAL`, `certificate_id` must be - /// manually specified in order to configure SSL for this domain. + /// SSL management type for this domain. If `AUTOMATIC`, a managed certificate + /// is automatically provisioned. If `MANUAL`, `certificate_id` must be + /// manually specified in order to configure SSL for this domain. #[prost(enumeration="ssl_settings::SslManagementType", tag="3")] pub ssl_management_type: i32, - /// ID of the managed `AuthorizedCertificate` resource currently being - /// provisioned, if applicable. Until the new managed certificate has been - /// successfully provisioned, the previous SSL state will be preserved. Once - /// the provisioning process completes, the `certificate_id` field will reflect - /// the new managed certificate and this field will be left empty. To remove - /// SSL support while there is still a pending managed certificate, clear the - /// `certificate_id` field with an `UpdateDomainMappingRequest`. - /// - /// @OutputOnly + /// ID of the managed `AuthorizedCertificate` resource currently being + /// provisioned, if applicable. Until the new managed certificate has been + /// successfully provisioned, the previous SSL state will be preserved. Once + /// the provisioning process completes, the `certificate_id` field will reflect + /// the new managed certificate and this field will be left empty. To remove + /// SSL support while there is still a pending managed certificate, clear the + /// `certificate_id` field with an `UpdateDomainMappingRequest`. + /// + /// @OutputOnly #[prost(string, tag="4")] pub pending_managed_certificate_id: ::prost::alloc::string::String, } /// Nested message and enum types in `SslSettings`. pub mod ssl_settings { - /// The SSL management type for this domain. + /// The SSL management type for this domain. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SslManagementType { - /// SSL support for this domain is configured automatically. The mapped SSL - /// certificate will be automatically renewed. + /// SSL support for this domain is configured automatically. The mapped SSL + /// certificate will be automatically renewed. Automatic = 0, - /// SSL support for this domain is configured manually by the user. Either - /// the domain has no SSL support or a user-obtained SSL certificate has been - /// explictly mapped to this domain. + /// SSL support for this domain is configured manually by the user. Either + /// the domain has no SSL support or a user-obtained SSL certificate has been + /// explictly mapped to this domain. Manual = 1, } impl SslManagementType { @@ -843,32 +843,32 @@ pub mod ssl_settings { } } } -/// A DNS resource record. +/// A DNS resource record. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceRecord { - /// Relative name of the object affected by this record. Only applicable for - /// `CNAME` records. Example: 'www'. + /// Relative name of the object affected by this record. Only applicable for + /// `CNAME` records. Example: 'www'. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data for this record. Values vary by record type, as defined in RFC 1035 - /// (section 5) and RFC 1034 (section 3.6.1). + /// Data for this record. Values vary by record type, as defined in RFC 1035 + /// (section 5) and RFC 1034 (section 3.6.1). #[prost(string, tag="2")] pub rrdata: ::prost::alloc::string::String, - /// Resource record type. Example: `AAAA`. + /// Resource record type. Example: `AAAA`. #[prost(enumeration="resource_record::RecordType", tag="3")] pub r#type: i32, } /// Nested message and enum types in `ResourceRecord`. pub mod resource_record { - /// A resource record type. + /// A resource record type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecordType { - /// An A resource record. Data is an IPv4 address. + /// An A resource record. Data is an IPv4 address. A = 0, - /// An AAAA resource record. Data is an IPv6 address. + /// An AAAA resource record. Data is an IPv6 address. Aaaa = 1, - /// A CNAME resource record. Data is a domain name to be aliased. + /// A CNAME resource record. Data is a domain name to be aliased. Cname = 2, } impl RecordType { @@ -885,49 +885,49 @@ pub mod resource_record { } } } -/// A single firewall rule that is evaluated against incoming traffic -/// and provides an action to take on matched requests. +/// A single firewall rule that is evaluated against incoming traffic +/// and provides an action to take on matched requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallRule { - /// A positive integer between [1, Int32.MaxValue-1] that defines the order of - /// rule evaluation. Rules with the lowest priority are evaluated first. + /// A positive integer between [1, Int32.MaxValue-1] that defines the order of + /// rule evaluation. Rules with the lowest priority are evaluated first. /// - /// A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic - /// when no previous rule matches. Only the action of this rule can be modified - /// by the user. + /// A default rule at priority Int32.MaxValue matches all IPv4 and IPv6 traffic + /// when no previous rule matches. Only the action of this rule can be modified + /// by the user. #[prost(int32, tag="1")] pub priority: i32, - /// The action to take on matched requests. + /// The action to take on matched requests. #[prost(enumeration="firewall_rule::Action", tag="2")] pub action: i32, - /// IP address or range, defined using CIDR notation, of requests that this - /// rule applies to. You can use the wildcard character "*" to match all IPs - /// equivalent to "0/0" and "::/0" together. - /// Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` + /// IP address or range, defined using CIDR notation, of requests that this + /// rule applies to. You can use the wildcard character "*" to match all IPs + /// equivalent to "0/0" and "::/0" together. + /// Examples: `192.168.1.1` or `192.168.0.0/16` or `2001:db8::/32` /// or `2001:0db8:0000:0042:0000:8a2e:0370:7334`. /// /// - ///

Truncation will be silently performed on addresses which are not - /// properly truncated. For example, `1.2.3.4/24` is accepted as the same - /// address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted - /// as the same address as `2001:db8::/32`. + ///

Truncation will be silently performed on addresses which are not + /// properly truncated. For example, `1.2.3.4/24` is accepted as the same + /// address as `1.2.3.0/24`. Similarly, for IPv6, `2001:db8::1/32` is accepted + /// as the same address as `2001:db8::/32`. #[prost(string, tag="3")] pub source_range: ::prost::alloc::string::String, - /// An optional string description of this rule. - /// This field has a maximum length of 100 characters. + /// An optional string description of this rule. + /// This field has a maximum length of 100 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `FirewallRule`. pub mod firewall_rule { - /// Available actions to take on matching requests. + /// Available actions to take on matching requests. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { UnspecifiedAction = 0, - /// Matching requests are allowed. + /// Matching requests are allowed. Allow = 1, - /// Matching requests are denied. + /// Matching requests are denied. Deny = 2, } impl Action { @@ -944,104 +944,104 @@ pub mod firewall_rule { } } } -/// An Instance resource is the computing unit that App Engine uses to -/// automatically scale an application. +/// An Instance resource is the computing unit that App Engine uses to +/// automatically scale an application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Output only. Full path to the Instance resource in the API. - /// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Output only. Full path to the Instance resource in the API. + /// Example: `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Relative name of the instance within the version. - /// Example: `instance-1`. + /// Output only. Relative name of the instance within the version. + /// Example: `instance-1`. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. App Engine release this instance is running on. + /// Output only. App Engine release this instance is running on. #[prost(string, tag="3")] pub app_engine_release: ::prost::alloc::string::String, - /// Output only. Availability of the instance. + /// Output only. Availability of the instance. #[prost(enumeration="instance::Availability", tag="4")] pub availability: i32, - /// Output only. Name of the virtual machine where this instance lives. Only applicable - /// for instances in App Engine flexible environment. + /// Output only. Name of the virtual machine where this instance lives. Only applicable + /// for instances in App Engine flexible environment. #[prost(string, tag="5")] pub vm_name: ::prost::alloc::string::String, - /// Output only. Zone where the virtual machine is located. Only applicable for instances - /// in App Engine flexible environment. + /// Output only. Zone where the virtual machine is located. Only applicable for instances + /// in App Engine flexible environment. #[prost(string, tag="6")] pub vm_zone_name: ::prost::alloc::string::String, - /// Output only. Virtual machine ID of this instance. Only applicable for instances in - /// App Engine flexible environment. + /// Output only. Virtual machine ID of this instance. Only applicable for instances in + /// App Engine flexible environment. #[prost(string, tag="7")] pub vm_id: ::prost::alloc::string::String, - /// Output only. Time that this instance was started. + /// Output only. Time that this instance was started. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="8")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Number of requests since this instance was started. + /// Output only. Number of requests since this instance was started. #[prost(int32, tag="9")] pub requests: i32, - /// Output only. Number of errors since this instance was started. + /// Output only. Number of errors since this instance was started. #[prost(int32, tag="10")] pub errors: i32, - /// Output only. Average queries per second (QPS) over the last minute. + /// Output only. Average queries per second (QPS) over the last minute. #[prost(float, tag="11")] pub qps: f32, - /// Output only. Average latency (ms) over the last minute. + /// Output only. Average latency (ms) over the last minute. #[prost(int32, tag="12")] pub average_latency: i32, - /// Output only. Total memory in use (bytes). + /// Output only. Total memory in use (bytes). #[prost(int64, tag="13")] pub memory_usage: i64, - /// Output only. Status of the virtual machine where this instance lives. Only applicable - /// for instances in App Engine flexible environment. + /// Output only. Status of the virtual machine where this instance lives. Only applicable + /// for instances in App Engine flexible environment. #[prost(string, tag="14")] pub vm_status: ::prost::alloc::string::String, - /// Output only. Whether this instance is in debug mode. Only applicable for instances in - /// App Engine flexible environment. + /// Output only. Whether this instance is in debug mode. Only applicable for instances in + /// App Engine flexible environment. #[prost(bool, tag="15")] pub vm_debug_enabled: bool, - /// Output only. The IP address of this instance. Only applicable for instances in App - /// Engine flexible environment. + /// Output only. The IP address of this instance. Only applicable for instances in App + /// Engine flexible environment. #[prost(string, tag="16")] pub vm_ip: ::prost::alloc::string::String, - /// Output only. The liveness health check of this instance. Only applicable for instances - /// in App Engine flexible environment. + /// Output only. The liveness health check of this instance. Only applicable for instances + /// in App Engine flexible environment. #[prost(enumeration="instance::liveness::LivenessState", tag="17")] pub vm_liveness: i32, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Wrapper for LivenessState enum. + /// Wrapper for LivenessState enum. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Liveness { } /// Nested message and enum types in `Liveness`. pub mod liveness { - /// Liveness health check status for Flex instances. + /// Liveness health check status for Flex instances. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LivenessState { - /// There is no liveness health check for the instance. Only applicable for - /// instances in App Engine standard environment. + /// There is no liveness health check for the instance. Only applicable for + /// instances in App Engine standard environment. Unspecified = 0, - /// The health checking system is aware of the instance but its health is - /// not known at the moment. + /// The health checking system is aware of the instance but its health is + /// not known at the moment. Unknown = 1, - /// The instance is reachable i.e. a connection to the application health - /// checking endpoint can be established, and conforms to the requirements - /// defined by the health check. + /// The instance is reachable i.e. a connection to the application health + /// checking endpoint can be established, and conforms to the requirements + /// defined by the health check. Healthy = 2, - /// The instance is reachable, but does not conform to the requirements - /// defined by the health check. + /// The instance is reachable, but does not conform to the requirements + /// defined by the health check. Unhealthy = 3, - /// The instance is being drained. The existing connections to the instance - /// have time to complete, but the new ones are being refused. + /// The instance is being drained. The existing connections to the instance + /// have time to complete, but the new ones are being refused. Draining = 4, - /// The instance is unreachable i.e. a connection to the application health - /// checking endpoint cannot be established, or the server does not respond - /// within the specified timeout. + /// The instance is unreachable i.e. a connection to the application health + /// checking endpoint cannot be established, or the server does not respond + /// within the specified timeout. Timeout = 5, } impl LivenessState { @@ -1061,7 +1061,7 @@ pub mod instance { } } } - /// Availability of the instance. + /// Availability of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Availability { @@ -1083,124 +1083,124 @@ pub mod instance { } } } -/// Code and application artifacts used to deploy a version to App Engine. +/// Code and application artifacts used to deploy a version to App Engine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Deployment { - /// Manifest of the files stored in Google Cloud Storage that are included - /// as part of this version. All files must be readable using the - /// credentials supplied with this call. + /// Manifest of the files stored in Google Cloud Storage that are included + /// as part of this version. All files must be readable using the + /// credentials supplied with this call. #[prost(map="string, message", tag="1")] pub files: ::std::collections::HashMap<::prost::alloc::string::String, FileInfo>, - /// The Docker image for the container that runs the version. - /// Only applicable for instances running in the App Engine flexible environment. + /// The Docker image for the container that runs the version. + /// Only applicable for instances running in the App Engine flexible environment. #[prost(message, optional, tag="2")] pub container: ::core::option::Option, - /// The zip file for this deployment, if this is a zip deployment. + /// The zip file for this deployment, if this is a zip deployment. #[prost(message, optional, tag="3")] pub zip: ::core::option::Option, - /// Google Cloud Build build information. Only applicable for instances running - /// in the App Engine flexible environment. + /// Google Cloud Build build information. Only applicable for instances running + /// in the App Engine flexible environment. #[prost(message, optional, tag="5")] pub build: ::core::option::Option, - /// Options for any Google Cloud Build builds created as a part of this - /// deployment. + /// Options for any Google Cloud Build builds created as a part of this + /// deployment. /// - /// These options will only be used if a new build is created, such as when - /// deploying to the App Engine flexible environment using files or zip. + /// These options will only be used if a new build is created, such as when + /// deploying to the App Engine flexible environment using files or zip. #[prost(message, optional, tag="6")] pub cloud_build_options: ::core::option::Option, } -/// Single source file that is part of the version to be deployed. Each source -/// file that is deployed must be specified separately. +/// Single source file that is part of the version to be deployed. Each source +/// file that is deployed must be specified separately. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileInfo { - /// URL source to use to fetch this file. Must be a URL to a resource in - /// Google Cloud Storage in the form - /// 'http(s)://storage.googleapis.com/\/\'. + /// URL source to use to fetch this file. Must be a URL to a resource in + /// Google Cloud Storage in the form + /// 'http(s)://storage.googleapis.com/\/\'. #[prost(string, tag="1")] pub source_url: ::prost::alloc::string::String, - /// The SHA1 hash of the file, in hex. + /// The SHA1 hash of the file, in hex. #[prost(string, tag="2")] pub sha1_sum: ::prost::alloc::string::String, - /// The MIME type of the file. + /// The MIME type of the file. /// - /// Defaults to the value from Google Cloud Storage. + /// Defaults to the value from Google Cloud Storage. #[prost(string, tag="3")] pub mime_type: ::prost::alloc::string::String, } -/// Docker image that is used to create a container and start a VM instance for -/// the version that you deploy. Only applicable for instances running in the App -/// Engine flexible environment. +/// Docker image that is used to create a container and start a VM instance for +/// the version that you deploy. Only applicable for instances running in the App +/// Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerInfo { - /// URI to the hosted container image in Google Container Registry. The URI - /// must be fully qualified and include a tag or digest. - /// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" + /// URI to the hosted container image in Google Container Registry. The URI + /// must be fully qualified and include a tag or digest. + /// Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest" #[prost(string, tag="1")] pub image: ::prost::alloc::string::String, } -/// Google Cloud Build information. +/// Google Cloud Build information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BuildInfo { - /// The Google Cloud Build id. - /// Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9" + /// The Google Cloud Build id. + /// Example: "f966068f-08b2-42c8-bdfe-74137dff2bf9" #[prost(string, tag="1")] pub cloud_build_id: ::prost::alloc::string::String, } -/// Options for the build operations performed as a part of the version -/// deployment. Only applicable for App Engine flexible environment when creating -/// a version using source code directly. +/// Options for the build operations performed as a part of the version +/// deployment. Only applicable for App Engine flexible environment when creating +/// a version using source code directly. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudBuildOptions { - /// Path to the yaml file used in deployment, used to determine runtime - /// configuration details. + /// Path to the yaml file used in deployment, used to determine runtime + /// configuration details. /// - /// Required for flexible environment builds. + /// Required for flexible environment builds. /// - /// See - /// for more details. + /// See + /// for more details. #[prost(string, tag="1")] pub app_yaml_path: ::prost::alloc::string::String, - /// The Cloud Build timeout used as part of any dependent builds performed by - /// version creation. Defaults to 10 minutes. + /// The Cloud Build timeout used as part of any dependent builds performed by + /// version creation. Defaults to 10 minutes. #[prost(message, optional, tag="2")] pub cloud_build_timeout: ::core::option::Option<::prost_types::Duration>, } -/// The zip file information for a zip deployment. +/// The zip file information for a zip deployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ZipInfo { - /// URL of the zip file to deploy from. Must be a URL to a resource in - /// Google Cloud Storage in the form - /// 'http(s)://storage.googleapis.com/\/\'. + /// URL of the zip file to deploy from. Must be a URL to a resource in + /// Google Cloud Storage in the form + /// 'http(s)://storage.googleapis.com/\/\'. #[prost(string, tag="3")] pub source_url: ::prost::alloc::string::String, - /// An estimate of the number of files in a zip for a zip deployment. - /// If set, must be greater than or equal to the actual number of files. - /// Used for optimizing performance; if not provided, deployment may be slow. + /// An estimate of the number of files in a zip for a zip deployment. + /// If set, must be greater than or equal to the actual number of files. + /// Used for optimizing performance; if not provided, deployment may be slow. #[prost(int32, tag="4")] pub files_count: i32, } -/// A NetworkSettings resource is a container for ingress settings for a version -/// or service. +/// A NetworkSettings resource is a container for ingress settings for a version +/// or service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkSettings { - /// The ingress settings for version or service. + /// The ingress settings for version or service. #[prost(enumeration="network_settings::IngressTrafficAllowed", tag="1")] pub ingress_traffic_allowed: i32, } /// Nested message and enum types in `NetworkSettings`. pub mod network_settings { - /// If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. + /// If unspecified, INGRESS_TRAFFIC_ALLOWED_ALL will be used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IngressTrafficAllowed { - /// Unspecified + /// Unspecified Unspecified = 0, - /// Allow HTTP traffic from public and private sources. + /// Allow HTTP traffic from public and private sources. All = 1, - /// Allow HTTP traffic from only private VPC sources. + /// Allow HTTP traffic from only private VPC sources. InternalOnly = 2, - /// Allow HTTP traffic from private VPC sources and through load balancers. + /// Allow HTTP traffic from private VPC sources and through load balancers. InternalAndLb = 3, } impl IngressTrafficAllowed { @@ -1218,276 +1218,276 @@ pub mod network_settings { } } } -/// A Version resource is a specific set of source code and configuration files -/// that are deployed into a service. +/// A Version resource is a specific set of source code and configuration files +/// that are deployed into a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Version { - /// Full path to the Version resource in the API. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Full path to the Version resource in the API. Example: + /// `apps/myapp/services/default/versions/v1`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the version within the service. Example: `v1`. - /// Version names can contain only lowercase letters, numbers, or hyphens. - /// Reserved names: "default", "latest", and any name with the prefix "ah-". + /// Relative name of the version within the service. Example: `v1`. + /// Version names can contain only lowercase letters, numbers, or hyphens. + /// Reserved names: "default", "latest", and any name with the prefix "ah-". #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Before an application can receive email or XMPP messages, the application - /// must be configured to enable the service. + /// Before an application can receive email or XMPP messages, the application + /// must be configured to enable the service. #[prost(enumeration="InboundServiceType", repeated, tag="6")] pub inbound_services: ::prost::alloc::vec::Vec, - /// Instance class that is used to run this version. Valid values are: + /// Instance class that is used to run this version. Valid values are: /// - /// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` - /// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` + /// * AutomaticScaling: `F1`, `F2`, `F4`, `F4_1G` + /// * ManualScaling or BasicScaling: `B1`, `B2`, `B4`, `B8`, `B4_1G` /// - /// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or - /// BasicScaling. + /// Defaults to `F1` for AutomaticScaling and `B1` for ManualScaling or + /// BasicScaling. #[prost(string, tag="7")] pub instance_class: ::prost::alloc::string::String, - /// Extra network settings. - /// Only applicable in the App Engine flexible environment. + /// Extra network settings. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="8")] pub network: ::core::option::Option, - /// The Google Compute Engine zones that are supported by this version in the - /// App Engine flexible environment. Deprecated. + /// The Google Compute Engine zones that are supported by this version in the + /// App Engine flexible environment. Deprecated. #[prost(string, repeated, tag="118")] pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Machine resources for this version. - /// Only applicable in the App Engine flexible environment. + /// Machine resources for this version. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="9")] pub resources: ::core::option::Option, - /// Desired runtime. Example: `python27`. + /// Desired runtime. Example: `python27`. #[prost(string, tag="10")] pub runtime: ::prost::alloc::string::String, - /// The channel of the runtime to use. Only available for some - /// runtimes. Defaults to the `default` channel. + /// The channel of the runtime to use. Only available for some + /// runtimes. Defaults to the `default` channel. #[prost(string, tag="117")] pub runtime_channel: ::prost::alloc::string::String, - /// Whether multiple requests can be dispatched to this version at once. + /// Whether multiple requests can be dispatched to this version at once. #[prost(bool, tag="11")] pub threadsafe: bool, - /// Whether to deploy this version in a container on a virtual machine. + /// Whether to deploy this version in a container on a virtual machine. #[prost(bool, tag="12")] pub vm: bool, - /// app_engine_apis allows second generation runtimes to access the - /// App Engine APIs. + /// app_engine_apis allows second generation runtimes to access the + /// App Engine APIs. #[prost(bool, tag="128")] pub app_engine_apis: bool, - /// Metadata settings that are supplied to this version to enable - /// beta runtime features. + /// Metadata settings that are supplied to this version to enable + /// beta runtime features. #[prost(map="string, string", tag="13")] pub beta_settings: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// App Engine execution environment for this version. + /// App Engine execution environment for this version. /// - /// Defaults to `standard`. + /// Defaults to `standard`. #[prost(string, tag="14")] pub env: ::prost::alloc::string::String, - /// Current serving status of this version. Only the versions with a - /// `SERVING` status create instances and can be billed. + /// Current serving status of this version. Only the versions with a + /// `SERVING` status create instances and can be billed. /// - /// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`. + /// `SERVING_STATUS_UNSPECIFIED` is an invalid value. Defaults to `SERVING`. #[prost(enumeration="ServingStatus", tag="15")] pub serving_status: i32, - /// Email address of the user who created this version. + /// Email address of the user who created this version. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="16")] pub created_by: ::prost::alloc::string::String, - /// Time that this version was created. + /// Time that this version was created. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="17")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Total size in bytes of all the files that are included in this version - /// and currently hosted on the App Engine disk. + /// Total size in bytes of all the files that are included in this version + /// and currently hosted on the App Engine disk. /// - /// @OutputOnly + /// @OutputOnly #[prost(int64, tag="18")] pub disk_usage_bytes: i64, - /// The version of the API in the given runtime environment. Please see the - /// app.yaml reference for valid values at - /// /config/appref> + /// The version of the API in the given runtime environment. Please see the + /// app.yaml reference for valid values at + /// /config/appref> #[prost(string, tag="21")] pub runtime_api_version: ::prost::alloc::string::String, - /// The path or name of the app's main executable. + /// The path or name of the app's main executable. #[prost(string, tag="22")] pub runtime_main_executable_path: ::prost::alloc::string::String, - /// The identity that the deployed version will run as. - /// Admin API will use the App Engine Appspot service account as default if - /// this field is neither provided in app.yaml file nor through CLI flag. + /// The identity that the deployed version will run as. + /// Admin API will use the App Engine Appspot service account as default if + /// this field is neither provided in app.yaml file nor through CLI flag. #[prost(string, tag="127")] pub service_account: ::prost::alloc::string::String, - /// An ordered list of URL-matching patterns that should be applied to incoming - /// requests. The first matching URL handles the request and other request - /// handlers are not attempted. + /// An ordered list of URL-matching patterns that should be applied to incoming + /// requests. The first matching URL handles the request and other request + /// handlers are not attempted. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="100")] pub handlers: ::prost::alloc::vec::Vec, - /// Custom static error pages. Limited to 10KB per page. + /// Custom static error pages. Limited to 10KB per page. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="101")] pub error_handlers: ::prost::alloc::vec::Vec, - /// Configuration for third-party Python runtime libraries that are required - /// by the application. + /// Configuration for third-party Python runtime libraries that are required + /// by the application. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, repeated, tag="102")] pub libraries: ::prost::alloc::vec::Vec, - /// Serving configuration for - /// [Google Cloud Endpoints](). + /// Serving configuration for + /// [Google Cloud Endpoints](). /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="103")] pub api_config: ::core::option::Option, - /// Environment variables available to the application. + /// Environment variables available to the application. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(map="string, string", tag="104")] pub env_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Environment variables available to the build environment. + /// Environment variables available to the build environment. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(map="string, string", tag="125")] pub build_env_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Duration that static files should be cached by web proxies and browsers. - /// Only applicable if the corresponding - /// \[StaticFilesHandler\]() - /// does not specify its own expiration time. + /// Duration that static files should be cached by web proxies and browsers. + /// Only applicable if the corresponding + /// \[StaticFilesHandler\]() + /// does not specify its own expiration time. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="105")] pub default_expiration: ::core::option::Option<::prost_types::Duration>, - /// Configures health checking for instances. Unhealthy instances are - /// stopped and replaced with new instances. - /// Only applicable in the App Engine flexible environment. + /// Configures health checking for instances. Unhealthy instances are + /// stopped and replaced with new instances. + /// Only applicable in the App Engine flexible environment. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="106")] pub health_check: ::core::option::Option, - /// Configures readiness health checking for instances. - /// Unhealthy instances are not put into the backend traffic rotation. + /// Configures readiness health checking for instances. + /// Unhealthy instances are not put into the backend traffic rotation. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="112")] pub readiness_check: ::core::option::Option, - /// Configures liveness health checking for instances. - /// Unhealthy instances are stopped and replaced with new instances + /// Configures liveness health checking for instances. + /// Unhealthy instances are stopped and replaced with new instances /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="113")] pub liveness_check: ::core::option::Option, - /// Files that match this pattern will not be built into this version. - /// Only applicable for Go runtimes. + /// Files that match this pattern will not be built into this version. + /// Only applicable for Go runtimes. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(string, tag="107")] pub nobuild_files_regex: ::prost::alloc::string::String, - /// Code and application artifacts that make up this version. + /// Code and application artifacts that make up this version. /// - /// Only returned in `GET` requests if `view=FULL` is set. + /// Only returned in `GET` requests if `view=FULL` is set. #[prost(message, optional, tag="108")] pub deployment: ::core::option::Option, - /// Serving URL for this version. Example: - /// " + /// Serving URL for this version. Example: + /// " /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="109")] pub version_url: ::prost::alloc::string::String, - /// Cloud Endpoints configuration. + /// Cloud Endpoints configuration. /// - /// If endpoints_api_service is set, the Cloud Endpoints Extensible Service - /// Proxy will be provided to serve the API implemented by the app. + /// If endpoints_api_service is set, the Cloud Endpoints Extensible Service + /// Proxy will be provided to serve the API implemented by the app. #[prost(message, optional, tag="110")] pub endpoints_api_service: ::core::option::Option, - /// The entrypoint for the application. + /// The entrypoint for the application. #[prost(message, optional, tag="122")] pub entrypoint: ::core::option::Option, - /// Enables VPC connectivity for standard apps. + /// Enables VPC connectivity for standard apps. #[prost(message, optional, tag="121")] pub vpc_access_connector: ::core::option::Option, - /// Controls how instances are created, scaled, and reaped. + /// Controls how instances are created, scaled, and reaped. /// - /// Defaults to `AutomaticScaling`. + /// Defaults to `AutomaticScaling`. #[prost(oneof="version::Scaling", tags="3, 4, 5")] pub scaling: ::core::option::Option, } /// Nested message and enum types in `Version`. pub mod version { - /// Controls how instances are created, scaled, and reaped. + /// Controls how instances are created, scaled, and reaped. /// - /// Defaults to `AutomaticScaling`. + /// Defaults to `AutomaticScaling`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scaling { - /// Automatic scaling is based on request rate, response latencies, and other - /// application metrics. Instances are dynamically created and destroyed as - /// needed in order to handle traffic. + /// Automatic scaling is based on request rate, response latencies, and other + /// application metrics. Instances are dynamically created and destroyed as + /// needed in order to handle traffic. #[prost(message, tag="3")] AutomaticScaling(super::AutomaticScaling), - /// A service with basic scaling will create an instance when the application - /// receives a request. The instance will be turned down when the app becomes - /// idle. Basic scaling is ideal for work that is intermittent or driven by - /// user activity. + /// A service with basic scaling will create an instance when the application + /// receives a request. The instance will be turned down when the app becomes + /// idle. Basic scaling is ideal for work that is intermittent or driven by + /// user activity. #[prost(message, tag="4")] BasicScaling(super::BasicScaling), - /// A service with manual scaling runs continuously, allowing you to perform - /// complex initialization and rely on the state of its memory over time. - /// Manually scaled versions are sometimes referred to as "backends". + /// A service with manual scaling runs continuously, allowing you to perform + /// complex initialization and rely on the state of its memory over time. + /// Manually scaled versions are sometimes referred to as "backends". #[prost(message, tag="5")] ManualScaling(super::ManualScaling), } } -/// [Cloud Endpoints]() configuration. -/// The Endpoints API Service provides tooling for serving Open API and gRPC -/// endpoints via an NGINX proxy. Only valid for App Engine Flexible environment -/// deployments. +/// [Cloud Endpoints]() configuration. +/// The Endpoints API Service provides tooling for serving Open API and gRPC +/// endpoints via an NGINX proxy. Only valid for App Engine Flexible environment +/// deployments. /// -/// The fields here refer to the name and configuration ID of a "service" -/// resource in the [Service Management API](). +/// The fields here refer to the name and configuration ID of a "service" +/// resource in the [Service Management API](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndpointsApiService { - /// Endpoints service name which is the name of the "service" resource in the - /// Service Management API. For example "myapi.endpoints.myproject.cloud.goog" + /// Endpoints service name which is the name of the "service" resource in the + /// Service Management API. For example "myapi.endpoints.myproject.cloud.goog" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Endpoints service configuration ID as specified by the Service Management - /// API. For example "2016-09-19r1". - /// - /// By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. - /// This means that Endpoints starts up with a particular configuration ID. - /// When a new configuration is rolled out, Endpoints must be given the new - /// configuration ID. The `config_id` field is used to give the configuration - /// ID and is required in this case. - /// - /// Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. - /// When using this, Endpoints fetches the latest configuration and does not - /// need the configuration ID. In this case, `config_id` must be omitted. + /// Endpoints service configuration ID as specified by the Service Management + /// API. For example "2016-09-19r1". + /// + /// By default, the rollout strategy for Endpoints is `RolloutStrategy.FIXED`. + /// This means that Endpoints starts up with a particular configuration ID. + /// When a new configuration is rolled out, Endpoints must be given the new + /// configuration ID. The `config_id` field is used to give the configuration + /// ID and is required in this case. + /// + /// Endpoints also has a rollout strategy called `RolloutStrategy.MANAGED`. + /// When using this, Endpoints fetches the latest configuration and does not + /// need the configuration ID. In this case, `config_id` must be omitted. #[prost(string, tag="2")] pub config_id: ::prost::alloc::string::String, - /// Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If - /// `MANAGED`, `config_id` must be omitted. + /// Endpoints rollout strategy. If `FIXED`, `config_id` must be specified. If + /// `MANAGED`, `config_id` must be omitted. #[prost(enumeration="endpoints_api_service::RolloutStrategy", tag="3")] pub rollout_strategy: i32, - /// Enable or disable trace sampling. By default, this is set to false for - /// enabled. + /// Enable or disable trace sampling. By default, this is set to false for + /// enabled. #[prost(bool, tag="4")] pub disable_trace_sampling: bool, } /// Nested message and enum types in `EndpointsApiService`. pub mod endpoints_api_service { - /// Available rollout strategies. + /// Available rollout strategies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RolloutStrategy { - /// Not specified. Defaults to `FIXED`. + /// Not specified. Defaults to `FIXED`. UnspecifiedRolloutStrategy = 0, - /// Endpoints service configuration ID will be fixed to the configuration ID - /// specified by `config_id`. + /// Endpoints service configuration ID will be fixed to the configuration ID + /// specified by `config_id`. Fixed = 1, - /// Endpoints service configuration ID will be updated with each rollout. + /// Endpoints service configuration ID will be updated with each rollout. Managed = 2, } impl RolloutStrategy { @@ -1504,326 +1504,326 @@ pub mod endpoints_api_service { } } } -/// Automatic scaling is based on request rate, response latencies, and other -/// application metrics. +/// Automatic scaling is based on request rate, response latencies, and other +/// application metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomaticScaling { - /// The time period that the - /// \[Autoscaler\]() - /// should wait before it starts collecting information from a new instance. - /// This prevents the autoscaler from collecting information when the instance - /// is initializing, during which the collected usage would not be reliable. - /// Only applicable in the App Engine flexible environment. + /// The time period that the + /// \[Autoscaler\]() + /// should wait before it starts collecting information from a new instance. + /// This prevents the autoscaler from collecting information when the instance + /// is initializing, during which the collected usage would not be reliable. + /// Only applicable in the App Engine flexible environment. #[prost(message, optional, tag="1")] pub cool_down_period: ::core::option::Option<::prost_types::Duration>, - /// Target scaling by CPU usage. + /// Target scaling by CPU usage. #[prost(message, optional, tag="2")] pub cpu_utilization: ::core::option::Option, - /// Number of concurrent requests an automatic scaling instance can accept - /// before the scheduler spawns a new instance. + /// Number of concurrent requests an automatic scaling instance can accept + /// before the scheduler spawns a new instance. /// - /// Defaults to a runtime-specific value. + /// Defaults to a runtime-specific value. #[prost(int32, tag="3")] pub max_concurrent_requests: i32, - /// Maximum number of idle instances that should be maintained for this - /// version. + /// Maximum number of idle instances that should be maintained for this + /// version. #[prost(int32, tag="4")] pub max_idle_instances: i32, - /// Maximum number of instances that should be started to handle requests for - /// this version. + /// Maximum number of instances that should be started to handle requests for + /// this version. #[prost(int32, tag="5")] pub max_total_instances: i32, - /// Maximum amount of time that a request should wait in the pending queue - /// before starting a new instance to handle it. + /// Maximum amount of time that a request should wait in the pending queue + /// before starting a new instance to handle it. #[prost(message, optional, tag="6")] pub max_pending_latency: ::core::option::Option<::prost_types::Duration>, - /// Minimum number of idle instances that should be maintained for - /// this version. Only applicable for the default version of a service. + /// Minimum number of idle instances that should be maintained for + /// this version. Only applicable for the default version of a service. #[prost(int32, tag="7")] pub min_idle_instances: i32, - /// Minimum number of running instances that should be maintained for this - /// version. + /// Minimum number of running instances that should be maintained for this + /// version. #[prost(int32, tag="8")] pub min_total_instances: i32, - /// Minimum amount of time a request should wait in the pending queue before - /// starting a new instance to handle it. + /// Minimum amount of time a request should wait in the pending queue before + /// starting a new instance to handle it. #[prost(message, optional, tag="9")] pub min_pending_latency: ::core::option::Option<::prost_types::Duration>, - /// Target scaling by request utilization. + /// Target scaling by request utilization. #[prost(message, optional, tag="10")] pub request_utilization: ::core::option::Option, - /// Target scaling by disk usage. + /// Target scaling by disk usage. #[prost(message, optional, tag="11")] pub disk_utilization: ::core::option::Option, - /// Target scaling by network usage. + /// Target scaling by network usage. #[prost(message, optional, tag="12")] pub network_utilization: ::core::option::Option, - /// Target scaling by user-provided metrics. - /// Only applicable in the App Engine flexible environment. + /// Target scaling by user-provided metrics. + /// Only applicable in the App Engine flexible environment. #[prost(message, repeated, tag="21")] pub custom_metrics: ::prost::alloc::vec::Vec, - /// Scheduler settings for standard environment. + /// Scheduler settings for standard environment. #[prost(message, optional, tag="20")] pub standard_scheduler_settings: ::core::option::Option, } -/// A service with basic scaling will create an instance when the application -/// receives a request. The instance will be turned down when the app becomes -/// idle. Basic scaling is ideal for work that is intermittent or driven by -/// user activity. +/// A service with basic scaling will create an instance when the application +/// receives a request. The instance will be turned down when the app becomes +/// idle. Basic scaling is ideal for work that is intermittent or driven by +/// user activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicScaling { - /// Duration of time after the last request that an instance must wait before - /// the instance is shut down. + /// Duration of time after the last request that an instance must wait before + /// the instance is shut down. #[prost(message, optional, tag="1")] pub idle_timeout: ::core::option::Option<::prost_types::Duration>, - /// Maximum number of instances to create for this version. + /// Maximum number of instances to create for this version. #[prost(int32, tag="2")] pub max_instances: i32, } -/// A service with manual scaling runs continuously, allowing you to perform -/// complex initialization and rely on the state of its memory over time. +/// A service with manual scaling runs continuously, allowing you to perform +/// complex initialization and rely on the state of its memory over time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualScaling { - /// Number of instances to assign to the service at the start. This number - /// can later be altered by using the - /// [Modules API]() - /// `set_num_instances()` function. + /// Number of instances to assign to the service at the start. This number + /// can later be altered by using the + /// [Modules API]() + /// `set_num_instances()` function. #[prost(int32, tag="1")] pub instances: i32, } -/// Target scaling by CPU usage. +/// Target scaling by CPU usage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CpuUtilization { - /// Period of time over which CPU utilization is calculated. + /// Period of time over which CPU utilization is calculated. #[prost(message, optional, tag="1")] pub aggregation_window_length: ::core::option::Option<::prost_types::Duration>, - /// Target CPU utilization ratio to maintain when scaling. Must be between 0 - /// and 1. + /// Target CPU utilization ratio to maintain when scaling. Must be between 0 + /// and 1. #[prost(double, tag="2")] pub target_utilization: f64, } -/// Target scaling by request utilization. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by request utilization. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestUtilization { - /// Target requests per second. + /// Target requests per second. #[prost(int32, tag="1")] pub target_request_count_per_second: i32, - /// Target number of concurrent requests. + /// Target number of concurrent requests. #[prost(int32, tag="2")] pub target_concurrent_requests: i32, } -/// Target scaling by disk usage. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by disk usage. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskUtilization { - /// Target bytes written per second. + /// Target bytes written per second. #[prost(int32, tag="14")] pub target_write_bytes_per_second: i32, - /// Target ops written per second. + /// Target ops written per second. #[prost(int32, tag="15")] pub target_write_ops_per_second: i32, - /// Target bytes read per second. + /// Target bytes read per second. #[prost(int32, tag="16")] pub target_read_bytes_per_second: i32, - /// Target ops read per seconds. + /// Target ops read per seconds. #[prost(int32, tag="17")] pub target_read_ops_per_second: i32, } -/// Target scaling by network usage. -/// Only applicable in the App Engine flexible environment. +/// Target scaling by network usage. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkUtilization { - /// Target bytes sent per second. + /// Target bytes sent per second. #[prost(int32, tag="1")] pub target_sent_bytes_per_second: i32, - /// Target packets sent per second. + /// Target packets sent per second. #[prost(int32, tag="11")] pub target_sent_packets_per_second: i32, - /// Target bytes received per second. + /// Target bytes received per second. #[prost(int32, tag="12")] pub target_received_bytes_per_second: i32, - /// Target packets received per second. + /// Target packets received per second. #[prost(int32, tag="13")] pub target_received_packets_per_second: i32, } -/// Allows autoscaling based on Stackdriver metrics. +/// Allows autoscaling based on Stackdriver metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomMetric { - /// The name of the metric. + /// The name of the metric. #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, - /// The type of the metric. Must be a string representing a Stackdriver - /// metric type e.g. GAGUE, DELTA_PER_SECOND, etc. + /// The type of the metric. Must be a string representing a Stackdriver + /// metric type e.g. GAGUE, DELTA_PER_SECOND, etc. #[prost(string, tag="2")] pub target_type: ::prost::alloc::string::String, - /// Allows filtering on the metric's fields. + /// Allows filtering on the metric's fields. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, - /// The target spec. + /// The target spec. #[prost(oneof="custom_metric::TargetSpec", tags="3, 4")] pub target_spec: ::core::option::Option, } /// Nested message and enum types in `CustomMetric`. pub mod custom_metric { - /// The target spec. + /// The target spec. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetSpec { - /// The target value for the metric. + /// The target value for the metric. #[prost(double, tag="3")] TargetUtilization(f64), - /// May be used instead of `target_utilization` when an instance can handle a - /// specific amount of work/resources and the metric value is equal to the - /// current amount of work remaining. The autoscaler will try to keep the - /// number of instances equal to the metric value divided by - /// `single_instance_assignment`. + /// May be used instead of `target_utilization` when an instance can handle a + /// specific amount of work/resources and the metric value is equal to the + /// current amount of work remaining. The autoscaler will try to keep the + /// number of instances equal to the metric value divided by + /// `single_instance_assignment`. #[prost(double, tag="4")] SingleInstanceAssignment(f64), } } -/// Scheduler settings for standard environment. +/// Scheduler settings for standard environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardSchedulerSettings { - /// Target CPU utilization ratio to maintain when scaling. + /// Target CPU utilization ratio to maintain when scaling. #[prost(double, tag="1")] pub target_cpu_utilization: f64, - /// Target throughput utilization ratio to maintain when scaling + /// Target throughput utilization ratio to maintain when scaling #[prost(double, tag="2")] pub target_throughput_utilization: f64, - /// Minimum number of instances to run for this version. Set to zero to disable - /// `min_instances` configuration. + /// Minimum number of instances to run for this version. Set to zero to disable + /// `min_instances` configuration. #[prost(int32, tag="3")] pub min_instances: i32, - /// Maximum number of instances to run for this version. Set to zero to disable - /// `max_instances` configuration. + /// Maximum number of instances to run for this version. Set to zero to disable + /// `max_instances` configuration. #[prost(int32, tag="4")] pub max_instances: i32, } -/// Extra network settings. -/// Only applicable in the App Engine flexible environment. +/// Extra network settings. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Network { - /// List of ports, or port pairs, to forward from the virtual machine to the - /// application container. - /// Only applicable in the App Engine flexible environment. + /// List of ports, or port pairs, to forward from the virtual machine to the + /// application container. + /// Only applicable in the App Engine flexible environment. #[prost(string, repeated, tag="1")] pub forwarded_ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Tag to apply to the instance during creation. - /// Only applicable in the App Engine flexible environment. + /// Tag to apply to the instance during creation. + /// Only applicable in the App Engine flexible environment. #[prost(string, tag="2")] pub instance_tag: ::prost::alloc::string::String, - /// Google Compute Engine network where the virtual machines are created. - /// Specify the short name, not the resource path. + /// Google Compute Engine network where the virtual machines are created. + /// Specify the short name, not the resource path. /// - /// Defaults to `default`. + /// Defaults to `default`. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, - /// Google Cloud Platform sub-network where the virtual machines are created. - /// Specify the short name, not the resource path. - /// - /// If a subnetwork name is specified, a network name will also be required - /// unless it is for the default network. - /// - /// * If the network that the instance is being created in is a Legacy network, - /// then the IP address is allocated from the IPv4Range. - /// * If the network that the instance is being created in is an auto Subnet - /// Mode Network, then only network name should be specified (not the - /// subnetwork_name) and the IP address is created from the IPCidrRange of the - /// subnetwork that exists in that zone for that network. - /// * If the network that the instance is being created in is a custom Subnet - /// Mode Network, then the subnetwork_name must be specified and the - /// IP address is created from the IPCidrRange of the subnetwork. - /// - /// If specified, the subnetwork must exist in the same region as the - /// App Engine flexible environment application. + /// Google Cloud Platform sub-network where the virtual machines are created. + /// Specify the short name, not the resource path. + /// + /// If a subnetwork name is specified, a network name will also be required + /// unless it is for the default network. + /// + /// * If the network that the instance is being created in is a Legacy network, + /// then the IP address is allocated from the IPv4Range. + /// * If the network that the instance is being created in is an auto Subnet + /// Mode Network, then only network name should be specified (not the + /// subnetwork_name) and the IP address is created from the IPCidrRange of the + /// subnetwork that exists in that zone for that network. + /// * If the network that the instance is being created in is a custom Subnet + /// Mode Network, then the subnetwork_name must be specified and the + /// IP address is created from the IPCidrRange of the subnetwork. + /// + /// If specified, the subnetwork must exist in the same region as the + /// App Engine flexible environment application. #[prost(string, tag="4")] pub subnetwork_name: ::prost::alloc::string::String, - /// Enable session affinity. - /// Only applicable in the App Engine flexible environment. + /// Enable session affinity. + /// Only applicable in the App Engine flexible environment. #[prost(bool, tag="5")] pub session_affinity: bool, } -/// Volumes mounted within the app container. -/// Only applicable in the App Engine flexible environment. +/// Volumes mounted within the app container. +/// Only applicable in the App Engine flexible environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Volume { - /// Unique name for the volume. + /// Unique name for the volume. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Underlying volume type, e.g. 'tmpfs'. + /// Underlying volume type, e.g. 'tmpfs'. #[prost(string, tag="2")] pub volume_type: ::prost::alloc::string::String, - /// Volume size in gigabytes. + /// Volume size in gigabytes. #[prost(double, tag="3")] pub size_gb: f64, } -/// Machine resources for a version. +/// Machine resources for a version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resources { - /// Number of CPU cores needed. + /// Number of CPU cores needed. #[prost(double, tag="1")] pub cpu: f64, - /// Disk size (GB) needed. + /// Disk size (GB) needed. #[prost(double, tag="2")] pub disk_gb: f64, - /// Memory (GB) needed. + /// Memory (GB) needed. #[prost(double, tag="3")] pub memory_gb: f64, - /// User specified volumes. + /// User specified volumes. #[prost(message, repeated, tag="4")] pub volumes: ::prost::alloc::vec::Vec, - /// The name of the encryption key that is stored in Google Cloud KMS. - /// Only should be used by Cloud Composer to encrypt the vm disk + /// The name of the encryption key that is stored in Google Cloud KMS. + /// Only should be used by Cloud Composer to encrypt the vm disk #[prost(string, tag="5")] pub kms_key_reference: ::prost::alloc::string::String, } -/// VPC access connector specification. +/// VPC access connector specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcAccessConnector { - /// Full Serverless VPC Access Connector name e.g. - /// /projects/my-project/locations/us-central1/connectors/c1. + /// Full Serverless VPC Access Connector name e.g. + /// /projects/my-project/locations/us-central1/connectors/c1. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The entrypoint for the application. +/// The entrypoint for the application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entrypoint { - /// The command to run. + /// The command to run. #[prost(oneof="entrypoint::Command", tags="1")] pub command: ::core::option::Option, } /// Nested message and enum types in `Entrypoint`. pub mod entrypoint { - /// The command to run. + /// The command to run. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Command { - /// The format should be a shell command that can be fed to `bash -c`. + /// The format should be a shell command that can be fed to `bash -c`. #[prost(string, tag="1")] Shell(::prost::alloc::string::String), } } -/// Available inbound services. +/// Available inbound services. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InboundServiceType { - /// Not specified. + /// Not specified. InboundServiceUnspecified = 0, - /// Allows an application to receive mail. + /// Allows an application to receive mail. InboundServiceMail = 1, - /// Allows an application to receive email-bound notifications. + /// Allows an application to receive email-bound notifications. InboundServiceMailBounce = 2, - /// Allows an application to receive error stanzas. + /// Allows an application to receive error stanzas. InboundServiceXmppError = 3, - /// Allows an application to receive instant messages. + /// Allows an application to receive instant messages. InboundServiceXmppMessage = 4, - /// Allows an application to receive user subscription POSTs. + /// Allows an application to receive user subscription POSTs. InboundServiceXmppSubscribe = 5, - /// Allows an application to receive a user's chat presence. + /// Allows an application to receive a user's chat presence. InboundServiceXmppPresence = 6, - /// Registers an application for notifications when a client connects or - /// disconnects from a channel. + /// Registers an application for notifications when a client connects or + /// disconnects from a channel. InboundServiceChannelPresence = 7, - /// Enables warmup requests. + /// Enables warmup requests. InboundServiceWarmup = 9, } impl InboundServiceType { @@ -1845,18 +1845,18 @@ impl InboundServiceType { } } } -/// Run states of a version. +/// Run states of a version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServingStatus { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Currently serving. Instances are created according to the - /// scaling settings of the version. + /// Currently serving. Instances are created according to the + /// scaling settings of the version. Serving = 1, - /// Disabled. No instances will be created and the scaling - /// settings are ignored until the state of the version changes - /// to `SERVING`. + /// Disabled. No instances will be created and the scaling + /// settings are ignored until the state of the version changes + /// to `SERVING`. Stopped = 2, } impl ServingStatus { @@ -1872,72 +1872,72 @@ impl ServingStatus { } } } -/// A Service resource is a logical component of an application that can share -/// state and communicate in a secure fashion with other services. -/// For example, an application that handles customer requests might -/// include separate services to handle tasks such as backend data -/// analysis or API requests from mobile devices. Each service has a -/// collection of versions that define a specific set of code used to -/// implement the functionality of that service. +/// A Service resource is a logical component of an application that can share +/// state and communicate in a secure fashion with other services. +/// For example, an application that handles customer requests might +/// include separate services to handle tasks such as backend data +/// analysis or API requests from mobile devices. Each service has a +/// collection of versions that define a specific set of code used to +/// implement the functionality of that service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// Full path to the Service resource in the API. - /// Example: `apps/myapp/services/default`. + /// Full path to the Service resource in the API. + /// Example: `apps/myapp/services/default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Relative name of the service within the application. - /// Example: `default`. + /// Relative name of the service within the application. + /// Example: `default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Mapping that defines fractional HTTP traffic diversion to - /// different versions within the service. + /// Mapping that defines fractional HTTP traffic diversion to + /// different versions within the service. #[prost(message, optional, tag="3")] pub split: ::core::option::Option, - /// Ingress settings for this service. Will apply to all versions. + /// Ingress settings for this service. Will apply to all versions. #[prost(message, optional, tag="6")] pub network_settings: ::core::option::Option, } -/// Traffic routing configuration for versions within a single service. Traffic -/// splits define how traffic directed to the service is assigned to versions. +/// Traffic routing configuration for versions within a single service. Traffic +/// splits define how traffic directed to the service is assigned to versions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrafficSplit { - /// Mechanism used to determine which version a request is sent to. - /// The traffic selection algorithm will - /// be stable for either type until allocations are changed. + /// Mechanism used to determine which version a request is sent to. + /// The traffic selection algorithm will + /// be stable for either type until allocations are changed. #[prost(enumeration="traffic_split::ShardBy", tag="1")] pub shard_by: i32, - /// Mapping from version IDs within the service to fractional - /// (0.000, 1] allocations of traffic for that version. Each version can - /// be specified only once, but some versions in the service may not - /// have any traffic allocation. Services that have traffic allocated - /// cannot be deleted until either the service is deleted or - /// their traffic allocation is removed. Allocations must sum to 1. - /// Up to two decimal place precision is supported for IP-based splits and - /// up to three decimal places is supported for cookie-based splits. + /// Mapping from version IDs within the service to fractional + /// (0.000, 1] allocations of traffic for that version. Each version can + /// be specified only once, but some versions in the service may not + /// have any traffic allocation. Services that have traffic allocated + /// cannot be deleted until either the service is deleted or + /// their traffic allocation is removed. Allocations must sum to 1. + /// Up to two decimal place precision is supported for IP-based splits and + /// up to three decimal places is supported for cookie-based splits. #[prost(map="string, double", tag="2")] pub allocations: ::std::collections::HashMap<::prost::alloc::string::String, f64>, } /// Nested message and enum types in `TrafficSplit`. pub mod traffic_split { - /// Available sharding mechanisms. + /// Available sharding mechanisms. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ShardBy { - /// Diversion method unspecified. + /// Diversion method unspecified. Unspecified = 0, - /// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie - /// must be set by the application itself or no diversion will occur. + /// Diversion based on a specially named cookie, "GOOGAPPUID." The cookie + /// must be set by the application itself or no diversion will occur. Cookie = 1, - /// Diversion based on applying the modulus operation to a fingerprint - /// of the IP address. + /// Diversion based on applying the modulus operation to a fingerprint + /// of the IP address. Ip = 2, - /// Diversion based on weighted random assignment. An incoming request is - /// randomly routed to a version in the traffic split, with probability - /// proportional to the version's traffic share. + /// Diversion based on weighted random assignment. An incoming request is + /// randomly routed to a version in the traffic split, with probability + /// proportional to the version's traffic share. Random = 3, } impl ShardBy { @@ -1955,504 +1955,504 @@ pub mod traffic_split { } } } -/// Request message for `Applications.GetApplication`. +/// Request message for `Applications.GetApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApplicationRequest { - /// Name of the Application resource to get. Example: `apps/myapp`. + /// Name of the Application resource to get. Example: `apps/myapp`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Applications.CreateApplication`. +/// Request message for `Applications.CreateApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApplicationRequest { - /// Application configuration. + /// Application configuration. #[prost(message, optional, tag="2")] pub application: ::core::option::Option, } -/// Request message for `Applications.UpdateApplication`. +/// Request message for `Applications.UpdateApplication`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApplicationRequest { - /// Name of the Application resource to update. Example: `apps/myapp`. + /// Name of the Application resource to update. Example: `apps/myapp`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An Application containing the updated resource. + /// An Application containing the updated resource. #[prost(message, optional, tag="2")] pub application: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for 'Applications.RepairApplication'. +/// Request message for 'Applications.RepairApplication'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RepairApplicationRequest { - /// Name of the application to repair. Example: `apps/myapp` + /// Name of the application to repair. Example: `apps/myapp` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Services.ListServices`. +/// Request message for `Services.ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Services.ListServices`. +/// Response message for `Services.ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// The services belonging to the requested application. + /// The services belonging to the requested application. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Services.GetService`. +/// Request message for `Services.GetService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceRequest { - /// Name of the resource requested. Example: `apps/myapp/services/default`. + /// Name of the resource requested. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Services.UpdateService`. +/// Request message for `Services.UpdateService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateServiceRequest { - /// Name of the resource to update. Example: `apps/myapp/services/default`. + /// Name of the resource to update. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A Service resource containing the updated service. Only fields set in the - /// field mask will be updated. + /// A Service resource containing the updated service. Only fields set in the + /// field mask will be updated. #[prost(message, optional, tag="2")] pub service: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Set to `true` to gradually shift traffic to one or more versions that you - /// specify. By default, traffic is shifted immediately. - /// For gradual traffic migration, the target versions - /// must be located within instances that are configured for both - /// [warmup requests]() - /// and - /// [automatic scaling](). - /// You must specify the - /// \[`shardBy`\]() - /// field in the Service resource. Gradual traffic migration is not - /// supported in the App Engine flexible environment. For examples, see - /// [Migrating and Splitting Traffic](). + /// Set to `true` to gradually shift traffic to one or more versions that you + /// specify. By default, traffic is shifted immediately. + /// For gradual traffic migration, the target versions + /// must be located within instances that are configured for both + /// [warmup requests]() + /// and + /// [automatic scaling](). + /// You must specify the + /// \[`shardBy`\]() + /// field in the Service resource. Gradual traffic migration is not + /// supported in the App Engine flexible environment. For examples, see + /// [Migrating and Splitting Traffic](). #[prost(bool, tag="4")] pub migrate_traffic: bool, } -/// Request message for `Services.DeleteService`. +/// Request message for `Services.DeleteService`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteServiceRequest { - /// Name of the resource requested. Example: `apps/myapp/services/default`. + /// Name of the resource requested. Example: `apps/myapp/services/default`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Versions.ListVersions`. +/// Request message for `Versions.ListVersions`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsRequest { - /// Name of the parent Service resource. Example: - /// `apps/myapp/services/default`. + /// Name of the parent Service resource. Example: + /// `apps/myapp/services/default`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `List` response. + /// Controls the set of fields returned in the `List` response. #[prost(enumeration="VersionView", tag="2")] pub view: i32, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="3")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Versions.ListVersions`. +/// Response message for `Versions.ListVersions`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVersionsResponse { - /// The versions belonging to the requested service. + /// The versions belonging to the requested service. #[prost(message, repeated, tag="1")] pub versions: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Versions.GetVersion`. +/// Request message for `Versions.GetVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVersionRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `Get` response. + /// Controls the set of fields returned in the `Get` response. #[prost(enumeration="VersionView", tag="2")] pub view: i32, } -/// Request message for `Versions.CreateVersion`. +/// Request message for `Versions.CreateVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionRequest { - /// Name of the parent resource to create this version under. Example: - /// `apps/myapp/services/default`. + /// Name of the parent resource to create this version under. Example: + /// `apps/myapp/services/default`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Application deployment configuration. + /// Application deployment configuration. #[prost(message, optional, tag="2")] pub version: ::core::option::Option, } -/// Request message for `Versions.UpdateVersion`. +/// Request message for `Versions.UpdateVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateVersionRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/services/default/versions/1`. + /// Name of the resource to update. Example: + /// `apps/myapp/services/default/versions/1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A Version containing the updated resource. Only fields set in the field - /// mask will be updated. + /// A Version containing the updated resource. Only fields set in the field + /// mask will be updated. #[prost(message, optional, tag="2")] pub version: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `Versions.DeleteVersion`. +/// Request message for `Versions.DeleteVersion`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteVersionRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.ListInstances`. +/// Request message for `Instances.ListInstances`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Name of the parent Version resource. Example: - /// `apps/myapp/services/default/versions/v1`. + /// Name of the parent Version resource. Example: + /// `apps/myapp/services/default/versions/v1`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `Instances.ListInstances`. +/// Response message for `Instances.ListInstances`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// The instances belonging to the requested version. + /// The instances belonging to the requested version. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Instances.GetInstance`. +/// Request message for `Instances.GetInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.DeleteInstance`. +/// Request message for `Instances.DeleteInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Instances.DebugInstance`. +/// Request message for `Instances.DebugInstance`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DebugInstanceRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/services/default/versions/v1/instances/instance-1`. + /// Name of the resource requested. Example: + /// `apps/myapp/services/default/versions/v1/instances/instance-1`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Public SSH key to add to the instance. Examples: + /// Public SSH key to add to the instance. Examples: /// - /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] \[USERNAME\]` - /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] google-ssh {"userName":"\[USERNAME]","expireOn":"[EXPIRE_TIME\]"}` + /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] \[USERNAME\]` + /// * `\[USERNAME\]:ssh-rsa \[KEY_VALUE\] google-ssh {"userName":"\[USERNAME]","expireOn":"[EXPIRE_TIME\]"}` /// - /// For more information, see - /// [Adding and Removing SSH Keys](). + /// For more information, see + /// [Adding and Removing SSH Keys](). #[prost(string, tag="2")] pub ssh_key: ::prost::alloc::string::String, } -/// Request message for `Firewall.ListIngressRules`. +/// Request message for `Firewall.ListIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIngressRulesRequest { - /// Name of the Firewall collection to retrieve. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the Firewall collection to retrieve. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A valid IP Address. If set, only rules matching this address will be - /// returned. The first returned rule will be the rule that fires on requests - /// from this IP. + /// A valid IP Address. If set, only rules matching this address will be + /// returned. The first returned rule will be the rule that fires on requests + /// from this IP. #[prost(string, tag="4")] pub matching_address: ::prost::alloc::string::String, } -/// Response message for `Firewall.ListIngressRules`. +/// Response message for `Firewall.ListIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIngressRulesResponse { - /// The ingress FirewallRules for this application. + /// The ingress FirewallRules for this application. #[prost(message, repeated, tag="1")] pub ingress_rules: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `Firewall.BatchUpdateIngressRules`. +/// Request message for `Firewall.BatchUpdateIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateIngressRulesRequest { - /// Name of the Firewall collection to set. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the Firewall collection to set. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A list of FirewallRules to replace the existing set. + /// A list of FirewallRules to replace the existing set. #[prost(message, repeated, tag="2")] pub ingress_rules: ::prost::alloc::vec::Vec, } -/// Response message for `Firewall.UpdateAllIngressRules`. +/// Response message for `Firewall.UpdateAllIngressRules`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateIngressRulesResponse { - /// The full list of ingress FirewallRules for this application. + /// The full list of ingress FirewallRules for this application. #[prost(message, repeated, tag="1")] pub ingress_rules: ::prost::alloc::vec::Vec, } -/// Request message for `Firewall.CreateIngressRule`. +/// Request message for `Firewall.CreateIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIngressRuleRequest { - /// Name of the parent Firewall collection in which to create a new rule. - /// Example: `apps/myapp/firewall/ingressRules`. + /// Name of the parent Firewall collection in which to create a new rule. + /// Example: `apps/myapp/firewall/ingressRules`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A FirewallRule containing the new resource. + /// A FirewallRule containing the new resource. /// - /// The user may optionally provide a position at which the new rule will be - /// placed. The positions define a sequential list starting at 1. If a rule - /// already exists at the given position, rules greater than the provided - /// position will be moved forward by one. + /// The user may optionally provide a position at which the new rule will be + /// placed. The positions define a sequential list starting at 1. If a rule + /// already exists at the given position, rules greater than the provided + /// position will be moved forward by one. /// - /// If no position is provided, the server will place the rule as the second to - /// last rule in the sequence before the required default allow-all or deny-all - /// rule. + /// If no position is provided, the server will place the rule as the second to + /// last rule in the sequence before the required default allow-all or deny-all + /// rule. #[prost(message, optional, tag="2")] pub rule: ::core::option::Option, } -/// Request message for `Firewall.GetIngressRule`. +/// Request message for `Firewall.GetIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIngressRuleRequest { - /// Name of the Firewall resource to retrieve. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to retrieve. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `Firewall.UpdateIngressRule`. +/// Request message for `Firewall.UpdateIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIngressRuleRequest { - /// Name of the Firewall resource to update. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to update. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A FirewallRule containing the updated resource + /// A FirewallRule containing the updated resource #[prost(message, optional, tag="2")] pub rule: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `Firewall.DeleteIngressRule`. +/// Request message for `Firewall.DeleteIngressRule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIngressRuleRequest { - /// Name of the Firewall resource to delete. - /// Example: `apps/myapp/firewall/ingressRules/100`. + /// Name of the Firewall resource to delete. + /// Example: `apps/myapp/firewall/ingressRules/100`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `AuthorizedDomains.ListAuthorizedDomains`. +/// Request message for `AuthorizedDomains.ListAuthorizedDomains`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedDomainsRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `AuthorizedDomains.ListAuthorizedDomains`. +/// Response message for `AuthorizedDomains.ListAuthorizedDomains`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedDomainsResponse { - /// The authorized domains belonging to the user. + /// The authorized domains belonging to the user. #[prost(message, repeated, tag="1")] pub domains: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. +/// Request message for `AuthorizedCertificates.ListAuthorizedCertificates`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedCertificatesRequest { - /// Name of the parent `Application` resource. Example: `apps/myapp`. + /// Name of the parent `Application` resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `LIST` response. + /// Controls the set of fields returned in the `LIST` response. #[prost(enumeration="AuthorizedCertificateView", tag="4")] pub view: i32, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. +/// Response message for `AuthorizedCertificates.ListAuthorizedCertificates`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAuthorizedCertificatesResponse { - /// The SSL certificates the user is authorized to administer. + /// The SSL certificates the user is authorized to administer. #[prost(message, repeated, tag="1")] pub certificates: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `AuthorizedCertificates.GetAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.GetAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAuthorizedCertificateRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource requested. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Controls the set of fields returned in the `GET` response. + /// Controls the set of fields returned in the `GET` response. #[prost(enumeration="AuthorizedCertificateView", tag="2")] pub view: i32, } -/// Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.CreateAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAuthorizedCertificateRequest { - /// Name of the parent `Application` resource. Example: `apps/myapp`. + /// Name of the parent `Application` resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// SSL certificate data. + /// SSL certificate data. #[prost(message, optional, tag="2")] pub certificate: ::core::option::Option, } -/// Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.UpdateAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAuthorizedCertificateRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource to update. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An `AuthorizedCertificate` containing the updated resource. Only fields set - /// in the field mask will be updated. + /// An `AuthorizedCertificate` containing the updated resource. Only fields set + /// in the field mask will be updated. #[prost(message, optional, tag="2")] pub certificate: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. Updates are only - /// supported on the `certificate_raw_data` and `display_name` fields. + /// Standard field mask for the set of fields to be updated. Updates are only + /// supported on the `certificate_raw_data` and `display_name` fields. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`. +/// Request message for `AuthorizedCertificates.DeleteAuthorizedCertificate`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAuthorizedCertificateRequest { - /// Name of the resource to delete. Example: - /// `apps/myapp/authorizedCertificates/12345`. + /// Name of the resource to delete. Example: + /// `apps/myapp/authorizedCertificates/12345`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.ListDomainMappings`. +/// Request message for `DomainMappings.ListDomainMappings`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDomainMappingsRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum results to return per page. + /// Maximum results to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `DomainMappings.ListDomainMappings`. +/// Response message for `DomainMappings.ListDomainMappings`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDomainMappingsResponse { - /// The domain mappings for the application. + /// The domain mappings for the application. #[prost(message, repeated, tag="1")] pub domain_mappings: ::prost::alloc::vec::Vec, - /// Continuation token for fetching the next page of results. + /// Continuation token for fetching the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.GetDomainMapping`. +/// Request message for `DomainMappings.GetDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDomainMappingRequest { - /// Name of the resource requested. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource requested. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `DomainMappings.CreateDomainMapping`. +/// Request message for `DomainMappings.CreateDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDomainMappingRequest { - /// Name of the parent Application resource. Example: `apps/myapp`. + /// Name of the parent Application resource. Example: `apps/myapp`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Domain mapping configuration. + /// Domain mapping configuration. #[prost(message, optional, tag="2")] pub domain_mapping: ::core::option::Option, - /// Whether the domain creation should override any existing mappings for this - /// domain. By default, overrides are rejected. + /// Whether the domain creation should override any existing mappings for this + /// domain. By default, overrides are rejected. #[prost(enumeration="DomainOverrideStrategy", tag="4")] pub override_strategy: i32, } -/// Request message for `DomainMappings.UpdateDomainMapping`. +/// Request message for `DomainMappings.UpdateDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDomainMappingRequest { - /// Name of the resource to update. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource to update. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A domain mapping containing the updated resource. Only fields set - /// in the field mask will be updated. + /// A domain mapping containing the updated resource. Only fields set + /// in the field mask will be updated. #[prost(message, optional, tag="2")] pub domain_mapping: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `DomainMappings.DeleteDomainMapping`. +/// Request message for `DomainMappings.DeleteDomainMapping`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDomainMappingRequest { - /// Name of the resource to delete. Example: - /// `apps/myapp/domainMappings/example.com`. + /// Name of the resource to delete. Example: + /// `apps/myapp/domainMappings/example.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Fields that should be returned when \[Version][google.appengine.v1beta.Version\] resources -/// are retrieved. +/// Fields that should be returned when \[Version][google.appengine.v1beta.Version\] resources +/// are retrieved. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VersionView { - /// Basic version information including scaling and inbound services, - /// but not detailed deployment information. + /// Basic version information including scaling and inbound services, + /// but not detailed deployment information. Basic = 0, - /// The information from `BASIC`, plus detailed information about the - /// deployment. This format is required when creating resources, but - /// is not returned in `Get` or `List` by default. + /// The information from `BASIC`, plus detailed information about the + /// deployment. This format is required when creating resources, but + /// is not returned in `Get` or `List` by default. Full = 1, } impl VersionView { @@ -2467,16 +2467,16 @@ impl VersionView { } } } -/// Fields that should be returned when an AuthorizedCertificate resource is -/// retrieved. +/// Fields that should be returned when an AuthorizedCertificate resource is +/// retrieved. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizedCertificateView { - /// Basic certificate information, including applicable domains and expiration - /// date. + /// Basic certificate information, including applicable domains and expiration + /// date. BasicCertificate = 0, - /// The information from `BASIC_CERTIFICATE`, plus detailed information on the - /// domain mappings that have this certificate mapped. + /// The information from `BASIC_CERTIFICATE`, plus detailed information on the + /// domain mappings that have this certificate mapped. FullCertificate = 1, } impl AuthorizedCertificateView { @@ -2491,20 +2491,20 @@ impl AuthorizedCertificateView { } } } -/// Override strategy for mutating an existing mapping. +/// Override strategy for mutating an existing mapping. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DomainOverrideStrategy { - /// Strategy unspecified. Defaults to `STRICT`. + /// Strategy unspecified. Defaults to `STRICT`. UnspecifiedDomainOverrideStrategy = 0, - /// Overrides not allowed. If a mapping already exists for the - /// specified domain, the request will return an ALREADY_EXISTS (409). + /// Overrides not allowed. If a mapping already exists for the + /// specified domain, the request will return an ALREADY_EXISTS (409). Strict = 1, - /// Overrides allowed. If a mapping already exists for the specified domain, - /// the request will overwrite it. Note that this might stop another - /// Google product from serving. For example, if the domain is - /// mapped to another App Engine application, that app will no - /// longer serve from that domain. + /// Overrides allowed. If a mapping already exists for the specified domain, + /// the request will overwrite it. Note that this might stop another + /// Google product from serving. For example, if the domain is + /// mapped to another App Engine application, that app will no + /// longer serve from that domain. Override = 2, } impl DomainOverrideStrategy { @@ -3930,123 +3930,123 @@ pub mod domain_mappings_client { } } } -/// App Engine admin service audit log. +/// App Engine admin service audit log. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditData { - /// Detailed information about methods that require it. Does not include - /// simple Get, List or Delete methods because all significant information - /// (resource name, number of returned elements for List operations) is already - /// included in parent audit log message. + /// Detailed information about methods that require it. Does not include + /// simple Get, List or Delete methods because all significant information + /// (resource name, number of returned elements for List operations) is already + /// included in parent audit log message. #[prost(oneof="audit_data::Method", tags="1, 2")] pub method: ::core::option::Option, } /// Nested message and enum types in `AuditData`. pub mod audit_data { - /// Detailed information about methods that require it. Does not include - /// simple Get, List or Delete methods because all significant information - /// (resource name, number of returned elements for List operations) is already - /// included in parent audit log message. + /// Detailed information about methods that require it. Does not include + /// simple Get, List or Delete methods because all significant information + /// (resource name, number of returned elements for List operations) is already + /// included in parent audit log message. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Method { - /// Detailed information about UpdateService call. + /// Detailed information about UpdateService call. #[prost(message, tag="1")] UpdateService(super::UpdateServiceMethod), - /// Detailed information about CreateVersion call. + /// Detailed information about CreateVersion call. #[prost(message, tag="2")] CreateVersion(super::CreateVersionMethod), } } -/// Detailed information about UpdateService call. +/// Detailed information about UpdateService call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateServiceMethod { - /// Update service request. + /// Update service request. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, } -/// Detailed information about CreateVersion call. +/// Detailed information about CreateVersion call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionMethod { - /// Create version request. + /// Create version request. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, } -/// Metadata for the given \[google.cloud.location.Location][google.cloud.location.Location\]. +/// Metadata for the given \[google.cloud.location.Location][google.cloud.location.Location\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationMetadata { - /// App Engine standard environment is available in the given location. + /// App Engine standard environment is available in the given location. /// - /// @OutputOnly + /// @OutputOnly #[prost(bool, tag="2")] pub standard_environment_available: bool, - /// App Engine flexible environment is available in the given location. + /// App Engine flexible environment is available in the given location. /// - /// @OutputOnly + /// @OutputOnly #[prost(bool, tag="4")] pub flexible_environment_available: bool, - /// Output only. [Search API]() - /// is available in the given location. + /// Output only. [Search API]() + /// is available in the given location. #[prost(bool, tag="6")] pub search_api_available: bool, } -/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\]. +/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadataV1Beta { - /// API method that initiated this operation. Example: - /// `google.appengine.v1beta.Versions.CreateVersion`. + /// API method that initiated this operation. Example: + /// `google.appengine.v1beta.Versions.CreateVersion`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="1")] pub method: ::prost::alloc::string::String, - /// Time that this operation was created. + /// Time that this operation was created. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="2")] pub insert_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time that this operation completed. + /// Time that this operation completed. /// - /// @OutputOnly + /// @OutputOnly #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// User who requested this operation. + /// User who requested this operation. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="4")] pub user: ::prost::alloc::string::String, - /// Name of the resource that this operation is acting on. Example: - /// `apps/myapp/services/default`. + /// Name of the resource that this operation is acting on. Example: + /// `apps/myapp/services/default`. /// - /// @OutputOnly + /// @OutputOnly #[prost(string, tag="5")] pub target: ::prost::alloc::string::String, - /// Ephemeral message that may change every time the operation is polled. - /// @OutputOnly + /// Ephemeral message that may change every time the operation is polled. + /// @OutputOnly #[prost(string, tag="6")] pub ephemeral_message: ::prost::alloc::string::String, - /// Durable messages that persist on every operation poll. - /// @OutputOnly + /// Durable messages that persist on every operation poll. + /// @OutputOnly #[prost(string, repeated, tag="7")] pub warning: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Metadata specific to the type of operation in progress. - /// @OutputOnly + /// Metadata specific to the type of operation in progress. + /// @OutputOnly #[prost(oneof="operation_metadata_v1_beta::MethodMetadata", tags="8")] pub method_metadata: ::core::option::Option, } /// Nested message and enum types in `OperationMetadataV1Beta`. pub mod operation_metadata_v1_beta { - /// Metadata specific to the type of operation in progress. - /// @OutputOnly + /// Metadata specific to the type of operation in progress. + /// @OutputOnly #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MethodMetadata { #[prost(message, tag="8")] CreateVersionMetadata(super::CreateVersionMetadataV1Beta), } } -/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\] during a -/// \[google.appengine.v1beta.CreateVersionRequest][google.appengine.v1beta.CreateVersionRequest\]. +/// Metadata for the given \[google.longrunning.Operation][google.longrunning.Operation\] during a +/// \[google.appengine.v1beta.CreateVersionRequest][google.appengine.v1beta.CreateVersionRequest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateVersionMetadataV1Beta { - /// The Cloud Build ID if one was created as part of the version create. - /// @OutputOnly + /// The Cloud Build ID if one was created as part of the version create. + /// @OutputOnly #[prost(string, tag="1")] pub cloud_build_id: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.apps.alertcenter.v1beta1.rs b/gcloud-sdk/genproto/google.apps.alertcenter.v1beta1.rs index a0ce5b0a7..0a9909e1f 100644 --- a/gcloud-sdk/genproto/google.apps.alertcenter.v1beta1.rs +++ b/gcloud-sdk/genproto/google.apps.alertcenter.v1beta1.rs @@ -1,187 +1,187 @@ -/// An alert affecting a customer. +/// An alert affecting a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Alert { - /// Output only. The unique identifier of the Google account of the customer. + /// Output only. The unique identifier of the Google account of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Output only. The unique identifier for the alert. + /// Output only. The unique identifier for the alert. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, - /// Output only. The time this alert was created. + /// Output only. The time this alert was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The time the event that caused this alert was started or - /// detected. + /// Required. The time the event that caused this alert was started or + /// detected. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The time the event that caused this alert ceased being active. - /// If provided, the end time must not be earlier than the start time. - /// If not provided, it indicates an ongoing alert. + /// Optional. The time the event that caused this alert ceased being active. + /// If provided, the end time must not be earlier than the start time. + /// If not provided, it indicates an ongoing alert. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The type of the alert. - /// This is output only after alert is created. - /// For a list of available alert types see - /// [Google Workspace Alert - /// types](). + /// Required. The type of the alert. + /// This is output only after alert is created. + /// For a list of available alert types see + /// [Google Workspace Alert + /// types](). #[prost(string, tag="6")] pub r#type: ::prost::alloc::string::String, - /// Required. A unique identifier for the system that reported the alert. - /// This is output only after alert is created. + /// Required. A unique identifier for the system that reported the alert. + /// This is output only after alert is created. /// - /// Supported sources are any of the following: + /// Supported sources are any of the following: /// - /// * Google Operations - /// * Mobile device management - /// * Gmail phishing - /// * Domain wide takeout - /// * State sponsored attack - /// * Google identity + /// * Google Operations + /// * Mobile device management + /// * Gmail phishing + /// * Domain wide takeout + /// * State sponsored attack + /// * Google identity #[prost(string, tag="7")] pub source: ::prost::alloc::string::String, - /// Optional. The data associated with this alert, for example - /// \[google.apps.alertcenter.type.DeviceCompromised\] \[google.apps.alertcenter.type.DeviceCompromised\]. + /// Optional. The data associated with this alert, for example + /// \[google.apps.alertcenter.type.DeviceCompromised\] \[google.apps.alertcenter.type.DeviceCompromised\]. #[prost(message, optional, tag="8")] pub data: ::core::option::Option<::prost_types::Any>, - /// Output only. An optional - /// [Security Investigation Tool]() - /// query for this alert. + /// Output only. An optional + /// [Security Investigation Tool]() + /// query for this alert. #[prost(string, tag="9")] pub security_investigation_tool_link: ::prost::alloc::string::String, - /// Output only. `True` if this alert is marked for deletion. + /// Output only. `True` if this alert is marked for deletion. #[prost(bool, tag="11")] pub deleted: bool, - /// Output only. The metadata associated with this alert. + /// Output only. The metadata associated with this alert. #[prost(message, optional, tag="12")] pub metadata: ::core::option::Option, - /// Output only. The time this alert was last updated. + /// Output only. The time this alert was last updated. #[prost(message, optional, tag="13")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. `etag` is used for optimistic concurrency control as a way to help - /// prevent simultaneous updates of an alert from overwriting each other. - /// It is strongly suggested that systems make use of the `etag` in the - /// read-modify-write cycle to perform alert updates in order to avoid race - /// conditions: An `etag` is returned in the response which contains alerts, - /// and systems are expected to put that etag in the request to update alert to - /// ensure that their change will be applied to the same version of the alert. + /// Optional. `etag` is used for optimistic concurrency control as a way to help + /// prevent simultaneous updates of an alert from overwriting each other. + /// It is strongly suggested that systems make use of the `etag` in the + /// read-modify-write cycle to perform alert updates in order to avoid race + /// conditions: An `etag` is returned in the response which contains alerts, + /// and systems are expected to put that etag in the request to update alert to + /// ensure that their change will be applied to the same version of the alert. /// - /// If no `etag` is provided in the call to update alert, then the existing - /// alert is overwritten blindly. + /// If no `etag` is provided in the call to update alert, then the existing + /// alert is overwritten blindly. #[prost(string, tag="14")] pub etag: ::prost::alloc::string::String, } -/// A customer feedback about an alert. +/// A customer feedback about an alert. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AlertFeedback { - /// Output only. The unique identifier of the Google account of the customer. + /// Output only. The unique identifier of the Google account of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Output only. The alert identifier. + /// Output only. The alert identifier. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, - /// Output only. The unique identifier for the feedback. + /// Output only. The unique identifier for the feedback. #[prost(string, tag="3")] pub feedback_id: ::prost::alloc::string::String, - /// Output only. The time this feedback was created. + /// Output only. The time this feedback was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The type of the feedback. + /// Required. The type of the feedback. #[prost(enumeration="AlertFeedbackType", tag="5")] pub r#type: i32, - /// Output only. The email of the user that provided the feedback. + /// Output only. The email of the user that provided the feedback. #[prost(string, tag="6")] pub email: ::prost::alloc::string::String, } -/// An alert metadata. +/// An alert metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AlertMetadata { - /// Output only. The unique identifier of the Google account of the customer. + /// Output only. The unique identifier of the Google account of the customer. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Output only. The alert identifier. + /// Output only. The alert identifier. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, - /// The current status of the alert. - /// The supported values are the following: + /// The current status of the alert. + /// The supported values are the following: /// - /// * NOT_STARTED - /// * IN_PROGRESS - /// * CLOSED + /// * NOT_STARTED + /// * IN_PROGRESS + /// * CLOSED #[prost(string, tag="4")] pub status: ::prost::alloc::string::String, - /// The email address of the user assigned to the alert. + /// The email address of the user assigned to the alert. #[prost(string, tag="5")] pub assignee: ::prost::alloc::string::String, - /// Output only. The time this metadata was last updated. + /// Output only. The time this metadata was last updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The severity value of the alert. Alert Center will set this field at alert - /// creation time, default's to an empty string when it could not be - /// determined. - /// The supported values for update actions on this field are the following: + /// The severity value of the alert. Alert Center will set this field at alert + /// creation time, default's to an empty string when it could not be + /// determined. + /// The supported values for update actions on this field are the following: /// - /// * HIGH - /// * MEDIUM - /// * LOW + /// * HIGH + /// * MEDIUM + /// * LOW #[prost(string, tag="7")] pub severity: ::prost::alloc::string::String, - /// Optional. `etag` is used for optimistic concurrency control as a way to - /// help prevent simultaneous updates of an alert metadata from overwriting - /// each other. It is strongly suggested that systems make use of the `etag` in - /// the read-modify-write cycle to perform metatdata updates in order to avoid - /// race conditions: An `etag` is returned in the response which contains alert - /// metadata, and systems are expected to put that etag in the request to - /// update alert metadata to ensure that their change will be applied to the - /// same version of the alert metadata. + /// Optional. `etag` is used for optimistic concurrency control as a way to + /// help prevent simultaneous updates of an alert metadata from overwriting + /// each other. It is strongly suggested that systems make use of the `etag` in + /// the read-modify-write cycle to perform metatdata updates in order to avoid + /// race conditions: An `etag` is returned in the response which contains alert + /// metadata, and systems are expected to put that etag in the request to + /// update alert metadata to ensure that their change will be applied to the + /// same version of the alert metadata. /// - /// If no `etag` is provided in the call to update alert metadata, then the - /// existing alert metadata is overwritten blindly. + /// If no `etag` is provided in the call to update alert metadata, then the + /// existing alert metadata is overwritten blindly. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, } -/// Customer-level settings. +/// Customer-level settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Settings { - /// The list of notifications. + /// The list of notifications. #[prost(message, repeated, tag="1")] pub notifications: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Settings`. pub mod settings { - /// Settings for callback notifications. - /// For more details see [Google Workspace Alert - /// Notification](). + /// Settings for callback notifications. + /// For more details see [Google Workspace Alert + /// Notification](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Notification { - /// Exactly one destination to be specified. + /// Exactly one destination to be specified. #[prost(oneof="notification::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `Notification`. pub mod notification { - /// A reference to a Cloud Pubsub topic. + /// A reference to a Cloud Pubsub topic. /// - /// To register for notifications, the owner of the topic must grant - /// `alerts-api-push-notifications@system.gserviceaccount.com` the + /// To register for notifications, the owner of the topic must grant + /// `alerts-api-push-notifications@system.gserviceaccount.com` the /// `projects.topics.publish` permission. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudPubsubTopic { - /// The `name` field of a Cloud Pubsub \[Topic\] - /// (). + /// The `name` field of a Cloud Pubsub \[Topic\] + /// (). #[prost(string, tag="1")] pub topic_name: ::prost::alloc::string::String, - /// Optional. The format of the payload that would be sent. - /// If not specified the format will be JSON. + /// Optional. The format of the payload that would be sent. + /// If not specified the format will be JSON. #[prost(enumeration="PayloadFormat", tag="2")] pub payload_format: i32, } - /// The format of the payload. + /// The format of the payload. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PayloadFormat { - /// Payload format is not specified (will use JSON as default). + /// Payload format is not specified (will use JSON as default). Unspecified = 0, - /// Use JSON. + /// Use JSON. Json = 1, } impl PayloadFormat { @@ -196,227 +196,227 @@ pub mod settings { } } } - /// Exactly one destination to be specified. + /// Exactly one destination to be specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// A Google Cloud Pub/sub topic destination. + /// A Google Cloud Pub/sub topic destination. #[prost(message, tag="1")] CloudPubsubTopic(CloudPubsubTopic), } } } -/// A request to perform batch delete on alerts. +/// A request to perform batch delete on alerts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDeleteAlertsRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alerts are associated with. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alerts are associated with. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. list of alert IDs. + /// Required. list of alert IDs. #[prost(string, repeated, tag="2")] pub alert_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response to batch delete operation on alerts. +/// Response to batch delete operation on alerts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDeleteAlertsResponse { - /// The successful list of alert IDs. + /// The successful list of alert IDs. #[prost(string, repeated, tag="1")] pub success_alert_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status details for each failed alert_id. + /// The status details for each failed alert_id. #[prost(map="string, message", tag="2")] pub failed_alert_status: ::std::collections::HashMap<::prost::alloc::string::String, super::super::super::rpc::Status>, } -/// A request to perform batch undelete on alerts. +/// A request to perform batch undelete on alerts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUndeleteAlertsRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alerts are associated with. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alerts are associated with. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. list of alert IDs. + /// Required. list of alert IDs. #[prost(string, repeated, tag="2")] pub alert_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response to batch undelete operation on alerts. +/// Response to batch undelete operation on alerts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUndeleteAlertsResponse { - /// The successful list of alert IDs. + /// The successful list of alert IDs. #[prost(string, repeated, tag="1")] pub success_alert_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The status details for each failed alert_id. + /// The status details for each failed alert_id. #[prost(map="string, message", tag="2")] pub failed_alert_status: ::std::collections::HashMap<::prost::alloc::string::String, super::super::super::rpc::Status>, } -/// An alert listing request. +/// An alert listing request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAlertsRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alerts are associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alerts are associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Optional. The requested page size. Server may return fewer items than - /// requested. If unspecified, server picks an appropriate default. + /// Optional. The requested page size. Server may return fewer items than + /// requested. If unspecified, server picks an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results the server should return. - /// If empty, a new iteration is started. To continue an iteration, pass in - /// the value from the previous ListAlertsResponse's - /// \[next_page_token][google.apps.alertcenter.v1beta1.ListAlertsResponse.next_page_token\] field. + /// Optional. A token identifying a page of results the server should return. + /// If empty, a new iteration is started. To continue an iteration, pass in + /// the value from the previous ListAlertsResponse's + /// \[next_page_token][google.apps.alertcenter.v1beta1.ListAlertsResponse.next_page_token\] field. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A query string for filtering alert results. - /// For more details, see [Query - /// filters]() and [Supported - /// query filter - /// fields](). + /// Optional. A query string for filtering alert results. + /// For more details, see [Query + /// filters]() and [Supported + /// query filter + /// fields](). #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. The sort order of the list results. - /// If not specified results may be returned in arbitrary order. - /// You can sort the results in descending order based on the creation - /// timestamp using `order_by="create_time desc"`. - /// Currently, supported sorting are `create_time asc`, `create_time desc`, - /// `update_time desc` + /// Optional. The sort order of the list results. + /// If not specified results may be returned in arbitrary order. + /// You can sort the results in descending order based on the creation + /// timestamp using `order_by="create_time desc"`. + /// Currently, supported sorting are `create_time asc`, `create_time desc`, + /// `update_time desc` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for an alert listing request. +/// Response message for an alert listing request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAlertsResponse { - /// The list of alerts. + /// The list of alerts. #[prost(message, repeated, tag="1")] pub alerts: ::prost::alloc::vec::Vec, - /// The token for the next page. If not empty, indicates that there may be more - /// alerts that match the listing request; this value can be used in a - /// subsequent \[ListAlertsRequest][google.apps.alertcenter.v1beta1.ListAlertsRequest\] to get alerts continuing from last result - /// of the current list call. + /// The token for the next page. If not empty, indicates that there may be more + /// alerts that match the listing request; this value can be used in a + /// subsequent \[ListAlertsRequest][google.apps.alertcenter.v1beta1.ListAlertsRequest\] to get alerts continuing from last result + /// of the current list call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request for a specific alert. +/// Request for a specific alert. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAlertRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert is associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert is associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The identifier of the alert to retrieve. + /// Required. The identifier of the alert to retrieve. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, } -/// A request to mark a specific alert for deletion. +/// A request to mark a specific alert for deletion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAlertRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert is associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert is associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The identifier of the alert to delete. + /// Required. The identifier of the alert to delete. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, } -/// A request to undelete a specific alert that was marked for deletion. +/// A request to undelete a specific alert that was marked for deletion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteAlertRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert is associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert is associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The identifier of the alert to undelete. + /// Required. The identifier of the alert to undelete. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, } -/// A request to create a new alert feedback. +/// A request to create a new alert feedback. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAlertFeedbackRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert is associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert is associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The identifier of the alert this feedback belongs to. + /// Required. The identifier of the alert this feedback belongs to. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, - /// Required. The new alert feedback to create. + /// Required. The new alert feedback to create. #[prost(message, optional, tag="3")] pub feedback: ::core::option::Option, } -/// An alert feedback listing request. +/// An alert feedback listing request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAlertFeedbackRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert feedback are associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert feedback are associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The alert identifier. - /// The "-" wildcard could be used to represent all alerts. + /// Required. The alert identifier. + /// The "-" wildcard could be used to represent all alerts. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, - /// Optional. A query string for filtering alert feedback results. - /// For more details, see [Query - /// filters]() and [Supported - /// query filter - /// fields](). + /// Optional. A query string for filtering alert feedback results. + /// For more details, see [Query + /// filters]() and [Supported + /// query filter + /// fields](). #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, } -/// Response message for an alert feedback listing request. +/// Response message for an alert feedback listing request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAlertFeedbackResponse { - /// The list of alert feedback. - /// Feedback entries for each alert are ordered by creation time descending. + /// The list of alert feedback. + /// Feedback entries for each alert are ordered by creation time descending. #[prost(message, repeated, tag="1")] pub feedback: ::prost::alloc::vec::Vec, } -/// Get the alert metadata. +/// Get the alert metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAlertMetadataRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert metadata is associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert metadata is associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// Required. The identifier of the alert this metadata belongs to. + /// Required. The identifier of the alert this metadata belongs to. #[prost(string, tag="2")] pub alert_id: ::prost::alloc::string::String, } -/// Get the customer level settings. +/// Get the customer level settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSettingsRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert settings are associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert settings are associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, } -/// Update the customer level settings. +/// Update the customer level settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSettingsRequest { - /// Optional. The unique identifier of the Google Workspace organization - /// account of the customer the alert settings are associated with. - /// Inferred from the caller identity if not provided. + /// Optional. The unique identifier of the Google Workspace organization + /// account of the customer the alert settings are associated with. + /// Inferred from the caller identity if not provided. #[prost(string, tag="1")] pub customer_id: ::prost::alloc::string::String, - /// The customer settings to update. + /// The customer settings to update. #[prost(message, optional, tag="2")] pub settings: ::core::option::Option, } -/// The type of alert feedback. +/// The type of alert feedback. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AlertFeedbackType { - /// The feedback type is not specified. + /// The feedback type is not specified. Unspecified = 0, - /// The alert report is not useful. + /// The alert report is not useful. NotUseful = 1, - /// The alert report is somewhat useful. + /// The alert report is somewhat useful. SomewhatUseful = 2, - /// The alert report is very useful. + /// The alert report is very useful. VeryUseful = 3, } impl AlertFeedbackType { diff --git a/gcloud-sdk/genproto/google.apps.drive.activity.v2.rs b/gcloud-sdk/genproto/google.apps.drive.activity.v2.rs index ebc8e0e16..367f6f058 100644 --- a/gcloud-sdk/genproto/google.apps.drive.activity.v2.rs +++ b/gcloud-sdk/genproto/google.apps.drive.activity.v2.rs @@ -1,136 +1,136 @@ -/// Information about time ranges. +/// Information about time ranges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeRange { - /// The start of the time range. + /// The start of the time range. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The end of the time range. + /// The end of the time range. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Information about a group. +/// Information about a group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Group { - /// The email address of the group. + /// The email address of the group. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, - /// The title of the group. + /// The title of the group. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, } -/// Information about a domain. +/// Information about a domain. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Domain { - /// The name of the domain, e.g. `google.com`. + /// The name of the domain, e.g. `google.com`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An opaque string used to identify this domain. + /// An opaque string used to identify this domain. #[prost(string, tag="3")] pub legacy_id: ::prost::alloc::string::String, } -/// The actor of a Drive activity. +/// The actor of a Drive activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Actor { - /// The type of actor. + /// The type of actor. #[prost(oneof="actor::Type", tags="1, 2, 3, 4, 5")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `Actor`. pub mod actor { - /// The type of actor. + /// The type of actor. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// An end user. + /// An end user. #[prost(message, tag="1")] User(super::User), - /// An anonymous user. + /// An anonymous user. #[prost(message, tag="2")] Anonymous(super::AnonymousUser), - /// An account acting on behalf of another. + /// An account acting on behalf of another. #[prost(message, tag="3")] Impersonation(super::Impersonation), - /// A non-user actor (i.e. system triggered). + /// A non-user actor (i.e. system triggered). #[prost(message, tag="4")] System(super::SystemEvent), - /// An administrator. + /// An administrator. #[prost(message, tag="5")] Administrator(super::Administrator), } } -/// Information about an end user. +/// Information about an end user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct User { - /// The type of user, such as known, unknown, and deleted. + /// The type of user, such as known, unknown, and deleted. #[prost(oneof="user::Type", tags="2, 3, 4")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `User`. pub mod user { - /// A known user. + /// A known user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KnownUser { - /// The identifier for this user that can be used with the People API to get - /// more information. The format is `people/ACCOUNT_ID`. See - /// + /// The identifier for this user that can be used with the People API to get + /// more information. The format is `people/ACCOUNT_ID`. See + /// #[prost(string, tag="1")] pub person_name: ::prost::alloc::string::String, - /// True if this is the user making the request. + /// True if this is the user making the request. #[prost(bool, tag="2")] pub is_current_user: bool, } - /// A user whose account has since been deleted. + /// A user whose account has since been deleted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletedUser { } - /// A user about whom nothing is currently known. + /// A user about whom nothing is currently known. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnknownUser { } - /// The type of user, such as known, unknown, and deleted. + /// The type of user, such as known, unknown, and deleted. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// A known user. + /// A known user. #[prost(message, tag="2")] KnownUser(KnownUser), - /// A user whose account has since been deleted. + /// A user whose account has since been deleted. #[prost(message, tag="3")] DeletedUser(DeletedUser), - /// A user about whom nothing is currently known. + /// A user about whom nothing is currently known. #[prost(message, tag="4")] UnknownUser(UnknownUser), } } -/// Empty message representing an anonymous user or indicating the authenticated -/// user should be anonymized. +/// Empty message representing an anonymous user or indicating the authenticated +/// user should be anonymized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnonymousUser { } -/// Information about an impersonation, where an admin acts on behalf of an end -/// user. Information about the acting admin is not currently available. +/// Information about an impersonation, where an admin acts on behalf of an end +/// user. Information about the acting admin is not currently available. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Impersonation { - /// The impersonated user. + /// The impersonated user. #[prost(message, optional, tag="1")] pub impersonated_user: ::core::option::Option, } -/// Event triggered by system operations instead of end users. +/// Event triggered by system operations instead of end users. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemEvent { - /// The type of the system event that may triggered activity. + /// The type of the system event that may triggered activity. #[prost(enumeration="system_event::Type", tag="1")] pub r#type: i32, } /// Nested message and enum types in `SystemEvent`. pub mod system_event { - /// The types of system events that may trigger activity. + /// The types of system events that may trigger activity. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The event type is unspecified. + /// The event type is unspecified. Unspecified = 0, - /// The event is a consequence of a user account being deleted. + /// The event is a consequence of a user account being deleted. UserDeletion = 1, - /// The event is due to the system automatically purging trash. + /// The event is due to the system automatically purging trash. TrashAutoPurge = 2, } impl Type { @@ -147,137 +147,137 @@ pub mod system_event { } } } -/// Empty message representing an administrator. +/// Empty message representing an administrator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Administrator { } -/// Information about the target of activity. +/// Information about the target of activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Target { - /// This field is deprecated; please use the `drive` field instead. + /// This field is deprecated; please use the `drive` field instead. #[deprecated] #[prost(message, optional, tag="2")] pub team_drive: ::core::option::Option, - /// The type of target object. + /// The type of target object. #[prost(oneof="target::Object", tags="1, 5, 3")] pub object: ::core::option::Option, } /// Nested message and enum types in `Target`. pub mod target { - /// The type of target object. + /// The type of target object. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Object { - /// The target is a Drive item. + /// The target is a Drive item. #[prost(message, tag="1")] DriveItem(super::DriveItem), - /// The target is a shared drive. + /// The target is a shared drive. #[prost(message, tag="5")] Drive(super::Drive), - /// The target is a comment on a Drive file. + /// The target is a comment on a Drive file. #[prost(message, tag="3")] FileComment(super::FileComment), } } -/// A lightweight reference to the target of activity. +/// A lightweight reference to the target of activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetReference { - /// This field is deprecated; please use the `drive` field instead. + /// This field is deprecated; please use the `drive` field instead. #[deprecated] #[prost(message, optional, tag="2")] pub team_drive: ::core::option::Option, - /// The type of target object. + /// The type of target object. #[prost(oneof="target_reference::Object", tags="1, 3")] pub object: ::core::option::Option, } /// Nested message and enum types in `TargetReference`. pub mod target_reference { - /// The type of target object. + /// The type of target object. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Object { - /// The target is a Drive item. + /// The target is a Drive item. #[prost(message, tag="1")] DriveItem(super::DriveItemReference), - /// The target is a shared drive. + /// The target is a shared drive. #[prost(message, tag="3")] Drive(super::DriveReference), } } -/// A comment on a file. +/// A comment on a file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileComment { - /// The comment in the discussion thread. This identifier is an opaque string - /// compatible with the Drive API; see - /// + /// The comment in the discussion thread. This identifier is an opaque string + /// compatible with the Drive API; see + /// #[prost(string, tag="1")] pub legacy_comment_id: ::prost::alloc::string::String, - /// The discussion thread to which the comment was added. This identifier is an - /// opaque string compatible with the Drive API and references the first - /// comment in a discussion; see - /// + /// The discussion thread to which the comment was added. This identifier is an + /// opaque string compatible with the Drive API and references the first + /// comment in a discussion; see + /// #[prost(string, tag="2")] pub legacy_discussion_id: ::prost::alloc::string::String, - /// The link to the discussion thread containing this comment, for example, - /// ` + /// The link to the discussion thread containing this comment, for example, + /// ` #[prost(string, tag="3")] pub link_to_discussion: ::prost::alloc::string::String, - /// The Drive item containing this comment. + /// The Drive item containing this comment. #[prost(message, optional, tag="4")] pub parent: ::core::option::Option, } -/// A Drive item, such as a file or folder. +/// A Drive item, such as a file or folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveItem { - /// The target Drive item. The format is `items/ITEM_ID`. + /// The target Drive item. The format is `items/ITEM_ID`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The title of the Drive item. + /// The title of the Drive item. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// This field is deprecated; please use the `driveFile` field instead. + /// This field is deprecated; please use the `driveFile` field instead. #[deprecated] #[prost(message, optional, tag="3")] pub file: ::core::option::Option, - /// This field is deprecated; please use the `driveFolder` field instead. + /// This field is deprecated; please use the `driveFolder` field instead. #[deprecated] #[prost(message, optional, tag="4")] pub folder: ::core::option::Option, - /// The MIME type of the Drive item. See - /// + /// The MIME type of the Drive item. See + /// #[prost(string, tag="6")] pub mime_type: ::prost::alloc::string::String, - /// Information about the owner of this Drive item. + /// Information about the owner of this Drive item. #[prost(message, optional, tag="7")] pub owner: ::core::option::Option, - /// If present, this describes the type of the Drive item. + /// If present, this describes the type of the Drive item. #[prost(oneof="drive_item::ItemType", tags="8, 9")] pub item_type: ::core::option::Option, } /// Nested message and enum types in `DriveItem`. pub mod drive_item { - /// This item is deprecated; please see `DriveFile` instead. + /// This item is deprecated; please see `DriveFile` instead. #[derive(Clone, PartialEq, ::prost::Message)] pub struct File { } - /// This item is deprecated; please see `DriveFolder` instead. + /// This item is deprecated; please see `DriveFolder` instead. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Folder { - /// This field is deprecated; please see `DriveFolder.type` instead. + /// This field is deprecated; please see `DriveFolder.type` instead. #[prost(enumeration="folder::Type", tag="6")] pub r#type: i32, } /// Nested message and enum types in `Folder`. pub mod folder { - /// This item is deprecated; please see `DriveFolder.Type` instead. + /// This item is deprecated; please see `DriveFolder.Type` instead. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// This item is deprecated; please see `DriveFolder.Type` instead. + /// This item is deprecated; please see `DriveFolder.Type` instead. Unspecified = 0, - /// This item is deprecated; please see `DriveFolder.Type` instead. + /// This item is deprecated; please see `DriveFolder.Type` instead. MyDriveRoot = 1, - /// This item is deprecated; please see `DriveFolder.Type` instead. + /// This item is deprecated; please see `DriveFolder.Type` instead. TeamDriveRoot = 2, - /// This item is deprecated; please see `DriveFolder.Type` instead. + /// This item is deprecated; please see `DriveFolder.Type` instead. StandardFolder = 3, } impl Type { @@ -295,30 +295,30 @@ pub mod drive_item { } } } - /// A Drive item which is a file. + /// A Drive item which is a file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveFile { } - /// A Drive item which is a folder. + /// A Drive item which is a folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveFolder { - /// The type of Drive folder. + /// The type of Drive folder. #[prost(enumeration="drive_folder::Type", tag="6")] pub r#type: i32, } /// Nested message and enum types in `DriveFolder`. pub mod drive_folder { - /// The type of a Drive folder. + /// The type of a Drive folder. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The folder type is unknown. + /// The folder type is unknown. Unspecified = 0, - /// The folder is the root of a user's MyDrive. + /// The folder is the root of a user's MyDrive. MyDriveRoot = 1, - /// The folder is the root of a shared drive. + /// The folder is the root of a shared drive. SharedDriveRoot = 2, - /// The folder is a standard, non-root, folder. + /// The folder is a standard, non-root, folder. StandardFolder = 3, } impl Type { @@ -336,291 +336,291 @@ pub mod drive_item { } } } - /// If present, this describes the type of the Drive item. + /// If present, this describes the type of the Drive item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ItemType { - /// The Drive item is a file. + /// The Drive item is a file. #[prost(message, tag="8")] DriveFile(DriveFile), - /// The Drive item is a folder. Includes information about the type of - /// folder. + /// The Drive item is a folder. Includes information about the type of + /// folder. #[prost(message, tag="9")] DriveFolder(DriveFolder), } } -/// Information about the owner of a Drive item. +/// Information about the owner of a Drive item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Owner { - /// This field is deprecated; please use the `drive` field instead. + /// This field is deprecated; please use the `drive` field instead. #[deprecated] #[prost(message, optional, tag="2")] pub team_drive: ::core::option::Option, - /// The domain of the Drive item owner. + /// The domain of the Drive item owner. #[prost(message, optional, tag="3")] pub domain: ::core::option::Option, - /// The owner of the Drive item. + /// The owner of the Drive item. #[prost(oneof="owner::Owner", tags="1, 4")] pub owner: ::core::option::Option, } /// Nested message and enum types in `Owner`. pub mod owner { - /// The owner of the Drive item. + /// The owner of the Drive item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Owner { - /// The user that owns the Drive item. + /// The user that owns the Drive item. #[prost(message, tag="1")] User(super::User), - /// The drive that owns the item. + /// The drive that owns the item. #[prost(message, tag="4")] Drive(super::DriveReference), } } -/// This item is deprecated; please see `Drive` instead. +/// This item is deprecated; please see `Drive` instead. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TeamDrive { - /// This field is deprecated; please see `Drive.name` instead. + /// This field is deprecated; please see `Drive.name` instead. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field is deprecated; please see `Drive.title` instead. + /// This field is deprecated; please see `Drive.title` instead. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// This field is deprecated; please see `Drive.root` instead. + /// This field is deprecated; please see `Drive.root` instead. #[prost(message, optional, tag="3")] pub root: ::core::option::Option, } -/// Information about a shared drive. +/// Information about a shared drive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Drive { - /// The resource name of the shared drive. The format is - /// `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection - /// ID for this resource name. + /// The resource name of the shared drive. The format is + /// `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection + /// ID for this resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The title of the shared drive. + /// The title of the shared drive. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// The root of this shared drive. + /// The root of this shared drive. #[prost(message, optional, tag="3")] pub root: ::core::option::Option, } -/// A lightweight reference to a Drive item, such as a file or folder. +/// A lightweight reference to a Drive item, such as a file or folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveItemReference { - /// The target Drive item. The format is `items/ITEM_ID`. + /// The target Drive item. The format is `items/ITEM_ID`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The title of the Drive item. + /// The title of the Drive item. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, - /// This field is deprecated; please use the `driveFile` field instead. + /// This field is deprecated; please use the `driveFile` field instead. #[deprecated] #[prost(message, optional, tag="3")] pub file: ::core::option::Option, - /// This field is deprecated; please use the `driveFolder` field instead. + /// This field is deprecated; please use the `driveFolder` field instead. #[deprecated] #[prost(message, optional, tag="4")] pub folder: ::core::option::Option, - /// If present, this describes the type of the Drive item. + /// If present, this describes the type of the Drive item. #[prost(oneof="drive_item_reference::ItemType", tags="8, 9")] pub item_type: ::core::option::Option, } /// Nested message and enum types in `DriveItemReference`. pub mod drive_item_reference { - /// If present, this describes the type of the Drive item. + /// If present, this describes the type of the Drive item. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ItemType { - /// The Drive item is a file. + /// The Drive item is a file. #[prost(message, tag="8")] DriveFile(super::drive_item::DriveFile), - /// The Drive item is a folder. Includes information about the type of - /// folder. + /// The Drive item is a folder. Includes information about the type of + /// folder. #[prost(message, tag="9")] DriveFolder(super::drive_item::DriveFolder), } } -/// This item is deprecated; please see `DriveReference` instead. +/// This item is deprecated; please see `DriveReference` instead. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TeamDriveReference { - /// This field is deprecated; please see `DriveReference.name` instead. + /// This field is deprecated; please see `DriveReference.name` instead. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field is deprecated; please see `DriveReference.title` instead. + /// This field is deprecated; please see `DriveReference.title` instead. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, } -/// A lightweight reference to a shared drive. +/// A lightweight reference to a shared drive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveReference { - /// The resource name of the shared drive. The format is - /// `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection - /// ID for this resource name. + /// The resource name of the shared drive. The format is + /// `COLLECTION_ID/DRIVE_ID`. Clients should not assume a specific collection + /// ID for this resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The title of the shared drive. + /// The title of the shared drive. #[prost(string, tag="2")] pub title: ::prost::alloc::string::String, } -/// Information about the action. +/// Information about the action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Action { - /// The type and detailed information about the action. + /// The type and detailed information about the action. #[prost(message, optional, tag="1")] pub detail: ::core::option::Option, - /// The actor responsible for this action (or empty if all actors are - /// responsible). + /// The actor responsible for this action (or empty if all actors are + /// responsible). #[prost(message, optional, tag="3")] pub actor: ::core::option::Option, - /// The target this action affects (or empty if affecting all targets). This - /// represents the state of the target immediately after this action occurred. + /// The target this action affects (or empty if affecting all targets). This + /// represents the state of the target immediately after this action occurred. #[prost(message, optional, tag="4")] pub target: ::core::option::Option, - /// When the action occurred (or empty if same time as entire activity). + /// When the action occurred (or empty if same time as entire activity). #[prost(oneof="action::Time", tags="5, 6")] pub time: ::core::option::Option, } /// Nested message and enum types in `Action`. pub mod action { - /// When the action occurred (or empty if same time as entire activity). + /// When the action occurred (or empty if same time as entire activity). #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Time { - /// The action occurred at this specific time. + /// The action occurred at this specific time. #[prost(message, tag="5")] Timestamp(::prost_types::Timestamp), - /// The action occurred over this time range. + /// The action occurred over this time range. #[prost(message, tag="6")] TimeRange(super::TimeRange), } } -/// Data describing the type and additional information of an action. +/// Data describing the type and additional information of an action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionDetail { - /// Data describing the type and additional information of an action. + /// Data describing the type and additional information of an action. #[prost(oneof="action_detail::ActionDetail", tags="1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13")] pub action_detail: ::core::option::Option, } /// Nested message and enum types in `ActionDetail`. pub mod action_detail { - /// Data describing the type and additional information of an action. + /// Data describing the type and additional information of an action. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ActionDetail { - /// An object was created. + /// An object was created. #[prost(message, tag="1")] Create(super::Create), - /// An object was edited. + /// An object was edited. #[prost(message, tag="2")] Edit(super::Edit), - /// An object was moved. + /// An object was moved. #[prost(message, tag="3")] Move(super::Move), - /// An object was renamed. + /// An object was renamed. #[prost(message, tag="4")] Rename(super::Rename), - /// An object was deleted. + /// An object was deleted. #[prost(message, tag="5")] Delete(super::Delete), - /// A deleted object was restored. + /// A deleted object was restored. #[prost(message, tag="6")] Restore(super::Restore), - /// The permission on an object was changed. + /// The permission on an object was changed. #[prost(message, tag="7")] PermissionChange(super::PermissionChange), - /// A change about comments was made. + /// A change about comments was made. #[prost(message, tag="8")] Comment(super::Comment), - /// A change happened in data leak prevention status. + /// A change happened in data leak prevention status. #[prost(message, tag="9")] DlpChange(super::DataLeakPreventionChange), - /// An object was referenced in an application outside of Drive/Docs. + /// An object was referenced in an application outside of Drive/Docs. #[prost(message, tag="12")] Reference(super::ApplicationReference), - /// Settings were changed. + /// Settings were changed. #[prost(message, tag="13")] SettingsChange(super::SettingsChange), } } -/// An object was created. +/// An object was created. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Create { - /// The origin of the new object. + /// The origin of the new object. #[prost(oneof="create::Origin", tags="1, 2, 3")] pub origin: ::core::option::Option, } /// Nested message and enum types in `Create`. pub mod create { - /// An object was created from scratch. + /// An object was created from scratch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct New { } - /// An object was uploaded into Drive. + /// An object was uploaded into Drive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Upload { } - /// An object was created by copying an existing object. + /// An object was created by copying an existing object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Copy { - /// The original object. + /// The original object. #[prost(message, optional, tag="1")] pub original_object: ::core::option::Option, } - /// The origin of the new object. + /// The origin of the new object. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Origin { - /// If present, indicates the object was newly created (e.g. as a blank - /// document), not derived from a Drive object or external object. + /// If present, indicates the object was newly created (e.g. as a blank + /// document), not derived from a Drive object or external object. #[prost(message, tag="1")] New(New), - /// If present, indicates the object originated externally and was uploaded - /// to Drive. + /// If present, indicates the object originated externally and was uploaded + /// to Drive. #[prost(message, tag="2")] Upload(Upload), - /// If present, indicates the object was created by copying an existing Drive - /// object. + /// If present, indicates the object was created by copying an existing Drive + /// object. #[prost(message, tag="3")] Copy(Copy), } } -/// An empty message indicating an object was edited. +/// An empty message indicating an object was edited. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Edit { } -/// An object was moved. +/// An object was moved. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Move { - /// The added parent object(s). + /// The added parent object(s). #[prost(message, repeated, tag="1")] pub added_parents: ::prost::alloc::vec::Vec, - /// The removed parent object(s). + /// The removed parent object(s). #[prost(message, repeated, tag="2")] pub removed_parents: ::prost::alloc::vec::Vec, } -/// An object was renamed. +/// An object was renamed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Rename { - /// The previous title of the drive object. + /// The previous title of the drive object. #[prost(string, tag="1")] pub old_title: ::prost::alloc::string::String, - /// The new title of the drive object. + /// The new title of the drive object. #[prost(string, tag="2")] pub new_title: ::prost::alloc::string::String, } -/// An object was deleted. +/// An object was deleted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Delete { - /// The type of delete action taken. + /// The type of delete action taken. #[prost(enumeration="delete::Type", tag="1")] pub r#type: i32, } /// Nested message and enum types in `Delete`. pub mod delete { - /// The type of deletion. + /// The type of deletion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Deletion type is not available. + /// Deletion type is not available. Unspecified = 0, - /// An object was put into the trash. + /// An object was put into the trash. Trash = 1, - /// An object was deleted permanently. + /// An object was deleted permanently. PermanentDelete = 2, } impl Type { @@ -637,22 +637,22 @@ pub mod delete { } } } -/// A deleted object was restored. +/// A deleted object was restored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Restore { - /// The type of restore action taken. + /// The type of restore action taken. #[prost(enumeration="restore::Type", tag="1")] pub r#type: i32, } /// Nested message and enum types in `Restore`. pub mod restore { - /// The type of restoration. + /// The type of restoration. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The type is not available. + /// The type is not available. Unspecified = 0, - /// An object was restored from the trash. + /// An object was restored from the trash. Untrash = 1, } impl Type { @@ -668,64 +668,64 @@ pub mod restore { } } } -/// A change of the permission setting on an item. +/// A change of the permission setting on an item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PermissionChange { - /// The set of permissions added by this change. + /// The set of permissions added by this change. #[prost(message, repeated, tag="1")] pub added_permissions: ::prost::alloc::vec::Vec, - /// The set of permissions removed by this change. + /// The set of permissions removed by this change. #[prost(message, repeated, tag="2")] pub removed_permissions: ::prost::alloc::vec::Vec, } -/// The permission setting of an object. +/// The permission setting of an object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Permission { - /// Indicates the - /// [Google Drive permissions - /// role](). The - /// role determines a user's ability to read, write, and comment on items. + /// Indicates the + /// [Google Drive permissions + /// role](). The + /// role determines a user's ability to read, write, and comment on items. #[prost(enumeration="permission::Role", tag="1")] pub role: i32, - /// If true, the item can be discovered (e.g. in the user's "Shared with me" - /// collection) without needing a link to the item. + /// If true, the item can be discovered (e.g. in the user's "Shared with me" + /// collection) without needing a link to the item. #[prost(bool, tag="6")] pub allow_discovery: bool, - /// The entity granted the role. + /// The entity granted the role. #[prost(oneof="permission::Scope", tags="2, 3, 4, 5")] pub scope: ::core::option::Option, } /// Nested message and enum types in `Permission`. pub mod permission { - /// Represents any user (including a logged out user). + /// Represents any user (including a logged out user). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Anyone { } - /// The [Google Drive permissions - /// roles](). + /// The [Google Drive permissions + /// roles](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Role { - /// The role is not available. + /// The role is not available. Unspecified = 0, - /// A role granting full access. + /// A role granting full access. Owner = 1, - /// A role granting the ability to manage people and settings. + /// A role granting the ability to manage people and settings. Organizer = 2, - /// A role granting the ability to contribute and manage content. + /// A role granting the ability to contribute and manage content. FileOrganizer = 3, - /// A role granting the ability to contribute content. This role is sometimes - /// also known as "writer". + /// A role granting the ability to contribute content. This role is sometimes + /// also known as "writer". Editor = 4, - /// A role granting the ability to view and comment on content. + /// A role granting the ability to view and comment on content. Commenter = 5, - /// A role granting the ability to view content. This role is sometimes also - /// known as "reader". + /// A role granting the ability to view content. This role is sometimes also + /// known as "reader". Viewer = 6, - /// A role granting the ability to view content only after it has been - /// published to the web. This role is sometimes also known as "published - /// reader". See for more - /// information. + /// A role granting the ability to view content only after it has been + /// published to the web. This role is sometimes also known as "published + /// reader". See for more + /// information. PublishedViewer = 7, } impl Role { @@ -746,61 +746,61 @@ pub mod permission { } } } - /// The entity granted the role. + /// The entity granted the role. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scope { - /// The user to whom this permission applies. + /// The user to whom this permission applies. #[prost(message, tag="2")] User(super::User), - /// The group to whom this permission applies. + /// The group to whom this permission applies. #[prost(message, tag="3")] Group(super::Group), - /// The domain to whom this permission applies. + /// The domain to whom this permission applies. #[prost(message, tag="4")] Domain(super::Domain), - /// If set, this permission applies to anyone, even logged out users. + /// If set, this permission applies to anyone, even logged out users. #[prost(message, tag="5")] Anyone(Anyone), } } -/// A change about comments on an object. +/// A change about comments on an object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Comment { - /// Users who are mentioned in this comment. + /// Users who are mentioned in this comment. #[prost(message, repeated, tag="7")] pub mentioned_users: ::prost::alloc::vec::Vec, - /// The type of changed comment. + /// The type of changed comment. #[prost(oneof="comment::Type", tags="1, 2, 3")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `Comment`. pub mod comment { - /// A regular posted comment. + /// A regular posted comment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Post { - /// The sub-type of this event. + /// The sub-type of this event. #[prost(enumeration="post::Subtype", tag="1")] pub subtype: i32, } /// Nested message and enum types in `Post`. pub mod post { - /// More detailed information about the change. + /// More detailed information about the change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Subtype { - /// Subtype not available. + /// Subtype not available. Unspecified = 0, - /// A post was added. + /// A post was added. Added = 1, - /// A post was deleted. + /// A post was deleted. Deleted = 2, - /// A reply was added. + /// A reply was added. ReplyAdded = 3, - /// A reply was deleted. + /// A reply was deleted. ReplyDeleted = 4, - /// A posted comment was resolved. + /// A posted comment was resolved. Resolved = 5, - /// A posted comment was reopened. + /// A posted comment was reopened. Reopened = 6, } impl Subtype { @@ -821,37 +821,37 @@ pub mod comment { } } } - /// A comment with an assignment. + /// A comment with an assignment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Assignment { - /// The sub-type of this event. + /// The sub-type of this event. #[prost(enumeration="assignment::Subtype", tag="1")] pub subtype: i32, - /// The user to whom the comment was assigned. + /// The user to whom the comment was assigned. #[prost(message, optional, tag="7")] pub assigned_user: ::core::option::Option, } /// Nested message and enum types in `Assignment`. pub mod assignment { - /// More detailed information about the change. + /// More detailed information about the change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Subtype { - /// Subtype not available. + /// Subtype not available. Unspecified = 0, - /// An assignment was added. + /// An assignment was added. Added = 1, - /// An assignment was deleted. + /// An assignment was deleted. Deleted = 2, - /// An assignment reply was added. + /// An assignment reply was added. ReplyAdded = 3, - /// An assignment reply was deleted. + /// An assignment reply was deleted. ReplyDeleted = 4, - /// An assignment was resolved. + /// An assignment was resolved. Resolved = 5, - /// A resolved assignment was reopened. + /// A resolved assignment was reopened. Reopened = 6, - /// An assignment was reassigned. + /// An assignment was reassigned. Reassigned = 7, } impl Subtype { @@ -873,36 +873,36 @@ pub mod comment { } } } - /// A suggestion. + /// A suggestion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Suggestion { - /// The sub-type of this event. + /// The sub-type of this event. #[prost(enumeration="suggestion::Subtype", tag="1")] pub subtype: i32, } /// Nested message and enum types in `Suggestion`. pub mod suggestion { - /// More detailed information about the change. + /// More detailed information about the change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Subtype { - /// Subtype not available. + /// Subtype not available. Unspecified = 0, - /// A suggestion was added. + /// A suggestion was added. Added = 1, - /// A suggestion was deleted. + /// A suggestion was deleted. Deleted = 2, - /// A suggestion reply was added. + /// A suggestion reply was added. ReplyAdded = 3, - /// A suggestion reply was deleted. + /// A suggestion reply was deleted. ReplyDeleted = 4, - /// A suggestion was accepted. + /// A suggestion was accepted. Accepted = 7, - /// A suggestion was rejected. + /// A suggestion was rejected. Rejected = 8, - /// An accepted suggestion was deleted. + /// An accepted suggestion was deleted. AcceptDeleted = 9, - /// A rejected suggestion was deleted. + /// A rejected suggestion was deleted. RejectDeleted = 10, } impl Subtype { @@ -925,38 +925,38 @@ pub mod comment { } } } - /// The type of changed comment. + /// The type of changed comment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// A change on a regular posted comment. + /// A change on a regular posted comment. #[prost(message, tag="1")] Post(Post), - /// A change on an assignment. + /// A change on an assignment. #[prost(message, tag="2")] Assignment(Assignment), - /// A change on a suggestion. + /// A change on a suggestion. #[prost(message, tag="3")] Suggestion(Suggestion), } } -/// A change in the object's data leak prevention status. +/// A change in the object's data leak prevention status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLeakPreventionChange { - /// The type of Data Leak Prevention (DLP) change. + /// The type of Data Leak Prevention (DLP) change. #[prost(enumeration="data_leak_prevention_change::Type", tag="1")] pub r#type: i32, } /// Nested message and enum types in `DataLeakPreventionChange`. pub mod data_leak_prevention_change { - /// The type of the change. + /// The type of the change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// An update to the DLP state that is neither FLAGGED or CLEARED. + /// An update to the DLP state that is neither FLAGGED or CLEARED. Unspecified = 0, - /// Document has been flagged as containing sensitive content. + /// Document has been flagged as containing sensitive content. Flagged = 1, - /// Document is no longer flagged as containing sensitive content. + /// Document is no longer flagged as containing sensitive content. Cleared = 2, } impl Type { @@ -973,24 +973,24 @@ pub mod data_leak_prevention_change { } } } -/// Activity in applications other than Drive. +/// Activity in applications other than Drive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplicationReference { - /// The reference type corresponding to this event. + /// The reference type corresponding to this event. #[prost(enumeration="application_reference::Type", tag="1")] pub r#type: i32, } /// Nested message and enum types in `ApplicationReference`. pub mod application_reference { - /// The type of the action. + /// The type of the action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The type is not available. + /// The type is not available. UnspecifiedReferenceType = 0, - /// The links of one or more Drive items were posted. + /// The links of one or more Drive items were posted. Link = 1, - /// Comments were made regarding a Drive item. + /// Comments were made regarding a Drive item. Discuss = 2, } impl Type { @@ -1007,42 +1007,42 @@ pub mod application_reference { } } } -/// Information about settings changes. +/// Information about settings changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SettingsChange { - /// The set of changes made to restrictions. + /// The set of changes made to restrictions. #[prost(message, repeated, tag="1")] pub restriction_changes: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SettingsChange`. pub mod settings_change { - /// Information about restriction policy changes to a feature. + /// Information about restriction policy changes to a feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestrictionChange { - /// The feature which had a change in restriction policy. + /// The feature which had a change in restriction policy. #[prost(enumeration="restriction_change::Feature", tag="1")] pub feature: i32, - /// The restriction in place after the change. + /// The restriction in place after the change. #[prost(enumeration="restriction_change::Restriction", tag="2")] pub new_restriction: i32, } /// Nested message and enum types in `RestrictionChange`. pub mod restriction_change { - /// The feature which had changes to its restriction policy. + /// The feature which had changes to its restriction policy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Feature { - /// The feature which changed restriction settings was not available. + /// The feature which changed restriction settings was not available. Unspecified = 0, - /// When restricted, this prevents items from being shared outside the - /// domain. + /// When restricted, this prevents items from being shared outside the + /// domain. SharingOutsideDomain = 1, - /// When restricted, this prevents direct sharing of individual items. + /// When restricted, this prevents direct sharing of individual items. DirectSharing = 2, - /// When restricted, this prevents actions like copy, download, and print - /// that might result in uncontrolled duplicates of items. + /// When restricted, this prevents actions like copy, download, and print + /// that might result in uncontrolled duplicates of items. ItemDuplication = 3, - /// When restricted, this prevents use of Drive File Stream. + /// When restricted, this prevents use of Drive File Stream. DriveFileStream = 4, } impl Feature { @@ -1060,15 +1060,15 @@ pub mod settings_change { } } } - /// The restriction applicable to a feature. + /// The restriction applicable to a feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Restriction { - /// The type of restriction is not available. + /// The type of restriction is not available. Unspecified = 0, - /// The feature is available without restriction. + /// The feature is available without restriction. Unrestricted = 1, - /// The use of this feature is fully restricted. + /// The use of this feature is fully restricted. FullyRestricted = 2, } impl Restriction { @@ -1086,30 +1086,30 @@ pub mod settings_change { } } } -/// The request message for querying Drive activity. +/// The request message for querying Drive activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDriveActivityRequest { - /// Details on how to consolidate related actions that make up the activity. If - /// not set, then related actions are not consolidated. + /// Details on how to consolidate related actions that make up the activity. If + /// not set, then related actions are not consolidated. #[prost(message, optional, tag="5")] pub consolidation_strategy: ::core::option::Option, - /// The miminum number of activities desired in the response; the server will - /// attempt to return at least this quanitity. The server may also return fewer - /// activities if it has a partial response ready before the request times out. - /// If not set, a default value is used. + /// The miminum number of activities desired in the response; the server will + /// attempt to return at least this quanitity. The server may also return fewer + /// activities if it has a partial response ready before the request times out. + /// If not set, a default value is used. #[prost(int32, tag="6")] pub page_size: i32, - /// The token identifying which page of results to return. Set this to the - /// next_page_token value returned from a previous query to obtain the - /// following page of results. If not set, the first page of results will be - /// returned. + /// The token identifying which page of results to return. Set this to the + /// next_page_token value returned from a previous query to obtain the + /// following page of results. If not set, the first page of results will be + /// returned. #[prost(string, tag="7")] pub page_token: ::prost::alloc::string::String, - /// The filtering for items returned from this query request. The format of the - /// filter string is a sequence of expressions, joined by an optional "AND", - /// where each expression is of the form "field operator value". + /// The filtering for items returned from this query request. The format of the + /// filter string is a sequence of expressions, joined by an optional "AND", + /// where each expression is of the form "field operator value". /// - /// Supported fields: + /// Supported fields: /// /// - `time`: Uses numerical operators on date values either in /// terms of milliseconds since Jan 1, 1970 or in RFC 3339 format. @@ -1126,111 +1126,111 @@ pub struct QueryDriveActivityRequest { /// - `-detail.action_detail_case:MOVE` #[prost(string, tag="8")] pub filter: ::prost::alloc::string::String, - /// The primary criteria in the query. The default is - /// ancestor_name = `items/root` if no key is specified. + /// The primary criteria in the query. The default is + /// ancestor_name = `items/root` if no key is specified. #[prost(oneof="query_drive_activity_request::Key", tags="1, 2")] pub key: ::core::option::Option, } /// Nested message and enum types in `QueryDriveActivityRequest`. pub mod query_drive_activity_request { - /// The primary criteria in the query. The default is - /// ancestor_name = `items/root` if no key is specified. + /// The primary criteria in the query. The default is + /// ancestor_name = `items/root` if no key is specified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Key { - /// Return activities for this Drive item. The format is - /// `items/ITEM_ID`. + /// Return activities for this Drive item. The format is + /// `items/ITEM_ID`. #[prost(string, tag="1")] ItemName(::prost::alloc::string::String), - /// Return activities for this Drive folder and all children and descendants. - /// The format is `items/ITEM_ID`. + /// Return activities for this Drive folder and all children and descendants. + /// The format is `items/ITEM_ID`. #[prost(string, tag="2")] AncestorName(::prost::alloc::string::String), } } -/// How the individual activities are consolidated. A set of activities may be -/// consolidated into one combined activity if they are related in some way, such -/// as one actor performing the same action on multiple targets, or multiple -/// actors performing the same action on a single target. The strategy defines -/// the rules for which activities are related. +/// How the individual activities are consolidated. A set of activities may be +/// consolidated into one combined activity if they are related in some way, such +/// as one actor performing the same action on multiple targets, or multiple +/// actors performing the same action on a single target. The strategy defines +/// the rules for which activities are related. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsolidationStrategy { - /// How the individual activities are consolidated. + /// How the individual activities are consolidated. #[prost(oneof="consolidation_strategy::Strategy", tags="1, 2")] pub strategy: ::core::option::Option, } /// Nested message and enum types in `ConsolidationStrategy`. pub mod consolidation_strategy { - /// A strategy which does no consolidation of individual activities. + /// A strategy which does no consolidation of individual activities. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NoConsolidation { } - /// A strategy which consolidates activities using the grouping rules from the - /// legacy V1 Activity API. Similar actions occurring within a window of time - /// can be grouped across multiple targets (such as moving a set of files at - /// once) or multiple actors (such as several users editing the same item). - /// Grouping rules for this strategy are specific to each type of action. + /// A strategy which consolidates activities using the grouping rules from the + /// legacy V1 Activity API. Similar actions occurring within a window of time + /// can be grouped across multiple targets (such as moving a set of files at + /// once) or multiple actors (such as several users editing the same item). + /// Grouping rules for this strategy are specific to each type of action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Legacy { } - /// How the individual activities are consolidated. + /// How the individual activities are consolidated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Strategy { - /// The individual activities are not consolidated. + /// The individual activities are not consolidated. #[prost(message, tag="1")] None(NoConsolidation), - /// The individual activities are consolidated using the legacy strategy. + /// The individual activities are consolidated using the legacy strategy. #[prost(message, tag="2")] Legacy(Legacy), } } -/// Response message for querying Drive activity. +/// Response message for querying Drive activity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDriveActivityResponse { - /// List of activity requested. + /// List of activity requested. #[prost(message, repeated, tag="1")] pub activities: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or - /// empty if there are no more results in the list. + /// Token to retrieve the next page of results, or + /// empty if there are no more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A single Drive activity comprising one or more Actions by one or more -/// Actors on one or more Targets. Some Action groupings occur spontaneously, -/// such as moving an item into a shared folder triggering a permission change. -/// Other groupings of related Actions, such as multiple Actors editing one item -/// or moving multiple files into a new folder, are controlled by the selection -/// of a ConsolidationStrategy in the QueryDriveActivityRequest. +/// A single Drive activity comprising one or more Actions by one or more +/// Actors on one or more Targets. Some Action groupings occur spontaneously, +/// such as moving an item into a shared folder triggering a permission change. +/// Other groupings of related Actions, such as multiple Actors editing one item +/// or moving multiple files into a new folder, are controlled by the selection +/// of a ConsolidationStrategy in the QueryDriveActivityRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveActivity { - /// Key information about the primary action for this activity. This is either - /// representative, or the most important, of all actions in the activity, - /// according to the ConsolidationStrategy in the request. + /// Key information about the primary action for this activity. This is either + /// representative, or the most important, of all actions in the activity, + /// according to the ConsolidationStrategy in the request. #[prost(message, optional, tag="2")] pub primary_action_detail: ::core::option::Option, - /// All actor(s) responsible for the activity. + /// All actor(s) responsible for the activity. #[prost(message, repeated, tag="3")] pub actors: ::prost::alloc::vec::Vec, - /// Details on all actions in this activity. + /// Details on all actions in this activity. #[prost(message, repeated, tag="4")] pub actions: ::prost::alloc::vec::Vec, - /// All Google Drive objects this activity is about (e.g. file, folder, drive). - /// This represents the state of the target immediately after the actions - /// occurred. + /// All Google Drive objects this activity is about (e.g. file, folder, drive). + /// This represents the state of the target immediately after the actions + /// occurred. #[prost(message, repeated, tag="5")] pub targets: ::prost::alloc::vec::Vec, - /// The period of time when this activity occurred. + /// The period of time when this activity occurred. #[prost(oneof="drive_activity::Time", tags="6, 7")] pub time: ::core::option::Option, } /// Nested message and enum types in `DriveActivity`. pub mod drive_activity { - /// The period of time when this activity occurred. + /// The period of time when this activity occurred. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Time { - /// The activity occurred at this specific time. + /// The activity occurred at this specific time. #[prost(message, tag="6")] Timestamp(::prost_types::Timestamp), - /// The activity occurred over this time range. + /// The activity occurred over this time range. #[prost(message, tag="7")] TimeRange(super::TimeRange), } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.calendar.rs b/gcloud-sdk/genproto/google.apps.script.r#type.calendar.rs index a2bb36df5..a862248cd 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.calendar.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.calendar.rs @@ -1,54 +1,54 @@ -// Manifest section specific to Calendar Add-ons. +// Manifest section specific to Calendar Add-ons. -/// Calendar add-on manifest. +/// Calendar add-on manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalendarAddOnManifest { - /// Defines an endpoint that will be executed contexts that don't - /// match a declared contextual trigger. Any cards generated by this function - /// will always be available to the user, but may be eclipsed by contextual - /// content when this add-on declares more targeted triggers. + /// Defines an endpoint that will be executed contexts that don't + /// match a declared contextual trigger. Any cards generated by this function + /// will always be available to the user, but may be eclipsed by contextual + /// content when this add-on declares more targeted triggers. /// - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="6")] pub homepage_trigger: ::core::option::Option, - /// Defines conference solutions provided by this add-on. + /// Defines conference solutions provided by this add-on. #[prost(message, repeated, tag="3")] pub conference_solution: ::prost::alloc::vec::Vec, - /// An endpoint to execute that creates a URL to the add-on's settings page. + /// An endpoint to execute that creates a URL to the add-on's settings page. #[prost(string, tag="5")] pub create_settings_url_function: ::prost::alloc::string::String, - /// An endpoint to trigger when an event is opened (viewed/edited). + /// An endpoint to trigger when an event is opened (viewed/edited). #[prost(message, optional, tag="10")] pub event_open_trigger: ::core::option::Option, - /// An endpoint to trigger when the open event is updated. + /// An endpoint to trigger when the open event is updated. #[prost(message, optional, tag="11")] pub event_update_trigger: ::core::option::Option, - /// Define the level of data access when an event addon is triggered. + /// Define the level of data access when an event addon is triggered. #[prost(enumeration="calendar_add_on_manifest::EventAccess", tag="12")] pub current_event_access: i32, } /// Nested message and enum types in `CalendarAddOnManifest`. pub mod calendar_add_on_manifest { - /// An enum defining the level of data access event triggers require. + /// An enum defining the level of data access event triggers require. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventAccess { - /// Default value when nothing is set for EventAccess. + /// Default value when nothing is set for EventAccess. Unspecified = 0, - /// METADATA gives event triggers the permission to access the metadata of - /// events such as event id and calendar id. + /// METADATA gives event triggers the permission to access the metadata of + /// events such as event id and calendar id. Metadata = 1, - /// READ gives event triggers access to all provided event fields including - /// the metadata, attendees, and conference data. + /// READ gives event triggers access to all provided event fields including + /// the metadata, attendees, and conference data. Read = 3, - /// WRITE gives event triggers access to the metadata of events and the - /// ability to perform all actions, including adding attendees and setting - /// conference data. + /// WRITE gives event triggers access to the metadata of events and the + /// ability to perform all actions, including adding attendees and setting + /// conference data. Write = 4, - /// READ_WRITE gives event triggers access to all provided event fields - /// including the metadata, attendees, and conference data and the ability to - /// perform all actions. + /// READ_WRITE gives event triggers access to all provided event fields + /// including the metadata, attendees, and conference data and the ability to + /// perform all actions. ReadWrite = 5, } impl EventAccess { @@ -67,31 +67,31 @@ pub mod calendar_add_on_manifest { } } } -/// Defines conference related values. +/// Defines conference related values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConferenceSolution { - /// Required. The endpoint to call when ConferenceData should be created. + /// Required. The endpoint to call when ConferenceData should be created. #[prost(string, tag="1")] pub on_create_function: ::prost::alloc::string::String, - /// Required. IDs should be unique across ConferenceSolutions within one - /// add-on, but this is not strictly enforced. It is up to the add-on developer - /// to assign them uniquely, otherwise the wrong ConferenceSolution may be - /// used when the add-on is triggered. While the developer may change the - /// display name of an add-on, the ID should not be changed. + /// Required. IDs should be unique across ConferenceSolutions within one + /// add-on, but this is not strictly enforced. It is up to the add-on developer + /// to assign them uniquely, otherwise the wrong ConferenceSolution may be + /// used when the add-on is triggered. While the developer may change the + /// display name of an add-on, the ID should not be changed. #[prost(string, tag="4")] pub id: ::prost::alloc::string::String, - /// Required. The display name of the ConferenceSolution. + /// Required. The display name of the ConferenceSolution. #[prost(string, tag="5")] pub name: ::prost::alloc::string::String, - /// Required. The URL for the logo image of the ConferenceSolution. + /// Required. The URL for the logo image of the ConferenceSolution. #[prost(string, tag="6")] pub logo_url: ::prost::alloc::string::String, } -/// Common format for declaring a calendar add-on's triggers. +/// Common format for declaring a calendar add-on's triggers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalendarExtensionPoint { - /// Required. The endpoint to execute when this extension point is - /// activated. + /// Required. The endpoint to execute when this extension point is + /// activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.docs.rs b/gcloud-sdk/genproto/google.apps.script.r#type.docs.rs index 1eb692a2c..d64992760 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.docs.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.docs.rs @@ -1,21 +1,21 @@ -// Manifest section specific to Docs Add-ons. +// Manifest section specific to Docs Add-ons. -/// Docs add-on manifest. +/// Docs add-on manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocsAddOnManifest { - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="1")] pub homepage_trigger: ::core::option::Option, - /// Endpoint to execute when file scope authorization is granted - /// for this document/user pair. + /// Endpoint to execute when file scope authorization is granted + /// for this document/user pair. #[prost(message, optional, tag="2")] pub on_file_scope_granted_trigger: ::core::option::Option, } -/// Common format for declaring a Docs add-on's triggers. +/// Common format for declaring a Docs add-on's triggers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocsExtensionPoint { - /// Required. The endpoint to execute when this extension point is activated. + /// Required. The endpoint to execute when this extension point is activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.drive.rs b/gcloud-sdk/genproto/google.apps.script.r#type.drive.rs index 738ca8488..bf30d4e6a 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.drive.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.drive.rs @@ -1,23 +1,23 @@ -// Manifest section specific to Drive Add-ons. +// Manifest section specific to Drive Add-ons. -/// Drive add-on manifest. +/// Drive add-on manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveAddOnManifest { - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="1")] pub homepage_trigger: ::core::option::Option, - /// Corresponds to behvior that should execute when items are selected - /// in relevant Drive view (e.g. the My Drive Doclist). + /// Corresponds to behvior that should execute when items are selected + /// in relevant Drive view (e.g. the My Drive Doclist). #[prost(message, optional, tag="2")] pub on_items_selected_trigger: ::core::option::Option, } -/// A generic extension point with common features, e.g. something that simply -/// needs a corresponding run function to work. +/// A generic extension point with common features, e.g. something that simply +/// needs a corresponding run function to work. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DriveExtensionPoint { - /// Required. The endpoint to execute when this extension point is - /// activated. + /// Required. The endpoint to execute when this extension point is + /// activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.gmail.rs b/gcloud-sdk/genproto/google.apps.script.r#type.gmail.rs index d15a189a9..930f8ff98 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.gmail.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.gmail.rs @@ -1,93 +1,93 @@ -/// Properties customizing the appearance and execution of a Gmail add-on. +/// Properties customizing the appearance and execution of a Gmail add-on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GmailAddOnManifest { - /// Defines an endpoint that will be executed in contexts that don't - /// match a declared contextual trigger. Any cards generated by this function - /// will always be available to the user, but may be eclipsed by contextual - /// content when this add-on declares more targeted triggers. + /// Defines an endpoint that will be executed in contexts that don't + /// match a declared contextual trigger. Any cards generated by this function + /// will always be available to the user, but may be eclipsed by contextual + /// content when this add-on declares more targeted triggers. /// - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="14")] pub homepage_trigger: ::core::option::Option, - /// Defines the set of conditions that trigger the add-on. + /// Defines the set of conditions that trigger the add-on. #[prost(message, repeated, tag="3")] pub contextual_triggers: ::prost::alloc::vec::Vec, - /// Defines set of [universal - /// actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user - /// triggers universal actions from the add-on toolbar menu. + /// Defines set of [universal + /// actions](/gmail/add-ons/how-tos/universal-actions) for the add-on. The user + /// triggers universal actions from the add-on toolbar menu. #[prost(message, repeated, tag="4")] pub universal_actions: ::prost::alloc::vec::Vec, - /// Defines the compose time trigger for a compose time add-on. This is the - /// trigger that causes an add-on to take action when the user is composing an - /// email. - /// All compose time addons are required to have the - /// gmail.addons.current.action.compose scope even though it might not edit the - /// draft. + /// Defines the compose time trigger for a compose time add-on. This is the + /// trigger that causes an add-on to take action when the user is composing an + /// email. + /// All compose time addons are required to have the + /// gmail.addons.current.action.compose scope even though it might not edit the + /// draft. #[prost(message, optional, tag="12")] pub compose_trigger: ::core::option::Option, - /// The name of an endpoint that verifies that the add-on has - /// all the required third-party authorizations, by probing the third-party - /// APIs. If the probe fails, the function should throw an exception to - /// initiate the authorization flow. This function is called before each - /// invocation of the add-on, in order to ensure a smooth user experience. + /// The name of an endpoint that verifies that the add-on has + /// all the required third-party authorizations, by probing the third-party + /// APIs. If the probe fails, the function should throw an exception to + /// initiate the authorization flow. This function is called before each + /// invocation of the add-on, in order to ensure a smooth user experience. #[prost(string, tag="7")] pub authorization_check_function: ::prost::alloc::string::String, } -/// An action that is always available in the add-on toolbar menu regardless of -/// message context. +/// An action that is always available in the add-on toolbar menu regardless of +/// message context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UniversalAction { - /// Required. User-visible text describing the action, for example, "Add a new - /// contact." + /// Required. User-visible text describing the action, for example, "Add a new + /// contact." #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// The type of the action determines the behavior of Gmail when the user - /// invokes the action. + /// The type of the action determines the behavior of Gmail when the user + /// invokes the action. #[prost(oneof="universal_action::ActionType", tags="2, 3")] pub action_type: ::core::option::Option, } /// Nested message and enum types in `UniversalAction`. pub mod universal_action { - /// The type of the action determines the behavior of Gmail when the user - /// invokes the action. + /// The type of the action determines the behavior of Gmail when the user + /// invokes the action. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ActionType { - /// A link that is opened by Gmail when the user triggers the action. + /// A link that is opened by Gmail when the user triggers the action. #[prost(string, tag="2")] OpenLink(::prost::alloc::string::String), - /// An endpoint that is called when the user triggers the - /// action. See the [universal actions - /// guide](/gmail/add-ons/how-tos/universal-actions) for details. + /// An endpoint that is called when the user triggers the + /// action. See the [universal actions + /// guide](/gmail/add-ons/how-tos/universal-actions) for details. #[prost(string, tag="3")] RunFunction(::prost::alloc::string::String), } } -/// A trigger that activates when user is composing an email. +/// A trigger that activates when user is composing an email. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ComposeTrigger { - /// Defines the set of actions for compose time add-on. These are actions - /// that user can trigger on a compose time addon. + /// Defines the set of actions for compose time add-on. These are actions + /// that user can trigger on a compose time addon. #[prost(message, repeated, tag="5")] pub actions: ::prost::alloc::vec::Vec, - /// Define the level of data access when a compose time addon is triggered. + /// Define the level of data access when a compose time addon is triggered. #[prost(enumeration="compose_trigger::DraftAccess", tag="4")] pub draft_access: i32, } /// Nested message and enum types in `ComposeTrigger`. pub mod compose_trigger { - /// An enum defining the level of data access this compose trigger requires. + /// An enum defining the level of data access this compose trigger requires. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DraftAccess { - /// Default value when nothing is set for DraftAccess. + /// Default value when nothing is set for DraftAccess. Unspecified = 0, - /// NONE means compose trigger won't be able to access any data of the draft - /// when a compose addon is triggered. + /// NONE means compose trigger won't be able to access any data of the draft + /// when a compose addon is triggered. None = 1, - /// METADATA gives compose trigger the permission to access the metadata of - /// the draft when a compose addon is triggered. This includes the audience - /// list (To/cc list) of a draft message. + /// METADATA gives compose trigger the permission to access the metadata of + /// the draft when a compose addon is triggered. This includes the audience + /// list (To/cc list) of a draft message. Metadata = 2, } impl DraftAccess { @@ -104,32 +104,32 @@ pub mod compose_trigger { } } } -/// Defines a trigger that fires when the open email meets a specific criteria. -/// When the trigger fires, it executes a specific endpoint, usually -/// in order to create new cards and update the UI. +/// Defines a trigger that fires when the open email meets a specific criteria. +/// When the trigger fires, it executes a specific endpoint, usually +/// in order to create new cards and update the UI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextualTrigger { - /// Required. The name of the endpoint to call when a message matches the - /// trigger. + /// Required. The name of the endpoint to call when a message matches the + /// trigger. #[prost(string, tag="4")] pub on_trigger_function: ::prost::alloc::string::String, - /// The type of trigger determines the conditions Gmail uses to show the - /// add-on. + /// The type of trigger determines the conditions Gmail uses to show the + /// add-on. #[prost(oneof="contextual_trigger::Trigger", tags="1")] pub trigger: ::core::option::Option, } /// Nested message and enum types in `ContextualTrigger`. pub mod contextual_trigger { - /// The type of trigger determines the conditions Gmail uses to show the - /// add-on. + /// The type of trigger determines the conditions Gmail uses to show the + /// add-on. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Trigger { - /// UnconditionalTriggers are executed when any mail message is opened. + /// UnconditionalTriggers are executed when any mail message is opened. #[prost(message, tag="1")] Unconditional(super::UnconditionalTrigger), } } -/// A trigger that fires when any email message is opened. +/// A trigger that fires when any email message is opened. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnconditionalTrigger { } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.rs b/gcloud-sdk/genproto/google.apps.script.r#type.rs index 75bd18eff..d834f83cc 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.rs @@ -1,31 +1,31 @@ -/// The widget subset used by an add-on. +/// The widget subset used by an add-on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddOnWidgetSet { - /// The list of widgets used in an add-on. + /// The list of widgets used in an add-on. #[prost(enumeration="add_on_widget_set::WidgetType", repeated, tag="1")] pub used_widgets: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `AddOnWidgetSet`. pub mod add_on_widget_set { - /// The Widget type. DEFAULT is the basic widget set. + /// The Widget type. DEFAULT is the basic widget set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WidgetType { - /// The default widget set. + /// The default widget set. Unspecified = 0, - /// The date picker. + /// The date picker. DatePicker = 1, - /// Styled buttons include filled buttons and disabled buttons. + /// Styled buttons include filled buttons and disabled buttons. StyledButtons = 2, - /// Persistent forms allow persisting form values during actions. + /// Persistent forms allow persisting form values during actions. PersistentForms = 3, - /// Fixed footer in card. + /// Fixed footer in card. FixedFooter = 4, - /// Update the subject and recipients of a draft. + /// Update the subject and recipients of a draft. UpdateSubjectAndRecipients = 5, - /// The grid widget. + /// The grid widget. GridWidget = 6, - /// A Gmail add-on action that applies to the addon compose UI. + /// A Gmail add-on action that applies to the addon compose UI. AddonComposeUiAction = 7, } impl WidgetType { @@ -47,144 +47,144 @@ pub mod add_on_widget_set { } } } -// Common Manifest protos for G Suite extension-point configuration. +// Common Manifest protos for G Suite extension-point configuration. -/// Common format for declaring a menu item, or button, that appears within a -/// host app. +/// Common format for declaring a menu item, or button, that appears within a +/// host app. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MenuItemExtensionPoint { - /// Required. The endpoint to execute when this extension point is - /// activated. + /// Required. The endpoint to execute when this extension point is + /// activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, - /// Required. User-visible text describing the action taken by activating this - /// extension point. For example, "Insert invoice". + /// Required. User-visible text describing the action taken by activating this + /// extension point. For example, "Insert invoice". #[prost(string, tag="2")] pub label: ::prost::alloc::string::String, - /// The URL for the logo image shown in the add-on toolbar. + /// The URL for the logo image shown in the add-on toolbar. /// - /// If not set, defaults to the add-on's primary logo URL. + /// If not set, defaults to the add-on's primary logo URL. #[prost(string, tag="3")] pub logo_url: ::prost::alloc::string::String, } -/// Common format for declaring an add-on's home-page view. +/// Common format for declaring an add-on's home-page view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HomepageExtensionPoint { - /// Required. The endpoint to execute when this extension point is - /// activated. + /// Required. The endpoint to execute when this extension point is + /// activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, - /// Optional. If set to `false`, disable the home-page view in this context. + /// Optional. If set to `false`, disable the home-page view in this context. /// - /// Defaults to `true` if unset. + /// Defaults to `true` if unset. /// - /// If an add-ons custom home-page view is disabled, an autogenerated overview - /// card will be provided for users instead. + /// If an add-ons custom home-page view is disabled, an autogenerated overview + /// card will be provided for users instead. #[prost(message, optional, tag="2")] pub enabled: ::core::option::Option, } -/// Format for declaring a universal action menu item extension point. +/// Format for declaring a universal action menu item extension point. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UniversalActionExtensionPoint { - /// Required. User-visible text describing the action taken by activating this - /// extension point, for example, "Add a new contact". + /// Required. User-visible text describing the action taken by activating this + /// extension point, for example, "Add a new contact". #[prost(string, tag="1")] pub label: ::prost::alloc::string::String, - /// Required. The action type supported on a universal action menu item. It - /// could be either a link to open or an endpoint to execute. + /// Required. The action type supported on a universal action menu item. It + /// could be either a link to open or an endpoint to execute. #[prost(oneof="universal_action_extension_point::ActionType", tags="2, 3")] pub action_type: ::core::option::Option, } /// Nested message and enum types in `UniversalActionExtensionPoint`. pub mod universal_action_extension_point { - /// Required. The action type supported on a universal action menu item. It - /// could be either a link to open or an endpoint to execute. + /// Required. The action type supported on a universal action menu item. It + /// could be either a link to open or an endpoint to execute. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ActionType { - /// URL to be opened by the UniversalAction. + /// URL to be opened by the UniversalAction. #[prost(string, tag="2")] OpenLink(::prost::alloc::string::String), - /// Endpoint to be run by the UniversalAction. + /// Endpoint to be run by the UniversalAction. #[prost(string, tag="3")] RunFunction(::prost::alloc::string::String), } } -/// Add-on configuration that is shared across all add-on host applications. +/// Add-on configuration that is shared across all add-on host applications. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommonAddOnManifest { - /// Required. The display name of the add-on. + /// Required. The display name of the add-on. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The URL for the logo image shown in the add-on toolbar. + /// Required. The URL for the logo image shown in the add-on toolbar. #[prost(string, tag="2")] pub logo_url: ::prost::alloc::string::String, - /// Common layout properties for the add-on cards. + /// Common layout properties for the add-on cards. #[prost(message, optional, tag="3")] pub layout_properties: ::core::option::Option, - /// The widgets used in the add-on. If this field is not specified, - /// it indicates that default set is used. + /// The widgets used in the add-on. If this field is not specified, + /// it indicates that default set is used. #[prost(message, optional, tag="4")] pub add_on_widget_set: ::core::option::Option, - /// Whether to pass locale information from host app. + /// Whether to pass locale information from host app. #[prost(bool, tag="5")] pub use_locale_from_app: bool, - /// Defines an endpoint that will be executed in any context, in - /// any host. Any cards generated by this function will always be available to - /// the user, but may be eclipsed by contextual content when this add-on - /// declares more targeted triggers. + /// Defines an endpoint that will be executed in any context, in + /// any host. Any cards generated by this function will always be available to + /// the user, but may be eclipsed by contextual content when this add-on + /// declares more targeted triggers. #[prost(message, optional, tag="6")] pub homepage_trigger: ::core::option::Option, - /// Defines a list of extension points in the universal action menu which - /// serves as a setting menu for the add-on. The extension point can be - /// link URL to open or an endpoint to execute as a form - /// submission. + /// Defines a list of extension points in the universal action menu which + /// serves as a setting menu for the add-on. The extension point can be + /// link URL to open or an endpoint to execute as a form + /// submission. #[prost(message, repeated, tag="7")] pub universal_actions: ::prost::alloc::vec::Vec, - /// An OpenLink action - /// can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, - /// the URL must also - /// \[match\](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the - /// prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS - /// is assumed. Notice that HTTP links are automatically rewritten to HTTPS - /// links. + /// An OpenLink action + /// can only use a URL with an HTTPS, MAILTO or TEL scheme. For HTTPS links, + /// the URL must also + /// \[match\](/gmail/add-ons/concepts/manifests#whitelisting_urls) one of the + /// prefixes specified in this whitelist. If the prefix omits the scheme, HTTPS + /// is assumed. Notice that HTTP links are automatically rewritten to HTTPS + /// links. #[prost(message, optional, tag="8")] pub open_link_url_prefixes: ::core::option::Option<::prost_types::ListValue>, } -/// Card layout properties shared across all add-on host applications. +/// Card layout properties shared across all add-on host applications. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LayoutProperties { - /// The primary color of the add-on. It sets the color of toolbar. If no - /// primary color is set explicitly, the default value provided by the - /// framework is used. + /// The primary color of the add-on. It sets the color of toolbar. If no + /// primary color is set explicitly, the default value provided by the + /// framework is used. #[prost(string, tag="1")] pub primary_color: ::prost::alloc::string::String, - /// The secondary color of the add-on. It sets the color of buttons. - /// If primary color is set but no secondary color is set, the - /// secondary color is the same as the primary color. If neither primary - /// color nor secondary color is set, the default value provided by the - /// framework is used. + /// The secondary color of the add-on. It sets the color of buttons. + /// If primary color is set but no secondary color is set, the + /// secondary color is the same as the primary color. If neither primary + /// color nor secondary color is set, the default value provided by the + /// framework is used. #[prost(string, tag="2")] pub secondary_color: ::prost::alloc::string::String, } -/// Options for sending requests to add-on HTTP endpoints +/// Options for sending requests to add-on HTTP endpoints #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpOptions { - /// Configuration for the token sent in the HTTP Authorization header + /// Configuration for the token sent in the HTTP Authorization header #[prost(enumeration="HttpAuthorizationHeader", tag="1")] pub authorization_header: i32, } -/// Authorization header sent in add-on HTTP requests +/// Authorization header sent in add-on HTTP requests #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HttpAuthorizationHeader { - /// Default value, equivalent to `SYSTEM_ID_TOKEN` + /// Default value, equivalent to `SYSTEM_ID_TOKEN` Unspecified = 0, - /// Send an ID token for the project-specific Google Workspace Add-ons system - /// service account (default) + /// Send an ID token for the project-specific Google Workspace Add-ons system + /// service account (default) SystemIdToken = 1, - /// Send an ID token for the end user + /// Send an ID token for the end user UserIdToken = 2, - /// Do not send an Authentication header + /// Do not send an Authentication header None = 3, } impl HttpAuthorizationHeader { diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.sheets.rs b/gcloud-sdk/genproto/google.apps.script.r#type.sheets.rs index 55300666a..121e908e8 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.sheets.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.sheets.rs @@ -1,21 +1,21 @@ -// Manifest section specific to Sheets Add-ons. +// Manifest section specific to Sheets Add-ons. -/// Sheets add-on manifest. +/// Sheets add-on manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SheetsAddOnManifest { - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="3")] pub homepage_trigger: ::core::option::Option, - /// Endpoint to execute when file scope authorization is granted - /// for this document/user pair. + /// Endpoint to execute when file scope authorization is granted + /// for this document/user pair. #[prost(message, optional, tag="5")] pub on_file_scope_granted_trigger: ::core::option::Option, } -/// Common format for declaring a Sheets add-on's triggers. +/// Common format for declaring a Sheets add-on's triggers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SheetsExtensionPoint { - /// Required. The endpoint to execute when this extension point is activated. + /// Required. The endpoint to execute when this extension point is activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.apps.script.r#type.slides.rs b/gcloud-sdk/genproto/google.apps.script.r#type.slides.rs index b56bbef6d..b92bc30a4 100644 --- a/gcloud-sdk/genproto/google.apps.script.r#type.slides.rs +++ b/gcloud-sdk/genproto/google.apps.script.r#type.slides.rs @@ -1,21 +1,21 @@ -// Manifest section specific to Slides Add-ons. +// Manifest section specific to Slides Add-ons. -/// Slides add-on manifest. +/// Slides add-on manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlidesAddOnManifest { - /// If present, this overrides the configuration from - /// `addOns.common.homepageTrigger`. + /// If present, this overrides the configuration from + /// `addOns.common.homepageTrigger`. #[prost(message, optional, tag="1")] pub homepage_trigger: ::core::option::Option, - /// Endpoint to execute when file scope authorization is granted - /// for this document/user pair. + /// Endpoint to execute when file scope authorization is granted + /// for this document/user pair. #[prost(message, optional, tag="2")] pub on_file_scope_granted_trigger: ::core::option::Option, } -/// Common format for declaring a Slides add-on's triggers. +/// Common format for declaring a Slides add-on's triggers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SlidesExtensionPoint { - /// Required. The endpoint to execute when this extension point is activated. + /// Required. The endpoint to execute when this extension point is activated. #[prost(string, tag="1")] pub run_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.area120.tables.v1alpha1.rs b/gcloud-sdk/genproto/google.area120.tables.v1alpha1.rs index fc411a41c..b742f7d5f 100644 --- a/gcloud-sdk/genproto/google.area120.tables.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.area120.tables.v1alpha1.rs @@ -1,335 +1,335 @@ -/// Request message for TablesService.GetTable. +/// Request message for TablesService.GetTable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTableRequest { - /// Required. The name of the table to retrieve. - /// Format: tables/{table} + /// Required. The name of the table to retrieve. + /// Format: tables/{table} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for TablesService.ListTables. +/// Request message for TablesService.ListTables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTablesRequest { - /// The maximum number of tables to return. The service may return fewer than - /// this value. + /// The maximum number of tables to return. The service may return fewer than + /// this value. /// - /// If unspecified, at most 20 tables are returned. The maximum value is 100; - /// values above 100 are coerced to 100. + /// If unspecified, at most 20 tables are returned. The maximum value is 100; + /// values above 100 are coerced to 100. #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListTables` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListTables` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListTables` must match - /// the call that provided the page token. + /// When paginating, all other parameters provided to `ListTables` must match + /// the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for TablesService.ListTables. +/// Response message for TablesService.ListTables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTablesResponse { - /// The list of tables. + /// The list of tables. #[prost(message, repeated, tag="1")] pub tables: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is empty, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is empty, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for TablesService.GetWorkspace. +/// Request message for TablesService.GetWorkspace. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkspaceRequest { - /// Required. The name of the workspace to retrieve. - /// Format: workspaces/{workspace} + /// Required. The name of the workspace to retrieve. + /// Format: workspaces/{workspace} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for TablesService.ListWorkspaces. +/// Request message for TablesService.ListWorkspaces. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesRequest { - /// The maximum number of workspaces to return. The service may return fewer - /// than this value. + /// The maximum number of workspaces to return. The service may return fewer + /// than this value. /// - /// If unspecified, at most 10 workspaces are returned. The maximum value is - /// 25; values above 25 are coerced to 25. + /// If unspecified, at most 10 workspaces are returned. The maximum value is + /// 25; values above 25 are coerced to 25. #[prost(int32, tag="1")] pub page_size: i32, - /// A page token, received from a previous `ListWorkspaces` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListWorkspaces` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListWorkspaces` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListWorkspaces` must + /// match the call that provided the page token. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for TablesService.ListWorkspaces. +/// Response message for TablesService.ListWorkspaces. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesResponse { - /// The list of workspaces. + /// The list of workspaces. #[prost(message, repeated, tag="1")] pub workspaces: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is empty, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is empty, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for TablesService.GetRow. +/// Request message for TablesService.GetRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRowRequest { - /// Required. The name of the row to retrieve. - /// Format: tables/{table}/rows/{row} + /// Required. The name of the row to retrieve. + /// Format: tables/{table}/rows/{row} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Column key to use for values in the row. - /// Defaults to user entered name. + /// Optional. Column key to use for values in the row. + /// Defaults to user entered name. #[prost(enumeration="View", tag="2")] pub view: i32, } -/// Request message for TablesService.ListRows. +/// Request message for TablesService.ListRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRowsRequest { - /// Required. The parent table. - /// Format: tables/{table} + /// Required. The parent table. + /// Format: tables/{table} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of rows to return. The service may return fewer than - /// this value. + /// The maximum number of rows to return. The service may return fewer than + /// this value. /// - /// If unspecified, at most 50 rows are returned. The maximum value is 1,000; - /// values above 1,000 are coerced to 1,000. + /// If unspecified, at most 50 rows are returned. The maximum value is 1,000; + /// values above 1,000 are coerced to 1,000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListRows` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListRows` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListRows` must match - /// the call that provided the page token. + /// When paginating, all other parameters provided to `ListRows` must match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Column key to use for values in the row. - /// Defaults to user entered name. + /// Optional. Column key to use for values in the row. + /// Defaults to user entered name. #[prost(enumeration="View", tag="4")] pub view: i32, - /// Optional. Raw text query to search for in rows of the table. - /// Special characters must be escaped. Logical operators and field specific - /// filtering not supported. + /// Optional. Raw text query to search for in rows of the table. + /// Special characters must be escaped. Logical operators and field specific + /// filtering not supported. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// Response message for TablesService.ListRows. +/// Response message for TablesService.ListRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRowsResponse { - /// The rows from the specified table. + /// The rows from the specified table. #[prost(message, repeated, tag="1")] pub rows: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is empty, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is empty, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for TablesService.CreateRow. +/// Request message for TablesService.CreateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRowRequest { - /// Required. The parent table where this row will be created. - /// Format: tables/{table} + /// Required. The parent table where this row will be created. + /// Format: tables/{table} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The row to create. + /// Required. The row to create. #[prost(message, optional, tag="2")] pub row: ::core::option::Option, - /// Optional. Column key to use for values in the row. - /// Defaults to user entered name. + /// Optional. Column key to use for values in the row. + /// Defaults to user entered name. #[prost(enumeration="View", tag="3")] pub view: i32, } -/// Request message for TablesService.BatchCreateRows. +/// Request message for TablesService.BatchCreateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateRowsRequest { - /// Required. The parent table where the rows will be created. - /// Format: tables/{table} + /// Required. The parent table where the rows will be created. + /// Format: tables/{table} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request message specifying the rows to create. + /// Required. The request message specifying the rows to create. /// - /// A maximum of 500 rows can be created in a single batch. + /// A maximum of 500 rows can be created in a single batch. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for TablesService.BatchCreateRows. +/// Response message for TablesService.BatchCreateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateRowsResponse { - /// The created rows. + /// The created rows. #[prost(message, repeated, tag="1")] pub rows: ::prost::alloc::vec::Vec, } -/// Request message for TablesService.UpdateRow. +/// Request message for TablesService.UpdateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRowRequest { - /// Required. The row to update. + /// Required. The row to update. #[prost(message, optional, tag="1")] pub row: ::core::option::Option, - /// The list of fields to update. + /// The list of fields to update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional. Column key to use for values in the row. - /// Defaults to user entered name. + /// Optional. Column key to use for values in the row. + /// Defaults to user entered name. #[prost(enumeration="View", tag="3")] pub view: i32, } -/// Request message for TablesService.BatchUpdateRows. +/// Request message for TablesService.BatchUpdateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateRowsRequest { - /// Required. The parent table shared by all rows being updated. - /// Format: tables/{table} + /// Required. The parent table shared by all rows being updated. + /// Format: tables/{table} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request messages specifying the rows to update. + /// Required. The request messages specifying the rows to update. /// - /// A maximum of 500 rows can be modified in a single batch. + /// A maximum of 500 rows can be modified in a single batch. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for TablesService.BatchUpdateRows. +/// Response message for TablesService.BatchUpdateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchUpdateRowsResponse { - /// The updated rows. + /// The updated rows. #[prost(message, repeated, tag="1")] pub rows: ::prost::alloc::vec::Vec, } -/// Request message for TablesService.DeleteRow +/// Request message for TablesService.DeleteRow #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRowRequest { - /// Required. The name of the row to delete. - /// Format: tables/{table}/rows/{row} + /// Required. The name of the row to delete. + /// Format: tables/{table}/rows/{row} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for TablesService.BatchDeleteRows +/// Request message for TablesService.BatchDeleteRows #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDeleteRowsRequest { - /// Required. The parent table shared by all rows being deleted. - /// Format: tables/{table} + /// Required. The parent table shared by all rows being deleted. + /// Format: tables/{table} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The names of the rows to delete. All rows must belong to the parent table - /// or else the entire batch will fail. A maximum of 500 rows can be deleted - /// in a batch. - /// Format: tables/{table}/rows/{row} + /// Required. The names of the rows to delete. All rows must belong to the parent table + /// or else the entire batch will fail. A maximum of 500 rows can be deleted + /// in a batch. + /// Format: tables/{table}/rows/{row} #[prost(string, repeated, tag="2")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A single table. +/// A single table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Table { - /// The resource name of the table. - /// Table names have the form `tables/{table}`. + /// The resource name of the table. + /// Table names have the form `tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The human readable title of the table. + /// The human readable title of the table. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// List of columns in this table. - /// Order of columns matches the display order. + /// List of columns in this table. + /// Order of columns matches the display order. #[prost(message, repeated, tag="3")] pub columns: ::prost::alloc::vec::Vec, } -/// Details on a column in the table. +/// Details on a column in the table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnDescription { - /// column name + /// column name #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data type of the column - /// Supported types are auto_id, boolean, boolean_list, creator, - /// create_timestamp, date, dropdown, location, integer, - /// integer_list, number, number_list, person, person_list, tags, check_list, - /// text, text_list, update_timestamp, updater, relationship, - /// file_attachment_list. - /// These types directly map to the column types supported on Tables website. + /// Data type of the column + /// Supported types are auto_id, boolean, boolean_list, creator, + /// create_timestamp, date, dropdown, location, integer, + /// integer_list, number, number_list, person, person_list, tags, check_list, + /// text, text_list, update_timestamp, updater, relationship, + /// file_attachment_list. + /// These types directly map to the column types supported on Tables website. #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Internal id for a column. + /// Internal id for a column. #[prost(string, tag="3")] pub id: ::prost::alloc::string::String, - /// Optional. Range of labeled values for the column. - /// Some columns like tags and drop-downs limit the values to a set of - /// possible values. We return the range of values in such cases to help - /// clients implement better user data validation. + /// Optional. Range of labeled values for the column. + /// Some columns like tags and drop-downs limit the values to a set of + /// possible values. We return the range of values in such cases to help + /// clients implement better user data validation. #[prost(message, repeated, tag="4")] pub labels: ::prost::alloc::vec::Vec, - /// Optional. Additional details about a relationship column. Specified when data_type - /// is relationship. + /// Optional. Additional details about a relationship column. Specified when data_type + /// is relationship. #[prost(message, optional, tag="5")] pub relationship_details: ::core::option::Option, - /// Optional. Indicates that this is a lookup column whose value is derived from the - /// relationship column specified in the details. Lookup columns can not be - /// updated directly. To change the value you must update the associated - /// relationship column. + /// Optional. Indicates that this is a lookup column whose value is derived from the + /// relationship column specified in the details. Lookup columns can not be + /// updated directly. To change the value you must update the associated + /// relationship column. #[prost(message, optional, tag="6")] pub lookup_details: ::core::option::Option, } -/// A single item in a labeled column. +/// A single item in a labeled column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabeledItem { - /// Display string as entered by user. + /// Display string as entered by user. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Internal id associated with the item. + /// Internal id associated with the item. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, } -/// Details about a relationship column. +/// Details about a relationship column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelationshipDetails { - /// The name of the table this relationship is linked to. + /// The name of the table this relationship is linked to. #[prost(string, tag="1")] pub linked_table: ::prost::alloc::string::String, } -/// Details about a lookup column whose value comes from the associated -/// relationship. +/// Details about a lookup column whose value comes from the associated +/// relationship. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupDetails { - /// The name of the relationship column associated with the lookup. + /// The name of the relationship column associated with the lookup. #[prost(string, tag="1")] pub relationship_column: ::prost::alloc::string::String, - /// The id of the relationship column. + /// The id of the relationship column. #[prost(string, tag="2")] pub relationship_column_id: ::prost::alloc::string::String, } -/// A single row in a table. +/// A single row in a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// The resource name of the row. - /// Row names have the form `tables/{table}/rows/{row}`. - /// The name is ignored when creating a row. + /// The resource name of the row. + /// Row names have the form `tables/{table}/rows/{row}`. + /// The name is ignored when creating a row. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The values of the row. This is a map of column key to value. - /// Key is user entered name(default) or the internal column id based on - /// the view in the request. + /// The values of the row. This is a map of column key to value. + /// Key is user entered name(default) or the internal column id based on + /// the view in the request. #[prost(map="string, message", tag="2")] pub values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::Value>, } -/// A single workspace. +/// A single workspace. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Workspace { - /// The resource name of the workspace. - /// Workspace names have the form `workspaces/{workspace}`. + /// The resource name of the workspace. + /// Workspace names have the form `workspaces/{workspace}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The human readable title of the workspace. + /// The human readable title of the workspace. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The list of tables in the workspace. + /// The list of tables in the workspace. #[prost(message, repeated, tag="3")] pub tables: ::prost::alloc::vec::Vec
, } -/// Column identifier used for the values in the row. +/// Column identifier used for the values in the row. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum View { - /// Defaults to user entered text. + /// Defaults to user entered text. Unspecified = 0, - /// Uses internally generated column id to identify values. + /// Uses internally generated column id to identify values. ColumnIdView = 1, } impl View { diff --git a/gcloud-sdk/genproto/google.assistant.embedded.v1alpha1.rs b/gcloud-sdk/genproto/google.assistant.embedded.v1alpha1.rs index b0ee4c436..f307387bc 100644 --- a/gcloud-sdk/genproto/google.assistant.embedded.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.assistant.embedded.v1alpha1.rs @@ -1,52 +1,52 @@ -/// Specifies how to process the `ConverseRequest` messages. +/// Specifies how to process the `ConverseRequest` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConverseConfig { - /// *Required* Specifies how to process the subsequent incoming audio. + /// *Required* Specifies how to process the subsequent incoming audio. #[prost(message, optional, tag="1")] pub audio_in_config: ::core::option::Option, - /// *Required* Specifies how to format the audio that will be returned. + /// *Required* Specifies how to format the audio that will be returned. #[prost(message, optional, tag="2")] pub audio_out_config: ::core::option::Option, - /// *Required* Represents the current dialog state. + /// *Required* Represents the current dialog state. #[prost(message, optional, tag="3")] pub converse_state: ::core::option::Option, } -/// Specifies how to process the `audio_in` data that will be provided in -/// subsequent requests. For recommended settings, see the Google Assistant SDK -/// [best -/// practices](). +/// Specifies how to process the `audio_in` data that will be provided in +/// subsequent requests. For recommended settings, see the Google Assistant SDK +/// [best +/// practices](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioInConfig { - /// *Required* Encoding of audio data sent in all `audio_in` messages. + /// *Required* Encoding of audio data sent in all `audio_in` messages. #[prost(enumeration="audio_in_config::Encoding", tag="1")] pub encoding: i32, - /// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` - /// messages. Valid values are from 16000-24000, but 16000 is optimal. - /// For best results, set the sampling rate of the audio source to 16000 Hz. - /// If that's not possible, use the native sample rate of the audio source - /// (instead of re-sampling). + /// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` + /// messages. Valid values are from 16000-24000, but 16000 is optimal. + /// For best results, set the sampling rate of the audio source to 16000 Hz. + /// If that's not possible, use the native sample rate of the audio source + /// (instead of re-sampling). #[prost(int32, tag="2")] pub sample_rate_hertz: i32, } /// Nested message and enum types in `AudioInConfig`. pub mod audio_in_config { - /// Audio encoding of the data sent in the audio message. - /// Audio must be one-channel (mono). The only language supported is "en-US". + /// Audio encoding of the data sent in the audio message. + /// Audio must be one-channel (mono). The only language supported is "en-US". #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. + /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). - /// This encoding includes no header, only the raw audio bytes. + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// This encoding includes no header, only the raw audio bytes. Linear16 = 1, - /// \[`FLAC`\]() (Free Lossless Audio - /// Codec) is the recommended encoding because it is - /// lossless--therefore recognition is not compromised--and - /// requires only about half the bandwidth of `LINEAR16`. This encoding - /// includes the `FLAC` stream header followed by audio data. It supports - /// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are - /// supported. + /// \[`FLAC`\]() (Free Lossless Audio + /// Codec) is the recommended encoding because it is + /// lossless--therefore recognition is not compromised--and + /// requires only about half the bandwidth of `LINEAR16`. This encoding + /// includes the `FLAC` stream header followed by audio data. It supports + /// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are + /// supported. Flac = 2, } impl Encoding { @@ -63,40 +63,40 @@ pub mod audio_in_config { } } } -/// Specifies the desired format for the server to use when it returns -/// `audio_out` messages. +/// Specifies the desired format for the server to use when it returns +/// `audio_out` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioOutConfig { - /// *Required* The encoding of audio data to be returned in all `audio_out` - /// messages. + /// *Required* The encoding of audio data to be returned in all `audio_out` + /// messages. #[prost(enumeration="audio_out_config::Encoding", tag="1")] pub encoding: i32, - /// *Required* The sample rate in Hertz of the audio data returned in - /// `audio_out` messages. Valid values are: 16000-24000. + /// *Required* The sample rate in Hertz of the audio data returned in + /// `audio_out` messages. Valid values are: 16000-24000. #[prost(int32, tag="2")] pub sample_rate_hertz: i32, - /// *Required* Current volume setting of the device's audio output. - /// Valid values are 1 to 100 (corresponding to 1% to 100%). + /// *Required* Current volume setting of the device's audio output. + /// Valid values are 1 to 100 (corresponding to 1% to 100%). #[prost(int32, tag="3")] pub volume_percentage: i32, } /// Nested message and enum types in `AudioOutConfig`. pub mod audio_out_config { - /// Audio encoding of the data returned in the audio message. All encodings are - /// raw audio bytes with no header, except as indicated below. + /// Audio encoding of the data returned in the audio message. All encodings are + /// raw audio bytes with no header, except as indicated below. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. + /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). Linear16 = 1, - /// MP3 audio encoding. The sample rate is encoded in the payload. + /// MP3 audio encoding. The sample rate is encoded in the payload. Mp3 = 2, - /// Opus-encoded audio wrapped in an ogg container. The result will be a - /// file which can be played natively on Android and in some browsers (such - /// as Chrome). The quality of the encoding is considerably higher than MP3 - /// while using the same bitrate. The sample rate is encoded in the payload. + /// Opus-encoded audio wrapped in an ogg container. The result will be a + /// file which can be played natively on Android and in some browsers (such + /// as Chrome). The quality of the encoding is considerably higher than MP3 + /// while using the same bitrate. The sample rate is encoded in the payload. OpusInOgg = 3, } impl Encoding { @@ -114,74 +114,74 @@ pub mod audio_out_config { } } } -/// Provides information about the current dialog state. +/// Provides information about the current dialog state. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConverseState { - /// *Required* The `conversation_state` value returned in the prior - /// `ConverseResponse`. Omit (do not set the field) if there was no prior - /// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit - /// this field; doing so will end that conversation (and this new request will - /// start a new conversation). + /// *Required* The `conversation_state` value returned in the prior + /// `ConverseResponse`. Omit (do not set the field) if there was no prior + /// `ConverseResponse`. If there was a prior `ConverseResponse`, do not omit + /// this field; doing so will end that conversation (and this new request will + /// start a new conversation). #[prost(bytes="vec", tag="1")] pub conversation_state: ::prost::alloc::vec::Vec, } -/// The audio containing the assistant's response to the query. Sequential chunks -/// of audio data are received in sequential `ConverseResponse` messages. +/// The audio containing the assistant's response to the query. Sequential chunks +/// of audio data are received in sequential `ConverseResponse` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioOut { - /// *Output-only* The audio data containing the assistant's response to the - /// query. Sequential chunks of audio data are received in sequential - /// `ConverseResponse` messages. + /// *Output-only* The audio data containing the assistant's response to the + /// query. Sequential chunks of audio data are received in sequential + /// `ConverseResponse` messages. #[prost(bytes="vec", tag="1")] pub audio_data: ::prost::alloc::vec::Vec, } -/// The semantic result for the user's spoken query. +/// The semantic result for the user's spoken query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConverseResult { - /// *Output-only* The recognized transcript of what the user said. + /// *Output-only* The recognized transcript of what the user said. #[prost(string, tag="1")] pub spoken_request_text: ::prost::alloc::string::String, - /// *Output-only* The text of the assistant's spoken response. This is only - /// returned for an IFTTT action. + /// *Output-only* The text of the assistant's spoken response. This is only + /// returned for an IFTTT action. #[prost(string, tag="2")] pub spoken_response_text: ::prost::alloc::string::String, - /// *Output-only* State information for subsequent `ConverseRequest`. This - /// value should be saved in the client and returned in the - /// `conversation_state` with the next `ConverseRequest`. (The client does not - /// need to interpret or otherwise use this value.) There is no need to save - /// this information across device restarts. + /// *Output-only* State information for subsequent `ConverseRequest`. This + /// value should be saved in the client and returned in the + /// `conversation_state` with the next `ConverseRequest`. (The client does not + /// need to interpret or otherwise use this value.) There is no need to save + /// this information across device restarts. #[prost(bytes="vec", tag="3")] pub conversation_state: ::prost::alloc::vec::Vec, - /// *Output-only* Specifies the mode of the microphone after this `Converse` - /// RPC is processed. + /// *Output-only* Specifies the mode of the microphone after this `Converse` + /// RPC is processed. #[prost(enumeration="converse_result::MicrophoneMode", tag="4")] pub microphone_mode: i32, - /// *Output-only* Updated volume level. The value will be 0 or omitted - /// (indicating no change) unless a voice command such as "Increase the volume" - /// or "Set volume level 4" was recognized, in which case the value will be - /// between 1 and 100 (corresponding to the new volume level of 1% to 100%). - /// Typically, a client should use this volume level when playing the - /// `audio_out` data, and retain this value as the current volume level and - /// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some - /// clients may also implement other ways to allow the current volume level to - /// be changed, for example, by providing a knob that the user can turn.) + /// *Output-only* Updated volume level. The value will be 0 or omitted + /// (indicating no change) unless a voice command such as "Increase the volume" + /// or "Set volume level 4" was recognized, in which case the value will be + /// between 1 and 100 (corresponding to the new volume level of 1% to 100%). + /// Typically, a client should use this volume level when playing the + /// `audio_out` data, and retain this value as the current volume level and + /// supply it in the `AudioOutConfig` of the next `ConverseRequest`. (Some + /// clients may also implement other ways to allow the current volume level to + /// be changed, for example, by providing a knob that the user can turn.) #[prost(int32, tag="5")] pub volume_percentage: i32, } /// Nested message and enum types in `ConverseResult`. pub mod converse_result { - /// Possible states of the microphone after a `Converse` RPC completes. + /// Possible states of the microphone after a `Converse` RPC completes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MicrophoneMode { - /// No mode specified. + /// No mode specified. Unspecified = 0, - /// The service is not expecting a follow-on question from the user. - /// The microphone should remain off until the user re-activates it. + /// The service is not expecting a follow-on question from the user. + /// The microphone should remain off until the user re-activates it. CloseMicrophone = 1, - /// The service is expecting a follow-on question from the user. The - /// microphone should be re-opened when the `AudioOut` playback completes - /// (by starting a new `Converse` RPC call to send the new audio). + /// The service is expecting a follow-on question from the user. The + /// microphone should be re-opened when the `AudioOut` playback completes + /// (by starting a new `Converse` RPC call to send the new audio). DialogFollowOn = 2, } impl MicrophoneMode { @@ -198,61 +198,61 @@ pub mod converse_result { } } } -/// The top-level message sent by the client. Clients must send at least two, and -/// typically numerous `ConverseRequest` messages. The first message must -/// contain a `config` message and must not contain `audio_in` data. All -/// subsequent messages must contain `audio_in` data and must not contain a -/// `config` message. +/// The top-level message sent by the client. Clients must send at least two, and +/// typically numerous `ConverseRequest` messages. The first message must +/// contain a `config` message and must not contain `audio_in` data. All +/// subsequent messages must contain `audio_in` data and must not contain a +/// `config` message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConverseRequest { - /// Exactly one of these fields must be specified in each `ConverseRequest`. + /// Exactly one of these fields must be specified in each `ConverseRequest`. #[prost(oneof="converse_request::ConverseRequest", tags="1, 2")] pub converse_request: ::core::option::Option, } /// Nested message and enum types in `ConverseRequest`. pub mod converse_request { - /// Exactly one of these fields must be specified in each `ConverseRequest`. + /// Exactly one of these fields must be specified in each `ConverseRequest`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConverseRequest { - /// The `config` message provides information to the recognizer that - /// specifies how to process the request. - /// The first `ConverseRequest` message must contain a `config` message. + /// The `config` message provides information to the recognizer that + /// specifies how to process the request. + /// The first `ConverseRequest` message must contain a `config` message. #[prost(message, tag="1")] Config(super::ConverseConfig), - /// The audio data to be recognized. Sequential chunks of audio data are sent - /// in sequential `ConverseRequest` messages. The first `ConverseRequest` - /// message must not contain `audio_in` data and all subsequent - /// `ConverseRequest` messages must contain `audio_in` data. The audio bytes - /// must be encoded as specified in `AudioInConfig`. - /// Audio must be sent at approximately real-time (16000 samples per second). - /// An error will be returned if audio is sent significantly faster or - /// slower. + /// The audio data to be recognized. Sequential chunks of audio data are sent + /// in sequential `ConverseRequest` messages. The first `ConverseRequest` + /// message must not contain `audio_in` data and all subsequent + /// `ConverseRequest` messages must contain `audio_in` data. The audio bytes + /// must be encoded as specified in `AudioInConfig`. + /// Audio must be sent at approximately real-time (16000 samples per second). + /// An error will be returned if audio is sent significantly faster or + /// slower. #[prost(bytes, tag="2")] AudioIn(::prost::alloc::vec::Vec), } } -/// The top-level message received by the client. A series of one or more -/// `ConverseResponse` messages are streamed back to the client. +/// The top-level message received by the client. A series of one or more +/// `ConverseResponse` messages are streamed back to the client. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConverseResponse { - /// Exactly one of these fields will be populated in each `ConverseResponse`. + /// Exactly one of these fields will be populated in each `ConverseResponse`. #[prost(oneof="converse_response::ConverseResponse", tags="1, 2, 3, 5")] pub converse_response: ::core::option::Option, } /// Nested message and enum types in `ConverseResponse`. pub mod converse_response { - /// Indicates the type of event. + /// Indicates the type of event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventType { - /// No event specified. + /// No event specified. Unspecified = 0, - /// This event indicates that the server has detected the end of the user's - /// speech utterance and expects no additional speech. Therefore, the server - /// will not process additional audio (although it may subsequently return - /// additional results). The client should stop sending additional audio - /// data, half-close the gRPC connection, and wait for any additional results - /// until the server closes the gRPC connection. + /// This event indicates that the server has detected the end of the user's + /// speech utterance and expects no additional speech. Therefore, the server + /// will not process additional audio (although it may subsequently return + /// additional results). The client should stop sending additional audio + /// data, half-close the gRPC connection, and wait for any additional results + /// until the server closes the gRPC connection. EndOfUtterance = 1, } impl EventType { @@ -267,22 +267,22 @@ pub mod converse_response { } } } - /// Exactly one of these fields will be populated in each `ConverseResponse`. + /// Exactly one of these fields will be populated in each `ConverseResponse`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConverseResponse { - /// *Output-only* If set, returns a \[google.rpc.Status][google.rpc.Status\] - /// message that specifies the error for the operation. If an error occurs - /// during processing, this message will be set and there will be no further - /// messages sent. + /// *Output-only* If set, returns a \[google.rpc.Status][google.rpc.Status\] + /// message that specifies the error for the operation. If an error occurs + /// during processing, this message will be set and there will be no further + /// messages sent. #[prost(message, tag="1")] Error(super::super::super::super::rpc::Status), - /// *Output-only* Indicates the type of event. + /// *Output-only* Indicates the type of event. #[prost(enumeration="EventType", tag="2")] EventType(i32), - /// *Output-only* The audio containing the assistant's response to the query. + /// *Output-only* The audio containing the assistant's response to the query. #[prost(message, tag="3")] AudioOut(super::AudioOut), - /// *Output-only* The semantic result for the user's spoken query. + /// *Output-only* The semantic result for the user's spoken query. #[prost(message, tag="5")] Result(super::ConverseResult), } diff --git a/gcloud-sdk/genproto/google.assistant.embedded.v1alpha2.rs b/gcloud-sdk/genproto/google.assistant.embedded.v1alpha2.rs index f903417a4..ba3f9b73d 100644 --- a/gcloud-sdk/genproto/google.assistant.embedded.v1alpha2.rs +++ b/gcloud-sdk/genproto/google.assistant.embedded.v1alpha2.rs @@ -1,84 +1,84 @@ -/// The top-level message sent by the client. Clients must send at least two, and -/// typically numerous `AssistRequest` messages. The first message must -/// contain a `config` message and must not contain `audio_in` data. All -/// subsequent messages must contain `audio_in` data and must not contain a -/// `config` message. +/// The top-level message sent by the client. Clients must send at least two, and +/// typically numerous `AssistRequest` messages. The first message must +/// contain a `config` message and must not contain `audio_in` data. All +/// subsequent messages must contain `audio_in` data and must not contain a +/// `config` message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssistRequest { - /// Exactly one of these fields must be specified in each `AssistRequest`. + /// Exactly one of these fields must be specified in each `AssistRequest`. #[prost(oneof="assist_request::Type", tags="1, 2")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `AssistRequest`. pub mod assist_request { - /// Exactly one of these fields must be specified in each `AssistRequest`. + /// Exactly one of these fields must be specified in each `AssistRequest`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// The `config` message provides information to the recognizer that - /// specifies how to process the request. - /// The first `AssistRequest` message must contain a `config` message. + /// The `config` message provides information to the recognizer that + /// specifies how to process the request. + /// The first `AssistRequest` message must contain a `config` message. #[prost(message, tag="1")] Config(super::AssistConfig), - /// The audio data to be recognized. Sequential chunks of audio data are sent - /// in sequential `AssistRequest` messages. The first `AssistRequest` - /// message must not contain `audio_in` data and all subsequent - /// `AssistRequest` messages must contain `audio_in` data. The audio bytes - /// must be encoded as specified in `AudioInConfig`. - /// Audio must be sent at approximately real-time (16000 samples per second). - /// An error will be returned if audio is sent significantly faster or - /// slower. + /// The audio data to be recognized. Sequential chunks of audio data are sent + /// in sequential `AssistRequest` messages. The first `AssistRequest` + /// message must not contain `audio_in` data and all subsequent + /// `AssistRequest` messages must contain `audio_in` data. The audio bytes + /// must be encoded as specified in `AudioInConfig`. + /// Audio must be sent at approximately real-time (16000 samples per second). + /// An error will be returned if audio is sent significantly faster or + /// slower. #[prost(bytes, tag="2")] AudioIn(::prost::alloc::vec::Vec), } } -/// The top-level message received by the client. A series of one or more -/// `AssistResponse` messages are streamed back to the client. +/// The top-level message received by the client. A series of one or more +/// `AssistResponse` messages are streamed back to the client. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssistResponse { - /// *Output-only* Indicates the type of event. + /// *Output-only* Indicates the type of event. #[prost(enumeration="assist_response::EventType", tag="1")] pub event_type: i32, - /// *Output-only* The audio containing the Assistant's response to the query. + /// *Output-only* The audio containing the Assistant's response to the query. #[prost(message, optional, tag="3")] pub audio_out: ::core::option::Option, - /// *Output-only* Contains the Assistant's visual response to the query. + /// *Output-only* Contains the Assistant's visual response to the query. #[prost(message, optional, tag="4")] pub screen_out: ::core::option::Option, - /// *Output-only* Contains the action triggered by the query with the - /// appropriate payloads and semantic parsing. + /// *Output-only* Contains the action triggered by the query with the + /// appropriate payloads and semantic parsing. #[prost(message, optional, tag="6")] pub device_action: ::core::option::Option, - /// *Output-only* This repeated list contains zero or more speech recognition - /// results that correspond to consecutive portions of the audio currently - /// being processed, starting with the portion corresponding to the earliest - /// audio (and most stable portion) to the portion corresponding to the most - /// recent audio. The strings can be concatenated to view the full - /// in-progress response. When the speech recognition completes, this list - /// will contain one item with `stability` of `1.0`. + /// *Output-only* This repeated list contains zero or more speech recognition + /// results that correspond to consecutive portions of the audio currently + /// being processed, starting with the portion corresponding to the earliest + /// audio (and most stable portion) to the portion corresponding to the most + /// recent audio. The strings can be concatenated to view the full + /// in-progress response. When the speech recognition completes, this list + /// will contain one item with `stability` of `1.0`. #[prost(message, repeated, tag="2")] pub speech_results: ::prost::alloc::vec::Vec, - /// *Output-only* Contains output related to the user's query. + /// *Output-only* Contains output related to the user's query. #[prost(message, optional, tag="5")] pub dialog_state_out: ::core::option::Option, - /// *Output-only* Debugging info for developer. Only returned if request set - /// `return_debug_info` to true. + /// *Output-only* Debugging info for developer. Only returned if request set + /// `return_debug_info` to true. #[prost(message, optional, tag="8")] pub debug_info: ::core::option::Option, } /// Nested message and enum types in `AssistResponse`. pub mod assist_response { - /// Indicates the type of event. + /// Indicates the type of event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventType { - /// No event specified. + /// No event specified. Unspecified = 0, - /// This event indicates that the server has detected the end of the user's - /// speech utterance and expects no additional speech. Therefore, the server - /// will not process additional audio (although it may subsequently return - /// additional results). The client should stop sending additional audio - /// data, half-close the gRPC connection, and wait for any additional results - /// until the server closes the gRPC connection. + /// This event indicates that the server has detected the end of the user's + /// speech utterance and expects no additional speech. Therefore, the server + /// will not process additional audio (although it may subsequently return + /// additional results). The client should stop sending additional audio + /// data, half-close the gRPC connection, and wait for any additional results + /// until the server closes the gRPC connection. EndOfUtterance = 1, } impl EventType { @@ -94,35 +94,35 @@ pub mod assist_response { } } } -/// Debug info for developer. Only returned if request set `return_debug_info` -/// to true. +/// Debug info for developer. Only returned if request set `return_debug_info` +/// to true. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DebugInfo { - /// The original JSON response from an Action-on-Google agent to Google server. - /// See - /// - /// It will only be populated if the request maker owns the AoG project and the - /// AoG project is in preview mode. + /// The original JSON response from an Action-on-Google agent to Google server. + /// See + /// + /// It will only be populated if the request maker owns the AoG project and the + /// AoG project is in preview mode. #[prost(string, tag="1")] pub aog_agent_to_assistant_json: ::prost::alloc::string::String, } -/// Specifies how to process the `AssistRequest` messages. +/// Specifies how to process the `AssistRequest` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssistConfig { - /// *Required* Specifies how to format the audio that will be returned. + /// *Required* Specifies how to format the audio that will be returned. #[prost(message, optional, tag="2")] pub audio_out_config: ::core::option::Option, - /// *Optional* Specifies the desired format to use when server returns a - /// visual screen response. + /// *Optional* Specifies the desired format to use when server returns a + /// visual screen response. #[prost(message, optional, tag="8")] pub screen_out_config: ::core::option::Option, - /// *Required* Represents the current dialog state. + /// *Required* Represents the current dialog state. #[prost(message, optional, tag="3")] pub dialog_state_in: ::core::option::Option, - /// Device configuration that uniquely identifies a specific device. + /// Device configuration that uniquely identifies a specific device. #[prost(message, optional, tag="4")] pub device_config: ::core::option::Option, - /// *Optional* Debugging parameters for the whole `Assist` RPC. + /// *Optional* Debugging parameters for the whole `Assist` RPC. #[prost(message, optional, tag="5")] pub debug_config: ::core::option::Option, #[prost(oneof="assist_config::Type", tags="1, 6")] @@ -132,53 +132,53 @@ pub struct AssistConfig { pub mod assist_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// Specifies how to process the subsequent incoming audio. Required if - /// \[AssistRequest.audio_in][google.assistant.embedded.v1alpha2.AssistRequest.audio_in\] - /// bytes will be provided in subsequent requests. + /// Specifies how to process the subsequent incoming audio. Required if + /// \[AssistRequest.audio_in][google.assistant.embedded.v1alpha2.AssistRequest.audio_in\] + /// bytes will be provided in subsequent requests. #[prost(message, tag="1")] AudioInConfig(super::AudioInConfig), - /// The text input to be sent to the Assistant. This can be populated from a - /// text interface if audio input is not available. + /// The text input to be sent to the Assistant. This can be populated from a + /// text interface if audio input is not available. #[prost(string, tag="6")] TextQuery(::prost::alloc::string::String), } } -/// Specifies how to process the `audio_in` data that will be provided in -/// subsequent requests. For recommended settings, see the Google Assistant SDK -/// [best -/// practices](). +/// Specifies how to process the `audio_in` data that will be provided in +/// subsequent requests. For recommended settings, see the Google Assistant SDK +/// [best +/// practices](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioInConfig { - /// *Required* Encoding of audio data sent in all `audio_in` messages. + /// *Required* Encoding of audio data sent in all `audio_in` messages. #[prost(enumeration="audio_in_config::Encoding", tag="1")] pub encoding: i32, - /// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` - /// messages. Valid values are from 16000-24000, but 16000 is optimal. - /// For best results, set the sampling rate of the audio source to 16000 Hz. - /// If that's not possible, use the native sample rate of the audio source - /// (instead of re-sampling). + /// *Required* Sample rate (in Hertz) of the audio data sent in all `audio_in` + /// messages. Valid values are from 16000-24000, but 16000 is optimal. + /// For best results, set the sampling rate of the audio source to 16000 Hz. + /// If that's not possible, use the native sample rate of the audio source + /// (instead of re-sampling). #[prost(int32, tag="2")] pub sample_rate_hertz: i32, } /// Nested message and enum types in `AudioInConfig`. pub mod audio_in_config { - /// Audio encoding of the data sent in the audio message. - /// Audio must be one-channel (mono). + /// Audio encoding of the data sent in the audio message. + /// Audio must be one-channel (mono). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. + /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). - /// This encoding includes no header, only the raw audio bytes. + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// This encoding includes no header, only the raw audio bytes. Linear16 = 1, - /// \[`FLAC`\]() (Free Lossless Audio - /// Codec) is the recommended encoding because it is - /// lossless--therefore recognition is not compromised--and - /// requires only about half the bandwidth of `LINEAR16`. This encoding - /// includes the `FLAC` stream header followed by audio data. It supports - /// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are - /// supported. + /// \[`FLAC`\]() (Free Lossless Audio + /// Codec) is the recommended encoding because it is + /// lossless--therefore recognition is not compromised--and + /// requires only about half the bandwidth of `LINEAR16`. This encoding + /// includes the `FLAC` stream header followed by audio data. It supports + /// 16-bit and 24-bit samples, however, not all fields in `STREAMINFO` are + /// supported. Flac = 2, } impl Encoding { @@ -195,40 +195,40 @@ pub mod audio_in_config { } } } -/// Specifies the desired format for the server to use when it returns -/// `audio_out` messages. +/// Specifies the desired format for the server to use when it returns +/// `audio_out` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioOutConfig { - /// *Required* The encoding of audio data to be returned in all `audio_out` - /// messages. + /// *Required* The encoding of audio data to be returned in all `audio_out` + /// messages. #[prost(enumeration="audio_out_config::Encoding", tag="1")] pub encoding: i32, - /// *Required* The sample rate in Hertz of the audio data returned in - /// `audio_out` messages. Valid values are: 16000-24000. + /// *Required* The sample rate in Hertz of the audio data returned in + /// `audio_out` messages. Valid values are: 16000-24000. #[prost(int32, tag="2")] pub sample_rate_hertz: i32, - /// *Required* Current volume setting of the device's audio output. - /// Valid values are 1 to 100 (corresponding to 1% to 100%). + /// *Required* Current volume setting of the device's audio output. + /// Valid values are 1 to 100 (corresponding to 1% to 100%). #[prost(int32, tag="3")] pub volume_percentage: i32, } /// Nested message and enum types in `AudioOutConfig`. pub mod audio_out_config { - /// Audio encoding of the data returned in the audio message. All encodings are - /// raw audio bytes with no header, except as indicated below. + /// Audio encoding of the data returned in the audio message. All encodings are + /// raw audio bytes with no header, except as indicated below. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. + /// Not specified. Will return result \[google.rpc.Code.INVALID_ARGUMENT][\]. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). Linear16 = 1, - /// MP3 audio encoding. The sample rate is encoded in the payload. + /// MP3 audio encoding. The sample rate is encoded in the payload. Mp3 = 2, - /// Opus-encoded audio wrapped in an ogg container. The result will be a - /// file which can be played natively on Android and in some browsers (such - /// as Chrome). The quality of the encoding is considerably higher than MP3 - /// while using the same bitrate. The sample rate is encoded in the payload. + /// Opus-encoded audio wrapped in an ogg container. The result will be a + /// file which can be played natively on Android and in some browsers (such + /// as Chrome). The quality of the encoding is considerably higher than MP3 + /// while using the same bitrate. The sample rate is encoded in the payload. OpusInOgg = 3, } impl Encoding { @@ -246,29 +246,29 @@ pub mod audio_out_config { } } } -/// Specifies the desired format for the server to use when it returns -/// `screen_out` response. +/// Specifies the desired format for the server to use when it returns +/// `screen_out` response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScreenOutConfig { - /// Current visual screen-mode for the device while issuing the query. + /// Current visual screen-mode for the device while issuing the query. #[prost(enumeration="screen_out_config::ScreenMode", tag="1")] pub screen_mode: i32, } /// Nested message and enum types in `ScreenOutConfig`. pub mod screen_out_config { - /// Possible modes for visual screen-output on the device. + /// Possible modes for visual screen-output on the device. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScreenMode { - /// No video mode specified. - /// The Assistant may respond as if in `OFF` mode. + /// No video mode specified. + /// The Assistant may respond as if in `OFF` mode. Unspecified = 0, - /// Screen is off (or has brightness or other settings set so low it is - /// not visible). The Assistant will typically not return a screen response - /// in this mode. + /// Screen is off (or has brightness or other settings set so low it is + /// not visible). The Assistant will typically not return a screen response + /// in this mode. Off = 1, - /// The Assistant will typically return a partial-screen response in this - /// mode. + /// The Assistant will typically return a partial-screen response in this + /// mode. Playing = 3, } impl ScreenMode { @@ -285,99 +285,99 @@ pub mod screen_out_config { } } } -/// Provides information about the current dialog state. +/// Provides information about the current dialog state. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogStateIn { - /// *Required* This field must always be set to the - /// \[DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state\] - /// value that was returned in the prior `Assist` RPC. It should only be - /// omitted (field not set) if there was no prior `Assist` RPC because this is - /// the first `Assist` RPC made by this device after it was first setup and/or - /// a factory-default reset. + /// *Required* This field must always be set to the + /// \[DialogStateOut.conversation_state][google.assistant.embedded.v1alpha2.DialogStateOut.conversation_state\] + /// value that was returned in the prior `Assist` RPC. It should only be + /// omitted (field not set) if there was no prior `Assist` RPC because this is + /// the first `Assist` RPC made by this device after it was first setup and/or + /// a factory-default reset. #[prost(bytes="vec", tag="1")] pub conversation_state: ::prost::alloc::vec::Vec, - /// *Required* Language of the request in - /// [IETF BCP 47 syntax]() (for example, - /// "en-US"). See [Language - /// Support]() - /// for more information. If you have selected a language for this `device_id` - /// using the - /// \[Settings\]() - /// menu in your phone's Google Assistant app, that selection will override - /// this value. + /// *Required* Language of the request in + /// [IETF BCP 47 syntax]() (for example, + /// "en-US"). See [Language + /// Support]() + /// for more information. If you have selected a language for this `device_id` + /// using the + /// \[Settings\]() + /// menu in your phone's Google Assistant app, that selection will override + /// this value. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// *Optional* Location of the device where the query originated. + /// *Optional* Location of the device where the query originated. #[prost(message, optional, tag="5")] pub device_location: ::core::option::Option, - /// *Optional* If true, the server will treat the request as a new conversation - /// and not use state from the prior request. Set this field to true when the - /// conversation should be restarted, such as after a device reboot, or after a - /// significant lapse of time since the prior query. + /// *Optional* If true, the server will treat the request as a new conversation + /// and not use state from the prior request. Set this field to true when the + /// conversation should be restarted, such as after a device reboot, or after a + /// significant lapse of time since the prior query. #[prost(bool, tag="7")] pub is_new_conversation: bool, } -/// *Required* Fields that identify the device to the Assistant. +/// *Required* Fields that identify the device to the Assistant. /// -/// See also: +/// See also: /// -/// * [Register a Device - REST -/// API]() -/// * [Device Model and Instance -/// Schemas]() -/// * [Device -/// Proto]() +/// * [Register a Device - REST +/// API]() +/// * [Device Model and Instance +/// Schemas]() +/// * [Device +/// Proto]() #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceConfig { - /// *Required* Unique identifier for the device. The id length must be 128 - /// characters or less. Example: DBCDW098234. This MUST match the device_id - /// returned from device registration. This device_id is used to match against - /// the user's registered devices to lookup the supported traits and - /// capabilities of this device. This information should not change across - /// device reboots. However, it should not be saved across - /// factory-default resets. + /// *Required* Unique identifier for the device. The id length must be 128 + /// characters or less. Example: DBCDW098234. This MUST match the device_id + /// returned from device registration. This device_id is used to match against + /// the user's registered devices to lookup the supported traits and + /// capabilities of this device. This information should not change across + /// device reboots. However, it should not be saved across + /// factory-default resets. #[prost(string, tag="1")] pub device_id: ::prost::alloc::string::String, - /// *Required* Unique identifier for the device model. The combination of - /// device_model_id and device_id must have been previously associated through - /// device registration. + /// *Required* Unique identifier for the device model. The combination of + /// device_model_id and device_id must have been previously associated through + /// device registration. #[prost(string, tag="3")] pub device_model_id: ::prost::alloc::string::String, } -/// The audio containing the Assistant's response to the query. Sequential chunks -/// of audio data are received in sequential `AssistResponse` messages. +/// The audio containing the Assistant's response to the query. Sequential chunks +/// of audio data are received in sequential `AssistResponse` messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioOut { - /// *Output-only* The audio data containing the Assistant's response to the - /// query. Sequential chunks of audio data are received in sequential - /// `AssistResponse` messages. + /// *Output-only* The audio data containing the Assistant's response to the + /// query. Sequential chunks of audio data are received in sequential + /// `AssistResponse` messages. #[prost(bytes="vec", tag="1")] pub audio_data: ::prost::alloc::vec::Vec, } -/// The Assistant's visual output response to query. Enabled by -/// `screen_out_config`. +/// The Assistant's visual output response to query. Enabled by +/// `screen_out_config`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScreenOut { - /// *Output-only* The format of the provided screen data. + /// *Output-only* The format of the provided screen data. #[prost(enumeration="screen_out::Format", tag="1")] pub format: i32, - /// *Output-only* The raw screen data to be displayed as the result of the - /// Assistant query. + /// *Output-only* The raw screen data to be displayed as the result of the + /// Assistant query. #[prost(bytes="vec", tag="2")] pub data: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ScreenOut`. pub mod screen_out { - /// Possible formats of the screen data. + /// Possible formats of the screen data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Format { - /// No format specified. + /// No format specified. Unspecified = 0, - /// Data will contain a fully-formed HTML5 layout encoded in UTF-8, e.g. - /// `
...
`. It is intended to be rendered - /// along with the audio response. Note that HTML5 doctype should be included - /// in the actual HTML data. + /// Data will contain a fully-formed HTML5 layout encoded in UTF-8, e.g. + /// `
...
`. It is intended to be rendered + /// along with the audio response. Note that HTML5 doctype should be included + /// in the actual HTML data. Html = 1, } impl Format { @@ -393,81 +393,81 @@ pub mod screen_out { } } } -/// The response returned to the device if the user has triggered a Device -/// Action. For example, a device which supports the query *Turn on the light* -/// would receive a `DeviceAction` with a JSON payload containing the semantics -/// of the request. +/// The response returned to the device if the user has triggered a Device +/// Action. For example, a device which supports the query *Turn on the light* +/// would receive a `DeviceAction` with a JSON payload containing the semantics +/// of the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceAction { - /// JSON containing the device command response generated from the triggered - /// Device Action grammar. The format is given by the - /// `action.devices.EXECUTE` intent for a given - /// \[trait\](). + /// JSON containing the device command response generated from the triggered + /// Device Action grammar. The format is given by the + /// `action.devices.EXECUTE` intent for a given + /// \[trait\](). #[prost(string, tag="1")] pub device_request_json: ::prost::alloc::string::String, } -/// The estimated transcription of a phrase the user has spoken. This could be -/// a single segment or the full guess of the user's spoken query. +/// The estimated transcription of a phrase the user has spoken. This could be +/// a single segment or the full guess of the user's spoken query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpeechRecognitionResult { - /// *Output-only* Transcript text representing the words that the user spoke. + /// *Output-only* Transcript text representing the words that the user spoke. #[prost(string, tag="1")] pub transcript: ::prost::alloc::string::String, - /// *Output-only* An estimate of the likelihood that the Assistant will not - /// change its guess about this result. Values range from 0.0 (completely - /// unstable) to 1.0 (completely stable and final). The default of 0.0 is a - /// sentinel value indicating `stability` was not set. + /// *Output-only* An estimate of the likelihood that the Assistant will not + /// change its guess about this result. Values range from 0.0 (completely + /// unstable) to 1.0 (completely stable and final). The default of 0.0 is a + /// sentinel value indicating `stability` was not set. #[prost(float, tag="2")] pub stability: f32, } -/// The dialog state resulting from the user's query. Multiple of these messages -/// may be received. +/// The dialog state resulting from the user's query. Multiple of these messages +/// may be received. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogStateOut { - /// *Output-only* Supplemental display text from the Assistant. This could be - /// the same as the speech spoken in `AssistResponse.audio_out` or it could - /// be some additional information which aids the user's understanding. + /// *Output-only* Supplemental display text from the Assistant. This could be + /// the same as the speech spoken in `AssistResponse.audio_out` or it could + /// be some additional information which aids the user's understanding. #[prost(string, tag="1")] pub supplemental_display_text: ::prost::alloc::string::String, - /// *Output-only* State information for the subsequent `Assist` RPC. This - /// value should be saved in the client and returned in the - /// \[`DialogStateIn.conversation_state`\](#dialogstatein) field with the next - /// `Assist` RPC. (The client does not need to interpret or otherwise use this - /// value.) This information should be saved across device reboots. However, - /// this value should be cleared (not saved in the client) during a - /// factory-default reset. + /// *Output-only* State information for the subsequent `Assist` RPC. This + /// value should be saved in the client and returned in the + /// \[`DialogStateIn.conversation_state`\](#dialogstatein) field with the next + /// `Assist` RPC. (The client does not need to interpret or otherwise use this + /// value.) This information should be saved across device reboots. However, + /// this value should be cleared (not saved in the client) during a + /// factory-default reset. #[prost(bytes="vec", tag="2")] pub conversation_state: ::prost::alloc::vec::Vec, - /// *Output-only* Specifies the mode of the microphone after this `Assist` - /// RPC is processed. + /// *Output-only* Specifies the mode of the microphone after this `Assist` + /// RPC is processed. #[prost(enumeration="dialog_state_out::MicrophoneMode", tag="3")] pub microphone_mode: i32, - /// *Output-only* Updated volume level. The value will be 0 or omitted - /// (indicating no change) unless a voice command such as *Increase the volume* - /// or *Set volume level 4* was recognized, in which case the value will be - /// between 1 and 100 (corresponding to the new volume level of 1% to 100%). - /// Typically, a client should use this volume level when playing the - /// `audio_out` data, and retain this value as the current volume level and - /// supply it in the `AudioOutConfig` of the next `AssistRequest`. (Some - /// clients may also implement other ways to allow the current volume level to - /// be changed, for example, by providing a knob that the user can turn.) + /// *Output-only* Updated volume level. The value will be 0 or omitted + /// (indicating no change) unless a voice command such as *Increase the volume* + /// or *Set volume level 4* was recognized, in which case the value will be + /// between 1 and 100 (corresponding to the new volume level of 1% to 100%). + /// Typically, a client should use this volume level when playing the + /// `audio_out` data, and retain this value as the current volume level and + /// supply it in the `AudioOutConfig` of the next `AssistRequest`. (Some + /// clients may also implement other ways to allow the current volume level to + /// be changed, for example, by providing a knob that the user can turn.) #[prost(int32, tag="4")] pub volume_percentage: i32, } /// Nested message and enum types in `DialogStateOut`. pub mod dialog_state_out { - /// Possible states of the microphone after a `Assist` RPC completes. + /// Possible states of the microphone after a `Assist` RPC completes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MicrophoneMode { - /// No mode specified. + /// No mode specified. Unspecified = 0, - /// The service is not expecting a follow-on question from the user. - /// The microphone should remain off until the user re-activates it. + /// The service is not expecting a follow-on question from the user. + /// The microphone should remain off until the user re-activates it. CloseMicrophone = 1, - /// The service is expecting a follow-on question from the user. The - /// microphone should be re-opened when the `AudioOut` playback completes - /// (by starting a new `Assist` RPC call to send the new audio). + /// The service is expecting a follow-on question from the user. The + /// microphone should be re-opened when the `AudioOut` playback completes + /// (by starting a new `Assist` RPC call to send the new audio). DialogFollowOn = 2, } impl MicrophoneMode { @@ -484,22 +484,22 @@ pub mod dialog_state_out { } } } -/// Debugging parameters for the current request. +/// Debugging parameters for the current request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DebugConfig { - /// When this field is set to true, the `debug_info` field in `AssistResponse` - /// may be populated. However it will significantly increase latency of - /// responses. Do not set this field true in production code. + /// When this field is set to true, the `debug_info` field in `AssistResponse` + /// may be populated. However it will significantly increase latency of + /// responses. Do not set this field true in production code. #[prost(bool, tag="6")] pub return_debug_info: bool, } -/// There are three sources of locations. They are used with this precedence: +/// There are three sources of locations. They are used with this precedence: /// -/// 1. This `DeviceLocation`, which is primarily used for mobile devices with +/// 1. This `DeviceLocation`, which is primarily used for mobile devices with /// GPS . -/// 2. Location specified by the user during device setup; this is per-user, per +/// 2. Location specified by the user during device setup; this is per-user, per /// device. This location is used if `DeviceLocation` is not specified. -/// 3. Inferred location based on IP address. This is used only if neither of the +/// 3. Inferred location based on IP address. This is used only if neither of the /// above are specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeviceLocation { @@ -510,7 +510,7 @@ pub struct DeviceLocation { pub mod device_location { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// Latitude and longitude of device. + /// Latitude and longitude of device. #[prost(message, tag="1")] Coordinates(super::super::super::super::r#type::LatLng), } diff --git a/gcloud-sdk/genproto/google.bigtable.admin.v2.rs b/gcloud-sdk/genproto/google.bigtable.admin.v2.rs index 033684474..acb07edde 100644 --- a/gcloud-sdk/genproto/google.bigtable.admin.v2.rs +++ b/gcloud-sdk/genproto/google.bigtable.admin.v2.rs @@ -1,28 +1,28 @@ -/// Encapsulates progress related information for a Cloud Bigtable long -/// running operation. +/// Encapsulates progress related information for a Cloud Bigtable long +/// running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationProgress { - /// Percent completion of the operation. - /// Values are between 0 and 100 inclusive. + /// Percent completion of the operation. + /// Values are between 0 and 100 inclusive. #[prost(int32, tag="1")] pub progress_percent: i32, - /// Time the request was received. + /// Time the request was received. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// If set, the time at which this operation failed or was completed - /// successfully. + /// If set, the time at which this operation failed or was completed + /// successfully. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Storage media types for persisting Bigtable data. +/// Storage media types for persisting Bigtable data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageType { - /// The user did not specify a storage type. + /// The user did not specify a storage type. Unspecified = 0, - /// Flash (SSD) storage should be used. + /// Flash (SSD) storage should be used. Ssd = 1, - /// Magnetic drive (HDD) storage should be used. + /// Magnetic drive (HDD) storage should be used. Hdd = 2, } impl StorageType { @@ -38,63 +38,63 @@ impl StorageType { } } } -/// A collection of Bigtable \[Tables][google.bigtable.admin.v2.Table\] and -/// the resources that serve them. -/// All tables in an instance are served from all -/// \[Clusters][google.bigtable.admin.v2.Cluster\] in the instance. +/// A collection of Bigtable \[Tables][google.bigtable.admin.v2.Table\] and +/// the resources that serve them. +/// All tables in an instance are served from all +/// \[Clusters][google.bigtable.admin.v2.Cluster\] in the instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// The unique name of the instance. Values are of the form - /// `projects/{project}/instances/\[a-z][a-z0-9\\-]+[a-z0-9\]`. + /// The unique name of the instance. Values are of the form + /// `projects/{project}/instances/\[a-z][a-z0-9\\-]+[a-z0-9\]`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The descriptive name for this instance as it appears in UIs. - /// Can be changed at any time, but should be kept globally unique - /// to avoid confusion. + /// Required. The descriptive name for this instance as it appears in UIs. + /// Can be changed at any time, but should be kept globally unique + /// to avoid confusion. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// (`OutputOnly`) - /// The current state of the instance. + /// (`OutputOnly`) + /// The current state of the instance. #[prost(enumeration="instance::State", tag="3")] pub state: i32, - /// The type of the instance. Defaults to `PRODUCTION`. + /// The type of the instance. Defaults to `PRODUCTION`. #[prost(enumeration="instance::Type", tag="4")] pub r#type: i32, - /// Labels are a flexible and lightweight mechanism for organizing cloud - /// resources into groups that reflect a customer's organizational needs and - /// deployment strategies. They can be used to filter resources and aggregate - /// metrics. + /// Labels are a flexible and lightweight mechanism for organizing cloud + /// resources into groups that reflect a customer's organizational needs and + /// deployment strategies. They can be used to filter resources and aggregate + /// metrics. /// - /// * Label keys must be between 1 and 63 characters long and must conform to + /// * Label keys must be between 1 and 63 characters long and must conform to /// the regular expression: `\[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-\]{0,62}`. - /// * Label values must be between 0 and 63 characters long and must conform to + /// * Label values must be between 0 and 63 characters long and must conform to /// the regular expression: `\[\p{Ll}\p{Lo}\p{N}_-\]{0,63}`. - /// * No more than 64 labels can be associated with a given resource. - /// * Keys and values must both be under 128 bytes. + /// * No more than 64 labels can be associated with a given resource. + /// * Keys and values must both be under 128 bytes. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. A server-assigned timestamp representing when this Instance was created. - /// For instances created before this field was added (August 2021), this value - /// is `seconds: 0, nanos: 1`. + /// Output only. A server-assigned timestamp representing when this Instance was created. + /// For instances created before this field was added (August 2021), this value + /// is `seconds: 0, nanos: 1`. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Reserved for future use. + /// Output only. Reserved for future use. #[prost(bool, optional, tag="8")] pub satisfies_pzs: ::core::option::Option, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Possible states of an instance. + /// Possible states of an instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the instance could not be determined. + /// The state of the instance could not be determined. NotKnown = 0, - /// The instance has been successfully created and can serve requests - /// to its tables. + /// The instance has been successfully created and can serve requests + /// to its tables. Ready = 1, - /// The instance is currently being created, and may be destroyed - /// if the creation process encounters an error. + /// The instance is currently being created, and may be destroyed + /// if the creation process encounters an error. Creating = 2, } impl State { @@ -110,19 +110,19 @@ pub mod instance { } } } - /// The type of the instance. + /// The type of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The type of the instance is unspecified. If set when creating an - /// instance, a `PRODUCTION` instance will be created. If set when updating - /// an instance, the type will be left unchanged. + /// The type of the instance is unspecified. If set when creating an + /// instance, a `PRODUCTION` instance will be created. If set when updating + /// an instance, the type will be left unchanged. Unspecified = 0, - /// An instance meant for production use. `serve_nodes` must be set - /// on the cluster. + /// An instance meant for production use. `serve_nodes` must be set + /// on the cluster. Production = 1, - /// DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces - /// a higher minimum node count than DEVELOPMENT. + /// DEPRECATED: Prefer PRODUCTION for all use cases, as it no longer enforces + /// a higher minimum node count than DEVELOPMENT. Development = 2, } impl Type { @@ -139,61 +139,61 @@ pub mod instance { } } } -/// The Autoscaling targets for a Cluster. These determine the recommended nodes. +/// The Autoscaling targets for a Cluster. These determine the recommended nodes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingTargets { - /// The cpu utilization that the Autoscaler should be trying to achieve. - /// This number is on a scale from 0 (no utilization) to - /// 100 (total utilization), and is limited between 10 and 80, otherwise it - /// will return INVALID_ARGUMENT error. + /// The cpu utilization that the Autoscaler should be trying to achieve. + /// This number is on a scale from 0 (no utilization) to + /// 100 (total utilization), and is limited between 10 and 80, otherwise it + /// will return INVALID_ARGUMENT error. #[prost(int32, tag="2")] pub cpu_utilization_percent: i32, - /// The storage utilization that the Autoscaler should be trying to achieve. - /// This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD - /// cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; - /// otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, - /// it will be treated as if it were set to the default value: 2560 for SSD, - /// 8192 for HDD. + /// The storage utilization that the Autoscaler should be trying to achieve. + /// This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD + /// cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster; + /// otherwise it will return INVALID_ARGUMENT error. If this value is set to 0, + /// it will be treated as if it were set to the default value: 2560 for SSD, + /// 8192 for HDD. #[prost(int32, tag="3")] pub storage_utilization_gib_per_node: i32, } -/// Limits for the number of nodes a Cluster can autoscale up/down to. +/// Limits for the number of nodes a Cluster can autoscale up/down to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingLimits { - /// Required. Minimum number of nodes to scale down to. + /// Required. Minimum number of nodes to scale down to. #[prost(int32, tag="1")] pub min_serve_nodes: i32, - /// Required. Maximum number of nodes to scale up to. + /// Required. Maximum number of nodes to scale up to. #[prost(int32, tag="2")] pub max_serve_nodes: i32, } -/// A resizable group of nodes in a particular cloud location, capable -/// of serving all \[Tables][google.bigtable.admin.v2.Table\] in the parent -/// \[Instance][google.bigtable.admin.v2.Instance\]. +/// A resizable group of nodes in a particular cloud location, capable +/// of serving all \[Tables][google.bigtable.admin.v2.Table\] in the parent +/// \[Instance][google.bigtable.admin.v2.Instance\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cluster { - /// The unique name of the cluster. Values are of the form - /// `projects/{project}/instances/{instance}/clusters/\[a-z][-a-z0-9\]*`. + /// The unique name of the cluster. Values are of the form + /// `projects/{project}/instances/{instance}/clusters/\[a-z][-a-z0-9\]*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The location where this cluster's nodes and storage reside. For best - /// performance, clients should be located as close as possible to this - /// cluster. Currently only zones are supported, so values should be of the - /// form `projects/{project}/locations/{zone}`. + /// Immutable. The location where this cluster's nodes and storage reside. For best + /// performance, clients should be located as close as possible to this + /// cluster. Currently only zones are supported, so values should be of the + /// form `projects/{project}/locations/{zone}`. #[prost(string, tag="2")] pub location: ::prost::alloc::string::String, - /// Output only. The current state of the cluster. + /// Output only. The current state of the cluster. #[prost(enumeration="cluster::State", tag="3")] pub state: i32, - /// The number of nodes allocated to this cluster. More nodes enable higher - /// throughput and more consistent performance. + /// The number of nodes allocated to this cluster. More nodes enable higher + /// throughput and more consistent performance. #[prost(int32, tag="4")] pub serve_nodes: i32, - /// Immutable. The type of storage used by this cluster to serve its - /// parent instance's tables, unless explicitly overridden. + /// Immutable. The type of storage used by this cluster to serve its + /// parent instance's tables, unless explicitly overridden. #[prost(enumeration="StorageType", tag="5")] pub default_storage_type: i32, - /// Immutable. The encryption configuration for CMEK-protected clusters. + /// Immutable. The encryption configuration for CMEK-protected clusters. #[prost(message, optional, tag="6")] pub encryption_config: ::core::option::Option, #[prost(oneof="cluster::Config", tags="7")] @@ -201,60 +201,60 @@ pub struct Cluster { } /// Nested message and enum types in `Cluster`. pub mod cluster { - /// Autoscaling config for a cluster. + /// Autoscaling config for a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterAutoscalingConfig { - /// Required. Autoscaling limits for this cluster. + /// Required. Autoscaling limits for this cluster. #[prost(message, optional, tag="1")] pub autoscaling_limits: ::core::option::Option, - /// Required. Autoscaling targets for this cluster. + /// Required. Autoscaling targets for this cluster. #[prost(message, optional, tag="2")] pub autoscaling_targets: ::core::option::Option, } - /// Configuration for a cluster. + /// Configuration for a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterConfig { - /// Autoscaling configuration for this cluster. + /// Autoscaling configuration for this cluster. #[prost(message, optional, tag="1")] pub cluster_autoscaling_config: ::core::option::Option, } - /// Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected - /// cluster. + /// Cloud Key Management Service (Cloud KMS) settings for a CMEK-protected + /// cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionConfig { - /// Describes the Cloud KMS encryption key that will be used to protect the - /// destination Bigtable cluster. The requirements for this key are: + /// Describes the Cloud KMS encryption key that will be used to protect the + /// destination Bigtable cluster. The requirements for this key are: /// 1) The Cloud Bigtable service account associated with the project that /// contains this cluster must be granted the /// `cloudkms.cryptoKeyEncrypterDecrypter` role on the CMEK key. /// 2) Only regional keys can be used and the region of the CMEK key must /// match the region of the cluster. /// 3) All clusters within an instance must use the same CMEK key. - /// Values are of the form - /// `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` + /// Values are of the form + /// `projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}` #[prost(string, tag="1")] pub kms_key_name: ::prost::alloc::string::String, } - /// Possible states of a cluster. + /// Possible states of a cluster. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the cluster could not be determined. + /// The state of the cluster could not be determined. NotKnown = 0, - /// The cluster has been successfully created and is ready to serve requests. + /// The cluster has been successfully created and is ready to serve requests. Ready = 1, - /// The cluster is currently being created, and may be destroyed - /// if the creation process encounters an error. - /// A cluster may not be able to serve requests while being created. + /// The cluster is currently being created, and may be destroyed + /// if the creation process encounters an error. + /// A cluster may not be able to serve requests while being created. Creating = 2, - /// The cluster is currently being resized, and may revert to its previous - /// node count if the process encounters an error. - /// A cluster is still capable of serving requests while being resized, - /// but may exhibit performance as if its number of allocated nodes is - /// between the starting and requested states. + /// The cluster is currently being resized, and may revert to its previous + /// node count if the process encounters an error. + /// A cluster is still capable of serving requests while being resized, + /// but may exhibit performance as if its number of allocated nodes is + /// between the starting and requested states. Resizing = 3, - /// The cluster has no backing nodes. The data (tables) still - /// exist, but no operations can be performed on the cluster. + /// The cluster has no backing nodes. The data (tables) still + /// exist, but no operations can be performed on the cluster. Disabled = 4, } impl State { @@ -274,315 +274,315 @@ pub mod cluster { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Configuration for this cluster. + /// Configuration for this cluster. #[prost(message, tag="7")] ClusterConfig(ClusterConfig), } } -/// A configuration object describing how Cloud Bigtable should treat traffic -/// from a particular end user application. +/// A configuration object describing how Cloud Bigtable should treat traffic +/// from a particular end user application. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppProfile { - /// The unique name of the app profile. Values are of the form - /// `projects/{project}/instances/{instance}/appProfiles/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. + /// The unique name of the app profile. Values are of the form + /// `projects/{project}/instances/{instance}/appProfiles/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Strongly validated etag for optimistic concurrency control. Preserve the - /// value returned from `GetAppProfile` when calling `UpdateAppProfile` to - /// fail the request if there has been a modification in the mean time. The - /// `update_mask` of the request need not include `etag` for this protection - /// to apply. - /// See \[Wikipedia\]() and - /// [RFC 7232]() for more - /// details. + /// Strongly validated etag for optimistic concurrency control. Preserve the + /// value returned from `GetAppProfile` when calling `UpdateAppProfile` to + /// fail the request if there has been a modification in the mean time. The + /// `update_mask` of the request need not include `etag` for this protection + /// to apply. + /// See \[Wikipedia\]() and + /// [RFC 7232]() for more + /// details. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, - /// Long form description of the use case for this AppProfile. + /// Long form description of the use case for this AppProfile. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The routing policy for all read/write requests that use this app profile. - /// A value must be explicitly set. + /// The routing policy for all read/write requests that use this app profile. + /// A value must be explicitly set. #[prost(oneof="app_profile::RoutingPolicy", tags="5, 6")] pub routing_policy: ::core::option::Option, } /// Nested message and enum types in `AppProfile`. pub mod app_profile { - /// Read/write requests are routed to the nearest cluster in the instance, and - /// will fail over to the nearest cluster that is available in the event of - /// transient errors or delays. Clusters in a region are considered - /// equidistant. Choosing this option sacrifices read-your-writes consistency - /// to improve availability. + /// Read/write requests are routed to the nearest cluster in the instance, and + /// will fail over to the nearest cluster that is available in the event of + /// transient errors or delays. Clusters in a region are considered + /// equidistant. Choosing this option sacrifices read-your-writes consistency + /// to improve availability. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MultiClusterRoutingUseAny { - /// The set of clusters to route to. The order is ignored; clusters will be - /// tried in order of distance. If left empty, all clusters are eligible. + /// The set of clusters to route to. The order is ignored; clusters will be + /// tried in order of distance. If left empty, all clusters are eligible. #[prost(string, repeated, tag="1")] pub cluster_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Unconditionally routes all read/write requests to a specific cluster. - /// This option preserves read-your-writes consistency but does not improve - /// availability. + /// Unconditionally routes all read/write requests to a specific cluster. + /// This option preserves read-your-writes consistency but does not improve + /// availability. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SingleClusterRouting { - /// The cluster to which read/write requests should be routed. + /// The cluster to which read/write requests should be routed. #[prost(string, tag="1")] pub cluster_id: ::prost::alloc::string::String, - /// Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are - /// allowed by this app profile. It is unsafe to send these requests to - /// the same table/row/column in multiple clusters. + /// Whether or not `CheckAndMutateRow` and `ReadModifyWriteRow` requests are + /// allowed by this app profile. It is unsafe to send these requests to + /// the same table/row/column in multiple clusters. #[prost(bool, tag="2")] pub allow_transactional_writes: bool, } - /// The routing policy for all read/write requests that use this app profile. - /// A value must be explicitly set. + /// The routing policy for all read/write requests that use this app profile. + /// A value must be explicitly set. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RoutingPolicy { - /// Use a multi-cluster routing policy. + /// Use a multi-cluster routing policy. #[prost(message, tag="5")] MultiClusterRoutingUseAny(MultiClusterRoutingUseAny), - /// Use a single-cluster routing policy. + /// Use a single-cluster routing policy. #[prost(message, tag="6")] SingleClusterRouting(SingleClusterRouting), } } -/// A tablet is a defined by a start and end key and is explained in -/// and -/// -/// A Hot tablet is a tablet that exhibits high average cpu usage during the time -/// interval from start time to end time. +/// A tablet is a defined by a start and end key and is explained in +/// and +/// +/// A Hot tablet is a tablet that exhibits high average cpu usage during the time +/// interval from start time to end time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HotTablet { - /// The unique name of the hot tablet. Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/\[a-zA-Z0-9_-\]*`. + /// The unique name of the hot tablet. Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/hotTablets/\[a-zA-Z0-9_-\]*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Name of the table that contains the tablet. Values are of the form - /// `projects/{project}/instances/{instance}/tables/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. + /// Name of the table that contains the tablet. Values are of the form + /// `projects/{project}/instances/{instance}/tables/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. #[prost(string, tag="2")] pub table_name: ::prost::alloc::string::String, - /// Output only. The start time of the hot tablet. + /// Output only. The start time of the hot tablet. #[prost(message, optional, tag="3")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The end time of the hot tablet. + /// Output only. The end time of the hot tablet. #[prost(message, optional, tag="4")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Tablet Start Key (inclusive). + /// Tablet Start Key (inclusive). #[prost(string, tag="5")] pub start_key: ::prost::alloc::string::String, - /// Tablet End Key (inclusive). + /// Tablet End Key (inclusive). #[prost(string, tag="6")] pub end_key: ::prost::alloc::string::String, - /// Output only. The average CPU usage spent by a node on this tablet over the start_time to - /// end_time time range. The percentage is the amount of CPU used by the node - /// to serve the tablet, from 0% (tablet was not interacted with) to 100% (the - /// node spent all cycles serving the hot tablet). + /// Output only. The average CPU usage spent by a node on this tablet over the start_time to + /// end_time time range. The percentage is the amount of CPU used by the node + /// to serve the tablet, from 0% (tablet was not interacted with) to 100% (the + /// node spent all cycles serving the hot tablet). #[prost(float, tag="7")] pub node_cpu_usage_percent: f32, } -/// Request message for BigtableInstanceAdmin.CreateInstance. +/// Request message for BigtableInstanceAdmin.CreateInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { - /// Required. The unique name of the project in which to create the new instance. - /// Values are of the form `projects/{project}`. + /// Required. The unique name of the project in which to create the new instance. + /// Values are of the form `projects/{project}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID to be used when referring to the new instance within its project, - /// e.g., just `myinstance` rather than - /// `projects/myproject/instances/myinstance`. + /// Required. The ID to be used when referring to the new instance within its project, + /// e.g., just `myinstance` rather than + /// `projects/myproject/instances/myinstance`. #[prost(string, tag="2")] pub instance_id: ::prost::alloc::string::String, - /// Required. The instance to create. - /// Fields marked `OutputOnly` must be left blank. + /// Required. The instance to create. + /// Fields marked `OutputOnly` must be left blank. #[prost(message, optional, tag="3")] pub instance: ::core::option::Option, - /// Required. The clusters to be created within the instance, mapped by desired - /// cluster ID, e.g., just `mycluster` rather than - /// `projects/myproject/instances/myinstance/clusters/mycluster`. - /// Fields marked `OutputOnly` must be left blank. - /// Currently, at most four clusters can be specified. + /// Required. The clusters to be created within the instance, mapped by desired + /// cluster ID, e.g., just `mycluster` rather than + /// `projects/myproject/instances/myinstance/clusters/mycluster`. + /// Fields marked `OutputOnly` must be left blank. + /// Currently, at most four clusters can be specified. #[prost(map="string, message", tag="4")] pub clusters: ::std::collections::HashMap<::prost::alloc::string::String, Cluster>, } -/// Request message for BigtableInstanceAdmin.GetInstance. +/// Request message for BigtableInstanceAdmin.GetInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Required. The unique name of the requested instance. Values are of the form - /// `projects/{project}/instances/{instance}`. + /// Required. The unique name of the requested instance. Values are of the form + /// `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.ListInstances. +/// Request message for BigtableInstanceAdmin.ListInstances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Required. The unique name of the project for which a list of instances is requested. - /// Values are of the form `projects/{project}`. + /// Required. The unique name of the project for which a list of instances is requested. + /// Values are of the form `projects/{project}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// DEPRECATED: This field is unused and ignored. + /// DEPRECATED: This field is unused and ignored. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for BigtableInstanceAdmin.ListInstances. +/// Response message for BigtableInstanceAdmin.ListInstances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// The list of requested instances. + /// The list of requested instances. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// Locations from which Instance information could not be retrieved, - /// due to an outage or some other transient condition. - /// Instances whose Clusters are all in one of the failed locations - /// may be missing from `instances`, and Instances with at least one - /// Cluster in a failed location may only have partial information returned. - /// Values are of the form `projects//locations/` + /// Locations from which Instance information could not be retrieved, + /// due to an outage or some other transient condition. + /// Instances whose Clusters are all in one of the failed locations + /// may be missing from `instances`, and Instances with at least one + /// Cluster in a failed location may only have partial information returned. + /// Values are of the form `projects//locations/` #[prost(string, repeated, tag="2")] pub failed_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// DEPRECATED: This field is unused and ignored. + /// DEPRECATED: This field is unused and ignored. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.PartialUpdateInstance. +/// Request message for BigtableInstanceAdmin.PartialUpdateInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialUpdateInstanceRequest { - /// Required. The Instance which will (partially) replace the current value. + /// Required. The Instance which will (partially) replace the current value. #[prost(message, optional, tag="1")] pub instance: ::core::option::Option, - /// Required. The subset of Instance fields which should be replaced. - /// Must be explicitly set. + /// Required. The subset of Instance fields which should be replaced. + /// Must be explicitly set. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for BigtableInstanceAdmin.DeleteInstance. +/// Request message for BigtableInstanceAdmin.DeleteInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Required. The unique name of the instance to be deleted. - /// Values are of the form `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance to be deleted. + /// Values are of the form `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.CreateCluster. +/// Request message for BigtableInstanceAdmin.CreateCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateClusterRequest { - /// Required. The unique name of the instance in which to create the new cluster. - /// Values are of the form - /// `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance in which to create the new cluster. + /// Values are of the form + /// `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID to be used when referring to the new cluster within its instance, - /// e.g., just `mycluster` rather than - /// `projects/myproject/instances/myinstance/clusters/mycluster`. + /// Required. The ID to be used when referring to the new cluster within its instance, + /// e.g., just `mycluster` rather than + /// `projects/myproject/instances/myinstance/clusters/mycluster`. #[prost(string, tag="2")] pub cluster_id: ::prost::alloc::string::String, - /// Required. The cluster to be created. - /// Fields marked `OutputOnly` must be left blank. + /// Required. The cluster to be created. + /// Fields marked `OutputOnly` must be left blank. #[prost(message, optional, tag="3")] pub cluster: ::core::option::Option, } -/// Request message for BigtableInstanceAdmin.GetCluster. +/// Request message for BigtableInstanceAdmin.GetCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClusterRequest { - /// Required. The unique name of the requested cluster. Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Required. The unique name of the requested cluster. Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.ListClusters. +/// Request message for BigtableInstanceAdmin.ListClusters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClustersRequest { - /// Required. The unique name of the instance for which a list of clusters is requested. - /// Values are of the form `projects/{project}/instances/{instance}`. - /// Use `{instance} = '-'` to list Clusters for all Instances in a project, - /// e.g., `projects/myproject/instances/-`. + /// Required. The unique name of the instance for which a list of clusters is requested. + /// Values are of the form `projects/{project}/instances/{instance}`. + /// Use `{instance} = '-'` to list Clusters for all Instances in a project, + /// e.g., `projects/myproject/instances/-`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// DEPRECATED: This field is unused and ignored. + /// DEPRECATED: This field is unused and ignored. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for BigtableInstanceAdmin.ListClusters. +/// Response message for BigtableInstanceAdmin.ListClusters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClustersResponse { - /// The list of requested clusters. + /// The list of requested clusters. #[prost(message, repeated, tag="1")] pub clusters: ::prost::alloc::vec::Vec, - /// Locations from which Cluster information could not be retrieved, - /// due to an outage or some other transient condition. - /// Clusters from these locations may be missing from `clusters`, - /// or may only have partial information returned. - /// Values are of the form `projects//locations/` + /// Locations from which Cluster information could not be retrieved, + /// due to an outage or some other transient condition. + /// Clusters from these locations may be missing from `clusters`, + /// or may only have partial information returned. + /// Values are of the form `projects//locations/` #[prost(string, repeated, tag="2")] pub failed_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// DEPRECATED: This field is unused and ignored. + /// DEPRECATED: This field is unused and ignored. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.DeleteCluster. +/// Request message for BigtableInstanceAdmin.DeleteCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteClusterRequest { - /// Required. The unique name of the cluster to be deleted. Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Required. The unique name of the cluster to be deleted. Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The metadata for the Operation returned by CreateInstance. +/// The metadata for the Operation returned by CreateInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceMetadata { - /// The request that prompted the initiation of this CreateInstance operation. + /// The request that prompted the initiation of this CreateInstance operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The metadata for the Operation returned by UpdateInstance. +/// The metadata for the Operation returned by UpdateInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceMetadata { - /// The request that prompted the initiation of this UpdateInstance operation. + /// The request that prompted the initiation of this UpdateInstance operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The metadata for the Operation returned by CreateCluster. +/// The metadata for the Operation returned by CreateCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateClusterMetadata { - /// The request that prompted the initiation of this CreateCluster operation. + /// The request that prompted the initiation of this CreateCluster operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, - /// Keys: the full `name` of each table that existed in the instance when - /// CreateCluster was first called, i.e. - /// `projects//instances//tables/
`. Any table added - /// to the instance by a later API call will be created in the new cluster by - /// that API call, not this one. + /// Keys: the full `name` of each table that existed in the instance when + /// CreateCluster was first called, i.e. + /// `projects//instances//tables/
`. Any table added + /// to the instance by a later API call will be created in the new cluster by + /// that API call, not this one. /// - /// Values: information on how much of a table's data has been copied to the - /// newly-created cluster so far. + /// Values: information on how much of a table's data has been copied to the + /// newly-created cluster so far. #[prost(map="string, message", tag="4")] pub tables: ::std::collections::HashMap<::prost::alloc::string::String, create_cluster_metadata::TableProgress>, } /// Nested message and enum types in `CreateClusterMetadata`. pub mod create_cluster_metadata { - /// Progress info for copying a table's data to the new cluster. + /// Progress info for copying a table's data to the new cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableProgress { - /// Estimate of the size of the table to be copied. + /// Estimate of the size of the table to be copied. #[prost(int64, tag="2")] pub estimated_size_bytes: i64, - /// Estimate of the number of bytes copied so far for this table. - /// This will eventually reach 'estimated_size_bytes' unless the table copy - /// is CANCELLED. + /// Estimate of the number of bytes copied so far for this table. + /// This will eventually reach 'estimated_size_bytes' unless the table copy + /// is CANCELLED. #[prost(int64, tag="3")] pub estimated_copied_bytes: i64, #[prost(enumeration="table_progress::State", tag="4")] @@ -594,15 +594,15 @@ pub mod create_cluster_metadata { #[repr(i32)] pub enum State { Unspecified = 0, - /// The table has not yet begun copying to the new cluster. + /// The table has not yet begun copying to the new cluster. Pending = 1, - /// The table is actively being copied to the new cluster. + /// The table is actively being copied to the new cluster. Copying = 2, - /// The table has been fully copied to the new cluster. + /// The table has been fully copied to the new cluster. Completed = 3, - /// The table was deleted before it finished copying to the new cluster. - /// Note that tables deleted after completion will stay marked as - /// COMPLETED, not CANCELLED. + /// The table was deleted before it finished copying to the new cluster. + /// Note that tables deleted after completion will stay marked as + /// COMPLETED, not CANCELLED. Cancelled = 4, } impl State { @@ -622,191 +622,191 @@ pub mod create_cluster_metadata { } } } -/// The metadata for the Operation returned by UpdateCluster. +/// The metadata for the Operation returned by UpdateCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateClusterMetadata { - /// The request that prompted the initiation of this UpdateCluster operation. + /// The request that prompted the initiation of this UpdateCluster operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The metadata for the Operation returned by PartialUpdateCluster. +/// The metadata for the Operation returned by PartialUpdateCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialUpdateClusterMetadata { - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="1")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="2")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for PartialUpdateCluster. + /// The original request for PartialUpdateCluster. #[prost(message, optional, tag="3")] pub original_request: ::core::option::Option, } -/// Request message for BigtableInstanceAdmin.PartialUpdateCluster. +/// Request message for BigtableInstanceAdmin.PartialUpdateCluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialUpdateClusterRequest { - /// Required. The Cluster which contains the partial updates to be applied, subject to - /// the update_mask. + /// Required. The Cluster which contains the partial updates to be applied, subject to + /// the update_mask. #[prost(message, optional, tag="1")] pub cluster: ::core::option::Option, - /// Required. The subset of Cluster fields which should be replaced. + /// Required. The subset of Cluster fields which should be replaced. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for BigtableInstanceAdmin.CreateAppProfile. +/// Request message for BigtableInstanceAdmin.CreateAppProfile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAppProfileRequest { - /// Required. The unique name of the instance in which to create the new app profile. - /// Values are of the form - /// `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance in which to create the new app profile. + /// Values are of the form + /// `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID to be used when referring to the new app profile within its - /// instance, e.g., just `myprofile` rather than - /// `projects/myproject/instances/myinstance/appProfiles/myprofile`. + /// Required. The ID to be used when referring to the new app profile within its + /// instance, e.g., just `myprofile` rather than + /// `projects/myproject/instances/myinstance/appProfiles/myprofile`. #[prost(string, tag="2")] pub app_profile_id: ::prost::alloc::string::String, - /// Required. The app profile to be created. - /// Fields marked `OutputOnly` will be ignored. + /// Required. The app profile to be created. + /// Fields marked `OutputOnly` will be ignored. #[prost(message, optional, tag="3")] pub app_profile: ::core::option::Option, - /// If true, ignore safety checks when creating the app profile. + /// If true, ignore safety checks when creating the app profile. #[prost(bool, tag="4")] pub ignore_warnings: bool, } -/// Request message for BigtableInstanceAdmin.GetAppProfile. +/// Request message for BigtableInstanceAdmin.GetAppProfile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAppProfileRequest { - /// Required. The unique name of the requested app profile. Values are of the form - /// `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + /// Required. The unique name of the requested app profile. Values are of the form + /// `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BigtableInstanceAdmin.ListAppProfiles. +/// Request message for BigtableInstanceAdmin.ListAppProfiles. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppProfilesRequest { - /// Required. The unique name of the instance for which a list of app profiles is - /// requested. Values are of the form - /// `projects/{project}/instances/{instance}`. - /// Use `{instance} = '-'` to list AppProfiles for all Instances in a project, - /// e.g., `projects/myproject/instances/-`. + /// Required. The unique name of the instance for which a list of app profiles is + /// requested. Values are of the form + /// `projects/{project}/instances/{instance}`. + /// Use `{instance} = '-'` to list AppProfiles for all Instances in a project, + /// e.g., `projects/myproject/instances/-`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of results per page. + /// Maximum number of results per page. /// - /// A page_size of zero lets the server choose the number of items to return. - /// A page_size which is strictly positive will return at most that many items. - /// A negative page_size will cause an error. + /// A page_size of zero lets the server choose the number of items to return. + /// A page_size which is strictly positive will return at most that many items. + /// A negative page_size will cause an error. /// - /// Following the first request, subsequent paginated calls are not required - /// to pass a page_size. If a page_size is set in subsequent calls, it must - /// match the page_size given in the first request. + /// Following the first request, subsequent paginated calls are not required + /// to pass a page_size. If a page_size is set in subsequent calls, it must + /// match the page_size given in the first request. #[prost(int32, tag="3")] pub page_size: i32, - /// The value of `next_page_token` returned by a previous call. + /// The value of `next_page_token` returned by a previous call. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for BigtableInstanceAdmin.ListAppProfiles. +/// Response message for BigtableInstanceAdmin.ListAppProfiles. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppProfilesResponse { - /// The list of requested app profiles. + /// The list of requested app profiles. #[prost(message, repeated, tag="1")] pub app_profiles: ::prost::alloc::vec::Vec, - /// Set if not all app profiles could be returned in a single response. - /// Pass this value to `page_token` in another request to get the next - /// page of results. + /// Set if not all app profiles could be returned in a single response. + /// Pass this value to `page_token` in another request to get the next + /// page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations from which AppProfile information could not be retrieved, - /// due to an outage or some other transient condition. - /// AppProfiles from these locations may be missing from `app_profiles`. - /// Values are of the form `projects//locations/` + /// Locations from which AppProfile information could not be retrieved, + /// due to an outage or some other transient condition. + /// AppProfiles from these locations may be missing from `app_profiles`. + /// Values are of the form `projects//locations/` #[prost(string, repeated, tag="3")] pub failed_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for BigtableInstanceAdmin.UpdateAppProfile. +/// Request message for BigtableInstanceAdmin.UpdateAppProfile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAppProfileRequest { - /// Required. The app profile which will (partially) replace the current value. + /// Required. The app profile which will (partially) replace the current value. #[prost(message, optional, tag="1")] pub app_profile: ::core::option::Option, - /// Required. The subset of app profile fields which should be replaced. - /// If unset, all fields will be replaced. + /// Required. The subset of app profile fields which should be replaced. + /// If unset, all fields will be replaced. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If true, ignore safety checks when updating the app profile. + /// If true, ignore safety checks when updating the app profile. #[prost(bool, tag="3")] pub ignore_warnings: bool, } -/// Request message for BigtableInstanceAdmin.DeleteAppProfile. +/// Request message for BigtableInstanceAdmin.DeleteAppProfile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAppProfileRequest { - /// Required. The unique name of the app profile to be deleted. Values are of the form - /// `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. + /// Required. The unique name of the app profile to be deleted. Values are of the form + /// `projects/{project}/instances/{instance}/appProfiles/{app_profile}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. If true, ignore safety checks when deleting the app profile. + /// Required. If true, ignore safety checks when deleting the app profile. #[prost(bool, tag="2")] pub ignore_warnings: bool, } -/// The metadata for the Operation returned by UpdateAppProfile. +/// The metadata for the Operation returned by UpdateAppProfile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAppProfileMetadata { } -/// Request message for BigtableInstanceAdmin.ListHotTablets. +/// Request message for BigtableInstanceAdmin.ListHotTablets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHotTabletsRequest { - /// Required. The cluster name to list hot tablets. - /// Value is in the following form: - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Required. The cluster name to list hot tablets. + /// Value is in the following form: + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The start time to list hot tablets. The hot tablets in the response will - /// have start times between the requested start time and end time. Start time - /// defaults to Now if it is unset, and end time defaults to Now - 24 hours if - /// it is unset. The start time should be less than the end time, and the - /// maximum allowed time range between start time and end time is 48 hours. - /// Start time and end time should have values between Now and Now - 14 days. + /// The start time to list hot tablets. The hot tablets in the response will + /// have start times between the requested start time and end time. Start time + /// defaults to Now if it is unset, and end time defaults to Now - 24 hours if + /// it is unset. The start time should be less than the end time, and the + /// maximum allowed time range between start time and end time is 48 hours. + /// Start time and end time should have values between Now and Now - 14 days. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The end time to list hot tablets. + /// The end time to list hot tablets. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Maximum number of results per page. + /// Maximum number of results per page. /// - /// A page_size that is empty or zero lets the server choose the number of - /// items to return. A page_size which is strictly positive will return at most - /// that many items. A negative page_size will cause an error. + /// A page_size that is empty or zero lets the server choose the number of + /// items to return. A page_size which is strictly positive will return at most + /// that many items. A negative page_size will cause an error. /// - /// Following the first request, subsequent paginated calls do not need a - /// page_size field. If a page_size is set in subsequent calls, it must match - /// the page_size given in the first request. + /// Following the first request, subsequent paginated calls do not need a + /// page_size field. If a page_size is set in subsequent calls, it must match + /// the page_size given in the first request. #[prost(int32, tag="4")] pub page_size: i32, - /// The value of `next_page_token` returned by a previous call. + /// The value of `next_page_token` returned by a previous call. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, } -/// Response message for BigtableInstanceAdmin.ListHotTablets. +/// Response message for BigtableInstanceAdmin.ListHotTablets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHotTabletsResponse { - /// List of hot tablets in the tables of the requested cluster that fall - /// within the requested time range. Hot tablets are ordered by node cpu usage - /// percent. If there are multiple hot tablets that correspond to the same - /// tablet within a 15-minute interval, only the hot tablet with the highest - /// node cpu usage will be included in the response. + /// List of hot tablets in the tables of the requested cluster that fall + /// within the requested time range. Hot tablets are ordered by node cpu usage + /// percent. If there are multiple hot tablets that correspond to the same + /// tablet within a 15-minute interval, only the hot tablet with the highest + /// node cpu usage will be included in the response. #[prost(message, repeated, tag="1")] pub hot_tablets: ::prost::alloc::vec::Vec, - /// Set if not all hot tablets could be returned in a single response. - /// Pass this value to `page_token` in another request to get the next - /// page of results. + /// Set if not all hot tablets could be returned in a single response. + /// Pass this value to `page_token` in another request to get the next + /// page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -1372,107 +1372,107 @@ pub mod bigtable_instance_admin_client { } } } -/// Information about a table restore. +/// Information about a table restore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreInfo { - /// The type of the restore source. + /// The type of the restore source. #[prost(enumeration="RestoreSourceType", tag="1")] pub source_type: i32, - /// Information about the source used to restore the table. + /// Information about the source used to restore the table. #[prost(oneof="restore_info::SourceInfo", tags="2")] pub source_info: ::core::option::Option, } /// Nested message and enum types in `RestoreInfo`. pub mod restore_info { - /// Information about the source used to restore the table. + /// Information about the source used to restore the table. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceInfo { - /// Information about the backup used to restore the table. The backup - /// may no longer exist. + /// Information about the backup used to restore the table. The backup + /// may no longer exist. #[prost(message, tag="2")] BackupInfo(super::BackupInfo), } } -/// A collection of user data indexed by row, column, and timestamp. -/// Each table is served using the resources of its parent cluster. +/// A collection of user data indexed by row, column, and timestamp. +/// Each table is served using the resources of its parent cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Table { - /// The unique name of the table. Values are of the form - /// `projects/{project}/instances/{instance}/tables/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. - /// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` + /// The unique name of the table. Values are of the form + /// `projects/{project}/instances/{instance}/tables/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*`. + /// Views: `NAME_ONLY`, `SCHEMA_VIEW`, `REPLICATION_VIEW`, `FULL` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Map from cluster ID to per-cluster table state. - /// If it could not be determined whether or not the table has data in a - /// particular cluster (for example, if its zone is unavailable), then - /// there will be an entry for the cluster with UNKNOWN `replication_status`. - /// Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` + /// Output only. Map from cluster ID to per-cluster table state. + /// If it could not be determined whether or not the table has data in a + /// particular cluster (for example, if its zone is unavailable), then + /// there will be an entry for the cluster with UNKNOWN `replication_status`. + /// Views: `REPLICATION_VIEW`, `ENCRYPTION_VIEW`, `FULL` #[prost(map="string, message", tag="2")] pub cluster_states: ::std::collections::HashMap<::prost::alloc::string::String, table::ClusterState>, - /// The column families configured for this table, mapped by column family ID. - /// Views: `SCHEMA_VIEW`, `FULL` + /// The column families configured for this table, mapped by column family ID. + /// Views: `SCHEMA_VIEW`, `FULL` #[prost(map="string, message", tag="3")] pub column_families: ::std::collections::HashMap<::prost::alloc::string::String, ColumnFamily>, - /// Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this - /// table. Timestamps not matching the granularity will be rejected. - /// If unspecified at creation time, the value will be set to `MILLIS`. - /// Views: `SCHEMA_VIEW`, `FULL`. + /// Immutable. The granularity (i.e. `MILLIS`) at which timestamps are stored in this + /// table. Timestamps not matching the granularity will be rejected. + /// If unspecified at creation time, the value will be set to `MILLIS`. + /// Views: `SCHEMA_VIEW`, `FULL`. #[prost(enumeration="table::TimestampGranularity", tag="4")] pub granularity: i32, - /// Output only. If this table was restored from another data source (e.g. a backup), this - /// field will be populated with information about the restore. + /// Output only. If this table was restored from another data source (e.g. a backup), this + /// field will be populated with information about the restore. #[prost(message, optional, tag="6")] pub restore_info: ::core::option::Option, - /// Set to true to make the table protected against data loss. i.e. deleting - /// the following resources through Admin APIs are prohibited: + /// Set to true to make the table protected against data loss. i.e. deleting + /// the following resources through Admin APIs are prohibited: /// - The table. /// - The column families in the table. /// - The instance containing the table. - /// Note one can still delete the data stored in the table through Data APIs. + /// Note one can still delete the data stored in the table through Data APIs. #[prost(bool, tag="9")] pub deletion_protection: bool, } /// Nested message and enum types in `Table`. pub mod table { - /// The state of a table's data in a particular cluster. + /// The state of a table's data in a particular cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterState { - /// Output only. The state of replication for the table in this cluster. + /// Output only. The state of replication for the table in this cluster. #[prost(enumeration="cluster_state::ReplicationState", tag="1")] pub replication_state: i32, - /// Output only. The encryption information for the table in this cluster. - /// If the encryption key protecting this resource is customer managed, then - /// its version can be rotated in Cloud Key Management Service (Cloud KMS). - /// The primary version of the key and its status will be reflected here when - /// changes propagate from Cloud KMS. + /// Output only. The encryption information for the table in this cluster. + /// If the encryption key protecting this resource is customer managed, then + /// its version can be rotated in Cloud Key Management Service (Cloud KMS). + /// The primary version of the key and its status will be reflected here when + /// changes propagate from Cloud KMS. #[prost(message, repeated, tag="2")] pub encryption_info: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ClusterState`. pub mod cluster_state { - /// Table replication states. + /// Table replication states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReplicationState { - /// The replication state of the table is unknown in this cluster. + /// The replication state of the table is unknown in this cluster. StateNotKnown = 0, - /// The cluster was recently created, and the table must finish copying - /// over pre-existing data from other clusters before it can begin - /// receiving live replication updates and serving Data API requests. + /// The cluster was recently created, and the table must finish copying + /// over pre-existing data from other clusters before it can begin + /// receiving live replication updates and serving Data API requests. Initializing = 1, - /// The table is temporarily unable to serve Data API requests from this - /// cluster due to planned internal maintenance. + /// The table is temporarily unable to serve Data API requests from this + /// cluster due to planned internal maintenance. PlannedMaintenance = 2, - /// The table is temporarily unable to serve Data API requests from this - /// cluster due to unplanned or emergency maintenance. + /// The table is temporarily unable to serve Data API requests from this + /// cluster due to unplanned or emergency maintenance. UnplannedMaintenance = 3, - /// The table can serve Data API requests from this cluster. Depending on - /// replication delay, reads may not immediately reflect the state of the - /// table in other clusters. + /// The table can serve Data API requests from this cluster. Depending on + /// replication delay, reads may not immediately reflect the state of the + /// table in other clusters. Ready = 4, - /// The table is fully created and ready for use after a restore, and is - /// being optimized for performance. When optimizations are complete, the - /// table will transition to `READY` state. + /// The table is fully created and ready for use after a restore, and is + /// being optimized for performance. When optimizations are complete, the + /// table will transition to `READY` state. ReadyOptimizing = 5, } impl ReplicationState { @@ -1492,15 +1492,15 @@ pub mod table { } } } - /// Possible timestamp granularities to use when keeping multiple versions - /// of data in a table. + /// Possible timestamp granularities to use when keeping multiple versions + /// of data in a table. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimestampGranularity { - /// The user did not specify a granularity. Should not be returned. - /// When specified during table creation, MILLIS will be used. + /// The user did not specify a granularity. Should not be returned. + /// When specified during table creation, MILLIS will be used. Unspecified = 0, - /// The table keeps data versioned at a granularity of 1ms. + /// The table keeps data versioned at a granularity of 1ms. Millis = 1, } impl TimestampGranularity { @@ -1515,22 +1515,22 @@ pub mod table { } } } - /// Defines a view over a table's fields. + /// Defines a view over a table's fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum View { - /// Uses the default view for each method as documented in its request. + /// Uses the default view for each method as documented in its request. Unspecified = 0, - /// Only populates `name`. + /// Only populates `name`. NameOnly = 1, - /// Only populates `name` and fields related to the table's schema. + /// Only populates `name` and fields related to the table's schema. SchemaView = 2, - /// Only populates `name` and fields related to the table's replication - /// state. + /// Only populates `name` and fields related to the table's replication + /// state. ReplicationView = 3, - /// Only populates `name` and fields related to the table's encryption state. + /// Only populates `name` and fields related to the table's encryption state. EncryptionView = 5, - /// Populates all fields. + /// Populates all fields. Full = 4, } impl View { @@ -1550,97 +1550,97 @@ pub mod table { } } } -/// A set of columns within a table which share a common configuration. +/// A set of columns within a table which share a common configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnFamily { - /// Garbage collection rule specified as a protobuf. - /// Must serialize to at most 500 bytes. + /// Garbage collection rule specified as a protobuf. + /// Must serialize to at most 500 bytes. /// - /// NOTE: Garbage collection executes opportunistically in the background, and - /// so it's possible for reads to return a cell even if it matches the active - /// GC expression for its family. + /// NOTE: Garbage collection executes opportunistically in the background, and + /// so it's possible for reads to return a cell even if it matches the active + /// GC expression for its family. #[prost(message, optional, tag="1")] pub gc_rule: ::core::option::Option, } -/// Rule for determining which cells to delete during garbage collection. +/// Rule for determining which cells to delete during garbage collection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcRule { - /// Garbage collection rules. + /// Garbage collection rules. #[prost(oneof="gc_rule::Rule", tags="1, 2, 3, 4")] pub rule: ::core::option::Option, } /// Nested message and enum types in `GcRule`. pub mod gc_rule { - /// A GcRule which deletes cells matching all of the given rules. + /// A GcRule which deletes cells matching all of the given rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intersection { - /// Only delete cells which would be deleted by every element of `rules`. + /// Only delete cells which would be deleted by every element of `rules`. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } - /// A GcRule which deletes cells matching any of the given rules. + /// A GcRule which deletes cells matching any of the given rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Union { - /// Delete cells which would be deleted by any element of `rules`. + /// Delete cells which would be deleted by any element of `rules`. #[prost(message, repeated, tag="1")] pub rules: ::prost::alloc::vec::Vec, } - /// Garbage collection rules. + /// Garbage collection rules. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rule { - /// Delete all cells in a column except the most recent N. + /// Delete all cells in a column except the most recent N. #[prost(int32, tag="1")] MaxNumVersions(i32), - /// Delete cells in a column older than the given age. - /// Values must be at least one millisecond, and will be truncated to - /// microsecond granularity. + /// Delete cells in a column older than the given age. + /// Values must be at least one millisecond, and will be truncated to + /// microsecond granularity. #[prost(message, tag="2")] MaxAge(::prost_types::Duration), - /// Delete cells that would be deleted by every nested rule. + /// Delete cells that would be deleted by every nested rule. #[prost(message, tag="3")] Intersection(Intersection), - /// Delete cells that would be deleted by any nested rule. + /// Delete cells that would be deleted by any nested rule. #[prost(message, tag="4")] Union(Union), } } -/// Encryption information for a given resource. -/// If this resource is protected with customer managed encryption, the in-use -/// Cloud Key Management Service (Cloud KMS) key version is specified along with -/// its status. +/// Encryption information for a given resource. +/// If this resource is protected with customer managed encryption, the in-use +/// Cloud Key Management Service (Cloud KMS) key version is specified along with +/// its status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionInfo { - /// Output only. The type of encryption used to protect this resource. + /// Output only. The type of encryption used to protect this resource. #[prost(enumeration="encryption_info::EncryptionType", tag="3")] pub encryption_type: i32, - /// Output only. The status of encrypt/decrypt calls on underlying data for this resource. - /// Regardless of status, the existing data is always encrypted at rest. + /// Output only. The status of encrypt/decrypt calls on underlying data for this resource. + /// Regardless of status, the existing data is always encrypted at rest. #[prost(message, optional, tag="4")] pub encryption_status: ::core::option::Option, - /// Output only. The version of the Cloud KMS key specified in the parent cluster that is - /// in use for the data underlying this table. + /// Output only. The version of the Cloud KMS key specified in the parent cluster that is + /// in use for the data underlying this table. #[prost(string, tag="2")] pub kms_key_version: ::prost::alloc::string::String, } /// Nested message and enum types in `EncryptionInfo`. pub mod encryption_info { - /// Possible encryption types for a resource. + /// Possible encryption types for a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EncryptionType { - /// Encryption type was not specified, though data at rest remains encrypted. + /// Encryption type was not specified, though data at rest remains encrypted. Unspecified = 0, - /// The data backing this resource is encrypted at rest with a key that is - /// fully managed by Google. No key version or status will be populated. - /// This is the default state. + /// The data backing this resource is encrypted at rest with a key that is + /// fully managed by Google. No key version or status will be populated. + /// This is the default state. GoogleDefaultEncryption = 1, - /// The data backing this resource is encrypted at rest with a key that is - /// managed by the customer. - /// The in-use version of the key and its status are populated for - /// CMEK-protected tables. - /// CMEK-protected backups are pinned to the key version that was in use at - /// the time the backup was taken. This key version is populated but its - /// status is not tracked and is reported as `UNKNOWN`. + /// The data backing this resource is encrypted at rest with a key that is + /// managed by the customer. + /// The in-use version of the key and its status are populated for + /// CMEK-protected tables. + /// CMEK-protected backups are pinned to the key version that was in use at + /// the time the backup was taken. This key version is populated but its + /// status is not tracked and is reported as `UNKNOWN`. CustomerManagedEncryption = 2, } impl EncryptionType { @@ -1657,57 +1657,57 @@ pub mod encryption_info { } } } -/// A snapshot of a table at a particular time. A snapshot can be used as a -/// checkpoint for data restoration or a data source for a new table. +/// A snapshot of a table at a particular time. A snapshot can be used as a +/// checkpoint for data restoration or a data source for a new table. /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Snapshot { - /// Output only. The unique name of the snapshot. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + /// Output only. The unique name of the snapshot. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The source table at the time the snapshot was taken. + /// Output only. The source table at the time the snapshot was taken. #[prost(message, optional, tag="2")] pub source_table: ::core::option::Option
, - /// Output only. The size of the data in the source table at the time the - /// snapshot was taken. In some cases, this value may be computed - /// asynchronously via a background process and a placeholder of 0 will be used - /// in the meantime. + /// Output only. The size of the data in the source table at the time the + /// snapshot was taken. In some cases, this value may be computed + /// asynchronously via a background process and a placeholder of 0 will be used + /// in the meantime. #[prost(int64, tag="3")] pub data_size_bytes: i64, - /// Output only. The time when the snapshot is created. + /// Output only. The time when the snapshot is created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the snapshot will be deleted. The maximum amount - /// of time a snapshot can stay active is 365 days. If 'ttl' is not specified, - /// the default maximum of 365 days will be used. + /// Output only. The time when the snapshot will be deleted. The maximum amount + /// of time a snapshot can stay active is 365 days. If 'ttl' is not specified, + /// the default maximum of 365 days will be used. #[prost(message, optional, tag="5")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The current state of the snapshot. + /// Output only. The current state of the snapshot. #[prost(enumeration="snapshot::State", tag="6")] pub state: i32, - /// Output only. Description of the snapshot. + /// Output only. Description of the snapshot. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Snapshot`. pub mod snapshot { - /// Possible states of a snapshot. + /// Possible states of a snapshot. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the snapshot could not be determined. + /// The state of the snapshot could not be determined. NotKnown = 0, - /// The snapshot has been successfully created and can serve all requests. + /// The snapshot has been successfully created and can serve all requests. Ready = 1, - /// The snapshot is currently being created, and may be destroyed if the - /// creation process encounters an error. A snapshot may not be restored to a - /// table while it is being created. + /// The snapshot is currently being created, and may be destroyed if the + /// creation process encounters an error. A snapshot may not be restored to a + /// table while it is being created. Creating = 2, } impl State { @@ -1724,65 +1724,65 @@ pub mod snapshot { } } } -/// A backup of a Cloud Bigtable table. +/// A backup of a Cloud Bigtable table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Backup { - /// A globally unique identifier for the backup which cannot be - /// changed. Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/ + /// A globally unique identifier for the backup which cannot be + /// changed. Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/ /// backups/\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*` - /// The final segment of the name must be between 1 and 50 characters - /// in length. + /// The final segment of the name must be between 1 and 50 characters + /// in length. /// - /// The backup is stored in the cluster identified by the prefix of the backup - /// name of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// The backup is stored in the cluster identified by the prefix of the backup + /// name of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Name of the table from which this backup was created. This needs - /// to be in the same instance as the backup. Values are of the form - /// `projects/{project}/instances/{instance}/tables/{source_table}`. + /// Required. Immutable. Name of the table from which this backup was created. This needs + /// to be in the same instance as the backup. Values are of the form + /// `projects/{project}/instances/{instance}/tables/{source_table}`. #[prost(string, tag="2")] pub source_table: ::prost::alloc::string::String, - /// Required. The expiration time of the backup, with microseconds - /// granularity that must be at least 6 hours and at most 30 days - /// from the time the request is received. Once the `expire_time` - /// has passed, Cloud Bigtable will delete the backup and free the - /// resources used by the backup. + /// Required. The expiration time of the backup, with microseconds + /// granularity that must be at least 6 hours and at most 30 days + /// from the time the request is received. Once the `expire_time` + /// has passed, Cloud Bigtable will delete the backup and free the + /// resources used by the backup. #[prost(message, optional, tag="3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. `start_time` is the time that the backup was started - /// (i.e. approximately the time the - /// \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\] request is received). The - /// row data in this backup will be no older than this timestamp. + /// Output only. `start_time` is the time that the backup was started + /// (i.e. approximately the time the + /// \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\] request is received). The + /// row data in this backup will be no older than this timestamp. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. `end_time` is the time that the backup was finished. The row - /// data in the backup will be no newer than this timestamp. + /// Output only. `end_time` is the time that the backup was finished. The row + /// data in the backup will be no newer than this timestamp. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Size of the backup in bytes. + /// Output only. Size of the backup in bytes. #[prost(int64, tag="6")] pub size_bytes: i64, - /// Output only. The current state of the backup. + /// Output only. The current state of the backup. #[prost(enumeration="backup::State", tag="7")] pub state: i32, - /// Output only. The encryption information for the backup. + /// Output only. The encryption information for the backup. #[prost(message, optional, tag="9")] pub encryption_info: ::core::option::Option, } /// Nested message and enum types in `Backup`. pub mod backup { - /// Indicates the current state of the backup. + /// Indicates the current state of the backup. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Not specified. + /// Not specified. Unspecified = 0, - /// The pending backup is still being created. Operations on the - /// backup may fail with `FAILED_PRECONDITION` in this state. + /// The pending backup is still being created. Operations on the + /// backup may fail with `FAILED_PRECONDITION` in this state. Creating = 1, - /// The backup is complete and ready for use. + /// The backup is complete and ready for use. Ready = 2, } impl State { @@ -1799,31 +1799,31 @@ pub mod backup { } } } -/// Information about a backup. +/// Information about a backup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackupInfo { - /// Output only. Name of the backup. + /// Output only. Name of the backup. #[prost(string, tag="1")] pub backup: ::prost::alloc::string::String, - /// Output only. The time that the backup was started. Row data in the backup - /// will be no older than this timestamp. + /// Output only. The time that the backup was started. Row data in the backup + /// will be no older than this timestamp. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. This time that the backup was finished. Row data in the - /// backup will be no newer than this timestamp. + /// Output only. This time that the backup was finished. Row data in the + /// backup will be no newer than this timestamp. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Name of the table the backup was created from. + /// Output only. Name of the table the backup was created from. #[prost(string, tag="4")] pub source_table: ::prost::alloc::string::String, } -/// Indicates the type of the restore source. +/// Indicates the type of the restore source. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestoreSourceType { - /// No restore associated. + /// No restore associated. Unspecified = 0, - /// A backup was used as the source of the restore. + /// A backup was used as the source of the restore. Backup = 1, } impl RestoreSourceType { @@ -1838,116 +1838,116 @@ impl RestoreSourceType { } } } -/// The request for -/// \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\]. +/// The request for +/// \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreTableRequest { - /// Required. The name of the instance in which to create the restored - /// table. This instance must be in the same project as the source backup. - /// Values are of the form `projects//instances/`. + /// Required. The name of the instance in which to create the restored + /// table. This instance must be in the same project as the source backup. + /// Values are of the form `projects//instances/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The id of the table to create and restore to. This - /// table must not already exist. The `table_id` appended to - /// `parent` forms the full table name of the form - /// `projects//instances//tables/`. + /// Required. The id of the table to create and restore to. This + /// table must not already exist. The `table_id` appended to + /// `parent` forms the full table name of the form + /// `projects//instances//tables/`. #[prost(string, tag="2")] pub table_id: ::prost::alloc::string::String, - /// Required. The source from which to restore. + /// Required. The source from which to restore. #[prost(oneof="restore_table_request::Source", tags="3")] pub source: ::core::option::Option, } /// Nested message and enum types in `RestoreTableRequest`. pub mod restore_table_request { - /// Required. The source from which to restore. + /// Required. The source from which to restore. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Name of the backup from which to restore. Values are of the form - /// `projects//instances//clusters//backups/`. + /// Name of the backup from which to restore. Values are of the form + /// `projects//instances//clusters//backups/`. #[prost(string, tag="3")] Backup(::prost::alloc::string::String), } } -/// Metadata type for the long-running operation returned by -/// \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\]. +/// Metadata type for the long-running operation returned by +/// \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreTableMetadata { - /// Name of the table being created and restored to. + /// Name of the table being created and restored to. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of the restore source. + /// The type of the restore source. #[prost(enumeration="RestoreSourceType", tag="2")] pub source_type: i32, - /// If exists, the name of the long-running operation that will be used to - /// track the post-restore optimization process to optimize the performance of - /// the restored table. The metadata type of the long-running operation is - /// \[OptimizeRestoreTableMetadata][\]. The response type is - /// \[Empty][google.protobuf.Empty\]. This long-running operation may be - /// automatically created by the system if applicable after the - /// RestoreTable long-running operation completes successfully. This operation - /// may not be created if the table is already optimized or the restore was - /// not successful. + /// If exists, the name of the long-running operation that will be used to + /// track the post-restore optimization process to optimize the performance of + /// the restored table. The metadata type of the long-running operation is + /// \[OptimizeRestoreTableMetadata][\]. The response type is + /// \[Empty][google.protobuf.Empty\]. This long-running operation may be + /// automatically created by the system if applicable after the + /// RestoreTable long-running operation completes successfully. This operation + /// may not be created if the table is already optimized or the restore was + /// not successful. #[prost(string, tag="4")] pub optimize_table_operation_name: ::prost::alloc::string::String, - /// The progress of the \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\] - /// operation. + /// The progress of the \[RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable\] + /// operation. #[prost(message, optional, tag="5")] pub progress: ::core::option::Option, - /// Information about the source used to restore the table, as specified by - /// `source` in \[RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest\]. + /// Information about the source used to restore the table, as specified by + /// `source` in \[RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest\]. #[prost(oneof="restore_table_metadata::SourceInfo", tags="3")] pub source_info: ::core::option::Option, } /// Nested message and enum types in `RestoreTableMetadata`. pub mod restore_table_metadata { - /// Information about the source used to restore the table, as specified by - /// `source` in \[RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest\]. + /// Information about the source used to restore the table, as specified by + /// `source` in \[RestoreTableRequest][google.bigtable.admin.v2.RestoreTableRequest\]. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceInfo { #[prost(message, tag="3")] BackupInfo(super::BackupInfo), } } -/// Metadata type for the long-running operation used to track the progress -/// of optimizations performed on a newly restored table. This long-running -/// operation is automatically created by the system after the successful -/// completion of a table restore, and cannot be cancelled. +/// Metadata type for the long-running operation used to track the progress +/// of optimizations performed on a newly restored table. This long-running +/// operation is automatically created by the system after the successful +/// completion of a table restore, and cannot be cancelled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OptimizeRestoredTableMetadata { - /// Name of the restored table being optimized. + /// Name of the restored table being optimized. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The progress of the post-restore optimizations. + /// The progress of the post-restore optimizations. #[prost(message, optional, tag="2")] pub progress: ::core::option::Option, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.CreateTable][google.bigtable.admin.v2.BigtableTableAdmin.CreateTable\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTableRequest { - /// Required. The unique name of the instance in which to create the table. - /// Values are of the form `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance in which to create the table. + /// Values are of the form `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The name by which the new table should be referred to within the parent - /// instance, e.g., `foobar` rather than `{parent}/tables/foobar`. - /// Maximum 50 characters. + /// Required. The name by which the new table should be referred to within the parent + /// instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + /// Maximum 50 characters. #[prost(string, tag="2")] pub table_id: ::prost::alloc::string::String, - /// Required. The Table to create. + /// Required. The Table to create. #[prost(message, optional, tag="3")] pub table: ::core::option::Option
, - /// The optional list of row keys that will be used to initially split the - /// table into several tablets (tablets are similar to HBase regions). - /// Given two split keys, `s1` and `s2`, three tablets will be created, - /// spanning the key ranges: `[, s1), [s1, s2), [s2, )`. + /// The optional list of row keys that will be used to initially split the + /// table into several tablets (tablets are similar to HBase regions). + /// Given two split keys, `s1` and `s2`, three tablets will be created, + /// spanning the key ranges: `[, s1), [s1, s2), [s2, )`. /// - /// Example: + /// Example: /// - /// * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",` + /// * Row keys := `["a", "apple", "custom", "customer_1", "customer_2",` /// `"other", "zz"]` - /// * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]` - /// * Key assignment: + /// * initial_split_keys := `["apple", "customer_1", "customer_2", "other"]` + /// * Key assignment: /// - Tablet 1 `[, apple) => {"a"}.` /// - Tablet 2 `[apple, customer_1) => {"apple", "custom"}.` /// - Tablet 3 `[customer_1, customer_2) => {"customer_1"}.` @@ -1958,507 +1958,507 @@ pub struct CreateTableRequest { } /// Nested message and enum types in `CreateTableRequest`. pub mod create_table_request { - /// An initial split point for a newly created table. + /// An initial split point for a newly created table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Split { - /// Row key to use as an initial tablet boundary. + /// Row key to use as an initial tablet boundary. #[prost(bytes="vec", tag="1")] pub key: ::prost::alloc::vec::Vec, } } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.CreateTableFromSnapshot\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTableFromSnapshotRequest { - /// Required. The unique name of the instance in which to create the table. - /// Values are of the form `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance in which to create the table. + /// Values are of the form `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The name by which the new table should be referred to within the parent - /// instance, e.g., `foobar` rather than `{parent}/tables/foobar`. + /// Required. The name by which the new table should be referred to within the parent + /// instance, e.g., `foobar` rather than `{parent}/tables/foobar`. #[prost(string, tag="2")] pub table_id: ::prost::alloc::string::String, - /// Required. The unique name of the snapshot from which to restore the table. The - /// snapshot and the table must be in the same instance. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + /// Required. The unique name of the snapshot from which to restore the table. The + /// snapshot and the table must be in the same instance. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. #[prost(string, tag="3")] pub source_snapshot: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange][google.bigtable.admin.v2.BigtableTableAdmin.DropRowRange\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DropRowRangeRequest { - /// Required. The unique name of the table on which to drop a range of rows. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the table on which to drop a range of rows. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Delete all rows or by prefix. + /// Delete all rows or by prefix. #[prost(oneof="drop_row_range_request::Target", tags="2, 3")] pub target: ::core::option::Option, } /// Nested message and enum types in `DropRowRangeRequest`. pub mod drop_row_range_request { - /// Delete all rows or by prefix. + /// Delete all rows or by prefix. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// Delete all rows that start with this row key prefix. Prefix cannot be - /// zero length. + /// Delete all rows that start with this row key prefix. Prefix cannot be + /// zero length. #[prost(bytes, tag="2")] RowKeyPrefix(::prost::alloc::vec::Vec), - /// Delete all rows in the table. Setting this to false is a no-op. + /// Delete all rows in the table. Setting this to false is a no-op. #[prost(bool, tag="3")] DeleteAllDataFromTable(bool), } } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTablesRequest { - /// Required. The unique name of the instance for which tables should be listed. - /// Values are of the form `projects/{project}/instances/{instance}`. + /// Required. The unique name of the instance for which tables should be listed. + /// Values are of the form `projects/{project}/instances/{instance}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The view to be applied to the returned tables' fields. - /// Only NAME_ONLY view (default) and REPLICATION_VIEW are supported. + /// The view to be applied to the returned tables' fields. + /// Only NAME_ONLY view (default) and REPLICATION_VIEW are supported. #[prost(enumeration="table::View", tag="2")] pub view: i32, - /// Maximum number of results per page. + /// Maximum number of results per page. /// - /// A page_size of zero lets the server choose the number of items to return. - /// A page_size which is strictly positive will return at most that many items. - /// A negative page_size will cause an error. + /// A page_size of zero lets the server choose the number of items to return. + /// A page_size which is strictly positive will return at most that many items. + /// A negative page_size will cause an error. /// - /// Following the first request, subsequent paginated calls are not required - /// to pass a page_size. If a page_size is set in subsequent calls, it must - /// match the page_size given in the first request. + /// Following the first request, subsequent paginated calls are not required + /// to pass a page_size. If a page_size is set in subsequent calls, it must + /// match the page_size given in the first request. #[prost(int32, tag="4")] pub page_size: i32, - /// The value of `next_page_token` returned by a previous call. + /// The value of `next_page_token` returned by a previous call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables\] +/// Response message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListTables][google.bigtable.admin.v2.BigtableTableAdmin.ListTables\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTablesResponse { - /// The tables present in the requested instance. + /// The tables present in the requested instance. #[prost(message, repeated, tag="1")] pub tables: ::prost::alloc::vec::Vec
, - /// Set if not all tables could be returned in a single response. - /// Pass this value to `page_token` in another request to get the next - /// page of results. + /// Set if not all tables could be returned in a single response. + /// Pass this value to `page_token` in another request to get the next + /// page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.GetTable][google.bigtable.admin.v2.BigtableTableAdmin.GetTable\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTableRequest { - /// Required. The unique name of the requested table. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the requested table. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The view to be applied to the returned table's fields. - /// Defaults to `SCHEMA_VIEW` if unspecified. + /// The view to be applied to the returned table's fields. + /// Defaults to `SCHEMA_VIEW` if unspecified. #[prost(enumeration="table::View", tag="2")] pub view: i32, } -/// The request for -/// \[UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable\]. +/// The request for +/// \[UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTableRequest { - /// Required. The table to update. - /// The table's `name` field is used to identify the table to update. + /// Required. The table to update. + /// The table's `name` field is used to identify the table to update. #[prost(message, optional, tag="1")] pub table: ::core::option::Option
, - /// Required. The list of fields to update. - /// A mask specifying which fields (e.g. `deletion_protection`) in the `table` - /// field should be updated. This mask is relative to the `table` field, not to - /// the request message. The wildcard (*) path is currently not supported. - /// Currently UpdateTable is only supported for the following field: + /// Required. The list of fields to update. + /// A mask specifying which fields (e.g. `deletion_protection`) in the `table` + /// field should be updated. This mask is relative to the `table` field, not to + /// the request message. The wildcard (*) path is currently not supported. + /// Currently UpdateTable is only supported for the following field: /// * `deletion_protection` - /// If `column_families` is set in `update_mask`, it will return an - /// UNIMPLEMENTED error. + /// If `column_families` is set in `update_mask`, it will return an + /// UNIMPLEMENTED error. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Metadata type for the operation returned by -/// \[UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable\]. +/// Metadata type for the operation returned by +/// \[UpdateTable][google.bigtable.admin.v2.BigtableTableAdmin.UpdateTable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTableMetadata { - /// The name of the table being updated. + /// The name of the table being updated. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The time at which this operation started. + /// The time at which this operation started. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// If set, the time at which this operation finished or was canceled. + /// If set, the time at which this operation finished or was canceled. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.DeleteTable\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTableRequest { - /// Required. The unique name of the table to be deleted. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the table to be deleted. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteTableRequest { - /// Required. The unique name of the table to be restored. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the table to be restored. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Metadata type for the operation returned by -/// \[google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable\]. +/// Metadata type for the operation returned by +/// \[google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable][google.bigtable.admin.v2.BigtableTableAdmin.UndeleteTable\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeleteTableMetadata { - /// The name of the table being restored. + /// The name of the table being restored. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The time at which this operation started. + /// The time at which this operation started. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// If set, the time at which this operation finished or was cancelled. + /// If set, the time at which this operation finished or was cancelled. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies][google.bigtable.admin.v2.BigtableTableAdmin.ModifyColumnFamilies\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModifyColumnFamiliesRequest { - /// Required. The unique name of the table whose families should be modified. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the table whose families should be modified. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Modifications to be atomically applied to the specified table's families. - /// Entries are applied in order, meaning that earlier modifications can be - /// masked by later ones (in the case of repeated updates to the same family, - /// for example). + /// Required. Modifications to be atomically applied to the specified table's families. + /// Entries are applied in order, meaning that earlier modifications can be + /// masked by later ones (in the case of repeated updates to the same family, + /// for example). #[prost(message, repeated, tag="2")] pub modifications: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ModifyColumnFamiliesRequest`. pub mod modify_column_families_request { - /// A create, update, or delete of a particular column family. + /// A create, update, or delete of a particular column family. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Modification { - /// The ID of the column family to be modified. + /// The ID of the column family to be modified. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Column family modifications. + /// Column family modifications. #[prost(oneof="modification::Mod", tags="2, 3, 4")] pub r#mod: ::core::option::Option, } /// Nested message and enum types in `Modification`. pub mod modification { - /// Column family modifications. + /// Column family modifications. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mod { - /// Create a new column family with the specified schema, or fail if - /// one already exists with the given ID. + /// Create a new column family with the specified schema, or fail if + /// one already exists with the given ID. #[prost(message, tag="2")] Create(super::super::ColumnFamily), - /// Update an existing column family to the specified schema, or fail - /// if no column family exists with the given ID. + /// Update an existing column family to the specified schema, or fail + /// if no column family exists with the given ID. #[prost(message, tag="3")] Update(super::super::ColumnFamily), - /// Drop (delete) the column family with the given ID, or fail if no such - /// family exists. + /// Drop (delete) the column family with the given ID, or fail if no such + /// family exists. #[prost(bool, tag="4")] Drop(bool), } } } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateConsistencyTokenRequest { - /// Required. The unique name of the Table for which to create a consistency token. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the Table for which to create a consistency token. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken\] +/// Response message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken][google.bigtable.admin.v2.BigtableTableAdmin.GenerateConsistencyToken\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateConsistencyTokenResponse { - /// The generated consistency token. + /// The generated consistency token. #[prost(string, tag="1")] pub consistency_token: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckConsistencyRequest { - /// Required. The unique name of the Table for which to check replication consistency. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the Table for which to check replication consistency. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The token created using GenerateConsistencyToken for the Table. + /// Required. The token created using GenerateConsistencyToken for the Table. #[prost(string, tag="2")] pub consistency_token: ::prost::alloc::string::String, } -/// Response message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency\] +/// Response message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency][google.bigtable.admin.v2.BigtableTableAdmin.CheckConsistency\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckConsistencyResponse { - /// True only if the token is consistent. A token is consistent if replication - /// has caught up with the restrictions specified in the request. + /// True only if the token is consistent. A token is consistent if replication + /// has caught up with the restrictions specified in the request. #[prost(bool, tag="1")] pub consistent: bool, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable][google.bigtable.admin.v2.BigtableTableAdmin.SnapshotTable\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotTableRequest { - /// Required. The unique name of the table to have the snapshot taken. - /// Values are of the form - /// `projects/{project}/instances/{instance}/tables/{table}`. + /// Required. The unique name of the table to have the snapshot taken. + /// Values are of the form + /// `projects/{project}/instances/{instance}/tables/{table}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the cluster where the snapshot will be created in. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Required. The name of the cluster where the snapshot will be created in. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="2")] pub cluster: ::prost::alloc::string::String, - /// Required. The ID by which the new snapshot should be referred to within the parent - /// cluster, e.g., `mysnapshot` of the form: `\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*` - /// rather than - /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. + /// Required. The ID by which the new snapshot should be referred to within the parent + /// cluster, e.g., `mysnapshot` of the form: `\[_a-zA-Z0-9][-_.a-zA-Z0-9\]*` + /// rather than + /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/mysnapshot`. #[prost(string, tag="3")] pub snapshot_id: ::prost::alloc::string::String, - /// The amount of time that the new snapshot can stay active after it is - /// created. Once 'ttl' expires, the snapshot will get deleted. The maximum - /// amount of time a snapshot can stay active is 7 days. If 'ttl' is not - /// specified, the default value of 24 hours will be used. + /// The amount of time that the new snapshot can stay active after it is + /// created. Once 'ttl' expires, the snapshot will get deleted. The maximum + /// amount of time a snapshot can stay active is 7 days. If 'ttl' is not + /// specified, the default value of 24 hours will be used. #[prost(message, optional, tag="4")] pub ttl: ::core::option::Option<::prost_types::Duration>, - /// Description of the snapshot. + /// Description of the snapshot. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.GetSnapshot\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSnapshotRequest { - /// Required. The unique name of the requested snapshot. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + /// Required. The unique name of the requested snapshot. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSnapshotsRequest { - /// Required. The unique name of the cluster for which snapshots should be listed. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}`. - /// Use `{cluster} = '-'` to list snapshots for all clusters in an instance, - /// e.g., `projects/{project}/instances/{instance}/clusters/-`. + /// Required. The unique name of the cluster for which snapshots should be listed. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Use `{cluster} = '-'` to list snapshots for all clusters in an instance, + /// e.g., `projects/{project}/instances/{instance}/clusters/-`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of snapshots to return per page. - /// CURRENTLY UNIMPLEMENTED AND IGNORED. + /// The maximum number of snapshots to return per page. + /// CURRENTLY UNIMPLEMENTED AND IGNORED. #[prost(int32, tag="2")] pub page_size: i32, - /// The value of `next_page_token` returned by a previous call. + /// The value of `next_page_token` returned by a previous call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots\] +/// Response message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots][google.bigtable.admin.v2.BigtableTableAdmin.ListSnapshots\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSnapshotsResponse { - /// The snapshots present in the requested cluster. + /// The snapshots present in the requested cluster. #[prost(message, repeated, tag="1")] pub snapshots: ::prost::alloc::vec::Vec, - /// Set if not all snapshots could be returned in a single response. - /// Pass this value to `page_token` in another request to get the next - /// page of results. + /// Set if not all snapshots could be returned in a single response. + /// Pass this value to `page_token` in another request to get the next + /// page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot\] +/// Request message for +/// \[google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot][google.bigtable.admin.v2.BigtableTableAdmin.DeleteSnapshot\] /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSnapshotRequest { - /// Required. The unique name of the snapshot to be deleted. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. + /// Required. The unique name of the snapshot to be deleted. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/snapshots/{snapshot}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The metadata for the Operation returned by SnapshotTable. +/// The metadata for the Operation returned by SnapshotTable. /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotTableMetadata { - /// The request that prompted the initiation of this SnapshotTable operation. + /// The request that prompted the initiation of this SnapshotTable operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The metadata for the Operation returned by CreateTableFromSnapshot. +/// The metadata for the Operation returned by CreateTableFromSnapshot. /// -/// Note: This is a private alpha release of Cloud Bigtable snapshots. This -/// feature is not currently available to most Cloud Bigtable customers. This -/// feature might be changed in backward-incompatible ways and is not recommended -/// for production use. It is not subject to any SLA or deprecation policy. +/// Note: This is a private alpha release of Cloud Bigtable snapshots. This +/// feature is not currently available to most Cloud Bigtable customers. This +/// feature might be changed in backward-incompatible ways and is not recommended +/// for production use. It is not subject to any SLA or deprecation policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTableFromSnapshotMetadata { - /// The request that prompted the initiation of this CreateTableFromSnapshot - /// operation. + /// The request that prompted the initiation of this CreateTableFromSnapshot + /// operation. #[prost(message, optional, tag="1")] pub original_request: ::core::option::Option, - /// The time at which the original request was received. + /// The time at which the original request was received. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the operation failed or was completed successfully. + /// The time at which the operation failed or was completed successfully. #[prost(message, optional, tag="3")] pub finish_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\]. +/// The request for \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupRequest { - /// Required. This must be one of the clusters in the instance in which this - /// table is located. The backup will be stored in this cluster. Values are - /// of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Required. This must be one of the clusters in the instance in which this + /// table is located. The backup will be stored in this cluster. Values are + /// of the form `projects/{project}/instances/{instance}/clusters/{cluster}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The id of the backup to be created. The `backup_id` along with - /// the parent `parent` are combined as {parent}/backups/{backup_id} to create - /// the full backup name, of the form: - /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. - /// This string must be between 1 and 50 characters in length and match the - /// regex \[_a-zA-Z0-9][-_.a-zA-Z0-9\]*. + /// Required. The id of the backup to be created. The `backup_id` along with + /// the parent `parent` are combined as {parent}/backups/{backup_id} to create + /// the full backup name, of the form: + /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup_id}`. + /// This string must be between 1 and 50 characters in length and match the + /// regex \[_a-zA-Z0-9][-_.a-zA-Z0-9\]*. #[prost(string, tag="2")] pub backup_id: ::prost::alloc::string::String, - /// Required. The backup to create. + /// Required. The backup to create. #[prost(message, optional, tag="3")] pub backup: ::core::option::Option, } -/// Metadata type for the operation returned by -/// \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\]. +/// Metadata type for the operation returned by +/// \[CreateBackup][google.bigtable.admin.v2.BigtableTableAdmin.CreateBackup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBackupMetadata { - /// The name of the backup being created. + /// The name of the backup being created. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The name of the table the backup is created from. + /// The name of the table the backup is created from. #[prost(string, tag="2")] pub source_table: ::prost::alloc::string::String, - /// The time at which this operation started. + /// The time at which this operation started. #[prost(message, optional, tag="3")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// If set, the time at which this operation finished or was cancelled. + /// If set, the time at which this operation finished or was cancelled. #[prost(message, optional, tag="4")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request for \[UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup\]. +/// The request for \[UpdateBackup][google.bigtable.admin.v2.BigtableTableAdmin.UpdateBackup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBackupRequest { - /// Required. The backup to update. `backup.name`, and the fields to be updated - /// as specified by `update_mask` are required. Other fields are ignored. - /// Update is only supported for the following fields: + /// Required. The backup to update. `backup.name`, and the fields to be updated + /// as specified by `update_mask` are required. Other fields are ignored. + /// Update is only supported for the following fields: /// * `backup.expire_time`. #[prost(message, optional, tag="1")] pub backup: ::core::option::Option, - /// Required. A mask specifying which fields (e.g. `expire_time`) in the - /// Backup resource should be updated. This mask is relative to the Backup - /// resource, not to the request message. The field mask must always be - /// specified; this prevents any future fields from being erased accidentally - /// by clients that do not know about them. + /// Required. A mask specifying which fields (e.g. `expire_time`) in the + /// Backup resource should be updated. This mask is relative to the Backup + /// resource, not to the request message. The field mask must always be + /// specified; this prevents any future fields from being erased accidentally + /// by clients that do not know about them. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup\]. +/// The request for \[GetBackup][google.bigtable.admin.v2.BigtableTableAdmin.GetBackup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBackupRequest { - /// Required. Name of the backup. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + /// Required. Name of the backup. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup\]. +/// The request for \[DeleteBackup][google.bigtable.admin.v2.BigtableTableAdmin.DeleteBackup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBackupRequest { - /// Required. Name of the backup to delete. - /// Values are of the form - /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. + /// Required. Name of the backup to delete. + /// Values are of the form + /// `projects/{project}/instances/{instance}/clusters/{cluster}/backups/{backup}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\]. +/// The request for \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsRequest { - /// Required. The cluster to list backups from. Values are of the - /// form `projects/{project}/instances/{instance}/clusters/{cluster}`. - /// Use `{cluster} = '-'` to list backups for all clusters in an instance, - /// e.g., `projects/{project}/instances/{instance}/clusters/-`. + /// Required. The cluster to list backups from. Values are of the + /// form `projects/{project}/instances/{instance}/clusters/{cluster}`. + /// Use `{cluster} = '-'` to list backups for all clusters in an instance, + /// e.g., `projects/{project}/instances/{instance}/clusters/-`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A filter expression that filters backups listed in the response. - /// The expression must specify the field name, a comparison operator, - /// and the value that you want to use for filtering. The value must be a - /// string, a number, or a boolean. The comparison operator must be - /// <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is - /// roughly synonymous with equality. Filter rules are case insensitive. + /// A filter expression that filters backups listed in the response. + /// The expression must specify the field name, a comparison operator, + /// and the value that you want to use for filtering. The value must be a + /// string, a number, or a boolean. The comparison operator must be + /// <, >, <=, >=, !=, =, or :. Colon ':' represents a HAS operator which is + /// roughly synonymous with equality. Filter rules are case insensitive. /// - /// The fields eligible for filtering are: + /// The fields eligible for filtering are: /// * `name` /// * `source_table` /// * `state` @@ -2467,11 +2467,11 @@ pub struct ListBackupsRequest { /// * `expire_time` (and values are of the format YYYY-MM-DDTHH:MM:SSZ) /// * `size_bytes` /// - /// To filter on multiple expressions, provide each separate expression within - /// parentheses. By default, each expression is an AND expression. However, - /// you can include AND, OR, and NOT expressions explicitly. + /// To filter on multiple expressions, provide each separate expression within + /// parentheses. By default, each expression is an AND expression. However, + /// you can include AND, OR, and NOT expressions explicitly. /// - /// Some examples of using filters are: + /// Some examples of using filters are: /// /// * `name:"exact"` --> The backup's name is the string "exact". /// * `name:howl` --> The backup's name contains the string "howl". @@ -2485,11 +2485,11 @@ pub struct ListBackupsRequest { /// * `size_bytes > 10000000000` --> The backup's size is greater than 10GB #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// An expression for specifying the sort order of the results of the request. - /// The string value should specify one or more fields in \[Backup][google.bigtable.admin.v2.Backup\]. The full - /// syntax is described at + /// An expression for specifying the sort order of the results of the request. + /// The string value should specify one or more fields in \[Backup][google.bigtable.admin.v2.Backup\]. The full + /// syntax is described at /// - /// Fields supported are: + /// Fields supported are: /// * name /// * source_table /// * expire_time @@ -2498,35 +2498,35 @@ pub struct ListBackupsRequest { /// * size_bytes /// * state /// - /// For example, "start_time". The default sorting order is ascending. - /// To specify descending order for the field, a suffix " desc" should - /// be appended to the field name. For example, "start_time desc". - /// Redundant space characters in the syntax are insigificant. + /// For example, "start_time". The default sorting order is ascending. + /// To specify descending order for the field, a suffix " desc" should + /// be appended to the field name. For example, "start_time desc". + /// Redundant space characters in the syntax are insigificant. /// - /// If order_by is empty, results will be sorted by `start_time` in descending - /// order starting from the most recently created backup. + /// If order_by is empty, results will be sorted by `start_time` in descending + /// order starting from the most recently created backup. #[prost(string, tag="3")] pub order_by: ::prost::alloc::string::String, - /// Number of backups to be returned in the response. If 0 or - /// less, defaults to the server's maximum allowed page size. + /// Number of backups to be returned in the response. If 0 or + /// less, defaults to the server's maximum allowed page size. #[prost(int32, tag="4")] pub page_size: i32, - /// If non-empty, `page_token` should contain a - /// \[next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token\] from a - /// previous \[ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse\] to the same `parent` and with the same - /// `filter`. + /// If non-empty, `page_token` should contain a + /// \[next_page_token][google.bigtable.admin.v2.ListBackupsResponse.next_page_token\] from a + /// previous \[ListBackupsResponse][google.bigtable.admin.v2.ListBackupsResponse\] to the same `parent` and with the same + /// `filter`. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\]. +/// The response for \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackupsResponse { - /// The list of matching backups. + /// The list of matching backups. #[prost(message, repeated, tag="1")] pub backups: ::prost::alloc::vec::Vec, - /// `next_page_token` can be sent in a subsequent - /// \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\] call to fetch more - /// of the matching backups. + /// `next_page_token` can be sent in a subsequent + /// \[ListBackups][google.bigtable.admin.v2.BigtableTableAdmin.ListBackups\] call to fetch more + /// of the matching backups. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.bigtable.v2.rs b/gcloud-sdk/genproto/google.bigtable.v2.rs index 93f475265..07f640d4d 100644 --- a/gcloud-sdk/genproto/google.bigtable.v2.rs +++ b/gcloud-sdk/genproto/google.bigtable.v2.rs @@ -1,265 +1,265 @@ -/// Specifies the complete (requested) contents of a single row of a table. -/// Rows which exceed 256MiB in size cannot be read in full. +/// Specifies the complete (requested) contents of a single row of a table. +/// Rows which exceed 256MiB in size cannot be read in full. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// The unique key which identifies this row within its table. This is the same - /// key that's used to identify the row in, for example, a MutateRowRequest. - /// May contain any non-empty byte string up to 4KiB in length. + /// The unique key which identifies this row within its table. This is the same + /// key that's used to identify the row in, for example, a MutateRowRequest. + /// May contain any non-empty byte string up to 4KiB in length. #[prost(bytes="vec", tag="1")] pub key: ::prost::alloc::vec::Vec, - /// May be empty, but only if the entire row is empty. - /// The mutual ordering of column families is not specified. + /// May be empty, but only if the entire row is empty. + /// The mutual ordering of column families is not specified. #[prost(message, repeated, tag="2")] pub families: ::prost::alloc::vec::Vec, } -/// Specifies (some of) the contents of a single row/column family intersection -/// of a table. +/// Specifies (some of) the contents of a single row/column family intersection +/// of a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Family { - /// The unique key which identifies this family within its row. This is the - /// same key that's used to identify the family in, for example, a RowFilter - /// which sets its "family_name_regex_filter" field. - /// Must match `\[-_.a-zA-Z0-9\]+`, except that AggregatingRowProcessors may - /// produce cells in a sentinel family with an empty name. - /// Must be no greater than 64 characters in length. + /// The unique key which identifies this family within its row. This is the + /// same key that's used to identify the family in, for example, a RowFilter + /// which sets its "family_name_regex_filter" field. + /// Must match `\[-_.a-zA-Z0-9\]+`, except that AggregatingRowProcessors may + /// produce cells in a sentinel family with an empty name. + /// Must be no greater than 64 characters in length. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Must not be empty. Sorted in order of increasing "qualifier". + /// Must not be empty. Sorted in order of increasing "qualifier". #[prost(message, repeated, tag="2")] pub columns: ::prost::alloc::vec::Vec, } -/// Specifies (some of) the contents of a single row/column intersection of a -/// table. +/// Specifies (some of) the contents of a single row/column intersection of a +/// table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Column { - /// The unique key which identifies this column within its family. This is the - /// same key that's used to identify the column in, for example, a RowFilter - /// which sets its `column_qualifier_regex_filter` field. - /// May contain any byte string, including the empty string, up to 16kiB in - /// length. + /// The unique key which identifies this column within its family. This is the + /// same key that's used to identify the column in, for example, a RowFilter + /// which sets its `column_qualifier_regex_filter` field. + /// May contain any byte string, including the empty string, up to 16kiB in + /// length. #[prost(bytes="vec", tag="1")] pub qualifier: ::prost::alloc::vec::Vec, - /// Must not be empty. Sorted in order of decreasing "timestamp_micros". + /// Must not be empty. Sorted in order of decreasing "timestamp_micros". #[prost(message, repeated, tag="2")] pub cells: ::prost::alloc::vec::Vec, } -/// Specifies (some of) the contents of a single row/column/timestamp of a table. +/// Specifies (some of) the contents of a single row/column/timestamp of a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cell { - /// The cell's stored timestamp, which also uniquely identifies it within - /// its column. - /// Values are always expressed in microseconds, but individual tables may set - /// a coarser granularity to further restrict the allowed values. For - /// example, a table which specifies millisecond granularity will only allow - /// values of `timestamp_micros` which are multiples of 1000. + /// The cell's stored timestamp, which also uniquely identifies it within + /// its column. + /// Values are always expressed in microseconds, but individual tables may set + /// a coarser granularity to further restrict the allowed values. For + /// example, a table which specifies millisecond granularity will only allow + /// values of `timestamp_micros` which are multiples of 1000. #[prost(int64, tag="1")] pub timestamp_micros: i64, - /// The value stored in the cell. - /// May contain any byte string, including the empty string, up to 100MiB in - /// length. + /// The value stored in the cell. + /// May contain any byte string, including the empty string, up to 100MiB in + /// length. #[prost(bytes="vec", tag="2")] pub value: ::prost::alloc::vec::Vec, - /// Labels applied to the cell by a \[RowFilter][google.bigtable.v2.RowFilter\]. + /// Labels applied to the cell by a \[RowFilter][google.bigtable.v2.RowFilter\]. #[prost(string, repeated, tag="3")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Specifies a contiguous range of rows. +/// Specifies a contiguous range of rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RowRange { - /// The row key at which to start the range. - /// If neither field is set, interpreted as the empty string, inclusive. + /// The row key at which to start the range. + /// If neither field is set, interpreted as the empty string, inclusive. #[prost(oneof="row_range::StartKey", tags="1, 2")] pub start_key: ::core::option::Option, - /// The row key at which to end the range. - /// If neither field is set, interpreted as the infinite row key, exclusive. + /// The row key at which to end the range. + /// If neither field is set, interpreted as the infinite row key, exclusive. #[prost(oneof="row_range::EndKey", tags="3, 4")] pub end_key: ::core::option::Option, } /// Nested message and enum types in `RowRange`. pub mod row_range { - /// The row key at which to start the range. - /// If neither field is set, interpreted as the empty string, inclusive. + /// The row key at which to start the range. + /// If neither field is set, interpreted as the empty string, inclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartKey { - /// Used when giving an inclusive lower bound for the range. + /// Used when giving an inclusive lower bound for the range. #[prost(bytes, tag="1")] StartKeyClosed(::prost::alloc::vec::Vec), - /// Used when giving an exclusive lower bound for the range. + /// Used when giving an exclusive lower bound for the range. #[prost(bytes, tag="2")] StartKeyOpen(::prost::alloc::vec::Vec), } - /// The row key at which to end the range. - /// If neither field is set, interpreted as the infinite row key, exclusive. + /// The row key at which to end the range. + /// If neither field is set, interpreted as the infinite row key, exclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndKey { - /// Used when giving an exclusive upper bound for the range. + /// Used when giving an exclusive upper bound for the range. #[prost(bytes, tag="3")] EndKeyOpen(::prost::alloc::vec::Vec), - /// Used when giving an inclusive upper bound for the range. + /// Used when giving an inclusive upper bound for the range. #[prost(bytes, tag="4")] EndKeyClosed(::prost::alloc::vec::Vec), } } -/// Specifies a non-contiguous set of rows. +/// Specifies a non-contiguous set of rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RowSet { - /// Single rows included in the set. + /// Single rows included in the set. #[prost(bytes="vec", repeated, tag="1")] pub row_keys: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, - /// Contiguous row ranges included in the set. + /// Contiguous row ranges included in the set. #[prost(message, repeated, tag="2")] pub row_ranges: ::prost::alloc::vec::Vec, } -/// Specifies a contiguous range of columns within a single column family. -/// The range spans from <column_family>:<start_qualifier> to -/// <column_family>:<end_qualifier>, where both bounds can be either -/// inclusive or exclusive. +/// Specifies a contiguous range of columns within a single column family. +/// The range spans from <column_family>:<start_qualifier> to +/// <column_family>:<end_qualifier>, where both bounds can be either +/// inclusive or exclusive. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnRange { - /// The name of the column family within which this range falls. + /// The name of the column family within which this range falls. #[prost(string, tag="1")] pub family_name: ::prost::alloc::string::String, - /// The column qualifier at which to start the range (within `column_family`). - /// If neither field is set, interpreted as the empty string, inclusive. + /// The column qualifier at which to start the range (within `column_family`). + /// If neither field is set, interpreted as the empty string, inclusive. #[prost(oneof="column_range::StartQualifier", tags="2, 3")] pub start_qualifier: ::core::option::Option, - /// The column qualifier at which to end the range (within `column_family`). - /// If neither field is set, interpreted as the infinite string, exclusive. + /// The column qualifier at which to end the range (within `column_family`). + /// If neither field is set, interpreted as the infinite string, exclusive. #[prost(oneof="column_range::EndQualifier", tags="4, 5")] pub end_qualifier: ::core::option::Option, } /// Nested message and enum types in `ColumnRange`. pub mod column_range { - /// The column qualifier at which to start the range (within `column_family`). - /// If neither field is set, interpreted as the empty string, inclusive. + /// The column qualifier at which to start the range (within `column_family`). + /// If neither field is set, interpreted as the empty string, inclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartQualifier { - /// Used when giving an inclusive lower bound for the range. + /// Used when giving an inclusive lower bound for the range. #[prost(bytes, tag="2")] StartQualifierClosed(::prost::alloc::vec::Vec), - /// Used when giving an exclusive lower bound for the range. + /// Used when giving an exclusive lower bound for the range. #[prost(bytes, tag="3")] StartQualifierOpen(::prost::alloc::vec::Vec), } - /// The column qualifier at which to end the range (within `column_family`). - /// If neither field is set, interpreted as the infinite string, exclusive. + /// The column qualifier at which to end the range (within `column_family`). + /// If neither field is set, interpreted as the infinite string, exclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndQualifier { - /// Used when giving an inclusive upper bound for the range. + /// Used when giving an inclusive upper bound for the range. #[prost(bytes, tag="4")] EndQualifierClosed(::prost::alloc::vec::Vec), - /// Used when giving an exclusive upper bound for the range. + /// Used when giving an exclusive upper bound for the range. #[prost(bytes, tag="5")] EndQualifierOpen(::prost::alloc::vec::Vec), } } -/// Specified a contiguous range of microsecond timestamps. +/// Specified a contiguous range of microsecond timestamps. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampRange { - /// Inclusive lower bound. If left empty, interpreted as 0. + /// Inclusive lower bound. If left empty, interpreted as 0. #[prost(int64, tag="1")] pub start_timestamp_micros: i64, - /// Exclusive upper bound. If left empty, interpreted as infinity. + /// Exclusive upper bound. If left empty, interpreted as infinity. #[prost(int64, tag="2")] pub end_timestamp_micros: i64, } -/// Specifies a contiguous range of raw byte values. +/// Specifies a contiguous range of raw byte values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueRange { - /// The value at which to start the range. - /// If neither field is set, interpreted as the empty string, inclusive. + /// The value at which to start the range. + /// If neither field is set, interpreted as the empty string, inclusive. #[prost(oneof="value_range::StartValue", tags="1, 2")] pub start_value: ::core::option::Option, - /// The value at which to end the range. - /// If neither field is set, interpreted as the infinite string, exclusive. + /// The value at which to end the range. + /// If neither field is set, interpreted as the infinite string, exclusive. #[prost(oneof="value_range::EndValue", tags="3, 4")] pub end_value: ::core::option::Option, } /// Nested message and enum types in `ValueRange`. pub mod value_range { - /// The value at which to start the range. - /// If neither field is set, interpreted as the empty string, inclusive. + /// The value at which to start the range. + /// If neither field is set, interpreted as the empty string, inclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StartValue { - /// Used when giving an inclusive lower bound for the range. + /// Used when giving an inclusive lower bound for the range. #[prost(bytes, tag="1")] StartValueClosed(::prost::alloc::vec::Vec), - /// Used when giving an exclusive lower bound for the range. + /// Used when giving an exclusive lower bound for the range. #[prost(bytes, tag="2")] StartValueOpen(::prost::alloc::vec::Vec), } - /// The value at which to end the range. - /// If neither field is set, interpreted as the infinite string, exclusive. + /// The value at which to end the range. + /// If neither field is set, interpreted as the infinite string, exclusive. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EndValue { - /// Used when giving an inclusive upper bound for the range. + /// Used when giving an inclusive upper bound for the range. #[prost(bytes, tag="3")] EndValueClosed(::prost::alloc::vec::Vec), - /// Used when giving an exclusive upper bound for the range. + /// Used when giving an exclusive upper bound for the range. #[prost(bytes, tag="4")] EndValueOpen(::prost::alloc::vec::Vec), } } -/// Takes a row as input and produces an alternate view of the row based on -/// specified rules. For example, a RowFilter might trim down a row to include -/// just the cells from columns matching a given regular expression, or might -/// return all the cells of a row but not their values. More complicated filters -/// can be composed out of these components to express requests such as, "within -/// every column of a particular family, give just the two most recent cells -/// which are older than timestamp X." +/// Takes a row as input and produces an alternate view of the row based on +/// specified rules. For example, a RowFilter might trim down a row to include +/// just the cells from columns matching a given regular expression, or might +/// return all the cells of a row but not their values. More complicated filters +/// can be composed out of these components to express requests such as, "within +/// every column of a particular family, give just the two most recent cells +/// which are older than timestamp X." /// -/// There are two broad categories of RowFilters (true filters and transformers), -/// as well as two ways to compose simple filters into more complex ones -/// (chains and interleaves). They work as follows: +/// There are two broad categories of RowFilters (true filters and transformers), +/// as well as two ways to compose simple filters into more complex ones +/// (chains and interleaves). They work as follows: /// -/// * True filters alter the input row by excluding some of its cells wholesale -/// from the output row. An example of a true filter is the `value_regex_filter`, -/// which excludes cells whose values don't match the specified pattern. All -/// regex true filters use RE2 syntax () -/// in raw byte mode (RE2::Latin1), and are evaluated as full matches. An -/// important point to keep in mind is that `RE2(.)` is equivalent by default to -/// `RE2(\[^\n\])`, meaning that it does not match newlines. When attempting to -/// match an arbitrary byte, you should therefore use the escape sequence `\C`, -/// which may need to be further escaped as `\\C` in your client language. +/// * True filters alter the input row by excluding some of its cells wholesale +/// from the output row. An example of a true filter is the `value_regex_filter`, +/// which excludes cells whose values don't match the specified pattern. All +/// regex true filters use RE2 syntax () +/// in raw byte mode (RE2::Latin1), and are evaluated as full matches. An +/// important point to keep in mind is that `RE2(.)` is equivalent by default to +/// `RE2(\[^\n\])`, meaning that it does not match newlines. When attempting to +/// match an arbitrary byte, you should therefore use the escape sequence `\C`, +/// which may need to be further escaped as `\\C` in your client language. /// -/// * Transformers alter the input row by changing the values of some of its -/// cells in the output, without excluding them completely. Currently, the only -/// supported transformer is the `strip_value_transformer`, which replaces every -/// cell's value with the empty string. +/// * Transformers alter the input row by changing the values of some of its +/// cells in the output, without excluding them completely. Currently, the only +/// supported transformer is the `strip_value_transformer`, which replaces every +/// cell's value with the empty string. /// -/// * Chains and interleaves are described in more detail in the -/// RowFilter.Chain and RowFilter.Interleave documentation. +/// * Chains and interleaves are described in more detail in the +/// RowFilter.Chain and RowFilter.Interleave documentation. /// -/// The total serialized size of a RowFilter message must not -/// exceed 20480 bytes, and RowFilters may not be nested within each other -/// (in Chains or Interleaves) to a depth of more than 20. +/// The total serialized size of a RowFilter message must not +/// exceed 20480 bytes, and RowFilters may not be nested within each other +/// (in Chains or Interleaves) to a depth of more than 20. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RowFilter { - /// Which of the possible RowFilter types to apply. If none are set, this - /// RowFilter returns all cells in the input row. + /// Which of the possible RowFilter types to apply. If none are set, this + /// RowFilter returns all cells in the input row. #[prost(oneof="row_filter::Filter", tags="1, 2, 3, 16, 17, 18, 4, 14, 5, 6, 7, 8, 9, 15, 10, 11, 12, 13, 19")] pub filter: ::core::option::Option, } /// Nested message and enum types in `RowFilter`. pub mod row_filter { - /// A RowFilter which sends rows through several RowFilters in sequence. + /// A RowFilter which sends rows through several RowFilters in sequence. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Chain { - /// The elements of "filters" are chained together to process the input row: - /// in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row - /// The full chain is executed atomically. + /// The elements of "filters" are chained together to process the input row: + /// in row -> f(0) -> intermediate row -> f(1) -> ... -> f(N) -> out row + /// The full chain is executed atomically. #[prost(message, repeated, tag="1")] pub filters: ::prost::alloc::vec::Vec, } - /// A RowFilter which sends each row to each of several component - /// RowFilters and interleaves the results. + /// A RowFilter which sends each row to each of several component + /// RowFilters and interleaves the results. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Interleave { - /// The elements of "filters" all process a copy of the input row, and the - /// results are pooled, sorted, and combined into a single output row. - /// If multiple cells are produced with the same column and timestamp, - /// they will all appear in the output row in an unspecified mutual order. - /// Consider the following example, with three filters: + /// The elements of "filters" all process a copy of the input row, and the + /// results are pooled, sorted, and combined into a single output row. + /// If multiple cells are produced with the same column and timestamp, + /// they will all appear in the output row in an unspecified mutual order. + /// Consider the following example, with three filters: /// /// input row /// | @@ -279,53 +279,53 @@ pub mod row_filter { /// 5: far,blah,5,x // identical to #6 /// 6: far,blah,5,x // identical to #5 /// - /// All interleaved filters are executed atomically. + /// All interleaved filters are executed atomically. #[prost(message, repeated, tag="1")] pub filters: ::prost::alloc::vec::Vec, } - /// A RowFilter which evaluates one of two possible RowFilters, depending on - /// whether or not a predicate RowFilter outputs any cells from the input row. + /// A RowFilter which evaluates one of two possible RowFilters, depending on + /// whether or not a predicate RowFilter outputs any cells from the input row. /// - /// IMPORTANT NOTE: The predicate filter does not execute atomically with the - /// true and false filters, which may lead to inconsistent or unexpected - /// results. Additionally, Condition filters have poor performance, especially - /// when filters are set for the false condition. + /// IMPORTANT NOTE: The predicate filter does not execute atomically with the + /// true and false filters, which may lead to inconsistent or unexpected + /// results. Additionally, Condition filters have poor performance, especially + /// when filters are set for the false condition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Condition { - /// If `predicate_filter` outputs any cells, then `true_filter` will be - /// evaluated on the input row. Otherwise, `false_filter` will be evaluated. + /// If `predicate_filter` outputs any cells, then `true_filter` will be + /// evaluated on the input row. Otherwise, `false_filter` will be evaluated. #[prost(message, optional, boxed, tag="1")] pub predicate_filter: ::core::option::Option<::prost::alloc::boxed::Box>, - /// The filter to apply to the input row if `predicate_filter` returns any - /// results. If not provided, no results will be returned in the true case. + /// The filter to apply to the input row if `predicate_filter` returns any + /// results. If not provided, no results will be returned in the true case. #[prost(message, optional, boxed, tag="2")] pub true_filter: ::core::option::Option<::prost::alloc::boxed::Box>, - /// The filter to apply to the input row if `predicate_filter` does not - /// return any results. If not provided, no results will be returned in the - /// false case. + /// The filter to apply to the input row if `predicate_filter` does not + /// return any results. If not provided, no results will be returned in the + /// false case. #[prost(message, optional, boxed, tag="3")] pub false_filter: ::core::option::Option<::prost::alloc::boxed::Box>, } - /// Which of the possible RowFilter types to apply. If none are set, this - /// RowFilter returns all cells in the input row. + /// Which of the possible RowFilter types to apply. If none are set, this + /// RowFilter returns all cells in the input row. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Filter { - /// Applies several RowFilters to the data in sequence, progressively - /// narrowing the results. + /// Applies several RowFilters to the data in sequence, progressively + /// narrowing the results. #[prost(message, tag="1")] Chain(Chain), - /// Applies several RowFilters to the data in parallel and combines the - /// results. + /// Applies several RowFilters to the data in parallel and combines the + /// results. #[prost(message, tag="2")] Interleave(Interleave), - /// Applies one of two possible RowFilters to the data based on the output of - /// a predicate RowFilter. + /// Applies one of two possible RowFilters to the data based on the output of + /// a predicate RowFilter. #[prost(message, tag="3")] Condition(::prost::alloc::boxed::Box), - /// ADVANCED USE ONLY. - /// Hook for introspection into the RowFilter. Outputs all cells directly to - /// the output of the read rather than to any parent filter. Consider the - /// following example: + /// ADVANCED USE ONLY. + /// Hook for introspection into the RowFilter. Outputs all cells directly to + /// the output of the read rather than to any parent filter. Consider the + /// following example: /// /// Chain( /// FamilyRegex("A"), @@ -369,542 +369,542 @@ pub mod row_filter { /// A,B,2,x,labels:\[foo\] // could be switched /// A,B,2,x // could be switched /// - /// Despite being excluded by the qualifier filter, a copy of every cell - /// that reaches the sink is present in the final result. + /// Despite being excluded by the qualifier filter, a copy of every cell + /// that reaches the sink is present in the final result. /// - /// As with an \[Interleave][google.bigtable.v2.RowFilter.Interleave\], - /// duplicate cells are possible, and appear in an unspecified mutual order. - /// In this case we have a duplicate with column "A:B" and timestamp 2, - /// because one copy passed through the all filter while the other was - /// passed through the label and sink. Note that one copy has label "foo", - /// while the other does not. + /// As with an \[Interleave][google.bigtable.v2.RowFilter.Interleave\], + /// duplicate cells are possible, and appear in an unspecified mutual order. + /// In this case we have a duplicate with column "A:B" and timestamp 2, + /// because one copy passed through the all filter while the other was + /// passed through the label and sink. Note that one copy has label "foo", + /// while the other does not. /// - /// Cannot be used within the `predicate_filter`, `true_filter`, or - /// `false_filter` of a \[Condition][google.bigtable.v2.RowFilter.Condition\]. + /// Cannot be used within the `predicate_filter`, `true_filter`, or + /// `false_filter` of a \[Condition][google.bigtable.v2.RowFilter.Condition\]. #[prost(bool, tag="16")] Sink(bool), - /// Matches all cells, regardless of input. Functionally equivalent to - /// leaving `filter` unset, but included for completeness. + /// Matches all cells, regardless of input. Functionally equivalent to + /// leaving `filter` unset, but included for completeness. #[prost(bool, tag="17")] PassAllFilter(bool), - /// Does not match any cells, regardless of input. Useful for temporarily - /// disabling just part of a filter. + /// Does not match any cells, regardless of input. Useful for temporarily + /// disabling just part of a filter. #[prost(bool, tag="18")] BlockAllFilter(bool), - /// Matches only cells from rows whose keys satisfy the given RE2 regex. In - /// other words, passes through the entire row when the key matches, and - /// otherwise produces an empty row. - /// Note that, since row keys can contain arbitrary bytes, the `\C` escape - /// sequence must be used if a true wildcard is desired. The `.` character - /// will not match the new line character `\n`, which may be present in a - /// binary key. + /// Matches only cells from rows whose keys satisfy the given RE2 regex. In + /// other words, passes through the entire row when the key matches, and + /// otherwise produces an empty row. + /// Note that, since row keys can contain arbitrary bytes, the `\C` escape + /// sequence must be used if a true wildcard is desired. The `.` character + /// will not match the new line character `\n`, which may be present in a + /// binary key. #[prost(bytes, tag="4")] RowKeyRegexFilter(::prost::alloc::vec::Vec), - /// Matches all cells from a row with probability p, and matches no cells - /// from the row with probability 1-p. + /// Matches all cells from a row with probability p, and matches no cells + /// from the row with probability 1-p. #[prost(double, tag="14")] RowSampleFilter(f64), - /// Matches only cells from columns whose families satisfy the given RE2 - /// regex. For technical reasons, the regex must not contain the `:` - /// character, even if it is not being used as a literal. - /// Note that, since column families cannot contain the new line character - /// `\n`, it is sufficient to use `.` as a full wildcard when matching - /// column family names. + /// Matches only cells from columns whose families satisfy the given RE2 + /// regex. For technical reasons, the regex must not contain the `:` + /// character, even if it is not being used as a literal. + /// Note that, since column families cannot contain the new line character + /// `\n`, it is sufficient to use `.` as a full wildcard when matching + /// column family names. #[prost(string, tag="5")] FamilyNameRegexFilter(::prost::alloc::string::String), - /// Matches only cells from columns whose qualifiers satisfy the given RE2 - /// regex. - /// Note that, since column qualifiers can contain arbitrary bytes, the `\C` - /// escape sequence must be used if a true wildcard is desired. The `.` - /// character will not match the new line character `\n`, which may be - /// present in a binary qualifier. + /// Matches only cells from columns whose qualifiers satisfy the given RE2 + /// regex. + /// Note that, since column qualifiers can contain arbitrary bytes, the `\C` + /// escape sequence must be used if a true wildcard is desired. The `.` + /// character will not match the new line character `\n`, which may be + /// present in a binary qualifier. #[prost(bytes, tag="6")] ColumnQualifierRegexFilter(::prost::alloc::vec::Vec), - /// Matches only cells from columns within the given range. + /// Matches only cells from columns within the given range. #[prost(message, tag="7")] ColumnRangeFilter(super::ColumnRange), - /// Matches only cells with timestamps within the given range. + /// Matches only cells with timestamps within the given range. #[prost(message, tag="8")] TimestampRangeFilter(super::TimestampRange), - /// Matches only cells with values that satisfy the given regular expression. - /// Note that, since cell values can contain arbitrary bytes, the `\C` escape - /// sequence must be used if a true wildcard is desired. The `.` character - /// will not match the new line character `\n`, which may be present in a - /// binary value. + /// Matches only cells with values that satisfy the given regular expression. + /// Note that, since cell values can contain arbitrary bytes, the `\C` escape + /// sequence must be used if a true wildcard is desired. The `.` character + /// will not match the new line character `\n`, which may be present in a + /// binary value. #[prost(bytes, tag="9")] ValueRegexFilter(::prost::alloc::vec::Vec), - /// Matches only cells with values that fall within the given range. + /// Matches only cells with values that fall within the given range. #[prost(message, tag="15")] ValueRangeFilter(super::ValueRange), - /// Skips the first N cells of each row, matching all subsequent cells. - /// If duplicate cells are present, as is possible when using an Interleave, - /// each copy of the cell is counted separately. + /// Skips the first N cells of each row, matching all subsequent cells. + /// If duplicate cells are present, as is possible when using an Interleave, + /// each copy of the cell is counted separately. #[prost(int32, tag="10")] CellsPerRowOffsetFilter(i32), - /// Matches only the first N cells of each row. - /// If duplicate cells are present, as is possible when using an Interleave, - /// each copy of the cell is counted separately. + /// Matches only the first N cells of each row. + /// If duplicate cells are present, as is possible when using an Interleave, + /// each copy of the cell is counted separately. #[prost(int32, tag="11")] CellsPerRowLimitFilter(i32), - /// Matches only the most recent N cells within each column. For example, - /// if N=2, this filter would match column `foo:bar` at timestamps 10 and 9, - /// skip all earlier cells in `foo:bar`, and then begin matching again in - /// column `foo:bar2`. - /// If duplicate cells are present, as is possible when using an Interleave, - /// each copy of the cell is counted separately. + /// Matches only the most recent N cells within each column. For example, + /// if N=2, this filter would match column `foo:bar` at timestamps 10 and 9, + /// skip all earlier cells in `foo:bar`, and then begin matching again in + /// column `foo:bar2`. + /// If duplicate cells are present, as is possible when using an Interleave, + /// each copy of the cell is counted separately. #[prost(int32, tag="12")] CellsPerColumnLimitFilter(i32), - /// Replaces each cell's value with the empty string. + /// Replaces each cell's value with the empty string. #[prost(bool, tag="13")] StripValueTransformer(bool), - /// Applies the given label to all cells in the output row. This allows - /// the client to determine which results were produced from which part of - /// the filter. + /// Applies the given label to all cells in the output row. This allows + /// the client to determine which results were produced from which part of + /// the filter. /// - /// Values must be at most 15 characters in length, and match the RE2 - /// pattern `\[a-z0-9\\-\]+` + /// Values must be at most 15 characters in length, and match the RE2 + /// pattern `\[a-z0-9\\-\]+` /// - /// Due to a technical limitation, it is not currently possible to apply - /// multiple labels to a cell. As a result, a Chain may have no more than - /// one sub-filter which contains a `apply_label_transformer`. It is okay for - /// an Interleave to contain multiple `apply_label_transformers`, as they - /// will be applied to separate copies of the input. This may be relaxed in - /// the future. + /// Due to a technical limitation, it is not currently possible to apply + /// multiple labels to a cell. As a result, a Chain may have no more than + /// one sub-filter which contains a `apply_label_transformer`. It is okay for + /// an Interleave to contain multiple `apply_label_transformers`, as they + /// will be applied to separate copies of the input. This may be relaxed in + /// the future. #[prost(string, tag="19")] ApplyLabelTransformer(::prost::alloc::string::String), } } -/// Specifies a particular change to be made to the contents of a row. +/// Specifies a particular change to be made to the contents of a row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Mutation { - /// Which of the possible Mutation types to apply. + /// Which of the possible Mutation types to apply. #[prost(oneof="mutation::Mutation", tags="1, 2, 3, 4")] pub mutation: ::core::option::Option, } /// Nested message and enum types in `Mutation`. pub mod mutation { - /// A Mutation which sets the value of the specified cell. + /// A Mutation which sets the value of the specified cell. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetCell { - /// The name of the family into which new data should be written. - /// Must match `\[-_.a-zA-Z0-9\]+` + /// The name of the family into which new data should be written. + /// Must match `\[-_.a-zA-Z0-9\]+` #[prost(string, tag="1")] pub family_name: ::prost::alloc::string::String, - /// The qualifier of the column into which new data should be written. - /// Can be any byte string, including the empty string. + /// The qualifier of the column into which new data should be written. + /// Can be any byte string, including the empty string. #[prost(bytes="vec", tag="2")] pub column_qualifier: ::prost::alloc::vec::Vec, - /// The timestamp of the cell into which new data should be written. - /// Use -1 for current Bigtable server time. - /// Otherwise, the client should set this value itself, noting that the - /// default value is a timestamp of zero if the field is left unspecified. - /// Values must match the granularity of the table (e.g. micros, millis). + /// The timestamp of the cell into which new data should be written. + /// Use -1 for current Bigtable server time. + /// Otherwise, the client should set this value itself, noting that the + /// default value is a timestamp of zero if the field is left unspecified. + /// Values must match the granularity of the table (e.g. micros, millis). #[prost(int64, tag="3")] pub timestamp_micros: i64, - /// The value to be written into the specified cell. + /// The value to be written into the specified cell. #[prost(bytes="vec", tag="4")] pub value: ::prost::alloc::vec::Vec, } - /// A Mutation which deletes cells from the specified column, optionally - /// restricting the deletions to a given timestamp range. + /// A Mutation which deletes cells from the specified column, optionally + /// restricting the deletions to a given timestamp range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFromColumn { - /// The name of the family from which cells should be deleted. - /// Must match `\[-_.a-zA-Z0-9\]+` + /// The name of the family from which cells should be deleted. + /// Must match `\[-_.a-zA-Z0-9\]+` #[prost(string, tag="1")] pub family_name: ::prost::alloc::string::String, - /// The qualifier of the column from which cells should be deleted. - /// Can be any byte string, including the empty string. + /// The qualifier of the column from which cells should be deleted. + /// Can be any byte string, including the empty string. #[prost(bytes="vec", tag="2")] pub column_qualifier: ::prost::alloc::vec::Vec, - /// The range of timestamps within which cells should be deleted. + /// The range of timestamps within which cells should be deleted. #[prost(message, optional, tag="3")] pub time_range: ::core::option::Option, } - /// A Mutation which deletes all cells from the specified column family. + /// A Mutation which deletes all cells from the specified column family. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFromFamily { - /// The name of the family from which cells should be deleted. - /// Must match `\[-_.a-zA-Z0-9\]+` + /// The name of the family from which cells should be deleted. + /// Must match `\[-_.a-zA-Z0-9\]+` #[prost(string, tag="1")] pub family_name: ::prost::alloc::string::String, } - /// A Mutation which deletes all cells from the containing row. + /// A Mutation which deletes all cells from the containing row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFromRow { } - /// Which of the possible Mutation types to apply. + /// Which of the possible Mutation types to apply. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mutation { - /// Set a cell's value. + /// Set a cell's value. #[prost(message, tag="1")] SetCell(SetCell), - /// Deletes cells from a column. + /// Deletes cells from a column. #[prost(message, tag="2")] DeleteFromColumn(DeleteFromColumn), - /// Deletes cells from a column family. + /// Deletes cells from a column family. #[prost(message, tag="3")] DeleteFromFamily(DeleteFromFamily), - /// Deletes cells from the entire row. + /// Deletes cells from the entire row. #[prost(message, tag="4")] DeleteFromRow(DeleteFromRow), } } -/// Specifies an atomic read/modify/write operation on the latest value of the -/// specified column. +/// Specifies an atomic read/modify/write operation on the latest value of the +/// specified column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadModifyWriteRule { - /// The name of the family to which the read/modify/write should be applied. - /// Must match `\[-_.a-zA-Z0-9\]+` + /// The name of the family to which the read/modify/write should be applied. + /// Must match `\[-_.a-zA-Z0-9\]+` #[prost(string, tag="1")] pub family_name: ::prost::alloc::string::String, - /// The qualifier of the column to which the read/modify/write should be - /// applied. - /// Can be any byte string, including the empty string. + /// The qualifier of the column to which the read/modify/write should be + /// applied. + /// Can be any byte string, including the empty string. #[prost(bytes="vec", tag="2")] pub column_qualifier: ::prost::alloc::vec::Vec, - /// The rule used to determine the column's new latest value from its current - /// latest value. + /// The rule used to determine the column's new latest value from its current + /// latest value. #[prost(oneof="read_modify_write_rule::Rule", tags="3, 4")] pub rule: ::core::option::Option, } /// Nested message and enum types in `ReadModifyWriteRule`. pub mod read_modify_write_rule { - /// The rule used to determine the column's new latest value from its current - /// latest value. + /// The rule used to determine the column's new latest value from its current + /// latest value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rule { - /// Rule specifying that `append_value` be appended to the existing value. - /// If the targeted cell is unset, it will be treated as containing the - /// empty string. + /// Rule specifying that `append_value` be appended to the existing value. + /// If the targeted cell is unset, it will be treated as containing the + /// empty string. #[prost(bytes, tag="3")] AppendValue(::prost::alloc::vec::Vec), - /// Rule specifying that `increment_amount` be added to the existing value. - /// If the targeted cell is unset, it will be treated as containing a zero. - /// Otherwise, the targeted cell must contain an 8-byte value (interpreted - /// as a 64-bit big-endian signed integer), or the entire request will fail. + /// Rule specifying that `increment_amount` be added to the existing value. + /// If the targeted cell is unset, it will be treated as containing a zero. + /// Otherwise, the targeted cell must contain an 8-byte value (interpreted + /// as a 64-bit big-endian signed integer), or the entire request will fail. #[prost(int64, tag="4")] IncrementAmount(i64), } } -/// Request message for Bigtable.ReadRows. +/// Request message for Bigtable.ReadRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsRequest { - /// Required. The unique name of the table from which to read. - /// Values are of the form - /// `projects//instances//tables/
`. + /// Required. The unique name of the table from which to read. + /// Values are of the form + /// `projects//instances//tables/
`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="5")] pub app_profile_id: ::prost::alloc::string::String, - /// The row keys and/or ranges to read sequentially. If not specified, reads - /// from all rows. + /// The row keys and/or ranges to read sequentially. If not specified, reads + /// from all rows. #[prost(message, optional, tag="2")] pub rows: ::core::option::Option, - /// The filter to apply to the contents of the specified row(s). If unset, - /// reads the entirety of each row. + /// The filter to apply to the contents of the specified row(s). If unset, + /// reads the entirety of each row. #[prost(message, optional, tag="3")] pub filter: ::core::option::Option, - /// The read will stop after committing to N rows' worth of results. The - /// default (zero) is to return all results. + /// The read will stop after committing to N rows' worth of results. The + /// default (zero) is to return all results. #[prost(int64, tag="4")] pub rows_limit: i64, } -/// Response message for Bigtable.ReadRows. +/// Response message for Bigtable.ReadRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsResponse { - /// A collection of a row's contents as part of the read request. + /// A collection of a row's contents as part of the read request. #[prost(message, repeated, tag="1")] pub chunks: ::prost::alloc::vec::Vec, - /// Optionally the server might return the row key of the last row it - /// has scanned. The client can use this to construct a more - /// efficient retry request if needed: any row keys or portions of - /// ranges less than this row key can be dropped from the request. - /// This is primarily useful for cases where the server has read a - /// lot of data that was filtered out since the last committed row - /// key, allowing the client to skip that work on a retry. + /// Optionally the server might return the row key of the last row it + /// has scanned. The client can use this to construct a more + /// efficient retry request if needed: any row keys or portions of + /// ranges less than this row key can be dropped from the request. + /// This is primarily useful for cases where the server has read a + /// lot of data that was filtered out since the last committed row + /// key, allowing the client to skip that work on a retry. #[prost(bytes="vec", tag="2")] pub last_scanned_row_key: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ReadRowsResponse`. pub mod read_rows_response { - /// Specifies a piece of a row's contents returned as part of the read - /// response stream. + /// Specifies a piece of a row's contents returned as part of the read + /// response stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CellChunk { - /// The row key for this chunk of data. If the row key is empty, - /// this CellChunk is a continuation of the same row as the previous - /// CellChunk in the response stream, even if that CellChunk was in a - /// previous ReadRowsResponse message. + /// The row key for this chunk of data. If the row key is empty, + /// this CellChunk is a continuation of the same row as the previous + /// CellChunk in the response stream, even if that CellChunk was in a + /// previous ReadRowsResponse message. #[prost(bytes="vec", tag="1")] pub row_key: ::prost::alloc::vec::Vec, - /// The column family name for this chunk of data. If this message - /// is not present this CellChunk is a continuation of the same column - /// family as the previous CellChunk. The empty string can occur as a - /// column family name in a response so clients must check - /// explicitly for the presence of this message, not just for - /// `family_name.value` being non-empty. + /// The column family name for this chunk of data. If this message + /// is not present this CellChunk is a continuation of the same column + /// family as the previous CellChunk. The empty string can occur as a + /// column family name in a response so clients must check + /// explicitly for the presence of this message, not just for + /// `family_name.value` being non-empty. #[prost(message, optional, tag="2")] pub family_name: ::core::option::Option<::prost::alloc::string::String>, - /// The column qualifier for this chunk of data. If this message - /// is not present, this CellChunk is a continuation of the same column - /// as the previous CellChunk. Column qualifiers may be empty so - /// clients must check for the presence of this message, not just - /// for `qualifier.value` being non-empty. + /// The column qualifier for this chunk of data. If this message + /// is not present, this CellChunk is a continuation of the same column + /// as the previous CellChunk. Column qualifiers may be empty so + /// clients must check for the presence of this message, not just + /// for `qualifier.value` being non-empty. #[prost(message, optional, tag="3")] pub qualifier: ::core::option::Option<::prost::alloc::vec::Vec>, - /// The cell's stored timestamp, which also uniquely identifies it - /// within its column. Values are always expressed in - /// microseconds, but individual tables may set a coarser - /// granularity to further restrict the allowed values. For - /// example, a table which specifies millisecond granularity will - /// only allow values of `timestamp_micros` which are multiples of - /// 1000. Timestamps are only set in the first CellChunk per cell - /// (for cells split into multiple chunks). + /// The cell's stored timestamp, which also uniquely identifies it + /// within its column. Values are always expressed in + /// microseconds, but individual tables may set a coarser + /// granularity to further restrict the allowed values. For + /// example, a table which specifies millisecond granularity will + /// only allow values of `timestamp_micros` which are multiples of + /// 1000. Timestamps are only set in the first CellChunk per cell + /// (for cells split into multiple chunks). #[prost(int64, tag="4")] pub timestamp_micros: i64, - /// Labels applied to the cell by a - /// \[RowFilter][google.bigtable.v2.RowFilter\]. Labels are only set - /// on the first CellChunk per cell. + /// Labels applied to the cell by a + /// \[RowFilter][google.bigtable.v2.RowFilter\]. Labels are only set + /// on the first CellChunk per cell. #[prost(string, repeated, tag="5")] pub labels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The value stored in the cell. Cell values can be split across - /// multiple CellChunks. In that case only the value field will be - /// set in CellChunks after the first: the timestamp and labels - /// will only be present in the first CellChunk, even if the first - /// CellChunk came in a previous ReadRowsResponse. + /// The value stored in the cell. Cell values can be split across + /// multiple CellChunks. In that case only the value field will be + /// set in CellChunks after the first: the timestamp and labels + /// will only be present in the first CellChunk, even if the first + /// CellChunk came in a previous ReadRowsResponse. #[prost(bytes="vec", tag="6")] pub value: ::prost::alloc::vec::Vec, - /// If this CellChunk is part of a chunked cell value and this is - /// not the final chunk of that cell, value_size will be set to the - /// total length of the cell value. The client can use this size - /// to pre-allocate memory to hold the full cell value. + /// If this CellChunk is part of a chunked cell value and this is + /// not the final chunk of that cell, value_size will be set to the + /// total length of the cell value. The client can use this size + /// to pre-allocate memory to hold the full cell value. #[prost(int32, tag="7")] pub value_size: i32, - /// Signals to the client concerning previous CellChunks received. + /// Signals to the client concerning previous CellChunks received. #[prost(oneof="cell_chunk::RowStatus", tags="8, 9")] pub row_status: ::core::option::Option, } /// Nested message and enum types in `CellChunk`. pub mod cell_chunk { - /// Signals to the client concerning previous CellChunks received. + /// Signals to the client concerning previous CellChunks received. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RowStatus { - /// Indicates that the client should drop all previous chunks for - /// `row_key`, as it will be re-read from the beginning. + /// Indicates that the client should drop all previous chunks for + /// `row_key`, as it will be re-read from the beginning. #[prost(bool, tag="8")] ResetRow(bool), - /// Indicates that the client can safely process all previous chunks for - /// `row_key`, as its data has been fully read. + /// Indicates that the client can safely process all previous chunks for + /// `row_key`, as its data has been fully read. #[prost(bool, tag="9")] CommitRow(bool), } } } -/// Request message for Bigtable.SampleRowKeys. +/// Request message for Bigtable.SampleRowKeys. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampleRowKeysRequest { - /// Required. The unique name of the table from which to sample row keys. - /// Values are of the form - /// `projects//instances//tables/
`. + /// Required. The unique name of the table from which to sample row keys. + /// Values are of the form + /// `projects//instances//tables/
`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="2")] pub app_profile_id: ::prost::alloc::string::String, } -/// Response message for Bigtable.SampleRowKeys. +/// Response message for Bigtable.SampleRowKeys. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampleRowKeysResponse { - /// Sorted streamed sequence of sample row keys in the table. The table might - /// have contents before the first row key in the list and after the last one, - /// but a key containing the empty string indicates "end of table" and will be - /// the last response given, if present. - /// Note that row keys in this list may not have ever been written to or read - /// from, and users should therefore not make any assumptions about the row key - /// structure that are specific to their use case. + /// Sorted streamed sequence of sample row keys in the table. The table might + /// have contents before the first row key in the list and after the last one, + /// but a key containing the empty string indicates "end of table" and will be + /// the last response given, if present. + /// Note that row keys in this list may not have ever been written to or read + /// from, and users should therefore not make any assumptions about the row key + /// structure that are specific to their use case. #[prost(bytes="vec", tag="1")] pub row_key: ::prost::alloc::vec::Vec, - /// Approximate total storage space used by all rows in the table which precede - /// `row_key`. Buffering the contents of all rows between two subsequent - /// samples would require space roughly equal to the difference in their - /// `offset_bytes` fields. + /// Approximate total storage space used by all rows in the table which precede + /// `row_key`. Buffering the contents of all rows between two subsequent + /// samples would require space roughly equal to the difference in their + /// `offset_bytes` fields. #[prost(int64, tag="2")] pub offset_bytes: i64, } -/// Request message for Bigtable.MutateRow. +/// Request message for Bigtable.MutateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRowRequest { - /// Required. The unique name of the table to which the mutation should be applied. - /// Values are of the form - /// `projects//instances//tables/
`. + /// Required. The unique name of the table to which the mutation should be applied. + /// Values are of the form + /// `projects//instances//tables/
`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="4")] pub app_profile_id: ::prost::alloc::string::String, - /// Required. The key of the row to which the mutation should be applied. + /// Required. The key of the row to which the mutation should be applied. #[prost(bytes="vec", tag="2")] pub row_key: ::prost::alloc::vec::Vec, - /// Required. Changes to be atomically applied to the specified row. Entries are applied - /// in order, meaning that earlier mutations can be masked by later ones. - /// Must contain at least one entry and at most 100000. + /// Required. Changes to be atomically applied to the specified row. Entries are applied + /// in order, meaning that earlier mutations can be masked by later ones. + /// Must contain at least one entry and at most 100000. #[prost(message, repeated, tag="3")] pub mutations: ::prost::alloc::vec::Vec, } -/// Response message for Bigtable.MutateRow. +/// Response message for Bigtable.MutateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRowResponse { } -/// Request message for BigtableService.MutateRows. +/// Request message for BigtableService.MutateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRowsRequest { - /// Required. The unique name of the table to which the mutations should be applied. + /// Required. The unique name of the table to which the mutations should be applied. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="3")] pub app_profile_id: ::prost::alloc::string::String, - /// Required. The row keys and corresponding mutations to be applied in bulk. - /// Each entry is applied as an atomic mutation, but the entries may be - /// applied in arbitrary order (even between entries for the same row). - /// At least one entry must be specified, and in total the entries can - /// contain at most 100000 mutations. + /// Required. The row keys and corresponding mutations to be applied in bulk. + /// Each entry is applied as an atomic mutation, but the entries may be + /// applied in arbitrary order (even between entries for the same row). + /// At least one entry must be specified, and in total the entries can + /// contain at most 100000 mutations. #[prost(message, repeated, tag="2")] pub entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MutateRowsRequest`. pub mod mutate_rows_request { - /// A mutation for a given row. + /// A mutation for a given row. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The key of the row to which the `mutations` should be applied. + /// The key of the row to which the `mutations` should be applied. #[prost(bytes="vec", tag="1")] pub row_key: ::prost::alloc::vec::Vec, - /// Required. Changes to be atomically applied to the specified row. Mutations are - /// applied in order, meaning that earlier mutations can be masked by - /// later ones. - /// You must specify at least one mutation. + /// Required. Changes to be atomically applied to the specified row. Mutations are + /// applied in order, meaning that earlier mutations can be masked by + /// later ones. + /// You must specify at least one mutation. #[prost(message, repeated, tag="2")] pub mutations: ::prost::alloc::vec::Vec, } } -/// Response message for BigtableService.MutateRows. +/// Response message for BigtableService.MutateRows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateRowsResponse { - /// One or more results for Entries from the batch request. + /// One or more results for Entries from the batch request. #[prost(message, repeated, tag="1")] pub entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MutateRowsResponse`. pub mod mutate_rows_response { - /// The result of applying a passed mutation in the original request. + /// The result of applying a passed mutation in the original request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The index into the original request's `entries` list of the Entry - /// for which a result is being reported. + /// The index into the original request's `entries` list of the Entry + /// for which a result is being reported. #[prost(int64, tag="1")] pub index: i64, - /// The result of the request Entry identified by `index`. - /// Depending on how requests are batched during execution, it is possible - /// for one Entry to fail due to an error with another Entry. In the event - /// that this occurs, the same error will be reported for both entries. + /// The result of the request Entry identified by `index`. + /// Depending on how requests are batched during execution, it is possible + /// for one Entry to fail due to an error with another Entry. In the event + /// that this occurs, the same error will be reported for both entries. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } } -/// Request message for Bigtable.CheckAndMutateRow. +/// Request message for Bigtable.CheckAndMutateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckAndMutateRowRequest { - /// Required. The unique name of the table to which the conditional mutation should be - /// applied. - /// Values are of the form - /// `projects//instances//tables/
`. + /// Required. The unique name of the table to which the conditional mutation should be + /// applied. + /// Values are of the form + /// `projects//instances//tables/
`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="7")] pub app_profile_id: ::prost::alloc::string::String, - /// Required. The key of the row to which the conditional mutation should be applied. + /// Required. The key of the row to which the conditional mutation should be applied. #[prost(bytes="vec", tag="2")] pub row_key: ::prost::alloc::vec::Vec, - /// The filter to be applied to the contents of the specified row. Depending - /// on whether or not any results are yielded, either `true_mutations` or - /// `false_mutations` will be executed. If unset, checks that the row contains - /// any values at all. + /// The filter to be applied to the contents of the specified row. Depending + /// on whether or not any results are yielded, either `true_mutations` or + /// `false_mutations` will be executed. If unset, checks that the row contains + /// any values at all. #[prost(message, optional, tag="6")] pub predicate_filter: ::core::option::Option, - /// Changes to be atomically applied to the specified row if `predicate_filter` - /// yields at least one cell when applied to `row_key`. Entries are applied in - /// order, meaning that earlier mutations can be masked by later ones. - /// Must contain at least one entry if `false_mutations` is empty, and at most - /// 100000. + /// Changes to be atomically applied to the specified row if `predicate_filter` + /// yields at least one cell when applied to `row_key`. Entries are applied in + /// order, meaning that earlier mutations can be masked by later ones. + /// Must contain at least one entry if `false_mutations` is empty, and at most + /// 100000. #[prost(message, repeated, tag="4")] pub true_mutations: ::prost::alloc::vec::Vec, - /// Changes to be atomically applied to the specified row if `predicate_filter` - /// does not yield any cells when applied to `row_key`. Entries are applied in - /// order, meaning that earlier mutations can be masked by later ones. - /// Must contain at least one entry if `true_mutations` is empty, and at most - /// 100000. + /// Changes to be atomically applied to the specified row if `predicate_filter` + /// does not yield any cells when applied to `row_key`. Entries are applied in + /// order, meaning that earlier mutations can be masked by later ones. + /// Must contain at least one entry if `true_mutations` is empty, and at most + /// 100000. #[prost(message, repeated, tag="5")] pub false_mutations: ::prost::alloc::vec::Vec, } -/// Response message for Bigtable.CheckAndMutateRow. +/// Response message for Bigtable.CheckAndMutateRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckAndMutateRowResponse { - /// Whether or not the request's `predicate_filter` yielded any results for - /// the specified row. + /// Whether or not the request's `predicate_filter` yielded any results for + /// the specified row. #[prost(bool, tag="1")] pub predicate_matched: bool, } -/// Request message for client connection keep-alive and warming. +/// Request message for client connection keep-alive and warming. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PingAndWarmRequest { - /// Required. The unique name of the instance to check permissions for as well as - /// respond. Values are of the form `projects//instances/`. + /// Required. The unique name of the instance to check permissions for as well as + /// respond. Values are of the form `projects//instances/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="2")] pub app_profile_id: ::prost::alloc::string::String, } -/// Response message for Bigtable.PingAndWarm connection keepalive and warming. +/// Response message for Bigtable.PingAndWarm connection keepalive and warming. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PingAndWarmResponse { } -/// Request message for Bigtable.ReadModifyWriteRow. +/// Request message for Bigtable.ReadModifyWriteRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadModifyWriteRowRequest { - /// Required. The unique name of the table to which the read/modify/write rules should be - /// applied. - /// Values are of the form - /// `projects//instances//tables/
`. + /// Required. The unique name of the table to which the read/modify/write rules should be + /// applied. + /// Values are of the form + /// `projects//instances//tables/
`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// This value specifies routing for replication. If not specified, the - /// "default" application profile will be used. + /// This value specifies routing for replication. If not specified, the + /// "default" application profile will be used. #[prost(string, tag="4")] pub app_profile_id: ::prost::alloc::string::String, - /// Required. The key of the row to which the read/modify/write rules should be applied. + /// Required. The key of the row to which the read/modify/write rules should be applied. #[prost(bytes="vec", tag="2")] pub row_key: ::prost::alloc::vec::Vec, - /// Required. Rules specifying how the specified row's contents are to be transformed - /// into writes. Entries are applied in order, meaning that earlier rules will - /// affect the results of later ones. + /// Required. Rules specifying how the specified row's contents are to be transformed + /// into writes. Entries are applied in order, meaning that earlier rules will + /// affect the results of later ones. #[prost(message, repeated, tag="3")] pub rules: ::prost::alloc::vec::Vec, } -/// Response message for Bigtable.ReadModifyWriteRow. +/// Response message for Bigtable.ReadModifyWriteRow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadModifyWriteRowResponse { - /// A Row containing the new contents of all cells modified by the request. + /// A Row containing the new contents of all cells modified by the request. #[prost(message, optional, tag="1")] pub row: ::core::option::Option, } @@ -1144,17 +1144,17 @@ pub mod bigtable_client { } } } -/// Response metadata proto -/// This is an experimental feature that will be used to get zone_id and -/// cluster_id from response trailers to tag the metrics. This should not be -/// used by customers directly +/// Response metadata proto +/// This is an experimental feature that will be used to get zone_id and +/// cluster_id from response trailers to tag the metrics. This should not be +/// used by customers directly #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseParams { - /// The cloud bigtable zone associated with the cluster. + /// The cloud bigtable zone associated with the cluster. #[prost(string, optional, tag="1")] pub zone_id: ::core::option::Option<::prost::alloc::string::String>, - /// Identifier for a cluster that represents set of - /// bigtable resources. + /// Identifier for a cluster that represents set of + /// bigtable resources. #[prost(string, optional, tag="2")] pub cluster_id: ::core::option::Option<::prost::alloc::string::String>, } diff --git a/gcloud-sdk/genproto/google.bytestream.rs b/gcloud-sdk/genproto/google.bytestream.rs index 29b3e85da..c72d13161 100644 --- a/gcloud-sdk/genproto/google.bytestream.rs +++ b/gcloud-sdk/genproto/google.bytestream.rs @@ -1,92 +1,92 @@ -/// Request object for ByteStream.Read. +/// Request object for ByteStream.Read. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRequest { - /// The name of the resource to read. + /// The name of the resource to read. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The offset for the first byte to return in the read, relative to the start - /// of the resource. + /// The offset for the first byte to return in the read, relative to the start + /// of the resource. /// - /// A `read_offset` that is negative or greater than the size of the resource - /// will cause an `OUT_OF_RANGE` error. + /// A `read_offset` that is negative or greater than the size of the resource + /// will cause an `OUT_OF_RANGE` error. #[prost(int64, tag="2")] pub read_offset: i64, - /// The maximum number of `data` bytes the server is allowed to return in the - /// sum of all `ReadResponse` messages. A `read_limit` of zero indicates that - /// there is no limit, and a negative `read_limit` will cause an error. + /// The maximum number of `data` bytes the server is allowed to return in the + /// sum of all `ReadResponse` messages. A `read_limit` of zero indicates that + /// there is no limit, and a negative `read_limit` will cause an error. /// - /// If the stream returns fewer bytes than allowed by the `read_limit` and no - /// error occurred, the stream includes all data from the `read_offset` to the - /// end of the resource. + /// If the stream returns fewer bytes than allowed by the `read_limit` and no + /// error occurred, the stream includes all data from the `read_offset` to the + /// end of the resource. #[prost(int64, tag="3")] pub read_limit: i64, } -/// Response object for ByteStream.Read. +/// Response object for ByteStream.Read. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadResponse { - /// A portion of the data for the resource. The service **may** leave `data` - /// empty for any given `ReadResponse`. This enables the service to inform the - /// client that the request is still live while it is running an operation to - /// generate more data. + /// A portion of the data for the resource. The service **may** leave `data` + /// empty for any given `ReadResponse`. This enables the service to inform the + /// client that the request is still live while it is running an operation to + /// generate more data. #[prost(bytes="vec", tag="10")] pub data: ::prost::alloc::vec::Vec, } -/// Request object for ByteStream.Write. +/// Request object for ByteStream.Write. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteRequest { - /// The name of the resource to write. This **must** be set on the first - /// `WriteRequest` of each `Write()` action. If it is set on subsequent calls, - /// it **must** match the value of the first request. + /// The name of the resource to write. This **must** be set on the first + /// `WriteRequest` of each `Write()` action. If it is set on subsequent calls, + /// it **must** match the value of the first request. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, - /// The offset from the beginning of the resource at which the data should be - /// written. It is required on all `WriteRequest`s. + /// The offset from the beginning of the resource at which the data should be + /// written. It is required on all `WriteRequest`s. /// - /// In the first `WriteRequest` of a `Write()` action, it indicates - /// the initial offset for the `Write()` call. The value **must** be equal to - /// the `committed_size` that a call to `QueryWriteStatus()` would return. + /// In the first `WriteRequest` of a `Write()` action, it indicates + /// the initial offset for the `Write()` call. The value **must** be equal to + /// the `committed_size` that a call to `QueryWriteStatus()` would return. /// - /// On subsequent calls, this value **must** be set and **must** be equal to - /// the sum of the first `write_offset` and the sizes of all `data` bundles - /// sent previously on this stream. + /// On subsequent calls, this value **must** be set and **must** be equal to + /// the sum of the first `write_offset` and the sizes of all `data` bundles + /// sent previously on this stream. /// - /// An incorrect value will cause an error. + /// An incorrect value will cause an error. #[prost(int64, tag="2")] pub write_offset: i64, - /// If `true`, this indicates that the write is complete. Sending any - /// `WriteRequest`s subsequent to one in which `finish_write` is `true` will - /// cause an error. + /// If `true`, this indicates that the write is complete. Sending any + /// `WriteRequest`s subsequent to one in which `finish_write` is `true` will + /// cause an error. #[prost(bool, tag="3")] pub finish_write: bool, - /// A portion of the data for the resource. The client **may** leave `data` - /// empty for any given `WriteRequest`. This enables the client to inform the - /// service that the request is still live while it is running an operation to - /// generate more data. + /// A portion of the data for the resource. The client **may** leave `data` + /// empty for any given `WriteRequest`. This enables the client to inform the + /// service that the request is still live while it is running an operation to + /// generate more data. #[prost(bytes="vec", tag="10")] pub data: ::prost::alloc::vec::Vec, } -/// Response object for ByteStream.Write. +/// Response object for ByteStream.Write. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteResponse { - /// The number of bytes that have been processed for the given resource. + /// The number of bytes that have been processed for the given resource. #[prost(int64, tag="1")] pub committed_size: i64, } -/// Request object for ByteStream.QueryWriteStatus. +/// Request object for ByteStream.QueryWriteStatus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWriteStatusRequest { - /// The name of the resource whose write status is being requested. + /// The name of the resource whose write status is being requested. #[prost(string, tag="1")] pub resource_name: ::prost::alloc::string::String, } -/// Response object for ByteStream.QueryWriteStatus. +/// Response object for ByteStream.QueryWriteStatus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWriteStatusResponse { - /// The number of bytes that have been processed for the given resource. + /// The number of bytes that have been processed for the given resource. #[prost(int64, tag="1")] pub committed_size: i64, - /// `complete` is `true` only if the client has sent a `WriteRequest` with - /// `finish_write` set to true, and the server has processed that request. + /// `complete` is `true` only if the client has sent a `WriteRequest` with + /// `finish_write` set to true, and the server has processed that request. #[prost(bool, tag="2")] pub complete: bool, } diff --git a/gcloud-sdk/genproto/google.chat.logging.v1.rs b/gcloud-sdk/genproto/google.chat.logging.v1.rs index 57df891a1..c00468300 100644 --- a/gcloud-sdk/genproto/google.chat.logging.v1.rs +++ b/gcloud-sdk/genproto/google.chat.logging.v1.rs @@ -1,17 +1,17 @@ -/// JSON payload of error messages. If the Cloud Logging API is enabled, these -/// error messages are logged to -/// [Google Cloud Logging](). +/// JSON payload of error messages. If the Cloud Logging API is enabled, these +/// error messages are logged to +/// [Google Cloud Logging](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChatAppLogEntry { - /// The deployment that caused the error. For Chat bots built in Apps Script, - /// this is the deployment ID defined by Apps Script. + /// The deployment that caused the error. For Chat bots built in Apps Script, + /// this is the deployment ID defined by Apps Script. #[prost(string, tag="1")] pub deployment: ::prost::alloc::string::String, - /// The error code and message. + /// The error code and message. #[prost(message, optional, tag="2")] pub error: ::core::option::Option, - /// The unencrypted `callback_method` name that was running when the error was - /// encountered. + /// The unencrypted `callback_method` name that was running when the error was + /// encountered. #[prost(string, tag="3")] pub deployment_function: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.chromeos.moblab.v1beta1.rs b/gcloud-sdk/genproto/google.chromeos.moblab.v1beta1.rs index 759518248..bf8083d34 100644 --- a/gcloud-sdk/genproto/google.chromeos.moblab.v1beta1.rs +++ b/gcloud-sdk/genproto/google.chromeos.moblab.v1beta1.rs @@ -1,73 +1,73 @@ -/// Resource that represents a build target. +/// Resource that represents a build target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BuildTarget { - /// The resource name of the build target. - /// Format: buildTargets/{build_target} + /// The resource name of the build target. + /// Format: buildTargets/{build_target} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Resource that represents a model. Each model belongs to a build target. For -/// non-unified build, the model name is the same as its build target name. +/// Resource that represents a model. Each model belongs to a build target. For +/// non-unified build, the model name is the same as its build target name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// The resource name of the model. - /// Format: buildTargets/{build_target}/models/{model} + /// The resource name of the model. + /// Format: buildTargets/{build_target}/models/{model} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Resource that represents a chrome OS milestone. +/// Resource that represents a chrome OS milestone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Milestone { - /// The resource name of the milestone. - /// Format: milestones/{milestone} + /// The resource name of the milestone. + /// Format: milestones/{milestone} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Resource that represents a build for the given build target, model, milestone -/// and build version. +/// Resource that represents a build for the given build target, model, milestone +/// and build version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Build { - /// The resource name of the build. - /// Format: buildTargets/{build_target}/models/{model}/builds/{build} - /// Example: buildTargets/octopus/models/bobba/builds/1234.0.0 + /// The resource name of the build. + /// Format: buildTargets/{build_target}/models/{model}/builds/{build} + /// Example: buildTargets/octopus/models/bobba/builds/1234.0.0 #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The milestone that owns the build. - /// Format: milestones/{milestone} + /// The milestone that owns the build. + /// Format: milestones/{milestone} #[prost(string, tag="2")] pub milestone: ::prost::alloc::string::String, - /// The build version of the build, e.g. 1234.0.0. + /// The build version of the build, e.g. 1234.0.0. #[prost(string, tag="3")] pub build_version: ::prost::alloc::string::String, - /// The status of the build. + /// The status of the build. #[prost(enumeration="build::BuildStatus", tag="4")] pub status: i32, - /// The type of the build. + /// The type of the build. #[prost(enumeration="build::BuildType", tag="5")] pub r#type: i32, - /// The branch of the build. + /// The branch of the build. #[prost(string, tag="6")] pub branch: ::prost::alloc::string::String, - /// The read write firmware version of the software that is flashed to the chip - /// on the Chrome OS device. + /// The read write firmware version of the software that is flashed to the chip + /// on the Chrome OS device. #[prost(string, tag="7")] pub rw_firmware_version: ::prost::alloc::string::String, } /// Nested message and enum types in `Build`. pub mod build { - /// The build status types. + /// The build status types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BuildStatus { - /// No build status is specified. + /// No build status is specified. Unspecified = 0, - /// Complete Status: The build passed. + /// Complete Status: The build passed. Pass = 1, - /// Complete Status: The build failed. + /// Complete Status: The build failed. Fail = 2, - /// Intermediate Status: The build is still running. + /// Intermediate Status: The build is still running. Running = 3, - /// Complete Status: The build was aborted. + /// Complete Status: The build was aborted. Aborted = 4, } impl BuildStatus { @@ -85,15 +85,15 @@ pub mod build { } } } - /// The build types. + /// The build types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BuildType { - /// Invalid build type. + /// Invalid build type. Unspecified = 0, - /// The release build. + /// The release build. Release = 1, - /// The firmware build. + /// The firmware build. Firmware = 2, } impl BuildType { @@ -110,208 +110,208 @@ pub mod build { } } } -/// Resource that represents a build artifact stored in Google Cloud Storage for -/// the given build target, model, build version and bucket. +/// Resource that represents a build artifact stored in Google Cloud Storage for +/// the given build target, model, build version and bucket. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BuildArtifact { - /// The resource name of the build artifact. - /// Format: - /// buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact} - /// Example: - /// buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging + /// The resource name of the build artifact. + /// Format: + /// buildTargets/{build_target}/models/{model}/builds/{build}/artifacts/{artifact} + /// Example: + /// buildTargets/octopus/models/bobba/builds/1234.0.0/artifacts/chromeos-moblab-peng-staging #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The build metadata of the build artifact. + /// The build metadata of the build artifact. #[prost(string, tag="2")] pub build: ::prost::alloc::string::String, - /// The bucket that stores the build artifact. + /// The bucket that stores the build artifact. #[prost(string, tag="3")] pub bucket: ::prost::alloc::string::String, - /// The path of the build artifact in the bucket. + /// The path of the build artifact in the bucket. #[prost(string, tag="4")] pub path: ::prost::alloc::string::String, - /// The number of objects in the build artifact folder. The object number can - /// be used to calculated the stage progress by comparing the source build - /// artifact with the destination build artifact. + /// The number of objects in the build artifact folder. The object number can + /// be used to calculated the stage progress by comparing the source build + /// artifact with the destination build artifact. #[prost(uint32, tag="5")] pub object_count: u32, } -/// Request message for finding the most stable build. +/// Request message for finding the most stable build. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FindMostStableBuildRequest { - /// Required. The full resource name of the build target. - /// For example, - /// 'buildTargets/octopus'. + /// Required. The full resource name of the build target. + /// For example, + /// 'buildTargets/octopus'. #[prost(string, tag="1")] pub build_target: ::prost::alloc::string::String, } -/// Response message for finding the most stable build. +/// Response message for finding the most stable build. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FindMostStableBuildResponse { - /// The most stable build. + /// The most stable build. #[prost(message, optional, tag="1")] pub build: ::core::option::Option, } -/// Request message for listing build targets. +/// Request message for listing build targets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBuildTargetsRequest { - /// Optional. The number of build targets to return in a page. + /// Optional. The number of build targets to return in a page. #[prost(int32, tag="1")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListBuildTargets` call. Provide - /// this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListBuildTargets` call. Provide + /// this to retrieve the subsequent page. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for listing build targets. +/// Response message for listing build targets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBuildTargetsResponse { - /// The list of build targets. + /// The list of build targets. #[prost(message, repeated, tag="1")] pub build_targets: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of build targets. If this field is omitted, - /// there are no subsequent pages. + /// Token to retrieve the next page of build targets. If this field is omitted, + /// there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of build targets. + /// Total number of build targets. #[prost(int32, tag="3")] pub total_size: i32, } -/// Request message for listing models. +/// Request message for listing models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. The full resource name of build target. + /// Required. The full resource name of build target. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The number of models to return in a page. + /// Optional. The number of models to return in a page. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListModels` call. Provide - /// this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListModels` call. Provide + /// this to retrieve the subsequent page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for listing models. +/// Response message for listing models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// The list of models. + /// The list of models. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of models. If this field is omitted, there - /// are no subsequent pages. + /// Token to retrieve the next page of models. If this field is omitted, there + /// are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of models. + /// Total number of models. #[prost(int32, tag="3")] pub total_size: i32, } -/// Request message for listing builds. +/// Request message for listing builds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBuildsRequest { - /// Required. The full resource name of the model. The model id is the same as - /// the build target id for non-unified builds. - /// For example, - /// 'buildTargets/octopus/models/bobba'. + /// Required. The full resource name of the model. The model id is the same as + /// the build target id for non-unified builds. + /// For example, + /// 'buildTargets/octopus/models/bobba'. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The number of builds to return in a page. + /// Optional. The number of builds to return in a page. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListBuilds` call. Provide this to - /// retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListBuilds` call. Provide this to + /// retrieve the subsequent page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter that specifies value constraints of fields. For example, the - /// filter can be set as "filter='milestone=milestones/80'" to only select - /// builds in milestone 80. + /// Optional. Filter that specifies value constraints of fields. For example, the + /// filter can be set as "filter='milestone=milestones/80'" to only select + /// builds in milestone 80. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Read mask that specifies which Build fields to return. If empty, all Build - /// fields will be returned. - /// Valid fields: name, milestone, build_version. - /// For example, if the read_mask is set as "read_mask='milestone'", the - /// ListBuilds will return a list of Builds object with only the milestone - /// field. + /// Optional. Read mask that specifies which Build fields to return. If empty, all Build + /// fields will be returned. + /// Valid fields: name, milestone, build_version. + /// For example, if the read_mask is set as "read_mask='milestone'", the + /// ListBuilds will return a list of Builds object with only the milestone + /// field. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional. The operation that groups by all the Build fields specified in the read - /// mask. The group_by field should be the same as the read_mask field in - /// convention of SQL. + /// Optional. The operation that groups by all the Build fields specified in the read + /// mask. The group_by field should be the same as the read_mask field in + /// convention of SQL. #[prost(message, optional, tag="6")] pub group_by: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for listing builds. +/// Response message for listing builds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBuildsResponse { - /// The list of builds. + /// The list of builds. #[prost(message, repeated, tag="1")] pub builds: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of builds. If this field is omitted, there - /// are no subsequent pages. + /// Token to retrieve the next page of builds. If this field is omitted, there + /// are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Total number of builds. + /// Total number of builds. #[prost(int32, tag="3")] pub total_size: i32, } -/// Request message for checking if the build artifact is staged. +/// Request message for checking if the build artifact is staged. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckBuildStageStatusRequest { - /// Required. The full resource name of the build artifact. - /// For example, - /// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'. + /// Required. The full resource name of the build artifact. + /// For example, + /// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Filter that specifies value constraints of fields. For example, the - /// filter can be set as "filter='type=release'" to only check the release - /// builds. + /// Optional. Filter that specifies value constraints of fields. For example, the + /// filter can be set as "filter='type=release'" to only check the release + /// builds. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, } -/// Response message for checking the stage status of a build artifact. +/// Response message for checking the stage status of a build artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckBuildStageStatusResponse { - /// The status to represent if the build is staged or not. + /// The status to represent if the build is staged or not. #[prost(bool, tag="1")] pub is_build_staged: bool, - /// The staged build artifact in the destination bucket. + /// The staged build artifact in the destination bucket. #[prost(message, optional, tag="2")] pub staged_build_artifact: ::core::option::Option, - /// The source build artifact in the source bucket. + /// The source build artifact in the source bucket. #[prost(message, optional, tag="3")] pub source_build_artifact: ::core::option::Option, } -/// Request message for staging a build artifact. +/// Request message for staging a build artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StageBuildRequest { - /// Required. The full resource name of the build artifact. - /// For example, - /// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'. + /// Required. The full resource name of the build artifact. + /// For example, + /// 'buildTargets/octopus/models/bobba/builds/12607.6.0/artifacts/chromeos-moblab-peng-staging'. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Filter that specifies value constraints of fields. For example, the - /// filter can be set as "filter='type=release'" to only check the release - /// builds. + /// Optional. Filter that specifies value constraints of fields. For example, the + /// filter can be set as "filter='type=release'" to only check the release + /// builds. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, } -/// Response message for staging a build artifact. +/// Response message for staging a build artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StageBuildResponse { - /// The staged build in the destination bucket. + /// The staged build in the destination bucket. #[prost(message, optional, tag="1")] pub staged_build_artifact: ::core::option::Option, } -/// Metadata message for staging a build artifact. +/// Metadata message for staging a build artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StageBuildMetadata { - /// Approximate percentage of progress, e.g. "50" means 50%. + /// Approximate percentage of progress, e.g. "50" means 50%. #[prost(float, tag="1")] pub progress_percent: f32, - /// Build stage start time. + /// Build stage start time. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Build stage end time. + /// Build stage end time. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } diff --git a/gcloud-sdk/genproto/google.chromeos.uidetection.v1.rs b/gcloud-sdk/genproto/google.chromeos.uidetection.v1.rs index 9c6066124..0105655c9 100644 --- a/gcloud-sdk/genproto/google.chromeos.uidetection.v1.rs +++ b/gcloud-sdk/genproto/google.chromeos.uidetection.v1.rs @@ -1,14 +1,14 @@ -/// Request message for UI detection. +/// Request message for UI detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UiDetectionRequest { - /// Required. Required field that represents a PNG image. + /// Required. Required field that represents a PNG image. #[prost(bytes="vec", tag="1")] pub image_png: ::prost::alloc::vec::Vec, - /// Required. Required field that indicates the detection type. + /// Required. Required field that indicates the detection type. #[prost(message, optional, tag="2")] pub request: ::core::option::Option, } -/// Detection type specifies what to detect in the image. +/// Detection type specifies what to detect in the image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetectionRequest { #[prost(oneof="detection_request::DetectionRequestType", tags="1, 2, 3")] @@ -18,90 +18,90 @@ pub struct DetectionRequest { pub mod detection_request { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DetectionRequestType { - /// Detection type for word detection. + /// Detection type for word detection. #[prost(message, tag="1")] WordDetectionRequest(super::WordDetectionRequest), - /// Detection type for text block detection. + /// Detection type for text block detection. #[prost(message, tag="2")] TextBlockDetectionRequest(super::TextBlockDetectionRequest), - /// Detection type for custom icon detection. + /// Detection type for custom icon detection. #[prost(message, tag="3")] CustomIconDetectionRequest(super::CustomIconDetectionRequest), } } -/// Detection type for word detection. +/// Detection type for word detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WordDetectionRequest { - /// Required. The word to locate in the image. + /// Required. The word to locate in the image. #[prost(string, tag="1")] pub word: ::prost::alloc::string::String, - /// Indicating whether the query string is a regex or not. + /// Indicating whether the query string is a regex or not. #[prost(bool, tag="2")] pub regex_mode: bool, - /// Indicating whether the detection is an approximate match. + /// Indicating whether the detection is an approximate match. #[prost(bool, tag="3")] pub disable_approx_match: bool, - /// Levenshtein distance threshold. - /// Applicable only if regex_mode is False. + /// Levenshtein distance threshold. + /// Applicable only if regex_mode is False. #[prost(int32, optional, tag="4")] pub max_edit_distance: ::core::option::Option, } -/// Detection type for text block detection. +/// Detection type for text block detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextBlockDetectionRequest { - /// Required. The text block consisting a list of words to locate in the image. + /// Required. The text block consisting a list of words to locate in the image. #[prost(string, repeated, tag="1")] pub words: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Indicating whether the query string is a regex or not. + /// Indicating whether the query string is a regex or not. #[prost(bool, tag="2")] pub regex_mode: bool, - /// Indicating whether the detection is an approximate match. + /// Indicating whether the detection is an approximate match. #[prost(bool, tag="3")] pub disable_approx_match: bool, - /// Levenshtein distance threshold. - /// Applicable only if regex_mode is False. + /// Levenshtein distance threshold. + /// Applicable only if regex_mode is False. #[prost(int32, optional, tag="4")] pub max_edit_distance: ::core::option::Option, } -/// Detection type for custom icon detection. +/// Detection type for custom icon detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomIconDetectionRequest { - /// Required. Required field that represents an icon in PNG format. + /// Required. Required field that represents an icon in PNG format. #[prost(bytes="vec", tag="1")] pub icon_png: ::prost::alloc::vec::Vec, - /// Set match_count to -1 to not limit the number of matches. + /// Set match_count to -1 to not limit the number of matches. #[prost(int32, tag="2")] pub match_count: i32, - /// Confidence threshold in the range [0.0, 1.0] below which the matches will - /// be considered as non-existent. + /// Confidence threshold in the range [0.0, 1.0] below which the matches will + /// be considered as non-existent. #[prost(double, tag="3")] pub min_confidence_threshold: f64, } -/// Response message for UI detection. +/// Response message for UI detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UiDetectionResponse { - /// Locations of matching UI elements. + /// Locations of matching UI elements. #[prost(message, repeated, tag="1")] pub bounding_boxes: ::prost::alloc::vec::Vec, } -/// The location of a UI element. -/// A bounding box is reprensented by its top-left point [left, top] -/// and its bottom-right point [right, bottom]. +/// The location of a UI element. +/// A bounding box is reprensented by its top-left point [left, top] +/// and its bottom-right point [right, bottom]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingBox { - /// The text found in the bounding box. + /// The text found in the bounding box. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// The y-coordinate of the top-left point. + /// The y-coordinate of the top-left point. #[prost(int32, tag="2")] pub top: i32, - /// The x-coordinate of the top-left point. + /// The x-coordinate of the top-left point. #[prost(int32, tag="3")] pub left: i32, - /// The y-coordinate of the bottom-right point. + /// The y-coordinate of the bottom-right point. #[prost(int32, tag="4")] pub bottom: i32, - /// The x-coordinate of the bottom-right point. + /// The x-coordinate of the bottom-right point. #[prost(int32, tag="5")] pub right: i32, } diff --git a/gcloud-sdk/genproto/google.cloud.accessapproval.v1.rs b/gcloud-sdk/genproto/google.cloud.accessapproval.v1.rs index c34f95f38..b7f956f7a 100644 --- a/gcloud-sdk/genproto/google.cloud.accessapproval.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.accessapproval.v1.rs @@ -1,11 +1,11 @@ -/// Home office and physical location of the principal. +/// Home office and physical location of the principal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessLocations { - /// The "home office" location of the principal. A two-letter country code - /// (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some - /// limited situations Google systems may refer refer to a region code instead - /// of a country code. - /// Possible Region Codes: + /// The "home office" location of the principal. A two-letter country code + /// (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or a region code. In some + /// limited situations Google systems may refer refer to a region code instead + /// of a country code. + /// Possible Region Codes: /// /// * ASI: Asia /// * EUR: Europe @@ -17,11 +17,11 @@ pub struct AccessLocations { /// * ANY: Any location #[prost(string, tag="1")] pub principal_office_country: ::prost::alloc::string::String, - /// Physical location of the principal at the time of the access. A - /// two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or - /// a region code. In some limited situations Google systems may refer refer to - /// a region code instead of a country code. - /// Possible Region Codes: + /// Physical location of the principal at the time of the access. A + /// two-letter country code (ISO 3166-1 alpha-2), such as "US", "DE" or "GB" or + /// a region code. In some limited situations Google systems may refer refer to + /// a region code instead of a country code. + /// Possible Region Codes: /// /// * ASI: Asia /// * EUR: Europe @@ -36,23 +36,23 @@ pub struct AccessLocations { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessReason { - /// Type of access justification. + /// Type of access justification. #[prost(enumeration="access_reason::Type", tag="1")] pub r#type: i32, - /// More detail about certain reason types. See comments for each type above. + /// More detail about certain reason types. See comments for each type above. #[prost(string, tag="2")] pub detail: ::prost::alloc::string::String, } /// Nested message and enum types in `AccessReason`. pub mod access_reason { - /// Type of access justification. + /// Type of access justification. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Default value for proto, shouldn't be used. + /// Default value for proto, shouldn't be used. Unspecified = 0, - /// Customer made a request or raised an issue that required the principal to - /// access customer data. `detail` is of the form ("#####" is the issue ID): + /// Customer made a request or raised an issue that required the principal to + /// access customer data. `detail` is of the form ("#####" is the issue ID): /// /// * "Feedback Report: #####" /// * "Case Number: #####" @@ -61,20 +61,20 @@ pub mod access_reason { /// * "Google-#####" /// * "T-#####" CustomerInitiatedSupport = 1, - /// The principal accessed customer data in order to diagnose or resolve a - /// suspected issue in services. Often this access is used to confirm that - /// customers are not affected by a suspected service issue or to remediate a - /// reversible system issue. + /// The principal accessed customer data in order to diagnose or resolve a + /// suspected issue in services. Often this access is used to confirm that + /// customers are not affected by a suspected service issue or to remediate a + /// reversible system issue. GoogleInitiatedService = 2, - /// Google initiated service for security, fraud, abuse, or compliance - /// purposes. + /// Google initiated service for security, fraud, abuse, or compliance + /// purposes. GoogleInitiatedReview = 3, - /// The principal was compelled to access customer data in order to respond - /// to a legal third party data request or process, including legal processes - /// from customers themselves. + /// The principal was compelled to access customer data in order to respond + /// to a legal third party data request or process, including legal processes + /// from customers themselves. ThirdPartyDataRequest = 4, - /// The principal accessed customer data in order to diagnose or resolve a - /// suspected issue in services or a known outage. + /// The principal accessed customer data in order to diagnose or resolve a + /// suspected issue in services or a known outage. GoogleResponseToProductionAlert = 5, } impl Type { @@ -94,124 +94,124 @@ pub mod access_reason { } } } -/// Information about the digital signature of the resource. +/// Information about the digital signature of the resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SignatureInfo { - /// The digital signature. + /// The digital signature. #[prost(bytes="vec", tag="1")] pub signature: ::prost::alloc::vec::Vec, - /// How this signature may be verified. + /// How this signature may be verified. #[prost(oneof="signature_info::VerificationInfo", tags="2, 3")] pub verification_info: ::core::option::Option, } /// Nested message and enum types in `SignatureInfo`. pub mod signature_info { - /// How this signature may be verified. + /// How this signature may be verified. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum VerificationInfo { - /// The public key for the Google default signing, encoded in PEM format. The - /// signature was created using a private key which may be verified using - /// this public key. + /// The public key for the Google default signing, encoded in PEM format. The + /// signature was created using a private key which may be verified using + /// this public key. #[prost(string, tag="2")] GooglePublicKeyPem(::prost::alloc::string::String), - /// The resource name of the customer CryptoKeyVersion used for signing. + /// The resource name of the customer CryptoKeyVersion used for signing. #[prost(string, tag="3")] CustomerKmsKeyVersion(::prost::alloc::string::String), } } -/// A decision that has been made to approve access to a resource. +/// A decision that has been made to approve access to a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveDecision { - /// The time at which approval was granted. + /// The time at which approval was granted. #[prost(message, optional, tag="1")] pub approve_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the approval expires. + /// The time at which the approval expires. #[prost(message, optional, tag="2")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// If set, denotes the timestamp at which the approval is invalidated. + /// If set, denotes the timestamp at which the approval is invalidated. #[prost(message, optional, tag="3")] pub invalidate_time: ::core::option::Option<::prost_types::Timestamp>, - /// The signature for the ApprovalRequest and details on how it was signed. + /// The signature for the ApprovalRequest and details on how it was signed. #[prost(message, optional, tag="4")] pub signature_info: ::core::option::Option, - /// True when the request has been auto-approved. + /// True when the request has been auto-approved. #[prost(bool, tag="5")] pub auto_approved: bool, } -/// A decision that has been made to dismiss an approval request. +/// A decision that has been made to dismiss an approval request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissDecision { - /// The time at which the approval request was dismissed. + /// The time at which the approval request was dismissed. #[prost(message, optional, tag="1")] pub dismiss_time: ::core::option::Option<::prost_types::Timestamp>, - /// This field will be true if the ApprovalRequest was implicitly dismissed due - /// to inaction by the access approval approvers (the request is not acted - /// on by the approvers before the exiration time). + /// This field will be true if the ApprovalRequest was implicitly dismissed due + /// to inaction by the access approval approvers (the request is not acted + /// on by the approvers before the exiration time). #[prost(bool, tag="2")] pub implicit: bool, } -/// The properties associated with the resource of the request. +/// The properties associated with the resource of the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceProperties { - /// Whether an approval will exclude the descendants of the resource being - /// requested. + /// Whether an approval will exclude the descendants of the resource being + /// requested. #[prost(bool, tag="1")] pub excludes_descendants: bool, } -/// A request for the customer to approve access to a resource. +/// A request for the customer to approve access to a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApprovalRequest { - /// The resource name of the request. Format is - /// "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}". + /// The resource name of the request. Format is + /// "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource for which approval is being requested. The format of the - /// resource name is defined at - /// The resource name here - /// may either be a "full" resource name (e.g. - /// "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" - /// resource name (e.g. "shelves/shelf1/books/book2") as described in the - /// resource name specification. + /// The resource for which approval is being requested. The format of the + /// resource name is defined at + /// The resource name here + /// may either be a "full" resource name (e.g. + /// "//library.googleapis.com/shelves/shelf1/books/book2") or a "relative" + /// resource name (e.g. "shelves/shelf1/books/book2") as described in the + /// resource name specification. #[prost(string, tag="2")] pub requested_resource_name: ::prost::alloc::string::String, - /// Properties related to the resource represented by requested_resource_name. + /// Properties related to the resource represented by requested_resource_name. #[prost(message, optional, tag="9")] pub requested_resource_properties: ::core::option::Option, - /// The justification for which approval is being requested. + /// The justification for which approval is being requested. #[prost(message, optional, tag="3")] pub requested_reason: ::core::option::Option, - /// The locations for which approval is being requested. + /// The locations for which approval is being requested. #[prost(message, optional, tag="4")] pub requested_locations: ::core::option::Option, - /// The time at which approval was requested. + /// The time at which approval was requested. #[prost(message, optional, tag="5")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// The requested expiration for the approval. If the request is approved, - /// access will be granted from the time of approval until the expiration time. + /// The requested expiration for the approval. If the request is approved, + /// access will be granted from the time of approval until the expiration time. #[prost(message, optional, tag="6")] pub requested_expiration: ::core::option::Option<::prost_types::Timestamp>, - /// The current decision on the approval request. + /// The current decision on the approval request. #[prost(oneof="approval_request::Decision", tags="7, 8")] pub decision: ::core::option::Option, } /// Nested message and enum types in `ApprovalRequest`. pub mod approval_request { - /// The current decision on the approval request. + /// The current decision on the approval request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Decision { - /// Access was approved. + /// Access was approved. #[prost(message, tag="7")] Approve(super::ApproveDecision), - /// The request was dismissed. + /// The request was dismissed. #[prost(message, tag="8")] Dismiss(super::DismissDecision), } } -/// Represents the enrollment of a cloud resource into a specific service. +/// Represents the enrollment of a cloud resource into a specific service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnrolledService { - /// The product for which Access Approval will be enrolled. Allowed values are - /// listed below (case-sensitive): + /// The product for which Access Approval will be enrolled. Allowed values are + /// listed below (case-sensitive): /// /// * all /// * GA @@ -238,8 +238,8 @@ pub struct EnrolledService { /// * Secret Manager /// * Speaker ID /// - /// Note: These values are supported as input for legacy purposes, but will not - /// be returned from the API. + /// Note: These values are supported as input for legacy purposes, but will not + /// be returned from the API. /// /// * all /// * ga-only @@ -263,102 +263,102 @@ pub struct EnrolledService { /// * speakerid.googleapis.com /// * storage.googleapis.com /// - /// Calls to UpdateAccessApprovalSettings using 'all' or any of the - /// XXX.googleapis.com will be translated to the associated product name - /// ('all', 'App Engine', etc.). + /// Calls to UpdateAccessApprovalSettings using 'all' or any of the + /// XXX.googleapis.com will be translated to the associated product name + /// ('all', 'App Engine', etc.). /// - /// Note: 'all' will enroll the resource in all products supported at both 'GA' - /// and 'Preview' levels. + /// Note: 'all' will enroll the resource in all products supported at both 'GA' + /// and 'Preview' levels. /// - /// More information about levels of support is available at - /// + /// More information about levels of support is available at + /// #[prost(string, tag="1")] pub cloud_product: ::prost::alloc::string::String, - /// The enrollment level of the service. + /// The enrollment level of the service. #[prost(enumeration="EnrollmentLevel", tag="2")] pub enrollment_level: i32, } -/// Settings on a Project/Folder/Organization related to Access Approval. +/// Settings on a Project/Folder/Organization related to Access Approval. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessApprovalSettings { - /// The resource name of the settings. Format is one of: + /// The resource name of the settings. Format is one of: /// /// * "projects/{project}/accessApprovalSettings" /// * "folders/{folder}/accessApprovalSettings" /// * "organizations/{organization}/accessApprovalSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A list of email addresses to which notifications relating to approval - /// requests should be sent. Notifications relating to a resource will be sent - /// to all emails in the settings of ancestor resources of that resource. A - /// maximum of 50 email addresses are allowed. + /// A list of email addresses to which notifications relating to approval + /// requests should be sent. Notifications relating to a resource will be sent + /// to all emails in the settings of ancestor resources of that resource. A + /// maximum of 50 email addresses are allowed. #[prost(string, repeated, tag="2")] pub notification_emails: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of Google Cloud Services for which the given resource has Access - /// Approval enrolled. Access requests for the resource given by name against - /// any of these services contained here will be required to have explicit - /// approval. If name refers to an organization, enrollment can be done for - /// individual services. If name refers to a folder or project, enrollment can - /// only be done on an all or nothing basis. + /// A list of Google Cloud Services for which the given resource has Access + /// Approval enrolled. Access requests for the resource given by name against + /// any of these services contained here will be required to have explicit + /// approval. If name refers to an organization, enrollment can be done for + /// individual services. If name refers to a folder or project, enrollment can + /// only be done on an all or nothing basis. /// - /// If a cloud_product is repeated in this list, the first entry will be - /// honored and all following entries will be discarded. A maximum of 10 - /// enrolled services will be enforced, to be expanded as the set of supported - /// services is expanded. + /// If a cloud_product is repeated in this list, the first entry will be + /// honored and all following entries will be discarded. A maximum of 10 + /// enrolled services will be enforced, to be expanded as the set of supported + /// services is expanded. #[prost(message, repeated, tag="3")] pub enrolled_services: ::prost::alloc::vec::Vec, - /// Output only. This field is read only (not settable via - /// UpdateAccessApprovalSettings method). If the field is true, that - /// indicates that at least one service is enrolled for Access Approval in one - /// or more ancestors of the Project or Folder (this field will always be - /// unset for the organization since organizations do not have ancestors). + /// Output only. This field is read only (not settable via + /// UpdateAccessApprovalSettings method). If the field is true, that + /// indicates that at least one service is enrolled for Access Approval in one + /// or more ancestors of the Project or Folder (this field will always be + /// unset for the organization since organizations do not have ancestors). #[prost(bool, tag="4")] pub enrolled_ancestor: bool, - /// The asymmetric crypto key version to use for signing approval requests. - /// Empty active_key_version indicates that a Google-managed key should be used - /// for signing. This property will be ignored if set by an ancestor of this - /// resource, and new non-empty values may not be set. + /// The asymmetric crypto key version to use for signing approval requests. + /// Empty active_key_version indicates that a Google-managed key should be used + /// for signing. This property will be ignored if set by an ancestor of this + /// resource, and new non-empty values may not be set. #[prost(string, tag="6")] pub active_key_version: ::prost::alloc::string::String, - /// Output only. This field is read only (not settable via UpdateAccessApprovalSettings - /// method). If the field is true, that indicates that an ancestor of this - /// Project or Folder has set active_key_version (this field will always be - /// unset for the organization since organizations do not have ancestors). + /// Output only. This field is read only (not settable via UpdateAccessApprovalSettings + /// method). If the field is true, that indicates that an ancestor of this + /// Project or Folder has set active_key_version (this field will always be + /// unset for the organization since organizations do not have ancestors). #[prost(bool, tag="7")] pub ancestor_has_active_key_version: bool, - /// Output only. This field is read only (not settable via UpdateAccessApprovalSettings - /// method). If the field is true, that indicates that there is some - /// configuration issue with the active_key_version configured at this level in - /// the resource hierarchy (e.g. it doesn't exist or the Access Approval - /// service account doesn't have the correct permissions on it, etc.) This key - /// version is not necessarily the effective key version at this level, as key - /// versions are inherited top-down. + /// Output only. This field is read only (not settable via UpdateAccessApprovalSettings + /// method). If the field is true, that indicates that there is some + /// configuration issue with the active_key_version configured at this level in + /// the resource hierarchy (e.g. it doesn't exist or the Access Approval + /// service account doesn't have the correct permissions on it, etc.) This key + /// version is not necessarily the effective key version at this level, as key + /// versions are inherited top-down. #[prost(bool, tag="8")] pub invalid_key_version: bool, } -/// Access Approval service account related to a project/folder/organization. +/// Access Approval service account related to a project/folder/organization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessApprovalServiceAccount { - /// The resource name of the Access Approval service account. Format is one of: + /// The resource name of the Access Approval service account. Format is one of: /// /// * "projects/{project}/serviceAccount" /// * "folders/{folder}/serviceAccount" /// * "organizations/{organization}/serviceAccount" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Email address of the service account. + /// Email address of the service account. #[prost(string, tag="2")] pub account_email: ::prost::alloc::string::String, } -/// Request to list approval requests. +/// Request to list approval requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApprovalRequestsMessage { - /// The parent resource. This may be "projects/{project}", - /// "folders/{folder}", or "organizations/{organization}". + /// The parent resource. This may be "projects/{project}", + /// "folders/{folder}", or "organizations/{organization}". #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A filter on the type of approval requests to retrieve. Must be one of the - /// following values: + /// A filter on the type of approval requests to retrieve. Must be one of the + /// following values: /// /// * [not set]: Requests that are pending or have active approvals. /// * ALL: All requests. @@ -371,104 +371,104 @@ pub struct ListApprovalRequestsMessage { /// * HISTORY: Active, dismissed and expired requests. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Requested page size. + /// Requested page size. #[prost(int32, tag="3")] pub page_size: i32, - /// A token identifying the page of results to return. + /// A token identifying the page of results to return. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response to listing of ApprovalRequest objects. +/// Response to listing of ApprovalRequest objects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApprovalRequestsResponse { - /// Approval request details. + /// Approval request details. #[prost(message, repeated, tag="1")] pub approval_requests: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more. + /// Token to retrieve the next page of results, or empty if there are no more. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request to get an approval request. +/// Request to get an approval request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApprovalRequestMessage { - /// The name of the approval request to retrieve. - /// Format: - /// "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}" + /// The name of the approval request to retrieve. + /// Format: + /// "{projects|folders|organizations}/{id}/approvalRequests/{approval_request}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to approve an ApprovalRequest. +/// Request to approve an ApprovalRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveApprovalRequestMessage { - /// Name of the approval request to approve. + /// Name of the approval request to approve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The expiration time of this approval. + /// The expiration time of this approval. #[prost(message, optional, tag="2")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Request to dismiss an approval request. +/// Request to dismiss an approval request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DismissApprovalRequestMessage { - /// Name of the ApprovalRequest to dismiss. + /// Name of the ApprovalRequest to dismiss. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to invalidate an existing approval. +/// Request to invalidate an existing approval. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidateApprovalRequestMessage { - /// Name of the ApprovalRequest to invalidate. + /// Name of the ApprovalRequest to invalidate. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to get access approval settings. +/// Request to get access approval settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccessApprovalSettingsMessage { - /// The name of the AccessApprovalSettings to retrieve. - /// Format: "{projects|folders|organizations}/{id}/accessApprovalSettings" + /// The name of the AccessApprovalSettings to retrieve. + /// Format: "{projects|folders|organizations}/{id}/accessApprovalSettings" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to update access approval settings. +/// Request to update access approval settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAccessApprovalSettingsMessage { - /// The new AccessApprovalSettings. + /// The new AccessApprovalSettings. #[prost(message, optional, tag="1")] pub settings: ::core::option::Option, - /// The update mask applies to the settings. Only the top level fields of - /// AccessApprovalSettings (notification_emails & enrolled_services) are - /// supported. For each field, if it is included, the currently stored value - /// will be entirely overwritten with the value of the field passed in this - /// request. + /// The update mask applies to the settings. Only the top level fields of + /// AccessApprovalSettings (notification_emails & enrolled_services) are + /// supported. For each field, if it is included, the currently stored value + /// will be entirely overwritten with the value of the field passed in this + /// request. /// - /// For the `FieldMask` definition, see - /// - /// If this field is left unset, only the notification_emails field will be - /// updated. + /// For the `FieldMask` definition, see + /// + /// If this field is left unset, only the notification_emails field will be + /// updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request to delete access approval settings. +/// Request to delete access approval settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAccessApprovalSettingsMessage { - /// Name of the AccessApprovalSettings to delete. + /// Name of the AccessApprovalSettings to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to get an Access Approval service account. +/// Request to get an Access Approval service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAccessApprovalServiceAccountMessage { - /// Name of the AccessApprovalServiceAccount to retrieve. + /// Name of the AccessApprovalServiceAccount to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the type of enrollment for a given service to Access Approval. +/// Represents the type of enrollment for a given service to Access Approval. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnrollmentLevel { - /// Default value for proto, shouldn't be used. + /// Default value for proto, shouldn't be used. Unspecified = 0, - /// Service is enrolled in Access Approval for all requests + /// Service is enrolled in Access Approval for all requests BlockAll = 1, } impl EnrollmentLevel { diff --git a/gcloud-sdk/genproto/google.cloud.aiplatform.logging.rs b/gcloud-sdk/genproto/google.cloud.aiplatform.logging.rs index 2bee73a9c..50e91e12f 100644 --- a/gcloud-sdk/genproto/google.cloud.aiplatform.logging.rs +++ b/gcloud-sdk/genproto/google.cloud.aiplatform.logging.rs @@ -1,22 +1,22 @@ -/// The access log entry definition of online prediction. +/// The access log entry definition of online prediction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnlinePredictionLogEntry { - /// The resource name of the endpoint as referred to in the original request. - /// For example, projects/12323/locations/us-central1/endpoints/123. + /// The resource name of the endpoint as referred to in the original request. + /// For example, projects/12323/locations/us-central1/endpoints/123. #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// The ID of the deployed model used to serve this predict request. + /// The ID of the deployed model used to serve this predict request. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// The number of instances in the prediction request. + /// The number of instances in the prediction request. #[prost(int64, tag="3")] pub instance_count: i64, - /// The number of successfully predicted instances in the response. - /// Populated when prediction succeeds. + /// The number of successfully predicted instances in the response. + /// Populated when prediction succeeds. #[prost(int64, tag="4")] pub prediction_count: i64, - /// The error code and message. - /// Populated when prediction fails. + /// The error code and message. + /// Populated when prediction fails. #[prost(message, optional, tag="5")] pub error: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.cloud.aiplatform.v1.rs b/gcloud-sdk/genproto/google.cloud.aiplatform.v1.rs index 2b5709b1e..08c32dcaa 100644 --- a/gcloud-sdk/genproto/google.cloud.aiplatform.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.aiplatform.v1.rs @@ -1,24 +1,24 @@ -/// Represents a hardware accelerator type. +/// Represents a hardware accelerator type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AcceleratorType { - /// Unspecified accelerator type, which means no accelerator. + /// Unspecified accelerator type, which means no accelerator. Unspecified = 0, - /// Nvidia Tesla K80 GPU. + /// Nvidia Tesla K80 GPU. NvidiaTeslaK80 = 1, - /// Nvidia Tesla P100 GPU. + /// Nvidia Tesla P100 GPU. NvidiaTeslaP100 = 2, - /// Nvidia Tesla V100 GPU. + /// Nvidia Tesla V100 GPU. NvidiaTeslaV100 = 3, - /// Nvidia Tesla P4 GPU. + /// Nvidia Tesla P4 GPU. NvidiaTeslaP4 = 4, - /// Nvidia Tesla T4 GPU. + /// Nvidia Tesla T4 GPU. NvidiaTeslaT4 = 5, - /// Nvidia Tesla A100 GPU. + /// Nvidia Tesla A100 GPU. NvidiaTeslaA100 = 8, - /// TPU v2. + /// TPU v2. TpuV2 = 6, - /// TPU v3. + /// TPU v3. TpuV3 = 7, } impl AcceleratorType { @@ -40,12 +40,12 @@ impl AcceleratorType { } } } -/// References an API call. It contains more information about long running -/// operation and Jobs that are triggered by the API call. +/// References an API call. It contains more information about long running +/// operation and Jobs that are triggered by the API call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserActionReference { - /// The method name of the API RPC call. For example, - /// "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" + /// The method name of the API RPC call. For example, + /// "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" #[prost(string, tag="3")] pub method: ::prost::alloc::string::String, #[prost(oneof="user_action_reference::Reference", tags="1, 2")] @@ -55,171 +55,171 @@ pub struct UserActionReference { pub mod user_action_reference { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Reference { - /// For API calls that return a long running operation. - /// Resource name of the long running operation. - /// Format: - /// 'projects/{project}/locations/{location}/operations/{operation}' + /// For API calls that return a long running operation. + /// Resource name of the long running operation. + /// Format: + /// 'projects/{project}/locations/{location}/operations/{operation}' #[prost(string, tag="1")] Operation(::prost::alloc::string::String), - /// For API calls that start a LabelingJob. - /// Resource name of the LabelingJob. - /// Format: - /// 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + /// For API calls that start a LabelingJob. + /// Resource name of the LabelingJob. + /// Format: + /// 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' #[prost(string, tag="2")] DataLabelingJob(::prost::alloc::string::String), } } -/// Used to assign specific AnnotationSpec to a particular area of a DataItem or -/// the whole part of the DataItem. +/// Used to assign specific AnnotationSpec to a particular area of a DataItem or +/// the whole part of the DataItem. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Annotation { - /// Output only. Resource name of the Annotation. + /// Output only. Resource name of the Annotation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Google Cloud Storage URI points to a YAML file describing \[payload][google.cloud.aiplatform.v1.Annotation.payload\]. The - /// schema is defined as an [OpenAPI 3.0.2 Schema - /// Object](). - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - /// chosen schema must be consistent with the parent Dataset's - /// \[metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\]. + /// Required. Google Cloud Storage URI points to a YAML file describing \[payload][google.cloud.aiplatform.v1.Annotation.payload\]. The + /// schema is defined as an [OpenAPI 3.0.2 Schema + /// Object](). + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the + /// chosen schema must be consistent with the parent Dataset's + /// \[metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\]. #[prost(string, tag="2")] pub payload_schema_uri: ::prost::alloc::string::String, - /// Required. The schema of the payload can be found in - /// \[payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri\]. + /// Required. The schema of the payload can be found in + /// \[payload_schema][google.cloud.aiplatform.v1.Annotation.payload_schema_uri\]. #[prost(message, optional, tag="3")] pub payload: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this Annotation was created. + /// Output only. Timestamp when this Annotation was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Annotation was last updated. + /// Output only. Timestamp when this Annotation was last updated. #[prost(message, optional, tag="7")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// Output only. The source of the Annotation. + /// Output only. The source of the Annotation. #[prost(message, optional, tag="5")] pub annotation_source: ::core::option::Option, - /// Optional. The labels with user-defined metadata to organize your Annotations. + /// Optional. The labels with user-defined metadata to organize your Annotations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Annotation(System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Annotation(System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each Annotation: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each Annotation: /// - /// * "aiplatform.googleapis.com/annotation_set_name": + /// * "aiplatform.googleapis.com/annotation_set_name": /// optional, name of the UI's annotation set this Annotation belongs to. /// If not set, the Annotation is not visible in the UI. /// - /// * "aiplatform.googleapis.com/payload_schema": + /// * "aiplatform.googleapis.com/payload_schema": /// output only, its value is the \[payload_schema's][google.cloud.aiplatform.v1.Annotation.payload_schema_uri\] /// title. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Identifies a concept with which DataItems may be annotated with. +/// Identifies a concept with which DataItems may be annotated with. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpec { - /// Output only. Resource name of the AnnotationSpec. + /// Output only. Resource name of the AnnotationSpec. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the AnnotationSpec. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the AnnotationSpec. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when this AnnotationSpec was created. + /// Output only. Timestamp when this AnnotationSpec was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when AnnotationSpec was last updated. + /// Output only. Timestamp when AnnotationSpec was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, } -/// Instance of a general artifact. +/// Instance of a general artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Artifact { - /// Output only. The resource name of the Artifact. + /// Output only. The resource name of the Artifact. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Artifact. - /// May be up to 128 Unicode characters. + /// User provided display name of the Artifact. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The uniform resource identifier of the artifact file. - /// May be empty if there is no actual artifact file. + /// The uniform resource identifier of the artifact file. + /// May be empty if there is no actual artifact file. #[prost(string, tag="6")] pub uri: ::prost::alloc::string::String, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Artifacts. + /// The labels with user-defined metadata to organize your Artifacts. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Artifact (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Artifact (System + /// labels are excluded). #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Artifact was created. + /// Output only. Timestamp when this Artifact was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Artifact was last updated. + /// Output only. Timestamp when this Artifact was last updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The state of this Artifact. This is a property of the Artifact, and does - /// not imply or capture any ongoing process. This property is managed by - /// clients (such as Vertex AI Pipelines), and the system does not prescribe - /// or check the validity of state transitions. + /// The state of this Artifact. This is a property of the Artifact, and does + /// not imply or capture any ongoing process. This property is managed by + /// clients (such as Vertex AI Pipelines), and the system does not prescribe + /// or check the validity of state transitions. #[prost(enumeration="artifact::State", tag="13")] pub state: i32, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in schema_name to use. + /// The version of the schema in schema_name to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="15")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Artifact. - /// The size of this field should not exceed 200KB. + /// Properties of the Artifact. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="16")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Artifact + /// Description of the Artifact #[prost(string, tag="17")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Artifact`. pub mod artifact { - /// Describes the state of the Artifact. + /// Describes the state of the Artifact. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified state for the Artifact. + /// Unspecified state for the Artifact. Unspecified = 0, - /// A state used by systems like Vertex AI Pipelines to indicate that the - /// underlying data item represented by this Artifact is being created. + /// A state used by systems like Vertex AI Pipelines to indicate that the + /// underlying data item represented by this Artifact is being created. Pending = 1, - /// A state indicating that the Artifact should exist, unless something - /// external to the system deletes it. + /// A state indicating that the Artifact should exist, unless something + /// external to the system deletes it. Live = 2, } impl State { @@ -236,255 +236,255 @@ pub mod artifact { } } } -/// Success and error statistics of processing multiple entities -/// (for example, DataItems or structured data rows) in batch. +/// Success and error statistics of processing multiple entities +/// (for example, DataItems or structured data rows) in batch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompletionStats { - /// Output only. The number of entities that had been processed successfully. + /// Output only. The number of entities that had been processed successfully. #[prost(int64, tag="1")] pub successful_count: i64, - /// Output only. The number of entities for which any error was encountered. + /// Output only. The number of entities for which any error was encountered. #[prost(int64, tag="2")] pub failed_count: i64, - /// Output only. In cases when enough errors are encountered a job, pipeline, or operation - /// may be failed as a whole. Below is the number of entities for which the - /// processing had not been finished (either in successful or failed state). - /// Set to -1 if the number is unknown (for example, the operation failed - /// before the total entity number could be collected). + /// Output only. In cases when enough errors are encountered a job, pipeline, or operation + /// may be failed as a whole. Below is the number of entities for which the + /// processing had not been finished (either in successful or failed state). + /// Set to -1 if the number is unknown (for example, the operation failed + /// before the total entity number could be collected). #[prost(int64, tag="3")] pub incomplete_count: i64, - /// Output only. The number of the successful forecast points that are generated by the - /// forecasting model. This is ONLY used by the forecasting batch prediction. + /// Output only. The number of the successful forecast points that are generated by the + /// forecasting model. This is ONLY used by the forecasting batch prediction. #[prost(int64, tag="5")] pub successful_forecast_point_count: i64, } -/// Represents a customer-managed encryption key spec that can be applied to -/// a top-level resource. +/// Represents a customer-managed encryption key spec that can be applied to +/// a top-level resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionSpec { - /// Required. The Cloud KMS resource identifier of the customer managed encryption key - /// used to protect a resource. Has the form: - /// `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - /// The key needs to be in the same region as where the compute resource is - /// created. + /// Required. The Cloud KMS resource identifier of the customer managed encryption key + /// used to protect a resource. Has the form: + /// `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. + /// The key needs to be in the same region as where the compute resource is + /// created. #[prost(string, tag="1")] pub kms_key_name: ::prost::alloc::string::String, } -/// Metadata describing the Model's input and output for explanation. +/// Metadata describing the Model's input and output for explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationMetadata { - /// Required. Map from feature names to feature input metadata. Keys are the name of the - /// features. Values are the specification of the feature. + /// Required. Map from feature names to feature input metadata. Keys are the name of the + /// features. Values are the specification of the feature. /// - /// An empty InputMetadata is valid. It describes a text feature which has the - /// name specified as the key in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. The baseline - /// of the empty feature is chosen by Vertex AI. + /// An empty InputMetadata is valid. It describes a text feature which has the + /// name specified as the key in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. The baseline + /// of the empty feature is chosen by Vertex AI. /// - /// For Vertex AI-provided Tensorflow images, the key can be any friendly - /// name of the feature. Once specified, - /// \[featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] are keyed by - /// this key (if not grouped with another feature). + /// For Vertex AI-provided Tensorflow images, the key can be any friendly + /// name of the feature. Once specified, + /// \[featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] are keyed by + /// this key (if not grouped with another feature). /// - /// For custom images, the key must match with the key in - /// \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\]. + /// For custom images, the key must match with the key in + /// \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\]. #[prost(map="string, message", tag="1")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata::InputMetadata>, - /// Required. Map from output names to output metadata. + /// Required. Map from output names to output metadata. /// - /// For Vertex AI-provided Tensorflow images, keys can be any user defined - /// string that consists of any UTF-8 characters. + /// For Vertex AI-provided Tensorflow images, keys can be any user defined + /// string that consists of any UTF-8 characters. /// - /// For custom images, keys are the name of the output field in the prediction - /// to be explained. + /// For custom images, keys are the name of the output field in the prediction + /// to be explained. /// - /// Currently only one key is allowed. + /// Currently only one key is allowed. #[prost(map="string, message", tag="2")] pub outputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata::OutputMetadata>, - /// Points to a YAML file stored on Google Cloud Storage describing the format - /// of the [feature attributions]\[google.cloud.aiplatform.v1.Attribution.feature_attributions\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML tabular Models always have this field populated by Vertex AI. - /// Note: The URI given on output may be different, including the URI scheme, - /// than the one given on input. The output URI will point to a location where - /// the user only has a read access. + /// Points to a YAML file stored on Google Cloud Storage describing the format + /// of the [feature attributions]\[google.cloud.aiplatform.v1.Attribution.feature_attributions\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML tabular Models always have this field populated by Vertex AI. + /// Note: The URI given on output may be different, including the URI scheme, + /// than the one given on input. The output URI will point to a location where + /// the user only has a read access. #[prost(string, tag="3")] pub feature_attributions_schema_uri: ::prost::alloc::string::String, - /// Name of the source to generate embeddings for example based explanations. + /// Name of the source to generate embeddings for example based explanations. #[prost(string, tag="5")] pub latent_space_source: ::prost::alloc::string::String, } /// Nested message and enum types in `ExplanationMetadata`. pub mod explanation_metadata { - /// Metadata of the input of a feature. + /// Metadata of the input of a feature. /// - /// Fields other than \[InputMetadata.input_baselines][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.input_baselines\] are applicable only - /// for Models that are using Vertex AI-provided images for Tensorflow. + /// Fields other than \[InputMetadata.input_baselines][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.input_baselines\] are applicable only + /// for Models that are using Vertex AI-provided images for Tensorflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputMetadata { - /// Baseline inputs for this feature. + /// Baseline inputs for this feature. /// - /// If no baseline is specified, Vertex AI chooses the baseline for this - /// feature. If multiple baselines are specified, Vertex AI returns the - /// average attributions across them in \[Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\]. + /// If no baseline is specified, Vertex AI chooses the baseline for this + /// feature. If multiple baselines are specified, Vertex AI returns the + /// average attributions across them in \[Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\]. /// - /// For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - /// of each baseline must match the shape of the input tensor. If a scalar is - /// provided, we broadcast to the same shape as the input tensor. + /// For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape + /// of each baseline must match the shape of the input tensor. If a scalar is + /// provided, we broadcast to the same shape as the input tensor. /// - /// For custom images, the element of the baselines must be in the same - /// format as the feature's input in the - /// \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances][\]. The schema of any single instance - /// may be specified via Endpoint's DeployedModels' - /// \[Model's][google.cloud.aiplatform.v1.DeployedModel.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\]. + /// For custom images, the element of the baselines must be in the same + /// format as the feature's input in the + /// \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances][\]. The schema of any single instance + /// may be specified via Endpoint's DeployedModels' + /// \[Model's][google.cloud.aiplatform.v1.DeployedModel.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\]. #[prost(message, repeated, tag="1")] pub input_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Name of the input tensor for this feature. Required and is only - /// applicable to Vertex AI-provided images for Tensorflow. + /// Name of the input tensor for this feature. Required and is only + /// applicable to Vertex AI-provided images for Tensorflow. #[prost(string, tag="2")] pub input_tensor_name: ::prost::alloc::string::String, - /// Defines how the feature is encoded into the input tensor. Defaults to - /// IDENTITY. + /// Defines how the feature is encoded into the input tensor. Defaults to + /// IDENTITY. #[prost(enumeration="input_metadata::Encoding", tag="3")] pub encoding: i32, - /// Modality of the feature. Valid values are: numeric, image. Defaults to - /// numeric. + /// Modality of the feature. Valid values are: numeric, image. Defaults to + /// numeric. #[prost(string, tag="4")] pub modality: ::prost::alloc::string::String, - /// The domain details of the input feature value. Like min/max, original - /// mean or standard deviation if normalized. + /// The domain details of the input feature value. Like min/max, original + /// mean or standard deviation if normalized. #[prost(message, optional, tag="5")] pub feature_value_domain: ::core::option::Option, - /// Specifies the index of the values of the input tensor. - /// Required when the input tensor is a sparse representation. Refer to - /// Tensorflow documentation for more details: - /// + /// Specifies the index of the values of the input tensor. + /// Required when the input tensor is a sparse representation. Refer to + /// Tensorflow documentation for more details: + /// #[prost(string, tag="6")] pub indices_tensor_name: ::prost::alloc::string::String, - /// Specifies the shape of the values of the input if the input is a sparse - /// representation. Refer to Tensorflow documentation for more details: - /// + /// Specifies the shape of the values of the input if the input is a sparse + /// representation. Refer to Tensorflow documentation for more details: + /// #[prost(string, tag="7")] pub dense_shape_tensor_name: ::prost::alloc::string::String, - /// A list of feature names for each index in the input tensor. - /// Required when the input \[InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding\] is BAG_OF_FEATURES, - /// BAG_OF_FEATURES_SPARSE, INDICATOR. + /// A list of feature names for each index in the input tensor. + /// Required when the input \[InputMetadata.encoding][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoding\] is BAG_OF_FEATURES, + /// BAG_OF_FEATURES_SPARSE, INDICATOR. #[prost(string, repeated, tag="8")] pub index_feature_mapping: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Encoded tensor is a transformation of the input tensor. Must be provided - /// if choosing - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\] - /// or [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\] and the - /// input tensor is not differentiable. + /// Encoded tensor is a transformation of the input tensor. Must be provided + /// if choosing + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\] + /// or [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\] and the + /// input tensor is not differentiable. /// - /// An encoded tensor is generated if the input tensor is encoded by a lookup - /// table. + /// An encoded tensor is generated if the input tensor is encoded by a lookup + /// table. #[prost(string, tag="9")] pub encoded_tensor_name: ::prost::alloc::string::String, - /// A list of baselines for the encoded tensor. + /// A list of baselines for the encoded tensor. /// - /// The shape of each baseline should match the shape of the encoded tensor. - /// If a scalar is provided, Vertex AI broadcasts to the same shape as the - /// encoded tensor. + /// The shape of each baseline should match the shape of the encoded tensor. + /// If a scalar is provided, Vertex AI broadcasts to the same shape as the + /// encoded tensor. #[prost(message, repeated, tag="10")] pub encoded_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Visualization configurations for image explanation. + /// Visualization configurations for image explanation. #[prost(message, optional, tag="11")] pub visualization: ::core::option::Option, - /// Name of the group that the input belongs to. Features with the same group - /// name will be treated as one feature when computing attributions. Features - /// grouped together can have different shapes in value. If provided, there - /// will be one single attribution generated in - /// \[Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\], keyed by the group name. + /// Name of the group that the input belongs to. Features with the same group + /// name will be treated as one feature when computing attributions. Features + /// grouped together can have different shapes in value. If provided, there + /// will be one single attribution generated in + /// \[Attribution.feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\], keyed by the group name. #[prost(string, tag="12")] pub group_name: ::prost::alloc::string::String, } /// Nested message and enum types in `InputMetadata`. pub mod input_metadata { - /// Domain details of the input feature value. Provides numeric information - /// about the feature, such as its range (min, max). If the feature has been - /// pre-processed, for example with z-scoring, then it provides information - /// about how to recover the original feature. For example, if the input - /// feature is an image and it has been pre-processed to obtain 0-mean and - /// stddev = 1 values, then original_mean, and original_stddev refer to the - /// mean and stddev of the original feature (e.g. image tensor) from which - /// input feature (with mean = 0 and stddev = 1) was obtained. + /// Domain details of the input feature value. Provides numeric information + /// about the feature, such as its range (min, max). If the feature has been + /// pre-processed, for example with z-scoring, then it provides information + /// about how to recover the original feature. For example, if the input + /// feature is an image and it has been pre-processed to obtain 0-mean and + /// stddev = 1 values, then original_mean, and original_stddev refer to the + /// mean and stddev of the original feature (e.g. image tensor) from which + /// input feature (with mean = 0 and stddev = 1) was obtained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueDomain { - /// The minimum permissible value for this feature. + /// The minimum permissible value for this feature. #[prost(float, tag="1")] pub min_value: f32, - /// The maximum permissible value for this feature. + /// The maximum permissible value for this feature. #[prost(float, tag="2")] pub max_value: f32, - /// If this input feature has been normalized to a mean value of 0, - /// the original_mean specifies the mean value of the domain prior to - /// normalization. + /// If this input feature has been normalized to a mean value of 0, + /// the original_mean specifies the mean value of the domain prior to + /// normalization. #[prost(float, tag="3")] pub original_mean: f32, - /// If this input feature has been normalized to a standard deviation of - /// 1.0, the original_stddev specifies the standard deviation of the domain - /// prior to normalization. + /// If this input feature has been normalized to a standard deviation of + /// 1.0, the original_stddev specifies the standard deviation of the domain + /// prior to normalization. #[prost(float, tag="4")] pub original_stddev: f32, } - /// Visualization configurations for image explanation. + /// Visualization configurations for image explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Visualization { - /// Type of the image visualization. Only applicable to - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\]. - /// OUTLINES shows regions of attribution, while PIXELS shows per-pixel - /// attribution. Defaults to OUTLINES. + /// Type of the image visualization. Only applicable to + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\]. + /// OUTLINES shows regions of attribution, while PIXELS shows per-pixel + /// attribution. Defaults to OUTLINES. #[prost(enumeration="visualization::Type", tag="1")] pub r#type: i32, - /// Whether to only highlight pixels with positive contributions, negative - /// or both. Defaults to POSITIVE. + /// Whether to only highlight pixels with positive contributions, negative + /// or both. Defaults to POSITIVE. #[prost(enumeration="visualization::Polarity", tag="2")] pub polarity: i32, - /// The color scheme used for the highlighted areas. + /// The color scheme used for the highlighted areas. /// - /// Defaults to PINK_GREEN for - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\], - /// which shows positive attributions in green and negative in pink. + /// Defaults to PINK_GREEN for + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\], + /// which shows positive attributions in green and negative in pink. /// - /// Defaults to VIRIDIS for - /// [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\], which - /// highlights the most influential regions in yellow and the least - /// influential in blue. + /// Defaults to VIRIDIS for + /// [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\], which + /// highlights the most influential regions in yellow and the least + /// influential in blue. #[prost(enumeration="visualization::ColorMap", tag="3")] pub color_map: i32, - /// Excludes attributions above the specified percentile from the - /// highlighted areas. Using the clip_percent_upperbound and - /// clip_percent_lowerbound together can be useful for filtering out noise - /// and making it easier to see areas of strong attribution. Defaults to - /// 99.9. + /// Excludes attributions above the specified percentile from the + /// highlighted areas. Using the clip_percent_upperbound and + /// clip_percent_lowerbound together can be useful for filtering out noise + /// and making it easier to see areas of strong attribution. Defaults to + /// 99.9. #[prost(float, tag="4")] pub clip_percent_upperbound: f32, - /// Excludes attributions below the specified percentile, from the - /// highlighted areas. Defaults to 62. + /// Excludes attributions below the specified percentile, from the + /// highlighted areas. Defaults to 62. #[prost(float, tag="5")] pub clip_percent_lowerbound: f32, - /// How the original image is displayed in the visualization. - /// Adjusting the overlay can help increase visual clarity if the original - /// image makes it difficult to view the visualization. Defaults to NONE. + /// How the original image is displayed in the visualization. + /// Adjusting the overlay can help increase visual clarity if the original + /// image makes it difficult to view the visualization. Defaults to NONE. #[prost(enumeration="visualization::OverlayType", tag="6")] pub overlay_type: i32, } /// Nested message and enum types in `Visualization`. pub mod visualization { - /// Type of the image visualization. Only applicable to - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\]. + /// Type of the image visualization. Only applicable to + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\]. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Shows which pixel contributed to the image prediction. + /// Shows which pixel contributed to the image prediction. Pixels = 1, - /// Shows which region contributed to the image prediction by outlining - /// the region. + /// Shows which region contributed to the image prediction by outlining + /// the region. Outlines = 2, } impl Type { @@ -500,20 +500,20 @@ pub mod explanation_metadata { } } } - /// Whether to only highlight pixels with positive contributions, negative - /// or both. Defaults to POSITIVE. + /// Whether to only highlight pixels with positive contributions, negative + /// or both. Defaults to POSITIVE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Polarity { - /// Default value. This is the same as POSITIVE. + /// Default value. This is the same as POSITIVE. Unspecified = 0, - /// Highlights the pixels/outlines that were most influential to the - /// model's prediction. + /// Highlights the pixels/outlines that were most influential to the + /// model's prediction. Positive = 1, - /// Setting polarity to negative highlights areas that does not lead to - /// the models's current prediction. + /// Setting polarity to negative highlights areas that does not lead to + /// the models's current prediction. Negative = 2, - /// Shows both positive and negative attributions. + /// Shows both positive and negative attributions. Both = 3, } impl Polarity { @@ -530,25 +530,25 @@ pub mod explanation_metadata { } } } - /// The color scheme used for highlighting areas. + /// The color scheme used for highlighting areas. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ColorMap { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Positive: green. Negative: pink. + /// Positive: green. Negative: pink. PinkGreen = 1, - /// Viridis color map: A perceptually uniform color mapping which is - /// easier to see by those with colorblindness and progresses from yellow - /// to green to blue. Positive: yellow. Negative: blue. + /// Viridis color map: A perceptually uniform color mapping which is + /// easier to see by those with colorblindness and progresses from yellow + /// to green to blue. Positive: yellow. Negative: blue. Viridis = 2, - /// Positive: red. Negative: red. + /// Positive: red. Negative: red. Red = 3, - /// Positive: green. Negative: green. + /// Positive: green. Negative: green. Green = 4, - /// Positive: green. Negative: red. + /// Positive: green. Negative: red. RedGreen = 6, - /// PiYG palette. + /// PiYG palette. PinkWhiteGreen = 5, } impl ColorMap { @@ -568,21 +568,21 @@ pub mod explanation_metadata { } } } - /// How the original image is displayed in the visualization. + /// How the original image is displayed in the visualization. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OverlayType { - /// Default value. This is the same as NONE. + /// Default value. This is the same as NONE. Unspecified = 0, - /// No overlay. + /// No overlay. None = 1, - /// The attributions are shown on top of the original image. + /// The attributions are shown on top of the original image. Original = 2, - /// The attributions are shown on top of grayscaled version of the - /// original image. + /// The attributions are shown on top of grayscaled version of the + /// original image. Grayscale = 3, - /// The attributions are used as a mask to reveal predictive parts of - /// the image and hide the un-predictive parts. + /// The attributions are used as a mask to reveal predictive parts of + /// the image and hide the un-predictive parts. MaskBlack = 4, } impl OverlayType { @@ -601,60 +601,60 @@ pub mod explanation_metadata { } } } - /// Defines how a feature is encoded. Defaults to IDENTITY. + /// Defines how a feature is encoded. Defaults to IDENTITY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Default value. This is the same as IDENTITY. + /// Default value. This is the same as IDENTITY. Unspecified = 0, - /// The tensor represents one feature. + /// The tensor represents one feature. Identity = 1, - /// The tensor represents a bag of features where each index maps to - /// a feature. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided for - /// this encoding. For example: - /// ``` - /// input = [27, 6.0, 150] - /// index_feature_mapping = ["age", "height", "weight"] - /// ``` + /// The tensor represents a bag of features where each index maps to + /// a feature. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided for + /// this encoding. For example: + /// ``` + /// input = [27, 6.0, 150] + /// index_feature_mapping = ["age", "height", "weight"] + /// ``` BagOfFeatures = 2, - /// The tensor represents a bag of features where each index maps to a - /// feature. Zero values in the tensor indicates feature being - /// non-existent. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided - /// for this encoding. For example: - /// ``` - /// input = [2, 0, 5, 0, 1] - /// index_feature_mapping = ["a", "b", "c", "d", "e"] - /// ``` + /// The tensor represents a bag of features where each index maps to a + /// feature. Zero values in the tensor indicates feature being + /// non-existent. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided + /// for this encoding. For example: + /// ``` + /// input = [2, 0, 5, 0, 1] + /// index_feature_mapping = ["a", "b", "c", "d", "e"] + /// ``` BagOfFeaturesSparse = 3, - /// The tensor is a list of binaries representing whether a feature exists - /// or not (1 indicates existence). \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] - /// must be provided for this encoding. For example: - /// ``` - /// input = [1, 0, 1, 0, 1] - /// index_feature_mapping = ["a", "b", "c", "d", "e"] - /// ``` + /// The tensor is a list of binaries representing whether a feature exists + /// or not (1 indicates existence). \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.index_feature_mapping\] + /// must be provided for this encoding. For example: + /// ``` + /// input = [1, 0, 1, 0, 1] + /// index_feature_mapping = ["a", "b", "c", "d", "e"] + /// ``` Indicator = 4, - /// The tensor is encoded into a 1-dimensional array represented by an - /// encoded tensor. \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided - /// for this encoding. For example: - /// ``` - /// input = ["This", "is", "a", "test", "."] - /// encoded = [0.1, 0.2, 0.3, 0.4, 0.5] - /// ``` + /// The tensor is encoded into a 1-dimensional array represented by an + /// encoded tensor. \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided + /// for this encoding. For example: + /// ``` + /// input = ["This", "is", "a", "test", "."] + /// encoded = [0.1, 0.2, 0.3, 0.4, 0.5] + /// ``` CombinedEmbedding = 5, - /// Select this encoding when the input tensor is encoded into a - /// 2-dimensional array represented by an encoded tensor. - /// \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided for this - /// encoding. The first dimension of the encoded tensor's shape is the same - /// as the input tensor's shape. For example: - /// ``` - /// input = ["This", "is", "a", "test", "."] - /// encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], + /// Select this encoding when the input tensor is encoded into a + /// 2-dimensional array represented by an encoded tensor. + /// \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided for this + /// encoding. The first dimension of the encoded tensor's shape is the same + /// as the input tensor's shape. For example: + /// ``` + /// input = ["This", "is", "a", "test", "."] + /// encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], /// [0.2, 0.1, 0.4, 0.3, 0.5], /// [0.5, 0.1, 0.3, 0.5, 0.4], /// [0.5, 0.3, 0.1, 0.2, 0.4], /// [0.4, 0.3, 0.2, 0.5, 0.1]] - /// ``` + /// ``` ConcatEmbedding = 6, } impl Encoding { @@ -675,138 +675,138 @@ pub mod explanation_metadata { } } } - /// Metadata of the prediction output to be explained. + /// Metadata of the prediction output to be explained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputMetadata { - /// Name of the output tensor. Required and is only applicable to Vertex - /// AI provided images for Tensorflow. + /// Name of the output tensor. Required and is only applicable to Vertex + /// AI provided images for Tensorflow. #[prost(string, tag="3")] pub output_tensor_name: ::prost::alloc::string::String, - /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] to - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\]. + /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] to + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\]. /// - /// If neither of the fields are specified, - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] will not be populated. + /// If neither of the fields are specified, + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] will not be populated. #[prost(oneof="output_metadata::DisplayNameMapping", tags="1, 2")] pub display_name_mapping: ::core::option::Option, } /// Nested message and enum types in `OutputMetadata`. pub mod output_metadata { - /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] to - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\]. + /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] to + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\]. /// - /// If neither of the fields are specified, - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] will not be populated. + /// If neither of the fields are specified, + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] will not be populated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DisplayNameMapping { - /// Static mapping between the index and display name. + /// Static mapping between the index and display name. /// - /// Use this if the outputs are a deterministic n-dimensional array, e.g. a - /// list of scores of all the classes in a pre-defined order for a - /// multi-classification Model. It's not feasible if the outputs are - /// non-deterministic, e.g. the Model produces top-k classes or sort the - /// outputs by their values. + /// Use this if the outputs are a deterministic n-dimensional array, e.g. a + /// list of scores of all the classes in a pre-defined order for a + /// multi-classification Model. It's not feasible if the outputs are + /// non-deterministic, e.g. the Model produces top-k classes or sort the + /// outputs by their values. /// - /// The shape of the value must be an n-dimensional array of strings. The - /// number of dimensions must match that of the outputs to be explained. - /// The \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] is populated by locating in the - /// mapping with \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. + /// The shape of the value must be an n-dimensional array of strings. The + /// number of dimensions must match that of the outputs to be explained. + /// The \[Attribution.output_display_name][google.cloud.aiplatform.v1.Attribution.output_display_name\] is populated by locating in the + /// mapping with \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. #[prost(message, tag="1")] IndexDisplayNameMapping(::prost_types::Value), - /// Specify a field name in the prediction to look for the display name. + /// Specify a field name in the prediction to look for the display name. /// - /// Use this if the prediction contains the display names for the outputs. + /// Use this if the prediction contains the display names for the outputs. /// - /// The display names in the prediction must have the same shape of the - /// outputs, so that it can be located by \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] for - /// a specific output. + /// The display names in the prediction must have the same shape of the + /// outputs, so that it can be located by \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] for + /// a specific output. #[prost(string, tag="2")] DisplayNameMappingKey(::prost::alloc::string::String), } } } -/// Explanation of a prediction (provided in \[PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions\]) -/// produced by the Model on a given \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\]. +/// Explanation of a prediction (provided in \[PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions\]) +/// produced by the Model on a given \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explanation { - /// Output only. Feature attributions grouped by predicted outputs. - /// - /// For Models that predict only one output, such as regression Models that - /// predict only one score, there is only one attibution that explains the - /// predicted output. For Models that predict multiple outputs, such as - /// multiclass Models that predict multiple classes, each element explains one - /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] can be used to identify which - /// output this attribution is explaining. - /// - /// If users set \[ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k\], the attributions are sorted - /// by \[instance_output_value][Attributions.instance_output_value\] in - /// descending order. If \[ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices\] is specified, - /// the attributions are stored by \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] in the same - /// order as they appear in the output_indices. + /// Output only. Feature attributions grouped by predicted outputs. + /// + /// For Models that predict only one output, such as regression Models that + /// predict only one score, there is only one attibution that explains the + /// predicted output. For Models that predict multiple outputs, such as + /// multiclass Models that predict multiple classes, each element explains one + /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] can be used to identify which + /// output this attribution is explaining. + /// + /// If users set \[ExplanationParameters.top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k\], the attributions are sorted + /// by \[instance_output_value][Attributions.instance_output_value\] in + /// descending order. If \[ExplanationParameters.output_indices][google.cloud.aiplatform.v1.ExplanationParameters.output_indices\] is specified, + /// the attributions are stored by \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] in the same + /// order as they appear in the output_indices. #[prost(message, repeated, tag="1")] pub attributions: ::prost::alloc::vec::Vec, - /// Output only. List of the nearest neighbors for example-based explanations. + /// Output only. List of the nearest neighbors for example-based explanations. /// - /// For models deployed with the examples explanations feature enabled, the - /// attributions field is empty and instead the neighbors field is populated. + /// For models deployed with the examples explanations feature enabled, the + /// attributions field is empty and instead the neighbors field is populated. #[prost(message, repeated, tag="2")] pub neighbors: ::prost::alloc::vec::Vec, } -/// Aggregated explanation metrics for a Model over a set of instances. +/// Aggregated explanation metrics for a Model over a set of instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelExplanation { - /// Output only. Aggregated attributions explaining the Model's prediction outputs over the - /// set of instances. The attributions are grouped by outputs. - /// - /// For Models that predict only one output, such as regression Models that - /// predict only one score, there is only one attibution that explains the - /// predicted output. For Models that predict multiple outputs, such as - /// multiclass Models that predict multiple classes, each element explains one - /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] can be used to identify which - /// output this attribution is explaining. - /// - /// The \[baselineOutputValue][google.cloud.aiplatform.v1.Attribution.baseline_output_value\], - /// \[instanceOutputValue][google.cloud.aiplatform.v1.Attribution.instance_output_value\] and - /// \[featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] fields are - /// averaged over the test data. - /// - /// NOTE: Currently AutoML tabular classification Models produce only one - /// attribution, which averages attributions over all the classes it predicts. - /// \[Attribution.approximation_error][google.cloud.aiplatform.v1.Attribution.approximation_error\] is not populated. + /// Output only. Aggregated attributions explaining the Model's prediction outputs over the + /// set of instances. The attributions are grouped by outputs. + /// + /// For Models that predict only one output, such as regression Models that + /// predict only one score, there is only one attibution that explains the + /// predicted output. For Models that predict multiple outputs, such as + /// multiclass Models that predict multiple classes, each element explains one + /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1.Attribution.output_index\] can be used to identify which + /// output this attribution is explaining. + /// + /// The \[baselineOutputValue][google.cloud.aiplatform.v1.Attribution.baseline_output_value\], + /// \[instanceOutputValue][google.cloud.aiplatform.v1.Attribution.instance_output_value\] and + /// \[featureAttributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] fields are + /// averaged over the test data. + /// + /// NOTE: Currently AutoML tabular classification Models produce only one + /// attribution, which averages attributions over all the classes it predicts. + /// \[Attribution.approximation_error][google.cloud.aiplatform.v1.Attribution.approximation_error\] is not populated. #[prost(message, repeated, tag="1")] pub mean_attributions: ::prost::alloc::vec::Vec, } -/// Attribution that explains a particular prediction output. +/// Attribution that explains a particular prediction output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Attribution { - /// Output only. Model predicted output if the input instance is constructed from the - /// baselines of all the features defined in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. - /// The field name of the output is determined by the key in - /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. + /// Output only. Model predicted output if the input instance is constructed from the + /// baselines of all the features defined in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. + /// The field name of the output is determined by the key in + /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. /// - /// If the Model's predicted output has multiple dimensions (rank > 1), this is - /// the value in the output located by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. + /// If the Model's predicted output has multiple dimensions (rank > 1), this is + /// the value in the output located by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. /// - /// If there are multiple baselines, their output values are averaged. + /// If there are multiple baselines, their output values are averaged. #[prost(double, tag="1")] pub baseline_output_value: f64, - /// Output only. Model predicted output on the corresponding [explanation - /// instance]\[ExplainRequest.instances\]. The field name of the output is - /// determined by the key in \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. + /// Output only. Model predicted output on the corresponding [explanation + /// instance]\[ExplainRequest.instances\]. The field name of the output is + /// determined by the key in \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. /// - /// If the Model predicted output has multiple dimensions, this is the value in - /// the output located by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. + /// If the Model predicted output has multiple dimensions, this is the value in + /// the output located by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. #[prost(double, tag="2")] pub instance_output_value: f64, - /// Output only. Attributions of each explained feature. Features are extracted from - /// the [prediction instances]\[google.cloud.aiplatform.v1.ExplainRequest.instances\] according to - /// [explanation metadata for inputs]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. + /// Output only. Attributions of each explained feature. Features are extracted from + /// the [prediction instances]\[google.cloud.aiplatform.v1.ExplainRequest.instances\] according to + /// [explanation metadata for inputs]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. /// - /// The value is a struct, whose keys are the name of the feature. The values - /// are how much the feature in the \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\] - /// contributed to the predicted result. + /// The value is a struct, whose keys are the name of the feature. The values + /// are how much the feature in the \[instance][google.cloud.aiplatform.v1.ExplainRequest.instances\] + /// contributed to the predicted result. /// - /// The format of the value is determined by the feature's input format: + /// The format of the value is determined by the feature's input format: /// /// * If the feature is a scalar value, the attribution value is a /// [floating number]\[google.protobuf.Value.number_value\]. @@ -820,94 +820,94 @@ pub struct Attribution { /// struct. The formats of the values in the attribution struct are /// determined by the formats of the values in the feature struct. /// - /// The \[ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri\] field, - /// pointed to by the \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] field of the - /// \[Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models\] object, points to the schema file that - /// describes the features and their attribution values (if it is populated). + /// The \[ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1.ExplanationMetadata.feature_attributions_schema_uri\] field, + /// pointed to by the \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] field of the + /// \[Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models\] object, points to the schema file that + /// describes the features and their attribution values (if it is populated). #[prost(message, optional, tag="3")] pub feature_attributions: ::core::option::Option<::prost_types::Value>, - /// Output only. The index that locates the explained prediction output. + /// Output only. The index that locates the explained prediction output. /// - /// If the prediction output is a scalar value, output_index is not populated. - /// If the prediction output has multiple dimensions, the length of the - /// output_index list is the same as the number of dimensions of the output. - /// The i-th element in output_index is the element index of the i-th dimension - /// of the output vector. Indices start from 0. + /// If the prediction output is a scalar value, output_index is not populated. + /// If the prediction output has multiple dimensions, the length of the + /// output_index list is the same as the number of dimensions of the output. + /// The i-th element in output_index is the element index of the i-th dimension + /// of the output vector. Indices start from 0. #[prost(int32, repeated, packed="false", tag="4")] pub output_index: ::prost::alloc::vec::Vec, - /// Output only. The display name of the output identified by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. For example, - /// the predicted class name by a multi-classification Model. + /// Output only. The display name of the output identified by \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\]. For example, + /// the predicted class name by a multi-classification Model. /// - /// This field is only populated iff the Model predicts display names as a - /// separate field along with the explained output. The predicted display name - /// must has the same shape of the explained output, and can be located using - /// output_index. + /// This field is only populated iff the Model predicts display names as a + /// separate field along with the explained output. The predicted display name + /// must has the same shape of the explained output, and can be located using + /// output_index. #[prost(string, tag="5")] pub output_display_name: ::prost::alloc::string::String, - /// Output only. Error of \[feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] caused by approximation used in the - /// explanation method. Lower value means more precise attributions. - /// - /// * For Sampled Shapley - /// \[attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution\], - /// increasing \[path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count\] might reduce - /// the error. - /// * For Integrated Gradients - /// \[attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\], - /// increasing \[step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count\] might - /// reduce the error. - /// * For [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\], - /// increasing - /// \[step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count\] might reduce the error. - /// - /// See [this introduction](/vertex-ai/docs/explainable-ai/overview) - /// for more information. + /// Output only. Error of \[feature_attributions][google.cloud.aiplatform.v1.Attribution.feature_attributions\] caused by approximation used in the + /// explanation method. Lower value means more precise attributions. + /// + /// * For Sampled Shapley + /// \[attribution][google.cloud.aiplatform.v1.ExplanationParameters.sampled_shapley_attribution\], + /// increasing \[path_count][google.cloud.aiplatform.v1.SampledShapleyAttribution.path_count\] might reduce + /// the error. + /// * For Integrated Gradients + /// \[attribution][google.cloud.aiplatform.v1.ExplanationParameters.integrated_gradients_attribution\], + /// increasing \[step_count][google.cloud.aiplatform.v1.IntegratedGradientsAttribution.step_count\] might + /// reduce the error. + /// * For [XRAI attribution]\[google.cloud.aiplatform.v1.ExplanationParameters.xrai_attribution\], + /// increasing + /// \[step_count][google.cloud.aiplatform.v1.XraiAttribution.step_count\] might reduce the error. + /// + /// See [this introduction](/vertex-ai/docs/explainable-ai/overview) + /// for more information. #[prost(double, tag="6")] pub approximation_error: f64, - /// Output only. Name of the explain output. Specified as the key in - /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. + /// Output only. Name of the explain output. Specified as the key in + /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1.ExplanationMetadata.outputs\]. #[prost(string, tag="7")] pub output_name: ::prost::alloc::string::String, } -/// Neighbors for example-based explanations. +/// Neighbors for example-based explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Neighbor { - /// Output only. The neighbor id. + /// Output only. The neighbor id. #[prost(string, tag="1")] pub neighbor_id: ::prost::alloc::string::String, - /// Output only. The neighbor distance. + /// Output only. The neighbor distance. #[prost(double, tag="2")] pub neighbor_distance: f64, } -/// Specification of Model explanation. +/// Specification of Model explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationSpec { - /// Required. Parameters that configure explaining of the Model's predictions. + /// Required. Parameters that configure explaining of the Model's predictions. #[prost(message, optional, tag="1")] pub parameters: ::core::option::Option, - /// Optional. Metadata describing the Model's input and output for explanation. + /// Optional. Metadata describing the Model's input and output for explanation. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } -/// Parameters to configure explaining for Model's predictions. +/// Parameters to configure explaining for Model's predictions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationParameters { - /// If populated, returns attributions for top K indices of outputs - /// (defaults to 1). Only applies to Models that predicts more than one outputs - /// (e,g, multi-class Models). When set to -1, returns explanations for all - /// outputs. + /// If populated, returns attributions for top K indices of outputs + /// (defaults to 1). Only applies to Models that predicts more than one outputs + /// (e,g, multi-class Models). When set to -1, returns explanations for all + /// outputs. #[prost(int32, tag="4")] pub top_k: i32, - /// If populated, only returns attributions that have - /// \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\] contained in output_indices. It - /// must be an ndarray of integers, with the same shape of the output it's - /// explaining. + /// If populated, only returns attributions that have + /// \[output_index][google.cloud.aiplatform.v1.Attribution.output_index\] contained in output_indices. It + /// must be an ndarray of integers, with the same shape of the output it's + /// explaining. /// - /// If not populated, returns attributions for \[top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k\] indices of outputs. - /// If neither top_k nor output_indices is populated, returns the argmax - /// index of the outputs. + /// If not populated, returns attributions for \[top_k][google.cloud.aiplatform.v1.ExplanationParameters.top_k\] indices of outputs. + /// If neither top_k nor output_indices is populated, returns the argmax + /// index of the outputs. /// - /// Only applicable to Models that predict multiple outputs (e,g, multi-class - /// Models that predict multiple classes). + /// Only applicable to Models that predict multiple outputs (e,g, multi-class + /// Models that predict multiple classes). #[prost(message, optional, tag="5")] pub output_indices: ::core::option::Option<::prost_types::ListValue>, #[prost(oneof="explanation_parameters::Method", tags="1, 2, 3")] @@ -917,271 +917,271 @@ pub struct ExplanationParameters { pub mod explanation_parameters { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Method { - /// An attribution method that approximates Shapley values for features that - /// contribute to the label being predicted. A sampling strategy is used to - /// approximate the value rather than considering all subsets of features. - /// Refer to this paper for model details: + /// An attribution method that approximates Shapley values for features that + /// contribute to the label being predicted. A sampling strategy is used to + /// approximate the value rather than considering all subsets of features. + /// Refer to this paper for model details: #[prost(message, tag="1")] SampledShapleyAttribution(super::SampledShapleyAttribution), - /// An attribution method that computes Aumann-Shapley values taking - /// advantage of the model's fully differentiable structure. Refer to this - /// paper for more details: + /// An attribution method that computes Aumann-Shapley values taking + /// advantage of the model's fully differentiable structure. Refer to this + /// paper for more details: #[prost(message, tag="2")] IntegratedGradientsAttribution(super::IntegratedGradientsAttribution), - /// An attribution method that redistributes Integrated Gradients - /// attribution to segmented regions, taking advantage of the model's fully - /// differentiable structure. Refer to this paper for - /// more details: + /// An attribution method that redistributes Integrated Gradients + /// attribution to segmented regions, taking advantage of the model's fully + /// differentiable structure. Refer to this paper for + /// more details: /// - /// XRAI currently performs better on natural images, like a picture of a - /// house or an animal. If the images are taken in artificial environments, - /// like a lab or manufacturing line, or from diagnostic equipment, like - /// x-rays or quality-control cameras, use Integrated Gradients instead. + /// XRAI currently performs better on natural images, like a picture of a + /// house or an animal. If the images are taken in artificial environments, + /// like a lab or manufacturing line, or from diagnostic equipment, like + /// x-rays or quality-control cameras, use Integrated Gradients instead. #[prost(message, tag="3")] XraiAttribution(super::XraiAttribution), } } -/// An attribution method that approximates Shapley values for features that -/// contribute to the label being predicted. A sampling strategy is used to -/// approximate the value rather than considering all subsets of features. +/// An attribution method that approximates Shapley values for features that +/// contribute to the label being predicted. A sampling strategy is used to +/// approximate the value rather than considering all subsets of features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampledShapleyAttribution { - /// Required. The number of feature permutations to consider when approximating the - /// Shapley values. + /// Required. The number of feature permutations to consider when approximating the + /// Shapley values. /// - /// Valid range of its value is [1, 50], inclusively. + /// Valid range of its value is [1, 50], inclusively. #[prost(int32, tag="1")] pub path_count: i32, } -/// An attribution method that computes the Aumann-Shapley value taking advantage -/// of the model's fully differentiable structure. Refer to this paper for -/// more details: +/// An attribution method that computes the Aumann-Shapley value taking advantage +/// of the model's fully differentiable structure. Refer to this paper for +/// more details: #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegratedGradientsAttribution { - /// Required. The number of steps for approximating the path integral. - /// A good value to start is 50 and gradually increase until the - /// sum to diff property is within the desired error range. + /// Required. The number of steps for approximating the path integral. + /// A good value to start is 50 and gradually increase until the + /// sum to diff property is within the desired error range. /// - /// Valid range of its value is [1, 100], inclusively. + /// Valid range of its value is [1, 100], inclusively. #[prost(int32, tag="1")] pub step_count: i32, - /// Config for SmoothGrad approximation of gradients. + /// Config for SmoothGrad approximation of gradients. /// - /// When enabled, the gradients are approximated by averaging the gradients - /// from noisy samples in the vicinity of the inputs. Adding - /// noise can help improve the computed gradients. Refer to this paper for more - /// details: + /// When enabled, the gradients are approximated by averaging the gradients + /// from noisy samples in the vicinity of the inputs. Adding + /// noise can help improve the computed gradients. Refer to this paper for more + /// details: #[prost(message, optional, tag="2")] pub smooth_grad_config: ::core::option::Option, - /// Config for IG with blur baseline. + /// Config for IG with blur baseline. /// - /// When enabled, a linear path from the maximally blurred image to the input - /// image is created. Using a blurred baseline instead of zero (black image) is - /// motivated by the BlurIG approach explained here: - /// + /// When enabled, a linear path from the maximally blurred image to the input + /// image is created. Using a blurred baseline instead of zero (black image) is + /// motivated by the BlurIG approach explained here: + /// #[prost(message, optional, tag="3")] pub blur_baseline_config: ::core::option::Option, } -/// An explanation method that redistributes Integrated Gradients -/// attributions to segmented regions, taking advantage of the model's fully -/// differentiable structure. Refer to this paper for more details: -/// +/// An explanation method that redistributes Integrated Gradients +/// attributions to segmented regions, taking advantage of the model's fully +/// differentiable structure. Refer to this paper for more details: +/// /// -/// Supported only by image Models. +/// Supported only by image Models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct XraiAttribution { - /// Required. The number of steps for approximating the path integral. - /// A good value to start is 50 and gradually increase until the - /// sum to diff property is met within the desired error range. + /// Required. The number of steps for approximating the path integral. + /// A good value to start is 50 and gradually increase until the + /// sum to diff property is met within the desired error range. /// - /// Valid range of its value is [1, 100], inclusively. + /// Valid range of its value is [1, 100], inclusively. #[prost(int32, tag="1")] pub step_count: i32, - /// Config for SmoothGrad approximation of gradients. + /// Config for SmoothGrad approximation of gradients. /// - /// When enabled, the gradients are approximated by averaging the gradients - /// from noisy samples in the vicinity of the inputs. Adding - /// noise can help improve the computed gradients. Refer to this paper for more - /// details: + /// When enabled, the gradients are approximated by averaging the gradients + /// from noisy samples in the vicinity of the inputs. Adding + /// noise can help improve the computed gradients. Refer to this paper for more + /// details: #[prost(message, optional, tag="2")] pub smooth_grad_config: ::core::option::Option, - /// Config for XRAI with blur baseline. + /// Config for XRAI with blur baseline. /// - /// When enabled, a linear path from the maximally blurred image to the input - /// image is created. Using a blurred baseline instead of zero (black image) is - /// motivated by the BlurIG approach explained here: - /// + /// When enabled, a linear path from the maximally blurred image to the input + /// image is created. Using a blurred baseline instead of zero (black image) is + /// motivated by the BlurIG approach explained here: + /// #[prost(message, optional, tag="3")] pub blur_baseline_config: ::core::option::Option, } -/// Config for SmoothGrad approximation of gradients. +/// Config for SmoothGrad approximation of gradients. /// -/// When enabled, the gradients are approximated by averaging the gradients from -/// noisy samples in the vicinity of the inputs. Adding noise can help improve -/// the computed gradients. Refer to this paper for more details: -/// +/// When enabled, the gradients are approximated by averaging the gradients from +/// noisy samples in the vicinity of the inputs. Adding noise can help improve +/// the computed gradients. Refer to this paper for more details: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmoothGradConfig { - /// The number of gradient samples to use for - /// approximation. The higher this number, the more accurate the gradient - /// is, but the runtime complexity increases by this factor as well. - /// Valid range of its value is [1, 50]. Defaults to 3. + /// The number of gradient samples to use for + /// approximation. The higher this number, the more accurate the gradient + /// is, but the runtime complexity increases by this factor as well. + /// Valid range of its value is [1, 50]. Defaults to 3. #[prost(int32, tag="3")] pub noisy_sample_count: i32, - /// Represents the standard deviation of the gaussian kernel - /// that will be used to add noise to the interpolated inputs - /// prior to computing gradients. + /// Represents the standard deviation of the gaussian kernel + /// that will be used to add noise to the interpolated inputs + /// prior to computing gradients. #[prost(oneof="smooth_grad_config::GradientNoiseSigma", tags="1, 2")] pub gradient_noise_sigma: ::core::option::Option, } /// Nested message and enum types in `SmoothGradConfig`. pub mod smooth_grad_config { - /// Represents the standard deviation of the gaussian kernel - /// that will be used to add noise to the interpolated inputs - /// prior to computing gradients. + /// Represents the standard deviation of the gaussian kernel + /// that will be used to add noise to the interpolated inputs + /// prior to computing gradients. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum GradientNoiseSigma { - /// This is a single float value and will be used to add noise to all the - /// features. Use this field when all features are normalized to have the - /// same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where - /// features are normalized to have 0-mean and 1-variance. Learn more about - /// \[normalization\](). + /// This is a single float value and will be used to add noise to all the + /// features. Use this field when all features are normalized to have the + /// same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where + /// features are normalized to have 0-mean and 1-variance. Learn more about + /// \[normalization\](). /// - /// For best results the recommended value is about 10% - 20% of the standard - /// deviation of the input feature. Refer to section 3.2 of the SmoothGrad - /// paper: Defaults to 0.1. + /// For best results the recommended value is about 10% - 20% of the standard + /// deviation of the input feature. Refer to section 3.2 of the SmoothGrad + /// paper: Defaults to 0.1. /// - /// If the distribution is different per feature, set - /// \[feature_noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.feature_noise_sigma\] instead - /// for each feature. + /// If the distribution is different per feature, set + /// \[feature_noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.feature_noise_sigma\] instead + /// for each feature. #[prost(float, tag="1")] NoiseSigma(f32), - /// This is similar to \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\], but - /// provides additional flexibility. A separate noise sigma can be provided - /// for each feature, which is useful if their distributions are different. - /// No noise is added to features that are not set. If this field is unset, - /// \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\] will be used for all - /// features. + /// This is similar to \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\], but + /// provides additional flexibility. A separate noise sigma can be provided + /// for each feature, which is useful if their distributions are different. + /// No noise is added to features that are not set. If this field is unset, + /// \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\] will be used for all + /// features. #[prost(message, tag="2")] FeatureNoiseSigma(super::FeatureNoiseSigma), } } -/// Noise sigma by features. Noise sigma represents the standard deviation of the -/// gaussian kernel that will be used to add noise to interpolated inputs prior -/// to computing gradients. +/// Noise sigma by features. Noise sigma represents the standard deviation of the +/// gaussian kernel that will be used to add noise to interpolated inputs prior +/// to computing gradients. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureNoiseSigma { - /// Noise sigma per feature. No noise is added to features that are not set. + /// Noise sigma per feature. No noise is added to features that are not set. #[prost(message, repeated, tag="1")] pub noise_sigma: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `FeatureNoiseSigma`. pub mod feature_noise_sigma { - /// Noise sigma for a single feature. + /// Noise sigma for a single feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NoiseSigmaForFeature { - /// The name of the input feature for which noise sigma is provided. The - /// features are defined in - /// [explanation metadata inputs]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. + /// The name of the input feature for which noise sigma is provided. The + /// features are defined in + /// [explanation metadata inputs]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\]. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This represents the standard deviation of the Gaussian kernel that will - /// be used to add noise to the feature prior to computing gradients. Similar - /// to \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\] but represents the - /// noise added to the current feature. Defaults to 0.1. + /// This represents the standard deviation of the Gaussian kernel that will + /// be used to add noise to the feature prior to computing gradients. Similar + /// to \[noise_sigma][google.cloud.aiplatform.v1.SmoothGradConfig.noise_sigma\] but represents the + /// noise added to the current feature. Defaults to 0.1. #[prost(float, tag="2")] pub sigma: f32, } } -/// Config for blur baseline. +/// Config for blur baseline. /// -/// When enabled, a linear path from the maximally blurred image to the input -/// image is created. Using a blurred baseline instead of zero (black image) is -/// motivated by the BlurIG approach explained here: -/// +/// When enabled, a linear path from the maximally blurred image to the input +/// image is created. Using a blurred baseline instead of zero (black image) is +/// motivated by the BlurIG approach explained here: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BlurBaselineConfig { - /// The standard deviation of the blur kernel for the blurred baseline. The - /// same blurring parameter is used for both the height and the width - /// dimension. If not set, the method defaults to the zero (i.e. black for - /// images) baseline. + /// The standard deviation of the blur kernel for the blurred baseline. The + /// same blurring parameter is used for both the height and the width + /// dimension. If not set, the method defaults to the zero (i.e. black for + /// images) baseline. #[prost(float, tag="1")] pub max_blur_sigma: f32, } -/// The \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] entries that can be overridden at -/// [online explanation]\[google.cloud.aiplatform.v1.PredictionService.Explain\] time. +/// The \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] entries that can be overridden at +/// [online explanation]\[google.cloud.aiplatform.v1.PredictionService.Explain\] time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationSpecOverride { - /// The parameters to be overridden. Note that the - /// \[method][google.cloud.aiplatform.v1.ExplanationParameters.method\] cannot be changed. If not specified, - /// no parameter is overridden. + /// The parameters to be overridden. Note that the + /// \[method][google.cloud.aiplatform.v1.ExplanationParameters.method\] cannot be changed. If not specified, + /// no parameter is overridden. #[prost(message, optional, tag="1")] pub parameters: ::core::option::Option, - /// The metadata to be overridden. If not specified, no metadata is overridden. + /// The metadata to be overridden. If not specified, no metadata is overridden. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, - /// The example-based explanations parameter overrides. + /// The example-based explanations parameter overrides. #[prost(message, optional, tag="3")] pub examples_override: ::core::option::Option, } -/// The \[ExplanationMetadata][google.cloud.aiplatform.v1.ExplanationMetadata\] entries that can be overridden at -/// [online explanation]\[google.cloud.aiplatform.v1.PredictionService.Explain\] time. +/// The \[ExplanationMetadata][google.cloud.aiplatform.v1.ExplanationMetadata\] entries that can be overridden at +/// [online explanation]\[google.cloud.aiplatform.v1.PredictionService.Explain\] time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationMetadataOverride { - /// Required. Overrides the [input metadata]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\] of the features. - /// The key is the name of the feature to be overridden. The keys specified - /// here must exist in the input metadata to be overridden. If a feature is - /// not specified here, the corresponding feature's input metadata is not - /// overridden. + /// Required. Overrides the [input metadata]\[google.cloud.aiplatform.v1.ExplanationMetadata.inputs\] of the features. + /// The key is the name of the feature to be overridden. The keys specified + /// here must exist in the input metadata to be overridden. If a feature is + /// not specified here, the corresponding feature's input metadata is not + /// overridden. #[prost(map="string, message", tag="1")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata_override::InputMetadataOverride>, } /// Nested message and enum types in `ExplanationMetadataOverride`. pub mod explanation_metadata_override { - /// The [input metadata]\[google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata\] entries to be - /// overridden. + /// The [input metadata]\[google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata\] entries to be + /// overridden. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputMetadataOverride { - /// Baseline inputs for this feature. + /// Baseline inputs for this feature. /// - /// This overrides the `input_baseline` field of the - /// \[ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata\] - /// object of the corresponding feature's input metadata. If it's not - /// specified, the original baselines are not overridden. + /// This overrides the `input_baseline` field of the + /// \[ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata\] + /// object of the corresponding feature's input metadata. If it's not + /// specified, the original baselines are not overridden. #[prost(message, repeated, tag="1")] pub input_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, } } -/// Overrides for example-based explanations. +/// Overrides for example-based explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplesOverride { - /// The number of neighbors to return. + /// The number of neighbors to return. #[prost(int32, tag="1")] pub neighbor_count: i32, - /// The number of neighbors to return that have the same crowding tag. + /// The number of neighbors to return that have the same crowding tag. #[prost(int32, tag="2")] pub crowding_count: i32, - /// Restrict the resulting nearest neighbors to respect these constraints. + /// Restrict the resulting nearest neighbors to respect these constraints. #[prost(message, repeated, tag="3")] pub restrictions: ::prost::alloc::vec::Vec, - /// If true, return the embeddings instead of neighbors. + /// If true, return the embeddings instead of neighbors. #[prost(bool, tag="4")] pub return_embeddings: bool, - /// The format of the data being provided with each call. + /// The format of the data being provided with each call. #[prost(enumeration="examples_override::DataFormat", tag="5")] pub data_format: i32, } /// Nested message and enum types in `ExamplesOverride`. pub mod examples_override { - /// Data format enum. + /// Data format enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Unspecified format. Must not be used. + /// Unspecified format. Must not be used. Unspecified = 0, - /// Provided data is a set of model inputs. + /// Provided data is a set of model inputs. Instances = 1, - /// Provided data is a set of embeddings. + /// Provided data is a set of embeddings. Embeddings = 2, } impl DataFormat { @@ -1198,139 +1198,139 @@ pub mod examples_override { } } } -/// Restrictions namespace for example-based explanations overrides. +/// Restrictions namespace for example-based explanations overrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplesRestrictionsNamespace { - /// The namespace name. + /// The namespace name. #[prost(string, tag="1")] pub namespace_name: ::prost::alloc::string::String, - /// The list of allowed tags. + /// The list of allowed tags. #[prost(string, repeated, tag="2")] pub allow: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of deny tags. + /// The list of deny tags. #[prost(string, repeated, tag="3")] pub deny: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The storage details for Avro input content. +/// The storage details for Avro input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSource { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// The storage details for CSV input content. +/// The storage details for CSV input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvSource { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// The Google Cloud Storage location for the input content. +/// The Google Cloud Storage location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Required. Google Cloud Storage URI(-s) to the input file(s). May contain - /// wildcards. For more information on wildcards, see - /// + /// Required. Google Cloud Storage URI(-s) to the input file(s). May contain + /// wildcards. For more information on wildcards, see + /// #[prost(string, repeated, tag="1")] pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The Google Cloud Storage location where the output is to be written to. +/// The Google Cloud Storage location where the output is to be written to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. Google Cloud Storage URI to output directory. If the uri doesn't end with - /// '/', a '/' will be automatically appended. The directory is created if it - /// doesn't exist. + /// Required. Google Cloud Storage URI to output directory. If the uri doesn't end with + /// '/', a '/' will be automatically appended. The directory is created if it + /// doesn't exist. #[prost(string, tag="1")] pub output_uri_prefix: ::prost::alloc::string::String, } -/// The BigQuery location for the input content. +/// The BigQuery location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQuerySource { - /// Required. BigQuery URI to a table, up to 2000 characters long. - /// Accepted forms: + /// Required. BigQuery URI to a table, up to 2000 characters long. + /// Accepted forms: /// - /// * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. + /// * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. #[prost(string, tag="1")] pub input_uri: ::prost::alloc::string::String, } -/// The BigQuery location for the output content. +/// The BigQuery location for the output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. BigQuery URI to a project or table, up to 2000 characters long. + /// Required. BigQuery URI to a project or table, up to 2000 characters long. /// - /// When only the project is specified, the Dataset and Table is created. - /// When the full table reference is specified, the Dataset must exist and - /// table must not exist. + /// When only the project is specified, the Dataset and Table is created. + /// When the full table reference is specified, the Dataset must exist and + /// table must not exist. /// - /// Accepted forms: + /// Accepted forms: /// - /// * BigQuery path. For example: - /// `bq://projectId` or `bq://projectId.bqDatasetId` or - /// `bq://projectId.bqDatasetId.bqTableId`. + /// * BigQuery path. For example: + /// `bq://projectId` or `bq://projectId.bqDatasetId` or + /// `bq://projectId.bqDatasetId.bqTableId`. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// The storage details for CSV output content. +/// The storage details for CSV output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvDestination { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_destination: ::core::option::Option, } -/// The storage details for TFRecord output content. +/// The storage details for TFRecord output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TfRecordDestination { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_destination: ::core::option::Option, } -/// The Container Registry location for the container image. +/// The Container Registry location for the container image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerRegistryDestination { - /// Required. Container Registry URI of a container image. - /// Only Google Container Registry and Artifact Registry are supported now. - /// Accepted forms: + /// Required. Container Registry URI of a container image. + /// Only Google Container Registry and Artifact Registry are supported now. + /// Accepted forms: /// - /// * Google Container Registry path. For example: + /// * Google Container Registry path. For example: /// `gcr.io/projectId/imageName:tag`. /// - /// * Artifact Registry path. For example: + /// * Artifact Registry path. For example: /// `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. /// - /// If a tag is not specified, "latest" will be used as the default tag. + /// If a tag is not specified, "latest" will be used as the default tag. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// Describes the state of a job. +/// Describes the state of a job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobState { - /// The job state is unspecified. + /// The job state is unspecified. Unspecified = 0, - /// The job has been just created or resumed and processing has not yet begun. + /// The job has been just created or resumed and processing has not yet begun. Queued = 1, - /// The service is preparing to run the job. + /// The service is preparing to run the job. Pending = 2, - /// The job is in progress. + /// The job is in progress. Running = 3, - /// The job completed successfully. + /// The job completed successfully. Succeeded = 4, - /// The job failed. + /// The job failed. Failed = 5, - /// The job is being cancelled. From this state the job may only go to - /// either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. + /// The job is being cancelled. From this state the job may only go to + /// either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. Cancelling = 6, - /// The job has been cancelled. + /// The job has been cancelled. Cancelled = 7, - /// The job has been stopped, and can be resumed. + /// The job has been stopped, and can be resumed. Paused = 8, - /// The job has expired. + /// The job has expired. Expired = 9, - /// The job is being updated. The job is only able to be updated at RUNNING - /// state; if the update operation succeeds, job goes back to RUNNING state; if - /// the update operation fails, the job goes back to RUNNING state with error - /// messages written to \[ModelDeploymentMonitoringJob.partial_errors][\] field - /// if it is a ModelDeploymentMonitoringJob. + /// The job is being updated. The job is only able to be updated at RUNNING + /// state; if the update operation succeeds, job goes back to RUNNING state; if + /// the update operation fails, the job goes back to RUNNING state with error + /// messages written to \[ModelDeploymentMonitoringJob.partial_errors][\] field + /// if it is a ModelDeploymentMonitoringJob. Updating = 10, } impl JobState { @@ -1354,489 +1354,489 @@ impl JobState { } } } -/// Specification of a single machine. +/// Specification of a single machine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineSpec { - /// Immutable. The type of the machine. + /// Immutable. The type of the machine. /// - /// See the [list of machine types supported for - /// prediction]() + /// See the [list of machine types supported for + /// prediction]() /// - /// See the [list of machine types supported for custom - /// training](). + /// See the [list of machine types supported for custom + /// training](). /// - /// For \[DeployedModel][google.cloud.aiplatform.v1.DeployedModel\] this field is optional, and the default - /// value is `n1-standard-2`. For \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\] or as part of - /// \[WorkerPoolSpec][google.cloud.aiplatform.v1.WorkerPoolSpec\] this field is required. + /// For \[DeployedModel][google.cloud.aiplatform.v1.DeployedModel\] this field is optional, and the default + /// value is `n1-standard-2`. For \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\] or as part of + /// \[WorkerPoolSpec][google.cloud.aiplatform.v1.WorkerPoolSpec\] this field is required. #[prost(string, tag="1")] pub machine_type: ::prost::alloc::string::String, - /// Immutable. The type of accelerator(s) that may be attached to the machine as per - /// \[accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\]. + /// Immutable. The type of accelerator(s) that may be attached to the machine as per + /// \[accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\]. #[prost(enumeration="AcceleratorType", tag="2")] pub accelerator_type: i32, - /// The number of accelerators to attach to the machine. + /// The number of accelerators to attach to the machine. #[prost(int32, tag="3")] pub accelerator_count: i32, } -/// A description of resources that are dedicated to a DeployedModel, and -/// that need a higher degree of manual configuration. +/// A description of resources that are dedicated to a DeployedModel, and +/// that need a higher degree of manual configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DedicatedResources { - /// Required. Immutable. The specification of a single machine used by the prediction. + /// Required. Immutable. The specification of a single machine used by the prediction. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Required. Immutable. The minimum number of machine replicas this DeployedModel will be always - /// deployed on. This value must be greater than or equal to 1. + /// Required. Immutable. The minimum number of machine replicas this DeployedModel will be always + /// deployed on. This value must be greater than or equal to 1. /// - /// If traffic against the DeployedModel increases, it may dynamically be - /// deployed onto more replicas, and as traffic decreases, some of these extra - /// replicas may be freed. + /// If traffic against the DeployedModel increases, it may dynamically be + /// deployed onto more replicas, and as traffic decreases, some of these extra + /// replicas may be freed. #[prost(int32, tag="2")] pub min_replica_count: i32, - /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when - /// the traffic against it increases. If the requested value is too large, - /// the deployment will error, but if deployment succeeds then the ability - /// to scale the model to that many replicas is guaranteed (barring service - /// outages). If traffic against the DeployedModel increases beyond what its - /// replicas at maximum may handle, a portion of the traffic will be dropped. - /// If this value is not provided, will use \[min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count\] as the - /// default value. - /// - /// The value of this field impacts the charge against Vertex CPU and GPU - /// quotas. Specifically, you will be charged for (max_replica_count * - /// number of cores in the selected machine type) and (max_replica_count * - /// number of GPUs per replica in the selected machine type). + /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when + /// the traffic against it increases. If the requested value is too large, + /// the deployment will error, but if deployment succeeds then the ability + /// to scale the model to that many replicas is guaranteed (barring service + /// outages). If traffic against the DeployedModel increases beyond what its + /// replicas at maximum may handle, a portion of the traffic will be dropped. + /// If this value is not provided, will use \[min_replica_count][google.cloud.aiplatform.v1.DedicatedResources.min_replica_count\] as the + /// default value. + /// + /// The value of this field impacts the charge against Vertex CPU and GPU + /// quotas. Specifically, you will be charged for (max_replica_count * + /// number of cores in the selected machine type) and (max_replica_count * + /// number of GPUs per replica in the selected machine type). #[prost(int32, tag="3")] pub max_replica_count: i32, - /// Immutable. The metric specifications that overrides a resource - /// utilization metric (CPU utilization, accelerator's duty cycle, and so on) - /// target value (default to 60 if not set). At most one entry is allowed per - /// metric. - /// - /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\] is - /// above 0, the autoscaling will be based on both CPU utilization and - /// accelerator's duty cycle metrics and scale up when either metrics exceeds - /// its target value while scale down if both metrics are under their target - /// value. The default target value is 60 for both metrics. - /// - /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\] is - /// 0, the autoscaling will be based on CPU utilization metric only with - /// default target value 60 if not explicitly set. - /// - /// For example, in the case of Online Prediction, if you want to override - /// target CPU utilization to 80, you should set - /// \[autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name\] - /// to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - /// \[autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target\] to `80`. + /// Immutable. The metric specifications that overrides a resource + /// utilization metric (CPU utilization, accelerator's duty cycle, and so on) + /// target value (default to 60 if not set). At most one entry is allowed per + /// metric. + /// + /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\] is + /// above 0, the autoscaling will be based on both CPU utilization and + /// accelerator's duty cycle metrics and scale up when either metrics exceeds + /// its target value while scale down if both metrics are under their target + /// value. The default target value is 60 for both metrics. + /// + /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1.MachineSpec.accelerator_count\] is + /// 0, the autoscaling will be based on CPU utilization metric only with + /// default target value 60 if not explicitly set. + /// + /// For example, in the case of Online Prediction, if you want to override + /// target CPU utilization to 80, you should set + /// \[autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1.AutoscalingMetricSpec.metric_name\] + /// to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and + /// \[autoscaling_metric_specs.target][google.cloud.aiplatform.v1.AutoscalingMetricSpec.target\] to `80`. #[prost(message, repeated, tag="4")] pub autoscaling_metric_specs: ::prost::alloc::vec::Vec, } -/// A description of resources that to large degree are decided by Vertex AI, -/// and require only a modest additional configuration. -/// Each Model supporting these resources documents its specific guidelines. +/// A description of resources that to large degree are decided by Vertex AI, +/// and require only a modest additional configuration. +/// Each Model supporting these resources documents its specific guidelines. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomaticResources { - /// Immutable. The minimum number of replicas this DeployedModel will be always deployed - /// on. If traffic against it increases, it may dynamically be deployed onto - /// more replicas up to \[max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count\], and as traffic decreases, some - /// of these extra replicas may be freed. - /// If the requested value is too large, the deployment will error. + /// Immutable. The minimum number of replicas this DeployedModel will be always deployed + /// on. If traffic against it increases, it may dynamically be deployed onto + /// more replicas up to \[max_replica_count][google.cloud.aiplatform.v1.AutomaticResources.max_replica_count\], and as traffic decreases, some + /// of these extra replicas may be freed. + /// If the requested value is too large, the deployment will error. #[prost(int32, tag="1")] pub min_replica_count: i32, - /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when - /// the traffic against it increases. If the requested value is too large, - /// the deployment will error, but if deployment succeeds then the ability - /// to scale the model to that many replicas is guaranteed (barring service - /// outages). If traffic against the DeployedModel increases beyond what its - /// replicas at maximum may handle, a portion of the traffic will be dropped. - /// If this value is not provided, a no upper bound for scaling under heavy - /// traffic will be assume, though Vertex AI may be unable to scale beyond - /// certain replica number. + /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when + /// the traffic against it increases. If the requested value is too large, + /// the deployment will error, but if deployment succeeds then the ability + /// to scale the model to that many replicas is guaranteed (barring service + /// outages). If traffic against the DeployedModel increases beyond what its + /// replicas at maximum may handle, a portion of the traffic will be dropped. + /// If this value is not provided, a no upper bound for scaling under heavy + /// traffic will be assume, though Vertex AI may be unable to scale beyond + /// certain replica number. #[prost(int32, tag="2")] pub max_replica_count: i32, } -/// A description of resources that are used for performing batch operations, are -/// dedicated to a Model, and need manual configuration. +/// A description of resources that are used for performing batch operations, are +/// dedicated to a Model, and need manual configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDedicatedResources { - /// Required. Immutable. The specification of a single machine. + /// Required. Immutable. The specification of a single machine. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Immutable. The number of machine replicas used at the start of the batch operation. - /// If not set, Vertex AI decides starting number, not greater than - /// \[max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count\] + /// Immutable. The number of machine replicas used at the start of the batch operation. + /// If not set, Vertex AI decides starting number, not greater than + /// \[max_replica_count][google.cloud.aiplatform.v1.BatchDedicatedResources.max_replica_count\] #[prost(int32, tag="2")] pub starting_replica_count: i32, - /// Immutable. The maximum number of machine replicas the batch operation may be scaled - /// to. The default value is 10. + /// Immutable. The maximum number of machine replicas the batch operation may be scaled + /// to. The default value is 10. #[prost(int32, tag="3")] pub max_replica_count: i32, } -/// Statistics information about resource consumption. +/// Statistics information about resource consumption. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcesConsumed { - /// Output only. The number of replica hours used. Note that many replicas may run in - /// parallel, and additionally any given work may be queued for some time. - /// Therefore this value is not strictly related to wall time. + /// Output only. The number of replica hours used. Note that many replicas may run in + /// parallel, and additionally any given work may be queued for some time. + /// Therefore this value is not strictly related to wall time. #[prost(double, tag="1")] pub replica_hours: f64, } -/// Represents the spec of disk options. +/// Represents the spec of disk options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskSpec { - /// Type of the boot disk (default is "pd-ssd"). - /// Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - /// "pd-standard" (Persistent Disk Hard Disk Drive). + /// Type of the boot disk (default is "pd-ssd"). + /// Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or + /// "pd-standard" (Persistent Disk Hard Disk Drive). #[prost(string, tag="1")] pub boot_disk_type: ::prost::alloc::string::String, - /// Size in GB of the boot disk (default is 100GB). + /// Size in GB of the boot disk (default is 100GB). #[prost(int32, tag="2")] pub boot_disk_size_gb: i32, } -/// Represents a mount configuration for Network File System (NFS) to mount. +/// Represents a mount configuration for Network File System (NFS) to mount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NfsMount { - /// Required. IP address of the NFS server. + /// Required. IP address of the NFS server. #[prost(string, tag="1")] pub server: ::prost::alloc::string::String, - /// Required. Source path exported from NFS server. - /// Has to start with '/', and combined with the ip address, it indicates - /// the source mount path in the form of `server:path` + /// Required. Source path exported from NFS server. + /// Has to start with '/', and combined with the ip address, it indicates + /// the source mount path in the form of `server:path` #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. Destination mount path. The NFS will be mounted for the user under - /// /mnt/nfs/ + /// Required. Destination mount path. The NFS will be mounted for the user under + /// /mnt/nfs/ #[prost(string, tag="3")] pub mount_point: ::prost::alloc::string::String, } -/// The metric specification that defines the target resource utilization -/// (CPU utilization, accelerator's duty cycle, and so on) for calculating the -/// desired replica count. +/// The metric specification that defines the target resource utilization +/// (CPU utilization, accelerator's duty cycle, and so on) for calculating the +/// desired replica count. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingMetricSpec { - /// Required. The resource metric name. - /// Supported metrics: + /// Required. The resource metric name. + /// Supported metrics: /// - /// * For Online Prediction: - /// * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - /// * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + /// * For Online Prediction: + /// * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` + /// * `aiplatform.googleapis.com/prediction/online/cpu/utilization` #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, - /// The target resource utilization in percentage (1% - 100%) for the given - /// metric; once the real usage deviates from the target by a certain - /// percentage, the machine replicas change. The default value is 60 - /// (representing 60%) if not provided. + /// The target resource utilization in percentage (1% - 100%) for the given + /// metric; once the real usage deviates from the target by a certain + /// percentage, the machine replicas change. The default value is 60 + /// (representing 60%) if not provided. #[prost(int32, tag="2")] pub target: i32, } -/// Manual batch tuning parameters. +/// Manual batch tuning parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualBatchTuningParameters { - /// Immutable. The number of the records (e.g. instances) of the operation given in - /// each batch to a machine replica. Machine type, and size of a single - /// record should be considered when setting this parameter, higher value - /// speeds up the batch operation's execution, but too high value will result - /// in a whole batch not fitting in a machine's memory, and the whole - /// operation will fail. - /// The default value is 64. + /// Immutable. The number of the records (e.g. instances) of the operation given in + /// each batch to a machine replica. Machine type, and size of a single + /// record should be considered when setting this parameter, higher value + /// speeds up the batch operation's execution, but too high value will result + /// in a whole batch not fitting in a machine's memory, and the whole + /// operation will fail. + /// The default value is 64. #[prost(int32, tag="1")] pub batch_size: i32, } -/// Points to a DeployedModel. +/// Points to a DeployedModel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedModelRef { - /// Immutable. A resource name of an Endpoint. + /// Immutable. A resource name of an Endpoint. #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Immutable. An ID of a DeployedModel in the above Endpoint. + /// Immutable. An ID of a DeployedModel in the above Endpoint. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, } -/// Represents an environment variable present in a Container or Python Module. +/// Represents an environment variable present in a Container or Python Module. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnvVar { - /// Required. Name of the environment variable. Must be a valid C identifier. + /// Required. Name of the environment variable. Must be a valid C identifier. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Variables that reference a $(VAR_NAME) are expanded - /// using the previous defined environment variables in the container and - /// any service environment variables. If a variable cannot be resolved, - /// the reference in the input string will be unchanged. The $(VAR_NAME) - /// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - /// references will never be expanded, regardless of whether the variable - /// exists or not. + /// Required. Variables that reference a $(VAR_NAME) are expanded + /// using the previous defined environment variables in the container and + /// any service environment variables. If a variable cannot be resolved, + /// the reference in the input string will be unchanged. The $(VAR_NAME) + /// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped + /// references will never be expanded, regardless of whether the variable + /// exists or not. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } -/// A trained machine learning Model. +/// A trained machine learning Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// The resource name of the Model. + /// The resource name of the Model. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Immutable. The version ID of the model. - /// A new version is committed when a new model version is uploaded or - /// trained under an existing model id. It is an auto-incrementing decimal - /// number in string representation. + /// Output only. Immutable. The version ID of the model. + /// A new version is committed when a new model version is uploaded or + /// trained under an existing model id. It is an auto-incrementing decimal + /// number in string representation. #[prost(string, tag="28")] pub version_id: ::prost::alloc::string::String, - /// User provided version aliases so that a model version can be referenced via - /// alias (i.e. - /// projects/{project}/locations/{location}/models/{model_id}@{version_alias} - /// instead of auto-generated version id (i.e. - /// projects/{project}/locations/{location}/models/{model_id}@{version_id}). - /// The format is \[a-z][a-zA-Z0-9-]{0,126}[a-z0-9\] to distinguish from - /// version_id. A default version alias will be created for the first version - /// of the model, and there must be exactly one default version alias for a - /// model. + /// User provided version aliases so that a model version can be referenced via + /// alias (i.e. + /// projects/{project}/locations/{location}/models/{model_id}@{version_alias} + /// instead of auto-generated version id (i.e. + /// projects/{project}/locations/{location}/models/{model_id}@{version_id}). + /// The format is \[a-z][a-zA-Z0-9-]{0,126}[a-z0-9\] to distinguish from + /// version_id. A default version alias will be created for the first version + /// of the model, and there must be exactly one default version alias for a + /// model. #[prost(string, repeated, tag="29")] pub version_aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Timestamp when this version was created. + /// Output only. Timestamp when this version was created. #[prost(message, optional, tag="31")] pub version_create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this version was most recently updated. + /// Output only. Timestamp when this version was most recently updated. #[prost(message, optional, tag="32")] pub version_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The display name of the Model. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Model. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Model. + /// The description of the Model. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The description of this version. + /// The description of this version. #[prost(string, tag="30")] pub version_description: ::prost::alloc::string::String, - /// The schemata that describe formats of the Model's predictions and - /// explanations as given and returned via - /// \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] and \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. + /// The schemata that describe formats of the Model's predictions and + /// explanations as given and returned via + /// \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] and \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. #[prost(message, optional, tag="4")] pub predict_schemata: ::core::option::Option, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Model, that is specific to it. Unset if the Model - /// does not have any additional information. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI, if no - /// additional metadata is needed, this field is set to an empty string. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Model, that is specific to it. Unset if the Model + /// does not have any additional information. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI, if no + /// additional metadata is needed, this field is set to an empty string. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="5")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// Immutable. An additional information about the Model; the schema of the metadata can - /// be found in \[metadata_schema][google.cloud.aiplatform.v1.Model.metadata_schema_uri\]. - /// Unset if the Model does not have any additional information. + /// Immutable. An additional information about the Model; the schema of the metadata can + /// be found in \[metadata_schema][google.cloud.aiplatform.v1.Model.metadata_schema_uri\]. + /// Unset if the Model does not have any additional information. #[prost(message, optional, tag="6")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. The formats in which this Model may be exported. If empty, this Model is - /// not available for export. + /// Output only. The formats in which this Model may be exported. If empty, this Model is + /// not available for export. #[prost(message, repeated, tag="20")] pub supported_export_formats: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the TrainingPipeline that uploaded this Model, if - /// any. + /// Output only. The resource name of the TrainingPipeline that uploaded this Model, if + /// any. #[prost(string, tag="7")] pub training_pipeline: ::prost::alloc::string::String, - /// Input only. The specification of the container that is to be used when deploying - /// this Model. The specification is ingested upon - /// \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\], and all binaries it contains are copied - /// and stored internally by Vertex AI. - /// Not present for AutoML Models. + /// Input only. The specification of the container that is to be used when deploying + /// this Model. The specification is ingested upon + /// \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\], and all binaries it contains are copied + /// and stored internally by Vertex AI. + /// Not present for AutoML Models. #[prost(message, optional, tag="9")] pub container_spec: ::core::option::Option, - /// Immutable. The path to the directory containing the Model artifact and any of its - /// supporting files. - /// Not present for AutoML Models. + /// Immutable. The path to the directory containing the Model artifact and any of its + /// supporting files. + /// Not present for AutoML Models. #[prost(string, tag="26")] pub artifact_uri: ::prost::alloc::string::String, - /// Output only. When this Model is deployed, its prediction resources are described by the - /// `prediction_resources` field of the \[Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models\] object. - /// Because not all Models support all resource configuration types, the - /// configuration types this Model supports are listed here. If no - /// configuration types are listed, the Model cannot be deployed to an - /// \[Endpoint][google.cloud.aiplatform.v1.Endpoint\] and does not support - /// online predictions (\[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]). Such a Model can serve predictions by - /// using a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\], if it has at least one entry each in - /// \[supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\] and - /// \[supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\]. + /// Output only. When this Model is deployed, its prediction resources are described by the + /// `prediction_resources` field of the \[Endpoint.deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models\] object. + /// Because not all Models support all resource configuration types, the + /// configuration types this Model supports are listed here. If no + /// configuration types are listed, the Model cannot be deployed to an + /// \[Endpoint][google.cloud.aiplatform.v1.Endpoint\] and does not support + /// online predictions (\[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]). Such a Model can serve predictions by + /// using a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\], if it has at least one entry each in + /// \[supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\] and + /// \[supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\]. #[prost(enumeration="model::DeploymentResourcesType", repeated, packed="false", tag="10")] pub supported_deployment_resources_types: ::prost::alloc::vec::Vec, - /// Output only. The formats this Model supports in - /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. If - /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] exists, the instances - /// should be given as per that schema. + /// Output only. The formats this Model supports in + /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. If + /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] exists, the instances + /// should be given as per that schema. /// - /// The possible formats are: + /// The possible formats are: /// - /// * `jsonl` - /// The JSON Lines format, where each instance is a single line. Uses - /// \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `jsonl` + /// The JSON Lines format, where each instance is a single line. Uses + /// \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `csv` - /// The CSV format, where each instance is a single comma-separated line. - /// The first line in the file is the header, containing comma-separated field - /// names. Uses \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `csv` + /// The CSV format, where each instance is a single comma-separated line. + /// The first line in the file is the header, containing comma-separated field + /// names. Uses \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `tf-record` - /// The TFRecord format, where each instance is a single record in tfrecord - /// syntax. Uses \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `tf-record` + /// The TFRecord format, where each instance is a single record in tfrecord + /// syntax. Uses \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `tf-record-gzip` - /// Similar to `tf-record`, but the file is gzipped. Uses - /// \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `tf-record-gzip` + /// Similar to `tf-record`, but the file is gzipped. Uses + /// \[GcsSource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `bigquery` - /// Each instance is a single row in BigQuery. Uses - /// \[BigQuerySource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.bigquery_source\]. + /// * `bigquery` + /// Each instance is a single row in BigQuery. Uses + /// \[BigQuerySource][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig.bigquery_source\]. /// - /// * `file-list` - /// Each line of the file is the location of an instance to process, uses - /// `gcs_source` field of the - /// \[InputConfig][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig\] object. + /// * `file-list` + /// Each line of the file is the location of an instance to process, uses + /// `gcs_source` field of the + /// \[InputConfig][google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig\] object. /// /// - /// If this Model doesn't support any of these formats it means it cannot be - /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. However, if it has - /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\], it could serve online - /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. + /// If this Model doesn't support any of these formats it means it cannot be + /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. However, if it has + /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\], it could serve online + /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. #[prost(string, repeated, tag="11")] pub supported_input_storage_formats: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The formats this Model supports in - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. If both - /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] and - /// \[PredictSchemata.prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri\] exist, the predictions - /// are returned together with their instances. In other words, the - /// prediction has the original instance data first, followed - /// by the actual prediction content (as per the schema). - /// - /// The possible formats are: - /// - /// * `jsonl` - /// The JSON Lines format, where each prediction is a single line. Uses - /// \[GcsDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.gcs_destination\]. - /// - /// * `csv` - /// The CSV format, where each prediction is a single comma-separated line. - /// The first line in the file is the header, containing comma-separated field - /// names. Uses - /// \[GcsDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.gcs_destination\]. - /// - /// * `bigquery` - /// Each prediction is a single row in a BigQuery table, uses - /// \[BigQueryDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.bigquery_destination\] - /// . - /// - /// - /// If this Model doesn't support any of these formats it means it cannot be - /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. However, if it has - /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\], it could serve online - /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. + /// Output only. The formats this Model supports in + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. If both + /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] and + /// \[PredictSchemata.prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri\] exist, the predictions + /// are returned together with their instances. In other words, the + /// prediction has the original instance data first, followed + /// by the actual prediction content (as per the schema). + /// + /// The possible formats are: + /// + /// * `jsonl` + /// The JSON Lines format, where each prediction is a single line. Uses + /// \[GcsDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.gcs_destination\]. + /// + /// * `csv` + /// The CSV format, where each prediction is a single comma-separated line. + /// The first line in the file is the header, containing comma-separated field + /// names. Uses + /// \[GcsDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.gcs_destination\]. + /// + /// * `bigquery` + /// Each prediction is a single row in a BigQuery table, uses + /// \[BigQueryDestination][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.bigquery_destination\] + /// . + /// + /// + /// If this Model doesn't support any of these formats it means it cannot be + /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. However, if it has + /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\], it could serve online + /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\]. #[prost(string, repeated, tag="12")] pub supported_output_storage_formats: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Timestamp when this Model was uploaded into Vertex AI. + /// Output only. Timestamp when this Model was uploaded into Vertex AI. #[prost(message, optional, tag="13")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Model was most recently updated. + /// Output only. Timestamp when this Model was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The pointers to DeployedModels created from this Model. Note that - /// Model could have been deployed to Endpoints in different Locations. + /// Output only. The pointers to DeployedModels created from this Model. Note that + /// Model could have been deployed to Endpoints in different Locations. #[prost(message, repeated, tag="15")] pub deployed_models: ::prost::alloc::vec::Vec, - /// The default explanation specification for this Model. - /// - /// The Model can be used for [requesting - /// explanation]\[PredictionService.Explain\] after being - /// \[deployed][google.cloud.aiplatform.v1.EndpointService.DeployModel\] if it is populated. - /// The Model can be used for [batch - /// explanation]\[BatchPredictionJob.generate_explanation\] if it is populated. - /// - /// All fields of the explanation_spec can be overridden by - /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] of - /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1.DeployModelRequest.deployed_model\], or - /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] of - /// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. - /// - /// If the default explanation specification is not set for this Model, this - /// Model can still be used for [requesting - /// explanation]\[PredictionService.Explain\] by setting - /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] of - /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1.DeployModelRequest.deployed_model\] and for [batch - /// explanation]\[BatchPredictionJob.generate_explanation\] by setting - /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] of - /// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. + /// The default explanation specification for this Model. + /// + /// The Model can be used for [requesting + /// explanation]\[PredictionService.Explain\] after being + /// \[deployed][google.cloud.aiplatform.v1.EndpointService.DeployModel\] if it is populated. + /// The Model can be used for [batch + /// explanation]\[BatchPredictionJob.generate_explanation\] if it is populated. + /// + /// All fields of the explanation_spec can be overridden by + /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] of + /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1.DeployModelRequest.deployed_model\], or + /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] of + /// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. + /// + /// If the default explanation specification is not set for this Model, this + /// Model can still be used for [requesting + /// explanation]\[PredictionService.Explain\] by setting + /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] of + /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1.DeployModelRequest.deployed_model\] and for [batch + /// explanation]\[BatchPredictionJob.generate_explanation\] by setting + /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] of + /// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. #[prost(message, optional, tag="23")] pub explanation_spec: ::core::option::Option, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="16")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Models. + /// The labels with user-defined metadata to organize your Models. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="17")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a Model. If set, this - /// Model and all sub-resources of this Model will be secured by this key. + /// Customer-managed encryption key spec for a Model. If set, this + /// Model and all sub-resources of this Model will be secured by this key. #[prost(message, optional, tag="24")] pub encryption_spec: ::core::option::Option, } /// Nested message and enum types in `Model`. pub mod model { - /// Represents export format supported by the Model. - /// All formats export to Google Cloud Storage. + /// Represents export format supported by the Model. + /// All formats export to Google Cloud Storage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFormat { - /// Output only. The ID of the export format. - /// The possible format IDs are: + /// Output only. The ID of the export format. + /// The possible format IDs are: /// - /// * `tflite` - /// Used for Android mobile devices. + /// * `tflite` + /// Used for Android mobile devices. /// - /// * `edgetpu-tflite` - /// Used for [Edge TPU]() devices. + /// * `edgetpu-tflite` + /// Used for [Edge TPU]() devices. /// - /// * `tf-saved-model` - /// A tensorflow model in SavedModel format. + /// * `tf-saved-model` + /// A tensorflow model in SavedModel format. /// - /// * `tf-js` - /// A \[TensorFlow.js\]() model that can be used - /// in the browser and in Node.js using JavaScript. + /// * `tf-js` + /// A \[TensorFlow.js\]() model that can be used + /// in the browser and in Node.js using JavaScript. /// - /// * `core-ml` - /// Used for iOS mobile devices. + /// * `core-ml` + /// Used for iOS mobile devices. /// - /// * `custom-trained` - /// A Model that was uploaded or trained by custom code. + /// * `custom-trained` + /// A Model that was uploaded or trained by custom code. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Output only. The content of this Model that may be exported. + /// Output only. The content of this Model that may be exported. #[prost(enumeration="export_format::ExportableContent", repeated, packed="false", tag="2")] pub exportable_contents: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ExportFormat`. pub mod export_format { - /// The Model content that can be exported. + /// The Model content that can be exported. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExportableContent { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Model artifact and any of its supported files. Will be exported to the - /// location specified by the `artifactDestination` field of the - /// \[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config\] object. + /// Model artifact and any of its supported files. Will be exported to the + /// location specified by the `artifactDestination` field of the + /// \[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config\] object. Artifact = 1, - /// The container image that is to be used when deploying this Model. Will - /// be exported to the location specified by the `imageDestination` field - /// of the \[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config\] object. + /// The container image that is to be used when deploying this Model. Will + /// be exported to the location specified by the `imageDestination` field + /// of the \[ExportModelRequest.output_config][google.cloud.aiplatform.v1.ExportModelRequest.output_config\] object. Image = 2, } impl ExportableContent { @@ -1853,20 +1853,20 @@ pub mod model { } } } - /// Identifies a type of Model's prediction resources. + /// Identifies a type of Model's prediction resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DeploymentResourcesType { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Resources that are dedicated to the \[DeployedModel][google.cloud.aiplatform.v1.DeployedModel\], and that need a - /// higher degree of manual configuration. + /// Resources that are dedicated to the \[DeployedModel][google.cloud.aiplatform.v1.DeployedModel\], and that need a + /// higher degree of manual configuration. DedicatedResources = 1, - /// Resources that to large degree are decided by Vertex AI, and require - /// only a modest additional configuration. + /// Resources that to large degree are decided by Vertex AI, and require + /// only a modest additional configuration. AutomaticResources = 2, - /// Resources that can be shared by multiple \[DeployedModels][google.cloud.aiplatform.v1.DeployedModel\]. - /// A pre-configured \[DeploymentResourcePool][\] is required. + /// Resources that can be shared by multiple \[DeployedModels][google.cloud.aiplatform.v1.DeployedModel\]. + /// A pre-configured \[DeploymentResourcePool][\] is required. SharedResources = 3, } impl DeploymentResourcesType { @@ -1884,159 +1884,159 @@ pub mod model { } } } -/// Contains the schemata used in Model's predictions and explanations via -/// \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\], \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\] and -/// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. +/// Contains the schemata used in Model's predictions and explanations via +/// \[PredictionService.Predict][google.cloud.aiplatform.v1.PredictionService.Predict\], \[PredictionService.Explain][google.cloud.aiplatform.v1.PredictionService.Explain\] and +/// \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictSchemata { - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format - /// of a single instance, which are used in \[PredictRequest.instances][google.cloud.aiplatform.v1.PredictRequest.instances\], - /// \[ExplainRequest.instances][google.cloud.aiplatform.v1.ExplainRequest.instances\] and - /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format + /// of a single instance, which are used in \[PredictRequest.instances][google.cloud.aiplatform.v1.PredictRequest.instances\], + /// \[ExplainRequest.instances][google.cloud.aiplatform.v1.ExplainRequest.instances\] and + /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="1")] pub instance_schema_uri: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the - /// parameters of prediction and explanation via - /// \[PredictRequest.parameters][google.cloud.aiplatform.v1.PredictRequest.parameters\], \[ExplainRequest.parameters][google.cloud.aiplatform.v1.ExplainRequest.parameters\] and - /// \[BatchPredictionJob.model_parameters][google.cloud.aiplatform.v1.BatchPredictionJob.model_parameters\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI, if no - /// parameters are supported, then it is set to an empty string. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the + /// parameters of prediction and explanation via + /// \[PredictRequest.parameters][google.cloud.aiplatform.v1.PredictRequest.parameters\], \[ExplainRequest.parameters][google.cloud.aiplatform.v1.ExplainRequest.parameters\] and + /// \[BatchPredictionJob.model_parameters][google.cloud.aiplatform.v1.BatchPredictionJob.model_parameters\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI, if no + /// parameters are supported, then it is set to an empty string. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="2")] pub parameters_schema_uri: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format - /// of a single prediction produced by this Model, which are returned via - /// \[PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions\], \[ExplainResponse.explanations][google.cloud.aiplatform.v1.ExplainResponse.explanations\], and - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format + /// of a single prediction produced by this Model, which are returned via + /// \[PredictResponse.predictions][google.cloud.aiplatform.v1.PredictResponse.predictions\], \[ExplainResponse.explanations][google.cloud.aiplatform.v1.ExplainResponse.explanations\], and + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="3")] pub prediction_schema_uri: ::prost::alloc::string::String, } -/// Specification of a container for serving predictions. Some fields in this -/// message correspond to fields in the [Kubernetes Container v1 core -/// specification](). +/// Specification of a container for serving predictions. Some fields in this +/// message correspond to fields in the [Kubernetes Container v1 core +/// specification](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelContainerSpec { - /// Required. Immutable. URI of the Docker image to be used as the custom container for serving - /// predictions. This URI must identify an image in Artifact Registry or - /// Container Registry. Learn more about the [container publishing - /// requirements](), - /// including permissions requirements for the Vertex AI Service Agent. - /// - /// The container image is ingested upon \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\], stored - /// internally, and this original path is afterwards not used. - /// - /// To learn about the requirements for the Docker image itself, see - /// [Custom container - /// requirements](). - /// - /// You can use the URI to one of Vertex AI's [pre-built container images for - /// prediction]() - /// in this field. + /// Required. Immutable. URI of the Docker image to be used as the custom container for serving + /// predictions. This URI must identify an image in Artifact Registry or + /// Container Registry. Learn more about the [container publishing + /// requirements](), + /// including permissions requirements for the Vertex AI Service Agent. + /// + /// The container image is ingested upon \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\], stored + /// internally, and this original path is afterwards not used. + /// + /// To learn about the requirements for the Docker image itself, see + /// [Custom container + /// requirements](). + /// + /// You can use the URI to one of Vertex AI's [pre-built container images for + /// prediction]() + /// in this field. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// Immutable. Specifies the command that runs when the container starts. This overrides - /// the container's - /// \[ENTRYPOINT\](). - /// Specify this field as an array of executable and arguments, similar to a - /// Docker `ENTRYPOINT`'s "exec" form, not its "shell" form. - /// - /// If you do not specify this field, then the container's `ENTRYPOINT` runs, - /// in conjunction with the \[args][google.cloud.aiplatform.v1.ModelContainerSpec.args\] field or the - /// container's \[`CMD`\](), - /// if either exists. If this field is not specified and the container does not - /// have an `ENTRYPOINT`, then refer to the Docker documentation about [how - /// `CMD` and `ENTRYPOINT` - /// interact](). - /// - /// If you specify this field, then you can also specify the `args` field to - /// provide additional arguments for this command. However, if you specify this - /// field, then the container's `CMD` is ignored. See the - /// [Kubernetes documentation about how the - /// `command` and `args` fields interact with a container's `ENTRYPOINT` and - /// `CMD`](). - /// - /// In this field, you can reference [environment variables set by Vertex - /// AI]() - /// and environment variables set in the \[env][google.cloud.aiplatform.v1.ModelContainerSpec.env\] field. - /// You cannot reference environment variables set in the Docker image. In - /// order for environment variables to be expanded, reference them by using the - /// following syntax: - /// $(VARIABLE_NAME) - /// Note that this differs from Bash variable expansion, which does not use - /// parentheses. If a variable cannot be resolved, the reference in the input - /// string is used unchanged. To avoid variable expansion, you can escape this - /// syntax with `$$`; for example: - /// $$(VARIABLE_NAME) - /// This field corresponds to the `command` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Immutable. Specifies the command that runs when the container starts. This overrides + /// the container's + /// \[ENTRYPOINT\](). + /// Specify this field as an array of executable and arguments, similar to a + /// Docker `ENTRYPOINT`'s "exec" form, not its "shell" form. + /// + /// If you do not specify this field, then the container's `ENTRYPOINT` runs, + /// in conjunction with the \[args][google.cloud.aiplatform.v1.ModelContainerSpec.args\] field or the + /// container's \[`CMD`\](), + /// if either exists. If this field is not specified and the container does not + /// have an `ENTRYPOINT`, then refer to the Docker documentation about [how + /// `CMD` and `ENTRYPOINT` + /// interact](). + /// + /// If you specify this field, then you can also specify the `args` field to + /// provide additional arguments for this command. However, if you specify this + /// field, then the container's `CMD` is ignored. See the + /// [Kubernetes documentation about how the + /// `command` and `args` fields interact with a container's `ENTRYPOINT` and + /// `CMD`](). + /// + /// In this field, you can reference [environment variables set by Vertex + /// AI]() + /// and environment variables set in the \[env][google.cloud.aiplatform.v1.ModelContainerSpec.env\] field. + /// You cannot reference environment variables set in the Docker image. In + /// order for environment variables to be expanded, reference them by using the + /// following syntax: + /// $(VARIABLE_NAME) + /// Note that this differs from Bash variable expansion, which does not use + /// parentheses. If a variable cannot be resolved, the reference in the input + /// string is used unchanged. To avoid variable expansion, you can escape this + /// syntax with `$$`; for example: + /// $$(VARIABLE_NAME) + /// This field corresponds to the `command` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(string, repeated, tag="2")] pub command: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. Specifies arguments for the command that runs when the container starts. - /// This overrides the container's - /// \[`CMD`\](). Specify - /// this field as an array of executable and arguments, similar to a Docker - /// `CMD`'s "default parameters" form. - /// - /// If you don't specify this field but do specify the - /// \[command][google.cloud.aiplatform.v1.ModelContainerSpec.command\] field, then the command from the - /// `command` field runs without any additional arguments. See the - /// [Kubernetes documentation about how the - /// `command` and `args` fields interact with a container's `ENTRYPOINT` and - /// `CMD`](). - /// - /// If you don't specify this field and don't specify the `command` field, - /// then the container's - /// \[`ENTRYPOINT`\]() and - /// `CMD` determine what runs based on their default behavior. See the Docker - /// documentation about [how `CMD` and `ENTRYPOINT` - /// interact](). - /// - /// In this field, you can reference [environment variables - /// set by Vertex - /// AI]() - /// and environment variables set in the \[env][google.cloud.aiplatform.v1.ModelContainerSpec.env\] field. - /// You cannot reference environment variables set in the Docker image. In - /// order for environment variables to be expanded, reference them by using the - /// following syntax: - /// $(VARIABLE_NAME) - /// Note that this differs from Bash variable expansion, which does not use - /// parentheses. If a variable cannot be resolved, the reference in the input - /// string is used unchanged. To avoid variable expansion, you can escape this - /// syntax with `$$`; for example: - /// $$(VARIABLE_NAME) - /// This field corresponds to the `args` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Immutable. Specifies arguments for the command that runs when the container starts. + /// This overrides the container's + /// \[`CMD`\](). Specify + /// this field as an array of executable and arguments, similar to a Docker + /// `CMD`'s "default parameters" form. + /// + /// If you don't specify this field but do specify the + /// \[command][google.cloud.aiplatform.v1.ModelContainerSpec.command\] field, then the command from the + /// `command` field runs without any additional arguments. See the + /// [Kubernetes documentation about how the + /// `command` and `args` fields interact with a container's `ENTRYPOINT` and + /// `CMD`](). + /// + /// If you don't specify this field and don't specify the `command` field, + /// then the container's + /// \[`ENTRYPOINT`\]() and + /// `CMD` determine what runs based on their default behavior. See the Docker + /// documentation about [how `CMD` and `ENTRYPOINT` + /// interact](). + /// + /// In this field, you can reference [environment variables + /// set by Vertex + /// AI]() + /// and environment variables set in the \[env][google.cloud.aiplatform.v1.ModelContainerSpec.env\] field. + /// You cannot reference environment variables set in the Docker image. In + /// order for environment variables to be expanded, reference them by using the + /// following syntax: + /// $(VARIABLE_NAME) + /// Note that this differs from Bash variable expansion, which does not use + /// parentheses. If a variable cannot be resolved, the reference in the input + /// string is used unchanged. To avoid variable expansion, you can escape this + /// syntax with `$$`; for example: + /// $$(VARIABLE_NAME) + /// This field corresponds to the `args` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. List of environment variables to set in the container. After the container - /// starts running, code running in the container can read these environment - /// variables. + /// Immutable. List of environment variables to set in the container. After the container + /// starts running, code running in the container can read these environment + /// variables. /// - /// Additionally, the \[command][google.cloud.aiplatform.v1.ModelContainerSpec.command\] and - /// \[args][google.cloud.aiplatform.v1.ModelContainerSpec.args\] fields can reference these variables. Later - /// entries in this list can also reference earlier entries. For example, the - /// following example sets the variable `VAR_2` to have the value `foo bar`: + /// Additionally, the \[command][google.cloud.aiplatform.v1.ModelContainerSpec.command\] and + /// \[args][google.cloud.aiplatform.v1.ModelContainerSpec.args\] fields can reference these variables. Later + /// entries in this list can also reference earlier entries. For example, the + /// following example sets the variable `VAR_2` to have the value `foo bar`: /// - /// ```json - /// [ + /// ```json + /// [ /// { /// "name": "VAR_1", /// "value": "foo" @@ -2045,192 +2045,192 @@ pub struct ModelContainerSpec { /// "name": "VAR_2", /// "value": "$(VAR_1) bar" /// } - /// ] - /// ``` + /// ] + /// ``` /// - /// If you switch the order of the variables in the example, then the expansion - /// does not occur. + /// If you switch the order of the variables in the example, then the expansion + /// does not occur. /// - /// This field corresponds to the `env` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// This field corresponds to the `env` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(message, repeated, tag="4")] pub env: ::prost::alloc::vec::Vec, - /// Immutable. List of ports to expose from the container. Vertex AI sends any - /// prediction requests that it receives to the first port on this list. Vertex - /// AI also sends - /// [liveness and health - /// checks]() - /// to this port. + /// Immutable. List of ports to expose from the container. Vertex AI sends any + /// prediction requests that it receives to the first port on this list. Vertex + /// AI also sends + /// [liveness and health + /// checks]() + /// to this port. /// - /// If you do not specify this field, it defaults to following value: + /// If you do not specify this field, it defaults to following value: /// - /// ```json - /// [ + /// ```json + /// [ /// { /// "containerPort": 8080 /// } - /// ] - /// ``` + /// ] + /// ``` /// - /// Vertex AI does not use ports other than the first one listed. This field - /// corresponds to the `ports` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Vertex AI does not use ports other than the first one listed. This field + /// corresponds to the `ports` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(message, repeated, tag="5")] pub ports: ::prost::alloc::vec::Vec, - /// Immutable. HTTP path on the container to send prediction requests to. Vertex AI - /// forwards requests sent using - /// \[projects.locations.endpoints.predict][google.cloud.aiplatform.v1.PredictionService.Predict\] to this - /// path on the container's IP address and port. Vertex AI then returns the - /// container's response in the API response. - /// - /// For example, if you set this field to `/foo`, then when Vertex AI - /// receives a prediction request, it forwards the request body in a POST - /// request to the `/foo` path on the port of your container specified by the - /// first value of this `ModelContainerSpec`'s - /// \[ports][google.cloud.aiplatform.v1.ModelContainerSpec.ports\] field. - /// - /// If you don't specify this field, it defaults to the following value when - /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1.EndpointService.DeployModel\]: - /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict - /// The placeholders in this value are replaced as follows: - /// - /// * ENDPOINT: The last segment (following `endpoints/`)of the + /// Immutable. HTTP path on the container to send prediction requests to. Vertex AI + /// forwards requests sent using + /// \[projects.locations.endpoints.predict][google.cloud.aiplatform.v1.PredictionService.Predict\] to this + /// path on the container's IP address and port. Vertex AI then returns the + /// container's response in the API response. + /// + /// For example, if you set this field to `/foo`, then when Vertex AI + /// receives a prediction request, it forwards the request body in a POST + /// request to the `/foo` path on the port of your container specified by the + /// first value of this `ModelContainerSpec`'s + /// \[ports][google.cloud.aiplatform.v1.ModelContainerSpec.ports\] field. + /// + /// If you don't specify this field, it defaults to the following value when + /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1.EndpointService.DeployModel\]: + /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict + /// The placeholders in this value are replaced as follows: + /// + /// * ENDPOINT: The last segment (following `endpoints/`)of the /// Endpoint.name][] field of the Endpoint where this Model has been /// deployed. (Vertex AI makes this value available to your container code /// as the [`AIP_ENDPOINT_ID` environment /// variable]().) /// - /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id\] of the `DeployedModel`. + /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id\] of the `DeployedModel`. /// (Vertex AI makes this value available to your container code /// as the [`AIP_DEPLOYED_MODEL_ID` environment /// variable]().) #[prost(string, tag="6")] pub predict_route: ::prost::alloc::string::String, - /// Immutable. HTTP path on the container to send health checks to. Vertex AI - /// intermittently sends GET requests to this path on the container's IP - /// address and port to check that the container is healthy. Read more about - /// [health - /// checks](). - /// - /// For example, if you set this field to `/bar`, then Vertex AI - /// intermittently sends a GET request to the `/bar` path on the port of your - /// container specified by the first value of this `ModelContainerSpec`'s - /// \[ports][google.cloud.aiplatform.v1.ModelContainerSpec.ports\] field. - /// - /// If you don't specify this field, it defaults to the following value when - /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1.EndpointService.DeployModel\]: - /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict - /// The placeholders in this value are replaced as follows: - /// - /// * ENDPOINT: The last segment (following `endpoints/`)of the + /// Immutable. HTTP path on the container to send health checks to. Vertex AI + /// intermittently sends GET requests to this path on the container's IP + /// address and port to check that the container is healthy. Read more about + /// [health + /// checks](). + /// + /// For example, if you set this field to `/bar`, then Vertex AI + /// intermittently sends a GET request to the `/bar` path on the port of your + /// container specified by the first value of this `ModelContainerSpec`'s + /// \[ports][google.cloud.aiplatform.v1.ModelContainerSpec.ports\] field. + /// + /// If you don't specify this field, it defaults to the following value when + /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1.EndpointService.DeployModel\]: + /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict + /// The placeholders in this value are replaced as follows: + /// + /// * ENDPOINT: The last segment (following `endpoints/`)of the /// Endpoint.name][] field of the Endpoint where this Model has been /// deployed. (Vertex AI makes this value available to your container code /// as the [`AIP_ENDPOINT_ID` environment /// variable]().) /// - /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id\] of the `DeployedModel`. + /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1.DeployedModel.id\] of the `DeployedModel`. /// (Vertex AI makes this value available to your container code as the /// [`AIP_DEPLOYED_MODEL_ID` environment /// variable]().) #[prost(string, tag="7")] pub health_route: ::prost::alloc::string::String, } -/// Represents a network port in a container. +/// Represents a network port in a container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Port { - /// The number of the port to expose on the pod's IP address. - /// Must be a valid port number, between 1 and 65535 inclusive. + /// The number of the port to expose on the pod's IP address. + /// Must be a valid port number, between 1 and 65535 inclusive. #[prost(int32, tag="3")] pub container_port: i32, } -/// Contains model information necessary to perform batch prediction without -/// requiring a full model import. +/// Contains model information necessary to perform batch prediction without +/// requiring a full model import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnmanagedContainerModel { - /// The path to the directory containing the Model artifact and any of its - /// supporting files. + /// The path to the directory containing the Model artifact and any of its + /// supporting files. #[prost(string, tag="1")] pub artifact_uri: ::prost::alloc::string::String, - /// Contains the schemata used in Model's predictions and explanations + /// Contains the schemata used in Model's predictions and explanations #[prost(message, optional, tag="2")] pub predict_schemata: ::core::option::Option, - /// Input only. The specification of the container that is to be used when deploying - /// this Model. + /// Input only. The specification of the container that is to be used when deploying + /// this Model. #[prost(message, optional, tag="3")] pub container_spec: ::core::option::Option, } -/// A job that uses a \[Model][google.cloud.aiplatform.v1.BatchPredictionJob.model\] to produce predictions -/// on multiple [input instances]\[google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. If -/// predictions for significant portion of the instances fail, the job may finish -/// without attempting predictions for all remaining instances. +/// A job that uses a \[Model][google.cloud.aiplatform.v1.BatchPredictionJob.model\] to produce predictions +/// on multiple [input instances]\[google.cloud.aiplatform.v1.BatchPredictionJob.input_config\]. If +/// predictions for significant portion of the instances fail, the job may finish +/// without attempting predictions for all remaining instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictionJob { - /// Output only. Resource name of the BatchPredictionJob. + /// Output only. Resource name of the BatchPredictionJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of this BatchPredictionJob. + /// Required. The user-defined name of this BatchPredictionJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The name of the Model resoure that produces the predictions via this job, - /// must share the same ancestor Location. - /// Starting this job has no impact on any existing deployments of the Model - /// and their resources. - /// Exactly one of model and unmanaged_container_model must be set. - /// - /// The model resource name may contain version id or version alias to specify - /// the version, if no version is specified, the default version will be used. + /// The name of the Model resoure that produces the predictions via this job, + /// must share the same ancestor Location. + /// Starting this job has no impact on any existing deployments of the Model + /// and their resources. + /// Exactly one of model and unmanaged_container_model must be set. + /// + /// The model resource name may contain version id or version alias to specify + /// the version, if no version is specified, the default version will be used. #[prost(string, tag="3")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the Model that produces the predictions via this job. + /// Output only. The version ID of the Model that produces the predictions via this job. #[prost(string, tag="30")] pub model_version_id: ::prost::alloc::string::String, - /// Contains model information necessary to perform batch prediction without - /// requiring uploading to model registry. - /// Exactly one of model and unmanaged_container_model must be set. + /// Contains model information necessary to perform batch prediction without + /// requiring uploading to model registry. + /// Exactly one of model and unmanaged_container_model must be set. #[prost(message, optional, tag="28")] pub unmanaged_container_model: ::core::option::Option, - /// Required. Input configuration of the instances on which predictions are performed. - /// The schema of any single instance may be specified via - /// the \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\]. + /// Required. Input configuration of the instances on which predictions are performed. + /// The schema of any single instance may be specified via + /// the \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\]. #[prost(message, optional, tag="4")] pub input_config: ::core::option::Option, - /// The parameters that govern the predictions. The schema of the parameters - /// may be specified via the \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] - /// \[parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\]. + /// The parameters that govern the predictions. The schema of the parameters + /// may be specified via the \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] + /// \[parameters_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\]. #[prost(message, optional, tag="5")] pub model_parameters: ::core::option::Option<::prost_types::Value>, - /// Required. The Configuration specifying where output predictions should - /// be written. - /// The schema of any single prediction may be specified as a concatenation - /// of \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] - /// and - /// \[prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri\]. + /// Required. The Configuration specifying where output predictions should + /// be written. + /// The schema of any single prediction may be specified as a concatenation + /// of \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] + /// and + /// \[prediction_schema_uri][google.cloud.aiplatform.v1.PredictSchemata.prediction_schema_uri\]. #[prost(message, optional, tag="6")] pub output_config: ::core::option::Option, - /// The config of resources used by the Model during the batch prediction. If - /// the Model \[supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\] - /// DEDICATED_RESOURCES this config may be provided (and the job will use these - /// resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - /// must be provided. + /// The config of resources used by the Model during the batch prediction. If + /// the Model \[supports][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\] + /// DEDICATED_RESOURCES this config may be provided (and the job will use these + /// resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config + /// must be provided. #[prost(message, optional, tag="7")] pub dedicated_resources: ::core::option::Option, - /// Immutable. Parameters configuring the batch behavior. Currently only applicable when - /// \[dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources\] are used (in other cases Vertex AI does - /// the tuning itself). + /// Immutable. Parameters configuring the batch behavior. Currently only applicable when + /// \[dedicated_resources][google.cloud.aiplatform.v1.BatchPredictionJob.dedicated_resources\] are used (in other cases Vertex AI does + /// the tuning itself). #[prost(message, optional, tag="8")] pub manual_batch_tuning_parameters: ::core::option::Option, - /// Generate explanation with the batch prediction results. + /// Generate explanation with the batch prediction results. /// - /// When set to `true`, the batch prediction output changes based on the - /// `predictions_format` field of the - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\] object: + /// When set to `true`, the batch prediction output changes based on the + /// `predictions_format` field of the + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\] object: /// /// * `bigquery`: output includes a column named `explanation`. The value /// is a struct that conforms to the \[Explanation][google.cloud.aiplatform.v1.Explanation\] object. @@ -2239,376 +2239,376 @@ pub struct BatchPredictionJob { /// conforms to the \[Explanation][google.cloud.aiplatform.v1.Explanation\] object. /// * `csv`: Generating explanations for CSV format is not supported. /// - /// If this field is set to true, either the \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] or - /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] must be populated. + /// If this field is set to true, either the \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] or + /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] must be populated. #[prost(bool, tag="23")] pub generate_explanation: bool, - /// Explanation configuration for this BatchPredictionJob. Can be - /// specified only if \[generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation\] is set to `true`. + /// Explanation configuration for this BatchPredictionJob. Can be + /// specified only if \[generate_explanation][google.cloud.aiplatform.v1.BatchPredictionJob.generate_explanation\] is set to `true`. /// - /// This value overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\]. All fields of - /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] are optional in the request. If a field of the - /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] object is not populated, the corresponding field of - /// the \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] object is inherited. + /// This value overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\]. All fields of + /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] are optional in the request. If a field of the + /// \[explanation_spec][google.cloud.aiplatform.v1.BatchPredictionJob.explanation_spec\] object is not populated, the corresponding field of + /// the \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] object is inherited. #[prost(message, optional, tag="25")] pub explanation_spec: ::core::option::Option, - /// Output only. Information further describing the output of this job. + /// Output only. Information further describing the output of this job. #[prost(message, optional, tag="9")] pub output_info: ::core::option::Option, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="10")] pub state: i32, - /// Output only. Only populated when the job's state is JOB_STATE_FAILED or - /// JOB_STATE_CANCELLED. + /// Output only. Only populated when the job's state is JOB_STATE_FAILED or + /// JOB_STATE_CANCELLED. #[prost(message, optional, tag="11")] pub error: ::core::option::Option, - /// Output only. Partial failures encountered. - /// For example, single files that can't be read. - /// This field never exceeds 20 entries. - /// Status details fields contain standard GCP error details. + /// Output only. Partial failures encountered. + /// For example, single files that can't be read. + /// This field never exceeds 20 entries. + /// Status details fields contain standard GCP error details. #[prost(message, repeated, tag="12")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Information about resources that had been consumed by this job. - /// Provided in real time at best effort basis, as well as a final value - /// once the job completes. + /// Output only. Information about resources that had been consumed by this job. + /// Provided in real time at best effort basis, as well as a final value + /// once the job completes. /// - /// Note: This field currently may be not populated for batch predictions that - /// use AutoML Models. + /// Note: This field currently may be not populated for batch predictions that + /// use AutoML Models. #[prost(message, optional, tag="13")] pub resources_consumed: ::core::option::Option, - /// Output only. Statistics on completed and failed prediction instances. + /// Output only. Statistics on completed and failed prediction instances. #[prost(message, optional, tag="14")] pub completion_stats: ::core::option::Option, - /// Output only. Time when the BatchPredictionJob was created. + /// Output only. Time when the BatchPredictionJob was created. #[prost(message, optional, tag="15")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the BatchPredictionJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="16")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the BatchPredictionJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="17")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob was most recently updated. + /// Output only. Time when the BatchPredictionJob was most recently updated. #[prost(message, optional, tag="18")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The labels with user-defined metadata to organize BatchPredictionJobs. + /// The labels with user-defined metadata to organize BatchPredictionJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="19")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a BatchPredictionJob. If this - /// is set, then all resources created by the BatchPredictionJob will be - /// encrypted with the provided encryption key. + /// Customer-managed encryption key options for a BatchPredictionJob. If this + /// is set, then all resources created by the BatchPredictionJob will be + /// encrypted with the provided encryption key. #[prost(message, optional, tag="24")] pub encryption_spec: ::core::option::Option, } /// Nested message and enum types in `BatchPredictionJob`. pub mod batch_prediction_job { - /// Configures the input to \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. - /// See \[Model.supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\] for Model's supported input - /// formats, and how instances should be expressed via any of them. + /// Configures the input to \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. + /// See \[Model.supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\] for Model's supported input + /// formats, and how instances should be expressed via any of them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputConfig { - /// Required. The format in which instances are given, must be one of the - /// \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] - /// \[supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\]. + /// Required. The format in which instances are given, must be one of the + /// \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] + /// \[supported_input_storage_formats][google.cloud.aiplatform.v1.Model.supported_input_storage_formats\]. #[prost(string, tag="1")] pub instances_format: ::prost::alloc::string::String, - /// Required. The source of the input. + /// Required. The source of the input. #[prost(oneof="input_config::Source", tags="2, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `InputConfig`. pub mod input_config { - /// Required. The source of the input. + /// Required. The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Cloud Storage location for the input instances. + /// The Cloud Storage location for the input instances. #[prost(message, tag="2")] GcsSource(super::super::GcsSource), - /// The BigQuery location of the input table. - /// The schema of the table should be in the format described by the given - /// context OpenAPI Schema, if one is provided. The table may contain - /// additional columns that are not described by the schema, and they will - /// be ignored. + /// The BigQuery location of the input table. + /// The schema of the table should be in the format described by the given + /// context OpenAPI Schema, if one is provided. The table may contain + /// additional columns that are not described by the schema, and they will + /// be ignored. #[prost(message, tag="3")] BigquerySource(super::super::BigQuerySource), } } - /// Configures the output of \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. - /// See \[Model.supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\] for supported output - /// formats, and how predictions are expressed via any of them. + /// Configures the output of \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\]. + /// See \[Model.supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\] for supported output + /// formats, and how predictions are expressed via any of them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Required. The format in which Vertex AI gives the predictions, must be one of the - /// \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] - /// \[supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\]. + /// Required. The format in which Vertex AI gives the predictions, must be one of the + /// \[Model's][google.cloud.aiplatform.v1.BatchPredictionJob.model\] + /// \[supported_output_storage_formats][google.cloud.aiplatform.v1.Model.supported_output_storage_formats\]. #[prost(string, tag="1")] pub predictions_format: ::prost::alloc::string::String, - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="output_config::Destination", tags="2, 3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Cloud Storage location of the directory where the output is - /// to be written to. In the given directory a new directory is created. - /// Its name is `prediction--`, - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - /// Inside of it files `predictions_0001.`, - /// `predictions_0002.`, ..., `predictions_N.` - /// are created where `` depends on chosen - /// \[predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format\], and N may equal 0001 and depends on the total - /// number of successfully predicted instances. - /// If the Model has both \[instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] - /// and \[prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\] schemata - /// defined then each such file contains predictions as per the - /// \[predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format\]. - /// If prediction for any instance failed (partially or completely), then - /// an additional `errors_0001.`, `errors_0002.`,..., - /// `errors_N.` files are created (N depends on total number - /// of failed predictions). These files contain the failed instances, - /// as per their schema, followed by an additional `error` field which as - /// value has \[google.rpc.Status][google.rpc.Status\] - /// containing only `code` and `message` fields. + /// The Cloud Storage location of the directory where the output is + /// to be written to. In the given directory a new directory is created. + /// Its name is `prediction--`, + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. + /// Inside of it files `predictions_0001.`, + /// `predictions_0002.`, ..., `predictions_N.` + /// are created where `` depends on chosen + /// \[predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format\], and N may equal 0001 and depends on the total + /// number of successfully predicted instances. + /// If the Model has both \[instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] + /// and \[prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\] schemata + /// defined then each such file contains predictions as per the + /// \[predictions_format][google.cloud.aiplatform.v1.BatchPredictionJob.OutputConfig.predictions_format\]. + /// If prediction for any instance failed (partially or completely), then + /// an additional `errors_0001.`, `errors_0002.`,..., + /// `errors_N.` files are created (N depends on total number + /// of failed predictions). These files contain the failed instances, + /// as per their schema, followed by an additional `error` field which as + /// value has \[google.rpc.Status][google.rpc.Status\] + /// containing only `code` and `message` fields. #[prost(message, tag="2")] GcsDestination(super::super::GcsDestination), - /// The BigQuery project or dataset location where the output is to be - /// written to. If project is provided, a new dataset is created with name - /// `prediction__` - /// where is made - /// BigQuery-dataset-name compatible (for example, most special characters - /// become underscores), and timestamp is in - /// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset - /// two tables will be created, `predictions`, and `errors`. - /// If the Model has both \[instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] - /// and \[prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\] schemata - /// defined then the tables have columns as follows: The `predictions` - /// table contains instances for which the prediction succeeded, it - /// has columns as per a concatenation of the Model's instance and - /// prediction schemata. The `errors` table contains rows for which the - /// prediction has failed, it has instance columns, as per the - /// instance schema, followed by a single "errors" column, which as values - /// has \[google.rpc.Status][google.rpc.Status\] - /// represented as a STRUCT, and containing only `code` and `message`. + /// The BigQuery project or dataset location where the output is to be + /// written to. If project is provided, a new dataset is created with name + /// `prediction__` + /// where is made + /// BigQuery-dataset-name compatible (for example, most special characters + /// become underscores), and timestamp is in + /// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset + /// two tables will be created, `predictions`, and `errors`. + /// If the Model has both \[instance][google.cloud.aiplatform.v1.PredictSchemata.instance_schema_uri\] + /// and \[prediction][google.cloud.aiplatform.v1.PredictSchemata.parameters_schema_uri\] schemata + /// defined then the tables have columns as follows: The `predictions` + /// table contains instances for which the prediction succeeded, it + /// has columns as per a concatenation of the Model's instance and + /// prediction schemata. The `errors` table contains rows for which the + /// prediction has failed, it has instance columns, as per the + /// instance schema, followed by a single "errors" column, which as values + /// has \[google.rpc.Status][google.rpc.Status\] + /// represented as a STRUCT, and containing only `code` and `message`. #[prost(message, tag="3")] BigqueryDestination(super::super::BigQueryDestination), } } - /// Further describes this job's output. - /// Supplements \[output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. + /// Further describes this job's output. + /// Supplements \[output_config][google.cloud.aiplatform.v1.BatchPredictionJob.output_config\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputInfo { - /// Output only. The name of the BigQuery table created, in - /// `predictions_` - /// format, into which the prediction output is written. - /// Can be used by UI to generate the BigQuery output path, for example. + /// Output only. The name of the BigQuery table created, in + /// `predictions_` + /// format, into which the prediction output is written. + /// Can be used by UI to generate the BigQuery output path, for example. #[prost(string, tag="4")] pub bigquery_output_table: ::prost::alloc::string::String, - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[prost(oneof="output_info::OutputLocation", tags="1, 2")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `OutputInfo`. pub mod output_info { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// Output only. The full path of the Cloud Storage directory created, into which - /// the prediction output is written. + /// Output only. The full path of the Cloud Storage directory created, into which + /// the prediction output is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), - /// Output only. The path of the BigQuery dataset created, in - /// `bq://projectId.bqDatasetId` - /// format, into which the prediction output is written. + /// Output only. The path of the BigQuery dataset created, in + /// `bq://projectId.bqDatasetId` + /// format, into which the prediction output is written. #[prost(string, tag="2")] BigqueryOutputDataset(::prost::alloc::string::String), } } } -/// Instance of a general context. +/// Instance of a general context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Context { - /// Output only. The resource name of the Context. + /// Output only. The resource name of the Context. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Context. - /// May be up to 128 Unicode characters. + /// User provided display name of the Context. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Contexts. + /// The labels with user-defined metadata to organize your Contexts. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Context (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Context (System + /// labels are excluded). #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Context was created. + /// Output only. Timestamp when this Context was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Context was last updated. + /// Output only. Timestamp when this Context was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A list of resource names of Contexts that are parents of this Context. - /// A Context may have at most 10 parent_contexts. + /// Output only. A list of resource names of Contexts that are parents of this Context. + /// A Context may have at most 10 parent_contexts. #[prost(string, repeated, tag="12")] pub parent_contexts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="13")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in schema_name to use. + /// The version of the schema in schema_name to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Context. - /// The size of this field should not exceed 200KB. + /// Properties of the Context. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="15")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Context + /// Description of the Context #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, } -/// Represents a job that runs custom workloads such as a Docker container or a -/// Python package. A CustomJob can have multiple worker pools and each worker -/// pool can have its own machine and input spec. A CustomJob will be cleaned up -/// once the job enters terminal state (failed or succeeded). +/// Represents a job that runs custom workloads such as a Docker container or a +/// Python package. A CustomJob can have multiple worker pools and each worker +/// pool can have its own machine and input spec. A CustomJob will be cleaned up +/// once the job enters terminal state (failed or succeeded). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJob { - /// Output only. Resource name of a CustomJob. + /// Output only. Resource name of a CustomJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the CustomJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the CustomJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Job spec. + /// Required. Job spec. #[prost(message, optional, tag="4")] pub job_spec: ::core::option::Option, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="5")] pub state: i32, - /// Output only. Time when the CustomJob was created. + /// Output only. Time when the CustomJob was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the CustomJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the CustomJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob was most recently updated. + /// Output only. Time when the CustomJob was most recently updated. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Only populated when job's state is `JOB_STATE_FAILED` or - /// `JOB_STATE_CANCELLED`. + /// Output only. Only populated when job's state is `JOB_STATE_FAILED` or + /// `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize CustomJobs. + /// The labels with user-defined metadata to organize CustomJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a CustomJob. If this is set, - /// then all resources created by the CustomJob will be encrypted with the - /// provided encryption key. + /// Customer-managed encryption key options for a CustomJob. If this is set, + /// then all resources created by the CustomJob will be encrypted with the + /// provided encryption key. #[prost(message, optional, tag="12")] pub encryption_spec: ::core::option::Option, - /// Output only. URIs for accessing [interactive - /// shells]() - /// (one URI for each training node). Only available if - /// \[job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access\] is `true`. + /// Output only. URIs for accessing [interactive + /// shells]() + /// (one URI for each training node). Only available if + /// \[job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access\] is `true`. /// - /// The keys are names of each node in the training job; for example, - /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - /// the second worker pool, and `workerpool1-1` for the second node in the - /// second worker pool. + /// The keys are names of each node in the training job; for example, + /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in + /// the second worker pool, and `workerpool1-1` for the second node in the + /// second worker pool. /// - /// The values are the URIs for each node's interactive shell. + /// The values are the URIs for each node's interactive shell. #[prost(map="string, string", tag="16")] pub web_access_uris: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Represents the spec of a CustomJob. -/// Next Id: 15 +/// Represents the spec of a CustomJob. +/// Next Id: 15 #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJobSpec { - /// Required. The spec of the worker pools including machine type and Docker image. - /// All worker pools except the first one are optional and can be skipped by - /// providing an empty value. + /// Required. The spec of the worker pools including machine type and Docker image. + /// All worker pools except the first one are optional and can be skipped by + /// providing an empty value. #[prost(message, repeated, tag="1")] pub worker_pool_specs: ::prost::alloc::vec::Vec, - /// Scheduling options for a CustomJob. + /// Scheduling options for a CustomJob. #[prost(message, optional, tag="3")] pub scheduling: ::core::option::Option, - /// Specifies the service account for workload run-as account. - /// Users submitting jobs must have act-as permission on this run-as account. - /// If unspecified, the [Vertex AI Custom Code Service - /// Agent]() - /// for the CustomJob's project is used. + /// Specifies the service account for workload run-as account. + /// Users submitting jobs must have act-as permission on this run-as account. + /// If unspecified, the [Vertex AI Custom Code Service + /// Agent]() + /// for the CustomJob's project is used. #[prost(string, tag="4")] pub service_account: ::prost::alloc::string::String, - /// Optional. The full name of the Compute Engine - /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the Job - /// should be peered. For example, `projects/12345/global/networks/myVPC`. - /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) - /// is of the form `projects/{project}/global/networks/{network}`. - /// Where {project} is a project number, as in `12345`, and {network} is a - /// network name. - /// - /// To specify this field, you must have already [configured VPC Network - /// Peering for Vertex - /// AI](). - /// - /// If this field is left unspecified, the job is not peered with any network. + /// Optional. The full name of the Compute Engine + /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the Job + /// should be peered. For example, `projects/12345/global/networks/myVPC`. + /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) + /// is of the form `projects/{project}/global/networks/{network}`. + /// Where {project} is a project number, as in `12345`, and {network} is a + /// network name. + /// + /// To specify this field, you must have already [configured VPC Network + /// Peering for Vertex + /// AI](). + /// + /// If this field is left unspecified, the job is not peered with any network. #[prost(string, tag="5")] pub network: ::prost::alloc::string::String, - /// Optional. A list of names for the reserved ip ranges under the VPC network - /// that can be used for this job. + /// Optional. A list of names for the reserved ip ranges under the VPC network + /// that can be used for this job. /// - /// If set, we will deploy the job within the provided ip ranges. Otherwise, - /// the job will be deployed to any ip ranges under the provided VPC - /// network. + /// If set, we will deploy the job within the provided ip ranges. Otherwise, + /// the job will be deployed to any ip ranges under the provided VPC + /// network. /// - /// Example: \['vertex-ai-ip-range'\]. + /// Example: \['vertex-ai-ip-range'\]. #[prost(string, repeated, tag="13")] pub reserved_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Cloud Storage location to store the output of this CustomJob or - /// HyperparameterTuningJob. For HyperparameterTuningJob, - /// the baseOutputDirectory of - /// each child CustomJob backing a Trial is set to a subdirectory of name - /// \[id][google.cloud.aiplatform.v1.Trial.id\] under its parent HyperparameterTuningJob's - /// baseOutputDirectory. + /// The Cloud Storage location to store the output of this CustomJob or + /// HyperparameterTuningJob. For HyperparameterTuningJob, + /// the baseOutputDirectory of + /// each child CustomJob backing a Trial is set to a subdirectory of name + /// \[id][google.cloud.aiplatform.v1.Trial.id\] under its parent HyperparameterTuningJob's + /// baseOutputDirectory. /// - /// The following Vertex AI environment variables will be passed to - /// containers or python modules when this field is set: + /// The following Vertex AI environment variables will be passed to + /// containers or python modules when this field is set: /// /// For CustomJob: /// @@ -2623,306 +2623,306 @@ pub struct CustomJobSpec { /// * AIP_TENSORBOARD_LOG_DIR = `//logs/` #[prost(message, optional, tag="6")] pub base_output_directory: ::core::option::Option, - /// Optional. The name of a Vertex AI \[Tensorboard][google.cloud.aiplatform.v1.Tensorboard\] resource to which this CustomJob - /// will upload Tensorboard logs. - /// Format: - /// `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + /// Optional. The name of a Vertex AI \[Tensorboard][google.cloud.aiplatform.v1.Tensorboard\] resource to which this CustomJob + /// will upload Tensorboard logs. + /// Format: + /// `projects/{project}/locations/{location}/tensorboards/{tensorboard}` #[prost(string, tag="7")] pub tensorboard: ::prost::alloc::string::String, - /// Optional. Whether you want Vertex AI to enable [interactive shell - /// access]() - /// to training containers. + /// Optional. Whether you want Vertex AI to enable [interactive shell + /// access]() + /// to training containers. /// - /// If set to `true`, you can access interactive shells at the URIs given - /// by \[CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris\] or \[Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris\] (within - /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials\]). + /// If set to `true`, you can access interactive shells at the URIs given + /// by \[CustomJob.web_access_uris][google.cloud.aiplatform.v1.CustomJob.web_access_uris\] or \[Trial.web_access_uris][google.cloud.aiplatform.v1.Trial.web_access_uris\] (within + /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials\]). #[prost(bool, tag="10")] pub enable_web_access: bool, } -/// Represents the spec of a worker pool in a job. +/// Represents the spec of a worker pool in a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkerPoolSpec { - /// Optional. Immutable. The specification of a single machine. + /// Optional. Immutable. The specification of a single machine. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Optional. The number of worker replicas to use for this worker pool. + /// Optional. The number of worker replicas to use for this worker pool. #[prost(int64, tag="2")] pub replica_count: i64, - /// Optional. List of NFS mount spec. + /// Optional. List of NFS mount spec. #[prost(message, repeated, tag="4")] pub nfs_mounts: ::prost::alloc::vec::Vec, - /// Disk spec. + /// Disk spec. #[prost(message, optional, tag="5")] pub disk_spec: ::core::option::Option, - /// The custom task to be executed in this worker pool. + /// The custom task to be executed in this worker pool. #[prost(oneof="worker_pool_spec::Task", tags="6, 7")] pub task: ::core::option::Option, } /// Nested message and enum types in `WorkerPoolSpec`. pub mod worker_pool_spec { - /// The custom task to be executed in this worker pool. + /// The custom task to be executed in this worker pool. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Task { - /// The custom container task. + /// The custom container task. #[prost(message, tag="6")] ContainerSpec(super::ContainerSpec), - /// The Python packaged task. + /// The Python packaged task. #[prost(message, tag="7")] PythonPackageSpec(super::PythonPackageSpec), } } -/// The spec of a Container. +/// The spec of a Container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerSpec { - /// Required. The URI of a container image in the Container Registry that is to be run on - /// each worker replica. + /// Required. The URI of a container image in the Container Registry that is to be run on + /// each worker replica. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// The command to be invoked when the container is started. - /// It overrides the entrypoint instruction in Dockerfile when provided. + /// The command to be invoked when the container is started. + /// It overrides the entrypoint instruction in Dockerfile when provided. #[prost(string, repeated, tag="2")] pub command: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The arguments to be passed when starting the container. + /// The arguments to be passed when starting the container. #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Environment variables to be passed to the container. - /// Maximum limit is 100. + /// Environment variables to be passed to the container. + /// Maximum limit is 100. #[prost(message, repeated, tag="4")] pub env: ::prost::alloc::vec::Vec, } -/// The spec of a Python packaged code. +/// The spec of a Python packaged code. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PythonPackageSpec { - /// Required. The URI of a container image in Artifact Registry that will run the - /// provided Python package. Vertex AI provides a wide range of executor - /// images with pre-installed packages to meet users' various use cases. See - /// the list of [pre-built containers for - /// training](). - /// You must use an image from this list. + /// Required. The URI of a container image in Artifact Registry that will run the + /// provided Python package. Vertex AI provides a wide range of executor + /// images with pre-installed packages to meet users' various use cases. See + /// the list of [pre-built containers for + /// training](). + /// You must use an image from this list. #[prost(string, tag="1")] pub executor_image_uri: ::prost::alloc::string::String, - /// Required. The Google Cloud Storage location of the Python package files which are - /// the training program and its dependent packages. - /// The maximum number of package URIs is 100. + /// Required. The Google Cloud Storage location of the Python package files which are + /// the training program and its dependent packages. + /// The maximum number of package URIs is 100. #[prost(string, repeated, tag="2")] pub package_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The Python module name to run after installing the packages. + /// Required. The Python module name to run after installing the packages. #[prost(string, tag="3")] pub python_module: ::prost::alloc::string::String, - /// Command line arguments to be passed to the Python task. + /// Command line arguments to be passed to the Python task. #[prost(string, repeated, tag="4")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Environment variables to be passed to the python module. - /// Maximum limit is 100. + /// Environment variables to be passed to the python module. + /// Maximum limit is 100. #[prost(message, repeated, tag="5")] pub env: ::prost::alloc::vec::Vec, } -/// All parameters related to queuing and scheduling of custom jobs. +/// All parameters related to queuing and scheduling of custom jobs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scheduling { - /// The maximum job running time. The default is 7 days. + /// The maximum job running time. The default is 7 days. #[prost(message, optional, tag="1")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// Restarts the entire CustomJob if a worker gets restarted. - /// This feature can be used by distributed training jobs that are not - /// resilient to workers leaving and joining a job. + /// Restarts the entire CustomJob if a worker gets restarted. + /// This feature can be used by distributed training jobs that are not + /// resilient to workers leaving and joining a job. #[prost(bool, tag="3")] pub restart_job_on_worker_restart: bool, } -/// A piece of data in a Dataset. Could be an image, a video, a document or plain -/// text. +/// A piece of data in a Dataset. Could be an image, a video, a document or plain +/// text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataItem { - /// Output only. The resource name of the DataItem. + /// Output only. The resource name of the DataItem. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this DataItem was created. + /// Output only. Timestamp when this DataItem was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this DataItem was last updated. + /// Output only. Timestamp when this DataItem was last updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your DataItems. + /// Optional. The labels with user-defined metadata to organize your DataItems. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one DataItem(System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one DataItem(System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The data that the DataItem represents (for example, an image or a text - /// snippet). The schema of the payload is stored in the parent Dataset's - /// [metadata schema's]\[google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\] dataItemSchemaUri field. + /// Required. The data that the DataItem represents (for example, an image or a text + /// snippet). The schema of the payload is stored in the parent Dataset's + /// [metadata schema's]\[google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\] dataItemSchemaUri field. #[prost(message, optional, tag="4")] pub payload: ::core::option::Option<::prost_types::Value>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, } -/// DataLabelingJob is used to trigger a human labeling job on unlabeled data -/// from the following Dataset: +/// DataLabelingJob is used to trigger a human labeling job on unlabeled data +/// from the following Dataset: #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingJob { - /// Output only. Resource name of the DataLabelingJob. + /// Output only. Resource name of the DataLabelingJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the DataLabelingJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. - /// Display name of a DataLabelingJob. + /// Required. The user-defined name of the DataLabelingJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. + /// Display name of a DataLabelingJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Dataset resource names. Right now we only support labeling from a single - /// Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. Dataset resource names. Right now we only support labeling from a single + /// Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, repeated, tag="3")] pub datasets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Labels to assign to annotations generated by this DataLabelingJob. - /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// Labels to assign to annotations generated by this DataLabelingJob. + /// + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="12")] pub annotation_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Number of labelers to work on each DataItem. + /// Required. Number of labelers to work on each DataItem. #[prost(int32, tag="4")] pub labeler_count: i32, - /// Required. The Google Cloud Storage location of the instruction pdf. This pdf is - /// shared with labelers, and provides detailed description on how to label - /// DataItems in Datasets. + /// Required. The Google Cloud Storage location of the instruction pdf. This pdf is + /// shared with labelers, and provides detailed description on how to label + /// DataItems in Datasets. #[prost(string, tag="5")] pub instruction_uri: ::prost::alloc::string::String, - /// Required. Points to a YAML file stored on Google Cloud Storage describing the - /// config for a specific type of DataLabelingJob. - /// The schema files that can be used here are found in the - /// bucket in the - /// /schema/datalabelingjob/inputs/ folder. + /// Required. Points to a YAML file stored on Google Cloud Storage describing the + /// config for a specific type of DataLabelingJob. + /// The schema files that can be used here are found in the + /// bucket in the + /// /schema/datalabelingjob/inputs/ folder. #[prost(string, tag="6")] pub inputs_schema_uri: ::prost::alloc::string::String, - /// Required. Input config parameters for the DataLabelingJob. + /// Required. Input config parameters for the DataLabelingJob. #[prost(message, optional, tag="7")] pub inputs: ::core::option::Option<::prost_types::Value>, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="8")] pub state: i32, - /// Output only. Current labeling job progress percentage scaled in interval [0, 100], - /// indicating the percentage of DataItems that has been finished. + /// Output only. Current labeling job progress percentage scaled in interval [0, 100], + /// indicating the percentage of DataItems that has been finished. #[prost(int32, tag="13")] pub labeling_progress: i32, - /// Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to - /// date. + /// Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to + /// date. #[prost(message, optional, tag="14")] pub current_spend: ::core::option::Option, - /// Output only. Timestamp when this DataLabelingJob was created. + /// Output only. Timestamp when this DataLabelingJob was created. #[prost(message, optional, tag="9")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this DataLabelingJob was updated most recently. + /// Output only. Timestamp when this DataLabelingJob was updated most recently. #[prost(message, optional, tag="10")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. DataLabelingJob errors. It is only populated when job's state is - /// `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. + /// Output only. DataLabelingJob errors. It is only populated when job's state is + /// `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="22")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize your DataLabelingJobs. + /// The labels with user-defined metadata to organize your DataLabelingJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each DataLabelingJob: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each DataLabelingJob: /// - /// * "aiplatform.googleapis.com/schema": output only, its value is the + /// * "aiplatform.googleapis.com/schema": output only, its value is the /// \[inputs_schema][google.cloud.aiplatform.v1.DataLabelingJob.inputs_schema_uri\]'s title. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The SpecialistPools' resource names associated with this job. + /// The SpecialistPools' resource names associated with this job. #[prost(string, repeated, tag="16")] pub specialist_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a DataLabelingJob. If set, this - /// DataLabelingJob will be secured by this key. + /// Customer-managed encryption key spec for a DataLabelingJob. If set, this + /// DataLabelingJob will be secured by this key. /// - /// Note: Annotations created in the DataLabelingJob are associated with - /// the EncryptionSpec of the Dataset they are exported to. + /// Note: Annotations created in the DataLabelingJob are associated with + /// the EncryptionSpec of the Dataset they are exported to. #[prost(message, optional, tag="20")] pub encryption_spec: ::core::option::Option, - /// Parameters that configure the active learning pipeline. Active learning - /// will label the data incrementally via several iterations. For every - /// iteration, it will select a batch of data based on the sampling strategy. + /// Parameters that configure the active learning pipeline. Active learning + /// will label the data incrementally via several iterations. For every + /// iteration, it will select a batch of data based on the sampling strategy. #[prost(message, optional, tag="21")] pub active_learning_config: ::core::option::Option, } -/// Parameters that configure the active learning pipeline. Active learning will +/// Parameters that configure the active learning pipeline. Active learning will /// label the data incrementally by several iterations. For every iteration, it /// will select a batch of data based on the sampling strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActiveLearningConfig { - /// Active learning data sampling config. For every active learning labeling - /// iteration, it will select a batch of data based on the sampling strategy. + /// Active learning data sampling config. For every active learning labeling + /// iteration, it will select a batch of data based on the sampling strategy. #[prost(message, optional, tag="3")] pub sample_config: ::core::option::Option, - /// CMLE training config. For every active learning labeling iteration, system - /// will train a machine learning model on CMLE. The trained model will be used - /// by data sampling algorithm to select DataItems. + /// CMLE training config. For every active learning labeling iteration, system + /// will train a machine learning model on CMLE. The trained model will be used + /// by data sampling algorithm to select DataItems. #[prost(message, optional, tag="4")] pub training_config: ::core::option::Option, - /// Required. Max human labeling DataItems. The rest part will be labeled by - /// machine. + /// Required. Max human labeling DataItems. The rest part will be labeled by + /// machine. #[prost(oneof="active_learning_config::HumanLabelingBudget", tags="1, 2")] pub human_labeling_budget: ::core::option::Option, } /// Nested message and enum types in `ActiveLearningConfig`. pub mod active_learning_config { - /// Required. Max human labeling DataItems. The rest part will be labeled by - /// machine. + /// Required. Max human labeling DataItems. The rest part will be labeled by + /// machine. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum HumanLabelingBudget { - /// Max number of human labeled DataItems. + /// Max number of human labeled DataItems. #[prost(int64, tag="1")] MaxDataItemCount(i64), - /// Max percent of total DataItems for human labeling. + /// Max percent of total DataItems for human labeling. #[prost(int32, tag="2")] MaxDataItemPercentage(i32), } } -/// Active learning data sampling config. For every active learning labeling -/// iteration, it will select a batch of data based on the sampling strategy. +/// Active learning data sampling config. For every active learning labeling +/// iteration, it will select a batch of data based on the sampling strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampleConfig { - /// Field to choose sampling strategy. Sampling strategy will decide which data - /// should be selected for human labeling in every batch. + /// Field to choose sampling strategy. Sampling strategy will decide which data + /// should be selected for human labeling in every batch. #[prost(enumeration="sample_config::SampleStrategy", tag="5")] pub sample_strategy: i32, - /// Decides sample size for the initial batch. initial_batch_sample_percentage - /// is used by default. + /// Decides sample size for the initial batch. initial_batch_sample_percentage + /// is used by default. #[prost(oneof="sample_config::InitialBatchSampleSize", tags="1")] pub initial_batch_sample_size: ::core::option::Option, - /// Decides sample size for the following batches. - /// following_batch_sample_percentage is used by default. + /// Decides sample size for the following batches. + /// following_batch_sample_percentage is used by default. #[prost(oneof="sample_config::FollowingBatchSampleSize", tags="3")] pub following_batch_sample_size: ::core::option::Option, } /// Nested message and enum types in `SampleConfig`. pub mod sample_config { - /// Sample strategy decides which subset of DataItems should be selected for - /// human labeling in every batch. + /// Sample strategy decides which subset of DataItems should be selected for + /// human labeling in every batch. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SampleStrategy { - /// Default will be treated as UNCERTAINTY. + /// Default will be treated as UNCERTAINTY. Unspecified = 0, - /// Sample the most uncertain data to label. + /// Sample the most uncertain data to label. Uncertainty = 1, } impl SampleStrategy { @@ -2937,271 +2937,271 @@ pub mod sample_config { } } } - /// Decides sample size for the initial batch. initial_batch_sample_percentage - /// is used by default. + /// Decides sample size for the initial batch. initial_batch_sample_percentage + /// is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum InitialBatchSampleSize { - /// The percentage of data needed to be labeled in the first batch. + /// The percentage of data needed to be labeled in the first batch. #[prost(int32, tag="1")] InitialBatchSamplePercentage(i32), } - /// Decides sample size for the following batches. - /// following_batch_sample_percentage is used by default. + /// Decides sample size for the following batches. + /// following_batch_sample_percentage is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FollowingBatchSampleSize { - /// The percentage of data needed to be labeled in each following batch - /// (except the first batch). + /// The percentage of data needed to be labeled in each following batch + /// (except the first batch). #[prost(int32, tag="3")] FollowingBatchSamplePercentage(i32), } } -/// CMLE training config. For every active learning labeling iteration, system -/// will train a machine learning model on CMLE. The trained model will be used -/// by data sampling algorithm to select DataItems. +/// CMLE training config. For every active learning labeling iteration, system +/// will train a machine learning model on CMLE. The trained model will be used +/// by data sampling algorithm to select DataItems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingConfig { - /// The timeout hours for the CMLE training job, expressed in milli hours - /// i.e. 1,000 value in this field means 1 hour. + /// The timeout hours for the CMLE training job, expressed in milli hours + /// i.e. 1,000 value in this field means 1 hour. #[prost(int64, tag="1")] pub timeout_training_milli_hours: i64, } -/// A collection of DataItems and Annotations on them. +/// A collection of DataItems and Annotations on them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Output only. The resource name of the Dataset. + /// Output only. The resource name of the Dataset. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the Dataset. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the Dataset. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. The description of the Dataset. + /// Optional. The description of the Dataset. #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, - /// Required. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Dataset. - /// The schema is defined as an OpenAPI 3.0.2 Schema Object. - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/metadata/. + /// Required. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Dataset. + /// The schema is defined as an OpenAPI 3.0.2 Schema Object. + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/metadata/. #[prost(string, tag="3")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// Required. Additional information about the Dataset. + /// Required. Additional information about the Dataset. #[prost(message, optional, tag="8")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this Dataset was created. + /// Output only. Timestamp when this Dataset was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Dataset was last updated. + /// Output only. Timestamp when this Dataset was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Datasets. + /// The labels with user-defined metadata to organize your Datasets. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Dataset (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Dataset (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each Dataset: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each Dataset: /// - /// * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its + /// * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its /// value is the \[metadata_schema's][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\] title. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a Dataset. If set, this Dataset - /// and all sub-resources of this Dataset will be secured by this key. + /// Customer-managed encryption key spec for a Dataset. If set, this Dataset + /// and all sub-resources of this Dataset will be secured by this key. #[prost(message, optional, tag="11")] pub encryption_spec: ::core::option::Option, } -/// Describes the location from where we import data into a Dataset, together -/// with the labels that will be applied to the DataItems and the Annotations. +/// Describes the location from where we import data into a Dataset, together +/// with the labels that will be applied to the DataItems and the Annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataConfig { - /// Labels that will be applied to newly imported DataItems. If an identical - /// DataItem as one being imported already exists in the Dataset, then these - /// labels will be appended to these of the already existing one, and if labels - /// with identical key is imported before, the old label value will be - /// overwritten. If two DataItems are identical in the same import data - /// operation, the labels will be combined and if key collision happens in this - /// case, one of the values will be picked randomly. Two DataItems are - /// considered identical if their content bytes are identical (e.g. image bytes - /// or pdf bytes). - /// These labels will be overridden by Annotation labels specified inside index - /// file referenced by \[import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri\], e.g. jsonl file. + /// Labels that will be applied to newly imported DataItems. If an identical + /// DataItem as one being imported already exists in the Dataset, then these + /// labels will be appended to these of the already existing one, and if labels + /// with identical key is imported before, the old label value will be + /// overwritten. If two DataItems are identical in the same import data + /// operation, the labels will be combined and if key collision happens in this + /// case, one of the values will be picked randomly. Two DataItems are + /// considered identical if their content bytes are identical (e.g. image bytes + /// or pdf bytes). + /// These labels will be overridden by Annotation labels specified inside index + /// file referenced by \[import_schema_uri][google.cloud.aiplatform.v1.ImportDataConfig.import_schema_uri\], e.g. jsonl file. #[prost(map="string, string", tag="2")] pub data_item_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Points to a YAML file stored on Google Cloud Storage describing the import - /// format. Validation will be done against the schema. The schema is defined - /// as an [OpenAPI 3.0.2 Schema - /// Object](). + /// Required. Points to a YAML file stored on Google Cloud Storage describing the import + /// format. Validation will be done against the schema. The schema is defined + /// as an [OpenAPI 3.0.2 Schema + /// Object](). #[prost(string, tag="4")] pub import_schema_uri: ::prost::alloc::string::String, - /// The source of the input. + /// The source of the input. #[prost(oneof="import_data_config::Source", tags="1")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportDataConfig`. pub mod import_data_config { - /// The source of the input. + /// The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Google Cloud Storage location for the input content. + /// The Google Cloud Storage location for the input content. #[prost(message, tag="1")] GcsSource(super::GcsSource), } } -/// Describes what part of the Dataset is to be exported, the destination of -/// the export and how to export. +/// Describes what part of the Dataset is to be exported, the destination of +/// the export and how to export. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataConfig { - /// A filter on Annotations of the Dataset. Only Annotations on to-be-exported - /// DataItems(specified by \[data_items_filter][\]) that match this filter will - /// be exported. The filter syntax is the same as in - /// \[ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. + /// A filter on Annotations of the Dataset. Only Annotations on to-be-exported + /// DataItems(specified by \[data_items_filter][\]) that match this filter will + /// be exported. The filter syntax is the same as in + /// \[ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. #[prost(string, tag="2")] pub annotations_filter: ::prost::alloc::string::String, - /// The destination of the output. + /// The destination of the output. #[prost(oneof="export_data_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportDataConfig`. pub mod export_data_config { - /// The destination of the output. + /// The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Google Cloud Storage location where the output is to be written to. - /// In the given directory a new directory will be created with name: - /// `export-data--` where - /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - /// output will be written into that directory. Inside that directory, - /// annotations with the same schema will be grouped into sub directories - /// which are named with the corresponding annotations' schema title. Inside - /// these sub directories, a schema.yaml will be created to describe the - /// output format. + /// The Google Cloud Storage location where the output is to be written to. + /// In the given directory a new directory will be created with name: + /// `export-data--` where + /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export + /// output will be written into that directory. Inside that directory, + /// annotations with the same schema will be grouped into sub directories + /// which are named with the corresponding annotations' schema title. Inside + /// these sub directories, a schema.yaml will be created to describe the + /// output format. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), } } -/// Generic Metadata shared by all operations. +/// Generic Metadata shared by all operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenericOperationMetadata { - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// This field should never exceed 20 entries. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// This field should never exceed 20 entries. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="1")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Time when the operation was created. + /// Output only. Time when the operation was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the operation was updated for the last time. - /// If the operation has finished (successfully or not), this is the finish - /// time. + /// Output only. Time when the operation was updated for the last time. + /// If the operation has finished (successfully or not), this is the finish + /// time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Details of operations that perform deletes of any entities. +/// Details of operations that perform deletes of any entities. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// A SavedQuery is a view of the dataset. It references a subset of annotations -/// by problem type and filters. +/// A SavedQuery is a view of the dataset. It references a subset of annotations +/// by problem type and filters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SavedQuery { - /// Output only. Resource name of the SavedQuery. + /// Output only. Resource name of the SavedQuery. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the SavedQuery. - /// The name can be up to 128 characters long and can consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the SavedQuery. + /// The name can be up to 128 characters long and can consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Some additional information about the SavedQuery. + /// Some additional information about the SavedQuery. #[prost(message, optional, tag="12")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this SavedQuery was created. + /// Output only. Timestamp when this SavedQuery was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when SavedQuery was last updated. + /// Output only. Timestamp when SavedQuery was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Filters on the Annotations in the dataset. + /// Output only. Filters on the Annotations in the dataset. #[prost(string, tag="5")] pub annotation_filter: ::prost::alloc::string::String, - /// Required. Problem type of the SavedQuery. - /// Allowed values: - /// - /// * IMAGE_CLASSIFICATION_SINGLE_LABEL - /// * IMAGE_CLASSIFICATION_MULTI_LABEL - /// * IMAGE_BOUNDING_POLY - /// * IMAGE_BOUNDING_BOX - /// * TEXT_CLASSIFICATION_SINGLE_LABEL - /// * TEXT_CLASSIFICATION_MULTI_LABEL - /// * TEXT_EXTRACTION - /// * TEXT_SENTIMENT - /// * VIDEO_CLASSIFICATION - /// * VIDEO_OBJECT_TRACKING + /// Required. Problem type of the SavedQuery. + /// Allowed values: + /// + /// * IMAGE_CLASSIFICATION_SINGLE_LABEL + /// * IMAGE_CLASSIFICATION_MULTI_LABEL + /// * IMAGE_BOUNDING_POLY + /// * IMAGE_BOUNDING_BOX + /// * TEXT_CLASSIFICATION_SINGLE_LABEL + /// * TEXT_CLASSIFICATION_MULTI_LABEL + /// * TEXT_EXTRACTION + /// * TEXT_SENTIMENT + /// * VIDEO_CLASSIFICATION + /// * VIDEO_OBJECT_TRACKING #[prost(string, tag="6")] pub problem_type: ::prost::alloc::string::String, - /// Output only. Number of AnnotationSpecs in the context of the SavedQuery. + /// Output only. Number of AnnotationSpecs in the context of the SavedQuery. #[prost(int32, tag="10")] pub annotation_spec_count: i32, - /// Used to perform a consistent read-modify-write update. If not set, a blind - /// "overwrite" update happens. + /// Used to perform a consistent read-modify-write update. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// Output only. If the Annotations belonging to the SavedQuery can be used for AutoML - /// training. + /// Output only. If the Annotations belonging to the SavedQuery can be used for AutoML + /// training. #[prost(bool, tag="9")] pub support_automl_training: bool, } -/// Request message for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1.DatasetService.CreateDataset\]. +/// Request message for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1.DatasetService.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetRequest { - /// Required. The resource name of the Location to create the Dataset in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Dataset in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Dataset to create. + /// Required. The Dataset to create. #[prost(message, optional, tag="2")] pub dataset: ::core::option::Option, } -/// Runtime operation information for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1.DatasetService.CreateDataset\]. +/// Runtime operation information for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1.DatasetService.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[DatasetService.GetDataset][google.cloud.aiplatform.v1.DatasetService.GetDataset\]. +/// Request message for \[DatasetService.GetDataset][google.cloud.aiplatform.v1.DatasetService.GetDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatasetRequest { - /// Required. The name of the Dataset resource. + /// Required. The name of the Dataset resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.UpdateDataset][google.cloud.aiplatform.v1.DatasetService.UpdateDataset\]. +/// Request message for \[DatasetService.UpdateDataset][google.cloud.aiplatform.v1.DatasetService.UpdateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatasetRequest { - /// Required. The Dataset which replaces the resource on the server. + /// Required. The Dataset which replaces the resource on the server. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// Required. The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. - /// Updatable fields: + /// Required. The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Updatable fields: /// /// * `display_name` /// * `description` @@ -3209,15 +3209,15 @@ pub struct UpdateDatasetRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1.DatasetService.ListDatasets\]. +/// Request message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1.DatasetService.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsRequest { - /// Required. The name of the Dataset's parent resource. - /// Format: `projects/{project}/locations/{location}` + /// Required. The name of the Dataset's parent resource. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `display_name`: supports = and != /// * `metadata_schema_uri`: supports = and != @@ -3226,24 +3226,24 @@ pub struct ListDatasetsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// /// * `display_name` /// * `create_time` @@ -3251,193 +3251,193 @@ pub struct ListDatasetsRequest { #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1.DatasetService.ListDatasets\]. +/// Response message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1.DatasetService.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsResponse { - /// A list of Datasets that matches the specified filter in the request. + /// A list of Datasets that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub datasets: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.DeleteDataset][google.cloud.aiplatform.v1.DatasetService.DeleteDataset\]. +/// Request message for \[DatasetService.DeleteDataset][google.cloud.aiplatform.v1.DatasetService.DeleteDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDatasetRequest { - /// Required. The resource name of the Dataset to delete. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to delete. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. +/// Request message for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataRequest { - /// Required. The name of the Dataset resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The name of the Dataset resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired input locations. The contents of all input locations will be - /// imported in one batch. + /// Required. The desired input locations. The contents of all input locations will be + /// imported in one batch. #[prost(message, repeated, tag="2")] pub import_configs: ::prost::alloc::vec::Vec, } -/// Response message for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. +/// Response message for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataResponse { } -/// Runtime operation information for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. +/// Runtime operation information for \[DatasetService.ImportData][google.cloud.aiplatform.v1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. +/// Request message for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataRequest { - /// Required. The name of the Dataset resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The name of the Dataset resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location. + /// Required. The desired output location. #[prost(message, optional, tag="2")] pub export_config: ::core::option::Option, } -/// Response message for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. +/// Response message for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataResponse { - /// All of the files that are exported in this export operation. + /// All of the files that are exported in this export operation. #[prost(string, repeated, tag="1")] pub exported_files: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Runtime operation information for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. +/// Runtime operation information for \[DatasetService.ExportData][google.cloud.aiplatform.v1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// A Google Cloud Storage directory which path ends with '/'. The exported - /// data is stored in the directory. + /// A Google Cloud Storage directory which path ends with '/'. The exported + /// data is stored in the directory. #[prost(string, tag="2")] pub gcs_output_directory: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems\]. +/// Request message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsRequest { - /// Required. The resource name of the Dataset to list DataItems from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to list DataItems from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems\]. +/// Response message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1.DatasetService.ListDataItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsResponse { - /// A list of DataItems that matches the specified filter in the request. + /// A list of DataItems that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub data_items: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1.DatasetService.ListSavedQueries\]. +/// Request message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1.DatasetService.ListSavedQueries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesRequest { - /// Required. The resource name of the Dataset to list SavedQueries from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to list SavedQueries from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1.DatasetService.ListSavedQueries\]. +/// Response message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1.DatasetService.ListSavedQueries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesResponse { - /// A list of SavedQueries that match the specified filter in the request. + /// A list of SavedQueries that match the specified filter in the request. #[prost(message, repeated, tag="1")] pub saved_queries: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec\]. +/// Request message for \[DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1.DatasetService.GetAnnotationSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotationSpecRequest { - /// Required. The name of the AnnotationSpec resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` + /// Required. The name of the AnnotationSpec resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. +/// Request message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationsRequest { - /// Required. The resource name of the DataItem to list Annotations from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` + /// Required. The resource name of the DataItem to list Annotations from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. +/// Response message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationsResponse { - /// A list of Annotations that matches the specified filter in the request. + /// A list of Annotations that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub annotations: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -3746,286 +3746,286 @@ pub mod dataset_service_client { } } } -/// Points to a DeployedIndex. +/// Points to a DeployedIndex. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndexRef { - /// Immutable. A resource name of the IndexEndpoint. + /// Immutable. A resource name of the IndexEndpoint. #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Immutable. The ID of the DeployedIndex in the above IndexEndpoint. + /// Immutable. The ID of the DeployedIndex in the above IndexEndpoint. #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// Models are deployed into it, and afterwards Endpoint is called to obtain -/// predictions and explanations. +/// Models are deployed into it, and afterwards Endpoint is called to obtain +/// predictions and explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Endpoint { - /// Output only. The resource name of the Endpoint. + /// Output only. The resource name of the Endpoint. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the Endpoint. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Endpoint. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Endpoint. + /// The description of the Endpoint. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The models deployed in this Endpoint. - /// To add or remove DeployedModels use \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\] and - /// \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\] respectively. + /// Output only. The models deployed in this Endpoint. + /// To add or remove DeployedModels use \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\] and + /// \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\] respectively. #[prost(message, repeated, tag="4")] pub deployed_models: ::prost::alloc::vec::Vec, - /// A map from a DeployedModel's ID to the percentage of this Endpoint's - /// traffic that should be forwarded to that DeployedModel. + /// A map from a DeployedModel's ID to the percentage of this Endpoint's + /// traffic that should be forwarded to that DeployedModel. /// - /// If a DeployedModel's ID is not listed in this map, then it receives no - /// traffic. + /// If a DeployedModel's ID is not listed in this map, then it receives no + /// traffic. /// - /// The traffic percentage values must add up to 100, or map must be empty if - /// the Endpoint is to not accept any traffic at a moment. + /// The traffic percentage values must add up to 100, or map must be empty if + /// the Endpoint is to not accept any traffic at a moment. #[prost(map="string, int32", tag="5")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Endpoints. + /// The labels with user-defined metadata to organize your Endpoints. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Endpoint was created. + /// Output only. Timestamp when this Endpoint was created. #[prost(message, optional, tag="8")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Endpoint was last updated. + /// Output only. Timestamp when this Endpoint was last updated. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Customer-managed encryption key spec for an Endpoint. If set, this - /// Endpoint and all sub-resources of this Endpoint will be secured by - /// this key. + /// Customer-managed encryption key spec for an Endpoint. If set, this + /// Endpoint and all sub-resources of this Endpoint will be secured by + /// this key. #[prost(message, optional, tag="10")] pub encryption_spec: ::core::option::Option, - /// The full name of the Google Compute Engine - /// \[network\]() - /// to which the Endpoint should be peered. + /// The full name of the Google Compute Engine + /// \[network\]() + /// to which the Endpoint should be peered. /// - /// Private services access must already be configured for the network. If left - /// unspecified, the Endpoint is not peered with any network. + /// Private services access must already be configured for the network. If left + /// unspecified, the Endpoint is not peered with any network. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1.Endpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1.Endpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect\], + /// can be set. /// - /// \[Format\](): - /// `projects/{project}/global/networks/{network}`. - /// Where `{project}` is a project number, as in `12345`, and `{network}` is - /// network name. + /// \[Format\](): + /// `projects/{project}/global/networks/{network}`. + /// Where `{project}` is a project number, as in `12345`, and `{network}` is + /// network name. #[prost(string, tag="13")] pub network: ::prost::alloc::string::String, - /// Deprecated: If true, expose the Endpoint via private service connect. + /// Deprecated: If true, expose the Endpoint via private service connect. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1.Endpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1.Endpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1.Endpoint.enable_private_service_connect\], + /// can be set. #[deprecated] #[prost(bool, tag="17")] pub enable_private_service_connect: bool, - /// Output only. Resource name of the Model Monitoring job associated with this Endpoint - /// if monitoring is enabled by \[CreateModelDeploymentMonitoringJob][\]. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Output only. Resource name of the Model Monitoring job associated with this Endpoint + /// if monitoring is enabled by \[CreateModelDeploymentMonitoringJob][\]. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="14")] pub model_deployment_monitoring_job: ::prost::alloc::string::String, - /// Configures the request-response logging for online prediction. + /// Configures the request-response logging for online prediction. #[prost(message, optional, tag="18")] pub predict_request_response_logging_config: ::core::option::Option, } -/// A deployment of a Model. Endpoints contain one or more DeployedModels. +/// A deployment of a Model. Endpoints contain one or more DeployedModels. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedModel { - /// Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI - /// will generate a value for this ID. + /// Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI + /// will generate a value for this ID. /// - /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. + /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The resource name of the Model that this is the deployment of. Note that - /// the Model may be in a different location than the DeployedModel's Endpoint. + /// Required. The resource name of the Model that this is the deployment of. Note that + /// the Model may be in a different location than the DeployedModel's Endpoint. /// - /// The resource name may contain version id or version alias to specify the - /// version, if no version is specified, the default version will be deployed. + /// The resource name may contain version id or version alias to specify the + /// version, if no version is specified, the default version will be deployed. #[prost(string, tag="2")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the model that is deployed. + /// Output only. The version ID of the model that is deployed. #[prost(string, tag="18")] pub model_version_id: ::prost::alloc::string::String, - /// The display name of the DeployedModel. If not provided upon creation, - /// the Model's display_name is used. + /// The display name of the DeployedModel. If not provided upon creation, + /// the Model's display_name is used. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when the DeployedModel was created. + /// Output only. Timestamp when the DeployedModel was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Explanation configuration for this DeployedModel. - /// - /// When deploying a Model using \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\], this value - /// overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\]. All fields of - /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] are optional in the request. If a field of - /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] is not populated, the value of the same field of - /// \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] is inherited. If the corresponding - /// \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] is not populated, all fields of the - /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] will be used for the explanation configuration. + /// Explanation configuration for this DeployedModel. + /// + /// When deploying a Model using \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\], this value + /// overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\]. All fields of + /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] are optional in the request. If a field of + /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] is not populated, the value of the same field of + /// \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] is inherited. If the corresponding + /// \[Model.explanation_spec][google.cloud.aiplatform.v1.Model.explanation_spec\] is not populated, all fields of the + /// \[explanation_spec][google.cloud.aiplatform.v1.DeployedModel.explanation_spec\] will be used for the explanation configuration. #[prost(message, optional, tag="9")] pub explanation_spec: ::core::option::Option, - /// The service account that the DeployedModel's container runs as. Specify the - /// email address of the service account. If this service account is not - /// specified, the container runs as a service account that doesn't have access - /// to the resource project. + /// The service account that the DeployedModel's container runs as. Specify the + /// email address of the service account. If this service account is not + /// specified, the container runs as a service account that doesn't have access + /// to the resource project. /// - /// Users deploying the Model must have the `iam.serviceAccounts.actAs` - /// permission on this service account. + /// Users deploying the Model must have the `iam.serviceAccounts.actAs` + /// permission on this service account. #[prost(string, tag="11")] pub service_account: ::prost::alloc::string::String, - /// For custom-trained Models and AutoML Tabular Models, the container of the - /// DeployedModel instances will send `stderr` and `stdout` streams to - /// Stackdriver Logging by default. Please note that the logs incur cost, - /// which are subject to [Cloud Logging - /// pricing](). + /// For custom-trained Models and AutoML Tabular Models, the container of the + /// DeployedModel instances will send `stderr` and `stdout` streams to + /// Stackdriver Logging by default. Please note that the logs incur cost, + /// which are subject to [Cloud Logging + /// pricing](). /// - /// User can disable container logging by setting this flag to true. + /// User can disable container logging by setting this flag to true. #[prost(bool, tag="15")] pub disable_container_logging: bool, - /// These logs are like standard server access logs, containing - /// information like timestamp and latency for each prediction request. + /// These logs are like standard server access logs, containing + /// information like timestamp and latency for each prediction request. /// - /// Note that Stackdriver logs may incur a cost, especially if your project - /// receives prediction requests at a high queries per second rate (QPS). - /// Estimate your costs before enabling this option. + /// Note that Stackdriver logs may incur a cost, especially if your project + /// receives prediction requests at a high queries per second rate (QPS). + /// Estimate your costs before enabling this option. #[prost(bool, tag="13")] pub enable_access_logging: bool, - /// Output only. Provide paths for users to send predict/explain/health requests directly to - /// the deployed model services running on Cloud via private services access. - /// This field is populated if \[network][google.cloud.aiplatform.v1.Endpoint.network\] is configured. + /// Output only. Provide paths for users to send predict/explain/health requests directly to + /// the deployed model services running on Cloud via private services access. + /// This field is populated if \[network][google.cloud.aiplatform.v1.Endpoint.network\] is configured. #[prost(message, optional, tag="14")] pub private_endpoints: ::core::option::Option, - /// The prediction (for example, the machine) resources that the DeployedModel - /// uses. The user is billed for the resources (at least their minimal amount) - /// even if the DeployedModel receives no traffic. - /// Not all Models support all resources types. See - /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\]. + /// The prediction (for example, the machine) resources that the DeployedModel + /// uses. The user is billed for the resources (at least their minimal amount) + /// even if the DeployedModel receives no traffic. + /// Not all Models support all resources types. See + /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\]. #[prost(oneof="deployed_model::PredictionResources", tags="7, 8")] pub prediction_resources: ::core::option::Option, } /// Nested message and enum types in `DeployedModel`. pub mod deployed_model { - /// The prediction (for example, the machine) resources that the DeployedModel - /// uses. The user is billed for the resources (at least their minimal amount) - /// even if the DeployedModel receives no traffic. - /// Not all Models support all resources types. See - /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\]. + /// The prediction (for example, the machine) resources that the DeployedModel + /// uses. The user is billed for the resources (at least their minimal amount) + /// even if the DeployedModel receives no traffic. + /// Not all Models support all resources types. See + /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1.Model.supported_deployment_resources_types\]. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PredictionResources { - /// A description of resources that are dedicated to the DeployedModel, and - /// that need a higher degree of manual configuration. + /// A description of resources that are dedicated to the DeployedModel, and + /// that need a higher degree of manual configuration. #[prost(message, tag="7")] DedicatedResources(super::DedicatedResources), - /// A description of resources that to large degree are decided by Vertex - /// AI, and require only a modest additional configuration. + /// A description of resources that to large degree are decided by Vertex + /// AI, and require only a modest additional configuration. #[prost(message, tag="8")] AutomaticResources(super::AutomaticResources), } } -/// PrivateEndpoints proto is used to provide paths for users to send -/// requests privately. -/// To send request via private service access, use predict_http_uri, -/// explain_http_uri or health_http_uri. To send request via private service -/// connect, use service_attachment. +/// PrivateEndpoints proto is used to provide paths for users to send +/// requests privately. +/// To send request via private service access, use predict_http_uri, +/// explain_http_uri or health_http_uri. To send request via private service +/// connect, use service_attachment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateEndpoints { - /// Output only. Http(s) path to send prediction requests. + /// Output only. Http(s) path to send prediction requests. #[prost(string, tag="1")] pub predict_http_uri: ::prost::alloc::string::String, - /// Output only. Http(s) path to send explain requests. + /// Output only. Http(s) path to send explain requests. #[prost(string, tag="2")] pub explain_http_uri: ::prost::alloc::string::String, - /// Output only. Http(s) path to send health check requests. + /// Output only. Http(s) path to send health check requests. #[prost(string, tag="3")] pub health_http_uri: ::prost::alloc::string::String, - /// Output only. The name of the service attachment resource. Populated if private service - /// connect is enabled. + /// Output only. The name of the service attachment resource. Populated if private service + /// connect is enabled. #[prost(string, tag="4")] pub service_attachment: ::prost::alloc::string::String, } -/// Configuration for logging request-response to a BigQuery table. +/// Configuration for logging request-response to a BigQuery table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictRequestResponseLoggingConfig { - /// If logging is enabled or not. + /// If logging is enabled or not. #[prost(bool, tag="1")] pub enabled: bool, - /// Percentage of requests to be logged, expressed as a fraction in - /// range(0,1]. + /// Percentage of requests to be logged, expressed as a fraction in + /// range(0,1]. #[prost(double, tag="2")] pub sampling_rate: f64, - /// BigQuery table for logging. - /// If only given a project, a new dataset will be created with name - /// `logging__` where - /// will be made BigQuery-dataset-name compatible (e.g. - /// most special characters will become underscores). If no table name is - /// given, a new table will be created with name `request_response_logging` + /// BigQuery table for logging. + /// If only given a project, a new dataset will be created with name + /// `logging__` where + /// will be made BigQuery-dataset-name compatible (e.g. + /// most special characters will become underscores). If no table name is + /// given, a new table will be created with name `request_response_logging` #[prost(message, optional, tag="3")] pub bigquery_destination: ::core::option::Option, } -/// Request message for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1.EndpointService.CreateEndpoint\]. +/// Request message for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1.EndpointService.CreateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEndpointRequest { - /// Required. The resource name of the Location to create the Endpoint in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Endpoint in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Endpoint to create. + /// Required. The Endpoint to create. #[prost(message, optional, tag="2")] pub endpoint: ::core::option::Option, - /// Immutable. The ID to use for endpoint, which will become the final - /// component of the endpoint resource name. - /// If not provided, Vertex AI will generate a value for this ID. - /// - /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. - /// When using HTTP/JSON, this field is populated based on a query string - /// argument, such as `?endpoint_id=12345`. This is the fallback for fields - /// that are not included in either the URI or the body. + /// Immutable. The ID to use for endpoint, which will become the final + /// component of the endpoint resource name. + /// If not provided, Vertex AI will generate a value for this ID. + /// + /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. + /// When using HTTP/JSON, this field is populated based on a query string + /// argument, such as `?endpoint_id=12345`. This is the fallback for fields + /// that are not included in either the URI or the body. #[prost(string, tag="4")] pub endpoint_id: ::prost::alloc::string::String, } -/// Runtime operation information for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1.EndpointService.CreateEndpoint\]. +/// Runtime operation information for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1.EndpointService.CreateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEndpointOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[EndpointService.GetEndpoint][google.cloud.aiplatform.v1.EndpointService.GetEndpoint\] +/// Request message for \[EndpointService.GetEndpoint][google.cloud.aiplatform.v1.EndpointService.GetEndpoint\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEndpointRequest { - /// Required. The name of the Endpoint resource. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\]. +/// Request message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEndpointsRequest { - /// Required. The resource name of the Location from which to list the Endpoints. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the Endpoints. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// Optional. An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, /// i.e. the last segment of the Endpoint's [resource name]\[google.cloud.aiplatform.v1.Endpoint.name\]. @@ -4035,136 +4035,136 @@ pub struct ListEndpointsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// * `endpoint=1` /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. The standard list page size. + /// Optional. The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. The standard list page token. - /// Typically obtained via - /// \[ListEndpointsResponse.next_page_token][google.cloud.aiplatform.v1.ListEndpointsResponse.next_page_token\] of the previous - /// \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\] call. + /// Optional. The standard list page token. + /// Typically obtained via + /// \[ListEndpointsResponse.next_page_token][google.cloud.aiplatform.v1.ListEndpointsResponse.next_page_token\] of the previous + /// \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. Mask specifying which fields to read. + /// Optional. Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// * `display_name` /// * `create_time` /// * `update_time` /// - /// Example: `display_name, create_time desc`. + /// Example: `display_name, create_time desc`. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\]. +/// Response message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1.EndpointService.ListEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEndpointsResponse { - /// List of Endpoints in the requested page. + /// List of Endpoints in the requested page. #[prost(message, repeated, tag="1")] pub endpoints: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListEndpointsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListEndpointsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint\]. +/// Request message for \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEndpointRequest { - /// Required. The Endpoint which replaces the resource on the server. + /// Required. The Endpoint which replaces the resource on the server. #[prost(message, optional, tag="1")] pub endpoint: ::core::option::Option, - /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[EndpointService.DeleteEndpoint][google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint\]. +/// Request message for \[EndpointService.DeleteEndpoint][google.cloud.aiplatform.v1.EndpointService.DeleteEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEndpointRequest { - /// Required. The name of the Endpoint resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. +/// Request message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelRequest { - /// Required. The name of the Endpoint resource into which to deploy a Model. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource into which to deploy a Model. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. The DeployedModel to be created within the Endpoint. Note that - /// \[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] must be updated for the DeployedModel to start - /// receiving traffic, either as part of this call, or via - /// \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint\]. + /// Required. The DeployedModel to be created within the Endpoint. Note that + /// \[Endpoint.traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] must be updated for the DeployedModel to start + /// receiving traffic, either as part of this call, or via + /// \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1.EndpointService.UpdateEndpoint\]. #[prost(message, optional, tag="2")] pub deployed_model: ::core::option::Option, - /// A map from a DeployedModel's ID to the percentage of this Endpoint's - /// traffic that should be forwarded to that DeployedModel. + /// A map from a DeployedModel's ID to the percentage of this Endpoint's + /// traffic that should be forwarded to that DeployedModel. /// - /// If this field is non-empty, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] will be overwritten with it. - /// To refer to the ID of the just being deployed Model, a "0" should be used, - /// and the actual ID of the new DeployedModel will be filled in its place by - /// this method. The traffic percentage values must add up to 100. + /// If this field is non-empty, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] will be overwritten with it. + /// To refer to the ID of the just being deployed Model, a "0" should be used, + /// and the actual ID of the new DeployedModel will be filled in its place by + /// this method. The traffic percentage values must add up to 100. /// - /// If this field is empty, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] is not updated. + /// If this field is empty, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] is not updated. #[prost(map="string, int32", tag="3")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } -/// Response message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. +/// Response message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelResponse { - /// The DeployedModel that had been deployed in the Endpoint. + /// The DeployedModel that had been deployed in the Endpoint. #[prost(message, optional, tag="1")] pub deployed_model: ::core::option::Option, } -/// Runtime operation information for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. +/// Runtime operation information for \[EndpointService.DeployModel][google.cloud.aiplatform.v1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. +/// Request message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelRequest { - /// Required. The name of the Endpoint resource from which to undeploy a Model. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource from which to undeploy a Model. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. The ID of the DeployedModel to be undeployed from the Endpoint. + /// Required. The ID of the DeployedModel to be undeployed from the Endpoint. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// If this field is provided, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] will be overwritten with it. If - /// last DeployedModel is being undeployed from the Endpoint, the - /// \[Endpoint.traffic_split\] will always end up empty when this call returns. - /// A DeployedModel will be successfully undeployed only if it doesn't have - /// any traffic assigned to it when this method executes, or if this field - /// unassigns any traffic to it. + /// If this field is provided, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1.Endpoint.traffic_split\] will be overwritten with it. If + /// last DeployedModel is being undeployed from the Endpoint, the + /// \[Endpoint.traffic_split\] will always end up empty when this call returns. + /// A DeployedModel will be successfully undeployed only if it doesn't have + /// any traffic assigned to it when this method executes, or if this field + /// unassigns any traffic to it. #[prost(map="string, int32", tag="3")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } -/// Response message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. +/// Response message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelResponse { } -/// Runtime operation information for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. +/// Runtime operation information for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } @@ -4393,99 +4393,99 @@ pub mod endpoint_service_client { } } } -/// Configuration of how features in Featurestore are monitored. +/// Configuration of how features in Featurestore are monitored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeaturestoreMonitoringConfig { - /// The config for Snapshot Analysis Based Feature Monitoring. + /// The config for Snapshot Analysis Based Feature Monitoring. #[prost(message, optional, tag="1")] pub snapshot_analysis: ::core::option::Option, - /// The config for ImportFeatures Analysis Based Feature Monitoring. + /// The config for ImportFeatures Analysis Based Feature Monitoring. #[prost(message, optional, tag="2")] pub import_features_analysis: ::core::option::Option, - /// Threshold for numerical features of anomaly detection. - /// This is shared by all objectives of Featurestore Monitoring for numerical - /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) DOUBLE or INT64). + /// Threshold for numerical features of anomaly detection. + /// This is shared by all objectives of Featurestore Monitoring for numerical + /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) DOUBLE or INT64). #[prost(message, optional, tag="3")] pub numerical_threshold_config: ::core::option::Option, - /// Threshold for categorical features of anomaly detection. - /// This is shared by all types of Featurestore Monitoring for categorical - /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL or STRING). + /// Threshold for categorical features of anomaly detection. + /// This is shared by all types of Featurestore Monitoring for categorical + /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL or STRING). #[prost(message, optional, tag="4")] pub categorical_threshold_config: ::core::option::Option, } /// Nested message and enum types in `FeaturestoreMonitoringConfig`. pub mod featurestore_monitoring_config { - /// Configuration of the Featurestore's Snapshot Analysis Based Monitoring. - /// This type of analysis generates statistics for each Feature based on a - /// snapshot of the latest feature value of each entities every - /// monitoring_interval. + /// Configuration of the Featurestore's Snapshot Analysis Based Monitoring. + /// This type of analysis generates statistics for each Feature based on a + /// snapshot of the latest feature value of each entities every + /// monitoring_interval. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotAnalysis { - /// The monitoring schedule for snapshot analysis. - /// For EntityType-level config: + /// The monitoring schedule for snapshot analysis. + /// For EntityType-level config: /// unset / disabled = true indicates disabled by /// default for Features under it; otherwise by default enable snapshot /// analysis monitoring with monitoring_interval for Features under it. - /// Feature-level config: + /// Feature-level config: /// disabled = true indicates disabled regardless of the EntityType-level /// config; unset monitoring_interval indicates going with EntityType-level /// config; otherwise run snapshot analysis monitoring with /// monitoring_interval regardless of the EntityType-level config. - /// Explicitly Disable the snapshot analysis based monitoring. + /// Explicitly Disable the snapshot analysis based monitoring. #[prost(bool, tag="1")] pub disabled: bool, - /// Configuration of the snapshot analysis based monitoring pipeline - /// running interval. The value indicates number of days. - /// If both - /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] - /// and \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][\] - /// are set when creating/updating EntityTypes/Features, - /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] - /// will be used. + /// Configuration of the snapshot analysis based monitoring pipeline + /// running interval. The value indicates number of days. + /// If both + /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] + /// and \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][\] + /// are set when creating/updating EntityTypes/Features, + /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] + /// will be used. #[prost(int32, tag="3")] pub monitoring_interval_days: i32, - /// Customized export features time window for snapshot analysis. Unit is one - /// day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - /// 4000 days. + /// Customized export features time window for snapshot analysis. Unit is one + /// day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + /// 4000 days. #[prost(int32, tag="4")] pub staleness_days: i32, } - /// Configuration of the Featurestore's ImportFeature Analysis Based - /// Monitoring. This type of analysis generates statistics for values of each - /// Feature imported by every \[ImportFeatureValues][\] operation. + /// Configuration of the Featurestore's ImportFeature Analysis Based + /// Monitoring. This type of analysis generates statistics for values of each + /// Feature imported by every \[ImportFeatureValues][\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeaturesAnalysis { - /// Whether to enable / disable / inherite default hebavior for import - /// features analysis. + /// Whether to enable / disable / inherite default hebavior for import + /// features analysis. #[prost(enumeration="import_features_analysis::State", tag="1")] pub state: i32, - /// The baseline used to do anomaly detection for the statistics generated by - /// import features analysis. + /// The baseline used to do anomaly detection for the statistics generated by + /// import features analysis. #[prost(enumeration="import_features_analysis::Baseline", tag="2")] pub anomaly_detection_baseline: i32, } /// Nested message and enum types in `ImportFeaturesAnalysis`. pub mod import_features_analysis { - /// The state defines whether to enable ImportFeature analysis. + /// The state defines whether to enable ImportFeature analysis. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// The default behavior of whether to enable the monitoring. - /// EntityType-level config: disabled. - /// Feature-level config: inherited from the configuration of EntityType - /// this Feature belongs to. + /// The default behavior of whether to enable the monitoring. + /// EntityType-level config: disabled. + /// Feature-level config: inherited from the configuration of EntityType + /// this Feature belongs to. Default = 1, - /// Explicitly enables import features analysis. - /// EntityType-level config: by default enables import features analysis - /// for all Features under it. Feature-level config: enables import - /// features analysis regardless of the EntityType-level config. + /// Explicitly enables import features analysis. + /// EntityType-level config: by default enables import features analysis + /// for all Features under it. Feature-level config: enables import + /// features analysis regardless of the EntityType-level config. Enabled = 2, - /// Explicitly disables import features analysis. - /// EntityType-level config: by default disables import features analysis - /// for all Features under it. Feature-level config: disables import - /// features analysis regardless of the EntityType-level config. + /// Explicitly disables import features analysis. + /// EntityType-level config: by default disables import features analysis + /// for all Features under it. Feature-level config: disables import + /// features analysis regardless of the EntityType-level config. Disabled = 3, } impl State { @@ -4502,22 +4502,22 @@ pub mod featurestore_monitoring_config { } } } - /// Defines the baseline to do anomaly detection for feature values imported - /// by each \[ImportFeatureValues][\] operation. + /// Defines the baseline to do anomaly detection for feature values imported + /// by each \[ImportFeatureValues][\] operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Baseline { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Choose the later one statistics generated by either most recent - /// snapshot analysis or previous import features analysis. If non of them - /// exists, skip anomaly detection and only generate a statistics. + /// Choose the later one statistics generated by either most recent + /// snapshot analysis or previous import features analysis. If non of them + /// exists, skip anomaly detection and only generate a statistics. LatestStats = 1, - /// Use the statistics generated by the most recent snapshot analysis if - /// exists. + /// Use the statistics generated by the most recent snapshot analysis if + /// exists. MostRecentSnapshotStats = 2, - /// Use the statistics generated by the previous import features analysis - /// if exists. + /// Use the statistics generated by the previous import features analysis + /// if exists. PreviousImportFeaturesStats = 3, } impl Baseline { @@ -4535,7 +4535,7 @@ pub mod featurestore_monitoring_config { } } } - /// The config for Featurestore Monitoring threshold. + /// The config for Featurestore Monitoring threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdConfig { #[prost(oneof="threshold_config::Threshold", tags="1")] @@ -4545,111 +4545,111 @@ pub mod featurestore_monitoring_config { pub mod threshold_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Threshold { - /// Specify a threshold value that can trigger the alert. - /// 1. For categorical feature, the distribution distance is calculated by - /// L-inifinity norm. - /// 2. For numerical feature, the distribution distance is calculated by - /// Jensen–Shannon divergence. Each feature must have a non-zero threshold - /// if they need to be monitored. Otherwise no alert will be triggered for - /// that feature. + /// Specify a threshold value that can trigger the alert. + /// 1. For categorical feature, the distribution distance is calculated by + /// L-inifinity norm. + /// 2. For numerical feature, the distribution distance is calculated by + /// Jensen–Shannon divergence. Each feature must have a non-zero threshold + /// if they need to be monitored. Otherwise no alert will be triggered for + /// that feature. #[prost(double, tag="1")] Value(f64), } } } -/// An entity type is a type of object in a system that needs to be modeled and -/// have stored information about. For example, driver is an entity type, and -/// driver0 is an instance of an entity type driver. +/// An entity type is a type of object in a system that needs to be modeled and +/// have stored information about. For example, driver is an entity type, and +/// driver0 is an instance of an entity type driver. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityType { - /// Immutable. Name of the EntityType. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - /// - /// The last part entity_type is assigned by the client. The entity_type can be - /// up to 64 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - /// value will be unique given a featurestore. + /// Immutable. Name of the EntityType. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// + /// The last part entity_type is assigned by the client. The entity_type can be + /// up to 64 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The + /// value will be unique given a featurestore. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Description of the EntityType. + /// Optional. Description of the EntityType. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Output only. Timestamp when this EntityType was created. + /// Output only. Timestamp when this EntityType was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this EntityType was most recently updated. + /// Output only. Timestamp when this EntityType was most recently updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your EntityTypes. + /// Optional. The labels with user-defined metadata to organize your EntityTypes. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one EntityType (System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one EntityType (System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Used to perform a consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform a consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, - /// Optional. The default monitoring configuration for all Features with value type - /// (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL, STRING, DOUBLE or INT64 under this - /// EntityType. - /// - /// If this is populated with - /// \[FeaturestoreMonitoringConfig.monitoring_interval\] specified, snapshot - /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - /// disabled. + /// Optional. The default monitoring configuration for all Features with value type + /// (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL, STRING, DOUBLE or INT64 under this + /// EntityType. + /// + /// If this is populated with + /// \[FeaturestoreMonitoringConfig.monitoring_interval\] specified, snapshot + /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is + /// disabled. #[prost(message, optional, tag="8")] pub monitoring_config: ::core::option::Option, } -/// An edge describing the relationship between an Artifact and an Execution in -/// a lineage graph. +/// An edge describing the relationship between an Artifact and an Execution in +/// a lineage graph. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Event { - /// Required. The relative resource name of the Artifact in the Event. + /// Required. The relative resource name of the Artifact in the Event. #[prost(string, tag="1")] pub artifact: ::prost::alloc::string::String, - /// Output only. The relative resource name of the Execution in the Event. + /// Output only. The relative resource name of the Execution in the Event. #[prost(string, tag="2")] pub execution: ::prost::alloc::string::String, - /// Output only. Time the Event occurred. + /// Output only. Time the Event occurred. #[prost(message, optional, tag="3")] pub event_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The type of the Event. + /// Required. The type of the Event. #[prost(enumeration="event::Type", tag="4")] pub r#type: i32, - /// The labels with user-defined metadata to annotate Events. + /// The labels with user-defined metadata to annotate Events. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Event (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Event (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Event`. pub mod event { - /// Describes whether an Event's Artifact is the Execution's input or output. + /// Describes whether an Event's Artifact is the Execution's input or output. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified whether input or output of the Execution. + /// Unspecified whether input or output of the Execution. Unspecified = 0, - /// An input of the Execution. + /// An input of the Execution. Input = 1, - /// An output of the Execution. + /// An output of the Execution. Output = 2, } impl Type { @@ -4666,82 +4666,82 @@ pub mod event { } } } -/// Instance of a general execution. +/// Instance of a general execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Execution { - /// Output only. The resource name of the Execution. + /// Output only. The resource name of the Execution. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Execution. - /// May be up to 128 Unicode characters. + /// User provided display name of the Execution. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The state of this Execution. This is a property of the Execution, and does - /// not imply or capture any ongoing process. This property is managed by - /// clients (such as Vertex AI Pipelines) and the system does not prescribe - /// or check the validity of state transitions. + /// The state of this Execution. This is a property of the Execution, and does + /// not imply or capture any ongoing process. This property is managed by + /// clients (such as Vertex AI Pipelines) and the system does not prescribe + /// or check the validity of state transitions. #[prost(enumeration="execution::State", tag="6")] pub state: i32, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Executions. + /// The labels with user-defined metadata to organize your Executions. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Execution (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Execution (System + /// labels are excluded). #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Execution was created. + /// Output only. Timestamp when this Execution was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Execution was last updated. + /// Output only. Timestamp when this Execution was last updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="13")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in `schema_title` to use. + /// The version of the schema in `schema_title` to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Execution. - /// The size of this field should not exceed 200KB. + /// Properties of the Execution. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="15")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Execution + /// Description of the Execution #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Execution`. pub mod execution { - /// Describes the state of the Execution. + /// Describes the state of the Execution. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified Execution state + /// Unspecified Execution state Unspecified = 0, - /// The Execution is new + /// The Execution is new New = 1, - /// The Execution is running + /// The Execution is running Running = 2, - /// The Execution has finished running + /// The Execution has finished running Complete = 3, - /// The Execution has failed + /// The Execution has failed Failed = 4, - /// The Execution completed through Cache hit. + /// The Execution completed through Cache hit. Cached = 5, - /// The Execution was cancelled. + /// The Execution was cancelled. Cancelled = 6, } impl State { @@ -4762,152 +4762,152 @@ pub mod execution { } } } -/// Stats and Anomaly generated at specific timestamp for specific Feature. -/// The start_time and end_time are used to define the time range of the dataset -/// that current stats belongs to, e.g. prediction traffic is bucketed into -/// prediction datasets by time window. If the Dataset is not defined by time -/// window, start_time = end_time. Timestamp of the stats and anomalies always -/// refers to end_time. Raw stats and anomalies are stored in stats_uri or -/// anomaly_uri in the tensorflow defined protos. Field data_stats contains -/// almost identical information with the raw stats in Vertex AI -/// defined proto, for UI to display. +/// Stats and Anomaly generated at specific timestamp for specific Feature. +/// The start_time and end_time are used to define the time range of the dataset +/// that current stats belongs to, e.g. prediction traffic is bucketed into +/// prediction datasets by time window. If the Dataset is not defined by time +/// window, start_time = end_time. Timestamp of the stats and anomalies always +/// refers to end_time. Raw stats and anomalies are stored in stats_uri or +/// anomaly_uri in the tensorflow defined protos. Field data_stats contains +/// almost identical information with the raw stats in Vertex AI +/// defined proto, for UI to display. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureStatsAnomaly { - /// Feature importance score, only populated when cross-feature monitoring is - /// enabled. For now only used to represent feature attribution score within - /// range [0, 1] for - /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW\] and - /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT\]. + /// Feature importance score, only populated when cross-feature monitoring is + /// enabled. For now only used to represent feature attribution score within + /// range [0, 1] for + /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW\] and + /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT\]. #[prost(double, tag="1")] pub score: f64, - /// Path of the stats file for current feature values in Cloud Storage bucket. - /// Format: gs:////stats. - /// Example: gs://monitoring_bucket/feature_name/stats. - /// Stats are stored as binary format with Protobuf message - /// \[tensorflow.metadata.v0.FeatureNameStatistics\](). + /// Path of the stats file for current feature values in Cloud Storage bucket. + /// Format: gs:////stats. + /// Example: gs://monitoring_bucket/feature_name/stats. + /// Stats are stored as binary format with Protobuf message + /// \[tensorflow.metadata.v0.FeatureNameStatistics\](). #[prost(string, tag="3")] pub stats_uri: ::prost::alloc::string::String, - /// Path of the anomaly file for current feature values in Cloud Storage - /// bucket. - /// Format: gs:////anomalies. - /// Example: gs://monitoring_bucket/feature_name/anomalies. - /// Stats are stored as binary format with Protobuf message - /// Anoamlies are stored as binary format with Protobuf message - /// \[tensorflow.metadata.v0.AnomalyInfo\] - /// (). + /// Path of the anomaly file for current feature values in Cloud Storage + /// bucket. + /// Format: gs:////anomalies. + /// Example: gs://monitoring_bucket/feature_name/anomalies. + /// Stats are stored as binary format with Protobuf message + /// Anoamlies are stored as binary format with Protobuf message + /// \[tensorflow.metadata.v0.AnomalyInfo\] + /// (). #[prost(string, tag="4")] pub anomaly_uri: ::prost::alloc::string::String, - /// Deviation from the current stats to baseline stats. + /// Deviation from the current stats to baseline stats. /// 1. For categorical feature, the distribution distance is calculated by /// L-inifinity norm. /// 2. For numerical feature, the distribution distance is calculated by /// Jensen–Shannon divergence. #[prost(double, tag="5")] pub distribution_deviation: f64, - /// This is the threshold used when detecting anomalies. - /// The threshold can be changed by user, so this one might be different from - /// \[ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value\]. + /// This is the threshold used when detecting anomalies. + /// The threshold can be changed by user, so this one might be different from + /// \[ThresholdConfig.value][google.cloud.aiplatform.v1.ThresholdConfig.value\]. #[prost(double, tag="9")] pub anomaly_detection_threshold: f64, - /// The start timestamp of window where stats were generated. - /// For objectives where time window doesn't make sense (e.g. Featurestore - /// Snapshot Monitoring), start_time is only used to indicate the monitoring - /// intervals, so it always equals to (end_time - monitoring_interval). + /// The start timestamp of window where stats were generated. + /// For objectives where time window doesn't make sense (e.g. Featurestore + /// Snapshot Monitoring), start_time is only used to indicate the monitoring + /// intervals, so it always equals to (end_time - monitoring_interval). #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The end timestamp of window where stats were generated. - /// For objectives where time window doesn't make sense (e.g. Featurestore - /// Snapshot Monitoring), end_time indicates the timestamp of the data used to - /// generate stats (e.g. timestamp we take snapshots for feature values). + /// The end timestamp of window where stats were generated. + /// For objectives where time window doesn't make sense (e.g. Featurestore + /// Snapshot Monitoring), end_time indicates the timestamp of the data used to + /// generate stats (e.g. timestamp we take snapshots for feature values). #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Feature Metadata information that describes an attribute of an entity type. -/// For example, apple is an entity type, and color is a feature that describes -/// apple. +/// Feature Metadata information that describes an attribute of an entity type. +/// For example, apple is an entity type, and color is a feature that describes +/// apple. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feature { - /// Immutable. Name of the Feature. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - /// - /// The last part feature is assigned by the client. The feature can be up to - /// 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - /// underscore(_), and ASCII digits 0-9 starting with a letter. The value will - /// be unique given an entity type. + /// Immutable. Name of the Feature. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// + /// The last part feature is assigned by the client. The feature can be up to + /// 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, + /// underscore(_), and ASCII digits 0-9 starting with a letter. The value will + /// be unique given an entity type. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Description of the Feature. + /// Description of the Feature. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. Type of Feature value. + /// Required. Immutable. Type of Feature value. #[prost(enumeration="feature::ValueType", tag="3")] pub value_type: i32, - /// Output only. Timestamp when this EntityType was created. + /// Output only. Timestamp when this EntityType was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this EntityType was most recently updated. + /// Output only. Timestamp when this EntityType was most recently updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your Features. + /// Optional. The labels with user-defined metadata to organize your Features. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one Feature (System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one Feature (System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Used to perform a consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform a consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, - /// Optional. If not set, use the monitoring_config defined for the EntityType this - /// Feature belongs to. - /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL, STRING, DOUBLE or - /// INT64 can enable monitoring. + /// Optional. If not set, use the monitoring_config defined for the EntityType this + /// Feature belongs to. + /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1.Feature.ValueType\]) BOOL, STRING, DOUBLE or + /// INT64 can enable monitoring. /// - /// If set to true, all types of data monitoring are disabled despite the - /// config on EntityType. + /// If set to true, all types of data monitoring are disabled despite the + /// config on EntityType. #[prost(bool, tag="12")] pub disable_monitoring: bool, - /// Output only. The list of historical stats and anomalies with specified objectives. + /// Output only. The list of historical stats and anomalies with specified objectives. #[prost(message, repeated, tag="11")] pub monitoring_stats_anomalies: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Feature`. pub mod feature { - /// A list of historical [Snapshot - /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] or [Import Feature - /// Analysis] \[FeaturestoreMonitoringConfig.ImportFeatureAnalysis\] stats - /// requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time\] descending. + /// A list of historical [Snapshot + /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] or [Import Feature + /// Analysis] \[FeaturestoreMonitoringConfig.ImportFeatureAnalysis\] stats + /// requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1.FeatureStatsAnomaly.start_time\] descending. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoringStatsAnomaly { - /// Output only. The objective for each stats. + /// Output only. The objective for each stats. #[prost(enumeration="monitoring_stats_anomaly::Objective", tag="1")] pub objective: i32, - /// Output only. The stats and anomalies generated at specific timestamp. + /// Output only. The stats and anomalies generated at specific timestamp. #[prost(message, optional, tag="2")] pub feature_stats_anomaly: ::core::option::Option, } /// Nested message and enum types in `MonitoringStatsAnomaly`. pub mod monitoring_stats_anomaly { - /// If the objective in the request is both - /// Import Feature Analysis and Snapshot Analysis, this objective could be - /// one of them. Otherwise, this objective should be the same as the - /// objective in the request. + /// If the objective in the request is both + /// Import Feature Analysis and Snapshot Analysis, this objective could be + /// one of them. Otherwise, this objective should be the same as the + /// objective in the request. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Objective { - /// If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + /// If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. Unspecified = 0, - /// Stats are generated by Import Feature Analysis. + /// Stats are generated by Import Feature Analysis. ImportFeatureAnalysis = 1, - /// Stats are generated by Snapshot Analysis. + /// Stats are generated by Snapshot Analysis. SnapshotAnalysis = 2, } impl Objective { @@ -4924,29 +4924,29 @@ pub mod feature { } } } - /// An enum representing the value type of a feature. + /// An enum representing the value type of a feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueType { - /// The value type is unspecified. + /// The value type is unspecified. Unspecified = 0, - /// Used for Feature that is a boolean. + /// Used for Feature that is a boolean. Bool = 1, - /// Used for Feature that is a list of boolean. + /// Used for Feature that is a list of boolean. BoolArray = 2, - /// Used for Feature that is double. + /// Used for Feature that is double. Double = 3, - /// Used for Feature that is a list of double. + /// Used for Feature that is a list of double. DoubleArray = 4, - /// Used for Feature that is INT64. + /// Used for Feature that is INT64. Int64 = 9, - /// Used for Feature that is a list of INT64. + /// Used for Feature that is a list of INT64. Int64Array = 10, - /// Used for Feature that is string. + /// Used for Feature that is string. String = 11, - /// Used for Feature that is a list of String. + /// Used for Feature that is a list of String. StringArray = 12, - /// Used for Feature that is bytes. + /// Used for Feature that is bytes. Bytes = 13, } impl ValueType { @@ -4970,10 +4970,10 @@ pub mod feature { } } } -/// Matcher for Features of an EntityType by Feature ID. +/// Matcher for Features of an EntityType by Feature ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdMatcher { - /// Required. The following are accepted as `ids`: + /// Required. The following are accepted as `ids`: /// /// * A single-element list containing only `*`, which selects all Features /// in the target EntityType, or @@ -4982,112 +4982,112 @@ pub struct IdMatcher { #[prost(string, repeated, tag="1")] pub ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Selector for Features of an EntityType. +/// Selector for Features of an EntityType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSelector { - /// Required. Matches Features based on ID. + /// Required. Matches Features based on ID. #[prost(message, optional, tag="1")] pub id_matcher: ::core::option::Option, } -/// Vertex AI Feature Store provides a centralized repository for organizing, -/// storing, and serving ML features. The Featurestore is a top-level container -/// for your features and their values. +/// Vertex AI Feature Store provides a centralized repository for organizing, +/// storing, and serving ML features. The Featurestore is a top-level container +/// for your features and their values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Featurestore { - /// Output only. Name of the Featurestore. Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Output only. Name of the Featurestore. Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this Featurestore was created. + /// Output only. Timestamp when this Featurestore was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Featurestore was last updated. + /// Output only. Timestamp when this Featurestore was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, - /// Optional. The labels with user-defined metadata to organize your Featurestore. + /// Optional. The labels with user-defined metadata to organize your Featurestore. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one Featurestore(System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one Featurestore(System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Config for online storage resources. If unset, the featurestore will - /// not have an online store and cannot be used for online serving. + /// Optional. Config for online storage resources. If unset, the featurestore will + /// not have an online store and cannot be used for online serving. #[prost(message, optional, tag="7")] pub online_serving_config: ::core::option::Option, - /// Output only. State of the featurestore. + /// Output only. State of the featurestore. #[prost(enumeration="featurestore::State", tag="8")] pub state: i32, - /// Optional. Customer-managed encryption key spec for data storage. If set, both of the - /// online and offline data storage will be secured by this key. + /// Optional. Customer-managed encryption key spec for data storage. If set, both of the + /// online and offline data storage will be secured by this key. #[prost(message, optional, tag="10")] pub encryption_spec: ::core::option::Option, } /// Nested message and enum types in `Featurestore`. pub mod featurestore { - /// OnlineServingConfig specifies the details for provisioning online serving - /// resources. + /// OnlineServingConfig specifies the details for provisioning online serving + /// resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnlineServingConfig { - /// The number of nodes for the online store. The number of nodes doesn't - /// scale automatically, but you can manually update the number of - /// nodes. If set to 0, the featurestore will not have an - /// online store and cannot be used for online serving. + /// The number of nodes for the online store. The number of nodes doesn't + /// scale automatically, but you can manually update the number of + /// nodes. If set to 0, the featurestore will not have an + /// online store and cannot be used for online serving. #[prost(int32, tag="2")] pub fixed_node_count: i32, - /// Online serving scaling configuration. - /// Only one of `fixed_node_count` and `scaling` can be set. Setting one will - /// reset the other. + /// Online serving scaling configuration. + /// Only one of `fixed_node_count` and `scaling` can be set. Setting one will + /// reset the other. #[prost(message, optional, tag="4")] pub scaling: ::core::option::Option, } /// Nested message and enum types in `OnlineServingConfig`. pub mod online_serving_config { - /// Online serving scaling configuration. If min_node_count and - /// max_node_count are set to the same value, the cluster will be configured - /// with the fixed number of node (no auto-scaling). + /// Online serving scaling configuration. If min_node_count and + /// max_node_count are set to the same value, the cluster will be configured + /// with the fixed number of node (no auto-scaling). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scaling { - /// Required. The minimum number of nodes to scale down to. Must be greater than or - /// equal to 1. + /// Required. The minimum number of nodes to scale down to. Must be greater than or + /// equal to 1. #[prost(int32, tag="1")] pub min_node_count: i32, - /// The maximum number of nodes to scale up to. Must be greater than - /// min_node_count, and less than or equal to 10 times of 'min_node_count'. + /// The maximum number of nodes to scale up to. Must be greater than + /// min_node_count, and less than or equal to 10 times of 'min_node_count'. #[prost(int32, tag="2")] pub max_node_count: i32, } } - /// Possible states a featurestore can have. + /// Possible states a featurestore can have. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// State when the featurestore configuration is not being updated and the - /// fields reflect the current configuration of the featurestore. The - /// featurestore is usable in this state. + /// State when the featurestore configuration is not being updated and the + /// fields reflect the current configuration of the featurestore. The + /// featurestore is usable in this state. Stable = 1, - /// The state of the featurestore configuration when it is being updated. - /// During an update, the fields reflect either the original configuration - /// or the updated configuration of the featurestore. For example, - /// `online_serving_config.fixed_node_count` can take minutes to update. - /// While the update is in progress, the featurestore is in the UPDATING - /// state, and the value of `fixed_node_count` can be the original value or - /// the updated value, depending on the progress of the operation. Until the - /// update completes, the actual number of nodes can still be the original - /// value of `fixed_node_count`. The featurestore is still usable in this - /// state. + /// The state of the featurestore configuration when it is being updated. + /// During an update, the fields reflect either the original configuration + /// or the updated configuration of the featurestore. For example, + /// `online_serving_config.fixed_node_count` can take minutes to update. + /// While the update is in progress, the featurestore is in the UPDATING + /// state, and the value of `fixed_node_count` can be the original value or + /// the updated value, depending on the progress of the operation. Until the + /// update completes, the actual number of nodes can still be the original + /// value of `fixed_node_count`. The featurestore is still usable in this + /// state. Updating = 2, } impl State { @@ -5104,107 +5104,107 @@ pub mod featurestore { } } } -/// A list of boolean values. +/// A list of boolean values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoolArray { - /// A list of bool values. + /// A list of bool values. #[prost(bool, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of double values. +/// A list of double values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DoubleArray { - /// A list of double values. + /// A list of double values. #[prost(double, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of int64 values. +/// A list of int64 values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Int64Array { - /// A list of int64 values. + /// A list of int64 values. #[prost(int64, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of string values. +/// A list of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringArray { - /// A list of string values. + /// A list of string values. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues\]. +/// Request message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFeatureValuesRequest { - /// Required. The resource name of the EntityType for the entity being read. - /// Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. - /// For example, for a machine learning model predicting user clicks on a - /// website, an EntityType ID could be `user`. + /// Required. The resource name of the EntityType for the entity being read. + /// Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// For example, for a machine learning model predicting user clicks on a + /// website, an EntityType ID could be `user`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. ID for a specific entity. For example, - /// for a machine learning model predicting user clicks on a website, an entity - /// ID could be `user_123`. + /// Required. ID for a specific entity. For example, + /// for a machine learning model predicting user clicks on a website, an entity + /// ID could be `user_123`. #[prost(string, tag="2")] pub entity_id: ::prost::alloc::string::String, - /// Required. Selector choosing Features of the target EntityType. + /// Required. Selector choosing Features of the target EntityType. #[prost(message, optional, tag="3")] pub feature_selector: ::core::option::Option, } -/// Response message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues\]. +/// Response message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreOnlineServingService.ReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFeatureValuesResponse { - /// Response header. + /// Response header. #[prost(message, optional, tag="1")] pub header: ::core::option::Option, - /// Entity view with Feature values. This may be the entity in the - /// Featurestore if values for all Features were requested, or a projection - /// of the entity in the Featurestore if values for only some Features were - /// requested. + /// Entity view with Feature values. This may be the entity in the + /// Featurestore if values for all Features were requested, or a projection + /// of the entity in the Featurestore if values for only some Features were + /// requested. #[prost(message, optional, tag="2")] pub entity_view: ::core::option::Option, } /// Nested message and enum types in `ReadFeatureValuesResponse`. pub mod read_feature_values_response { - /// Metadata for requested Features. + /// Metadata for requested Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureDescriptor { - /// Feature ID. + /// Feature ID. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, } - /// Response header with metadata for the requested - /// \[ReadFeatureValuesRequest.entity_type][google.cloud.aiplatform.v1.ReadFeatureValuesRequest.entity_type\] and Features. + /// Response header with metadata for the requested + /// \[ReadFeatureValuesRequest.entity_type][google.cloud.aiplatform.v1.ReadFeatureValuesRequest.entity_type\] and Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Header { - /// The resource name of the EntityType from the - /// \[ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest\]. Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// The resource name of the EntityType from the + /// \[ReadFeatureValuesRequest][google.cloud.aiplatform.v1.ReadFeatureValuesRequest\]. Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// List of Feature metadata corresponding to each piece of - /// \[ReadFeatureValuesResponse.data][\]. + /// List of Feature metadata corresponding to each piece of + /// \[ReadFeatureValuesResponse.data][\]. #[prost(message, repeated, tag="2")] pub feature_descriptors: ::prost::alloc::vec::Vec, } - /// Entity view with Feature values. + /// Entity view with Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityView { - /// ID of the requested entity. + /// ID of the requested entity. #[prost(string, tag="1")] pub entity_id: ::prost::alloc::string::String, - /// Each piece of data holds the k - /// requested values for one requested Feature. If no values - /// for the requested Feature exist, the corresponding cell will be empty. - /// This has the same size and is in the same order as the features from the - /// header \[ReadFeatureValuesResponse.header][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.header\]. + /// Each piece of data holds the k + /// requested values for one requested Feature. If no values + /// for the requested Feature exist, the corresponding cell will be empty. + /// This has the same size and is in the same order as the features from the + /// header \[ReadFeatureValuesResponse.header][google.cloud.aiplatform.v1.ReadFeatureValuesResponse.header\]. #[prost(message, repeated, tag="2")] pub data: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EntityView`. pub mod entity_view { - /// Container to hold value(s), successive in time, for one Feature from the - /// request. + /// Container to hold value(s), successive in time, for one Feature from the + /// request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Data { #[prost(oneof="data::Data", tags="1, 2")] @@ -5214,101 +5214,101 @@ pub mod read_feature_values_response { pub mod data { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Feature value if a single value is requested. + /// Feature value if a single value is requested. #[prost(message, tag="1")] Value(super::super::super::FeatureValue), - /// Feature values list if values, successive in time, are requested. - /// If the requested number of values is greater than the number of - /// existing Feature values, nonexistent values are omitted instead of - /// being returned as empty. + /// Feature values list if values, successive in time, are requested. + /// If the requested number of values is greater than the number of + /// existing Feature values, nonexistent values are omitted instead of + /// being returned as empty. #[prost(message, tag="2")] Values(super::super::super::FeatureValueList), } } } } -/// Request message for -/// \[FeaturestoreOnlineServingService.StreamingFeatureValuesRead][\]. +/// Request message for +/// \[FeaturestoreOnlineServingService.StreamingFeatureValuesRead][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamingReadFeatureValuesRequest { - /// Required. The resource name of the entities' type. - /// Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. - /// For example, - /// for a machine learning model predicting user clicks on a website, an - /// EntityType ID could be `user`. + /// Required. The resource name of the entities' type. + /// Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// For example, + /// for a machine learning model predicting user clicks on a website, an + /// EntityType ID could be `user`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. IDs of entities to read Feature values of. The maximum number of IDs is - /// 100. For example, for a machine learning model predicting user clicks on a - /// website, an entity ID could be `user_123`. + /// Required. IDs of entities to read Feature values of. The maximum number of IDs is + /// 100. For example, for a machine learning model predicting user clicks on a + /// website, an entity ID could be `user_123`. #[prost(string, repeated, tag="2")] pub entity_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Selector choosing Features of the target EntityType. Feature IDs will be - /// deduplicated. + /// Required. Selector choosing Features of the target EntityType. Feature IDs will be + /// deduplicated. #[prost(message, optional, tag="3")] pub feature_selector: ::core::option::Option, } -/// Value for a feature. +/// Value for a feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValue { - /// Metadata of feature value. + /// Metadata of feature value. #[prost(message, optional, tag="14")] pub metadata: ::core::option::Option, - /// Value for the feature. + /// Value for the feature. #[prost(oneof="feature_value::Value", tags="1, 2, 5, 6, 7, 8, 11, 12, 13")] pub value: ::core::option::Option, } /// Nested message and enum types in `FeatureValue`. pub mod feature_value { - /// Metadata of feature value. + /// Metadata of feature value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metadata { - /// Feature generation timestamp. Typically, it is provided by user at - /// feature ingestion time. If not, feature store - /// will use the system timestamp when the data is ingested into feature - /// store. For streaming ingestion, the time, aligned by days, must be no - /// older than five years (1825 days) and no later than one year (366 days) - /// in the future. + /// Feature generation timestamp. Typically, it is provided by user at + /// feature ingestion time. If not, feature store + /// will use the system timestamp when the data is ingested into feature + /// store. For streaming ingestion, the time, aligned by days, must be no + /// older than five years (1825 days) and no later than one year (366 days) + /// in the future. #[prost(message, optional, tag="1")] pub generate_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Value for the feature. + /// Value for the feature. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Bool type feature value. + /// Bool type feature value. #[prost(bool, tag="1")] BoolValue(bool), - /// Double type feature value. + /// Double type feature value. #[prost(double, tag="2")] DoubleValue(f64), - /// Int64 feature value. + /// Int64 feature value. #[prost(int64, tag="5")] Int64Value(i64), - /// String feature value. + /// String feature value. #[prost(string, tag="6")] StringValue(::prost::alloc::string::String), - /// A list of bool type feature value. + /// A list of bool type feature value. #[prost(message, tag="7")] BoolArrayValue(super::BoolArray), - /// A list of double type feature value. + /// A list of double type feature value. #[prost(message, tag="8")] DoubleArrayValue(super::DoubleArray), - /// A list of int64 type feature value. + /// A list of int64 type feature value. #[prost(message, tag="11")] Int64ArrayValue(super::Int64Array), - /// A list of string type feature value. + /// A list of string type feature value. #[prost(message, tag="12")] StringArrayValue(super::StringArray), - /// Bytes feature value. + /// Bytes feature value. #[prost(bytes, tag="13")] BytesValue(::prost::alloc::vec::Vec), } } -/// Container for list of values. +/// Container for list of values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueList { - /// A list of feature values. All of them should be the same data type. + /// A list of feature values. All of them should be the same data type. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } @@ -5433,121 +5433,121 @@ pub mod featurestore_online_serving_service_client { } } } -/// Request message for \[FeaturestoreService.CreateFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.CreateFeaturestore\]. +/// Request message for \[FeaturestoreService.CreateFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.CreateFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeaturestoreRequest { - /// Required. The resource name of the Location to create Featurestores. - /// Format: - /// `projects/{project}/locations/{location}'` + /// Required. The resource name of the Location to create Featurestores. + /// Format: + /// `projects/{project}/locations/{location}'` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Featurestore to create. + /// Required. The Featurestore to create. #[prost(message, optional, tag="2")] pub featurestore: ::core::option::Option, - /// Required. The ID to use for this Featurestore, which will become the final component - /// of the Featurestore's resource name. + /// Required. The ID to use for this Featurestore, which will become the final component + /// of the Featurestore's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within the project and location. + /// The value must be unique within the project and location. #[prost(string, tag="3")] pub featurestore_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.GetFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.GetFeaturestore\]. +/// Request message for \[FeaturestoreService.GetFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.GetFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeaturestoreRequest { - /// Required. The name of the Featurestore resource. + /// Required. The name of the Featurestore resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\]. +/// Request message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturestoresRequest { - /// Required. The resource name of the Location to list Featurestores. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list Featurestores. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the featurestores that match the filter expression. The following - /// fields are supported: + /// Lists the featurestores that match the filter expression. The following + /// fields are supported: /// - /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. - /// Values must be + /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. + /// Values must be /// in RFC 3339 format. - /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. - /// Values must be + /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. + /// Values must be /// in RFC 3339 format. - /// * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, - /// `<=`, and `>=` comparisons. - /// * `labels`: Supports key-value equality and key presence. + /// * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, + /// `<=`, and `>=` comparisons. + /// * `labels`: Supports key-value equality and key presence. /// - /// Examples: + /// Examples: /// - /// * `create_time > "2020-01-01" OR update_time > "2020-01-01"` + /// * `create_time > "2020-01-01" OR update_time > "2020-01-01"` /// Featurestores created or updated after 2020-01-01. - /// * `labels.env = "prod"` + /// * `labels.env = "prod"` /// Featurestores with label "env" set to "prod". #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of Featurestores to return. The service may return fewer - /// than this value. If unspecified, at most 100 Featurestores will be - /// returned. The maximum value is 100; any value greater than 100 will be - /// coerced to 100. + /// The maximum number of Featurestores to return. The service may return fewer + /// than this value. If unspecified, at most 100 Featurestores will be + /// returned. The maximum value is 100; any value greater than 100 will be + /// coerced to 100. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported Fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported Fields: /// /// * `create_time` /// * `update_time` /// * `online_serving_config.fixed_node_count` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\]. +/// Response message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1.FeaturestoreService.ListFeaturestores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturestoresResponse { - /// The Featurestores matching the request. + /// The Featurestores matching the request. #[prost(message, repeated, tag="1")] pub featurestores: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListFeaturestoresRequest.page_token][google.cloud.aiplatform.v1.ListFeaturestoresRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListFeaturestoresRequest.page_token][google.cloud.aiplatform.v1.ListFeaturestoresRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeaturestore\]. +/// Request message for \[FeaturestoreService.UpdateFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeaturestoreRequest { - /// Required. The Featurestore's `name` field is used to identify the Featurestore to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The Featurestore's `name` field is used to identify the Featurestore to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(message, optional, tag="1")] pub featurestore: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// Featurestore resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// Featurestore resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `labels` /// * `online_serving_config.fixed_node_count` @@ -5555,78 +5555,78 @@ pub struct UpdateFeaturestoreRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeaturestore\]. +/// Request message for \[FeaturestoreService.DeleteFeaturestore][google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeaturestoreRequest { - /// Required. The name of the Featurestore to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The name of the Featurestore to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any EntityTypes and Features for this Featurestore will - /// also be deleted. (Otherwise, the request will only work if the Featurestore - /// has no EntityTypes.) + /// If set to true, any EntityTypes and Features for this Featurestore will + /// also be deleted. (Otherwise, the request will only work if the Featurestore + /// has no EntityTypes.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues\]. +/// Request message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesRequest { - /// Required. The resource name of the EntityType grouping the Features for which values - /// are being imported. Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` + /// Required. The resource name of the EntityType grouping the Features for which values + /// are being imported. Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Source column that holds entity IDs. If not provided, entity IDs are - /// extracted from the column named `entity_id`. + /// Source column that holds entity IDs. If not provided, entity IDs are + /// extracted from the column named `entity_id`. #[prost(string, tag="5")] pub entity_id_field: ::prost::alloc::string::String, - /// Required. Specifications defining which Feature values to import from the entity. The - /// request fails if no feature_specs are provided, and having multiple - /// feature_specs for one Feature is not allowed. + /// Required. Specifications defining which Feature values to import from the entity. The + /// request fails if no feature_specs are provided, and having multiple + /// feature_specs for one Feature is not allowed. #[prost(message, repeated, tag="8")] pub feature_specs: ::prost::alloc::vec::Vec, - /// If set, data will not be imported for online serving. This - /// is typically used for backfilling, where Feature generation timestamps are - /// not in the timestamp range needed for online serving. + /// If set, data will not be imported for online serving. This + /// is typically used for backfilling, where Feature generation timestamps are + /// not in the timestamp range needed for online serving. #[prost(bool, tag="9")] pub disable_online_serving: bool, - /// Specifies the number of workers that are used to write data to the - /// Featurestore. Consider the online serving capacity that you require to - /// achieve the desired import throughput without interfering with online - /// serving. The value must be positive, and less than or equal to 100. - /// If not set, defaults to using 1 worker. The low count ensures minimal - /// impact on online serving performance. + /// Specifies the number of workers that are used to write data to the + /// Featurestore. Consider the online serving capacity that you require to + /// achieve the desired import throughput without interfering with online + /// serving. The value must be positive, and less than or equal to 100. + /// If not set, defaults to using 1 worker. The low count ensures minimal + /// impact on online serving performance. #[prost(int32, tag="11")] pub worker_count: i32, - /// If true, API doesn't start ingestion analysis pipeline. + /// If true, API doesn't start ingestion analysis pipeline. #[prost(bool, tag="12")] pub disable_ingestion_analysis: bool, - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[prost(oneof="import_feature_values_request::Source", tags="2, 3, 4")] pub source: ::core::option::Option, - /// Source of Feature timestamp for all Feature values of each entity. - /// Timestamps must be millisecond-aligned. + /// Source of Feature timestamp for all Feature values of each entity. + /// Timestamps must be millisecond-aligned. #[prost(oneof="import_feature_values_request::FeatureTimeSource", tags="6, 7")] pub feature_time_source: ::core::option::Option, } /// Nested message and enum types in `ImportFeatureValuesRequest`. pub mod import_feature_values_request { - /// Defines the Feature value(s) to import. + /// Defines the Feature value(s) to import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSpec { - /// Required. ID of the Feature to import values of. This Feature must exist in the - /// target EntityType, or the request will fail. + /// Required. ID of the Feature to import values of. This Feature must exist in the + /// target EntityType, or the request will fail. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Source column to get the Feature values from. If not set, uses the column - /// with the same name as the Feature ID. + /// Source column to get the Feature values from. If not set, uses the column + /// with the same name as the Feature ID. #[prost(string, tag="2")] pub source_field: ::prost::alloc::string::String, } - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { #[prost(message, tag="2")] @@ -5636,62 +5636,62 @@ pub mod import_feature_values_request { #[prost(message, tag="4")] CsvSource(super::CsvSource), } - /// Source of Feature timestamp for all Feature values of each entity. - /// Timestamps must be millisecond-aligned. + /// Source of Feature timestamp for all Feature values of each entity. + /// Timestamps must be millisecond-aligned. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FeatureTimeSource { - /// Source column that holds the Feature timestamp for all Feature - /// values in each entity. + /// Source column that holds the Feature timestamp for all Feature + /// values in each entity. #[prost(string, tag="6")] FeatureTimeField(::prost::alloc::string::String), - /// Single Feature timestamp for all entities being imported. The - /// timestamp must not have higher than millisecond precision. + /// Single Feature timestamp for all entities being imported. The + /// timestamp must not have higher than millisecond precision. #[prost(message, tag="7")] FeatureTime(::prost_types::Timestamp), } } -/// Response message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues\]. +/// Response message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ImportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesResponse { - /// Number of entities that have been imported by the operation. + /// Number of entities that have been imported by the operation. #[prost(int64, tag="1")] pub imported_entity_count: i64, - /// Number of Feature values that have been imported by the operation. + /// Number of Feature values that have been imported by the operation. #[prost(int64, tag="2")] pub imported_feature_value_count: i64, - /// The number of rows in input source that weren't imported due to either - /// * Not having any featureValues. - /// * Having a null entityId. - /// * Having a null timestamp. - /// * Not being parsable (applicable for CSV sources). + /// The number of rows in input source that weren't imported due to either + /// * Not having any featureValues. + /// * Having a null entityId. + /// * Having a null timestamp. + /// * Not being parsable (applicable for CSV sources). #[prost(int64, tag="6")] pub invalid_row_count: i64, } -/// Request message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues\]. +/// Request message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesRequest { - /// Required. The resource name of the Featurestore from which to query Feature values. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore from which to query Feature values. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub featurestore: ::prost::alloc::string::String, - /// Required. Specifies output location and format. + /// Required. Specifies output location and format. #[prost(message, optional, tag="4")] pub destination: ::core::option::Option, - /// When not empty, the specified fields in the *_read_instances source will be - /// joined as-is in the output, in addition to those fields from the - /// Featurestore Entity. + /// When not empty, the specified fields in the *_read_instances source will be + /// joined as-is in the output, in addition to those fields from the + /// Featurestore Entity. /// - /// For BigQuery source, the type of the pass-through values will be - /// automatically inferred. For CSV source, the pass-through values will be - /// passed as opaque bytes. + /// For BigQuery source, the type of the pass-through values will be + /// automatically inferred. For CSV source, the pass-through values will be + /// passed as opaque bytes. #[prost(message, repeated, tag="8")] pub pass_through_fields: ::prost::alloc::vec::Vec, - /// Required. Specifies EntityType grouping Features to read values of and settings. - /// Each EntityType referenced in - /// \[BatchReadFeatureValuesRequest.entity_type_specs\] must have a column - /// specifying entity IDs in the EntityType in - /// \[BatchReadFeatureValuesRequest.request][\] . + /// Required. Specifies EntityType grouping Features to read values of and settings. + /// Each EntityType referenced in + /// \[BatchReadFeatureValuesRequest.entity_type_specs\] must have a column + /// specifying entity IDs in the EntityType in + /// \[BatchReadFeatureValuesRequest.request][\] . #[prost(message, repeated, tag="7")] pub entity_type_specs: ::prost::alloc::vec::Vec, #[prost(oneof="batch_read_feature_values_request::ReadOption", tags="3, 5")] @@ -5699,140 +5699,140 @@ pub struct BatchReadFeatureValuesRequest { } /// Nested message and enum types in `BatchReadFeatureValuesRequest`. pub mod batch_read_feature_values_request { - /// Describe pass-through fields in read_instance source. + /// Describe pass-through fields in read_instance source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PassThroughField { - /// Required. The name of the field in the CSV header or the name of the column in - /// BigQuery table. The naming restriction is the same as \[Feature.name][google.cloud.aiplatform.v1.Feature.name\]. + /// Required. The name of the field in the CSV header or the name of the column in + /// BigQuery table. The naming restriction is the same as \[Feature.name][google.cloud.aiplatform.v1.Feature.name\]. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, } - /// Selects Features of an EntityType to read values of and specifies read - /// settings. + /// Selects Features of an EntityType to read values of and specifies read + /// settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityTypeSpec { - /// Required. ID of the EntityType to select Features. The EntityType id is the - /// \[entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id\] specified - /// during EntityType creation. + /// Required. ID of the EntityType to select Features. The EntityType id is the + /// \[entity_type_id][google.cloud.aiplatform.v1.CreateEntityTypeRequest.entity_type_id\] specified + /// during EntityType creation. #[prost(string, tag="1")] pub entity_type_id: ::prost::alloc::string::String, - /// Required. Selectors choosing which Feature values to read from the EntityType. + /// Required. Selectors choosing which Feature values to read from the EntityType. #[prost(message, optional, tag="2")] pub feature_selector: ::core::option::Option, - /// Per-Feature settings for the batch read. + /// Per-Feature settings for the batch read. #[prost(message, repeated, tag="3")] pub settings: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ReadOption { - /// Each read instance consists of exactly one read timestamp and one or more - /// entity IDs identifying entities of the corresponding EntityTypes whose - /// Features are requested. + /// Each read instance consists of exactly one read timestamp and one or more + /// entity IDs identifying entities of the corresponding EntityTypes whose + /// Features are requested. /// - /// Each output instance contains Feature values of requested entities - /// concatenated together as of the read time. + /// Each output instance contains Feature values of requested entities + /// concatenated together as of the read time. /// - /// An example read instance may be `foo_entity_id, bar_entity_id, - /// 2020-01-01T10:00:00.123Z`. + /// An example read instance may be `foo_entity_id, bar_entity_id, + /// 2020-01-01T10:00:00.123Z`. /// - /// An example output instance may be `foo_entity_id, bar_entity_id, - /// 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, - /// bar_entity_feature2_value`. + /// An example output instance may be `foo_entity_id, bar_entity_id, + /// 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, + /// bar_entity_feature2_value`. /// - /// Timestamp in each read instance must be millisecond-aligned. + /// Timestamp in each read instance must be millisecond-aligned. /// - /// `csv_read_instances` are read instances stored in a plain-text CSV file. - /// The header should be: + /// `csv_read_instances` are read instances stored in a plain-text CSV file. + /// The header should be: /// \[ENTITY_TYPE_ID1\], \[ENTITY_TYPE_ID2\], ..., timestamp /// - /// The columns can be in any order. + /// The columns can be in any order. /// - /// Values in the timestamp column must use the RFC 3339 format, e.g. - /// `2012-07-30T10:43:17.123Z`. + /// Values in the timestamp column must use the RFC 3339 format, e.g. + /// `2012-07-30T10:43:17.123Z`. #[prost(message, tag="3")] CsvReadInstances(super::CsvSource), - /// Similar to csv_read_instances, but from BigQuery source. + /// Similar to csv_read_instances, but from BigQuery source. #[prost(message, tag="5")] BigqueryReadInstances(super::BigQuerySource), } } -/// Request message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues\]. +/// Request message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesRequest { - /// Required. The resource name of the EntityType from which to export Feature values. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType from which to export Feature values. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. Specifies destination location and format. + /// Required. Specifies destination location and format. #[prost(message, optional, tag="4")] pub destination: ::core::option::Option, - /// Required. Selects Features to export values of. + /// Required. Selects Features to export values of. #[prost(message, optional, tag="5")] pub feature_selector: ::core::option::Option, - /// Per-Feature export settings. + /// Per-Feature export settings. #[prost(message, repeated, tag="6")] pub settings: ::prost::alloc::vec::Vec, - /// Required. The mode in which Feature values are exported. + /// Required. The mode in which Feature values are exported. #[prost(oneof="export_feature_values_request::Mode", tags="3, 7")] pub mode: ::core::option::Option, } /// Nested message and enum types in `ExportFeatureValuesRequest`. pub mod export_feature_values_request { - /// Describes exporting the latest Feature values of all entities of the - /// EntityType between [start_time, snapshot_time]. + /// Describes exporting the latest Feature values of all entities of the + /// EntityType between [start_time, snapshot_time]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotExport { - /// Exports Feature values as of this timestamp. If not set, - /// retrieve values as of now. Timestamp, if present, must not have higher - /// than millisecond precision. + /// Exports Feature values as of this timestamp. If not set, + /// retrieve values as of now. Timestamp, if present, must not have higher + /// than millisecond precision. #[prost(message, optional, tag="1")] pub snapshot_time: ::core::option::Option<::prost_types::Timestamp>, - /// Excludes Feature values with feature generation timestamp before this - /// timestamp. If not set, retrieve oldest values kept in Feature Store. - /// Timestamp, if present, must not have higher than millisecond precision. + /// Excludes Feature values with feature generation timestamp before this + /// timestamp. If not set, retrieve oldest values kept in Feature Store. + /// Timestamp, if present, must not have higher than millisecond precision. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Describes exporting all historical Feature values of all entities of the - /// EntityType between [start_time, end_time]. + /// Describes exporting all historical Feature values of all entities of the + /// EntityType between [start_time, end_time]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FullExport { - /// Excludes Feature values with feature generation timestamp before this - /// timestamp. If not set, retrieve oldest values kept in Feature Store. - /// Timestamp, if present, must not have higher than millisecond precision. + /// Excludes Feature values with feature generation timestamp before this + /// timestamp. If not set, retrieve oldest values kept in Feature Store. + /// Timestamp, if present, must not have higher than millisecond precision. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Exports Feature values as of this timestamp. If not set, - /// retrieve values as of now. Timestamp, if present, must not have higher - /// than millisecond precision. + /// Exports Feature values as of this timestamp. If not set, + /// retrieve values as of now. Timestamp, if present, must not have higher + /// than millisecond precision. #[prost(message, optional, tag="1")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Required. The mode in which Feature values are exported. + /// Required. The mode in which Feature values are exported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mode { - /// Exports the latest Feature values of all entities of the EntityType - /// within a time range. + /// Exports the latest Feature values of all entities of the EntityType + /// within a time range. #[prost(message, tag="3")] SnapshotExport(SnapshotExport), - /// Exports all historical values of all entities of the EntityType within a - /// time range + /// Exports all historical values of all entities of the EntityType within a + /// time range #[prost(message, tag="7")] FullExport(FullExport), } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationFeatureSetting { - /// Required. The ID of the Feature to apply the setting to. + /// Required. The ID of the Feature to apply the setting to. #[prost(string, tag="1")] pub feature_id: ::prost::alloc::string::String, - /// Specify the field name in the export destination. If not specified, - /// Feature ID is used. + /// Specify the field name in the export destination. If not specified, + /// Feature ID is used. #[prost(string, tag="2")] pub destination_field: ::prost::alloc::string::String, } -/// A destination location for Feature values and format. +/// A destination location for Feature values and format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueDestination { #[prost(oneof="feature_value_destination::Destination", tags="1, 2, 3")] @@ -5842,15 +5842,15 @@ pub struct FeatureValueDestination { pub mod feature_value_destination { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Output in BigQuery format. - /// \[BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri\] in - /// \[FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination\] must refer to a table. + /// Output in BigQuery format. + /// \[BigQueryDestination.output_uri][google.cloud.aiplatform.v1.BigQueryDestination.output_uri\] in + /// \[FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1.FeatureValueDestination.bigquery_destination\] must refer to a table. #[prost(message, tag="1")] BigqueryDestination(super::BigQueryDestination), - /// Output in TFRecord format. + /// Output in TFRecord format. /// - /// Below are the mapping from Feature value type - /// in Featurestore to Feature value type in TFRecord: + /// Below are the mapping from Feature value type + /// in Featurestore to Feature value type in TFRecord: /// /// Value type in Featurestore | Value type in TFRecord /// DOUBLE, DOUBLE_ARRAY | FLOAT_LIST @@ -5860,137 +5860,137 @@ pub mod feature_value_destination { /// BOOL, BOOL_ARRAY (true, false) | BYTES_LIST #[prost(message, tag="2")] TfrecordDestination(super::TfRecordDestination), - /// Output in CSV format. Array Feature value types are not allowed in CSV - /// format. + /// Output in CSV format. Array Feature value types are not allowed in CSV + /// format. #[prost(message, tag="3")] CsvDestination(super::CsvDestination), } } -/// Response message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues\]. +/// Response message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.ExportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesResponse { } -/// Response message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues\]. +/// Response message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1.FeaturestoreService.BatchReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesResponse { } -/// Request message for \[FeaturestoreService.CreateEntityType][google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType\]. +/// Request message for \[FeaturestoreService.CreateEntityType][google.cloud.aiplatform.v1.FeaturestoreService.CreateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityTypeRequest { - /// Required. The resource name of the Featurestore to create EntityTypes. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore to create EntityTypes. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The EntityType to create. + /// The EntityType to create. #[prost(message, optional, tag="2")] pub entity_type: ::core::option::Option, - /// Required. The ID to use for the EntityType, which will become the final component of - /// the EntityType's resource name. + /// Required. The ID to use for the EntityType, which will become the final component of + /// the EntityType's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within a featurestore. + /// The value must be unique within a featurestore. #[prost(string, tag="3")] pub entity_type_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.GetEntityType][google.cloud.aiplatform.v1.FeaturestoreService.GetEntityType\]. +/// Request message for \[FeaturestoreService.GetEntityType][google.cloud.aiplatform.v1.FeaturestoreService.GetEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntityTypeRequest { - /// Required. The name of the EntityType resource. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the EntityType resource. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\]. +/// Request message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesRequest { - /// Required. The resource name of the Featurestore to list EntityTypes. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore to list EntityTypes. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the EntityTypes that match the filter expression. The following - /// filters are supported: + /// Lists the EntityTypes that match the filter expression. The following + /// filters are supported: /// - /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. - /// Values must be in RFC 3339 format. - /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. - /// Values must be in RFC 3339 format. - /// * `labels`: Supports key-value equality as well as key presence. + /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. + /// Values must be in RFC 3339 format. + /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. + /// Values must be in RFC 3339 format. + /// * `labels`: Supports key-value equality as well as key presence. /// - /// Examples: + /// Examples: /// - /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR + /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR /// update_time > \"2020-01-31T15:30:00.000000Z\"` --> EntityTypes created /// or updated after 2020-01-31T15:30:00.000000Z. - /// * `labels.active = yes AND labels.env = prod` --> EntityTypes having both + /// * `labels.active = yes AND labels.env = prod` --> EntityTypes having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any EntityType which has a label with 'env' as the + /// * `labels.env: *` --> Any EntityType which has a label with 'env' as the /// key. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of EntityTypes to return. The service may return fewer - /// than this value. If unspecified, at most 1000 EntityTypes will be returned. - /// The maximum value is 1000; any value greater than 1000 will be coerced to - /// 1000. + /// The maximum number of EntityTypes to return. The service may return fewer + /// than this value. If unspecified, at most 1000 EntityTypes will be returned. + /// The maximum value is 1000; any value greater than 1000 will be coerced to + /// 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. /// - /// Supported fields: + /// Supported fields: /// /// * `entity_type_id` /// * `create_time` /// * `update_time` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\]. +/// Response message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1.FeaturestoreService.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesResponse { - /// The EntityTypes matching the request. + /// The EntityTypes matching the request. #[prost(message, repeated, tag="1")] pub entity_types: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListEntityTypesRequest.page_token][google.cloud.aiplatform.v1.ListEntityTypesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListEntityTypesRequest.page_token][google.cloud.aiplatform.v1.ListEntityTypesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateEntityType][google.cloud.aiplatform.v1.FeaturestoreService.UpdateEntityType\]. +/// Request message for \[FeaturestoreService.UpdateEntityType][google.cloud.aiplatform.v1.FeaturestoreService.UpdateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntityTypeRequest { - /// Required. The EntityType's `name` field is used to identify the EntityType to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The EntityType's `name` field is used to identify the EntityType to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(message, optional, tag="1")] pub entity_type: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// EntityType resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// EntityType resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `description` /// * `labels` @@ -6004,119 +6004,119 @@ pub struct UpdateEntityTypeRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteEntityTypes][\]. +/// Request message for \[FeaturestoreService.DeleteEntityTypes][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntityTypeRequest { - /// Required. The name of the EntityType to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the EntityType to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any Features for this EntityType will also be deleted. - /// (Otherwise, the request will only work if the EntityType has no Features.) + /// If set to true, any Features for this EntityType will also be deleted. + /// (Otherwise, the request will only work if the EntityType has no Features.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for \[FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature\]. +/// Request message for \[FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1.FeaturestoreService.CreateFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeatureRequest { - /// Required. The resource name of the EntityType to create a Feature. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType to create a Feature. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Feature to create. + /// Required. The Feature to create. #[prost(message, optional, tag="2")] pub feature: ::core::option::Option, - /// Required. The ID to use for the Feature, which will become the final component of - /// the Feature's resource name. + /// Required. The ID to use for the Feature, which will become the final component of + /// the Feature's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within an EntityType. + /// The value must be unique within an EntityType. #[prost(string, tag="3")] pub feature_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures\]. +/// Request message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesRequest { - /// Required. The resource name of the EntityType to create the batch of Features under. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType to create the batch of Features under. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request message specifying the Features to create. All Features must be - /// created under the same parent EntityType. The `parent` field in each child - /// request message can be omitted. If `parent` is set in a child request, then - /// the value must match the `parent` value in this request message. + /// Required. The request message specifying the Features to create. All Features must be + /// created under the same parent EntityType. The `parent` field in each child + /// request message can be omitted. If `parent` is set in a child request, then + /// the value must match the `parent` value in this request message. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures\]. +/// Response message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1.FeaturestoreService.BatchCreateFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesResponse { - /// The Features created. + /// The Features created. #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, } -/// Request message for \[FeaturestoreService.GetFeature][google.cloud.aiplatform.v1.FeaturestoreService.GetFeature\]. +/// Request message for \[FeaturestoreService.GetFeature][google.cloud.aiplatform.v1.FeaturestoreService.GetFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeatureRequest { - /// Required. The name of the Feature resource. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the Feature resource. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\]. +/// Request message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturesRequest { - /// Required. The resource name of the Location to list Features. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the Location to list Features. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the Features that match the filter expression. The following - /// filters are supported: + /// Lists the Features that match the filter expression. The following + /// filters are supported: /// - /// * `value_type`: Supports = and != comparisons. - /// * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must - /// be in RFC 3339 format. - /// * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must - /// be in RFC 3339 format. - /// * `labels`: Supports key-value equality as well as key presence. + /// * `value_type`: Supports = and != comparisons. + /// * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must + /// be in RFC 3339 format. + /// * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must + /// be in RFC 3339 format. + /// * `labels`: Supports key-value equality as well as key presence. /// - /// Examples: + /// Examples: /// - /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. - /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR + /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. + /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR /// update_time > \"2020-01-31T15:30:00.000000Z\"` --> EntityTypes created /// or updated after 2020-01-31T15:30:00.000000Z. - /// * `labels.active = yes AND labels.env = prod` --> Features having both + /// * `labels.active = yes AND labels.env = prod` --> Features having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any Feature which has a label with 'env' as the + /// * `labels.env: *` --> Any Feature which has a label with 'env' as the /// key. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of Features to return. The service may return fewer - /// than this value. If unspecified, at most 1000 Features will be returned. - /// The maximum value is 1000; any value greater than 1000 will be coerced to - /// 1000. + /// The maximum number of Features to return. The service may return fewer + /// than this value. If unspecified, at most 1000 Features will be returned. + /// The maximum value is 1000; any value greater than 1000 will be coerced to + /// 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// /// * `feature_id` /// * `value_type` @@ -6124,44 +6124,44 @@ pub struct ListFeaturesRequest { /// * `update_time` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set, return the most recent \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1.ListFeaturesRequest.latest_stats_count\] - /// of stats for each Feature in response. Valid value is [0, 10]. If number of - /// stats exists < \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1.ListFeaturesRequest.latest_stats_count\], return all - /// existing stats. + /// If set, return the most recent \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1.ListFeaturesRequest.latest_stats_count\] + /// of stats for each Feature in response. Valid value is [0, 10]. If number of + /// stats exists < \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1.ListFeaturesRequest.latest_stats_count\], return all + /// existing stats. #[prost(int32, tag="7")] pub latest_stats_count: i32, } -/// Response message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\]. +/// Response message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1.FeaturestoreService.ListFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturesResponse { - /// The Features matching the request. + /// The Features matching the request. #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListFeaturesRequest.page_token][google.cloud.aiplatform.v1.ListFeaturesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\]. +/// Request message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchFeaturesRequest { - /// Required. The resource name of the Location to search Features. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to search Features. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// Query string that is a conjunction of field-restricted queries and/or - /// field-restricted filters. Field-restricted queries and filters can be - /// combined using `AND` to form a conjunction. + /// Query string that is a conjunction of field-restricted queries and/or + /// field-restricted filters. Field-restricted queries and filters can be + /// combined using `AND` to form a conjunction. /// - /// A field query is in the form FIELD:QUERY. This implicitly checks if QUERY - /// exists as a substring within Feature's FIELD. The QUERY - /// and the FIELD are converted to a sequence of words (i.e. tokens) for - /// comparison. This is done by: + /// A field query is in the form FIELD:QUERY. This implicitly checks if QUERY + /// exists as a substring within Feature's FIELD. The QUERY + /// and the FIELD are converted to a sequence of words (i.e. tokens) for + /// comparison. This is done by: /// /// * Removing leading/trailing whitespace and tokenizing the search value. /// Characters that are not one of alphanumeric `\[a-zA-Z0-9\]`, underscore @@ -6171,72 +6171,72 @@ pub struct SearchFeaturesRequest { /// * Prepending an asterisk to the first and appending an asterisk to the /// last token in QUERY. /// - /// A QUERY must be either a singular token or a phrase. A phrase is one or - /// multiple words enclosed in double quotation marks ("). With phrases, the - /// order of the words is important. Words in the phrase must be matching in - /// order and consecutively. - /// - /// Supported FIELDs for field-restricted queries: - /// - /// * `feature_id` - /// * `description` - /// * `entity_type_id` - /// - /// Examples: - /// - /// * `feature_id: foo` --> Matches a Feature with ID containing the substring - /// `foo` (eg. `foo`, `foofeature`, `barfoo`). - /// * `feature_id: foo*feature` --> Matches a Feature with ID containing the - /// substring `foo*feature` (eg. `foobarfeature`). - /// * `feature_id: foo AND description: bar` --> Matches a Feature with ID - /// containing the substring `foo` and description containing the substring - /// `bar`. - /// - /// - /// Besides field queries, the following exact-match filters are - /// supported. The exact-match filters do not support wildcards. Unlike - /// field-restricted queries, exact-match filters are case-sensitive. - /// - /// * `feature_id`: Supports = comparisons. - /// * `description`: Supports = comparisons. Multi-token filters should be - /// enclosed in quotes. - /// * `entity_type_id`: Supports = comparisons. - /// * `value_type`: Supports = and != comparisons. - /// * `labels`: Supports key-value equality as well as key presence. - /// * `featurestore_id`: Supports = comparisons. - /// - /// Examples: - /// * `description = "foo bar"` --> Any Feature with description exactly equal - /// to `foo bar` - /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. - /// * `labels.active = yes AND labels.env = prod` --> Features having both + /// A QUERY must be either a singular token or a phrase. A phrase is one or + /// multiple words enclosed in double quotation marks ("). With phrases, the + /// order of the words is important. Words in the phrase must be matching in + /// order and consecutively. + /// + /// Supported FIELDs for field-restricted queries: + /// + /// * `feature_id` + /// * `description` + /// * `entity_type_id` + /// + /// Examples: + /// + /// * `feature_id: foo` --> Matches a Feature with ID containing the substring + /// `foo` (eg. `foo`, `foofeature`, `barfoo`). + /// * `feature_id: foo*feature` --> Matches a Feature with ID containing the + /// substring `foo*feature` (eg. `foobarfeature`). + /// * `feature_id: foo AND description: bar` --> Matches a Feature with ID + /// containing the substring `foo` and description containing the substring + /// `bar`. + /// + /// + /// Besides field queries, the following exact-match filters are + /// supported. The exact-match filters do not support wildcards. Unlike + /// field-restricted queries, exact-match filters are case-sensitive. + /// + /// * `feature_id`: Supports = comparisons. + /// * `description`: Supports = comparisons. Multi-token filters should be + /// enclosed in quotes. + /// * `entity_type_id`: Supports = comparisons. + /// * `value_type`: Supports = and != comparisons. + /// * `labels`: Supports key-value equality as well as key presence. + /// * `featurestore_id`: Supports = comparisons. + /// + /// Examples: + /// * `description = "foo bar"` --> Any Feature with description exactly equal + /// to `foo bar` + /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. + /// * `labels.active = yes AND labels.env = prod` --> Features having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any Feature which has a label with `env` as the + /// * `labels.env: *` --> Any Feature which has a label with `env` as the /// key. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, - /// The maximum number of Features to return. The service may return fewer - /// than this value. If unspecified, at most 100 Features will be returned. - /// The maximum value is 100; any value greater than 100 will be coerced to - /// 100. + /// The maximum number of Features to return. The service may return fewer + /// than this value. If unspecified, at most 100 Features will be returned. + /// The maximum value is 100; any value greater than 100 will be coerced to + /// 100. #[prost(int32, tag="4")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\], except `page_size`, must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\], except `page_size`, must + /// match the call that provided the page token. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\]. +/// Response message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1.FeaturestoreService.SearchFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchFeaturesResponse { - /// The Features matching the request. + /// The Features matching the request. /// - /// Fields returned: + /// Fields returned: /// /// * `name` /// * `description` @@ -6245,30 +6245,30 @@ pub struct SearchFeaturesResponse { /// * `update_time` #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1.SearchFeaturesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature\]. +/// Request message for \[FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1.FeaturestoreService.UpdateFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeatureRequest { - /// Required. The Feature's `name` field is used to identify the Feature to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// Required. The Feature's `name` field is used to identify the Feature to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` #[prost(message, optional, tag="1")] pub feature: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// Features resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// Features resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `description` /// * `labels` @@ -6276,81 +6276,81 @@ pub struct UpdateFeatureRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature\]. +/// Request message for \[FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1.FeaturestoreService.DeleteFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeatureRequest { - /// Required. The name of the Features to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// Required. The name of the Features to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Details of operations that perform create Featurestore. +/// Details of operations that perform create Featurestore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeaturestoreOperationMetadata { - /// Operation metadata for Featurestore. + /// Operation metadata for Featurestore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform update Featurestore. +/// Details of operations that perform update Featurestore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeaturestoreOperationMetadata { - /// Operation metadata for Featurestore. + /// Operation metadata for Featurestore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform import Feature values. +/// Details of operations that perform import Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore import Feature values. + /// Operation metadata for Featurestore import Feature values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Number of entities that have been imported by the operation. + /// Number of entities that have been imported by the operation. #[prost(int64, tag="2")] pub imported_entity_count: i64, - /// Number of Feature values that have been imported by the operation. + /// Number of Feature values that have been imported by the operation. #[prost(int64, tag="3")] pub imported_feature_value_count: i64, - /// The number of rows in input source that weren't imported due to either - /// * Not having any featureValues. - /// * Having a null entityId. - /// * Having a null timestamp. - /// * Not being parsable (applicable for CSV sources). + /// The number of rows in input source that weren't imported due to either + /// * Not having any featureValues. + /// * Having a null entityId. + /// * Having a null timestamp. + /// * Not being parsable (applicable for CSV sources). #[prost(int64, tag="6")] pub invalid_row_count: i64, } -/// Details of operations that exports Features values. +/// Details of operations that exports Features values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore export Feature values. + /// Operation metadata for Featurestore export Feature values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that batch reads Feature values. +/// Details of operations that batch reads Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore batch read Features values. + /// Operation metadata for Featurestore batch read Features values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform create EntityType. +/// Details of operations that perform create EntityType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityTypeOperationMetadata { - /// Operation metadata for EntityType. + /// Operation metadata for EntityType. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform create Feature. +/// Details of operations that perform create Feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeatureOperationMetadata { - /// Operation metadata for Feature. + /// Operation metadata for Feature. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform batch create Features. +/// Details of operations that perform batch create Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesOperationMetadata { - /// Operation metadata for Feature. + /// Operation metadata for Feature. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } @@ -6885,44 +6885,44 @@ pub mod featurestore_service_client { } } } -/// A message representing a Study. +/// A message representing a Study. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Study { - /// Output only. The name of a study. The study's globally unique identifier. - /// Format: `projects/{project}/locations/{location}/studies/{study}` + /// Output only. The name of a study. The study's globally unique identifier. + /// Format: `projects/{project}/locations/{location}/studies/{study}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Describes the Study, default value is empty string. + /// Required. Describes the Study, default value is empty string. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Configuration of the Study. + /// Required. Configuration of the Study. #[prost(message, optional, tag="3")] pub study_spec: ::core::option::Option, - /// Output only. The detailed state of a Study. + /// Output only. The detailed state of a Study. #[prost(enumeration="study::State", tag="4")] pub state: i32, - /// Output only. Time at which the study was created. + /// Output only. Time at which the study was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A human readable reason why the Study is inactive. - /// This should be empty if a study is ACTIVE or COMPLETED. + /// Output only. A human readable reason why the Study is inactive. + /// This should be empty if a study is ACTIVE or COMPLETED. #[prost(string, tag="6")] pub inactive_reason: ::prost::alloc::string::String, } /// Nested message and enum types in `Study`. pub mod study { - /// Describes the Study state. + /// Describes the Study state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The study state is unspecified. + /// The study state is unspecified. Unspecified = 0, - /// The study is active. + /// The study is active. Active = 1, - /// The study is stopped due to an internal error. + /// The study is stopped due to an internal error. Inactive = 2, - /// The study is done when the service exhausts the parameter search space - /// or max_trial_count is reached. + /// The study is done when the service exhausts the parameter search space + /// or max_trial_count is reached. Completed = 3, } impl State { @@ -6940,106 +6940,106 @@ pub mod study { } } } -/// A message representing a Trial. A Trial contains a unique set of Parameters -/// that has been or will be evaluated, along with the objective metrics got by -/// running the Trial. +/// A message representing a Trial. A Trial contains a unique set of Parameters +/// that has been or will be evaluated, along with the objective metrics got by +/// running the Trial. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Trial { - /// Output only. Resource name of the Trial assigned by the service. + /// Output only. Resource name of the Trial assigned by the service. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The identifier of the Trial assigned by the service. + /// Output only. The identifier of the Trial assigned by the service. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. The detailed state of the Trial. + /// Output only. The detailed state of the Trial. #[prost(enumeration="trial::State", tag="3")] pub state: i32, - /// Output only. The parameters of the Trial. + /// Output only. The parameters of the Trial. #[prost(message, repeated, tag="4")] pub parameters: ::prost::alloc::vec::Vec, - /// Output only. The final measurement containing the objective value. + /// Output only. The final measurement containing the objective value. #[prost(message, optional, tag="5")] pub final_measurement: ::core::option::Option, - /// Output only. A list of measurements that are strictly lexicographically - /// ordered by their induced tuples (steps, elapsed_duration). - /// These are used for early stopping computations. + /// Output only. A list of measurements that are strictly lexicographically + /// ordered by their induced tuples (steps, elapsed_duration). + /// These are used for early stopping computations. #[prost(message, repeated, tag="6")] pub measurements: ::prost::alloc::vec::Vec, - /// Output only. Time when the Trial was started. + /// Output only. Time when the Trial was started. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. + /// Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The identifier of the client that originally requested this Trial. - /// Each client is identified by a unique client_id. When a client - /// asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client - /// should evaluate the Trial, complete it, and report back to Vertex AI - /// Vizier. If suggestion is asked again by same client_id before the Trial is - /// completed, the same Trial will be returned. Multiple clients with - /// different client_ids can ask for suggestions simultaneously, each of them - /// will get their own Trial. + /// Output only. The identifier of the client that originally requested this Trial. + /// Each client is identified by a unique client_id. When a client + /// asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client + /// should evaluate the Trial, complete it, and report back to Vertex AI + /// Vizier. If suggestion is asked again by same client_id before the Trial is + /// completed, the same Trial will be returned. Multiple clients with + /// different client_ids can ask for suggestions simultaneously, each of them + /// will get their own Trial. #[prost(string, tag="9")] pub client_id: ::prost::alloc::string::String, - /// Output only. A human readable string describing why the Trial is - /// infeasible. This is set only if Trial state is `INFEASIBLE`. + /// Output only. A human readable string describing why the Trial is + /// infeasible. This is set only if Trial state is `INFEASIBLE`. #[prost(string, tag="10")] pub infeasible_reason: ::prost::alloc::string::String, - /// Output only. The CustomJob name linked to the Trial. - /// It's set for a HyperparameterTuningJob's Trial. + /// Output only. The CustomJob name linked to the Trial. + /// It's set for a HyperparameterTuningJob's Trial. #[prost(string, tag="11")] pub custom_job: ::prost::alloc::string::String, - /// Output only. URIs for accessing [interactive - /// shells]() - /// (one URI for each training node). Only available if this trial is part of - /// a \[HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob\] and the job's - /// \[trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access\] field - /// is `true`. - /// - /// The keys are names of each node used for the trial; for example, - /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - /// the second worker pool, and `workerpool1-1` for the second node in the - /// second worker pool. - /// - /// The values are the URIs for each node's interactive shell. + /// Output only. URIs for accessing [interactive + /// shells]() + /// (one URI for each training node). Only available if this trial is part of + /// a \[HyperparameterTuningJob][google.cloud.aiplatform.v1.HyperparameterTuningJob\] and the job's + /// \[trial_job_spec.enable_web_access][google.cloud.aiplatform.v1.CustomJobSpec.enable_web_access\] field + /// is `true`. + /// + /// The keys are names of each node used for the trial; for example, + /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in + /// the second worker pool, and `workerpool1-1` for the second node in the + /// second worker pool. + /// + /// The values are the URIs for each node's interactive shell. #[prost(map="string, string", tag="12")] pub web_access_uris: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Trial`. pub mod trial { - /// A message representing a parameter to be tuned. + /// A message representing a parameter to be tuned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Output only. The ID of the parameter. The parameter should be defined in - /// [StudySpec's Parameters]\[google.cloud.aiplatform.v1.StudySpec.parameters\]. + /// Output only. The ID of the parameter. The parameter should be defined in + /// [StudySpec's Parameters]\[google.cloud.aiplatform.v1.StudySpec.parameters\]. #[prost(string, tag="1")] pub parameter_id: ::prost::alloc::string::String, - /// Output only. The value of the parameter. - /// `number_value` will be set if a parameter defined in StudySpec is - /// in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. - /// `string_value` will be set if a parameter defined in StudySpec is - /// in type 'CATEGORICAL'. + /// Output only. The value of the parameter. + /// `number_value` will be set if a parameter defined in StudySpec is + /// in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. + /// `string_value` will be set if a parameter defined in StudySpec is + /// in type 'CATEGORICAL'. #[prost(message, optional, tag="2")] pub value: ::core::option::Option<::prost_types::Value>, } - /// Describes a Trial state. + /// Describes a Trial state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The Trial state is unspecified. + /// The Trial state is unspecified. Unspecified = 0, - /// Indicates that a specific Trial has been requested, but it has not yet - /// been suggested by the service. + /// Indicates that a specific Trial has been requested, but it has not yet + /// been suggested by the service. Requested = 1, - /// Indicates that the Trial has been suggested. + /// Indicates that the Trial has been suggested. Active = 2, - /// Indicates that the Trial should stop according to the service. + /// Indicates that the Trial should stop according to the service. Stopping = 3, - /// Indicates that the Trial is completed successfully. + /// Indicates that the Trial is completed successfully. Succeeded = 4, - /// Indicates that the Trial should not be attempted again. - /// The service will set a Trial to INFEASIBLE when it's done but missing - /// the final_measurement. + /// Indicates that the Trial should not be attempted again. + /// The service will set a Trial to INFEASIBLE when it's done but missing + /// the final_measurement. Infeasible = 5, } impl State { @@ -7059,24 +7059,24 @@ pub mod trial { } } } -/// Represents specification of a Study. +/// Represents specification of a Study. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StudySpec { - /// Required. Metric specs for the Study. + /// Required. Metric specs for the Study. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// Required. The set of parameters to tune. + /// Required. The set of parameters to tune. #[prost(message, repeated, tag="2")] pub parameters: ::prost::alloc::vec::Vec, - /// The search algorithm specified for the Study. + /// The search algorithm specified for the Study. #[prost(enumeration="study_spec::Algorithm", tag="3")] pub algorithm: i32, - /// The observation noise level of the study. - /// Currently only supported by the Vertex AI Vizier service. Not supported by - /// HyperparameterTuningJob or TrainingPipeline. + /// The observation noise level of the study. + /// Currently only supported by the Vertex AI Vizier service. Not supported by + /// HyperparameterTuningJob or TrainingPipeline. #[prost(enumeration="study_spec::ObservationNoise", tag="6")] pub observation_noise: i32, - /// Describe which measurement selection type will be used + /// Describe which measurement selection type will be used #[prost(enumeration="study_spec::MeasurementSelectionType", tag="7")] pub measurement_selection_type: i32, #[prost(oneof="study_spec::AutomatedStoppingSpec", tags="4, 5, 9")] @@ -7084,28 +7084,28 @@ pub struct StudySpec { } /// Nested message and enum types in `StudySpec`. pub mod study_spec { - /// Represents a metric to optimize. + /// Represents a metric to optimize. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricSpec { - /// Required. The ID of the metric. Must not contain whitespaces and must be unique - /// amongst all MetricSpecs. + /// Required. The ID of the metric. Must not contain whitespaces and must be unique + /// amongst all MetricSpecs. #[prost(string, tag="1")] pub metric_id: ::prost::alloc::string::String, - /// Required. The optimization goal of the metric. + /// Required. The optimization goal of the metric. #[prost(enumeration="metric_spec::GoalType", tag="2")] pub goal: i32, } /// Nested message and enum types in `MetricSpec`. pub mod metric_spec { - /// The available types of optimization goals. + /// The available types of optimization goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoalType { - /// Goal Type will default to maximize. + /// Goal Type will default to maximize. Unspecified = 0, - /// Maximize the goal metric. + /// Maximize the goal metric. Maximize = 1, - /// Minimize the goal metric. + /// Minimize the goal metric. Minimize = 2, } impl GoalType { @@ -7122,22 +7122,22 @@ pub mod study_spec { } } } - /// Represents a single parameter to optimize. + /// Represents a single parameter to optimize. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParameterSpec { - /// Required. The ID of the parameter. Must not contain whitespaces and must be unique - /// amongst all ParameterSpecs. + /// Required. The ID of the parameter. Must not contain whitespaces and must be unique + /// amongst all ParameterSpecs. #[prost(string, tag="1")] pub parameter_id: ::prost::alloc::string::String, - /// How the parameter should be scaled. - /// Leave unset for `CATEGORICAL` parameters. + /// How the parameter should be scaled. + /// Leave unset for `CATEGORICAL` parameters. #[prost(enumeration="parameter_spec::ScaleType", tag="6")] pub scale_type: i32, - /// A conditional parameter node is active if the parameter's value matches - /// the conditional node's parent_value_condition. + /// A conditional parameter node is active if the parameter's value matches + /// the conditional node's parent_value_condition. /// - /// If two items in conditional_parameter_specs have the same name, they - /// must have disjoint parent_value_condition. + /// If two items in conditional_parameter_specs have the same name, they + /// must have disjoint parent_value_condition. #[prost(message, repeated, tag="10")] pub conditional_parameter_specs: ::prost::alloc::vec::Vec, #[prost(oneof="parameter_spec::ParameterValueSpec", tags="2, 3, 4, 5")] @@ -7145,149 +7145,149 @@ pub mod study_spec { } /// Nested message and enum types in `ParameterSpec`. pub mod parameter_spec { - /// Value specification for a parameter in `DOUBLE` type. + /// Value specification for a parameter in `DOUBLE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DoubleValueSpec { - /// Required. Inclusive minimum value of the parameter. + /// Required. Inclusive minimum value of the parameter. #[prost(double, tag="1")] pub min_value: f64, - /// Required. Inclusive maximum value of the parameter. + /// Required. Inclusive maximum value of the parameter. #[prost(double, tag="2")] pub max_value: f64, - /// A default value for a `DOUBLE` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for a `DOUBLE` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(double, optional, tag="4")] pub default_value: ::core::option::Option, } - /// Value specification for a parameter in `INTEGER` type. + /// Value specification for a parameter in `INTEGER` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegerValueSpec { - /// Required. Inclusive minimum value of the parameter. + /// Required. Inclusive minimum value of the parameter. #[prost(int64, tag="1")] pub min_value: i64, - /// Required. Inclusive maximum value of the parameter. + /// Required. Inclusive maximum value of the parameter. #[prost(int64, tag="2")] pub max_value: i64, - /// A default value for an `INTEGER` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for an `INTEGER` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(int64, optional, tag="4")] pub default_value: ::core::option::Option, } - /// Value specification for a parameter in `CATEGORICAL` type. + /// Value specification for a parameter in `CATEGORICAL` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalValueSpec { - /// Required. The list of possible categories. + /// Required. The list of possible categories. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A default value for a `CATEGORICAL` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for a `CATEGORICAL` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(string, optional, tag="3")] pub default_value: ::core::option::Option<::prost::alloc::string::String>, } - /// Value specification for a parameter in `DISCRETE` type. + /// Value specification for a parameter in `DISCRETE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscreteValueSpec { - /// Required. A list of possible values. - /// The list should be in increasing order and at least 1e-10 apart. - /// For instance, this parameter might have possible settings of 1.5, 2.5, - /// and 4.0. This list should not contain more than 1,000 values. + /// Required. A list of possible values. + /// The list should be in increasing order and at least 1e-10 apart. + /// For instance, this parameter might have possible settings of 1.5, 2.5, + /// and 4.0. This list should not contain more than 1,000 values. #[prost(double, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, - /// A default value for a `DISCRETE` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. It automatically rounds to the - /// nearest feasible discrete point. + /// A default value for a `DISCRETE` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. It automatically rounds to the + /// nearest feasible discrete point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(double, optional, tag="3")] pub default_value: ::core::option::Option, } - /// Represents a parameter spec with condition from its parent parameter. + /// Represents a parameter spec with condition from its parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionalParameterSpec { - /// Required. The spec for a conditional parameter. + /// Required. The spec for a conditional parameter. #[prost(message, optional, tag="1")] pub parameter_spec: ::core::option::Option, - /// A set of parameter values from the parent ParameterSpec's feasible - /// space. + /// A set of parameter values from the parent ParameterSpec's feasible + /// space. #[prost(oneof="conditional_parameter_spec::ParentValueCondition", tags="2, 3, 4")] pub parent_value_condition: ::core::option::Option, } /// Nested message and enum types in `ConditionalParameterSpec`. pub mod conditional_parameter_spec { - /// Represents the spec to match discrete values from parent parameter. + /// Represents the spec to match discrete values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscreteValueCondition { - /// Required. Matches values of the parent parameter of 'DISCRETE' type. - /// All values must exist in `discrete_value_spec` of parent parameter. + /// Required. Matches values of the parent parameter of 'DISCRETE' type. + /// All values must exist in `discrete_value_spec` of parent parameter. /// - /// The Epsilon of the value matching is 1e-10. + /// The Epsilon of the value matching is 1e-10. #[prost(double, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, } - /// Represents the spec to match integer values from parent parameter. + /// Represents the spec to match integer values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntValueCondition { - /// Required. Matches values of the parent parameter of 'INTEGER' type. - /// All values must lie in `integer_value_spec` of parent parameter. + /// Required. Matches values of the parent parameter of 'INTEGER' type. + /// All values must lie in `integer_value_spec` of parent parameter. #[prost(int64, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, } - /// Represents the spec to match categorical values from parent parameter. + /// Represents the spec to match categorical values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalValueCondition { - /// Required. Matches values of the parent parameter of 'CATEGORICAL' type. - /// All values must exist in `categorical_value_spec` of parent - /// parameter. + /// Required. Matches values of the parent parameter of 'CATEGORICAL' type. + /// All values must exist in `categorical_value_spec` of parent + /// parameter. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A set of parameter values from the parent ParameterSpec's feasible - /// space. + /// A set of parameter values from the parent ParameterSpec's feasible + /// space. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ParentValueCondition { - /// The spec for matching values from a parent parameter of - /// `DISCRETE` type. + /// The spec for matching values from a parent parameter of + /// `DISCRETE` type. #[prost(message, tag="2")] ParentDiscreteValues(DiscreteValueCondition), - /// The spec for matching values from a parent parameter of `INTEGER` - /// type. + /// The spec for matching values from a parent parameter of `INTEGER` + /// type. #[prost(message, tag="3")] ParentIntValues(IntValueCondition), - /// The spec for matching values from a parent parameter of - /// `CATEGORICAL` type. + /// The spec for matching values from a parent parameter of + /// `CATEGORICAL` type. #[prost(message, tag="4")] ParentCategoricalValues(CategoricalValueCondition), } } - /// The type of scaling that should be applied to this parameter. + /// The type of scaling that should be applied to this parameter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScaleType { - /// By default, no scaling is applied. + /// By default, no scaling is applied. Unspecified = 0, - /// Scales the feasible space to (0, 1) linearly. + /// Scales the feasible space to (0, 1) linearly. UnitLinearScale = 1, - /// Scales the feasible space logarithmically to (0, 1). The entire - /// feasible space must be strictly positive. + /// Scales the feasible space logarithmically to (0, 1). The entire + /// feasible space must be strictly positive. UnitLogScale = 2, - /// Scales the feasible space "reverse" logarithmically to (0, 1). The - /// result is that values close to the top of the feasible space are spread - /// out more than points near the bottom. The entire feasible space must be - /// strictly positive. + /// Scales the feasible space "reverse" logarithmically to (0, 1). The + /// result is that values close to the top of the feasible space are spread + /// out more than points near the bottom. The entire feasible space must be + /// strictly positive. UnitReverseLogScale = 3, } impl ScaleType { @@ -7306,108 +7306,108 @@ pub mod study_spec { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ParameterValueSpec { - /// The value spec for a 'DOUBLE' parameter. + /// The value spec for a 'DOUBLE' parameter. #[prost(message, tag="2")] DoubleValueSpec(DoubleValueSpec), - /// The value spec for an 'INTEGER' parameter. + /// The value spec for an 'INTEGER' parameter. #[prost(message, tag="3")] IntegerValueSpec(IntegerValueSpec), - /// The value spec for a 'CATEGORICAL' parameter. + /// The value spec for a 'CATEGORICAL' parameter. #[prost(message, tag="4")] CategoricalValueSpec(CategoricalValueSpec), - /// The value spec for a 'DISCRETE' parameter. + /// The value spec for a 'DISCRETE' parameter. #[prost(message, tag="5")] DiscreteValueSpec(DiscreteValueSpec), } } - /// The decay curve automated stopping rule builds a Gaussian Process - /// Regressor to predict the final objective value of a Trial based on the - /// already completed Trials and the intermediate measurements of the current - /// Trial. Early stopping is requested for the current Trial if there is very - /// low probability to exceed the optimal value found so far. + /// The decay curve automated stopping rule builds a Gaussian Process + /// Regressor to predict the final objective value of a Trial based on the + /// already completed Trials and the intermediate measurements of the current + /// Trial. Early stopping is requested for the current Trial if there is very + /// low probability to exceed the optimal value found so far. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DecayCurveAutomatedStoppingSpec { - /// True if \[Measurement.elapsed_duration][google.cloud.aiplatform.v1.Measurement.elapsed_duration\] is used as the x-axis of each - /// Trials Decay Curve. Otherwise, \[Measurement.step_count][google.cloud.aiplatform.v1.Measurement.step_count\] will be used - /// as the x-axis. + /// True if \[Measurement.elapsed_duration][google.cloud.aiplatform.v1.Measurement.elapsed_duration\] is used as the x-axis of each + /// Trials Decay Curve. Otherwise, \[Measurement.step_count][google.cloud.aiplatform.v1.Measurement.step_count\] will be used + /// as the x-axis. #[prost(bool, tag="1")] pub use_elapsed_duration: bool, } - /// The median automated stopping rule stops a pending Trial if the Trial's - /// best objective_value is strictly below the median 'performance' of all - /// completed Trials reported up to the Trial's last measurement. - /// Currently, 'performance' refers to the running average of the objective - /// values reported by the Trial in each measurement. + /// The median automated stopping rule stops a pending Trial if the Trial's + /// best objective_value is strictly below the median 'performance' of all + /// completed Trials reported up to the Trial's last measurement. + /// Currently, 'performance' refers to the running average of the objective + /// values reported by the Trial in each measurement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MedianAutomatedStoppingSpec { - /// True if median automated stopping rule applies on - /// \[Measurement.elapsed_duration][google.cloud.aiplatform.v1.Measurement.elapsed_duration\]. It means that elapsed_duration - /// field of latest measurement of current Trial is used to compute median - /// objective value for each completed Trials. + /// True if median automated stopping rule applies on + /// \[Measurement.elapsed_duration][google.cloud.aiplatform.v1.Measurement.elapsed_duration\]. It means that elapsed_duration + /// field of latest measurement of current Trial is used to compute median + /// objective value for each completed Trials. #[prost(bool, tag="1")] pub use_elapsed_duration: bool, } - /// Configuration for ConvexAutomatedStoppingSpec. - /// When there are enough completed trials (configured by - /// min_measurement_count), for pending trials with enough measurements and - /// steps, the policy first computes an overestimate of the objective value at - /// max_num_steps according to the slope of the incomplete objective value - /// curve. No prediction can be made if the curve is completely flat. If the - /// overestimation is worse than the best objective value of the completed - /// trials, this pending trial will be early-stopped, but a last measurement - /// will be added to the pending trial with max_num_steps and predicted - /// objective value from the autoregression model. + /// Configuration for ConvexAutomatedStoppingSpec. + /// When there are enough completed trials (configured by + /// min_measurement_count), for pending trials with enough measurements and + /// steps, the policy first computes an overestimate of the objective value at + /// max_num_steps according to the slope of the incomplete objective value + /// curve. No prediction can be made if the curve is completely flat. If the + /// overestimation is worse than the best objective value of the completed + /// trials, this pending trial will be early-stopped, but a last measurement + /// will be added to the pending trial with max_num_steps and predicted + /// objective value from the autoregression model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConvexAutomatedStoppingSpec { - /// Steps used in predicting the final objective for early stopped trials. In - /// general, it's set to be the same as the defined steps in training / - /// tuning. If not defined, it will learn it from the completed trials. When - /// use_steps is false, this field is set to the maximum elapsed seconds. + /// Steps used in predicting the final objective for early stopped trials. In + /// general, it's set to be the same as the defined steps in training / + /// tuning. If not defined, it will learn it from the completed trials. When + /// use_steps is false, this field is set to the maximum elapsed seconds. #[prost(int64, tag="1")] pub max_step_count: i64, - /// Minimum number of steps for a trial to complete. Trials which do not have - /// a measurement with step_count > min_step_count won't be considered for - /// early stopping. It's ok to set it to 0, and a trial can be early stopped - /// at any stage. By default, min_step_count is set to be one-tenth of the - /// max_step_count. - /// When use_elapsed_duration is true, this field is set to the minimum - /// elapsed seconds. + /// Minimum number of steps for a trial to complete. Trials which do not have + /// a measurement with step_count > min_step_count won't be considered for + /// early stopping. It's ok to set it to 0, and a trial can be early stopped + /// at any stage. By default, min_step_count is set to be one-tenth of the + /// max_step_count. + /// When use_elapsed_duration is true, this field is set to the minimum + /// elapsed seconds. #[prost(int64, tag="2")] pub min_step_count: i64, - /// The minimal number of measurements in a Trial. Early-stopping checks - /// will not trigger if less than min_measurement_count+1 completed trials or - /// pending trials with less than min_measurement_count measurements. If not - /// defined, the default value is 5. + /// The minimal number of measurements in a Trial. Early-stopping checks + /// will not trigger if less than min_measurement_count+1 completed trials or + /// pending trials with less than min_measurement_count measurements. If not + /// defined, the default value is 5. #[prost(int64, tag="3")] pub min_measurement_count: i64, - /// The hyper-parameter name used in the tuning job that stands for learning - /// rate. Leave it blank if learning rate is not in a parameter in tuning. - /// The learning_rate is used to estimate the objective value of the ongoing - /// trial. + /// The hyper-parameter name used in the tuning job that stands for learning + /// rate. Leave it blank if learning rate is not in a parameter in tuning. + /// The learning_rate is used to estimate the objective value of the ongoing + /// trial. #[prost(string, tag="4")] pub learning_rate_parameter_name: ::prost::alloc::string::String, - /// This bool determines whether or not the rule is applied based on - /// elapsed_secs or steps. If use_elapsed_duration==false, the early stopping - /// decision is made according to the predicted objective values according to - /// the target steps. If use_elapsed_duration==true, elapsed_secs is used - /// instead of steps. Also, in this case, the parameters max_num_steps and - /// min_num_steps are overloaded to contain max_elapsed_seconds and - /// min_elapsed_seconds. + /// This bool determines whether or not the rule is applied based on + /// elapsed_secs or steps. If use_elapsed_duration==false, the early stopping + /// decision is made according to the predicted objective values according to + /// the target steps. If use_elapsed_duration==true, elapsed_secs is used + /// instead of steps. Also, in this case, the parameters max_num_steps and + /// min_num_steps are overloaded to contain max_elapsed_seconds and + /// min_elapsed_seconds. #[prost(bool, tag="5")] pub use_elapsed_duration: bool, } - /// The available search algorithms for the Study. + /// The available search algorithms for the Study. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Algorithm { - /// The default algorithm used by Vertex AI for [hyperparameter - /// tuning]() - /// and [Vertex AI Vizier](). + /// The default algorithm used by Vertex AI for [hyperparameter + /// tuning]() + /// and [Vertex AI Vizier](). Unspecified = 0, - /// Simple grid search within the feasible space. To use grid search, - /// all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. + /// Simple grid search within the feasible space. To use grid search, + /// all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. GridSearch = 2, - /// Simple random search within the feasible space. + /// Simple random search within the feasible space. RandomSearch = 3, } impl Algorithm { @@ -7423,21 +7423,21 @@ pub mod study_spec { } } } - /// Describes the noise level of the repeated observations. + /// Describes the noise level of the repeated observations. /// - /// "Noisy" means that the repeated observations with the same Trial parameters - /// may lead to different metric evaluations. + /// "Noisy" means that the repeated observations with the same Trial parameters + /// may lead to different metric evaluations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ObservationNoise { - /// The default noise level chosen by Vertex AI. + /// The default noise level chosen by Vertex AI. Unspecified = 0, - /// Vertex AI assumes that the objective function is (nearly) - /// perfectly reproducible, and will never repeat the same Trial - /// parameters. + /// Vertex AI assumes that the objective function is (nearly) + /// perfectly reproducible, and will never repeat the same Trial + /// parameters. Low = 1, - /// Vertex AI will estimate the amount of noise in metric - /// evaluations, it may repeat the same Trial parameters more than once. + /// Vertex AI will estimate the amount of noise in metric + /// evaluations, it may repeat the same Trial parameters more than once. High = 2, } impl ObservationNoise { @@ -7453,9 +7453,9 @@ pub mod study_spec { } } } - /// This indicates which measurement to use if/when the service automatically - /// selects the final measurement from previously reported intermediate - /// measurements. Choose this based on two considerations: + /// This indicates which measurement to use if/when the service automatically + /// selects the final measurement from previously reported intermediate + /// measurements. Choose this based on two considerations: /// A) Do you expect your measurements to monotonically improve? /// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a /// situation where your system can "over-train" and you expect the @@ -7469,11 +7469,11 @@ pub mod study_spec { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MeasurementSelectionType { - /// Will be treated as LAST_MEASUREMENT. + /// Will be treated as LAST_MEASUREMENT. Unspecified = 0, - /// Use the last measurement reported. + /// Use the last measurement reported. LastMeasurement = 1, - /// Use the best measurement reported. + /// Use the best measurement reported. BestMeasurement = 2, } impl MeasurementSelectionType { @@ -7491,202 +7491,202 @@ pub mod study_spec { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AutomatedStoppingSpec { - /// The automated early stopping spec using decay curve rule. + /// The automated early stopping spec using decay curve rule. #[prost(message, tag="4")] DecayCurveStoppingSpec(DecayCurveAutomatedStoppingSpec), - /// The automated early stopping spec using median rule. + /// The automated early stopping spec using median rule. #[prost(message, tag="5")] MedianAutomatedStoppingSpec(MedianAutomatedStoppingSpec), - /// The automated early stopping spec using convex stopping rule. + /// The automated early stopping spec using convex stopping rule. #[prost(message, tag="9")] ConvexAutomatedStoppingSpec(ConvexAutomatedStoppingSpec), } } -/// A message representing a Measurement of a Trial. A Measurement contains -/// the Metrics got by executing a Trial using suggested hyperparameter -/// values. +/// A message representing a Measurement of a Trial. A Measurement contains +/// the Metrics got by executing a Trial using suggested hyperparameter +/// values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Measurement { - /// Output only. Time that the Trial has been running at the point of this Measurement. + /// Output only. Time that the Trial has been running at the point of this Measurement. #[prost(message, optional, tag="1")] pub elapsed_duration: ::core::option::Option<::prost_types::Duration>, - /// Output only. The number of steps the machine learning model has been trained for. - /// Must be non-negative. + /// Output only. The number of steps the machine learning model has been trained for. + /// Must be non-negative. #[prost(int64, tag="2")] pub step_count: i64, - /// Output only. A list of metrics got by evaluating the objective functions using suggested - /// Parameter values. + /// Output only. A list of metrics got by evaluating the objective functions using suggested + /// Parameter values. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Measurement`. pub mod measurement { - /// A message representing a metric in the measurement. + /// A message representing a metric in the measurement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metric { - /// Output only. The ID of the Metric. The Metric should be defined in - /// [StudySpec's Metrics]\[google.cloud.aiplatform.v1.StudySpec.metrics\]. + /// Output only. The ID of the Metric. The Metric should be defined in + /// [StudySpec's Metrics]\[google.cloud.aiplatform.v1.StudySpec.metrics\]. #[prost(string, tag="1")] pub metric_id: ::prost::alloc::string::String, - /// Output only. The value for this metric. + /// Output only. The value for this metric. #[prost(double, tag="2")] pub value: f64, } } -/// Represents a HyperparameterTuningJob. A HyperparameterTuningJob -/// has a Study specification and multiple CustomJobs with identical -/// CustomJob specification. +/// Represents a HyperparameterTuningJob. A HyperparameterTuningJob +/// has a Study specification and multiple CustomJobs with identical +/// CustomJob specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HyperparameterTuningJob { - /// Output only. Resource name of the HyperparameterTuningJob. + /// Output only. Resource name of the HyperparameterTuningJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the HyperparameterTuningJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the HyperparameterTuningJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Study configuration of the HyperparameterTuningJob. + /// Required. Study configuration of the HyperparameterTuningJob. #[prost(message, optional, tag="4")] pub study_spec: ::core::option::Option, - /// Required. The desired total number of Trials. + /// Required. The desired total number of Trials. #[prost(int32, tag="5")] pub max_trial_count: i32, - /// Required. The desired number of Trials to run in parallel. + /// Required. The desired number of Trials to run in parallel. #[prost(int32, tag="6")] pub parallel_trial_count: i32, - /// The number of failed Trials that need to be seen before failing - /// the HyperparameterTuningJob. + /// The number of failed Trials that need to be seen before failing + /// the HyperparameterTuningJob. /// - /// If set to 0, Vertex AI decides how many Trials must fail - /// before the whole job fails. + /// If set to 0, Vertex AI decides how many Trials must fail + /// before the whole job fails. #[prost(int32, tag="7")] pub max_failed_trial_count: i32, - /// Required. The spec of a trial job. The same spec applies to the CustomJobs created - /// in all the trials. + /// Required. The spec of a trial job. The same spec applies to the CustomJobs created + /// in all the trials. #[prost(message, optional, tag="8")] pub trial_job_spec: ::core::option::Option, - /// Output only. Trials of the HyperparameterTuningJob. + /// Output only. Trials of the HyperparameterTuningJob. #[prost(message, repeated, tag="9")] pub trials: ::prost::alloc::vec::Vec, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="10")] pub state: i32, - /// Output only. Time when the HyperparameterTuningJob was created. + /// Output only. Time when the HyperparameterTuningJob was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the HyperparameterTuningJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="12")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the HyperparameterTuningJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="13")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob was most recently updated. + /// Output only. Time when the HyperparameterTuningJob was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Only populated when job's state is JOB_STATE_FAILED or - /// JOB_STATE_CANCELLED. + /// Output only. Only populated when job's state is JOB_STATE_FAILED or + /// JOB_STATE_CANCELLED. #[prost(message, optional, tag="15")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize HyperparameterTuningJobs. + /// The labels with user-defined metadata to organize HyperparameterTuningJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="16")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a HyperparameterTuningJob. - /// If this is set, then all resources created by the HyperparameterTuningJob - /// will be encrypted with the provided encryption key. + /// Customer-managed encryption key options for a HyperparameterTuningJob. + /// If this is set, then all resources created by the HyperparameterTuningJob + /// will be encrypted with the provided encryption key. #[prost(message, optional, tag="17")] pub encryption_spec: ::core::option::Option, } -/// A representation of a collection of database items organized in a way that -/// allows for approximate nearest neighbor (a.k.a ANN) algorithms search. +/// A representation of a collection of database items organized in a way that +/// allows for approximate nearest neighbor (a.k.a ANN) algorithms search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Index { - /// Output only. The resource name of the Index. + /// Output only. The resource name of the Index. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the Index. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Index. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Index. + /// The description of the Index. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Index, that is specific to it. Unset if the Index - /// does not have any additional information. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Index, that is specific to it. Unset if the Index + /// does not have any additional information. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="4")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// An additional information about the Index; the schema of the metadata can - /// be found in \[metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri\]. + /// An additional information about the Index; the schema of the metadata can + /// be found in \[metadata_schema][google.cloud.aiplatform.v1.Index.metadata_schema_uri\]. #[prost(message, optional, tag="6")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. The pointers to DeployedIndexes created from this Index. - /// An Index can be only deleted if all its DeployedIndexes had been undeployed - /// first. + /// Output only. The pointers to DeployedIndexes created from this Index. + /// An Index can be only deleted if all its DeployedIndexes had been undeployed + /// first. #[prost(message, repeated, tag="7")] pub deployed_indexes: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Indexes. + /// The labels with user-defined metadata to organize your Indexes. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Index was created. + /// Output only. Timestamp when this Index was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Index was most recently updated. - /// This also includes any update to the contents of the Index. - /// Note that Operations working on this Index may have their - /// \[Operations.metadata.generic_metadata.update_time\] - /// \[google.cloud.aiplatform.v1.GenericOperationMetadata.update_time\] a little after the value of this - /// timestamp, yet that does not mean their results are not already reflected - /// in the Index. Result of any successfully completed Operation on the Index - /// is reflected in it. + /// Output only. Timestamp when this Index was most recently updated. + /// This also includes any update to the contents of the Index. + /// Note that Operations working on this Index may have their + /// \[Operations.metadata.generic_metadata.update_time\] + /// \[google.cloud.aiplatform.v1.GenericOperationMetadata.update_time\] a little after the value of this + /// timestamp, yet that does not mean their results are not already reflected + /// in the Index. Result of any successfully completed Operation on the Index + /// is reflected in it. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Stats of the index resource. + /// Output only. Stats of the index resource. #[prost(message, optional, tag="14")] pub index_stats: ::core::option::Option, - /// Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be - /// used by default. + /// Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be + /// used by default. #[prost(enumeration="index::IndexUpdateMethod", tag="16")] pub index_update_method: i32, } /// Nested message and enum types in `Index`. pub mod index { - /// The update method of an Index. + /// The update method of an Index. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IndexUpdateMethod { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// BatchUpdate: user can call UpdateIndex with files on Cloud Storage of - /// datapoints to update. + /// BatchUpdate: user can call UpdateIndex with files on Cloud Storage of + /// datapoints to update. BatchUpdate = 1, - /// StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update - /// the Index and the updates will be applied in corresponding - /// DeployedIndexes in nearly real-time. + /// StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update + /// the Index and the updates will be applied in corresponding + /// DeployedIndexes in nearly real-time. StreamUpdate = 2, } impl IndexUpdateMethod { @@ -7703,315 +7703,315 @@ pub mod index { } } } -/// A datapoint of Index. +/// A datapoint of Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexDatapoint { - /// Required. Unique identifier of the datapoint. + /// Required. Unique identifier of the datapoint. #[prost(string, tag="1")] pub datapoint_id: ::prost::alloc::string::String, - /// Required. Feature embedding vector. An array of numbers with the length of - /// \[NearestNeighborSearchConfig.dimensions\]. + /// Required. Feature embedding vector. An array of numbers with the length of + /// \[NearestNeighborSearchConfig.dimensions\]. #[prost(float, repeated, packed="false", tag="2")] pub feature_vector: ::prost::alloc::vec::Vec, - /// Optional. List of Restrict of the datapoint, used to perform "restricted searches" - /// where boolean rule are used to filter the subset of the database eligible - /// for matching. - /// See: + /// Optional. List of Restrict of the datapoint, used to perform "restricted searches" + /// where boolean rule are used to filter the subset of the database eligible + /// for matching. + /// See: #[prost(message, repeated, tag="4")] pub restricts: ::prost::alloc::vec::Vec, - /// Optional. CrowdingTag of the datapoint, the number of neighbors to return in each - /// crowding can be configured during query. + /// Optional. CrowdingTag of the datapoint, the number of neighbors to return in each + /// crowding can be configured during query. #[prost(message, optional, tag="5")] pub crowding_tag: ::core::option::Option, } /// Nested message and enum types in `IndexDatapoint`. pub mod index_datapoint { - /// Restriction of a datapoint which describe its attributes(tokens) from each - /// of several attribute categories(namespaces). + /// Restriction of a datapoint which describe its attributes(tokens) from each + /// of several attribute categories(namespaces). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Restriction { - /// The namespace of this restriction. eg: color. + /// The namespace of this restriction. eg: color. #[prost(string, tag="1")] pub namespace: ::prost::alloc::string::String, - /// The attributes to allow in this namespace. eg: 'red' + /// The attributes to allow in this namespace. eg: 'red' #[prost(string, repeated, tag="2")] pub allow_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The attributes to deny in this namespace. eg: 'blue' + /// The attributes to deny in this namespace. eg: 'blue' #[prost(string, repeated, tag="3")] pub deny_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Crowding tag is a constraint on a neighbor list produced by nearest - /// neighbor search requiring that no more than some value k' of the k - /// neighbors returned have the same value of crowding_attribute. + /// Crowding tag is a constraint on a neighbor list produced by nearest + /// neighbor search requiring that no more than some value k' of the k + /// neighbors returned have the same value of crowding_attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrowdingTag { - /// The attribute value used for crowding. The maximum number of neighbors - /// to return per crowding attribute value - /// (per_crowding_attribute_num_neighbors) is configured per-query. This - /// field is ignored if per_crowding_attribute_num_neighbors is larger than - /// the total number of neighbors to return for a given query. + /// The attribute value used for crowding. The maximum number of neighbors + /// to return per crowding attribute value + /// (per_crowding_attribute_num_neighbors) is configured per-query. This + /// field is ignored if per_crowding_attribute_num_neighbors is larger than + /// the total number of neighbors to return for a given query. #[prost(string, tag="1")] pub crowding_attribute: ::prost::alloc::string::String, } } -/// Stats of the Index. +/// Stats of the Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexStats { - /// Output only. The number of vectors in the Index. + /// Output only. The number of vectors in the Index. #[prost(int64, tag="1")] pub vectors_count: i64, - /// Output only. The number of shards in the Index. + /// Output only. The number of shards in the Index. #[prost(int32, tag="2")] pub shards_count: i32, } -/// Indexes are deployed into it. An IndexEndpoint can have multiple -/// DeployedIndexes. +/// Indexes are deployed into it. An IndexEndpoint can have multiple +/// DeployedIndexes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexEndpoint { - /// Output only. The resource name of the IndexEndpoint. + /// Output only. The resource name of the IndexEndpoint. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the IndexEndpoint. - /// The name can be up to 128 characters long and can consist of any UTF-8 - /// characters. + /// Required. The display name of the IndexEndpoint. + /// The name can be up to 128 characters long and can consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the IndexEndpoint. + /// The description of the IndexEndpoint. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The indexes deployed in this endpoint. + /// Output only. The indexes deployed in this endpoint. #[prost(message, repeated, tag="4")] pub deployed_indexes: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your IndexEndpoints. + /// The labels with user-defined metadata to organize your IndexEndpoints. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this IndexEndpoint was created. + /// Output only. Timestamp when this IndexEndpoint was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this IndexEndpoint was last updated. - /// This timestamp is not updated when the endpoint's DeployedIndexes are - /// updated, e.g. due to updates of the original Indexes they are the - /// deployments of. + /// Output only. Timestamp when this IndexEndpoint was last updated. + /// This timestamp is not updated when the endpoint's DeployedIndexes are + /// updated, e.g. due to updates of the original Indexes they are the + /// deployments of. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The full name of the Google Compute Engine - /// \[network\]() - /// to which the IndexEndpoint should be peered. + /// Optional. The full name of the Google Compute Engine + /// \[network\]() + /// to which the IndexEndpoint should be peered. /// - /// Private services access must already be configured for the network. If left - /// unspecified, the Endpoint is not peered with any network. + /// Private services access must already be configured for the network. If left + /// unspecified, the Endpoint is not peered with any network. /// - /// \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] and - /// \[private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config\] - /// are mutually exclusive. + /// \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] and + /// \[private_service_connect_config][google.cloud.aiplatform.v1.IndexEndpoint.private_service_connect_config\] + /// are mutually exclusive. /// - /// \[Format\](): - /// projects/{project}/global/networks/{network}. - /// Where {project} is a project number, as in '12345', and {network} is - /// network name. + /// \[Format\](): + /// projects/{project}/global/networks/{network}. + /// Where {project} is a project number, as in '12345', and {network} is + /// network name. #[prost(string, tag="9")] pub network: ::prost::alloc::string::String, - /// Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. + /// Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1.IndexEndpoint.enable_private_service_connect\], + /// can be set. #[deprecated] #[prost(bool, tag="10")] pub enable_private_service_connect: bool, } -/// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. +/// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndex { - /// Required. The user specified ID of the DeployedIndex. - /// The ID can be up to 128 characters long and must start with a letter and - /// only contain letters, numbers, and underscores. - /// The ID must be unique within the project it is created in. + /// Required. The user specified ID of the DeployedIndex. + /// The ID can be up to 128 characters long and must start with a letter and + /// only contain letters, numbers, and underscores. + /// The ID must be unique within the project it is created in. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The name of the Index this is the deployment of. - /// We may refer to this Index as the DeployedIndex's "original" Index. + /// Required. The name of the Index this is the deployment of. + /// We may refer to this Index as the DeployedIndex's "original" Index. #[prost(string, tag="2")] pub index: ::prost::alloc::string::String, - /// The display name of the DeployedIndex. If not provided upon creation, - /// the Index's display_name is used. + /// The display name of the DeployedIndex. If not provided upon creation, + /// the Index's display_name is used. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when the DeployedIndex was created. + /// Output only. Timestamp when the DeployedIndex was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Provides paths for users to send requests directly to the deployed index - /// services running on Cloud via private services access. This field is - /// populated if \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] is configured. + /// Output only. Provides paths for users to send requests directly to the deployed index + /// services running on Cloud via private services access. This field is + /// populated if \[network][google.cloud.aiplatform.v1.IndexEndpoint.network\] is configured. #[prost(message, optional, tag="5")] pub private_endpoints: ::core::option::Option, - /// Output only. The DeployedIndex may depend on various data on its original Index. - /// Additionally when certain changes to the original Index are being done - /// (e.g. when what the Index contains is being changed) the DeployedIndex may - /// be asynchronously updated in the background to reflect this changes. - /// If this timestamp's value is at least the \[Index.update_time][google.cloud.aiplatform.v1.Index.update_time\] of the - /// original Index, it means that this DeployedIndex and the original Index are - /// in sync. If this timestamp is older, then to see which updates this - /// DeployedIndex already contains (and which not), one must - /// \[list][Operations.ListOperations\] \[Operations][Operation\] - /// \[working][Operation.name\] on the original Index. Only - /// the successfully completed Operations with - /// \[Operations.metadata.generic_metadata.update_time\] - /// \[google.cloud.aiplatform.v1.GenericOperationMetadata.update_time\] - /// equal or before this sync time are contained in this DeployedIndex. + /// Output only. The DeployedIndex may depend on various data on its original Index. + /// Additionally when certain changes to the original Index are being done + /// (e.g. when what the Index contains is being changed) the DeployedIndex may + /// be asynchronously updated in the background to reflect this changes. + /// If this timestamp's value is at least the \[Index.update_time][google.cloud.aiplatform.v1.Index.update_time\] of the + /// original Index, it means that this DeployedIndex and the original Index are + /// in sync. If this timestamp is older, then to see which updates this + /// DeployedIndex already contains (and which not), one must + /// \[list][Operations.ListOperations\] \[Operations][Operation\] + /// \[working][Operation.name\] on the original Index. Only + /// the successfully completed Operations with + /// \[Operations.metadata.generic_metadata.update_time\] + /// \[google.cloud.aiplatform.v1.GenericOperationMetadata.update_time\] + /// equal or before this sync time are contained in this DeployedIndex. #[prost(message, optional, tag="6")] pub index_sync_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. A description of resources that the DeployedIndex uses, which to large - /// degree are decided by Vertex AI, and optionally allows only a modest - /// additional configuration. - /// If min_replica_count is not set, the default value is 2 (we don't provide - /// SLA when min_replica_count=1). If max_replica_count is not set, the - /// default value is min_replica_count. The max allowed replica count is - /// 1000. + /// Optional. A description of resources that the DeployedIndex uses, which to large + /// degree are decided by Vertex AI, and optionally allows only a modest + /// additional configuration. + /// If min_replica_count is not set, the default value is 2 (we don't provide + /// SLA when min_replica_count=1). If max_replica_count is not set, the + /// default value is min_replica_count. The max allowed replica count is + /// 1000. #[prost(message, optional, tag="7")] pub automatic_resources: ::core::option::Option, - /// Optional. A description of resources that are dedicated to the DeployedIndex, and - /// that need a higher degree of manual configuration. - /// If min_replica_count is not set, the default value is 2 (we don't provide - /// SLA when min_replica_count=1). If max_replica_count is not set, the - /// default value is min_replica_count. The max allowed replica count is - /// 1000. - /// - /// Available machine types: - /// n1-standard-16 - /// n1-standard-32 + /// Optional. A description of resources that are dedicated to the DeployedIndex, and + /// that need a higher degree of manual configuration. + /// If min_replica_count is not set, the default value is 2 (we don't provide + /// SLA when min_replica_count=1). If max_replica_count is not set, the + /// default value is min_replica_count. The max allowed replica count is + /// 1000. + /// + /// Available machine types: + /// n1-standard-16 + /// n1-standard-32 #[prost(message, optional, tag="16")] pub dedicated_resources: ::core::option::Option, - /// Optional. If true, private endpoint's access logs are sent to StackDriver Logging. + /// Optional. If true, private endpoint's access logs are sent to StackDriver Logging. /// - /// These logs are like standard server access logs, containing - /// information like timestamp and latency for each MatchRequest. + /// These logs are like standard server access logs, containing + /// information like timestamp and latency for each MatchRequest. /// - /// Note that Stackdriver logs may incur a cost, especially if the deployed - /// index receives a high queries per second rate (QPS). - /// Estimate your costs before enabling this option. + /// Note that Stackdriver logs may incur a cost, especially if the deployed + /// index receives a high queries per second rate (QPS). + /// Estimate your costs before enabling this option. #[prost(bool, tag="8")] pub enable_access_logging: bool, - /// Optional. If set, the authentication is enabled for the private endpoint. + /// Optional. If set, the authentication is enabled for the private endpoint. #[prost(message, optional, tag="9")] pub deployed_index_auth_config: ::core::option::Option, - /// Optional. A list of reserved ip ranges under the VPC network that can be - /// used for this DeployedIndex. + /// Optional. A list of reserved ip ranges under the VPC network that can be + /// used for this DeployedIndex. /// - /// If set, we will deploy the index within the provided ip ranges. Otherwise, - /// the index might be deployed to any ip ranges under the provided VPC - /// network. + /// If set, we will deploy the index within the provided ip ranges. Otherwise, + /// the index might be deployed to any ip ranges under the provided VPC + /// network. /// - /// The value sohuld be the name of the address - /// () - /// Example: 'vertex-ai-ip-range'. + /// The value sohuld be the name of the address + /// () + /// Example: 'vertex-ai-ip-range'. #[prost(string, repeated, tag="10")] pub reserved_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The deployment group can be no longer than 64 characters (eg: - /// 'test', 'prod'). If not set, we will use the 'default' deployment group. - /// - /// Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - /// practice when the peered network has multiple peering ranges. This creates - /// your deployments from predictable IP spaces for easier traffic - /// administration. Also, one deployment_group (except 'default') can only be - /// used with the same reserved_ip_ranges which means if the deployment_group - /// has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - /// [d, e] is disallowed. - /// - /// Note: we only support up to 5 deployment groups(not including 'default'). + /// Optional. The deployment group can be no longer than 64 characters (eg: + /// 'test', 'prod'). If not set, we will use the 'default' deployment group. + /// + /// Creating `deployment_groups` with `reserved_ip_ranges` is a recommended + /// practice when the peered network has multiple peering ranges. This creates + /// your deployments from predictable IP spaces for easier traffic + /// administration. Also, one deployment_group (except 'default') can only be + /// used with the same reserved_ip_ranges which means if the deployment_group + /// has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or + /// [d, e] is disallowed. + /// + /// Note: we only support up to 5 deployment groups(not including 'default'). #[prost(string, tag="11")] pub deployment_group: ::prost::alloc::string::String, } -/// Used to set up the auth on the DeployedIndex's private endpoint. +/// Used to set up the auth on the DeployedIndex's private endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndexAuthConfig { - /// Defines the authentication provider that the DeployedIndex uses. + /// Defines the authentication provider that the DeployedIndex uses. #[prost(message, optional, tag="1")] pub auth_provider: ::core::option::Option, } /// Nested message and enum types in `DeployedIndexAuthConfig`. pub mod deployed_index_auth_config { - /// Configuration for an authentication provider, including support for - /// [JSON Web Token - /// (JWT)](). + /// Configuration for an authentication provider, including support for + /// [JSON Web Token + /// (JWT)](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthProvider { - /// The list of JWT - /// \[audiences\](). - /// that are allowed to access. A JWT containing any of these audiences will - /// be accepted. + /// The list of JWT + /// \[audiences\](). + /// that are allowed to access. A JWT containing any of these audiences will + /// be accepted. #[prost(string, repeated, tag="1")] pub audiences: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of allowed JWT issuers. Each entry must be a valid Google - /// service account, in the following format: + /// A list of allowed JWT issuers. Each entry must be a valid Google + /// service account, in the following format: /// - /// `service-account-name@project-id.iam.gserviceaccount.com` + /// `service-account-name@project-id.iam.gserviceaccount.com` #[prost(string, repeated, tag="2")] pub allowed_issuers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// IndexPrivateEndpoints proto is used to provide paths for users to send -/// requests via private endpoints (e.g. private service access, private service -/// connect). -/// To send request via private service access, use match_grpc_address. -/// To send request via private service connect, use service_attachment. +/// IndexPrivateEndpoints proto is used to provide paths for users to send +/// requests via private endpoints (e.g. private service access, private service +/// connect). +/// To send request via private service access, use match_grpc_address. +/// To send request via private service connect, use service_attachment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexPrivateEndpoints { - /// Output only. The ip address used to send match gRPC requests. + /// Output only. The ip address used to send match gRPC requests. #[prost(string, tag="1")] pub match_grpc_address: ::prost::alloc::string::String, - /// Output only. The name of the service attachment resource. Populated if private service - /// connect is enabled. + /// Output only. The name of the service attachment resource. Populated if private service + /// connect is enabled. #[prost(string, tag="2")] pub service_attachment: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint\]. +/// Request message for \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexEndpointRequest { - /// Required. The resource name of the Location to create the IndexEndpoint in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the IndexEndpoint in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The IndexEndpoint to create. + /// Required. The IndexEndpoint to create. #[prost(message, optional, tag="2")] pub index_endpoint: ::core::option::Option, } -/// Runtime operation information for -/// \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint\]. +/// Runtime operation information for +/// \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.CreateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexEndpointOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[IndexEndpointService.GetIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.GetIndexEndpoint\] +/// Request message for \[IndexEndpointService.GetIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.GetIndexEndpoint\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIndexEndpointRequest { - /// Required. The name of the IndexEndpoint resource. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\]. +/// Request message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexEndpointsRequest { - /// Required. The resource name of the Location from which to list the IndexEndpoints. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the IndexEndpoints. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// Optional. An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `index_endpoint` supports = and !=. `index_endpoint` represents the /// IndexEndpoint ID, ie. the last segment of the IndexEndpoint's @@ -8023,137 +8023,137 @@ pub struct ListIndexEndpointsRequest { /// `labels.key:* or labels:key - key existence /// A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// * `index_endpoint="1"` /// * `display_name="myDisplayName"` /// * `regex(display_name, "^A") -> The display name starts with an A. /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. The standard list page size. + /// Optional. The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. The standard list page token. - /// Typically obtained via - /// \[ListIndexEndpointsResponse.next_page_token][google.cloud.aiplatform.v1.ListIndexEndpointsResponse.next_page_token\] of the previous - /// \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\] call. + /// Optional. The standard list page token. + /// Typically obtained via + /// \[ListIndexEndpointsResponse.next_page_token][google.cloud.aiplatform.v1.ListIndexEndpointsResponse.next_page_token\] of the previous + /// \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. Mask specifying which fields to read. + /// Optional. Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\]. +/// Response message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1.IndexEndpointService.ListIndexEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexEndpointsResponse { - /// List of IndexEndpoints in the requested page. + /// List of IndexEndpoints in the requested page. #[prost(message, repeated, tag="1")] pub index_endpoints: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListIndexEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListIndexEndpointsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListIndexEndpointsRequest.page_token][google.cloud.aiplatform.v1.ListIndexEndpointsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.UpdateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.UpdateIndexEndpoint\]. +/// Request message for \[IndexEndpointService.UpdateIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.UpdateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexEndpointRequest { - /// Required. The IndexEndpoint which replaces the resource on the server. + /// Required. The IndexEndpoint which replaces the resource on the server. #[prost(message, optional, tag="1")] pub index_endpoint: ::core::option::Option, - /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[IndexEndpointService.DeleteIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.DeleteIndexEndpoint\]. +/// Request message for \[IndexEndpointService.DeleteIndexEndpoint][google.cloud.aiplatform.v1.IndexEndpointService.DeleteIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIndexEndpointRequest { - /// Required. The name of the IndexEndpoint resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. +/// Request message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexRequest { - /// Required. The name of the IndexEndpoint resource into which to deploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource into which to deploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The DeployedIndex to be created within the IndexEndpoint. + /// Required. The DeployedIndex to be created within the IndexEndpoint. #[prost(message, optional, tag="2")] pub deployed_index: ::core::option::Option, } -/// Response message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. +/// Response message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexResponse { - /// The DeployedIndex that had been deployed in the IndexEndpoint. + /// The DeployedIndex that had been deployed in the IndexEndpoint. #[prost(message, optional, tag="1")] pub deployed_index: ::core::option::Option, } -/// Runtime operation information for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. +/// Runtime operation information for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The unique index id specified by user + /// The unique index id specified by user #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. +/// Request message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexRequest { - /// Required. The name of the IndexEndpoint resource from which to undeploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource from which to undeploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The ID of the DeployedIndex to be undeployed from the IndexEndpoint. + /// Required. The ID of the DeployedIndex to be undeployed from the IndexEndpoint. #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// Response message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. +/// Response message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexResponse { } -/// Runtime operation information for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. +/// Runtime operation information for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. +/// Request message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexRequest { - /// Required. The name of the IndexEndpoint resource into which to deploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource into which to deploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The DeployedIndex to be updated within the IndexEndpoint. - /// Currently, the updatable fields are \[DeployedIndex][automatic_resources\] - /// and \[DeployedIndex][dedicated_resources\] + /// Required. The DeployedIndex to be updated within the IndexEndpoint. + /// Currently, the updatable fields are \[DeployedIndex][automatic_resources\] + /// and \[DeployedIndex][dedicated_resources\] #[prost(message, optional, tag="2")] pub deployed_index: ::core::option::Option, } -/// Response message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. +/// Response message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexResponse { - /// The DeployedIndex that had been updated in the IndexEndpoint. + /// The DeployedIndex that had been updated in the IndexEndpoint. #[prost(message, optional, tag="1")] pub deployed_index: ::core::option::Option, } -/// Runtime operation information for -/// \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. +/// Runtime operation information for +/// \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The unique index id specified by user + /// The unique index id specified by user #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } @@ -8407,143 +8407,143 @@ pub mod index_endpoint_service_client { } } } -/// Request message for \[IndexService.CreateIndex][google.cloud.aiplatform.v1.IndexService.CreateIndex\]. +/// Request message for \[IndexService.CreateIndex][google.cloud.aiplatform.v1.IndexService.CreateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexRequest { - /// Required. The resource name of the Location to create the Index in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Index in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Index to create. + /// Required. The Index to create. #[prost(message, optional, tag="2")] pub index: ::core::option::Option, } -/// Runtime operation information for \[IndexService.CreateIndex][google.cloud.aiplatform.v1.IndexService.CreateIndex\]. +/// Runtime operation information for \[IndexService.CreateIndex][google.cloud.aiplatform.v1.IndexService.CreateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The operation metadata with regard to Matching Engine Index operation. + /// The operation metadata with regard to Matching Engine Index operation. #[prost(message, optional, tag="2")] pub nearest_neighbor_search_operation_metadata: ::core::option::Option, } -/// Request message for \[IndexService.GetIndex][google.cloud.aiplatform.v1.IndexService.GetIndex\] +/// Request message for \[IndexService.GetIndex][google.cloud.aiplatform.v1.IndexService.GetIndex\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIndexRequest { - /// Required. The name of the Index resource. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\]. +/// Request message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexesRequest { - /// Required. The resource name of the Location from which to list the Indexes. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the Indexes. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListIndexesResponse.next_page_token][google.cloud.aiplatform.v1.ListIndexesResponse.next_page_token\] of the previous - /// \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListIndexesResponse.next_page_token][google.cloud.aiplatform.v1.ListIndexesResponse.next_page_token\] of the previous + /// \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\]. +/// Response message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1.IndexService.ListIndexes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexesResponse { - /// List of indexes in the requested page. + /// List of indexes in the requested page. #[prost(message, repeated, tag="1")] pub indexes: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListIndexesRequest.page_token][google.cloud.aiplatform.v1.ListIndexesRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListIndexesRequest.page_token][google.cloud.aiplatform.v1.ListIndexesRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1.IndexService.UpdateIndex\]. +/// Request message for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1.IndexService.UpdateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexRequest { - /// Required. The Index which updates the resource on the server. + /// Required. The Index which updates the resource on the server. #[prost(message, optional, tag="1")] pub index: ::core::option::Option, - /// The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Runtime operation information for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1.IndexService.UpdateIndex\]. +/// Runtime operation information for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1.IndexService.UpdateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The operation metadata with regard to Matching Engine Index operation. + /// The operation metadata with regard to Matching Engine Index operation. #[prost(message, optional, tag="2")] pub nearest_neighbor_search_operation_metadata: ::core::option::Option, } -/// Request message for \[IndexService.DeleteIndex][google.cloud.aiplatform.v1.IndexService.DeleteIndex\]. +/// Request message for \[IndexService.DeleteIndex][google.cloud.aiplatform.v1.IndexService.DeleteIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIndexRequest { - /// Required. The name of the Index resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints\] +/// Request message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpsertDatapointsRequest { - /// Required. The name of the Index resource to be updated. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be updated. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub index: ::prost::alloc::string::String, - /// A list of datapoints to be created/updated. + /// A list of datapoints to be created/updated. #[prost(message, repeated, tag="2")] pub datapoints: ::prost::alloc::vec::Vec, } -/// Response message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints\] +/// Response message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1.IndexService.UpsertDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpsertDatapointsResponse { } -/// Request message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints\] +/// Request message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDatapointsRequest { - /// Required. The name of the Index resource to be updated. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be updated. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub index: ::prost::alloc::string::String, - /// A list of datapoint ids to be deleted. + /// A list of datapoint ids to be deleted. #[prost(string, repeated, tag="2")] pub datapoint_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints\] +/// Response message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1.IndexService.RemoveDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDatapointsResponse { } -/// Runtime operation metadata with regard to Matching Engine Index. +/// Runtime operation metadata with regard to Matching Engine Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NearestNeighborSearchOperationMetadata { - /// The validation stats of the content (per file) to be inserted or - /// updated on the Matching Engine Index resource. Populated if - /// contentsDeltaUri is provided as part of \[Index.metadata][google.cloud.aiplatform.v1.Index.metadata\]. Please note - /// that, currently for those files that are broken or has unsupported file - /// format, we will not have the stats for those files. + /// The validation stats of the content (per file) to be inserted or + /// updated on the Matching Engine Index resource. Populated if + /// contentsDeltaUri is provided as part of \[Index.metadata][google.cloud.aiplatform.v1.Index.metadata\]. Please note + /// that, currently for those files that are broken or has unsupported file + /// format, we will not have the stats for those files. #[prost(message, repeated, tag="1")] pub content_validation_stats: ::prost::alloc::vec::Vec, - /// The ingested data size in bytes. + /// The ingested data size in bytes. #[prost(int64, tag="2")] pub data_bytes_count: i64, } @@ -8551,21 +8551,21 @@ pub struct NearestNeighborSearchOperationMetadata { pub mod nearest_neighbor_search_operation_metadata { #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecordError { - /// The error type of this record. + /// The error type of this record. #[prost(enumeration="record_error::RecordErrorType", tag="1")] pub error_type: i32, - /// A human-readable message that is shown to the user to help them fix the - /// error. Note that this message may change from time to time, your code - /// should check against error_type as the source of truth. + /// A human-readable message that is shown to the user to help them fix the + /// error. Note that this message may change from time to time, your code + /// should check against error_type as the source of truth. #[prost(string, tag="2")] pub error_message: ::prost::alloc::string::String, - /// Cloud Storage URI pointing to the original file in user's bucket. + /// Cloud Storage URI pointing to the original file in user's bucket. #[prost(string, tag="3")] pub source_gcs_uri: ::prost::alloc::string::String, - /// Empty if the embedding id is failed to parse. + /// Empty if the embedding id is failed to parse. #[prost(string, tag="4")] pub embedding_id: ::prost::alloc::string::String, - /// The original content of this record. + /// The original content of this record. #[prost(string, tag="5")] pub raw_record: ::prost::alloc::string::String, } @@ -8574,22 +8574,22 @@ pub mod nearest_neighbor_search_operation_metadata { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecordErrorType { - /// Default, shall not be used. + /// Default, shall not be used. ErrorTypeUnspecified = 0, - /// The record is empty. + /// The record is empty. EmptyLine = 1, - /// Invalid json format. + /// Invalid json format. InvalidJsonSyntax = 2, - /// Invalid csv format. + /// Invalid csv format. InvalidCsvSyntax = 3, - /// Invalid avro format. + /// Invalid avro format. InvalidAvroSyntax = 4, - /// The embedding id is not valid. + /// The embedding id is not valid. InvalidEmbeddingId = 5, - /// The size of the embedding vectors does not match with the specified - /// dimension. + /// The size of the embedding vectors does not match with the specified + /// dimension. EmbeddingSizeMismatch = 6, - /// The `namespace` field is missing. + /// The `namespace` field is missing. NamespaceMissing = 7, } impl RecordErrorType { @@ -8613,18 +8613,18 @@ pub mod nearest_neighbor_search_operation_metadata { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentValidationStats { - /// Cloud Storage URI pointing to the original file in user's bucket. + /// Cloud Storage URI pointing to the original file in user's bucket. #[prost(string, tag="1")] pub source_gcs_uri: ::prost::alloc::string::String, - /// Number of records in this file that were successfully processed. + /// Number of records in this file that were successfully processed. #[prost(int64, tag="2")] pub valid_record_count: i64, - /// Number of records in this file we skipped due to validate errors. + /// Number of records in this file we skipped due to validate errors. #[prost(int64, tag="3")] pub invalid_record_count: i64, - /// The detail information of the partial failures encountered for those - /// invalid records that couldn't be parsed. - /// Up to 50 partial errors will be reported. + /// The detail information of the partial failures encountered for those + /// invalid records that couldn't be parsed. + /// Up to 50 partial errors will be reported. #[prost(message, repeated, tag="4")] pub partial_errors: ::prost::alloc::vec::Vec, } @@ -8852,49 +8852,49 @@ pub mod index_service_client { } } } -/// The objective configuration for model monitoring, including the information -/// needed to detect anomalies for one particular model. +/// The objective configuration for model monitoring, including the information +/// needed to detect anomalies for one particular model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringObjectiveConfig { - /// Training dataset for models. This field has to be set only if - /// TrainingPredictionSkewDetectionConfig is specified. + /// Training dataset for models. This field has to be set only if + /// TrainingPredictionSkewDetectionConfig is specified. #[prost(message, optional, tag="1")] pub training_dataset: ::core::option::Option, - /// The config for skew between training data and prediction data. + /// The config for skew between training data and prediction data. #[prost(message, optional, tag="2")] pub training_prediction_skew_detection_config: ::core::option::Option, - /// The config for drift of prediction data. + /// The config for drift of prediction data. #[prost(message, optional, tag="3")] pub prediction_drift_detection_config: ::core::option::Option, - /// The config for integrating with Vertex Explainable AI. + /// The config for integrating with Vertex Explainable AI. #[prost(message, optional, tag="5")] pub explanation_config: ::core::option::Option, } /// Nested message and enum types in `ModelMonitoringObjectiveConfig`. pub mod model_monitoring_objective_config { - /// Training Dataset information. + /// Training Dataset information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingDataset { - /// Data format of the dataset, only applicable if the input is from - /// Google Cloud Storage. - /// The possible formats are: + /// Data format of the dataset, only applicable if the input is from + /// Google Cloud Storage. + /// The possible formats are: /// - /// "tf-record" - /// The source file is a TFRecord file. + /// "tf-record" + /// The source file is a TFRecord file. /// - /// "csv" - /// The source file is a CSV file. - /// "jsonl" - /// The source file is a JSONL file. + /// "csv" + /// The source file is a CSV file. + /// "jsonl" + /// The source file is a JSONL file. #[prost(string, tag="2")] pub data_format: ::prost::alloc::string::String, - /// The target field name the model is to predict. - /// This field will be excluded when doing Predict and (or) Explain for the - /// training data. + /// The target field name the model is to predict. + /// This field will be excluded when doing Predict and (or) Explain for the + /// training data. #[prost(string, tag="6")] pub target_field: ::prost::alloc::string::String, - /// Strategy to sample data from Training Dataset. - /// If not set, we process the whole dataset. + /// Strategy to sample data from Training Dataset. + /// If not set, we process the whole dataset. #[prost(message, optional, tag="7")] pub logging_sampling_strategy: ::core::option::Option, #[prost(oneof="training_dataset::DataSource", tags="3, 4, 5")] @@ -8904,97 +8904,97 @@ pub mod model_monitoring_objective_config { pub mod training_dataset { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataSource { - /// The resource name of the Dataset used to train this Model. + /// The resource name of the Dataset used to train this Model. #[prost(string, tag="3")] Dataset(::prost::alloc::string::String), - /// The Google Cloud Storage uri of the unmanaged Dataset used to train - /// this Model. + /// The Google Cloud Storage uri of the unmanaged Dataset used to train + /// this Model. #[prost(message, tag="4")] GcsSource(super::super::GcsSource), - /// The BigQuery table of the unmanaged Dataset used to train this - /// Model. + /// The BigQuery table of the unmanaged Dataset used to train this + /// Model. #[prost(message, tag="5")] BigquerySource(super::super::BigQuerySource), } } - /// The config for Training & Prediction data skew detection. It specifies the - /// training dataset sources and the skew detection parameters. + /// The config for Training & Prediction data skew detection. It specifies the + /// training dataset sources and the skew detection parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingPredictionSkewDetectionConfig { - /// Key is the feature name and value is the threshold. If a feature needs to - /// be monitored for skew, a value threshold must be configured for that - /// feature. The threshold here is against feature distribution distance - /// between the training and prediction feature. + /// Key is the feature name and value is the threshold. If a feature needs to + /// be monitored for skew, a value threshold must be configured for that + /// feature. The threshold here is against feature distribution distance + /// between the training and prediction feature. #[prost(map="string, message", tag="1")] pub skew_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Key is the feature name and value is the threshold. The threshold here is - /// against attribution score distance between the training and prediction - /// feature. + /// Key is the feature name and value is the threshold. The threshold here is + /// against attribution score distance between the training and prediction + /// feature. #[prost(map="string, message", tag="2")] pub attribution_score_skew_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Skew anomaly detection threshold used by all features. - /// When the per-feature thresholds are not set, this field can be used to - /// specify a threshold for all features. + /// Skew anomaly detection threshold used by all features. + /// When the per-feature thresholds are not set, this field can be used to + /// specify a threshold for all features. #[prost(message, optional, tag="6")] pub default_skew_threshold: ::core::option::Option, } - /// The config for Prediction data drift detection. + /// The config for Prediction data drift detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictionDriftDetectionConfig { - /// Key is the feature name and value is the threshold. If a feature needs to - /// be monitored for drift, a value threshold must be configured for that - /// feature. The threshold here is against feature distribution distance - /// between different time windws. + /// Key is the feature name and value is the threshold. If a feature needs to + /// be monitored for drift, a value threshold must be configured for that + /// feature. The threshold here is against feature distribution distance + /// between different time windws. #[prost(map="string, message", tag="1")] pub drift_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Key is the feature name and value is the threshold. The threshold here is - /// against attribution score distance between different time windows. + /// Key is the feature name and value is the threshold. The threshold here is + /// against attribution score distance between different time windows. #[prost(map="string, message", tag="2")] pub attribution_score_drift_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Drift anomaly detection threshold used by all features. - /// When the per-feature thresholds are not set, this field can be used to - /// specify a threshold for all features. + /// Drift anomaly detection threshold used by all features. + /// When the per-feature thresholds are not set, this field can be used to + /// specify a threshold for all features. #[prost(message, optional, tag="5")] pub default_drift_threshold: ::core::option::Option, } - /// The config for integrating with Vertex Explainable AI. Only applicable if - /// the Model has explanation_spec populated. + /// The config for integrating with Vertex Explainable AI. Only applicable if + /// the Model has explanation_spec populated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationConfig { - /// If want to analyze the Vertex Explainable AI feature attribute scores or - /// not. If set to true, Vertex AI will log the feature attributions from - /// explain response and do the skew/drift detection for them. + /// If want to analyze the Vertex Explainable AI feature attribute scores or + /// not. If set to true, Vertex AI will log the feature attributions from + /// explain response and do the skew/drift detection for them. #[prost(bool, tag="1")] pub enable_feature_attributes: bool, - /// Predictions generated by the BatchPredictionJob using baseline dataset. + /// Predictions generated by the BatchPredictionJob using baseline dataset. #[prost(message, optional, tag="2")] pub explanation_baseline: ::core::option::Option, } /// Nested message and enum types in `ExplanationConfig`. pub mod explanation_config { - /// Output from \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\] for Model Monitoring baseline dataset, - /// which can be used to generate baseline attribution scores. + /// Output from \[BatchPredictionJob][google.cloud.aiplatform.v1.BatchPredictionJob\] for Model Monitoring baseline dataset, + /// which can be used to generate baseline attribution scores. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationBaseline { - /// The storage format of the predictions generated BatchPrediction job. + /// The storage format of the predictions generated BatchPrediction job. #[prost(enumeration="explanation_baseline::PredictionFormat", tag="1")] pub prediction_format: i32, - /// The configuration specifying of BatchExplain job output. This can be - /// used to generate the baseline of feature attribution scores. + /// The configuration specifying of BatchExplain job output. This can be + /// used to generate the baseline of feature attribution scores. #[prost(oneof="explanation_baseline::Destination", tags="2, 3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExplanationBaseline`. pub mod explanation_baseline { - /// The storage format of the predictions generated BatchPrediction job. + /// The storage format of the predictions generated BatchPrediction job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PredictionFormat { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// Predictions are in JSONL files. + /// Predictions are in JSONL files. Jsonl = 2, - /// Predictions are in BigQuery. + /// Predictions are in BigQuery. Bigquery = 3, } impl PredictionFormat { @@ -9010,14 +9010,14 @@ pub mod model_monitoring_objective_config { } } } - /// The configuration specifying of BatchExplain job output. This can be - /// used to generate the baseline of feature attribution scores. + /// The configuration specifying of BatchExplain job output. This can be + /// used to generate the baseline of feature attribution scores. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Cloud Storage location for BatchExplain output. + /// Cloud Storage location for BatchExplain output. #[prost(message, tag="2")] Gcs(super::super::super::GcsDestination), - /// BigQuery location for BatchExplain output. + /// BigQuery location for BatchExplain output. #[prost(message, tag="3")] Bigquery(super::super::super::BigQueryDestination), } @@ -9026,11 +9026,11 @@ pub mod model_monitoring_objective_config { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringAlertConfig { - /// Dump the anomalies to Cloud Logging. The anomalies will be put to json - /// payload encoded from proto - /// \[google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][\]. - /// This can be further sinked to Pub/Sub or any other services supported - /// by Cloud Logging. + /// Dump the anomalies to Cloud Logging. The anomalies will be put to json + /// payload encoded from proto + /// \[google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][\]. + /// This can be further sinked to Pub/Sub or any other services supported + /// by Cloud Logging. #[prost(bool, tag="2")] pub enable_logging: bool, #[prost(oneof="model_monitoring_alert_config::Alert", tags="1")] @@ -9038,21 +9038,21 @@ pub struct ModelMonitoringAlertConfig { } /// Nested message and enum types in `ModelMonitoringAlertConfig`. pub mod model_monitoring_alert_config { - /// The config for email alert. + /// The config for email alert. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EmailAlertConfig { - /// The email addresses to send the alert. + /// The email addresses to send the alert. #[prost(string, repeated, tag="1")] pub user_emails: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Alert { - /// Email alert config. + /// Email alert config. #[prost(message, tag="1")] EmailAlertConfig(EmailAlertConfig), } } -/// The config for feature monitoring threshold. +/// The config for feature monitoring threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdConfig { #[prost(oneof="threshold_config::Threshold", tags="1")] @@ -9062,180 +9062,180 @@ pub struct ThresholdConfig { pub mod threshold_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Threshold { - /// Specify a threshold value that can trigger the alert. - /// If this threshold config is for feature distribution distance: + /// Specify a threshold value that can trigger the alert. + /// If this threshold config is for feature distribution distance: /// 1. For categorical feature, the distribution distance is calculated by /// L-inifinity norm. /// 2. For numerical feature, the distribution distance is calculated by /// Jensen–Shannon divergence. - /// Each feature must have a non-zero threshold if they need to be monitored. - /// Otherwise no alert will be triggered for that feature. + /// Each feature must have a non-zero threshold if they need to be monitored. + /// Otherwise no alert will be triggered for that feature. #[prost(double, tag="1")] Value(f64), } } -/// Sampling Strategy for logging, can be for both training and prediction -/// dataset. +/// Sampling Strategy for logging, can be for both training and prediction +/// dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SamplingStrategy { - /// Random sample config. Will support more sampling strategies later. + /// Random sample config. Will support more sampling strategies later. #[prost(message, optional, tag="1")] pub random_sample_config: ::core::option::Option, } /// Nested message and enum types in `SamplingStrategy`. pub mod sampling_strategy { - /// Requests are randomly selected. + /// Requests are randomly selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RandomSampleConfig { - /// Sample rate (0, 1] + /// Sample rate (0, 1] #[prost(double, tag="1")] pub sample_rate: f64, } } -/// Represents a job that runs periodically to monitor the deployed models in an -/// endpoint. It will analyze the logged training & prediction data to detect any -/// abnormal behaviors. +/// Represents a job that runs periodically to monitor the deployed models in an +/// endpoint. It will analyze the logged training & prediction data to detect any +/// abnormal behaviors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringJob { - /// Output only. Resource name of a ModelDeploymentMonitoringJob. + /// Output only. Resource name of a ModelDeploymentMonitoringJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the ModelDeploymentMonitoringJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. - /// Display name of a ModelDeploymentMonitoringJob. + /// Required. The user-defined name of the ModelDeploymentMonitoringJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. + /// Display name of a ModelDeploymentMonitoringJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Endpoint resource name. - /// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. Endpoint resource name. + /// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="3")] pub endpoint: ::prost::alloc::string::String, - /// Output only. The detailed state of the monitoring job. - /// When the job is still creating, the state will be 'PENDING'. - /// Once the job is successfully created, the state will be 'RUNNING'. - /// Pause the job, the state will be 'PAUSED'. - /// Resume the job, the state will return to 'RUNNING'. + /// Output only. The detailed state of the monitoring job. + /// When the job is still creating, the state will be 'PENDING'. + /// Once the job is successfully created, the state will be 'RUNNING'. + /// Pause the job, the state will be 'PAUSED'. + /// Resume the job, the state will return to 'RUNNING'. #[prost(enumeration="JobState", tag="4")] pub state: i32, - /// Output only. Schedule state when the monitoring job is in Running state. + /// Output only. Schedule state when the monitoring job is in Running state. #[prost(enumeration="model_deployment_monitoring_job::MonitoringScheduleState", tag="5")] pub schedule_state: i32, - /// Output only. Latest triggered monitoring pipeline metadata. + /// Output only. Latest triggered monitoring pipeline metadata. #[prost(message, optional, tag="25")] pub latest_monitoring_pipeline_metadata: ::core::option::Option, - /// Required. The config for monitoring objectives. This is a per DeployedModel config. - /// Each DeployedModel needs to be configured separately. + /// Required. The config for monitoring objectives. This is a per DeployedModel config. + /// Each DeployedModel needs to be configured separately. #[prost(message, repeated, tag="6")] pub model_deployment_monitoring_objective_configs: ::prost::alloc::vec::Vec, - /// Required. Schedule config for running the monitoring job. + /// Required. Schedule config for running the monitoring job. #[prost(message, optional, tag="7")] pub model_deployment_monitoring_schedule_config: ::core::option::Option, - /// Required. Sample Strategy for logging. + /// Required. Sample Strategy for logging. #[prost(message, optional, tag="8")] pub logging_sampling_strategy: ::core::option::Option, - /// Alert config for model monitoring. + /// Alert config for model monitoring. #[prost(message, optional, tag="15")] pub model_monitoring_alert_config: ::core::option::Option, - /// YAML schema file uri describing the format of a single instance, - /// which are given to format this Endpoint's prediction (and explanation). - /// If not set, we will generate predict schema from collected predict - /// requests. + /// YAML schema file uri describing the format of a single instance, + /// which are given to format this Endpoint's prediction (and explanation). + /// If not set, we will generate predict schema from collected predict + /// requests. #[prost(string, tag="9")] pub predict_instance_schema_uri: ::prost::alloc::string::String, - /// Sample Predict instance, same format as \[PredictRequest.instances][google.cloud.aiplatform.v1.PredictRequest.instances\], - /// this can be set as a replacement of - /// \[ModelDeploymentMonitoringJob.predict_instance_schema_uri][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\]. If not set, - /// we will generate predict schema from collected predict requests. + /// Sample Predict instance, same format as \[PredictRequest.instances][google.cloud.aiplatform.v1.PredictRequest.instances\], + /// this can be set as a replacement of + /// \[ModelDeploymentMonitoringJob.predict_instance_schema_uri][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\]. If not set, + /// we will generate predict schema from collected predict requests. #[prost(message, optional, tag="19")] pub sample_predict_instance: ::core::option::Option<::prost_types::Value>, - /// YAML schema file uri describing the format of a single instance that you - /// want Tensorflow Data Validation (TFDV) to analyze. - /// - /// If this field is empty, all the feature data types are inferred from - /// \[predict_instance_schema_uri][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\], - /// meaning that TFDV will use the data in the exact format(data type) as - /// prediction request/response. - /// If there are any data type differences between predict instance and TFDV - /// instance, this field can be used to override the schema. - /// For models trained with Vertex AI, this field must be set as all the - /// fields in predict instance formatted as string. + /// YAML schema file uri describing the format of a single instance that you + /// want Tensorflow Data Validation (TFDV) to analyze. + /// + /// If this field is empty, all the feature data types are inferred from + /// \[predict_instance_schema_uri][google.cloud.aiplatform.v1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\], + /// meaning that TFDV will use the data in the exact format(data type) as + /// prediction request/response. + /// If there are any data type differences between predict instance and TFDV + /// instance, this field can be used to override the schema. + /// For models trained with Vertex AI, this field must be set as all the + /// fields in predict instance formatted as string. #[prost(string, tag="16")] pub analysis_instance_schema_uri: ::prost::alloc::string::String, - /// Output only. The created bigquery tables for the job under customer project. Customer - /// could do their own query & analysis. There could be 4 log tables in - /// maximum: - /// 1. Training data logging predict request/response - /// 2. Serving data logging predict request/response + /// Output only. The created bigquery tables for the job under customer project. Customer + /// could do their own query & analysis. There could be 4 log tables in + /// maximum: + /// 1. Training data logging predict request/response + /// 2. Serving data logging predict request/response #[prost(message, repeated, tag="10")] pub bigquery_tables: ::prost::alloc::vec::Vec, - /// The TTL of BigQuery tables in user projects which stores logs. - /// A day is the basic unit of the TTL and we take the ceil of TTL/86400(a - /// day). e.g. { second: 3600} indicates ttl = 1 day. + /// The TTL of BigQuery tables in user projects which stores logs. + /// A day is the basic unit of the TTL and we take the ceil of TTL/86400(a + /// day). e.g. { second: 3600} indicates ttl = 1 day. #[prost(message, optional, tag="17")] pub log_ttl: ::core::option::Option<::prost_types::Duration>, - /// The labels with user-defined metadata to organize your - /// ModelDeploymentMonitoringJob. + /// The labels with user-defined metadata to organize your + /// ModelDeploymentMonitoringJob. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this ModelDeploymentMonitoringJob was created. + /// Output only. Timestamp when this ModelDeploymentMonitoringJob was created. #[prost(message, optional, tag="12")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently. + /// Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently. #[prost(message, optional, tag="13")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this monitoring pipeline will be scheduled to run for the - /// next round. + /// Output only. Timestamp when this monitoring pipeline will be scheduled to run for the + /// next round. #[prost(message, optional, tag="14")] pub next_schedule_time: ::core::option::Option<::prost_types::Timestamp>, - /// Stats anomalies base folder path. + /// Stats anomalies base folder path. #[prost(message, optional, tag="20")] pub stats_anomalies_base_directory: ::core::option::Option, - /// Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If - /// set, this ModelDeploymentMonitoringJob and all sub-resources of this - /// ModelDeploymentMonitoringJob will be secured by this key. + /// Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If + /// set, this ModelDeploymentMonitoringJob and all sub-resources of this + /// ModelDeploymentMonitoringJob will be secured by this key. #[prost(message, optional, tag="21")] pub encryption_spec: ::core::option::Option, - /// If true, the scheduled monitoring pipeline logs are sent to - /// Google Cloud Logging, including pipeline status and anomalies detected. - /// Please note the logs incur cost, which are subject to [Cloud Logging - /// pricing](). + /// If true, the scheduled monitoring pipeline logs are sent to + /// Google Cloud Logging, including pipeline status and anomalies detected. + /// Please note the logs incur cost, which are subject to [Cloud Logging + /// pricing](). #[prost(bool, tag="22")] pub enable_monitoring_pipeline_logs: bool, - /// Output only. Only populated when the job's state is `JOB_STATE_FAILED` or - /// `JOB_STATE_CANCELLED`. + /// Output only. Only populated when the job's state is `JOB_STATE_FAILED` or + /// `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="23")] pub error: ::core::option::Option, } /// Nested message and enum types in `ModelDeploymentMonitoringJob`. pub mod model_deployment_monitoring_job { - /// All metadata of most recent monitoring pipelines. + /// All metadata of most recent monitoring pipelines. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LatestMonitoringPipelineMetadata { - /// The time that most recent monitoring pipelines that is related to this - /// run. + /// The time that most recent monitoring pipelines that is related to this + /// run. #[prost(message, optional, tag="1")] pub run_time: ::core::option::Option<::prost_types::Timestamp>, - /// The status of the most recent monitoring pipeline. + /// The status of the most recent monitoring pipeline. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } - /// The state to Specify the monitoring pipeline. + /// The state to Specify the monitoring pipeline. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MonitoringScheduleState { - /// Unspecified state. + /// Unspecified state. Unspecified = 0, - /// The pipeline is picked up and wait to run. + /// The pipeline is picked up and wait to run. Pending = 1, - /// The pipeline is offline and will be scheduled for next run. + /// The pipeline is offline and will be scheduled for next run. Offline = 2, - /// The pipeline is running. + /// The pipeline is running. Running = 3, } impl MonitoringScheduleState { @@ -9253,33 +9253,33 @@ pub mod model_deployment_monitoring_job { } } } -/// ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name -/// as well as some information of the logs stored in this table. +/// ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name +/// as well as some information of the logs stored in this table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringBigQueryTable { - /// The source of log. + /// The source of log. #[prost(enumeration="model_deployment_monitoring_big_query_table::LogSource", tag="1")] pub log_source: i32, - /// The type of log. + /// The type of log. #[prost(enumeration="model_deployment_monitoring_big_query_table::LogType", tag="2")] pub log_type: i32, - /// The created BigQuery table to store logs. Customer could do their own query - /// & analysis. Format: - /// `bq://.model_deployment_monitoring_._` + /// The created BigQuery table to store logs. Customer could do their own query + /// & analysis. Format: + /// `bq://.model_deployment_monitoring_._` #[prost(string, tag="3")] pub bigquery_table_path: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelDeploymentMonitoringBigQueryTable`. pub mod model_deployment_monitoring_big_query_table { - /// Indicates where does the log come from. + /// Indicates where does the log come from. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogSource { - /// Unspecified source. + /// Unspecified source. Unspecified = 0, - /// Logs coming from Training dataset. + /// Logs coming from Training dataset. Training = 1, - /// Logs coming from Serving traffic. + /// Logs coming from Serving traffic. Serving = 2, } impl LogSource { @@ -9295,15 +9295,15 @@ pub mod model_deployment_monitoring_big_query_table { } } } - /// Indicates what type of traffic does the log belong to. + /// Indicates what type of traffic does the log belong to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Predict logs. + /// Predict logs. Predict = 1, - /// Explain logs. + /// Explain logs. Explain = 2, } impl LogType { @@ -9320,88 +9320,88 @@ pub mod model_deployment_monitoring_big_query_table { } } } -/// ModelDeploymentMonitoringObjectiveConfig contains the pair of -/// deployed_model_id to ModelMonitoringObjectiveConfig. +/// ModelDeploymentMonitoringObjectiveConfig contains the pair of +/// deployed_model_id to ModelMonitoringObjectiveConfig. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringObjectiveConfig { - /// The DeployedModel ID of the objective config. + /// The DeployedModel ID of the objective config. #[prost(string, tag="1")] pub deployed_model_id: ::prost::alloc::string::String, - /// The objective config of for the modelmonitoring job of this deployed model. + /// The objective config of for the modelmonitoring job of this deployed model. #[prost(message, optional, tag="2")] pub objective_config: ::core::option::Option, } -/// The config for scheduling monitoring job. +/// The config for scheduling monitoring job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringScheduleConfig { - /// Required. The model monitoring job scheduling interval. It will be rounded up to next - /// full hour. This defines how often the monitoring jobs are triggered. + /// Required. The model monitoring job scheduling interval. It will be rounded up to next + /// full hour. This defines how often the monitoring jobs are triggered. #[prost(message, optional, tag="1")] pub monitor_interval: ::core::option::Option<::prost_types::Duration>, - /// The time window of the prediction data being included in each prediction - /// dataset. This window specifies how long the data should be collected from - /// historical model results for each run. If not set, - /// \[ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval\] will be used. - /// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the - /// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 - /// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the - /// monitoring statistics. + /// The time window of the prediction data being included in each prediction + /// dataset. This window specifies how long the data should be collected from + /// historical model results for each run. If not set, + /// \[ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig.monitor_interval\] will be used. + /// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the + /// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 + /// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the + /// monitoring statistics. #[prost(message, optional, tag="2")] pub monitor_window: ::core::option::Option<::prost_types::Duration>, } -/// Statistics and anomalies generated by Model Monitoring. +/// Statistics and anomalies generated by Model Monitoring. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringStatsAnomalies { - /// Model Monitoring Objective those stats and anomalies belonging to. + /// Model Monitoring Objective those stats and anomalies belonging to. #[prost(enumeration="ModelDeploymentMonitoringObjectiveType", tag="1")] pub objective: i32, - /// Deployed Model ID. + /// Deployed Model ID. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// Number of anomalies within all stats. + /// Number of anomalies within all stats. #[prost(int32, tag="3")] pub anomaly_count: i32, - /// A list of historical Stats and Anomalies generated for all Features. + /// A list of historical Stats and Anomalies generated for all Features. #[prost(message, repeated, tag="4")] pub feature_stats: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ModelMonitoringStatsAnomalies`. pub mod model_monitoring_stats_anomalies { - /// Historical Stats (and Anomalies) for a specific Feature. + /// Historical Stats (and Anomalies) for a specific Feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureHistoricStatsAnomalies { - /// Display Name of the Feature. + /// Display Name of the Feature. #[prost(string, tag="1")] pub feature_display_name: ::prost::alloc::string::String, - /// Threshold for anomaly detection. + /// Threshold for anomaly detection. #[prost(message, optional, tag="3")] pub threshold: ::core::option::Option, - /// Stats calculated for the Training Dataset. + /// Stats calculated for the Training Dataset. #[prost(message, optional, tag="4")] pub training_stats: ::core::option::Option, - /// A list of historical stats generated by different time window's - /// Prediction Dataset. + /// A list of historical stats generated by different time window's + /// Prediction Dataset. #[prost(message, repeated, tag="5")] pub prediction_stats: ::prost::alloc::vec::Vec, } } -/// The Model Monitoring Objective types. +/// The Model Monitoring Objective types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelDeploymentMonitoringObjectiveType { - /// Default value, should not be set. + /// Default value, should not be set. Unspecified = 0, - /// Raw feature values' stats to detect skew between Training-Prediction - /// datasets. + /// Raw feature values' stats to detect skew between Training-Prediction + /// datasets. RawFeatureSkew = 1, - /// Raw feature values' stats to detect drift between Serving-Prediction - /// datasets. + /// Raw feature values' stats to detect drift between Serving-Prediction + /// datasets. RawFeatureDrift = 2, - /// Feature attribution scores to detect skew between Training-Prediction - /// datasets. + /// Feature attribution scores to detect skew between Training-Prediction + /// datasets. FeatureAttributionSkew = 3, - /// Feature attribution scores to detect skew between Prediction datasets - /// collected within different time windows. + /// Feature attribution scores to detect skew between Prediction datasets + /// collected within different time windows. FeatureAttributionDrift = 4, } impl ModelDeploymentMonitoringObjectiveType { @@ -9419,43 +9419,43 @@ impl ModelDeploymentMonitoringObjectiveType { } } } -/// Request message for \[JobService.CreateCustomJob][google.cloud.aiplatform.v1.JobService.CreateCustomJob\]. +/// Request message for \[JobService.CreateCustomJob][google.cloud.aiplatform.v1.JobService.CreateCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomJobRequest { - /// Required. The resource name of the Location to create the CustomJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the CustomJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomJob to create. + /// Required. The CustomJob to create. #[prost(message, optional, tag="2")] pub custom_job: ::core::option::Option, } -/// Request message for \[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob\]. +/// Request message for \[JobService.GetCustomJob][google.cloud.aiplatform.v1.JobService.GetCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomJobRequest { - /// Required. The name of the CustomJob resource. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob resource. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\]. +/// Request message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomJobsRequest { - /// Required. The resource name of the Location to list the CustomJobs from. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the CustomJobs from. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -9463,85 +9463,85 @@ pub struct ListCustomJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListCustomJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListCustomJobsResponse.next_page_token\] of the previous - /// \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListCustomJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListCustomJobsResponse.next_page_token\] of the previous + /// \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\] +/// Response message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1.JobService.ListCustomJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomJobsResponse { - /// List of CustomJobs in the requested page. + /// List of CustomJobs in the requested page. #[prost(message, repeated, tag="1")] pub custom_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListCustomJobsRequest.page_token][google.cloud.aiplatform.v1.ListCustomJobsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListCustomJobsRequest.page_token][google.cloud.aiplatform.v1.ListCustomJobsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteCustomJob][google.cloud.aiplatform.v1.JobService.DeleteCustomJob\]. +/// Request message for \[JobService.DeleteCustomJob][google.cloud.aiplatform.v1.JobService.DeleteCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCustomJobRequest { - /// Required. The name of the CustomJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelCustomJob][google.cloud.aiplatform.v1.JobService.CancelCustomJob\]. +/// Request message for \[JobService.CancelCustomJob][google.cloud.aiplatform.v1.JobService.CancelCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelCustomJobRequest { - /// Required. The name of the CustomJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob\]. +/// Request message for \[JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1.JobService.CreateDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataLabelingJobRequest { - /// Required. The parent of the DataLabelingJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the DataLabelingJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DataLabelingJob to create. + /// Required. The DataLabelingJob to create. #[prost(message, optional, tag="2")] pub data_labeling_job: ::core::option::Option, } -/// Request message for \[JobService.GetDataLabelingJob][google.cloud.aiplatform.v1.JobService.GetDataLabelingJob\]. +/// Request message for \[JobService.GetDataLabelingJob][google.cloud.aiplatform.v1.JobService.GetDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs\]. +/// Request message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataLabelingJobsRequest { - /// Required. The parent of the DataLabelingJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the DataLabelingJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -9549,90 +9549,90 @@ pub struct ListDataLabelingJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. FieldMask represents a set of - /// symbolic field paths. For example, the mask can be `paths: "name"`. The - /// "name" here is a field in DataLabelingJob. - /// If this field is not set, all fields of the DataLabelingJob are returned. + /// Mask specifying which fields to read. FieldMask represents a set of + /// symbolic field paths. For example, the mask can be `paths: "name"`. The + /// "name" here is a field in DataLabelingJob. + /// If this field is not set, all fields of the DataLabelingJob are returned. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order by - /// default. - /// Use `desc` after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order by + /// default. + /// Use `desc` after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs\]. +/// Response message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1.JobService.ListDataLabelingJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataLabelingJobsResponse { - /// A list of DataLabelingJobs that matches the specified filter in the - /// request. + /// A list of DataLabelingJobs that matches the specified filter in the + /// request. #[prost(message, repeated, tag="1")] pub data_labeling_jobs: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteDataLabelingJob][google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob\]. +/// Request message for \[JobService.DeleteDataLabelingJob][google.cloud.aiplatform.v1.JobService.DeleteDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob\]. +/// Request message for \[JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1.JobService.CancelDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob\]. +/// Request message for \[JobService.CreateHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.CreateHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateHyperparameterTuningJobRequest { - /// Required. The resource name of the Location to create the HyperparameterTuningJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the HyperparameterTuningJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The HyperparameterTuningJob to create. + /// Required. The HyperparameterTuningJob to create. #[prost(message, optional, tag="2")] pub hyperparameter_tuning_job: ::core::option::Option, } -/// Request message for \[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob\]. +/// Request message for \[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.GetHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob resource. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob resource. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\]. +/// Request message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHyperparameterTuningJobsRequest { - /// Required. The resource name of the Location to list the HyperparameterTuningJobs - /// from. Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the HyperparameterTuningJobs + /// from. Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -9640,80 +9640,80 @@ pub struct ListHyperparameterTuningJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse.next_page_token\] of the previous - /// \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsResponse.next_page_token\] of the previous + /// \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\] +/// Response message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1.JobService.ListHyperparameterTuningJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHyperparameterTuningJobsResponse { - /// List of HyperparameterTuningJobs in the requested page. - /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials\] of the jobs will be not be returned. + /// List of HyperparameterTuningJobs in the requested page. + /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1.HyperparameterTuningJob.trials\] of the jobs will be not be returned. #[prost(message, repeated, tag="1")] pub hyperparameter_tuning_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListHyperparameterTuningJobsRequest.page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsRequest.page_token\] to obtain that - /// page. + /// A token to retrieve the next page of results. + /// Pass to \[ListHyperparameterTuningJobsRequest.page_token][google.cloud.aiplatform.v1.ListHyperparameterTuningJobsRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob\]. +/// Request message for \[JobService.DeleteHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.DeleteHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob\]. +/// Request message for \[JobService.CancelHyperparameterTuningJob][google.cloud.aiplatform.v1.JobService.CancelHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob\]. +/// Request message for \[JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CreateBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBatchPredictionJobRequest { - /// Required. The resource name of the Location to create the BatchPredictionJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the BatchPredictionJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The BatchPredictionJob to create. + /// Required. The BatchPredictionJob to create. #[prost(message, optional, tag="2")] pub batch_prediction_job: ::core::option::Option, } -/// Request message for \[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob\]. +/// Request message for \[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1.JobService.GetBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob resource. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob resource. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\]. +/// Request message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchPredictionJobsRequest { - /// Required. The resource name of the Location to list the BatchPredictionJobs - /// from. Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the BatchPredictionJobs + /// from. Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `model_display_name` supports `=`, `!=` comparisons. @@ -9721,7 +9721,7 @@ pub struct ListBatchPredictionJobsRequest { /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -9729,161 +9729,161 @@ pub struct ListBatchPredictionJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListBatchPredictionJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse.next_page_token\] of the previous - /// \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListBatchPredictionJobsResponse.next_page_token][google.cloud.aiplatform.v1.ListBatchPredictionJobsResponse.next_page_token\] of the previous + /// \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\] +/// Response message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1.JobService.ListBatchPredictionJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchPredictionJobsResponse { - /// List of BatchPredictionJobs in the requested page. + /// List of BatchPredictionJobs in the requested page. #[prost(message, repeated, tag="1")] pub batch_prediction_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListBatchPredictionJobsRequest.page_token][google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest.page_token\] to obtain that - /// page. + /// A token to retrieve the next page of results. + /// Pass to \[ListBatchPredictionJobsRequest.page_token][google.cloud.aiplatform.v1.ListBatchPredictionJobsRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteBatchPredictionJob][google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob\]. +/// Request message for \[JobService.DeleteBatchPredictionJob][google.cloud.aiplatform.v1.JobService.DeleteBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob\]. +/// Request message for \[JobService.CancelBatchPredictionJob][google.cloud.aiplatform.v1.JobService.CancelBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.CreateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelDeploymentMonitoringJobRequest { - /// Required. The parent of the ModelDeploymentMonitoringJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the ModelDeploymentMonitoringJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ModelDeploymentMonitoringJob to create + /// Required. The ModelDeploymentMonitoringJob to create #[prost(message, optional, tag="2")] pub model_deployment_monitoring_job: ::core::option::Option, } -/// Request message for -/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. +/// Request message for +/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchModelDeploymentMonitoringStatsAnomaliesRequest { - /// Required. ModelDeploymentMonitoring Job resource name. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. ModelDeploymentMonitoring Job resource name. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub model_deployment_monitoring_job: ::prost::alloc::string::String, - /// Required. The DeployedModel ID of the - /// \[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\]. + /// Required. The DeployedModel ID of the + /// \[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\]. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// The feature display name. If specified, only return the stats belonging to - /// this feature. Format: - /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name\], - /// example: "user_destination". + /// The feature display name. If specified, only return the stats belonging to + /// this feature. Format: + /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name\], + /// example: "user_destination". #[prost(string, tag="3")] pub feature_display_name: ::prost::alloc::string::String, - /// Required. Objectives of the stats to retrieve. + /// Required. Objectives of the stats to retrieve. #[prost(message, repeated, tag="4")] pub objectives: ::prost::alloc::vec::Vec, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="5")] pub page_size: i32, - /// A page token received from a previous - /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] - /// call. + /// A page token received from a previous + /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] + /// call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, - /// The earliest timestamp of stats being generated. - /// If not set, indicates fetching stats till the earliest possible one. + /// The earliest timestamp of stats being generated. + /// If not set, indicates fetching stats till the earliest possible one. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The latest timestamp of stats being generated. - /// If not set, indicates feching stats till the latest possible one. + /// The latest timestamp of stats being generated. + /// If not set, indicates feching stats till the latest possible one. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `SearchModelDeploymentMonitoringStatsAnomaliesRequest`. pub mod search_model_deployment_monitoring_stats_anomalies_request { - /// Stats requested for specific objective. + /// Stats requested for specific objective. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatsAnomaliesObjective { #[prost(enumeration="super::ModelDeploymentMonitoringObjectiveType", tag="1")] pub r#type: i32, - /// If set, all attribution scores between - /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time][google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time\] and - /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time][google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time\] are - /// fetched, and page token doesn't take affect in this case. - /// Only used to retrieve attribution score for the top Features which has - /// the highest attribution score in the latest monitoring run. + /// If set, all attribution scores between + /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time][google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time\] and + /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time][google.cloud.aiplatform.v1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time\] are + /// fetched, and page token doesn't take affect in this case. + /// Only used to retrieve attribution score for the top Features which has + /// the highest attribution score in the latest monitoring run. #[prost(int32, tag="4")] pub top_feature_count: i32, } } -/// Response message for -/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. +/// Response message for +/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchModelDeploymentMonitoringStatsAnomaliesResponse { - /// Stats retrieved for requested objectives. - /// There are at most 1000 - /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats\] - /// in the response. + /// Stats retrieved for requested objectives. + /// There are at most 1000 + /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats][google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats\] + /// in the response. #[prost(message, repeated, tag="1")] pub monitoring_stats: ::prost::alloc::vec::Vec, - /// The page token that can be used by the next - /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] - /// call. + /// The page token that can be used by the next + /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] + /// call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.GetModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.GetModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.GetModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.GetModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs\]. +/// Request message for +/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelDeploymentMonitoringJobsRequest { - /// Required. The parent of the ModelDeploymentMonitoringJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the ModelDeploymentMonitoringJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -9891,49 +9891,49 @@ pub struct ListModelDeploymentMonitoringJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read + /// Mask specifying which fields to read #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for -/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs\]. +/// Response message for +/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1.JobService.ListModelDeploymentMonitoringJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelDeploymentMonitoringJobsResponse { - /// A list of ModelDeploymentMonitoringJobs that matches the specified filter - /// in the request. + /// A list of ModelDeploymentMonitoringJobs that matches the specified filter + /// in the request. #[prost(message, repeated, tag="1")] pub model_deployment_monitoring_jobs: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelDeploymentMonitoringJobRequest { - /// Required. The model monitoring configuration which replaces the resource on the - /// server. + /// Required. The model monitoring configuration which replaces the resource on the + /// server. #[prost(message, optional, tag="1")] pub model_deployment_monitoring_job: ::core::option::Option, - /// Required. The update mask is used to specify the fields to be overwritten in the - /// ModelDeploymentMonitoringJob resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. - /// For the objective config, the user can either provide the update mask for - /// model_deployment_monitoring_objective_configs or any combination of its - /// nested fields, such as: - /// model_deployment_monitoring_objective_configs.objective_config.training_dataset. - /// - /// Updatable fields: + /// Required. The update mask is used to specify the fields to be overwritten in the + /// ModelDeploymentMonitoringJob resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. + /// For the objective config, the user can either provide the update mask for + /// model_deployment_monitoring_objective_configs or any combination of its + /// nested fields, such as: + /// model_deployment_monitoring_objective_configs.objective_config.training_dataset. + /// + /// Updatable fields: /// /// * `display_name` /// * `model_deployment_monitoring_schedule_config` @@ -9942,50 +9942,50 @@ pub struct UpdateModelDeploymentMonitoringJobRequest { /// * `labels` /// * `log_ttl` /// * `enable_monitoring_pipeline_logs` - /// . and + /// . and /// * `model_deployment_monitoring_objective_configs` - /// . or + /// . or /// * `model_deployment_monitoring_objective_configs.objective_config.training_dataset` /// * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` /// * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[JobService.DeleteModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.DeleteModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.DeleteModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.DeleteModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the model monitoring job to delete. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the model monitoring job to delete. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.PauseModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.PauseModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.PauseModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.PauseModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PauseModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob to pause. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob to pause. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.ResumeModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.ResumeModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.ResumeModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.ResumeModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResumeModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob to resume. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob to resume. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Runtime operation information for -/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob\]. +/// Runtime operation information for +/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1.JobService.UpdateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelDeploymentMonitoringJobOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } @@ -10713,64 +10713,64 @@ pub mod job_service_client { } } } -/// A subgraph of the overall lineage graph. Event edges connect Artifact and -/// Execution nodes. +/// A subgraph of the overall lineage graph. Event edges connect Artifact and +/// Execution nodes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LineageSubgraph { - /// The Artifact nodes in the subgraph. + /// The Artifact nodes in the subgraph. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, - /// The Execution nodes in the subgraph. + /// The Execution nodes in the subgraph. #[prost(message, repeated, tag="2")] pub executions: ::prost::alloc::vec::Vec, - /// The Event edges between Artifacts and Executions in the subgraph. + /// The Event edges between Artifacts and Executions in the subgraph. #[prost(message, repeated, tag="3")] pub events: ::prost::alloc::vec::Vec, } -/// Instance of a general MetadataSchema. +/// Instance of a general MetadataSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataSchema { - /// Output only. The resource name of the MetadataSchema. + /// Output only. The resource name of the MetadataSchema. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The version of the MetadataSchema. The version's format must match - /// the following regular expression: `^\[0-9]+[.][0-9]+[.][0-9\]+$`, which would - /// allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc. + /// The version of the MetadataSchema. The version's format must match + /// the following regular expression: `^\[0-9]+[.][0-9]+[.][0-9\]+$`, which would + /// allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc. #[prost(string, tag="2")] pub schema_version: ::prost::alloc::string::String, - /// Required. The raw YAML string representation of the MetadataSchema. The combination - /// of \[MetadataSchema.version\] and the schema name given by `title` in - /// \[MetadataSchema.schema\] must be unique within a MetadataStore. + /// Required. The raw YAML string representation of the MetadataSchema. The combination + /// of \[MetadataSchema.version\] and the schema name given by `title` in + /// \[MetadataSchema.schema\] must be unique within a MetadataStore. /// - /// The schema is defined as an OpenAPI 3.0.2 - /// [MetadataSchema - /// Object]() + /// The schema is defined as an OpenAPI 3.0.2 + /// [MetadataSchema + /// Object]() #[prost(string, tag="3")] pub schema: ::prost::alloc::string::String, - /// The type of the MetadataSchema. This is a property that identifies which - /// metadata types will use the MetadataSchema. + /// The type of the MetadataSchema. This is a property that identifies which + /// metadata types will use the MetadataSchema. #[prost(enumeration="metadata_schema::MetadataSchemaType", tag="4")] pub schema_type: i32, - /// Output only. Timestamp when this MetadataSchema was created. + /// Output only. Timestamp when this MetadataSchema was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Description of the Metadata Schema + /// Description of the Metadata Schema #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `MetadataSchema`. pub mod metadata_schema { - /// Describes the type of the MetadataSchema. + /// Describes the type of the MetadataSchema. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetadataSchemaType { - /// Unspecified type for the MetadataSchema. + /// Unspecified type for the MetadataSchema. Unspecified = 0, - /// A type indicating that the MetadataSchema will be used by Artifacts. + /// A type indicating that the MetadataSchema will be used by Artifacts. ArtifactType = 1, - /// A typee indicating that the MetadataSchema will be used by Executions. + /// A typee indicating that the MetadataSchema will be used by Executions. ExecutionType = 2, - /// A state indicating that the MetadataSchema will be used by Contexts. + /// A state indicating that the MetadataSchema will be used by Contexts. ContextType = 3, } impl MetadataSchemaType { @@ -10788,366 +10788,366 @@ pub mod metadata_schema { } } } -/// Instance of a metadata store. Contains a set of metadata that can be -/// queried. +/// Instance of a metadata store. Contains a set of metadata that can be +/// queried. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataStore { - /// Output only. The resource name of the MetadataStore instance. + /// Output only. The resource name of the MetadataStore instance. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this MetadataStore was created. + /// Output only. Timestamp when this MetadataStore was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this MetadataStore was last updated. + /// Output only. Timestamp when this MetadataStore was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Customer-managed encryption key spec for a Metadata Store. If set, this - /// Metadata Store and all sub-resources of this Metadata Store are secured - /// using this key. + /// Customer-managed encryption key spec for a Metadata Store. If set, this + /// Metadata Store and all sub-resources of this Metadata Store are secured + /// using this key. #[prost(message, optional, tag="5")] pub encryption_spec: ::core::option::Option, - /// Description of the MetadataStore. + /// Description of the MetadataStore. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Output only. State information of the MetadataStore. + /// Output only. State information of the MetadataStore. #[prost(message, optional, tag="7")] pub state: ::core::option::Option, } /// Nested message and enum types in `MetadataStore`. pub mod metadata_store { - /// Represents state information for a MetadataStore. + /// Represents state information for a MetadataStore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataStoreState { - /// The disk utilization of the MetadataStore in bytes. + /// The disk utilization of the MetadataStore in bytes. #[prost(int64, tag="1")] pub disk_utilization_bytes: i64, } } -/// Request message for \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore\]. +/// Request message for \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataStoreRequest { - /// Required. The resource name of the Location where the MetadataStore should - /// be created. - /// Format: `projects/{project}/locations/{location}/` + /// Required. The resource name of the Location where the MetadataStore should + /// be created. + /// Format: `projects/{project}/locations/{location}/` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The MetadataStore to create. + /// Required. The MetadataStore to create. #[prost(message, optional, tag="2")] pub metadata_store: ::core::option::Option, - /// The {metadatastore} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - /// If not provided, the MetadataStore's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all MetadataStores in the parent Location. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting MetadataStore.) + /// The {metadatastore} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// If not provided, the MetadataStore's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all MetadataStores in the parent Location. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting MetadataStore.) #[prost(string, tag="3")] pub metadata_store_id: ::prost::alloc::string::String, } -/// Details of operations that perform \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore\]. +/// Details of operations that perform \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1.MetadataService.CreateMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataStoreOperationMetadata { - /// Operation metadata for creating a MetadataStore. + /// Operation metadata for creating a MetadataStore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.GetMetadataStore][google.cloud.aiplatform.v1.MetadataService.GetMetadataStore\]. +/// Request message for \[MetadataService.GetMetadataStore][google.cloud.aiplatform.v1.MetadataService.GetMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMetadataStoreRequest { - /// Required. The resource name of the MetadataStore to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\]. +/// Request message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataStoresRequest { - /// Required. The Location whose MetadataStores should be listed. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The Location whose MetadataStores should be listed. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Metadata Stores to return. The service may return - /// fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Metadata Stores to return. The service may return + /// fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous - /// \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\] call. Provide this to retrieve the - /// subsequent page. + /// A page token, received from a previous + /// \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\] call. Provide this to retrieve the + /// subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\]. +/// Response message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1.MetadataService.ListMetadataStores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataStoresResponse { - /// The MetadataStores found for the Location. + /// The MetadataStores found for the Location. #[prost(message, repeated, tag="1")] pub metadata_stores: ::prost::alloc::vec::Vec, - /// A token, which can be sent as - /// \[ListMetadataStoresRequest.page_token][google.cloud.aiplatform.v1.ListMetadataStoresRequest.page_token\] to retrieve the next - /// page. If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as + /// \[ListMetadataStoresRequest.page_token][google.cloud.aiplatform.v1.ListMetadataStoresRequest.page_token\] to retrieve the next + /// page. If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore\]. +/// Request message for \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMetadataStoreRequest { - /// Required. The resource name of the MetadataStore to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Deprecated: Field is no longer supported. + /// Deprecated: Field is no longer supported. #[deprecated] #[prost(bool, tag="2")] pub force: bool, } -/// Details of operations that perform \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore\]. +/// Details of operations that perform \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1.MetadataService.DeleteMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMetadataStoreOperationMetadata { - /// Operation metadata for deleting a MetadataStore. + /// Operation metadata for deleting a MetadataStore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.CreateArtifact][google.cloud.aiplatform.v1.MetadataService.CreateArtifact\]. +/// Request message for \[MetadataService.CreateArtifact][google.cloud.aiplatform.v1.MetadataService.CreateArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateArtifactRequest { - /// Required. The resource name of the MetadataStore where the Artifact should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Artifact should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Artifact to create. + /// Required. The Artifact to create. #[prost(message, optional, tag="2")] pub artifact: ::core::option::Option, - /// The {artifact} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - /// If not provided, the Artifact's ID will be a UUID generated by the service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - /// caller can't view the preexisting Artifact.) + /// The {artifact} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// If not provided, the Artifact's ID will be a UUID generated by the service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Artifacts in the parent MetadataStore. (Otherwise + /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the + /// caller can't view the preexisting Artifact.) #[prost(string, tag="3")] pub artifact_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetArtifact][google.cloud.aiplatform.v1.MetadataService.GetArtifact\]. +/// Request message for \[MetadataService.GetArtifact][google.cloud.aiplatform.v1.MetadataService.GetArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetArtifactRequest { - /// Required. The resource name of the Artifact to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The resource name of the Artifact to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\]. +/// Request message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsRequest { - /// Required. The MetadataStore whose Artifacts should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Artifacts should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Artifacts to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Artifacts to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Artifacts to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// The supported set of filters include the following: + /// Filter specifying the boolean condition for the Artifacts to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// The supported set of filters include the following: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `uri`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"` - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0` - /// * **Context based filtering**: + /// * **Context based filtering**: /// To filter Artifacts based on the contexts to which they belong, use the /// function operator with the full resource name /// `in_context()`. /// For example: /// `in_context("projects//locations//metadataStores//contexts/")` /// - /// Each of the above supported filter types can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filter types can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\]. +/// Response message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1.MetadataService.ListArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsResponse { - /// The Artifacts retrieved from the MetadataStore. + /// The Artifacts retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListArtifactsRequest.page_token][google.cloud.aiplatform.v1.ListArtifactsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateArtifact][google.cloud.aiplatform.v1.MetadataService.UpdateArtifact\]. +/// Request message for \[MetadataService.UpdateArtifact][google.cloud.aiplatform.v1.MetadataService.UpdateArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateArtifactRequest { - /// Required. The Artifact containing updates. - /// The Artifact's \[Artifact.name][google.cloud.aiplatform.v1.Artifact.name\] field is used to identify the Artifact to - /// be updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The Artifact containing updates. + /// The Artifact's \[Artifact.name][google.cloud.aiplatform.v1.Artifact.name\] field is used to identify the Artifact to + /// be updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(message, optional, tag="1")] pub artifact: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Artifact][google.cloud.aiplatform.v1.Artifact\] is not found, a new \[Artifact][google.cloud.aiplatform.v1.Artifact\] is - /// created. + /// If set to true, and the \[Artifact][google.cloud.aiplatform.v1.Artifact\] is not found, a new \[Artifact][google.cloud.aiplatform.v1.Artifact\] is + /// created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteArtifact][google.cloud.aiplatform.v1.MetadataService.DeleteArtifact\]. +/// Request message for \[MetadataService.DeleteArtifact][google.cloud.aiplatform.v1.MetadataService.DeleteArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteArtifactRequest { - /// Required. The resource name of the Artifact to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The resource name of the Artifact to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the Artifact to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Artifact to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. +/// Request message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsRequest { - /// Required. The metadata store to purge Artifacts from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Artifacts from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Artifacts to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Artifacts to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Artifact names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Artifact names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. +/// Response message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsResponse { - /// The number of Artifacts that this request deleted (or, if `force` is false, - /// the number of Artifacts that will be deleted). This can be an estimate. + /// The number of Artifacts that this request deleted (or, if `force` is false, + /// the number of Artifacts that will be deleted). This can be an estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Artifact names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Artifact names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. +/// Details of operations that perform \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsMetadata { - /// Operation metadata for purging Artifacts. + /// Operation metadata for purging Artifacts. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.CreateContext][google.cloud.aiplatform.v1.MetadataService.CreateContext\]. +/// Request message for \[MetadataService.CreateContext][google.cloud.aiplatform.v1.MetadataService.CreateContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateContextRequest { - /// Required. The resource name of the MetadataStore where the Context should be - /// created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Context should be + /// created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Context to create. + /// Required. The Context to create. #[prost(message, optional, tag="2")] pub context: ::core::option::Option, - /// The {context} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - /// If not provided, the Context's ID will be a UUID generated by the service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Contexts in the parent MetadataStore. (Otherwise - /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - /// caller can't view the preexisting Context.) + /// The {context} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. + /// If not provided, the Context's ID will be a UUID generated by the service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Contexts in the parent MetadataStore. (Otherwise + /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the + /// caller can't view the preexisting Context.) #[prost(string, tag="3")] pub context_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetContext][google.cloud.aiplatform.v1.MetadataService.GetContext\]. +/// Request message for \[MetadataService.GetContext][google.cloud.aiplatform.v1.MetadataService.GetContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetContextRequest { - /// Required. The resource name of the Context to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\] +/// Request message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContextsRequest { - /// Required. The MetadataStore whose Contexts should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Contexts should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Contexts to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Contexts to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Contexts to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// Following are the supported set of filters: + /// Filter specifying the boolean condition for the Contexts to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// Following are the supported set of filters: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `schema_title`, /// `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"`. - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0`. - /// * **Parent Child filtering**: + /// * **Parent Child filtering**: /// To filter Contexts based on parent-child relationship use the HAS /// operator as follows: /// @@ -11158,461 +11158,461 @@ pub struct ListContextsRequest { /// "projects//locations//metadataStores//contexts/" /// ``` /// - /// Each of the above supported filters can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filters can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\]. +/// Response message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1.MetadataService.ListContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContextsResponse { - /// The Contexts retrieved from the MetadataStore. + /// The Contexts retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub contexts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListContextsRequest.page_token][google.cloud.aiplatform.v1.ListContextsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateContext][google.cloud.aiplatform.v1.MetadataService.UpdateContext\]. +/// Request message for \[MetadataService.UpdateContext][google.cloud.aiplatform.v1.MetadataService.UpdateContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateContextRequest { - /// Required. The Context containing updates. - /// The Context's \[Context.name][google.cloud.aiplatform.v1.Context.name\] field is used to identify the Context to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The Context containing updates. + /// The Context's \[Context.name][google.cloud.aiplatform.v1.Context.name\] field is used to identify the Context to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(message, optional, tag="1")] pub context: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Context][google.cloud.aiplatform.v1.Context\] is not found, a new \[Context][google.cloud.aiplatform.v1.Context\] is - /// created. + /// If set to true, and the \[Context][google.cloud.aiplatform.v1.Context\] is not found, a new \[Context][google.cloud.aiplatform.v1.Context\] is + /// created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteContext][google.cloud.aiplatform.v1.MetadataService.DeleteContext\]. +/// Request message for \[MetadataService.DeleteContext][google.cloud.aiplatform.v1.MetadataService.DeleteContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteContextRequest { - /// Required. The resource name of the Context to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The force deletion semantics is still undefined. - /// Users should not use this field. + /// The force deletion semantics is still undefined. + /// Users should not use this field. #[prost(bool, tag="2")] pub force: bool, - /// Optional. The etag of the Context to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Context to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="3")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. +/// Request message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsRequest { - /// Required. The metadata store to purge Contexts from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Contexts from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Contexts to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Contexts to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Context names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Context names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. +/// Response message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsResponse { - /// The number of Contexts that this request deleted (or, if `force` is false, - /// the number of Contexts that will be deleted). This can be an estimate. + /// The number of Contexts that this request deleted (or, if `force` is false, + /// the number of Contexts that will be deleted). This can be an estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Context names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Context names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. +/// Details of operations that perform \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsMetadata { - /// Operation metadata for purging Contexts. + /// Operation metadata for purging Contexts. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions\]. +/// Request message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextArtifactsAndExecutionsRequest { - /// Required. The resource name of the Context that the Artifacts and Executions - /// belong to. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context that the Artifacts and Executions + /// belong to. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, - /// The resource names of the Artifacts to attribute to the Context. + /// The resource names of the Artifacts to attribute to the Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, repeated, tag="2")] pub artifacts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The resource names of the Executions to associate with the - /// Context. + /// The resource names of the Executions to associate with the + /// Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, repeated, tag="3")] pub executions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions\]. +/// Response message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1.MetadataService.AddContextArtifactsAndExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextArtifactsAndExecutionsResponse { } -/// Request message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren\]. +/// Request message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextChildrenRequest { - /// Required. The resource name of the parent Context. + /// Required. The resource name of the parent Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, - /// The resource names of the child Contexts. + /// The resource names of the child Contexts. #[prost(string, repeated, tag="2")] pub child_contexts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren\]. +/// Response message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1.MetadataService.AddContextChildren\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextChildrenResponse { } -/// Request message for \[MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph\]. +/// Request message for \[MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryContextLineageSubgraph\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryContextLineageSubgraphRequest { - /// Required. The resource name of the Context whose Artifacts and Executions - /// should be retrieved as a LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - /// - /// The request may error with FAILED_PRECONDITION if the number of Artifacts, - /// the number of Executions, or the number of Events that would be returned - /// for the Context exceeds 1000. + /// Required. The resource name of the Context whose Artifacts and Executions + /// should be retrieved as a LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// + /// The request may error with FAILED_PRECONDITION if the number of Artifacts, + /// the number of Executions, or the number of Events that would be returned + /// for the Context exceeds 1000. #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.CreateExecution][google.cloud.aiplatform.v1.MetadataService.CreateExecution\]. +/// Request message for \[MetadataService.CreateExecution][google.cloud.aiplatform.v1.MetadataService.CreateExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateExecutionRequest { - /// Required. The resource name of the MetadataStore where the Execution should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Execution should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Execution to create. + /// Required. The Execution to create. #[prost(message, optional, tag="2")] pub execution: ::core::option::Option, - /// The {execution} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - /// If not provided, the Execution's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Executions in the parent MetadataStore. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting Execution.) + /// The {execution} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// If not provided, the Execution's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Executions in the parent MetadataStore. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting Execution.) #[prost(string, tag="3")] pub execution_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetExecution][google.cloud.aiplatform.v1.MetadataService.GetExecution\]. +/// Request message for \[MetadataService.GetExecution][google.cloud.aiplatform.v1.MetadataService.GetExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExecutionRequest { - /// Required. The resource name of the Execution to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\]. +/// Request message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExecutionsRequest { - /// Required. The MetadataStore whose Executions should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Executions should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Executions to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Executions to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with an - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with an + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Executions to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// Following are the supported set of filters: + /// Filter specifying the boolean condition for the Executions to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// Following are the supported set of filters: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"`. - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..` /// For example: `metadata.field_1.number_value = 10.0` - /// * **Context based filtering**: + /// * **Context based filtering**: /// To filter Executions based on the contexts to which they belong use /// the function operator with the full resource name: /// `in_context()`. /// For example: /// `in_context("projects//locations//metadataStores//contexts/")` /// - /// Each of the above supported filters can be combined together using - /// logical operators (`AND` & `OR`). - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// Each of the above supported filters can be combined together using + /// logical operators (`AND` & `OR`). + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\]. +/// Response message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1.MetadataService.ListExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExecutionsResponse { - /// The Executions retrieved from the MetadataStore. + /// The Executions retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub executions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListExecutionsRequest.page_token][google.cloud.aiplatform.v1.ListExecutionsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListExecutionsRequest.page_token][google.cloud.aiplatform.v1.ListExecutionsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateExecution][google.cloud.aiplatform.v1.MetadataService.UpdateExecution\]. +/// Request message for \[MetadataService.UpdateExecution][google.cloud.aiplatform.v1.MetadataService.UpdateExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExecutionRequest { - /// Required. The Execution containing updates. - /// The Execution's \[Execution.name][google.cloud.aiplatform.v1.Execution.name\] field is used to identify the Execution - /// to be updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The Execution containing updates. + /// The Execution's \[Execution.name][google.cloud.aiplatform.v1.Execution.name\] field is used to identify the Execution + /// to be updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(message, optional, tag="1")] pub execution: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Execution][google.cloud.aiplatform.v1.Execution\] is not found, a new \[Execution][google.cloud.aiplatform.v1.Execution\] - /// is created. + /// If set to true, and the \[Execution][google.cloud.aiplatform.v1.Execution\] is not found, a new \[Execution][google.cloud.aiplatform.v1.Execution\] + /// is created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteExecution][google.cloud.aiplatform.v1.MetadataService.DeleteExecution\]. +/// Request message for \[MetadataService.DeleteExecution][google.cloud.aiplatform.v1.MetadataService.DeleteExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteExecutionRequest { - /// Required. The resource name of the Execution to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the Execution to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Execution to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. +/// Request message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsRequest { - /// Required. The metadata store to purge Executions from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Executions from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Executions to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Executions to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Execution names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Execution names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. +/// Response message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsResponse { - /// The number of Executions that this request deleted (or, if `force` is - /// false, the number of Executions that will be deleted). This can be an - /// estimate. + /// The number of Executions that this request deleted (or, if `force` is + /// false, the number of Executions that will be deleted). This can be an + /// estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Execution names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Execution names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. +/// Details of operations that perform \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsMetadata { - /// Operation metadata for purging Executions. + /// Operation metadata for purging Executions. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents\]. +/// Request message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddExecutionEventsRequest { - /// Required. The resource name of the Execution that the Events connect - /// Artifacts with. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution that the Events connect + /// Artifacts with. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub execution: ::prost::alloc::string::String, - /// The Events to create and add. + /// The Events to create and add. #[prost(message, repeated, tag="2")] pub events: ::prost::alloc::vec::Vec, } -/// Response message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents\]. +/// Response message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1.MetadataService.AddExecutionEvents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddExecutionEventsResponse { } -/// Request message for \[MetadataService.QueryExecutionInputsAndOutputs][google.cloud.aiplatform.v1.MetadataService.QueryExecutionInputsAndOutputs\]. +/// Request message for \[MetadataService.QueryExecutionInputsAndOutputs][google.cloud.aiplatform.v1.MetadataService.QueryExecutionInputsAndOutputs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryExecutionInputsAndOutputsRequest { - /// Required. The resource name of the Execution whose input and output Artifacts should - /// be retrieved as a LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution whose input and output Artifacts should + /// be retrieved as a LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub execution: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.CreateMetadataSchema][google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema\]. +/// Request message for \[MetadataService.CreateMetadataSchema][google.cloud.aiplatform.v1.MetadataService.CreateMetadataSchema\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataSchemaRequest { - /// Required. The resource name of the MetadataStore where the MetadataSchema should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the MetadataSchema should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The MetadataSchema to create. + /// Required. The MetadataSchema to create. #[prost(message, optional, tag="2")] pub metadata_schema: ::core::option::Option, - /// The {metadata_schema} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - /// If not provided, the MetadataStore's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all MetadataSchemas in the parent Location. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting MetadataSchema.) + /// The {metadata_schema} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` + /// If not provided, the MetadataStore's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all MetadataSchemas in the parent Location. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting MetadataSchema.) #[prost(string, tag="3")] pub metadata_schema_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetMetadataSchema][google.cloud.aiplatform.v1.MetadataService.GetMetadataSchema\]. +/// Request message for \[MetadataService.GetMetadataSchema][google.cloud.aiplatform.v1.MetadataService.GetMetadataSchema\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMetadataSchemaRequest { - /// Required. The resource name of the MetadataSchema to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` + /// Required. The resource name of the MetadataSchema to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\]. +/// Request message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataSchemasRequest { - /// Required. The MetadataStore whose MetadataSchemas should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose MetadataSchemas should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of MetadataSchemas to return. The service may return - /// fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of MetadataSchemas to return. The service may return + /// fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous - /// \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\] call. Provide this to retrieve the - /// next page. + /// A page token, received from a previous + /// \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\] call. Provide this to retrieve the + /// next page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A query to filter available MetadataSchemas for matching results. + /// A query to filter available MetadataSchemas for matching results. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\]. +/// Response message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1.MetadataService.ListMetadataSchemas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataSchemasResponse { - /// The MetadataSchemas found for the MetadataStore. + /// The MetadataSchemas found for the MetadataStore. #[prost(message, repeated, tag="1")] pub metadata_schemas: ::prost::alloc::vec::Vec, - /// A token, which can be sent as - /// \[ListMetadataSchemasRequest.page_token][google.cloud.aiplatform.v1.ListMetadataSchemasRequest.page_token\] to retrieve the next - /// page. If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as + /// \[ListMetadataSchemasRequest.page_token][google.cloud.aiplatform.v1.ListMetadataSchemasRequest.page_token\] to retrieve the next + /// page. If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph\]. +/// Request message for \[MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1.MetadataService.QueryArtifactLineageSubgraph\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryArtifactLineageSubgraphRequest { - /// Required. The resource name of the Artifact whose Lineage needs to be retrieved as a - /// LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - /// - /// The request may error with FAILED_PRECONDITION if the number of Artifacts, - /// the number of Executions, or the number of Events that would be returned - /// for the Context exceeds 1000. + /// Required. The resource name of the Artifact whose Lineage needs to be retrieved as a + /// LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// + /// The request may error with FAILED_PRECONDITION if the number of Artifacts, + /// the number of Executions, or the number of Events that would be returned + /// for the Context exceeds 1000. #[prost(string, tag="1")] pub artifact: ::prost::alloc::string::String, - /// Specifies the size of the lineage graph in terms of number of hops from the - /// specified artifact. - /// Negative Value: INVALID_ARGUMENT error is returned - /// 0: Only input artifact is returned. - /// No value: Transitive closure is performed to return the complete graph. + /// Specifies the size of the lineage graph in terms of number of hops from the + /// specified artifact. + /// Negative Value: INVALID_ARGUMENT error is returned + /// 0: Only input artifact is returned. + /// No value: Transitive closure is performed to return the complete graph. #[prost(int32, tag="2")] pub max_hops: i32, - /// Filter specifying the boolean condition for the Artifacts to satisfy in - /// order to be part of the Lineage Subgraph. - /// The syntax to define filter query is based on - /// The supported set of filters include the following: + /// Filter specifying the boolean condition for the Artifacts to satisfy in + /// order to be part of the Lineage Subgraph. + /// The syntax to define filter query is based on + /// The supported set of filters include the following: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"` /// Supported fields include: `name`, `display_name`, `uri`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"` - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0` /// - /// Each of the above supported filter types can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filter types can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, } @@ -12353,16 +12353,16 @@ pub mod metadata_service_client { } } } -/// Represents one resource that exists in automl.googleapis.com, -/// datalabeling.googleapis.com or ml.googleapis.com. +/// Represents one resource that exists in automl.googleapis.com, +/// datalabeling.googleapis.com or ml.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigratableResource { - /// Output only. Timestamp when the last migration attempt on this MigratableResource - /// started. Will not be set if there's no migration attempt on this - /// MigratableResource. + /// Output only. Timestamp when the last migration attempt on this MigratableResource + /// started. Will not be set if there's no migration attempt on this + /// MigratableResource. #[prost(message, optional, tag="5")] pub last_migrate_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this MigratableResource was last updated. + /// Output only. Timestamp when this MigratableResource was last updated. #[prost(message, optional, tag="6")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, #[prost(oneof="migratable_resource::Resource", tags="1, 2, 3, 4")] @@ -12370,155 +12370,155 @@ pub struct MigratableResource { } /// Nested message and enum types in `MigratableResource`. pub mod migratable_resource { - /// Represents one model Version in ml.googleapis.com. + /// Represents one model Version in ml.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MlEngineModelVersion { - /// The ml.googleapis.com endpoint that this model Version currently lives - /// in. - /// Example values: + /// The ml.googleapis.com endpoint that this model Version currently lives + /// in. + /// Example values: /// - /// * ml.googleapis.com - /// * us-centrall-ml.googleapis.com - /// * europe-west4-ml.googleapis.com - /// * asia-east1-ml.googleapis.com + /// * ml.googleapis.com + /// * us-centrall-ml.googleapis.com + /// * europe-west4-ml.googleapis.com + /// * asia-east1-ml.googleapis.com #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Full resource name of ml engine model Version. - /// Format: `projects/{project}/models/{model}/versions/{version}`. + /// Full resource name of ml engine model Version. + /// Format: `projects/{project}/models/{model}/versions/{version}`. #[prost(string, tag="2")] pub version: ::prost::alloc::string::String, } - /// Represents one Model in automl.googleapis.com. + /// Represents one Model in automl.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomlModel { - /// Full resource name of automl Model. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}`. + /// Full resource name of automl Model. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}`. #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// The Model's display name in automl.googleapis.com. + /// The Model's display name in automl.googleapis.com. #[prost(string, tag="3")] pub model_display_name: ::prost::alloc::string::String, } - /// Represents one Dataset in automl.googleapis.com. + /// Represents one Dataset in automl.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomlDataset { - /// Full resource name of automl Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}`. + /// Full resource name of automl Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// The Dataset's display name in automl.googleapis.com. + /// The Dataset's display name in automl.googleapis.com. #[prost(string, tag="4")] pub dataset_display_name: ::prost::alloc::string::String, } - /// Represents one Dataset in datalabeling.googleapis.com. + /// Represents one Dataset in datalabeling.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingDataset { - /// Full resource name of data labeling Dataset. - /// Format: - /// `projects/{project}/datasets/{dataset}`. + /// Full resource name of data labeling Dataset. + /// Format: + /// `projects/{project}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// The Dataset's display name in datalabeling.googleapis.com. + /// The Dataset's display name in datalabeling.googleapis.com. #[prost(string, tag="4")] pub dataset_display_name: ::prost::alloc::string::String, - /// The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to - /// the data labeling Dataset. + /// The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to + /// the data labeling Dataset. #[prost(message, repeated, tag="3")] pub data_labeling_annotated_datasets: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `DataLabelingDataset`. pub mod data_labeling_dataset { - /// Represents one AnnotatedDataset in datalabeling.googleapis.com. + /// Represents one AnnotatedDataset in datalabeling.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingAnnotatedDataset { - /// Full resource name of data labeling AnnotatedDataset. - /// Format: - /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. + /// Full resource name of data labeling AnnotatedDataset. + /// Format: + /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. #[prost(string, tag="1")] pub annotated_dataset: ::prost::alloc::string::String, - /// The AnnotatedDataset's display name in datalabeling.googleapis.com. + /// The AnnotatedDataset's display name in datalabeling.googleapis.com. #[prost(string, tag="3")] pub annotated_dataset_display_name: ::prost::alloc::string::String, } } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resource { - /// Output only. Represents one Version in ml.googleapis.com. + /// Output only. Represents one Version in ml.googleapis.com. #[prost(message, tag="1")] MlEngineModelVersion(MlEngineModelVersion), - /// Output only. Represents one Model in automl.googleapis.com. + /// Output only. Represents one Model in automl.googleapis.com. #[prost(message, tag="2")] AutomlModel(AutomlModel), - /// Output only. Represents one Dataset in automl.googleapis.com. + /// Output only. Represents one Dataset in automl.googleapis.com. #[prost(message, tag="3")] AutomlDataset(AutomlDataset), - /// Output only. Represents one Dataset in datalabeling.googleapis.com. + /// Output only. Represents one Dataset in datalabeling.googleapis.com. #[prost(message, tag="4")] DataLabelingDataset(DataLabelingDataset), } } -/// Request message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources\]. +/// Request message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchMigratableResourcesRequest { - /// Required. The location that the migratable resources should be searched from. - /// It's the Vertex AI location that the resources can be migrated to, not - /// the resources' original location. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The location that the migratable resources should be searched from. + /// It's the Vertex AI location that the resources can be migrated to, not + /// the resources' original location. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard page size. - /// The default and maximum value is 100. + /// The standard page size. + /// The default and maximum value is 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The standard page token. + /// The standard page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter for your search. You can use the following types of filters: + /// A filter for your search. You can use the following types of filters: /// - /// * Resource type filters. The following strings filter for a specific type + /// * Resource type filters. The following strings filter for a specific type /// of \[MigratableResource][google.cloud.aiplatform.v1.MigratableResource\]: /// * `ml_engine_model_version:*` /// * `automl_model:*` /// * `automl_dataset:*` /// * `data_labeling_dataset:*` - /// * "Migrated or not" filters. The following strings filter for resources + /// * "Migrated or not" filters. The following strings filter for resources /// that either have or have not already been migrated: /// * `last_migrate_time:*` filters for migrated resources. /// * `NOT last_migrate_time:*` filters for not yet migrated resources. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources\]. +/// Response message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1.MigrationService.SearchMigratableResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchMigratableResourcesResponse { - /// All migratable resources that can be migrated to the - /// location specified in the request. + /// All migratable resources that can be migrated to the + /// location specified in the request. #[prost(message, repeated, tag="1")] pub migratable_resources: ::prost::alloc::vec::Vec, - /// The standard next-page token. - /// The migratable_resources may not fill page_size in - /// SearchMigratableResourcesRequest even when there are subsequent pages. + /// The standard next-page token. + /// The migratable_resources may not fill page_size in + /// SearchMigratableResourcesRequest even when there are subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. +/// Request message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesRequest { - /// Required. The location of the migrated resource will live in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The location of the migrated resource will live in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request messages specifying the resources to migrate. - /// They must be in the same location as the destination. - /// Up to 50 resources can be migrated in one batch. + /// Required. The request messages specifying the resources to migrate. + /// They must be in the same location as the destination. + /// Up to 50 resources can be migrated in one batch. #[prost(message, repeated, tag="2")] pub migrate_resource_requests: ::prost::alloc::vec::Vec, } -/// Config of migrating one resource from automl.googleapis.com, -/// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. +/// Config of migrating one resource from automl.googleapis.com, +/// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateResourceRequest { #[prost(oneof="migrate_resource_request::Request", tags="1, 2, 3, 4")] @@ -12526,180 +12526,180 @@ pub struct MigrateResourceRequest { } /// Nested message and enum types in `MigrateResourceRequest`. pub mod migrate_resource_request { - /// Config for migrating version in ml.googleapis.com to Vertex AI's Model. + /// Config for migrating version in ml.googleapis.com to Vertex AI's Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateMlEngineModelVersionConfig { - /// Required. The ml.googleapis.com endpoint that this model version should be migrated - /// from. - /// Example values: + /// Required. The ml.googleapis.com endpoint that this model version should be migrated + /// from. + /// Example values: /// - /// * ml.googleapis.com + /// * ml.googleapis.com /// - /// * us-centrall-ml.googleapis.com + /// * us-centrall-ml.googleapis.com /// - /// * europe-west4-ml.googleapis.com + /// * europe-west4-ml.googleapis.com /// - /// * asia-east1-ml.googleapis.com + /// * asia-east1-ml.googleapis.com #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. Full resource name of ml engine model version. - /// Format: `projects/{project}/models/{model}/versions/{version}`. + /// Required. Full resource name of ml engine model version. + /// Format: `projects/{project}/models/{model}/versions/{version}`. #[prost(string, tag="2")] pub model_version: ::prost::alloc::string::String, - /// Required. Display name of the model in Vertex AI. - /// System will pick a display name if unspecified. + /// Required. Display name of the model in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="3")] pub model_display_name: ::prost::alloc::string::String, } - /// Config for migrating Model in automl.googleapis.com to Vertex AI's Model. + /// Config for migrating Model in automl.googleapis.com to Vertex AI's Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateAutomlModelConfig { - /// Required. Full resource name of automl Model. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}`. + /// Required. Full resource name of automl Model. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}`. #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// Optional. Display name of the model in Vertex AI. - /// System will pick a display name if unspecified. + /// Optional. Display name of the model in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub model_display_name: ::prost::alloc::string::String, } - /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's - /// Dataset. + /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's + /// Dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateAutomlDatasetConfig { - /// Required. Full resource name of automl Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}`. + /// Required. Full resource name of automl Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. Display name of the Dataset in Vertex AI. - /// System will pick a display name if unspecified. + /// Required. Display name of the Dataset in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub dataset_display_name: ::prost::alloc::string::String, } - /// Config for migrating Dataset in datalabeling.googleapis.com to Vertex - /// AI's Dataset. + /// Config for migrating Dataset in datalabeling.googleapis.com to Vertex + /// AI's Dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateDataLabelingDatasetConfig { - /// Required. Full resource name of data labeling Dataset. - /// Format: - /// `projects/{project}/datasets/{dataset}`. + /// Required. Full resource name of data labeling Dataset. + /// Format: + /// `projects/{project}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Optional. Display name of the Dataset in Vertex AI. - /// System will pick a display name if unspecified. + /// Optional. Display name of the Dataset in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub dataset_display_name: ::prost::alloc::string::String, - /// Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to - /// Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong - /// to the datalabeling Dataset. + /// Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to + /// Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong + /// to the datalabeling Dataset. #[prost(message, repeated, tag="3")] pub migrate_data_labeling_annotated_dataset_configs: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MigrateDataLabelingDatasetConfig`. pub mod migrate_data_labeling_dataset_config { - /// Config for migrating AnnotatedDataset in datalabeling.googleapis.com to - /// Vertex AI's SavedQuery. + /// Config for migrating AnnotatedDataset in datalabeling.googleapis.com to + /// Vertex AI's SavedQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateDataLabelingAnnotatedDatasetConfig { - /// Required. Full resource name of data labeling AnnotatedDataset. - /// Format: - /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. + /// Required. Full resource name of data labeling AnnotatedDataset. + /// Format: + /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. #[prost(string, tag="1")] pub annotated_dataset: ::prost::alloc::string::String, } } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Request { - /// Config for migrating Version in ml.googleapis.com to Vertex AI's Model. + /// Config for migrating Version in ml.googleapis.com to Vertex AI's Model. #[prost(message, tag="1")] MigrateMlEngineModelVersionConfig(MigrateMlEngineModelVersionConfig), - /// Config for migrating Model in automl.googleapis.com to Vertex AI's - /// Model. + /// Config for migrating Model in automl.googleapis.com to Vertex AI's + /// Model. #[prost(message, tag="2")] MigrateAutomlModelConfig(MigrateAutomlModelConfig), - /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's - /// Dataset. + /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's + /// Dataset. #[prost(message, tag="3")] MigrateAutomlDatasetConfig(MigrateAutomlDatasetConfig), - /// Config for migrating Dataset in datalabeling.googleapis.com to - /// Vertex AI's Dataset. + /// Config for migrating Dataset in datalabeling.googleapis.com to + /// Vertex AI's Dataset. #[prost(message, tag="4")] MigrateDataLabelingDatasetConfig(MigrateDataLabelingDatasetConfig), } } -/// Response message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. +/// Response message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesResponse { - /// Successfully migrated resources. + /// Successfully migrated resources. #[prost(message, repeated, tag="1")] pub migrate_resource_responses: ::prost::alloc::vec::Vec, } -/// Describes a successfully migrated resource. +/// Describes a successfully migrated resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateResourceResponse { - /// Before migration, the identifier in ml.googleapis.com, - /// automl.googleapis.com or datalabeling.googleapis.com. + /// Before migration, the identifier in ml.googleapis.com, + /// automl.googleapis.com or datalabeling.googleapis.com. #[prost(message, optional, tag="3")] pub migratable_resource: ::core::option::Option, - /// After migration, the resource name in Vertex AI. + /// After migration, the resource name in Vertex AI. #[prost(oneof="migrate_resource_response::MigratedResource", tags="1, 2")] pub migrated_resource: ::core::option::Option, } /// Nested message and enum types in `MigrateResourceResponse`. pub mod migrate_resource_response { - /// After migration, the resource name in Vertex AI. + /// After migration, the resource name in Vertex AI. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MigratedResource { - /// Migrated Dataset's resource name. + /// Migrated Dataset's resource name. #[prost(string, tag="1")] Dataset(::prost::alloc::string::String), - /// Migrated Model's resource name. + /// Migrated Model's resource name. #[prost(string, tag="2")] Model(::prost::alloc::string::String), } } -/// Runtime operation information for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. +/// Runtime operation information for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Partial results that reflect the latest migration operation progress. + /// Partial results that reflect the latest migration operation progress. #[prost(message, repeated, tag="2")] pub partial_results: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BatchMigrateResourcesOperationMetadata`. pub mod batch_migrate_resources_operation_metadata { - /// Represents a partial result in batch migration operation for one - /// \[MigrateResourceRequest][google.cloud.aiplatform.v1.MigrateResourceRequest\]. + /// Represents a partial result in batch migration operation for one + /// \[MigrateResourceRequest][google.cloud.aiplatform.v1.MigrateResourceRequest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialResult { - /// It's the same as the value in - /// \[MigrateResourceRequest.migrate_resource_requests][\]. + /// It's the same as the value in + /// \[MigrateResourceRequest.migrate_resource_requests][\]. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, - /// If the resource's migration is ongoing, none of the result will be set. - /// If the resource's migration is finished, either error or one of the - /// migrated resource name will be filled. + /// If the resource's migration is ongoing, none of the result will be set. + /// If the resource's migration is finished, either error or one of the + /// migrated resource name will be filled. #[prost(oneof="partial_result::Result", tags="2, 3, 4")] pub result: ::core::option::Option, } /// Nested message and enum types in `PartialResult`. pub mod partial_result { - /// If the resource's migration is ongoing, none of the result will be set. - /// If the resource's migration is finished, either error or one of the - /// migrated resource name will be filled. + /// If the resource's migration is ongoing, none of the result will be set. + /// If the resource's migration is finished, either error or one of the + /// migrated resource name will be filled. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// The error result of the migration request in case of failure. + /// The error result of the migration request in case of failure. #[prost(message, tag="2")] Error(super::super::super::super::super::rpc::Status), - /// Migrated model resource name. + /// Migrated model resource name. #[prost(string, tag="3")] Model(::prost::alloc::string::String), - /// Migrated dataset resource name. + /// Migrated dataset resource name. #[prost(string, tag="4")] Dataset(::prost::alloc::string::String), } @@ -12827,71 +12827,71 @@ pub mod migration_service_client { } } } -/// A collection of metrics calculated by comparing Model's predictions on all of -/// the test data against annotations from the test data. +/// A collection of metrics calculated by comparing Model's predictions on all of +/// the test data against annotations from the test data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluation { - /// Output only. The resource name of the ModelEvaluation. + /// Output only. The resource name of the ModelEvaluation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the ModelEvaluation. + /// The display name of the ModelEvaluation. #[prost(string, tag="10")] pub display_name: ::prost::alloc::string::String, - /// Points to a YAML file stored on Google Cloud Storage describing the - /// \[metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics\] of this ModelEvaluation. The schema is - /// defined as an OpenAPI 3.0.2 [Schema - /// Object](). + /// Points to a YAML file stored on Google Cloud Storage describing the + /// \[metrics][google.cloud.aiplatform.v1.ModelEvaluation.metrics\] of this ModelEvaluation. The schema is + /// defined as an OpenAPI 3.0.2 [Schema + /// Object](). #[prost(string, tag="2")] pub metrics_schema_uri: ::prost::alloc::string::String, - /// Evaluation metrics of the Model. The schema of the metrics is stored in - /// \[metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri\] + /// Evaluation metrics of the Model. The schema of the metrics is stored in + /// \[metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluation.metrics_schema_uri\] #[prost(message, optional, tag="3")] pub metrics: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this ModelEvaluation was created. + /// Output only. Timestamp when this ModelEvaluation was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// All possible \[dimensions][ModelEvaluationSlice.slice.dimension\] of - /// ModelEvaluationSlices. The dimensions can be used as the filter of the - /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\] request, in the form of - /// `slice.dimension = `. + /// All possible \[dimensions][ModelEvaluationSlice.slice.dimension\] of + /// ModelEvaluationSlices. The dimensions can be used as the filter of the + /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\] request, in the form of + /// `slice.dimension = `. #[prost(string, repeated, tag="5")] pub slice_dimensions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Points to a YAML file stored on Google Cloud Storage describing - /// \[EvaluatedDataItemView.data_item_payload][\] and - /// \[EvaluatedAnnotation.data_item_payload][\]. The schema is defined as an - /// OpenAPI 3.0.2 [Schema - /// Object](). - /// - /// This field is not populated if there are neither EvaluatedDataItemViews nor - /// EvaluatedAnnotations under this ModelEvaluation. + /// Points to a YAML file stored on Google Cloud Storage describing + /// \[EvaluatedDataItemView.data_item_payload][\] and + /// \[EvaluatedAnnotation.data_item_payload][\]. The schema is defined as an + /// OpenAPI 3.0.2 [Schema + /// Object](). + /// + /// This field is not populated if there are neither EvaluatedDataItemViews nor + /// EvaluatedAnnotations under this ModelEvaluation. #[prost(string, tag="6")] pub data_item_schema_uri: ::prost::alloc::string::String, - /// Points to a YAML file stored on Google Cloud Storage describing - /// \[EvaluatedDataItemView.predictions][\], - /// \[EvaluatedDataItemView.ground_truths][\], - /// \[EvaluatedAnnotation.predictions][\], and - /// \[EvaluatedAnnotation.ground_truths][\]. The schema is defined as an - /// OpenAPI 3.0.2 [Schema - /// Object](). - /// - /// This field is not populated if there are neither EvaluatedDataItemViews nor - /// EvaluatedAnnotations under this ModelEvaluation. + /// Points to a YAML file stored on Google Cloud Storage describing + /// \[EvaluatedDataItemView.predictions][\], + /// \[EvaluatedDataItemView.ground_truths][\], + /// \[EvaluatedAnnotation.predictions][\], and + /// \[EvaluatedAnnotation.ground_truths][\]. The schema is defined as an + /// OpenAPI 3.0.2 [Schema + /// Object](). + /// + /// This field is not populated if there are neither EvaluatedDataItemViews nor + /// EvaluatedAnnotations under this ModelEvaluation. #[prost(string, tag="7")] pub annotation_schema_uri: ::prost::alloc::string::String, - /// Aggregated explanation metrics for the Model's prediction output over the - /// data this ModelEvaluation uses. This field is populated only if the Model - /// is evaluated with explanations, and only for AutoML tabular Models. + /// Aggregated explanation metrics for the Model's prediction output over the + /// data this ModelEvaluation uses. This field is populated only if the Model + /// is evaluated with explanations, and only for AutoML tabular Models. /// #[prost(message, optional, tag="8")] pub model_explanation: ::core::option::Option, - /// Describes the values of \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] that are used for explaining - /// the predicted values on the evaluated data. + /// Describes the values of \[ExplanationSpec][google.cloud.aiplatform.v1.ExplanationSpec\] that are used for explaining + /// the predicted values on the evaluated data. #[prost(message, repeated, tag="9")] pub explanation_specs: ::prost::alloc::vec::Vec, - /// The metadata of the ModelEvaluation. - /// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a - /// structured value with keys of "pipeline_job_id", "evaluation_dataset_type", - /// "evaluation_dataset_path". + /// The metadata of the ModelEvaluation. + /// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a + /// structured value with keys of "pipeline_job_id", "evaluation_dataset_type", + /// "evaluation_dataset_path". #[prost(message, optional, tag="11")] pub metadata: ::core::option::Option<::prost_types::Value>, } @@ -12899,127 +12899,127 @@ pub struct ModelEvaluation { pub mod model_evaluation { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluationExplanationSpec { - /// Explanation type. + /// Explanation type. /// - /// For AutoML Image Classification models, possible values are: + /// For AutoML Image Classification models, possible values are: /// /// * `image-integrated-gradients` /// * `image-xrai` #[prost(string, tag="1")] pub explanation_type: ::prost::alloc::string::String, - /// Explanation spec details. + /// Explanation spec details. #[prost(message, optional, tag="2")] pub explanation_spec: ::core::option::Option, } } -/// A collection of metrics calculated by comparing Model's predictions on a -/// slice of the test data against ground truth annotations. +/// A collection of metrics calculated by comparing Model's predictions on a +/// slice of the test data against ground truth annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluationSlice { - /// Output only. The resource name of the ModelEvaluationSlice. + /// Output only. The resource name of the ModelEvaluationSlice. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The slice of the test data that is used to evaluate the Model. + /// Output only. The slice of the test data that is used to evaluate the Model. #[prost(message, optional, tag="2")] pub slice: ::core::option::Option, - /// Output only. Points to a YAML file stored on Google Cloud Storage describing the - /// \[metrics][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics\] of this ModelEvaluationSlice. The - /// schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). + /// Output only. Points to a YAML file stored on Google Cloud Storage describing the + /// \[metrics][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics\] of this ModelEvaluationSlice. The + /// schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). #[prost(string, tag="3")] pub metrics_schema_uri: ::prost::alloc::string::String, - /// Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored - /// in \[metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics_schema_uri\] + /// Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored + /// in \[metrics_schema_uri][google.cloud.aiplatform.v1.ModelEvaluationSlice.metrics_schema_uri\] #[prost(message, optional, tag="4")] pub metrics: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this ModelEvaluationSlice was created. + /// Output only. Timestamp when this ModelEvaluationSlice was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `ModelEvaluationSlice`. pub mod model_evaluation_slice { - /// Definition of a slice. + /// Definition of a slice. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Slice { - /// Output only. The dimension of the slice. - /// Well-known dimensions are: + /// Output only. The dimension of the slice. + /// Well-known dimensions are: /// * `annotationSpec`: This slice is on the test data that has either /// ground truth or prediction with \[AnnotationSpec.display_name][google.cloud.aiplatform.v1.AnnotationSpec.display_name\] /// equals to \[value][google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.value\]. #[prost(string, tag="1")] pub dimension: ::prost::alloc::string::String, - /// Output only. The value of the dimension in this slice. + /// Output only. The value of the dimension in this slice. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } } -/// Request message for \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\]. +/// Request message for \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelRequest { - /// Required. The resource name of the Location into which to upload the Model. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location into which to upload the Model. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The resource name of the model into which to upload the version. Only - /// specify this field when uploading a new version. + /// Optional. The resource name of the model into which to upload the version. Only + /// specify this field when uploading a new version. #[prost(string, tag="4")] pub parent_model: ::prost::alloc::string::String, - /// Optional. The ID to use for the uploaded Model, which will become the final - /// component of the model resource name. + /// Optional. The ID to use for the uploaded Model, which will become the final + /// component of the model resource name. /// - /// This value may be up to 63 characters, and valid characters are - /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. + /// This value may be up to 63 characters, and valid characters are + /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. #[prost(string, tag="5")] pub model_id: ::prost::alloc::string::String, - /// Required. The Model to create. + /// Required. The Model to create. #[prost(message, optional, tag="2")] pub model: ::core::option::Option, } -/// Details of \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\] operation. +/// Details of \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Response message of \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\] operation. +/// Response message of \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelResponse { - /// The name of the uploaded Model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// The name of the uploaded Model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the model that is uploaded. + /// Output only. The version ID of the model that is uploaded. #[prost(string, tag="2")] pub model_version_id: ::prost::alloc::string::String, } -/// Request message for \[ModelService.GetModel][google.cloud.aiplatform.v1.ModelService.GetModel\]. +/// Request message for \[ModelService.GetModel][google.cloud.aiplatform.v1.ModelService.GetModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelRequest { - /// Required. The name of the Model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the Model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` /// - /// In order to retrieve a specific version of the model, also provide - /// the version ID or version alias. + /// In order to retrieve a specific version of the model, also provide + /// the version ID or version alias. /// Example: `projects/{project}/locations/{location}/models/{model}@2` /// or /// `projects/{project}/locations/{location}/models/{model}@golden` - /// If no version ID or alias is specified, the "default" version will be - /// returned. The "default" version alias is created for the first version of - /// the model, and can be moved to other versions later on. There will be - /// exactly one default version. + /// If no version ID or alias is specified, the "default" version will be + /// returned. The "default" version alias is created for the first version of + /// the model, and can be moved to other versions later on. There will be + /// exactly one default version. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\]. +/// Request message for \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. The resource name of the Location to list the Models from. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the Models from. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `model` supports = and !=. `model` represents the Model ID, /// i.e. the last segment of the Model's [resource name]\[google.cloud.aiplatform.v1.Model.name\]. @@ -13029,352 +13029,352 @@ pub struct ListModelsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `model=1234` /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelsResponse.next_page_token\] of the previous - /// \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelsResponse.next_page_token\] of the previous + /// \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// /// * `display_name` /// * `create_time` /// * `update_time` /// - /// Example: `display_name, create_time desc`. + /// Example: `display_name, create_time desc`. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\] +/// Response message for \[ModelService.ListModels][google.cloud.aiplatform.v1.ModelService.ListModels\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// List of Models in the requested page. + /// List of Models in the requested page. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelsRequest.page_token][google.cloud.aiplatform.v1.ListModelsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelsRequest.page_token][google.cloud.aiplatform.v1.ListModelsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1.ModelService.ListModelVersions\]. +/// Request message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1.ModelService.ListModelVersions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelVersionsRequest { - /// Required. The name of the model to list versions for. + /// Required. The name of the model to list versions for. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="2")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelVersionsResponse.next_page_token\] of the previous - /// \[ModelService.ListModelversions][\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelVersionsResponse.next_page_token\] of the previous + /// \[ModelService.ListModelversions][\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `labels` supports general map functions that is: /// * `labels.key=value` - key:value equality /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `labels.myKey="myValue"` #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1.ModelService.ListModelVersions\] +/// Response message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1.ModelService.ListModelVersions\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelVersionsResponse { - /// List of Model versions in the requested page. - /// In the returned Model name field, version ID instead of regvision tag will - /// be included. + /// List of Model versions in the requested page. + /// In the returned Model name field, version ID instead of regvision tag will + /// be included. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListModelVersionsRequest.page_token][google.cloud.aiplatform.v1.ListModelVersionsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListModelVersionsRequest.page_token][google.cloud.aiplatform.v1.ListModelVersionsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.UpdateModel][google.cloud.aiplatform.v1.ModelService.UpdateModel\]. +/// Request message for \[ModelService.UpdateModel][google.cloud.aiplatform.v1.ModelService.UpdateModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelRequest { - /// Required. The Model which replaces the resource on the server. - /// When Model Versioning is enabled, the model.name will be used to determine - /// whether to update the model or model version. - /// 1. model.name with the @ value, e.g. models/123@1, refers to a version - /// specific update. - /// 2. model.name without the @ value, e.g. models/123, refers to a model - /// update. - /// 3. model.name with @-, e.g. models/123@-, refers to a model update. - /// 4. Supported model fields: display_name, description; supported - /// version-specific fields: version_description. Labels are supported in both - /// scenarios. Both the model labels and the version labels are merged when a - /// model is returned. When updating labels, if the request is for - /// model-specific update, model label gets updated. Otherwise, version labels - /// get updated. - /// 5. A model name or model version name fields update mismatch will cause a - /// precondition error. - /// 6. One request cannot update both the model and the version fields. You - /// must update them separately. + /// Required. The Model which replaces the resource on the server. + /// When Model Versioning is enabled, the model.name will be used to determine + /// whether to update the model or model version. + /// 1. model.name with the @ value, e.g. models/123@1, refers to a version + /// specific update. + /// 2. model.name without the @ value, e.g. models/123, refers to a model + /// update. + /// 3. model.name with @-, e.g. models/123@-, refers to a model update. + /// 4. Supported model fields: display_name, description; supported + /// version-specific fields: version_description. Labels are supported in both + /// scenarios. Both the model labels and the version labels are merged when a + /// model is returned. When updating labels, if the request is for + /// model-specific update, model label gets updated. Otherwise, version labels + /// get updated. + /// 5. A model name or model version name fields update mismatch will cause a + /// precondition error. + /// 6. One request cannot update both the model and the version fields. You + /// must update them separately. #[prost(message, optional, tag="1")] pub model: ::core::option::Option, - /// Required. The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[ModelService.DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel\]. +/// Request message for \[ModelService.DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelRequest { - /// Required. The name of the Model resource to be deleted. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the Model resource to be deleted. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.DeleteModelVersion][google.cloud.aiplatform.v1.ModelService.DeleteModelVersion\]. +/// Request message for \[ModelService.DeleteModelVersion][google.cloud.aiplatform.v1.ModelService.DeleteModelVersion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelVersionRequest { - /// Required. The name of the model version to be deleted, with a version ID explicitly - /// included. + /// Required. The name of the model version to be deleted, with a version ID explicitly + /// included. /// - /// Example: `projects/{project}/locations/{location}/models/{model}@1234` + /// Example: `projects/{project}/locations/{location}/models/{model}@1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.MergeVersionAliases][google.cloud.aiplatform.v1.ModelService.MergeVersionAliases\]. +/// Request message for \[ModelService.MergeVersionAliases][google.cloud.aiplatform.v1.ModelService.MergeVersionAliases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MergeVersionAliasesRequest { - /// Required. The name of the model version to merge aliases, with a version ID - /// explicitly included. + /// Required. The name of the model version to merge aliases, with a version ID + /// explicitly included. /// - /// Example: `projects/{project}/locations/{location}/models/{model}@1234` + /// Example: `projects/{project}/locations/{location}/models/{model}@1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The set of version aliases to merge. - /// The alias should be at most 128 characters, and match - /// `\[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9\]`. - /// Add the `-` prefix to an alias means removing that alias from the version. - /// `-` is NOT counted in the 128 characters. Example: `-golden` means removing - /// the `golden` alias from the version. - /// - /// There is NO ordering in aliases, which means - /// 1) The aliases returned from GetModel API might not have the exactly same - /// order from this MergeVersionAliases API. 2) Adding and deleting the same - /// alias in the request is not recommended, and the 2 operations will be - /// cancelled out. + /// Required. The set of version aliases to merge. + /// The alias should be at most 128 characters, and match + /// `\[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9\]`. + /// Add the `-` prefix to an alias means removing that alias from the version. + /// `-` is NOT counted in the 128 characters. Example: `-golden` means removing + /// the `golden` alias from the version. + /// + /// There is NO ordering in aliases, which means + /// 1) The aliases returned from GetModel API might not have the exactly same + /// order from this MergeVersionAliases API. 2) Adding and deleting the same + /// alias in the request is not recommended, and the 2 operations will be + /// cancelled out. #[prost(string, repeated, tag="2")] pub version_aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\]. +/// Request message for \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelRequest { - /// Required. The resource name of the Model to export. - /// The resource name may contain version id or version alias to specify the - /// version, if no version is specified, the default version will be exported. + /// Required. The resource name of the Model to export. + /// The resource name may contain version id or version alias to specify the + /// version, if no version is specified, the default version will be exported. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location and configuration. + /// Required. The desired output location and configuration. #[prost(message, optional, tag="2")] pub output_config: ::core::option::Option, } /// Nested message and enum types in `ExportModelRequest`. pub mod export_model_request { - /// Output configuration for the Model export. + /// Output configuration for the Model export. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// The ID of the format in which the Model must be exported. Each Model - /// lists the [export formats it supports]\[google.cloud.aiplatform.v1.Model.supported_export_formats\]. - /// If no value is provided here, then the first from the list of the Model's - /// supported formats is used by default. + /// The ID of the format in which the Model must be exported. Each Model + /// lists the [export formats it supports]\[google.cloud.aiplatform.v1.Model.supported_export_formats\]. + /// If no value is provided here, then the first from the list of the Model's + /// supported formats is used by default. #[prost(string, tag="1")] pub export_format_id: ::prost::alloc::string::String, - /// The Cloud Storage location where the Model artifact is to be - /// written to. Under the directory given as the destination a new one with - /// name "`model-export--`", - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - /// will be created. Inside, the Model and any of its supporting files - /// will be written. - /// This field should only be set when the `exportableContent` field of the - /// \[Model.supported_export_formats\] object contains `ARTIFACT`. + /// The Cloud Storage location where the Model artifact is to be + /// written to. Under the directory given as the destination a new one with + /// name "`model-export--`", + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, + /// will be created. Inside, the Model and any of its supporting files + /// will be written. + /// This field should only be set when the `exportableContent` field of the + /// \[Model.supported_export_formats\] object contains `ARTIFACT`. #[prost(message, optional, tag="3")] pub artifact_destination: ::core::option::Option, - /// The Google Container Registry or Artifact Registry uri where the - /// Model container image will be copied to. - /// This field should only be set when the `exportableContent` field of the - /// \[Model.supported_export_formats\] object contains `IMAGE`. + /// The Google Container Registry or Artifact Registry uri where the + /// Model container image will be copied to. + /// This field should only be set when the `exportableContent` field of the + /// \[Model.supported_export_formats\] object contains `IMAGE`. #[prost(message, optional, tag="4")] pub image_destination: ::core::option::Option, } } -/// Details of \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\] operation. +/// Details of \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Output only. Information further describing the output of this Model export. + /// Output only. Information further describing the output of this Model export. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportModelOperationMetadata`. pub mod export_model_operation_metadata { - /// Further describes the output of the ExportModel. Supplements - /// \[ExportModelRequest.OutputConfig][google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig\]. + /// Further describes the output of the ExportModel. Supplements + /// \[ExportModelRequest.OutputConfig][google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputInfo { - /// Output only. If the Model artifact is being exported to Google Cloud Storage this is - /// the full path of the directory created, into which the Model files are - /// being written to. + /// Output only. If the Model artifact is being exported to Google Cloud Storage this is + /// the full path of the directory created, into which the Model files are + /// being written to. #[prost(string, tag="2")] pub artifact_output_uri: ::prost::alloc::string::String, - /// Output only. If the Model image is being exported to Google Container Registry or - /// Artifact Registry this is the full path of the image created. + /// Output only. If the Model image is being exported to Google Container Registry or + /// Artifact Registry this is the full path of the image created. #[prost(string, tag="3")] pub image_output_uri: ::prost::alloc::string::String, } } -/// Response message of \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\] operation. +/// Response message of \[ModelService.ExportModel][google.cloud.aiplatform.v1.ModelService.ExportModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelResponse { } -/// Request message for \[ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation\] +/// Request message for \[ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1.ModelService.ImportModelEvaluation\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportModelEvaluationRequest { - /// Required. The name of the parent model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the parent model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Model evaluation resource to be imported. + /// Required. Model evaluation resource to be imported. #[prost(message, optional, tag="2")] pub model_evaluation: ::core::option::Option, } -/// Request message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices\] +/// Request message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchImportModelEvaluationSlicesRequest { - /// Required. The name of the parent ModelEvaluation resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The name of the parent ModelEvaluation resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Model evaluation slice resource to be imported. + /// Required. Model evaluation slice resource to be imported. #[prost(message, repeated, tag="2")] pub model_evaluation_slices: ::prost::alloc::vec::Vec, } -/// Response message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices\] +/// Response message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.BatchImportModelEvaluationSlices\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchImportModelEvaluationSlicesResponse { - /// Output only. List of imported \[ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name\]. + /// Output only. List of imported \[ModelEvaluationSlice.name][google.cloud.aiplatform.v1.ModelEvaluationSlice.name\]. #[prost(string, repeated, tag="1")] pub imported_model_evaluation_slices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[ModelService.GetModelEvaluation][google.cloud.aiplatform.v1.ModelService.GetModelEvaluation\]. +/// Request message for \[ModelService.GetModelEvaluation][google.cloud.aiplatform.v1.ModelService.GetModelEvaluation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationRequest { - /// Required. The name of the ModelEvaluation resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The name of the ModelEvaluation resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\]. +/// Request message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsRequest { - /// Required. The resource name of the Model to list the ModelEvaluations from. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The resource name of the Model to list the ModelEvaluations from. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelEvaluationsResponse.next_page_token\] of the previous - /// \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.aiplatform.v1.ListModelEvaluationsResponse.next_page_token\] of the previous + /// \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\]. +/// Response message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1.ModelService.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsResponse { - /// List of ModelEvaluations in the requested page. + /// List of ModelEvaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluations: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.GetModelEvaluationSlice][google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice\]. +/// Request message for \[ModelService.GetModelEvaluationSlice][google.cloud.aiplatform.v1.ModelService.GetModelEvaluationSlice\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationSliceRequest { - /// Required. The name of the ModelEvaluationSlice resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` + /// Required. The name of the ModelEvaluationSlice resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\]. +/// Request message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationSlicesRequest { - /// Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices - /// from. Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices + /// from. Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// /// * `slice.dimension` - for =. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelEvaluationSlicesResponse.next_page_token][google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse.next_page_token\] of the previous - /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelEvaluationSlicesResponse.next_page_token][google.cloud.aiplatform.v1.ListModelEvaluationSlicesResponse.next_page_token\] of the previous + /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\]. +/// Response message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1.ModelService.ListModelEvaluationSlices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationSlicesResponse { - /// List of ModelEvaluations in the requested page. + /// List of ModelEvaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluation_slices: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelEvaluationSlicesRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest.page_token\] to obtain that - /// page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelEvaluationSlicesRequest.page_token][google.cloud.aiplatform.v1.ListModelEvaluationSlicesRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -13783,22 +13783,22 @@ pub mod model_service_client { } } } -/// Represents the failure policy of a pipeline. Currently, the default of a -/// pipeline is that the pipeline will continue to run until no more tasks can be -/// executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a -/// pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling -/// any new tasks when a task has failed. Any scheduled tasks will continue to -/// completion. +/// Represents the failure policy of a pipeline. Currently, the default of a +/// pipeline is that the pipeline will continue to run until no more tasks can be +/// executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a +/// pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling +/// any new tasks when a task has failed. Any scheduled tasks will continue to +/// completion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PipelineFailurePolicy { - /// Default value, and follows fail slow behavior. + /// Default value, and follows fail slow behavior. Unspecified = 0, - /// Indicates that the pipeline should continue to run until all possible - /// tasks have been scheduled and completed. + /// Indicates that the pipeline should continue to run until all possible + /// tasks have been scheduled and completed. FailSlow = 1, - /// Indicates that the pipeline should stop scheduling new tasks after a task - /// has failed. + /// Indicates that the pipeline should stop scheduling new tasks after a task + /// has failed. FailFast = 2, } impl PipelineFailurePolicy { @@ -13814,30 +13814,30 @@ impl PipelineFailurePolicy { } } } -/// Describes the state of a pipeline. +/// Describes the state of a pipeline. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PipelineState { - /// The pipeline state is unspecified. + /// The pipeline state is unspecified. Unspecified = 0, - /// The pipeline has been created or resumed, and processing has not yet - /// begun. + /// The pipeline has been created or resumed, and processing has not yet + /// begun. Queued = 1, - /// The service is preparing to run the pipeline. + /// The service is preparing to run the pipeline. Pending = 2, - /// The pipeline is in progress. + /// The pipeline is in progress. Running = 3, - /// The pipeline completed successfully. + /// The pipeline completed successfully. Succeeded = 4, - /// The pipeline failed. + /// The pipeline failed. Failed = 5, - /// The pipeline is being cancelled. From this state, the pipeline may only go - /// to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or - /// PIPELINE_STATE_CANCELLED. + /// The pipeline is being cancelled. From this state, the pipeline may only go + /// to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or + /// PIPELINE_STATE_CANCELLED. Cancelling = 6, - /// The pipeline has been cancelled. + /// The pipeline has been cancelled. Cancelled = 7, - /// The pipeline has been stopped, and can be resumed. + /// The pipeline has been stopped, and can be resumed. Paused = 8, } impl PipelineState { @@ -13859,7 +13859,7 @@ impl PipelineState { } } } -/// Value is the value of the field. +/// Value is the value of the field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { #[prost(oneof="value::Value", tags="1, 2, 3")] @@ -13869,149 +13869,149 @@ pub struct Value { pub mod value { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// An integer value. + /// An integer value. #[prost(int64, tag="1")] IntValue(i64), - /// A double value. + /// A double value. #[prost(double, tag="2")] DoubleValue(f64), - /// A string value. + /// A string value. #[prost(string, tag="3")] StringValue(::prost::alloc::string::String), } } -/// An instance of a machine learning PipelineJob. +/// An instance of a machine learning PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineJob { - /// Output only. The resource name of the PipelineJob. + /// Output only. The resource name of the PipelineJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the Pipeline. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// The display name of the Pipeline. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. Pipeline creation time. + /// Output only. Pipeline creation time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Pipeline start time. + /// Output only. Pipeline start time. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Pipeline end time. + /// Output only. Pipeline end time. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this PipelineJob was most recently updated. + /// Output only. Timestamp when this PipelineJob was most recently updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The spec of the pipeline. + /// The spec of the pipeline. #[prost(message, optional, tag="7")] pub pipeline_spec: ::core::option::Option<::prost_types::Struct>, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="PipelineState", tag="8")] pub state: i32, - /// Output only. The details of pipeline run. Not available in the list view. + /// Output only. The details of pipeline run. Not available in the list view. #[prost(message, optional, tag="9")] pub job_detail: ::core::option::Option, - /// Output only. The error that occurred during pipeline execution. - /// Only populated when the pipeline's state is FAILED or CANCELLED. + /// Output only. The error that occurred during pipeline execution. + /// Only populated when the pipeline's state is FAILED or CANCELLED. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize PipelineJob. + /// The labels with user-defined metadata to organize PipelineJob. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Runtime config of the pipeline. + /// Runtime config of the pipeline. #[prost(message, optional, tag="12")] pub runtime_config: ::core::option::Option, - /// Customer-managed encryption key spec for a pipelineJob. If set, this - /// PipelineJob and all of its sub-resources will be secured by this key. + /// Customer-managed encryption key spec for a pipelineJob. If set, this + /// PipelineJob and all of its sub-resources will be secured by this key. #[prost(message, optional, tag="16")] pub encryption_spec: ::core::option::Option, - /// The service account that the pipeline workload runs as. - /// If not specified, the Compute Engine default service account in the project - /// will be used. - /// See - /// - /// - /// Users starting the pipeline must have the `iam.serviceAccounts.actAs` - /// permission on this service account. + /// The service account that the pipeline workload runs as. + /// If not specified, the Compute Engine default service account in the project + /// will be used. + /// See + /// + /// + /// Users starting the pipeline must have the `iam.serviceAccounts.actAs` + /// permission on this service account. #[prost(string, tag="17")] pub service_account: ::prost::alloc::string::String, - /// The full name of the Compute Engine - /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the - /// Pipeline Job's workload should be peered. For example, - /// `projects/12345/global/networks/myVPC`. - /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) - /// is of the form `projects/{project}/global/networks/{network}`. - /// Where {project} is a project number, as in `12345`, and {network} is a - /// network name. - /// - /// Private services access must already be configured for the network. - /// Pipeline job will apply the network configuration to the GCP resources - /// being launched, if applied, such as Vertex AI - /// Training or Dataflow job. If left unspecified, the workload is not peered - /// with any network. + /// The full name of the Compute Engine + /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the + /// Pipeline Job's workload should be peered. For example, + /// `projects/12345/global/networks/myVPC`. + /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) + /// is of the form `projects/{project}/global/networks/{network}`. + /// Where {project} is a project number, as in `12345`, and {network} is a + /// network name. + /// + /// Private services access must already be configured for the network. + /// Pipeline job will apply the network configuration to the GCP resources + /// being launched, if applied, such as Vertex AI + /// Training or Dataflow job. If left unspecified, the workload is not peered + /// with any network. #[prost(string, tag="18")] pub network: ::prost::alloc::string::String, - /// A template uri from where the \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\], if empty, will - /// be downloaded. + /// A template uri from where the \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\], if empty, will + /// be downloaded. #[prost(string, tag="19")] pub template_uri: ::prost::alloc::string::String, - /// Output only. Pipeline template metadata. Will fill up fields if - /// \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is from supported template registry. + /// Output only. Pipeline template metadata. Will fill up fields if + /// \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is from supported template registry. #[prost(message, optional, tag="20")] pub template_metadata: ::core::option::Option, } /// Nested message and enum types in `PipelineJob`. pub mod pipeline_job { - /// The runtime config of a PipelineJob. + /// The runtime config of a PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeConfig { - /// Deprecated. Use \[RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values\] instead. The runtime - /// parameters of the PipelineJob. The parameters will be passed into - /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] to replace the placeholders at runtime. - /// This field is used by pipelines built using - /// `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as - /// pipelines built using Kubeflow Pipelines SDK 1.8 or lower. + /// Deprecated. Use \[RuntimeConfig.parameter_values][google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig.parameter_values\] instead. The runtime + /// parameters of the PipelineJob. The parameters will be passed into + /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] to replace the placeholders at runtime. + /// This field is used by pipelines built using + /// `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as + /// pipelines built using Kubeflow Pipelines SDK 1.8 or lower. #[prost(map="string, message", tag="1")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, super::Value>, - /// Required. A path in a Cloud Storage bucket, which will be treated as the root - /// output directory of the pipeline. It is used by the system to - /// generate the paths of output artifacts. The artifact paths are generated - /// with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the - /// specified output directory. The service account specified in this - /// pipeline must have the `storage.objects.get` and `storage.objects.create` - /// permissions for this bucket. + /// Required. A path in a Cloud Storage bucket, which will be treated as the root + /// output directory of the pipeline. It is used by the system to + /// generate the paths of output artifacts. The artifact paths are generated + /// with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the + /// specified output directory. The service account specified in this + /// pipeline must have the `storage.objects.get` and `storage.objects.create` + /// permissions for this bucket. #[prost(string, tag="2")] pub gcs_output_directory: ::prost::alloc::string::String, - /// The runtime parameters of the PipelineJob. The parameters will be - /// passed into \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] to replace the placeholders - /// at runtime. This field is used by pipelines built using - /// `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built - /// using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. + /// The runtime parameters of the PipelineJob. The parameters will be + /// passed into \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] to replace the placeholders + /// at runtime. This field is used by pipelines built using + /// `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built + /// using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. #[prost(map="string, message", tag="3")] pub parameter_values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::Value>, - /// Represents the failure policy of a pipeline. Currently, the default of a - /// pipeline is that the pipeline will continue to run until no more tasks - /// can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. - /// However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it - /// will stop scheduling any new tasks when a task has failed. Any scheduled - /// tasks will continue to completion. + /// Represents the failure policy of a pipeline. Currently, the default of a + /// pipeline is that the pipeline will continue to run until no more tasks + /// can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. + /// However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it + /// will stop scheduling any new tasks when a task has failed. Any scheduled + /// tasks will continue to completion. #[prost(enumeration="super::PipelineFailurePolicy", tag="4")] pub failure_policy: i32, - /// The runtime artifacts of the PipelineJob. The key will be the input - /// artifact name and the value would be one of the InputArtifact. + /// The runtime artifacts of the PipelineJob. The key will be the input + /// artifact name and the value would be one of the InputArtifact. #[prost(map="string, message", tag="5")] pub input_artifacts: ::std::collections::HashMap<::prost::alloc::string::String, runtime_config::InputArtifact>, } /// Nested message and enum types in `RuntimeConfig`. pub mod runtime_config { - /// The type of an input artifact. + /// The type of an input artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputArtifact { #[prost(oneof="input_artifact::Kind", tags="1")] @@ -14021,143 +14021,143 @@ pub mod pipeline_job { pub mod input_artifact { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Artifact resource id from MLMD. Which is the last portion of an - /// artifact resource - /// name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}). - /// The artifact must stay within the same project, location and default - /// metadatastore as the pipeline. + /// Artifact resource id from MLMD. Which is the last portion of an + /// artifact resource + /// name(projects/{project}/locations/{location}/metadataStores/default/artifacts/{artifact_id}). + /// The artifact must stay within the same project, location and default + /// metadatastore as the pipeline. #[prost(string, tag="1")] ArtifactId(::prost::alloc::string::String), } } } } -/// Pipeline template metadata if \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is from supported -/// template registry. Currently, the only supported registry is Artifact -/// Registry. +/// Pipeline template metadata if \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is from supported +/// template registry. Currently, the only supported registry is Artifact +/// Registry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTemplateMetadata { - /// The version_name in artifact registry. + /// The version_name in artifact registry. /// - /// Will always be presented in output if the \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is - /// from supported template registry. + /// Will always be presented in output if the \[PipelineJob.template_uri][google.cloud.aiplatform.v1.PipelineJob.template_uri\] is + /// from supported template registry. /// - /// Format is "sha256:abcdef123456...". + /// Format is "sha256:abcdef123456...". #[prost(string, tag="3")] pub version: ::prost::alloc::string::String, } -/// The runtime detail of PipelineJob. +/// The runtime detail of PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineJobDetail { - /// Output only. The context of the pipeline. + /// Output only. The context of the pipeline. #[prost(message, optional, tag="1")] pub pipeline_context: ::core::option::Option, - /// Output only. The context of the current pipeline run. + /// Output only. The context of the current pipeline run. #[prost(message, optional, tag="2")] pub pipeline_run_context: ::core::option::Option, - /// Output only. The runtime details of the tasks under the pipeline. + /// Output only. The runtime details of the tasks under the pipeline. #[prost(message, repeated, tag="3")] pub task_details: ::prost::alloc::vec::Vec, } -/// The runtime detail of a task execution. +/// The runtime detail of a task execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskDetail { - /// Output only. The system generated ID of the task. + /// Output only. The system generated ID of the task. #[prost(int64, tag="1")] pub task_id: i64, - /// Output only. The id of the parent task if the task is within a component scope. - /// Empty if the task is at the root level. + /// Output only. The id of the parent task if the task is within a component scope. + /// Empty if the task is at the root level. #[prost(int64, tag="12")] pub parent_task_id: i64, - /// Output only. The user specified name of the task that is defined in - /// \[PipelineJob.spec][\]. + /// Output only. The user specified name of the task that is defined in + /// \[PipelineJob.spec][\]. #[prost(string, tag="2")] pub task_name: ::prost::alloc::string::String, - /// Output only. Task create time. + /// Output only. Task create time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Task start time. + /// Output only. Task start time. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Task end time. + /// Output only. Task end time. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The detailed execution info. + /// Output only. The detailed execution info. #[prost(message, optional, tag="6")] pub executor_detail: ::core::option::Option, - /// Output only. State of the task. + /// Output only. State of the task. #[prost(enumeration="pipeline_task_detail::State", tag="7")] pub state: i32, - /// Output only. The execution metadata of the task. + /// Output only. The execution metadata of the task. #[prost(message, optional, tag="8")] pub execution: ::core::option::Option, - /// Output only. The error that occurred during task execution. - /// Only populated when the task's state is FAILED or CANCELLED. + /// Output only. The error that occurred during task execution. + /// Only populated when the task's state is FAILED or CANCELLED. #[prost(message, optional, tag="9")] pub error: ::core::option::Option, - /// Output only. A list of task status. This field keeps a record of task status evolving - /// over time. + /// Output only. A list of task status. This field keeps a record of task status evolving + /// over time. #[prost(message, repeated, tag="13")] pub pipeline_task_status: ::prost::alloc::vec::Vec, - /// Output only. The runtime input artifacts of the task. + /// Output only. The runtime input artifacts of the task. #[prost(map="string, message", tag="10")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, pipeline_task_detail::ArtifactList>, - /// Output only. The runtime output artifacts of the task. + /// Output only. The runtime output artifacts of the task. #[prost(map="string, message", tag="11")] pub outputs: ::std::collections::HashMap<::prost::alloc::string::String, pipeline_task_detail::ArtifactList>, } /// Nested message and enum types in `PipelineTaskDetail`. pub mod pipeline_task_detail { - /// A single record of the task status. + /// A single record of the task status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskStatus { - /// Output only. Update time of this status. + /// Output only. Update time of this status. #[prost(message, optional, tag="1")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The state of the task. + /// Output only. The state of the task. #[prost(enumeration="State", tag="2")] pub state: i32, - /// Output only. The error that occurred during the state. May be set when the state is - /// any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. - /// If the state is FAILED, the error here is final and not going to be - /// retried. - /// If the state is a non-final state, the error indicates a system-error - /// being retried. + /// Output only. The error that occurred during the state. May be set when the state is + /// any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + /// If the state is FAILED, the error here is final and not going to be + /// retried. + /// If the state is a non-final state, the error indicates a system-error + /// being retried. #[prost(message, optional, tag="3")] pub error: ::core::option::Option, } - /// A list of artifact metadata. + /// A list of artifact metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArtifactList { - /// Output only. A list of artifact metadata. + /// Output only. A list of artifact metadata. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, } - /// Specifies state of TaskExecution + /// Specifies state of TaskExecution #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Specifies pending state for the task. + /// Specifies pending state for the task. Pending = 1, - /// Specifies task is being executed. + /// Specifies task is being executed. Running = 2, - /// Specifies task completed successfully. + /// Specifies task completed successfully. Succeeded = 3, - /// Specifies Task cancel is in pending state. + /// Specifies Task cancel is in pending state. CancelPending = 4, - /// Specifies task is being cancelled. + /// Specifies task is being cancelled. Cancelling = 5, - /// Specifies task was cancelled. + /// Specifies task was cancelled. Cancelled = 6, - /// Specifies task failed. + /// Specifies task failed. Failed = 7, - /// Specifies task was skipped due to cache hit. + /// Specifies task was skipped due to cache hit. Skipped = 8, - /// Specifies that the task was not triggered because the task's trigger - /// policy is not satisfied. The trigger policy is specified in the - /// `condition` field of \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\]. + /// Specifies that the task was not triggered because the task's trigger + /// policy is not satisfied. The trigger policy is specified in the + /// `condition` field of \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\]. NotTriggered = 9, } impl State { @@ -14181,7 +14181,7 @@ pub mod pipeline_task_detail { } } } -/// The runtime detail of a pipeline executor. +/// The runtime detail of a pipeline executor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskExecutorDetail { #[prost(oneof="pipeline_task_executor_detail::Details", tags="1, 2")] @@ -14189,474 +14189,474 @@ pub struct PipelineTaskExecutorDetail { } /// Nested message and enum types in `PipelineTaskExecutorDetail`. pub mod pipeline_task_executor_detail { - /// The detail of a container execution. It contains the job names of the - /// lifecycle of a container execution. + /// The detail of a container execution. It contains the job names of the + /// lifecycle of a container execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerDetail { - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\] for the main container execution. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\] for the main container execution. #[prost(string, tag="1")] pub main_job: ::prost::alloc::string::String, - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\] for the pre-caching-check container - /// execution. This job will be available if the - /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] specifies the `pre_caching_check` hook in - /// the lifecycle events. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\] for the pre-caching-check container + /// execution. This job will be available if the + /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1.PipelineJob.pipeline_spec\] specifies the `pre_caching_check` hook in + /// the lifecycle events. #[prost(string, tag="2")] pub pre_caching_check_job: ::prost::alloc::string::String, } - /// The detailed info for a custom job executor. + /// The detailed info for a custom job executor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJobDetail { - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\]. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1.CustomJob\]. #[prost(string, tag="1")] pub job: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Output only. The detailed info for a container executor. + /// Output only. The detailed info for a container executor. #[prost(message, tag="1")] ContainerDetail(ContainerDetail), - /// Output only. The detailed info for a custom job executor. + /// Output only. The detailed info for a custom job executor. #[prost(message, tag="2")] CustomJobDetail(CustomJobDetail), } } -/// The TrainingPipeline orchestrates tasks associated with training a Model. It -/// always executes the training task, and optionally may also -/// export data from Vertex AI's Dataset which becomes the training input, -/// \[upload][google.cloud.aiplatform.v1.ModelService.UploadModel\] the Model to Vertex AI, and evaluate the -/// Model. +/// The TrainingPipeline orchestrates tasks associated with training a Model. It +/// always executes the training task, and optionally may also +/// export data from Vertex AI's Dataset which becomes the training input, +/// \[upload][google.cloud.aiplatform.v1.ModelService.UploadModel\] the Model to Vertex AI, and evaluate the +/// Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingPipeline { - /// Output only. Resource name of the TrainingPipeline. + /// Output only. Resource name of the TrainingPipeline. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of this TrainingPipeline. + /// Required. The user-defined name of this TrainingPipeline. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Specifies Vertex AI owned input data that may be used for training the - /// Model. The TrainingPipeline's \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] should make - /// clear whether this config is used and if there are any special requirements - /// on how it should be filled. If nothing about this config is mentioned in - /// the \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\], then it should be assumed that the - /// TrainingPipeline does not depend on this configuration. + /// Specifies Vertex AI owned input data that may be used for training the + /// Model. The TrainingPipeline's \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] should make + /// clear whether this config is used and if there are any special requirements + /// on how it should be filled. If nothing about this config is mentioned in + /// the \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\], then it should be assumed that the + /// TrainingPipeline does not depend on this configuration. #[prost(message, optional, tag="3")] pub input_data_config: ::core::option::Option, - /// Required. A Google Cloud Storage path to the YAML file that defines the training task - /// which is responsible for producing the model artifact, and may also include - /// additional auxiliary work. - /// The definition files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/trainingjob/definition/. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Required. A Google Cloud Storage path to the YAML file that defines the training task + /// which is responsible for producing the model artifact, and may also include + /// additional auxiliary work. + /// The definition files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/trainingjob/definition/. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="4")] pub training_task_definition: ::prost::alloc::string::String, - /// Required. The training task's parameter(s), as specified in the - /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]'s `inputs`. + /// Required. The training task's parameter(s), as specified in the + /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]'s `inputs`. #[prost(message, optional, tag="5")] pub training_task_inputs: ::core::option::Option<::prost_types::Value>, - /// Output only. The metadata information as specified in the \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]'s - /// `metadata`. This metadata is an auxiliary runtime and final information - /// about the training task. While the pipeline is running this information is - /// populated only at a best effort basis. Only present if the - /// pipeline's \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] contains `metadata` object. + /// Output only. The metadata information as specified in the \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]'s + /// `metadata`. This metadata is an auxiliary runtime and final information + /// about the training task. While the pipeline is running this information is + /// populated only at a best effort basis. Only present if the + /// pipeline's \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] contains `metadata` object. #[prost(message, optional, tag="6")] pub training_task_metadata: ::core::option::Option<::prost_types::Value>, - /// Describes the Model that may be uploaded (via \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\]) - /// by this TrainingPipeline. The TrainingPipeline's - /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] should make clear whether this Model - /// description should be populated, and if there are any special requirements - /// regarding how it should be filled. If nothing is mentioned in the - /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\], then it should be assumed that this field - /// should not be filled and the training task either uploads the Model without - /// a need of this information, or that training task does not support - /// uploading a Model as part of the pipeline. - /// When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and - /// the trained Model had been uploaded into Vertex AI, then the - /// model_to_upload's resource \[name][google.cloud.aiplatform.v1.Model.name\] is populated. The Model - /// is always uploaded into the Project and Location in which this pipeline - /// is. + /// Describes the Model that may be uploaded (via \[ModelService.UploadModel][google.cloud.aiplatform.v1.ModelService.UploadModel\]) + /// by this TrainingPipeline. The TrainingPipeline's + /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\] should make clear whether this Model + /// description should be populated, and if there are any special requirements + /// regarding how it should be filled. If nothing is mentioned in the + /// \[training_task_definition][google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\], then it should be assumed that this field + /// should not be filled and the training task either uploads the Model without + /// a need of this information, or that training task does not support + /// uploading a Model as part of the pipeline. + /// When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and + /// the trained Model had been uploaded into Vertex AI, then the + /// model_to_upload's resource \[name][google.cloud.aiplatform.v1.Model.name\] is populated. The Model + /// is always uploaded into the Project and Location in which this pipeline + /// is. #[prost(message, optional, tag="7")] pub model_to_upload: ::core::option::Option, - /// Optional. The ID to use for the uploaded Model, which will become the final - /// component of the model resource name. + /// Optional. The ID to use for the uploaded Model, which will become the final + /// component of the model resource name. /// - /// This value may be up to 63 characters, and valid characters are - /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. + /// This value may be up to 63 characters, and valid characters are + /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. #[prost(string, tag="22")] pub model_id: ::prost::alloc::string::String, - /// Optional. When specify this field, the `model_to_upload` will not be uploaded as a - /// new model, instead, it will become a new version of this `parent_model`. + /// Optional. When specify this field, the `model_to_upload` will not be uploaded as a + /// new model, instead, it will become a new version of this `parent_model`. #[prost(string, tag="21")] pub parent_model: ::prost::alloc::string::String, - /// Output only. The detailed state of the pipeline. + /// Output only. The detailed state of the pipeline. #[prost(enumeration="PipelineState", tag="9")] pub state: i32, - /// Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or - /// `PIPELINE_STATE_CANCELLED`. + /// Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or + /// `PIPELINE_STATE_CANCELLED`. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// Output only. Time when the TrainingPipeline was created. + /// Output only. Time when the TrainingPipeline was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline for the first time entered the - /// `PIPELINE_STATE_RUNNING` state. + /// Output only. Time when the TrainingPipeline for the first time entered the + /// `PIPELINE_STATE_RUNNING` state. #[prost(message, optional, tag="12")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline entered any of the following states: - /// `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, - /// `PIPELINE_STATE_CANCELLED`. + /// Output only. Time when the TrainingPipeline entered any of the following states: + /// `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, + /// `PIPELINE_STATE_CANCELLED`. #[prost(message, optional, tag="13")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline was most recently updated. + /// Output only. Time when the TrainingPipeline was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The labels with user-defined metadata to organize TrainingPipelines. + /// The labels with user-defined metadata to organize TrainingPipelines. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="15")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a TrainingPipeline. If set, this - /// TrainingPipeline will be secured by this key. + /// Customer-managed encryption key spec for a TrainingPipeline. If set, this + /// TrainingPipeline will be secured by this key. /// - /// Note: Model trained by this TrainingPipeline is also secured by this key if - /// \[model_to_upload][google.cloud.aiplatform.v1.TrainingPipeline.encryption_spec\] is not set separately. + /// Note: Model trained by this TrainingPipeline is also secured by this key if + /// \[model_to_upload][google.cloud.aiplatform.v1.TrainingPipeline.encryption_spec\] is not set separately. #[prost(message, optional, tag="18")] pub encryption_spec: ::core::option::Option, } -/// Specifies Vertex AI owned input data to be used for training, and -/// possibly evaluating, the Model. +/// Specifies Vertex AI owned input data to be used for training, and +/// possibly evaluating, the Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputDataConfig { - /// Required. The ID of the Dataset in the same Project and Location which data will be - /// used to train the Model. The Dataset must use schema compatible with - /// Model being trained, and what is compatible should be described in the - /// used TrainingPipeline's \[training_task_definition\] - /// \[google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]. - /// For tabular Datasets, all their data is exported to training, to pick - /// and choose from. + /// Required. The ID of the Dataset in the same Project and Location which data will be + /// used to train the Model. The Dataset must use schema compatible with + /// Model being trained, and what is compatible should be described in the + /// used TrainingPipeline's \[training_task_definition\] + /// \[google.cloud.aiplatform.v1.TrainingPipeline.training_task_definition\]. + /// For tabular Datasets, all their data is exported to training, to pick + /// and choose from. #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, - /// Applicable only to Datasets that have DataItems and Annotations. - /// - /// A filter on Annotations of the Dataset. Only Annotations that both - /// match this filter and belong to DataItems not ignored by the split method - /// are used in respectively training, validation or test role, depending on - /// the role of the DataItem they are on (for the auto-assigned that role is - /// decided by Vertex AI). A filter with same syntax as the one used in - /// \[ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\] may be used, but note - /// here it filters across all Annotations of the Dataset, and not just within - /// a single DataItem. + /// Applicable only to Datasets that have DataItems and Annotations. + /// + /// A filter on Annotations of the Dataset. Only Annotations that both + /// match this filter and belong to DataItems not ignored by the split method + /// are used in respectively training, validation or test role, depending on + /// the role of the DataItem they are on (for the auto-assigned that role is + /// decided by Vertex AI). A filter with same syntax as the one used in + /// \[ListAnnotations][google.cloud.aiplatform.v1.DatasetService.ListAnnotations\] may be used, but note + /// here it filters across all Annotations of the Dataset, and not just within + /// a single DataItem. #[prost(string, tag="6")] pub annotations_filter: ::prost::alloc::string::String, - /// Applicable only to custom training with Datasets that have DataItems and - /// Annotations. - /// - /// Cloud Storage URI that points to a YAML file describing the annotation - /// schema. The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the - /// chosen schema must be consistent with - /// \[metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\] of the Dataset specified by - /// \[dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id\]. - /// - /// Only Annotations that both match this schema and belong to DataItems not - /// ignored by the split method are used in respectively training, validation - /// or test role, depending on the role of the DataItem they are on. - /// - /// When used in conjunction with \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\], the Annotations used - /// for training are filtered by both \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\] and - /// \[annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri\]. + /// Applicable only to custom training with Datasets that have DataItems and + /// Annotations. + /// + /// Cloud Storage URI that points to a YAML file describing the annotation + /// schema. The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the + /// chosen schema must be consistent with + /// \[metadata][google.cloud.aiplatform.v1.Dataset.metadata_schema_uri\] of the Dataset specified by + /// \[dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id\]. + /// + /// Only Annotations that both match this schema and belong to DataItems not + /// ignored by the split method are used in respectively training, validation + /// or test role, depending on the role of the DataItem they are on. + /// + /// When used in conjunction with \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\], the Annotations used + /// for training are filtered by both \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\] and + /// \[annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri\]. #[prost(string, tag="9")] pub annotation_schema_uri: ::prost::alloc::string::String, - /// Only applicable to Datasets that have SavedQueries. + /// Only applicable to Datasets that have SavedQueries. /// - /// The ID of a SavedQuery (annotation set) under the Dataset specified by - /// \[dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id\] used for filtering Annotations for training. + /// The ID of a SavedQuery (annotation set) under the Dataset specified by + /// \[dataset_id][google.cloud.aiplatform.v1.InputDataConfig.dataset_id\] used for filtering Annotations for training. /// - /// Only Annotations that are associated with this SavedQuery are used in - /// respectively training. When used in conjunction with - /// \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\], the Annotations used for training are filtered by - /// both \[saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id\] and \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\]. + /// Only Annotations that are associated with this SavedQuery are used in + /// respectively training. When used in conjunction with + /// \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\], the Annotations used for training are filtered by + /// both \[saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id\] and \[annotations_filter][google.cloud.aiplatform.v1.InputDataConfig.annotations_filter\]. /// - /// Only one of \[saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id\] and \[annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri\] should be - /// specified as both of them represent the same thing: problem type. + /// Only one of \[saved_query_id][google.cloud.aiplatform.v1.InputDataConfig.saved_query_id\] and \[annotation_schema_uri][google.cloud.aiplatform.v1.InputDataConfig.annotation_schema_uri\] should be + /// specified as both of them represent the same thing: problem type. #[prost(string, tag="7")] pub saved_query_id: ::prost::alloc::string::String, - /// The instructions how the input data should be split between the - /// training, validation and test sets. - /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1.InputDataConfig.fraction_split\] is used by default. + /// The instructions how the input data should be split between the + /// training, validation and test sets. + /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1.InputDataConfig.fraction_split\] is used by default. #[prost(oneof="input_data_config::Split", tags="2, 3, 4, 5, 12")] pub split: ::core::option::Option, - /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. + /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. /// - /// The destination of the training data to be written to. + /// The destination of the training data to be written to. /// - /// Supported destination file formats: + /// Supported destination file formats: /// * For non-tabular data: "jsonl". /// * For tabular data: "csv" and "bigquery". /// - /// The following Vertex AI environment variables are passed to containers - /// or python modules of the training task when this field is set: + /// The following Vertex AI environment variables are passed to containers + /// or python modules of the training task when this field is set: /// - /// * AIP_DATA_FORMAT : Exported data format. - /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. - /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. - /// * AIP_TEST_DATA_URI : Sharded exported test data uris. + /// * AIP_DATA_FORMAT : Exported data format. + /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. + /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. + /// * AIP_TEST_DATA_URI : Sharded exported test data uris. #[prost(oneof="input_data_config::Destination", tags="8, 10")] pub destination: ::core::option::Option, } /// Nested message and enum types in `InputDataConfig`. pub mod input_data_config { - /// The instructions how the input data should be split between the - /// training, validation and test sets. - /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1.InputDataConfig.fraction_split\] is used by default. + /// The instructions how the input data should be split between the + /// training, validation and test sets. + /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1.InputDataConfig.fraction_split\] is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Split { - /// Split based on fractions defining the size of each set. + /// Split based on fractions defining the size of each set. #[prost(message, tag="2")] FractionSplit(super::FractionSplit), - /// Split based on the provided filters for each set. + /// Split based on the provided filters for each set. #[prost(message, tag="3")] FilterSplit(super::FilterSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on a predefined key. + /// Split based on a predefined key. #[prost(message, tag="4")] PredefinedSplit(super::PredefinedSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on the timestamp of the input data pieces. + /// Split based on the timestamp of the input data pieces. #[prost(message, tag="5")] TimestampSplit(super::TimestampSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on the distribution of the specified column. + /// Split based on the distribution of the specified column. #[prost(message, tag="12")] StratifiedSplit(super::StratifiedSplit), } - /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. + /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. /// - /// The destination of the training data to be written to. + /// The destination of the training data to be written to. /// - /// Supported destination file formats: + /// Supported destination file formats: /// * For non-tabular data: "jsonl". /// * For tabular data: "csv" and "bigquery". /// - /// The following Vertex AI environment variables are passed to containers - /// or python modules of the training task when this field is set: + /// The following Vertex AI environment variables are passed to containers + /// or python modules of the training task when this field is set: /// - /// * AIP_DATA_FORMAT : Exported data format. - /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. - /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. - /// * AIP_TEST_DATA_URI : Sharded exported test data uris. + /// * AIP_DATA_FORMAT : Exported data format. + /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. + /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. + /// * AIP_TEST_DATA_URI : Sharded exported test data uris. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Cloud Storage location where the training data is to be - /// written to. In the given directory a new directory is created with - /// name: - /// `dataset---` - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - /// All training input data is written into that directory. + /// The Cloud Storage location where the training data is to be + /// written to. In the given directory a new directory is created with + /// name: + /// `dataset---` + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. + /// All training input data is written into that directory. /// - /// The Vertex AI environment variables representing Cloud Storage - /// data URIs are represented in the Cloud Storage wildcard - /// format to support sharded data. e.g.: "gs://.../training-*.jsonl" + /// The Vertex AI environment variables representing Cloud Storage + /// data URIs are represented in the Cloud Storage wildcard + /// format to support sharded data. e.g.: "gs://.../training-*.jsonl" /// - /// * AIP_DATA_FORMAT = "jsonl" for non-tabular data, "csv" for tabular data - /// * AIP_TRAINING_DATA_URI = - /// "gcs_destination/dataset---
+ /// URI of desired destination BigQuery table. Expected format: + /// bq://::
/// - /// If not specified, then results are exported to the following auto-created - /// BigQuery table: - /// :export_evaluated_examples__.evaluated_examples + /// If not specified, then results are exported to the following auto-created + /// BigQuery table: + /// :export_evaluated_examples__.evaluated_examples #[prost(string, tag="1")] pub destination_bigquery_uri: ::prost::alloc::string::String, - /// If true and an export destination is specified, then the contents of the - /// destination are overwritten. Otherwise, if the export destination already - /// exists, then the export operation fails. + /// If true and an export destination is specified, then the contents of the + /// destination are overwritten. Otherwise, if the export destination already + /// exists, then the export operation fails. #[prost(bool, tag="2")] pub override_existing_table: bool, } -/// A TrainingJob that trains and uploads an AutoML Tables Model. +/// A TrainingJob that trains and uploads an AutoML Tables Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTables { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, - /// The metadata information. + /// The metadata information. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTablesInputs { - /// The type of prediction the Model is to produce. + /// The type of prediction the Model is to produce. /// "classification" - Predict one out of multiple target values is /// picked for each row. /// "regression" - Predict a value based on its relation to other values. @@ -408,23 +408,23 @@ pub struct AutoMlTablesInputs { /// point number, even if stored as e.g. strings. #[prost(string, tag="1")] pub prediction_type: ::prost::alloc::string::String, - /// The column name of the target column that the model is to predict. + /// The column name of the target column that the model is to predict. #[prost(string, tag="2")] pub target_column: ::prost::alloc::string::String, - /// Each transformation will apply transform function to given input column. - /// And the result will be used for training. - /// When creating transformation for BigQuery Struct column, the column should - /// be flattened using "." as the delimiter. + /// Each transformation will apply transform function to given input column. + /// And the result will be used for training. + /// When creating transformation for BigQuery Struct column, the column should + /// be flattened using "." as the delimiter. #[prost(message, repeated, tag="3")] pub transformations: ::prost::alloc::vec::Vec, - /// Objective function the model is optimizing towards. The training process - /// creates a model that maximizes/minimizes the value of the objective - /// function over the validation set. + /// Objective function the model is optimizing towards. The training process + /// creates a model that maximizes/minimizes the value of the objective + /// function over the validation set. /// - /// The supported optimization objectives depend on the prediction type. - /// If the field is not set, a default objective function is used. + /// The supported optimization objectives depend on the prediction type. + /// If the field is not set, a default objective function is used. /// - /// classification (binary): + /// classification (binary): /// "maximize-au-roc" (default) - Maximize the area under the receiver /// operating characteristic (ROC) curve. /// "minimize-log-loss" - Minimize log loss. @@ -434,54 +434,54 @@ pub struct AutoMlTablesInputs { /// "maximize-recall-at-precision" - Maximize recall for a specified /// precision value. /// - /// classification (multi-class): + /// classification (multi-class): /// "minimize-log-loss" (default) - Minimize log loss. /// - /// regression: + /// regression: /// "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). /// "minimize-mae" - Minimize mean-absolute error (MAE). /// "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). #[prost(string, tag="4")] pub optimization_objective: ::prost::alloc::string::String, - /// Required. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. + /// Required. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. /// - /// The training cost of the model will not exceed this budget. The final cost - /// will be attempted to be close to the budget, though may end up being (even) - /// noticeably smaller - at the backend's discretion. This especially may - /// happen when further model training ceases to provide any improvements. + /// The training cost of the model will not exceed this budget. The final cost + /// will be attempted to be close to the budget, though may end up being (even) + /// noticeably smaller - at the backend's discretion. This especially may + /// happen when further model training ceases to provide any improvements. /// - /// If the budget is set to a value known to be insufficient to train a - /// model for the given dataset, the training won't be attempted and - /// will error. + /// If the budget is set to a value known to be insufficient to train a + /// model for the given dataset, the training won't be attempted and + /// will error. /// - /// The train budget must be between 1,000 and 72,000 milli node hours, - /// inclusive. + /// The train budget must be between 1,000 and 72,000 milli node hours, + /// inclusive. #[prost(int64, tag="7")] pub train_budget_milli_node_hours: i64, - /// Use the entire training budget. This disables the early stopping feature. - /// By default, the early stopping feature is enabled, which means that AutoML - /// Tables might stop training before the entire training budget has been used. + /// Use the entire training budget. This disables the early stopping feature. + /// By default, the early stopping feature is enabled, which means that AutoML + /// Tables might stop training before the entire training budget has been used. #[prost(bool, tag="8")] pub disable_early_stopping: bool, - /// Column name that should be used as the weight column. - /// Higher values in this column give more importance to the row - /// during model training. The column must have numeric values between 0 and - /// 10000 inclusively; 0 means the row is ignored for training. If weight - /// column field is not set, then all rows are assumed to have equal weight - /// of 1. + /// Column name that should be used as the weight column. + /// Higher values in this column give more importance to the row + /// during model training. The column must have numeric values between 0 and + /// 10000 inclusively; 0 means the row is ignored for training. If weight + /// column field is not set, then all rows are assumed to have equal weight + /// of 1. #[prost(string, tag="9")] pub weight_column_name: ::prost::alloc::string::String, - /// Configuration for exporting test set predictions to a BigQuery table. If - /// this configuration is absent, then the export is not performed. + /// Configuration for exporting test set predictions to a BigQuery table. If + /// this configuration is absent, then the export is not performed. #[prost(message, optional, tag="10")] pub export_evaluated_data_items_config: ::core::option::Option, - /// Additional experiment flags for the Tables training pipeline. + /// Additional experiment flags for the Tables training pipeline. #[prost(string, repeated, tag="11")] pub additional_experiments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Additional optimization objective configuration. Required for - /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, + /// otherwise unused. #[prost(oneof="auto_ml_tables_inputs::AdditionalOptimizationObjectiveConfig", tags="5, 6")] pub additional_optimization_objective_config: ::core::option::Option, } @@ -489,48 +489,48 @@ pub struct AutoMlTablesInputs { pub mod auto_ml_tables_inputs { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transformation { - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[prost(oneof="transformation::TransformationDetail", tags="1, 2, 3, 4, 5, 6, 7, 8")] pub transformation_detail: ::core::option::Option, } /// Nested message and enum types in `Transformation`. pub mod transformation { - /// Training pipeline will infer the proper transformation based on the - /// statistic of dataset. + /// Training pipeline will infer the proper transformation based on the + /// statistic of dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. - /// * The value converted to float32. - /// * The z_score of the value. - /// * log(value+1) when the value is greater than or equal to 0. Otherwise, + /// Training pipeline will perform following transformation functions. + /// * The value converted to float32. + /// * The z_score of the value. + /// * log(value+1) when the value is greater than or equal to 0. Otherwise, /// this transformation is not applied and the value is considered a /// missing value. - /// * z_score of log(value+1) when the value is greater than or equal to 0. + /// * z_score of log(value+1) when the value is greater than or equal to 0. /// Otherwise, this transformation is not applied and the value is /// considered a missing value. - /// * A boolean value that indicates whether the value is valid. + /// * A boolean value that indicates whether the value is valid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="2")] pub invalid_values_allowed: bool, } - /// Training pipeline will perform following transformation functions. - /// * The categorical string as is--no change to case, punctuation, - /// spelling, + /// Training pipeline will perform following transformation functions. + /// * The categorical string as is--no change to case, punctuation, + /// spelling, /// tense, and so on. - /// * Convert the category name to a dictionary lookup index and generate an + /// * Convert the category name to a dictionary lookup index and generate an /// embedding for each index. - /// * Categories that appear less than 5 times in the training dataset are + /// * Categories that appear less than 5 times in the training dataset are /// treated as the "unknown" category. The "unknown" category gets its own /// special lookup index and resulting embedding. #[derive(Clone, PartialEq, ::prost::Message)] @@ -538,96 +538,96 @@ pub mod auto_ml_tables_inputs { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. - /// * Apply the transformation functions for Numerical columns. - /// * Determine the year, month, day,and weekday. Treat each value from the - /// * timestamp as a Categorical column. - /// * Invalid numerical values (for example, values that fall outside of a + /// Training pipeline will perform following transformation functions. + /// * Apply the transformation functions for Numerical columns. + /// * Determine the year, month, day,and weekday. Treat each value from the + /// * timestamp as a Categorical column. + /// * Invalid numerical values (for example, values that fall outside of a /// typical timestamp range, or are extreme values) receive no special /// treatment and are not removed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// The format in which that time field is expressed. The time_format must - /// either be one of: - /// * `unix-seconds` - /// * `unix-milliseconds` - /// * `unix-microseconds` - /// * `unix-nanoseconds` - /// (for respectively number of seconds, milliseconds, microseconds and - /// nanoseconds since start of the Unix epoch); - /// or be written in `strftime` syntax. If time_format is not set, then the - /// default format is RFC 3339 `date-time` format, where - /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) + /// The format in which that time field is expressed. The time_format must + /// either be one of: + /// * `unix-seconds` + /// * `unix-milliseconds` + /// * `unix-microseconds` + /// * `unix-nanoseconds` + /// (for respectively number of seconds, milliseconds, microseconds and + /// nanoseconds since start of the Unix epoch); + /// or be written in `strftime` syntax. If time_format is not set, then the + /// default format is RFC 3339 `date-time` format, where + /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) #[prost(string, tag="2")] pub time_format: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="3")] pub invalid_values_allowed: bool, } - /// Training pipeline will perform following transformation functions. - /// * The text as is--no change to case, punctuation, spelling, tense, and - /// so + /// Training pipeline will perform following transformation functions. + /// * The text as is--no change to case, punctuation, spelling, tense, and + /// so /// on. - /// * Tokenize text to words. Convert each words to a dictionary lookup - /// index + /// * Tokenize text to words. Convert each words to a dictionary lookup + /// index /// and generate an embedding for each index. Combine the embedding of all /// elements into a single embedding using the mean. - /// * Tokenization is based on unicode script boundaries. - /// * Missing values get their own lookup index and resulting embedding. - /// * Stop-words receive no special treatment and are not removed. + /// * Tokenization is based on unicode script boundaries. + /// * Missing values get their own lookup index and resulting embedding. + /// * Stop-words receive no special treatment and are not removed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Treats the column as numerical array and performs following - /// transformation functions. - /// * All transformations for Numerical types applied to the average of the + /// Treats the column as numerical array and performs following + /// transformation functions. + /// * All transformations for Numerical types applied to the average of the /// all elements. - /// * The average of empty arrays is treated as zero. + /// * The average of empty arrays is treated as zero. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="2")] pub invalid_values_allowed: bool, } - /// Treats the column as categorical array and performs following - /// transformation functions. - /// * For each element in the array, convert the category name to a - /// dictionary + /// Treats the column as categorical array and performs following + /// transformation functions. + /// * For each element in the array, convert the category name to a + /// dictionary /// lookup index and generate an embedding for each index. /// Combine the embedding of all elements into a single embedding using /// the mean. - /// * Empty arrays treated as an embedding of zeroes. + /// * Empty arrays treated as an embedding of zeroes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Treats the column as text array and performs following transformation - /// functions. - /// * Concatenate all text values in the array into a single text value - /// using + /// Treats the column as text array and performs following transformation + /// functions. + /// * Concatenate all text values in the array into a single text value + /// using /// a space (" ") as a delimiter, and then treat the result as a single /// text value. Apply the transformations for Text columns. - /// * Empty arrays treated as an empty text. + /// * Empty arrays treated as an empty text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TransformationDetail { #[prost(message, tag="1")] @@ -648,34 +648,34 @@ pub mod auto_ml_tables_inputs { RepeatedText(TextArrayTransformation), } } - /// Additional optimization objective configuration. Required for - /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, + /// otherwise unused. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdditionalOptimizationObjectiveConfig { - /// Required when optimization_objective is "maximize-precision-at-recall". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "maximize-precision-at-recall". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="5")] OptimizationObjectiveRecallValue(f32), - /// Required when optimization_objective is "maximize-recall-at-precision". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "maximize-recall-at-precision". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="6")] OptimizationObjectivePrecisionValue(f32), } } -/// Model metadata specific to AutoML Tables. +/// Model metadata specific to AutoML Tables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTablesMetadata { - /// Output only. The actual training cost of the model, expressed in milli - /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - /// to not exceed the train budget. + /// Output only. The actual training cost of the model, expressed in milli + /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + /// to not exceed the train budget. #[prost(int64, tag="1")] pub train_cost_milli_node_hours: i64, } -/// A TrainingJob that trains and uploads an AutoML Text Classification Model. +/// A TrainingJob that trains and uploads an AutoML Text Classification Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextClassification { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -684,40 +684,40 @@ pub struct AutoMlTextClassificationInputs { #[prost(bool, tag="1")] pub multi_label: bool, } -/// A TrainingJob that trains and uploads an AutoML Text Extraction Model. +/// A TrainingJob that trains and uploads an AutoML Text Extraction Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextExtraction { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextExtractionInputs { } -/// A TrainingJob that trains and uploads an AutoML Text Sentiment Model. +/// A TrainingJob that trains and uploads an AutoML Text Sentiment Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextSentiment { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextSentimentInputs { - /// A sentiment is expressed as an integer ordinal, where higher value - /// means a more positive sentiment. The range of sentiments that will be used - /// is between 0 and sentimentMax (inclusive on both ends), and all the values - /// in the range must be represented in the dataset before a model can be - /// created. - /// Only the Annotations with this sentimentMax will be used for training. - /// sentimentMax value must be between 1 and 10 (inclusive). + /// A sentiment is expressed as an integer ordinal, where higher value + /// means a more positive sentiment. The range of sentiments that will be used + /// is between 0 and sentimentMax (inclusive on both ends), and all the values + /// in the range must be represented in the dataset before a model can be + /// created. + /// Only the Annotations with this sentimentMax will be used for training. + /// sentimentMax value must be between 1 and 10 (inclusive). #[prost(int32, tag="1")] pub sentiment_max: i32, } -/// A TrainingJob that trains and uploads an AutoML Video Action Recognition -/// Model. +/// A TrainingJob that trains and uploads an AutoML Video Action Recognition +/// Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoActionRecognition { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -731,22 +731,22 @@ pub mod auto_ml_video_action_recognition_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which c annot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which c annot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) to a Jetson device - /// afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) to a Jetson device + /// afterwards. MobileJetsonVersatile1 = 3, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a Coral device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a Coral device afterwards. MobileCoralVersatile1 = 4, } impl ModelType { @@ -765,10 +765,10 @@ pub mod auto_ml_video_action_recognition_inputs { } } } -/// A TrainingJob that trains and uploads an AutoML Video Classification Model. +/// A TrainingJob that trains and uploads an AutoML Video Classification Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoClassification { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -782,18 +782,18 @@ pub mod auto_ml_video_classification_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which cannot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which cannot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) to a Jetson device - /// afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) to a Jetson device + /// afterwards. MobileJetsonVersatile1 = 3, } impl ModelType { @@ -811,10 +811,10 @@ pub mod auto_ml_video_classification_inputs { } } } -/// A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model. +/// A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoObjectTracking { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -828,26 +828,26 @@ pub mod auto_ml_video_object_tracking_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which c annot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which c annot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A versatile model that is meant to be exported (see - /// ModelService.ExportModel) and used on a Google Coral device. + /// A versatile model that is meant to be exported (see + /// ModelService.ExportModel) and used on a Google Coral device. MobileCoralVersatile1 = 3, - /// A model that trades off quality for low latency, to be exported (see - /// ModelService.ExportModel) and used on a Google Coral device. + /// A model that trades off quality for low latency, to be exported (see + /// ModelService.ExportModel) and used on a Google Coral device. MobileCoralLowLatency1 = 4, - /// A versatile model that is meant to be exported (see - /// ModelService.ExportModel) and used on an NVIDIA Jetson device. + /// A versatile model that is meant to be exported (see + /// ModelService.ExportModel) and used on an NVIDIA Jetson device. MobileJetsonVersatile1 = 5, - /// A model that trades off quality for low latency, to be exported (see - /// ModelService.ExportModel) and used on an NVIDIA Jetson device. + /// A model that trades off quality for low latency, to be exported (see + /// ModelService.ExportModel) and used on an NVIDIA Jetson device. MobileJetsonLowLatency1 = 6, } impl ModelType { diff --git a/gcloud-sdk/genproto/google.cloud.aiplatform.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.aiplatform.v1beta1.rs index d318544dc..0147a1d51 100644 --- a/gcloud-sdk/genproto/google.cloud.aiplatform.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.aiplatform.v1beta1.rs @@ -1,24 +1,24 @@ -/// Represents a hardware accelerator type. +/// Represents a hardware accelerator type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AcceleratorType { - /// Unspecified accelerator type, which means no accelerator. + /// Unspecified accelerator type, which means no accelerator. Unspecified = 0, - /// Nvidia Tesla K80 GPU. + /// Nvidia Tesla K80 GPU. NvidiaTeslaK80 = 1, - /// Nvidia Tesla P100 GPU. + /// Nvidia Tesla P100 GPU. NvidiaTeslaP100 = 2, - /// Nvidia Tesla V100 GPU. + /// Nvidia Tesla V100 GPU. NvidiaTeslaV100 = 3, - /// Nvidia Tesla P4 GPU. + /// Nvidia Tesla P4 GPU. NvidiaTeslaP4 = 4, - /// Nvidia Tesla T4 GPU. + /// Nvidia Tesla T4 GPU. NvidiaTeslaT4 = 5, - /// Nvidia Tesla A100 GPU. + /// Nvidia Tesla A100 GPU. NvidiaTeslaA100 = 8, - /// TPU v2. + /// TPU v2. TpuV2 = 6, - /// TPU v3. + /// TPU v3. TpuV3 = 7, } impl AcceleratorType { @@ -40,12 +40,12 @@ impl AcceleratorType { } } } -/// References an API call. It contains more information about long running -/// operation and Jobs that are triggered by the API call. +/// References an API call. It contains more information about long running +/// operation and Jobs that are triggered by the API call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserActionReference { - /// The method name of the API RPC call. For example, - /// "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" + /// The method name of the API RPC call. For example, + /// "/google.cloud.aiplatform.{apiVersion}.DatasetService.CreateDataset" #[prost(string, tag="3")] pub method: ::prost::alloc::string::String, #[prost(oneof="user_action_reference::Reference", tags="1, 2")] @@ -55,171 +55,171 @@ pub struct UserActionReference { pub mod user_action_reference { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Reference { - /// For API calls that return a long running operation. - /// Resource name of the long running operation. - /// Format: - /// 'projects/{project}/locations/{location}/operations/{operation}' + /// For API calls that return a long running operation. + /// Resource name of the long running operation. + /// Format: + /// 'projects/{project}/locations/{location}/operations/{operation}' #[prost(string, tag="1")] Operation(::prost::alloc::string::String), - /// For API calls that start a LabelingJob. - /// Resource name of the LabelingJob. - /// Format: - /// 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' + /// For API calls that start a LabelingJob. + /// Resource name of the LabelingJob. + /// Format: + /// 'projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}' #[prost(string, tag="2")] DataLabelingJob(::prost::alloc::string::String), } } -/// Used to assign specific AnnotationSpec to a particular area of a DataItem or -/// the whole part of the DataItem. +/// Used to assign specific AnnotationSpec to a particular area of a DataItem or +/// the whole part of the DataItem. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Annotation { - /// Output only. Resource name of the Annotation. + /// Output only. Resource name of the Annotation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Google Cloud Storage URI points to a YAML file describing \[payload][google.cloud.aiplatform.v1beta1.Annotation.payload\]. The - /// schema is defined as an [OpenAPI 3.0.2 Schema - /// Object](). - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the - /// chosen schema must be consistent with the parent Dataset's - /// \[metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\]. + /// Required. Google Cloud Storage URI points to a YAML file describing \[payload][google.cloud.aiplatform.v1beta1.Annotation.payload\]. The + /// schema is defined as an [OpenAPI 3.0.2 Schema + /// Object](). + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the + /// chosen schema must be consistent with the parent Dataset's + /// \[metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\]. #[prost(string, tag="2")] pub payload_schema_uri: ::prost::alloc::string::String, - /// Required. The schema of the payload can be found in - /// \[payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri\]. + /// Required. The schema of the payload can be found in + /// \[payload_schema][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri\]. #[prost(message, optional, tag="3")] pub payload: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this Annotation was created. + /// Output only. Timestamp when this Annotation was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Annotation was last updated. + /// Output only. Timestamp when this Annotation was last updated. #[prost(message, optional, tag="7")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// Output only. The source of the Annotation. + /// Output only. The source of the Annotation. #[prost(message, optional, tag="5")] pub annotation_source: ::core::option::Option, - /// Optional. The labels with user-defined metadata to organize your Annotations. + /// Optional. The labels with user-defined metadata to organize your Annotations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Annotation(System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Annotation(System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each Annotation: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each Annotation: /// - /// * "aiplatform.googleapis.com/annotation_set_name": + /// * "aiplatform.googleapis.com/annotation_set_name": /// optional, name of the UI's annotation set this Annotation belongs to. /// If not set, the Annotation is not visible in the UI. /// - /// * "aiplatform.googleapis.com/payload_schema": + /// * "aiplatform.googleapis.com/payload_schema": /// output only, its value is the \[payload_schema's][google.cloud.aiplatform.v1beta1.Annotation.payload_schema_uri\] /// title. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Identifies a concept with which DataItems may be annotated with. +/// Identifies a concept with which DataItems may be annotated with. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpec { - /// Output only. Resource name of the AnnotationSpec. + /// Output only. Resource name of the AnnotationSpec. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the AnnotationSpec. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the AnnotationSpec. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when this AnnotationSpec was created. + /// Output only. Timestamp when this AnnotationSpec was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when AnnotationSpec was last updated. + /// Output only. Timestamp when AnnotationSpec was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, } -/// Instance of a general artifact. +/// Instance of a general artifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Artifact { - /// Output only. The resource name of the Artifact. + /// Output only. The resource name of the Artifact. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Artifact. - /// May be up to 128 Unicode characters. + /// User provided display name of the Artifact. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The uniform resource identifier of the artifact file. - /// May be empty if there is no actual artifact file. + /// The uniform resource identifier of the artifact file. + /// May be empty if there is no actual artifact file. #[prost(string, tag="6")] pub uri: ::prost::alloc::string::String, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Artifacts. + /// The labels with user-defined metadata to organize your Artifacts. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Artifact (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Artifact (System + /// labels are excluded). #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Artifact was created. + /// Output only. Timestamp when this Artifact was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Artifact was last updated. + /// Output only. Timestamp when this Artifact was last updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The state of this Artifact. This is a property of the Artifact, and does - /// not imply or capture any ongoing process. This property is managed by - /// clients (such as Vertex AI Pipelines), and the system does not prescribe - /// or check the validity of state transitions. + /// The state of this Artifact. This is a property of the Artifact, and does + /// not imply or capture any ongoing process. This property is managed by + /// clients (such as Vertex AI Pipelines), and the system does not prescribe + /// or check the validity of state transitions. #[prost(enumeration="artifact::State", tag="13")] pub state: i32, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in schema_name to use. + /// The version of the schema in schema_name to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="15")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Artifact. - /// The size of this field should not exceed 200KB. + /// Properties of the Artifact. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="16")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Artifact + /// Description of the Artifact #[prost(string, tag="17")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Artifact`. pub mod artifact { - /// Describes the state of the Artifact. + /// Describes the state of the Artifact. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified state for the Artifact. + /// Unspecified state for the Artifact. Unspecified = 0, - /// A state used by systems like Vertex AI Pipelines to indicate that the - /// underlying data item represented by this Artifact is being created. + /// A state used by systems like Vertex AI Pipelines to indicate that the + /// underlying data item represented by this Artifact is being created. Pending = 1, - /// A state indicating that the Artifact should exist, unless something - /// external to the system deletes it. + /// A state indicating that the Artifact should exist, unless something + /// external to the system deletes it. Live = 2, } impl State { @@ -236,255 +236,255 @@ pub mod artifact { } } } -/// Success and error statistics of processing multiple entities -/// (for example, DataItems or structured data rows) in batch. +/// Success and error statistics of processing multiple entities +/// (for example, DataItems or structured data rows) in batch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompletionStats { - /// Output only. The number of entities that had been processed successfully. + /// Output only. The number of entities that had been processed successfully. #[prost(int64, tag="1")] pub successful_count: i64, - /// Output only. The number of entities for which any error was encountered. + /// Output only. The number of entities for which any error was encountered. #[prost(int64, tag="2")] pub failed_count: i64, - /// Output only. In cases when enough errors are encountered a job, pipeline, or operation - /// may be failed as a whole. Below is the number of entities for which the - /// processing had not been finished (either in successful or failed state). - /// Set to -1 if the number is unknown (for example, the operation failed - /// before the total entity number could be collected). + /// Output only. In cases when enough errors are encountered a job, pipeline, or operation + /// may be failed as a whole. Below is the number of entities for which the + /// processing had not been finished (either in successful or failed state). + /// Set to -1 if the number is unknown (for example, the operation failed + /// before the total entity number could be collected). #[prost(int64, tag="3")] pub incomplete_count: i64, - /// Output only. The number of the successful forecast points that are generated by the - /// forecasting model. This is ONLY used by the forecasting batch prediction. + /// Output only. The number of the successful forecast points that are generated by the + /// forecasting model. This is ONLY used by the forecasting batch prediction. #[prost(int64, tag="5")] pub successful_forecast_point_count: i64, } -/// Represents a customer-managed encryption key spec that can be applied to -/// a top-level resource. +/// Represents a customer-managed encryption key spec that can be applied to +/// a top-level resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionSpec { - /// Required. The Cloud KMS resource identifier of the customer managed encryption key - /// used to protect a resource. Has the form: - /// `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. - /// The key needs to be in the same region as where the compute resource is - /// created. + /// Required. The Cloud KMS resource identifier of the customer managed encryption key + /// used to protect a resource. Has the form: + /// `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`. + /// The key needs to be in the same region as where the compute resource is + /// created. #[prost(string, tag="1")] pub kms_key_name: ::prost::alloc::string::String, } -/// Metadata describing the Model's input and output for explanation. +/// Metadata describing the Model's input and output for explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationMetadata { - /// Required. Map from feature names to feature input metadata. Keys are the name of the - /// features. Values are the specification of the feature. + /// Required. Map from feature names to feature input metadata. Keys are the name of the + /// features. Values are the specification of the feature. /// - /// An empty InputMetadata is valid. It describes a text feature which has the - /// name specified as the key in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. The baseline - /// of the empty feature is chosen by Vertex AI. + /// An empty InputMetadata is valid. It describes a text feature which has the + /// name specified as the key in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. The baseline + /// of the empty feature is chosen by Vertex AI. /// - /// For Vertex AI-provided Tensorflow images, the key can be any friendly - /// name of the feature. Once specified, - /// \[featureAttributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] are keyed by - /// this key (if not grouped with another feature). + /// For Vertex AI-provided Tensorflow images, the key can be any friendly + /// name of the feature. Once specified, + /// \[featureAttributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] are keyed by + /// this key (if not grouped with another feature). /// - /// For custom images, the key must match with the key in - /// \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\]. + /// For custom images, the key must match with the key in + /// \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\]. #[prost(map="string, message", tag="1")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata::InputMetadata>, - /// Required. Map from output names to output metadata. + /// Required. Map from output names to output metadata. /// - /// For Vertex AI-provided Tensorflow images, keys can be any user defined - /// string that consists of any UTF-8 characters. + /// For Vertex AI-provided Tensorflow images, keys can be any user defined + /// string that consists of any UTF-8 characters. /// - /// For custom images, keys are the name of the output field in the prediction - /// to be explained. + /// For custom images, keys are the name of the output field in the prediction + /// to be explained. /// - /// Currently only one key is allowed. + /// Currently only one key is allowed. #[prost(map="string, message", tag="2")] pub outputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata::OutputMetadata>, - /// Points to a YAML file stored on Google Cloud Storage describing the format - /// of the [feature attributions]\[google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML tabular Models always have this field populated by Vertex AI. - /// Note: The URI given on output may be different, including the URI scheme, - /// than the one given on input. The output URI will point to a location where - /// the user only has a read access. + /// Points to a YAML file stored on Google Cloud Storage describing the format + /// of the [feature attributions]\[google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML tabular Models always have this field populated by Vertex AI. + /// Note: The URI given on output may be different, including the URI scheme, + /// than the one given on input. The output URI will point to a location where + /// the user only has a read access. #[prost(string, tag="3")] pub feature_attributions_schema_uri: ::prost::alloc::string::String, - /// Name of the source to generate embeddings for example based explanations. + /// Name of the source to generate embeddings for example based explanations. #[prost(string, tag="5")] pub latent_space_source: ::prost::alloc::string::String, } /// Nested message and enum types in `ExplanationMetadata`. pub mod explanation_metadata { - /// Metadata of the input of a feature. + /// Metadata of the input of a feature. /// - /// Fields other than \[InputMetadata.input_baselines][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.input_baselines\] are applicable only - /// for Models that are using Vertex AI-provided images for Tensorflow. + /// Fields other than \[InputMetadata.input_baselines][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.input_baselines\] are applicable only + /// for Models that are using Vertex AI-provided images for Tensorflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputMetadata { - /// Baseline inputs for this feature. + /// Baseline inputs for this feature. /// - /// If no baseline is specified, Vertex AI chooses the baseline for this - /// feature. If multiple baselines are specified, Vertex AI returns the - /// average attributions across them in \[Attribution.feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\]. + /// If no baseline is specified, Vertex AI chooses the baseline for this + /// feature. If multiple baselines are specified, Vertex AI returns the + /// average attributions across them in \[Attribution.feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\]. /// - /// For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape - /// of each baseline must match the shape of the input tensor. If a scalar is - /// provided, we broadcast to the same shape as the input tensor. + /// For Vertex AI-provided Tensorflow images (both 1.x and 2.x), the shape + /// of each baseline must match the shape of the input tensor. If a scalar is + /// provided, we broadcast to the same shape as the input tensor. /// - /// For custom images, the element of the baselines must be in the same - /// format as the feature's input in the - /// \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances][\]. The schema of any single instance - /// may be specified via Endpoint's DeployedModels' - /// \[Model's][google.cloud.aiplatform.v1beta1.DeployedModel.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\]. + /// For custom images, the element of the baselines must be in the same + /// format as the feature's input in the + /// \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances][\]. The schema of any single instance + /// may be specified via Endpoint's DeployedModels' + /// \[Model's][google.cloud.aiplatform.v1beta1.DeployedModel.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\]. #[prost(message, repeated, tag="1")] pub input_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Name of the input tensor for this feature. Required and is only - /// applicable to Vertex AI-provided images for Tensorflow. + /// Name of the input tensor for this feature. Required and is only + /// applicable to Vertex AI-provided images for Tensorflow. #[prost(string, tag="2")] pub input_tensor_name: ::prost::alloc::string::String, - /// Defines how the feature is encoded into the input tensor. Defaults to - /// IDENTITY. + /// Defines how the feature is encoded into the input tensor. Defaults to + /// IDENTITY. #[prost(enumeration="input_metadata::Encoding", tag="3")] pub encoding: i32, - /// Modality of the feature. Valid values are: numeric, image. Defaults to - /// numeric. + /// Modality of the feature. Valid values are: numeric, image. Defaults to + /// numeric. #[prost(string, tag="4")] pub modality: ::prost::alloc::string::String, - /// The domain details of the input feature value. Like min/max, original - /// mean or standard deviation if normalized. + /// The domain details of the input feature value. Like min/max, original + /// mean or standard deviation if normalized. #[prost(message, optional, tag="5")] pub feature_value_domain: ::core::option::Option, - /// Specifies the index of the values of the input tensor. - /// Required when the input tensor is a sparse representation. Refer to - /// Tensorflow documentation for more details: - /// + /// Specifies the index of the values of the input tensor. + /// Required when the input tensor is a sparse representation. Refer to + /// Tensorflow documentation for more details: + /// #[prost(string, tag="6")] pub indices_tensor_name: ::prost::alloc::string::String, - /// Specifies the shape of the values of the input if the input is a sparse - /// representation. Refer to Tensorflow documentation for more details: - /// + /// Specifies the shape of the values of the input if the input is a sparse + /// representation. Refer to Tensorflow documentation for more details: + /// #[prost(string, tag="7")] pub dense_shape_tensor_name: ::prost::alloc::string::String, - /// A list of feature names for each index in the input tensor. - /// Required when the input \[InputMetadata.encoding][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoding\] is BAG_OF_FEATURES, - /// BAG_OF_FEATURES_SPARSE, INDICATOR. + /// A list of feature names for each index in the input tensor. + /// Required when the input \[InputMetadata.encoding][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoding\] is BAG_OF_FEATURES, + /// BAG_OF_FEATURES_SPARSE, INDICATOR. #[prost(string, repeated, tag="8")] pub index_feature_mapping: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Encoded tensor is a transformation of the input tensor. Must be provided - /// if choosing - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\] - /// or [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\] and the - /// input tensor is not differentiable. + /// Encoded tensor is a transformation of the input tensor. Must be provided + /// if choosing + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\] + /// or [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\] and the + /// input tensor is not differentiable. /// - /// An encoded tensor is generated if the input tensor is encoded by a lookup - /// table. + /// An encoded tensor is generated if the input tensor is encoded by a lookup + /// table. #[prost(string, tag="9")] pub encoded_tensor_name: ::prost::alloc::string::String, - /// A list of baselines for the encoded tensor. + /// A list of baselines for the encoded tensor. /// - /// The shape of each baseline should match the shape of the encoded tensor. - /// If a scalar is provided, Vertex AI broadcasts to the same shape as the - /// encoded tensor. + /// The shape of each baseline should match the shape of the encoded tensor. + /// If a scalar is provided, Vertex AI broadcasts to the same shape as the + /// encoded tensor. #[prost(message, repeated, tag="10")] pub encoded_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, - /// Visualization configurations for image explanation. + /// Visualization configurations for image explanation. #[prost(message, optional, tag="11")] pub visualization: ::core::option::Option, - /// Name of the group that the input belongs to. Features with the same group - /// name will be treated as one feature when computing attributions. Features - /// grouped together can have different shapes in value. If provided, there - /// will be one single attribution generated in - /// \[Attribution.feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\], keyed by the group name. + /// Name of the group that the input belongs to. Features with the same group + /// name will be treated as one feature when computing attributions. Features + /// grouped together can have different shapes in value. If provided, there + /// will be one single attribution generated in + /// \[Attribution.feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\], keyed by the group name. #[prost(string, tag="12")] pub group_name: ::prost::alloc::string::String, } /// Nested message and enum types in `InputMetadata`. pub mod input_metadata { - /// Domain details of the input feature value. Provides numeric information - /// about the feature, such as its range (min, max). If the feature has been - /// pre-processed, for example with z-scoring, then it provides information - /// about how to recover the original feature. For example, if the input - /// feature is an image and it has been pre-processed to obtain 0-mean and - /// stddev = 1 values, then original_mean, and original_stddev refer to the - /// mean and stddev of the original feature (e.g. image tensor) from which - /// input feature (with mean = 0 and stddev = 1) was obtained. + /// Domain details of the input feature value. Provides numeric information + /// about the feature, such as its range (min, max). If the feature has been + /// pre-processed, for example with z-scoring, then it provides information + /// about how to recover the original feature. For example, if the input + /// feature is an image and it has been pre-processed to obtain 0-mean and + /// stddev = 1 values, then original_mean, and original_stddev refer to the + /// mean and stddev of the original feature (e.g. image tensor) from which + /// input feature (with mean = 0 and stddev = 1) was obtained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueDomain { - /// The minimum permissible value for this feature. + /// The minimum permissible value for this feature. #[prost(float, tag="1")] pub min_value: f32, - /// The maximum permissible value for this feature. + /// The maximum permissible value for this feature. #[prost(float, tag="2")] pub max_value: f32, - /// If this input feature has been normalized to a mean value of 0, - /// the original_mean specifies the mean value of the domain prior to - /// normalization. + /// If this input feature has been normalized to a mean value of 0, + /// the original_mean specifies the mean value of the domain prior to + /// normalization. #[prost(float, tag="3")] pub original_mean: f32, - /// If this input feature has been normalized to a standard deviation of - /// 1.0, the original_stddev specifies the standard deviation of the domain - /// prior to normalization. + /// If this input feature has been normalized to a standard deviation of + /// 1.0, the original_stddev specifies the standard deviation of the domain + /// prior to normalization. #[prost(float, tag="4")] pub original_stddev: f32, } - /// Visualization configurations for image explanation. + /// Visualization configurations for image explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Visualization { - /// Type of the image visualization. Only applicable to - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\]. - /// OUTLINES shows regions of attribution, while PIXELS shows per-pixel - /// attribution. Defaults to OUTLINES. + /// Type of the image visualization. Only applicable to + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\]. + /// OUTLINES shows regions of attribution, while PIXELS shows per-pixel + /// attribution. Defaults to OUTLINES. #[prost(enumeration="visualization::Type", tag="1")] pub r#type: i32, - /// Whether to only highlight pixels with positive contributions, negative - /// or both. Defaults to POSITIVE. + /// Whether to only highlight pixels with positive contributions, negative + /// or both. Defaults to POSITIVE. #[prost(enumeration="visualization::Polarity", tag="2")] pub polarity: i32, - /// The color scheme used for the highlighted areas. + /// The color scheme used for the highlighted areas. /// - /// Defaults to PINK_GREEN for - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\], - /// which shows positive attributions in green and negative in pink. + /// Defaults to PINK_GREEN for + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\], + /// which shows positive attributions in green and negative in pink. /// - /// Defaults to VIRIDIS for - /// [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\], which - /// highlights the most influential regions in yellow and the least - /// influential in blue. + /// Defaults to VIRIDIS for + /// [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\], which + /// highlights the most influential regions in yellow and the least + /// influential in blue. #[prost(enumeration="visualization::ColorMap", tag="3")] pub color_map: i32, - /// Excludes attributions above the specified percentile from the - /// highlighted areas. Using the clip_percent_upperbound and - /// clip_percent_lowerbound together can be useful for filtering out noise - /// and making it easier to see areas of strong attribution. Defaults to - /// 99.9. + /// Excludes attributions above the specified percentile from the + /// highlighted areas. Using the clip_percent_upperbound and + /// clip_percent_lowerbound together can be useful for filtering out noise + /// and making it easier to see areas of strong attribution. Defaults to + /// 99.9. #[prost(float, tag="4")] pub clip_percent_upperbound: f32, - /// Excludes attributions below the specified percentile, from the - /// highlighted areas. Defaults to 62. + /// Excludes attributions below the specified percentile, from the + /// highlighted areas. Defaults to 62. #[prost(float, tag="5")] pub clip_percent_lowerbound: f32, - /// How the original image is displayed in the visualization. - /// Adjusting the overlay can help increase visual clarity if the original - /// image makes it difficult to view the visualization. Defaults to NONE. + /// How the original image is displayed in the visualization. + /// Adjusting the overlay can help increase visual clarity if the original + /// image makes it difficult to view the visualization. Defaults to NONE. #[prost(enumeration="visualization::OverlayType", tag="6")] pub overlay_type: i32, } /// Nested message and enum types in `Visualization`. pub mod visualization { - /// Type of the image visualization. Only applicable to - /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\]. + /// Type of the image visualization. Only applicable to + /// [Integrated Gradients attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\]. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Shows which pixel contributed to the image prediction. + /// Shows which pixel contributed to the image prediction. Pixels = 1, - /// Shows which region contributed to the image prediction by outlining - /// the region. + /// Shows which region contributed to the image prediction by outlining + /// the region. Outlines = 2, } impl Type { @@ -500,20 +500,20 @@ pub mod explanation_metadata { } } } - /// Whether to only highlight pixels with positive contributions, negative - /// or both. Defaults to POSITIVE. + /// Whether to only highlight pixels with positive contributions, negative + /// or both. Defaults to POSITIVE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Polarity { - /// Default value. This is the same as POSITIVE. + /// Default value. This is the same as POSITIVE. Unspecified = 0, - /// Highlights the pixels/outlines that were most influential to the - /// model's prediction. + /// Highlights the pixels/outlines that were most influential to the + /// model's prediction. Positive = 1, - /// Setting polarity to negative highlights areas that does not lead to - /// the models's current prediction. + /// Setting polarity to negative highlights areas that does not lead to + /// the models's current prediction. Negative = 2, - /// Shows both positive and negative attributions. + /// Shows both positive and negative attributions. Both = 3, } impl Polarity { @@ -530,25 +530,25 @@ pub mod explanation_metadata { } } } - /// The color scheme used for highlighting areas. + /// The color scheme used for highlighting areas. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ColorMap { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Positive: green. Negative: pink. + /// Positive: green. Negative: pink. PinkGreen = 1, - /// Viridis color map: A perceptually uniform color mapping which is - /// easier to see by those with colorblindness and progresses from yellow - /// to green to blue. Positive: yellow. Negative: blue. + /// Viridis color map: A perceptually uniform color mapping which is + /// easier to see by those with colorblindness and progresses from yellow + /// to green to blue. Positive: yellow. Negative: blue. Viridis = 2, - /// Positive: red. Negative: red. + /// Positive: red. Negative: red. Red = 3, - /// Positive: green. Negative: green. + /// Positive: green. Negative: green. Green = 4, - /// Positive: green. Negative: red. + /// Positive: green. Negative: red. RedGreen = 6, - /// PiYG palette. + /// PiYG palette. PinkWhiteGreen = 5, } impl ColorMap { @@ -568,21 +568,21 @@ pub mod explanation_metadata { } } } - /// How the original image is displayed in the visualization. + /// How the original image is displayed in the visualization. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OverlayType { - /// Default value. This is the same as NONE. + /// Default value. This is the same as NONE. Unspecified = 0, - /// No overlay. + /// No overlay. None = 1, - /// The attributions are shown on top of the original image. + /// The attributions are shown on top of the original image. Original = 2, - /// The attributions are shown on top of grayscaled version of the - /// original image. + /// The attributions are shown on top of grayscaled version of the + /// original image. Grayscale = 3, - /// The attributions are used as a mask to reveal predictive parts of - /// the image and hide the un-predictive parts. + /// The attributions are used as a mask to reveal predictive parts of + /// the image and hide the un-predictive parts. MaskBlack = 4, } impl OverlayType { @@ -601,60 +601,60 @@ pub mod explanation_metadata { } } } - /// Defines how a feature is encoded. Defaults to IDENTITY. + /// Defines how a feature is encoded. Defaults to IDENTITY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encoding { - /// Default value. This is the same as IDENTITY. + /// Default value. This is the same as IDENTITY. Unspecified = 0, - /// The tensor represents one feature. + /// The tensor represents one feature. Identity = 1, - /// The tensor represents a bag of features where each index maps to - /// a feature. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided for - /// this encoding. For example: - /// ``` - /// input = [27, 6.0, 150] - /// index_feature_mapping = ["age", "height", "weight"] - /// ``` + /// The tensor represents a bag of features where each index maps to + /// a feature. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided for + /// this encoding. For example: + /// ``` + /// input = [27, 6.0, 150] + /// index_feature_mapping = ["age", "height", "weight"] + /// ``` BagOfFeatures = 2, - /// The tensor represents a bag of features where each index maps to a - /// feature. Zero values in the tensor indicates feature being - /// non-existent. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided - /// for this encoding. For example: - /// ``` - /// input = [2, 0, 5, 0, 1] - /// index_feature_mapping = ["a", "b", "c", "d", "e"] - /// ``` + /// The tensor represents a bag of features where each index maps to a + /// feature. Zero values in the tensor indicates feature being + /// non-existent. \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] must be provided + /// for this encoding. For example: + /// ``` + /// input = [2, 0, 5, 0, 1] + /// index_feature_mapping = ["a", "b", "c", "d", "e"] + /// ``` BagOfFeaturesSparse = 3, - /// The tensor is a list of binaries representing whether a feature exists - /// or not (1 indicates existence). \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] - /// must be provided for this encoding. For example: - /// ``` - /// input = [1, 0, 1, 0, 1] - /// index_feature_mapping = ["a", "b", "c", "d", "e"] - /// ``` + /// The tensor is a list of binaries representing whether a feature exists + /// or not (1 indicates existence). \[InputMetadata.index_feature_mapping][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.index_feature_mapping\] + /// must be provided for this encoding. For example: + /// ``` + /// input = [1, 0, 1, 0, 1] + /// index_feature_mapping = ["a", "b", "c", "d", "e"] + /// ``` Indicator = 4, - /// The tensor is encoded into a 1-dimensional array represented by an - /// encoded tensor. \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided - /// for this encoding. For example: - /// ``` - /// input = ["This", "is", "a", "test", "."] - /// encoded = [0.1, 0.2, 0.3, 0.4, 0.5] - /// ``` + /// The tensor is encoded into a 1-dimensional array represented by an + /// encoded tensor. \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided + /// for this encoding. For example: + /// ``` + /// input = ["This", "is", "a", "test", "."] + /// encoded = [0.1, 0.2, 0.3, 0.4, 0.5] + /// ``` CombinedEmbedding = 5, - /// Select this encoding when the input tensor is encoded into a - /// 2-dimensional array represented by an encoded tensor. - /// \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided for this - /// encoding. The first dimension of the encoded tensor's shape is the same - /// as the input tensor's shape. For example: - /// ``` - /// input = ["This", "is", "a", "test", "."] - /// encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], + /// Select this encoding when the input tensor is encoded into a + /// 2-dimensional array represented by an encoded tensor. + /// \[InputMetadata.encoded_tensor_name][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata.encoded_tensor_name\] must be provided for this + /// encoding. The first dimension of the encoded tensor's shape is the same + /// as the input tensor's shape. For example: + /// ``` + /// input = ["This", "is", "a", "test", "."] + /// encoded = [[0.1, 0.2, 0.3, 0.4, 0.5], /// [0.2, 0.1, 0.4, 0.3, 0.5], /// [0.5, 0.1, 0.3, 0.5, 0.4], /// [0.5, 0.3, 0.1, 0.2, 0.4], /// [0.4, 0.3, 0.2, 0.5, 0.1]] - /// ``` + /// ``` ConcatEmbedding = 6, } impl Encoding { @@ -675,228 +675,228 @@ pub mod explanation_metadata { } } } - /// Metadata of the prediction output to be explained. + /// Metadata of the prediction output to be explained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputMetadata { - /// Name of the output tensor. Required and is only applicable to Vertex - /// AI provided images for Tensorflow. + /// Name of the output tensor. Required and is only applicable to Vertex + /// AI provided images for Tensorflow. #[prost(string, tag="3")] pub output_tensor_name: ::prost::alloc::string::String, - /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] to - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\]. + /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] to + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\]. /// - /// If neither of the fields are specified, - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] will not be populated. + /// If neither of the fields are specified, + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] will not be populated. #[prost(oneof="output_metadata::DisplayNameMapping", tags="1, 2")] pub display_name_mapping: ::core::option::Option, } /// Nested message and enum types in `OutputMetadata`. pub mod output_metadata { - /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] to - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\]. + /// Defines how to map \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] to + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\]. /// - /// If neither of the fields are specified, - /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] will not be populated. + /// If neither of the fields are specified, + /// \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] will not be populated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DisplayNameMapping { - /// Static mapping between the index and display name. + /// Static mapping between the index and display name. /// - /// Use this if the outputs are a deterministic n-dimensional array, e.g. a - /// list of scores of all the classes in a pre-defined order for a - /// multi-classification Model. It's not feasible if the outputs are - /// non-deterministic, e.g. the Model produces top-k classes or sort the - /// outputs by their values. + /// Use this if the outputs are a deterministic n-dimensional array, e.g. a + /// list of scores of all the classes in a pre-defined order for a + /// multi-classification Model. It's not feasible if the outputs are + /// non-deterministic, e.g. the Model produces top-k classes or sort the + /// outputs by their values. /// - /// The shape of the value must be an n-dimensional array of strings. The - /// number of dimensions must match that of the outputs to be explained. - /// The \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] is populated by locating in the - /// mapping with \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. + /// The shape of the value must be an n-dimensional array of strings. The + /// number of dimensions must match that of the outputs to be explained. + /// The \[Attribution.output_display_name][google.cloud.aiplatform.v1beta1.Attribution.output_display_name\] is populated by locating in the + /// mapping with \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. #[prost(message, tag="1")] IndexDisplayNameMapping(::prost_types::Value), - /// Specify a field name in the prediction to look for the display name. + /// Specify a field name in the prediction to look for the display name. /// - /// Use this if the prediction contains the display names for the outputs. + /// Use this if the prediction contains the display names for the outputs. /// - /// The display names in the prediction must have the same shape of the - /// outputs, so that it can be located by \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] for - /// a specific output. + /// The display names in the prediction must have the same shape of the + /// outputs, so that it can be located by \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] for + /// a specific output. #[prost(string, tag="2")] DisplayNameMappingKey(::prost::alloc::string::String), } } } -/// The storage details for Avro input content. +/// The storage details for Avro input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSource { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// The storage details for CSV input content. +/// The storage details for CSV input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvSource { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// The Google Cloud Storage location for the input content. +/// The Google Cloud Storage location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Required. Google Cloud Storage URI(-s) to the input file(s). May contain - /// wildcards. For more information on wildcards, see - /// + /// Required. Google Cloud Storage URI(-s) to the input file(s). May contain + /// wildcards. For more information on wildcards, see + /// #[prost(string, repeated, tag="1")] pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The Google Cloud Storage location where the output is to be written to. +/// The Google Cloud Storage location where the output is to be written to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. Google Cloud Storage URI to output directory. If the uri doesn't end with - /// '/', a '/' will be automatically appended. The directory is created if it - /// doesn't exist. + /// Required. Google Cloud Storage URI to output directory. If the uri doesn't end with + /// '/', a '/' will be automatically appended. The directory is created if it + /// doesn't exist. #[prost(string, tag="1")] pub output_uri_prefix: ::prost::alloc::string::String, } -/// The BigQuery location for the input content. +/// The BigQuery location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQuerySource { - /// Required. BigQuery URI to a table, up to 2000 characters long. - /// Accepted forms: + /// Required. BigQuery URI to a table, up to 2000 characters long. + /// Accepted forms: /// - /// * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. + /// * BigQuery path. For example: `bq://projectId.bqDatasetId.bqTableId`. #[prost(string, tag="1")] pub input_uri: ::prost::alloc::string::String, } -/// The BigQuery location for the output content. +/// The BigQuery location for the output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. BigQuery URI to a project or table, up to 2000 characters long. + /// Required. BigQuery URI to a project or table, up to 2000 characters long. /// - /// When only the project is specified, the Dataset and Table is created. - /// When the full table reference is specified, the Dataset must exist and - /// table must not exist. + /// When only the project is specified, the Dataset and Table is created. + /// When the full table reference is specified, the Dataset must exist and + /// table must not exist. /// - /// Accepted forms: + /// Accepted forms: /// - /// * BigQuery path. For example: - /// `bq://projectId` or `bq://projectId.bqDatasetId` or - /// `bq://projectId.bqDatasetId.bqTableId`. + /// * BigQuery path. For example: + /// `bq://projectId` or `bq://projectId.bqDatasetId` or + /// `bq://projectId.bqDatasetId.bqTableId`. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// The storage details for CSV output content. +/// The storage details for CSV output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvDestination { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_destination: ::core::option::Option, } -/// The storage details for TFRecord output content. +/// The storage details for TFRecord output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TfRecordDestination { - /// Required. Google Cloud Storage location. + /// Required. Google Cloud Storage location. #[prost(message, optional, tag="1")] pub gcs_destination: ::core::option::Option, } -/// The Container Registry location for the container image. +/// The Container Registry location for the container image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerRegistryDestination { - /// Required. Container Registry URI of a container image. - /// Only Google Container Registry and Artifact Registry are supported now. - /// Accepted forms: + /// Required. Container Registry URI of a container image. + /// Only Google Container Registry and Artifact Registry are supported now. + /// Accepted forms: /// - /// * Google Container Registry path. For example: + /// * Google Container Registry path. For example: /// `gcr.io/projectId/imageName:tag`. /// - /// * Artifact Registry path. For example: + /// * Artifact Registry path. For example: /// `us-central1-docker.pkg.dev/projectId/repoName/imageName:tag`. /// - /// If a tag is not specified, "latest" will be used as the default tag. + /// If a tag is not specified, "latest" will be used as the default tag. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// Explanation of a prediction (provided in \[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions\]) -/// produced by the Model on a given \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\]. +/// Explanation of a prediction (provided in \[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions\]) +/// produced by the Model on a given \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explanation { - /// Output only. Feature attributions grouped by predicted outputs. - /// - /// For Models that predict only one output, such as regression Models that - /// predict only one score, there is only one attibution that explains the - /// predicted output. For Models that predict multiple outputs, such as - /// multiclass Models that predict multiple classes, each element explains one - /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] can be used to identify which - /// output this attribution is explaining. - /// - /// If users set \[ExplanationParameters.top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k\], the attributions are sorted - /// by \[instance_output_value][Attributions.instance_output_value\] in - /// descending order. If \[ExplanationParameters.output_indices][google.cloud.aiplatform.v1beta1.ExplanationParameters.output_indices\] is specified, - /// the attributions are stored by \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] in the same - /// order as they appear in the output_indices. + /// Output only. Feature attributions grouped by predicted outputs. + /// + /// For Models that predict only one output, such as regression Models that + /// predict only one score, there is only one attibution that explains the + /// predicted output. For Models that predict multiple outputs, such as + /// multiclass Models that predict multiple classes, each element explains one + /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] can be used to identify which + /// output this attribution is explaining. + /// + /// If users set \[ExplanationParameters.top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k\], the attributions are sorted + /// by \[instance_output_value][Attributions.instance_output_value\] in + /// descending order. If \[ExplanationParameters.output_indices][google.cloud.aiplatform.v1beta1.ExplanationParameters.output_indices\] is specified, + /// the attributions are stored by \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] in the same + /// order as they appear in the output_indices. #[prost(message, repeated, tag="1")] pub attributions: ::prost::alloc::vec::Vec, - /// Output only. List of the nearest neighbors for example-based explanations. + /// Output only. List of the nearest neighbors for example-based explanations. /// - /// For models deployed with the examples explanations feature enabled, the - /// attributions field is empty and instead the neighbors field is populated. + /// For models deployed with the examples explanations feature enabled, the + /// attributions field is empty and instead the neighbors field is populated. #[prost(message, repeated, tag="2")] pub neighbors: ::prost::alloc::vec::Vec, } -/// Aggregated explanation metrics for a Model over a set of instances. +/// Aggregated explanation metrics for a Model over a set of instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelExplanation { - /// Output only. Aggregated attributions explaining the Model's prediction outputs over the - /// set of instances. The attributions are grouped by outputs. - /// - /// For Models that predict only one output, such as regression Models that - /// predict only one score, there is only one attibution that explains the - /// predicted output. For Models that predict multiple outputs, such as - /// multiclass Models that predict multiple classes, each element explains one - /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] can be used to identify which - /// output this attribution is explaining. - /// - /// The \[baselineOutputValue][google.cloud.aiplatform.v1beta1.Attribution.baseline_output_value\], - /// \[instanceOutputValue][google.cloud.aiplatform.v1beta1.Attribution.instance_output_value\] and - /// \[featureAttributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] fields are - /// averaged over the test data. - /// - /// NOTE: Currently AutoML tabular classification Models produce only one - /// attribution, which averages attributions over all the classes it predicts. - /// \[Attribution.approximation_error][google.cloud.aiplatform.v1beta1.Attribution.approximation_error\] is not populated. + /// Output only. Aggregated attributions explaining the Model's prediction outputs over the + /// set of instances. The attributions are grouped by outputs. + /// + /// For Models that predict only one output, such as regression Models that + /// predict only one score, there is only one attibution that explains the + /// predicted output. For Models that predict multiple outputs, such as + /// multiclass Models that predict multiple classes, each element explains one + /// specific item. \[Attribution.output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] can be used to identify which + /// output this attribution is explaining. + /// + /// The \[baselineOutputValue][google.cloud.aiplatform.v1beta1.Attribution.baseline_output_value\], + /// \[instanceOutputValue][google.cloud.aiplatform.v1beta1.Attribution.instance_output_value\] and + /// \[featureAttributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] fields are + /// averaged over the test data. + /// + /// NOTE: Currently AutoML tabular classification Models produce only one + /// attribution, which averages attributions over all the classes it predicts. + /// \[Attribution.approximation_error][google.cloud.aiplatform.v1beta1.Attribution.approximation_error\] is not populated. #[prost(message, repeated, tag="1")] pub mean_attributions: ::prost::alloc::vec::Vec, } -/// Attribution that explains a particular prediction output. +/// Attribution that explains a particular prediction output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Attribution { - /// Output only. Model predicted output if the input instance is constructed from the - /// baselines of all the features defined in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. - /// The field name of the output is determined by the key in - /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. + /// Output only. Model predicted output if the input instance is constructed from the + /// baselines of all the features defined in \[ExplanationMetadata.inputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. + /// The field name of the output is determined by the key in + /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. /// - /// If the Model's predicted output has multiple dimensions (rank > 1), this is - /// the value in the output located by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. + /// If the Model's predicted output has multiple dimensions (rank > 1), this is + /// the value in the output located by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. /// - /// If there are multiple baselines, their output values are averaged. + /// If there are multiple baselines, their output values are averaged. #[prost(double, tag="1")] pub baseline_output_value: f64, - /// Output only. Model predicted output on the corresponding [explanation - /// instance]\[ExplainRequest.instances\]. The field name of the output is - /// determined by the key in \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. + /// Output only. Model predicted output on the corresponding [explanation + /// instance]\[ExplainRequest.instances\]. The field name of the output is + /// determined by the key in \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. /// - /// If the Model predicted output has multiple dimensions, this is the value in - /// the output located by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. + /// If the Model predicted output has multiple dimensions, this is the value in + /// the output located by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. #[prost(double, tag="2")] pub instance_output_value: f64, - /// Output only. Attributions of each explained feature. Features are extracted from - /// the [prediction instances]\[google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] according to - /// [explanation metadata for inputs]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. + /// Output only. Attributions of each explained feature. Features are extracted from + /// the [prediction instances]\[google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] according to + /// [explanation metadata for inputs]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. /// - /// The value is a struct, whose keys are the name of the feature. The values - /// are how much the feature in the \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] - /// contributed to the predicted result. + /// The value is a struct, whose keys are the name of the feature. The values + /// are how much the feature in the \[instance][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] + /// contributed to the predicted result. /// - /// The format of the value is determined by the feature's input format: + /// The format of the value is determined by the feature's input format: /// /// * If the feature is a scalar value, the attribution value is a /// [floating number]\[google.protobuf.Value.number_value\]. @@ -910,94 +910,94 @@ pub struct Attribution { /// struct. The formats of the values in the attribution struct are /// determined by the formats of the values in the feature struct. /// - /// The \[ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1beta1.ExplanationMetadata.feature_attributions_schema_uri\] field, - /// pointed to by the \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] field of the - /// \[Endpoint.deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models\] object, points to the schema file that - /// describes the features and their attribution values (if it is populated). + /// The \[ExplanationMetadata.feature_attributions_schema_uri][google.cloud.aiplatform.v1beta1.ExplanationMetadata.feature_attributions_schema_uri\] field, + /// pointed to by the \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] field of the + /// \[Endpoint.deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models\] object, points to the schema file that + /// describes the features and their attribution values (if it is populated). #[prost(message, optional, tag="3")] pub feature_attributions: ::core::option::Option<::prost_types::Value>, - /// Output only. The index that locates the explained prediction output. + /// Output only. The index that locates the explained prediction output. /// - /// If the prediction output is a scalar value, output_index is not populated. - /// If the prediction output has multiple dimensions, the length of the - /// output_index list is the same as the number of dimensions of the output. - /// The i-th element in output_index is the element index of the i-th dimension - /// of the output vector. Indices start from 0. + /// If the prediction output is a scalar value, output_index is not populated. + /// If the prediction output has multiple dimensions, the length of the + /// output_index list is the same as the number of dimensions of the output. + /// The i-th element in output_index is the element index of the i-th dimension + /// of the output vector. Indices start from 0. #[prost(int32, repeated, packed="false", tag="4")] pub output_index: ::prost::alloc::vec::Vec, - /// Output only. The display name of the output identified by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. For example, - /// the predicted class name by a multi-classification Model. + /// Output only. The display name of the output identified by \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\]. For example, + /// the predicted class name by a multi-classification Model. /// - /// This field is only populated iff the Model predicts display names as a - /// separate field along with the explained output. The predicted display name - /// must has the same shape of the explained output, and can be located using - /// output_index. + /// This field is only populated iff the Model predicts display names as a + /// separate field along with the explained output. The predicted display name + /// must has the same shape of the explained output, and can be located using + /// output_index. #[prost(string, tag="5")] pub output_display_name: ::prost::alloc::string::String, - /// Output only. Error of \[feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] caused by approximation used in the - /// explanation method. Lower value means more precise attributions. - /// - /// * For Sampled Shapley - /// \[attribution][google.cloud.aiplatform.v1beta1.ExplanationParameters.sampled_shapley_attribution\], - /// increasing \[path_count][google.cloud.aiplatform.v1beta1.SampledShapleyAttribution.path_count\] might reduce - /// the error. - /// * For Integrated Gradients - /// \[attribution][google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\], - /// increasing \[step_count][google.cloud.aiplatform.v1beta1.IntegratedGradientsAttribution.step_count\] might - /// reduce the error. - /// * For [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\], - /// increasing - /// \[step_count][google.cloud.aiplatform.v1beta1.XraiAttribution.step_count\] might reduce the error. - /// - /// See [this introduction](/vertex-ai/docs/explainable-ai/overview) - /// for more information. + /// Output only. Error of \[feature_attributions][google.cloud.aiplatform.v1beta1.Attribution.feature_attributions\] caused by approximation used in the + /// explanation method. Lower value means more precise attributions. + /// + /// * For Sampled Shapley + /// \[attribution][google.cloud.aiplatform.v1beta1.ExplanationParameters.sampled_shapley_attribution\], + /// increasing \[path_count][google.cloud.aiplatform.v1beta1.SampledShapleyAttribution.path_count\] might reduce + /// the error. + /// * For Integrated Gradients + /// \[attribution][google.cloud.aiplatform.v1beta1.ExplanationParameters.integrated_gradients_attribution\], + /// increasing \[step_count][google.cloud.aiplatform.v1beta1.IntegratedGradientsAttribution.step_count\] might + /// reduce the error. + /// * For [XRAI attribution]\[google.cloud.aiplatform.v1beta1.ExplanationParameters.xrai_attribution\], + /// increasing + /// \[step_count][google.cloud.aiplatform.v1beta1.XraiAttribution.step_count\] might reduce the error. + /// + /// See [this introduction](/vertex-ai/docs/explainable-ai/overview) + /// for more information. #[prost(double, tag="6")] pub approximation_error: f64, - /// Output only. Name of the explain output. Specified as the key in - /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. + /// Output only. Name of the explain output. Specified as the key in + /// \[ExplanationMetadata.outputs][google.cloud.aiplatform.v1beta1.ExplanationMetadata.outputs\]. #[prost(string, tag="7")] pub output_name: ::prost::alloc::string::String, } -/// Neighbors for example-based explanations. +/// Neighbors for example-based explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Neighbor { - /// Output only. The neighbor id. + /// Output only. The neighbor id. #[prost(string, tag="1")] pub neighbor_id: ::prost::alloc::string::String, - /// Output only. The neighbor distance. + /// Output only. The neighbor distance. #[prost(double, tag="2")] pub neighbor_distance: f64, } -/// Specification of Model explanation. +/// Specification of Model explanation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationSpec { - /// Required. Parameters that configure explaining of the Model's predictions. + /// Required. Parameters that configure explaining of the Model's predictions. #[prost(message, optional, tag="1")] pub parameters: ::core::option::Option, - /// Optional. Metadata describing the Model's input and output for explanation. + /// Optional. Metadata describing the Model's input and output for explanation. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } -/// Parameters to configure explaining for Model's predictions. +/// Parameters to configure explaining for Model's predictions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationParameters { - /// If populated, returns attributions for top K indices of outputs - /// (defaults to 1). Only applies to Models that predicts more than one outputs - /// (e,g, multi-class Models). When set to -1, returns explanations for all - /// outputs. + /// If populated, returns attributions for top K indices of outputs + /// (defaults to 1). Only applies to Models that predicts more than one outputs + /// (e,g, multi-class Models). When set to -1, returns explanations for all + /// outputs. #[prost(int32, tag="4")] pub top_k: i32, - /// If populated, only returns attributions that have - /// \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] contained in output_indices. It - /// must be an ndarray of integers, with the same shape of the output it's - /// explaining. + /// If populated, only returns attributions that have + /// \[output_index][google.cloud.aiplatform.v1beta1.Attribution.output_index\] contained in output_indices. It + /// must be an ndarray of integers, with the same shape of the output it's + /// explaining. /// - /// If not populated, returns attributions for \[top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k\] indices of outputs. - /// If neither top_k nor output_indices is populated, returns the argmax - /// index of the outputs. + /// If not populated, returns attributions for \[top_k][google.cloud.aiplatform.v1beta1.ExplanationParameters.top_k\] indices of outputs. + /// If neither top_k nor output_indices is populated, returns the argmax + /// index of the outputs. /// - /// Only applicable to Models that predict multiple outputs (e,g, multi-class - /// Models that predict multiple classes). + /// Only applicable to Models that predict multiple outputs (e,g, multi-class + /// Models that predict multiple classes). #[prost(message, optional, tag="5")] pub output_indices: ::core::option::Option<::prost_types::ListValue>, #[prost(oneof="explanation_parameters::Method", tags="1, 2, 3, 7")] @@ -1007,209 +1007,209 @@ pub struct ExplanationParameters { pub mod explanation_parameters { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Method { - /// An attribution method that approximates Shapley values for features that - /// contribute to the label being predicted. A sampling strategy is used to - /// approximate the value rather than considering all subsets of features. - /// Refer to this paper for model details: + /// An attribution method that approximates Shapley values for features that + /// contribute to the label being predicted. A sampling strategy is used to + /// approximate the value rather than considering all subsets of features. + /// Refer to this paper for model details: #[prost(message, tag="1")] SampledShapleyAttribution(super::SampledShapleyAttribution), - /// An attribution method that computes Aumann-Shapley values taking - /// advantage of the model's fully differentiable structure. Refer to this - /// paper for more details: + /// An attribution method that computes Aumann-Shapley values taking + /// advantage of the model's fully differentiable structure. Refer to this + /// paper for more details: #[prost(message, tag="2")] IntegratedGradientsAttribution(super::IntegratedGradientsAttribution), - /// An attribution method that redistributes Integrated Gradients - /// attribution to segmented regions, taking advantage of the model's fully - /// differentiable structure. Refer to this paper for - /// more details: + /// An attribution method that redistributes Integrated Gradients + /// attribution to segmented regions, taking advantage of the model's fully + /// differentiable structure. Refer to this paper for + /// more details: /// - /// XRAI currently performs better on natural images, like a picture of a - /// house or an animal. If the images are taken in artificial environments, - /// like a lab or manufacturing line, or from diagnostic equipment, like - /// x-rays or quality-control cameras, use Integrated Gradients instead. + /// XRAI currently performs better on natural images, like a picture of a + /// house or an animal. If the images are taken in artificial environments, + /// like a lab or manufacturing line, or from diagnostic equipment, like + /// x-rays or quality-control cameras, use Integrated Gradients instead. #[prost(message, tag="3")] XraiAttribution(super::XraiAttribution), - /// Example-based explanations that returns the nearest neighbors from the - /// provided dataset. + /// Example-based explanations that returns the nearest neighbors from the + /// provided dataset. #[prost(message, tag="7")] Examples(super::Examples), } } -/// An attribution method that approximates Shapley values for features that -/// contribute to the label being predicted. A sampling strategy is used to -/// approximate the value rather than considering all subsets of features. +/// An attribution method that approximates Shapley values for features that +/// contribute to the label being predicted. A sampling strategy is used to +/// approximate the value rather than considering all subsets of features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampledShapleyAttribution { - /// Required. The number of feature permutations to consider when approximating the - /// Shapley values. + /// Required. The number of feature permutations to consider when approximating the + /// Shapley values. /// - /// Valid range of its value is [1, 50], inclusively. + /// Valid range of its value is [1, 50], inclusively. #[prost(int32, tag="1")] pub path_count: i32, } -/// An attribution method that computes the Aumann-Shapley value taking advantage -/// of the model's fully differentiable structure. Refer to this paper for -/// more details: +/// An attribution method that computes the Aumann-Shapley value taking advantage +/// of the model's fully differentiable structure. Refer to this paper for +/// more details: #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegratedGradientsAttribution { - /// Required. The number of steps for approximating the path integral. - /// A good value to start is 50 and gradually increase until the - /// sum to diff property is within the desired error range. + /// Required. The number of steps for approximating the path integral. + /// A good value to start is 50 and gradually increase until the + /// sum to diff property is within the desired error range. /// - /// Valid range of its value is [1, 100], inclusively. + /// Valid range of its value is [1, 100], inclusively. #[prost(int32, tag="1")] pub step_count: i32, - /// Config for SmoothGrad approximation of gradients. + /// Config for SmoothGrad approximation of gradients. /// - /// When enabled, the gradients are approximated by averaging the gradients - /// from noisy samples in the vicinity of the inputs. Adding - /// noise can help improve the computed gradients. Refer to this paper for more - /// details: + /// When enabled, the gradients are approximated by averaging the gradients + /// from noisy samples in the vicinity of the inputs. Adding + /// noise can help improve the computed gradients. Refer to this paper for more + /// details: #[prost(message, optional, tag="2")] pub smooth_grad_config: ::core::option::Option, - /// Config for IG with blur baseline. + /// Config for IG with blur baseline. /// - /// When enabled, a linear path from the maximally blurred image to the input - /// image is created. Using a blurred baseline instead of zero (black image) is - /// motivated by the BlurIG approach explained here: - /// + /// When enabled, a linear path from the maximally blurred image to the input + /// image is created. Using a blurred baseline instead of zero (black image) is + /// motivated by the BlurIG approach explained here: + /// #[prost(message, optional, tag="3")] pub blur_baseline_config: ::core::option::Option, } -/// An explanation method that redistributes Integrated Gradients -/// attributions to segmented regions, taking advantage of the model's fully -/// differentiable structure. Refer to this paper for more details: -/// +/// An explanation method that redistributes Integrated Gradients +/// attributions to segmented regions, taking advantage of the model's fully +/// differentiable structure. Refer to this paper for more details: +/// /// -/// Supported only by image Models. +/// Supported only by image Models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct XraiAttribution { - /// Required. The number of steps for approximating the path integral. - /// A good value to start is 50 and gradually increase until the - /// sum to diff property is met within the desired error range. + /// Required. The number of steps for approximating the path integral. + /// A good value to start is 50 and gradually increase until the + /// sum to diff property is met within the desired error range. /// - /// Valid range of its value is [1, 100], inclusively. + /// Valid range of its value is [1, 100], inclusively. #[prost(int32, tag="1")] pub step_count: i32, - /// Config for SmoothGrad approximation of gradients. + /// Config for SmoothGrad approximation of gradients. /// - /// When enabled, the gradients are approximated by averaging the gradients - /// from noisy samples in the vicinity of the inputs. Adding - /// noise can help improve the computed gradients. Refer to this paper for more - /// details: + /// When enabled, the gradients are approximated by averaging the gradients + /// from noisy samples in the vicinity of the inputs. Adding + /// noise can help improve the computed gradients. Refer to this paper for more + /// details: #[prost(message, optional, tag="2")] pub smooth_grad_config: ::core::option::Option, - /// Config for XRAI with blur baseline. + /// Config for XRAI with blur baseline. /// - /// When enabled, a linear path from the maximally blurred image to the input - /// image is created. Using a blurred baseline instead of zero (black image) is - /// motivated by the BlurIG approach explained here: - /// + /// When enabled, a linear path from the maximally blurred image to the input + /// image is created. Using a blurred baseline instead of zero (black image) is + /// motivated by the BlurIG approach explained here: + /// #[prost(message, optional, tag="3")] pub blur_baseline_config: ::core::option::Option, } -/// Config for SmoothGrad approximation of gradients. +/// Config for SmoothGrad approximation of gradients. /// -/// When enabled, the gradients are approximated by averaging the gradients from -/// noisy samples in the vicinity of the inputs. Adding noise can help improve -/// the computed gradients. Refer to this paper for more details: -/// +/// When enabled, the gradients are approximated by averaging the gradients from +/// noisy samples in the vicinity of the inputs. Adding noise can help improve +/// the computed gradients. Refer to this paper for more details: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmoothGradConfig { - /// The number of gradient samples to use for - /// approximation. The higher this number, the more accurate the gradient - /// is, but the runtime complexity increases by this factor as well. - /// Valid range of its value is [1, 50]. Defaults to 3. + /// The number of gradient samples to use for + /// approximation. The higher this number, the more accurate the gradient + /// is, but the runtime complexity increases by this factor as well. + /// Valid range of its value is [1, 50]. Defaults to 3. #[prost(int32, tag="3")] pub noisy_sample_count: i32, - /// Represents the standard deviation of the gaussian kernel - /// that will be used to add noise to the interpolated inputs - /// prior to computing gradients. + /// Represents the standard deviation of the gaussian kernel + /// that will be used to add noise to the interpolated inputs + /// prior to computing gradients. #[prost(oneof="smooth_grad_config::GradientNoiseSigma", tags="1, 2")] pub gradient_noise_sigma: ::core::option::Option, } /// Nested message and enum types in `SmoothGradConfig`. pub mod smooth_grad_config { - /// Represents the standard deviation of the gaussian kernel - /// that will be used to add noise to the interpolated inputs - /// prior to computing gradients. + /// Represents the standard deviation of the gaussian kernel + /// that will be used to add noise to the interpolated inputs + /// prior to computing gradients. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum GradientNoiseSigma { - /// This is a single float value and will be used to add noise to all the - /// features. Use this field when all features are normalized to have the - /// same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where - /// features are normalized to have 0-mean and 1-variance. Learn more about - /// \[normalization\](). + /// This is a single float value and will be used to add noise to all the + /// features. Use this field when all features are normalized to have the + /// same distribution: scale to range [0, 1], [-1, 1] or z-scoring, where + /// features are normalized to have 0-mean and 1-variance. Learn more about + /// \[normalization\](). /// - /// For best results the recommended value is about 10% - 20% of the standard - /// deviation of the input feature. Refer to section 3.2 of the SmoothGrad - /// paper: Defaults to 0.1. + /// For best results the recommended value is about 10% - 20% of the standard + /// deviation of the input feature. Refer to section 3.2 of the SmoothGrad + /// paper: Defaults to 0.1. /// - /// If the distribution is different per feature, set - /// \[feature_noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.feature_noise_sigma\] instead - /// for each feature. + /// If the distribution is different per feature, set + /// \[feature_noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.feature_noise_sigma\] instead + /// for each feature. #[prost(float, tag="1")] NoiseSigma(f32), - /// This is similar to \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\], but - /// provides additional flexibility. A separate noise sigma can be provided - /// for each feature, which is useful if their distributions are different. - /// No noise is added to features that are not set. If this field is unset, - /// \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\] will be used for all - /// features. + /// This is similar to \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\], but + /// provides additional flexibility. A separate noise sigma can be provided + /// for each feature, which is useful if their distributions are different. + /// No noise is added to features that are not set. If this field is unset, + /// \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\] will be used for all + /// features. #[prost(message, tag="2")] FeatureNoiseSigma(super::FeatureNoiseSigma), } } -/// Noise sigma by features. Noise sigma represents the standard deviation of the -/// gaussian kernel that will be used to add noise to interpolated inputs prior -/// to computing gradients. +/// Noise sigma by features. Noise sigma represents the standard deviation of the +/// gaussian kernel that will be used to add noise to interpolated inputs prior +/// to computing gradients. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureNoiseSigma { - /// Noise sigma per feature. No noise is added to features that are not set. + /// Noise sigma per feature. No noise is added to features that are not set. #[prost(message, repeated, tag="1")] pub noise_sigma: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `FeatureNoiseSigma`. pub mod feature_noise_sigma { - /// Noise sigma for a single feature. + /// Noise sigma for a single feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NoiseSigmaForFeature { - /// The name of the input feature for which noise sigma is provided. The - /// features are defined in - /// [explanation metadata inputs]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. + /// The name of the input feature for which noise sigma is provided. The + /// features are defined in + /// [explanation metadata inputs]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\]. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This represents the standard deviation of the Gaussian kernel that will - /// be used to add noise to the feature prior to computing gradients. Similar - /// to \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\] but represents the - /// noise added to the current feature. Defaults to 0.1. + /// This represents the standard deviation of the Gaussian kernel that will + /// be used to add noise to the feature prior to computing gradients. Similar + /// to \[noise_sigma][google.cloud.aiplatform.v1beta1.SmoothGradConfig.noise_sigma\] but represents the + /// noise added to the current feature. Defaults to 0.1. #[prost(float, tag="2")] pub sigma: f32, } } -/// Config for blur baseline. +/// Config for blur baseline. /// -/// When enabled, a linear path from the maximally blurred image to the input -/// image is created. Using a blurred baseline instead of zero (black image) is -/// motivated by the BlurIG approach explained here: -/// +/// When enabled, a linear path from the maximally blurred image to the input +/// image is created. Using a blurred baseline instead of zero (black image) is +/// motivated by the BlurIG approach explained here: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BlurBaselineConfig { - /// The standard deviation of the blur kernel for the blurred baseline. The - /// same blurring parameter is used for both the height and the width - /// dimension. If not set, the method defaults to the zero (i.e. black for - /// images) baseline. + /// The standard deviation of the blur kernel for the blurred baseline. The + /// same blurring parameter is used for both the height and the width + /// dimension. If not set, the method defaults to the zero (i.e. black for + /// images) baseline. #[prost(float, tag="1")] pub max_blur_sigma: f32, } -/// Example-based explainability that returns the nearest neighbors from the -/// provided dataset. +/// Example-based explainability that returns the nearest neighbors from the +/// provided dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Examples { - /// The Cloud Storage location for the input instances. + /// The Cloud Storage location for the input instances. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, - /// The number of neighbors to return. + /// The number of neighbors to return. #[prost(int32, tag="3")] pub neighbor_count: i32, #[prost(oneof="examples::Config", tags="2, 4")] @@ -1219,36 +1219,36 @@ pub struct Examples { pub mod examples { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// The configuration for the generated index, the semantics are the same as - /// \[metadata][google.cloud.aiplatform.v1beta1.Index.metadata\] and should match NearestNeighborSearchConfig. + /// The configuration for the generated index, the semantics are the same as + /// \[metadata][google.cloud.aiplatform.v1beta1.Index.metadata\] and should match NearestNeighborSearchConfig. #[prost(message, tag="2")] NearestNeighborSearchConfig(::prost_types::Value), - /// Preset config based on the desired query speed-precision trade-off - /// and modality + /// Preset config based on the desired query speed-precision trade-off + /// and modality #[prost(message, tag="4")] Presets(super::Presets), } } -/// Preset configuration for example-based explanations +/// Preset configuration for example-based explanations #[derive(Clone, PartialEq, ::prost::Message)] pub struct Presets { - /// Preset option controlling parameters for query speed-precision trade-off + /// Preset option controlling parameters for query speed-precision trade-off #[prost(enumeration="presets::Query", optional, tag="1")] pub query: ::core::option::Option, - /// Preset option controlling parameters for different modalities + /// Preset option controlling parameters for different modalities #[prost(enumeration="presets::Modality", tag="2")] pub modality: i32, } /// Nested message and enum types in `Presets`. pub mod presets { - /// Preset option controlling parameters for query speed-precision trade-off + /// Preset option controlling parameters for query speed-precision trade-off #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Query { - /// More precise neighbors as a trade-off against slower response. - /// This is also the default value (field-number 0). + /// More precise neighbors as a trade-off against slower response. + /// This is also the default value (field-number 0). Precise = 0, - /// Faster response as a trade-off against less precise neighbors. + /// Faster response as a trade-off against less precise neighbors. Fast = 1, } impl Query { @@ -1263,17 +1263,17 @@ pub mod presets { } } } - /// Preset option controlling parameters for different modalities + /// Preset option controlling parameters for different modalities #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Modality { - /// Should not be set. Added as a recommended best practice for enums + /// Should not be set. Added as a recommended best practice for enums Unspecified = 0, - /// IMAGE modality + /// IMAGE modality Image = 1, - /// TEXT modality + /// TEXT modality Text = 2, - /// TABULAR modality + /// TABULAR modality Tabular = 3, } impl Modality { @@ -1291,80 +1291,80 @@ pub mod presets { } } } -/// The \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] entries that can be overridden at -/// [online explanation]\[google.cloud.aiplatform.v1beta1.PredictionService.Explain\] time. +/// The \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] entries that can be overridden at +/// [online explanation]\[google.cloud.aiplatform.v1beta1.PredictionService.Explain\] time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationSpecOverride { - /// The parameters to be overridden. Note that the - /// \[method][google.cloud.aiplatform.v1beta1.ExplanationParameters.method\] cannot be changed. If not specified, - /// no parameter is overridden. + /// The parameters to be overridden. Note that the + /// \[method][google.cloud.aiplatform.v1beta1.ExplanationParameters.method\] cannot be changed. If not specified, + /// no parameter is overridden. #[prost(message, optional, tag="1")] pub parameters: ::core::option::Option, - /// The metadata to be overridden. If not specified, no metadata is overridden. + /// The metadata to be overridden. If not specified, no metadata is overridden. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, - /// The example-based explanations parameter overrides. + /// The example-based explanations parameter overrides. #[prost(message, optional, tag="3")] pub examples_override: ::core::option::Option, } -/// The \[ExplanationMetadata][google.cloud.aiplatform.v1beta1.ExplanationMetadata\] entries that can be overridden at -/// [online explanation]\[google.cloud.aiplatform.v1beta1.PredictionService.Explain\] time. +/// The \[ExplanationMetadata][google.cloud.aiplatform.v1beta1.ExplanationMetadata\] entries that can be overridden at +/// [online explanation]\[google.cloud.aiplatform.v1beta1.PredictionService.Explain\] time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationMetadataOverride { - /// Required. Overrides the [input metadata]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\] of the features. - /// The key is the name of the feature to be overridden. The keys specified - /// here must exist in the input metadata to be overridden. If a feature is - /// not specified here, the corresponding feature's input metadata is not - /// overridden. + /// Required. Overrides the [input metadata]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.inputs\] of the features. + /// The key is the name of the feature to be overridden. The keys specified + /// here must exist in the input metadata to be overridden. If a feature is + /// not specified here, the corresponding feature's input metadata is not + /// overridden. #[prost(map="string, message", tag="1")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, explanation_metadata_override::InputMetadataOverride>, } /// Nested message and enum types in `ExplanationMetadataOverride`. pub mod explanation_metadata_override { - /// The [input metadata]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata\] entries to be - /// overridden. + /// The [input metadata]\[google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata\] entries to be + /// overridden. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputMetadataOverride { - /// Baseline inputs for this feature. + /// Baseline inputs for this feature. /// - /// This overrides the `input_baseline` field of the - /// \[ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata\] - /// object of the corresponding feature's input metadata. If it's not - /// specified, the original baselines are not overridden. + /// This overrides the `input_baseline` field of the + /// \[ExplanationMetadata.InputMetadata][google.cloud.aiplatform.v1beta1.ExplanationMetadata.InputMetadata\] + /// object of the corresponding feature's input metadata. If it's not + /// specified, the original baselines are not overridden. #[prost(message, repeated, tag="1")] pub input_baselines: ::prost::alloc::vec::Vec<::prost_types::Value>, } } -/// Overrides for example-based explanations. +/// Overrides for example-based explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplesOverride { - /// The number of neighbors to return. + /// The number of neighbors to return. #[prost(int32, tag="1")] pub neighbor_count: i32, - /// The number of neighbors to return that have the same crowding tag. + /// The number of neighbors to return that have the same crowding tag. #[prost(int32, tag="2")] pub crowding_count: i32, - /// Restrict the resulting nearest neighbors to respect these constraints. + /// Restrict the resulting nearest neighbors to respect these constraints. #[prost(message, repeated, tag="3")] pub restrictions: ::prost::alloc::vec::Vec, - /// If true, return the embeddings instead of neighbors. + /// If true, return the embeddings instead of neighbors. #[prost(bool, tag="4")] pub return_embeddings: bool, - /// The format of the data being provided with each call. + /// The format of the data being provided with each call. #[prost(enumeration="examples_override::DataFormat", tag="5")] pub data_format: i32, } /// Nested message and enum types in `ExamplesOverride`. pub mod examples_override { - /// Data format enum. + /// Data format enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Unspecified format. Must not be used. + /// Unspecified format. Must not be used. Unspecified = 0, - /// Provided data is a set of model inputs. + /// Provided data is a set of model inputs. Instances = 1, - /// Provided data is a set of embeddings. + /// Provided data is a set of embeddings. Embeddings = 2, } impl DataFormat { @@ -1381,49 +1381,49 @@ pub mod examples_override { } } } -/// Restrictions namespace for example-based explanations overrides. +/// Restrictions namespace for example-based explanations overrides. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplesRestrictionsNamespace { - /// The namespace name. + /// The namespace name. #[prost(string, tag="1")] pub namespace_name: ::prost::alloc::string::String, - /// The list of allowed tags. + /// The list of allowed tags. #[prost(string, repeated, tag="2")] pub allow: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of deny tags. + /// The list of deny tags. #[prost(string, repeated, tag="3")] pub deny: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Describes the state of a job. +/// Describes the state of a job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobState { - /// The job state is unspecified. + /// The job state is unspecified. Unspecified = 0, - /// The job has been just created or resumed and processing has not yet begun. + /// The job has been just created or resumed and processing has not yet begun. Queued = 1, - /// The service is preparing to run the job. + /// The service is preparing to run the job. Pending = 2, - /// The job is in progress. + /// The job is in progress. Running = 3, - /// The job completed successfully. + /// The job completed successfully. Succeeded = 4, - /// The job failed. + /// The job failed. Failed = 5, - /// The job is being cancelled. From this state the job may only go to - /// either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. + /// The job is being cancelled. From this state the job may only go to + /// either `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. Cancelling = 6, - /// The job has been cancelled. + /// The job has been cancelled. Cancelled = 7, - /// The job has been stopped, and can be resumed. + /// The job has been stopped, and can be resumed. Paused = 8, - /// The job has expired. + /// The job has expired. Expired = 9, - /// The job is being updated. The job is only able to be updated at RUNNING - /// state; if the update operation succeeds, job goes back to RUNNING state; if - /// the update operation fails, the job goes back to RUNNING state with error - /// messages written to \[ModelDeploymentMonitoringJob.partial_errors][\] field - /// if it is a ModelDeploymentMonitoringJob. + /// The job is being updated. The job is only able to be updated at RUNNING + /// state; if the update operation succeeds, job goes back to RUNNING state; if + /// the update operation fails, the job goes back to RUNNING state with error + /// messages written to \[ModelDeploymentMonitoringJob.partial_errors][\] field + /// if it is a ModelDeploymentMonitoringJob. Updating = 10, } impl JobState { @@ -1447,322 +1447,322 @@ impl JobState { } } } -/// Specification of a single machine. +/// Specification of a single machine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineSpec { - /// Immutable. The type of the machine. + /// Immutable. The type of the machine. /// - /// See the [list of machine types supported for - /// prediction]() + /// See the [list of machine types supported for + /// prediction]() /// - /// See the [list of machine types supported for custom - /// training](). + /// See the [list of machine types supported for custom + /// training](). /// - /// For \[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel\] this field is optional, and the default - /// value is `n1-standard-2`. For \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\] or as part of - /// \[WorkerPoolSpec][google.cloud.aiplatform.v1beta1.WorkerPoolSpec\] this field is required. + /// For \[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel\] this field is optional, and the default + /// value is `n1-standard-2`. For \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\] or as part of + /// \[WorkerPoolSpec][google.cloud.aiplatform.v1beta1.WorkerPoolSpec\] this field is required. #[prost(string, tag="1")] pub machine_type: ::prost::alloc::string::String, - /// Immutable. The type of accelerator(s) that may be attached to the machine as per - /// \[accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\]. + /// Immutable. The type of accelerator(s) that may be attached to the machine as per + /// \[accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\]. #[prost(enumeration="AcceleratorType", tag="2")] pub accelerator_type: i32, - /// The number of accelerators to attach to the machine. + /// The number of accelerators to attach to the machine. #[prost(int32, tag="3")] pub accelerator_count: i32, } -/// A description of resources that are dedicated to a DeployedModel, and -/// that need a higher degree of manual configuration. +/// A description of resources that are dedicated to a DeployedModel, and +/// that need a higher degree of manual configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DedicatedResources { - /// Required. Immutable. The specification of a single machine used by the prediction. + /// Required. Immutable. The specification of a single machine used by the prediction. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Required. Immutable. The minimum number of machine replicas this DeployedModel will be always - /// deployed on. This value must be greater than or equal to 1. + /// Required. Immutable. The minimum number of machine replicas this DeployedModel will be always + /// deployed on. This value must be greater than or equal to 1. /// - /// If traffic against the DeployedModel increases, it may dynamically be - /// deployed onto more replicas, and as traffic decreases, some of these extra - /// replicas may be freed. + /// If traffic against the DeployedModel increases, it may dynamically be + /// deployed onto more replicas, and as traffic decreases, some of these extra + /// replicas may be freed. #[prost(int32, tag="2")] pub min_replica_count: i32, - /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when - /// the traffic against it increases. If the requested value is too large, - /// the deployment will error, but if deployment succeeds then the ability - /// to scale the model to that many replicas is guaranteed (barring service - /// outages). If traffic against the DeployedModel increases beyond what its - /// replicas at maximum may handle, a portion of the traffic will be dropped. - /// If this value is not provided, will use \[min_replica_count][google.cloud.aiplatform.v1beta1.DedicatedResources.min_replica_count\] as the - /// default value. - /// - /// The value of this field impacts the charge against Vertex CPU and GPU - /// quotas. Specifically, you will be charged for (max_replica_count * - /// number of cores in the selected machine type) and (max_replica_count * - /// number of GPUs per replica in the selected machine type). + /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when + /// the traffic against it increases. If the requested value is too large, + /// the deployment will error, but if deployment succeeds then the ability + /// to scale the model to that many replicas is guaranteed (barring service + /// outages). If traffic against the DeployedModel increases beyond what its + /// replicas at maximum may handle, a portion of the traffic will be dropped. + /// If this value is not provided, will use \[min_replica_count][google.cloud.aiplatform.v1beta1.DedicatedResources.min_replica_count\] as the + /// default value. + /// + /// The value of this field impacts the charge against Vertex CPU and GPU + /// quotas. Specifically, you will be charged for (max_replica_count * + /// number of cores in the selected machine type) and (max_replica_count * + /// number of GPUs per replica in the selected machine type). #[prost(int32, tag="3")] pub max_replica_count: i32, - /// Immutable. The metric specifications that overrides a resource - /// utilization metric (CPU utilization, accelerator's duty cycle, and so on) - /// target value (default to 60 if not set). At most one entry is allowed per - /// metric. - /// - /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\] is - /// above 0, the autoscaling will be based on both CPU utilization and - /// accelerator's duty cycle metrics and scale up when either metrics exceeds - /// its target value while scale down if both metrics are under their target - /// value. The default target value is 60 for both metrics. - /// - /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\] is - /// 0, the autoscaling will be based on CPU utilization metric only with - /// default target value 60 if not explicitly set. - /// - /// For example, in the case of Online Prediction, if you want to override - /// target CPU utilization to 80, you should set - /// \[autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1beta1.AutoscalingMetricSpec.metric_name\] - /// to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and - /// \[autoscaling_metric_specs.target][google.cloud.aiplatform.v1beta1.AutoscalingMetricSpec.target\] to `80`. + /// Immutable. The metric specifications that overrides a resource + /// utilization metric (CPU utilization, accelerator's duty cycle, and so on) + /// target value (default to 60 if not set). At most one entry is allowed per + /// metric. + /// + /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\] is + /// above 0, the autoscaling will be based on both CPU utilization and + /// accelerator's duty cycle metrics and scale up when either metrics exceeds + /// its target value while scale down if both metrics are under their target + /// value. The default target value is 60 for both metrics. + /// + /// If \[machine_spec.accelerator_count][google.cloud.aiplatform.v1beta1.MachineSpec.accelerator_count\] is + /// 0, the autoscaling will be based on CPU utilization metric only with + /// default target value 60 if not explicitly set. + /// + /// For example, in the case of Online Prediction, if you want to override + /// target CPU utilization to 80, you should set + /// \[autoscaling_metric_specs.metric_name][google.cloud.aiplatform.v1beta1.AutoscalingMetricSpec.metric_name\] + /// to `aiplatform.googleapis.com/prediction/online/cpu/utilization` and + /// \[autoscaling_metric_specs.target][google.cloud.aiplatform.v1beta1.AutoscalingMetricSpec.target\] to `80`. #[prost(message, repeated, tag="4")] pub autoscaling_metric_specs: ::prost::alloc::vec::Vec, } -/// A description of resources that to large degree are decided by Vertex AI, -/// and require only a modest additional configuration. -/// Each Model supporting these resources documents its specific guidelines. +/// A description of resources that to large degree are decided by Vertex AI, +/// and require only a modest additional configuration. +/// Each Model supporting these resources documents its specific guidelines. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomaticResources { - /// Immutable. The minimum number of replicas this DeployedModel will be always deployed - /// on. If traffic against it increases, it may dynamically be deployed onto - /// more replicas up to \[max_replica_count][google.cloud.aiplatform.v1beta1.AutomaticResources.max_replica_count\], and as traffic decreases, some - /// of these extra replicas may be freed. - /// If the requested value is too large, the deployment will error. + /// Immutable. The minimum number of replicas this DeployedModel will be always deployed + /// on. If traffic against it increases, it may dynamically be deployed onto + /// more replicas up to \[max_replica_count][google.cloud.aiplatform.v1beta1.AutomaticResources.max_replica_count\], and as traffic decreases, some + /// of these extra replicas may be freed. + /// If the requested value is too large, the deployment will error. #[prost(int32, tag="1")] pub min_replica_count: i32, - /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when - /// the traffic against it increases. If the requested value is too large, - /// the deployment will error, but if deployment succeeds then the ability - /// to scale the model to that many replicas is guaranteed (barring service - /// outages). If traffic against the DeployedModel increases beyond what its - /// replicas at maximum may handle, a portion of the traffic will be dropped. - /// If this value is not provided, a no upper bound for scaling under heavy - /// traffic will be assume, though Vertex AI may be unable to scale beyond - /// certain replica number. + /// Immutable. The maximum number of replicas this DeployedModel may be deployed on when + /// the traffic against it increases. If the requested value is too large, + /// the deployment will error, but if deployment succeeds then the ability + /// to scale the model to that many replicas is guaranteed (barring service + /// outages). If traffic against the DeployedModel increases beyond what its + /// replicas at maximum may handle, a portion of the traffic will be dropped. + /// If this value is not provided, a no upper bound for scaling under heavy + /// traffic will be assume, though Vertex AI may be unable to scale beyond + /// certain replica number. #[prost(int32, tag="2")] pub max_replica_count: i32, } -/// A description of resources that are used for performing batch operations, are -/// dedicated to a Model, and need manual configuration. +/// A description of resources that are used for performing batch operations, are +/// dedicated to a Model, and need manual configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDedicatedResources { - /// Required. Immutable. The specification of a single machine. + /// Required. Immutable. The specification of a single machine. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Immutable. The number of machine replicas used at the start of the batch operation. - /// If not set, Vertex AI decides starting number, not greater than - /// \[max_replica_count][google.cloud.aiplatform.v1beta1.BatchDedicatedResources.max_replica_count\] + /// Immutable. The number of machine replicas used at the start of the batch operation. + /// If not set, Vertex AI decides starting number, not greater than + /// \[max_replica_count][google.cloud.aiplatform.v1beta1.BatchDedicatedResources.max_replica_count\] #[prost(int32, tag="2")] pub starting_replica_count: i32, - /// Immutable. The maximum number of machine replicas the batch operation may be scaled - /// to. The default value is 10. + /// Immutable. The maximum number of machine replicas the batch operation may be scaled + /// to. The default value is 10. #[prost(int32, tag="3")] pub max_replica_count: i32, } -/// Statistics information about resource consumption. +/// Statistics information about resource consumption. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcesConsumed { - /// Output only. The number of replica hours used. Note that many replicas may run in - /// parallel, and additionally any given work may be queued for some time. - /// Therefore this value is not strictly related to wall time. + /// Output only. The number of replica hours used. Note that many replicas may run in + /// parallel, and additionally any given work may be queued for some time. + /// Therefore this value is not strictly related to wall time. #[prost(double, tag="1")] pub replica_hours: f64, } -/// Represents the spec of disk options. +/// Represents the spec of disk options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskSpec { - /// Type of the boot disk (default is "pd-ssd"). - /// Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or - /// "pd-standard" (Persistent Disk Hard Disk Drive). + /// Type of the boot disk (default is "pd-ssd"). + /// Valid values: "pd-ssd" (Persistent Disk Solid State Drive) or + /// "pd-standard" (Persistent Disk Hard Disk Drive). #[prost(string, tag="1")] pub boot_disk_type: ::prost::alloc::string::String, - /// Size in GB of the boot disk (default is 100GB). + /// Size in GB of the boot disk (default is 100GB). #[prost(int32, tag="2")] pub boot_disk_size_gb: i32, } -/// Represents a mount configuration for Network File System (NFS) to mount. +/// Represents a mount configuration for Network File System (NFS) to mount. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NfsMount { - /// Required. IP address of the NFS server. + /// Required. IP address of the NFS server. #[prost(string, tag="1")] pub server: ::prost::alloc::string::String, - /// Required. Source path exported from NFS server. - /// Has to start with '/', and combined with the ip address, it indicates - /// the source mount path in the form of `server:path` + /// Required. Source path exported from NFS server. + /// Has to start with '/', and combined with the ip address, it indicates + /// the source mount path in the form of `server:path` #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. Destination mount path. The NFS will be mounted for the user under - /// /mnt/nfs/ + /// Required. Destination mount path. The NFS will be mounted for the user under + /// /mnt/nfs/ #[prost(string, tag="3")] pub mount_point: ::prost::alloc::string::String, } -/// The metric specification that defines the target resource utilization -/// (CPU utilization, accelerator's duty cycle, and so on) for calculating the -/// desired replica count. +/// The metric specification that defines the target resource utilization +/// (CPU utilization, accelerator's duty cycle, and so on) for calculating the +/// desired replica count. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingMetricSpec { - /// Required. The resource metric name. - /// Supported metrics: + /// Required. The resource metric name. + /// Supported metrics: /// - /// * For Online Prediction: - /// * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` - /// * `aiplatform.googleapis.com/prediction/online/cpu/utilization` + /// * For Online Prediction: + /// * `aiplatform.googleapis.com/prediction/online/accelerator/duty_cycle` + /// * `aiplatform.googleapis.com/prediction/online/cpu/utilization` #[prost(string, tag="1")] pub metric_name: ::prost::alloc::string::String, - /// The target resource utilization in percentage (1% - 100%) for the given - /// metric; once the real usage deviates from the target by a certain - /// percentage, the machine replicas change. The default value is 60 - /// (representing 60%) if not provided. + /// The target resource utilization in percentage (1% - 100%) for the given + /// metric; once the real usage deviates from the target by a certain + /// percentage, the machine replicas change. The default value is 60 + /// (representing 60%) if not provided. #[prost(int32, tag="2")] pub target: i32, } -/// Manual batch tuning parameters. +/// Manual batch tuning parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManualBatchTuningParameters { - /// Immutable. The number of the records (e.g. instances) of the operation given in - /// each batch to a machine replica. Machine type, and size of a single - /// record should be considered when setting this parameter, higher value - /// speeds up the batch operation's execution, but too high value will result - /// in a whole batch not fitting in a machine's memory, and the whole - /// operation will fail. - /// The default value is 64. + /// Immutable. The number of the records (e.g. instances) of the operation given in + /// each batch to a machine replica. Machine type, and size of a single + /// record should be considered when setting this parameter, higher value + /// speeds up the batch operation's execution, but too high value will result + /// in a whole batch not fitting in a machine's memory, and the whole + /// operation will fail. + /// The default value is 64. #[prost(int32, tag="1")] pub batch_size: i32, } -/// Stats and Anomaly generated at specific timestamp for specific Feature. -/// The start_time and end_time are used to define the time range of the dataset -/// that current stats belongs to, e.g. prediction traffic is bucketed into -/// prediction datasets by time window. If the Dataset is not defined by time -/// window, start_time = end_time. Timestamp of the stats and anomalies always -/// refers to end_time. Raw stats and anomalies are stored in stats_uri or -/// anomaly_uri in the tensorflow defined protos. Field data_stats contains -/// almost identical information with the raw stats in Vertex AI -/// defined proto, for UI to display. +/// Stats and Anomaly generated at specific timestamp for specific Feature. +/// The start_time and end_time are used to define the time range of the dataset +/// that current stats belongs to, e.g. prediction traffic is bucketed into +/// prediction datasets by time window. If the Dataset is not defined by time +/// window, start_time = end_time. Timestamp of the stats and anomalies always +/// refers to end_time. Raw stats and anomalies are stored in stats_uri or +/// anomaly_uri in the tensorflow defined protos. Field data_stats contains +/// almost identical information with the raw stats in Vertex AI +/// defined proto, for UI to display. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureStatsAnomaly { - /// Feature importance score, only populated when cross-feature monitoring is - /// enabled. For now only used to represent feature attribution score within - /// range [0, 1] for - /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW\] and - /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT\]. + /// Feature importance score, only populated when cross-feature monitoring is + /// enabled. For now only used to represent feature attribution score within + /// range [0, 1] for + /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_SKEW\] and + /// \[ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringObjectiveType.FEATURE_ATTRIBUTION_DRIFT\]. #[prost(double, tag="1")] pub score: f64, - /// Path of the stats file for current feature values in Cloud Storage bucket. - /// Format: gs:////stats. - /// Example: gs://monitoring_bucket/feature_name/stats. - /// Stats are stored as binary format with Protobuf message - /// \[tensorflow.metadata.v0.FeatureNameStatistics\](). + /// Path of the stats file for current feature values in Cloud Storage bucket. + /// Format: gs:////stats. + /// Example: gs://monitoring_bucket/feature_name/stats. + /// Stats are stored as binary format with Protobuf message + /// \[tensorflow.metadata.v0.FeatureNameStatistics\](). #[prost(string, tag="3")] pub stats_uri: ::prost::alloc::string::String, - /// Path of the anomaly file for current feature values in Cloud Storage - /// bucket. - /// Format: gs:////anomalies. - /// Example: gs://monitoring_bucket/feature_name/anomalies. - /// Stats are stored as binary format with Protobuf message - /// Anoamlies are stored as binary format with Protobuf message - /// \[tensorflow.metadata.v0.AnomalyInfo\] - /// (). + /// Path of the anomaly file for current feature values in Cloud Storage + /// bucket. + /// Format: gs:////anomalies. + /// Example: gs://monitoring_bucket/feature_name/anomalies. + /// Stats are stored as binary format with Protobuf message + /// Anoamlies are stored as binary format with Protobuf message + /// \[tensorflow.metadata.v0.AnomalyInfo\] + /// (). #[prost(string, tag="4")] pub anomaly_uri: ::prost::alloc::string::String, - /// Deviation from the current stats to baseline stats. + /// Deviation from the current stats to baseline stats. /// 1. For categorical feature, the distribution distance is calculated by /// L-inifinity norm. /// 2. For numerical feature, the distribution distance is calculated by /// Jensen–Shannon divergence. #[prost(double, tag="5")] pub distribution_deviation: f64, - /// This is the threshold used when detecting anomalies. - /// The threshold can be changed by user, so this one might be different from - /// \[ThresholdConfig.value][google.cloud.aiplatform.v1beta1.ThresholdConfig.value\]. + /// This is the threshold used when detecting anomalies. + /// The threshold can be changed by user, so this one might be different from + /// \[ThresholdConfig.value][google.cloud.aiplatform.v1beta1.ThresholdConfig.value\]. #[prost(double, tag="9")] pub anomaly_detection_threshold: f64, - /// The start timestamp of window where stats were generated. - /// For objectives where time window doesn't make sense (e.g. Featurestore - /// Snapshot Monitoring), start_time is only used to indicate the monitoring - /// intervals, so it always equals to (end_time - monitoring_interval). + /// The start timestamp of window where stats were generated. + /// For objectives where time window doesn't make sense (e.g. Featurestore + /// Snapshot Monitoring), start_time is only used to indicate the monitoring + /// intervals, so it always equals to (end_time - monitoring_interval). #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The end timestamp of window where stats were generated. - /// For objectives where time window doesn't make sense (e.g. Featurestore - /// Snapshot Monitoring), end_time indicates the timestamp of the data used to - /// generate stats (e.g. timestamp we take snapshots for feature values). + /// The end timestamp of window where stats were generated. + /// For objectives where time window doesn't make sense (e.g. Featurestore + /// Snapshot Monitoring), end_time indicates the timestamp of the data used to + /// generate stats (e.g. timestamp we take snapshots for feature values). #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The model monitoring configuration used for Batch Prediction Job. +/// The model monitoring configuration used for Batch Prediction Job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringConfig { - /// Model monitoring objective config. + /// Model monitoring objective config. #[prost(message, repeated, tag="3")] pub objective_configs: ::prost::alloc::vec::Vec, - /// Model monitoring alert config. + /// Model monitoring alert config. #[prost(message, optional, tag="2")] pub alert_config: ::core::option::Option, - /// YAML schema file uri in Cloud Storage describing the format of a single - /// instance that you want Tensorflow Data Validation (TFDV) to analyze. + /// YAML schema file uri in Cloud Storage describing the format of a single + /// instance that you want Tensorflow Data Validation (TFDV) to analyze. /// - /// If there are any data type differences between predict instance and TFDV - /// instance, this field can be used to override the schema. - /// For models trained with Vertex AI, this field must be set as all the - /// fields in predict instance formatted as string. + /// If there are any data type differences between predict instance and TFDV + /// instance, this field can be used to override the schema. + /// For models trained with Vertex AI, this field must be set as all the + /// fields in predict instance formatted as string. #[prost(string, tag="4")] pub analysis_instance_schema_uri: ::prost::alloc::string::String, - /// A Google Cloud Storage location for batch prediction model monitoring to - /// dump statistics and anomalies. - /// If not provided, a folder will be created in customer project to hold - /// statistics and anomalies. + /// A Google Cloud Storage location for batch prediction model monitoring to + /// dump statistics and anomalies. + /// If not provided, a folder will be created in customer project to hold + /// statistics and anomalies. #[prost(message, optional, tag="5")] pub stats_anomalies_base_directory: ::core::option::Option, } -/// The objective configuration for model monitoring, including the information -/// needed to detect anomalies for one particular model. +/// The objective configuration for model monitoring, including the information +/// needed to detect anomalies for one particular model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringObjectiveConfig { - /// Training dataset for models. This field has to be set only if - /// TrainingPredictionSkewDetectionConfig is specified. + /// Training dataset for models. This field has to be set only if + /// TrainingPredictionSkewDetectionConfig is specified. #[prost(message, optional, tag="1")] pub training_dataset: ::core::option::Option, - /// The config for skew between training data and prediction data. + /// The config for skew between training data and prediction data. #[prost(message, optional, tag="2")] pub training_prediction_skew_detection_config: ::core::option::Option, - /// The config for drift of prediction data. + /// The config for drift of prediction data. #[prost(message, optional, tag="3")] pub prediction_drift_detection_config: ::core::option::Option, - /// The config for integrating with Vertex Explainable AI. + /// The config for integrating with Vertex Explainable AI. #[prost(message, optional, tag="5")] pub explanation_config: ::core::option::Option, } /// Nested message and enum types in `ModelMonitoringObjectiveConfig`. pub mod model_monitoring_objective_config { - /// Training Dataset information. + /// Training Dataset information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingDataset { - /// Data format of the dataset, only applicable if the input is from - /// Google Cloud Storage. - /// The possible formats are: + /// Data format of the dataset, only applicable if the input is from + /// Google Cloud Storage. + /// The possible formats are: /// - /// "tf-record" - /// The source file is a TFRecord file. + /// "tf-record" + /// The source file is a TFRecord file. /// - /// "csv" - /// The source file is a CSV file. - /// "jsonl" - /// The source file is a JSONL file. + /// "csv" + /// The source file is a CSV file. + /// "jsonl" + /// The source file is a JSONL file. #[prost(string, tag="2")] pub data_format: ::prost::alloc::string::String, - /// The target field name the model is to predict. - /// This field will be excluded when doing Predict and (or) Explain for the - /// training data. + /// The target field name the model is to predict. + /// This field will be excluded when doing Predict and (or) Explain for the + /// training data. #[prost(string, tag="6")] pub target_field: ::prost::alloc::string::String, - /// Strategy to sample data from Training Dataset. - /// If not set, we process the whole dataset. + /// Strategy to sample data from Training Dataset. + /// If not set, we process the whole dataset. #[prost(message, optional, tag="7")] pub logging_sampling_strategy: ::core::option::Option, #[prost(oneof="training_dataset::DataSource", tags="3, 4, 5")] @@ -1772,99 +1772,99 @@ pub mod model_monitoring_objective_config { pub mod training_dataset { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataSource { - /// The resource name of the Dataset used to train this Model. + /// The resource name of the Dataset used to train this Model. #[prost(string, tag="3")] Dataset(::prost::alloc::string::String), - /// The Google Cloud Storage uri of the unmanaged Dataset used to train - /// this Model. + /// The Google Cloud Storage uri of the unmanaged Dataset used to train + /// this Model. #[prost(message, tag="4")] GcsSource(super::super::GcsSource), - /// The BigQuery table of the unmanaged Dataset used to train this - /// Model. + /// The BigQuery table of the unmanaged Dataset used to train this + /// Model. #[prost(message, tag="5")] BigquerySource(super::super::BigQuerySource), } } - /// The config for Training & Prediction data skew detection. It specifies the - /// training dataset sources and the skew detection parameters. + /// The config for Training & Prediction data skew detection. It specifies the + /// training dataset sources and the skew detection parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingPredictionSkewDetectionConfig { - /// Key is the feature name and value is the threshold. If a feature needs to - /// be monitored for skew, a value threshold must be configured for that - /// feature. The threshold here is against feature distribution distance - /// between the training and prediction feature. + /// Key is the feature name and value is the threshold. If a feature needs to + /// be monitored for skew, a value threshold must be configured for that + /// feature. The threshold here is against feature distribution distance + /// between the training and prediction feature. #[prost(map="string, message", tag="1")] pub skew_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Key is the feature name and value is the threshold. The threshold here is - /// against attribution score distance between the training and prediction - /// feature. + /// Key is the feature name and value is the threshold. The threshold here is + /// against attribution score distance between the training and prediction + /// feature. #[prost(map="string, message", tag="2")] pub attribution_score_skew_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Skew anomaly detection threshold used by all features. - /// When the per-feature thresholds are not set, this field can be used to - /// specify a threshold for all features. + /// Skew anomaly detection threshold used by all features. + /// When the per-feature thresholds are not set, this field can be used to + /// specify a threshold for all features. #[prost(message, optional, tag="6")] pub default_skew_threshold: ::core::option::Option, } - /// The config for Prediction data drift detection. + /// The config for Prediction data drift detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictionDriftDetectionConfig { - /// Key is the feature name and value is the threshold. If a feature needs to - /// be monitored for drift, a value threshold must be configured for that - /// feature. The threshold here is against feature distribution distance - /// between different time windws. + /// Key is the feature name and value is the threshold. If a feature needs to + /// be monitored for drift, a value threshold must be configured for that + /// feature. The threshold here is against feature distribution distance + /// between different time windws. #[prost(map="string, message", tag="1")] pub drift_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Key is the feature name and value is the threshold. The threshold here is - /// against attribution score distance between different time windows. + /// Key is the feature name and value is the threshold. The threshold here is + /// against attribution score distance between different time windows. #[prost(map="string, message", tag="2")] pub attribution_score_drift_thresholds: ::std::collections::HashMap<::prost::alloc::string::String, super::ThresholdConfig>, - /// Drift anomaly detection threshold used by all features. - /// When the per-feature thresholds are not set, this field can be used to - /// specify a threshold for all features. + /// Drift anomaly detection threshold used by all features. + /// When the per-feature thresholds are not set, this field can be used to + /// specify a threshold for all features. #[prost(message, optional, tag="5")] pub default_drift_threshold: ::core::option::Option, } - /// The config for integrating with Vertex Explainable AI. Only applicable if - /// the Model has explanation_spec populated. + /// The config for integrating with Vertex Explainable AI. Only applicable if + /// the Model has explanation_spec populated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationConfig { - /// If want to analyze the Vertex Explainable AI feature attribute scores or - /// not. If set to true, Vertex AI will log the feature attributions from - /// explain response and do the skew/drift detection for them. + /// If want to analyze the Vertex Explainable AI feature attribute scores or + /// not. If set to true, Vertex AI will log the feature attributions from + /// explain response and do the skew/drift detection for them. #[prost(bool, tag="1")] pub enable_feature_attributes: bool, - /// Predictions generated by the BatchPredictionJob using baseline dataset. + /// Predictions generated by the BatchPredictionJob using baseline dataset. #[prost(message, optional, tag="2")] pub explanation_baseline: ::core::option::Option, } /// Nested message and enum types in `ExplanationConfig`. pub mod explanation_config { - /// Output from - /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\] - /// for Model Monitoring baseline dataset, which can be used to generate - /// baseline attribution scores. + /// Output from + /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\] + /// for Model Monitoring baseline dataset, which can be used to generate + /// baseline attribution scores. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExplanationBaseline { - /// The storage format of the predictions generated BatchPrediction job. + /// The storage format of the predictions generated BatchPrediction job. #[prost(enumeration="explanation_baseline::PredictionFormat", tag="1")] pub prediction_format: i32, - /// The configuration specifying of BatchExplain job output. This can be - /// used to generate the baseline of feature attribution scores. + /// The configuration specifying of BatchExplain job output. This can be + /// used to generate the baseline of feature attribution scores. #[prost(oneof="explanation_baseline::Destination", tags="2, 3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExplanationBaseline`. pub mod explanation_baseline { - /// The storage format of the predictions generated BatchPrediction job. + /// The storage format of the predictions generated BatchPrediction job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PredictionFormat { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// Predictions are in JSONL files. + /// Predictions are in JSONL files. Jsonl = 2, - /// Predictions are in BigQuery. + /// Predictions are in BigQuery. Bigquery = 3, } impl PredictionFormat { @@ -1880,14 +1880,14 @@ pub mod model_monitoring_objective_config { } } } - /// The configuration specifying of BatchExplain job output. This can be - /// used to generate the baseline of feature attribution scores. + /// The configuration specifying of BatchExplain job output. This can be + /// used to generate the baseline of feature attribution scores. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Cloud Storage location for BatchExplain output. + /// Cloud Storage location for BatchExplain output. #[prost(message, tag="2")] Gcs(super::super::super::GcsDestination), - /// BigQuery location for BatchExplain output. + /// BigQuery location for BatchExplain output. #[prost(message, tag="3")] Bigquery(super::super::super::BigQueryDestination), } @@ -1896,11 +1896,11 @@ pub mod model_monitoring_objective_config { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringAlertConfig { - /// Dump the anomalies to Cloud Logging. The anomalies will be put to json - /// payload encoded from proto - /// \[google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][\]. - /// This can be further sinked to Pub/Sub or any other services supported - /// by Cloud Logging. + /// Dump the anomalies to Cloud Logging. The anomalies will be put to json + /// payload encoded from proto + /// \[google.cloud.aiplatform.logging.ModelMonitoringAnomaliesLogEntry][\]. + /// This can be further sinked to Pub/Sub or any other services supported + /// by Cloud Logging. #[prost(bool, tag="2")] pub enable_logging: bool, #[prost(oneof="model_monitoring_alert_config::Alert", tags="1")] @@ -1908,21 +1908,21 @@ pub struct ModelMonitoringAlertConfig { } /// Nested message and enum types in `ModelMonitoringAlertConfig`. pub mod model_monitoring_alert_config { - /// The config for email alert. + /// The config for email alert. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EmailAlertConfig { - /// The email addresses to send the alert. + /// The email addresses to send the alert. #[prost(string, repeated, tag="1")] pub user_emails: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Alert { - /// Email alert config. + /// Email alert config. #[prost(message, tag="1")] EmailAlertConfig(EmailAlertConfig), } } -/// The config for feature monitoring threshold. +/// The config for feature monitoring threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdConfig { #[prost(oneof="threshold_config::Threshold", tags="1")] @@ -1932,180 +1932,180 @@ pub struct ThresholdConfig { pub mod threshold_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Threshold { - /// Specify a threshold value that can trigger the alert. - /// If this threshold config is for feature distribution distance: + /// Specify a threshold value that can trigger the alert. + /// If this threshold config is for feature distribution distance: /// 1. For categorical feature, the distribution distance is calculated by /// L-inifinity norm. /// 2. For numerical feature, the distribution distance is calculated by /// Jensen–Shannon divergence. - /// Each feature must have a non-zero threshold if they need to be monitored. - /// Otherwise no alert will be triggered for that feature. + /// Each feature must have a non-zero threshold if they need to be monitored. + /// Otherwise no alert will be triggered for that feature. #[prost(double, tag="1")] Value(f64), } } -/// Sampling Strategy for logging, can be for both training and prediction -/// dataset. +/// Sampling Strategy for logging, can be for both training and prediction +/// dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SamplingStrategy { - /// Random sample config. Will support more sampling strategies later. + /// Random sample config. Will support more sampling strategies later. #[prost(message, optional, tag="1")] pub random_sample_config: ::core::option::Option, } /// Nested message and enum types in `SamplingStrategy`. pub mod sampling_strategy { - /// Requests are randomly selected. + /// Requests are randomly selected. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RandomSampleConfig { - /// Sample rate (0, 1] + /// Sample rate (0, 1] #[prost(double, tag="1")] pub sample_rate: f64, } } -/// Represents a job that runs periodically to monitor the deployed models in an -/// endpoint. It will analyze the logged training & prediction data to detect any -/// abnormal behaviors. +/// Represents a job that runs periodically to monitor the deployed models in an +/// endpoint. It will analyze the logged training & prediction data to detect any +/// abnormal behaviors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringJob { - /// Output only. Resource name of a ModelDeploymentMonitoringJob. + /// Output only. Resource name of a ModelDeploymentMonitoringJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the ModelDeploymentMonitoringJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. - /// Display name of a ModelDeploymentMonitoringJob. + /// Required. The user-defined name of the ModelDeploymentMonitoringJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. + /// Display name of a ModelDeploymentMonitoringJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Endpoint resource name. - /// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. Endpoint resource name. + /// Format: `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="3")] pub endpoint: ::prost::alloc::string::String, - /// Output only. The detailed state of the monitoring job. - /// When the job is still creating, the state will be 'PENDING'. - /// Once the job is successfully created, the state will be 'RUNNING'. - /// Pause the job, the state will be 'PAUSED'. - /// Resume the job, the state will return to 'RUNNING'. + /// Output only. The detailed state of the monitoring job. + /// When the job is still creating, the state will be 'PENDING'. + /// Once the job is successfully created, the state will be 'RUNNING'. + /// Pause the job, the state will be 'PAUSED'. + /// Resume the job, the state will return to 'RUNNING'. #[prost(enumeration="JobState", tag="4")] pub state: i32, - /// Output only. Schedule state when the monitoring job is in Running state. + /// Output only. Schedule state when the monitoring job is in Running state. #[prost(enumeration="model_deployment_monitoring_job::MonitoringScheduleState", tag="5")] pub schedule_state: i32, - /// Output only. Latest triggered monitoring pipeline metadata. + /// Output only. Latest triggered monitoring pipeline metadata. #[prost(message, optional, tag="25")] pub latest_monitoring_pipeline_metadata: ::core::option::Option, - /// Required. The config for monitoring objectives. This is a per DeployedModel config. - /// Each DeployedModel needs to be configured separately. + /// Required. The config for monitoring objectives. This is a per DeployedModel config. + /// Each DeployedModel needs to be configured separately. #[prost(message, repeated, tag="6")] pub model_deployment_monitoring_objective_configs: ::prost::alloc::vec::Vec, - /// Required. Schedule config for running the monitoring job. + /// Required. Schedule config for running the monitoring job. #[prost(message, optional, tag="7")] pub model_deployment_monitoring_schedule_config: ::core::option::Option, - /// Required. Sample Strategy for logging. + /// Required. Sample Strategy for logging. #[prost(message, optional, tag="8")] pub logging_sampling_strategy: ::core::option::Option, - /// Alert config for model monitoring. + /// Alert config for model monitoring. #[prost(message, optional, tag="15")] pub model_monitoring_alert_config: ::core::option::Option, - /// YAML schema file uri describing the format of a single instance, - /// which are given to format this Endpoint's prediction (and explanation). - /// If not set, we will generate predict schema from collected predict - /// requests. + /// YAML schema file uri describing the format of a single instance, + /// which are given to format this Endpoint's prediction (and explanation). + /// If not set, we will generate predict schema from collected predict + /// requests. #[prost(string, tag="9")] pub predict_instance_schema_uri: ::prost::alloc::string::String, - /// Sample Predict instance, same format as \[PredictRequest.instances][google.cloud.aiplatform.v1beta1.PredictRequest.instances\], - /// this can be set as a replacement of - /// \[ModelDeploymentMonitoringJob.predict_instance_schema_uri][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\]. If not set, - /// we will generate predict schema from collected predict requests. + /// Sample Predict instance, same format as \[PredictRequest.instances][google.cloud.aiplatform.v1beta1.PredictRequest.instances\], + /// this can be set as a replacement of + /// \[ModelDeploymentMonitoringJob.predict_instance_schema_uri][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\]. If not set, + /// we will generate predict schema from collected predict requests. #[prost(message, optional, tag="19")] pub sample_predict_instance: ::core::option::Option<::prost_types::Value>, - /// YAML schema file uri describing the format of a single instance that you - /// want Tensorflow Data Validation (TFDV) to analyze. - /// - /// If this field is empty, all the feature data types are inferred from - /// \[predict_instance_schema_uri][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\], - /// meaning that TFDV will use the data in the exact format(data type) as - /// prediction request/response. - /// If there are any data type differences between predict instance and TFDV - /// instance, this field can be used to override the schema. - /// For models trained with Vertex AI, this field must be set as all the - /// fields in predict instance formatted as string. + /// YAML schema file uri describing the format of a single instance that you + /// want Tensorflow Data Validation (TFDV) to analyze. + /// + /// If this field is empty, all the feature data types are inferred from + /// \[predict_instance_schema_uri][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringJob.predict_instance_schema_uri\], + /// meaning that TFDV will use the data in the exact format(data type) as + /// prediction request/response. + /// If there are any data type differences between predict instance and TFDV + /// instance, this field can be used to override the schema. + /// For models trained with Vertex AI, this field must be set as all the + /// fields in predict instance formatted as string. #[prost(string, tag="16")] pub analysis_instance_schema_uri: ::prost::alloc::string::String, - /// Output only. The created bigquery tables for the job under customer project. Customer - /// could do their own query & analysis. There could be 4 log tables in - /// maximum: - /// 1. Training data logging predict request/response - /// 2. Serving data logging predict request/response + /// Output only. The created bigquery tables for the job under customer project. Customer + /// could do their own query & analysis. There could be 4 log tables in + /// maximum: + /// 1. Training data logging predict request/response + /// 2. Serving data logging predict request/response #[prost(message, repeated, tag="10")] pub bigquery_tables: ::prost::alloc::vec::Vec, - /// The TTL of BigQuery tables in user projects which stores logs. - /// A day is the basic unit of the TTL and we take the ceil of TTL/86400(a - /// day). e.g. { second: 3600} indicates ttl = 1 day. + /// The TTL of BigQuery tables in user projects which stores logs. + /// A day is the basic unit of the TTL and we take the ceil of TTL/86400(a + /// day). e.g. { second: 3600} indicates ttl = 1 day. #[prost(message, optional, tag="17")] pub log_ttl: ::core::option::Option<::prost_types::Duration>, - /// The labels with user-defined metadata to organize your - /// ModelDeploymentMonitoringJob. + /// The labels with user-defined metadata to organize your + /// ModelDeploymentMonitoringJob. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this ModelDeploymentMonitoringJob was created. + /// Output only. Timestamp when this ModelDeploymentMonitoringJob was created. #[prost(message, optional, tag="12")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently. + /// Output only. Timestamp when this ModelDeploymentMonitoringJob was updated most recently. #[prost(message, optional, tag="13")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this monitoring pipeline will be scheduled to run for the - /// next round. + /// Output only. Timestamp when this monitoring pipeline will be scheduled to run for the + /// next round. #[prost(message, optional, tag="14")] pub next_schedule_time: ::core::option::Option<::prost_types::Timestamp>, - /// Stats anomalies base folder path. + /// Stats anomalies base folder path. #[prost(message, optional, tag="20")] pub stats_anomalies_base_directory: ::core::option::Option, - /// Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If - /// set, this ModelDeploymentMonitoringJob and all sub-resources of this - /// ModelDeploymentMonitoringJob will be secured by this key. + /// Customer-managed encryption key spec for a ModelDeploymentMonitoringJob. If + /// set, this ModelDeploymentMonitoringJob and all sub-resources of this + /// ModelDeploymentMonitoringJob will be secured by this key. #[prost(message, optional, tag="21")] pub encryption_spec: ::core::option::Option, - /// If true, the scheduled monitoring pipeline logs are sent to - /// Google Cloud Logging, including pipeline status and anomalies detected. - /// Please note the logs incur cost, which are subject to [Cloud Logging - /// pricing](). + /// If true, the scheduled monitoring pipeline logs are sent to + /// Google Cloud Logging, including pipeline status and anomalies detected. + /// Please note the logs incur cost, which are subject to [Cloud Logging + /// pricing](). #[prost(bool, tag="22")] pub enable_monitoring_pipeline_logs: bool, - /// Output only. Only populated when the job's state is `JOB_STATE_FAILED` or - /// `JOB_STATE_CANCELLED`. + /// Output only. Only populated when the job's state is `JOB_STATE_FAILED` or + /// `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="23")] pub error: ::core::option::Option, } /// Nested message and enum types in `ModelDeploymentMonitoringJob`. pub mod model_deployment_monitoring_job { - /// All metadata of most recent monitoring pipelines. + /// All metadata of most recent monitoring pipelines. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LatestMonitoringPipelineMetadata { - /// The time that most recent monitoring pipelines that is related to this - /// run. + /// The time that most recent monitoring pipelines that is related to this + /// run. #[prost(message, optional, tag="1")] pub run_time: ::core::option::Option<::prost_types::Timestamp>, - /// The status of the most recent monitoring pipeline. + /// The status of the most recent monitoring pipeline. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } - /// The state to Specify the monitoring pipeline. + /// The state to Specify the monitoring pipeline. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MonitoringScheduleState { - /// Unspecified state. + /// Unspecified state. Unspecified = 0, - /// The pipeline is picked up and wait to run. + /// The pipeline is picked up and wait to run. Pending = 1, - /// The pipeline is offline and will be scheduled for next run. + /// The pipeline is offline and will be scheduled for next run. Offline = 2, - /// The pipeline is running. + /// The pipeline is running. Running = 3, } impl MonitoringScheduleState { @@ -2123,33 +2123,33 @@ pub mod model_deployment_monitoring_job { } } } -/// ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name -/// as well as some information of the logs stored in this table. +/// ModelDeploymentMonitoringBigQueryTable specifies the BigQuery table name +/// as well as some information of the logs stored in this table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringBigQueryTable { - /// The source of log. + /// The source of log. #[prost(enumeration="model_deployment_monitoring_big_query_table::LogSource", tag="1")] pub log_source: i32, - /// The type of log. + /// The type of log. #[prost(enumeration="model_deployment_monitoring_big_query_table::LogType", tag="2")] pub log_type: i32, - /// The created BigQuery table to store logs. Customer could do their own query - /// & analysis. Format: - /// `bq://.model_deployment_monitoring_._` + /// The created BigQuery table to store logs. Customer could do their own query + /// & analysis. Format: + /// `bq://.model_deployment_monitoring_._` #[prost(string, tag="3")] pub bigquery_table_path: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelDeploymentMonitoringBigQueryTable`. pub mod model_deployment_monitoring_big_query_table { - /// Indicates where does the log come from. + /// Indicates where does the log come from. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogSource { - /// Unspecified source. + /// Unspecified source. Unspecified = 0, - /// Logs coming from Training dataset. + /// Logs coming from Training dataset. Training = 1, - /// Logs coming from Serving traffic. + /// Logs coming from Serving traffic. Serving = 2, } impl LogSource { @@ -2165,15 +2165,15 @@ pub mod model_deployment_monitoring_big_query_table { } } } - /// Indicates what type of traffic does the log belong to. + /// Indicates what type of traffic does the log belong to. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Predict logs. + /// Predict logs. Predict = 1, - /// Explain logs. + /// Explain logs. Explain = 2, } impl LogType { @@ -2190,88 +2190,88 @@ pub mod model_deployment_monitoring_big_query_table { } } } -/// ModelDeploymentMonitoringObjectiveConfig contains the pair of -/// deployed_model_id to ModelMonitoringObjectiveConfig. +/// ModelDeploymentMonitoringObjectiveConfig contains the pair of +/// deployed_model_id to ModelMonitoringObjectiveConfig. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringObjectiveConfig { - /// The DeployedModel ID of the objective config. + /// The DeployedModel ID of the objective config. #[prost(string, tag="1")] pub deployed_model_id: ::prost::alloc::string::String, - /// The objective config of for the modelmonitoring job of this deployed model. + /// The objective config of for the modelmonitoring job of this deployed model. #[prost(message, optional, tag="2")] pub objective_config: ::core::option::Option, } -/// The config for scheduling monitoring job. +/// The config for scheduling monitoring job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeploymentMonitoringScheduleConfig { - /// Required. The model monitoring job scheduling interval. It will be rounded up to next - /// full hour. This defines how often the monitoring jobs are triggered. + /// Required. The model monitoring job scheduling interval. It will be rounded up to next + /// full hour. This defines how often the monitoring jobs are triggered. #[prost(message, optional, tag="1")] pub monitor_interval: ::core::option::Option<::prost_types::Duration>, - /// The time window of the prediction data being included in each prediction - /// dataset. This window specifies how long the data should be collected from - /// historical model results for each run. If not set, - /// \[ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringScheduleConfig.monitor_interval\] will be used. - /// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the - /// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 - /// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the - /// monitoring statistics. + /// The time window of the prediction data being included in each prediction + /// dataset. This window specifies how long the data should be collected from + /// historical model results for each run. If not set, + /// \[ModelDeploymentMonitoringScheduleConfig.monitor_interval][google.cloud.aiplatform.v1beta1.ModelDeploymentMonitoringScheduleConfig.monitor_interval\] will be used. + /// e.g. If currently the cutoff time is 2022-01-08 14:30:00 and the + /// monitor_window is set to be 3600, then data from 2022-01-08 13:30:00 + /// to 2022-01-08 14:30:00 will be retrieved and aggregated to calculate the + /// monitoring statistics. #[prost(message, optional, tag="2")] pub monitor_window: ::core::option::Option<::prost_types::Duration>, } -/// Statistics and anomalies generated by Model Monitoring. +/// Statistics and anomalies generated by Model Monitoring. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMonitoringStatsAnomalies { - /// Model Monitoring Objective those stats and anomalies belonging to. + /// Model Monitoring Objective those stats and anomalies belonging to. #[prost(enumeration="ModelDeploymentMonitoringObjectiveType", tag="1")] pub objective: i32, - /// Deployed Model ID. + /// Deployed Model ID. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// Number of anomalies within all stats. + /// Number of anomalies within all stats. #[prost(int32, tag="3")] pub anomaly_count: i32, - /// A list of historical Stats and Anomalies generated for all Features. + /// A list of historical Stats and Anomalies generated for all Features. #[prost(message, repeated, tag="4")] pub feature_stats: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ModelMonitoringStatsAnomalies`. pub mod model_monitoring_stats_anomalies { - /// Historical Stats (and Anomalies) for a specific Feature. + /// Historical Stats (and Anomalies) for a specific Feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureHistoricStatsAnomalies { - /// Display Name of the Feature. + /// Display Name of the Feature. #[prost(string, tag="1")] pub feature_display_name: ::prost::alloc::string::String, - /// Threshold for anomaly detection. + /// Threshold for anomaly detection. #[prost(message, optional, tag="3")] pub threshold: ::core::option::Option, - /// Stats calculated for the Training Dataset. + /// Stats calculated for the Training Dataset. #[prost(message, optional, tag="4")] pub training_stats: ::core::option::Option, - /// A list of historical stats generated by different time window's - /// Prediction Dataset. + /// A list of historical stats generated by different time window's + /// Prediction Dataset. #[prost(message, repeated, tag="5")] pub prediction_stats: ::prost::alloc::vec::Vec, } } -/// The Model Monitoring Objective types. +/// The Model Monitoring Objective types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelDeploymentMonitoringObjectiveType { - /// Default value, should not be set. + /// Default value, should not be set. Unspecified = 0, - /// Raw feature values' stats to detect skew between Training-Prediction - /// datasets. + /// Raw feature values' stats to detect skew between Training-Prediction + /// datasets. RawFeatureSkew = 1, - /// Raw feature values' stats to detect drift between Serving-Prediction - /// datasets. + /// Raw feature values' stats to detect drift between Serving-Prediction + /// datasets. RawFeatureDrift = 2, - /// Feature attribution scores to detect skew between Training-Prediction - /// datasets. + /// Feature attribution scores to detect skew between Training-Prediction + /// datasets. FeatureAttributionSkew = 3, - /// Feature attribution scores to detect skew between Prediction datasets - /// collected within different time windows. + /// Feature attribution scores to detect skew between Prediction datasets + /// collected within different time windows. FeatureAttributionDrift = 4, } impl ModelDeploymentMonitoringObjectiveType { @@ -2289,301 +2289,301 @@ impl ModelDeploymentMonitoringObjectiveType { } } } -/// Points to a DeployedModel. +/// Points to a DeployedModel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedModelRef { - /// Immutable. A resource name of an Endpoint. + /// Immutable. A resource name of an Endpoint. #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Immutable. An ID of a DeployedModel in the above Endpoint. + /// Immutable. An ID of a DeployedModel in the above Endpoint. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, } -/// Represents an environment variable present in a Container or Python Module. +/// Represents an environment variable present in a Container or Python Module. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnvVar { - /// Required. Name of the environment variable. Must be a valid C identifier. + /// Required. Name of the environment variable. Must be a valid C identifier. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Variables that reference a $(VAR_NAME) are expanded - /// using the previous defined environment variables in the container and - /// any service environment variables. If a variable cannot be resolved, - /// the reference in the input string will be unchanged. The $(VAR_NAME) - /// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped - /// references will never be expanded, regardless of whether the variable - /// exists or not. + /// Required. Variables that reference a $(VAR_NAME) are expanded + /// using the previous defined environment variables in the container and + /// any service environment variables. If a variable cannot be resolved, + /// the reference in the input string will be unchanged. The $(VAR_NAME) + /// syntax can be escaped with a double $$, ie: $$(VAR_NAME). Escaped + /// references will never be expanded, regardless of whether the variable + /// exists or not. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } -/// A trained machine learning Model. +/// A trained machine learning Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// The resource name of the Model. + /// The resource name of the Model. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Immutable. The version ID of the model. - /// A new version is committed when a new model version is uploaded or - /// trained under an existing model id. It is an auto-incrementing decimal - /// number in string representation. + /// Output only. Immutable. The version ID of the model. + /// A new version is committed when a new model version is uploaded or + /// trained under an existing model id. It is an auto-incrementing decimal + /// number in string representation. #[prost(string, tag="28")] pub version_id: ::prost::alloc::string::String, - /// User provided version aliases so that a model version can be referenced via - /// alias (i.e. - /// projects/{project}/locations/{location}/models/{model_id}@{version_alias} - /// instead of auto-generated version id (i.e. - /// projects/{project}/locations/{location}/models/{model_id}@{version_id}). - /// The format is \[a-z][a-zA-Z0-9-]{0,126}[a-z0-9\] to distinguish from - /// version_id. A default version alias will be created for the first version - /// of the model, and there must be exactly one default version alias for a - /// model. + /// User provided version aliases so that a model version can be referenced via + /// alias (i.e. + /// projects/{project}/locations/{location}/models/{model_id}@{version_alias} + /// instead of auto-generated version id (i.e. + /// projects/{project}/locations/{location}/models/{model_id}@{version_id}). + /// The format is \[a-z][a-zA-Z0-9-]{0,126}[a-z0-9\] to distinguish from + /// version_id. A default version alias will be created for the first version + /// of the model, and there must be exactly one default version alias for a + /// model. #[prost(string, repeated, tag="29")] pub version_aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Timestamp when this version was created. + /// Output only. Timestamp when this version was created. #[prost(message, optional, tag="31")] pub version_create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this version was most recently updated. + /// Output only. Timestamp when this version was most recently updated. #[prost(message, optional, tag="32")] pub version_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The display name of the Model. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Model. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Model. + /// The description of the Model. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The description of this version. + /// The description of this version. #[prost(string, tag="30")] pub version_description: ::prost::alloc::string::String, - /// The schemata that describe formats of the Model's predictions and - /// explanations as given and returned via - /// \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] and \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. + /// The schemata that describe formats of the Model's predictions and + /// explanations as given and returned via + /// \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] and \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. #[prost(message, optional, tag="4")] pub predict_schemata: ::core::option::Option, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Model, that is specific to it. Unset if the Model - /// does not have any additional information. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI, if no - /// additional metadata is needed, this field is set to an empty string. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Model, that is specific to it. Unset if the Model + /// does not have any additional information. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI, if no + /// additional metadata is needed, this field is set to an empty string. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="5")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// Immutable. An additional information about the Model; the schema of the metadata can - /// be found in \[metadata_schema][google.cloud.aiplatform.v1beta1.Model.metadata_schema_uri\]. - /// Unset if the Model does not have any additional information. + /// Immutable. An additional information about the Model; the schema of the metadata can + /// be found in \[metadata_schema][google.cloud.aiplatform.v1beta1.Model.metadata_schema_uri\]. + /// Unset if the Model does not have any additional information. #[prost(message, optional, tag="6")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. The formats in which this Model may be exported. If empty, this Model is - /// not available for export. + /// Output only. The formats in which this Model may be exported. If empty, this Model is + /// not available for export. #[prost(message, repeated, tag="20")] pub supported_export_formats: ::prost::alloc::vec::Vec, - /// Output only. The resource name of the TrainingPipeline that uploaded this Model, if - /// any. + /// Output only. The resource name of the TrainingPipeline that uploaded this Model, if + /// any. #[prost(string, tag="7")] pub training_pipeline: ::prost::alloc::string::String, - /// Input only. The specification of the container that is to be used when deploying - /// this Model. The specification is ingested upon - /// \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\], and all binaries it contains are copied - /// and stored internally by Vertex AI. - /// Not present for AutoML Models. + /// Input only. The specification of the container that is to be used when deploying + /// this Model. The specification is ingested upon + /// \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\], and all binaries it contains are copied + /// and stored internally by Vertex AI. + /// Not present for AutoML Models. #[prost(message, optional, tag="9")] pub container_spec: ::core::option::Option, - /// Immutable. The path to the directory containing the Model artifact and any of its - /// supporting files. - /// Not present for AutoML Models. + /// Immutable. The path to the directory containing the Model artifact and any of its + /// supporting files. + /// Not present for AutoML Models. #[prost(string, tag="26")] pub artifact_uri: ::prost::alloc::string::String, - /// Output only. When this Model is deployed, its prediction resources are described by the - /// `prediction_resources` field of the \[Endpoint.deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models\] object. - /// Because not all Models support all resource configuration types, the - /// configuration types this Model supports are listed here. If no - /// configuration types are listed, the Model cannot be deployed to an - /// \[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint\] and does not support - /// online predictions (\[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]). Such a Model can serve predictions by - /// using a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\], if it has at least one entry each in - /// \[supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\] and - /// \[supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\]. + /// Output only. When this Model is deployed, its prediction resources are described by the + /// `prediction_resources` field of the \[Endpoint.deployed_models][google.cloud.aiplatform.v1beta1.Endpoint.deployed_models\] object. + /// Because not all Models support all resource configuration types, the + /// configuration types this Model supports are listed here. If no + /// configuration types are listed, the Model cannot be deployed to an + /// \[Endpoint][google.cloud.aiplatform.v1beta1.Endpoint\] and does not support + /// online predictions (\[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]). Such a Model can serve predictions by + /// using a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\], if it has at least one entry each in + /// \[supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\] and + /// \[supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\]. #[prost(enumeration="model::DeploymentResourcesType", repeated, packed="false", tag="10")] pub supported_deployment_resources_types: ::prost::alloc::vec::Vec, - /// Output only. The formats this Model supports in - /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. If - /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] exists, the instances - /// should be given as per that schema. + /// Output only. The formats this Model supports in + /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. If + /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] exists, the instances + /// should be given as per that schema. /// - /// The possible formats are: + /// The possible formats are: /// - /// * `jsonl` - /// The JSON Lines format, where each instance is a single line. Uses - /// \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `jsonl` + /// The JSON Lines format, where each instance is a single line. Uses + /// \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `csv` - /// The CSV format, where each instance is a single comma-separated line. - /// The first line in the file is the header, containing comma-separated field - /// names. Uses \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `csv` + /// The CSV format, where each instance is a single comma-separated line. + /// The first line in the file is the header, containing comma-separated field + /// names. Uses \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `tf-record` - /// The TFRecord format, where each instance is a single record in tfrecord - /// syntax. Uses \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `tf-record` + /// The TFRecord format, where each instance is a single record in tfrecord + /// syntax. Uses \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `tf-record-gzip` - /// Similar to `tf-record`, but the file is gzipped. Uses - /// \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. + /// * `tf-record-gzip` + /// Similar to `tf-record`, but the file is gzipped. Uses + /// \[GcsSource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.gcs_source\]. /// - /// * `bigquery` - /// Each instance is a single row in BigQuery. Uses - /// \[BigQuerySource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.bigquery_source\]. + /// * `bigquery` + /// Each instance is a single row in BigQuery. Uses + /// \[BigQuerySource][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig.bigquery_source\]. /// - /// * `file-list` - /// Each line of the file is the location of an instance to process, uses - /// `gcs_source` field of the - /// \[InputConfig][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig\] object. + /// * `file-list` + /// Each line of the file is the location of an instance to process, uses + /// `gcs_source` field of the + /// \[InputConfig][google.cloud.aiplatform.v1beta1.BatchPredictionJob.InputConfig\] object. /// /// - /// If this Model doesn't support any of these formats it means it cannot be - /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. However, if it has - /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\], it could serve online - /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. + /// If this Model doesn't support any of these formats it means it cannot be + /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. However, if it has + /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\], it could serve online + /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. #[prost(string, repeated, tag="11")] pub supported_input_storage_formats: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The formats this Model supports in - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. If both - /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] and - /// \[PredictSchemata.prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri\] exist, the predictions - /// are returned together with their instances. In other words, the - /// prediction has the original instance data first, followed - /// by the actual prediction content (as per the schema). - /// - /// The possible formats are: - /// - /// * `jsonl` - /// The JSON Lines format, where each prediction is a single line. Uses - /// \[GcsDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.gcs_destination\]. - /// - /// * `csv` - /// The CSV format, where each prediction is a single comma-separated line. - /// The first line in the file is the header, containing comma-separated field - /// names. Uses - /// \[GcsDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.gcs_destination\]. - /// - /// * `bigquery` - /// Each prediction is a single row in a BigQuery table, uses - /// \[BigQueryDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.bigquery_destination\] - /// . - /// - /// - /// If this Model doesn't support any of these formats it means it cannot be - /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. However, if it has - /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\], it could serve online - /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or - /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. + /// Output only. The formats this Model supports in + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. If both + /// \[PredictSchemata.instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] and + /// \[PredictSchemata.prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri\] exist, the predictions + /// are returned together with their instances. In other words, the + /// prediction has the original instance data first, followed + /// by the actual prediction content (as per the schema). + /// + /// The possible formats are: + /// + /// * `jsonl` + /// The JSON Lines format, where each prediction is a single line. Uses + /// \[GcsDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.gcs_destination\]. + /// + /// * `csv` + /// The CSV format, where each prediction is a single comma-separated line. + /// The first line in the file is the header, containing comma-separated field + /// names. Uses + /// \[GcsDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.gcs_destination\]. + /// + /// * `bigquery` + /// Each prediction is a single row in a BigQuery table, uses + /// \[BigQueryDestination][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.bigquery_destination\] + /// . + /// + /// + /// If this Model doesn't support any of these formats it means it cannot be + /// used with a \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. However, if it has + /// \[supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\], it could serve online + /// predictions by using \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] or + /// \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\]. #[prost(string, repeated, tag="12")] pub supported_output_storage_formats: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Timestamp when this Model was uploaded into Vertex AI. + /// Output only. Timestamp when this Model was uploaded into Vertex AI. #[prost(message, optional, tag="13")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Model was most recently updated. + /// Output only. Timestamp when this Model was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The pointers to DeployedModels created from this Model. Note that - /// Model could have been deployed to Endpoints in different Locations. + /// Output only. The pointers to DeployedModels created from this Model. Note that + /// Model could have been deployed to Endpoints in different Locations. #[prost(message, repeated, tag="15")] pub deployed_models: ::prost::alloc::vec::Vec, - /// The default explanation specification for this Model. - /// - /// The Model can be used for [requesting - /// explanation]\[PredictionService.Explain\] after being - /// \[deployed][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\] if it is populated. - /// The Model can be used for [batch - /// explanation]\[BatchPredictionJob.generate_explanation\] if it is populated. - /// - /// All fields of the explanation_spec can be overridden by - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] of - /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1beta1.DeployModelRequest.deployed_model\], or - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] of - /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. - /// - /// If the default explanation specification is not set for this Model, this - /// Model can still be used for [requesting - /// explanation]\[PredictionService.Explain\] by setting - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] of - /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1beta1.DeployModelRequest.deployed_model\] and for [batch - /// explanation]\[BatchPredictionJob.generate_explanation\] by setting - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] of - /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. + /// The default explanation specification for this Model. + /// + /// The Model can be used for [requesting + /// explanation]\[PredictionService.Explain\] after being + /// \[deployed][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\] if it is populated. + /// The Model can be used for [batch + /// explanation]\[BatchPredictionJob.generate_explanation\] if it is populated. + /// + /// All fields of the explanation_spec can be overridden by + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] of + /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1beta1.DeployModelRequest.deployed_model\], or + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] of + /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. + /// + /// If the default explanation specification is not set for this Model, this + /// Model can still be used for [requesting + /// explanation]\[PredictionService.Explain\] by setting + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] of + /// \[DeployModelRequest.deployed_model][google.cloud.aiplatform.v1beta1.DeployModelRequest.deployed_model\] and for [batch + /// explanation]\[BatchPredictionJob.generate_explanation\] by setting + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] of + /// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. #[prost(message, optional, tag="23")] pub explanation_spec: ::core::option::Option, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="16")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Models. + /// The labels with user-defined metadata to organize your Models. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="17")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a Model. If set, this - /// Model and all sub-resources of this Model will be secured by this key. + /// Customer-managed encryption key spec for a Model. If set, this + /// Model and all sub-resources of this Model will be secured by this key. #[prost(message, optional, tag="24")] pub encryption_spec: ::core::option::Option, } /// Nested message and enum types in `Model`. pub mod model { - /// Represents export format supported by the Model. - /// All formats export to Google Cloud Storage. + /// Represents export format supported by the Model. + /// All formats export to Google Cloud Storage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFormat { - /// Output only. The ID of the export format. - /// The possible format IDs are: + /// Output only. The ID of the export format. + /// The possible format IDs are: /// - /// * `tflite` - /// Used for Android mobile devices. + /// * `tflite` + /// Used for Android mobile devices. /// - /// * `edgetpu-tflite` - /// Used for [Edge TPU]() devices. + /// * `edgetpu-tflite` + /// Used for [Edge TPU]() devices. /// - /// * `tf-saved-model` - /// A tensorflow model in SavedModel format. + /// * `tf-saved-model` + /// A tensorflow model in SavedModel format. /// - /// * `tf-js` - /// A \[TensorFlow.js\]() model that can be used - /// in the browser and in Node.js using JavaScript. + /// * `tf-js` + /// A \[TensorFlow.js\]() model that can be used + /// in the browser and in Node.js using JavaScript. /// - /// * `core-ml` - /// Used for iOS mobile devices. + /// * `core-ml` + /// Used for iOS mobile devices. /// - /// * `custom-trained` - /// A Model that was uploaded or trained by custom code. + /// * `custom-trained` + /// A Model that was uploaded or trained by custom code. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Output only. The content of this Model that may be exported. + /// Output only. The content of this Model that may be exported. #[prost(enumeration="export_format::ExportableContent", repeated, packed="false", tag="2")] pub exportable_contents: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ExportFormat`. pub mod export_format { - /// The Model content that can be exported. + /// The Model content that can be exported. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExportableContent { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Model artifact and any of its supported files. Will be exported to the - /// location specified by the `artifactDestination` field of the - /// \[ExportModelRequest.output_config][google.cloud.aiplatform.v1beta1.ExportModelRequest.output_config\] object. + /// Model artifact and any of its supported files. Will be exported to the + /// location specified by the `artifactDestination` field of the + /// \[ExportModelRequest.output_config][google.cloud.aiplatform.v1beta1.ExportModelRequest.output_config\] object. Artifact = 1, - /// The container image that is to be used when deploying this Model. Will - /// be exported to the location specified by the `imageDestination` field - /// of the \[ExportModelRequest.output_config][google.cloud.aiplatform.v1beta1.ExportModelRequest.output_config\] object. + /// The container image that is to be used when deploying this Model. Will + /// be exported to the location specified by the `imageDestination` field + /// of the \[ExportModelRequest.output_config][google.cloud.aiplatform.v1beta1.ExportModelRequest.output_config\] object. Image = 2, } impl ExportableContent { @@ -2600,20 +2600,20 @@ pub mod model { } } } - /// Identifies a type of Model's prediction resources. + /// Identifies a type of Model's prediction resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DeploymentResourcesType { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Resources that are dedicated to the \[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel\], and that need a - /// higher degree of manual configuration. + /// Resources that are dedicated to the \[DeployedModel][google.cloud.aiplatform.v1beta1.DeployedModel\], and that need a + /// higher degree of manual configuration. DedicatedResources = 1, - /// Resources that to large degree are decided by Vertex AI, and require - /// only a modest additional configuration. + /// Resources that to large degree are decided by Vertex AI, and require + /// only a modest additional configuration. AutomaticResources = 2, - /// Resources that can be shared by multiple \[DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel\]. - /// A pre-configured \[DeploymentResourcePool][google.cloud.aiplatform.v1beta1.DeploymentResourcePool\] is required. + /// Resources that can be shared by multiple \[DeployedModels][google.cloud.aiplatform.v1beta1.DeployedModel\]. + /// A pre-configured \[DeploymentResourcePool][google.cloud.aiplatform.v1beta1.DeploymentResourcePool\] is required. SharedResources = 3, } impl DeploymentResourcesType { @@ -2631,159 +2631,159 @@ pub mod model { } } } -/// Contains the schemata used in Model's predictions and explanations via -/// \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\], \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\] and -/// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. +/// Contains the schemata used in Model's predictions and explanations via +/// \[PredictionService.Predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\], \[PredictionService.Explain][google.cloud.aiplatform.v1beta1.PredictionService.Explain\] and +/// \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictSchemata { - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format - /// of a single instance, which are used in \[PredictRequest.instances][google.cloud.aiplatform.v1beta1.PredictRequest.instances\], - /// \[ExplainRequest.instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] and - /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format + /// of a single instance, which are used in \[PredictRequest.instances][google.cloud.aiplatform.v1beta1.PredictRequest.instances\], + /// \[ExplainRequest.instances][google.cloud.aiplatform.v1beta1.ExplainRequest.instances\] and + /// \[BatchPredictionJob.input_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="1")] pub instance_schema_uri: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the - /// parameters of prediction and explanation via - /// \[PredictRequest.parameters][google.cloud.aiplatform.v1beta1.PredictRequest.parameters\], \[ExplainRequest.parameters][google.cloud.aiplatform.v1beta1.ExplainRequest.parameters\] and - /// \[BatchPredictionJob.model_parameters][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model_parameters\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI, if no - /// parameters are supported, then it is set to an empty string. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the + /// parameters of prediction and explanation via + /// \[PredictRequest.parameters][google.cloud.aiplatform.v1beta1.PredictRequest.parameters\], \[ExplainRequest.parameters][google.cloud.aiplatform.v1beta1.ExplainRequest.parameters\] and + /// \[BatchPredictionJob.model_parameters][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model_parameters\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI, if no + /// parameters are supported, then it is set to an empty string. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="2")] pub parameters_schema_uri: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format - /// of a single prediction produced by this Model, which are returned via - /// \[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions\], \[ExplainResponse.explanations][google.cloud.aiplatform.v1beta1.ExplainResponse.explanations\], and - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// AutoML Models always have this field populated by Vertex AI. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing the format + /// of a single prediction produced by this Model, which are returned via + /// \[PredictResponse.predictions][google.cloud.aiplatform.v1beta1.PredictResponse.predictions\], \[ExplainResponse.explanations][google.cloud.aiplatform.v1beta1.ExplainResponse.explanations\], and + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// AutoML Models always have this field populated by Vertex AI. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="3")] pub prediction_schema_uri: ::prost::alloc::string::String, } -/// Specification of a container for serving predictions. Some fields in this -/// message correspond to fields in the [Kubernetes Container v1 core -/// specification](). +/// Specification of a container for serving predictions. Some fields in this +/// message correspond to fields in the [Kubernetes Container v1 core +/// specification](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelContainerSpec { - /// Required. Immutable. URI of the Docker image to be used as the custom container for serving - /// predictions. This URI must identify an image in Artifact Registry or - /// Container Registry. Learn more about the [container publishing - /// requirements](), - /// including permissions requirements for the Vertex AI Service Agent. - /// - /// The container image is ingested upon \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\], stored - /// internally, and this original path is afterwards not used. - /// - /// To learn about the requirements for the Docker image itself, see - /// [Custom container - /// requirements](). - /// - /// You can use the URI to one of Vertex AI's [pre-built container images for - /// prediction]() - /// in this field. + /// Required. Immutable. URI of the Docker image to be used as the custom container for serving + /// predictions. This URI must identify an image in Artifact Registry or + /// Container Registry. Learn more about the [container publishing + /// requirements](), + /// including permissions requirements for the Vertex AI Service Agent. + /// + /// The container image is ingested upon \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\], stored + /// internally, and this original path is afterwards not used. + /// + /// To learn about the requirements for the Docker image itself, see + /// [Custom container + /// requirements](). + /// + /// You can use the URI to one of Vertex AI's [pre-built container images for + /// prediction]() + /// in this field. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// Immutable. Specifies the command that runs when the container starts. This overrides - /// the container's - /// \[ENTRYPOINT\](). - /// Specify this field as an array of executable and arguments, similar to a - /// Docker `ENTRYPOINT`'s "exec" form, not its "shell" form. - /// - /// If you do not specify this field, then the container's `ENTRYPOINT` runs, - /// in conjunction with the \[args][google.cloud.aiplatform.v1beta1.ModelContainerSpec.args\] field or the - /// container's \[`CMD`\](), - /// if either exists. If this field is not specified and the container does not - /// have an `ENTRYPOINT`, then refer to the Docker documentation about [how - /// `CMD` and `ENTRYPOINT` - /// interact](). - /// - /// If you specify this field, then you can also specify the `args` field to - /// provide additional arguments for this command. However, if you specify this - /// field, then the container's `CMD` is ignored. See the - /// [Kubernetes documentation about how the - /// `command` and `args` fields interact with a container's `ENTRYPOINT` and - /// `CMD`](). - /// - /// In this field, you can reference [environment variables set by Vertex - /// AI]() - /// and environment variables set in the \[env][google.cloud.aiplatform.v1beta1.ModelContainerSpec.env\] field. - /// You cannot reference environment variables set in the Docker image. In - /// order for environment variables to be expanded, reference them by using the - /// following syntax: - /// $(VARIABLE_NAME) - /// Note that this differs from Bash variable expansion, which does not use - /// parentheses. If a variable cannot be resolved, the reference in the input - /// string is used unchanged. To avoid variable expansion, you can escape this - /// syntax with `$$`; for example: - /// $$(VARIABLE_NAME) - /// This field corresponds to the `command` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Immutable. Specifies the command that runs when the container starts. This overrides + /// the container's + /// \[ENTRYPOINT\](). + /// Specify this field as an array of executable and arguments, similar to a + /// Docker `ENTRYPOINT`'s "exec" form, not its "shell" form. + /// + /// If you do not specify this field, then the container's `ENTRYPOINT` runs, + /// in conjunction with the \[args][google.cloud.aiplatform.v1beta1.ModelContainerSpec.args\] field or the + /// container's \[`CMD`\](), + /// if either exists. If this field is not specified and the container does not + /// have an `ENTRYPOINT`, then refer to the Docker documentation about [how + /// `CMD` and `ENTRYPOINT` + /// interact](). + /// + /// If you specify this field, then you can also specify the `args` field to + /// provide additional arguments for this command. However, if you specify this + /// field, then the container's `CMD` is ignored. See the + /// [Kubernetes documentation about how the + /// `command` and `args` fields interact with a container's `ENTRYPOINT` and + /// `CMD`](). + /// + /// In this field, you can reference [environment variables set by Vertex + /// AI]() + /// and environment variables set in the \[env][google.cloud.aiplatform.v1beta1.ModelContainerSpec.env\] field. + /// You cannot reference environment variables set in the Docker image. In + /// order for environment variables to be expanded, reference them by using the + /// following syntax: + /// $(VARIABLE_NAME) + /// Note that this differs from Bash variable expansion, which does not use + /// parentheses. If a variable cannot be resolved, the reference in the input + /// string is used unchanged. To avoid variable expansion, you can escape this + /// syntax with `$$`; for example: + /// $$(VARIABLE_NAME) + /// This field corresponds to the `command` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(string, repeated, tag="2")] pub command: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. Specifies arguments for the command that runs when the container starts. - /// This overrides the container's - /// \[`CMD`\](). Specify - /// this field as an array of executable and arguments, similar to a Docker - /// `CMD`'s "default parameters" form. - /// - /// If you don't specify this field but do specify the - /// \[command][google.cloud.aiplatform.v1beta1.ModelContainerSpec.command\] field, then the command from the - /// `command` field runs without any additional arguments. See the - /// [Kubernetes documentation about how the - /// `command` and `args` fields interact with a container's `ENTRYPOINT` and - /// `CMD`](). - /// - /// If you don't specify this field and don't specify the `command` field, - /// then the container's - /// \[`ENTRYPOINT`\]() and - /// `CMD` determine what runs based on their default behavior. See the Docker - /// documentation about [how `CMD` and `ENTRYPOINT` - /// interact](). - /// - /// In this field, you can reference [environment variables - /// set by Vertex - /// AI]() - /// and environment variables set in the \[env][google.cloud.aiplatform.v1beta1.ModelContainerSpec.env\] field. - /// You cannot reference environment variables set in the Docker image. In - /// order for environment variables to be expanded, reference them by using the - /// following syntax: - /// $(VARIABLE_NAME) - /// Note that this differs from Bash variable expansion, which does not use - /// parentheses. If a variable cannot be resolved, the reference in the input - /// string is used unchanged. To avoid variable expansion, you can escape this - /// syntax with `$$`; for example: - /// $$(VARIABLE_NAME) - /// This field corresponds to the `args` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Immutable. Specifies arguments for the command that runs when the container starts. + /// This overrides the container's + /// \[`CMD`\](). Specify + /// this field as an array of executable and arguments, similar to a Docker + /// `CMD`'s "default parameters" form. + /// + /// If you don't specify this field but do specify the + /// \[command][google.cloud.aiplatform.v1beta1.ModelContainerSpec.command\] field, then the command from the + /// `command` field runs without any additional arguments. See the + /// [Kubernetes documentation about how the + /// `command` and `args` fields interact with a container's `ENTRYPOINT` and + /// `CMD`](). + /// + /// If you don't specify this field and don't specify the `command` field, + /// then the container's + /// \[`ENTRYPOINT`\]() and + /// `CMD` determine what runs based on their default behavior. See the Docker + /// documentation about [how `CMD` and `ENTRYPOINT` + /// interact](). + /// + /// In this field, you can reference [environment variables + /// set by Vertex + /// AI]() + /// and environment variables set in the \[env][google.cloud.aiplatform.v1beta1.ModelContainerSpec.env\] field. + /// You cannot reference environment variables set in the Docker image. In + /// order for environment variables to be expanded, reference them by using the + /// following syntax: + /// $(VARIABLE_NAME) + /// Note that this differs from Bash variable expansion, which does not use + /// parentheses. If a variable cannot be resolved, the reference in the input + /// string is used unchanged. To avoid variable expansion, you can escape this + /// syntax with `$$`; for example: + /// $$(VARIABLE_NAME) + /// This field corresponds to the `args` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. List of environment variables to set in the container. After the container - /// starts running, code running in the container can read these environment - /// variables. + /// Immutable. List of environment variables to set in the container. After the container + /// starts running, code running in the container can read these environment + /// variables. /// - /// Additionally, the \[command][google.cloud.aiplatform.v1beta1.ModelContainerSpec.command\] and - /// \[args][google.cloud.aiplatform.v1beta1.ModelContainerSpec.args\] fields can reference these variables. Later - /// entries in this list can also reference earlier entries. For example, the - /// following example sets the variable `VAR_2` to have the value `foo bar`: + /// Additionally, the \[command][google.cloud.aiplatform.v1beta1.ModelContainerSpec.command\] and + /// \[args][google.cloud.aiplatform.v1beta1.ModelContainerSpec.args\] fields can reference these variables. Later + /// entries in this list can also reference earlier entries. For example, the + /// following example sets the variable `VAR_2` to have the value `foo bar`: /// - /// ```json - /// [ + /// ```json + /// [ /// { /// "name": "VAR_1", /// "value": "foo" @@ -2792,201 +2792,201 @@ pub struct ModelContainerSpec { /// "name": "VAR_2", /// "value": "$(VAR_1) bar" /// } - /// ] - /// ``` + /// ] + /// ``` /// - /// If you switch the order of the variables in the example, then the expansion - /// does not occur. + /// If you switch the order of the variables in the example, then the expansion + /// does not occur. /// - /// This field corresponds to the `env` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// This field corresponds to the `env` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(message, repeated, tag="4")] pub env: ::prost::alloc::vec::Vec, - /// Immutable. List of ports to expose from the container. Vertex AI sends any - /// prediction requests that it receives to the first port on this list. Vertex - /// AI also sends - /// [liveness and health - /// checks]() - /// to this port. + /// Immutable. List of ports to expose from the container. Vertex AI sends any + /// prediction requests that it receives to the first port on this list. Vertex + /// AI also sends + /// [liveness and health + /// checks]() + /// to this port. /// - /// If you do not specify this field, it defaults to following value: + /// If you do not specify this field, it defaults to following value: /// - /// ```json - /// [ + /// ```json + /// [ /// { /// "containerPort": 8080 /// } - /// ] - /// ``` + /// ] + /// ``` /// - /// Vertex AI does not use ports other than the first one listed. This field - /// corresponds to the `ports` field of the Kubernetes Containers - /// [v1 core - /// API](). + /// Vertex AI does not use ports other than the first one listed. This field + /// corresponds to the `ports` field of the Kubernetes Containers + /// [v1 core + /// API](). #[prost(message, repeated, tag="5")] pub ports: ::prost::alloc::vec::Vec, - /// Immutable. HTTP path on the container to send prediction requests to. Vertex AI - /// forwards requests sent using - /// \[projects.locations.endpoints.predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] to this - /// path on the container's IP address and port. Vertex AI then returns the - /// container's response in the API response. - /// - /// For example, if you set this field to `/foo`, then when Vertex AI - /// receives a prediction request, it forwards the request body in a POST - /// request to the `/foo` path on the port of your container specified by the - /// first value of this `ModelContainerSpec`'s - /// \[ports][google.cloud.aiplatform.v1beta1.ModelContainerSpec.ports\] field. - /// - /// If you don't specify this field, it defaults to the following value when - /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]: - /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict - /// The placeholders in this value are replaced as follows: - /// - /// * ENDPOINT: The last segment (following `endpoints/`)of the + /// Immutable. HTTP path on the container to send prediction requests to. Vertex AI + /// forwards requests sent using + /// \[projects.locations.endpoints.predict][google.cloud.aiplatform.v1beta1.PredictionService.Predict\] to this + /// path on the container's IP address and port. Vertex AI then returns the + /// container's response in the API response. + /// + /// For example, if you set this field to `/foo`, then when Vertex AI + /// receives a prediction request, it forwards the request body in a POST + /// request to the `/foo` path on the port of your container specified by the + /// first value of this `ModelContainerSpec`'s + /// \[ports][google.cloud.aiplatform.v1beta1.ModelContainerSpec.ports\] field. + /// + /// If you don't specify this field, it defaults to the following value when + /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]: + /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict + /// The placeholders in this value are replaced as follows: + /// + /// * ENDPOINT: The last segment (following `endpoints/`)of the /// Endpoint.name][] field of the Endpoint where this Model has been /// deployed. (Vertex AI makes this value available to your container code /// as the [`AIP_ENDPOINT_ID` environment /// variable]().) /// - /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1beta1.DeployedModel.id\] of the `DeployedModel`. + /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1beta1.DeployedModel.id\] of the `DeployedModel`. /// (Vertex AI makes this value available to your container code /// as the [`AIP_DEPLOYED_MODEL_ID` environment /// variable]().) #[prost(string, tag="6")] pub predict_route: ::prost::alloc::string::String, - /// Immutable. HTTP path on the container to send health checks to. Vertex AI - /// intermittently sends GET requests to this path on the container's IP - /// address and port to check that the container is healthy. Read more about - /// [health - /// checks](). - /// - /// For example, if you set this field to `/bar`, then Vertex AI - /// intermittently sends a GET request to the `/bar` path on the port of your - /// container specified by the first value of this `ModelContainerSpec`'s - /// \[ports][google.cloud.aiplatform.v1beta1.ModelContainerSpec.ports\] field. - /// - /// If you don't specify this field, it defaults to the following value when - /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]: - /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict - /// The placeholders in this value are replaced as follows: - /// - /// * ENDPOINT: The last segment (following `endpoints/`)of the + /// Immutable. HTTP path on the container to send health checks to. Vertex AI + /// intermittently sends GET requests to this path on the container's IP + /// address and port to check that the container is healthy. Read more about + /// [health + /// checks](). + /// + /// For example, if you set this field to `/bar`, then Vertex AI + /// intermittently sends a GET request to the `/bar` path on the port of your + /// container specified by the first value of this `ModelContainerSpec`'s + /// \[ports][google.cloud.aiplatform.v1beta1.ModelContainerSpec.ports\] field. + /// + /// If you don't specify this field, it defaults to the following value when + /// you [deploy this Model to an Endpoint]\[google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]: + /// /v1/endpoints/ENDPOINT/deployedModels/DEPLOYED_MODEL:predict + /// The placeholders in this value are replaced as follows: + /// + /// * ENDPOINT: The last segment (following `endpoints/`)of the /// Endpoint.name][] field of the Endpoint where this Model has been /// deployed. (Vertex AI makes this value available to your container code /// as the [`AIP_ENDPOINT_ID` environment /// variable]().) /// - /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1beta1.DeployedModel.id\] of the `DeployedModel`. + /// * DEPLOYED_MODEL: \[DeployedModel.id][google.cloud.aiplatform.v1beta1.DeployedModel.id\] of the `DeployedModel`. /// (Vertex AI makes this value available to your container code as the /// [`AIP_DEPLOYED_MODEL_ID` environment /// variable]().) #[prost(string, tag="7")] pub health_route: ::prost::alloc::string::String, } -/// Represents a network port in a container. +/// Represents a network port in a container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Port { - /// The number of the port to expose on the pod's IP address. - /// Must be a valid port number, between 1 and 65535 inclusive. + /// The number of the port to expose on the pod's IP address. + /// Must be a valid port number, between 1 and 65535 inclusive. #[prost(int32, tag="3")] pub container_port: i32, } -/// Contains model information necessary to perform batch prediction without -/// requiring a full model import. +/// Contains model information necessary to perform batch prediction without +/// requiring a full model import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnmanagedContainerModel { - /// The path to the directory containing the Model artifact and any of its - /// supporting files. + /// The path to the directory containing the Model artifact and any of its + /// supporting files. #[prost(string, tag="1")] pub artifact_uri: ::prost::alloc::string::String, - /// Contains the schemata used in Model's predictions and explanations + /// Contains the schemata used in Model's predictions and explanations #[prost(message, optional, tag="2")] pub predict_schemata: ::core::option::Option, - /// Input only. The specification of the container that is to be used when deploying - /// this Model. + /// Input only. The specification of the container that is to be used when deploying + /// this Model. #[prost(message, optional, tag="3")] pub container_spec: ::core::option::Option, } -/// A job that uses a \[Model][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] to produce predictions -/// on multiple [input instances]\[google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. If -/// predictions for significant portion of the instances fail, the job may finish -/// without attempting predictions for all remaining instances. +/// A job that uses a \[Model][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] to produce predictions +/// on multiple [input instances]\[google.cloud.aiplatform.v1beta1.BatchPredictionJob.input_config\]. If +/// predictions for significant portion of the instances fail, the job may finish +/// without attempting predictions for all remaining instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictionJob { - /// Output only. Resource name of the BatchPredictionJob. + /// Output only. Resource name of the BatchPredictionJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of this BatchPredictionJob. + /// Required. The user-defined name of this BatchPredictionJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The name of the Model resoure that produces the predictions via this job, - /// must share the same ancestor Location. - /// Starting this job has no impact on any existing deployments of the Model - /// and their resources. - /// Exactly one of model and unmanaged_container_model must be set. - /// - /// The model resource name may contain version id or version alias to specify - /// the version, if no version is specified, the default version will be used. + /// The name of the Model resoure that produces the predictions via this job, + /// must share the same ancestor Location. + /// Starting this job has no impact on any existing deployments of the Model + /// and their resources. + /// Exactly one of model and unmanaged_container_model must be set. + /// + /// The model resource name may contain version id or version alias to specify + /// the version, if no version is specified, the default version will be used. #[prost(string, tag="3")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the Model that produces the predictions via this job. + /// Output only. The version ID of the Model that produces the predictions via this job. #[prost(string, tag="30")] pub model_version_id: ::prost::alloc::string::String, - /// Contains model information necessary to perform batch prediction without - /// requiring uploading to model registry. - /// Exactly one of model and unmanaged_container_model must be set. + /// Contains model information necessary to perform batch prediction without + /// requiring uploading to model registry. + /// Exactly one of model and unmanaged_container_model must be set. #[prost(message, optional, tag="28")] pub unmanaged_container_model: ::core::option::Option, - /// Required. Input configuration of the instances on which predictions are performed. - /// The schema of any single instance may be specified via - /// the \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\]. + /// Required. Input configuration of the instances on which predictions are performed. + /// The schema of any single instance may be specified via + /// the \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\]. #[prost(message, optional, tag="4")] pub input_config: ::core::option::Option, - /// The parameters that govern the predictions. The schema of the parameters - /// may be specified via the \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] - /// \[parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\]. + /// The parameters that govern the predictions. The schema of the parameters + /// may be specified via the \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] + /// \[parameters_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\]. #[prost(message, optional, tag="5")] pub model_parameters: ::core::option::Option<::prost_types::Value>, - /// Required. The Configuration specifying where output predictions should - /// be written. - /// The schema of any single prediction may be specified as a concatenation - /// of \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] - /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] - /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] - /// and - /// \[prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri\]. + /// Required. The Configuration specifying where output predictions should + /// be written. + /// The schema of any single prediction may be specified as a concatenation + /// of \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] + /// \[PredictSchemata's][google.cloud.aiplatform.v1beta1.Model.predict_schemata\] + /// \[instance_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] + /// and + /// \[prediction_schema_uri][google.cloud.aiplatform.v1beta1.PredictSchemata.prediction_schema_uri\]. #[prost(message, optional, tag="6")] pub output_config: ::core::option::Option, - /// The config of resources used by the Model during the batch prediction. If - /// the Model \[supports][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\] - /// DEDICATED_RESOURCES this config may be provided (and the job will use these - /// resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config - /// must be provided. + /// The config of resources used by the Model during the batch prediction. If + /// the Model \[supports][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\] + /// DEDICATED_RESOURCES this config may be provided (and the job will use these + /// resources), if the Model doesn't support AUTOMATIC_RESOURCES, this config + /// must be provided. #[prost(message, optional, tag="7")] pub dedicated_resources: ::core::option::Option, - /// The service account that the DeployedModel's container runs as. If not - /// specified, a system generated one will be used, which - /// has minimal permissions and the custom container, if used, may not have - /// enough permission to access other GCP resources. + /// The service account that the DeployedModel's container runs as. If not + /// specified, a system generated one will be used, which + /// has minimal permissions and the custom container, if used, may not have + /// enough permission to access other GCP resources. /// - /// Users deploying the Model must have the `iam.serviceAccounts.actAs` - /// permission on this service account. + /// Users deploying the Model must have the `iam.serviceAccounts.actAs` + /// permission on this service account. #[prost(string, tag="29")] pub service_account: ::prost::alloc::string::String, - /// Immutable. Parameters configuring the batch behavior. Currently only applicable when - /// \[dedicated_resources][google.cloud.aiplatform.v1beta1.BatchPredictionJob.dedicated_resources\] are used (in other cases Vertex AI does - /// the tuning itself). + /// Immutable. Parameters configuring the batch behavior. Currently only applicable when + /// \[dedicated_resources][google.cloud.aiplatform.v1beta1.BatchPredictionJob.dedicated_resources\] are used (in other cases Vertex AI does + /// the tuning itself). #[prost(message, optional, tag="8")] pub manual_batch_tuning_parameters: ::core::option::Option, - /// Generate explanation with the batch prediction results. + /// Generate explanation with the batch prediction results. /// - /// When set to `true`, the batch prediction output changes based on the - /// `predictions_format` field of the - /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\] object: + /// When set to `true`, the batch prediction output changes based on the + /// `predictions_format` field of the + /// \[BatchPredictionJob.output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\] object: /// /// * `bigquery`: output includes a column named `explanation`. The value /// is a struct that conforms to the \[Explanation][google.cloud.aiplatform.v1beta1.Explanation\] object. @@ -2995,387 +2995,387 @@ pub struct BatchPredictionJob { /// conforms to the \[Explanation][google.cloud.aiplatform.v1beta1.Explanation\] object. /// * `csv`: Generating explanations for CSV format is not supported. /// - /// If this field is set to true, either the \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] or - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] must be populated. + /// If this field is set to true, either the \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] or + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] must be populated. #[prost(bool, tag="23")] pub generate_explanation: bool, - /// Explanation configuration for this BatchPredictionJob. Can be - /// specified only if \[generate_explanation][google.cloud.aiplatform.v1beta1.BatchPredictionJob.generate_explanation\] is set to `true`. + /// Explanation configuration for this BatchPredictionJob. Can be + /// specified only if \[generate_explanation][google.cloud.aiplatform.v1beta1.BatchPredictionJob.generate_explanation\] is set to `true`. /// - /// This value overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\]. All fields of - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] are optional in the request. If a field of the - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] object is not populated, the corresponding field of - /// the \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] object is inherited. + /// This value overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\]. All fields of + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] are optional in the request. If a field of the + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.BatchPredictionJob.explanation_spec\] object is not populated, the corresponding field of + /// the \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] object is inherited. #[prost(message, optional, tag="25")] pub explanation_spec: ::core::option::Option, - /// Output only. Information further describing the output of this job. + /// Output only. Information further describing the output of this job. #[prost(message, optional, tag="9")] pub output_info: ::core::option::Option, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="10")] pub state: i32, - /// Output only. Only populated when the job's state is JOB_STATE_FAILED or - /// JOB_STATE_CANCELLED. + /// Output only. Only populated when the job's state is JOB_STATE_FAILED or + /// JOB_STATE_CANCELLED. #[prost(message, optional, tag="11")] pub error: ::core::option::Option, - /// Output only. Partial failures encountered. - /// For example, single files that can't be read. - /// This field never exceeds 20 entries. - /// Status details fields contain standard GCP error details. + /// Output only. Partial failures encountered. + /// For example, single files that can't be read. + /// This field never exceeds 20 entries. + /// Status details fields contain standard GCP error details. #[prost(message, repeated, tag="12")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Information about resources that had been consumed by this job. - /// Provided in real time at best effort basis, as well as a final value - /// once the job completes. + /// Output only. Information about resources that had been consumed by this job. + /// Provided in real time at best effort basis, as well as a final value + /// once the job completes. /// - /// Note: This field currently may be not populated for batch predictions that - /// use AutoML Models. + /// Note: This field currently may be not populated for batch predictions that + /// use AutoML Models. #[prost(message, optional, tag="13")] pub resources_consumed: ::core::option::Option, - /// Output only. Statistics on completed and failed prediction instances. + /// Output only. Statistics on completed and failed prediction instances. #[prost(message, optional, tag="14")] pub completion_stats: ::core::option::Option, - /// Output only. Time when the BatchPredictionJob was created. + /// Output only. Time when the BatchPredictionJob was created. #[prost(message, optional, tag="15")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the BatchPredictionJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="16")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the BatchPredictionJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="17")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the BatchPredictionJob was most recently updated. + /// Output only. Time when the BatchPredictionJob was most recently updated. #[prost(message, optional, tag="18")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The labels with user-defined metadata to organize BatchPredictionJobs. + /// The labels with user-defined metadata to organize BatchPredictionJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="19")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a BatchPredictionJob. If this - /// is set, then all resources created by the BatchPredictionJob will be - /// encrypted with the provided encryption key. + /// Customer-managed encryption key options for a BatchPredictionJob. If this + /// is set, then all resources created by the BatchPredictionJob will be + /// encrypted with the provided encryption key. #[prost(message, optional, tag="24")] pub encryption_spec: ::core::option::Option, - /// Model monitoring config will be used for analysis model behaviors, based on - /// the input and output to the batch prediction job, as well as the provided - /// training dataset. + /// Model monitoring config will be used for analysis model behaviors, based on + /// the input and output to the batch prediction job, as well as the provided + /// training dataset. #[prost(message, optional, tag="26")] pub model_monitoring_config: ::core::option::Option, - /// Get batch prediction job monitoring statistics. + /// Get batch prediction job monitoring statistics. #[prost(message, repeated, tag="31")] pub model_monitoring_stats_anomalies: ::prost::alloc::vec::Vec, - /// Output only. The running status of the model monitoring pipeline. + /// Output only. The running status of the model monitoring pipeline. #[prost(message, optional, tag="32")] pub model_monitoring_status: ::core::option::Option, } /// Nested message and enum types in `BatchPredictionJob`. pub mod batch_prediction_job { - /// Configures the input to \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. - /// See \[Model.supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\] for Model's supported input - /// formats, and how instances should be expressed via any of them. + /// Configures the input to \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. + /// See \[Model.supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\] for Model's supported input + /// formats, and how instances should be expressed via any of them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputConfig { - /// Required. The format in which instances are given, must be one of the - /// \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] - /// \[supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\]. + /// Required. The format in which instances are given, must be one of the + /// \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] + /// \[supported_input_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_input_storage_formats\]. #[prost(string, tag="1")] pub instances_format: ::prost::alloc::string::String, - /// Required. The source of the input. + /// Required. The source of the input. #[prost(oneof="input_config::Source", tags="2, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `InputConfig`. pub mod input_config { - /// Required. The source of the input. + /// Required. The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Cloud Storage location for the input instances. + /// The Cloud Storage location for the input instances. #[prost(message, tag="2")] GcsSource(super::super::GcsSource), - /// The BigQuery location of the input table. - /// The schema of the table should be in the format described by the given - /// context OpenAPI Schema, if one is provided. The table may contain - /// additional columns that are not described by the schema, and they will - /// be ignored. + /// The BigQuery location of the input table. + /// The schema of the table should be in the format described by the given + /// context OpenAPI Schema, if one is provided. The table may contain + /// additional columns that are not described by the schema, and they will + /// be ignored. #[prost(message, tag="3")] BigquerySource(super::super::BigQuerySource), } } - /// Configures the output of \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. - /// See \[Model.supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\] for supported output - /// formats, and how predictions are expressed via any of them. + /// Configures the output of \[BatchPredictionJob][google.cloud.aiplatform.v1beta1.BatchPredictionJob\]. + /// See \[Model.supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\] for supported output + /// formats, and how predictions are expressed via any of them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Required. The format in which Vertex AI gives the predictions, must be one of the - /// \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] - /// \[supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\]. + /// Required. The format in which Vertex AI gives the predictions, must be one of the + /// \[Model's][google.cloud.aiplatform.v1beta1.BatchPredictionJob.model\] + /// \[supported_output_storage_formats][google.cloud.aiplatform.v1beta1.Model.supported_output_storage_formats\]. #[prost(string, tag="1")] pub predictions_format: ::prost::alloc::string::String, - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="output_config::Destination", tags="2, 3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Cloud Storage location of the directory where the output is - /// to be written to. In the given directory a new directory is created. - /// Its name is `prediction--`, - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - /// Inside of it files `predictions_0001.`, - /// `predictions_0002.`, ..., `predictions_N.` - /// are created where `` depends on chosen - /// \[predictions_format][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.predictions_format\], and N may equal 0001 and depends on the total - /// number of successfully predicted instances. - /// If the Model has both \[instance][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] - /// and \[prediction][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\] schemata - /// defined then each such file contains predictions as per the - /// \[predictions_format][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.predictions_format\]. - /// If prediction for any instance failed (partially or completely), then - /// an additional `errors_0001.`, `errors_0002.`,..., - /// `errors_N.` files are created (N depends on total number - /// of failed predictions). These files contain the failed instances, - /// as per their schema, followed by an additional `error` field which as - /// value has \[google.rpc.Status][google.rpc.Status\] - /// containing only `code` and `message` fields. + /// The Cloud Storage location of the directory where the output is + /// to be written to. In the given directory a new directory is created. + /// Its name is `prediction--`, + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. + /// Inside of it files `predictions_0001.`, + /// `predictions_0002.`, ..., `predictions_N.` + /// are created where `` depends on chosen + /// \[predictions_format][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.predictions_format\], and N may equal 0001 and depends on the total + /// number of successfully predicted instances. + /// If the Model has both \[instance][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] + /// and \[prediction][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\] schemata + /// defined then each such file contains predictions as per the + /// \[predictions_format][google.cloud.aiplatform.v1beta1.BatchPredictionJob.OutputConfig.predictions_format\]. + /// If prediction for any instance failed (partially or completely), then + /// an additional `errors_0001.`, `errors_0002.`,..., + /// `errors_N.` files are created (N depends on total number + /// of failed predictions). These files contain the failed instances, + /// as per their schema, followed by an additional `error` field which as + /// value has \[google.rpc.Status][google.rpc.Status\] + /// containing only `code` and `message` fields. #[prost(message, tag="2")] GcsDestination(super::super::GcsDestination), - /// The BigQuery project or dataset location where the output is to be - /// written to. If project is provided, a new dataset is created with name - /// `prediction__` - /// where is made - /// BigQuery-dataset-name compatible (for example, most special characters - /// become underscores), and timestamp is in - /// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset - /// two tables will be created, `predictions`, and `errors`. - /// If the Model has both \[instance][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] - /// and \[prediction][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\] schemata - /// defined then the tables have columns as follows: The `predictions` - /// table contains instances for which the prediction succeeded, it - /// has columns as per a concatenation of the Model's instance and - /// prediction schemata. The `errors` table contains rows for which the - /// prediction has failed, it has instance columns, as per the - /// instance schema, followed by a single "errors" column, which as values - /// has \[google.rpc.Status][google.rpc.Status\] - /// represented as a STRUCT, and containing only `code` and `message`. + /// The BigQuery project or dataset location where the output is to be + /// written to. If project is provided, a new dataset is created with name + /// `prediction__` + /// where is made + /// BigQuery-dataset-name compatible (for example, most special characters + /// become underscores), and timestamp is in + /// YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" format. In the dataset + /// two tables will be created, `predictions`, and `errors`. + /// If the Model has both \[instance][google.cloud.aiplatform.v1beta1.PredictSchemata.instance_schema_uri\] + /// and \[prediction][google.cloud.aiplatform.v1beta1.PredictSchemata.parameters_schema_uri\] schemata + /// defined then the tables have columns as follows: The `predictions` + /// table contains instances for which the prediction succeeded, it + /// has columns as per a concatenation of the Model's instance and + /// prediction schemata. The `errors` table contains rows for which the + /// prediction has failed, it has instance columns, as per the + /// instance schema, followed by a single "errors" column, which as values + /// has \[google.rpc.Status][google.rpc.Status\] + /// represented as a STRUCT, and containing only `code` and `message`. #[prost(message, tag="3")] BigqueryDestination(super::super::BigQueryDestination), } } - /// Further describes this job's output. - /// Supplements \[output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. + /// Further describes this job's output. + /// Supplements \[output_config][google.cloud.aiplatform.v1beta1.BatchPredictionJob.output_config\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputInfo { - /// Output only. The name of the BigQuery table created, in - /// `predictions_` - /// format, into which the prediction output is written. - /// Can be used by UI to generate the BigQuery output path, for example. + /// Output only. The name of the BigQuery table created, in + /// `predictions_` + /// format, into which the prediction output is written. + /// Can be used by UI to generate the BigQuery output path, for example. #[prost(string, tag="4")] pub bigquery_output_table: ::prost::alloc::string::String, - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[prost(oneof="output_info::OutputLocation", tags="1, 2")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `OutputInfo`. pub mod output_info { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// Output only. The full path of the Cloud Storage directory created, into which - /// the prediction output is written. + /// Output only. The full path of the Cloud Storage directory created, into which + /// the prediction output is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), - /// Output only. The path of the BigQuery dataset created, in - /// `bq://projectId.bqDatasetId` - /// format, into which the prediction output is written. + /// Output only. The path of the BigQuery dataset created, in + /// `bq://projectId.bqDatasetId` + /// format, into which the prediction output is written. #[prost(string, tag="2")] BigqueryOutputDataset(::prost::alloc::string::String), } } } -/// Instance of a general context. +/// Instance of a general context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Context { - /// Output only. The resource name of the Context. + /// Output only. The resource name of the Context. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Context. - /// May be up to 128 Unicode characters. + /// User provided display name of the Context. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Contexts. + /// The labels with user-defined metadata to organize your Contexts. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Context (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Context (System + /// labels are excluded). #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Context was created. + /// Output only. Timestamp when this Context was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Context was last updated. + /// Output only. Timestamp when this Context was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A list of resource names of Contexts that are parents of this Context. - /// A Context may have at most 10 parent_contexts. + /// Output only. A list of resource names of Contexts that are parents of this Context. + /// A Context may have at most 10 parent_contexts. #[prost(string, repeated, tag="12")] pub parent_contexts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="13")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in schema_name to use. + /// The version of the schema in schema_name to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Context. - /// The size of this field should not exceed 200KB. + /// Properties of the Context. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="15")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Context + /// Description of the Context #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, } -/// Represents a job that runs custom workloads such as a Docker container or a -/// Python package. A CustomJob can have multiple worker pools and each worker -/// pool can have its own machine and input spec. A CustomJob will be cleaned up -/// once the job enters terminal state (failed or succeeded). +/// Represents a job that runs custom workloads such as a Docker container or a +/// Python package. A CustomJob can have multiple worker pools and each worker +/// pool can have its own machine and input spec. A CustomJob will be cleaned up +/// once the job enters terminal state (failed or succeeded). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJob { - /// Output only. Resource name of a CustomJob. + /// Output only. Resource name of a CustomJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the CustomJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the CustomJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Job spec. + /// Required. Job spec. #[prost(message, optional, tag="4")] pub job_spec: ::core::option::Option, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="5")] pub state: i32, - /// Output only. Time when the CustomJob was created. + /// Output only. Time when the CustomJob was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the CustomJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the CustomJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the CustomJob was most recently updated. + /// Output only. Time when the CustomJob was most recently updated. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Only populated when job's state is `JOB_STATE_FAILED` or - /// `JOB_STATE_CANCELLED`. + /// Output only. Only populated when job's state is `JOB_STATE_FAILED` or + /// `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize CustomJobs. + /// The labels with user-defined metadata to organize CustomJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a CustomJob. If this is set, - /// then all resources created by the CustomJob will be encrypted with the - /// provided encryption key. + /// Customer-managed encryption key options for a CustomJob. If this is set, + /// then all resources created by the CustomJob will be encrypted with the + /// provided encryption key. #[prost(message, optional, tag="12")] pub encryption_spec: ::core::option::Option, - /// Output only. URIs for accessing [interactive - /// shells]() - /// (one URI for each training node). Only available if - /// \[job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access\] is `true`. + /// Output only. URIs for accessing [interactive + /// shells]() + /// (one URI for each training node). Only available if + /// \[job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access\] is `true`. /// - /// The keys are names of each node in the training job; for example, - /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - /// the second worker pool, and `workerpool1-1` for the second node in the - /// second worker pool. + /// The keys are names of each node in the training job; for example, + /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in + /// the second worker pool, and `workerpool1-1` for the second node in the + /// second worker pool. /// - /// The values are the URIs for each node's interactive shell. + /// The values are the URIs for each node's interactive shell. #[prost(map="string, string", tag="16")] pub web_access_uris: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Represents the spec of a CustomJob. -/// Next Id: 15 +/// Represents the spec of a CustomJob. +/// Next Id: 15 #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJobSpec { - /// Required. The spec of the worker pools including machine type and Docker image. - /// All worker pools except the first one are optional and can be skipped by - /// providing an empty value. + /// Required. The spec of the worker pools including machine type and Docker image. + /// All worker pools except the first one are optional and can be skipped by + /// providing an empty value. #[prost(message, repeated, tag="1")] pub worker_pool_specs: ::prost::alloc::vec::Vec, - /// Scheduling options for a CustomJob. + /// Scheduling options for a CustomJob. #[prost(message, optional, tag="3")] pub scheduling: ::core::option::Option, - /// Specifies the service account for workload run-as account. - /// Users submitting jobs must have act-as permission on this run-as account. - /// If unspecified, the [Vertex AI Custom Code Service - /// Agent]() - /// for the CustomJob's project is used. + /// Specifies the service account for workload run-as account. + /// Users submitting jobs must have act-as permission on this run-as account. + /// If unspecified, the [Vertex AI Custom Code Service + /// Agent]() + /// for the CustomJob's project is used. #[prost(string, tag="4")] pub service_account: ::prost::alloc::string::String, - /// Optional. The full name of the Compute Engine - /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the Job - /// should be peered. For example, `projects/12345/global/networks/myVPC`. - /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) - /// is of the form `projects/{project}/global/networks/{network}`. - /// Where {project} is a project number, as in `12345`, and {network} is a - /// network name. - /// - /// To specify this field, you must have already [configured VPC Network - /// Peering for Vertex - /// AI](). - /// - /// If this field is left unspecified, the job is not peered with any network. + /// Optional. The full name of the Compute Engine + /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the Job + /// should be peered. For example, `projects/12345/global/networks/myVPC`. + /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) + /// is of the form `projects/{project}/global/networks/{network}`. + /// Where {project} is a project number, as in `12345`, and {network} is a + /// network name. + /// + /// To specify this field, you must have already [configured VPC Network + /// Peering for Vertex + /// AI](). + /// + /// If this field is left unspecified, the job is not peered with any network. #[prost(string, tag="5")] pub network: ::prost::alloc::string::String, - /// Optional. A list of names for the reserved ip ranges under the VPC network - /// that can be used for this job. + /// Optional. A list of names for the reserved ip ranges under the VPC network + /// that can be used for this job. /// - /// If set, we will deploy the job within the provided ip ranges. Otherwise, - /// the job will be deployed to any ip ranges under the provided VPC - /// network. + /// If set, we will deploy the job within the provided ip ranges. Otherwise, + /// the job will be deployed to any ip ranges under the provided VPC + /// network. /// - /// Example: \['vertex-ai-ip-range'\]. + /// Example: \['vertex-ai-ip-range'\]. #[prost(string, repeated, tag="13")] pub reserved_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Cloud Storage location to store the output of this CustomJob or - /// HyperparameterTuningJob. For HyperparameterTuningJob, - /// the baseOutputDirectory of - /// each child CustomJob backing a Trial is set to a subdirectory of name - /// \[id][google.cloud.aiplatform.v1beta1.Trial.id\] under its parent HyperparameterTuningJob's - /// baseOutputDirectory. + /// The Cloud Storage location to store the output of this CustomJob or + /// HyperparameterTuningJob. For HyperparameterTuningJob, + /// the baseOutputDirectory of + /// each child CustomJob backing a Trial is set to a subdirectory of name + /// \[id][google.cloud.aiplatform.v1beta1.Trial.id\] under its parent HyperparameterTuningJob's + /// baseOutputDirectory. /// - /// The following Vertex AI environment variables will be passed to - /// containers or python modules when this field is set: + /// The following Vertex AI environment variables will be passed to + /// containers or python modules when this field is set: /// /// For CustomJob: /// @@ -3390,306 +3390,306 @@ pub struct CustomJobSpec { /// * AIP_TENSORBOARD_LOG_DIR = `//logs/` #[prost(message, optional, tag="6")] pub base_output_directory: ::core::option::Option, - /// Optional. The name of a Vertex AI \[Tensorboard][google.cloud.aiplatform.v1beta1.Tensorboard\] resource to which this CustomJob - /// will upload Tensorboard logs. - /// Format: - /// `projects/{project}/locations/{location}/tensorboards/{tensorboard}` + /// Optional. The name of a Vertex AI \[Tensorboard][google.cloud.aiplatform.v1beta1.Tensorboard\] resource to which this CustomJob + /// will upload Tensorboard logs. + /// Format: + /// `projects/{project}/locations/{location}/tensorboards/{tensorboard}` #[prost(string, tag="7")] pub tensorboard: ::prost::alloc::string::String, - /// Optional. Whether you want Vertex AI to enable [interactive shell - /// access]() - /// to training containers. + /// Optional. Whether you want Vertex AI to enable [interactive shell + /// access]() + /// to training containers. /// - /// If set to `true`, you can access interactive shells at the URIs given - /// by \[CustomJob.web_access_uris][google.cloud.aiplatform.v1beta1.CustomJob.web_access_uris\] or \[Trial.web_access_uris][google.cloud.aiplatform.v1beta1.Trial.web_access_uris\] (within - /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials\]). + /// If set to `true`, you can access interactive shells at the URIs given + /// by \[CustomJob.web_access_uris][google.cloud.aiplatform.v1beta1.CustomJob.web_access_uris\] or \[Trial.web_access_uris][google.cloud.aiplatform.v1beta1.Trial.web_access_uris\] (within + /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials\]). #[prost(bool, tag="10")] pub enable_web_access: bool, } -/// Represents the spec of a worker pool in a job. +/// Represents the spec of a worker pool in a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkerPoolSpec { - /// Optional. Immutable. The specification of a single machine. + /// Optional. Immutable. The specification of a single machine. #[prost(message, optional, tag="1")] pub machine_spec: ::core::option::Option, - /// Optional. The number of worker replicas to use for this worker pool. + /// Optional. The number of worker replicas to use for this worker pool. #[prost(int64, tag="2")] pub replica_count: i64, - /// Optional. List of NFS mount spec. + /// Optional. List of NFS mount spec. #[prost(message, repeated, tag="4")] pub nfs_mounts: ::prost::alloc::vec::Vec, - /// Disk spec. + /// Disk spec. #[prost(message, optional, tag="5")] pub disk_spec: ::core::option::Option, - /// The custom task to be executed in this worker pool. + /// The custom task to be executed in this worker pool. #[prost(oneof="worker_pool_spec::Task", tags="6, 7")] pub task: ::core::option::Option, } /// Nested message and enum types in `WorkerPoolSpec`. pub mod worker_pool_spec { - /// The custom task to be executed in this worker pool. + /// The custom task to be executed in this worker pool. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Task { - /// The custom container task. + /// The custom container task. #[prost(message, tag="6")] ContainerSpec(super::ContainerSpec), - /// The Python packaged task. + /// The Python packaged task. #[prost(message, tag="7")] PythonPackageSpec(super::PythonPackageSpec), } } -/// The spec of a Container. +/// The spec of a Container. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerSpec { - /// Required. The URI of a container image in the Container Registry that is to be run on - /// each worker replica. + /// Required. The URI of a container image in the Container Registry that is to be run on + /// each worker replica. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// The command to be invoked when the container is started. - /// It overrides the entrypoint instruction in Dockerfile when provided. + /// The command to be invoked when the container is started. + /// It overrides the entrypoint instruction in Dockerfile when provided. #[prost(string, repeated, tag="2")] pub command: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The arguments to be passed when starting the container. + /// The arguments to be passed when starting the container. #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Environment variables to be passed to the container. - /// Maximum limit is 100. + /// Environment variables to be passed to the container. + /// Maximum limit is 100. #[prost(message, repeated, tag="4")] pub env: ::prost::alloc::vec::Vec, } -/// The spec of a Python packaged code. +/// The spec of a Python packaged code. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PythonPackageSpec { - /// Required. The URI of a container image in Artifact Registry that will run the - /// provided Python package. Vertex AI provides a wide range of executor - /// images with pre-installed packages to meet users' various use cases. See - /// the list of [pre-built containers for - /// training](). - /// You must use an image from this list. + /// Required. The URI of a container image in Artifact Registry that will run the + /// provided Python package. Vertex AI provides a wide range of executor + /// images with pre-installed packages to meet users' various use cases. See + /// the list of [pre-built containers for + /// training](). + /// You must use an image from this list. #[prost(string, tag="1")] pub executor_image_uri: ::prost::alloc::string::String, - /// Required. The Google Cloud Storage location of the Python package files which are - /// the training program and its dependent packages. - /// The maximum number of package URIs is 100. + /// Required. The Google Cloud Storage location of the Python package files which are + /// the training program and its dependent packages. + /// The maximum number of package URIs is 100. #[prost(string, repeated, tag="2")] pub package_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The Python module name to run after installing the packages. + /// Required. The Python module name to run after installing the packages. #[prost(string, tag="3")] pub python_module: ::prost::alloc::string::String, - /// Command line arguments to be passed to the Python task. + /// Command line arguments to be passed to the Python task. #[prost(string, repeated, tag="4")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Environment variables to be passed to the python module. - /// Maximum limit is 100. + /// Environment variables to be passed to the python module. + /// Maximum limit is 100. #[prost(message, repeated, tag="5")] pub env: ::prost::alloc::vec::Vec, } -/// All parameters related to queuing and scheduling of custom jobs. +/// All parameters related to queuing and scheduling of custom jobs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scheduling { - /// The maximum job running time. The default is 7 days. + /// The maximum job running time. The default is 7 days. #[prost(message, optional, tag="1")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// Restarts the entire CustomJob if a worker gets restarted. - /// This feature can be used by distributed training jobs that are not - /// resilient to workers leaving and joining a job. + /// Restarts the entire CustomJob if a worker gets restarted. + /// This feature can be used by distributed training jobs that are not + /// resilient to workers leaving and joining a job. #[prost(bool, tag="3")] pub restart_job_on_worker_restart: bool, } -/// A piece of data in a Dataset. Could be an image, a video, a document or plain -/// text. +/// A piece of data in a Dataset. Could be an image, a video, a document or plain +/// text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataItem { - /// Output only. The resource name of the DataItem. + /// Output only. The resource name of the DataItem. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this DataItem was created. + /// Output only. Timestamp when this DataItem was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this DataItem was last updated. + /// Output only. Timestamp when this DataItem was last updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your DataItems. + /// Optional. The labels with user-defined metadata to organize your DataItems. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one DataItem(System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one DataItem(System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The data that the DataItem represents (for example, an image or a text - /// snippet). The schema of the payload is stored in the parent Dataset's - /// [metadata schema's]\[google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\] dataItemSchemaUri field. + /// Required. The data that the DataItem represents (for example, an image or a text + /// snippet). The schema of the payload is stored in the parent Dataset's + /// [metadata schema's]\[google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\] dataItemSchemaUri field. #[prost(message, optional, tag="4")] pub payload: ::core::option::Option<::prost_types::Value>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, } -/// DataLabelingJob is used to trigger a human labeling job on unlabeled data -/// from the following Dataset: +/// DataLabelingJob is used to trigger a human labeling job on unlabeled data +/// from the following Dataset: #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingJob { - /// Output only. Resource name of the DataLabelingJob. + /// Output only. Resource name of the DataLabelingJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the DataLabelingJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. - /// Display name of a DataLabelingJob. + /// Required. The user-defined name of the DataLabelingJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. + /// Display name of a DataLabelingJob. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Dataset resource names. Right now we only support labeling from a single - /// Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. Dataset resource names. Right now we only support labeling from a single + /// Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, repeated, tag="3")] pub datasets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Labels to assign to annotations generated by this DataLabelingJob. - /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// Labels to assign to annotations generated by this DataLabelingJob. + /// + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="12")] pub annotation_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Number of labelers to work on each DataItem. + /// Required. Number of labelers to work on each DataItem. #[prost(int32, tag="4")] pub labeler_count: i32, - /// Required. The Google Cloud Storage location of the instruction pdf. This pdf is - /// shared with labelers, and provides detailed description on how to label - /// DataItems in Datasets. + /// Required. The Google Cloud Storage location of the instruction pdf. This pdf is + /// shared with labelers, and provides detailed description on how to label + /// DataItems in Datasets. #[prost(string, tag="5")] pub instruction_uri: ::prost::alloc::string::String, - /// Required. Points to a YAML file stored on Google Cloud Storage describing the - /// config for a specific type of DataLabelingJob. - /// The schema files that can be used here are found in the - /// bucket in the - /// /schema/datalabelingjob/inputs/ folder. + /// Required. Points to a YAML file stored on Google Cloud Storage describing the + /// config for a specific type of DataLabelingJob. + /// The schema files that can be used here are found in the + /// bucket in the + /// /schema/datalabelingjob/inputs/ folder. #[prost(string, tag="6")] pub inputs_schema_uri: ::prost::alloc::string::String, - /// Required. Input config parameters for the DataLabelingJob. + /// Required. Input config parameters for the DataLabelingJob. #[prost(message, optional, tag="7")] pub inputs: ::core::option::Option<::prost_types::Value>, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="8")] pub state: i32, - /// Output only. Current labeling job progress percentage scaled in interval [0, 100], - /// indicating the percentage of DataItems that has been finished. + /// Output only. Current labeling job progress percentage scaled in interval [0, 100], + /// indicating the percentage of DataItems that has been finished. #[prost(int32, tag="13")] pub labeling_progress: i32, - /// Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to - /// date. + /// Output only. Estimated cost(in US dollars) that the DataLabelingJob has incurred to + /// date. #[prost(message, optional, tag="14")] pub current_spend: ::core::option::Option, - /// Output only. Timestamp when this DataLabelingJob was created. + /// Output only. Timestamp when this DataLabelingJob was created. #[prost(message, optional, tag="9")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this DataLabelingJob was updated most recently. + /// Output only. Timestamp when this DataLabelingJob was updated most recently. #[prost(message, optional, tag="10")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. DataLabelingJob errors. It is only populated when job's state is - /// `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. + /// Output only. DataLabelingJob errors. It is only populated when job's state is + /// `JOB_STATE_FAILED` or `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="22")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize your DataLabelingJobs. + /// The labels with user-defined metadata to organize your DataLabelingJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each DataLabelingJob: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each DataLabelingJob: /// - /// * "aiplatform.googleapis.com/schema": output only, its value is the + /// * "aiplatform.googleapis.com/schema": output only, its value is the /// \[inputs_schema][google.cloud.aiplatform.v1beta1.DataLabelingJob.inputs_schema_uri\]'s title. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The SpecialistPools' resource names associated with this job. + /// The SpecialistPools' resource names associated with this job. #[prost(string, repeated, tag="16")] pub specialist_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a DataLabelingJob. If set, this - /// DataLabelingJob will be secured by this key. + /// Customer-managed encryption key spec for a DataLabelingJob. If set, this + /// DataLabelingJob will be secured by this key. /// - /// Note: Annotations created in the DataLabelingJob are associated with - /// the EncryptionSpec of the Dataset they are exported to. + /// Note: Annotations created in the DataLabelingJob are associated with + /// the EncryptionSpec of the Dataset they are exported to. #[prost(message, optional, tag="20")] pub encryption_spec: ::core::option::Option, - /// Parameters that configure the active learning pipeline. Active learning - /// will label the data incrementally via several iterations. For every - /// iteration, it will select a batch of data based on the sampling strategy. + /// Parameters that configure the active learning pipeline. Active learning + /// will label the data incrementally via several iterations. For every + /// iteration, it will select a batch of data based on the sampling strategy. #[prost(message, optional, tag="21")] pub active_learning_config: ::core::option::Option, } -/// Parameters that configure the active learning pipeline. Active learning will +/// Parameters that configure the active learning pipeline. Active learning will /// label the data incrementally by several iterations. For every iteration, it /// will select a batch of data based on the sampling strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActiveLearningConfig { - /// Active learning data sampling config. For every active learning labeling - /// iteration, it will select a batch of data based on the sampling strategy. + /// Active learning data sampling config. For every active learning labeling + /// iteration, it will select a batch of data based on the sampling strategy. #[prost(message, optional, tag="3")] pub sample_config: ::core::option::Option, - /// CMLE training config. For every active learning labeling iteration, system - /// will train a machine learning model on CMLE. The trained model will be used - /// by data sampling algorithm to select DataItems. + /// CMLE training config. For every active learning labeling iteration, system + /// will train a machine learning model on CMLE. The trained model will be used + /// by data sampling algorithm to select DataItems. #[prost(message, optional, tag="4")] pub training_config: ::core::option::Option, - /// Required. Max human labeling DataItems. The rest part will be labeled by - /// machine. + /// Required. Max human labeling DataItems. The rest part will be labeled by + /// machine. #[prost(oneof="active_learning_config::HumanLabelingBudget", tags="1, 2")] pub human_labeling_budget: ::core::option::Option, } /// Nested message and enum types in `ActiveLearningConfig`. pub mod active_learning_config { - /// Required. Max human labeling DataItems. The rest part will be labeled by - /// machine. + /// Required. Max human labeling DataItems. The rest part will be labeled by + /// machine. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum HumanLabelingBudget { - /// Max number of human labeled DataItems. + /// Max number of human labeled DataItems. #[prost(int64, tag="1")] MaxDataItemCount(i64), - /// Max percent of total DataItems for human labeling. + /// Max percent of total DataItems for human labeling. #[prost(int32, tag="2")] MaxDataItemPercentage(i32), } } -/// Active learning data sampling config. For every active learning labeling -/// iteration, it will select a batch of data based on the sampling strategy. +/// Active learning data sampling config. For every active learning labeling +/// iteration, it will select a batch of data based on the sampling strategy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SampleConfig { - /// Field to choose sampling strategy. Sampling strategy will decide which data - /// should be selected for human labeling in every batch. + /// Field to choose sampling strategy. Sampling strategy will decide which data + /// should be selected for human labeling in every batch. #[prost(enumeration="sample_config::SampleStrategy", tag="5")] pub sample_strategy: i32, - /// Decides sample size for the initial batch. initial_batch_sample_percentage - /// is used by default. + /// Decides sample size for the initial batch. initial_batch_sample_percentage + /// is used by default. #[prost(oneof="sample_config::InitialBatchSampleSize", tags="1")] pub initial_batch_sample_size: ::core::option::Option, - /// Decides sample size for the following batches. - /// following_batch_sample_percentage is used by default. + /// Decides sample size for the following batches. + /// following_batch_sample_percentage is used by default. #[prost(oneof="sample_config::FollowingBatchSampleSize", tags="3")] pub following_batch_sample_size: ::core::option::Option, } /// Nested message and enum types in `SampleConfig`. pub mod sample_config { - /// Sample strategy decides which subset of DataItems should be selected for - /// human labeling in every batch. + /// Sample strategy decides which subset of DataItems should be selected for + /// human labeling in every batch. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SampleStrategy { - /// Default will be treated as UNCERTAINTY. + /// Default will be treated as UNCERTAINTY. Unspecified = 0, - /// Sample the most uncertain data to label. + /// Sample the most uncertain data to label. Uncertainty = 1, } impl SampleStrategy { @@ -3704,271 +3704,271 @@ pub mod sample_config { } } } - /// Decides sample size for the initial batch. initial_batch_sample_percentage - /// is used by default. + /// Decides sample size for the initial batch. initial_batch_sample_percentage + /// is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum InitialBatchSampleSize { - /// The percentage of data needed to be labeled in the first batch. + /// The percentage of data needed to be labeled in the first batch. #[prost(int32, tag="1")] InitialBatchSamplePercentage(i32), } - /// Decides sample size for the following batches. - /// following_batch_sample_percentage is used by default. + /// Decides sample size for the following batches. + /// following_batch_sample_percentage is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FollowingBatchSampleSize { - /// The percentage of data needed to be labeled in each following batch - /// (except the first batch). + /// The percentage of data needed to be labeled in each following batch + /// (except the first batch). #[prost(int32, tag="3")] FollowingBatchSamplePercentage(i32), } } -/// CMLE training config. For every active learning labeling iteration, system -/// will train a machine learning model on CMLE. The trained model will be used -/// by data sampling algorithm to select DataItems. +/// CMLE training config. For every active learning labeling iteration, system +/// will train a machine learning model on CMLE. The trained model will be used +/// by data sampling algorithm to select DataItems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingConfig { - /// The timeout hours for the CMLE training job, expressed in milli hours - /// i.e. 1,000 value in this field means 1 hour. + /// The timeout hours for the CMLE training job, expressed in milli hours + /// i.e. 1,000 value in this field means 1 hour. #[prost(int64, tag="1")] pub timeout_training_milli_hours: i64, } -/// A collection of DataItems and Annotations on them. +/// A collection of DataItems and Annotations on them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Output only. The resource name of the Dataset. + /// Output only. The resource name of the Dataset. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the Dataset. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the Dataset. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. The description of the Dataset. + /// Optional. The description of the Dataset. #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, - /// Required. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Dataset. - /// The schema is defined as an OpenAPI 3.0.2 Schema Object. - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/metadata/. + /// Required. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Dataset. + /// The schema is defined as an OpenAPI 3.0.2 Schema Object. + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/metadata/. #[prost(string, tag="3")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// Required. Additional information about the Dataset. + /// Required. Additional information about the Dataset. #[prost(message, optional, tag="8")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this Dataset was created. + /// Output only. Timestamp when this Dataset was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Dataset was last updated. + /// Output only. Timestamp when this Dataset was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Datasets. + /// The labels with user-defined metadata to organize your Datasets. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Dataset (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Dataset (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. Following system labels exist for each Dataset: + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. Following system labels exist for each Dataset: /// - /// * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its + /// * "aiplatform.googleapis.com/dataset_metadata_schema": output only, its /// value is the \[metadata_schema's][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\] title. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a Dataset. If set, this Dataset - /// and all sub-resources of this Dataset will be secured by this key. + /// Customer-managed encryption key spec for a Dataset. If set, this Dataset + /// and all sub-resources of this Dataset will be secured by this key. #[prost(message, optional, tag="11")] pub encryption_spec: ::core::option::Option, } -/// Describes the location from where we import data into a Dataset, together -/// with the labels that will be applied to the DataItems and the Annotations. +/// Describes the location from where we import data into a Dataset, together +/// with the labels that will be applied to the DataItems and the Annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataConfig { - /// Labels that will be applied to newly imported DataItems. If an identical - /// DataItem as one being imported already exists in the Dataset, then these - /// labels will be appended to these of the already existing one, and if labels - /// with identical key is imported before, the old label value will be - /// overwritten. If two DataItems are identical in the same import data - /// operation, the labels will be combined and if key collision happens in this - /// case, one of the values will be picked randomly. Two DataItems are - /// considered identical if their content bytes are identical (e.g. image bytes - /// or pdf bytes). - /// These labels will be overridden by Annotation labels specified inside index - /// file referenced by \[import_schema_uri][google.cloud.aiplatform.v1beta1.ImportDataConfig.import_schema_uri\], e.g. jsonl file. + /// Labels that will be applied to newly imported DataItems. If an identical + /// DataItem as one being imported already exists in the Dataset, then these + /// labels will be appended to these of the already existing one, and if labels + /// with identical key is imported before, the old label value will be + /// overwritten. If two DataItems are identical in the same import data + /// operation, the labels will be combined and if key collision happens in this + /// case, one of the values will be picked randomly. Two DataItems are + /// considered identical if their content bytes are identical (e.g. image bytes + /// or pdf bytes). + /// These labels will be overridden by Annotation labels specified inside index + /// file referenced by \[import_schema_uri][google.cloud.aiplatform.v1beta1.ImportDataConfig.import_schema_uri\], e.g. jsonl file. #[prost(map="string, string", tag="2")] pub data_item_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Points to a YAML file stored on Google Cloud Storage describing the import - /// format. Validation will be done against the schema. The schema is defined - /// as an [OpenAPI 3.0.2 Schema - /// Object](). + /// Required. Points to a YAML file stored on Google Cloud Storage describing the import + /// format. Validation will be done against the schema. The schema is defined + /// as an [OpenAPI 3.0.2 Schema + /// Object](). #[prost(string, tag="4")] pub import_schema_uri: ::prost::alloc::string::String, - /// The source of the input. + /// The source of the input. #[prost(oneof="import_data_config::Source", tags="1")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportDataConfig`. pub mod import_data_config { - /// The source of the input. + /// The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Google Cloud Storage location for the input content. + /// The Google Cloud Storage location for the input content. #[prost(message, tag="1")] GcsSource(super::GcsSource), } } -/// Describes what part of the Dataset is to be exported, the destination of -/// the export and how to export. +/// Describes what part of the Dataset is to be exported, the destination of +/// the export and how to export. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataConfig { - /// A filter on Annotations of the Dataset. Only Annotations on to-be-exported - /// DataItems(specified by \[data_items_filter][\]) that match this filter will - /// be exported. The filter syntax is the same as in - /// \[ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. + /// A filter on Annotations of the Dataset. Only Annotations on to-be-exported + /// DataItems(specified by \[data_items_filter][\]) that match this filter will + /// be exported. The filter syntax is the same as in + /// \[ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. #[prost(string, tag="2")] pub annotations_filter: ::prost::alloc::string::String, - /// The destination of the output. + /// The destination of the output. #[prost(oneof="export_data_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportDataConfig`. pub mod export_data_config { - /// The destination of the output. + /// The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Google Cloud Storage location where the output is to be written to. - /// In the given directory a new directory will be created with name: - /// `export-data--` where - /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - /// output will be written into that directory. Inside that directory, - /// annotations with the same schema will be grouped into sub directories - /// which are named with the corresponding annotations' schema title. Inside - /// these sub directories, a schema.yaml will be created to describe the - /// output format. + /// The Google Cloud Storage location where the output is to be written to. + /// In the given directory a new directory will be created with name: + /// `export-data--` where + /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export + /// output will be written into that directory. Inside that directory, + /// annotations with the same schema will be grouped into sub directories + /// which are named with the corresponding annotations' schema title. Inside + /// these sub directories, a schema.yaml will be created to describe the + /// output format. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), } } -/// Generic Metadata shared by all operations. +/// Generic Metadata shared by all operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenericOperationMetadata { - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// This field should never exceed 20 entries. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// This field should never exceed 20 entries. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="1")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Time when the operation was created. + /// Output only. Time when the operation was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the operation was updated for the last time. - /// If the operation has finished (successfully or not), this is the finish - /// time. + /// Output only. Time when the operation was updated for the last time. + /// If the operation has finished (successfully or not), this is the finish + /// time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Details of operations that perform deletes of any entities. +/// Details of operations that perform deletes of any entities. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// A SavedQuery is a view of the dataset. It references a subset of annotations -/// by problem type and filters. +/// A SavedQuery is a view of the dataset. It references a subset of annotations +/// by problem type and filters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SavedQuery { - /// Output only. Resource name of the SavedQuery. + /// Output only. Resource name of the SavedQuery. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of the SavedQuery. - /// The name can be up to 128 characters long and can consist of any UTF-8 - /// characters. + /// Required. The user-defined name of the SavedQuery. + /// The name can be up to 128 characters long and can consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Some additional information about the SavedQuery. + /// Some additional information about the SavedQuery. #[prost(message, optional, tag="12")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this SavedQuery was created. + /// Output only. Timestamp when this SavedQuery was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when SavedQuery was last updated. + /// Output only. Timestamp when SavedQuery was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Filters on the Annotations in the dataset. + /// Output only. Filters on the Annotations in the dataset. #[prost(string, tag="5")] pub annotation_filter: ::prost::alloc::string::String, - /// Required. Problem type of the SavedQuery. - /// Allowed values: - /// - /// * IMAGE_CLASSIFICATION_SINGLE_LABEL - /// * IMAGE_CLASSIFICATION_MULTI_LABEL - /// * IMAGE_BOUNDING_POLY - /// * IMAGE_BOUNDING_BOX - /// * TEXT_CLASSIFICATION_SINGLE_LABEL - /// * TEXT_CLASSIFICATION_MULTI_LABEL - /// * TEXT_EXTRACTION - /// * TEXT_SENTIMENT - /// * VIDEO_CLASSIFICATION - /// * VIDEO_OBJECT_TRACKING + /// Required. Problem type of the SavedQuery. + /// Allowed values: + /// + /// * IMAGE_CLASSIFICATION_SINGLE_LABEL + /// * IMAGE_CLASSIFICATION_MULTI_LABEL + /// * IMAGE_BOUNDING_POLY + /// * IMAGE_BOUNDING_BOX + /// * TEXT_CLASSIFICATION_SINGLE_LABEL + /// * TEXT_CLASSIFICATION_MULTI_LABEL + /// * TEXT_EXTRACTION + /// * TEXT_SENTIMENT + /// * VIDEO_CLASSIFICATION + /// * VIDEO_OBJECT_TRACKING #[prost(string, tag="6")] pub problem_type: ::prost::alloc::string::String, - /// Output only. Number of AnnotationSpecs in the context of the SavedQuery. + /// Output only. Number of AnnotationSpecs in the context of the SavedQuery. #[prost(int32, tag="10")] pub annotation_spec_count: i32, - /// Used to perform a consistent read-modify-write update. If not set, a blind - /// "overwrite" update happens. + /// Used to perform a consistent read-modify-write update. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// Output only. If the Annotations belonging to the SavedQuery can be used for AutoML - /// training. + /// Output only. If the Annotations belonging to the SavedQuery can be used for AutoML + /// training. #[prost(bool, tag="9")] pub support_automl_training: bool, } -/// Request message for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset\]. +/// Request message for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetRequest { - /// Required. The resource name of the Location to create the Dataset in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Dataset in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Dataset to create. + /// Required. The Dataset to create. #[prost(message, optional, tag="2")] pub dataset: ::core::option::Option, } -/// Runtime operation information for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset\]. +/// Runtime operation information for \[DatasetService.CreateDataset][google.cloud.aiplatform.v1beta1.DatasetService.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[DatasetService.GetDataset][google.cloud.aiplatform.v1beta1.DatasetService.GetDataset\]. +/// Request message for \[DatasetService.GetDataset][google.cloud.aiplatform.v1beta1.DatasetService.GetDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatasetRequest { - /// Required. The name of the Dataset resource. + /// Required. The name of the Dataset resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.UpdateDataset][google.cloud.aiplatform.v1beta1.DatasetService.UpdateDataset\]. +/// Request message for \[DatasetService.UpdateDataset][google.cloud.aiplatform.v1beta1.DatasetService.UpdateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatasetRequest { - /// Required. The Dataset which replaces the resource on the server. + /// Required. The Dataset which replaces the resource on the server. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// Required. The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. - /// Updatable fields: + /// Required. The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Updatable fields: /// /// * `display_name` /// * `description` @@ -3976,15 +3976,15 @@ pub struct UpdateDatasetRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets\]. +/// Request message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsRequest { - /// Required. The name of the Dataset's parent resource. - /// Format: `projects/{project}/locations/{location}` + /// Required. The name of the Dataset's parent resource. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `display_name`: supports = and != /// * `metadata_schema_uri`: supports = and != @@ -3993,24 +3993,24 @@ pub struct ListDatasetsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// /// * `display_name` /// * `create_time` @@ -4018,193 +4018,193 @@ pub struct ListDatasetsRequest { #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets\]. +/// Response message for \[DatasetService.ListDatasets][google.cloud.aiplatform.v1beta1.DatasetService.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsResponse { - /// A list of Datasets that matches the specified filter in the request. + /// A list of Datasets that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub datasets: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.DeleteDataset][google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset\]. +/// Request message for \[DatasetService.DeleteDataset][google.cloud.aiplatform.v1beta1.DatasetService.DeleteDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDatasetRequest { - /// Required. The resource name of the Dataset to delete. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to delete. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. +/// Request message for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataRequest { - /// Required. The name of the Dataset resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The name of the Dataset resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired input locations. The contents of all input locations will be - /// imported in one batch. + /// Required. The desired input locations. The contents of all input locations will be + /// imported in one batch. #[prost(message, repeated, tag="2")] pub import_configs: ::prost::alloc::vec::Vec, } -/// Response message for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. +/// Response message for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataResponse { } -/// Runtime operation information for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. +/// Runtime operation information for \[DatasetService.ImportData][google.cloud.aiplatform.v1beta1.DatasetService.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. +/// Request message for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataRequest { - /// Required. The name of the Dataset resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The name of the Dataset resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location. + /// Required. The desired output location. #[prost(message, optional, tag="2")] pub export_config: ::core::option::Option, } -/// Response message for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. +/// Response message for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataResponse { - /// All of the files that are exported in this export operation. + /// All of the files that are exported in this export operation. #[prost(string, repeated, tag="1")] pub exported_files: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Runtime operation information for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. +/// Runtime operation information for \[DatasetService.ExportData][google.cloud.aiplatform.v1beta1.DatasetService.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// A Google Cloud Storage directory which path ends with '/'. The exported - /// data is stored in the directory. + /// A Google Cloud Storage directory which path ends with '/'. The exported + /// data is stored in the directory. #[prost(string, tag="2")] pub gcs_output_directory: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems\]. +/// Request message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsRequest { - /// Required. The resource name of the Dataset to list DataItems from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to list DataItems from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems\]. +/// Response message for \[DatasetService.ListDataItems][google.cloud.aiplatform.v1beta1.DatasetService.ListDataItems\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsResponse { - /// A list of DataItems that matches the specified filter in the request. + /// A list of DataItems that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub data_items: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries\]. +/// Request message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesRequest { - /// Required. The resource name of the Dataset to list SavedQueries from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}` + /// Required. The resource name of the Dataset to list SavedQueries from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries\]. +/// Response message for \[DatasetService.ListSavedQueries][google.cloud.aiplatform.v1beta1.DatasetService.ListSavedQueries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesResponse { - /// A list of SavedQueries that match the specified filter in the request. + /// A list of SavedQueries that match the specified filter in the request. #[prost(message, repeated, tag="1")] pub saved_queries: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec\]. +/// Request message for \[DatasetService.GetAnnotationSpec][google.cloud.aiplatform.v1beta1.DatasetService.GetAnnotationSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotationSpecRequest { - /// Required. The name of the AnnotationSpec resource. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` + /// Required. The name of the AnnotationSpec resource. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}/annotationSpecs/{annotation_spec}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. +/// Request message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationsRequest { - /// Required. The resource name of the DataItem to list Annotations from. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` + /// Required. The resource name of the DataItem to list Annotations from. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}/dataItems/{data_item}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. +/// Response message for \[DatasetService.ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationsResponse { - /// A list of Annotations that matches the specified filter in the request. + /// A list of Annotations that matches the specified filter in the request. #[prost(message, repeated, tag="1")] pub annotations: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -4513,374 +4513,374 @@ pub mod dataset_service_client { } } } -/// Points to a DeployedIndex. +/// Points to a DeployedIndex. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndexRef { - /// Immutable. A resource name of the IndexEndpoint. + /// Immutable. A resource name of the IndexEndpoint. #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Immutable. The ID of the DeployedIndex in the above IndexEndpoint. + /// Immutable. The ID of the DeployedIndex in the above IndexEndpoint. #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// A description of resources that can be shared by multiple DeployedModels, -/// whose underlying specification consists of a DedicatedResources. +/// A description of resources that can be shared by multiple DeployedModels, +/// whose underlying specification consists of a DedicatedResources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeploymentResourcePool { - /// Output only. The resource name of the DeploymentResourcePool. - /// Format: - /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} + /// Output only. The resource name of the DeploymentResourcePool. + /// Format: + /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The underlying DedicatedResources that the DeploymentResourcePool uses. + /// Required. The underlying DedicatedResources that the DeploymentResourcePool uses. #[prost(message, optional, tag="2")] pub dedicated_resources: ::core::option::Option, - /// Output only. Timestamp when this DeploymentResourcePool was created. + /// Output only. Timestamp when this DeploymentResourcePool was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Models are deployed into it, and afterwards Endpoint is called to obtain -/// predictions and explanations. +/// Models are deployed into it, and afterwards Endpoint is called to obtain +/// predictions and explanations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Endpoint { - /// Output only. The resource name of the Endpoint. + /// Output only. The resource name of the Endpoint. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the Endpoint. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Endpoint. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Endpoint. + /// The description of the Endpoint. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The models deployed in this Endpoint. - /// To add or remove DeployedModels use \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\] and - /// \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\] respectively. + /// Output only. The models deployed in this Endpoint. + /// To add or remove DeployedModels use \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\] and + /// \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\] respectively. #[prost(message, repeated, tag="4")] pub deployed_models: ::prost::alloc::vec::Vec, - /// A map from a DeployedModel's ID to the percentage of this Endpoint's - /// traffic that should be forwarded to that DeployedModel. + /// A map from a DeployedModel's ID to the percentage of this Endpoint's + /// traffic that should be forwarded to that DeployedModel. /// - /// If a DeployedModel's ID is not listed in this map, then it receives no - /// traffic. + /// If a DeployedModel's ID is not listed in this map, then it receives no + /// traffic. /// - /// The traffic percentage values must add up to 100, or map must be empty if - /// the Endpoint is to not accept any traffic at a moment. + /// The traffic percentage values must add up to 100, or map must be empty if + /// the Endpoint is to not accept any traffic at a moment. #[prost(map="string, int32", tag="5")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Endpoints. + /// The labels with user-defined metadata to organize your Endpoints. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Endpoint was created. + /// Output only. Timestamp when this Endpoint was created. #[prost(message, optional, tag="8")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Endpoint was last updated. + /// Output only. Timestamp when this Endpoint was last updated. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Customer-managed encryption key spec for an Endpoint. If set, this - /// Endpoint and all sub-resources of this Endpoint will be secured by - /// this key. + /// Customer-managed encryption key spec for an Endpoint. If set, this + /// Endpoint and all sub-resources of this Endpoint will be secured by + /// this key. #[prost(message, optional, tag="10")] pub encryption_spec: ::core::option::Option, - /// The full name of the Google Compute Engine - /// \[network\]() - /// to which the Endpoint should be peered. + /// The full name of the Google Compute Engine + /// \[network\]() + /// to which the Endpoint should be peered. /// - /// Private services access must already be configured for the network. If left - /// unspecified, the Endpoint is not peered with any network. + /// Private services access must already be configured for the network. If left + /// unspecified, the Endpoint is not peered with any network. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect\], + /// can be set. /// - /// \[Format\](): - /// `projects/{project}/global/networks/{network}`. - /// Where `{project}` is a project number, as in `12345`, and `{network}` is - /// network name. + /// \[Format\](): + /// `projects/{project}/global/networks/{network}`. + /// Where `{project}` is a project number, as in `12345`, and `{network}` is + /// network name. #[prost(string, tag="13")] pub network: ::prost::alloc::string::String, - /// Deprecated: If true, expose the Endpoint via private service connect. + /// Deprecated: If true, expose the Endpoint via private service connect. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.Endpoint.enable_private_service_connect\], + /// can be set. #[deprecated] #[prost(bool, tag="17")] pub enable_private_service_connect: bool, - /// Output only. Resource name of the Model Monitoring job associated with this Endpoint - /// if monitoring is enabled by \[CreateModelDeploymentMonitoringJob][\]. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Output only. Resource name of the Model Monitoring job associated with this Endpoint + /// if monitoring is enabled by \[CreateModelDeploymentMonitoringJob][\]. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="14")] pub model_deployment_monitoring_job: ::prost::alloc::string::String, - /// Configures the request-response logging for online prediction. + /// Configures the request-response logging for online prediction. #[prost(message, optional, tag="18")] pub predict_request_response_logging_config: ::core::option::Option, } -/// A deployment of a Model. Endpoints contain one or more DeployedModels. +/// A deployment of a Model. Endpoints contain one or more DeployedModels. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedModel { - /// Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI - /// will generate a value for this ID. + /// Immutable. The ID of the DeployedModel. If not provided upon deployment, Vertex AI + /// will generate a value for this ID. /// - /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. + /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The resource name of the Model that this is the deployment of. Note that - /// the Model may be in a different location than the DeployedModel's Endpoint. + /// Required. The resource name of the Model that this is the deployment of. Note that + /// the Model may be in a different location than the DeployedModel's Endpoint. /// - /// The resource name may contain version id or version alias to specify the - /// version, if no version is specified, the default version will be deployed. + /// The resource name may contain version id or version alias to specify the + /// version, if no version is specified, the default version will be deployed. #[prost(string, tag="2")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the model that is deployed. + /// Output only. The version ID of the model that is deployed. #[prost(string, tag="18")] pub model_version_id: ::prost::alloc::string::String, - /// The display name of the DeployedModel. If not provided upon creation, - /// the Model's display_name is used. + /// The display name of the DeployedModel. If not provided upon creation, + /// the Model's display_name is used. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when the DeployedModel was created. + /// Output only. Timestamp when the DeployedModel was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Explanation configuration for this DeployedModel. - /// - /// When deploying a Model using \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\], this value - /// overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\]. All fields of - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] are optional in the request. If a field of - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] is not populated, the value of the same field of - /// \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] is inherited. If the corresponding - /// \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] is not populated, all fields of the - /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] will be used for the explanation configuration. + /// Explanation configuration for this DeployedModel. + /// + /// When deploying a Model using \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\], this value + /// overrides the value of \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\]. All fields of + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] are optional in the request. If a field of + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] is not populated, the value of the same field of + /// \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] is inherited. If the corresponding + /// \[Model.explanation_spec][google.cloud.aiplatform.v1beta1.Model.explanation_spec\] is not populated, all fields of the + /// \[explanation_spec][google.cloud.aiplatform.v1beta1.DeployedModel.explanation_spec\] will be used for the explanation configuration. #[prost(message, optional, tag="9")] pub explanation_spec: ::core::option::Option, - /// The service account that the DeployedModel's container runs as. Specify the - /// email address of the service account. If this service account is not - /// specified, the container runs as a service account that doesn't have access - /// to the resource project. + /// The service account that the DeployedModel's container runs as. Specify the + /// email address of the service account. If this service account is not + /// specified, the container runs as a service account that doesn't have access + /// to the resource project. /// - /// Users deploying the Model must have the `iam.serviceAccounts.actAs` - /// permission on this service account. + /// Users deploying the Model must have the `iam.serviceAccounts.actAs` + /// permission on this service account. #[prost(string, tag="11")] pub service_account: ::prost::alloc::string::String, - /// If true, the container of the DeployedModel instances will send `stderr` - /// and `stdout` streams to Stackdriver Logging. + /// If true, the container of the DeployedModel instances will send `stderr` + /// and `stdout` streams to Stackdriver Logging. /// - /// Only supported for custom-trained Models and AutoML Tabular Models. + /// Only supported for custom-trained Models and AutoML Tabular Models. #[prost(bool, tag="12")] pub enable_container_logging: bool, - /// These logs are like standard server access logs, containing - /// information like timestamp and latency for each prediction request. + /// These logs are like standard server access logs, containing + /// information like timestamp and latency for each prediction request. /// - /// Note that Stackdriver logs may incur a cost, especially if your project - /// receives prediction requests at a high queries per second rate (QPS). - /// Estimate your costs before enabling this option. + /// Note that Stackdriver logs may incur a cost, especially if your project + /// receives prediction requests at a high queries per second rate (QPS). + /// Estimate your costs before enabling this option. #[prost(bool, tag="13")] pub enable_access_logging: bool, - /// Output only. Provide paths for users to send predict/explain/health requests directly to - /// the deployed model services running on Cloud via private services access. - /// This field is populated if \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] is configured. + /// Output only. Provide paths for users to send predict/explain/health requests directly to + /// the deployed model services running on Cloud via private services access. + /// This field is populated if \[network][google.cloud.aiplatform.v1beta1.Endpoint.network\] is configured. #[prost(message, optional, tag="14")] pub private_endpoints: ::core::option::Option, - /// The prediction (for example, the machine) resources that the DeployedModel - /// uses. The user is billed for the resources (at least their minimal amount) - /// even if the DeployedModel receives no traffic. - /// Not all Models support all resources types. See - /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\]. + /// The prediction (for example, the machine) resources that the DeployedModel + /// uses. The user is billed for the resources (at least their minimal amount) + /// even if the DeployedModel receives no traffic. + /// Not all Models support all resources types. See + /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\]. #[prost(oneof="deployed_model::PredictionResources", tags="7, 8, 17")] pub prediction_resources: ::core::option::Option, } /// Nested message and enum types in `DeployedModel`. pub mod deployed_model { - /// The prediction (for example, the machine) resources that the DeployedModel - /// uses. The user is billed for the resources (at least their minimal amount) - /// even if the DeployedModel receives no traffic. - /// Not all Models support all resources types. See - /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\]. + /// The prediction (for example, the machine) resources that the DeployedModel + /// uses. The user is billed for the resources (at least their minimal amount) + /// even if the DeployedModel receives no traffic. + /// Not all Models support all resources types. See + /// \[Model.supported_deployment_resources_types][google.cloud.aiplatform.v1beta1.Model.supported_deployment_resources_types\]. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PredictionResources { - /// A description of resources that are dedicated to the DeployedModel, and - /// that need a higher degree of manual configuration. + /// A description of resources that are dedicated to the DeployedModel, and + /// that need a higher degree of manual configuration. #[prost(message, tag="7")] DedicatedResources(super::DedicatedResources), - /// A description of resources that to large degree are decided by Vertex - /// AI, and require only a modest additional configuration. + /// A description of resources that to large degree are decided by Vertex + /// AI, and require only a modest additional configuration. #[prost(message, tag="8")] AutomaticResources(super::AutomaticResources), - /// The resource name of the shared DeploymentResourcePool to deploy on. - /// Format: - /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} + /// The resource name of the shared DeploymentResourcePool to deploy on. + /// Format: + /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} #[prost(string, tag="17")] SharedResources(::prost::alloc::string::String), } } -/// PrivateEndpoints proto is used to provide paths for users to send -/// requests privately. -/// To send request via private service access, use predict_http_uri, -/// explain_http_uri or health_http_uri. To send request via private service -/// connect, use service_attachment. +/// PrivateEndpoints proto is used to provide paths for users to send +/// requests privately. +/// To send request via private service access, use predict_http_uri, +/// explain_http_uri or health_http_uri. To send request via private service +/// connect, use service_attachment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateEndpoints { - /// Output only. Http(s) path to send prediction requests. + /// Output only. Http(s) path to send prediction requests. #[prost(string, tag="1")] pub predict_http_uri: ::prost::alloc::string::String, - /// Output only. Http(s) path to send explain requests. + /// Output only. Http(s) path to send explain requests. #[prost(string, tag="2")] pub explain_http_uri: ::prost::alloc::string::String, - /// Output only. Http(s) path to send health check requests. + /// Output only. Http(s) path to send health check requests. #[prost(string, tag="3")] pub health_http_uri: ::prost::alloc::string::String, - /// Output only. The name of the service attachment resource. Populated if private service - /// connect is enabled. + /// Output only. The name of the service attachment resource. Populated if private service + /// connect is enabled. #[prost(string, tag="4")] pub service_attachment: ::prost::alloc::string::String, } -/// Configuration for logging request-response to a BigQuery table. +/// Configuration for logging request-response to a BigQuery table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictRequestResponseLoggingConfig { - /// If logging is enabled or not. + /// If logging is enabled or not. #[prost(bool, tag="1")] pub enabled: bool, - /// Percentage of requests to be logged, expressed as a fraction in - /// range(0,1]. + /// Percentage of requests to be logged, expressed as a fraction in + /// range(0,1]. #[prost(double, tag="2")] pub sampling_rate: f64, - /// BigQuery table for logging. - /// If only given a project, a new dataset will be created with name - /// `logging__` where - /// will be made BigQuery-dataset-name compatible (e.g. - /// most special characters will become underscores). If no table name is - /// given, a new table will be created with name `request_response_logging` + /// BigQuery table for logging. + /// If only given a project, a new dataset will be created with name + /// `logging__` where + /// will be made BigQuery-dataset-name compatible (e.g. + /// most special characters will become underscores). If no table name is + /// given, a new table will be created with name `request_response_logging` #[prost(message, optional, tag="3")] pub bigquery_destination: ::core::option::Option, } -/// Request message for CreateDeploymentResourcePool method. +/// Request message for CreateDeploymentResourcePool method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDeploymentResourcePoolRequest { - /// Required. The parent location resource where this DeploymentResourcePool will be - /// created. Format: projects/{project}/locations/{location} + /// Required. The parent location resource where this DeploymentResourcePool will be + /// created. Format: projects/{project}/locations/{location} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DeploymentResourcePool to create. + /// Required. The DeploymentResourcePool to create. #[prost(message, optional, tag="2")] pub deployment_resource_pool: ::core::option::Option, - /// Required. The ID to use for the DeploymentResourcePool, which - /// will become the final component of the DeploymentResourcePool's resource - /// name. + /// Required. The ID to use for the DeploymentResourcePool, which + /// will become the final component of the DeploymentResourcePool's resource + /// name. /// - /// The maximum length is 63 characters, and valid characters - /// are `/^\[a-z]([a-z0-9-]{0,61}[a-z0-9\])?$/`. + /// The maximum length is 63 characters, and valid characters + /// are `/^\[a-z]([a-z0-9-]{0,61}[a-z0-9\])?$/`. #[prost(string, tag="3")] pub deployment_resource_pool_id: ::prost::alloc::string::String, } -/// Runtime operation information for CreateDeploymentResourcePool method. +/// Runtime operation information for CreateDeploymentResourcePool method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDeploymentResourcePoolOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for GetDeploymentResourcePool method. +/// Request message for GetDeploymentResourcePool method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDeploymentResourcePoolRequest { - /// Required. The name of the DeploymentResourcePool to retrieve. - /// Format: - /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} + /// Required. The name of the DeploymentResourcePool to retrieve. + /// Format: + /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListDeploymentResourcePools method. +/// Request message for ListDeploymentResourcePools method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeploymentResourcePoolsRequest { - /// Required. The parent Location which owns this collection of DeploymentResourcePools. - /// Format: projects/{project}/locations/{location} + /// Required. The parent Location which owns this collection of DeploymentResourcePools. + /// Format: projects/{project}/locations/{location} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of DeploymentResourcePools to return. The service may - /// return fewer than this value. + /// The maximum number of DeploymentResourcePools to return. The service may + /// return fewer than this value. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDeploymentResourcePools` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDeploymentResourcePools` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListDeploymentResourcePools` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListDeploymentResourcePools` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListDeploymentResourcePools method. +/// Response message for ListDeploymentResourcePools method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeploymentResourcePoolsResponse { - /// The DeploymentResourcePools from the specified location. + /// The DeploymentResourcePools from the specified location. #[prost(message, repeated, tag="1")] pub deployment_resource_pools: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Runtime operation information for UpdateDeploymentResourcePool method. +/// Runtime operation information for UpdateDeploymentResourcePool method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDeploymentResourcePoolOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for DeleteDeploymentResourcePool method. +/// Request message for DeleteDeploymentResourcePool method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDeploymentResourcePoolRequest { - /// Required. The name of the DeploymentResourcePool to delete. - /// Format: - /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} + /// Required. The name of the DeploymentResourcePool to delete. + /// Format: + /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for QueryDeployedModels method. +/// Request message for QueryDeployedModels method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDeployedModelsRequest { - /// Required. The name of the target DeploymentResourcePool to query. - /// Format: - /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} + /// Required. The name of the target DeploymentResourcePool to query. + /// Format: + /// projects/{project}/locations/{location}/deploymentResourcePools/{deployment_resource_pool} #[prost(string, tag="1")] pub deployment_resource_pool: ::prost::alloc::string::String, - /// The maximum number of DeployedModels to return. The service may return - /// fewer than this value. + /// The maximum number of DeployedModels to return. The service may return + /// fewer than this value. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `QueryDeployedModels` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `QueryDeployedModels` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryDeployedModels` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryDeployedModels` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for QueryDeployedModels method. +/// Response message for QueryDeployedModels method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDeployedModelsResponse { - /// DEPRECATED Use deployed_model_refs instead. + /// DEPRECATED Use deployed_model_refs instead. #[deprecated] #[prost(message, repeated, tag="1")] pub deployed_models: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// References to the DeployedModels that share the specified - /// deploymentResourcePool. + /// References to the DeployedModels that share the specified + /// deploymentResourcePool. #[prost(message, repeated, tag="3")] pub deployed_model_refs: ::prost::alloc::vec::Vec, } @@ -5067,52 +5067,52 @@ pub mod deployment_resource_pool_service_client { } } } -/// Request message for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint\]. +/// Request message for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEndpointRequest { - /// Required. The resource name of the Location to create the Endpoint in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Endpoint in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Endpoint to create. + /// Required. The Endpoint to create. #[prost(message, optional, tag="2")] pub endpoint: ::core::option::Option, - /// Immutable. The ID to use for endpoint, which will become the final - /// component of the endpoint resource name. - /// If not provided, Vertex AI will generate a value for this ID. - /// - /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. - /// When using HTTP/JSON, this field is populated based on a query string - /// argument, such as `?endpoint_id=12345`. This is the fallback for fields - /// that are not included in either the URI or the body. + /// Immutable. The ID to use for endpoint, which will become the final + /// component of the endpoint resource name. + /// If not provided, Vertex AI will generate a value for this ID. + /// + /// This value should be 1-10 characters, and valid characters are /\[0-9\]/. + /// When using HTTP/JSON, this field is populated based on a query string + /// argument, such as `?endpoint_id=12345`. This is the fallback for fields + /// that are not included in either the URI or the body. #[prost(string, tag="4")] pub endpoint_id: ::prost::alloc::string::String, } -/// Runtime operation information for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint\]. +/// Runtime operation information for \[EndpointService.CreateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.CreateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEndpointOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[EndpointService.GetEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.GetEndpoint\] +/// Request message for \[EndpointService.GetEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.GetEndpoint\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEndpointRequest { - /// Required. The name of the Endpoint resource. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\]. +/// Request message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEndpointsRequest { - /// Required. The resource name of the Location from which to list the Endpoints. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the Endpoints. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// Optional. An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `endpoint` supports = and !=. `endpoint` represents the Endpoint ID, /// i.e. the last segment of the Endpoint's [resource name]\[google.cloud.aiplatform.v1beta1.Endpoint.name\]. @@ -5122,126 +5122,126 @@ pub struct ListEndpointsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// * `endpoint=1` /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. The standard list page size. + /// Optional. The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. The standard list page token. - /// Typically obtained via - /// \[ListEndpointsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListEndpointsResponse.next_page_token\] of the previous - /// \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\] call. + /// Optional. The standard list page token. + /// Typically obtained via + /// \[ListEndpointsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListEndpointsResponse.next_page_token\] of the previous + /// \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. Mask specifying which fields to read. + /// Optional. Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\]. +/// Response message for \[EndpointService.ListEndpoints][google.cloud.aiplatform.v1beta1.EndpointService.ListEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEndpointsResponse { - /// List of Endpoints in the requested page. + /// List of Endpoints in the requested page. #[prost(message, repeated, tag="1")] pub endpoints: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListEndpointsRequest.page_token][google.cloud.aiplatform.v1beta1.ListEndpointsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListEndpointsRequest.page_token][google.cloud.aiplatform.v1beta1.ListEndpointsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint\]. +/// Request message for \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEndpointRequest { - /// Required. The Endpoint which replaces the resource on the server. + /// Required. The Endpoint which replaces the resource on the server. #[prost(message, optional, tag="1")] pub endpoint: ::core::option::Option, - /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[EndpointService.DeleteEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpoint\]. +/// Request message for \[EndpointService.DeleteEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.DeleteEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEndpointRequest { - /// Required. The name of the Endpoint resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. +/// Request message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelRequest { - /// Required. The name of the Endpoint resource into which to deploy a Model. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource into which to deploy a Model. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. The DeployedModel to be created within the Endpoint. Note that - /// \[Endpoint.traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] must be updated for the DeployedModel to start - /// receiving traffic, either as part of this call, or via - /// \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint\]. + /// Required. The DeployedModel to be created within the Endpoint. Note that + /// \[Endpoint.traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] must be updated for the DeployedModel to start + /// receiving traffic, either as part of this call, or via + /// \[EndpointService.UpdateEndpoint][google.cloud.aiplatform.v1beta1.EndpointService.UpdateEndpoint\]. #[prost(message, optional, tag="2")] pub deployed_model: ::core::option::Option, - /// A map from a DeployedModel's ID to the percentage of this Endpoint's - /// traffic that should be forwarded to that DeployedModel. + /// A map from a DeployedModel's ID to the percentage of this Endpoint's + /// traffic that should be forwarded to that DeployedModel. /// - /// If this field is non-empty, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] will be overwritten with it. - /// To refer to the ID of the just being deployed Model, a "0" should be used, - /// and the actual ID of the new DeployedModel will be filled in its place by - /// this method. The traffic percentage values must add up to 100. + /// If this field is non-empty, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] will be overwritten with it. + /// To refer to the ID of the just being deployed Model, a "0" should be used, + /// and the actual ID of the new DeployedModel will be filled in its place by + /// this method. The traffic percentage values must add up to 100. /// - /// If this field is empty, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] is not updated. + /// If this field is empty, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] is not updated. #[prost(map="string, int32", tag="3")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } -/// Response message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. +/// Response message for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelResponse { - /// The DeployedModel that had been deployed in the Endpoint. + /// The DeployedModel that had been deployed in the Endpoint. #[prost(message, optional, tag="1")] pub deployed_model: ::core::option::Option, } -/// Runtime operation information for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. +/// Runtime operation information for \[EndpointService.DeployModel][google.cloud.aiplatform.v1beta1.EndpointService.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. +/// Request message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelRequest { - /// Required. The name of the Endpoint resource from which to undeploy a Model. - /// Format: - /// `projects/{project}/locations/{location}/endpoints/{endpoint}` + /// Required. The name of the Endpoint resource from which to undeploy a Model. + /// Format: + /// `projects/{project}/locations/{location}/endpoints/{endpoint}` #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. The ID of the DeployedModel to be undeployed from the Endpoint. + /// Required. The ID of the DeployedModel to be undeployed from the Endpoint. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// If this field is provided, then the Endpoint's - /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] will be overwritten with it. If - /// last DeployedModel is being undeployed from the Endpoint, the - /// \[Endpoint.traffic_split\] will always end up empty when this call returns. - /// A DeployedModel will be successfully undeployed only if it doesn't have - /// any traffic assigned to it when this method executes, or if this field - /// unassigns any traffic to it. + /// If this field is provided, then the Endpoint's + /// \[traffic_split][google.cloud.aiplatform.v1beta1.Endpoint.traffic_split\] will be overwritten with it. If + /// last DeployedModel is being undeployed from the Endpoint, the + /// \[Endpoint.traffic_split\] will always end up empty when this call returns. + /// A DeployedModel will be successfully undeployed only if it doesn't have + /// any traffic assigned to it when this method executes, or if this field + /// unassigns any traffic to it. #[prost(map="string, int32", tag="3")] pub traffic_split: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } -/// Response message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. +/// Response message for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelResponse { } -/// Runtime operation information for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. +/// Runtime operation information for \[EndpointService.UndeployModel][google.cloud.aiplatform.v1beta1.EndpointService.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } @@ -5470,104 +5470,104 @@ pub mod endpoint_service_client { } } } -/// Configuration of how features in Featurestore are monitored. +/// Configuration of how features in Featurestore are monitored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeaturestoreMonitoringConfig { - /// The config for Snapshot Analysis Based Feature Monitoring. + /// The config for Snapshot Analysis Based Feature Monitoring. #[prost(message, optional, tag="1")] pub snapshot_analysis: ::core::option::Option, - /// The config for ImportFeatures Analysis Based Feature Monitoring. + /// The config for ImportFeatures Analysis Based Feature Monitoring. #[prost(message, optional, tag="2")] pub import_features_analysis: ::core::option::Option, - /// Threshold for numerical features of anomaly detection. - /// This is shared by all objectives of Featurestore Monitoring for numerical - /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) DOUBLE or INT64). + /// Threshold for numerical features of anomaly detection. + /// This is shared by all objectives of Featurestore Monitoring for numerical + /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) DOUBLE or INT64). #[prost(message, optional, tag="3")] pub numerical_threshold_config: ::core::option::Option, - /// Threshold for categorical features of anomaly detection. - /// This is shared by all types of Featurestore Monitoring for categorical - /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL or STRING). + /// Threshold for categorical features of anomaly detection. + /// This is shared by all types of Featurestore Monitoring for categorical + /// features (i.e. Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL or STRING). #[prost(message, optional, tag="4")] pub categorical_threshold_config: ::core::option::Option, } /// Nested message and enum types in `FeaturestoreMonitoringConfig`. pub mod featurestore_monitoring_config { - /// Configuration of the Featurestore's Snapshot Analysis Based Monitoring. - /// This type of analysis generates statistics for each Feature based on a - /// snapshot of the latest feature value of each entities every - /// monitoring_interval. + /// Configuration of the Featurestore's Snapshot Analysis Based Monitoring. + /// This type of analysis generates statistics for each Feature based on a + /// snapshot of the latest feature value of each entities every + /// monitoring_interval. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotAnalysis { - /// The monitoring schedule for snapshot analysis. - /// For EntityType-level config: + /// The monitoring schedule for snapshot analysis. + /// For EntityType-level config: /// unset / disabled = true indicates disabled by /// default for Features under it; otherwise by default enable snapshot /// analysis monitoring with monitoring_interval for Features under it. - /// Feature-level config: + /// Feature-level config: /// disabled = true indicates disabled regardless of the EntityType-level /// config; unset monitoring_interval indicates going with EntityType-level /// config; otherwise run snapshot analysis monitoring with /// monitoring_interval regardless of the EntityType-level config. - /// Explicitly Disable the snapshot analysis based monitoring. + /// Explicitly Disable the snapshot analysis based monitoring. #[prost(bool, tag="1")] pub disabled: bool, - /// Configuration of the snapshot analysis based monitoring pipeline running - /// interval. The value is rolled up to full day. + /// Configuration of the snapshot analysis based monitoring pipeline running + /// interval. The value is rolled up to full day. #[deprecated] #[prost(message, optional, tag="2")] pub monitoring_interval: ::core::option::Option<::prost_types::Duration>, - /// Configuration of the snapshot analysis based monitoring pipeline - /// running interval. The value indicates number of days. - /// If both - /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] - /// and \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval\] - /// are set when creating/updating EntityTypes/Features, - /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] - /// will be used. + /// Configuration of the snapshot analysis based monitoring pipeline + /// running interval. The value indicates number of days. + /// If both + /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] + /// and \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval\] + /// are set when creating/updating EntityTypes/Features, + /// \[FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days][google.cloud.aiplatform.v1beta1.FeaturestoreMonitoringConfig.SnapshotAnalysis.monitoring_interval_days\] + /// will be used. #[prost(int32, tag="3")] pub monitoring_interval_days: i32, - /// Customized export features time window for snapshot analysis. Unit is one - /// day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is - /// 4000 days. + /// Customized export features time window for snapshot analysis. Unit is one + /// day. Default value is 3 weeks. Minimum value is 1 day. Maximum value is + /// 4000 days. #[prost(int32, tag="4")] pub staleness_days: i32, } - /// Configuration of the Featurestore's ImportFeature Analysis Based - /// Monitoring. This type of analysis generates statistics for values of each - /// Feature imported by every \[ImportFeatureValues][\] operation. + /// Configuration of the Featurestore's ImportFeature Analysis Based + /// Monitoring. This type of analysis generates statistics for values of each + /// Feature imported by every \[ImportFeatureValues][\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeaturesAnalysis { - /// Whether to enable / disable / inherite default hebavior for import - /// features analysis. + /// Whether to enable / disable / inherite default hebavior for import + /// features analysis. #[prost(enumeration="import_features_analysis::State", tag="1")] pub state: i32, - /// The baseline used to do anomaly detection for the statistics generated by - /// import features analysis. + /// The baseline used to do anomaly detection for the statistics generated by + /// import features analysis. #[prost(enumeration="import_features_analysis::Baseline", tag="2")] pub anomaly_detection_baseline: i32, } /// Nested message and enum types in `ImportFeaturesAnalysis`. pub mod import_features_analysis { - /// The state defines whether to enable ImportFeature analysis. + /// The state defines whether to enable ImportFeature analysis. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// The default behavior of whether to enable the monitoring. - /// EntityType-level config: disabled. - /// Feature-level config: inherited from the configuration of EntityType - /// this Feature belongs to. + /// The default behavior of whether to enable the monitoring. + /// EntityType-level config: disabled. + /// Feature-level config: inherited from the configuration of EntityType + /// this Feature belongs to. Default = 1, - /// Explicitly enables import features analysis. - /// EntityType-level config: by default enables import features analysis - /// for all Features under it. Feature-level config: enables import - /// features analysis regardless of the EntityType-level config. + /// Explicitly enables import features analysis. + /// EntityType-level config: by default enables import features analysis + /// for all Features under it. Feature-level config: enables import + /// features analysis regardless of the EntityType-level config. Enabled = 2, - /// Explicitly disables import features analysis. - /// EntityType-level config: by default disables import features analysis - /// for all Features under it. Feature-level config: disables import - /// features analysis regardless of the EntityType-level config. + /// Explicitly disables import features analysis. + /// EntityType-level config: by default disables import features analysis + /// for all Features under it. Feature-level config: disables import + /// features analysis regardless of the EntityType-level config. Disabled = 3, } impl State { @@ -5584,22 +5584,22 @@ pub mod featurestore_monitoring_config { } } } - /// Defines the baseline to do anomaly detection for feature values imported - /// by each \[ImportFeatureValues][\] operation. + /// Defines the baseline to do anomaly detection for feature values imported + /// by each \[ImportFeatureValues][\] operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Baseline { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Choose the later one statistics generated by either most recent - /// snapshot analysis or previous import features analysis. If non of them - /// exists, skip anomaly detection and only generate a statistics. + /// Choose the later one statistics generated by either most recent + /// snapshot analysis or previous import features analysis. If non of them + /// exists, skip anomaly detection and only generate a statistics. LatestStats = 1, - /// Use the statistics generated by the most recent snapshot analysis if - /// exists. + /// Use the statistics generated by the most recent snapshot analysis if + /// exists. MostRecentSnapshotStats = 2, - /// Use the statistics generated by the previous import features analysis - /// if exists. + /// Use the statistics generated by the previous import features analysis + /// if exists. PreviousImportFeaturesStats = 3, } impl Baseline { @@ -5617,7 +5617,7 @@ pub mod featurestore_monitoring_config { } } } - /// The config for Featurestore Monitoring threshold. + /// The config for Featurestore Monitoring threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdConfig { #[prost(oneof="threshold_config::Threshold", tags="1")] @@ -5627,111 +5627,111 @@ pub mod featurestore_monitoring_config { pub mod threshold_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Threshold { - /// Specify a threshold value that can trigger the alert. - /// 1. For categorical feature, the distribution distance is calculated by - /// L-inifinity norm. - /// 2. For numerical feature, the distribution distance is calculated by - /// Jensen–Shannon divergence. Each feature must have a non-zero threshold - /// if they need to be monitored. Otherwise no alert will be triggered for - /// that feature. + /// Specify a threshold value that can trigger the alert. + /// 1. For categorical feature, the distribution distance is calculated by + /// L-inifinity norm. + /// 2. For numerical feature, the distribution distance is calculated by + /// Jensen–Shannon divergence. Each feature must have a non-zero threshold + /// if they need to be monitored. Otherwise no alert will be triggered for + /// that feature. #[prost(double, tag="1")] Value(f64), } } } -/// An entity type is a type of object in a system that needs to be modeled and -/// have stored information about. For example, driver is an entity type, and -/// driver0 is an instance of an entity type driver. +/// An entity type is a type of object in a system that needs to be modeled and +/// have stored information about. For example, driver is an entity type, and +/// driver0 is an instance of an entity type driver. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityType { - /// Immutable. Name of the EntityType. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` - /// - /// The last part entity_type is assigned by the client. The entity_type can be - /// up to 64 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The - /// value will be unique given a featurestore. + /// Immutable. Name of the EntityType. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// + /// The last part entity_type is assigned by the client. The entity_type can be + /// up to 64 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z and underscore(_), and ASCII digits 0-9 starting with a letter. The + /// value will be unique given a featurestore. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Description of the EntityType. + /// Optional. Description of the EntityType. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Output only. Timestamp when this EntityType was created. + /// Output only. Timestamp when this EntityType was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this EntityType was most recently updated. + /// Output only. Timestamp when this EntityType was most recently updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your EntityTypes. + /// Optional. The labels with user-defined metadata to organize your EntityTypes. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one EntityType (System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one EntityType (System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Used to perform a consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform a consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, - /// Optional. The default monitoring configuration for all Features with value type - /// (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or INT64 under this - /// EntityType. - /// - /// If this is populated with - /// \[FeaturestoreMonitoringConfig.monitoring_interval\] specified, snapshot - /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is - /// disabled. + /// Optional. The default monitoring configuration for all Features with value type + /// (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or INT64 under this + /// EntityType. + /// + /// If this is populated with + /// \[FeaturestoreMonitoringConfig.monitoring_interval\] specified, snapshot + /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring is + /// disabled. #[prost(message, optional, tag="8")] pub monitoring_config: ::core::option::Option, } -/// An edge describing the relationship between an Artifact and an Execution in -/// a lineage graph. +/// An edge describing the relationship between an Artifact and an Execution in +/// a lineage graph. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Event { - /// Required. The relative resource name of the Artifact in the Event. + /// Required. The relative resource name of the Artifact in the Event. #[prost(string, tag="1")] pub artifact: ::prost::alloc::string::String, - /// Output only. The relative resource name of the Execution in the Event. + /// Output only. The relative resource name of the Execution in the Event. #[prost(string, tag="2")] pub execution: ::prost::alloc::string::String, - /// Output only. Time the Event occurred. + /// Output only. Time the Event occurred. #[prost(message, optional, tag="3")] pub event_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The type of the Event. + /// Required. The type of the Event. #[prost(enumeration="event::Type", tag="4")] pub r#type: i32, - /// The labels with user-defined metadata to annotate Events. + /// The labels with user-defined metadata to annotate Events. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Event (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Event (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Event`. pub mod event { - /// Describes whether an Event's Artifact is the Execution's input or output. + /// Describes whether an Event's Artifact is the Execution's input or output. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified whether input or output of the Execution. + /// Unspecified whether input or output of the Execution. Unspecified = 0, - /// An input of the Execution. + /// An input of the Execution. Input = 1, - /// An output of the Execution. + /// An output of the Execution. Output = 2, } impl Type { @@ -5748,82 +5748,82 @@ pub mod event { } } } -/// Instance of a general execution. +/// Instance of a general execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Execution { - /// Output only. The resource name of the Execution. + /// Output only. The resource name of the Execution. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name of the Execution. - /// May be up to 128 Unicode characters. + /// User provided display name of the Execution. + /// May be up to 128 Unicode characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The state of this Execution. This is a property of the Execution, and does - /// not imply or capture any ongoing process. This property is managed by - /// clients (such as Vertex AI Pipelines) and the system does not prescribe - /// or check the validity of state transitions. + /// The state of this Execution. This is a property of the Execution, and does + /// not imply or capture any ongoing process. This property is managed by + /// clients (such as Vertex AI Pipelines) and the system does not prescribe + /// or check the validity of state transitions. #[prost(enumeration="execution::State", tag="6")] pub state: i32, - /// An eTag used to perform consistent read-modify-write updates. If not set, a - /// blind "overwrite" update happens. + /// An eTag used to perform consistent read-modify-write updates. If not set, a + /// blind "overwrite" update happens. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Executions. + /// The labels with user-defined metadata to organize your Executions. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one Execution (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one Execution (System + /// labels are excluded). #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Execution was created. + /// Output only. Timestamp when this Execution was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Execution was last updated. + /// Output only. Timestamp when this Execution was last updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The title of the schema describing the metadata. + /// The title of the schema describing the metadata. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="13")] pub schema_title: ::prost::alloc::string::String, - /// The version of the schema in `schema_title` to use. + /// The version of the schema in `schema_title` to use. /// - /// Schema title and version is expected to be registered in earlier Create - /// Schema calls. And both are used together as unique identifiers to identify - /// schemas within the local metadata store. + /// Schema title and version is expected to be registered in earlier Create + /// Schema calls. And both are used together as unique identifiers to identify + /// schemas within the local metadata store. #[prost(string, tag="14")] pub schema_version: ::prost::alloc::string::String, - /// Properties of the Execution. - /// The size of this field should not exceed 200KB. + /// Properties of the Execution. + /// The size of this field should not exceed 200KB. #[prost(message, optional, tag="15")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Description of the Execution + /// Description of the Execution #[prost(string, tag="16")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Execution`. pub mod execution { - /// Describes the state of the Execution. + /// Describes the state of the Execution. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified Execution state + /// Unspecified Execution state Unspecified = 0, - /// The Execution is new + /// The Execution is new New = 1, - /// The Execution is running + /// The Execution is running Running = 2, - /// The Execution has finished running + /// The Execution has finished running Complete = 3, - /// The Execution has failed + /// The Execution has failed Failed = 4, - /// The Execution completed through Cache hit. + /// The Execution completed through Cache hit. Cached = 5, - /// The Execution was cancelled. + /// The Execution was cancelled. Cancelled = 6, } impl State { @@ -5844,113 +5844,113 @@ pub mod execution { } } } -/// Feature Metadata information that describes an attribute of an entity type. -/// For example, apple is an entity type, and color is a feature that describes -/// apple. +/// Feature Metadata information that describes an attribute of an entity type. +/// For example, apple is an entity type, and color is a feature that describes +/// apple. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feature { - /// Immutable. Name of the Feature. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` - /// - /// The last part feature is assigned by the client. The feature can be up to - /// 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, - /// underscore(_), and ASCII digits 0-9 starting with a letter. The value will - /// be unique given an entity type. + /// Immutable. Name of the Feature. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// + /// The last part feature is assigned by the client. The feature can be up to + /// 64 characters long and can consist only of ASCII Latin letters A-Z and a-z, + /// underscore(_), and ASCII digits 0-9 starting with a letter. The value will + /// be unique given an entity type. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Description of the Feature. + /// Description of the Feature. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. Type of Feature value. + /// Required. Immutable. Type of Feature value. #[prost(enumeration="feature::ValueType", tag="3")] pub value_type: i32, - /// Output only. Timestamp when this EntityType was created. + /// Output only. Timestamp when this EntityType was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this EntityType was most recently updated. + /// Output only. Timestamp when this EntityType was most recently updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels with user-defined metadata to organize your Features. + /// Optional. The labels with user-defined metadata to organize your Features. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one Feature (System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one Feature (System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Used to perform a consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform a consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, - /// Optional. Deprecated: The custom monitoring configuration for this Feature, if not - /// set, use the monitoring_config defined for the EntityType this Feature - /// belongs to. - /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or - /// INT64 can enable monitoring. - /// - /// If this is populated with - /// \[FeaturestoreMonitoringConfig.disabled][\] = true, snapshot analysis - /// monitoring is disabled; if - /// \[FeaturestoreMonitoringConfig.monitoring_interval][\] specified, snapshot - /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring - /// config is same as the EntityType's this Feature belongs to. + /// Optional. Deprecated: The custom monitoring configuration for this Feature, if not + /// set, use the monitoring_config defined for the EntityType this Feature + /// belongs to. + /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or + /// INT64 can enable monitoring. + /// + /// If this is populated with + /// \[FeaturestoreMonitoringConfig.disabled][\] = true, snapshot analysis + /// monitoring is disabled; if + /// \[FeaturestoreMonitoringConfig.monitoring_interval][\] specified, snapshot + /// analysis monitoring is enabled. Otherwise, snapshot analysis monitoring + /// config is same as the EntityType's this Feature belongs to. #[deprecated] #[prost(message, optional, tag="9")] pub monitoring_config: ::core::option::Option, - /// Optional. If not set, use the monitoring_config defined for the EntityType this - /// Feature belongs to. - /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or - /// INT64 can enable monitoring. + /// Optional. If not set, use the monitoring_config defined for the EntityType this + /// Feature belongs to. + /// Only Features with type (\[Feature.ValueType][google.cloud.aiplatform.v1beta1.Feature.ValueType\]) BOOL, STRING, DOUBLE or + /// INT64 can enable monitoring. /// - /// If set to true, all types of data monitoring are disabled despite the - /// config on EntityType. + /// If set to true, all types of data monitoring are disabled despite the + /// config on EntityType. #[prost(bool, tag="12")] pub disable_monitoring: bool, - /// Output only. A list of historical [Snapshot - /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] - /// stats requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time\] - /// descending. + /// Output only. A list of historical [Snapshot + /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] + /// stats requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time\] + /// descending. #[prost(message, repeated, tag="10")] pub monitoring_stats: ::prost::alloc::vec::Vec, - /// Output only. The list of historical stats and anomalies with specified objectives. + /// Output only. The list of historical stats and anomalies with specified objectives. #[prost(message, repeated, tag="11")] pub monitoring_stats_anomalies: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Feature`. pub mod feature { - /// A list of historical [Snapshot - /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] or [Import Feature - /// Analysis] \[FeaturestoreMonitoringConfig.ImportFeatureAnalysis\] stats - /// requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time\] descending. + /// A list of historical [Snapshot + /// Analysis]\[FeaturestoreMonitoringConfig.SnapshotAnalysis\] or [Import Feature + /// Analysis] \[FeaturestoreMonitoringConfig.ImportFeatureAnalysis\] stats + /// requested by user, sorted by \[FeatureStatsAnomaly.start_time][google.cloud.aiplatform.v1beta1.FeatureStatsAnomaly.start_time\] descending. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MonitoringStatsAnomaly { - /// Output only. The objective for each stats. + /// Output only. The objective for each stats. #[prost(enumeration="monitoring_stats_anomaly::Objective", tag="1")] pub objective: i32, - /// Output only. The stats and anomalies generated at specific timestamp. + /// Output only. The stats and anomalies generated at specific timestamp. #[prost(message, optional, tag="2")] pub feature_stats_anomaly: ::core::option::Option, } /// Nested message and enum types in `MonitoringStatsAnomaly`. pub mod monitoring_stats_anomaly { - /// If the objective in the request is both - /// Import Feature Analysis and Snapshot Analysis, this objective could be - /// one of them. Otherwise, this objective should be the same as the - /// objective in the request. + /// If the objective in the request is both + /// Import Feature Analysis and Snapshot Analysis, this objective could be + /// one of them. Otherwise, this objective should be the same as the + /// objective in the request. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Objective { - /// If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. + /// If it's OBJECTIVE_UNSPECIFIED, monitoring_stats will be empty. Unspecified = 0, - /// Stats are generated by Import Feature Analysis. + /// Stats are generated by Import Feature Analysis. ImportFeatureAnalysis = 1, - /// Stats are generated by Snapshot Analysis. + /// Stats are generated by Snapshot Analysis. SnapshotAnalysis = 2, } impl Objective { @@ -5967,29 +5967,29 @@ pub mod feature { } } } - /// An enum representing the value type of a feature. + /// An enum representing the value type of a feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueType { - /// The value type is unspecified. + /// The value type is unspecified. Unspecified = 0, - /// Used for Feature that is a boolean. + /// Used for Feature that is a boolean. Bool = 1, - /// Used for Feature that is a list of boolean. + /// Used for Feature that is a list of boolean. BoolArray = 2, - /// Used for Feature that is double. + /// Used for Feature that is double. Double = 3, - /// Used for Feature that is a list of double. + /// Used for Feature that is a list of double. DoubleArray = 4, - /// Used for Feature that is INT64. + /// Used for Feature that is INT64. Int64 = 9, - /// Used for Feature that is a list of INT64. + /// Used for Feature that is a list of INT64. Int64Array = 10, - /// Used for Feature that is string. + /// Used for Feature that is string. String = 11, - /// Used for Feature that is a list of String. + /// Used for Feature that is a list of String. StringArray = 12, - /// Used for Feature that is bytes. + /// Used for Feature that is bytes. Bytes = 13, } impl ValueType { @@ -6013,10 +6013,10 @@ pub mod feature { } } } -/// Matcher for Features of an EntityType by Feature ID. +/// Matcher for Features of an EntityType by Feature ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdMatcher { - /// Required. The following are accepted as `ids`: + /// Required. The following are accepted as `ids`: /// /// * A single-element list containing only `*`, which selects all Features /// in the target EntityType, or @@ -6025,112 +6025,112 @@ pub struct IdMatcher { #[prost(string, repeated, tag="1")] pub ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Selector for Features of an EntityType. +/// Selector for Features of an EntityType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSelector { - /// Required. Matches Features based on ID. + /// Required. Matches Features based on ID. #[prost(message, optional, tag="1")] pub id_matcher: ::core::option::Option, } -/// Vertex AI Feature Store provides a centralized repository for organizing, -/// storing, and serving ML features. The Featurestore is a top-level container -/// for your features and their values. +/// Vertex AI Feature Store provides a centralized repository for organizing, +/// storing, and serving ML features. The Featurestore is a top-level container +/// for your features and their values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Featurestore { - /// Output only. Name of the Featurestore. Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Output only. Name of the Featurestore. Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this Featurestore was created. + /// Output only. Timestamp when this Featurestore was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Featurestore was last updated. + /// Output only. Timestamp when this Featurestore was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Optional. Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, - /// Optional. The labels with user-defined metadata to organize your Featurestore. + /// Optional. The labels with user-defined metadata to organize your Featurestore. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information on and examples of labels. - /// No more than 64 user labels can be associated with one Featurestore(System - /// labels are excluded)." - /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" - /// and are immutable. + /// See for more information on and examples of labels. + /// No more than 64 user labels can be associated with one Featurestore(System + /// labels are excluded)." + /// System reserved label keys are prefixed with "aiplatform.googleapis.com/" + /// and are immutable. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Config for online storage resources. If unset, the featurestore will - /// not have an online store and cannot be used for online serving. + /// Optional. Config for online storage resources. If unset, the featurestore will + /// not have an online store and cannot be used for online serving. #[prost(message, optional, tag="7")] pub online_serving_config: ::core::option::Option, - /// Output only. State of the featurestore. + /// Output only. State of the featurestore. #[prost(enumeration="featurestore::State", tag="8")] pub state: i32, - /// Optional. Customer-managed encryption key spec for data storage. If set, both of the - /// online and offline data storage will be secured by this key. + /// Optional. Customer-managed encryption key spec for data storage. If set, both of the + /// online and offline data storage will be secured by this key. #[prost(message, optional, tag="10")] pub encryption_spec: ::core::option::Option, } /// Nested message and enum types in `Featurestore`. pub mod featurestore { - /// OnlineServingConfig specifies the details for provisioning online serving - /// resources. + /// OnlineServingConfig specifies the details for provisioning online serving + /// resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OnlineServingConfig { - /// The number of nodes for the online store. The number of nodes doesn't - /// scale automatically, but you can manually update the number of - /// nodes. If set to 0, the featurestore will not have an - /// online store and cannot be used for online serving. + /// The number of nodes for the online store. The number of nodes doesn't + /// scale automatically, but you can manually update the number of + /// nodes. If set to 0, the featurestore will not have an + /// online store and cannot be used for online serving. #[prost(int32, tag="2")] pub fixed_node_count: i32, - /// Online serving scaling configuration. - /// Only one of `fixed_node_count` and `scaling` can be set. Setting one will - /// reset the other. + /// Online serving scaling configuration. + /// Only one of `fixed_node_count` and `scaling` can be set. Setting one will + /// reset the other. #[prost(message, optional, tag="4")] pub scaling: ::core::option::Option, } /// Nested message and enum types in `OnlineServingConfig`. pub mod online_serving_config { - /// Online serving scaling configuration. If min_node_count and - /// max_node_count are set to the same value, the cluster will be configured - /// with the fixed number of node (no auto-scaling). + /// Online serving scaling configuration. If min_node_count and + /// max_node_count are set to the same value, the cluster will be configured + /// with the fixed number of node (no auto-scaling). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scaling { - /// Required. The minimum number of nodes to scale down to. Must be greater than or - /// equal to 1. + /// Required. The minimum number of nodes to scale down to. Must be greater than or + /// equal to 1. #[prost(int32, tag="1")] pub min_node_count: i32, - /// The maximum number of nodes to scale up to. Must be greater than - /// min_node_count, and less than or equal to 10 times of 'min_node_count'. + /// The maximum number of nodes to scale up to. Must be greater than + /// min_node_count, and less than or equal to 10 times of 'min_node_count'. #[prost(int32, tag="2")] pub max_node_count: i32, } } - /// Possible states a featurestore can have. + /// Possible states a featurestore can have. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// State when the featurestore configuration is not being updated and the - /// fields reflect the current configuration of the featurestore. The - /// featurestore is usable in this state. + /// State when the featurestore configuration is not being updated and the + /// fields reflect the current configuration of the featurestore. The + /// featurestore is usable in this state. Stable = 1, - /// The state of the featurestore configuration when it is being updated. - /// During an update, the fields reflect either the original configuration - /// or the updated configuration of the featurestore. For example, - /// `online_serving_config.fixed_node_count` can take minutes to update. - /// While the update is in progress, the featurestore is in the UPDATING - /// state, and the value of `fixed_node_count` can be the original value or - /// the updated value, depending on the progress of the operation. Until the - /// update completes, the actual number of nodes can still be the original - /// value of `fixed_node_count`. The featurestore is still usable in this - /// state. + /// The state of the featurestore configuration when it is being updated. + /// During an update, the fields reflect either the original configuration + /// or the updated configuration of the featurestore. For example, + /// `online_serving_config.fixed_node_count` can take minutes to update. + /// While the update is in progress, the featurestore is in the UPDATING + /// state, and the value of `fixed_node_count` can be the original value or + /// the updated value, depending on the progress of the operation. Until the + /// update completes, the actual number of nodes can still be the original + /// value of `fixed_node_count`. The featurestore is still usable in this + /// state. Updating = 2, } impl State { @@ -6147,139 +6147,139 @@ pub mod featurestore { } } } -/// A list of boolean values. +/// A list of boolean values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoolArray { - /// A list of bool values. + /// A list of bool values. #[prost(bool, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of double values. +/// A list of double values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DoubleArray { - /// A list of double values. + /// A list of double values. #[prost(double, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of int64 values. +/// A list of int64 values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Int64Array { - /// A list of int64 values. + /// A list of int64 values. #[prost(int64, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// A list of string values. +/// A list of string values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringArray { - /// A list of string values. + /// A list of string values. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues\]. +/// Request message for \[FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFeatureValuesRequest { - /// Required. The resource name of the EntityType for the entities being written. - /// Value format: `projects/{project}/locations/{location}/featurestores/ - /// {featurestore}/entityTypes/{entityType}`. For example, - /// for a machine learning model predicting user clicks on a website, an - /// EntityType ID could be `user`. + /// Required. The resource name of the EntityType for the entities being written. + /// Value format: `projects/{project}/locations/{location}/featurestores/ + /// {featurestore}/entityTypes/{entityType}`. For example, + /// for a machine learning model predicting user clicks on a website, an + /// EntityType ID could be `user`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. The entities to be written. Up to 100,000 feature values can be written - /// across all `payloads`. + /// Required. The entities to be written. Up to 100,000 feature values can be written + /// across all `payloads`. #[prost(message, repeated, tag="2")] pub payloads: ::prost::alloc::vec::Vec, } -/// Contains Feature values to be written for a specific entity. +/// Contains Feature values to be written for a specific entity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFeatureValuesPayload { - /// Required. The ID of the entity. + /// Required. The ID of the entity. #[prost(string, tag="1")] pub entity_id: ::prost::alloc::string::String, - /// Required. Feature values to be written, mapping from Feature ID to value. Up to - /// 100,000 `feature_values` entries may be written across all payloads. The - /// feature generation time, aligned by days, must be no older than five - /// years (1825 days) and no later than one year (366 days) in the future. + /// Required. Feature values to be written, mapping from Feature ID to value. Up to + /// 100,000 `feature_values` entries may be written across all payloads. The + /// feature generation time, aligned by days, must be no older than five + /// years (1825 days) and no later than one year (366 days) in the future. #[prost(map="string, message", tag="2")] pub feature_values: ::std::collections::HashMap<::prost::alloc::string::String, FeatureValue>, } -/// Response message for \[FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues\]. +/// Response message for \[FeaturestoreOnlineServingService.WriteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.WriteFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFeatureValuesResponse { } -/// Request message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues\]. +/// Request message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFeatureValuesRequest { - /// Required. The resource name of the EntityType for the entity being read. - /// Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. - /// For example, for a machine learning model predicting user clicks on a - /// website, an EntityType ID could be `user`. + /// Required. The resource name of the EntityType for the entity being read. + /// Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// For example, for a machine learning model predicting user clicks on a + /// website, an EntityType ID could be `user`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. ID for a specific entity. For example, - /// for a machine learning model predicting user clicks on a website, an entity - /// ID could be `user_123`. + /// Required. ID for a specific entity. For example, + /// for a machine learning model predicting user clicks on a website, an entity + /// ID could be `user_123`. #[prost(string, tag="2")] pub entity_id: ::prost::alloc::string::String, - /// Required. Selector choosing Features of the target EntityType. + /// Required. Selector choosing Features of the target EntityType. #[prost(message, optional, tag="3")] pub feature_selector: ::core::option::Option, } -/// Response message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues\]. +/// Response message for \[FeaturestoreOnlineServingService.ReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreOnlineServingService.ReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFeatureValuesResponse { - /// Response header. + /// Response header. #[prost(message, optional, tag="1")] pub header: ::core::option::Option, - /// Entity view with Feature values. This may be the entity in the - /// Featurestore if values for all Features were requested, or a projection - /// of the entity in the Featurestore if values for only some Features were - /// requested. + /// Entity view with Feature values. This may be the entity in the + /// Featurestore if values for all Features were requested, or a projection + /// of the entity in the Featurestore if values for only some Features were + /// requested. #[prost(message, optional, tag="2")] pub entity_view: ::core::option::Option, } /// Nested message and enum types in `ReadFeatureValuesResponse`. pub mod read_feature_values_response { - /// Metadata for requested Features. + /// Metadata for requested Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureDescriptor { - /// Feature ID. + /// Feature ID. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, } - /// Response header with metadata for the requested - /// \[ReadFeatureValuesRequest.entity_type][google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest.entity_type\] and Features. + /// Response header with metadata for the requested + /// \[ReadFeatureValuesRequest.entity_type][google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest.entity_type\] and Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Header { - /// The resource name of the EntityType from the - /// \[ReadFeatureValuesRequest][google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest\]. Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// The resource name of the EntityType from the + /// \[ReadFeatureValuesRequest][google.cloud.aiplatform.v1beta1.ReadFeatureValuesRequest\]. Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// List of Feature metadata corresponding to each piece of - /// \[ReadFeatureValuesResponse.data][\]. + /// List of Feature metadata corresponding to each piece of + /// \[ReadFeatureValuesResponse.data][\]. #[prost(message, repeated, tag="2")] pub feature_descriptors: ::prost::alloc::vec::Vec, } - /// Entity view with Feature values. + /// Entity view with Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityView { - /// ID of the requested entity. + /// ID of the requested entity. #[prost(string, tag="1")] pub entity_id: ::prost::alloc::string::String, - /// Each piece of data holds the k - /// requested values for one requested Feature. If no values - /// for the requested Feature exist, the corresponding cell will be empty. - /// This has the same size and is in the same order as the features from the - /// header \[ReadFeatureValuesResponse.header][google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.header\]. + /// Each piece of data holds the k + /// requested values for one requested Feature. If no values + /// for the requested Feature exist, the corresponding cell will be empty. + /// This has the same size and is in the same order as the features from the + /// header \[ReadFeatureValuesResponse.header][google.cloud.aiplatform.v1beta1.ReadFeatureValuesResponse.header\]. #[prost(message, repeated, tag="2")] pub data: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EntityView`. pub mod entity_view { - /// Container to hold value(s), successive in time, for one Feature from the - /// request. + /// Container to hold value(s), successive in time, for one Feature from the + /// request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Data { #[prost(oneof="data::Data", tags="1, 2")] @@ -6289,101 +6289,101 @@ pub mod read_feature_values_response { pub mod data { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Feature value if a single value is requested. + /// Feature value if a single value is requested. #[prost(message, tag="1")] Value(super::super::super::FeatureValue), - /// Feature values list if values, successive in time, are requested. - /// If the requested number of values is greater than the number of - /// existing Feature values, nonexistent values are omitted instead of - /// being returned as empty. + /// Feature values list if values, successive in time, are requested. + /// If the requested number of values is greater than the number of + /// existing Feature values, nonexistent values are omitted instead of + /// being returned as empty. #[prost(message, tag="2")] Values(super::super::super::FeatureValueList), } } } } -/// Request message for -/// \[FeaturestoreOnlineServingService.StreamingFeatureValuesRead][\]. +/// Request message for +/// \[FeaturestoreOnlineServingService.StreamingFeatureValuesRead][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamingReadFeatureValuesRequest { - /// Required. The resource name of the entities' type. - /// Value format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. - /// For example, - /// for a machine learning model predicting user clicks on a website, an - /// EntityType ID could be `user`. + /// Required. The resource name of the entities' type. + /// Value format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}`. + /// For example, + /// for a machine learning model predicting user clicks on a website, an + /// EntityType ID could be `user`. #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. IDs of entities to read Feature values of. The maximum number of IDs is - /// 100. For example, for a machine learning model predicting user clicks on a - /// website, an entity ID could be `user_123`. + /// Required. IDs of entities to read Feature values of. The maximum number of IDs is + /// 100. For example, for a machine learning model predicting user clicks on a + /// website, an entity ID could be `user_123`. #[prost(string, repeated, tag="2")] pub entity_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Selector choosing Features of the target EntityType. Feature IDs will be - /// deduplicated. + /// Required. Selector choosing Features of the target EntityType. Feature IDs will be + /// deduplicated. #[prost(message, optional, tag="3")] pub feature_selector: ::core::option::Option, } -/// Value for a feature. +/// Value for a feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValue { - /// Metadata of feature value. + /// Metadata of feature value. #[prost(message, optional, tag="14")] pub metadata: ::core::option::Option, - /// Value for the feature. + /// Value for the feature. #[prost(oneof="feature_value::Value", tags="1, 2, 5, 6, 7, 8, 11, 12, 13")] pub value: ::core::option::Option, } /// Nested message and enum types in `FeatureValue`. pub mod feature_value { - /// Metadata of feature value. + /// Metadata of feature value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metadata { - /// Feature generation timestamp. Typically, it is provided by user at - /// feature ingestion time. If not, feature store - /// will use the system timestamp when the data is ingested into feature - /// store. For streaming ingestion, the time, aligned by days, must be no - /// older than five years (1825 days) and no later than one year (366 days) - /// in the future. + /// Feature generation timestamp. Typically, it is provided by user at + /// feature ingestion time. If not, feature store + /// will use the system timestamp when the data is ingested into feature + /// store. For streaming ingestion, the time, aligned by days, must be no + /// older than five years (1825 days) and no later than one year (366 days) + /// in the future. #[prost(message, optional, tag="1")] pub generate_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Value for the feature. + /// Value for the feature. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Bool type feature value. + /// Bool type feature value. #[prost(bool, tag="1")] BoolValue(bool), - /// Double type feature value. + /// Double type feature value. #[prost(double, tag="2")] DoubleValue(f64), - /// Int64 feature value. + /// Int64 feature value. #[prost(int64, tag="5")] Int64Value(i64), - /// String feature value. + /// String feature value. #[prost(string, tag="6")] StringValue(::prost::alloc::string::String), - /// A list of bool type feature value. + /// A list of bool type feature value. #[prost(message, tag="7")] BoolArrayValue(super::BoolArray), - /// A list of double type feature value. + /// A list of double type feature value. #[prost(message, tag="8")] DoubleArrayValue(super::DoubleArray), - /// A list of int64 type feature value. + /// A list of int64 type feature value. #[prost(message, tag="11")] Int64ArrayValue(super::Int64Array), - /// A list of string type feature value. + /// A list of string type feature value. #[prost(message, tag="12")] StringArrayValue(super::StringArray), - /// Bytes feature value. + /// Bytes feature value. #[prost(bytes, tag="13")] BytesValue(::prost::alloc::vec::Vec), } } -/// Container for list of values. +/// Container for list of values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueList { - /// A list of feature values. All of them should be the same data type. + /// A list of feature values. All of them should be the same data type. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } @@ -6532,121 +6532,121 @@ pub mod featurestore_online_serving_service_client { } } } -/// Request message for \[FeaturestoreService.CreateFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeaturestore\]. +/// Request message for \[FeaturestoreService.CreateFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeaturestoreRequest { - /// Required. The resource name of the Location to create Featurestores. - /// Format: - /// `projects/{project}/locations/{location}'` + /// Required. The resource name of the Location to create Featurestores. + /// Format: + /// `projects/{project}/locations/{location}'` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Featurestore to create. + /// Required. The Featurestore to create. #[prost(message, optional, tag="2")] pub featurestore: ::core::option::Option, - /// Required. The ID to use for this Featurestore, which will become the final component - /// of the Featurestore's resource name. + /// Required. The ID to use for this Featurestore, which will become the final component + /// of the Featurestore's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within the project and location. + /// The value must be unique within the project and location. #[prost(string, tag="3")] pub featurestore_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.GetFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeaturestore\]. +/// Request message for \[FeaturestoreService.GetFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeaturestoreRequest { - /// Required. The name of the Featurestore resource. + /// Required. The name of the Featurestore resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\]. +/// Request message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturestoresRequest { - /// Required. The resource name of the Location to list Featurestores. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list Featurestores. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the featurestores that match the filter expression. The following - /// fields are supported: + /// Lists the featurestores that match the filter expression. The following + /// fields are supported: /// - /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. - /// Values must be + /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. + /// Values must be /// in RFC 3339 format. - /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. - /// Values must be + /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `<=`, and `>=` comparisons. + /// Values must be /// in RFC 3339 format. - /// * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, - /// `<=`, and `>=` comparisons. - /// * `labels`: Supports key-value equality and key presence. + /// * `online_serving_config.fixed_node_count`: Supports `=`, `!=`, `<`, `>`, + /// `<=`, and `>=` comparisons. + /// * `labels`: Supports key-value equality and key presence. /// - /// Examples: + /// Examples: /// - /// * `create_time > "2020-01-01" OR update_time > "2020-01-01"` + /// * `create_time > "2020-01-01" OR update_time > "2020-01-01"` /// Featurestores created or updated after 2020-01-01. - /// * `labels.env = "prod"` + /// * `labels.env = "prod"` /// Featurestores with label "env" set to "prod". #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of Featurestores to return. The service may return fewer - /// than this value. If unspecified, at most 100 Featurestores will be - /// returned. The maximum value is 100; any value greater than 100 will be - /// coerced to 100. + /// The maximum number of Featurestores to return. The service may return fewer + /// than this value. If unspecified, at most 100 Featurestores will be + /// returned. The maximum value is 100; any value greater than 100 will be + /// coerced to 100. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported Fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported Fields: /// /// * `create_time` /// * `update_time` /// * `online_serving_config.fixed_node_count` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\]. +/// Response message for \[FeaturestoreService.ListFeaturestores][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeaturestores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturestoresResponse { - /// The Featurestores matching the request. + /// The Featurestores matching the request. #[prost(message, repeated, tag="1")] pub featurestores: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListFeaturestoresRequest.page_token][google.cloud.aiplatform.v1beta1.ListFeaturestoresRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListFeaturestoresRequest.page_token][google.cloud.aiplatform.v1beta1.ListFeaturestoresRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeaturestore\]. +/// Request message for \[FeaturestoreService.UpdateFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeaturestoreRequest { - /// Required. The Featurestore's `name` field is used to identify the Featurestore to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The Featurestore's `name` field is used to identify the Featurestore to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(message, optional, tag="1")] pub featurestore: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// Featurestore resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// Featurestore resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `labels` /// * `online_serving_config.fixed_node_count` @@ -6654,78 +6654,78 @@ pub struct UpdateFeaturestoreRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeaturestore\]. +/// Request message for \[FeaturestoreService.DeleteFeaturestore][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeaturestore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeaturestoreRequest { - /// Required. The name of the Featurestore to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The name of the Featurestore to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any EntityTypes and Features for this Featurestore will - /// also be deleted. (Otherwise, the request will only work if the Featurestore - /// has no EntityTypes.) + /// If set to true, any EntityTypes and Features for this Featurestore will + /// also be deleted. (Otherwise, the request will only work if the Featurestore + /// has no EntityTypes.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues\]. +/// Request message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesRequest { - /// Required. The resource name of the EntityType grouping the Features for which values - /// are being imported. Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` + /// Required. The resource name of the EntityType grouping the Features for which values + /// are being imported. Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Source column that holds entity IDs. If not provided, entity IDs are - /// extracted from the column named `entity_id`. + /// Source column that holds entity IDs. If not provided, entity IDs are + /// extracted from the column named `entity_id`. #[prost(string, tag="5")] pub entity_id_field: ::prost::alloc::string::String, - /// Required. Specifications defining which Feature values to import from the entity. The - /// request fails if no feature_specs are provided, and having multiple - /// feature_specs for one Feature is not allowed. + /// Required. Specifications defining which Feature values to import from the entity. The + /// request fails if no feature_specs are provided, and having multiple + /// feature_specs for one Feature is not allowed. #[prost(message, repeated, tag="8")] pub feature_specs: ::prost::alloc::vec::Vec, - /// If set, data will not be imported for online serving. This - /// is typically used for backfilling, where Feature generation timestamps are - /// not in the timestamp range needed for online serving. + /// If set, data will not be imported for online serving. This + /// is typically used for backfilling, where Feature generation timestamps are + /// not in the timestamp range needed for online serving. #[prost(bool, tag="9")] pub disable_online_serving: bool, - /// Specifies the number of workers that are used to write data to the - /// Featurestore. Consider the online serving capacity that you require to - /// achieve the desired import throughput without interfering with online - /// serving. The value must be positive, and less than or equal to 100. - /// If not set, defaults to using 1 worker. The low count ensures minimal - /// impact on online serving performance. + /// Specifies the number of workers that are used to write data to the + /// Featurestore. Consider the online serving capacity that you require to + /// achieve the desired import throughput without interfering with online + /// serving. The value must be positive, and less than or equal to 100. + /// If not set, defaults to using 1 worker. The low count ensures minimal + /// impact on online serving performance. #[prost(int32, tag="11")] pub worker_count: i32, - /// If true, API doesn't start ingestion analysis pipeline. + /// If true, API doesn't start ingestion analysis pipeline. #[prost(bool, tag="12")] pub disable_ingestion_analysis: bool, - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[prost(oneof="import_feature_values_request::Source", tags="2, 3, 4")] pub source: ::core::option::Option, - /// Source of Feature timestamp for all Feature values of each entity. - /// Timestamps must be millisecond-aligned. + /// Source of Feature timestamp for all Feature values of each entity. + /// Timestamps must be millisecond-aligned. #[prost(oneof="import_feature_values_request::FeatureTimeSource", tags="6, 7")] pub feature_time_source: ::core::option::Option, } /// Nested message and enum types in `ImportFeatureValuesRequest`. pub mod import_feature_values_request { - /// Defines the Feature value(s) to import. + /// Defines the Feature value(s) to import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureSpec { - /// Required. ID of the Feature to import values of. This Feature must exist in the - /// target EntityType, or the request will fail. + /// Required. ID of the Feature to import values of. This Feature must exist in the + /// target EntityType, or the request will fail. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Source column to get the Feature values from. If not set, uses the column - /// with the same name as the Feature ID. + /// Source column to get the Feature values from. If not set, uses the column + /// with the same name as the Feature ID. #[prost(string, tag="2")] pub source_field: ::prost::alloc::string::String, } - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { #[prost(message, tag="2")] @@ -6735,62 +6735,62 @@ pub mod import_feature_values_request { #[prost(message, tag="4")] CsvSource(super::CsvSource), } - /// Source of Feature timestamp for all Feature values of each entity. - /// Timestamps must be millisecond-aligned. + /// Source of Feature timestamp for all Feature values of each entity. + /// Timestamps must be millisecond-aligned. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FeatureTimeSource { - /// Source column that holds the Feature timestamp for all Feature - /// values in each entity. + /// Source column that holds the Feature timestamp for all Feature + /// values in each entity. #[prost(string, tag="6")] FeatureTimeField(::prost::alloc::string::String), - /// Single Feature timestamp for all entities being imported. The - /// timestamp must not have higher than millisecond precision. + /// Single Feature timestamp for all entities being imported. The + /// timestamp must not have higher than millisecond precision. #[prost(message, tag="7")] FeatureTime(::prost_types::Timestamp), } } -/// Response message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues\]. +/// Response message for \[FeaturestoreService.ImportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ImportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesResponse { - /// Number of entities that have been imported by the operation. + /// Number of entities that have been imported by the operation. #[prost(int64, tag="1")] pub imported_entity_count: i64, - /// Number of Feature values that have been imported by the operation. + /// Number of Feature values that have been imported by the operation. #[prost(int64, tag="2")] pub imported_feature_value_count: i64, - /// The number of rows in input source that weren't imported due to either - /// * Not having any featureValues. - /// * Having a null entityId. - /// * Having a null timestamp. - /// * Not being parsable (applicable for CSV sources). + /// The number of rows in input source that weren't imported due to either + /// * Not having any featureValues. + /// * Having a null entityId. + /// * Having a null timestamp. + /// * Not being parsable (applicable for CSV sources). #[prost(int64, tag="6")] pub invalid_row_count: i64, } -/// Request message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues\]. +/// Request message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesRequest { - /// Required. The resource name of the Featurestore from which to query Feature values. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore from which to query Feature values. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub featurestore: ::prost::alloc::string::String, - /// Required. Specifies output location and format. + /// Required. Specifies output location and format. #[prost(message, optional, tag="4")] pub destination: ::core::option::Option, - /// When not empty, the specified fields in the *_read_instances source will be - /// joined as-is in the output, in addition to those fields from the - /// Featurestore Entity. + /// When not empty, the specified fields in the *_read_instances source will be + /// joined as-is in the output, in addition to those fields from the + /// Featurestore Entity. /// - /// For BigQuery source, the type of the pass-through values will be - /// automatically inferred. For CSV source, the pass-through values will be - /// passed as opaque bytes. + /// For BigQuery source, the type of the pass-through values will be + /// automatically inferred. For CSV source, the pass-through values will be + /// passed as opaque bytes. #[prost(message, repeated, tag="8")] pub pass_through_fields: ::prost::alloc::vec::Vec, - /// Required. Specifies EntityType grouping Features to read values of and settings. - /// Each EntityType referenced in - /// \[BatchReadFeatureValuesRequest.entity_type_specs\] must have a column - /// specifying entity IDs in the EntityType in - /// \[BatchReadFeatureValuesRequest.request][\] . + /// Required. Specifies EntityType grouping Features to read values of and settings. + /// Each EntityType referenced in + /// \[BatchReadFeatureValuesRequest.entity_type_specs\] must have a column + /// specifying entity IDs in the EntityType in + /// \[BatchReadFeatureValuesRequest.request][\] . #[prost(message, repeated, tag="7")] pub entity_type_specs: ::prost::alloc::vec::Vec, #[prost(oneof="batch_read_feature_values_request::ReadOption", tags="3, 5")] @@ -6798,140 +6798,140 @@ pub struct BatchReadFeatureValuesRequest { } /// Nested message and enum types in `BatchReadFeatureValuesRequest`. pub mod batch_read_feature_values_request { - /// Describe pass-through fields in read_instance source. + /// Describe pass-through fields in read_instance source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PassThroughField { - /// Required. The name of the field in the CSV header or the name of the column in - /// BigQuery table. The naming restriction is the same as \[Feature.name][google.cloud.aiplatform.v1beta1.Feature.name\]. + /// Required. The name of the field in the CSV header or the name of the column in + /// BigQuery table. The naming restriction is the same as \[Feature.name][google.cloud.aiplatform.v1beta1.Feature.name\]. #[prost(string, tag="1")] pub field_name: ::prost::alloc::string::String, } - /// Selects Features of an EntityType to read values of and specifies read - /// settings. + /// Selects Features of an EntityType to read values of and specifies read + /// settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityTypeSpec { - /// Required. ID of the EntityType to select Features. The EntityType id is the - /// \[entity_type_id][google.cloud.aiplatform.v1beta1.CreateEntityTypeRequest.entity_type_id\] specified - /// during EntityType creation. + /// Required. ID of the EntityType to select Features. The EntityType id is the + /// \[entity_type_id][google.cloud.aiplatform.v1beta1.CreateEntityTypeRequest.entity_type_id\] specified + /// during EntityType creation. #[prost(string, tag="1")] pub entity_type_id: ::prost::alloc::string::String, - /// Required. Selectors choosing which Feature values to read from the EntityType. + /// Required. Selectors choosing which Feature values to read from the EntityType. #[prost(message, optional, tag="2")] pub feature_selector: ::core::option::Option, - /// Per-Feature settings for the batch read. + /// Per-Feature settings for the batch read. #[prost(message, repeated, tag="3")] pub settings: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ReadOption { - /// Each read instance consists of exactly one read timestamp and one or more - /// entity IDs identifying entities of the corresponding EntityTypes whose - /// Features are requested. + /// Each read instance consists of exactly one read timestamp and one or more + /// entity IDs identifying entities of the corresponding EntityTypes whose + /// Features are requested. /// - /// Each output instance contains Feature values of requested entities - /// concatenated together as of the read time. + /// Each output instance contains Feature values of requested entities + /// concatenated together as of the read time. /// - /// An example read instance may be `foo_entity_id, bar_entity_id, - /// 2020-01-01T10:00:00.123Z`. + /// An example read instance may be `foo_entity_id, bar_entity_id, + /// 2020-01-01T10:00:00.123Z`. /// - /// An example output instance may be `foo_entity_id, bar_entity_id, - /// 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, - /// bar_entity_feature2_value`. + /// An example output instance may be `foo_entity_id, bar_entity_id, + /// 2020-01-01T10:00:00.123Z, foo_entity_feature1_value, + /// bar_entity_feature2_value`. /// - /// Timestamp in each read instance must be millisecond-aligned. + /// Timestamp in each read instance must be millisecond-aligned. /// - /// `csv_read_instances` are read instances stored in a plain-text CSV file. - /// The header should be: + /// `csv_read_instances` are read instances stored in a plain-text CSV file. + /// The header should be: /// \[ENTITY_TYPE_ID1\], \[ENTITY_TYPE_ID2\], ..., timestamp /// - /// The columns can be in any order. + /// The columns can be in any order. /// - /// Values in the timestamp column must use the RFC 3339 format, e.g. - /// `2012-07-30T10:43:17.123Z`. + /// Values in the timestamp column must use the RFC 3339 format, e.g. + /// `2012-07-30T10:43:17.123Z`. #[prost(message, tag="3")] CsvReadInstances(super::CsvSource), - /// Similar to csv_read_instances, but from BigQuery source. + /// Similar to csv_read_instances, but from BigQuery source. #[prost(message, tag="5")] BigqueryReadInstances(super::BigQuerySource), } } -/// Request message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues\]. +/// Request message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesRequest { - /// Required. The resource name of the EntityType from which to export Feature values. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType from which to export Feature values. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Required. Specifies destination location and format. + /// Required. Specifies destination location and format. #[prost(message, optional, tag="4")] pub destination: ::core::option::Option, - /// Required. Selects Features to export values of. + /// Required. Selects Features to export values of. #[prost(message, optional, tag="5")] pub feature_selector: ::core::option::Option, - /// Per-Feature export settings. + /// Per-Feature export settings. #[prost(message, repeated, tag="6")] pub settings: ::prost::alloc::vec::Vec, - /// Required. The mode in which Feature values are exported. + /// Required. The mode in which Feature values are exported. #[prost(oneof="export_feature_values_request::Mode", tags="3, 7")] pub mode: ::core::option::Option, } /// Nested message and enum types in `ExportFeatureValuesRequest`. pub mod export_feature_values_request { - /// Describes exporting the latest Feature values of all entities of the - /// EntityType between [start_time, snapshot_time]. + /// Describes exporting the latest Feature values of all entities of the + /// EntityType between [start_time, snapshot_time]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotExport { - /// Exports Feature values as of this timestamp. If not set, - /// retrieve values as of now. Timestamp, if present, must not have higher - /// than millisecond precision. + /// Exports Feature values as of this timestamp. If not set, + /// retrieve values as of now. Timestamp, if present, must not have higher + /// than millisecond precision. #[prost(message, optional, tag="1")] pub snapshot_time: ::core::option::Option<::prost_types::Timestamp>, - /// Excludes Feature values with feature generation timestamp before this - /// timestamp. If not set, retrieve oldest values kept in Feature Store. - /// Timestamp, if present, must not have higher than millisecond precision. + /// Excludes Feature values with feature generation timestamp before this + /// timestamp. If not set, retrieve oldest values kept in Feature Store. + /// Timestamp, if present, must not have higher than millisecond precision. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Describes exporting all historical Feature values of all entities of the - /// EntityType between [start_time, end_time]. + /// Describes exporting all historical Feature values of all entities of the + /// EntityType between [start_time, end_time]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FullExport { - /// Excludes Feature values with feature generation timestamp before this - /// timestamp. If not set, retrieve oldest values kept in Feature Store. - /// Timestamp, if present, must not have higher than millisecond precision. + /// Excludes Feature values with feature generation timestamp before this + /// timestamp. If not set, retrieve oldest values kept in Feature Store. + /// Timestamp, if present, must not have higher than millisecond precision. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Exports Feature values as of this timestamp. If not set, - /// retrieve values as of now. Timestamp, if present, must not have higher - /// than millisecond precision. + /// Exports Feature values as of this timestamp. If not set, + /// retrieve values as of now. Timestamp, if present, must not have higher + /// than millisecond precision. #[prost(message, optional, tag="1")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Required. The mode in which Feature values are exported. + /// Required. The mode in which Feature values are exported. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Mode { - /// Exports the latest Feature values of all entities of the EntityType - /// within a time range. + /// Exports the latest Feature values of all entities of the EntityType + /// within a time range. #[prost(message, tag="3")] SnapshotExport(SnapshotExport), - /// Exports all historical values of all entities of the EntityType within a - /// time range + /// Exports all historical values of all entities of the EntityType within a + /// time range #[prost(message, tag="7")] FullExport(FullExport), } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationFeatureSetting { - /// Required. The ID of the Feature to apply the setting to. + /// Required. The ID of the Feature to apply the setting to. #[prost(string, tag="1")] pub feature_id: ::prost::alloc::string::String, - /// Specify the field name in the export destination. If not specified, - /// Feature ID is used. + /// Specify the field name in the export destination. If not specified, + /// Feature ID is used. #[prost(string, tag="2")] pub destination_field: ::prost::alloc::string::String, } -/// A destination location for Feature values and format. +/// A destination location for Feature values and format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValueDestination { #[prost(oneof="feature_value_destination::Destination", tags="1, 2, 3")] @@ -6941,15 +6941,15 @@ pub struct FeatureValueDestination { pub mod feature_value_destination { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Output in BigQuery format. - /// \[BigQueryDestination.output_uri][google.cloud.aiplatform.v1beta1.BigQueryDestination.output_uri\] in - /// \[FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1beta1.FeatureValueDestination.bigquery_destination\] must refer to a table. + /// Output in BigQuery format. + /// \[BigQueryDestination.output_uri][google.cloud.aiplatform.v1beta1.BigQueryDestination.output_uri\] in + /// \[FeatureValueDestination.bigquery_destination][google.cloud.aiplatform.v1beta1.FeatureValueDestination.bigquery_destination\] must refer to a table. #[prost(message, tag="1")] BigqueryDestination(super::BigQueryDestination), - /// Output in TFRecord format. + /// Output in TFRecord format. /// - /// Below are the mapping from Feature value type - /// in Featurestore to Feature value type in TFRecord: + /// Below are the mapping from Feature value type + /// in Featurestore to Feature value type in TFRecord: /// /// Value type in Featurestore | Value type in TFRecord /// DOUBLE, DOUBLE_ARRAY | FLOAT_LIST @@ -6959,137 +6959,137 @@ pub mod feature_value_destination { /// BOOL, BOOL_ARRAY (true, false) | BYTES_LIST #[prost(message, tag="2")] TfrecordDestination(super::TfRecordDestination), - /// Output in CSV format. Array Feature value types are not allowed in CSV - /// format. + /// Output in CSV format. Array Feature value types are not allowed in CSV + /// format. #[prost(message, tag="3")] CsvDestination(super::CsvDestination), } } -/// Response message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues\]. +/// Response message for \[FeaturestoreService.ExportFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.ExportFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesResponse { } -/// Response message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues\]. +/// Response message for \[FeaturestoreService.BatchReadFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchReadFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesResponse { } -/// Request message for \[FeaturestoreService.CreateEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateEntityType\]. +/// Request message for \[FeaturestoreService.CreateEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityTypeRequest { - /// Required. The resource name of the Featurestore to create EntityTypes. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore to create EntityTypes. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The EntityType to create. + /// The EntityType to create. #[prost(message, optional, tag="2")] pub entity_type: ::core::option::Option, - /// Required. The ID to use for the EntityType, which will become the final component of - /// the EntityType's resource name. + /// Required. The ID to use for the EntityType, which will become the final component of + /// the EntityType's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within a featurestore. + /// The value must be unique within a featurestore. #[prost(string, tag="3")] pub entity_type_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.GetEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetEntityType\]. +/// Request message for \[FeaturestoreService.GetEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntityTypeRequest { - /// Required. The name of the EntityType resource. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the EntityType resource. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\]. +/// Request message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesRequest { - /// Required. The resource name of the Featurestore to list EntityTypes. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}` + /// Required. The resource name of the Featurestore to list EntityTypes. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the EntityTypes that match the filter expression. The following - /// filters are supported: + /// Lists the EntityTypes that match the filter expression. The following + /// filters are supported: /// - /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. - /// Values must be in RFC 3339 format. - /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. - /// Values must be in RFC 3339 format. - /// * `labels`: Supports key-value equality as well as key presence. + /// * `create_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. + /// Values must be in RFC 3339 format. + /// * `update_time`: Supports `=`, `!=`, `<`, `>`, `>=`, and `<=` comparisons. + /// Values must be in RFC 3339 format. + /// * `labels`: Supports key-value equality as well as key presence. /// - /// Examples: + /// Examples: /// - /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR + /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR /// update_time > \"2020-01-31T15:30:00.000000Z\"` --> EntityTypes created /// or updated after 2020-01-31T15:30:00.000000Z. - /// * `labels.active = yes AND labels.env = prod` --> EntityTypes having both + /// * `labels.active = yes AND labels.env = prod` --> EntityTypes having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any EntityType which has a label with 'env' as the + /// * `labels.env: *` --> Any EntityType which has a label with 'env' as the /// key. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of EntityTypes to return. The service may return fewer - /// than this value. If unspecified, at most 1000 EntityTypes will be returned. - /// The maximum value is 1000; any value greater than 1000 will be coerced to - /// 1000. + /// The maximum number of EntityTypes to return. The service may return fewer + /// than this value. If unspecified, at most 1000 EntityTypes will be returned. + /// The maximum value is 1000; any value greater than 1000 will be coerced to + /// 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. /// - /// Supported fields: + /// Supported fields: /// /// * `entity_type_id` /// * `create_time` /// * `update_time` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\]. +/// Response message for \[FeaturestoreService.ListEntityTypes][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesResponse { - /// The EntityTypes matching the request. + /// The EntityTypes matching the request. #[prost(message, repeated, tag="1")] pub entity_types: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListEntityTypesRequest.page_token][google.cloud.aiplatform.v1beta1.ListEntityTypesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListEntityTypesRequest.page_token][google.cloud.aiplatform.v1beta1.ListEntityTypesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateEntityType\]. +/// Request message for \[FeaturestoreService.UpdateEntityType][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntityTypeRequest { - /// Required. The EntityType's `name` field is used to identify the EntityType to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The EntityType's `name` field is used to identify the EntityType to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(message, optional, tag="1")] pub entity_type: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// EntityType resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// EntityType resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `description` /// * `labels` @@ -7103,119 +7103,119 @@ pub struct UpdateEntityTypeRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteEntityTypes][\]. +/// Request message for \[FeaturestoreService.DeleteEntityTypes][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntityTypeRequest { - /// Required. The name of the EntityType to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the EntityType to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any Features for this EntityType will also be deleted. - /// (Otherwise, the request will only work if the EntityType has no Features.) + /// If set to true, any Features for this EntityType will also be deleted. + /// (Otherwise, the request will only work if the EntityType has no Features.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for \[FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature\]. +/// Request message for \[FeaturestoreService.CreateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.CreateFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeatureRequest { - /// Required. The resource name of the EntityType to create a Feature. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType to create a Feature. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Feature to create. + /// Required. The Feature to create. #[prost(message, optional, tag="2")] pub feature: ::core::option::Option, - /// Required. The ID to use for the Feature, which will become the final component of - /// the Feature's resource name. + /// Required. The ID to use for the Feature, which will become the final component of + /// the Feature's resource name. /// - /// This value may be up to 60 characters, and valid characters are - /// `\[a-z0-9_\]`. The first character cannot be a number. + /// This value may be up to 60 characters, and valid characters are + /// `\[a-z0-9_\]`. The first character cannot be a number. /// - /// The value must be unique within an EntityType. + /// The value must be unique within an EntityType. #[prost(string, tag="3")] pub feature_id: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures\]. +/// Request message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesRequest { - /// Required. The resource name of the EntityType to create the batch of Features under. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the EntityType to create the batch of Features under. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request message specifying the Features to create. All Features must be - /// created under the same parent EntityType. The `parent` field in each child - /// request message can be omitted. If `parent` is set in a child request, then - /// the value must match the `parent` value in this request message. + /// Required. The request message specifying the Features to create. All Features must be + /// created under the same parent EntityType. The `parent` field in each child + /// request message can be omitted. If `parent` is set in a child request, then + /// the value must match the `parent` value in this request message. #[prost(message, repeated, tag="2")] pub requests: ::prost::alloc::vec::Vec, } -/// Response message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures\]. +/// Response message for \[FeaturestoreService.BatchCreateFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.BatchCreateFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesResponse { - /// The Features created. + /// The Features created. #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, } -/// Request message for \[FeaturestoreService.GetFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature\]. +/// Request message for \[FeaturestoreService.GetFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.GetFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeatureRequest { - /// Required. The name of the Feature resource. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The name of the Feature resource. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\]. +/// Request message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturesRequest { - /// Required. The resource name of the Location to list Features. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` + /// Required. The resource name of the Location to list Features. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Lists the Features that match the filter expression. The following - /// filters are supported: + /// Lists the Features that match the filter expression. The following + /// filters are supported: /// - /// * `value_type`: Supports = and != comparisons. - /// * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must - /// be in RFC 3339 format. - /// * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must - /// be in RFC 3339 format. - /// * `labels`: Supports key-value equality as well as key presence. + /// * `value_type`: Supports = and != comparisons. + /// * `create_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must + /// be in RFC 3339 format. + /// * `update_time`: Supports =, !=, <, >, >=, and <= comparisons. Values must + /// be in RFC 3339 format. + /// * `labels`: Supports key-value equality as well as key presence. /// - /// Examples: + /// Examples: /// - /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. - /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR + /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. + /// * `create_time > \"2020-01-31T15:30:00.000000Z\" OR /// update_time > \"2020-01-31T15:30:00.000000Z\"` --> EntityTypes created /// or updated after 2020-01-31T15:30:00.000000Z. - /// * `labels.active = yes AND labels.env = prod` --> Features having both + /// * `labels.active = yes AND labels.env = prod` --> Features having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any Feature which has a label with 'env' as the + /// * `labels.env: *` --> Any Feature which has a label with 'env' as the /// key. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of Features to return. The service may return fewer - /// than this value. If unspecified, at most 1000 Features will be returned. - /// The maximum value is 1000; any value greater than 1000 will be coerced to - /// 1000. + /// The maximum number of Features to return. The service may return fewer + /// than this value. If unspecified, at most 1000 Features will be returned. + /// The maximum value is 1000; any value greater than 1000 will be coerced to + /// 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\] must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\] must + /// match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// A comma-separated list of fields to order by, sorted in ascending order. - /// Use "desc" after a field name for descending. - /// Supported fields: + /// A comma-separated list of fields to order by, sorted in ascending order. + /// Use "desc" after a field name for descending. + /// Supported fields: /// /// * `feature_id` /// * `value_type` @@ -7223,44 +7223,44 @@ pub struct ListFeaturesRequest { /// * `update_time` #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="6")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set, return the most recent \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count\] - /// of stats for each Feature in response. Valid value is [0, 10]. If number of - /// stats exists < \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count\], return all - /// existing stats. + /// If set, return the most recent \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count\] + /// of stats for each Feature in response. Valid value is [0, 10]. If number of + /// stats exists < \[ListFeaturesRequest.latest_stats_count][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.latest_stats_count\], return all + /// existing stats. #[prost(int32, tag="7")] pub latest_stats_count: i32, } -/// Response message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\]. +/// Response message for \[FeaturestoreService.ListFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.ListFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeaturesResponse { - /// The Features matching the request. + /// The Features matching the request. #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListFeaturesRequest.page_token][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[ListFeaturesRequest.page_token][google.cloud.aiplatform.v1beta1.ListFeaturesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\]. +/// Request message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchFeaturesRequest { - /// Required. The resource name of the Location to search Features. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to search Features. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// Query string that is a conjunction of field-restricted queries and/or - /// field-restricted filters. Field-restricted queries and filters can be - /// combined using `AND` to form a conjunction. + /// Query string that is a conjunction of field-restricted queries and/or + /// field-restricted filters. Field-restricted queries and filters can be + /// combined using `AND` to form a conjunction. /// - /// A field query is in the form FIELD:QUERY. This implicitly checks if QUERY - /// exists as a substring within Feature's FIELD. The QUERY - /// and the FIELD are converted to a sequence of words (i.e. tokens) for - /// comparison. This is done by: + /// A field query is in the form FIELD:QUERY. This implicitly checks if QUERY + /// exists as a substring within Feature's FIELD. The QUERY + /// and the FIELD are converted to a sequence of words (i.e. tokens) for + /// comparison. This is done by: /// /// * Removing leading/trailing whitespace and tokenizing the search value. /// Characters that are not one of alphanumeric `\[a-zA-Z0-9\]`, underscore @@ -7270,72 +7270,72 @@ pub struct SearchFeaturesRequest { /// * Prepending an asterisk to the first and appending an asterisk to the /// last token in QUERY. /// - /// A QUERY must be either a singular token or a phrase. A phrase is one or - /// multiple words enclosed in double quotation marks ("). With phrases, the - /// order of the words is important. Words in the phrase must be matching in - /// order and consecutively. - /// - /// Supported FIELDs for field-restricted queries: - /// - /// * `feature_id` - /// * `description` - /// * `entity_type_id` - /// - /// Examples: - /// - /// * `feature_id: foo` --> Matches a Feature with ID containing the substring - /// `foo` (eg. `foo`, `foofeature`, `barfoo`). - /// * `feature_id: foo*feature` --> Matches a Feature with ID containing the - /// substring `foo*feature` (eg. `foobarfeature`). - /// * `feature_id: foo AND description: bar` --> Matches a Feature with ID - /// containing the substring `foo` and description containing the substring - /// `bar`. - /// - /// - /// Besides field queries, the following exact-match filters are - /// supported. The exact-match filters do not support wildcards. Unlike - /// field-restricted queries, exact-match filters are case-sensitive. - /// - /// * `feature_id`: Supports = comparisons. - /// * `description`: Supports = comparisons. Multi-token filters should be - /// enclosed in quotes. - /// * `entity_type_id`: Supports = comparisons. - /// * `value_type`: Supports = and != comparisons. - /// * `labels`: Supports key-value equality as well as key presence. - /// * `featurestore_id`: Supports = comparisons. - /// - /// Examples: - /// * `description = "foo bar"` --> Any Feature with description exactly equal - /// to `foo bar` - /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. - /// * `labels.active = yes AND labels.env = prod` --> Features having both + /// A QUERY must be either a singular token or a phrase. A phrase is one or + /// multiple words enclosed in double quotation marks ("). With phrases, the + /// order of the words is important. Words in the phrase must be matching in + /// order and consecutively. + /// + /// Supported FIELDs for field-restricted queries: + /// + /// * `feature_id` + /// * `description` + /// * `entity_type_id` + /// + /// Examples: + /// + /// * `feature_id: foo` --> Matches a Feature with ID containing the substring + /// `foo` (eg. `foo`, `foofeature`, `barfoo`). + /// * `feature_id: foo*feature` --> Matches a Feature with ID containing the + /// substring `foo*feature` (eg. `foobarfeature`). + /// * `feature_id: foo AND description: bar` --> Matches a Feature with ID + /// containing the substring `foo` and description containing the substring + /// `bar`. + /// + /// + /// Besides field queries, the following exact-match filters are + /// supported. The exact-match filters do not support wildcards. Unlike + /// field-restricted queries, exact-match filters are case-sensitive. + /// + /// * `feature_id`: Supports = comparisons. + /// * `description`: Supports = comparisons. Multi-token filters should be + /// enclosed in quotes. + /// * `entity_type_id`: Supports = comparisons. + /// * `value_type`: Supports = and != comparisons. + /// * `labels`: Supports key-value equality as well as key presence. + /// * `featurestore_id`: Supports = comparisons. + /// + /// Examples: + /// * `description = "foo bar"` --> Any Feature with description exactly equal + /// to `foo bar` + /// * `value_type = DOUBLE` --> Features whose type is DOUBLE. + /// * `labels.active = yes AND labels.env = prod` --> Features having both /// (active: yes) and (env: prod) labels. - /// * `labels.env: *` --> Any Feature which has a label with `env` as the + /// * `labels.env: *` --> Any Feature which has a label with `env` as the /// key. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, - /// The maximum number of Features to return. The service may return fewer - /// than this value. If unspecified, at most 100 Features will be returned. - /// The maximum value is 100; any value greater than 100 will be coerced to - /// 100. + /// The maximum number of Features to return. The service may return fewer + /// than this value. If unspecified, at most 100 Features will be returned. + /// The maximum value is 100; any value greater than 100 will be coerced to + /// 100. #[prost(int32, tag="4")] pub page_size: i32, - /// A page token, received from a previous - /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\] call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous + /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\] call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\], except `page_size`, must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to + /// \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\], except `page_size`, must + /// match the call that provided the page token. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\]. +/// Response message for \[FeaturestoreService.SearchFeatures][google.cloud.aiplatform.v1beta1.FeaturestoreService.SearchFeatures\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchFeaturesResponse { - /// The Features matching the request. + /// The Features matching the request. /// - /// Fields returned: + /// Fields returned: /// /// * `name` /// * `description` @@ -7344,30 +7344,30 @@ pub struct SearchFeaturesResponse { /// * `update_time` #[prost(message, repeated, tag="1")] pub features: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1beta1.SearchFeaturesRequest.page_token\] to - /// retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as \[SearchFeaturesRequest.page_token][google.cloud.aiplatform.v1beta1.SearchFeaturesRequest.page_token\] to + /// retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature\]. +/// Request message for \[FeaturestoreService.UpdateFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.UpdateFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeatureRequest { - /// Required. The Feature's `name` field is used to identify the Feature to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// Required. The Feature's `name` field is used to identify the Feature to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` #[prost(message, optional, tag="1")] pub feature: ::core::option::Option, - /// Field mask is used to specify the fields to be overwritten in the - /// Features resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. + /// Field mask is used to specify the fields to be overwritten in the + /// Features resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. /// - /// Updatable fields: + /// Updatable fields: /// /// * `description` /// * `labels` @@ -7375,148 +7375,148 @@ pub struct UpdateFeatureRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature\]. +/// Request message for \[FeaturestoreService.DeleteFeature][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeature\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeatureRequest { - /// Required. The name of the Features to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` + /// Required. The name of the Features to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entity_type}/features/{feature}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Details of operations that perform create Featurestore. +/// Details of operations that perform create Featurestore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeaturestoreOperationMetadata { - /// Operation metadata for Featurestore. + /// Operation metadata for Featurestore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform update Featurestore. +/// Details of operations that perform update Featurestore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeaturestoreOperationMetadata { - /// Operation metadata for Featurestore. + /// Operation metadata for Featurestore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform import Feature values. +/// Details of operations that perform import Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore import Feature values. + /// Operation metadata for Featurestore import Feature values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Number of entities that have been imported by the operation. + /// Number of entities that have been imported by the operation. #[prost(int64, tag="2")] pub imported_entity_count: i64, - /// Number of Feature values that have been imported by the operation. + /// Number of Feature values that have been imported by the operation. #[prost(int64, tag="3")] pub imported_feature_value_count: i64, - /// The number of rows in input source that weren't imported due to either - /// * Not having any featureValues. - /// * Having a null entityId. - /// * Having a null timestamp. - /// * Not being parsable (applicable for CSV sources). + /// The number of rows in input source that weren't imported due to either + /// * Not having any featureValues. + /// * Having a null entityId. + /// * Having a null timestamp. + /// * Not being parsable (applicable for CSV sources). #[prost(int64, tag="6")] pub invalid_row_count: i64, } -/// Details of operations that exports Features values. +/// Details of operations that exports Features values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore export Feature values. + /// Operation metadata for Featurestore export Feature values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that batch reads Feature values. +/// Details of operations that batch reads Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchReadFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore batch read Features values. + /// Operation metadata for Featurestore batch read Features values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that delete Feature values. +/// Details of operations that delete Feature values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeatureValuesOperationMetadata { - /// Operation metadata for Featurestore delete Features values. + /// Operation metadata for Featurestore delete Features values. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform create EntityType. +/// Details of operations that perform create EntityType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityTypeOperationMetadata { - /// Operation metadata for EntityType. + /// Operation metadata for EntityType. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform create Feature. +/// Details of operations that perform create Feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeatureOperationMetadata { - /// Operation metadata for Feature. + /// Operation metadata for Feature. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Details of operations that perform batch create Features. +/// Details of operations that perform batch create Features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateFeaturesOperationMetadata { - /// Operation metadata for Feature. + /// Operation metadata for Feature. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for -/// \[FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues\]. +/// Request message for +/// \[FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeatureValuesRequest { - /// Required. The resource name of the EntityType grouping the Features for - /// which values are being deleted from. Format: - /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` + /// Required. The resource name of the EntityType grouping the Features for + /// which values are being deleted from. Format: + /// `projects/{project}/locations/{location}/featurestores/{featurestore}/entityTypes/{entityType}` #[prost(string, tag="1")] pub entity_type: ::prost::alloc::string::String, - /// Defines options to select feature values to be deleted. + /// Defines options to select feature values to be deleted. #[prost(oneof="delete_feature_values_request::DeleteOption", tags="2")] pub delete_option: ::core::option::Option, } /// Nested message and enum types in `DeleteFeatureValuesRequest`. pub mod delete_feature_values_request { - /// Message to select entity. - /// If an entity id is selected, all the feature values corresponding to the - /// entity id will be deleted, including the entityId. + /// Message to select entity. + /// If an entity id is selected, all the feature values corresponding to the + /// entity id will be deleted, including the entityId. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SelectEntity { - /// Required. Selectors choosing feature values of which entity id to be - /// deleted from the EntityType. + /// Required. Selectors choosing feature values of which entity id to be + /// deleted from the EntityType. #[prost(message, optional, tag="1")] pub entity_id_selector: ::core::option::Option, } - /// Defines options to select feature values to be deleted. + /// Defines options to select feature values to be deleted. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DeleteOption { - /// Select feature values to be deleted by specifying entities. + /// Select feature values to be deleted by specifying entities. #[prost(message, tag="2")] SelectEntity(SelectEntity), } } -/// Response message for -/// \[FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues\]. +/// Response message for +/// \[FeaturestoreService.DeleteFeatureValues][google.cloud.aiplatform.v1beta1.FeaturestoreService.DeleteFeatureValues\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeatureValuesResponse { } -/// Selector for entityId. Getting ids from the given source. +/// Selector for entityId. Getting ids from the given source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityIdSelector { - /// Source column that holds entity IDs. If not provided, entity IDs are - /// extracted from the column named `entity_id`. + /// Source column that holds entity IDs. If not provided, entity IDs are + /// extracted from the column named `entity_id`. #[prost(string, tag="5")] pub entity_id_field: ::prost::alloc::string::String, - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[prost(oneof="entity_id_selector::EntityIdsSource", tags="3")] pub entity_ids_source: ::core::option::Option, } /// Nested message and enum types in `EntityIdSelector`. pub mod entity_id_selector { - /// Details about the source data, including the location of the storage and - /// the format. + /// Details about the source data, including the location of the storage and + /// the format. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EntityIdsSource { - /// Source of Csv + /// Source of Csv #[prost(message, tag="3")] CsvSource(super::CsvSource), } @@ -8084,44 +8084,44 @@ pub mod featurestore_service_client { } } } -/// A message representing a Study. +/// A message representing a Study. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Study { - /// Output only. The name of a study. The study's globally unique identifier. - /// Format: `projects/{project}/locations/{location}/studies/{study}` + /// Output only. The name of a study. The study's globally unique identifier. + /// Format: `projects/{project}/locations/{location}/studies/{study}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Describes the Study, default value is empty string. + /// Required. Describes the Study, default value is empty string. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Configuration of the Study. + /// Required. Configuration of the Study. #[prost(message, optional, tag="3")] pub study_spec: ::core::option::Option, - /// Output only. The detailed state of a Study. + /// Output only. The detailed state of a Study. #[prost(enumeration="study::State", tag="4")] pub state: i32, - /// Output only. Time at which the study was created. + /// Output only. Time at which the study was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. A human readable reason why the Study is inactive. - /// This should be empty if a study is ACTIVE or COMPLETED. + /// Output only. A human readable reason why the Study is inactive. + /// This should be empty if a study is ACTIVE or COMPLETED. #[prost(string, tag="6")] pub inactive_reason: ::prost::alloc::string::String, } /// Nested message and enum types in `Study`. pub mod study { - /// Describes the Study state. + /// Describes the Study state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The study state is unspecified. + /// The study state is unspecified. Unspecified = 0, - /// The study is active. + /// The study is active. Active = 1, - /// The study is stopped due to an internal error. + /// The study is stopped due to an internal error. Inactive = 2, - /// The study is done when the service exhausts the parameter search space - /// or max_trial_count is reached. + /// The study is done when the service exhausts the parameter search space + /// or max_trial_count is reached. Completed = 3, } impl State { @@ -8139,106 +8139,106 @@ pub mod study { } } } -/// A message representing a Trial. A Trial contains a unique set of Parameters -/// that has been or will be evaluated, along with the objective metrics got by -/// running the Trial. +/// A message representing a Trial. A Trial contains a unique set of Parameters +/// that has been or will be evaluated, along with the objective metrics got by +/// running the Trial. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Trial { - /// Output only. Resource name of the Trial assigned by the service. + /// Output only. Resource name of the Trial assigned by the service. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The identifier of the Trial assigned by the service. + /// Output only. The identifier of the Trial assigned by the service. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. The detailed state of the Trial. + /// Output only. The detailed state of the Trial. #[prost(enumeration="trial::State", tag="3")] pub state: i32, - /// Output only. The parameters of the Trial. + /// Output only. The parameters of the Trial. #[prost(message, repeated, tag="4")] pub parameters: ::prost::alloc::vec::Vec, - /// Output only. The final measurement containing the objective value. + /// Output only. The final measurement containing the objective value. #[prost(message, optional, tag="5")] pub final_measurement: ::core::option::Option, - /// Output only. A list of measurements that are strictly lexicographically - /// ordered by their induced tuples (steps, elapsed_duration). - /// These are used for early stopping computations. + /// Output only. A list of measurements that are strictly lexicographically + /// ordered by their induced tuples (steps, elapsed_duration). + /// These are used for early stopping computations. #[prost(message, repeated, tag="6")] pub measurements: ::prost::alloc::vec::Vec, - /// Output only. Time when the Trial was started. + /// Output only. Time when the Trial was started. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. + /// Output only. Time when the Trial's status changed to `SUCCEEDED` or `INFEASIBLE`. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The identifier of the client that originally requested this Trial. - /// Each client is identified by a unique client_id. When a client - /// asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client - /// should evaluate the Trial, complete it, and report back to Vertex AI - /// Vizier. If suggestion is asked again by same client_id before the Trial is - /// completed, the same Trial will be returned. Multiple clients with - /// different client_ids can ask for suggestions simultaneously, each of them - /// will get their own Trial. + /// Output only. The identifier of the client that originally requested this Trial. + /// Each client is identified by a unique client_id. When a client + /// asks for a suggestion, Vertex AI Vizier will assign it a Trial. The client + /// should evaluate the Trial, complete it, and report back to Vertex AI + /// Vizier. If suggestion is asked again by same client_id before the Trial is + /// completed, the same Trial will be returned. Multiple clients with + /// different client_ids can ask for suggestions simultaneously, each of them + /// will get their own Trial. #[prost(string, tag="9")] pub client_id: ::prost::alloc::string::String, - /// Output only. A human readable string describing why the Trial is - /// infeasible. This is set only if Trial state is `INFEASIBLE`. + /// Output only. A human readable string describing why the Trial is + /// infeasible. This is set only if Trial state is `INFEASIBLE`. #[prost(string, tag="10")] pub infeasible_reason: ::prost::alloc::string::String, - /// Output only. The CustomJob name linked to the Trial. - /// It's set for a HyperparameterTuningJob's Trial. + /// Output only. The CustomJob name linked to the Trial. + /// It's set for a HyperparameterTuningJob's Trial. #[prost(string, tag="11")] pub custom_job: ::prost::alloc::string::String, - /// Output only. URIs for accessing [interactive - /// shells]() - /// (one URI for each training node). Only available if this trial is part of - /// a \[HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob\] and the job's - /// \[trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access\] field - /// is `true`. - /// - /// The keys are names of each node used for the trial; for example, - /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in - /// the second worker pool, and `workerpool1-1` for the second node in the - /// second worker pool. - /// - /// The values are the URIs for each node's interactive shell. + /// Output only. URIs for accessing [interactive + /// shells]() + /// (one URI for each training node). Only available if this trial is part of + /// a \[HyperparameterTuningJob][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob\] and the job's + /// \[trial_job_spec.enable_web_access][google.cloud.aiplatform.v1beta1.CustomJobSpec.enable_web_access\] field + /// is `true`. + /// + /// The keys are names of each node used for the trial; for example, + /// `workerpool0-0` for the primary node, `workerpool1-0` for the first node in + /// the second worker pool, and `workerpool1-1` for the second node in the + /// second worker pool. + /// + /// The values are the URIs for each node's interactive shell. #[prost(map="string, string", tag="12")] pub web_access_uris: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Trial`. pub mod trial { - /// A message representing a parameter to be tuned. + /// A message representing a parameter to be tuned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Output only. The ID of the parameter. The parameter should be defined in - /// [StudySpec's Parameters]\[google.cloud.aiplatform.v1beta1.StudySpec.parameters\]. + /// Output only. The ID of the parameter. The parameter should be defined in + /// [StudySpec's Parameters]\[google.cloud.aiplatform.v1beta1.StudySpec.parameters\]. #[prost(string, tag="1")] pub parameter_id: ::prost::alloc::string::String, - /// Output only. The value of the parameter. - /// `number_value` will be set if a parameter defined in StudySpec is - /// in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. - /// `string_value` will be set if a parameter defined in StudySpec is - /// in type 'CATEGORICAL'. + /// Output only. The value of the parameter. + /// `number_value` will be set if a parameter defined in StudySpec is + /// in type 'INTEGER', 'DOUBLE' or 'DISCRETE'. + /// `string_value` will be set if a parameter defined in StudySpec is + /// in type 'CATEGORICAL'. #[prost(message, optional, tag="2")] pub value: ::core::option::Option<::prost_types::Value>, } - /// Describes a Trial state. + /// Describes a Trial state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The Trial state is unspecified. + /// The Trial state is unspecified. Unspecified = 0, - /// Indicates that a specific Trial has been requested, but it has not yet - /// been suggested by the service. + /// Indicates that a specific Trial has been requested, but it has not yet + /// been suggested by the service. Requested = 1, - /// Indicates that the Trial has been suggested. + /// Indicates that the Trial has been suggested. Active = 2, - /// Indicates that the Trial should stop according to the service. + /// Indicates that the Trial should stop according to the service. Stopping = 3, - /// Indicates that the Trial is completed successfully. + /// Indicates that the Trial is completed successfully. Succeeded = 4, - /// Indicates that the Trial should not be attempted again. - /// The service will set a Trial to INFEASIBLE when it's done but missing - /// the final_measurement. + /// Indicates that the Trial should not be attempted again. + /// The service will set a Trial to INFEASIBLE when it's done but missing + /// the final_measurement. Infeasible = 5, } impl State { @@ -8258,24 +8258,24 @@ pub mod trial { } } } -/// Represents specification of a Study. +/// Represents specification of a Study. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StudySpec { - /// Required. Metric specs for the Study. + /// Required. Metric specs for the Study. #[prost(message, repeated, tag="1")] pub metrics: ::prost::alloc::vec::Vec, - /// Required. The set of parameters to tune. + /// Required. The set of parameters to tune. #[prost(message, repeated, tag="2")] pub parameters: ::prost::alloc::vec::Vec, - /// The search algorithm specified for the Study. + /// The search algorithm specified for the Study. #[prost(enumeration="study_spec::Algorithm", tag="3")] pub algorithm: i32, - /// The observation noise level of the study. - /// Currently only supported by the Vertex AI Vizier service. Not supported by - /// HyperparameterTuningJob or TrainingPipeline. + /// The observation noise level of the study. + /// Currently only supported by the Vertex AI Vizier service. Not supported by + /// HyperparameterTuningJob or TrainingPipeline. #[prost(enumeration="study_spec::ObservationNoise", tag="6")] pub observation_noise: i32, - /// Describe which measurement selection type will be used + /// Describe which measurement selection type will be used #[prost(enumeration="study_spec::MeasurementSelectionType", tag="7")] pub measurement_selection_type: i32, #[prost(oneof="study_spec::AutomatedStoppingSpec", tags="4, 5, 8, 9")] @@ -8283,28 +8283,28 @@ pub struct StudySpec { } /// Nested message and enum types in `StudySpec`. pub mod study_spec { - /// Represents a metric to optimize. + /// Represents a metric to optimize. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetricSpec { - /// Required. The ID of the metric. Must not contain whitespaces and must be unique - /// amongst all MetricSpecs. + /// Required. The ID of the metric. Must not contain whitespaces and must be unique + /// amongst all MetricSpecs. #[prost(string, tag="1")] pub metric_id: ::prost::alloc::string::String, - /// Required. The optimization goal of the metric. + /// Required. The optimization goal of the metric. #[prost(enumeration="metric_spec::GoalType", tag="2")] pub goal: i32, } /// Nested message and enum types in `MetricSpec`. pub mod metric_spec { - /// The available types of optimization goals. + /// The available types of optimization goals. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GoalType { - /// Goal Type will default to maximize. + /// Goal Type will default to maximize. Unspecified = 0, - /// Maximize the goal metric. + /// Maximize the goal metric. Maximize = 1, - /// Minimize the goal metric. + /// Minimize the goal metric. Minimize = 2, } impl GoalType { @@ -8321,22 +8321,22 @@ pub mod study_spec { } } } - /// Represents a single parameter to optimize. + /// Represents a single parameter to optimize. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParameterSpec { - /// Required. The ID of the parameter. Must not contain whitespaces and must be unique - /// amongst all ParameterSpecs. + /// Required. The ID of the parameter. Must not contain whitespaces and must be unique + /// amongst all ParameterSpecs. #[prost(string, tag="1")] pub parameter_id: ::prost::alloc::string::String, - /// How the parameter should be scaled. - /// Leave unset for `CATEGORICAL` parameters. + /// How the parameter should be scaled. + /// Leave unset for `CATEGORICAL` parameters. #[prost(enumeration="parameter_spec::ScaleType", tag="6")] pub scale_type: i32, - /// A conditional parameter node is active if the parameter's value matches - /// the conditional node's parent_value_condition. + /// A conditional parameter node is active if the parameter's value matches + /// the conditional node's parent_value_condition. /// - /// If two items in conditional_parameter_specs have the same name, they - /// must have disjoint parent_value_condition. + /// If two items in conditional_parameter_specs have the same name, they + /// must have disjoint parent_value_condition. #[prost(message, repeated, tag="10")] pub conditional_parameter_specs: ::prost::alloc::vec::Vec, #[prost(oneof="parameter_spec::ParameterValueSpec", tags="2, 3, 4, 5")] @@ -8344,149 +8344,149 @@ pub mod study_spec { } /// Nested message and enum types in `ParameterSpec`. pub mod parameter_spec { - /// Value specification for a parameter in `DOUBLE` type. + /// Value specification for a parameter in `DOUBLE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DoubleValueSpec { - /// Required. Inclusive minimum value of the parameter. + /// Required. Inclusive minimum value of the parameter. #[prost(double, tag="1")] pub min_value: f64, - /// Required. Inclusive maximum value of the parameter. + /// Required. Inclusive maximum value of the parameter. #[prost(double, tag="2")] pub max_value: f64, - /// A default value for a `DOUBLE` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for a `DOUBLE` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(double, optional, tag="4")] pub default_value: ::core::option::Option, } - /// Value specification for a parameter in `INTEGER` type. + /// Value specification for a parameter in `INTEGER` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegerValueSpec { - /// Required. Inclusive minimum value of the parameter. + /// Required. Inclusive minimum value of the parameter. #[prost(int64, tag="1")] pub min_value: i64, - /// Required. Inclusive maximum value of the parameter. + /// Required. Inclusive maximum value of the parameter. #[prost(int64, tag="2")] pub max_value: i64, - /// A default value for an `INTEGER` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for an `INTEGER` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(int64, optional, tag="4")] pub default_value: ::core::option::Option, } - /// Value specification for a parameter in `CATEGORICAL` type. + /// Value specification for a parameter in `CATEGORICAL` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalValueSpec { - /// Required. The list of possible categories. + /// Required. The list of possible categories. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A default value for a `CATEGORICAL` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. + /// A default value for a `CATEGORICAL` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(string, optional, tag="3")] pub default_value: ::core::option::Option<::prost::alloc::string::String>, } - /// Value specification for a parameter in `DISCRETE` type. + /// Value specification for a parameter in `DISCRETE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscreteValueSpec { - /// Required. A list of possible values. - /// The list should be in increasing order and at least 1e-10 apart. - /// For instance, this parameter might have possible settings of 1.5, 2.5, - /// and 4.0. This list should not contain more than 1,000 values. + /// Required. A list of possible values. + /// The list should be in increasing order and at least 1e-10 apart. + /// For instance, this parameter might have possible settings of 1.5, 2.5, + /// and 4.0. This list should not contain more than 1,000 values. #[prost(double, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, - /// A default value for a `DISCRETE` parameter that is assumed to be a - /// relatively good starting point. Unset value signals that there is no - /// offered starting point. It automatically rounds to the - /// nearest feasible discrete point. + /// A default value for a `DISCRETE` parameter that is assumed to be a + /// relatively good starting point. Unset value signals that there is no + /// offered starting point. It automatically rounds to the + /// nearest feasible discrete point. /// - /// Currently only supported by the Vertex AI Vizier service. Not supported - /// by HyperparameterTuningJob or TrainingPipeline. + /// Currently only supported by the Vertex AI Vizier service. Not supported + /// by HyperparameterTuningJob or TrainingPipeline. #[prost(double, optional, tag="3")] pub default_value: ::core::option::Option, } - /// Represents a parameter spec with condition from its parent parameter. + /// Represents a parameter spec with condition from its parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionalParameterSpec { - /// Required. The spec for a conditional parameter. + /// Required. The spec for a conditional parameter. #[prost(message, optional, tag="1")] pub parameter_spec: ::core::option::Option, - /// A set of parameter values from the parent ParameterSpec's feasible - /// space. + /// A set of parameter values from the parent ParameterSpec's feasible + /// space. #[prost(oneof="conditional_parameter_spec::ParentValueCondition", tags="2, 3, 4")] pub parent_value_condition: ::core::option::Option, } /// Nested message and enum types in `ConditionalParameterSpec`. pub mod conditional_parameter_spec { - /// Represents the spec to match discrete values from parent parameter. + /// Represents the spec to match discrete values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscreteValueCondition { - /// Required. Matches values of the parent parameter of 'DISCRETE' type. - /// All values must exist in `discrete_value_spec` of parent parameter. + /// Required. Matches values of the parent parameter of 'DISCRETE' type. + /// All values must exist in `discrete_value_spec` of parent parameter. /// - /// The Epsilon of the value matching is 1e-10. + /// The Epsilon of the value matching is 1e-10. #[prost(double, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, } - /// Represents the spec to match integer values from parent parameter. + /// Represents the spec to match integer values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntValueCondition { - /// Required. Matches values of the parent parameter of 'INTEGER' type. - /// All values must lie in `integer_value_spec` of parent parameter. + /// Required. Matches values of the parent parameter of 'INTEGER' type. + /// All values must lie in `integer_value_spec` of parent parameter. #[prost(int64, repeated, packed="false", tag="1")] pub values: ::prost::alloc::vec::Vec, } - /// Represents the spec to match categorical values from parent parameter. + /// Represents the spec to match categorical values from parent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalValueCondition { - /// Required. Matches values of the parent parameter of 'CATEGORICAL' type. - /// All values must exist in `categorical_value_spec` of parent - /// parameter. + /// Required. Matches values of the parent parameter of 'CATEGORICAL' type. + /// All values must exist in `categorical_value_spec` of parent + /// parameter. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A set of parameter values from the parent ParameterSpec's feasible - /// space. + /// A set of parameter values from the parent ParameterSpec's feasible + /// space. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ParentValueCondition { - /// The spec for matching values from a parent parameter of - /// `DISCRETE` type. + /// The spec for matching values from a parent parameter of + /// `DISCRETE` type. #[prost(message, tag="2")] ParentDiscreteValues(DiscreteValueCondition), - /// The spec for matching values from a parent parameter of `INTEGER` - /// type. + /// The spec for matching values from a parent parameter of `INTEGER` + /// type. #[prost(message, tag="3")] ParentIntValues(IntValueCondition), - /// The spec for matching values from a parent parameter of - /// `CATEGORICAL` type. + /// The spec for matching values from a parent parameter of + /// `CATEGORICAL` type. #[prost(message, tag="4")] ParentCategoricalValues(CategoricalValueCondition), } } - /// The type of scaling that should be applied to this parameter. + /// The type of scaling that should be applied to this parameter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScaleType { - /// By default, no scaling is applied. + /// By default, no scaling is applied. Unspecified = 0, - /// Scales the feasible space to (0, 1) linearly. + /// Scales the feasible space to (0, 1) linearly. UnitLinearScale = 1, - /// Scales the feasible space logarithmically to (0, 1). The entire - /// feasible space must be strictly positive. + /// Scales the feasible space logarithmically to (0, 1). The entire + /// feasible space must be strictly positive. UnitLogScale = 2, - /// Scales the feasible space "reverse" logarithmically to (0, 1). The - /// result is that values close to the top of the feasible space are spread - /// out more than points near the bottom. The entire feasible space must be - /// strictly positive. + /// Scales the feasible space "reverse" logarithmically to (0, 1). The + /// result is that values close to the top of the feasible space are spread + /// out more than points near the bottom. The entire feasible space must be + /// strictly positive. UnitReverseLogScale = 3, } impl ScaleType { @@ -8505,146 +8505,146 @@ pub mod study_spec { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ParameterValueSpec { - /// The value spec for a 'DOUBLE' parameter. + /// The value spec for a 'DOUBLE' parameter. #[prost(message, tag="2")] DoubleValueSpec(DoubleValueSpec), - /// The value spec for an 'INTEGER' parameter. + /// The value spec for an 'INTEGER' parameter. #[prost(message, tag="3")] IntegerValueSpec(IntegerValueSpec), - /// The value spec for a 'CATEGORICAL' parameter. + /// The value spec for a 'CATEGORICAL' parameter. #[prost(message, tag="4")] CategoricalValueSpec(CategoricalValueSpec), - /// The value spec for a 'DISCRETE' parameter. + /// The value spec for a 'DISCRETE' parameter. #[prost(message, tag="5")] DiscreteValueSpec(DiscreteValueSpec), } } - /// The decay curve automated stopping rule builds a Gaussian Process - /// Regressor to predict the final objective value of a Trial based on the - /// already completed Trials and the intermediate measurements of the current - /// Trial. Early stopping is requested for the current Trial if there is very - /// low probability to exceed the optimal value found so far. + /// The decay curve automated stopping rule builds a Gaussian Process + /// Regressor to predict the final objective value of a Trial based on the + /// already completed Trials and the intermediate measurements of the current + /// Trial. Early stopping is requested for the current Trial if there is very + /// low probability to exceed the optimal value found so far. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DecayCurveAutomatedStoppingSpec { - /// True if \[Measurement.elapsed_duration][google.cloud.aiplatform.v1beta1.Measurement.elapsed_duration\] is used as the x-axis of each - /// Trials Decay Curve. Otherwise, \[Measurement.step_count][google.cloud.aiplatform.v1beta1.Measurement.step_count\] will be used - /// as the x-axis. + /// True if \[Measurement.elapsed_duration][google.cloud.aiplatform.v1beta1.Measurement.elapsed_duration\] is used as the x-axis of each + /// Trials Decay Curve. Otherwise, \[Measurement.step_count][google.cloud.aiplatform.v1beta1.Measurement.step_count\] will be used + /// as the x-axis. #[prost(bool, tag="1")] pub use_elapsed_duration: bool, } - /// The median automated stopping rule stops a pending Trial if the Trial's - /// best objective_value is strictly below the median 'performance' of all - /// completed Trials reported up to the Trial's last measurement. - /// Currently, 'performance' refers to the running average of the objective - /// values reported by the Trial in each measurement. + /// The median automated stopping rule stops a pending Trial if the Trial's + /// best objective_value is strictly below the median 'performance' of all + /// completed Trials reported up to the Trial's last measurement. + /// Currently, 'performance' refers to the running average of the objective + /// values reported by the Trial in each measurement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MedianAutomatedStoppingSpec { - /// True if median automated stopping rule applies on - /// \[Measurement.elapsed_duration][google.cloud.aiplatform.v1beta1.Measurement.elapsed_duration\]. It means that elapsed_duration - /// field of latest measurement of current Trial is used to compute median - /// objective value for each completed Trials. + /// True if median automated stopping rule applies on + /// \[Measurement.elapsed_duration][google.cloud.aiplatform.v1beta1.Measurement.elapsed_duration\]. It means that elapsed_duration + /// field of latest measurement of current Trial is used to compute median + /// objective value for each completed Trials. #[prost(bool, tag="1")] pub use_elapsed_duration: bool, } - /// Configuration for ConvexAutomatedStoppingSpec. - /// When there are enough completed trials (configured by - /// min_measurement_count), for pending trials with enough measurements and - /// steps, the policy first computes an overestimate of the objective value at - /// max_num_steps according to the slope of the incomplete objective value - /// curve. No prediction can be made if the curve is completely flat. If the - /// overestimation is worse than the best objective value of the completed - /// trials, this pending trial will be early-stopped, but a last measurement - /// will be added to the pending trial with max_num_steps and predicted - /// objective value from the autoregression model. + /// Configuration for ConvexAutomatedStoppingSpec. + /// When there are enough completed trials (configured by + /// min_measurement_count), for pending trials with enough measurements and + /// steps, the policy first computes an overestimate of the objective value at + /// max_num_steps according to the slope of the incomplete objective value + /// curve. No prediction can be made if the curve is completely flat. If the + /// overestimation is worse than the best objective value of the completed + /// trials, this pending trial will be early-stopped, but a last measurement + /// will be added to the pending trial with max_num_steps and predicted + /// objective value from the autoregression model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConvexAutomatedStoppingSpec { - /// Steps used in predicting the final objective for early stopped trials. In - /// general, it's set to be the same as the defined steps in training / - /// tuning. If not defined, it will learn it from the completed trials. When - /// use_steps is false, this field is set to the maximum elapsed seconds. + /// Steps used in predicting the final objective for early stopped trials. In + /// general, it's set to be the same as the defined steps in training / + /// tuning. If not defined, it will learn it from the completed trials. When + /// use_steps is false, this field is set to the maximum elapsed seconds. #[prost(int64, tag="1")] pub max_step_count: i64, - /// Minimum number of steps for a trial to complete. Trials which do not have - /// a measurement with step_count > min_step_count won't be considered for - /// early stopping. It's ok to set it to 0, and a trial can be early stopped - /// at any stage. By default, min_step_count is set to be one-tenth of the - /// max_step_count. - /// When use_elapsed_duration is true, this field is set to the minimum - /// elapsed seconds. + /// Minimum number of steps for a trial to complete. Trials which do not have + /// a measurement with step_count > min_step_count won't be considered for + /// early stopping. It's ok to set it to 0, and a trial can be early stopped + /// at any stage. By default, min_step_count is set to be one-tenth of the + /// max_step_count. + /// When use_elapsed_duration is true, this field is set to the minimum + /// elapsed seconds. #[prost(int64, tag="2")] pub min_step_count: i64, - /// The minimal number of measurements in a Trial. Early-stopping checks - /// will not trigger if less than min_measurement_count+1 completed trials or - /// pending trials with less than min_measurement_count measurements. If not - /// defined, the default value is 5. + /// The minimal number of measurements in a Trial. Early-stopping checks + /// will not trigger if less than min_measurement_count+1 completed trials or + /// pending trials with less than min_measurement_count measurements. If not + /// defined, the default value is 5. #[prost(int64, tag="3")] pub min_measurement_count: i64, - /// The hyper-parameter name used in the tuning job that stands for learning - /// rate. Leave it blank if learning rate is not in a parameter in tuning. - /// The learning_rate is used to estimate the objective value of the ongoing - /// trial. + /// The hyper-parameter name used in the tuning job that stands for learning + /// rate. Leave it blank if learning rate is not in a parameter in tuning. + /// The learning_rate is used to estimate the objective value of the ongoing + /// trial. #[prost(string, tag="4")] pub learning_rate_parameter_name: ::prost::alloc::string::String, - /// This bool determines whether or not the rule is applied based on - /// elapsed_secs or steps. If use_elapsed_duration==false, the early stopping - /// decision is made according to the predicted objective values according to - /// the target steps. If use_elapsed_duration==true, elapsed_secs is used - /// instead of steps. Also, in this case, the parameters max_num_steps and - /// min_num_steps are overloaded to contain max_elapsed_seconds and - /// min_elapsed_seconds. + /// This bool determines whether or not the rule is applied based on + /// elapsed_secs or steps. If use_elapsed_duration==false, the early stopping + /// decision is made according to the predicted objective values according to + /// the target steps. If use_elapsed_duration==true, elapsed_secs is used + /// instead of steps. Also, in this case, the parameters max_num_steps and + /// min_num_steps are overloaded to contain max_elapsed_seconds and + /// min_elapsed_seconds. #[prost(bool, tag="5")] pub use_elapsed_duration: bool, } - /// Configuration for ConvexStopPolicy. + /// Configuration for ConvexStopPolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConvexStopConfig { - /// Steps used in predicting the final objective for early stopped trials. In - /// general, it's set to be the same as the defined steps in training / - /// tuning. When use_steps is false, this field is set to the maximum elapsed - /// seconds. + /// Steps used in predicting the final objective for early stopped trials. In + /// general, it's set to be the same as the defined steps in training / + /// tuning. When use_steps is false, this field is set to the maximum elapsed + /// seconds. #[prost(int64, tag="1")] pub max_num_steps: i64, - /// Minimum number of steps for a trial to complete. Trials which do not have - /// a measurement with num_steps > min_num_steps won't be considered for - /// early stopping. It's ok to set it to 0, and a trial can be early stopped - /// at any stage. By default, min_num_steps is set to be one-tenth of the - /// max_num_steps. - /// When use_steps is false, this field is set to the minimum elapsed - /// seconds. + /// Minimum number of steps for a trial to complete. Trials which do not have + /// a measurement with num_steps > min_num_steps won't be considered for + /// early stopping. It's ok to set it to 0, and a trial can be early stopped + /// at any stage. By default, min_num_steps is set to be one-tenth of the + /// max_num_steps. + /// When use_steps is false, this field is set to the minimum elapsed + /// seconds. #[prost(int64, tag="2")] pub min_num_steps: i64, - /// The number of Trial measurements used in autoregressive model for - /// value prediction. A trial won't be considered early stopping if has fewer - /// measurement points. + /// The number of Trial measurements used in autoregressive model for + /// value prediction. A trial won't be considered early stopping if has fewer + /// measurement points. #[prost(int64, tag="3")] pub autoregressive_order: i64, - /// The hyper-parameter name used in the tuning job that stands for learning - /// rate. Leave it blank if learning rate is not in a parameter in tuning. - /// The learning_rate is used to estimate the objective value of the ongoing - /// trial. + /// The hyper-parameter name used in the tuning job that stands for learning + /// rate. Leave it blank if learning rate is not in a parameter in tuning. + /// The learning_rate is used to estimate the objective value of the ongoing + /// trial. #[prost(string, tag="4")] pub learning_rate_parameter_name: ::prost::alloc::string::String, - /// This bool determines whether or not the rule is applied based on - /// elapsed_secs or steps. If use_seconds==false, the early stopping decision - /// is made according to the predicted objective values according to the - /// target steps. If use_seconds==true, elapsed_secs is used instead of - /// steps. Also, in this case, the parameters max_num_steps and min_num_steps - /// are overloaded to contain max_elapsed_seconds and min_elapsed_seconds. + /// This bool determines whether or not the rule is applied based on + /// elapsed_secs or steps. If use_seconds==false, the early stopping decision + /// is made according to the predicted objective values according to the + /// target steps. If use_seconds==true, elapsed_secs is used instead of + /// steps. Also, in this case, the parameters max_num_steps and min_num_steps + /// are overloaded to contain max_elapsed_seconds and min_elapsed_seconds. #[prost(bool, tag="5")] pub use_seconds: bool, } - /// The available search algorithms for the Study. + /// The available search algorithms for the Study. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Algorithm { - /// The default algorithm used by Vertex AI for [hyperparameter - /// tuning]() - /// and [Vertex AI Vizier](). + /// The default algorithm used by Vertex AI for [hyperparameter + /// tuning]() + /// and [Vertex AI Vizier](). Unspecified = 0, - /// Simple grid search within the feasible space. To use grid search, - /// all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. + /// Simple grid search within the feasible space. To use grid search, + /// all parameters must be `INTEGER`, `CATEGORICAL`, or `DISCRETE`. GridSearch = 2, - /// Simple random search within the feasible space. + /// Simple random search within the feasible space. RandomSearch = 3, } impl Algorithm { @@ -8660,21 +8660,21 @@ pub mod study_spec { } } } - /// Describes the noise level of the repeated observations. + /// Describes the noise level of the repeated observations. /// - /// "Noisy" means that the repeated observations with the same Trial parameters - /// may lead to different metric evaluations. + /// "Noisy" means that the repeated observations with the same Trial parameters + /// may lead to different metric evaluations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ObservationNoise { - /// The default noise level chosen by Vertex AI. + /// The default noise level chosen by Vertex AI. Unspecified = 0, - /// Vertex AI assumes that the objective function is (nearly) - /// perfectly reproducible, and will never repeat the same Trial - /// parameters. + /// Vertex AI assumes that the objective function is (nearly) + /// perfectly reproducible, and will never repeat the same Trial + /// parameters. Low = 1, - /// Vertex AI will estimate the amount of noise in metric - /// evaluations, it may repeat the same Trial parameters more than once. + /// Vertex AI will estimate the amount of noise in metric + /// evaluations, it may repeat the same Trial parameters more than once. High = 2, } impl ObservationNoise { @@ -8690,9 +8690,9 @@ pub mod study_spec { } } } - /// This indicates which measurement to use if/when the service automatically - /// selects the final measurement from previously reported intermediate - /// measurements. Choose this based on two considerations: + /// This indicates which measurement to use if/when the service automatically + /// selects the final measurement from previously reported intermediate + /// measurements. Choose this based on two considerations: /// A) Do you expect your measurements to monotonically improve? /// If so, choose LAST_MEASUREMENT. On the other hand, if you're in a /// situation where your system can "over-train" and you expect the @@ -8706,11 +8706,11 @@ pub mod study_spec { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MeasurementSelectionType { - /// Will be treated as LAST_MEASUREMENT. + /// Will be treated as LAST_MEASUREMENT. Unspecified = 0, - /// Use the last measurement reported. + /// Use the last measurement reported. LastMeasurement = 1, - /// Use the best measurement reported. + /// Use the best measurement reported. BestMeasurement = 2, } impl MeasurementSelectionType { @@ -8728,206 +8728,206 @@ pub mod study_spec { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AutomatedStoppingSpec { - /// The automated early stopping spec using decay curve rule. + /// The automated early stopping spec using decay curve rule. #[prost(message, tag="4")] DecayCurveStoppingSpec(DecayCurveAutomatedStoppingSpec), - /// The automated early stopping spec using median rule. + /// The automated early stopping spec using median rule. #[prost(message, tag="5")] MedianAutomatedStoppingSpec(MedianAutomatedStoppingSpec), - /// Deprecated. - /// The automated early stopping using convex stopping rule. + /// Deprecated. + /// The automated early stopping using convex stopping rule. #[prost(message, tag="8")] ConvexStopConfig(ConvexStopConfig), - /// The automated early stopping spec using convex stopping rule. + /// The automated early stopping spec using convex stopping rule. #[prost(message, tag="9")] ConvexAutomatedStoppingSpec(ConvexAutomatedStoppingSpec), } } -/// A message representing a Measurement of a Trial. A Measurement contains -/// the Metrics got by executing a Trial using suggested hyperparameter -/// values. +/// A message representing a Measurement of a Trial. A Measurement contains +/// the Metrics got by executing a Trial using suggested hyperparameter +/// values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Measurement { - /// Output only. Time that the Trial has been running at the point of this Measurement. + /// Output only. Time that the Trial has been running at the point of this Measurement. #[prost(message, optional, tag="1")] pub elapsed_duration: ::core::option::Option<::prost_types::Duration>, - /// Output only. The number of steps the machine learning model has been trained for. - /// Must be non-negative. + /// Output only. The number of steps the machine learning model has been trained for. + /// Must be non-negative. #[prost(int64, tag="2")] pub step_count: i64, - /// Output only. A list of metrics got by evaluating the objective functions using suggested - /// Parameter values. + /// Output only. A list of metrics got by evaluating the objective functions using suggested + /// Parameter values. #[prost(message, repeated, tag="3")] pub metrics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Measurement`. pub mod measurement { - /// A message representing a metric in the measurement. + /// A message representing a metric in the measurement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metric { - /// Output only. The ID of the Metric. The Metric should be defined in - /// [StudySpec's Metrics]\[google.cloud.aiplatform.v1beta1.StudySpec.metrics\]. + /// Output only. The ID of the Metric. The Metric should be defined in + /// [StudySpec's Metrics]\[google.cloud.aiplatform.v1beta1.StudySpec.metrics\]. #[prost(string, tag="1")] pub metric_id: ::prost::alloc::string::String, - /// Output only. The value for this metric. + /// Output only. The value for this metric. #[prost(double, tag="2")] pub value: f64, } } -/// Represents a HyperparameterTuningJob. A HyperparameterTuningJob -/// has a Study specification and multiple CustomJobs with identical -/// CustomJob specification. +/// Represents a HyperparameterTuningJob. A HyperparameterTuningJob +/// has a Study specification and multiple CustomJobs with identical +/// CustomJob specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HyperparameterTuningJob { - /// Output only. Resource name of the HyperparameterTuningJob. + /// Output only. Resource name of the HyperparameterTuningJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the HyperparameterTuningJob. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the HyperparameterTuningJob. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Study configuration of the HyperparameterTuningJob. + /// Required. Study configuration of the HyperparameterTuningJob. #[prost(message, optional, tag="4")] pub study_spec: ::core::option::Option, - /// Required. The desired total number of Trials. + /// Required. The desired total number of Trials. #[prost(int32, tag="5")] pub max_trial_count: i32, - /// Required. The desired number of Trials to run in parallel. + /// Required. The desired number of Trials to run in parallel. #[prost(int32, tag="6")] pub parallel_trial_count: i32, - /// The number of failed Trials that need to be seen before failing - /// the HyperparameterTuningJob. + /// The number of failed Trials that need to be seen before failing + /// the HyperparameterTuningJob. /// - /// If set to 0, Vertex AI decides how many Trials must fail - /// before the whole job fails. + /// If set to 0, Vertex AI decides how many Trials must fail + /// before the whole job fails. #[prost(int32, tag="7")] pub max_failed_trial_count: i32, - /// Required. The spec of a trial job. The same spec applies to the CustomJobs created - /// in all the trials. + /// Required. The spec of a trial job. The same spec applies to the CustomJobs created + /// in all the trials. #[prost(message, optional, tag="8")] pub trial_job_spec: ::core::option::Option, - /// Output only. Trials of the HyperparameterTuningJob. + /// Output only. Trials of the HyperparameterTuningJob. #[prost(message, repeated, tag="9")] pub trials: ::prost::alloc::vec::Vec, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="JobState", tag="10")] pub state: i32, - /// Output only. Time when the HyperparameterTuningJob was created. + /// Output only. Time when the HyperparameterTuningJob was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob for the first time entered the - /// `JOB_STATE_RUNNING` state. + /// Output only. Time when the HyperparameterTuningJob for the first time entered the + /// `JOB_STATE_RUNNING` state. #[prost(message, optional, tag="12")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob entered any of the following states: - /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. + /// Output only. Time when the HyperparameterTuningJob entered any of the following states: + /// `JOB_STATE_SUCCEEDED`, `JOB_STATE_FAILED`, `JOB_STATE_CANCELLED`. #[prost(message, optional, tag="13")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the HyperparameterTuningJob was most recently updated. + /// Output only. Time when the HyperparameterTuningJob was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Only populated when job's state is JOB_STATE_FAILED or - /// JOB_STATE_CANCELLED. + /// Output only. Only populated when job's state is JOB_STATE_FAILED or + /// JOB_STATE_CANCELLED. #[prost(message, optional, tag="15")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize HyperparameterTuningJobs. + /// The labels with user-defined metadata to organize HyperparameterTuningJobs. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="16")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key options for a HyperparameterTuningJob. - /// If this is set, then all resources created by the HyperparameterTuningJob - /// will be encrypted with the provided encryption key. + /// Customer-managed encryption key options for a HyperparameterTuningJob. + /// If this is set, then all resources created by the HyperparameterTuningJob + /// will be encrypted with the provided encryption key. #[prost(message, optional, tag="17")] pub encryption_spec: ::core::option::Option, } -/// A representation of a collection of database items organized in a way that -/// allows for approximate nearest neighbor (a.k.a ANN) algorithms search. +/// A representation of a collection of database items organized in a way that +/// allows for approximate nearest neighbor (a.k.a ANN) algorithms search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Index { - /// Output only. The resource name of the Index. + /// Output only. The resource name of the Index. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the Index. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// Required. The display name of the Index. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the Index. + /// The description of the Index. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional - /// information about the Index, that is specific to it. Unset if the Index - /// does not have any additional information. - /// The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Immutable. Points to a YAML file stored on Google Cloud Storage describing additional + /// information about the Index, that is specific to it. Unset if the Index + /// does not have any additional information. + /// The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="4")] pub metadata_schema_uri: ::prost::alloc::string::String, - /// An additional information about the Index; the schema of the metadata can - /// be found in \[metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri\]. + /// An additional information about the Index; the schema of the metadata can + /// be found in \[metadata_schema][google.cloud.aiplatform.v1beta1.Index.metadata_schema_uri\]. #[prost(message, optional, tag="6")] pub metadata: ::core::option::Option<::prost_types::Value>, - /// Output only. The pointers to DeployedIndexes created from this Index. - /// An Index can be only deleted if all its DeployedIndexes had been undeployed - /// first. + /// Output only. The pointers to DeployedIndexes created from this Index. + /// An Index can be only deleted if all its DeployedIndexes had been undeployed + /// first. #[prost(message, repeated, tag="7")] pub deployed_indexes: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your Indexes. + /// The labels with user-defined metadata to organize your Indexes. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this Index was created. + /// Output only. Timestamp when this Index was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this Index was most recently updated. - /// This also includes any update to the contents of the Index. - /// Note that Operations working on this Index may have their - /// \[Operations.metadata.generic_metadata.update_time\] - /// \[google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time\] a little after the value of this - /// timestamp, yet that does not mean their results are not already reflected - /// in the Index. Result of any successfully completed Operation on the Index - /// is reflected in it. + /// Output only. Timestamp when this Index was most recently updated. + /// This also includes any update to the contents of the Index. + /// Note that Operations working on this Index may have their + /// \[Operations.metadata.generic_metadata.update_time\] + /// \[google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time\] a little after the value of this + /// timestamp, yet that does not mean their results are not already reflected + /// in the Index. Result of any successfully completed Operation on the Index + /// is reflected in it. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Stats of the index resource. + /// Output only. Stats of the index resource. #[prost(message, optional, tag="14")] pub index_stats: ::core::option::Option, - /// Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be - /// used by default. + /// Immutable. The update method to use with this Index. If not set, BATCH_UPDATE will be + /// used by default. #[prost(enumeration="index::IndexUpdateMethod", tag="16")] pub index_update_method: i32, } /// Nested message and enum types in `Index`. pub mod index { - /// The update method of an Index. + /// The update method of an Index. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IndexUpdateMethod { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// BatchUpdate: user can call UpdateIndex with files on Cloud Storage of - /// datapoints to update. + /// BatchUpdate: user can call UpdateIndex with files on Cloud Storage of + /// datapoints to update. BatchUpdate = 1, - /// StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update - /// the Index and the updates will be applied in corresponding - /// DeployedIndexes in nearly real-time. + /// StreamUpdate: user can call UpsertDatapoints/DeleteDatapoints to update + /// the Index and the updates will be applied in corresponding + /// DeployedIndexes in nearly real-time. StreamUpdate = 2, } impl IndexUpdateMethod { @@ -8944,315 +8944,315 @@ pub mod index { } } } -/// A datapoint of Index. +/// A datapoint of Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexDatapoint { - /// Required. Unique identifier of the datapoint. + /// Required. Unique identifier of the datapoint. #[prost(string, tag="1")] pub datapoint_id: ::prost::alloc::string::String, - /// Required. Feature embedding vector. An array of numbers with the length of - /// \[NearestNeighborSearchConfig.dimensions\]. + /// Required. Feature embedding vector. An array of numbers with the length of + /// \[NearestNeighborSearchConfig.dimensions\]. #[prost(float, repeated, packed="false", tag="2")] pub feature_vector: ::prost::alloc::vec::Vec, - /// Optional. List of Restrict of the datapoint, used to perform "restricted searches" - /// where boolean rule are used to filter the subset of the database eligible - /// for matching. - /// See: + /// Optional. List of Restrict of the datapoint, used to perform "restricted searches" + /// where boolean rule are used to filter the subset of the database eligible + /// for matching. + /// See: #[prost(message, repeated, tag="4")] pub restricts: ::prost::alloc::vec::Vec, - /// Optional. CrowdingTag of the datapoint, the number of neighbors to return in each - /// crowding can be configured during query. + /// Optional. CrowdingTag of the datapoint, the number of neighbors to return in each + /// crowding can be configured during query. #[prost(message, optional, tag="5")] pub crowding_tag: ::core::option::Option, } /// Nested message and enum types in `IndexDatapoint`. pub mod index_datapoint { - /// Restriction of a datapoint which describe its attributes(tokens) from each - /// of several attribute categories(namespaces). + /// Restriction of a datapoint which describe its attributes(tokens) from each + /// of several attribute categories(namespaces). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Restriction { - /// The namespace of this restriction. eg: color. + /// The namespace of this restriction. eg: color. #[prost(string, tag="1")] pub namespace: ::prost::alloc::string::String, - /// The attributes to allow in this namespace. eg: 'red' + /// The attributes to allow in this namespace. eg: 'red' #[prost(string, repeated, tag="2")] pub allow_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The attributes to deny in this namespace. eg: 'blue' + /// The attributes to deny in this namespace. eg: 'blue' #[prost(string, repeated, tag="3")] pub deny_list: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Crowding tag is a constraint on a neighbor list produced by nearest - /// neighbor search requiring that no more than some value k' of the k - /// neighbors returned have the same value of crowding_attribute. + /// Crowding tag is a constraint on a neighbor list produced by nearest + /// neighbor search requiring that no more than some value k' of the k + /// neighbors returned have the same value of crowding_attribute. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrowdingTag { - /// The attribute value used for crowding. The maximum number of neighbors - /// to return per crowding attribute value - /// (per_crowding_attribute_num_neighbors) is configured per-query. This - /// field is ignored if per_crowding_attribute_num_neighbors is larger than - /// the total number of neighbors to return for a given query. + /// The attribute value used for crowding. The maximum number of neighbors + /// to return per crowding attribute value + /// (per_crowding_attribute_num_neighbors) is configured per-query. This + /// field is ignored if per_crowding_attribute_num_neighbors is larger than + /// the total number of neighbors to return for a given query. #[prost(string, tag="1")] pub crowding_attribute: ::prost::alloc::string::String, } } -/// Stats of the Index. +/// Stats of the Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexStats { - /// Output only. The number of vectors in the Index. + /// Output only. The number of vectors in the Index. #[prost(int64, tag="1")] pub vectors_count: i64, - /// Output only. The number of shards in the Index. + /// Output only. The number of shards in the Index. #[prost(int32, tag="2")] pub shards_count: i32, } -/// Indexes are deployed into it. An IndexEndpoint can have multiple -/// DeployedIndexes. +/// Indexes are deployed into it. An IndexEndpoint can have multiple +/// DeployedIndexes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexEndpoint { - /// Output only. The resource name of the IndexEndpoint. + /// Output only. The resource name of the IndexEndpoint. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the IndexEndpoint. - /// The name can be up to 128 characters long and can consist of any UTF-8 - /// characters. + /// Required. The display name of the IndexEndpoint. + /// The name can be up to 128 characters long and can consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the IndexEndpoint. + /// The description of the IndexEndpoint. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The indexes deployed in this endpoint. + /// Output only. The indexes deployed in this endpoint. #[prost(message, repeated, tag="4")] pub deployed_indexes: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, - /// The labels with user-defined metadata to organize your IndexEndpoints. + /// The labels with user-defined metadata to organize your IndexEndpoints. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Timestamp when this IndexEndpoint was created. + /// Output only. Timestamp when this IndexEndpoint was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this IndexEndpoint was last updated. - /// This timestamp is not updated when the endpoint's DeployedIndexes are - /// updated, e.g. due to updates of the original Indexes they are the - /// deployments of. + /// Output only. Timestamp when this IndexEndpoint was last updated. + /// This timestamp is not updated when the endpoint's DeployedIndexes are + /// updated, e.g. due to updates of the original Indexes they are the + /// deployments of. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The full name of the Google Compute Engine - /// \[network\]() - /// to which the IndexEndpoint should be peered. + /// Optional. The full name of the Google Compute Engine + /// \[network\]() + /// to which the IndexEndpoint should be peered. /// - /// Private services access must already be configured for the network. If left - /// unspecified, the Endpoint is not peered with any network. + /// Private services access must already be configured for the network. If left + /// unspecified, the Endpoint is not peered with any network. /// - /// \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] and - /// \[private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config\] - /// are mutually exclusive. + /// \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] and + /// \[private_service_connect_config][google.cloud.aiplatform.v1beta1.IndexEndpoint.private_service_connect_config\] + /// are mutually exclusive. /// - /// \[Format\](): - /// projects/{project}/global/networks/{network}. - /// Where {project} is a project number, as in '12345', and {network} is - /// network name. + /// \[Format\](): + /// projects/{project}/global/networks/{network}. + /// Where {project} is a project number, as in '12345', and {network} is + /// network name. #[prost(string, tag="9")] pub network: ::prost::alloc::string::String, - /// Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. + /// Optional. Deprecated: If true, expose the IndexEndpoint via private service connect. /// - /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] or - /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect\], - /// can be set. + /// Only one of the fields, \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] or + /// \[enable_private_service_connect][google.cloud.aiplatform.v1beta1.IndexEndpoint.enable_private_service_connect\], + /// can be set. #[deprecated] #[prost(bool, tag="10")] pub enable_private_service_connect: bool, } -/// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. +/// A deployment of an Index. IndexEndpoints contain one or more DeployedIndexes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndex { - /// Required. The user specified ID of the DeployedIndex. - /// The ID can be up to 128 characters long and must start with a letter and - /// only contain letters, numbers, and underscores. - /// The ID must be unique within the project it is created in. + /// Required. The user specified ID of the DeployedIndex. + /// The ID can be up to 128 characters long and must start with a letter and + /// only contain letters, numbers, and underscores. + /// The ID must be unique within the project it is created in. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The name of the Index this is the deployment of. - /// We may refer to this Index as the DeployedIndex's "original" Index. + /// Required. The name of the Index this is the deployment of. + /// We may refer to this Index as the DeployedIndex's "original" Index. #[prost(string, tag="2")] pub index: ::prost::alloc::string::String, - /// The display name of the DeployedIndex. If not provided upon creation, - /// the Index's display_name is used. + /// The display name of the DeployedIndex. If not provided upon creation, + /// the Index's display_name is used. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when the DeployedIndex was created. + /// Output only. Timestamp when the DeployedIndex was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Provides paths for users to send requests directly to the deployed index - /// services running on Cloud via private services access. This field is - /// populated if \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] is configured. + /// Output only. Provides paths for users to send requests directly to the deployed index + /// services running on Cloud via private services access. This field is + /// populated if \[network][google.cloud.aiplatform.v1beta1.IndexEndpoint.network\] is configured. #[prost(message, optional, tag="5")] pub private_endpoints: ::core::option::Option, - /// Output only. The DeployedIndex may depend on various data on its original Index. - /// Additionally when certain changes to the original Index are being done - /// (e.g. when what the Index contains is being changed) the DeployedIndex may - /// be asynchronously updated in the background to reflect this changes. - /// If this timestamp's value is at least the \[Index.update_time][google.cloud.aiplatform.v1beta1.Index.update_time\] of the - /// original Index, it means that this DeployedIndex and the original Index are - /// in sync. If this timestamp is older, then to see which updates this - /// DeployedIndex already contains (and which not), one must - /// \[list][Operations.ListOperations\] \[Operations][Operation\] - /// \[working][Operation.name\] on the original Index. Only - /// the successfully completed Operations with - /// \[Operations.metadata.generic_metadata.update_time\] - /// \[google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time\] - /// equal or before this sync time are contained in this DeployedIndex. + /// Output only. The DeployedIndex may depend on various data on its original Index. + /// Additionally when certain changes to the original Index are being done + /// (e.g. when what the Index contains is being changed) the DeployedIndex may + /// be asynchronously updated in the background to reflect this changes. + /// If this timestamp's value is at least the \[Index.update_time][google.cloud.aiplatform.v1beta1.Index.update_time\] of the + /// original Index, it means that this DeployedIndex and the original Index are + /// in sync. If this timestamp is older, then to see which updates this + /// DeployedIndex already contains (and which not), one must + /// \[list][Operations.ListOperations\] \[Operations][Operation\] + /// \[working][Operation.name\] on the original Index. Only + /// the successfully completed Operations with + /// \[Operations.metadata.generic_metadata.update_time\] + /// \[google.cloud.aiplatform.v1beta1.GenericOperationMetadata.update_time\] + /// equal or before this sync time are contained in this DeployedIndex. #[prost(message, optional, tag="6")] pub index_sync_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. A description of resources that the DeployedIndex uses, which to large - /// degree are decided by Vertex AI, and optionally allows only a modest - /// additional configuration. - /// If min_replica_count is not set, the default value is 2 (we don't provide - /// SLA when min_replica_count=1). If max_replica_count is not set, the - /// default value is min_replica_count. The max allowed replica count is - /// 1000. + /// Optional. A description of resources that the DeployedIndex uses, which to large + /// degree are decided by Vertex AI, and optionally allows only a modest + /// additional configuration. + /// If min_replica_count is not set, the default value is 2 (we don't provide + /// SLA when min_replica_count=1). If max_replica_count is not set, the + /// default value is min_replica_count. The max allowed replica count is + /// 1000. #[prost(message, optional, tag="7")] pub automatic_resources: ::core::option::Option, - /// Optional. A description of resources that are dedicated to the DeployedIndex, and - /// that need a higher degree of manual configuration. - /// If min_replica_count is not set, the default value is 2 (we don't provide - /// SLA when min_replica_count=1). If max_replica_count is not set, the - /// default value is min_replica_count. The max allowed replica count is - /// 1000. - /// - /// Available machine types: - /// n1-standard-16 - /// n1-standard-32 + /// Optional. A description of resources that are dedicated to the DeployedIndex, and + /// that need a higher degree of manual configuration. + /// If min_replica_count is not set, the default value is 2 (we don't provide + /// SLA when min_replica_count=1). If max_replica_count is not set, the + /// default value is min_replica_count. The max allowed replica count is + /// 1000. + /// + /// Available machine types: + /// n1-standard-16 + /// n1-standard-32 #[prost(message, optional, tag="16")] pub dedicated_resources: ::core::option::Option, - /// Optional. If true, private endpoint's access logs are sent to StackDriver Logging. + /// Optional. If true, private endpoint's access logs are sent to StackDriver Logging. /// - /// These logs are like standard server access logs, containing - /// information like timestamp and latency for each MatchRequest. + /// These logs are like standard server access logs, containing + /// information like timestamp and latency for each MatchRequest. /// - /// Note that Stackdriver logs may incur a cost, especially if the deployed - /// index receives a high queries per second rate (QPS). - /// Estimate your costs before enabling this option. + /// Note that Stackdriver logs may incur a cost, especially if the deployed + /// index receives a high queries per second rate (QPS). + /// Estimate your costs before enabling this option. #[prost(bool, tag="8")] pub enable_access_logging: bool, - /// Optional. If set, the authentication is enabled for the private endpoint. + /// Optional. If set, the authentication is enabled for the private endpoint. #[prost(message, optional, tag="9")] pub deployed_index_auth_config: ::core::option::Option, - /// Optional. A list of reserved ip ranges under the VPC network that can be - /// used for this DeployedIndex. + /// Optional. A list of reserved ip ranges under the VPC network that can be + /// used for this DeployedIndex. /// - /// If set, we will deploy the index within the provided ip ranges. Otherwise, - /// the index might be deployed to any ip ranges under the provided VPC - /// network. + /// If set, we will deploy the index within the provided ip ranges. Otherwise, + /// the index might be deployed to any ip ranges under the provided VPC + /// network. /// - /// The value sohuld be the name of the address - /// () - /// Example: 'vertex-ai-ip-range'. + /// The value sohuld be the name of the address + /// () + /// Example: 'vertex-ai-ip-range'. #[prost(string, repeated, tag="10")] pub reserved_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The deployment group can be no longer than 64 characters (eg: - /// 'test', 'prod'). If not set, we will use the 'default' deployment group. - /// - /// Creating `deployment_groups` with `reserved_ip_ranges` is a recommended - /// practice when the peered network has multiple peering ranges. This creates - /// your deployments from predictable IP spaces for easier traffic - /// administration. Also, one deployment_group (except 'default') can only be - /// used with the same reserved_ip_ranges which means if the deployment_group - /// has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or - /// [d, e] is disallowed. - /// - /// Note: we only support up to 5 deployment groups(not including 'default'). + /// Optional. The deployment group can be no longer than 64 characters (eg: + /// 'test', 'prod'). If not set, we will use the 'default' deployment group. + /// + /// Creating `deployment_groups` with `reserved_ip_ranges` is a recommended + /// practice when the peered network has multiple peering ranges. This creates + /// your deployments from predictable IP spaces for easier traffic + /// administration. Also, one deployment_group (except 'default') can only be + /// used with the same reserved_ip_ranges which means if the deployment_group + /// has been used with reserved_ip_ranges: [a, b, c], using it with [a, b] or + /// [d, e] is disallowed. + /// + /// Note: we only support up to 5 deployment groups(not including 'default'). #[prost(string, tag="11")] pub deployment_group: ::prost::alloc::string::String, } -/// Used to set up the auth on the DeployedIndex's private endpoint. +/// Used to set up the auth on the DeployedIndex's private endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployedIndexAuthConfig { - /// Defines the authentication provider that the DeployedIndex uses. + /// Defines the authentication provider that the DeployedIndex uses. #[prost(message, optional, tag="1")] pub auth_provider: ::core::option::Option, } /// Nested message and enum types in `DeployedIndexAuthConfig`. pub mod deployed_index_auth_config { - /// Configuration for an authentication provider, including support for - /// [JSON Web Token - /// (JWT)](). + /// Configuration for an authentication provider, including support for + /// [JSON Web Token + /// (JWT)](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthProvider { - /// The list of JWT - /// \[audiences\](). - /// that are allowed to access. A JWT containing any of these audiences will - /// be accepted. + /// The list of JWT + /// \[audiences\](). + /// that are allowed to access. A JWT containing any of these audiences will + /// be accepted. #[prost(string, repeated, tag="1")] pub audiences: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of allowed JWT issuers. Each entry must be a valid Google - /// service account, in the following format: + /// A list of allowed JWT issuers. Each entry must be a valid Google + /// service account, in the following format: /// - /// `service-account-name@project-id.iam.gserviceaccount.com` + /// `service-account-name@project-id.iam.gserviceaccount.com` #[prost(string, repeated, tag="2")] pub allowed_issuers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// IndexPrivateEndpoints proto is used to provide paths for users to send -/// requests via private endpoints (e.g. private service access, private service -/// connect). -/// To send request via private service access, use match_grpc_address. -/// To send request via private service connect, use service_attachment. +/// IndexPrivateEndpoints proto is used to provide paths for users to send +/// requests via private endpoints (e.g. private service access, private service +/// connect). +/// To send request via private service access, use match_grpc_address. +/// To send request via private service connect, use service_attachment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IndexPrivateEndpoints { - /// Output only. The ip address used to send match gRPC requests. + /// Output only. The ip address used to send match gRPC requests. #[prost(string, tag="1")] pub match_grpc_address: ::prost::alloc::string::String, - /// Output only. The name of the service attachment resource. Populated if private service - /// connect is enabled. + /// Output only. The name of the service attachment resource. Populated if private service + /// connect is enabled. #[prost(string, tag="2")] pub service_attachment: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint\]. +/// Request message for \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexEndpointRequest { - /// Required. The resource name of the Location to create the IndexEndpoint in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the IndexEndpoint in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The IndexEndpoint to create. + /// Required. The IndexEndpoint to create. #[prost(message, optional, tag="2")] pub index_endpoint: ::core::option::Option, } -/// Runtime operation information for -/// \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint\]. +/// Runtime operation information for +/// \[IndexEndpointService.CreateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.CreateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexEndpointOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[IndexEndpointService.GetIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpoint\] +/// Request message for \[IndexEndpointService.GetIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.GetIndexEndpoint\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIndexEndpointRequest { - /// Required. The name of the IndexEndpoint resource. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\]. +/// Request message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexEndpointsRequest { - /// Required. The resource name of the Location from which to list the IndexEndpoints. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the IndexEndpoints. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// Optional. An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `index_endpoint` supports = and !=. `index_endpoint` represents the /// IndexEndpoint ID, ie. the last segment of the IndexEndpoint's @@ -9264,137 +9264,137 @@ pub struct ListIndexEndpointsRequest { /// `labels.key:* or labels:key - key existence /// A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// * `index_endpoint="1"` /// * `display_name="myDisplayName"` /// * `regex(display_name, "^A") -> The display name starts with an A. /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. The standard list page size. + /// Optional. The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. The standard list page token. - /// Typically obtained via - /// \[ListIndexEndpointsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListIndexEndpointsResponse.next_page_token\] of the previous - /// \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\] call. + /// Optional. The standard list page token. + /// Typically obtained via + /// \[ListIndexEndpointsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListIndexEndpointsResponse.next_page_token\] of the previous + /// \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. Mask specifying which fields to read. + /// Optional. Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\]. +/// Response message for \[IndexEndpointService.ListIndexEndpoints][google.cloud.aiplatform.v1beta1.IndexEndpointService.ListIndexEndpoints\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexEndpointsResponse { - /// List of IndexEndpoints in the requested page. + /// List of IndexEndpoints in the requested page. #[prost(message, repeated, tag="1")] pub index_endpoints: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListIndexEndpointsRequest.page_token][google.cloud.aiplatform.v1beta1.ListIndexEndpointsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListIndexEndpointsRequest.page_token][google.cloud.aiplatform.v1beta1.ListIndexEndpointsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.UpdateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpoint\]. +/// Request message for \[IndexEndpointService.UpdateIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.UpdateIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexEndpointRequest { - /// Required. The IndexEndpoint which replaces the resource on the server. + /// Required. The IndexEndpoint which replaces the resource on the server. #[prost(message, optional, tag="1")] pub index_endpoint: ::core::option::Option, - /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. See \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[IndexEndpointService.DeleteIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpoint\]. +/// Request message for \[IndexEndpointService.DeleteIndexEndpoint][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeleteIndexEndpoint\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIndexEndpointRequest { - /// Required. The name of the IndexEndpoint resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. +/// Request message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexRequest { - /// Required. The name of the IndexEndpoint resource into which to deploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource into which to deploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The DeployedIndex to be created within the IndexEndpoint. + /// Required. The DeployedIndex to be created within the IndexEndpoint. #[prost(message, optional, tag="2")] pub deployed_index: ::core::option::Option, } -/// Response message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. +/// Response message for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexResponse { - /// The DeployedIndex that had been deployed in the IndexEndpoint. + /// The DeployedIndex that had been deployed in the IndexEndpoint. #[prost(message, optional, tag="1")] pub deployed_index: ::core::option::Option, } -/// Runtime operation information for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. +/// Runtime operation information for \[IndexEndpointService.DeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.DeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The unique index id specified by user + /// The unique index id specified by user #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// Request message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. +/// Request message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexRequest { - /// Required. The name of the IndexEndpoint resource from which to undeploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource from which to undeploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The ID of the DeployedIndex to be undeployed from the IndexEndpoint. + /// Required. The ID of the DeployedIndex to be undeployed from the IndexEndpoint. #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } -/// Response message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. +/// Response message for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexResponse { } -/// Runtime operation information for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. +/// Runtime operation information for \[IndexEndpointService.UndeployIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.UndeployIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. +/// Request message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexRequest { - /// Required. The name of the IndexEndpoint resource into which to deploy an Index. - /// Format: - /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` + /// Required. The name of the IndexEndpoint resource into which to deploy an Index. + /// Format: + /// `projects/{project}/locations/{location}/indexEndpoints/{index_endpoint}` #[prost(string, tag="1")] pub index_endpoint: ::prost::alloc::string::String, - /// Required. The DeployedIndex to be updated within the IndexEndpoint. - /// Currently, the updatable fields are \[DeployedIndex][automatic_resources\] - /// and \[DeployedIndex][dedicated_resources\] + /// Required. The DeployedIndex to be updated within the IndexEndpoint. + /// Currently, the updatable fields are \[DeployedIndex][automatic_resources\] + /// and \[DeployedIndex][dedicated_resources\] #[prost(message, optional, tag="2")] pub deployed_index: ::core::option::Option, } -/// Response message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. +/// Response message for \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexResponse { - /// The DeployedIndex that had been updated in the IndexEndpoint. + /// The DeployedIndex that had been updated in the IndexEndpoint. #[prost(message, optional, tag="1")] pub deployed_index: ::core::option::Option, } -/// Runtime operation information for -/// \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. +/// Runtime operation information for +/// \[IndexEndpointService.MutateDeployedIndex][google.cloud.aiplatform.v1beta1.IndexEndpointService.MutateDeployedIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MutateDeployedIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The unique index id specified by user + /// The unique index id specified by user #[prost(string, tag="2")] pub deployed_index_id: ::prost::alloc::string::String, } @@ -9648,143 +9648,143 @@ pub mod index_endpoint_service_client { } } } -/// Request message for \[IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex\]. +/// Request message for \[IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexRequest { - /// Required. The resource name of the Location to create the Index in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the Index in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Index to create. + /// Required. The Index to create. #[prost(message, optional, tag="2")] pub index: ::core::option::Option, } -/// Runtime operation information for \[IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex\]. +/// Runtime operation information for \[IndexService.CreateIndex][google.cloud.aiplatform.v1beta1.IndexService.CreateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The operation metadata with regard to Matching Engine Index operation. + /// The operation metadata with regard to Matching Engine Index operation. #[prost(message, optional, tag="2")] pub nearest_neighbor_search_operation_metadata: ::core::option::Option, } -/// Request message for \[IndexService.GetIndex][google.cloud.aiplatform.v1beta1.IndexService.GetIndex\] +/// Request message for \[IndexService.GetIndex][google.cloud.aiplatform.v1beta1.IndexService.GetIndex\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIndexRequest { - /// Required. The name of the Index resource. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\]. +/// Request message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexesRequest { - /// Required. The resource name of the Location from which to list the Indexes. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location from which to list the Indexes. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListIndexesResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListIndexesResponse.next_page_token\] of the previous - /// \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListIndexesResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListIndexesResponse.next_page_token\] of the previous + /// \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\]. +/// Response message for \[IndexService.ListIndexes][google.cloud.aiplatform.v1beta1.IndexService.ListIndexes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIndexesResponse { - /// List of indexes in the requested page. + /// List of indexes in the requested page. #[prost(message, repeated, tag="1")] pub indexes: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListIndexesRequest.page_token][google.cloud.aiplatform.v1beta1.ListIndexesRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListIndexesRequest.page_token][google.cloud.aiplatform.v1beta1.ListIndexesRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex\]. +/// Request message for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexRequest { - /// Required. The Index which updates the resource on the server. + /// Required. The Index which updates the resource on the server. #[prost(message, optional, tag="1")] pub index: ::core::option::Option, - /// The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Runtime operation information for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex\]. +/// Runtime operation information for \[IndexService.UpdateIndex][google.cloud.aiplatform.v1beta1.IndexService.UpdateIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIndexOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// The operation metadata with regard to Matching Engine Index operation. + /// The operation metadata with regard to Matching Engine Index operation. #[prost(message, optional, tag="2")] pub nearest_neighbor_search_operation_metadata: ::core::option::Option, } -/// Request message for \[IndexService.DeleteIndex][google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex\]. +/// Request message for \[IndexService.DeleteIndex][google.cloud.aiplatform.v1beta1.IndexService.DeleteIndex\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIndexRequest { - /// Required. The name of the Index resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints\] +/// Request message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpsertDatapointsRequest { - /// Required. The name of the Index resource to be updated. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be updated. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub index: ::prost::alloc::string::String, - /// A list of datapoints to be created/updated. + /// A list of datapoints to be created/updated. #[prost(message, repeated, tag="2")] pub datapoints: ::prost::alloc::vec::Vec, } -/// Response message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints\] +/// Response message for \[IndexService.UpsertDatapoints][google.cloud.aiplatform.v1beta1.IndexService.UpsertDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpsertDatapointsResponse { } -/// Request message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints\] +/// Request message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDatapointsRequest { - /// Required. The name of the Index resource to be updated. - /// Format: - /// `projects/{project}/locations/{location}/indexes/{index}` + /// Required. The name of the Index resource to be updated. + /// Format: + /// `projects/{project}/locations/{location}/indexes/{index}` #[prost(string, tag="1")] pub index: ::prost::alloc::string::String, - /// A list of datapoint ids to be deleted. + /// A list of datapoint ids to be deleted. #[prost(string, repeated, tag="2")] pub datapoint_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints\] +/// Response message for \[IndexService.RemoveDatapoints][google.cloud.aiplatform.v1beta1.IndexService.RemoveDatapoints\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDatapointsResponse { } -/// Runtime operation metadata with regard to Matching Engine Index. +/// Runtime operation metadata with regard to Matching Engine Index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NearestNeighborSearchOperationMetadata { - /// The validation stats of the content (per file) to be inserted or - /// updated on the Matching Engine Index resource. Populated if - /// contentsDeltaUri is provided as part of \[Index.metadata][google.cloud.aiplatform.v1beta1.Index.metadata\]. Please note - /// that, currently for those files that are broken or has unsupported file - /// format, we will not have the stats for those files. + /// The validation stats of the content (per file) to be inserted or + /// updated on the Matching Engine Index resource. Populated if + /// contentsDeltaUri is provided as part of \[Index.metadata][google.cloud.aiplatform.v1beta1.Index.metadata\]. Please note + /// that, currently for those files that are broken or has unsupported file + /// format, we will not have the stats for those files. #[prost(message, repeated, tag="1")] pub content_validation_stats: ::prost::alloc::vec::Vec, - /// The ingested data size in bytes. + /// The ingested data size in bytes. #[prost(int64, tag="2")] pub data_bytes_count: i64, } @@ -9792,21 +9792,21 @@ pub struct NearestNeighborSearchOperationMetadata { pub mod nearest_neighbor_search_operation_metadata { #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecordError { - /// The error type of this record. + /// The error type of this record. #[prost(enumeration="record_error::RecordErrorType", tag="1")] pub error_type: i32, - /// A human-readable message that is shown to the user to help them fix the - /// error. Note that this message may change from time to time, your code - /// should check against error_type as the source of truth. + /// A human-readable message that is shown to the user to help them fix the + /// error. Note that this message may change from time to time, your code + /// should check against error_type as the source of truth. #[prost(string, tag="2")] pub error_message: ::prost::alloc::string::String, - /// Cloud Storage URI pointing to the original file in user's bucket. + /// Cloud Storage URI pointing to the original file in user's bucket. #[prost(string, tag="3")] pub source_gcs_uri: ::prost::alloc::string::String, - /// Empty if the embedding id is failed to parse. + /// Empty if the embedding id is failed to parse. #[prost(string, tag="4")] pub embedding_id: ::prost::alloc::string::String, - /// The original content of this record. + /// The original content of this record. #[prost(string, tag="5")] pub raw_record: ::prost::alloc::string::String, } @@ -9815,22 +9815,22 @@ pub mod nearest_neighbor_search_operation_metadata { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RecordErrorType { - /// Default, shall not be used. + /// Default, shall not be used. ErrorTypeUnspecified = 0, - /// The record is empty. + /// The record is empty. EmptyLine = 1, - /// Invalid json format. + /// Invalid json format. InvalidJsonSyntax = 2, - /// Invalid csv format. + /// Invalid csv format. InvalidCsvSyntax = 3, - /// Invalid avro format. + /// Invalid avro format. InvalidAvroSyntax = 4, - /// The embedding id is not valid. + /// The embedding id is not valid. InvalidEmbeddingId = 5, - /// The size of the embedding vectors does not match with the specified - /// dimension. + /// The size of the embedding vectors does not match with the specified + /// dimension. EmbeddingSizeMismatch = 6, - /// The `namespace` field is missing. + /// The `namespace` field is missing. NamespaceMissing = 7, } impl RecordErrorType { @@ -9854,18 +9854,18 @@ pub mod nearest_neighbor_search_operation_metadata { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContentValidationStats { - /// Cloud Storage URI pointing to the original file in user's bucket. + /// Cloud Storage URI pointing to the original file in user's bucket. #[prost(string, tag="1")] pub source_gcs_uri: ::prost::alloc::string::String, - /// Number of records in this file that were successfully processed. + /// Number of records in this file that were successfully processed. #[prost(int64, tag="2")] pub valid_record_count: i64, - /// Number of records in this file we skipped due to validate errors. + /// Number of records in this file we skipped due to validate errors. #[prost(int64, tag="3")] pub invalid_record_count: i64, - /// The detail information of the partial failures encountered for those - /// invalid records that couldn't be parsed. - /// Up to 50 partial errors will be reported. + /// The detail information of the partial failures encountered for those + /// invalid records that couldn't be parsed. + /// Up to 50 partial errors will be reported. #[prost(message, repeated, tag="4")] pub partial_errors: ::prost::alloc::vec::Vec, } @@ -10093,43 +10093,43 @@ pub mod index_service_client { } } } -/// Request message for \[JobService.CreateCustomJob][google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob\]. +/// Request message for \[JobService.CreateCustomJob][google.cloud.aiplatform.v1beta1.JobService.CreateCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomJobRequest { - /// Required. The resource name of the Location to create the CustomJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the CustomJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomJob to create. + /// Required. The CustomJob to create. #[prost(message, optional, tag="2")] pub custom_job: ::core::option::Option, } -/// Request message for \[JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob\]. +/// Request message for \[JobService.GetCustomJob][google.cloud.aiplatform.v1beta1.JobService.GetCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomJobRequest { - /// Required. The name of the CustomJob resource. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob resource. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\]. +/// Request message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomJobsRequest { - /// Required. The resource name of the Location to list the CustomJobs from. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the CustomJobs from. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -10137,85 +10137,85 @@ pub struct ListCustomJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListCustomJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsResponse.next_page_token\] of the previous - /// \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListCustomJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsResponse.next_page_token\] of the previous + /// \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\] +/// Response message for \[JobService.ListCustomJobs][google.cloud.aiplatform.v1beta1.JobService.ListCustomJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomJobsResponse { - /// List of CustomJobs in the requested page. + /// List of CustomJobs in the requested page. #[prost(message, repeated, tag="1")] pub custom_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListCustomJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListCustomJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListCustomJobsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteCustomJob][google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob\]. +/// Request message for \[JobService.DeleteCustomJob][google.cloud.aiplatform.v1beta1.JobService.DeleteCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCustomJobRequest { - /// Required. The name of the CustomJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelCustomJob][google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob\]. +/// Request message for \[JobService.CancelCustomJob][google.cloud.aiplatform.v1beta1.JobService.CancelCustomJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelCustomJobRequest { - /// Required. The name of the CustomJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/customJobs/{custom_job}` + /// Required. The name of the CustomJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/customJobs/{custom_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob\]. +/// Request message for \[JobService.CreateDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CreateDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataLabelingJobRequest { - /// Required. The parent of the DataLabelingJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the DataLabelingJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The DataLabelingJob to create. + /// Required. The DataLabelingJob to create. #[prost(message, optional, tag="2")] pub data_labeling_job: ::core::option::Option, } -/// Request message for \[JobService.GetDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob\]. +/// Request message for \[JobService.GetDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.GetDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs\]. +/// Request message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataLabelingJobsRequest { - /// Required. The parent of the DataLabelingJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the DataLabelingJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -10223,90 +10223,90 @@ pub struct ListDataLabelingJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. FieldMask represents a set of - /// symbolic field paths. For example, the mask can be `paths: "name"`. The - /// "name" here is a field in DataLabelingJob. - /// If this field is not set, all fields of the DataLabelingJob are returned. + /// Mask specifying which fields to read. FieldMask represents a set of + /// symbolic field paths. For example, the mask can be `paths: "name"`. The + /// "name" here is a field in DataLabelingJob. + /// If this field is not set, all fields of the DataLabelingJob are returned. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// A comma-separated list of fields to order by, sorted in ascending order by - /// default. - /// Use `desc` after a field name for descending. + /// A comma-separated list of fields to order by, sorted in ascending order by + /// default. + /// Use `desc` after a field name for descending. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, } -/// Response message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs\]. +/// Response message for \[JobService.ListDataLabelingJobs][google.cloud.aiplatform.v1beta1.JobService.ListDataLabelingJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataLabelingJobsResponse { - /// A list of DataLabelingJobs that matches the specified filter in the - /// request. + /// A list of DataLabelingJobs that matches the specified filter in the + /// request. #[prost(message, repeated, tag="1")] pub data_labeling_jobs: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob\]. +/// Request message for \[JobService.DeleteDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.DeleteDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob\]. +/// Request message for \[JobService.CancelDataLabelingJob][google.cloud.aiplatform.v1beta1.JobService.CancelDataLabelingJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelDataLabelingJobRequest { - /// Required. The name of the DataLabelingJob. - /// Format: - /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` + /// Required. The name of the DataLabelingJob. + /// Format: + /// `projects/{project}/locations/{location}/dataLabelingJobs/{data_labeling_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob\]. +/// Request message for \[JobService.CreateHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CreateHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateHyperparameterTuningJobRequest { - /// Required. The resource name of the Location to create the HyperparameterTuningJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the HyperparameterTuningJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The HyperparameterTuningJob to create. + /// Required. The HyperparameterTuningJob to create. #[prost(message, optional, tag="2")] pub hyperparameter_tuning_job: ::core::option::Option, } -/// Request message for \[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob\]. +/// Request message for \[JobService.GetHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.GetHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob resource. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob resource. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\]. +/// Request message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHyperparameterTuningJobsRequest { - /// Required. The resource name of the Location to list the HyperparameterTuningJobs - /// from. Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the HyperparameterTuningJobs + /// from. Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -10314,80 +10314,80 @@ pub struct ListHyperparameterTuningJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse.next_page_token\] of the previous - /// \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListHyperparameterTuningJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsResponse.next_page_token\] of the previous + /// \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\] +/// Response message for \[JobService.ListHyperparameterTuningJobs][google.cloud.aiplatform.v1beta1.JobService.ListHyperparameterTuningJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHyperparameterTuningJobsResponse { - /// List of HyperparameterTuningJobs in the requested page. - /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials\] of the jobs will be not be returned. + /// List of HyperparameterTuningJobs in the requested page. + /// \[HyperparameterTuningJob.trials][google.cloud.aiplatform.v1beta1.HyperparameterTuningJob.trials\] of the jobs will be not be returned. #[prost(message, repeated, tag="1")] pub hyperparameter_tuning_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListHyperparameterTuningJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsRequest.page_token\] to obtain that - /// page. + /// A token to retrieve the next page of results. + /// Pass to \[ListHyperparameterTuningJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListHyperparameterTuningJobsRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob\]. +/// Request message for \[JobService.DeleteHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.DeleteHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob\]. +/// Request message for \[JobService.CancelHyperparameterTuningJob][google.cloud.aiplatform.v1beta1.JobService.CancelHyperparameterTuningJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelHyperparameterTuningJobRequest { - /// Required. The name of the HyperparameterTuningJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` + /// Required. The name of the HyperparameterTuningJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/hyperparameterTuningJobs/{hyperparameter_tuning_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob\]. +/// Request message for \[JobService.CreateBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CreateBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBatchPredictionJobRequest { - /// Required. The resource name of the Location to create the BatchPredictionJob in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to create the BatchPredictionJob in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The BatchPredictionJob to create. + /// Required. The BatchPredictionJob to create. #[prost(message, optional, tag="2")] pub batch_prediction_job: ::core::option::Option, } -/// Request message for \[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob\]. +/// Request message for \[JobService.GetBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.GetBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob resource. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob resource. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\]. +/// Request message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchPredictionJobsRequest { - /// Required. The resource name of the Location to list the BatchPredictionJobs - /// from. Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the BatchPredictionJobs + /// from. Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `model_display_name` supports `=`, `!=` comparisons. @@ -10395,7 +10395,7 @@ pub struct ListBatchPredictionJobsRequest { /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -10403,161 +10403,161 @@ pub struct ListBatchPredictionJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListBatchPredictionJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse.next_page_token\] of the previous - /// \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListBatchPredictionJobsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsResponse.next_page_token\] of the previous + /// \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\] +/// Response message for \[JobService.ListBatchPredictionJobs][google.cloud.aiplatform.v1beta1.JobService.ListBatchPredictionJobs\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchPredictionJobsResponse { - /// List of BatchPredictionJobs in the requested page. + /// List of BatchPredictionJobs in the requested page. #[prost(message, repeated, tag="1")] pub batch_prediction_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListBatchPredictionJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest.page_token\] to obtain that - /// page. + /// A token to retrieve the next page of results. + /// Pass to \[ListBatchPredictionJobsRequest.page_token][google.cloud.aiplatform.v1beta1.ListBatchPredictionJobsRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[JobService.DeleteBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob\]. +/// Request message for \[JobService.DeleteBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.DeleteBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob resource to be deleted. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob resource to be deleted. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[JobService.CancelBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob\]. +/// Request message for \[JobService.CancelBatchPredictionJob][google.cloud.aiplatform.v1beta1.JobService.CancelBatchPredictionJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelBatchPredictionJobRequest { - /// Required. The name of the BatchPredictionJob to cancel. - /// Format: - /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` + /// Required. The name of the BatchPredictionJob to cancel. + /// Format: + /// `projects/{project}/locations/{location}/batchPredictionJobs/{batch_prediction_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.CreateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.CreateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelDeploymentMonitoringJobRequest { - /// Required. The parent of the ModelDeploymentMonitoringJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the ModelDeploymentMonitoringJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ModelDeploymentMonitoringJob to create + /// Required. The ModelDeploymentMonitoringJob to create #[prost(message, optional, tag="2")] pub model_deployment_monitoring_job: ::core::option::Option, } -/// Request message for -/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. +/// Request message for +/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchModelDeploymentMonitoringStatsAnomaliesRequest { - /// Required. ModelDeploymentMonitoring Job resource name. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. ModelDeploymentMonitoring Job resource name. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub model_deployment_monitoring_job: ::prost::alloc::string::String, - /// Required. The DeployedModel ID of the - /// \[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\]. + /// Required. The DeployedModel ID of the + /// \[ModelDeploymentMonitoringObjectiveConfig.deployed_model_id\]. #[prost(string, tag="2")] pub deployed_model_id: ::prost::alloc::string::String, - /// The feature display name. If specified, only return the stats belonging to - /// this feature. Format: - /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name\], - /// example: "user_destination". + /// The feature display name. If specified, only return the stats belonging to + /// this feature. Format: + /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.feature_display_name\], + /// example: "user_destination". #[prost(string, tag="3")] pub feature_display_name: ::prost::alloc::string::String, - /// Required. Objectives of the stats to retrieve. + /// Required. Objectives of the stats to retrieve. #[prost(message, repeated, tag="4")] pub objectives: ::prost::alloc::vec::Vec, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="5")] pub page_size: i32, - /// A page token received from a previous - /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] - /// call. + /// A page token received from a previous + /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] + /// call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, - /// The earliest timestamp of stats being generated. - /// If not set, indicates fetching stats till the earliest possible one. + /// The earliest timestamp of stats being generated. + /// If not set, indicates fetching stats till the earliest possible one. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The latest timestamp of stats being generated. - /// If not set, indicates feching stats till the latest possible one. + /// The latest timestamp of stats being generated. + /// If not set, indicates feching stats till the latest possible one. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `SearchModelDeploymentMonitoringStatsAnomaliesRequest`. pub mod search_model_deployment_monitoring_stats_anomalies_request { - /// Stats requested for specific objective. + /// Stats requested for specific objective. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatsAnomaliesObjective { #[prost(enumeration="super::ModelDeploymentMonitoringObjectiveType", tag="1")] pub r#type: i32, - /// If set, all attribution scores between - /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time\] and - /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time\] are - /// fetched, and page token doesn't take affect in this case. - /// Only used to retrieve attribution score for the top Features which has - /// the highest attribution score in the latest monitoring run. + /// If set, all attribution scores between + /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.start_time\] and + /// \[SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time][google.cloud.aiplatform.v1beta1.SearchModelDeploymentMonitoringStatsAnomaliesRequest.end_time\] are + /// fetched, and page token doesn't take affect in this case. + /// Only used to retrieve attribution score for the top Features which has + /// the highest attribution score in the latest monitoring run. #[prost(int32, tag="4")] pub top_feature_count: i32, } } -/// Response message for -/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. +/// Response message for +/// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchModelDeploymentMonitoringStatsAnomaliesResponse { - /// Stats retrieved for requested objectives. - /// There are at most 1000 - /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats\] - /// in the response. + /// Stats retrieved for requested objectives. + /// There are at most 1000 + /// \[ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats][google.cloud.aiplatform.v1beta1.ModelMonitoringStatsAnomalies.FeatureHistoricStatsAnomalies.prediction_stats\] + /// in the response. #[prost(message, repeated, tag="1")] pub monitoring_stats: ::prost::alloc::vec::Vec, - /// The page token that can be used by the next - /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] - /// call. + /// The page token that can be used by the next + /// \[JobService.SearchModelDeploymentMonitoringStatsAnomalies][google.cloud.aiplatform.v1beta1.JobService.SearchModelDeploymentMonitoringStatsAnomalies\] + /// call. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.GetModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.GetModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.GetModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs\]. +/// Request message for +/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelDeploymentMonitoringJobsRequest { - /// Required. The parent of the ModelDeploymentMonitoringJob. - /// Format: `projects/{project}/locations/{location}` + /// Required. The parent of the ModelDeploymentMonitoringJob. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// - /// Supported fields: + /// Supported fields: /// /// * `display_name` supports `=`, `!=` comparisons, and `:` wildcard. /// * `state` supports `=`, `!=` comparisons. /// * `create_time` supports `=`, `!=`,`<`, `<=`,`>`, `>=` comparisons. /// `create_time` must be in RFC 3339 format. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `state="JOB_STATE_SUCCEEDED" AND display_name:"my_job_*"` /// * `state!="JOB_STATE_FAILED" OR display_name="my_job"` @@ -10565,49 +10565,49 @@ pub struct ListModelDeploymentMonitoringJobsRequest { /// * `create_time>"2021-05-18T00:00:00Z"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. + /// The standard list page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read + /// Mask specifying which fields to read #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for -/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs\]. +/// Response message for +/// \[JobService.ListModelDeploymentMonitoringJobs][google.cloud.aiplatform.v1beta1.JobService.ListModelDeploymentMonitoringJobs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelDeploymentMonitoringJobsResponse { - /// A list of ModelDeploymentMonitoringJobs that matches the specified filter - /// in the request. + /// A list of ModelDeploymentMonitoringJobs that matches the specified filter + /// in the request. #[prost(message, repeated, tag="1")] pub model_deployment_monitoring_jobs: ::prost::alloc::vec::Vec, - /// The standard List next-page token. + /// The standard List next-page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelDeploymentMonitoringJobRequest { - /// Required. The model monitoring configuration which replaces the resource on the - /// server. + /// Required. The model monitoring configuration which replaces the resource on the + /// server. #[prost(message, optional, tag="1")] pub model_deployment_monitoring_job: ::core::option::Option, - /// Required. The update mask is used to specify the fields to be overwritten in the - /// ModelDeploymentMonitoringJob resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then only the non-empty fields present in the - /// request will be overwritten. Set the update_mask to `*` to override all - /// fields. - /// For the objective config, the user can either provide the update mask for - /// model_deployment_monitoring_objective_configs or any combination of its - /// nested fields, such as: - /// model_deployment_monitoring_objective_configs.objective_config.training_dataset. - /// - /// Updatable fields: + /// Required. The update mask is used to specify the fields to be overwritten in the + /// ModelDeploymentMonitoringJob resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then only the non-empty fields present in the + /// request will be overwritten. Set the update_mask to `*` to override all + /// fields. + /// For the objective config, the user can either provide the update mask for + /// model_deployment_monitoring_objective_configs or any combination of its + /// nested fields, such as: + /// model_deployment_monitoring_objective_configs.objective_config.training_dataset. + /// + /// Updatable fields: /// /// * `display_name` /// * `model_deployment_monitoring_schedule_config` @@ -10616,50 +10616,50 @@ pub struct UpdateModelDeploymentMonitoringJobRequest { /// * `labels` /// * `log_ttl` /// * `enable_monitoring_pipeline_logs` - /// . and + /// . and /// * `model_deployment_monitoring_objective_configs` - /// . or + /// . or /// * `model_deployment_monitoring_objective_configs.objective_config.training_dataset` /// * `model_deployment_monitoring_objective_configs.objective_config.training_prediction_skew_detection_config` /// * `model_deployment_monitoring_objective_configs.objective_config.prediction_drift_detection_config` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[JobService.DeleteModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.DeleteModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.DeleteModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the model monitoring job to delete. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the model monitoring job to delete. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.PauseModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.PauseModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.PauseModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PauseModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob to pause. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob to pause. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[JobService.ResumeModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob\]. +/// Request message for +/// \[JobService.ResumeModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.ResumeModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResumeModelDeploymentMonitoringJobRequest { - /// Required. The resource name of the ModelDeploymentMonitoringJob to resume. - /// Format: - /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` + /// Required. The resource name of the ModelDeploymentMonitoringJob to resume. + /// Format: + /// `projects/{project}/locations/{location}/modelDeploymentMonitoringJobs/{model_deployment_monitoring_job}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Runtime operation information for -/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob\]. +/// Runtime operation information for +/// \[JobService.UpdateModelDeploymentMonitoringJob][google.cloud.aiplatform.v1beta1.JobService.UpdateModelDeploymentMonitoringJob\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelDeploymentMonitoringJobOperationMetadata { - /// The operation generic information. + /// The operation generic information. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } @@ -11387,64 +11387,64 @@ pub mod job_service_client { } } } -/// A subgraph of the overall lineage graph. Event edges connect Artifact and -/// Execution nodes. +/// A subgraph of the overall lineage graph. Event edges connect Artifact and +/// Execution nodes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LineageSubgraph { - /// The Artifact nodes in the subgraph. + /// The Artifact nodes in the subgraph. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, - /// The Execution nodes in the subgraph. + /// The Execution nodes in the subgraph. #[prost(message, repeated, tag="2")] pub executions: ::prost::alloc::vec::Vec, - /// The Event edges between Artifacts and Executions in the subgraph. + /// The Event edges between Artifacts and Executions in the subgraph. #[prost(message, repeated, tag="3")] pub events: ::prost::alloc::vec::Vec, } -/// Instance of a general MetadataSchema. +/// Instance of a general MetadataSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataSchema { - /// Output only. The resource name of the MetadataSchema. + /// Output only. The resource name of the MetadataSchema. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The version of the MetadataSchema. The version's format must match - /// the following regular expression: `^\[0-9]+[.][0-9]+[.][0-9\]+$`, which would - /// allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc. + /// The version of the MetadataSchema. The version's format must match + /// the following regular expression: `^\[0-9]+[.][0-9]+[.][0-9\]+$`, which would + /// allow to order/compare different versions. Example: 1.0.0, 1.0.1, etc. #[prost(string, tag="2")] pub schema_version: ::prost::alloc::string::String, - /// Required. The raw YAML string representation of the MetadataSchema. The combination - /// of \[MetadataSchema.version\] and the schema name given by `title` in - /// \[MetadataSchema.schema\] must be unique within a MetadataStore. + /// Required. The raw YAML string representation of the MetadataSchema. The combination + /// of \[MetadataSchema.version\] and the schema name given by `title` in + /// \[MetadataSchema.schema\] must be unique within a MetadataStore. /// - /// The schema is defined as an OpenAPI 3.0.2 - /// [MetadataSchema - /// Object]() + /// The schema is defined as an OpenAPI 3.0.2 + /// [MetadataSchema + /// Object]() #[prost(string, tag="3")] pub schema: ::prost::alloc::string::String, - /// The type of the MetadataSchema. This is a property that identifies which - /// metadata types will use the MetadataSchema. + /// The type of the MetadataSchema. This is a property that identifies which + /// metadata types will use the MetadataSchema. #[prost(enumeration="metadata_schema::MetadataSchemaType", tag="4")] pub schema_type: i32, - /// Output only. Timestamp when this MetadataSchema was created. + /// Output only. Timestamp when this MetadataSchema was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Description of the Metadata Schema + /// Description of the Metadata Schema #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `MetadataSchema`. pub mod metadata_schema { - /// Describes the type of the MetadataSchema. + /// Describes the type of the MetadataSchema. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetadataSchemaType { - /// Unspecified type for the MetadataSchema. + /// Unspecified type for the MetadataSchema. Unspecified = 0, - /// A type indicating that the MetadataSchema will be used by Artifacts. + /// A type indicating that the MetadataSchema will be used by Artifacts. ArtifactType = 1, - /// A typee indicating that the MetadataSchema will be used by Executions. + /// A typee indicating that the MetadataSchema will be used by Executions. ExecutionType = 2, - /// A state indicating that the MetadataSchema will be used by Contexts. + /// A state indicating that the MetadataSchema will be used by Contexts. ContextType = 3, } impl MetadataSchemaType { @@ -11462,366 +11462,366 @@ pub mod metadata_schema { } } } -/// Instance of a metadata store. Contains a set of metadata that can be -/// queried. +/// Instance of a metadata store. Contains a set of metadata that can be +/// queried. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataStore { - /// Output only. The resource name of the MetadataStore instance. + /// Output only. The resource name of the MetadataStore instance. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when this MetadataStore was created. + /// Output only. Timestamp when this MetadataStore was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this MetadataStore was last updated. + /// Output only. Timestamp when this MetadataStore was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Customer-managed encryption key spec for a Metadata Store. If set, this - /// Metadata Store and all sub-resources of this Metadata Store are secured - /// using this key. + /// Customer-managed encryption key spec for a Metadata Store. If set, this + /// Metadata Store and all sub-resources of this Metadata Store are secured + /// using this key. #[prost(message, optional, tag="5")] pub encryption_spec: ::core::option::Option, - /// Description of the MetadataStore. + /// Description of the MetadataStore. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Output only. State information of the MetadataStore. + /// Output only. State information of the MetadataStore. #[prost(message, optional, tag="7")] pub state: ::core::option::Option, } /// Nested message and enum types in `MetadataStore`. pub mod metadata_store { - /// Represents state information for a MetadataStore. + /// Represents state information for a MetadataStore. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataStoreState { - /// The disk utilization of the MetadataStore in bytes. + /// The disk utilization of the MetadataStore in bytes. #[prost(int64, tag="1")] pub disk_utilization_bytes: i64, } } -/// Request message for \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore\]. +/// Request message for \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataStoreRequest { - /// Required. The resource name of the Location where the MetadataStore should - /// be created. - /// Format: `projects/{project}/locations/{location}/` + /// Required. The resource name of the Location where the MetadataStore should + /// be created. + /// Format: `projects/{project}/locations/{location}/` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The MetadataStore to create. + /// Required. The MetadataStore to create. #[prost(message, optional, tag="2")] pub metadata_store: ::core::option::Option, - /// The {metadatastore} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` - /// If not provided, the MetadataStore's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all MetadataStores in the parent Location. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting MetadataStore.) + /// The {metadatastore} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// If not provided, the MetadataStore's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all MetadataStores in the parent Location. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting MetadataStore.) #[prost(string, tag="3")] pub metadata_store_id: ::prost::alloc::string::String, } -/// Details of operations that perform \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore\]. +/// Details of operations that perform \[MetadataService.CreateMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataStoreOperationMetadata { - /// Operation metadata for creating a MetadataStore. + /// Operation metadata for creating a MetadataStore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.GetMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataStore\]. +/// Request message for \[MetadataService.GetMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMetadataStoreRequest { - /// Required. The resource name of the MetadataStore to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\]. +/// Request message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataStoresRequest { - /// Required. The Location whose MetadataStores should be listed. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The Location whose MetadataStores should be listed. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Metadata Stores to return. The service may return - /// fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Metadata Stores to return. The service may return + /// fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous - /// \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\] call. Provide this to retrieve the - /// subsequent page. + /// A page token, received from a previous + /// \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\] call. Provide this to retrieve the + /// subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\]. +/// Response message for \[MetadataService.ListMetadataStores][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataStores\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataStoresResponse { - /// The MetadataStores found for the Location. + /// The MetadataStores found for the Location. #[prost(message, repeated, tag="1")] pub metadata_stores: ::prost::alloc::vec::Vec, - /// A token, which can be sent as - /// \[ListMetadataStoresRequest.page_token][google.cloud.aiplatform.v1beta1.ListMetadataStoresRequest.page_token\] to retrieve the next - /// page. If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as + /// \[ListMetadataStoresRequest.page_token][google.cloud.aiplatform.v1beta1.ListMetadataStoresRequest.page_token\] to retrieve the next + /// page. If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore\]. +/// Request message for \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMetadataStoreRequest { - /// Required. The resource name of the MetadataStore to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Deprecated: Field is no longer supported. + /// Deprecated: Field is no longer supported. #[deprecated] #[prost(bool, tag="2")] pub force: bool, } -/// Details of operations that perform \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore\]. +/// Details of operations that perform \[MetadataService.DeleteMetadataStore][google.cloud.aiplatform.v1beta1.MetadataService.DeleteMetadataStore\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMetadataStoreOperationMetadata { - /// Operation metadata for deleting a MetadataStore. + /// Operation metadata for deleting a MetadataStore. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.CreateArtifact][google.cloud.aiplatform.v1beta1.MetadataService.CreateArtifact\]. +/// Request message for \[MetadataService.CreateArtifact][google.cloud.aiplatform.v1beta1.MetadataService.CreateArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateArtifactRequest { - /// Required. The resource name of the MetadataStore where the Artifact should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Artifact should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Artifact to create. + /// Required. The Artifact to create. #[prost(message, optional, tag="2")] pub artifact: ::core::option::Option, - /// The {artifact} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - /// If not provided, the Artifact's ID will be a UUID generated by the service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Artifacts in the parent MetadataStore. (Otherwise - /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - /// caller can't view the preexisting Artifact.) + /// The {artifact} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// If not provided, the Artifact's ID will be a UUID generated by the service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Artifacts in the parent MetadataStore. (Otherwise + /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the + /// caller can't view the preexisting Artifact.) #[prost(string, tag="3")] pub artifact_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetArtifact][google.cloud.aiplatform.v1beta1.MetadataService.GetArtifact\]. +/// Request message for \[MetadataService.GetArtifact][google.cloud.aiplatform.v1beta1.MetadataService.GetArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetArtifactRequest { - /// Required. The resource name of the Artifact to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The resource name of the Artifact to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\]. +/// Request message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsRequest { - /// Required. The MetadataStore whose Artifacts should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Artifacts should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Artifacts to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Artifacts to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Artifacts to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// The supported set of filters include the following: + /// Filter specifying the boolean condition for the Artifacts to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// The supported set of filters include the following: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `uri`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"` - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0` - /// * **Context based filtering**: + /// * **Context based filtering**: /// To filter Artifacts based on the contexts to which they belong, use the /// function operator with the full resource name /// `in_context()`. /// For example: /// `in_context("projects//locations//metadataStores//contexts/")` /// - /// Each of the above supported filter types can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filter types can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\]. +/// Response message for \[MetadataService.ListArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.ListArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsResponse { - /// The Artifacts retrieved from the MetadataStore. + /// The Artifacts retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListArtifactsRequest.page_token][google.cloud.aiplatform.v1beta1.ListArtifactsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListArtifactsRequest.page_token][google.cloud.aiplatform.v1beta1.ListArtifactsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateArtifact][google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact\]. +/// Request message for \[MetadataService.UpdateArtifact][google.cloud.aiplatform.v1beta1.MetadataService.UpdateArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateArtifactRequest { - /// Required. The Artifact containing updates. - /// The Artifact's \[Artifact.name][google.cloud.aiplatform.v1beta1.Artifact.name\] field is used to identify the Artifact to - /// be updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The Artifact containing updates. + /// The Artifact's \[Artifact.name][google.cloud.aiplatform.v1beta1.Artifact.name\] field is used to identify the Artifact to + /// be updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(message, optional, tag="1")] pub artifact: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Artifact][google.cloud.aiplatform.v1beta1.Artifact\] is not found, a new \[Artifact][google.cloud.aiplatform.v1beta1.Artifact\] is - /// created. + /// If set to true, and the \[Artifact][google.cloud.aiplatform.v1beta1.Artifact\] is not found, a new \[Artifact][google.cloud.aiplatform.v1beta1.Artifact\] is + /// created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteArtifact][google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact\]. +/// Request message for \[MetadataService.DeleteArtifact][google.cloud.aiplatform.v1beta1.MetadataService.DeleteArtifact\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteArtifactRequest { - /// Required. The resource name of the Artifact to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Required. The resource name of the Artifact to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the Artifact to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Artifact to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. +/// Request message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsRequest { - /// Required. The metadata store to purge Artifacts from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Artifacts from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Artifacts to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Artifacts to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Artifact names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Artifact names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. +/// Response message for \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsResponse { - /// The number of Artifacts that this request deleted (or, if `force` is false, - /// the number of Artifacts that will be deleted). This can be an estimate. + /// The number of Artifacts that this request deleted (or, if `force` is false, + /// the number of Artifacts that will be deleted). This can be an estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Artifact names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Artifact names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. +/// Details of operations that perform \[MetadataService.PurgeArtifacts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeArtifacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeArtifactsMetadata { - /// Operation metadata for purging Artifacts. + /// Operation metadata for purging Artifacts. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.CreateContext][google.cloud.aiplatform.v1beta1.MetadataService.CreateContext\]. +/// Request message for \[MetadataService.CreateContext][google.cloud.aiplatform.v1beta1.MetadataService.CreateContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateContextRequest { - /// Required. The resource name of the MetadataStore where the Context should be - /// created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Context should be + /// created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Context to create. + /// Required. The Context to create. #[prost(message, optional, tag="2")] pub context: ::core::option::Option, - /// The {context} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. - /// If not provided, the Context's ID will be a UUID generated by the service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Contexts in the parent MetadataStore. (Otherwise - /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the - /// caller can't view the preexisting Context.) + /// The {context} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}`. + /// If not provided, the Context's ID will be a UUID generated by the service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Contexts in the parent MetadataStore. (Otherwise + /// the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED if the + /// caller can't view the preexisting Context.) #[prost(string, tag="3")] pub context_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetContext][google.cloud.aiplatform.v1beta1.MetadataService.GetContext\]. +/// Request message for \[MetadataService.GetContext][google.cloud.aiplatform.v1beta1.MetadataService.GetContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetContextRequest { - /// Required. The resource name of the Context to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\] +/// Request message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContextsRequest { - /// Required. The MetadataStore whose Contexts should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Contexts should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Contexts to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Contexts to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Contexts to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// Following are the supported set of filters: + /// Filter specifying the boolean condition for the Contexts to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// Following are the supported set of filters: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `schema_title`, /// `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"`. - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0`. - /// * **Parent Child filtering**: + /// * **Parent Child filtering**: /// To filter Contexts based on parent-child relationship use the HAS /// operator as follows: /// @@ -11832,461 +11832,461 @@ pub struct ListContextsRequest { /// "projects//locations//metadataStores//contexts/" /// ``` /// - /// Each of the above supported filters can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filters can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\]. +/// Response message for \[MetadataService.ListContexts][google.cloud.aiplatform.v1beta1.MetadataService.ListContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContextsResponse { - /// The Contexts retrieved from the MetadataStore. + /// The Contexts retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub contexts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListContextsRequest.page_token][google.cloud.aiplatform.v1beta1.ListContextsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListContextsRequest.page_token][google.cloud.aiplatform.v1beta1.ListContextsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateContext][google.cloud.aiplatform.v1beta1.MetadataService.UpdateContext\]. +/// Request message for \[MetadataService.UpdateContext][google.cloud.aiplatform.v1beta1.MetadataService.UpdateContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateContextRequest { - /// Required. The Context containing updates. - /// The Context's \[Context.name][google.cloud.aiplatform.v1beta1.Context.name\] field is used to identify the Context to be - /// updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The Context containing updates. + /// The Context's \[Context.name][google.cloud.aiplatform.v1beta1.Context.name\] field is used to identify the Context to be + /// updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(message, optional, tag="1")] pub context: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Context][google.cloud.aiplatform.v1beta1.Context\] is not found, a new \[Context][google.cloud.aiplatform.v1beta1.Context\] is - /// created. + /// If set to true, and the \[Context][google.cloud.aiplatform.v1beta1.Context\] is not found, a new \[Context][google.cloud.aiplatform.v1beta1.Context\] is + /// created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteContext][google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext\]. +/// Request message for \[MetadataService.DeleteContext][google.cloud.aiplatform.v1beta1.MetadataService.DeleteContext\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteContextRequest { - /// Required. The resource name of the Context to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The force deletion semantics is still undefined. - /// Users should not use this field. + /// The force deletion semantics is still undefined. + /// Users should not use this field. #[prost(bool, tag="2")] pub force: bool, - /// Optional. The etag of the Context to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Context to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="3")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. +/// Request message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsRequest { - /// Required. The metadata store to purge Contexts from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Contexts from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Contexts to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Contexts to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Context names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Context names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. +/// Response message for \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsResponse { - /// The number of Contexts that this request deleted (or, if `force` is false, - /// the number of Contexts that will be deleted). This can be an estimate. + /// The number of Contexts that this request deleted (or, if `force` is false, + /// the number of Contexts that will be deleted). This can be an estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Context names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Context names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. +/// Details of operations that perform \[MetadataService.PurgeContexts][google.cloud.aiplatform.v1beta1.MetadataService.PurgeContexts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeContextsMetadata { - /// Operation metadata for purging Contexts. + /// Operation metadata for purging Contexts. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions\]. +/// Request message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextArtifactsAndExecutionsRequest { - /// Required. The resource name of the Context that the Artifacts and Executions - /// belong to. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Required. The resource name of the Context that the Artifacts and Executions + /// belong to. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, - /// The resource names of the Artifacts to attribute to the Context. + /// The resource names of the Artifacts to attribute to the Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` #[prost(string, repeated, tag="2")] pub artifacts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The resource names of the Executions to associate with the - /// Context. + /// The resource names of the Executions to associate with the + /// Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, repeated, tag="3")] pub executions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions\]. +/// Response message for \[MetadataService.AddContextArtifactsAndExecutions][google.cloud.aiplatform.v1beta1.MetadataService.AddContextArtifactsAndExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextArtifactsAndExecutionsResponse { } -/// Request message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren\]. +/// Request message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextChildrenRequest { - /// Required. The resource name of the parent Context. + /// Required. The resource name of the parent Context. /// - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, - /// The resource names of the child Contexts. + /// The resource names of the child Contexts. #[prost(string, repeated, tag="2")] pub child_contexts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren\]. +/// Response message for \[MetadataService.AddContextChildren][google.cloud.aiplatform.v1beta1.MetadataService.AddContextChildren\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddContextChildrenResponse { } -/// Request message for \[MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph\]. +/// Request message for \[MetadataService.QueryContextLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryContextLineageSubgraph\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryContextLineageSubgraphRequest { - /// Required. The resource name of the Context whose Artifacts and Executions - /// should be retrieved as a LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` - /// - /// The request may error with FAILED_PRECONDITION if the number of Artifacts, - /// the number of Executions, or the number of Events that would be returned - /// for the Context exceeds 1000. + /// Required. The resource name of the Context whose Artifacts and Executions + /// should be retrieved as a LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/contexts/{context}` + /// + /// The request may error with FAILED_PRECONDITION if the number of Artifacts, + /// the number of Executions, or the number of Events that would be returned + /// for the Context exceeds 1000. #[prost(string, tag="1")] pub context: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.CreateExecution][google.cloud.aiplatform.v1beta1.MetadataService.CreateExecution\]. +/// Request message for \[MetadataService.CreateExecution][google.cloud.aiplatform.v1beta1.MetadataService.CreateExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateExecutionRequest { - /// Required. The resource name of the MetadataStore where the Execution should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the Execution should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Execution to create. + /// Required. The Execution to create. #[prost(message, optional, tag="2")] pub execution: ::core::option::Option, - /// The {execution} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` - /// If not provided, the Execution's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all Executions in the parent MetadataStore. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting Execution.) + /// The {execution} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// If not provided, the Execution's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all Executions in the parent MetadataStore. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting Execution.) #[prost(string, tag="3")] pub execution_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetExecution][google.cloud.aiplatform.v1beta1.MetadataService.GetExecution\]. +/// Request message for \[MetadataService.GetExecution][google.cloud.aiplatform.v1beta1.MetadataService.GetExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExecutionRequest { - /// Required. The resource name of the Execution to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\]. +/// Request message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExecutionsRequest { - /// Required. The MetadataStore whose Executions should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose Executions should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of Executions to return. The service may return fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of Executions to return. The service may return fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\] - /// call. Provide this to retrieve the subsequent page. + /// A page token, received from a previous \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\] + /// call. Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with an - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with an + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter specifying the boolean condition for the Executions to satisfy in - /// order to be part of the result set. - /// The syntax to define filter query is based on - /// Following are the supported set of filters: + /// Filter specifying the boolean condition for the Executions to satisfy in + /// order to be part of the result set. + /// The syntax to define filter query is based on + /// Following are the supported set of filters: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"`. /// Supported fields include: `name`, `display_name`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"`. - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..` /// For example: `metadata.field_1.number_value = 10.0` - /// * **Context based filtering**: + /// * **Context based filtering**: /// To filter Executions based on the contexts to which they belong use /// the function operator with the full resource name: /// `in_context()`. /// For example: /// `in_context("projects//locations//metadataStores//contexts/")` /// - /// Each of the above supported filters can be combined together using - /// logical operators (`AND` & `OR`). - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// Each of the above supported filters can be combined together using + /// logical operators (`AND` & `OR`). + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\]. +/// Response message for \[MetadataService.ListExecutions][google.cloud.aiplatform.v1beta1.MetadataService.ListExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExecutionsResponse { - /// The Executions retrieved from the MetadataStore. + /// The Executions retrieved from the MetadataStore. #[prost(message, repeated, tag="1")] pub executions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as \[ListExecutionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListExecutionsRequest.page_token\] - /// to retrieve the next page. - /// If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as \[ListExecutionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListExecutionsRequest.page_token\] + /// to retrieve the next page. + /// If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.UpdateExecution][google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution\]. +/// Request message for \[MetadataService.UpdateExecution][google.cloud.aiplatform.v1beta1.MetadataService.UpdateExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExecutionRequest { - /// Required. The Execution containing updates. - /// The Execution's \[Execution.name][google.cloud.aiplatform.v1beta1.Execution.name\] field is used to identify the Execution - /// to be updated. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The Execution containing updates. + /// The Execution's \[Execution.name][google.cloud.aiplatform.v1beta1.Execution.name\] field is used to identify the Execution + /// to be updated. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(message, optional, tag="1")] pub execution: ::core::option::Option, - /// Optional. A FieldMask indicating which fields should be updated. - /// Functionality of this field is not yet supported. + /// Optional. A FieldMask indicating which fields should be updated. + /// Functionality of this field is not yet supported. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the \[Execution][google.cloud.aiplatform.v1beta1.Execution\] is not found, a new \[Execution][google.cloud.aiplatform.v1beta1.Execution\] - /// is created. + /// If set to true, and the \[Execution][google.cloud.aiplatform.v1beta1.Execution\] is not found, a new \[Execution][google.cloud.aiplatform.v1beta1.Execution\] + /// is created. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for \[MetadataService.DeleteExecution][google.cloud.aiplatform.v1beta1.MetadataService.DeleteExecution\]. +/// Request message for \[MetadataService.DeleteExecution][google.cloud.aiplatform.v1beta1.MetadataService.DeleteExecution\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteExecutionRequest { - /// Required. The resource name of the Execution to delete. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution to delete. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the Execution to delete. - /// If this is provided, it must match the server's etag. Otherwise, the - /// request will fail with a FAILED_PRECONDITION. + /// Optional. The etag of the Execution to delete. + /// If this is provided, it must match the server's etag. Otherwise, the + /// request will fail with a FAILED_PRECONDITION. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. +/// Request message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsRequest { - /// Required. The metadata store to purge Executions from. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The metadata store to purge Executions from. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A required filter matching the Executions to be purged. - /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. + /// Required. A required filter matching the Executions to be purged. + /// E.g., `update_time <= 2020-11-19T11:30:00-04:00`. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Flag to indicate to actually perform the purge. - /// If `force` is set to false, the method will return a sample of - /// Execution names that would be deleted. + /// Optional. Flag to indicate to actually perform the purge. + /// If `force` is set to false, the method will return a sample of + /// Execution names that would be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Response message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. +/// Response message for \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsResponse { - /// The number of Executions that this request deleted (or, if `force` is - /// false, the number of Executions that will be deleted). This can be an - /// estimate. + /// The number of Executions that this request deleted (or, if `force` is + /// false, the number of Executions that will be deleted). This can be an + /// estimate. #[prost(int64, tag="1")] pub purge_count: i64, - /// A sample of the Execution names that will be deleted. - /// Only populated if `force` is set to false. The maximum number of samples is - /// 100 (it is possible to return fewer). + /// A sample of the Execution names that will be deleted. + /// Only populated if `force` is set to false. The maximum number of samples is + /// 100 (it is possible to return fewer). #[prost(string, repeated, tag="2")] pub purge_sample: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Details of operations that perform \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. +/// Details of operations that perform \[MetadataService.PurgeExecutions][google.cloud.aiplatform.v1beta1.MetadataService.PurgeExecutions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurgeExecutionsMetadata { - /// Operation metadata for purging Executions. + /// Operation metadata for purging Executions. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents\]. +/// Request message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddExecutionEventsRequest { - /// Required. The resource name of the Execution that the Events connect - /// Artifacts with. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution that the Events connect + /// Artifacts with. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub execution: ::prost::alloc::string::String, - /// The Events to create and add. + /// The Events to create and add. #[prost(message, repeated, tag="2")] pub events: ::prost::alloc::vec::Vec, } -/// Response message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents\]. +/// Response message for \[MetadataService.AddExecutionEvents][google.cloud.aiplatform.v1beta1.MetadataService.AddExecutionEvents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddExecutionEventsResponse { } -/// Request message for \[MetadataService.QueryExecutionInputsAndOutputs][google.cloud.aiplatform.v1beta1.MetadataService.QueryExecutionInputsAndOutputs\]. +/// Request message for \[MetadataService.QueryExecutionInputsAndOutputs][google.cloud.aiplatform.v1beta1.MetadataService.QueryExecutionInputsAndOutputs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryExecutionInputsAndOutputsRequest { - /// Required. The resource name of the Execution whose input and output Artifacts should - /// be retrieved as a LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` + /// Required. The resource name of the Execution whose input and output Artifacts should + /// be retrieved as a LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/executions/{execution}` #[prost(string, tag="1")] pub execution: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.CreateMetadataSchema][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataSchema\]. +/// Request message for \[MetadataService.CreateMetadataSchema][google.cloud.aiplatform.v1beta1.MetadataService.CreateMetadataSchema\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMetadataSchemaRequest { - /// Required. The resource name of the MetadataStore where the MetadataSchema should - /// be created. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The resource name of the MetadataStore where the MetadataSchema should + /// be created. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The MetadataSchema to create. + /// Required. The MetadataSchema to create. #[prost(message, optional, tag="2")] pub metadata_schema: ::core::option::Option, - /// The {metadata_schema} portion of the resource name with the format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` - /// If not provided, the MetadataStore's ID will be a UUID generated by the - /// service. - /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. - /// Must be unique across all MetadataSchemas in the parent Location. - /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED - /// if the caller can't view the preexisting MetadataSchema.) + /// The {metadata_schema} portion of the resource name with the format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` + /// If not provided, the MetadataStore's ID will be a UUID generated by the + /// service. + /// Must be 4-128 characters in length. Valid characters are `/\[a-z][0-9\]-/`. + /// Must be unique across all MetadataSchemas in the parent Location. + /// (Otherwise the request will fail with ALREADY_EXISTS, or PERMISSION_DENIED + /// if the caller can't view the preexisting MetadataSchema.) #[prost(string, tag="3")] pub metadata_schema_id: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.GetMetadataSchema][google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema\]. +/// Request message for \[MetadataService.GetMetadataSchema][google.cloud.aiplatform.v1beta1.MetadataService.GetMetadataSchema\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMetadataSchemaRequest { - /// Required. The resource name of the MetadataSchema to retrieve. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` + /// Required. The resource name of the MetadataSchema to retrieve. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/metadataSchemas/{metadataschema}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\]. +/// Request message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataSchemasRequest { - /// Required. The MetadataStore whose MetadataSchemas should be listed. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` + /// Required. The MetadataStore whose MetadataSchemas should be listed. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of MetadataSchemas to return. The service may return - /// fewer. - /// Must be in range 1-1000, inclusive. Defaults to 100. + /// The maximum number of MetadataSchemas to return. The service may return + /// fewer. + /// Must be in range 1-1000, inclusive. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous - /// \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\] call. Provide this to retrieve the - /// next page. + /// A page token, received from a previous + /// \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\] call. Provide this to retrieve the + /// next page. /// - /// When paginating, all other provided parameters must match the call that - /// provided the page token. (Otherwise the request will fail with - /// INVALID_ARGUMENT error.) + /// When paginating, all other provided parameters must match the call that + /// provided the page token. (Otherwise the request will fail with + /// INVALID_ARGUMENT error.) #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A query to filter available MetadataSchemas for matching results. + /// A query to filter available MetadataSchemas for matching results. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\]. +/// Response message for \[MetadataService.ListMetadataSchemas][google.cloud.aiplatform.v1beta1.MetadataService.ListMetadataSchemas\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMetadataSchemasResponse { - /// The MetadataSchemas found for the MetadataStore. + /// The MetadataSchemas found for the MetadataStore. #[prost(message, repeated, tag="1")] pub metadata_schemas: ::prost::alloc::vec::Vec, - /// A token, which can be sent as - /// \[ListMetadataSchemasRequest.page_token][google.cloud.aiplatform.v1beta1.ListMetadataSchemasRequest.page_token\] to retrieve the next - /// page. If this field is not populated, there are no subsequent pages. + /// A token, which can be sent as + /// \[ListMetadataSchemasRequest.page_token][google.cloud.aiplatform.v1beta1.ListMetadataSchemasRequest.page_token\] to retrieve the next + /// page. If this field is not populated, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph\]. +/// Request message for \[MetadataService.QueryArtifactLineageSubgraph][google.cloud.aiplatform.v1beta1.MetadataService.QueryArtifactLineageSubgraph\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryArtifactLineageSubgraphRequest { - /// Required. The resource name of the Artifact whose Lineage needs to be retrieved as a - /// LineageSubgraph. - /// Format: - /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` - /// - /// The request may error with FAILED_PRECONDITION if the number of Artifacts, - /// the number of Executions, or the number of Events that would be returned - /// for the Context exceeds 1000. + /// Required. The resource name of the Artifact whose Lineage needs to be retrieved as a + /// LineageSubgraph. + /// Format: + /// `projects/{project}/locations/{location}/metadataStores/{metadatastore}/artifacts/{artifact}` + /// + /// The request may error with FAILED_PRECONDITION if the number of Artifacts, + /// the number of Executions, or the number of Events that would be returned + /// for the Context exceeds 1000. #[prost(string, tag="1")] pub artifact: ::prost::alloc::string::String, - /// Specifies the size of the lineage graph in terms of number of hops from the - /// specified artifact. - /// Negative Value: INVALID_ARGUMENT error is returned - /// 0: Only input artifact is returned. - /// No value: Transitive closure is performed to return the complete graph. + /// Specifies the size of the lineage graph in terms of number of hops from the + /// specified artifact. + /// Negative Value: INVALID_ARGUMENT error is returned + /// 0: Only input artifact is returned. + /// No value: Transitive closure is performed to return the complete graph. #[prost(int32, tag="2")] pub max_hops: i32, - /// Filter specifying the boolean condition for the Artifacts to satisfy in - /// order to be part of the Lineage Subgraph. - /// The syntax to define filter query is based on - /// The supported set of filters include the following: + /// Filter specifying the boolean condition for the Artifacts to satisfy in + /// order to be part of the Lineage Subgraph. + /// The syntax to define filter query is based on + /// The supported set of filters include the following: /// - /// * **Attribute filtering**: + /// * **Attribute filtering**: /// For example: `display_name = "test"` /// Supported fields include: `name`, `display_name`, `uri`, `state`, /// `schema_title`, `create_time`, and `update_time`. /// Time fields, such as `create_time` and `update_time`, require values /// specified in RFC-3339 format. /// For example: `create_time = "2020-11-19T11:30:00-04:00"` - /// * **Metadata field**: + /// * **Metadata field**: /// To filter on metadata fields use traversal operation as follows: /// `metadata..`. /// For example: `metadata.field_1.number_value = 10.0` /// - /// Each of the above supported filter types can be combined together using - /// logical operators (`AND` & `OR`). + /// Each of the above supported filter types can be combined together using + /// logical operators (`AND` & `OR`). /// - /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. + /// For example: `display_name = "test" AND metadata.field1.bool_value = true`. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, } @@ -13027,16 +13027,16 @@ pub mod metadata_service_client { } } } -/// Represents one resource that exists in automl.googleapis.com, -/// datalabeling.googleapis.com or ml.googleapis.com. +/// Represents one resource that exists in automl.googleapis.com, +/// datalabeling.googleapis.com or ml.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigratableResource { - /// Output only. Timestamp when the last migration attempt on this MigratableResource - /// started. Will not be set if there's no migration attempt on this - /// MigratableResource. + /// Output only. Timestamp when the last migration attempt on this MigratableResource + /// started. Will not be set if there's no migration attempt on this + /// MigratableResource. #[prost(message, optional, tag="5")] pub last_migrate_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this MigratableResource was last updated. + /// Output only. Timestamp when this MigratableResource was last updated. #[prost(message, optional, tag="6")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, #[prost(oneof="migratable_resource::Resource", tags="1, 2, 3, 4")] @@ -13044,155 +13044,155 @@ pub struct MigratableResource { } /// Nested message and enum types in `MigratableResource`. pub mod migratable_resource { - /// Represents one model Version in ml.googleapis.com. + /// Represents one model Version in ml.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MlEngineModelVersion { - /// The ml.googleapis.com endpoint that this model Version currently lives - /// in. - /// Example values: + /// The ml.googleapis.com endpoint that this model Version currently lives + /// in. + /// Example values: /// - /// * ml.googleapis.com - /// * us-centrall-ml.googleapis.com - /// * europe-west4-ml.googleapis.com - /// * asia-east1-ml.googleapis.com + /// * ml.googleapis.com + /// * us-centrall-ml.googleapis.com + /// * europe-west4-ml.googleapis.com + /// * asia-east1-ml.googleapis.com #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Full resource name of ml engine model Version. - /// Format: `projects/{project}/models/{model}/versions/{version}`. + /// Full resource name of ml engine model Version. + /// Format: `projects/{project}/models/{model}/versions/{version}`. #[prost(string, tag="2")] pub version: ::prost::alloc::string::String, } - /// Represents one Model in automl.googleapis.com. + /// Represents one Model in automl.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomlModel { - /// Full resource name of automl Model. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}`. + /// Full resource name of automl Model. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}`. #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// The Model's display name in automl.googleapis.com. + /// The Model's display name in automl.googleapis.com. #[prost(string, tag="3")] pub model_display_name: ::prost::alloc::string::String, } - /// Represents one Dataset in automl.googleapis.com. + /// Represents one Dataset in automl.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutomlDataset { - /// Full resource name of automl Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}`. + /// Full resource name of automl Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// The Dataset's display name in automl.googleapis.com. + /// The Dataset's display name in automl.googleapis.com. #[prost(string, tag="4")] pub dataset_display_name: ::prost::alloc::string::String, } - /// Represents one Dataset in datalabeling.googleapis.com. + /// Represents one Dataset in datalabeling.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingDataset { - /// Full resource name of data labeling Dataset. - /// Format: - /// `projects/{project}/datasets/{dataset}`. + /// Full resource name of data labeling Dataset. + /// Format: + /// `projects/{project}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// The Dataset's display name in datalabeling.googleapis.com. + /// The Dataset's display name in datalabeling.googleapis.com. #[prost(string, tag="4")] pub dataset_display_name: ::prost::alloc::string::String, - /// The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to - /// the data labeling Dataset. + /// The migratable AnnotatedDataset in datalabeling.googleapis.com belongs to + /// the data labeling Dataset. #[prost(message, repeated, tag="3")] pub data_labeling_annotated_datasets: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `DataLabelingDataset`. pub mod data_labeling_dataset { - /// Represents one AnnotatedDataset in datalabeling.googleapis.com. + /// Represents one AnnotatedDataset in datalabeling.googleapis.com. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataLabelingAnnotatedDataset { - /// Full resource name of data labeling AnnotatedDataset. - /// Format: - /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. + /// Full resource name of data labeling AnnotatedDataset. + /// Format: + /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. #[prost(string, tag="1")] pub annotated_dataset: ::prost::alloc::string::String, - /// The AnnotatedDataset's display name in datalabeling.googleapis.com. + /// The AnnotatedDataset's display name in datalabeling.googleapis.com. #[prost(string, tag="3")] pub annotated_dataset_display_name: ::prost::alloc::string::String, } } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resource { - /// Output only. Represents one Version in ml.googleapis.com. + /// Output only. Represents one Version in ml.googleapis.com. #[prost(message, tag="1")] MlEngineModelVersion(MlEngineModelVersion), - /// Output only. Represents one Model in automl.googleapis.com. + /// Output only. Represents one Model in automl.googleapis.com. #[prost(message, tag="2")] AutomlModel(AutomlModel), - /// Output only. Represents one Dataset in automl.googleapis.com. + /// Output only. Represents one Dataset in automl.googleapis.com. #[prost(message, tag="3")] AutomlDataset(AutomlDataset), - /// Output only. Represents one Dataset in datalabeling.googleapis.com. + /// Output only. Represents one Dataset in datalabeling.googleapis.com. #[prost(message, tag="4")] DataLabelingDataset(DataLabelingDataset), } } -/// Request message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources\]. +/// Request message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchMigratableResourcesRequest { - /// Required. The location that the migratable resources should be searched from. - /// It's the Vertex AI location that the resources can be migrated to, not - /// the resources' original location. - /// Format: - /// `projects/{project}/locations/{location}` + /// Required. The location that the migratable resources should be searched from. + /// It's the Vertex AI location that the resources can be migrated to, not + /// the resources' original location. + /// Format: + /// `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard page size. - /// The default and maximum value is 100. + /// The standard page size. + /// The default and maximum value is 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The standard page token. + /// The standard page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter for your search. You can use the following types of filters: + /// A filter for your search. You can use the following types of filters: /// - /// * Resource type filters. The following strings filter for a specific type + /// * Resource type filters. The following strings filter for a specific type /// of \[MigratableResource][google.cloud.aiplatform.v1beta1.MigratableResource\]: /// * `ml_engine_model_version:*` /// * `automl_model:*` /// * `automl_dataset:*` /// * `data_labeling_dataset:*` - /// * "Migrated or not" filters. The following strings filter for resources + /// * "Migrated or not" filters. The following strings filter for resources /// that either have or have not already been migrated: /// * `last_migrate_time:*` filters for migrated resources. /// * `NOT last_migrate_time:*` filters for not yet migrated resources. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources\]. +/// Response message for \[MigrationService.SearchMigratableResources][google.cloud.aiplatform.v1beta1.MigrationService.SearchMigratableResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchMigratableResourcesResponse { - /// All migratable resources that can be migrated to the - /// location specified in the request. + /// All migratable resources that can be migrated to the + /// location specified in the request. #[prost(message, repeated, tag="1")] pub migratable_resources: ::prost::alloc::vec::Vec, - /// The standard next-page token. - /// The migratable_resources may not fill page_size in - /// SearchMigratableResourcesRequest even when there are subsequent pages. + /// The standard next-page token. + /// The migratable_resources may not fill page_size in + /// SearchMigratableResourcesRequest even when there are subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. +/// Request message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesRequest { - /// Required. The location of the migrated resource will live in. - /// Format: `projects/{project}/locations/{location}` + /// Required. The location of the migrated resource will live in. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The request messages specifying the resources to migrate. - /// They must be in the same location as the destination. - /// Up to 50 resources can be migrated in one batch. + /// Required. The request messages specifying the resources to migrate. + /// They must be in the same location as the destination. + /// Up to 50 resources can be migrated in one batch. #[prost(message, repeated, tag="2")] pub migrate_resource_requests: ::prost::alloc::vec::Vec, } -/// Config of migrating one resource from automl.googleapis.com, -/// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. +/// Config of migrating one resource from automl.googleapis.com, +/// datalabeling.googleapis.com and ml.googleapis.com to Vertex AI. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateResourceRequest { #[prost(oneof="migrate_resource_request::Request", tags="1, 2, 3, 4")] @@ -13200,180 +13200,180 @@ pub struct MigrateResourceRequest { } /// Nested message and enum types in `MigrateResourceRequest`. pub mod migrate_resource_request { - /// Config for migrating version in ml.googleapis.com to Vertex AI's Model. + /// Config for migrating version in ml.googleapis.com to Vertex AI's Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateMlEngineModelVersionConfig { - /// Required. The ml.googleapis.com endpoint that this model version should be migrated - /// from. - /// Example values: + /// Required. The ml.googleapis.com endpoint that this model version should be migrated + /// from. + /// Example values: /// - /// * ml.googleapis.com + /// * ml.googleapis.com /// - /// * us-centrall-ml.googleapis.com + /// * us-centrall-ml.googleapis.com /// - /// * europe-west4-ml.googleapis.com + /// * europe-west4-ml.googleapis.com /// - /// * asia-east1-ml.googleapis.com + /// * asia-east1-ml.googleapis.com #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Required. Full resource name of ml engine model version. - /// Format: `projects/{project}/models/{model}/versions/{version}`. + /// Required. Full resource name of ml engine model version. + /// Format: `projects/{project}/models/{model}/versions/{version}`. #[prost(string, tag="2")] pub model_version: ::prost::alloc::string::String, - /// Required. Display name of the model in Vertex AI. - /// System will pick a display name if unspecified. + /// Required. Display name of the model in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="3")] pub model_display_name: ::prost::alloc::string::String, } - /// Config for migrating Model in automl.googleapis.com to Vertex AI's Model. + /// Config for migrating Model in automl.googleapis.com to Vertex AI's Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateAutomlModelConfig { - /// Required. Full resource name of automl Model. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}`. + /// Required. Full resource name of automl Model. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}`. #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// Optional. Display name of the model in Vertex AI. - /// System will pick a display name if unspecified. + /// Optional. Display name of the model in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub model_display_name: ::prost::alloc::string::String, } - /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's - /// Dataset. + /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's + /// Dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateAutomlDatasetConfig { - /// Required. Full resource name of automl Dataset. - /// Format: - /// `projects/{project}/locations/{location}/datasets/{dataset}`. + /// Required. Full resource name of automl Dataset. + /// Format: + /// `projects/{project}/locations/{location}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. Display name of the Dataset in Vertex AI. - /// System will pick a display name if unspecified. + /// Required. Display name of the Dataset in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub dataset_display_name: ::prost::alloc::string::String, } - /// Config for migrating Dataset in datalabeling.googleapis.com to Vertex - /// AI's Dataset. + /// Config for migrating Dataset in datalabeling.googleapis.com to Vertex + /// AI's Dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateDataLabelingDatasetConfig { - /// Required. Full resource name of data labeling Dataset. - /// Format: - /// `projects/{project}/datasets/{dataset}`. + /// Required. Full resource name of data labeling Dataset. + /// Format: + /// `projects/{project}/datasets/{dataset}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Optional. Display name of the Dataset in Vertex AI. - /// System will pick a display name if unspecified. + /// Optional. Display name of the Dataset in Vertex AI. + /// System will pick a display name if unspecified. #[prost(string, tag="2")] pub dataset_display_name: ::prost::alloc::string::String, - /// Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to - /// Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong - /// to the datalabeling Dataset. + /// Optional. Configs for migrating AnnotatedDataset in datalabeling.googleapis.com to + /// Vertex AI's SavedQuery. The specified AnnotatedDatasets have to belong + /// to the datalabeling Dataset. #[prost(message, repeated, tag="3")] pub migrate_data_labeling_annotated_dataset_configs: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MigrateDataLabelingDatasetConfig`. pub mod migrate_data_labeling_dataset_config { - /// Config for migrating AnnotatedDataset in datalabeling.googleapis.com to - /// Vertex AI's SavedQuery. + /// Config for migrating AnnotatedDataset in datalabeling.googleapis.com to + /// Vertex AI's SavedQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateDataLabelingAnnotatedDatasetConfig { - /// Required. Full resource name of data labeling AnnotatedDataset. - /// Format: - /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. + /// Required. Full resource name of data labeling AnnotatedDataset. + /// Format: + /// `projects/{project}/datasets/{dataset}/annotatedDatasets/{annotated_dataset}`. #[prost(string, tag="1")] pub annotated_dataset: ::prost::alloc::string::String, } } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Request { - /// Config for migrating Version in ml.googleapis.com to Vertex AI's Model. + /// Config for migrating Version in ml.googleapis.com to Vertex AI's Model. #[prost(message, tag="1")] MigrateMlEngineModelVersionConfig(MigrateMlEngineModelVersionConfig), - /// Config for migrating Model in automl.googleapis.com to Vertex AI's - /// Model. + /// Config for migrating Model in automl.googleapis.com to Vertex AI's + /// Model. #[prost(message, tag="2")] MigrateAutomlModelConfig(MigrateAutomlModelConfig), - /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's - /// Dataset. + /// Config for migrating Dataset in automl.googleapis.com to Vertex AI's + /// Dataset. #[prost(message, tag="3")] MigrateAutomlDatasetConfig(MigrateAutomlDatasetConfig), - /// Config for migrating Dataset in datalabeling.googleapis.com to - /// Vertex AI's Dataset. + /// Config for migrating Dataset in datalabeling.googleapis.com to + /// Vertex AI's Dataset. #[prost(message, tag="4")] MigrateDataLabelingDatasetConfig(MigrateDataLabelingDatasetConfig), } } -/// Response message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. +/// Response message for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesResponse { - /// Successfully migrated resources. + /// Successfully migrated resources. #[prost(message, repeated, tag="1")] pub migrate_resource_responses: ::prost::alloc::vec::Vec, } -/// Describes a successfully migrated resource. +/// Describes a successfully migrated resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrateResourceResponse { - /// Before migration, the identifier in ml.googleapis.com, - /// automl.googleapis.com or datalabeling.googleapis.com. + /// Before migration, the identifier in ml.googleapis.com, + /// automl.googleapis.com or datalabeling.googleapis.com. #[prost(message, optional, tag="3")] pub migratable_resource: ::core::option::Option, - /// After migration, the resource name in Vertex AI. + /// After migration, the resource name in Vertex AI. #[prost(oneof="migrate_resource_response::MigratedResource", tags="1, 2")] pub migrated_resource: ::core::option::Option, } /// Nested message and enum types in `MigrateResourceResponse`. pub mod migrate_resource_response { - /// After migration, the resource name in Vertex AI. + /// After migration, the resource name in Vertex AI. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MigratedResource { - /// Migrated Dataset's resource name. + /// Migrated Dataset's resource name. #[prost(string, tag="1")] Dataset(::prost::alloc::string::String), - /// Migrated Model's resource name. + /// Migrated Model's resource name. #[prost(string, tag="2")] Model(::prost::alloc::string::String), } } -/// Runtime operation information for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. +/// Runtime operation information for \[MigrationService.BatchMigrateResources][google.cloud.aiplatform.v1beta1.MigrationService.BatchMigrateResources\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchMigrateResourcesOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Partial results that reflect the latest migration operation progress. + /// Partial results that reflect the latest migration operation progress. #[prost(message, repeated, tag="2")] pub partial_results: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BatchMigrateResourcesOperationMetadata`. pub mod batch_migrate_resources_operation_metadata { - /// Represents a partial result in batch migration operation for one - /// \[MigrateResourceRequest][google.cloud.aiplatform.v1beta1.MigrateResourceRequest\]. + /// Represents a partial result in batch migration operation for one + /// \[MigrateResourceRequest][google.cloud.aiplatform.v1beta1.MigrateResourceRequest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartialResult { - /// It's the same as the value in - /// \[MigrateResourceRequest.migrate_resource_requests][\]. + /// It's the same as the value in + /// \[MigrateResourceRequest.migrate_resource_requests][\]. #[prost(message, optional, tag="1")] pub request: ::core::option::Option, - /// If the resource's migration is ongoing, none of the result will be set. - /// If the resource's migration is finished, either error or one of the - /// migrated resource name will be filled. + /// If the resource's migration is ongoing, none of the result will be set. + /// If the resource's migration is finished, either error or one of the + /// migrated resource name will be filled. #[prost(oneof="partial_result::Result", tags="2, 3, 4")] pub result: ::core::option::Option, } /// Nested message and enum types in `PartialResult`. pub mod partial_result { - /// If the resource's migration is ongoing, none of the result will be set. - /// If the resource's migration is finished, either error or one of the - /// migrated resource name will be filled. + /// If the resource's migration is ongoing, none of the result will be set. + /// If the resource's migration is finished, either error or one of the + /// migrated resource name will be filled. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// The error result of the migration request in case of failure. + /// The error result of the migration request in case of failure. #[prost(message, tag="2")] Error(super::super::super::super::super::rpc::Status), - /// Migrated model resource name. + /// Migrated model resource name. #[prost(string, tag="3")] Model(::prost::alloc::string::String), - /// Migrated dataset resource name. + /// Migrated dataset resource name. #[prost(string, tag="4")] Dataset(::prost::alloc::string::String), } @@ -13501,49 +13501,49 @@ pub mod migration_service_client { } } } -/// A collection of metrics calculated by comparing Model's predictions on all of -/// the test data against annotations from the test data. +/// A collection of metrics calculated by comparing Model's predictions on all of +/// the test data against annotations from the test data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluation { - /// Output only. The resource name of the ModelEvaluation. + /// Output only. The resource name of the ModelEvaluation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the ModelEvaluation. + /// The display name of the ModelEvaluation. #[prost(string, tag="10")] pub display_name: ::prost::alloc::string::String, - /// Points to a YAML file stored on Google Cloud Storage describing the - /// \[metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics\] of this ModelEvaluation. The schema is - /// defined as an OpenAPI 3.0.2 [Schema - /// Object](). + /// Points to a YAML file stored on Google Cloud Storage describing the + /// \[metrics][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics\] of this ModelEvaluation. The schema is + /// defined as an OpenAPI 3.0.2 [Schema + /// Object](). #[prost(string, tag="2")] pub metrics_schema_uri: ::prost::alloc::string::String, - /// Evaluation metrics of the Model. The schema of the metrics is stored in - /// \[metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri\] + /// Evaluation metrics of the Model. The schema of the metrics is stored in + /// \[metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluation.metrics_schema_uri\] #[prost(message, optional, tag="3")] pub metrics: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this ModelEvaluation was created. + /// Output only. Timestamp when this ModelEvaluation was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// All possible \[dimensions][ModelEvaluationSlice.slice.dimension\] of - /// ModelEvaluationSlices. The dimensions can be used as the filter of the - /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\] request, in the form of - /// `slice.dimension = `. + /// All possible \[dimensions][ModelEvaluationSlice.slice.dimension\] of + /// ModelEvaluationSlices. The dimensions can be used as the filter of the + /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\] request, in the form of + /// `slice.dimension = `. #[prost(string, repeated, tag="5")] pub slice_dimensions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Aggregated explanation metrics for the Model's prediction output over the - /// data this ModelEvaluation uses. This field is populated only if the Model - /// is evaluated with explanations, and only for AutoML tabular Models. + /// Aggregated explanation metrics for the Model's prediction output over the + /// data this ModelEvaluation uses. This field is populated only if the Model + /// is evaluated with explanations, and only for AutoML tabular Models. /// #[prost(message, optional, tag="8")] pub model_explanation: ::core::option::Option, - /// Describes the values of \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] that are used for explaining - /// the predicted values on the evaluated data. + /// Describes the values of \[ExplanationSpec][google.cloud.aiplatform.v1beta1.ExplanationSpec\] that are used for explaining + /// the predicted values on the evaluated data. #[prost(message, repeated, tag="9")] pub explanation_specs: ::prost::alloc::vec::Vec, - /// The metadata of the ModelEvaluation. - /// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a - /// structured value with keys of "pipeline_job_id", "evaluation_dataset_type", - /// "evaluation_dataset_path". + /// The metadata of the ModelEvaluation. + /// For the ModelEvaluation uploaded from Managed Pipeline, metadata contains a + /// structured value with keys of "pipeline_job_id", "evaluation_dataset_type", + /// "evaluation_dataset_path". #[prost(message, optional, tag="11")] pub metadata: ::core::option::Option<::prost_types::Value>, } @@ -13551,127 +13551,127 @@ pub struct ModelEvaluation { pub mod model_evaluation { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluationExplanationSpec { - /// Explanation type. + /// Explanation type. /// - /// For AutoML Image Classification models, possible values are: + /// For AutoML Image Classification models, possible values are: /// /// * `image-integrated-gradients` /// * `image-xrai` #[prost(string, tag="1")] pub explanation_type: ::prost::alloc::string::String, - /// Explanation spec details. + /// Explanation spec details. #[prost(message, optional, tag="2")] pub explanation_spec: ::core::option::Option, } } -/// A collection of metrics calculated by comparing Model's predictions on a -/// slice of the test data against ground truth annotations. +/// A collection of metrics calculated by comparing Model's predictions on a +/// slice of the test data against ground truth annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluationSlice { - /// Output only. The resource name of the ModelEvaluationSlice. + /// Output only. The resource name of the ModelEvaluationSlice. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The slice of the test data that is used to evaluate the Model. + /// Output only. The slice of the test data that is used to evaluate the Model. #[prost(message, optional, tag="2")] pub slice: ::core::option::Option, - /// Output only. Points to a YAML file stored on Google Cloud Storage describing the - /// \[metrics][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.metrics\] of this ModelEvaluationSlice. The - /// schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). + /// Output only. Points to a YAML file stored on Google Cloud Storage describing the + /// \[metrics][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.metrics\] of this ModelEvaluationSlice. The + /// schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). #[prost(string, tag="3")] pub metrics_schema_uri: ::prost::alloc::string::String, - /// Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored - /// in \[metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.metrics_schema_uri\] + /// Output only. Sliced evaluation metrics of the Model. The schema of the metrics is stored + /// in \[metrics_schema_uri][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.metrics_schema_uri\] #[prost(message, optional, tag="4")] pub metrics: ::core::option::Option<::prost_types::Value>, - /// Output only. Timestamp when this ModelEvaluationSlice was created. + /// Output only. Timestamp when this ModelEvaluationSlice was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `ModelEvaluationSlice`. pub mod model_evaluation_slice { - /// Definition of a slice. + /// Definition of a slice. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Slice { - /// Output only. The dimension of the slice. - /// Well-known dimensions are: + /// Output only. The dimension of the slice. + /// Well-known dimensions are: /// * `annotationSpec`: This slice is on the test data that has either /// ground truth or prediction with \[AnnotationSpec.display_name][google.cloud.aiplatform.v1beta1.AnnotationSpec.display_name\] /// equals to \[value][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.Slice.value\]. #[prost(string, tag="1")] pub dimension: ::prost::alloc::string::String, - /// Output only. The value of the dimension in this slice. + /// Output only. The value of the dimension in this slice. #[prost(string, tag="2")] pub value: ::prost::alloc::string::String, } } -/// Request message for \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\]. +/// Request message for \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelRequest { - /// Required. The resource name of the Location into which to upload the Model. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location into which to upload the Model. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The resource name of the model into which to upload the version. Only - /// specify this field when uploading a new version. + /// Optional. The resource name of the model into which to upload the version. Only + /// specify this field when uploading a new version. #[prost(string, tag="4")] pub parent_model: ::prost::alloc::string::String, - /// Optional. The ID to use for the uploaded Model, which will become the final - /// component of the model resource name. + /// Optional. The ID to use for the uploaded Model, which will become the final + /// component of the model resource name. /// - /// This value may be up to 63 characters, and valid characters are - /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. + /// This value may be up to 63 characters, and valid characters are + /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. #[prost(string, tag="5")] pub model_id: ::prost::alloc::string::String, - /// Required. The Model to create. + /// Required. The Model to create. #[prost(message, optional, tag="2")] pub model: ::core::option::Option, } -/// Details of \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] operation. +/// Details of \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Response message of \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] operation. +/// Response message of \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UploadModelResponse { - /// The name of the uploaded Model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// The name of the uploaded Model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// Output only. The version ID of the model that is uploaded. + /// Output only. The version ID of the model that is uploaded. #[prost(string, tag="2")] pub model_version_id: ::prost::alloc::string::String, } -/// Request message for \[ModelService.GetModel][google.cloud.aiplatform.v1beta1.ModelService.GetModel\]. +/// Request message for \[ModelService.GetModel][google.cloud.aiplatform.v1beta1.ModelService.GetModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelRequest { - /// Required. The name of the Model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the Model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` /// - /// In order to retrieve a specific version of the model, also provide - /// the version ID or version alias. + /// In order to retrieve a specific version of the model, also provide + /// the version ID or version alias. /// Example: `projects/{project}/locations/{location}/models/{model}@2` /// or /// `projects/{project}/locations/{location}/models/{model}@golden` - /// If no version ID or alias is specified, the "default" version will be - /// returned. The "default" version alias is created for the first version of - /// the model, and can be moved to other versions later on. There will be - /// exactly one default version. + /// If no version ID or alias is specified, the "default" version will be + /// returned. The "default" version alias is created for the first version of + /// the model, and can be moved to other versions later on. There will be + /// exactly one default version. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\]. +/// Request message for \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. The resource name of the Location to list the Models from. - /// Format: `projects/{project}/locations/{location}` + /// Required. The resource name of the Location to list the Models from. + /// Format: `projects/{project}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `model` supports = and !=. `model` represents the Model ID, /// i.e. the last segment of the Model's [resource name]\[google.cloud.aiplatform.v1beta1.Model.name\]. @@ -13681,365 +13681,365 @@ pub struct ListModelsRequest { /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `model=1234` /// * `displayName="myDisplayName"` /// * `labels.myKey="myValue"` #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelsResponse.next_page_token\] of the previous - /// \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelsResponse.next_page_token\] of the previous + /// \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\] +/// Response message for \[ModelService.ListModels][google.cloud.aiplatform.v1beta1.ModelService.ListModels\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// List of Models in the requested page. + /// List of Models in the requested page. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions\]. +/// Request message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelVersionsRequest { - /// Required. The name of the model to list versions for. + /// Required. The name of the model to list versions for. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="2")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsResponse.next_page_token\] of the previous - /// \[ModelService.ListModelversions][\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelVersionsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsResponse.next_page_token\] of the previous + /// \[ModelService.ListModelversions][\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. For field names - /// both snake_case and camelCase are supported. + /// An expression for filtering the results of the request. For field names + /// both snake_case and camelCase are supported. /// /// * `labels` supports general map functions that is: /// * `labels.key=value` - key:value equality /// * `labels.key:* or labels:key - key existence /// * A key including a space must be quoted. `labels."a key"`. /// - /// Some examples: + /// Some examples: /// /// * `labels.myKey="myValue"` #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions\] +/// Response message for \[ModelService.ListModelVersions][google.cloud.aiplatform.v1beta1.ModelService.ListModelVersions\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelVersionsResponse { - /// List of Model versions in the requested page. - /// In the returned Model name field, version ID instead of regvision tag will - /// be included. + /// List of Model versions in the requested page. + /// In the returned Model name field, version ID instead of regvision tag will + /// be included. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListModelVersionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListModelVersionsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelVersionsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.UpdateModel][google.cloud.aiplatform.v1beta1.ModelService.UpdateModel\]. +/// Request message for \[ModelService.UpdateModel][google.cloud.aiplatform.v1beta1.ModelService.UpdateModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelRequest { - /// Required. The Model which replaces the resource on the server. - /// When Model Versioning is enabled, the model.name will be used to determine - /// whether to update the model or model version. - /// 1. model.name with the @ value, e.g. models/123@1, refers to a version - /// specific update. - /// 2. model.name without the @ value, e.g. models/123, refers to a model - /// update. - /// 3. model.name with @-, e.g. models/123@-, refers to a model update. - /// 4. Supported model fields: display_name, description; supported - /// version-specific fields: version_description. Labels are supported in both - /// scenarios. Both the model labels and the version labels are merged when a - /// model is returned. When updating labels, if the request is for - /// model-specific update, model label gets updated. Otherwise, version labels - /// get updated. - /// 5. A model name or model version name fields update mismatch will cause a - /// precondition error. - /// 6. One request cannot update both the model and the version fields. You - /// must update them separately. + /// Required. The Model which replaces the resource on the server. + /// When Model Versioning is enabled, the model.name will be used to determine + /// whether to update the model or model version. + /// 1. model.name with the @ value, e.g. models/123@1, refers to a version + /// specific update. + /// 2. model.name without the @ value, e.g. models/123, refers to a model + /// update. + /// 3. model.name with @-, e.g. models/123@-, refers to a model update. + /// 4. Supported model fields: display_name, description; supported + /// version-specific fields: version_description. Labels are supported in both + /// scenarios. Both the model labels and the version labels are merged when a + /// model is returned. When updating labels, if the request is for + /// model-specific update, model label gets updated. Otherwise, version labels + /// get updated. + /// 5. A model name or model version name fields update mismatch will cause a + /// precondition error. + /// 6. One request cannot update both the model and the version fields. You + /// must update them separately. #[prost(message, optional, tag="1")] pub model: ::core::option::Option, - /// Required. The update mask applies to the resource. - /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// Required. The update mask applies to the resource. + /// For the `FieldMask` definition, see \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\]. +/// Request message for +/// \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExplanationDatasetRequest { - /// Required. The resource name of the Model to update. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The resource name of the Model to update. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub model: ::prost::alloc::string::String, - /// The example config containing the location of the dataset. + /// The example config containing the location of the dataset. #[prost(message, optional, tag="2")] pub examples: ::core::option::Option, } -/// Runtime operation information for -/// \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\]. +/// Runtime operation information for +/// \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExplanationDatasetOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, } -/// Request message for \[ModelService.DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel\]. +/// Request message for \[ModelService.DeleteModel][google.cloud.aiplatform.v1beta1.ModelService.DeleteModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelRequest { - /// Required. The name of the Model resource to be deleted. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the Model resource to be deleted. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.DeleteModelVersion][google.cloud.aiplatform.v1beta1.ModelService.DeleteModelVersion\]. +/// Request message for \[ModelService.DeleteModelVersion][google.cloud.aiplatform.v1beta1.ModelService.DeleteModelVersion\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelVersionRequest { - /// Required. The name of the model version to be deleted, with a version ID explicitly - /// included. + /// Required. The name of the model version to be deleted, with a version ID explicitly + /// included. /// - /// Example: `projects/{project}/locations/{location}/models/{model}@1234` + /// Example: `projects/{project}/locations/{location}/models/{model}@1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.MergeVersionAliases][google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases\]. +/// Request message for \[ModelService.MergeVersionAliases][google.cloud.aiplatform.v1beta1.ModelService.MergeVersionAliases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MergeVersionAliasesRequest { - /// Required. The name of the model version to merge aliases, with a version ID - /// explicitly included. + /// Required. The name of the model version to merge aliases, with a version ID + /// explicitly included. /// - /// Example: `projects/{project}/locations/{location}/models/{model}@1234` + /// Example: `projects/{project}/locations/{location}/models/{model}@1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The set of version aliases to merge. - /// The alias should be at most 128 characters, and match - /// `\[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9\]`. - /// Add the `-` prefix to an alias means removing that alias from the version. - /// `-` is NOT counted in the 128 characters. Example: `-golden` means removing - /// the `golden` alias from the version. - /// - /// There is NO ordering in aliases, which means - /// 1) The aliases returned from GetModel API might not have the exactly same - /// order from this MergeVersionAliases API. 2) Adding and deleting the same - /// alias in the request is not recommended, and the 2 operations will be - /// cancelled out. + /// Required. The set of version aliases to merge. + /// The alias should be at most 128 characters, and match + /// `\[a-z][a-zA-Z0-9-]{0,126}[a-z-0-9\]`. + /// Add the `-` prefix to an alias means removing that alias from the version. + /// `-` is NOT counted in the 128 characters. Example: `-golden` means removing + /// the `golden` alias from the version. + /// + /// There is NO ordering in aliases, which means + /// 1) The aliases returned from GetModel API might not have the exactly same + /// order from this MergeVersionAliases API. 2) Adding and deleting the same + /// alias in the request is not recommended, and the 2 operations will be + /// cancelled out. #[prost(string, repeated, tag="2")] pub version_aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\]. +/// Request message for \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelRequest { - /// Required. The resource name of the Model to export. - /// The resource name may contain version id or version alias to specify the - /// version, if no version is specified, the default version will be exported. + /// Required. The resource name of the Model to export. + /// The resource name may contain version id or version alias to specify the + /// version, if no version is specified, the default version will be exported. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location and configuration. + /// Required. The desired output location and configuration. #[prost(message, optional, tag="2")] pub output_config: ::core::option::Option, } /// Nested message and enum types in `ExportModelRequest`. pub mod export_model_request { - /// Output configuration for the Model export. + /// Output configuration for the Model export. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// The ID of the format in which the Model must be exported. Each Model - /// lists the [export formats it supports]\[google.cloud.aiplatform.v1beta1.Model.supported_export_formats\]. - /// If no value is provided here, then the first from the list of the Model's - /// supported formats is used by default. + /// The ID of the format in which the Model must be exported. Each Model + /// lists the [export formats it supports]\[google.cloud.aiplatform.v1beta1.Model.supported_export_formats\]. + /// If no value is provided here, then the first from the list of the Model's + /// supported formats is used by default. #[prost(string, tag="1")] pub export_format_id: ::prost::alloc::string::String, - /// The Cloud Storage location where the Model artifact is to be - /// written to. Under the directory given as the destination a new one with - /// name "`model-export--`", - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, - /// will be created. Inside, the Model and any of its supporting files - /// will be written. - /// This field should only be set when the `exportableContent` field of the - /// \[Model.supported_export_formats\] object contains `ARTIFACT`. + /// The Cloud Storage location where the Model artifact is to be + /// written to. Under the directory given as the destination a new one with + /// name "`model-export--`", + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format, + /// will be created. Inside, the Model and any of its supporting files + /// will be written. + /// This field should only be set when the `exportableContent` field of the + /// \[Model.supported_export_formats\] object contains `ARTIFACT`. #[prost(message, optional, tag="3")] pub artifact_destination: ::core::option::Option, - /// The Google Container Registry or Artifact Registry uri where the - /// Model container image will be copied to. - /// This field should only be set when the `exportableContent` field of the - /// \[Model.supported_export_formats\] object contains `IMAGE`. + /// The Google Container Registry or Artifact Registry uri where the + /// Model container image will be copied to. + /// This field should only be set when the `exportableContent` field of the + /// \[Model.supported_export_formats\] object contains `IMAGE`. #[prost(message, optional, tag="4")] pub image_destination: ::core::option::Option, } } -/// Details of \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\] operation. +/// Details of \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOperationMetadata { - /// The common part of the operation metadata. + /// The common part of the operation metadata. #[prost(message, optional, tag="1")] pub generic_metadata: ::core::option::Option, - /// Output only. Information further describing the output of this Model export. + /// Output only. Information further describing the output of this Model export. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportModelOperationMetadata`. pub mod export_model_operation_metadata { - /// Further describes the output of the ExportModel. Supplements - /// \[ExportModelRequest.OutputConfig][google.cloud.aiplatform.v1beta1.ExportModelRequest.OutputConfig\]. + /// Further describes the output of the ExportModel. Supplements + /// \[ExportModelRequest.OutputConfig][google.cloud.aiplatform.v1beta1.ExportModelRequest.OutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputInfo { - /// Output only. If the Model artifact is being exported to Google Cloud Storage this is - /// the full path of the directory created, into which the Model files are - /// being written to. + /// Output only. If the Model artifact is being exported to Google Cloud Storage this is + /// the full path of the directory created, into which the Model files are + /// being written to. #[prost(string, tag="2")] pub artifact_output_uri: ::prost::alloc::string::String, - /// Output only. If the Model image is being exported to Google Container Registry or - /// Artifact Registry this is the full path of the image created. + /// Output only. If the Model image is being exported to Google Container Registry or + /// Artifact Registry this is the full path of the image created. #[prost(string, tag="3")] pub image_output_uri: ::prost::alloc::string::String, } } -/// Response message of \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\] operation. +/// Response message of \[ModelService.UpdateExplanationDataset][google.cloud.aiplatform.v1beta1.ModelService.UpdateExplanationDataset\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExplanationDatasetResponse { } -/// Response message of \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\] operation. +/// Response message of \[ModelService.ExportModel][google.cloud.aiplatform.v1beta1.ModelService.ExportModel\] operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelResponse { } -/// Request message for \[ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation\] +/// Request message for \[ModelService.ImportModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.ImportModelEvaluation\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportModelEvaluationRequest { - /// Required. The name of the parent model resource. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The name of the parent model resource. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Model evaluation resource to be imported. + /// Required. Model evaluation resource to be imported. #[prost(message, optional, tag="2")] pub model_evaluation: ::core::option::Option, } -/// Request message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices\] +/// Request message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchImportModelEvaluationSlicesRequest { - /// Required. The name of the parent ModelEvaluation resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The name of the parent ModelEvaluation resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Model evaluation slice resource to be imported. + /// Required. Model evaluation slice resource to be imported. #[prost(message, repeated, tag="2")] pub model_evaluation_slices: ::prost::alloc::vec::Vec, } -/// Response message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices\] +/// Response message for \[ModelService.BatchImportModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.BatchImportModelEvaluationSlices\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchImportModelEvaluationSlicesResponse { - /// Output only. List of imported \[ModelEvaluationSlice.name][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.name\]. + /// Output only. List of imported \[ModelEvaluationSlice.name][google.cloud.aiplatform.v1beta1.ModelEvaluationSlice.name\]. #[prost(string, repeated, tag="1")] pub imported_model_evaluation_slices: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for \[ModelService.GetModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation\]. +/// Request message for \[ModelService.GetModelEvaluation][google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationRequest { - /// Required. The name of the ModelEvaluation resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The name of the ModelEvaluation resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\]. +/// Request message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsRequest { - /// Required. The resource name of the Model to list the ModelEvaluations from. - /// Format: `projects/{project}/locations/{location}/models/{model}` + /// Required. The resource name of the Model to list the ModelEvaluations from. + /// Format: `projects/{project}/locations/{location}/models/{model}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationsResponse.next_page_token\] of the previous - /// \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationsResponse.next_page_token\] of the previous + /// \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\]. +/// Response message for \[ModelService.ListModelEvaluations][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsResponse { - /// List of ModelEvaluations in the requested page. + /// List of ModelEvaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluations: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelEvaluationsRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[ModelService.GetModelEvaluationSlice][google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSlice\]. +/// Request message for \[ModelService.GetModelEvaluationSlice][google.cloud.aiplatform.v1beta1.ModelService.GetModelEvaluationSlice\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationSliceRequest { - /// Required. The name of the ModelEvaluationSlice resource. - /// Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` + /// Required. The name of the ModelEvaluationSlice resource. + /// Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}/slices/{slice}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\]. +/// Request message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationSlicesRequest { - /// Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices - /// from. Format: - /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` + /// Required. The resource name of the ModelEvaluation to list the ModelEvaluationSlices + /// from. Format: + /// `projects/{project}/locations/{location}/models/{model}/evaluations/{evaluation}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The standard list filter. + /// The standard list filter. /// /// * `slice.dimension` - for =. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The standard list page size. + /// The standard list page size. #[prost(int32, tag="3")] pub page_size: i32, - /// The standard list page token. - /// Typically obtained via - /// \[ListModelEvaluationSlicesResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse.next_page_token\] of the previous - /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\] call. + /// The standard list page token. + /// Typically obtained via + /// \[ListModelEvaluationSlicesResponse.next_page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesResponse.next_page_token\] of the previous + /// \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\] call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="5")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\]. +/// Response message for \[ModelService.ListModelEvaluationSlices][google.cloud.aiplatform.v1beta1.ModelService.ListModelEvaluationSlices\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationSlicesResponse { - /// List of ModelEvaluations in the requested page. + /// List of ModelEvaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluation_slices: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelEvaluationSlicesRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesRequest.page_token\] to obtain that - /// page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelEvaluationSlicesRequest.page_token][google.cloud.aiplatform.v1beta1.ListModelEvaluationSlicesRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -14471,22 +14471,22 @@ pub mod model_service_client { } } } -/// Represents the failure policy of a pipeline. Currently, the default of a -/// pipeline is that the pipeline will continue to run until no more tasks can be -/// executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a -/// pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling -/// any new tasks when a task has failed. Any scheduled tasks will continue to -/// completion. +/// Represents the failure policy of a pipeline. Currently, the default of a +/// pipeline is that the pipeline will continue to run until no more tasks can be +/// executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a +/// pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling +/// any new tasks when a task has failed. Any scheduled tasks will continue to +/// completion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PipelineFailurePolicy { - /// Default value, and follows fail slow behavior. + /// Default value, and follows fail slow behavior. Unspecified = 0, - /// Indicates that the pipeline should continue to run until all possible - /// tasks have been scheduled and completed. + /// Indicates that the pipeline should continue to run until all possible + /// tasks have been scheduled and completed. FailSlow = 1, - /// Indicates that the pipeline should stop scheduling new tasks after a task - /// has failed. + /// Indicates that the pipeline should stop scheduling new tasks after a task + /// has failed. FailFast = 2, } impl PipelineFailurePolicy { @@ -14502,30 +14502,30 @@ impl PipelineFailurePolicy { } } } -/// Describes the state of a pipeline. +/// Describes the state of a pipeline. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PipelineState { - /// The pipeline state is unspecified. + /// The pipeline state is unspecified. Unspecified = 0, - /// The pipeline has been created or resumed, and processing has not yet - /// begun. + /// The pipeline has been created or resumed, and processing has not yet + /// begun. Queued = 1, - /// The service is preparing to run the pipeline. + /// The service is preparing to run the pipeline. Pending = 2, - /// The pipeline is in progress. + /// The pipeline is in progress. Running = 3, - /// The pipeline completed successfully. + /// The pipeline completed successfully. Succeeded = 4, - /// The pipeline failed. + /// The pipeline failed. Failed = 5, - /// The pipeline is being cancelled. From this state, the pipeline may only go - /// to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or - /// PIPELINE_STATE_CANCELLED. + /// The pipeline is being cancelled. From this state, the pipeline may only go + /// to either PIPELINE_STATE_SUCCEEDED, PIPELINE_STATE_FAILED or + /// PIPELINE_STATE_CANCELLED. Cancelling = 6, - /// The pipeline has been cancelled. + /// The pipeline has been cancelled. Cancelled = 7, - /// The pipeline has been stopped, and can be resumed. + /// The pipeline has been stopped, and can be resumed. Paused = 8, } impl PipelineState { @@ -14547,7 +14547,7 @@ impl PipelineState { } } } -/// Value is the value of the field. +/// Value is the value of the field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { #[prost(oneof="value::Value", tags="1, 2, 3")] @@ -14557,269 +14557,269 @@ pub struct Value { pub mod value { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// An integer value. + /// An integer value. #[prost(int64, tag="1")] IntValue(i64), - /// A double value. + /// A double value. #[prost(double, tag="2")] DoubleValue(f64), - /// A string value. + /// A string value. #[prost(string, tag="3")] StringValue(::prost::alloc::string::String), } } -/// An instance of a machine learning PipelineJob. +/// An instance of a machine learning PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineJob { - /// Output only. The resource name of the PipelineJob. + /// Output only. The resource name of the PipelineJob. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the Pipeline. - /// The name can be up to 128 characters long and can be consist of any UTF-8 - /// characters. + /// The display name of the Pipeline. + /// The name can be up to 128 characters long and can be consist of any UTF-8 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. Pipeline creation time. + /// Output only. Pipeline creation time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Pipeline start time. + /// Output only. Pipeline start time. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Pipeline end time. + /// Output only. Pipeline end time. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this PipelineJob was most recently updated. + /// Output only. Timestamp when this PipelineJob was most recently updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The spec of the pipeline. + /// The spec of the pipeline. #[prost(message, optional, tag="7")] pub pipeline_spec: ::core::option::Option<::prost_types::Struct>, - /// Output only. The detailed state of the job. + /// Output only. The detailed state of the job. #[prost(enumeration="PipelineState", tag="8")] pub state: i32, - /// Output only. The details of pipeline run. Not available in the list view. + /// Output only. The details of pipeline run. Not available in the list view. #[prost(message, optional, tag="9")] pub job_detail: ::core::option::Option, - /// Output only. The error that occurred during pipeline execution. - /// Only populated when the pipeline's state is FAILED or CANCELLED. + /// Output only. The error that occurred during pipeline execution. + /// Only populated when the pipeline's state is FAILED or CANCELLED. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// The labels with user-defined metadata to organize PipelineJob. + /// The labels with user-defined metadata to organize PipelineJob. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Runtime config of the pipeline. + /// Runtime config of the pipeline. #[prost(message, optional, tag="12")] pub runtime_config: ::core::option::Option, - /// Customer-managed encryption key spec for a pipelineJob. If set, this - /// PipelineJob and all of its sub-resources will be secured by this key. + /// Customer-managed encryption key spec for a pipelineJob. If set, this + /// PipelineJob and all of its sub-resources will be secured by this key. #[prost(message, optional, tag="16")] pub encryption_spec: ::core::option::Option, - /// The service account that the pipeline workload runs as. - /// If not specified, the Compute Engine default service account in the project - /// will be used. - /// See - /// - /// - /// Users starting the pipeline must have the `iam.serviceAccounts.actAs` - /// permission on this service account. + /// The service account that the pipeline workload runs as. + /// If not specified, the Compute Engine default service account in the project + /// will be used. + /// See + /// + /// + /// Users starting the pipeline must have the `iam.serviceAccounts.actAs` + /// permission on this service account. #[prost(string, tag="17")] pub service_account: ::prost::alloc::string::String, - /// The full name of the Compute Engine - /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the - /// Pipeline Job's workload should be peered. For example, - /// `projects/12345/global/networks/myVPC`. - /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) - /// is of the form `projects/{project}/global/networks/{network}`. - /// Where {project} is a project number, as in `12345`, and {network} is a - /// network name. - /// - /// Private services access must already be configured for the network. - /// Pipeline job will apply the network configuration to the GCP resources - /// being launched, if applied, such as Vertex AI - /// Training or Dataflow job. If left unspecified, the workload is not peered - /// with any network. + /// The full name of the Compute Engine + /// \[network\](/compute/docs/networks-and-firewalls#networks) to which the + /// Pipeline Job's workload should be peered. For example, + /// `projects/12345/global/networks/myVPC`. + /// \[Format\](/compute/docs/reference/rest/v1/networks/insert) + /// is of the form `projects/{project}/global/networks/{network}`. + /// Where {project} is a project number, as in `12345`, and {network} is a + /// network name. + /// + /// Private services access must already be configured for the network. + /// Pipeline job will apply the network configuration to the GCP resources + /// being launched, if applied, such as Vertex AI + /// Training or Dataflow job. If left unspecified, the workload is not peered + /// with any network. #[prost(string, tag="18")] pub network: ::prost::alloc::string::String, - /// A template uri from where the \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\], if empty, will - /// be downloaded. + /// A template uri from where the \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\], if empty, will + /// be downloaded. #[prost(string, tag="19")] pub template_uri: ::prost::alloc::string::String, - /// Output only. Pipeline template metadata. Will fill up fields if - /// \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is from supported template registry. + /// Output only. Pipeline template metadata. Will fill up fields if + /// \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is from supported template registry. #[prost(message, optional, tag="20")] pub template_metadata: ::core::option::Option, } /// Nested message and enum types in `PipelineJob`. pub mod pipeline_job { - /// The runtime config of a PipelineJob. + /// The runtime config of a PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeConfig { - /// Deprecated. Use \[RuntimeConfig.parameter_values][google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.parameter_values\] instead. The runtime - /// parameters of the PipelineJob. The parameters will be passed into - /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] to replace the placeholders at runtime. - /// This field is used by pipelines built using - /// `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as - /// pipelines built using Kubeflow Pipelines SDK 1.8 or lower. + /// Deprecated. Use \[RuntimeConfig.parameter_values][google.cloud.aiplatform.v1beta1.PipelineJob.RuntimeConfig.parameter_values\] instead. The runtime + /// parameters of the PipelineJob. The parameters will be passed into + /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] to replace the placeholders at runtime. + /// This field is used by pipelines built using + /// `PipelineJob.pipeline_spec.schema_version` 2.0.0 or lower, such as + /// pipelines built using Kubeflow Pipelines SDK 1.8 or lower. #[prost(map="string, message", tag="1")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, super::Value>, - /// Required. A path in a Cloud Storage bucket, which will be treated as the root - /// output directory of the pipeline. It is used by the system to - /// generate the paths of output artifacts. The artifact paths are generated - /// with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the - /// specified output directory. The service account specified in this - /// pipeline must have the `storage.objects.get` and `storage.objects.create` - /// permissions for this bucket. + /// Required. A path in a Cloud Storage bucket, which will be treated as the root + /// output directory of the pipeline. It is used by the system to + /// generate the paths of output artifacts. The artifact paths are generated + /// with a sub-path pattern `{job_id}/{task_id}/{output_key}` under the + /// specified output directory. The service account specified in this + /// pipeline must have the `storage.objects.get` and `storage.objects.create` + /// permissions for this bucket. #[prost(string, tag="2")] pub gcs_output_directory: ::prost::alloc::string::String, - /// The runtime parameters of the PipelineJob. The parameters will be - /// passed into \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] to replace the placeholders - /// at runtime. This field is used by pipelines built using - /// `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built - /// using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. + /// The runtime parameters of the PipelineJob. The parameters will be + /// passed into \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] to replace the placeholders + /// at runtime. This field is used by pipelines built using + /// `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built + /// using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL. #[prost(map="string, message", tag="3")] pub parameter_values: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::Value>, - /// Represents the failure policy of a pipeline. Currently, the default of a - /// pipeline is that the pipeline will continue to run until no more tasks - /// can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. - /// However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it - /// will stop scheduling any new tasks when a task has failed. Any scheduled - /// tasks will continue to completion. + /// Represents the failure policy of a pipeline. Currently, the default of a + /// pipeline is that the pipeline will continue to run until no more tasks + /// can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. + /// However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it + /// will stop scheduling any new tasks when a task has failed. Any scheduled + /// tasks will continue to completion. #[prost(enumeration="super::PipelineFailurePolicy", tag="4")] pub failure_policy: i32, } } -/// Pipeline template metadata if \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is from supported -/// template registry. Currently, the only supported registry is Artifact -/// Registry. +/// Pipeline template metadata if \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is from supported +/// template registry. Currently, the only supported registry is Artifact +/// Registry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTemplateMetadata { - /// The version_name in artifact registry. + /// The version_name in artifact registry. /// - /// Will always be presented in output if the \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is - /// from supported template registry. + /// Will always be presented in output if the \[PipelineJob.template_uri][google.cloud.aiplatform.v1beta1.PipelineJob.template_uri\] is + /// from supported template registry. /// - /// Format is "sha256:abcdef123456...". + /// Format is "sha256:abcdef123456...". #[prost(string, tag="3")] pub version: ::prost::alloc::string::String, } -/// The runtime detail of PipelineJob. +/// The runtime detail of PipelineJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineJobDetail { - /// Output only. The context of the pipeline. + /// Output only. The context of the pipeline. #[prost(message, optional, tag="1")] pub pipeline_context: ::core::option::Option, - /// Output only. The context of the current pipeline run. + /// Output only. The context of the current pipeline run. #[prost(message, optional, tag="2")] pub pipeline_run_context: ::core::option::Option, - /// Output only. The runtime details of the tasks under the pipeline. + /// Output only. The runtime details of the tasks under the pipeline. #[prost(message, repeated, tag="3")] pub task_details: ::prost::alloc::vec::Vec, } -/// The runtime detail of a task execution. +/// The runtime detail of a task execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskDetail { - /// Output only. The system generated ID of the task. + /// Output only. The system generated ID of the task. #[prost(int64, tag="1")] pub task_id: i64, - /// Output only. The id of the parent task if the task is within a component scope. - /// Empty if the task is at the root level. + /// Output only. The id of the parent task if the task is within a component scope. + /// Empty if the task is at the root level. #[prost(int64, tag="12")] pub parent_task_id: i64, - /// Output only. The user specified name of the task that is defined in - /// \[PipelineJob.spec][\]. + /// Output only. The user specified name of the task that is defined in + /// \[PipelineJob.spec][\]. #[prost(string, tag="2")] pub task_name: ::prost::alloc::string::String, - /// Output only. Task create time. + /// Output only. Task create time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Task start time. + /// Output only. Task start time. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Task end time. + /// Output only. Task end time. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The detailed execution info. + /// Output only. The detailed execution info. #[prost(message, optional, tag="6")] pub executor_detail: ::core::option::Option, - /// Output only. State of the task. + /// Output only. State of the task. #[prost(enumeration="pipeline_task_detail::State", tag="7")] pub state: i32, - /// Output only. The execution metadata of the task. + /// Output only. The execution metadata of the task. #[prost(message, optional, tag="8")] pub execution: ::core::option::Option, - /// Output only. The error that occurred during task execution. - /// Only populated when the task's state is FAILED or CANCELLED. + /// Output only. The error that occurred during task execution. + /// Only populated when the task's state is FAILED or CANCELLED. #[prost(message, optional, tag="9")] pub error: ::core::option::Option, - /// Output only. A list of task status. This field keeps a record of task status evolving - /// over time. + /// Output only. A list of task status. This field keeps a record of task status evolving + /// over time. #[prost(message, repeated, tag="13")] pub pipeline_task_status: ::prost::alloc::vec::Vec, - /// Output only. The runtime input artifacts of the task. + /// Output only. The runtime input artifacts of the task. #[prost(map="string, message", tag="10")] pub inputs: ::std::collections::HashMap<::prost::alloc::string::String, pipeline_task_detail::ArtifactList>, - /// Output only. The runtime output artifacts of the task. + /// Output only. The runtime output artifacts of the task. #[prost(map="string, message", tag="11")] pub outputs: ::std::collections::HashMap<::prost::alloc::string::String, pipeline_task_detail::ArtifactList>, } /// Nested message and enum types in `PipelineTaskDetail`. pub mod pipeline_task_detail { - /// A single record of the task status. + /// A single record of the task status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskStatus { - /// Output only. Update time of this status. + /// Output only. Update time of this status. #[prost(message, optional, tag="1")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The state of the task. + /// Output only. The state of the task. #[prost(enumeration="State", tag="2")] pub state: i32, - /// Output only. The error that occurred during the state. May be set when the state is - /// any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. - /// If the state is FAILED, the error here is final and not going to be - /// retried. - /// If the state is a non-final state, the error indicates a system-error - /// being retried. + /// Output only. The error that occurred during the state. May be set when the state is + /// any of the non-final state (PENDING/RUNNING/CANCELLING) or FAILED state. + /// If the state is FAILED, the error here is final and not going to be + /// retried. + /// If the state is a non-final state, the error indicates a system-error + /// being retried. #[prost(message, optional, tag="3")] pub error: ::core::option::Option, } - /// A list of artifact metadata. + /// A list of artifact metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArtifactList { - /// Output only. A list of artifact metadata. + /// Output only. A list of artifact metadata. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, } - /// Specifies state of TaskExecution + /// Specifies state of TaskExecution #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Specifies pending state for the task. + /// Specifies pending state for the task. Pending = 1, - /// Specifies task is being executed. + /// Specifies task is being executed. Running = 2, - /// Specifies task completed successfully. + /// Specifies task completed successfully. Succeeded = 3, - /// Specifies Task cancel is in pending state. + /// Specifies Task cancel is in pending state. CancelPending = 4, - /// Specifies task is being cancelled. + /// Specifies task is being cancelled. Cancelling = 5, - /// Specifies task was cancelled. + /// Specifies task was cancelled. Cancelled = 6, - /// Specifies task failed. + /// Specifies task failed. Failed = 7, - /// Specifies task was skipped due to cache hit. + /// Specifies task was skipped due to cache hit. Skipped = 8, - /// Specifies that the task was not triggered because the task's trigger - /// policy is not satisfied. The trigger policy is specified in the - /// `condition` field of \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\]. + /// Specifies that the task was not triggered because the task's trigger + /// policy is not satisfied. The trigger policy is specified in the + /// `condition` field of \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\]. NotTriggered = 9, } impl State { @@ -14843,7 +14843,7 @@ pub mod pipeline_task_detail { } } } -/// The runtime detail of a pipeline executor. +/// The runtime detail of a pipeline executor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineTaskExecutorDetail { #[prost(oneof="pipeline_task_executor_detail::Details", tags="1, 2")] @@ -14851,474 +14851,474 @@ pub struct PipelineTaskExecutorDetail { } /// Nested message and enum types in `PipelineTaskExecutorDetail`. pub mod pipeline_task_executor_detail { - /// The detail of a container execution. It contains the job names of the - /// lifecycle of a container execution. + /// The detail of a container execution. It contains the job names of the + /// lifecycle of a container execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerDetail { - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\] for the main container execution. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\] for the main container execution. #[prost(string, tag="1")] pub main_job: ::prost::alloc::string::String, - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\] for the pre-caching-check container - /// execution. This job will be available if the - /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] specifies the `pre_caching_check` hook in - /// the lifecycle events. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\] for the pre-caching-check container + /// execution. This job will be available if the + /// \[PipelineJob.pipeline_spec][google.cloud.aiplatform.v1beta1.PipelineJob.pipeline_spec\] specifies the `pre_caching_check` hook in + /// the lifecycle events. #[prost(string, tag="2")] pub pre_caching_check_job: ::prost::alloc::string::String, } - /// The detailed info for a custom job executor. + /// The detailed info for a custom job executor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomJobDetail { - /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\]. + /// Output only. The name of the \[CustomJob][google.cloud.aiplatform.v1beta1.CustomJob\]. #[prost(string, tag="1")] pub job: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Output only. The detailed info for a container executor. + /// Output only. The detailed info for a container executor. #[prost(message, tag="1")] ContainerDetail(ContainerDetail), - /// Output only. The detailed info for a custom job executor. + /// Output only. The detailed info for a custom job executor. #[prost(message, tag="2")] CustomJobDetail(CustomJobDetail), } } -/// The TrainingPipeline orchestrates tasks associated with training a Model. It -/// always executes the training task, and optionally may also -/// export data from Vertex AI's Dataset which becomes the training input, -/// \[upload][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] the Model to Vertex AI, and evaluate the -/// Model. +/// The TrainingPipeline orchestrates tasks associated with training a Model. It +/// always executes the training task, and optionally may also +/// export data from Vertex AI's Dataset which becomes the training input, +/// \[upload][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\] the Model to Vertex AI, and evaluate the +/// Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingPipeline { - /// Output only. Resource name of the TrainingPipeline. + /// Output only. Resource name of the TrainingPipeline. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-defined name of this TrainingPipeline. + /// Required. The user-defined name of this TrainingPipeline. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Specifies Vertex AI owned input data that may be used for training the - /// Model. The TrainingPipeline's \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] should make - /// clear whether this config is used and if there are any special requirements - /// on how it should be filled. If nothing about this config is mentioned in - /// the \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\], then it should be assumed that the - /// TrainingPipeline does not depend on this configuration. + /// Specifies Vertex AI owned input data that may be used for training the + /// Model. The TrainingPipeline's \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] should make + /// clear whether this config is used and if there are any special requirements + /// on how it should be filled. If nothing about this config is mentioned in + /// the \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\], then it should be assumed that the + /// TrainingPipeline does not depend on this configuration. #[prost(message, optional, tag="3")] pub input_data_config: ::core::option::Option, - /// Required. A Google Cloud Storage path to the YAML file that defines the training task - /// which is responsible for producing the model artifact, and may also include - /// additional auxiliary work. - /// The definition files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/trainingjob/definition/. - /// Note: The URI given on output will be immutable and probably different, - /// including the URI scheme, than the one given on input. The output URI will - /// point to a location where the user only has a read access. + /// Required. A Google Cloud Storage path to the YAML file that defines the training task + /// which is responsible for producing the model artifact, and may also include + /// additional auxiliary work. + /// The definition files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/trainingjob/definition/. + /// Note: The URI given on output will be immutable and probably different, + /// including the URI scheme, than the one given on input. The output URI will + /// point to a location where the user only has a read access. #[prost(string, tag="4")] pub training_task_definition: ::prost::alloc::string::String, - /// Required. The training task's parameter(s), as specified in the - /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]'s `inputs`. + /// Required. The training task's parameter(s), as specified in the + /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]'s `inputs`. #[prost(message, optional, tag="5")] pub training_task_inputs: ::core::option::Option<::prost_types::Value>, - /// Output only. The metadata information as specified in the \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]'s - /// `metadata`. This metadata is an auxiliary runtime and final information - /// about the training task. While the pipeline is running this information is - /// populated only at a best effort basis. Only present if the - /// pipeline's \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] contains `metadata` object. + /// Output only. The metadata information as specified in the \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]'s + /// `metadata`. This metadata is an auxiliary runtime and final information + /// about the training task. While the pipeline is running this information is + /// populated only at a best effort basis. Only present if the + /// pipeline's \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] contains `metadata` object. #[prost(message, optional, tag="6")] pub training_task_metadata: ::core::option::Option<::prost_types::Value>, - /// Describes the Model that may be uploaded (via \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\]) - /// by this TrainingPipeline. The TrainingPipeline's - /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] should make clear whether this Model - /// description should be populated, and if there are any special requirements - /// regarding how it should be filled. If nothing is mentioned in the - /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\], then it should be assumed that this field - /// should not be filled and the training task either uploads the Model without - /// a need of this information, or that training task does not support - /// uploading a Model as part of the pipeline. - /// When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and - /// the trained Model had been uploaded into Vertex AI, then the - /// model_to_upload's resource \[name][google.cloud.aiplatform.v1beta1.Model.name\] is populated. The Model - /// is always uploaded into the Project and Location in which this pipeline - /// is. + /// Describes the Model that may be uploaded (via \[ModelService.UploadModel][google.cloud.aiplatform.v1beta1.ModelService.UploadModel\]) + /// by this TrainingPipeline. The TrainingPipeline's + /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\] should make clear whether this Model + /// description should be populated, and if there are any special requirements + /// regarding how it should be filled. If nothing is mentioned in the + /// \[training_task_definition][google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\], then it should be assumed that this field + /// should not be filled and the training task either uploads the Model without + /// a need of this information, or that training task does not support + /// uploading a Model as part of the pipeline. + /// When the Pipeline's state becomes `PIPELINE_STATE_SUCCEEDED` and + /// the trained Model had been uploaded into Vertex AI, then the + /// model_to_upload's resource \[name][google.cloud.aiplatform.v1beta1.Model.name\] is populated. The Model + /// is always uploaded into the Project and Location in which this pipeline + /// is. #[prost(message, optional, tag="7")] pub model_to_upload: ::core::option::Option, - /// Optional. The ID to use for the uploaded Model, which will become the final - /// component of the model resource name. + /// Optional. The ID to use for the uploaded Model, which will become the final + /// component of the model resource name. /// - /// This value may be up to 63 characters, and valid characters are - /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. + /// This value may be up to 63 characters, and valid characters are + /// `\[a-z0-9_-\]`. The first character cannot be a number or hyphen. #[prost(string, tag="22")] pub model_id: ::prost::alloc::string::String, - /// Optional. When specify this field, the `model_to_upload` will not be uploaded as a - /// new model, instead, it will become a new version of this `parent_model`. + /// Optional. When specify this field, the `model_to_upload` will not be uploaded as a + /// new model, instead, it will become a new version of this `parent_model`. #[prost(string, tag="21")] pub parent_model: ::prost::alloc::string::String, - /// Output only. The detailed state of the pipeline. + /// Output only. The detailed state of the pipeline. #[prost(enumeration="PipelineState", tag="9")] pub state: i32, - /// Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or - /// `PIPELINE_STATE_CANCELLED`. + /// Output only. Only populated when the pipeline's state is `PIPELINE_STATE_FAILED` or + /// `PIPELINE_STATE_CANCELLED`. #[prost(message, optional, tag="10")] pub error: ::core::option::Option, - /// Output only. Time when the TrainingPipeline was created. + /// Output only. Time when the TrainingPipeline was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline for the first time entered the - /// `PIPELINE_STATE_RUNNING` state. + /// Output only. Time when the TrainingPipeline for the first time entered the + /// `PIPELINE_STATE_RUNNING` state. #[prost(message, optional, tag="12")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline entered any of the following states: - /// `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, - /// `PIPELINE_STATE_CANCELLED`. + /// Output only. Time when the TrainingPipeline entered any of the following states: + /// `PIPELINE_STATE_SUCCEEDED`, `PIPELINE_STATE_FAILED`, + /// `PIPELINE_STATE_CANCELLED`. #[prost(message, optional, tag="13")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the TrainingPipeline was most recently updated. + /// Output only. Time when the TrainingPipeline was most recently updated. #[prost(message, optional, tag="14")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The labels with user-defined metadata to organize TrainingPipelines. + /// The labels with user-defined metadata to organize TrainingPipelines. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. /// - /// See for more information and examples of labels. + /// See for more information and examples of labels. #[prost(map="string, string", tag="15")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Customer-managed encryption key spec for a TrainingPipeline. If set, this - /// TrainingPipeline will be secured by this key. + /// Customer-managed encryption key spec for a TrainingPipeline. If set, this + /// TrainingPipeline will be secured by this key. /// - /// Note: Model trained by this TrainingPipeline is also secured by this key if - /// \[model_to_upload][google.cloud.aiplatform.v1beta1.TrainingPipeline.encryption_spec\] is not set separately. + /// Note: Model trained by this TrainingPipeline is also secured by this key if + /// \[model_to_upload][google.cloud.aiplatform.v1beta1.TrainingPipeline.encryption_spec\] is not set separately. #[prost(message, optional, tag="18")] pub encryption_spec: ::core::option::Option, } -/// Specifies Vertex AI owned input data to be used for training, and -/// possibly evaluating, the Model. +/// Specifies Vertex AI owned input data to be used for training, and +/// possibly evaluating, the Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputDataConfig { - /// Required. The ID of the Dataset in the same Project and Location which data will be - /// used to train the Model. The Dataset must use schema compatible with - /// Model being trained, and what is compatible should be described in the - /// used TrainingPipeline's \[training_task_definition\] - /// \[google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]. - /// For tabular Datasets, all their data is exported to training, to pick - /// and choose from. + /// Required. The ID of the Dataset in the same Project and Location which data will be + /// used to train the Model. The Dataset must use schema compatible with + /// Model being trained, and what is compatible should be described in the + /// used TrainingPipeline's \[training_task_definition\] + /// \[google.cloud.aiplatform.v1beta1.TrainingPipeline.training_task_definition\]. + /// For tabular Datasets, all their data is exported to training, to pick + /// and choose from. #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, - /// Applicable only to Datasets that have DataItems and Annotations. - /// - /// A filter on Annotations of the Dataset. Only Annotations that both - /// match this filter and belong to DataItems not ignored by the split method - /// are used in respectively training, validation or test role, depending on - /// the role of the DataItem they are on (for the auto-assigned that role is - /// decided by Vertex AI). A filter with same syntax as the one used in - /// \[ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\] may be used, but note - /// here it filters across all Annotations of the Dataset, and not just within - /// a single DataItem. + /// Applicable only to Datasets that have DataItems and Annotations. + /// + /// A filter on Annotations of the Dataset. Only Annotations that both + /// match this filter and belong to DataItems not ignored by the split method + /// are used in respectively training, validation or test role, depending on + /// the role of the DataItem they are on (for the auto-assigned that role is + /// decided by Vertex AI). A filter with same syntax as the one used in + /// \[ListAnnotations][google.cloud.aiplatform.v1beta1.DatasetService.ListAnnotations\] may be used, but note + /// here it filters across all Annotations of the Dataset, and not just within + /// a single DataItem. #[prost(string, tag="6")] pub annotations_filter: ::prost::alloc::string::String, - /// Applicable only to custom training with Datasets that have DataItems and - /// Annotations. - /// - /// Cloud Storage URI that points to a YAML file describing the annotation - /// schema. The schema is defined as an OpenAPI 3.0.2 [Schema - /// Object](). - /// The schema files that can be used here are found in - /// gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the - /// chosen schema must be consistent with - /// \[metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\] of the Dataset specified by - /// \[dataset_id][google.cloud.aiplatform.v1beta1.InputDataConfig.dataset_id\]. - /// - /// Only Annotations that both match this schema and belong to DataItems not - /// ignored by the split method are used in respectively training, validation - /// or test role, depending on the role of the DataItem they are on. - /// - /// When used in conjunction with \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\], the Annotations used - /// for training are filtered by both \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\] and - /// \[annotation_schema_uri][google.cloud.aiplatform.v1beta1.InputDataConfig.annotation_schema_uri\]. + /// Applicable only to custom training with Datasets that have DataItems and + /// Annotations. + /// + /// Cloud Storage URI that points to a YAML file describing the annotation + /// schema. The schema is defined as an OpenAPI 3.0.2 [Schema + /// Object](). + /// The schema files that can be used here are found in + /// gs://google-cloud-aiplatform/schema/dataset/annotation/ , note that the + /// chosen schema must be consistent with + /// \[metadata][google.cloud.aiplatform.v1beta1.Dataset.metadata_schema_uri\] of the Dataset specified by + /// \[dataset_id][google.cloud.aiplatform.v1beta1.InputDataConfig.dataset_id\]. + /// + /// Only Annotations that both match this schema and belong to DataItems not + /// ignored by the split method are used in respectively training, validation + /// or test role, depending on the role of the DataItem they are on. + /// + /// When used in conjunction with \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\], the Annotations used + /// for training are filtered by both \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\] and + /// \[annotation_schema_uri][google.cloud.aiplatform.v1beta1.InputDataConfig.annotation_schema_uri\]. #[prost(string, tag="9")] pub annotation_schema_uri: ::prost::alloc::string::String, - /// Only applicable to Datasets that have SavedQueries. + /// Only applicable to Datasets that have SavedQueries. /// - /// The ID of a SavedQuery (annotation set) under the Dataset specified by - /// \[dataset_id][google.cloud.aiplatform.v1beta1.InputDataConfig.dataset_id\] used for filtering Annotations for training. + /// The ID of a SavedQuery (annotation set) under the Dataset specified by + /// \[dataset_id][google.cloud.aiplatform.v1beta1.InputDataConfig.dataset_id\] used for filtering Annotations for training. /// - /// Only Annotations that are associated with this SavedQuery are used in - /// respectively training. When used in conjunction with - /// \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\], the Annotations used for training are filtered by - /// both \[saved_query_id][google.cloud.aiplatform.v1beta1.InputDataConfig.saved_query_id\] and \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\]. + /// Only Annotations that are associated with this SavedQuery are used in + /// respectively training. When used in conjunction with + /// \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\], the Annotations used for training are filtered by + /// both \[saved_query_id][google.cloud.aiplatform.v1beta1.InputDataConfig.saved_query_id\] and \[annotations_filter][google.cloud.aiplatform.v1beta1.InputDataConfig.annotations_filter\]. /// - /// Only one of \[saved_query_id][google.cloud.aiplatform.v1beta1.InputDataConfig.saved_query_id\] and \[annotation_schema_uri][google.cloud.aiplatform.v1beta1.InputDataConfig.annotation_schema_uri\] should be - /// specified as both of them represent the same thing: problem type. + /// Only one of \[saved_query_id][google.cloud.aiplatform.v1beta1.InputDataConfig.saved_query_id\] and \[annotation_schema_uri][google.cloud.aiplatform.v1beta1.InputDataConfig.annotation_schema_uri\] should be + /// specified as both of them represent the same thing: problem type. #[prost(string, tag="7")] pub saved_query_id: ::prost::alloc::string::String, - /// The instructions how the input data should be split between the - /// training, validation and test sets. - /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1beta1.InputDataConfig.fraction_split\] is used by default. + /// The instructions how the input data should be split between the + /// training, validation and test sets. + /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1beta1.InputDataConfig.fraction_split\] is used by default. #[prost(oneof="input_data_config::Split", tags="2, 3, 4, 5, 12")] pub split: ::core::option::Option, - /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. + /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. /// - /// The destination of the training data to be written to. + /// The destination of the training data to be written to. /// - /// Supported destination file formats: + /// Supported destination file formats: /// * For non-tabular data: "jsonl". /// * For tabular data: "csv" and "bigquery". /// - /// The following Vertex AI environment variables are passed to containers - /// or python modules of the training task when this field is set: + /// The following Vertex AI environment variables are passed to containers + /// or python modules of the training task when this field is set: /// - /// * AIP_DATA_FORMAT : Exported data format. - /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. - /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. - /// * AIP_TEST_DATA_URI : Sharded exported test data uris. + /// * AIP_DATA_FORMAT : Exported data format. + /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. + /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. + /// * AIP_TEST_DATA_URI : Sharded exported test data uris. #[prost(oneof="input_data_config::Destination", tags="8, 10")] pub destination: ::core::option::Option, } /// Nested message and enum types in `InputDataConfig`. pub mod input_data_config { - /// The instructions how the input data should be split between the - /// training, validation and test sets. - /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1beta1.InputDataConfig.fraction_split\] is used by default. + /// The instructions how the input data should be split between the + /// training, validation and test sets. + /// If no split type is provided, the \[fraction_split][google.cloud.aiplatform.v1beta1.InputDataConfig.fraction_split\] is used by default. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Split { - /// Split based on fractions defining the size of each set. + /// Split based on fractions defining the size of each set. #[prost(message, tag="2")] FractionSplit(super::FractionSplit), - /// Split based on the provided filters for each set. + /// Split based on the provided filters for each set. #[prost(message, tag="3")] FilterSplit(super::FilterSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on a predefined key. + /// Split based on a predefined key. #[prost(message, tag="4")] PredefinedSplit(super::PredefinedSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on the timestamp of the input data pieces. + /// Split based on the timestamp of the input data pieces. #[prost(message, tag="5")] TimestampSplit(super::TimestampSplit), - /// Supported only for tabular Datasets. + /// Supported only for tabular Datasets. /// - /// Split based on the distribution of the specified column. + /// Split based on the distribution of the specified column. #[prost(message, tag="12")] StratifiedSplit(super::StratifiedSplit), } - /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. + /// Only applicable to Custom and Hyperparameter Tuning TrainingPipelines. /// - /// The destination of the training data to be written to. + /// The destination of the training data to be written to. /// - /// Supported destination file formats: + /// Supported destination file formats: /// * For non-tabular data: "jsonl". /// * For tabular data: "csv" and "bigquery". /// - /// The following Vertex AI environment variables are passed to containers - /// or python modules of the training task when this field is set: + /// The following Vertex AI environment variables are passed to containers + /// or python modules of the training task when this field is set: /// - /// * AIP_DATA_FORMAT : Exported data format. - /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. - /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. - /// * AIP_TEST_DATA_URI : Sharded exported test data uris. + /// * AIP_DATA_FORMAT : Exported data format. + /// * AIP_TRAINING_DATA_URI : Sharded exported training data uris. + /// * AIP_VALIDATION_DATA_URI : Sharded exported validation data uris. + /// * AIP_TEST_DATA_URI : Sharded exported test data uris. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Cloud Storage location where the training data is to be - /// written to. In the given directory a new directory is created with - /// name: - /// `dataset---` - /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. - /// All training input data is written into that directory. + /// The Cloud Storage location where the training data is to be + /// written to. In the given directory a new directory is created with + /// name: + /// `dataset---` + /// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. + /// All training input data is written into that directory. /// - /// The Vertex AI environment variables representing Cloud Storage - /// data URIs are represented in the Cloud Storage wildcard - /// format to support sharded data. e.g.: "gs://.../training-*.jsonl" + /// The Vertex AI environment variables representing Cloud Storage + /// data URIs are represented in the Cloud Storage wildcard + /// format to support sharded data. e.g.: "gs://.../training-*.jsonl" /// - /// * AIP_DATA_FORMAT = "jsonl" for non-tabular data, "csv" for tabular data - /// * AIP_TRAINING_DATA_URI = - /// "gcs_destination/dataset---
+ /// URI of desired destination BigQuery table. Expected format: + /// bq://::
/// - /// If not specified, then results are exported to the following auto-created - /// BigQuery table: - /// :export_evaluated_examples__.evaluated_examples + /// If not specified, then results are exported to the following auto-created + /// BigQuery table: + /// :export_evaluated_examples__.evaluated_examples #[prost(string, tag="1")] pub destination_bigquery_uri: ::prost::alloc::string::String, - /// If true and an export destination is specified, then the contents of the - /// destination are overwritten. Otherwise, if the export destination already - /// exists, then the export operation fails. + /// If true and an export destination is specified, then the contents of the + /// destination are overwritten. Otherwise, if the export destination already + /// exists, then the export operation fails. #[prost(bool, tag="2")] pub override_existing_table: bool, } -/// A TrainingJob that trains and uploads an AutoML Tables Model. +/// A TrainingJob that trains and uploads an AutoML Tables Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTables { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, - /// The metadata information. + /// The metadata information. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTablesInputs { - /// The type of prediction the Model is to produce. + /// The type of prediction the Model is to produce. /// "classification" - Predict one out of multiple target values is /// picked for each row. /// "regression" - Predict a value based on its relation to other values. @@ -408,23 +408,23 @@ pub struct AutoMlTablesInputs { /// point number, even if stored as e.g. strings. #[prost(string, tag="1")] pub prediction_type: ::prost::alloc::string::String, - /// The column name of the target column that the model is to predict. + /// The column name of the target column that the model is to predict. #[prost(string, tag="2")] pub target_column: ::prost::alloc::string::String, - /// Each transformation will apply transform function to given input column. - /// And the result will be used for training. - /// When creating transformation for BigQuery Struct column, the column should - /// be flattened using "." as the delimiter. + /// Each transformation will apply transform function to given input column. + /// And the result will be used for training. + /// When creating transformation for BigQuery Struct column, the column should + /// be flattened using "." as the delimiter. #[prost(message, repeated, tag="3")] pub transformations: ::prost::alloc::vec::Vec, - /// Objective function the model is optimizing towards. The training process - /// creates a model that maximizes/minimizes the value of the objective - /// function over the validation set. + /// Objective function the model is optimizing towards. The training process + /// creates a model that maximizes/minimizes the value of the objective + /// function over the validation set. /// - /// The supported optimization objectives depend on the prediction type. - /// If the field is not set, a default objective function is used. + /// The supported optimization objectives depend on the prediction type. + /// If the field is not set, a default objective function is used. /// - /// classification (binary): + /// classification (binary): /// "maximize-au-roc" (default) - Maximize the area under the receiver /// operating characteristic (ROC) curve. /// "minimize-log-loss" - Minimize log loss. @@ -434,54 +434,54 @@ pub struct AutoMlTablesInputs { /// "maximize-recall-at-precision" - Maximize recall for a specified /// precision value. /// - /// classification (multi-class): + /// classification (multi-class): /// "minimize-log-loss" (default) - Minimize log loss. /// - /// regression: + /// regression: /// "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). /// "minimize-mae" - Minimize mean-absolute error (MAE). /// "minimize-rmsle" - Minimize root-mean-squared log error (RMSLE). #[prost(string, tag="4")] pub optimization_objective: ::prost::alloc::string::String, - /// Required. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. + /// Required. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. /// - /// The training cost of the model will not exceed this budget. The final cost - /// will be attempted to be close to the budget, though may end up being (even) - /// noticeably smaller - at the backend's discretion. This especially may - /// happen when further model training ceases to provide any improvements. + /// The training cost of the model will not exceed this budget. The final cost + /// will be attempted to be close to the budget, though may end up being (even) + /// noticeably smaller - at the backend's discretion. This especially may + /// happen when further model training ceases to provide any improvements. /// - /// If the budget is set to a value known to be insufficient to train a - /// model for the given dataset, the training won't be attempted and - /// will error. + /// If the budget is set to a value known to be insufficient to train a + /// model for the given dataset, the training won't be attempted and + /// will error. /// - /// The train budget must be between 1,000 and 72,000 milli node hours, - /// inclusive. + /// The train budget must be between 1,000 and 72,000 milli node hours, + /// inclusive. #[prost(int64, tag="7")] pub train_budget_milli_node_hours: i64, - /// Use the entire training budget. This disables the early stopping feature. - /// By default, the early stopping feature is enabled, which means that AutoML - /// Tables might stop training before the entire training budget has been used. + /// Use the entire training budget. This disables the early stopping feature. + /// By default, the early stopping feature is enabled, which means that AutoML + /// Tables might stop training before the entire training budget has been used. #[prost(bool, tag="8")] pub disable_early_stopping: bool, - /// Column name that should be used as the weight column. - /// Higher values in this column give more importance to the row - /// during model training. The column must have numeric values between 0 and - /// 10000 inclusively; 0 means the row is ignored for training. If weight - /// column field is not set, then all rows are assumed to have equal weight - /// of 1. + /// Column name that should be used as the weight column. + /// Higher values in this column give more importance to the row + /// during model training. The column must have numeric values between 0 and + /// 10000 inclusively; 0 means the row is ignored for training. If weight + /// column field is not set, then all rows are assumed to have equal weight + /// of 1. #[prost(string, tag="9")] pub weight_column_name: ::prost::alloc::string::String, - /// Configuration for exporting test set predictions to a BigQuery table. If - /// this configuration is absent, then the export is not performed. + /// Configuration for exporting test set predictions to a BigQuery table. If + /// this configuration is absent, then the export is not performed. #[prost(message, optional, tag="10")] pub export_evaluated_data_items_config: ::core::option::Option, - /// Additional experiment flags for the Tables training pipeline. + /// Additional experiment flags for the Tables training pipeline. #[prost(string, repeated, tag="11")] pub additional_experiments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Additional optimization objective configuration. Required for - /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, + /// otherwise unused. #[prost(oneof="auto_ml_tables_inputs::AdditionalOptimizationObjectiveConfig", tags="5, 6")] pub additional_optimization_objective_config: ::core::option::Option, } @@ -489,48 +489,48 @@ pub struct AutoMlTablesInputs { pub mod auto_ml_tables_inputs { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transformation { - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[prost(oneof="transformation::TransformationDetail", tags="1, 2, 3, 4, 5, 6, 7, 8")] pub transformation_detail: ::core::option::Option, } /// Nested message and enum types in `Transformation`. pub mod transformation { - /// Training pipeline will infer the proper transformation based on the - /// statistic of dataset. + /// Training pipeline will infer the proper transformation based on the + /// statistic of dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. - /// * The value converted to float32. - /// * The z_score of the value. - /// * log(value+1) when the value is greater than or equal to 0. Otherwise, + /// Training pipeline will perform following transformation functions. + /// * The value converted to float32. + /// * The z_score of the value. + /// * log(value+1) when the value is greater than or equal to 0. Otherwise, /// this transformation is not applied and the value is considered a /// missing value. - /// * z_score of log(value+1) when the value is greater than or equal to 0. + /// * z_score of log(value+1) when the value is greater than or equal to 0. /// Otherwise, this transformation is not applied and the value is /// considered a missing value. - /// * A boolean value that indicates whether the value is valid. + /// * A boolean value that indicates whether the value is valid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="2")] pub invalid_values_allowed: bool, } - /// Training pipeline will perform following transformation functions. - /// * The categorical string as is--no change to case, punctuation, - /// spelling, + /// Training pipeline will perform following transformation functions. + /// * The categorical string as is--no change to case, punctuation, + /// spelling, /// tense, and so on. - /// * Convert the category name to a dictionary lookup index and generate an + /// * Convert the category name to a dictionary lookup index and generate an /// embedding for each index. - /// * Categories that appear less than 5 times in the training dataset are + /// * Categories that appear less than 5 times in the training dataset are /// treated as the "unknown" category. The "unknown" category gets its own /// special lookup index and resulting embedding. #[derive(Clone, PartialEq, ::prost::Message)] @@ -538,96 +538,96 @@ pub mod auto_ml_tables_inputs { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. - /// * Apply the transformation functions for Numerical columns. - /// * Determine the year, month, day,and weekday. Treat each value from the - /// * timestamp as a Categorical column. - /// * Invalid numerical values (for example, values that fall outside of a + /// Training pipeline will perform following transformation functions. + /// * Apply the transformation functions for Numerical columns. + /// * Determine the year, month, day,and weekday. Treat each value from the + /// * timestamp as a Categorical column. + /// * Invalid numerical values (for example, values that fall outside of a /// typical timestamp range, or are extreme values) receive no special /// treatment and are not removed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// The format in which that time field is expressed. The time_format must - /// either be one of: - /// * `unix-seconds` - /// * `unix-milliseconds` - /// * `unix-microseconds` - /// * `unix-nanoseconds` - /// (for respectively number of seconds, milliseconds, microseconds and - /// nanoseconds since start of the Unix epoch); - /// or be written in `strftime` syntax. If time_format is not set, then the - /// default format is RFC 3339 `date-time` format, where - /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) + /// The format in which that time field is expressed. The time_format must + /// either be one of: + /// * `unix-seconds` + /// * `unix-milliseconds` + /// * `unix-microseconds` + /// * `unix-nanoseconds` + /// (for respectively number of seconds, milliseconds, microseconds and + /// nanoseconds since start of the Unix epoch); + /// or be written in `strftime` syntax. If time_format is not set, then the + /// default format is RFC 3339 `date-time` format, where + /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) #[prost(string, tag="2")] pub time_format: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="3")] pub invalid_values_allowed: bool, } - /// Training pipeline will perform following transformation functions. - /// * The text as is--no change to case, punctuation, spelling, tense, and - /// so + /// Training pipeline will perform following transformation functions. + /// * The text as is--no change to case, punctuation, spelling, tense, and + /// so /// on. - /// * Tokenize text to words. Convert each words to a dictionary lookup - /// index + /// * Tokenize text to words. Convert each words to a dictionary lookup + /// index /// and generate an embedding for each index. Combine the embedding of all /// elements into a single embedding using the mean. - /// * Tokenization is based on unicode script boundaries. - /// * Missing values get their own lookup index and resulting embedding. - /// * Stop-words receive no special treatment and are not removed. + /// * Tokenization is based on unicode script boundaries. + /// * Missing values get their own lookup index and resulting embedding. + /// * Stop-words receive no special treatment and are not removed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Treats the column as numerical array and performs following - /// transformation functions. - /// * All transformations for Numerical types applied to the average of the + /// Treats the column as numerical array and performs following + /// transformation functions. + /// * All transformations for Numerical types applied to the average of the /// all elements. - /// * The average of empty arrays is treated as zero. + /// * The average of empty arrays is treated as zero. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// If invalid values is allowed, the training pipeline will create a - /// boolean feature that indicated whether the value is valid. - /// Otherwise, the training pipeline will discard the input row from - /// trainining data. + /// If invalid values is allowed, the training pipeline will create a + /// boolean feature that indicated whether the value is valid. + /// Otherwise, the training pipeline will discard the input row from + /// trainining data. #[prost(bool, tag="2")] pub invalid_values_allowed: bool, } - /// Treats the column as categorical array and performs following - /// transformation functions. - /// * For each element in the array, convert the category name to a - /// dictionary + /// Treats the column as categorical array and performs following + /// transformation functions. + /// * For each element in the array, convert the category name to a + /// dictionary /// lookup index and generate an embedding for each index. /// Combine the embedding of all elements into a single embedding using /// the mean. - /// * Empty arrays treated as an embedding of zeroes. + /// * Empty arrays treated as an embedding of zeroes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Treats the column as text array and performs following transformation - /// functions. - /// * Concatenate all text values in the array into a single text value - /// using + /// Treats the column as text array and performs following transformation + /// functions. + /// * Concatenate all text values in the array into a single text value + /// using /// a space (" ") as a delimiter, and then treat the result as a single /// text value. Apply the transformations for Text columns. - /// * Empty arrays treated as an empty text. + /// * Empty arrays treated as an empty text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextArrayTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TransformationDetail { #[prost(message, tag="1")] @@ -648,34 +648,34 @@ pub mod auto_ml_tables_inputs { RepeatedText(TextArrayTransformation), } } - /// Additional optimization objective configuration. Required for - /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `maximize-precision-at-recall` and `maximize-recall-at-precision`, + /// otherwise unused. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdditionalOptimizationObjectiveConfig { - /// Required when optimization_objective is "maximize-precision-at-recall". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "maximize-precision-at-recall". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="5")] OptimizationObjectiveRecallValue(f32), - /// Required when optimization_objective is "maximize-recall-at-precision". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "maximize-recall-at-precision". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="6")] OptimizationObjectivePrecisionValue(f32), } } -/// Model metadata specific to AutoML Tables. +/// Model metadata specific to AutoML Tables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTablesMetadata { - /// Output only. The actual training cost of the model, expressed in milli - /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - /// to not exceed the train budget. + /// Output only. The actual training cost of the model, expressed in milli + /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + /// to not exceed the train budget. #[prost(int64, tag="1")] pub train_cost_milli_node_hours: i64, } -/// A TrainingJob that trains and uploads an AutoML Text Classification Model. +/// A TrainingJob that trains and uploads an AutoML Text Classification Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextClassification { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -684,67 +684,67 @@ pub struct AutoMlTextClassificationInputs { #[prost(bool, tag="1")] pub multi_label: bool, } -/// A TrainingJob that trains and uploads an AutoML Text Extraction Model. +/// A TrainingJob that trains and uploads an AutoML Text Extraction Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextExtraction { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextExtractionInputs { } -/// A TrainingJob that trains and uploads an AutoML Text Sentiment Model. +/// A TrainingJob that trains and uploads an AutoML Text Sentiment Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextSentiment { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlTextSentimentInputs { - /// A sentiment is expressed as an integer ordinal, where higher value - /// means a more positive sentiment. The range of sentiments that will be used - /// is between 0 and sentimentMax (inclusive on both ends), and all the values - /// in the range must be represented in the dataset before a model can be - /// created. - /// Only the Annotations with this sentimentMax will be used for training. - /// sentimentMax value must be between 1 and 10 (inclusive). + /// A sentiment is expressed as an integer ordinal, where higher value + /// means a more positive sentiment. The range of sentiments that will be used + /// is between 0 and sentimentMax (inclusive on both ends), and all the values + /// in the range must be represented in the dataset before a model can be + /// created. + /// Only the Annotations with this sentimentMax will be used for training. + /// sentimentMax value must be between 1 and 10 (inclusive). #[prost(int32, tag="1")] pub sentiment_max: i32, } -/// A TrainingJob that trains and uploads an AutoML Forecasting Model. +/// A TrainingJob that trains and uploads an AutoML Forecasting Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlForecasting { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, - /// The metadata information. + /// The metadata information. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlForecastingInputs { - /// The name of the column that the model is to predict. + /// The name of the column that the model is to predict. #[prost(string, tag="1")] pub target_column: ::prost::alloc::string::String, - /// The name of the column that identifies the time series. + /// The name of the column that identifies the time series. #[prost(string, tag="2")] pub time_series_identifier_column: ::prost::alloc::string::String, - /// The name of the column that identifies time order in the time series. + /// The name of the column that identifies time order in the time series. #[prost(string, tag="3")] pub time_column: ::prost::alloc::string::String, - /// Each transformation will apply transform function to given input column. - /// And the result will be used for training. - /// When creating transformation for BigQuery Struct column, the column should - /// be flattened using "." as the delimiter. + /// Each transformation will apply transform function to given input column. + /// And the result will be used for training. + /// When creating transformation for BigQuery Struct column, the column should + /// be flattened using "." as the delimiter. #[prost(message, repeated, tag="4")] pub transformations: ::prost::alloc::vec::Vec, - /// Objective function the model is optimizing towards. The training process - /// creates a model that optimizes the value of the objective - /// function over the validation set. + /// Objective function the model is optimizing towards. The training process + /// creates a model that optimizes the value of the objective + /// function over the validation set. /// - /// The supported optimization objectives: + /// The supported optimization objectives: /// /// * "minimize-rmse" (default) - Minimize root-mean-squared error (RMSE). /// @@ -761,73 +761,73 @@ pub struct AutoMlForecastingInputs { /// defined in `quantiles`. #[prost(string, tag="5")] pub optimization_objective: ::prost::alloc::string::String, - /// Required. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. + /// Required. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. /// - /// The training cost of the model will not exceed this budget. The final cost - /// will be attempted to be close to the budget, though may end up being (even) - /// noticeably smaller - at the backend's discretion. This especially may - /// happen when further model training ceases to provide any improvements. + /// The training cost of the model will not exceed this budget. The final cost + /// will be attempted to be close to the budget, though may end up being (even) + /// noticeably smaller - at the backend's discretion. This especially may + /// happen when further model training ceases to provide any improvements. /// - /// If the budget is set to a value known to be insufficient to train a - /// model for the given dataset, the training won't be attempted and - /// will error. + /// If the budget is set to a value known to be insufficient to train a + /// model for the given dataset, the training won't be attempted and + /// will error. /// - /// The train budget must be between 1,000 and 72,000 milli node hours, - /// inclusive. + /// The train budget must be between 1,000 and 72,000 milli node hours, + /// inclusive. #[prost(int64, tag="6")] pub train_budget_milli_node_hours: i64, - /// Column name that should be used as the weight column. - /// Higher values in this column give more importance to the row - /// during model training. The column must have numeric values between 0 and - /// 10000 inclusively; 0 means the row is ignored for training. If weight - /// column field is not set, then all rows are assumed to have equal weight - /// of 1. + /// Column name that should be used as the weight column. + /// Higher values in this column give more importance to the row + /// during model training. The column must have numeric values between 0 and + /// 10000 inclusively; 0 means the row is ignored for training. If weight + /// column field is not set, then all rows are assumed to have equal weight + /// of 1. #[prost(string, tag="7")] pub weight_column: ::prost::alloc::string::String, - /// Column names that should be used as attribute columns. - /// The value of these columns does not vary as a function of time. - /// For example, store ID or item color. + /// Column names that should be used as attribute columns. + /// The value of these columns does not vary as a function of time. + /// For example, store ID or item color. #[prost(string, repeated, tag="19")] pub time_series_attribute_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Names of columns that are unavailable when a forecast is requested. - /// This column contains information for the given entity (identified - /// by the time_series_identifier_column) that is unknown before the forecast - /// For example, actual weather on a given day. + /// Names of columns that are unavailable when a forecast is requested. + /// This column contains information for the given entity (identified + /// by the time_series_identifier_column) that is unknown before the forecast + /// For example, actual weather on a given day. #[prost(string, repeated, tag="20")] pub unavailable_at_forecast_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Names of columns that are available and provided when a forecast - /// is requested. These columns - /// contain information for the given entity (identified by the - /// time_series_identifier_column column) that is known at forecast. - /// For example, predicted weather for a specific day. + /// Names of columns that are available and provided when a forecast + /// is requested. These columns + /// contain information for the given entity (identified by the + /// time_series_identifier_column column) that is known at forecast. + /// For example, predicted weather for a specific day. #[prost(string, repeated, tag="21")] pub available_at_forecast_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Expected difference in time granularity between rows in the data. + /// Expected difference in time granularity between rows in the data. #[prost(message, optional, tag="22")] pub data_granularity: ::core::option::Option, - /// The amount of time into the future for which forecasted values for the - /// target are returned. Expressed in number of units defined by the - /// `data_granularity` field. + /// The amount of time into the future for which forecasted values for the + /// target are returned. Expressed in number of units defined by the + /// `data_granularity` field. #[prost(int64, tag="23")] pub forecast_horizon: i64, - /// The amount of time into the past training and prediction data is used - /// for model training and prediction respectively. Expressed in number of - /// units defined by the `data_granularity` field. + /// The amount of time into the past training and prediction data is used + /// for model training and prediction respectively. Expressed in number of + /// units defined by the `data_granularity` field. #[prost(int64, tag="24")] pub context_window: i64, - /// Configuration for exporting test set predictions to a BigQuery table. If - /// this configuration is absent, then the export is not performed. + /// Configuration for exporting test set predictions to a BigQuery table. If + /// this configuration is absent, then the export is not performed. #[prost(message, optional, tag="15")] pub export_evaluated_data_items_config: ::core::option::Option, - /// Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to - /// 5 quantiles are allowed of values between 0 and 1, exclusive. Required if - /// the value of optimization_objective is minimize-quantile-loss. Represents - /// the percent quantiles to use for that objective. Quantiles must be unique. + /// Quantiles to use for minimize-quantile-loss `optimization_objective`. Up to + /// 5 quantiles are allowed of values between 0 and 1, exclusive. Required if + /// the value of optimization_objective is minimize-quantile-loss. Represents + /// the percent quantiles to use for that objective. Quantiles must be unique. #[prost(double, repeated, tag="16")] pub quantiles: ::prost::alloc::vec::Vec, - /// Validation options for the data validation component. The available options - /// are: + /// Validation options for the data validation component. The available options + /// are: /// /// * "fail-pipeline" - default, will validate against the validation and /// fail the pipeline if it fails. @@ -835,7 +835,7 @@ pub struct AutoMlForecastingInputs { /// * "ignore-validation" - ignore the results of the validation and continue #[prost(string, tag="17")] pub validation_options: ::prost::alloc::string::String, - /// Additional experiment flags for the time series forcasting training. + /// Additional experiment flags for the time series forcasting training. #[prost(string, repeated, tag="25")] pub additional_experiments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -843,49 +843,49 @@ pub struct AutoMlForecastingInputs { pub mod auto_ml_forecasting_inputs { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transformation { - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[prost(oneof="transformation::TransformationDetail", tags="1, 2, 3, 4, 5")] pub transformation_detail: ::core::option::Option, } /// Nested message and enum types in `Transformation`. pub mod transformation { - /// Training pipeline will infer the proper transformation based on the - /// statistic of dataset. + /// Training pipeline will infer the proper transformation based on the + /// statistic of dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. + /// Training pipeline will perform following transformation functions. /// - /// * The value converted to float32. + /// * The value converted to float32. /// - /// * The z_score of the value. + /// * The z_score of the value. /// - /// * log(value+1) when the value is greater than or equal to 0. Otherwise, + /// * log(value+1) when the value is greater than or equal to 0. Otherwise, /// this transformation is not applied and the value is considered a /// missing value. /// - /// * z_score of log(value+1) when the value is greater than or equal to 0. + /// * z_score of log(value+1) when the value is greater than or equal to 0. /// Otherwise, this transformation is not applied and the value is /// considered a missing value. /// - /// * A boolean value that indicates whether the value is valid. + /// * A boolean value that indicates whether the value is valid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NumericTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. + /// Training pipeline will perform following transformation functions. /// - /// * The categorical string as is--no change to case, punctuation, + /// * The categorical string as is--no change to case, punctuation, /// spelling, tense, and so on. /// - /// * Convert the category name to a dictionary lookup index and generate an + /// * Convert the category name to a dictionary lookup index and generate an /// embedding for each index. /// - /// * Categories that appear less than 5 times in the training dataset are + /// * Categories that appear less than 5 times in the training dataset are /// treated as the "unknown" category. The "unknown" category gets its own /// special lookup index and resulting embedding. #[derive(Clone, PartialEq, ::prost::Message)] @@ -893,56 +893,56 @@ pub mod auto_ml_forecasting_inputs { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. + /// Training pipeline will perform following transformation functions. /// - /// * Apply the transformation functions for Numerical columns. + /// * Apply the transformation functions for Numerical columns. /// - /// * Determine the year, month, day,and weekday. Treat each value from the + /// * Determine the year, month, day,and weekday. Treat each value from the /// timestamp as a Categorical column. /// - /// * Invalid numerical values (for example, values that fall outside of a + /// * Invalid numerical values (for example, values that fall outside of a /// typical timestamp range, or are extreme values) receive no special /// treatment and are not removed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// The format in which that time field is expressed. The time_format must - /// either be one of: + /// The format in which that time field is expressed. The time_format must + /// either be one of: /// - /// * `unix-seconds` + /// * `unix-seconds` /// - /// * `unix-milliseconds` + /// * `unix-milliseconds` /// - /// * `unix-microseconds` + /// * `unix-microseconds` /// - /// * `unix-nanoseconds` + /// * `unix-nanoseconds` /// - /// (for respectively number of seconds, milliseconds, microseconds and - /// nanoseconds since start of the Unix epoch); + /// (for respectively number of seconds, milliseconds, microseconds and + /// nanoseconds since start of the Unix epoch); /// - /// or be written in `strftime` syntax. + /// or be written in `strftime` syntax. /// - /// If time_format is not set, then the - /// default format is RFC 3339 `date-time` format, where - /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) + /// If time_format is not set, then the + /// default format is RFC 3339 `date-time` format, where + /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z) #[prost(string, tag="2")] pub time_format: ::prost::alloc::string::String, } - /// Training pipeline will perform following transformation functions. + /// Training pipeline will perform following transformation functions. /// - /// * The text as is--no change to case, punctuation, spelling, tense, and + /// * The text as is--no change to case, punctuation, spelling, tense, and /// so on. /// - /// * Convert the category name to a dictionary lookup index and generate an + /// * Convert the category name to a dictionary lookup index and generate an /// embedding for each index. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextTransformation { #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, } - /// The transformation that the training pipeline will apply to the input - /// columns. + /// The transformation that the training pipeline will apply to the input + /// columns. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TransformationDetail { #[prost(message, tag="1")] @@ -957,11 +957,11 @@ pub mod auto_ml_forecasting_inputs { Text(TextTransformation), } } - /// A duration of time expressed in time granularity units. + /// A duration of time expressed in time granularity units. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Granularity { - /// The time granularity unit of this time period. - /// The supported units are: + /// The time granularity unit of this time period. + /// The supported units are: /// /// * "minute" /// @@ -976,28 +976,28 @@ pub mod auto_ml_forecasting_inputs { /// * "year" #[prost(string, tag="1")] pub unit: ::prost::alloc::string::String, - /// The number of granularity_units between data points in the training - /// data. If `granularity_unit` is `minute`, - /// can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, - /// must be 1. + /// The number of granularity_units between data points in the training + /// data. If `granularity_unit` is `minute`, + /// can be 1, 5, 10, 15, or 30. For all other values of `granularity_unit`, + /// must be 1. #[prost(int64, tag="2")] pub quantity: i64, } } -/// Model metadata specific to AutoML Forecasting. +/// Model metadata specific to AutoML Forecasting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlForecastingMetadata { - /// Output only. The actual training cost of the model, expressed in milli - /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - /// to not exceed the train budget. + /// Output only. The actual training cost of the model, expressed in milli + /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + /// to not exceed the train budget. #[prost(int64, tag="1")] pub train_cost_milli_node_hours: i64, } -/// A TrainingJob that trains and uploads an AutoML Video Action Recognition -/// Model. +/// A TrainingJob that trains and uploads an AutoML Video Action Recognition +/// Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoActionRecognition { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -1011,22 +1011,22 @@ pub mod auto_ml_video_action_recognition_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which c annot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which c annot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) to a Jetson device - /// afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) to a Jetson device + /// afterwards. MobileJetsonVersatile1 = 3, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a Coral device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a Coral device afterwards. MobileCoralVersatile1 = 4, } impl ModelType { @@ -1045,10 +1045,10 @@ pub mod auto_ml_video_action_recognition_inputs { } } } -/// A TrainingJob that trains and uploads an AutoML Video Classification Model. +/// A TrainingJob that trains and uploads an AutoML Video Classification Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoClassification { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -1062,18 +1062,18 @@ pub mod auto_ml_video_classification_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which cannot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which cannot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) to a Jetson device - /// afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) to a Jetson device + /// afterwards. MobileJetsonVersatile1 = 3, } impl ModelType { @@ -1091,10 +1091,10 @@ pub mod auto_ml_video_classification_inputs { } } } -/// A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model. +/// A TrainingJob that trains and uploads an AutoML Video ObjectTracking Model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoMlVideoObjectTracking { - /// The input parameters of this TrainingJob. + /// The input parameters of this TrainingJob. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, } @@ -1108,26 +1108,26 @@ pub mod auto_ml_video_object_tracking_inputs { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Should not be set. + /// Should not be set. Unspecified = 0, - /// A model best tailored to be used within Google Cloud, and which c annot - /// be exported. Default. + /// A model best tailored to be used within Google Cloud, and which c annot + /// be exported. Default. Cloud = 1, - /// A model that, in addition to being available within Google Cloud, can - /// also be exported (see ModelService.ExportModel) as a TensorFlow or - /// TensorFlow Lite model and used on a mobile or edge device afterwards. + /// A model that, in addition to being available within Google Cloud, can + /// also be exported (see ModelService.ExportModel) as a TensorFlow or + /// TensorFlow Lite model and used on a mobile or edge device afterwards. MobileVersatile1 = 2, - /// A versatile model that is meant to be exported (see - /// ModelService.ExportModel) and used on a Google Coral device. + /// A versatile model that is meant to be exported (see + /// ModelService.ExportModel) and used on a Google Coral device. MobileCoralVersatile1 = 3, - /// A model that trades off quality for low latency, to be exported (see - /// ModelService.ExportModel) and used on a Google Coral device. + /// A model that trades off quality for low latency, to be exported (see + /// ModelService.ExportModel) and used on a Google Coral device. MobileCoralLowLatency1 = 4, - /// A versatile model that is meant to be exported (see - /// ModelService.ExportModel) and used on an NVIDIA Jetson device. + /// A versatile model that is meant to be exported (see + /// ModelService.ExportModel) and used on an NVIDIA Jetson device. MobileJetsonVersatile1 = 5, - /// A model that trades off quality for low latency, to be exported (see - /// ModelService.ExportModel) and used on an NVIDIA Jetson device. + /// A model that trades off quality for low latency, to be exported (see + /// ModelService.ExportModel) and used on an NVIDIA Jetson device. MobileJetsonLowLatency1 = 6, } impl ModelType { diff --git a/gcloud-sdk/genproto/google.cloud.apigateway.v1.rs b/gcloud-sdk/genproto/google.cloud.apigateway.v1.rs index 52f06782c..0da19bace 100644 --- a/gcloud-sdk/genproto/google.cloud.apigateway.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.apigateway.v1.rs @@ -1,51 +1,51 @@ -/// An API that can be served by one or more Gateways. +/// An API that can be served by one or more Gateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Api { - /// Output only. Resource name of the API. - /// Format: projects/{project}/locations/global/apis/{api} + /// Output only. Resource name of the API. + /// Format: projects/{project}/locations/global/apis/{api} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Optional. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Display name. + /// Optional. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Optional. Immutable. The name of a Google Managed Service ( - /// ). If - /// not specified, a new Service will automatically be created in the same - /// project as this API. + /// Optional. Immutable. The name of a Google Managed Service ( + /// ). If + /// not specified, a new Service will automatically be created in the same + /// project as this API. #[prost(string, tag="7")] pub managed_service: ::prost::alloc::string::String, - /// Output only. State of the API. + /// Output only. State of the API. #[prost(enumeration="api::State", tag="12")] pub state: i32, } /// Nested message and enum types in `Api`. pub mod api { - /// All the possible API states. + /// All the possible API states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// API does not have a state yet. + /// API does not have a state yet. Unspecified = 0, - /// API is being created. + /// API is being created. Creating = 1, - /// API is active. + /// API is active. Active = 2, - /// API creation failed. + /// API creation failed. Failed = 3, - /// API is being deleted. + /// API is being deleted. Deleting = 4, - /// API is being updated. + /// API is being updated. Updating = 5, } impl State { @@ -65,124 +65,124 @@ pub mod api { } } } -/// An API Configuration is a combination of settings for both the Managed -/// Service and Gateways serving this API Config. +/// An API Configuration is a combination of settings for both the Managed +/// Service and Gateways serving this API Config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiConfig { - /// Output only. Resource name of the API Config. - /// Format: projects/{project}/locations/global/apis/{api}/configs/{api_config} + /// Output only. Resource name of the API Config. + /// Format: projects/{project}/locations/global/apis/{api}/configs/{api_config} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Optional. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Display name. + /// Optional. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Immutable. The Google Cloud IAM Service Account that Gateways serving this config - /// should use to authenticate to other services. This may either be the - /// Service Account's email - /// (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full resource - /// name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is most often used - /// when the service is a GCP resource such as a Cloud Run Service or an - /// IAP-secured service. + /// Immutable. The Google Cloud IAM Service Account that Gateways serving this config + /// should use to authenticate to other services. This may either be the + /// Service Account's email + /// (`{ACCOUNT_ID}@{PROJECT}.iam.gserviceaccount.com`) or its full resource + /// name (`projects/{PROJECT}/accounts/{UNIQUE_ID}`). This is most often used + /// when the service is a GCP resource such as a Cloud Run Service or an + /// IAP-secured service. #[prost(string, tag="14")] pub gateway_service_account: ::prost::alloc::string::String, - /// Output only. The ID of the associated Service Config ( - /// ). + /// Output only. The ID of the associated Service Config ( + /// ). #[prost(string, tag="12")] pub service_config_id: ::prost::alloc::string::String, - /// Output only. State of the API Config. + /// Output only. State of the API Config. #[prost(enumeration="api_config::State", tag="8")] pub state: i32, - /// Optional. OpenAPI specification documents. If specified, grpc_services and - /// managed_service_configs must not be included. + /// Optional. OpenAPI specification documents. If specified, grpc_services and + /// managed_service_configs must not be included. #[prost(message, repeated, tag="9")] pub openapi_documents: ::prost::alloc::vec::Vec, - /// Optional. gRPC service definition files. If specified, openapi_documents must - /// not be included. + /// Optional. gRPC service definition files. If specified, openapi_documents must + /// not be included. #[prost(message, repeated, tag="10")] pub grpc_services: ::prost::alloc::vec::Vec, - /// Optional. Service Configuration files. At least one must be included when using gRPC - /// service definitions. See - /// - /// for the expected file contents. + /// Optional. Service Configuration files. At least one must be included when using gRPC + /// service definitions. See + /// + /// for the expected file contents. /// - /// If multiple files are specified, the files are merged with the following - /// rules: - /// * All singular scalar fields are merged using "last one wins" semantics in - /// the order of the files uploaded. - /// * Repeated fields are concatenated. - /// * Singular embedded messages are merged using these rules for nested - /// fields. + /// If multiple files are specified, the files are merged with the following + /// rules: + /// * All singular scalar fields are merged using "last one wins" semantics in + /// the order of the files uploaded. + /// * Repeated fields are concatenated. + /// * Singular embedded messages are merged using these rules for nested + /// fields. #[prost(message, repeated, tag="11")] pub managed_service_configs: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ApiConfig`. pub mod api_config { - /// A lightweight description of a file. + /// A lightweight description of a file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct File { - /// The file path (full or relative path). This is typically the path of the - /// file when it is uploaded. + /// The file path (full or relative path). This is typically the path of the + /// file when it is uploaded. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// The bytes that constitute the file. + /// The bytes that constitute the file. #[prost(bytes="vec", tag="2")] pub contents: ::prost::alloc::vec::Vec, } - /// An OpenAPI Specification Document describing an API. + /// An OpenAPI Specification Document describing an API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OpenApiDocument { - /// The OpenAPI Specification document file. + /// The OpenAPI Specification document file. #[prost(message, optional, tag="1")] pub document: ::core::option::Option, } - /// A gRPC service definition. + /// A gRPC service definition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GrpcServiceDefinition { - /// Input only. File descriptor set, generated by protoc. + /// Input only. File descriptor set, generated by protoc. /// - /// To generate, use protoc with imports and source info included. - /// For an example test.proto file, the following command would put the value - /// in a new file named out.pb. + /// To generate, use protoc with imports and source info included. + /// For an example test.proto file, the following command would put the value + /// in a new file named out.pb. /// - /// $ protoc --include_imports --include_source_info test.proto -o out.pb + /// $ protoc --include_imports --include_source_info test.proto -o out.pb #[prost(message, optional, tag="1")] pub file_descriptor_set: ::core::option::Option, - /// Optional. Uncompiled proto files associated with the descriptor set, used for - /// display purposes (server-side compilation is not supported). These - /// should match the inputs to 'protoc' command used to generate - /// file_descriptor_set. + /// Optional. Uncompiled proto files associated with the descriptor set, used for + /// display purposes (server-side compilation is not supported). These + /// should match the inputs to 'protoc' command used to generate + /// file_descriptor_set. #[prost(message, repeated, tag="2")] pub source: ::prost::alloc::vec::Vec, } - /// All the possible API Config states. + /// All the possible API Config states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// API Config does not have a state yet. + /// API Config does not have a state yet. Unspecified = 0, - /// API Config is being created and deployed to the API Controller. + /// API Config is being created and deployed to the API Controller. Creating = 1, - /// API Config is ready for use by Gateways. + /// API Config is ready for use by Gateways. Active = 2, - /// API Config creation failed. + /// API Config creation failed. Failed = 3, - /// API Config is being deleted. + /// API Config is being deleted. Deleting = 4, - /// API Config is being updated. + /// API Config is being updated. Updating = 5, - /// API Config settings are being activated in downstream systems. - /// API Configs in this state cannot be used by Gateways. + /// API Config settings are being activated in downstream systems. + /// API Configs in this state cannot be used by Gateways. Activating = 6, } impl State { @@ -203,58 +203,58 @@ pub mod api_config { } } } -/// A Gateway is an API-aware HTTP proxy. It performs API-Method and/or -/// API-Consumer specific actions based on an API Config such as authentication, -/// policy enforcement, and backend selection. +/// A Gateway is an API-aware HTTP proxy. It performs API-Method and/or +/// API-Consumer specific actions based on an API Config such as authentication, +/// policy enforcement, and backend selection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Gateway { - /// Output only. Resource name of the Gateway. - /// Format: projects/{project}/locations/{location}/gateways/{gateway} + /// Output only. Resource name of the Gateway. + /// Format: projects/{project}/locations/{location}/gateways/{gateway} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Optional. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Display name. + /// Optional. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. Resource name of the API Config for this Gateway. - /// Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} + /// Required. Resource name of the API Config for this Gateway. + /// Format: projects/{project}/locations/global/apis/{api}/configs/{apiConfig} #[prost(string, tag="6")] pub api_config: ::prost::alloc::string::String, - /// Output only. The current state of the Gateway. + /// Output only. The current state of the Gateway. #[prost(enumeration="gateway::State", tag="7")] pub state: i32, - /// Output only. The default API Gateway host name of the form - /// `{gateway_id}-{hash}.{region_code}.gateway.dev`. + /// Output only. The default API Gateway host name of the form + /// `{gateway_id}-{hash}.{region_code}.gateway.dev`. #[prost(string, tag="9")] pub default_hostname: ::prost::alloc::string::String, } /// Nested message and enum types in `Gateway`. pub mod gateway { - /// All the possible Gateway states. + /// All the possible Gateway states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Gateway does not have a state yet. + /// Gateway does not have a state yet. Unspecified = 0, - /// Gateway is being created. + /// Gateway is being created. Creating = 1, - /// Gateway is running and ready for requests. + /// Gateway is running and ready for requests. Active = 2, - /// Gateway creation failed. + /// Gateway creation failed. Failed = 3, - /// Gateway is being deleted. + /// Gateway is being deleted. Deleting = 4, - /// Gateway is being updated. + /// Gateway is being updated. Updating = 5, } impl State { @@ -274,217 +274,217 @@ pub mod gateway { } } } -/// Request message for ApiGatewayService.ListGateways +/// Request message for ApiGatewayService.ListGateways #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGatewaysRequest { - /// Required. Parent resource of the Gateway, of the form: - /// `projects/*/locations/*` + /// Required. Parent resource of the Gateway, of the form: + /// `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter. + /// Filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by parameters. + /// Order by parameters. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for ApiGatewayService.ListGateways +/// Response message for ApiGatewayService.ListGateways #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGatewaysResponse { - /// Gateways. + /// Gateways. #[prost(message, repeated, tag="1")] pub gateways: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for ApiGatewayService.GetGateway +/// Request message for ApiGatewayService.GetGateway #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGatewayRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/gateways/*` + /// Required. Resource name of the form: + /// `projects/*/locations/*/gateways/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ApiGatewayService.CreateGateway +/// Request message for ApiGatewayService.CreateGateway #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateGatewayRequest { - /// Required. Parent resource of the Gateway, of the form: - /// `projects/*/locations/*` + /// Required. Parent resource of the Gateway, of the form: + /// `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Identifier to assign to the Gateway. Must be unique within scope of - /// the parent resource. + /// Required. Identifier to assign to the Gateway. Must be unique within scope of + /// the parent resource. #[prost(string, tag="2")] pub gateway_id: ::prost::alloc::string::String, - /// Required. Gateway resource. + /// Required. Gateway resource. #[prost(message, optional, tag="3")] pub gateway: ::core::option::Option, } -/// Request message for ApiGatewayService.UpdateGateway +/// Request message for ApiGatewayService.UpdateGateway #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateGatewayRequest { - /// Field mask is used to specify the fields to be overwritten in the - /// Gateway resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Field mask is used to specify the fields to be overwritten in the + /// Gateway resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Gateway resource. + /// Required. Gateway resource. #[prost(message, optional, tag="2")] pub gateway: ::core::option::Option, } -/// Request message for ApiGatewayService.DeleteGateway +/// Request message for ApiGatewayService.DeleteGateway #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGatewayRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/gateways/*` + /// Required. Resource name of the form: + /// `projects/*/locations/*/gateways/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ApiGatewayService.ListApis +/// Request message for ApiGatewayService.ListApis #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApisRequest { - /// Required. Parent resource of the API, of the form: - /// `projects/*/locations/global` + /// Required. Parent resource of the API, of the form: + /// `projects/*/locations/global` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter. + /// Filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by parameters. + /// Order by parameters. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for ApiGatewayService.ListApis +/// Response message for ApiGatewayService.ListApis #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApisResponse { - /// APIs. + /// APIs. #[prost(message, repeated, tag="1")] pub apis: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for ApiGatewayService.GetApi +/// Request message for ApiGatewayService.GetApi #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/global/apis/*` + /// Required. Resource name of the form: + /// `projects/*/locations/global/apis/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ApiGatewayService.CreateApi +/// Request message for ApiGatewayService.CreateApi #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiRequest { - /// Required. Parent resource of the API, of the form: - /// `projects/*/locations/global` + /// Required. Parent resource of the API, of the form: + /// `projects/*/locations/global` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Identifier to assign to the API. Must be unique within scope of - /// the parent resource. + /// Required. Identifier to assign to the API. Must be unique within scope of + /// the parent resource. #[prost(string, tag="2")] pub api_id: ::prost::alloc::string::String, - /// Required. API resource. + /// Required. API resource. #[prost(message, optional, tag="3")] pub api: ::core::option::Option, } -/// Request message for ApiGatewayService.UpdateApi +/// Request message for ApiGatewayService.UpdateApi #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiRequest { - /// Field mask is used to specify the fields to be overwritten in the - /// Api resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Field mask is used to specify the fields to be overwritten in the + /// Api resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. API resource. + /// Required. API resource. #[prost(message, optional, tag="2")] pub api: ::core::option::Option, } -/// Request message for ApiGatewayService.DeleteApi +/// Request message for ApiGatewayService.DeleteApi #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/global/apis/*` + /// Required. Resource name of the form: + /// `projects/*/locations/global/apis/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ApiGatewayService.ListApiConfigs +/// Request message for ApiGatewayService.ListApiConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiConfigsRequest { - /// Required. Parent resource of the API Config, of the form: - /// `projects/*/locations/global/apis/*` + /// Required. Parent resource of the API Config, of the form: + /// `projects/*/locations/global/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter. + /// Filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by parameters. + /// Order by parameters. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for ApiGatewayService.ListApiConfigs +/// Response message for ApiGatewayService.ListApiConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiConfigsResponse { - /// API Configs. + /// API Configs. #[prost(message, repeated, tag="1")] pub api_configs: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for ApiGatewayService.GetApiConfig +/// Request message for ApiGatewayService.GetApiConfig #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiConfigRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/global/apis/*/configs/*` + /// Required. Resource name of the form: + /// `projects/*/locations/global/apis/*/configs/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies which fields of the API Config are returned in the response. - /// Defaults to `BASIC` view. + /// Specifies which fields of the API Config are returned in the response. + /// Defaults to `BASIC` view. #[prost(enumeration="get_api_config_request::ConfigView", tag="3")] pub view: i32, } /// Nested message and enum types in `GetApiConfigRequest`. pub mod get_api_config_request { - /// Enum to control which fields should be included in the response. + /// Enum to control which fields should be included in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConfigView { Unspecified = 0, - /// Do not include configuration source files. + /// Do not include configuration source files. Basic = 1, - /// Include configuration source files. + /// Include configuration source files. Full = 2, } impl ConfigView { @@ -501,83 +501,83 @@ pub mod get_api_config_request { } } } -/// Request message for ApiGatewayService.CreateApiConfig +/// Request message for ApiGatewayService.CreateApiConfig #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiConfigRequest { - /// Required. Parent resource of the API Config, of the form: - /// `projects/*/locations/global/apis/*` + /// Required. Parent resource of the API Config, of the form: + /// `projects/*/locations/global/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Identifier to assign to the API Config. Must be unique within scope of - /// the parent resource. + /// Required. Identifier to assign to the API Config. Must be unique within scope of + /// the parent resource. #[prost(string, tag="2")] pub api_config_id: ::prost::alloc::string::String, - /// Required. API resource. + /// Required. API resource. #[prost(message, optional, tag="3")] pub api_config: ::core::option::Option, } -/// Request message for ApiGatewayService.UpdateApiConfig +/// Request message for ApiGatewayService.UpdateApiConfig #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiConfigRequest { - /// Field mask is used to specify the fields to be overwritten in the - /// ApiConfig resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Field mask is used to specify the fields to be overwritten in the + /// ApiConfig resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. API Config resource. + /// Required. API Config resource. #[prost(message, optional, tag="2")] pub api_config: ::core::option::Option, } -/// Request message for ApiGatewayService.DeleteApiConfig +/// Request message for ApiGatewayService.DeleteApiConfig #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiConfigRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/global/apis/*/configs/*` + /// Required. Resource name of the form: + /// `projects/*/locations/global/apis/*/configs/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, - /// Output only. Diagnostics generated during processing of configuration source files. + /// Output only. Diagnostics generated during processing of configuration source files. #[prost(message, repeated, tag="8")] pub diagnostics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `OperationMetadata`. pub mod operation_metadata { - /// Diagnostic information from configuration processing. + /// Diagnostic information from configuration processing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Diagnostic { - /// Location of the diagnostic. + /// Location of the diagnostic. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// The diagnostic message. + /// The diagnostic message. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.apigeeconnect.v1.rs b/gcloud-sdk/genproto/google.cloud.apigeeconnect.v1.rs index c295ec788..f51a45145 100644 --- a/gcloud-sdk/genproto/google.cloud.apigeeconnect.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.apigeeconnect.v1.rs @@ -1,54 +1,54 @@ -/// The request for \[ListConnections][Management.ListConnections\]. +/// The request for \[ListConnections][Management.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsRequest { - /// Required. Parent name of the form: + /// Required. Parent name of the form: /// `projects/{project_number or project_id}/endpoints/{endpoint}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of connections to return. The service may return fewer - /// than this value. If unspecified, at most 100 connections will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of connections to return. The service may return fewer + /// than this value. If unspecified, at most 100 connections will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListConnections` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListConnections` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListConnections` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListConnections` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for -/// \[ListConnections][Management.ListConnections\]. +/// The response for +/// \[ListConnections][Management.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsResponse { - /// A list of clients. + /// A list of clients. #[prost(message, repeated, tag="1")] pub connections: ::prost::alloc::vec::Vec, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Connection { - /// The endpoint that the connection is made against. - /// Format: `projects/{project_number}/endpoints/{endpoint}` + /// The endpoint that the connection is made against. + /// Format: `projects/{project_number}/endpoints/{endpoint}` #[prost(string, tag="1")] pub endpoint: ::prost::alloc::string::String, - /// Cluster information. + /// Cluster information. #[prost(message, optional, tag="2")] pub cluster: ::core::option::Option, - /// The count of streams. + /// The count of streams. #[prost(int32, tag="3")] pub stream_count: i32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cluster { - /// The name of the cluster. + /// The name of the cluster. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The region of the cluster. + /// The region of the cluster. #[prost(string, tag="2")] pub region: ::prost::alloc::string::String, } @@ -145,124 +145,124 @@ pub mod connection_service_client { } } } -/// gRPC request payload for tether. +/// gRPC request payload for tether. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EgressRequest { - /// Unique identifier for the request. + /// Unique identifier for the request. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Actual payload to send to agent. + /// Actual payload to send to agent. #[prost(message, optional, tag="2")] pub payload: ::core::option::Option, - /// Tether Endpoint. + /// Tether Endpoint. #[prost(enumeration="TetherEndpoint", tag="3")] pub endpoint: i32, - /// GCP Project. - /// Format: `projects/{project_number}`. + /// GCP Project. + /// Format: `projects/{project_number}`. #[prost(string, tag="4")] pub project: ::prost::alloc::string::String, - /// Unique identifier for clients to trace their request/response. + /// Unique identifier for clients to trace their request/response. #[prost(string, tag="5")] pub trace_id: ::prost::alloc::string::String, - /// Timeout for the HTTP request. + /// Timeout for the HTTP request. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, } -/// Payload for EgressRequest. +/// Payload for EgressRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Payload { - /// The kind of payload. + /// The kind of payload. #[prost(oneof="payload::Kind", tags="1, 2, 3")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Payload`. pub mod payload { - /// The kind of payload. + /// The kind of payload. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// The HttpRequest proto. + /// The HttpRequest proto. #[prost(message, tag="1")] HttpRequest(super::HttpRequest), - /// The information of stream. + /// The information of stream. #[prost(message, tag="2")] StreamInfo(super::StreamInfo), - /// The action taken by agent. + /// The action taken by agent. #[prost(enumeration="super::Action", tag="3")] Action(i32), } } -/// The Information of bi-directional stream. +/// The Information of bi-directional stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamInfo { - /// Unique identifier for the stream. + /// Unique identifier for the stream. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, } -/// gRPC response payload for tether. +/// gRPC response payload for tether. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EgressResponse { - /// Unique identifier for the response. Matches the EgressRequest's id. + /// Unique identifier for the response. Matches the EgressRequest's id. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// HttpResponse. + /// HttpResponse. #[prost(message, optional, tag="2")] pub http_response: ::core::option::Option, - /// Errors from application when handling the http request. + /// Errors from application when handling the http request. #[prost(message, optional, tag="3")] pub status: ::core::option::Option, - /// GCP Project. - /// Format: `projects/{project_number}`. + /// GCP Project. + /// Format: `projects/{project_number}`. #[prost(string, tag="4")] pub project: ::prost::alloc::string::String, - /// Unique identifier for clients to trace their request/response. Matches the - /// EgressRequest's trace id + /// Unique identifier for clients to trace their request/response. Matches the + /// EgressRequest's trace id #[prost(string, tag="5")] pub trace_id: ::prost::alloc::string::String, - /// Tether Endpoint. + /// Tether Endpoint. #[prost(enumeration="TetherEndpoint", tag="6")] pub endpoint: i32, - /// Name is the full resource path of endpoint. - /// Format: `projects/{project_number or project_id}/endpoints/{endpoint}` + /// Name is the full resource path of endpoint. + /// Format: `projects/{project_number or project_id}/endpoints/{endpoint}` #[prost(string, tag="7")] pub name: ::prost::alloc::string::String, } -/// The proto definition of http request. +/// The proto definition of http request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRequest { - /// A unique identifier for the request. + /// A unique identifier for the request. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The HTTP request method. - /// Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE". + /// The HTTP request method. + /// Valid methods: "GET", "HEAD", "POST", "PUT", "PATCH","DELETE". #[prost(string, tag="2")] pub method: ::prost::alloc::string::String, - /// The HTTP request URL. + /// The HTTP request URL. #[prost(message, optional, tag="3")] pub url: ::core::option::Option, - /// The HTTP request headers. + /// The HTTP request headers. #[prost(message, repeated, tag="4")] pub headers: ::prost::alloc::vec::Vec
, - /// HTTP request body. + /// HTTP request body. #[prost(bytes="vec", tag="5")] pub body: ::prost::alloc::vec::Vec, } -/// The proto definition of url. -/// A url represents a URL and the general form represented is: +/// The proto definition of url. +/// A url represents a URL and the general form represented is: /// /// `\[scheme://][google.cloud.apigeeconnect.v1.Url.host][path\]` #[derive(Clone, PartialEq, ::prost::Message)] pub struct Url { - /// Scheme. + /// Scheme. #[prost(enumeration="Scheme", tag="1")] pub scheme: i32, - /// Host or Host:Port. + /// Host or Host:Port. #[prost(string, tag="2")] pub host: ::prost::alloc::string::String, - /// Path starts with `/`. + /// Path starts with `/`. #[prost(string, tag="3")] pub path: ::prost::alloc::string::String, } -/// The http headers. +/// The http headers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Header { #[prost(string, tag="1")] @@ -270,38 +270,38 @@ pub struct Header { #[prost(string, repeated, tag="2")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The proto definition of http response. +/// The proto definition of http response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpResponse { - /// A unique identifier that matches the request ID. + /// A unique identifier that matches the request ID. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Status of http response, e.g. "200 OK". + /// Status of http response, e.g. "200 OK". #[prost(string, tag="2")] pub status: ::prost::alloc::string::String, - /// Status code of http response, e.g. 200. + /// Status code of http response, e.g. 200. #[prost(int32, tag="3")] pub status_code: i32, - /// The HTTP 1.1 response body. + /// The HTTP 1.1 response body. #[prost(bytes="vec", tag="4")] pub body: ::prost::alloc::vec::Vec, - /// The HTTP response headers. + /// The HTTP response headers. #[prost(message, repeated, tag="5")] pub headers: ::prost::alloc::vec::Vec
, - /// Content length records the length of the associated content. The - /// value -1 indicates that the length is unknown. Unless http method - /// is "HEAD", values >= 0 indicate that the given number of bytes may - /// be read from Body. + /// Content length records the length of the associated content. The + /// value -1 indicates that the length is unknown. Unless http method + /// is "HEAD", values >= 0 indicate that the given number of bytes may + /// be read from Body. #[prost(int64, tag="6")] pub content_length: i64, } -/// The action taken by agent. +/// The action taken by agent. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { - /// Unspecified Action. + /// Unspecified Action. Unspecified = 0, - /// Indicates that agent should open a new stream. + /// Indicates that agent should open a new stream. OpenNewStream = 1, } impl Action { @@ -316,17 +316,17 @@ impl Action { } } } -/// Endpoint indicates where the messages will be delivered. +/// Endpoint indicates where the messages will be delivered. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TetherEndpoint { - /// Unspecified tether endpoint. + /// Unspecified tether endpoint. Unspecified = 0, - /// Apigee MART endpoint. + /// Apigee MART endpoint. ApigeeMart = 1, - /// Apigee Runtime endpoint. + /// Apigee Runtime endpoint. ApigeeRuntime = 2, - /// Apigee Mint Rating endpoint. + /// Apigee Mint Rating endpoint. ApigeeMintRating = 3, } impl TetherEndpoint { @@ -343,13 +343,13 @@ impl TetherEndpoint { } } } -/// HTTP Scheme. +/// HTTP Scheme. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Scheme { - /// Unspecified scheme. + /// Unspecified scheme. Unspecified = 0, - /// HTTPS protocol. + /// HTTPS protocol. Https = 1, } impl Scheme { diff --git a/gcloud-sdk/genproto/google.cloud.apigeeregistry.v1.rs b/gcloud-sdk/genproto/google.cloud.apigeeregistry.v1.rs index 6a7ae14cf..43cec3c6d 100644 --- a/gcloud-sdk/genproto/google.cloud.apigeeregistry.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.apigeeregistry.v1.rs @@ -1,117 +1,117 @@ -/// Request message for CreateInstance. +/// Request message for CreateInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { - /// Required. Parent resource of the Instance, of the form: `projects/*/locations/*` + /// Required. Parent resource of the Instance, of the form: `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Identifier to assign to the Instance. Must be unique within scope of the - /// parent resource. + /// Required. Identifier to assign to the Instance. Must be unique within scope of the + /// parent resource. #[prost(string, tag="2")] pub instance_id: ::prost::alloc::string::String, - /// Required. The Instance. + /// Required. The Instance. #[prost(message, optional, tag="3")] pub instance: ::core::option::Option, } -/// Request message for DeleteInstance. +/// Request message for DeleteInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Required. The name of the Instance to delete. - /// Format: `projects/*/locations/*/instances/*`. + /// Required. The name of the Instance to delete. + /// Format: `projects/*/locations/*/instances/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetInstance. +/// Request message for GetInstance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Required. The name of the Instance to retrieve. - /// Format: `projects/*/locations/*/instances/*`. + /// Required. The name of the Instance to retrieve. + /// Format: `projects/*/locations/*/instances/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The time the operation was created. + /// The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the operation finished running. + /// The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Server-defined resource path for the target of the operation. + /// Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Name of the verb executed by the operation. + /// Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Human-readable status of the operation, if any. + /// Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub cancellation_requested: bool, - /// API version used to start the operation. + /// API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// An Instance represents the instance resources of the Registry. -/// Currently, only one instance is allowed for each project. +/// An Instance represents the instance resources of the Registry. +/// Currently, only one instance is allowed for each project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Format: `projects/*/locations/*/instance`. - /// Currently only `locations/global` is supported. + /// Format: `projects/*/locations/*/instance`. + /// Currently only `locations/global` is supported. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Creation timestamp. + /// Output only. Creation timestamp. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp. + /// Output only. Last update timestamp. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The current state of the Instance. + /// Output only. The current state of the Instance. #[prost(enumeration="instance::State", tag="4")] pub state: i32, - /// Output only. Extra information of Instance.State if the state is `FAILED`. + /// Output only. Extra information of Instance.State if the state is `FAILED`. #[prost(string, tag="5")] pub state_message: ::prost::alloc::string::String, - /// Required. Config of the Instance. + /// Required. Config of the Instance. #[prost(message, optional, tag="6")] pub config: ::core::option::Option, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Available configurations to provision an Instance. + /// Available configurations to provision an Instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Config { - /// Output only. The GCP location where the Instance resides. + /// Output only. The GCP location where the Instance resides. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// Required. The Customer Managed Encryption Key (CMEK) used for data encryption. - /// The CMEK name should follow the format of - /// `projects/(\[^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/\]+)`, - /// where the `location` must match InstanceConfig.location. + /// Required. The Customer Managed Encryption Key (CMEK) used for data encryption. + /// The CMEK name should follow the format of + /// `projects/(\[^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/\]+)`, + /// where the `location` must match InstanceConfig.location. #[prost(string, tag="2")] pub cmek_key_name: ::prost::alloc::string::String, } - /// State of the Instance. + /// State of the Instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The default value. This value is used if the state is omitted. + /// The default value. This value is used if the state is omitted. Unspecified = 0, - /// The Instance has not been initialized or has been deleted. + /// The Instance has not been initialized or has been deleted. Inactive = 1, - /// The Instance is being created. + /// The Instance is being created. Creating = 2, - /// The Instance has been created and is ready for use. + /// The Instance has been created and is ready for use. Active = 3, - /// The Instance is being updated. + /// The Instance is being updated. Updating = 4, - /// The Instance is being deleted. + /// The Instance is being deleted. Deleting = 5, - /// The Instance encountered an error during a state change. + /// The Instance encountered an error during a state change. Failed = 6, } impl State { @@ -271,904 +271,904 @@ pub mod provisioning_client { } } } -/// A top-level description of an API. -/// Produced by producers and are commitments to provide services. +/// A top-level description of an API. +/// Produced by producers and are commitments to provide services. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Api { - /// Resource name. + /// Resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Human-meaningful name. + /// Human-meaningful name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// A detailed description. + /// A detailed description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Creation timestamp. + /// Output only. Creation timestamp. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp. + /// Output only. Last update timestamp. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// A user-definable description of the availability of this service. - /// Format: free-form, but we expect single words that describe availability, - /// e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". + /// A user-definable description of the availability of this service. + /// Format: free-form, but we expect single words that describe availability, + /// e.g., "NONE", "TESTING", "PREVIEW", "GENERAL", "DEPRECATED", "SHUTDOWN". #[prost(string, tag="6")] pub availability: ::prost::alloc::string::String, - /// The recommended version of the API. - /// Format: `apis/{api}/versions/{version}` + /// The recommended version of the API. + /// Format: `apis/{api}/versions/{version}` #[prost(string, tag="7")] pub recommended_version: ::prost::alloc::string::String, - /// The recommended deployment of the API. - /// Format: `apis/{api}/deployments/{deployment}` + /// The recommended deployment of the API. + /// Format: `apis/{api}/deployments/{deployment}` #[prost(string, tag="8")] pub recommended_deployment: ::prost::alloc::string::String, - /// Labels attach identifying metadata to resources. Identifying metadata can - /// be used to filter list operations. + /// Labels attach identifying metadata to resources. Identifying metadata can + /// be used to filter list operations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores, and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one resource (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores, and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one resource (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with - /// `apigeeregistry.googleapis.com/` and cannot be changed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with + /// `apigeeregistry.googleapis.com/` and cannot be changed. #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Annotations attach non-identifying metadata to resources. + /// Annotations attach non-identifying metadata to resources. /// - /// Annotation keys and values are less restricted than those of labels, but - /// should be generally used for small values of broad interest. Larger, topic- - /// specific metadata should be stored in Artifacts. + /// Annotation keys and values are less restricted than those of labels, but + /// should be generally used for small values of broad interest. Larger, topic- + /// specific metadata should be stored in Artifacts. #[prost(map="string, string", tag="10")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Describes a particular version of an API. -/// ApiVersions are what consumers actually use. +/// Describes a particular version of an API. +/// ApiVersions are what consumers actually use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiVersion { - /// Resource name. + /// Resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Human-meaningful name. + /// Human-meaningful name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// A detailed description. + /// A detailed description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Creation timestamp. + /// Output only. Creation timestamp. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp. + /// Output only. Last update timestamp. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// A user-definable description of the lifecycle phase of this API version. - /// Format: free-form, but we expect single words that describe API maturity, - /// e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", - /// "DEPRECATED", "RETIRED". + /// A user-definable description of the lifecycle phase of this API version. + /// Format: free-form, but we expect single words that describe API maturity, + /// e.g., "CONCEPT", "DESIGN", "DEVELOPMENT", "STAGING", "PRODUCTION", + /// "DEPRECATED", "RETIRED". #[prost(string, tag="6")] pub state: ::prost::alloc::string::String, - /// Labels attach identifying metadata to resources. Identifying metadata can - /// be used to filter list operations. + /// Labels attach identifying metadata to resources. Identifying metadata can + /// be used to filter list operations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one resource (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one resource (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with - /// `apigeeregistry.googleapis.com/` and cannot be changed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with + /// `apigeeregistry.googleapis.com/` and cannot be changed. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Annotations attach non-identifying metadata to resources. + /// Annotations attach non-identifying metadata to resources. /// - /// Annotation keys and values are less restricted than those of labels, but - /// should be generally used for small values of broad interest. Larger, topic- - /// specific metadata should be stored in Artifacts. + /// Annotation keys and values are less restricted than those of labels, but + /// should be generally used for small values of broad interest. Larger, topic- + /// specific metadata should be stored in Artifacts. #[prost(map="string, string", tag="8")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Describes a version of an API in a structured way. -/// ApiSpecs provide formal descriptions that consumers can use to use a version. -/// ApiSpec resources are intended to be fully-resolved descriptions of an -/// ApiVersion. When specs consist of multiple files, these should be bundled -/// together (e.g., in a zip archive) and stored as a unit. Multiple specs can -/// exist to provide representations in different API description formats. -/// Synchronization of these representations would be provided by tooling and -/// background services. +/// Describes a version of an API in a structured way. +/// ApiSpecs provide formal descriptions that consumers can use to use a version. +/// ApiSpec resources are intended to be fully-resolved descriptions of an +/// ApiVersion. When specs consist of multiple files, these should be bundled +/// together (e.g., in a zip archive) and stored as a unit. Multiple specs can +/// exist to provide representations in different API description formats. +/// Synchronization of these representations would be provided by tooling and +/// background services. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiSpec { - /// Resource name. + /// Resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A possibly-hierarchical name used to refer to the spec from other specs. + /// A possibly-hierarchical name used to refer to the spec from other specs. #[prost(string, tag="2")] pub filename: ::prost::alloc::string::String, - /// A detailed description. + /// A detailed description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Immutable. The revision ID of the spec. - /// A new revision is committed whenever the spec contents are changed. - /// The format is an 8-character hexadecimal string. + /// Output only. Immutable. The revision ID of the spec. + /// A new revision is committed whenever the spec contents are changed. + /// The format is an 8-character hexadecimal string. #[prost(string, tag="4")] pub revision_id: ::prost::alloc::string::String, - /// Output only. Creation timestamp; when the spec resource was created. + /// Output only. Creation timestamp; when the spec resource was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Revision creation timestamp; when the represented revision was created. + /// Output only. Revision creation timestamp; when the represented revision was created. #[prost(message, optional, tag="6")] pub revision_create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp: when the represented revision was last modified. + /// Output only. Last update timestamp: when the represented revision was last modified. #[prost(message, optional, tag="7")] pub revision_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// A style (format) descriptor for this spec that is specified as a Media Type - /// (). Possible values include - /// `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and - /// `application/vnd.apigee.graphql`, with possible suffixes representing - /// compression types. These hypothetical names are defined in the vendor tree - /// defined in RFC6838 () and are not final. - /// Content types can specify compression. Currently only GZip compression is - /// supported (indicated with "+gzip"). + /// A style (format) descriptor for this spec that is specified as a Media Type + /// (). Possible values include + /// `application/vnd.apigee.proto`, `application/vnd.apigee.openapi`, and + /// `application/vnd.apigee.graphql`, with possible suffixes representing + /// compression types. These hypothetical names are defined in the vendor tree + /// defined in RFC6838 () and are not final. + /// Content types can specify compression. Currently only GZip compression is + /// supported (indicated with "+gzip"). #[prost(string, tag="8")] pub mime_type: ::prost::alloc::string::String, - /// Output only. The size of the spec file in bytes. If the spec is gzipped, this is the - /// size of the uncompressed spec. + /// Output only. The size of the spec file in bytes. If the spec is gzipped, this is the + /// size of the uncompressed spec. #[prost(int32, tag="9")] pub size_bytes: i32, - /// Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is - /// the hash of the uncompressed spec. + /// Output only. A SHA-256 hash of the spec's contents. If the spec is gzipped, this is + /// the hash of the uncompressed spec. #[prost(string, tag="10")] pub hash: ::prost::alloc::string::String, - /// The original source URI of the spec (if one exists). - /// This is an external location that can be used for reference purposes - /// but which may not be authoritative since this external resource may - /// change after the spec is retrieved. + /// The original source URI of the spec (if one exists). + /// This is an external location that can be used for reference purposes + /// but which may not be authoritative since this external resource may + /// change after the spec is retrieved. #[prost(string, tag="11")] pub source_uri: ::prost::alloc::string::String, - /// Input only. The contents of the spec. - /// Provided by API callers when specs are created or updated. - /// To access the contents of a spec, use GetApiSpecContents. + /// Input only. The contents of the spec. + /// Provided by API callers when specs are created or updated. + /// To access the contents of a spec, use GetApiSpecContents. #[prost(bytes="vec", tag="12")] pub contents: ::prost::alloc::vec::Vec, - /// Labels attach identifying metadata to resources. Identifying metadata can - /// be used to filter list operations. + /// Labels attach identifying metadata to resources. Identifying metadata can + /// be used to filter list operations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one resource (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one resource (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with - /// `apigeeregistry.googleapis.com/` and cannot be changed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with + /// `apigeeregistry.googleapis.com/` and cannot be changed. #[prost(map="string, string", tag="14")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Annotations attach non-identifying metadata to resources. + /// Annotations attach non-identifying metadata to resources. /// - /// Annotation keys and values are less restricted than those of labels, but - /// should be generally used for small values of broad interest. Larger, topic- - /// specific metadata should be stored in Artifacts. + /// Annotation keys and values are less restricted than those of labels, but + /// should be generally used for small values of broad interest. Larger, topic- + /// specific metadata should be stored in Artifacts. #[prost(map="string, string", tag="15")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Describes a service running at particular address that -/// provides a particular version of an API. ApiDeployments have revisions which -/// correspond to different configurations of a single deployment in time. -/// Revision identifiers should be updated whenever the served API spec or -/// endpoint address changes. +/// Describes a service running at particular address that +/// provides a particular version of an API. ApiDeployments have revisions which +/// correspond to different configurations of a single deployment in time. +/// Revision identifiers should be updated whenever the served API spec or +/// endpoint address changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApiDeployment { - /// Resource name. + /// Resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Human-meaningful name. + /// Human-meaningful name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// A detailed description. + /// A detailed description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Immutable. The revision ID of the deployment. - /// A new revision is committed whenever the deployment contents are changed. - /// The format is an 8-character hexadecimal string. + /// Output only. Immutable. The revision ID of the deployment. + /// A new revision is committed whenever the deployment contents are changed. + /// The format is an 8-character hexadecimal string. #[prost(string, tag="4")] pub revision_id: ::prost::alloc::string::String, - /// Output only. Creation timestamp; when the deployment resource was created. + /// Output only. Creation timestamp; when the deployment resource was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Revision creation timestamp; when the represented revision was created. + /// Output only. Revision creation timestamp; when the represented revision was created. #[prost(message, optional, tag="6")] pub revision_create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp: when the represented revision was last modified. + /// Output only. Last update timestamp: when the represented revision was last modified. #[prost(message, optional, tag="7")] pub revision_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The full resource name (including revision ID) of the spec of the API being - /// served by the deployment. Changes to this value will update the revision. - /// Format: `apis/{api}/deployments/{deployment}` + /// The full resource name (including revision ID) of the spec of the API being + /// served by the deployment. Changes to this value will update the revision. + /// Format: `apis/{api}/deployments/{deployment}` #[prost(string, tag="8")] pub api_spec_revision: ::prost::alloc::string::String, - /// The address where the deployment is serving. Changes to this value will - /// update the revision. + /// The address where the deployment is serving. Changes to this value will + /// update the revision. #[prost(string, tag="9")] pub endpoint_uri: ::prost::alloc::string::String, - /// The address of the external channel of the API (e.g., the Developer - /// Portal). Changes to this value will not affect the revision. + /// The address of the external channel of the API (e.g., the Developer + /// Portal). Changes to this value will not affect the revision. #[prost(string, tag="10")] pub external_channel_uri: ::prost::alloc::string::String, - /// Text briefly identifying the intended audience of the API. Changes to this - /// value will not affect the revision. + /// Text briefly identifying the intended audience of the API. Changes to this + /// value will not affect the revision. #[prost(string, tag="11")] pub intended_audience: ::prost::alloc::string::String, - /// Text briefly describing how to access the endpoint. Changes to this value - /// will not affect the revision. + /// Text briefly describing how to access the endpoint. Changes to this value + /// will not affect the revision. #[prost(string, tag="12")] pub access_guidance: ::prost::alloc::string::String, - /// Labels attach identifying metadata to resources. Identifying metadata can - /// be used to filter list operations. + /// Labels attach identifying metadata to resources. Identifying metadata can + /// be used to filter list operations. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// No more than 64 user labels can be associated with one resource (System - /// labels are excluded). + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// No more than 64 user labels can be associated with one resource (System + /// labels are excluded). /// - /// See for more information and examples of labels. - /// System reserved label keys are prefixed with - /// `apigeeregistry.googleapis.com/` and cannot be changed. + /// See for more information and examples of labels. + /// System reserved label keys are prefixed with + /// `apigeeregistry.googleapis.com/` and cannot be changed. #[prost(map="string, string", tag="14")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Annotations attach non-identifying metadata to resources. + /// Annotations attach non-identifying metadata to resources. /// - /// Annotation keys and values are less restricted than those of labels, but - /// should be generally used for small values of broad interest. Larger, topic- - /// specific metadata should be stored in Artifacts. + /// Annotation keys and values are less restricted than those of labels, but + /// should be generally used for small values of broad interest. Larger, topic- + /// specific metadata should be stored in Artifacts. #[prost(map="string, string", tag="15")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Artifacts of resources. Artifacts are unique (single-value) per resource -/// and are used to store metadata that is too large or numerous to be stored -/// directly on the resource. Since artifacts are stored separately from parent -/// resources, they should generally be used for metadata that is needed -/// infrequently, i.e., not for display in primary views of the resource but -/// perhaps displayed or downloaded upon request. The `ListArtifacts` method -/// allows artifacts to be quickly enumerated and checked for presence without -/// downloading their (potentially-large) contents. +/// Artifacts of resources. Artifacts are unique (single-value) per resource +/// and are used to store metadata that is too large or numerous to be stored +/// directly on the resource. Since artifacts are stored separately from parent +/// resources, they should generally be used for metadata that is needed +/// infrequently, i.e., not for display in primary views of the resource but +/// perhaps displayed or downloaded upon request. The `ListArtifacts` method +/// allows artifacts to be quickly enumerated and checked for presence without +/// downloading their (potentially-large) contents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Artifact { - /// Resource name. + /// Resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Creation timestamp. + /// Output only. Creation timestamp. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update timestamp. + /// Output only. Last update timestamp. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// A content type specifier for the artifact. - /// Content type specifiers are Media Types - /// () with a possible "schema" - /// parameter that specifies a schema for the stored information. - /// Content types can specify compression. Currently only GZip compression is - /// supported (indicated with "+gzip"). + /// A content type specifier for the artifact. + /// Content type specifiers are Media Types + /// () with a possible "schema" + /// parameter that specifies a schema for the stored information. + /// Content types can specify compression. Currently only GZip compression is + /// supported (indicated with "+gzip"). #[prost(string, tag="4")] pub mime_type: ::prost::alloc::string::String, - /// Output only. The size of the artifact in bytes. If the artifact is gzipped, this is - /// the size of the uncompressed artifact. + /// Output only. The size of the artifact in bytes. If the artifact is gzipped, this is + /// the size of the uncompressed artifact. #[prost(int32, tag="5")] pub size_bytes: i32, - /// Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped, - /// this is the hash of the uncompressed artifact. + /// Output only. A SHA-256 hash of the artifact's contents. If the artifact is gzipped, + /// this is the hash of the uncompressed artifact. #[prost(string, tag="6")] pub hash: ::prost::alloc::string::String, - /// Input only. The contents of the artifact. - /// Provided by API callers when artifacts are created or replaced. - /// To access the contents of an artifact, use GetArtifactContents. + /// Input only. The contents of the artifact. + /// Provided by API callers when artifacts are created or replaced. + /// To access the contents of an artifact, use GetArtifactContents. #[prost(bytes="vec", tag="7")] pub contents: ::prost::alloc::vec::Vec, } -/// Request message for ListApis. +/// Request message for ListApis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApisRequest { - /// Required. The parent, which owns this collection of APIs. - /// Format: `projects/*/locations/*` + /// Required. The parent, which owns this collection of APIs. + /// Format: `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of APIs to return. - /// The service may return fewer than this value. - /// If unspecified, at most 50 values will be returned. - /// The maximum is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of APIs to return. + /// The service may return fewer than this value. + /// If unspecified, at most 50 values will be returned. + /// The maximum is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListApis` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListApis` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListApis` must match - /// the call that provided the page token. + /// When paginating, all other parameters provided to `ListApis` must match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression that can be used to filter the list. Filters use the Common - /// Expression Language and can refer to all message fields. + /// An expression that can be used to filter the list. Filters use the Common + /// Expression Language and can refer to all message fields. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListApis. +/// Response message for ListApis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApisResponse { - /// The APIs from the specified publisher. + /// The APIs from the specified publisher. #[prost(message, repeated, tag="1")] pub apis: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetApi. +/// Request message for GetApi. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiRequest { - /// Required. The name of the API to retrieve. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The name of the API to retrieve. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateApi. +/// Request message for CreateApi. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiRequest { - /// Required. The parent, which owns this collection of APIs. - /// Format: `projects/*/locations/*` + /// Required. The parent, which owns this collection of APIs. + /// Format: `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The API to create. + /// Required. The API to create. #[prost(message, optional, tag="2")] pub api: ::core::option::Option, - /// Required. The ID to use for the API, which will become the final component of - /// the API's resource name. + /// Required. The ID to use for the API, which will become the final component of + /// the API's resource name. /// - /// This value should be 4-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 4-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Following AIP-162, IDs must not have the form of a UUID. + /// Following AIP-162, IDs must not have the form of a UUID. #[prost(string, tag="3")] pub api_id: ::prost::alloc::string::String, } -/// Request message for UpdateApi. +/// Request message for UpdateApi. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiRequest { - /// Required. The API to update. + /// Required. The API to update. /// - /// The `name` field is used to identify the API to update. - /// Format: `projects/*/locations/*/apis/*` + /// The `name` field is used to identify the API to update. + /// Format: `projects/*/locations/*/apis/*` #[prost(message, optional, tag="1")] pub api: ::core::option::Option, - /// The list of fields to be updated. If omitted, all fields are updated that - /// are set in the request message (fields set to default values are ignored). - /// If an asterisk "*" is specified, all fields are updated, including fields - /// that are unspecified/default in the request. + /// The list of fields to be updated. If omitted, all fields are updated that + /// are set in the request message (fields set to default values are ignored). + /// If an asterisk "*" is specified, all fields are updated, including fields + /// that are unspecified/default in the request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the API is not found, a new API will be created. - /// In this situation, `update_mask` is ignored. + /// If set to true, and the API is not found, a new API will be created. + /// In this situation, `update_mask` is ignored. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for DeleteApi. +/// Request message for DeleteApi. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiRequest { - /// Required. The name of the API to delete. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The name of the API to delete. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources will also be deleted. - /// (Otherwise, the request will only work if there are no child resources.) + /// If set to true, any child resources will also be deleted. + /// (Otherwise, the request will only work if there are no child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for ListApiVersions. +/// Request message for ListApiVersions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiVersionsRequest { - /// Required. The parent, which owns this collection of versions. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The parent, which owns this collection of versions. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of versions to return. - /// The service may return fewer than this value. - /// If unspecified, at most 50 values will be returned. - /// The maximum is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of versions to return. + /// The service may return fewer than this value. + /// If unspecified, at most 50 values will be returned. + /// The maximum is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListApiVersions` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListApiVersions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListApiVersions` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListApiVersions` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression that can be used to filter the list. Filters use the Common - /// Expression Language and can refer to all message fields. + /// An expression that can be used to filter the list. Filters use the Common + /// Expression Language and can refer to all message fields. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListApiVersions. +/// Response message for ListApiVersions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiVersionsResponse { - /// The versions from the specified publisher. + /// The versions from the specified publisher. #[prost(message, repeated, tag="1")] pub api_versions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetApiVersion. +/// Request message for GetApiVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiVersionRequest { - /// Required. The name of the version to retrieve. - /// Format: `projects/*/locations/*/apis/*/versions/*` + /// Required. The name of the version to retrieve. + /// Format: `projects/*/locations/*/apis/*/versions/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateApiVersion. +/// Request message for CreateApiVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiVersionRequest { - /// Required. The parent, which owns this collection of versions. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The parent, which owns this collection of versions. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The version to create. + /// Required. The version to create. #[prost(message, optional, tag="2")] pub api_version: ::core::option::Option, - /// Required. The ID to use for the version, which will become the final component of - /// the version's resource name. + /// Required. The ID to use for the version, which will become the final component of + /// the version's resource name. /// - /// This value should be 1-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 1-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Following AIP-162, IDs must not have the form of a UUID. + /// Following AIP-162, IDs must not have the form of a UUID. #[prost(string, tag="3")] pub api_version_id: ::prost::alloc::string::String, } -/// Request message for UpdateApiVersion. +/// Request message for UpdateApiVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiVersionRequest { - /// Required. The version to update. + /// Required. The version to update. /// - /// The `name` field is used to identify the version to update. - /// Format: `projects/*/locations/*/apis/*/versions/*` + /// The `name` field is used to identify the version to update. + /// Format: `projects/*/locations/*/apis/*/versions/*` #[prost(message, optional, tag="1")] pub api_version: ::core::option::Option, - /// The list of fields to be updated. If omitted, all fields are updated that - /// are set in the request message (fields set to default values are ignored). - /// If an asterisk "*" is specified, all fields are updated, including fields - /// that are unspecified/default in the request. + /// The list of fields to be updated. If omitted, all fields are updated that + /// are set in the request message (fields set to default values are ignored). + /// If an asterisk "*" is specified, all fields are updated, including fields + /// that are unspecified/default in the request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the version is not found, a new version will be - /// created. In this situation, `update_mask` is ignored. + /// If set to true, and the version is not found, a new version will be + /// created. In this situation, `update_mask` is ignored. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for DeleteApiVersion. +/// Request message for DeleteApiVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiVersionRequest { - /// Required. The name of the version to delete. - /// Format: `projects/*/locations/*/apis/*/versions/*` + /// Required. The name of the version to delete. + /// Format: `projects/*/locations/*/apis/*/versions/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources will also be deleted. - /// (Otherwise, the request will only work if there are no child resources.) + /// If set to true, any child resources will also be deleted. + /// (Otherwise, the request will only work if there are no child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for ListApiSpecs. +/// Request message for ListApiSpecs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiSpecsRequest { - /// Required. The parent, which owns this collection of specs. - /// Format: `projects/*/locations/*/apis/*/versions/*` + /// Required. The parent, which owns this collection of specs. + /// Format: `projects/*/locations/*/apis/*/versions/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of specs to return. - /// The service may return fewer than this value. - /// If unspecified, at most 50 values will be returned. - /// The maximum is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of specs to return. + /// The service may return fewer than this value. + /// If unspecified, at most 50 values will be returned. + /// The maximum is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListApiSpecs` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListApiSpecs` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListApiSpecs` must match - /// the call that provided the page token. + /// When paginating, all other parameters provided to `ListApiSpecs` must match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression that can be used to filter the list. Filters use the Common - /// Expression Language and can refer to all message fields except contents. + /// An expression that can be used to filter the list. Filters use the Common + /// Expression Language and can refer to all message fields except contents. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListApiSpecs. +/// Response message for ListApiSpecs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiSpecsResponse { - /// The specs from the specified publisher. + /// The specs from the specified publisher. #[prost(message, repeated, tag="1")] pub api_specs: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetApiSpec. +/// Request message for GetApiSpec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiSpecRequest { - /// Required. The name of the spec to retrieve. - /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` + /// Required. The name of the spec to retrieve. + /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetApiSpecContents. +/// Request message for GetApiSpecContents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiSpecContentsRequest { - /// Required. The name of the spec whose contents should be retrieved. - /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` + /// Required. The name of the spec whose contents should be retrieved. + /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateApiSpec. +/// Request message for CreateApiSpec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiSpecRequest { - /// Required. The parent, which owns this collection of specs. - /// Format: `projects/*/locations/*/apis/*/versions/*` + /// Required. The parent, which owns this collection of specs. + /// Format: `projects/*/locations/*/apis/*/versions/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The spec to create. + /// Required. The spec to create. #[prost(message, optional, tag="2")] pub api_spec: ::core::option::Option, - /// Required. The ID to use for the spec, which will become the final component of - /// the spec's resource name. + /// Required. The ID to use for the spec, which will become the final component of + /// the spec's resource name. /// - /// This value should be 4-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 4-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Following AIP-162, IDs must not have the form of a UUID. + /// Following AIP-162, IDs must not have the form of a UUID. #[prost(string, tag="3")] pub api_spec_id: ::prost::alloc::string::String, } -/// Request message for UpdateApiSpec. +/// Request message for UpdateApiSpec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiSpecRequest { - /// Required. The spec to update. + /// Required. The spec to update. /// - /// The `name` field is used to identify the spec to update. - /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` + /// The `name` field is used to identify the spec to update. + /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` #[prost(message, optional, tag="1")] pub api_spec: ::core::option::Option, - /// The list of fields to be updated. If omitted, all fields are updated that - /// are set in the request message (fields set to default values are ignored). - /// If an asterisk "*" is specified, all fields are updated, including fields - /// that are unspecified/default in the request. + /// The list of fields to be updated. If omitted, all fields are updated that + /// are set in the request message (fields set to default values are ignored). + /// If an asterisk "*" is specified, all fields are updated, including fields + /// that are unspecified/default in the request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the spec is not found, a new spec will be created. - /// In this situation, `update_mask` is ignored. + /// If set to true, and the spec is not found, a new spec will be created. + /// In this situation, `update_mask` is ignored. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for DeleteApiSpec. +/// Request message for DeleteApiSpec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiSpecRequest { - /// Required. The name of the spec to delete. - /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` + /// Required. The name of the spec to delete. + /// Format: `projects/*/locations/*/apis/*/versions/*/specs/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources will also be deleted. - /// (Otherwise, the request will only work if there are no child resources.) + /// If set to true, any child resources will also be deleted. + /// (Otherwise, the request will only work if there are no child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for TagApiSpecRevision. +/// Request message for TagApiSpecRevision. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagApiSpecRevisionRequest { - /// Required. The name of the spec to be tagged, including the revision ID. + /// Required. The name of the spec to be tagged, including the revision ID. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The tag to apply. - /// The tag should be at most 40 characters, and match `\[a-z][a-z0-9-\]{3,39}`. + /// Required. The tag to apply. + /// The tag should be at most 40 characters, and match `\[a-z][a-z0-9-\]{3,39}`. #[prost(string, tag="2")] pub tag: ::prost::alloc::string::String, } -/// Request message for ListApiSpecRevisions. +/// Request message for ListApiSpecRevisions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiSpecRevisionsRequest { - /// Required. The name of the spec to list revisions for. + /// Required. The name of the spec to list revisions for. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The maximum number of revisions to return per page. + /// The maximum number of revisions to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// The page token, received from a previous ListApiSpecRevisions call. - /// Provide this to retrieve the subsequent page. + /// The page token, received from a previous ListApiSpecRevisions call. + /// Provide this to retrieve the subsequent page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListApiSpecRevisionsResponse. +/// Response message for ListApiSpecRevisionsResponse. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiSpecRevisionsResponse { - /// The revisions of the spec. + /// The revisions of the spec. #[prost(message, repeated, tag="1")] pub api_specs: ::prost::alloc::vec::Vec, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for RollbackApiSpec. +/// Request message for RollbackApiSpec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RollbackApiSpecRequest { - /// Required. The spec being rolled back. + /// Required. The spec being rolled back. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The revision ID to roll back to. - /// It must be a revision of the same spec. + /// Required. The revision ID to roll back to. + /// It must be a revision of the same spec. /// /// Example: `c7cfa2a8` #[prost(string, tag="2")] pub revision_id: ::prost::alloc::string::String, } -/// Request message for DeleteApiSpecRevision. +/// Request message for DeleteApiSpecRevision. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiSpecRevisionRequest { - /// Required. The name of the spec revision to be deleted, - /// with a revision ID explicitly included. + /// Required. The name of the spec revision to be deleted, + /// with a revision ID explicitly included. /// - /// Example: - /// `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8` + /// Example: + /// `projects/sample/locations/global/apis/petstore/versions/1.0.0/specs/openapi.yaml@c7cfa2a8` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListApiDeployments. +/// Request message for ListApiDeployments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiDeploymentsRequest { - /// Required. The parent, which owns this collection of deployments. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The parent, which owns this collection of deployments. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of deployments to return. - /// The service may return fewer than this value. - /// If unspecified, at most 50 values will be returned. - /// The maximum is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of deployments to return. + /// The service may return fewer than this value. + /// If unspecified, at most 50 values will be returned. + /// The maximum is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListApiDeployments` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListApiDeployments` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListApiDeployments` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListApiDeployments` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression that can be used to filter the list. Filters use the Common - /// Expression Language and can refer to all message fields. + /// An expression that can be used to filter the list. Filters use the Common + /// Expression Language and can refer to all message fields. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListApiDeployments. +/// Response message for ListApiDeployments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiDeploymentsResponse { - /// The deployments from the specified publisher. + /// The deployments from the specified publisher. #[prost(message, repeated, tag="1")] pub api_deployments: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetApiDeployment. +/// Request message for GetApiDeployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetApiDeploymentRequest { - /// Required. The name of the deployment to retrieve. - /// Format: `projects/*/locations/*/apis/*/deployments/*` + /// Required. The name of the deployment to retrieve. + /// Format: `projects/*/locations/*/apis/*/deployments/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateApiDeployment. +/// Request message for CreateApiDeployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateApiDeploymentRequest { - /// Required. The parent, which owns this collection of deployments. - /// Format: `projects/*/locations/*/apis/*` + /// Required. The parent, which owns this collection of deployments. + /// Format: `projects/*/locations/*/apis/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The deployment to create. + /// Required. The deployment to create. #[prost(message, optional, tag="2")] pub api_deployment: ::core::option::Option, - /// Required. The ID to use for the deployment, which will become the final component of - /// the deployment's resource name. + /// Required. The ID to use for the deployment, which will become the final component of + /// the deployment's resource name. /// - /// This value should be 4-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 4-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Following AIP-162, IDs must not have the form of a UUID. + /// Following AIP-162, IDs must not have the form of a UUID. #[prost(string, tag="3")] pub api_deployment_id: ::prost::alloc::string::String, } -/// Request message for UpdateApiDeployment. +/// Request message for UpdateApiDeployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateApiDeploymentRequest { - /// Required. The deployment to update. + /// Required. The deployment to update. /// - /// The `name` field is used to identify the deployment to update. - /// Format: `projects/*/locations/*/apis/*/deployments/*` + /// The `name` field is used to identify the deployment to update. + /// Format: `projects/*/locations/*/apis/*/deployments/*` #[prost(message, optional, tag="1")] pub api_deployment: ::core::option::Option, - /// The list of fields to be updated. If omitted, all fields are updated that - /// are set in the request message (fields set to default values are ignored). - /// If an asterisk "*" is specified, all fields are updated, including fields - /// that are unspecified/default in the request. + /// The list of fields to be updated. If omitted, all fields are updated that + /// are set in the request message (fields set to default values are ignored). + /// If an asterisk "*" is specified, all fields are updated, including fields + /// that are unspecified/default in the request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// If set to true, and the deployment is not found, a new deployment will be - /// created. In this situation, `update_mask` is ignored. + /// If set to true, and the deployment is not found, a new deployment will be + /// created. In this situation, `update_mask` is ignored. #[prost(bool, tag="3")] pub allow_missing: bool, } -/// Request message for DeleteApiDeployment. +/// Request message for DeleteApiDeployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiDeploymentRequest { - /// Required. The name of the deployment to delete. - /// Format: `projects/*/locations/*/apis/*/deployments/*` + /// Required. The name of the deployment to delete. + /// Format: `projects/*/locations/*/apis/*/deployments/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources will also be deleted. - /// (Otherwise, the request will only work if there are no child resources.) + /// If set to true, any child resources will also be deleted. + /// (Otherwise, the request will only work if there are no child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// Request message for TagApiDeploymentRevision. +/// Request message for TagApiDeploymentRevision. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagApiDeploymentRevisionRequest { - /// Required. The name of the deployment to be tagged, including the revision ID. + /// Required. The name of the deployment to be tagged, including the revision ID. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The tag to apply. - /// The tag should be at most 40 characters, and match `\[a-z][a-z0-9-\]{3,39}`. + /// Required. The tag to apply. + /// The tag should be at most 40 characters, and match `\[a-z][a-z0-9-\]{3,39}`. #[prost(string, tag="2")] pub tag: ::prost::alloc::string::String, } -/// Request message for ListApiDeploymentRevisions. +/// Request message for ListApiDeploymentRevisions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiDeploymentRevisionsRequest { - /// Required. The name of the deployment to list revisions for. + /// Required. The name of the deployment to list revisions for. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The maximum number of revisions to return per page. + /// The maximum number of revisions to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// The page token, received from a previous ListApiDeploymentRevisions call. - /// Provide this to retrieve the subsequent page. + /// The page token, received from a previous ListApiDeploymentRevisions call. + /// Provide this to retrieve the subsequent page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for ListApiDeploymentRevisionsResponse. +/// Response message for ListApiDeploymentRevisionsResponse. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListApiDeploymentRevisionsResponse { - /// The revisions of the deployment. + /// The revisions of the deployment. #[prost(message, repeated, tag="1")] pub api_deployments: ::prost::alloc::vec::Vec, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for RollbackApiDeployment. +/// Request message for RollbackApiDeployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RollbackApiDeploymentRequest { - /// Required. The deployment being rolled back. + /// Required. The deployment being rolled back. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The revision ID to roll back to. - /// It must be a revision of the same deployment. + /// Required. The revision ID to roll back to. + /// It must be a revision of the same deployment. /// /// Example: `c7cfa2a8` #[prost(string, tag="2")] pub revision_id: ::prost::alloc::string::String, } -/// Request message for DeleteApiDeploymentRevision. +/// Request message for DeleteApiDeploymentRevision. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteApiDeploymentRevisionRequest { - /// Required. The name of the deployment revision to be deleted, - /// with a revision ID explicitly included. + /// Required. The name of the deployment revision to be deleted, + /// with a revision ID explicitly included. /// - /// Example: - /// `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8` + /// Example: + /// `projects/sample/locations/global/apis/petstore/deployments/prod@c7cfa2a8` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListArtifacts. +/// Request message for ListArtifacts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsRequest { - /// Required. The parent, which owns this collection of artifacts. - /// Format: `{parent}` + /// Required. The parent, which owns this collection of artifacts. + /// Format: `{parent}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of artifacts to return. - /// The service may return fewer than this value. - /// If unspecified, at most 50 values will be returned. - /// The maximum is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of artifacts to return. + /// The service may return fewer than this value. + /// If unspecified, at most 50 values will be returned. + /// The maximum is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListArtifacts` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListArtifacts` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListArtifacts` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListArtifacts` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// An expression that can be used to filter the list. Filters use the Common - /// Expression Language and can refer to all message fields except contents. + /// An expression that can be used to filter the list. Filters use the Common + /// Expression Language and can refer to all message fields except contents. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ListArtifacts. +/// Response message for ListArtifacts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListArtifactsResponse { - /// The artifacts from the specified publisher. + /// The artifacts from the specified publisher. #[prost(message, repeated, tag="1")] pub artifacts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetArtifact. +/// Request message for GetArtifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetArtifactRequest { - /// Required. The name of the artifact to retrieve. - /// Format: `{parent}/artifacts/*` + /// Required. The name of the artifact to retrieve. + /// Format: `{parent}/artifacts/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for GetArtifactContents. +/// Request message for GetArtifactContents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetArtifactContentsRequest { - /// Required. The name of the artifact whose contents should be retrieved. - /// Format: `{parent}/artifacts/*` + /// Required. The name of the artifact whose contents should be retrieved. + /// Format: `{parent}/artifacts/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateArtifact. +/// Request message for CreateArtifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateArtifactRequest { - /// Required. The parent, which owns this collection of artifacts. - /// Format: `{parent}` + /// Required. The parent, which owns this collection of artifacts. + /// Format: `{parent}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The artifact to create. + /// Required. The artifact to create. #[prost(message, optional, tag="2")] pub artifact: ::core::option::Option, - /// Required. The ID to use for the artifact, which will become the final component of - /// the artifact's resource name. + /// Required. The ID to use for the artifact, which will become the final component of + /// the artifact's resource name. /// - /// This value should be 4-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 4-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Following AIP-162, IDs must not have the form of a UUID. + /// Following AIP-162, IDs must not have the form of a UUID. #[prost(string, tag="3")] pub artifact_id: ::prost::alloc::string::String, } -/// Request message for ReplaceArtifact. +/// Request message for ReplaceArtifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReplaceArtifactRequest { - /// Required. The artifact to replace. + /// Required. The artifact to replace. /// - /// The `name` field is used to identify the artifact to replace. - /// Format: `{parent}/artifacts/*` + /// The `name` field is used to identify the artifact to replace. + /// Format: `{parent}/artifacts/*` #[prost(message, optional, tag="1")] pub artifact: ::core::option::Option, } -/// Request message for DeleteArtifact. +/// Request message for DeleteArtifact. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteArtifactRequest { - /// Required. The name of the artifact to delete. - /// Format: `{parent}/artifacts/*` + /// Required. The name of the artifact to delete. + /// Format: `{parent}/artifacts/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.asset.v1.rs b/gcloud-sdk/genproto/google.cloud.asset.v1.rs index 04fe470f0..2980472e7 100644 --- a/gcloud-sdk/genproto/google.cloud.asset.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.asset.v1.rs @@ -1,39 +1,39 @@ -/// An asset in Google Cloud and its temporal metadata, including the time window -/// when it was observed and its status during that window. +/// An asset in Google Cloud and its temporal metadata, including the time window +/// when it was observed and its status during that window. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TemporalAsset { - /// The time window when the asset data and state was observed. + /// The time window when the asset data and state was observed. #[prost(message, optional, tag="1")] pub window: ::core::option::Option, - /// Whether the asset has been deleted or not. + /// Whether the asset has been deleted or not. #[prost(bool, tag="2")] pub deleted: bool, - /// An asset in Google Cloud. + /// An asset in Google Cloud. #[prost(message, optional, tag="3")] pub asset: ::core::option::Option, - /// State of prior_asset. + /// State of prior_asset. #[prost(enumeration="temporal_asset::PriorAssetState", tag="4")] pub prior_asset_state: i32, - /// Prior copy of the asset. Populated if prior_asset_state is PRESENT. - /// Currently this is only set for responses in Real-Time Feed. + /// Prior copy of the asset. Populated if prior_asset_state is PRESENT. + /// Currently this is only set for responses in Real-Time Feed. #[prost(message, optional, tag="5")] pub prior_asset: ::core::option::Option, } /// Nested message and enum types in `TemporalAsset`. pub mod temporal_asset { - /// State of prior asset. + /// State of prior asset. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PriorAssetState { - /// prior_asset is not applicable for the current asset. + /// prior_asset is not applicable for the current asset. Unspecified = 0, - /// prior_asset is populated correctly. + /// prior_asset is populated correctly. Present = 1, - /// Failed to set prior_asset. + /// Failed to set prior_asset. Invalid = 2, - /// Current asset is the first known state. + /// Current asset is the first known state. DoesNotExist = 3, - /// prior_asset is a deletion. + /// prior_asset is a deletion. Deleted = 4, } impl PriorAssetState { @@ -52,646 +52,646 @@ pub mod temporal_asset { } } } -/// A time window specified by its `start_time` and `end_time`. +/// A time window specified by its `start_time` and `end_time`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeWindow { - /// Start time of the time window (exclusive). + /// Start time of the time window (exclusive). #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of the time window (inclusive). If not specified, the current - /// timestamp is used instead. + /// End time of the time window (inclusive). If not specified, the current + /// timestamp is used instead. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// An asset in Google Cloud. An asset can be any resource in the Google Cloud -/// [resource -/// hierarchy](), -/// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy), -/// or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). -/// See [Supported asset -/// types]() -/// for more information. +/// An asset in Google Cloud. An asset can be any resource in the Google Cloud +/// [resource +/// hierarchy](), +/// a resource outside the Google Cloud resource hierarchy (such as Google +/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy), +/// or a relationship (e.g. an INSTANCE_TO_INSTANCEGROUP relationship). +/// See [Supported asset +/// types]() +/// for more information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// The last update timestamp of an asset. update_time is updated when - /// create/update/delete operation is performed. + /// The last update timestamp of an asset. update_time is updated when + /// create/update/delete operation is performed. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The full name of the asset. Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + /// The full name of the asset. Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` /// - /// See [Resource - /// names]() - /// for more information. + /// See [Resource + /// names]() + /// for more information. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of the asset. Example: `compute.googleapis.com/Disk` + /// The type of the asset. Example: `compute.googleapis.com/Disk` /// - /// See [Supported asset - /// types]() - /// for more information. + /// See [Supported asset + /// types]() + /// for more information. #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// A representation of the resource. + /// A representation of the resource. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option, - /// A representation of the Cloud IAM policy set on a Google Cloud resource. - /// There can be a maximum of one Cloud IAM policy set on any given resource. - /// In addition, Cloud IAM policies inherit their granted access scope from any - /// policies set on parent resources in the resource hierarchy. Therefore, the - /// effectively policy is the union of both the policy set on this resource - /// and each policy set on all of the resource's ancestry resource levels in - /// the hierarchy. See - /// [this topic]() - /// for more information. + /// A representation of the Cloud IAM policy set on a Google Cloud resource. + /// There can be a maximum of one Cloud IAM policy set on any given resource. + /// In addition, Cloud IAM policies inherit their granted access scope from any + /// policies set on parent resources in the resource hierarchy. Therefore, the + /// effectively policy is the union of both the policy set on this resource + /// and each policy set on all of the resource's ancestry resource levels in + /// the hierarchy. See + /// [this topic]() + /// for more information. #[prost(message, optional, tag="4")] pub iam_policy: ::core::option::Option, - /// A representation of an [organization - /// policy](). - /// There can be more than one organization policy with different constraints - /// set on a given resource. + /// A representation of an [organization + /// policy](). + /// There can be more than one organization policy with different constraints + /// set on a given resource. #[prost(message, repeated, tag="6")] pub org_policy: ::prost::alloc::vec::Vec, - /// A representation of runtime OS Inventory information. See [this - /// topic]() - /// for more information. + /// A representation of runtime OS Inventory information. See [this + /// topic]() + /// for more information. #[prost(message, optional, tag="12")] pub os_inventory: ::core::option::Option, - /// DEPRECATED. This field only presents for the purpose of - /// backward-compatibility. The server will never generate responses with this - /// field. - /// The related assets of the asset of one relationship type. One asset - /// only represents one type of relationship. + /// DEPRECATED. This field only presents for the purpose of + /// backward-compatibility. The server will never generate responses with this + /// field. + /// The related assets of the asset of one relationship type. One asset + /// only represents one type of relationship. #[deprecated] #[prost(message, optional, tag="13")] pub related_assets: ::core::option::Option, - /// One related asset of the current asset. + /// One related asset of the current asset. #[prost(message, optional, tag="15")] pub related_asset: ::core::option::Option, - /// The ancestry path of an asset in Google Cloud [resource - /// hierarchy](), - /// represented as a list of relative resource names. An ancestry path starts - /// with the closest ancestor in the hierarchy and ends at root. If the asset - /// is a project, folder, or organization, the ancestry path starts from the - /// asset itself. - /// - /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` + /// The ancestry path of an asset in Google Cloud [resource + /// hierarchy](), + /// represented as a list of relative resource names. An ancestry path starts + /// with the closest ancestor in the hierarchy and ends at root. If the asset + /// is a project, folder, or organization, the ancestry path starts from the + /// asset itself. + /// + /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` #[prost(string, repeated, tag="10")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A representation of an [access - /// policy](). + /// A representation of an [access + /// policy](). #[prost(oneof="asset::AccessContextPolicy", tags="7, 8, 9")] pub access_context_policy: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// A representation of an [access - /// policy](). + /// A representation of an [access + /// policy](). #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AccessContextPolicy { - /// Please also refer to the [access policy user - /// guide](). + /// Please also refer to the [access policy user + /// guide](). #[prost(message, tag="7")] AccessPolicy(super::super::super::super::identity::accesscontextmanager::v1::AccessPolicy), - /// Please also refer to the [access level user - /// guide](). + /// Please also refer to the [access level user + /// guide](). #[prost(message, tag="8")] AccessLevel(super::super::super::super::identity::accesscontextmanager::v1::AccessLevel), - /// Please also refer to the [service perimeter user - /// guide](). + /// Please also refer to the [service perimeter user + /// guide](). #[prost(message, tag="9")] ServicePerimeter(super::super::super::super::identity::accesscontextmanager::v1::ServicePerimeter), } } -/// A representation of a Google Cloud resource. +/// A representation of a Google Cloud resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// The API version. Example: `v1` + /// The API version. Example: `v1` #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// The URL of the discovery document containing the resource's JSON schema. - /// Example: - /// ` + /// The URL of the discovery document containing the resource's JSON schema. + /// Example: + /// ` /// - /// This value is unspecified for resources that do not have an API based on a - /// discovery document, such as Cloud Bigtable. + /// This value is unspecified for resources that do not have an API based on a + /// discovery document, such as Cloud Bigtable. #[prost(string, tag="2")] pub discovery_document_uri: ::prost::alloc::string::String, - /// The JSON schema name listed in the discovery document. Example: - /// `Project` + /// The JSON schema name listed in the discovery document. Example: + /// `Project` /// - /// This value is unspecified for resources that do not have an API based on a - /// discovery document, such as Cloud Bigtable. + /// This value is unspecified for resources that do not have an API based on a + /// discovery document, such as Cloud Bigtable. #[prost(string, tag="3")] pub discovery_name: ::prost::alloc::string::String, - /// The REST URL for accessing the resource. An HTTP `GET` request using this - /// URL returns the resource itself. Example: - /// ` + /// The REST URL for accessing the resource. An HTTP `GET` request using this + /// URL returns the resource itself. Example: + /// ` /// - /// This value is unspecified for resources without a REST API. + /// This value is unspecified for resources without a REST API. #[prost(string, tag="4")] pub resource_url: ::prost::alloc::string::String, - /// The full name of the immediate parent of this resource. See - /// [Resource - /// Names]() - /// for more information. - /// - /// For Google Cloud assets, this value is the parent resource defined in the - /// [Cloud IAM policy - /// hierarchy](). - /// Example: - /// `//cloudresourcemanager.googleapis.com/projects/my_project_123` - /// - /// For third-party assets, this field may be set differently. + /// The full name of the immediate parent of this resource. See + /// [Resource + /// Names]() + /// for more information. + /// + /// For Google Cloud assets, this value is the parent resource defined in the + /// [Cloud IAM policy + /// hierarchy](). + /// Example: + /// `//cloudresourcemanager.googleapis.com/projects/my_project_123` + /// + /// For third-party assets, this field may be set differently. #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The content of the resource, in which some sensitive fields are removed - /// and may not be present. + /// The content of the resource, in which some sensitive fields are removed + /// and may not be present. #[prost(message, optional, tag="6")] pub data: ::core::option::Option<::prost_types::Struct>, - /// The location of the resource in Google Cloud, such as its zone and region. - /// For more information, see + /// The location of the resource in Google Cloud, such as its zone and region. + /// For more information, see #[prost(string, tag="8")] pub location: ::prost::alloc::string::String, } -/// DEPRECATED. This message only presents for the purpose of -/// backward-compatibility. The server will never populate this message in -/// responses. -/// The detailed related assets with the `relationship_type`. +/// DEPRECATED. This message only presents for the purpose of +/// backward-compatibility. The server will never populate this message in +/// responses. +/// The detailed related assets with the `relationship_type`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedAssets { - /// The detailed relationship attributes. + /// The detailed relationship attributes. #[prost(message, optional, tag="1")] pub relationship_attributes: ::core::option::Option, - /// The peer resources of the relationship. + /// The peer resources of the relationship. #[prost(message, repeated, tag="2")] pub assets: ::prost::alloc::vec::Vec, } -/// DEPRECATED. This message only presents for the purpose of -/// backward-compatibility. The server will never populate this message in -/// responses. -/// The relationship attributes which include `type`, `source_resource_type`, -/// `target_resource_type` and `action`. +/// DEPRECATED. This message only presents for the purpose of +/// backward-compatibility. The server will never populate this message in +/// responses. +/// The relationship attributes which include `type`, `source_resource_type`, +/// `target_resource_type` and `action`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelationshipAttributes { - /// The unique identifier of the relationship type. Example: - /// `INSTANCE_TO_INSTANCEGROUP` + /// The unique identifier of the relationship type. Example: + /// `INSTANCE_TO_INSTANCEGROUP` #[prost(string, tag="4")] pub r#type: ::prost::alloc::string::String, - /// The source asset type. Example: `compute.googleapis.com/Instance` + /// The source asset type. Example: `compute.googleapis.com/Instance` #[prost(string, tag="1")] pub source_resource_type: ::prost::alloc::string::String, - /// The target asset type. Example: `compute.googleapis.com/Disk` + /// The target asset type. Example: `compute.googleapis.com/Disk` #[prost(string, tag="2")] pub target_resource_type: ::prost::alloc::string::String, - /// The detail of the relationship, e.g. `contains`, `attaches` + /// The detail of the relationship, e.g. `contains`, `attaches` #[prost(string, tag="3")] pub action: ::prost::alloc::string::String, } -/// An asset identifier in Google Cloud which contains its name, type and -/// ancestors. An asset can be any resource in the Google Cloud [resource -/// hierarchy](), -/// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). -/// See [Supported asset -/// types]() -/// for more information. +/// An asset identifier in Google Cloud which contains its name, type and +/// ancestors. An asset can be any resource in the Google Cloud [resource +/// hierarchy](), +/// a resource outside the Google Cloud resource hierarchy (such as Google +/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). +/// See [Supported asset +/// types]() +/// for more information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedAsset { - /// The full name of the asset. Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + /// The full name of the asset. Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` /// - /// See [Resource - /// names]() - /// for more information. + /// See [Resource + /// names]() + /// for more information. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// The type of the asset. Example: `compute.googleapis.com/Disk` + /// The type of the asset. Example: `compute.googleapis.com/Disk` /// - /// See [Supported asset - /// types]() - /// for more information. + /// See [Supported asset + /// types]() + /// for more information. #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// The ancestors of an asset in Google Cloud [resource - /// hierarchy](), - /// represented as a list of relative resource names. An ancestry path starts - /// with the closest ancestor in the hierarchy and ends at root. + /// The ancestors of an asset in Google Cloud [resource + /// hierarchy](), + /// represented as a list of relative resource names. An ancestry path starts + /// with the closest ancestor in the hierarchy and ends at root. /// - /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` + /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` #[prost(string, repeated, tag="3")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The unique identifier of the relationship type. Example: - /// `INSTANCE_TO_INSTANCEGROUP` + /// The unique identifier of the relationship type. Example: + /// `INSTANCE_TO_INSTANCEGROUP` #[prost(string, tag="4")] pub relationship_type: ::prost::alloc::string::String, } -/// A result of Resource Search, containing information of a cloud resource. -/// Next ID: 29 +/// A result of Resource Search, containing information of a cloud resource. +/// Next ID: 29 #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSearchResult { - /// The full resource name of this resource. Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Cloud Asset Inventory Resource Name - /// Format]() - /// for more information. + /// The full resource name of this resource. Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Cloud Asset Inventory Resource Name + /// Format]() + /// for more information. /// - /// To search against the `name`: + /// To search against the `name`: /// - /// * use a field query. Example: `name:instance1` - /// * use a free text query. Example: `instance1` + /// * use a field query. Example: `name:instance1` + /// * use a free text query. Example: `instance1` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of this resource. Example: `compute.googleapis.com/Disk`. + /// The type of this resource. Example: `compute.googleapis.com/Disk`. /// - /// To search against the `asset_type`: + /// To search against the `asset_type`: /// - /// * specify the `asset_type` field in your search request. + /// * specify the `asset_type` field in your search request. #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// The project that this resource belongs to, in the form of - /// projects/{PROJECT_NUMBER}. This field is available when the resource - /// belongs to a project. + /// The project that this resource belongs to, in the form of + /// projects/{PROJECT_NUMBER}. This field is available when the resource + /// belongs to a project. /// - /// To search against `project`: + /// To search against `project`: /// - /// * use a field query. Example: `project:12345` - /// * use a free text query. Example: `12345` - /// * specify the `scope` field as this project in your search request. + /// * use a field query. Example: `project:12345` + /// * use a free text query. Example: `12345` + /// * specify the `scope` field as this project in your search request. #[prost(string, tag="3")] pub project: ::prost::alloc::string::String, - /// The folder(s) that this resource belongs to, in the form of - /// folders/{FOLDER_NUMBER}. This field is available when the resource - /// belongs to one or more folders. + /// The folder(s) that this resource belongs to, in the form of + /// folders/{FOLDER_NUMBER}. This field is available when the resource + /// belongs to one or more folders. /// - /// To search against `folders`: + /// To search against `folders`: /// - /// * use a field query. Example: `folders:(123 OR 456)` - /// * use a free text query. Example: `123` - /// * specify the `scope` field as this folder in your search request. + /// * use a field query. Example: `folders:(123 OR 456)` + /// * use a free text query. Example: `123` + /// * specify the `scope` field as this folder in your search request. #[prost(string, repeated, tag="17")] pub folders: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The organization that this resource belongs to, in the form of - /// organizations/{ORGANIZATION_NUMBER}. This field is available when the - /// resource belongs to an organization. + /// The organization that this resource belongs to, in the form of + /// organizations/{ORGANIZATION_NUMBER}. This field is available when the + /// resource belongs to an organization. /// - /// To search against `organization`: + /// To search against `organization`: /// - /// * use a field query. Example: `organization:123` - /// * use a free text query. Example: `123` - /// * specify the `scope` field as this organization in your search request. + /// * use a field query. Example: `organization:123` + /// * use a free text query. Example: `123` + /// * specify the `scope` field as this organization in your search request. #[prost(string, tag="18")] pub organization: ::prost::alloc::string::String, - /// The display name of this resource. This field is available only when the - /// resource's Protobuf contains it. + /// The display name of this resource. This field is available only when the + /// resource's Protobuf contains it. /// - /// To search against the `display_name`: + /// To search against the `display_name`: /// - /// * use a field query. Example: `displayName:"My Instance"` - /// * use a free text query. Example: `"My Instance"` + /// * use a field query. Example: `displayName:"My Instance"` + /// * use a free text query. Example: `"My Instance"` #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// One or more paragraphs of text description of this resource. Maximum length - /// could be up to 1M bytes. This field is available only when the resource's - /// Protobuf contains it. + /// One or more paragraphs of text description of this resource. Maximum length + /// could be up to 1M bytes. This field is available only when the resource's + /// Protobuf contains it. /// - /// To search against the `description`: + /// To search against the `description`: /// - /// * use a field query. Example: `description:"important instance"` - /// * use a free text query. Example: `"important instance"` + /// * use a field query. Example: `description:"important instance"` + /// * use a free text query. Example: `"important instance"` #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Location can be `global`, regional like `us-east1`, or zonal like - /// `us-west1-b`. This field is available only when the resource's Protobuf - /// contains it. + /// Location can be `global`, regional like `us-east1`, or zonal like + /// `us-west1-b`. This field is available only when the resource's Protobuf + /// contains it. /// - /// To search against the `location`: + /// To search against the `location`: /// - /// * use a field query. Example: `location:us-west*` - /// * use a free text query. Example: `us-west*` + /// * use a field query. Example: `location:us-west*` + /// * use a free text query. Example: `us-west*` #[prost(string, tag="6")] pub location: ::prost::alloc::string::String, - /// Labels associated with this resource. See [Labelling and grouping GCP - /// resources]() - /// for more information. This field is available only when the resource's - /// Protobuf contains it. + /// Labels associated with this resource. See [Labelling and grouping GCP + /// resources]() + /// for more information. This field is available only when the resource's + /// Protobuf contains it. /// - /// To search against the `labels`: + /// To search against the `labels`: /// - /// * use a field query: + /// * use a field query: /// - query on any label's key or value. Example: `labels:prod` /// - query by a given label. Example: `labels.env:prod` /// - query by a given label's existence. Example: `labels.env:*` - /// * use a free text query. Example: `prod` + /// * use a free text query. Example: `prod` #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Network tags associated with this resource. Like labels, network tags are a - /// type of annotations used to group GCP resources. See [Labelling GCP - /// resources]() - /// for more information. This field is available only when the resource's - /// Protobuf contains it. + /// Network tags associated with this resource. Like labels, network tags are a + /// type of annotations used to group GCP resources. See [Labelling GCP + /// resources]() + /// for more information. This field is available only when the resource's + /// Protobuf contains it. /// - /// To search against the `network_tags`: + /// To search against the `network_tags`: /// - /// * use a field query. Example: `networkTags:internal` - /// * use a free text query. Example: `internal` + /// * use a field query. Example: `networkTags:internal` + /// * use a free text query. Example: `internal` #[prost(string, repeated, tag="8")] pub network_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Cloud KMS - /// \[CryptoKey\]() - /// name or - /// \[CryptoKeyVersion\]() - /// name. This field is available only when the resource's Protobuf contains - /// it. + /// The Cloud KMS + /// \[CryptoKey\]() + /// name or + /// \[CryptoKeyVersion\]() + /// name. This field is available only when the resource's Protobuf contains + /// it. /// - /// To search against the `kms_key`: + /// To search against the `kms_key`: /// - /// * use a field query. Example: `kmsKey:key` - /// * use a free text query. Example: `key` + /// * use a field query. Example: `kmsKey:key` + /// * use a free text query. Example: `key` #[prost(string, tag="10")] pub kms_key: ::prost::alloc::string::String, - /// The create timestamp of this resource, at which the resource was created. - /// The granularity is in seconds. Timestamp.nanos will always be 0. This field - /// is available only when the resource's Protobuf contains it. + /// The create timestamp of this resource, at which the resource was created. + /// The granularity is in seconds. Timestamp.nanos will always be 0. This field + /// is available only when the resource's Protobuf contains it. /// - /// To search against `create_time`: + /// To search against `create_time`: /// - /// * use a field query. + /// * use a field query. /// - value in seconds since unix epoch. Example: `createTime > 1609459200` /// - value in date string. Example: `createTime > 2021-01-01` /// - value in date-time string (must be quoted). Example: `createTime > /// "2021-01-01T00:00:00"` #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The last update timestamp of this resource, at which the resource was last - /// modified or deleted. The granularity is in seconds. Timestamp.nanos will - /// always be 0. This field is available only when the resource's Protobuf - /// contains it. + /// The last update timestamp of this resource, at which the resource was last + /// modified or deleted. The granularity is in seconds. Timestamp.nanos will + /// always be 0. This field is available only when the resource's Protobuf + /// contains it. /// - /// To search against `update_time`: + /// To search against `update_time`: /// - /// * use a field query. + /// * use a field query. /// - value in seconds since unix epoch. Example: `updateTime < 1609459200` /// - value in date string. Example: `updateTime < 2021-01-01` /// - value in date-time string (must be quoted). Example: `updateTime < /// "2021-01-01T00:00:00"` #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The state of this resource. Different resources types have different state - /// definitions that are mapped from various fields of different resource - /// types. This field is available only when the resource's Protobuf contains - /// it. - /// - /// Example: - /// If the resource is an instance provided by Compute Engine, - /// its state will include PROVISIONING, STAGING, RUNNING, STOPPING, - /// SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition - /// in [API - /// Reference](). - /// If the resource is a project provided by Cloud Resource Manager, its state - /// will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and - /// DELETE_IN_PROGRESS. See `lifecycleState` definition in [API - /// Reference](). - /// - /// To search against the `state`: - /// - /// * use a field query. Example: `state:RUNNING` - /// * use a free text query. Example: `RUNNING` + /// The state of this resource. Different resources types have different state + /// definitions that are mapped from various fields of different resource + /// types. This field is available only when the resource's Protobuf contains + /// it. + /// + /// Example: + /// If the resource is an instance provided by Compute Engine, + /// its state will include PROVISIONING, STAGING, RUNNING, STOPPING, + /// SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. See `status` definition + /// in [API + /// Reference](). + /// If the resource is a project provided by Cloud Resource Manager, its state + /// will include LIFECYCLE_STATE_UNSPECIFIED, ACTIVE, DELETE_REQUESTED and + /// DELETE_IN_PROGRESS. See `lifecycleState` definition in [API + /// Reference](). + /// + /// To search against the `state`: + /// + /// * use a field query. Example: `state:RUNNING` + /// * use a free text query. Example: `RUNNING` #[prost(string, tag="13")] pub state: ::prost::alloc::string::String, - /// The additional searchable attributes of this resource. The attributes may - /// vary from one resource type to another. Examples: `projectId` for Project, - /// `dnsName` for DNS ManagedZone. This field contains a subset of the resource - /// metadata fields that are returned by the List or Get APIs provided by the - /// corresponding GCP service (e.g., Compute Engine). see [API references and - /// supported searchable - /// attributes]() - /// to see which fields are included. - /// - /// You can search values of these fields through free text search. However, - /// you should not consume the field programically as the field names and - /// values may change as the GCP service updates to a new incompatible API - /// version. - /// - /// To search against the `additional_attributes`: - /// - /// * use a free text query to match the attributes values. Example: to search + /// The additional searchable attributes of this resource. The attributes may + /// vary from one resource type to another. Examples: `projectId` for Project, + /// `dnsName` for DNS ManagedZone. This field contains a subset of the resource + /// metadata fields that are returned by the List or Get APIs provided by the + /// corresponding GCP service (e.g., Compute Engine). see [API references and + /// supported searchable + /// attributes]() + /// to see which fields are included. + /// + /// You can search values of these fields through free text search. However, + /// you should not consume the field programically as the field names and + /// values may change as the GCP service updates to a new incompatible API + /// version. + /// + /// To search against the `additional_attributes`: + /// + /// * use a free text query to match the attributes values. Example: to search /// `additional_attributes = { dnsName: "foobar" }`, you can issue a query /// `foobar`. #[prost(message, optional, tag="9")] pub additional_attributes: ::core::option::Option<::prost_types::Struct>, - /// The full resource name of this resource's parent, if it has one. - /// To search against the `parent_full_resource_name`: + /// The full resource name of this resource's parent, if it has one. + /// To search against the `parent_full_resource_name`: /// - /// * use a field query. Example: - /// `parentFullResourceName:"project-name"` - /// * use a free text query. Example: - /// `project-name` + /// * use a field query. Example: + /// `parentFullResourceName:"project-name"` + /// * use a free text query. Example: + /// `project-name` #[prost(string, tag="19")] pub parent_full_resource_name: ::prost::alloc::string::String, - /// Versioned resource representations of this resource. This is repeated - /// because there could be multiple versions of resource representations during - /// version migration. + /// Versioned resource representations of this resource. This is repeated + /// because there could be multiple versions of resource representations during + /// version migration. /// - /// This `versioned_resources` field is not searchable. Some attributes of the - /// resource representations are exposed in `additional_attributes` field, so - /// as to allow users to search on them. + /// This `versioned_resources` field is not searchable. Some attributes of the + /// resource representations are exposed in `additional_attributes` field, so + /// as to allow users to search on them. #[prost(message, repeated, tag="16")] pub versioned_resources: ::prost::alloc::vec::Vec, - /// Attached resources of this resource. For example, an OSConfig - /// Inventory is an attached resource of a Compute Instance. This field is - /// repeated because a resource could have multiple attached resources. + /// Attached resources of this resource. For example, an OSConfig + /// Inventory is an attached resource of a Compute Instance. This field is + /// repeated because a resource could have multiple attached resources. /// - /// This `attached_resources` field is not searchable. Some attributes - /// of the attached resources are exposed in `additional_attributes` field, so - /// as to allow users to search on them. + /// This `attached_resources` field is not searchable. Some attributes + /// of the attached resources are exposed in `additional_attributes` field, so + /// as to allow users to search on them. #[prost(message, repeated, tag="20")] pub attached_resources: ::prost::alloc::vec::Vec, - /// A map of related resources of this resource, keyed by the - /// relationship type. A relationship type is in the format of - /// {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, - /// `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. - /// See [supported relationship - /// types](). + /// A map of related resources of this resource, keyed by the + /// relationship type. A relationship type is in the format of + /// {SourceType}_{ACTION}_{DestType}. Example: `DISK_TO_INSTANCE`, + /// `DISK_TO_NETWORK`, `INSTANCE_TO_INSTANCEGROUP`. + /// See [supported relationship + /// types](). #[prost(map="string, message", tag="21")] pub relationships: ::std::collections::HashMap<::prost::alloc::string::String, RelatedResources>, - /// TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. - /// To search against the `tagKeys`: + /// TagKey namespaced names, in the format of {ORG_ID}/{TAG_KEY_SHORT_NAME}. + /// To search against the `tagKeys`: /// - /// * use a field query. Example: + /// * use a field query. Example: /// - `tagKeys:"123456789/env*"` /// - `tagKeys="123456789/env"` /// - `tagKeys:"env"` /// - /// * use a free text query. Example: + /// * use a free text query. Example: /// - `env` #[prost(string, repeated, tag="23")] pub tag_keys: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// TagValue namespaced names, in the format of - /// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. - /// To search against the `tagValues`: + /// TagValue namespaced names, in the format of + /// {ORG_ID}/{TAG_KEY_SHORT_NAME}/{TAG_VALUE_SHORT_NAME}. + /// To search against the `tagValues`: /// - /// * use a field query. Example: + /// * use a field query. Example: /// - `tagValues:"env"` /// - `tagValues:"env/prod"` /// - `tagValues:"123456789/env/prod*"` /// - `tagValues="123456789/env/prod"` /// - /// * use a free text query. Example: + /// * use a free text query. Example: /// - `prod` #[prost(string, repeated, tag="25")] pub tag_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. - /// To search against the `tagValueIds`: + /// TagValue IDs, in the format of tagValues/{TAG_VALUE_ID}. + /// To search against the `tagValueIds`: /// - /// * use a field query. Example: + /// * use a field query. Example: /// - `tagValueIds:"456"` /// - `tagValueIds="tagValues/456"` /// - /// * use a free text query. Example: + /// * use a free text query. Example: /// - `456` #[prost(string, repeated, tag="26")] pub tag_value_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The type of this resource's immediate parent, if there is one. + /// The type of this resource's immediate parent, if there is one. /// - /// To search against the `parent_asset_type`: + /// To search against the `parent_asset_type`: /// - /// * use a field query. Example: - /// `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` - /// * use a free text query. Example: - /// `cloudresourcemanager.googleapis.com/Project` + /// * use a field query. Example: + /// `parentAssetType:"cloudresourcemanager.googleapis.com/Project"` + /// * use a free text query. Example: + /// `cloudresourcemanager.googleapis.com/Project` #[prost(string, tag="103")] pub parent_asset_type: ::prost::alloc::string::String, } -/// Resource representation as defined by the corresponding service providing the -/// resource for a given API version. +/// Resource representation as defined by the corresponding service providing the +/// resource for a given API version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VersionedResource { - /// API version of the resource. + /// API version of the resource. /// - /// Example: - /// If the resource is an instance provided by Compute Engine v1 API as defined - /// in ` - /// version will be "v1". + /// Example: + /// If the resource is an instance provided by Compute Engine v1 API as defined + /// in ` + /// version will be "v1". #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// JSON representation of the resource as defined by the corresponding - /// service providing this resource. - /// - /// Example: - /// If the resource is an instance provided by Compute Engine, this field will - /// contain the JSON representation of the instance as defined by Compute - /// Engine: - /// ` - /// - /// You can find the resource definition for each supported resource type in - /// this table: - /// ` + /// JSON representation of the resource as defined by the corresponding + /// service providing this resource. + /// + /// Example: + /// If the resource is an instance provided by Compute Engine, this field will + /// contain the JSON representation of the instance as defined by Compute + /// Engine: + /// ` + /// + /// You can find the resource definition for each supported resource type in + /// this table: + /// ` #[prost(message, optional, tag="2")] pub resource: ::core::option::Option<::prost_types::Struct>, } -/// Attached resource representation, which is defined by the corresponding -/// service provider. It represents an attached resource's payload. +/// Attached resource representation, which is defined by the corresponding +/// service provider. It represents an attached resource's payload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachedResource { - /// The type of this attached resource. + /// The type of this attached resource. /// - /// Example: `osconfig.googleapis.com/Inventory` + /// Example: `osconfig.googleapis.com/Inventory` /// - /// You can find the supported attached asset types of each resource in this - /// table: - /// ` + /// You can find the supported attached asset types of each resource in this + /// table: + /// ` #[prost(string, tag="1")] pub asset_type: ::prost::alloc::string::String, - /// Versioned resource representations of this attached resource. This is - /// repeated because there could be multiple versions of the attached resource - /// representations during version migration. + /// Versioned resource representations of this attached resource. This is + /// repeated because there could be multiple versions of the attached resource + /// representations during version migration. #[prost(message, repeated, tag="3")] pub versioned_resources: ::prost::alloc::vec::Vec, } -/// The related resources of the primary resource. +/// The related resources of the primary resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedResources { - /// The detailed related resources of the primary resource. + /// The detailed related resources of the primary resource. #[prost(message, repeated, tag="1")] pub related_resources: ::prost::alloc::vec::Vec, } -/// The detailed related resource. +/// The detailed related resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedResource { - /// The type of the asset. Example: `compute.googleapis.com/Instance` + /// The type of the asset. Example: `compute.googleapis.com/Instance` #[prost(string, tag="1")] pub asset_type: ::prost::alloc::string::String, - /// The full resource name of the related resource. Example: - /// `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123` + /// The full resource name of the related resource. Example: + /// `//compute.googleapis.com/projects/my_proj_123/zones/instance/instance123` #[prost(string, tag="2")] pub full_resource_name: ::prost::alloc::string::String, } -/// A result of IAM Policy search, containing information of an IAM policy. +/// A result of IAM Policy search, containing information of an IAM policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicySearchResult { - /// The full resource name of the resource associated with this IAM policy. - /// Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Cloud Asset Inventory Resource Name - /// Format]() - /// for more information. + /// The full resource name of the resource associated with this IAM policy. + /// Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Cloud Asset Inventory Resource Name + /// Format]() + /// for more information. /// - /// To search against the `resource`: + /// To search against the `resource`: /// - /// * use a field query. Example: `resource:organizations/123` + /// * use a field query. Example: `resource:organizations/123` #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The type of the resource associated with this IAM policy. Example: - /// `compute.googleapis.com/Disk`. + /// The type of the resource associated with this IAM policy. Example: + /// `compute.googleapis.com/Disk`. /// - /// To search against the `asset_type`: + /// To search against the `asset_type`: /// - /// * specify the `asset_types` field in your search request. + /// * specify the `asset_types` field in your search request. #[prost(string, tag="5")] pub asset_type: ::prost::alloc::string::String, - /// The project that the associated GCP resource belongs to, in the form of - /// projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM - /// instance, Cloud Storage bucket), the project field will indicate the - /// project that contains the resource. If an IAM policy is set on a folder or - /// orgnization, this field will be empty. + /// The project that the associated GCP resource belongs to, in the form of + /// projects/{PROJECT_NUMBER}. If an IAM policy is set on a resource (like VM + /// instance, Cloud Storage bucket), the project field will indicate the + /// project that contains the resource. If an IAM policy is set on a folder or + /// orgnization, this field will be empty. /// - /// To search against the `project`: + /// To search against the `project`: /// - /// * specify the `scope` field as this project in your search request. + /// * specify the `scope` field as this project in your search request. #[prost(string, tag="2")] pub project: ::prost::alloc::string::String, - /// The folder(s) that the IAM policy belongs to, in the form of - /// folders/{FOLDER_NUMBER}. This field is available when the IAM policy - /// belongs to one or more folders. + /// The folder(s) that the IAM policy belongs to, in the form of + /// folders/{FOLDER_NUMBER}. This field is available when the IAM policy + /// belongs to one or more folders. /// - /// To search against `folders`: + /// To search against `folders`: /// - /// * use a field query. Example: `folders:(123 OR 456)` - /// * use a free text query. Example: `123` - /// * specify the `scope` field as this folder in your search request. + /// * use a field query. Example: `folders:(123 OR 456)` + /// * use a free text query. Example: `123` + /// * specify the `scope` field as this folder in your search request. #[prost(string, repeated, tag="6")] pub folders: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The organization that the IAM policy belongs to, in the form - /// of organizations/{ORGANIZATION_NUMBER}. This field is available when the - /// IAM policy belongs to an organization. + /// The organization that the IAM policy belongs to, in the form + /// of organizations/{ORGANIZATION_NUMBER}. This field is available when the + /// IAM policy belongs to an organization. /// - /// To search against `organization`: + /// To search against `organization`: /// - /// * use a field query. Example: `organization:123` - /// * use a free text query. Example: `123` - /// * specify the `scope` field as this organization in your search request. + /// * use a field query. Example: `organization:123` + /// * use a free text query. Example: `123` + /// * specify the `scope` field as this organization in your search request. #[prost(string, tag="7")] pub organization: ::prost::alloc::string::String, - /// The IAM policy directly set on the given resource. Note that the original - /// IAM policy can contain multiple bindings. This only contains the bindings - /// that match the given query. For queries that don't contain a constrain on - /// policies (e.g., an empty query), this contains all the bindings. + /// The IAM policy directly set on the given resource. Note that the original + /// IAM policy can contain multiple bindings. This only contains the bindings + /// that match the given query. For queries that don't contain a constrain on + /// policies (e.g., an empty query), this contains all the bindings. /// - /// To search against the `policy` bindings: + /// To search against the `policy` bindings: /// - /// * use a field query: + /// * use a field query: /// - query by the policy contained members. Example: /// `policy:amy@gmail.com` /// - query by the policy contained roles. Example: @@ -700,75 +700,75 @@ pub struct IamPolicySearchResult { /// `policy.role.permissions:compute.instances.create` #[prost(message, optional, tag="3")] pub policy: ::core::option::Option, - /// Explanation about the IAM policy search result. It contains additional - /// information to explain why the search result matches the query. + /// Explanation about the IAM policy search result. It contains additional + /// information to explain why the search result matches the query. #[prost(message, optional, tag="4")] pub explanation: ::core::option::Option, } /// Nested message and enum types in `IamPolicySearchResult`. pub mod iam_policy_search_result { - /// Explanation about the IAM policy search result. + /// Explanation about the IAM policy search result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explanation { - /// The map from roles to their included permissions that match the - /// permission query (i.e., a query containing `policy.role.permissions:`). - /// Example: if query `policy.role.permissions:compute.disk.get` - /// matches a policy binding that contains owner role, the - /// matched_permissions will be `{"roles/owner": \["compute.disk.get"\]}`. The - /// roles can also be found in the returned `policy` bindings. Note that the - /// map is populated only for requests with permission queries. + /// The map from roles to their included permissions that match the + /// permission query (i.e., a query containing `policy.role.permissions:`). + /// Example: if query `policy.role.permissions:compute.disk.get` + /// matches a policy binding that contains owner role, the + /// matched_permissions will be `{"roles/owner": \["compute.disk.get"\]}`. The + /// roles can also be found in the returned `policy` bindings. Note that the + /// map is populated only for requests with permission queries. #[prost(map="string, message", tag="1")] pub matched_permissions: ::std::collections::HashMap<::prost::alloc::string::String, explanation::Permissions>, } /// Nested message and enum types in `Explanation`. pub mod explanation { - /// IAM permissions + /// IAM permissions #[derive(Clone, PartialEq, ::prost::Message)] pub struct Permissions { - /// A list of permissions. A sample permission string: `compute.disk.get`. + /// A list of permissions. A sample permission string: `compute.disk.get`. #[prost(string, repeated, tag="1")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } } -/// Represents the detailed state of an entity under analysis, such as a -/// resource, an identity or an access. +/// Represents the detailed state of an entity under analysis, such as a +/// resource, an identity or an access. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicyAnalysisState { - /// The Google standard error code that best describes the state. - /// For example: - /// - OK means the analysis on this entity has been successfully finished; - /// - PERMISSION_DENIED means an access denied error is encountered; - /// - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started - /// in time; + /// The Google standard error code that best describes the state. + /// For example: + /// - OK means the analysis on this entity has been successfully finished; + /// - PERMISSION_DENIED means an access denied error is encountered; + /// - DEADLINE_EXCEEDED means the analysis on this entity hasn't been started + /// in time; #[prost(enumeration="super::super::super::rpc::Code", tag="1")] pub code: i32, - /// The human-readable description of the cause of failure. + /// The human-readable description of the cause of failure. #[prost(string, tag="2")] pub cause: ::prost::alloc::string::String, } -/// The Condition evaluation. +/// The Condition evaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionEvaluation { - /// The evaluation result. + /// The evaluation result. #[prost(enumeration="condition_evaluation::EvaluationValue", tag="1")] pub evaluation_value: i32, } /// Nested message and enum types in `ConditionEvaluation`. pub mod condition_evaluation { - /// Value of this expression. + /// Value of this expression. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EvaluationValue { - /// Reserved for future use. + /// Reserved for future use. Unspecified = 0, - /// The evaluation result is `true`. + /// The evaluation result is `true`. True = 1, - /// The evaluation result is `false`. + /// The evaluation result is `false`. False = 2, - /// The evaluation result is `conditional` when the condition expression - /// contains variables that are either missing input values or have not been - /// supported by Analyzer yet. + /// The evaluation result is `conditional` when the condition expression + /// contains variables that are either missing input values or have not been + /// supported by Analyzer yet. Conditional = 3, } impl EvaluationValue { @@ -786,54 +786,54 @@ pub mod condition_evaluation { } } } -/// IAM Policy analysis result, consisting of one IAM policy binding and derived -/// access control lists. +/// IAM Policy analysis result, consisting of one IAM policy binding and derived +/// access control lists. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicyAnalysisResult { - /// The [full resource - /// name]() - /// of the resource to which the - /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] - /// policy attaches. + /// The [full resource + /// name]() + /// of the resource to which the + /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] + /// policy attaches. #[prost(string, tag="1")] pub attached_resource_full_name: ::prost::alloc::string::String, - /// The Cloud IAM policy binding under analysis. + /// The Cloud IAM policy binding under analysis. #[prost(message, optional, tag="2")] pub iam_binding: ::core::option::Option, - /// The access control lists derived from the - /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] - /// that match or potentially match resource and access selectors specified in - /// the request. + /// The access control lists derived from the + /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] + /// that match or potentially match resource and access selectors specified in + /// the request. #[prost(message, repeated, tag="3")] pub access_control_lists: ::prost::alloc::vec::Vec, - /// The identity list derived from members of the - /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] - /// that match or potentially match identity selector specified in the request. + /// The identity list derived from members of the + /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] + /// that match or potentially match identity selector specified in the request. #[prost(message, optional, tag="4")] pub identity_list: ::core::option::Option, - /// Represents whether all analyses on the - /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] - /// have successfully finished. + /// Represents whether all analyses on the + /// \[iam_binding][google.cloud.asset.v1.IamPolicyAnalysisResult.iam_binding\] + /// have successfully finished. #[prost(bool, tag="5")] pub fully_explored: bool, } /// Nested message and enum types in `IamPolicyAnalysisResult`. pub mod iam_policy_analysis_result { - /// A Google Cloud resource under analysis. + /// A Google Cloud resource under analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// The [full resource - /// name]() + /// The [full resource + /// name]() #[prost(string, tag="1")] pub full_resource_name: ::prost::alloc::string::String, - /// The analysis state of this resource. + /// The analysis state of this resource. #[prost(message, optional, tag="2")] pub analysis_state: ::core::option::Option, } - /// An IAM role or permission under analysis. + /// An IAM role or permission under analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Access { - /// The analysis state of this access. + /// The analysis state of this access. #[prost(message, optional, tag="3")] pub analysis_state: ::core::option::Option, #[prost(oneof="access::OneofAccess", tags="1, 2")] @@ -843,594 +843,594 @@ pub mod iam_policy_analysis_result { pub mod access { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneofAccess { - /// The role. + /// The role. #[prost(string, tag="1")] Role(::prost::alloc::string::String), - /// The permission. + /// The permission. #[prost(string, tag="2")] Permission(::prost::alloc::string::String), } } - /// An identity under analysis. + /// An identity under analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Identity { - /// The identity name in any form of members appear in - /// [IAM policy - /// binding](), such - /// as: - /// - user:foo@google.com - /// - group:group1@google.com - /// - serviceAccount:s1@prj1.iam.gserviceaccount.com - /// - projectOwner:some_project_id - /// - domain:google.com - /// - allUsers - /// - etc. + /// The identity name in any form of members appear in + /// [IAM policy + /// binding](), such + /// as: + /// - user:foo@google.com + /// - group:group1@google.com + /// - serviceAccount:s1@prj1.iam.gserviceaccount.com + /// - projectOwner:some_project_id + /// - domain:google.com + /// - allUsers + /// - etc. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The analysis state of this identity. + /// The analysis state of this identity. #[prost(message, optional, tag="2")] pub analysis_state: ::core::option::Option, } - /// A directional edge. + /// A directional edge. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Edge { - /// The source node of the edge. For example, it could be a full resource - /// name for a resource node or an email of an identity. + /// The source node of the edge. For example, it could be a full resource + /// name for a resource node or an email of an identity. #[prost(string, tag="1")] pub source_node: ::prost::alloc::string::String, - /// The target node of the edge. For example, it could be a full resource - /// name for a resource node or an email of an identity. + /// The target node of the edge. For example, it could be a full resource + /// name for a resource node or an email of an identity. #[prost(string, tag="2")] pub target_node: ::prost::alloc::string::String, } - /// An access control list, derived from the above IAM policy binding, which - /// contains a set of resources and accesses. May include one - /// item from each set to compose an access control entry. + /// An access control list, derived from the above IAM policy binding, which + /// contains a set of resources and accesses. May include one + /// item from each set to compose an access control entry. /// - /// NOTICE that there could be multiple access control lists for one IAM policy - /// binding. The access control lists are created based on resource and access - /// combinations. + /// NOTICE that there could be multiple access control lists for one IAM policy + /// binding. The access control lists are created based on resource and access + /// combinations. /// - /// For example, assume we have the following cases in one IAM policy binding: - /// - Permission P1 and P2 apply to resource R1 and R2; - /// - Permission P3 applies to resource R2 and R3; + /// For example, assume we have the following cases in one IAM policy binding: + /// - Permission P1 and P2 apply to resource R1 and R2; + /// - Permission P3 applies to resource R2 and R3; /// - /// This will result in the following access control lists: - /// - AccessControlList 1: [R1, R2], [P1, P2] - /// - AccessControlList 2: [R2, R3], \[P3\] + /// This will result in the following access control lists: + /// - AccessControlList 1: [R1, R2], [P1, P2] + /// - AccessControlList 2: [R2, R3], \[P3\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessControlList { - /// The resources that match one of the following conditions: - /// - The resource_selector, if it is specified in request; - /// - Otherwise, resources reachable from the policy attached resource. + /// The resources that match one of the following conditions: + /// - The resource_selector, if it is specified in request; + /// - Otherwise, resources reachable from the policy attached resource. #[prost(message, repeated, tag="1")] pub resources: ::prost::alloc::vec::Vec, - /// The accesses that match one of the following conditions: - /// - The access_selector, if it is specified in request; - /// - Otherwise, access specifiers reachable from the policy binding's role. + /// The accesses that match one of the following conditions: + /// - The access_selector, if it is specified in request; + /// - Otherwise, access specifiers reachable from the policy binding's role. #[prost(message, repeated, tag="2")] pub accesses: ::prost::alloc::vec::Vec, - /// Resource edges of the graph starting from the policy attached - /// resource to any descendant resources. The - /// \[Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node\] - /// contains the full resource name of a parent resource and - /// \[Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node\] - /// contains the full resource name of a child resource. This field is - /// present only if the output_resource_edges option is enabled in request. + /// Resource edges of the graph starting from the policy attached + /// resource to any descendant resources. The + /// \[Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node\] + /// contains the full resource name of a parent resource and + /// \[Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node\] + /// contains the full resource name of a child resource. This field is + /// present only if the output_resource_edges option is enabled in request. #[prost(message, repeated, tag="3")] pub resource_edges: ::prost::alloc::vec::Vec, - /// Condition evaluation for this AccessControlList, if there is a condition - /// defined in the above IAM policy binding. + /// Condition evaluation for this AccessControlList, if there is a condition + /// defined in the above IAM policy binding. #[prost(message, optional, tag="4")] pub condition_evaluation: ::core::option::Option, } - /// The identities and group edges. + /// The identities and group edges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentityList { - /// Only the identities that match one of the following conditions will be - /// presented: - /// - The identity_selector, if it is specified in request; - /// - Otherwise, identities reachable from the policy binding's members. + /// Only the identities that match one of the following conditions will be + /// presented: + /// - The identity_selector, if it is specified in request; + /// - Otherwise, identities reachable from the policy binding's members. #[prost(message, repeated, tag="1")] pub identities: ::prost::alloc::vec::Vec, - /// Group identity edges of the graph starting from the binding's - /// group members to any node of the - /// \[identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities\]. - /// The - /// \[Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node\] - /// contains a group, such as `group:parent@google.com`. The - /// \[Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node\] - /// contains a member of the group, such as `group:child@google.com` or - /// `user:foo@google.com`. This field is present only if the - /// output_group_edges option is enabled in request. + /// Group identity edges of the graph starting from the binding's + /// group members to any node of the + /// \[identities][google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList.identities\]. + /// The + /// \[Edge.source_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.source_node\] + /// contains a group, such as `group:parent@google.com`. The + /// \[Edge.target_node][google.cloud.asset.v1.IamPolicyAnalysisResult.Edge.target_node\] + /// contains a member of the group, such as `group:child@google.com` or + /// `user:foo@google.com`. This field is present only if the + /// output_group_edges option is enabled in request. #[prost(message, repeated, tag="2")] pub group_edges: ::prost::alloc::vec::Vec, } } -/// Represents the metadata of the longrunning operation for the -/// AnalyzeIamPolicyLongrunning rpc. +/// Represents the metadata of the longrunning operation for the +/// AnalyzeIamPolicyLongrunning rpc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeIamPolicyLongrunningMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Export asset request. +/// Export asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAssetsRequest { - /// Required. The relative name of the root asset. This can only be an - /// organization number (such as "organizations/123"), a project ID (such as - /// "projects/my-project-id"), or a project number (such as "projects/12345"), - /// or a folder number (such as "folders/123"). + /// Required. The relative name of the root asset. This can only be an + /// organization number (such as "organizations/123"), a project ID (such as + /// "projects/my-project-id"), or a project number (such as "projects/12345"), + /// or a folder number (such as "folders/123"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Timestamp to take an asset snapshot. This can only be set to a timestamp - /// between the current time and the current time minus 35 days (inclusive). - /// If not specified, the current time will be used. Due to delays in resource - /// data collection and indexing, there is a volatile window during which - /// running the same query may get different results. + /// Timestamp to take an asset snapshot. This can only be set to a timestamp + /// between the current time and the current time minus 35 days (inclusive). + /// If not specified, the current time will be used. Due to delays in resource + /// data collection and indexing, there is a volatile window during which + /// running the same query may get different results. #[prost(message, optional, tag="2")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// A list of asset types to take a snapshot for. For example: - /// "compute.googleapis.com/Disk". + /// A list of asset types to take a snapshot for. For example: + /// "compute.googleapis.com/Disk". /// - /// Regular expressions are also supported. For example: + /// Regular expressions are also supported. For example: /// - /// * "compute.googleapis.com.*" snapshots resources whose asset type starts - /// with "compute.googleapis.com". - /// * ".*Instance" snapshots resources whose asset type ends with "Instance". - /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". + /// * "compute.googleapis.com.*" snapshots resources whose asset type starts + /// with "compute.googleapis.com". + /// * ".*Instance" snapshots resources whose asset type ends with "Instance". + /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". /// - /// See \[RE2\]() for all supported - /// regular expression syntax. If the regular expression does not match any - /// supported asset type, an INVALID_ARGUMENT error will be returned. + /// See \[RE2\]() for all supported + /// regular expression syntax. If the regular expression does not match any + /// supported asset type, an INVALID_ARGUMENT error will be returned. /// - /// If specified, only matching assets will be returned, otherwise, it will - /// snapshot all asset types. See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types. + /// If specified, only matching assets will be returned, otherwise, it will + /// snapshot all asset types. See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name will be - /// returned. + /// Asset content type. If not specified, no content but the asset name will be + /// returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// Required. Output configuration indicating where the results will be output - /// to. + /// Required. Output configuration indicating where the results will be output + /// to. #[prost(message, optional, tag="5")] pub output_config: ::core::option::Option, - /// A list of relationship types to export, for example: - /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if - /// content_type=RELATIONSHIP. - /// * If specified: - /// it snapshots specified relationships. It returns an error if - /// any of the \[relationship_types\] doesn't belong to the supported - /// relationship types of the \[asset_types\] or if any of the \[asset_types\] - /// doesn't belong to the source types of the \[relationship_types\]. - /// * Otherwise: - /// it snapshots the supported relationships for all \[asset_types\] or returns - /// an error if any of the \[asset_types\] has no relationship support. - /// An unspecified asset types field means all supported asset_types. - /// See [Introduction to Cloud Asset - /// Inventory]() for all - /// supported asset types and relationship types. + /// A list of relationship types to export, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. + /// * If specified: + /// it snapshots specified relationships. It returns an error if + /// any of the \[relationship_types\] doesn't belong to the supported + /// relationship types of the \[asset_types\] or if any of the \[asset_types\] + /// doesn't belong to the source types of the \[relationship_types\]. + /// * Otherwise: + /// it snapshots the supported relationships for all \[asset_types\] or returns + /// an error if any of the \[asset_types\] has no relationship support. + /// An unspecified asset types field means all supported asset_types. + /// See [Introduction to Cloud Asset + /// Inventory]() for all + /// supported asset types and relationship types. #[prost(string, repeated, tag="6")] pub relationship_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The export asset response. This message is returned by the -/// \[google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation\] -/// method in the returned -/// \[google.longrunning.Operation.response][google.longrunning.Operation.response\] -/// field. +/// The export asset response. This message is returned by the +/// \[google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation\] +/// method in the returned +/// \[google.longrunning.Operation.response][google.longrunning.Operation.response\] +/// field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAssetsResponse { - /// Time the snapshot was taken. + /// Time the snapshot was taken. #[prost(message, optional, tag="1")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output configuration indicating where the results were output to. + /// Output configuration indicating where the results were output to. #[prost(message, optional, tag="2")] pub output_config: ::core::option::Option, - /// Output result indicating where the assets were exported to. For example, a - /// set of actual Google Cloud Storage object uris where the assets are - /// exported to. The uris can be different from what \[output_config\] has - /// specified, as the service will split the output object into multiple ones - /// once it exceeds a single Google Cloud Storage object limit. + /// Output result indicating where the assets were exported to. For example, a + /// set of actual Google Cloud Storage object uris where the assets are + /// exported to. The uris can be different from what \[output_config\] has + /// specified, as the service will split the output object into multiple ones + /// once it exceeds a single Google Cloud Storage object limit. #[prost(message, optional, tag="3")] pub output_result: ::core::option::Option, } -/// ListAssets request. +/// ListAssets request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsRequest { - /// Required. Name of the organization, folder, or project the assets belong - /// to. Format: "organizations/\[organization-number\]" (such as - /// "organizations/123"), "projects/\[project-id\]" (such as - /// "projects/my-project-id"), "projects/\[project-number\]" (such as - /// "projects/12345"), or "folders/\[folder-number\]" (such as "folders/12345"). + /// Required. Name of the organization, folder, or project the assets belong + /// to. Format: "organizations/\[organization-number\]" (such as + /// "organizations/123"), "projects/\[project-id\]" (such as + /// "projects/my-project-id"), "projects/\[project-number\]" (such as + /// "projects/12345"), or "folders/\[folder-number\]" (such as "folders/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Timestamp to take an asset snapshot. This can only be set to a timestamp - /// between the current time and the current time minus 35 days (inclusive). - /// If not specified, the current time will be used. Due to delays in resource - /// data collection and indexing, there is a volatile window during which - /// running the same query may get different results. + /// Timestamp to take an asset snapshot. This can only be set to a timestamp + /// between the current time and the current time minus 35 days (inclusive). + /// If not specified, the current time will be used. Due to delays in resource + /// data collection and indexing, there is a volatile window during which + /// running the same query may get different results. #[prost(message, optional, tag="2")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// A list of asset types to take a snapshot for. For example: - /// "compute.googleapis.com/Disk". + /// A list of asset types to take a snapshot for. For example: + /// "compute.googleapis.com/Disk". /// - /// Regular expression is also supported. For example: + /// Regular expression is also supported. For example: /// - /// * "compute.googleapis.com.*" snapshots resources whose asset type starts - /// with "compute.googleapis.com". - /// * ".*Instance" snapshots resources whose asset type ends with "Instance". - /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". + /// * "compute.googleapis.com.*" snapshots resources whose asset type starts + /// with "compute.googleapis.com". + /// * ".*Instance" snapshots resources whose asset type ends with "Instance". + /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". /// - /// See \[RE2\]() for all supported - /// regular expression syntax. If the regular expression does not match any - /// supported asset type, an INVALID_ARGUMENT error will be returned. + /// See \[RE2\]() for all supported + /// regular expression syntax. If the regular expression does not match any + /// supported asset type, an INVALID_ARGUMENT error will be returned. /// - /// If specified, only matching assets will be returned, otherwise, it will - /// snapshot all asset types. See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types. + /// If specified, only matching assets will be returned, otherwise, it will + /// snapshot all asset types. See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name will - /// be returned. + /// Asset content type. If not specified, no content but the asset name will + /// be returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// The maximum number of assets to be returned in a single response. Default - /// is 100, minimum is 1, and maximum is 1000. + /// The maximum number of assets to be returned in a single response. Default + /// is 100, minimum is 1, and maximum is 1000. #[prost(int32, tag="5")] pub page_size: i32, - /// The `next_page_token` returned from the previous `ListAssetsResponse`, or - /// unspecified for the first `ListAssetsRequest`. It is a continuation of a - /// prior `ListAssets` call, and the API should return the next page of assets. + /// The `next_page_token` returned from the previous `ListAssetsResponse`, or + /// unspecified for the first `ListAssetsRequest`. It is a continuation of a + /// prior `ListAssets` call, and the API should return the next page of assets. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, - /// A list of relationship types to output, for example: - /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if - /// content_type=RELATIONSHIP. - /// * If specified: - /// it snapshots specified relationships. It returns an error if - /// any of the \[relationship_types\] doesn't belong to the supported - /// relationship types of the \[asset_types\] or if any of the \[asset_types\] - /// doesn't belong to the source types of the \[relationship_types\]. - /// * Otherwise: - /// it snapshots the supported relationships for all \[asset_types\] or returns - /// an error if any of the \[asset_types\] has no relationship support. - /// An unspecified asset types field means all supported asset_types. - /// See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types and relationship types. + /// A list of relationship types to output, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. + /// * If specified: + /// it snapshots specified relationships. It returns an error if + /// any of the \[relationship_types\] doesn't belong to the supported + /// relationship types of the \[asset_types\] or if any of the \[asset_types\] + /// doesn't belong to the source types of the \[relationship_types\]. + /// * Otherwise: + /// it snapshots the supported relationships for all \[asset_types\] or returns + /// an error if any of the \[asset_types\] has no relationship support. + /// An unspecified asset types field means all supported asset_types. + /// See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types and relationship types. #[prost(string, repeated, tag="7")] pub relationship_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// ListAssets response. +/// ListAssets response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsResponse { - /// Time the snapshot was taken. + /// Time the snapshot was taken. #[prost(message, optional, tag="1")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// Assets. + /// Assets. #[prost(message, repeated, tag="2")] pub assets: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results. It expires 72 hours after the - /// page token for the first page is generated. Set to empty if there are no - /// remaining results. + /// Token to retrieve the next page of results. It expires 72 hours after the + /// page token for the first page is generated. Set to empty if there are no + /// remaining results. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } -/// Batch get assets history request. +/// Batch get assets history request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetAssetsHistoryRequest { - /// Required. The relative name of the root asset. It can only be an - /// organization number (such as "organizations/123"), a project ID (such as - /// "projects/my-project-id")", or a project number (such as "projects/12345"). + /// Required. The relative name of the root asset. It can only be an + /// organization number (such as "organizations/123"), a project ID (such as + /// "projects/my-project-id")", or a project number (such as "projects/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A list of the full names of the assets. - /// See: - /// Example: + /// A list of the full names of the assets. + /// See: + /// Example: /// - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. /// - /// The request becomes a no-op if the asset name list is empty, and the max - /// size of the asset name list is 100 in one request. + /// The request becomes a no-op if the asset name list is empty, and the max + /// size of the asset name list is 100 in one request. #[prost(string, repeated, tag="2")] pub asset_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The content type. + /// Optional. The content type. #[prost(enumeration="ContentType", tag="3")] pub content_type: i32, - /// Optional. The time window for the asset history. Both start_time and - /// end_time are optional and if set, it must be after the current time minus - /// 35 days. If end_time is not set, it is default to current timestamp. - /// If start_time is not set, the snapshot of the assets at end_time will be - /// returned. The returned results contain all temporal assets whose time - /// window overlap with read_time_window. + /// Optional. The time window for the asset history. Both start_time and + /// end_time are optional and if set, it must be after the current time minus + /// 35 days. If end_time is not set, it is default to current timestamp. + /// If start_time is not set, the snapshot of the assets at end_time will be + /// returned. The returned results contain all temporal assets whose time + /// window overlap with read_time_window. #[prost(message, optional, tag="4")] pub read_time_window: ::core::option::Option, - /// Optional. A list of relationship types to output, for example: - /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if - /// content_type=RELATIONSHIP. - /// * If specified: - /// it outputs specified relationships' history on the \[asset_names\]. It - /// returns an error if any of the \[relationship_types\] doesn't belong to the - /// supported relationship types of the \[asset_names\] or if any of the - /// \[asset_names\]'s types doesn't belong to the source types of the - /// \[relationship_types\]. - /// * Otherwise: - /// it outputs the supported relationships' history on the \[asset_names\] or - /// returns an error if any of the \[asset_names\]'s types has no relationship - /// support. - /// See [Introduction to Cloud Asset - /// Inventory]() for all - /// supported asset types and relationship types. + /// Optional. A list of relationship types to output, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. + /// * If specified: + /// it outputs specified relationships' history on the \[asset_names\]. It + /// returns an error if any of the \[relationship_types\] doesn't belong to the + /// supported relationship types of the \[asset_names\] or if any of the + /// \[asset_names\]'s types doesn't belong to the source types of the + /// \[relationship_types\]. + /// * Otherwise: + /// it outputs the supported relationships' history on the \[asset_names\] or + /// returns an error if any of the \[asset_names\]'s types has no relationship + /// support. + /// See [Introduction to Cloud Asset + /// Inventory]() for all + /// supported asset types and relationship types. #[prost(string, repeated, tag="5")] pub relationship_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Batch get assets history response. +/// Batch get assets history response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetAssetsHistoryResponse { - /// A list of assets with valid time windows. + /// A list of assets with valid time windows. #[prost(message, repeated, tag="1")] pub assets: ::prost::alloc::vec::Vec, } -/// Create asset feed request. +/// Create asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeedRequest { - /// Required. The name of the project/folder/organization where this feed - /// should be created in. It can only be an organization number (such as - /// "organizations/123"), a folder number (such as "folders/123"), a project ID - /// (such as "projects/my-project-id")", or a project number (such as - /// "projects/12345"). + /// Required. The name of the project/folder/organization where this feed + /// should be created in. It can only be an organization number (such as + /// "organizations/123"), a folder number (such as "folders/123"), a project ID + /// (such as "projects/my-project-id")", or a project number (such as + /// "projects/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. This is the client-assigned asset feed identifier and it needs to - /// be unique under a specific parent project/folder/organization. + /// Required. This is the client-assigned asset feed identifier and it needs to + /// be unique under a specific parent project/folder/organization. #[prost(string, tag="2")] pub feed_id: ::prost::alloc::string::String, - /// Required. The feed details. The field `name` must be empty and it will be - /// generated in the format of: projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The feed details. The field `name` must be empty and it will be + /// generated in the format of: projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(message, optional, tag="3")] pub feed: ::core::option::Option, } -/// Get asset feed request. +/// Get asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedRequest { - /// Required. The name of the Feed and it must be in the format of: - /// projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The name of the Feed and it must be in the format of: + /// projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List asset feeds request. +/// List asset feeds request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeedsRequest { - /// Required. The parent project/folder/organization whose feeds are to be - /// listed. It can only be using project/folder/organization number (such as - /// "folders/12345")", or a project ID (such as "projects/my-project-id"). + /// Required. The parent project/folder/organization whose feeds are to be + /// listed. It can only be using project/folder/organization number (such as + /// "folders/12345")", or a project ID (such as "projects/my-project-id"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeedsResponse { - /// A list of feeds. + /// A list of feeds. #[prost(message, repeated, tag="1")] pub feeds: ::prost::alloc::vec::Vec, } -/// Update asset feed request. +/// Update asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeedRequest { - /// Required. The new values of feed details. It must match an existing feed - /// and the field `name` must be in the format of: - /// projects/project_number/feeds/feed_id or - /// folders/folder_number/feeds/feed_id or - /// organizations/organization_number/feeds/feed_id. + /// Required. The new values of feed details. It must match an existing feed + /// and the field `name` must be in the format of: + /// projects/project_number/feeds/feed_id or + /// folders/folder_number/feeds/feed_id or + /// organizations/organization_number/feeds/feed_id. #[prost(message, optional, tag="1")] pub feed: ::core::option::Option, - /// Required. Only updates the `feed` fields indicated by this mask. - /// The field mask must not be empty, and it must not contain fields that - /// are immutable or only set by the server. + /// Required. Only updates the `feed` fields indicated by this mask. + /// The field mask must not be empty, and it must not contain fields that + /// are immutable or only set by the server. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeedRequest { - /// Required. The name of the feed and it must be in the format of: - /// projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The name of the feed and it must be in the format of: + /// projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Output configuration for export assets destination. +/// Output configuration for export assets destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Asset export destination. + /// Asset export destination. #[prost(oneof="output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Asset export destination. + /// Asset export destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Cloud Storage. + /// Destination on Cloud Storage. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// Destination on BigQuery. The output table stores the fields in asset - /// Protobuf as columns in BigQuery. + /// Destination on BigQuery. The output table stores the fields in asset + /// Protobuf as columns in BigQuery. #[prost(message, tag="2")] BigqueryDestination(super::BigQueryDestination), } } -/// Output result of export assets. +/// Output result of export assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputResult { - /// Asset export result. + /// Asset export result. #[prost(oneof="output_result::Result", tags="1")] pub result: ::core::option::Option, } /// Nested message and enum types in `OutputResult`. pub mod output_result { - /// Asset export result. + /// Asset export result. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// Export result on Cloud Storage. + /// Export result on Cloud Storage. #[prost(message, tag="1")] GcsResult(super::GcsOutputResult), } } -/// A Cloud Storage output result. +/// A Cloud Storage output result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsOutputResult { - /// List of uris of the Cloud Storage objects. Example: - /// "gs://bucket_name/object_name". + /// List of uris of the Cloud Storage objects. Example: + /// "gs://bucket_name/object_name". #[prost(string, repeated, tag="1")] pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Cloud Storage location. +/// A Cloud Storage location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. + /// Required. #[prost(oneof="gcs_destination::ObjectUri", tags="1, 2")] pub object_uri: ::core::option::Option, } /// Nested message and enum types in `GcsDestination`. pub mod gcs_destination { - /// Required. + /// Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ObjectUri { - /// The uri of the Cloud Storage object. It's the same uri that is used by - /// gsutil. Example: "gs://bucket_name/object_name". See [Viewing and - /// Editing Object - /// Metadata]() - /// for more information. + /// The uri of the Cloud Storage object. It's the same uri that is used by + /// gsutil. Example: "gs://bucket_name/object_name". See [Viewing and + /// Editing Object + /// Metadata]() + /// for more information. /// - /// If the specified Cloud Storage object already exists and there is no - /// \[hold\](), it will be - /// overwritten with the exported result. + /// If the specified Cloud Storage object already exists and there is no + /// \[hold\](), it will be + /// overwritten with the exported result. #[prost(string, tag="1")] Uri(::prost::alloc::string::String), - /// The uri prefix of all generated Cloud Storage objects. Example: - /// "gs://bucket_name/object_name_prefix". Each object uri is in format: - /// "gs://bucket_name/object_name_prefix// and only - /// contains assets for that type. starts from 0. Example: - /// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is - /// the first shard of output objects containing all - /// compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be - /// returned if file with the same name "gs://bucket_name/object_name_prefix" - /// already exists. + /// The uri prefix of all generated Cloud Storage objects. Example: + /// "gs://bucket_name/object_name_prefix". Each object uri is in format: + /// "gs://bucket_name/object_name_prefix// and only + /// contains assets for that type. starts from 0. Example: + /// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is + /// the first shard of output objects containing all + /// compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be + /// returned if file with the same name "gs://bucket_name/object_name_prefix" + /// already exists. #[prost(string, tag="2")] UriPrefix(::prost::alloc::string::String), } } -/// A BigQuery destination for exporting assets to. +/// A BigQuery destination for exporting assets to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. The BigQuery dataset in format - /// "projects/projectId/datasets/datasetId", to which the snapshot result - /// should be exported. If this dataset does not exist, the export call returns - /// an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets` - /// determines the - /// \[schema\](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema) - /// of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also - /// influences the schema. + /// Required. The BigQuery dataset in format + /// "projects/projectId/datasets/datasetId", to which the snapshot result + /// should be exported. If this dataset does not exist, the export call returns + /// an INVALID_ARGUMENT error. Setting the `contentType` for `exportAssets` + /// determines the + /// \[schema\](/asset-inventory/docs/exporting-to-bigquery#bigquery-schema) + /// of the BigQuery table. Setting `separateTablesPerAssetType` to `TRUE` also + /// influences the schema. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. The BigQuery table to which the snapshot result should be - /// written. If this table does not exist, a new table with the given name - /// will be created. + /// Required. The BigQuery table to which the snapshot result should be + /// written. If this table does not exist, a new table with the given name + /// will be created. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, - /// If the destination table already exists and this flag is `TRUE`, the - /// table will be overwritten by the contents of assets snapshot. If the flag - /// is `FALSE` or unset and the destination table already exists, the export - /// call returns an INVALID_ARGUMEMT error. + /// If the destination table already exists and this flag is `TRUE`, the + /// table will be overwritten by the contents of assets snapshot. If the flag + /// is `FALSE` or unset and the destination table already exists, the export + /// call returns an INVALID_ARGUMEMT error. #[prost(bool, tag="3")] pub force: bool, - /// \[partition_spec\] determines whether to export to partitioned table(s) and - /// how to partition the data. - /// - /// If \[partition_spec\] is unset or \[partition_spec.partition_key\] is unset or - /// `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to - /// non-partitioned table(s). \[force\] will decide whether to overwrite existing - /// table(s). - /// - /// If \[partition_spec\] is specified. First, the snapshot results will be - /// written to partitioned table(s) with two additional timestamp columns, - /// readTime and requestTime, one of which will be the partition key. Secondly, - /// in the case when any destination table already exists, it will first try to - /// update existing table's schema as necessary by appending additional - /// columns. Then, if \[force\] is `TRUE`, the corresponding partition will be - /// overwritten by the snapshot results (data in different partitions will - /// remain intact); if \[force\] is unset or `FALSE`, it will append the data. An - /// error will be returned if the schema update or data appension fails. + /// \[partition_spec\] determines whether to export to partitioned table(s) and + /// how to partition the data. + /// + /// If \[partition_spec\] is unset or \[partition_spec.partition_key\] is unset or + /// `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to + /// non-partitioned table(s). \[force\] will decide whether to overwrite existing + /// table(s). + /// + /// If \[partition_spec\] is specified. First, the snapshot results will be + /// written to partitioned table(s) with two additional timestamp columns, + /// readTime and requestTime, one of which will be the partition key. Secondly, + /// in the case when any destination table already exists, it will first try to + /// update existing table's schema as necessary by appending additional + /// columns. Then, if \[force\] is `TRUE`, the corresponding partition will be + /// overwritten by the snapshot results (data in different partitions will + /// remain intact); if \[force\] is unset or `FALSE`, it will append the data. An + /// error will be returned if the schema update or data appension fails. #[prost(message, optional, tag="4")] pub partition_spec: ::core::option::Option, - /// If this flag is `TRUE`, the snapshot results will be written to one or - /// multiple tables, each of which contains results of one asset type. The - /// \[force\] and \[partition_spec\] fields will apply to each of them. - /// - /// Field \[table\] will be concatenated with "_" and the asset type names (see - /// for - /// supported asset types) to construct per-asset-type table names, in which - /// all non-alphanumeric characters like "." and "/" will be substituted by - /// "_". Example: if field \[table\] is "mytable" and snapshot results - /// contain "storage.googleapis.com/Bucket" assets, the corresponding table - /// name will be "mytable_storage_googleapis_com_Bucket". If any of these - /// tables does not exist, a new table with the concatenated name will be - /// created. - /// - /// When \[content_type\] in the ExportAssetsRequest is `RESOURCE`, the schema of - /// each table will include RECORD-type columns mapped to the nested fields in - /// the Asset.resource.data field of that asset type (up to the 15 nested level - /// BigQuery supports - /// ()). The - /// fields in >15 nested levels will be stored in JSON format string as a child - /// column of its parent RECORD column. - /// - /// If error occurs when exporting to any table, the whole export call will - /// return an error but the export results that already succeed will persist. - /// Example: if exporting to table_type_A succeeds when exporting to - /// table_type_B fails during one export call, the results in table_type_A will - /// persist and there will not be partial results persisting in a table. + /// If this flag is `TRUE`, the snapshot results will be written to one or + /// multiple tables, each of which contains results of one asset type. The + /// \[force\] and \[partition_spec\] fields will apply to each of them. + /// + /// Field \[table\] will be concatenated with "_" and the asset type names (see + /// for + /// supported asset types) to construct per-asset-type table names, in which + /// all non-alphanumeric characters like "." and "/" will be substituted by + /// "_". Example: if field \[table\] is "mytable" and snapshot results + /// contain "storage.googleapis.com/Bucket" assets, the corresponding table + /// name will be "mytable_storage_googleapis_com_Bucket". If any of these + /// tables does not exist, a new table with the concatenated name will be + /// created. + /// + /// When \[content_type\] in the ExportAssetsRequest is `RESOURCE`, the schema of + /// each table will include RECORD-type columns mapped to the nested fields in + /// the Asset.resource.data field of that asset type (up to the 15 nested level + /// BigQuery supports + /// ()). The + /// fields in >15 nested levels will be stored in JSON format string as a child + /// column of its parent RECORD column. + /// + /// If error occurs when exporting to any table, the whole export call will + /// return an error but the export results that already succeed will persist. + /// Example: if exporting to table_type_A succeeds when exporting to + /// table_type_B fails during one export call, the results in table_type_A will + /// persist and there will not be partial results persisting in a table. #[prost(bool, tag="5")] pub separate_tables_per_asset_type: bool, } -/// Specifications of BigQuery partitioned table as export destination. +/// Specifications of BigQuery partitioned table as export destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionSpec { - /// The partition key for BigQuery partitioned table. + /// The partition key for BigQuery partitioned table. #[prost(enumeration="partition_spec::PartitionKey", tag="1")] pub partition_key: i32, } /// Nested message and enum types in `PartitionSpec`. pub mod partition_spec { - /// This enum is used to determine the partition key column when exporting - /// assets to BigQuery partitioned table(s). Note that, if the partition key is - /// a timestamp column, the actual partition is based on its date value - /// (expressed in UTC. see details in - /// ). + /// This enum is used to determine the partition key column when exporting + /// assets to BigQuery partitioned table(s). Note that, if the partition key is + /// a timestamp column, the actual partition is based on its date value + /// (expressed in UTC. see details in + /// ). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartitionKey { - /// Unspecified partition key. If used, it means using non-partitioned table. + /// Unspecified partition key. If used, it means using non-partitioned table. Unspecified = 0, - /// The time when the snapshot is taken. If specified as partition key, the - /// result table(s) is partitoned by the additional timestamp column, - /// readTime. If \[read_time\] in ExportAssetsRequest is specified, the - /// readTime column's value will be the same as it. Otherwise, its value will - /// be the current time that is used to take the snapshot. + /// The time when the snapshot is taken. If specified as partition key, the + /// result table(s) is partitoned by the additional timestamp column, + /// readTime. If \[read_time\] in ExportAssetsRequest is specified, the + /// readTime column's value will be the same as it. Otherwise, its value will + /// be the current time that is used to take the snapshot. ReadTime = 1, - /// The time when the request is received and started to be processed. If - /// specified as partition key, the result table(s) is partitoned by the - /// requestTime column, an additional timestamp column representing when the - /// request was received. + /// The time when the request is received and started to be processed. If + /// specified as partition key, the result table(s) is partitoned by the + /// requestTime column, an additional timestamp column representing when the + /// request was received. RequestTime = 2, } impl PartitionKey { @@ -1447,207 +1447,207 @@ pub mod partition_spec { } } } -/// A Pub/Sub destination. +/// A Pub/Sub destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PubsubDestination { - /// The name of the Pub/Sub topic to publish to. - /// Example: `projects/PROJECT_ID/topics/TOPIC_ID`. + /// The name of the Pub/Sub topic to publish to. + /// Example: `projects/PROJECT_ID/topics/TOPIC_ID`. #[prost(string, tag="1")] pub topic: ::prost::alloc::string::String, } -/// Output configuration for asset feed destination. +/// Output configuration for asset feed destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOutputConfig { - /// Asset feed destination. + /// Asset feed destination. #[prost(oneof="feed_output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `FeedOutputConfig`. pub mod feed_output_config { - /// Asset feed destination. + /// Asset feed destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Pub/Sub. + /// Destination on Pub/Sub. #[prost(message, tag="1")] PubsubDestination(super::PubsubDestination), } } -/// An asset feed used to export asset updates to a destinations. -/// An asset feed filter controls what updates are exported. -/// The asset feed must be created within a project, organization, or -/// folder. Supported destinations are: -/// Pub/Sub topics. +/// An asset feed used to export asset updates to a destinations. +/// An asset feed filter controls what updates are exported. +/// The asset feed must be created within a project, organization, or +/// folder. Supported destinations are: +/// Pub/Sub topics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feed { - /// Required. The format will be - /// projects/{project_number}/feeds/{client-assigned_feed_identifier} or - /// folders/{folder_number}/feeds/{client-assigned_feed_identifier} or - /// organizations/{organization_number}/feeds/{client-assigned_feed_identifier} + /// Required. The format will be + /// projects/{project_number}/feeds/{client-assigned_feed_identifier} or + /// folders/{folder_number}/feeds/{client-assigned_feed_identifier} or + /// organizations/{organization_number}/feeds/{client-assigned_feed_identifier} /// - /// The client-assigned feed identifier must be unique within the parent - /// project/folder/organization. + /// The client-assigned feed identifier must be unique within the parent + /// project/folder/organization. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A list of the full names of the assets to receive updates. You must specify - /// either or both of asset_names and asset_types. Only asset updates matching - /// specified asset_names or asset_types are exported to the feed. - /// Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// For a list of the full names for supported asset types, see [Resource - /// name format](/asset-inventory/docs/resource-name-format). + /// A list of the full names of the assets to receive updates. You must specify + /// either or both of asset_names and asset_types. Only asset updates matching + /// specified asset_names or asset_types are exported to the feed. + /// Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// For a list of the full names for supported asset types, see [Resource + /// name format](/asset-inventory/docs/resource-name-format). #[prost(string, repeated, tag="2")] pub asset_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of types of the assets to receive updates. You must specify either - /// or both of asset_names and asset_types. Only asset updates matching - /// specified asset_names or asset_types are exported to the feed. - /// Example: `"compute.googleapis.com/Disk"` + /// A list of types of the assets to receive updates. You must specify either + /// or both of asset_names and asset_types. Only asset updates matching + /// specified asset_names or asset_types are exported to the feed. + /// Example: `"compute.googleapis.com/Disk"` /// - /// For a list of all supported asset types, see - /// [Supported asset types](/asset-inventory/docs/supported-asset-types). + /// For a list of all supported asset types, see + /// [Supported asset types](/asset-inventory/docs/supported-asset-types). #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name and - /// type will be returned. + /// Asset content type. If not specified, no content but the asset name and + /// type will be returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// Required. Feed output configuration defining where the asset updates are - /// published to. + /// Required. Feed output configuration defining where the asset updates are + /// published to. #[prost(message, optional, tag="5")] pub feed_output_config: ::core::option::Option, - /// A condition which determines whether an asset update should be published. - /// If specified, an asset will be returned only when the expression evaluates - /// to true. - /// When set, `expression` field in the `Expr` must be a valid [CEL expression] - /// () on a TemporalAsset with name - /// `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted - /// == true") will only publish Asset deletions. Other fields of `Expr` are - /// optional. - /// - /// See our [user - /// guide]() - /// for detailed instructions. + /// A condition which determines whether an asset update should be published. + /// If specified, an asset will be returned only when the expression evaluates + /// to true. + /// When set, `expression` field in the `Expr` must be a valid [CEL expression] + /// () on a TemporalAsset with name + /// `temporal_asset`. Example: a Feed with expression ("temporal_asset.deleted + /// == true") will only publish Asset deletions. Other fields of `Expr` are + /// optional. + /// + /// See our [user + /// guide]() + /// for detailed instructions. #[prost(message, optional, tag="6")] pub condition: ::core::option::Option, - /// A list of relationship types to output, for example: - /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if - /// content_type=RELATIONSHIP. - /// * If specified: - /// it outputs specified relationship updates on the \[asset_names\] or the - /// \[asset_types\]. It returns an error if any of the \[relationship_types\] - /// doesn't belong to the supported relationship types of the \[asset_names\] or - /// \[asset_types\], or any of the \[asset_names\] or the \[asset_types\] doesn't - /// belong to the source types of the \[relationship_types\]. - /// * Otherwise: - /// it outputs the supported relationships of the types of \[asset_names\] and - /// \[asset_types\] or returns an error if any of the \[asset_names\] or the - /// \[asset_types\] has no replationship support. - /// See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types and relationship types. + /// A list of relationship types to output, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. + /// * If specified: + /// it outputs specified relationship updates on the \[asset_names\] or the + /// \[asset_types\]. It returns an error if any of the \[relationship_types\] + /// doesn't belong to the supported relationship types of the \[asset_names\] or + /// \[asset_types\], or any of the \[asset_names\] or the \[asset_types\] doesn't + /// belong to the source types of the \[relationship_types\]. + /// * Otherwise: + /// it outputs the supported relationships of the types of \[asset_names\] and + /// \[asset_types\] or returns an error if any of the \[asset_names\] or the + /// \[asset_types\] has no replationship support. + /// See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types and relationship types. #[prost(string, repeated, tag="7")] pub relationship_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Search all resources request. +/// Search all resources request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllResourcesRequest { - /// Required. A scope can be a project, a folder, or an organization. The - /// search is limited to the resources within the `scope`. The caller must be - /// granted the - /// \[`cloudasset.assets.searchAllResources`\]() - /// permission on the desired scope. - /// - /// The allowed values are: - /// - /// * projects/{PROJECT_ID} (e.g., "projects/foo-bar") - /// * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - /// * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - /// * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + /// Required. A scope can be a project, a folder, or an organization. The + /// search is limited to the resources within the `scope`. The caller must be + /// granted the + /// \[`cloudasset.assets.searchAllResources`\]() + /// permission on the desired scope. + /// + /// The allowed values are: + /// + /// * projects/{PROJECT_ID} (e.g., "projects/foo-bar") + /// * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + /// * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + /// * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Optional. The query statement. See [how to construct a - /// query]() - /// for more information. If not specified or empty, it will search all the - /// resources within the specified `scope`. + /// Optional. The query statement. See [how to construct a + /// query]() + /// for more information. If not specified or empty, it will search all the + /// resources within the specified `scope`. /// - /// Examples: + /// Examples: /// - /// * `name:Important` to find Cloud resources whose name contains + /// * `name:Important` to find Cloud resources whose name contains /// "Important" as a word. - /// * `name=Important` to find the Cloud resource whose name is exactly + /// * `name=Important` to find the Cloud resource whose name is exactly /// "Important". - /// * `displayName:Impor*` to find Cloud resources whose display name + /// * `displayName:Impor*` to find Cloud resources whose display name /// contains "Impor" as a prefix of any word in the field. - /// * `location:us-west*` to find Cloud resources whose location contains both + /// * `location:us-west*` to find Cloud resources whose location contains both /// "us" and "west" as prefixes. - /// * `labels:prod` to find Cloud resources whose labels contain "prod" as + /// * `labels:prod` to find Cloud resources whose labels contain "prod" as /// a key or value. - /// * `labels.env:prod` to find Cloud resources that have a label "env" + /// * `labels.env:prod` to find Cloud resources that have a label "env" /// and its value is "prod". - /// * `labels.env:*` to find Cloud resources that have a label "env". - /// * `kmsKey:key` to find Cloud resources encrypted with a customer-managed + /// * `labels.env:*` to find Cloud resources that have a label "env". + /// * `kmsKey:key` to find Cloud resources encrypted with a customer-managed /// encryption key whose name contains the word "key". - /// * `relationships:instance-group-1` to find Cloud resources that have + /// * `relationships:instance-group-1` to find Cloud resources that have /// relationships with "instance-group-1" in the related resource name. - /// * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that + /// * `relationships:INSTANCE_TO_INSTANCEGROUP` to find compute instances that /// have relationships of type "INSTANCE_TO_INSTANCEGROUP". - /// * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find + /// * `relationships.INSTANCE_TO_INSTANCEGROUP:instance-group-1` to find /// compute instances that have relationships with "instance-group-1" in the /// compute instance group resource name, for relationship type /// "INSTANCE_TO_INSTANCEGROUP". - /// * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a + /// * `state:ACTIVE` to find Cloud resources whose state contains "ACTIVE" as a /// word. - /// * `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain + /// * `NOT state:ACTIVE` to find Cloud resources whose state doesn't contain /// "ACTIVE" as a word. - /// * `createTime<1609459200` to find Cloud resources that were created before + /// * `createTime<1609459200` to find Cloud resources that were created before /// "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of /// "2021-01-01 00:00:00 UTC" in seconds. - /// * `updateTime>1609459200` to find Cloud resources that were updated after + /// * `updateTime>1609459200` to find Cloud resources that were updated after /// "2021-01-01 00:00:00 UTC". 1609459200 is the epoch timestamp of /// "2021-01-01 00:00:00 UTC" in seconds. - /// * `Important` to find Cloud resources that contain "Important" as a word + /// * `Important` to find Cloud resources that contain "Important" as a word /// in any of the searchable fields. - /// * `Impor*` to find Cloud resources that contain "Impor" as a prefix of any + /// * `Impor*` to find Cloud resources that contain "Impor" as a prefix of any /// word in any of the searchable fields. - /// * `Important location:(us-west1 OR global)` to find Cloud + /// * `Important location:(us-west1 OR global)` to find Cloud /// resources that contain "Important" as a word in any of the searchable /// fields and are also located in the "us-west1" region or the "global" /// location. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Optional. A list of asset types that this request searches for. If empty, - /// it will search all the [searchable asset - /// types](). + /// Optional. A list of asset types that this request searches for. If empty, + /// it will search all the [searchable asset + /// types](). /// - /// Regular expressions are also supported. For example: + /// Regular expressions are also supported. For example: /// - /// * "compute.googleapis.com.*" snapshots resources whose asset type starts - /// with "compute.googleapis.com". - /// * ".*Instance" snapshots resources whose asset type ends with "Instance". - /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". + /// * "compute.googleapis.com.*" snapshots resources whose asset type starts + /// with "compute.googleapis.com". + /// * ".*Instance" snapshots resources whose asset type ends with "Instance". + /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". /// - /// See \[RE2\]() for all supported - /// regular expression syntax. If the regular expression does not match any - /// supported asset type, an INVALID_ARGUMENT error will be returned. + /// See \[RE2\]() for all supported + /// regular expression syntax. If the regular expression does not match any + /// supported asset type, an INVALID_ARGUMENT error will be returned. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The page size for search result pagination. Page size is capped - /// at 500 even if a larger value is given. If set to zero, server will pick an - /// appropriate default. Returned results may be fewer than requested. When - /// this happens, there could be more results as long as `next_page_token` is - /// returned. + /// Optional. The page size for search result pagination. Page size is capped + /// at 500 even if a larger value is given. If set to zero, server will pick an + /// appropriate default. Returned results may be fewer than requested. When + /// this happens, there could be more results as long as `next_page_token` is + /// returned. #[prost(int32, tag="4")] pub page_size: i32, - /// Optional. If present, then retrieve the next batch of results from the - /// preceding call to this method. `page_token` must be the value of - /// `next_page_token` from the previous response. The values of all other - /// method parameters, must be identical to those in the previous call. + /// Optional. If present, then retrieve the next batch of results from the + /// preceding call to this method. `page_token` must be the value of + /// `next_page_token` from the previous response. The values of all other + /// method parameters, must be identical to those in the previous call. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, - /// Optional. A comma-separated list of fields specifying the sorting order of - /// the results. The default order is ascending. Add " DESC" after the field - /// name to indicate descending order. Redundant space characters are ignored. - /// Example: "location DESC, name". - /// Only singular primitive fields in the response are sortable: + /// Optional. A comma-separated list of fields specifying the sorting order of + /// the results. The default order is ascending. Add " DESC" after the field + /// name to indicate descending order. Redundant space characters are ignored. + /// Example: "location DESC, name". + /// Only singular primitive fields in the response are sortable: /// /// * name /// * assetType @@ -1662,18 +1662,18 @@ pub struct SearchAllResourcesRequest { /// * parentFullResourceName /// * parentAssetType /// - /// All the other fields such as repeated fields (e.g., `networkTags`), map - /// fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`) - /// are not supported. + /// All the other fields such as repeated fields (e.g., `networkTags`), map + /// fields (e.g., `labels`) and struct fields (e.g., `additionalAttributes`) + /// are not supported. #[prost(string, tag="6")] pub order_by: ::prost::alloc::string::String, - /// Optional. A comma-separated list of fields specifying which fields to be - /// returned in ResourceSearchResult. Only '*' or combination of top level - /// fields can be specified. Field names of both snake_case and camelCase are - /// supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`. + /// Optional. A comma-separated list of fields specifying which fields to be + /// returned in ResourceSearchResult. Only '*' or combination of top level + /// fields can be specified. Field names of both snake_case and camelCase are + /// supported. Examples: `"*"`, `"name,location"`, `"name,versionedResources"`. /// - /// The read_mask paths must be valid field paths listed but not limited to - /// (both snake_case and camelCase are supported): + /// The read_mask paths must be valid field paths listed but not limited to + /// (both snake_case and camelCase are supported): /// /// * name /// * assetType @@ -1693,508 +1693,508 @@ pub struct SearchAllResourcesRequest { /// * additionalAttributes /// * versionedResources /// - /// If read_mask is not specified, all fields except versionedResources will - /// be returned. - /// If only '*' is specified, all fields including versionedResources will be - /// returned. - /// Any invalid field path will trigger INVALID_ARGUMENT error. + /// If read_mask is not specified, all fields except versionedResources will + /// be returned. + /// If only '*' is specified, all fields including versionedResources will be + /// returned. + /// Any invalid field path will trigger INVALID_ARGUMENT error. #[prost(message, optional, tag="8")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Search all resources response. +/// Search all resources response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllResourcesResponse { - /// A list of Resources that match the search query. It contains the resource - /// standard metadata information. + /// A list of Resources that match the search query. It contains the resource + /// standard metadata information. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// If there are more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there are more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Search all IAM policies request. +/// Search all IAM policies request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllIamPoliciesRequest { - /// Required. A scope can be a project, a folder, or an organization. The - /// search is limited to the IAM policies within the `scope`. The caller must - /// be granted the - /// \[`cloudasset.assets.searchAllIamPolicies`\]() - /// permission on the desired scope. - /// - /// The allowed values are: - /// - /// * projects/{PROJECT_ID} (e.g., "projects/foo-bar") - /// * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") - /// * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") - /// * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") + /// Required. A scope can be a project, a folder, or an organization. The + /// search is limited to the IAM policies within the `scope`. The caller must + /// be granted the + /// \[`cloudasset.assets.searchAllIamPolicies`\]() + /// permission on the desired scope. + /// + /// The allowed values are: + /// + /// * projects/{PROJECT_ID} (e.g., "projects/foo-bar") + /// * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") + /// * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") + /// * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456") #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Optional. The query statement. See [how to construct a - /// query]() - /// for more information. If not specified or empty, it will search all the - /// IAM policies within the specified `scope`. Note that the query string is - /// compared against each Cloud IAM policy binding, including its principals, - /// roles, and Cloud IAM conditions. The returned Cloud IAM policies will only - /// contain the bindings that match your query. To learn more about the IAM - /// policy structure, see the [IAM policy - /// documentation](). - /// - /// Examples: - /// - /// * `policy:amy@gmail.com` to find IAM policy bindings that specify user + /// Optional. The query statement. See [how to construct a + /// query]() + /// for more information. If not specified or empty, it will search all the + /// IAM policies within the specified `scope`. Note that the query string is + /// compared against each Cloud IAM policy binding, including its principals, + /// roles, and Cloud IAM conditions. The returned Cloud IAM policies will only + /// contain the bindings that match your query. To learn more about the IAM + /// policy structure, see the [IAM policy + /// documentation](). + /// + /// Examples: + /// + /// * `policy:amy@gmail.com` to find IAM policy bindings that specify user /// "amy@gmail.com". - /// * `policy:roles/compute.admin` to find IAM policy bindings that specify + /// * `policy:roles/compute.admin` to find IAM policy bindings that specify /// the Compute Admin role. - /// * `policy:comp*` to find IAM policy bindings that contain "comp" as a + /// * `policy:comp*` to find IAM policy bindings that contain "comp" as a /// prefix of any word in the binding. - /// * `policy.role.permissions:storage.buckets.update` to find IAM policy + /// * `policy.role.permissions:storage.buckets.update` to find IAM policy /// bindings that specify a role containing "storage.buckets.update" /// permission. Note that if callers don't have `iam.roles.get` access to a /// role's included permissions, policy bindings that specify this role will /// be dropped from the search results. - /// * `policy.role.permissions:upd*` to find IAM policy bindings that specify a + /// * `policy.role.permissions:upd*` to find IAM policy bindings that specify a /// role containing "upd" as a prefix of any word in the role permission. /// Note that if callers don't have `iam.roles.get` access to a role's /// included permissions, policy bindings that specify this role will be /// dropped from the search results. - /// * `resource:organizations/123456` to find IAM policy bindings + /// * `resource:organizations/123456` to find IAM policy bindings /// that are set on "organizations/123456". - /// * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to + /// * `resource=//cloudresourcemanager.googleapis.com/projects/myproject` to /// find IAM policy bindings that are set on the project named "myproject". - /// * `Important` to find IAM policy bindings that contain "Important" as a + /// * `Important` to find IAM policy bindings that contain "Important" as a /// word in any of the searchable fields (except for the included /// permissions). - /// * `resource:(instance1 OR instance2) policy:amy` to find + /// * `resource:(instance1 OR instance2) policy:amy` to find /// IAM policy bindings that are set on resources "instance1" or /// "instance2" and also specify user "amy". - /// * `roles:roles/compute.admin` to find IAM policy bindings that specify the + /// * `roles:roles/compute.admin` to find IAM policy bindings that specify the /// Compute Admin role. - /// * `memberTypes:user` to find IAM policy bindings that contain the + /// * `memberTypes:user` to find IAM policy bindings that contain the /// principal type "user". #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Optional. The page size for search result pagination. Page size is capped - /// at 500 even if a larger value is given. If set to zero, server will pick an - /// appropriate default. Returned results may be fewer than requested. When - /// this happens, there could be more results as long as `next_page_token` is - /// returned. + /// Optional. The page size for search result pagination. Page size is capped + /// at 500 even if a larger value is given. If set to zero, server will pick an + /// appropriate default. Returned results may be fewer than requested. When + /// this happens, there could be more results as long as `next_page_token` is + /// returned. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. If present, retrieve the next batch of results from the preceding - /// call to this method. `page_token` must be the value of `next_page_token` - /// from the previous response. The values of all other method parameters must - /// be identical to those in the previous call. + /// Optional. If present, retrieve the next batch of results from the preceding + /// call to this method. `page_token` must be the value of `next_page_token` + /// from the previous response. The values of all other method parameters must + /// be identical to those in the previous call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. A list of asset types that the IAM policies are attached to. If - /// empty, it will search the IAM policies that are attached to all the - /// [searchable asset - /// types](). - /// - /// Regular expressions are also supported. For example: - /// - /// * "compute.googleapis.com.*" snapshots IAM policies attached to asset type - /// starts with "compute.googleapis.com". - /// * ".*Instance" snapshots IAM policies attached to asset type ends with - /// "Instance". - /// * ".*Instance.*" snapshots IAM policies attached to asset type contains - /// "Instance". - /// - /// See \[RE2\]() for all supported - /// regular expression syntax. If the regular expression does not match any - /// supported asset type, an INVALID_ARGUMENT error will be returned. + /// Optional. A list of asset types that the IAM policies are attached to. If + /// empty, it will search the IAM policies that are attached to all the + /// [searchable asset + /// types](). + /// + /// Regular expressions are also supported. For example: + /// + /// * "compute.googleapis.com.*" snapshots IAM policies attached to asset type + /// starts with "compute.googleapis.com". + /// * ".*Instance" snapshots IAM policies attached to asset type ends with + /// "Instance". + /// * ".*Instance.*" snapshots IAM policies attached to asset type contains + /// "Instance". + /// + /// See \[RE2\]() for all supported + /// regular expression syntax. If the regular expression does not match any + /// supported asset type, an INVALID_ARGUMENT error will be returned. #[prost(string, repeated, tag="5")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A comma-separated list of fields specifying the sorting order of - /// the results. The default order is ascending. Add " DESC" after the field - /// name to indicate descending order. Redundant space characters are ignored. - /// Example: "assetType DESC, resource". - /// Only singular primitive fields in the response are sortable: + /// Optional. A comma-separated list of fields specifying the sorting order of + /// the results. The default order is ascending. Add " DESC" after the field + /// name to indicate descending order. Redundant space characters are ignored. + /// Example: "assetType DESC, resource". + /// Only singular primitive fields in the response are sortable: /// * resource /// * assetType /// * project - /// All the other fields such as repeated fields (e.g., `folders`) and - /// non-primitive fields (e.g., `policy`) are not supported. + /// All the other fields such as repeated fields (e.g., `folders`) and + /// non-primitive fields (e.g., `policy`) are not supported. #[prost(string, tag="7")] pub order_by: ::prost::alloc::string::String, } -/// Search all IAM policies response. +/// Search all IAM policies response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllIamPoliciesResponse { - /// A list of IamPolicy that match the search query. Related information such - /// as the associated resource is returned along with the policy. + /// A list of IamPolicy that match the search query. Related information such + /// as the associated resource is returned along with the policy. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Set if there are more results than those appearing in this response; to get - /// the next set of results, call this method again, using this value as the - /// `page_token`. + /// Set if there are more results than those appearing in this response; to get + /// the next set of results, call this method again, using this value as the + /// `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// IAM policy analysis query message. +/// IAM policy analysis query message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicyAnalysisQuery { - /// Required. The relative name of the root asset. Only resources and IAM - /// policies within the scope will be analyzed. + /// Required. The relative name of the root asset. Only resources and IAM + /// policies within the scope will be analyzed. /// - /// This can only be an organization number (such as "organizations/123"), a - /// folder number (such as "folders/123"), a project ID (such as - /// "projects/my-project-id"), or a project number (such as "projects/12345"). + /// This can only be an organization number (such as "organizations/123"), a + /// folder number (such as "folders/123"), a project ID (such as + /// "projects/my-project-id"), or a project number (such as "projects/12345"). /// - /// To know how to get organization id, visit [here - /// ](). + /// To know how to get organization id, visit [here + /// ](). /// - /// To know how to get folder or project id, visit [here - /// ](). + /// To know how to get folder or project id, visit [here + /// ](). #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Optional. Specifies a resource for analysis. + /// Optional. Specifies a resource for analysis. #[prost(message, optional, tag="2")] pub resource_selector: ::core::option::Option, - /// Optional. Specifies an identity for analysis. + /// Optional. Specifies an identity for analysis. #[prost(message, optional, tag="3")] pub identity_selector: ::core::option::Option, - /// Optional. Specifies roles or permissions for analysis. This is optional. + /// Optional. Specifies roles or permissions for analysis. This is optional. #[prost(message, optional, tag="4")] pub access_selector: ::core::option::Option, - /// Optional. The query options. + /// Optional. The query options. #[prost(message, optional, tag="5")] pub options: ::core::option::Option, - /// Optional. The hypothetical context for IAM conditions evaluation. + /// Optional. The hypothetical context for IAM conditions evaluation. #[prost(message, optional, tag="6")] pub condition_context: ::core::option::Option, } /// Nested message and enum types in `IamPolicyAnalysisQuery`. pub mod iam_policy_analysis_query { - /// Specifies the resource to analyze for access policies, which may be set - /// directly on the resource, or on ancestors such as organizations, folders or - /// projects. + /// Specifies the resource to analyze for access policies, which may be set + /// directly on the resource, or on ancestors such as organizations, folders or + /// projects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSelector { - /// Required. The [full resource name] - /// () - /// of a resource of [supported resource - /// types](). + /// Required. The [full resource name] + /// () + /// of a resource of [supported resource + /// types](). #[prost(string, tag="1")] pub full_resource_name: ::prost::alloc::string::String, } - /// Specifies an identity for which to determine resource access, based on - /// roles assigned either directly to them or to the groups they belong to, - /// directly or indirectly. + /// Specifies an identity for which to determine resource access, based on + /// roles assigned either directly to them or to the groups they belong to, + /// directly or indirectly. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentitySelector { - /// Required. The identity appear in the form of principals in - /// [IAM policy - /// binding](). + /// Required. The identity appear in the form of principals in + /// [IAM policy + /// binding](). /// - /// The examples of supported forms are: - /// "user:mike@example.com", - /// "group:admins@example.com", - /// "domain:google.com", - /// "serviceAccount:my-project-id@appspot.gserviceaccount.com". + /// The examples of supported forms are: + /// "user:mike@example.com", + /// "group:admins@example.com", + /// "domain:google.com", + /// "serviceAccount:my-project-id@appspot.gserviceaccount.com". /// - /// Notice that wildcard characters (such as * and ?) are not supported. - /// You must give a specific identity. + /// Notice that wildcard characters (such as * and ?) are not supported. + /// You must give a specific identity. #[prost(string, tag="1")] pub identity: ::prost::alloc::string::String, } - /// Specifies roles and/or permissions to analyze, to determine both the - /// identities possessing them and the resources they control. If multiple - /// values are specified, results will include roles or permissions matching - /// any of them. The total number of roles and permissions should be equal or - /// less than 10. + /// Specifies roles and/or permissions to analyze, to determine both the + /// identities possessing them and the resources they control. If multiple + /// values are specified, results will include roles or permissions matching + /// any of them. The total number of roles and permissions should be equal or + /// less than 10. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessSelector { - /// Optional. The roles to appear in result. + /// Optional. The roles to appear in result. #[prost(string, repeated, tag="1")] pub roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The permissions to appear in result. + /// Optional. The permissions to appear in result. #[prost(string, repeated, tag="2")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Contains query options. + /// Contains query options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Options { - /// Optional. If true, the identities section of the result will expand any - /// Google groups appearing in an IAM policy binding. + /// Optional. If true, the identities section of the result will expand any + /// Google groups appearing in an IAM policy binding. /// - /// If - /// \[IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector\] - /// is specified, the identity in the result will be determined by the - /// selector, and this flag is not allowed to set. + /// If + /// \[IamPolicyAnalysisQuery.identity_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.identity_selector\] + /// is specified, the identity in the result will be determined by the + /// selector, and this flag is not allowed to set. /// - /// If true, the default max expansion per group is 1000 for - /// AssetService.AnalyzeIamPolicy][]. + /// If true, the default max expansion per group is 1000 for + /// AssetService.AnalyzeIamPolicy][]. /// - /// Default is false. + /// Default is false. #[prost(bool, tag="1")] pub expand_groups: bool, - /// Optional. If true, the access section of result will expand any roles - /// appearing in IAM policy bindings to include their permissions. + /// Optional. If true, the access section of result will expand any roles + /// appearing in IAM policy bindings to include their permissions. /// - /// If - /// \[IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector\] - /// is specified, the access section of the result will be determined by the - /// selector, and this flag is not allowed to set. + /// If + /// \[IamPolicyAnalysisQuery.access_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.access_selector\] + /// is specified, the access section of the result will be determined by the + /// selector, and this flag is not allowed to set. /// - /// Default is false. + /// Default is false. #[prost(bool, tag="2")] pub expand_roles: bool, - /// Optional. If true and - /// \[IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector\] - /// is not specified, the resource section of the result will expand any - /// resource attached to an IAM policy to include resources lower in the - /// resource hierarchy. + /// Optional. If true and + /// \[IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector\] + /// is not specified, the resource section of the result will expand any + /// resource attached to an IAM policy to include resources lower in the + /// resource hierarchy. /// - /// For example, if the request analyzes for which resources user A has - /// permission P, and the results include an IAM policy with P on a GCP - /// folder, the results will also include resources in that folder with - /// permission P. + /// For example, if the request analyzes for which resources user A has + /// permission P, and the results include an IAM policy with P on a GCP + /// folder, the results will also include resources in that folder with + /// permission P. /// - /// If true and - /// \[IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector\] - /// is specified, the resource section of the result will expand the - /// specified resource to include resources lower in the resource hierarchy. - /// Only project or lower resources are supported. Folder and organization - /// resource cannot be used together with this option. + /// If true and + /// \[IamPolicyAnalysisQuery.resource_selector][google.cloud.asset.v1.IamPolicyAnalysisQuery.resource_selector\] + /// is specified, the resource section of the result will expand the + /// specified resource to include resources lower in the resource hierarchy. + /// Only project or lower resources are supported. Folder and organization + /// resource cannot be used together with this option. /// - /// For example, if the request analyzes for which users have permission P on - /// a GCP project with this option enabled, the results will include all - /// users who have permission P on that project or any lower resource. + /// For example, if the request analyzes for which users have permission P on + /// a GCP project with this option enabled, the results will include all + /// users who have permission P on that project or any lower resource. /// - /// If true, the default max expansion per resource is 1000 for - /// AssetService.AnalyzeIamPolicy][] and 100000 for - /// AssetService.AnalyzeIamPolicyLongrunning][]. + /// If true, the default max expansion per resource is 1000 for + /// AssetService.AnalyzeIamPolicy][] and 100000 for + /// AssetService.AnalyzeIamPolicyLongrunning][]. /// - /// Default is false. + /// Default is false. #[prost(bool, tag="3")] pub expand_resources: bool, - /// Optional. If true, the result will output the relevant parent/child - /// relationships between resources. Default is false. + /// Optional. If true, the result will output the relevant parent/child + /// relationships between resources. Default is false. #[prost(bool, tag="4")] pub output_resource_edges: bool, - /// Optional. If true, the result will output the relevant membership - /// relationships between groups and other groups, and between groups and - /// principals. Default is false. + /// Optional. If true, the result will output the relevant membership + /// relationships between groups and other groups, and between groups and + /// principals. Default is false. #[prost(bool, tag="5")] pub output_group_edges: bool, - /// Optional. If true, the response will include access analysis from - /// identities to resources via service account impersonation. This is a very - /// expensive operation, because many derived queries will be executed. We - /// highly recommend you use - /// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\] - /// rpc instead. + /// Optional. If true, the response will include access analysis from + /// identities to resources via service account impersonation. This is a very + /// expensive operation, because many derived queries will be executed. We + /// highly recommend you use + /// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\] + /// rpc instead. /// - /// For example, if the request analyzes for which resources user A has - /// permission P, and there's an IAM policy states user A has - /// iam.serviceAccounts.getAccessToken permission to a service account SA, - /// and there's another IAM policy states service account SA has permission P - /// to a GCP folder F, then user A potentially has access to the GCP folder - /// F. And those advanced analysis results will be included in - /// \[AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\]. + /// For example, if the request analyzes for which resources user A has + /// permission P, and there's an IAM policy states user A has + /// iam.serviceAccounts.getAccessToken permission to a service account SA, + /// and there's another IAM policy states service account SA has permission P + /// to a GCP folder F, then user A potentially has access to the GCP folder + /// F. And those advanced analysis results will be included in + /// \[AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\]. /// - /// Another example, if the request analyzes for who has - /// permission P to a GCP folder F, and there's an IAM policy states user A - /// has iam.serviceAccounts.actAs permission to a service account SA, and - /// there's another IAM policy states service account SA has permission P to - /// the GCP folder F, then user A potentially has access to the GCP folder - /// F. And those advanced analysis results will be included in - /// \[AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\]. + /// Another example, if the request analyzes for who has + /// permission P to a GCP folder F, and there's an IAM policy states user A + /// has iam.serviceAccounts.actAs permission to a service account SA, and + /// there's another IAM policy states service account SA has permission P to + /// the GCP folder F, then user A potentially has access to the GCP folder + /// F. And those advanced analysis results will be included in + /// \[AnalyzeIamPolicyResponse.service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\]. /// - /// Only the following permissions are considered in this analysis: + /// Only the following permissions are considered in this analysis: /// - /// * `iam.serviceAccounts.actAs` - /// * `iam.serviceAccounts.signBlob` - /// * `iam.serviceAccounts.signJwt` - /// * `iam.serviceAccounts.getAccessToken` - /// * `iam.serviceAccounts.getOpenIdToken` - /// * `iam.serviceAccounts.implicitDelegation` + /// * `iam.serviceAccounts.actAs` + /// * `iam.serviceAccounts.signBlob` + /// * `iam.serviceAccounts.signJwt` + /// * `iam.serviceAccounts.getAccessToken` + /// * `iam.serviceAccounts.getOpenIdToken` + /// * `iam.serviceAccounts.implicitDelegation` /// - /// Default is false. + /// Default is false. #[prost(bool, tag="6")] pub analyze_service_account_impersonation: bool, } - /// The IAM conditions context. + /// The IAM conditions context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionContext { - /// The IAM conditions time context. + /// The IAM conditions time context. #[prost(oneof="condition_context::TimeContext", tags="1")] pub time_context: ::core::option::Option, } /// Nested message and enum types in `ConditionContext`. pub mod condition_context { - /// The IAM conditions time context. + /// The IAM conditions time context. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TimeContext { - /// The hypothetical access timestamp to evaluate IAM conditions. Note that - /// this value must not be earlier than the current time; otherwise, an - /// INVALID_ARGUMENT error will be returned. + /// The hypothetical access timestamp to evaluate IAM conditions. Note that + /// this value must not be earlier than the current time; otherwise, an + /// INVALID_ARGUMENT error will be returned. #[prost(message, tag="1")] AccessTime(::prost_types::Timestamp), } } } -/// A request message for -/// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\]. +/// A request message for +/// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeIamPolicyRequest { - /// Required. The request query. + /// Required. The request query. #[prost(message, optional, tag="1")] pub analysis_query: ::core::option::Option, - /// Optional. The name of a saved query, which must be in the format of: - /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id - /// - /// If both `analysis_query` and `saved_analysis_query` are provided, they - /// will be merged together with the `saved_analysis_query` as base and - /// the `analysis_query` as overrides. For more details of the merge behavior, - /// please refer to the - /// \[MergeFrom\]() - /// page. - /// - /// Note that you cannot override primitive fields with default value, such as - /// 0 or empty string, etc., because we use proto3, which doesn't support field - /// presence yet. + /// Optional. The name of a saved query, which must be in the format of: + /// + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id + /// + /// If both `analysis_query` and `saved_analysis_query` are provided, they + /// will be merged together with the `saved_analysis_query` as base and + /// the `analysis_query` as overrides. For more details of the merge behavior, + /// please refer to the + /// \[MergeFrom\]() + /// page. + /// + /// Note that you cannot override primitive fields with default value, such as + /// 0 or empty string, etc., because we use proto3, which doesn't support field + /// presence yet. #[prost(string, tag="3")] pub saved_analysis_query: ::prost::alloc::string::String, - /// Optional. Amount of time executable has to complete. See JSON - /// representation of - /// \[Duration\](). + /// Optional. Amount of time executable has to complete. See JSON + /// representation of + /// \[Duration\](). /// - /// If this field is set with a value less than the RPC deadline, and the - /// execution of your query hasn't finished in the specified - /// execution timeout, you will get a response with partial result. - /// Otherwise, your query's execution will continue until the RPC deadline. - /// If it's not finished until then, you will get a DEADLINE_EXCEEDED error. + /// If this field is set with a value less than the RPC deadline, and the + /// execution of your query hasn't finished in the specified + /// execution timeout, you will get a response with partial result. + /// Otherwise, your query's execution will continue until the RPC deadline. + /// If it's not finished until then, you will get a DEADLINE_EXCEEDED error. /// - /// Default is empty. + /// Default is empty. #[prost(message, optional, tag="2")] pub execution_timeout: ::core::option::Option<::prost_types::Duration>, } -/// A response message for -/// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\]. +/// A response message for +/// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeIamPolicyResponse { - /// The main analysis that matches the original request. + /// The main analysis that matches the original request. #[prost(message, optional, tag="1")] pub main_analysis: ::core::option::Option, - /// The service account impersonation analysis if - /// \[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][\] is - /// enabled. + /// The service account impersonation analysis if + /// \[AnalyzeIamPolicyRequest.analyze_service_account_impersonation][\] is + /// enabled. #[prost(message, repeated, tag="2")] pub service_account_impersonation_analysis: ::prost::alloc::vec::Vec, - /// Represents whether all entries in the - /// \[main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis\] - /// and - /// \[service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\] - /// have been fully explored to answer the query in the request. + /// Represents whether all entries in the + /// \[main_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.main_analysis\] + /// and + /// \[service_account_impersonation_analysis][google.cloud.asset.v1.AnalyzeIamPolicyResponse.service_account_impersonation_analysis\] + /// have been fully explored to answer the query in the request. #[prost(bool, tag="3")] pub fully_explored: bool, } /// Nested message and enum types in `AnalyzeIamPolicyResponse`. pub mod analyze_iam_policy_response { - /// An analysis message to group the query and results. + /// An analysis message to group the query and results. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicyAnalysis { - /// The analysis query. + /// The analysis query. #[prost(message, optional, tag="1")] pub analysis_query: ::core::option::Option, - /// A list of - /// \[IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult\] - /// that matches the analysis query, or empty if no result is found. + /// A list of + /// \[IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult\] + /// that matches the analysis query, or empty if no result is found. #[prost(message, repeated, tag="2")] pub analysis_results: ::prost::alloc::vec::Vec, - /// Represents whether all entries in the - /// \[analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results\] - /// have been fully explored to answer the query. + /// Represents whether all entries in the + /// \[analysis_results][google.cloud.asset.v1.AnalyzeIamPolicyResponse.IamPolicyAnalysis.analysis_results\] + /// have been fully explored to answer the query. #[prost(bool, tag="3")] pub fully_explored: bool, - /// A list of non-critical errors happened during the query handling. + /// A list of non-critical errors happened during the query handling. #[prost(message, repeated, tag="5")] pub non_critical_errors: ::prost::alloc::vec::Vec, } } -/// Output configuration for export IAM policy analysis destination. +/// Output configuration for export IAM policy analysis destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicyAnalysisOutputConfig { - /// IAM policy analysis export destination. + /// IAM policy analysis export destination. #[prost(oneof="iam_policy_analysis_output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `IamPolicyAnalysisOutputConfig`. pub mod iam_policy_analysis_output_config { - /// A Cloud Storage location. + /// A Cloud Storage location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. The uri of the Cloud Storage object. It's the same uri that is - /// used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and - /// Editing Object - /// Metadata]() - /// for more information. + /// Required. The uri of the Cloud Storage object. It's the same uri that is + /// used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and + /// Editing Object + /// Metadata]() + /// for more information. /// - /// If the specified Cloud Storage object already exists and there is no - /// \[hold\](), it will be - /// overwritten with the analysis result. + /// If the specified Cloud Storage object already exists and there is no + /// \[hold\](), it will be + /// overwritten with the analysis result. #[prost(string, tag="1")] pub uri: ::prost::alloc::string::String, } - /// A BigQuery destination. + /// A BigQuery destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. The BigQuery dataset in format - /// "projects/projectId/datasets/datasetId", to which the analysis results - /// should be exported. If this dataset does not exist, the export call will - /// return an INVALID_ARGUMENT error. + /// Required. The BigQuery dataset in format + /// "projects/projectId/datasets/datasetId", to which the analysis results + /// should be exported. If this dataset does not exist, the export call will + /// return an INVALID_ARGUMENT error. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. The prefix of the BigQuery tables to which the analysis results - /// will be written. Tables will be created based on this table_prefix if not - /// exist: - /// * _analysis table will contain export operation's metadata. - /// * _analysis_result will contain all the + /// Required. The prefix of the BigQuery tables to which the analysis results + /// will be written. Tables will be created based on this table_prefix if not + /// exist: + /// * _analysis table will contain export operation's metadata. + /// * _analysis_result will contain all the /// \[IamPolicyAnalysisResult][google.cloud.asset.v1.IamPolicyAnalysisResult\]. - /// When \[partition_key\] is specified, both tables will be partitioned based - /// on the \[partition_key\]. + /// When \[partition_key\] is specified, both tables will be partitioned based + /// on the \[partition_key\]. #[prost(string, tag="2")] pub table_prefix: ::prost::alloc::string::String, - /// The partition key for BigQuery partitioned table. + /// The partition key for BigQuery partitioned table. #[prost(enumeration="big_query_destination::PartitionKey", tag="3")] pub partition_key: i32, - /// Optional. Specifies the action that occurs if the destination table or - /// partition already exists. The following values are supported: + /// Optional. Specifies the action that occurs if the destination table or + /// partition already exists. The following values are supported: /// - /// * WRITE_TRUNCATE: If the table or partition already exists, BigQuery - /// overwrites the entire table or all the partitions data. - /// * WRITE_APPEND: If the table or partition already exists, BigQuery - /// appends the data to the table or the latest partition. - /// * WRITE_EMPTY: If the table already exists and contains data, an error is - /// returned. + /// * WRITE_TRUNCATE: If the table or partition already exists, BigQuery + /// overwrites the entire table or all the partitions data. + /// * WRITE_APPEND: If the table or partition already exists, BigQuery + /// appends the data to the table or the latest partition. + /// * WRITE_EMPTY: If the table already exists and contains data, an error is + /// returned. /// - /// The default value is WRITE_APPEND. Each action is atomic and only occurs - /// if BigQuery is able to complete the job successfully. Details are at - /// + /// The default value is WRITE_APPEND. Each action is atomic and only occurs + /// if BigQuery is able to complete the job successfully. Details are at + /// #[prost(string, tag="4")] pub write_disposition: ::prost::alloc::string::String, } /// Nested message and enum types in `BigQueryDestination`. pub mod big_query_destination { - /// This enum determines the partition key column for the bigquery tables. - /// Partitioning can improve query performance and reduce query cost by - /// filtering partitions. Refer to - /// for details. + /// This enum determines the partition key column for the bigquery tables. + /// Partitioning can improve query performance and reduce query cost by + /// filtering partitions. Refer to + /// for details. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartitionKey { - /// Unspecified partition key. Tables won't be partitioned using this - /// option. + /// Unspecified partition key. Tables won't be partitioned using this + /// option. Unspecified = 0, - /// The time when the request is received. If specified as partition key, - /// the result table(s) is partitoned by the RequestTime column, an - /// additional timestamp column representing when the request was received. + /// The time when the request is received. If specified as partition key, + /// the result table(s) is partitoned by the RequestTime column, an + /// additional timestamp column representing when the request was received. RequestTime = 1, } impl PartitionKey { @@ -2210,91 +2210,91 @@ pub mod iam_policy_analysis_output_config { } } } - /// IAM policy analysis export destination. + /// IAM policy analysis export destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Cloud Storage. + /// Destination on Cloud Storage. #[prost(message, tag="1")] GcsDestination(GcsDestination), - /// Destination on BigQuery. + /// Destination on BigQuery. #[prost(message, tag="2")] BigqueryDestination(BigQueryDestination), } } -/// A request message for -/// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\]. +/// A request message for +/// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeIamPolicyLongrunningRequest { - /// Required. The request query. + /// Required. The request query. #[prost(message, optional, tag="1")] pub analysis_query: ::core::option::Option, - /// Optional. The name of a saved query, which must be in the format of: - /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id - /// - /// If both `analysis_query` and `saved_analysis_query` are provided, they - /// will be merged together with the `saved_analysis_query` as base and - /// the `analysis_query` as overrides. For more details of the merge behavior, - /// please refer to the - /// \[MergeFrom\]() - /// doc. - /// - /// Note that you cannot override primitive fields with default value, such as - /// 0 or empty string, etc., because we use proto3, which doesn't support field - /// presence yet. + /// Optional. The name of a saved query, which must be in the format of: + /// + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id + /// + /// If both `analysis_query` and `saved_analysis_query` are provided, they + /// will be merged together with the `saved_analysis_query` as base and + /// the `analysis_query` as overrides. For more details of the merge behavior, + /// please refer to the + /// \[MergeFrom\]() + /// doc. + /// + /// Note that you cannot override primitive fields with default value, such as + /// 0 or empty string, etc., because we use proto3, which doesn't support field + /// presence yet. #[prost(string, tag="3")] pub saved_analysis_query: ::prost::alloc::string::String, - /// Required. Output configuration indicating where the results will be output - /// to. + /// Required. Output configuration indicating where the results will be output + /// to. #[prost(message, optional, tag="2")] pub output_config: ::core::option::Option, } -/// A response message for -/// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\]. +/// A response message for +/// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeIamPolicyLongrunningResponse { } -/// A saved query which can be shared with others or used later. +/// A saved query which can be shared with others or used later. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SavedQuery { - /// The resource name of the saved query. The format must be: + /// The resource name of the saved query. The format must be: /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The description of this saved query. This value should be fewer than 255 - /// characters. + /// The description of this saved query. This value should be fewer than 255 + /// characters. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Output only. The create time of this saved query. + /// Output only. The create time of this saved query. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The account's email address who has created this saved query. + /// Output only. The account's email address who has created this saved query. #[prost(string, tag="4")] pub creator: ::prost::alloc::string::String, - /// Output only. The last update time of this saved query. + /// Output only. The last update time of this saved query. #[prost(message, optional, tag="5")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The account's email address who has updated this saved query - /// most recently. + /// Output only. The account's email address who has updated this saved query + /// most recently. #[prost(string, tag="6")] pub last_updater: ::prost::alloc::string::String, - /// Labels applied on the resource. - /// This value should not contain more than 10 entries. The key and value of - /// each entry must be non-empty and fewer than 64 characters. + /// Labels applied on the resource. + /// This value should not contain more than 10 entries. The key and value of + /// each entry must be non-empty and fewer than 64 characters. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The query content. + /// The query content. #[prost(message, optional, tag="8")] pub content: ::core::option::Option, } /// Nested message and enum types in `SavedQuery`. pub mod saved_query { - /// The query content. + /// The query content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryContent { #[prost(oneof="query_content::QueryContent", tags="1")] @@ -2304,160 +2304,160 @@ pub mod saved_query { pub mod query_content { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum QueryContent { - /// An IAM Policy Analysis query, which could be used in - /// the - /// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\] - /// rpc or the - /// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\] - /// rpc. + /// An IAM Policy Analysis query, which could be used in + /// the + /// \[AssetService.AnalyzeIamPolicy][google.cloud.asset.v1.AssetService.AnalyzeIamPolicy\] + /// rpc or the + /// \[AssetService.AnalyzeIamPolicyLongrunning][google.cloud.asset.v1.AssetService.AnalyzeIamPolicyLongrunning\] + /// rpc. #[prost(message, tag="1")] IamPolicyAnalysisQuery(super::super::IamPolicyAnalysisQuery), } } } -/// Request to create a saved query. +/// Request to create a saved query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSavedQueryRequest { - /// Required. The name of the project/folder/organization where this - /// saved_query should be created in. It can only be an organization number - /// (such as "organizations/123"), a folder number (such as "folders/123"), a - /// project ID (such as "projects/my-project-id")", or a project number (such - /// as "projects/12345"). + /// Required. The name of the project/folder/organization where this + /// saved_query should be created in. It can only be an organization number + /// (such as "organizations/123"), a folder number (such as "folders/123"), a + /// project ID (such as "projects/my-project-id")", or a project number (such + /// as "projects/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The saved_query details. The `name` field must be empty as it - /// will be generated based on the parent and saved_query_id. + /// Required. The saved_query details. The `name` field must be empty as it + /// will be generated based on the parent and saved_query_id. #[prost(message, optional, tag="2")] pub saved_query: ::core::option::Option, - /// Required. The ID to use for the saved query, which must be unique in the - /// specified parent. It will become the final component of the saved query's - /// resource name. + /// Required. The ID to use for the saved query, which must be unique in the + /// specified parent. It will become the final component of the saved query's + /// resource name. /// - /// This value should be 4-63 characters, and valid characters - /// are /\[a-z][0-9\]-/. + /// This value should be 4-63 characters, and valid characters + /// are /\[a-z][0-9\]-/. /// - /// Notice that this field is required in the saved query creation, and the - /// `name` field of the `saved_query` will be ignored. + /// Notice that this field is required in the saved query creation, and the + /// `name` field of the `saved_query` will be ignored. #[prost(string, tag="3")] pub saved_query_id: ::prost::alloc::string::String, } -/// Request to get a saved query. +/// Request to get a saved query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSavedQueryRequest { - /// Required. The name of the saved query and it must be in the format of: + /// Required. The name of the saved query and it must be in the format of: /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to list saved queries. +/// Request to list saved queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesRequest { - /// Required. The parent project/folder/organization whose savedQueries are to - /// be listed. It can only be using project/folder/organization number (such as - /// "folders/12345")", or a project ID (such as "projects/my-project-id"). + /// Required. The parent project/folder/organization whose savedQueries are to + /// be listed. It can only be using project/folder/organization number (such as + /// "folders/12345")", or a project ID (such as "projects/my-project-id"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The expression to filter resources. - /// The expression is a list of zero or more restrictions combined via logical - /// operators `AND` and `OR`. When `AND` and `OR` are both used in the - /// expression, parentheses must be appropriately used to group the - /// combinations. The expression may also contain regular expressions. + /// Optional. The expression to filter resources. + /// The expression is a list of zero or more restrictions combined via logical + /// operators `AND` and `OR`. When `AND` and `OR` are both used in the + /// expression, parentheses must be appropriately used to group the + /// combinations. The expression may also contain regular expressions. /// - /// See for more information on the grammar. + /// See for more information on the grammar. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. The maximum number of saved queries to return per page. The - /// service may return fewer than this value. If unspecified, at most 50 will - /// be returned. + /// Optional. The maximum number of saved queries to return per page. The + /// service may return fewer than this value. If unspecified, at most 50 will + /// be returned. /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListSavedQueries` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListSavedQueries` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListSavedQueries` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListSavedQueries` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response of listing saved queries. +/// Response of listing saved queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSavedQueriesResponse { - /// A list of savedQueries. + /// A list of savedQueries. #[prost(message, repeated, tag="1")] pub saved_queries: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request to update a saved query. +/// Request to update a saved query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSavedQueryRequest { - /// Required. The saved query to update. + /// Required. The saved query to update. /// - /// The saved query's `name` field is used to identify the one to update, - /// which has format as below: + /// The saved query's `name` field is used to identify the one to update, + /// which has format as below: /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id #[prost(message, optional, tag="1")] pub saved_query: ::core::option::Option, - /// Required. The list of fields to update. + /// Required. The list of fields to update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request to delete a saved query. +/// Request to delete a saved query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSavedQueryRequest { - /// Required. The name of the saved query to delete. It must be in the format - /// of: + /// Required. The name of the saved query to delete. It must be in the format + /// of: /// - /// * projects/project_number/savedQueries/saved_query_id - /// * folders/folder_number/savedQueries/saved_query_id - /// * organizations/organization_number/savedQueries/saved_query_id + /// * projects/project_number/savedQueries/saved_query_id + /// * folders/folder_number/savedQueries/saved_query_id + /// * organizations/organization_number/savedQueries/saved_query_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for performing resource move analysis. +/// The request message for performing resource move analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeMoveRequest { - /// Required. Name of the resource to perform the analysis against. - /// Only GCP Project are supported as of today. Hence, this can only be Project - /// ID (such as "projects/my-project-id") or a Project Number (such as - /// "projects/12345"). + /// Required. Name of the resource to perform the analysis against. + /// Only GCP Project are supported as of today. Hence, this can only be Project + /// ID (such as "projects/my-project-id") or a Project Number (such as + /// "projects/12345"). #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// Required. Name of the GCP Folder or Organization to reparent the target - /// resource. The analysis will be performed against hypothetically moving the - /// resource to this specified desitination parent. This can only be a Folder - /// number (such as "folders/123") or an Organization number (such as - /// "organizations/123"). + /// Required. Name of the GCP Folder or Organization to reparent the target + /// resource. The analysis will be performed against hypothetically moving the + /// resource to this specified desitination parent. This can only be a Folder + /// number (such as "folders/123") or an Organization number (such as + /// "organizations/123"). #[prost(string, tag="2")] pub destination_parent: ::prost::alloc::string::String, - /// Analysis view indicating what information should be included in the - /// analysis response. If unspecified, the default view is FULL. + /// Analysis view indicating what information should be included in the + /// analysis response. If unspecified, the default view is FULL. #[prost(enumeration="analyze_move_request::AnalysisView", tag="3")] pub view: i32, } /// Nested message and enum types in `AnalyzeMoveRequest`. pub mod analyze_move_request { - /// View enum for supporting partial analysis responses. + /// View enum for supporting partial analysis responses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AnalysisView { - /// The default/unset value. - /// The API will default to the FULL view. + /// The default/unset value. + /// The API will default to the FULL view. Unspecified = 0, - /// Full analysis including all level of impacts of the specified resource - /// move. + /// Full analysis including all level of impacts of the specified resource + /// move. Full = 1, - /// Basic analysis only including blockers which will prevent the specified - /// resource move at runtime. + /// Basic analysis only including blockers which will prevent the specified + /// resource move at runtime. Basic = 2, } impl AnalysisView { @@ -2474,19 +2474,19 @@ pub mod analyze_move_request { } } } -/// The response message for resource move analysis. +/// The response message for resource move analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeMoveResponse { - /// The list of analyses returned from performing the intended resource move - /// analysis. The analysis is grouped by different Cloud services. + /// The list of analyses returned from performing the intended resource move + /// analysis. The analysis is grouped by different Cloud services. #[prost(message, repeated, tag="1")] pub move_analysis: ::prost::alloc::vec::Vec, } -/// A message to group the analysis information. +/// A message to group the analysis information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveAnalysis { - /// The user friendly display name of the analysis. E.g. IAM, Organization - /// Policy etc. + /// The user friendly display name of the analysis. E.g. IAM, Organization + /// Policy etc. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, #[prost(oneof="move_analysis::Result", tags="2, 3")] @@ -2496,128 +2496,128 @@ pub struct MoveAnalysis { pub mod move_analysis { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// Analysis result of moving the target resource. + /// Analysis result of moving the target resource. #[prost(message, tag="2")] Analysis(super::MoveAnalysisResult), - /// Description of error encountered when performing the analysis. + /// Description of error encountered when performing the analysis. #[prost(message, tag="3")] Error(super::super::super::super::rpc::Status), } } -/// An analysis result including blockers and warnings. +/// An analysis result including blockers and warnings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveAnalysisResult { - /// Blocking information that would prevent the target resource from moving - /// to the specified destination at runtime. + /// Blocking information that would prevent the target resource from moving + /// to the specified destination at runtime. #[prost(message, repeated, tag="1")] pub blockers: ::prost::alloc::vec::Vec, - /// Warning information indicating that moving the target resource to the - /// specified destination might be unsafe. This can include important policy - /// information and configuration changes, but will not block moves at runtime. + /// Warning information indicating that moving the target resource to the + /// specified destination might be unsafe. This can include important policy + /// information and configuration changes, but will not block moves at runtime. #[prost(message, repeated, tag="2")] pub warnings: ::prost::alloc::vec::Vec, } -/// A message to group impacts of moving the target resource. +/// A message to group impacts of moving the target resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveImpact { - /// User friendly impact detail in a free form message. + /// User friendly impact detail in a free form message. #[prost(string, tag="1")] pub detail: ::prost::alloc::string::String, } -/// Output configuration query assets. +/// Output configuration query assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAssetsOutputConfig { - /// BigQuery destination where the query results will be saved. + /// BigQuery destination where the query results will be saved. #[prost(message, optional, tag="1")] pub bigquery_destination: ::core::option::Option, } /// Nested message and enum types in `QueryAssetsOutputConfig`. pub mod query_assets_output_config { - /// BigQuery destination. + /// BigQuery destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. The BigQuery dataset where the query results will be saved. It - /// has the format of "projects/{projectId}/datasets/{datasetId}". + /// Required. The BigQuery dataset where the query results will be saved. It + /// has the format of "projects/{projectId}/datasets/{datasetId}". #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. The BigQuery table where the query results will be saved. If - /// this table does not exist, a new table with the given name will be - /// created. + /// Required. The BigQuery table where the query results will be saved. If + /// this table does not exist, a new table with the given name will be + /// created. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, - /// Specifies the action that occurs if the destination table or partition - /// already exists. The following values are supported: + /// Specifies the action that occurs if the destination table or partition + /// already exists. The following values are supported: /// - /// * WRITE_TRUNCATE: If the table or partition already exists, BigQuery - /// overwrites the entire table or all the partitions data. - /// * WRITE_APPEND: If the table or partition already exists, BigQuery - /// appends the data to the table or the latest partition. - /// * WRITE_EMPTY: If the table already exists and contains data, an error is - /// returned. + /// * WRITE_TRUNCATE: If the table or partition already exists, BigQuery + /// overwrites the entire table or all the partitions data. + /// * WRITE_APPEND: If the table or partition already exists, BigQuery + /// appends the data to the table or the latest partition. + /// * WRITE_EMPTY: If the table already exists and contains data, an error is + /// returned. #[prost(string, tag="3")] pub write_disposition: ::prost::alloc::string::String, } } -/// QueryAssets request. +/// QueryAssets request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAssetsRequest { - /// Required. The relative name of the root asset. This can only be an - /// organization number (such as "organizations/123"), a project ID (such as - /// "projects/my-project-id"), or a project number (such as "projects/12345"), - /// or a folder number (such as "folders/123"). + /// Required. The relative name of the root asset. This can only be an + /// organization number (such as "organizations/123"), a project ID (such as + /// "projects/my-project-id"), or a project number (such as "projects/12345"), + /// or a folder number (such as "folders/123"). /// - /// Only assets belonging to the `parent` will be returned. + /// Only assets belonging to the `parent` will be returned. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of rows to return in the results. Responses - /// are limited to 10 MB and 1000 rows. + /// Optional. The maximum number of rows to return in the results. Responses + /// are limited to 10 MB and 1000 rows. /// - /// By default, the maximum row count is 1000. When the byte or row count limit - /// is reached, the rest of the query results will be paginated. + /// By default, the maximum row count is 1000. When the byte or row count limit + /// is reached, the rest of the query results will be paginated. /// - /// The field will be ignored when \[output_config\] is specified. + /// The field will be ignored when \[output_config\] is specified. #[prost(int32, tag="4")] pub page_size: i32, - /// Optional. A page token received from previous `QueryAssets`. + /// Optional. A page token received from previous `QueryAssets`. /// - /// The field will be ignored when \[output_config\] is specified. + /// The field will be ignored when \[output_config\] is specified. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, - /// Optional. Specifies the maximum amount of time that the client is willing - /// to wait for the query to complete. By default, this limit is 5 min for the - /// first query, and 1 minute for the following queries. If the query is - /// complete, the `done` field in the `QueryAssetsResponse` is true, otherwise - /// false. - /// - /// Like BigQuery [jobs.query - /// API]() - /// The call is not guaranteed to wait for the specified timeout; it typically - /// returns after around 200 seconds (200,000 milliseconds), even if the query - /// is not complete. - /// - /// The field will be ignored when \[output_config\] is specified. + /// Optional. Specifies the maximum amount of time that the client is willing + /// to wait for the query to complete. By default, this limit is 5 min for the + /// first query, and 1 minute for the following queries. If the query is + /// complete, the `done` field in the `QueryAssetsResponse` is true, otherwise + /// false. + /// + /// Like BigQuery [jobs.query + /// API]() + /// The call is not guaranteed to wait for the specified timeout; it typically + /// returns after around 200 seconds (200,000 milliseconds), even if the query + /// is not complete. + /// + /// The field will be ignored when \[output_config\] is specified. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// Optional. Destination where the query results will be saved. + /// Optional. Destination where the query results will be saved. /// - /// When this field is specified, the query results won't be saved in the - /// \[QueryAssetsResponse.query_result\]. Instead - /// \[QueryAssetsResponse.output_config\] will be set. + /// When this field is specified, the query results won't be saved in the + /// \[QueryAssetsResponse.query_result\]. Instead + /// \[QueryAssetsResponse.output_config\] will be set. /// - /// Meanwhile, \[QueryAssetsResponse.job_reference\] will be set and can be used - /// to check the status of the query job when passed to a following - /// \[QueryAssets\] API call. + /// Meanwhile, \[QueryAssetsResponse.job_reference\] will be set and can be used + /// to check the status of the query job when passed to a following + /// \[QueryAssets\] API call. #[prost(message, optional, tag="9")] pub output_config: ::core::option::Option, #[prost(oneof="query_assets_request::Query", tags="2, 3")] pub query: ::core::option::Option, - /// Specifies what time period or point in time to query asset metadata at. - /// * unset - query asset metadata as it is right now - /// * \[read_time_window\] - query asset metadata as it was at any point in time - /// between \[start_time\] and \[end_time\]. - /// * \[read_time\] - query asset metadata as it was at that point in time. - /// If data for the timestamp/date range selected does not exist, - /// it will simply return a valid response with no rows. + /// Specifies what time period or point in time to query asset metadata at. + /// * unset - query asset metadata as it is right now + /// * \[read_time_window\] - query asset metadata as it was at any point in time + /// between \[start_time\] and \[end_time\]. + /// * \[read_time\] - query asset metadata as it was at that point in time. + /// If data for the timestamp/date range selected does not exist, + /// it will simply return a valid response with no rows. #[prost(oneof="query_assets_request::Time", tags="7, 8")] pub time: ::core::option::Option, } @@ -2625,47 +2625,47 @@ pub struct QueryAssetsRequest { pub mod query_assets_request { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// Optional. A SQL statement that's compatible with [BigQuery Standard - /// SQL](). + /// Optional. A SQL statement that's compatible with [BigQuery Standard + /// SQL](). #[prost(string, tag="2")] Statement(::prost::alloc::string::String), - /// Optional. Reference to the query job, which is from the - /// `QueryAssetsResponse` of previous `QueryAssets` call. + /// Optional. Reference to the query job, which is from the + /// `QueryAssetsResponse` of previous `QueryAssets` call. #[prost(string, tag="3")] JobReference(::prost::alloc::string::String), } - /// Specifies what time period or point in time to query asset metadata at. - /// * unset - query asset metadata as it is right now - /// * \[read_time_window\] - query asset metadata as it was at any point in time - /// between \[start_time\] and \[end_time\]. - /// * \[read_time\] - query asset metadata as it was at that point in time. - /// If data for the timestamp/date range selected does not exist, - /// it will simply return a valid response with no rows. + /// Specifies what time period or point in time to query asset metadata at. + /// * unset - query asset metadata as it is right now + /// * \[read_time_window\] - query asset metadata as it was at any point in time + /// between \[start_time\] and \[end_time\]. + /// * \[read_time\] - query asset metadata as it was at that point in time. + /// If data for the timestamp/date range selected does not exist, + /// it will simply return a valid response with no rows. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Time { - /// Optional. \[start_time\] is required. \[start_time\] must be less than - /// \[end_time\] Defaults \[end_time\] to now if \[start_time\] is set and - /// \[end_time\] isn't. Maximum permitted time range is 7 days. + /// Optional. \[start_time\] is required. \[start_time\] must be less than + /// \[end_time\] Defaults \[end_time\] to now if \[start_time\] is set and + /// \[end_time\] isn't. Maximum permitted time range is 7 days. #[prost(message, tag="7")] ReadTimeWindow(super::TimeWindow), - /// Optional. Queries cloud assets as they appeared at the specified point in - /// time. + /// Optional. Queries cloud assets as they appeared at the specified point in + /// time. #[prost(message, tag="8")] ReadTime(::prost_types::Timestamp), } } -/// QueryAssets response. +/// QueryAssets response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryAssetsResponse { - /// Reference to a query job. + /// Reference to a query job. #[prost(string, tag="1")] pub job_reference: ::prost::alloc::string::String, - /// The query response, which can be either an `error` or a valid `response`. + /// The query response, which can be either an `error` or a valid `response`. /// - /// If `done` == `false` and the query result is being saved in a output, the - /// output_config field will be set. - /// If `done` == `true`, exactly one of - /// `error`, `query_result` or `output_config` will be set. + /// If `done` == `false` and the query result is being saved in a output, the + /// output_config field will be set. + /// If `done` == `true`, exactly one of + /// `error`, `query_result` or `output_config` will be set. #[prost(bool, tag="2")] pub done: bool, #[prost(oneof="query_assets_response::Response", tags="3, 4, 5")] @@ -2675,188 +2675,188 @@ pub struct QueryAssetsResponse { pub mod query_assets_response { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// Error status. + /// Error status. #[prost(message, tag="3")] Error(super::super::super::super::rpc::Status), - /// Result of the query. + /// Result of the query. #[prost(message, tag="4")] QueryResult(super::QueryResult), - /// Output configuration which indicates instead of being returned in API - /// response on the fly, the query result will be saved in a specific output. + /// Output configuration which indicates instead of being returned in API + /// response on the fly, the query result will be saved in a specific output. #[prost(message, tag="5")] OutputConfig(super::QueryAssetsOutputConfig), } } -/// Execution results of the query. +/// Execution results of the query. /// -/// The result is formatted as rows represented by BigQuery compatible \[schema\]. -/// When pagination is necessary, it will contains the page token to retrieve -/// the results of following pages. +/// The result is formatted as rows represented by BigQuery compatible \[schema\]. +/// When pagination is necessary, it will contains the page token to retrieve +/// the results of following pages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryResult { - /// Each row hold a query result in the format of `Struct`. + /// Each row hold a query result in the format of `Struct`. #[prost(message, repeated, tag="1")] pub rows: ::prost::alloc::vec::Vec<::prost_types::Struct>, - /// Describes the format of the \[rows\]. + /// Describes the format of the \[rows\]. #[prost(message, optional, tag="2")] pub schema: ::core::option::Option, - /// Token to retrieve the next page of the results. + /// Token to retrieve the next page of the results. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, - /// Total rows of the whole query results. + /// Total rows of the whole query results. #[prost(int64, tag="4")] pub total_rows: i64, } -/// BigQuery Compatible table schema. +/// BigQuery Compatible table schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSchema { - /// Describes the fields in a table. + /// Describes the fields in a table. #[prost(message, repeated, tag="1")] pub fields: ::prost::alloc::vec::Vec, } -/// A field in TableSchema. +/// A field in TableSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableFieldSchema { - /// The field name. The name must contain only letters (a-z, A-Z), - /// numbers (0-9), or underscores (_), and must start with a letter or - /// underscore. The maximum length is 128 characters. + /// The field name. The name must contain only letters (a-z, A-Z), + /// numbers (0-9), or underscores (_), and must start with a letter or + /// underscore. The maximum length is 128 characters. #[prost(string, tag="1")] pub field: ::prost::alloc::string::String, - /// The field data type. Possible values include - /// * STRING - /// * BYTES - /// * INTEGER - /// * FLOAT - /// * BOOLEAN - /// * TIMESTAMP - /// * DATE - /// * TIME - /// * DATETIME - /// * GEOGRAPHY, - /// * NUMERIC, - /// * BIGNUMERIC, - /// * RECORD - /// (where RECORD indicates that the field contains a nested schema). + /// The field data type. Possible values include + /// * STRING + /// * BYTES + /// * INTEGER + /// * FLOAT + /// * BOOLEAN + /// * TIMESTAMP + /// * DATE + /// * TIME + /// * DATETIME + /// * GEOGRAPHY, + /// * NUMERIC, + /// * BIGNUMERIC, + /// * RECORD + /// (where RECORD indicates that the field contains a nested schema). #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// The field mode. Possible values include NULLABLE, REQUIRED and - /// REPEATED. The default value is NULLABLE. + /// The field mode. Possible values include NULLABLE, REQUIRED and + /// REPEATED. The default value is NULLABLE. #[prost(string, tag="3")] pub mode: ::prost::alloc::string::String, - /// Describes the nested schema fields if the type property is set - /// to RECORD. + /// Describes the nested schema fields if the type property is set + /// to RECORD. #[prost(message, repeated, tag="4")] pub fields: ::prost::alloc::vec::Vec, } -/// A request message for -/// \[AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies\]. +/// A request message for +/// \[AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetEffectiveIamPoliciesRequest { - /// Required. Only IAM policies on or below the scope will be returned. + /// Required. Only IAM policies on or below the scope will be returned. /// - /// This can only be an organization number (such as "organizations/123"), a - /// folder number (such as "folders/123"), a project ID (such as - /// "projects/my-project-id"), or a project number (such as "projects/12345"). + /// This can only be an organization number (such as "organizations/123"), a + /// folder number (such as "folders/123"), a project ID (such as + /// "projects/my-project-id"), or a project number (such as "projects/12345"). /// - /// To know how to get organization id, visit [here - /// ](). + /// To know how to get organization id, visit [here + /// ](). /// - /// To know how to get folder or project id, visit [here - /// ](). + /// To know how to get folder or project id, visit [here + /// ](). #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Required. The names refer to the \[full_resource_names\] - /// () - /// of [searchable asset - /// types](). - /// A maximum of 20 resources' effective policies can be retrieved in a batch. + /// Required. The names refer to the \[full_resource_names\] + /// () + /// of [searchable asset + /// types](). + /// A maximum of 20 resources' effective policies can be retrieved in a batch. #[prost(string, repeated, tag="3")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A response message for -/// \[AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies\]. +/// A response message for +/// \[AssetService.BatchGetEffectiveIamPolicies][google.cloud.asset.v1.AssetService.BatchGetEffectiveIamPolicies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchGetEffectiveIamPoliciesResponse { - /// The effective policies for a batch of resources. Note that the results - /// order is the same as the order of - /// \[BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names\]. - /// When a resource does not have any effective IAM policies, its corresponding - /// policy_result will contain empty - /// \[EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies\]. + /// The effective policies for a batch of resources. Note that the results + /// order is the same as the order of + /// \[BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names\]. + /// When a resource does not have any effective IAM policies, its corresponding + /// policy_result will contain empty + /// \[EffectiveIamPolicy.policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies\]. #[prost(message, repeated, tag="2")] pub policy_results: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BatchGetEffectiveIamPoliciesResponse`. pub mod batch_get_effective_iam_policies_response { - /// The effective IAM policies on one resource. + /// The effective IAM policies on one resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EffectiveIamPolicy { - /// The \[full_resource_name\] - /// () - /// for which the - /// \[policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies\] - /// are computed. This is one of the - /// \[BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names\] - /// the caller provides in the request. + /// The \[full_resource_name\] + /// () + /// for which the + /// \[policies][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.policies\] + /// are computed. This is one of the + /// \[BatchGetEffectiveIamPoliciesRequest.names][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.names\] + /// the caller provides in the request. #[prost(string, tag="1")] pub full_resource_name: ::prost::alloc::string::String, - /// The effective policies for the - /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\]. + /// The effective policies for the + /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\]. /// - /// These policies include the policy set on the - /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\] - /// and those set on its parents and ancestors up to the - /// \[BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope\]. - /// Note that these policies are not filtered according to the resource type - /// of the - /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\]. + /// These policies include the policy set on the + /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\] + /// and those set on its parents and ancestors up to the + /// \[BatchGetEffectiveIamPoliciesRequest.scope][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesRequest.scope\]. + /// Note that these policies are not filtered according to the resource type + /// of the + /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\]. /// - /// These policies are hierarchically ordered by - /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\] - /// starting from - /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\] - /// itself to its parents and ancestors, such that policies\[i\]'s - /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\] - /// is the child of policies\[i+1\]'s - /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\], - /// if policies\[i+1\] exists. + /// These policies are hierarchically ordered by + /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\] + /// starting from + /// \[full_resource_name][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.full_resource_name\] + /// itself to its parents and ancestors, such that policies\[i\]'s + /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\] + /// is the child of policies\[i+1\]'s + /// \[PolicyInfo.attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\], + /// if policies\[i+1\] exists. #[prost(message, repeated, tag="2")] pub policies: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `EffectiveIamPolicy`. pub mod effective_iam_policy { - /// The IAM policy and its attached resource. + /// The IAM policy and its attached resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyInfo { - /// The full resource name the - /// \[policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy\] - /// is directly attached to. + /// The full resource name the + /// \[policy][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.policy\] + /// is directly attached to. #[prost(string, tag="1")] pub attached_resource: ::prost::alloc::string::String, - /// The IAM policy that's directly attached to the - /// \[attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\]. + /// The IAM policy that's directly attached to the + /// \[attached_resource][google.cloud.asset.v1.BatchGetEffectiveIamPoliciesResponse.EffectiveIamPolicy.PolicyInfo.attached_resource\]. #[prost(message, optional, tag="2")] pub policy: ::core::option::Option, } } } -/// Asset content type. +/// Asset content type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentType { - /// Unspecified content type. + /// Unspecified content type. Unspecified = 0, - /// Resource metadata. + /// Resource metadata. Resource = 1, - /// The actual IAM policy set on a resource. + /// The actual IAM policy set on a resource. IamPolicy = 2, - /// The Cloud Organization Policy set on an asset. + /// The Cloud Organization Policy set on an asset. OrgPolicy = 4, - /// The Cloud Access context manager Policy set on an asset. + /// The Cloud Access context manager Policy set on an asset. AccessPolicy = 5, - /// The runtime OS Inventory information. + /// The runtime OS Inventory information. OsInventory = 6, - /// The related resources. + /// The related resources. Relationship = 7, } impl ContentType { diff --git a/gcloud-sdk/genproto/google.cloud.asset.v1p1beta1.rs b/gcloud-sdk/genproto/google.cloud.asset.v1p1beta1.rs index 919e9e264..f2fe4d6cb 100644 --- a/gcloud-sdk/genproto/google.cloud.asset.v1p1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.asset.v1p1beta1.rs @@ -1,185 +1,185 @@ -/// The standard metadata of a cloud resource. +/// The standard metadata of a cloud resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardResourceMetadata { - /// The full resource name. For example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Resource - /// Names]() - /// for more information. + /// The full resource name. For example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Resource + /// Names]() + /// for more information. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of this resource. - /// For example: "compute.googleapis.com/Disk". + /// The type of this resource. + /// For example: "compute.googleapis.com/Disk". #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// The project that this resource belongs to, in the form of - /// `projects/{project_number}`. + /// The project that this resource belongs to, in the form of + /// `projects/{project_number}`. #[prost(string, tag="3")] pub project: ::prost::alloc::string::String, - /// The display name of this resource. + /// The display name of this resource. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// One or more paragraphs of text description of this resource. Maximum length - /// could be up to 1M bytes. + /// One or more paragraphs of text description of this resource. Maximum length + /// could be up to 1M bytes. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Additional searchable attributes of this resource. - /// Informational only. The exact set of attributes is subject to change. - /// For example: project id, DNS name etc. + /// Additional searchable attributes of this resource. + /// Informational only. The exact set of attributes is subject to change. + /// For example: project id, DNS name etc. #[prost(string, repeated, tag="10")] pub additional_attributes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Location can be "global", regional like "us-east1", or zonal like - /// "us-west1-b". + /// Location can be "global", regional like "us-east1", or zonal like + /// "us-west1-b". #[prost(string, tag="11")] pub location: ::prost::alloc::string::String, - /// Labels associated with this resource. See [Labelling and grouping GCP - /// resources]() - /// for more information. + /// Labels associated with this resource. See [Labelling and grouping GCP + /// resources]() + /// for more information. #[prost(map="string, string", tag="12")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Network tags associated with this resource. Like labels, network tags are a - /// type of annotations used to group GCP resources. See [Labelling GCP - /// resources](l) - /// for more information. + /// Network tags associated with this resource. Like labels, network tags are a + /// type of annotations used to group GCP resources. See [Labelling GCP + /// resources](l) + /// for more information. #[prost(string, repeated, tag="13")] pub network_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The result for a IAM Policy search. +/// The result for a IAM Policy search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicySearchResult { - /// The [full resource - /// name]() - /// of the resource associated with this IAM policy. + /// The [full resource + /// name]() + /// of the resource associated with this IAM policy. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The project that the associated GCP resource belongs to, in the form of - /// `projects/{project_number}`. If an IAM policy is set on a resource (like VM - /// instance, Cloud Storage bucket), the project field will indicate the - /// project that contains the resource. If an IAM policy is set on a folder or - /// orgnization, the project field will be empty. + /// The project that the associated GCP resource belongs to, in the form of + /// `projects/{project_number}`. If an IAM policy is set on a resource (like VM + /// instance, Cloud Storage bucket), the project field will indicate the + /// project that contains the resource. If an IAM policy is set on a folder or + /// orgnization, the project field will be empty. #[prost(string, tag="3")] pub project: ::prost::alloc::string::String, - /// The IAM policy directly set on the given resource. Note that the original - /// IAM policy can contain multiple bindings. This only contains the bindings - /// that match the given query. For queries that don't contain a constrain on - /// policies (e.g. an empty query), this contains all the bindings. + /// The IAM policy directly set on the given resource. Note that the original + /// IAM policy can contain multiple bindings. This only contains the bindings + /// that match the given query. For queries that don't contain a constrain on + /// policies (e.g. an empty query), this contains all the bindings. #[prost(message, optional, tag="4")] pub policy: ::core::option::Option, - /// Explanation about the IAM policy search result. It contains additional - /// information to explain why the search result matches the query. + /// Explanation about the IAM policy search result. It contains additional + /// information to explain why the search result matches the query. #[prost(message, optional, tag="5")] pub explanation: ::core::option::Option, } /// Nested message and enum types in `IamPolicySearchResult`. pub mod iam_policy_search_result { - /// Explanation about the IAM policy search result. + /// Explanation about the IAM policy search result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explanation { - /// The map from roles to their included permission matching the permission - /// query (e.g. containing `policy.role.permissions:`). A sample role string: - /// "roles/compute.instanceAdmin". The roles can also be found in the - /// returned `policy` bindings. Note that the map is populated only if - /// requesting with a permission query. + /// The map from roles to their included permission matching the permission + /// query (e.g. containing `policy.role.permissions:`). A sample role string: + /// "roles/compute.instanceAdmin". The roles can also be found in the + /// returned `policy` bindings. Note that the map is populated only if + /// requesting with a permission query. #[prost(map="string, message", tag="1")] pub matched_permissions: ::std::collections::HashMap<::prost::alloc::string::String, super::Permissions>, } } -/// IAM permissions +/// IAM permissions #[derive(Clone, PartialEq, ::prost::Message)] pub struct Permissions { - /// A list of permissions. A sample permission string: "compute.disk.get". + /// A list of permissions. A sample permission string: "compute.disk.get". #[prost(string, repeated, tag="1")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Search all resources request. +/// Search all resources request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllResourcesRequest { - /// Required. The relative name of an asset. The search is limited to the resources - /// within the `scope`. The allowed value must be: - /// * Organization number (such as "organizations/123") - /// * Folder number(such as "folders/1234") - /// * Project number (such as "projects/12345") - /// * Project id (such as "projects/abc") + /// Required. The relative name of an asset. The search is limited to the resources + /// within the `scope`. The allowed value must be: + /// * Organization number (such as "organizations/123") + /// * Folder number(such as "folders/1234") + /// * Project number (such as "projects/12345") + /// * Project id (such as "projects/abc") #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Optional. The query statement. + /// Optional. The query statement. #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Optional. A list of asset types that this request searches for. If empty, it will - /// search all the supported asset types. + /// Optional. A list of asset types that this request searches for. If empty, it will + /// search all the supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The page size for search result pagination. Page size is capped at 500 even - /// if a larger value is given. If set to zero, server will pick an appropriate - /// default. Returned results may be fewer than requested. When this happens, - /// there could be more results as long as `next_page_token` is returned. + /// Optional. The page size for search result pagination. Page size is capped at 500 even + /// if a larger value is given. If set to zero, server will pick an appropriate + /// default. Returned results may be fewer than requested. When this happens, + /// there could be more results as long as `next_page_token` is returned. #[prost(int32, tag="4")] pub page_size: i32, - /// Optional. If present, then retrieve the next batch of results from the preceding call - /// to this method. `page_token` must be the value of `next_page_token` from - /// the previous response. The values of all other method parameters, must be - /// identical to those in the previous call. + /// Optional. If present, then retrieve the next batch of results from the preceding call + /// to this method. `page_token` must be the value of `next_page_token` from + /// the previous response. The values of all other method parameters, must be + /// identical to those in the previous call. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, - /// Optional. A comma separated list of fields specifying the sorting order of the - /// results. The default order is ascending. Add " desc" after the field name - /// to indicate descending order. Redundant space characters are ignored. For - /// example, " foo , bar desc ". + /// Optional. A comma separated list of fields specifying the sorting order of the + /// results. The default order is ascending. Add " desc" after the field name + /// to indicate descending order. Redundant space characters are ignored. For + /// example, " foo , bar desc ". #[prost(string, tag="10")] pub order_by: ::prost::alloc::string::String, } -/// Search all resources response. +/// Search all resources response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllResourcesResponse { - /// A list of resource that match the search query. + /// A list of resource that match the search query. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// If there are more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there are more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Search all IAM policies request. +/// Search all IAM policies request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllIamPoliciesRequest { - /// Required. The relative name of an asset. The search is limited to the resources - /// within the `scope`. The allowed value must be: - /// * Organization number (such as "organizations/123") - /// * Folder number(such as "folders/1234") - /// * Project number (such as "projects/12345") - /// * Project id (such as "projects/abc") + /// Required. The relative name of an asset. The search is limited to the resources + /// within the `scope`. The allowed value must be: + /// * Organization number (such as "organizations/123") + /// * Folder number(such as "folders/1234") + /// * Project number (such as "projects/12345") + /// * Project id (such as "projects/abc") #[prost(string, tag="1")] pub scope: ::prost::alloc::string::String, - /// Optional. The query statement. - /// Examples: - /// * "policy:myuser@mydomain.com" - /// * "policy:(myuser@mydomain.com viewer)" + /// Optional. The query statement. + /// Examples: + /// * "policy:myuser@mydomain.com" + /// * "policy:(myuser@mydomain.com viewer)" #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// Optional. The page size for search result pagination. Page size is capped at 500 even - /// if a larger value is given. If set to zero, server will pick an appropriate - /// default. Returned results may be fewer than requested. When this happens, - /// there could be more results as long as `next_page_token` is returned. + /// Optional. The page size for search result pagination. Page size is capped at 500 even + /// if a larger value is given. If set to zero, server will pick an appropriate + /// default. Returned results may be fewer than requested. When this happens, + /// there could be more results as long as `next_page_token` is returned. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. If present, retrieve the next batch of results from the preceding call to - /// this method. `page_token` must be the value of `next_page_token` from the - /// previous response. The values of all other method parameters must be - /// identical to those in the previous call. + /// Optional. If present, retrieve the next batch of results from the preceding call to + /// this method. `page_token` must be the value of `next_page_token` from the + /// previous response. The values of all other method parameters must be + /// identical to those in the previous call. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Search all IAM policies response. +/// Search all IAM policies response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllIamPoliciesResponse { - /// A list of IamPolicy that match the search query. Related information such - /// as the associated resource is returned along with the policy. + /// A list of IamPolicy that match the search query. Related information such + /// as the associated resource is returned along with the policy. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Set if there are more results than those appearing in this response; to get - /// the next set of results, call this method again, using this value as the - /// `page_token`. + /// Set if there are more results than those appearing in this response; to get + /// the next set of results, call this method again, using this value as the + /// `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.asset.v1p2beta1.rs b/gcloud-sdk/genproto/google.cloud.asset.v1p2beta1.rs index b1915d0d4..4a8f66c3e 100644 --- a/gcloud-sdk/genproto/google.cloud.asset.v1p2beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.asset.v1p2beta1.rs @@ -1,289 +1,289 @@ -/// Temporal asset. In addition to the asset, the temporal asset includes the -/// status of the asset and valid from and to time of it. +/// Temporal asset. In addition to the asset, the temporal asset includes the +/// status of the asset and valid from and to time of it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TemporalAsset { - /// The time window when the asset data and state was observed. + /// The time window when the asset data and state was observed. #[prost(message, optional, tag="1")] pub window: ::core::option::Option, - /// If the asset is deleted or not. + /// If the asset is deleted or not. #[prost(bool, tag="2")] pub deleted: bool, - /// Asset. + /// Asset. #[prost(message, optional, tag="3")] pub asset: ::core::option::Option, } -/// A time window of (start_time, end_time]. +/// A time window of (start_time, end_time]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeWindow { - /// Start time of the time window (exclusive). + /// Start time of the time window (exclusive). #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of the time window (inclusive). - /// Current timestamp if not specified. + /// End time of the time window (inclusive). + /// Current timestamp if not specified. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Cloud asset. This includes all Google Cloud Platform resources, -/// Cloud IAM policies, and other non-GCP assets. +/// Cloud asset. This includes all Google Cloud Platform resources, +/// Cloud IAM policies, and other non-GCP assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// The full name of the asset. For example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Resource - /// Names]() - /// for more information. + /// The full name of the asset. For example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Resource + /// Names]() + /// for more information. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Type of the asset. Example: "compute.googleapis.com/Disk". + /// Type of the asset. Example: "compute.googleapis.com/Disk". #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// Representation of the resource. + /// Representation of the resource. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option, - /// Representation of the actual Cloud IAM policy set on a cloud resource. For - /// each resource, there must be at most one Cloud IAM policy set on it. + /// Representation of the actual Cloud IAM policy set on a cloud resource. For + /// each resource, there must be at most one Cloud IAM policy set on it. #[prost(message, optional, tag="4")] pub iam_policy: ::core::option::Option, - /// Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, - /// represented as a list of relative resource names. Ancestry path starts with - /// the closest CRM ancestor and ends at root. If the asset is a CRM - /// project/folder/organization, this starts from the asset itself. + /// Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, + /// represented as a list of relative resource names. Ancestry path starts with + /// the closest CRM ancestor and ends at root. If the asset is a CRM + /// project/folder/organization, this starts from the asset itself. /// - /// Example: ["projects/123456789", "folders/5432", "organizations/1234"] + /// Example: ["projects/123456789", "folders/5432", "organizations/1234"] #[prost(string, repeated, tag="6")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Representation of a cloud resource. +/// Representation of a cloud resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// The API version. Example: "v1". + /// The API version. Example: "v1". #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// The URL of the discovery document containing the resource's JSON schema. - /// For example: - /// `" - /// It will be left unspecified for resources without a discovery-based API, - /// such as Cloud Bigtable. + /// The URL of the discovery document containing the resource's JSON schema. + /// For example: + /// `" + /// It will be left unspecified for resources without a discovery-based API, + /// such as Cloud Bigtable. #[prost(string, tag="2")] pub discovery_document_uri: ::prost::alloc::string::String, - /// The JSON schema name listed in the discovery document. - /// Example: "Project". It will be left unspecified for resources (such as - /// Cloud Bigtable) without a discovery-based API. + /// The JSON schema name listed in the discovery document. + /// Example: "Project". It will be left unspecified for resources (such as + /// Cloud Bigtable) without a discovery-based API. #[prost(string, tag="3")] pub discovery_name: ::prost::alloc::string::String, - /// The REST URL for accessing the resource. An HTTP GET operation using this - /// URL returns the resource itself. - /// Example: - /// ` - /// It will be left unspecified for resources without a REST API. + /// The REST URL for accessing the resource. An HTTP GET operation using this + /// URL returns the resource itself. + /// Example: + /// ` + /// It will be left unspecified for resources without a REST API. #[prost(string, tag="4")] pub resource_url: ::prost::alloc::string::String, - /// The full name of the immediate parent of this resource. See - /// [Resource - /// Names]() - /// for more information. + /// The full name of the immediate parent of this resource. See + /// [Resource + /// Names]() + /// for more information. /// - /// For GCP assets, it is the parent resource defined in the [Cloud IAM policy - /// hierarchy](). - /// For example: - /// `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. + /// For GCP assets, it is the parent resource defined in the [Cloud IAM policy + /// hierarchy](). + /// For example: + /// `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. /// - /// For third-party assets, it is up to the users to define. + /// For third-party assets, it is up to the users to define. #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The content of the resource, in which some sensitive fields are scrubbed - /// away and may not be present. + /// The content of the resource, in which some sensitive fields are scrubbed + /// away and may not be present. #[prost(message, optional, tag="6")] pub data: ::core::option::Option<::prost_types::Struct>, } -/// Create asset feed request. +/// Create asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFeedRequest { - /// Required. The name of the project/folder/organization where this feed - /// should be created in. It can only be an organization number (such as - /// "organizations/123"), a folder number (such as "folders/123"), a project ID - /// (such as "projects/my-project-id")", or a project number (such as - /// "projects/12345"). + /// Required. The name of the project/folder/organization where this feed + /// should be created in. It can only be an organization number (such as + /// "organizations/123"), a folder number (such as "folders/123"), a project ID + /// (such as "projects/my-project-id")", or a project number (such as + /// "projects/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. This is the client-assigned asset feed identifier and it needs to - /// be unique under a specific parent project/folder/organization. + /// Required. This is the client-assigned asset feed identifier and it needs to + /// be unique under a specific parent project/folder/organization. #[prost(string, tag="2")] pub feed_id: ::prost::alloc::string::String, - /// Required. The feed details. The field `name` must be empty and it will be generated - /// in the format of: - /// projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The feed details. The field `name` must be empty and it will be generated + /// in the format of: + /// projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(message, optional, tag="3")] pub feed: ::core::option::Option, } -/// Get asset feed request. +/// Get asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFeedRequest { - /// Required. The name of the Feed and it must be in the format of: - /// projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The name of the Feed and it must be in the format of: + /// projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List asset feeds request. +/// List asset feeds request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeedsRequest { - /// Required. The parent project/folder/organization whose feeds are to be - /// listed. It can only be using project/folder/organization number (such as - /// "folders/12345")", or a project ID (such as "projects/my-project-id"). + /// Required. The parent project/folder/organization whose feeds are to be + /// listed. It can only be using project/folder/organization number (such as + /// "folders/12345")", or a project ID (such as "projects/my-project-id"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFeedsResponse { - /// A list of feeds. + /// A list of feeds. #[prost(message, repeated, tag="1")] pub feeds: ::prost::alloc::vec::Vec, } -/// Update asset feed request. +/// Update asset feed request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFeedRequest { - /// Required. The new values of feed details. It must match an existing feed and the - /// field `name` must be in the format of: - /// projects/project_number/feeds/feed_id or - /// folders/folder_number/feeds/feed_id or - /// organizations/organization_number/feeds/feed_id. + /// Required. The new values of feed details. It must match an existing feed and the + /// field `name` must be in the format of: + /// projects/project_number/feeds/feed_id or + /// folders/folder_number/feeds/feed_id or + /// organizations/organization_number/feeds/feed_id. #[prost(message, optional, tag="1")] pub feed: ::core::option::Option, - /// Required. Only updates the `feed` fields indicated by this mask. - /// The field mask must not be empty, and it must not contain fields that - /// are immutable or only set by the server. + /// Required. Only updates the `feed` fields indicated by this mask. + /// The field mask must not be empty, and it must not contain fields that + /// are immutable or only set by the server. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFeedRequest { - /// Required. The name of the feed and it must be in the format of: - /// projects/project_number/feeds/feed_id - /// folders/folder_number/feeds/feed_id - /// organizations/organization_number/feeds/feed_id + /// Required. The name of the feed and it must be in the format of: + /// projects/project_number/feeds/feed_id + /// folders/folder_number/feeds/feed_id + /// organizations/organization_number/feeds/feed_id #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Output configuration for export assets destination. +/// Output configuration for export assets destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Asset export destination. + /// Asset export destination. #[prost(oneof="output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Asset export destination. + /// Asset export destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Cloud Storage. + /// Destination on Cloud Storage. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), } } -/// A Cloud Storage location. +/// A Cloud Storage location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. + /// Required. #[prost(oneof="gcs_destination::ObjectUri", tags="1")] pub object_uri: ::core::option::Option, } /// Nested message and enum types in `GcsDestination`. pub mod gcs_destination { - /// Required. + /// Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ObjectUri { - /// The uri of the Cloud Storage object. It's the same uri that is used by - /// gsutil. For example: "gs://bucket_name/object_name". See [Viewing and - /// Editing Object - /// Metadata]() - /// for more information. + /// The uri of the Cloud Storage object. It's the same uri that is used by + /// gsutil. For example: "gs://bucket_name/object_name". See [Viewing and + /// Editing Object + /// Metadata]() + /// for more information. #[prost(string, tag="1")] Uri(::prost::alloc::string::String), } } -/// A Cloud Pubsub destination. +/// A Cloud Pubsub destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PubsubDestination { - /// The name of the Cloud Pub/Sub topic to publish to. - /// For example: `projects/PROJECT_ID/topics/TOPIC_ID`. + /// The name of the Cloud Pub/Sub topic to publish to. + /// For example: `projects/PROJECT_ID/topics/TOPIC_ID`. #[prost(string, tag="1")] pub topic: ::prost::alloc::string::String, } -/// Output configuration for asset feed destination. +/// Output configuration for asset feed destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeedOutputConfig { - /// Asset feed destination. + /// Asset feed destination. #[prost(oneof="feed_output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `FeedOutputConfig`. pub mod feed_output_config { - /// Asset feed destination. + /// Asset feed destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Cloud Pubsub. + /// Destination on Cloud Pubsub. #[prost(message, tag="1")] PubsubDestination(super::PubsubDestination), } } -/// An asset feed used to export asset updates to a destinations. -/// An asset feed filter controls what updates are exported. -/// The asset feed must be created within a project, organization, or -/// folder. Supported destinations are: -/// Cloud Pub/Sub topics. +/// An asset feed used to export asset updates to a destinations. +/// An asset feed filter controls what updates are exported. +/// The asset feed must be created within a project, organization, or +/// folder. Supported destinations are: +/// Cloud Pub/Sub topics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Feed { - /// Required. The format will be - /// projects/{project_number}/feeds/{client-assigned_feed_identifier} or - /// folders/{folder_number}/feeds/{client-assigned_feed_identifier} or - /// organizations/{organization_number}/feeds/{client-assigned_feed_identifier} + /// Required. The format will be + /// projects/{project_number}/feeds/{client-assigned_feed_identifier} or + /// folders/{folder_number}/feeds/{client-assigned_feed_identifier} or + /// organizations/{organization_number}/feeds/{client-assigned_feed_identifier} /// - /// The client-assigned feed identifier must be unique within the parent - /// project/folder/organization. + /// The client-assigned feed identifier must be unique within the parent + /// project/folder/organization. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A list of the full names of the assets to receive updates. You must specify - /// either or both of asset_names and asset_types. Only asset updates matching - /// specified asset_names and asset_types are exported to the feed. For - /// example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Resource - /// Names]() - /// for more info. + /// A list of the full names of the assets to receive updates. You must specify + /// either or both of asset_names and asset_types. Only asset updates matching + /// specified asset_names and asset_types are exported to the feed. For + /// example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Resource + /// Names]() + /// for more info. #[prost(string, repeated, tag="2")] pub asset_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of types of the assets to receive updates. You must specify either - /// or both of asset_names and asset_types. Only asset updates matching - /// specified asset_names and asset_types are exported to the feed. - /// For example: - /// "compute.googleapis.com/Disk" See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types. + /// A list of types of the assets to receive updates. You must specify either + /// or both of asset_names and asset_types. Only asset updates matching + /// specified asset_names and asset_types are exported to the feed. + /// For example: + /// "compute.googleapis.com/Disk" See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name and - /// type will be returned. + /// Asset content type. If not specified, no content but the asset name and + /// type will be returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// Required. Feed output configuration defining where the asset updates are - /// published to. + /// Required. Feed output configuration defining where the asset updates are + /// published to. #[prost(message, optional, tag="5")] pub feed_output_config: ::core::option::Option, } -/// Asset content type. +/// Asset content type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentType { - /// Unspecified content type. + /// Unspecified content type. Unspecified = 0, - /// Resource metadata. + /// Resource metadata. Resource = 1, - /// The actual IAM policy set on a resource. + /// The actual IAM policy set on a resource. IamPolicy = 2, } impl ContentType { diff --git a/gcloud-sdk/genproto/google.cloud.asset.v1p5beta1.rs b/gcloud-sdk/genproto/google.cloud.asset.v1p5beta1.rs index 347832153..920fec43c 100644 --- a/gcloud-sdk/genproto/google.cloud.asset.v1p5beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.asset.v1p5beta1.rs @@ -1,44 +1,44 @@ -/// Cloud asset. This includes all Google Cloud Platform resources, -/// Cloud IAM policies, and other non-GCP assets. +/// Cloud asset. This includes all Google Cloud Platform resources, +/// Cloud IAM policies, and other non-GCP assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// The full name of the asset. For example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. - /// See [Resource - /// Names]() - /// for more information. + /// The full name of the asset. For example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1`. + /// See [Resource + /// Names]() + /// for more information. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Type of the asset. Example: "compute.googleapis.com/Disk". + /// Type of the asset. Example: "compute.googleapis.com/Disk". #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// Representation of the resource. + /// Representation of the resource. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option, - /// Representation of the actual Cloud IAM policy set on a cloud resource. For - /// each resource, there must be at most one Cloud IAM policy set on it. + /// Representation of the actual Cloud IAM policy set on a cloud resource. For + /// each resource, there must be at most one Cloud IAM policy set on it. #[prost(message, optional, tag="4")] pub iam_policy: ::core::option::Option, - /// Representation of the Cloud Organization Policy set on an asset. For each - /// asset, there could be multiple Organization policies with different - /// constraints. + /// Representation of the Cloud Organization Policy set on an asset. For each + /// asset, there could be multiple Organization policies with different + /// constraints. #[prost(message, repeated, tag="6")] pub org_policy: ::prost::alloc::vec::Vec, - /// Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, - /// represented as a list of relative resource names. Ancestry path starts with - /// the closest CRM ancestor and ends at root. If the asset is a CRM - /// project/folder/organization, this starts from the asset itself. + /// Asset's ancestry path in Cloud Resource Manager (CRM) hierarchy, + /// represented as a list of relative resource names. Ancestry path starts with + /// the closest CRM ancestor and ends at root. If the asset is a CRM + /// project/folder/organization, this starts from the asset itself. /// - /// Example: ["projects/123456789", "folders/5432", "organizations/1234"] + /// Example: ["projects/123456789", "folders/5432", "organizations/1234"] #[prost(string, repeated, tag="10")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Representation of the Cloud Organization access policy. + /// Representation of the Cloud Organization access policy. #[prost(oneof="asset::AccessContextPolicy", tags="7, 8, 9")] pub access_context_policy: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// Representation of the Cloud Organization access policy. + /// Representation of the Cloud Organization access policy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AccessContextPolicy { #[prost(message, tag="7")] @@ -49,113 +49,113 @@ pub mod asset { ServicePerimeter(super::super::super::super::identity::accesscontextmanager::v1::ServicePerimeter), } } -/// Representation of a cloud resource. +/// Representation of a cloud resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// The API version. Example: "v1". + /// The API version. Example: "v1". #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// The URL of the discovery document containing the resource's JSON schema. - /// For example: - /// `" - /// It will be left unspecified for resources without a discovery-based API, - /// such as Cloud Bigtable. + /// The URL of the discovery document containing the resource's JSON schema. + /// For example: + /// `" + /// It will be left unspecified for resources without a discovery-based API, + /// such as Cloud Bigtable. #[prost(string, tag="2")] pub discovery_document_uri: ::prost::alloc::string::String, - /// The JSON schema name listed in the discovery document. - /// Example: "Project". It will be left unspecified for resources (such as - /// Cloud Bigtable) without a discovery-based API. + /// The JSON schema name listed in the discovery document. + /// Example: "Project". It will be left unspecified for resources (such as + /// Cloud Bigtable) without a discovery-based API. #[prost(string, tag="3")] pub discovery_name: ::prost::alloc::string::String, - /// The REST URL for accessing the resource. An HTTP GET operation using this - /// URL returns the resource itself. - /// Example: - /// ` - /// It will be left unspecified for resources without a REST API. + /// The REST URL for accessing the resource. An HTTP GET operation using this + /// URL returns the resource itself. + /// Example: + /// ` + /// It will be left unspecified for resources without a REST API. #[prost(string, tag="4")] pub resource_url: ::prost::alloc::string::String, - /// The full name of the immediate parent of this resource. See - /// [Resource - /// Names]() - /// for more information. + /// The full name of the immediate parent of this resource. See + /// [Resource + /// Names]() + /// for more information. /// - /// For GCP assets, it is the parent resource defined in the [Cloud IAM policy - /// hierarchy](). - /// For example: - /// `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. + /// For GCP assets, it is the parent resource defined in the [Cloud IAM policy + /// hierarchy](). + /// For example: + /// `"//cloudresourcemanager.googleapis.com/projects/my_project_123"`. /// - /// For third-party assets, it is up to the users to define. + /// For third-party assets, it is up to the users to define. #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The content of the resource, in which some sensitive fields are scrubbed - /// away and may not be present. + /// The content of the resource, in which some sensitive fields are scrubbed + /// away and may not be present. #[prost(message, optional, tag="6")] pub data: ::core::option::Option<::prost_types::Struct>, } -/// ListAssets request. +/// ListAssets request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsRequest { - /// Required. Name of the organization or project the assets belong to. Format: - /// "organizations/\[organization-number\]" (such as "organizations/123"), - /// "projects/\[project-number\]" (such as "projects/my-project-id"), or - /// "projects/\[project-id\]" (such as "projects/12345"). + /// Required. Name of the organization or project the assets belong to. Format: + /// "organizations/\[organization-number\]" (such as "organizations/123"), + /// "projects/\[project-number\]" (such as "projects/my-project-id"), or + /// "projects/\[project-id\]" (such as "projects/12345"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Timestamp to take an asset snapshot. This can only be set to a timestamp - /// between 2018-10-02 UTC (inclusive) and the current time. If not specified, - /// the current time will be used. Due to delays in resource data collection - /// and indexing, there is a volatile window during which running the same - /// query may get different results. + /// Timestamp to take an asset snapshot. This can only be set to a timestamp + /// between 2018-10-02 UTC (inclusive) and the current time. If not specified, + /// the current time will be used. Due to delays in resource data collection + /// and indexing, there is a volatile window during which running the same + /// query may get different results. #[prost(message, optional, tag="2")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// A list of asset types of which to take a snapshot for. For example: - /// "compute.googleapis.com/Disk". If specified, only matching assets will be - /// returned. See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types. + /// A list of asset types of which to take a snapshot for. For example: + /// "compute.googleapis.com/Disk". If specified, only matching assets will be + /// returned. See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name will - /// be returned. + /// Asset content type. If not specified, no content but the asset name will + /// be returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// The maximum number of assets to be returned in a single response. Default - /// is 100, minimum is 1, and maximum is 1000. + /// The maximum number of assets to be returned in a single response. Default + /// is 100, minimum is 1, and maximum is 1000. #[prost(int32, tag="5")] pub page_size: i32, - /// The `next_page_token` returned from the previous `ListAssetsResponse`, or - /// unspecified for the first `ListAssetsRequest`. It is a continuation of a - /// prior `ListAssets` call, and the API should return the next page of assets. + /// The `next_page_token` returned from the previous `ListAssetsResponse`, or + /// unspecified for the first `ListAssetsRequest`. It is a continuation of a + /// prior `ListAssets` call, and the API should return the next page of assets. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// ListAssets response. +/// ListAssets response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsResponse { - /// Time the snapshot was taken. + /// Time the snapshot was taken. #[prost(message, optional, tag="1")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// Assets. + /// Assets. #[prost(message, repeated, tag="2")] pub assets: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results. Set to empty if there are no - /// remaining results. + /// Token to retrieve the next page of results. Set to empty if there are no + /// remaining results. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } -/// Asset content type. +/// Asset content type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentType { - /// Unspecified content type. + /// Unspecified content type. Unspecified = 0, - /// Resource metadata. + /// Resource metadata. Resource = 1, - /// The actual IAM policy set on a resource. + /// The actual IAM policy set on a resource. IamPolicy = 2, - /// The Cloud Organization Policy set on an asset. + /// The Cloud Organization Policy set on an asset. OrgPolicy = 4, - /// The Cloud Access context mananger Policy set on an asset. + /// The Cloud Access context mananger Policy set on an asset. AccessPolicy = 5, } impl ContentType { diff --git a/gcloud-sdk/genproto/google.cloud.asset.v1p7beta1.rs b/gcloud-sdk/genproto/google.cloud.asset.v1p7beta1.rs index 7bbc1225f..e1882c591 100644 --- a/gcloud-sdk/genproto/google.cloud.asset.v1p7beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.asset.v1p7beta1.rs @@ -1,460 +1,460 @@ -// The Cloud Asset API. +// The Cloud Asset API. -/// An asset in Google Cloud. An asset can be any resource in the Google Cloud -/// [resource -/// hierarchy](), -/// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). -/// See [Supported asset -/// types]() -/// for more information. +/// An asset in Google Cloud. An asset can be any resource in the Google Cloud +/// [resource +/// hierarchy](), +/// a resource outside the Google Cloud resource hierarchy (such as Google +/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). +/// See [Supported asset +/// types]() +/// for more information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// The last update timestamp of an asset. update_time is updated when - /// create/update/delete operation is performed. + /// The last update timestamp of an asset. update_time is updated when + /// create/update/delete operation is performed. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The full name of the asset. Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + /// The full name of the asset. Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` /// - /// See [Resource - /// names]() - /// for more information. + /// See [Resource + /// names]() + /// for more information. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The type of the asset. Example: `compute.googleapis.com/Disk` + /// The type of the asset. Example: `compute.googleapis.com/Disk` /// - /// See [Supported asset - /// types]() - /// for more information. + /// See [Supported asset + /// types]() + /// for more information. #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// A representation of the resource. + /// A representation of the resource. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option, - /// A representation of the Cloud IAM policy set on a Google Cloud resource. - /// There can be a maximum of one Cloud IAM policy set on any given resource. - /// In addition, Cloud IAM policies inherit their granted access scope from any - /// policies set on parent resources in the resource hierarchy. Therefore, the - /// effectively policy is the union of both the policy set on this resource - /// and each policy set on all of the resource's ancestry resource levels in - /// the hierarchy. See - /// [this topic]() for - /// more information. + /// A representation of the Cloud IAM policy set on a Google Cloud resource. + /// There can be a maximum of one Cloud IAM policy set on any given resource. + /// In addition, Cloud IAM policies inherit their granted access scope from any + /// policies set on parent resources in the resource hierarchy. Therefore, the + /// effectively policy is the union of both the policy set on this resource + /// and each policy set on all of the resource's ancestry resource levels in + /// the hierarchy. See + /// [this topic]() for + /// more information. #[prost(message, optional, tag="4")] pub iam_policy: ::core::option::Option, - /// A representation of an [organization - /// policy](). - /// There can be more than one organization policy with different constraints - /// set on a given resource. + /// A representation of an [organization + /// policy](). + /// There can be more than one organization policy with different constraints + /// set on a given resource. #[prost(message, repeated, tag="6")] pub org_policy: ::prost::alloc::vec::Vec, - /// The related assets of the asset of one relationship type. - /// One asset only represents one type of relationship. + /// The related assets of the asset of one relationship type. + /// One asset only represents one type of relationship. #[prost(message, optional, tag="13")] pub related_assets: ::core::option::Option, - /// The ancestry path of an asset in Google Cloud [resource - /// hierarchy](), - /// represented as a list of relative resource names. An ancestry path starts - /// with the closest ancestor in the hierarchy and ends at root. If the asset - /// is a project, folder, or organization, the ancestry path starts from the - /// asset itself. + /// The ancestry path of an asset in Google Cloud [resource + /// hierarchy](), + /// represented as a list of relative resource names. An ancestry path starts + /// with the closest ancestor in the hierarchy and ends at root. If the asset + /// is a project, folder, or organization, the ancestry path starts from the + /// asset itself. /// - /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` + /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` #[prost(string, repeated, tag="10")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A representation of an [access - /// policy](). + /// A representation of an [access + /// policy](). #[prost(oneof="asset::AccessContextPolicy", tags="7, 8, 9")] pub access_context_policy: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// A representation of an [access - /// policy](). + /// A representation of an [access + /// policy](). #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AccessContextPolicy { - /// Please also refer to the [access policy user - /// guide](). + /// Please also refer to the [access policy user + /// guide](). #[prost(message, tag="7")] AccessPolicy(super::super::super::super::identity::accesscontextmanager::v1::AccessPolicy), - /// Please also refer to the [access level user - /// guide](). + /// Please also refer to the [access level user + /// guide](). #[prost(message, tag="8")] AccessLevel(super::super::super::super::identity::accesscontextmanager::v1::AccessLevel), - /// Please also refer to the [service perimeter user - /// guide](). + /// Please also refer to the [service perimeter user + /// guide](). #[prost(message, tag="9")] ServicePerimeter(super::super::super::super::identity::accesscontextmanager::v1::ServicePerimeter), } } -/// A representation of a Google Cloud resource. +/// A representation of a Google Cloud resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// The API version. Example: `v1` + /// The API version. Example: `v1` #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// The URL of the discovery document containing the resource's JSON schema. - /// Example: - /// ` + /// The URL of the discovery document containing the resource's JSON schema. + /// Example: + /// ` /// - /// This value is unspecified for resources that do not have an API based on a - /// discovery document, such as Cloud Bigtable. + /// This value is unspecified for resources that do not have an API based on a + /// discovery document, such as Cloud Bigtable. #[prost(string, tag="2")] pub discovery_document_uri: ::prost::alloc::string::String, - /// The JSON schema name listed in the discovery document. Example: - /// `Project` + /// The JSON schema name listed in the discovery document. Example: + /// `Project` /// - /// This value is unspecified for resources that do not have an API based on a - /// discovery document, such as Cloud Bigtable. + /// This value is unspecified for resources that do not have an API based on a + /// discovery document, such as Cloud Bigtable. #[prost(string, tag="3")] pub discovery_name: ::prost::alloc::string::String, - /// The REST URL for accessing the resource. An HTTP `GET` request using this - /// URL returns the resource itself. Example: - /// ` + /// The REST URL for accessing the resource. An HTTP `GET` request using this + /// URL returns the resource itself. Example: + /// ` /// - /// This value is unspecified for resources without a REST API. + /// This value is unspecified for resources without a REST API. #[prost(string, tag="4")] pub resource_url: ::prost::alloc::string::String, - /// The full name of the immediate parent of this resource. See - /// [Resource - /// Names]() - /// for more information. + /// The full name of the immediate parent of this resource. See + /// [Resource + /// Names]() + /// for more information. /// - /// For Google Cloud assets, this value is the parent resource defined in the - /// [Cloud IAM policy - /// hierarchy](). - /// Example: - /// `//cloudresourcemanager.googleapis.com/projects/my_project_123` + /// For Google Cloud assets, this value is the parent resource defined in the + /// [Cloud IAM policy + /// hierarchy](). + /// Example: + /// `//cloudresourcemanager.googleapis.com/projects/my_project_123` /// - /// For third-party assets, this field may be set differently. + /// For third-party assets, this field may be set differently. #[prost(string, tag="5")] pub parent: ::prost::alloc::string::String, - /// The content of the resource, in which some sensitive fields are removed - /// and may not be present. + /// The content of the resource, in which some sensitive fields are removed + /// and may not be present. #[prost(message, optional, tag="6")] pub data: ::core::option::Option<::prost_types::Struct>, - /// The location of the resource in Google Cloud, such as its zone and region. - /// For more information, see + /// The location of the resource in Google Cloud, such as its zone and region. + /// For more information, see #[prost(string, tag="8")] pub location: ::prost::alloc::string::String, } -/// The detailed related assets with the `relationship_type`. +/// The detailed related assets with the `relationship_type`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedAssets { - /// The detailed relation attributes. + /// The detailed relation attributes. #[prost(message, optional, tag="1")] pub relationship_attributes: ::core::option::Option, - /// The peer resources of the relationship. + /// The peer resources of the relationship. #[prost(message, repeated, tag="2")] pub assets: ::prost::alloc::vec::Vec, } -/// The relationship attributes which include `type`, `source_resource_type`, -/// `target_resource_type` and `action`. +/// The relationship attributes which include `type`, `source_resource_type`, +/// `target_resource_type` and `action`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelationshipAttributes { - /// The unique identifier of the relationship type. Example: - /// `INSTANCE_TO_INSTANCEGROUP` + /// The unique identifier of the relationship type. Example: + /// `INSTANCE_TO_INSTANCEGROUP` #[prost(string, tag="4")] pub r#type: ::prost::alloc::string::String, - /// The source asset type. Example: `compute.googleapis.com/Instance` + /// The source asset type. Example: `compute.googleapis.com/Instance` #[prost(string, tag="1")] pub source_resource_type: ::prost::alloc::string::String, - /// The target asset type. Example: `compute.googleapis.com/Disk` + /// The target asset type. Example: `compute.googleapis.com/Disk` #[prost(string, tag="2")] pub target_resource_type: ::prost::alloc::string::String, - /// The detail of the relationship, e.g. `contains`, `attaches` + /// The detail of the relationship, e.g. `contains`, `attaches` #[prost(string, tag="3")] pub action: ::prost::alloc::string::String, } -/// An asset identify in Google Cloud which contains its name, type and -/// ancestors. An asset can be any resource in the Google Cloud [resource -/// hierarchy](), -/// a resource outside the Google Cloud resource hierarchy (such as Google -/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). -/// See [Supported asset -/// types]() -/// for more information. +/// An asset identify in Google Cloud which contains its name, type and +/// ancestors. An asset can be any resource in the Google Cloud [resource +/// hierarchy](), +/// a resource outside the Google Cloud resource hierarchy (such as Google +/// Kubernetes Engine clusters and objects), or a policy (e.g. Cloud IAM policy). +/// See [Supported asset +/// types]() +/// for more information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelatedAsset { - /// The full name of the asset. Example: - /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` + /// The full name of the asset. Example: + /// `//compute.googleapis.com/projects/my_project_123/zones/zone1/instances/instance1` /// - /// See [Resource - /// names]() - /// for more information. + /// See [Resource + /// names]() + /// for more information. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// The type of the asset. Example: `compute.googleapis.com/Disk` + /// The type of the asset. Example: `compute.googleapis.com/Disk` /// - /// See [Supported asset - /// types]() - /// for more information. + /// See [Supported asset + /// types]() + /// for more information. #[prost(string, tag="2")] pub asset_type: ::prost::alloc::string::String, - /// The ancestors of an asset in Google Cloud [resource - /// hierarchy](), - /// represented as a list of relative resource names. An ancestry path starts - /// with the closest ancestor in the hierarchy and ends at root. + /// The ancestors of an asset in Google Cloud [resource + /// hierarchy](), + /// represented as a list of relative resource names. An ancestry path starts + /// with the closest ancestor in the hierarchy and ends at root. /// - /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` + /// Example: `["projects/123456789", "folders/5432", "organizations/1234"]` #[prost(string, repeated, tag="3")] pub ancestors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Export asset request. +/// Export asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAssetsRequest { - /// Required. The relative name of the root asset. This can only be an - /// organization number (such as "organizations/123"), a project ID (such as - /// "projects/my-project-id"), or a project number (such as "projects/12345"), - /// or a folder number (such as "folders/123"). + /// Required. The relative name of the root asset. This can only be an + /// organization number (such as "organizations/123"), a project ID (such as + /// "projects/my-project-id"), or a project number (such as "projects/12345"), + /// or a folder number (such as "folders/123"). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Timestamp to take an asset snapshot. This can only be set to a timestamp - /// between the current time and the current time minus 35 days (inclusive). - /// If not specified, the current time will be used. Due to delays in resource - /// data collection and indexing, there is a volatile window during which - /// running the same query may get different results. + /// Timestamp to take an asset snapshot. This can only be set to a timestamp + /// between the current time and the current time minus 35 days (inclusive). + /// If not specified, the current time will be used. Due to delays in resource + /// data collection and indexing, there is a volatile window during which + /// running the same query may get different results. #[prost(message, optional, tag="2")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// A list of asset types to take a snapshot for. For example: - /// "compute.googleapis.com/Disk". + /// A list of asset types to take a snapshot for. For example: + /// "compute.googleapis.com/Disk". /// - /// Regular expressions are also supported. For example: + /// Regular expressions are also supported. For example: /// - /// * "compute.googleapis.com.*" snapshots resources whose asset type starts - /// with "compute.googleapis.com". - /// * ".*Instance" snapshots resources whose asset type ends with "Instance". - /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". + /// * "compute.googleapis.com.*" snapshots resources whose asset type starts + /// with "compute.googleapis.com". + /// * ".*Instance" snapshots resources whose asset type ends with "Instance". + /// * ".*Instance.*" snapshots resources whose asset type contains "Instance". /// - /// See \[RE2\]() for all supported - /// regular expression syntax. If the regular expression does not match any - /// supported asset type, an INVALID_ARGUMENT error will be returned. + /// See \[RE2\]() for all supported + /// regular expression syntax. If the regular expression does not match any + /// supported asset type, an INVALID_ARGUMENT error will be returned. /// - /// If specified, only matching assets will be returned, otherwise, it will - /// snapshot all asset types. See [Introduction to Cloud Asset - /// Inventory]() - /// for all supported asset types. + /// If specified, only matching assets will be returned, otherwise, it will + /// snapshot all asset types. See [Introduction to Cloud Asset + /// Inventory]() + /// for all supported asset types. #[prost(string, repeated, tag="3")] pub asset_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Asset content type. If not specified, no content but the asset name will be - /// returned. + /// Asset content type. If not specified, no content but the asset name will be + /// returned. #[prost(enumeration="ContentType", tag="4")] pub content_type: i32, - /// Required. Output configuration indicating where the results will be output - /// to. + /// Required. Output configuration indicating where the results will be output + /// to. #[prost(message, optional, tag="5")] pub output_config: ::core::option::Option, - /// A list of relationship types to export, for example: - /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if - /// content_type=RELATIONSHIP. If specified, it will snapshot \[asset_types\]' - /// specified relationships, or give errors if any relationship_types' - /// supported types are not in \[asset_types\]. If not specified, it will - /// snapshot all \[asset_types\]' supported relationships. An unspecified - /// \[asset_types\] field means all supported asset_types. See [Introduction to - /// Cloud Asset - /// Inventory]() for all - /// supported asset types and relationship types. + /// A list of relationship types to export, for example: + /// `INSTANCE_TO_INSTANCEGROUP`. This field should only be specified if + /// content_type=RELATIONSHIP. If specified, it will snapshot \[asset_types\]' + /// specified relationships, or give errors if any relationship_types' + /// supported types are not in \[asset_types\]. If not specified, it will + /// snapshot all \[asset_types\]' supported relationships. An unspecified + /// \[asset_types\] field means all supported asset_types. See [Introduction to + /// Cloud Asset + /// Inventory]() for all + /// supported asset types and relationship types. #[prost(string, repeated, tag="6")] pub relationship_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The export asset response. This message is returned by the -/// \[google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation\] -/// method in the returned -/// \[google.longrunning.Operation.response][google.longrunning.Operation.response\] -/// field. +/// The export asset response. This message is returned by the +/// \[google.longrunning.Operations.GetOperation][google.longrunning.Operations.GetOperation\] +/// method in the returned +/// \[google.longrunning.Operation.response][google.longrunning.Operation.response\] +/// field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAssetsResponse { - /// Time the snapshot was taken. + /// Time the snapshot was taken. #[prost(message, optional, tag="1")] pub read_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output configuration indicating where the results were output to. + /// Output configuration indicating where the results were output to. #[prost(message, optional, tag="2")] pub output_config: ::core::option::Option, - /// Output result indicating where the assets were exported to. For example, a - /// set of actual Google Cloud Storage object uris where the assets are - /// exported to. The uris can be different from what \[output_config\] has - /// specified, as the service will split the output object into multiple ones - /// once it exceeds a single Google Cloud Storage object limit. + /// Output result indicating where the assets were exported to. For example, a + /// set of actual Google Cloud Storage object uris where the assets are + /// exported to. The uris can be different from what \[output_config\] has + /// specified, as the service will split the output object into multiple ones + /// once it exceeds a single Google Cloud Storage object limit. #[prost(message, optional, tag="3")] pub output_result: ::core::option::Option, } -/// Output configuration for export assets destination. +/// Output configuration for export assets destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Asset export destination. + /// Asset export destination. #[prost(oneof="output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Asset export destination. + /// Asset export destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Destination on Cloud Storage. + /// Destination on Cloud Storage. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// Destination on BigQuery. The output table stores the fields in asset - /// proto as columns in BigQuery. + /// Destination on BigQuery. The output table stores the fields in asset + /// proto as columns in BigQuery. #[prost(message, tag="2")] BigqueryDestination(super::BigQueryDestination), } } -/// Output result of export assets. +/// Output result of export assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputResult { - /// Asset export result. + /// Asset export result. #[prost(oneof="output_result::Result", tags="1")] pub result: ::core::option::Option, } /// Nested message and enum types in `OutputResult`. pub mod output_result { - /// Asset export result. + /// Asset export result. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// Export result on Cloud Storage. + /// Export result on Cloud Storage. #[prost(message, tag="1")] GcsResult(super::GcsOutputResult), } } -/// A Cloud Storage output result. +/// A Cloud Storage output result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsOutputResult { - /// List of uris of the Cloud Storage objects. Example: - /// "gs://bucket_name/object_name". + /// List of uris of the Cloud Storage objects. Example: + /// "gs://bucket_name/object_name". #[prost(string, repeated, tag="1")] pub uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Cloud Storage location. +/// A Cloud Storage location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. + /// Required. #[prost(oneof="gcs_destination::ObjectUri", tags="1, 2")] pub object_uri: ::core::option::Option, } /// Nested message and enum types in `GcsDestination`. pub mod gcs_destination { - /// Required. + /// Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ObjectUri { - /// The uri of the Cloud Storage object. It's the same uri that is used by - /// gsutil. Example: "gs://bucket_name/object_name". See [Viewing and - /// Editing Object - /// Metadata]() - /// for more information. + /// The uri of the Cloud Storage object. It's the same uri that is used by + /// gsutil. Example: "gs://bucket_name/object_name". See [Viewing and + /// Editing Object + /// Metadata]() + /// for more information. #[prost(string, tag="1")] Uri(::prost::alloc::string::String), - /// The uri prefix of all generated Cloud Storage objects. Example: - /// "gs://bucket_name/object_name_prefix". Each object uri is in format: - /// "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only - /// contains assets for that type. starts from 0. Example: - /// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is - /// the first shard of output objects containing all - /// compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be - /// returned if file with the same name "gs://bucket_name/object_name_prefix" - /// already exists. + /// The uri prefix of all generated Cloud Storage objects. Example: + /// "gs://bucket_name/object_name_prefix". Each object uri is in format: + /// "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only + /// contains assets for that type. starts from 0. Example: + /// "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is + /// the first shard of output objects containing all + /// compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error will be + /// returned if file with the same name "gs://bucket_name/object_name_prefix" + /// already exists. #[prost(string, tag="2")] UriPrefix(::prost::alloc::string::String), } } -/// A BigQuery destination for exporting assets to. +/// A BigQuery destination for exporting assets to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. The BigQuery dataset in format - /// "projects/projectId/datasets/datasetId", to which the snapshot result - /// should be exported. If this dataset does not exist, the export call returns - /// an INVALID_ARGUMENT error. + /// Required. The BigQuery dataset in format + /// "projects/projectId/datasets/datasetId", to which the snapshot result + /// should be exported. If this dataset does not exist, the export call returns + /// an INVALID_ARGUMENT error. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Required. The BigQuery table to which the snapshot result should be - /// written. If this table does not exist, a new table with the given name - /// will be created. + /// Required. The BigQuery table to which the snapshot result should be + /// written. If this table does not exist, a new table with the given name + /// will be created. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, - /// If the destination table already exists and this flag is `TRUE`, the - /// table will be overwritten by the contents of assets snapshot. If the flag - /// is `FALSE` or unset and the destination table already exists, the export - /// call returns an INVALID_ARGUMEMT error. + /// If the destination table already exists and this flag is `TRUE`, the + /// table will be overwritten by the contents of assets snapshot. If the flag + /// is `FALSE` or unset and the destination table already exists, the export + /// call returns an INVALID_ARGUMEMT error. #[prost(bool, tag="3")] pub force: bool, - /// \[partition_spec\] determines whether to export to partitioned table(s) and - /// how to partition the data. + /// \[partition_spec\] determines whether to export to partitioned table(s) and + /// how to partition the data. /// - /// If \[partition_spec\] is unset or \[partition_spec.partition_key\] is unset or - /// `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to - /// non-partitioned table(s). \[force\] will decide whether to overwrite existing - /// table(s). + /// If \[partition_spec\] is unset or \[partition_spec.partition_key\] is unset or + /// `PARTITION_KEY_UNSPECIFIED`, the snapshot results will be exported to + /// non-partitioned table(s). \[force\] will decide whether to overwrite existing + /// table(s). /// - /// If \[partition_spec\] is specified. First, the snapshot results will be - /// written to partitioned table(s) with two additional timestamp columns, - /// readTime and requestTime, one of which will be the partition key. Secondly, - /// in the case when any destination table already exists, it will first try to - /// update existing table's schema as necessary by appending additional - /// columns. Then, if \[force\] is `TRUE`, the corresponding partition will be - /// overwritten by the snapshot results (data in different partitions will - /// remain intact); if \[force\] is unset or `FALSE`, it will append the data. An - /// error will be returned if the schema update or data appension fails. + /// If \[partition_spec\] is specified. First, the snapshot results will be + /// written to partitioned table(s) with two additional timestamp columns, + /// readTime and requestTime, one of which will be the partition key. Secondly, + /// in the case when any destination table already exists, it will first try to + /// update existing table's schema as necessary by appending additional + /// columns. Then, if \[force\] is `TRUE`, the corresponding partition will be + /// overwritten by the snapshot results (data in different partitions will + /// remain intact); if \[force\] is unset or `FALSE`, it will append the data. An + /// error will be returned if the schema update or data appension fails. #[prost(message, optional, tag="4")] pub partition_spec: ::core::option::Option, - /// If this flag is `TRUE`, the snapshot results will be written to one or - /// multiple tables, each of which contains results of one asset type. The - /// \[force\] and \[partition_spec\] fields will apply to each of them. + /// If this flag is `TRUE`, the snapshot results will be written to one or + /// multiple tables, each of which contains results of one asset type. The + /// \[force\] and \[partition_spec\] fields will apply to each of them. /// - /// Field \[table\] will be concatenated with "_" and the asset type names (see - /// for - /// supported asset types) to construct per-asset-type table names, in which - /// all non-alphanumeric characters like "." and "/" will be substituted by - /// "_". Example: if field \[table\] is "mytable" and snapshot results - /// contain "storage.googleapis.com/Bucket" assets, the corresponding table - /// name will be "mytable_storage_googleapis_com_Bucket". If any of these - /// tables does not exist, a new table with the concatenated name will be - /// created. + /// Field \[table\] will be concatenated with "_" and the asset type names (see + /// for + /// supported asset types) to construct per-asset-type table names, in which + /// all non-alphanumeric characters like "." and "/" will be substituted by + /// "_". Example: if field \[table\] is "mytable" and snapshot results + /// contain "storage.googleapis.com/Bucket" assets, the corresponding table + /// name will be "mytable_storage_googleapis_com_Bucket". If any of these + /// tables does not exist, a new table with the concatenated name will be + /// created. /// - /// When \[content_type\] in the ExportAssetsRequest is `RESOURCE`, the schema of - /// each table will include RECORD-type columns mapped to the nested fields in - /// the Asset.resource.data field of that asset type (up to the 15 nested level - /// BigQuery supports - /// ()). The - /// fields in >15 nested levels will be stored in JSON format string as a child - /// column of its parent RECORD column. + /// When \[content_type\] in the ExportAssetsRequest is `RESOURCE`, the schema of + /// each table will include RECORD-type columns mapped to the nested fields in + /// the Asset.resource.data field of that asset type (up to the 15 nested level + /// BigQuery supports + /// ()). The + /// fields in >15 nested levels will be stored in JSON format string as a child + /// column of its parent RECORD column. /// - /// If error occurs when exporting to any table, the whole export call will - /// return an error but the export results that already succeed will persist. - /// Example: if exporting to table_type_A succeeds when exporting to - /// table_type_B fails during one export call, the results in table_type_A will - /// persist and there will not be partial results persisting in a table. + /// If error occurs when exporting to any table, the whole export call will + /// return an error but the export results that already succeed will persist. + /// Example: if exporting to table_type_A succeeds when exporting to + /// table_type_B fails during one export call, the results in table_type_A will + /// persist and there will not be partial results persisting in a table. #[prost(bool, tag="5")] pub separate_tables_per_asset_type: bool, } -/// Specifications of BigQuery partitioned table as export destination. +/// Specifications of BigQuery partitioned table as export destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionSpec { - /// The partition key for BigQuery partitioned table. + /// The partition key for BigQuery partitioned table. #[prost(enumeration="partition_spec::PartitionKey", tag="1")] pub partition_key: i32, } /// Nested message and enum types in `PartitionSpec`. pub mod partition_spec { - /// This enum is used to determine the partition key column when exporting - /// assets to BigQuery partitioned table(s). Note that, if the partition key is - /// a timestamp column, the actual partition is based on its date value - /// (expressed in UTC. see details in - /// ). + /// This enum is used to determine the partition key column when exporting + /// assets to BigQuery partitioned table(s). Note that, if the partition key is + /// a timestamp column, the actual partition is based on its date value + /// (expressed in UTC. see details in + /// ). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartitionKey { - /// Unspecified partition key. If used, it means using non-partitioned table. + /// Unspecified partition key. If used, it means using non-partitioned table. Unspecified = 0, - /// The time when the snapshot is taken. If specified as partition key, the - /// result table(s) is partitoned by the additional timestamp column, - /// readTime. If \[read_time\] in ExportAssetsRequest is specified, the - /// readTime column's value will be the same as it. Otherwise, its value will - /// be the current time that is used to take the snapshot. + /// The time when the snapshot is taken. If specified as partition key, the + /// result table(s) is partitoned by the additional timestamp column, + /// readTime. If \[read_time\] in ExportAssetsRequest is specified, the + /// readTime column's value will be the same as it. Otherwise, its value will + /// be the current time that is used to take the snapshot. ReadTime = 1, - /// The time when the request is received and started to be processed. If - /// specified as partition key, the result table(s) is partitoned by the - /// requestTime column, an additional timestamp column representing when the - /// request was received. + /// The time when the request is received and started to be processed. If + /// specified as partition key, the result table(s) is partitoned by the + /// requestTime column, an additional timestamp column representing when the + /// request was received. RequestTime = 2, } impl PartitionKey { @@ -471,21 +471,21 @@ pub mod partition_spec { } } } -/// Asset content type. +/// Asset content type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentType { - /// Unspecified content type. + /// Unspecified content type. Unspecified = 0, - /// Resource metadata. + /// Resource metadata. Resource = 1, - /// The actual IAM policy set on a resource. + /// The actual IAM policy set on a resource. IamPolicy = 2, - /// The Cloud Organization Policy set on an asset. + /// The Cloud Organization Policy set on an asset. OrgPolicy = 4, - /// The Cloud Access context manager Policy set on an asset. + /// The Cloud Access context manager Policy set on an asset. AccessPolicy = 5, - /// The related resources. + /// The related resources. Relationship = 7, } impl ContentType { diff --git a/gcloud-sdk/genproto/google.cloud.assuredworkloads.regulatoryintercept.logging.v1.rs b/gcloud-sdk/genproto/google.cloud.assuredworkloads.regulatoryintercept.logging.v1.rs index fbb9aaaad..f3acf409e 100644 --- a/gcloud-sdk/genproto/google.cloud.assuredworkloads.regulatoryintercept.logging.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.assuredworkloads.regulatoryintercept.logging.v1.rs @@ -1,11 +1,11 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegulatoryInterceptAckLogEntry { - /// The id of the user that triggered the Regulatory Intercept. + /// The id of the user that triggered the Regulatory Intercept. #[prost(string, tag="1")] pub user_id: ::prost::alloc::string::String, - /// The id of the GCP resource associated with the Assured Workload applicable - /// to the request. Must be of the format - /// //cloudresourcemanager.googleapis.com/{type}/{id} + /// The id of the GCP resource associated with the Assured Workload applicable + /// to the request. Must be of the format + /// //cloudresourcemanager.googleapis.com/{type}/{id} #[prost(string, tag="2")] pub assured_workload_resource_id: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1.rs b/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1.rs index 1c46e5d23..32a10fadf 100644 --- a/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1.rs @@ -1,192 +1,192 @@ -/// Request for creating a workload. +/// Request for creating a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkloadRequest { - /// Required. The resource name of the new Workload's parent. - /// Must be of the form `organizations/{org_id}/locations/{location_id}`. + /// Required. The resource name of the new Workload's parent. + /// Must be of the form `organizations/{org_id}/locations/{location_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Assured Workload to create + /// Required. Assured Workload to create #[prost(message, optional, tag="2")] pub workload: ::core::option::Option, - /// Optional. A identifier associated with the workload and underlying projects - /// which allows for the break down of billing costs for a workload. The value - /// provided for the identifier will add a label to the workload and contained - /// projects with the identifier as the value. + /// Optional. A identifier associated with the workload and underlying projects + /// which allows for the break down of billing costs for a workload. The value + /// provided for the identifier will add a label to the workload and contained + /// projects with the identifier as the value. #[prost(string, tag="3")] pub external_id: ::prost::alloc::string::String, } -/// Request for Updating a workload. +/// Request for Updating a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateWorkloadRequest { - /// Required. The workload to update. - /// The workload’s `name` field is used to identify the workload to be updated. - /// Format: - /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + /// Required. The workload to update. + /// The workload’s `name` field is used to identify the workload to be updated. + /// Format: + /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} #[prost(message, optional, tag="1")] pub workload: ::core::option::Option, - /// Required. The list of fields to be updated. + /// Required. The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for deleting a Workload. +/// Request for deleting a Workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkloadRequest { - /// Required. The `name` field is used to identify the workload. - /// Format: - /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + /// Required. The `name` field is used to identify the workload. + /// Format: + /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the workload. - /// If this is provided, it must match the server's etag. + /// Optional. The etag of the workload. + /// If this is provided, it must match the server's etag. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request for fetching a workload. +/// Request for fetching a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkloadRequest { - /// Required. The resource name of the Workload to fetch. This is the - /// workloads's relative path in the API, formatted as - /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". - /// For example, - /// "organizations/123/locations/us-east1/workloads/assured-workload-1". + /// Required. The resource name of the Workload to fetch. This is the + /// workloads's relative path in the API, formatted as + /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". + /// For example, + /// "organizations/123/locations/us-east1/workloads/assured-workload-1". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for fetching workloads in an organization. +/// Request for fetching workloads in an organization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkloadsRequest { - /// Required. Parent Resource to list workloads from. - /// Must be of the form `organizations/{org_id}/locations/{location}`. + /// Required. Parent Resource to list workloads from. + /// Must be of the form `organizations/{org_id}/locations/{location}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token returned from previous request. Page token contains context from - /// previous request. Page token needs to be passed in the second and following - /// requests. + /// Page token returned from previous request. Page token contains context from + /// previous request. Page token needs to be passed in the second and following + /// requests. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A custom filter for filtering by properties of a workload. At this time, - /// only filtering by labels is supported. + /// A custom filter for filtering by properties of a workload. At this time, + /// only filtering by labels is supported. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response of ListWorkloads endpoint. +/// Response of ListWorkloads endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkloadsResponse { - /// List of Workloads under a given parent. + /// List of Workloads under a given parent. #[prost(message, repeated, tag="1")] pub workloads: ::prost::alloc::vec::Vec, - /// The next page token. Return empty if reached the last page. + /// The next page token. Return empty if reached the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// An Workload object for managing highly regulated workloads of cloud -/// customers. +/// An Workload object for managing highly regulated workloads of cloud +/// customers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Workload { - /// Optional. The resource name of the workload. - /// Format: - /// organizations/{organization}/locations/{location}/workloads/{workload} + /// Optional. The resource name of the workload. + /// Format: + /// organizations/{organization}/locations/{location}/workloads/{workload} /// - /// Read-only. + /// Read-only. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-assigned display name of the Workload. - /// When present it must be between 4 to 30 characters. - /// Allowed characters are: lowercase and uppercase letters, numbers, - /// hyphen, and spaces. + /// Required. The user-assigned display name of the Workload. + /// When present it must be between 4 to 30 characters. + /// Allowed characters are: lowercase and uppercase letters, numbers, + /// hyphen, and spaces. /// - /// Example: My Workload + /// Example: My Workload #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The resources associated with this workload. - /// These resources will be created when creating the workload. - /// If any of the projects already exist, the workload creation will fail. - /// Always read only. + /// Output only. The resources associated with this workload. + /// These resources will be created when creating the workload. + /// If any of the projects already exist, the workload creation will fail. + /// Always read only. #[prost(message, repeated, tag="3")] pub resources: ::prost::alloc::vec::Vec, - /// Required. Immutable. Compliance Regime associated with this workload. + /// Required. Immutable. Compliance Regime associated with this workload. #[prost(enumeration="workload::ComplianceRegime", tag="4")] pub compliance_regime: i32, - /// Output only. Immutable. The Workload creation timestamp. + /// Output only. Immutable. The Workload creation timestamp. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Input only. The billing account used for the resources which are - /// direct children of workload. This billing account is initially associated - /// with the resources created as part of Workload creation. - /// After the initial creation of these resources, the customer can change - /// the assigned billing account. - /// The resource name has the form - /// `billingAccounts/{billing_account_id}`. For example, - /// `billingAccounts/012345-567890-ABCDEF`. + /// Required. Input only. The billing account used for the resources which are + /// direct children of workload. This billing account is initially associated + /// with the resources created as part of Workload creation. + /// After the initial creation of these resources, the customer can change + /// the assigned billing account. + /// The resource name has the form + /// `billingAccounts/{billing_account_id}`. For example, + /// `billingAccounts/012345-567890-ABCDEF`. #[prost(string, tag="6")] pub billing_account: ::prost::alloc::string::String, - /// Optional. ETag of the workload, it is calculated on the basis - /// of the Workload contents. It will be used in Update & Delete operations. + /// Optional. ETag of the workload, it is calculated on the basis + /// of the Workload contents. It will be used in Update & Delete operations. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// Optional. Labels applied to the workload. + /// Optional. Labels applied to the workload. #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Input only. The parent resource for the resources managed by this Assured - /// Workload. May be either empty or a folder resource which is a child of the - /// Workload parent. If not specified all resources are created under the - /// parent organization. - /// Format: - /// folders/{folder_id} + /// Input only. The parent resource for the resources managed by this Assured + /// Workload. May be either empty or a folder resource which is a child of the + /// Workload parent. If not specified all resources are created under the + /// parent organization. + /// Format: + /// folders/{folder_id} #[prost(string, tag="13")] pub provisioned_resources_parent: ::prost::alloc::string::String, - /// Input only. Settings used to create a CMEK crypto key. When set a project - /// with a KMS CMEK key is provisioned. This field is mandatory for a subset of - /// Compliance Regimes. + /// Input only. Settings used to create a CMEK crypto key. When set a project + /// with a KMS CMEK key is provisioned. This field is mandatory for a subset of + /// Compliance Regimes. #[prost(message, optional, tag="14")] pub kms_settings: ::core::option::Option, - /// Input only. Resource properties that are used to customize workload - /// resources. These properties (such as custom project id) will be used to - /// create workload resources if possible. This field is optional. + /// Input only. Resource properties that are used to customize workload + /// resources. These properties (such as custom project id) will be used to + /// create workload resources if possible. This field is optional. #[prost(message, repeated, tag="15")] pub resource_settings: ::prost::alloc::vec::Vec, - /// Output only. Represents the KAJ enrollment state of the given workload. + /// Output only. Represents the KAJ enrollment state of the given workload. #[prost(enumeration="workload::KajEnrollmentState", tag="17")] pub kaj_enrollment_state: i32, - /// Optional. Indicates the sovereignty status of the given workload. - /// Currently meant to be used by Europe/Canada customers. + /// Optional. Indicates the sovereignty status of the given workload. + /// Currently meant to be used by Europe/Canada customers. #[prost(bool, tag="18")] pub enable_sovereign_controls: bool, - /// Output only. Represents the SAA enrollment response of the given workload. - /// SAA enrollment response is queried during GetWorkload call. - /// In failure cases, user friendly error message is shown in SAA details page. + /// Output only. Represents the SAA enrollment response of the given workload. + /// SAA enrollment response is queried during GetWorkload call. + /// In failure cases, user friendly error message is shown in SAA details page. #[prost(message, optional, tag="20")] pub saa_enrollment_response: ::core::option::Option, } /// Nested message and enum types in `Workload`. pub mod workload { - /// Represent the resources that are children of this Workload. + /// Represent the resources that are children of this Workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceInfo { - /// Resource identifier. - /// For a project this represents project_number. + /// Resource identifier. + /// For a project this represents project_number. #[prost(int64, tag="1")] pub resource_id: i64, - /// Indicates the type of resource. + /// Indicates the type of resource. #[prost(enumeration="resource_info::ResourceType", tag="2")] pub resource_type: i32, } /// Nested message and enum types in `ResourceInfo`. pub mod resource_info { - /// The type of resource. + /// The type of resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceType { - /// Unknown resource type. + /// Unknown resource type. Unspecified = 0, - /// Consumer project. + /// Consumer project. ConsumerProject = 1, - /// Consumer project containing encryption keys. + /// Consumer project containing encryption keys. EncryptionKeysProject = 2, - /// Keyring resource that hosts encryption keys. + /// Keyring resource that hosts encryption keys. Keyring = 3, } impl ResourceType { @@ -204,60 +204,60 @@ pub mod workload { } } } - /// Settings specific to the Key Management Service. + /// Settings specific to the Key Management Service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KmsSettings { - /// Required. Input only. Immutable. The time at which the Key Management - /// Service will automatically create a new version of the crypto key and - /// mark it as the primary. + /// Required. Input only. Immutable. The time at which the Key Management + /// Service will automatically create a new version of the crypto key and + /// mark it as the primary. #[prost(message, optional, tag="1")] pub next_rotation_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Input only. Immutable. \[next_rotation_time\] will be advanced by - /// this period when the Key Management Service automatically rotates a key. - /// Must be at least 24 hours and at most 876,000 hours. + /// Required. Input only. Immutable. \[next_rotation_time\] will be advanced by + /// this period when the Key Management Service automatically rotates a key. + /// Must be at least 24 hours and at most 876,000 hours. #[prost(message, optional, tag="2")] pub rotation_period: ::core::option::Option<::prost_types::Duration>, } - /// Represent the custom settings for the resources to be created. + /// Represent the custom settings for the resources to be created. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSettings { - /// Resource identifier. - /// For a project this represents project_id. If the project is already - /// taken, the workload creation will fail. + /// Resource identifier. + /// For a project this represents project_id. If the project is already + /// taken, the workload creation will fail. #[prost(string, tag="1")] pub resource_id: ::prost::alloc::string::String, - /// Indicates the type of resource. This field should be specified to - /// correspond the id to the right project type (CONSUMER_PROJECT or - /// ENCRYPTION_KEYS_PROJECT) + /// Indicates the type of resource. This field should be specified to + /// correspond the id to the right project type (CONSUMER_PROJECT or + /// ENCRYPTION_KEYS_PROJECT) #[prost(enumeration="resource_info::ResourceType", tag="2")] pub resource_type: i32, - /// User-assigned resource display name. - /// If not empty it will be used to create a resource with the specified - /// name. + /// User-assigned resource display name. + /// If not empty it will be used to create a resource with the specified + /// name. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, } - /// Signed Access Approvals (SAA) enrollment response. + /// Signed Access Approvals (SAA) enrollment response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SaaEnrollmentResponse { - /// Indicates SAA enrollment status of a given workload. + /// Indicates SAA enrollment status of a given workload. #[prost(enumeration="saa_enrollment_response::SetupState", optional, tag="1")] pub setup_status: ::core::option::Option, - /// Indicates SAA enrollment setup error if any. + /// Indicates SAA enrollment setup error if any. #[prost(enumeration="saa_enrollment_response::SetupError", repeated, tag="2")] pub setup_errors: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SaaEnrollmentResponse`. pub mod saa_enrollment_response { - /// Setup state of SAA enrollment. + /// Setup state of SAA enrollment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SetupState { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// SAA enrollment pending. + /// SAA enrollment pending. StatusPending = 1, - /// SAA enrollment comopleted. + /// SAA enrollment comopleted. StatusComplete = 2, } impl SetupState { @@ -273,22 +273,22 @@ pub mod workload { } } } - /// Setup error of SAA enrollment. + /// Setup error of SAA enrollment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SetupError { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Invalid states for all customers, to be redirected to AA UI for - /// additional details. + /// Invalid states for all customers, to be redirected to AA UI for + /// additional details. ErrorInvalidBaseSetup = 1, - /// Returned when there is not an EKM key configured. + /// Returned when there is not an EKM key configured. ErrorMissingExternalSigningKey = 2, - /// Returned when there are no enrolled services or the customer is - /// enrolled in CAA only for a subset of services. + /// Returned when there are no enrolled services or the customer is + /// enrolled in CAA only for a subset of services. ErrorNotAllServicesEnrolled = 3, - /// Returned when exception was encountered during evaluation of other - /// criteria. + /// Returned when exception was encountered during evaluation of other + /// criteria. ErrorSetupCheckFailed = 4, } impl SetupError { @@ -307,31 +307,31 @@ pub mod workload { } } } - /// Supported Compliance Regimes. + /// Supported Compliance Regimes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ComplianceRegime { - /// Unknown compliance regime. + /// Unknown compliance regime. Unspecified = 0, - /// Information protection as per DoD IL4 requirements. + /// Information protection as per DoD IL4 requirements. Il4 = 1, - /// Criminal Justice Information Services (CJIS) Security policies. + /// Criminal Justice Information Services (CJIS) Security policies. Cjis = 2, - /// FedRAMP High data protection controls + /// FedRAMP High data protection controls FedrampHigh = 3, - /// FedRAMP Moderate data protection controls + /// FedRAMP Moderate data protection controls FedrampModerate = 4, - /// Assured Workloads For US Regions data protection controls + /// Assured Workloads For US Regions data protection controls UsRegionalAccess = 5, - /// Health Insurance Portability and Accountability Act controls + /// Health Insurance Portability and Accountability Act controls Hipaa = 6, - /// Health Information Trust Alliance controls + /// Health Information Trust Alliance controls Hitrust = 7, - /// Assured Workloads For EU Regions and Support controls + /// Assured Workloads For EU Regions and Support controls EuRegionsAndSupport = 8, - /// Assured Workloads For Canada Regions and Support controls + /// Assured Workloads For Canada Regions and Support controls CaRegionsAndSupport = 9, - /// International Traffic in Arms Regulations + /// International Traffic in Arms Regulations Itar = 10, } impl ComplianceRegime { @@ -355,15 +355,15 @@ pub mod workload { } } } - /// Key Access Justifications(KAJ) Enrollment State. + /// Key Access Justifications(KAJ) Enrollment State. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KajEnrollmentState { - /// Default State for KAJ Enrollment. + /// Default State for KAJ Enrollment. Unspecified = 0, - /// Pending State for KAJ Enrollment. + /// Pending State for KAJ Enrollment. Pending = 1, - /// Complete State for KAJ Enrollment. + /// Complete State for KAJ Enrollment. Complete = 2, } impl KajEnrollmentState { @@ -380,20 +380,20 @@ pub mod workload { } } } -/// Operation metadata to give request details of CreateWorkload. +/// Operation metadata to give request details of CreateWorkload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkloadOperationMetadata { - /// Optional. Time when the operation was created. + /// Optional. Time when the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The display name of the workload. + /// Optional. The display name of the workload. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. The parent of the workload. + /// Optional. The parent of the workload. #[prost(string, tag="3")] pub parent: ::prost::alloc::string::String, - /// Optional. Compliance controls that should be applied to the resources - /// managed by the workload. + /// Optional. Compliance controls that should be applied to the resources + /// managed by the workload. #[prost(enumeration="workload::ComplianceRegime", tag="4")] pub compliance_regime: i32, } diff --git a/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1beta1.rs index fb68d09f8..e7db79a4e 100644 --- a/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.assuredworkloads.v1beta1.rs @@ -1,62 +1,62 @@ -/// Request for creating a workload. +/// Request for creating a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkloadRequest { - /// Required. The resource name of the new Workload's parent. - /// Must be of the form `organizations/{org_id}/locations/{location_id}`. + /// Required. The resource name of the new Workload's parent. + /// Must be of the form `organizations/{org_id}/locations/{location_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Assured Workload to create + /// Required. Assured Workload to create #[prost(message, optional, tag="2")] pub workload: ::core::option::Option, - /// Optional. A identifier associated with the workload and underlying projects which - /// allows for the break down of billing costs for a workload. The value - /// provided for the identifier will add a label to the workload and contained - /// projects with the identifier as the value. + /// Optional. A identifier associated with the workload and underlying projects which + /// allows for the break down of billing costs for a workload. The value + /// provided for the identifier will add a label to the workload and contained + /// projects with the identifier as the value. #[prost(string, tag="3")] pub external_id: ::prost::alloc::string::String, } -/// Request for Updating a workload. +/// Request for Updating a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateWorkloadRequest { - /// Required. The workload to update. - /// The workload's `name` field is used to identify the workload to be updated. - /// Format: - /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + /// Required. The workload to update. + /// The workload's `name` field is used to identify the workload to be updated. + /// Format: + /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} #[prost(message, optional, tag="1")] pub workload: ::core::option::Option, - /// Required. The list of fields to be updated. + /// Required. The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for restricting list of available resources in Workload environment. +/// Request for restricting list of available resources in Workload environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestrictAllowedResourcesRequest { - /// Required. The resource name of the Workload. This is the workloads's - /// relative path in the API, formatted as - /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". - /// For example, - /// "organizations/123/locations/us-east1/workloads/assured-workload-1". + /// Required. The resource name of the Workload. This is the workloads's + /// relative path in the API, formatted as + /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". + /// For example, + /// "organizations/123/locations/us-east1/workloads/assured-workload-1". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The type of restriction for using gcp products in the Workload environment. + /// Required. The type of restriction for using gcp products in the Workload environment. #[prost(enumeration="restrict_allowed_resources_request::RestrictionType", tag="2")] pub restriction_type: i32, } /// Nested message and enum types in `RestrictAllowedResourcesRequest`. pub mod restrict_allowed_resources_request { - /// The type of restriction. + /// The type of restriction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestrictionType { - /// Unknown restriction type. + /// Unknown restriction type. Unspecified = 0, - /// Allow the use all of all gcp products, irrespective of the compliance - /// posture. This effectively removes gcp.restrictServiceUsage OrgPolicy - /// on the AssuredWorkloads Folder. + /// Allow the use all of all gcp products, irrespective of the compliance + /// posture. This effectively removes gcp.restrictServiceUsage OrgPolicy + /// on the AssuredWorkloads Folder. AllowAllGcpResources = 1, - /// Based on Workload's compliance regime, allowed list changes. - /// See - - /// for the list of supported resources. + /// Based on Workload's compliance regime, allowed list changes. + /// See - + /// for the list of supported resources. AllowCompliantResources = 2, } impl RestrictionType { @@ -73,232 +73,232 @@ pub mod restrict_allowed_resources_request { } } } -/// Response for restricting the list of allowed resources. +/// Response for restricting the list of allowed resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestrictAllowedResourcesResponse { } -/// Request for deleting a Workload. +/// Request for deleting a Workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkloadRequest { - /// Required. The `name` field is used to identify the workload. - /// Format: - /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} + /// Required. The `name` field is used to identify the workload. + /// Format: + /// organizations/{org_id}/locations/{location_id}/workloads/{workload_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag of the workload. - /// If this is provided, it must match the server's etag. + /// Optional. The etag of the workload. + /// If this is provided, it must match the server's etag. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// Request for fetching a workload. +/// Request for fetching a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkloadRequest { - /// Required. The resource name of the Workload to fetch. This is the workloads's - /// relative path in the API, formatted as - /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". - /// For example, - /// "organizations/123/locations/us-east1/workloads/assured-workload-1". + /// Required. The resource name of the Workload to fetch. This is the workloads's + /// relative path in the API, formatted as + /// "organizations/{organization_id}/locations/{location_id}/workloads/{workload_id}". + /// For example, + /// "organizations/123/locations/us-east1/workloads/assured-workload-1". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to analyze a hypothetical move of a source project or project-based -/// workload to a target (destination) folder-based workload. +/// A request to analyze a hypothetical move of a source project or project-based +/// workload to a target (destination) folder-based workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeWorkloadMoveRequest { - /// Required. The resource ID of the folder-based destination workload. This workload is - /// where the source project will hypothetically be moved to. Specify the - /// workload's relative resource name, formatted as: - /// "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" - /// For example: - /// "organizations/123/locations/us-east1/workloads/assured-workload-2" + /// Required. The resource ID of the folder-based destination workload. This workload is + /// where the source project will hypothetically be moved to. Specify the + /// workload's relative resource name, formatted as: + /// "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" + /// For example: + /// "organizations/123/locations/us-east1/workloads/assured-workload-2" #[prost(string, tag="2")] pub target: ::prost::alloc::string::String, - /// The resource type to be moved to the destination workload. It can be either - /// an existing project or a project-based workload. + /// The resource type to be moved to the destination workload. It can be either + /// an existing project or a project-based workload. #[prost(oneof="analyze_workload_move_request::ProjectOrWorkloadResource", tags="1, 3")] pub project_or_workload_resource: ::core::option::Option, } /// Nested message and enum types in `AnalyzeWorkloadMoveRequest`. pub mod analyze_workload_move_request { - /// The resource type to be moved to the destination workload. It can be either - /// an existing project or a project-based workload. + /// The resource type to be moved to the destination workload. It can be either + /// an existing project or a project-based workload. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ProjectOrWorkloadResource { - /// The source type is a project-based workload. Specify the workloads's - /// relative resource name, formatted as: - /// "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" - /// For example: - /// "organizations/123/locations/us-east1/workloads/assured-workload-1" + /// The source type is a project-based workload. Specify the workloads's + /// relative resource name, formatted as: + /// "organizations/{ORGANIZATION_ID}/locations/{LOCATION_ID}/workloads/{WORKLOAD_ID}" + /// For example: + /// "organizations/123/locations/us-east1/workloads/assured-workload-1" #[prost(string, tag="1")] Source(::prost::alloc::string::String), - /// The source type is a project. Specify the project's relative resource - /// name, formatted as either a project number or a project ID: - /// "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" - /// For example: - /// "projects/951040570662" when specifying a project number, or - /// "projects/my-project-123" when specifying a project ID. + /// The source type is a project. Specify the project's relative resource + /// name, formatted as either a project number or a project ID: + /// "projects/{PROJECT_NUMBER}" or "projects/{PROJECT_ID}" + /// For example: + /// "projects/951040570662" when specifying a project number, or + /// "projects/my-project-123" when specifying a project ID. #[prost(string, tag="3")] Project(::prost::alloc::string::String), } } -/// A response that includes the analysis of the hypothetical resource move. +/// A response that includes the analysis of the hypothetical resource move. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalyzeWorkloadMoveResponse { - /// A list of blockers that should be addressed before moving the source - /// project or project-based workload to the destination folder-based workload. + /// A list of blockers that should be addressed before moving the source + /// project or project-based workload to the destination folder-based workload. #[prost(string, repeated, tag="1")] pub blockers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for fetching workloads in an organization. +/// Request for fetching workloads in an organization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkloadsRequest { - /// Required. Parent Resource to list workloads from. - /// Must be of the form `organizations/{org_id}/locations/{location}`. + /// Required. Parent Resource to list workloads from. + /// Must be of the form `organizations/{org_id}/locations/{location}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token returned from previous request. Page token contains context from - /// previous request. Page token needs to be passed in the second and following - /// requests. + /// Page token returned from previous request. Page token contains context from + /// previous request. Page token needs to be passed in the second and following + /// requests. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A custom filter for filtering by properties of a workload. At this time, - /// only filtering by labels is supported. + /// A custom filter for filtering by properties of a workload. At this time, + /// only filtering by labels is supported. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response of ListWorkloads endpoint. +/// Response of ListWorkloads endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkloadsResponse { - /// List of Workloads under a given parent. + /// List of Workloads under a given parent. #[prost(message, repeated, tag="1")] pub workloads: ::prost::alloc::vec::Vec, - /// The next page token. Return empty if reached the last page. + /// The next page token. Return empty if reached the last page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// An Workload object for managing highly regulated workloads of cloud -/// customers. +/// An Workload object for managing highly regulated workloads of cloud +/// customers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Workload { - /// Optional. The resource name of the workload. - /// Format: - /// organizations/{organization}/locations/{location}/workloads/{workload} + /// Optional. The resource name of the workload. + /// Format: + /// organizations/{organization}/locations/{location}/workloads/{workload} /// - /// Read-only. + /// Read-only. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-assigned display name of the Workload. - /// When present it must be between 4 to 30 characters. - /// Allowed characters are: lowercase and uppercase letters, numbers, - /// hyphen, and spaces. + /// Required. The user-assigned display name of the Workload. + /// When present it must be between 4 to 30 characters. + /// Allowed characters are: lowercase and uppercase letters, numbers, + /// hyphen, and spaces. /// - /// Example: My Workload + /// Example: My Workload #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The resources associated with this workload. - /// These resources will be created when creating the workload. - /// If any of the projects already exist, the workload creation will fail. - /// Always read only. + /// Output only. The resources associated with this workload. + /// These resources will be created when creating the workload. + /// If any of the projects already exist, the workload creation will fail. + /// Always read only. #[prost(message, repeated, tag="3")] pub resources: ::prost::alloc::vec::Vec, - /// Required. Immutable. Compliance Regime associated with this workload. + /// Required. Immutable. Compliance Regime associated with this workload. #[prost(enumeration="workload::ComplianceRegime", tag="4")] pub compliance_regime: i32, - /// Output only. Immutable. The Workload creation timestamp. + /// Output only. Immutable. The Workload creation timestamp. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The billing account used for the resources which are - /// direct children of workload. This billing account is initially associated - /// with the resources created as part of Workload creation. - /// After the initial creation of these resources, the customer can change - /// the assigned billing account. - /// The resource name has the form - /// `billingAccounts/{billing_account_id}`. For example, - /// `billingAccounts/012345-567890-ABCDEF`. + /// Output only. The billing account used for the resources which are + /// direct children of workload. This billing account is initially associated + /// with the resources created as part of Workload creation. + /// After the initial creation of these resources, the customer can change + /// the assigned billing account. + /// The resource name has the form + /// `billingAccounts/{billing_account_id}`. For example, + /// `billingAccounts/012345-567890-ABCDEF`. #[prost(string, tag="6")] pub billing_account: ::prost::alloc::string::String, - /// Optional. ETag of the workload, it is calculated on the basis - /// of the Workload contents. It will be used in Update & Delete operations. + /// Optional. ETag of the workload, it is calculated on the basis + /// of the Workload contents. It will be used in Update & Delete operations. #[prost(string, tag="9")] pub etag: ::prost::alloc::string::String, - /// Optional. Labels applied to the workload. + /// Optional. Labels applied to the workload. #[prost(map="string, string", tag="10")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Input only. The parent resource for the resources managed by this Assured Workload. May - /// be either empty or a folder resource which is a child of the - /// Workload parent. If not specified all resources are created under the - /// parent organization. - /// Format: - /// folders/{folder_id} + /// Input only. The parent resource for the resources managed by this Assured Workload. May + /// be either empty or a folder resource which is a child of the + /// Workload parent. If not specified all resources are created under the + /// parent organization. + /// Format: + /// folders/{folder_id} #[prost(string, tag="13")] pub provisioned_resources_parent: ::prost::alloc::string::String, - /// Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS - /// CMEK key is provisioned. - /// This field is deprecated as of Feb 28, 2022. - /// In order to create a Keyring, callers should specify, - /// ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field. + /// Input only. Settings used to create a CMEK crypto key. When set, a project with a KMS + /// CMEK key is provisioned. + /// This field is deprecated as of Feb 28, 2022. + /// In order to create a Keyring, callers should specify, + /// ENCRYPTION_KEYS_PROJECT or KEYRING in ResourceSettings.resource_type field. #[deprecated] #[prost(message, optional, tag="14")] pub kms_settings: ::core::option::Option, - /// Input only. Resource properties that are used to customize workload resources. - /// These properties (such as custom project id) will be used to create - /// workload resources if possible. This field is optional. + /// Input only. Resource properties that are used to customize workload resources. + /// These properties (such as custom project id) will be used to create + /// workload resources if possible. This field is optional. #[prost(message, repeated, tag="15")] pub resource_settings: ::prost::alloc::vec::Vec, - /// Output only. Represents the KAJ enrollment state of the given workload. + /// Output only. Represents the KAJ enrollment state of the given workload. #[prost(enumeration="workload::KajEnrollmentState", tag="17")] pub kaj_enrollment_state: i32, - /// Optional. Indicates the sovereignty status of the given workload. - /// Currently meant to be used by Europe/Canada customers. + /// Optional. Indicates the sovereignty status of the given workload. + /// Currently meant to be used by Europe/Canada customers. #[prost(bool, tag="18")] pub enable_sovereign_controls: bool, - /// Output only. Represents the SAA enrollment response of the given workload. - /// SAA enrollment response is queried during GetWorkload call. - /// In failure cases, user friendly error message is shown in SAA details page. + /// Output only. Represents the SAA enrollment response of the given workload. + /// SAA enrollment response is queried during GetWorkload call. + /// In failure cases, user friendly error message is shown in SAA details page. #[prost(message, optional, tag="20")] pub saa_enrollment_response: ::core::option::Option, - /// Output only. Urls for services which are compliant for this Assured Workload, but which - /// are currently disallowed by the ResourceUsageRestriction org policy. - /// Invoke RestrictAllowedResources endpoint to allow your project developers - /// to use these services in their environment." + /// Output only. Urls for services which are compliant for this Assured Workload, but which + /// are currently disallowed by the ResourceUsageRestriction org policy. + /// Invoke RestrictAllowedResources endpoint to allow your project developers + /// to use these services in their environment." #[prost(string, repeated, tag="24")] pub compliant_but_disallowed_services: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Settings specific to the selected \[compliance_regime\] + /// Settings specific to the selected \[compliance_regime\] #[prost(oneof="workload::ComplianceRegimeSettings", tags="7, 8, 11, 12")] pub compliance_regime_settings: ::core::option::Option, } /// Nested message and enum types in `Workload`. pub mod workload { - /// Represent the resources that are children of this Workload. + /// Represent the resources that are children of this Workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceInfo { - /// Resource identifier. - /// For a project this represents project_number. + /// Resource identifier. + /// For a project this represents project_number. #[prost(int64, tag="1")] pub resource_id: i64, - /// Indicates the type of resource. + /// Indicates the type of resource. #[prost(enumeration="resource_info::ResourceType", tag="2")] pub resource_type: i32, } /// Nested message and enum types in `ResourceInfo`. pub mod resource_info { - /// The type of resource. + /// The type of resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceType { - /// Unknown resource type. + /// Unknown resource type. Unspecified = 0, - /// Deprecated. Existing workloads will continue to support this, but new - /// CreateWorkloadRequests should not specify this as an input value. + /// Deprecated. Existing workloads will continue to support this, but new + /// CreateWorkloadRequests should not specify this as an input value. ConsumerProject = 1, - /// Consumer Folder. + /// Consumer Folder. ConsumerFolder = 4, - /// Consumer project containing encryption keys. + /// Consumer project containing encryption keys. EncryptionKeysProject = 2, - /// Keyring resource that hosts encryption keys. + /// Keyring resource that hosts encryption keys. Keyring = 3, } impl ResourceType { @@ -317,89 +317,89 @@ pub mod workload { } } } - /// Settings specific to the Key Management Service. + /// Settings specific to the Key Management Service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KmsSettings { - /// Required. Input only. Immutable. The time at which the Key Management Service will automatically create a - /// new version of the crypto key and mark it as the primary. + /// Required. Input only. Immutable. The time at which the Key Management Service will automatically create a + /// new version of the crypto key and mark it as the primary. #[prost(message, optional, tag="1")] pub next_rotation_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Input only. Immutable. \[next_rotation_time\] will be advanced by this period when the Key - /// Management Service automatically rotates a key. Must be at least 24 hours - /// and at most 876,000 hours. + /// Required. Input only. Immutable. \[next_rotation_time\] will be advanced by this period when the Key + /// Management Service automatically rotates a key. Must be at least 24 hours + /// and at most 876,000 hours. #[prost(message, optional, tag="2")] pub rotation_period: ::core::option::Option<::prost_types::Duration>, } - /// Settings specific to resources needed for IL4. + /// Settings specific to resources needed for IL4. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Il4Settings { - /// Input only. Immutable. Settings used to create a CMEK crypto key. + /// Input only. Immutable. Settings used to create a CMEK crypto key. #[prost(message, optional, tag="1")] pub kms_settings: ::core::option::Option, } - /// Settings specific to resources needed for CJIS. + /// Settings specific to resources needed for CJIS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CjisSettings { - /// Input only. Immutable. Settings used to create a CMEK crypto key. + /// Input only. Immutable. Settings used to create a CMEK crypto key. #[prost(message, optional, tag="1")] pub kms_settings: ::core::option::Option, } - /// Settings specific to resources needed for FedRAMP High. + /// Settings specific to resources needed for FedRAMP High. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FedrampHighSettings { - /// Input only. Immutable. Settings used to create a CMEK crypto key. + /// Input only. Immutable. Settings used to create a CMEK crypto key. #[prost(message, optional, tag="1")] pub kms_settings: ::core::option::Option, } - /// Settings specific to resources needed for FedRAMP Moderate. + /// Settings specific to resources needed for FedRAMP Moderate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FedrampModerateSettings { - /// Input only. Immutable. Settings used to create a CMEK crypto key. + /// Input only. Immutable. Settings used to create a CMEK crypto key. #[prost(message, optional, tag="1")] pub kms_settings: ::core::option::Option, } - /// Represent the custom settings for the resources to be created. + /// Represent the custom settings for the resources to be created. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSettings { - /// Resource identifier. - /// For a project this represents project_id. If the project is already - /// taken, the workload creation will fail. - /// For KeyRing, this represents the keyring_id. - /// For a folder, don't set this value as folder_id is assigned by Google. + /// Resource identifier. + /// For a project this represents project_id. If the project is already + /// taken, the workload creation will fail. + /// For KeyRing, this represents the keyring_id. + /// For a folder, don't set this value as folder_id is assigned by Google. #[prost(string, tag="1")] pub resource_id: ::prost::alloc::string::String, - /// Indicates the type of resource. This field should be specified to - /// correspond the id to the right project type (CONSUMER_PROJECT or - /// ENCRYPTION_KEYS_PROJECT) + /// Indicates the type of resource. This field should be specified to + /// correspond the id to the right project type (CONSUMER_PROJECT or + /// ENCRYPTION_KEYS_PROJECT) #[prost(enumeration="resource_info::ResourceType", tag="2")] pub resource_type: i32, - /// User-assigned resource display name. - /// If not empty it will be used to create a resource with the specified - /// name. + /// User-assigned resource display name. + /// If not empty it will be used to create a resource with the specified + /// name. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, } - /// Signed Access Approvals (SAA) enrollment response. + /// Signed Access Approvals (SAA) enrollment response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SaaEnrollmentResponse { - /// Indicates SAA enrollment status of a given workload. + /// Indicates SAA enrollment status of a given workload. #[prost(enumeration="saa_enrollment_response::SetupState", optional, tag="1")] pub setup_status: ::core::option::Option, - /// Indicates SAA enrollment setup error if any. + /// Indicates SAA enrollment setup error if any. #[prost(enumeration="saa_enrollment_response::SetupError", repeated, tag="2")] pub setup_errors: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SaaEnrollmentResponse`. pub mod saa_enrollment_response { - /// Setup state of SAA enrollment. + /// Setup state of SAA enrollment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SetupState { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// SAA enrollment pending. + /// SAA enrollment pending. StatusPending = 1, - /// SAA enrollment comopleted. + /// SAA enrollment comopleted. StatusComplete = 2, } impl SetupState { @@ -415,22 +415,22 @@ pub mod workload { } } } - /// Setup error of SAA enrollment. + /// Setup error of SAA enrollment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SetupError { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Invalid states for all customers, to be redirected to AA UI for - /// additional details. + /// Invalid states for all customers, to be redirected to AA UI for + /// additional details. ErrorInvalidBaseSetup = 1, - /// Returned when there is not an EKM key configured. + /// Returned when there is not an EKM key configured. ErrorMissingExternalSigningKey = 2, - /// Returned when there are no enrolled services or the customer is - /// enrolled in CAA only for a subset of services. + /// Returned when there are no enrolled services or the customer is + /// enrolled in CAA only for a subset of services. ErrorNotAllServicesEnrolled = 3, - /// Returned when exception was encountered during evaluation of other - /// criteria. + /// Returned when exception was encountered during evaluation of other + /// criteria. ErrorSetupCheckFailed = 4, } impl SetupError { @@ -449,33 +449,33 @@ pub mod workload { } } } - /// Supported Compliance Regimes. + /// Supported Compliance Regimes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ComplianceRegime { - /// Unknown compliance regime. + /// Unknown compliance regime. Unspecified = 0, - /// Information protection as per DoD IL4 requirements. + /// Information protection as per DoD IL4 requirements. Il4 = 1, - /// Criminal Justice Information Services (CJIS) Security policies. + /// Criminal Justice Information Services (CJIS) Security policies. Cjis = 2, - /// FedRAMP High data protection controls + /// FedRAMP High data protection controls FedrampHigh = 3, - /// FedRAMP Moderate data protection controls + /// FedRAMP Moderate data protection controls FedrampModerate = 4, - /// Assured Workloads For US Regions data protection controls + /// Assured Workloads For US Regions data protection controls UsRegionalAccess = 5, - /// Health Insurance Portability and Accountability Act controls + /// Health Insurance Portability and Accountability Act controls Hipaa = 6, - /// Health Information Trust Alliance controls + /// Health Information Trust Alliance controls Hitrust = 7, - /// Assured Workloads For EU Regions and Support controls + /// Assured Workloads For EU Regions and Support controls EuRegionsAndSupport = 8, - /// Assured Workloads For Canada Regions and Support controls + /// Assured Workloads For Canada Regions and Support controls CaRegionsAndSupport = 9, - /// International Traffic in Arms Regulations + /// International Traffic in Arms Regulations Itar = 10, - /// Assured Workloads for Australia Regions and Support controls + /// Assured Workloads for Australia Regions and Support controls AuRegionsAndUsSupport = 11, } impl ComplianceRegime { @@ -500,15 +500,15 @@ pub mod workload { } } } - /// Key Access Justifications(KAJ) Enrollment State. + /// Key Access Justifications(KAJ) Enrollment State. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KajEnrollmentState { - /// Default State for KAJ Enrollment. + /// Default State for KAJ Enrollment. Unspecified = 0, - /// Pending State for KAJ Enrollment. + /// Pending State for KAJ Enrollment. Pending = 1, - /// Complete State for KAJ Enrollment. + /// Complete State for KAJ Enrollment. Complete = 2, } impl KajEnrollmentState { @@ -524,41 +524,41 @@ pub mod workload { } } } - /// Settings specific to the selected \[compliance_regime\] + /// Settings specific to the selected \[compliance_regime\] #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ComplianceRegimeSettings { - /// Input only. Immutable. Settings specific to resources needed for IL4. + /// Input only. Immutable. Settings specific to resources needed for IL4. #[prost(message, tag="7")] Il4Settings(Il4Settings), - /// Input only. Immutable. Settings specific to resources needed for CJIS. + /// Input only. Immutable. Settings specific to resources needed for CJIS. #[prost(message, tag="8")] CjisSettings(CjisSettings), - /// Input only. Immutable. Settings specific to resources needed for FedRAMP High. + /// Input only. Immutable. Settings specific to resources needed for FedRAMP High. #[prost(message, tag="11")] FedrampHighSettings(FedrampHighSettings), - /// Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate. + /// Input only. Immutable. Settings specific to resources needed for FedRAMP Moderate. #[prost(message, tag="12")] FedrampModerateSettings(FedrampModerateSettings), } } -/// Operation metadata to give request details of CreateWorkload. +/// Operation metadata to give request details of CreateWorkload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkloadOperationMetadata { - /// Optional. Time when the operation was created. + /// Optional. Time when the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The display name of the workload. + /// Optional. The display name of the workload. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. The parent of the workload. + /// Optional. The parent of the workload. #[prost(string, tag="3")] pub parent: ::prost::alloc::string::String, - /// Optional. Compliance controls that should be applied to the resources managed by - /// the workload. + /// Optional. Compliance controls that should be applied to the resources managed by + /// the workload. #[prost(enumeration="workload::ComplianceRegime", tag="4")] pub compliance_regime: i32, - /// Optional. Resource properties in the input that are used for creating/customizing - /// workload resources. + /// Optional. Resource properties in the input that are used for creating/customizing + /// workload resources. #[prost(message, repeated, tag="5")] pub resource_settings: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.cloud.audit.rs b/gcloud-sdk/genproto/google.cloud.audit.rs index 33b21b6a5..107a1fe0b 100644 --- a/gcloud-sdk/genproto/google.cloud.audit.rs +++ b/gcloud-sdk/genproto/google.cloud.audit.rs @@ -1,221 +1,221 @@ -/// Common audit log format for Google Cloud Platform API operations. +/// Common audit log format for Google Cloud Platform API operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditLog { - /// The name of the API service performing the operation. For example, - /// `"compute.googleapis.com"`. + /// The name of the API service performing the operation. For example, + /// `"compute.googleapis.com"`. #[prost(string, tag="7")] pub service_name: ::prost::alloc::string::String, - /// The name of the service method or operation. - /// For API calls, this should be the name of the API method. - /// For example, + /// The name of the service method or operation. + /// For API calls, this should be the name of the API method. + /// For example, /// /// "google.cloud.bigquery.v2.TableService.InsertTable" /// "google.logging.v2.ConfigServiceV2.CreateSink" #[prost(string, tag="8")] pub method_name: ::prost::alloc::string::String, - /// The resource or collection that is the target of the operation. - /// The name is a scheme-less URI, not including the API service name. - /// For example: + /// The resource or collection that is the target of the operation. + /// The name is a scheme-less URI, not including the API service name. + /// For example: /// /// "projects/PROJECT_ID/zones/us-central1-a/instances" /// "projects/PROJECT_ID/datasets/DATASET_ID" #[prost(string, tag="11")] pub resource_name: ::prost::alloc::string::String, - /// The resource location information. + /// The resource location information. #[prost(message, optional, tag="20")] pub resource_location: ::core::option::Option, - /// The resource's original state before mutation. Present only for - /// operations which have successfully modified the targeted resource(s). - /// In general, this field should contain all changed fields, except those - /// that are already been included in `request`, `response`, `metadata` or - /// `service_data` fields. - /// When the JSON object represented here has a proto equivalent, - /// the proto name will be indicated in the `@type` property. + /// The resource's original state before mutation. Present only for + /// operations which have successfully modified the targeted resource(s). + /// In general, this field should contain all changed fields, except those + /// that are already been included in `request`, `response`, `metadata` or + /// `service_data` fields. + /// When the JSON object represented here has a proto equivalent, + /// the proto name will be indicated in the `@type` property. #[prost(message, optional, tag="19")] pub resource_original_state: ::core::option::Option<::prost_types::Struct>, - /// The number of items returned from a List or Query API method, - /// if applicable. + /// The number of items returned from a List or Query API method, + /// if applicable. #[prost(int64, tag="12")] pub num_response_items: i64, - /// The status of the overall operation. + /// The status of the overall operation. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, - /// Authentication information. + /// Authentication information. #[prost(message, optional, tag="3")] pub authentication_info: ::core::option::Option, - /// Authorization information. If there are multiple - /// resources or permissions involved, then there is - /// one AuthorizationInfo element for each {resource, permission} tuple. + /// Authorization information. If there are multiple + /// resources or permissions involved, then there is + /// one AuthorizationInfo element for each {resource, permission} tuple. #[prost(message, repeated, tag="9")] pub authorization_info: ::prost::alloc::vec::Vec, - /// Metadata about the operation. + /// Metadata about the operation. #[prost(message, optional, tag="4")] pub request_metadata: ::core::option::Option, - /// The operation request. This may not include all request parameters, - /// such as those that are too large, privacy-sensitive, or duplicated - /// elsewhere in the log record. - /// It should never include user-generated data, such as file contents. - /// When the JSON object represented here has a proto equivalent, the proto - /// name will be indicated in the `@type` property. + /// The operation request. This may not include all request parameters, + /// such as those that are too large, privacy-sensitive, or duplicated + /// elsewhere in the log record. + /// It should never include user-generated data, such as file contents. + /// When the JSON object represented here has a proto equivalent, the proto + /// name will be indicated in the `@type` property. #[prost(message, optional, tag="16")] pub request: ::core::option::Option<::prost_types::Struct>, - /// The operation response. This may not include all response elements, - /// such as those that are too large, privacy-sensitive, or duplicated - /// elsewhere in the log record. - /// It should never include user-generated data, such as file contents. - /// When the JSON object represented here has a proto equivalent, the proto - /// name will be indicated in the `@type` property. + /// The operation response. This may not include all response elements, + /// such as those that are too large, privacy-sensitive, or duplicated + /// elsewhere in the log record. + /// It should never include user-generated data, such as file contents. + /// When the JSON object represented here has a proto equivalent, the proto + /// name will be indicated in the `@type` property. #[prost(message, optional, tag="17")] pub response: ::core::option::Option<::prost_types::Struct>, - /// Other service-specific data about the request, response, and other - /// information associated with the current audited event. + /// Other service-specific data about the request, response, and other + /// information associated with the current audited event. #[prost(message, optional, tag="18")] pub metadata: ::core::option::Option<::prost_types::Struct>, - /// Deprecated. Use the `metadata` field instead. - /// Other service-specific data about the request, response, and other - /// activities. + /// Deprecated. Use the `metadata` field instead. + /// Other service-specific data about the request, response, and other + /// activities. #[deprecated] #[prost(message, optional, tag="15")] pub service_data: ::core::option::Option<::prost_types::Any>, } -/// Authentication information for the operation. +/// Authentication information for the operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthenticationInfo { - /// The email address of the authenticated user (or service account on behalf - /// of third party principal) making the request. For third party identity - /// callers, the `principal_subject` field is populated instead of this field. - /// For privacy reasons, the principal email address is sometimes redacted. - /// For more information, see - /// + /// The email address of the authenticated user (or service account on behalf + /// of third party principal) making the request. For third party identity + /// callers, the `principal_subject` field is populated instead of this field. + /// For privacy reasons, the principal email address is sometimes redacted. + /// For more information, see + /// #[prost(string, tag="1")] pub principal_email: ::prost::alloc::string::String, - /// The authority selector specified by the requestor, if any. - /// It is not guaranteed that the principal was allowed to use this authority. + /// The authority selector specified by the requestor, if any. + /// It is not guaranteed that the principal was allowed to use this authority. #[prost(string, tag="2")] pub authority_selector: ::prost::alloc::string::String, - /// The third party identification (if any) of the authenticated user making - /// the request. - /// When the JSON object represented here has a proto equivalent, the proto - /// name will be indicated in the `@type` property. + /// The third party identification (if any) of the authenticated user making + /// the request. + /// When the JSON object represented here has a proto equivalent, the proto + /// name will be indicated in the `@type` property. #[prost(message, optional, tag="4")] pub third_party_principal: ::core::option::Option<::prost_types::Struct>, - /// The name of the service account key used to create or exchange - /// credentials for authenticating the service account making the request. - /// This is a scheme-less URI full resource name. For example: + /// The name of the service account key used to create or exchange + /// credentials for authenticating the service account making the request. + /// This is a scheme-less URI full resource name. For example: /// - /// "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" + /// "//iam.googleapis.com/projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}/keys/{key}" #[prost(string, tag="5")] pub service_account_key_name: ::prost::alloc::string::String, - /// Identity delegation history of an authenticated service account that makes - /// the request. It contains information on the real authorities that try to - /// access GCP resources by delegating on a service account. When multiple - /// authorities present, they are guaranteed to be sorted based on the original - /// ordering of the identity delegation events. + /// Identity delegation history of an authenticated service account that makes + /// the request. It contains information on the real authorities that try to + /// access GCP resources by delegating on a service account. When multiple + /// authorities present, they are guaranteed to be sorted based on the original + /// ordering of the identity delegation events. #[prost(message, repeated, tag="6")] pub service_account_delegation_info: ::prost::alloc::vec::Vec, - /// String representation of identity of requesting party. - /// Populated for both first and third party identities. + /// String representation of identity of requesting party. + /// Populated for both first and third party identities. #[prost(string, tag="8")] pub principal_subject: ::prost::alloc::string::String, } -/// Authorization information for the operation. +/// Authorization information for the operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationInfo { - /// The resource being accessed, as a REST-style or cloud resource string. - /// For example: + /// The resource being accessed, as a REST-style or cloud resource string. + /// For example: /// /// bigquery.googleapis.com/projects/PROJECTID/datasets/DATASETID - /// or + /// or /// projects/PROJECTID/datasets/DATASETID #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The required IAM permission. + /// The required IAM permission. #[prost(string, tag="2")] pub permission: ::prost::alloc::string::String, - /// Whether or not authorization for `resource` and `permission` - /// was granted. + /// Whether or not authorization for `resource` and `permission` + /// was granted. #[prost(bool, tag="3")] pub granted: bool, - /// Resource attributes used in IAM condition evaluation. This field contains - /// resource attributes like resource type and resource name. + /// Resource attributes used in IAM condition evaluation. This field contains + /// resource attributes like resource type and resource name. /// - /// To get the whole view of the attributes used in IAM - /// condition evaluation, the user must also look into - /// `AuditLog.request_metadata.request_attributes`. + /// To get the whole view of the attributes used in IAM + /// condition evaluation, the user must also look into + /// `AuditLog.request_metadata.request_attributes`. #[prost(message, optional, tag="5")] pub resource_attributes: ::core::option::Option, } -/// Metadata about the request. +/// Metadata about the request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestMetadata { - /// The IP address of the caller. - /// For caller from internet, this will be public IPv4 or IPv6 address. - /// For caller from a Compute Engine VM with external IP address, this - /// will be the VM's external IP address. For caller from a Compute - /// Engine VM without external IP address, if the VM is in the same - /// organization (or project) as the accessed resource, `caller_ip` will - /// be the VM's internal IPv4 address, otherwise the `caller_ip` will be - /// redacted to "gce-internal-ip". - /// See for more information. + /// The IP address of the caller. + /// For caller from internet, this will be public IPv4 or IPv6 address. + /// For caller from a Compute Engine VM with external IP address, this + /// will be the VM's external IP address. For caller from a Compute + /// Engine VM without external IP address, if the VM is in the same + /// organization (or project) as the accessed resource, `caller_ip` will + /// be the VM's internal IPv4 address, otherwise the `caller_ip` will be + /// redacted to "gce-internal-ip". + /// See for more information. #[prost(string, tag="1")] pub caller_ip: ::prost::alloc::string::String, - /// The user agent of the caller. - /// This information is not authenticated and should be treated accordingly. - /// For example: + /// The user agent of the caller. + /// This information is not authenticated and should be treated accordingly. + /// For example: /// - /// + `google-api-python-client/1.4.0`: + /// + `google-api-python-client/1.4.0`: /// The request was made by the Google API client for Python. - /// + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: + /// + `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0.9.62`: /// The request was made by the Google Cloud SDK CLI (gcloud). - /// + `AppEngine-Google; (+ appid: - /// s~my-project`: + /// + `AppEngine-Google; (+ appid: + /// s~my-project`: /// The request was made from the `my-project` App Engine app. #[prost(string, tag="2")] pub caller_supplied_user_agent: ::prost::alloc::string::String, - /// The network of the caller. - /// Set only if the network host project is part of the same GCP organization - /// (or project) as the accessed resource. - /// See for more information. - /// This is a scheme-less URI full resource name. For example: + /// The network of the caller. + /// Set only if the network host project is part of the same GCP organization + /// (or project) as the accessed resource. + /// See for more information. + /// This is a scheme-less URI full resource name. For example: /// /// "//compute.googleapis.com/projects/PROJECT_ID/global/networks/NETWORK_ID" #[prost(string, tag="3")] pub caller_network: ::prost::alloc::string::String, - /// Request attributes used in IAM condition evaluation. This field contains - /// request attributes like request time and access levels associated with - /// the request. + /// Request attributes used in IAM condition evaluation. This field contains + /// request attributes like request time and access levels associated with + /// the request. /// /// - /// To get the whole view of the attributes used in IAM - /// condition evaluation, the user must also look into - /// `AuditLog.authentication_info.resource_attributes`. + /// To get the whole view of the attributes used in IAM + /// condition evaluation, the user must also look into + /// `AuditLog.authentication_info.resource_attributes`. #[prost(message, optional, tag="7")] pub request_attributes: ::core::option::Option, - /// The destination of a network activity, such as accepting a TCP connection. - /// In a multi hop network activity, the destination represents the receiver of - /// the last hop. Only two fields are used in this message, Peer.port and - /// Peer.ip. These fields are optionally populated by those services utilizing - /// the IAM condition feature. + /// The destination of a network activity, such as accepting a TCP connection. + /// In a multi hop network activity, the destination represents the receiver of + /// the last hop. Only two fields are used in this message, Peer.port and + /// Peer.ip. These fields are optionally populated by those services utilizing + /// the IAM condition feature. #[prost(message, optional, tag="8")] pub destination_attributes: ::core::option::Option, } -/// Location information about a resource. +/// Location information about a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceLocation { - /// The locations of a resource after the execution of the operation. - /// Requests to create or delete a location based resource must populate - /// the 'current_locations' field and not the 'original_locations' field. - /// For example: + /// The locations of a resource after the execution of the operation. + /// Requests to create or delete a location based resource must populate + /// the 'current_locations' field and not the 'original_locations' field. + /// For example: /// /// "europe-west1-a" /// "us-east1" /// "nam3" #[prost(string, repeated, tag="1")] pub current_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The locations of a resource prior to the execution of the operation. - /// Requests that mutate the resource's location must populate both the - /// 'original_locations' as well as the 'current_locations' fields. - /// For example: + /// The locations of a resource prior to the execution of the operation. + /// Requests that mutate the resource's location must populate both the + /// 'original_locations' as well as the 'current_locations' fields. + /// For example: /// /// "europe-west1-a" /// "us-east1" @@ -223,84 +223,84 @@ pub struct ResourceLocation { #[prost(string, repeated, tag="2")] pub original_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Identity delegation history of an authenticated service account. +/// Identity delegation history of an authenticated service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAccountDelegationInfo { - /// A string representing the principal_subject associated with the identity. - /// For most identities, the format will be - /// `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` - /// except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) - /// that are still in the legacy format `serviceAccount:{identity pool - /// name}\[{subject}\]` + /// A string representing the principal_subject associated with the identity. + /// For most identities, the format will be + /// `principal://iam.googleapis.com/{identity pool name}/subject/{subject)` + /// except for some GKE identities (GKE_WORKLOAD, FREEFORM, GKE_HUB_WORKLOAD) + /// that are still in the legacy format `serviceAccount:{identity pool + /// name}\[{subject}\]` #[prost(string, tag="3")] pub principal_subject: ::prost::alloc::string::String, - /// Entity that creates credentials for service account and assumes its - /// identity for authentication. + /// Entity that creates credentials for service account and assumes its + /// identity for authentication. #[prost(oneof="service_account_delegation_info::Authority", tags="1, 2")] pub authority: ::core::option::Option, } /// Nested message and enum types in `ServiceAccountDelegationInfo`. pub mod service_account_delegation_info { - /// First party identity principal. + /// First party identity principal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirstPartyPrincipal { - /// The email address of a Google account. + /// The email address of a Google account. #[prost(string, tag="1")] pub principal_email: ::prost::alloc::string::String, - /// Metadata about the service that uses the service account. + /// Metadata about the service that uses the service account. #[prost(message, optional, tag="2")] pub service_metadata: ::core::option::Option<::prost_types::Struct>, } - /// Third party identity principal. + /// Third party identity principal. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThirdPartyPrincipal { - /// Metadata about third party identity. + /// Metadata about third party identity. #[prost(message, optional, tag="1")] pub third_party_claims: ::core::option::Option<::prost_types::Struct>, } - /// Entity that creates credentials for service account and assumes its - /// identity for authentication. + /// Entity that creates credentials for service account and assumes its + /// identity for authentication. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Authority { - /// First party (Google) identity as the real authority. + /// First party (Google) identity as the real authority. #[prost(message, tag="1")] FirstPartyPrincipal(FirstPartyPrincipal), - /// Third party identity as the real authority. + /// Third party identity as the real authority. #[prost(message, tag="2")] ThirdPartyPrincipal(ThirdPartyPrincipal), } } -/// Audit log format for BigQuery cloud audit logs metadata. +/// Audit log format for BigQuery cloud audit logs metadata. /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryAuditMetadata { - /// BigQuery event information. + /// BigQuery event information. #[prost(oneof="big_query_audit_metadata::Event", tags="1, 2, 3, 4, 5, 6, 8, 9, 10, 11, 12, 13, 14, 15, 19, 16, 17, 18")] pub event: ::core::option::Option, } /// Nested message and enum types in `BigQueryAuditMetadata`. pub mod big_query_audit_metadata { - /// Job insertion event. + /// Job insertion event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobInsertion { - /// Job metadata. + /// Job metadata. #[prost(message, optional, tag="1")] pub job: ::core::option::Option, - /// Describes how the job was inserted. + /// Describes how the job was inserted. #[prost(enumeration="job_insertion::Reason", tag="2")] pub reason: i32, } /// Nested message and enum types in `JobInsertion`. pub mod job_insertion { - /// Describes how the job was inserted. + /// Describes how the job was inserted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Job was inserted using the jobs.insert API. + /// Job was inserted using the jobs.insert API. JobInsertRequest = 1, - /// Job was inserted using the jobs.query RPC. + /// Job was inserted using the jobs.query RPC. QueryRequest = 2, } impl Reason { @@ -317,46 +317,46 @@ pub mod big_query_audit_metadata { } } } - /// Job state change event. + /// Job state change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobChange { - /// Job state before the job state change. + /// Job state before the job state change. #[prost(enumeration="JobState", tag="1")] pub before: i32, - /// Job state after the job state change. + /// Job state after the job state change. #[prost(enumeration="JobState", tag="2")] pub after: i32, - /// Job metadata. + /// Job metadata. #[prost(message, optional, tag="3")] pub job: ::core::option::Option, } - /// Dataset creation event. + /// Dataset creation event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetCreation { - /// Dataset metadata. + /// Dataset metadata. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// Describes how the dataset was created. + /// Describes how the dataset was created. #[prost(enumeration="dataset_creation::Reason", tag="2")] pub reason: i32, - /// The URI of the job that created the dataset. - /// Present if the reason is QUERY. + /// The URI of the job that created the dataset. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="3")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `DatasetCreation`. pub mod dataset_creation { - /// Describes how the dataset was created. + /// Describes how the dataset was created. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Dataset was created using the datasets.create API. + /// Dataset was created using the datasets.create API. Create = 1, - /// Dataset was created using a query job, e.g., CREATE SCHEMA statement. + /// Dataset was created using a query job, e.g., CREATE SCHEMA statement. Query = 2, } impl Reason { @@ -373,35 +373,35 @@ pub mod big_query_audit_metadata { } } } - /// Dataset change event. + /// Dataset change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetChange { - /// Dataset metadata after the change. + /// Dataset metadata after the change. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// Describes how the dataset was changed. + /// Describes how the dataset was changed. #[prost(enumeration="dataset_change::Reason", tag="2")] pub reason: i32, - /// The URI of the job that updated the dataset. - /// Present if the reason is QUERY. + /// The URI of the job that updated the dataset. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="3")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `DatasetChange`. pub mod dataset_change { - /// Describes how the dataset was changed. + /// Describes how the dataset was changed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Dataset was changed using the datasets.update or datasets.patch API. + /// Dataset was changed using the datasets.update or datasets.patch API. Update = 1, - /// Dataset was changed using the SetIamPolicy API. + /// Dataset was changed using the SetIamPolicy API. SetIamPolicy = 2, - /// Dataset was changed using a query job, e.g., ALTER SCHEMA statement. + /// Dataset was changed using a query job, e.g., ALTER SCHEMA statement. Query = 3, } impl Reason { @@ -419,30 +419,30 @@ pub mod big_query_audit_metadata { } } } - /// Dataset deletion event. + /// Dataset deletion event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetDeletion { - /// Describes how the dataset was deleted. + /// Describes how the dataset was deleted. #[prost(enumeration="dataset_deletion::Reason", tag="1")] pub reason: i32, - /// The URI of the job that deleted the dataset. - /// Present if the reason is QUERY. + /// The URI of the job that deleted the dataset. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="2")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `DatasetDeletion`. pub mod dataset_deletion { - /// Describes how the dataset was deleted. + /// Describes how the dataset was deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Dataset was deleted using the datasets.delete API. + /// Dataset was deleted using the datasets.delete API. Delete = 1, - /// Dataset was deleted using a query job, e.g., DROP SCHEMA statement. + /// Dataset was deleted using a query job, e.g., DROP SCHEMA statement. Query = 2, } impl Reason { @@ -459,36 +459,36 @@ pub mod big_query_audit_metadata { } } } - /// Table creation event. + /// Table creation event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableCreation { - /// Table metadata. + /// Table metadata. #[prost(message, optional, tag="1")] pub table: ::core::option::Option
, - /// Describes how the table was created. + /// Describes how the table was created. #[prost(enumeration="table_creation::Reason", tag="3")] pub reason: i32, - /// The URI of the job that created a table. - /// Present if the reason is JOB or QUERY. + /// The URI of the job that created a table. + /// Present if the reason is JOB or QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `TableCreation`. pub mod table_creation { - /// Describes how the table was created. + /// Describes how the table was created. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Table was created as a destination table during a query, load or copy - /// job. + /// Table was created as a destination table during a query, load or copy + /// job. Job = 1, - /// Table was created using a DDL query. + /// Table was created using a DDL query. Query = 2, - /// Table was created using the tables.create API. + /// Table was created using the tables.create API. TableInsertRequest = 3, } impl Reason { @@ -506,30 +506,30 @@ pub mod big_query_audit_metadata { } } } - /// Model creation event. + /// Model creation event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelCreation { - /// Model metadata. + /// Model metadata. #[prost(message, optional, tag="1")] pub model: ::core::option::Option, - /// Describes how the model was created. + /// Describes how the model was created. #[prost(enumeration="model_creation::Reason", tag="3")] pub reason: i32, - /// The URI of the job that created the model. + /// The URI of the job that created the model. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelCreation`. pub mod model_creation { - /// Describes how the model was created. + /// Describes how the model was created. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Model was created using a DDL query. + /// Model was created using a DDL query. Query = 2, } impl Reason { @@ -545,32 +545,32 @@ pub mod big_query_audit_metadata { } } } - /// Routine creation event. + /// Routine creation event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutineCreation { - /// Created routine. + /// Created routine. #[prost(message, optional, tag="1")] pub routine: ::core::option::Option, - /// Describes how the routine was created. + /// Describes how the routine was created. #[prost(enumeration="routine_creation::Reason", tag="3")] pub reason: i32, - /// The URI of the job that created the routine. + /// The URI of the job that created the routine. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `RoutineCreation`. pub mod routine_creation { - /// Describes how the routine was created. + /// Describes how the routine was created. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Routine was created using a DDL query. + /// Routine was created using a DDL query. Query = 1, - /// Routine was created using the routines.create API. + /// Routine was created using the routines.create API. RoutineInsertRequest = 2, } impl Reason { @@ -587,62 +587,62 @@ pub mod big_query_audit_metadata { } } } - /// Table data read event. + /// Table data read event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDataRead { - /// List of the accessed fields. Entire list is truncated if the record size - /// exceeds 100K. + /// List of the accessed fields. Entire list is truncated if the record size + /// exceeds 100K. #[prost(string, repeated, tag="2")] pub fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the fields list was truncated. + /// True if the fields list was truncated. #[prost(bool, tag="8")] pub fields_truncated: bool, - /// List of the referenced policy tags. That is, policy tags attached to the - /// accessed fields or their ancestors. - /// Policy tag resource name is a string of the format: - /// `projects//locations//taxonomies//policyTags/` + /// List of the referenced policy tags. That is, policy tags attached to the + /// accessed fields or their ancestors. + /// Policy tag resource name is a string of the format: + /// `projects//locations//taxonomies//policyTags/` #[prost(string, repeated, tag="9")] pub policy_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the policy tag list was truncated. At most 100 policy tags can be - /// saved. + /// True if the policy tag list was truncated. At most 100 policy tags can be + /// saved. #[prost(bool, tag="10")] pub policy_tags_truncated: bool, - /// Describes how the table data was read. + /// Describes how the table data was read. #[prost(enumeration="table_data_read::Reason", tag="3")] pub reason: i32, - /// The URI of the job that read a table. - /// Present if the reason is JOB but can be redacted for privacy reasons. + /// The URI of the job that read a table. + /// Present if the reason is JOB but can be redacted for privacy reasons. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, - /// The URI of the read session that read a table. - /// Present if the reason is CREATE_READ_SESSION. + /// The URI of the read session that read a table. + /// Present if the reason is CREATE_READ_SESSION. /// - /// Format: - /// `projects//locations//sessions/`. + /// Format: + /// `projects//locations//sessions/`. #[prost(string, tag="5")] pub session_name: ::prost::alloc::string::String, } /// Nested message and enum types in `TableDataRead`. pub mod table_data_read { - /// Describes how the table data was read. + /// Describes how the table data was read. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Table was used as a source table during a BigQuery job. + /// Table was used as a source table during a BigQuery job. Job = 1, - /// Table data was accessed using the tabledata.list API. + /// Table data was accessed using the tabledata.list API. TabledataListRequest = 2, - /// Table data was accessed using the jobs.getQueryResults API. + /// Table data was accessed using the jobs.getQueryResults API. GetQueryResultsRequest = 3, - /// Table data was accessed using the jobs.query RPC. + /// Table data was accessed using the jobs.query RPC. QueryRequest = 4, - /// Table data was accessed using storage.CreateReadSession API. + /// Table data was accessed using storage.CreateReadSession API. CreateReadSession = 5, - /// Table data was accessed during a materialized view refresh. + /// Table data was accessed during a materialized view refresh. MaterializedViewRefresh = 6, } impl Reason { @@ -663,38 +663,38 @@ pub mod big_query_audit_metadata { } } } - /// Table metadata change event. + /// Table metadata change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableChange { - /// Updated table metadata. + /// Updated table metadata. #[prost(message, optional, tag="1")] pub table: ::core::option::Option
, - /// True if the table was truncated. + /// True if the table was truncated. #[prost(bool, tag="4")] pub truncated: bool, - /// Describes how the table metadata was changed. + /// Describes how the table metadata was changed. #[prost(enumeration="table_change::Reason", tag="5")] pub reason: i32, - /// The URI of the job that changed a table. - /// Present if the reason is JOB or QUERY. + /// The URI of the job that changed a table. + /// Present if the reason is JOB or QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="6")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `TableChange`. pub mod table_change { - /// Describes how the table metadata was changed. + /// Describes how the table metadata was changed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Table metadata was updated using the tables.update or tables.patch API. + /// Table metadata was updated using the tables.update or tables.patch API. TableUpdateRequest = 1, - /// Table was used as a job destination table. + /// Table was used as a job destination table. Job = 2, - /// Table metadata was updated using a DML or DDL query. + /// Table metadata was updated using a DML or DDL query. Query = 3, } impl Reason { @@ -712,33 +712,33 @@ pub mod big_query_audit_metadata { } } } - /// Model metadata change event. + /// Model metadata change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelMetadataChange { - /// Updated model. + /// Updated model. #[prost(message, optional, tag="1")] pub model: ::core::option::Option, - /// Describes how the model metadata was changed. + /// Describes how the model metadata was changed. #[prost(enumeration="model_metadata_change::Reason", tag="2")] pub reason: i32, - /// The URI of the job that changed the model metadata. - /// Present if and only if the reason is QUERY. + /// The URI of the job that changed the model metadata. + /// Present if and only if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="3")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelMetadataChange`. pub mod model_metadata_change { - /// Describes how the model metadata was changed. + /// Describes how the model metadata was changed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Model metadata was updated using the models.patch API. + /// Model metadata was updated using the models.patch API. ModelPatchRequest = 1, - /// Model metadata was updated using a DDL query. + /// Model metadata was updated using a DDL query. Query = 2, } impl Reason { @@ -755,32 +755,32 @@ pub mod big_query_audit_metadata { } } } - /// Routine change event. + /// Routine change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutineChange { - /// Updated routine. + /// Updated routine. #[prost(message, optional, tag="1")] pub routine: ::core::option::Option, - /// Describes how the routine was updated. + /// Describes how the routine was updated. #[prost(enumeration="routine_change::Reason", tag="3")] pub reason: i32, - /// The URI of the job that updated the routine. + /// The URI of the job that updated the routine. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `RoutineChange`. pub mod routine_change { - /// Describes how the routine was updated. + /// Describes how the routine was updated. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Routine was updated using a DDL query. + /// Routine was updated using a DDL query. Query = 1, - /// Routine was updated using the routines.update or routines.patch API. + /// Routine was updated using the routines.update or routines.patch API. RoutineUpdateRequest = 2, } impl Reason { @@ -797,48 +797,48 @@ pub mod big_query_audit_metadata { } } } - /// Table data change event. + /// Table data change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDataChange { - /// Number of deleted rows. + /// Number of deleted rows. #[prost(int64, tag="1")] pub deleted_rows_count: i64, - /// Number of inserted rows. + /// Number of inserted rows. #[prost(int64, tag="2")] pub inserted_rows_count: i64, - /// True if the table was truncated. + /// True if the table was truncated. #[prost(bool, tag="3")] pub truncated: bool, - /// Describes how the table data was changed. + /// Describes how the table data was changed. #[prost(enumeration="table_data_change::Reason", tag="4")] pub reason: i32, - /// The URI of the job that changed a table. + /// The URI of the job that changed a table. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="5")] pub job_name: ::prost::alloc::string::String, - /// If written from WRITE_API, the name of the stream. + /// If written from WRITE_API, the name of the stream. /// - /// Format: - /// `projects//datasets//tables//streams/` + /// Format: + /// `projects//datasets//tables//streams/` #[prost(string, tag="6")] pub stream_name: ::prost::alloc::string::String, } /// Nested message and enum types in `TableDataChange`. pub mod table_data_change { - /// Describes how the table data was changed. + /// Describes how the table data was changed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Table was used as a job destination table. + /// Table was used as a job destination table. Job = 1, - /// Table data was updated using a DML or DDL query. + /// Table data was updated using a DML or DDL query. Query = 2, - /// Table data was updated during a materialized view refresh. + /// Table data was updated during a materialized view refresh. MaterializedViewRefresh = 3, - /// Table data was added using the Write API. + /// Table data was added using the Write API. WriteApi = 4, } impl Reason { @@ -857,27 +857,27 @@ pub mod big_query_audit_metadata { } } } - /// Model data change event. + /// Model data change event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDataChange { - /// Describes how the model data was changed. + /// Describes how the model data was changed. #[prost(enumeration="model_data_change::Reason", tag="1")] pub reason: i32, - /// The URI of the job that changed the model data. + /// The URI of the job that changed the model data. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="2")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelDataChange`. pub mod model_data_change { - /// Describes how the model data was changed. + /// Describes how the model data was changed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Model data was changed using a DDL query. + /// Model data was changed using a DDL query. Query = 1, } impl Reason { @@ -893,27 +893,27 @@ pub mod big_query_audit_metadata { } } } - /// Model data read event. + /// Model data read event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDataRead { - /// Describes how the model data was read. + /// Describes how the model data was read. #[prost(enumeration="model_data_read::Reason", tag="1")] pub reason: i32, - /// The URI of the job that read the model data. + /// The URI of the job that read the model data. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="2")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelDataRead`. pub mod model_data_read { - /// Describes how the model data was read. + /// Describes how the model data was read. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Model was used as a source model during a BigQuery job. + /// Model was used as a source model during a BigQuery job. Job = 1, } impl Reason { @@ -929,59 +929,59 @@ pub mod big_query_audit_metadata { } } } - /// BigQuery dataset. + /// BigQuery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Dataset URI. + /// Dataset URI. /// - /// Format: `projects//datasets/`. + /// Format: `projects//datasets/`. #[prost(string, tag="1")] pub dataset_name: ::prost::alloc::string::String, - /// Dataset creation time. + /// Dataset creation time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Dataset metadata last update time. + /// Dataset metadata last update time. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The access control list for the dataset. + /// The access control list for the dataset. #[prost(message, optional, tag="5")] pub acl: ::core::option::Option, - /// Default expiration time for tables in the dataset. + /// Default expiration time for tables in the dataset. #[prost(message, optional, tag="6")] pub default_table_expire_duration: ::core::option::Option<::prost_types::Duration>, - /// User-provided metadata for the dataset. + /// User-provided metadata for the dataset. #[prost(message, optional, tag="7")] pub dataset_info: ::core::option::Option, - /// Default encryption for tables in the dataset. + /// Default encryption for tables in the dataset. #[prost(message, optional, tag="8")] pub default_encryption: ::core::option::Option, } - /// Table deletion event. + /// Table deletion event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDeletion { - /// Describes how the table was deleted. + /// Describes how the table was deleted. #[prost(enumeration="table_deletion::Reason", tag="1")] pub reason: i32, - /// The URI of the job that deleted a table. - /// Present if the reason is QUERY. + /// The URI of the job that deleted a table. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="2")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `TableDeletion`. pub mod table_deletion { - /// Describes how the table was deleted. + /// Describes how the table was deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Table was deleted using the tables.delete API. + /// Table was deleted using the tables.delete API. TableDeleteRequest = 2, - /// Table expired. + /// Table expired. Expired = 3, - /// Table deleted using a DDL query. + /// Table deleted using a DDL query. Query = 4, } impl Reason { @@ -999,32 +999,32 @@ pub mod big_query_audit_metadata { } } } - /// Model deletion event. + /// Model deletion event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelDeletion { - /// Describes how the model was deleted. + /// Describes how the model was deleted. #[prost(enumeration="model_deletion::Reason", tag="1")] pub reason: i32, - /// The URI of the job that deleted a model. - /// Present if the reason is QUERY. + /// The URI of the job that deleted a model. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="2")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `ModelDeletion`. pub mod model_deletion { - /// Describes how the model was deleted. + /// Describes how the model was deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Model was deleted using the models.delete API. + /// Model was deleted using the models.delete API. ModelDeleteRequest = 1, - /// Model expired. + /// Model expired. Expired = 2, - /// Model was deleted using DDL query. + /// Model was deleted using DDL query. Query = 3, } impl Reason { @@ -1042,57 +1042,57 @@ pub mod big_query_audit_metadata { } } } - /// Trained BigQuery ML model. + /// Trained BigQuery ML model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// Model URI. + /// Model URI. /// - /// Format: `projects//datasets//models/`. + /// Format: `projects//datasets//models/`. #[prost(string, tag="1")] pub model_name: ::prost::alloc::string::String, - /// User-provided metadata for the model. + /// User-provided metadata for the model. #[prost(message, optional, tag="2")] pub model_info: ::core::option::Option, - /// Model expiration time. + /// Model expiration time. #[prost(message, optional, tag="5")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Model creation time. + /// Model creation time. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Model last update time. + /// Model last update time. #[prost(message, optional, tag="7")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Model encryption information. Set when non-default encryption is used. + /// Model encryption information. Set when non-default encryption is used. #[prost(message, optional, tag="8")] pub encryption: ::core::option::Option, } - /// Routine deletion event. + /// Routine deletion event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutineDeletion { - /// Deleted routine. + /// Deleted routine. #[prost(message, optional, tag="1")] pub routine: ::core::option::Option, - /// Describes how the routine was deleted. + /// Describes how the routine was deleted. #[prost(enumeration="routine_deletion::Reason", tag="3")] pub reason: i32, - /// The URI of the job that deleted the routine. - /// Present if the reason is QUERY. + /// The URI of the job that deleted the routine. + /// Present if the reason is QUERY. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="4")] pub job_name: ::prost::alloc::string::String, } /// Nested message and enum types in `RoutineDeletion`. pub mod routine_deletion { - /// Describes how the routine was deleted. + /// Describes how the routine was deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Routine was deleted using DDL query. + /// Routine was deleted using DDL query. Query = 1, - /// Routine was deleted using the API. + /// Routine was deleted using the API. RoutineDeleteRequest = 2, } impl Reason { @@ -1109,87 +1109,87 @@ pub mod big_query_audit_metadata { } } } - /// BigQuery job. + /// BigQuery job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Job URI. + /// Job URI. /// - /// Format: `projects//jobs/`. + /// Format: `projects//jobs/`. #[prost(string, tag="1")] pub job_name: ::prost::alloc::string::String, - /// Job configuration. + /// Job configuration. #[prost(message, optional, tag="2")] pub job_config: ::core::option::Option, - /// Job status. + /// Job status. #[prost(message, optional, tag="3")] pub job_status: ::core::option::Option, - /// Job statistics. + /// Job statistics. #[prost(message, optional, tag="4")] pub job_stats: ::core::option::Option, } - /// Job configuration. - /// See the \[Jobs\]() - /// API resource for more details on individual fields. + /// Job configuration. + /// See the \[Jobs\]() + /// API resource for more details on individual fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobConfig { - /// Job type. + /// Job type. #[prost(enumeration="job_config::Type", tag="1")] pub r#type: i32, - /// Labels provided for the job. + /// Labels provided for the job. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Job configuration information. + /// Job configuration information. #[prost(oneof="job_config::Config", tags="2, 3, 4, 5")] pub config: ::core::option::Option, } /// Nested message and enum types in `JobConfig`. pub mod job_config { - /// Query job configuration. + /// Query job configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Query { - /// The SQL query to run. Truncated if exceeds 50K. + /// The SQL query to run. Truncated if exceeds 50K. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// True if the query field was truncated. + /// True if the query field was truncated. #[prost(bool, tag="10")] pub query_truncated: bool, - /// The destination table for the query results. + /// The destination table for the query results. #[prost(string, tag="2")] pub destination_table: ::prost::alloc::string::String, - /// Destination table create disposition. + /// Destination table create disposition. #[prost(enumeration="super::CreateDisposition", tag="3")] pub create_disposition: i32, - /// Destination table write disposition. + /// Destination table write disposition. #[prost(enumeration="super::WriteDisposition", tag="4")] pub write_disposition: i32, - /// Default dataset for the query. + /// Default dataset for the query. #[prost(string, tag="5")] pub default_dataset: ::prost::alloc::string::String, - /// External data sources used in the query. + /// External data sources used in the query. #[prost(message, repeated, tag="6")] pub table_definitions: ::prost::alloc::vec::Vec, - /// Priority given to the query. + /// Priority given to the query. #[prost(enumeration="query::Priority", tag="7")] pub priority: i32, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="8")] pub destination_table_encryption: ::core::option::Option, - /// Type of the query. + /// Type of the query. #[prost(enumeration="super::QueryStatementType", tag="9")] pub statement_type: i32, } /// Nested message and enum types in `Query`. pub mod query { - /// Priority given to the query. + /// Priority given to the query. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Priority { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Interactive query. + /// Interactive query. QueryInteractive = 1, - /// Batch query. + /// Batch query. QueryBatch = 2, } impl Priority { @@ -1206,45 +1206,45 @@ pub mod big_query_audit_metadata { } } } - /// Load job configuration. + /// Load job configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Load { - /// URIs for the data to be imported. Entire list is truncated if exceeds - /// 40K. + /// URIs for the data to be imported. Entire list is truncated if exceeds + /// 40K. #[prost(string, repeated, tag="1")] pub source_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the source_URIs field was truncated. + /// True if the source_URIs field was truncated. #[prost(bool, tag="7")] pub source_uris_truncated: bool, - /// The table schema in JSON format. Entire field is truncated if exceeds - /// 40K. + /// The table schema in JSON format. Entire field is truncated if exceeds + /// 40K. #[prost(string, tag="2")] pub schema_json: ::prost::alloc::string::String, - /// True if the schema_json field was truncated. + /// True if the schema_json field was truncated. #[prost(bool, tag="8")] pub schema_json_truncated: bool, - /// The destination table for the import. + /// The destination table for the import. #[prost(string, tag="3")] pub destination_table: ::prost::alloc::string::String, - /// Destination table create disposition. + /// Destination table create disposition. #[prost(enumeration="super::CreateDisposition", tag="4")] pub create_disposition: i32, - /// Destination table write disposition. + /// Destination table write disposition. #[prost(enumeration="super::WriteDisposition", tag="5")] pub write_disposition: i32, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="6")] pub destination_table_encryption: ::core::option::Option, } - /// Extract job configuration. + /// Extract job configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Extract { - /// URIs where extracted data should be written. Entire list is truncated - /// if exceeds 50K. + /// URIs where extracted data should be written. Entire list is truncated + /// if exceeds 50K. #[prost(string, repeated, tag="1")] pub destination_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the destination_URIs field was truncated. + /// True if the destination_URIs field was truncated. #[prost(bool, tag="3")] pub destination_uris_truncated: bool, #[prost(oneof="extract::Source", tags="2, 4")] @@ -1254,57 +1254,57 @@ pub mod big_query_audit_metadata { pub mod extract { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The source table. + /// The source table. #[prost(string, tag="2")] SourceTable(::prost::alloc::string::String), - /// The source model. + /// The source model. #[prost(string, tag="4")] SourceModel(::prost::alloc::string::String), } } - /// Table copy job configuration. + /// Table copy job configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableCopy { - /// Source tables. Entire list is truncated if exceeds 50K. + /// Source tables. Entire list is truncated if exceeds 50K. #[prost(string, repeated, tag="1")] pub source_tables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// True if the source_tables field was truncated. + /// True if the source_tables field was truncated. #[prost(bool, tag="6")] pub source_tables_truncated: bool, - /// Destination table. + /// Destination table. #[prost(string, tag="2")] pub destination_table: ::prost::alloc::string::String, - /// Destination table create disposition. + /// Destination table create disposition. #[prost(enumeration="super::CreateDisposition", tag="3")] pub create_disposition: i32, - /// Destination table write disposition. + /// Destination table write disposition. #[prost(enumeration="super::WriteDisposition", tag="4")] pub write_disposition: i32, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="5")] pub destination_table_encryption: ::core::option::Option, - /// Supported operation types in the table copy job. + /// Supported operation types in the table copy job. #[prost(enumeration="super::OperationType", tag="7")] pub operation_type: i32, - /// Expiration time set on the destination table. Expired tables will be - /// deleted and their storage reclaimed. + /// Expiration time set on the destination table. Expired tables will be + /// deleted and their storage reclaimed. #[prost(message, optional, tag="8")] pub destination_expiration_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Job type. + /// Job type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unknown. + /// Unknown. Unspecified = 0, - /// Query job. + /// Query job. Query = 1, - /// Table copy job. + /// Table copy job. Copy = 2, - /// Export (extract) job. + /// Export (extract) job. Export = 3, - /// Import (load) job. + /// Import (load) job. Import = 4, } impl Type { @@ -1322,250 +1322,250 @@ pub mod big_query_audit_metadata { } } } - /// Job configuration information. + /// Job configuration information. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Query job information. + /// Query job information. #[prost(message, tag="2")] QueryConfig(Query), - /// Load job information. + /// Load job information. #[prost(message, tag="3")] LoadConfig(Load), - /// Extract job information. + /// Extract job information. #[prost(message, tag="4")] ExtractConfig(Extract), - /// TableCopy job information. + /// TableCopy job information. #[prost(message, tag="5")] TableCopyConfig(TableCopy), } } - /// Definition of an external data source used in a query. + /// Definition of an external data source used in a query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDefinition { - /// Name of the table, used in queries. + /// Name of the table, used in queries. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// URIs for the data. + /// URIs for the data. #[prost(string, repeated, tag="2")] pub source_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Status of a job. + /// Status of a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatus { - /// State of the job. + /// State of the job. #[prost(enumeration="JobState", tag="1")] pub job_state: i32, - /// Job error, if the job failed. + /// Job error, if the job failed. #[prost(message, optional, tag="2")] pub error_result: ::core::option::Option, - /// Errors encountered during the running of the job. Does not necessarily - /// mean that the job has completed or was unsuccessful. + /// Errors encountered during the running of the job. Does not necessarily + /// mean that the job has completed or was unsuccessful. #[prost(message, repeated, tag="3")] pub errors: ::prost::alloc::vec::Vec, } - /// Job statistics. + /// Job statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStats { - /// Job creation time. + /// Job creation time. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Job execution start time. + /// Job execution start time. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Job completion time. + /// Job completion time. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The total number of slot-ms consumed by the query job. + /// The total number of slot-ms consumed by the query job. #[prost(int64, tag="10")] pub total_slot_ms: i64, - /// Reservation usage attributed from each tier of a reservation hierarchy. + /// Reservation usage attributed from each tier of a reservation hierarchy. #[prost(message, repeated, tag="11")] pub reservation_usage: ::prost::alloc::vec::Vec, - /// Parent job name. Only present for child jobs. + /// Parent job name. Only present for child jobs. #[prost(string, tag="12")] pub parent_job_name: ::prost::alloc::string::String, - /// Statistics specific to the job type. + /// Statistics specific to the job type. #[prost(oneof="job_stats::Extended", tags="8, 9, 13")] pub extended: ::core::option::Option, } /// Nested message and enum types in `JobStats`. pub mod job_stats { - /// Query job statistics. + /// Query job statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Query { - /// Total bytes processed by the query job. + /// Total bytes processed by the query job. #[prost(int64, tag="1")] pub total_processed_bytes: i64, - /// Total bytes billed by the query job. + /// Total bytes billed by the query job. #[prost(int64, tag="2")] pub total_billed_bytes: i64, - /// The tier assigned by the CPU-based billing. + /// The tier assigned by the CPU-based billing. #[prost(int32, tag="3")] pub billing_tier: i32, - /// Tables accessed by the query job. + /// Tables accessed by the query job. #[prost(string, repeated, tag="6")] pub referenced_tables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Views accessed by the query job. + /// Views accessed by the query job. #[prost(string, repeated, tag="7")] pub referenced_views: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Routines accessed by the query job. + /// Routines accessed by the query job. #[prost(string, repeated, tag="10")] pub referenced_routines: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Number of output rows produced by the query job. + /// Number of output rows produced by the query job. #[prost(int64, tag="8")] pub output_row_count: i64, - /// True if the query job results were read from the query cache. + /// True if the query job results were read from the query cache. #[prost(bool, tag="9")] pub cache_hit: bool, } - /// Load job statistics. + /// Load job statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Load { - /// Total bytes loaded by the import job. + /// Total bytes loaded by the import job. #[prost(int64, tag="1")] pub total_output_bytes: i64, } - /// Extract job statistics. + /// Extract job statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Extract { - /// Total bytes exported by the extract job. + /// Total bytes exported by the extract job. #[prost(int64, tag="1")] pub total_input_bytes: i64, } - /// Job resource usage breakdown by reservation. + /// Job resource usage breakdown by reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationResourceUsage { - /// Reservation name or "unreserved" for on-demand resources usage. + /// Reservation name or "unreserved" for on-demand resources usage. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Total slot milliseconds used by the reservation for a particular job. + /// Total slot milliseconds used by the reservation for a particular job. #[prost(int64, tag="2")] pub slot_ms: i64, } - /// Statistics specific to the job type. + /// Statistics specific to the job type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Extended { - /// Query job statistics. + /// Query job statistics. #[prost(message, tag="8")] QueryStats(Query), - /// Load job statistics. + /// Load job statistics. #[prost(message, tag="9")] LoadStats(Load), - /// Extract job statistics. + /// Extract job statistics. #[prost(message, tag="13")] ExtractStats(Extract), } } - /// BigQuery table. + /// BigQuery table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Table { - /// Table URI. + /// Table URI. /// - /// Format: `projects//datasets//tables/`. + /// Format: `projects//datasets//tables/`. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// A JSON representation of the table's schema. Entire field is truncated - /// if exceeds 40K. + /// A JSON representation of the table's schema. Entire field is truncated + /// if exceeds 40K. #[prost(string, tag="3")] pub schema_json: ::prost::alloc::string::String, - /// True if the schema_json field was truncated. + /// True if the schema_json field was truncated. #[prost(bool, tag="11")] pub schema_json_truncated: bool, - /// View metadata. Only present for views. + /// View metadata. Only present for views. #[prost(message, optional, tag="4")] pub view: ::core::option::Option, - /// Table expiration time. + /// Table expiration time. #[prost(message, optional, tag="5")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// The table creation time. + /// The table creation time. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The last time metadata update time. + /// The last time metadata update time. #[prost(message, optional, tag="7")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The last table truncation time. + /// The last table truncation time. #[prost(message, optional, tag="8")] pub truncate_time: ::core::option::Option<::prost_types::Timestamp>, - /// Table encryption information. Set when non-default encryption is used. + /// Table encryption information. Set when non-default encryption is used. #[prost(message, optional, tag="9")] pub encryption: ::core::option::Option, - /// User-provided metadata for the table. + /// User-provided metadata for the table. #[prost(message, optional, tag="10")] pub table_info: ::core::option::Option, } - /// User Defined Function (UDF) or Stored Procedure. + /// User Defined Function (UDF) or Stored Procedure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Routine { - /// Routine URI. + /// Routine URI. /// - /// Format: - /// `projects//datasets//routines/`. + /// Format: + /// `projects//datasets//routines/`. #[prost(string, tag="1")] pub routine_name: ::prost::alloc::string::String, - /// Routine creation time. + /// Routine creation time. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Routine last update time. + /// Routine last update time. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } - /// User-provided metadata for an entity, for e.g. dataset, table or model. + /// User-provided metadata for an entity, for e.g. dataset, table or model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityInfo { - /// A short name for the entity. + /// A short name for the entity. #[prost(string, tag="1")] pub friendly_name: ::prost::alloc::string::String, - /// A long description for the entity. + /// A long description for the entity. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Labels provided for the entity. + /// Labels provided for the entity. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } - /// View definition. + /// View definition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableViewDefinition { - /// SQL query defining the view. Truncated if exceeds 40K. + /// SQL query defining the view. Truncated if exceeds 40K. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// True if the schema_json field was truncated. + /// True if the schema_json field was truncated. #[prost(bool, tag="2")] pub query_truncated: bool, } - /// An access control list. + /// An access control list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryAcl { - /// IAM policy for the resource. + /// IAM policy for the resource. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, - /// List of authorized views for a dataset. + /// List of authorized views for a dataset. /// - /// Format: `projects//datasets//tables/`. + /// Format: `projects//datasets//tables/`. #[prost(string, repeated, tag="2")] pub authorized_views: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Encryption properties for a table or a job + /// Encryption properties for a table or a job #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionInfo { - /// Cloud kms key identifier. + /// Cloud kms key identifier. /// - /// Format: - /// `projects//locations//keyRings//cryptoKeys/` + /// Format: + /// `projects//locations//keyRings//cryptoKeys/` #[prost(string, tag="1")] pub kms_key_name: ::prost::alloc::string::String, } - /// Describes whether a job should overwrite or append the existing destination - /// table if it already exists. + /// Describes whether a job should overwrite or append the existing destination + /// table if it already exists. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WriteDisposition { - /// Unknown. + /// Unknown. Unspecified = 0, - /// This job should only be writing to empty tables. + /// This job should only be writing to empty tables. WriteEmpty = 1, - /// This job will truncate the existing table data. + /// This job will truncate the existing table data. WriteTruncate = 2, - /// This job will append to the table. + /// This job will append to the table. WriteAppend = 3, } impl WriteDisposition { @@ -1582,19 +1582,19 @@ pub mod big_query_audit_metadata { } } } - /// Table copy job operation type. + /// Table copy job operation type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationType { - /// Unspecified operation type. + /// Unspecified operation type. Unspecified = 0, - /// The source and the destination table have the same table type. + /// The source and the destination table have the same table type. Copy = 1, - /// The source table type is TABLE and - /// the destination table type is SNAPSHOT. + /// The source table type is TABLE and + /// the destination table type is SNAPSHOT. Snapshot = 2, - /// The source table type is SNAPSHOT and - /// the destination table type is TABLE. + /// The source table type is SNAPSHOT and + /// the destination table type is TABLE. Restore = 3, } impl OperationType { @@ -1611,16 +1611,16 @@ pub mod big_query_audit_metadata { } } } - /// Describes whether a job should create a destination table if it doesn't - /// exist. + /// Describes whether a job should create a destination table if it doesn't + /// exist. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CreateDisposition { - /// Unknown. + /// Unknown. Unspecified = 0, - /// This job should never create tables. + /// This job should never create tables. CreateNever = 1, - /// This job should create a table if it doesn't already exist. + /// This job should create a table if it doesn't already exist. CreateIfNeeded = 2, } impl CreateDisposition { @@ -1636,17 +1636,17 @@ pub mod big_query_audit_metadata { } } } - /// State of a job. + /// State of a job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobState { - /// State unknown. + /// State unknown. Unspecified = 0, - /// Job is waiting for the resources. + /// Job is waiting for the resources. Pending = 1, - /// Job is running. + /// Job is running. Running = 2, - /// Job is done. + /// Job is done. Done = 3, } impl JobState { @@ -1663,73 +1663,73 @@ pub mod big_query_audit_metadata { } } } - /// Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..) + /// Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..) #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QueryStatementType { - /// Unknown. + /// Unknown. Unspecified = 0, - /// SELECT ... FROM <Table list> ... + /// SELECT ... FROM <Table list> ... Select = 1, - /// ASSERT <condition> AS 'description' + /// ASSERT <condition> AS 'description' Assert = 23, - /// INSERT INTO <Table> .... + /// INSERT INTO <Table> .... Insert = 2, - /// UPDATE <Table> SET ... + /// UPDATE <Table> SET ... Update = 3, - /// DELETE <Table> ... + /// DELETE <Table> ... Delete = 4, - /// MERGE INTO <Table> .... + /// MERGE INTO <Table> .... Merge = 5, - /// CREATE TABLE <Table> <column list> + /// CREATE TABLE <Table> <column list> CreateTable = 6, - /// CREATE TABLE <Table> AS SELECT + /// CREATE TABLE <Table> AS SELECT CreateTableAsSelect = 7, - /// CREATE VIEW <View> + /// CREATE VIEW <View> CreateView = 8, - /// CREATE MODEL <Model> AS <Query> + /// CREATE MODEL <Model> AS <Query> CreateModel = 9, - /// CREATE MATERIALIZED VIEW <View> AS ... + /// CREATE MATERIALIZED VIEW <View> AS ... CreateMaterializedView = 13, - /// CREATE FUNCTION <Function>(<Signature>) AS ... + /// CREATE FUNCTION <Function>(<Signature>) AS ... CreateFunction = 14, - /// CREATE PROCEDURE <Procedure> + /// CREATE PROCEDURE <Procedure> CreateProcedure = 20, - /// CREATE SCHEMA <Schema> + /// CREATE SCHEMA <Schema> CreateSchema = 53, - /// DROP TABLE <Table> + /// DROP TABLE <Table> DropTable = 10, - /// DROP EXTERNAL TABLE <Table> + /// DROP EXTERNAL TABLE <Table> DropExternalTable = 33, - /// DROP VIEW <View> + /// DROP VIEW <View> DropView = 11, - /// DROP MODEL <Model> + /// DROP MODEL <Model> DropModel = 12, - /// DROP MATERIALIZED VIEW <View> + /// DROP MATERIALIZED VIEW <View> DropMaterializedView = 15, - /// DROP FUNCTION <Function> + /// DROP FUNCTION <Function> DropFunction = 16, - /// DROP PROCEDURE <Procedure> + /// DROP PROCEDURE <Procedure> DropProcedure = 21, - /// DROP SCHEMA <Schema> + /// DROP SCHEMA <Schema> DropSchema = 54, - /// ALTER TABLE <Table> + /// ALTER TABLE <Table> AlterTable = 17, - /// ALTER VIEW <View> + /// ALTER VIEW <View> AlterView = 18, - /// ALTER MATERIALIZED_VIEW <view> + /// ALTER MATERIALIZED_VIEW <view> AlterMaterializedView = 22, - /// ALTER SCHEMA <Schema> + /// ALTER SCHEMA <Schema> AlterSchema = 55, - /// Script + /// Script Script = 19, - /// TRUNCATE TABLE <Table> + /// TRUNCATE TABLE <Table> TruncateTable = 26, - /// CREATE EXTERNAL TABLE <TABLE> + /// CREATE EXTERNAL TABLE <TABLE> CreateExternalTable = 27, - /// EXPORT DATA; + /// EXPORT DATA; ExportData = 28, - /// CALL <stored procedure> + /// CALL <stored procedure> Call = 29, } impl QueryStatementType { @@ -1774,61 +1774,61 @@ pub mod big_query_audit_metadata { } } } - /// BigQuery event information. + /// BigQuery event information. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Event { - /// Job insertion event. + /// Job insertion event. #[prost(message, tag="1")] JobInsertion(JobInsertion), - /// Job state change event. + /// Job state change event. #[prost(message, tag="2")] JobChange(JobChange), - /// Dataset creation event. + /// Dataset creation event. #[prost(message, tag="3")] DatasetCreation(DatasetCreation), - /// Dataset change event. + /// Dataset change event. #[prost(message, tag="4")] DatasetChange(DatasetChange), - /// Dataset deletion event. + /// Dataset deletion event. #[prost(message, tag="5")] DatasetDeletion(DatasetDeletion), - /// Table creation event. + /// Table creation event. #[prost(message, tag="6")] TableCreation(TableCreation), - /// Table metadata change event. + /// Table metadata change event. #[prost(message, tag="8")] TableChange(TableChange), - /// Table deletion event. + /// Table deletion event. #[prost(message, tag="9")] TableDeletion(TableDeletion), - /// Table data read event. + /// Table data read event. #[prost(message, tag="10")] TableDataRead(TableDataRead), - /// Table data change event. + /// Table data change event. #[prost(message, tag="11")] TableDataChange(TableDataChange), - /// Model deletion event. + /// Model deletion event. #[prost(message, tag="12")] ModelDeletion(ModelDeletion), - /// Model creation event. + /// Model creation event. #[prost(message, tag="13")] ModelCreation(ModelCreation), - /// Model metadata change event. + /// Model metadata change event. #[prost(message, tag="14")] ModelMetadataChange(ModelMetadataChange), - /// Model data change event. + /// Model data change event. #[prost(message, tag="15")] ModelDataChange(ModelDataChange), - /// Model data read event. + /// Model data read event. #[prost(message, tag="19")] ModelDataRead(ModelDataRead), - /// Routine creation event. + /// Routine creation event. #[prost(message, tag="16")] RoutineCreation(RoutineCreation), - /// Routine change event. + /// Routine change event. #[prost(message, tag="17")] RoutineChange(RoutineChange), - /// Routine deletion event. + /// Routine deletion event. #[prost(message, tag="18")] RoutineDeletion(RoutineDeletion), } diff --git a/gcloud-sdk/genproto/google.cloud.automl.v1.rs b/gcloud-sdk/genproto/google.cloud.automl.v1.rs index a7617e6fa..a75a98360 100644 --- a/gcloud-sdk/genproto/google.cloud.automl.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.automl.v1.rs @@ -1,159 +1,159 @@ -/// Contains annotation details specific to classification. +/// Contains annotation details specific to classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationAnnotation { - /// Output only. A confidence estimate between 0.0 and 1.0. A higher value - /// means greater confidence that the annotation is positive. If a user - /// approves an annotation as negative or positive, the score value remains - /// unchanged. If a user creates an annotation, the score is 0 for negative or - /// 1 for positive. + /// Output only. A confidence estimate between 0.0 and 1.0. A higher value + /// means greater confidence that the annotation is positive. If a user + /// approves an annotation as negative or positive, the score value remains + /// unchanged. If a user creates an annotation, the score is 0 for negative or + /// 1 for positive. #[prost(float, tag="1")] pub score: f32, } -/// Model evaluation metrics for classification problems. -/// Note: For Video Classification this metrics only describe quality of the -/// Video Classification predictions of "segment_classification" type. +/// Model evaluation metrics for classification problems. +/// Note: For Video Classification this metrics only describe quality of the +/// Video Classification predictions of "segment_classification" type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationEvaluationMetrics { - /// Output only. The Area Under Precision-Recall Curve metric. Micro-averaged - /// for the overall evaluation. + /// Output only. The Area Under Precision-Recall Curve metric. Micro-averaged + /// for the overall evaluation. #[prost(float, tag="1")] pub au_prc: f32, - /// Output only. The Area Under Receiver Operating Characteristic curve metric. - /// Micro-averaged for the overall evaluation. + /// Output only. The Area Under Receiver Operating Characteristic curve metric. + /// Micro-averaged for the overall evaluation. #[prost(float, tag="6")] pub au_roc: f32, - /// Output only. The Log Loss metric. + /// Output only. The Log Loss metric. #[prost(float, tag="7")] pub log_loss: f32, - /// Output only. Metrics for each confidence_threshold in - /// 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and - /// position_threshold = INT32_MAX_VALUE. - /// ROC and precision-recall curves, and other aggregated metrics are derived - /// from them. The confidence metrics entries may also be supplied for - /// additional values of position_threshold, but from these no aggregated - /// metrics are computed. + /// Output only. Metrics for each confidence_threshold in + /// 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and + /// position_threshold = INT32_MAX_VALUE. + /// ROC and precision-recall curves, and other aggregated metrics are derived + /// from them. The confidence metrics entries may also be supplied for + /// additional values of position_threshold, but from these no aggregated + /// metrics are computed. #[prost(message, repeated, tag="3")] pub confidence_metrics_entry: ::prost::alloc::vec::Vec, - /// Output only. Confusion matrix of the evaluation. - /// Only set for MULTICLASS classification problems where number - /// of labels is no more than 10. - /// Only set for model level evaluation, not for evaluation per label. + /// Output only. Confusion matrix of the evaluation. + /// Only set for MULTICLASS classification problems where number + /// of labels is no more than 10. + /// Only set for model level evaluation, not for evaluation per label. #[prost(message, optional, tag="4")] pub confusion_matrix: ::core::option::Option, - /// Output only. The annotation spec ids used for this evaluation. + /// Output only. The annotation spec ids used for this evaluation. #[prost(string, repeated, tag="5")] pub annotation_spec_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `ClassificationEvaluationMetrics`. pub mod classification_evaluation_metrics { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. Metrics are computed with an assumption that the model - /// never returns predictions with score lower than this value. + /// Output only. Metrics are computed with an assumption that the model + /// never returns predictions with score lower than this value. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Metrics are computed with an assumption that the model - /// always returns at most this many predictions (ordered by their score, - /// descendingly), but they all still need to meet the confidence_threshold. + /// Output only. Metrics are computed with an assumption that the model + /// always returns at most this many predictions (ordered by their score, + /// descendingly), but they all still need to meet the confidence_threshold. #[prost(int32, tag="14")] pub position_threshold: i32, - /// Output only. Recall (True Positive Rate) for the given confidence - /// threshold. + /// Output only. Recall (True Positive Rate) for the given confidence + /// threshold. #[prost(float, tag="2")] pub recall: f32, - /// Output only. Precision for the given confidence threshold. + /// Output only. Precision for the given confidence threshold. #[prost(float, tag="3")] pub precision: f32, - /// Output only. False Positive Rate for the given confidence threshold. + /// Output only. False Positive Rate for the given confidence threshold. #[prost(float, tag="8")] pub false_positive_rate: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="4")] pub f1_score: f32, - /// Output only. The Recall (True Positive Rate) when only considering the - /// label that has the highest prediction score and not below the confidence - /// threshold for each example. + /// Output only. The Recall (True Positive Rate) when only considering the + /// label that has the highest prediction score and not below the confidence + /// threshold for each example. #[prost(float, tag="5")] pub recall_at1: f32, - /// Output only. The precision when only considering the label that has the - /// highest prediction score and not below the confidence threshold for each - /// example. + /// Output only. The precision when only considering the label that has the + /// highest prediction score and not below the confidence threshold for each + /// example. #[prost(float, tag="6")] pub precision_at1: f32, - /// Output only. The False Positive Rate when only considering the label that - /// has the highest prediction score and not below the confidence threshold - /// for each example. + /// Output only. The False Positive Rate when only considering the label that + /// has the highest prediction score and not below the confidence threshold + /// for each example. #[prost(float, tag="9")] pub false_positive_rate_at1: f32, - /// Output only. The harmonic mean of \[recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1\]. + /// Output only. The harmonic mean of \[recall_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1\]. #[prost(float, tag="7")] pub f1_score_at1: f32, - /// Output only. The number of model created labels that match a ground truth - /// label. + /// Output only. The number of model created labels that match a ground truth + /// label. #[prost(int64, tag="10")] pub true_positive_count: i64, - /// Output only. The number of model created labels that do not match a - /// ground truth label. + /// Output only. The number of model created labels that do not match a + /// ground truth label. #[prost(int64, tag="11")] pub false_positive_count: i64, - /// Output only. The number of ground truth labels that are not matched - /// by a model created label. + /// Output only. The number of ground truth labels that are not matched + /// by a model created label. #[prost(int64, tag="12")] pub false_negative_count: i64, - /// Output only. The number of labels that were not created by the model, - /// but if they would, they would not match a ground truth label. + /// Output only. The number of labels that were not created by the model, + /// but if they would, they would not match a ground truth label. #[prost(int64, tag="13")] pub true_negative_count: i64, } - /// Confusion matrix of the model running the classification. + /// Confusion matrix of the model running the classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfusionMatrix { - /// Output only. IDs of the annotation specs used in the confusion matrix. - /// For Tables CLASSIFICATION - /// \[prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type\] - /// only list of \[annotation_spec_display_name-s][\] is populated. + /// Output only. IDs of the annotation specs used in the confusion matrix. + /// For Tables CLASSIFICATION + /// \[prediction_type][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type\] + /// only list of \[annotation_spec_display_name-s][\] is populated. #[prost(string, repeated, tag="1")] pub annotation_spec_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Display name of the annotation specs used in the confusion - /// matrix, as they were at the moment of the evaluation. For Tables - /// CLASSIFICATION - /// \[prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type\], - /// distinct values of the target column at the moment of the model - /// evaluation are populated here. + /// Output only. Display name of the annotation specs used in the confusion + /// matrix, as they were at the moment of the evaluation. For Tables + /// CLASSIFICATION + /// \[prediction_type-s][google.cloud.automl.v1p1beta.TablesModelMetadata.prediction_type\], + /// distinct values of the target column at the moment of the model + /// evaluation are populated here. #[prost(string, repeated, tag="3")] pub display_name: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Rows in the confusion matrix. The number of rows is equal to - /// the size of `annotation_spec_id`. - /// `row\[i].example_count[j\]` is the number of examples that have ground - /// truth of the `annotation_spec_id\[i\]` and are predicted as - /// `annotation_spec_id\[j\]` by the model being evaluated. + /// Output only. Rows in the confusion matrix. The number of rows is equal to + /// the size of `annotation_spec_id`. + /// `row\[i].example_count[j\]` is the number of examples that have ground + /// truth of the `annotation_spec_id\[i\]` and are predicted as + /// `annotation_spec_id\[j\]` by the model being evaluated. #[prost(message, repeated, tag="2")] pub row: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ConfusionMatrix`. pub mod confusion_matrix { - /// Output only. A row in the confusion matrix. + /// Output only. A row in the confusion matrix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// Output only. Value of the specific cell in the confusion matrix. - /// The number of values each row has (i.e. the length of the row) is equal - /// to the length of the `annotation_spec_id` field or, if that one is not - /// populated, length of the \[display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name\] field. + /// Output only. Value of the specific cell in the confusion matrix. + /// The number of values each row has (i.e. the length of the row) is equal + /// to the length of the `annotation_spec_id` field or, if that one is not + /// populated, length of the \[display_name][google.cloud.automl.v1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name\] field. #[prost(int32, repeated, tag="1")] pub example_count: ::prost::alloc::vec::Vec, } } } -/// Type of the classification problem. +/// Type of the classification problem. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ClassificationType { - /// An un-set value of this enum. + /// An un-set value of this enum. Unspecified = 0, - /// At most one label is allowed per example. + /// At most one label is allowed per example. Multiclass = 1, - /// Multiple labels are allowed for one example. + /// Multiple labels are allowed for one example. Multilabel = 2, } impl ClassificationType { @@ -169,250 +169,250 @@ impl ClassificationType { } } } -/// A vertex represents a 2D point in the image. -/// The normalized vertex coordinates are between 0 to 1 fractions relative to -/// the original plane (image, video). E.g. if the plane (e.g. whole image) would -/// have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would -/// be at the position (1, 6) on that plane. +/// A vertex represents a 2D point in the image. +/// The normalized vertex coordinates are between 0 to 1 fractions relative to +/// the original plane (image, video). E.g. if the plane (e.g. whole image) would +/// have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would +/// be at the position (1, 6) on that plane. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NormalizedVertex { - /// Required. Horizontal coordinate. + /// Required. Horizontal coordinate. #[prost(float, tag="1")] pub x: f32, - /// Required. Vertical coordinate. + /// Required. Vertical coordinate. #[prost(float, tag="2")] pub y: f32, } -/// A bounding polygon of a detected object on a plane. -/// On output both vertices and normalized_vertices are provided. -/// The polygon is formed by connecting vertices in the order they are listed. +/// A bounding polygon of a detected object on a plane. +/// On output both vertices and normalized_vertices are provided. +/// The polygon is formed by connecting vertices in the order they are listed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingPoly { - /// Output only . The bounding polygon normalized vertices. + /// Output only . The bounding polygon normalized vertices. #[prost(message, repeated, tag="2")] pub normalized_vertices: ::prost::alloc::vec::Vec, } -/// Annotation details for image object detection. +/// Annotation details for image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionAnnotation { - /// Output only. The rectangle representing the object location. + /// Output only. The rectangle representing the object location. #[prost(message, optional, tag="1")] pub bounding_box: ::core::option::Option, - /// Output only. The confidence that this annotation is positive for the parent example, - /// value in [0, 1], higher means higher positivity confidence. + /// Output only. The confidence that this annotation is positive for the parent example, + /// value in [0, 1], higher means higher positivity confidence. #[prost(float, tag="2")] pub score: f32, } -/// Bounding box matching model metrics for a single intersection-over-union -/// threshold and multiple label match confidence thresholds. +/// Bounding box matching model metrics for a single intersection-over-union +/// threshold and multiple label match confidence thresholds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingBoxMetricsEntry { - /// Output only. The intersection-over-union threshold value used to compute - /// this metrics entry. + /// Output only. The intersection-over-union threshold value used to compute + /// this metrics entry. #[prost(float, tag="1")] pub iou_threshold: f32, - /// Output only. The mean average precision, most often close to au_prc. + /// Output only. The mean average precision, most often close to au_prc. #[prost(float, tag="2")] pub mean_average_precision: f32, - /// Output only. Metrics for each label-match confidence_threshold from - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is - /// derived from them. + /// Output only. Metrics for each label-match confidence_threshold from + /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is + /// derived from them. #[prost(message, repeated, tag="3")] pub confidence_metrics_entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BoundingBoxMetricsEntry`. pub mod bounding_box_metrics_entry { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. The confidence threshold value used to compute the metrics. + /// Output only. The confidence threshold value used to compute the metrics. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Recall under the given confidence threshold. + /// Output only. Recall under the given confidence threshold. #[prost(float, tag="2")] pub recall: f32, - /// Output only. Precision under the given confidence threshold. + /// Output only. Precision under the given confidence threshold. #[prost(float, tag="3")] pub precision: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="4")] pub f1_score: f32, } } -/// Model evaluation metrics for image object detection problems. -/// Evaluates prediction quality of labeled bounding boxes. +/// Model evaluation metrics for image object detection problems. +/// Evaluates prediction quality of labeled bounding boxes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionEvaluationMetrics { - /// Output only. The total number of bounding boxes (i.e. summed over all - /// images) the ground truth used to create this evaluation had. + /// Output only. The total number of bounding boxes (i.e. summed over all + /// images) the ground truth used to create this evaluation had. #[prost(int32, tag="1")] pub evaluated_bounding_box_count: i32, - /// Output only. The bounding boxes match metrics for each - /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// pair. + /// Output only. The bounding boxes match metrics for each + /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// pair. #[prost(message, repeated, tag="2")] pub bounding_box_metrics_entries: ::prost::alloc::vec::Vec, - /// Output only. The single metric for bounding boxes evaluation: - /// the mean_average_precision averaged over all bounding_box_metrics_entries. + /// Output only. The single metric for bounding boxes evaluation: + /// the mean_average_precision averaged over all bounding_box_metrics_entries. #[prost(float, tag="3")] pub bounding_box_mean_average_precision: f32, } -/// A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding. +/// A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSegment { - /// Output only. The content of the TextSegment. + /// Output only. The content of the TextSegment. #[prost(string, tag="3")] pub content: ::prost::alloc::string::String, - /// Required. Zero-based character index of the first character of the text - /// segment (counting characters from the beginning of the text). + /// Required. Zero-based character index of the first character of the text + /// segment (counting characters from the beginning of the text). #[prost(int64, tag="1")] pub start_offset: i64, - /// Required. Zero-based character index of the first character past the end of - /// the text segment (counting character from the beginning of the text). - /// The character at the end_offset is NOT included in the text segment. + /// Required. Zero-based character index of the first character past the end of + /// the text segment (counting character from the beginning of the text). + /// The character at the end_offset is NOT included in the text segment. #[prost(int64, tag="2")] pub end_offset: i64, } -/// Annotation for identifying spans of text. +/// Annotation for identifying spans of text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionAnnotation { - /// Output only. A confidence estimate between 0.0 and 1.0. A higher value - /// means greater confidence in correctness of the annotation. + /// Output only. A confidence estimate between 0.0 and 1.0. A higher value + /// means greater confidence in correctness of the annotation. #[prost(float, tag="1")] pub score: f32, - /// Required. Text extraction annotations can either be a text segment or a - /// text relation. + /// Required. Text extraction annotations can either be a text segment or a + /// text relation. #[prost(oneof="text_extraction_annotation::Annotation", tags="3")] pub annotation: ::core::option::Option, } /// Nested message and enum types in `TextExtractionAnnotation`. pub mod text_extraction_annotation { - /// Required. Text extraction annotations can either be a text segment or a - /// text relation. + /// Required. Text extraction annotations can either be a text segment or a + /// text relation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Annotation { - /// An entity annotation will set this, which is the part of the original - /// text to which the annotation pertains. + /// An entity annotation will set this, which is the part of the original + /// text to which the annotation pertains. #[prost(message, tag="3")] TextSegment(super::TextSegment), } } -/// Model evaluation metrics for text extraction problems. +/// Model evaluation metrics for text extraction problems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionEvaluationMetrics { - /// Output only. The Area under precision recall curve metric. + /// Output only. The Area under precision recall curve metric. #[prost(float, tag="1")] pub au_prc: f32, - /// Output only. Metrics that have confidence thresholds. - /// Precision-recall curve can be derived from it. + /// Output only. Metrics that have confidence thresholds. + /// Precision-recall curve can be derived from it. #[prost(message, repeated, tag="2")] pub confidence_metrics_entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TextExtractionEvaluationMetrics`. pub mod text_extraction_evaluation_metrics { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. The confidence threshold value used to compute the metrics. - /// Only annotations with score of at least this threshold are considered to - /// be ones the model would return. + /// Output only. The confidence threshold value used to compute the metrics. + /// Only annotations with score of at least this threshold are considered to + /// be ones the model would return. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Recall under the given confidence threshold. + /// Output only. Recall under the given confidence threshold. #[prost(float, tag="3")] pub recall: f32, - /// Output only. Precision under the given confidence threshold. + /// Output only. Precision under the given confidence threshold. #[prost(float, tag="4")] pub precision: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="5")] pub f1_score: f32, } } -/// Contains annotation details specific to text sentiment. +/// Contains annotation details specific to text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentAnnotation { - /// Output only. The sentiment with the semantic, as given to the - /// \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\] when populating the dataset from which the model used - /// for the prediction had been trained. - /// The sentiment values are between 0 and - /// Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), - /// with higher value meaning more positive sentiment. They are completely - /// relative, i.e. 0 means least positive sentiment and sentiment_max means - /// the most positive from the sentiments present in the train data. Therefore + /// Output only. The sentiment with the semantic, as given to the + /// \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\] when populating the dataset from which the model used + /// for the prediction had been trained. + /// The sentiment values are between 0 and + /// Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), + /// with higher value meaning more positive sentiment. They are completely + /// relative, i.e. 0 means least positive sentiment and sentiment_max means + /// the most positive from the sentiments present in the train data. Therefore /// e.g. if train data had only negative sentiment, then sentiment_max, would - /// be still negative (although least negative). - /// The sentiment shouldn't be confused with "score" or "magnitude" - /// from the previous Natural Language Sentiment Analysis API. + /// be still negative (although least negative). + /// The sentiment shouldn't be confused with "score" or "magnitude" + /// from the previous Natural Language Sentiment Analysis API. #[prost(int32, tag="1")] pub sentiment: i32, } -/// Model evaluation metrics for text sentiment problems. +/// Model evaluation metrics for text sentiment problems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentEvaluationMetrics { - /// Output only. Precision. + /// Output only. Precision. #[prost(float, tag="1")] pub precision: f32, - /// Output only. Recall. + /// Output only. Recall. #[prost(float, tag="2")] pub recall: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="3")] pub f1_score: f32, - /// Output only. Mean absolute error. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Mean absolute error. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="4")] pub mean_absolute_error: f32, - /// Output only. Mean squared error. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Mean squared error. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="5")] pub mean_squared_error: f32, - /// Output only. Linear weighted kappa. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Linear weighted kappa. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="6")] pub linear_kappa: f32, - /// Output only. Quadratic weighted kappa. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Quadratic weighted kappa. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="7")] pub quadratic_kappa: f32, - /// Output only. Confusion matrix of the evaluation. - /// Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. + /// Output only. Confusion matrix of the evaluation. + /// Only set for the overall model evaluation, not for evaluation of a single + /// annotation spec. #[prost(message, optional, tag="8")] pub confusion_matrix: ::core::option::Option, } -/// Input configuration for \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\] action. +/// Input configuration for \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\] action. /// -/// The format of input depends on dataset_metadata the Dataset into which -/// the import is happening has. As input source the -/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] -/// is expected, unless specified otherwise. Additionally any input .CSV file -/// by itself must be 100MB or smaller, unless specified otherwise. -/// If an "example" file (that is, image, video etc.) with identical content -/// (even if it had different `GCS_FILE_PATH`) is mentioned multiple times, then -/// its label, bounding boxes etc. are appended. The same file should be always -/// provided with the same `ML_USE` and `GCS_FILE_PATH`, if it is not, then -/// these values are nondeterministically selected from the given ones. +/// The format of input depends on dataset_metadata the Dataset into which +/// the import is happening has. As input source the +/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] +/// is expected, unless specified otherwise. Additionally any input .CSV file +/// by itself must be 100MB or smaller, unless specified otherwise. +/// If an "example" file (that is, image, video etc.) with identical content +/// (even if it had different `GCS_FILE_PATH`) is mentioned multiple times, then +/// its label, bounding boxes etc. are appended. The same file should be always +/// provided with the same `ML_USE` and `GCS_FILE_PATH`, if it is not, then +/// these values are nondeterministically selected from the given ones. /// -/// The formats are represented in EBNF with commas being literal and with -/// non-terminal symbols defined near the end of this comment. The formats are: +/// The formats are represented in EBNF with commas being literal and with +/// non-terminal symbols defined near the end of this comment. The formats are: /// -///

AutoML Vision

+///

AutoML Vision

/// /// -///
Classification
+///
Classification
/// -/// See [Preparing your training -/// data]() for more -/// information. +/// See [Preparing your training +/// data]() for more +/// information. /// -/// CSV file(s) with each line in format: +/// CSV file(s) with each line in format: /// /// ML_USE,GCS_FILE_PATH,LABEL,LABEL,... /// -/// * `ML_USE` - Identifies the data set that the current row (file) applies -/// to. +/// * `ML_USE` - Identifies the data set that the current row (file) applies +/// to. /// This value can be one of the following: /// * `TRAIN` - Rows in this file are used to train the model. /// * `TEST` - Rows in this file are used to test the model during training. @@ -420,17 +420,17 @@ pub struct TextSentimentEvaluationMetrics { /// Automatically divided into train and test data. 80% for training and /// 20% for testing. /// -/// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +/// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to /// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG, .WEBP, .BMP, /// .TIFF, .ICO. /// -/// * `LABEL` - A label that identifies the object in the image. +/// * `LABEL` - A label that identifies the object in the image. /// -/// For the `MULTICLASS` classification type, at most one `LABEL` is allowed -/// per image. If an image has not yet been labeled, then it should be -/// mentioned just once with no `LABEL`. +/// For the `MULTICLASS` classification type, at most one `LABEL` is allowed +/// per image. If an image has not yet been labeled, then it should be +/// mentioned just once with no `LABEL`. /// -/// Some sample rows: +/// Some sample rows: /// /// TRAIN,gs://folder/image1.jpg,daisy /// TEST,gs://folder/image2.jpg,dandelion,tulip,rose @@ -438,17 +438,17 @@ pub struct TextSentimentEvaluationMetrics { /// UNASSIGNED,gs://folder/image4.jpg /// /// -///
Object Detection
-/// See [Preparing your training -/// data]() -/// for more information. +///
Object Detection
+/// See [Preparing your training +/// data]() +/// for more information. /// -/// A CSV file(s) with each line in format: +/// A CSV file(s) with each line in format: /// /// ML_USE,GCS_FILE_PATH,\[LABEL\],(BOUNDING_BOX | ,,,,,,,) /// -/// * `ML_USE` - Identifies the data set that the current row (file) applies -/// to. +/// * `ML_USE` - Identifies the data set that the current row (file) applies +/// to. /// This value can be one of the following: /// * `TRAIN` - Rows in this file are used to train the model. /// * `TEST` - Rows in this file are used to test the model during training. @@ -456,68 +456,68 @@ pub struct TextSentimentEvaluationMetrics { /// Automatically divided into train and test data. 80% for training and /// 20% for testing. /// -/// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to +/// * `GCS_FILE_PATH` - The Google Cloud Storage location of an image of up to /// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. Each image /// is assumed to be exhaustively labeled. /// -/// * `LABEL` - A label that identifies the object in the image specified by the +/// * `LABEL` - A label that identifies the object in the image specified by the /// `BOUNDING_BOX`. /// -/// * `BOUNDING BOX` - The vertices of an object in the example image. +/// * `BOUNDING BOX` - The vertices of an object in the example image. /// The minimum allowed `BOUNDING_BOX` edge length is 0.01, and no more than /// 500 `BOUNDING_BOX` instances per image are allowed (one `BOUNDING_BOX` /// per line). If an image has no looked for objects then it should be /// mentioned just once with no LABEL and the ",,,,,,," in place of the /// `BOUNDING_BOX`. /// -/// **Four sample rows:** +/// **Four sample rows:** /// /// TRAIN,gs://folder/image1.png,car,0.1,0.1,,,0.3,0.3,, /// TRAIN,gs://folder/image1.png,bike,.7,.6,,,.8,.9,, /// UNASSIGNED,gs://folder/im2.png,car,0.1,0.1,0.2,0.1,0.2,0.3,0.1,0.3 /// TEST,gs://folder/im3.png,,,,,,,,, ///
-///
+///
/// /// -///

AutoML Video Intelligence

+///

AutoML Video Intelligence

/// /// -///
Classification
+///
Classification
/// -/// See [Preparing your training -/// data]() for -/// more information. +/// See [Preparing your training +/// data]() for +/// more information. /// -/// CSV file(s) with each line in format: +/// CSV file(s) with each line in format: /// /// ML_USE,GCS_FILE_PATH /// -/// For `ML_USE`, do not use `VALIDATE`. +/// For `ML_USE`, do not use `VALIDATE`. /// -/// `GCS_FILE_PATH` is the path to another .csv file that describes training -/// example for a given `ML_USE`, using the following row format: +/// `GCS_FILE_PATH` is the path to another .csv file that describes training +/// example for a given `ML_USE`, using the following row format: /// /// GCS_FILE_PATH,(LABEL,TIME_SEGMENT_START,TIME_SEGMENT_END | ,,) /// -/// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up -/// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +/// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up +/// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. /// -/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the -/// length of the video, and the end time must be after the start time. Any -/// segment of a video which has one or more labels on it, is considered a -/// hard negative for all other labels. Any segment with no labels on -/// it is considered to be unknown. If a whole video is unknown, then -/// it should be mentioned just once with ",," in place of `LABEL, -/// TIME_SEGMENT_START,TIME_SEGMENT_END`. +/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +/// length of the video, and the end time must be after the start time. Any +/// segment of a video which has one or more labels on it, is considered a +/// hard negative for all other labels. Any segment with no labels on +/// it is considered to be unknown. If a whole video is unknown, then +/// it should be mentioned just once with ",," in place of `LABEL, +/// TIME_SEGMENT_START,TIME_SEGMENT_END`. /// -/// Sample top level CSV file: +/// Sample top level CSV file: /// /// TRAIN,gs://folder/train_videos.csv /// TEST,gs://folder/test_videos.csv /// UNASSIGNED,gs://folder/other_videos.csv /// -/// Sample rows of a CSV file for a particular ML_USE: +/// Sample rows of a CSV file for a particular ML_USE: /// /// gs://folder/video1.avi,car,120,180.000021 /// gs://folder/video1.avi,bike,150,180.000021 @@ -526,49 +526,49 @@ pub struct TextSentimentEvaluationMetrics { /// /// /// -///
Object Tracking
+///
Object Tracking
/// -/// See [Preparing your training -/// data](/video-intelligence/automl/object-tracking/docs/prepare) for more -/// information. +/// See [Preparing your training +/// data](/video-intelligence/automl/object-tracking/docs/prepare) for more +/// information. /// -/// CSV file(s) with each line in format: +/// CSV file(s) with each line in format: /// /// ML_USE,GCS_FILE_PATH /// -/// For `ML_USE`, do not use `VALIDATE`. +/// For `ML_USE`, do not use `VALIDATE`. /// -/// `GCS_FILE_PATH` is the path to another .csv file that describes training -/// example for a given `ML_USE`, using the following row format: +/// `GCS_FILE_PATH` is the path to another .csv file that describes training +/// example for a given `ML_USE`, using the following row format: /// /// GCS_FILE_PATH,LABEL,\[INSTANCE_ID\],TIMESTAMP,BOUNDING_BOX /// -/// or +/// or /// /// GCS_FILE_PATH,,,,,,,,,, /// -/// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up -/// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. -/// Providing `INSTANCE_ID`s can help to obtain a better model. When -/// a specific labeled entity leaves the video frame, and shows up -/// afterwards it is not required, albeit preferable, that the same -/// `INSTANCE_ID` is given to it. +/// Here `GCS_FILE_PATH` leads to a video of up to 50GB in size and up +/// to 3h duration. Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +/// Providing `INSTANCE_ID`s can help to obtain a better model. When +/// a specific labeled entity leaves the video frame, and shows up +/// afterwards it is not required, albeit preferable, that the same +/// `INSTANCE_ID` is given to it. /// -/// `TIMESTAMP` must be within the length of the video, the -/// `BOUNDING_BOX` is assumed to be drawn on the closest video's frame -/// to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected -/// to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per -/// frame are allowed. If a whole video is unknown, then it should be -/// mentioned just once with ",,,,,,,,,," in place of `LABEL, -/// \[INSTANCE_ID\],TIMESTAMP,BOUNDING_BOX`. +/// `TIMESTAMP` must be within the length of the video, the +/// `BOUNDING_BOX` is assumed to be drawn on the closest video's frame +/// to the `TIMESTAMP`. Any mentioned by the `TIMESTAMP` frame is expected +/// to be exhaustively labeled and no more than 500 `BOUNDING_BOX`-es per +/// frame are allowed. If a whole video is unknown, then it should be +/// mentioned just once with ",,,,,,,,,," in place of `LABEL, +/// \[INSTANCE_ID\],TIMESTAMP,BOUNDING_BOX`. /// -/// Sample top level CSV file: +/// Sample top level CSV file: /// /// TRAIN,gs://folder/train_videos.csv /// TEST,gs://folder/test_videos.csv /// UNASSIGNED,gs://folder/other_videos.csv /// -/// Seven sample rows of a CSV file for a particular ML_USE: +/// Seven sample rows of a CSV file for a particular ML_USE: /// /// gs://folder/video1.avi,car,1,12.10,0.8,0.8,0.9,0.8,0.9,0.9,0.8,0.9 /// gs://folder/video1.avi,car,1,12.90,0.4,0.8,0.5,0.8,0.5,0.9,0.4,0.9 @@ -578,24 +578,24 @@ pub struct TextSentimentEvaluationMetrics { /// gs://folder/video2.avi,car,1,0,.1,.9,,,.9,.1,, /// gs://folder/video2.avi,,,,,,,,,,, ///
-///
+///
/// /// -///

AutoML Natural Language

+///

AutoML Natural Language

/// /// -///
Entity Extraction
+///
Entity Extraction
/// -/// See [Preparing your training -/// data](/natural-language/automl/entity-analysis/docs/prepare) for more -/// information. +/// See [Preparing your training +/// data](/natural-language/automl/entity-analysis/docs/prepare) for more +/// information. /// -/// One or more CSV file(s) with each line in the following format: +/// One or more CSV file(s) with each line in the following format: /// /// ML_USE,GCS_FILE_PATH /// -/// * `ML_USE` - Identifies the data set that the current row (file) applies -/// to. +/// * `ML_USE` - Identifies the data set that the current row (file) applies +/// to. /// This value can be one of the following: /// * `TRAIN` - Rows in this file are used to train the model. /// * `TEST` - Rows in this file are used to test the model during training. @@ -603,38 +603,38 @@ pub struct TextSentimentEvaluationMetrics { /// Automatically divided into train and test data. 80% for training and /// 20% for testing.. /// -/// * `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in +/// * `GCS_FILE_PATH` - a Identifies JSON Lines (.JSONL) file stored in /// Google Cloud Storage that contains in-line text in-line as documents /// for model training. /// -/// After the training data set has been determined from the `TRAIN` and -/// `UNASSIGNED` CSV files, the training data is divided into train and -/// validation data sets. 70% for training and 30% for validation. +/// After the training data set has been determined from the `TRAIN` and +/// `UNASSIGNED` CSV files, the training data is divided into train and +/// validation data sets. 70% for training and 30% for validation. /// -/// For example: +/// For example: /// /// TRAIN,gs://folder/file1.jsonl /// VALIDATE,gs://folder/file2.jsonl /// TEST,gs://folder/file3.jsonl /// -/// **In-line JSONL files** +/// **In-line JSONL files** /// -/// In-line .JSONL files contain, per line, a JSON document that wraps a -/// \[`text_snippet`][google.cloud.automl.v1.TextSnippet\] field followed by -/// one or more \[`annotations`][google.cloud.automl.v1.AnnotationPayload\] -/// fields, which have `display_name` and `text_extraction` fields to describe -/// the entity from the text snippet. Multiple JSON documents can be separated -/// using line breaks (\n). +/// In-line .JSONL files contain, per line, a JSON document that wraps a +/// \[`text_snippet`][google.cloud.automl.v1.TextSnippet\] field followed by +/// one or more \[`annotations`][google.cloud.automl.v1.AnnotationPayload\] +/// fields, which have `display_name` and `text_extraction` fields to describe +/// the entity from the text snippet. Multiple JSON documents can be separated +/// using line breaks (\n). /// -/// The supplied text must be annotated exhaustively. For example, if you -/// include the text "horse", but do not label it as "animal", -/// then "horse" is assumed to not be an "animal". +/// The supplied text must be annotated exhaustively. For example, if you +/// include the text "horse", but do not label it as "animal", +/// then "horse" is assumed to not be an "animal". /// -/// Any given text snippet content must have 30,000 characters or -/// less, and also be UTF-8 NFC encoded. ASCII is accepted as it is -/// UTF-8 NFC encoded. +/// Any given text snippet content must have 30,000 characters or +/// less, and also be UTF-8 NFC encoded. ASCII is accepted as it is +/// UTF-8 NFC encoded. /// -/// For example: +/// For example: /// /// { /// "text_snippet": { @@ -675,15 +675,15 @@ pub struct TextSentimentEvaluationMetrics { /// ] /// } /// -/// **JSONL files that reference documents** +/// **JSONL files that reference documents** /// -/// .JSONL files contain, per line, a JSON document that wraps a -/// `input_config` that contains the path to a source document. -/// Multiple JSON documents can be separated using line breaks (\n). +/// .JSONL files contain, per line, a JSON document that wraps a +/// `input_config` that contains the path to a source document. +/// Multiple JSON documents can be separated using line breaks (\n). /// -/// Supported document extensions: .PDF, .TIF, .TIFF +/// Supported document extensions: .PDF, .TIF, .TIFF /// -/// For example: +/// For example: /// /// { /// "document": { @@ -702,16 +702,16 @@ pub struct TextSentimentEvaluationMetrics { /// } /// } /// -/// **In-line JSONL files with document layout information** +/// **In-line JSONL files with document layout information** /// -/// **Note:** You can only annotate documents using the UI. The format described -/// below applies to annotated documents exported using the UI or `exportData`. +/// **Note:** You can only annotate documents using the UI. The format described +/// below applies to annotated documents exported using the UI or `exportData`. /// -/// In-line .JSONL files for documents contain, per line, a JSON document -/// that wraps a `document` field that provides the textual content of the -/// document and the layout information. +/// In-line .JSONL files for documents contain, per line, a JSON document +/// that wraps a `document` field that provides the textual content of the +/// document and the layout information. /// -/// For example: +/// For example: /// /// { /// "document": { @@ -767,18 +767,18 @@ pub struct TextSentimentEvaluationMetrics { /// /// /// -///
Classification
+///
Classification
/// -/// See [Preparing your training -/// data]() for more -/// information. +/// See [Preparing your training +/// data]() for more +/// information. /// -/// One or more CSV file(s) with each line in the following format: +/// One or more CSV file(s) with each line in the following format: /// /// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),LABEL,LABEL,... /// -/// * `ML_USE` - Identifies the data set that the current row (file) applies -/// to. +/// * `ML_USE` - Identifies the data set that the current row (file) applies +/// to. /// This value can be one of the following: /// * `TRAIN` - Rows in this file are used to train the model. /// * `TEST` - Rows in this file are used to test the model during training. @@ -786,7 +786,7 @@ pub struct TextSentimentEvaluationMetrics { /// Automatically divided into train and test data. 80% for training and /// 20% for testing. /// -/// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +/// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If /// the column content is a valid Google Cloud Storage file path, that is, /// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if /// the content is enclosed in double quotes (""), it is treated as a @@ -803,9 +803,9 @@ pub struct TextSentimentEvaluationMetrics { /// The `ML_USE` and `LABEL` columns are optional. /// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP /// -/// A maximum of 100 unique labels are allowed per CSV row. +/// A maximum of 100 unique labels are allowed per CSV row. /// -/// Sample rows: +/// Sample rows: /// /// TRAIN,"They have bad food and very rude",RudeService,BadFood /// gs://folder/content.txt,SlowService @@ -814,18 +814,18 @@ pub struct TextSentimentEvaluationMetrics { /// /// /// -///
Sentiment Analysis
+///
Sentiment Analysis
/// -/// See [Preparing your training -/// data]() for more -/// information. +/// See [Preparing your training +/// data]() for more +/// information. /// -/// CSV file(s) with each line in format: +/// CSV file(s) with each line in format: /// /// ML_USE,(TEXT_SNIPPET | GCS_FILE_PATH),SENTIMENT /// -/// * `ML_USE` - Identifies the data set that the current row (file) applies -/// to. +/// * `ML_USE` - Identifies the data set that the current row (file) applies +/// to. /// This value can be one of the following: /// * `TRAIN` - Rows in this file are used to train the model. /// * `TEST` - Rows in this file are used to test the model during training. @@ -833,7 +833,7 @@ pub struct TextSentimentEvaluationMetrics { /// Automatically divided into train and test data. 80% for training and /// 20% for testing. /// -/// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If +/// * `TEXT_SNIPPET` and `GCS_FILE_PATH` are distinguished by a pattern. If /// the column content is a valid Google Cloud Storage file path, that is, /// prefixed by "gs://", it is treated as a `GCS_FILE_PATH`. Otherwise, if /// the content is enclosed in double quotes (""), it is treated as a @@ -848,7 +848,7 @@ pub struct TextSentimentEvaluationMetrics { /// The `ML_USE` and `SENTIMENT` columns are optional. /// Supported file extensions: .TXT, .PDF, .TIF, .TIFF, .ZIP /// -/// * `SENTIMENT` - An integer between 0 and +/// * `SENTIMENT` - An integer between 0 and /// Dataset.text_sentiment_dataset_metadata.sentiment_max /// (inclusive). Describes the ordinal of the sentiment - higher /// value means a more positive sentiment. All the values are @@ -865,124 +865,124 @@ pub struct TextSentimentEvaluationMetrics { /// 2 may be similar whereas the difference between 2 and 3 may be /// large. /// -/// Sample rows: +/// Sample rows: /// /// TRAIN,"@freewrytin this is way too good for your product",2 /// gs://folder/content.txt,3 /// TEST,gs://folder/document.pdf /// VALIDATE,gs://folder/text_files.zip,2 ///
-///
+///
/// /// /// -///

AutoML Tables

+///

AutoML Tables

/// -/// See [Preparing your training -/// data]() for more -/// information. +/// See [Preparing your training +/// data]() for more +/// information. /// -/// You can use either -/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] or -/// \[bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source\]. -/// All input is concatenated into a -/// single -/// \[primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id\] +/// You can use either +/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] or +/// \[bigquery_source][google.cloud.automl.v1.InputConfig.bigquery_source\]. +/// All input is concatenated into a +/// single +/// \[primary_table_spec_id][google.cloud.automl.v1.TablesDatasetMetadata.primary_table_spec_id\] /// -/// **For gcs_source:** +/// **For gcs_source:** /// -/// CSV file(s), where the first row of the first file is the header, -/// containing unique column names. If the first row of a subsequent -/// file is the same as the header, then it is also treated as a -/// header. All other rows contain values for the corresponding -/// columns. +/// CSV file(s), where the first row of the first file is the header, +/// containing unique column names. If the first row of a subsequent +/// file is the same as the header, then it is also treated as a +/// header. All other rows contain values for the corresponding +/// columns. /// -/// Each .CSV file by itself must be 10GB or smaller, and their total -/// size must be 100GB or smaller. +/// Each .CSV file by itself must be 10GB or smaller, and their total +/// size must be 100GB or smaller. /// -/// First three sample rows of a CSV file: -///
-///  "Id","First Name","Last Name","Dob","Addresses"
-///  "1","John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]"
-///  "2","Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]}
-///  
-/// **For bigquery_source:** +/// First three sample rows of a CSV file: +///
+/// "Id","First Name","Last Name","Dob","Addresses"
+/// "1","John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]"
+/// "2","Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]}
+/// 
+/// **For bigquery_source:** /// -/// An URI of a BigQuery table. The user data size of the BigQuery -/// table must be 100GB or smaller. +/// An URI of a BigQuery table. The user data size of the BigQuery +/// table must be 100GB or smaller. /// -/// An imported table must have between 2 and 1,000 columns, inclusive, -/// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 -/// import data running in parallel. +/// An imported table must have between 2 and 1,000 columns, inclusive, +/// and between 1000 and 100,000,000 rows, inclusive. There are at most 5 +/// import data running in parallel. /// ///
-///
+///
/// /// -/// **Input field definitions:** +/// **Input field definitions:** /// -/// `ML_USE` -/// : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED") +/// `ML_USE` +/// : ("TRAIN" | "VALIDATE" | "TEST" | "UNASSIGNED") /// Describes how the given example (file) should be used for model /// training. "UNASSIGNED" can be used when user has no preference. /// -/// `GCS_FILE_PATH` -/// : The path to a file on Google Cloud Storage. For example, +/// `GCS_FILE_PATH` +/// : The path to a file on Google Cloud Storage. For example, /// "gs://folder/image1.png". /// -/// `LABEL` -/// : A display name of an object on an image, video etc., e.g. "dog". +/// `LABEL` +/// : A display name of an object on an image, video etc., e.g. "dog". /// Must be up to 32 characters long and can consist only of ASCII /// Latin letters A-Z and a-z, underscores(_), and ASCII digits 0-9. /// For each label an AnnotationSpec is created which display_name /// becomes the label; AnnotationSpecs are given back in predictions. /// -/// `INSTANCE_ID` -/// : A positive integer that identifies a specific instance of a +/// `INSTANCE_ID` +/// : A positive integer that identifies a specific instance of a /// labeled entity on an example. Used e.g. to track two cars on /// a video while being able to tell apart which one is which. /// -/// `BOUNDING_BOX` -/// : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) +/// `BOUNDING_BOX` +/// : (`VERTEX,VERTEX,VERTEX,VERTEX` | `VERTEX,,,VERTEX,,`) /// A rectangle parallel to the frame of the example (image, /// video). If 4 vertices are given they are connected by edges /// in the order provided, if 2 are given they are recognized /// as diagonally opposite vertices of the rectangle. /// -/// `VERTEX` -/// : (`COORDINATE,COORDINATE`) +/// `VERTEX` +/// : (`COORDINATE,COORDINATE`) /// First coordinate is horizontal (x), the second is vertical (y). /// -/// `COORDINATE` -/// : A float in 0 to 1 range, relative to total length of +/// `COORDINATE` +/// : A float in 0 to 1 range, relative to total length of /// image or video in given dimension. For fractions the /// leading non-decimal 0 can be omitted (i.e. 0.3 = .3). /// Point 0,0 is in top left. /// -/// `TIME_SEGMENT_START` -/// : (`TIME_OFFSET`) +/// `TIME_SEGMENT_START` +/// : (`TIME_OFFSET`) /// Expresses a beginning, inclusive, of a time segment /// within an example that has a time dimension /// (e.g. video). /// -/// `TIME_SEGMENT_END` -/// : (`TIME_OFFSET`) +/// `TIME_SEGMENT_END` +/// : (`TIME_OFFSET`) /// Expresses an end, exclusive, of a time segment within /// n example that has a time dimension (e.g. video). /// -/// `TIME_OFFSET` -/// : A number of seconds as measured from the start of an +/// `TIME_OFFSET` +/// : A number of seconds as measured from the start of an /// example (e.g. video). Fractions are allowed, up to a /// microsecond precision. "inf" is allowed, and it means the end /// of the example. /// -/// `TEXT_SNIPPET` -/// : The content of a text snippet, UTF-8 encoded, enclosed within +/// `TEXT_SNIPPET` +/// : The content of a text snippet, UTF-8 encoded, enclosed within /// double quotes (""). /// -/// `DOCUMENT` -/// : A field that provides the textual content with document and the layout +/// `DOCUMENT` +/// : A field that provides the textual content with document and the layout /// information. /// /// @@ -996,180 +996,180 @@ pub struct TextSentimentEvaluationMetrics { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputConfig { - /// Additional domain-specific parameters describing the semantic of the - /// imported data, any string must be up to 25000 - /// characters long. + /// Additional domain-specific parameters describing the semantic of the + /// imported data, any string must be up to 25000 + /// characters long. /// - ///

AutoML Tables

+ ///

AutoML Tables

/// - /// `schema_inference_version` - /// : (integer) This value must be supplied. + /// `schema_inference_version` + /// : (integer) This value must be supplied. /// The version of the /// algorithm to use for the initial inference of the /// column data types of the imported table. Allowed values: "1". #[prost(map="string, string", tag="2")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The source of the input. + /// The source of the input. #[prost(oneof="input_config::Source", tags="1")] pub source: ::core::option::Option, } /// Nested message and enum types in `InputConfig`. pub mod input_config { - /// The source of the input. + /// The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Google Cloud Storage location for the input content. - /// For \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\], `gcs_source` points to a CSV file with - /// a structure described in \[InputConfig][google.cloud.automl.v1.InputConfig\]. + /// The Google Cloud Storage location for the input content. + /// For \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\], `gcs_source` points to a CSV file with + /// a structure described in \[InputConfig][google.cloud.automl.v1.InputConfig\]. #[prost(message, tag="1")] GcsSource(super::GcsSource), } } -/// Input configuration for BatchPredict Action. +/// Input configuration for BatchPredict Action. /// -/// The format of input depends on the ML problem of the model used for -/// prediction. As input source the -/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] -/// is expected, unless specified otherwise. +/// The format of input depends on the ML problem of the model used for +/// prediction. As input source the +/// \[gcs_source][google.cloud.automl.v1.InputConfig.gcs_source\] +/// is expected, unless specified otherwise. /// -/// The formats are represented in EBNF with commas being literal and with -/// non-terminal symbols defined near the end of this comment. The formats -/// are: +/// The formats are represented in EBNF with commas being literal and with +/// non-terminal symbols defined near the end of this comment. The formats +/// are: /// -///

AutoML Vision

-///
Classification
+///

AutoML Vision

+///
Classification
/// -/// One or more CSV files where each line is a single column: +/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH /// -/// The Google Cloud Storage location of an image of up to -/// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. -/// This path is treated as the ID in the batch predict output. +/// The Google Cloud Storage location of an image of up to +/// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. +/// This path is treated as the ID in the batch predict output. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/image1.jpeg /// gs://folder/image2.gif /// gs://folder/image3.png /// -///
Object Detection
+///
Object Detection
/// -/// One or more CSV files where each line is a single column: +/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH /// -/// The Google Cloud Storage location of an image of up to -/// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. -/// This path is treated as the ID in the batch predict output. +/// The Google Cloud Storage location of an image of up to +/// 30MB in size. Supported extensions: .JPEG, .GIF, .PNG. +/// This path is treated as the ID in the batch predict output. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/image1.jpeg /// gs://folder/image2.gif /// gs://folder/image3.png ///
-///
+///
/// -///

AutoML Video Intelligence

-///
Classification
+///

AutoML Video Intelligence

+///
Classification
/// -/// One or more CSV files where each line is a single column: +/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END /// -/// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in -/// size and up to 3h in duration duration. -/// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +/// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in +/// size and up to 3h in duration duration. +/// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. /// -/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the -/// length of the video, and the end time must be after the start time. +/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +/// length of the video, and the end time must be after the start time. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/video1.mp4,10,40 /// gs://folder/video1.mp4,20,60 /// gs://folder/vid2.mov,0,inf /// -///
Object Tracking
+///
Object Tracking
/// -/// One or more CSV files where each line is a single column: +/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END /// -/// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in -/// size and up to 3h in duration duration. -/// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. +/// `GCS_FILE_PATH` is the Google Cloud Storage location of video up to 50GB in +/// size and up to 3h in duration duration. +/// Supported extensions: .MOV, .MPEG4, .MP4, .AVI. /// -/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the -/// length of the video, and the end time must be after the start time. +/// `TIME_SEGMENT_START` and `TIME_SEGMENT_END` must be within the +/// length of the video, and the end time must be after the start time. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/video1.mp4,10,40 /// gs://folder/video1.mp4,20,60 /// gs://folder/vid2.mov,0,inf ///
-///
+///
/// -///

AutoML Natural Language

-///
Classification
+///

AutoML Natural Language

+///
Classification
/// -/// One or more CSV files where each line is a single column: +/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH /// -/// `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. -/// Supported file extensions: .TXT, .PDF, .TIF, .TIFF +/// `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. +/// Supported file extensions: .TXT, .PDF, .TIF, .TIFF /// -/// Text files can be no larger than 10MB in size. +/// Text files can be no larger than 10MB in size. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/text1.txt /// gs://folder/text2.pdf /// gs://folder/text3.tif /// -///
Sentiment Analysis
-/// One or more CSV files where each line is a single column: +///
Sentiment Analysis
+/// One or more CSV files where each line is a single column: /// /// GCS_FILE_PATH /// -/// `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. -/// Supported file extensions: .TXT, .PDF, .TIF, .TIFF +/// `GCS_FILE_PATH` is the Google Cloud Storage location of a text file. +/// Supported file extensions: .TXT, .PDF, .TIF, .TIFF /// -/// Text files can be no larger than 128kB in size. +/// Text files can be no larger than 128kB in size. /// -/// Sample rows: +/// Sample rows: /// /// gs://folder/text1.txt /// gs://folder/text2.pdf /// gs://folder/text3.tif /// -///
Entity Extraction
+///
Entity Extraction
/// -/// One or more JSONL (JSON Lines) files that either provide inline text or -/// documents. You can only use one format, either inline text or documents, -/// for a single call to \[AutoMl.BatchPredict\]. +/// One or more JSONL (JSON Lines) files that either provide inline text or +/// documents. You can only use one format, either inline text or documents, +/// for a single call to \[AutoMl.BatchPredict\]. /// -/// Each JSONL file contains a per line a proto that -/// wraps a temporary user-assigned TextSnippet ID (string up to 2000 -/// characters long) called "id", a TextSnippet proto (in -/// JSON representation) and zero or more TextFeature protos. Any given -/// text snippet content must have 30,000 characters or less, and also -/// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be -/// unique. +/// Each JSONL file contains a per line a proto that +/// wraps a temporary user-assigned TextSnippet ID (string up to 2000 +/// characters long) called "id", a TextSnippet proto (in +/// JSON representation) and zero or more TextFeature protos. Any given +/// text snippet content must have 30,000 characters or less, and also +/// be UTF-8 NFC encoded (ASCII already is). The IDs provided should be +/// unique. /// -/// Each document JSONL file contains, per line, a proto that wraps a Document -/// proto with `input_config` set. Each document cannot exceed 2MB in size. +/// Each document JSONL file contains, per line, a proto that wraps a Document +/// proto with `input_config` set. Each document cannot exceed 2MB in size. /// -/// Supported document extensions: .PDF, .TIF, .TIFF +/// Supported document extensions: .PDF, .TIF, .TIFF /// -/// Each JSONL file must not exceed 100MB in size, and no more than 20 -/// JSONL files may be passed. +/// Each JSONL file must not exceed 100MB in size, and no more than 20 +/// JSONL files may be passed. /// -/// Sample inline JSONL file (Shown with artificial line -/// breaks. Actual line breaks are denoted by "\n".): +/// Sample inline JSONL file (Shown with artificial line +/// breaks. Actual line breaks are denoted by "\n".): /// /// { /// "id": "my_first_id", @@ -1197,8 +1197,8 @@ pub mod input_config { /// } /// } /// -/// Sample document JSONL file (Shown with artificial line -/// breaks. Actual line breaks are denoted by "\n".): +/// Sample document JSONL file (Shown with artificial line +/// breaks. Actual line breaks are denoted by "\n".): /// /// { /// "document": { @@ -1217,77 +1217,77 @@ pub mod input_config { /// } /// } ///
-///
-/// -///

AutoML Tables

-/// -/// See [Preparing your training -/// data]() for more -/// information. -/// -/// You can use either -/// \[gcs_source][google.cloud.automl.v1.BatchPredictInputConfig.gcs_source\] -/// or -/// \[bigquery_source][BatchPredictInputConfig.bigquery_source\]. -/// -/// **For gcs_source:** -/// -/// CSV file(s), each by itself 10GB or smaller and total size must be -/// 100GB or smaller, where first file must have a header containing -/// column names. If the first row of a subsequent file is the same as -/// the header, then it is also treated as a header. All other rows -/// contain values for the corresponding columns. -/// -/// The column names must contain the model's -/// \[input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs\] -/// \[display_name-s][google.cloud.automl.v1.ColumnSpec.display_name\] -/// (order doesn't matter). The columns corresponding to the model's -/// input feature column specs must contain values compatible with the -/// column spec's data types. Prediction on all the rows, i.e. the CSV -/// lines, will be attempted. -/// -/// -/// Sample rows from a CSV file: -///
-///  "First Name","Last Name","Dob","Addresses"
-///  "John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]"
-///  "Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]}
-///  
-/// **For bigquery_source:** -/// -/// The URI of a BigQuery table. The user data size of the BigQuery -/// table must be 100GB or smaller. -/// -/// The column names must contain the model's -/// \[input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs\] -/// \[display_name-s][google.cloud.automl.v1.ColumnSpec.display_name\] -/// (order doesn't matter). The columns corresponding to the model's -/// input feature column specs must contain values compatible with the -/// column spec's data types. Prediction on all the rows of the table -/// will be attempted. +///
+/// +///

AutoML Tables

+/// +/// See [Preparing your training +/// data]() for more +/// information. +/// +/// You can use either +/// \[gcs_source][google.cloud.automl.v1.BatchPredictInputConfig.gcs_source\] +/// or +/// \[bigquery_source][BatchPredictInputConfig.bigquery_source\]. +/// +/// **For gcs_source:** +/// +/// CSV file(s), each by itself 10GB or smaller and total size must be +/// 100GB or smaller, where first file must have a header containing +/// column names. If the first row of a subsequent file is the same as +/// the header, then it is also treated as a header. All other rows +/// contain values for the corresponding columns. +/// +/// The column names must contain the model's +/// \[input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs\] +/// \[display_name-s][google.cloud.automl.v1.ColumnSpec.display_name\] +/// (order doesn't matter). The columns corresponding to the model's +/// input feature column specs must contain values compatible with the +/// column spec's data types. Prediction on all the rows, i.e. the CSV +/// lines, will be attempted. +/// +/// +/// Sample rows from a CSV file: +///
+/// "First Name","Last Name","Dob","Addresses"
+/// "John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]"
+/// "Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]}
+/// 
+/// **For bigquery_source:** +/// +/// The URI of a BigQuery table. The user data size of the BigQuery +/// table must be 100GB or smaller. +/// +/// The column names must contain the model's +/// \[input_feature_column_specs'][google.cloud.automl.v1.TablesModelMetadata.input_feature_column_specs\] +/// \[display_name-s][google.cloud.automl.v1.ColumnSpec.display_name\] +/// (order doesn't matter). The columns corresponding to the model's +/// input feature column specs must contain values compatible with the +/// column spec's data types. Prediction on all the rows of the table +/// will be attempted. ///
-///
+///
/// -/// **Input field definitions:** +/// **Input field definitions:** /// -/// `GCS_FILE_PATH` -/// : The path to a file on Google Cloud Storage. For example, +/// `GCS_FILE_PATH` +/// : The path to a file on Google Cloud Storage. For example, /// "gs://folder/video.avi". /// -/// `TIME_SEGMENT_START` -/// : (`TIME_OFFSET`) +/// `TIME_SEGMENT_START` +/// : (`TIME_OFFSET`) /// Expresses a beginning, inclusive, of a time segment /// within an example that has a time dimension /// (e.g. video). /// -/// `TIME_SEGMENT_END` -/// : (`TIME_OFFSET`) +/// `TIME_SEGMENT_END` +/// : (`TIME_OFFSET`) /// Expresses an end, exclusive, of a time segment within /// n example that has a time dimension (e.g. video). /// -/// `TIME_OFFSET` -/// : A number of seconds as measured from the start of an +/// `TIME_OFFSET` +/// : A number of seconds as measured from the start of an /// example (e.g. video). Fractions are allowed, up to a /// microsecond precision. "inf" is allowed, and it means the end /// of the example. @@ -1301,33 +1301,33 @@ pub mod input_config { /// Operation.metadata.partial_failures. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictInputConfig { - /// The source of the input. + /// The source of the input. #[prost(oneof="batch_predict_input_config::Source", tags="1")] pub source: ::core::option::Option, } /// Nested message and enum types in `BatchPredictInputConfig`. pub mod batch_predict_input_config { - /// The source of the input. + /// The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Required. The Google Cloud Storage location for the input content. + /// Required. The Google Cloud Storage location for the input content. #[prost(message, tag="1")] GcsSource(super::GcsSource), } } -/// Input configuration of a \[Document][google.cloud.automl.v1.Document\]. +/// Input configuration of a \[Document][google.cloud.automl.v1.Document\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentInputConfig { - /// The Google Cloud Storage location of the document file. Only a single path - /// should be given. + /// The Google Cloud Storage location of the document file. Only a single path + /// should be given. /// - /// Max supported size: 512MB. + /// Max supported size: 512MB. /// - /// Supported extensions: .PDF. + /// Supported extensions: .PDF. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// * For Translation: +/// * For Translation: /// CSV file `translation.csv`, with each line in format: /// ML_USE,GCS_FILE_PATH /// GCS_FILE_PATH leads to a .TSV file which describes examples that have @@ -1357,35 +1357,35 @@ pub struct DocumentInputConfig { /// filled with precisely the same data as this obtained on import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// The destination of the output. + /// The destination of the output. #[prost(oneof="output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// The destination of the output. + /// The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Required. The Google Cloud Storage location where the output is to be written to. - /// For Image Object Detection, Text Extraction, Video Classification and - /// Tables, in the given directory a new directory will be created with name: - /// export_data-- where - /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - /// output will be written into that directory. + /// Required. The Google Cloud Storage location where the output is to be written to. + /// For Image Object Detection, Text Extraction, Video Classification and + /// Tables, in the given directory a new directory will be created with name: + /// export_data-- where + /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export + /// output will be written into that directory. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), } } -/// Output configuration for BatchPredict Action. +/// Output configuration for BatchPredict Action. /// -/// As destination the -/// \[gcs_destination][google.cloud.automl.v1.BatchPredictOutputConfig.gcs_destination\] -/// must be set unless specified otherwise for a domain. If gcs_destination is -/// set then in the given directory a new directory is created. Its name -/// will be -/// "prediction--", -/// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents -/// of it depends on the ML problem the predictions are made for. +/// As destination the +/// \[gcs_destination][google.cloud.automl.v1.BatchPredictOutputConfig.gcs_destination\] +/// must be set unless specified otherwise for a domain. If gcs_destination is +/// set then in the given directory a new directory is created. Its name +/// will be +/// "prediction--", +/// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents +/// of it depends on the ML problem the predictions are made for. /// /// * For Image Classification: /// In the created directory files `image_classification_1.jsonl`, @@ -1627,77 +1627,77 @@ pub mod output_config { /// represented as a STRUCT, and containing only `code` and `message`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOutputConfig { - /// The destination of the output. + /// The destination of the output. #[prost(oneof="batch_predict_output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOutputConfig`. pub mod batch_predict_output_config { - /// The destination of the output. + /// The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Required. The Google Cloud Storage location of the directory where the output is to - /// be written to. + /// Required. The Google Cloud Storage location of the directory where the output is to + /// be written to. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), } } -/// Output configuration for ModelExport Action. +/// Output configuration for ModelExport Action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelExportOutputConfig { - /// The format in which the model must be exported. The available, and default, - /// formats depend on the problem and model type (if given problem and type - /// combination doesn't have a format listed, it means its models are not - /// exportable): + /// The format in which the model must be exported. The available, and default, + /// formats depend on the problem and model type (if given problem and type + /// combination doesn't have a format listed, it means its models are not + /// exportable): /// - /// * For Image Classification mobile-low-latency-1, mobile-versatile-1, + /// * For Image Classification mobile-low-latency-1, mobile-versatile-1, /// mobile-high-accuracy-1: /// "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", /// "docker". /// - /// * For Image Classification mobile-core-ml-low-latency-1, + /// * For Image Classification mobile-core-ml-low-latency-1, /// mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: /// "core_ml" (default). /// - /// * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + /// * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, /// mobile-high-accuracy-1: /// "tflite", "tf_saved_model", "tf_js". - /// Formats description: + /// Formats description: /// - /// * tflite - Used for Android mobile devices. - /// * edgetpu_tflite - Used for [Edge TPU]() + /// * tflite - Used for Android mobile devices. + /// * edgetpu_tflite - Used for [Edge TPU]() /// devices. - /// * tf_saved_model - A tensorflow model in SavedModel format. - /// * tf_js - A \[TensorFlow.js\]() model that can + /// * tf_saved_model - A tensorflow model in SavedModel format. + /// * tf_js - A \[TensorFlow.js\]() model that can /// be used in the browser and in Node.js using JavaScript. - /// * docker - Used for Docker containers. Use the params field to customize + /// * docker - Used for Docker containers. Use the params field to customize /// the container. The container is verified to work correctly on /// ubuntu 16.04 operating system. See more at /// [containers /// quickstart]() - /// * core_ml - Used for iOS mobile devices. + /// * core_ml - Used for iOS mobile devices. #[prost(string, tag="4")] pub model_format: ::prost::alloc::string::String, - /// Additional model-type and format specific parameters describing the - /// requirements for the to be exported model files, any string must be up to - /// 25000 characters long. + /// Additional model-type and format specific parameters describing the + /// requirements for the to be exported model files, any string must be up to + /// 25000 characters long. /// /// * For `docker` format: /// `cpu_architecture` - (string) "x86_64" (default). /// `gpu_architecture` - (string) "none" (default), "nvidia". #[prost(map="string, string", tag="2")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The destination of the output. + /// The destination of the output. #[prost(oneof="model_export_output_config::Destination", tags="1")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ModelExportOutputConfig`. pub mod model_export_output_config { - /// The destination of the output. + /// The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Required. The Google Cloud Storage location where the model is to be written to. - /// This location may only be set for the following model formats: + /// Required. The Google Cloud Storage location where the model is to be written to. + /// This location may only be set for the following model formats: /// "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". /// /// Under the directory given as the destination a new one with name @@ -1709,94 +1709,94 @@ pub mod model_export_output_config { GcsDestination(super::GcsDestination), } } -/// The Google Cloud Storage location for the input content. +/// The Google Cloud Storage location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Required. Google Cloud Storage URIs to input files, up to 2000 - /// characters long. Accepted forms: - /// * Full object path, e.g. gs://bucket/directory/object.csv + /// Required. Google Cloud Storage URIs to input files, up to 2000 + /// characters long. Accepted forms: + /// * Full object path, e.g. gs://bucket/directory/object.csv #[prost(string, repeated, tag="1")] pub input_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The Google Cloud Storage location where the output is to be written to. +/// The Google Cloud Storage location where the output is to be written to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. Google Cloud Storage URI to output directory, up to 2000 - /// characters long. - /// Accepted forms: - /// * Prefix path: gs://bucket/directory - /// The requesting user must have write permission to the bucket. - /// The directory is created if it doesn't exist. + /// Required. Google Cloud Storage URI to output directory, up to 2000 + /// characters long. + /// Accepted forms: + /// * Prefix path: gs://bucket/directory + /// The requesting user must have write permission to the bucket. + /// The directory is created if it doesn't exist. #[prost(string, tag="1")] pub output_uri_prefix: ::prost::alloc::string::String, } -/// A representation of an image. -/// Only images up to 30MB in size are supported. +/// A representation of an image. +/// Only images up to 30MB in size are supported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Image { - /// Output only. HTTP URI to the thumbnail image. + /// Output only. HTTP URI to the thumbnail image. #[prost(string, tag="4")] pub thumbnail_uri: ::prost::alloc::string::String, - /// Input only. The data representing the image. - /// For Predict calls \[image_bytes][google.cloud.automl.v1.Image.image_bytes\] must be set . + /// Input only. The data representing the image. + /// For Predict calls \[image_bytes][google.cloud.automl.v1.Image.image_bytes\] must be set . #[prost(oneof="image::Data", tags="1")] pub data: ::core::option::Option, } /// Nested message and enum types in `Image`. pub mod image { - /// Input only. The data representing the image. - /// For Predict calls \[image_bytes][google.cloud.automl.v1.Image.image_bytes\] must be set . + /// Input only. The data representing the image. + /// For Predict calls \[image_bytes][google.cloud.automl.v1.Image.image_bytes\] must be set . #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Image content represented as a stream of bytes. - /// Note: As with all `bytes` fields, protobuffers use a pure binary - /// representation, whereas JSON representations use base64. + /// Image content represented as a stream of bytes. + /// Note: As with all `bytes` fields, protobuffers use a pure binary + /// representation, whereas JSON representations use base64. #[prost(bytes, tag="1")] ImageBytes(::prost::alloc::vec::Vec), } } -/// A representation of a text snippet. +/// A representation of a text snippet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSnippet { - /// Required. The content of the text snippet as a string. Up to 250000 - /// characters long. + /// Required. The content of the text snippet as a string. Up to 250000 + /// characters long. #[prost(string, tag="1")] pub content: ::prost::alloc::string::String, - /// Optional. The format of \[content][google.cloud.automl.v1.TextSnippet.content\]. Currently the only two allowed - /// values are "text/html" and "text/plain". If left blank, the format is - /// automatically determined from the type of the uploaded \[content][google.cloud.automl.v1.TextSnippet.content\]. + /// Optional. The format of \[content][google.cloud.automl.v1.TextSnippet.content\]. Currently the only two allowed + /// values are "text/html" and "text/plain". If left blank, the format is + /// automatically determined from the type of the uploaded \[content][google.cloud.automl.v1.TextSnippet.content\]. #[prost(string, tag="2")] pub mime_type: ::prost::alloc::string::String, - /// Output only. HTTP URI where you can download the content. + /// Output only. HTTP URI where you can download the content. #[prost(string, tag="4")] pub content_uri: ::prost::alloc::string::String, } -/// Message that describes dimension of a document. +/// Message that describes dimension of a document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentDimensions { - /// Unit of the dimension. + /// Unit of the dimension. #[prost(enumeration="document_dimensions::DocumentDimensionUnit", tag="1")] pub unit: i32, - /// Width value of the document, works together with the unit. + /// Width value of the document, works together with the unit. #[prost(float, tag="2")] pub width: f32, - /// Height value of the document, works together with the unit. + /// Height value of the document, works together with the unit. #[prost(float, tag="3")] pub height: f32, } /// Nested message and enum types in `DocumentDimensions`. pub mod document_dimensions { - /// Unit of the document dimension. + /// Unit of the document dimension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DocumentDimensionUnit { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Document dimension is measured in inches. + /// Document dimension is measured in inches. Inch = 1, - /// Document dimension is measured in centimeters. + /// Document dimension is measured in centimeters. Centimeter = 2, - /// Document dimension is measured in points. 72 points = 1 inch. + /// Document dimension is measured in points. 72 points = 1 inch. Point = 3, } impl DocumentDimensionUnit { @@ -1814,88 +1814,88 @@ pub mod document_dimensions { } } } -/// A structured text document e.g. a PDF. +/// A structured text document e.g. a PDF. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Document { - /// An input config specifying the content of the document. + /// An input config specifying the content of the document. #[prost(message, optional, tag="1")] pub input_config: ::core::option::Option, - /// The plain text version of this document. + /// The plain text version of this document. #[prost(message, optional, tag="2")] pub document_text: ::core::option::Option, - /// Describes the layout of the document. - /// Sorted by \[page_number][\]. + /// Describes the layout of the document. + /// Sorted by \[page_number][\]. #[prost(message, repeated, tag="3")] pub layout: ::prost::alloc::vec::Vec, - /// The dimensions of the page in the document. + /// The dimensions of the page in the document. #[prost(message, optional, tag="4")] pub document_dimensions: ::core::option::Option, - /// Number of pages in the document. + /// Number of pages in the document. #[prost(int32, tag="5")] pub page_count: i32, } /// Nested message and enum types in `Document`. pub mod document { - /// Describes the layout information of a \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the document. + /// Describes the layout information of a \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Layout { - /// Text Segment that represents a segment in - /// \[document_text][google.cloud.automl.v1p1beta.Document.document_text\]. + /// Text Segment that represents a segment in + /// \[document_text][google.cloud.automl.v1p1beta.Document.document_text\]. #[prost(message, optional, tag="1")] pub text_segment: ::core::option::Option, - /// Page number of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the original document, starts - /// from 1. + /// Page number of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the original document, starts + /// from 1. #[prost(int32, tag="2")] pub page_number: i32, - /// The position of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the page. - /// Contains exactly 4 - /// \[normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices\] - /// and they are connected by edges in the order provided, which will - /// represent a rectangle parallel to the frame. The - /// \[NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex\] are - /// relative to the page. - /// Coordinates are based on top-left as point (0,0). + /// The position of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in the page. + /// Contains exactly 4 + /// \[normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices\] + /// and they are connected by edges in the order provided, which will + /// represent a rectangle parallel to the frame. The + /// \[NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex\] are + /// relative to the page. + /// Coordinates are based on top-left as point (0,0). #[prost(message, optional, tag="3")] pub bounding_poly: ::core::option::Option, - /// The type of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in document. + /// The type of the \[text_segment][google.cloud.automl.v1.Document.Layout.text_segment\] in document. #[prost(enumeration="layout::TextSegmentType", tag="4")] pub text_segment_type: i32, } /// Nested message and enum types in `Layout`. pub mod layout { - /// The type of TextSegment in the context of the original document. + /// The type of TextSegment in the context of the original document. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TextSegmentType { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// The text segment is a token. e.g. word. + /// The text segment is a token. e.g. word. Token = 1, - /// The text segment is a paragraph. + /// The text segment is a paragraph. Paragraph = 2, - /// The text segment is a form field. + /// The text segment is a form field. FormField = 3, - /// The text segment is the name part of a form field. It will be treated - /// as child of another FORM_FIELD TextSegment if its span is subspan of - /// another TextSegment with type FORM_FIELD. + /// The text segment is the name part of a form field. It will be treated + /// as child of another FORM_FIELD TextSegment if its span is subspan of + /// another TextSegment with type FORM_FIELD. FormFieldName = 4, - /// The text segment is the text content part of a form field. It will be - /// treated as child of another FORM_FIELD TextSegment if its span is - /// subspan of another TextSegment with type FORM_FIELD. + /// The text segment is the text content part of a form field. It will be + /// treated as child of another FORM_FIELD TextSegment if its span is + /// subspan of another TextSegment with type FORM_FIELD. FormFieldContents = 5, - /// The text segment is a whole table, including headers, and all rows. + /// The text segment is a whole table, including headers, and all rows. Table = 6, - /// The text segment is a table's headers. It will be treated as child of - /// another TABLE TextSegment if its span is subspan of another TextSegment - /// with type TABLE. + /// The text segment is a table's headers. It will be treated as child of + /// another TABLE TextSegment if its span is subspan of another TextSegment + /// with type TABLE. TableHeader = 7, - /// The text segment is a row in table. It will be treated as child of - /// another TABLE TextSegment if its span is subspan of another TextSegment - /// with type TABLE. + /// The text segment is a row in table. It will be treated as child of + /// another TABLE TextSegment if its span is subspan of another TextSegment + /// with type TABLE. TableRow = 8, - /// The text segment is a cell in table. It will be treated as child of - /// another TABLE_ROW TextSegment if its span is subspan of another - /// TextSegment with type TABLE_ROW. + /// The text segment is a cell in table. It will be treated as child of + /// another TABLE_ROW TextSegment if its span is subspan of another + /// TextSegment with type TABLE_ROW. TableCell = 9, } impl TextSegmentType { @@ -1920,209 +1920,209 @@ pub mod document { } } } -/// Example data used for training or prediction. +/// Example data used for training or prediction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplePayload { - /// Required. The example data. + /// Required. The example data. #[prost(oneof="example_payload::Payload", tags="1, 2, 4")] pub payload: ::core::option::Option, } /// Nested message and enum types in `ExamplePayload`. pub mod example_payload { - /// Required. The example data. + /// Required. The example data. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// Example image. + /// Example image. #[prost(message, tag="1")] Image(super::Image), - /// Example text. + /// Example text. #[prost(message, tag="2")] TextSnippet(super::TextSnippet), - /// Example document. + /// Example document. #[prost(message, tag="4")] Document(super::Document), } } -/// Dataset metadata that is specific to translation. +/// Dataset metadata that is specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationDatasetMetadata { - /// Required. The BCP-47 language code of the source language. + /// Required. The BCP-47 language code of the source language. #[prost(string, tag="1")] pub source_language_code: ::prost::alloc::string::String, - /// Required. The BCP-47 language code of the target language. + /// Required. The BCP-47 language code of the target language. #[prost(string, tag="2")] pub target_language_code: ::prost::alloc::string::String, } -/// Evaluation metrics for the dataset. +/// Evaluation metrics for the dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationEvaluationMetrics { - /// Output only. BLEU score. + /// Output only. BLEU score. #[prost(double, tag="1")] pub bleu_score: f64, - /// Output only. BLEU score for base model. + /// Output only. BLEU score for base model. #[prost(double, tag="2")] pub base_bleu_score: f64, } -/// Model metadata that is specific to translation. +/// Model metadata that is specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationModelMetadata { - /// The resource name of the model to use as a baseline to train the custom - /// model. If unset, we use the default base model provided by Google - /// Translate. Format: - /// `projects/{project_id}/locations/{location_id}/models/{model_id}` + /// The resource name of the model to use as a baseline to train the custom + /// model. If unset, we use the default base model provided by Google + /// Translate. Format: + /// `projects/{project_id}/locations/{location_id}/models/{model_id}` #[prost(string, tag="1")] pub base_model: ::prost::alloc::string::String, - /// Output only. Inferred from the dataset. - /// The source language (The BCP-47 language code) that is used for training. + /// Output only. Inferred from the dataset. + /// The source language (The BCP-47 language code) that is used for training. #[prost(string, tag="2")] pub source_language_code: ::prost::alloc::string::String, - /// Output only. The target language (The BCP-47 language code) that is used - /// for training. + /// Output only. The target language (The BCP-47 language code) that is used + /// for training. #[prost(string, tag="3")] pub target_language_code: ::prost::alloc::string::String, } -/// Annotation details specific to translation. +/// Annotation details specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationAnnotation { - /// Output only . The translated content. + /// Output only . The translated content. #[prost(message, optional, tag="1")] pub translated_content: ::core::option::Option, } -/// Contains annotation information that is relevant to AutoML. +/// Contains annotation information that is relevant to AutoML. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationPayload { - /// Output only . The resource ID of the annotation spec that - /// this annotation pertains to. The annotation spec comes from either an - /// ancestor dataset, or the dataset that was used to train the model in use. + /// Output only . The resource ID of the annotation spec that + /// this annotation pertains to. The annotation spec comes from either an + /// ancestor dataset, or the dataset that was used to train the model in use. #[prost(string, tag="1")] pub annotation_spec_id: ::prost::alloc::string::String, - /// Output only. The value of - /// \[display_name][google.cloud.automl.v1.AnnotationSpec.display_name\] - /// when the model was trained. Because this field returns a value at model - /// training time, for different models trained using the same dataset, the - /// returned value could be different as model owner could update the - /// `display_name` between any two model training. + /// Output only. The value of + /// \[display_name][google.cloud.automl.v1.AnnotationSpec.display_name\] + /// when the model was trained. Because this field returns a value at model + /// training time, for different models trained using the same dataset, the + /// returned value could be different as model owner could update the + /// `display_name` between any two model training. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only . Additional information about the annotation - /// specific to the AutoML domain. + /// Output only . Additional information about the annotation + /// specific to the AutoML domain. #[prost(oneof="annotation_payload::Detail", tags="2, 3, 4, 6, 7")] pub detail: ::core::option::Option, } /// Nested message and enum types in `AnnotationPayload`. pub mod annotation_payload { - /// Output only . Additional information about the annotation - /// specific to the AutoML domain. + /// Output only . Additional information about the annotation + /// specific to the AutoML domain. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Detail { - /// Annotation details for translation. + /// Annotation details for translation. #[prost(message, tag="2")] Translation(super::TranslationAnnotation), - /// Annotation details for content or image classification. + /// Annotation details for content or image classification. #[prost(message, tag="3")] Classification(super::ClassificationAnnotation), - /// Annotation details for image object detection. + /// Annotation details for image object detection. #[prost(message, tag="4")] ImageObjectDetection(super::ImageObjectDetectionAnnotation), - /// Annotation details for text extraction. + /// Annotation details for text extraction. #[prost(message, tag="6")] TextExtraction(super::TextExtractionAnnotation), - /// Annotation details for text sentiment. + /// Annotation details for text sentiment. #[prost(message, tag="7")] TextSentiment(super::TextSentimentAnnotation), } } -/// A definition of an annotation spec. +/// A definition of an annotation spec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpec { - /// Output only. Resource name of the annotation spec. - /// Form: - /// 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' + /// Output only. Resource name of the annotation spec. + /// Form: + /// 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the annotation spec to show in the interface. The name can be - /// up to 32 characters long and must match the regexp `\[a-zA-Z0-9_\]+`. + /// Required. The name of the annotation spec to show in the interface. The name can be + /// up to 32 characters long and must match the regexp `\[a-zA-Z0-9_\]+`. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The number of examples in the parent dataset - /// labeled by the annotation spec. + /// Output only. The number of examples in the parent dataset + /// labeled by the annotation spec. #[prost(int32, tag="9")] pub example_count: i32, } -/// Dataset metadata that is specific to image classification. +/// Dataset metadata that is specific to image classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationDatasetMetadata { - /// Required. Type of the classification problem. + /// Required. Type of the classification problem. #[prost(enumeration="ClassificationType", tag="1")] pub classification_type: i32, } -/// Dataset metadata specific to image object detection. +/// Dataset metadata specific to image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionDatasetMetadata { } -/// Model metadata for image classification. +/// Model metadata for image classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationModelMetadata { - /// Optional. The ID of the `base` model. If it is specified, the new model - /// will be created based on the `base` model. Otherwise, the new model will be - /// created from scratch. The `base` model must be in the same - /// `project` and `location` as the new model to create, and have the same - /// `model_type`. + /// Optional. The ID of the `base` model. If it is specified, the new model + /// will be created based on the `base` model. Otherwise, the new model will be + /// created from scratch. The `base` model must be in the same + /// `project` and `location` as the new model to create, and have the same + /// `model_type`. #[prost(string, tag="1")] pub base_model_id: ::prost::alloc::string::String, - /// Optional. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. The actual - /// `train_cost` will be equal or less than this value. If further model - /// training ceases to provide any improvements, it will stop without using - /// full budget and the stop_reason will be `MODEL_CONVERGED`. - /// Note, node_hour = actual_hour * number_of_nodes_invovled. - /// For model type `cloud`(default), the train budget must be between 8,000 - /// and 800,000 milli node hours, inclusive. The default value is 192, 000 - /// which represents one day in wall time. For model type - /// `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`, - /// `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`, - /// `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000 - /// and 100,000 milli node hours, inclusive. The default value is 24, 000 which - /// represents one day in wall time. + /// Optional. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. The actual + /// `train_cost` will be equal or less than this value. If further model + /// training ceases to provide any improvements, it will stop without using + /// full budget and the stop_reason will be `MODEL_CONVERGED`. + /// Note, node_hour = actual_hour * number_of_nodes_invovled. + /// For model type `cloud`(default), the train budget must be between 8,000 + /// and 800,000 milli node hours, inclusive. The default value is 192, 000 + /// which represents one day in wall time. For model type + /// `mobile-low-latency-1`, `mobile-versatile-1`, `mobile-high-accuracy-1`, + /// `mobile-core-ml-low-latency-1`, `mobile-core-ml-versatile-1`, + /// `mobile-core-ml-high-accuracy-1`, the train budget must be between 1,000 + /// and 100,000 milli node hours, inclusive. The default value is 24, 000 which + /// represents one day in wall time. #[prost(int64, tag="16")] pub train_budget_milli_node_hours: i64, - /// Output only. The actual train cost of creating this model, expressed in - /// milli node hours, i.e. 1,000 value in this field means 1 node hour. - /// Guaranteed to not exceed the train budget. + /// Output only. The actual train cost of creating this model, expressed in + /// milli node hours, i.e. 1,000 value in this field means 1 node hour. + /// Guaranteed to not exceed the train budget. #[prost(int64, tag="17")] pub train_cost_milli_node_hours: i64, - /// Output only. The reason that this create model operation stopped, - /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. + /// Output only. The reason that this create model operation stopped, + /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. #[prost(string, tag="5")] pub stop_reason: ::prost::alloc::string::String, - /// Optional. Type of the model. The available values are: - /// * `cloud` - Model to be used via prediction calls to AutoML API. + /// Optional. Type of the model. The available values are: + /// * `cloud` - Model to be used via prediction calls to AutoML API. /// This is the default value. - /// * `mobile-low-latency-1` - A model that, in addition to providing + /// * `mobile-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have low latency, but /// may have lower prediction quality than other models. - /// * `mobile-versatile-1` - A model that, in addition to providing + /// * `mobile-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. - /// * `mobile-high-accuracy-1` - A model that, in addition to providing + /// * `mobile-high-accuracy-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have a higher /// latency, but should also have a higher prediction quality /// than other models. - /// * `mobile-core-ml-low-latency-1` - A model that, in addition to providing + /// * `mobile-core-ml-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile device with Core /// ML afterwards. Expected to have low latency, but may have /// lower prediction quality than other models. - /// * `mobile-core-ml-versatile-1` - A model that, in addition to providing + /// * `mobile-core-ml-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile device with Core /// ML afterwards. - /// * `mobile-core-ml-high-accuracy-1` - A model that, in addition to + /// * `mobile-core-ml-high-accuracy-1` - A model that, in addition to /// providing prediction via AutoML API, can also be exported /// (see \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile device with /// Core ML afterwards. Expected to have a higher latency, but @@ -2130,37 +2130,37 @@ pub struct ImageClassificationModelMetadata { /// models. #[prost(string, tag="7")] pub model_type: ::prost::alloc::string::String, - /// Output only. An approximate number of online prediction QPS that can - /// be supported by this model per each node on which it is deployed. + /// Output only. An approximate number of online prediction QPS that can + /// be supported by this model per each node on which it is deployed. #[prost(double, tag="13")] pub node_qps: f64, - /// Output only. The number of nodes this model is deployed on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the node_qps field. + /// Output only. The number of nodes this model is deployed on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the node_qps field. #[prost(int64, tag="14")] pub node_count: i64, } -/// Model metadata specific to image object detection. +/// Model metadata specific to image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionModelMetadata { - /// Optional. Type of the model. The available values are: - /// * `cloud-high-accuracy-1` - (default) A model to be used via prediction + /// Optional. Type of the model. The available values are: + /// * `cloud-high-accuracy-1` - (default) A model to be used via prediction /// calls to AutoML API. Expected to have a higher latency, but /// should also have a higher prediction quality than other /// models. - /// * `cloud-low-latency-1` - A model to be used via prediction + /// * `cloud-low-latency-1` - A model to be used via prediction /// calls to AutoML API. Expected to have low latency, but may /// have lower prediction quality than other models. - /// * `mobile-low-latency-1` - A model that, in addition to providing + /// * `mobile-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have low latency, but /// may have lower prediction quality than other models. - /// * `mobile-versatile-1` - A model that, in addition to providing + /// * `mobile-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. - /// * `mobile-high-accuracy-1` - A model that, in addition to providing + /// * `mobile-high-accuracy-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have a higher @@ -2168,229 +2168,229 @@ pub struct ImageObjectDetectionModelMetadata { /// than other models. #[prost(string, tag="1")] pub model_type: ::prost::alloc::string::String, - /// Output only. The number of nodes this model is deployed on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the qps_per_node field. + /// Output only. The number of nodes this model is deployed on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the qps_per_node field. #[prost(int64, tag="3")] pub node_count: i64, - /// Output only. An approximate number of online prediction QPS that can - /// be supported by this model per each node on which it is deployed. + /// Output only. An approximate number of online prediction QPS that can + /// be supported by this model per each node on which it is deployed. #[prost(double, tag="4")] pub node_qps: f64, - /// Output only. The reason that this create model operation stopped, - /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. + /// Output only. The reason that this create model operation stopped, + /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. #[prost(string, tag="5")] pub stop_reason: ::prost::alloc::string::String, - /// Optional. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. The actual - /// `train_cost` will be equal or less than this value. If further model - /// training ceases to provide any improvements, it will stop without using - /// full budget and the stop_reason will be `MODEL_CONVERGED`. - /// Note, node_hour = actual_hour * number_of_nodes_invovled. - /// For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`, - /// the train budget must be between 20,000 and 900,000 milli node hours, - /// inclusive. The default value is 216, 000 which represents one day in - /// wall time. - /// For model type `mobile-low-latency-1`, `mobile-versatile-1`, - /// `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`, - /// `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train - /// budget must be between 1,000 and 100,000 milli node hours, inclusive. - /// The default value is 24, 000 which represents one day in wall time. + /// Optional. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. The actual + /// `train_cost` will be equal or less than this value. If further model + /// training ceases to provide any improvements, it will stop without using + /// full budget and the stop_reason will be `MODEL_CONVERGED`. + /// Note, node_hour = actual_hour * number_of_nodes_invovled. + /// For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`, + /// the train budget must be between 20,000 and 900,000 milli node hours, + /// inclusive. The default value is 216, 000 which represents one day in + /// wall time. + /// For model type `mobile-low-latency-1`, `mobile-versatile-1`, + /// `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`, + /// `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train + /// budget must be between 1,000 and 100,000 milli node hours, inclusive. + /// The default value is 24, 000 which represents one day in wall time. #[prost(int64, tag="6")] pub train_budget_milli_node_hours: i64, - /// Output only. The actual train cost of creating this model, expressed in - /// milli node hours, i.e. 1,000 value in this field means 1 node hour. - /// Guaranteed to not exceed the train budget. + /// Output only. The actual train cost of creating this model, expressed in + /// milli node hours, i.e. 1,000 value in this field means 1 node hour. + /// Guaranteed to not exceed the train budget. #[prost(int64, tag="7")] pub train_cost_milli_node_hours: i64, } -/// Model deployment metadata specific to Image Classification. +/// Model deployment metadata specific to Image Classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationModelDeploymentMetadata { - /// Input only. The number of nodes to deploy the model on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the model's - /// \[node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps\]. - /// Must be between 1 and 100, inclusive on both ends. + /// Input only. The number of nodes to deploy the model on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the model's + /// \[node_qps][google.cloud.automl.v1.ImageClassificationModelMetadata.node_qps\]. + /// Must be between 1 and 100, inclusive on both ends. #[prost(int64, tag="1")] pub node_count: i64, } -/// Model deployment metadata specific to Image Object Detection. +/// Model deployment metadata specific to Image Object Detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionModelDeploymentMetadata { - /// Input only. The number of nodes to deploy the model on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the model's - /// \[qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node\]. - /// Must be between 1 and 100, inclusive on both ends. + /// Input only. The number of nodes to deploy the model on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the model's + /// \[qps_per_node][google.cloud.automl.v1.ImageObjectDetectionModelMetadata.qps_per_node\]. + /// Must be between 1 and 100, inclusive on both ends. #[prost(int64, tag="1")] pub node_count: i64, } -/// Dataset metadata for classification. +/// Dataset metadata for classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationDatasetMetadata { - /// Required. Type of the classification problem. + /// Required. Type of the classification problem. #[prost(enumeration="ClassificationType", tag="1")] pub classification_type: i32, } -/// Model metadata that is specific to text classification. +/// Model metadata that is specific to text classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationModelMetadata { - /// Output only. Classification type of the dataset used to train this model. + /// Output only. Classification type of the dataset used to train this model. #[prost(enumeration="ClassificationType", tag="3")] pub classification_type: i32, } -/// Dataset metadata that is specific to text extraction +/// Dataset metadata that is specific to text extraction #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionDatasetMetadata { } -/// Model metadata that is specific to text extraction. +/// Model metadata that is specific to text extraction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionModelMetadata { } -/// Dataset metadata for text sentiment. +/// Dataset metadata for text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentDatasetMetadata { - /// Required. A sentiment is expressed as an integer ordinal, where higher value - /// means a more positive sentiment. The range of sentiments that will be used - /// is between 0 and sentiment_max (inclusive on both ends), and all the values - /// in the range must be represented in the dataset before a model can be - /// created. - /// sentiment_max value must be between 1 and 10 (inclusive). + /// Required. A sentiment is expressed as an integer ordinal, where higher value + /// means a more positive sentiment. The range of sentiments that will be used + /// is between 0 and sentiment_max (inclusive on both ends), and all the values + /// in the range must be represented in the dataset before a model can be + /// created. + /// sentiment_max value must be between 1 and 10 (inclusive). #[prost(int32, tag="1")] pub sentiment_max: i32, } -/// Model metadata that is specific to text sentiment. +/// Model metadata that is specific to text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentModelMetadata { } -/// A workspace for solving a single, particular machine learning (ML) problem. -/// A workspace contains examples that may be annotated. +/// A workspace for solving a single, particular machine learning (ML) problem. +/// A workspace contains examples that may be annotated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Output only. The resource name of the dataset. - /// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` + /// Output only. The resource name of the dataset. + /// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the dataset to show in the interface. The name can be - /// up to 32 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z, underscores - /// (_), and ASCII digits 0-9. + /// Required. The name of the dataset to show in the interface. The name can be + /// up to 32 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z, underscores + /// (_), and ASCII digits 0-9. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// User-provided description of the dataset. The description can be up to - /// 25000 characters long. + /// User-provided description of the dataset. The description can be up to + /// 25000 characters long. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The number of examples in the dataset. + /// Output only. The number of examples in the dataset. #[prost(int32, tag="21")] pub example_count: i32, - /// Output only. Timestamp when this dataset was created. + /// Output only. Timestamp when this dataset was created. #[prost(message, optional, tag="14")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="17")] pub etag: ::prost::alloc::string::String, - /// Optional. The labels with user-defined metadata to organize your dataset. + /// Optional. The labels with user-defined metadata to organize your dataset. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// Label values are optional. Label keys must start with a letter. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// Label values are optional. Label keys must start with a letter. /// - /// See for more information on and examples of labels. + /// See for more information on and examples of labels. #[prost(map="string, string", tag="39")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. - /// The dataset metadata that is specific to the problem type. + /// Required. + /// The dataset metadata that is specific to the problem type. #[prost(oneof="dataset::DatasetMetadata", tags="23, 24, 25, 26, 28, 30")] pub dataset_metadata: ::core::option::Option, } /// Nested message and enum types in `Dataset`. pub mod dataset { - /// Required. - /// The dataset metadata that is specific to the problem type. + /// Required. + /// The dataset metadata that is specific to the problem type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DatasetMetadata { - /// Metadata for a dataset used for translation. + /// Metadata for a dataset used for translation. #[prost(message, tag="23")] TranslationDatasetMetadata(super::TranslationDatasetMetadata), - /// Metadata for a dataset used for image classification. + /// Metadata for a dataset used for image classification. #[prost(message, tag="24")] ImageClassificationDatasetMetadata(super::ImageClassificationDatasetMetadata), - /// Metadata for a dataset used for text classification. + /// Metadata for a dataset used for text classification. #[prost(message, tag="25")] TextClassificationDatasetMetadata(super::TextClassificationDatasetMetadata), - /// Metadata for a dataset used for image object detection. + /// Metadata for a dataset used for image object detection. #[prost(message, tag="26")] ImageObjectDetectionDatasetMetadata(super::ImageObjectDetectionDatasetMetadata), - /// Metadata for a dataset used for text extraction. + /// Metadata for a dataset used for text extraction. #[prost(message, tag="28")] TextExtractionDatasetMetadata(super::TextExtractionDatasetMetadata), - /// Metadata for a dataset used for text sentiment. + /// Metadata for a dataset used for text sentiment. #[prost(message, tag="30")] TextSentimentDatasetMetadata(super::TextSentimentDatasetMetadata), } } -/// API proto representing a trained machine learning model. +/// API proto representing a trained machine learning model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// Output only. Resource name of the model. - /// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` + /// Output only. Resource name of the model. + /// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the model to show in the interface. The name can be - /// up to 32 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z, underscores - /// (_), and ASCII digits 0-9. It must start with a letter. + /// Required. The name of the model to show in the interface. The name can be + /// up to 32 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z, underscores + /// (_), and ASCII digits 0-9. It must start with a letter. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. The resource ID of the dataset used to create the model. The dataset must - /// come from the same ancestor project and location. + /// Required. The resource ID of the dataset used to create the model. The dataset must + /// come from the same ancestor project and location. #[prost(string, tag="3")] pub dataset_id: ::prost::alloc::string::String, - /// Output only. Timestamp when the model training finished and can be used for prediction. + /// Output only. Timestamp when the model training finished and can be used for prediction. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this model was last updated. + /// Output only. Timestamp when this model was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Deployment state of the model. A model can only serve - /// prediction requests after it gets deployed. + /// Output only. Deployment state of the model. A model can only serve + /// prediction requests after it gets deployed. #[prost(enumeration="model::DeploymentState", tag="8")] pub deployment_state: i32, - /// Used to perform a consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform a consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="10")] pub etag: ::prost::alloc::string::String, - /// Optional. The labels with user-defined metadata to organize your model. + /// Optional. The labels with user-defined metadata to organize your model. /// - /// Label keys and values can be no longer than 64 characters - /// (Unicode codepoints), can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// Label values are optional. Label keys must start with a letter. + /// Label keys and values can be no longer than 64 characters + /// (Unicode codepoints), can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// Label values are optional. Label keys must start with a letter. /// - /// See for more information on and examples of labels. + /// See for more information on and examples of labels. #[prost(map="string, string", tag="34")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. - /// The model metadata that is specific to the problem type. - /// Must match the metadata type of the dataset used to train the model. + /// Required. + /// The model metadata that is specific to the problem type. + /// Must match the metadata type of the dataset used to train the model. #[prost(oneof="model::ModelMetadata", tags="15, 13, 14, 20, 19, 22")] pub model_metadata: ::core::option::Option, } /// Nested message and enum types in `Model`. pub mod model { - /// Deployment state of the model. + /// Deployment state of the model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DeploymentState { - /// Should not be used, an un-set enum has this value by default. + /// Should not be used, an un-set enum has this value by default. Unspecified = 0, - /// Model is deployed. + /// Model is deployed. Deployed = 1, - /// Model is not deployed. + /// Model is not deployed. Undeployed = 2, } impl DeploymentState { @@ -2406,343 +2406,343 @@ pub mod model { } } } - /// Required. - /// The model metadata that is specific to the problem type. - /// Must match the metadata type of the dataset used to train the model. + /// Required. + /// The model metadata that is specific to the problem type. + /// Must match the metadata type of the dataset used to train the model. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ModelMetadata { - /// Metadata for translation models. + /// Metadata for translation models. #[prost(message, tag="15")] TranslationModelMetadata(super::TranslationModelMetadata), - /// Metadata for image classification models. + /// Metadata for image classification models. #[prost(message, tag="13")] ImageClassificationModelMetadata(super::ImageClassificationModelMetadata), - /// Metadata for text classification models. + /// Metadata for text classification models. #[prost(message, tag="14")] TextClassificationModelMetadata(super::TextClassificationModelMetadata), - /// Metadata for image object detection models. + /// Metadata for image object detection models. #[prost(message, tag="20")] ImageObjectDetectionModelMetadata(super::ImageObjectDetectionModelMetadata), - /// Metadata for text extraction models. + /// Metadata for text extraction models. #[prost(message, tag="19")] TextExtractionModelMetadata(super::TextExtractionModelMetadata), - /// Metadata for text sentiment models. + /// Metadata for text sentiment models. #[prost(message, tag="22")] TextSentimentModelMetadata(super::TextSentimentModelMetadata), } } -/// Evaluation results of a model. +/// Evaluation results of a model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluation { - /// Output only. Resource name of the model evaluation. - /// Format: - /// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` + /// Output only. Resource name of the model evaluation. + /// Format: + /// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The ID of the annotation spec that the model evaluation applies to. The - /// The ID is empty for the overall model evaluation. - /// For Tables annotation specs in the dataset do not exist and this ID is - /// always not set, but for CLASSIFICATION - /// \[prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type\] - /// the - /// \[display_name][google.cloud.automl.v1.ModelEvaluation.display_name\] - /// field is used. + /// Output only. The ID of the annotation spec that the model evaluation applies to. The + /// The ID is empty for the overall model evaluation. + /// For Tables annotation specs in the dataset do not exist and this ID is + /// always not set, but for CLASSIFICATION + /// \[prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type\] + /// the + /// \[display_name][google.cloud.automl.v1.ModelEvaluation.display_name\] + /// field is used. #[prost(string, tag="2")] pub annotation_spec_id: ::prost::alloc::string::String, - /// Output only. The value of - /// \[display_name][google.cloud.automl.v1.AnnotationSpec.display_name\] - /// at the moment when the model was trained. Because this field returns a - /// value at model training time, for different models trained from the same - /// dataset, the values may differ, since display names could had been changed - /// between the two model's trainings. For Tables CLASSIFICATION - /// \[prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type\] - /// distinct values of the target column at the moment of the model evaluation - /// are populated here. - /// The display_name is empty for the overall model evaluation. + /// Output only. The value of + /// \[display_name][google.cloud.automl.v1.AnnotationSpec.display_name\] + /// at the moment when the model was trained. Because this field returns a + /// value at model training time, for different models trained from the same + /// dataset, the values may differ, since display names could had been changed + /// between the two model's trainings. For Tables CLASSIFICATION + /// \[prediction_type-s][google.cloud.automl.v1.TablesModelMetadata.prediction_type\] + /// distinct values of the target column at the moment of the model evaluation + /// are populated here. + /// The display_name is empty for the overall model evaluation. #[prost(string, tag="15")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when this model evaluation was created. + /// Output only. Timestamp when this model evaluation was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The number of examples used for model evaluation, i.e. for - /// which ground truth from time of model creation is compared against the - /// predicted annotations created by the model. - /// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is - /// the total number of all examples used for evaluation. - /// Otherwise, this is the count of examples that according to the ground - /// truth were annotated by the - /// \[annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id\]. + /// Output only. The number of examples used for model evaluation, i.e. for + /// which ground truth from time of model creation is compared against the + /// predicted annotations created by the model. + /// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is + /// the total number of all examples used for evaluation. + /// Otherwise, this is the count of examples that according to the ground + /// truth were annotated by the + /// \[annotation_spec_id][google.cloud.automl.v1.ModelEvaluation.annotation_spec_id\]. #[prost(int32, tag="6")] pub evaluated_example_count: i32, - /// Output only. Problem type specific evaluation metrics. + /// Output only. Problem type specific evaluation metrics. #[prost(oneof="model_evaluation::Metrics", tags="8, 9, 12, 11, 13")] pub metrics: ::core::option::Option, } /// Nested message and enum types in `ModelEvaluation`. pub mod model_evaluation { - /// Output only. Problem type specific evaluation metrics. + /// Output only. Problem type specific evaluation metrics. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metrics { - /// Model evaluation metrics for image, text, video and tables - /// classification. - /// Tables problem is considered a classification when the target column - /// is CATEGORY DataType. + /// Model evaluation metrics for image, text, video and tables + /// classification. + /// Tables problem is considered a classification when the target column + /// is CATEGORY DataType. #[prost(message, tag="8")] ClassificationEvaluationMetrics(super::ClassificationEvaluationMetrics), - /// Model evaluation metrics for translation. + /// Model evaluation metrics for translation. #[prost(message, tag="9")] TranslationEvaluationMetrics(super::TranslationEvaluationMetrics), - /// Model evaluation metrics for image object detection. + /// Model evaluation metrics for image object detection. #[prost(message, tag="12")] ImageObjectDetectionEvaluationMetrics(super::ImageObjectDetectionEvaluationMetrics), - /// Evaluation metrics for text sentiment models. + /// Evaluation metrics for text sentiment models. #[prost(message, tag="11")] TextSentimentEvaluationMetrics(super::TextSentimentEvaluationMetrics), - /// Evaluation metrics for text extraction models. + /// Evaluation metrics for text extraction models. #[prost(message, tag="13")] TextExtractionEvaluationMetrics(super::TextExtractionEvaluationMetrics), } } -/// Metadata used across all long running operations returned by AutoML API. +/// Metadata used across all long running operations returned by AutoML API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. Progress of operation. Range: [0, 100]. - /// Not used currently. + /// Output only. Progress of operation. Range: [0, 100]. + /// Not used currently. #[prost(int32, tag="13")] pub progress_percent: i32, - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// This field should never exceed 20 entries. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// This field should never exceed 20 entries. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Time when the operation was created. + /// Output only. Time when the operation was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the operation was updated for the last time. + /// Output only. Time when the operation was updated for the last time. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Ouptut only. Details of specific operation. Even if this field is empty, - /// the presence allows to distinguish different types of operations. + /// Ouptut only. Details of specific operation. Even if this field is empty, + /// the presence allows to distinguish different types of operations. #[prost(oneof="operation_metadata::Details", tags="8, 24, 25, 10, 30, 15, 16, 21, 22")] pub details: ::core::option::Option, } /// Nested message and enum types in `OperationMetadata`. pub mod operation_metadata { - /// Ouptut only. Details of specific operation. Even if this field is empty, - /// the presence allows to distinguish different types of operations. + /// Ouptut only. Details of specific operation. Even if this field is empty, + /// the presence allows to distinguish different types of operations. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details of a Delete operation. + /// Details of a Delete operation. #[prost(message, tag="8")] DeleteDetails(super::DeleteOperationMetadata), - /// Details of a DeployModel operation. + /// Details of a DeployModel operation. #[prost(message, tag="24")] DeployModelDetails(super::DeployModelOperationMetadata), - /// Details of an UndeployModel operation. + /// Details of an UndeployModel operation. #[prost(message, tag="25")] UndeployModelDetails(super::UndeployModelOperationMetadata), - /// Details of CreateModel operation. + /// Details of CreateModel operation. #[prost(message, tag="10")] CreateModelDetails(super::CreateModelOperationMetadata), - /// Details of CreateDataset operation. + /// Details of CreateDataset operation. #[prost(message, tag="30")] CreateDatasetDetails(super::CreateDatasetOperationMetadata), - /// Details of ImportData operation. + /// Details of ImportData operation. #[prost(message, tag="15")] ImportDataDetails(super::ImportDataOperationMetadata), - /// Details of BatchPredict operation. + /// Details of BatchPredict operation. #[prost(message, tag="16")] BatchPredictDetails(super::BatchPredictOperationMetadata), - /// Details of ExportData operation. + /// Details of ExportData operation. #[prost(message, tag="21")] ExportDataDetails(super::ExportDataOperationMetadata), - /// Details of ExportModel operation. + /// Details of ExportModel operation. #[prost(message, tag="22")] ExportModelDetails(super::ExportModelOperationMetadata), } } -/// Details of operations that perform deletes of any entities. +/// Details of operations that perform deletes of any entities. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationMetadata { } -/// Details of DeployModel operation. +/// Details of DeployModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelOperationMetadata { } -/// Details of UndeployModel operation. +/// Details of UndeployModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelOperationMetadata { } -/// Details of CreateDataset operation. +/// Details of CreateDataset operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetOperationMetadata { } -/// Details of CreateModel operation. +/// Details of CreateModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelOperationMetadata { } -/// Details of ImportData operation. +/// Details of ImportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationMetadata { } -/// Details of ExportData operation. +/// Details of ExportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationMetadata { - /// Output only. Information further describing this export data's output. + /// Output only. Information further describing this export data's output. #[prost(message, optional, tag="1")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportDataOperationMetadata`. pub mod export_data_operation_metadata { - /// Further describes this export data's output. - /// Supplements - /// \[OutputConfig][google.cloud.automl.v1.OutputConfig\]. + /// Further describes this export data's output. + /// Supplements + /// \[OutputConfig][google.cloud.automl.v1.OutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOutputInfo { - /// The output location to which the exported data is written. + /// The output location to which the exported data is written. #[prost(oneof="export_data_output_info::OutputLocation", tags="1")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `ExportDataOutputInfo`. pub mod export_data_output_info { - /// The output location to which the exported data is written. + /// The output location to which the exported data is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// The full path of the Google Cloud Storage directory created, into which - /// the exported data is written. + /// The full path of the Google Cloud Storage directory created, into which + /// the exported data is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), } } } -/// Details of BatchPredict operation. +/// Details of BatchPredict operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOperationMetadata { - /// Output only. The input config that was given upon starting this - /// batch predict operation. + /// Output only. The input config that was given upon starting this + /// batch predict operation. #[prost(message, optional, tag="1")] pub input_config: ::core::option::Option, - /// Output only. Information further describing this batch predict's output. + /// Output only. Information further describing this batch predict's output. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOperationMetadata`. pub mod batch_predict_operation_metadata { - /// Further describes this batch predict's output. - /// Supplements - /// \[BatchPredictOutputConfig][google.cloud.automl.v1.BatchPredictOutputConfig\]. + /// Further describes this batch predict's output. + /// Supplements + /// \[BatchPredictOutputConfig][google.cloud.automl.v1.BatchPredictOutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOutputInfo { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[prost(oneof="batch_predict_output_info::OutputLocation", tags="1")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOutputInfo`. pub mod batch_predict_output_info { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// The full path of the Google Cloud Storage directory created, into which - /// the prediction output is written. + /// The full path of the Google Cloud Storage directory created, into which + /// the prediction output is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), } } } -/// Details of ExportModel operation. +/// Details of ExportModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOperationMetadata { - /// Output only. Information further describing the output of this model - /// export. + /// Output only. Information further describing the output of this model + /// export. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportModelOperationMetadata`. pub mod export_model_operation_metadata { - /// Further describes the output of model export. - /// Supplements - /// \[ModelExportOutputConfig][google.cloud.automl.v1.ModelExportOutputConfig\]. + /// Further describes the output of model export. + /// Supplements + /// \[ModelExportOutputConfig][google.cloud.automl.v1.ModelExportOutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOutputInfo { - /// The full path of the Google Cloud Storage directory created, into which - /// the model will be exported. + /// The full path of the Google Cloud Storage directory created, into which + /// the model will be exported. #[prost(string, tag="1")] pub gcs_output_directory: ::prost::alloc::string::String, } } -/// Request message for \[PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict\]. +/// Request message for \[PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictRequest { - /// Required. Name of the model requested to serve the prediction. + /// Required. Name of the model requested to serve the prediction. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Payload to perform a prediction on. The payload must match the - /// problem type that the model was trained to solve. + /// Required. Payload to perform a prediction on. The payload must match the + /// problem type that the model was trained to solve. #[prost(message, optional, tag="2")] pub payload: ::core::option::Option, - /// Additional domain-specific parameters, any string must be up to 25000 - /// characters long. + /// Additional domain-specific parameters, any string must be up to 25000 + /// characters long. /// - /// AutoML Vision Classification + /// AutoML Vision Classification /// - /// `score_threshold` - /// : (float) A value from 0.0 to 1.0. When the model + /// `score_threshold` + /// : (float) A value from 0.0 to 1.0. When the model /// makes predictions for an image, it will only produce results that have /// at least this confidence score. The default is 0.5. /// - /// AutoML Vision Object Detection + /// AutoML Vision Object Detection /// - /// `score_threshold` - /// : (float) When Model detects objects on the image, + /// `score_threshold` + /// : (float) When Model detects objects on the image, /// it will only produce bounding boxes which have at least this /// confidence score. Value in 0 to 1 range, default is 0.5. /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding /// boxes returned. The default is 100. The /// number of returned bounding boxes might be limited by the server. /// - /// AutoML Tables + /// AutoML Tables /// - /// `feature_importance` - /// : (boolean) Whether - /// \[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance\] + /// `feature_importance` + /// : (boolean) Whether + /// \[feature_importance][google.cloud.automl.v1.TablesModelColumnInfo.feature_importance\] /// is populated in the returned list of /// \[TablesAnnotation][google.cloud.automl.v1.TablesAnnotation\] /// objects. The default is false. #[prost(map="string, string", tag="3")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Response message for \[PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict\]. +/// Response message for \[PredictionService.Predict][google.cloud.automl.v1.PredictionService.Predict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictResponse { - /// Prediction result. - /// AutoML Translation and AutoML Natural Language Sentiment Analysis - /// return precisely one payload. + /// Prediction result. + /// AutoML Translation and AutoML Natural Language Sentiment Analysis + /// return precisely one payload. #[prost(message, repeated, tag="1")] pub payload: ::prost::alloc::vec::Vec, - /// The preprocessed example that AutoML actually makes prediction on. - /// Empty if AutoML does not preprocess the input example. + /// The preprocessed example that AutoML actually makes prediction on. + /// Empty if AutoML does not preprocess the input example. /// - /// For AutoML Natural Language (Classification, Entity Extraction, and - /// Sentiment Analysis), if the input is a document, the recognized text is - /// returned in the - /// \[document_text][google.cloud.automl.v1.Document.document_text\] - /// property. + /// For AutoML Natural Language (Classification, Entity Extraction, and + /// Sentiment Analysis), if the input is a document, the recognized text is + /// returned in the + /// \[document_text][google.cloud.automl.v1.Document.document_text\] + /// property. #[prost(message, optional, tag="3")] pub preprocessed_input: ::core::option::Option, - /// Additional domain-specific prediction response metadata. + /// Additional domain-specific prediction response metadata. /// - /// AutoML Vision Object Detection + /// AutoML Vision Object Detection /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding boxes to return per image. + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding boxes to return per image. /// - /// AutoML Natural Language Sentiment Analysis + /// AutoML Natural Language Sentiment Analysis /// - /// `sentiment_score` - /// : (float, deprecated) A value between -1 and 1, + /// `sentiment_score` + /// : (float, deprecated) A value between -1 and 1, /// -1 maps to least positive sentiment, while 1 maps to the most positive /// one and the higher the score, the more positive the sentiment in the /// document is. Yet these values are relative to the training data, so @@ -2753,64 +2753,64 @@ pub struct PredictResponse { #[prost(map="string, string", tag="2")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Request message for \[PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict\]. +/// Request message for \[PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictRequest { - /// Required. Name of the model requested to serve the batch prediction. + /// Required. Name of the model requested to serve the batch prediction. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The input configuration for batch prediction. + /// Required. The input configuration for batch prediction. #[prost(message, optional, tag="3")] pub input_config: ::core::option::Option, - /// Required. The Configuration specifying where output predictions should - /// be written. + /// Required. The Configuration specifying where output predictions should + /// be written. #[prost(message, optional, tag="4")] pub output_config: ::core::option::Option, - /// Additional domain-specific parameters for the predictions, any string must - /// be up to 25000 characters long. + /// Additional domain-specific parameters for the predictions, any string must + /// be up to 25000 characters long. /// - /// AutoML Natural Language Classification + /// AutoML Natural Language Classification /// - /// `score_threshold` - /// : (float) A value from 0.0 to 1.0. When the model + /// `score_threshold` + /// : (float) A value from 0.0 to 1.0. When the model /// makes predictions for a text snippet, it will only produce results /// that have at least this confidence score. The default is 0.5. /// /// - /// AutoML Vision Classification + /// AutoML Vision Classification /// - /// `score_threshold` - /// : (float) A value from 0.0 to 1.0. When the model + /// `score_threshold` + /// : (float) A value from 0.0 to 1.0. When the model /// makes predictions for an image, it will only produce results that /// have at least this confidence score. The default is 0.5. /// - /// AutoML Vision Object Detection + /// AutoML Vision Object Detection /// - /// `score_threshold` - /// : (float) When Model detects objects on the image, + /// `score_threshold` + /// : (float) When Model detects objects on the image, /// it will only produce bounding boxes which have at least this /// confidence score. Value in 0 to 1 range, default is 0.5. /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding /// boxes returned per image. The default is 100, the /// number of bounding boxes returned might be limited by the server. - /// AutoML Video Intelligence Classification + /// AutoML Video Intelligence Classification /// - /// `score_threshold` - /// : (float) A value from 0.0 to 1.0. When the model + /// `score_threshold` + /// : (float) A value from 0.0 to 1.0. When the model /// makes predictions for a video, it will only produce results that /// have at least this confidence score. The default is 0.5. /// - /// `segment_classification` - /// : (boolean) Set to true to request + /// `segment_classification` + /// : (boolean) Set to true to request /// segment-level classification. AutoML Video Intelligence returns /// labels and their confidence scores for the entire segment of the /// video that user specified in the request configuration. /// The default is true. /// - /// `shot_classification` - /// : (boolean) Set to true to request shot-level + /// `shot_classification` + /// : (boolean) Set to true to request shot-level /// classification. AutoML Video Intelligence determines the boundaries /// for each camera shot in the entire segment of the video that user /// specified in the request configuration. AutoML Video Intelligence @@ -2822,8 +2822,8 @@ pub struct BatchPredictRequest { /// the quality of it depends on training data, but there are no metrics /// provided to describe that quality. /// - /// `1s_interval_classification` - /// : (boolean) Set to true to request + /// `1s_interval_classification` + /// : (boolean) Set to true to request /// classification for a video at one-second intervals. AutoML Video /// Intelligence returns labels and their confidence scores for each /// second of the entire segment of the video that user specified in the @@ -2833,42 +2833,42 @@ pub struct BatchPredictRequest { /// type, the quality of it depends on training data, but there are no /// metrics provided to describe that quality. /// - /// AutoML Video Intelligence Object Tracking + /// AutoML Video Intelligence Object Tracking /// - /// `score_threshold` - /// : (float) When Model detects objects on video frames, + /// `score_threshold` + /// : (float) When Model detects objects on video frames, /// it will only produce bounding boxes which have at least this /// confidence score. Value in 0 to 1 range, default is 0.5. /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding /// boxes returned per image. The default is 100, the /// number of bounding boxes returned might be limited by the server. /// - /// `min_bounding_box_size` - /// : (float) Only bounding boxes with shortest edge + /// `min_bounding_box_size` + /// : (float) Only bounding boxes with shortest edge /// at least that long as a relative value of video frame size are /// returned. Value in 0 to 1 range. Default is 0. /// #[prost(map="string, string", tag="5")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Result of the Batch Predict. This message is returned in -/// \[response][google.longrunning.Operation.response\] of the operation returned -/// by the \[PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict\]. +/// Result of the Batch Predict. This message is returned in +/// \[response][google.longrunning.Operation.response\] of the operation returned +/// by the \[PredictionService.BatchPredict][google.cloud.automl.v1.PredictionService.BatchPredict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictResult { - /// Additional domain-specific prediction response metadata. + /// Additional domain-specific prediction response metadata. /// - /// AutoML Vision Object Detection + /// AutoML Vision Object Detection /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding boxes returned per image. + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding boxes returned per image. /// - /// AutoML Video Intelligence Object Tracking + /// AutoML Video Intelligence Object Tracking /// - /// `max_bounding_box_count` - /// : (int64) The maximum number of bounding boxes returned per frame. + /// `max_bounding_box_count` + /// : (int64) The maximum number of bounding boxes returned per frame. #[prost(map="string, string", tag="1")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } @@ -3039,30 +3039,30 @@ pub mod prediction_service_client { } } } -/// Request message for \[AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset\]. +/// Request message for \[AutoMl.CreateDataset][google.cloud.automl.v1.AutoMl.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetRequest { - /// Required. The resource name of the project to create the dataset for. + /// Required. The resource name of the project to create the dataset for. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The dataset to create. + /// Required. The dataset to create. #[prost(message, optional, tag="2")] pub dataset: ::core::option::Option, } -/// Request message for \[AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset\]. +/// Request message for \[AutoMl.GetDataset][google.cloud.automl.v1.AutoMl.GetDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatasetRequest { - /// Required. The resource name of the dataset to retrieve. + /// Required. The resource name of the dataset to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\]. +/// Request message for \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsRequest { - /// Required. The resource name of the project from which to list datasets. + /// Required. The resource name of the project from which to list datasets. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. + /// An expression for filtering the results of the request. /// /// * `dataset_metadata` - for existence of the case (e.g. /// `image_classification_dataset_metadata:*`). Some examples of using the filter are: @@ -3071,98 +3071,98 @@ pub struct ListDatasetsRequest { /// `translation_dataset_metadata`. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. Server may return fewer results than requested. - /// If unspecified, server will pick a default size. + /// Requested page size. Server may return fewer results than requested. + /// If unspecified, server will pick a default size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return - /// Typically obtained via - /// \[ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token\] of the previous - /// \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\] call. + /// A token identifying a page of results for the server to return + /// Typically obtained via + /// \[ListDatasetsResponse.next_page_token][google.cloud.automl.v1.ListDatasetsResponse.next_page_token\] of the previous + /// \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\]. +/// Response message for \[AutoMl.ListDatasets][google.cloud.automl.v1.AutoMl.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsResponse { - /// The datasets read. + /// The datasets read. #[prost(message, repeated, tag="1")] pub datasets: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListDatasetsRequest.page_token][google.cloud.automl.v1.ListDatasetsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset\] +/// Request message for \[AutoMl.UpdateDataset][google.cloud.automl.v1.AutoMl.UpdateDataset\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatasetRequest { - /// Required. The dataset which replaces the resource on the server. + /// Required. The dataset which replaces the resource on the server. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// Required. The update mask applies to the resource. + /// Required. The update mask applies to the resource. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset\]. +/// Request message for \[AutoMl.DeleteDataset][google.cloud.automl.v1.AutoMl.DeleteDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDatasetRequest { - /// Required. The resource name of the dataset to delete. + /// Required. The resource name of the dataset to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\]. +/// Request message for \[AutoMl.ImportData][google.cloud.automl.v1.AutoMl.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataRequest { - /// Required. Dataset name. Dataset must already exist. All imported - /// annotations and examples will be added. + /// Required. Dataset name. Dataset must already exist. All imported + /// annotations and examples will be added. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired input location and its domain specific semantics, - /// if any. + /// Required. The desired input location and its domain specific semantics, + /// if any. #[prost(message, optional, tag="3")] pub input_config: ::core::option::Option, } -/// Request message for \[AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData\]. +/// Request message for \[AutoMl.ExportData][google.cloud.automl.v1.AutoMl.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataRequest { - /// Required. The resource name of the dataset. + /// Required. The resource name of the dataset. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location. + /// Required. The desired output location. #[prost(message, optional, tag="3")] pub output_config: ::core::option::Option, } -/// Request message for \[AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec\]. +/// Request message for \[AutoMl.GetAnnotationSpec][google.cloud.automl.v1.AutoMl.GetAnnotationSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotationSpecRequest { - /// Required. The resource name of the annotation spec to retrieve. + /// Required. The resource name of the annotation spec to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel\]. +/// Request message for \[AutoMl.CreateModel][google.cloud.automl.v1.AutoMl.CreateModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelRequest { - /// Required. Resource name of the parent project where the model is being created. + /// Required. Resource name of the parent project where the model is being created. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The model to create. + /// Required. The model to create. #[prost(message, optional, tag="4")] pub model: ::core::option::Option, } -/// Request message for \[AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel\]. +/// Request message for \[AutoMl.GetModel][google.cloud.automl.v1.AutoMl.GetModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelRequest { - /// Required. Resource name of the model. + /// Required. Resource name of the model. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\]. +/// Request message for \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. Resource name of the project, from which to list the models. + /// Required. Resource name of the project, from which to list the models. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. + /// An expression for filtering the results of the request. /// /// * `model_metadata` - for existence of the case (e.g. /// `video_classification_model_metadata:*`). @@ -3173,107 +3173,107 @@ pub struct ListModelsRequest { /// * `dataset_id=5` --> The model was created from a dataset with ID 5. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. + /// Requested page size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return - /// Typically obtained via - /// \[ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token\] of the previous - /// \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\] call. + /// A token identifying a page of results for the server to return + /// Typically obtained via + /// \[ListModelsResponse.next_page_token][google.cloud.automl.v1.ListModelsResponse.next_page_token\] of the previous + /// \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\]. +/// Response message for \[AutoMl.ListModels][google.cloud.automl.v1.AutoMl.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// List of models in the requested page. + /// List of models in the requested page. #[prost(message, repeated, tag="1")] pub model: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelsRequest.page_token][google.cloud.automl.v1.ListModelsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel\]. +/// Request message for \[AutoMl.DeleteModel][google.cloud.automl.v1.AutoMl.DeleteModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelRequest { - /// Required. Resource name of the model being deleted. + /// Required. Resource name of the model being deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel\] +/// Request message for \[AutoMl.UpdateModel][google.cloud.automl.v1.AutoMl.UpdateModel\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateModelRequest { - /// Required. The model which replaces the resource on the server. + /// Required. The model which replaces the resource on the server. #[prost(message, optional, tag="1")] pub model: ::core::option::Option, - /// Required. The update mask applies to the resource. + /// Required. The update mask applies to the resource. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel\]. +/// Request message for \[AutoMl.DeployModel][google.cloud.automl.v1.AutoMl.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelRequest { - /// Required. Resource name of the model to deploy. + /// Required. Resource name of the model to deploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The per-domain specific deployment parameters. + /// The per-domain specific deployment parameters. #[prost(oneof="deploy_model_request::ModelDeploymentMetadata", tags="2, 4")] pub model_deployment_metadata: ::core::option::Option, } /// Nested message and enum types in `DeployModelRequest`. pub mod deploy_model_request { - /// The per-domain specific deployment parameters. + /// The per-domain specific deployment parameters. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ModelDeploymentMetadata { - /// Model deployment metadata specific to Image Object Detection. + /// Model deployment metadata specific to Image Object Detection. #[prost(message, tag="2")] ImageObjectDetectionModelDeploymentMetadata(super::ImageObjectDetectionModelDeploymentMetadata), - /// Model deployment metadata specific to Image Classification. + /// Model deployment metadata specific to Image Classification. #[prost(message, tag="4")] ImageClassificationModelDeploymentMetadata(super::ImageClassificationModelDeploymentMetadata), } } -/// Request message for \[AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel\]. +/// Request message for \[AutoMl.UndeployModel][google.cloud.automl.v1.AutoMl.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelRequest { - /// Required. Resource name of the model to undeploy. + /// Required. Resource name of the model to undeploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]. -/// Models need to be enabled for exporting, otherwise an error code will be -/// returned. +/// Request message for \[AutoMl.ExportModel][google.cloud.automl.v1.AutoMl.ExportModel\]. +/// Models need to be enabled for exporting, otherwise an error code will be +/// returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelRequest { - /// Required. The resource name of the model to export. + /// Required. The resource name of the model to export. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location and configuration. + /// Required. The desired output location and configuration. #[prost(message, optional, tag="3")] pub output_config: ::core::option::Option, } -/// Request message for \[AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation\]. +/// Request message for \[AutoMl.GetModelEvaluation][google.cloud.automl.v1.AutoMl.GetModelEvaluation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationRequest { - /// Required. Resource name for the model evaluation. + /// Required. Resource name for the model evaluation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\]. +/// Request message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsRequest { - /// Required. Resource name of the model to list the model evaluations for. - /// If modelId is set as "-", this will list model evaluations from across all - /// models of the parent location. + /// Required. Resource name of the model to list the model evaluations for. + /// If modelId is set as "-", this will list model evaluations from across all + /// models of the parent location. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. An expression for filtering the results of the request. + /// Required. An expression for filtering the results of the request. /// /// * `annotation_spec_id` - for =, != or existence. See example below for /// the last. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `annotation_spec_id!=4` --> The model evaluation was done for /// annotation spec with ID different than 4. @@ -3281,25 +3281,25 @@ pub struct ListModelEvaluationsRequest { /// aggregate of all annotation specs. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. + /// Requested page size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return. - /// Typically obtained via - /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token\] of the previous - /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\] call. + /// A token identifying a page of results for the server to return. + /// Typically obtained via + /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1.ListModelEvaluationsResponse.next_page_token\] of the previous + /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\]. +/// Response message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsResponse { - /// List of model evaluations in the requested page. + /// List of model evaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluation: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to the \[ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token\] field of a new - /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\] request to obtain that page. + /// A token to retrieve next page of results. + /// Pass to the \[ListModelEvaluationsRequest.page_token][google.cloud.automl.v1.ListModelEvaluationsRequest.page_token\] field of a new + /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1.AutoMl.ListModelEvaluations\] request to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.automl.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.automl.v1beta1.rs index 4c707504c..25a3336ba 100644 --- a/gcloud-sdk/genproto/google.cloud.automl.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.automl.v1beta1.rs @@ -1,37 +1,37 @@ -/// A time period inside of an example that has a time dimension (e.g. video). +/// A time period inside of an example that has a time dimension (e.g. video). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeSegment { - /// Start of the time segment (inclusive), represented as the duration since - /// the example start. + /// Start of the time segment (inclusive), represented as the duration since + /// the example start. #[prost(message, optional, tag="1")] pub start_time_offset: ::core::option::Option<::prost_types::Duration>, - /// End of the time segment (exclusive), represented as the duration since the - /// example start. + /// End of the time segment (exclusive), represented as the duration since the + /// example start. #[prost(message, optional, tag="2")] pub end_time_offset: ::core::option::Option<::prost_types::Duration>, } -/// Contains annotation details specific to classification. +/// Contains annotation details specific to classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationAnnotation { - /// Output only. A confidence estimate between 0.0 and 1.0. A higher value - /// means greater confidence that the annotation is positive. If a user - /// approves an annotation as negative or positive, the score value remains - /// unchanged. If a user creates an annotation, the score is 0 for negative or - /// 1 for positive. + /// Output only. A confidence estimate between 0.0 and 1.0. A higher value + /// means greater confidence that the annotation is positive. If a user + /// approves an annotation as negative or positive, the score value remains + /// unchanged. If a user creates an annotation, the score is 0 for negative or + /// 1 for positive. #[prost(float, tag="1")] pub score: f32, } -/// Contains annotation details specific to video classification. +/// Contains annotation details specific to video classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoClassificationAnnotation { - /// Output only. Expresses the type of video classification. Possible values: + /// Output only. Expresses the type of video classification. Possible values: /// - /// * `segment` - Classification done on a specified by user + /// * `segment` - Classification done on a specified by user /// time segment of a video. AnnotationSpec is answered to be present /// in that time segment, if it is present in any part of it. The video /// ML model evaluations are done only for this type of classification. /// - /// * `shot`- Shot-level classification. + /// * `shot`- Shot-level classification. /// AutoML Video Intelligence determines the boundaries /// for each camera shot in the entire segment of the video that user /// specified in the request configuration. AutoML Video Intelligence @@ -41,7 +41,7 @@ pub struct VideoClassificationAnnotation { /// the quality of it depends on training data, but there are no /// metrics provided to describe that quality. /// - /// * `1s_interval` - AutoML Video Intelligence returns labels and their + /// * `1s_interval` - AutoML Video Intelligence returns labels and their /// confidence scores for each second of the entire segment of the video /// that user specified in the request configuration. /// WARNING: Model evaluation is not done for this classification type, @@ -49,167 +49,167 @@ pub struct VideoClassificationAnnotation { /// metrics provided to describe that quality. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Output only . The classification details of this annotation. + /// Output only . The classification details of this annotation. #[prost(message, optional, tag="2")] pub classification_annotation: ::core::option::Option, - /// Output only . The time segment of the video to which the - /// annotation applies. + /// Output only . The time segment of the video to which the + /// annotation applies. #[prost(message, optional, tag="3")] pub time_segment: ::core::option::Option, } -/// Model evaluation metrics for classification problems. -/// Note: For Video Classification this metrics only describe quality of the -/// Video Classification predictions of "segment_classification" type. +/// Model evaluation metrics for classification problems. +/// Note: For Video Classification this metrics only describe quality of the +/// Video Classification predictions of "segment_classification" type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationEvaluationMetrics { - /// Output only. The Area Under Precision-Recall Curve metric. Micro-averaged - /// for the overall evaluation. + /// Output only. The Area Under Precision-Recall Curve metric. Micro-averaged + /// for the overall evaluation. #[prost(float, tag="1")] pub au_prc: f32, - /// Output only. The Area Under Precision-Recall Curve metric based on priors. - /// Micro-averaged for the overall evaluation. - /// Deprecated. + /// Output only. The Area Under Precision-Recall Curve metric based on priors. + /// Micro-averaged for the overall evaluation. + /// Deprecated. #[deprecated] #[prost(float, tag="2")] pub base_au_prc: f32, - /// Output only. The Area Under Receiver Operating Characteristic curve metric. - /// Micro-averaged for the overall evaluation. + /// Output only. The Area Under Receiver Operating Characteristic curve metric. + /// Micro-averaged for the overall evaluation. #[prost(float, tag="6")] pub au_roc: f32, - /// Output only. The Log Loss metric. + /// Output only. The Log Loss metric. #[prost(float, tag="7")] pub log_loss: f32, - /// Output only. Metrics for each confidence_threshold in - /// 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and - /// position_threshold = INT32_MAX_VALUE. - /// ROC and precision-recall curves, and other aggregated metrics are derived - /// from them. The confidence metrics entries may also be supplied for - /// additional values of position_threshold, but from these no aggregated - /// metrics are computed. + /// Output only. Metrics for each confidence_threshold in + /// 0.00,0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 and + /// position_threshold = INT32_MAX_VALUE. + /// ROC and precision-recall curves, and other aggregated metrics are derived + /// from them. The confidence metrics entries may also be supplied for + /// additional values of position_threshold, but from these no aggregated + /// metrics are computed. #[prost(message, repeated, tag="3")] pub confidence_metrics_entry: ::prost::alloc::vec::Vec, - /// Output only. Confusion matrix of the evaluation. - /// Only set for MULTICLASS classification problems where number - /// of labels is no more than 10. - /// Only set for model level evaluation, not for evaluation per label. + /// Output only. Confusion matrix of the evaluation. + /// Only set for MULTICLASS classification problems where number + /// of labels is no more than 10. + /// Only set for model level evaluation, not for evaluation per label. #[prost(message, optional, tag="4")] pub confusion_matrix: ::core::option::Option, - /// Output only. The annotation spec ids used for this evaluation. + /// Output only. The annotation spec ids used for this evaluation. #[prost(string, repeated, tag="5")] pub annotation_spec_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `ClassificationEvaluationMetrics`. pub mod classification_evaluation_metrics { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. Metrics are computed with an assumption that the model - /// never returns predictions with score lower than this value. + /// Output only. Metrics are computed with an assumption that the model + /// never returns predictions with score lower than this value. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Metrics are computed with an assumption that the model - /// always returns at most this many predictions (ordered by their score, - /// descendingly), but they all still need to meet the confidence_threshold. + /// Output only. Metrics are computed with an assumption that the model + /// always returns at most this many predictions (ordered by their score, + /// descendingly), but they all still need to meet the confidence_threshold. #[prost(int32, tag="14")] pub position_threshold: i32, - /// Output only. Recall (True Positive Rate) for the given confidence - /// threshold. + /// Output only. Recall (True Positive Rate) for the given confidence + /// threshold. #[prost(float, tag="2")] pub recall: f32, - /// Output only. Precision for the given confidence threshold. + /// Output only. Precision for the given confidence threshold. #[prost(float, tag="3")] pub precision: f32, - /// Output only. False Positive Rate for the given confidence threshold. + /// Output only. False Positive Rate for the given confidence threshold. #[prost(float, tag="8")] pub false_positive_rate: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="4")] pub f1_score: f32, - /// Output only. The Recall (True Positive Rate) when only considering the - /// label that has the highest prediction score and not below the confidence - /// threshold for each example. + /// Output only. The Recall (True Positive Rate) when only considering the + /// label that has the highest prediction score and not below the confidence + /// threshold for each example. #[prost(float, tag="5")] pub recall_at1: f32, - /// Output only. The precision when only considering the label that has the - /// highest prediction score and not below the confidence threshold for each - /// example. + /// Output only. The precision when only considering the label that has the + /// highest prediction score and not below the confidence threshold for each + /// example. #[prost(float, tag="6")] pub precision_at1: f32, - /// Output only. The False Positive Rate when only considering the label that - /// has the highest prediction score and not below the confidence threshold - /// for each example. + /// Output only. The False Positive Rate when only considering the label that + /// has the highest prediction score and not below the confidence threshold + /// for each example. #[prost(float, tag="9")] pub false_positive_rate_at1: f32, - /// Output only. The harmonic mean of \[recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1\]. + /// Output only. The harmonic mean of \[recall_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfidenceMetricsEntry.precision_at1\]. #[prost(float, tag="7")] pub f1_score_at1: f32, - /// Output only. The number of model created labels that match a ground truth - /// label. + /// Output only. The number of model created labels that match a ground truth + /// label. #[prost(int64, tag="10")] pub true_positive_count: i64, - /// Output only. The number of model created labels that do not match a - /// ground truth label. + /// Output only. The number of model created labels that do not match a + /// ground truth label. #[prost(int64, tag="11")] pub false_positive_count: i64, - /// Output only. The number of ground truth labels that are not matched - /// by a model created label. + /// Output only. The number of ground truth labels that are not matched + /// by a model created label. #[prost(int64, tag="12")] pub false_negative_count: i64, - /// Output only. The number of labels that were not created by the model, - /// but if they would, they would not match a ground truth label. + /// Output only. The number of labels that were not created by the model, + /// but if they would, they would not match a ground truth label. #[prost(int64, tag="13")] pub true_negative_count: i64, } - /// Confusion matrix of the model running the classification. + /// Confusion matrix of the model running the classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfusionMatrix { - /// Output only. IDs of the annotation specs used in the confusion matrix. - /// For Tables CLASSIFICATION + /// Output only. IDs of the annotation specs used in the confusion matrix. + /// For Tables CLASSIFICATION /// - /// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] - /// only list of \[annotation_spec_display_name-s][\] is populated. + /// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] + /// only list of \[annotation_spec_display_name-s][\] is populated. #[prost(string, repeated, tag="1")] pub annotation_spec_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Display name of the annotation specs used in the confusion - /// matrix, as they were at the moment of the evaluation. For Tables - /// CLASSIFICATION + /// Output only. Display name of the annotation specs used in the confusion + /// matrix, as they were at the moment of the evaluation. For Tables + /// CLASSIFICATION /// - /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\], - /// distinct values of the target column at the moment of the model - /// evaluation are populated here. + /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\], + /// distinct values of the target column at the moment of the model + /// evaluation are populated here. #[prost(string, repeated, tag="3")] pub display_name: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Rows in the confusion matrix. The number of rows is equal to - /// the size of `annotation_spec_id`. - /// `row\[i].example_count[j\]` is the number of examples that have ground - /// truth of the `annotation_spec_id\[i\]` and are predicted as - /// `annotation_spec_id\[j\]` by the model being evaluated. + /// Output only. Rows in the confusion matrix. The number of rows is equal to + /// the size of `annotation_spec_id`. + /// `row\[i].example_count[j\]` is the number of examples that have ground + /// truth of the `annotation_spec_id\[i\]` and are predicted as + /// `annotation_spec_id\[j\]` by the model being evaluated. #[prost(message, repeated, tag="2")] pub row: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ConfusionMatrix`. pub mod confusion_matrix { - /// Output only. A row in the confusion matrix. + /// Output only. A row in the confusion matrix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// Output only. Value of the specific cell in the confusion matrix. - /// The number of values each row has (i.e. the length of the row) is equal - /// to the length of the `annotation_spec_id` field or, if that one is not - /// populated, length of the \[display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name\] field. + /// Output only. Value of the specific cell in the confusion matrix. + /// The number of values each row has (i.e. the length of the row) is equal + /// to the length of the `annotation_spec_id` field or, if that one is not + /// populated, length of the \[display_name][google.cloud.automl.v1beta1.ClassificationEvaluationMetrics.ConfusionMatrix.display_name\] field. #[prost(int32, repeated, tag="1")] pub example_count: ::prost::alloc::vec::Vec, } } } -/// Type of the classification problem. +/// Type of the classification problem. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ClassificationType { - /// An un-set value of this enum. + /// An un-set value of this enum. Unspecified = 0, - /// At most one label is allowed per example. + /// At most one label is allowed per example. Multiclass = 1, - /// Multiple labels are allowed for one example. + /// Multiple labels are allowed for one example. Multilabel = 2, } impl ClassificationType { @@ -225,400 +225,400 @@ impl ClassificationType { } } } -/// A vertex represents a 2D point in the image. -/// The normalized vertex coordinates are between 0 to 1 fractions relative to -/// the original plane (image, video). E.g. if the plane (e.g. whole image) would -/// have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would -/// be at the position (1, 6) on that plane. +/// A vertex represents a 2D point in the image. +/// The normalized vertex coordinates are between 0 to 1 fractions relative to +/// the original plane (image, video). E.g. if the plane (e.g. whole image) would +/// have size 10 x 20 then a point with normalized coordinates (0.1, 0.3) would +/// be at the position (1, 6) on that plane. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NormalizedVertex { - /// Required. Horizontal coordinate. + /// Required. Horizontal coordinate. #[prost(float, tag="1")] pub x: f32, - /// Required. Vertical coordinate. + /// Required. Vertical coordinate. #[prost(float, tag="2")] pub y: f32, } -/// A bounding polygon of a detected object on a plane. -/// On output both vertices and normalized_vertices are provided. -/// The polygon is formed by connecting vertices in the order they are listed. +/// A bounding polygon of a detected object on a plane. +/// On output both vertices and normalized_vertices are provided. +/// The polygon is formed by connecting vertices in the order they are listed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingPoly { - /// Output only . The bounding polygon normalized vertices. + /// Output only . The bounding polygon normalized vertices. #[prost(message, repeated, tag="2")] pub normalized_vertices: ::prost::alloc::vec::Vec, } -/// Annotation details for image object detection. +/// Annotation details for image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionAnnotation { - /// Output only. The rectangle representing the object location. + /// Output only. The rectangle representing the object location. #[prost(message, optional, tag="1")] pub bounding_box: ::core::option::Option, - /// Output only. The confidence that this annotation is positive for the parent example, - /// value in [0, 1], higher means higher positivity confidence. + /// Output only. The confidence that this annotation is positive for the parent example, + /// value in [0, 1], higher means higher positivity confidence. #[prost(float, tag="2")] pub score: f32, } -/// Annotation details for video object tracking. +/// Annotation details for video object tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoObjectTrackingAnnotation { - /// Optional. The instance of the object, expressed as a positive integer. Used to tell - /// apart objects of the same type (i.e. AnnotationSpec) when multiple are - /// present on a single example. - /// NOTE: Instance ID prediction quality is not a part of model evaluation and - /// is done as best effort. Especially in cases when an entity goes - /// off-screen for a longer time (minutes), when it comes back it may be given - /// a new instance ID. + /// Optional. The instance of the object, expressed as a positive integer. Used to tell + /// apart objects of the same type (i.e. AnnotationSpec) when multiple are + /// present on a single example. + /// NOTE: Instance ID prediction quality is not a part of model evaluation and + /// is done as best effort. Especially in cases when an entity goes + /// off-screen for a longer time (minutes), when it comes back it may be given + /// a new instance ID. #[prost(string, tag="1")] pub instance_id: ::prost::alloc::string::String, - /// Required. A time (frame) of a video to which this annotation pertains. - /// Represented as the duration since the video's start. + /// Required. A time (frame) of a video to which this annotation pertains. + /// Represented as the duration since the video's start. #[prost(message, optional, tag="2")] pub time_offset: ::core::option::Option<::prost_types::Duration>, - /// Required. The rectangle representing the object location on the frame (i.e. - /// at the time_offset of the video). + /// Required. The rectangle representing the object location on the frame (i.e. + /// at the time_offset of the video). #[prost(message, optional, tag="3")] pub bounding_box: ::core::option::Option, - /// Output only. The confidence that this annotation is positive for the video at - /// the time_offset, value in [0, 1], higher means higher positivity - /// confidence. For annotations created by the user the score is 1. When - /// user approves an annotation, the original float score is kept (and not - /// changed to 1). + /// Output only. The confidence that this annotation is positive for the video at + /// the time_offset, value in [0, 1], higher means higher positivity + /// confidence. For annotations created by the user the score is 1. When + /// user approves an annotation, the original float score is kept (and not + /// changed to 1). #[prost(float, tag="4")] pub score: f32, } -/// Bounding box matching model metrics for a single intersection-over-union -/// threshold and multiple label match confidence thresholds. +/// Bounding box matching model metrics for a single intersection-over-union +/// threshold and multiple label match confidence thresholds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingBoxMetricsEntry { - /// Output only. The intersection-over-union threshold value used to compute - /// this metrics entry. + /// Output only. The intersection-over-union threshold value used to compute + /// this metrics entry. #[prost(float, tag="1")] pub iou_threshold: f32, - /// Output only. The mean average precision, most often close to au_prc. + /// Output only. The mean average precision, most often close to au_prc. #[prost(float, tag="2")] pub mean_average_precision: f32, - /// Output only. Metrics for each label-match confidence_threshold from - /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is - /// derived from them. + /// Output only. Metrics for each label-match confidence_threshold from + /// 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99. Precision-recall curve is + /// derived from them. #[prost(message, repeated, tag="3")] pub confidence_metrics_entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BoundingBoxMetricsEntry`. pub mod bounding_box_metrics_entry { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. The confidence threshold value used to compute the metrics. + /// Output only. The confidence threshold value used to compute the metrics. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Recall under the given confidence threshold. + /// Output only. Recall under the given confidence threshold. #[prost(float, tag="2")] pub recall: f32, - /// Output only. Precision under the given confidence threshold. + /// Output only. Precision under the given confidence threshold. #[prost(float, tag="3")] pub precision: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="4")] pub f1_score: f32, } } -/// Model evaluation metrics for image object detection problems. -/// Evaluates prediction quality of labeled bounding boxes. +/// Model evaluation metrics for image object detection problems. +/// Evaluates prediction quality of labeled bounding boxes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionEvaluationMetrics { - /// Output only. The total number of bounding boxes (i.e. summed over all - /// images) the ground truth used to create this evaluation had. + /// Output only. The total number of bounding boxes (i.e. summed over all + /// images) the ground truth used to create this evaluation had. #[prost(int32, tag="1")] pub evaluated_bounding_box_count: i32, - /// Output only. The bounding boxes match metrics for each - /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// pair. + /// Output only. The bounding boxes match metrics for each + /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// pair. #[prost(message, repeated, tag="2")] pub bounding_box_metrics_entries: ::prost::alloc::vec::Vec, - /// Output only. The single metric for bounding boxes evaluation: - /// the mean_average_precision averaged over all bounding_box_metrics_entries. + /// Output only. The single metric for bounding boxes evaluation: + /// the mean_average_precision averaged over all bounding_box_metrics_entries. #[prost(float, tag="3")] pub bounding_box_mean_average_precision: f32, } -/// Model evaluation metrics for video object tracking problems. -/// Evaluates prediction quality of both labeled bounding boxes and labeled -/// tracks (i.e. series of bounding boxes sharing same label and instance ID). +/// Model evaluation metrics for video object tracking problems. +/// Evaluates prediction quality of both labeled bounding boxes and labeled +/// tracks (i.e. series of bounding boxes sharing same label and instance ID). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoObjectTrackingEvaluationMetrics { - /// Output only. The number of video frames used to create this evaluation. + /// Output only. The number of video frames used to create this evaluation. #[prost(int32, tag="1")] pub evaluated_frame_count: i32, - /// Output only. The total number of bounding boxes (i.e. summed over all - /// frames) the ground truth used to create this evaluation had. + /// Output only. The total number of bounding boxes (i.e. summed over all + /// frames) the ground truth used to create this evaluation had. #[prost(int32, tag="2")] pub evaluated_bounding_box_count: i32, - /// Output only. The bounding boxes match metrics for each - /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 - /// pair. + /// Output only. The bounding boxes match metrics for each + /// Intersection-over-union threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// and each label confidence threshold 0.05,0.10,...,0.95,0.96,0.97,0.98,0.99 + /// pair. #[prost(message, repeated, tag="4")] pub bounding_box_metrics_entries: ::prost::alloc::vec::Vec, - /// Output only. The single metric for bounding boxes evaluation: - /// the mean_average_precision averaged over all bounding_box_metrics_entries. + /// Output only. The single metric for bounding boxes evaluation: + /// the mean_average_precision averaged over all bounding_box_metrics_entries. #[prost(float, tag="6")] pub bounding_box_mean_average_precision: f32, } -/// The data statistics of a series of values that share the same DataType. +/// The data statistics of a series of values that share the same DataType. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataStats { - /// The number of distinct values. + /// The number of distinct values. #[prost(int64, tag="1")] pub distinct_value_count: i64, - /// The number of values that are null. + /// The number of values that are null. #[prost(int64, tag="2")] pub null_value_count: i64, - /// The number of values that are valid. + /// The number of values that are valid. #[prost(int64, tag="9")] pub valid_value_count: i64, - /// The data statistics specific to a DataType. + /// The data statistics specific to a DataType. #[prost(oneof="data_stats::Stats", tags="3, 4, 5, 6, 7, 8")] pub stats: ::core::option::Option, } /// Nested message and enum types in `DataStats`. pub mod data_stats { - /// The data statistics specific to a DataType. + /// The data statistics specific to a DataType. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Stats { - /// The statistics for FLOAT64 DataType. + /// The statistics for FLOAT64 DataType. #[prost(message, tag="3")] Float64Stats(super::Float64Stats), - /// The statistics for STRING DataType. + /// The statistics for STRING DataType. #[prost(message, tag="4")] StringStats(super::StringStats), - /// The statistics for TIMESTAMP DataType. + /// The statistics for TIMESTAMP DataType. #[prost(message, tag="5")] TimestampStats(super::TimestampStats), - /// The statistics for ARRAY DataType. + /// The statistics for ARRAY DataType. #[prost(message, tag="6")] ArrayStats(::prost::alloc::boxed::Box), - /// The statistics for STRUCT DataType. + /// The statistics for STRUCT DataType. #[prost(message, tag="7")] StructStats(super::StructStats), - /// The statistics for CATEGORY DataType. + /// The statistics for CATEGORY DataType. #[prost(message, tag="8")] CategoryStats(super::CategoryStats), } } -/// The data statistics of a series of FLOAT64 values. +/// The data statistics of a series of FLOAT64 values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Float64Stats { - /// The mean of the series. + /// The mean of the series. #[prost(double, tag="1")] pub mean: f64, - /// The standard deviation of the series. + /// The standard deviation of the series. #[prost(double, tag="2")] pub standard_deviation: f64, - /// Ordered from 0 to k k-quantile values of the data series of n values. - /// The value at index i is, approximately, the i*n/k-th smallest value in the - /// series; for i = 0 and i = k these are, respectively, the min and max - /// values. + /// Ordered from 0 to k k-quantile values of the data series of n values. + /// The value at index i is, approximately, the i*n/k-th smallest value in the + /// series; for i = 0 and i = k these are, respectively, the min and max + /// values. #[prost(double, repeated, tag="3")] pub quantiles: ::prost::alloc::vec::Vec, - /// Histogram buckets of the data series. Sorted by the min value of the - /// bucket, ascendingly, and the number of the buckets is dynamically - /// generated. The buckets are non-overlapping and completely cover whole - /// FLOAT64 range with min of first bucket being `"-Infinity"`, and max of - /// the last one being `"Infinity"`. + /// Histogram buckets of the data series. Sorted by the min value of the + /// bucket, ascendingly, and the number of the buckets is dynamically + /// generated. The buckets are non-overlapping and completely cover whole + /// FLOAT64 range with min of first bucket being `"-Infinity"`, and max of + /// the last one being `"Infinity"`. #[prost(message, repeated, tag="4")] pub histogram_buckets: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Float64Stats`. pub mod float64_stats { - /// A bucket of a histogram. + /// A bucket of a histogram. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistogramBucket { - /// The minimum value of the bucket, inclusive. + /// The minimum value of the bucket, inclusive. #[prost(double, tag="1")] pub min: f64, - /// The maximum value of the bucket, exclusive unless max = `"Infinity"`, in - /// which case it's inclusive. + /// The maximum value of the bucket, exclusive unless max = `"Infinity"`, in + /// which case it's inclusive. #[prost(double, tag="2")] pub max: f64, - /// The number of data values that are in the bucket, i.e. are between - /// min and max values. + /// The number of data values that are in the bucket, i.e. are between + /// min and max values. #[prost(int64, tag="3")] pub count: i64, } } -/// The data statistics of a series of STRING values. +/// The data statistics of a series of STRING values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StringStats { - /// The statistics of the top 20 unigrams, ordered by - /// \[count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count\]. + /// The statistics of the top 20 unigrams, ordered by + /// \[count][google.cloud.automl.v1beta1.StringStats.UnigramStats.count\]. #[prost(message, repeated, tag="1")] pub top_unigram_stats: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `StringStats`. pub mod string_stats { - /// The statistics of a unigram. + /// The statistics of a unigram. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnigramStats { - /// The unigram. + /// The unigram. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, - /// The number of occurrences of this unigram in the series. + /// The number of occurrences of this unigram in the series. #[prost(int64, tag="2")] pub count: i64, } } -/// The data statistics of a series of TIMESTAMP values. +/// The data statistics of a series of TIMESTAMP values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampStats { - /// The string key is the pre-defined granularity. Currently supported: - /// hour_of_day, day_of_week, month_of_year. - /// Granularities finer that the granularity of timestamp data are not - /// populated (e.g. if timestamps are at day granularity, then hour_of_day - /// is not populated). + /// The string key is the pre-defined granularity. Currently supported: + /// hour_of_day, day_of_week, month_of_year. + /// Granularities finer that the granularity of timestamp data are not + /// populated (e.g. if timestamps are at day granularity, then hour_of_day + /// is not populated). #[prost(map="string, message", tag="1")] pub granular_stats: ::std::collections::HashMap<::prost::alloc::string::String, timestamp_stats::GranularStats>, } /// Nested message and enum types in `TimestampStats`. pub mod timestamp_stats { - /// Stats split by a defined in context granularity. + /// Stats split by a defined in context granularity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GranularStats { - /// A map from granularity key to example count for that key. - /// E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May). + /// A map from granularity key to example count for that key. + /// E.g. for hour_of_day `13` means 1pm, or for month_of_year `5` means May). #[prost(map="int32, int64", tag="1")] pub buckets: ::std::collections::HashMap, } } -/// The data statistics of a series of ARRAY values. +/// The data statistics of a series of ARRAY values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrayStats { - /// Stats of all the values of all arrays, as if they were a single long - /// series of data. The type depends on the element type of the array. + /// Stats of all the values of all arrays, as if they were a single long + /// series of data. The type depends on the element type of the array. #[prost(message, optional, boxed, tag="2")] pub member_stats: ::core::option::Option<::prost::alloc::boxed::Box>, } -/// The data statistics of a series of STRUCT values. +/// The data statistics of a series of STRUCT values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructStats { - /// Map from a field name of the struct to data stats aggregated over series - /// of all data in that field across all the structs. + /// Map from a field name of the struct to data stats aggregated over series + /// of all data in that field across all the structs. #[prost(map="string, message", tag="1")] pub field_stats: ::std::collections::HashMap<::prost::alloc::string::String, DataStats>, } -/// The data statistics of a series of CATEGORY values. +/// The data statistics of a series of CATEGORY values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoryStats { - /// The statistics of the top 20 CATEGORY values, ordered by + /// The statistics of the top 20 CATEGORY values, ordered by /// - /// \[count][google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats.count\]. + /// \[count][google.cloud.automl.v1beta1.CategoryStats.SingleCategoryStats.count\]. #[prost(message, repeated, tag="1")] pub top_category_stats: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CategoryStats`. pub mod category_stats { - /// The statistics of a single CATEGORY value. + /// The statistics of a single CATEGORY value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SingleCategoryStats { - /// The CATEGORY value. + /// The CATEGORY value. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, - /// The number of occurrences of this value in the series. + /// The number of occurrences of this value in the series. #[prost(int64, tag="2")] pub count: i64, } } -/// A correlation statistics between two series of DataType values. The series -/// may have differing DataType-s, but within a single series the DataType must -/// be the same. +/// A correlation statistics between two series of DataType values. The series +/// may have differing DataType-s, but within a single series the DataType must +/// be the same. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CorrelationStats { - /// The correlation value using the Cramer's V measure. + /// The correlation value using the Cramer's V measure. #[prost(double, tag="1")] pub cramers_v: f64, } -/// Indicated the type of data that can be stored in a structured data entity -/// (e.g. a table). +/// Indicated the type of data that can be stored in a structured data entity +/// (e.g. a table). #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataType { - /// Required. The \[TypeCode][google.cloud.automl.v1beta1.TypeCode\] for this type. + /// Required. The \[TypeCode][google.cloud.automl.v1beta1.TypeCode\] for this type. #[prost(enumeration="TypeCode", tag="1")] pub type_code: i32, - /// If true, this DataType can also be `NULL`. In .CSV files `NULL` value is - /// expressed as an empty string. + /// If true, this DataType can also be `NULL`. In .CSV files `NULL` value is + /// expressed as an empty string. #[prost(bool, tag="4")] pub nullable: bool, - /// Details of DataType-s that need additional specification. + /// Details of DataType-s that need additional specification. #[prost(oneof="data_type::Details", tags="2, 3, 5")] pub details: ::core::option::Option, } /// Nested message and enum types in `DataType`. pub mod data_type { - /// Details of DataType-s that need additional specification. + /// Details of DataType-s that need additional specification. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY\], - /// then `list_element_type` is the type of the elements. + /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[ARRAY][google.cloud.automl.v1beta1.TypeCode.ARRAY\], + /// then `list_element_type` is the type of the elements. #[prost(message, tag="2")] ListElementType(::prost::alloc::boxed::Box), - /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT\], then `struct_type` - /// provides type information for the struct's fields. + /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT\], then `struct_type` + /// provides type information for the struct's fields. #[prost(message, tag="3")] StructType(super::StructType), - /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP\] - /// then `time_format` provides the format in which that time field is - /// expressed. The time_format must either be one of: - /// * `UNIX_SECONDS` - /// * `UNIX_MILLISECONDS` - /// * `UNIX_MICROSECONDS` - /// * `UNIX_NANOSECONDS` - /// (for respectively number of seconds, milliseconds, microseconds and - /// nanoseconds since start of the Unix epoch); - /// or be written in `strftime` syntax. If time_format is not set, then the - /// default format as described on the type_code is used. + /// If \[type_code][google.cloud.automl.v1beta1.DataType.type_code\] == \[TIMESTAMP][google.cloud.automl.v1beta1.TypeCode.TIMESTAMP\] + /// then `time_format` provides the format in which that time field is + /// expressed. The time_format must either be one of: + /// * `UNIX_SECONDS` + /// * `UNIX_MILLISECONDS` + /// * `UNIX_MICROSECONDS` + /// * `UNIX_NANOSECONDS` + /// (for respectively number of seconds, milliseconds, microseconds and + /// nanoseconds since start of the Unix epoch); + /// or be written in `strftime` syntax. If time_format is not set, then the + /// default format as described on the type_code is used. #[prost(string, tag="5")] TimeFormat(::prost::alloc::string::String), } } -/// `StructType` defines the DataType-s of a \[STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT\] type. +/// `StructType` defines the DataType-s of a \[STRUCT][google.cloud.automl.v1beta1.TypeCode.STRUCT\] type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StructType { - /// Unordered map of struct field names to their data types. - /// Fields cannot be added or removed via Update. Their names and - /// data types are still mutable. + /// Unordered map of struct field names to their data types. + /// Fields cannot be added or removed via Update. Their names and + /// data types are still mutable. #[prost(map="string, message", tag="1")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, DataType>, } -/// `TypeCode` is used as a part of -/// \[DataType][google.cloud.automl.v1beta1.DataType\]. +/// `TypeCode` is used as a part of +/// \[DataType][google.cloud.automl.v1beta1.DataType\]. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TypeCode { - /// Not specified. Should not be used. + /// Not specified. Should not be used. Unspecified = 0, - /// Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or - /// `"-Infinity"`. + /// Encoded as `number`, or the strings `"NaN"`, `"Infinity"`, or + /// `"-Infinity"`. Float64 = 3, - /// Must be between 0AD and 9999AD. Encoded as `string` according to - /// \[time_format][google.cloud.automl.v1beta1.DataType.time_format\], or, if - /// that format is not set, then in RFC 3339 `date-time` format, where - /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). + /// Must be between 0AD and 9999AD. Encoded as `string` according to + /// \[time_format][google.cloud.automl.v1beta1.DataType.time_format\], or, if + /// that format is not set, then in RFC 3339 `date-time` format, where + /// `time-offset` = `"Z"` (e.g. 1985-04-12T23:20:50.52Z). Timestamp = 4, - /// Encoded as `string`. + /// Encoded as `string`. String = 6, - /// Encoded as `list`, where the list elements are represented according to + /// Encoded as `list`, where the list elements are represented according to /// - /// \[list_element_type][google.cloud.automl.v1beta1.DataType.list_element_type\]. + /// \[list_element_type][google.cloud.automl.v1beta1.DataType.list_element_type\]. Array = 8, - /// Encoded as `struct`, where field values are represented according to - /// \[struct_type][google.cloud.automl.v1beta1.DataType.struct_type\]. + /// Encoded as `struct`, where field values are represented according to + /// \[struct_type][google.cloud.automl.v1beta1.DataType.struct_type\]. Struct = 9, - /// Values of this type are not further understood by AutoML, - /// e.g. AutoML is unable to tell the order of values (as it could with - /// FLOAT64), or is unable to say if one value contains another (as it - /// could with STRING). - /// Encoded as `string` (bytes should be base64-encoded, as described in RFC - /// 4648, section 4). + /// Values of this type are not further understood by AutoML, + /// e.g. AutoML is unable to tell the order of values (as it could with + /// FLOAT64), or is unable to say if one value contains another (as it + /// could with STRING). + /// Encoded as `string` (bytes should be base64-encoded, as described in RFC + /// 4648, section 4). Category = 10, } impl TypeCode { @@ -638,71 +638,71 @@ impl TypeCode { } } } -/// A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were -/// given on import . -/// Used by: +/// A representation of a column in a relational table. When listing them, column specs are returned in the same order in which they were +/// given on import . +/// Used by: /// * Tables #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnSpec { - /// Output only. The resource name of the column specs. - /// Form: + /// Output only. The resource name of the column specs. + /// Form: /// - /// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}` + /// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}/columnSpecs/{column_spec_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The data type of elements stored in the column. + /// The data type of elements stored in the column. #[prost(message, optional, tag="2")] pub data_type: ::core::option::Option, - /// Output only. The name of the column to show in the interface. The name can - /// be up to 100 characters long and can consist only of ASCII Latin letters - /// A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and - /// must start with a letter or a digit. + /// Output only. The name of the column to show in the interface. The name can + /// be up to 100 characters long and can consist only of ASCII Latin letters + /// A-Z and a-z, ASCII digits 0-9, underscores(_), and forward slashes(/), and + /// must start with a letter or a digit. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Output only. Stats of the series of values in the column. - /// This field may be stale, see the ancestor's - /// Dataset.tables_dataset_metadata.stats_update_time field - /// for the timestamp at which these stats were last updated. + /// Output only. Stats of the series of values in the column. + /// This field may be stale, see the ancestor's + /// Dataset.tables_dataset_metadata.stats_update_time field + /// for the timestamp at which these stats were last updated. #[prost(message, optional, tag="4")] pub data_stats: ::core::option::Option, - /// Deprecated. + /// Deprecated. #[prost(message, repeated, tag="5")] pub top_correlated_columns: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, } /// Nested message and enum types in `ColumnSpec`. pub mod column_spec { - /// Identifies the table's column, and its correlation with the column this - /// ColumnSpec describes. + /// Identifies the table's column, and its correlation with the column this + /// ColumnSpec describes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CorrelatedColumn { - /// The column_spec_id of the correlated column, which belongs to the same - /// table as the in-context column. + /// The column_spec_id of the correlated column, which belongs to the same + /// table as the in-context column. #[prost(string, tag="1")] pub column_spec_id: ::prost::alloc::string::String, - /// Correlation between this and the in-context column. + /// Correlation between this and the in-context column. #[prost(message, optional, tag="2")] pub correlation_stats: ::core::option::Option, } } -/// Input configuration for ImportData Action. +/// Input configuration for ImportData Action. /// -/// The format of input depends on dataset_metadata the Dataset into which -/// the import is happening has. As input source the -/// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] -/// is expected, unless specified otherwise. Additionally any input .CSV file -/// by itself must be 100MB or smaller, unless specified otherwise. -/// If an "example" file (that is, image, video etc.) with identical content -/// (even if it had different GCS_FILE_PATH) is mentioned multiple times, then -/// its label, bounding boxes etc. are appended. The same file should be always -/// provided with the same ML_USE and GCS_FILE_PATH, if it is not, then -/// these values are nondeterministically selected from the given ones. +/// The format of input depends on dataset_metadata the Dataset into which +/// the import is happening has. As input source the +/// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] +/// is expected, unless specified otherwise. Additionally any input .CSV file +/// by itself must be 100MB or smaller, unless specified otherwise. +/// If an "example" file (that is, image, video etc.) with identical content +/// (even if it had different GCS_FILE_PATH) is mentioned multiple times, then +/// its label, bounding boxes etc. are appended. The same file should be always +/// provided with the same ML_USE and GCS_FILE_PATH, if it is not, then +/// these values are nondeterministically selected from the given ones. /// -/// The formats are represented in EBNF with commas being literal and with -/// non-terminal symbols defined near the end of this comment. The formats are: +/// The formats are represented in EBNF with commas being literal and with +/// non-terminal symbols defined near the end of this comment. The formats are: /// /// * For Image Classification: /// CSV file(s) with each line in format: @@ -961,10 +961,10 @@ pub mod column_spec { /// Either /// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] or /// -/// \[bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source\] +/// \[bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source\] /// can be used. All inputs is concatenated into a single /// -/// \[primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name\] +/// \[primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_name\] /// For gcs_source: /// CSV file(s), where the first row of the first file is the header, /// containing unique column names. If the first row of a subsequent @@ -976,9 +976,9 @@ pub mod column_spec { /// First three sample rows of a CSV file: /// "Id","First Name","Last Name","Dob","Addresses" /// -/// "1","John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]" +/// "1","John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]" /// -/// "2","Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]} +/// "2","Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]} /// For bigquery_source: /// An URI of a BigQuery table. The user data size of the BigQuery /// table must be 100GB or smaller. @@ -1048,46 +1048,46 @@ pub mod column_spec { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputConfig { - /// Additional domain-specific parameters describing the semantic of the - /// imported data, any string must be up to 25000 - /// characters long. + /// Additional domain-specific parameters describing the semantic of the + /// imported data, any string must be up to 25000 + /// characters long. /// - /// * For Tables: + /// * For Tables: /// `schema_inference_version` - (integer) Required. The version of the /// algorithm that should be used for the initial inference of the /// schema (columns' DataTypes) of the table the data is being imported /// into. Allowed values: "1". #[prost(map="string, string", tag="2")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The source of the input. + /// The source of the input. #[prost(oneof="input_config::Source", tags="1, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `InputConfig`. pub mod input_config { - /// The source of the input. + /// The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Google Cloud Storage location for the input content. - /// In ImportData, the gcs_source points to a csv with structure described in - /// the comment. + /// The Google Cloud Storage location for the input content. + /// In ImportData, the gcs_source points to a csv with structure described in + /// the comment. #[prost(message, tag="1")] GcsSource(super::GcsSource), - /// The BigQuery location for the input content. + /// The BigQuery location for the input content. #[prost(message, tag="3")] BigquerySource(super::BigQuerySource), } } -/// Input configuration for BatchPredict Action. +/// Input configuration for BatchPredict Action. /// -/// The format of input depends on the ML problem of the model used for -/// prediction. As input source the -/// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] -/// is expected, unless specified otherwise. +/// The format of input depends on the ML problem of the model used for +/// prediction. As input source the +/// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] +/// is expected, unless specified otherwise. /// -/// The formats are represented in EBNF with commas being literal and with -/// non-terminal symbols defined near the end of this comment. The formats -/// are: +/// The formats are represented in EBNF with commas being literal and with +/// non-terminal symbols defined near the end of this comment. The formats +/// are: /// /// * For Image Classification: /// CSV file(s) with each line having just a single column: @@ -1221,7 +1221,7 @@ pub mod input_config { /// Either /// \[gcs_source][google.cloud.automl.v1beta1.InputConfig.gcs_source\] or /// -/// \[bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source\]. +/// \[bigquery_source][google.cloud.automl.v1beta1.InputConfig.bigquery_source\]. /// GCS case: /// CSV file(s), each by itself 10GB or smaller and total size must be /// 100GB or smaller, where first file must have a header containing @@ -1230,42 +1230,42 @@ pub mod input_config { /// contain values for the corresponding columns. /// The column names must contain the model's /// -/// \[input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] +/// \[input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] /// -/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] +/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] /// (order doesn't matter). The columns corresponding to the model's /// input feature column specs must contain values compatible with the /// column spec's data types. Prediction on all the rows, i.e. the CSV /// lines, will be attempted. For FORECASTING /// -/// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: +/// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: /// all columns having /// -/// \[TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType\] +/// \[TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType\] /// type will be ignored. /// First three sample rows of a CSV file: /// "First Name","Last Name","Dob","Addresses" /// -/// "John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]" +/// "John","Doe","1968-01-22","\[{"status":"current","address":"123_First_Avenue","city":"Seattle","state":"WA","zip":"11111","numberOfYears":"1"},{"status":"previous","address":"456_Main_Street","city":"Portland","state":"OR","zip":"22222","numberOfYears":"5"}\]" /// -/// "Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]} +/// "Jane","Doe","1980-10-16","\[{"status":"current","address":"789_Any_Avenue","city":"Albany","state":"NY","zip":"33333","numberOfYears":"2"},{"status":"previous","address":"321_Main_Street","city":"Hoboken","state":"NJ","zip":"44444","numberOfYears":"3"}\]} /// BigQuery case: /// An URI of a BigQuery table. The user data size of the BigQuery /// table must be 100GB or smaller. /// The column names must contain the model's /// -/// \[input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] +/// \[input_feature_column_specs'][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] /// -/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] +/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] /// (order doesn't matter). The columns corresponding to the model's /// input feature column specs must contain values compatible with the /// column spec's data types. Prediction on all the rows of the table /// will be attempted. For FORECASTING /// -/// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: +/// \[prediction_type][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: /// all columns having /// -/// \[TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType\] +/// \[TIME_SERIES_AVAILABLE_PAST_ONLY][google.cloud.automl.v1beta1.ColumnSpec.ForecastingMetadata.ColumnType\] /// type will be ignored. /// /// Definitions: @@ -1292,34 +1292,34 @@ pub mod input_config { /// Operation.metadata.partial_failures. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictInputConfig { - /// Required. The source of the input. + /// Required. The source of the input. #[prost(oneof="batch_predict_input_config::Source", tags="1, 2")] pub source: ::core::option::Option, } /// Nested message and enum types in `BatchPredictInputConfig`. pub mod batch_predict_input_config { - /// Required. The source of the input. + /// Required. The source of the input. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The Google Cloud Storage location for the input content. + /// The Google Cloud Storage location for the input content. #[prost(message, tag="1")] GcsSource(super::GcsSource), - /// The BigQuery location for the input content. + /// The BigQuery location for the input content. #[prost(message, tag="2")] BigquerySource(super::BigQuerySource), } } -/// Input configuration of a \[Document][google.cloud.automl.v1beta1.Document\]. +/// Input configuration of a \[Document][google.cloud.automl.v1beta1.Document\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentInputConfig { - /// The Google Cloud Storage location of the document file. Only a single path - /// should be given. - /// Max supported size: 512MB. - /// Supported extensions: .PDF. + /// The Google Cloud Storage location of the document file. Only a single path + /// should be given. + /// Max supported size: 512MB. + /// Supported extensions: .PDF. #[prost(message, optional, tag="1")] pub gcs_source: ::core::option::Option, } -/// * For Translation: +/// * For Translation: /// CSV file `translation.csv`, with each line in format: /// ML_USE,GCS_FILE_PATH /// GCS_FILE_PATH leads to a .TSV file which describes examples that have @@ -1332,18 +1332,18 @@ pub struct DocumentInputConfig { /// BigQuery. /// GCS case: /// -/// \[gcs_destination][google.cloud.automl.v1beta1.OutputConfig.gcs_destination\] +/// \[gcs_destination][google.cloud.automl.v1beta1.OutputConfig.gcs_destination\] /// must be set. Exported are CSV file(s) `tables_1.csv`, /// `tables_2.csv`,...,`tables_N.csv` with each having as header line /// the table's column names, and all other lines contain values for /// the header columns. /// BigQuery case: /// -/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] +/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] /// pointing to a BigQuery project must be set. In the given project a /// new dataset will be created with name /// -/// `export_data__` +/// `export_data__` /// where will be made /// BigQuery-dataset-name compatible (e.g. most special characters will /// become underscores), and timestamp will be in @@ -1352,39 +1352,39 @@ pub struct DocumentInputConfig { /// filled with precisely the same data as this obtained on import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Google Cloud Storage location where the output is to be written to. - /// For Image Object Detection, Text Extraction, Video Classification and - /// Tables, in the given directory a new directory will be created with name: - /// export_data-- where - /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export - /// output will be written into that directory. + /// The Google Cloud Storage location where the output is to be written to. + /// For Image Object Detection, Text Extraction, Video Classification and + /// Tables, in the given directory a new directory will be created with name: + /// export_data-- where + /// timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export + /// output will be written into that directory. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// The BigQuery location where the output is to be written to. + /// The BigQuery location where the output is to be written to. #[prost(message, tag="2")] BigqueryDestination(super::BigQueryDestination), } } -/// Output configuration for BatchPredict Action. +/// Output configuration for BatchPredict Action. /// -/// As destination the +/// As destination the /// -/// \[gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination\] -/// must be set unless specified otherwise for a domain. If gcs_destination is -/// set then in the given directory a new directory is created. Its name -/// will be -/// "prediction--", -/// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents -/// of it depends on the ML problem the predictions are made for. +/// \[gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination\] +/// must be set unless specified otherwise for a domain. If gcs_destination is +/// set then in the given directory a new directory is created. Its name +/// will be +/// "prediction--", +/// where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. The contents +/// of it depends on the ML problem the predictions are made for. /// /// * For Image Classification: /// In the created directory files `image_classification_1.jsonl`, @@ -1404,8 +1404,8 @@ pub mod output_config { /// that wraps the same "ID" : "" but here followed by /// exactly one /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// containing only `code` and `message`fields. /// /// * For Image Object Detection: @@ -1426,8 +1426,8 @@ pub mod output_config { /// that wraps the same "ID" : "" but here followed by /// exactly one /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// containing only `code` and `message`fields. /// * For Video Classification: /// In the created directory a video_classification.csv file, and a .JSON @@ -1436,7 +1436,7 @@ pub mod output_config { /// /// The format of video_classification.csv is: /// -/// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +/// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS /// where: /// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 /// the prediction input lines (i.e. video_classification.csv has @@ -1465,7 +1465,7 @@ pub mod output_config { /// /// The format of video_object_tracking.csv is: /// -/// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS +/// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END,JSON_FILE_NAME,STATUS /// where: /// GCS_FILE_PATH,TIME_SEGMENT_START,TIME_SEGMENT_END = matches 1 to 1 /// the prediction input lines (i.e. video_object_tracking.csv has @@ -1501,8 +1501,8 @@ pub mod output_config { /// proto that wraps input text snippet or input text file followed by /// exactly one /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// containing only `code` and `message`. /// /// * For Text Sentiment: @@ -1525,8 +1525,8 @@ pub mod output_config { /// proto that wraps input text snippet or input text file followed by /// exactly one /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// containing only `code` and `message`. /// /// * For Text Extraction: @@ -1561,17 +1561,17 @@ pub mod output_config { /// or the document proto (in case of document) but here followed by /// exactly one /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// containing only `code` and `message`. /// /// * For Tables: /// Output depends on whether /// -/// \[gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination\] +/// \[gcs_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.gcs_destination\] /// or /// -/// \[bigquery_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.bigquery_destination\] +/// \[bigquery_destination][google.cloud.automl.v1beta1.BatchPredictOutputConfig.bigquery_destination\] /// is set (either is allowed). /// GCS case: /// In the created directory files `tables_1.csv`, `tables_2.csv`,..., @@ -1579,15 +1579,15 @@ pub mod output_config { /// the total number of the successfully predicted rows. /// For all CLASSIFICATION /// -/// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: +/// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: /// Each .csv file will contain a header, listing all columns' /// -/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] +/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] /// given on input followed by M target column names in the format of /// -/// "<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] +/// "<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] /// -/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>___score" where M is the number of distinct target values, /// i.e. number of distinct values in the target column of the table /// used to train the model. Subsequent lines will contain the @@ -1596,15 +1596,15 @@ pub mod output_config { /// \[scores][google.cloud.automl.v1beta1.TablesAnnotation.score\]. /// For REGRESSION and FORECASTING /// -/// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: +/// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\]: /// Each .csv file will contain a header, listing all columns' /// \[display_name-s][google.cloud.automl.v1beta1.display_name\] given /// on input followed by the predicted target column with name in the /// format of /// -/// "predicted_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] +/// "predicted_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] /// -/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>" +/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>" /// Subsequent lines will contain the respective values of /// successfully predicted rows, with the last, i.e. the target, /// column having the predicted target value. @@ -1614,13 +1614,13 @@ pub mod output_config { /// will have analogous format as `tables_*.csv`, but always with a /// single target column having /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// represented as a JSON string, and containing only `code` and /// `message`. /// BigQuery case: /// -/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] +/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] /// pointing to a BigQuery project must be set. In the given project a /// new dataset will be created with name /// `prediction__` @@ -1631,131 +1631,131 @@ pub mod output_config { /// two tables will be created, `predictions`, and `errors`. /// The `predictions` table's column names will be the input columns' /// -/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] +/// \[display_name-s][google.cloud.automl.v1beta1.ColumnSpec.display_name\] /// followed by the target column with name in the format of /// -/// "predicted_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] +/// "predicted_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] /// -/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>" +/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>" /// The input feature columns will contain the respective values of /// successfully predicted rows, with the target column having an /// ARRAY of /// -/// \[AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload\], +/// \[AnnotationPayloads][google.cloud.automl.v1beta1.AnnotationPayload\], /// represented as STRUCT-s, containing /// \[TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation\]. /// The `errors` table contains rows for which the prediction has /// failed, it has analogous input columns while the target column name /// is in the format of /// -/// "errors_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] +/// "errors_<\[target_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] /// -/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>", +/// \[display_name][google.cloud.automl.v1beta1.ColumnSpec.display_name\]>", /// and as a value has /// -/// \[`google.rpc.Status`\](https: -/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) +/// \[`google.rpc.Status`\](https: +/// //github.com/googleapis/googleapis/blob/master/google/rpc/status.proto) /// represented as a STRUCT, and containing only `code` and `message`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOutputConfig { - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="batch_predict_output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOutputConfig`. pub mod batch_predict_output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Google Cloud Storage location of the directory where the output is to - /// be written to. + /// The Google Cloud Storage location of the directory where the output is to + /// be written to. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// The BigQuery location where the output is to be written to. + /// The BigQuery location where the output is to be written to. #[prost(message, tag="2")] BigqueryDestination(super::BigQueryDestination), } } -/// Output configuration for ModelExport Action. +/// Output configuration for ModelExport Action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelExportOutputConfig { - /// The format in which the model must be exported. The available, and default, - /// formats depend on the problem and model type (if given problem and type - /// combination doesn't have a format listed, it means its models are not - /// exportable): + /// The format in which the model must be exported. The available, and default, + /// formats depend on the problem and model type (if given problem and type + /// combination doesn't have a format listed, it means its models are not + /// exportable): /// - /// * For Image Classification mobile-low-latency-1, mobile-versatile-1, + /// * For Image Classification mobile-low-latency-1, mobile-versatile-1, /// mobile-high-accuracy-1: /// "tflite" (default), "edgetpu_tflite", "tf_saved_model", "tf_js", /// "docker". /// - /// * For Image Classification mobile-core-ml-low-latency-1, + /// * For Image Classification mobile-core-ml-low-latency-1, /// mobile-core-ml-versatile-1, mobile-core-ml-high-accuracy-1: /// "core_ml" (default). /// - /// * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, + /// * For Image Object Detection mobile-low-latency-1, mobile-versatile-1, /// mobile-high-accuracy-1: /// "tflite", "tf_saved_model", "tf_js". /// - /// * For Video Classification cloud, + /// * For Video Classification cloud, /// "tf_saved_model". /// - /// * For Video Object Tracking cloud, + /// * For Video Object Tracking cloud, /// "tf_saved_model". /// - /// * For Video Object Tracking mobile-versatile-1: + /// * For Video Object Tracking mobile-versatile-1: /// "tflite", "edgetpu_tflite", "tf_saved_model", "docker". /// - /// * For Video Object Tracking mobile-coral-versatile-1: + /// * For Video Object Tracking mobile-coral-versatile-1: /// "tflite", "edgetpu_tflite", "docker". /// - /// * For Video Object Tracking mobile-coral-low-latency-1: + /// * For Video Object Tracking mobile-coral-low-latency-1: /// "tflite", "edgetpu_tflite", "docker". /// - /// * For Video Object Tracking mobile-jetson-versatile-1: + /// * For Video Object Tracking mobile-jetson-versatile-1: /// "tf_saved_model", "docker". /// - /// * For Tables: + /// * For Tables: /// "docker". /// - /// Formats description: + /// Formats description: /// - /// * tflite - Used for Android mobile devices. - /// * edgetpu_tflite - Used for [Edge TPU]() + /// * tflite - Used for Android mobile devices. + /// * edgetpu_tflite - Used for [Edge TPU]() /// devices. - /// * tf_saved_model - A tensorflow model in SavedModel format. - /// * tf_js - A \[TensorFlow.js\]() model that can + /// * tf_saved_model - A tensorflow model in SavedModel format. + /// * tf_js - A \[TensorFlow.js\]() model that can /// be used in the browser and in Node.js using JavaScript. - /// * docker - Used for Docker containers. Use the params field to customize + /// * docker - Used for Docker containers. Use the params field to customize /// the container. The container is verified to work correctly on /// ubuntu 16.04 operating system. See more at /// [containers /// - /// quickstart](https: - /// //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) - /// * core_ml - Used for iOS mobile devices. + /// quickstart](https: + /// //cloud.google.com/vision/automl/docs/containers-gcs-quickstart) + /// * core_ml - Used for iOS mobile devices. #[prost(string, tag="4")] pub model_format: ::prost::alloc::string::String, - /// Additional model-type and format specific parameters describing the - /// requirements for the to be exported model files, any string must be up to - /// 25000 characters long. + /// Additional model-type and format specific parameters describing the + /// requirements for the to be exported model files, any string must be up to + /// 25000 characters long. /// /// * For `docker` format: /// `cpu_architecture` - (string) "x86_64" (default). /// `gpu_architecture` - (string) "none" (default), "nvidia". #[prost(map="string, string", tag="2")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="model_export_output_config::Destination", tags="1, 3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ModelExportOutputConfig`. pub mod model_export_output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The Google Cloud Storage location where the model is to be written to. - /// This location may only be set for the following model formats: + /// The Google Cloud Storage location where the model is to be written to. + /// This location may only be set for the following model formats: /// "tflite", "edgetpu_tflite", "tf_saved_model", "tf_js", "core_ml". /// /// Under the directory given as the destination a new one with name @@ -1765,34 +1765,34 @@ pub mod model_export_output_config { /// will be written. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// The GCR location where model image is to be pushed to. This location - /// may only be set for the following model formats: + /// The GCR location where model image is to be pushed to. This location + /// may only be set for the following model formats: /// "docker". /// - /// The model image will be created under the given URI. + /// The model image will be created under the given URI. #[prost(message, tag="3")] GcrDestination(super::GcrDestination), } } -/// Output configuration for ExportEvaluatedExamples Action. Note that this call -/// is available only for 30 days since the moment the model was evaluated. -/// The output depends on the domain, as follows (note that only examples from -/// the TEST set are exported): +/// Output configuration for ExportEvaluatedExamples Action. Note that this call +/// is available only for 30 days since the moment the model was evaluated. +/// The output depends on the domain, as follows (note that only examples from +/// the TEST set are exported): /// /// * For Tables: /// -/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] +/// \[bigquery_destination][google.cloud.automl.v1beta1.OutputConfig.bigquery_destination\] /// pointing to a BigQuery project must be set. In the given project a /// new dataset will be created with name /// -/// `export_evaluated_examples__` +/// `export_evaluated_examples__` /// where will be made BigQuery-dataset-name /// compatible (e.g. most special characters will become underscores), /// and timestamp will be in YYYY_MM_DDThh_mm_ss_sssZ "based on ISO-8601" /// format. In the dataset an `evaluated_examples` table will be /// created. It will have all the same columns as the /// -/// \[primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id\] +/// \[primary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id\] /// of the /// \[dataset][google.cloud.automl.v1beta1.Model.dataset_id\] from which /// the model was created, as they were at the moment of model's @@ -1805,166 +1805,166 @@ pub mod model_export_output_config { /// \[TablesAnnotation][google.cloud.automl.v1beta1.TablesAnnotation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportEvaluatedExamplesOutputConfig { - /// Required. The destination of the output. + /// Required. The destination of the output. #[prost(oneof="export_evaluated_examples_output_config::Destination", tags="2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportEvaluatedExamplesOutputConfig`. pub mod export_evaluated_examples_output_config { - /// Required. The destination of the output. + /// Required. The destination of the output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The BigQuery location where the output is to be written to. + /// The BigQuery location where the output is to be written to. #[prost(message, tag="2")] BigqueryDestination(super::BigQueryDestination), } } -/// The Google Cloud Storage location for the input content. +/// The Google Cloud Storage location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Required. Google Cloud Storage URIs to input files, up to 2000 characters - /// long. Accepted forms: - /// * Full object path, e.g. gs://bucket/directory/object.csv + /// Required. Google Cloud Storage URIs to input files, up to 2000 characters + /// long. Accepted forms: + /// * Full object path, e.g. gs://bucket/directory/object.csv #[prost(string, repeated, tag="1")] pub input_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The BigQuery location for the input content. +/// The BigQuery location for the input content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQuerySource { - /// Required. BigQuery URI to a table, up to 2000 characters long. - /// Accepted forms: - /// * BigQuery path e.g. bq://projectId.bqDatasetId.bqTableId + /// Required. BigQuery URI to a table, up to 2000 characters long. + /// Accepted forms: + /// * BigQuery path e.g. bq://projectId.bqDatasetId.bqTableId #[prost(string, tag="1")] pub input_uri: ::prost::alloc::string::String, } -/// The Google Cloud Storage location where the output is to be written to. +/// The Google Cloud Storage location where the output is to be written to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. Google Cloud Storage URI to output directory, up to 2000 - /// characters long. - /// Accepted forms: - /// * Prefix path: gs://bucket/directory - /// The requesting user must have write permission to the bucket. - /// The directory is created if it doesn't exist. + /// Required. Google Cloud Storage URI to output directory, up to 2000 + /// characters long. + /// Accepted forms: + /// * Prefix path: gs://bucket/directory + /// The requesting user must have write permission to the bucket. + /// The directory is created if it doesn't exist. #[prost(string, tag="1")] pub output_uri_prefix: ::prost::alloc::string::String, } -/// The BigQuery location for the output content. +/// The BigQuery location for the output content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// Required. BigQuery URI to a project, up to 2000 characters long. - /// Accepted forms: - /// * BigQuery path e.g. bq://projectId + /// Required. BigQuery URI to a project, up to 2000 characters long. + /// Accepted forms: + /// * BigQuery path e.g. bq://projectId #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// The GCR location where the image must be pushed to. +/// The GCR location where the image must be pushed to. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcrDestination { - /// Required. Google Contained Registry URI of the new image, up to 2000 - /// characters long. See + /// Required. Google Contained Registry URI of the new image, up to 2000 + /// characters long. See /// - /// https: - /// //cloud.google.com/container-registry/do - /// // cs/pushing-and-pulling#pushing_an_image_to_a_registry - /// Accepted forms: - /// * \[HOSTNAME]/[PROJECT-ID]/[IMAGE\] - /// * \[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG\] + /// https: + /// //cloud.google.com/container-registry/do + /// // cs/pushing-and-pulling#pushing_an_image_to_a_registry + /// Accepted forms: + /// * \[HOSTNAME]/[PROJECT-ID]/[IMAGE\] + /// * \[HOSTNAME]/[PROJECT-ID]/[IMAGE]:[TAG\] /// - /// The requesting user must have permission to push images the project. + /// The requesting user must have permission to push images the project. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding. +/// A contiguous part of a text (string), assuming it has an UTF-8 NFC encoding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSegment { - /// Output only. The content of the TextSegment. + /// Output only. The content of the TextSegment. #[prost(string, tag="3")] pub content: ::prost::alloc::string::String, - /// Required. Zero-based character index of the first character of the text - /// segment (counting characters from the beginning of the text). + /// Required. Zero-based character index of the first character of the text + /// segment (counting characters from the beginning of the text). #[prost(int64, tag="1")] pub start_offset: i64, - /// Required. Zero-based character index of the first character past the end of - /// the text segment (counting character from the beginning of the text). - /// The character at the end_offset is NOT included in the text segment. + /// Required. Zero-based character index of the first character past the end of + /// the text segment (counting character from the beginning of the text). + /// The character at the end_offset is NOT included in the text segment. #[prost(int64, tag="2")] pub end_offset: i64, } -/// A representation of an image. -/// Only images up to 30MB in size are supported. +/// A representation of an image. +/// Only images up to 30MB in size are supported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Image { - /// Output only. HTTP URI to the thumbnail image. + /// Output only. HTTP URI to the thumbnail image. #[prost(string, tag="4")] pub thumbnail_uri: ::prost::alloc::string::String, - /// Input only. The data representing the image. - /// For Predict calls \[image_bytes][google.cloud.automl.v1beta1.Image.image_bytes\] must be set, as other options are not - /// currently supported by prediction API. You can read the contents of an - /// uploaded image by using the \[content_uri][google.cloud.automl.v1beta1.Image.content_uri\] field. + /// Input only. The data representing the image. + /// For Predict calls \[image_bytes][google.cloud.automl.v1beta1.Image.image_bytes\] must be set, as other options are not + /// currently supported by prediction API. You can read the contents of an + /// uploaded image by using the \[content_uri][google.cloud.automl.v1beta1.Image.content_uri\] field. #[prost(oneof="image::Data", tags="1, 6")] pub data: ::core::option::Option, } /// Nested message and enum types in `Image`. pub mod image { - /// Input only. The data representing the image. - /// For Predict calls \[image_bytes][google.cloud.automl.v1beta1.Image.image_bytes\] must be set, as other options are not - /// currently supported by prediction API. You can read the contents of an - /// uploaded image by using the \[content_uri][google.cloud.automl.v1beta1.Image.content_uri\] field. + /// Input only. The data representing the image. + /// For Predict calls \[image_bytes][google.cloud.automl.v1beta1.Image.image_bytes\] must be set, as other options are not + /// currently supported by prediction API. You can read the contents of an + /// uploaded image by using the \[content_uri][google.cloud.automl.v1beta1.Image.content_uri\] field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Image content represented as a stream of bytes. - /// Note: As with all `bytes` fields, protobuffers use a pure binary - /// representation, whereas JSON representations use base64. + /// Image content represented as a stream of bytes. + /// Note: As with all `bytes` fields, protobuffers use a pure binary + /// representation, whereas JSON representations use base64. #[prost(bytes, tag="1")] ImageBytes(::prost::alloc::vec::Vec), - /// An input config specifying the content of the image. + /// An input config specifying the content of the image. #[prost(message, tag="6")] InputConfig(super::InputConfig), } } -/// A representation of a text snippet. +/// A representation of a text snippet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSnippet { - /// Required. The content of the text snippet as a string. Up to 250000 - /// characters long. + /// Required. The content of the text snippet as a string. Up to 250000 + /// characters long. #[prost(string, tag="1")] pub content: ::prost::alloc::string::String, - /// Optional. The format of \[content][google.cloud.automl.v1beta1.TextSnippet.content\]. Currently the only two allowed - /// values are "text/html" and "text/plain". If left blank, the format is - /// automatically determined from the type of the uploaded \[content][google.cloud.automl.v1beta1.TextSnippet.content\]. + /// Optional. The format of \[content][google.cloud.automl.v1beta1.TextSnippet.content\]. Currently the only two allowed + /// values are "text/html" and "text/plain". If left blank, the format is + /// automatically determined from the type of the uploaded \[content][google.cloud.automl.v1beta1.TextSnippet.content\]. #[prost(string, tag="2")] pub mime_type: ::prost::alloc::string::String, - /// Output only. HTTP URI where you can download the content. + /// Output only. HTTP URI where you can download the content. #[prost(string, tag="4")] pub content_uri: ::prost::alloc::string::String, } -/// Message that describes dimension of a document. +/// Message that describes dimension of a document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentDimensions { - /// Unit of the dimension. + /// Unit of the dimension. #[prost(enumeration="document_dimensions::DocumentDimensionUnit", tag="1")] pub unit: i32, - /// Width value of the document, works together with the unit. + /// Width value of the document, works together with the unit. #[prost(float, tag="2")] pub width: f32, - /// Height value of the document, works together with the unit. + /// Height value of the document, works together with the unit. #[prost(float, tag="3")] pub height: f32, } /// Nested message and enum types in `DocumentDimensions`. pub mod document_dimensions { - /// Unit of the document dimension. + /// Unit of the document dimension. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DocumentDimensionUnit { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// Document dimension is measured in inches. + /// Document dimension is measured in inches. Inch = 1, - /// Document dimension is measured in centimeters. + /// Document dimension is measured in centimeters. Centimeter = 2, - /// Document dimension is measured in points. 72 points = 1 inch. + /// Document dimension is measured in points. 72 points = 1 inch. Point = 3, } impl DocumentDimensionUnit { @@ -1982,89 +1982,89 @@ pub mod document_dimensions { } } } -/// A structured text document e.g. a PDF. +/// A structured text document e.g. a PDF. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Document { - /// An input config specifying the content of the document. + /// An input config specifying the content of the document. #[prost(message, optional, tag="1")] pub input_config: ::core::option::Option, - /// The plain text version of this document. + /// The plain text version of this document. #[prost(message, optional, tag="2")] pub document_text: ::core::option::Option, - /// Describes the layout of the document. - /// Sorted by \[page_number][\]. + /// Describes the layout of the document. + /// Sorted by \[page_number][\]. #[prost(message, repeated, tag="3")] pub layout: ::prost::alloc::vec::Vec, - /// The dimensions of the page in the document. + /// The dimensions of the page in the document. #[prost(message, optional, tag="4")] pub document_dimensions: ::core::option::Option, - /// Number of pages in the document. + /// Number of pages in the document. #[prost(int32, tag="5")] pub page_count: i32, } /// Nested message and enum types in `Document`. pub mod document { - /// Describes the layout information of a \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the document. + /// Describes the layout information of a \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Layout { - /// Text Segment that represents a segment in - /// \[document_text][google.cloud.automl.v1beta1.Document.document_text\]. + /// Text Segment that represents a segment in + /// \[document_text][google.cloud.automl.v1beta1.Document.document_text\]. #[prost(message, optional, tag="1")] pub text_segment: ::core::option::Option, - /// Page number of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the original document, starts - /// from 1. + /// Page number of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the original document, starts + /// from 1. #[prost(int32, tag="2")] pub page_number: i32, - /// The position of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the page. - /// Contains exactly 4 + /// The position of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in the page. + /// Contains exactly 4 /// - /// \[normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices\] - /// and they are connected by edges in the order provided, which will - /// represent a rectangle parallel to the frame. The - /// \[NormalizedVertex-s][google.cloud.automl.v1beta1.NormalizedVertex\] are - /// relative to the page. - /// Coordinates are based on top-left as point (0,0). + /// \[normalized_vertices][google.cloud.automl.v1beta1.BoundingPoly.normalized_vertices\] + /// and they are connected by edges in the order provided, which will + /// represent a rectangle parallel to the frame. The + /// \[NormalizedVertex-s][google.cloud.automl.v1beta1.NormalizedVertex\] are + /// relative to the page. + /// Coordinates are based on top-left as point (0,0). #[prost(message, optional, tag="3")] pub bounding_poly: ::core::option::Option, - /// The type of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in document. + /// The type of the \[text_segment][google.cloud.automl.v1beta1.Document.Layout.text_segment\] in document. #[prost(enumeration="layout::TextSegmentType", tag="4")] pub text_segment_type: i32, } /// Nested message and enum types in `Layout`. pub mod layout { - /// The type of TextSegment in the context of the original document. + /// The type of TextSegment in the context of the original document. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TextSegmentType { - /// Should not be used. + /// Should not be used. Unspecified = 0, - /// The text segment is a token. e.g. word. + /// The text segment is a token. e.g. word. Token = 1, - /// The text segment is a paragraph. + /// The text segment is a paragraph. Paragraph = 2, - /// The text segment is a form field. + /// The text segment is a form field. FormField = 3, - /// The text segment is the name part of a form field. It will be treated - /// as child of another FORM_FIELD TextSegment if its span is subspan of - /// another TextSegment with type FORM_FIELD. + /// The text segment is the name part of a form field. It will be treated + /// as child of another FORM_FIELD TextSegment if its span is subspan of + /// another TextSegment with type FORM_FIELD. FormFieldName = 4, - /// The text segment is the text content part of a form field. It will be - /// treated as child of another FORM_FIELD TextSegment if its span is - /// subspan of another TextSegment with type FORM_FIELD. + /// The text segment is the text content part of a form field. It will be + /// treated as child of another FORM_FIELD TextSegment if its span is + /// subspan of another TextSegment with type FORM_FIELD. FormFieldContents = 5, - /// The text segment is a whole table, including headers, and all rows. + /// The text segment is a whole table, including headers, and all rows. Table = 6, - /// The text segment is a table's headers. It will be treated as child of - /// another TABLE TextSegment if its span is subspan of another TextSegment - /// with type TABLE. + /// The text segment is a table's headers. It will be treated as child of + /// another TABLE TextSegment if its span is subspan of another TextSegment + /// with type TABLE. TableHeader = 7, - /// The text segment is a row in table. It will be treated as child of - /// another TABLE TextSegment if its span is subspan of another TextSegment - /// with type TABLE. + /// The text segment is a row in table. It will be treated as child of + /// another TABLE TextSegment if its span is subspan of another TextSegment + /// with type TABLE. TableRow = 8, - /// The text segment is a cell in table. It will be treated as child of - /// another TABLE_ROW TextSegment if its span is subspan of another - /// TextSegment with type TABLE_ROW. + /// The text segment is a cell in table. It will be treated as child of + /// another TABLE_ROW TextSegment if its span is subspan of another + /// TextSegment with type TABLE_ROW. TableCell = 9, } impl TextSegmentType { @@ -2089,199 +2089,199 @@ pub mod document { } } } -/// A representation of a row in a relational table. +/// A representation of a row in a relational table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// The resource IDs of the column specs describing the columns of the row. - /// If set must contain, but possibly in a different order, all input - /// feature + /// The resource IDs of the column specs describing the columns of the row. + /// If set must contain, but possibly in a different order, all input + /// feature /// - /// \[column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] - /// of the Model this row is being passed to. - /// Note: The below `values` field must match order of this field, if this - /// field is set. + /// \[column_spec_ids][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] + /// of the Model this row is being passed to. + /// Note: The below `values` field must match order of this field, if this + /// field is set. #[prost(string, repeated, tag="2")] pub column_spec_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The values of the row cells, given in the same order as the - /// column_spec_ids, or, if not set, then in the same order as input - /// feature + /// Required. The values of the row cells, given in the same order as the + /// column_spec_ids, or, if not set, then in the same order as input + /// feature /// - /// \[column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] - /// of the Model this row is being passed to. + /// \[column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] + /// of the Model this row is being passed to. #[prost(message, repeated, tag="3")] pub values: ::prost::alloc::vec::Vec<::prost_types::Value>, } -/// Example data used for training or prediction. +/// Example data used for training or prediction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExamplePayload { - /// Required. Input only. The example data. + /// Required. Input only. The example data. #[prost(oneof="example_payload::Payload", tags="1, 2, 4, 3")] pub payload: ::core::option::Option, } /// Nested message and enum types in `ExamplePayload`. pub mod example_payload { - /// Required. Input only. The example data. + /// Required. Input only. The example data. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// Example image. + /// Example image. #[prost(message, tag="1")] Image(super::Image), - /// Example text. + /// Example text. #[prost(message, tag="2")] TextSnippet(super::TextSnippet), - /// Example document. + /// Example document. #[prost(message, tag="4")] Document(super::Document), - /// Example relational table row. + /// Example relational table row. #[prost(message, tag="3")] Row(super::Row), } } -/// A range between two double numbers. +/// A range between two double numbers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DoubleRange { - /// Start of the range, inclusive. + /// Start of the range, inclusive. #[prost(double, tag="1")] pub start: f64, - /// End of the range, exclusive. + /// End of the range, exclusive. #[prost(double, tag="2")] pub end: f64, } -/// Metrics for regression problems. +/// Metrics for regression problems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegressionEvaluationMetrics { - /// Output only. Root Mean Squared Error (RMSE). + /// Output only. Root Mean Squared Error (RMSE). #[prost(float, tag="1")] pub root_mean_squared_error: f32, - /// Output only. Mean Absolute Error (MAE). + /// Output only. Mean Absolute Error (MAE). #[prost(float, tag="2")] pub mean_absolute_error: f32, - /// Output only. Mean absolute percentage error. Only set if all ground truth - /// values are are positive. + /// Output only. Mean absolute percentage error. Only set if all ground truth + /// values are are positive. #[prost(float, tag="3")] pub mean_absolute_percentage_error: f32, - /// Output only. R squared. + /// Output only. R squared. #[prost(float, tag="4")] pub r_squared: f32, - /// Output only. Root mean squared log error. + /// Output only. Root mean squared log error. #[prost(float, tag="5")] pub root_mean_squared_log_error: f32, } -/// Metadata for a dataset used for AutoML Tables. +/// Metadata for a dataset used for AutoML Tables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TablesDatasetMetadata { - /// Output only. The table_spec_id of the primary table of this dataset. + /// Output only. The table_spec_id of the primary table of this dataset. #[prost(string, tag="1")] pub primary_table_spec_id: ::prost::alloc::string::String, - /// column_spec_id of the primary table's column that should be used as the - /// training & prediction target. - /// This column must be non-nullable and have one of following data types - /// (otherwise model creation will error): + /// column_spec_id of the primary table's column that should be used as the + /// training & prediction target. + /// This column must be non-nullable and have one of following data types + /// (otherwise model creation will error): /// - /// * CATEGORY + /// * CATEGORY /// - /// * FLOAT64 + /// * FLOAT64 /// - /// If the type is CATEGORY , only up to - /// 100 unique values may exist in that column across all rows. + /// If the type is CATEGORY , only up to + /// 100 unique values may exist in that column across all rows. /// - /// NOTE: Updates of this field will instantly affect any other users - /// concurrently working with the dataset. + /// NOTE: Updates of this field will instantly affect any other users + /// concurrently working with the dataset. #[prost(string, tag="2")] pub target_column_spec_id: ::prost::alloc::string::String, - /// column_spec_id of the primary table's column that should be used as the - /// weight column, i.e. the higher the value the more important the row will be - /// during model training. - /// Required type: FLOAT64. - /// Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is + /// column_spec_id of the primary table's column that should be used as the + /// weight column, i.e. the higher the value the more important the row will be + /// during model training. + /// Required type: FLOAT64. + /// Allowed values: 0 to 10000, inclusive on both ends; 0 means the row is /// ignored for training. - /// If not set all rows are assumed to have equal weight of 1. - /// NOTE: Updates of this field will instantly affect any other users - /// concurrently working with the dataset. + /// If not set all rows are assumed to have equal weight of 1. + /// NOTE: Updates of this field will instantly affect any other users + /// concurrently working with the dataset. #[prost(string, tag="3")] pub weight_column_spec_id: ::prost::alloc::string::String, - /// column_spec_id of the primary table column which specifies a possible ML - /// use of the row, i.e. the column will be used to split the rows into TRAIN, - /// VALIDATE and TEST sets. - /// Required type: STRING. - /// This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` - /// among its values, or only have `TEST`, `UNASSIGNED` values. In the latter - /// case the rows with `UNASSIGNED` value will be assigned by AutoML. Note - /// that if a given ml use distribution makes it impossible to create a "good" - /// model, that call will error describing the issue. - /// If both this column_spec_id and primary table's time_column_spec_id are not - /// set, then all rows are treated as `UNASSIGNED`. - /// NOTE: Updates of this field will instantly affect any other users - /// concurrently working with the dataset. + /// column_spec_id of the primary table column which specifies a possible ML + /// use of the row, i.e. the column will be used to split the rows into TRAIN, + /// VALIDATE and TEST sets. + /// Required type: STRING. + /// This column, if set, must either have all of `TRAIN`, `VALIDATE`, `TEST` + /// among its values, or only have `TEST`, `UNASSIGNED` values. In the latter + /// case the rows with `UNASSIGNED` value will be assigned by AutoML. Note + /// that if a given ml use distribution makes it impossible to create a "good" + /// model, that call will error describing the issue. + /// If both this column_spec_id and primary table's time_column_spec_id are not + /// set, then all rows are treated as `UNASSIGNED`. + /// NOTE: Updates of this field will instantly affect any other users + /// concurrently working with the dataset. #[prost(string, tag="4")] pub ml_use_column_spec_id: ::prost::alloc::string::String, - /// Output only. Correlations between + /// Output only. Correlations between /// - /// \[TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id\], - /// and other columns of the + /// \[TablesDatasetMetadata.target_column_spec_id][google.cloud.automl.v1beta1.TablesDatasetMetadata.target_column_spec_id\], + /// and other columns of the /// - /// \[TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id\]. - /// Only set if the target column is set. Mapping from other column spec id to - /// its CorrelationStats with the target column. - /// This field may be stale, see the stats_update_time field for - /// for the timestamp at which these stats were last updated. + /// \[TablesDatasetMetadataprimary_table][google.cloud.automl.v1beta1.TablesDatasetMetadata.primary_table_spec_id\]. + /// Only set if the target column is set. Mapping from other column spec id to + /// its CorrelationStats with the target column. + /// This field may be stale, see the stats_update_time field for + /// for the timestamp at which these stats were last updated. #[prost(map="string, message", tag="6")] pub target_column_correlations: ::std::collections::HashMap<::prost::alloc::string::String, CorrelationStats>, - /// Output only. The most recent timestamp when target_column_correlations - /// field and all descendant ColumnSpec.data_stats and - /// ColumnSpec.top_correlated_columns fields were last (re-)generated. Any - /// changes that happened to the dataset afterwards are not reflected in these - /// fields values. The regeneration happens in the background on a best effort - /// basis. + /// Output only. The most recent timestamp when target_column_correlations + /// field and all descendant ColumnSpec.data_stats and + /// ColumnSpec.top_correlated_columns fields were last (re-)generated. Any + /// changes that happened to the dataset afterwards are not reflected in these + /// fields values. The regeneration happens in the background on a best effort + /// basis. #[prost(message, optional, tag="7")] pub stats_update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Model metadata specific to AutoML Tables. +/// Model metadata specific to AutoML Tables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TablesModelMetadata { - /// Column spec of the dataset's primary table's column the model is - /// predicting. Snapshotted when model creation started. - /// Only 3 fields are used: - /// name - May be set on CreateModel, if it's not then the ColumnSpec + /// Column spec of the dataset's primary table's column the model is + /// predicting. Snapshotted when model creation started. + /// Only 3 fields are used: + /// name - May be set on CreateModel, if it's not then the ColumnSpec /// corresponding to the current target_column_spec_id of the dataset /// the model is trained from is used. /// If neither is set, CreateModel will error. - /// display_name - Output only. - /// data_type - Output only. + /// display_name - Output only. + /// data_type - Output only. #[prost(message, optional, tag="2")] pub target_column_spec: ::core::option::Option, - /// Column specs of the dataset's primary table's columns, on which - /// the model is trained and which are used as the input for predictions. - /// The + /// Column specs of the dataset's primary table's columns, on which + /// the model is trained and which are used as the input for predictions. + /// The /// - /// \[target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] - /// as well as, according to dataset's state upon model creation, + /// \[target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] + /// as well as, according to dataset's state upon model creation, /// - /// \[weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id\], - /// and + /// \[weight_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.weight_column_spec_id\], + /// and /// - /// \[ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id\] - /// must never be included here. + /// \[ml_use_column][google.cloud.automl.v1beta1.TablesDatasetMetadata.ml_use_column_spec_id\] + /// must never be included here. /// - /// Only 3 fields are used: + /// Only 3 fields are used: /// - /// * name - May be set on CreateModel, if set only the columns specified are + /// * name - May be set on CreateModel, if set only the columns specified are /// used, otherwise all primary table's columns (except the ones listed /// above) are used for the training and prediction input. /// - /// * display_name - Output only. + /// * display_name - Output only. /// - /// * data_type - Output only. + /// * data_type - Output only. #[prost(message, repeated, tag="3")] pub input_feature_column_specs: ::prost::alloc::vec::Vec, - /// Objective function the model is optimizing towards. The training process - /// creates a model that maximizes/minimizes the value of the objective - /// function over the validation set. + /// Objective function the model is optimizing towards. The training process + /// creates a model that maximizes/minimizes the value of the objective + /// function over the validation set. /// - /// The supported optimization objectives depend on the prediction type. - /// If the field is not set, a default objective function is used. + /// The supported optimization objectives depend on the prediction type. + /// If the field is not set, a default objective function is used. /// - /// CLASSIFICATION_BINARY: + /// CLASSIFICATION_BINARY: /// "MAXIMIZE_AU_ROC" (default) - Maximize the area under the receiver /// operating characteristic (ROC) curve. /// "MINIMIZE_LOG_LOSS" - Minimize log loss. @@ -2291,445 +2291,445 @@ pub struct TablesModelMetadata { /// "MAXIMIZE_RECALL_AT_PRECISION" - Maximize recall for a specified /// precision value. /// - /// CLASSIFICATION_MULTI_CLASS : + /// CLASSIFICATION_MULTI_CLASS : /// "MINIMIZE_LOG_LOSS" (default) - Minimize log loss. /// /// - /// REGRESSION: + /// REGRESSION: /// "MINIMIZE_RMSE" (default) - Minimize root-mean-squared error (RMSE). /// "MINIMIZE_MAE" - Minimize mean-absolute error (MAE). /// "MINIMIZE_RMSLE" - Minimize root-mean-squared log error (RMSLE). #[prost(string, tag="4")] pub optimization_objective: ::prost::alloc::string::String, - /// Output only. Auxiliary information for each of the - /// input_feature_column_specs with respect to this particular model. + /// Output only. Auxiliary information for each of the + /// input_feature_column_specs with respect to this particular model. #[prost(message, repeated, tag="5")] pub tables_model_column_info: ::prost::alloc::vec::Vec, - /// Required. The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. + /// Required. The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. /// - /// The training cost of the model will not exceed this budget. The final cost - /// will be attempted to be close to the budget, though may end up being (even) - /// noticeably smaller - at the backend's discretion. This especially may - /// happen when further model training ceases to provide any improvements. + /// The training cost of the model will not exceed this budget. The final cost + /// will be attempted to be close to the budget, though may end up being (even) + /// noticeably smaller - at the backend's discretion. This especially may + /// happen when further model training ceases to provide any improvements. /// - /// If the budget is set to a value known to be insufficient to train a - /// model for the given dataset, the training won't be attempted and - /// will error. + /// If the budget is set to a value known to be insufficient to train a + /// model for the given dataset, the training won't be attempted and + /// will error. /// - /// The train budget must be between 1,000 and 72,000 milli node hours, - /// inclusive. + /// The train budget must be between 1,000 and 72,000 milli node hours, + /// inclusive. #[prost(int64, tag="6")] pub train_budget_milli_node_hours: i64, - /// Output only. The actual training cost of the model, expressed in milli - /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed - /// to not exceed the train budget. + /// Output only. The actual training cost of the model, expressed in milli + /// node hours, i.e. 1,000 value in this field means 1 node hour. Guaranteed + /// to not exceed the train budget. #[prost(int64, tag="7")] pub train_cost_milli_node_hours: i64, - /// Use the entire training budget. This disables the early stopping feature. - /// By default, the early stopping feature is enabled, which means that AutoML - /// Tables might stop training before the entire training budget has been used. + /// Use the entire training budget. This disables the early stopping feature. + /// By default, the early stopping feature is enabled, which means that AutoML + /// Tables might stop training before the entire training budget has been used. #[prost(bool, tag="12")] pub disable_early_stopping: bool, - /// Additional optimization objective configuration. Required for - /// `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`, + /// otherwise unused. #[prost(oneof="tables_model_metadata::AdditionalOptimizationObjectiveConfig", tags="17, 18")] pub additional_optimization_objective_config: ::core::option::Option, } /// Nested message and enum types in `TablesModelMetadata`. pub mod tables_model_metadata { - /// Additional optimization objective configuration. Required for - /// `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`, - /// otherwise unused. + /// Additional optimization objective configuration. Required for + /// `MAXIMIZE_PRECISION_AT_RECALL` and `MAXIMIZE_RECALL_AT_PRECISION`, + /// otherwise unused. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AdditionalOptimizationObjectiveConfig { - /// Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "MAXIMIZE_PRECISION_AT_RECALL". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="17")] OptimizationObjectiveRecallValue(f32), - /// Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". - /// Must be between 0 and 1, inclusive. + /// Required when optimization_objective is "MAXIMIZE_RECALL_AT_PRECISION". + /// Must be between 0 and 1, inclusive. #[prost(float, tag="18")] OptimizationObjectivePrecisionValue(f32), } } -/// Contains annotation details specific to Tables. +/// Contains annotation details specific to Tables. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TablesAnnotation { - /// Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher - /// value means greater confidence in the returned value. - /// For + /// Output only. A confidence estimate between 0.0 and 1.0, inclusive. A higher + /// value means greater confidence in the returned value. + /// For /// - /// \[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] - /// of FLOAT64 data type the score is not populated. + /// \[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] + /// of FLOAT64 data type the score is not populated. #[prost(float, tag="1")] pub score: f32, - /// Output only. Only populated when + /// Output only. Only populated when /// - /// \[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] - /// has FLOAT64 data type. An interval in which the exactly correct target - /// value has 95% chance to be in. + /// \[target_column_spec][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\] + /// has FLOAT64 data type. An interval in which the exactly correct target + /// value has 95% chance to be in. #[prost(message, optional, tag="4")] pub prediction_interval: ::core::option::Option, - /// The predicted value of the row's + /// The predicted value of the row's /// - /// \[target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\]. - /// The value depends on the column's DataType: + /// \[target_column][google.cloud.automl.v1beta1.TablesModelMetadata.target_column_spec\]. + /// The value depends on the column's DataType: /// - /// * CATEGORY - the predicted (with the above confidence `score`) CATEGORY + /// * CATEGORY - the predicted (with the above confidence `score`) CATEGORY /// value. /// - /// * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value. + /// * FLOAT64 - the predicted (with above `prediction_interval`) FLOAT64 value. #[prost(message, optional, tag="2")] pub value: ::core::option::Option<::prost_types::Value>, - /// Output only. Auxiliary information for each of the model's + /// Output only. Auxiliary information for each of the model's /// - /// \[input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] - /// with respect to this particular prediction. - /// If no other fields than + /// \[input_feature_column_specs][google.cloud.automl.v1beta1.TablesModelMetadata.input_feature_column_specs\] + /// with respect to this particular prediction. + /// If no other fields than /// - /// \[column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name\] - /// and + /// \[column_spec_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_spec_name\] + /// and /// - /// \[column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name\] - /// would be populated, then this whole field is not. + /// \[column_display_name][google.cloud.automl.v1beta1.TablesModelColumnInfo.column_display_name\] + /// would be populated, then this whole field is not. #[prost(message, repeated, tag="3")] pub tables_model_column_info: ::prost::alloc::vec::Vec, - /// Output only. Stores the prediction score for the baseline example, which - /// is defined as the example with all values set to their baseline values. - /// This is used as part of the Sampled Shapley explanation of the model's - /// prediction. This field is populated only when feature importance is - /// requested. For regression models, this holds the baseline prediction for - /// the baseline example. For classification models, this holds the baseline - /// prediction for the baseline example for the argmax class. + /// Output only. Stores the prediction score for the baseline example, which + /// is defined as the example with all values set to their baseline values. + /// This is used as part of the Sampled Shapley explanation of the model's + /// prediction. This field is populated only when feature importance is + /// requested. For regression models, this holds the baseline prediction for + /// the baseline example. For classification models, this holds the baseline + /// prediction for the baseline example for the argmax class. #[prost(float, tag="5")] pub baseline_score: f32, } -/// An information specific to given column and Tables Model, in context -/// of the Model and the predictions created by it. +/// An information specific to given column and Tables Model, in context +/// of the Model and the predictions created by it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TablesModelColumnInfo { - /// Output only. The name of the ColumnSpec describing the column. Not - /// populated when this proto is outputted to BigQuery. + /// Output only. The name of the ColumnSpec describing the column. Not + /// populated when this proto is outputted to BigQuery. #[prost(string, tag="1")] pub column_spec_name: ::prost::alloc::string::String, - /// Output only. The display name of the column (same as the display_name of - /// its ColumnSpec). + /// Output only. The display name of the column (same as the display_name of + /// its ColumnSpec). #[prost(string, tag="2")] pub column_display_name: ::prost::alloc::string::String, - /// Output only. When given as part of a Model (always populated): - /// Measurement of how much model predictions correctness on the TEST data - /// depend on values in this column. A value between 0 and 1, higher means - /// higher influence. These values are normalized - for all input feature - /// columns of a given model they add to 1. + /// Output only. When given as part of a Model (always populated): + /// Measurement of how much model predictions correctness on the TEST data + /// depend on values in this column. A value between 0 and 1, higher means + /// higher influence. These values are normalized - for all input feature + /// columns of a given model they add to 1. /// - /// When given back by Predict (populated iff - /// [feature_importance - /// param]\[google.cloud.automl.v1beta1.PredictRequest.params\] is set) or Batch - /// Predict (populated iff - /// \[feature_importance][google.cloud.automl.v1beta1.PredictRequest.params\] - /// param is set): - /// Measurement of how impactful for the prediction returned for the given row - /// the value in this column was. Specifically, the feature importance - /// specifies the marginal contribution that the feature made to the prediction - /// score compared to the baseline score. These values are computed using the - /// Sampled Shapley method. + /// When given back by Predict (populated iff + /// [feature_importance + /// param]\[google.cloud.automl.v1beta1.PredictRequest.params\] is set) or Batch + /// Predict (populated iff + /// \[feature_importance][google.cloud.automl.v1beta1.PredictRequest.params\] + /// param is set): + /// Measurement of how impactful for the prediction returned for the given row + /// the value in this column was. Specifically, the feature importance + /// specifies the marginal contribution that the feature made to the prediction + /// score compared to the baseline score. These values are computed using the + /// Sampled Shapley method. #[prost(float, tag="3")] pub feature_importance: f32, } -/// Annotation for identifying spans of text. +/// Annotation for identifying spans of text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionAnnotation { - /// Output only. A confidence estimate between 0.0 and 1.0. A higher value - /// means greater confidence in correctness of the annotation. + /// Output only. A confidence estimate between 0.0 and 1.0. A higher value + /// means greater confidence in correctness of the annotation. #[prost(float, tag="1")] pub score: f32, - /// Required. Text extraction annotations can either be a text segment or a - /// text relation. + /// Required. Text extraction annotations can either be a text segment or a + /// text relation. #[prost(oneof="text_extraction_annotation::Annotation", tags="3")] pub annotation: ::core::option::Option, } /// Nested message and enum types in `TextExtractionAnnotation`. pub mod text_extraction_annotation { - /// Required. Text extraction annotations can either be a text segment or a - /// text relation. + /// Required. Text extraction annotations can either be a text segment or a + /// text relation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Annotation { - /// An entity annotation will set this, which is the part of the original - /// text to which the annotation pertains. + /// An entity annotation will set this, which is the part of the original + /// text to which the annotation pertains. #[prost(message, tag="3")] TextSegment(super::TextSegment), } } -/// Model evaluation metrics for text extraction problems. +/// Model evaluation metrics for text extraction problems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionEvaluationMetrics { - /// Output only. The Area under precision recall curve metric. + /// Output only. The Area under precision recall curve metric. #[prost(float, tag="1")] pub au_prc: f32, - /// Output only. Metrics that have confidence thresholds. - /// Precision-recall curve can be derived from it. + /// Output only. Metrics that have confidence thresholds. + /// Precision-recall curve can be derived from it. #[prost(message, repeated, tag="2")] pub confidence_metrics_entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TextExtractionEvaluationMetrics`. pub mod text_extraction_evaluation_metrics { - /// Metrics for a single confidence threshold. + /// Metrics for a single confidence threshold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Output only. The confidence threshold value used to compute the metrics. - /// Only annotations with score of at least this threshold are considered to - /// be ones the model would return. + /// Output only. The confidence threshold value used to compute the metrics. + /// Only annotations with score of at least this threshold are considered to + /// be ones the model would return. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Output only. Recall under the given confidence threshold. + /// Output only. Recall under the given confidence threshold. #[prost(float, tag="3")] pub recall: f32, - /// Output only. Precision under the given confidence threshold. + /// Output only. Precision under the given confidence threshold. #[prost(float, tag="4")] pub precision: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="5")] pub f1_score: f32, } } -/// Contains annotation details specific to text sentiment. +/// Contains annotation details specific to text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentAnnotation { - /// Output only. The sentiment with the semantic, as given to the - /// \[AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData\] when populating the dataset from which the model used - /// for the prediction had been trained. - /// The sentiment values are between 0 and - /// Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), - /// with higher value meaning more positive sentiment. They are completely - /// relative, i.e. 0 means least positive sentiment and sentiment_max means - /// the most positive from the sentiments present in the train data. Therefore + /// Output only. The sentiment with the semantic, as given to the + /// \[AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData\] when populating the dataset from which the model used + /// for the prediction had been trained. + /// The sentiment values are between 0 and + /// Dataset.text_sentiment_dataset_metadata.sentiment_max (inclusive), + /// with higher value meaning more positive sentiment. They are completely + /// relative, i.e. 0 means least positive sentiment and sentiment_max means + /// the most positive from the sentiments present in the train data. Therefore /// e.g. if train data had only negative sentiment, then sentiment_max, would - /// be still negative (although least negative). - /// The sentiment shouldn't be confused with "score" or "magnitude" - /// from the previous Natural Language Sentiment Analysis API. + /// be still negative (although least negative). + /// The sentiment shouldn't be confused with "score" or "magnitude" + /// from the previous Natural Language Sentiment Analysis API. #[prost(int32, tag="1")] pub sentiment: i32, } -/// Model evaluation metrics for text sentiment problems. +/// Model evaluation metrics for text sentiment problems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentEvaluationMetrics { - /// Output only. Precision. + /// Output only. Precision. #[prost(float, tag="1")] pub precision: f32, - /// Output only. Recall. + /// Output only. Recall. #[prost(float, tag="2")] pub recall: f32, - /// Output only. The harmonic mean of recall and precision. + /// Output only. The harmonic mean of recall and precision. #[prost(float, tag="3")] pub f1_score: f32, - /// Output only. Mean absolute error. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Mean absolute error. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="4")] pub mean_absolute_error: f32, - /// Output only. Mean squared error. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Mean squared error. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="5")] pub mean_squared_error: f32, - /// Output only. Linear weighted kappa. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Linear weighted kappa. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="6")] pub linear_kappa: f32, - /// Output only. Quadratic weighted kappa. Only set for the overall model - /// evaluation, not for evaluation of a single annotation spec. + /// Output only. Quadratic weighted kappa. Only set for the overall model + /// evaluation, not for evaluation of a single annotation spec. #[prost(float, tag="7")] pub quadratic_kappa: f32, - /// Output only. Confusion matrix of the evaluation. - /// Only set for the overall model evaluation, not for evaluation of a single - /// annotation spec. + /// Output only. Confusion matrix of the evaluation. + /// Only set for the overall model evaluation, not for evaluation of a single + /// annotation spec. #[prost(message, optional, tag="8")] pub confusion_matrix: ::core::option::Option, - /// Output only. The annotation spec ids used for this evaluation. - /// Deprecated . + /// Output only. The annotation spec ids used for this evaluation. + /// Deprecated . #[deprecated] #[prost(string, repeated, tag="9")] pub annotation_spec_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Dataset metadata that is specific to translation. +/// Dataset metadata that is specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationDatasetMetadata { - /// Required. The BCP-47 language code of the source language. + /// Required. The BCP-47 language code of the source language. #[prost(string, tag="1")] pub source_language_code: ::prost::alloc::string::String, - /// Required. The BCP-47 language code of the target language. + /// Required. The BCP-47 language code of the target language. #[prost(string, tag="2")] pub target_language_code: ::prost::alloc::string::String, } -/// Evaluation metrics for the dataset. +/// Evaluation metrics for the dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationEvaluationMetrics { - /// Output only. BLEU score. + /// Output only. BLEU score. #[prost(double, tag="1")] pub bleu_score: f64, - /// Output only. BLEU score for base model. + /// Output only. BLEU score for base model. #[prost(double, tag="2")] pub base_bleu_score: f64, } -/// Model metadata that is specific to translation. +/// Model metadata that is specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationModelMetadata { - /// The resource name of the model to use as a baseline to train the custom - /// model. If unset, we use the default base model provided by Google - /// Translate. Format: - /// `projects/{project_id}/locations/{location_id}/models/{model_id}` + /// The resource name of the model to use as a baseline to train the custom + /// model. If unset, we use the default base model provided by Google + /// Translate. Format: + /// `projects/{project_id}/locations/{location_id}/models/{model_id}` #[prost(string, tag="1")] pub base_model: ::prost::alloc::string::String, - /// Output only. Inferred from the dataset. - /// The source languge (The BCP-47 language code) that is used for training. + /// Output only. Inferred from the dataset. + /// The source languge (The BCP-47 language code) that is used for training. #[prost(string, tag="2")] pub source_language_code: ::prost::alloc::string::String, - /// Output only. The target languge (The BCP-47 language code) that is used for - /// training. + /// Output only. The target languge (The BCP-47 language code) that is used for + /// training. #[prost(string, tag="3")] pub target_language_code: ::prost::alloc::string::String, } -/// Annotation details specific to translation. +/// Annotation details specific to translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationAnnotation { - /// Output only . The translated content. + /// Output only . The translated content. #[prost(message, optional, tag="1")] pub translated_content: ::core::option::Option, } -/// Contains annotation information that is relevant to AutoML. +/// Contains annotation information that is relevant to AutoML. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationPayload { - /// Output only . The resource ID of the annotation spec that - /// this annotation pertains to. The annotation spec comes from either an - /// ancestor dataset, or the dataset that was used to train the model in use. + /// Output only . The resource ID of the annotation spec that + /// this annotation pertains to. The annotation spec comes from either an + /// ancestor dataset, or the dataset that was used to train the model in use. #[prost(string, tag="1")] pub annotation_spec_id: ::prost::alloc::string::String, - /// Output only. The value of - /// \[display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name\] - /// when the model was trained. Because this field returns a value at model - /// training time, for different models trained using the same dataset, the - /// returned value could be different as model owner could update the - /// `display_name` between any two model training. + /// Output only. The value of + /// \[display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name\] + /// when the model was trained. Because this field returns a value at model + /// training time, for different models trained using the same dataset, the + /// returned value could be different as model owner could update the + /// `display_name` between any two model training. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only . Additional information about the annotation - /// specific to the AutoML domain. + /// Output only . Additional information about the annotation + /// specific to the AutoML domain. #[prost(oneof="annotation_payload::Detail", tags="2, 3, 4, 9, 8, 6, 7, 10")] pub detail: ::core::option::Option, } /// Nested message and enum types in `AnnotationPayload`. pub mod annotation_payload { - /// Output only . Additional information about the annotation - /// specific to the AutoML domain. + /// Output only . Additional information about the annotation + /// specific to the AutoML domain. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Detail { - /// Annotation details for translation. + /// Annotation details for translation. #[prost(message, tag="2")] Translation(super::TranslationAnnotation), - /// Annotation details for content or image classification. + /// Annotation details for content or image classification. #[prost(message, tag="3")] Classification(super::ClassificationAnnotation), - /// Annotation details for image object detection. + /// Annotation details for image object detection. #[prost(message, tag="4")] ImageObjectDetection(super::ImageObjectDetectionAnnotation), - /// Annotation details for video classification. - /// Returned for Video Classification predictions. + /// Annotation details for video classification. + /// Returned for Video Classification predictions. #[prost(message, tag="9")] VideoClassification(super::VideoClassificationAnnotation), - /// Annotation details for video object tracking. + /// Annotation details for video object tracking. #[prost(message, tag="8")] VideoObjectTracking(super::VideoObjectTrackingAnnotation), - /// Annotation details for text extraction. + /// Annotation details for text extraction. #[prost(message, tag="6")] TextExtraction(super::TextExtractionAnnotation), - /// Annotation details for text sentiment. + /// Annotation details for text sentiment. #[prost(message, tag="7")] TextSentiment(super::TextSentimentAnnotation), - /// Annotation details for Tables. + /// Annotation details for Tables. #[prost(message, tag="10")] Tables(super::TablesAnnotation), } } -/// A definition of an annotation spec. +/// A definition of an annotation spec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpec { - /// Output only. Resource name of the annotation spec. - /// Form: + /// Output only. Resource name of the annotation spec. + /// Form: /// - /// 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' + /// 'projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/annotationSpecs/{annotation_spec_id}' #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the annotation spec to show in the interface. The name can be - /// up to 32 characters long and must match the regexp `\[a-zA-Z0-9_\]+`. + /// Required. The name of the annotation spec to show in the interface. The name can be + /// up to 32 characters long and must match the regexp `\[a-zA-Z0-9_\]+`. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The number of examples in the parent dataset - /// labeled by the annotation spec. + /// Output only. The number of examples in the parent dataset + /// labeled by the annotation spec. #[prost(int32, tag="9")] pub example_count: i32, } -/// Dataset metadata that is specific to image classification. +/// Dataset metadata that is specific to image classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationDatasetMetadata { - /// Required. Type of the classification problem. + /// Required. Type of the classification problem. #[prost(enumeration="ClassificationType", tag="1")] pub classification_type: i32, } -/// Dataset metadata specific to image object detection. +/// Dataset metadata specific to image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionDatasetMetadata { } -/// Model metadata for image classification. +/// Model metadata for image classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationModelMetadata { - /// Optional. The ID of the `base` model. If it is specified, the new model - /// will be created based on the `base` model. Otherwise, the new model will be - /// created from scratch. The `base` model must be in the same - /// `project` and `location` as the new model to create, and have the same - /// `model_type`. + /// Optional. The ID of the `base` model. If it is specified, the new model + /// will be created based on the `base` model. Otherwise, the new model will be + /// created from scratch. The `base` model must be in the same + /// `project` and `location` as the new model to create, and have the same + /// `model_type`. #[prost(string, tag="1")] pub base_model_id: ::prost::alloc::string::String, - /// Required. The train budget of creating this model, expressed in hours. The - /// actual `train_cost` will be equal or less than this value. + /// Required. The train budget of creating this model, expressed in hours. The + /// actual `train_cost` will be equal or less than this value. #[prost(int64, tag="2")] pub train_budget: i64, - /// Output only. The actual train cost of creating this model, expressed in - /// hours. If this model is created from a `base` model, the train cost used - /// to create the `base` model are not included. + /// Output only. The actual train cost of creating this model, expressed in + /// hours. If this model is created from a `base` model, the train cost used + /// to create the `base` model are not included. #[prost(int64, tag="3")] pub train_cost: i64, - /// Output only. The reason that this create model operation stopped, - /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. + /// Output only. The reason that this create model operation stopped, + /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. #[prost(string, tag="5")] pub stop_reason: ::prost::alloc::string::String, - /// Optional. Type of the model. The available values are: - /// * `cloud` - Model to be used via prediction calls to AutoML API. + /// Optional. Type of the model. The available values are: + /// * `cloud` - Model to be used via prediction calls to AutoML API. /// This is the default value. - /// * `mobile-low-latency-1` - A model that, in addition to providing + /// * `mobile-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have low latency, but /// may have lower prediction quality than other models. - /// * `mobile-versatile-1` - A model that, in addition to providing + /// * `mobile-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. - /// * `mobile-high-accuracy-1` - A model that, in addition to providing + /// * `mobile-high-accuracy-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have a higher /// latency, but should also have a higher prediction quality /// than other models. - /// * `mobile-core-ml-low-latency-1` - A model that, in addition to providing + /// * `mobile-core-ml-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile device with Core /// ML afterwards. Expected to have low latency, but may have /// lower prediction quality than other models. - /// * `mobile-core-ml-versatile-1` - A model that, in addition to providing + /// * `mobile-core-ml-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile device with Core /// ML afterwards. - /// * `mobile-core-ml-high-accuracy-1` - A model that, in addition to + /// * `mobile-core-ml-high-accuracy-1` - A model that, in addition to /// providing prediction via AutoML API, can also be exported /// (see \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile device with /// Core ML afterwards. Expected to have a higher latency, but @@ -2737,37 +2737,37 @@ pub struct ImageClassificationModelMetadata { /// models. #[prost(string, tag="7")] pub model_type: ::prost::alloc::string::String, - /// Output only. An approximate number of online prediction QPS that can - /// be supported by this model per each node on which it is deployed. + /// Output only. An approximate number of online prediction QPS that can + /// be supported by this model per each node on which it is deployed. #[prost(double, tag="13")] pub node_qps: f64, - /// Output only. The number of nodes this model is deployed on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the node_qps field. + /// Output only. The number of nodes this model is deployed on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the node_qps field. #[prost(int64, tag="14")] pub node_count: i64, } -/// Model metadata specific to image object detection. +/// Model metadata specific to image object detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionModelMetadata { - /// Optional. Type of the model. The available values are: - /// * `cloud-high-accuracy-1` - (default) A model to be used via prediction + /// Optional. Type of the model. The available values are: + /// * `cloud-high-accuracy-1` - (default) A model to be used via prediction /// calls to AutoML API. Expected to have a higher latency, but /// should also have a higher prediction quality than other /// models. - /// * `cloud-low-latency-1` - A model to be used via prediction + /// * `cloud-low-latency-1` - A model to be used via prediction /// calls to AutoML API. Expected to have low latency, but may /// have lower prediction quality than other models. - /// * `mobile-low-latency-1` - A model that, in addition to providing + /// * `mobile-low-latency-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have low latency, but /// may have lower prediction quality than other models. - /// * `mobile-versatile-1` - A model that, in addition to providing + /// * `mobile-versatile-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. - /// * `mobile-high-accuracy-1` - A model that, in addition to providing + /// * `mobile-high-accuracy-1` - A model that, in addition to providing /// prediction via AutoML API, can also be exported (see /// \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]) and used on a mobile or edge device /// with TensorFlow afterwards. Expected to have a higher @@ -2775,241 +2775,241 @@ pub struct ImageObjectDetectionModelMetadata { /// than other models. #[prost(string, tag="1")] pub model_type: ::prost::alloc::string::String, - /// Output only. The number of nodes this model is deployed on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the qps_per_node field. + /// Output only. The number of nodes this model is deployed on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the qps_per_node field. #[prost(int64, tag="3")] pub node_count: i64, - /// Output only. An approximate number of online prediction QPS that can - /// be supported by this model per each node on which it is deployed. + /// Output only. An approximate number of online prediction QPS that can + /// be supported by this model per each node on which it is deployed. #[prost(double, tag="4")] pub node_qps: f64, - /// Output only. The reason that this create model operation stopped, - /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. + /// Output only. The reason that this create model operation stopped, + /// e.g. `BUDGET_REACHED`, `MODEL_CONVERGED`. #[prost(string, tag="5")] pub stop_reason: ::prost::alloc::string::String, - /// The train budget of creating this model, expressed in milli node - /// hours i.e. 1,000 value in this field means 1 node hour. The actual - /// `train_cost` will be equal or less than this value. If further model - /// training ceases to provide any improvements, it will stop without using - /// full budget and the stop_reason will be `MODEL_CONVERGED`. - /// Note, node_hour = actual_hour * number_of_nodes_invovled. - /// For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`, - /// the train budget must be between 20,000 and 900,000 milli node hours, - /// inclusive. The default value is 216, 000 which represents one day in - /// wall time. - /// For model type `mobile-low-latency-1`, `mobile-versatile-1`, - /// `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`, - /// `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train - /// budget must be between 1,000 and 100,000 milli node hours, inclusive. - /// The default value is 24, 000 which represents one day in wall time. + /// The train budget of creating this model, expressed in milli node + /// hours i.e. 1,000 value in this field means 1 node hour. The actual + /// `train_cost` will be equal or less than this value. If further model + /// training ceases to provide any improvements, it will stop without using + /// full budget and the stop_reason will be `MODEL_CONVERGED`. + /// Note, node_hour = actual_hour * number_of_nodes_invovled. + /// For model type `cloud-high-accuracy-1`(default) and `cloud-low-latency-1`, + /// the train budget must be between 20,000 and 900,000 milli node hours, + /// inclusive. The default value is 216, 000 which represents one day in + /// wall time. + /// For model type `mobile-low-latency-1`, `mobile-versatile-1`, + /// `mobile-high-accuracy-1`, `mobile-core-ml-low-latency-1`, + /// `mobile-core-ml-versatile-1`, `mobile-core-ml-high-accuracy-1`, the train + /// budget must be between 1,000 and 100,000 milli node hours, inclusive. + /// The default value is 24, 000 which represents one day in wall time. #[prost(int64, tag="6")] pub train_budget_milli_node_hours: i64, - /// Output only. The actual train cost of creating this model, expressed in - /// milli node hours, i.e. 1,000 value in this field means 1 node hour. - /// Guaranteed to not exceed the train budget. + /// Output only. The actual train cost of creating this model, expressed in + /// milli node hours, i.e. 1,000 value in this field means 1 node hour. + /// Guaranteed to not exceed the train budget. #[prost(int64, tag="7")] pub train_cost_milli_node_hours: i64, } -/// Model deployment metadata specific to Image Classification. +/// Model deployment metadata specific to Image Classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationModelDeploymentMetadata { - /// Input only. The number of nodes to deploy the model on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the model's + /// Input only. The number of nodes to deploy the model on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the model's /// - /// \[node_qps][google.cloud.automl.v1beta1.ImageClassificationModelMetadata.node_qps\]. - /// Must be between 1 and 100, inclusive on both ends. + /// \[node_qps][google.cloud.automl.v1beta1.ImageClassificationModelMetadata.node_qps\]. + /// Must be between 1 and 100, inclusive on both ends. #[prost(int64, tag="1")] pub node_count: i64, } -/// Model deployment metadata specific to Image Object Detection. +/// Model deployment metadata specific to Image Object Detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageObjectDetectionModelDeploymentMetadata { - /// Input only. The number of nodes to deploy the model on. A node is an - /// abstraction of a machine resource, which can handle online prediction QPS - /// as given in the model's + /// Input only. The number of nodes to deploy the model on. A node is an + /// abstraction of a machine resource, which can handle online prediction QPS + /// as given in the model's /// - /// \[qps_per_node][google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata.qps_per_node\]. - /// Must be between 1 and 100, inclusive on both ends. + /// \[qps_per_node][google.cloud.automl.v1beta1.ImageObjectDetectionModelMetadata.qps_per_node\]. + /// Must be between 1 and 100, inclusive on both ends. #[prost(int64, tag="1")] pub node_count: i64, } -/// Dataset metadata for classification. +/// Dataset metadata for classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationDatasetMetadata { - /// Required. Type of the classification problem. + /// Required. Type of the classification problem. #[prost(enumeration="ClassificationType", tag="1")] pub classification_type: i32, } -/// Model metadata that is specific to text classification. +/// Model metadata that is specific to text classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationModelMetadata { - /// Output only. Classification type of the dataset used to train this model. + /// Output only. Classification type of the dataset used to train this model. #[prost(enumeration="ClassificationType", tag="3")] pub classification_type: i32, } -/// Dataset metadata that is specific to text extraction +/// Dataset metadata that is specific to text extraction #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionDatasetMetadata { } -/// Model metadata that is specific to text extraction. +/// Model metadata that is specific to text extraction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextExtractionModelMetadata { - /// Indicates the scope of model use case. + /// Indicates the scope of model use case. /// - /// * `default`: Use to train a general text extraction model. Default value. + /// * `default`: Use to train a general text extraction model. Default value. /// - /// * `health_care`: Use to train a text extraction model that is tuned for + /// * `health_care`: Use to train a text extraction model that is tuned for /// healthcare applications. #[prost(string, tag="3")] pub model_hint: ::prost::alloc::string::String, } -/// Dataset metadata for text sentiment. +/// Dataset metadata for text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentDatasetMetadata { - /// Required. A sentiment is expressed as an integer ordinal, where higher value - /// means a more positive sentiment. The range of sentiments that will be used - /// is between 0 and sentiment_max (inclusive on both ends), and all the values - /// in the range must be represented in the dataset before a model can be - /// created. - /// sentiment_max value must be between 1 and 10 (inclusive). + /// Required. A sentiment is expressed as an integer ordinal, where higher value + /// means a more positive sentiment. The range of sentiments that will be used + /// is between 0 and sentiment_max (inclusive on both ends), and all the values + /// in the range must be represented in the dataset before a model can be + /// created. + /// sentiment_max value must be between 1 and 10 (inclusive). #[prost(int32, tag="1")] pub sentiment_max: i32, } -/// Model metadata that is specific to text sentiment. +/// Model metadata that is specific to text sentiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextSentimentModelMetadata { } -/// Dataset metadata specific to video classification. -/// All Video Classification datasets are treated as multi label. +/// Dataset metadata specific to video classification. +/// All Video Classification datasets are treated as multi label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoClassificationDatasetMetadata { } -/// Dataset metadata specific to video object tracking. +/// Dataset metadata specific to video object tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoObjectTrackingDatasetMetadata { } -/// Model metadata specific to video classification. +/// Model metadata specific to video classification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoClassificationModelMetadata { } -/// Model metadata specific to video object tracking. +/// Model metadata specific to video object tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoObjectTrackingModelMetadata { } -/// A workspace for solving a single, particular machine learning (ML) problem. -/// A workspace contains examples that may be annotated. +/// A workspace for solving a single, particular machine learning (ML) problem. +/// A workspace contains examples that may be annotated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Output only. The resource name of the dataset. - /// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` + /// Output only. The resource name of the dataset. + /// Form: `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the dataset to show in the interface. The name can be - /// up to 32 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z, underscores - /// (_), and ASCII digits 0-9. + /// Required. The name of the dataset to show in the interface. The name can be + /// up to 32 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z, underscores + /// (_), and ASCII digits 0-9. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// User-provided description of the dataset. The description can be up to - /// 25000 characters long. + /// User-provided description of the dataset. The description can be up to + /// 25000 characters long. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The number of examples in the dataset. + /// Output only. The number of examples in the dataset. #[prost(int32, tag="21")] pub example_count: i32, - /// Output only. Timestamp when this dataset was created. + /// Output only. Timestamp when this dataset was created. #[prost(message, optional, tag="14")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="17")] pub etag: ::prost::alloc::string::String, - /// Required. - /// The dataset metadata that is specific to the problem type. + /// Required. + /// The dataset metadata that is specific to the problem type. #[prost(oneof="dataset::DatasetMetadata", tags="23, 24, 25, 26, 31, 29, 28, 30, 33")] pub dataset_metadata: ::core::option::Option, } /// Nested message and enum types in `Dataset`. pub mod dataset { - /// Required. - /// The dataset metadata that is specific to the problem type. + /// Required. + /// The dataset metadata that is specific to the problem type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DatasetMetadata { - /// Metadata for a dataset used for translation. + /// Metadata for a dataset used for translation. #[prost(message, tag="23")] TranslationDatasetMetadata(super::TranslationDatasetMetadata), - /// Metadata for a dataset used for image classification. + /// Metadata for a dataset used for image classification. #[prost(message, tag="24")] ImageClassificationDatasetMetadata(super::ImageClassificationDatasetMetadata), - /// Metadata for a dataset used for text classification. + /// Metadata for a dataset used for text classification. #[prost(message, tag="25")] TextClassificationDatasetMetadata(super::TextClassificationDatasetMetadata), - /// Metadata for a dataset used for image object detection. + /// Metadata for a dataset used for image object detection. #[prost(message, tag="26")] ImageObjectDetectionDatasetMetadata(super::ImageObjectDetectionDatasetMetadata), - /// Metadata for a dataset used for video classification. + /// Metadata for a dataset used for video classification. #[prost(message, tag="31")] VideoClassificationDatasetMetadata(super::VideoClassificationDatasetMetadata), - /// Metadata for a dataset used for video object tracking. + /// Metadata for a dataset used for video object tracking. #[prost(message, tag="29")] VideoObjectTrackingDatasetMetadata(super::VideoObjectTrackingDatasetMetadata), - /// Metadata for a dataset used for text extraction. + /// Metadata for a dataset used for text extraction. #[prost(message, tag="28")] TextExtractionDatasetMetadata(super::TextExtractionDatasetMetadata), - /// Metadata for a dataset used for text sentiment. + /// Metadata for a dataset used for text sentiment. #[prost(message, tag="30")] TextSentimentDatasetMetadata(super::TextSentimentDatasetMetadata), - /// Metadata for a dataset used for Tables. + /// Metadata for a dataset used for Tables. #[prost(message, tag="33")] TablesDatasetMetadata(super::TablesDatasetMetadata), } } -/// API proto representing a trained machine learning model. +/// API proto representing a trained machine learning model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// Output only. Resource name of the model. - /// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` + /// Output only. Resource name of the model. + /// Format: `projects/{project_id}/locations/{location_id}/models/{model_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The name of the model to show in the interface. The name can be - /// up to 32 characters long and can consist only of ASCII Latin letters A-Z - /// and a-z, underscores - /// (_), and ASCII digits 0-9. It must start with a letter. + /// Required. The name of the model to show in the interface. The name can be + /// up to 32 characters long and can consist only of ASCII Latin letters A-Z + /// and a-z, underscores + /// (_), and ASCII digits 0-9. It must start with a letter. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. The resource ID of the dataset used to create the model. The dataset must - /// come from the same ancestor project and location. + /// Required. The resource ID of the dataset used to create the model. The dataset must + /// come from the same ancestor project and location. #[prost(string, tag="3")] pub dataset_id: ::prost::alloc::string::String, - /// Output only. Timestamp when the model training finished and can be used for prediction. + /// Output only. Timestamp when the model training finished and can be used for prediction. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when this model was last updated. + /// Output only. Timestamp when this model was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Deployment state of the model. A model can only serve - /// prediction requests after it gets deployed. + /// Output only. Deployment state of the model. A model can only serve + /// prediction requests after it gets deployed. #[prost(enumeration="model::DeploymentState", tag="8")] pub deployment_state: i32, - /// Required. - /// The model metadata that is specific to the problem type. - /// Must match the metadata type of the dataset used to train the model. + /// Required. + /// The model metadata that is specific to the problem type. + /// Must match the metadata type of the dataset used to train the model. #[prost(oneof="model::ModelMetadata", tags="15, 13, 14, 20, 23, 21, 19, 24, 22")] pub model_metadata: ::core::option::Option, } /// Nested message and enum types in `Model`. pub mod model { - /// Deployment state of the model. + /// Deployment state of the model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DeploymentState { - /// Should not be used, an un-set enum has this value by default. + /// Should not be used, an un-set enum has this value by default. Unspecified = 0, - /// Model is deployed. + /// Model is deployed. Deployed = 1, - /// Model is not deployed. + /// Model is not deployed. Undeployed = 2, } impl DeploymentState { @@ -3025,335 +3025,335 @@ pub mod model { } } } - /// Required. - /// The model metadata that is specific to the problem type. - /// Must match the metadata type of the dataset used to train the model. + /// Required. + /// The model metadata that is specific to the problem type. + /// Must match the metadata type of the dataset used to train the model. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ModelMetadata { - /// Metadata for translation models. + /// Metadata for translation models. #[prost(message, tag="15")] TranslationModelMetadata(super::TranslationModelMetadata), - /// Metadata for image classification models. + /// Metadata for image classification models. #[prost(message, tag="13")] ImageClassificationModelMetadata(super::ImageClassificationModelMetadata), - /// Metadata for text classification models. + /// Metadata for text classification models. #[prost(message, tag="14")] TextClassificationModelMetadata(super::TextClassificationModelMetadata), - /// Metadata for image object detection models. + /// Metadata for image object detection models. #[prost(message, tag="20")] ImageObjectDetectionModelMetadata(super::ImageObjectDetectionModelMetadata), - /// Metadata for video classification models. + /// Metadata for video classification models. #[prost(message, tag="23")] VideoClassificationModelMetadata(super::VideoClassificationModelMetadata), - /// Metadata for video object tracking models. + /// Metadata for video object tracking models. #[prost(message, tag="21")] VideoObjectTrackingModelMetadata(super::VideoObjectTrackingModelMetadata), - /// Metadata for text extraction models. + /// Metadata for text extraction models. #[prost(message, tag="19")] TextExtractionModelMetadata(super::TextExtractionModelMetadata), - /// Metadata for Tables models. + /// Metadata for Tables models. #[prost(message, tag="24")] TablesModelMetadata(super::TablesModelMetadata), - /// Metadata for text sentiment models. + /// Metadata for text sentiment models. #[prost(message, tag="22")] TextSentimentModelMetadata(super::TextSentimentModelMetadata), } } -/// Evaluation results of a model. +/// Evaluation results of a model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelEvaluation { - /// Output only. Resource name of the model evaluation. - /// Format: + /// Output only. Resource name of the model evaluation. + /// Format: /// - /// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` + /// `projects/{project_id}/locations/{location_id}/models/{model_id}/modelEvaluations/{model_evaluation_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The ID of the annotation spec that the model evaluation applies to. The - /// The ID is empty for the overall model evaluation. - /// For Tables annotation specs in the dataset do not exist and this ID is - /// always not set, but for CLASSIFICATION + /// Output only. The ID of the annotation spec that the model evaluation applies to. The + /// The ID is empty for the overall model evaluation. + /// For Tables annotation specs in the dataset do not exist and this ID is + /// always not set, but for CLASSIFICATION /// - /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] - /// the - /// \[display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name\] - /// field is used. + /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] + /// the + /// \[display_name][google.cloud.automl.v1beta1.ModelEvaluation.display_name\] + /// field is used. #[prost(string, tag="2")] pub annotation_spec_id: ::prost::alloc::string::String, - /// Output only. The value of - /// \[display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name\] at - /// the moment when the model was trained. Because this field returns a value - /// at model training time, for different models trained from the same dataset, - /// the values may differ, since display names could had been changed between - /// the two model's trainings. - /// For Tables CLASSIFICATION + /// Output only. The value of + /// \[display_name][google.cloud.automl.v1beta1.AnnotationSpec.display_name\] at + /// the moment when the model was trained. Because this field returns a value + /// at model training time, for different models trained from the same dataset, + /// the values may differ, since display names could had been changed between + /// the two model's trainings. + /// For Tables CLASSIFICATION /// - /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] - /// distinct values of the target column at the moment of the model evaluation - /// are populated here. - /// The display_name is empty for the overall model evaluation. + /// \[prediction_type-s][google.cloud.automl.v1beta1.TablesModelMetadata.prediction_type\] + /// distinct values of the target column at the moment of the model evaluation + /// are populated here. + /// The display_name is empty for the overall model evaluation. #[prost(string, tag="15")] pub display_name: ::prost::alloc::string::String, - /// Output only. Timestamp when this model evaluation was created. + /// Output only. Timestamp when this model evaluation was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The number of examples used for model evaluation, i.e. for - /// which ground truth from time of model creation is compared against the - /// predicted annotations created by the model. - /// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is - /// the total number of all examples used for evaluation. - /// Otherwise, this is the count of examples that according to the ground - /// truth were annotated by the + /// Output only. The number of examples used for model evaluation, i.e. for + /// which ground truth from time of model creation is compared against the + /// predicted annotations created by the model. + /// For overall ModelEvaluation (i.e. with annotation_spec_id not set) this is + /// the total number of all examples used for evaluation. + /// Otherwise, this is the count of examples that according to the ground + /// truth were annotated by the /// - /// \[annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id\]. + /// \[annotation_spec_id][google.cloud.automl.v1beta1.ModelEvaluation.annotation_spec_id\]. #[prost(int32, tag="6")] pub evaluated_example_count: i32, - /// Output only. Problem type specific evaluation metrics. + /// Output only. Problem type specific evaluation metrics. #[prost(oneof="model_evaluation::Metrics", tags="8, 24, 9, 12, 14, 11, 13")] pub metrics: ::core::option::Option, } /// Nested message and enum types in `ModelEvaluation`. pub mod model_evaluation { - /// Output only. Problem type specific evaluation metrics. + /// Output only. Problem type specific evaluation metrics. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metrics { - /// Model evaluation metrics for image, text, video and tables - /// classification. - /// Tables problem is considered a classification when the target column - /// is CATEGORY DataType. + /// Model evaluation metrics for image, text, video and tables + /// classification. + /// Tables problem is considered a classification when the target column + /// is CATEGORY DataType. #[prost(message, tag="8")] ClassificationEvaluationMetrics(super::ClassificationEvaluationMetrics), - /// Model evaluation metrics for Tables regression. - /// Tables problem is considered a regression when the target column - /// has FLOAT64 DataType. + /// Model evaluation metrics for Tables regression. + /// Tables problem is considered a regression when the target column + /// has FLOAT64 DataType. #[prost(message, tag="24")] RegressionEvaluationMetrics(super::RegressionEvaluationMetrics), - /// Model evaluation metrics for translation. + /// Model evaluation metrics for translation. #[prost(message, tag="9")] TranslationEvaluationMetrics(super::TranslationEvaluationMetrics), - /// Model evaluation metrics for image object detection. + /// Model evaluation metrics for image object detection. #[prost(message, tag="12")] ImageObjectDetectionEvaluationMetrics(super::ImageObjectDetectionEvaluationMetrics), - /// Model evaluation metrics for video object tracking. + /// Model evaluation metrics for video object tracking. #[prost(message, tag="14")] VideoObjectTrackingEvaluationMetrics(super::VideoObjectTrackingEvaluationMetrics), - /// Evaluation metrics for text sentiment models. + /// Evaluation metrics for text sentiment models. #[prost(message, tag="11")] TextSentimentEvaluationMetrics(super::TextSentimentEvaluationMetrics), - /// Evaluation metrics for text extraction models. + /// Evaluation metrics for text extraction models. #[prost(message, tag="13")] TextExtractionEvaluationMetrics(super::TextExtractionEvaluationMetrics), } } -/// Metadata used across all long running operations returned by AutoML API. +/// Metadata used across all long running operations returned by AutoML API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. Progress of operation. Range: [0, 100]. - /// Not used currently. + /// Output only. Progress of operation. Range: [0, 100]. + /// Not used currently. #[prost(int32, tag="13")] pub progress_percent: i32, - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// This field should never exceed 20 entries. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// This field should never exceed 20 entries. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Time when the operation was created. + /// Output only. Time when the operation was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the operation was updated for the last time. + /// Output only. Time when the operation was updated for the last time. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Ouptut only. Details of specific operation. Even if this field is empty, - /// the presence allows to distinguish different types of operations. + /// Ouptut only. Details of specific operation. Even if this field is empty, + /// the presence allows to distinguish different types of operations. #[prost(oneof="operation_metadata::Details", tags="8, 24, 25, 10, 15, 16, 21, 22, 26")] pub details: ::core::option::Option, } /// Nested message and enum types in `OperationMetadata`. pub mod operation_metadata { - /// Ouptut only. Details of specific operation. Even if this field is empty, - /// the presence allows to distinguish different types of operations. + /// Ouptut only. Details of specific operation. Even if this field is empty, + /// the presence allows to distinguish different types of operations. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details of a Delete operation. + /// Details of a Delete operation. #[prost(message, tag="8")] DeleteDetails(super::DeleteOperationMetadata), - /// Details of a DeployModel operation. + /// Details of a DeployModel operation. #[prost(message, tag="24")] DeployModelDetails(super::DeployModelOperationMetadata), - /// Details of an UndeployModel operation. + /// Details of an UndeployModel operation. #[prost(message, tag="25")] UndeployModelDetails(super::UndeployModelOperationMetadata), - /// Details of CreateModel operation. + /// Details of CreateModel operation. #[prost(message, tag="10")] CreateModelDetails(super::CreateModelOperationMetadata), - /// Details of ImportData operation. + /// Details of ImportData operation. #[prost(message, tag="15")] ImportDataDetails(super::ImportDataOperationMetadata), - /// Details of BatchPredict operation. + /// Details of BatchPredict operation. #[prost(message, tag="16")] BatchPredictDetails(super::BatchPredictOperationMetadata), - /// Details of ExportData operation. + /// Details of ExportData operation. #[prost(message, tag="21")] ExportDataDetails(super::ExportDataOperationMetadata), - /// Details of ExportModel operation. + /// Details of ExportModel operation. #[prost(message, tag="22")] ExportModelDetails(super::ExportModelOperationMetadata), - /// Details of ExportEvaluatedExamples operation. + /// Details of ExportEvaluatedExamples operation. #[prost(message, tag="26")] ExportEvaluatedExamplesDetails(super::ExportEvaluatedExamplesOperationMetadata), } } -/// Details of operations that perform deletes of any entities. +/// Details of operations that perform deletes of any entities. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteOperationMetadata { } -/// Details of DeployModel operation. +/// Details of DeployModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelOperationMetadata { } -/// Details of UndeployModel operation. +/// Details of UndeployModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelOperationMetadata { } -/// Details of CreateModel operation. +/// Details of CreateModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelOperationMetadata { } -/// Details of ImportData operation. +/// Details of ImportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationMetadata { } -/// Details of ExportData operation. +/// Details of ExportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationMetadata { - /// Output only. Information further describing this export data's output. + /// Output only. Information further describing this export data's output. #[prost(message, optional, tag="1")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportDataOperationMetadata`. pub mod export_data_operation_metadata { - /// Further describes this export data's output. - /// Supplements - /// \[OutputConfig][google.cloud.automl.v1beta1.OutputConfig\]. + /// Further describes this export data's output. + /// Supplements + /// \[OutputConfig][google.cloud.automl.v1beta1.OutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOutputInfo { - /// The output location to which the exported data is written. + /// The output location to which the exported data is written. #[prost(oneof="export_data_output_info::OutputLocation", tags="1, 2")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `ExportDataOutputInfo`. pub mod export_data_output_info { - /// The output location to which the exported data is written. + /// The output location to which the exported data is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// The full path of the Google Cloud Storage directory created, into which - /// the exported data is written. + /// The full path of the Google Cloud Storage directory created, into which + /// the exported data is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), - /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId - /// format, into which the exported data is written. + /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId + /// format, into which the exported data is written. #[prost(string, tag="2")] BigqueryOutputDataset(::prost::alloc::string::String), } } } -/// Details of BatchPredict operation. +/// Details of BatchPredict operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOperationMetadata { - /// Output only. The input config that was given upon starting this - /// batch predict operation. + /// Output only. The input config that was given upon starting this + /// batch predict operation. #[prost(message, optional, tag="1")] pub input_config: ::core::option::Option, - /// Output only. Information further describing this batch predict's output. + /// Output only. Information further describing this batch predict's output. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOperationMetadata`. pub mod batch_predict_operation_metadata { - /// Further describes this batch predict's output. - /// Supplements + /// Further describes this batch predict's output. + /// Supplements /// - /// \[BatchPredictOutputConfig][google.cloud.automl.v1beta1.BatchPredictOutputConfig\]. + /// \[BatchPredictOutputConfig][google.cloud.automl.v1beta1.BatchPredictOutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictOutputInfo { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[prost(oneof="batch_predict_output_info::OutputLocation", tags="1, 2")] pub output_location: ::core::option::Option, } /// Nested message and enum types in `BatchPredictOutputInfo`. pub mod batch_predict_output_info { - /// The output location into which prediction output is written. + /// The output location into which prediction output is written. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputLocation { - /// The full path of the Google Cloud Storage directory created, into which - /// the prediction output is written. + /// The full path of the Google Cloud Storage directory created, into which + /// the prediction output is written. #[prost(string, tag="1")] GcsOutputDirectory(::prost::alloc::string::String), - /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId - /// format, into which the prediction output is written. + /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId + /// format, into which the prediction output is written. #[prost(string, tag="2")] BigqueryOutputDataset(::prost::alloc::string::String), } } } -/// Details of ExportModel operation. +/// Details of ExportModel operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOperationMetadata { - /// Output only. Information further describing the output of this model - /// export. + /// Output only. Information further describing the output of this model + /// export. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportModelOperationMetadata`. pub mod export_model_operation_metadata { - /// Further describes the output of model export. - /// Supplements + /// Further describes the output of model export. + /// Supplements /// - /// \[ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig\]. + /// \[ModelExportOutputConfig][google.cloud.automl.v1beta1.ModelExportOutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelOutputInfo { - /// The full path of the Google Cloud Storage directory created, into which - /// the model will be exported. + /// The full path of the Google Cloud Storage directory created, into which + /// the model will be exported. #[prost(string, tag="1")] pub gcs_output_directory: ::prost::alloc::string::String, } } -/// Details of EvaluatedExamples operation. +/// Details of EvaluatedExamples operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportEvaluatedExamplesOperationMetadata { - /// Output only. Information further describing the output of this evaluated - /// examples export. + /// Output only. Information further describing the output of this evaluated + /// examples export. #[prost(message, optional, tag="2")] pub output_info: ::core::option::Option, } /// Nested message and enum types in `ExportEvaluatedExamplesOperationMetadata`. pub mod export_evaluated_examples_operation_metadata { - /// Further describes the output of the evaluated examples export. - /// Supplements + /// Further describes the output of the evaluated examples export. + /// Supplements /// - /// \[ExportEvaluatedExamplesOutputConfig][google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig\]. + /// \[ExportEvaluatedExamplesOutputConfig][google.cloud.automl.v1beta1.ExportEvaluatedExamplesOutputConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportEvaluatedExamplesOutputInfo { - /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId - /// format, into which the output of export evaluated examples is written. + /// The path of the BigQuery dataset created, in bq://projectId.bqDatasetId + /// format, into which the output of export evaluated examples is written. #[prost(string, tag="2")] pub bigquery_output_dataset: ::prost::alloc::string::String, } } -/// Request message for \[PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict\]. +/// Request message for \[PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictRequest { - /// Required. Name of the model requested to serve the prediction. + /// Required. Name of the model requested to serve the prediction. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Payload to perform a prediction on. The payload must match the - /// problem type that the model was trained to solve. + /// Required. Payload to perform a prediction on. The payload must match the + /// problem type that the model was trained to solve. #[prost(message, optional, tag="2")] pub payload: ::core::option::Option, - /// Additional domain-specific parameters, any string must be up to 25000 - /// characters long. + /// Additional domain-specific parameters, any string must be up to 25000 + /// characters long. /// - /// * For Image Classification: + /// * For Image Classification: /// /// `score_threshold` - (float) A value from 0.0 to 1.0. When the model /// makes predictions for an image, it will only produce results that have @@ -3366,34 +3366,34 @@ pub struct PredictRequest { /// `max_bounding_box_count` - (int64) No more than this number of bounding /// boxes will be returned in the response. Default is 100, the /// requested value may be limited by server. - /// * For Tables: + /// * For Tables: /// feature_importance - (boolean) Whether feature importance /// should be populated in the returned TablesAnnotation. /// The default is false. #[prost(map="string, string", tag="3")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Response message for \[PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict\]. +/// Response message for \[PredictionService.Predict][google.cloud.automl.v1beta1.PredictionService.Predict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PredictResponse { - /// Prediction result. - /// Translation and Text Sentiment will return precisely one payload. + /// Prediction result. + /// Translation and Text Sentiment will return precisely one payload. #[prost(message, repeated, tag="1")] pub payload: ::prost::alloc::vec::Vec, - /// The preprocessed example that AutoML actually makes prediction on. - /// Empty if AutoML does not preprocess the input example. - /// * For Text Extraction: + /// The preprocessed example that AutoML actually makes prediction on. + /// Empty if AutoML does not preprocess the input example. + /// * For Text Extraction: /// If the input is a .pdf file, the OCR'ed text will be provided in /// \[document_text][google.cloud.automl.v1beta1.Document.document_text\]. #[prost(message, optional, tag="3")] pub preprocessed_input: ::core::option::Option, - /// Additional domain-specific prediction response metadata. + /// Additional domain-specific prediction response metadata. /// - /// * For Image Object Detection: + /// * For Image Object Detection: /// `max_bounding_box_count` - (int64) At most that many bounding boxes per /// image could have been returned. /// - /// * For Text Sentiment: + /// * For Text Sentiment: /// `sentiment_score` - (float, deprecated) A value between -1 and 1, /// -1 maps to least positive sentiment, while 1 maps to the most positive /// one and the higher the score, the more positive the sentiment in the @@ -3405,35 +3405,35 @@ pub struct PredictResponse { #[prost(map="string, string", tag="2")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Request message for \[PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict\]. +/// Request message for \[PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictRequest { - /// Required. Name of the model requested to serve the batch prediction. + /// Required. Name of the model requested to serve the batch prediction. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The input configuration for batch prediction. + /// Required. The input configuration for batch prediction. #[prost(message, optional, tag="3")] pub input_config: ::core::option::Option, - /// Required. The Configuration specifying where output predictions should - /// be written. + /// Required. The Configuration specifying where output predictions should + /// be written. #[prost(message, optional, tag="4")] pub output_config: ::core::option::Option, - /// Required. Additional domain-specific parameters for the predictions, any string must - /// be up to 25000 characters long. + /// Required. Additional domain-specific parameters for the predictions, any string must + /// be up to 25000 characters long. /// - /// * For Text Classification: + /// * For Text Classification: /// /// `score_threshold` - (float) A value from 0.0 to 1.0. When the model /// makes predictions for a text snippet, it will only produce results /// that have at least this confidence score. The default is 0.5. /// - /// * For Image Classification: + /// * For Image Classification: /// /// `score_threshold` - (float) A value from 0.0 to 1.0. When the model /// makes predictions for an image, it will only produce results that /// have at least this confidence score. The default is 0.5. /// - /// * For Image Object Detection: + /// * For Image Object Detection: /// /// `score_threshold` - (float) When Model detects objects on the image, /// it will only produce bounding boxes which have at least this @@ -3442,7 +3442,7 @@ pub struct BatchPredictRequest { /// boxes will be produced per image. Default is 100, the /// requested value may be limited by server. /// - /// * For Video Classification : + /// * For Video Classification : /// /// `score_threshold` - (float) A value from 0.0 to 1.0. When the model /// makes predictions for a video, it will only produce results that @@ -3471,13 +3471,13 @@ pub struct BatchPredictRequest { /// metrics provided to describe that quality. The default is /// "false". /// - /// * For Tables: + /// * For Tables: /// /// feature_importance - (boolean) Whether feature importance /// should be populated in the returned TablesAnnotations. The /// default is false. /// - /// * For Video Object Tracking: + /// * For Video Object Tracking: /// /// `score_threshold` - (float) When Model detects objects on video frames, /// it will only produce bounding boxes which have at least this @@ -3491,18 +3491,18 @@ pub struct BatchPredictRequest { #[prost(map="string, string", tag="5")] pub params: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Result of the Batch Predict. This message is returned in -/// \[response][google.longrunning.Operation.response\] of the operation returned -/// by the \[PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict\]. +/// Result of the Batch Predict. This message is returned in +/// \[response][google.longrunning.Operation.response\] of the operation returned +/// by the \[PredictionService.BatchPredict][google.cloud.automl.v1beta1.PredictionService.BatchPredict\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchPredictResult { - /// Additional domain-specific prediction response metadata. + /// Additional domain-specific prediction response metadata. /// - /// * For Image Object Detection: + /// * For Image Object Detection: /// `max_bounding_box_count` - (int64) At most that many bounding boxes per /// image could have been returned. /// - /// * For Video Object Tracking: + /// * For Video Object Tracking: /// `max_bounding_box_count` - (int64) At most that many bounding boxes per /// frame could have been returned. #[prost(map="string, string", tag="1")] @@ -3655,77 +3655,77 @@ pub mod prediction_service_client { } } } -/// A specification of a relational table. -/// The table's schema is represented via its child column specs. It is -/// pre-populated as part of ImportData by schema inference algorithm, the -/// version of which is a required parameter of ImportData InputConfig. -/// Note: While working with a table, at times the schema may be -/// inconsistent with the data in the table (e.g. string in a FLOAT64 column). -/// The consistency validation is done upon creation of a model. -/// Used by: +/// A specification of a relational table. +/// The table's schema is represented via its child column specs. It is +/// pre-populated as part of ImportData by schema inference algorithm, the +/// version of which is a required parameter of ImportData InputConfig. +/// Note: While working with a table, at times the schema may be +/// inconsistent with the data in the table (e.g. string in a FLOAT64 column). +/// The consistency validation is done upon creation of a model. +/// Used by: /// * Tables #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSpec { - /// Output only. The resource name of the table spec. - /// Form: + /// Output only. The resource name of the table spec. + /// Form: /// - /// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}` + /// `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/tableSpecs/{table_spec_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// column_spec_id of the time column. Only used if the parent dataset's - /// ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE - /// and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and - /// those in between to VALIDATE. - /// Required type: TIMESTAMP. - /// If both this column and ml_use_column are not set, then ML use of all rows - /// will be assigned by AutoML. NOTE: Updates of this field will instantly - /// affect any other users concurrently working with the dataset. + /// column_spec_id of the time column. Only used if the parent dataset's + /// ml_use_column_spec_id is not set. Used to split rows into TRAIN, VALIDATE + /// and TEST sets such that oldest rows go to TRAIN set, newest to TEST, and + /// those in between to VALIDATE. + /// Required type: TIMESTAMP. + /// If both this column and ml_use_column are not set, then ML use of all rows + /// will be assigned by AutoML. NOTE: Updates of this field will instantly + /// affect any other users concurrently working with the dataset. #[prost(string, tag="2")] pub time_column_spec_id: ::prost::alloc::string::String, - /// Output only. The number of rows (i.e. examples) in the table. + /// Output only. The number of rows (i.e. examples) in the table. #[prost(int64, tag="3")] pub row_count: i64, - /// Output only. The number of valid rows (i.e. without values that don't match - /// DataType-s of their columns). + /// Output only. The number of valid rows (i.e. without values that don't match + /// DataType-s of their columns). #[prost(int64, tag="4")] pub valid_row_count: i64, - /// Output only. The number of columns of the table. That is, the number of - /// child ColumnSpec-s. + /// Output only. The number of columns of the table. That is, the number of + /// child ColumnSpec-s. #[prost(int64, tag="7")] pub column_count: i64, - /// Output only. Input configs via which data currently residing in the table - /// had been imported. + /// Output only. Input configs via which data currently residing in the table + /// had been imported. #[prost(message, repeated, tag="5")] pub input_configs: ::prost::alloc::vec::Vec, - /// Used to perform consistent read-modify-write updates. If not set, a blind - /// "overwrite" update happens. + /// Used to perform consistent read-modify-write updates. If not set, a blind + /// "overwrite" update happens. #[prost(string, tag="6")] pub etag: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset\]. +/// Request message for \[AutoMl.CreateDataset][google.cloud.automl.v1beta1.AutoMl.CreateDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetRequest { - /// Required. The resource name of the project to create the dataset for. + /// Required. The resource name of the project to create the dataset for. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The dataset to create. + /// Required. The dataset to create. #[prost(message, optional, tag="2")] pub dataset: ::core::option::Option, } -/// Request message for \[AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset\]. +/// Request message for \[AutoMl.GetDataset][google.cloud.automl.v1beta1.AutoMl.GetDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatasetRequest { - /// Required. The resource name of the dataset to retrieve. + /// Required. The resource name of the dataset to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\]. +/// Request message for \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsRequest { - /// Required. The resource name of the project from which to list datasets. + /// Required. The resource name of the project from which to list datasets. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. + /// An expression for filtering the results of the request. /// /// * `dataset_metadata` - for existence of the case (e.g. /// `image_classification_dataset_metadata:*`). Some examples of @@ -3735,206 +3735,206 @@ pub struct ListDatasetsRequest { /// `translation_dataset_metadata`. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. Server may return fewer results than requested. - /// If unspecified, server will pick a default size. + /// Requested page size. Server may return fewer results than requested. + /// If unspecified, server will pick a default size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return - /// Typically obtained via - /// \[ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token\] of the previous - /// \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\] call. + /// A token identifying a page of results for the server to return + /// Typically obtained via + /// \[ListDatasetsResponse.next_page_token][google.cloud.automl.v1beta1.ListDatasetsResponse.next_page_token\] of the previous + /// \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\]. +/// Response message for \[AutoMl.ListDatasets][google.cloud.automl.v1beta1.AutoMl.ListDatasets\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsResponse { - /// The datasets read. + /// The datasets read. #[prost(message, repeated, tag="1")] pub datasets: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListDatasetsRequest.page_token][google.cloud.automl.v1beta1.ListDatasetsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.UpdateDataset][google.cloud.automl.v1beta1.AutoMl.UpdateDataset\] +/// Request message for \[AutoMl.UpdateDataset][google.cloud.automl.v1beta1.AutoMl.UpdateDataset\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDatasetRequest { - /// Required. The dataset which replaces the resource on the server. + /// Required. The dataset which replaces the resource on the server. #[prost(message, optional, tag="1")] pub dataset: ::core::option::Option, - /// The update mask applies to the resource. + /// The update mask applies to the resource. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset\]. +/// Request message for \[AutoMl.DeleteDataset][google.cloud.automl.v1beta1.AutoMl.DeleteDataset\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDatasetRequest { - /// Required. The resource name of the dataset to delete. + /// Required. The resource name of the dataset to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData\]. +/// Request message for \[AutoMl.ImportData][google.cloud.automl.v1beta1.AutoMl.ImportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataRequest { - /// Required. Dataset name. Dataset must already exist. All imported - /// annotations and examples will be added. + /// Required. Dataset name. Dataset must already exist. All imported + /// annotations and examples will be added. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired input location and its domain specific semantics, - /// if any. + /// Required. The desired input location and its domain specific semantics, + /// if any. #[prost(message, optional, tag="3")] pub input_config: ::core::option::Option, } -/// Request message for \[AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData\]. +/// Request message for \[AutoMl.ExportData][google.cloud.automl.v1beta1.AutoMl.ExportData\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataRequest { - /// Required. The resource name of the dataset. + /// Required. The resource name of the dataset. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location. + /// Required. The desired output location. #[prost(message, optional, tag="3")] pub output_config: ::core::option::Option, } -/// Request message for \[AutoMl.GetAnnotationSpec][google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec\]. +/// Request message for \[AutoMl.GetAnnotationSpec][google.cloud.automl.v1beta1.AutoMl.GetAnnotationSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotationSpecRequest { - /// Required. The resource name of the annotation spec to retrieve. + /// Required. The resource name of the annotation spec to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec\]. +/// Request message for \[AutoMl.GetTableSpec][google.cloud.automl.v1beta1.AutoMl.GetTableSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTableSpecRequest { - /// Required. The resource name of the table spec to retrieve. + /// Required. The resource name of the table spec to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\]. +/// Request message for \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTableSpecsRequest { - /// Required. The resource name of the dataset to list table specs from. + /// Required. The resource name of the dataset to list table specs from. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Filter expression, see go/filtering. + /// Filter expression, see go/filtering. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. The server can return fewer results than requested. - /// If unspecified, the server will pick a default size. + /// Requested page size. The server can return fewer results than requested. + /// If unspecified, the server will pick a default size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return. - /// Typically obtained from the - /// \[ListTableSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListTableSpecsResponse.next_page_token\] field of the previous - /// \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\] call. + /// A token identifying a page of results for the server to return. + /// Typically obtained from the + /// \[ListTableSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListTableSpecsResponse.next_page_token\] field of the previous + /// \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\]. +/// Response message for \[AutoMl.ListTableSpecs][google.cloud.automl.v1beta1.AutoMl.ListTableSpecs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTableSpecsResponse { - /// The table specs read. + /// The table specs read. #[prost(message, repeated, tag="1")] pub table_specs: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListTableSpecsRequest.page_token][google.cloud.automl.v1beta1.ListTableSpecsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec\] +/// Request message for \[AutoMl.UpdateTableSpec][google.cloud.automl.v1beta1.AutoMl.UpdateTableSpec\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTableSpecRequest { - /// Required. The table spec which replaces the resource on the server. + /// Required. The table spec which replaces the resource on the server. #[prost(message, optional, tag="1")] pub table_spec: ::core::option::Option, - /// The update mask applies to the resource. + /// The update mask applies to the resource. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec\]. +/// Request message for \[AutoMl.GetColumnSpec][google.cloud.automl.v1beta1.AutoMl.GetColumnSpec\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetColumnSpecRequest { - /// Required. The resource name of the column spec to retrieve. + /// Required. The resource name of the column spec to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\]. +/// Request message for \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListColumnSpecsRequest { - /// Required. The resource name of the table spec to list column specs from. + /// Required. The resource name of the table spec to list column specs from. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Mask specifying which fields to read. + /// Mask specifying which fields to read. #[prost(message, optional, tag="2")] pub field_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Filter expression, see go/filtering. + /// Filter expression, see go/filtering. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. The server can return fewer results than requested. - /// If unspecified, the server will pick a default size. + /// Requested page size. The server can return fewer results than requested. + /// If unspecified, the server will pick a default size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return. - /// Typically obtained from the - /// \[ListColumnSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListColumnSpecsResponse.next_page_token\] field of the previous - /// \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\] call. + /// A token identifying a page of results for the server to return. + /// Typically obtained from the + /// \[ListColumnSpecsResponse.next_page_token][google.cloud.automl.v1beta1.ListColumnSpecsResponse.next_page_token\] field of the previous + /// \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\]. +/// Response message for \[AutoMl.ListColumnSpecs][google.cloud.automl.v1beta1.AutoMl.ListColumnSpecs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListColumnSpecsResponse { - /// The column specs read. + /// The column specs read. #[prost(message, repeated, tag="1")] pub column_specs: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListColumnSpecsRequest.page_token][google.cloud.automl.v1beta1.ListColumnSpecsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListColumnSpecsRequest.page_token][google.cloud.automl.v1beta1.ListColumnSpecsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec\] +/// Request message for \[AutoMl.UpdateColumnSpec][google.cloud.automl.v1beta1.AutoMl.UpdateColumnSpec\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateColumnSpecRequest { - /// Required. The column spec which replaces the resource on the server. + /// Required. The column spec which replaces the resource on the server. #[prost(message, optional, tag="1")] pub column_spec: ::core::option::Option, - /// The update mask applies to the resource. + /// The update mask applies to the resource. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel\]. +/// Request message for \[AutoMl.CreateModel][google.cloud.automl.v1beta1.AutoMl.CreateModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateModelRequest { - /// Required. Resource name of the parent project where the model is being created. + /// Required. Resource name of the parent project where the model is being created. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The model to create. + /// Required. The model to create. #[prost(message, optional, tag="4")] pub model: ::core::option::Option, } -/// Request message for \[AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel\]. +/// Request message for \[AutoMl.GetModel][google.cloud.automl.v1beta1.AutoMl.GetModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelRequest { - /// Required. Resource name of the model. + /// Required. Resource name of the model. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\]. +/// Request message for \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. Resource name of the project, from which to list the models. + /// Required. Resource name of the project, from which to list the models. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. + /// An expression for filtering the results of the request. /// /// * `model_metadata` - for existence of the case (e.g. /// `video_classification_model_metadata:*`). @@ -3945,108 +3945,108 @@ pub struct ListModelsRequest { /// * `dataset_id=5` --> The model was created from a dataset with ID 5. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. + /// Requested page size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return - /// Typically obtained via - /// \[ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token\] of the previous - /// \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\] call. + /// A token identifying a page of results for the server to return + /// Typically obtained via + /// \[ListModelsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelsResponse.next_page_token\] of the previous + /// \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\]. +/// Response message for \[AutoMl.ListModels][google.cloud.automl.v1beta1.AutoMl.ListModels\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// List of models in the requested page. + /// List of models in the requested page. #[prost(message, repeated, tag="1")] pub model: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to \[ListModelsRequest.page_token][google.cloud.automl.v1beta1.ListModelsRequest.page_token\] to obtain that page. + /// A token to retrieve next page of results. + /// Pass to \[ListModelsRequest.page_token][google.cloud.automl.v1beta1.ListModelsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel\]. +/// Request message for \[AutoMl.DeleteModel][google.cloud.automl.v1beta1.AutoMl.DeleteModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelRequest { - /// Required. Resource name of the model being deleted. + /// Required. Resource name of the model being deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel\]. +/// Request message for \[AutoMl.DeployModel][google.cloud.automl.v1beta1.AutoMl.DeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployModelRequest { - /// Required. Resource name of the model to deploy. + /// Required. Resource name of the model to deploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The per-domain specific deployment parameters. + /// The per-domain specific deployment parameters. #[prost(oneof="deploy_model_request::ModelDeploymentMetadata", tags="2, 4")] pub model_deployment_metadata: ::core::option::Option, } /// Nested message and enum types in `DeployModelRequest`. pub mod deploy_model_request { - /// The per-domain specific deployment parameters. + /// The per-domain specific deployment parameters. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ModelDeploymentMetadata { - /// Model deployment metadata specific to Image Object Detection. + /// Model deployment metadata specific to Image Object Detection. #[prost(message, tag="2")] ImageObjectDetectionModelDeploymentMetadata(super::ImageObjectDetectionModelDeploymentMetadata), - /// Model deployment metadata specific to Image Classification. + /// Model deployment metadata specific to Image Classification. #[prost(message, tag="4")] ImageClassificationModelDeploymentMetadata(super::ImageClassificationModelDeploymentMetadata), } } -/// Request message for \[AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel\]. +/// Request message for \[AutoMl.UndeployModel][google.cloud.automl.v1beta1.AutoMl.UndeployModel\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployModelRequest { - /// Required. Resource name of the model to undeploy. + /// Required. Resource name of the model to undeploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]. -/// Models need to be enabled for exporting, otherwise an error code will be -/// returned. +/// Request message for \[AutoMl.ExportModel][google.cloud.automl.v1beta1.AutoMl.ExportModel\]. +/// Models need to be enabled for exporting, otherwise an error code will be +/// returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportModelRequest { - /// Required. The resource name of the model to export. + /// Required. The resource name of the model to export. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location and configuration. + /// Required. The desired output location and configuration. #[prost(message, optional, tag="3")] pub output_config: ::core::option::Option, } -/// Request message for \[AutoMl.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples\]. +/// Request message for \[AutoMl.ExportEvaluatedExamples][google.cloud.automl.v1beta1.AutoMl.ExportEvaluatedExamples\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportEvaluatedExamplesRequest { - /// Required. The resource name of the model whose evaluated examples are to - /// be exported. + /// Required. The resource name of the model whose evaluated examples are to + /// be exported. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The desired output location and configuration. + /// Required. The desired output location and configuration. #[prost(message, optional, tag="3")] pub output_config: ::core::option::Option, } -/// Request message for \[AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation\]. +/// Request message for \[AutoMl.GetModelEvaluation][google.cloud.automl.v1beta1.AutoMl.GetModelEvaluation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelEvaluationRequest { - /// Required. Resource name for the model evaluation. + /// Required. Resource name for the model evaluation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\]. +/// Request message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsRequest { - /// Required. Resource name of the model to list the model evaluations for. - /// If modelId is set as "-", this will list model evaluations from across all - /// models of the parent location. + /// Required. Resource name of the model to list the model evaluations for. + /// If modelId is set as "-", this will list model evaluations from across all + /// models of the parent location. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// An expression for filtering the results of the request. + /// An expression for filtering the results of the request. /// /// * `annotation_spec_id` - for =, != or existence. See example below for /// the last. /// - /// Some examples of using the filter are: + /// Some examples of using the filter are: /// /// * `annotation_spec_id!=4` --> The model evaluation was done for /// annotation spec with ID different than 4. @@ -4054,25 +4054,25 @@ pub struct ListModelEvaluationsRequest { /// aggregate of all annotation specs. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Requested page size. + /// Requested page size. #[prost(int32, tag="4")] pub page_size: i32, - /// A token identifying a page of results for the server to return. - /// Typically obtained via - /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token\] of the previous - /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\] call. + /// A token identifying a page of results for the server to return. + /// Typically obtained via + /// \[ListModelEvaluationsResponse.next_page_token][google.cloud.automl.v1beta1.ListModelEvaluationsResponse.next_page_token\] of the previous + /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\] call. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\]. +/// Response message for \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelEvaluationsResponse { - /// List of model evaluations in the requested page. + /// List of model evaluations in the requested page. #[prost(message, repeated, tag="1")] pub model_evaluation: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. - /// Pass to the \[ListModelEvaluationsRequest.page_token][google.cloud.automl.v1beta1.ListModelEvaluationsRequest.page_token\] field of a new - /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\] request to obtain that page. + /// A token to retrieve next page of results. + /// Pass to the \[ListModelEvaluationsRequest.page_token][google.cloud.automl.v1beta1.ListModelEvaluationsRequest.page_token\] field of a new + /// \[AutoMl.ListModelEvaluations][google.cloud.automl.v1beta1.AutoMl.ListModelEvaluations\] request to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.baremetalsolution.v2.rs b/gcloud-sdk/genproto/google.cloud.baremetalsolution.v2.rs index 9b9904c81..e9b1c37c9 100644 --- a/gcloud-sdk/genproto/google.cloud.baremetalsolution.v2.rs +++ b/gcloud-sdk/genproto/google.cloud.baremetalsolution.v2.rs @@ -1,53 +1,53 @@ -/// A storage volume logical unit number (LUN). +/// A storage volume logical unit number (LUN). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Lun { - /// Output only. The name of the LUN. + /// Output only. The name of the LUN. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An identifier for the LUN, generated by the backend. + /// An identifier for the LUN, generated by the backend. #[prost(string, tag="10")] pub id: ::prost::alloc::string::String, - /// The state of this storage volume. + /// The state of this storage volume. #[prost(enumeration="lun::State", tag="2")] pub state: i32, - /// The size of this LUN, in gigabytes. + /// The size of this LUN, in gigabytes. #[prost(int64, tag="3")] pub size_gb: i64, - /// The LUN multiprotocol type ensures the characteristics of the LUN are - /// optimized for each operating system. + /// The LUN multiprotocol type ensures the characteristics of the LUN are + /// optimized for each operating system. #[prost(enumeration="lun::MultiprotocolType", tag="4")] pub multiprotocol_type: i32, - /// Display the storage volume for this LUN. + /// Display the storage volume for this LUN. #[prost(string, tag="5")] pub storage_volume: ::prost::alloc::string::String, - /// Display if this LUN can be shared between multiple physical servers. + /// Display if this LUN can be shared between multiple physical servers. #[prost(bool, tag="6")] pub shareable: bool, - /// Display if this LUN is a boot LUN. + /// Display if this LUN is a boot LUN. #[prost(bool, tag="7")] pub boot_lun: bool, - /// The storage type for this LUN. + /// The storage type for this LUN. #[prost(enumeration="lun::StorageType", tag="8")] pub storage_type: i32, - /// The WWID for this LUN. + /// The WWID for this LUN. #[prost(string, tag="9")] pub wwid: ::prost::alloc::string::String, } /// Nested message and enum types in `Lun`. pub mod lun { - /// The possible states for the LUN. + /// The possible states for the LUN. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The LUN is in an unknown state. + /// The LUN is in an unknown state. Unspecified = 0, - /// The LUN is being created. + /// The LUN is being created. Creating = 1, - /// The LUN is being updated. + /// The LUN is being updated. Updating = 2, - /// The LUN is ready for use. + /// The LUN is ready for use. Ready = 3, - /// The LUN has been requested to be deleted. + /// The LUN has been requested to be deleted. Deleting = 4, } impl State { @@ -65,13 +65,13 @@ pub mod lun { } } } - /// Display the operating systems present for the LUN multiprotocol type. + /// Display the operating systems present for the LUN multiprotocol type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MultiprotocolType { - /// Server has no OS specified. + /// Server has no OS specified. Unspecified = 0, - /// Server with Linux OS. + /// Server with Linux OS. Linux = 1, } impl MultiprotocolType { @@ -86,15 +86,15 @@ pub mod lun { } } } - /// The storage types for a LUN. + /// The storage types for a LUN. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageType { - /// The storage type for this LUN is unknown. + /// The storage type for this LUN is unknown. Unspecified = 0, - /// This storage type for this LUN is SSD. + /// This storage type for this LUN is SSD. Ssd = 1, - /// This storage type for this LUN is HDD. + /// This storage type for this LUN is HDD. Hdd = 2, } impl StorageType { @@ -111,97 +111,97 @@ pub mod lun { } } } -/// Message for requesting storage lun information. +/// Message for requesting storage lun information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLunRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting a list of storage volume luns. +/// Message for requesting a list of storage volume luns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLunsRequest { - /// Required. Parent value for ListLunsRequest. + /// Required. Parent value for ListLunsRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server might return fewer items than requested. - /// If unspecified, server will pick an appropriate default. + /// Requested page size. The server might return fewer items than requested. + /// If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message containing the list of storage volume luns. +/// Response message containing the list of storage volume luns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLunsResponse { - /// The list of luns. + /// The list of luns. #[prost(message, repeated, tag="1")] pub luns: ::prost::alloc::vec::Vec, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Network. +/// A Network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Network { - /// Output only. The resource name of this `Network`. - /// Resource names are schemeless URIs that follow the conventions in - /// - /// Format: - /// `projects/{project}/locations/{location}/networks/{network}` + /// Output only. The resource name of this `Network`. + /// Resource names are schemeless URIs that follow the conventions in + /// + /// Format: + /// `projects/{project}/locations/{location}/networks/{network}` #[prost(string, tag="5")] pub name: ::prost::alloc::string::String, - /// An identifier for the `Network`, generated by the backend. + /// An identifier for the `Network`, generated by the backend. #[prost(string, tag="10")] pub id: ::prost::alloc::string::String, - /// The type of this network. + /// The type of this network. #[prost(enumeration="network::Type", tag="2")] pub r#type: i32, - /// IP address configured. + /// IP address configured. #[prost(string, tag="3")] pub ip_address: ::prost::alloc::string::String, - /// List of physical interfaces. + /// List of physical interfaces. #[prost(string, repeated, tag="4")] pub mac_address: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Network state. + /// The Network state. #[prost(enumeration="network::State", tag="6")] pub state: i32, - /// The vlan id of the Network. + /// The vlan id of the Network. #[prost(string, tag="7")] pub vlan_id: ::prost::alloc::string::String, - /// The cidr of the Network. + /// The cidr of the Network. #[prost(string, tag="8")] pub cidr: ::prost::alloc::string::String, - /// The vrf for the Network. + /// The vrf for the Network. #[prost(message, optional, tag="9")] pub vrf: ::core::option::Option, - /// Labels as key value pairs. + /// Labels as key value pairs. #[prost(map="string, string", tag="11")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// IP range for reserved for services (e.g. NFS). + /// IP range for reserved for services (e.g. NFS). #[prost(string, tag="12")] pub services_cidr: ::prost::alloc::string::String, - /// List of IP address reservations in this network. - /// When updating this field, an error will be generated if a reservation - /// conflicts with an IP address already allocated to a physical server. + /// List of IP address reservations in this network. + /// When updating this field, an error will be generated if a reservation + /// conflicts with an IP address already allocated to a physical server. #[prost(message, repeated, tag="13")] pub reservations: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Network`. pub mod network { - /// Network type. + /// Network type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified value. + /// Unspecified value. Unspecified = 0, - /// Client network, a network peered to a Google Cloud VPC. + /// Client network, a network peered to a Google Cloud VPC. Client = 1, - /// Private network, a network local to the Bare Metal Solution environment. + /// Private network, a network local to the Bare Metal Solution environment. Private = 2, } impl Type { @@ -217,15 +217,15 @@ pub mod network { } } } - /// The possible states for this Network. + /// The possible states for this Network. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The Network is in an unknown state. + /// The Network is in an unknown state. Unspecified = 0, - /// The Network is provisioning. + /// The Network is provisioning. Provisioning = 1, - /// The Network has been provisioned. + /// The Network has been provisioned. Provisioned = 2, } impl State { @@ -242,70 +242,70 @@ pub mod network { } } } -/// A reservation of one or more addresses in a network. +/// A reservation of one or more addresses in a network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkAddressReservation { - /// The first address of this reservation block. - /// Must be specified as a single IPv4 address, e.g. 10.1.2.2. + /// The first address of this reservation block. + /// Must be specified as a single IPv4 address, e.g. 10.1.2.2. #[prost(string, tag="1")] pub start_address: ::prost::alloc::string::String, - /// The last address of this reservation block, inclusive. I.e., for cases when - /// reservations are only single addresses, end_address and start_address will - /// be the same. - /// Must be specified as a single IPv4 address, e.g. 10.1.2.2. + /// The last address of this reservation block, inclusive. I.e., for cases when + /// reservations are only single addresses, end_address and start_address will + /// be the same. + /// Must be specified as a single IPv4 address, e.g. 10.1.2.2. #[prost(string, tag="2")] pub end_address: ::prost::alloc::string::String, - /// A note about this reservation, intended for human consumption. + /// A note about this reservation, intended for human consumption. #[prost(string, tag="3")] pub note: ::prost::alloc::string::String, } -/// A network VRF. +/// A network VRF. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Vrf { - /// The name of the VRF. + /// The name of the VRF. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The possible state of VRF. + /// The possible state of VRF. #[prost(enumeration="vrf::State", tag="5")] pub state: i32, - /// The QOS policy applied to this VRF. + /// The QOS policy applied to this VRF. #[prost(message, optional, tag="6")] pub qos_policy: ::core::option::Option, - /// The list of VLAN attachments for the VRF. + /// The list of VLAN attachments for the VRF. #[prost(message, repeated, tag="7")] pub vlan_attachments: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `VRF`. pub mod vrf { - /// QOS policy parameters. + /// QOS policy parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QosPolicy { - /// The bandwidth permitted by the QOS policy, in gbps. + /// The bandwidth permitted by the QOS policy, in gbps. #[prost(double, tag="1")] pub bandwidth_gbps: f64, } - /// VLAN attachment details. + /// VLAN attachment details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VlanAttachment { - /// The peer vlan ID of the attachment. + /// The peer vlan ID of the attachment. #[prost(int64, tag="1")] pub peer_vlan_id: i64, - /// The peer IP of the attachment. + /// The peer IP of the attachment. #[prost(string, tag="2")] pub peer_ip: ::prost::alloc::string::String, - /// The router IP of the attachment. + /// The router IP of the attachment. #[prost(string, tag="3")] pub router_ip: ::prost::alloc::string::String, } - /// The possible states for this VRF. + /// The possible states for this VRF. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The unspecified state. + /// The unspecified state. Unspecified = 0, - /// The vrf is provisioning. + /// The vrf is provisioning. Provisioning = 1, - /// The vrf is provisioned. + /// The vrf is provisioned. Provisioned = 2, } impl State { @@ -322,205 +322,205 @@ pub mod vrf { } } } -/// Each logical interface represents a logical abstraction of the underlying -/// physical interface (for eg. bond, nic) of the instance. Each logical -/// interface can effectively map to multiple network-IP pairs and still be -/// mapped to one underlying physical interface. +/// Each logical interface represents a logical abstraction of the underlying +/// physical interface (for eg. bond, nic) of the instance. Each logical +/// interface can effectively map to multiple network-IP pairs and still be +/// mapped to one underlying physical interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalInterface { - /// List of logical network interfaces within a logical interface. + /// List of logical network interfaces within a logical interface. #[prost(message, repeated, tag="1")] pub logical_network_interfaces: ::prost::alloc::vec::Vec, - /// Interface name. This is of syntax or and - /// forms part of the network template name. + /// Interface name. This is of syntax or and + /// forms part of the network template name. #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// The index of the logical interface mapping to the index of the hardware - /// bond or nic on the chosen network template. + /// The index of the logical interface mapping to the index of the hardware + /// bond or nic on the chosen network template. #[prost(int32, tag="3")] pub interface_index: i32, } /// Nested message and enum types in `LogicalInterface`. pub mod logical_interface { - /// Each logical network interface is effectively a network and IP pair. + /// Each logical network interface is effectively a network and IP pair. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalNetworkInterface { - /// Name of the network + /// Name of the network #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// IP address in the network + /// IP address in the network #[prost(string, tag="2")] pub ip_address: ::prost::alloc::string::String, - /// Whether this interface is the default gateway for the instance. Only - /// one interface can be the default gateway for the instance. + /// Whether this interface is the default gateway for the instance. Only + /// one interface can be the default gateway for the instance. #[prost(bool, tag="3")] pub default_gateway: bool, - /// Type of network. + /// Type of network. #[prost(enumeration="super::network::Type", tag="4")] pub network_type: i32, - /// An identifier for the `Network`, generated by the backend. + /// An identifier for the `Network`, generated by the backend. #[prost(string, tag="5")] pub id: ::prost::alloc::string::String, } } -/// Message for requesting network information. +/// Message for requesting network information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNetworkRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting a list of networks. +/// Message for requesting a list of networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworksRequest { - /// Required. Parent value for ListNetworksRequest. + /// Required. Parent value for ListNetworksRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server might return fewer items than requested. - /// If unspecified, server will pick an appropriate default. + /// Requested page size. The server might return fewer items than requested. + /// If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message containing the list of networks. +/// Response message containing the list of networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworksResponse { - /// The list of networks. + /// The list of networks. #[prost(message, repeated, tag="1")] pub networks: ::prost::alloc::vec::Vec, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message requesting to updating a network. +/// Message requesting to updating a network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateNetworkRequest { - /// Required. The network to update. + /// Required. The network to update. /// - /// The `name` field is used to identify the instance to update. - /// Format: projects/{project}/locations/{location}/networks/{network} + /// The `name` field is used to identify the instance to update. + /// Format: projects/{project}/locations/{location}/networks/{network} #[prost(message, optional, tag="1")] pub network: ::core::option::Option, - /// The list of fields to update. - /// The only currently supported fields are: + /// The list of fields to update. + /// The only currently supported fields are: /// `labels`, `reservations` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Network with all used IP addresses. +/// Network with all used IP addresses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkUsage { - /// Network. + /// Network. #[prost(message, optional, tag="1")] pub network: ::core::option::Option, - /// All used IP addresses in this network. + /// All used IP addresses in this network. #[prost(string, repeated, tag="2")] pub used_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request to get networks with IPs. +/// Request to get networks with IPs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkUsageRequest { - /// Required. Parent value (project and location). + /// Required. Parent value (project and location). #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, } -/// Response with Networks with IPs +/// Response with Networks with IPs #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkUsageResponse { - /// Networks with IPs. + /// Networks with IPs. #[prost(message, repeated, tag="1")] pub networks: ::prost::alloc::vec::Vec, } -/// A server. +/// A server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Output only. The resource name of this `Instance`. - /// Resource names are schemeless URIs that follow the conventions in - /// - /// Format: - /// `projects/{project}/locations/{location}/instances/{instance}` + /// Output only. The resource name of this `Instance`. + /// Resource names are schemeless URIs that follow the conventions in + /// + /// Format: + /// `projects/{project}/locations/{location}/instances/{instance}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An identifier for the `Instance`, generated by the backend. + /// An identifier for the `Instance`, generated by the backend. #[prost(string, tag="11")] pub id: ::prost::alloc::string::String, - /// Output only. Create a time stamp. + /// Output only. Create a time stamp. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Update a time stamp. + /// Output only. Update a time stamp. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The server type. - /// [Available server - /// types]() + /// The server type. + /// [Available server + /// types]() #[prost(string, tag="4")] pub machine_type: ::prost::alloc::string::String, - /// The state of the server. + /// The state of the server. #[prost(enumeration="instance::State", tag="5")] pub state: i32, - /// True if you enable hyperthreading for the server, otherwise false. - /// The default value is false. + /// True if you enable hyperthreading for the server, otherwise false. + /// The default value is false. #[prost(bool, tag="6")] pub hyperthreading_enabled: bool, - /// Labels as key value pairs. + /// Labels as key value pairs. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// List of LUNs associated with this server. + /// List of LUNs associated with this server. #[prost(message, repeated, tag="8")] pub luns: ::prost::alloc::vec::Vec, - /// List of networks associated with this server. + /// List of networks associated with this server. #[prost(message, repeated, tag="9")] pub networks: ::prost::alloc::vec::Vec, - /// True if the interactive serial console feature is enabled for the instance, - /// false otherwise. - /// The default value is false. + /// True if the interactive serial console feature is enabled for the instance, + /// false otherwise. + /// The default value is false. #[prost(bool, tag="10")] pub interactive_serial_console_enabled: bool, - /// The OS image currently installed on the server. + /// The OS image currently installed on the server. #[prost(string, tag="12")] pub os_image: ::prost::alloc::string::String, - /// Immutable. Pod name. - /// Pod is an independent part of infrastructure. - /// Instance can be connected to the assets (networks, volumes) allocated - /// in the same pod only. + /// Immutable. Pod name. + /// Pod is an independent part of infrastructure. + /// Instance can be connected to the assets (networks, volumes) allocated + /// in the same pod only. #[prost(string, tag="13")] pub pod: ::prost::alloc::string::String, - /// Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. - /// Generally, the template name follows the syntax of - /// "bond" or "nic". + /// Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. + /// Generally, the template name follows the syntax of + /// "bond" or "nic". #[prost(string, tag="14")] pub network_template: ::prost::alloc::string::String, - /// List of logical interfaces for the instance. The number of logical - /// interfaces will be the same as number of hardware bond/nic on the chosen - /// network template. For the non-multivlan configurations (for eg, existing - /// servers) that use existing default network template (bondaa-bondaa), both - /// the Instance.networks field and the Instance.logical_interfaces fields will - /// be filled to ensure backward compatibility. For the others, only - /// Instance.logical_interfaces will be filled. + /// List of logical interfaces for the instance. The number of logical + /// interfaces will be the same as number of hardware bond/nic on the chosen + /// network template. For the non-multivlan configurations (for eg, existing + /// servers) that use existing default network template (bondaa-bondaa), both + /// the Instance.networks field and the Instance.logical_interfaces fields will + /// be filled to ensure backward compatibility. For the others, only + /// Instance.logical_interfaces will be filled. #[prost(message, repeated, tag="15")] pub logical_interfaces: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Instance`. pub mod instance { - /// The possible states for this server. + /// The possible states for this server. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The server is in an unknown state. + /// The server is in an unknown state. Unspecified = 0, - /// The server is being provisioned. + /// The server is being provisioned. Provisioning = 1, - /// The server is running. + /// The server is running. Running = 2, - /// The server has been deleted. + /// The server has been deleted. Deleted = 3, } impl State { @@ -538,137 +538,137 @@ pub mod instance { } } } -/// Message for requesting server information. +/// Message for requesting server information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting the list of servers. +/// Message for requesting the list of servers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Required. Parent value for ListInstancesRequest. + /// Required. Parent value for ListInstancesRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. Server may return fewer items than requested. - /// If unspecified, the server will pick an appropriate default. + /// Requested page size. Server may return fewer items than requested. + /// If unspecified, the server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for the list of servers. +/// Response message for the list of servers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// The list of servers. + /// The list of servers. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message requesting to updating a server. +/// Message requesting to updating a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { - /// Required. The server to update. + /// Required. The server to update. /// - /// The `name` field is used to identify the instance to update. - /// Format: projects/{project}/locations/{location}/instances/{instance} + /// The `name` field is used to identify the instance to update. + /// Format: projects/{project}/locations/{location}/instances/{instance} #[prost(message, optional, tag="1")] pub instance: ::core::option::Option, - /// The list of fields to update. - /// The currently supported fields are: + /// The list of fields to update. + /// The currently supported fields are: /// `labels` /// `hyperthreading_enabled` /// `os_image` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Message requesting to reset a server. +/// Message requesting to reset a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResetInstanceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message requesting to start a server. +/// Message requesting to start a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartInstanceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message requesting to stop a server. +/// Message requesting to stop a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopInstanceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for detach specific LUN from an Instance. +/// Message for detach specific LUN from an Instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetachLunRequest { - /// Required. Name of the instance. + /// Required. Name of the instance. #[prost(string, tag="1")] pub instance: ::prost::alloc::string::String, - /// Required. Name of the Lun to detach. + /// Required. Name of the Lun to detach. #[prost(string, tag="2")] pub lun: ::prost::alloc::string::String, } -/// Network template. +/// Network template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServerNetworkTemplate { - /// Output only. Template's unique name. The full resource name follows the pattern: - /// `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` - /// Generally, the {server_network_template} follows the syntax of - /// "bond" or "nic". + /// Output only. Template's unique name. The full resource name follows the pattern: + /// `projects/{project}/locations/{location}/serverNetworkTemplate/{server_network_template}` + /// Generally, the {server_network_template} follows the syntax of + /// "bond" or "nic". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Instance types this template is applicable to. + /// Instance types this template is applicable to. #[prost(string, repeated, tag="2")] pub applicable_instance_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Logical interfaces. + /// Logical interfaces. #[prost(message, repeated, tag="3")] pub logical_interfaces: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ServerNetworkTemplate`. pub mod server_network_template { - /// Logical interface. + /// Logical interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogicalInterface { - /// Interface name. - /// This is not a globally unique identifier. - /// Name is unique only inside the ServerNetworkTemplate. This is of syntax - /// or - /// and forms part of the network template name. + /// Interface name. + /// This is not a globally unique identifier. + /// Name is unique only inside the ServerNetworkTemplate. This is of syntax + /// or + /// and forms part of the network template name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Interface type. + /// Interface type. #[prost(enumeration="logical_interface::InterfaceType", tag="2")] pub r#type: i32, - /// If true, interface must have network connected. + /// If true, interface must have network connected. #[prost(bool, tag="3")] pub required: bool, } /// Nested message and enum types in `LogicalInterface`. pub mod logical_interface { - /// Interface type. + /// Interface type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InterfaceType { - /// Unspecified value. + /// Unspecified value. Unspecified = 0, - /// Bond interface type. + /// Bond interface type. Bond = 1, - /// NIC interface type. + /// NIC interface type. Nic = 2, } impl InterfaceType { @@ -686,72 +686,72 @@ pub mod server_network_template { } } } -/// Response message from starting a server. +/// Response message from starting a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartInstanceResponse { } -/// Response message from stopping a server. +/// Response message from stopping a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopInstanceResponse { } -/// An NFS share. +/// An NFS share. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NfsShare { - /// Output only. The name of the NFS share. + /// Output only. The name of the NFS share. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. An identifier for the NFS share, generated by the backend. + /// Output only. An identifier for the NFS share, generated by the backend. #[prost(string, tag="2")] pub nfs_share_id: ::prost::alloc::string::String, - /// The state of the NFS share. + /// The state of the NFS share. #[prost(enumeration="nfs_share::State", tag="3")] pub state: i32, - /// The volume containing the share. + /// The volume containing the share. #[prost(string, tag="4")] pub volume: ::prost::alloc::string::String, - /// List of allowed access points. + /// List of allowed access points. #[prost(message, repeated, tag="5")] pub allowed_clients: ::prost::alloc::vec::Vec, - /// Labels as key value pairs. + /// Labels as key value pairs. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `NfsShare`. pub mod nfs_share { - /// Represents an 'access point' for the share. + /// Represents an 'access point' for the share. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllowedClient { - /// The network the access point sits on. + /// The network the access point sits on. #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// The IP address of the share on this network. + /// The IP address of the share on this network. #[prost(string, tag="2")] pub share_ip: ::prost::alloc::string::String, - /// The subnet of IP addresses permitted to access the share. + /// The subnet of IP addresses permitted to access the share. #[prost(string, tag="3")] pub allowed_clients_cidr: ::prost::alloc::string::String, - /// Mount permissions. + /// Mount permissions. #[prost(enumeration="MountPermissions", tag="4")] pub mount_permissions: i32, - /// Allow dev flag. Which controls whether to allow creation of devices. + /// Allow dev flag. Which controls whether to allow creation of devices. #[prost(bool, tag="5")] pub allow_dev: bool, - /// Allow the setuid flag. + /// Allow the setuid flag. #[prost(bool, tag="6")] pub allow_suid: bool, - /// Disable root squashing, which is a feature of NFS. - /// Root squash is a special mapping of the remote superuser (root) identity - /// when using identity authentication. + /// Disable root squashing, which is a feature of NFS. + /// Root squash is a special mapping of the remote superuser (root) identity + /// when using identity authentication. #[prost(bool, tag="7")] pub no_root_squash: bool, } - /// The possible states for this NFS share. + /// The possible states for this NFS share. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The share is in an unknown state. + /// The share is in an unknown state. Unspecified = 0, - /// The share has been provisioned. + /// The share has been provisioned. Provisioned = 1, } impl State { @@ -766,15 +766,15 @@ pub mod nfs_share { } } } - /// The possible mount permissions. + /// The possible mount permissions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MountPermissions { - /// Permissions were not specified. + /// Permissions were not specified. Unspecified = 0, - /// NFS share can be mount with read-only permissions. + /// NFS share can be mount with read-only permissions. Read = 1, - /// NFS share can be mount with read-write permissions. + /// NFS share can be mount with read-write permissions. ReadWrite = 2, } impl MountPermissions { @@ -791,148 +791,148 @@ pub mod nfs_share { } } } -/// Message for requesting NFS share information. +/// Message for requesting NFS share information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNfsShareRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting a list of NFS shares. +/// Message for requesting a list of NFS shares. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNfsSharesRequest { - /// Required. Parent value for ListNfsSharesRequest. + /// Required. Parent value for ListNfsSharesRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server might return fewer items than requested. - /// If unspecified, server will pick an appropriate default. + /// Requested page size. The server might return fewer items than requested. + /// If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message containing the list of NFS shares. +/// Response message containing the list of NFS shares. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNfsSharesResponse { - /// The list of NFS shares. + /// The list of NFS shares. #[prost(message, repeated, tag="1")] pub nfs_shares: ::prost::alloc::vec::Vec, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message requesting to updating a NFS share. +/// Message requesting to updating a NFS share. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateNfsShareRequest { - /// Required. The NFS share to update. + /// Required. The NFS share to update. /// - /// The `name` field is used to identify the NFS share to update. - /// Format: projects/{project}/locations/{location}/nfsShares/{nfs_share} + /// The `name` field is used to identify the NFS share to update. + /// Format: projects/{project}/locations/{location}/nfsShares/{nfs_share} #[prost(message, optional, tag="1")] pub nfs_share: ::core::option::Option, - /// The list of fields to update. - /// The only currently supported fields are: + /// The list of fields to update. + /// The only currently supported fields are: /// `labels` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A storage volume. +/// A storage volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Volume { - /// Output only. The resource name of this `Volume`. - /// Resource names are schemeless URIs that follow the conventions in - /// - /// Format: - /// `projects/{project}/locations/{location}/volumes/{volume}` + /// Output only. The resource name of this `Volume`. + /// Resource names are schemeless URIs that follow the conventions in + /// + /// Format: + /// `projects/{project}/locations/{location}/volumes/{volume}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// An identifier for the `Volume`, generated by the backend. + /// An identifier for the `Volume`, generated by the backend. #[prost(string, tag="11")] pub id: ::prost::alloc::string::String, - /// The storage type for this volume. + /// The storage type for this volume. #[prost(enumeration="volume::StorageType", tag="2")] pub storage_type: i32, - /// The state of this storage volume. + /// The state of this storage volume. #[prost(enumeration="volume::State", tag="3")] pub state: i32, - /// The requested size of this storage volume, in GiB. + /// The requested size of this storage volume, in GiB. #[prost(int64, tag="4")] pub requested_size_gib: i64, - /// The current size of this storage volume, in GiB, including space reserved - /// for snapshots. This size might be different than the requested size if the - /// storage volume has been configured with auto grow or auto shrink. + /// The current size of this storage volume, in GiB, including space reserved + /// for snapshots. This size might be different than the requested size if the + /// storage volume has been configured with auto grow or auto shrink. #[prost(int64, tag="5")] pub current_size_gib: i64, - /// Additional emergency size that was requested for this Volume, in GiB. - /// current_size_gib includes this value. + /// Additional emergency size that was requested for this Volume, in GiB. + /// current_size_gib includes this value. #[prost(int64, tag="14")] pub emergency_size_gib: i64, - /// The size, in GiB, that this storage volume has expanded as a result of an - /// auto grow policy. In the absence of auto-grow, the value is 0. + /// The size, in GiB, that this storage volume has expanded as a result of an + /// auto grow policy. In the absence of auto-grow, the value is 0. #[prost(int64, tag="6")] pub auto_grown_size_gib: i64, - /// The space remaining in the storage volume for new LUNs, in GiB, excluding - /// space reserved for snapshots. + /// The space remaining in the storage volume for new LUNs, in GiB, excluding + /// space reserved for snapshots. #[prost(int64, tag="7")] pub remaining_space_gib: i64, - /// Details about snapshot space reservation and usage on the storage volume. + /// Details about snapshot space reservation and usage on the storage volume. #[prost(message, optional, tag="8")] pub snapshot_reservation_detail: ::core::option::Option, - /// The behavior to use when snapshot reserved space is full. + /// The behavior to use when snapshot reserved space is full. #[prost(enumeration="volume::SnapshotAutoDeleteBehavior", tag="9")] pub snapshot_auto_delete_behavior: i32, - /// Labels as key value pairs. + /// Labels as key value pairs. #[prost(map="string, string", tag="12")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Whether snapshots are enabled. + /// Whether snapshots are enabled. #[prost(bool, tag="13")] pub snapshot_enabled: bool, - /// Immutable. Pod name. + /// Immutable. Pod name. #[prost(string, tag="15")] pub pod: ::prost::alloc::string::String, } /// Nested message and enum types in `Volume`. pub mod volume { - /// Details about snapshot space reservation and usage on the storage volume. + /// Details about snapshot space reservation and usage on the storage volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotReservationDetail { - /// The space on this storage volume reserved for snapshots, shown in GiB. + /// The space on this storage volume reserved for snapshots, shown in GiB. #[prost(int64, tag="1")] pub reserved_space_gib: i64, - /// The percent of snapshot space on this storage volume actually being used - /// by the snapshot copies. This value might be higher than 100% if the - /// snapshot copies have overflowed into the data portion of the storage - /// volume. + /// The percent of snapshot space on this storage volume actually being used + /// by the snapshot copies. This value might be higher than 100% if the + /// snapshot copies have overflowed into the data portion of the storage + /// volume. #[prost(int32, tag="2")] pub reserved_space_used_percent: i32, - /// The amount, in GiB, of available space in this storage volume's reserved - /// snapshot space. + /// The amount, in GiB, of available space in this storage volume's reserved + /// snapshot space. #[prost(int64, tag="3")] pub reserved_space_remaining_gib: i64, - /// Percent of the total Volume size reserved for snapshot copies. - /// Enabling snapshots requires reserving 20% or more of - /// the storage volume space for snapshots. Maximum reserved space for - /// snapshots is 40%. - /// Setting this field will effectively set snapshot_enabled to true. + /// Percent of the total Volume size reserved for snapshot copies. + /// Enabling snapshots requires reserving 20% or more of + /// the storage volume space for snapshots. Maximum reserved space for + /// snapshots is 40%. + /// Setting this field will effectively set snapshot_enabled to true. #[prost(int32, tag="4")] pub reserved_space_percent: i32, } - /// The storage type for a volume. + /// The storage type for a volume. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageType { - /// The storage type for this volume is unknown. + /// The storage type for this volume is unknown. Unspecified = 0, - /// The storage type for this volume is SSD. + /// The storage type for this volume is SSD. Ssd = 1, - /// This storage type for this volume is HDD. + /// This storage type for this volume is HDD. Hdd = 2, } impl StorageType { @@ -948,17 +948,17 @@ pub mod volume { } } } - /// The possible states for a storage volume. + /// The possible states for a storage volume. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The storage volume is in an unknown state. + /// The storage volume is in an unknown state. Unspecified = 0, - /// The storage volume is being created. + /// The storage volume is being created. Creating = 1, - /// The storage volume is ready for use. + /// The storage volume is ready for use. Ready = 2, - /// The storage volume has been requested to be deleted. + /// The storage volume has been requested to be deleted. Deleting = 3, } impl State { @@ -975,19 +975,19 @@ pub mod volume { } } } - /// The kinds of auto delete behavior to use when snapshot reserved space is - /// full. + /// The kinds of auto delete behavior to use when snapshot reserved space is + /// full. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SnapshotAutoDeleteBehavior { - /// The unspecified behavior. + /// The unspecified behavior. Unspecified = 0, - /// Don't delete any snapshots. This disables new snapshot creation, as - /// long as the snapshot reserved space is full. + /// Don't delete any snapshots. This disables new snapshot creation, as + /// long as the snapshot reserved space is full. Disabled = 1, - /// Delete the oldest snapshots first. + /// Delete the oldest snapshots first. OldestFirst = 2, - /// Delete the newest snapshots first. + /// Delete the newest snapshots first. NewestFirst = 3, } impl SnapshotAutoDeleteBehavior { @@ -1005,54 +1005,54 @@ pub mod volume { } } } -/// Message for requesting storage volume information. +/// Message for requesting storage volume information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVolumeRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting a list of storage volumes. +/// Message for requesting a list of storage volumes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVolumesRequest { - /// Required. Parent value for ListVolumesRequest. + /// Required. Parent value for ListVolumesRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server might return fewer items than requested. - /// If unspecified, server will pick an appropriate default. + /// Requested page size. The server might return fewer items than requested. + /// If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message containing the list of storage volumes. +/// Response message containing the list of storage volumes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVolumesResponse { - /// The list of storage volumes. + /// The list of storage volumes. #[prost(message, repeated, tag="1")] pub volumes: ::prost::alloc::vec::Vec, - /// A token identifying a page of results from the server. + /// A token identifying a page of results from the server. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message for updating a volume. +/// Message for updating a volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateVolumeRequest { - /// Required. The volume to update. + /// Required. The volume to update. /// - /// The `name` field is used to identify the volume to update. - /// Format: projects/{project}/locations/{location}/volumes/{volume} + /// The `name` field is used to identify the volume to update. + /// Format: projects/{project}/locations/{location}/volumes/{volume} #[prost(message, optional, tag="1")] pub volume: ::core::option::Option, - /// The list of fields to update. - /// The only currently supported fields are: + /// The list of fields to update. + /// The only currently supported fields are: /// `snapshot_auto_delete_behavior` /// `snapshot_schedule_policy_name` /// 'labels' @@ -1061,45 +1061,45 @@ pub struct UpdateVolumeRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for emergency resize Volume. +/// Request for emergency resize Volume. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeVolumeRequest { - /// Required. Volume to resize. + /// Required. Volume to resize. #[prost(string, tag="1")] pub volume: ::prost::alloc::string::String, - /// New Volume size, in GiB. + /// New Volume size, in GiB. #[prost(int64, tag="2")] pub size_gib: i64, } -/// Represents the metadata from a long-running operation. +/// Represents the metadata from a long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The time the operation was created. + /// The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the operation finished running. + /// The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Server-defined resource path for the target of the operation. + /// Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Name of the action executed by the operation. + /// Name of the action executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Human-readable status of the operation, if any. + /// Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Identifies whether the user requested the cancellation - /// of the operation. Operations that have been successfully cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Identifies whether the user requested the cancellation + /// of the operation. Operations that have been successfully cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// API version used with the operation. + /// API version used with the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// Response message from resetting a server. +/// Response message from resetting a server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResetInstanceResponse { } diff --git a/gcloud-sdk/genproto/google.cloud.batch.v1.rs b/gcloud-sdk/genproto/google.cloud.batch.v1.rs index 2d92cd7a9..c3c379ff6 100644 --- a/gcloud-sdk/genproto/google.cloud.batch.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.batch.v1.rs @@ -1,124 +1,124 @@ -/// Volume and mount parameters to be associated with a TaskSpec. A TaskSpec -/// might describe zero, one, or multiple volumes to be mounted as part of the -/// task. +/// Volume and mount parameters to be associated with a TaskSpec. A TaskSpec +/// might describe zero, one, or multiple volumes to be mounted as part of the +/// task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Volume { - /// Mount path for the volume, e.g. /mnt/share + /// Mount path for the volume, e.g. /mnt/share #[prost(string, tag="4")] pub mount_path: ::prost::alloc::string::String, - /// Mount options - /// For Google Cloud Storage, mount options are the global options supported by - /// gcsfuse tool. Batch will use them to mount the volume with the following - /// command: - /// "gcsfuse [global options] bucket mountpoint". - /// For PD, NFS, mount options are these supported by /etc/fstab. Batch will - /// use Fstab to mount such volumes. - /// + /// Mount options + /// For Google Cloud Storage, mount options are the global options supported by + /// gcsfuse tool. Batch will use them to mount the volume with the following + /// command: + /// "gcsfuse [global options] bucket mountpoint". + /// For PD, NFS, mount options are these supported by /etc/fstab. Batch will + /// use Fstab to mount such volumes. + /// #[prost(string, repeated, tag="5")] pub mount_options: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The source for the volume. + /// The source for the volume. #[prost(oneof="volume::Source", tags="1, 3, 6")] pub source: ::core::option::Option, } /// Nested message and enum types in `Volume`. pub mod volume { - /// The source for the volume. + /// The source for the volume. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// An NFS source for the volume (could be a Filestore, for example). + /// An NFS source for the volume (could be a Filestore, for example). #[prost(message, tag="1")] Nfs(super::Nfs), - /// A Google Cloud Storage source for the volume. + /// A Google Cloud Storage source for the volume. #[prost(message, tag="3")] Gcs(super::Gcs), - /// Device name of an attached disk + /// Device name of an attached disk #[prost(string, tag="6")] DeviceName(::prost::alloc::string::String), } } -/// Represents an NFS server and remote path: : +/// Represents an NFS server and remote path: : #[derive(Clone, PartialEq, ::prost::Message)] pub struct Nfs { - /// URI of the NFS server, e.g. an IP address. + /// URI of the NFS server, e.g. an IP address. #[prost(string, tag="1")] pub server: ::prost::alloc::string::String, - /// Remote source path exported from NFS, e.g., "/share". + /// Remote source path exported from NFS, e.g., "/share". #[prost(string, tag="2")] pub remote_path: ::prost::alloc::string::String, } -/// Represents a Google Cloud Storage volume source config. +/// Represents a Google Cloud Storage volume source config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Gcs { - /// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: - /// bucket_name, bucket_name/subdirectory/ + /// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: + /// bucket_name, bucket_name/subdirectory/ #[prost(string, tag="1")] pub remote_path: ::prost::alloc::string::String, } -/// Compute resource requirements +/// Compute resource requirements #[derive(Clone, PartialEq, ::prost::Message)] pub struct ComputeResource { - /// The milliCPU count. + /// The milliCPU count. #[prost(int64, tag="1")] pub cpu_milli: i64, - /// Memory in MiB. + /// Memory in MiB. #[prost(int64, tag="2")] pub memory_mib: i64, - /// Extra boot disk size in MiB for each task. + /// Extra boot disk size in MiB for each task. #[prost(int64, tag="4")] pub boot_disk_mib: i64, } -/// Status event +/// Status event #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatusEvent { - /// Type of the event. + /// Type of the event. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, - /// Description of the event. + /// Description of the event. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// The time this event occurred. + /// The time this event occurred. #[prost(message, optional, tag="2")] pub event_time: ::core::option::Option<::prost_types::Timestamp>, - /// Task Execution + /// Task Execution #[prost(message, optional, tag="4")] pub task_execution: ::core::option::Option, } -/// This Task Execution field includes detail information for -/// task execution procedures, based on StatusEvent types. +/// This Task Execution field includes detail information for +/// task execution procedures, based on StatusEvent types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskExecution { - /// When task is completed as the status of FAILED or SUCCEEDED, - /// exit code is for one task execution result, default is 0 as success. + /// When task is completed as the status of FAILED or SUCCEEDED, + /// exit code is for one task execution result, default is 0 as success. #[prost(int32, tag="1")] pub exit_code: i32, } -/// Status of a task +/// Status of a task #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskStatus { - /// Task state + /// Task state #[prost(enumeration="task_status::State", tag="1")] pub state: i32, - /// Detailed info about why the state is reached. + /// Detailed info about why the state is reached. #[prost(message, repeated, tag="2")] pub status_events: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TaskStatus`. pub mod task_status { - /// Task states. + /// Task states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// unknown state + /// unknown state Unspecified = 0, - /// The Task is created and waiting for resources. + /// The Task is created and waiting for resources. Pending = 1, - /// The Task is assigned to at least one VM. + /// The Task is assigned to at least one VM. Assigned = 2, - /// The Task is running. + /// The Task is running. Running = 3, - /// The Task has failed. + /// The Task has failed. Failed = 4, - /// The Task has succeeded. + /// The Task has succeeded. Succeeded = 5, } impl State { @@ -138,82 +138,82 @@ pub mod task_status { } } } -/// Runnable describes instructions for executing a specific script or container -/// as part of a Task. +/// Runnable describes instructions for executing a specific script or container +/// as part of a Task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Runnable { - /// Normally, a non-zero exit status causes the Task to fail. This flag allows - /// execution of other Runnables to continue instead. + /// Normally, a non-zero exit status causes the Task to fail. This flag allows + /// execution of other Runnables to continue instead. #[prost(bool, tag="3")] pub ignore_exit_status: bool, - /// This flag allows a Runnable to continue running in the background while the - /// Task executes subsequent Runnables. This is useful to provide services to - /// other Runnables (or to provide debugging support tools like SSH servers). + /// This flag allows a Runnable to continue running in the background while the + /// Task executes subsequent Runnables. This is useful to provide services to + /// other Runnables (or to provide debugging support tools like SSH servers). #[prost(bool, tag="4")] pub background: bool, - /// By default, after a Runnable fails, no further Runnable are executed. This - /// flag indicates that this Runnable must be run even if the Task has already - /// failed. This is useful for Runnables that copy output files off of the VM - /// or for debugging. + /// By default, after a Runnable fails, no further Runnable are executed. This + /// flag indicates that this Runnable must be run even if the Task has already + /// failed. This is useful for Runnables that copy output files off of the VM + /// or for debugging. /// - /// The always_run flag does not override the Task's overall max_run_duration. - /// If the max_run_duration has expired then no further Runnables will execute, - /// not even always_run Runnables. + /// The always_run flag does not override the Task's overall max_run_duration. + /// If the max_run_duration has expired then no further Runnables will execute, + /// not even always_run Runnables. #[prost(bool, tag="5")] pub always_run: bool, - /// Environment variables for this Runnable (overrides variables set for the - /// whole Task or TaskGroup). + /// Environment variables for this Runnable (overrides variables set for the + /// whole Task or TaskGroup). #[prost(message, optional, tag="7")] pub environment: ::core::option::Option, - /// Timeout for this Runnable. + /// Timeout for this Runnable. #[prost(message, optional, tag="8")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// The script or container to run. + /// The script or container to run. #[prost(oneof="runnable::Executable", tags="1, 2, 6")] pub executable: ::core::option::Option, } /// Nested message and enum types in `Runnable`. pub mod runnable { - /// Container runnable. + /// Container runnable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Container { - /// The URI to pull the container image from. + /// The URI to pull the container image from. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT - /// (either in the container image or with the entrypoint field below) then - /// commands are appended as arguments to the ENTRYPOINT. + /// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT + /// (either in the container image or with the entrypoint field below) then + /// commands are appended as arguments to the ENTRYPOINT. #[prost(string, repeated, tag="2")] pub commands: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Overrides the `ENTRYPOINT` specified in the container. + /// Overrides the `ENTRYPOINT` specified in the container. #[prost(string, tag="3")] pub entrypoint: ::prost::alloc::string::String, - /// Volumes to mount (bind mount) from the host machine files or directories - /// into the container, formatted to match docker run's --volume option, - /// e.g. /foo:/bar, or /foo:/bar:ro + /// Volumes to mount (bind mount) from the host machine files or directories + /// into the container, formatted to match docker run's --volume option, + /// e.g. /foo:/bar, or /foo:/bar:ro #[prost(string, repeated, tag="7")] pub volumes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Arbitrary additional options to include in the "docker run" command when - /// running this container, e.g. "--network host". + /// Arbitrary additional options to include in the "docker run" command when + /// running this container, e.g. "--network host". #[prost(string, tag="8")] pub options: ::prost::alloc::string::String, - /// If set to true, external network access to and from container will be - /// blocked. The container will use the default internal network - /// 'goog-internal'. + /// If set to true, external network access to and from container will be + /// blocked. The container will use the default internal network + /// 'goog-internal'. #[prost(bool, tag="9")] pub block_external_network: bool, - /// Optional username for logging in to a docker registry. If username - /// matches "projects/*/secrets/*/versions/*" then Batch will read the - /// username from the Secret Manager. + /// Optional username for logging in to a docker registry. If username + /// matches "projects/*/secrets/*/versions/*" then Batch will read the + /// username from the Secret Manager. #[prost(string, tag="10")] pub username: ::prost::alloc::string::String, - /// Optional password for logging in to a docker registry. If password - /// matches "projects/*/secrets/*/versions/*" then Batch will read the - /// password from the Secret Manager; + /// Optional password for logging in to a docker registry. If password + /// matches "projects/*/secrets/*/versions/*" then Batch will read the + /// password from the Secret Manager; #[prost(string, tag="11")] pub password: ::prost::alloc::string::String, } - /// Script runnable. + /// Script runnable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Script { #[prost(oneof="script::Command", tags="1, 2")] @@ -223,117 +223,117 @@ pub mod runnable { pub mod script { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Command { - /// Script file path on the host VM. + /// Script file path on the host VM. #[prost(string, tag="1")] Path(::prost::alloc::string::String), - /// Shell script text. + /// Shell script text. #[prost(string, tag="2")] Text(::prost::alloc::string::String), } } - /// Barrier runnable blocks until all tasks in a taskgroup reach it. + /// Barrier runnable blocks until all tasks in a taskgroup reach it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Barrier { - /// Barriers are identified by their index in runnable list. - /// Names are not required, but if present should be an identifier. + /// Barriers are identified by their index in runnable list. + /// Names are not required, but if present should be an identifier. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } - /// The script or container to run. + /// The script or container to run. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Executable { - /// Container runnable. + /// Container runnable. #[prost(message, tag="1")] Container(Container), - /// Script runnable. + /// Script runnable. #[prost(message, tag="2")] Script(Script), - /// Barrier runnable. + /// Barrier runnable. #[prost(message, tag="6")] Barrier(Barrier), } } -/// Spec of a task +/// Spec of a task #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskSpec { - /// The sequence of scripts or containers to run for this Task. Each Task using - /// this TaskSpec executes its list of runnables in order. The Task succeeds if - /// all of its runnables either exit with a zero status or any that exit with a - /// non-zero status have the ignore_exit_status flag. + /// The sequence of scripts or containers to run for this Task. Each Task using + /// this TaskSpec executes its list of runnables in order. The Task succeeds if + /// all of its runnables either exit with a zero status or any that exit with a + /// non-zero status have the ignore_exit_status flag. /// - /// Background runnables are killed automatically (if they have not already - /// exited) a short time after all foreground runnables have completed. Even - /// though this is likely to result in a non-zero exit status for the - /// background runnable, these automatic kills are not treated as Task - /// failures. + /// Background runnables are killed automatically (if they have not already + /// exited) a short time after all foreground runnables have completed. Even + /// though this is likely to result in a non-zero exit status for the + /// background runnable, these automatic kills are not treated as Task + /// failures. #[prost(message, repeated, tag="8")] pub runnables: ::prost::alloc::vec::Vec, - /// ComputeResource requirements. + /// ComputeResource requirements. #[prost(message, optional, tag="3")] pub compute_resource: ::core::option::Option, - /// Maximum duration the task should run. - /// The task will be killed and marked as FAILED if over this limit. + /// Maximum duration the task should run. + /// The task will be killed and marked as FAILED if over this limit. #[prost(message, optional, tag="4")] pub max_run_duration: ::core::option::Option<::prost_types::Duration>, - /// Maximum number of retries on failures. - /// The default, 0, which means never retry. - /// The valid value range is [0, 10]. + /// Maximum number of retries on failures. + /// The default, 0, which means never retry. + /// The valid value range is [0, 10]. #[prost(int32, tag="5")] pub max_retry_count: i32, - /// Lifecycle management schema when any task in a task group is failed. - /// The valid size of lifecycle policies are [0, 10]. - /// For each lifecycle policy, when the condition is met, - /// the action in that policy will execute. - /// If there are multiple policies that the task execution result matches, - /// we use the action from the first matched policy. If task execution result - /// does not meet with any of the defined lifecycle policy, we consider it as - /// the default policy. Default policy means if the exit code is 0, exit task. - /// If task ends with non-zero exit code, retry the task with max_retry_count. + /// Lifecycle management schema when any task in a task group is failed. + /// The valid size of lifecycle policies are [0, 10]. + /// For each lifecycle policy, when the condition is met, + /// the action in that policy will execute. + /// If there are multiple policies that the task execution result matches, + /// we use the action from the first matched policy. If task execution result + /// does not meet with any of the defined lifecycle policy, we consider it as + /// the default policy. Default policy means if the exit code is 0, exit task. + /// If task ends with non-zero exit code, retry the task with max_retry_count. #[prost(message, repeated, tag="9")] pub lifecycle_policies: ::prost::alloc::vec::Vec, - /// Environment variables to set before running the Task. - /// You can set up to 100 environments. + /// Environment variables to set before running the Task. + /// You can set up to 100 environments. #[prost(map="string, string", tag="6")] pub environments: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Volumes to mount before running Tasks using this TaskSpec. + /// Volumes to mount before running Tasks using this TaskSpec. #[prost(message, repeated, tag="7")] pub volumes: ::prost::alloc::vec::Vec, - /// Environment variables to set before running the Task. + /// Environment variables to set before running the Task. #[prost(message, optional, tag="10")] pub environment: ::core::option::Option, } -/// LifecyclePolicy describes how to deal with task failures -/// based on different conditions. +/// LifecyclePolicy describes how to deal with task failures +/// based on different conditions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifecyclePolicy { - /// Action to execute when ActionCondition is true. + /// Action to execute when ActionCondition is true. #[prost(enumeration="lifecycle_policy::Action", tag="1")] pub action: i32, - /// Conditions that decide why a task failure is dealt with a specific action. + /// Conditions that decide why a task failure is dealt with a specific action. #[prost(message, optional, tag="2")] pub action_condition: ::core::option::Option, } /// Nested message and enum types in `LifecyclePolicy`. pub mod lifecycle_policy { - /// Conditions for actions to deal with task failures. + /// Conditions for actions to deal with task failures. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionCondition { - /// Exit codes of a task execution. - /// If there are more than 1 exit codes, - /// when task executes with any of the exit code in the list, - /// the condition is met and the action will be executed. + /// Exit codes of a task execution. + /// If there are more than 1 exit codes, + /// when task executes with any of the exit code in the list, + /// the condition is met and the action will be executed. #[prost(int32, repeated, tag="1")] pub exit_codes: ::prost::alloc::vec::Vec, } - /// Action on task failures based on different conditions. + /// Action on task failures based on different conditions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { - /// Action unspecified. + /// Action unspecified. Unspecified = 0, - /// Action that tasks in the group will be scheduled to re-execute. + /// Action that tasks in the group will be scheduled to re-execute. RetryTask = 1, - /// Action that tasks in the group will be stopped immediately. + /// Action that tasks in the group will be stopped immediately. FailTask = 2, } impl Action { @@ -350,101 +350,101 @@ pub mod lifecycle_policy { } } } -/// A Cloud Batch task. +/// A Cloud Batch task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Task { - /// Task name. - /// The name is generated from the parent TaskGroup name and 'id' field. - /// For example: - /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". + /// Task name. + /// The name is generated from the parent TaskGroup name and 'id' field. + /// For example: + /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Task Status. + /// Task Status. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } -/// An Environment describes a collection of environment variables to set when -/// executing Tasks. +/// An Environment describes a collection of environment variables to set when +/// executing Tasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Environment { - /// A map of environment variable names to values. + /// A map of environment variable names to values. #[prost(map="string, string", tag="1")] pub variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// The Cloud Batch Job description. +/// The Cloud Batch Job description. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Output only. Job name. - /// For example: "projects/123456/locations/us-central1/jobs/job01". + /// Output only. Job name. + /// For example: "projects/123456/locations/us-central1/jobs/job01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. A system generated unique ID (in UUID4 format) for the Job. + /// Output only. A system generated unique ID (in UUID4 format) for the Job. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Priority of the Job. - /// The valid value range is [0, 100). - /// A job with higher priority value is more likely to run earlier if all other - /// requirements are satisfied. + /// Priority of the Job. + /// The valid value range is [0, 100). + /// A job with higher priority value is more likely to run earlier if all other + /// requirements are satisfied. #[prost(int64, tag="3")] pub priority: i64, - /// Required. TaskGroups in the Job. Only one TaskGroup is supported now. + /// Required. TaskGroups in the Job. Only one TaskGroup is supported now. #[prost(message, repeated, tag="4")] pub task_groups: ::prost::alloc::vec::Vec, - /// Compute resource allocation for all TaskGroups in the Job. + /// Compute resource allocation for all TaskGroups in the Job. #[prost(message, optional, tag="7")] pub allocation_policy: ::core::option::Option, - /// Labels for the Job. Labels could be user provided or system generated. - /// For example, - /// "labels": { + /// Labels for the Job. Labels could be user provided or system generated. + /// For example, + /// "labels": { /// "department": "finance", /// "environment": "test" /// } - /// You can assign up to 64 labels. [Google Compute Engine label - /// restrictions]() - /// apply. - /// Label names that start with "goog-" or "google-" are reserved. + /// You can assign up to 64 labels. [Google Compute Engine label + /// restrictions]() + /// apply. + /// Label names that start with "goog-" or "google-" are reserved. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Job status. It is read only for users. + /// Output only. Job status. It is read only for users. #[prost(message, optional, tag="9")] pub status: ::core::option::Option, - /// Output only. When the Job was created. + /// Output only. When the Job was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last time the Job was updated. + /// Output only. The last time the Job was updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Log preservation policy for the Job. + /// Log preservation policy for the Job. #[prost(message, optional, tag="13")] pub logs_policy: ::core::option::Option, - /// Notification configurations. + /// Notification configurations. #[prost(message, repeated, tag="14")] pub notifications: ::prost::alloc::vec::Vec, } -/// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be -/// preserved. +/// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be +/// preserved. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogsPolicy { - /// Where logs should be saved. + /// Where logs should be saved. #[prost(enumeration="logs_policy::Destination", tag="1")] pub destination: i32, - /// The path to which logs are saved when the destination = PATH. This can be a - /// local file path on the VM, or under the mount point of a Persistent Disk or - /// Filestore, or a Cloud Storage path. + /// The path to which logs are saved when the destination = PATH. This can be a + /// local file path on the VM, or under the mount point of a Persistent Disk or + /// Filestore, or a Cloud Storage path. #[prost(string, tag="2")] pub logs_path: ::prost::alloc::string::String, } /// Nested message and enum types in `LogsPolicy`. pub mod logs_policy { - /// The destination (if any) for logs. + /// The destination (if any) for logs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Destination { - /// Logs are not preserved. + /// Logs are not preserved. Unspecified = 0, - /// Logs are streamed to Cloud Logging. + /// Logs are streamed to Cloud Logging. CloudLogging = 1, - /// Logs are saved to a file path. + /// Logs are saved to a file path. Path = 2, } impl Destination { @@ -461,69 +461,69 @@ pub mod logs_policy { } } } -/// Job status. +/// Job status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatus { - /// Job state + /// Job state #[prost(enumeration="job_status::State", tag="1")] pub state: i32, - /// Job status events + /// Job status events #[prost(message, repeated, tag="2")] pub status_events: ::prost::alloc::vec::Vec, - /// Aggregated task status for each TaskGroup in the Job. - /// The map key is TaskGroup ID. + /// Aggregated task status for each TaskGroup in the Job. + /// The map key is TaskGroup ID. #[prost(map="string, message", tag="4")] pub task_groups: ::std::collections::HashMap<::prost::alloc::string::String, job_status::TaskGroupStatus>, - /// The duration of time that the Job spent in status RUNNING. + /// The duration of time that the Job spent in status RUNNING. #[prost(message, optional, tag="5")] pub run_duration: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `JobStatus`. pub mod job_status { - /// VM instance status. + /// VM instance status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceStatus { - /// The Compute Engine machine type. + /// The Compute Engine machine type. #[prost(string, tag="1")] pub machine_type: ::prost::alloc::string::String, - /// The VM instance provisioning model. + /// The VM instance provisioning model. #[prost(enumeration="super::allocation_policy::ProvisioningModel", tag="2")] pub provisioning_model: i32, - /// The max number of tasks can be assigned to this instance type. + /// The max number of tasks can be assigned to this instance type. #[prost(int64, tag="3")] pub task_pack: i64, } - /// Aggregated task status for a TaskGroup. + /// Aggregated task status for a TaskGroup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskGroupStatus { - /// Count of task in each state in the TaskGroup. - /// The map key is task state name. + /// Count of task in each state in the TaskGroup. + /// The map key is task state name. #[prost(map="string, int64", tag="1")] pub counts: ::std::collections::HashMap<::prost::alloc::string::String, i64>, - /// Status of instances allocated for the TaskGroup. + /// Status of instances allocated for the TaskGroup. #[prost(message, repeated, tag="2")] pub instances: ::prost::alloc::vec::Vec, } - /// Valid Job states. + /// Valid Job states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { Unspecified = 0, - /// Job is admitted (validated and persisted) and waiting for resources. + /// Job is admitted (validated and persisted) and waiting for resources. Queued = 1, - /// Job is scheduled to run as soon as resource allocation is ready. - /// The resource allocation may happen at a later time but with a high - /// chance to succeed. + /// Job is scheduled to run as soon as resource allocation is ready. + /// The resource allocation may happen at a later time but with a high + /// chance to succeed. Scheduled = 2, - /// Resource allocation has been successful. At least one Task in the Job is - /// RUNNING. + /// Resource allocation has been successful. At least one Task in the Job is + /// RUNNING. Running = 3, - /// All Tasks in the Job have finished successfully. + /// All Tasks in the Job have finished successfully. Succeeded = 4, - /// At least one Task in the Job has failed. + /// At least one Task in the Job has failed. Failed = 5, - /// The Job will be deleted, but has not been deleted yet. Typically this is - /// because resources used by the Job are still being cleaned up. + /// The Job will be deleted, but has not been deleted yet. Typically this is + /// because resources used by the Job are still being cleaned up. DeletionInProgress = 6, } impl State { @@ -544,47 +544,47 @@ pub mod job_status { } } } -/// Notification configurations. +/// Notification configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobNotification { - /// The Pub/Sub topic where notifications like the job state changes - /// will be published. This topic exist in the same project as the job - /// and billings will be charged to this project. - /// If not specified, no Pub/Sub messages will be sent. - /// Topic format: `projects/{project}/topics/{topic}`. + /// The Pub/Sub topic where notifications like the job state changes + /// will be published. This topic exist in the same project as the job + /// and billings will be charged to this project. + /// If not specified, no Pub/Sub messages will be sent. + /// Topic format: `projects/{project}/topics/{topic}`. #[prost(string, tag="1")] pub pubsub_topic: ::prost::alloc::string::String, - /// The attribute requirements of messages to be sent to this Pub/Sub topic. - /// Without this field, no message will be sent. + /// The attribute requirements of messages to be sent to this Pub/Sub topic. + /// Without this field, no message will be sent. #[prost(message, optional, tag="2")] pub message: ::core::option::Option, } /// Nested message and enum types in `JobNotification`. pub mod job_notification { - /// Message details. - /// Describe the attribute that a message should have. - /// Without specified message attributes, no message will be sent by default. + /// Message details. + /// Describe the attribute that a message should have. + /// Without specified message attributes, no message will be sent by default. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Message { - /// The message type. + /// The message type. #[prost(enumeration="Type", tag="1")] pub r#type: i32, - /// The new job state. + /// The new job state. #[prost(enumeration="super::job_status::State", tag="2")] pub new_job_state: i32, - /// The new task state. + /// The new task state. #[prost(enumeration="super::task_status::State", tag="3")] pub new_task_state: i32, } - /// The message type. + /// The message type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Notify users that the job state has changed. + /// Notify users that the job state has changed. JobStateChanged = 1, - /// Notify users that the task state has changed. + /// Notify users that the task state has changed. TaskStateChanged = 2, } impl Type { @@ -601,27 +601,27 @@ pub mod job_notification { } } } -/// A Job's resource allocation policy describes when, where, and how compute -/// resources should be allocated for the Job. +/// A Job's resource allocation policy describes when, where, and how compute +/// resources should be allocated for the Job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocationPolicy { - /// Location where compute resources should be allocated for the Job. + /// Location where compute resources should be allocated for the Job. #[prost(message, optional, tag="1")] pub location: ::core::option::Option, - /// Describe instances that can be created by this AllocationPolicy. - /// Only instances\[0\] is supported now. + /// Describe instances that can be created by this AllocationPolicy. + /// Only instances\[0\] is supported now. #[prost(message, repeated, tag="8")] pub instances: ::prost::alloc::vec::Vec, - /// Labels applied to all VM instances and other resources - /// created by AllocationPolicy. - /// Labels could be user provided or system generated. - /// You can assign up to 64 labels. [Google Compute Engine label - /// restrictions]() - /// apply. - /// Label names that start with "goog-" or "google-" are reserved. + /// Labels applied to all VM instances and other resources + /// created by AllocationPolicy. + /// Labels could be user provided or system generated. + /// You can assign up to 64 labels. [Google Compute Engine label + /// restrictions]() + /// apply. + /// Label names that start with "goog-" or "google-" are reserved. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The network policy. + /// The network policy. #[prost(message, optional, tag="7")] pub network: ::core::option::Option, } @@ -629,65 +629,65 @@ pub struct AllocationPolicy { pub mod allocation_policy { #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPolicy { - /// A list of allowed location names represented by internal URLs. - /// Each location can be a region or a zone. - /// Only one region or multiple zones in one region is supported now. - /// For example, - /// \["regions/us-central1"\] allow VMs in any zones in region us-central1. - /// ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs - /// in zones us-central1-a and us-central1-c. - /// All locations end up in different regions would cause errors. - /// For example, - /// ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - /// "zones/us-west1-a"] contains 2 regions "us-central1" and - /// "us-west1". An error is expected in this case. + /// A list of allowed location names represented by internal URLs. + /// Each location can be a region or a zone. + /// Only one region or multiple zones in one region is supported now. + /// For example, + /// \["regions/us-central1"\] allow VMs in any zones in region us-central1. + /// ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs + /// in zones us-central1-a and us-central1-c. + /// All locations end up in different regions would cause errors. + /// For example, + /// ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", + /// "zones/us-west1-a"] contains 2 regions "us-central1" and + /// "us-west1". An error is expected in this case. #[prost(string, repeated, tag="1")] pub allowed_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A new persistent disk or a local ssd. - /// A VM can only have one local SSD setting but multiple local SSD partitions. - /// - /// + /// A new persistent disk or a local ssd. + /// A VM can only have one local SSD setting but multiple local SSD partitions. + /// + /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Disk { - /// Disk type as shown in `gcloud compute disk-types list` - /// For example, "pd-ssd", "pd-standard", "pd-balanced", "local-ssd". + /// Disk type as shown in `gcloud compute disk-types list` + /// For example, "pd-ssd", "pd-standard", "pd-balanced", "local-ssd". #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Disk size in GB. - /// This field is ignored if `data_source` is `disk` or `image`. - /// If `type` is `local-ssd`, size_gb should be a multiple of 375GB, - /// otherwise, the final size will be the next greater multiple of 375 GB. + /// Disk size in GB. + /// This field is ignored if `data_source` is `disk` or `image`. + /// If `type` is `local-ssd`, size_gb should be a multiple of 375GB, + /// otherwise, the final size will be the next greater multiple of 375 GB. #[prost(int64, tag="2")] pub size_gb: i64, - /// Local SSDs are available through both "SCSI" and "NVMe" interfaces. - /// If not indicated, "NVMe" will be the default one for local ssds. - /// We only support "SCSI" for persistent disks now. + /// Local SSDs are available through both "SCSI" and "NVMe" interfaces. + /// If not indicated, "NVMe" will be the default one for local ssds. + /// We only support "SCSI" for persistent disks now. #[prost(string, tag="6")] pub disk_interface: ::prost::alloc::string::String, - /// A data source from which a PD will be created. + /// A data source from which a PD will be created. #[prost(oneof="disk::DataSource", tags="4, 5")] pub data_source: ::core::option::Option, } /// Nested message and enum types in `Disk`. pub mod disk { - /// A data source from which a PD will be created. + /// A data source from which a PD will be created. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataSource { - /// Name of a public or custom image used as the data source. + /// Name of a public or custom image used as the data source. #[prost(string, tag="4")] Image(::prost::alloc::string::String), - /// Name of a snapshot used as the data source. + /// Name of a snapshot used as the data source. #[prost(string, tag="5")] Snapshot(::prost::alloc::string::String), } } - /// A new or an existing persistent disk or a local ssd attached to a VM - /// instance. + /// A new or an existing persistent disk or a local ssd attached to a VM + /// instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachedDisk { - /// Device name that the guest operating system will see. - /// If not specified, this is default to the disk name. + /// Device name that the guest operating system will see. + /// If not specified, this is default to the disk name. #[prost(string, tag="3")] pub device_name: ::prost::alloc::string::String, #[prost(oneof="attached_disk::Attached", tags="1, 2")] @@ -699,51 +699,51 @@ pub mod allocation_policy { pub enum Attached { #[prost(message, tag="1")] NewDisk(super::Disk), - /// Name of an existing PD. + /// Name of an existing PD. #[prost(string, tag="2")] ExistingDisk(::prost::alloc::string::String), } } - /// Accelerator describes Compute Engine accelerators to be attached to VMs. + /// Accelerator describes Compute Engine accelerators to be attached to VMs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Accelerator { - /// The accelerator type. For example, "nvidia-tesla-t4". - /// See `gcloud compute accelerator-types list`. + /// The accelerator type. For example, "nvidia-tesla-t4". + /// See `gcloud compute accelerator-types list`. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// The number of accelerators of this type. + /// The number of accelerators of this type. #[prost(int64, tag="2")] pub count: i64, #[deprecated] #[prost(bool, tag="3")] pub install_gpu_drivers: bool, } - /// InstancePolicy describes an instance type and resources attached to each VM - /// created by this InstancePolicy. + /// InstancePolicy describes an instance type and resources attached to each VM + /// created by this InstancePolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancePolicy { - /// The Compute Engine machine type. + /// The Compute Engine machine type. #[prost(string, tag="2")] pub machine_type: ::prost::alloc::string::String, - /// The minimum CPU platform. - /// See - /// ` - /// Not yet implemented. + /// The minimum CPU platform. + /// See + /// ` + /// Not yet implemented. #[prost(string, tag="3")] pub min_cpu_platform: ::prost::alloc::string::String, - /// The provisioning model. + /// The provisioning model. #[prost(enumeration="ProvisioningModel", tag="4")] pub provisioning_model: i32, - /// The accelerators attached to each VM instance. - /// Not yet implemented. + /// The accelerators attached to each VM instance. + /// Not yet implemented. #[prost(message, repeated, tag="5")] pub accelerators: ::prost::alloc::vec::Vec, - /// Non-boot disks to be attached for each VM created by this InstancePolicy. - /// New disks will be deleted when the attached VM is deleted. + /// Non-boot disks to be attached for each VM created by this InstancePolicy. + /// New disks will be deleted when the attached VM is deleted. #[prost(message, repeated, tag="6")] pub disks: ::prost::alloc::vec::Vec, } - /// Either an InstancePolicy or an instance template. + /// Either an InstancePolicy or an instance template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancePolicyOrTemplate { #[prost(oneof="instance_policy_or_template::PolicyTemplate", tags="1, 2")] @@ -753,58 +753,58 @@ pub mod allocation_policy { pub mod instance_policy_or_template { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PolicyTemplate { - /// InstancePolicy. + /// InstancePolicy. #[prost(message, tag="1")] Policy(super::InstancePolicy), - /// Name of an instance template used to create VMs. - /// Named the field as 'instance_template' instead of 'template' to avoid - /// c++ keyword conflict. + /// Name of an instance template used to create VMs. + /// Named the field as 'instance_template' instead of 'template' to avoid + /// c++ keyword conflict. #[prost(string, tag="2")] InstanceTemplate(::prost::alloc::string::String), } } - /// A network interface. + /// A network interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkInterface { - /// The URL of the network resource. + /// The URL of the network resource. #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// The URL of the Subnetwork resource. + /// The URL of the Subnetwork resource. #[prost(string, tag="2")] pub subnetwork: ::prost::alloc::string::String, - /// Default is false (with an external IP address). Required if - /// no external public IP address is attached to the VM. If no external - /// public IP address, additional configuration is required to allow the VM - /// to access Google Services. See - /// and - /// for more - /// information. + /// Default is false (with an external IP address). Required if + /// no external public IP address is attached to the VM. If no external + /// public IP address, additional configuration is required to allow the VM + /// to access Google Services. See + /// and + /// for more + /// information. #[prost(bool, tag="3")] pub no_external_ip_address: bool, } - /// NetworkPolicy describes VM instance network configurations. + /// NetworkPolicy describes VM instance network configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkPolicy { - /// Network configurations. + /// Network configurations. #[prost(message, repeated, tag="1")] pub network_interfaces: ::prost::alloc::vec::Vec, } - /// Compute Engine VM instance provisioning model. + /// Compute Engine VM instance provisioning model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProvisioningModel { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Standard VM. + /// Standard VM. Standard = 1, - /// SPOT VM. + /// SPOT VM. Spot = 2, - /// Preemptible VM (PVM). + /// Preemptible VM (PVM). /// - /// Above SPOT VM is the preferable model for preemptible VM instances: the - /// old preemptible VM model (indicated by this field) is the older model, - /// and has been migrated to use the SPOT model as the underlying technology. - /// This old model will still be supported. + /// Above SPOT VM is the preferable model for preemptible VM instances: the + /// old preemptible VM model (indicated by this field) is the older model, + /// and has been migrated to use the SPOT model as the underlying technology. + /// This old model will still be supported. Preemptible = 3, } impl ProvisioningModel { @@ -822,217 +822,217 @@ pub mod allocation_policy { } } } -/// A TaskGroup contains one or multiple Tasks that share the same -/// Runnable but with different runtime parameters. +/// A TaskGroup contains one or multiple Tasks that share the same +/// Runnable but with different runtime parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskGroup { - /// Output only. TaskGroup name. - /// The system generates this field based on parent Job name. - /// For example: - /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". + /// Output only. TaskGroup name. + /// The system generates this field based on parent Job name. + /// For example: + /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Tasks in the group share the same task spec. + /// Required. Tasks in the group share the same task spec. #[prost(message, optional, tag="3")] pub task_spec: ::core::option::Option, - /// Number of Tasks in the TaskGroup. - /// default is 1 + /// Number of Tasks in the TaskGroup. + /// default is 1 #[prost(int64, tag="4")] pub task_count: i64, - /// Max number of tasks that can run in parallel. - /// Default to min(task_count, 1000). + /// Max number of tasks that can run in parallel. + /// Default to min(task_count, 1000). #[prost(int64, tag="5")] pub parallelism: i64, - /// An array of environment variable mappings, which are passed to Tasks with - /// matching indices. If task_environments is used then task_count should - /// not be specified in the request (and will be ignored). Task count will be - /// the length of task_environments. + /// An array of environment variable mappings, which are passed to Tasks with + /// matching indices. If task_environments is used then task_count should + /// not be specified in the request (and will be ignored). Task count will be + /// the length of task_environments. /// - /// Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in - /// addition to any environment variables set in task_environments, specifying - /// the number of Tasks in the Task's parent TaskGroup, and the specific Task's - /// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). + /// Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in + /// addition to any environment variables set in task_environments, specifying + /// the number of Tasks in the Task's parent TaskGroup, and the specific Task's + /// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). /// - /// task_environments supports up to 200 entries. + /// task_environments supports up to 200 entries. #[prost(message, repeated, tag="9")] pub task_environments: ::prost::alloc::vec::Vec, - /// Max number of tasks that can be run on a VM at the same time. - /// If not specified, the system will decide a value based on available - /// compute resources on a VM and task requirements. + /// Max number of tasks that can be run on a VM at the same time. + /// If not specified, the system will decide a value based on available + /// compute resources on a VM and task requirements. #[prost(int64, tag="10")] pub task_count_per_node: i64, - /// When true, Batch will populate a file with a list of all VMs assigned to - /// the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path - /// of that file. Defaults to false. + /// When true, Batch will populate a file with a list of all VMs assigned to + /// the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path + /// of that file. Defaults to false. #[prost(bool, tag="11")] pub require_hosts_file: bool, - /// When true, Batch will configure SSH to allow passwordless login between - /// VMs running the Batch tasks in the same TaskGroup. + /// When true, Batch will configure SSH to allow passwordless login between + /// VMs running the Batch tasks in the same TaskGroup. #[prost(bool, tag="12")] pub permissive_ssh: bool, } -/// CreateJob Request. +/// CreateJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateJobRequest { - /// Required. The parent resource name where the Job will be created. - /// Pattern: "projects/{project}/locations/{location}" + /// Required. The parent resource name where the Job will be created. + /// Pattern: "projects/{project}/locations/{location}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. - /// The '-' character cannot be the first or the last one. - /// A system generated ID will be used if the field is not set. + /// ID used to uniquely identify the Job within its parent scope. + /// This field should contain at most 63 characters. + /// Only alphanumeric characters or '-' are accepted. + /// The '-' character cannot be the first or the last one. + /// A system generated ID will be used if the field is not set. /// - /// The job.name field in the request will be ignored and the created resource - /// name of the Job will be "{parent}/jobs/{job_id}". + /// The job.name field in the request will be ignored and the created resource + /// name of the Job will be "{parent}/jobs/{job_id}". #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, - /// Required. The Job to create. + /// Required. The Job to create. #[prost(message, optional, tag="3")] pub job: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// GetJob Request. +/// GetJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetJobRequest { - /// Required. Job name. + /// Required. Job name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// DeleteJob Request. +/// DeleteJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteJobRequest { - /// Job name. + /// Job name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Reason for this deletion. + /// Optional. Reason for this deletion. #[prost(string, tag="2")] pub reason: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// ListJob Request. +/// ListJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsRequest { - /// Parent path. + /// Parent path. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// ListJob Response. +/// ListJob Response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsResponse { - /// Jobs. + /// Jobs. #[prost(message, repeated, tag="1")] pub jobs: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// ListTasks Request. +/// ListTasks Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksRequest { - /// Required. Name of a TaskGroup from which Tasks are being requested. - /// Pattern: - /// "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" + /// Required. Name of a TaskGroup from which Tasks are being requested. + /// Pattern: + /// "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Task filter, null filter matches all Tasks. - /// Filter string should be of the format State=TaskStatus.State e.g. - /// State=RUNNING + /// Task filter, null filter matches all Tasks. + /// Filter string should be of the format State=TaskStatus.State e.g. + /// State=RUNNING #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// ListTasks Response. +/// ListTasks Response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksResponse { - /// Tasks. + /// Tasks. #[prost(message, repeated, tag="1")] pub tasks: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for a single Task by name. +/// Request for a single Task by name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTaskRequest { - /// Required. Task name. + /// Required. Task name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.batch.v1alpha.rs b/gcloud-sdk/genproto/google.cloud.batch.v1alpha.rs index 4fa483dd3..9488ccded 100644 --- a/gcloud-sdk/genproto/google.cloud.batch.v1alpha.rs +++ b/gcloud-sdk/genproto/google.cloud.batch.v1alpha.rs @@ -1,149 +1,149 @@ -/// Volume and mount parameters to be associated with a TaskSpec. A TaskSpec -/// might describe zero, one, or multiple volumes to be mounted as part of the -/// task. +/// Volume and mount parameters to be associated with a TaskSpec. A TaskSpec +/// might describe zero, one, or multiple volumes to be mounted as part of the +/// task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Volume { - /// Mount path for the volume, e.g. /mnt/share + /// Mount path for the volume, e.g. /mnt/share #[prost(string, tag="4")] pub mount_path: ::prost::alloc::string::String, - /// Mount options - /// For Google Cloud Storage, mount options are the global options supported by - /// gcsfuse tool. Batch will use them to mount the volume with the following - /// command: - /// "gcsfuse [global options] bucket mountpoint". - /// For PD, NFS, mount options are these supported by /etc/fstab. Batch will - /// use Fstab to mount such volumes. - /// + /// Mount options + /// For Google Cloud Storage, mount options are the global options supported by + /// gcsfuse tool. Batch will use them to mount the volume with the following + /// command: + /// "gcsfuse [global options] bucket mountpoint". + /// For PD, NFS, mount options are these supported by /etc/fstab. Batch will + /// use Fstab to mount such volumes. + /// #[prost(string, repeated, tag="5")] pub mount_options: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The source for the volume. + /// The source for the volume. #[prost(oneof="volume::Source", tags="1, 2, 3, 6")] pub source: ::core::option::Option, } /// Nested message and enum types in `Volume`. pub mod volume { - /// The source for the volume. + /// The source for the volume. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// An NFS source for the volume (could be a Filestore, for example). + /// An NFS source for the volume (could be a Filestore, for example). #[prost(message, tag="1")] Nfs(super::Nfs), - /// A persistent disk source for the volume. + /// A persistent disk source for the volume. #[prost(message, tag="2")] Pd(super::Pd), - /// A Google Cloud Storage source for the volume. + /// A Google Cloud Storage source for the volume. #[prost(message, tag="3")] Gcs(super::Gcs), - /// Device name of an attached disk + /// Device name of an attached disk #[prost(string, tag="6")] DeviceName(::prost::alloc::string::String), } } -/// Represents an NFS server and remote path: : +/// Represents an NFS server and remote path: : #[derive(Clone, PartialEq, ::prost::Message)] pub struct Nfs { - /// URI of the NFS server, e.g. an IP address. + /// URI of the NFS server, e.g. an IP address. #[prost(string, tag="1")] pub server: ::prost::alloc::string::String, - /// Remote source path exported from NFS, e.g., "/share". + /// Remote source path exported from NFS, e.g., "/share". #[prost(string, tag="2")] pub remote_path: ::prost::alloc::string::String, } -/// Represents a GCP persistent disk +/// Represents a GCP persistent disk #[derive(Clone, PartialEq, ::prost::Message)] pub struct Pd { - /// PD disk name, e.g. pd-1. + /// PD disk name, e.g. pd-1. #[prost(string, tag="1")] pub disk: ::prost::alloc::string::String, - /// PD device name, e.g. persistent-disk-1. + /// PD device name, e.g. persistent-disk-1. #[prost(string, tag="2")] pub device: ::prost::alloc::string::String, - /// Whether this is an existing PD. Default is false. If false, i.e., new - /// PD, we will format it into ext4 and mount to the given path. If true, i.e., - /// existing PD, it should be in ext4 format and we will mount it to the given - /// path. + /// Whether this is an existing PD. Default is false. If false, i.e., new + /// PD, we will format it into ext4 and mount to the given path. If true, i.e., + /// existing PD, it should be in ext4 format and we will mount it to the given + /// path. #[deprecated] #[prost(bool, tag="3")] pub existing: bool, } -/// Represents a Google Cloud Storage volume source config. +/// Represents a Google Cloud Storage volume source config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Gcs { - /// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: - /// bucket_name, bucket_name/subdirectory/ + /// Remote path, either a bucket name or a subdirectory of a bucket, e.g.: + /// bucket_name, bucket_name/subdirectory/ #[prost(string, tag="1")] pub remote_path: ::prost::alloc::string::String, } -/// Compute resource requirements +/// Compute resource requirements #[derive(Clone, PartialEq, ::prost::Message)] pub struct ComputeResource { - /// The milliCPU count. + /// The milliCPU count. #[prost(int64, tag="1")] pub cpu_milli: i64, - /// Memory in MiB. + /// Memory in MiB. #[prost(int64, tag="2")] pub memory_mib: i64, - /// The GPU count. + /// The GPU count. /// - /// Not yet implemented. + /// Not yet implemented. #[prost(int64, tag="3")] pub gpu_count: i64, - /// Extra boot disk size in MiB for each task. + /// Extra boot disk size in MiB for each task. #[prost(int64, tag="4")] pub boot_disk_mib: i64, } -/// Status event +/// Status event #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatusEvent { - /// Type of the event. + /// Type of the event. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, - /// Description of the event. + /// Description of the event. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// The time this event occurred. + /// The time this event occurred. #[prost(message, optional, tag="2")] pub event_time: ::core::option::Option<::prost_types::Timestamp>, - /// Task Execution + /// Task Execution #[prost(message, optional, tag="4")] pub task_execution: ::core::option::Option, } -/// This Task Execution field includes detail information for -/// task execution procedures, based on StatusEvent types. +/// This Task Execution field includes detail information for +/// task execution procedures, based on StatusEvent types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskExecution { - /// When task is completed as the status of FAILED or SUCCEEDED, - /// exit code is for one task execution result, default is 0 as success. + /// When task is completed as the status of FAILED or SUCCEEDED, + /// exit code is for one task execution result, default is 0 as success. #[prost(int32, tag="1")] pub exit_code: i32, } -/// Status of a task +/// Status of a task #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskStatus { - /// Task state + /// Task state #[prost(enumeration="task_status::State", tag="1")] pub state: i32, - /// Detailed info about why the state is reached. + /// Detailed info about why the state is reached. #[prost(message, repeated, tag="2")] pub status_events: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TaskStatus`. pub mod task_status { - /// Task states. + /// Task states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// unknown state + /// unknown state Unspecified = 0, - /// The Task is created and waiting for resources. + /// The Task is created and waiting for resources. Pending = 1, - /// The Task is assigned to at least one VM. + /// The Task is assigned to at least one VM. Assigned = 2, - /// The Task is running. + /// The Task is running. Running = 3, - /// The Task has failed. + /// The Task has failed. Failed = 4, - /// The Task has succeeded. + /// The Task has succeeded. Succeeded = 5, } impl State { @@ -163,85 +163,85 @@ pub mod task_status { } } } -/// Runnable describes instructions for executing a specific script or container -/// as part of a Task. +/// Runnable describes instructions for executing a specific script or container +/// as part of a Task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Runnable { - /// Normally, a non-zero exit status causes the Task to fail. This flag allows - /// execution of other Runnables to continue instead. + /// Normally, a non-zero exit status causes the Task to fail. This flag allows + /// execution of other Runnables to continue instead. #[prost(bool, tag="3")] pub ignore_exit_status: bool, - /// This flag allows a Runnable to continue running in the background while the - /// Task executes subsequent Runnables. This is useful to provide services to - /// other Runnables (or to provide debugging support tools like SSH servers). + /// This flag allows a Runnable to continue running in the background while the + /// Task executes subsequent Runnables. This is useful to provide services to + /// other Runnables (or to provide debugging support tools like SSH servers). #[prost(bool, tag="4")] pub background: bool, - /// By default, after a Runnable fails, no further Runnable are executed. This - /// flag indicates that this Runnable must be run even if the Task has already - /// failed. This is useful for Runnables that copy output files off of the VM - /// or for debugging. + /// By default, after a Runnable fails, no further Runnable are executed. This + /// flag indicates that this Runnable must be run even if the Task has already + /// failed. This is useful for Runnables that copy output files off of the VM + /// or for debugging. /// - /// The always_run flag does not override the Task's overall max_run_duration. - /// If the max_run_duration has expired then no further Runnables will execute, - /// not even always_run Runnables. + /// The always_run flag does not override the Task's overall max_run_duration. + /// If the max_run_duration has expired then no further Runnables will execute, + /// not even always_run Runnables. #[prost(bool, tag="5")] pub always_run: bool, - /// Environment variables for this Runnable (overrides variables set for the - /// whole Task or TaskGroup). + /// Environment variables for this Runnable (overrides variables set for the + /// whole Task or TaskGroup). #[prost(message, optional, tag="7")] pub environment: ::core::option::Option, - /// Timeout for this Runnable. + /// Timeout for this Runnable. #[prost(message, optional, tag="8")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// Labels for this Runnable. + /// Labels for this Runnable. #[prost(map="string, string", tag="9")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The script or container to run. + /// The script or container to run. #[prost(oneof="runnable::Executable", tags="1, 2, 6")] pub executable: ::core::option::Option, } /// Nested message and enum types in `Runnable`. pub mod runnable { - /// Container runnable. + /// Container runnable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Container { - /// The URI to pull the container image from. + /// The URI to pull the container image from. #[prost(string, tag="1")] pub image_uri: ::prost::alloc::string::String, - /// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT - /// (either in the container image or with the entrypoint field below) then - /// commands are appended as arguments to the ENTRYPOINT. + /// Overrides the `CMD` specified in the container. If there is an ENTRYPOINT + /// (either in the container image or with the entrypoint field below) then + /// commands are appended as arguments to the ENTRYPOINT. #[prost(string, repeated, tag="2")] pub commands: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Overrides the `ENTRYPOINT` specified in the container. + /// Overrides the `ENTRYPOINT` specified in the container. #[prost(string, tag="3")] pub entrypoint: ::prost::alloc::string::String, - /// Volumes to mount (bind mount) from the host machine files or directories - /// into the container, formatted to match docker run's --volume option, - /// e.g. /foo:/bar, or /foo:/bar:ro + /// Volumes to mount (bind mount) from the host machine files or directories + /// into the container, formatted to match docker run's --volume option, + /// e.g. /foo:/bar, or /foo:/bar:ro #[prost(string, repeated, tag="7")] pub volumes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Arbitrary additional options to include in the "docker run" command when - /// running this container, e.g. "--network host". + /// Arbitrary additional options to include in the "docker run" command when + /// running this container, e.g. "--network host". #[prost(string, tag="8")] pub options: ::prost::alloc::string::String, - /// If set to true, external network access to and from container will be - /// blocked. The container will use the default internal network - /// 'goog-internal'. + /// If set to true, external network access to and from container will be + /// blocked. The container will use the default internal network + /// 'goog-internal'. #[prost(bool, tag="9")] pub block_external_network: bool, - /// Optional username for logging in to a docker registry. If username - /// matches "projects/*/secrets/*/versions/*" then Batch will read the - /// username from the Secret Manager. + /// Optional username for logging in to a docker registry. If username + /// matches "projects/*/secrets/*/versions/*" then Batch will read the + /// username from the Secret Manager. #[prost(string, tag="10")] pub username: ::prost::alloc::string::String, - /// Optional password for logging in to a docker registry. If password - /// matches "projects/*/secrets/*/versions/*" then Batch will read the - /// password from the Secret Manager; + /// Optional password for logging in to a docker registry. If password + /// matches "projects/*/secrets/*/versions/*" then Batch will read the + /// password from the Secret Manager; #[prost(string, tag="11")] pub password: ::prost::alloc::string::String, } - /// Script runnable. + /// Script runnable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Script { #[prost(oneof="script::Command", tags="1, 2")] @@ -251,117 +251,117 @@ pub mod runnable { pub mod script { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Command { - /// Script file path on the host VM. + /// Script file path on the host VM. #[prost(string, tag="1")] Path(::prost::alloc::string::String), - /// Shell script text. + /// Shell script text. #[prost(string, tag="2")] Text(::prost::alloc::string::String), } } - /// Barrier runnable blocks until all tasks in a taskgroup reach it. + /// Barrier runnable blocks until all tasks in a taskgroup reach it. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Barrier { - /// Barriers are identified by their index in runnable list. - /// Names are not required, but if present should be an identifier. + /// Barriers are identified by their index in runnable list. + /// Names are not required, but if present should be an identifier. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } - /// The script or container to run. + /// The script or container to run. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Executable { - /// Container runnable. + /// Container runnable. #[prost(message, tag="1")] Container(Container), - /// Script runnable. + /// Script runnable. #[prost(message, tag="2")] Script(Script), - /// Barrier runnable. + /// Barrier runnable. #[prost(message, tag="6")] Barrier(Barrier), } } -/// Spec of a task +/// Spec of a task #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskSpec { - /// The sequence of scripts or containers to run for this Task. Each Task using - /// this TaskSpec executes its list of runnables in order. The Task succeeds if - /// all of its runnables either exit with a zero status or any that exit with a - /// non-zero status have the ignore_exit_status flag. + /// The sequence of scripts or containers to run for this Task. Each Task using + /// this TaskSpec executes its list of runnables in order. The Task succeeds if + /// all of its runnables either exit with a zero status or any that exit with a + /// non-zero status have the ignore_exit_status flag. /// - /// Background runnables are killed automatically (if they have not already - /// exited) a short time after all foreground runnables have completed. Even - /// though this is likely to result in a non-zero exit status for the - /// background runnable, these automatic kills are not treated as Task - /// failures. + /// Background runnables are killed automatically (if they have not already + /// exited) a short time after all foreground runnables have completed. Even + /// though this is likely to result in a non-zero exit status for the + /// background runnable, these automatic kills are not treated as Task + /// failures. #[prost(message, repeated, tag="8")] pub runnables: ::prost::alloc::vec::Vec, - /// ComputeResource requirements. + /// ComputeResource requirements. #[prost(message, optional, tag="3")] pub compute_resource: ::core::option::Option, - /// Maximum duration the task should run. - /// The task will be killed and marked as FAILED if over this limit. + /// Maximum duration the task should run. + /// The task will be killed and marked as FAILED if over this limit. #[prost(message, optional, tag="4")] pub max_run_duration: ::core::option::Option<::prost_types::Duration>, - /// Maximum number of retries on failures. - /// The default, 0, which means never retry. - /// The valid value range is [0, 10]. + /// Maximum number of retries on failures. + /// The default, 0, which means never retry. + /// The valid value range is [0, 10]. #[prost(int32, tag="5")] pub max_retry_count: i32, - /// Lifecycle management schema when any task in a task group is failed. - /// The valid size of lifecycle policies are [0, 10]. - /// For each lifecycle policy, when the condition is met, - /// the action in that policy will execute. - /// If there are multiple policies that the task execution result matches, - /// we use the action from the first matched policy. If task execution result - /// does not meet with any of the defined lifecycle policy, we consider it as - /// the default policy. Default policy means if the exit code is 0, exit task. - /// If task ends with non-zero exit code, retry the task with max_retry_count. + /// Lifecycle management schema when any task in a task group is failed. + /// The valid size of lifecycle policies are [0, 10]. + /// For each lifecycle policy, when the condition is met, + /// the action in that policy will execute. + /// If there are multiple policies that the task execution result matches, + /// we use the action from the first matched policy. If task execution result + /// does not meet with any of the defined lifecycle policy, we consider it as + /// the default policy. Default policy means if the exit code is 0, exit task. + /// If task ends with non-zero exit code, retry the task with max_retry_count. #[prost(message, repeated, tag="9")] pub lifecycle_policies: ::prost::alloc::vec::Vec, - /// Environment variables to set before running the Task. - /// You can set up to 100 environments. + /// Environment variables to set before running the Task. + /// You can set up to 100 environments. #[prost(map="string, string", tag="6")] pub environments: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Volumes to mount before running Tasks using this TaskSpec. + /// Volumes to mount before running Tasks using this TaskSpec. #[prost(message, repeated, tag="7")] pub volumes: ::prost::alloc::vec::Vec, - /// Environment variables to set before running the Task. + /// Environment variables to set before running the Task. #[prost(message, optional, tag="10")] pub environment: ::core::option::Option, } -/// LifecyclePolicy describes how to deal with task failures -/// based on different conditions. +/// LifecyclePolicy describes how to deal with task failures +/// based on different conditions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifecyclePolicy { - /// Action to execute when ActionCondition is true. + /// Action to execute when ActionCondition is true. #[prost(enumeration="lifecycle_policy::Action", tag="1")] pub action: i32, - /// Conditions that decide why a task failure is dealt with a specific action. + /// Conditions that decide why a task failure is dealt with a specific action. #[prost(message, optional, tag="2")] pub action_condition: ::core::option::Option, } /// Nested message and enum types in `LifecyclePolicy`. pub mod lifecycle_policy { - /// Conditions for actions to deal with task failures. + /// Conditions for actions to deal with task failures. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionCondition { - /// Exit codes of a task execution. - /// If there are more than 1 exit codes, - /// when task executes with any of the exit code in the list, - /// the condition is met and the action will be executed. + /// Exit codes of a task execution. + /// If there are more than 1 exit codes, + /// when task executes with any of the exit code in the list, + /// the condition is met and the action will be executed. #[prost(int32, repeated, tag="1")] pub exit_codes: ::prost::alloc::vec::Vec, } - /// Action on task failures based on different conditions. + /// Action on task failures based on different conditions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { - /// Action unspecified. + /// Action unspecified. Unspecified = 0, - /// Action that tasks in the group will be scheduled to re-execute. + /// Action that tasks in the group will be scheduled to re-execute. RetryTask = 1, - /// Action that tasks in the group will be stopped immediately. + /// Action that tasks in the group will be stopped immediately. FailTask = 2, } impl Action { @@ -378,33 +378,33 @@ pub mod lifecycle_policy { } } } -/// A Cloud Batch task. +/// A Cloud Batch task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Task { - /// Task name. - /// The name is generated from the parent TaskGroup name and 'id' field. - /// For example: - /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". + /// Task name. + /// The name is generated from the parent TaskGroup name and 'id' field. + /// For example: + /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01/tasks/task01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Task Status. + /// Task Status. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } -/// An Environment describes a collection of environment variables to set when -/// executing Tasks. +/// An Environment describes a collection of environment variables to set when +/// executing Tasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Environment { - /// A map of environment variable names to values. + /// A map of environment variable names to values. #[prost(map="string, string", tag="1")] pub variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A map of environment variable names to Secret Manager secret names. - /// The VM will access the named secrets to set the value of each environment - /// variable. + /// A map of environment variable names to Secret Manager secret names. + /// The VM will access the named secrets to set the value of each environment + /// variable. #[prost(map="string, string", tag="2")] pub secret_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// An encrypted JSON dictionary where the key/value pairs correspond to - /// environment variable names and their values. + /// An encrypted JSON dictionary where the key/value pairs correspond to + /// environment variable names and their values. #[prost(message, optional, tag="3")] pub encrypted_variables: ::core::option::Option, } @@ -412,88 +412,88 @@ pub struct Environment { pub mod environment { #[derive(Clone, PartialEq, ::prost::Message)] pub struct KmsEnvMap { - /// The name of the KMS key that will be used to decrypt the cipher text. + /// The name of the KMS key that will be used to decrypt the cipher text. #[prost(string, tag="1")] pub key_name: ::prost::alloc::string::String, - /// The value of the cipherText response from the `encrypt` method. + /// The value of the cipherText response from the `encrypt` method. #[prost(string, tag="2")] pub cipher_text: ::prost::alloc::string::String, } } -/// The Cloud Batch Job description. +/// The Cloud Batch Job description. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Output only. Job name. - /// For example: "projects/123456/locations/us-central1/jobs/job01". + /// Output only. Job name. + /// For example: "projects/123456/locations/us-central1/jobs/job01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. A system generated unique ID (in UUID4 format) for the Job. + /// Output only. A system generated unique ID (in UUID4 format) for the Job. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Priority of the Job. - /// The valid value range is [0, 100). - /// A job with higher priority value is more likely to run earlier if all other - /// requirements are satisfied. + /// Priority of the Job. + /// The valid value range is [0, 100). + /// A job with higher priority value is more likely to run earlier if all other + /// requirements are satisfied. #[prost(int64, tag="3")] pub priority: i64, - /// Required. TaskGroups in the Job. Only one TaskGroup is supported now. + /// Required. TaskGroups in the Job. Only one TaskGroup is supported now. #[prost(message, repeated, tag="4")] pub task_groups: ::prost::alloc::vec::Vec, - /// Scheduling policy for TaskGroups in the job. + /// Scheduling policy for TaskGroups in the job. #[prost(enumeration="job::SchedulingPolicy", tag="5")] pub scheduling_policy: i32, - /// At least one of the dependencies must be satisfied before the Job is - /// scheduled to run. - /// Only one JobDependency is supported now. - /// Not yet implemented. + /// At least one of the dependencies must be satisfied before the Job is + /// scheduled to run. + /// Only one JobDependency is supported now. + /// Not yet implemented. #[prost(message, repeated, tag="6")] pub dependencies: ::prost::alloc::vec::Vec, - /// Compute resource allocation for all TaskGroups in the Job. + /// Compute resource allocation for all TaskGroups in the Job. #[prost(message, optional, tag="7")] pub allocation_policy: ::core::option::Option, - /// Labels for the Job. Labels could be user provided or system generated. - /// For example, - /// "labels": { + /// Labels for the Job. Labels could be user provided or system generated. + /// For example, + /// "labels": { /// "department": "finance", /// "environment": "test" /// } - /// You can assign up to 64 labels. [Google Compute Engine label - /// restrictions]() - /// apply. - /// Label names that start with "goog-" or "google-" are reserved. + /// You can assign up to 64 labels. [Google Compute Engine label + /// restrictions]() + /// apply. + /// Label names that start with "goog-" or "google-" are reserved. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Job status. It is read only for users. + /// Output only. Job status. It is read only for users. #[prost(message, optional, tag="9")] pub status: ::core::option::Option, - /// Job notification. + /// Job notification. #[deprecated] #[prost(message, optional, tag="10")] pub notification: ::core::option::Option, - /// Output only. When the Job was created. + /// Output only. When the Job was created. #[prost(message, optional, tag="11")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last time the Job was updated. + /// Output only. The last time the Job was updated. #[prost(message, optional, tag="12")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Log preservation policy for the Job. + /// Log preservation policy for the Job. #[prost(message, optional, tag="13")] pub logs_policy: ::core::option::Option, - /// Notification configurations. + /// Notification configurations. #[prost(message, repeated, tag="14")] pub notifications: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Job`. pub mod job { - /// The order that TaskGroups are scheduled relative to each other. + /// The order that TaskGroups are scheduled relative to each other. /// - /// Not yet implemented. + /// Not yet implemented. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SchedulingPolicy { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Run all TaskGroups as soon as possible. + /// Run all TaskGroups as soon as possible. AsSoonAsPossible = 1, } impl SchedulingPolicy { @@ -509,30 +509,30 @@ pub mod job { } } } -/// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be -/// preserved. +/// LogsPolicy describes how outputs from a Job's Tasks (stdout/stderr) will be +/// preserved. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogsPolicy { - /// Where logs should be saved. + /// Where logs should be saved. #[prost(enumeration="logs_policy::Destination", tag="1")] pub destination: i32, - /// The path to which logs are saved when the destination = PATH. This can be a - /// local file path on the VM, or under the mount point of a Persistent Disk or - /// Filestore, or a Cloud Storage path. + /// The path to which logs are saved when the destination = PATH. This can be a + /// local file path on the VM, or under the mount point of a Persistent Disk or + /// Filestore, or a Cloud Storage path. #[prost(string, tag="2")] pub logs_path: ::prost::alloc::string::String, } /// Nested message and enum types in `LogsPolicy`. pub mod logs_policy { - /// The destination (if any) for logs. + /// The destination (if any) for logs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Destination { - /// Logs are not preserved. + /// Logs are not preserved. Unspecified = 0, - /// Logs are streamed to Cloud Logging. + /// Logs are streamed to Cloud Logging. CloudLogging = 1, - /// Logs are saved to a file path. + /// Logs are saved to a file path. Path = 2, } impl Destination { @@ -549,32 +549,32 @@ pub mod logs_policy { } } } -/// JobDependency describes the state of other Jobs that the start of this Job -/// depends on. -/// All dependent Jobs must have been submitted in the same region. +/// JobDependency describes the state of other Jobs that the start of this Job +/// depends on. +/// All dependent Jobs must have been submitted in the same region. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobDependency { - /// Each item maps a Job name to a Type. - /// All items must be satisfied for the JobDependency to be satisfied (the AND - /// operation). - /// Once a condition for one item becomes true, it won't go back to false - /// even the dependent Job state changes again. + /// Each item maps a Job name to a Type. + /// All items must be satisfied for the JobDependency to be satisfied (the AND + /// operation). + /// Once a condition for one item becomes true, it won't go back to false + /// even the dependent Job state changes again. #[prost(map="string, enumeration(job_dependency::Type)", tag="1")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } /// Nested message and enum types in `JobDependency`. pub mod job_dependency { - /// Dependency type. + /// Dependency type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// The dependent Job has succeeded. + /// The dependent Job has succeeded. Succeeded = 1, - /// The dependent Job has failed. + /// The dependent Job has failed. Failed = 2, - /// SUCCEEDED or FAILED. + /// SUCCEEDED or FAILED. Finished = 3, } impl Type { @@ -592,69 +592,69 @@ pub mod job_dependency { } } } -/// Job status. +/// Job status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatus { - /// Job state + /// Job state #[prost(enumeration="job_status::State", tag="1")] pub state: i32, - /// Job status events + /// Job status events #[prost(message, repeated, tag="2")] pub status_events: ::prost::alloc::vec::Vec, - /// Aggregated task status for each TaskGroup in the Job. - /// The map key is TaskGroup ID. + /// Aggregated task status for each TaskGroup in the Job. + /// The map key is TaskGroup ID. #[prost(map="string, message", tag="4")] pub task_groups: ::std::collections::HashMap<::prost::alloc::string::String, job_status::TaskGroupStatus>, - /// The duration of time that the Job spent in status RUNNING. + /// The duration of time that the Job spent in status RUNNING. #[prost(message, optional, tag="5")] pub run_duration: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `JobStatus`. pub mod job_status { - /// VM instance status. + /// VM instance status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceStatus { - /// The Compute Engine machine type. + /// The Compute Engine machine type. #[prost(string, tag="1")] pub machine_type: ::prost::alloc::string::String, - /// The VM instance provisioning model. + /// The VM instance provisioning model. #[prost(enumeration="super::allocation_policy::ProvisioningModel", tag="2")] pub provisioning_model: i32, - /// The max number of tasks can be assigned to this instance type. + /// The max number of tasks can be assigned to this instance type. #[prost(int64, tag="3")] pub task_pack: i64, } - /// Aggregated task status for a TaskGroup. + /// Aggregated task status for a TaskGroup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskGroupStatus { - /// Count of task in each state in the TaskGroup. - /// The map key is task state name. + /// Count of task in each state in the TaskGroup. + /// The map key is task state name. #[prost(map="string, int64", tag="1")] pub counts: ::std::collections::HashMap<::prost::alloc::string::String, i64>, - /// Status of instances allocated for the TaskGroup. + /// Status of instances allocated for the TaskGroup. #[prost(message, repeated, tag="2")] pub instances: ::prost::alloc::vec::Vec, } - /// Valid Job states. + /// Valid Job states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { Unspecified = 0, - /// Job is admitted (validated and persisted) and waiting for resources. + /// Job is admitted (validated and persisted) and waiting for resources. Queued = 1, - /// Job is scheduled to run as soon as resource allocation is ready. - /// The resource allocation may happen at a later time but with a high - /// chance to succeed. + /// Job is scheduled to run as soon as resource allocation is ready. + /// The resource allocation may happen at a later time but with a high + /// chance to succeed. Scheduled = 2, - /// Resource allocation has been successful. At least one Task in the Job is - /// RUNNING. + /// Resource allocation has been successful. At least one Task in the Job is + /// RUNNING. Running = 3, - /// All Tasks in the Job have finished successfully. + /// All Tasks in the Job have finished successfully. Succeeded = 4, - /// At least one Task in the Job has failed. + /// At least one Task in the Job has failed. Failed = 5, - /// The Job will be deleted, but has not been deleted yet. Typically this is - /// because resources used by the Job are still being cleaned up. + /// The Job will be deleted, but has not been deleted yet. Typically this is + /// because resources used by the Job are still being cleaned up. DeletionInProgress = 6, } impl State { @@ -675,47 +675,47 @@ pub mod job_status { } } } -/// Notification configurations. +/// Notification configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobNotification { - /// The Pub/Sub topic where notifications like the job state changes - /// will be published. This topic exist in the same project as the job - /// and billings will be charged to this project. - /// If not specified, no Pub/Sub messages will be sent. - /// Topic format: `projects/{project}/topics/{topic}`. + /// The Pub/Sub topic where notifications like the job state changes + /// will be published. This topic exist in the same project as the job + /// and billings will be charged to this project. + /// If not specified, no Pub/Sub messages will be sent. + /// Topic format: `projects/{project}/topics/{topic}`. #[prost(string, tag="1")] pub pubsub_topic: ::prost::alloc::string::String, - /// The attribute requirements of messages to be sent to this Pub/Sub topic. - /// Without this field, no message will be sent. + /// The attribute requirements of messages to be sent to this Pub/Sub topic. + /// Without this field, no message will be sent. #[prost(message, optional, tag="2")] pub message: ::core::option::Option, } /// Nested message and enum types in `JobNotification`. pub mod job_notification { - /// Message details. - /// Describe the attribute that a message should have. - /// Without specified message attributes, no message will be sent by default. + /// Message details. + /// Describe the attribute that a message should have. + /// Without specified message attributes, no message will be sent by default. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Message { - /// The message type. + /// The message type. #[prost(enumeration="Type", tag="1")] pub r#type: i32, - /// The new job state. + /// The new job state. #[prost(enumeration="super::job_status::State", tag="2")] pub new_job_state: i32, - /// The new task state. + /// The new task state. #[prost(enumeration="super::task_status::State", tag="3")] pub new_task_state: i32, } - /// The message type. + /// The message type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Notify users that the job state has changed. + /// Notify users that the job state has changed. JobStateChanged = 1, - /// Notify users that the task state has changed. + /// Notify users that the task state has changed. TaskStateChanged = 2, } impl Type { @@ -732,52 +732,52 @@ pub mod job_notification { } } } -/// A Job's resource allocation policy describes when, where, and how compute -/// resources should be allocated for the Job. +/// A Job's resource allocation policy describes when, where, and how compute +/// resources should be allocated for the Job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocationPolicy { - /// Location where compute resources should be allocated for the Job. + /// Location where compute resources should be allocated for the Job. #[prost(message, optional, tag="1")] pub location: ::core::option::Option, - /// Create only instances allowed by this policy. + /// Create only instances allowed by this policy. #[deprecated] #[prost(message, optional, tag="2")] pub instance: ::core::option::Option, - /// Describe instances that can be created by this AllocationPolicy. - /// Only instances\[0\] is supported now. + /// Describe instances that can be created by this AllocationPolicy. + /// Only instances\[0\] is supported now. #[prost(message, repeated, tag="8")] pub instances: ::prost::alloc::vec::Vec, - /// Instance templates that are used to VMs. - /// If specified, only instance_templates\[0\] is used. + /// Instance templates that are used to VMs. + /// If specified, only instance_templates\[0\] is used. #[deprecated] #[prost(string, repeated, tag="3")] pub instance_templates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Create only instances in the listed provisiong models. - /// Default to allow all. + /// Create only instances in the listed provisiong models. + /// Default to allow all. /// - /// Currently only the first model of the provisioning_models list will be - /// considered; specifying additional models (e.g., 2nd, 3rd, etc.) is a no-op. + /// Currently only the first model of the provisioning_models list will be + /// considered; specifying additional models (e.g., 2nd, 3rd, etc.) is a no-op. #[deprecated] #[prost(enumeration="allocation_policy::ProvisioningModel", repeated, packed="false", tag="4")] pub provisioning_models: ::prost::alloc::vec::Vec, - /// Email of the service account that VMs will run as. + /// Email of the service account that VMs will run as. #[deprecated] #[prost(string, tag="5")] pub service_account_email: ::prost::alloc::string::String, - /// Service account that VMs will run as. - /// Not yet implemented. + /// Service account that VMs will run as. + /// Not yet implemented. #[prost(message, optional, tag="9")] pub service_account: ::core::option::Option, - /// Labels applied to all VM instances and other resources - /// created by AllocationPolicy. - /// Labels could be user provided or system generated. - /// You can assign up to 64 labels. [Google Compute Engine label - /// restrictions]() - /// apply. - /// Label names that start with "goog-" or "google-" are reserved. + /// Labels applied to all VM instances and other resources + /// created by AllocationPolicy. + /// Labels could be user provided or system generated. + /// You can assign up to 64 labels. [Google Compute Engine label + /// restrictions]() + /// apply. + /// Label names that start with "goog-" or "google-" are reserved. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The network policy. + /// The network policy. #[prost(message, optional, tag="7")] pub network: ::core::option::Option, } @@ -785,70 +785,70 @@ pub struct AllocationPolicy { pub mod allocation_policy { #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPolicy { - /// A list of allowed location names represented by internal URLs. - /// Each location can be a region or a zone. - /// Only one region or multiple zones in one region is supported now. - /// For example, - /// \["regions/us-central1"\] allow VMs in any zones in region us-central1. - /// ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs - /// in zones us-central1-a and us-central1-c. - /// All locations end up in different regions would cause errors. - /// For example, - /// ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", - /// "zones/us-west1-a"] contains 2 regions "us-central1" and - /// "us-west1". An error is expected in this case. + /// A list of allowed location names represented by internal URLs. + /// Each location can be a region or a zone. + /// Only one region or multiple zones in one region is supported now. + /// For example, + /// \["regions/us-central1"\] allow VMs in any zones in region us-central1. + /// ["zones/us-central1-a", "zones/us-central1-c"] only allow VMs + /// in zones us-central1-a and us-central1-c. + /// All locations end up in different regions would cause errors. + /// For example, + /// ["regions/us-central1", "zones/us-central1-a", "zones/us-central1-b", + /// "zones/us-west1-a"] contains 2 regions "us-central1" and + /// "us-west1". An error is expected in this case. #[prost(string, repeated, tag="1")] pub allowed_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of denied location names. + /// A list of denied location names. /// - /// Not yet implemented. + /// Not yet implemented. #[prost(string, repeated, tag="2")] pub denied_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// A new persistent disk or a local ssd. - /// A VM can only have one local SSD setting but multiple local SSD partitions. - /// - /// + /// A new persistent disk or a local ssd. + /// A VM can only have one local SSD setting but multiple local SSD partitions. + /// + /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Disk { - /// Disk type as shown in `gcloud compute disk-types list` - /// For example, "pd-ssd", "pd-standard", "pd-balanced", "local-ssd". + /// Disk type as shown in `gcloud compute disk-types list` + /// For example, "pd-ssd", "pd-standard", "pd-balanced", "local-ssd". #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Disk size in GB. - /// This field is ignored if `data_source` is `disk` or `image`. - /// If `type` is `local-ssd`, size_gb should be a multiple of 375GB, - /// otherwise, the final size will be the next greater multiple of 375 GB. + /// Disk size in GB. + /// This field is ignored if `data_source` is `disk` or `image`. + /// If `type` is `local-ssd`, size_gb should be a multiple of 375GB, + /// otherwise, the final size will be the next greater multiple of 375 GB. #[prost(int64, tag="2")] pub size_gb: i64, - /// Local SSDs are available through both "SCSI" and "NVMe" interfaces. - /// If not indicated, "NVMe" will be the default one for local ssds. - /// We only support "SCSI" for persistent disks now. + /// Local SSDs are available through both "SCSI" and "NVMe" interfaces. + /// If not indicated, "NVMe" will be the default one for local ssds. + /// We only support "SCSI" for persistent disks now. #[prost(string, tag="6")] pub disk_interface: ::prost::alloc::string::String, - /// A data source from which a PD will be created. + /// A data source from which a PD will be created. #[prost(oneof="disk::DataSource", tags="4, 5")] pub data_source: ::core::option::Option, } /// Nested message and enum types in `Disk`. pub mod disk { - /// A data source from which a PD will be created. + /// A data source from which a PD will be created. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataSource { - /// Name of a public or custom image used as the data source. + /// Name of a public or custom image used as the data source. #[prost(string, tag="4")] Image(::prost::alloc::string::String), - /// Name of a snapshot used as the data source. + /// Name of a snapshot used as the data source. #[prost(string, tag="5")] Snapshot(::prost::alloc::string::String), } } - /// A new or an existing persistent disk or a local ssd attached to a VM - /// instance. + /// A new or an existing persistent disk or a local ssd attached to a VM + /// instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachedDisk { - /// Device name that the guest operating system will see. - /// If not specified, this is default to the disk name. + /// Device name that the guest operating system will see. + /// If not specified, this is default to the disk name. #[prost(string, tag="3")] pub device_name: ::prost::alloc::string::String, #[prost(oneof="attached_disk::Attached", tags="1, 2")] @@ -860,54 +860,54 @@ pub mod allocation_policy { pub enum Attached { #[prost(message, tag="1")] NewDisk(super::Disk), - /// Name of an existing PD. + /// Name of an existing PD. #[prost(string, tag="2")] ExistingDisk(::prost::alloc::string::String), } } - /// Accelerator describes Compute Engine accelerators to be attached to VMs. + /// Accelerator describes Compute Engine accelerators to be attached to VMs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Accelerator { - /// The accelerator type. For example, "nvidia-tesla-t4". - /// See `gcloud compute accelerator-types list`. + /// The accelerator type. For example, "nvidia-tesla-t4". + /// See `gcloud compute accelerator-types list`. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// The number of accelerators of this type. + /// The number of accelerators of this type. #[prost(int64, tag="2")] pub count: i64, #[deprecated] #[prost(bool, tag="3")] pub install_gpu_drivers: bool, } - /// InstancePolicy describes an instance type and resources attached to each VM - /// created by this InstancePolicy. + /// InstancePolicy describes an instance type and resources attached to each VM + /// created by this InstancePolicy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancePolicy { #[deprecated] #[prost(string, repeated, tag="1")] pub allowed_machine_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Compute Engine machine type. + /// The Compute Engine machine type. #[prost(string, tag="2")] pub machine_type: ::prost::alloc::string::String, - /// The minimum CPU platform. - /// See - /// ` - /// Not yet implemented. + /// The minimum CPU platform. + /// See + /// ` + /// Not yet implemented. #[prost(string, tag="3")] pub min_cpu_platform: ::prost::alloc::string::String, - /// The provisioning model. + /// The provisioning model. #[prost(enumeration="ProvisioningModel", tag="4")] pub provisioning_model: i32, - /// The accelerators attached to each VM instance. - /// Not yet implemented. + /// The accelerators attached to each VM instance. + /// Not yet implemented. #[prost(message, repeated, tag="5")] pub accelerators: ::prost::alloc::vec::Vec, - /// Non-boot disks to be attached for each VM created by this InstancePolicy. - /// New disks will be deleted when the attached VM is deleted. + /// Non-boot disks to be attached for each VM created by this InstancePolicy. + /// New disks will be deleted when the attached VM is deleted. #[prost(message, repeated, tag="6")] pub disks: ::prost::alloc::vec::Vec, } - /// Either an InstancePolicy or an instance template. + /// Either an InstancePolicy or an instance template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancePolicyOrTemplate { #[prost(bool, tag="3")] @@ -919,58 +919,58 @@ pub mod allocation_policy { pub mod instance_policy_or_template { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PolicyTemplate { - /// InstancePolicy. + /// InstancePolicy. #[prost(message, tag="1")] Policy(super::InstancePolicy), - /// Name of an instance template used to create VMs. - /// Named the field as 'instance_template' instead of 'template' to avoid - /// c++ keyword conflict. + /// Name of an instance template used to create VMs. + /// Named the field as 'instance_template' instead of 'template' to avoid + /// c++ keyword conflict. #[prost(string, tag="2")] InstanceTemplate(::prost::alloc::string::String), } } - /// A network interface. + /// A network interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkInterface { - /// The URL of the network resource. + /// The URL of the network resource. #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// The URL of the Subnetwork resource. + /// The URL of the Subnetwork resource. #[prost(string, tag="2")] pub subnetwork: ::prost::alloc::string::String, - /// Default is false (with an external IP address). Required if - /// no external public IP address is attached to the VM. If no external - /// public IP address, additional configuration is required to allow the VM - /// to access Google Services. See - /// and - /// for more - /// information. + /// Default is false (with an external IP address). Required if + /// no external public IP address is attached to the VM. If no external + /// public IP address, additional configuration is required to allow the VM + /// to access Google Services. See + /// and + /// for more + /// information. #[prost(bool, tag="3")] pub no_external_ip_address: bool, } - /// NetworkPolicy describes VM instance network configurations. + /// NetworkPolicy describes VM instance network configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkPolicy { - /// Network configurations. + /// Network configurations. #[prost(message, repeated, tag="1")] pub network_interfaces: ::prost::alloc::vec::Vec, } - /// Compute Engine VM instance provisioning model. + /// Compute Engine VM instance provisioning model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProvisioningModel { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Standard VM. + /// Standard VM. Standard = 1, - /// SPOT VM. + /// SPOT VM. Spot = 2, - /// Preemptible VM (PVM). + /// Preemptible VM (PVM). /// - /// Above SPOT VM is the preferable model for preemptible VM instances: the - /// old preemptible VM model (indicated by this field) is the older model, - /// and has been migrated to use the SPOT model as the underlying technology. - /// This old model will still be supported. + /// Above SPOT VM is the preferable model for preemptible VM instances: the + /// old preemptible VM model (indicated by this field) is the older model, + /// and has been migrated to use the SPOT model as the underlying technology. + /// This old model will still be supported. Preemptible = 3, } impl ProvisioningModel { @@ -988,79 +988,79 @@ pub mod allocation_policy { } } } -/// A TaskGroup contains one or multiple Tasks that share the same -/// Runnable but with different runtime parameters. +/// A TaskGroup contains one or multiple Tasks that share the same +/// Runnable but with different runtime parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TaskGroup { - /// Output only. TaskGroup name. - /// The system generates this field based on parent Job name. - /// For example: - /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". + /// Output only. TaskGroup name. + /// The system generates this field based on parent Job name. + /// For example: + /// "projects/123456/locations/us-west1/jobs/job01/taskGroups/group01". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Tasks in the group share the same task spec. + /// Required. Tasks in the group share the same task spec. #[prost(message, optional, tag="3")] pub task_spec: ::core::option::Option, - /// Number of Tasks in the TaskGroup. - /// default is 1 + /// Number of Tasks in the TaskGroup. + /// default is 1 #[prost(int64, tag="4")] pub task_count: i64, - /// Max number of tasks that can run in parallel. - /// Default to min(task_count, 1000). + /// Max number of tasks that can run in parallel. + /// Default to min(task_count, 1000). #[prost(int64, tag="5")] pub parallelism: i64, - /// Scheduling policy for Tasks in the TaskGroup. + /// Scheduling policy for Tasks in the TaskGroup. #[prost(enumeration="task_group::SchedulingPolicy", tag="6")] pub scheduling_policy: i32, - /// Compute resource allocation for the TaskGroup. - /// If specified, it overrides resources in Job. + /// Compute resource allocation for the TaskGroup. + /// If specified, it overrides resources in Job. #[prost(message, optional, tag="7")] pub allocation_policy: ::core::option::Option, - /// Labels for the TaskGroup. - /// Labels could be user provided or system generated. - /// You can assign up to 64 labels. [Google Compute Engine label - /// restrictions]() - /// apply. - /// Label names that start with "goog-" or "google-" are reserved. + /// Labels for the TaskGroup. + /// Labels could be user provided or system generated. + /// You can assign up to 64 labels. [Google Compute Engine label + /// restrictions]() + /// apply. + /// Label names that start with "goog-" or "google-" are reserved. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// An array of environment variable mappings, which are passed to Tasks with - /// matching indices. If task_environments is used then task_count should - /// not be specified in the request (and will be ignored). Task count will be - /// the length of task_environments. + /// An array of environment variable mappings, which are passed to Tasks with + /// matching indices. If task_environments is used then task_count should + /// not be specified in the request (and will be ignored). Task count will be + /// the length of task_environments. /// - /// Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in - /// addition to any environment variables set in task_environments, specifying - /// the number of Tasks in the Task's parent TaskGroup, and the specific Task's - /// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). + /// Tasks get a BATCH_TASK_INDEX and BATCH_TASK_COUNT environment variable, in + /// addition to any environment variables set in task_environments, specifying + /// the number of Tasks in the Task's parent TaskGroup, and the specific Task's + /// index in the TaskGroup (0 through BATCH_TASK_COUNT - 1). /// - /// task_environments supports up to 200 entries. + /// task_environments supports up to 200 entries. #[prost(message, repeated, tag="9")] pub task_environments: ::prost::alloc::vec::Vec, - /// Max number of tasks that can be run on a VM at the same time. - /// If not specified, the system will decide a value based on available - /// compute resources on a VM and task requirements. + /// Max number of tasks that can be run on a VM at the same time. + /// If not specified, the system will decide a value based on available + /// compute resources on a VM and task requirements. #[prost(int64, tag="10")] pub task_count_per_node: i64, - /// When true, Batch will populate a file with a list of all VMs assigned to - /// the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path - /// of that file. Defaults to false. + /// When true, Batch will populate a file with a list of all VMs assigned to + /// the TaskGroup and set the BATCH_HOSTS_FILE environment variable to the path + /// of that file. Defaults to false. #[prost(bool, tag="11")] pub require_hosts_file: bool, - /// When true, Batch will configure SSH to allow passwordless login between - /// VMs running the Batch tasks in the same TaskGroup. + /// When true, Batch will configure SSH to allow passwordless login between + /// VMs running the Batch tasks in the same TaskGroup. #[prost(bool, tag="12")] pub permissive_ssh: bool, } /// Nested message and enum types in `TaskGroup`. pub mod task_group { - /// How Tasks in the TaskGroup should be scheduled relative to each other. + /// How Tasks in the TaskGroup should be scheduled relative to each other. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SchedulingPolicy { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Run Tasks as soon as resources are available. + /// Run Tasks as soon as resources are available. AsSoonAsPossible = 1, } impl SchedulingPolicy { @@ -1076,180 +1076,180 @@ pub mod task_group { } } } -/// Carries information about a Google Cloud service account. +/// Carries information about a Google Cloud service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAccount { - /// Email address of the service account. If not specified, the default - /// Compute Engine service account for the project will be used. + /// Email address of the service account. If not specified, the default + /// Compute Engine service account for the project will be used. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, - /// List of scopes to be enabled for this service account on the VM, in - /// addition to the cloud-platform API scope that will be added by default. + /// List of scopes to be enabled for this service account on the VM, in + /// addition to the cloud-platform API scope that will be added by default. #[prost(string, repeated, tag="2")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// CreateJob Request. +/// CreateJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateJobRequest { - /// Required. The parent resource name where the Job will be created. - /// Pattern: "projects/{project}/locations/{location}" + /// Required. The parent resource name where the Job will be created. + /// Pattern: "projects/{project}/locations/{location}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// ID used to uniquely identify the Job within its parent scope. - /// This field should contain at most 63 characters. - /// Only alphanumeric characters or '-' are accepted. - /// The '-' character cannot be the first or the last one. - /// A system generated ID will be used if the field is not set. + /// ID used to uniquely identify the Job within its parent scope. + /// This field should contain at most 63 characters. + /// Only alphanumeric characters or '-' are accepted. + /// The '-' character cannot be the first or the last one. + /// A system generated ID will be used if the field is not set. /// - /// The job.name field in the request will be ignored and the created resource - /// name of the Job will be "{parent}/jobs/{job_id}". + /// The job.name field in the request will be ignored and the created resource + /// name of the Job will be "{parent}/jobs/{job_id}". #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, - /// Required. The Job to create. + /// Required. The Job to create. #[prost(message, optional, tag="3")] pub job: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// GetJob Request. +/// GetJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetJobRequest { - /// Required. Job name. + /// Required. Job name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// DeleteJob Request. +/// DeleteJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteJobRequest { - /// Job name. + /// Job name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Reason for this deletion. + /// Optional. Reason for this deletion. #[prost(string, tag="2")] pub reason: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// ListJob Request. +/// ListJob Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsRequest { - /// Parent path. + /// Parent path. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// ListJob Response. +/// ListJob Response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsResponse { - /// Jobs. + /// Jobs. #[prost(message, repeated, tag="1")] pub jobs: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// ListTasks Request. +/// ListTasks Request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksRequest { - /// Required. Name of a TaskGroup from which Tasks are being requested. - /// Pattern: - /// "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" + /// Required. Name of a TaskGroup from which Tasks are being requested. + /// Pattern: + /// "projects/{project}/locations/{location}/jobs/{job}/taskGroups/{task_group}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Task filter, null filter matches all Tasks. - /// Filter string should be of the format State=TaskStatus.State e.g. - /// State=RUNNING + /// Task filter, null filter matches all Tasks. + /// Filter string should be of the format State=TaskStatus.State e.g. + /// State=RUNNING #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="3")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// ListTasks Response. +/// ListTasks Response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksResponse { - /// Tasks. + /// Tasks. #[prost(message, repeated, tag="1")] pub tasks: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for a single Task by name. +/// Request for a single Task by name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTaskRequest { - /// Required. Task name. + /// Required. Task name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnections.v1.rs b/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnections.v1.rs index a85563772..6f4e2dca2 100644 --- a/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnections.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnections.v1.rs @@ -1,294 +1,294 @@ -/// Request message for BeyondCorp.ListAppConnections. +/// Request message for BeyondCorp.ListAppConnections. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppConnectionsRequest { - /// Required. The resource name of the AppConnection location using the form: - /// `projects/{project_id}/locations/{location_id}` + /// Required. The resource name of the AppConnection location using the form: + /// `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. - /// If not specified, a default value of 50 will be used by the service. - /// Regardless of the page_size value, the response may include a partial list - /// and a caller should only rely on response's - /// \[next_page_token][BeyondCorp.ListAppConnectionsResponse.next_page_token\] to - /// determine if there are more instances left to be queried. + /// Optional. The maximum number of items to return. + /// If not specified, a default value of 50 will be used by the service. + /// Regardless of the page_size value, the response may include a partial list + /// and a caller should only rely on response's + /// \[next_page_token][BeyondCorp.ListAppConnectionsResponse.next_page_token\] to + /// determine if there are more instances left to be queried. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The next_page_token value returned from a previous - /// ListAppConnectionsRequest, if any. + /// Optional. The next_page_token value returned from a previous + /// ListAppConnectionsRequest, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A filter specifying constraints of a list operation. + /// Optional. A filter specifying constraints of a list operation. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Specifies the ordering of results. See - /// [Sorting - /// order]() - /// for more information. + /// Optional. Specifies the ordering of results. See + /// [Sorting + /// order]() + /// for more information. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for BeyondCorp.ListAppConnections. +/// Response message for BeyondCorp.ListAppConnections. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppConnectionsResponse { - /// A list of BeyondCorp AppConnections in the project. + /// A list of BeyondCorp AppConnections in the project. #[prost(message, repeated, tag="1")] pub app_connections: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// A token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// A list of locations that could not be reached. + /// A list of locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for BeyondCorp.GetAppConnection. +/// Request message for BeyondCorp.GetAppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAppConnectionRequest { - /// Required. BeyondCorp AppConnection name using the form: - /// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}` + /// Required. BeyondCorp AppConnection name using the form: + /// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BeyondCorp.CreateAppConnection. +/// Request message for BeyondCorp.CreateAppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAppConnectionRequest { - /// Required. The resource project name of the AppConnection location using the - /// form: `projects/{project_id}/locations/{location_id}` + /// Required. The resource project name of the AppConnection location using the + /// form: `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. User-settable AppConnection resource ID. + /// Optional. User-settable AppConnection resource ID. /// * Must start with a letter. /// * Must contain between 4-63 characters from `/\[a-z][0-9\]-/`. /// * Must end with a number or a letter. #[prost(string, tag="2")] pub app_connection_id: ::prost::alloc::string::String, - /// Required. A BeyondCorp AppConnection resource. + /// Required. A BeyondCorp AppConnection resource. #[prost(message, optional, tag="3")] pub app_connection: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Request message for BeyondCorp.UpdateAppConnection. +/// Request message for BeyondCorp.UpdateAppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAppConnectionRequest { - /// Required. Mask of fields to update. At least one path must be supplied in - /// this field. The elements of the repeated paths field may only include these - /// fields from \[BeyondCorp.AppConnection\]: - /// * `labels` - /// * `display_name` - /// * `application_endpoint` - /// * `connectors` + /// Required. Mask of fields to update. At least one path must be supplied in + /// this field. The elements of the repeated paths field may only include these + /// fields from \[BeyondCorp.AppConnection\]: + /// * `labels` + /// * `display_name` + /// * `application_endpoint` + /// * `connectors` #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. AppConnection message with updated fields. Only supported fields - /// specified in update_mask are updated. + /// Required. AppConnection message with updated fields. Only supported fields + /// specified in update_mask are updated. #[prost(message, optional, tag="2")] pub app_connection: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. If set as true, will create the resource if it is not found. + /// Optional. If set as true, will create the resource if it is not found. #[prost(bool, tag="5")] pub allow_missing: bool, } -/// Request message for BeyondCorp.DeleteAppConnection. +/// Request message for BeyondCorp.DeleteAppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAppConnectionRequest { - /// Required. BeyondCorp Connector name using the form: - /// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}` + /// Required. BeyondCorp Connector name using the form: + /// `projects/{project_id}/locations/{location_id}/appConnections/{app_connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Request message for BeyondCorp.ResolveAppConnections. +/// Request message for BeyondCorp.ResolveAppConnections. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResolveAppConnectionsRequest { - /// Required. The resource name of the AppConnection location using the form: - /// `projects/{project_id}/locations/{location_id}` + /// Required. The resource name of the AppConnection location using the form: + /// `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. BeyondCorp Connector name of the connector associated with those - /// AppConnections using the form: - /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` + /// Required. BeyondCorp Connector name of the connector associated with those + /// AppConnections using the form: + /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` #[prost(string, tag="2")] pub app_connector_id: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. - /// If not specified, a default value of 50 will be used by the service. - /// Regardless of the page_size value, the response may include a partial list - /// and a caller should only rely on response's - /// \[next_page_token][BeyondCorp.ResolveAppConnectionsResponse.next_page_token\] - /// to determine if there are more instances left to be queried. + /// Optional. The maximum number of items to return. + /// If not specified, a default value of 50 will be used by the service. + /// Regardless of the page_size value, the response may include a partial list + /// and a caller should only rely on response's + /// \[next_page_token][BeyondCorp.ResolveAppConnectionsResponse.next_page_token\] + /// to determine if there are more instances left to be queried. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. The next_page_token value returned from a previous - /// ResolveAppConnectionsResponse, if any. + /// Optional. The next_page_token value returned from a previous + /// ResolveAppConnectionsResponse, if any. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response message for BeyondCorp.ResolveAppConnections. +/// Response message for BeyondCorp.ResolveAppConnections. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResolveAppConnectionsResponse { - /// A list of BeyondCorp AppConnections with details in the project. + /// A list of BeyondCorp AppConnections with details in the project. #[prost(message, repeated, tag="1")] pub app_connection_details: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// A token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// A list of locations that could not be reached. + /// A list of locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `ResolveAppConnectionsResponse`. pub mod resolve_app_connections_response { - /// Details of the AppConnection. + /// Details of the AppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnectionDetails { - /// A BeyondCorp AppConnection in the project. + /// A BeyondCorp AppConnection in the project. #[prost(message, optional, tag="1")] pub app_connection: ::core::option::Option, - /// If type=GCP_REGIONAL_MIG, contains most recent VM instances, like - /// ` + /// If type=GCP_REGIONAL_MIG, contains most recent VM instances, like + /// ` #[prost(string, repeated, tag="2")] pub recent_mig_vms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// A BeyondCorp AppConnection resource represents a BeyondCorp protected -/// AppConnection to a remote application. It creates all the necessary GCP -/// components needed for creating a BeyondCorp protected AppConnection. Multiple -/// connectors can be authorised for a single AppConnection. +/// A BeyondCorp AppConnection resource represents a BeyondCorp protected +/// AppConnection to a remote application. It creates all the necessary GCP +/// components needed for creating a BeyondCorp protected AppConnection. Multiple +/// connectors can be authorised for a single AppConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnection { - /// Required. Unique resource name of the AppConnection. - /// The name is ignored when creating a AppConnection. + /// Required. Unique resource name of the AppConnection. + /// The name is ignored when creating a AppConnection. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when the resource was created. + /// Output only. Timestamp when the resource was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when the resource was last modified. + /// Output only. Timestamp when the resource was last modified. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user provided metadata. + /// Optional. Resource labels to represent user provided metadata. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. An arbitrary user-provided name for the AppConnection. Cannot - /// exceed 64 characters. + /// Optional. An arbitrary user-provided name for the AppConnection. Cannot + /// exceed 64 characters. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. A unique identifier for the instance generated by the - /// system. + /// Output only. A unique identifier for the instance generated by the + /// system. #[prost(string, tag="6")] pub uid: ::prost::alloc::string::String, - /// Required. The type of network connectivity used by the AppConnection. + /// Required. The type of network connectivity used by the AppConnection. #[prost(enumeration="app_connection::Type", tag="7")] pub r#type: i32, - /// Required. Address of the remote application endpoint for the BeyondCorp - /// AppConnection. + /// Required. Address of the remote application endpoint for the BeyondCorp + /// AppConnection. #[prost(message, optional, tag="8")] pub application_endpoint: ::core::option::Option, - /// Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are - /// authorised to be associated with this AppConnection. + /// Optional. List of \[google.cloud.beyondcorp.v1main.Connector.name\] that are + /// authorised to be associated with this AppConnection. #[prost(string, repeated, tag="9")] pub connectors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The current state of the AppConnection. + /// Output only. The current state of the AppConnection. #[prost(enumeration="app_connection::State", tag="10")] pub state: i32, - /// Optional. Gateway used by the AppConnection. + /// Optional. Gateway used by the AppConnection. #[prost(message, optional, tag="11")] pub gateway: ::core::option::Option, } /// Nested message and enum types in `AppConnection`. pub mod app_connection { - /// ApplicationEndpoint represents a remote application endpoint. + /// ApplicationEndpoint represents a remote application endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplicationEndpoint { - /// Required. Hostname or IP address of the remote application endpoint. + /// Required. Hostname or IP address of the remote application endpoint. #[prost(string, tag="1")] pub host: ::prost::alloc::string::String, - /// Required. Port of the remote application endpoint. + /// Required. Port of the remote application endpoint. #[prost(int32, tag="2")] pub port: i32, } - /// Gateway represents a user facing component that serves as an entrance to - /// enable connectivity. + /// Gateway represents a user facing component that serves as an entrance to + /// enable connectivity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Gateway { - /// Required. The type of hosting used by the gateway. + /// Required. The type of hosting used by the gateway. #[prost(enumeration="gateway::Type", tag="2")] pub r#type: i32, - /// Output only. Server-defined URI for this resource. + /// Output only. Server-defined URI for this resource. #[prost(string, tag="3")] pub uri: ::prost::alloc::string::String, - /// Output only. Ingress port reserved on the gateways for this - /// AppConnection, if not specified or zero, the default port is 19443. + /// Output only. Ingress port reserved on the gateways for this + /// AppConnection, if not specified or zero, the default port is 19443. #[prost(int32, tag="4")] pub ingress_port: i32, - /// Required. AppGateway name in following format: - /// `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` + /// Required. AppGateway name in following format: + /// `projects/{project_id}/locations/{location_id}/appgateways/{gateway_id}` #[prost(string, tag="5")] pub app_gateway: ::prost::alloc::string::String, } /// Nested message and enum types in `Gateway`. pub mod gateway { - /// Enum listing possible gateway hosting options. + /// Enum listing possible gateway hosting options. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Gateway hosted in a GCP regional managed instance group. + /// Gateway hosted in a GCP regional managed instance group. GcpRegionalMig = 1, } impl Type { @@ -304,15 +304,15 @@ pub mod app_connection { } } } - /// Enum containing list of all possible network connectivity options - /// supported by BeyondCorp AppConnection. + /// Enum containing list of all possible network connectivity options + /// supported by BeyondCorp AppConnection. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// TCP Proxy based BeyondCorp AppConnection. API will default to this if - /// unset. + /// TCP Proxy based BeyondCorp AppConnection. API will default to this if + /// unset. TcpProxy = 1, } impl Type { @@ -327,22 +327,22 @@ pub mod app_connection { } } } - /// Represents the different states of a AppConnection. + /// Represents the different states of a AppConnection. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// AppConnection is being created. + /// AppConnection is being created. Creating = 1, - /// AppConnection has been created. + /// AppConnection has been created. Created = 2, - /// AppConnection's configuration is being updated. + /// AppConnection's configuration is being updated. Updating = 3, - /// AppConnection is being deleted. + /// AppConnection is being deleted. Deleting = 4, - /// AppConnection is down and may be restored in the future. - /// This happens when CCFE sends ProjectState = OFF. + /// AppConnection is down and may be restored in the future. + /// This happens when CCFE sends ProjectState = OFF. Down = 5, } impl State { @@ -362,32 +362,32 @@ pub mod app_connection { } } } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnectionOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to - /// `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a + /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to + /// `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnectors.v1.rs b/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnectors.v1.rs index f2e8af94e..4eb52cd9d 100644 --- a/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnectors.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.beyondcorp.appconnectors.v1.rs @@ -1,24 +1,24 @@ -/// AppConnectorInstanceConfig defines the instance config of a AppConnector. +/// AppConnectorInstanceConfig defines the instance config of a AppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnectorInstanceConfig { - /// Required. A monotonically increasing number generated and maintained - /// by the API provider. Every time a config changes in the backend, the - /// sequenceNumber should be bumped up to reflect the change. + /// Required. A monotonically increasing number generated and maintained + /// by the API provider. Every time a config changes in the backend, the + /// sequenceNumber should be bumped up to reflect the change. #[prost(int64, tag="1")] pub sequence_number: i64, - /// The SLM instance agent configuration. + /// The SLM instance agent configuration. #[prost(message, optional, tag="2")] pub instance_config: ::core::option::Option<::prost_types::Any>, - /// NotificationConfig defines the notification mechanism that the remote - /// instance should subscribe to in order to receive notification. + /// NotificationConfig defines the notification mechanism that the remote + /// instance should subscribe to in order to receive notification. #[prost(message, optional, tag="3")] pub notification_config: ::core::option::Option, - /// ImageConfig defines the GCR images to run for the remote agent's control - /// plane. + /// ImageConfig defines the GCR images to run for the remote agent's control + /// plane. #[prost(message, optional, tag="4")] pub image_config: ::core::option::Option, } -/// NotificationConfig defines the mechanisms to notify instance agent. +/// NotificationConfig defines the mechanisms to notify instance agent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotificationConfig { #[prost(oneof="notification_config::Config", tags="1")] @@ -26,35 +26,35 @@ pub struct NotificationConfig { } /// Nested message and enum types in `NotificationConfig`. pub mod notification_config { - /// The configuration for Pub/Sub messaging for the AppConnector. + /// The configuration for Pub/Sub messaging for the AppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudPubSubNotificationConfig { - /// The Pub/Sub subscription the AppConnector uses to receive notifications. + /// The Pub/Sub subscription the AppConnector uses to receive notifications. #[prost(string, tag="1")] pub pubsub_subscription: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Cloud Pub/Sub Configuration to receive notifications. + /// Cloud Pub/Sub Configuration to receive notifications. #[prost(message, tag="1")] PubsubNotification(CloudPubSubNotificationConfig), } } -/// ImageConfig defines the control plane images to run. +/// ImageConfig defines the control plane images to run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageConfig { - /// The initial image the remote agent will attempt to run for the control - /// plane. + /// The initial image the remote agent will attempt to run for the control + /// plane. #[prost(string, tag="1")] pub target_image: ::prost::alloc::string::String, - /// The stable image that the remote agent will fallback to if the target image - /// fails. + /// The stable image that the remote agent will fallback to if the target image + /// fails. #[prost(string, tag="2")] pub stable_image: ::prost::alloc::string::String, } -/// ResourceInfo represents the information/status of an app connector resource. -/// Such as: -/// - remote_agent +/// ResourceInfo represents the information/status of an app connector resource. +/// Such as: +/// - remote_agent /// - container /// - runtime /// - appgateway @@ -64,37 +64,37 @@ pub struct ImageConfig { /// - logagent #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceInfo { - /// Required. Unique Id for the resource. + /// Required. Unique Id for the resource. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Overall health status. Overall status is derived based on the status of - /// each sub level resources. + /// Overall health status. Overall status is derived based on the status of + /// each sub level resources. #[prost(enumeration="HealthStatus", tag="2")] pub status: i32, - /// Specific details for the resource. This is for internal use only. + /// Specific details for the resource. This is for internal use only. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option<::prost_types::Any>, - /// The timestamp to collect the info. It is suggested to be set by - /// the topmost level resource only. + /// The timestamp to collect the info. It is suggested to be set by + /// the topmost level resource only. #[prost(message, optional, tag="4")] pub time: ::core::option::Option<::prost_types::Timestamp>, - /// List of Info for the sub level resources. + /// List of Info for the sub level resources. #[prost(message, repeated, tag="5")] pub sub: ::prost::alloc::vec::Vec, } -/// HealthStatus represents the health status. +/// HealthStatus represents the health status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HealthStatus { - /// Health status is unknown: not initialized or failed to retrieve. + /// Health status is unknown: not initialized or failed to retrieve. Unspecified = 0, - /// The resource is healthy. + /// The resource is healthy. Healthy = 1, - /// The resource is unhealthy. + /// The resource is unhealthy. Unhealthy = 2, - /// The resource is unresponsive. + /// The resource is unresponsive. Unresponsive = 3, - /// Some sub-resources are UNHEALTHY. + /// Some sub-resources are UNHEALTHY. Degraded = 4, } impl HealthStatus { @@ -112,226 +112,226 @@ impl HealthStatus { } } } -/// Request message for BeyondCorp.ListAppConnectors. +/// Request message for BeyondCorp.ListAppConnectors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppConnectorsRequest { - /// Required. The resource name of the AppConnector location using the form: - /// `projects/{project_id}/locations/{location_id}` + /// Required. The resource name of the AppConnector location using the form: + /// `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. - /// If not specified, a default value of 50 will be used by the service. - /// Regardless of the page_size value, the response may include a partial list - /// and a caller should only rely on response's - /// \[next_page_token][BeyondCorp.ListAppConnectorsResponse.next_page_token\] to - /// determine if there are more instances left to be queried. + /// Optional. The maximum number of items to return. + /// If not specified, a default value of 50 will be used by the service. + /// Regardless of the page_size value, the response may include a partial list + /// and a caller should only rely on response's + /// \[next_page_token][BeyondCorp.ListAppConnectorsResponse.next_page_token\] to + /// determine if there are more instances left to be queried. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The next_page_token value returned from a previous - /// ListAppConnectorsRequest, if any. + /// Optional. The next_page_token value returned from a previous + /// ListAppConnectorsRequest, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A filter specifying constraints of a list operation. + /// Optional. A filter specifying constraints of a list operation. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Specifies the ordering of results. See - /// [Sorting - /// order]() - /// for more information. + /// Optional. Specifies the ordering of results. See + /// [Sorting + /// order]() + /// for more information. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for BeyondCorp.ListAppConnectors. +/// Response message for BeyondCorp.ListAppConnectors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppConnectorsResponse { - /// A list of BeyondCorp AppConnectors in the project. + /// A list of BeyondCorp AppConnectors in the project. #[prost(message, repeated, tag="1")] pub app_connectors: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// A token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// A list of locations that could not be reached. + /// A list of locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for BeyondCorp.GetAppConnector. +/// Request message for BeyondCorp.GetAppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAppConnectorRequest { - /// Required. BeyondCorp AppConnector name using the form: - /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` + /// Required. BeyondCorp AppConnector name using the form: + /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BeyondCorp.CreateAppConnector. +/// Request message for BeyondCorp.CreateAppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAppConnectorRequest { - /// Required. The resource project name of the AppConnector location using the - /// form: `projects/{project_id}/locations/{location_id}` + /// Required. The resource project name of the AppConnector location using the + /// form: `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. User-settable AppConnector resource ID. + /// Optional. User-settable AppConnector resource ID. /// /// * Must start with a letter. /// * Must contain between 4-63 characters from `/\[a-z][0-9\]-/`. /// * Must end with a number or a letter. #[prost(string, tag="2")] pub app_connector_id: ::prost::alloc::string::String, - /// Required. A BeyondCorp AppConnector resource. + /// Required. A BeyondCorp AppConnector resource. #[prost(message, optional, tag="3")] pub app_connector: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Request message for BeyondCorp.UpdateAppConnector. +/// Request message for BeyondCorp.UpdateAppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAppConnectorRequest { - /// Required. Mask of fields to update. At least one path must be supplied in - /// this field. The elements of the repeated paths field may only include these - /// fields from \[BeyondCorp.AppConnector\]: - /// * `labels` - /// * `display_name` + /// Required. Mask of fields to update. At least one path must be supplied in + /// this field. The elements of the repeated paths field may only include these + /// fields from \[BeyondCorp.AppConnector\]: + /// * `labels` + /// * `display_name` #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. AppConnector message with updated fields. Only supported fields - /// specified in update_mask are updated. + /// Required. AppConnector message with updated fields. Only supported fields + /// specified in update_mask are updated. #[prost(message, optional, tag="2")] pub app_connector: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Request message for BeyondCorp.DeleteAppConnector. +/// Request message for BeyondCorp.DeleteAppConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAppConnectorRequest { - /// Required. BeyondCorp AppConnector name using the form: - /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` + /// Required. BeyondCorp AppConnector name using the form: + /// `projects/{project_id}/locations/{location_id}/appConnectors/{app_connector_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Request report the connector status. +/// Request report the connector status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReportStatusRequest { - /// Required. BeyondCorp Connector name using the form: - /// `projects/{project_id}/locations/{location_id}/connectors/{connector}` + /// Required. BeyondCorp Connector name using the form: + /// `projects/{project_id}/locations/{location_id}/connectors/{connector}` #[prost(string, tag="1")] pub app_connector: ::prost::alloc::string::String, - /// Required. Resource info of the connector. + /// Required. Resource info of the connector. #[prost(message, optional, tag="2")] pub resource_info: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="4")] pub validate_only: bool, } -/// A BeyondCorp connector resource that represents an application facing -/// component deployed proximal to and with direct access to the application -/// instances. It is used to establish connectivity between the remote enterprise -/// environment and GCP. It initiates connections to the applications and can -/// proxy the data from users over the connection. +/// A BeyondCorp connector resource that represents an application facing +/// component deployed proximal to and with direct access to the application +/// instances. It is used to establish connectivity between the remote enterprise +/// environment and GCP. It initiates connections to the applications and can +/// proxy the data from users over the connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnector { - /// Required. Unique resource name of the AppConnector. - /// The name is ignored when creating a AppConnector. + /// Required. Unique resource name of the AppConnector. + /// The name is ignored when creating a AppConnector. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when the resource was created. + /// Output only. Timestamp when the resource was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when the resource was last modified. + /// Output only. Timestamp when the resource was last modified. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user provided metadata. + /// Optional. Resource labels to represent user provided metadata. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. An arbitrary user-provided name for the AppConnector. Cannot - /// exceed 64 characters. + /// Optional. An arbitrary user-provided name for the AppConnector. Cannot + /// exceed 64 characters. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. A unique identifier for the instance generated by the - /// system. + /// Output only. A unique identifier for the instance generated by the + /// system. #[prost(string, tag="6")] pub uid: ::prost::alloc::string::String, - /// Output only. The current state of the AppConnector. + /// Output only. The current state of the AppConnector. #[prost(enumeration="app_connector::State", tag="7")] pub state: i32, - /// Required. Principal information about the Identity of the AppConnector. + /// Required. Principal information about the Identity of the AppConnector. #[prost(message, optional, tag="8")] pub principal_info: ::core::option::Option, - /// Optional. Resource info of the connector. + /// Optional. Resource info of the connector. #[prost(message, optional, tag="11")] pub resource_info: ::core::option::Option, } /// Nested message and enum types in `AppConnector`. pub mod app_connector { - /// PrincipalInfo represents an Identity oneof. + /// PrincipalInfo represents an Identity oneof. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrincipalInfo { #[prost(oneof="principal_info::Type", tags="1")] @@ -339,36 +339,36 @@ pub mod app_connector { } /// Nested message and enum types in `PrincipalInfo`. pub mod principal_info { - /// ServiceAccount represents a GCP service account. + /// ServiceAccount represents a GCP service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAccount { - /// Email address of the service account. + /// Email address of the service account. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// A GCP service account. + /// A GCP service account. #[prost(message, tag="1")] ServiceAccount(ServiceAccount), } } - /// Represents the different states of a AppConnector. + /// Represents the different states of a AppConnector. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// AppConnector is being created. + /// AppConnector is being created. Creating = 1, - /// AppConnector has been created. + /// AppConnector has been created. Created = 2, - /// AppConnector's configuration is being updated. + /// AppConnector's configuration is being updated. Updating = 3, - /// AppConnector is being deleted. + /// AppConnector is being deleted. Deleting = 4, - /// AppConnector is down and may be restored in the future. - /// This happens when CCFE sends ProjectState = OFF. + /// AppConnector is down and may be restored in the future. + /// This happens when CCFE sends ProjectState = OFF. Down = 5, } impl State { @@ -388,32 +388,32 @@ pub mod app_connector { } } } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppConnectorOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to - /// `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a + /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to + /// `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.beyondcorp.appgateways.v1.rs b/gcloud-sdk/genproto/google.cloud.beyondcorp.appgateways.v1.rs index 531214bd4..fa401d13a 100644 --- a/gcloud-sdk/genproto/google.cloud.beyondcorp.appgateways.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.beyondcorp.appgateways.v1.rs @@ -1,180 +1,180 @@ -/// Request message for BeyondCorp.ListAppGateways. +/// Request message for BeyondCorp.ListAppGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppGatewaysRequest { - /// Required. The resource name of the AppGateway location using the form: - /// `projects/{project_id}/locations/{location_id}` + /// Required. The resource name of the AppGateway location using the form: + /// `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. - /// If not specified, a default value of 50 will be used by the service. - /// Regardless of the page_size value, the response may include a partial list - /// and a caller should only rely on response's - /// \[next_page_token][BeyondCorp.ListAppGatewaysResponse.next_page_token\] to - /// determine if there are more instances left to be queried. + /// Optional. The maximum number of items to return. + /// If not specified, a default value of 50 will be used by the service. + /// Regardless of the page_size value, the response may include a partial list + /// and a caller should only rely on response's + /// \[next_page_token][BeyondCorp.ListAppGatewaysResponse.next_page_token\] to + /// determine if there are more instances left to be queried. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The next_page_token value returned from a previous - /// ListAppGatewaysRequest, if any. + /// Optional. The next_page_token value returned from a previous + /// ListAppGatewaysRequest, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A filter specifying constraints of a list operation. + /// Optional. A filter specifying constraints of a list operation. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Specifies the ordering of results. See - /// [Sorting - /// order]() - /// for more information. + /// Optional. Specifies the ordering of results. See + /// [Sorting + /// order]() + /// for more information. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for BeyondCorp.ListAppGateways. +/// Response message for BeyondCorp.ListAppGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAppGatewaysResponse { - /// A list of BeyondCorp AppGateways in the project. + /// A list of BeyondCorp AppGateways in the project. #[prost(message, repeated, tag="1")] pub app_gateways: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// A token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// A list of locations that could not be reached. + /// A list of locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for BeyondCorp.GetAppGateway. +/// Request message for BeyondCorp.GetAppGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAppGatewayRequest { - /// Required. BeyondCorp AppGateway name using the form: - /// `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}` + /// Required. BeyondCorp AppGateway name using the form: + /// `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for BeyondCorp.CreateAppGateway. +/// Request message for BeyondCorp.CreateAppGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAppGatewayRequest { - /// Required. The resource project name of the AppGateway location using the - /// form: `projects/{project_id}/locations/{location_id}` + /// Required. The resource project name of the AppGateway location using the + /// form: `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. User-settable AppGateway resource ID. + /// Optional. User-settable AppGateway resource ID. /// * Must start with a letter. /// * Must contain between 4-63 characters from `/\[a-z][0-9\]-/`. /// * Must end with a number or a letter. #[prost(string, tag="2")] pub app_gateway_id: ::prost::alloc::string::String, - /// Required. A BeyondCorp AppGateway resource. + /// Required. A BeyondCorp AppGateway resource. #[prost(message, optional, tag="3")] pub app_gateway: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Request message for BeyondCorp.DeleteAppGateway. +/// Request message for BeyondCorp.DeleteAppGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAppGatewayRequest { - /// Required. BeyondCorp AppGateway name using the form: - /// `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}` + /// Required. BeyondCorp AppGateway name using the form: + /// `projects/{project_id}/locations/{location_id}/appGateways/{app_gateway_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="3")] pub validate_only: bool, } -/// A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway -/// to a remote application. It creates all the necessary GCP components needed -/// for creating a BeyondCorp protected AppGateway. Multiple connectors can be -/// authorised for a single AppGateway. +/// A BeyondCorp AppGateway resource represents a BeyondCorp protected AppGateway +/// to a remote application. It creates all the necessary GCP components needed +/// for creating a BeyondCorp protected AppGateway. Multiple connectors can be +/// authorised for a single AppGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppGateway { - /// Required. Unique resource name of the AppGateway. - /// The name is ignored when creating an AppGateway. + /// Required. Unique resource name of the AppGateway. + /// The name is ignored when creating an AppGateway. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Timestamp when the resource was created. + /// Output only. Timestamp when the resource was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp when the resource was last modified. + /// Output only. Timestamp when the resource was last modified. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user provided metadata. + /// Optional. Resource labels to represent user provided metadata. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed - /// 64 characters. + /// Optional. An arbitrary user-provided name for the AppGateway. Cannot exceed + /// 64 characters. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. A unique identifier for the instance generated by the - /// system. + /// Output only. A unique identifier for the instance generated by the + /// system. #[prost(string, tag="6")] pub uid: ::prost::alloc::string::String, - /// Required. The type of network connectivity used by the AppGateway. + /// Required. The type of network connectivity used by the AppGateway. #[prost(enumeration="app_gateway::Type", tag="7")] pub r#type: i32, - /// Output only. The current state of the AppGateway. + /// Output only. The current state of the AppGateway. #[prost(enumeration="app_gateway::State", tag="8")] pub state: i32, - /// Output only. Server-defined URI for this resource. + /// Output only. Server-defined URI for this resource. #[prost(string, tag="9")] pub uri: ::prost::alloc::string::String, - /// Output only. A list of connections allocated for the Gateway + /// Output only. A list of connections allocated for the Gateway #[prost(message, repeated, tag="10")] pub allocated_connections: ::prost::alloc::vec::Vec, - /// Required. The type of hosting used by the AppGateway. + /// Required. The type of hosting used by the AppGateway. #[prost(enumeration="app_gateway::HostType", tag="11")] pub host_type: i32, } /// Nested message and enum types in `AppGateway`. pub mod app_gateway { - /// Allocated connection of the AppGateway. + /// Allocated connection of the AppGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocatedConnection { - /// Required. The PSC uri of an allocated connection + /// Required. The PSC uri of an allocated connection #[prost(string, tag="1")] pub psc_uri: ::prost::alloc::string::String, - /// Required. The ingress port of an allocated connection + /// Required. The ingress port of an allocated connection #[prost(int32, tag="2")] pub ingress_port: i32, } - /// Enum containing list of all possible network connectivity options - /// supported by BeyondCorp AppGateway. + /// Enum containing list of all possible network connectivity options + /// supported by BeyondCorp AppGateway. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// TCP Proxy based BeyondCorp Connection. API will default to this if unset. + /// TCP Proxy based BeyondCorp Connection. API will default to this if unset. TcpProxy = 1, } impl Type { @@ -189,22 +189,22 @@ pub mod app_gateway { } } } - /// Represents the different states of an AppGateway. + /// Represents the different states of an AppGateway. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// AppGateway is being created. + /// AppGateway is being created. Creating = 1, - /// AppGateway has been created. + /// AppGateway has been created. Created = 2, - /// AppGateway's configuration is being updated. + /// AppGateway's configuration is being updated. Updating = 3, - /// AppGateway is being deleted. + /// AppGateway is being deleted. Deleting = 4, - /// AppGateway is down and may be restored in the future. - /// This happens when CCFE sends ProjectState = OFF. + /// AppGateway is down and may be restored in the future. + /// This happens when CCFE sends ProjectState = OFF. Down = 5, } impl State { @@ -223,14 +223,14 @@ pub mod app_gateway { } } } - /// Enum containing list of all possible host types supported by BeyondCorp - /// Connection. + /// Enum containing list of all possible host types supported by BeyondCorp + /// Connection. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HostType { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// AppGateway hosted in a GCP regional managed instance group. + /// AppGateway hosted in a GCP regional managed instance group. GcpRegionalMig = 1, } impl HostType { @@ -246,32 +246,32 @@ pub mod app_gateway { } } } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppGatewayOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to - /// `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a + /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to + /// `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.beyondcorp.clientconnectorservices.v1.rs b/gcloud-sdk/genproto/google.cloud.beyondcorp.clientconnectorservices.v1.rs index 8aa086a4a..d07d5cb34 100644 --- a/gcloud-sdk/genproto/google.cloud.beyondcorp.clientconnectorservices.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.beyondcorp.clientconnectorservices.v1.rs @@ -1,36 +1,36 @@ -/// Message describing ClientConnectorService object. +/// Message describing ClientConnectorService object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClientConnectorService { - /// Required. Name of resource. The name is ignored during creation. + /// Required. Name of resource. The name is ignored during creation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. [Output only] Create time stamp. + /// Output only. [Output only] Create time stamp. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. [Output only] Update time stamp. + /// Output only. [Output only] Update time stamp. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User-provided name. - /// The display name should follow certain format. - /// * Must be 6 to 30 characters in length. - /// * Can only contain lowercase letters, numbers, and hyphens. - /// * Must start with a letter. + /// Optional. User-provided name. + /// The display name should follow certain format. + /// * Must be 6 to 30 characters in length. + /// * Can only contain lowercase letters, numbers, and hyphens. + /// * Must start with a letter. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Required. The details of the ingress settings. + /// Required. The details of the ingress settings. #[prost(message, optional, tag="6")] pub ingress: ::core::option::Option, - /// Required. The details of the egress settings. + /// Required. The details of the egress settings. #[prost(message, optional, tag="7")] pub egress: ::core::option::Option, - /// Output only. The operational state of the ClientConnectorService. + /// Output only. The operational state of the ClientConnectorService. #[prost(enumeration="client_connector_service::State", tag="8")] pub state: i32, } /// Nested message and enum types in `ClientConnectorService`. pub mod client_connector_service { - /// Settings of how to connect to the ClientGateway. - /// One of the following options should be set. + /// Settings of how to connect to the ClientGateway. + /// One of the following options should be set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Ingress { #[prost(oneof="ingress::IngressConfig", tags="1")] @@ -38,40 +38,40 @@ pub mod client_connector_service { } /// Nested message and enum types in `Ingress`. pub mod ingress { - /// The basic ingress config for ClientGateways. + /// The basic ingress config for ClientGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Config { - /// Required. Immutable. The transport protocol used between the client and - /// the server. + /// Required. Immutable. The transport protocol used between the client and + /// the server. #[prost(enumeration="config::TransportProtocol", tag="1")] pub transport_protocol: i32, - /// Required. The settings used to configure basic ClientGateways. + /// Required. The settings used to configure basic ClientGateways. #[prost(message, repeated, tag="2")] pub destination_routes: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Config`. pub mod config { - /// The setting used to configure ClientGateways. - /// It is adding routes to the client's routing table - /// after the connection is established. + /// The setting used to configure ClientGateways. + /// It is adding routes to the client's routing table + /// after the connection is established. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationRoute { - /// Required. The network address of the subnet - /// for which the packet is routed to the ClientGateway. + /// Required. The network address of the subnet + /// for which the packet is routed to the ClientGateway. #[prost(string, tag="1")] pub address: ::prost::alloc::string::String, - /// Required. The network mask of the subnet - /// for which the packet is routed to the ClientGateway. + /// Required. The network mask of the subnet + /// for which the packet is routed to the ClientGateway. #[prost(string, tag="2")] pub netmask: ::prost::alloc::string::String, } - /// The protocol used to connect to the server. + /// The protocol used to connect to the server. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TransportProtocol { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// TCP protocol. + /// TCP protocol. Tcp = 1, } impl TransportProtocol { @@ -89,12 +89,12 @@ pub mod client_connector_service { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum IngressConfig { - /// The basic ingress config for ClientGateways. + /// The basic ingress config for ClientGateways. #[prost(message, tag="1")] Config(Config), } } - /// The details of the egress info. One of the following options should be set. + /// The details of the egress info. One of the following options should be set. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Egress { #[prost(oneof="egress::DestinationType", tags="1")] @@ -102,39 +102,39 @@ pub mod client_connector_service { } /// Nested message and enum types in `Egress`. pub mod egress { - /// The peered VPC owned by the consumer project. + /// The peered VPC owned by the consumer project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PeeredVpc { - /// Required. The name of the peered VPC owned by the consumer project. + /// Required. The name of the peered VPC owned by the consumer project. #[prost(string, tag="1")] pub network_vpc: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DestinationType { - /// A VPC from the consumer project. + /// A VPC from the consumer project. #[prost(message, tag="1")] PeeredVpc(PeeredVpc), } } - /// Represents the different states of a ClientConnectorService. + /// Represents the different states of a ClientConnectorService. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// ClientConnectorService is being created. + /// ClientConnectorService is being created. Creating = 1, - /// ClientConnectorService is being updated. + /// ClientConnectorService is being updated. Updating = 2, - /// ClientConnectorService is being deleted. + /// ClientConnectorService is being deleted. Deleting = 3, - /// ClientConnectorService is running. + /// ClientConnectorService is running. Running = 4, - /// ClientConnectorService is down and may be restored in the future. - /// This happens when CCFE sends ProjectState = OFF. + /// ClientConnectorService is down and may be restored in the future. + /// This happens when CCFE sends ProjectState = OFF. Down = 5, - /// ClientConnectorService encountered an error and is in an indeterministic - /// state. + /// ClientConnectorService encountered an error and is in an indeterministic + /// state. Error = 6, } impl State { @@ -155,174 +155,174 @@ pub mod client_connector_service { } } } -/// Message for requesting list of ClientConnectorServices. +/// Message for requesting list of ClientConnectorServices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClientConnectorServicesRequest { - /// Required. Parent value for ListClientConnectorServicesRequest. + /// Required. Parent value for ListClientConnectorServicesRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer items than - /// requested. If unspecified, server will pick an appropriate default. + /// Optional. Requested page size. Server may return fewer items than + /// requested. If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results the server should return. + /// Optional. A token identifying a page of results the server should return. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filtering results. + /// Optional. Filtering results. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Hint for how to order the results. + /// Optional. Hint for how to order the results. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Message for response to listing ClientConnectorServices. +/// Message for response to listing ClientConnectorServices. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClientConnectorServicesResponse { - /// The list of ClientConnectorService. + /// The list of ClientConnectorService. #[prost(message, repeated, tag="1")] pub client_connector_services: ::prost::alloc::vec::Vec, - /// A token identifying a page of results the server should return. + /// A token identifying a page of results the server should return. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message for getting a ClientConnectorService. +/// Message for getting a ClientConnectorService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClientConnectorServiceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a ClientConnectorService. +/// Message for creating a ClientConnectorService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateClientConnectorServiceRequest { - /// Required. Value for parent. + /// Required. Value for parent. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. User-settable client connector service resource ID. + /// Optional. User-settable client connector service resource ID. /// * Must start with a letter. /// * Must contain between 4-63 characters from `/\[a-z][0-9\]-/`. /// * Must end with a number or a letter. /// - /// A random system generated name will be assigned - /// if not specified by the user. + /// A random system generated name will be assigned + /// if not specified by the user. #[prost(string, tag="2")] pub client_connector_service_id: ::prost::alloc::string::String, - /// Required. The resource being created. + /// Required. The resource being created. #[prost(message, optional, tag="3")] pub client_connector_service: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Message for updating a ClientConnectorService +/// Message for updating a ClientConnectorService #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateClientConnectorServiceRequest { - /// Required. Field mask is used to specify the fields to be overwritten in the - /// ClientConnectorService resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// ClientConnectorService resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. /// - /// Mutable fields: display_name. + /// Mutable fields: display_name. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The resource being updated. + /// Required. The resource being updated. #[prost(message, optional, tag="2")] pub client_connector_service: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. If set as true, will create the resource if it is not found. + /// Optional. If set as true, will create the resource if it is not found. #[prost(bool, tag="5")] pub allow_missing: bool, } -/// Message for deleting a ClientConnectorService. +/// Message for deleting a ClientConnectorService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteClientConnectorServiceRequest { - /// Required. Name of the resource. + /// Required. Name of the resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClientConnectorServiceOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to - /// `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a + /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to + /// `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.beyondcorp.clientgateways.v1.rs b/gcloud-sdk/genproto/google.cloud.beyondcorp.clientgateways.v1.rs index 5494b834d..d37397212 100644 --- a/gcloud-sdk/genproto/google.cloud.beyondcorp.clientgateways.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.beyondcorp.clientgateways.v1.rs @@ -1,47 +1,47 @@ -/// Message describing ClientGateway object. +/// Message describing ClientGateway object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClientGateway { - /// Required. name of resource. The name is ignored during creation. + /// Required. name of resource. The name is ignored during creation. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. [Output only] Create time stamp. + /// Output only. [Output only] Create time stamp. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. [Output only] Update time stamp. + /// Output only. [Output only] Update time stamp. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The operational state of the gateway. + /// Output only. The operational state of the gateway. #[prost(enumeration="client_gateway::State", tag="4")] pub state: i32, - /// Output only. A unique identifier for the instance generated by the system. + /// Output only. A unique identifier for the instance generated by the system. #[prost(string, tag="5")] pub id: ::prost::alloc::string::String, - /// Output only. The client connector service name that the client gateway is - /// associated to. Client Connector Services, named as follows: + /// Output only. The client connector service name that the client gateway is + /// associated to. Client Connector Services, named as follows: /// `projects/{project_id}/locations/{location_id}/client_connector_services/{client_connector_service_id}`. #[prost(string, tag="6")] pub client_connector_service: ::prost::alloc::string::String, } /// Nested message and enum types in `ClientGateway`. pub mod client_gateway { - /// Represents the different states of a gateway. + /// Represents the different states of a gateway. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Gateway is being created. + /// Gateway is being created. Creating = 1, - /// Gateway is being updated. + /// Gateway is being updated. Updating = 2, - /// Gateway is being deleted. + /// Gateway is being deleted. Deleting = 3, - /// Gateway is running. + /// Gateway is running. Running = 4, - /// Gateway is down and may be restored in the future. - /// This happens when CCFE sends ProjectState = OFF. + /// Gateway is down and may be restored in the future. + /// This happens when CCFE sends ProjectState = OFF. Down = 5, - /// ClientGateway encountered an error and is in indeterministic state. + /// ClientGateway encountered an error and is in indeterministic state. Error = 6, } impl State { @@ -62,133 +62,133 @@ pub mod client_gateway { } } } -/// Message for requesting list of ClientGateways. +/// Message for requesting list of ClientGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClientGatewaysRequest { - /// Required. Parent value for ListClientGatewaysRequest. + /// Required. Parent value for ListClientGatewaysRequest. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer items than - /// requested. If unspecified, server will pick an appropriate default. + /// Optional. Requested page size. Server may return fewer items than + /// requested. If unspecified, server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results the server should return. + /// Optional. A token identifying a page of results the server should return. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filtering results. + /// Optional. Filtering results. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Hint for how to order the results. + /// Optional. Hint for how to order the results. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Message for response to listing ClientGateways. +/// Message for response to listing ClientGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClientGatewaysResponse { - /// The list of ClientGateway. + /// The list of ClientGateway. #[prost(message, repeated, tag="1")] pub client_gateways: ::prost::alloc::vec::Vec, - /// A token identifying a page of results the server should return. + /// A token identifying a page of results the server should return. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Message for getting a ClientGateway. +/// Message for getting a ClientGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClientGatewayRequest { - /// Required. Name of the resource + /// Required. Name of the resource #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a ClientGateway. +/// Message for creating a ClientGateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateClientGatewayRequest { - /// Required. Value for parent. + /// Required. Value for parent. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. User-settable client gateway resource ID. + /// Optional. User-settable client gateway resource ID. /// * Must start with a letter. /// * Must contain between 4-63 characters from `/\[a-z][0-9\]-/`. /// * Must end with a number or a letter. #[prost(string, tag="2")] pub client_gateway_id: ::prost::alloc::string::String, - /// Required. The resource being created. + /// Required. The resource being created. #[prost(message, optional, tag="3")] pub client_gateway: ::core::option::Option, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes since the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Message for deleting a ClientGateway +/// Message for deleting a ClientGateway #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteClientGatewayRequest { - /// Required. Name of the resource + /// Required. Name of the resource #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An optional request ID to identify requests. Specify a unique - /// request ID so that if you must retry your request, the server will know to - /// ignore the request if it has already been completed. The server will - /// guarantee that for at least 60 minutes after the first request. + /// Optional. An optional request ID to identify requests. Specify a unique + /// request ID so that if you must retry your request, the server will know to + /// ignore the request if it has already been completed. The server will + /// guarantee that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and t - /// he request times out. If you make the request again with the same request - /// ID, the server can check if original operation with the same request ID - /// was received, and if so, will ignore the second request. This prevents - /// clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and t + /// he request times out. If you make the request again with the same request + /// ID, the server can check if original operation with the same request ID + /// was received, and if so, will ignore the second request. This prevents + /// clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set, validates request by executing a dry-run which would not - /// alter the resource in any way. + /// Optional. If set, validates request by executing a dry-run which would not + /// alter the resource in any way. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClientGatewayOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have been cancelled successfully - /// have \[Operation.error][\] value with a - /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to - /// `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have been cancelled successfully + /// have \[Operation.error][\] value with a + /// \[google.rpc.Status.code][google.rpc.Status.code\] of 1, corresponding to + /// `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.analyticshub.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.analyticshub.v1.rs index 574cb3df8..e27d124ad 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.analyticshub.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.analyticshub.v1.rs @@ -1,187 +1,187 @@ -/// A data exchange is a container that lets you share data. Along with the -/// descriptive information about the data exchange, it contains listings that -/// reference shared datasets. +/// A data exchange is a container that lets you share data. Along with the +/// descriptive information about the data exchange, it contains listings that +/// reference shared datasets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataExchange { - /// Output only. The resource name of the data exchange. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Output only. The resource name of the data exchange. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name of the data exchange. The display name must - /// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), - /// spaces ( ), ampersands (&) and must not start or end with spaces. - /// Default value is an empty string. - /// Max length: 63 bytes. + /// Required. Human-readable display name of the data exchange. The display name must + /// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), + /// spaces ( ), ampersands (&) and must not start or end with spaces. + /// Default value is an empty string. + /// Max length: 63 bytes. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description of the data exchange. The description must not contain Unicode - /// non-characters as well as C0 and C1 control codes except tabs (HT), - /// new lines (LF), carriage returns (CR), and page breaks (FF). - /// Default value is an empty string. - /// Max length: 2000 bytes. + /// Optional. Description of the data exchange. The description must not contain Unicode + /// non-characters as well as C0 and C1 control codes except tabs (HT), + /// new lines (LF), carriage returns (CR), and page breaks (FF). + /// Default value is an empty string. + /// Max length: 2000 bytes. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Email or URL of the primary point of contact of the data exchange. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the primary point of contact of the data exchange. + /// Max Length: 1000 bytes. #[prost(string, tag="4")] pub primary_contact: ::prost::alloc::string::String, - /// Optional. Documentation describing the data exchange. + /// Optional. Documentation describing the data exchange. #[prost(string, tag="5")] pub documentation: ::prost::alloc::string::String, - /// Output only. Number of listings contained in the data exchange. + /// Output only. Number of listings contained in the data exchange. #[prost(int32, tag="6")] pub listing_count: i32, - /// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB - /// Expected image dimensions are 512x512 pixels, however the API only - /// performs validation on size of the encoded data. - /// Note: For byte fields, the content of the fields are base64-encoded (which - /// increases the size of the data by 33-36%) when using JSON on the wire. + /// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB + /// Expected image dimensions are 512x512 pixels, however the API only + /// performs validation on size of the encoded data. + /// Note: For byte fields, the content of the fields are base64-encoded (which + /// increases the size of the data by 33-36%) when using JSON on the wire. #[prost(bytes="vec", tag="7")] pub icon: ::prost::alloc::vec::Vec, } -/// Contains details of the data provider. +/// Contains details of the data provider. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataProvider { - /// Optional. Name of the data provider. + /// Optional. Name of the data provider. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Email or URL of the data provider. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the data provider. + /// Max Length: 1000 bytes. #[prost(string, tag="2")] pub primary_contact: ::prost::alloc::string::String, } -/// Contains details of the listing publisher. +/// Contains details of the listing publisher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Publisher { - /// Optional. Name of the listing publisher. + /// Optional. Name of the listing publisher. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Email or URL of the listing publisher. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the listing publisher. + /// Max Length: 1000 bytes. #[prost(string, tag="2")] pub primary_contact: ::prost::alloc::string::String, } -/// Contains the reference that identifies a destination bigquery dataset. +/// Contains the reference that identifies a destination bigquery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationDatasetReference { - /// Required. A unique ID for this dataset, without the project name. The ID - /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). - /// The maximum length is 1,024 characters. + /// Required. A unique ID for this dataset, without the project name. The ID + /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). + /// The maximum length is 1,024 characters. #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, - /// Required. The ID of the project containing this dataset. + /// Required. The ID of the project containing this dataset. #[prost(string, tag="2")] pub project_id: ::prost::alloc::string::String, } -/// Defines the destination bigquery dataset. +/// Defines the destination bigquery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationDataset { - /// Required. A reference that identifies the destination dataset. + /// Required. A reference that identifies the destination dataset. #[prost(message, optional, tag="1")] pub dataset_reference: ::core::option::Option, - /// Optional. A descriptive name for the dataset. + /// Optional. A descriptive name for the dataset. #[prost(message, optional, tag="2")] pub friendly_name: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. A user-friendly description of the dataset. + /// Optional. A user-friendly description of the dataset. #[prost(message, optional, tag="3")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. The labels associated with this dataset. You can use these - /// to organize and group your datasets. - /// You can set this property when inserting or updating a dataset. - /// See - /// for more information. + /// Optional. The labels associated with this dataset. You can use these + /// to organize and group your datasets. + /// You can set this property when inserting or updating a dataset. + /// See + /// for more information. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The geographic location where the dataset should reside. See - /// for supported - /// locations. + /// Required. The geographic location where the dataset should reside. See + /// for supported + /// locations. #[prost(string, tag="5")] pub location: ::prost::alloc::string::String, } -/// A listing is what gets published into a data exchange that a subscriber can -/// subscribe to. It contains a reference to the data source along with -/// descriptive information that will help subscribers find and subscribe the -/// data. +/// A listing is what gets published into a data exchange that a subscriber can +/// subscribe to. It contains a reference to the data source along with +/// descriptive information that will help subscribers find and subscribe the +/// data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Listing { - /// Output only. The resource name of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` + /// Output only. The resource name of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name of the listing. The display name must contain - /// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces - /// ( ), ampersands (&) and can't start or end with spaces. - /// Default value is an empty string. - /// Max length: 63 bytes. + /// Required. Human-readable display name of the listing. The display name must contain + /// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces + /// ( ), ampersands (&) and can't start or end with spaces. + /// Default value is an empty string. + /// Max length: 63 bytes. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Short description of the listing. The description must not contain - /// Unicode non-characters and C0 and C1 control codes except tabs (HT), - /// new lines (LF), carriage returns (CR), and page breaks (FF). - /// Default value is an empty string. - /// Max length: 2000 bytes. + /// Optional. Short description of the listing. The description must not contain + /// Unicode non-characters and C0 and C1 control codes except tabs (HT), + /// new lines (LF), carriage returns (CR), and page breaks (FF). + /// Default value is an empty string. + /// Max length: 2000 bytes. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Email or URL of the primary point of contact of the listing. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the primary point of contact of the listing. + /// Max Length: 1000 bytes. #[prost(string, tag="4")] pub primary_contact: ::prost::alloc::string::String, - /// Optional. Documentation describing the listing. + /// Optional. Documentation describing the listing. #[prost(string, tag="5")] pub documentation: ::prost::alloc::string::String, - /// Output only. Current state of the listing. + /// Output only. Current state of the listing. #[prost(enumeration="listing::State", tag="7")] pub state: i32, - /// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB - /// Expected image dimensions are 512x512 pixels, however the API only - /// performs validation on size of the encoded data. - /// Note: For byte fields, the contents of the field are base64-encoded (which - /// increases the size of the data by 33-36%) when using JSON on the wire. + /// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB + /// Expected image dimensions are 512x512 pixels, however the API only + /// performs validation on size of the encoded data. + /// Note: For byte fields, the contents of the field are base64-encoded (which + /// increases the size of the data by 33-36%) when using JSON on the wire. #[prost(bytes="vec", tag="8")] pub icon: ::prost::alloc::vec::Vec, - /// Optional. Details of the data provider who owns the source data. + /// Optional. Details of the data provider who owns the source data. #[prost(message, optional, tag="9")] pub data_provider: ::core::option::Option, - /// Optional. Categories of the listing. Up to two categories are allowed. + /// Optional. Categories of the listing. Up to two categories are allowed. #[prost(enumeration="listing::Category", repeated, packed="false", tag="10")] pub categories: ::prost::alloc::vec::Vec, - /// Optional. Details of the publisher who owns the listing and who can share - /// the source data. + /// Optional. Details of the publisher who owns the listing and who can share + /// the source data. #[prost(message, optional, tag="11")] pub publisher: ::core::option::Option, - /// Optional. Email or URL of the request access of the listing. - /// Subscribers can use this reference to request access. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the request access of the listing. + /// Subscribers can use this reference to request access. + /// Max Length: 1000 bytes. #[prost(string, tag="12")] pub request_access: ::prost::alloc::string::String, - /// Listing source. + /// Listing source. #[prost(oneof="listing::Source", tags="6")] pub source: ::core::option::Option, } /// Nested message and enum types in `Listing`. pub mod listing { - /// A reference to a shared dataset. It is an existing BigQuery dataset with a - /// collection of objects such as tables and views that you want to share - /// with subscribers. - /// When subscriber's subscribe to a listing, Analytics Hub creates a linked - /// dataset in - /// the subscriber's project. A Linked dataset is an opaque, read-only BigQuery - /// dataset that serves as a _symbolic link_ to a shared dataset. + /// A reference to a shared dataset. It is an existing BigQuery dataset with a + /// collection of objects such as tables and views that you want to share + /// with subscribers. + /// When subscriber's subscribe to a listing, Analytics Hub creates a linked + /// dataset in + /// the subscriber's project. A Linked dataset is an opaque, read-only BigQuery + /// dataset that serves as a _symbolic link_ to a shared dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDatasetSource { - /// Resource name of the dataset source for this listing. - /// e.g. `projects/myproject/datasets/123` + /// Resource name of the dataset source for this listing. + /// e.g. `projects/myproject/datasets/123` #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, } - /// State of the listing. + /// State of the listing. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Subscribable state. Users with dataexchange.listings.subscribe permission - /// can subscribe to this listing. + /// Subscribable state. Users with dataexchange.listings.subscribe permission + /// can subscribe to this listing. Active = 1, } impl State { @@ -196,7 +196,7 @@ pub mod listing { } } } - /// Listing categories. + /// Listing categories. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Category { @@ -251,208 +251,208 @@ pub mod listing { } } } - /// Listing source. + /// Listing source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Required. Shared dataset i.e. BigQuery dataset source. + /// Required. Shared dataset i.e. BigQuery dataset source. #[prost(message, tag="6")] BigqueryDataset(BigQueryDatasetSource), } } -/// Message for requesting the list of data exchanges. +/// Message for requesting the list of data exchanges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataExchangesRequest { - /// Required. The parent resource path of the data exchanges. - /// e.g. `projects/myproject/locations/US`. + /// Required. The parent resource path of the data exchanges. + /// e.g. `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to the list of data exchanges. +/// Message for response to the list of data exchanges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataExchangesResponse { - /// The list of data exchanges. + /// The list of data exchanges. #[prost(message, repeated, tag="1")] pub data_exchanges: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for requesting the list of data exchanges from projects in an -/// organization and location. +/// Message for requesting the list of data exchanges from projects in an +/// organization and location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrgDataExchangesRequest { - /// Required. The organization resource path of the projects containing DataExchanges. - /// e.g. `organizations/myorg/locations/US`. + /// Required. The organization resource path of the projects containing DataExchanges. + /// e.g. `organizations/myorg/locations/US`. #[prost(string, tag="1")] pub organization: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to listing data exchanges in an organization and -/// location. +/// Message for response to listing data exchanges in an organization and +/// location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrgDataExchangesResponse { - /// The list of data exchanges. + /// The list of data exchanges. #[prost(message, repeated, tag="1")] pub data_exchanges: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for getting a data exchange. +/// Message for getting a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataExchangeRequest { - /// Required. The resource name of the data exchange. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The resource name of the data exchange. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a data exchange. +/// Message for creating a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataExchangeRequest { - /// Required. The parent resource path of the data exchange. - /// e.g. `projects/myproject/locations/US`. + /// Required. The parent resource path of the data exchange. + /// e.g. `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the data exchange. - /// Must contain only Unicode letters, numbers (0-9), underscores (_). - /// Should not use characters that require URL-escaping, or characters - /// outside of ASCII, spaces. - /// Max length: 100 bytes. + /// Required. The ID of the data exchange. + /// Must contain only Unicode letters, numbers (0-9), underscores (_). + /// Should not use characters that require URL-escaping, or characters + /// outside of ASCII, spaces. + /// Max length: 100 bytes. #[prost(string, tag="2")] pub data_exchange_id: ::prost::alloc::string::String, - /// Required. The data exchange to create. + /// Required. The data exchange to create. #[prost(message, optional, tag="3")] pub data_exchange: ::core::option::Option, } -/// Message for updating a data exchange. +/// Message for updating a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataExchangeRequest { - /// Required. Field mask specifies the fields to update in the data exchange - /// resource. The fields specified in the - /// `updateMask` are relative to the resource and are not a full request. + /// Required. Field mask specifies the fields to update in the data exchange + /// resource. The fields specified in the + /// `updateMask` are relative to the resource and are not a full request. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The data exchange to update. + /// Required. The data exchange to update. #[prost(message, optional, tag="2")] pub data_exchange: ::core::option::Option, } -/// Message for deleting a data exchange. +/// Message for deleting a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataExchangeRequest { - /// Required. The full name of the data exchange resource that you want to delete. - /// For example, `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The full name of the data exchange resource that you want to delete. + /// For example, `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting the list of listings. +/// Message for requesting the list of listings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListListingsRequest { - /// Required. The parent resource path of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The parent resource path of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to the list of Listings. +/// Message for response to the list of Listings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListListingsResponse { - /// The list of Listing. + /// The list of Listing. #[prost(message, repeated, tag="1")] pub listings: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for getting a listing. +/// Message for getting a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetListingRequest { - /// Required. The resource name of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. The resource name of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a listing. +/// Message for creating a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateListingRequest { - /// Required. The parent resource path of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The parent resource path of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the listing to create. - /// Must contain only Unicode letters, numbers (0-9), underscores (_). - /// Should not use characters that require URL-escaping, or characters - /// outside of ASCII, spaces. - /// Max length: 100 bytes. + /// Required. The ID of the listing to create. + /// Must contain only Unicode letters, numbers (0-9), underscores (_). + /// Should not use characters that require URL-escaping, or characters + /// outside of ASCII, spaces. + /// Max length: 100 bytes. #[prost(string, tag="2")] pub listing_id: ::prost::alloc::string::String, - /// Required. The listing to create. + /// Required. The listing to create. #[prost(message, optional, tag="3")] pub listing: ::core::option::Option, } -/// Message for updating a Listing. +/// Message for updating a Listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateListingRequest { - /// Required. Field mask specifies the fields to update in the listing resource. The - /// fields specified in the `updateMask` are relative to the resource and are - /// not a full request. + /// Required. Field mask specifies the fields to update in the listing resource. The + /// fields specified in the `updateMask` are relative to the resource and are + /// not a full request. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The listing to update. + /// Required. The listing to update. #[prost(message, optional, tag="2")] pub listing: ::core::option::Option, } -/// Message for deleting a listing. +/// Message for deleting a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteListingRequest { - /// Required. Resource name of the listing to delete. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. Resource name of the listing to delete. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for subscribing to a listing. +/// Message for subscribing to a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubscribeListingRequest { - /// Required. Resource name of the listing that you want to subscribe to. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. Resource name of the listing that you want to subscribe to. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Resulting destination of the listing that you subscribed to. + /// Resulting destination of the listing that you subscribed to. #[prost(oneof="subscribe_listing_request::Destination", tags="3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `SubscribeListingRequest`. pub mod subscribe_listing_request { - /// Resulting destination of the listing that you subscribed to. + /// Resulting destination of the listing that you subscribed to. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// BigQuery destination dataset to create for the subscriber. + /// BigQuery destination dataset to create for the subscriber. #[prost(message, tag="3")] DestinationDataset(super::DestinationDataset), } } -/// Message for response when you subscribe to a listing. +/// Message for response when you subscribe to a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubscribeListingResponse { } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1.rs index 45a0eb25b..fa4f37286 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1.rs @@ -1,154 +1,154 @@ -/// The request for \[ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection\]. +/// The request for \[ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1.ConnectionService.CreateConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionRequest { - /// Required. Parent resource name. - /// Must be in the format `projects/{project_id}/locations/{location_id}` + /// Required. Parent resource name. + /// Must be in the format `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Connection id that should be assigned to the created connection. + /// Optional. Connection id that should be assigned to the created connection. #[prost(string, tag="2")] pub connection_id: ::prost::alloc::string::String, - /// Required. Connection to create. + /// Required. Connection to create. #[prost(message, optional, tag="3")] pub connection: ::core::option::Option, } -/// The request for \[ConnectionService.GetConnection][google.cloud.bigquery.connection.v1.ConnectionService.GetConnection\]. +/// The request for \[ConnectionService.GetConnection][google.cloud.bigquery.connection.v1.ConnectionService.GetConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionRequest { - /// Required. Name of the requested connection, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the requested connection, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections\]. +/// The request for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsRequest { - /// Required. Parent resource name. - /// Must be in the form: `projects/{project_id}/locations/{location_id}` + /// Required. Parent resource name. + /// Must be in the form: `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Page size. + /// Required. Page size. #[prost(int32, tag="4")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections\]. +/// The response for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1.ConnectionService.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsResponse { - /// Next page token. + /// Next page token. #[prost(string, tag="1")] pub next_page_token: ::prost::alloc::string::String, - /// List of connections. + /// List of connections. #[prost(message, repeated, tag="2")] pub connections: ::prost::alloc::vec::Vec, } -/// The request for \[ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection\]. +/// The request for \[ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1.ConnectionService.UpdateConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionRequest { - /// Required. Name of the connection to update, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the connection to update, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Connection containing the updated fields. + /// Required. Connection containing the updated fields. #[prost(message, optional, tag="2")] pub connection: ::core::option::Option, - /// Required. Update mask for the connection fields to be updated. + /// Required. Update mask for the connection fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[ConnectionService.DeleteConnectionRequest][\]. +/// The request for \[ConnectionService.DeleteConnectionRequest][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionRequest { - /// Required. Name of the deleted connection, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the deleted connection, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Configuration parameters to establish connection with an external data -/// source, except the credential attributes. +/// Configuration parameters to establish connection with an external data +/// source, except the credential attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Connection { - /// The resource name of the connection in the form of: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// The resource name of the connection in the form of: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name for the connection. + /// User provided display name for the connection. #[prost(string, tag="2")] pub friendly_name: ::prost::alloc::string::String, - /// User provided description. + /// User provided description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The creation timestamp of the connection. + /// Output only. The creation timestamp of the connection. #[prost(int64, tag="5")] pub creation_time: i64, - /// Output only. The last update timestamp of the connection. + /// Output only. The last update timestamp of the connection. #[prost(int64, tag="6")] pub last_modified_time: i64, - /// Output only. True, if credential is configured for this connection. + /// Output only. True, if credential is configured for this connection. #[prost(bool, tag="7")] pub has_credential: bool, - /// Properties specific to the underlying data source. + /// Properties specific to the underlying data source. #[prost(oneof="connection::Properties", tags="4, 8, 11, 21, 22")] pub properties: ::core::option::Option, } /// Nested message and enum types in `Connection`. pub mod connection { - /// Properties specific to the underlying data source. + /// Properties specific to the underlying data source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Properties { - /// Cloud SQL properties. + /// Cloud SQL properties. #[prost(message, tag="4")] CloudSql(super::CloudSqlProperties), - /// Amazon Web Services (AWS) properties. + /// Amazon Web Services (AWS) properties. #[prost(message, tag="8")] Aws(super::AwsProperties), - /// Azure properties. + /// Azure properties. #[prost(message, tag="11")] Azure(super::AzureProperties), - /// Cloud Spanner properties. + /// Cloud Spanner properties. #[prost(message, tag="21")] CloudSpanner(super::CloudSpannerProperties), - /// Cloud Resource properties. + /// Cloud Resource properties. #[prost(message, tag="22")] CloudResource(super::CloudResourceProperties), } } -/// Connection properties specific to the Cloud SQL. +/// Connection properties specific to the Cloud SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlProperties { - /// Cloud SQL instance ID in the form `project:location:instance`. + /// Cloud SQL instance ID in the form `project:location:instance`. #[prost(string, tag="1")] pub instance_id: ::prost::alloc::string::String, - /// Database name. + /// Database name. #[prost(string, tag="2")] pub database: ::prost::alloc::string::String, - /// Type of the Cloud SQL database. + /// Type of the Cloud SQL database. #[prost(enumeration="cloud_sql_properties::DatabaseType", tag="3")] pub r#type: i32, - /// Input only. Cloud SQL credential. + /// Input only. Cloud SQL credential. #[prost(message, optional, tag="4")] pub credential: ::core::option::Option, - /// Output only. The account ID of the service used for the purpose of this connection. + /// Output only. The account ID of the service used for the purpose of this connection. /// - /// When the connection is used in the context of an operation in - /// BigQuery, this service account will serve as identity being used for - /// connecting to the CloudSQL instance specified in this connection. + /// When the connection is used in the context of an operation in + /// BigQuery, this service account will serve as identity being used for + /// connecting to the CloudSQL instance specified in this connection. #[prost(string, tag="5")] pub service_account_id: ::prost::alloc::string::String, } /// Nested message and enum types in `CloudSqlProperties`. pub mod cloud_sql_properties { - /// Supported Cloud SQL database types. + /// Supported Cloud SQL database types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// Unspecified database type. + /// Unspecified database type. Unspecified = 0, - /// Cloud SQL for PostgreSQL. + /// Cloud SQL for PostgreSQL. Postgres = 1, - /// Cloud SQL for MySQL. + /// Cloud SQL for MySQL. Mysql = 2, } impl DatabaseType { @@ -165,121 +165,121 @@ pub mod cloud_sql_properties { } } } -/// Credential info for the Cloud SQL. +/// Credential info for the Cloud SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlCredential { - /// The username for the credential. + /// The username for the credential. #[prost(string, tag="1")] pub username: ::prost::alloc::string::String, - /// The password for the credential. + /// The password for the credential. #[prost(string, tag="2")] pub password: ::prost::alloc::string::String, } -/// Connection properties specific to Cloud Spanner. +/// Connection properties specific to Cloud Spanner. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSpannerProperties { - /// Cloud Spanner database in the form `project/instance/database' + /// Cloud Spanner database in the form `project/instance/database' #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// If parallelism should be used when reading from Cloud Spanner + /// If parallelism should be used when reading from Cloud Spanner #[prost(bool, tag="2")] pub use_parallelism: bool, } -/// Connection properties specific to Amazon Web Services (AWS). +/// Connection properties specific to Amazon Web Services (AWS). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AwsProperties { - /// Authentication method chosen at connection creation. + /// Authentication method chosen at connection creation. #[prost(oneof="aws_properties::AuthenticationMethod", tags="2, 3")] pub authentication_method: ::core::option::Option, } /// Nested message and enum types in `AwsProperties`. pub mod aws_properties { - /// Authentication method chosen at connection creation. + /// Authentication method chosen at connection creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AuthenticationMethod { - /// Authentication using Google owned AWS IAM user's access key to assume - /// into customer's AWS IAM Role. - /// Deprecated, do not use. + /// Authentication using Google owned AWS IAM user's access key to assume + /// into customer's AWS IAM Role. + /// Deprecated, do not use. #[prost(message, tag="2")] CrossAccountRole(super::AwsCrossAccountRole), - /// Authentication using Google owned service account to assume into - /// customer's AWS IAM Role. + /// Authentication using Google owned service account to assume into + /// customer's AWS IAM Role. #[prost(message, tag="3")] AccessRole(super::AwsAccessRole), } } -/// Authentication method for Amazon Web Services (AWS) that uses Google owned -/// AWS IAM user's access key to assume into customer's AWS IAM Role. +/// Authentication method for Amazon Web Services (AWS) that uses Google owned +/// AWS IAM user's access key to assume into customer's AWS IAM Role. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AwsCrossAccountRole { - /// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user - /// Connection. + /// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user + /// Connection. #[prost(string, tag="1")] pub iam_role_id: ::prost::alloc::string::String, - /// Output only. Google-owned AWS IAM User for a Connection. + /// Output only. Google-owned AWS IAM User for a Connection. #[prost(string, tag="2")] pub iam_user_id: ::prost::alloc::string::String, - /// Output only. A Google-generated id for representing Connection’s identity in AWS. - /// External Id is also used for preventing the Confused Deputy Problem. See - /// + /// Output only. A Google-generated id for representing Connection’s identity in AWS. + /// External Id is also used for preventing the Confused Deputy Problem. See + /// #[prost(string, tag="3")] pub external_id: ::prost::alloc::string::String, } -/// Authentication method for Amazon Web Services (AWS) that uses Google owned -/// Google service account to assume into customer's AWS IAM Role. +/// Authentication method for Amazon Web Services (AWS) that uses Google owned +/// Google service account to assume into customer's AWS IAM Role. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AwsAccessRole { - /// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user - /// Connection. + /// The user’s AWS IAM Role that trusts the Google-owned AWS IAM user + /// Connection. #[prost(string, tag="1")] pub iam_role_id: ::prost::alloc::string::String, - /// A unique Google-owned and Google-generated identity for the Connection. - /// This identity will be used to access the user's AWS IAM Role. + /// A unique Google-owned and Google-generated identity for the Connection. + /// This identity will be used to access the user's AWS IAM Role. #[prost(string, tag="2")] pub identity: ::prost::alloc::string::String, } -/// Container for connection properties specific to Azure. +/// Container for connection properties specific to Azure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AzureProperties { - /// Output only. The name of the Azure Active Directory Application. + /// Output only. The name of the Azure Active Directory Application. #[prost(string, tag="1")] pub application: ::prost::alloc::string::String, - /// Output only. The client id of the Azure Active Directory Application. + /// Output only. The client id of the Azure Active Directory Application. #[prost(string, tag="2")] pub client_id: ::prost::alloc::string::String, - /// Output only. The object id of the Azure Active Directory Application. + /// Output only. The object id of the Azure Active Directory Application. #[prost(string, tag="3")] pub object_id: ::prost::alloc::string::String, - /// The id of customer's directory that host the data. + /// The id of customer's directory that host the data. #[prost(string, tag="4")] pub customer_tenant_id: ::prost::alloc::string::String, - /// The URL user will be redirected to after granting consent during connection - /// setup. + /// The URL user will be redirected to after granting consent during connection + /// setup. #[prost(string, tag="5")] pub redirect_uri: ::prost::alloc::string::String, - /// The client id of the user's Azure Active Directory Application used for a - /// federated connection. + /// The client id of the user's Azure Active Directory Application used for a + /// federated connection. #[prost(string, tag="6")] pub federated_application_client_id: ::prost::alloc::string::String, - /// Output only. A unique Google-owned and Google-generated identity for the Connection. - /// This identity will be used to access the user's Azure Active Directory - /// Application. + /// Output only. A unique Google-owned and Google-generated identity for the Connection. + /// This identity will be used to access the user's Azure Active Directory + /// Application. #[prost(string, tag="7")] pub identity: ::prost::alloc::string::String, } -/// Container for connection properties for delegation of access to GCP -/// resources. +/// Container for connection properties for delegation of access to GCP +/// resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudResourceProperties { - /// Output only. The account ID of the service created for the purpose of this connection. + /// Output only. The account ID of the service created for the purpose of this connection. /// - /// The service account does not have any permissions associated with it - /// when it is created. After creation, customers delegate permissions - /// to the service account. When the connection is used in the context of an - /// operation in BigQuery, the service account will be used to connect to the - /// desired resources in GCP. + /// The service account does not have any permissions associated with it + /// when it is created. After creation, customers delegate permissions + /// to the service account. When the connection is used in the context of an + /// operation in BigQuery, the service account will be used to connect to the + /// desired resources in GCP. /// - /// The account ID is in the form of: + /// The account ID is in the form of: /// @gcp-sa-bigquery-cloudresource.iam.gserviceaccount.com #[prost(string, tag="1")] pub service_account_id: ::prost::alloc::string::String, diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1beta1.rs index 7fdfecb83..3d1554c01 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.connection.v1beta1.rs @@ -1,170 +1,170 @@ -/// The request for \[ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection\]. +/// The request for \[ConnectionService.CreateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.CreateConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionRequest { - /// Required. Parent resource name. - /// Must be in the format `projects/{project_id}/locations/{location_id}` + /// Required. Parent resource name. + /// Must be in the format `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Connection id that should be assigned to the created connection. + /// Optional. Connection id that should be assigned to the created connection. #[prost(string, tag="2")] pub connection_id: ::prost::alloc::string::String, - /// Required. Connection to create. + /// Required. Connection to create. #[prost(message, optional, tag="3")] pub connection: ::core::option::Option, } -/// The request for \[ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection\]. +/// The request for \[ConnectionService.GetConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.GetConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionRequest { - /// Required. Name of the requested connection, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the requested connection, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections\]. +/// The request for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsRequest { - /// Required. Parent resource name. - /// Must be in the form: `projects/{project_id}/locations/{location_id}` + /// Required. Parent resource name. + /// Must be in the form: `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Maximum number of results per page. + /// Required. Maximum number of results per page. #[prost(message, optional, tag="2")] pub max_results: ::core::option::Option, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections\]. +/// The response for \[ConnectionService.ListConnections][google.cloud.bigquery.connection.v1beta1.ConnectionService.ListConnections\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsResponse { - /// Next page token. + /// Next page token. #[prost(string, tag="1")] pub next_page_token: ::prost::alloc::string::String, - /// List of connections. + /// List of connections. #[prost(message, repeated, tag="2")] pub connections: ::prost::alloc::vec::Vec, } -/// The request for \[ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection\]. +/// The request for \[ConnectionService.UpdateConnection][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnection\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionRequest { - /// Required. Name of the connection to update, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the connection to update, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Connection containing the updated fields. + /// Required. Connection containing the updated fields. #[prost(message, optional, tag="2")] pub connection: ::core::option::Option, - /// Required. Update mask for the connection fields to be updated. + /// Required. Update mask for the connection fields to be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential\]. +/// The request for \[ConnectionService.UpdateConnectionCredential][google.cloud.bigquery.connection.v1beta1.ConnectionService.UpdateConnectionCredential\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionCredentialRequest { - /// Required. Name of the connection, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential` + /// Required. Name of the connection, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}/credential` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Credential to use with the connection. + /// Required. Credential to use with the connection. #[prost(message, optional, tag="2")] pub credential: ::core::option::Option, } -/// The request for \[ConnectionService.DeleteConnectionRequest][\]. +/// The request for \[ConnectionService.DeleteConnectionRequest][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionRequest { - /// Required. Name of the deleted connection, for example: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// Required. Name of the deleted connection, for example: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Configuration parameters to establish connection with an external data -/// source, except the credential attributes. +/// Configuration parameters to establish connection with an external data +/// source, except the credential attributes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Connection { - /// The resource name of the connection in the form of: - /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` + /// The resource name of the connection in the form of: + /// `projects/{project_id}/locations/{location_id}/connections/{connection_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User provided display name for the connection. + /// User provided display name for the connection. #[prost(string, tag="2")] pub friendly_name: ::prost::alloc::string::String, - /// User provided description. + /// User provided description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The creation timestamp of the connection. + /// Output only. The creation timestamp of the connection. #[prost(int64, tag="5")] pub creation_time: i64, - /// Output only. The last update timestamp of the connection. + /// Output only. The last update timestamp of the connection. #[prost(int64, tag="6")] pub last_modified_time: i64, - /// Output only. True, if credential is configured for this connection. + /// Output only. True, if credential is configured for this connection. #[prost(bool, tag="7")] pub has_credential: bool, - /// Properties specific to the underlying data source. + /// Properties specific to the underlying data source. #[prost(oneof="connection::Properties", tags="4")] pub properties: ::core::option::Option, } /// Nested message and enum types in `Connection`. pub mod connection { - /// Properties specific to the underlying data source. + /// Properties specific to the underlying data source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Properties { - /// Cloud SQL properties. + /// Cloud SQL properties. #[prost(message, tag="4")] CloudSql(super::CloudSqlProperties), } } -/// Credential to use with a connection. +/// Credential to use with a connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionCredential { - /// Credential specific to the underlying data source. + /// Credential specific to the underlying data source. #[prost(oneof="connection_credential::Credential", tags="1")] pub credential: ::core::option::Option, } /// Nested message and enum types in `ConnectionCredential`. pub mod connection_credential { - /// Credential specific to the underlying data source. + /// Credential specific to the underlying data source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Credential { - /// Credential for Cloud SQL database. + /// Credential for Cloud SQL database. #[prost(message, tag="1")] CloudSql(super::CloudSqlCredential), } } -/// Connection properties specific to the Cloud SQL. +/// Connection properties specific to the Cloud SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlProperties { - /// Cloud SQL instance ID in the form `project:location:instance`. + /// Cloud SQL instance ID in the form `project:location:instance`. #[prost(string, tag="1")] pub instance_id: ::prost::alloc::string::String, - /// Database name. + /// Database name. #[prost(string, tag="2")] pub database: ::prost::alloc::string::String, - /// Type of the Cloud SQL database. + /// Type of the Cloud SQL database. #[prost(enumeration="cloud_sql_properties::DatabaseType", tag="3")] pub r#type: i32, - /// Input only. Cloud SQL credential. + /// Input only. Cloud SQL credential. #[prost(message, optional, tag="4")] pub credential: ::core::option::Option, - /// Output only. The account ID of the service used for the purpose of this connection. + /// Output only. The account ID of the service used for the purpose of this connection. /// - /// When the connection is used in the context of an operation in - /// BigQuery, this service account will serve as identity being used for - /// connecting to the CloudSQL instance specified in this connection. + /// When the connection is used in the context of an operation in + /// BigQuery, this service account will serve as identity being used for + /// connecting to the CloudSQL instance specified in this connection. #[prost(string, tag="5")] pub service_account_id: ::prost::alloc::string::String, } /// Nested message and enum types in `CloudSqlProperties`. pub mod cloud_sql_properties { - /// Supported Cloud SQL database types. + /// Supported Cloud SQL database types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// Unspecified database type. + /// Unspecified database type. Unspecified = 0, - /// Cloud SQL for PostgreSQL. + /// Cloud SQL for PostgreSQL. Postgres = 1, - /// Cloud SQL for MySQL. + /// Cloud SQL for MySQL. Mysql = 2, } impl DatabaseType { @@ -181,13 +181,13 @@ pub mod cloud_sql_properties { } } } -/// Credential info for the Cloud SQL. +/// Credential info for the Cloud SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlCredential { - /// The username for the credential. + /// The username for the credential. #[prost(string, tag="1")] pub username: ::prost::alloc::string::String, - /// The password for the credential. + /// The password for the credential. #[prost(string, tag="2")] pub password: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.dataexchange.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.dataexchange.v1beta1.rs index 1bca91f3d..90c7e3361 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.dataexchange.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.dataexchange.v1beta1.rs @@ -1,187 +1,187 @@ -/// A data exchange is a container that lets you share data. Along with the -/// descriptive information about the data exchange, it contains listings that -/// reference shared datasets. +/// A data exchange is a container that lets you share data. Along with the +/// descriptive information about the data exchange, it contains listings that +/// reference shared datasets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataExchange { - /// Output only. The resource name of the data exchange. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Output only. The resource name of the data exchange. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name of the data exchange. The display name must - /// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), - /// spaces ( ), ampersands (&) and must not start or end with spaces. - /// Default value is an empty string. - /// Max length: 63 bytes. + /// Required. Human-readable display name of the data exchange. The display name must + /// contain only Unicode letters, numbers (0-9), underscores (_), dashes (-), + /// spaces ( ), ampersands (&) and must not start or end with spaces. + /// Default value is an empty string. + /// Max length: 63 bytes. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description of the data exchange. The description must not contain Unicode - /// non-characters as well as C0 and C1 control codes except tabs (HT), - /// new lines (LF), carriage returns (CR), and page breaks (FF). - /// Default value is an empty string. - /// Max length: 2000 bytes. + /// Optional. Description of the data exchange. The description must not contain Unicode + /// non-characters as well as C0 and C1 control codes except tabs (HT), + /// new lines (LF), carriage returns (CR), and page breaks (FF). + /// Default value is an empty string. + /// Max length: 2000 bytes. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Email or URL of the primary point of contact of the data exchange. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the primary point of contact of the data exchange. + /// Max Length: 1000 bytes. #[prost(string, tag="4")] pub primary_contact: ::prost::alloc::string::String, - /// Optional. Documentation describing the data exchange. + /// Optional. Documentation describing the data exchange. #[prost(string, tag="5")] pub documentation: ::prost::alloc::string::String, - /// Output only. Number of listings contained in the data exchange. + /// Output only. Number of listings contained in the data exchange. #[prost(int32, tag="6")] pub listing_count: i32, - /// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB - /// Expected image dimensions are 512x512 pixels, however the API only - /// performs validation on size of the encoded data. - /// Note: For byte fields, the content of the fields are base64-encoded (which - /// increases the size of the data by 33-36%) when using JSON on the wire. + /// Optional. Base64 encoded image representing the data exchange. Max Size: 3.0MiB + /// Expected image dimensions are 512x512 pixels, however the API only + /// performs validation on size of the encoded data. + /// Note: For byte fields, the content of the fields are base64-encoded (which + /// increases the size of the data by 33-36%) when using JSON on the wire. #[prost(bytes="vec", tag="7")] pub icon: ::prost::alloc::vec::Vec, } -/// Contains details of the data provider. +/// Contains details of the data provider. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataProvider { - /// Optional. Name of the data provider. + /// Optional. Name of the data provider. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Email or URL of the data provider. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the data provider. + /// Max Length: 1000 bytes. #[prost(string, tag="2")] pub primary_contact: ::prost::alloc::string::String, } -/// Contains details of the listing publisher. +/// Contains details of the listing publisher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Publisher { - /// Optional. Name of the listing publisher. + /// Optional. Name of the listing publisher. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Email or URL of the listing publisher. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the listing publisher. + /// Max Length: 1000 bytes. #[prost(string, tag="2")] pub primary_contact: ::prost::alloc::string::String, } -/// Contains the reference that identifies a destination bigquery dataset. +/// Contains the reference that identifies a destination bigquery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationDatasetReference { - /// Required. A unique ID for this dataset, without the project name. The ID - /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). - /// The maximum length is 1,024 characters. + /// Required. A unique ID for this dataset, without the project name. The ID + /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). + /// The maximum length is 1,024 characters. #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, - /// Required. The ID of the project containing this dataset. + /// Required. The ID of the project containing this dataset. #[prost(string, tag="2")] pub project_id: ::prost::alloc::string::String, } -/// Defines the destination bigquery dataset. +/// Defines the destination bigquery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationDataset { - /// Required. A reference that identifies the destination dataset. + /// Required. A reference that identifies the destination dataset. #[prost(message, optional, tag="1")] pub dataset_reference: ::core::option::Option, - /// Optional. A descriptive name for the dataset. + /// Optional. A descriptive name for the dataset. #[prost(message, optional, tag="2")] pub friendly_name: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. A user-friendly description of the dataset. + /// Optional. A user-friendly description of the dataset. #[prost(message, optional, tag="3")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. The labels associated with this dataset. You can use these - /// to organize and group your datasets. - /// You can set this property when inserting or updating a dataset. - /// See - /// for more information. + /// Optional. The labels associated with this dataset. You can use these + /// to organize and group your datasets. + /// You can set this property when inserting or updating a dataset. + /// See + /// for more information. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The geographic location where the dataset should reside. See - /// for supported - /// locations. + /// Required. The geographic location where the dataset should reside. See + /// for supported + /// locations. #[prost(string, tag="5")] pub location: ::prost::alloc::string::String, } -/// A listing is what gets published into a data exchange that a subscriber can -/// subscribe to. It contains a reference to the data source along with -/// descriptive information that will help subscribers find and subscribe the -/// data. +/// A listing is what gets published into a data exchange that a subscriber can +/// subscribe to. It contains a reference to the data source along with +/// descriptive information that will help subscribers find and subscribe the +/// data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Listing { - /// Output only. The resource name of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` + /// Output only. The resource name of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Human-readable display name of the listing. The display name must contain - /// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces - /// ( ), ampersands (&) and can't start or end with spaces. - /// Default value is an empty string. - /// Max length: 63 bytes. + /// Required. Human-readable display name of the listing. The display name must contain + /// only Unicode letters, numbers (0-9), underscores (_), dashes (-), spaces + /// ( ), ampersands (&) and can't start or end with spaces. + /// Default value is an empty string. + /// Max length: 63 bytes. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Short description of the listing. The description must not contain - /// Unicode non-characters and C0 and C1 control codes except tabs (HT), - /// new lines (LF), carriage returns (CR), and page breaks (FF). - /// Default value is an empty string. - /// Max length: 2000 bytes. + /// Optional. Short description of the listing. The description must not contain + /// Unicode non-characters and C0 and C1 control codes except tabs (HT), + /// new lines (LF), carriage returns (CR), and page breaks (FF). + /// Default value is an empty string. + /// Max length: 2000 bytes. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Email or URL of the primary point of contact of the listing. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the primary point of contact of the listing. + /// Max Length: 1000 bytes. #[prost(string, tag="4")] pub primary_contact: ::prost::alloc::string::String, - /// Optional. Documentation describing the listing. + /// Optional. Documentation describing the listing. #[prost(string, tag="5")] pub documentation: ::prost::alloc::string::String, - /// Output only. Current state of the listing. + /// Output only. Current state of the listing. #[prost(enumeration="listing::State", tag="7")] pub state: i32, - /// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB - /// Expected image dimensions are 512x512 pixels, however the API only - /// performs validation on size of the encoded data. - /// Note: For byte fields, the contents of the field are base64-encoded (which - /// increases the size of the data by 33-36%) when using JSON on the wire. + /// Optional. Base64 encoded image representing the listing. Max Size: 3.0MiB + /// Expected image dimensions are 512x512 pixels, however the API only + /// performs validation on size of the encoded data. + /// Note: For byte fields, the contents of the field are base64-encoded (which + /// increases the size of the data by 33-36%) when using JSON on the wire. #[prost(bytes="vec", tag="8")] pub icon: ::prost::alloc::vec::Vec, - /// Optional. Details of the data provider who owns the source data. + /// Optional. Details of the data provider who owns the source data. #[prost(message, optional, tag="9")] pub data_provider: ::core::option::Option, - /// Optional. Categories of the listing. Up to two categories are allowed. + /// Optional. Categories of the listing. Up to two categories are allowed. #[prost(enumeration="listing::Category", repeated, packed="false", tag="10")] pub categories: ::prost::alloc::vec::Vec, - /// Optional. Details of the publisher who owns the listing and who can share - /// the source data. + /// Optional. Details of the publisher who owns the listing and who can share + /// the source data. #[prost(message, optional, tag="11")] pub publisher: ::core::option::Option, - /// Optional. Email or URL of the request access of the listing. - /// Subscribers can use this reference to request access. - /// Max Length: 1000 bytes. + /// Optional. Email or URL of the request access of the listing. + /// Subscribers can use this reference to request access. + /// Max Length: 1000 bytes. #[prost(string, tag="12")] pub request_access: ::prost::alloc::string::String, - /// Listing source. + /// Listing source. #[prost(oneof="listing::Source", tags="6")] pub source: ::core::option::Option, } /// Nested message and enum types in `Listing`. pub mod listing { - /// A reference to a shared dataset. It is an existing BigQuery dataset with a - /// collection of objects such as tables and views that you want to share - /// with subscribers. - /// When subscriber's subscribe to a listing, Analytics Hub creates a linked - /// dataset in - /// the subscriber's project. A Linked dataset is an opaque, read-only BigQuery - /// dataset that serves as a _symbolic link_ to a shared dataset. + /// A reference to a shared dataset. It is an existing BigQuery dataset with a + /// collection of objects such as tables and views that you want to share + /// with subscribers. + /// When subscriber's subscribe to a listing, Analytics Hub creates a linked + /// dataset in + /// the subscriber's project. A Linked dataset is an opaque, read-only BigQuery + /// dataset that serves as a _symbolic link_ to a shared dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDatasetSource { - /// Resource name of the dataset source for this listing. - /// e.g. `projects/myproject/datasets/123` + /// Resource name of the dataset source for this listing. + /// e.g. `projects/myproject/datasets/123` #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, } - /// State of the listing. + /// State of the listing. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Subscribable state. Users with dataexchange.listings.subscribe permission - /// can subscribe to this listing. + /// Subscribable state. Users with dataexchange.listings.subscribe permission + /// can subscribe to this listing. Active = 1, } impl State { @@ -196,7 +196,7 @@ pub mod listing { } } } - /// Listing categories. + /// Listing categories. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Category { @@ -251,208 +251,208 @@ pub mod listing { } } } - /// Listing source. + /// Listing source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Required. Shared dataset i.e. BigQuery dataset source. + /// Required. Shared dataset i.e. BigQuery dataset source. #[prost(message, tag="6")] BigqueryDataset(BigQueryDatasetSource), } } -/// Message for requesting the list of data exchanges. +/// Message for requesting the list of data exchanges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataExchangesRequest { - /// Required. The parent resource path of the data exchanges. - /// e.g. `projects/myproject/locations/US`. + /// Required. The parent resource path of the data exchanges. + /// e.g. `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to the list of data exchanges. +/// Message for response to the list of data exchanges. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataExchangesResponse { - /// The list of data exchanges. + /// The list of data exchanges. #[prost(message, repeated, tag="1")] pub data_exchanges: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for requesting the list of data exchanges from projects in an -/// organization and location. +/// Message for requesting the list of data exchanges from projects in an +/// organization and location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrgDataExchangesRequest { - /// Required. The organization resource path of the projects containing DataExchanges. - /// e.g. `organizations/myorg/locations/US`. + /// Required. The organization resource path of the projects containing DataExchanges. + /// e.g. `organizations/myorg/locations/US`. #[prost(string, tag="1")] pub organization: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to listing data exchanges in an organization and -/// location. +/// Message for response to listing data exchanges in an organization and +/// location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrgDataExchangesResponse { - /// The list of data exchanges. + /// The list of data exchanges. #[prost(message, repeated, tag="1")] pub data_exchanges: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for getting a data exchange. +/// Message for getting a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataExchangeRequest { - /// Required. The resource name of the data exchange. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The resource name of the data exchange. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a data exchange. +/// Message for creating a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataExchangeRequest { - /// Required. The parent resource path of the data exchange. - /// e.g. `projects/myproject/locations/US`. + /// Required. The parent resource path of the data exchange. + /// e.g. `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the data exchange. - /// Must contain only Unicode letters, numbers (0-9), underscores (_). - /// Should not use characters that require URL-escaping, or characters - /// outside of ASCII, spaces. - /// Max length: 100 bytes. + /// Required. The ID of the data exchange. + /// Must contain only Unicode letters, numbers (0-9), underscores (_). + /// Should not use characters that require URL-escaping, or characters + /// outside of ASCII, spaces. + /// Max length: 100 bytes. #[prost(string, tag="2")] pub data_exchange_id: ::prost::alloc::string::String, - /// Required. The data exchange to create. + /// Required. The data exchange to create. #[prost(message, optional, tag="3")] pub data_exchange: ::core::option::Option, } -/// Message for updating a data exchange. +/// Message for updating a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataExchangeRequest { - /// Required. Field mask specifies the fields to update in the data exchange - /// resource. The fields specified in the - /// `updateMask` are relative to the resource and are not a full request. + /// Required. Field mask specifies the fields to update in the data exchange + /// resource. The fields specified in the + /// `updateMask` are relative to the resource and are not a full request. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The data exchange to update. + /// Required. The data exchange to update. #[prost(message, optional, tag="2")] pub data_exchange: ::core::option::Option, } -/// Message for deleting a data exchange. +/// Message for deleting a data exchange. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataExchangeRequest { - /// Required. The full name of the data exchange resource that you want to delete. - /// For example, `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The full name of the data exchange resource that you want to delete. + /// For example, `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for requesting the list of listings. +/// Message for requesting the list of listings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListListingsRequest { - /// Required. The parent resource path of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The parent resource path of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. Leverage - /// the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. Leverage + /// the page tokens to iterate through the entire collection. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token, returned by a previous call, to request the next page of - /// results. + /// Page token, returned by a previous call, to request the next page of + /// results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Message for response to the list of Listings. +/// Message for response to the list of Listings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListListingsResponse { - /// The list of Listing. + /// The list of Listing. #[prost(message, repeated, tag="1")] pub listings: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Message for getting a listing. +/// Message for getting a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetListingRequest { - /// Required. The resource name of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. The resource name of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for creating a listing. +/// Message for creating a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateListingRequest { - /// Required. The parent resource path of the listing. - /// e.g. `projects/myproject/locations/US/dataExchanges/123`. + /// Required. The parent resource path of the listing. + /// e.g. `projects/myproject/locations/US/dataExchanges/123`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the listing to create. - /// Must contain only Unicode letters, numbers (0-9), underscores (_). - /// Should not use characters that require URL-escaping, or characters - /// outside of ASCII, spaces. - /// Max length: 100 bytes. + /// Required. The ID of the listing to create. + /// Must contain only Unicode letters, numbers (0-9), underscores (_). + /// Should not use characters that require URL-escaping, or characters + /// outside of ASCII, spaces. + /// Max length: 100 bytes. #[prost(string, tag="2")] pub listing_id: ::prost::alloc::string::String, - /// Required. The listing to create. + /// Required. The listing to create. #[prost(message, optional, tag="3")] pub listing: ::core::option::Option, } -/// Message for updating a Listing. +/// Message for updating a Listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateListingRequest { - /// Required. Field mask specifies the fields to update in the listing resource. The - /// fields specified in the `updateMask` are relative to the resource and are - /// not a full request. + /// Required. Field mask specifies the fields to update in the listing resource. The + /// fields specified in the `updateMask` are relative to the resource and are + /// not a full request. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The listing to update. + /// Required. The listing to update. #[prost(message, optional, tag="2")] pub listing: ::core::option::Option, } -/// Message for deleting a listing. +/// Message for deleting a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteListingRequest { - /// Required. Resource name of the listing to delete. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. Resource name of the listing to delete. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Message for subscribing to a listing. +/// Message for subscribing to a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubscribeListingRequest { - /// Required. Resource name of the listing that you want to subscribe to. - /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. + /// Required. Resource name of the listing that you want to subscribe to. + /// e.g. `projects/myproject/locations/US/dataExchanges/123/listings/456`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Resulting destination of the listing that you subscribed to. + /// Resulting destination of the listing that you subscribed to. #[prost(oneof="subscribe_listing_request::Destination", tags="3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `SubscribeListingRequest`. pub mod subscribe_listing_request { - /// Resulting destination of the listing that you subscribed to. + /// Resulting destination of the listing that you subscribed to. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// BigQuery destination dataset to create for the subscriber. + /// BigQuery destination dataset to create for the subscriber. #[prost(message, tag="3")] DestinationDataset(super::DestinationDataset), } } -/// Message for response when you subscribe to a listing. +/// Message for response when you subscribe to a listing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubscribeListingResponse { } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.datapolicies.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.datapolicies.v1beta1.rs index 2222b1e43..1bee7ca89 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.datapolicies.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.datapolicies.v1beta1.rs @@ -1,111 +1,111 @@ -/// Request message for the CreateDataPolicy method. +/// Request message for the CreateDataPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDataPolicyRequest { - /// Required. Resource name of the project that the data policy will belong to. The - /// format is `projects/{project_number}/locations/{location_id}`. + /// Required. Resource name of the project that the data policy will belong to. The + /// format is `projects/{project_number}/locations/{location_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The data policy to create. The `name` field does not need to be - /// provided for the data policy creation. + /// Required. The data policy to create. The `name` field does not need to be + /// provided for the data policy creation. #[prost(message, optional, tag="2")] pub data_policy: ::core::option::Option, } -/// Response message for the UpdateDataPolicy method. +/// Response message for the UpdateDataPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDataPolicyRequest { - /// Required. Update the data policy's metadata. + /// Required. Update the data policy's metadata. /// - /// The target data policy is determined by the `name` field. - /// Other fields are updated to the specified values based on the field masks. + /// The target data policy is determined by the `name` field. + /// Other fields are updated to the specified values based on the field masks. #[prost(message, optional, tag="1")] pub data_policy: ::core::option::Option, - /// The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// - /// If not set, defaults to all of the fields that are allowed to update. + /// The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// + /// If not set, defaults to all of the fields that are allowed to update. /// - /// Updates to the `name` and `dataPolicyId` fields are not allowed. + /// Updates to the `name` and `dataPolicyId` fields are not allowed. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for the DeleteDataPolicy method. +/// Request message for the DeleteDataPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDataPolicyRequest { - /// Required. Resource name of the data policy to delete. Format is - /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + /// Required. Resource name of the data policy to delete. Format is + /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the GetDataPolicy method. +/// Request message for the GetDataPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataPolicyRequest { - /// Required. Resource name of the requested data policy. Format is - /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + /// Required. Resource name of the requested data policy. Format is + /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for the ListDataPolicies method. +/// Request message for the ListDataPolicies method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataPoliciesRequest { - /// Required. Resource name of the project for which to list data policies. Format is - /// `projects/{project_number}/locations/{location_id}`. + /// Required. Resource name of the project for which to list data policies. Format is + /// `projects/{project_number}/locations/{location_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of data policies to return. Must be a value between 1 - /// and 1000. - /// If not set, defaults to 50. + /// The maximum number of data policies to return. Must be a value between 1 + /// and 1000. + /// If not set, defaults to 50. #[prost(int32, tag="2")] pub page_size: i32, - /// The `nextPageToken` value returned from a previous list request, if any. If - /// not set, defaults to an empty string. + /// The `nextPageToken` value returned from a previous list request, if any. If + /// not set, defaults to an empty string. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for the ListDataPolicies method. +/// Response message for the ListDataPolicies method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataPoliciesResponse { - /// Data policies that belong to the requested project. + /// Data policies that belong to the requested project. #[prost(message, repeated, tag="1")] pub data_policies: ::prost::alloc::vec::Vec, - /// Token used to retrieve the next page of results, or empty if there are no - /// more results. + /// Token used to retrieve the next page of results, or empty if there are no + /// more results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Represents the label-policy binding. +/// Represents the label-policy binding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataPolicy { - /// Output only. Resource name of this data policy, in the format of - /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. + /// Output only. Resource name of this data policy, in the format of + /// `projects/{project_number}/locations/{location_id}/dataPolicies/{data_policy_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Type of data policy. + /// Type of data policy. #[prost(enumeration="data_policy::DataPolicyType", tag="2")] pub data_policy_type: i32, - /// User-assigned (human readable) ID of the data policy that needs to be - /// unique within a project. Used as {data_policy_id} in part of the resource - /// name. + /// User-assigned (human readable) ID of the data policy that needs to be + /// unique within a project. Used as {data_policy_id} in part of the resource + /// name. #[prost(string, tag="3")] pub data_policy_id: ::prost::alloc::string::String, - /// Label that is bound to this data policy. + /// Label that is bound to this data policy. #[prost(oneof="data_policy::MatchingLabel", tags="4")] pub matching_label: ::core::option::Option, - /// The policy that is bound to this data policy. + /// The policy that is bound to this data policy. #[prost(oneof="data_policy::Policy", tags="5")] pub policy: ::core::option::Option, } /// Nested message and enum types in `DataPolicy`. pub mod data_policy { - /// A list of supported data policy types. + /// A list of supported data policy types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataPolicyType { - /// Default value for the data policy type. This should not be used. + /// Default value for the data policy type. This should not be used. Unspecified = 0, - /// Used to create a data policy for column-level security, without data - /// masking. + /// Used to create a data policy for column-level security, without data + /// masking. ColumnLevelSecurityPolicy = 3, - /// Used to create a data policy for data masking. + /// Used to create a data policy for data masking. DataMaskingPolicy = 2, } impl DataPolicyType { @@ -121,61 +121,61 @@ pub mod data_policy { } } } - /// Label that is bound to this data policy. + /// Label that is bound to this data policy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MatchingLabel { - /// Policy tag resource name, in the format of - /// `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. + /// Policy tag resource name, in the format of + /// `projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{policyTag_id}`. #[prost(string, tag="4")] PolicyTag(::prost::alloc::string::String), } - /// The policy that is bound to this data policy. + /// The policy that is bound to this data policy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Policy { - /// The data masking policy that specifies the data masking rule to use. + /// The data masking policy that specifies the data masking rule to use. #[prost(message, tag="5")] DataMaskingPolicy(super::DataMaskingPolicy), } } -/// The data masking policy that is used to specify data masking rule. +/// The data masking policy that is used to specify data masking rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataMaskingPolicy { - /// A masking expression to bind to the data masking rule. + /// A masking expression to bind to the data masking rule. #[prost(oneof="data_masking_policy::MaskingExpression", tags="1")] pub masking_expression: ::core::option::Option, } /// Nested message and enum types in `DataMaskingPolicy`. pub mod data_masking_policy { - /// The available masking rules. Learn more here: - /// + /// The available masking rules. Learn more here: + /// #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PredefinedExpression { - /// Default, unspecified predefined expression. No masking will take place - /// since no expression is specified. + /// Default, unspecified predefined expression. No masking will take place + /// since no expression is specified. Unspecified = 0, - /// Masking expression to replace data with SHA-256 hash. + /// Masking expression to replace data with SHA-256 hash. Sha256 = 3, - /// Masking expression to replace data with NULLs. + /// Masking expression to replace data with NULLs. AlwaysNull = 5, - /// Masking expression to replace data with their default masking values. - /// The default masking values for each type listed as below: + /// Masking expression to replace data with their default masking values. + /// The default masking values for each type listed as below: /// - /// * STRING: "" - /// * BYTES: b'' - /// * INTEGER: 0 - /// * FLOAT: 0.0 - /// * NUMERIC: 0 - /// * BOOLEAN: FALSE - /// * TIMESTAMP: 0001-01-01 00:00:00 UTC - /// * DATE: 0001-01-01 - /// * TIME: 00:00:00 - /// * DATETIME: 0001-01-01T00:00:00 - /// * GEOGRAPHY: POINT(0 0) - /// * BIGNUMERIC: 0 - /// * ARRAY: [] - /// * STRUCT: NOT_APPLICABLE - /// * JSON: NULL + /// * STRING: "" + /// * BYTES: b'' + /// * INTEGER: 0 + /// * FLOAT: 0.0 + /// * NUMERIC: 0 + /// * BOOLEAN: FALSE + /// * TIMESTAMP: 0001-01-01 00:00:00 UTC + /// * DATE: 0001-01-01 + /// * TIME: 00:00:00 + /// * DATETIME: 0001-01-01T00:00:00 + /// * GEOGRAPHY: POINT(0 0) + /// * BIGNUMERIC: 0 + /// * ARRAY: [] + /// * STRUCT: NOT_APPLICABLE + /// * JSON: NULL DefaultMaskingValue = 7, } impl PredefinedExpression { @@ -192,10 +192,10 @@ pub mod data_masking_policy { } } } - /// A masking expression to bind to the data masking rule. + /// A masking expression to bind to the data masking rule. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum MaskingExpression { - /// A predefined masking expression. + /// A predefined masking expression. #[prost(enumeration="PredefinedExpression", tag="1")] PredefinedExpression(i32), } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.datatransfer.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.datatransfer.v1.rs index b6645ece0..902757675 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.datatransfer.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.datatransfer.v1.rs @@ -1,249 +1,249 @@ -/// Represents preferences for sending email notifications for transfer run -/// events. +/// Represents preferences for sending email notifications for transfer run +/// events. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EmailPreferences { - /// If true, email notifications will be sent on transfer run failures. + /// If true, email notifications will be sent on transfer run failures. #[prost(bool, tag="1")] pub enable_failure_email: bool, } -/// Options customizing the data transfer schedule. +/// Options customizing the data transfer schedule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleOptions { - /// If true, automatic scheduling of data transfer runs for this configuration - /// will be disabled. The runs can be started on ad-hoc basis using - /// StartManualTransferRuns API. When automatic scheduling is disabled, the - /// TransferConfig.schedule field will be ignored. + /// If true, automatic scheduling of data transfer runs for this configuration + /// will be disabled. The runs can be started on ad-hoc basis using + /// StartManualTransferRuns API. When automatic scheduling is disabled, the + /// TransferConfig.schedule field will be ignored. #[prost(bool, tag="3")] pub disable_auto_scheduling: bool, - /// Specifies time to start scheduling transfer runs. The first run will be - /// scheduled at or after the start time according to a recurrence pattern - /// defined in the schedule string. The start time can be changed at any - /// moment. The time when a data transfer can be trigerred manually is not - /// limited by this option. + /// Specifies time to start scheduling transfer runs. The first run will be + /// scheduled at or after the start time according to a recurrence pattern + /// defined in the schedule string. The start time can be changed at any + /// moment. The time when a data transfer can be trigerred manually is not + /// limited by this option. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Defines time to stop scheduling transfer runs. A transfer run cannot be - /// scheduled at or after the end time. The end time can be changed at any - /// moment. The time when a data transfer can be trigerred manually is not - /// limited by this option. + /// Defines time to stop scheduling transfer runs. A transfer run cannot be + /// scheduled at or after the end time. The end time can be changed at any + /// moment. The time when a data transfer can be trigerred manually is not + /// limited by this option. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Information about a user. +/// Information about a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInfo { - /// E-mail address of the user. + /// E-mail address of the user. #[prost(string, optional, tag="1")] pub email: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a data transfer configuration. A transfer configuration -/// contains all metadata needed to perform a data transfer. For example, -/// `destination_dataset_id` specifies where data should be stored. -/// When a new transfer configuration is created, the specified -/// `destination_dataset_id` is created when needed and shared with the -/// appropriate data source service account. +/// Represents a data transfer configuration. A transfer configuration +/// contains all metadata needed to perform a data transfer. For example, +/// `destination_dataset_id` specifies where data should be stored. +/// When a new transfer configuration is created, the specified +/// `destination_dataset_id` is created when needed and shared with the +/// appropriate data source service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferConfig { - /// The resource name of the transfer config. - /// Transfer config names have the form - /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. - /// Where `config_id` is usually a uuid, even though it is not - /// guaranteed or required. The name is ignored when creating a transfer - /// config. + /// The resource name of the transfer config. + /// Transfer config names have the form + /// `projects/{project_id}/locations/{region}/transferConfigs/{config_id}`. + /// Where `config_id` is usually a uuid, even though it is not + /// guaranteed or required. The name is ignored when creating a transfer + /// config. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User specified display name for the data transfer. + /// User specified display name for the data transfer. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Data source id. Cannot be changed once data transfer is created. + /// Data source id. Cannot be changed once data transfer is created. #[prost(string, tag="5")] pub data_source_id: ::prost::alloc::string::String, - /// Parameters specific to each data source. For more information see the - /// bq tab in the 'Setting up a data transfer' section for each data source. - /// For example the parameters for Cloud Storage transfers are listed here: - /// + /// Parameters specific to each data source. For more information see the + /// bq tab in the 'Setting up a data transfer' section for each data source. + /// For example the parameters for Cloud Storage transfers are listed here: + /// #[prost(message, optional, tag="9")] pub params: ::core::option::Option<::prost_types::Struct>, - /// Data transfer schedule. - /// If the data source does not support a custom schedule, this should be - /// empty. If it is empty, the default value for the data source will be - /// used. - /// The specified times are in UTC. - /// Examples of valid format: - /// `1st,3rd monday of month 15:30`, - /// `every wed,fri of jan,jun 13:15`, and - /// `first sunday of quarter 00:00`. - /// See more explanation about the format here: - /// + /// Data transfer schedule. + /// If the data source does not support a custom schedule, this should be + /// empty. If it is empty, the default value for the data source will be + /// used. + /// The specified times are in UTC. + /// Examples of valid format: + /// `1st,3rd monday of month 15:30`, + /// `every wed,fri of jan,jun 13:15`, and + /// `first sunday of quarter 00:00`. + /// See more explanation about the format here: + /// /// - /// NOTE: The minimum interval time between recurring transfers depends on the - /// data source; refer to the documentation for your data source. + /// NOTE: The minimum interval time between recurring transfers depends on the + /// data source; refer to the documentation for your data source. #[prost(string, tag="7")] pub schedule: ::prost::alloc::string::String, - /// Options customizing the data transfer schedule. + /// Options customizing the data transfer schedule. #[prost(message, optional, tag="24")] pub schedule_options: ::core::option::Option, - /// The number of days to look back to automatically refresh the data. - /// For example, if `data_refresh_window_days = 10`, then every day - /// BigQuery reingests data for [today-10, today-1], rather than ingesting data - /// for just \[today-1\]. - /// Only valid if the data source supports the feature. Set the value to 0 - /// to use the default value. + /// The number of days to look back to automatically refresh the data. + /// For example, if `data_refresh_window_days = 10`, then every day + /// BigQuery reingests data for [today-10, today-1], rather than ingesting data + /// for just \[today-1\]. + /// Only valid if the data source supports the feature. Set the value to 0 + /// to use the default value. #[prost(int32, tag="12")] pub data_refresh_window_days: i32, - /// Is this config disabled. When set to true, no runs are scheduled - /// for a given transfer. + /// Is this config disabled. When set to true, no runs are scheduled + /// for a given transfer. #[prost(bool, tag="13")] pub disabled: bool, - /// Output only. Data transfer modification time. Ignored by server on input. + /// Output only. Data transfer modification time. Ignored by server on input. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Next time when data transfer will run. + /// Output only. Next time when data transfer will run. #[prost(message, optional, tag="8")] pub next_run_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. State of the most recently updated transfer run. + /// Output only. State of the most recently updated transfer run. #[prost(enumeration="TransferState", tag="10")] pub state: i32, - /// Deprecated. Unique ID of the user on whose behalf transfer is done. + /// Deprecated. Unique ID of the user on whose behalf transfer is done. #[prost(int64, tag="11")] pub user_id: i64, - /// Output only. Region in which BigQuery dataset is located. + /// Output only. Region in which BigQuery dataset is located. #[prost(string, tag="14")] pub dataset_region: ::prost::alloc::string::String, - /// Pub/Sub topic where notifications will be sent after transfer runs - /// associated with this transfer config finish. + /// Pub/Sub topic where notifications will be sent after transfer runs + /// associated with this transfer config finish. /// - /// The format for specifying a pubsub topic is: - /// `projects/{project}/topics/{topic}` + /// The format for specifying a pubsub topic is: + /// `projects/{project}/topics/{topic}` #[prost(string, tag="15")] pub notification_pubsub_topic: ::prost::alloc::string::String, - /// Email notifications will be sent according to these preferences - /// to the email address of the user who owns this transfer config. + /// Email notifications will be sent according to these preferences + /// to the email address of the user who owns this transfer config. #[prost(message, optional, tag="18")] pub email_preferences: ::core::option::Option, - /// Output only. Information about the user whose credentials are used to transfer data. - /// Populated only for `transferConfigs.get` requests. In case the user - /// information is not available, this field will not be populated. + /// Output only. Information about the user whose credentials are used to transfer data. + /// Populated only for `transferConfigs.get` requests. In case the user + /// information is not available, this field will not be populated. #[prost(message, optional, tag="27")] pub owner_info: ::core::option::Option, - /// The desination of the transfer config. + /// The desination of the transfer config. #[prost(oneof="transfer_config::Destination", tags="2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `TransferConfig`. pub mod transfer_config { - /// The desination of the transfer config. + /// The desination of the transfer config. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The BigQuery target dataset id. + /// The BigQuery target dataset id. #[prost(string, tag="2")] DestinationDatasetId(::prost::alloc::string::String), } } -/// Represents a data transfer run. +/// Represents a data transfer run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferRun { - /// The resource name of the transfer run. - /// Transfer run names have the form - /// `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. - /// The name is ignored when creating a transfer run. + /// The resource name of the transfer run. + /// Transfer run names have the form + /// `projects/{project_id}/locations/{location}/transferConfigs/{config_id}/runs/{run_id}`. + /// The name is ignored when creating a transfer run. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Minimum time after which a transfer run can be started. + /// Minimum time after which a transfer run can be started. #[prost(message, optional, tag="3")] pub schedule_time: ::core::option::Option<::prost_types::Timestamp>, - /// For batch transfer runs, specifies the date and time of the data should be - /// ingested. + /// For batch transfer runs, specifies the date and time of the data should be + /// ingested. #[prost(message, optional, tag="10")] pub run_time: ::core::option::Option<::prost_types::Timestamp>, - /// Status of the transfer run. + /// Status of the transfer run. #[prost(message, optional, tag="21")] pub error_status: ::core::option::Option, - /// Output only. Time when transfer run was started. - /// Parameter ignored by server for input requests. + /// Output only. Time when transfer run was started. + /// Parameter ignored by server for input requests. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when transfer run ended. - /// Parameter ignored by server for input requests. + /// Output only. Time when transfer run ended. + /// Parameter ignored by server for input requests. #[prost(message, optional, tag="5")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last time the data transfer run state was updated. + /// Output only. Last time the data transfer run state was updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Parameters specific to each data source. For more information see the - /// bq tab in the 'Setting up a data transfer' section for each data source. - /// For example the parameters for Cloud Storage transfers are listed here: - /// + /// Output only. Parameters specific to each data source. For more information see the + /// bq tab in the 'Setting up a data transfer' section for each data source. + /// For example the parameters for Cloud Storage transfers are listed here: + /// #[prost(message, optional, tag="9")] pub params: ::core::option::Option<::prost_types::Struct>, - /// Output only. Data source id. + /// Output only. Data source id. #[prost(string, tag="7")] pub data_source_id: ::prost::alloc::string::String, - /// Data transfer run state. Ignored for input requests. + /// Data transfer run state. Ignored for input requests. #[prost(enumeration="TransferState", tag="8")] pub state: i32, - /// Deprecated. Unique ID of the user on whose behalf transfer is done. + /// Deprecated. Unique ID of the user on whose behalf transfer is done. #[prost(int64, tag="11")] pub user_id: i64, - /// Output only. Describes the schedule of this transfer run if it was - /// created as part of a regular schedule. For batch transfer runs that are - /// scheduled manually, this is empty. - /// NOTE: the system might choose to delay the schedule depending on the - /// current load, so `schedule_time` doesn't always match this. + /// Output only. Describes the schedule of this transfer run if it was + /// created as part of a regular schedule. For batch transfer runs that are + /// scheduled manually, this is empty. + /// NOTE: the system might choose to delay the schedule depending on the + /// current load, so `schedule_time` doesn't always match this. #[prost(string, tag="12")] pub schedule: ::prost::alloc::string::String, - /// Output only. Pub/Sub topic where a notification will be sent after this - /// transfer run finishes. + /// Output only. Pub/Sub topic where a notification will be sent after this + /// transfer run finishes. /// - /// The format for specifying a pubsub topic is: - /// `projects/{project}/topics/{topic}` + /// The format for specifying a pubsub topic is: + /// `projects/{project}/topics/{topic}` #[prost(string, tag="23")] pub notification_pubsub_topic: ::prost::alloc::string::String, - /// Output only. Email notifications will be sent according to these - /// preferences to the email address of the user who owns the transfer config - /// this run was derived from. + /// Output only. Email notifications will be sent according to these + /// preferences to the email address of the user who owns the transfer config + /// this run was derived from. #[prost(message, optional, tag="25")] pub email_preferences: ::core::option::Option, - /// Data transfer destination. + /// Data transfer destination. #[prost(oneof="transfer_run::Destination", tags="2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `TransferRun`. pub mod transfer_run { - /// Data transfer destination. + /// Data transfer destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Output only. The BigQuery target dataset id. + /// Output only. The BigQuery target dataset id. #[prost(string, tag="2")] DestinationDatasetId(::prost::alloc::string::String), } } -/// Represents a user facing message for a particular data transfer run. +/// Represents a user facing message for a particular data transfer run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferMessage { - /// Time when message was logged. + /// Time when message was logged. #[prost(message, optional, tag="1")] pub message_time: ::core::option::Option<::prost_types::Timestamp>, - /// Message severity. + /// Message severity. #[prost(enumeration="transfer_message::MessageSeverity", tag="2")] pub severity: i32, - /// Message text. + /// Message text. #[prost(string, tag="3")] pub message_text: ::prost::alloc::string::String, } /// Nested message and enum types in `TransferMessage`. pub mod transfer_message { - /// Represents data transfer user facing message severity. + /// Represents data transfer user facing message severity. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MessageSeverity { - /// No severity specified. + /// No severity specified. Unspecified = 0, - /// Informational message. + /// Informational message. Info = 1, - /// Warning message. + /// Warning message. Warning = 2, - /// Error message. + /// Error message. Error = 3, } impl MessageSeverity { @@ -261,16 +261,16 @@ pub mod transfer_message { } } } -/// DEPRECATED. Represents data transfer type. +/// DEPRECATED. Represents data transfer type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TransferType { - /// Invalid or Unknown transfer type placeholder. + /// Invalid or Unknown transfer type placeholder. Unspecified = 0, - /// Batch data transfer. + /// Batch data transfer. Batch = 1, - /// Streaming data transfer. Streaming data source currently doesn't - /// support multiple transfer configs per project. + /// Streaming data transfer. Streaming data source currently doesn't + /// support multiple transfer configs per project. Streaming = 2, } impl TransferType { @@ -286,22 +286,22 @@ impl TransferType { } } } -/// Represents data transfer run state. +/// Represents data transfer run state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TransferState { - /// State placeholder (0). + /// State placeholder (0). Unspecified = 0, - /// Data transfer is scheduled and is waiting to be picked up by - /// data transfer backend (2). + /// Data transfer is scheduled and is waiting to be picked up by + /// data transfer backend (2). Pending = 2, - /// Data transfer is in progress (3). + /// Data transfer is in progress (3). Running = 3, - /// Data transfer completed successfully (4). + /// Data transfer completed successfully (4). Succeeded = 4, - /// Data transfer failed (5). + /// Data transfer failed (5). Failed = 5, - /// Data transfer is cancelled (6). + /// Data transfer is cancelled (6). Cancelled = 6, } impl TransferState { @@ -320,80 +320,80 @@ impl TransferState { } } } -/// A parameter used to define custom fields in a data source definition. +/// A parameter used to define custom fields in a data source definition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSourceParameter { - /// Parameter identifier. + /// Parameter identifier. #[prost(string, tag="1")] pub param_id: ::prost::alloc::string::String, - /// Parameter display name in the user interface. + /// Parameter display name in the user interface. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Parameter description. + /// Parameter description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Parameter type. + /// Parameter type. #[prost(enumeration="data_source_parameter::Type", tag="4")] pub r#type: i32, - /// Is parameter required. + /// Is parameter required. #[prost(bool, tag="5")] pub required: bool, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. #[prost(bool, tag="6")] pub repeated: bool, - /// Regular expression which can be used for parameter validation. + /// Regular expression which can be used for parameter validation. #[prost(string, tag="7")] pub validation_regex: ::prost::alloc::string::String, - /// All possible values for the parameter. + /// All possible values for the parameter. #[prost(string, repeated, tag="8")] pub allowed_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// For integer and double values specifies minimum allowed value. + /// For integer and double values specifies minimum allowed value. #[prost(message, optional, tag="9")] pub min_value: ::core::option::Option, - /// For integer and double values specifies maxminum allowed value. + /// For integer and double values specifies maxminum allowed value. #[prost(message, optional, tag="10")] pub max_value: ::core::option::Option, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. #[prost(message, repeated, tag="11")] pub fields: ::prost::alloc::vec::Vec, - /// Description of the requirements for this field, in case the user input does - /// not fulfill the regex pattern or min/max values. + /// Description of the requirements for this field, in case the user input does + /// not fulfill the regex pattern or min/max values. #[prost(string, tag="12")] pub validation_description: ::prost::alloc::string::String, - /// URL to a help document to further explain the naming requirements. + /// URL to a help document to further explain the naming requirements. #[prost(string, tag="13")] pub validation_help_url: ::prost::alloc::string::String, - /// Cannot be changed after initial creation. + /// Cannot be changed after initial creation. #[prost(bool, tag="14")] pub immutable: bool, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. #[prost(bool, tag="15")] pub recurse: bool, - /// If true, it should not be used in new transfers, and it should not be - /// visible to users. + /// If true, it should not be used in new transfers, and it should not be + /// visible to users. #[prost(bool, tag="20")] pub deprecated: bool, } /// Nested message and enum types in `DataSourceParameter`. pub mod data_source_parameter { - /// Parameter type. + /// Parameter type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Type unspecified. + /// Type unspecified. Unspecified = 0, - /// String parameter. + /// String parameter. String = 1, - /// Integer parameter (64-bits). - /// Will be serialized to json as string. + /// Integer parameter (64-bits). + /// Will be serialized to json as string. Integer = 2, - /// Double precision floating point parameter. + /// Double precision floating point parameter. Double = 3, - /// Boolean parameter. + /// Boolean parameter. Boolean = 4, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. Record = 5, - /// Page ID for a Google+ Page. + /// Page ID for a Google+ Page. PlusPage = 6, } impl Type { @@ -414,95 +414,95 @@ pub mod data_source_parameter { } } } -/// Defines the properties and custom parameters for a data source. +/// Defines the properties and custom parameters for a data source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSource { - /// Output only. Data source resource name. + /// Output only. Data source resource name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data source id. + /// Data source id. #[prost(string, tag="2")] pub data_source_id: ::prost::alloc::string::String, - /// User friendly data source name. + /// User friendly data source name. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// User friendly data source description string. + /// User friendly data source description string. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Data source client id which should be used to receive refresh token. + /// Data source client id which should be used to receive refresh token. #[prost(string, tag="5")] pub client_id: ::prost::alloc::string::String, - /// Api auth scopes for which refresh token needs to be obtained. These are - /// scopes needed by a data source to prepare data and ingest them into - /// BigQuery, e.g., + /// Api auth scopes for which refresh token needs to be obtained. These are + /// scopes needed by a data source to prepare data and ingest them into + /// BigQuery, e.g., #[prost(string, repeated, tag="6")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. #[deprecated] #[prost(enumeration="TransferType", tag="7")] pub transfer_type: i32, - /// Deprecated. This field has no effect. + /// Deprecated. This field has no effect. #[deprecated] #[prost(bool, tag="8")] pub supports_multiple_transfers: bool, - /// The number of seconds to wait for an update from the data source - /// before the Data Transfer Service marks the transfer as FAILED. + /// The number of seconds to wait for an update from the data source + /// before the Data Transfer Service marks the transfer as FAILED. #[prost(int32, tag="9")] pub update_deadline_seconds: i32, - /// Default data transfer schedule. - /// Examples of valid schedules include: - /// `1st,3rd monday of month 15:30`, - /// `every wed,fri of jan,jun 13:15`, and - /// `first sunday of quarter 00:00`. + /// Default data transfer schedule. + /// Examples of valid schedules include: + /// `1st,3rd monday of month 15:30`, + /// `every wed,fri of jan,jun 13:15`, and + /// `first sunday of quarter 00:00`. #[prost(string, tag="10")] pub default_schedule: ::prost::alloc::string::String, - /// Specifies whether the data source supports a user defined schedule, or - /// operates on the default schedule. - /// When set to `true`, user can override default schedule. + /// Specifies whether the data source supports a user defined schedule, or + /// operates on the default schedule. + /// When set to `true`, user can override default schedule. #[prost(bool, tag="11")] pub supports_custom_schedule: bool, - /// Data source parameters. + /// Data source parameters. #[prost(message, repeated, tag="12")] pub parameters: ::prost::alloc::vec::Vec, - /// Url for the help document for this data source. + /// Url for the help document for this data source. #[prost(string, tag="13")] pub help_url: ::prost::alloc::string::String, - /// Indicates the type of authorization. + /// Indicates the type of authorization. #[prost(enumeration="data_source::AuthorizationType", tag="14")] pub authorization_type: i32, - /// Specifies whether the data source supports automatic data refresh for the - /// past few days, and how it's supported. - /// For some data sources, data might not be complete until a few days later, - /// so it's useful to refresh data automatically. + /// Specifies whether the data source supports automatic data refresh for the + /// past few days, and how it's supported. + /// For some data sources, data might not be complete until a few days later, + /// so it's useful to refresh data automatically. #[prost(enumeration="data_source::DataRefreshType", tag="15")] pub data_refresh_type: i32, - /// Default data refresh window on days. - /// Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`. + /// Default data refresh window on days. + /// Only meaningful when `data_refresh_type` = `SLIDING_WINDOW`. #[prost(int32, tag="16")] pub default_data_refresh_window_days: i32, - /// Disables backfilling and manual run scheduling - /// for the data source. + /// Disables backfilling and manual run scheduling + /// for the data source. #[prost(bool, tag="17")] pub manual_runs_disabled: bool, - /// The minimum interval for scheduler to schedule runs. + /// The minimum interval for scheduler to schedule runs. #[prost(message, optional, tag="18")] pub minimum_schedule_interval: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `DataSource`. pub mod data_source { - /// The type of authorization needed for this data source. + /// The type of authorization needed for this data source. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthorizationType { - /// Type unspecified. + /// Type unspecified. Unspecified = 0, - /// Use OAuth 2 authorization codes that can be exchanged - /// for a refresh token on the backend. + /// Use OAuth 2 authorization codes that can be exchanged + /// for a refresh token on the backend. AuthorizationCode = 1, - /// Return an authorization code for a given Google+ page that can then be - /// exchanged for a refresh token on the backend. + /// Return an authorization code for a given Google+ page that can then be + /// exchanged for a refresh token on the backend. GooglePlusAuthorizationCode = 2, - /// Use First Party OAuth. + /// Use First Party OAuth. FirstPartyOauth = 3, } impl AuthorizationType { @@ -519,19 +519,19 @@ pub mod data_source { } } } - /// Represents how the data source supports data auto refresh. + /// Represents how the data source supports data auto refresh. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataRefreshType { - /// The data source won't support data auto refresh, which is default value. + /// The data source won't support data auto refresh, which is default value. Unspecified = 0, - /// The data source supports data auto refresh, and runs will be scheduled - /// for the past few days. Does not allow custom values to be set for each - /// transfer config. + /// The data source supports data auto refresh, and runs will be scheduled + /// for the past few days. Does not allow custom values to be set for each + /// transfer config. SlidingWindow = 1, - /// The data source supports data auto refresh, and runs will be scheduled - /// for the past few days. Allows custom values to be set for each transfer - /// config. + /// The data source supports data auto refresh, and runs will be scheduled + /// for the past few days. Allows custom values to be set for each transfer + /// config. CustomSlidingWindow = 2, } impl DataRefreshType { @@ -548,75 +548,75 @@ pub mod data_source { } } } -/// A request to get data source info. +/// A request to get data source info. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataSourceRequest { - /// Required. The field will contain name of the resource requested, for example: - /// `projects/{project_id}/dataSources/{data_source_id}` or - /// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}` + /// Required. The field will contain name of the resource requested, for example: + /// `projects/{project_id}/dataSources/{data_source_id}` or + /// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to list supported data sources and their data transfer settings. +/// Request to list supported data sources and their data transfer settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataSourcesRequest { - /// Required. The BigQuery project id for which data sources should be returned. - /// Must be in the form: `projects/{project_id}` or - /// `projects/{project_id}/locations/{location_id} + /// Required. The BigQuery project id for which data sources should be returned. + /// Must be in the form: `projects/{project_id}` or + /// `projects/{project_id}/locations/{location_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Pagination token, which can be used to request a specific page - /// of `ListDataSourcesRequest` list results. For multiple-page - /// results, `ListDataSourcesResponse` outputs - /// a `next_page` token, which can be used as the - /// `page_token` value to request the next page of list results. + /// Pagination token, which can be used to request a specific page + /// of `ListDataSourcesRequest` list results. For multiple-page + /// results, `ListDataSourcesResponse` outputs + /// a `next_page` token, which can be used as the + /// `page_token` value to request the next page of list results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Page size. The default page size is the maximum value of 1000 results. + /// Page size. The default page size is the maximum value of 1000 results. #[prost(int32, tag="4")] pub page_size: i32, } -/// Returns list of supported data sources and their metadata. +/// Returns list of supported data sources and their metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataSourcesResponse { - /// List of supported data sources and their transfer settings. + /// List of supported data sources and their transfer settings. #[prost(message, repeated, tag="1")] pub data_sources: ::prost::alloc::vec::Vec, - /// Output only. The next-pagination token. For multiple-page list results, - /// this token can be used as the - /// `ListDataSourcesRequest.page_token` - /// to request the next page of list results. + /// Output only. The next-pagination token. For multiple-page list results, + /// this token can be used as the + /// `ListDataSourcesRequest.page_token` + /// to request the next page of list results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to create a data transfer configuration. If new credentials are -/// needed for this transfer configuration, an authorization code must be -/// provided. If an authorization code is provided, the transfer configuration -/// will be associated with the user id corresponding to the authorization code. -/// Otherwise, the transfer configuration will be associated with the calling -/// user. +/// A request to create a data transfer configuration. If new credentials are +/// needed for this transfer configuration, an authorization code must be +/// provided. If an authorization code is provided, the transfer configuration +/// will be associated with the user id corresponding to the authorization code. +/// Otherwise, the transfer configuration will be associated with the calling +/// user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTransferConfigRequest { - /// Required. The BigQuery project id where the transfer configuration should be created. - /// Must be in the format projects/{project_id}/locations/{location_id} or - /// projects/{project_id}. If specified location and location of the - /// destination bigquery dataset do not match - the request will fail. + /// Required. The BigQuery project id where the transfer configuration should be created. + /// Must be in the format projects/{project_id}/locations/{location_id} or + /// projects/{project_id}. If specified location and location of the + /// destination bigquery dataset do not match - the request will fail. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Data transfer configuration to create. + /// Required. Data transfer configuration to create. #[prost(message, optional, tag="2")] pub transfer_config: ::core::option::Option, - /// Optional OAuth2 authorization code to use with this transfer configuration. - /// This is required if new credentials are needed, as indicated by - /// `CheckValidCreds`. - /// In order to obtain authorization_code, please make a - /// request to - /// &scope=&redirect_uri=> + /// Optional OAuth2 authorization code to use with this transfer configuration. + /// This is required if new credentials are needed, as indicated by + /// `CheckValidCreds`. + /// In order to obtain authorization_code, please make a + /// request to + /// &scope=&redirect_uri=> /// - /// * client_id should be OAuth client_id of BigQuery DTS API for the given + /// * client_id should be OAuth client_id of BigQuery DTS API for the given /// data source returned by ListDataSources method. - /// * data_source_scopes are the scopes returned by ListDataSources method. - /// * redirect_uri is an optional parameter. If not specified, then + /// * data_source_scopes are the scopes returned by ListDataSources method. + /// * redirect_uri is an optional parameter. If not specified, then /// authorization code is posted to the opener of authorization flow window. /// Otherwise it will be sent to the redirect uri. A special value of /// urn:ietf:wg:oauth:2.0:oob means that authorization code should be @@ -624,39 +624,39 @@ pub struct CreateTransferConfigRequest { /// the user to copy the code and paste it in the application. #[prost(string, tag="3")] pub authorization_code: ::prost::alloc::string::String, - /// Optional version info. If users want to find a very recent access token, - /// that is, immediately after approving access, users have to set the - /// version_info claim in the token request. To obtain the version_info, users - /// must use the "none+gsession" response type. which be return a - /// version_info back in the authorization response which be be put in a JWT - /// claim in the token request. + /// Optional version info. If users want to find a very recent access token, + /// that is, immediately after approving access, users have to set the + /// version_info claim in the token request. To obtain the version_info, users + /// must use the "none+gsession" response type. which be return a + /// version_info back in the authorization response which be be put in a JWT + /// claim in the token request. #[prost(string, tag="5")] pub version_info: ::prost::alloc::string::String, - /// Optional service account name. If this field is set, transfer config will - /// be created with this service account credentials. It requires that - /// requesting user calling this API has permissions to act as this service - /// account. + /// Optional service account name. If this field is set, transfer config will + /// be created with this service account credentials. It requires that + /// requesting user calling this API has permissions to act as this service + /// account. #[prost(string, tag="6")] pub service_account_name: ::prost::alloc::string::String, } -/// A request to update a transfer configuration. To update the user id of the -/// transfer configuration, an authorization code needs to be provided. +/// A request to update a transfer configuration. To update the user id of the +/// transfer configuration, an authorization code needs to be provided. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTransferConfigRequest { - /// Required. Data transfer configuration to create. + /// Required. Data transfer configuration to create. #[prost(message, optional, tag="1")] pub transfer_config: ::core::option::Option, - /// Optional OAuth2 authorization code to use with this transfer configuration. - /// If it is provided, the transfer configuration will be associated with the - /// authorizing user. - /// In order to obtain authorization_code, please make a - /// request to - /// &scope=&redirect_uri=> + /// Optional OAuth2 authorization code to use with this transfer configuration. + /// If it is provided, the transfer configuration will be associated with the + /// authorizing user. + /// In order to obtain authorization_code, please make a + /// request to + /// &scope=&redirect_uri=> /// - /// * client_id should be OAuth client_id of BigQuery DTS API for the given + /// * client_id should be OAuth client_id of BigQuery DTS API for the given /// data source returned by ListDataSources method. - /// * data_source_scopes are the scopes returned by ListDataSources method. - /// * redirect_uri is an optional parameter. If not specified, then + /// * data_source_scopes are the scopes returned by ListDataSources method. + /// * redirect_uri is an optional parameter. If not specified, then /// authorization code is posted to the opener of authorization flow window. /// Otherwise it will be sent to the redirect uri. A special value of /// urn:ietf:wg:oauth:2.0:oob means that authorization code should be @@ -664,132 +664,132 @@ pub struct UpdateTransferConfigRequest { /// the user to copy the code and paste it in the application. #[prost(string, tag="3")] pub authorization_code: ::prost::alloc::string::String, - /// Required. Required list of fields to be updated in this request. + /// Required. Required list of fields to be updated in this request. #[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional version info. If users want to find a very recent access token, - /// that is, immediately after approving access, users have to set the - /// version_info claim in the token request. To obtain the version_info, users - /// must use the "none+gsession" response type. which be return a - /// version_info back in the authorization response which be be put in a JWT - /// claim in the token request. + /// Optional version info. If users want to find a very recent access token, + /// that is, immediately after approving access, users have to set the + /// version_info claim in the token request. To obtain the version_info, users + /// must use the "none+gsession" response type. which be return a + /// version_info back in the authorization response which be be put in a JWT + /// claim in the token request. #[prost(string, tag="5")] pub version_info: ::prost::alloc::string::String, - /// Optional service account name. If this field is set and - /// "service_account_name" is set in update_mask, transfer config will be - /// updated to use this service account credentials. It requires that - /// requesting user calling this API has permissions to act as this service - /// account. + /// Optional service account name. If this field is set and + /// "service_account_name" is set in update_mask, transfer config will be + /// updated to use this service account credentials. It requires that + /// requesting user calling this API has permissions to act as this service + /// account. #[prost(string, tag="6")] pub service_account_name: ::prost::alloc::string::String, } -/// A request to get data transfer information. +/// A request to get data transfer information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTransferConfigRequest { - /// Required. The field will contain name of the resource requested, for example: - /// `projects/{project_id}/transferConfigs/{config_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` + /// Required. The field will contain name of the resource requested, for example: + /// `projects/{project_id}/transferConfigs/{config_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to delete data transfer information. All associated transfer runs -/// and log messages will be deleted as well. +/// A request to delete data transfer information. All associated transfer runs +/// and log messages will be deleted as well. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTransferConfigRequest { - /// Required. The field will contain name of the resource requested, for example: - /// `projects/{project_id}/transferConfigs/{config_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` + /// Required. The field will contain name of the resource requested, for example: + /// `projects/{project_id}/transferConfigs/{config_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to get data transfer run information. +/// A request to get data transfer run information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTransferRunRequest { - /// Required. The field will contain name of the resource requested, for example: - /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` + /// Required. The field will contain name of the resource requested, for example: + /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to delete data transfer run information. +/// A request to delete data transfer run information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTransferRunRequest { - /// Required. The field will contain name of the resource requested, for example: - /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` + /// Required. The field will contain name of the resource requested, for example: + /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to list data transfers configured for a BigQuery project. +/// A request to list data transfers configured for a BigQuery project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferConfigsRequest { - /// Required. The BigQuery project id for which data sources - /// should be returned: `projects/{project_id}` or - /// `projects/{project_id}/locations/{location_id}` + /// Required. The BigQuery project id for which data sources + /// should be returned: `projects/{project_id}` or + /// `projects/{project_id}/locations/{location_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// When specified, only configurations of requested data sources are returned. + /// When specified, only configurations of requested data sources are returned. #[prost(string, repeated, tag="2")] pub data_source_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Pagination token, which can be used to request a specific page - /// of `ListTransfersRequest` list results. For multiple-page - /// results, `ListTransfersResponse` outputs - /// a `next_page` token, which can be used as the - /// `page_token` value to request the next page of list results. + /// Pagination token, which can be used to request a specific page + /// of `ListTransfersRequest` list results. For multiple-page + /// results, `ListTransfersResponse` outputs + /// a `next_page` token, which can be used as the + /// `page_token` value to request the next page of list results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Page size. The default page size is the maximum value of 1000 results. + /// Page size. The default page size is the maximum value of 1000 results. #[prost(int32, tag="4")] pub page_size: i32, } -/// The returned list of pipelines in the project. +/// The returned list of pipelines in the project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferConfigsResponse { - /// Output only. The stored pipeline transfer configurations. + /// Output only. The stored pipeline transfer configurations. #[prost(message, repeated, tag="1")] pub transfer_configs: ::prost::alloc::vec::Vec, - /// Output only. The next-pagination token. For multiple-page list results, - /// this token can be used as the - /// `ListTransferConfigsRequest.page_token` - /// to request the next page of list results. + /// Output only. The next-pagination token. For multiple-page list results, + /// this token can be used as the + /// `ListTransferConfigsRequest.page_token` + /// to request the next page of list results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to list data transfer runs. +/// A request to list data transfer runs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferRunsRequest { - /// Required. Name of transfer configuration for which transfer runs should be retrieved. - /// Format of transfer configuration resource name is: - /// `projects/{project_id}/transferConfigs/{config_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. + /// Required. Name of transfer configuration for which transfer runs should be retrieved. + /// Format of transfer configuration resource name is: + /// `projects/{project_id}/transferConfigs/{config_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// When specified, only transfer runs with requested states are returned. + /// When specified, only transfer runs with requested states are returned. #[prost(enumeration="TransferState", repeated, tag="2")] pub states: ::prost::alloc::vec::Vec, - /// Pagination token, which can be used to request a specific page - /// of `ListTransferRunsRequest` list results. For multiple-page - /// results, `ListTransferRunsResponse` outputs - /// a `next_page` token, which can be used as the - /// `page_token` value to request the next page of list results. + /// Pagination token, which can be used to request a specific page + /// of `ListTransferRunsRequest` list results. For multiple-page + /// results, `ListTransferRunsResponse` outputs + /// a `next_page` token, which can be used as the + /// `page_token` value to request the next page of list results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Page size. The default page size is the maximum value of 1000 results. + /// Page size. The default page size is the maximum value of 1000 results. #[prost(int32, tag="4")] pub page_size: i32, - /// Indicates how run attempts are to be pulled. + /// Indicates how run attempts are to be pulled. #[prost(enumeration="list_transfer_runs_request::RunAttempt", tag="5")] pub run_attempt: i32, } /// Nested message and enum types in `ListTransferRunsRequest`. pub mod list_transfer_runs_request { - /// Represents which runs should be pulled. + /// Represents which runs should be pulled. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RunAttempt { - /// All runs should be returned. + /// All runs should be returned. Unspecified = 0, - /// Only latest run per day should be returned. + /// Only latest run per day should be returned. Latest = 1, } impl RunAttempt { @@ -805,162 +805,162 @@ pub mod list_transfer_runs_request { } } } -/// The returned list of pipelines in the project. +/// The returned list of pipelines in the project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferRunsResponse { - /// Output only. The stored pipeline transfer runs. + /// Output only. The stored pipeline transfer runs. #[prost(message, repeated, tag="1")] pub transfer_runs: ::prost::alloc::vec::Vec, - /// Output only. The next-pagination token. For multiple-page list results, - /// this token can be used as the - /// `ListTransferRunsRequest.page_token` - /// to request the next page of list results. + /// Output only. The next-pagination token. For multiple-page list results, + /// this token can be used as the + /// `ListTransferRunsRequest.page_token` + /// to request the next page of list results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to get user facing log messages associated with data transfer run. +/// A request to get user facing log messages associated with data transfer run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferLogsRequest { - /// Required. Transfer run name in the form: - /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` + /// Required. Transfer run name in the form: + /// `projects/{project_id}/transferConfigs/{config_id}/runs/{run_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}/runs/{run_id}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Pagination token, which can be used to request a specific page - /// of `ListTransferLogsRequest` list results. For multiple-page - /// results, `ListTransferLogsResponse` outputs - /// a `next_page` token, which can be used as the - /// `page_token` value to request the next page of list results. + /// Pagination token, which can be used to request a specific page + /// of `ListTransferLogsRequest` list results. For multiple-page + /// results, `ListTransferLogsResponse` outputs + /// a `next_page` token, which can be used as the + /// `page_token` value to request the next page of list results. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Page size. The default page size is the maximum value of 1000 results. + /// Page size. The default page size is the maximum value of 1000 results. #[prost(int32, tag="5")] pub page_size: i32, - /// Message types to return. If not populated - INFO, WARNING and ERROR - /// messages are returned. + /// Message types to return. If not populated - INFO, WARNING and ERROR + /// messages are returned. #[prost(enumeration="transfer_message::MessageSeverity", repeated, tag="6")] pub message_types: ::prost::alloc::vec::Vec, } -/// The returned list transfer run messages. +/// The returned list transfer run messages. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferLogsResponse { - /// Output only. The stored pipeline transfer messages. + /// Output only. The stored pipeline transfer messages. #[prost(message, repeated, tag="1")] pub transfer_messages: ::prost::alloc::vec::Vec, - /// Output only. The next-pagination token. For multiple-page list results, - /// this token can be used as the - /// `GetTransferRunLogRequest.page_token` - /// to request the next page of list results. + /// Output only. The next-pagination token. For multiple-page list results, + /// this token can be used as the + /// `GetTransferRunLogRequest.page_token` + /// to request the next page of list results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to determine whether the user has valid credentials. This method -/// is used to limit the number of OAuth popups in the user interface. The -/// user id is inferred from the API call context. -/// If the data source has the Google+ authorization type, this method -/// returns false, as it cannot be determined whether the credentials are -/// already valid merely based on the user id. +/// A request to determine whether the user has valid credentials. This method +/// is used to limit the number of OAuth popups in the user interface. The +/// user id is inferred from the API call context. +/// If the data source has the Google+ authorization type, this method +/// returns false, as it cannot be determined whether the credentials are +/// already valid merely based on the user id. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckValidCredsRequest { - /// Required. The data source in the form: - /// `projects/{project_id}/dataSources/{data_source_id}` or - /// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`. + /// Required. The data source in the form: + /// `projects/{project_id}/dataSources/{data_source_id}` or + /// `projects/{project_id}/locations/{location_id}/dataSources/{data_source_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A response indicating whether the credentials exist and are valid. +/// A response indicating whether the credentials exist and are valid. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckValidCredsResponse { - /// If set to `true`, the credentials exist and are valid. + /// If set to `true`, the credentials exist and are valid. #[prost(bool, tag="1")] pub has_valid_creds: bool, } -/// A request to schedule transfer runs for a time range. +/// A request to schedule transfer runs for a time range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleTransferRunsRequest { - /// Required. Transfer configuration name in the form: - /// `projects/{project_id}/transferConfigs/{config_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. + /// Required. Transfer configuration name in the form: + /// `projects/{project_id}/transferConfigs/{config_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Start time of the range of transfer runs. For example, - /// `"2017-05-25T00:00:00+00:00"`. + /// Required. Start time of the range of transfer runs. For example, + /// `"2017-05-25T00:00:00+00:00"`. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. End time of the range of transfer runs. For example, - /// `"2017-05-30T00:00:00+00:00"`. + /// Required. End time of the range of transfer runs. For example, + /// `"2017-05-30T00:00:00+00:00"`. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// A response to schedule transfer runs for a time range. +/// A response to schedule transfer runs for a time range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScheduleTransferRunsResponse { - /// The transfer runs that were scheduled. + /// The transfer runs that were scheduled. #[prost(message, repeated, tag="1")] pub runs: ::prost::alloc::vec::Vec, } -/// A request to start manual transfer runs. +/// A request to start manual transfer runs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartManualTransferRunsRequest { - /// Transfer configuration name in the form: - /// `projects/{project_id}/transferConfigs/{config_id}` or - /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. + /// Transfer configuration name in the form: + /// `projects/{project_id}/transferConfigs/{config_id}` or + /// `projects/{project_id}/locations/{location_id}/transferConfigs/{config_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The requested time specification - this can be a time range or a specific - /// run_time. + /// The requested time specification - this can be a time range or a specific + /// run_time. #[prost(oneof="start_manual_transfer_runs_request::Time", tags="3, 4")] pub time: ::core::option::Option, } /// Nested message and enum types in `StartManualTransferRunsRequest`. pub mod start_manual_transfer_runs_request { - /// A specification for a time range, this will request transfer runs with - /// run_time between start_time (inclusive) and end_time (exclusive). + /// A specification for a time range, this will request transfer runs with + /// run_time between start_time (inclusive) and end_time (exclusive). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeRange { - /// Start time of the range of transfer runs. For example, - /// `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than - /// the end_time. Creates transfer runs where run_time is in the range - /// between start_time (inclusive) and end_time (exclusive). + /// Start time of the range of transfer runs. For example, + /// `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than + /// the end_time. Creates transfer runs where run_time is in the range + /// between start_time (inclusive) and end_time (exclusive). #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of the range of transfer runs. For example, - /// `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future. - /// Creates transfer runs where run_time is in the range between start_time - /// (inclusive) and end_time (exclusive). + /// End time of the range of transfer runs. For example, + /// `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future. + /// Creates transfer runs where run_time is in the range between start_time + /// (inclusive) and end_time (exclusive). #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } - /// The requested time specification - this can be a time range or a specific - /// run_time. + /// The requested time specification - this can be a time range or a specific + /// run_time. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Time { - /// Time range for the transfer runs that should be started. + /// Time range for the transfer runs that should be started. #[prost(message, tag="3")] RequestedTimeRange(TimeRange), - /// Specific run_time for a transfer run to be started. The - /// requested_run_time must not be in the future. + /// Specific run_time for a transfer run to be started. The + /// requested_run_time must not be in the future. #[prost(message, tag="4")] RequestedRunTime(::prost_types::Timestamp), } } -/// A response to start manual transfer runs. +/// A response to start manual transfer runs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartManualTransferRunsResponse { - /// The transfer runs that were created. + /// The transfer runs that were created. #[prost(message, repeated, tag="1")] pub runs: ::prost::alloc::vec::Vec, } -/// A request to enroll a set of data sources so they are visible in the -/// BigQuery UI's `Transfer` tab. +/// A request to enroll a set of data sources so they are visible in the +/// BigQuery UI's `Transfer` tab. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnrollDataSourcesRequest { - /// The name of the project resource in the form: - /// `projects/{project_id}` + /// The name of the project resource in the form: + /// `projects/{project_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data sources that are enrolled. It is required to provide at least one - /// data source id. + /// Data sources that are enrolled. It is required to provide at least one + /// data source id. #[prost(string, repeated, tag="2")] pub data_source_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.logging.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.logging.v1.rs index 66fea1e57..a21440309 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.logging.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.logging.v1.rs @@ -1,671 +1,671 @@ -/// BigQuery request and response messages for audit log. -/// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. -/// `Table.schema` may continue to be present in your logs during this -/// transition. +/// BigQuery request and response messages for audit log. +/// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. +/// `Table.schema` may continue to be present in your logs during this +/// transition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditData { - /// A job completion event. + /// A job completion event. #[prost(message, optional, tag="17")] pub job_completed_event: ::core::option::Option, - /// Information about the table access events. + /// Information about the table access events. #[prost(message, repeated, tag="19")] pub table_data_read_events: ::prost::alloc::vec::Vec, - /// Request data for each BigQuery method. + /// Request data for each BigQuery method. #[prost(oneof="audit_data::Request", tags="1, 16, 2, 3, 4, 5, 6, 7, 8, 20")] pub request: ::core::option::Option, - /// Response data for each BigQuery method. + /// Response data for each BigQuery method. #[prost(oneof="audit_data::Response", tags="9, 10, 11, 12, 18, 13, 14, 15, 21")] pub response: ::core::option::Option, } /// Nested message and enum types in `AuditData`. pub mod audit_data { - /// Request data for each BigQuery method. + /// Request data for each BigQuery method. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Request { - /// Table insert request. + /// Table insert request. #[prost(message, tag="1")] TableInsertRequest(super::TableInsertRequest), - /// Table update request. + /// Table update request. #[prost(message, tag="16")] TableUpdateRequest(super::TableUpdateRequest), - /// Dataset list request. + /// Dataset list request. #[prost(message, tag="2")] DatasetListRequest(super::DatasetListRequest), - /// Dataset insert request. + /// Dataset insert request. #[prost(message, tag="3")] DatasetInsertRequest(super::DatasetInsertRequest), - /// Dataset update request. + /// Dataset update request. #[prost(message, tag="4")] DatasetUpdateRequest(super::DatasetUpdateRequest), - /// Job insert request. + /// Job insert request. #[prost(message, tag="5")] JobInsertRequest(super::JobInsertRequest), - /// Job query request. + /// Job query request. #[prost(message, tag="6")] JobQueryRequest(super::JobQueryRequest), - /// Job get query results request. + /// Job get query results request. #[prost(message, tag="7")] JobGetQueryResultsRequest(super::JobGetQueryResultsRequest), - /// Table data-list request. + /// Table data-list request. #[prost(message, tag="8")] TableDataListRequest(super::TableDataListRequest), - /// Iam policy request. + /// Iam policy request. #[prost(message, tag="20")] SetIamPolicyRequest(super::super::super::super::super::iam::v1::SetIamPolicyRequest), } - /// Response data for each BigQuery method. + /// Response data for each BigQuery method. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// Table insert response. + /// Table insert response. #[prost(message, tag="9")] TableInsertResponse(super::TableInsertResponse), - /// Table update response. + /// Table update response. #[prost(message, tag="10")] TableUpdateResponse(super::TableUpdateResponse), - /// Dataset insert response. + /// Dataset insert response. #[prost(message, tag="11")] DatasetInsertResponse(super::DatasetInsertResponse), - /// Dataset update response. + /// Dataset update response. #[prost(message, tag="12")] DatasetUpdateResponse(super::DatasetUpdateResponse), - /// Job insert response. + /// Job insert response. #[prost(message, tag="18")] JobInsertResponse(super::JobInsertResponse), - /// Job query response. + /// Job query response. #[prost(message, tag="13")] JobQueryResponse(super::JobQueryResponse), - /// Job get query results response. + /// Job get query results response. #[prost(message, tag="14")] JobGetQueryResultsResponse(super::JobGetQueryResultsResponse), - /// Deprecated: Job query-done response. Use this information for usage - /// analysis. + /// Deprecated: Job query-done response. Use this information for usage + /// analysis. #[prost(message, tag="15")] JobQueryDoneResponse(super::JobQueryDoneResponse), - /// Iam Policy. + /// Iam Policy. #[prost(message, tag="21")] PolicyResponse(super::super::super::super::super::iam::v1::Policy), } } -/// Table insert request. +/// Table insert request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableInsertRequest { - /// The new table. + /// The new table. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option
, } -/// Table update request. +/// Table update request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableUpdateRequest { - /// The table to be updated. + /// The table to be updated. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option
, } -/// Table insert response. +/// Table insert response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableInsertResponse { - /// Final state of the inserted table. + /// Final state of the inserted table. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option
, } -/// Table update response. +/// Table update response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableUpdateResponse { - /// Final state of the updated table. + /// Final state of the updated table. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option
, } -/// Dataset list request. +/// Dataset list request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetListRequest { - /// Whether to list all datasets, including hidden ones. + /// Whether to list all datasets, including hidden ones. #[prost(bool, tag="1")] pub list_all: bool, } -/// Dataset insert request. +/// Dataset insert request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetInsertRequest { - /// The dataset to be inserted. + /// The dataset to be inserted. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Dataset insert response. +/// Dataset insert response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetInsertResponse { - /// Final state of the inserted dataset. + /// Final state of the inserted dataset. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Dataset update request. +/// Dataset update request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetUpdateRequest { - /// The dataset to be updated. + /// The dataset to be updated. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Dataset update response. +/// Dataset update response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetUpdateResponse { - /// Final state of the updated dataset. + /// Final state of the updated dataset. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Job insert request. +/// Job insert request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobInsertRequest { - /// Job insert request. + /// Job insert request. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Job insert response. +/// Job insert response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobInsertResponse { - /// Job insert response. + /// Job insert response. #[prost(message, optional, tag="1")] pub resource: ::core::option::Option, } -/// Job query request. +/// Job query request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobQueryRequest { - /// The query. + /// The query. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// The maximum number of results. + /// The maximum number of results. #[prost(uint32, tag="2")] pub max_results: u32, - /// The default dataset for tables that do not have a dataset specified. + /// The default dataset for tables that do not have a dataset specified. #[prost(message, optional, tag="3")] pub default_dataset: ::core::option::Option, - /// Project that the query should be charged to. + /// Project that the query should be charged to. #[prost(string, tag="4")] pub project_id: ::prost::alloc::string::String, - /// If true, don't actually run the job. Just check that it would run. + /// If true, don't actually run the job. Just check that it would run. #[prost(bool, tag="5")] pub dry_run: bool, } -/// Job query response. +/// Job query response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobQueryResponse { - /// The total number of rows in the full query result set. + /// The total number of rows in the full query result set. #[prost(uint64, tag="1")] pub total_results: u64, - /// Information about the queried job. + /// Information about the queried job. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, } -/// Job getQueryResults request. +/// Job getQueryResults request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobGetQueryResultsRequest { - /// Maximum number of results to return. + /// Maximum number of results to return. #[prost(uint32, tag="1")] pub max_results: u32, - /// Zero-based row number at which to start. + /// Zero-based row number at which to start. #[prost(uint64, tag="2")] pub start_row: u64, } -/// Job getQueryResults response. +/// Job getQueryResults response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobGetQueryResultsResponse { - /// Total number of results in query results. + /// Total number of results in query results. #[prost(uint64, tag="1")] pub total_results: u64, - /// The job that was created to run the query. - /// It completed if `job.status.state` is `DONE`. - /// It failed if `job.status.errorResult` is also present. + /// The job that was created to run the query. + /// It completed if `job.status.state` is `DONE`. + /// It failed if `job.status.errorResult` is also present. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, } -/// Job getQueryDone response. +/// Job getQueryDone response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobQueryDoneResponse { - /// The job and status information. - /// The job completed if `job.status.state` is `DONE`. + /// The job and status information. + /// The job completed if `job.status.state` is `DONE`. #[prost(message, optional, tag="1")] pub job: ::core::option::Option, } -/// Query job completed event. +/// Query job completed event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobCompletedEvent { - /// Name of the event. + /// Name of the event. #[prost(string, tag="1")] pub event_name: ::prost::alloc::string::String, - /// Job information. + /// Job information. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, } -/// Table data read event. Only present for tables, not views, and is only -/// included in the log record for the project that owns the table. +/// Table data read event. Only present for tables, not views, and is only +/// included in the log record for the project that owns the table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDataReadEvent { - /// Name of the accessed table. + /// Name of the accessed table. #[prost(message, optional, tag="1")] pub table_name: ::core::option::Option, - /// A list of referenced fields. This information is not included by default. - /// To enable this in the logs, please contact BigQuery support or open a bug - /// in the BigQuery issue tracker. + /// A list of referenced fields. This information is not included by default. + /// To enable this in the logs, please contact BigQuery support or open a bug + /// in the BigQuery issue tracker. #[prost(string, repeated, tag="2")] pub referenced_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Table data-list request. +/// Table data-list request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDataListRequest { - /// Starting row offset. + /// Starting row offset. #[prost(uint64, tag="1")] pub start_row: u64, - /// Maximum number of results to return. + /// Maximum number of results to return. #[prost(uint32, tag="2")] pub max_results: u32, } -/// Describes a BigQuery table. -/// See the \[Table\](/bigquery/docs/reference/v2/tables) API resource -/// for more details on individual fields. -/// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. -/// `Table.schema` may continue to be present in your logs during this -/// transition. +/// Describes a BigQuery table. +/// See the \[Table\](/bigquery/docs/reference/v2/tables) API resource +/// for more details on individual fields. +/// Note: `Table.schema` has been deprecated in favor of `Table.schemaJson`. +/// `Table.schema` may continue to be present in your logs during this +/// transition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Table { - /// The name of the table. + /// The name of the table. #[prost(message, optional, tag="1")] pub table_name: ::core::option::Option, - /// User-provided metadata for the table. + /// User-provided metadata for the table. #[prost(message, optional, tag="2")] pub info: ::core::option::Option, - /// A JSON representation of the table's schema. + /// A JSON representation of the table's schema. #[prost(string, tag="8")] pub schema_json: ::prost::alloc::string::String, - /// If present, this is a virtual table defined by a SQL query. + /// If present, this is a virtual table defined by a SQL query. #[prost(message, optional, tag="4")] pub view: ::core::option::Option, - /// The expiration date for the table, after which the table - /// is deleted and the storage reclaimed. - /// If not present, the table persists indefinitely. + /// The expiration date for the table, after which the table + /// is deleted and the storage reclaimed. + /// If not present, the table persists indefinitely. #[prost(message, optional, tag="5")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the table was created. + /// The time the table was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the table was last truncated - /// by an operation with a `writeDisposition` of `WRITE_TRUNCATE`. + /// The time the table was last truncated + /// by an operation with a `writeDisposition` of `WRITE_TRUNCATE`. #[prost(message, optional, tag="7")] pub truncate_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the table was last modified. + /// The time the table was last modified. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The table encryption information. Set when non-default encryption is used. + /// The table encryption information. Set when non-default encryption is used. #[prost(message, optional, tag="10")] pub encryption: ::core::option::Option, } -/// User-provided metadata for a table. +/// User-provided metadata for a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableInfo { - /// A short name for the table, such as`"Analytics Data - Jan 2011"`. + /// A short name for the table, such as`"Analytics Data - Jan 2011"`. #[prost(string, tag="1")] pub friendly_name: ::prost::alloc::string::String, - /// A long description, perhaps several paragraphs, - /// describing the table contents in detail. + /// A long description, perhaps several paragraphs, + /// describing the table contents in detail. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Labels provided for the table. + /// Labels provided for the table. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Describes a virtual table defined by a SQL query. +/// Describes a virtual table defined by a SQL query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableViewDefinition { - /// SQL query defining the view. + /// SQL query defining the view. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, } -/// BigQuery dataset information. -/// See the \[Dataset\](/bigquery/docs/reference/v2/datasets) API resource -/// for more details on individual fields. +/// BigQuery dataset information. +/// See the \[Dataset\](/bigquery/docs/reference/v2/datasets) API resource +/// for more details on individual fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// The name of the dataset. + /// The name of the dataset. #[prost(message, optional, tag="1")] pub dataset_name: ::core::option::Option, - /// User-provided metadata for the dataset. + /// User-provided metadata for the dataset. #[prost(message, optional, tag="2")] pub info: ::core::option::Option, - /// The time the dataset was created. + /// The time the dataset was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the dataset was last modified. + /// The time the dataset was last modified. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The access control list for the dataset. + /// The access control list for the dataset. #[prost(message, optional, tag="6")] pub acl: ::core::option::Option, - /// If this field is present, each table that does not specify an - /// expiration time is assigned an expiration time by adding this - /// duration to the table's `createTime`. If this field is empty, - /// there is no default table expiration time. + /// If this field is present, each table that does not specify an + /// expiration time is assigned an expiration time by adding this + /// duration to the table's `createTime`. If this field is empty, + /// there is no default table expiration time. #[prost(message, optional, tag="8")] pub default_table_expire_duration: ::core::option::Option<::prost_types::Duration>, } -/// User-provided metadata for a dataset. +/// User-provided metadata for a dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetInfo { - /// A short name for the dataset, such as`"Analytics Data 2011"`. + /// A short name for the dataset, such as`"Analytics Data 2011"`. #[prost(string, tag="1")] pub friendly_name: ::prost::alloc::string::String, - /// A long description, perhaps several paragraphs, - /// describing the dataset contents in detail. + /// A long description, perhaps several paragraphs, + /// describing the dataset contents in detail. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Labels provided for the dataset. + /// Labels provided for the dataset. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// An access control list. +/// An access control list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryAcl { - /// Access control entry list. + /// Access control entry list. #[prost(message, repeated, tag="1")] pub entries: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BigQueryAcl`. pub mod big_query_acl { - /// Access control entry. + /// Access control entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The granted role, which can be `READER`, `WRITER`, or `OWNER`. + /// The granted role, which can be `READER`, `WRITER`, or `OWNER`. #[prost(string, tag="1")] pub role: ::prost::alloc::string::String, - /// Grants access to a group identified by an email address. + /// Grants access to a group identified by an email address. #[prost(string, tag="2")] pub group_email: ::prost::alloc::string::String, - /// Grants access to a user identified by an email address. + /// Grants access to a user identified by an email address. #[prost(string, tag="3")] pub user_email: ::prost::alloc::string::String, - /// Grants access to all members of a domain. + /// Grants access to all members of a domain. #[prost(string, tag="4")] pub domain: ::prost::alloc::string::String, - /// Grants access to special groups. Valid groups are `PROJECT_OWNERS`, - /// `PROJECT_READERS`, `PROJECT_WRITERS` and `ALL_AUTHENTICATED_USERS`. + /// Grants access to special groups. Valid groups are `PROJECT_OWNERS`, + /// `PROJECT_READERS`, `PROJECT_WRITERS` and `ALL_AUTHENTICATED_USERS`. #[prost(string, tag="5")] pub special_group: ::prost::alloc::string::String, - /// Grants access to a BigQuery View. + /// Grants access to a BigQuery View. #[prost(message, optional, tag="6")] pub view_name: ::core::option::Option, } } -/// Describes a job. +/// Describes a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Job name. + /// Job name. #[prost(message, optional, tag="1")] pub job_name: ::core::option::Option, - /// Job configuration. + /// Job configuration. #[prost(message, optional, tag="2")] pub job_configuration: ::core::option::Option, - /// Job status. + /// Job status. #[prost(message, optional, tag="3")] pub job_status: ::core::option::Option, - /// Job statistics. + /// Job statistics. #[prost(message, optional, tag="4")] pub job_statistics: ::core::option::Option, } -/// Job configuration information. -/// See the \[Jobs\](/bigquery/docs/reference/v2/jobs) API resource -/// for more details on individual fields. +/// Job configuration information. +/// See the \[Jobs\](/bigquery/docs/reference/v2/jobs) API resource +/// for more details on individual fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobConfiguration { - /// If true, don't actually run the job. Just check that it would run. + /// If true, don't actually run the job. Just check that it would run. #[prost(bool, tag="9")] pub dry_run: bool, - /// Labels provided for the job. + /// Labels provided for the job. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Job configuration information. + /// Job configuration information. #[prost(oneof="job_configuration::Configuration", tags="5, 6, 7, 8")] pub configuration: ::core::option::Option, } /// Nested message and enum types in `JobConfiguration`. pub mod job_configuration { - /// Describes a query job, which executes a SQL-like query. + /// Describes a query job, which executes a SQL-like query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Query { - /// The SQL query to run. + /// The SQL query to run. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// The table where results are written. + /// The table where results are written. #[prost(message, optional, tag="2")] pub destination_table: ::core::option::Option, - /// Describes when a job is allowed to create a table: - /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. + /// Describes when a job is allowed to create a table: + /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. #[prost(string, tag="3")] pub create_disposition: ::prost::alloc::string::String, - /// Describes how writes affect existing tables: - /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. + /// Describes how writes affect existing tables: + /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. #[prost(string, tag="4")] pub write_disposition: ::prost::alloc::string::String, - /// If a table name is specified without a dataset in a query, - /// this dataset will be added to table name. + /// If a table name is specified without a dataset in a query, + /// this dataset will be added to table name. #[prost(message, optional, tag="5")] pub default_dataset: ::core::option::Option, - /// Describes data sources outside BigQuery, if needed. + /// Describes data sources outside BigQuery, if needed. #[prost(message, repeated, tag="6")] pub table_definitions: ::prost::alloc::vec::Vec, - /// Describes the priority given to the query: - /// `QUERY_INTERACTIVE` or `QUERY_BATCH`. + /// Describes the priority given to the query: + /// `QUERY_INTERACTIVE` or `QUERY_BATCH`. #[prost(string, tag="7")] pub query_priority: ::prost::alloc::string::String, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="8")] pub destination_table_encryption: ::core::option::Option, - /// Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..) + /// Type of the statement (e.g. SELECT, INSERT, CREATE_TABLE, CREATE_MODEL..) #[prost(string, tag="9")] pub statement_type: ::prost::alloc::string::String, } - /// Describes a load job, which loads data from an external source via - /// the import pipeline. + /// Describes a load job, which loads data from an external source via + /// the import pipeline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Load { - /// URIs for the data to be imported. Only Google Cloud Storage URIs are - /// supported. + /// URIs for the data to be imported. Only Google Cloud Storage URIs are + /// supported. #[prost(string, repeated, tag="1")] pub source_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The table schema in JSON format representation of a TableSchema. + /// The table schema in JSON format representation of a TableSchema. #[prost(string, tag="6")] pub schema_json: ::prost::alloc::string::String, - /// The table where the imported data is written. + /// The table where the imported data is written. #[prost(message, optional, tag="3")] pub destination_table: ::core::option::Option, - /// Describes when a job is allowed to create a table: - /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. + /// Describes when a job is allowed to create a table: + /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. #[prost(string, tag="4")] pub create_disposition: ::prost::alloc::string::String, - /// Describes how writes affect existing tables: - /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. + /// Describes how writes affect existing tables: + /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. #[prost(string, tag="5")] pub write_disposition: ::prost::alloc::string::String, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="7")] pub destination_table_encryption: ::core::option::Option, } - /// Describes an extract job, which exports data to an external source - /// via the export pipeline. + /// Describes an extract job, which exports data to an external source + /// via the export pipeline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Extract { - /// Google Cloud Storage URIs where extracted data should be written. + /// Google Cloud Storage URIs where extracted data should be written. #[prost(string, repeated, tag="1")] pub destination_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The source table. + /// The source table. #[prost(message, optional, tag="2")] pub source_table: ::core::option::Option, } - /// Describes a copy job, which copies an existing table to another table. + /// Describes a copy job, which copies an existing table to another table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableCopy { - /// Source tables. + /// Source tables. #[prost(message, repeated, tag="1")] pub source_tables: ::prost::alloc::vec::Vec, - /// Destination table. + /// Destination table. #[prost(message, optional, tag="2")] pub destination_table: ::core::option::Option, - /// Describes when a job is allowed to create a table: - /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. + /// Describes when a job is allowed to create a table: + /// `CREATE_IF_NEEDED`, `CREATE_NEVER`. #[prost(string, tag="3")] pub create_disposition: ::prost::alloc::string::String, - /// Describes how writes affect existing tables: - /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. + /// Describes how writes affect existing tables: + /// `WRITE_TRUNCATE`, `WRITE_APPEND`, `WRITE_EMPTY`. #[prost(string, tag="4")] pub write_disposition: ::prost::alloc::string::String, - /// Result table encryption information. Set when non-default encryption is - /// used. + /// Result table encryption information. Set when non-default encryption is + /// used. #[prost(message, optional, tag="5")] pub destination_table_encryption: ::core::option::Option, } - /// Job configuration information. + /// Job configuration information. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Configuration { - /// Query job information. + /// Query job information. #[prost(message, tag="5")] Query(Query), - /// Load job information. + /// Load job information. #[prost(message, tag="6")] Load(Load), - /// Extract job information. + /// Extract job information. #[prost(message, tag="7")] Extract(Extract), - /// TableCopy job information. + /// TableCopy job information. #[prost(message, tag="8")] TableCopy(TableCopy), } } -/// Describes an external data source used in a query. +/// Describes an external data source used in a query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableDefinition { - /// Name of the table, used in queries. + /// Name of the table, used in queries. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Google Cloud Storage URIs for the data to be imported. + /// Google Cloud Storage URIs for the data to be imported. #[prost(string, repeated, tag="2")] pub source_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Running state of a job. +/// Running state of a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatus { - /// State of a job: `PENDING`, `RUNNING`, or `DONE`. + /// State of a job: `PENDING`, `RUNNING`, or `DONE`. #[prost(string, tag="1")] pub state: ::prost::alloc::string::String, - /// If the job did not complete successfully, this field describes why. + /// If the job did not complete successfully, this field describes why. #[prost(message, optional, tag="2")] pub error: ::core::option::Option, - /// Errors encountered during the running of the job. Do not necessarily mean - /// that the job has completed or was unsuccessful. + /// Errors encountered during the running of the job. Do not necessarily mean + /// that the job has completed or was unsuccessful. #[prost(message, repeated, tag="3")] pub additional_errors: ::prost::alloc::vec::Vec, } -/// Job statistics that may change after a job starts. +/// Job statistics that may change after a job starts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatistics { - /// Time when the job was created. + /// Time when the job was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the job started. + /// Time when the job started. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the job ended. + /// Time when the job ended. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Total bytes processed for a job. + /// Total bytes processed for a job. #[prost(int64, tag="4")] pub total_processed_bytes: i64, - /// Processed bytes, adjusted by the job's CPU usage. + /// Processed bytes, adjusted by the job's CPU usage. #[prost(int64, tag="5")] pub total_billed_bytes: i64, - /// The tier assigned by CPU-based billing. + /// The tier assigned by CPU-based billing. #[prost(int32, tag="7")] pub billing_tier: i32, - /// The total number of slot-ms consumed by the query job. + /// The total number of slot-ms consumed by the query job. #[prost(int64, tag="8")] pub total_slot_ms: i64, - /// Reservation usage. + /// Reservation usage. #[prost(message, repeated, tag="14")] pub reservation_usage: ::prost::alloc::vec::Vec, - /// The first N tables accessed by the query job. Older queries that - /// reference a large number of tables may not have all of their - /// tables in this list. You can use the total_tables_processed count to - /// know how many total tables were read in the query. For new queries, - /// there is currently no limit. + /// The first N tables accessed by the query job. Older queries that + /// reference a large number of tables may not have all of their + /// tables in this list. You can use the total_tables_processed count to + /// know how many total tables were read in the query. For new queries, + /// there is currently no limit. #[prost(message, repeated, tag="9")] pub referenced_tables: ::prost::alloc::vec::Vec, - /// Total number of unique tables referenced in the query. + /// Total number of unique tables referenced in the query. #[prost(int32, tag="10")] pub total_tables_processed: i32, - /// The first N views accessed by the query job. Older queries that - /// reference a large number of views may not have all of their - /// views in this list. You can use the total_tables_processed count to - /// know how many total tables were read in the query. For new queries, - /// there is currently no limit. + /// The first N views accessed by the query job. Older queries that + /// reference a large number of views may not have all of their + /// views in this list. You can use the total_tables_processed count to + /// know how many total tables were read in the query. For new queries, + /// there is currently no limit. #[prost(message, repeated, tag="11")] pub referenced_views: ::prost::alloc::vec::Vec, - /// Total number of unique views referenced in the query. + /// Total number of unique views referenced in the query. #[prost(int32, tag="12")] pub total_views_processed: i32, - /// Number of output rows produced by the query job. + /// Number of output rows produced by the query job. #[prost(int64, tag="15")] pub query_output_row_count: i64, - /// Total bytes loaded for an import job. + /// Total bytes loaded for an import job. #[prost(int64, tag="13")] pub total_load_output_bytes: i64, } /// Nested message and enum types in `JobStatistics`. pub mod job_statistics { - /// Job resource usage breakdown by reservation. + /// Job resource usage breakdown by reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationResourceUsage { - /// Reservation name or "unreserved" for on-demand resources usage. + /// Reservation name or "unreserved" for on-demand resources usage. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Total slot milliseconds used by the reservation for a particular job. + /// Total slot milliseconds used by the reservation for a particular job. #[prost(int64, tag="2")] pub slot_ms: i64, } } -/// The fully-qualified name for a dataset. +/// The fully-qualified name for a dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetName { - /// The project ID. + /// The project ID. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// The dataset ID within the project. + /// The dataset ID within the project. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, } -/// The fully-qualified name for a table. +/// The fully-qualified name for a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableName { - /// The project ID. + /// The project ID. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// The dataset ID within the project. + /// The dataset ID within the project. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// The table ID of the table within the dataset. + /// The table ID of the table within the dataset. #[prost(string, tag="3")] pub table_id: ::prost::alloc::string::String, } -/// The fully-qualified name for a job. +/// The fully-qualified name for a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobName { - /// The project ID. + /// The project ID. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// The job ID within the project. + /// The job ID within the project. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, - /// The job location. + /// The job location. #[prost(string, tag="3")] pub location: ::prost::alloc::string::String, } -/// Describes encryption properties for a table or a job +/// Describes encryption properties for a table or a job #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionInfo { - /// unique identifier for cloud kms key + /// unique identifier for cloud kms key #[prost(string, tag="1")] pub kms_key_name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2.rs b/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2.rs index 5569d5c20..3eb736033 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2.rs @@ -1,269 +1,269 @@ -/// Provides details for errors and the corresponding resources. +/// Provides details for errors and the corresponding resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceErrorDetail { - /// Required. Information about the resource where the error is located. + /// Required. Information about the resource where the error is located. #[prost(message, optional, tag="1")] pub resource_info: ::core::option::Option, - /// Required. The error details for the resource. + /// Required. The error details for the resource. #[prost(message, repeated, tag="2")] pub error_details: ::prost::alloc::vec::Vec, - /// Required. How many errors there are in total for the resource. Truncation can be - /// indicated by having an `error_count` that is higher than the size of - /// `error_details`. + /// Required. How many errors there are in total for the resource. Truncation can be + /// indicated by having an `error_count` that is higher than the size of + /// `error_details`. #[prost(int32, tag="3")] pub error_count: i32, } -/// Provides details for errors, e.g. issues that where encountered when -/// processing a subtask. +/// Provides details for errors, e.g. issues that where encountered when +/// processing a subtask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorDetail { - /// Optional. The exact location within the resource (if applicable). + /// Optional. The exact location within the resource (if applicable). #[prost(message, optional, tag="1")] pub location: ::core::option::Option, - /// Required. Describes the cause of the error with structured detail. + /// Required. Describes the cause of the error with structured detail. #[prost(message, optional, tag="2")] pub error_info: ::core::option::Option, } -/// Holds information about where the error is located. +/// Holds information about where the error is located. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorLocation { - /// Optional. If applicable, denotes the line where the error occurred. A zero value - /// means that there is no line information. + /// Optional. If applicable, denotes the line where the error occurred. A zero value + /// means that there is no line information. #[prost(int32, tag="1")] pub line: i32, - /// Optional. If applicable, denotes the column where the error occurred. A zero value - /// means that there is no columns information. + /// Optional. If applicable, denotes the column where the error occurred. A zero value + /// means that there is no columns information. #[prost(int32, tag="2")] pub column: i32, } -/// The metrics object for a SubTask. +/// The metrics object for a SubTask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeSeries { - /// Required. The name of the metric. + /// Required. The name of the metric. /// - /// If the metric is not known by the service yet, it will be auto-created. + /// If the metric is not known by the service yet, it will be auto-created. #[prost(string, tag="1")] pub metric: ::prost::alloc::string::String, - /// Required. The value type of the time series. + /// Required. The value type of the time series. #[prost(enumeration="super::super::super::super::api::metric_descriptor::ValueType", tag="2")] pub value_type: i32, - /// Optional. The metric kind of the time series. + /// Optional. The metric kind of the time series. /// - /// If present, it must be the same as the metric kind of the associated - /// metric. If the associated metric's descriptor must be auto-created, then - /// this field specifies the metric kind of the new descriptor and must be - /// either `GAUGE` (the default) or `CUMULATIVE`. + /// If present, it must be the same as the metric kind of the associated + /// metric. If the associated metric's descriptor must be auto-created, then + /// this field specifies the metric kind of the new descriptor and must be + /// either `GAUGE` (the default) or `CUMULATIVE`. #[prost(enumeration="super::super::super::super::api::metric_descriptor::MetricKind", tag="3")] pub metric_kind: i32, - /// Required. The data points of this time series. When listing time series, points are - /// returned in reverse time order. + /// Required. The data points of this time series. When listing time series, points are + /// returned in reverse time order. /// - /// When creating a time series, this field must contain exactly one point and - /// the point's type must be the same as the value type of the associated - /// metric. If the associated metric's descriptor must be auto-created, then - /// the value type of the descriptor is determined by the point's type, which - /// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. + /// When creating a time series, this field must contain exactly one point and + /// the point's type must be the same as the value type of the associated + /// metric. If the associated metric's descriptor must be auto-created, then + /// the value type of the descriptor is determined by the point's type, which + /// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. #[prost(message, repeated, tag="4")] pub points: ::prost::alloc::vec::Vec, } -/// A single data point in a time series. +/// A single data point in a time series. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Point { - /// The time interval to which the data point applies. For `GAUGE` metrics, - /// the start time does not need to be supplied, but if it is supplied, it must - /// equal the end time. For `DELTA` metrics, the start and end time should - /// specify a non-zero interval, with subsequent points specifying contiguous - /// and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end - /// time should specify a non-zero interval, with subsequent points specifying - /// the same start time and increasing end times, until an event resets the - /// cumulative value to zero and sets a new start time for the following - /// points. + /// The time interval to which the data point applies. For `GAUGE` metrics, + /// the start time does not need to be supplied, but if it is supplied, it must + /// equal the end time. For `DELTA` metrics, the start and end time should + /// specify a non-zero interval, with subsequent points specifying contiguous + /// and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end + /// time should specify a non-zero interval, with subsequent points specifying + /// the same start time and increasing end times, until an event resets the + /// cumulative value to zero and sets a new start time for the following + /// points. #[prost(message, optional, tag="1")] pub interval: ::core::option::Option, - /// The value of the data point. + /// The value of the data point. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } -/// A time interval extending just after a start time through an end time. -/// If the start time is the same as the end time, then the interval -/// represents a single point in time. +/// A time interval extending just after a start time through an end time. +/// If the start time is the same as the end time, then the interval +/// represents a single point in time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeInterval { - /// Optional. The beginning of the time interval. The default value - /// for the start time is the end time. The start time must not be - /// later than the end time. + /// Optional. The beginning of the time interval. The default value + /// for the start time is the end time. The start time must not be + /// later than the end time. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The end of the time interval. + /// Required. The end of the time interval. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// A single strongly-typed value. +/// A single strongly-typed value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TypedValue { - /// The typed value field. + /// The typed value field. #[prost(oneof="typed_value::Value", tags="1, 2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `TypedValue`. pub mod typed_value { - /// The typed value field. + /// The typed value field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A Boolean value: `true` or `false`. + /// A Boolean value: `true` or `false`. #[prost(bool, tag="1")] BoolValue(bool), - /// A 64-bit integer. Its range is approximately `+/-9.2x10^18`. + /// A 64-bit integer. Its range is approximately `+/-9.2x10^18`. #[prost(int64, tag="2")] Int64Value(i64), - /// A 64-bit double-precision floating-point number. Its magnitude - /// is approximately `+/-10^(+/-300)` and it has 16 significant digits of - /// precision. + /// A 64-bit double-precision floating-point number. Its magnitude + /// is approximately `+/-10^(+/-300)` and it has 16 significant digits of + /// precision. #[prost(double, tag="3")] DoubleValue(f64), - /// A variable-length string value. + /// A variable-length string value. #[prost(string, tag="4")] StringValue(::prost::alloc::string::String), - /// A distribution value. + /// A distribution value. #[prost(message, tag="5")] DistributionValue(super::super::super::super::super::api::Distribution), } } -/// The translation config to capture necessary settings for a translation task -/// and subtask. +/// The translation config to capture necessary settings for a translation task +/// and subtask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationConfigDetails { - /// The dialect of the input files. + /// The dialect of the input files. #[prost(message, optional, tag="3")] pub source_dialect: ::core::option::Option, - /// The target dialect for the engine to translate the input to. + /// The target dialect for the engine to translate the input to. #[prost(message, optional, tag="4")] pub target_dialect: ::core::option::Option, - /// The default source environment values for the translation. + /// The default source environment values for the translation. #[prost(message, optional, tag="6")] pub source_env: ::core::option::Option, - /// The chosen path where the source for input files will be found. + /// The chosen path where the source for input files will be found. #[prost(oneof="translation_config_details::SourceLocation", tags="1")] pub source_location: ::core::option::Option, - /// The chosen path where the destination for output files will be found. + /// The chosen path where the destination for output files will be found. #[prost(oneof="translation_config_details::TargetLocation", tags="2")] pub target_location: ::core::option::Option, - /// The mapping of full SQL object names from their current state to the - /// desired output. + /// The mapping of full SQL object names from their current state to the + /// desired output. #[prost(oneof="translation_config_details::OutputNameMapping", tags="5")] pub output_name_mapping: ::core::option::Option, } /// Nested message and enum types in `TranslationConfigDetails`. pub mod translation_config_details { - /// The chosen path where the source for input files will be found. + /// The chosen path where the source for input files will be found. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceLocation { - /// The Cloud Storage path for a directory of files to translate in a task. + /// The Cloud Storage path for a directory of files to translate in a task. #[prost(string, tag="1")] GcsSourcePath(::prost::alloc::string::String), } - /// The chosen path where the destination for output files will be found. + /// The chosen path where the destination for output files will be found. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetLocation { - /// The Cloud Storage path to write back the corresponding input files to. + /// The Cloud Storage path to write back the corresponding input files to. #[prost(string, tag="2")] GcsTargetPath(::prost::alloc::string::String), } - /// The mapping of full SQL object names from their current state to the - /// desired output. + /// The mapping of full SQL object names from their current state to the + /// desired output. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputNameMapping { - /// The mapping of objects to their desired output names in list form. + /// The mapping of objects to their desired output names in list form. #[prost(message, tag="5")] NameMappingList(super::ObjectNameMappingList), } } -/// The possible dialect options for translation. +/// The possible dialect options for translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dialect { - /// The possible dialect options that this message represents. + /// The possible dialect options that this message represents. #[prost(oneof="dialect::DialectValue", tags="1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14")] pub dialect_value: ::core::option::Option, } /// Nested message and enum types in `Dialect`. pub mod dialect { - /// The possible dialect options that this message represents. + /// The possible dialect options that this message represents. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DialectValue { - /// The BigQuery dialect + /// The BigQuery dialect #[prost(message, tag="1")] BigqueryDialect(super::BigQueryDialect), - /// The HiveQL dialect + /// The HiveQL dialect #[prost(message, tag="2")] HiveqlDialect(super::HiveQlDialect), - /// The Redshift dialect + /// The Redshift dialect #[prost(message, tag="3")] RedshiftDialect(super::RedshiftDialect), - /// The Teradata dialect + /// The Teradata dialect #[prost(message, tag="4")] TeradataDialect(super::TeradataDialect), - /// The Oracle dialect + /// The Oracle dialect #[prost(message, tag="5")] OracleDialect(super::OracleDialect), - /// The SparkSQL dialect + /// The SparkSQL dialect #[prost(message, tag="6")] SparksqlDialect(super::SparkSqlDialect), - /// The Snowflake dialect + /// The Snowflake dialect #[prost(message, tag="7")] SnowflakeDialect(super::SnowflakeDialect), - /// The Netezza dialect + /// The Netezza dialect #[prost(message, tag="8")] NetezzaDialect(super::NetezzaDialect), - /// The Azure Synapse dialect + /// The Azure Synapse dialect #[prost(message, tag="9")] AzureSynapseDialect(super::AzureSynapseDialect), - /// The Vertica dialect + /// The Vertica dialect #[prost(message, tag="10")] VerticaDialect(super::VerticaDialect), - /// The SQL Server dialect + /// The SQL Server dialect #[prost(message, tag="11")] SqlServerDialect(super::SqlServerDialect), - /// The Postgresql dialect + /// The Postgresql dialect #[prost(message, tag="12")] PostgresqlDialect(super::PostgresqlDialect), - /// The Presto dialect + /// The Presto dialect #[prost(message, tag="13")] PrestoDialect(super::PrestoDialect), - /// The MySQL dialect + /// The MySQL dialect #[prost(message, tag="14")] MysqlDialect(super::MySqlDialect), } } -/// The dialect definition for BigQuery. +/// The dialect definition for BigQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDialect { } -/// The dialect definition for HiveQL. +/// The dialect definition for HiveQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HiveQlDialect { } -/// The dialect definition for Redshift. +/// The dialect definition for Redshift. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RedshiftDialect { } -/// The dialect definition for Teradata. +/// The dialect definition for Teradata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TeradataDialect { - /// Which Teradata sub-dialect mode the user specifies. + /// Which Teradata sub-dialect mode the user specifies. #[prost(enumeration="teradata_dialect::Mode", tag="1")] pub mode: i32, } /// Nested message and enum types in `TeradataDialect`. pub mod teradata_dialect { - /// The sub-dialect options for Teradata. + /// The sub-dialect options for Teradata. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// Unspecified mode. + /// Unspecified mode. Unspecified = 0, - /// Teradata SQL mode. + /// Teradata SQL mode. Sql = 1, - /// BTEQ mode (which includes SQL). + /// BTEQ mode (which includes SQL). Bteq = 2, } impl Mode { @@ -280,109 +280,109 @@ pub mod teradata_dialect { } } } -/// The dialect definition for Oracle. +/// The dialect definition for Oracle. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleDialect { } -/// The dialect definition for SparkSQL. +/// The dialect definition for SparkSQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkSqlDialect { } -/// The dialect definition for Snowflake. +/// The dialect definition for Snowflake. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnowflakeDialect { } -/// The dialect definition for Netezza. +/// The dialect definition for Netezza. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetezzaDialect { } -/// The dialect definition for Azure Synapse. +/// The dialect definition for Azure Synapse. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AzureSynapseDialect { } -/// The dialect definition for Vertica. +/// The dialect definition for Vertica. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VerticaDialect { } -/// The dialect definition for SQL Server. +/// The dialect definition for SQL Server. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlServerDialect { } -/// The dialect definition for Postgresql. +/// The dialect definition for Postgresql. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlDialect { } -/// The dialect definition for Presto. +/// The dialect definition for Presto. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrestoDialect { } -/// The dialect definition for MySQL. +/// The dialect definition for MySQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MySqlDialect { } -/// Represents a map of name mappings using a list of key:value proto messages of -/// existing name to desired output name. +/// Represents a map of name mappings using a list of key:value proto messages of +/// existing name to desired output name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectNameMappingList { - /// The elements of the object name map. + /// The elements of the object name map. #[prost(message, repeated, tag="1")] pub name_map: ::prost::alloc::vec::Vec, } -/// Represents a key-value pair of NameMappingKey to NameMappingValue to -/// represent the mapping of SQL names from the input value to desired output. +/// Represents a key-value pair of NameMappingKey to NameMappingValue to +/// represent the mapping of SQL names from the input value to desired output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectNameMapping { - /// The name of the object in source that is being mapped. + /// The name of the object in source that is being mapped. #[prost(message, optional, tag="1")] pub source: ::core::option::Option, - /// The desired target name of the object that is being mapped. + /// The desired target name of the object that is being mapped. #[prost(message, optional, tag="2")] pub target: ::core::option::Option, } -/// The potential components of a full name mapping that will be mapped -/// during translation in the source data warehouse. +/// The potential components of a full name mapping that will be mapped +/// during translation in the source data warehouse. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NameMappingKey { - /// The type of object that is being mapped. + /// The type of object that is being mapped. #[prost(enumeration="name_mapping_key::Type", tag="1")] pub r#type: i32, - /// The database name (BigQuery project ID equivalent in the source data - /// warehouse). + /// The database name (BigQuery project ID equivalent in the source data + /// warehouse). #[prost(string, tag="2")] pub database: ::prost::alloc::string::String, - /// The schema name (BigQuery dataset equivalent in the source data warehouse). + /// The schema name (BigQuery dataset equivalent in the source data warehouse). #[prost(string, tag="3")] pub schema: ::prost::alloc::string::String, - /// The relation name (BigQuery table or view equivalent in the source data - /// warehouse). + /// The relation name (BigQuery table or view equivalent in the source data + /// warehouse). #[prost(string, tag="4")] pub relation: ::prost::alloc::string::String, - /// The attribute name (BigQuery column equivalent in the source data - /// warehouse). + /// The attribute name (BigQuery column equivalent in the source data + /// warehouse). #[prost(string, tag="5")] pub attribute: ::prost::alloc::string::String, } /// Nested message and enum types in `NameMappingKey`. pub mod name_mapping_key { - /// The type of the object that is being mapped. + /// The type of the object that is being mapped. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified name mapping type. + /// Unspecified name mapping type. Unspecified = 0, - /// The object being mapped is a database. + /// The object being mapped is a database. Database = 1, - /// The object being mapped is a schema. + /// The object being mapped is a schema. Schema = 2, - /// The object being mapped is a relation. + /// The object being mapped is a relation. Relation = 3, - /// The object being mapped is an attribute. + /// The object being mapped is an attribute. Attribute = 4, - /// The object being mapped is a relation alias. + /// The object being mapped is a relation alias. RelationAlias = 5, - /// The object being mapped is a an attribute alias. + /// The object being mapped is a an attribute alias. AttributeAlias = 6, - /// The object being mapped is a function. + /// The object being mapped is a function. Function = 7, } impl Type { @@ -404,86 +404,86 @@ pub mod name_mapping_key { } } } -/// The potential components of a full name mapping that will be mapped -/// during translation in the target data warehouse. +/// The potential components of a full name mapping that will be mapped +/// during translation in the target data warehouse. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NameMappingValue { - /// The database name (BigQuery project ID equivalent in the target data - /// warehouse). + /// The database name (BigQuery project ID equivalent in the target data + /// warehouse). #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// The schema name (BigQuery dataset equivalent in the target data warehouse). + /// The schema name (BigQuery dataset equivalent in the target data warehouse). #[prost(string, tag="2")] pub schema: ::prost::alloc::string::String, - /// The relation name (BigQuery table or view equivalent in the target data - /// warehouse). + /// The relation name (BigQuery table or view equivalent in the target data + /// warehouse). #[prost(string, tag="3")] pub relation: ::prost::alloc::string::String, - /// The attribute name (BigQuery column equivalent in the target data - /// warehouse). + /// The attribute name (BigQuery column equivalent in the target data + /// warehouse). #[prost(string, tag="4")] pub attribute: ::prost::alloc::string::String, } -/// Represents the default source environment values for the translation. +/// Represents the default source environment values for the translation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceEnv { - /// The default database name to fully qualify SQL objects when their database - /// name is missing. + /// The default database name to fully qualify SQL objects when their database + /// name is missing. #[prost(string, tag="1")] pub default_database: ::prost::alloc::string::String, - /// The schema search path. When SQL objects are missing schema name, - /// translation engine will search through this list to find the value. + /// The schema search path. When SQL objects are missing schema name, + /// translation engine will search through this list to find the value. #[prost(string, repeated, tag="2")] pub schema_search_path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A migration workflow which specifies what needs to be done for an EDW -/// migration. +/// A migration workflow which specifies what needs to be done for an EDW +/// migration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationWorkflow { - /// Output only. Immutable. The unique identifier for the migration workflow. - /// The ID is server-generated. + /// Output only. Immutable. The unique identifier for the migration workflow. + /// The ID is server-generated. /// - /// Example: `projects/123/locations/us/workflows/345` + /// Example: `projects/123/locations/us/workflows/345` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the workflow. This can be set to give a workflow - /// a descriptive name. There is no guarantee or enforcement of uniqueness. + /// The display name of the workflow. This can be set to give a workflow + /// a descriptive name. There is no guarantee or enforcement of uniqueness. #[prost(string, tag="6")] pub display_name: ::prost::alloc::string::String, - /// The tasks in a workflow in a named map. The name (i.e. key) has no - /// meaning and is merely a convenient way to address a specific task - /// in a workflow. + /// The tasks in a workflow in a named map. The name (i.e. key) has no + /// meaning and is merely a convenient way to address a specific task + /// in a workflow. #[prost(map="string, message", tag="2")] pub tasks: ::std::collections::HashMap<::prost::alloc::string::String, MigrationTask>, - /// Output only. That status of the workflow. + /// Output only. That status of the workflow. #[prost(enumeration="migration_workflow::State", tag="3")] pub state: i32, - /// Time when the workflow was created. + /// Time when the workflow was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the workflow was last updated. + /// Time when the workflow was last updated. #[prost(message, optional, tag="5")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `MigrationWorkflow`. pub mod migration_workflow { - /// Possible migration workflow states. + /// Possible migration workflow states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Workflow state is unspecified. + /// Workflow state is unspecified. Unspecified = 0, - /// Workflow is in draft status, i.e. tasks are not yet eligible for - /// execution. + /// Workflow is in draft status, i.e. tasks are not yet eligible for + /// execution. Draft = 1, - /// Workflow is running (i.e. tasks are eligible for execution). + /// Workflow is running (i.e. tasks are eligible for execution). Running = 2, - /// Workflow is paused. Tasks currently in progress may continue, but no - /// further tasks will be scheduled. + /// Workflow is paused. Tasks currently in progress may continue, but no + /// further tasks will be scheduled. Paused = 3, - /// Workflow is complete. There should not be any task in a non-terminal - /// state, but if they are (e.g. forced termination), they will not be - /// scheduled. + /// Workflow is complete. There should not be any task in a non-terminal + /// state, but if they are (e.g. forced termination), they will not be + /// scheduled. Completed = 4, } impl State { @@ -502,59 +502,59 @@ pub mod migration_workflow { } } } -/// A single task for a migration which has details about the configuration of -/// the task. +/// A single task for a migration which has details about the configuration of +/// the task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationTask { - /// Output only. Immutable. The unique identifier for the migration task. The - /// ID is server-generated. + /// Output only. Immutable. The unique identifier for the migration task. The + /// ID is server-generated. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The type of the task. This must be one of the supported task types: - /// Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, - /// Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, - /// Translation_Snowflake2BQ, Translation_Netezza2BQ, - /// Translation_AzureSynapse2BQ, Translation_Vertica2BQ, - /// Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ. + /// The type of the task. This must be one of the supported task types: + /// Translation_Teradata2BQ, Translation_Redshift2BQ, Translation_Bteq2BQ, + /// Translation_Oracle2BQ, Translation_HiveQL2BQ, Translation_SparkSQL2BQ, + /// Translation_Snowflake2BQ, Translation_Netezza2BQ, + /// Translation_AzureSynapse2BQ, Translation_Vertica2BQ, + /// Translation_SQLServer2BQ, Translation_Presto2BQ, Translation_MySQL2BQ. #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// Output only. The current state of the task. + /// Output only. The current state of the task. #[prost(enumeration="migration_task::State", tag="4")] pub state: i32, - /// Output only. An explanation that may be populated when the task is in - /// FAILED state. + /// Output only. An explanation that may be populated when the task is in + /// FAILED state. #[prost(message, optional, tag="5")] pub processing_error: ::core::option::Option, - /// Time when the task was created. + /// Time when the task was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the task was last updated. + /// Time when the task was last updated. #[prost(message, optional, tag="7")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The details of the task. + /// The details of the task. #[prost(oneof="migration_task::TaskDetails", tags="14")] pub task_details: ::core::option::Option, } /// Nested message and enum types in `MigrationTask`. pub mod migration_task { - /// Possible states of a migration task. + /// Possible states of a migration task. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state is unspecified. + /// The state is unspecified. Unspecified = 0, - /// The task is waiting for orchestration. + /// The task is waiting for orchestration. Pending = 1, - /// The task is assigned to an orchestrator. + /// The task is assigned to an orchestrator. Orchestrating = 2, - /// The task is running, i.e. its subtasks are ready for execution. + /// The task is running, i.e. its subtasks are ready for execution. Running = 3, - /// Tha task is paused. Assigned subtasks can continue, but no new subtasks - /// will be scheduled. + /// Tha task is paused. Assigned subtasks can continue, but no new subtasks + /// will be scheduled. Paused = 4, - /// The task finished successfully. + /// The task finished successfully. Succeeded = 5, - /// The task finished unsuccessfully. + /// The task finished unsuccessfully. Failed = 6, } impl State { @@ -574,80 +574,80 @@ pub mod migration_task { } } } - /// The details of the task. + /// The details of the task. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TaskDetails { - /// Task configuration for Batch SQL Translation. + /// Task configuration for Batch SQL Translation. #[prost(message, tag="14")] TranslationConfigDetails(super::TranslationConfigDetails), } } -/// A subtask for a migration which carries details about the configuration of -/// the subtask. The content of the details should not matter to the end user, -/// but is a contract between the subtask creator and subtask worker. +/// A subtask for a migration which carries details about the configuration of +/// the subtask. The content of the details should not matter to the end user, +/// but is a contract between the subtask creator and subtask worker. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationSubtask { - /// Output only. Immutable. The resource name for the migration subtask. The ID - /// is server-generated. + /// Output only. Immutable. The resource name for the migration subtask. The ID + /// is server-generated. /// - /// Example: `projects/123/locations/us/workflows/345/subtasks/678` + /// Example: `projects/123/locations/us/workflows/345/subtasks/678` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The unique ID of the task to which this subtask belongs. + /// The unique ID of the task to which this subtask belongs. #[prost(string, tag="2")] pub task_id: ::prost::alloc::string::String, - /// The type of the Subtask. The migration service does not check whether this - /// is a known type. It is up to the task creator (i.e. orchestrator or worker) - /// to ensure it only creates subtasks for which there are compatible workers - /// polling for Subtasks. + /// The type of the Subtask. The migration service does not check whether this + /// is a known type. It is up to the task creator (i.e. orchestrator or worker) + /// to ensure it only creates subtasks for which there are compatible workers + /// polling for Subtasks. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, - /// Output only. The current state of the subtask. + /// Output only. The current state of the subtask. #[prost(enumeration="migration_subtask::State", tag="5")] pub state: i32, - /// Output only. An explanation that may be populated when the task is in - /// FAILED state. + /// Output only. An explanation that may be populated when the task is in + /// FAILED state. #[prost(message, optional, tag="6")] pub processing_error: ::core::option::Option, - /// Output only. Provides details to errors and issues encountered while - /// processing the subtask. Presence of error details does not mean that the - /// subtask failed. + /// Output only. Provides details to errors and issues encountered while + /// processing the subtask. Presence of error details does not mean that the + /// subtask failed. #[prost(message, repeated, tag="12")] pub resource_error_details: ::prost::alloc::vec::Vec, - /// The number or resources with errors. Note: This is not the total - /// number of errors as each resource can have more than one error. - /// This is used to indicate truncation by having a `resource_error_count` - /// that is higher than the size of `resource_error_details`. + /// The number or resources with errors. Note: This is not the total + /// number of errors as each resource can have more than one error. + /// This is used to indicate truncation by having a `resource_error_count` + /// that is higher than the size of `resource_error_details`. #[prost(int32, tag="13")] pub resource_error_count: i32, - /// Time when the subtask was created. + /// Time when the subtask was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the subtask was last updated. + /// Time when the subtask was last updated. #[prost(message, optional, tag="8")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The metrics for the subtask. + /// The metrics for the subtask. #[prost(message, repeated, tag="11")] pub metrics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MigrationSubtask`. pub mod migration_subtask { - /// Possible states of a migration subtask. + /// Possible states of a migration subtask. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state is unspecified. + /// The state is unspecified. Unspecified = 0, - /// The subtask is ready, i.e. it is ready for execution. + /// The subtask is ready, i.e. it is ready for execution. Active = 1, - /// The subtask is running, i.e. it is assigned to a worker for execution. + /// The subtask is running, i.e. it is assigned to a worker for execution. Running = 2, - /// The subtask finished successfully. + /// The subtask finished successfully. Succeeded = 3, - /// The subtask finished unsuccessfully. + /// The subtask finished unsuccessfully. Failed = 4, - /// The subtask is paused, i.e., it will not be scheduled. If it was already - /// assigned,it might still finish but no new lease renewals will be granted. + /// The subtask is paused, i.e., it will not be scheduled. If it was already + /// assigned,it might still finish but no new lease renewals will be granted. Paused = 5, } impl State { @@ -667,123 +667,123 @@ pub mod migration_subtask { } } } -/// Request to create a migration workflow resource. +/// Request to create a migration workflow resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMigrationWorkflowRequest { - /// Required. The name of the project to which this migration workflow belongs. - /// Example: `projects/foo/locations/bar` + /// Required. The name of the project to which this migration workflow belongs. + /// Example: `projects/foo/locations/bar` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The migration workflow to create. + /// Required. The migration workflow to create. #[prost(message, optional, tag="2")] pub migration_workflow: ::core::option::Option, } -/// A request to get a previously created migration workflow. +/// A request to get a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The list of fields to be retrieved. + /// The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A request to list previously created migration workflows. +/// A request to list previously created migration workflows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationWorkflowsRequest { - /// Required. The project and location of the migration workflows to list. - /// Example: `projects/123/locations/us` + /// Required. The project and location of the migration workflows to list. + /// Example: `projects/123/locations/us` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The list of fields to be retrieved. + /// The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The maximum number of migration workflows to return. The service may return - /// fewer than this number. + /// The maximum number of migration workflows to return. The service may return + /// fewer than this number. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from previous `ListMigrationWorkflows` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from previous `ListMigrationWorkflows` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListMigrationWorkflows` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListMigrationWorkflows` + /// must match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response object for a `ListMigrationWorkflows` call. +/// Response object for a `ListMigrationWorkflows` call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationWorkflowsResponse { - /// The migration workflows for the specified project / location. + /// The migration workflows for the specified project / location. #[prost(message, repeated, tag="1")] pub migration_workflows: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to delete a previously created migration workflow. +/// A request to delete a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to start a previously created migration workflow. +/// A request to start a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to get a previously created migration subtasks. +/// A request to get a previously created migration subtasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMigrationSubtaskRequest { - /// Required. The unique identifier for the migration subtask. - /// Example: `projects/123/locations/us/workflows/1234/subtasks/543` + /// Required. The unique identifier for the migration subtask. + /// Example: `projects/123/locations/us/workflows/1234/subtasks/543` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The list of fields to be retrieved. + /// Optional. The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A request to list previously created migration subtasks. +/// A request to list previously created migration subtasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationSubtasksRequest { - /// Required. The migration task of the subtasks to list. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The migration task of the subtasks to list. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The list of fields to be retrieved. + /// Optional. The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional. The maximum number of migration tasks to return. The service may return - /// fewer than this number. + /// Optional. The maximum number of migration tasks to return. The service may return + /// fewer than this number. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A page token, received from previous `ListMigrationSubtasks` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from previous `ListMigrationSubtasks` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListMigrationSubtasks` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListMigrationSubtasks` + /// must match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. The filter to apply. This can be used to get the subtasks of a specific - /// tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the - /// task ID (not the name in the named map). + /// Optional. The filter to apply. This can be used to get the subtasks of a specific + /// tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the + /// task ID (not the name in the named map). #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// Response object for a `ListMigrationSubtasks` call. +/// Response object for a `ListMigrationSubtasks` call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationSubtasksResponse { - /// The migration subtasks for the specified task. + /// The migration subtasks for the specified task. #[prost(message, repeated, tag="1")] pub migration_subtasks: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2alpha.rs b/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2alpha.rs index 53c92b77a..916cc6ed8 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2alpha.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.migration.v2alpha.rs @@ -1,232 +1,232 @@ -/// Assessment task config. +/// Assessment task config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssessmentTaskDetails { - /// Required. The Cloud Storage path for assessment input files. + /// Required. The Cloud Storage path for assessment input files. #[prost(string, tag="1")] pub input_path: ::prost::alloc::string::String, - /// Required. The BigQuery dataset for output. + /// Required. The BigQuery dataset for output. #[prost(string, tag="2")] pub output_dataset: ::prost::alloc::string::String, - /// Optional. An optional Cloud Storage path to write the query logs (which is - /// then used as an input path on the translation task) + /// Optional. An optional Cloud Storage path to write the query logs (which is + /// then used as an input path on the translation task) #[prost(string, tag="3")] pub querylogs_path: ::prost::alloc::string::String, - /// Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) - /// from which the input data is extracted. + /// Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT) + /// from which the input data is extracted. #[prost(string, tag="4")] pub data_source: ::prost::alloc::string::String, } -/// Details for an assessment task orchestration result. +/// Details for an assessment task orchestration result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssessmentOrchestrationResultDetails { - /// Optional. The version used for the output table schemas. + /// Optional. The version used for the output table schemas. #[prost(string, tag="1")] pub output_tables_schema_version: ::prost::alloc::string::String, } -/// Provides details for errors and the corresponding resources. +/// Provides details for errors and the corresponding resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceErrorDetail { - /// Required. Information about the resource where the error is located. + /// Required. Information about the resource where the error is located. #[prost(message, optional, tag="1")] pub resource_info: ::core::option::Option, - /// Required. The error details for the resource. + /// Required. The error details for the resource. #[prost(message, repeated, tag="2")] pub error_details: ::prost::alloc::vec::Vec, - /// Required. How many errors there are in total for the resource. Truncation can be - /// indicated by having an `error_count` that is higher than the size of - /// `error_details`. + /// Required. How many errors there are in total for the resource. Truncation can be + /// indicated by having an `error_count` that is higher than the size of + /// `error_details`. #[prost(int32, tag="3")] pub error_count: i32, } -/// Provides details for errors, e.g. issues that where encountered when -/// processing a subtask. +/// Provides details for errors, e.g. issues that where encountered when +/// processing a subtask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorDetail { - /// Optional. The exact location within the resource (if applicable). + /// Optional. The exact location within the resource (if applicable). #[prost(message, optional, tag="1")] pub location: ::core::option::Option, - /// Required. Describes the cause of the error with structured detail. + /// Required. Describes the cause of the error with structured detail. #[prost(message, optional, tag="2")] pub error_info: ::core::option::Option, } -/// Holds information about where the error is located. +/// Holds information about where the error is located. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorLocation { - /// Optional. If applicable, denotes the line where the error occurred. A zero value - /// means that there is no line information. + /// Optional. If applicable, denotes the line where the error occurred. A zero value + /// means that there is no line information. #[prost(int32, tag="1")] pub line: i32, - /// Optional. If applicable, denotes the column where the error occurred. A zero value - /// means that there is no columns information. + /// Optional. If applicable, denotes the column where the error occurred. A zero value + /// means that there is no columns information. #[prost(int32, tag="2")] pub column: i32, } -/// The metrics object for a SubTask. +/// The metrics object for a SubTask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeSeries { - /// Required. The name of the metric. + /// Required. The name of the metric. /// - /// If the metric is not known by the service yet, it will be auto-created. + /// If the metric is not known by the service yet, it will be auto-created. #[prost(string, tag="1")] pub metric: ::prost::alloc::string::String, - /// Required. The value type of the time series. + /// Required. The value type of the time series. #[prost(enumeration="super::super::super::super::api::metric_descriptor::ValueType", tag="2")] pub value_type: i32, - /// Optional. The metric kind of the time series. + /// Optional. The metric kind of the time series. /// - /// If present, it must be the same as the metric kind of the associated - /// metric. If the associated metric's descriptor must be auto-created, then - /// this field specifies the metric kind of the new descriptor and must be - /// either `GAUGE` (the default) or `CUMULATIVE`. + /// If present, it must be the same as the metric kind of the associated + /// metric. If the associated metric's descriptor must be auto-created, then + /// this field specifies the metric kind of the new descriptor and must be + /// either `GAUGE` (the default) or `CUMULATIVE`. #[prost(enumeration="super::super::super::super::api::metric_descriptor::MetricKind", tag="3")] pub metric_kind: i32, - /// Required. The data points of this time series. When listing time series, points are - /// returned in reverse time order. + /// Required. The data points of this time series. When listing time series, points are + /// returned in reverse time order. /// - /// When creating a time series, this field must contain exactly one point and - /// the point's type must be the same as the value type of the associated - /// metric. If the associated metric's descriptor must be auto-created, then - /// the value type of the descriptor is determined by the point's type, which - /// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. + /// When creating a time series, this field must contain exactly one point and + /// the point's type must be the same as the value type of the associated + /// metric. If the associated metric's descriptor must be auto-created, then + /// the value type of the descriptor is determined by the point's type, which + /// must be `BOOL`, `INT64`, `DOUBLE`, or `DISTRIBUTION`. #[prost(message, repeated, tag="4")] pub points: ::prost::alloc::vec::Vec, } -/// A single data point in a time series. +/// A single data point in a time series. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Point { - /// The time interval to which the data point applies. For `GAUGE` metrics, - /// the start time does not need to be supplied, but if it is supplied, it must - /// equal the end time. For `DELTA` metrics, the start and end time should - /// specify a non-zero interval, with subsequent points specifying contiguous - /// and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end - /// time should specify a non-zero interval, with subsequent points specifying - /// the same start time and increasing end times, until an event resets the - /// cumulative value to zero and sets a new start time for the following - /// points. + /// The time interval to which the data point applies. For `GAUGE` metrics, + /// the start time does not need to be supplied, but if it is supplied, it must + /// equal the end time. For `DELTA` metrics, the start and end time should + /// specify a non-zero interval, with subsequent points specifying contiguous + /// and non-overlapping intervals. For `CUMULATIVE` metrics, the start and end + /// time should specify a non-zero interval, with subsequent points specifying + /// the same start time and increasing end times, until an event resets the + /// cumulative value to zero and sets a new start time for the following + /// points. #[prost(message, optional, tag="1")] pub interval: ::core::option::Option, - /// The value of the data point. + /// The value of the data point. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } -/// A time interval extending just after a start time through an end time. -/// If the start time is the same as the end time, then the interval -/// represents a single point in time. +/// A time interval extending just after a start time through an end time. +/// If the start time is the same as the end time, then the interval +/// represents a single point in time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeInterval { - /// Optional. The beginning of the time interval. The default value - /// for the start time is the end time. The start time must not be - /// later than the end time. + /// Optional. The beginning of the time interval. The default value + /// for the start time is the end time. The start time must not be + /// later than the end time. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The end of the time interval. + /// Required. The end of the time interval. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// A single strongly-typed value. +/// A single strongly-typed value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TypedValue { - /// The typed value field. + /// The typed value field. #[prost(oneof="typed_value::Value", tags="1, 2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `TypedValue`. pub mod typed_value { - /// The typed value field. + /// The typed value field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// A Boolean value: `true` or `false`. + /// A Boolean value: `true` or `false`. #[prost(bool, tag="1")] BoolValue(bool), - /// A 64-bit integer. Its range is approximately +/-9.2x10^18. + /// A 64-bit integer. Its range is approximately +/-9.2x10^18. #[prost(int64, tag="2")] Int64Value(i64), - /// A 64-bit double-precision floating-point number. Its magnitude - /// is approximately +/-10^(+/-300) and it has 16 significant digits of - /// precision. + /// A 64-bit double-precision floating-point number. Its magnitude + /// is approximately +/-10^(+/-300) and it has 16 significant digits of + /// precision. #[prost(double, tag="3")] DoubleValue(f64), - /// A variable-length string value. + /// A variable-length string value. #[prost(string, tag="4")] StringValue(::prost::alloc::string::String), - /// A distribution value. + /// A distribution value. #[prost(message, tag="5")] DistributionValue(super::super::super::super::super::api::Distribution), } } -/// Mapping between an input and output file to be translated in a subtask. +/// Mapping between an input and output file to be translated in a subtask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationFileMapping { - /// The Cloud Storage path for a file to translation in a subtask. + /// The Cloud Storage path for a file to translation in a subtask. #[prost(string, tag="1")] pub input_path: ::prost::alloc::string::String, - /// The Cloud Storage path to write back the corresponding input file to. + /// The Cloud Storage path to write back the corresponding input file to. #[prost(string, tag="2")] pub output_path: ::prost::alloc::string::String, } -/// The translation task config to capture necessary settings for a translation -/// task and subtask. +/// The translation task config to capture necessary settings for a translation +/// task and subtask. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslationTaskDetails { - /// The Cloud Storage path for translation input files. + /// The Cloud Storage path for translation input files. #[prost(string, tag="1")] pub input_path: ::prost::alloc::string::String, - /// The Cloud Storage path for translation output files. + /// The Cloud Storage path for translation output files. #[prost(string, tag="2")] pub output_path: ::prost::alloc::string::String, - /// Cloud Storage files to be processed for translation. + /// Cloud Storage files to be processed for translation. #[prost(message, repeated, tag="12")] pub file_paths: ::prost::alloc::vec::Vec, - /// The Cloud Storage path to DDL files as table schema to assist semantic - /// translation. + /// The Cloud Storage path to DDL files as table schema to assist semantic + /// translation. #[prost(string, tag="3")] pub schema_path: ::prost::alloc::string::String, - /// The file encoding type. + /// The file encoding type. #[prost(enumeration="translation_task_details::FileEncoding", tag="4")] pub file_encoding: i32, - /// The settings for SQL identifiers. + /// The settings for SQL identifiers. #[prost(message, optional, tag="5")] pub identifier_settings: ::core::option::Option, - /// The map capturing special tokens to be replaced during translation. The key - /// is special token in string. The value is the token data type. This is used - /// to translate SQL query template which contains special token as place - /// holder. The special token makes a query invalid to parse. This map will be - /// applied to annotate those special token with types to let parser understand - /// how to parse them into proper structure with type information. + /// The map capturing special tokens to be replaced during translation. The key + /// is special token in string. The value is the token data type. This is used + /// to translate SQL query template which contains special token as place + /// holder. The special token makes a query invalid to parse. This map will be + /// applied to annotate those special token with types to let parser understand + /// how to parse them into proper structure with type information. #[prost(map="string, enumeration(translation_task_details::TokenType)", tag="6")] pub special_token_map: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// The filter applied to translation details. + /// The filter applied to translation details. #[prost(message, optional, tag="7")] pub filter: ::core::option::Option, - /// Specifies the exact name of the bigquery table ("dataset.table") to be used - /// for surfacing raw translation errors. If the table does not exist, we will - /// create it. If it already exists and the schema is the same, we will re-use. - /// If the table exists and the schema is different, we will throw an error. + /// Specifies the exact name of the bigquery table ("dataset.table") to be used + /// for surfacing raw translation errors. If the table does not exist, we will + /// create it. If it already exists and the schema is the same, we will re-use. + /// If the table exists and the schema is different, we will throw an error. #[prost(string, tag="13")] pub translation_exception_table: ::prost::alloc::string::String, - /// The language specific settings for the translation task. + /// The language specific settings for the translation task. #[prost(oneof="translation_task_details::LanguageOptions", tags="10, 11")] pub language_options: ::core::option::Option, } /// Nested message and enum types in `TranslationTaskDetails`. pub mod translation_task_details { - /// The file encoding types. + /// The file encoding types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FileEncoding { - /// File encoding setting is not specified. + /// File encoding setting is not specified. Unspecified = 0, - /// File encoding is UTF_8. + /// File encoding is UTF_8. Utf8 = 1, - /// File encoding is ISO_8859_1. + /// File encoding is ISO_8859_1. Iso88591 = 2, - /// File encoding is US_ASCII. + /// File encoding is US_ASCII. UsAscii = 3, - /// File encoding is UTF_16. + /// File encoding is UTF_16. Utf16 = 4, - /// File encoding is UTF_16LE. + /// File encoding is UTF_16LE. Utf16le = 5, - /// File encoding is UTF_16BE. + /// File encoding is UTF_16BE. Utf16be = 6, } impl FileEncoding { @@ -246,25 +246,25 @@ pub mod translation_task_details { } } } - /// The special token data type. + /// The special token data type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TokenType { - /// Token type is not specified. + /// Token type is not specified. Unspecified = 0, - /// Token type as string. + /// Token type as string. String = 1, - /// Token type as integer. + /// Token type as integer. Int64 = 2, - /// Token type as numeric. + /// Token type as numeric. Numeric = 3, - /// Token type as boolean. + /// Token type as boolean. Bool = 4, - /// Token type as float. + /// Token type as float. Float64 = 5, - /// Token type as date. + /// Token type as date. Date = 6, - /// Token type as timestamp. + /// Token type as timestamp. Timestamp = 7, } impl TokenType { @@ -285,47 +285,47 @@ pub mod translation_task_details { } } } - /// The language specific settings for the translation task. + /// The language specific settings for the translation task. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LanguageOptions { - /// The Teradata SQL specific settings for the translation task. + /// The Teradata SQL specific settings for the translation task. #[prost(message, tag="10")] TeradataOptions(super::TeradataOptions), - /// The BTEQ specific settings for the translation task. + /// The BTEQ specific settings for the translation task. #[prost(message, tag="11")] BteqOptions(super::BteqOptions), } } -/// The filter applied to fields of translation details. +/// The filter applied to fields of translation details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Filter { - /// The list of prefixes used to exclude processing for input files. + /// The list of prefixes used to exclude processing for input files. #[prost(string, repeated, tag="1")] pub input_file_exclusion_prefixes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Settings related to SQL identifiers. +/// Settings related to SQL identifiers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentifierSettings { - /// The setting to control output queries' identifier case. + /// The setting to control output queries' identifier case. #[prost(enumeration="identifier_settings::IdentifierCase", tag="1")] pub output_identifier_case: i32, - /// Specifies the rewrite mode for SQL identifiers. + /// Specifies the rewrite mode for SQL identifiers. #[prost(enumeration="identifier_settings::IdentifierRewriteMode", tag="2")] pub identifier_rewrite_mode: i32, } /// Nested message and enum types in `IdentifierSettings`. pub mod identifier_settings { - /// The identifier case type. + /// The identifier case type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdentifierCase { - /// The identifier case is not specified. + /// The identifier case is not specified. Unspecified = 0, - /// Identifiers' cases will be kept as the original cases. + /// Identifiers' cases will be kept as the original cases. Original = 1, - /// Identifiers will be in upper cases. + /// Identifiers will be in upper cases. Upper = 2, - /// Identifiers will be in lower cases. + /// Identifiers will be in lower cases. Lower = 3, } impl IdentifierCase { @@ -342,15 +342,15 @@ pub mod identifier_settings { } } } - /// The SQL identifier rewrite mode. + /// The SQL identifier rewrite mode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IdentifierRewriteMode { - /// SQL Identifier rewrite mode is unspecified. + /// SQL Identifier rewrite mode is unspecified. Unspecified = 0, - /// SQL identifiers won't be rewrite. + /// SQL identifiers won't be rewrite. None = 1, - /// All SQL identifiers will be rewrite. + /// All SQL identifiers will be rewrite. RewriteAll = 2, } impl IdentifierRewriteMode { @@ -367,87 +367,87 @@ pub mod identifier_settings { } } } -/// Teradata SQL specific translation task related settings. +/// Teradata SQL specific translation task related settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TeradataOptions { } -/// BTEQ translation task related settings. +/// BTEQ translation task related settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BteqOptions { - /// Specifies the project and dataset in BigQuery that will be used for - /// external table creation during the translation. + /// Specifies the project and dataset in BigQuery that will be used for + /// external table creation during the translation. #[prost(message, optional, tag="1")] pub project_dataset: ::core::option::Option, - /// The Cloud Storage location to be used as the default path for files that - /// are not otherwise specified in the file replacement map. + /// The Cloud Storage location to be used as the default path for files that + /// are not otherwise specified in the file replacement map. #[prost(string, tag="2")] pub default_path_uri: ::prost::alloc::string::String, - /// Maps the local paths that are used in BTEQ scripts (the keys) to the paths - /// in Cloud Storage that should be used in their stead in the translation (the - /// value). + /// Maps the local paths that are used in BTEQ scripts (the keys) to the paths + /// in Cloud Storage that should be used in their stead in the translation (the + /// value). #[prost(map="string, string", tag="3")] pub file_replacement_map: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Reference to a BigQuery dataset. +/// Reference to a BigQuery dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetReference { - /// A unique ID for this dataset, without the project name. The ID - /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). - /// The maximum length is 1,024 characters. + /// A unique ID for this dataset, without the project name. The ID + /// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_). + /// The maximum length is 1,024 characters. #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, - /// The ID of the project containing this dataset. + /// The ID of the project containing this dataset. #[prost(string, tag="2")] pub project_id: ::prost::alloc::string::String, } -/// A migration workflow which specifies what needs to be done for an EDW -/// migration. +/// A migration workflow which specifies what needs to be done for an EDW +/// migration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationWorkflow { - /// Output only. Immutable. The unique identifier for the migration workflow. The ID is - /// server-generated. + /// Output only. Immutable. The unique identifier for the migration workflow. The ID is + /// server-generated. /// - /// Example: `projects/123/locations/us/workflows/345` + /// Example: `projects/123/locations/us/workflows/345` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name of the workflow. This can be set to give a workflow - /// a descriptive name. There is no guarantee or enforcement of uniqueness. + /// The display name of the workflow. This can be set to give a workflow + /// a descriptive name. There is no guarantee or enforcement of uniqueness. #[prost(string, tag="6")] pub display_name: ::prost::alloc::string::String, - /// The tasks in a workflow in a named map. The name (i.e. key) has no - /// meaning and is merely a convenient way to address a specific task - /// in a workflow. + /// The tasks in a workflow in a named map. The name (i.e. key) has no + /// meaning and is merely a convenient way to address a specific task + /// in a workflow. #[prost(map="string, message", tag="2")] pub tasks: ::std::collections::HashMap<::prost::alloc::string::String, MigrationTask>, - /// Output only. That status of the workflow. + /// Output only. That status of the workflow. #[prost(enumeration="migration_workflow::State", tag="3")] pub state: i32, - /// Time when the workflow was created. + /// Time when the workflow was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the workflow was last updated. + /// Time when the workflow was last updated. #[prost(message, optional, tag="5")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `MigrationWorkflow`. pub mod migration_workflow { - /// Possible migration workflow states. + /// Possible migration workflow states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Workflow state is unspecified. + /// Workflow state is unspecified. Unspecified = 0, - /// Workflow is in draft status, i.e. tasks are not yet eligible for - /// execution. + /// Workflow is in draft status, i.e. tasks are not yet eligible for + /// execution. Draft = 1, - /// Workflow is running (i.e. tasks are eligible for execution). + /// Workflow is running (i.e. tasks are eligible for execution). Running = 2, - /// Workflow is paused. Tasks currently in progress may continue, but no - /// further tasks will be scheduled. + /// Workflow is paused. Tasks currently in progress may continue, but no + /// further tasks will be scheduled. Paused = 3, - /// Workflow is complete. There should not be any task in a non-terminal - /// state, but if they are (e.g. forced termination), they will not be - /// scheduled. + /// Workflow is complete. There should not be any task in a non-terminal + /// state, but if they are (e.g. forced termination), they will not be + /// scheduled. Completed = 4, } impl State { @@ -466,60 +466,60 @@ pub mod migration_workflow { } } } -/// A single task for a migration which has details about the configuration of -/// the task. +/// A single task for a migration which has details about the configuration of +/// the task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationTask { - /// Output only. Immutable. The unique identifier for the migration task. The ID is server-generated. + /// Output only. Immutable. The unique identifier for the migration task. The ID is server-generated. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The type of the task. This must be a supported task type. + /// The type of the task. This must be a supported task type. #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// DEPRECATED! Use one of the task_details below. - /// The details of the task. The type URL must be one of the supported task - /// details messages and correspond to the Task's type. + /// DEPRECATED! Use one of the task_details below. + /// The details of the task. The type URL must be one of the supported task + /// details messages and correspond to the Task's type. #[prost(message, optional, tag="3")] pub details: ::core::option::Option<::prost_types::Any>, - /// Output only. The current state of the task. + /// Output only. The current state of the task. #[prost(enumeration="migration_task::State", tag="4")] pub state: i32, - /// Output only. An explanation that may be populated when the task is in FAILED state. + /// Output only. An explanation that may be populated when the task is in FAILED state. #[prost(message, optional, tag="5")] pub processing_error: ::core::option::Option, - /// Time when the task was created. + /// Time when the task was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the task was last updated. + /// Time when the task was last updated. #[prost(message, optional, tag="7")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Additional information about the orchestration. + /// Output only. Additional information about the orchestration. #[prost(message, optional, tag="10")] pub orchestration_result: ::core::option::Option, - /// The details of the task. + /// The details of the task. #[prost(oneof="migration_task::TaskDetails", tags="12, 13")] pub task_details: ::core::option::Option, } /// Nested message and enum types in `MigrationTask`. pub mod migration_task { - /// Possible states of a migration task. + /// Possible states of a migration task. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state is unspecified. + /// The state is unspecified. Unspecified = 0, - /// The task is waiting for orchestration. + /// The task is waiting for orchestration. Pending = 1, - /// The task is assigned to an orchestrator. + /// The task is assigned to an orchestrator. Orchestrating = 2, - /// The task is running, i.e. its subtasks are ready for execution. + /// The task is running, i.e. its subtasks are ready for execution. Running = 3, - /// Tha task is paused. Assigned subtasks can continue, but no new subtasks - /// will be scheduled. + /// Tha task is paused. Assigned subtasks can continue, but no new subtasks + /// will be scheduled. Paused = 4, - /// The task finished successfully. + /// The task finished successfully. Succeeded = 5, - /// The task finished unsuccessfully. + /// The task finished unsuccessfully. Failed = 6, } impl State { @@ -539,81 +539,81 @@ pub mod migration_task { } } } - /// The details of the task. + /// The details of the task. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TaskDetails { - /// Task configuration for Assessment. + /// Task configuration for Assessment. #[prost(message, tag="12")] AssessmentTaskDetails(super::AssessmentTaskDetails), - /// Task configuration for Batch/Offline SQL Translation. + /// Task configuration for Batch/Offline SQL Translation. #[prost(message, tag="13")] TranslationTaskDetails(super::TranslationTaskDetails), } } -/// A subtask for a migration which carries details about the configuration of -/// the subtask. The content of the details should not matter to the end user, -/// but is a contract between the subtask creator and subtask worker. +/// A subtask for a migration which carries details about the configuration of +/// the subtask. The content of the details should not matter to the end user, +/// but is a contract between the subtask creator and subtask worker. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationSubtask { - /// Output only. Immutable. The resource name for the migration subtask. The ID is - /// server-generated. + /// Output only. Immutable. The resource name for the migration subtask. The ID is + /// server-generated. /// - /// Example: `projects/123/locations/us/workflows/345/subtasks/678` + /// Example: `projects/123/locations/us/workflows/345/subtasks/678` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The unique ID of the task to which this subtask belongs. + /// The unique ID of the task to which this subtask belongs. #[prost(string, tag="2")] pub task_id: ::prost::alloc::string::String, - /// The type of the Subtask. The migration service does not check whether this - /// is a known type. It is up to the task creator (i.e. orchestrator or worker) - /// to ensure it only creates subtasks for which there are compatible workers - /// polling for Subtasks. + /// The type of the Subtask. The migration service does not check whether this + /// is a known type. It is up to the task creator (i.e. orchestrator or worker) + /// to ensure it only creates subtasks for which there are compatible workers + /// polling for Subtasks. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, - /// Output only. The current state of the subtask. + /// Output only. The current state of the subtask. #[prost(enumeration="migration_subtask::State", tag="5")] pub state: i32, - /// Output only. An explanation that may be populated when the task is in FAILED state. + /// Output only. An explanation that may be populated when the task is in FAILED state. #[prost(message, optional, tag="6")] pub processing_error: ::core::option::Option, - /// Output only. Provides details to errors and issues encountered while processing the - /// subtask. Presence of error details does not mean that the subtask failed. + /// Output only. Provides details to errors and issues encountered while processing the + /// subtask. Presence of error details does not mean that the subtask failed. #[prost(message, repeated, tag="12")] pub resource_error_details: ::prost::alloc::vec::Vec, - /// The number or resources with errors. Note: This is not the total - /// number of errors as each resource can have more than one error. - /// This is used to indicate truncation by having a `resource_error_count` - /// that is higher than the size of `resource_error_details`. + /// The number or resources with errors. Note: This is not the total + /// number of errors as each resource can have more than one error. + /// This is used to indicate truncation by having a `resource_error_count` + /// that is higher than the size of `resource_error_details`. #[prost(int32, tag="13")] pub resource_error_count: i32, - /// Time when the subtask was created. + /// Time when the subtask was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Time when the subtask was last updated. + /// Time when the subtask was last updated. #[prost(message, optional, tag="8")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The metrics for the subtask. + /// The metrics for the subtask. #[prost(message, repeated, tag="11")] pub metrics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MigrationSubtask`. pub mod migration_subtask { - /// Possible states of a migration subtask. + /// Possible states of a migration subtask. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state is unspecified. + /// The state is unspecified. Unspecified = 0, - /// The subtask is ready, i.e. it is ready for execution. + /// The subtask is ready, i.e. it is ready for execution. Active = 1, - /// The subtask is running, i.e. it is assigned to a worker for execution. + /// The subtask is running, i.e. it is assigned to a worker for execution. Running = 2, - /// The subtask finished successfully. + /// The subtask finished successfully. Succeeded = 3, - /// The subtask finished unsuccessfully. + /// The subtask finished unsuccessfully. Failed = 4, - /// The subtask is paused, i.e., it will not be scheduled. If it was already - /// assigned,it might still finish but no new lease renewals will be granted. + /// The subtask is paused, i.e., it will not be scheduled. If it was already + /// assigned,it might still finish but no new lease renewals will be granted. Paused = 5, } impl State { @@ -633,141 +633,141 @@ pub mod migration_subtask { } } } -/// Additional information from the orchestrator when it is done with the -/// task orchestration. +/// Additional information from the orchestrator when it is done with the +/// task orchestration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationTaskOrchestrationResult { - /// Details specific to the task type. + /// Details specific to the task type. #[prost(oneof="migration_task_orchestration_result::Details", tags="1")] pub details: ::core::option::Option, } /// Nested message and enum types in `MigrationTaskOrchestrationResult`. pub mod migration_task_orchestration_result { - /// Details specific to the task type. + /// Details specific to the task type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details specific to assessment task types. + /// Details specific to assessment task types. #[prost(message, tag="1")] AssessmentDetails(super::AssessmentOrchestrationResultDetails), } } -/// Request to create a migration workflow resource. +/// Request to create a migration workflow resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMigrationWorkflowRequest { - /// Required. The name of the project to which this migration workflow belongs. - /// Example: `projects/foo/locations/bar` + /// Required. The name of the project to which this migration workflow belongs. + /// Example: `projects/foo/locations/bar` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The migration workflow to create. + /// Required. The migration workflow to create. #[prost(message, optional, tag="2")] pub migration_workflow: ::core::option::Option, } -/// A request to get a previously created migration workflow. +/// A request to get a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The list of fields to be retrieved. + /// The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A request to list previously created migration workflows. +/// A request to list previously created migration workflows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationWorkflowsRequest { - /// Required. The project and location of the migration workflows to list. - /// Example: `projects/123/locations/us` + /// Required. The project and location of the migration workflows to list. + /// Example: `projects/123/locations/us` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The list of fields to be retrieved. + /// The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The maximum number of migration workflows to return. The service may return - /// fewer than this number. + /// The maximum number of migration workflows to return. The service may return + /// fewer than this number. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from previous `ListMigrationWorkflows` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from previous `ListMigrationWorkflows` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListMigrationWorkflows` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListMigrationWorkflows` + /// must match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Response object for a `ListMigrationWorkflows` call. +/// Response object for a `ListMigrationWorkflows` call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationWorkflowsResponse { - /// The migration workflows for the specified project / location. + /// The migration workflows for the specified project / location. #[prost(message, repeated, tag="1")] pub migration_workflows: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to delete a previously created migration workflow. +/// A request to delete a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to start a previously created migration workflow. +/// A request to start a previously created migration workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartMigrationWorkflowRequest { - /// Required. The unique identifier for the migration workflow. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The unique identifier for the migration workflow. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to get a previously created migration subtasks. +/// A request to get a previously created migration subtasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMigrationSubtaskRequest { - /// Required. The unique identifier for the migration subtask. - /// Example: `projects/123/locations/us/workflows/1234/subtasks/543` + /// Required. The unique identifier for the migration subtask. + /// Example: `projects/123/locations/us/workflows/1234/subtasks/543` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The list of fields to be retrieved. + /// Optional. The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A request to list previously created migration subtasks. +/// A request to list previously created migration subtasks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationSubtasksRequest { - /// Required. The migration task of the subtasks to list. - /// Example: `projects/123/locations/us/workflows/1234` + /// Required. The migration task of the subtasks to list. + /// Example: `projects/123/locations/us/workflows/1234` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The list of fields to be retrieved. + /// Optional. The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional. The maximum number of migration tasks to return. The service may return - /// fewer than this number. + /// Optional. The maximum number of migration tasks to return. The service may return + /// fewer than this number. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A page token, received from previous `ListMigrationSubtasks` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from previous `ListMigrationSubtasks` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListMigrationSubtasks` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListMigrationSubtasks` + /// must match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. The filter to apply. This can be used to get the subtasks of a specific - /// tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the - /// task ID (not the name in the named map). + /// Optional. The filter to apply. This can be used to get the subtasks of a specific + /// tasks in a workflow, e.g. `migration_task = "ab012"` where `"ab012"` is the + /// task ID (not the name in the named map). #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// Response object for a `ListMigrationSubtasks` call. +/// Response object for a `ListMigrationSubtasks` call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationSubtasksResponse { - /// The migration subtasks for the specified task. + /// The migration subtasks for the specified task. #[prost(message, repeated, tag="1")] pub migration_subtasks: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -992,29 +992,29 @@ pub mod migration_service_client { } } } -/// The request of translating a SQL query to Standard SQL. +/// The request of translating a SQL query to Standard SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslateQueryRequest { - /// Required. The name of the project to which this translation request belongs. - /// Example: `projects/foo/locations/bar` + /// Required. The name of the project to which this translation request belongs. + /// Example: `projects/foo/locations/bar` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The source SQL dialect of `queries`. + /// Required. The source SQL dialect of `queries`. #[prost(enumeration="translate_query_request::SqlTranslationSourceDialect", tag="2")] pub source_dialect: i32, - /// Required. The query to be translated. + /// Required. The query to be translated. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, } /// Nested message and enum types in `TranslateQueryRequest`. pub mod translate_query_request { - /// Supported SQL translation source dialects. + /// Supported SQL translation source dialects. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SqlTranslationSourceDialect { - /// SqlTranslationSourceDialect not specified. + /// SqlTranslationSourceDialect not specified. Unspecified = 0, - /// Teradata SQL. + /// Teradata SQL. Teradata = 1, } impl SqlTranslationSourceDialect { @@ -1030,61 +1030,61 @@ pub mod translate_query_request { } } } -/// The response of translating a SQL query to Standard SQL. +/// The response of translating a SQL query to Standard SQL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranslateQueryResponse { - /// Output only. Immutable. The unique identifier for the SQL translation job. - /// Example: `projects/123/locations/us/translation/1234` + /// Output only. Immutable. The unique identifier for the SQL translation job. + /// Example: `projects/123/locations/us/translation/1234` #[prost(string, tag="4")] pub translation_job: ::prost::alloc::string::String, - /// The translated result. This will be empty if the translation fails. + /// The translated result. This will be empty if the translation fails. #[prost(string, tag="1")] pub translated_query: ::prost::alloc::string::String, - /// The list of errors encountered during the translation, if present. + /// The list of errors encountered during the translation, if present. #[prost(message, repeated, tag="2")] pub errors: ::prost::alloc::vec::Vec, - /// The list of warnings encountered during the translation, if present, - /// indicates non-semantically correct translation. + /// The list of warnings encountered during the translation, if present, + /// indicates non-semantically correct translation. #[prost(message, repeated, tag="3")] pub warnings: ::prost::alloc::vec::Vec, } -/// Structured error object capturing the error message and the location in the -/// source text where the error occurs. +/// Structured error object capturing the error message and the location in the +/// source text where the error occurs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlTranslationErrorDetail { - /// Specifies the row from the source text where the error occurred. + /// Specifies the row from the source text where the error occurred. #[prost(int64, tag="1")] pub row: i64, - /// Specifie the column from the source texts where the error occurred. + /// Specifie the column from the source texts where the error occurred. #[prost(int64, tag="2")] pub column: i64, - /// A human-readable description of the error. + /// A human-readable description of the error. #[prost(string, tag="3")] pub message: ::prost::alloc::string::String, } -/// The detailed error object if the SQL translation job fails. +/// The detailed error object if the SQL translation job fails. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlTranslationError { - /// The type of SQL translation error. + /// The type of SQL translation error. #[prost(enumeration="sql_translation_error::SqlTranslationErrorType", tag="1")] pub error_type: i32, - /// Specifies the details of the error, including the error message and - /// location from the source text. + /// Specifies the details of the error, including the error message and + /// location from the source text. #[prost(message, optional, tag="2")] pub error_detail: ::core::option::Option, } /// Nested message and enum types in `SqlTranslationError`. pub mod sql_translation_error { - /// The error type of the SQL translation job. + /// The error type of the SQL translation job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SqlTranslationErrorType { - /// SqlTranslationErrorType not specified. + /// SqlTranslationErrorType not specified. Unspecified = 0, - /// Failed to parse the input text as a SQL query. + /// Failed to parse the input text as a SQL query. SqlParseError = 1, - /// Found unsupported functions in the input SQL query that are not able to - /// translate. + /// Found unsupported functions in the input SQL query that are not able to + /// translate. UnsupportedSqlFunction = 2, } impl SqlTranslationErrorType { @@ -1101,12 +1101,12 @@ pub mod sql_translation_error { } } } -/// The detailed warning object if the SQL translation job is completed but not -/// semantically correct. +/// The detailed warning object if the SQL translation job is completed but not +/// semantically correct. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlTranslationWarning { - /// Specifies the details of the warning, including the warning message and - /// location from the source text. + /// Specifies the details of the warning, including the warning message and + /// location from the source text. #[prost(message, optional, tag="1")] pub warning_detail: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1.rs index 8639395b2..c3b5dfdc6 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1.rs @@ -1,136 +1,136 @@ -/// A reservation is a mechanism used to guarantee slots to users. +/// A reservation is a mechanism used to guarantee slots to users. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Reservation { - /// The resource name of the reservation, e.g., - /// `projects/*/locations/*/reservations/team1-prod`. - /// The reservation_id must only contain lower case alphanumeric characters or - /// dashes. It must start with a letter and must not end with a dash. Its - /// maximum length is 64 characters. + /// The resource name of the reservation, e.g., + /// `projects/*/locations/*/reservations/team1-prod`. + /// The reservation_id must only contain lower case alphanumeric characters or + /// dashes. It must start with a letter and must not end with a dash. Its + /// maximum length is 64 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Minimum slots available to this reservation. A slot is a unit of - /// computational power in BigQuery, and serves as the unit of parallelism. + /// Minimum slots available to this reservation. A slot is a unit of + /// computational power in BigQuery, and serves as the unit of parallelism. /// - /// Queries using this reservation might use more slots during runtime if - /// ignore_idle_slots is set to false. + /// Queries using this reservation might use more slots during runtime if + /// ignore_idle_slots is set to false. /// - /// If the new reservation's slot capacity exceeds the project's slot capacity - /// or if total slot capacity of the new reservation and its siblings exceeds - /// the project's slot capacity, the request will fail with - /// `google.rpc.Code.RESOURCE_EXHAUSTED`. + /// If the new reservation's slot capacity exceeds the project's slot capacity + /// or if total slot capacity of the new reservation and its siblings exceeds + /// the project's slot capacity, the request will fail with + /// `google.rpc.Code.RESOURCE_EXHAUSTED`. /// - /// NOTE: for reservations in US or EU multi-regions, slot capacity constraints - /// are checked separately for default and auxiliary regions. See - /// multi_region_auxiliary flag for more details. + /// NOTE: for reservations in US or EU multi-regions, slot capacity constraints + /// are checked separately for default and auxiliary regions. See + /// multi_region_auxiliary flag for more details. #[prost(int64, tag="2")] pub slot_capacity: i64, - /// If false, any query or pipeline job using this reservation will use idle - /// slots from other reservations within the same admin project. If true, a - /// query or pipeline job using this reservation will execute with the slot - /// capacity specified in the slot_capacity field at most. + /// If false, any query or pipeline job using this reservation will use idle + /// slots from other reservations within the same admin project. If true, a + /// query or pipeline job using this reservation will execute with the slot + /// capacity specified in the slot_capacity field at most. #[prost(bool, tag="4")] pub ignore_idle_slots: bool, - /// Maximum number of queries that are allowed to run concurrently in this - /// reservation. This is a soft limit due to asynchronous nature of the system - /// and various optimizations for small queries. - /// Default value is 0 which means that concurrency will be automatically set - /// based on the reservation size. + /// Maximum number of queries that are allowed to run concurrently in this + /// reservation. This is a soft limit due to asynchronous nature of the system + /// and various optimizations for small queries. + /// Default value is 0 which means that concurrency will be automatically set + /// based on the reservation size. #[prost(int64, tag="16")] pub concurrency: i64, - /// Output only. Creation time of the reservation. + /// Output only. Creation time of the reservation. #[prost(message, optional, tag="8")] pub creation_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update time of the reservation. + /// Output only. Last update time of the reservation. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Applicable only for reservations located within one of the BigQuery - /// multi-regions (US or EU). + /// Applicable only for reservations located within one of the BigQuery + /// multi-regions (US or EU). /// - /// If set to true, this reservation is placed in the organization's - /// secondary region which is designated for disaster recovery purposes. - /// If false, this reservation is placed in the organization's default region. + /// If set to true, this reservation is placed in the organization's + /// secondary region which is designated for disaster recovery purposes. + /// If false, this reservation is placed in the organization's default region. #[prost(bool, tag="14")] pub multi_region_auxiliary: bool, } -/// Capacity commitment is a way to purchase compute capacity for BigQuery jobs -/// (in the form of slots) with some committed period of usage. Annual -/// commitments renew by default. Commitments can be removed after their -/// commitment end time passes. +/// Capacity commitment is a way to purchase compute capacity for BigQuery jobs +/// (in the form of slots) with some committed period of usage. Annual +/// commitments renew by default. Commitments can be removed after their +/// commitment end time passes. /// -/// In order to remove annual commitment, its plan needs to be changed -/// to monthly or flex first. +/// In order to remove annual commitment, its plan needs to be changed +/// to monthly or flex first. /// -/// A capacity commitment resource exists as a child resource of the admin -/// project. +/// A capacity commitment resource exists as a child resource of the admin +/// project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CapacityCommitment { - /// Output only. The resource name of the capacity commitment, e.g., - /// `projects/myproject/locations/US/capacityCommitments/123` - /// The commitment_id must only contain lower case alphanumeric characters or - /// dashes. It must start with a letter and must not end - /// with a dash. Its maximum length is 64 characters. + /// Output only. The resource name of the capacity commitment, e.g., + /// `projects/myproject/locations/US/capacityCommitments/123` + /// The commitment_id must only contain lower case alphanumeric characters or + /// dashes. It must start with a letter and must not end + /// with a dash. Its maximum length is 64 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Number of slots in this commitment. + /// Number of slots in this commitment. #[prost(int64, tag="2")] pub slot_count: i64, - /// Capacity commitment commitment plan. + /// Capacity commitment commitment plan. #[prost(enumeration="capacity_commitment::CommitmentPlan", tag="3")] pub plan: i32, - /// Output only. State of the commitment. + /// Output only. State of the commitment. #[prost(enumeration="capacity_commitment::State", tag="4")] pub state: i32, - /// Output only. The start of the current commitment period. It is applicable only for - /// ACTIVE capacity commitments. + /// Output only. The start of the current commitment period. It is applicable only for + /// ACTIVE capacity commitments. #[prost(message, optional, tag="9")] pub commitment_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The end of the current commitment period. It is applicable only for ACTIVE - /// capacity commitments. + /// Output only. The end of the current commitment period. It is applicable only for ACTIVE + /// capacity commitments. #[prost(message, optional, tag="5")] pub commitment_end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. For FAILED commitment plan, provides the reason of failure. + /// Output only. For FAILED commitment plan, provides the reason of failure. #[prost(message, optional, tag="7")] pub failure_status: ::core::option::Option, - /// The plan this capacity commitment is converted to after commitment_end_time - /// passes. Once the plan is changed, committed period is extended according to - /// commitment plan. Only applicable for ANNUAL and TRIAL commitments. + /// The plan this capacity commitment is converted to after commitment_end_time + /// passes. Once the plan is changed, committed period is extended according to + /// commitment plan. Only applicable for ANNUAL and TRIAL commitments. #[prost(enumeration="capacity_commitment::CommitmentPlan", tag="8")] pub renewal_plan: i32, - /// Applicable only for commitments located within one of the BigQuery - /// multi-regions (US or EU). + /// Applicable only for commitments located within one of the BigQuery + /// multi-regions (US or EU). /// - /// If set to true, this commitment is placed in the organization's - /// secondary region which is designated for disaster recovery purposes. - /// If false, this commitment is placed in the organization's default region. + /// If set to true, this commitment is placed in the organization's + /// secondary region which is designated for disaster recovery purposes. + /// If false, this commitment is placed in the organization's default region. #[prost(bool, tag="10")] pub multi_region_auxiliary: bool, } /// Nested message and enum types in `CapacityCommitment`. pub mod capacity_commitment { - /// Commitment plan defines the current committed period. Capacity commitment - /// cannot be deleted during it's committed period. + /// Commitment plan defines the current committed period. Capacity commitment + /// cannot be deleted during it's committed period. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CommitmentPlan { - /// Invalid plan value. Requests with this value will be rejected with - /// error code `google.rpc.Code.INVALID_ARGUMENT`. + /// Invalid plan value. Requests with this value will be rejected with + /// error code `google.rpc.Code.INVALID_ARGUMENT`. Unspecified = 0, - /// Flex commitments have committed period of 1 minute after becoming ACTIVE. - /// After that, they are not in a committed period anymore and can be removed - /// any time. + /// Flex commitments have committed period of 1 minute after becoming ACTIVE. + /// After that, they are not in a committed period anymore and can be removed + /// any time. Flex = 3, - /// Trial commitments have a committed period of 182 days after becoming - /// ACTIVE. After that, they are converted to a new commitment based on the - /// `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so - /// that it can be deleted right after committed period ends. + /// Trial commitments have a committed period of 182 days after becoming + /// ACTIVE. After that, they are converted to a new commitment based on the + /// `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so + /// that it can be deleted right after committed period ends. Trial = 5, - /// Monthly commitments have a committed period of 30 days after becoming - /// ACTIVE. After that, they are not in a committed period anymore and can be - /// removed any time. + /// Monthly commitments have a committed period of 30 days after becoming + /// ACTIVE. After that, they are not in a committed period anymore and can be + /// removed any time. Monthly = 2, - /// Annual commitments have a committed period of 365 days after becoming - /// ACTIVE. After that they are converted to a new commitment based on the - /// renewal_plan. + /// Annual commitments have a committed period of 365 days after becoming + /// ACTIVE. After that they are converted to a new commitment based on the + /// renewal_plan. Annual = 4, } impl CommitmentPlan { @@ -148,20 +148,20 @@ pub mod capacity_commitment { } } } - /// Capacity commitment can either become ACTIVE right away or transition - /// from PENDING to ACTIVE or FAILED. + /// Capacity commitment can either become ACTIVE right away or transition + /// from PENDING to ACTIVE or FAILED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Invalid state value. + /// Invalid state value. Unspecified = 0, - /// Capacity commitment is pending provisioning. Pending capacity commitment - /// does not contribute to the project's slot_capacity. + /// Capacity commitment is pending provisioning. Pending capacity commitment + /// does not contribute to the project's slot_capacity. Pending = 1, - /// Once slots are provisioned, capacity commitment becomes active. - /// slot_count is added to the project's slot_capacity. + /// Once slots are provisioned, capacity commitment becomes active. + /// slot_count is added to the project's slot_capacity. Active = 2, - /// Capacity commitment is failed to be activated by the backend. + /// Capacity commitment is failed to be activated by the backend. Failed = 3, } impl State { @@ -179,223 +179,223 @@ pub mod capacity_commitment { } } } -/// The request for \[ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation\]. +/// The request for \[ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1.ReservationService.CreateReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReservationRequest { - /// Required. Project, location. E.g., - /// `projects/myproject/locations/US` + /// Required. Project, location. E.g., + /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The reservation ID. It must only contain lower case alphanumeric - /// characters or dashes. It must start with a letter and must not end - /// with a dash. Its maximum length is 64 characters. + /// The reservation ID. It must only contain lower case alphanumeric + /// characters or dashes. It must start with a letter and must not end + /// with a dash. Its maximum length is 64 characters. #[prost(string, tag="2")] pub reservation_id: ::prost::alloc::string::String, - /// Definition of the new reservation to create. + /// Definition of the new reservation to create. #[prost(message, optional, tag="3")] pub reservation: ::core::option::Option, } -/// The request for \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations\]. +/// The request for \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReservationsRequest { - /// Required. The parent resource name containing project and location, e.g.: + /// Required. The parent resource name containing project and location, e.g.: /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return per page. + /// The maximum number of items to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations\]. +/// The response for \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1.ReservationService.ListReservations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReservationsResponse { - /// List of reservations visible to the user. + /// List of reservations visible to the user. #[prost(message, repeated, tag="1")] pub reservations: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation\]. +/// The request for \[ReservationService.GetReservation][google.cloud.bigquery.reservation.v1.ReservationService.GetReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetReservationRequest { - /// Required. Resource name of the reservation to retrieve. E.g., + /// Required. Resource name of the reservation to retrieve. E.g., /// `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation\]. +/// The request for \[ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1.ReservationService.DeleteReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteReservationRequest { - /// Required. Resource name of the reservation to retrieve. E.g., + /// Required. Resource name of the reservation to retrieve. E.g., /// `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation\]. +/// The request for \[ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1.ReservationService.UpdateReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateReservationRequest { - /// Content of the reservation to update. + /// Content of the reservation to update. #[prost(message, optional, tag="1")] pub reservation: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment\]. +/// The request for \[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.CreateCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCapacityCommitmentRequest { - /// Required. Resource name of the parent reservation. E.g., + /// Required. Resource name of the parent reservation. E.g., /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Content of the capacity commitment to create. + /// Content of the capacity commitment to create. #[prost(message, optional, tag="2")] pub capacity_commitment: ::core::option::Option, - /// If true, fail the request if another project in the organization has a - /// capacity commitment. + /// If true, fail the request if another project in the organization has a + /// capacity commitment. #[prost(bool, tag="4")] pub enforce_single_admin_project_per_org: bool, - /// The optional capacity commitment ID. Capacity commitment name will be - /// generated automatically if this field is empty. - /// This field must only contain lower case alphanumeric characters or dashes. - /// The first and last character cannot be a dash. Max length is 64 characters. - /// NOTE: this ID won't be kept if the capacity commitment is split or merged. + /// The optional capacity commitment ID. Capacity commitment name will be + /// generated automatically if this field is empty. + /// This field must only contain lower case alphanumeric characters or dashes. + /// The first and last character cannot be a dash. Max length is 64 characters. + /// NOTE: this ID won't be kept if the capacity commitment is split or merged. #[prost(string, tag="5")] pub capacity_commitment_id: ::prost::alloc::string::String, } -/// The request for \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments\]. +/// The request for \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCapacityCommitmentsRequest { - /// Required. Resource name of the parent reservation. E.g., + /// Required. Resource name of the parent reservation. E.g., /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments\]. +/// The response for \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.ListCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCapacityCommitmentsResponse { - /// List of capacity commitments visible to the user. + /// List of capacity commitments visible to the user. #[prost(message, repeated, tag="1")] pub capacity_commitments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment\]. +/// The request for \[ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.GetCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCapacityCommitmentRequest { - /// Required. Resource name of the capacity commitment to retrieve. E.g., + /// Required. Resource name of the capacity commitment to retrieve. E.g., /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for \[ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment\]. +/// The request for \[ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCapacityCommitmentRequest { - /// Required. Resource name of the capacity commitment to delete. E.g., + /// Required. Resource name of the capacity commitment to delete. E.g., /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Can be used to force delete commitments even if assignments exist. Deleting - /// commitments with assignments may cause queries to fail if they no longer - /// have access to slots. + /// Can be used to force delete commitments even if assignments exist. Deleting + /// commitments with assignments may cause queries to fail if they no longer + /// have access to slots. #[prost(bool, tag="3")] pub force: bool, } -/// The request for \[ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment\]. +/// The request for \[ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCapacityCommitmentRequest { - /// Content of the capacity commitment to update. + /// Content of the capacity commitment to update. #[prost(message, optional, tag="1")] pub capacity_commitment: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment\]. +/// The request for \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitCapacityCommitmentRequest { - /// Required. The resource name e.g.,: + /// Required. The resource name e.g.,: /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Number of slots in the capacity commitment after the split. + /// Number of slots in the capacity commitment after the split. #[prost(int64, tag="2")] pub slot_count: i64, } -/// The response for \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment\]. +/// The response for \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1.ReservationService.SplitCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitCapacityCommitmentResponse { - /// First capacity commitment, result of a split. + /// First capacity commitment, result of a split. #[prost(message, optional, tag="1")] pub first: ::core::option::Option, - /// Second capacity commitment, result of a split. + /// Second capacity commitment, result of a split. #[prost(message, optional, tag="2")] pub second: ::core::option::Option, } -/// The request for \[ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments\]. +/// The request for \[ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1.ReservationService.MergeCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MergeCapacityCommitmentsRequest { - /// Parent resource that identifies admin project and location e.g., + /// Parent resource that identifies admin project and location e.g., /// `projects/myproject/locations/us` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Ids of capacity commitments to merge. - /// These capacity commitments must exist under admin project and location - /// specified in the parent. - /// ID is the last portion of capacity commitment name e.g., 'abc' for - /// projects/myproject/locations/US/capacityCommitments/abc + /// Ids of capacity commitments to merge. + /// These capacity commitments must exist under admin project and location + /// specified in the parent. + /// ID is the last portion of capacity commitment name e.g., 'abc' for + /// projects/myproject/locations/US/capacityCommitments/abc #[prost(string, repeated, tag="2")] pub capacity_commitment_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// An assignment allows a project to submit jobs -/// of a certain type using slots from the specified reservation. +/// An assignment allows a project to submit jobs +/// of a certain type using slots from the specified reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Assignment { - /// Output only. Name of the resource. E.g.: - /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. - /// The assignment_id must only contain lower case alphanumeric characters or - /// dashes and the max length is 64 characters. + /// Output only. Name of the resource. E.g.: + /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. + /// The assignment_id must only contain lower case alphanumeric characters or + /// dashes and the max length is 64 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource which will use the reservation. E.g. - /// `projects/myproject`, `folders/123`, or `organizations/456`. + /// The resource which will use the reservation. E.g. + /// `projects/myproject`, `folders/123`, or `organizations/456`. #[prost(string, tag="4")] pub assignee: ::prost::alloc::string::String, - /// Which type of jobs will use the reservation. + /// Which type of jobs will use the reservation. #[prost(enumeration="assignment::JobType", tag="3")] pub job_type: i32, - /// Output only. State of the assignment. + /// Output only. State of the assignment. #[prost(enumeration="assignment::State", tag="6")] pub state: i32, } /// Nested message and enum types in `Assignment`. pub mod assignment { - /// Types of job, which could be specified when using the reservation. + /// Types of job, which could be specified when using the reservation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobType { - /// Invalid type. Requests with this value will be rejected with - /// error code `google.rpc.Code.INVALID_ARGUMENT`. + /// Invalid type. Requests with this value will be rejected with + /// error code `google.rpc.Code.INVALID_ARGUMENT`. Unspecified = 0, - /// Pipeline (load/export) jobs from the project will use the reservation. + /// Pipeline (load/export) jobs from the project will use the reservation. Pipeline = 1, - /// Query jobs from the project will use the reservation. + /// Query jobs from the project will use the reservation. Query = 2, - /// BigQuery ML jobs that use services external to BigQuery for model - /// training. These jobs will not utilize idle slots from other reservations. + /// BigQuery ML jobs that use services external to BigQuery for model + /// training. These jobs will not utilize idle slots from other reservations. MlExternal = 3, } impl JobType { @@ -412,18 +412,18 @@ pub mod assignment { } } } - /// Assignment will remain in PENDING state if no active capacity commitment is - /// present. It will become ACTIVE when some capacity commitment becomes - /// active. + /// Assignment will remain in PENDING state if no active capacity commitment is + /// present. It will become ACTIVE when some capacity commitment becomes + /// active. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Invalid state value. + /// Invalid state value. Unspecified = 0, - /// Queries from assignee will be executed as on-demand, if related - /// assignment is pending. + /// Queries from assignee will be executed as on-demand, if related + /// assignment is pending. Pending = 1, - /// Assignment is ready. + /// Assignment is ready. Active = 2, } impl State { @@ -440,219 +440,219 @@ pub mod assignment { } } } -/// The request for \[ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment\]. -/// Note: "bigquery.reservationAssignments.create" permission is required on the -/// related assignee. +/// The request for \[ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.CreateAssignment\]. +/// Note: "bigquery.reservationAssignments.create" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAssignmentRequest { - /// Required. The parent resource name of the assignment - /// E.g. `projects/myproject/locations/US/reservations/team1-prod` + /// Required. The parent resource name of the assignment + /// E.g. `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Assignment resource to create. + /// Assignment resource to create. #[prost(message, optional, tag="2")] pub assignment: ::core::option::Option, - /// The optional assignment ID. Assignment name will be generated automatically - /// if this field is empty. - /// This field must only contain lower case alphanumeric characters or dashes. - /// Max length is 64 characters. + /// The optional assignment ID. Assignment name will be generated automatically + /// if this field is empty. + /// This field must only contain lower case alphanumeric characters or dashes. + /// Max length is 64 characters. #[prost(string, tag="4")] pub assignment_id: ::prost::alloc::string::String, } -/// The request for \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments\]. +/// The request for \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssignmentsRequest { - /// Required. The parent resource name e.g.: + /// Required. The parent resource name e.g.: /// - /// `projects/myproject/locations/US/reservations/team1-prod` + /// `projects/myproject/locations/US/reservations/team1-prod` /// - /// Or: + /// Or: /// - /// `projects/myproject/locations/US/reservations/-` + /// `projects/myproject/locations/US/reservations/-` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return per page. + /// The maximum number of items to return per page. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments\]. +/// The response for \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1.ReservationService.ListAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssignmentsResponse { - /// List of assignments visible to the user. + /// List of assignments visible to the user. #[prost(message, repeated, tag="1")] pub assignments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for \[ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment\]. -/// Note: "bigquery.reservationAssignments.delete" permission is required on the -/// related assignee. +/// The request for \[ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1.ReservationService.DeleteAssignment\]. +/// Note: "bigquery.reservationAssignments.delete" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAssignmentRequest { - /// Required. Name of the resource, e.g. + /// Required. Name of the resource, e.g. /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments\]. -/// Note: "bigquery.reservationAssignments.search" permission is required on the -/// related assignee. +/// The request for +/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments\]. +/// Note: "bigquery.reservationAssignments.search" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAssignmentsRequest { - /// Required. The resource name of the admin project(containing project and location), - /// e.g.: + /// Required. The resource name of the admin project(containing project and location), + /// e.g.: /// `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Please specify resource name as assignee in the query. + /// Please specify resource name as assignee in the query. /// - /// Examples: + /// Examples: /// - /// * `assignee=projects/myproject` - /// * `assignee=folders/123` - /// * `assignee=organizations/456` + /// * `assignee=projects/myproject` + /// * `assignee=folders/123` + /// * `assignee=organizations/456` #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// The maximum number of items to return per page. + /// The maximum number of items to return per page. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments\]. -/// Note: "bigquery.reservationAssignments.search" permission is required on the -/// related assignee. +/// The request for +/// \[ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments\]. +/// Note: "bigquery.reservationAssignments.search" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllAssignmentsRequest { - /// Required. The resource name with location (project name could be the wildcard '-'), - /// e.g.: + /// Required. The resource name with location (project name could be the wildcard '-'), + /// e.g.: /// `projects/-/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Please specify resource name as assignee in the query. + /// Please specify resource name as assignee in the query. /// - /// Examples: + /// Examples: /// - /// * `assignee=projects/myproject` - /// * `assignee=folders/123` - /// * `assignee=organizations/456` + /// * `assignee=projects/myproject` + /// * `assignee=folders/123` + /// * `assignee=organizations/456` #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// The maximum number of items to return per page. + /// The maximum number of items to return per page. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response for \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments\]. +/// The response for \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAssignmentsResponse { - /// List of assignments visible to the user. + /// List of assignments visible to the user. #[prost(message, repeated, tag="1")] pub assignments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The response for \[ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments\]. +/// The response for \[ReservationService.SearchAllAssignments][google.cloud.bigquery.reservation.v1.ReservationService.SearchAllAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAllAssignmentsResponse { - /// List of assignments visible to the user. + /// List of assignments visible to the user. #[prost(message, repeated, tag="1")] pub assignments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment\]. +/// The request for +/// \[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1.ReservationService.MoveAssignment\]. /// -/// **Note**: "bigquery.reservationAssignments.create" permission is required on -/// the destination_id. +/// **Note**: "bigquery.reservationAssignments.create" permission is required on +/// the destination_id. /// -/// **Note**: "bigquery.reservationAssignments.create" and -/// "bigquery.reservationAssignments.delete" permission are required on the -/// related assignee. +/// **Note**: "bigquery.reservationAssignments.create" and +/// "bigquery.reservationAssignments.delete" permission are required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveAssignmentRequest { - /// Required. The resource name of the assignment, - /// e.g. - /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` + /// Required. The resource name of the assignment, + /// e.g. + /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The new reservation ID, e.g.: + /// The new reservation ID, e.g.: /// `projects/myotherproject/locations/US/reservations/team2-prod` #[prost(string, tag="3")] pub destination_id: ::prost::alloc::string::String, } -/// The request for \[ReservationService.UpdateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment\]. +/// The request for \[ReservationService.UpdateAssignment][google.cloud.bigquery.reservation.v1.ReservationService.UpdateAssignment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAssignmentRequest { - /// Content of the assignment to update. + /// Content of the assignment to update. #[prost(message, optional, tag="1")] pub assignment: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Fully qualified reference to BigQuery table. -/// Internally stored as google.cloud.bi.v1.BqTableReference. +/// Fully qualified reference to BigQuery table. +/// Internally stored as google.cloud.bi.v1.BqTableReference. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReference { - /// The assigned project ID of the project. + /// The assigned project ID of the project. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// The ID of the dataset in the above project. + /// The ID of the dataset in the above project. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// The ID of the table in the above dataset. + /// The ID of the table in the above dataset. #[prost(string, tag="3")] pub table_id: ::prost::alloc::string::String, } -/// Represents a BI Reservation. +/// Represents a BI Reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiReservation { - /// The resource name of the singleton BI reservation. - /// Reservation names have the form - /// `projects/{project_id}/locations/{location_id}/biReservation`. + /// The resource name of the singleton BI reservation. + /// Reservation names have the form + /// `projects/{project_id}/locations/{location_id}/biReservation`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The last update timestamp of a reservation. + /// Output only. The last update timestamp of a reservation. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Size of a reservation, in bytes. + /// Size of a reservation, in bytes. #[prost(int64, tag="4")] pub size: i64, - /// Preferred tables to use BI capacity for. + /// Preferred tables to use BI capacity for. #[prost(message, repeated, tag="5")] pub preferred_tables: ::prost::alloc::vec::Vec, } -/// A request to get a singleton BI reservation. +/// A request to get a singleton BI reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiReservationRequest { - /// Required. Name of the requested reservation, for example: - /// `projects/{project_id}/locations/{location_id}/biReservation` + /// Required. Name of the requested reservation, for example: + /// `projects/{project_id}/locations/{location_id}/biReservation` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to update a BI reservation. +/// A request to update a BI reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBiReservationRequest { - /// A reservation to update. + /// A reservation to update. #[prost(message, optional, tag="1")] pub bi_reservation: ::core::option::Option, - /// A list of fields to be updated in this request. + /// A list of fields to be updated in this request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1beta1.rs index 986d7c6c8..4f1f512cc 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.reservation.v1beta1.rs @@ -1,92 +1,92 @@ -/// A reservation is a mechanism used to guarantee slots to users. +/// A reservation is a mechanism used to guarantee slots to users. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Reservation { - /// The resource name of the reservation, e.g., - /// `projects/*/locations/*/reservations/team1-prod`. + /// The resource name of the reservation, e.g., + /// `projects/*/locations/*/reservations/team1-prod`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Minimum slots available to this reservation. A slot is a unit of - /// computational power in BigQuery, and serves as the unit of parallelism. + /// Minimum slots available to this reservation. A slot is a unit of + /// computational power in BigQuery, and serves as the unit of parallelism. /// - /// Queries using this reservation might use more slots during runtime if - /// ignore_idle_slots is set to false. + /// Queries using this reservation might use more slots during runtime if + /// ignore_idle_slots is set to false. /// - /// If the new reservation's slot capacity exceed the parent's slot capacity or - /// if total slot capacity of the new reservation and its siblings exceeds the - /// parent's slot capacity, the request will fail with - /// `google.rpc.Code.RESOURCE_EXHAUSTED`. + /// If the new reservation's slot capacity exceed the parent's slot capacity or + /// if total slot capacity of the new reservation and its siblings exceeds the + /// parent's slot capacity, the request will fail with + /// `google.rpc.Code.RESOURCE_EXHAUSTED`. #[prost(int64, tag="2")] pub slot_capacity: i64, - /// If false, any query using this reservation will use idle slots from other - /// reservations within the same admin project. If true, a query using this - /// reservation will execute with the slot capacity specified above at most. + /// If false, any query using this reservation will use idle slots from other + /// reservations within the same admin project. If true, a query using this + /// reservation will execute with the slot capacity specified above at most. #[prost(bool, tag="4")] pub ignore_idle_slots: bool, } -/// Capacity commitment is a way to purchase compute capacity for BigQuery jobs -/// (in the form of slots) with some committed period of usage. Annual -/// commitments renew by default. Commitments can be removed after their -/// commitment end time passes. +/// Capacity commitment is a way to purchase compute capacity for BigQuery jobs +/// (in the form of slots) with some committed period of usage. Annual +/// commitments renew by default. Commitments can be removed after their +/// commitment end time passes. /// -/// In order to remove annual commitment, its plan needs to be changed -/// to monthly or flex first. +/// In order to remove annual commitment, its plan needs to be changed +/// to monthly or flex first. /// -/// A capacity commitment resource exists as a child resource of the admin -/// project. +/// A capacity commitment resource exists as a child resource of the admin +/// project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CapacityCommitment { - /// Output only. The resource name of the capacity commitment, e.g., - /// `projects/myproject/locations/US/capacityCommitments/123` + /// Output only. The resource name of the capacity commitment, e.g., + /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Number of slots in this commitment. + /// Number of slots in this commitment. #[prost(int64, tag="2")] pub slot_count: i64, - /// Capacity commitment commitment plan. + /// Capacity commitment commitment plan. #[prost(enumeration="capacity_commitment::CommitmentPlan", tag="3")] pub plan: i32, - /// Output only. State of the commitment. + /// Output only. State of the commitment. #[prost(enumeration="capacity_commitment::State", tag="4")] pub state: i32, - /// Output only. The end of the current commitment period. It is applicable - /// only for ACTIVE capacity commitments. + /// Output only. The end of the current commitment period. It is applicable + /// only for ACTIVE capacity commitments. #[prost(message, optional, tag="5")] pub commitment_end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. For FAILED commitment plan, provides the reason of failure. + /// Output only. For FAILED commitment plan, provides the reason of failure. #[prost(message, optional, tag="7")] pub failure_status: ::core::option::Option, - /// The plan this capacity commitment is converted to after commitment_end_time - /// passes. Once the plan is changed, committed period is extended according to - /// commitment plan. Only applicable for ANNUAL commitments. + /// The plan this capacity commitment is converted to after commitment_end_time + /// passes. Once the plan is changed, committed period is extended according to + /// commitment plan. Only applicable for ANNUAL commitments. #[prost(enumeration="capacity_commitment::CommitmentPlan", tag="8")] pub renewal_plan: i32, } /// Nested message and enum types in `CapacityCommitment`. pub mod capacity_commitment { - /// Commitment plan defines the current committed period. Capacity commitment - /// cannot be deleted during it's committed period. + /// Commitment plan defines the current committed period. Capacity commitment + /// cannot be deleted during it's committed period. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CommitmentPlan { - /// Invalid plan value. Requests with this value will be rejected with - /// error code `google.rpc.Code.INVALID_ARGUMENT`. + /// Invalid plan value. Requests with this value will be rejected with + /// error code `google.rpc.Code.INVALID_ARGUMENT`. Unspecified = 0, - /// Flex commitments have committed period of 1 minute after becoming ACTIVE. - /// After that, they are not in a committed period anymore and can be removed - /// any time. + /// Flex commitments have committed period of 1 minute after becoming ACTIVE. + /// After that, they are not in a committed period anymore and can be removed + /// any time. Flex = 3, - /// Trial commitments have a committed period of 182 days after becoming - /// ACTIVE. After that, they are converted to a new commitment based on the - /// `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so - /// that it can be deleted right after committed period ends. + /// Trial commitments have a committed period of 182 days after becoming + /// ACTIVE. After that, they are converted to a new commitment based on the + /// `renewal_plan`. Default `renewal_plan` for Trial commitment is Flex so + /// that it can be deleted right after committed period ends. Trial = 5, - /// Monthly commitments have a committed period of 30 days after becoming - /// ACTIVE. After that, they are not in a committed period anymore and can be - /// removed any time. + /// Monthly commitments have a committed period of 30 days after becoming + /// ACTIVE. After that, they are not in a committed period anymore and can be + /// removed any time. Monthly = 2, - /// Annual commitments have a committed period of 365 days after becoming - /// ACTIVE. After that they are converted to a new commitment based on the - /// renewal_plan. + /// Annual commitments have a committed period of 365 days after becoming + /// ACTIVE. After that they are converted to a new commitment based on the + /// renewal_plan. Annual = 4, } impl CommitmentPlan { @@ -104,20 +104,20 @@ pub mod capacity_commitment { } } } - /// Capacity commitment can either become ACTIVE right away or transition - /// from PENDING to ACTIVE or FAILED. + /// Capacity commitment can either become ACTIVE right away or transition + /// from PENDING to ACTIVE or FAILED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Invalid state value. + /// Invalid state value. Unspecified = 0, - /// Capacity commitment is pending provisioning. Pending capacity commitment - /// does not contribute to the parent's slot_capacity. + /// Capacity commitment is pending provisioning. Pending capacity commitment + /// does not contribute to the parent's slot_capacity. Pending = 1, - /// Once slots are provisioned, capacity commitment becomes active. - /// slot_count is added to the parent's slot_capacity. + /// Once slots are provisioned, capacity commitment becomes active. + /// slot_count is added to the parent's slot_capacity. Active = 2, - /// Capacity commitment is failed to be activated by the backend. + /// Capacity commitment is failed to be activated by the backend. Failed = 3, } impl State { @@ -135,225 +135,225 @@ pub mod capacity_commitment { } } } -/// The request for -/// \[ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateReservation\]. +/// The request for +/// \[ReservationService.CreateReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReservationRequest { - /// Required. Project, location. E.g., - /// `projects/myproject/locations/US` + /// Required. Project, location. E.g., + /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The reservation ID. This field must only contain lower case alphanumeric - /// characters or dash. Max length is 64 characters. + /// The reservation ID. This field must only contain lower case alphanumeric + /// characters or dash. Max length is 64 characters. #[prost(string, tag="2")] pub reservation_id: ::prost::alloc::string::String, - /// Content of the new reservation to create. + /// Content of the new reservation to create. #[prost(message, optional, tag="3")] pub reservation: ::core::option::Option, } -/// The request for -/// \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations\]. +/// The request for +/// \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReservationsRequest { - /// Required. The parent resource name containing project and location, e.g.: + /// Required. The parent resource name containing project and location, e.g.: /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Can be used to filter out reservations based on names, capacity, etc, e.g.: - /// filter="reservation.slot_capacity > 200" - /// filter="reservation.name = \"*dev/*\"" - /// Advanced filtering syntax can be - /// \[here\](). + /// Can be used to filter out reservations based on names, capacity, etc, e.g.: + /// filter="reservation.slot_capacity > 200" + /// filter="reservation.name = \"*dev/*\"" + /// Advanced filtering syntax can be + /// \[here\](). #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// The response for -/// \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations\]. +/// The response for +/// \[ReservationService.ListReservations][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListReservations\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReservationsResponse { - /// List of reservations visible to the user. + /// List of reservations visible to the user. #[prost(message, repeated, tag="1")] pub reservations: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.GetReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.GetReservation\]. +/// The request for +/// \[ReservationService.GetReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.GetReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetReservationRequest { - /// Required. Resource name of the reservation to retrieve. E.g., + /// Required. Resource name of the reservation to retrieve. E.g., /// `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteReservation\]. +/// The request for +/// \[ReservationService.DeleteReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteReservationRequest { - /// Required. Resource name of the reservation to retrieve. E.g., + /// Required. Resource name of the reservation to retrieve. E.g., /// `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateReservation\]. +/// The request for +/// \[ReservationService.UpdateReservation][google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateReservation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateReservationRequest { - /// Content of the reservation to update. + /// Content of the reservation to update. #[prost(message, optional, tag="1")] pub reservation: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for -/// \[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateCapacityCommitment\]. +/// The request for +/// \[ReservationService.CreateCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCapacityCommitmentRequest { - /// Required. Resource name of the parent reservation. E.g., + /// Required. Resource name of the parent reservation. E.g., /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Content of the capacity commitment to create. + /// Content of the capacity commitment to create. #[prost(message, optional, tag="2")] pub capacity_commitment: ::core::option::Option, - /// If true, fail the request if another project in the organization has a - /// capacity commitment. + /// If true, fail the request if another project in the organization has a + /// capacity commitment. #[prost(bool, tag="4")] pub enforce_single_admin_project_per_org: bool, } -/// The request for -/// \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListCapacityCommitments\]. +/// The request for +/// \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCapacityCommitmentsRequest { - /// Required. Resource name of the parent reservation. E.g., + /// Required. Resource name of the parent reservation. E.g., /// `projects/myproject/locations/US` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for -/// \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListCapacityCommitments\]. +/// The response for +/// \[ReservationService.ListCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCapacityCommitmentsResponse { - /// List of capacity commitments visible to the user. + /// List of capacity commitments visible to the user. #[prost(message, repeated, tag="1")] pub capacity_commitments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.GetCapacityCommitment\]. +/// The request for +/// \[ReservationService.GetCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.GetCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCapacityCommitmentRequest { - /// Required. Resource name of the capacity commitment to retrieve. E.g., + /// Required. Resource name of the capacity commitment to retrieve. E.g., /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteCapacityCommitment\]. +/// The request for +/// \[ReservationService.DeleteCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCapacityCommitmentRequest { - /// Required. Resource name of the capacity commitment to delete. E.g., + /// Required. Resource name of the capacity commitment to delete. E.g., /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateCapacityCommitment\]. +/// The request for +/// \[ReservationService.UpdateCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.UpdateCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCapacityCommitmentRequest { - /// Content of the capacity commitment to update. + /// Content of the capacity commitment to update. #[prost(message, optional, tag="1")] pub capacity_commitment: ::core::option::Option, - /// Standard field mask for the set of fields to be updated. + /// Standard field mask for the set of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request for -/// \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.SplitCapacityCommitment\]. +/// The request for +/// \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.SplitCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitCapacityCommitmentRequest { - /// Required. The resource name e.g.,: + /// Required. The resource name e.g.,: /// `projects/myproject/locations/US/capacityCommitments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Number of slots in the capacity commitment after the split. + /// Number of slots in the capacity commitment after the split. #[prost(int64, tag="2")] pub slot_count: i64, } -/// The response for -/// \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.SplitCapacityCommitment\]. +/// The response for +/// \[ReservationService.SplitCapacityCommitment][google.cloud.bigquery.reservation.v1beta1.ReservationService.SplitCapacityCommitment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitCapacityCommitmentResponse { - /// First capacity commitment, result of a split. + /// First capacity commitment, result of a split. #[prost(message, optional, tag="1")] pub first: ::core::option::Option, - /// Second capacity commitment, result of a split. + /// Second capacity commitment, result of a split. #[prost(message, optional, tag="2")] pub second: ::core::option::Option, } -/// The request for -/// \[ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.MergeCapacityCommitments\]. +/// The request for +/// \[ReservationService.MergeCapacityCommitments][google.cloud.bigquery.reservation.v1beta1.ReservationService.MergeCapacityCommitments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MergeCapacityCommitmentsRequest { - /// Parent resource that identifies admin project and location e.g., + /// Parent resource that identifies admin project and location e.g., /// `projects/myproject/locations/us` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Ids of capacity commitments to merge. - /// These capacity commitments must exist under admin project and location - /// specified in the parent. + /// Ids of capacity commitments to merge. + /// These capacity commitments must exist under admin project and location + /// specified in the parent. #[prost(string, repeated, tag="2")] pub capacity_commitment_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Assignment allows a project to submit jobs -/// of a certain type using slots from the specified reservation. +/// A Assignment allows a project to submit jobs +/// of a certain type using slots from the specified reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Assignment { - /// Output only. Name of the resource. E.g.: - /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. + /// Output only. Name of the resource. E.g.: + /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource which will use the reservation. E.g. - /// `projects/myproject`, `folders/123`, or `organizations/456`. + /// The resource which will use the reservation. E.g. + /// `projects/myproject`, `folders/123`, or `organizations/456`. #[prost(string, tag="4")] pub assignee: ::prost::alloc::string::String, - /// Which type of jobs will use the reservation. + /// Which type of jobs will use the reservation. #[prost(enumeration="assignment::JobType", tag="3")] pub job_type: i32, - /// Output only. State of the assignment. + /// Output only. State of the assignment. #[prost(enumeration="assignment::State", tag="6")] pub state: i32, } /// Nested message and enum types in `Assignment`. pub mod assignment { - /// Types of job, which could be specified when using the reservation. + /// Types of job, which could be specified when using the reservation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobType { - /// Invalid type. Requests with this value will be rejected with - /// error code `google.rpc.Code.INVALID_ARGUMENT`. + /// Invalid type. Requests with this value will be rejected with + /// error code `google.rpc.Code.INVALID_ARGUMENT`. Unspecified = 0, - /// Pipeline (load/export) jobs from the project will use the reservation. + /// Pipeline (load/export) jobs from the project will use the reservation. Pipeline = 1, - /// Query jobs from the project will use the reservation. + /// Query jobs from the project will use the reservation. Query = 2, } impl JobType { @@ -369,18 +369,18 @@ pub mod assignment { } } } - /// Assignment will remain in PENDING state if no active capacity commitment is - /// present. It will become ACTIVE when some capacity commitment becomes - /// active. + /// Assignment will remain in PENDING state if no active capacity commitment is + /// present. It will become ACTIVE when some capacity commitment becomes + /// active. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Invalid state value. + /// Invalid state value. Unspecified = 0, - /// Queries from assignee will be executed as on-demand, if related - /// assignment is pending. + /// Queries from assignee will be executed as on-demand, if related + /// assignment is pending. Pending = 1, - /// Assignment is ready. + /// Assignment is ready. Active = 2, } impl State { @@ -397,153 +397,153 @@ pub mod assignment { } } } -/// The request for -/// \[ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateAssignment\]. -/// Note: "bigquery.reservationAssignments.create" permission is required on the -/// related assignee. +/// The request for +/// \[ReservationService.CreateAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.CreateAssignment\]. +/// Note: "bigquery.reservationAssignments.create" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAssignmentRequest { - /// Required. The parent resource name of the assignment - /// E.g. `projects/myproject/locations/US/reservations/team1-prod` + /// Required. The parent resource name of the assignment + /// E.g. `projects/myproject/locations/US/reservations/team1-prod` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Assignment resource to create. + /// Assignment resource to create. #[prost(message, optional, tag="2")] pub assignment: ::core::option::Option, } -/// The request for -/// \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListAssignments\]. +/// The request for +/// \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssignmentsRequest { - /// Required. The parent resource name e.g.: + /// Required. The parent resource name e.g.: /// - /// `projects/myproject/locations/US/reservations/team1-prod` + /// `projects/myproject/locations/US/reservations/team1-prod` /// - /// Or: + /// Or: /// - /// `projects/myproject/locations/US/reservations/-` + /// `projects/myproject/locations/US/reservations/-` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response for -/// \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListAssignments\]. +/// The response for +/// \[ReservationService.ListAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.ListAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssignmentsResponse { - /// List of assignments visible to the user. + /// List of assignments visible to the user. #[prost(message, repeated, tag="1")] pub assignments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteAssignment\]. -/// Note: "bigquery.reservationAssignments.delete" permission is required on the -/// related assignee. +/// The request for +/// \[ReservationService.DeleteAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.DeleteAssignment\]. +/// Note: "bigquery.reservationAssignments.delete" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAssignmentRequest { - /// Required. Name of the resource, e.g. + /// Required. Name of the resource, e.g. /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.SearchAssignments\]. -/// Note: "bigquery.reservationAssignments.search" permission is required on the -/// related assignee. +/// The request for +/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.SearchAssignments\]. +/// Note: "bigquery.reservationAssignments.search" permission is required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAssignmentsRequest { - /// Required. The resource name of the admin project(containing project and - /// location), e.g.: + /// Required. The resource name of the admin project(containing project and + /// location), e.g.: /// `projects/myproject/locations/US`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Please specify resource name as assignee in the query. + /// Please specify resource name as assignee in the query. /// - /// Examples: + /// Examples: /// - /// * `assignee=projects/myproject` - /// * `assignee=folders/123` - /// * `assignee=organizations/456` + /// * `assignee=projects/myproject` + /// * `assignee=folders/123` + /// * `assignee=organizations/456` #[prost(string, tag="2")] pub query: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. + /// The next_page_token value returned from a previous List request, if any. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response for -/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.SearchAssignments\]. +/// The response for +/// \[ReservationService.SearchAssignments][google.cloud.bigquery.reservation.v1beta1.ReservationService.SearchAssignments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchAssignmentsResponse { - /// List of assignments visible to the user. + /// List of assignments visible to the user. #[prost(message, repeated, tag="1")] pub assignments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request for -/// \[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.MoveAssignment\]. +/// The request for +/// \[ReservationService.MoveAssignment][google.cloud.bigquery.reservation.v1beta1.ReservationService.MoveAssignment\]. /// -/// **Note**: "bigquery.reservationAssignments.create" permission is required on -/// the destination_id. +/// **Note**: "bigquery.reservationAssignments.create" permission is required on +/// the destination_id. /// -/// **Note**: "bigquery.reservationAssignments.create" and -/// "bigquery.reservationAssignments.delete" permission are required on the -/// related assignee. +/// **Note**: "bigquery.reservationAssignments.create" and +/// "bigquery.reservationAssignments.delete" permission are required on the +/// related assignee. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveAssignmentRequest { - /// Required. The resource name of the assignment, - /// e.g. - /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` + /// Required. The resource name of the assignment, + /// e.g. + /// `projects/myproject/locations/US/reservations/team1-prod/assignments/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The new reservation ID, e.g.: + /// The new reservation ID, e.g.: /// `projects/myotherproject/locations/US/reservations/team2-prod` #[prost(string, tag="3")] pub destination_id: ::prost::alloc::string::String, } -/// Represents a BI Reservation. +/// Represents a BI Reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BiReservation { - /// The resource name of the singleton BI reservation. - /// Reservation names have the form - /// `projects/{project_id}/locations/{location_id}/bireservation`. + /// The resource name of the singleton BI reservation. + /// Reservation names have the form + /// `projects/{project_id}/locations/{location_id}/bireservation`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The last update timestamp of a reservation. + /// Output only. The last update timestamp of a reservation. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Size of a reservation, in bytes. + /// Size of a reservation, in bytes. #[prost(int64, tag="4")] pub size: i64, } -/// A request to get a singleton BI reservation. +/// A request to get a singleton BI reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBiReservationRequest { - /// Required. Name of the requested reservation, for example: - /// `projects/{project_id}/locations/{location_id}/bireservation` + /// Required. Name of the requested reservation, for example: + /// `projects/{project_id}/locations/{location_id}/bireservation` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to update a BI reservation. +/// A request to update a BI reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBiReservationRequest { - /// A reservation to update. + /// A reservation to update. #[prost(message, optional, tag="1")] pub reservation: ::core::option::Option, - /// A list of fields to be updated in this request. + /// A list of fields to be updated in this request. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1.rs index b884bc673..5832cdfc3 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1.rs @@ -1,46 +1,46 @@ -/// Arrow schema as specified in -/// -/// and serialized to bytes using IPC: -/// +/// Arrow schema as specified in +/// +/// and serialized to bytes using IPC: +/// /// -/// See code samples on how this message can be deserialized. +/// See code samples on how this message can be deserialized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowSchema { - /// IPC serialized Arrow schema. + /// IPC serialized Arrow schema. #[prost(bytes="vec", tag="1")] pub serialized_schema: ::prost::alloc::vec::Vec, } -/// Arrow RecordBatch. +/// Arrow RecordBatch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowRecordBatch { - /// IPC-serialized Arrow RecordBatch. + /// IPC-serialized Arrow RecordBatch. #[prost(bytes="vec", tag="1")] pub serialized_record_batch: ::prost::alloc::vec::Vec, - /// \[Deprecated\] The count of rows in `serialized_record_batch`. - /// Please use the format-independent ReadRowsResponse.row_count instead. + /// \[Deprecated\] The count of rows in `serialized_record_batch`. + /// Please use the format-independent ReadRowsResponse.row_count instead. #[deprecated] #[prost(int64, tag="2")] pub row_count: i64, } -/// Contains options specific to Arrow Serialization. +/// Contains options specific to Arrow Serialization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowSerializationOptions { - /// The compression codec to use for Arrow buffers in serialized record - /// batches. + /// The compression codec to use for Arrow buffers in serialized record + /// batches. #[prost(enumeration="arrow_serialization_options::CompressionCodec", tag="2")] pub buffer_compression: i32, } /// Nested message and enum types in `ArrowSerializationOptions`. pub mod arrow_serialization_options { - /// Compression codec's supported by Arrow. + /// Compression codec's supported by Arrow. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CompressionCodec { - /// If unspecified no compression will be used. + /// If unspecified no compression will be used. CompressionUnspecified = 0, - /// LZ4 Frame () + /// LZ4 Frame () Lz4Frame = 1, - /// Zstandard compression. + /// Zstandard compression. Zstd = 2, } impl CompressionCodec { @@ -57,144 +57,144 @@ pub mod arrow_serialization_options { } } } -/// Avro schema. +/// Avro schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSchema { - /// Json serialized schema, as described at - /// + /// Json serialized schema, as described at + /// #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, } -/// Avro rows. +/// Avro rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroRows { - /// Binary serialized rows in a block. + /// Binary serialized rows in a block. #[prost(bytes="vec", tag="1")] pub serialized_binary_rows: ::prost::alloc::vec::Vec, - /// \[Deprecated\] The count of rows in the returning block. - /// Please use the format-independent ReadRowsResponse.row_count instead. + /// \[Deprecated\] The count of rows in the returning block. + /// Please use the format-independent ReadRowsResponse.row_count instead. #[deprecated] #[prost(int64, tag="2")] pub row_count: i64, } -/// Contains options specific to Avro Serialization. +/// Contains options specific to Avro Serialization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSerializationOptions { - /// Enable displayName attribute in Avro schema. + /// Enable displayName attribute in Avro schema. /// - /// The Avro specification requires field names to be alphanumeric. By - /// default, in cases when column names do not conform to these requirements - /// (e.g. non-ascii unicode codepoints) and Avro is requested as an output - /// format, the CreateReadSession call will fail. + /// The Avro specification requires field names to be alphanumeric. By + /// default, in cases when column names do not conform to these requirements + /// (e.g. non-ascii unicode codepoints) and Avro is requested as an output + /// format, the CreateReadSession call will fail. /// - /// Setting this field to true, populates avro field names with a placeholder - /// value and populates a "displayName" attribute for every avro field with the - /// original column name. + /// Setting this field to true, populates avro field names with a placeholder + /// value and populates a "displayName" attribute for every avro field with the + /// original column name. #[prost(bool, tag="1")] pub enable_display_name_attribute: bool, } -/// ProtoSchema describes the schema of the serialized protocol buffer data rows. +/// ProtoSchema describes the schema of the serialized protocol buffer data rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoSchema { - /// Descriptor for input message. The provided descriptor must be self - /// contained, such that data rows sent can be fully decoded using only the - /// single descriptor. For data rows that are compositions of multiple - /// independent messages, this means the descriptor may need to be transformed - /// to only use nested types: - /// + /// Descriptor for input message. The provided descriptor must be self + /// contained, such that data rows sent can be fully decoded using only the + /// single descriptor. For data rows that are compositions of multiple + /// independent messages, this means the descriptor may need to be transformed + /// to only use nested types: + /// /// - /// For additional information for how proto types and values map onto BigQuery - /// see: + /// For additional information for how proto types and values map onto BigQuery + /// see: #[prost(message, optional, tag="1")] pub proto_descriptor: ::core::option::Option<::prost_types::DescriptorProto>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoRows { - /// A sequence of rows serialized as a Protocol Buffer. + /// A sequence of rows serialized as a Protocol Buffer. /// - /// See for more - /// information on deserializing this field. + /// See for more + /// information on deserializing this field. #[prost(bytes="vec", repeated, tag="1")] pub serialized_rows: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } -/// Schema of a table. This schema is a subset of -/// google.cloud.bigquery.v2.TableSchema containing information necessary to -/// generate valid message to write to BigQuery. +/// Schema of a table. This schema is a subset of +/// google.cloud.bigquery.v2.TableSchema containing information necessary to +/// generate valid message to write to BigQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSchema { - /// Describes the fields in a table. + /// Describes the fields in a table. #[prost(message, repeated, tag="1")] pub fields: ::prost::alloc::vec::Vec, } -/// TableFieldSchema defines a single field/column within a table schema. +/// TableFieldSchema defines a single field/column within a table schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableFieldSchema { - /// Required. The field name. The name must contain only letters (a-z, A-Z), - /// numbers (0-9), or underscores (_), and must start with a letter or - /// underscore. The maximum length is 128 characters. + /// Required. The field name. The name must contain only letters (a-z, A-Z), + /// numbers (0-9), or underscores (_), and must start with a letter or + /// underscore. The maximum length is 128 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The field data type. + /// Required. The field data type. #[prost(enumeration="table_field_schema::Type", tag="2")] pub r#type: i32, - /// Optional. The field mode. The default value is NULLABLE. + /// Optional. The field mode. The default value is NULLABLE. #[prost(enumeration="table_field_schema::Mode", tag="3")] pub mode: i32, - /// Optional. Describes the nested schema fields if the type property is set to STRUCT. + /// Optional. Describes the nested schema fields if the type property is set to STRUCT. #[prost(message, repeated, tag="4")] pub fields: ::prost::alloc::vec::Vec, - /// Optional. The field description. The maximum length is 1,024 characters. + /// Optional. The field description. The maximum length is 1,024 characters. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Optional. Maximum length of values of this field for STRINGS or BYTES. + /// Optional. Maximum length of values of this field for STRINGS or BYTES. /// - /// If max_length is not specified, no maximum length constraint is imposed - /// on this field. + /// If max_length is not specified, no maximum length constraint is imposed + /// on this field. /// - /// If type = "STRING", then max_length represents the maximum UTF-8 - /// length of strings in this field. + /// If type = "STRING", then max_length represents the maximum UTF-8 + /// length of strings in this field. /// - /// If type = "BYTES", then max_length represents the maximum number of - /// bytes in this field. + /// If type = "BYTES", then max_length represents the maximum number of + /// bytes in this field. /// - /// It is invalid to set this field if type is not "STRING" or "BYTES". + /// It is invalid to set this field if type is not "STRING" or "BYTES". #[prost(int64, tag="7")] pub max_length: i64, - /// Optional. Precision (maximum number of total digits in base 10) and scale - /// (maximum number of digits in the fractional part in base 10) constraints - /// for values of this field for NUMERIC or BIGNUMERIC. + /// Optional. Precision (maximum number of total digits in base 10) and scale + /// (maximum number of digits in the fractional part in base 10) constraints + /// for values of this field for NUMERIC or BIGNUMERIC. /// - /// It is invalid to set precision or scale if type is not "NUMERIC" or - /// "BIGNUMERIC". + /// It is invalid to set precision or scale if type is not "NUMERIC" or + /// "BIGNUMERIC". /// - /// If precision and scale are not specified, no value range constraint is - /// imposed on this field insofar as values are permitted by the type. + /// If precision and scale are not specified, no value range constraint is + /// imposed on this field insofar as values are permitted by the type. /// - /// Values of this NUMERIC or BIGNUMERIC field must be in this range when: + /// Values of this NUMERIC or BIGNUMERIC field must be in this range when: /// - /// * Precision (P) and scale (S) are specified: + /// * Precision (P) and scale (S) are specified: /// [-10^(P-S) + 10^(-S), 10^(P-S) - 10^(-S)] - /// * Precision (P) is specified but not scale (and thus scale is + /// * Precision (P) is specified but not scale (and thus scale is /// interpreted to be equal to zero): /// [-10^P + 1, 10^P - 1]. /// - /// Acceptable values for precision and scale if both are specified: + /// Acceptable values for precision and scale if both are specified: /// - /// * If type = "NUMERIC": + /// * If type = "NUMERIC": /// 1 <= precision - scale <= 29 and 0 <= scale <= 9. - /// * If type = "BIGNUMERIC": + /// * If type = "BIGNUMERIC": /// 1 <= precision - scale <= 38 and 0 <= scale <= 38. /// - /// Acceptable values for precision if only precision is specified but not - /// scale (and thus scale is interpreted to be equal to zero): + /// Acceptable values for precision if only precision is specified but not + /// scale (and thus scale is interpreted to be equal to zero): /// - /// * If type = "NUMERIC": 1 <= precision <= 29. - /// * If type = "BIGNUMERIC": 1 <= precision <= 38. + /// * If type = "NUMERIC": 1 <= precision <= 29. + /// * If type = "BIGNUMERIC": 1 <= precision <= 38. /// - /// If scale is specified but not precision, then it is invalid. + /// If scale is specified but not precision, then it is invalid. #[prost(int64, tag="8")] pub precision: i64, - /// Optional. See documentation for precision. + /// Optional. See documentation for precision. #[prost(int64, tag="9")] pub scale: i64, } @@ -203,37 +203,37 @@ pub mod table_field_schema { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Illegal value + /// Illegal value Unspecified = 0, - /// 64K, UTF8 + /// 64K, UTF8 String = 1, - /// 64-bit signed + /// 64-bit signed Int64 = 2, - /// 64-bit IEEE floating point + /// 64-bit IEEE floating point Double = 3, - /// Aggregate type + /// Aggregate type Struct = 4, - /// 64K, Binary + /// 64K, Binary Bytes = 5, - /// 2-valued + /// 2-valued Bool = 6, - /// 64-bit signed usec since UTC epoch + /// 64-bit signed usec since UTC epoch Timestamp = 7, - /// Civil date - Year, Month, Day + /// Civil date - Year, Month, Day Date = 8, - /// Civil time - Hour, Minute, Second, Microseconds + /// Civil time - Hour, Minute, Second, Microseconds Time = 9, - /// Combination of civil date and civil time + /// Combination of civil date and civil time Datetime = 10, - /// Geography object + /// Geography object Geography = 11, - /// Numeric value + /// Numeric value Numeric = 12, - /// BigNumeric value + /// BigNumeric value Bignumeric = 13, - /// Interval + /// Interval Interval = 14, - /// JSON, String + /// JSON, String Json = 15, } impl Type { @@ -265,7 +265,7 @@ pub mod table_field_schema { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// Illegal value + /// Illegal value Unspecified = 0, Nullable = 1, Required = 2, @@ -286,80 +286,80 @@ pub mod table_field_schema { } } } -/// Information about the ReadSession. +/// Information about the ReadSession. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadSession { - /// Output only. Unique identifier for the session, in the form - /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. + /// Output only. Unique identifier for the session, in the form + /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Time at which the session becomes invalid. After this time, subsequent - /// requests to read this Session will return errors. The expire_time is - /// automatically assigned and currently cannot be specified or updated. + /// Output only. Time at which the session becomes invalid. After this time, subsequent + /// requests to read this Session will return errors. The expire_time is + /// automatically assigned and currently cannot be specified or updated. #[prost(message, optional, tag="2")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not supported. + /// Immutable. Data format of the output data. DATA_FORMAT_UNSPECIFIED not supported. #[prost(enumeration="DataFormat", tag="3")] pub data_format: i32, - /// Immutable. Table that this ReadSession is reading from, in the form - /// `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}` + /// Immutable. Table that this ReadSession is reading from, in the form + /// `projects/{project_id}/datasets/{dataset_id}/tables/{table_id}` #[prost(string, tag="6")] pub table: ::prost::alloc::string::String, - /// Optional. Any modifiers which are applied when reading from the specified table. + /// Optional. Any modifiers which are applied when reading from the specified table. #[prost(message, optional, tag="7")] pub table_modifiers: ::core::option::Option, - /// Optional. Read options for this session (e.g. column selection, filters). + /// Optional. Read options for this session (e.g. column selection, filters). #[prost(message, optional, tag="8")] pub read_options: ::core::option::Option, - /// Output only. A list of streams created with the session. + /// Output only. A list of streams created with the session. /// - /// At least one stream is created with the session. In the future, larger - /// request_stream_count values *may* result in this list being unpopulated, - /// in that case, the user will need to use a List method to get the streams - /// instead, which is not yet available. + /// At least one stream is created with the session. In the future, larger + /// request_stream_count values *may* result in this list being unpopulated, + /// in that case, the user will need to use a List method to get the streams + /// instead, which is not yet available. #[prost(message, repeated, tag="10")] pub streams: ::prost::alloc::vec::Vec, - /// Output only. An estimate on the number of bytes this session will scan when - /// all streams are completely consumed. This estimate is based on - /// metadata from the table which might be incomplete or stale. + /// Output only. An estimate on the number of bytes this session will scan when + /// all streams are completely consumed. This estimate is based on + /// metadata from the table which might be incomplete or stale. #[prost(int64, tag="12")] pub estimated_total_bytes_scanned: i64, - /// Optional. ID set by client to annotate a session identity. This does not need - /// to be strictly unique, but instead the same ID should be used to group - /// logically connected sessions (e.g. All using the same ID for all sessions - /// needed to complete a Spark SQL query is reasonable). + /// Optional. ID set by client to annotate a session identity. This does not need + /// to be strictly unique, but instead the same ID should be used to group + /// logically connected sessions (e.g. All using the same ID for all sessions + /// needed to complete a Spark SQL query is reasonable). /// - /// Maximum length is 256 bytes. + /// Maximum length is 256 bytes. #[prost(string, tag="13")] pub trace_id: ::prost::alloc::string::String, - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[prost(oneof="read_session::Schema", tags="4, 5")] pub schema: ::core::option::Option, } /// Nested message and enum types in `ReadSession`. pub mod read_session { - /// Additional attributes when reading a table. + /// Additional attributes when reading a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableModifiers { - /// The snapshot time of the table. If not set, interpreted as now. + /// The snapshot time of the table. If not set, interpreted as now. #[prost(message, optional, tag="1")] pub snapshot_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Options dictating how we read a table. + /// Options dictating how we read a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReadOptions { - /// Optional. The names of the fields in the table to be returned. If no - /// field names are specified, then all fields in the table are returned. + /// Optional. The names of the fields in the table to be returned. If no + /// field names are specified, then all fields in the table are returned. /// - /// Nested fields -- the child elements of a STRUCT field -- can be selected - /// individually using their fully-qualified names, and will be returned as - /// record fields containing only the selected nested fields. If a STRUCT - /// field is specified in the selected fields list, all of the child elements - /// will be returned. + /// Nested fields -- the child elements of a STRUCT field -- can be selected + /// individually using their fully-qualified names, and will be returned as + /// record fields containing only the selected nested fields. If a STRUCT + /// field is specified in the selected fields list, all of the child elements + /// will be returned. /// - /// As an example, consider a table with the following schema: + /// As an example, consider a table with the following schema: /// /// { /// "name": "struct_field", @@ -369,7 +369,7 @@ pub mod read_session { /// { /// "name": "string_field1", /// "type": "STRING", - /// . "mode": "NULLABLE" + /// . "mode": "NULLABLE" /// }, /// { /// "name": "string_field2", @@ -379,36 +379,36 @@ pub mod read_session { /// ] /// } /// - /// Specifying "struct_field" in the selected fields list will result in a - /// read session schema with the following logical structure: + /// Specifying "struct_field" in the selected fields list will result in a + /// read session schema with the following logical structure: /// /// struct_field { /// string_field1 /// string_field2 /// } /// - /// Specifying "struct_field.string_field1" in the selected fields list will - /// result in a read session schema with the following logical structure: + /// Specifying "struct_field.string_field1" in the selected fields list will + /// result in a read session schema with the following logical structure: /// /// struct_field { /// string_field1 /// } /// - /// The order of the fields in the read session schema is derived from the - /// table schema and does not correspond to the order in which the fields are - /// specified in this list. + /// The order of the fields in the read session schema is derived from the + /// table schema and does not correspond to the order in which the fields are + /// specified in this list. #[prost(string, repeated, tag="1")] pub selected_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL text filtering statement, similar to a WHERE clause in a query. - /// Aggregates are not supported. + /// SQL text filtering statement, similar to a WHERE clause in a query. + /// Aggregates are not supported. /// - /// Examples: "int_field > 5" + /// Examples: "int_field > 5" /// "date_field = CAST('2014-9-27' as DATE)" /// "nullable_field is not NULL" /// "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" /// "numeric_field BETWEEN 1.0 AND 5.0" /// - /// Restricted to a maximum length for 1 MB. + /// Restricted to a maximum length for 1 MB. #[prost(string, tag="2")] pub row_restriction: ::prost::alloc::string::String, #[prost(oneof="table_read_options::OutputFormatSerializationOptions", tags="3, 4")] @@ -418,86 +418,86 @@ pub mod read_session { pub mod table_read_options { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OutputFormatSerializationOptions { - /// Optional. Options specific to the Apache Arrow output format. + /// Optional. Options specific to the Apache Arrow output format. #[prost(message, tag="3")] ArrowSerializationOptions(super::super::ArrowSerializationOptions), - /// Optional. Options specific to the Apache Avro output format + /// Optional. Options specific to the Apache Avro output format #[prost(message, tag="4")] AvroSerializationOptions(super::super::AvroSerializationOptions), } } - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Output only. Avro schema. + /// Output only. Avro schema. #[prost(message, tag="4")] AvroSchema(super::AvroSchema), - /// Output only. Arrow schema. + /// Output only. Arrow schema. #[prost(message, tag="5")] ArrowSchema(super::ArrowSchema), } } -/// Information about a single stream that gets data out of the storage system. -/// Most of the information about `ReadStream` instances is aggregated, making -/// `ReadStream` lightweight. +/// Information about a single stream that gets data out of the storage system. +/// Most of the information about `ReadStream` instances is aggregated, making +/// `ReadStream` lightweight. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadStream { - /// Output only. Name of the stream, in the form - /// `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`. + /// Output only. Name of the stream, in the form + /// `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Information about a single stream that gets data inside the storage system. +/// Information about a single stream that gets data inside the storage system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteStream { - /// Output only. Name of the stream, in the form - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Output only. Name of the stream, in the form + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Type of the stream. + /// Immutable. Type of the stream. #[prost(enumeration="write_stream::Type", tag="2")] pub r#type: i32, - /// Output only. Create time of the stream. For the _default stream, this is the - /// creation_time of the table. + /// Output only. Create time of the stream. For the _default stream, this is the + /// creation_time of the table. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Commit time of the stream. - /// If a stream is of `COMMITTED` type, then it will have a commit_time same as - /// `create_time`. If the stream is of `PENDING` type, empty commit_time - /// means it is not committed. + /// Output only. Commit time of the stream. + /// If a stream is of `COMMITTED` type, then it will have a commit_time same as + /// `create_time`. If the stream is of `PENDING` type, empty commit_time + /// means it is not committed. #[prost(message, optional, tag="4")] pub commit_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The schema of the destination table. It is only returned in - /// `CreateWriteStream` response. Caller should generate data that's - /// compatible with this schema to send in initial `AppendRowsRequest`. - /// The table schema could go out of date during the life time of the stream. + /// Output only. The schema of the destination table. It is only returned in + /// `CreateWriteStream` response. Caller should generate data that's + /// compatible with this schema to send in initial `AppendRowsRequest`. + /// The table schema could go out of date during the life time of the stream. #[prost(message, optional, tag="5")] pub table_schema: ::core::option::Option, - /// Immutable. Mode of the stream. + /// Immutable. Mode of the stream. #[prost(enumeration="write_stream::WriteMode", tag="7")] pub write_mode: i32, - /// Immutable. The geographic location where the stream's dataset resides. See - /// for supported - /// locations. + /// Immutable. The geographic location where the stream's dataset resides. See + /// for supported + /// locations. #[prost(string, tag="8")] pub location: ::prost::alloc::string::String, } /// Nested message and enum types in `WriteStream`. pub mod write_stream { - /// Type enum of the stream. + /// Type enum of the stream. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unknown type. + /// Unknown type. Unspecified = 0, - /// Data will commit automatically and appear as soon as the write is - /// acknowledged. + /// Data will commit automatically and appear as soon as the write is + /// acknowledged. Committed = 1, - /// Data is invisible until the stream is committed. + /// Data is invisible until the stream is committed. Pending = 2, - /// Data is only visible up to the offset to which it was flushed. + /// Data is only visible up to the offset to which it was flushed. Buffered = 3, } impl Type { @@ -514,14 +514,14 @@ pub mod write_stream { } } } - /// Mode enum of the stream. + /// Mode enum of the stream. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WriteMode { - /// Unknown type. + /// Unknown type. Unspecified = 0, - /// Insert new records into the table. - /// It is the default value if customers do not specify it. + /// Insert new records into the table. + /// It is the default value if customers do not specify it. Insert = 1, } impl WriteMode { @@ -537,17 +537,17 @@ pub mod write_stream { } } } -/// Data format for input or output data. +/// Data format for input or output data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Data format is unspecified. + /// Data format is unspecified. Unspecified = 0, - /// Avro is a standard open source row based file format. - /// See for more details. + /// Avro is a standard open source row based file format. + /// See for more details. Avro = 1, - /// Arrow is a standard open source column-based message format. - /// See for more details. + /// Arrow is a standard open source column-based message format. + /// See for more details. Arrow = 2, } impl DataFormat { @@ -563,20 +563,20 @@ impl DataFormat { } } } -/// WriteStreamView is a view enum that controls what details about a write -/// stream should be returned. +/// WriteStreamView is a view enum that controls what details about a write +/// stream should be returned. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WriteStreamView { - /// The default / unset value. + /// The default / unset value. Unspecified = 0, - /// The BASIC projection returns basic metadata about a write stream. The - /// basic view does not include schema information. This is the default view - /// returned by GetWriteStream. + /// The BASIC projection returns basic metadata about a write stream. The + /// basic view does not include schema information. This is the default view + /// returned by GetWriteStream. Basic = 1, - /// The FULL projection returns all available write stream metadata, including - /// the schema. CreateWriteStream returns the full projection of write stream - /// metadata. + /// The FULL projection returns all available write stream metadata, including + /// the schema. CreateWriteStream returns the full projection of write stream + /// metadata. Full = 2, } impl WriteStreamView { @@ -592,63 +592,63 @@ impl WriteStreamView { } } } -/// Request message for `CreateReadSession`. +/// Request message for `CreateReadSession`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReadSessionRequest { - /// Required. The request project that owns the session, in the form of - /// `projects/{project_id}`. + /// Required. The request project that owns the session, in the form of + /// `projects/{project_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Session to be created. + /// Required. Session to be created. #[prost(message, optional, tag="2")] pub read_session: ::core::option::Option, - /// Max initial number of streams. If unset or zero, the server will - /// provide a value of streams so as to produce reasonable throughput. Must be - /// non-negative. The number of streams may be lower than the requested number, - /// depending on the amount parallelism that is reasonable for the table. - /// There is a default system max limit of 1,000. + /// Max initial number of streams. If unset or zero, the server will + /// provide a value of streams so as to produce reasonable throughput. Must be + /// non-negative. The number of streams may be lower than the requested number, + /// depending on the amount parallelism that is reasonable for the table. + /// There is a default system max limit of 1,000. /// - /// This must be greater than or equal to preferred_min_stream_count. - /// Typically, clients should either leave this unset to let the system to - /// determine an upper bound OR set this a size for the maximum "units of work" - /// it can gracefully handle. + /// This must be greater than or equal to preferred_min_stream_count. + /// Typically, clients should either leave this unset to let the system to + /// determine an upper bound OR set this a size for the maximum "units of work" + /// it can gracefully handle. #[prost(int32, tag="3")] pub max_stream_count: i32, - /// The minimum preferred stream count. This parameter can be used to inform - /// the service that there is a desired lower bound on the number of streams. - /// This is typically a target parallelism of the client (e.g. a Spark - /// cluster with N-workers would set this to a low multiple of N to ensure - /// good cluster utilization). + /// The minimum preferred stream count. This parameter can be used to inform + /// the service that there is a desired lower bound on the number of streams. + /// This is typically a target parallelism of the client (e.g. a Spark + /// cluster with N-workers would set this to a low multiple of N to ensure + /// good cluster utilization). /// - /// The system will make a best effort to provide at least this number of - /// streams, but in some cases might provide less. + /// The system will make a best effort to provide at least this number of + /// streams, but in some cases might provide less. #[prost(int32, tag="4")] pub preferred_min_stream_count: i32, } -/// Request message for `ReadRows`. +/// Request message for `ReadRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsRequest { - /// Required. Stream to read rows from. + /// Required. Stream to read rows from. #[prost(string, tag="1")] pub read_stream: ::prost::alloc::string::String, - /// The offset requested must be less than the last row read from Read. - /// Requesting a larger offset is undefined. If not specified, start reading - /// from offset zero. + /// The offset requested must be less than the last row read from Read. + /// Requesting a larger offset is undefined. If not specified, start reading + /// from offset zero. #[prost(int64, tag="2")] pub offset: i64, } -/// Information on if the current connection is being throttled. +/// Information on if the current connection is being throttled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThrottleState { - /// How much this connection is being throttled. Zero means no throttling, - /// 100 means fully throttled. + /// How much this connection is being throttled. Zero means no throttling, + /// 100 means fully throttled. #[prost(int32, tag="1")] pub throttle_percent: i32, } -/// Estimated stream statistics for a given read Stream. +/// Estimated stream statistics for a given read Stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamStats { - /// Represents the progress of the current stream. + /// Represents the progress of the current stream. #[prost(message, optional, tag="2")] pub progress: ::core::option::Option, } @@ -656,203 +656,203 @@ pub struct StreamStats { pub mod stream_stats { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Progress { - /// The fraction of rows assigned to the stream that have been processed by - /// the server so far, not including the rows in the current response - /// message. + /// The fraction of rows assigned to the stream that have been processed by + /// the server so far, not including the rows in the current response + /// message. /// - /// This value, along with `at_response_end`, can be used to interpolate - /// the progress made as the rows in the message are being processed using - /// the following formula: `at_response_start + (at_response_end - - /// at_response_start) * rows_processed_from_response / rows_in_response`. + /// This value, along with `at_response_end`, can be used to interpolate + /// the progress made as the rows in the message are being processed using + /// the following formula: `at_response_start + (at_response_end - + /// at_response_start) * rows_processed_from_response / rows_in_response`. /// - /// Note that if a filter is provided, the `at_response_end` value of the - /// previous response may not necessarily be equal to the - /// `at_response_start` value of the current response. + /// Note that if a filter is provided, the `at_response_end` value of the + /// previous response may not necessarily be equal to the + /// `at_response_start` value of the current response. #[prost(double, tag="1")] pub at_response_start: f64, - /// Similar to `at_response_start`, except that this value includes the - /// rows in the current response. + /// Similar to `at_response_start`, except that this value includes the + /// rows in the current response. #[prost(double, tag="2")] pub at_response_end: f64, } } -/// Response from calling `ReadRows` may include row data, progress and -/// throttling information. +/// Response from calling `ReadRows` may include row data, progress and +/// throttling information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsResponse { - /// Number of serialized rows in the rows block. + /// Number of serialized rows in the rows block. #[prost(int64, tag="6")] pub row_count: i64, - /// Statistics for the stream. + /// Statistics for the stream. #[prost(message, optional, tag="2")] pub stats: ::core::option::Option, - /// Throttling state. If unset, the latest response still describes - /// the current throttling status. + /// Throttling state. If unset, the latest response still describes + /// the current throttling status. #[prost(message, optional, tag="5")] pub throttle_state: ::core::option::Option, - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[prost(oneof="read_rows_response::Rows", tags="3, 4")] pub rows: ::core::option::Option, - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. This schema is equivalent to the one returned by - /// CreateSession. This field is only populated in the first ReadRowsResponse - /// RPC. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. This schema is equivalent to the one returned by + /// CreateSession. This field is only populated in the first ReadRowsResponse + /// RPC. #[prost(oneof="read_rows_response::Schema", tags="7, 8")] pub schema: ::core::option::Option, } /// Nested message and enum types in `ReadRowsResponse`. pub mod read_rows_response { - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rows { - /// Serialized row data in AVRO format. + /// Serialized row data in AVRO format. #[prost(message, tag="3")] AvroRows(super::AvroRows), - /// Serialized row data in Arrow RecordBatch format. + /// Serialized row data in Arrow RecordBatch format. #[prost(message, tag="4")] ArrowRecordBatch(super::ArrowRecordBatch), } - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. This schema is equivalent to the one returned by - /// CreateSession. This field is only populated in the first ReadRowsResponse - /// RPC. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. This schema is equivalent to the one returned by + /// CreateSession. This field is only populated in the first ReadRowsResponse + /// RPC. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Output only. Avro schema. + /// Output only. Avro schema. #[prost(message, tag="7")] AvroSchema(super::AvroSchema), - /// Output only. Arrow schema. + /// Output only. Arrow schema. #[prost(message, tag="8")] ArrowSchema(super::ArrowSchema), } } -/// Request message for `SplitReadStream`. +/// Request message for `SplitReadStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamRequest { - /// Required. Name of the stream to split. + /// Required. Name of the stream to split. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A value in the range (0.0, 1.0) that specifies the fractional point at - /// which the original stream should be split. The actual split point is - /// evaluated on pre-filtered rows, so if a filter is provided, then there is - /// no guarantee that the division of the rows between the new child streams - /// will be proportional to this fractional value. Additionally, because the - /// server-side unit for assigning data is collections of rows, this fraction - /// will always map to a data storage boundary on the server side. + /// A value in the range (0.0, 1.0) that specifies the fractional point at + /// which the original stream should be split. The actual split point is + /// evaluated on pre-filtered rows, so if a filter is provided, then there is + /// no guarantee that the division of the rows between the new child streams + /// will be proportional to this fractional value. Additionally, because the + /// server-side unit for assigning data is collections of rows, this fraction + /// will always map to a data storage boundary on the server side. #[prost(double, tag="2")] pub fraction: f64, } -/// Response message for `SplitReadStream`. +/// Response message for `SplitReadStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamResponse { - /// Primary stream, which contains the beginning portion of - /// |original_stream|. An empty value indicates that the original stream can no - /// longer be split. + /// Primary stream, which contains the beginning portion of + /// |original_stream|. An empty value indicates that the original stream can no + /// longer be split. #[prost(message, optional, tag="1")] pub primary_stream: ::core::option::Option, - /// Remainder stream, which contains the tail of |original_stream|. An empty - /// value indicates that the original stream can no longer be split. + /// Remainder stream, which contains the tail of |original_stream|. An empty + /// value indicates that the original stream can no longer be split. #[prost(message, optional, tag="2")] pub remainder_stream: ::core::option::Option, } -/// Request message for `CreateWriteStream`. +/// Request message for `CreateWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWriteStreamRequest { - /// Required. Reference to the table to which the stream belongs, in the format - /// of `projects/{project}/datasets/{dataset}/tables/{table}`. + /// Required. Reference to the table to which the stream belongs, in the format + /// of `projects/{project}/datasets/{dataset}/tables/{table}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Stream to be created. + /// Required. Stream to be created. #[prost(message, optional, tag="2")] pub write_stream: ::core::option::Option, } -/// Request message for `AppendRows`. +/// Request message for `AppendRows`. /// -/// Due to the nature of AppendRows being a bidirectional streaming RPC, certain -/// parts of the AppendRowsRequest need only be specified for the first request -/// sent each time the gRPC network connection is opened/reopened. +/// Due to the nature of AppendRows being a bidirectional streaming RPC, certain +/// parts of the AppendRowsRequest need only be specified for the first request +/// sent each time the gRPC network connection is opened/reopened. /// -/// The size of a single AppendRowsRequest must be less than 10 MB in size. -/// Requests larger than this return an error, typically `INVALID_ARGUMENT`. +/// The size of a single AppendRowsRequest must be less than 10 MB in size. +/// Requests larger than this return an error, typically `INVALID_ARGUMENT`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendRowsRequest { - /// Required. The write_stream identifies the target of the append operation, and only - /// needs to be specified as part of the first request on the gRPC connection. - /// If provided for subsequent requests, it must match the value of the first - /// request. + /// Required. The write_stream identifies the target of the append operation, and only + /// needs to be specified as part of the first request on the gRPC connection. + /// If provided for subsequent requests, it must match the value of the first + /// request. /// - /// For explicitly created write streams, the format is: + /// For explicitly created write streams, the format is: /// - /// * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{id}` + /// * `projects/{project}/datasets/{dataset}/tables/{table}/streams/{id}` /// - /// For the special default stream, the format is: + /// For the special default stream, the format is: /// - /// * `projects/{project}/datasets/{dataset}/tables/{table}/streams/_default`. + /// * `projects/{project}/datasets/{dataset}/tables/{table}/streams/_default`. #[prost(string, tag="1")] pub write_stream: ::prost::alloc::string::String, - /// If present, the write is only performed if the next append offset is same - /// as the provided value. If not present, the write is performed at the - /// current end of stream. Specifying a value for this field is not allowed - /// when calling AppendRows for the '_default' stream. + /// If present, the write is only performed if the next append offset is same + /// as the provided value. If not present, the write is performed at the + /// current end of stream. Specifying a value for this field is not allowed + /// when calling AppendRows for the '_default' stream. #[prost(message, optional, tag="2")] pub offset: ::core::option::Option, - /// Id set by client to annotate its identity. Only initial request setting is - /// respected. + /// Id set by client to annotate its identity. Only initial request setting is + /// respected. #[prost(string, tag="6")] pub trace_id: ::prost::alloc::string::String, - /// Input rows. The `writer_schema` field must be specified at the initial - /// request and currently, it will be ignored if specified in following - /// requests. Following requests must have data in the same format as the - /// initial request. + /// Input rows. The `writer_schema` field must be specified at the initial + /// request and currently, it will be ignored if specified in following + /// requests. Following requests must have data in the same format as the + /// initial request. #[prost(oneof="append_rows_request::Rows", tags="4")] pub rows: ::core::option::Option, } /// Nested message and enum types in `AppendRowsRequest`. pub mod append_rows_request { - /// ProtoData contains the data rows and schema when constructing append - /// requests. + /// ProtoData contains the data rows and schema when constructing append + /// requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoData { - /// Proto schema used to serialize the data. This value only needs to be - /// provided as part of the first request on a gRPC network connection, - /// and will be ignored for subsequent requests on the connection. + /// Proto schema used to serialize the data. This value only needs to be + /// provided as part of the first request on a gRPC network connection, + /// and will be ignored for subsequent requests on the connection. #[prost(message, optional, tag="1")] pub writer_schema: ::core::option::Option, - /// Serialized row data in protobuf message format. - /// Currently, the backend expects the serialized rows to adhere to - /// proto2 semantics when appending rows, particularly with respect to - /// how default values are encoded. + /// Serialized row data in protobuf message format. + /// Currently, the backend expects the serialized rows to adhere to + /// proto2 semantics when appending rows, particularly with respect to + /// how default values are encoded. #[prost(message, optional, tag="2")] pub rows: ::core::option::Option, } - /// Input rows. The `writer_schema` field must be specified at the initial - /// request and currently, it will be ignored if specified in following - /// requests. Following requests must have data in the same format as the - /// initial request. + /// Input rows. The `writer_schema` field must be specified at the initial + /// request and currently, it will be ignored if specified in following + /// requests. Following requests must have data in the same format as the + /// initial request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rows { - /// Rows in proto format. + /// Rows in proto format. #[prost(message, tag="4")] ProtoRows(ProtoData), } } -/// Response message for `AppendRows`. +/// Response message for `AppendRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendRowsResponse { - /// If backend detects a schema update, pass it to user so that user can - /// use it to input new type of message. It will be empty when no schema - /// updates have occurred. + /// If backend detects a schema update, pass it to user so that user can + /// use it to input new type of message. It will be empty when no schema + /// updates have occurred. #[prost(message, optional, tag="3")] pub updated_schema: ::core::option::Option, - /// If a request failed due to corrupted rows, no rows in the batch will be - /// appended. The API will return row level error info, so that the caller can - /// remove the bad rows and retry the request. + /// If a request failed due to corrupted rows, no rows in the batch will be + /// appended. The API will return row level error info, so that the caller can + /// remove the bad rows and retry the request. #[prost(message, repeated, tag="4")] pub row_errors: ::prost::alloc::vec::Vec, - /// The target of the append operation. Matches the write_stream in the - /// corresponding request. + /// The target of the append operation. Matches the write_stream in the + /// corresponding request. #[prost(string, tag="5")] pub write_stream: ::prost::alloc::string::String, #[prost(oneof="append_rows_response::Response", tags="1, 2")] @@ -860,160 +860,160 @@ pub struct AppendRowsResponse { } /// Nested message and enum types in `AppendRowsResponse`. pub mod append_rows_response { - /// AppendResult is returned for successful append requests. + /// AppendResult is returned for successful append requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendResult { - /// The row offset at which the last append occurred. The offset will not be - /// set if appending using default streams. + /// The row offset at which the last append occurred. The offset will not be + /// set if appending using default streams. #[prost(message, optional, tag="1")] pub offset: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// Result if the append is successful. + /// Result if the append is successful. #[prost(message, tag="1")] AppendResult(AppendResult), - /// Error returned when problems were encountered. If present, - /// it indicates rows were not accepted into the system. - /// Users can retry or continue with other append requests within the - /// same connection. + /// Error returned when problems were encountered. If present, + /// it indicates rows were not accepted into the system. + /// Users can retry or continue with other append requests within the + /// same connection. /// - /// Additional information about error signalling: + /// Additional information about error signalling: /// - /// ALREADY_EXISTS: Happens when an append specified an offset, and the - /// backend already has received data at this offset. Typically encountered - /// in retry scenarios, and can be ignored. + /// ALREADY_EXISTS: Happens when an append specified an offset, and the + /// backend already has received data at this offset. Typically encountered + /// in retry scenarios, and can be ignored. /// - /// OUT_OF_RANGE: Returned when the specified offset in the stream is beyond - /// the current end of the stream. + /// OUT_OF_RANGE: Returned when the specified offset in the stream is beyond + /// the current end of the stream. /// - /// INVALID_ARGUMENT: Indicates a malformed request or data. + /// INVALID_ARGUMENT: Indicates a malformed request or data. /// - /// ABORTED: Request processing is aborted because of prior failures. The - /// request can be retried if previous failure is addressed. + /// ABORTED: Request processing is aborted because of prior failures. The + /// request can be retried if previous failure is addressed. /// - /// INTERNAL: Indicates server side error(s) that can be retried. + /// INTERNAL: Indicates server side error(s) that can be retried. #[prost(message, tag="2")] Error(super::super::super::super::super::rpc::Status), } } -/// Request message for `GetWriteStreamRequest`. +/// Request message for `GetWriteStreamRequest`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWriteStreamRequest { - /// Required. Name of the stream to get, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Required. Name of the stream to get, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Indicates whether to get full or partial view of the WriteStream. If - /// not set, view returned will be basic. + /// Indicates whether to get full or partial view of the WriteStream. If + /// not set, view returned will be basic. #[prost(enumeration="WriteStreamView", tag="3")] pub view: i32, } -/// Request message for `BatchCommitWriteStreams`. +/// Request message for `BatchCommitWriteStreams`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCommitWriteStreamsRequest { - /// Required. Parent table that all the streams should belong to, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}`. + /// Required. Parent table that all the streams should belong to, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The group of streams that will be committed atomically. + /// Required. The group of streams that will be committed atomically. #[prost(string, repeated, tag="2")] pub write_streams: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for `BatchCommitWriteStreams`. +/// Response message for `BatchCommitWriteStreams`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCommitWriteStreamsResponse { - /// The time at which streams were committed in microseconds granularity. - /// This field will only exist when there are no stream errors. - /// **Note** if this field is not set, it means the commit was not successful. + /// The time at which streams were committed in microseconds granularity. + /// This field will only exist when there are no stream errors. + /// **Note** if this field is not set, it means the commit was not successful. #[prost(message, optional, tag="1")] pub commit_time: ::core::option::Option<::prost_types::Timestamp>, - /// Stream level error if commit failed. Only streams with error will be in - /// the list. - /// If empty, there is no error and all streams are committed successfully. - /// If non empty, certain streams have errors and ZERO stream is committed due - /// to atomicity guarantee. + /// Stream level error if commit failed. Only streams with error will be in + /// the list. + /// If empty, there is no error and all streams are committed successfully. + /// If non empty, certain streams have errors and ZERO stream is committed due + /// to atomicity guarantee. #[prost(message, repeated, tag="2")] pub stream_errors: ::prost::alloc::vec::Vec, } -/// Request message for invoking `FinalizeWriteStream`. +/// Request message for invoking `FinalizeWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalizeWriteStreamRequest { - /// Required. Name of the stream to finalize, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Required. Name of the stream to finalize, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for `FinalizeWriteStream`. +/// Response message for `FinalizeWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalizeWriteStreamResponse { - /// Number of rows in the finalized stream. + /// Number of rows in the finalized stream. #[prost(int64, tag="1")] pub row_count: i64, } -/// Request message for `FlushRows`. +/// Request message for `FlushRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlushRowsRequest { - /// Required. The stream that is the target of the flush operation. + /// Required. The stream that is the target of the flush operation. #[prost(string, tag="1")] pub write_stream: ::prost::alloc::string::String, - /// Ending offset of the flush operation. Rows before this offset(including - /// this offset) will be flushed. + /// Ending offset of the flush operation. Rows before this offset(including + /// this offset) will be flushed. #[prost(message, optional, tag="2")] pub offset: ::core::option::Option, } -/// Respond message for `FlushRows`. +/// Respond message for `FlushRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlushRowsResponse { - /// The rows before this offset (including this offset) are flushed. + /// The rows before this offset (including this offset) are flushed. #[prost(int64, tag="1")] pub offset: i64, } -/// Structured custom BigQuery Storage error message. The error can be attached -/// as error details in the returned rpc Status. In particular, the use of error -/// codes allows more structured error handling, and reduces the need to evaluate -/// unstructured error text strings. +/// Structured custom BigQuery Storage error message. The error can be attached +/// as error details in the returned rpc Status. In particular, the use of error +/// codes allows more structured error handling, and reduces the need to evaluate +/// unstructured error text strings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StorageError { - /// BigQuery Storage specific error code. + /// BigQuery Storage specific error code. #[prost(enumeration="storage_error::StorageErrorCode", tag="1")] pub code: i32, - /// Name of the failed entity. + /// Name of the failed entity. #[prost(string, tag="2")] pub entity: ::prost::alloc::string::String, - /// Message that describes the error. + /// Message that describes the error. #[prost(string, tag="3")] pub error_message: ::prost::alloc::string::String, } /// Nested message and enum types in `StorageError`. pub mod storage_error { - /// Error code for `StorageError`. + /// Error code for `StorageError`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageErrorCode { - /// Default error. + /// Default error. Unspecified = 0, - /// Table is not found in the system. + /// Table is not found in the system. TableNotFound = 1, - /// Stream is already committed. + /// Stream is already committed. StreamAlreadyCommitted = 2, - /// Stream is not found. + /// Stream is not found. StreamNotFound = 3, - /// Invalid Stream type. - /// For example, you try to commit a stream that is not pending. + /// Invalid Stream type. + /// For example, you try to commit a stream that is not pending. InvalidStreamType = 4, - /// Invalid Stream state. - /// For example, you try to commit a stream that is not finalized or is - /// garbaged. + /// Invalid Stream state. + /// For example, you try to commit a stream that is not finalized or is + /// garbaged. InvalidStreamState = 5, - /// Stream is finalized. + /// Stream is finalized. StreamFinalized = 6, - /// There is a schema mismatch and it is caused by user schema has extra - /// field than bigquery schema. + /// There is a schema mismatch and it is caused by user schema has extra + /// field than bigquery schema. SchemaMismatchExtraFields = 7, - /// Offset already exists. + /// Offset already exists. OffsetAlreadyExists = 8, - /// Offset out of range. + /// Offset out of range. OffsetOutOfRange = 9, } impl StorageErrorCode { @@ -1037,28 +1037,28 @@ pub mod storage_error { } } } -/// The message that presents row level error info in a request. +/// The message that presents row level error info in a request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RowError { - /// Index of the malformed row in the request. + /// Index of the malformed row in the request. #[prost(int64, tag="1")] pub index: i64, - /// Structured error reason for a row error. + /// Structured error reason for a row error. #[prost(enumeration="row_error::RowErrorCode", tag="2")] pub code: i32, - /// Description of the issue encountered when processing the row. + /// Description of the issue encountered when processing the row. #[prost(string, tag="3")] pub message: ::prost::alloc::string::String, } /// Nested message and enum types in `RowError`. pub mod row_error { - /// Error code for `RowError`. + /// Error code for `RowError`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RowErrorCode { - /// Default error. + /// Default error. Unspecified = 0, - /// One or more fields in the row has errors. + /// One or more fields in the row has errors. FieldsError = 1, } impl RowErrorCode { diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta1.rs index f2fe0a50c..8ccbea99e 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta1.rs @@ -1,51 +1,51 @@ -/// Arrow schema. +/// Arrow schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowSchema { - /// IPC serialized Arrow schema. + /// IPC serialized Arrow schema. #[prost(bytes="vec", tag="1")] pub serialized_schema: ::prost::alloc::vec::Vec, } -/// Arrow RecordBatch. +/// Arrow RecordBatch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowRecordBatch { - /// IPC serialized Arrow RecordBatch. + /// IPC serialized Arrow RecordBatch. #[prost(bytes="vec", tag="1")] pub serialized_record_batch: ::prost::alloc::vec::Vec, - /// The count of rows in the returning block. + /// The count of rows in the returning block. #[prost(int64, tag="2")] pub row_count: i64, } -/// Avro schema. +/// Avro schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSchema { - /// Json serialized schema, as described at - /// + /// Json serialized schema, as described at + /// #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, } -/// Avro rows. +/// Avro rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroRows { - /// Binary serialized rows in a block. + /// Binary serialized rows in a block. #[prost(bytes="vec", tag="1")] pub serialized_binary_rows: ::prost::alloc::vec::Vec, - /// The count of rows in the returning block. + /// The count of rows in the returning block. #[prost(int64, tag="2")] pub row_count: i64, } -/// Options dictating how we read a table. +/// Options dictating how we read a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReadOptions { - /// Optional. Names of the fields in the table that should be read. If empty, - /// all fields will be read. If the specified field is a nested field, all the - /// sub-fields in the field will be selected. The output field order is - /// unrelated to the order of fields in selected_fields. + /// Optional. Names of the fields in the table that should be read. If empty, + /// all fields will be read. If the specified field is a nested field, all the + /// sub-fields in the field will be selected. The output field order is + /// unrelated to the order of fields in selected_fields. #[prost(string, repeated, tag="1")] pub selected_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. SQL text filtering statement, similar to a WHERE clause in - /// a query. Aggregates are not supported. + /// Optional. SQL text filtering statement, similar to a WHERE clause in + /// a query. Aggregates are not supported. /// - /// Examples: "int_field > 5" + /// Examples: "int_field > 5" /// "date_field = CAST('2014-9-27' as DATE)" /// "nullable_field is not NULL" /// "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" @@ -53,288 +53,288 @@ pub struct TableReadOptions { #[prost(string, tag="2")] pub row_restriction: ::prost::alloc::string::String, } -/// Table reference that includes just the 3 strings needed to identify a table. +/// Table reference that includes just the 3 strings needed to identify a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReference { - /// The assigned project ID of the project. + /// The assigned project ID of the project. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// The ID of the dataset in the above project. + /// The ID of the dataset in the above project. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// The ID of the table in the above dataset. + /// The ID of the table in the above dataset. #[prost(string, tag="3")] pub table_id: ::prost::alloc::string::String, } -/// All fields in this message optional. +/// All fields in this message optional. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableModifiers { - /// The snapshot time of the table. If not set, interpreted as now. + /// The snapshot time of the table. If not set, interpreted as now. #[prost(message, optional, tag="1")] pub snapshot_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Information about a single data stream within a read session. +/// Information about a single data stream within a read session. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Stream { - /// Name of the stream, in the form - /// `projects/{project_id}/locations/{location}/streams/{stream_id}`. + /// Name of the stream, in the form + /// `projects/{project_id}/locations/{location}/streams/{stream_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Expresses a point within a given stream using an offset position. +/// Expresses a point within a given stream using an offset position. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamPosition { - /// Identifier for a given Stream. + /// Identifier for a given Stream. #[prost(message, optional, tag="1")] pub stream: ::core::option::Option, - /// Position in the stream. + /// Position in the stream. #[prost(int64, tag="2")] pub offset: i64, } -/// Information returned from a `CreateReadSession` request. +/// Information returned from a `CreateReadSession` request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadSession { - /// Unique identifier for the session, in the form - /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. + /// Unique identifier for the session, in the form + /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Time at which the session becomes invalid. After this time, subsequent - /// requests to read this Session will return errors. + /// Time at which the session becomes invalid. After this time, subsequent + /// requests to read this Session will return errors. #[prost(message, optional, tag="2")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Streams associated with this session. + /// Streams associated with this session. #[prost(message, repeated, tag="4")] pub streams: ::prost::alloc::vec::Vec, - /// Table that this ReadSession is reading from. + /// Table that this ReadSession is reading from. #[prost(message, optional, tag="7")] pub table_reference: ::core::option::Option, - /// Any modifiers which are applied when reading from the specified table. + /// Any modifiers which are applied when reading from the specified table. #[prost(message, optional, tag="8")] pub table_modifiers: ::core::option::Option, - /// The strategy to use for distributing data among the streams. + /// The strategy to use for distributing data among the streams. #[prost(enumeration="ShardingStrategy", tag="9")] pub sharding_strategy: i32, - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[prost(oneof="read_session::Schema", tags="5, 6")] pub schema: ::core::option::Option, } /// Nested message and enum types in `ReadSession`. pub mod read_session { - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Avro schema. + /// Avro schema. #[prost(message, tag="5")] AvroSchema(super::AvroSchema), - /// Arrow schema. + /// Arrow schema. #[prost(message, tag="6")] ArrowSchema(super::ArrowSchema), } } -/// Creates a new read session, which may include additional options such as -/// requested parallelism, projection filters and constraints. +/// Creates a new read session, which may include additional options such as +/// requested parallelism, projection filters and constraints. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReadSessionRequest { - /// Required. Reference to the table to read. + /// Required. Reference to the table to read. #[prost(message, optional, tag="1")] pub table_reference: ::core::option::Option, - /// Required. String of the form `projects/{project_id}` indicating the - /// project this ReadSession is associated with. This is the project that will - /// be billed for usage. + /// Required. String of the form `projects/{project_id}` indicating the + /// project this ReadSession is associated with. This is the project that will + /// be billed for usage. #[prost(string, tag="6")] pub parent: ::prost::alloc::string::String, - /// Any modifiers to the Table (e.g. snapshot timestamp). + /// Any modifiers to the Table (e.g. snapshot timestamp). #[prost(message, optional, tag="2")] pub table_modifiers: ::core::option::Option, - /// Initial number of streams. If unset or 0, we will - /// provide a value of streams so as to produce reasonable throughput. Must be - /// non-negative. The number of streams may be lower than the requested number, - /// depending on the amount parallelism that is reasonable for the table and - /// the maximum amount of parallelism allowed by the system. + /// Initial number of streams. If unset or 0, we will + /// provide a value of streams so as to produce reasonable throughput. Must be + /// non-negative. The number of streams may be lower than the requested number, + /// depending on the amount parallelism that is reasonable for the table and + /// the maximum amount of parallelism allowed by the system. /// - /// Streams must be read starting from offset 0. + /// Streams must be read starting from offset 0. #[prost(int32, tag="3")] pub requested_streams: i32, - /// Read options for this session (e.g. column selection, filters). + /// Read options for this session (e.g. column selection, filters). #[prost(message, optional, tag="4")] pub read_options: ::core::option::Option, - /// Data output format. Currently default to Avro. + /// Data output format. Currently default to Avro. #[prost(enumeration="DataFormat", tag="5")] pub format: i32, - /// The strategy to use for distributing data among multiple streams. Currently - /// defaults to liquid sharding. + /// The strategy to use for distributing data among multiple streams. Currently + /// defaults to liquid sharding. #[prost(enumeration="ShardingStrategy", tag="7")] pub sharding_strategy: i32, } -/// Requesting row data via `ReadRows` must provide Stream position information. +/// Requesting row data via `ReadRows` must provide Stream position information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsRequest { - /// Required. Identifier of the position in the stream to start reading from. - /// The offset requested must be less than the last row read from ReadRows. - /// Requesting a larger offset is undefined. + /// Required. Identifier of the position in the stream to start reading from. + /// The offset requested must be less than the last row read from ReadRows. + /// Requesting a larger offset is undefined. #[prost(message, optional, tag="1")] pub read_position: ::core::option::Option, } -/// Progress information for a given Stream. +/// Progress information for a given Stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamStatus { - /// Number of estimated rows in the current stream. May change over time as - /// different readers in the stream progress at rates which are relatively fast - /// or slow. + /// Number of estimated rows in the current stream. May change over time as + /// different readers in the stream progress at rates which are relatively fast + /// or slow. #[prost(int64, tag="1")] pub estimated_row_count: i64, - /// A value in the range [0.0, 1.0] that represents the fraction of rows - /// assigned to this stream that have been processed by the server. In the - /// presence of read filters, the server may process more rows than it returns, - /// so this value reflects progress through the pre-filtering rows. + /// A value in the range [0.0, 1.0] that represents the fraction of rows + /// assigned to this stream that have been processed by the server. In the + /// presence of read filters, the server may process more rows than it returns, + /// so this value reflects progress through the pre-filtering rows. /// - /// This value is only populated for sessions created through the BALANCED - /// sharding strategy. + /// This value is only populated for sessions created through the BALANCED + /// sharding strategy. #[prost(float, tag="2")] pub fraction_consumed: f32, - /// Represents the progress of the current stream. + /// Represents the progress of the current stream. #[prost(message, optional, tag="4")] pub progress: ::core::option::Option, - /// Whether this stream can be split. For sessions that use the LIQUID sharding - /// strategy, this value is always false. For BALANCED sessions, this value is - /// false when enough data have been read such that no more splits are possible - /// at that point or beyond. For small tables or streams that are the result of - /// a chain of splits, this value may never be true. + /// Whether this stream can be split. For sessions that use the LIQUID sharding + /// strategy, this value is always false. For BALANCED sessions, this value is + /// false when enough data have been read such that no more splits are possible + /// at that point or beyond. For small tables or streams that are the result of + /// a chain of splits, this value may never be true. #[prost(bool, tag="3")] pub is_splittable: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Progress { - /// The fraction of rows assigned to the stream that have been processed by the - /// server so far, not including the rows in the current response message. + /// The fraction of rows assigned to the stream that have been processed by the + /// server so far, not including the rows in the current response message. /// - /// This value, along with `at_response_end`, can be used to interpolate the - /// progress made as the rows in the message are being processed using the - /// following formula: `at_response_start + (at_response_end - - /// at_response_start) * rows_processed_from_response / rows_in_response`. + /// This value, along with `at_response_end`, can be used to interpolate the + /// progress made as the rows in the message are being processed using the + /// following formula: `at_response_start + (at_response_end - + /// at_response_start) * rows_processed_from_response / rows_in_response`. /// - /// Note that if a filter is provided, the `at_response_end` value of the - /// previous response may not necessarily be equal to the `at_response_start` - /// value of the current response. + /// Note that if a filter is provided, the `at_response_end` value of the + /// previous response may not necessarily be equal to the `at_response_start` + /// value of the current response. #[prost(float, tag="1")] pub at_response_start: f32, - /// Similar to `at_response_start`, except that this value includes the rows in - /// the current response. + /// Similar to `at_response_start`, except that this value includes the rows in + /// the current response. #[prost(float, tag="2")] pub at_response_end: f32, } -/// Information on if the current connection is being throttled. +/// Information on if the current connection is being throttled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThrottleStatus { - /// How much this connection is being throttled. - /// 0 is no throttling, 100 is completely throttled. + /// How much this connection is being throttled. + /// 0 is no throttling, 100 is completely throttled. #[prost(int32, tag="1")] pub throttle_percent: i32, } -/// Response from calling `ReadRows` may include row data, progress and -/// throttling information. +/// Response from calling `ReadRows` may include row data, progress and +/// throttling information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsResponse { - /// Number of serialized rows in the rows block. This value is recorded here, - /// in addition to the row_count values in the output-specific messages in - /// `rows`, so that code which needs to record progress through the stream can - /// do so in an output format-independent way. + /// Number of serialized rows in the rows block. This value is recorded here, + /// in addition to the row_count values in the output-specific messages in + /// `rows`, so that code which needs to record progress through the stream can + /// do so in an output format-independent way. #[prost(int64, tag="6")] pub row_count: i64, - /// Estimated stream statistics. + /// Estimated stream statistics. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, - /// Throttling status. If unset, the latest response still describes - /// the current throttling status. + /// Throttling status. If unset, the latest response still describes + /// the current throttling status. #[prost(message, optional, tag="5")] pub throttle_status: ::core::option::Option, - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[prost(oneof="read_rows_response::Rows", tags="3, 4")] pub rows: ::core::option::Option, } /// Nested message and enum types in `ReadRowsResponse`. pub mod read_rows_response { - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rows { - /// Serialized row data in AVRO format. + /// Serialized row data in AVRO format. #[prost(message, tag="3")] AvroRows(super::AvroRows), - /// Serialized row data in Arrow RecordBatch format. + /// Serialized row data in Arrow RecordBatch format. #[prost(message, tag="4")] ArrowRecordBatch(super::ArrowRecordBatch), } } -/// Information needed to request additional streams for an established read -/// session. +/// Information needed to request additional streams for an established read +/// session. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateReadSessionStreamsRequest { - /// Required. Must be a non-expired session obtained from a call to - /// CreateReadSession. Only the name field needs to be set. + /// Required. Must be a non-expired session obtained from a call to + /// CreateReadSession. Only the name field needs to be set. #[prost(message, optional, tag="1")] pub session: ::core::option::Option, - /// Required. Number of new streams requested. Must be positive. - /// Number of added streams may be less than this, see CreateReadSessionRequest - /// for more information. + /// Required. Number of new streams requested. Must be positive. + /// Number of added streams may be less than this, see CreateReadSessionRequest + /// for more information. #[prost(int32, tag="2")] pub requested_streams: i32, } -/// The response from `BatchCreateReadSessionStreams` returns the stream -/// identifiers for the newly created streams. +/// The response from `BatchCreateReadSessionStreams` returns the stream +/// identifiers for the newly created streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCreateReadSessionStreamsResponse { - /// Newly added streams. + /// Newly added streams. #[prost(message, repeated, tag="1")] pub streams: ::prost::alloc::vec::Vec, } -/// Request information for invoking `FinalizeStream`. +/// Request information for invoking `FinalizeStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalizeStreamRequest { - /// Required. Stream to finalize. + /// Required. Stream to finalize. #[prost(message, optional, tag="2")] pub stream: ::core::option::Option, } -/// Request information for `SplitReadStream`. +/// Request information for `SplitReadStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamRequest { - /// Required. Stream to split. + /// Required. Stream to split. #[prost(message, optional, tag="1")] pub original_stream: ::core::option::Option, - /// A value in the range (0.0, 1.0) that specifies the fractional point at - /// which the original stream should be split. The actual split point is - /// evaluated on pre-filtered rows, so if a filter is provided, then there is - /// no guarantee that the division of the rows between the new child streams - /// will be proportional to this fractional value. Additionally, because the - /// server-side unit for assigning data is collections of rows, this fraction - /// will always map to to a data storage boundary on the server side. + /// A value in the range (0.0, 1.0) that specifies the fractional point at + /// which the original stream should be split. The actual split point is + /// evaluated on pre-filtered rows, so if a filter is provided, then there is + /// no guarantee that the division of the rows between the new child streams + /// will be proportional to this fractional value. Additionally, because the + /// server-side unit for assigning data is collections of rows, this fraction + /// will always map to to a data storage boundary on the server side. #[prost(float, tag="2")] pub fraction: f32, } -/// Response from `SplitReadStream`. +/// Response from `SplitReadStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamResponse { - /// Primary stream, which contains the beginning portion of - /// |original_stream|. An empty value indicates that the original stream can no - /// longer be split. + /// Primary stream, which contains the beginning portion of + /// |original_stream|. An empty value indicates that the original stream can no + /// longer be split. #[prost(message, optional, tag="1")] pub primary_stream: ::core::option::Option, - /// Remainder stream, which contains the tail of |original_stream|. An empty - /// value indicates that the original stream can no longer be split. + /// Remainder stream, which contains the tail of |original_stream|. An empty + /// value indicates that the original stream can no longer be split. #[prost(message, optional, tag="2")] pub remainder_stream: ::core::option::Option, } -/// Data format for input or output data. +/// Data format for input or output data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Data format is unspecified. + /// Data format is unspecified. Unspecified = 0, - /// Avro is a standard open source row based file format. - /// See for more details. + /// Avro is a standard open source row based file format. + /// See for more details. Avro = 1, Arrow = 3, } @@ -351,23 +351,23 @@ impl DataFormat { } } } -/// Strategy for distributing data among multiple streams in a read session. +/// Strategy for distributing data among multiple streams in a read session. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ShardingStrategy { - /// Same as LIQUID. + /// Same as LIQUID. Unspecified = 0, - /// Assigns data to each stream based on the client's read rate. The faster the - /// client reads from a stream, the more data is assigned to the stream. In - /// this strategy, it's possible to read all data from a single stream even if - /// there are other streams present. + /// Assigns data to each stream based on the client's read rate. The faster the + /// client reads from a stream, the more data is assigned to the stream. In + /// this strategy, it's possible to read all data from a single stream even if + /// there are other streams present. Liquid = 1, - /// Assigns data to each stream such that roughly the same number of rows can - /// be read from each stream. Because the server-side unit for assigning data - /// is collections of rows, the API does not guarantee that each stream will - /// return the same number or rows. Additionally, the limits are enforced based - /// on the number of pre-filtering rows, so some filters can lead to lopsided - /// assignments. + /// Assigns data to each stream such that roughly the same number of rows can + /// be read from each stream. Because the server-side unit for assigning data + /// is collections of rows, the API does not guarantee that each stream will + /// return the same number or rows. Additionally, the limits are enforced based + /// on the number of pre-filtering rows, so some filters can lead to lopsided + /// assignments. Balanced = 2, } impl ShardingStrategy { diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta2.rs b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta2.rs index c687a93e1..25cb8cb0e 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta2.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.storage.v1beta2.rs @@ -1,40 +1,40 @@ -/// Arrow schema as specified in -/// -/// and serialized to bytes using IPC: -/// +/// Arrow schema as specified in +/// +/// and serialized to bytes using IPC: +/// /// -/// See code samples on how this message can be deserialized. +/// See code samples on how this message can be deserialized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowSchema { - /// IPC serialized Arrow schema. + /// IPC serialized Arrow schema. #[prost(bytes="vec", tag="1")] pub serialized_schema: ::prost::alloc::vec::Vec, } -/// Arrow RecordBatch. +/// Arrow RecordBatch. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowRecordBatch { - /// IPC-serialized Arrow RecordBatch. + /// IPC-serialized Arrow RecordBatch. #[prost(bytes="vec", tag="1")] pub serialized_record_batch: ::prost::alloc::vec::Vec, } -/// Contains options specific to Arrow Serialization. +/// Contains options specific to Arrow Serialization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArrowSerializationOptions { - /// The Arrow IPC format to use. + /// The Arrow IPC format to use. #[prost(enumeration="arrow_serialization_options::Format", tag="1")] pub format: i32, } /// Nested message and enum types in `ArrowSerializationOptions`. pub mod arrow_serialization_options { - /// The IPC format to use when serializing Arrow streams. + /// The IPC format to use when serializing Arrow streams. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Format { - /// If unspecied the IPC format as of 0.15 release will be used. + /// If unspecied the IPC format as of 0.15 release will be used. Unspecified = 0, - /// Use the legacy IPC message format as of Apache Arrow Release 0.14. + /// Use the legacy IPC message format as of Apache Arrow Release 0.14. Arrow014 = 1, - /// Use the message format as of Apache Arrow Release 0.15. + /// Use the message format as of Apache Arrow Release 0.15. Arrow015 = 2, } impl Format { @@ -51,64 +51,64 @@ pub mod arrow_serialization_options { } } } -/// Avro schema. +/// Avro schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSchema { - /// Json serialized schema, as described at - /// + /// Json serialized schema, as described at + /// #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, } -/// Avro rows. +/// Avro rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroRows { - /// Binary serialized rows in a block. + /// Binary serialized rows in a block. #[prost(bytes="vec", tag="1")] pub serialized_binary_rows: ::prost::alloc::vec::Vec, } -/// ProtoSchema describes the schema of the serialized protocol buffer data rows. +/// ProtoSchema describes the schema of the serialized protocol buffer data rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoSchema { - /// Descriptor for input message. The descriptor has to be self contained, - /// including all the nested types, excepted for proto buffer well known types - /// (). + /// Descriptor for input message. The descriptor has to be self contained, + /// including all the nested types, excepted for proto buffer well known types + /// (). #[prost(message, optional, tag="1")] pub proto_descriptor: ::core::option::Option<::prost_types::DescriptorProto>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoRows { - /// A sequence of rows serialized as a Protocol Buffer. + /// A sequence of rows serialized as a Protocol Buffer. /// - /// See for more - /// information on deserializing this field. + /// See for more + /// information on deserializing this field. #[prost(bytes="vec", repeated, tag="1")] pub serialized_rows: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } -/// Schema of a table +/// Schema of a table #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSchema { - /// Describes the fields in a table. + /// Describes the fields in a table. #[prost(message, repeated, tag="1")] pub fields: ::prost::alloc::vec::Vec, } -/// A field in TableSchema +/// A field in TableSchema #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableFieldSchema { - /// Required. The field name. The name must contain only letters (a-z, A-Z), - /// numbers (0-9), or underscores (_), and must start with a letter or - /// underscore. The maximum length is 128 characters. + /// Required. The field name. The name must contain only letters (a-z, A-Z), + /// numbers (0-9), or underscores (_), and must start with a letter or + /// underscore. The maximum length is 128 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The field data type. + /// Required. The field data type. #[prost(enumeration="table_field_schema::Type", tag="2")] pub r#type: i32, - /// Optional. The field mode. The default value is NULLABLE. + /// Optional. The field mode. The default value is NULLABLE. #[prost(enumeration="table_field_schema::Mode", tag="3")] pub mode: i32, - /// Optional. Describes the nested schema fields if the type property is set to STRUCT. + /// Optional. Describes the nested schema fields if the type property is set to STRUCT. #[prost(message, repeated, tag="4")] pub fields: ::prost::alloc::vec::Vec, - /// Optional. The field description. The maximum length is 1,024 characters. + /// Optional. The field description. The maximum length is 1,024 characters. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, } @@ -117,37 +117,37 @@ pub mod table_field_schema { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Illegal value + /// Illegal value Unspecified = 0, - /// 64K, UTF8 + /// 64K, UTF8 String = 1, - /// 64-bit signed + /// 64-bit signed Int64 = 2, - /// 64-bit IEEE floating point + /// 64-bit IEEE floating point Double = 3, - /// Aggregate type + /// Aggregate type Struct = 4, - /// 64K, Binary + /// 64K, Binary Bytes = 5, - /// 2-valued + /// 2-valued Bool = 6, - /// 64-bit signed usec since UTC epoch + /// 64-bit signed usec since UTC epoch Timestamp = 7, - /// Civil date - Year, Month, Day + /// Civil date - Year, Month, Day Date = 8, - /// Civil time - Hour, Minute, Second, Microseconds + /// Civil time - Hour, Minute, Second, Microseconds Time = 9, - /// Combination of civil date and civil time + /// Combination of civil date and civil time Datetime = 10, - /// Geography object + /// Geography object Geography = 11, - /// Numeric value + /// Numeric value Numeric = 12, - /// BigNumeric value + /// BigNumeric value Bignumeric = 13, - /// Interval + /// Interval Interval = 14, - /// JSON, String + /// JSON, String Json = 15, } impl Type { @@ -179,7 +179,7 @@ pub mod table_field_schema { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// Illegal value + /// Illegal value Unspecified = 0, Nullable = 1, Required = 2, @@ -200,143 +200,143 @@ pub mod table_field_schema { } } } -/// Information about the ReadSession. +/// Information about the ReadSession. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadSession { - /// Output only. Unique identifier for the session, in the form - /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. + /// Output only. Unique identifier for the session, in the form + /// `projects/{project_id}/locations/{location}/sessions/{session_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Time at which the session becomes invalid. After this time, subsequent - /// requests to read this Session will return errors. The expire_time is - /// automatically assigned and currently cannot be specified or updated. + /// Output only. Time at which the session becomes invalid. After this time, subsequent + /// requests to read this Session will return errors. The expire_time is + /// automatically assigned and currently cannot be specified or updated. #[prost(message, optional, tag="2")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. Data format of the output data. + /// Immutable. Data format of the output data. #[prost(enumeration="DataFormat", tag="3")] pub data_format: i32, - /// Immutable. Table that this ReadSession is reading from, in the form - /// `projects/{project_id}/datasets/{dataset_id}/tables/{table_id} + /// Immutable. Table that this ReadSession is reading from, in the form + /// `projects/{project_id}/datasets/{dataset_id}/tables/{table_id} #[prost(string, tag="6")] pub table: ::prost::alloc::string::String, - /// Optional. Any modifiers which are applied when reading from the specified table. + /// Optional. Any modifiers which are applied when reading from the specified table. #[prost(message, optional, tag="7")] pub table_modifiers: ::core::option::Option, - /// Optional. Read options for this session (e.g. column selection, filters). + /// Optional. Read options for this session (e.g. column selection, filters). #[prost(message, optional, tag="8")] pub read_options: ::core::option::Option, - /// Output only. A list of streams created with the session. + /// Output only. A list of streams created with the session. /// - /// At least one stream is created with the session. In the future, larger - /// request_stream_count values *may* result in this list being unpopulated, - /// in that case, the user will need to use a List method to get the streams - /// instead, which is not yet available. + /// At least one stream is created with the session. In the future, larger + /// request_stream_count values *may* result in this list being unpopulated, + /// in that case, the user will need to use a List method to get the streams + /// instead, which is not yet available. #[prost(message, repeated, tag="10")] pub streams: ::prost::alloc::vec::Vec, - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[prost(oneof="read_session::Schema", tags="4, 5")] pub schema: ::core::option::Option, } /// Nested message and enum types in `ReadSession`. pub mod read_session { - /// Additional attributes when reading a table. + /// Additional attributes when reading a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableModifiers { - /// The snapshot time of the table. If not set, interpreted as now. + /// The snapshot time of the table. If not set, interpreted as now. #[prost(message, optional, tag="1")] pub snapshot_time: ::core::option::Option<::prost_types::Timestamp>, } - /// Options dictating how we read a table. + /// Options dictating how we read a table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReadOptions { - /// Names of the fields in the table that should be read. If empty, all - /// fields will be read. If the specified field is a nested field, all - /// the sub-fields in the field will be selected. The output field order is - /// unrelated to the order of fields in selected_fields. + /// Names of the fields in the table that should be read. If empty, all + /// fields will be read. If the specified field is a nested field, all + /// the sub-fields in the field will be selected. The output field order is + /// unrelated to the order of fields in selected_fields. #[prost(string, repeated, tag="1")] pub selected_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL text filtering statement, similar to a WHERE clause in a query. - /// Aggregates are not supported. + /// SQL text filtering statement, similar to a WHERE clause in a query. + /// Aggregates are not supported. /// - /// Examples: "int_field > 5" + /// Examples: "int_field > 5" /// "date_field = CAST('2014-9-27' as DATE)" /// "nullable_field is not NULL" /// "st_equals(geo_field, st_geofromtext("POINT(2, 2)"))" /// "numeric_field BETWEEN 1.0 AND 5.0" /// - /// Restricted to a maximum length for 1 MB. + /// Restricted to a maximum length for 1 MB. #[prost(string, tag="2")] pub row_restriction: ::prost::alloc::string::String, - /// Optional. Options specific to the Apache Arrow output format. + /// Optional. Options specific to the Apache Arrow output format. #[prost(message, optional, tag="3")] pub arrow_serialization_options: ::core::option::Option, } - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Output only. Avro schema. + /// Output only. Avro schema. #[prost(message, tag="4")] AvroSchema(super::AvroSchema), - /// Output only. Arrow schema. + /// Output only. Arrow schema. #[prost(message, tag="5")] ArrowSchema(super::ArrowSchema), } } -/// Information about a single stream that gets data out of the storage system. -/// Most of the information about `ReadStream` instances is aggregated, making -/// `ReadStream` lightweight. +/// Information about a single stream that gets data out of the storage system. +/// Most of the information about `ReadStream` instances is aggregated, making +/// `ReadStream` lightweight. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadStream { - /// Output only. Name of the stream, in the form - /// `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`. + /// Output only. Name of the stream, in the form + /// `projects/{project_id}/locations/{location}/sessions/{session_id}/streams/{stream_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Information about a single stream that gets data inside the storage system. +/// Information about a single stream that gets data inside the storage system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteStream { - /// Output only. Name of the stream, in the form - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Output only. Name of the stream, in the form + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. Type of the stream. + /// Immutable. Type of the stream. #[prost(enumeration="write_stream::Type", tag="2")] pub r#type: i32, - /// Output only. Create time of the stream. For the _default stream, this is the - /// creation_time of the table. + /// Output only. Create time of the stream. For the _default stream, this is the + /// creation_time of the table. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Commit time of the stream. - /// If a stream is of `COMMITTED` type, then it will have a commit_time same as - /// `create_time`. If the stream is of `PENDING` type, commit_time being empty - /// means it is not committed. + /// Output only. Commit time of the stream. + /// If a stream is of `COMMITTED` type, then it will have a commit_time same as + /// `create_time`. If the stream is of `PENDING` type, commit_time being empty + /// means it is not committed. #[prost(message, optional, tag="4")] pub commit_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The schema of the destination table. It is only returned in - /// `CreateWriteStream` response. Caller should generate data that's - /// compatible with this schema to send in initial `AppendRowsRequest`. - /// The table schema could go out of date during the life time of the stream. + /// Output only. The schema of the destination table. It is only returned in + /// `CreateWriteStream` response. Caller should generate data that's + /// compatible with this schema to send in initial `AppendRowsRequest`. + /// The table schema could go out of date during the life time of the stream. #[prost(message, optional, tag="5")] pub table_schema: ::core::option::Option, } /// Nested message and enum types in `WriteStream`. pub mod write_stream { - /// Type enum of the stream. + /// Type enum of the stream. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unknown type. + /// Unknown type. Unspecified = 0, - /// Data will commit automatically and appear as soon as the write is - /// acknowledged. + /// Data will commit automatically and appear as soon as the write is + /// acknowledged. Committed = 1, - /// Data is invisible until the stream is committed. + /// Data is invisible until the stream is committed. Pending = 2, - /// Data is only visible up to the offset to which it was flushed. + /// Data is only visible up to the offset to which it was flushed. Buffered = 3, } impl Type { @@ -354,16 +354,16 @@ pub mod write_stream { } } } -/// Data format for input or output data. +/// Data format for input or output data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { Unspecified = 0, - /// Avro is a standard open source row based file format. - /// See for more details. + /// Avro is a standard open source row based file format. + /// See for more details. Avro = 1, - /// Arrow is a standard open source column-based message format. - /// See for more details. + /// Arrow is a standard open source column-based message format. + /// See for more details. Arrow = 2, } impl DataFormat { @@ -379,51 +379,51 @@ impl DataFormat { } } } -/// Request message for `CreateReadSession`. +/// Request message for `CreateReadSession`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReadSessionRequest { - /// Required. The request project that owns the session, in the form of - /// `projects/{project_id}`. + /// Required. The request project that owns the session, in the form of + /// `projects/{project_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Session to be created. + /// Required. Session to be created. #[prost(message, optional, tag="2")] pub read_session: ::core::option::Option, - /// Max initial number of streams. If unset or zero, the server will - /// provide a value of streams so as to produce reasonable throughput. Must be - /// non-negative. The number of streams may be lower than the requested number, - /// depending on the amount parallelism that is reasonable for the table. Error - /// will be returned if the max count is greater than the current system - /// max limit of 1,000. + /// Max initial number of streams. If unset or zero, the server will + /// provide a value of streams so as to produce reasonable throughput. Must be + /// non-negative. The number of streams may be lower than the requested number, + /// depending on the amount parallelism that is reasonable for the table. Error + /// will be returned if the max count is greater than the current system + /// max limit of 1,000. /// - /// Streams must be read starting from offset 0. + /// Streams must be read starting from offset 0. #[prost(int32, tag="3")] pub max_stream_count: i32, } -/// Request message for `ReadRows`. +/// Request message for `ReadRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsRequest { - /// Required. Stream to read rows from. + /// Required. Stream to read rows from. #[prost(string, tag="1")] pub read_stream: ::prost::alloc::string::String, - /// The offset requested must be less than the last row read from Read. - /// Requesting a larger offset is undefined. If not specified, start reading - /// from offset zero. + /// The offset requested must be less than the last row read from Read. + /// Requesting a larger offset is undefined. If not specified, start reading + /// from offset zero. #[prost(int64, tag="2")] pub offset: i64, } -/// Information on if the current connection is being throttled. +/// Information on if the current connection is being throttled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThrottleState { - /// How much this connection is being throttled. Zero means no throttling, - /// 100 means fully throttled. + /// How much this connection is being throttled. Zero means no throttling, + /// 100 means fully throttled. #[prost(int32, tag="1")] pub throttle_percent: i32, } -/// Estimated stream statistics for a given Stream. +/// Estimated stream statistics for a given Stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamStats { - /// Represents the progress of the current stream. + /// Represents the progress of the current stream. #[prost(message, optional, tag="2")] pub progress: ::core::option::Option, } @@ -431,173 +431,173 @@ pub struct StreamStats { pub mod stream_stats { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Progress { - /// The fraction of rows assigned to the stream that have been processed by - /// the server so far, not including the rows in the current response - /// message. + /// The fraction of rows assigned to the stream that have been processed by + /// the server so far, not including the rows in the current response + /// message. /// - /// This value, along with `at_response_end`, can be used to interpolate - /// the progress made as the rows in the message are being processed using - /// the following formula: `at_response_start + (at_response_end - - /// at_response_start) * rows_processed_from_response / rows_in_response`. + /// This value, along with `at_response_end`, can be used to interpolate + /// the progress made as the rows in the message are being processed using + /// the following formula: `at_response_start + (at_response_end - + /// at_response_start) * rows_processed_from_response / rows_in_response`. /// - /// Note that if a filter is provided, the `at_response_end` value of the - /// previous response may not necessarily be equal to the - /// `at_response_start` value of the current response. + /// Note that if a filter is provided, the `at_response_end` value of the + /// previous response may not necessarily be equal to the + /// `at_response_start` value of the current response. #[prost(double, tag="1")] pub at_response_start: f64, - /// Similar to `at_response_start`, except that this value includes the - /// rows in the current response. + /// Similar to `at_response_start`, except that this value includes the + /// rows in the current response. #[prost(double, tag="2")] pub at_response_end: f64, } } -/// Response from calling `ReadRows` may include row data, progress and -/// throttling information. +/// Response from calling `ReadRows` may include row data, progress and +/// throttling information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadRowsResponse { - /// Number of serialized rows in the rows block. + /// Number of serialized rows in the rows block. #[prost(int64, tag="6")] pub row_count: i64, - /// Statistics for the stream. + /// Statistics for the stream. #[prost(message, optional, tag="2")] pub stats: ::core::option::Option, - /// Throttling state. If unset, the latest response still describes - /// the current throttling status. + /// Throttling state. If unset, the latest response still describes + /// the current throttling status. #[prost(message, optional, tag="5")] pub throttle_state: ::core::option::Option, - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[prost(oneof="read_rows_response::Rows", tags="3, 4")] pub rows: ::core::option::Option, - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. This schema is equivelant to the one returned by - /// CreateSession. This field is only populated in the first ReadRowsResponse - /// RPC. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. This schema is equivelant to the one returned by + /// CreateSession. This field is only populated in the first ReadRowsResponse + /// RPC. #[prost(oneof="read_rows_response::Schema", tags="7, 8")] pub schema: ::core::option::Option, } /// Nested message and enum types in `ReadRowsResponse`. pub mod read_rows_response { - /// Row data is returned in format specified during session creation. + /// Row data is returned in format specified during session creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rows { - /// Serialized row data in AVRO format. + /// Serialized row data in AVRO format. #[prost(message, tag="3")] AvroRows(super::AvroRows), - /// Serialized row data in Arrow RecordBatch format. + /// Serialized row data in Arrow RecordBatch format. #[prost(message, tag="4")] ArrowRecordBatch(super::ArrowRecordBatch), } - /// The schema for the read. If read_options.selected_fields is set, the - /// schema may be different from the table schema as it will only contain - /// the selected fields. This schema is equivelant to the one returned by - /// CreateSession. This field is only populated in the first ReadRowsResponse - /// RPC. + /// The schema for the read. If read_options.selected_fields is set, the + /// schema may be different from the table schema as it will only contain + /// the selected fields. This schema is equivelant to the one returned by + /// CreateSession. This field is only populated in the first ReadRowsResponse + /// RPC. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Output only. Avro schema. + /// Output only. Avro schema. #[prost(message, tag="7")] AvroSchema(super::AvroSchema), - /// Output only. Arrow schema. + /// Output only. Arrow schema. #[prost(message, tag="8")] ArrowSchema(super::ArrowSchema), } } -/// Request message for `SplitReadStream`. +/// Request message for `SplitReadStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamRequest { - /// Required. Name of the stream to split. + /// Required. Name of the stream to split. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A value in the range (0.0, 1.0) that specifies the fractional point at - /// which the original stream should be split. The actual split point is - /// evaluated on pre-filtered rows, so if a filter is provided, then there is - /// no guarantee that the division of the rows between the new child streams - /// will be proportional to this fractional value. Additionally, because the - /// server-side unit for assigning data is collections of rows, this fraction - /// will always map to a data storage boundary on the server side. + /// A value in the range (0.0, 1.0) that specifies the fractional point at + /// which the original stream should be split. The actual split point is + /// evaluated on pre-filtered rows, so if a filter is provided, then there is + /// no guarantee that the division of the rows between the new child streams + /// will be proportional to this fractional value. Additionally, because the + /// server-side unit for assigning data is collections of rows, this fraction + /// will always map to a data storage boundary on the server side. #[prost(double, tag="2")] pub fraction: f64, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct SplitReadStreamResponse { - /// Primary stream, which contains the beginning portion of - /// |original_stream|. An empty value indicates that the original stream can no - /// longer be split. + /// Primary stream, which contains the beginning portion of + /// |original_stream|. An empty value indicates that the original stream can no + /// longer be split. #[prost(message, optional, tag="1")] pub primary_stream: ::core::option::Option, - /// Remainder stream, which contains the tail of |original_stream|. An empty - /// value indicates that the original stream can no longer be split. + /// Remainder stream, which contains the tail of |original_stream|. An empty + /// value indicates that the original stream can no longer be split. #[prost(message, optional, tag="2")] pub remainder_stream: ::core::option::Option, } -/// Request message for `CreateWriteStream`. +/// Request message for `CreateWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWriteStreamRequest { - /// Required. Reference to the table to which the stream belongs, in the format - /// of `projects/{project}/datasets/{dataset}/tables/{table}`. + /// Required. Reference to the table to which the stream belongs, in the format + /// of `projects/{project}/datasets/{dataset}/tables/{table}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Stream to be created. + /// Required. Stream to be created. #[prost(message, optional, tag="2")] pub write_stream: ::core::option::Option, } -/// Request message for `AppendRows`. +/// Request message for `AppendRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendRowsRequest { - /// Required. The stream that is the target of the append operation. This value must be - /// specified for the initial request. If subsequent requests specify the - /// stream name, it must equal to the value provided in the first request. - /// To write to the _default stream, populate this field with a string in the - /// format `projects/{project}/datasets/{dataset}/tables/{table}/_default`. + /// Required. The stream that is the target of the append operation. This value must be + /// specified for the initial request. If subsequent requests specify the + /// stream name, it must equal to the value provided in the first request. + /// To write to the _default stream, populate this field with a string in the + /// format `projects/{project}/datasets/{dataset}/tables/{table}/_default`. #[prost(string, tag="1")] pub write_stream: ::prost::alloc::string::String, - /// If present, the write is only performed if the next append offset is same - /// as the provided value. If not present, the write is performed at the - /// current end of stream. Specifying a value for this field is not allowed - /// when calling AppendRows for the '_default' stream. + /// If present, the write is only performed if the next append offset is same + /// as the provided value. If not present, the write is performed at the + /// current end of stream. Specifying a value for this field is not allowed + /// when calling AppendRows for the '_default' stream. #[prost(message, optional, tag="2")] pub offset: ::core::option::Option, - /// Id set by client to annotate its identity. Only initial request setting is - /// respected. + /// Id set by client to annotate its identity. Only initial request setting is + /// respected. #[prost(string, tag="6")] pub trace_id: ::prost::alloc::string::String, - /// Input rows. The `writer_schema` field must be specified at the initial - /// request and currently, it will be ignored if specified in following - /// requests. Following requests must have data in the same format as the - /// initial request. + /// Input rows. The `writer_schema` field must be specified at the initial + /// request and currently, it will be ignored if specified in following + /// requests. Following requests must have data in the same format as the + /// initial request. #[prost(oneof="append_rows_request::Rows", tags="4")] pub rows: ::core::option::Option, } /// Nested message and enum types in `AppendRowsRequest`. pub mod append_rows_request { - /// Proto schema and data. + /// Proto schema and data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtoData { - /// Proto schema used to serialize the data. + /// Proto schema used to serialize the data. #[prost(message, optional, tag="1")] pub writer_schema: ::core::option::Option, - /// Serialized row data in protobuf message format. + /// Serialized row data in protobuf message format. #[prost(message, optional, tag="2")] pub rows: ::core::option::Option, } - /// Input rows. The `writer_schema` field must be specified at the initial - /// request and currently, it will be ignored if specified in following - /// requests. Following requests must have data in the same format as the - /// initial request. + /// Input rows. The `writer_schema` field must be specified at the initial + /// request and currently, it will be ignored if specified in following + /// requests. Following requests must have data in the same format as the + /// initial request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Rows { - /// Rows in proto format. + /// Rows in proto format. #[prost(message, tag="4")] ProtoRows(ProtoData), } } -/// Response message for `AppendRows`. +/// Response message for `AppendRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendRowsResponse { - /// If backend detects a schema update, pass it to user so that user can - /// use it to input new type of message. It will be empty when no schema - /// updates have occurred. + /// If backend detects a schema update, pass it to user so that user can + /// use it to input new type of message. It will be empty when no schema + /// updates have occurred. #[prost(message, optional, tag="3")] pub updated_schema: ::core::option::Option, #[prost(oneof="append_rows_response::Response", tags="1, 2")] @@ -605,149 +605,149 @@ pub struct AppendRowsResponse { } /// Nested message and enum types in `AppendRowsResponse`. pub mod append_rows_response { - /// AppendResult is returned for successful append requests. + /// AppendResult is returned for successful append requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AppendResult { - /// The row offset at which the last append occurred. The offset will not be - /// set if appending using default streams. + /// The row offset at which the last append occurred. The offset will not be + /// set if appending using default streams. #[prost(message, optional, tag="1")] pub offset: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// Result if the append is successful. + /// Result if the append is successful. #[prost(message, tag="1")] AppendResult(AppendResult), - /// Error returned when problems were encountered. If present, - /// it indicates rows were not accepted into the system. - /// Users can retry or continue with other append requests within the - /// same connection. + /// Error returned when problems were encountered. If present, + /// it indicates rows were not accepted into the system. + /// Users can retry or continue with other append requests within the + /// same connection. /// - /// Additional information about error signalling: + /// Additional information about error signalling: /// - /// ALREADY_EXISTS: Happens when an append specified an offset, and the - /// backend already has received data at this offset. Typically encountered - /// in retry scenarios, and can be ignored. + /// ALREADY_EXISTS: Happens when an append specified an offset, and the + /// backend already has received data at this offset. Typically encountered + /// in retry scenarios, and can be ignored. /// - /// OUT_OF_RANGE: Returned when the specified offset in the stream is beyond - /// the current end of the stream. + /// OUT_OF_RANGE: Returned when the specified offset in the stream is beyond + /// the current end of the stream. /// - /// INVALID_ARGUMENT: Indicates a malformed request or data. + /// INVALID_ARGUMENT: Indicates a malformed request or data. /// - /// ABORTED: Request processing is aborted because of prior failures. The - /// request can be retried if previous failure is addressed. + /// ABORTED: Request processing is aborted because of prior failures. The + /// request can be retried if previous failure is addressed. /// - /// INTERNAL: Indicates server side error(s) that can be retried. + /// INTERNAL: Indicates server side error(s) that can be retried. #[prost(message, tag="2")] Error(super::super::super::super::super::rpc::Status), } } -/// Request message for `GetWriteStreamRequest`. +/// Request message for `GetWriteStreamRequest`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWriteStreamRequest { - /// Required. Name of the stream to get, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Required. Name of the stream to get, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `BatchCommitWriteStreams`. +/// Request message for `BatchCommitWriteStreams`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCommitWriteStreamsRequest { - /// Required. Parent table that all the streams should belong to, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}`. + /// Required. Parent table that all the streams should belong to, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The group of streams that will be committed atomically. + /// Required. The group of streams that will be committed atomically. #[prost(string, repeated, tag="2")] pub write_streams: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for `BatchCommitWriteStreams`. +/// Response message for `BatchCommitWriteStreams`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchCommitWriteStreamsResponse { - /// The time at which streams were committed in microseconds granularity. - /// This field will only exist when there are no stream errors. - /// **Note** if this field is not set, it means the commit was not successful. + /// The time at which streams were committed in microseconds granularity. + /// This field will only exist when there are no stream errors. + /// **Note** if this field is not set, it means the commit was not successful. #[prost(message, optional, tag="1")] pub commit_time: ::core::option::Option<::prost_types::Timestamp>, - /// Stream level error if commit failed. Only streams with error will be in - /// the list. - /// If empty, there is no error and all streams are committed successfully. - /// If non empty, certain streams have errors and ZERO stream is committed due - /// to atomicity guarantee. + /// Stream level error if commit failed. Only streams with error will be in + /// the list. + /// If empty, there is no error and all streams are committed successfully. + /// If non empty, certain streams have errors and ZERO stream is committed due + /// to atomicity guarantee. #[prost(message, repeated, tag="2")] pub stream_errors: ::prost::alloc::vec::Vec, } -/// Request message for invoking `FinalizeWriteStream`. +/// Request message for invoking `FinalizeWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalizeWriteStreamRequest { - /// Required. Name of the stream to finalize, in the form of - /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. + /// Required. Name of the stream to finalize, in the form of + /// `projects/{project}/datasets/{dataset}/tables/{table}/streams/{stream}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for `FinalizeWriteStream`. +/// Response message for `FinalizeWriteStream`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FinalizeWriteStreamResponse { - /// Number of rows in the finalized stream. + /// Number of rows in the finalized stream. #[prost(int64, tag="1")] pub row_count: i64, } -/// Request message for `FlushRows`. +/// Request message for `FlushRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlushRowsRequest { - /// Required. The stream that is the target of the flush operation. + /// Required. The stream that is the target of the flush operation. #[prost(string, tag="1")] pub write_stream: ::prost::alloc::string::String, - /// Ending offset of the flush operation. Rows before this offset(including - /// this offset) will be flushed. + /// Ending offset of the flush operation. Rows before this offset(including + /// this offset) will be flushed. #[prost(message, optional, tag="2")] pub offset: ::core::option::Option, } -/// Respond message for `FlushRows`. +/// Respond message for `FlushRows`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlushRowsResponse { - /// The rows before this offset (including this offset) are flushed. + /// The rows before this offset (including this offset) are flushed. #[prost(int64, tag="1")] pub offset: i64, } -/// Structured custom BigQuery Storage error message. The error can be attached -/// as error details in the returned rpc Status. In particular, the use of error -/// codes allows more structured error handling, and reduces the need to evaluate -/// unstructured error text strings. +/// Structured custom BigQuery Storage error message. The error can be attached +/// as error details in the returned rpc Status. In particular, the use of error +/// codes allows more structured error handling, and reduces the need to evaluate +/// unstructured error text strings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StorageError { - /// BigQuery Storage specific error code. + /// BigQuery Storage specific error code. #[prost(enumeration="storage_error::StorageErrorCode", tag="1")] pub code: i32, - /// Name of the failed entity. + /// Name of the failed entity. #[prost(string, tag="2")] pub entity: ::prost::alloc::string::String, - /// Message that describes the error. + /// Message that describes the error. #[prost(string, tag="3")] pub error_message: ::prost::alloc::string::String, } /// Nested message and enum types in `StorageError`. pub mod storage_error { - /// Error code for `StorageError`. + /// Error code for `StorageError`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageErrorCode { - /// Default error. + /// Default error. Unspecified = 0, - /// Table is not found in the system. + /// Table is not found in the system. TableNotFound = 1, - /// Stream is already committed. + /// Stream is already committed. StreamAlreadyCommitted = 2, - /// Stream is not found. + /// Stream is not found. StreamNotFound = 3, - /// Invalid Stream type. - /// For example, you try to commit a stream that is not pending. + /// Invalid Stream type. + /// For example, you try to commit a stream that is not pending. InvalidStreamType = 4, - /// Invalid Stream state. - /// For example, you try to commit a stream that is not finalized or is - /// garbaged. + /// Invalid Stream state. + /// For example, you try to commit a stream that is not finalized or is + /// garbaged. InvalidStreamState = 5, - /// Stream is finalized. + /// Stream is finalized. StreamFinalized = 6, } impl StorageErrorCode { diff --git a/gcloud-sdk/genproto/google.cloud.bigquery.v2.rs b/gcloud-sdk/genproto/google.cloud.bigquery.v2.rs index 176f759aa..69b40a0e5 100644 --- a/gcloud-sdk/genproto/google.cloud.bigquery.v2.rs +++ b/gcloud-sdk/genproto/google.cloud.bigquery.v2.rs @@ -1,31 +1,31 @@ #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionConfiguration { - /// Optional. Describes the Cloud KMS encryption key that will be used to - /// protect destination BigQuery table. The BigQuery Service Account associated - /// with your project requires access to this encryption key. + /// Optional. Describes the Cloud KMS encryption key that will be used to + /// protect destination BigQuery table. The BigQuery Service Account associated + /// with your project requires access to this encryption key. #[prost(message, optional, tag="1")] pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>, } -/// Id path of a model. +/// Id path of a model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModelReference { - /// Required. The ID of the project containing this model. + /// Required. The ID of the project containing this model. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The ID of the dataset containing this model. + /// Required. The ID of the dataset containing this model. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// Required. The ID of the model. The ID must contain only - /// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum - /// length is 1,024 characters. + /// Required. The ID of the model. The ID must contain only + /// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum + /// length is 1,024 characters. #[prost(string, tag="3")] pub model_id: ::prost::alloc::string::String, } -/// The type of a variable, e.g., a function argument. -/// Examples: -/// INT64: {type_kind="INT64"} -/// ARRAY: {type_kind="ARRAY", array_element_type="STRING"} -/// STRUCT>: +/// The type of a variable, e.g., a function argument. +/// Examples: +/// INT64: {type_kind="INT64"} +/// ARRAY: {type_kind="ARRAY", array_element_type="STRING"} +/// STRUCT>: /// {type_kind="STRUCT", /// struct_type={fields=[ /// {name="x", type={type_kind="STRING"}}, @@ -33,8 +33,8 @@ pub struct ModelReference { /// ]}} #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardSqlDataType { - /// Required. The top level type of this field. - /// Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). + /// Required. The top level type of this field. + /// Can be any standard SQL data type (e.g., "INT64", "DATE", "ARRAY"). #[prost(enumeration="standard_sql_data_type::TypeKind", tag="1")] pub type_kind: i32, #[prost(oneof="standard_sql_data_type::SubType", tags="2, 3")] @@ -45,41 +45,41 @@ pub mod standard_sql_data_type { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TypeKind { - /// Invalid type. + /// Invalid type. Unspecified = 0, - /// Encoded as a string in decimal format. + /// Encoded as a string in decimal format. Int64 = 2, - /// Encoded as a boolean "false" or "true". + /// Encoded as a boolean "false" or "true". Bool = 5, - /// Encoded as a number, or string "NaN", "Infinity" or "-Infinity". + /// Encoded as a number, or string "NaN", "Infinity" or "-Infinity". Float64 = 7, - /// Encoded as a string value. + /// Encoded as a string value. String = 8, - /// Encoded as a base64 string per RFC 4648, section 4. + /// Encoded as a base64 string per RFC 4648, section 4. Bytes = 9, - /// Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: - /// 1985-04-12T23:20:50.52Z + /// Encoded as an RFC 3339 timestamp with mandatory "Z" time zone string: + /// 1985-04-12T23:20:50.52Z Timestamp = 19, - /// Encoded as RFC 3339 full-date format string: 1985-04-12 + /// Encoded as RFC 3339 full-date format string: 1985-04-12 Date = 10, - /// Encoded as RFC 3339 partial-time format string: 23:20:50.52 + /// Encoded as RFC 3339 partial-time format string: 23:20:50.52 Time = 20, - /// Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 + /// Encoded as RFC 3339 full-date "T" partial-time: 1985-04-12T23:20:50.52 Datetime = 21, - /// Encoded as fully qualified 3 part: 0-5 15 2:30:45.6 + /// Encoded as fully qualified 3 part: 0-5 15 2:30:45.6 Interval = 26, - /// Encoded as WKT + /// Encoded as WKT Geography = 22, - /// Encoded as a decimal string. + /// Encoded as a decimal string. Numeric = 23, - /// Encoded as a decimal string. + /// Encoded as a decimal string. Bignumeric = 24, - /// Encoded as a string. + /// Encoded as a string. Json = 25, - /// Encoded as a list with types matching Type.array_type. + /// Encoded as a list with types matching Type.array_type. Array = 16, - /// Encoded as a list with fields of type Type.struct_type\[i\]. List is used - /// because a JSON object cannot have duplicate field names. + /// Encoded as a list with fields of type Type.struct_type\[i\]. List is used + /// because a JSON object cannot have duplicate field names. Struct = 17, } impl TypeKind { @@ -111,23 +111,23 @@ pub mod standard_sql_data_type { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SubType { - /// The type of the array's elements, if type_kind = "ARRAY". + /// The type of the array's elements, if type_kind = "ARRAY". #[prost(message, tag="2")] ArrayElementType(::prost::alloc::boxed::Box), - /// The fields of this struct, in order, if type_kind = "STRUCT". + /// The fields of this struct, in order, if type_kind = "STRUCT". #[prost(message, tag="3")] StructType(super::StandardSqlStructType), } } -/// A field or a column. +/// A field or a column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardSqlField { - /// Optional. The name of this field. Can be absent for struct fields. + /// Optional. The name of this field. Can be absent for struct fields. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The type of this parameter. Absent if not explicitly - /// specified (e.g., CREATE FUNCTION statement can omit the return type; - /// in this case the output parameter does not have this "type" field). + /// Optional. The type of this parameter. Absent if not explicitly + /// specified (e.g., CREATE FUNCTION statement can omit the return type; + /// in this case the output parameter does not have this "type" field). #[prost(message, optional, tag="2")] pub r#type: ::core::option::Option, } @@ -136,100 +136,100 @@ pub struct StandardSqlStructType { #[prost(message, repeated, tag="1")] pub fields: ::prost::alloc::vec::Vec, } -/// A table type +/// A table type #[derive(Clone, PartialEq, ::prost::Message)] pub struct StandardSqlTableType { - /// The columns in this table type + /// The columns in this table type #[prost(message, repeated, tag="1")] pub columns: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableReference { - /// Required. The ID of the project containing this table. + /// Required. The ID of the project containing this table. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The ID of the dataset containing this table. + /// Required. The ID of the dataset containing this table. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// Required. The ID of the table. The ID must contain only - /// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum - /// length is 1,024 characters. Certain operations allow - /// suffixing of the table ID with a partition decorator, such as - /// `sample_table$20190123`. + /// Required. The ID of the table. The ID must contain only + /// letters (a-z, A-Z), numbers (0-9), or underscores (_). The maximum + /// length is 1,024 characters. Certain operations allow + /// suffixing of the table ID with a partition decorator, such as + /// `sample_table$20190123`. #[prost(string, tag="3")] pub table_id: ::prost::alloc::string::String, - /// The alternative field that will be used when ESF is not able to translate - /// the received data to the project_id field. + /// The alternative field that will be used when ESF is not able to translate + /// the received data to the project_id field. #[prost(string, repeated, tag="4")] pub project_id_alternative: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The alternative field that will be used when ESF is not able to translate - /// the received data to the project_id field. + /// The alternative field that will be used when ESF is not able to translate + /// the received data to the project_id field. #[prost(string, repeated, tag="5")] pub dataset_id_alternative: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The alternative field that will be used when ESF is not able to translate - /// the received data to the project_id field. + /// The alternative field that will be used when ESF is not able to translate + /// the received data to the project_id field. #[prost(string, repeated, tag="6")] pub table_id_alternative: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Model { - /// Output only. A hash of this resource. + /// Output only. A hash of this resource. #[prost(string, tag="1")] pub etag: ::prost::alloc::string::String, - /// Required. Unique identifier for this model. + /// Required. Unique identifier for this model. #[prost(message, optional, tag="2")] pub model_reference: ::core::option::Option, - /// Output only. The time when this model was created, in millisecs since the epoch. + /// Output only. The time when this model was created, in millisecs since the epoch. #[prost(int64, tag="5")] pub creation_time: i64, - /// Output only. The time when this model was last modified, in millisecs since the epoch. + /// Output only. The time when this model was last modified, in millisecs since the epoch. #[prost(int64, tag="6")] pub last_modified_time: i64, - /// Optional. A user-friendly description of this model. + /// Optional. A user-friendly description of this model. #[prost(string, tag="12")] pub description: ::prost::alloc::string::String, - /// Optional. A descriptive name for this model. + /// Optional. A descriptive name for this model. #[prost(string, tag="14")] pub friendly_name: ::prost::alloc::string::String, - /// The labels associated with this model. You can use these to organize - /// and group your models. Label keys and values can be no longer - /// than 63 characters, can only contain lowercase letters, numeric - /// characters, underscores and dashes. International characters are allowed. - /// Label values are optional. Label keys must start with a letter and each - /// label in the list must have a different key. + /// The labels associated with this model. You can use these to organize + /// and group your models. Label keys and values can be no longer + /// than 63 characters, can only contain lowercase letters, numeric + /// characters, underscores and dashes. International characters are allowed. + /// Label values are optional. Label keys must start with a letter and each + /// label in the list must have a different key. #[prost(map="string, string", tag="15")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The time when this model expires, in milliseconds since the epoch. - /// If not present, the model will persist indefinitely. Expired models - /// will be deleted and their storage reclaimed. The defaultTableExpirationMs - /// property of the encapsulating dataset can be used to set a default - /// expirationTime on newly created models. + /// Optional. The time when this model expires, in milliseconds since the epoch. + /// If not present, the model will persist indefinitely. Expired models + /// will be deleted and their storage reclaimed. The defaultTableExpirationMs + /// property of the encapsulating dataset can be used to set a default + /// expirationTime on newly created models. #[prost(int64, tag="16")] pub expiration_time: i64, - /// Output only. The geographic location where the model resides. This value - /// is inherited from the dataset. + /// Output only. The geographic location where the model resides. This value + /// is inherited from the dataset. #[prost(string, tag="13")] pub location: ::prost::alloc::string::String, - /// Custom encryption configuration (e.g., Cloud KMS keys). This shows the - /// encryption configuration of the model data while stored in BigQuery - /// storage. This field can be used with PatchModel to update encryption key - /// for an already encrypted model. + /// Custom encryption configuration (e.g., Cloud KMS keys). This shows the + /// encryption configuration of the model data while stored in BigQuery + /// storage. This field can be used with PatchModel to update encryption key + /// for an already encrypted model. #[prost(message, optional, tag="17")] pub encryption_configuration: ::core::option::Option, - /// Output only. Type of the model resource. + /// Output only. Type of the model resource. #[prost(enumeration="model::ModelType", tag="7")] pub model_type: i32, - /// Output only. Information for all training runs in increasing order of start_time. + /// Output only. Information for all training runs in increasing order of start_time. #[prost(message, repeated, tag="9")] pub training_runs: ::prost::alloc::vec::Vec, - /// Output only. Input feature columns that were used to train this model. + /// Output only. Input feature columns that were used to train this model. #[prost(message, repeated, tag="10")] pub feature_columns: ::prost::alloc::vec::Vec, - /// Output only. Label columns that were used to train this model. - /// The output of the model will have a "predicted_" prefix to these columns. + /// Output only. Label columns that were used to train this model. + /// The output of the model will have a "predicted_" prefix to these columns. #[prost(message, repeated, tag="11")] pub label_columns: ::prost::alloc::vec::Vec, - /// The best trial_id across all training runs. + /// The best trial_id across all training runs. #[deprecated] #[prost(int64, tag="19")] pub best_trial_id: i64, @@ -245,17 +245,17 @@ pub mod model { #[repr(i32)] pub enum SeasonalPeriodType { Unspecified = 0, - /// No seasonality + /// No seasonality NoSeasonality = 1, - /// Daily period, 24 hours. + /// Daily period, 24 hours. Daily = 2, - /// Weekly period, 7 days. + /// Weekly period, 7 days. Weekly = 3, - /// Monthly period, 30 days or irregular. + /// Monthly period, 30 days or irregular. Monthly = 4, - /// Quarterly period, 90 days or irregular. + /// Quarterly period, 90 days or irregular. Quarterly = 5, - /// Yearly period, 365 days or irregular. + /// Yearly period, 365 days or irregular. Yearly = 6, } impl SeasonalPeriodType { @@ -281,19 +281,19 @@ pub mod model { } /// Nested message and enum types in `KmeansEnums`. pub mod kmeans_enums { - /// Indicates the method used to initialize the centroids for KMeans - /// clustering algorithm. + /// Indicates the method used to initialize the centroids for KMeans + /// clustering algorithm. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KmeansInitializationMethod { - /// Unspecified initialization method. + /// Unspecified initialization method. Unspecified = 0, - /// Initializes the centroids randomly. + /// Initializes the centroids randomly. Random = 1, - /// Initializes the centroids using data specified in - /// kmeans_initialization_column. + /// Initializes the centroids using data specified in + /// kmeans_initialization_column. Custom = 2, - /// Initializes with kmeans++. + /// Initializes with kmeans++. KmeansPlusPlus = 3, } impl KmeansInitializationMethod { @@ -311,200 +311,200 @@ pub mod model { } } } - /// Evaluation metrics for regression and explicit feedback type matrix - /// factorization models. + /// Evaluation metrics for regression and explicit feedback type matrix + /// factorization models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegressionMetrics { - /// Mean absolute error. + /// Mean absolute error. #[prost(message, optional, tag="1")] pub mean_absolute_error: ::core::option::Option, - /// Mean squared error. + /// Mean squared error. #[prost(message, optional, tag="2")] pub mean_squared_error: ::core::option::Option, - /// Mean squared log error. + /// Mean squared log error. #[prost(message, optional, tag="3")] pub mean_squared_log_error: ::core::option::Option, - /// Median absolute error. + /// Median absolute error. #[prost(message, optional, tag="4")] pub median_absolute_error: ::core::option::Option, - /// R^2 score. This corresponds to r2_score in ML.EVALUATE. + /// R^2 score. This corresponds to r2_score in ML.EVALUATE. #[prost(message, optional, tag="5")] pub r_squared: ::core::option::Option, } - /// Aggregate metrics for classification/classifier models. For multi-class - /// models, the metrics are either macro-averaged or micro-averaged. When - /// macro-averaged, the metrics are calculated for each label and then an - /// unweighted average is taken of those values. When micro-averaged, the - /// metric is calculated globally by counting the total number of correctly - /// predicted rows. + /// Aggregate metrics for classification/classifier models. For multi-class + /// models, the metrics are either macro-averaged or micro-averaged. When + /// macro-averaged, the metrics are calculated for each label and then an + /// unweighted average is taken of those values. When micro-averaged, the + /// metric is calculated globally by counting the total number of correctly + /// predicted rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregateClassificationMetrics { - /// Precision is the fraction of actual positive predictions that had - /// positive actual labels. For multiclass this is a macro-averaged - /// metric treating each class as a binary classifier. + /// Precision is the fraction of actual positive predictions that had + /// positive actual labels. For multiclass this is a macro-averaged + /// metric treating each class as a binary classifier. #[prost(message, optional, tag="1")] pub precision: ::core::option::Option, - /// Recall is the fraction of actual positive labels that were given a - /// positive prediction. For multiclass this is a macro-averaged metric. + /// Recall is the fraction of actual positive labels that were given a + /// positive prediction. For multiclass this is a macro-averaged metric. #[prost(message, optional, tag="2")] pub recall: ::core::option::Option, - /// Accuracy is the fraction of predictions given the correct label. For - /// multiclass this is a micro-averaged metric. + /// Accuracy is the fraction of predictions given the correct label. For + /// multiclass this is a micro-averaged metric. #[prost(message, optional, tag="3")] pub accuracy: ::core::option::Option, - /// Threshold at which the metrics are computed. For binary - /// classification models this is the positive class threshold. - /// For multi-class classfication models this is the confidence - /// threshold. + /// Threshold at which the metrics are computed. For binary + /// classification models this is the positive class threshold. + /// For multi-class classfication models this is the confidence + /// threshold. #[prost(message, optional, tag="4")] pub threshold: ::core::option::Option, - /// The F1 score is an average of recall and precision. For multiclass - /// this is a macro-averaged metric. + /// The F1 score is an average of recall and precision. For multiclass + /// this is a macro-averaged metric. #[prost(message, optional, tag="5")] pub f1_score: ::core::option::Option, - /// Logarithmic Loss. For multiclass this is a macro-averaged metric. + /// Logarithmic Loss. For multiclass this is a macro-averaged metric. #[prost(message, optional, tag="6")] pub log_loss: ::core::option::Option, - /// Area Under a ROC Curve. For multiclass this is a macro-averaged - /// metric. + /// Area Under a ROC Curve. For multiclass this is a macro-averaged + /// metric. #[prost(message, optional, tag="7")] pub roc_auc: ::core::option::Option, } - /// Evaluation metrics for binary classification/classifier models. + /// Evaluation metrics for binary classification/classifier models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BinaryClassificationMetrics { - /// Aggregate classification metrics. + /// Aggregate classification metrics. #[prost(message, optional, tag="1")] pub aggregate_classification_metrics: ::core::option::Option, - /// Binary confusion matrix at multiple thresholds. + /// Binary confusion matrix at multiple thresholds. #[prost(message, repeated, tag="2")] pub binary_confusion_matrix_list: ::prost::alloc::vec::Vec, - /// Label representing the positive class. + /// Label representing the positive class. #[prost(string, tag="3")] pub positive_label: ::prost::alloc::string::String, - /// Label representing the negative class. + /// Label representing the negative class. #[prost(string, tag="4")] pub negative_label: ::prost::alloc::string::String, } /// Nested message and enum types in `BinaryClassificationMetrics`. pub mod binary_classification_metrics { - /// Confusion matrix for binary classification models. + /// Confusion matrix for binary classification models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BinaryConfusionMatrix { - /// Threshold value used when computing each of the following metric. + /// Threshold value used when computing each of the following metric. #[prost(message, optional, tag="1")] pub positive_class_threshold: ::core::option::Option, - /// Number of true samples predicted as true. + /// Number of true samples predicted as true. #[prost(message, optional, tag="2")] pub true_positives: ::core::option::Option, - /// Number of false samples predicted as true. + /// Number of false samples predicted as true. #[prost(message, optional, tag="3")] pub false_positives: ::core::option::Option, - /// Number of true samples predicted as false. + /// Number of true samples predicted as false. #[prost(message, optional, tag="4")] pub true_negatives: ::core::option::Option, - /// Number of false samples predicted as false. + /// Number of false samples predicted as false. #[prost(message, optional, tag="5")] pub false_negatives: ::core::option::Option, - /// The fraction of actual positive predictions that had positive actual - /// labels. + /// The fraction of actual positive predictions that had positive actual + /// labels. #[prost(message, optional, tag="6")] pub precision: ::core::option::Option, - /// The fraction of actual positive labels that were given a positive - /// prediction. + /// The fraction of actual positive labels that were given a positive + /// prediction. #[prost(message, optional, tag="7")] pub recall: ::core::option::Option, - /// The equally weighted average of recall and precision. + /// The equally weighted average of recall and precision. #[prost(message, optional, tag="8")] pub f1_score: ::core::option::Option, - /// The fraction of predictions given the correct label. + /// The fraction of predictions given the correct label. #[prost(message, optional, tag="9")] pub accuracy: ::core::option::Option, } } - /// Evaluation metrics for multi-class classification/classifier models. + /// Evaluation metrics for multi-class classification/classifier models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MultiClassClassificationMetrics { - /// Aggregate classification metrics. + /// Aggregate classification metrics. #[prost(message, optional, tag="1")] pub aggregate_classification_metrics: ::core::option::Option, - /// Confusion matrix at different thresholds. + /// Confusion matrix at different thresholds. #[prost(message, repeated, tag="2")] pub confusion_matrix_list: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MultiClassClassificationMetrics`. pub mod multi_class_classification_metrics { - /// Confusion matrix for multi-class classification models. + /// Confusion matrix for multi-class classification models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfusionMatrix { - /// Confidence threshold used when computing the entries of the - /// confusion matrix. + /// Confidence threshold used when computing the entries of the + /// confusion matrix. #[prost(message, optional, tag="1")] pub confidence_threshold: ::core::option::Option, - /// One row per actual label. + /// One row per actual label. #[prost(message, repeated, tag="2")] pub rows: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ConfusionMatrix`. pub mod confusion_matrix { - /// A single entry in the confusion matrix. + /// A single entry in the confusion matrix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The predicted label. For confidence_threshold > 0, we will - /// also add an entry indicating the number of items under the - /// confidence threshold. + /// The predicted label. For confidence_threshold > 0, we will + /// also add an entry indicating the number of items under the + /// confidence threshold. #[prost(string, tag="1")] pub predicted_label: ::prost::alloc::string::String, - /// Number of items being predicted as this label. + /// Number of items being predicted as this label. #[prost(message, optional, tag="2")] pub item_count: ::core::option::Option, } - /// A single row in the confusion matrix. + /// A single row in the confusion matrix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// The original label of this row. + /// The original label of this row. #[prost(string, tag="1")] pub actual_label: ::prost::alloc::string::String, - /// Info describing predicted label distribution. + /// Info describing predicted label distribution. #[prost(message, repeated, tag="2")] pub entries: ::prost::alloc::vec::Vec, } } } - /// Evaluation metrics for clustering models. + /// Evaluation metrics for clustering models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusteringMetrics { - /// Davies-Bouldin index. + /// Davies-Bouldin index. #[prost(message, optional, tag="1")] pub davies_bouldin_index: ::core::option::Option, - /// Mean of squared distances between each sample to its cluster centroid. + /// Mean of squared distances between each sample to its cluster centroid. #[prost(message, optional, tag="2")] pub mean_squared_distance: ::core::option::Option, - /// Information for all clusters. + /// Information for all clusters. #[prost(message, repeated, tag="3")] pub clusters: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ClusteringMetrics`. pub mod clustering_metrics { - /// Message containing the information about one cluster. + /// Message containing the information about one cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cluster { - /// Centroid id. + /// Centroid id. #[prost(int64, tag="1")] pub centroid_id: i64, - /// Values of highly variant features for this cluster. + /// Values of highly variant features for this cluster. #[prost(message, repeated, tag="2")] pub feature_values: ::prost::alloc::vec::Vec, - /// Count of training data rows that were assigned to this cluster. + /// Count of training data rows that were assigned to this cluster. #[prost(message, optional, tag="3")] pub count: ::core::option::Option, } /// Nested message and enum types in `Cluster`. pub mod cluster { - /// Representative value of a single feature within the cluster. + /// Representative value of a single feature within the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FeatureValue { - /// The feature column name. + /// The feature column name. #[prost(string, tag="1")] pub feature_column: ::prost::alloc::string::String, #[prost(oneof="feature_value::Value", tags="2, 3")] @@ -512,144 +512,144 @@ pub mod model { } /// Nested message and enum types in `FeatureValue`. pub mod feature_value { - /// Representative value of a categorical feature. + /// Representative value of a categorical feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoricalValue { - /// Counts of all categories for the categorical feature. If there are - /// more than ten categories, we return top ten (by count) and return - /// one more CategoryCount with category "_OTHER_" and count as - /// aggregate counts of remaining categories. + /// Counts of all categories for the categorical feature. If there are + /// more than ten categories, we return top ten (by count) and return + /// one more CategoryCount with category "_OTHER_" and count as + /// aggregate counts of remaining categories. #[prost(message, repeated, tag="1")] pub category_counts: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CategoricalValue`. pub mod categorical_value { - /// Represents the count of a single category within the cluster. + /// Represents the count of a single category within the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CategoryCount { - /// The name of category. + /// The name of category. #[prost(string, tag="1")] pub category: ::prost::alloc::string::String, - /// The count of training samples matching the category within the - /// cluster. + /// The count of training samples matching the category within the + /// cluster. #[prost(message, optional, tag="2")] pub count: ::core::option::Option, } } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// The numerical feature value. This is the centroid value for this - /// feature. + /// The numerical feature value. This is the centroid value for this + /// feature. #[prost(message, tag="2")] NumericalValue(f64), - /// The categorical feature value. + /// The categorical feature value. #[prost(message, tag="3")] CategoricalValue(CategoricalValue), } } } } - /// Evaluation metrics used by weighted-ALS models specified by - /// feedback_type=implicit. + /// Evaluation metrics used by weighted-ALS models specified by + /// feedback_type=implicit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RankingMetrics { - /// Calculates a precision per user for all the items by ranking them and - /// then averages all the precisions across all the users. + /// Calculates a precision per user for all the items by ranking them and + /// then averages all the precisions across all the users. #[prost(message, optional, tag="1")] pub mean_average_precision: ::core::option::Option, - /// Similar to the mean squared error computed in regression and explicit - /// recommendation models except instead of computing the rating directly, - /// the output from evaluate is computed against a preference which is 1 or 0 - /// depending on if the rating exists or not. + /// Similar to the mean squared error computed in regression and explicit + /// recommendation models except instead of computing the rating directly, + /// the output from evaluate is computed against a preference which is 1 or 0 + /// depending on if the rating exists or not. #[prost(message, optional, tag="2")] pub mean_squared_error: ::core::option::Option, - /// A metric to determine the goodness of a ranking calculated from the - /// predicted confidence by comparing it to an ideal rank measured by the - /// original ratings. + /// A metric to determine the goodness of a ranking calculated from the + /// predicted confidence by comparing it to an ideal rank measured by the + /// original ratings. #[prost(message, optional, tag="3")] pub normalized_discounted_cumulative_gain: ::core::option::Option, - /// Determines the goodness of a ranking by computing the percentile rank - /// from the predicted confidence and dividing it by the original rank. + /// Determines the goodness of a ranking by computing the percentile rank + /// from the predicted confidence and dividing it by the original rank. #[prost(message, optional, tag="4")] pub average_rank: ::core::option::Option, } - /// Model evaluation metrics for ARIMA forecasting models. + /// Model evaluation metrics for ARIMA forecasting models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaForecastingMetrics { - /// Non-seasonal order. + /// Non-seasonal order. #[deprecated] #[prost(message, repeated, tag="1")] pub non_seasonal_order: ::prost::alloc::vec::Vec, - /// Arima model fitting metrics. + /// Arima model fitting metrics. #[deprecated] #[prost(message, repeated, tag="2")] pub arima_fitting_metrics: ::prost::alloc::vec::Vec, - /// Seasonal periods. Repeated because multiple periods are supported for one - /// time series. + /// Seasonal periods. Repeated because multiple periods are supported for one + /// time series. #[deprecated] #[prost(enumeration="seasonal_period::SeasonalPeriodType", repeated, packed="false", tag="3")] pub seasonal_periods: ::prost::alloc::vec::Vec, - /// Whether Arima model fitted with drift or not. It is always false when d - /// is not 1. + /// Whether Arima model fitted with drift or not. It is always false when d + /// is not 1. #[deprecated] #[prost(bool, repeated, packed="false", tag="4")] pub has_drift: ::prost::alloc::vec::Vec, - /// Id to differentiate different time series for the large-scale case. + /// Id to differentiate different time series for the large-scale case. #[deprecated] #[prost(string, repeated, tag="5")] pub time_series_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Repeated as there can be many metric sets (one for each model) in - /// auto-arima and the large-scale case. + /// Repeated as there can be many metric sets (one for each model) in + /// auto-arima and the large-scale case. #[prost(message, repeated, tag="6")] pub arima_single_model_forecasting_metrics: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ArimaForecastingMetrics`. pub mod arima_forecasting_metrics { - /// Model evaluation metrics for a single ARIMA forecasting model. + /// Model evaluation metrics for a single ARIMA forecasting model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaSingleModelForecastingMetrics { - /// Non-seasonal order. + /// Non-seasonal order. #[prost(message, optional, tag="1")] pub non_seasonal_order: ::core::option::Option, - /// Arima fitting metrics. + /// Arima fitting metrics. #[prost(message, optional, tag="2")] pub arima_fitting_metrics: ::core::option::Option, - /// Is arima model fitted with drift or not. It is always false when d - /// is not 1. + /// Is arima model fitted with drift or not. It is always false when d + /// is not 1. #[prost(bool, tag="3")] pub has_drift: bool, - /// The time_series_id value for this time series. It will be one of - /// the unique values from the time_series_id_column specified during - /// ARIMA model training. Only present when time_series_id_column - /// training option was used. + /// The time_series_id value for this time series. It will be one of + /// the unique values from the time_series_id_column specified during + /// ARIMA model training. Only present when time_series_id_column + /// training option was used. #[prost(string, tag="4")] pub time_series_id: ::prost::alloc::string::String, - /// The tuple of time_series_ids identifying this time series. It will - /// be one of the unique tuples of values present in the - /// time_series_id_columns specified during ARIMA model training. Only - /// present when time_series_id_columns training option was used and - /// the order of values here are same as the order of - /// time_series_id_columns. + /// The tuple of time_series_ids identifying this time series. It will + /// be one of the unique tuples of values present in the + /// time_series_id_columns specified during ARIMA model training. Only + /// present when time_series_id_columns training option was used and + /// the order of values here are same as the order of + /// time_series_id_columns. #[prost(string, repeated, tag="9")] pub time_series_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Seasonal periods. Repeated because multiple periods are supported - /// for one time series. + /// Seasonal periods. Repeated because multiple periods are supported + /// for one time series. #[prost(enumeration="super::seasonal_period::SeasonalPeriodType", repeated, tag="5")] pub seasonal_periods: ::prost::alloc::vec::Vec, - /// If true, holiday_effect is a part of time series decomposition result. + /// If true, holiday_effect is a part of time series decomposition result. #[prost(message, optional, tag="6")] pub has_holiday_effect: ::core::option::Option, - /// If true, spikes_and_dips is a part of time series decomposition result. + /// If true, spikes_and_dips is a part of time series decomposition result. #[prost(message, optional, tag="7")] pub has_spikes_and_dips: ::core::option::Option, - /// If true, step_changes is a part of time series decomposition result. + /// If true, step_changes is a part of time series decomposition result. #[prost(message, optional, tag="8")] pub has_step_changes: ::core::option::Option, } } - /// Evaluation metrics of a model. These are either computed on all training - /// data or just the eval data based on whether eval data was used during - /// training. These are not present for imported models. + /// Evaluation metrics of a model. These are either computed on all training + /// data or just the eval data based on whether eval data was used during + /// training. These are not present for imported models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationMetrics { #[prost(oneof="evaluation_metrics::Metrics", tags="1, 2, 3, 4, 5, 6")] @@ -659,318 +659,318 @@ pub mod model { pub mod evaluation_metrics { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metrics { - /// Populated for regression models and explicit feedback type matrix - /// factorization models. + /// Populated for regression models and explicit feedback type matrix + /// factorization models. #[prost(message, tag="1")] RegressionMetrics(super::RegressionMetrics), - /// Populated for binary classification/classifier models. + /// Populated for binary classification/classifier models. #[prost(message, tag="2")] BinaryClassificationMetrics(super::BinaryClassificationMetrics), - /// Populated for multi-class classification/classifier models. + /// Populated for multi-class classification/classifier models. #[prost(message, tag="3")] MultiClassClassificationMetrics(super::MultiClassClassificationMetrics), - /// Populated for clustering models. + /// Populated for clustering models. #[prost(message, tag="4")] ClusteringMetrics(super::ClusteringMetrics), - /// Populated for implicit feedback type matrix factorization models. + /// Populated for implicit feedback type matrix factorization models. #[prost(message, tag="5")] RankingMetrics(super::RankingMetrics), - /// Populated for ARIMA models. + /// Populated for ARIMA models. #[prost(message, tag="6")] ArimaForecastingMetrics(super::ArimaForecastingMetrics), } } - /// Data split result. This contains references to the training and evaluation - /// data tables that were used to train the model. + /// Data split result. This contains references to the training and evaluation + /// data tables that were used to train the model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSplitResult { - /// Table reference of the training data after split. + /// Table reference of the training data after split. #[prost(message, optional, tag="1")] pub training_table: ::core::option::Option, - /// Table reference of the evaluation data after split. + /// Table reference of the evaluation data after split. #[prost(message, optional, tag="2")] pub evaluation_table: ::core::option::Option, } - /// Arima order, can be used for both non-seasonal and seasonal parts. + /// Arima order, can be used for both non-seasonal and seasonal parts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaOrder { - /// Order of the autoregressive part. + /// Order of the autoregressive part. #[prost(int64, tag="1")] pub p: i64, - /// Order of the differencing part. + /// Order of the differencing part. #[prost(int64, tag="2")] pub d: i64, - /// Order of the moving-average part. + /// Order of the moving-average part. #[prost(int64, tag="3")] pub q: i64, } - /// ARIMA model fitting metrics. + /// ARIMA model fitting metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaFittingMetrics { - /// Log-likelihood. + /// Log-likelihood. #[prost(double, tag="1")] pub log_likelihood: f64, - /// AIC. + /// AIC. #[prost(double, tag="2")] pub aic: f64, - /// Variance. + /// Variance. #[prost(double, tag="3")] pub variance: f64, } - /// Global explanations containing the top most important features - /// after training. + /// Global explanations containing the top most important features + /// after training. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalExplanation { - /// A list of the top global explanations. Sorted by absolute value of - /// attribution in descending order. + /// A list of the top global explanations. Sorted by absolute value of + /// attribution in descending order. #[prost(message, repeated, tag="1")] pub explanations: ::prost::alloc::vec::Vec, - /// Class label for this set of global explanations. Will be empty/null for - /// binary logistic and linear regression models. Sorted alphabetically in - /// descending order. + /// Class label for this set of global explanations. Will be empty/null for + /// binary logistic and linear regression models. Sorted alphabetically in + /// descending order. #[prost(string, tag="2")] pub class_label: ::prost::alloc::string::String, } /// Nested message and enum types in `GlobalExplanation`. pub mod global_explanation { - /// Explanation for a single feature. + /// Explanation for a single feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Explanation { - /// Full name of the feature. For non-numerical features, will be - /// formatted like .. Overall size of - /// feature name will always be truncated to first 120 characters. + /// Full name of the feature. For non-numerical features, will be + /// formatted like .. Overall size of + /// feature name will always be truncated to first 120 characters. #[prost(string, tag="1")] pub feature_name: ::prost::alloc::string::String, - /// Attribution of feature. + /// Attribution of feature. #[prost(message, optional, tag="2")] pub attribution: ::core::option::Option, } } - /// Information about a single training query run for the model. + /// Information about a single training query run for the model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingRun { - /// Options that were used for this training run, includes - /// user specified and default options that were used. + /// Options that were used for this training run, includes + /// user specified and default options that were used. #[prost(message, optional, tag="1")] pub training_options: ::core::option::Option, - /// The start time of this training run. + /// The start time of this training run. #[prost(message, optional, tag="8")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output of each iteration run, results.size() <= max_iterations. + /// Output of each iteration run, results.size() <= max_iterations. #[prost(message, repeated, tag="6")] pub results: ::prost::alloc::vec::Vec, - /// The evaluation metrics over training/eval data that were computed at the - /// end of training. + /// The evaluation metrics over training/eval data that were computed at the + /// end of training. #[prost(message, optional, tag="7")] pub evaluation_metrics: ::core::option::Option, - /// Data split result of the training run. Only set when the input data is - /// actually split. + /// Data split result of the training run. Only set when the input data is + /// actually split. #[prost(message, optional, tag="9")] pub data_split_result: ::core::option::Option, - /// Global explanations for important features of the model. For multi-class - /// models, there is one entry for each label class. For other models, there - /// is only one entry in the list. + /// Global explanations for important features of the model. For multi-class + /// models, there is one entry for each label class. For other models, there + /// is only one entry in the list. #[prost(message, repeated, tag="10")] pub global_explanations: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TrainingRun`. pub mod training_run { - /// Options used in model training. + /// Options used in model training. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingOptions { - /// The maximum number of iterations in training. Used only for iterative - /// training algorithms. + /// The maximum number of iterations in training. Used only for iterative + /// training algorithms. #[prost(int64, tag="1")] pub max_iterations: i64, - /// Type of loss function used during training run. + /// Type of loss function used during training run. #[prost(enumeration="super::LossType", tag="2")] pub loss_type: i32, - /// Learning rate in training. Used only for iterative training algorithms. + /// Learning rate in training. Used only for iterative training algorithms. #[prost(double, tag="3")] pub learn_rate: f64, - /// L1 regularization coefficient. + /// L1 regularization coefficient. #[prost(message, optional, tag="4")] pub l1_regularization: ::core::option::Option, - /// L2 regularization coefficient. + /// L2 regularization coefficient. #[prost(message, optional, tag="5")] pub l2_regularization: ::core::option::Option, - /// When early_stop is true, stops training when accuracy improvement is - /// less than 'min_relative_progress'. Used only for iterative training - /// algorithms. + /// When early_stop is true, stops training when accuracy improvement is + /// less than 'min_relative_progress'. Used only for iterative training + /// algorithms. #[prost(message, optional, tag="6")] pub min_relative_progress: ::core::option::Option, - /// Whether to train a model from the last checkpoint. + /// Whether to train a model from the last checkpoint. #[prost(message, optional, tag="7")] pub warm_start: ::core::option::Option, - /// Whether to stop early when the loss doesn't improve significantly - /// any more (compared to min_relative_progress). Used only for iterative - /// training algorithms. + /// Whether to stop early when the loss doesn't improve significantly + /// any more (compared to min_relative_progress). Used only for iterative + /// training algorithms. #[prost(message, optional, tag="8")] pub early_stop: ::core::option::Option, - /// Name of input label columns in training data. + /// Name of input label columns in training data. #[prost(string, repeated, tag="9")] pub input_label_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The data split type for training and evaluation, e.g. RANDOM. + /// The data split type for training and evaluation, e.g. RANDOM. #[prost(enumeration="super::DataSplitMethod", tag="10")] pub data_split_method: i32, - /// The fraction of evaluation data over the whole input data. The rest - /// of data will be used as training data. The format should be double. - /// Accurate to two decimal places. - /// Default value is 0.2. + /// The fraction of evaluation data over the whole input data. The rest + /// of data will be used as training data. The format should be double. + /// Accurate to two decimal places. + /// Default value is 0.2. #[prost(double, tag="11")] pub data_split_eval_fraction: f64, - /// The column to split data with. This column won't be used as a - /// feature. - /// 1. When data_split_method is CUSTOM, the corresponding column should - /// be boolean. The rows with true value tag are eval data, and the false - /// are training data. - /// 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION - /// rows (from smallest to largest) in the corresponding column are used - /// as training data, and the rest are eval data. It respects the order - /// in Orderable data types: - /// + /// The column to split data with. This column won't be used as a + /// feature. + /// 1. When data_split_method is CUSTOM, the corresponding column should + /// be boolean. The rows with true value tag are eval data, and the false + /// are training data. + /// 2. When data_split_method is SEQ, the first DATA_SPLIT_EVAL_FRACTION + /// rows (from smallest to largest) in the corresponding column are used + /// as training data, and the rest are eval data. It respects the order + /// in Orderable data types: + /// #[prost(string, tag="12")] pub data_split_column: ::prost::alloc::string::String, - /// The strategy to determine learn rate for the current iteration. + /// The strategy to determine learn rate for the current iteration. #[prost(enumeration="super::LearnRateStrategy", tag="13")] pub learn_rate_strategy: i32, - /// Specifies the initial learning rate for the line search learn rate - /// strategy. + /// Specifies the initial learning rate for the line search learn rate + /// strategy. #[prost(double, tag="16")] pub initial_learn_rate: f64, - /// Weights associated with each label class, for rebalancing the - /// training data. Only applicable for classification models. + /// Weights associated with each label class, for rebalancing the + /// training data. Only applicable for classification models. #[prost(map="string, double", tag="17")] pub label_class_weights: ::std::collections::HashMap<::prost::alloc::string::String, f64>, - /// User column specified for matrix factorization models. + /// User column specified for matrix factorization models. #[prost(string, tag="18")] pub user_column: ::prost::alloc::string::String, - /// Item column specified for matrix factorization models. + /// Item column specified for matrix factorization models. #[prost(string, tag="19")] pub item_column: ::prost::alloc::string::String, - /// Distance type for clustering models. + /// Distance type for clustering models. #[prost(enumeration="super::DistanceType", tag="20")] pub distance_type: i32, - /// Number of clusters for clustering models. + /// Number of clusters for clustering models. #[prost(int64, tag="21")] pub num_clusters: i64, - /// Google Cloud Storage URI from which the model was imported. Only - /// applicable for imported models. + /// Google Cloud Storage URI from which the model was imported. Only + /// applicable for imported models. #[prost(string, tag="22")] pub model_uri: ::prost::alloc::string::String, - /// Optimization strategy for training linear regression models. + /// Optimization strategy for training linear regression models. #[prost(enumeration="super::OptimizationStrategy", tag="23")] pub optimization_strategy: i32, - /// Hidden units for dnn models. + /// Hidden units for dnn models. #[prost(int64, repeated, tag="24")] pub hidden_units: ::prost::alloc::vec::Vec, - /// Batch size for dnn models. + /// Batch size for dnn models. #[prost(int64, tag="25")] pub batch_size: i64, - /// Dropout probability for dnn models. + /// Dropout probability for dnn models. #[prost(message, optional, tag="26")] pub dropout: ::core::option::Option, - /// Maximum depth of a tree for boosted tree models. + /// Maximum depth of a tree for boosted tree models. #[prost(int64, tag="27")] pub max_tree_depth: i64, - /// Subsample fraction of the training data to grow tree to prevent - /// overfitting for boosted tree models. + /// Subsample fraction of the training data to grow tree to prevent + /// overfitting for boosted tree models. #[prost(double, tag="28")] pub subsample: f64, - /// Minimum split loss for boosted tree models. + /// Minimum split loss for boosted tree models. #[prost(message, optional, tag="29")] pub min_split_loss: ::core::option::Option, - /// Num factors specified for matrix factorization models. + /// Num factors specified for matrix factorization models. #[prost(int64, tag="30")] pub num_factors: i64, - /// Feedback type that specifies which algorithm to run for matrix - /// factorization. + /// Feedback type that specifies which algorithm to run for matrix + /// factorization. #[prost(enumeration="super::FeedbackType", tag="31")] pub feedback_type: i32, - /// Hyperparameter for matrix factoration when implicit feedback type is - /// specified. + /// Hyperparameter for matrix factoration when implicit feedback type is + /// specified. #[prost(message, optional, tag="32")] pub wals_alpha: ::core::option::Option, - /// The method used to initialize the centroids for kmeans algorithm. + /// The method used to initialize the centroids for kmeans algorithm. #[prost(enumeration="super::kmeans_enums::KmeansInitializationMethod", tag="33")] pub kmeans_initialization_method: i32, - /// The column used to provide the initial centroids for kmeans algorithm - /// when kmeans_initialization_method is CUSTOM. + /// The column used to provide the initial centroids for kmeans algorithm + /// when kmeans_initialization_method is CUSTOM. #[prost(string, tag="34")] pub kmeans_initialization_column: ::prost::alloc::string::String, - /// Column to be designated as time series timestamp for ARIMA model. + /// Column to be designated as time series timestamp for ARIMA model. #[prost(string, tag="35")] pub time_series_timestamp_column: ::prost::alloc::string::String, - /// Column to be designated as time series data for ARIMA model. + /// Column to be designated as time series data for ARIMA model. #[prost(string, tag="36")] pub time_series_data_column: ::prost::alloc::string::String, - /// Whether to enable auto ARIMA or not. + /// Whether to enable auto ARIMA or not. #[prost(bool, tag="37")] pub auto_arima: bool, - /// A specification of the non-seasonal part of the ARIMA model: the three - /// components (p, d, q) are the AR order, the degree of differencing, and - /// the MA order. + /// A specification of the non-seasonal part of the ARIMA model: the three + /// components (p, d, q) are the AR order, the degree of differencing, and + /// the MA order. #[prost(message, optional, tag="38")] pub non_seasonal_order: ::core::option::Option, - /// The data frequency of a time series. + /// The data frequency of a time series. #[prost(enumeration="super::DataFrequency", tag="39")] pub data_frequency: i32, - /// Include drift when fitting an ARIMA model. + /// Include drift when fitting an ARIMA model. #[prost(bool, tag="41")] pub include_drift: bool, - /// The geographical region based on which the holidays are considered in - /// time series modeling. If a valid value is specified, then holiday - /// effects modeling is enabled. + /// The geographical region based on which the holidays are considered in + /// time series modeling. If a valid value is specified, then holiday + /// effects modeling is enabled. #[prost(enumeration="super::HolidayRegion", tag="42")] pub holiday_region: i32, - /// The time series id column that was used during ARIMA model training. + /// The time series id column that was used during ARIMA model training. #[prost(string, tag="43")] pub time_series_id_column: ::prost::alloc::string::String, - /// The time series id columns that were used during ARIMA model training. + /// The time series id columns that were used during ARIMA model training. #[prost(string, repeated, tag="51")] pub time_series_id_columns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The number of periods ahead that need to be forecasted. + /// The number of periods ahead that need to be forecasted. #[prost(int64, tag="44")] pub horizon: i64, - /// Whether to preserve the input structs in output feature names. - /// Suppose there is a struct A with field b. - /// When false (default), the output feature name is A_b. - /// When true, the output feature name is A.b. + /// Whether to preserve the input structs in output feature names. + /// Suppose there is a struct A with field b. + /// When false (default), the output feature name is A_b. + /// When true, the output feature name is A.b. #[prost(bool, tag="45")] pub preserve_input_structs: bool, - /// The max value of non-seasonal p and q. + /// The max value of non-seasonal p and q. #[prost(int64, tag="46")] pub auto_arima_max_order: i64, - /// If true, perform decompose time series and save the results. + /// If true, perform decompose time series and save the results. #[prost(message, optional, tag="50")] pub decompose_time_series: ::core::option::Option, - /// If true, clean spikes and dips in the input time series. + /// If true, clean spikes and dips in the input time series. #[prost(message, optional, tag="52")] pub clean_spikes_and_dips: ::core::option::Option, - /// If true, detect step changes and make data adjustment in the input time - /// series. + /// If true, detect step changes and make data adjustment in the input time + /// series. #[prost(message, optional, tag="53")] pub adjust_step_changes: ::core::option::Option, } - /// Information about a single iteration of the training run. + /// Information about a single iteration of the training run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IterationResult { - /// Index of the iteration, 0 based. + /// Index of the iteration, 0 based. #[prost(message, optional, tag="1")] pub index: ::core::option::Option, - /// Time taken to run the iteration in milliseconds. + /// Time taken to run the iteration in milliseconds. #[prost(message, optional, tag="4")] pub duration_ms: ::core::option::Option, - /// Loss computed on the training data at the end of iteration. + /// Loss computed on the training data at the end of iteration. #[prost(message, optional, tag="5")] pub training_loss: ::core::option::Option, - /// Loss computed on the eval data at the end of iteration. + /// Loss computed on the eval data at the end of iteration. #[prost(message, optional, tag="6")] pub eval_loss: ::core::option::Option, - /// Learn rate used for this iteration. + /// Learn rate used for this iteration. #[prost(double, tag="7")] pub learn_rate: f64, - /// Information about top clusters for clustering models. + /// Information about top clusters for clustering models. #[prost(message, repeated, tag="8")] pub cluster_infos: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="9")] @@ -978,128 +978,128 @@ pub mod model { } /// Nested message and enum types in `IterationResult`. pub mod iteration_result { - /// Information about a single cluster for clustering model. + /// Information about a single cluster for clustering model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterInfo { - /// Centroid id. + /// Centroid id. #[prost(int64, tag="1")] pub centroid_id: i64, - /// Cluster radius, the average distance from centroid - /// to each point assigned to the cluster. + /// Cluster radius, the average distance from centroid + /// to each point assigned to the cluster. #[prost(message, optional, tag="2")] pub cluster_radius: ::core::option::Option, - /// Cluster size, the total number of points assigned to the cluster. + /// Cluster size, the total number of points assigned to the cluster. #[prost(message, optional, tag="3")] pub cluster_size: ::core::option::Option, } - /// (Auto-)arima fitting result. Wrap everything in ArimaResult for easier - /// refactoring if we want to use model-specific iteration results. + /// (Auto-)arima fitting result. Wrap everything in ArimaResult for easier + /// refactoring if we want to use model-specific iteration results. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaResult { - /// This message is repeated because there are multiple arima models - /// fitted in auto-arima. For non-auto-arima model, its size is one. + /// This message is repeated because there are multiple arima models + /// fitted in auto-arima. For non-auto-arima model, its size is one. #[prost(message, repeated, tag="1")] pub arima_model_info: ::prost::alloc::vec::Vec, - /// Seasonal periods. Repeated because multiple periods are supported for - /// one time series. + /// Seasonal periods. Repeated because multiple periods are supported for + /// one time series. #[prost(enumeration="super::super::seasonal_period::SeasonalPeriodType", repeated, tag="2")] pub seasonal_periods: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ArimaResult`. pub mod arima_result { - /// Arima coefficients. + /// Arima coefficients. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaCoefficients { - /// Auto-regressive coefficients, an array of double. + /// Auto-regressive coefficients, an array of double. #[prost(double, repeated, tag="1")] pub auto_regressive_coefficients: ::prost::alloc::vec::Vec, - /// Moving-average coefficients, an array of double. + /// Moving-average coefficients, an array of double. #[prost(double, repeated, tag="2")] pub moving_average_coefficients: ::prost::alloc::vec::Vec, - /// Intercept coefficient, just a double not an array. + /// Intercept coefficient, just a double not an array. #[prost(double, tag="3")] pub intercept_coefficient: f64, } - /// Arima model information. + /// Arima model information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArimaModelInfo { - /// Non-seasonal order. + /// Non-seasonal order. #[prost(message, optional, tag="1")] pub non_seasonal_order: ::core::option::Option, - /// Arima coefficients. + /// Arima coefficients. #[prost(message, optional, tag="2")] pub arima_coefficients: ::core::option::Option, - /// Arima fitting metrics. + /// Arima fitting metrics. #[prost(message, optional, tag="3")] pub arima_fitting_metrics: ::core::option::Option, - /// Whether Arima model fitted with drift or not. It is always false - /// when d is not 1. + /// Whether Arima model fitted with drift or not. It is always false + /// when d is not 1. #[prost(bool, tag="4")] pub has_drift: bool, - /// The time_series_id value for this time series. It will be one of - /// the unique values from the time_series_id_column specified during - /// ARIMA model training. Only present when time_series_id_column - /// training option was used. + /// The time_series_id value for this time series. It will be one of + /// the unique values from the time_series_id_column specified during + /// ARIMA model training. Only present when time_series_id_column + /// training option was used. #[prost(string, tag="5")] pub time_series_id: ::prost::alloc::string::String, - /// The tuple of time_series_ids identifying this time series. It will - /// be one of the unique tuples of values present in the - /// time_series_id_columns specified during ARIMA model training. Only - /// present when time_series_id_columns training option was used and - /// the order of values here are same as the order of - /// time_series_id_columns. + /// The tuple of time_series_ids identifying this time series. It will + /// be one of the unique tuples of values present in the + /// time_series_id_columns specified during ARIMA model training. Only + /// present when time_series_id_columns training option was used and + /// the order of values here are same as the order of + /// time_series_id_columns. #[prost(string, repeated, tag="10")] pub time_series_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Seasonal periods. Repeated because multiple periods are supported - /// for one time series. + /// Seasonal periods. Repeated because multiple periods are supported + /// for one time series. #[prost(enumeration="super::super::super::seasonal_period::SeasonalPeriodType", repeated, tag="6")] pub seasonal_periods: ::prost::alloc::vec::Vec, - /// If true, holiday_effect is a part of time series decomposition - /// result. + /// If true, holiday_effect is a part of time series decomposition + /// result. #[prost(message, optional, tag="7")] pub has_holiday_effect: ::core::option::Option, - /// If true, spikes_and_dips is a part of time series decomposition - /// result. + /// If true, spikes_and_dips is a part of time series decomposition + /// result. #[prost(message, optional, tag="8")] pub has_spikes_and_dips: ::core::option::Option, - /// If true, step_changes is a part of time series decomposition - /// result. + /// If true, step_changes is a part of time series decomposition + /// result. #[prost(message, optional, tag="9")] pub has_step_changes: ::core::option::Option, } } } } - /// Indicates the type of the Model. + /// Indicates the type of the Model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { Unspecified = 0, - /// Linear regression model. + /// Linear regression model. LinearRegression = 1, - /// Logistic regression based classification model. + /// Logistic regression based classification model. LogisticRegression = 2, - /// K-means clustering model. + /// K-means clustering model. Kmeans = 3, - /// Matrix factorization model. + /// Matrix factorization model. MatrixFactorization = 4, - /// DNN classifier model. + /// DNN classifier model. DnnClassifier = 5, - /// An imported TensorFlow model. + /// An imported TensorFlow model. Tensorflow = 6, - /// DNN regressor model. + /// DNN regressor model. DnnRegressor = 7, - /// Boosted tree regressor model. + /// Boosted tree regressor model. BoostedTreeRegressor = 9, - /// Boosted tree classifier model. + /// Boosted tree classifier model. BoostedTreeClassifier = 10, - /// ARIMA model. + /// ARIMA model. Arima = 11, - /// \[Beta\] AutoML Tables regression model. + /// \[Beta\] AutoML Tables regression model. AutomlRegressor = 12, - /// \[Beta\] AutoML Tables classification model. + /// \[Beta\] AutoML Tables classification model. AutomlClassifier = 13, - /// New name for the ARIMA model. + /// New name for the ARIMA model. ArimaPlus = 19, } impl ModelType { @@ -1126,14 +1126,14 @@ pub mod model { } } } - /// Loss metric to evaluate model training performance. + /// Loss metric to evaluate model training performance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LossType { Unspecified = 0, - /// Mean squared loss, used for linear regression. + /// Mean squared loss, used for linear regression. MeanSquaredLoss = 1, - /// Mean log loss, used for logistic regression. + /// Mean log loss, used for logistic regression. MeanLogLoss = 2, } impl LossType { @@ -1149,14 +1149,14 @@ pub mod model { } } } - /// Distance metric used to compute the distance between two points. + /// Distance metric used to compute the distance between two points. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DistanceType { Unspecified = 0, - /// Eculidean distance. + /// Eculidean distance. Euclidean = 1, - /// Cosine distance. + /// Cosine distance. Cosine = 2, } impl DistanceType { @@ -1172,21 +1172,21 @@ pub mod model { } } } - /// Indicates the method to split input data into multiple tables. + /// Indicates the method to split input data into multiple tables. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataSplitMethod { Unspecified = 0, - /// Splits data randomly. + /// Splits data randomly. Random = 1, - /// Splits data with the user provided tags. + /// Splits data with the user provided tags. Custom = 2, - /// Splits data sequentially. + /// Splits data sequentially. Sequential = 3, - /// Data split will be skipped. + /// Data split will be skipped. NoSplit = 4, - /// Splits data automatically: Uses NO_SPLIT if the data size is small. - /// Otherwise uses RANDOM. + /// Splits data automatically: Uses NO_SPLIT if the data size is small. + /// Otherwise uses RANDOM. AutoSplit = 5, } impl DataSplitMethod { @@ -1205,26 +1205,26 @@ pub mod model { } } } - /// Type of supported data frequency for time series forecasting models. + /// Type of supported data frequency for time series forecasting models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFrequency { Unspecified = 0, - /// Automatically inferred from timestamps. + /// Automatically inferred from timestamps. AutoFrequency = 1, - /// Yearly data. + /// Yearly data. Yearly = 2, - /// Quarterly data. + /// Quarterly data. Quarterly = 3, - /// Monthly data. + /// Monthly data. Monthly = 4, - /// Weekly data. + /// Weekly data. Weekly = 5, - /// Daily data. + /// Daily data. Daily = 6, - /// Hourly data. + /// Hourly data. Hourly = 7, - /// Per-minute data. + /// Per-minute data. PerMinute = 8, } impl DataFrequency { @@ -1246,148 +1246,148 @@ pub mod model { } } } - /// Type of supported holiday regions for time series forecasting models. + /// Type of supported holiday regions for time series forecasting models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HolidayRegion { - /// Holiday region unspecified. + /// Holiday region unspecified. Unspecified = 0, - /// Global. + /// Global. Global = 1, - /// North America. + /// North America. Na = 2, - /// Japan and Asia Pacific: Korea, Greater China, India, Australia, and New - /// Zealand. + /// Japan and Asia Pacific: Korea, Greater China, India, Australia, and New + /// Zealand. Japac = 3, - /// Europe, the Middle East and Africa. + /// Europe, the Middle East and Africa. Emea = 4, - /// Latin America and the Caribbean. + /// Latin America and the Caribbean. Lac = 5, - /// United Arab Emirates + /// United Arab Emirates Ae = 6, - /// Argentina + /// Argentina Ar = 7, - /// Austria + /// Austria At = 8, - /// Australia + /// Australia Au = 9, - /// Belgium + /// Belgium Be = 10, - /// Brazil + /// Brazil Br = 11, - /// Canada + /// Canada Ca = 12, - /// Switzerland + /// Switzerland Ch = 13, - /// Chile + /// Chile Cl = 14, - /// China + /// China Cn = 15, - /// Colombia + /// Colombia Co = 16, - /// Czechoslovakia + /// Czechoslovakia Cs = 17, - /// Czech Republic + /// Czech Republic Cz = 18, - /// Germany + /// Germany De = 19, - /// Denmark + /// Denmark Dk = 20, - /// Algeria + /// Algeria Dz = 21, - /// Ecuador + /// Ecuador Ec = 22, - /// Estonia + /// Estonia Ee = 23, - /// Egypt + /// Egypt Eg = 24, - /// Spain + /// Spain Es = 25, - /// Finland + /// Finland Fi = 26, - /// France + /// France Fr = 27, - /// Great Britain (United Kingdom) + /// Great Britain (United Kingdom) Gb = 28, - /// Greece + /// Greece Gr = 29, - /// Hong Kong + /// Hong Kong Hk = 30, - /// Hungary + /// Hungary Hu = 31, - /// Indonesia + /// Indonesia Id = 32, - /// Ireland + /// Ireland Ie = 33, - /// Israel + /// Israel Il = 34, - /// India + /// India In = 35, - /// Iran + /// Iran Ir = 36, - /// Italy + /// Italy It = 37, - /// Japan + /// Japan Jp = 38, - /// Korea (South) + /// Korea (South) Kr = 39, - /// Latvia + /// Latvia Lv = 40, - /// Morocco + /// Morocco Ma = 41, - /// Mexico + /// Mexico Mx = 42, - /// Malaysia + /// Malaysia My = 43, - /// Nigeria + /// Nigeria Ng = 44, - /// Netherlands + /// Netherlands Nl = 45, - /// Norway + /// Norway No = 46, - /// New Zealand + /// New Zealand Nz = 47, - /// Peru + /// Peru Pe = 48, - /// Philippines + /// Philippines Ph = 49, - /// Pakistan + /// Pakistan Pk = 50, - /// Poland + /// Poland Pl = 51, - /// Portugal + /// Portugal Pt = 52, - /// Romania + /// Romania Ro = 53, - /// Serbia + /// Serbia Rs = 54, - /// Russian Federation + /// Russian Federation Ru = 55, - /// Saudi Arabia + /// Saudi Arabia Sa = 56, - /// Sweden + /// Sweden Se = 57, - /// Singapore + /// Singapore Sg = 58, - /// Slovenia + /// Slovenia Si = 59, - /// Slovakia + /// Slovakia Sk = 60, - /// Thailand + /// Thailand Th = 61, - /// Turkey + /// Turkey Tr = 62, - /// Taiwan + /// Taiwan Tw = 63, - /// Ukraine + /// Ukraine Ua = 64, - /// United States + /// United States Us = 65, - /// Venezuela + /// Venezuela Ve = 66, - /// Viet Nam + /// Viet Nam Vn = 67, - /// South Africa + /// South Africa Za = 68, } impl HolidayRegion { @@ -1469,14 +1469,14 @@ pub mod model { } } } - /// Indicates the learning rate optimization strategy to use. + /// Indicates the learning rate optimization strategy to use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LearnRateStrategy { Unspecified = 0, - /// Use line search to determine learning rate. + /// Use line search to determine learning rate. LineSearch = 1, - /// Use a constant learning rate. + /// Use a constant learning rate. Constant = 2, } impl LearnRateStrategy { @@ -1492,14 +1492,14 @@ pub mod model { } } } - /// Indicates the optimization strategy used for training. + /// Indicates the optimization strategy used for training. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OptimizationStrategy { Unspecified = 0, - /// Uses an iterative batch gradient descent algorithm. + /// Uses an iterative batch gradient descent algorithm. BatchGradientDescent = 1, - /// Uses a normal equation to solve linear regression problem. + /// Uses a normal equation to solve linear regression problem. NormalEquation = 2, } impl OptimizationStrategy { @@ -1515,14 +1515,14 @@ pub mod model { } } } - /// Indicates the training algorithm to use for matrix factorization models. + /// Indicates the training algorithm to use for matrix factorization models. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FeedbackType { Unspecified = 0, - /// Use weighted-als for implicit feedback problems. + /// Use weighted-als for implicit feedback problems. Implicit = 1, - /// Use nonweighted-als for explicit feedback problems. + /// Use nonweighted-als for explicit feedback problems. Explicit = 2, } impl FeedbackType { @@ -1541,70 +1541,70 @@ pub mod model { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetModelRequest { - /// Required. Project ID of the requested model. + /// Required. Project ID of the requested model. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. Dataset ID of the requested model. + /// Required. Dataset ID of the requested model. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// Required. Model ID of the requested model. + /// Required. Model ID of the requested model. #[prost(string, tag="3")] pub model_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchModelRequest { - /// Required. Project ID of the model to patch. + /// Required. Project ID of the model to patch. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. Dataset ID of the model to patch. + /// Required. Dataset ID of the model to patch. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// Required. Model ID of the model to patch. + /// Required. Model ID of the model to patch. #[prost(string, tag="3")] pub model_id: ::prost::alloc::string::String, - /// Required. Patched model. - /// Follows RFC5789 patch semantics. Missing fields are not updated. - /// To clear a field, explicitly set to default value. + /// Required. Patched model. + /// Follows RFC5789 patch semantics. Missing fields are not updated. + /// To clear a field, explicitly set to default value. #[prost(message, optional, tag="4")] pub model: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteModelRequest { - /// Required. Project ID of the model to delete. + /// Required. Project ID of the model to delete. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. Dataset ID of the model to delete. + /// Required. Dataset ID of the model to delete. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// Required. Model ID of the model to delete. + /// Required. Model ID of the model to delete. #[prost(string, tag="3")] pub model_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsRequest { - /// Required. Project ID of the models to list. + /// Required. Project ID of the models to list. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. Dataset ID of the models to list. + /// Required. Dataset ID of the models to list. #[prost(string, tag="2")] pub dataset_id: ::prost::alloc::string::String, - /// The maximum number of results to return in a single response page. - /// Leverage the page tokens to iterate through the entire collection. + /// The maximum number of results to return in a single response page. + /// Leverage the page tokens to iterate through the entire collection. #[prost(message, optional, tag="3")] pub max_results: ::core::option::Option, - /// Page token, returned by a previous call to request the next page of - /// results + /// Page token, returned by a previous call to request the next page of + /// results #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListModelsResponse { - /// Models in the requested dataset. Only the following fields are populated: - /// model_reference, model_type, creation_time, last_modified_time and - /// labels. + /// Models in the requested dataset. Only the following fields are populated: + /// model_reference, model_type, creation_time, last_modified_time and + /// labels. #[prost(message, repeated, tag="1")] pub models: ::prost::alloc::vec::Vec, - /// A token to request the next page of results. + /// A token to request the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.billing.budgets.v1.rs b/gcloud-sdk/genproto/google.cloud.billing.budgets.v1.rs index e34b8953b..261f9bcaa 100644 --- a/gcloud-sdk/genproto/google.cloud.billing.budgets.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.billing.budgets.v1.rs @@ -1,116 +1,116 @@ -/// A budget is a plan that describes what you expect to spend on Cloud -/// projects, plus the rules to execute as spend is tracked against that plan, -/// (for example, send an alert when 90% of the target spend is met). -/// The budget time period is configurable, with options such as month (default), -/// quarter, year, or custom time period. +/// A budget is a plan that describes what you expect to spend on Cloud +/// projects, plus the rules to execute as spend is tracked against that plan, +/// (for example, send an alert when 90% of the target spend is met). +/// The budget time period is configurable, with options such as month (default), +/// quarter, year, or custom time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Budget { - /// Output only. Resource name of the budget. - /// The resource name implies the scope of a budget. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Output only. Resource name of the budget. + /// The resource name implies the scope of a budget. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User data for display name in UI. The name must be less than or equal to 60 - /// characters. + /// User data for display name in UI. The name must be less than or equal to 60 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Filters that define which resources are used to compute the - /// actual spend against the budget amount, such as projects, services, and the - /// budget's time period, as well as other filters. + /// Optional. Filters that define which resources are used to compute the + /// actual spend against the budget amount, such as projects, services, and the + /// budget's time period, as well as other filters. #[prost(message, optional, tag="3")] pub budget_filter: ::core::option::Option, - /// Required. Budgeted amount. + /// Required. Budgeted amount. #[prost(message, optional, tag="4")] pub amount: ::core::option::Option, - /// Optional. Rules that trigger alerts (notifications of thresholds - /// being crossed) when spend exceeds the specified percentages of the budget. + /// Optional. Rules that trigger alerts (notifications of thresholds + /// being crossed) when spend exceeds the specified percentages of the budget. #[prost(message, repeated, tag="5")] pub threshold_rules: ::prost::alloc::vec::Vec, - /// Optional. Rules to apply to notifications sent based on budget spend and - /// thresholds. + /// Optional. Rules to apply to notifications sent based on budget spend and + /// thresholds. #[prost(message, optional, tag="6")] pub notifications_rule: ::core::option::Option, - /// Optional. Etag to validate that the object is unchanged for a - /// read-modify-write operation. - /// An empty etag will cause an update to overwrite other changes. + /// Optional. Etag to validate that the object is unchanged for a + /// read-modify-write operation. + /// An empty etag will cause an update to overwrite other changes. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, } -/// The budgeted amount for each usage period. +/// The budgeted amount for each usage period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetAmount { - /// Specification for what amount to use as the budget. + /// Specification for what amount to use as the budget. #[prost(oneof="budget_amount::BudgetAmount", tags="1, 2")] pub budget_amount: ::core::option::Option, } /// Nested message and enum types in `BudgetAmount`. pub mod budget_amount { - /// Specification for what amount to use as the budget. + /// Specification for what amount to use as the budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BudgetAmount { - /// A specified amount to use as the budget. - /// `currency_code` is optional. If specified when creating a budget, it must - /// match the currency of the billing account. If specified when updating a - /// budget, it must match the currency_code of the existing budget. - /// The `currency_code` is provided on output. + /// A specified amount to use as the budget. + /// `currency_code` is optional. If specified when creating a budget, it must + /// match the currency of the billing account. If specified when updating a + /// budget, it must match the currency_code of the existing budget. + /// The `currency_code` is provided on output. #[prost(message, tag="1")] SpecifiedAmount(super::super::super::super::super::r#type::Money), - /// Use the last period's actual spend as the budget for the present period. - /// LastPeriodAmount can only be set when the budget's time period is a - /// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\]. - /// It cannot be set in combination with - /// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. + /// Use the last period's actual spend as the budget for the present period. + /// LastPeriodAmount can only be set when the budget's time period is a + /// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\]. + /// It cannot be set in combination with + /// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. #[prost(message, tag="2")] LastPeriodAmount(super::LastPeriodAmount), } } -/// Describes a budget amount targeted to the last -/// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\] -/// spend. At this time, the amount is automatically 100% of the last calendar -/// period's spend; that is, there are no other options yet. -/// Future configuration options will be described here (for example, configuring -/// a percentage of last period's spend). -/// LastPeriodAmount cannot be set for a budget configured with -/// a -/// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. +/// Describes a budget amount targeted to the last +/// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\] +/// spend. At this time, the amount is automatically 100% of the last calendar +/// period's spend; that is, there are no other options yet. +/// Future configuration options will be described here (for example, configuring +/// a percentage of last period's spend). +/// LastPeriodAmount cannot be set for a budget configured with +/// a +/// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LastPeriodAmount { } -/// ThresholdRule contains a definition of a threshold which triggers -/// an alert (a notification of a threshold being crossed) to be sent when -/// spend goes above the specified amount. -/// Alerts are automatically e-mailed to users with the Billing Account -/// Administrator role or the Billing Account User role. -/// The thresholds here have no effect on notifications sent to anything -/// configured under `Budget.all_updates_rule`. +/// ThresholdRule contains a definition of a threshold which triggers +/// an alert (a notification of a threshold being crossed) to be sent when +/// spend goes above the specified amount. +/// Alerts are automatically e-mailed to users with the Billing Account +/// Administrator role or the Billing Account User role. +/// The thresholds here have no effect on notifications sent to anything +/// configured under `Budget.all_updates_rule`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdRule { - /// Required. Send an alert when this threshold is exceeded. - /// This is a 1.0-based percentage, so 0.5 = 50%. - /// Validation: non-negative number. + /// Required. Send an alert when this threshold is exceeded. + /// This is a 1.0-based percentage, so 0.5 = 50%. + /// Validation: non-negative number. #[prost(double, tag="1")] pub threshold_percent: f64, - /// Optional. The type of basis used to determine if spend has passed the - /// threshold. Behavior defaults to CURRENT_SPEND if not set. + /// Optional. The type of basis used to determine if spend has passed the + /// threshold. Behavior defaults to CURRENT_SPEND if not set. #[prost(enumeration="threshold_rule::Basis", tag="2")] pub spend_basis: i32, } /// Nested message and enum types in `ThresholdRule`. pub mod threshold_rule { - /// The type of basis used to determine if spend has passed the threshold. + /// The type of basis used to determine if spend has passed the threshold. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Basis { - /// Unspecified threshold basis. + /// Unspecified threshold basis. Unspecified = 0, - /// Use current spend as the basis for comparison against the threshold. + /// Use current spend as the basis for comparison against the threshold. CurrentSpend = 1, - /// Use forecasted spend for the period as the basis for comparison against - /// the threshold. - /// FORECASTED_SPEND can only be set when the budget's time period is a - /// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\]. - /// It cannot be set in combination with - /// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. + /// Use forecasted spend for the period as the basis for comparison against + /// the threshold. + /// FORECASTED_SPEND can only be set when the budget's time period is a + /// \[Filter.calendar_period][google.cloud.billing.budgets.v1.Filter.calendar_period\]. + /// It cannot be set in combination with + /// \[Filter.custom_period][google.cloud.billing.budgets.v1.Filter.custom_period\]. ForecastedSpend = 2, } impl Basis { @@ -127,122 +127,122 @@ pub mod threshold_rule { } } } -/// NotificationsRule defines notifications that are sent based on budget spend -/// and thresholds. +/// NotificationsRule defines notifications that are sent based on budget spend +/// and thresholds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotificationsRule { - /// Optional. The name of the Pub/Sub topic where budget related messages will - /// be published, in the form `projects/{project_id}/topics/{topic_id}`. - /// Updates are sent at regular intervals to the topic. The topic needs to be - /// created before the budget is created; see - /// - /// for more details. - /// Caller is expected to have - /// `pubsub.topics.setIamPolicy` permission on the topic when it's set for a - /// budget, otherwise, the API call will fail with PERMISSION_DENIED. See - /// - /// for more details on Pub/Sub roles and permissions. + /// Optional. The name of the Pub/Sub topic where budget related messages will + /// be published, in the form `projects/{project_id}/topics/{topic_id}`. + /// Updates are sent at regular intervals to the topic. The topic needs to be + /// created before the budget is created; see + /// + /// for more details. + /// Caller is expected to have + /// `pubsub.topics.setIamPolicy` permission on the topic when it's set for a + /// budget, otherwise, the API call will fail with PERMISSION_DENIED. See + /// + /// for more details on Pub/Sub roles and permissions. #[prost(string, tag="1")] pub pubsub_topic: ::prost::alloc::string::String, - /// Optional. Required when - /// \[NotificationsRule.pubsub_topic][google.cloud.billing.budgets.v1.NotificationsRule.pubsub_topic\] - /// is set. The schema version of the notification sent to - /// \[NotificationsRule.pubsub_topic][google.cloud.billing.budgets.v1.NotificationsRule.pubsub_topic\]. - /// Only "1.0" is accepted. It represents the JSON schema as defined in - /// + /// Optional. Required when + /// \[NotificationsRule.pubsub_topic][google.cloud.billing.budgets.v1.NotificationsRule.pubsub_topic\] + /// is set. The schema version of the notification sent to + /// \[NotificationsRule.pubsub_topic][google.cloud.billing.budgets.v1.NotificationsRule.pubsub_topic\]. + /// Only "1.0" is accepted. It represents the JSON schema as defined in + /// #[prost(string, tag="2")] pub schema_version: ::prost::alloc::string::String, - /// Optional. Targets to send notifications to when a threshold is exceeded. - /// This is in addition to default recipients who have billing account IAM - /// roles. The value is the full REST resource name of a monitoring - /// notification channel with the form - /// `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 - /// channels are allowed. See - /// - /// for more details. + /// Optional. Targets to send notifications to when a threshold is exceeded. + /// This is in addition to default recipients who have billing account IAM + /// roles. The value is the full REST resource name of a monitoring + /// notification channel with the form + /// `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 + /// channels are allowed. See + /// + /// for more details. #[prost(string, repeated, tag="3")] pub monitoring_notification_channels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. When set to true, disables default notifications sent when a - /// threshold is exceeded. Default notifications are sent to those with Billing - /// Account Administrator and Billing Account User IAM roles for the target - /// account. + /// Optional. When set to true, disables default notifications sent when a + /// threshold is exceeded. Default notifications are sent to those with Billing + /// Account Administrator and Billing Account User IAM roles for the target + /// account. #[prost(bool, tag="4")] pub disable_default_iam_recipients: bool, } -/// A filter for a budget, limiting the scope of the cost to calculate. +/// A filter for a budget, limiting the scope of the cost to calculate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Filter { - /// Optional. A set of projects of the form `projects/{project}`, - /// specifying that usage from only this set of projects should be - /// included in the budget. If omitted, the report will include all usage for - /// the billing account, regardless of which project the usage occurred on. - /// Only zero or one project can be specified currently. + /// Optional. A set of projects of the form `projects/{project}`, + /// specifying that usage from only this set of projects should be + /// included in the budget. If omitted, the report will include all usage for + /// the billing account, regardless of which project the usage occurred on. + /// Only zero or one project can be specified currently. #[prost(string, repeated, tag="1")] pub projects: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If - /// \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment\] - /// is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be - /// subtracted from gross cost to determine the spend for threshold - /// calculations. See [a list of acceptable credit type - /// values](). + /// Optional. If + /// \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment\] + /// is INCLUDE_SPECIFIED_CREDITS, this is a list of credit types to be + /// subtracted from gross cost to determine the spend for threshold + /// calculations. See [a list of acceptable credit type + /// values](). /// - /// If - /// \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment\] - /// is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. + /// If + /// \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1.Filter.credit_types_treatment\] + /// is **not** INCLUDE_SPECIFIED_CREDITS, this field must be empty. #[prost(string, repeated, tag="7")] pub credit_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. + /// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. #[prost(enumeration="filter::CreditTypesTreatment", tag="4")] pub credit_types_treatment: i32, - /// Optional. A set of services of the form `services/{service_id}`, - /// specifying that usage from only this set of services should be - /// included in the budget. If omitted, the report will include usage for - /// all the services. - /// The service names are available through the Catalog API: - /// + /// Optional. A set of services of the form `services/{service_id}`, + /// specifying that usage from only this set of services should be + /// included in the budget. If omitted, the report will include usage for + /// all the services. + /// The service names are available through the Catalog API: + /// #[prost(string, repeated, tag="3")] pub services: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, - /// specifying that usage from only this set of subaccounts should be included - /// in the budget. If a subaccount is set to the name of the parent account, - /// usage from the parent account will be included. If the field is omitted, - /// the report will include usage from the parent account and all subaccounts, - /// if they exist. + /// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, + /// specifying that usage from only this set of subaccounts should be included + /// in the budget. If a subaccount is set to the name of the parent account, + /// usage from the parent account will be included. If the field is omitted, + /// the report will include usage from the parent account and all subaccounts, + /// if they exist. #[prost(string, repeated, tag="5")] pub subaccounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A single label and value pair specifying that usage from only - /// this set of labeled resources should be included in the budget. Currently, - /// multiple entries or multiple values per entry are not allowed. If omitted, - /// the report will include all labeled and unlabeled usage. + /// Optional. A single label and value pair specifying that usage from only + /// this set of labeled resources should be included in the budget. Currently, + /// multiple entries or multiple values per entry are not allowed. If omitted, + /// the report will include all labeled and unlabeled usage. #[prost(map="string, message", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::ListValue>, - /// Multiple options to choose the budget's time period, specifying that only - /// usage that occurs during this time period should be included in the budget. - /// If not set, the `usage_period` defaults to CalendarPeriod.MONTH. + /// Multiple options to choose the budget's time period, specifying that only + /// usage that occurs during this time period should be included in the budget. + /// If not set, the `usage_period` defaults to CalendarPeriod.MONTH. #[prost(oneof="filter::UsagePeriod", tags="8, 9")] pub usage_period: ::core::option::Option, } /// Nested message and enum types in `Filter`. pub mod filter { - /// Specifies how credits are applied when determining the spend for - /// threshold calculations. Budgets track the total cost minus any applicable - /// selected credits. - /// [See the documentation for a list of credit - /// types](). + /// Specifies how credits are applied when determining the spend for + /// threshold calculations. Budgets track the total cost minus any applicable + /// selected credits. + /// [See the documentation for a list of credit + /// types](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CreditTypesTreatment { Unspecified = 0, - /// All types of credit are subtracted from the gross cost to determine the - /// spend for threshold calculations. + /// All types of credit are subtracted from the gross cost to determine the + /// spend for threshold calculations. IncludeAllCredits = 1, - /// All types of credit are added to the net cost to determine the spend for - /// threshold calculations. + /// All types of credit are added to the net cost to determine the spend for + /// threshold calculations. ExcludeAllCredits = 2, - /// [Credit - /// types]() - /// specified in the credit_types field are subtracted from the - /// gross cost to determine the spend for threshold calculations. + /// [Credit + /// types]() + /// specified in the credit_types field are subtracted from the + /// gross cost to determine the spend for threshold calculations. IncludeSpecifiedCredits = 3, } impl CreditTypesTreatment { @@ -259,52 +259,52 @@ pub mod filter { } } } - /// Multiple options to choose the budget's time period, specifying that only - /// usage that occurs during this time period should be included in the budget. - /// If not set, the `usage_period` defaults to CalendarPeriod.MONTH. + /// Multiple options to choose the budget's time period, specifying that only + /// usage that occurs during this time period should be included in the budget. + /// If not set, the `usage_period` defaults to CalendarPeriod.MONTH. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UsagePeriod { - /// Optional. Specifies to track usage for recurring calendar period. - /// For example, assume that CalendarPeriod.QUARTER is set. The budget will - /// track usage from April 1 to June 30, when the current calendar month is - /// April, May, June. After that, it will track usage from July 1 to - /// September 30 when the current calendar month is July, August, September, - /// so on. + /// Optional. Specifies to track usage for recurring calendar period. + /// For example, assume that CalendarPeriod.QUARTER is set. The budget will + /// track usage from April 1 to June 30, when the current calendar month is + /// April, May, June. After that, it will track usage from July 1 to + /// September 30 when the current calendar month is July, August, September, + /// so on. #[prost(enumeration="super::CalendarPeriod", tag="8")] CalendarPeriod(i32), - /// Optional. Specifies to track usage from any start date (required) to any - /// end date (optional). This time period is static, it does not recur. + /// Optional. Specifies to track usage from any start date (required) to any + /// end date (optional). This time period is static, it does not recur. #[prost(message, tag="9")] CustomPeriod(super::CustomPeriod), } } -/// All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). +/// All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPeriod { - /// Required. The start date must be after January 1, 2017. + /// Required. The start date must be after January 1, 2017. #[prost(message, optional, tag="1")] pub start_date: ::core::option::Option, - /// Optional. The end date of the time period. Budgets with elapsed end date - /// won't be processed. If unset, specifies to track all usage incurred since - /// the start_date. + /// Optional. The end date of the time period. Budgets with elapsed end date + /// won't be processed. If unset, specifies to track all usage incurred since + /// the start_date. #[prost(message, optional, tag="2")] pub end_date: ::core::option::Option, } -/// A `CalendarPeriod` represents the abstract concept of a time period that -/// has a canonical start. Grammatically, "the start of the current -/// `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian -/// Pacific Time (UTC-8). +/// A `CalendarPeriod` represents the abstract concept of a time period that +/// has a canonical start. Grammatically, "the start of the current +/// `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian +/// Pacific Time (UTC-8). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CalendarPeriod { Unspecified = 0, - /// A month. Month starts on the first day of each month, such as January 1, - /// February 1, March 1, and so on. + /// A month. Month starts on the first day of each month, such as January 1, + /// February 1, March 1, and so on. Month = 1, - /// A quarter. Quarters start on dates January 1, April 1, July 1, and October - /// 1 of each year. + /// A quarter. Quarters start on dates January 1, April 1, July 1, and October + /// 1 of each year. Quarter = 2, - /// A year. Year starts on January 1. + /// A year. Year starts on January 1. Year = 3, } impl CalendarPeriod { @@ -321,74 +321,74 @@ impl CalendarPeriod { } } } -/// Request for CreateBudget +/// Request for CreateBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBudgetRequest { - /// Required. The name of the billing account to create the budget in. Values - /// are of the form `billingAccounts/{billingAccountId}`. + /// Required. The name of the billing account to create the budget in. Values + /// are of the form `billingAccounts/{billingAccountId}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Budget to create. + /// Required. Budget to create. #[prost(message, optional, tag="2")] pub budget: ::core::option::Option, } -/// Request for UpdateBudget +/// Request for UpdateBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBudgetRequest { - /// Required. The updated budget object. - /// The budget to update is specified by the budget name in the budget. + /// Required. The updated budget object. + /// The budget to update is specified by the budget name in the budget. #[prost(message, optional, tag="1")] pub budget: ::core::option::Option, - /// Optional. Indicates which fields in the provided budget to update. - /// Read-only fields (such as `name`) cannot be changed. If this is not - /// provided, then only fields with non-default values from the request are - /// updated. See - /// for more - /// details about default values. + /// Optional. Indicates which fields in the provided budget to update. + /// Read-only fields (such as `name`) cannot be changed. If this is not + /// provided, then only fields with non-default values from the request are + /// updated. See + /// for more + /// details about default values. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for GetBudget +/// Request for GetBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBudgetRequest { - /// Required. Name of budget to get. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Required. Name of budget to get. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for ListBudgets +/// Request for ListBudgets #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBudgetsRequest { - /// Required. Name of billing account to list budgets under. Values - /// are of the form `billingAccounts/{billingAccountId}`. + /// Required. Name of billing account to list budgets under. Values + /// are of the form `billingAccounts/{billingAccountId}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of budgets to return per page. - /// The default and maximum value are 100. + /// Optional. The maximum number of budgets to return per page. + /// The default and maximum value are 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The value returned by the last `ListBudgetsResponse` which - /// indicates that this is a continuation of a prior `ListBudgets` call, - /// and that the system should return the next page of data. + /// Optional. The value returned by the last `ListBudgetsResponse` which + /// indicates that this is a continuation of a prior `ListBudgets` call, + /// and that the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response for ListBudgets +/// Response for ListBudgets #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBudgetsResponse { - /// List of the budgets owned by the requested billing account. + /// List of the budgets owned by the requested billing account. #[prost(message, repeated, tag="1")] pub budgets: ::prost::alloc::vec::Vec, - /// If not empty, indicates that there may be more budgets that match the - /// request; this value should be passed in a new `ListBudgetsRequest`. + /// If not empty, indicates that there may be more budgets that match the + /// request; this value should be passed in a new `ListBudgetsRequest`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request for DeleteBudget +/// Request for DeleteBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBudgetRequest { - /// Required. Name of the budget to delete. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Required. Name of the budget to delete. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.billing.budgets.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.billing.budgets.v1beta1.rs index 058b1fbd5..210785dbc 100644 --- a/gcloud-sdk/genproto/google.cloud.billing.budgets.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.billing.budgets.v1beta1.rs @@ -1,130 +1,130 @@ -/// A budget is a plan that describes what you expect to spend on Cloud -/// projects, plus the rules to execute as spend is tracked against that plan, -/// (for example, send an alert when 90% of the target spend is met). -/// The budget time period is configurable, with options such as month (default), -/// quarter, year, or custom time period. +/// A budget is a plan that describes what you expect to spend on Cloud +/// projects, plus the rules to execute as spend is tracked against that plan, +/// (for example, send an alert when 90% of the target spend is met). +/// The budget time period is configurable, with options such as month (default), +/// quarter, year, or custom time period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Budget { - /// Output only. Resource name of the budget. - /// The resource name implies the scope of a budget. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Output only. Resource name of the budget. + /// The resource name implies the scope of a budget. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// User data for display name in UI. - /// Validation: <= 60 chars. + /// User data for display name in UI. + /// Validation: <= 60 chars. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Filters that define which resources are used to compute the actual spend - /// against the budget amount, such as projects, services, and the budget's - /// time period, as well as other filters. + /// Optional. Filters that define which resources are used to compute the actual spend + /// against the budget amount, such as projects, services, and the budget's + /// time period, as well as other filters. #[prost(message, optional, tag="3")] pub budget_filter: ::core::option::Option, - /// Required. Budgeted amount. + /// Required. Budgeted amount. #[prost(message, optional, tag="4")] pub amount: ::core::option::Option, - /// Optional. Rules that trigger alerts (notifications of thresholds - /// being crossed) when spend exceeds the specified percentages of the budget. + /// Optional. Rules that trigger alerts (notifications of thresholds + /// being crossed) when spend exceeds the specified percentages of the budget. /// - /// Optional for `pubsubTopic` notifications. + /// Optional for `pubsubTopic` notifications. /// - /// Required if using email notifications. + /// Required if using email notifications. #[prost(message, repeated, tag="5")] pub threshold_rules: ::prost::alloc::vec::Vec, - /// Optional. Rules to apply to notifications sent based on budget spend and thresholds. + /// Optional. Rules to apply to notifications sent based on budget spend and thresholds. #[prost(message, optional, tag="6")] pub all_updates_rule: ::core::option::Option, - /// Optional. Etag to validate that the object is unchanged for a - /// read-modify-write operation. - /// An empty etag will cause an update to overwrite other changes. + /// Optional. Etag to validate that the object is unchanged for a + /// read-modify-write operation. + /// An empty etag will cause an update to overwrite other changes. #[prost(string, tag="7")] pub etag: ::prost::alloc::string::String, } -/// The budgeted amount for each usage period. +/// The budgeted amount for each usage period. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BudgetAmount { - /// Specification for what amount to use as the budget. + /// Specification for what amount to use as the budget. #[prost(oneof="budget_amount::BudgetAmount", tags="1, 2")] pub budget_amount: ::core::option::Option, } /// Nested message and enum types in `BudgetAmount`. pub mod budget_amount { - /// Specification for what amount to use as the budget. + /// Specification for what amount to use as the budget. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BudgetAmount { - /// A specified amount to use as the budget. - /// `currency_code` is optional. If specified when creating a budget, it must - /// match the currency of the billing account. If specified when updating a - /// budget, it must match the currency_code of the existing budget. - /// The `currency_code` is provided on output. + /// A specified amount to use as the budget. + /// `currency_code` is optional. If specified when creating a budget, it must + /// match the currency of the billing account. If specified when updating a + /// budget, it must match the currency_code of the existing budget. + /// The `currency_code` is provided on output. #[prost(message, tag="1")] SpecifiedAmount(super::super::super::super::super::r#type::Money), - /// Use the last period's actual spend as the budget for the present period. - /// LastPeriodAmount can only be set when the budget's time period is a - /// \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\]. It cannot be set in combination with - /// \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. + /// Use the last period's actual spend as the budget for the present period. + /// LastPeriodAmount can only be set when the budget's time period is a + /// \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\]. It cannot be set in combination with + /// \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. #[prost(message, tag="2")] LastPeriodAmount(super::LastPeriodAmount), } } -/// Describes a budget amount targeted to the last \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\] -/// spend. At this time, the amount is automatically 100% of the last calendar -/// period's spend; that is, there are no other options yet. -/// Future configuration options will be described here (for example, configuring -/// a percentage of last period's spend). -/// LastPeriodAmount cannot be set for a budget configured with -/// a \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. +/// Describes a budget amount targeted to the last \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\] +/// spend. At this time, the amount is automatically 100% of the last calendar +/// period's spend; that is, there are no other options yet. +/// Future configuration options will be described here (for example, configuring +/// a percentage of last period's spend). +/// LastPeriodAmount cannot be set for a budget configured with +/// a \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LastPeriodAmount { } -/// ThresholdRule contains the definition of a threshold. Threshold rules define -/// the triggering events used to generate a budget notification email. When a -/// threshold is crossed (spend exceeds the specified percentages of the -/// budget), budget alert emails are sent to the email recipients you specify -/// in the -/// \[NotificationsRule\](#notificationsrule). +/// ThresholdRule contains the definition of a threshold. Threshold rules define +/// the triggering events used to generate a budget notification email. When a +/// threshold is crossed (spend exceeds the specified percentages of the +/// budget), budget alert emails are sent to the email recipients you specify +/// in the +/// \[NotificationsRule\](#notificationsrule). /// -/// Threshold rules also affect the fields included in the -/// [JSON data -/// object]() -/// sent to a Pub/Sub topic. +/// Threshold rules also affect the fields included in the +/// [JSON data +/// object]() +/// sent to a Pub/Sub topic. /// -/// Threshold rules are _required_ if using email notifications. +/// Threshold rules are _required_ if using email notifications. /// -/// Threshold rules are _optional_ if only setting a -/// [`pubsubTopic` NotificationsRule](#NotificationsRule), -/// unless you want your JSON data object to include data about the thresholds -/// you set. +/// Threshold rules are _optional_ if only setting a +/// [`pubsubTopic` NotificationsRule](#NotificationsRule), +/// unless you want your JSON data object to include data about the thresholds +/// you set. /// -/// For more information, see -/// [set budget threshold rules and -/// actions](). +/// For more information, see +/// [set budget threshold rules and +/// actions](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThresholdRule { - /// Required. Send an alert when this threshold is exceeded. - /// This is a 1.0-based percentage, so 0.5 = 50%. - /// Validation: non-negative number. + /// Required. Send an alert when this threshold is exceeded. + /// This is a 1.0-based percentage, so 0.5 = 50%. + /// Validation: non-negative number. #[prost(double, tag="1")] pub threshold_percent: f64, - /// Optional. The type of basis used to determine if spend has passed the - /// threshold. Behavior defaults to CURRENT_SPEND if not set. + /// Optional. The type of basis used to determine if spend has passed the + /// threshold. Behavior defaults to CURRENT_SPEND if not set. #[prost(enumeration="threshold_rule::Basis", tag="2")] pub spend_basis: i32, } /// Nested message and enum types in `ThresholdRule`. pub mod threshold_rule { - /// The type of basis used to determine if spend has passed the threshold. + /// The type of basis used to determine if spend has passed the threshold. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Basis { - /// Unspecified threshold basis. + /// Unspecified threshold basis. Unspecified = 0, - /// Use current spend as the basis for comparison against the threshold. + /// Use current spend as the basis for comparison against the threshold. CurrentSpend = 1, - /// Use forecasted spend for the period as the basis for comparison against - /// the threshold. - /// FORECASTED_SPEND can only be set when the budget's time period is a - /// \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\]. It cannot be set in combination with - /// \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. + /// Use forecasted spend for the period as the basis for comparison against + /// the threshold. + /// FORECASTED_SPEND can only be set when the budget's time period is a + /// \[Filter.calendar_period][google.cloud.billing.budgets.v1beta1.Filter.calendar_period\]. It cannot be set in combination with + /// \[Filter.custom_period][google.cloud.billing.budgets.v1beta1.Filter.custom_period\]. ForecastedSpend = 2, } impl Basis { @@ -141,122 +141,122 @@ pub mod threshold_rule { } } } -/// AllUpdatesRule defines notifications that are sent based on budget spend -/// and thresholds. +/// AllUpdatesRule defines notifications that are sent based on budget spend +/// and thresholds. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllUpdatesRule { - /// Optional. The name of the Pub/Sub topic where budget related messages will be - /// published, in the form `projects/{project_id}/topics/{topic_id}`. Updates - /// are sent at regular intervals to the topic. - /// The topic needs to be created before the budget is created; see - /// - /// for more details. - /// Caller is expected to have - /// `pubsub.topics.setIamPolicy` permission on the topic when it's set for a - /// budget, otherwise, the API call will fail with PERMISSION_DENIED. See - /// - /// for more details on Pub/Sub roles and permissions. + /// Optional. The name of the Pub/Sub topic where budget related messages will be + /// published, in the form `projects/{project_id}/topics/{topic_id}`. Updates + /// are sent at regular intervals to the topic. + /// The topic needs to be created before the budget is created; see + /// + /// for more details. + /// Caller is expected to have + /// `pubsub.topics.setIamPolicy` permission on the topic when it's set for a + /// budget, otherwise, the API call will fail with PERMISSION_DENIED. See + /// + /// for more details on Pub/Sub roles and permissions. #[prost(string, tag="1")] pub pubsub_topic: ::prost::alloc::string::String, - /// Optional. Required when \[AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic\] is set. The schema version of - /// the notification sent to \[AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic\]. Only "1.0" is - /// accepted. It represents the JSON schema as defined in - /// + /// Optional. Required when \[AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic\] is set. The schema version of + /// the notification sent to \[AllUpdatesRule.pubsub_topic][google.cloud.billing.budgets.v1beta1.AllUpdatesRule.pubsub_topic\]. Only "1.0" is + /// accepted. It represents the JSON schema as defined in + /// #[prost(string, tag="2")] pub schema_version: ::prost::alloc::string::String, - /// Optional. Targets to send notifications to when a threshold is exceeded. This is in - /// addition to default recipients who have billing account IAM roles. - /// The value is the full REST resource name of a monitoring notification - /// channel with the form - /// `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 - /// channels are allowed. See - /// - /// for more details. + /// Optional. Targets to send notifications to when a threshold is exceeded. This is in + /// addition to default recipients who have billing account IAM roles. + /// The value is the full REST resource name of a monitoring notification + /// channel with the form + /// `projects/{project_id}/notificationChannels/{channel_id}`. A maximum of 5 + /// channels are allowed. See + /// + /// for more details. #[prost(string, repeated, tag="3")] pub monitoring_notification_channels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. When set to true, disables default notifications sent when a threshold is - /// exceeded. Default notifications are sent to those with Billing Account - /// Administrator and Billing Account User IAM roles for the target account. + /// Optional. When set to true, disables default notifications sent when a threshold is + /// exceeded. Default notifications are sent to those with Billing Account + /// Administrator and Billing Account User IAM roles for the target account. #[prost(bool, tag="4")] pub disable_default_iam_recipients: bool, } -/// A filter for a budget, limiting the scope of the cost to calculate. +/// A filter for a budget, limiting the scope of the cost to calculate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Filter { - /// Optional. A set of projects of the form `projects/{project}`, - /// specifying that usage from only this set of projects should be - /// included in the budget. If omitted, the report will include all usage for - /// the billing account, regardless of which project the usage occurred on. - /// Only zero or one project can be specified currently. + /// Optional. A set of projects of the form `projects/{project}`, + /// specifying that usage from only this set of projects should be + /// included in the budget. If omitted, the report will include all usage for + /// the billing account, regardless of which project the usage occurred on. + /// Only zero or one project can be specified currently. #[prost(string, repeated, tag="1")] pub projects: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment\] is INCLUDE_SPECIFIED_CREDITS, this is - /// a list of credit types to be subtracted from gross cost to determine the - /// spend for threshold calculations. See - /// [a list of acceptable credit type - /// values](). + /// Optional. If \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment\] is INCLUDE_SPECIFIED_CREDITS, this is + /// a list of credit types to be subtracted from gross cost to determine the + /// spend for threshold calculations. See + /// [a list of acceptable credit type + /// values](). /// - /// If \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment\] is **not** INCLUDE_SPECIFIED_CREDITS, - /// this field must be empty. + /// If \[Filter.credit_types_treatment][google.cloud.billing.budgets.v1beta1.Filter.credit_types_treatment\] is **not** INCLUDE_SPECIFIED_CREDITS, + /// this field must be empty. #[prost(string, repeated, tag="7")] pub credit_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. + /// Optional. If not set, default behavior is `INCLUDE_ALL_CREDITS`. #[prost(enumeration="filter::CreditTypesTreatment", tag="4")] pub credit_types_treatment: i32, - /// Optional. A set of services of the form `services/{service_id}`, - /// specifying that usage from only this set of services should be - /// included in the budget. If omitted, the report will include usage for - /// all the services. - /// The service names are available through the Catalog API: - /// + /// Optional. A set of services of the form `services/{service_id}`, + /// specifying that usage from only this set of services should be + /// included in the budget. If omitted, the report will include usage for + /// all the services. + /// The service names are available through the Catalog API: + /// #[prost(string, repeated, tag="3")] pub services: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying - /// that usage from only this set of subaccounts should be included in the - /// budget. If a subaccount is set to the name of the parent account, - /// usage from the parent account will be included. If omitted, the - /// report will include usage from the parent account and all - /// subaccounts, if they exist. + /// Optional. A set of subaccounts of the form `billingAccounts/{account_id}`, specifying + /// that usage from only this set of subaccounts should be included in the + /// budget. If a subaccount is set to the name of the parent account, + /// usage from the parent account will be included. If omitted, the + /// report will include usage from the parent account and all + /// subaccounts, if they exist. #[prost(string, repeated, tag="5")] pub subaccounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A single label and value pair specifying that usage from only this set of - /// labeled resources should be included in the budget. If omitted, the - /// report will include all labeled and unlabeled usage. + /// Optional. A single label and value pair specifying that usage from only this set of + /// labeled resources should be included in the budget. If omitted, the + /// report will include all labeled and unlabeled usage. /// - /// An object containing a single `"key": value` pair. Example: `{ "name": - /// "wrench" }`. + /// An object containing a single `"key": value` pair. Example: `{ "name": + /// "wrench" }`. /// /// _Currently, multiple entries or multiple values per entry are not /// allowed._ #[prost(map="string, message", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::ListValue>, - /// Multiple options to choose the budget's time period, specifying that only - /// usage that occurs during this time period should be included in the budget. - /// If not set, the usage_period defaults to CalendarPeriod.MONTH. + /// Multiple options to choose the budget's time period, specifying that only + /// usage that occurs during this time period should be included in the budget. + /// If not set, the usage_period defaults to CalendarPeriod.MONTH. #[prost(oneof="filter::UsagePeriod", tags="8, 9")] pub usage_period: ::core::option::Option, } /// Nested message and enum types in `Filter`. pub mod filter { - /// Specifies how credits are applied when determining the spend for - /// threshold calculations. Budgets track the total cost minus any applicable - /// selected credits. - /// [See the documentation for a list of credit - /// types](). + /// Specifies how credits are applied when determining the spend for + /// threshold calculations. Budgets track the total cost minus any applicable + /// selected credits. + /// [See the documentation for a list of credit + /// types](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CreditTypesTreatment { Unspecified = 0, - /// All types of credit are subtracted from the gross cost to determine the - /// spend for threshold calculations. + /// All types of credit are subtracted from the gross cost to determine the + /// spend for threshold calculations. IncludeAllCredits = 1, - /// All types of credit are added to the net cost to determine the spend for - /// threshold calculations. + /// All types of credit are added to the net cost to determine the spend for + /// threshold calculations. ExcludeAllCredits = 2, - /// [Credit - /// types]() - /// specified in the credit_types field are subtracted from the - /// gross cost to determine the spend for threshold calculations. + /// [Credit + /// types]() + /// specified in the credit_types field are subtracted from the + /// gross cost to determine the spend for threshold calculations. IncludeSpecifiedCredits = 3, } impl CreditTypesTreatment { @@ -273,54 +273,54 @@ pub mod filter { } } } - /// Multiple options to choose the budget's time period, specifying that only - /// usage that occurs during this time period should be included in the budget. - /// If not set, the usage_period defaults to CalendarPeriod.MONTH. + /// Multiple options to choose the budget's time period, specifying that only + /// usage that occurs during this time period should be included in the budget. + /// If not set, the usage_period defaults to CalendarPeriod.MONTH. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum UsagePeriod { - /// Optional. Specifies to track usage for recurring calendar period. - /// For example, assume that CalendarPeriod.QUARTER is set. The budget will - /// track usage from April 1 to June 30, when the current calendar month is - /// April, May, June. After that, it will track usage from July 1 to - /// September 30 when the current calendar month is July, August, September, - /// so on. + /// Optional. Specifies to track usage for recurring calendar period. + /// For example, assume that CalendarPeriod.QUARTER is set. The budget will + /// track usage from April 1 to June 30, when the current calendar month is + /// April, May, June. After that, it will track usage from July 1 to + /// September 30 when the current calendar month is July, August, September, + /// so on. #[prost(enumeration="super::CalendarPeriod", tag="8")] CalendarPeriod(i32), - /// Optional. Specifies to track usage from any start date (required) to any end date - /// (optional). This time period is static, it does not recur. + /// Optional. Specifies to track usage from any start date (required) to any end date + /// (optional). This time period is static, it does not recur. #[prost(message, tag="9")] CustomPeriod(super::CustomPeriod), } } -/// All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). +/// All date times begin at 12 AM US and Canadian Pacific Time (UTC-8). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomPeriod { - /// Required. The start date must be after January 1, 2017. + /// Required. The start date must be after January 1, 2017. #[prost(message, optional, tag="1")] pub start_date: ::core::option::Option, - /// Optional. The end date of the time period. Budgets with elapsed end date won't be - /// processed. If unset, specifies to track all usage - /// incurred since the start_date. + /// Optional. The end date of the time period. Budgets with elapsed end date won't be + /// processed. If unset, specifies to track all usage + /// incurred since the start_date. #[prost(message, optional, tag="2")] pub end_date: ::core::option::Option, } -/// A `CalendarPeriod` represents the abstract concept of a time period that -/// has a canonical start. Grammatically, "the start of the current -/// `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian -/// Pacific Time (UTC-8). +/// A `CalendarPeriod` represents the abstract concept of a time period that +/// has a canonical start. Grammatically, "the start of the current +/// `CalendarPeriod`". All calendar times begin at 12 AM US and Canadian +/// Pacific Time (UTC-8). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CalendarPeriod { - /// Calendar period is unset. This is the default if the budget is for a - /// custom time period (CustomPeriod). + /// Calendar period is unset. This is the default if the budget is for a + /// custom time period (CustomPeriod). Unspecified = 0, - /// A month. Month starts on the first day of each month, such as January 1, - /// February 1, March 1, and so on. + /// A month. Month starts on the first day of each month, such as January 1, + /// February 1, March 1, and so on. Month = 1, - /// A quarter. Quarters start on dates January 1, April 1, July 1, and October - /// 1 of each year. + /// A quarter. Quarters start on dates January 1, April 1, July 1, and October + /// 1 of each year. Quarter = 2, - /// A year. Year starts on January 1. + /// A year. Year starts on January 1. Year = 3, } impl CalendarPeriod { @@ -337,74 +337,74 @@ impl CalendarPeriod { } } } -/// Request for CreateBudget +/// Request for CreateBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBudgetRequest { - /// Required. The name of the billing account to create the budget in. Values - /// are of the form `billingAccounts/{billingAccountId}`. + /// Required. The name of the billing account to create the budget in. Values + /// are of the form `billingAccounts/{billingAccountId}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Budget to create. + /// Required. Budget to create. #[prost(message, optional, tag="2")] pub budget: ::core::option::Option, } -/// Request for UpdateBudget +/// Request for UpdateBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBudgetRequest { - /// Required. The updated budget object. - /// The budget to update is specified by the budget name in the budget. + /// Required. The updated budget object. + /// The budget to update is specified by the budget name in the budget. #[prost(message, optional, tag="1")] pub budget: ::core::option::Option, - /// Optional. Indicates which fields in the provided budget to update. - /// Read-only fields (such as `name`) cannot be changed. If this is not - /// provided, then only fields with non-default values from the request are - /// updated. See - /// for more - /// details about default values. + /// Optional. Indicates which fields in the provided budget to update. + /// Read-only fields (such as `name`) cannot be changed. If this is not + /// provided, then only fields with non-default values from the request are + /// updated. See + /// for more + /// details about default values. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for GetBudget +/// Request for GetBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBudgetRequest { - /// Required. Name of budget to get. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Required. Name of budget to get. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for ListBudgets +/// Request for ListBudgets #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBudgetsRequest { - /// Required. Name of billing account to list budgets under. Values - /// are of the form `billingAccounts/{billingAccountId}`. + /// Required. Name of billing account to list budgets under. Values + /// are of the form `billingAccounts/{billingAccountId}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of budgets to return per page. - /// The default and maximum value are 100. + /// Optional. The maximum number of budgets to return per page. + /// The default and maximum value are 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The value returned by the last `ListBudgetsResponse` which - /// indicates that this is a continuation of a prior `ListBudgets` call, - /// and that the system should return the next page of data. + /// Optional. The value returned by the last `ListBudgetsResponse` which + /// indicates that this is a continuation of a prior `ListBudgets` call, + /// and that the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response for ListBudgets +/// Response for ListBudgets #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBudgetsResponse { - /// List of the budgets owned by the requested billing account. + /// List of the budgets owned by the requested billing account. #[prost(message, repeated, tag="1")] pub budgets: ::prost::alloc::vec::Vec, - /// If not empty, indicates that there may be more budgets that match the - /// request; this value should be passed in a new `ListBudgetsRequest`. + /// If not empty, indicates that there may be more budgets that match the + /// request; this value should be passed in a new `ListBudgetsRequest`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request for DeleteBudget +/// Request for DeleteBudget #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBudgetRequest { - /// Required. Name of the budget to delete. Values are of the form - /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. + /// Required. Name of the budget to delete. Values are of the form + /// `billingAccounts/{billingAccountId}/budgets/{budgetId}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.billing.v1.rs b/gcloud-sdk/genproto/google.cloud.billing.v1.rs index 0b5051d30..ec4655c33 100644 --- a/gcloud-sdk/genproto/google.cloud.billing.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.billing.v1.rs @@ -1,169 +1,169 @@ -/// A billing account in [GCP Console](). -/// You can assign a billing account to one or more projects. +/// A billing account in [GCP Console](). +/// You can assign a billing account to one or more projects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BillingAccount { - /// The resource name of the billing account. The resource name has the form - /// `billingAccounts/{billing_account_id}`. For example, - /// `billingAccounts/012345-567890-ABCDEF` would be the resource name for - /// billing account `012345-567890-ABCDEF`. + /// The resource name of the billing account. The resource name has the form + /// `billingAccounts/{billing_account_id}`. For example, + /// `billingAccounts/012345-567890-ABCDEF` would be the resource name for + /// billing account `012345-567890-ABCDEF`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. True if the billing account is open, and will therefore be charged for any - /// usage on associated projects. False if the billing account is closed, and - /// therefore projects associated with it will be unable to use paid services. + /// Output only. True if the billing account is open, and will therefore be charged for any + /// usage on associated projects. False if the billing account is closed, and + /// therefore projects associated with it will be unable to use paid services. #[prost(bool, tag="2")] pub open: bool, - /// The display name given to the billing account, such as `My Billing - /// Account`. This name is displayed in the GCP Console. + /// The display name given to the billing account, such as `My Billing + /// Account`. This name is displayed in the GCP Console. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// If this account is a - /// \[subaccount\](), then this - /// will be the resource name of the master billing account that it is being - /// resold through. - /// Otherwise this will be empty. + /// If this account is a + /// \[subaccount\](), then this + /// will be the resource name of the master billing account that it is being + /// resold through. + /// Otherwise this will be empty. #[prost(string, tag="4")] pub master_billing_account: ::prost::alloc::string::String, } -/// Encapsulation of billing information for a GCP Console project. A project -/// has at most one associated billing account at a time (but a billing account -/// can be assigned to multiple projects). +/// Encapsulation of billing information for a GCP Console project. A project +/// has at most one associated billing account at a time (but a billing account +/// can be assigned to multiple projects). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectBillingInfo { - /// The resource name for the `ProjectBillingInfo`; has the form - /// `projects/{project_id}/billingInfo`. For example, the resource name for the - /// billing information for project `tokyo-rain-123` would be - /// `projects/tokyo-rain-123/billingInfo`. This field is read-only. + /// The resource name for the `ProjectBillingInfo`; has the form + /// `projects/{project_id}/billingInfo`. For example, the resource name for the + /// billing information for project `tokyo-rain-123` would be + /// `projects/tokyo-rain-123/billingInfo`. This field is read-only. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The ID of the project that this `ProjectBillingInfo` represents, such as - /// `tokyo-rain-123`. This is a convenience field so that you don't need to - /// parse the `name` field to obtain a project ID. This field is read-only. + /// The ID of the project that this `ProjectBillingInfo` represents, such as + /// `tokyo-rain-123`. This is a convenience field so that you don't need to + /// parse the `name` field to obtain a project ID. This field is read-only. #[prost(string, tag="2")] pub project_id: ::prost::alloc::string::String, - /// The resource name of the billing account associated with the project, if - /// any. For example, `billingAccounts/012345-567890-ABCDEF`. + /// The resource name of the billing account associated with the project, if + /// any. For example, `billingAccounts/012345-567890-ABCDEF`. #[prost(string, tag="3")] pub billing_account_name: ::prost::alloc::string::String, - /// True if the project is associated with an open billing account, to which - /// usage on the project is charged. False if the project is associated with a - /// closed billing account, or no billing account at all, and therefore cannot - /// use paid services. This field is read-only. + /// True if the project is associated with an open billing account, to which + /// usage on the project is charged. False if the project is associated with a + /// closed billing account, or no billing account at all, and therefore cannot + /// use paid services. This field is read-only. #[prost(bool, tag="4")] pub billing_enabled: bool, } -/// Request message for `GetBillingAccount`. +/// Request message for `GetBillingAccount`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBillingAccountRequest { - /// Required. The resource name of the billing account to retrieve. For example, - /// `billingAccounts/012345-567890-ABCDEF`. + /// Required. The resource name of the billing account to retrieve. For example, + /// `billingAccounts/012345-567890-ABCDEF`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `ListBillingAccounts`. +/// Request message for `ListBillingAccounts`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBillingAccountsRequest { - /// Requested page size. The maximum page size is 100; this is also the - /// default. + /// Requested page size. The maximum page size is 100; this is also the + /// default. #[prost(int32, tag="1")] pub page_size: i32, - /// A token identifying a page of results to return. This should be a - /// `next_page_token` value returned from a previous `ListBillingAccounts` - /// call. If unspecified, the first page of results is returned. + /// A token identifying a page of results to return. This should be a + /// `next_page_token` value returned from a previous `ListBillingAccounts` + /// call. If unspecified, the first page of results is returned. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, - /// Options for how to filter the returned billing accounts. - /// Currently this only supports filtering for - /// \[subaccounts\]() under a - /// single provided reseller billing account. - /// (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). - /// Boolean algebra and other fields are not currently supported. + /// Options for how to filter the returned billing accounts. + /// Currently this only supports filtering for + /// \[subaccounts\]() under a + /// single provided reseller billing account. + /// (e.g. "master_billing_account=billingAccounts/012345-678901-ABCDEF"). + /// Boolean algebra and other fields are not currently supported. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, } -/// Response message for `ListBillingAccounts`. +/// Response message for `ListBillingAccounts`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBillingAccountsResponse { - /// A list of billing accounts. + /// A list of billing accounts. #[prost(message, repeated, tag="1")] pub billing_accounts: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. To retrieve the next page, - /// call `ListBillingAccounts` again with the `page_token` field set to this - /// value. This field is empty if there are no more results to retrieve. + /// A token to retrieve the next page of results. To retrieve the next page, + /// call `ListBillingAccounts` again with the `page_token` field set to this + /// value. This field is empty if there are no more results to retrieve. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `CreateBillingAccount`. +/// Request message for `CreateBillingAccount`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBillingAccountRequest { - /// Required. The billing account resource to create. - /// Currently CreateBillingAccount only supports subaccount creation, so - /// any created billing accounts must be under a provided master billing - /// account. + /// Required. The billing account resource to create. + /// Currently CreateBillingAccount only supports subaccount creation, so + /// any created billing accounts must be under a provided master billing + /// account. #[prost(message, optional, tag="1")] pub billing_account: ::core::option::Option, } -/// Request message for `UpdateBillingAccount`. +/// Request message for `UpdateBillingAccount`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBillingAccountRequest { - /// Required. The name of the billing account resource to be updated. + /// Required. The name of the billing account resource to be updated. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The billing account resource to replace the resource on the server. + /// Required. The billing account resource to replace the resource on the server. #[prost(message, optional, tag="2")] pub account: ::core::option::Option, - /// The update mask applied to the resource. - /// Only "display_name" is currently supported. + /// The update mask applied to the resource. + /// Only "display_name" is currently supported. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for `ListProjectBillingInfo`. +/// Request message for `ListProjectBillingInfo`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProjectBillingInfoRequest { - /// Required. The resource name of the billing account associated with the projects that - /// you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. + /// Required. The resource name of the billing account associated with the projects that + /// you want to list. For example, `billingAccounts/012345-567890-ABCDEF`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Requested page size. The maximum page size is 100; this is also the - /// default. + /// Requested page size. The maximum page size is 100; this is also the + /// default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results to be returned. This should be a - /// `next_page_token` value returned from a previous `ListProjectBillingInfo` - /// call. If unspecified, the first page of results is returned. + /// A token identifying a page of results to be returned. This should be a + /// `next_page_token` value returned from a previous `ListProjectBillingInfo` + /// call. If unspecified, the first page of results is returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Request message for `ListProjectBillingInfoResponse`. +/// Request message for `ListProjectBillingInfoResponse`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProjectBillingInfoResponse { - /// A list of `ProjectBillingInfo` resources representing the projects - /// associated with the billing account. + /// A list of `ProjectBillingInfo` resources representing the projects + /// associated with the billing account. #[prost(message, repeated, tag="1")] pub project_billing_info: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. To retrieve the next page, - /// call `ListProjectBillingInfo` again with the `page_token` field set to this - /// value. This field is empty if there are no more results to retrieve. + /// A token to retrieve the next page of results. To retrieve the next page, + /// call `ListProjectBillingInfo` again with the `page_token` field set to this + /// value. This field is empty if there are no more results to retrieve. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `GetProjectBillingInfo`. +/// Request message for `GetProjectBillingInfo`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetProjectBillingInfoRequest { - /// Required. The resource name of the project for which billing information is - /// retrieved. For example, `projects/tokyo-rain-123`. + /// Required. The resource name of the project for which billing information is + /// retrieved. For example, `projects/tokyo-rain-123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for `UpdateProjectBillingInfo`. +/// Request message for `UpdateProjectBillingInfo`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateProjectBillingInfoRequest { - /// Required. The resource name of the project associated with the billing information - /// that you want to update. For example, `projects/tokyo-rain-123`. + /// Required. The resource name of the project associated with the billing information + /// that you want to update. For example, `projects/tokyo-rain-123`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The new billing information for the project. Read-only fields are ignored; - /// thus, you can leave empty all fields except `billing_account_name`. + /// The new billing information for the project. Read-only fields are ignored; + /// thus, you can leave empty all fields except `billing_account_name`. #[prost(message, optional, tag="2")] pub project_billing_info: ::core::option::Option, } @@ -522,190 +522,190 @@ pub mod cloud_billing_client { } } } -/// Encapsulates a single service in Google Cloud Platform. +/// Encapsulates a single service in Google Cloud Platform. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Service { - /// The resource name for the service. - /// Example: "services/DA34-426B-A397" + /// The resource name for the service. + /// Example: "services/DA34-426B-A397" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The identifier for the service. - /// Example: "DA34-426B-A397" + /// The identifier for the service. + /// Example: "DA34-426B-A397" #[prost(string, tag="2")] pub service_id: ::prost::alloc::string::String, - /// A human readable display name for this service. + /// A human readable display name for this service. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// The business under which the service is offered. - /// Ex. "businessEntities/GCP", "businessEntities/Maps" + /// The business under which the service is offered. + /// Ex. "businessEntities/GCP", "businessEntities/Maps" #[prost(string, tag="4")] pub business_entity_name: ::prost::alloc::string::String, } -/// Encapsulates a single SKU in Google Cloud Platform +/// Encapsulates a single SKU in Google Cloud Platform #[derive(Clone, PartialEq, ::prost::Message)] pub struct Sku { - /// The resource name for the SKU. - /// Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" + /// The resource name for the SKU. + /// Example: "services/DA34-426B-A397/skus/AA95-CD31-42FE" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The identifier for the SKU. - /// Example: "AA95-CD31-42FE" + /// The identifier for the SKU. + /// Example: "AA95-CD31-42FE" #[prost(string, tag="2")] pub sku_id: ::prost::alloc::string::String, - /// A human readable description of the SKU, has a maximum length of 256 - /// characters. + /// A human readable description of the SKU, has a maximum length of 256 + /// characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The category hierarchy of this SKU, purely for organizational purpose. + /// The category hierarchy of this SKU, purely for organizational purpose. #[prost(message, optional, tag="4")] pub category: ::core::option::Option, - /// List of service regions this SKU is offered at. - /// Example: "asia-east1" - /// Service regions can be found at + /// List of service regions this SKU is offered at. + /// Example: "asia-east1" + /// Service regions can be found at #[prost(string, repeated, tag="5")] pub service_regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A timeline of pricing info for this SKU in chronological order. + /// A timeline of pricing info for this SKU in chronological order. #[prost(message, repeated, tag="6")] pub pricing_info: ::prost::alloc::vec::Vec, - /// Identifies the service provider. - /// This is 'Google' for first party services in Google Cloud Platform. + /// Identifies the service provider. + /// This is 'Google' for first party services in Google Cloud Platform. #[prost(string, tag="7")] pub service_provider_name: ::prost::alloc::string::String, } -/// Represents the category hierarchy of a SKU. +/// Represents the category hierarchy of a SKU. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Category { - /// The display name of the service this SKU belongs to. + /// The display name of the service this SKU belongs to. #[prost(string, tag="1")] pub service_display_name: ::prost::alloc::string::String, - /// The type of product the SKU refers to. - /// Example: "Compute", "Storage", "Network", "ApplicationServices" etc. + /// The type of product the SKU refers to. + /// Example: "Compute", "Storage", "Network", "ApplicationServices" etc. #[prost(string, tag="2")] pub resource_family: ::prost::alloc::string::String, - /// A group classification for related SKUs. - /// Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. + /// A group classification for related SKUs. + /// Example: "RAM", "GPU", "Prediction", "Ops", "GoogleEgress" etc. #[prost(string, tag="3")] pub resource_group: ::prost::alloc::string::String, - /// Represents how the SKU is consumed. - /// Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. + /// Represents how the SKU is consumed. + /// Example: "OnDemand", "Preemptible", "Commit1Mo", "Commit1Yr" etc. #[prost(string, tag="4")] pub usage_type: ::prost::alloc::string::String, } -/// Represents the pricing information for a SKU at a single point of time. +/// Represents the pricing information for a SKU at a single point of time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricingInfo { - /// The timestamp from which this pricing was effective within the requested - /// time range. This is guaranteed to be greater than or equal to the - /// start_time field in the request and less than the end_time field in the - /// request. If a time range was not specified in the request this field will - /// be equivalent to a time within the last 12 hours, indicating the latest - /// pricing info. + /// The timestamp from which this pricing was effective within the requested + /// time range. This is guaranteed to be greater than or equal to the + /// start_time field in the request and less than the end_time field in the + /// request. If a time range was not specified in the request this field will + /// be equivalent to a time within the last 12 hours, indicating the latest + /// pricing info. #[prost(message, optional, tag="1")] pub effective_time: ::core::option::Option<::prost_types::Timestamp>, - /// An optional human readable summary of the pricing information, has a - /// maximum length of 256 characters. + /// An optional human readable summary of the pricing information, has a + /// maximum length of 256 characters. #[prost(string, tag="2")] pub summary: ::prost::alloc::string::String, - /// Expresses the pricing formula. See `PricingExpression` for an example. + /// Expresses the pricing formula. See `PricingExpression` for an example. #[prost(message, optional, tag="3")] pub pricing_expression: ::core::option::Option, - /// Aggregation Info. This can be left unspecified if the pricing expression - /// doesn't require aggregation. + /// Aggregation Info. This can be left unspecified if the pricing expression + /// doesn't require aggregation. #[prost(message, optional, tag="4")] pub aggregation_info: ::core::option::Option, - /// Conversion rate used for currency conversion, from USD to the currency - /// specified in the request. This includes any surcharge collected for billing - /// in non USD currency. If a currency is not specified in the request this - /// defaults to 1.0. - /// Example: USD * currency_conversion_rate = JPY + /// Conversion rate used for currency conversion, from USD to the currency + /// specified in the request. This includes any surcharge collected for billing + /// in non USD currency. If a currency is not specified in the request this + /// defaults to 1.0. + /// Example: USD * currency_conversion_rate = JPY #[prost(double, tag="5")] pub currency_conversion_rate: f64, } -/// Expresses a mathematical pricing formula. For Example:- +/// Expresses a mathematical pricing formula. For Example:- /// -/// `usage_unit: GBy` -/// `tiered_rates:` +/// `usage_unit: GBy` +/// `tiered_rates:` /// `[start_usage_amount: 20, unit_price: $10]` /// `[start_usage_amount: 100, unit_price: $5]` /// -/// The above expresses a pricing formula where the first 20GB is free, the -/// next 80GB is priced at $10 per GB followed by $5 per GB for additional -/// usage. +/// The above expresses a pricing formula where the first 20GB is free, the +/// next 80GB is priced at $10 per GB followed by $5 per GB for additional +/// usage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricingExpression { - /// The short hand for unit of usage this pricing is specified in. - /// Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". + /// The short hand for unit of usage this pricing is specified in. + /// Example: usage_unit of "GiBy" means that usage is specified in "Gibi Byte". #[prost(string, tag="1")] pub usage_unit: ::prost::alloc::string::String, - /// The unit of usage in human readable form. - /// Example: "gibi byte". + /// The unit of usage in human readable form. + /// Example: "gibi byte". #[prost(string, tag="4")] pub usage_unit_description: ::prost::alloc::string::String, - /// The base unit for the SKU which is the unit used in usage exports. - /// Example: "By" + /// The base unit for the SKU which is the unit used in usage exports. + /// Example: "By" #[prost(string, tag="5")] pub base_unit: ::prost::alloc::string::String, - /// The base unit in human readable form. - /// Example: "byte". + /// The base unit in human readable form. + /// Example: "byte". #[prost(string, tag="6")] pub base_unit_description: ::prost::alloc::string::String, - /// Conversion factor for converting from price per usage_unit to price per - /// base_unit, and start_usage_amount to start_usage_amount in base_unit. - /// unit_price / base_unit_conversion_factor = price per base_unit. - /// start_usage_amount * base_unit_conversion_factor = start_usage_amount in - /// base_unit. + /// Conversion factor for converting from price per usage_unit to price per + /// base_unit, and start_usage_amount to start_usage_amount in base_unit. + /// unit_price / base_unit_conversion_factor = price per base_unit. + /// start_usage_amount * base_unit_conversion_factor = start_usage_amount in + /// base_unit. #[prost(double, tag="7")] pub base_unit_conversion_factor: f64, - /// The recommended quantity of units for displaying pricing info. When - /// displaying pricing info it is recommended to display: - /// (unit_price * display_quantity) per display_quantity usage_unit. - /// This field does not affect the pricing formula and is for display purposes - /// only. - /// Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and - /// the display_quantity is "1000" then the recommended way of displaying the - /// pricing info is "0.10 USD per 1000 GB" + /// The recommended quantity of units for displaying pricing info. When + /// displaying pricing info it is recommended to display: + /// (unit_price * display_quantity) per display_quantity usage_unit. + /// This field does not affect the pricing formula and is for display purposes + /// only. + /// Example: If the unit_price is "0.0001 USD", the usage_unit is "GB" and + /// the display_quantity is "1000" then the recommended way of displaying the + /// pricing info is "0.10 USD per 1000 GB" #[prost(double, tag="2")] pub display_quantity: f64, - /// The list of tiered rates for this pricing. The total cost is computed by - /// applying each of the tiered rates on usage. This repeated list is sorted - /// by ascending order of start_usage_amount. + /// The list of tiered rates for this pricing. The total cost is computed by + /// applying each of the tiered rates on usage. This repeated list is sorted + /// by ascending order of start_usage_amount. #[prost(message, repeated, tag="3")] pub tiered_rates: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `PricingExpression`. pub mod pricing_expression { - /// The price rate indicating starting usage and its corresponding price. + /// The price rate indicating starting usage and its corresponding price. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TierRate { - /// Usage is priced at this rate only after this amount. - /// Example: start_usage_amount of 10 indicates that the usage will be priced - /// at the unit_price after the first 10 usage_units. + /// Usage is priced at this rate only after this amount. + /// Example: start_usage_amount of 10 indicates that the usage will be priced + /// at the unit_price after the first 10 usage_units. #[prost(double, tag="1")] pub start_usage_amount: f64, - /// The price per unit of usage. - /// Example: unit_price of amount $10 indicates that each unit will cost $10. + /// The price per unit of usage. + /// Example: unit_price of amount $10 indicates that each unit will cost $10. #[prost(message, optional, tag="2")] pub unit_price: ::core::option::Option, } } -/// Represents the aggregation level and interval for pricing of a single SKU. +/// Represents the aggregation level and interval for pricing of a single SKU. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregationInfo { #[prost(enumeration="aggregation_info::AggregationLevel", tag="1")] pub aggregation_level: i32, #[prost(enumeration="aggregation_info::AggregationInterval", tag="2")] pub aggregation_interval: i32, - /// The number of intervals to aggregate over. - /// Example: If aggregation_level is "DAILY" and aggregation_count is 14, - /// aggregation will be over 14 days. + /// The number of intervals to aggregate over. + /// Example: If aggregation_level is "DAILY" and aggregation_count is 14, + /// aggregation will be over 14 days. #[prost(int32, tag="3")] pub aggregation_count: i32, } /// Nested message and enum types in `AggregationInfo`. pub mod aggregation_info { - /// The level at which usage is aggregated to compute cost. - /// Example: "ACCOUNT" aggregation level indicates that usage for tiered - /// pricing is aggregated across all projects in a single account. + /// The level at which usage is aggregated to compute cost. + /// Example: "ACCOUNT" aggregation level indicates that usage for tiered + /// pricing is aggregated across all projects in a single account. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AggregationLevel { @@ -726,9 +726,9 @@ pub mod aggregation_info { } } } - /// The interval at which usage is aggregated to compute cost. - /// Example: "MONTHLY" aggregation interval indicates that usage for tiered - /// pricing is aggregated every month. + /// The interval at which usage is aggregated to compute cost. + /// Example: "MONTHLY" aggregation interval indicates that usage for tiered + /// pricing is aggregated every month. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AggregationInterval { @@ -750,76 +750,76 @@ pub mod aggregation_info { } } } -/// Request message for `ListServices`. +/// Request message for `ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesRequest { - /// Requested page size. Defaults to 5000. + /// Requested page size. Defaults to 5000. #[prost(int32, tag="1")] pub page_size: i32, - /// A token identifying a page of results to return. This should be a - /// `next_page_token` value returned from a previous `ListServices` - /// call. If unspecified, the first page of results is returned. + /// A token identifying a page of results to return. This should be a + /// `next_page_token` value returned from a previous `ListServices` + /// call. If unspecified, the first page of results is returned. #[prost(string, tag="2")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `ListServices`. +/// Response message for `ListServices`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServicesResponse { - /// A list of services. + /// A list of services. #[prost(message, repeated, tag="1")] pub services: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. To retrieve the next page, - /// call `ListServices` again with the `page_token` field set to this - /// value. This field is empty if there are no more results to retrieve. + /// A token to retrieve the next page of results. To retrieve the next page, + /// call `ListServices` again with the `page_token` field set to this + /// value. This field is empty if there are no more results to retrieve. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for `ListSkus`. +/// Request message for `ListSkus`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSkusRequest { - /// Required. The name of the service. - /// Example: "services/DA34-426B-A397" + /// Required. The name of the service. + /// Example: "services/DA34-426B-A397" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional inclusive start time of the time range for which the pricing - /// versions will be returned. Timestamps in the future are not allowed. - /// The time range has to be within a single calendar month in - /// America/Los_Angeles timezone. Time range as a whole is optional. If not - /// specified, the latest pricing will be returned (up to 12 hours old at - /// most). + /// Optional inclusive start time of the time range for which the pricing + /// versions will be returned. Timestamps in the future are not allowed. + /// The time range has to be within a single calendar month in + /// America/Los_Angeles timezone. Time range as a whole is optional. If not + /// specified, the latest pricing will be returned (up to 12 hours old at + /// most). #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional exclusive end time of the time range for which the pricing - /// versions will be returned. Timestamps in the future are not allowed. - /// The time range has to be within a single calendar month in - /// America/Los_Angeles timezone. Time range as a whole is optional. If not - /// specified, the latest pricing will be returned (up to 12 hours old at - /// most). + /// Optional exclusive end time of the time range for which the pricing + /// versions will be returned. Timestamps in the future are not allowed. + /// The time range has to be within a single calendar month in + /// America/Los_Angeles timezone. Time range as a whole is optional. If not + /// specified, the latest pricing will be returned (up to 12 hours old at + /// most). #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The ISO 4217 currency code for the pricing info in the response proto. - /// Will use the conversion rate as of start_time. - /// Optional. If not specified USD will be used. + /// The ISO 4217 currency code for the pricing info in the response proto. + /// Will use the conversion rate as of start_time. + /// Optional. If not specified USD will be used. #[prost(string, tag="4")] pub currency_code: ::prost::alloc::string::String, - /// Requested page size. Defaults to 5000. + /// Requested page size. Defaults to 5000. #[prost(int32, tag="5")] pub page_size: i32, - /// A token identifying a page of results to return. This should be a - /// `next_page_token` value returned from a previous `ListSkus` - /// call. If unspecified, the first page of results is returned. + /// A token identifying a page of results to return. This should be a + /// `next_page_token` value returned from a previous `ListSkus` + /// call. If unspecified, the first page of results is returned. #[prost(string, tag="6")] pub page_token: ::prost::alloc::string::String, } -/// Response message for `ListSkus`. +/// Response message for `ListSkus`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSkusResponse { - /// The list of public SKUs of the given service. + /// The list of public SKUs of the given service. #[prost(message, repeated, tag="1")] pub skus: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. To retrieve the next page, - /// call `ListSkus` again with the `page_token` field set to this - /// value. This field is empty if there are no more results to retrieve. + /// A token to retrieve the next page of results. To retrieve the next page, + /// call `ListSkus` again with the `page_token` field set to this + /// value. This field is empty if there are no more results to retrieve. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1.rs b/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1.rs index c015b959c..17c640155 100644 --- a/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1.rs @@ -1,53 +1,53 @@ -/// A \[policy][google.cloud.binaryauthorization.v1.Policy\] for container image binary authorization. +/// A \[policy][google.cloud.binaryauthorization.v1.Policy\] for container image binary authorization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Policy { - /// Output only. The resource name, in the format `projects/*/policy`. There is - /// at most one policy per project. + /// Output only. The resource name, in the format `projects/*/policy`. There is + /// at most one policy per project. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A descriptive comment. + /// Optional. A descriptive comment. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Optional. Controls the evaluation of a Google-maintained global admission - /// policy for common system-level images. Images not covered by the global - /// policy will be subject to the project admission policy. This setting - /// has no effect when specified inside a global admission policy. + /// Optional. Controls the evaluation of a Google-maintained global admission + /// policy for common system-level images. Images not covered by the global + /// policy will be subject to the project admission policy. This setting + /// has no effect when specified inside a global admission policy. #[prost(enumeration="policy::GlobalPolicyEvaluationMode", tag="7")] pub global_policy_evaluation_mode: i32, - /// Optional. Admission policy allowlisting. A matching admission request will - /// always be permitted. This feature is typically used to exclude Google or - /// third-party infrastructure images from Binary Authorization policies. + /// Optional. Admission policy allowlisting. A matching admission request will + /// always be permitted. This feature is typically used to exclude Google or + /// third-party infrastructure images from Binary Authorization policies. #[prost(message, repeated, tag="2")] pub admission_whitelist_patterns: ::prost::alloc::vec::Vec, - /// Optional. Per-cluster admission rules. Cluster spec format: - /// `location.clusterId`. There can be at most one admission rule per cluster - /// spec. - /// A `location` is either a compute zone (e.g. us-central1-a) or a region - /// (e.g. us-central1). - /// For `clusterId` syntax restrictions see - /// + /// Optional. Per-cluster admission rules. Cluster spec format: + /// `location.clusterId`. There can be at most one admission rule per cluster + /// spec. + /// A `location` is either a compute zone (e.g. us-central1-a) or a region + /// (e.g. us-central1). + /// For `clusterId` syntax restrictions see + /// #[prost(map="string, message", tag="3")] pub cluster_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: - /// \[a-z.-\]+, e.g. 'some-namespace' + /// Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: + /// \[a-z.-\]+, e.g. 'some-namespace' #[prost(map="string, message", tag="10")] pub kubernetes_namespace_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-kubernetes-service-account admission rules. Service account - /// spec format: `namespace:serviceaccount`. e.g. 'test-ns:default' + /// Optional. Per-kubernetes-service-account admission rules. Service account + /// spec format: `namespace:serviceaccount`. e.g. 'test-ns:default' #[prost(map="string, message", tag="8")] pub kubernetes_service_account_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-istio-service-identity admission rules. Istio service - /// identity spec format: - /// spiffe:///ns//sa/ or - /// /ns//sa/ - /// e.g. spiffe://example.com/ns/test-ns/sa/default + /// Optional. Per-istio-service-identity admission rules. Istio service + /// identity spec format: + /// spiffe:///ns//sa/ or + /// /ns//sa/ + /// e.g. spiffe://example.com/ns/test-ns/sa/default #[prost(map="string, message", tag="9")] pub istio_service_identity_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Required. Default admission rule for a cluster without a per-cluster, per- - /// kubernetes-service-account, or per-istio-service-identity admission rule. + /// Required. Default admission rule for a cluster without a per-cluster, per- + /// kubernetes-service-account, or per-istio-service-identity admission rule. #[prost(message, optional, tag="4")] pub default_admission_rule: ::core::option::Option, - /// Output only. Time when the policy was last updated. + /// Output only. Time when the policy was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } @@ -56,11 +56,11 @@ pub mod policy { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GlobalPolicyEvaluationMode { - /// Not specified: DISABLE is assumed. + /// Not specified: DISABLE is assumed. Unspecified = 0, - /// Enables system policy evaluation. + /// Enables system policy evaluation. Enable = 1, - /// Disables system policy evaluation. + /// Disables system policy evaluation. Disable = 2, } impl GlobalPolicyEvaluationMode { @@ -77,40 +77,40 @@ pub mod policy { } } } -/// An [admission allowlist pattern]\[google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern\] exempts images -/// from checks by [admission rules]\[google.cloud.binaryauthorization.v1.AdmissionRule\]. +/// An [admission allowlist pattern]\[google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern\] exempts images +/// from checks by [admission rules]\[google.cloud.binaryauthorization.v1.AdmissionRule\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdmissionWhitelistPattern { - /// An image name pattern to allowlist, in the form `registry/path/to/image`. - /// This supports a trailing `*` wildcard, but this is allowed only in - /// text after the `registry/` part. This also supports a trailing `**` - /// wildcard which matches subdirectories of a given entry. + /// An image name pattern to allowlist, in the form `registry/path/to/image`. + /// This supports a trailing `*` wildcard, but this is allowed only in + /// text after the `registry/` part. This also supports a trailing `**` + /// wildcard which matches subdirectories of a given entry. #[prost(string, tag="1")] pub name_pattern: ::prost::alloc::string::String, } -/// An [admission rule]\[google.cloud.binaryauthorization.v1.AdmissionRule\] specifies either that all container images -/// used in a pod creation request must be attested to by one or more -/// \[attestors][google.cloud.binaryauthorization.v1.Attestor\], that all pod creations will be allowed, or that all -/// pod creations will be denied. +/// An [admission rule]\[google.cloud.binaryauthorization.v1.AdmissionRule\] specifies either that all container images +/// used in a pod creation request must be attested to by one or more +/// \[attestors][google.cloud.binaryauthorization.v1.Attestor\], that all pod creations will be allowed, or that all +/// pod creations will be denied. /// -/// Images matching an [admission allowlist pattern]\[google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern\] -/// are exempted from admission rules and will never block a pod creation. +/// Images matching an [admission allowlist pattern]\[google.cloud.binaryauthorization.v1.AdmissionWhitelistPattern\] +/// are exempted from admission rules and will never block a pod creation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdmissionRule { - /// Required. How this admission rule will be evaluated. + /// Required. How this admission rule will be evaluated. #[prost(enumeration="admission_rule::EvaluationMode", tag="1")] pub evaluation_mode: i32, - /// Optional. The resource names of the attestors that must attest to - /// a container image, in the format `projects/*/attestors/*`. Each - /// attestor must exist before a policy can reference it. To add an attestor - /// to a policy the principal issuing the policy change request must be able - /// to read the attestor resource. + /// Optional. The resource names of the attestors that must attest to + /// a container image, in the format `projects/*/attestors/*`. Each + /// attestor must exist before a policy can reference it. To add an attestor + /// to a policy the principal issuing the policy change request must be able + /// to read the attestor resource. /// - /// Note: this field must be non-empty when the evaluation_mode field specifies - /// REQUIRE_ATTESTATION, otherwise it must be empty. + /// Note: this field must be non-empty when the evaluation_mode field specifies + /// REQUIRE_ATTESTATION, otherwise it must be empty. #[prost(string, repeated, tag="2")] pub require_attestations_by: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The action when a pod creation is denied by the admission rule. + /// Required. The action when a pod creation is denied by the admission rule. #[prost(enumeration="admission_rule::EnforcementMode", tag="3")] pub enforcement_mode: i32, } @@ -119,15 +119,15 @@ pub mod admission_rule { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EvaluationMode { - /// Do not use. + /// Do not use. Unspecified = 0, - /// This rule allows all all pod creations. + /// This rule allows all all pod creations. AlwaysAllow = 1, - /// This rule allows a pod creation if all the attestors listed in - /// 'require_attestations_by' have valid attestations for all of the - /// images in the pod spec. + /// This rule allows a pod creation if all the attestors listed in + /// 'require_attestations_by' have valid attestations for all of the + /// images in the pod spec. RequireAttestation = 2, - /// This rule denies all pod creations. + /// This rule denies all pod creations. AlwaysDeny = 3, } impl EvaluationMode { @@ -144,17 +144,17 @@ pub mod admission_rule { } } } - /// Defines the possible actions when a pod creation is denied by an admission - /// rule. + /// Defines the possible actions when a pod creation is denied by an admission + /// rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnforcementMode { - /// Do not use. + /// Do not use. Unspecified = 0, - /// Enforce the admission rule by blocking the pod creation. + /// Enforce the admission rule by blocking the pod creation. EnforcedBlockAndAuditLog = 1, - /// Dryrun mode: Audit logging only. This will allow the pod creation as if - /// the admission request had specified break-glass. + /// Dryrun mode: Audit logging only. This will allow the pod creation as if + /// the admission request had specified break-glass. DryrunAuditLogOnly = 2, } impl EnforcementMode { @@ -171,20 +171,20 @@ pub mod admission_rule { } } } -/// An \[attestor][google.cloud.binaryauthorization.v1.Attestor\] that attests to container image -/// artifacts. An existing attestor cannot be modified except where -/// indicated. +/// An \[attestor][google.cloud.binaryauthorization.v1.Attestor\] that attests to container image +/// artifacts. An existing attestor cannot be modified except where +/// indicated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Attestor { - /// Required. The resource name, in the format: - /// `projects/*/attestors/*`. This field may not be updated. + /// Required. The resource name, in the format: + /// `projects/*/attestors/*`. This field may not be updated. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A descriptive comment. This field may be updated. - /// The field may be displayed in chooser dialogs. + /// Optional. A descriptive comment. This field may be updated. + /// The field may be displayed in chooser dialogs. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Output only. Time when the attestor was last updated. + /// Output only. Time when the attestor was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, #[prost(oneof="attestor::AttestorType", tags="3")] @@ -194,100 +194,100 @@ pub struct Attestor { pub mod attestor { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AttestorType { - /// This specifies how an attestation will be read, and how it will be used - /// during policy enforcement. + /// This specifies how an attestation will be read, and how it will be used + /// during policy enforcement. #[prost(message, tag="3")] UserOwnedGrafeasNote(super::UserOwnedGrafeasNote), } } -/// An [user owned Grafeas note]\[google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote\] references a Grafeas -/// Attestation.Authority Note created by the user. +/// An [user owned Grafeas note]\[google.cloud.binaryauthorization.v1.UserOwnedGrafeasNote\] references a Grafeas +/// Attestation.Authority Note created by the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserOwnedGrafeasNote { - /// Required. The Grafeas resource name of a Attestation.Authority Note, - /// created by the user, in the format: `projects/*/notes/*`. This field may - /// not be updated. + /// Required. The Grafeas resource name of a Attestation.Authority Note, + /// created by the user, in the format: `projects/*/notes/*`. This field may + /// not be updated. /// - /// An attestation by this attestor is stored as a Grafeas - /// Attestation.Authority Occurrence that names a container image and that - /// links to this Note. Grafeas is an external dependency. + /// An attestation by this attestor is stored as a Grafeas + /// Attestation.Authority Occurrence that names a container image and that + /// links to this Note. Grafeas is an external dependency. #[prost(string, tag="1")] pub note_reference: ::prost::alloc::string::String, - /// Optional. Public keys that verify attestations signed by this - /// attestor. This field may be updated. + /// Optional. Public keys that verify attestations signed by this + /// attestor. This field may be updated. /// - /// If this field is non-empty, one of the specified public keys must - /// verify that an attestation was signed by this attestor for the - /// image specified in the admission request. + /// If this field is non-empty, one of the specified public keys must + /// verify that an attestation was signed by this attestor for the + /// image specified in the admission request. /// - /// If this field is empty, this attestor always returns that no - /// valid attestations exist. + /// If this field is empty, this attestor always returns that no + /// valid attestations exist. #[prost(message, repeated, tag="2")] pub public_keys: ::prost::alloc::vec::Vec, - /// Output only. This field will contain the service account email address - /// that this Attestor will use as the principal when querying Container - /// Analysis. Attestor administrators must grant this service account the - /// IAM role needed to read attestations from the \[note_reference][Note\] in - /// Container Analysis (`containeranalysis.notes.occurrences.viewer`). + /// Output only. This field will contain the service account email address + /// that this Attestor will use as the principal when querying Container + /// Analysis. Attestor administrators must grant this service account the + /// IAM role needed to read attestations from the \[note_reference][Note\] in + /// Container Analysis (`containeranalysis.notes.occurrences.viewer`). /// - /// This email address is fixed for the lifetime of the Attestor, but callers - /// should not make any other assumptions about the service account email; - /// future versions may use an email based on a different naming pattern. + /// This email address is fixed for the lifetime of the Attestor, but callers + /// should not make any other assumptions about the service account email; + /// future versions may use an email based on a different naming pattern. #[prost(string, tag="3")] pub delegation_service_account_email: ::prost::alloc::string::String, } -/// A public key in the PkixPublicKey format (see -/// for details). -/// Public keys of this type are typically textually encoded using the PEM -/// format. +/// A public key in the PkixPublicKey format (see +/// for details). +/// Public keys of this type are typically textually encoded using the PEM +/// format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PkixPublicKey { - /// A PEM-encoded public key, as described in - /// + /// A PEM-encoded public key, as described in + /// #[prost(string, tag="1")] pub public_key_pem: ::prost::alloc::string::String, - /// The signature algorithm used to verify a message against a signature using - /// this key. - /// These signature algorithm must match the structure and any object - /// identifiers encoded in `public_key_pem` (i.e. this algorithm must match - /// that of the public key). + /// The signature algorithm used to verify a message against a signature using + /// this key. + /// These signature algorithm must match the structure and any object + /// identifiers encoded in `public_key_pem` (i.e. this algorithm must match + /// that of the public key). #[prost(enumeration="pkix_public_key::SignatureAlgorithm", tag="2")] pub signature_algorithm: i32, } /// Nested message and enum types in `PkixPublicKey`. pub mod pkix_public_key { - /// Represents a signature algorithm and other information necessary to verify - /// signatures with a given public key. - /// This is based primarily on the public key types supported by Tink's - /// PemKeyType, which is in turn based on KMS's supported signing algorithms. - /// See In the future, BinAuthz - /// might support additional public key types independently of Tink and/or KMS. + /// Represents a signature algorithm and other information necessary to verify + /// signatures with a given public key. + /// This is based primarily on the public key types supported by Tink's + /// PemKeyType, which is in turn based on KMS's supported signing algorithms. + /// See In the future, BinAuthz + /// might support additional public key types independently of Tink and/or KMS. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SignatureAlgorithm { - /// Not specified. + /// Not specified. Unspecified = 0, - /// RSASSA-PSS 2048 bit key with a SHA256 digest. + /// RSASSA-PSS 2048 bit key with a SHA256 digest. RsaPss2048Sha256 = 1, - /// RSASSA-PSS 3072 bit key with a SHA256 digest. + /// RSASSA-PSS 3072 bit key with a SHA256 digest. RsaPss3072Sha256 = 2, - /// RSASSA-PSS 4096 bit key with a SHA256 digest. + /// RSASSA-PSS 4096 bit key with a SHA256 digest. RsaPss4096Sha256 = 3, - /// RSASSA-PSS 4096 bit key with a SHA512 digest. + /// RSASSA-PSS 4096 bit key with a SHA512 digest. RsaPss4096Sha512 = 4, - /// RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. RsaSignPkcs12048Sha256 = 5, - /// RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. RsaSignPkcs13072Sha256 = 6, - /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. RsaSignPkcs14096Sha256 = 7, - /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. + /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. RsaSignPkcs14096Sha512 = 8, - /// ECDSA on the NIST P-256 curve with a SHA256 digest. + /// ECDSA on the NIST P-256 curve with a SHA256 digest. EcdsaP256Sha256 = 9, - /// ECDSA on the NIST P-384 curve with a SHA384 digest. + /// ECDSA on the NIST P-384 curve with a SHA384 digest. EcdsaP384Sha384 = 10, - /// ECDSA on the NIST P-521 curve with a SHA512 digest. + /// ECDSA on the NIST P-521 curve with a SHA512 digest. EcdsaP521Sha512 = 11, } impl SignatureAlgorithm { @@ -313,20 +313,20 @@ pub mod pkix_public_key { } } } -/// An [attestor public key]\[google.cloud.binaryauthorization.v1.AttestorPublicKey\] that will be used to verify -/// attestations signed by this attestor. +/// An [attestor public key]\[google.cloud.binaryauthorization.v1.AttestorPublicKey\] that will be used to verify +/// attestations signed by this attestor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttestorPublicKey { - /// Optional. A descriptive comment. This field may be updated. + /// Optional. A descriptive comment. This field may be updated. #[prost(string, tag="1")] pub comment: ::prost::alloc::string::String, - /// The ID of this public key. - /// Signatures verified by BinAuthz must include the ID of the public key that - /// can be used to verify them, and that ID must match the contents of this - /// field exactly. - /// Additional restrictions on this field can be imposed based on which public - /// key type is encapsulated. See the documentation on `public_key` cases below - /// for details. + /// The ID of this public key. + /// Signatures verified by BinAuthz must include the ID of the public key that + /// can be used to verify them, and that ID must match the contents of this + /// field exactly. + /// Additional restrictions on this field can be imposed based on which public + /// key type is encapsulated. See the documentation on `public_key` cases below + /// for details. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, #[prost(oneof="attestor_public_key::PublicKey", tags="3, 5")] @@ -336,166 +336,166 @@ pub struct AttestorPublicKey { pub mod attestor_public_key { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PublicKey { - /// ASCII-armored representation of a PGP public key, as the entire output by - /// the command `gpg --export --armor foo@example.com` (either LF or CRLF - /// line endings). - /// When using this field, `id` should be left blank. The BinAuthz API - /// handlers will calculate the ID and fill it in automatically. BinAuthz - /// computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as - /// upper-case hex. If `id` is provided by the caller, it will be - /// overwritten by the API-calculated ID. + /// ASCII-armored representation of a PGP public key, as the entire output by + /// the command `gpg --export --armor foo@example.com` (either LF or CRLF + /// line endings). + /// When using this field, `id` should be left blank. The BinAuthz API + /// handlers will calculate the ID and fill it in automatically. BinAuthz + /// computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as + /// upper-case hex. If `id` is provided by the caller, it will be + /// overwritten by the API-calculated ID. #[prost(string, tag="3")] AsciiArmoredPgpPublicKey(::prost::alloc::string::String), - /// A raw PKIX SubjectPublicKeyInfo format public key. + /// A raw PKIX SubjectPublicKeyInfo format public key. /// - /// NOTE: `id` may be explicitly provided by the caller when using this - /// type of public key, but it MUST be a valid RFC3986 URI. If `id` is left - /// blank, a default one will be computed based on the digest of the DER - /// encoding of the public key. + /// NOTE: `id` may be explicitly provided by the caller when using this + /// type of public key, but it MUST be a valid RFC3986 URI. If `id` is left + /// blank, a default one will be computed based on the digest of the DER + /// encoding of the public key. #[prost(message, tag="5")] PkixPublicKey(super::PkixPublicKey), } } -/// Request message for \[BinauthzManagementService.GetPolicy][\]. +/// Request message for \[BinauthzManagementService.GetPolicy][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPolicyRequest { - /// Required. The resource name of the \[policy][google.cloud.binaryauthorization.v1.Policy\] to retrieve, - /// in the format `projects/*/policy`. + /// Required. The resource name of the \[policy][google.cloud.binaryauthorization.v1.Policy\] to retrieve, + /// in the format `projects/*/policy`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.UpdatePolicy][\]. +/// Request message for \[BinauthzManagementService.UpdatePolicy][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePolicyRequest { - /// Required. A new or updated \[policy][google.cloud.binaryauthorization.v1.Policy\] value. The service will - /// overwrite the [policy name]\[google.cloud.binaryauthorization.v1.Policy.name\] field with the resource name in - /// the request URL, in the format `projects/*/policy`. + /// Required. A new or updated \[policy][google.cloud.binaryauthorization.v1.Policy\] value. The service will + /// overwrite the [policy name]\[google.cloud.binaryauthorization.v1.Policy.name\] field with the resource name in + /// the request URL, in the format `projects/*/policy`. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.CreateAttestor][\]. +/// Request message for \[BinauthzManagementService.CreateAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAttestorRequest { - /// Required. The parent of this \[attestor][google.cloud.binaryauthorization.v1.Attestor\]. + /// Required. The parent of this \[attestor][google.cloud.binaryauthorization.v1.Attestor\]. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The \[attestors][google.cloud.binaryauthorization.v1.Attestor\] ID. + /// Required. The \[attestors][google.cloud.binaryauthorization.v1.Attestor\] ID. #[prost(string, tag="2")] pub attestor_id: ::prost::alloc::string::String, - /// Required. The initial \[attestor][google.cloud.binaryauthorization.v1.Attestor\] value. The service will - /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1.Attestor.name\] field with the resource name, - /// in the format `projects/*/attestors/*`. + /// Required. The initial \[attestor][google.cloud.binaryauthorization.v1.Attestor\] value. The service will + /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1.Attestor.name\] field with the resource name, + /// in the format `projects/*/attestors/*`. #[prost(message, optional, tag="3")] pub attestor: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.GetAttestor][\]. +/// Request message for \[BinauthzManagementService.GetAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAttestorRequest { - /// Required. The name of the \[attestor][google.cloud.binaryauthorization.v1.Attestor\] to retrieve, in the format - /// `projects/*/attestors/*`. + /// Required. The name of the \[attestor][google.cloud.binaryauthorization.v1.Attestor\] to retrieve, in the format + /// `projects/*/attestors/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.UpdateAttestor][\]. +/// Request message for \[BinauthzManagementService.UpdateAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAttestorRequest { - /// Required. The updated \[attestor][google.cloud.binaryauthorization.v1.Attestor\] value. The service will - /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1.Attestor.name\] field with the resource name - /// in the request URL, in the format `projects/*/attestors/*`. + /// Required. The updated \[attestor][google.cloud.binaryauthorization.v1.Attestor\] value. The service will + /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1.Attestor.name\] field with the resource name + /// in the request URL, in the format `projects/*/attestors/*`. #[prost(message, optional, tag="1")] pub attestor: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.ListAttestors][\]. +/// Request message for \[BinauthzManagementService.ListAttestors][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAttestorsRequest { - /// Required. The resource name of the project associated with the - /// \[attestors][google.cloud.binaryauthorization.v1.Attestor\], in the format `projects/*`. + /// Required. The resource name of the project associated with the + /// \[attestors][google.cloud.binaryauthorization.v1.Attestor\], in the format `projects/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server may return fewer results than requested. If - /// unspecified, the server will pick an appropriate default. + /// Requested page size. The server may return fewer results than requested. If + /// unspecified, the server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results the server should return. Typically, - /// this is the value of \[ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token\] returned - /// from the previous call to the `ListAttestors` method. + /// A token identifying a page of results the server should return. Typically, + /// this is the value of \[ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1.ListAttestorsResponse.next_page_token\] returned + /// from the previous call to the `ListAttestors` method. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[BinauthzManagementService.ListAttestors][\]. +/// Response message for \[BinauthzManagementService.ListAttestors][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAttestorsResponse { - /// The list of \[attestors][google.cloud.binaryauthorization.v1.Attestor\]. + /// The list of \[attestors][google.cloud.binaryauthorization.v1.Attestor\]. #[prost(message, repeated, tag="1")] pub attestors: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. Pass this value in the - /// \[ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token\] field in the subsequent call to the - /// `ListAttestors` method to retrieve the next page of results. + /// A token to retrieve the next page of results. Pass this value in the + /// \[ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1.ListAttestorsRequest.page_token\] field in the subsequent call to the + /// `ListAttestors` method to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.DeleteAttestor][\]. +/// Request message for \[BinauthzManagementService.DeleteAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAttestorRequest { - /// Required. The name of the \[attestors][google.cloud.binaryauthorization.v1.Attestor\] to delete, in the format - /// `projects/*/attestors/*`. + /// Required. The name of the \[attestors][google.cloud.binaryauthorization.v1.Attestor\] to delete, in the format + /// `projects/*/attestors/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to read the current system policy. +/// Request to read the current system policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSystemPolicyRequest { - /// Required. The resource name, in the format `locations/*/policy`. - /// Note that the system policy is not associated with a project. + /// Required. The resource name, in the format `locations/*/policy`. + /// Note that the system policy is not associated with a project. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence\]. +/// Request message for +/// \[ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateAttestationOccurrenceRequest { - /// Required. The resource name of the \[Attestor][google.cloud.binaryauthorization.v1.Attestor\] of the - /// \[occurrence][grafeas.v1.Occurrence\], in the format - /// `projects/*/attestors/*`. + /// Required. The resource name of the \[Attestor][google.cloud.binaryauthorization.v1.Attestor\] of the + /// \[occurrence][grafeas.v1.Occurrence\], in the format + /// `projects/*/attestors/*`. #[prost(string, tag="1")] pub attestor: ::prost::alloc::string::String, - /// Required. An \[AttestationOccurrence][grafeas.v1.AttestationOccurrence\] to - /// be checked that it can be verified by the Attestor. It does not have to be - /// an existing entity in Container Analysis. It must otherwise be a valid - /// AttestationOccurrence. + /// Required. An \[AttestationOccurrence][grafeas.v1.AttestationOccurrence\] to + /// be checked that it can be verified by the Attestor. It does not have to be + /// an existing entity in Container Analysis. It must otherwise be a valid + /// AttestationOccurrence. #[prost(message, optional, tag="2")] pub attestation: ::core::option::Option, - /// Required. The resource name of the \[Note][grafeas.v1.Note\] to which the - /// containing \[Occurrence][grafeas.v1.Occurrence\] is associated. + /// Required. The resource name of the \[Note][grafeas.v1.Note\] to which the + /// containing \[Occurrence][grafeas.v1.Occurrence\] is associated. #[prost(string, tag="3")] pub occurrence_note: ::prost::alloc::string::String, - /// Required. The URI of the artifact (e.g. container image) that is the - /// subject of the containing \[Occurrence][grafeas.v1.Occurrence\]. + /// Required. The URI of the artifact (e.g. container image) that is the + /// subject of the containing \[Occurrence][grafeas.v1.Occurrence\]. #[prost(string, tag="4")] pub occurrence_resource_uri: ::prost::alloc::string::String, } -/// Response message for -/// \[ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence\]. +/// Response message for +/// \[ValidationHelperV1.ValidateAttestationOccurrence][google.cloud.binaryauthorization.v1.ValidationHelperV1.ValidateAttestationOccurrence\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateAttestationOccurrenceResponse { - /// The result of the Attestation validation. + /// The result of the Attestation validation. #[prost(enumeration="validate_attestation_occurrence_response::Result", tag="1")] pub result: i32, - /// The reason for denial if the Attestation couldn't be validated. + /// The reason for denial if the Attestation couldn't be validated. #[prost(string, tag="2")] pub denial_reason: ::prost::alloc::string::String, } /// Nested message and enum types in `ValidateAttestationOccurrenceResponse`. pub mod validate_attestation_occurrence_response { - /// The enum returned in the "result" field. + /// The enum returned in the "result" field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Result { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// The Attestation was able to verified by the Attestor. + /// The Attestation was able to verified by the Attestor. Verified = 1, - /// The Attestation was not able to verified by the Attestor. + /// The Attestation was not able to verified by the Attestor. AttestationNotVerifiable = 2, } impl Result { diff --git a/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1beta1.rs index 65d1450ee..f7505b70e 100644 --- a/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.binaryauthorization.v1beta1.rs @@ -1,60 +1,60 @@ -/// Represents an auditing event from Continuous Validation. +/// Represents an auditing event from Continuous Validation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContinuousValidationEvent { - /// Type of CV event. + /// Type of CV event. #[prost(oneof="continuous_validation_event::EventType", tags="1, 2")] pub event_type: ::core::option::Option, } /// Nested message and enum types in `ContinuousValidationEvent`. pub mod continuous_validation_event { - /// An auditing event for one Pod. + /// An auditing event for one Pod. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContinuousValidationPodEvent { - /// The k8s namespace of the Pod. + /// The k8s namespace of the Pod. #[prost(string, tag="7")] pub pod_namespace: ::prost::alloc::string::String, - /// The name of the Pod. + /// The name of the Pod. #[prost(string, tag="1")] pub pod: ::prost::alloc::string::String, - /// Deploy time of the Pod from k8s. + /// Deploy time of the Pod from k8s. #[prost(message, optional, tag="2")] pub deploy_time: ::core::option::Option<::prost_types::Timestamp>, - /// Termination time of the Pod from k8s, or nothing if still running. + /// Termination time of the Pod from k8s, or nothing if still running. #[prost(message, optional, tag="3")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Auditing verdict for this Pod. + /// Auditing verdict for this Pod. #[prost(enumeration="continuous_validation_pod_event::PolicyConformanceVerdict", tag="4")] pub verdict: i32, - /// List of images with auditing details. + /// List of images with auditing details. #[prost(message, repeated, tag="5")] pub images: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ContinuousValidationPodEvent`. pub mod continuous_validation_pod_event { - /// Container image with auditing details. + /// Container image with auditing details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageDetails { - /// The name of the image. + /// The name of the image. #[prost(string, tag="1")] pub image: ::prost::alloc::string::String, - /// The result of the audit for this image. + /// The result of the audit for this image. #[prost(enumeration="image_details::AuditResult", tag="2")] pub result: i32, - /// Description of the above result. + /// Description of the above result. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `ImageDetails`. pub mod image_details { - /// Result of the audit. + /// Result of the audit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuditResult { - /// Unspecified result. This is an error. + /// Unspecified result. This is an error. Unspecified = 0, - /// Image is allowed. + /// Image is allowed. Allow = 1, - /// Image is denied. + /// Image is denied. Deny = 2, } impl AuditResult { @@ -71,13 +71,13 @@ pub mod continuous_validation_event { } } } - /// Audit time policy conformance verdict. + /// Audit time policy conformance verdict. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyConformanceVerdict { - /// We should always have a verdict. This is an error. + /// We should always have a verdict. This is an error. Unspecified = 0, - /// The pod violates the policy. + /// The pod violates the policy. ViolatesPolicy = 1, } impl PolicyConformanceVerdict { @@ -93,74 +93,74 @@ pub mod continuous_validation_event { } } } - /// An event describing that the project policy is unsupported by CV. + /// An event describing that the project policy is unsupported by CV. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnsupportedPolicyEvent { - /// A description of the unsupported policy. + /// A description of the unsupported policy. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, } - /// Type of CV event. + /// Type of CV event. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EventType { - /// Pod event. + /// Pod event. #[prost(message, tag="1")] PodEvent(ContinuousValidationPodEvent), - /// Unsupported policy event. + /// Unsupported policy event. #[prost(message, tag="2")] UnsupportedPolicyEvent(UnsupportedPolicyEvent), } } -/// A \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] for Binary Authorization. +/// A \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] for Binary Authorization. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Policy { - /// Output only. The resource name, in the format `projects/*/policy`. There is - /// at most one policy per project. + /// Output only. The resource name, in the format `projects/*/policy`. There is + /// at most one policy per project. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A descriptive comment. + /// Optional. A descriptive comment. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Optional. Controls the evaluation of a Google-maintained global admission - /// policy for common system-level images. Images not covered by the global - /// policy will be subject to the project admission policy. This setting - /// has no effect when specified inside a global admission policy. + /// Optional. Controls the evaluation of a Google-maintained global admission + /// policy for common system-level images. Images not covered by the global + /// policy will be subject to the project admission policy. This setting + /// has no effect when specified inside a global admission policy. #[prost(enumeration="policy::GlobalPolicyEvaluationMode", tag="7")] pub global_policy_evaluation_mode: i32, - /// Optional. Admission policy allowlisting. A matching admission request will - /// always be permitted. This feature is typically used to exclude Google or - /// third-party infrastructure images from Binary Authorization policies. + /// Optional. Admission policy allowlisting. A matching admission request will + /// always be permitted. This feature is typically used to exclude Google or + /// third-party infrastructure images from Binary Authorization policies. #[prost(message, repeated, tag="2")] pub admission_whitelist_patterns: ::prost::alloc::vec::Vec, - /// Optional. Per-cluster admission rules. Cluster spec format: - /// `location.clusterId`. There can be at most one admission rule per cluster - /// spec. - /// A `location` is either a compute zone (e.g. us-central1-a) or a region - /// (e.g. us-central1). - /// For `clusterId` syntax restrictions see - /// + /// Optional. Per-cluster admission rules. Cluster spec format: + /// `location.clusterId`. There can be at most one admission rule per cluster + /// spec. + /// A `location` is either a compute zone (e.g. us-central1-a) or a region + /// (e.g. us-central1). + /// For `clusterId` syntax restrictions see + /// #[prost(map="string, message", tag="3")] pub cluster_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: + /// Optional. Per-kubernetes-namespace admission rules. K8s namespace spec format: /// `\[a-z.-\]+`, e.g. `some-namespace` #[prost(map="string, message", tag="10")] pub kubernetes_namespace_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-kubernetes-service-account admission rules. Service account - /// spec format: `namespace:serviceaccount`. e.g. `test-ns:default` + /// Optional. Per-kubernetes-service-account admission rules. Service account + /// spec format: `namespace:serviceaccount`. e.g. `test-ns:default` #[prost(map="string, message", tag="8")] pub kubernetes_service_account_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Optional. Per-istio-service-identity admission rules. Istio service - /// identity spec format: - /// `spiffe:///ns//sa/` or - /// `/ns//sa/` - /// e.g. `spiffe://example.com/ns/test-ns/sa/default` + /// Optional. Per-istio-service-identity admission rules. Istio service + /// identity spec format: + /// `spiffe:///ns//sa/` or + /// `/ns//sa/` + /// e.g. `spiffe://example.com/ns/test-ns/sa/default` #[prost(map="string, message", tag="9")] pub istio_service_identity_admission_rules: ::std::collections::HashMap<::prost::alloc::string::String, AdmissionRule>, - /// Required. Default admission rule for a cluster without a per-cluster, per- - /// kubernetes-service-account, or per-istio-service-identity admission rule. + /// Required. Default admission rule for a cluster without a per-cluster, per- + /// kubernetes-service-account, or per-istio-service-identity admission rule. #[prost(message, optional, tag="4")] pub default_admission_rule: ::core::option::Option, - /// Output only. Time when the policy was last updated. + /// Output only. Time when the policy was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } @@ -169,11 +169,11 @@ pub mod policy { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GlobalPolicyEvaluationMode { - /// Not specified: DISABLE is assumed. + /// Not specified: DISABLE is assumed. Unspecified = 0, - /// Enables system policy evaluation. + /// Enables system policy evaluation. Enable = 1, - /// Disables system policy evaluation. + /// Disables system policy evaluation. Disable = 2, } impl GlobalPolicyEvaluationMode { @@ -190,43 +190,43 @@ pub mod policy { } } } -/// An [admission allowlist pattern]\[google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern\] exempts images -/// from checks by [admission rules]\[google.cloud.binaryauthorization.v1beta1.AdmissionRule\]. +/// An [admission allowlist pattern]\[google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern\] exempts images +/// from checks by [admission rules]\[google.cloud.binaryauthorization.v1beta1.AdmissionRule\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdmissionWhitelistPattern { - /// An image name pattern to allowlist, in the form `registry/path/to/image`. - /// This supports a trailing `*` as a wildcard, but this is allowed only in - /// text after the `registry/` part. `*` wildcard does not match `/`, i.e., - /// `gcr.io/nginx*` matches `gcr.io/nginx@latest`, but it does not match - /// `gcr.io/nginx/image`. This also supports a trailing `**` wildcard which - /// matches subdirectories, i.e., `gcr.io/nginx**` matches - /// `gcr.io/nginx/image`. + /// An image name pattern to allowlist, in the form `registry/path/to/image`. + /// This supports a trailing `*` as a wildcard, but this is allowed only in + /// text after the `registry/` part. `*` wildcard does not match `/`, i.e., + /// `gcr.io/nginx*` matches `gcr.io/nginx@latest`, but it does not match + /// `gcr.io/nginx/image`. This also supports a trailing `**` wildcard which + /// matches subdirectories, i.e., `gcr.io/nginx**` matches + /// `gcr.io/nginx/image`. #[prost(string, tag="1")] pub name_pattern: ::prost::alloc::string::String, } -/// An [admission rule]\[google.cloud.binaryauthorization.v1beta1.AdmissionRule\] specifies either that all container images -/// used in a pod creation request must be attested to by one or more -/// \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\], that all pod creations will be allowed, or that all -/// pod creations will be denied. +/// An [admission rule]\[google.cloud.binaryauthorization.v1beta1.AdmissionRule\] specifies either that all container images +/// used in a pod creation request must be attested to by one or more +/// \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\], that all pod creations will be allowed, or that all +/// pod creations will be denied. /// -/// Images matching an [admission allowlist pattern]\[google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern\] -/// are exempted from admission rules and will never block a pod creation. +/// Images matching an [admission allowlist pattern]\[google.cloud.binaryauthorization.v1beta1.AdmissionWhitelistPattern\] +/// are exempted from admission rules and will never block a pod creation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdmissionRule { - /// Required. How this admission rule will be evaluated. + /// Required. How this admission rule will be evaluated. #[prost(enumeration="admission_rule::EvaluationMode", tag="1")] pub evaluation_mode: i32, - /// Optional. The resource names of the attestors that must attest to - /// a container image, in the format `projects/*/attestors/*`. Each - /// attestor must exist before a policy can reference it. To add an attestor - /// to a policy the principal issuing the policy change request must be able - /// to read the attestor resource. + /// Optional. The resource names of the attestors that must attest to + /// a container image, in the format `projects/*/attestors/*`. Each + /// attestor must exist before a policy can reference it. To add an attestor + /// to a policy the principal issuing the policy change request must be able + /// to read the attestor resource. /// - /// Note: this field must be non-empty when the evaluation_mode field specifies - /// REQUIRE_ATTESTATION, otherwise it must be empty. + /// Note: this field must be non-empty when the evaluation_mode field specifies + /// REQUIRE_ATTESTATION, otherwise it must be empty. #[prost(string, repeated, tag="2")] pub require_attestations_by: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The action when a pod creation is denied by the admission rule. + /// Required. The action when a pod creation is denied by the admission rule. #[prost(enumeration="admission_rule::EnforcementMode", tag="3")] pub enforcement_mode: i32, } @@ -235,15 +235,15 @@ pub mod admission_rule { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EvaluationMode { - /// Do not use. + /// Do not use. Unspecified = 0, - /// This rule allows all all pod creations. + /// This rule allows all all pod creations. AlwaysAllow = 1, - /// This rule allows a pod creation if all the attestors listed in - /// `require_attestations_by` have valid attestations for all of the - /// images in the pod spec. + /// This rule allows a pod creation if all the attestors listed in + /// `require_attestations_by` have valid attestations for all of the + /// images in the pod spec. RequireAttestation = 2, - /// This rule denies all pod creations. + /// This rule denies all pod creations. AlwaysDeny = 3, } impl EvaluationMode { @@ -260,17 +260,17 @@ pub mod admission_rule { } } } - /// Defines the possible actions when a pod creation is denied by an admission - /// rule. + /// Defines the possible actions when a pod creation is denied by an admission + /// rule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnforcementMode { - /// Do not use. + /// Do not use. Unspecified = 0, - /// Enforce the admission rule by blocking the pod creation. + /// Enforce the admission rule by blocking the pod creation. EnforcedBlockAndAuditLog = 1, - /// Dryrun mode: Audit logging only. This will allow the pod creation as if - /// the admission request had specified break-glass. + /// Dryrun mode: Audit logging only. This will allow the pod creation as if + /// the admission request had specified break-glass. DryrunAuditLogOnly = 2, } impl EnforcementMode { @@ -287,132 +287,132 @@ pub mod admission_rule { } } } -/// An \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to container image -/// artifacts. An existing attestor cannot be modified except where -/// indicated. +/// An \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to container image +/// artifacts. An existing attestor cannot be modified except where +/// indicated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Attestor { - /// Required. The resource name, in the format: - /// `projects/*/attestors/*`. This field may not be updated. + /// Required. The resource name, in the format: + /// `projects/*/attestors/*`. This field may not be updated. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A descriptive comment. This field may be updated. - /// The field may be displayed in chooser dialogs. + /// Optional. A descriptive comment. This field may be updated. + /// The field may be displayed in chooser dialogs. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// Output only. Time when the attestor was last updated. + /// Output only. Time when the attestor was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Identifies an \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to a - /// container image artifact. This determines how an attestation will - /// be stored, and how it will be used during policy - /// enforcement. Updates may not change the attestor type, but individual - /// attestor fields may be updated. + /// Required. Identifies an \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to a + /// container image artifact. This determines how an attestation will + /// be stored, and how it will be used during policy + /// enforcement. Updates may not change the attestor type, but individual + /// attestor fields may be updated. #[prost(oneof="attestor::AttestorType", tags="3")] pub attestor_type: ::core::option::Option, } /// Nested message and enum types in `Attestor`. pub mod attestor { - /// Required. Identifies an \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to a - /// container image artifact. This determines how an attestation will - /// be stored, and how it will be used during policy - /// enforcement. Updates may not change the attestor type, but individual - /// attestor fields may be updated. + /// Required. Identifies an \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] that attests to a + /// container image artifact. This determines how an attestation will + /// be stored, and how it will be used during policy + /// enforcement. Updates may not change the attestor type, but individual + /// attestor fields may be updated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AttestorType { - /// A Drydock ATTESTATION_AUTHORITY Note, created by the user. + /// A Drydock ATTESTATION_AUTHORITY Note, created by the user. #[prost(message, tag="3")] UserOwnedDrydockNote(super::UserOwnedDrydockNote), } } -/// An [user owned drydock note]\[google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote\] references a Drydock -/// ATTESTATION_AUTHORITY Note created by the user. +/// An [user owned drydock note]\[google.cloud.binaryauthorization.v1beta1.UserOwnedDrydockNote\] references a Drydock +/// ATTESTATION_AUTHORITY Note created by the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserOwnedDrydockNote { - /// Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note, - /// created by the user, in the format: `projects/*/notes/*` (or the legacy - /// `providers/*/notes/*`). This field may not be updated. + /// Required. The Drydock resource name of a ATTESTATION_AUTHORITY Note, + /// created by the user, in the format: `projects/*/notes/*` (or the legacy + /// `providers/*/notes/*`). This field may not be updated. /// - /// An attestation by this attestor is stored as a Drydock - /// ATTESTATION_AUTHORITY Occurrence that names a container image and that - /// links to this Note. Drydock is an external dependency. + /// An attestation by this attestor is stored as a Drydock + /// ATTESTATION_AUTHORITY Occurrence that names a container image and that + /// links to this Note. Drydock is an external dependency. #[prost(string, tag="1")] pub note_reference: ::prost::alloc::string::String, - /// Optional. Public keys that verify attestations signed by this - /// attestor. This field may be updated. + /// Optional. Public keys that verify attestations signed by this + /// attestor. This field may be updated. /// - /// If this field is non-empty, one of the specified public keys must - /// verify that an attestation was signed by this attestor for the - /// image specified in the admission request. + /// If this field is non-empty, one of the specified public keys must + /// verify that an attestation was signed by this attestor for the + /// image specified in the admission request. /// - /// If this field is empty, this attestor always returns that no - /// valid attestations exist. + /// If this field is empty, this attestor always returns that no + /// valid attestations exist. #[prost(message, repeated, tag="2")] pub public_keys: ::prost::alloc::vec::Vec, - /// Output only. This field will contain the service account email address - /// that this Attestor will use as the principal when querying Container - /// Analysis. Attestor administrators must grant this service account the - /// IAM role needed to read attestations from the \[note_reference][Note\] in - /// Container Analysis (`containeranalysis.notes.occurrences.viewer`). + /// Output only. This field will contain the service account email address + /// that this Attestor will use as the principal when querying Container + /// Analysis. Attestor administrators must grant this service account the + /// IAM role needed to read attestations from the \[note_reference][Note\] in + /// Container Analysis (`containeranalysis.notes.occurrences.viewer`). /// - /// This email address is fixed for the lifetime of the Attestor, but callers - /// should not make any other assumptions about the service account email; - /// future versions may use an email based on a different naming pattern. + /// This email address is fixed for the lifetime of the Attestor, but callers + /// should not make any other assumptions about the service account email; + /// future versions may use an email based on a different naming pattern. #[prost(string, tag="3")] pub delegation_service_account_email: ::prost::alloc::string::String, } -/// A public key in the PkixPublicKey format (see -/// for details). -/// Public keys of this type are typically textually encoded using the PEM -/// format. +/// A public key in the PkixPublicKey format (see +/// for details). +/// Public keys of this type are typically textually encoded using the PEM +/// format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PkixPublicKey { - /// A PEM-encoded public key, as described in - /// + /// A PEM-encoded public key, as described in + /// #[prost(string, tag="1")] pub public_key_pem: ::prost::alloc::string::String, - /// The signature algorithm used to verify a message against a signature using - /// this key. - /// These signature algorithm must match the structure and any object - /// identifiers encoded in `public_key_pem` (i.e. this algorithm must match - /// that of the public key). + /// The signature algorithm used to verify a message against a signature using + /// this key. + /// These signature algorithm must match the structure and any object + /// identifiers encoded in `public_key_pem` (i.e. this algorithm must match + /// that of the public key). #[prost(enumeration="pkix_public_key::SignatureAlgorithm", tag="2")] pub signature_algorithm: i32, } /// Nested message and enum types in `PkixPublicKey`. pub mod pkix_public_key { - /// Represents a signature algorithm and other information necessary to verify - /// signatures with a given public key. - /// This is based primarily on the public key types supported by Tink's - /// PemKeyType, which is in turn based on KMS's supported signing algorithms. - /// See In the future, BinAuthz - /// might support additional public key types independently of Tink and/or KMS. + /// Represents a signature algorithm and other information necessary to verify + /// signatures with a given public key. + /// This is based primarily on the public key types supported by Tink's + /// PemKeyType, which is in turn based on KMS's supported signing algorithms. + /// See In the future, BinAuthz + /// might support additional public key types independently of Tink and/or KMS. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SignatureAlgorithm { - /// Not specified. + /// Not specified. Unspecified = 0, - /// RSASSA-PSS 2048 bit key with a SHA256 digest. + /// RSASSA-PSS 2048 bit key with a SHA256 digest. RsaPss2048Sha256 = 1, - /// RSASSA-PSS 3072 bit key with a SHA256 digest. + /// RSASSA-PSS 3072 bit key with a SHA256 digest. RsaPss3072Sha256 = 2, - /// RSASSA-PSS 4096 bit key with a SHA256 digest. + /// RSASSA-PSS 4096 bit key with a SHA256 digest. RsaPss4096Sha256 = 3, - /// RSASSA-PSS 4096 bit key with a SHA512 digest. + /// RSASSA-PSS 4096 bit key with a SHA512 digest. RsaPss4096Sha512 = 4, - /// RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 2048 bit key and a SHA256 digest. RsaSignPkcs12048Sha256 = 5, - /// RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 3072 bit key and a SHA256 digest. RsaSignPkcs13072Sha256 = 6, - /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. + /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA256 digest. RsaSignPkcs14096Sha256 = 7, - /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. + /// RSASSA-PKCS1-v1_5 with a 4096 bit key and a SHA512 digest. RsaSignPkcs14096Sha512 = 8, - /// ECDSA on the NIST P-256 curve with a SHA256 digest. + /// ECDSA on the NIST P-256 curve with a SHA256 digest. EcdsaP256Sha256 = 9, - /// ECDSA on the NIST P-384 curve with a SHA384 digest. + /// ECDSA on the NIST P-384 curve with a SHA384 digest. EcdsaP384Sha384 = 10, - /// ECDSA on the NIST P-521 curve with a SHA512 digest. + /// ECDSA on the NIST P-521 curve with a SHA512 digest. EcdsaP521Sha512 = 11, } impl SignatureAlgorithm { @@ -438,144 +438,144 @@ pub mod pkix_public_key { } } } -/// An [attestor public key]\[google.cloud.binaryauthorization.v1beta1.AttestorPublicKey\] that will be used to verify -/// attestations signed by this attestor. +/// An [attestor public key]\[google.cloud.binaryauthorization.v1beta1.AttestorPublicKey\] that will be used to verify +/// attestations signed by this attestor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttestorPublicKey { - /// Optional. A descriptive comment. This field may be updated. + /// Optional. A descriptive comment. This field may be updated. #[prost(string, tag="1")] pub comment: ::prost::alloc::string::String, - /// The ID of this public key. - /// Signatures verified by BinAuthz must include the ID of the public key that - /// can be used to verify them, and that ID must match the contents of this - /// field exactly. - /// Additional restrictions on this field can be imposed based on which public - /// key type is encapsulated. See the documentation on `public_key` cases below - /// for details. + /// The ID of this public key. + /// Signatures verified by BinAuthz must include the ID of the public key that + /// can be used to verify them, and that ID must match the contents of this + /// field exactly. + /// Additional restrictions on this field can be imposed based on which public + /// key type is encapsulated. See the documentation on `public_key` cases below + /// for details. #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Required. A public key reference or serialized instance. This field may be - /// updated. + /// Required. A public key reference or serialized instance. This field may be + /// updated. #[prost(oneof="attestor_public_key::PublicKey", tags="3, 5")] pub public_key: ::core::option::Option, } /// Nested message and enum types in `AttestorPublicKey`. pub mod attestor_public_key { - /// Required. A public key reference or serialized instance. This field may be - /// updated. + /// Required. A public key reference or serialized instance. This field may be + /// updated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PublicKey { - /// ASCII-armored representation of a PGP public key, as the entire output by - /// the command `gpg --export --armor foo@example.com` (either LF or CRLF - /// line endings). - /// When using this field, `id` should be left blank. The BinAuthz API - /// handlers will calculate the ID and fill it in automatically. BinAuthz - /// computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as - /// upper-case hex. If `id` is provided by the caller, it will be - /// overwritten by the API-calculated ID. + /// ASCII-armored representation of a PGP public key, as the entire output by + /// the command `gpg --export --armor foo@example.com` (either LF or CRLF + /// line endings). + /// When using this field, `id` should be left blank. The BinAuthz API + /// handlers will calculate the ID and fill it in automatically. BinAuthz + /// computes this ID as the OpenPGP RFC4880 V4 fingerprint, represented as + /// upper-case hex. If `id` is provided by the caller, it will be + /// overwritten by the API-calculated ID. #[prost(string, tag="3")] AsciiArmoredPgpPublicKey(::prost::alloc::string::String), - /// A raw PKIX SubjectPublicKeyInfo format public key. + /// A raw PKIX SubjectPublicKeyInfo format public key. /// - /// NOTE: `id` may be explicitly provided by the caller when using this - /// type of public key, but it MUST be a valid RFC3986 URI. If `id` is left - /// blank, a default one will be computed based on the digest of the DER - /// encoding of the public key. + /// NOTE: `id` may be explicitly provided by the caller when using this + /// type of public key, but it MUST be a valid RFC3986 URI. If `id` is left + /// blank, a default one will be computed based on the digest of the DER + /// encoding of the public key. #[prost(message, tag="5")] PkixPublicKey(super::PkixPublicKey), } } -/// Request message for \[BinauthzManagementService.GetPolicy][\]. +/// Request message for \[BinauthzManagementService.GetPolicy][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPolicyRequest { - /// Required. The resource name of the \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] to retrieve, - /// in the format `projects/*/policy`. + /// Required. The resource name of the \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] to retrieve, + /// in the format `projects/*/policy`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.UpdatePolicy][\]. +/// Request message for \[BinauthzManagementService.UpdatePolicy][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePolicyRequest { - /// Required. A new or updated \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] value. The service will - /// overwrite the [policy name]\[google.cloud.binaryauthorization.v1beta1.Policy.name\] field with the resource name in - /// the request URL, in the format `projects/*/policy`. + /// Required. A new or updated \[policy][google.cloud.binaryauthorization.v1beta1.Policy\] value. The service will + /// overwrite the [policy name]\[google.cloud.binaryauthorization.v1beta1.Policy.name\] field with the resource name in + /// the request URL, in the format `projects/*/policy`. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.CreateAttestor][\]. +/// Request message for \[BinauthzManagementService.CreateAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAttestorRequest { - /// Required. The parent of this \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\]. + /// Required. The parent of this \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\]. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\] ID. + /// Required. The \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\] ID. #[prost(string, tag="2")] pub attestor_id: ::prost::alloc::string::String, - /// Required. The initial \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] value. The service will - /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1beta1.Attestor.name\] field with the resource name, - /// in the format `projects/*/attestors/*`. + /// Required. The initial \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] value. The service will + /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1beta1.Attestor.name\] field with the resource name, + /// in the format `projects/*/attestors/*`. #[prost(message, optional, tag="3")] pub attestor: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.GetAttestor][\]. +/// Request message for \[BinauthzManagementService.GetAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAttestorRequest { - /// Required. The name of the \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] to retrieve, in the format - /// `projects/*/attestors/*`. + /// Required. The name of the \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] to retrieve, in the format + /// `projects/*/attestors/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.UpdateAttestor][\]. +/// Request message for \[BinauthzManagementService.UpdateAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAttestorRequest { - /// Required. The updated \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] value. The service will - /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1beta1.Attestor.name\] field with the resource name - /// in the request URL, in the format `projects/*/attestors/*`. + /// Required. The updated \[attestor][google.cloud.binaryauthorization.v1beta1.Attestor\] value. The service will + /// overwrite the [attestor name]\[google.cloud.binaryauthorization.v1beta1.Attestor.name\] field with the resource name + /// in the request URL, in the format `projects/*/attestors/*`. #[prost(message, optional, tag="1")] pub attestor: ::core::option::Option, } -/// Request message for \[BinauthzManagementService.ListAttestors][\]. +/// Request message for \[BinauthzManagementService.ListAttestors][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAttestorsRequest { - /// Required. The resource name of the project associated with the - /// \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\], in the format `projects/*`. + /// Required. The resource name of the project associated with the + /// \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\], in the format `projects/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. The server may return fewer results than requested. If - /// unspecified, the server will pick an appropriate default. + /// Requested page size. The server may return fewer results than requested. If + /// unspecified, the server will pick an appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// A token identifying a page of results the server should return. Typically, - /// this is the value of \[ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token\] returned - /// from the previous call to the `ListAttestors` method. + /// A token identifying a page of results the server should return. Typically, + /// this is the value of \[ListAttestorsResponse.next_page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsResponse.next_page_token\] returned + /// from the previous call to the `ListAttestors` method. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[BinauthzManagementService.ListAttestors][\]. +/// Response message for \[BinauthzManagementService.ListAttestors][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAttestorsResponse { - /// The list of \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\]. + /// The list of \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\]. #[prost(message, repeated, tag="1")] pub attestors: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. Pass this value in the - /// \[ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token\] field in the subsequent call to the - /// `ListAttestors` method to retrieve the next page of results. + /// A token to retrieve the next page of results. Pass this value in the + /// \[ListAttestorsRequest.page_token][google.cloud.binaryauthorization.v1beta1.ListAttestorsRequest.page_token\] field in the subsequent call to the + /// `ListAttestors` method to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[BinauthzManagementService.DeleteAttestor][\]. +/// Request message for \[BinauthzManagementService.DeleteAttestor][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAttestorRequest { - /// Required. The name of the \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\] to delete, in the format - /// `projects/*/attestors/*`. + /// Required. The name of the \[attestors][google.cloud.binaryauthorization.v1beta1.Attestor\] to delete, in the format + /// `projects/*/attestors/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to read the current system policy. +/// Request to read the current system policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSystemPolicyRequest { - /// Required. The resource name, in the format `locations/*/policy`. - /// Note that the system policy is not associated with a project. + /// Required. The resource name, in the format `locations/*/policy`. + /// Note that the system policy is not associated with a project. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.certificatemanager.logging.v1.rs b/gcloud-sdk/genproto/google.cloud.certificatemanager.logging.v1.rs index 598b2fc0d..41e4589ef 100644 --- a/gcloud-sdk/genproto/google.cloud.certificatemanager.logging.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.certificatemanager.logging.v1.rs @@ -1,33 +1,33 @@ -/// Log message which notifies about expired or close to -/// expiry certificates. +/// Log message which notifies about expired or close to +/// expiry certificates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CertificatesExpiry { - /// Number of reported certificates. + /// Number of reported certificates. #[prost(int64, tag="1")] pub count: i64, - /// Names of reported certificates. If there are too many, the list is sampled. + /// Names of reported certificates. If there are too many, the list is sampled. #[prost(string, repeated, tag="2")] pub certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// State of reported certificates. + /// State of reported certificates. #[prost(enumeration="certificates_expiry::State", tag="3")] pub state: i32, - /// Approximated expire time of reported certificates. - /// Multiple certificates with close expire time are batched together in a - /// single log, so the timestamp is not precise. + /// Approximated expire time of reported certificates. + /// Multiple certificates with close expire time are batched together in a + /// single log, so the timestamp is not precise. #[prost(message, optional, tag="4")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `CertificatesExpiry`. pub mod certificates_expiry { - /// Expiration state of the certificate. + /// Expiration state of the certificate. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified state, should never be reported. + /// Unspecified state, should never be reported. Unspecified = 0, - /// Certificate will expire soon. + /// Certificate will expire soon. CloseToExpiry = 1, - /// Certificate is expired. + /// Certificate is expired. Expired = 2, } impl State { diff --git a/gcloud-sdk/genproto/google.cloud.certificatemanager.v1.rs b/gcloud-sdk/genproto/google.cloud.certificatemanager.v1.rs index 9a95d7008..4e525ac18 100644 --- a/gcloud-sdk/genproto/google.cloud.certificatemanager.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.certificatemanager.v1.rs @@ -1,392 +1,392 @@ -/// Request for the `ListCertificates` method. +/// Request for the `ListCertificates` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificatesRequest { - /// Required. The project and location from which the certificate should be listed, - /// specified in the format `projects/*/locations/*`. + /// Required. The project and location from which the certificate should be listed, + /// specified in the format `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of certificates to return per call. + /// Maximum number of certificates to return per call. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListCertificatesResponse`. Indicates that - /// this is a continuation of a prior `ListCertificates` call, and that the - /// system should return the next page of data. + /// The value returned by the last `ListCertificatesResponse`. Indicates that + /// this is a continuation of a prior `ListCertificates` call, and that the + /// system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter expression to restrict the Certificates returned. + /// Filter expression to restrict the Certificates returned. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// A list of Certificate field names used to specify the order of the returned - /// results. The default sorting order is ascending. To specify descending - /// order for a field, add a suffix " desc". + /// A list of Certificate field names used to specify the order of the returned + /// results. The default sorting order is ascending. To specify descending + /// order for a field, add a suffix " desc". #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response for the `ListCertificates` method. +/// Response for the `ListCertificates` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificatesResponse { - /// A list of certificates for the parent resource. + /// A list of certificates for the parent resource. #[prost(message, repeated, tag="1")] pub certificates: ::prost::alloc::vec::Vec, - /// If there might be more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// A list of locations that could not be reached. + /// A list of locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for the `GetCertificate` method. +/// Request for the `GetCertificate` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCertificateRequest { - /// Required. A name of the certificate to describe. Must be in the format - /// `projects/*/locations/*/certificates/*`. + /// Required. A name of the certificate to describe. Must be in the format + /// `projects/*/locations/*/certificates/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `CreateCertificate` method. +/// Request for the `CreateCertificate` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCertificateRequest { - /// Required. The parent resource of the certificate. Must be in the format - /// `projects/*/locations/*`. + /// Required. The parent resource of the certificate. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A user-provided name of the certificate. + /// Required. A user-provided name of the certificate. #[prost(string, tag="2")] pub certificate_id: ::prost::alloc::string::String, - /// Required. A definition of the certificate to create. + /// Required. A definition of the certificate to create. #[prost(message, optional, tag="3")] pub certificate: ::core::option::Option, } -/// Request for the `UpdateCertificate` method. +/// Request for the `UpdateCertificate` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCertificateRequest { - /// Required. A definition of the certificate to update. + /// Required. A definition of the certificate to update. #[prost(message, optional, tag="1")] pub certificate: ::core::option::Option, - /// Required. The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// + /// Required. The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for the `DeleteCertificate` method. +/// Request for the `DeleteCertificate` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCertificateRequest { - /// Required. A name of the certificate to delete. Must be in the format - /// `projects/*/locations/*/certificates/*`. + /// Required. A name of the certificate to delete. Must be in the format + /// `projects/*/locations/*/certificates/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `ListCertificateMaps` method. +/// Request for the `ListCertificateMaps` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificateMapsRequest { - /// Required. The project and location from which the certificate maps should be listed, - /// specified in the format `projects/*/locations/*`. + /// Required. The project and location from which the certificate maps should be listed, + /// specified in the format `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of certificate maps to return per call. + /// Maximum number of certificate maps to return per call. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListCertificateMapsResponse`. Indicates - /// that this is a continuation of a prior `ListCertificateMaps` call, and that - /// the system should return the next page of data. + /// The value returned by the last `ListCertificateMapsResponse`. Indicates + /// that this is a continuation of a prior `ListCertificateMaps` call, and that + /// the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter expression to restrict the Certificates Maps returned. + /// Filter expression to restrict the Certificates Maps returned. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// A list of Certificate Map field names used to specify the order of the - /// returned results. The default sorting order is ascending. To specify - /// descending order for a field, add a suffix " desc". + /// A list of Certificate Map field names used to specify the order of the + /// returned results. The default sorting order is ascending. To specify + /// descending order for a field, add a suffix " desc". #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response for the `ListCertificateMaps` method. +/// Response for the `ListCertificateMaps` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificateMapsResponse { - /// A list of certificate maps for the parent resource. + /// A list of certificate maps for the parent resource. #[prost(message, repeated, tag="1")] pub certificate_maps: ::prost::alloc::vec::Vec, - /// If there might be more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for the `GetCertificateMap` method. +/// Request for the `GetCertificateMap` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCertificateMapRequest { - /// Required. A name of the certificate map to describe. Must be in the format - /// `projects/*/locations/*/certificateMaps/*`. + /// Required. A name of the certificate map to describe. Must be in the format + /// `projects/*/locations/*/certificateMaps/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `CreateCertificateMap` method. +/// Request for the `CreateCertificateMap` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCertificateMapRequest { - /// Required. The parent resource of the certificate map. Must be in the format - /// `projects/*/locations/*`. + /// Required. The parent resource of the certificate map. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A user-provided name of the certificate map. + /// Required. A user-provided name of the certificate map. #[prost(string, tag="2")] pub certificate_map_id: ::prost::alloc::string::String, - /// Required. A definition of the certificate map to create. + /// Required. A definition of the certificate map to create. #[prost(message, optional, tag="3")] pub certificate_map: ::core::option::Option, } -/// Request for the `UpdateCertificateMap` method. +/// Request for the `UpdateCertificateMap` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCertificateMapRequest { - /// Required. A definition of the certificate map to update. + /// Required. A definition of the certificate map to update. #[prost(message, optional, tag="1")] pub certificate_map: ::core::option::Option, - /// Required. The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// + /// Required. The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for the `DeleteCertificateMap` method. +/// Request for the `DeleteCertificateMap` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCertificateMapRequest { - /// Required. A name of the certificate map to delete. Must be in the format - /// `projects/*/locations/*/certificateMaps/*`. + /// Required. A name of the certificate map to delete. Must be in the format + /// `projects/*/locations/*/certificateMaps/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `ListCertificateMapEntries` method. +/// Request for the `ListCertificateMapEntries` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificateMapEntriesRequest { - /// Required. The project, location and certificate map from which the certificate map - /// entries should be listed, specified in the format - /// `projects/*/locations/*/certificateMaps/*`. + /// Required. The project, location and certificate map from which the certificate map + /// entries should be listed, specified in the format + /// `projects/*/locations/*/certificateMaps/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of certificate map entries to return. The service may return - /// fewer than this value. - /// If unspecified, at most 50 certificate map entries will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of certificate map entries to return. The service may return + /// fewer than this value. + /// If unspecified, at most 50 certificate map entries will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListCertificateMapEntriesResponse`. - /// Indicates that this is a continuation of a prior - /// `ListCertificateMapEntries` call, and that the system should return the - /// next page of data. + /// The value returned by the last `ListCertificateMapEntriesResponse`. + /// Indicates that this is a continuation of a prior + /// `ListCertificateMapEntries` call, and that the system should return the + /// next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter expression to restrict the returned Certificate Map Entries. + /// Filter expression to restrict the returned Certificate Map Entries. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// A list of Certificate Map Entry field names used to specify - /// the order of the returned results. The default sorting order is ascending. - /// To specify descending order for a field, add a suffix " desc". + /// A list of Certificate Map Entry field names used to specify + /// the order of the returned results. The default sorting order is ascending. + /// To specify descending order for a field, add a suffix " desc". #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response for the `ListCertificateMapEntries` method. +/// Response for the `ListCertificateMapEntries` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCertificateMapEntriesResponse { - /// A list of certificate map entries for the parent resource. + /// A list of certificate map entries for the parent resource. #[prost(message, repeated, tag="1")] pub certificate_map_entries: ::prost::alloc::vec::Vec, - /// If there might be more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for the `GetCertificateMapEntry` method. +/// Request for the `GetCertificateMapEntry` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCertificateMapEntryRequest { - /// Required. A name of the certificate map entry to describe. Must be in the - /// format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + /// Required. A name of the certificate map entry to describe. Must be in the + /// format `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `CreateCertificateMapEntry` method. +/// Request for the `CreateCertificateMapEntry` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCertificateMapEntryRequest { - /// Required. The parent resource of the certificate map entry. Must be in the - /// format `projects/*/locations/*/certificateMaps/*`. + /// Required. The parent resource of the certificate map entry. Must be in the + /// format `projects/*/locations/*/certificateMaps/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A user-provided name of the certificate map entry. + /// Required. A user-provided name of the certificate map entry. #[prost(string, tag="2")] pub certificate_map_entry_id: ::prost::alloc::string::String, - /// Required. A definition of the certificate map entry to create. + /// Required. A definition of the certificate map entry to create. #[prost(message, optional, tag="3")] pub certificate_map_entry: ::core::option::Option, } -/// Request for the `UpdateCertificateMapEntry` method. +/// Request for the `UpdateCertificateMapEntry` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCertificateMapEntryRequest { - /// Required. A definition of the certificate map entry to create map entry. + /// Required. A definition of the certificate map entry to create map entry. #[prost(message, optional, tag="1")] pub certificate_map_entry: ::core::option::Option, - /// Required. The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// + /// Required. The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for the `DeleteCertificateMapEntry` method. +/// Request for the `DeleteCertificateMapEntry` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCertificateMapEntryRequest { - /// Required. A name of the certificate map entry to delete. Must be in the format - /// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + /// Required. A name of the certificate map entry to delete. Must be in the format + /// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `ListDnsAuthorizations` method. +/// Request for the `ListDnsAuthorizations` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDnsAuthorizationsRequest { - /// Required. The project and location from which the dns authorizations should be - /// listed, specified in the format `projects/*/locations/*`. + /// Required. The project and location from which the dns authorizations should be + /// listed, specified in the format `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of dns authorizations to return per call. + /// Maximum number of dns authorizations to return per call. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListDnsAuthorizationsResponse`. Indicates - /// that this is a continuation of a prior `ListDnsAuthorizations` call, and - /// that the system should return the next page of data. + /// The value returned by the last `ListDnsAuthorizationsResponse`. Indicates + /// that this is a continuation of a prior `ListDnsAuthorizations` call, and + /// that the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter expression to restrict the Dns Authorizations returned. + /// Filter expression to restrict the Dns Authorizations returned. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// A list of Dns Authorization field names used to specify the order of the - /// returned results. The default sorting order is ascending. To specify - /// descending order for a field, add a suffix " desc". + /// A list of Dns Authorization field names used to specify the order of the + /// returned results. The default sorting order is ascending. To specify + /// descending order for a field, add a suffix " desc". #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response for the `ListDnsAuthorizations` method. +/// Response for the `ListDnsAuthorizations` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDnsAuthorizationsResponse { - /// A list of dns authorizations for the parent resource. + /// A list of dns authorizations for the parent resource. #[prost(message, repeated, tag="1")] pub dns_authorizations: ::prost::alloc::vec::Vec, - /// If there might be more results than those appearing in this response, then - /// `next_page_token` is included. To get the next set of results, call this - /// method again using the value of `next_page_token` as `page_token`. + /// If there might be more results than those appearing in this response, then + /// `next_page_token` is included. To get the next set of results, call this + /// method again using the value of `next_page_token` as `page_token`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request for the `GetDnsAuthorization` method. +/// Request for the `GetDnsAuthorization` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDnsAuthorizationRequest { - /// Required. A name of the dns authorization to describe. Must be in the format - /// `projects/*/locations/*/dnsAuthorizations/*`. + /// Required. A name of the dns authorization to describe. Must be in the format + /// `projects/*/locations/*/dnsAuthorizations/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for the `CreateDnsAuthorization` method. +/// Request for the `CreateDnsAuthorization` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDnsAuthorizationRequest { - /// Required. The parent resource of the dns authorization. Must be in the format - /// `projects/*/locations/*`. + /// Required. The parent resource of the dns authorization. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. A user-provided name of the dns authorization. + /// Required. A user-provided name of the dns authorization. #[prost(string, tag="2")] pub dns_authorization_id: ::prost::alloc::string::String, - /// Required. A definition of the dns authorization to create. + /// Required. A definition of the dns authorization to create. #[prost(message, optional, tag="3")] pub dns_authorization: ::core::option::Option, } -/// Request for the `UpdateDnsAuthorization` method. +/// Request for the `UpdateDnsAuthorization` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDnsAuthorizationRequest { - /// Required. A definition of the dns authorization to update. + /// Required. A definition of the dns authorization to update. #[prost(message, optional, tag="1")] pub dns_authorization: ::core::option::Option, - /// Required. The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// + /// Required. The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request for the `DeleteDnsAuthorization` method. +/// Request for the `DeleteDnsAuthorization` method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDnsAuthorizationRequest { - /// Required. A name of the dns authorization to delete. Must be in the format - /// `projects/*/locations/*/dnsAuthorizations/*`. + /// Required. A name of the dns authorization to delete. Must be in the format + /// `projects/*/locations/*/dnsAuthorizations/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. Output only. +/// Represents the metadata of the long-running operation. Output only. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The time the operation was created. + /// The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the operation finished running. + /// The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Server-defined resource path for the target of the operation. + /// Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Name of the verb executed by the operation. + /// Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Human-readable status of the operation, if any. + /// Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// API version used to start the operation. + /// API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// Defines TLS certificate. +/// Defines TLS certificate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Certificate { - /// A user-defined name of the certificate. Certificate names must be unique - /// globally and match pattern `projects/*/locations/*/certificates/*`. + /// A user-defined name of the certificate. Certificate names must be unique + /// globally and match pattern `projects/*/locations/*/certificates/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// One or more paragraphs of text description of a certificate. + /// One or more paragraphs of text description of a certificate. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// Output only. The creation timestamp of a Certificate. + /// Output only. The creation timestamp of a Certificate. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update timestamp of a Certificate. + /// Output only. The last update timestamp of a Certificate. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Set of labels associated with a Certificate. + /// Set of labels associated with a Certificate. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. The list of Subject Alternative Names of dnsName type defined in the - /// certificate (see RFC 5280 4.2.1.6). - /// Managed certificates that haven't been provisioned yet have this field - /// populated with a value of the managed.domains field. + /// Output only. The list of Subject Alternative Names of dnsName type defined in the + /// certificate (see RFC 5280 4.2.1.6). + /// Managed certificates that haven't been provisioned yet have this field + /// populated with a value of the managed.domains field. #[prost(string, repeated, tag="6")] pub san_dnsnames: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The PEM-encoded certificate chain. + /// Output only. The PEM-encoded certificate chain. #[prost(string, tag="9")] pub pem_certificate: ::prost::alloc::string::String, - /// Output only. The expiry timestamp of a Certificate. + /// Output only. The expiry timestamp of a Certificate. #[prost(message, optional, tag="7")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, - /// Immutable. The scope of the certificate. + /// Immutable. The scope of the certificate. #[prost(enumeration="certificate::Scope", tag="12")] pub scope: i32, #[prost(oneof="certificate::Type", tags="5, 11")] @@ -394,53 +394,53 @@ pub struct Certificate { } /// Nested message and enum types in `Certificate`. pub mod certificate { - /// Certificate data for a SelfManaged Certificate. - /// SelfManaged Certificates are uploaded by the user. Updating such - /// certificates before they expire remains the user's responsibility. + /// Certificate data for a SelfManaged Certificate. + /// SelfManaged Certificates are uploaded by the user. Updating such + /// certificates before they expire remains the user's responsibility. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SelfManagedCertificate { - /// Input only. The PEM-encoded certificate chain. - /// Leaf certificate comes first, followed by intermediate ones if any. + /// Input only. The PEM-encoded certificate chain. + /// Leaf certificate comes first, followed by intermediate ones if any. #[prost(string, tag="1")] pub pem_certificate: ::prost::alloc::string::String, - /// Input only. The PEM-encoded private key of the leaf certificate. + /// Input only. The PEM-encoded private key of the leaf certificate. #[prost(string, tag="2")] pub pem_private_key: ::prost::alloc::string::String, } - /// Configuration and state of a Managed Certificate. - /// Certificate Manager provisions and renews Managed Certificates - /// automatically, for as long as it's authorized to do so. + /// Configuration and state of a Managed Certificate. + /// Certificate Manager provisions and renews Managed Certificates + /// automatically, for as long as it's authorized to do so. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedCertificate { - /// Immutable. The domains for which a managed SSL certificate will be generated. - /// Wildcard domains are only supported with DNS challenge resolution. + /// Immutable. The domains for which a managed SSL certificate will be generated. + /// Wildcard domains are only supported with DNS challenge resolution. #[prost(string, repeated, tag="1")] pub domains: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. Authorizations that will be used for performing domain authorization. + /// Immutable. Authorizations that will be used for performing domain authorization. #[prost(string, repeated, tag="2")] pub dns_authorizations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. State of the managed certificate resource. + /// Output only. State of the managed certificate resource. #[prost(enumeration="managed_certificate::State", tag="4")] pub state: i32, - /// Information about issues with provisioning a Managed Certificate. + /// Information about issues with provisioning a Managed Certificate. #[prost(message, optional, tag="3")] pub provisioning_issue: ::core::option::Option, - /// Output only. Detailed state of the latest authorization attempt for each domain - /// specified for managed certificate resource. + /// Output only. Detailed state of the latest authorization attempt for each domain + /// specified for managed certificate resource. #[prost(message, repeated, tag="5")] pub authorization_attempt_info: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ManagedCertificate`. pub mod managed_certificate { - /// Information about issues with provisioning a Managed Certificate. + /// Information about issues with provisioning a Managed Certificate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisioningIssue { - /// Reason for provisioning failures. + /// Reason for provisioning failures. #[prost(enumeration="provisioning_issue::Reason", tag="1")] pub reason: i32, - /// Human readable explanation about the issue. Provided to help address - /// the configuration issues. - /// Not guaranteed to be stable. For programmatic access use Reason enum. + /// Human readable explanation about the issue. Provided to help address + /// the configuration issues. + /// Not guaranteed to be stable. For programmatic access use Reason enum. #[prost(string, tag="2")] pub details: ::prost::alloc::string::String, } @@ -450,13 +450,13 @@ pub mod certificate { #[repr(i32)] pub enum Reason { Unspecified = 0, - /// Certificate provisioning failed due to an issue with one or more of - /// the domains on the certificate. - /// For details of which domains failed, consult the - /// `authorization_attempt_info` field. + /// Certificate provisioning failed due to an issue with one or more of + /// the domains on the certificate. + /// For details of which domains failed, consult the + /// `authorization_attempt_info` field. AuthorizationIssue = 1, - /// Exceeded Certificate Authority quotas or internal rate limits of the - /// system. Provisioning may take longer to complete. + /// Exceeded Certificate Authority quotas or internal rate limits of the + /// system. Provisioning may take longer to complete. RateLimited = 2, } impl Reason { @@ -473,22 +473,22 @@ pub mod certificate { } } } - /// State of the latest attempt to authorize a domain for certificate - /// issuance. + /// State of the latest attempt to authorize a domain for certificate + /// issuance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationAttemptInfo { - /// Domain name of the authorization attempt. + /// Domain name of the authorization attempt. #[prost(string, tag="1")] pub domain: ::prost::alloc::string::String, - /// State of the domain for managed certificate issuance. + /// State of the domain for managed certificate issuance. #[prost(enumeration="authorization_attempt_info::State", tag="2")] pub state: i32, - /// Output only. Reason for failure of the authorization attempt for the domain. + /// Output only. Reason for failure of the authorization attempt for the domain. #[prost(enumeration="authorization_attempt_info::FailureReason", tag="3")] pub failure_reason: i32, - /// Human readable explanation for reaching the state. Provided to help - /// address the configuration issues. - /// Not guaranteed to be stable. For programmatic access use Reason enum. + /// Human readable explanation for reaching the state. Provided to help + /// address the configuration issues. + /// Not guaranteed to be stable. For programmatic access use Reason enum. #[prost(string, tag="4")] pub details: ::prost::alloc::string::String, } @@ -498,14 +498,14 @@ pub mod certificate { #[repr(i32)] pub enum State { Unspecified = 0, - /// Certificate provisioning for this domain is under way. GCP will - /// attempt to authorize the domain. + /// Certificate provisioning for this domain is under way. GCP will + /// attempt to authorize the domain. Authorizing = 1, - /// A managed certificate can be provisioned, no issues for this domain. + /// A managed certificate can be provisioned, no issues for this domain. Authorized = 6, - /// Attempt to authorize the domain failed. This prevents the Managed - /// Certificate from being issued. - /// See `failure_reason` and `details` fields for more information. + /// Attempt to authorize the domain failed. This prevents the Managed + /// Certificate from being issued. + /// See `failure_reason` and `details` fields for more information. Failed = 7, } impl State { @@ -526,14 +526,14 @@ pub mod certificate { #[repr(i32)] pub enum FailureReason { Unspecified = 0, - /// There was a problem with the user's DNS or load balancer - /// configuration for this domain. + /// There was a problem with the user's DNS or load balancer + /// configuration for this domain. Config = 1, - /// Certificate issuance forbidden by an explicit CAA record for the - /// domain or a failure to check CAA records for the domain. + /// Certificate issuance forbidden by an explicit CAA record for the + /// domain or a failure to check CAA records for the domain. Caa = 2, - /// Reached a CA or internal rate-limit for the domain, - /// e.g. for certificates per top-level private domain. + /// Reached a CA or internal rate-limit for the domain, + /// e.g. for certificates per top-level private domain. RateLimited = 3, } impl FailureReason { @@ -555,17 +555,17 @@ pub mod certificate { #[repr(i32)] pub enum State { Unspecified = 0, - /// Certificate Manager attempts to provision or renew the certificate. - /// If the process takes longer than expected, consult the - /// `provisioning_issue` field. + /// Certificate Manager attempts to provision or renew the certificate. + /// If the process takes longer than expected, consult the + /// `provisioning_issue` field. Provisioning = 1, - /// Multiple certificate provisioning attempts failed and Certificate - /// Manager gave up. To try again, delete and create a new managed - /// Certificate resource. - /// For details see the `provisioning_issue` field. + /// Multiple certificate provisioning attempts failed and Certificate + /// Manager gave up. To try again, delete and create a new managed + /// Certificate resource. + /// For details see the `provisioning_issue` field. Failed = 2, - /// The certificate management is working, and a certificate has been - /// provisioned. + /// The certificate management is working, and a certificate has been + /// provisioned. Active = 3, } impl State { @@ -583,15 +583,15 @@ pub mod certificate { } } } - /// Certificate scope. + /// Certificate scope. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Scope { - /// Certificates with default scope are served from core Google data centers. - /// If unsure, choose this option. + /// Certificates with default scope are served from core Google data centers. + /// If unsure, choose this option. Default = 0, - /// Certificates with scope EDGE_CACHE are special-purposed certificates, - /// served from non-core Google data centers. + /// Certificates with scope EDGE_CACHE are special-purposed certificates, + /// served from non-core Google data centers. EdgeCache = 1, } impl Scope { @@ -608,103 +608,103 @@ pub mod certificate { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// If set, defines data of a self-managed certificate. + /// If set, defines data of a self-managed certificate. #[prost(message, tag="5")] SelfManaged(SelfManagedCertificate), - /// If set, contains configuration and state of a managed certificate. + /// If set, contains configuration and state of a managed certificate. #[prost(message, tag="11")] Managed(ManagedCertificate), } } -/// Defines a collection of certificate configurations. +/// Defines a collection of certificate configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CertificateMap { - /// A user-defined name of the Certificate Map. Certificate Map names must be - /// unique globally and match pattern - /// `projects/*/locations/*/certificateMaps/*`. + /// A user-defined name of the Certificate Map. Certificate Map names must be + /// unique globally and match pattern + /// `projects/*/locations/*/certificateMaps/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// One or more paragraphs of text description of a certificate map. + /// One or more paragraphs of text description of a certificate map. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Output only. The creation timestamp of a Certificate Map. + /// Output only. The creation timestamp of a Certificate Map. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update timestamp of a Certificate Map. + /// Output only. The update timestamp of a Certificate Map. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Set of labels associated with a Certificate Map. + /// Set of labels associated with a Certificate Map. #[prost(map="string, string", tag="3")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. A list of GCLB targets which use this Certificate Map. + /// Output only. A list of GCLB targets which use this Certificate Map. #[prost(message, repeated, tag="4")] pub gclb_targets: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `CertificateMap`. pub mod certificate_map { - /// Describes a Target Proxy which uses this Certificate Map. + /// Describes a Target Proxy which uses this Certificate Map. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GclbTarget { - /// IP configurations for this Target Proxy where the - /// Certificate Map is serving. + /// IP configurations for this Target Proxy where the + /// Certificate Map is serving. #[prost(message, repeated, tag="2")] pub ip_configs: ::prost::alloc::vec::Vec, - /// A Target Proxy to which this map is attached to. + /// A Target Proxy to which this map is attached to. #[prost(oneof="gclb_target::TargetProxy", tags="1, 3")] pub target_proxy: ::core::option::Option, } /// Nested message and enum types in `GclbTarget`. pub mod gclb_target { - /// Defines IP configuration where this Certificate Map is serving. + /// Defines IP configuration where this Certificate Map is serving. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IpConfig { - /// An external IP address. + /// An external IP address. #[prost(string, tag="1")] pub ip_address: ::prost::alloc::string::String, - /// Ports. + /// Ports. #[prost(uint32, repeated, tag="3")] pub ports: ::prost::alloc::vec::Vec, } - /// A Target Proxy to which this map is attached to. + /// A Target Proxy to which this map is attached to. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetProxy { - /// This field returns the resource name in the following format: - /// `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. + /// This field returns the resource name in the following format: + /// `//compute.googleapis.com/projects/*/global/targetHttpsProxies/*`. #[prost(string, tag="1")] TargetHttpsProxy(::prost::alloc::string::String), - /// This field returns the resource name in the following format: - /// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. + /// This field returns the resource name in the following format: + /// `//compute.googleapis.com/projects/*/global/targetSslProxies/*`. #[prost(string, tag="3")] TargetSslProxy(::prost::alloc::string::String), } } } -/// Defines a certificate map entry. +/// Defines a certificate map entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CertificateMapEntry { - /// A user-defined name of the Certificate Map Entry. Certificate Map Entry - /// names must be unique globally and match pattern - /// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. + /// A user-defined name of the Certificate Map Entry. Certificate Map Entry + /// names must be unique globally and match pattern + /// `projects/*/locations/*/certificateMaps/*/certificateMapEntries/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// One or more paragraphs of text description of a certificate map entry. + /// One or more paragraphs of text description of a certificate map entry. #[prost(string, tag="9")] pub description: ::prost::alloc::string::String, - /// Output only. The creation timestamp of a Certificate Map Entry. + /// Output only. The creation timestamp of a Certificate Map Entry. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update timestamp of a Certificate Map Entry. + /// Output only. The update timestamp of a Certificate Map Entry. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Set of labels associated with a Certificate Map Entry. + /// Set of labels associated with a Certificate Map Entry. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A set of Certificates defines for the given `hostname`. There can be - /// defined up to fifteen certificates in each Certificate Map Entry. Each - /// certificate must match pattern `projects/*/locations/*/certificates/*`. + /// A set of Certificates defines for the given `hostname`. There can be + /// defined up to fifteen certificates in each Certificate Map Entry. Each + /// certificate must match pattern `projects/*/locations/*/certificates/*`. #[prost(string, repeated, tag="7")] pub certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. A serving state of this Certificate Map Entry. + /// Output only. A serving state of this Certificate Map Entry. #[prost(enumeration="ServingState", tag="8")] pub state: i32, #[prost(oneof="certificate_map_entry::Match", tags="5, 10")] @@ -712,15 +712,15 @@ pub struct CertificateMapEntry { } /// Nested message and enum types in `CertificateMapEntry`. pub mod certificate_map_entry { - /// Defines predefined cases other than SNI-hostname match when this - /// configuration should be applied. + /// Defines predefined cases other than SNI-hostname match when this + /// configuration should be applied. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Matcher { - /// A matcher has't been recognized. + /// A matcher has't been recognized. Unspecified = 0, - /// A primary certificate that is served when SNI wasn't specified in the - /// request or SNI couldn't be found in the map. + /// A primary certificate that is served when SNI wasn't specified in the + /// request or SNI couldn't be found in the map. Primary = 1, } impl Matcher { @@ -737,75 +737,75 @@ pub mod certificate_map_entry { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Match { - /// A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression - /// (`*.example.com`) for a set of hostnames with common suffix. Used as - /// Server Name Indication (SNI) for selecting a proper certificate. + /// A Hostname (FQDN, e.g. `example.com`) or a wildcard hostname expression + /// (`*.example.com`) for a set of hostnames with common suffix. Used as + /// Server Name Indication (SNI) for selecting a proper certificate. #[prost(string, tag="5")] Hostname(::prost::alloc::string::String), - /// A predefined matcher for particular cases, other than SNI selection. + /// A predefined matcher for particular cases, other than SNI selection. #[prost(enumeration="Matcher", tag="10")] Matcher(i32), } } -/// A DnsAuthorization resource describes a way to perform domain authorization -/// for certificate issuance. +/// A DnsAuthorization resource describes a way to perform domain authorization +/// for certificate issuance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DnsAuthorization { - /// A user-defined name of the dns authorization. DnsAuthorization names must - /// be unique globally and match pattern - /// `projects/*/locations/*/dnsAuthorizations/*`. + /// A user-defined name of the dns authorization. DnsAuthorization names must + /// be unique globally and match pattern + /// `projects/*/locations/*/dnsAuthorizations/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The creation timestamp of a DnsAuthorization. + /// Output only. The creation timestamp of a DnsAuthorization. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update timestamp of a DnsAuthorization. + /// Output only. The last update timestamp of a DnsAuthorization. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Set of labels associated with a DnsAuthorization. + /// Set of labels associated with a DnsAuthorization. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// One or more paragraphs of text description of a DnsAuthorization. + /// One or more paragraphs of text description of a DnsAuthorization. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Required. Immutable. A domain which is being authorized. A DnsAuthorization resource covers a - /// single domain and its wildcard, e.g. authorization for `example.com` can - /// be used to issue certificates for `example.com` and `*.example.com`. + /// Required. Immutable. A domain which is being authorized. A DnsAuthorization resource covers a + /// single domain and its wildcard, e.g. authorization for `example.com` can + /// be used to issue certificates for `example.com` and `*.example.com`. #[prost(string, tag="6")] pub domain: ::prost::alloc::string::String, - /// Output only. DNS Resource Record that needs to be added to DNS configuration. + /// Output only. DNS Resource Record that needs to be added to DNS configuration. #[prost(message, optional, tag="10")] pub dns_resource_record: ::core::option::Option, } /// Nested message and enum types in `DnsAuthorization`. pub mod dns_authorization { - /// The structure describing the DNS Resource Record that needs to be added - /// to DNS configuration for the authorization to be usable by - /// certificate. + /// The structure describing the DNS Resource Record that needs to be added + /// to DNS configuration for the authorization to be usable by + /// certificate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DnsResourceRecord { - /// Output only. Fully qualified name of the DNS Resource Record. - /// e.g. `_acme-challenge.example.com` + /// Output only. Fully qualified name of the DNS Resource Record. + /// e.g. `_acme-challenge.example.com` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Type of the DNS Resource Record. - /// Currently always set to "CNAME". + /// Output only. Type of the DNS Resource Record. + /// Currently always set to "CNAME". #[prost(string, tag="2")] pub r#type: ::prost::alloc::string::String, - /// Output only. Data of the DNS Resource Record. + /// Output only. Data of the DNS Resource Record. #[prost(string, tag="3")] pub data: ::prost::alloc::string::String, } } -/// Defines set of serving states associated with a resource. +/// Defines set of serving states associated with a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ServingState { - /// The status is undefined. + /// The status is undefined. Unspecified = 0, - /// The configuration is serving. + /// The configuration is serving. Active = 1, - /// Update is in progress. Some frontends may serve this configuration. + /// Update is in progress. Some frontends may serve this configuration. Pending = 2, } impl ServingState { diff --git a/gcloud-sdk/genproto/google.cloud.channel.v1.rs b/gcloud-sdk/genproto/google.cloud.channel.v1.rs index 0e6605994..b0aef194b 100644 --- a/gcloud-sdk/genproto/google.cloud.channel.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.channel.v1.rs @@ -1,27 +1,27 @@ -/// Required Edu Attributes +/// Required Edu Attributes #[derive(Clone, PartialEq, ::prost::Message)] pub struct EduData { - /// Designated institute type of customer. + /// Designated institute type of customer. #[prost(enumeration="edu_data::InstituteType", tag="1")] pub institute_type: i32, - /// Size of the institute. + /// Size of the institute. #[prost(enumeration="edu_data::InstituteSize", tag="2")] pub institute_size: i32, - /// Web address for the edu customer's institution. + /// Web address for the edu customer's institution. #[prost(string, tag="3")] pub website: ::prost::alloc::string::String, } /// Nested message and enum types in `EduData`. pub mod edu_data { - /// Enum to specify the institute type. + /// Enum to specify the institute type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstituteType { - /// Not used. + /// Not used. Unspecified = 0, - /// Elementary/Secondary Schools & Districts + /// Elementary/Secondary Schools & Districts K12 = 1, - /// Higher Education Universities & Colleges + /// Higher Education Universities & Colleges University = 2, } impl InstituteType { @@ -37,25 +37,25 @@ pub mod edu_data { } } } - /// Number of students and staff the institute has. + /// Number of students and staff the institute has. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstituteSize { - /// Not used. + /// Not used. Unspecified = 0, - /// 1 - 100 + /// 1 - 100 Size1100 = 1, - /// 101 - 500 + /// 101 - 500 Size101500 = 2, - /// 501 - 1,000 + /// 501 - 1,000 Size5011000 = 3, - /// 1,001 - 2,000 + /// 1,001 - 2,000 Size10012000 = 4, - /// 2,001 - 5,000 + /// 2,001 - 5,000 Size20015000 = 5, - /// 5,001 - 10,000 + /// 5,001 - 10,000 Size500110000 = 6, - /// 10,001 + + /// 10,001 + Size10001OrMore = 7, } impl InstituteSize { @@ -77,49 +77,49 @@ pub mod edu_data { } } } -/// Cloud Identity information for the Cloud Channel Customer. +/// Cloud Identity information for the Cloud Channel Customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudIdentityInfo { - /// CustomerType indicates verification type needed for using services. + /// CustomerType indicates verification type needed for using services. #[prost(enumeration="cloud_identity_info::CustomerType", tag="1")] pub customer_type: i32, - /// Output only. The primary domain name. + /// Output only. The primary domain name. #[prost(string, tag="9")] pub primary_domain: ::prost::alloc::string::String, - /// Output only. Whether the domain is verified. - /// This field is not returned for a Customer's cloud_identity_info resource. - /// Partners can use the domains.get() method of the Workspace SDK's - /// Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in - /// to track domain verification of their resolve Workspace customers. + /// Output only. Whether the domain is verified. + /// This field is not returned for a Customer's cloud_identity_info resource. + /// Partners can use the domains.get() method of the Workspace SDK's + /// Directory API, or listen to the PRIMARY_DOMAIN_VERIFIED Pub/Sub event in + /// to track domain verification of their resolve Workspace customers. #[prost(bool, tag="4")] pub is_domain_verified: bool, - /// The alternate email. + /// The alternate email. #[prost(string, tag="6")] pub alternate_email: ::prost::alloc::string::String, - /// Phone number associated with the Cloud Identity. + /// Phone number associated with the Cloud Identity. #[prost(string, tag="7")] pub phone_number: ::prost::alloc::string::String, - /// Language code. + /// Language code. #[prost(string, tag="8")] pub language_code: ::prost::alloc::string::String, - /// Output only. URI of Customer's Admin console dashboard. + /// Output only. URI of Customer's Admin console dashboard. #[prost(string, tag="10")] pub admin_console_uri: ::prost::alloc::string::String, - /// Edu information about the customer. + /// Edu information about the customer. #[prost(message, optional, tag="22")] pub edu_data: ::core::option::Option, } /// Nested message and enum types in `CloudIdentityInfo`. pub mod cloud_identity_info { - /// CustomerType of the customer + /// CustomerType of the customer #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CustomerType { - /// Not used. + /// Not used. Unspecified = 0, - /// Domain-owning customer which needs domain verification to use services. + /// Domain-owning customer which needs domain verification to use services. Domain = 1, - /// Team customer which needs email verification to use services. + /// Team customer which needs email verification to use services. Team = 2, } impl CustomerType { @@ -136,90 +136,90 @@ pub mod cloud_identity_info { } } } -/// Data type and value of a parameter. +/// Data type and value of a parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// The kind of value. + /// The kind of value. #[prost(oneof="value::Kind", tags="1, 2, 3, 4, 5")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// The kind of value. + /// The kind of value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Represents an int64 value. + /// Represents an int64 value. #[prost(int64, tag="1")] Int64Value(i64), - /// Represents a string value. + /// Represents a string value. #[prost(string, tag="2")] StringValue(::prost::alloc::string::String), - /// Represents a double value. + /// Represents a double value. #[prost(double, tag="3")] DoubleValue(f64), - /// Represents an 'Any' proto value. + /// Represents an 'Any' proto value. #[prost(message, tag="4")] ProtoValue(::prost_types::Any), - /// Represents a boolean value. + /// Represents a boolean value. #[prost(bool, tag="5")] BoolValue(bool), } } -/// Information needed to create an Admin User for Google Workspace. +/// Information needed to create an Admin User for Google Workspace. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdminUser { - /// Primary email of the admin user. + /// Primary email of the admin user. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, - /// Given name of the admin user. + /// Given name of the admin user. #[prost(string, tag="2")] pub given_name: ::prost::alloc::string::String, - /// Family name of the admin user. + /// Family name of the admin user. #[prost(string, tag="3")] pub family_name: ::prost::alloc::string::String, } -/// Entity representing a link between distributors and their indirect -/// resellers in an n-tier resale channel. +/// Entity representing a link between distributors and their indirect +/// resellers in an n-tier resale channel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChannelPartnerLink { - /// Output only. Resource name for the channel partner link, in the format - /// accounts/{account_id}/channelPartnerLinks/{id}. + /// Output only. Resource name for the channel partner link, in the format + /// accounts/{account_id}/channelPartnerLinks/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Cloud Identity ID of the linked reseller. + /// Required. Cloud Identity ID of the linked reseller. #[prost(string, tag="2")] pub reseller_cloud_identity_id: ::prost::alloc::string::String, - /// Required. State of the channel partner link. + /// Required. State of the channel partner link. #[prost(enumeration="ChannelPartnerLinkState", tag="3")] pub link_state: i32, - /// Output only. URI of the web page where partner accepts the link invitation. + /// Output only. URI of the web page where partner accepts the link invitation. #[prost(string, tag="4")] pub invite_link_uri: ::prost::alloc::string::String, - /// Output only. Timestamp of when the channel partner link is created. + /// Output only. Timestamp of when the channel partner link is created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp of when the channel partner link is updated. + /// Output only. Timestamp of when the channel partner link is updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Public identifier that a customer must use to generate a transfer token - /// to move to this distributor-reseller combination. + /// Output only. Public identifier that a customer must use to generate a transfer token + /// to move to this distributor-reseller combination. #[prost(string, tag="7")] pub public_id: ::prost::alloc::string::String, - /// Output only. Cloud Identity info of the channel partner (IR). + /// Output only. Cloud Identity info of the channel partner (IR). #[prost(message, optional, tag="8")] pub channel_partner_cloud_identity_info: ::core::option::Option, } -/// The level of granularity the \[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink\] will display. +/// The level of granularity the \[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink\] will display. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChannelPartnerLinkView { - /// The default / unset value. - /// The API will default to the BASIC view. + /// The default / unset value. + /// The API will default to the BASIC view. Unspecified = 0, - /// Includes all fields except the - /// \[ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info\]. + /// Includes all fields except the + /// \[ChannelPartnerLink.channel_partner_cloud_identity_info][google.cloud.channel.v1.ChannelPartnerLink.channel_partner_cloud_identity_info\]. Basic = 1, - /// Includes all fields. + /// Includes all fields. Full = 2, } impl ChannelPartnerLinkView { @@ -235,20 +235,20 @@ impl ChannelPartnerLinkView { } } } -/// ChannelPartnerLinkState represents state of a channel partner link. +/// ChannelPartnerLinkState represents state of a channel partner link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChannelPartnerLinkState { - /// Not used. + /// Not used. Unspecified = 0, - /// An invitation has been sent to the reseller to create a channel partner - /// link. + /// An invitation has been sent to the reseller to create a channel partner + /// link. Invited = 1, - /// Status when the reseller is active. + /// Status when the reseller is active. Active = 2, - /// Status when the reseller has been revoked by the distributor. + /// Status when the reseller has been revoked by the distributor. Revoked = 3, - /// Status when the reseller is suspended by Google or distributor. + /// Status when the reseller is suspended by Google or distributor. Suspended = 4, } impl ChannelPartnerLinkState { @@ -266,147 +266,147 @@ impl ChannelPartnerLinkState { } } } -/// Entity representing a customer of a reseller or distributor. +/// Entity representing a customer of a reseller or distributor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Customer { - /// Output only. Resource name of the customer. - /// Format: accounts/{account_id}/customers/{customer_id} + /// Output only. Resource name of the customer. + /// Format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Name of the organization that the customer entity represents. + /// Required. Name of the organization that the customer entity represents. #[prost(string, tag="2")] pub org_display_name: ::prost::alloc::string::String, - /// Required. The organization address for the customer. To enforce US laws and - /// embargoes, we require a region and zip code. You must provide valid - /// addresses for every customer. To set the customer's language, use the - /// Customer-level language code. + /// Required. The organization address for the customer. To enforce US laws and + /// embargoes, we require a region and zip code. You must provide valid + /// addresses for every customer. To set the customer's language, use the + /// Customer-level language code. #[prost(message, optional, tag="3")] pub org_postal_address: ::core::option::Option, - /// Primary contact info. + /// Primary contact info. #[prost(message, optional, tag="4")] pub primary_contact_info: ::core::option::Option, - /// Secondary contact email. You need to provide an alternate email to create - /// different domains if a primary contact email already exists. Users will - /// receive a notification with credentials when you create an admin.google.com - /// account. Secondary emails are also recovery email addresses. Alternate - /// emails are optional when you create Team customers. + /// Secondary contact email. You need to provide an alternate email to create + /// different domains if a primary contact email already exists. Users will + /// receive a notification with credentials when you create an admin.google.com + /// account. Secondary emails are also recovery email addresses. Alternate + /// emails are optional when you create Team customers. #[prost(string, tag="5")] pub alternate_email: ::prost::alloc::string::String, - /// Required. The customer's primary domain. Must match the primary contact - /// email's domain. + /// Required. The customer's primary domain. Must match the primary contact + /// email's domain. #[prost(string, tag="6")] pub domain: ::prost::alloc::string::String, - /// Output only. Time when the customer was created. + /// Output only. Time when the customer was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time when the customer was updated. + /// Output only. Time when the customer was updated. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The customer's Cloud Identity ID if the customer has a Cloud - /// Identity resource. + /// Output only. The customer's Cloud Identity ID if the customer has a Cloud + /// Identity resource. #[prost(string, tag="9")] pub cloud_identity_id: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more - /// information, see - /// + /// Optional. The BCP-47 language code, such as "en-US" or "sr-Latn". For more + /// information, see + /// #[prost(string, tag="10")] pub language_code: ::prost::alloc::string::String, - /// Output only. Cloud Identity information for the customer. - /// Populated only if a Cloud Identity account exists for this customer. + /// Output only. Cloud Identity information for the customer. + /// Populated only if a Cloud Identity account exists for this customer. #[prost(message, optional, tag="12")] pub cloud_identity_info: ::core::option::Option, - /// Cloud Identity ID of the customer's channel partner. - /// Populated only if a channel partner exists for this customer. + /// Cloud Identity ID of the customer's channel partner. + /// Populated only if a channel partner exists for this customer. #[prost(string, tag="13")] pub channel_partner_id: ::prost::alloc::string::String, } -/// Contact information for a customer account. +/// Contact information for a customer account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContactInfo { - /// The customer account contact's first name. Optional for Team customers. + /// The customer account contact's first name. Optional for Team customers. #[prost(string, tag="1")] pub first_name: ::prost::alloc::string::String, - /// The customer account contact's last name. Optional for Team customers. + /// The customer account contact's last name. Optional for Team customers. #[prost(string, tag="2")] pub last_name: ::prost::alloc::string::String, - /// Output only. The customer account contact's display name, formatted as a - /// combination of the customer's first and last name. + /// Output only. The customer account contact's display name, formatted as a + /// combination of the customer's first and last name. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// The customer account's contact email. Required for entitlements that create - /// admin.google.com accounts, and serves as the customer's username for those - /// accounts. Use this email to invite Team customers. + /// The customer account's contact email. Required for entitlements that create + /// admin.google.com accounts, and serves as the customer's username for those + /// accounts. Use this email to invite Team customers. #[prost(string, tag="5")] pub email: ::prost::alloc::string::String, - /// Optional. The customer account contact's job title. + /// Optional. The customer account contact's job title. #[prost(string, tag="6")] pub title: ::prost::alloc::string::String, - /// The customer account's contact phone number. + /// The customer account's contact phone number. #[prost(string, tag="7")] pub phone: ::prost::alloc::string::String, } -/// A Product is the entity a customer uses when placing an order. For example, -/// Google Workspace, Google Voice, etc. +/// A Product is the entity a customer uses when placing an order. For example, +/// Google Workspace, Google Voice, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Product { - /// Resource Name of the Product. - /// Format: products/{product_id} + /// Resource Name of the Product. + /// Format: products/{product_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Marketing information for the product. + /// Marketing information for the product. #[prost(message, optional, tag="2")] pub marketing_info: ::core::option::Option, } -/// Represents a product's purchasable Stock Keeping Unit (SKU). -/// SKUs represent the different variations of the product. For example, Google -/// Workspace Business Standard and Google Workspace Business Plus are Google -/// Workspace product SKUs. +/// Represents a product's purchasable Stock Keeping Unit (SKU). +/// SKUs represent the different variations of the product. For example, Google +/// Workspace Business Standard and Google Workspace Business Plus are Google +/// Workspace product SKUs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Sku { - /// Resource Name of the SKU. - /// Format: products/{product_id}/skus/{sku_id} + /// Resource Name of the SKU. + /// Format: products/{product_id}/skus/{sku_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Marketing information for the SKU. + /// Marketing information for the SKU. #[prost(message, optional, tag="2")] pub marketing_info: ::core::option::Option, - /// Product the SKU is associated with. + /// Product the SKU is associated with. #[prost(message, optional, tag="3")] pub product: ::core::option::Option, } -/// Represents the marketing information for a Product, SKU or Offer. +/// Represents the marketing information for a Product, SKU or Offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MarketingInfo { - /// Human readable name. + /// Human readable name. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Human readable description. Description can contain HTML. + /// Human readable description. Description can contain HTML. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Default logo. + /// Default logo. #[prost(message, optional, tag="3")] pub default_logo: ::core::option::Option, } -/// Represents media information. +/// Represents media information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Media { - /// Title of the media. + /// Title of the media. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// URL of the media. + /// URL of the media. #[prost(string, tag="2")] pub content: ::prost::alloc::string::String, - /// Type of the media. + /// Type of the media. #[prost(enumeration="MediaType", tag="3")] pub r#type: i32, } -/// Type of media used. +/// Type of media used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MediaType { - /// Not used. + /// Not used. Unspecified = 0, - /// Type of image. + /// Type of image. Image = 1, } impl MediaType { @@ -421,83 +421,83 @@ impl MediaType { } } } -/// Represents an offer made to resellers for purchase. -/// An offer is associated with a \[Sku][google.cloud.channel.v1.Sku\], has a plan for payment, a price, and -/// defines the constraints for buying. +/// Represents an offer made to resellers for purchase. +/// An offer is associated with a \[Sku][google.cloud.channel.v1.Sku\], has a plan for payment, a price, and +/// defines the constraints for buying. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Offer { - /// Resource Name of the Offer. - /// Format: accounts/{account_id}/offers/{offer_id} + /// Resource Name of the Offer. + /// Format: accounts/{account_id}/offers/{offer_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Marketing information for the Offer. + /// Marketing information for the Offer. #[prost(message, optional, tag="2")] pub marketing_info: ::core::option::Option, - /// SKU the offer is associated with. + /// SKU the offer is associated with. #[prost(message, optional, tag="3")] pub sku: ::core::option::Option, - /// Describes the payment plan for the Offer. + /// Describes the payment plan for the Offer. #[prost(message, optional, tag="4")] pub plan: ::core::option::Option, - /// Constraints on transacting the Offer. + /// Constraints on transacting the Offer. #[prost(message, optional, tag="5")] pub constraints: ::core::option::Option, - /// Price for each monetizable resource type. + /// Price for each monetizable resource type. #[prost(message, repeated, tag="6")] pub price_by_resources: ::prost::alloc::vec::Vec, - /// Start of the Offer validity time. + /// Start of the Offer validity time. #[prost(message, optional, tag="7")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. End of the Offer validity time. + /// Output only. End of the Offer validity time. #[prost(message, optional, tag="8")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Parameters required to use current Offer to purchase. + /// Parameters required to use current Offer to purchase. #[prost(message, repeated, tag="9")] pub parameter_definitions: ::prost::alloc::vec::Vec, } -/// Parameter's definition. Specifies what parameter is required to use the -/// current Offer to purchase. +/// Parameter's definition. Specifies what parameter is required to use the +/// current Offer to purchase. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParameterDefinition { - /// Name of the parameter. + /// Name of the parameter. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Data type of the parameter. Minimal value, Maximum value and allowed values - /// will use specified data type here. + /// Data type of the parameter. Minimal value, Maximum value and allowed values + /// will use specified data type here. #[prost(enumeration="parameter_definition::ParameterType", tag="2")] pub parameter_type: i32, - /// Minimal value of the parameter, if applicable. Inclusive. For example, - /// minimal commitment when purchasing Anthos is 0.01. - /// Applicable to INT64 and DOUBLE parameter types. + /// Minimal value of the parameter, if applicable. Inclusive. For example, + /// minimal commitment when purchasing Anthos is 0.01. + /// Applicable to INT64 and DOUBLE parameter types. #[prost(message, optional, tag="3")] pub min_value: ::core::option::Option, - /// Maximum value of the parameter, if applicable. Inclusive. For example, - /// maximum seats when purchasing Google Workspace Business Standard. - /// Applicable to INT64 and DOUBLE parameter types. + /// Maximum value of the parameter, if applicable. Inclusive. For example, + /// maximum seats when purchasing Google Workspace Business Standard. + /// Applicable to INT64 and DOUBLE parameter types. #[prost(message, optional, tag="4")] pub max_value: ::core::option::Option, - /// If not empty, parameter values must be drawn from this list. - /// For example, [us-west1, us-west2, ...] - /// Applicable to STRING parameter type. + /// If not empty, parameter values must be drawn from this list. + /// For example, [us-west1, us-west2, ...] + /// Applicable to STRING parameter type. #[prost(message, repeated, tag="5")] pub allowed_values: ::prost::alloc::vec::Vec, - /// If set to true, parameter is optional to purchase this Offer. + /// If set to true, parameter is optional to purchase this Offer. #[prost(bool, tag="6")] pub optional: bool, } /// Nested message and enum types in `ParameterDefinition`. pub mod parameter_definition { - /// Data type of the parameter. + /// Data type of the parameter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ParameterType { - /// Not used. + /// Not used. Unspecified = 0, - /// Int64 type. + /// Int64 type. Int64 = 1, - /// String type. + /// String type. String = 2, - /// Double type. + /// Double type. Double = 3, } impl ParameterType { @@ -515,144 +515,144 @@ pub mod parameter_definition { } } } -/// Represents the constraints for buying the Offer. +/// Represents the constraints for buying the Offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Constraints { - /// Represents constraints required to purchase the Offer for a customer. + /// Represents constraints required to purchase the Offer for a customer. #[prost(message, optional, tag="1")] pub customer_constraints: ::core::option::Option, } -/// Represents constraints required to purchase the Offer for a customer. +/// Represents constraints required to purchase the Offer for a customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerConstraints { - /// Allowed geographical regions of the customer. + /// Allowed geographical regions of the customer. #[prost(string, repeated, tag="1")] pub allowed_regions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Allowed Customer Type. + /// Allowed Customer Type. #[prost(enumeration="cloud_identity_info::CustomerType", repeated, tag="2")] pub allowed_customer_types: ::prost::alloc::vec::Vec, - /// Allowed Promotional Order Type. Present for Promotional offers. + /// Allowed Promotional Order Type. Present for Promotional offers. #[prost(enumeration="PromotionalOrderType", repeated, tag="3")] pub promotional_order_types: ::prost::alloc::vec::Vec, } -/// The payment plan for the Offer. Describes how to make a payment. +/// The payment plan for the Offer. Describes how to make a payment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Plan { - /// Describes how a reseller will be billed. + /// Describes how a reseller will be billed. #[prost(enumeration="PaymentPlan", tag="1")] pub payment_plan: i32, - /// Specifies when the payment needs to happen. + /// Specifies when the payment needs to happen. #[prost(enumeration="PaymentType", tag="2")] pub payment_type: i32, - /// Describes how frequently the reseller will be billed, such as - /// once per month. + /// Describes how frequently the reseller will be billed, such as + /// once per month. #[prost(message, optional, tag="3")] pub payment_cycle: ::core::option::Option, - /// Present for Offers with a trial period. - /// For trial-only Offers, a paid service needs to start before the trial - /// period ends for continued service. - /// For Regular Offers with a trial period, the regular pricing goes into - /// effect when trial period ends, or if paid service is started before the end - /// of the trial period. + /// Present for Offers with a trial period. + /// For trial-only Offers, a paid service needs to start before the trial + /// period ends for continued service. + /// For Regular Offers with a trial period, the regular pricing goes into + /// effect when trial period ends, or if paid service is started before the end + /// of the trial period. #[prost(message, optional, tag="4")] pub trial_period: ::core::option::Option, - /// Reseller Billing account to charge after an offer transaction. - /// Only present for Google Cloud Platform offers. + /// Reseller Billing account to charge after an offer transaction. + /// Only present for Google Cloud Platform offers. #[prost(string, tag="5")] pub billing_account: ::prost::alloc::string::String, } -/// Represents price by resource type. +/// Represents price by resource type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceByResource { - /// Resource Type. Example: SEAT + /// Resource Type. Example: SEAT #[prost(enumeration="ResourceType", tag="1")] pub resource_type: i32, - /// Price of the Offer. Present if there are no price phases. + /// Price of the Offer. Present if there are no price phases. #[prost(message, optional, tag="2")] pub price: ::core::option::Option, - /// Specifies the price by time range. + /// Specifies the price by time range. #[prost(message, repeated, tag="3")] pub price_phases: ::prost::alloc::vec::Vec, } -/// Represents the price of the Offer. +/// Represents the price of the Offer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Price { - /// Base price. + /// Base price. #[prost(message, optional, tag="1")] pub base_price: ::core::option::Option, - /// Discount percentage, represented as decimal. - /// For example, a 20% discount will be represent as 0.2. + /// Discount percentage, represented as decimal. + /// For example, a 20% discount will be represent as 0.2. #[prost(double, tag="2")] pub discount: f64, - /// Effective Price after applying the discounts. + /// Effective Price after applying the discounts. #[prost(message, optional, tag="3")] pub effective_price: ::core::option::Option, - /// Link to external price list, such as link to Google Voice rate card. + /// Link to external price list, such as link to Google Voice rate card. #[prost(string, tag="4")] pub external_price_uri: ::prost::alloc::string::String, } -/// Specifies the price by the duration of months. -/// For example, a 20% discount for the first six months, then a 10% discount -/// starting on the seventh month. +/// Specifies the price by the duration of months. +/// For example, a 20% discount for the first six months, then a 10% discount +/// starting on the seventh month. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PricePhase { - /// Defines the phase period type. + /// Defines the phase period type. #[prost(enumeration="PeriodType", tag="1")] pub period_type: i32, - /// Defines first period for the phase. + /// Defines first period for the phase. #[prost(int32, tag="2")] pub first_period: i32, - /// Defines first period for the phase. + /// Defines first period for the phase. #[prost(int32, tag="3")] pub last_period: i32, - /// Price of the phase. Present if there are no price tiers. + /// Price of the phase. Present if there are no price tiers. #[prost(message, optional, tag="4")] pub price: ::core::option::Option, - /// Price by the resource tiers. + /// Price by the resource tiers. #[prost(message, repeated, tag="5")] pub price_tiers: ::prost::alloc::vec::Vec, } -/// Defines price at resource tier level. -/// For example, an offer with following definition : +/// Defines price at resource tier level. +/// For example, an offer with following definition : /// -/// * Tier 1: Provide 25% discount for all seats between 1 and 25. -/// * Tier 2: Provide 10% discount for all seats between 26 and 100. -/// * Tier 3: Provide flat 15% discount for all seats above 100. +/// * Tier 1: Provide 25% discount for all seats between 1 and 25. +/// * Tier 2: Provide 10% discount for all seats between 26 and 100. +/// * Tier 3: Provide flat 15% discount for all seats above 100. /// -/// Each of these tiers is represented as a PriceTier. +/// Each of these tiers is represented as a PriceTier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PriceTier { - /// First resource for which the tier price applies. + /// First resource for which the tier price applies. #[prost(int32, tag="1")] pub first_resource: i32, - /// Last resource for which the tier price applies. + /// Last resource for which the tier price applies. #[prost(int32, tag="2")] pub last_resource: i32, - /// Price of the tier. + /// Price of the tier. #[prost(message, optional, tag="3")] pub price: ::core::option::Option, } -/// Represents period in days/months/years. +/// Represents period in days/months/years. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Period { - /// Total duration of Period Type defined. + /// Total duration of Period Type defined. #[prost(int32, tag="1")] pub duration: i32, - /// Period Type. + /// Period Type. #[prost(enumeration="PeriodType", tag="2")] pub period_type: i32, } -/// Constraints type for Promotional offers. +/// Constraints type for Promotional offers. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PromotionalOrderType { - /// Not used. + /// Not used. PromotionalTypeUnspecified = 0, - /// Order used for new customers, trial conversions and upgrades. + /// Order used for new customers, trial conversions and upgrades. NewUpgrade = 1, - /// All orders for transferring an existing customer. + /// All orders for transferring an existing customer. Transfer = 2, - /// Orders for modifying an existing customer's promotion on the same SKU. + /// Orders for modifying an existing customer's promotion on the same SKU. PromotionSwitch = 3, } impl PromotionalOrderType { @@ -669,21 +669,21 @@ impl PromotionalOrderType { } } } -/// Describes how the reseller will be billed. +/// Describes how the reseller will be billed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentPlan { - /// Not used. + /// Not used. Unspecified = 0, - /// Commitment. + /// Commitment. Commitment = 1, - /// No commitment. + /// No commitment. Flexible = 2, - /// Free. + /// Free. Free = 3, - /// Trial. + /// Trial. Trial = 4, - /// Price and ordering not available through API. + /// Price and ordering not available through API. Offline = 5, } impl PaymentPlan { @@ -702,15 +702,15 @@ impl PaymentPlan { } } } -/// Specifies when the payment needs to happen. +/// Specifies when the payment needs to happen. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PaymentType { - /// Not used. + /// Not used. Unspecified = 0, - /// Prepay. Amount has to be paid before service is rendered. + /// Prepay. Amount has to be paid before service is rendered. Prepay = 1, - /// Postpay. Reseller is charged at the end of the Payment cycle. + /// Postpay. Reseller is charged at the end of the Payment cycle. Postpay = 2, } impl PaymentType { @@ -726,31 +726,31 @@ impl PaymentType { } } } -/// Represents the type for a monetizable resource(any entity on which billing -/// happens). For example, this could be MINUTES for Google Voice and GB for -/// Google Drive. One SKU can map to multiple monetizable resources. +/// Represents the type for a monetizable resource(any entity on which billing +/// happens). For example, this could be MINUTES for Google Voice and GB for +/// Google Drive. One SKU can map to multiple monetizable resources. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceType { - /// Not used. + /// Not used. Unspecified = 0, - /// Seat. + /// Seat. Seat = 1, - /// Monthly active user. + /// Monthly active user. Mau = 2, - /// GB (used for storage SKUs). + /// GB (used for storage SKUs). Gb = 3, - /// Active licensed users(for Voice SKUs). + /// Active licensed users(for Voice SKUs). LicensedUser = 4, - /// Voice usage. + /// Voice usage. Minutes = 5, - /// For IaaS SKUs like Google Cloud Platform, monetization is based on usage - /// accrued on your billing account irrespective of the type of monetizable - /// resource. This enum represents an aggregated resource/container for all - /// usage SKUs on a billing account. Currently, only applicable to Google Cloud - /// Platform. + /// For IaaS SKUs like Google Cloud Platform, monetization is based on usage + /// accrued on your billing account irrespective of the type of monetizable + /// resource. This enum represents an aggregated resource/container for all + /// usage SKUs on a billing account. Currently, only applicable to Google Cloud + /// Platform. IaasUsage = 6, - /// For Google Cloud Platform subscriptions like Anthos or SAP. + /// For Google Cloud Platform subscriptions like Anthos or SAP. Subscription = 7, } impl ResourceType { @@ -771,17 +771,17 @@ impl ResourceType { } } } -/// Period Type. +/// Period Type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PeriodType { - /// Not used. + /// Not used. Unspecified = 0, - /// Day. + /// Day. Day = 1, - /// Month. + /// Month. Month = 2, - /// Year. + /// Year. Year = 3, } impl PeriodType { @@ -798,74 +798,74 @@ impl PeriodType { } } } -/// An entitlement is a representation of a customer's ability to use a service. +/// An entitlement is a representation of a customer's ability to use a service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entitlement { - /// Output only. Resource name of an entitlement in the form: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}. + /// Output only. Resource name of an entitlement in the form: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The time at which the entitlement is created. + /// Output only. The time at which the entitlement is created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time at which the entitlement is updated. + /// Output only. The time at which the entitlement is updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The offer resource name for which the entitlement is to be - /// created. Takes the form: accounts/{account_id}/offers/{offer_id}. + /// Required. The offer resource name for which the entitlement is to be + /// created. Takes the form: accounts/{account_id}/offers/{offer_id}. #[prost(string, tag="8")] pub offer: ::prost::alloc::string::String, - /// Commitment settings for a commitment-based Offer. - /// Required for commitment based offers. + /// Commitment settings for a commitment-based Offer. + /// Required for commitment based offers. #[prost(message, optional, tag="12")] pub commitment_settings: ::core::option::Option, - /// Output only. Current provisioning state of the entitlement. + /// Output only. Current provisioning state of the entitlement. #[prost(enumeration="entitlement::ProvisioningState", tag="13")] pub provisioning_state: i32, - /// Output only. Service provisioning details for the entitlement. + /// Output only. Service provisioning details for the entitlement. #[prost(message, optional, tag="16")] pub provisioned_service: ::core::option::Option, - /// Output only. Enumerable of all current suspension reasons for an entitlement. + /// Output only. Enumerable of all current suspension reasons for an entitlement. #[prost(enumeration="entitlement::SuspensionReason", repeated, packed="false", tag="18")] pub suspension_reasons: ::prost::alloc::vec::Vec, - /// Optional. This purchase order (PO) information is for resellers to use for their - /// company tracking usage. If a purchaseOrderId value is given, it appears in - /// the API responses and shows up in the invoice. The property accepts up to - /// 80 plain text characters. This is only supported for Google Workspace - /// entitlements. + /// Optional. This purchase order (PO) information is for resellers to use for their + /// company tracking usage. If a purchaseOrderId value is given, it appears in + /// the API responses and shows up in the invoice. The property accepts up to + /// 80 plain text characters. This is only supported for Google Workspace + /// entitlements. #[prost(string, tag="19")] pub purchase_order_id: ::prost::alloc::string::String, - /// Output only. Settings for trial offers. + /// Output only. Settings for trial offers. #[prost(message, optional, tag="21")] pub trial_settings: ::core::option::Option, - /// Association information to other entitlements. + /// Association information to other entitlements. #[prost(message, optional, tag="23")] pub association_info: ::core::option::Option, - /// Extended entitlement parameters. When creating an entitlement, valid - /// parameter names and values are defined in the - /// \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\]. + /// Extended entitlement parameters. When creating an entitlement, valid + /// parameter names and values are defined in the + /// \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\]. /// - /// The response may include the following output-only Parameters: + /// The response may include the following output-only Parameters: /// - /// - assigned_units: The number of licenses assigned to users. + /// - assigned_units: The number of licenses assigned to users. /// - /// - max_units: The maximum assignable units for a flexible offer. + /// - max_units: The maximum assignable units for a flexible offer. /// - /// - num_units: The total commitment for commitment-based offers. + /// - num_units: The total commitment for commitment-based offers. #[prost(message, repeated, tag="26")] pub parameters: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Entitlement`. pub mod entitlement { - /// Indicates the current provisioning state of the entitlement. + /// Indicates the current provisioning state of the entitlement. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProvisioningState { - /// Not used. + /// Not used. Unspecified = 0, - /// The entitlement is currently active. + /// The entitlement is currently active. Active = 1, - /// The entitlement is currently suspended. + /// The entitlement is currently suspended. Suspended = 5, } impl ProvisioningState { @@ -881,22 +881,22 @@ pub mod entitlement { } } } - /// Suspension reason for an entitlement if \[provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state\] = SUSPENDED. + /// Suspension reason for an entitlement if \[provisioning_state][google.cloud.channel.v1.Entitlement.provisioning_state\] = SUSPENDED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SuspensionReason { - /// Not used. + /// Not used. Unspecified = 0, - /// Entitlement was manually suspended by the Reseller. + /// Entitlement was manually suspended by the Reseller. ResellerInitiated = 1, - /// Trial ended. + /// Trial ended. TrialEnded = 2, - /// Entitlement renewal was canceled. + /// Entitlement renewal was canceled. RenewalWithTypeCancel = 3, - /// Entitlement was automatically suspended on creation for pending ToS - /// acceptance on customer. + /// Entitlement was automatically suspended on creation for pending ToS + /// acceptance on customer. PendingTosAcceptance = 4, - /// Other reasons (internal reasons, abuse, etc.). + /// Other reasons (internal reasons, abuse, etc.). Other = 100, } impl SuspensionReason { @@ -916,131 +916,131 @@ pub mod entitlement { } } } -/// Definition for extended entitlement parameters. +/// Definition for extended entitlement parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Name of the parameter. + /// Name of the parameter. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Value of the parameter. + /// Value of the parameter. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, - /// Output only. Specifies whether this parameter is allowed to be changed. For example, for - /// a Google Workspace Business Starter entitlement in commitment plan, - /// num_units is editable when entitlement is active. + /// Output only. Specifies whether this parameter is allowed to be changed. For example, for + /// a Google Workspace Business Starter entitlement in commitment plan, + /// num_units is editable when entitlement is active. #[prost(bool, tag="3")] pub editable: bool, } -/// Association links that an entitlement has to other entitlements. +/// Association links that an entitlement has to other entitlements. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssociationInfo { - /// The name of the base entitlement, for which this entitlement is an add-on. + /// The name of the base entitlement, for which this entitlement is an add-on. #[prost(string, tag="1")] pub base_entitlement: ::prost::alloc::string::String, } -/// Service provisioned for an entitlement. +/// Service provisioned for an entitlement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionedService { - /// Output only. Provisioning ID of the entitlement. For Google Workspace, this is the - /// underlying Subscription ID. For Google Cloud Platform, this is the - /// Billing Account ID of the billing subaccount." + /// Output only. Provisioning ID of the entitlement. For Google Workspace, this is the + /// underlying Subscription ID. For Google Cloud Platform, this is the + /// Billing Account ID of the billing subaccount." #[prost(string, tag="1")] pub provisioning_id: ::prost::alloc::string::String, - /// Output only. The product pertaining to the provisioning resource as specified in the - /// Offer. + /// Output only. The product pertaining to the provisioning resource as specified in the + /// Offer. #[prost(string, tag="2")] pub product_id: ::prost::alloc::string::String, - /// Output only. The SKU pertaining to the provisioning resource as specified in the Offer. + /// Output only. The SKU pertaining to the provisioning resource as specified in the Offer. #[prost(string, tag="3")] pub sku_id: ::prost::alloc::string::String, } -/// Commitment settings for commitment-based offers. +/// Commitment settings for commitment-based offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitmentSettings { - /// Output only. Commitment start timestamp. + /// Output only. Commitment start timestamp. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Commitment end timestamp. + /// Output only. Commitment end timestamp. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Renewal settings applicable for a commitment-based Offer. + /// Optional. Renewal settings applicable for a commitment-based Offer. #[prost(message, optional, tag="4")] pub renewal_settings: ::core::option::Option, } -/// Renewal settings for renewable Offers. +/// Renewal settings for renewable Offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RenewalSettings { - /// If false, the plan will be completed at the end date. + /// If false, the plan will be completed at the end date. #[prost(bool, tag="1")] pub enable_renewal: bool, - /// If true and enable_renewal = true, the unit (for example seats or licenses) - /// will be set to the number of active units at renewal time. + /// If true and enable_renewal = true, the unit (for example seats or licenses) + /// will be set to the number of active units at renewal time. #[prost(bool, tag="2")] pub resize_unit_count: bool, - /// Describes how a reseller will be billed. + /// Describes how a reseller will be billed. #[prost(enumeration="PaymentPlan", tag="5")] pub payment_plan: i32, - /// Describes how frequently the reseller will be billed, such as - /// once per month. + /// Describes how frequently the reseller will be billed, such as + /// once per month. #[prost(message, optional, tag="6")] pub payment_cycle: ::core::option::Option, } -/// Settings for trial offers. +/// Settings for trial offers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrialSettings { - /// Determines if the entitlement is in a trial or not: + /// Determines if the entitlement is in a trial or not: /// - /// * `true` - The entitlement is in trial. - /// * `false` - The entitlement is not in trial. + /// * `true` - The entitlement is in trial. + /// * `false` - The entitlement is not in trial. #[prost(bool, tag="1")] pub trial: bool, - /// Date when the trial ends. The value is in milliseconds - /// using the UNIX Epoch format. See an example [Epoch - /// converter](). + /// Date when the trial ends. The value is in milliseconds + /// using the UNIX Epoch format. See an example [Epoch + /// converter](). #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } -/// TransferableSku represents information a reseller needs to view existing -/// provisioned services for a customer that they do not own. -/// Read-only. +/// TransferableSku represents information a reseller needs to view existing +/// provisioned services for a customer that they do not own. +/// Read-only. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferableSku { - /// Describes the transfer eligibility of a SKU. + /// Describes the transfer eligibility of a SKU. #[prost(message, optional, tag="9")] pub transfer_eligibility: ::core::option::Option, - /// The SKU pertaining to the provisioning resource as specified in the Offer. + /// The SKU pertaining to the provisioning resource as specified in the Offer. #[prost(message, optional, tag="11")] pub sku: ::core::option::Option, - /// Optional. The customer to transfer has an entitlement with the populated legacy SKU. + /// Optional. The customer to transfer has an entitlement with the populated legacy SKU. #[prost(message, optional, tag="12")] pub legacy_sku: ::core::option::Option, } -/// Specifies transfer eligibility of a SKU. +/// Specifies transfer eligibility of a SKU. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferEligibility { - /// Whether reseller is eligible to transfer the SKU. + /// Whether reseller is eligible to transfer the SKU. #[prost(bool, tag="1")] pub is_eligible: bool, - /// Localized description if reseller is not eligible to transfer the SKU. + /// Localized description if reseller is not eligible to transfer the SKU. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Specified the reason for ineligibility. + /// Specified the reason for ineligibility. #[prost(enumeration="transfer_eligibility::Reason", tag="3")] pub ineligibility_reason: i32, } /// Nested message and enum types in `TransferEligibility`. pub mod transfer_eligibility { - /// Reason of ineligibility. + /// Reason of ineligibility. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Reason { - /// Not used. + /// Not used. Unspecified = 0, - /// Reseller needs to accept TOS before transferring the SKU. + /// Reseller needs to accept TOS before transferring the SKU. PendingTosAcceptance = 1, - /// Reseller not eligible to sell the SKU. + /// Reseller not eligible to sell the SKU. SkuNotEligible = 2, - /// SKU subscription is suspended + /// SKU subscription is suspended SkuSuspended = 3, } impl Reason { @@ -1058,42 +1058,42 @@ pub mod transfer_eligibility { } } } -/// Provides contextual information about a \[google.longrunning.Operation][google.longrunning.Operation\]. +/// Provides contextual information about a \[google.longrunning.Operation][google.longrunning.Operation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The RPC that initiated this Long Running Operation. + /// The RPC that initiated this Long Running Operation. #[prost(enumeration="operation_metadata::OperationType", tag="1")] pub operation_type: i32, } /// Nested message and enum types in `OperationMetadata`. pub mod operation_metadata { - /// RPCs that return a Long Running Operation. + /// RPCs that return a Long Running Operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationType { - /// Not used. + /// Not used. Unspecified = 0, - /// Long Running Operation was triggered by CreateEntitlement. + /// Long Running Operation was triggered by CreateEntitlement. CreateEntitlement = 1, - /// Long Running Operation was triggered by ChangeRenewalSettings. + /// Long Running Operation was triggered by ChangeRenewalSettings. ChangeRenewalSettings = 3, - /// Long Running Operation was triggered by StartPaidService. + /// Long Running Operation was triggered by StartPaidService. StartPaidService = 5, - /// Long Running Operation was triggered by ActivateEntitlement. + /// Long Running Operation was triggered by ActivateEntitlement. ActivateEntitlement = 7, - /// Long Running Operation was triggered by SuspendEntitlement. + /// Long Running Operation was triggered by SuspendEntitlement. SuspendEntitlement = 8, - /// Long Running Operation was triggered by CancelEntitlement. + /// Long Running Operation was triggered by CancelEntitlement. CancelEntitlement = 9, - /// Long Running Operation was triggered by TransferEntitlements. + /// Long Running Operation was triggered by TransferEntitlements. TransferEntitlements = 10, - /// Long Running Operation was triggered by TransferEntitlementsToGoogle. + /// Long Running Operation was triggered by TransferEntitlementsToGoogle. TransferEntitlementsToGoogle = 11, - /// Long Running Operation was triggered by ChangeOffer. + /// Long Running Operation was triggered by ChangeOffer. ChangeOffer = 14, - /// Long Running Operation was triggered by ChangeParameters. + /// Long Running Operation was triggered by ChangeParameters. ChangeParameters = 15, - /// Long Running Operation was triggered by ProvisionCloudIdentity. + /// Long Running Operation was triggered by ProvisionCloudIdentity. ProvisionCloudIdentity = 16, } impl OperationType { @@ -1119,131 +1119,131 @@ pub mod operation_metadata { } } } -/// Configuration for how a reseller will reprice a Customer. +/// Configuration for how a reseller will reprice a Customer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerRepricingConfig { - /// Output only. Resource name of the CustomerRepricingConfig. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. + /// Output only. Resource name of the CustomerRepricingConfig. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The configuration for bill modifications made by a reseller before - /// sending it to customers. + /// Required. The configuration for bill modifications made by a reseller before + /// sending it to customers. #[prost(message, optional, tag="2")] pub repricing_config: ::core::option::Option, - /// Output only. Timestamp of an update to the repricing rule. If `update_time` is after - /// \[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month\] then it indicates this was set - /// mid-month. + /// Output only. Timestamp of an update to the repricing rule. If `update_time` is after + /// \[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month\] then it indicates this was set + /// mid-month. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Configuration for how a distributor will rebill a channel partner -/// (also known as a distributor-authorized reseller). +/// Configuration for how a distributor will rebill a channel partner +/// (also known as a distributor-authorized reseller). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChannelPartnerRepricingConfig { - /// Output only. Resource name of the ChannelPartnerRepricingConfig. - /// Format: - /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. + /// Output only. Resource name of the ChannelPartnerRepricingConfig. + /// Format: + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The configuration for bill modifications made by a reseller before - /// sending it to ChannelPartner. + /// Required. The configuration for bill modifications made by a reseller before + /// sending it to ChannelPartner. #[prost(message, optional, tag="2")] pub repricing_config: ::core::option::Option, - /// Output only. Timestamp of an update to the repricing rule. If `update_time` is after - /// \[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month\] then it indicates this was set - /// mid-month. + /// Output only. Timestamp of an update to the repricing rule. If `update_time` is after + /// \[RepricingConfig.effective_invoice_month][google.cloud.channel.v1.RepricingConfig.effective_invoice_month\] then it indicates this was set + /// mid-month. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Configuration for repricing a Google bill over a period of time. +/// Configuration for repricing a Google bill over a period of time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RepricingConfig { - /// Required. The YearMonth when these adjustments activate. The Day field needs to be - /// "0" since we only accept YearMonth repricing boundaries. + /// Required. The YearMonth when these adjustments activate. The Day field needs to be + /// "0" since we only accept YearMonth repricing boundaries. #[prost(message, optional, tag="1")] pub effective_invoice_month: ::core::option::Option, - /// Required. Information about the adjustment. + /// Required. Information about the adjustment. #[prost(message, optional, tag="2")] pub adjustment: ::core::option::Option, - /// Required. The \[RebillingBasis][google.cloud.channel.v1.RebillingBasis\] to use for this bill. Specifies the relative cost - /// based on repricing costs you will apply. + /// Required. The \[RebillingBasis][google.cloud.channel.v1.RebillingBasis\] to use for this bill. Specifies the relative cost + /// based on repricing costs you will apply. #[prost(enumeration="RebillingBasis", tag="3")] pub rebilling_basis: i32, - /// Required. Defines the granularity for repricing. + /// Required. Defines the granularity for repricing. #[prost(oneof="repricing_config::Granularity", tags="4, 5")] pub granularity: ::core::option::Option, } /// Nested message and enum types in `RepricingConfig`. pub mod repricing_config { - /// Applies the repricing configuration at the entitlement level. + /// Applies the repricing configuration at the entitlement level. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntitlementGranularity { - /// Resource name of the entitlement. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Resource name of the entitlement. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub entitlement: ::prost::alloc::string::String, } - /// Applies the repricing configuration at the channel partner level. - /// The channel partner value is derived from the resource name. Takes an - /// empty json object. + /// Applies the repricing configuration at the channel partner level. + /// The channel partner value is derived from the resource name. Takes an + /// empty json object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChannelPartnerGranularity { } - /// Required. Defines the granularity for repricing. + /// Required. Defines the granularity for repricing. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Granularity { - /// Applies the repricing configuration at the entitlement level. This is - /// the only supported value for CustomerRepricingConfig. + /// Applies the repricing configuration at the entitlement level. This is + /// the only supported value for CustomerRepricingConfig. #[prost(message, tag="4")] EntitlementGranularity(EntitlementGranularity), - /// Applies the repricing configuration at the channel partner level. - /// This is the only supported value for ChannelPartnerRepricingConfig. + /// Applies the repricing configuration at the channel partner level. + /// This is the only supported value for ChannelPartnerRepricingConfig. #[prost(message, tag="5")] ChannelPartnerGranularity(ChannelPartnerGranularity), } } -/// A type that represents the various adjustments you can apply to a bill. +/// A type that represents the various adjustments you can apply to a bill. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RepricingAdjustment { - /// A oneof that represents the different types for this adjustment. + /// A oneof that represents the different types for this adjustment. #[prost(oneof="repricing_adjustment::Adjustment", tags="2")] pub adjustment: ::core::option::Option, } /// Nested message and enum types in `RepricingAdjustment`. pub mod repricing_adjustment { - /// A oneof that represents the different types for this adjustment. + /// A oneof that represents the different types for this adjustment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Adjustment { - /// Flat markup or markdown on an entire bill. + /// Flat markup or markdown on an entire bill. #[prost(message, tag="2")] PercentageAdjustment(super::PercentageAdjustment), } } -/// An adjustment that applies a flat markup or markdown to an entire bill. +/// An adjustment that applies a flat markup or markdown to an entire bill. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PercentageAdjustment { - /// The percentage of the bill to adjust. - /// For example: - /// Mark down by 1% => "-1.00" - /// Mark up by 1% => "1.00" - /// Pass-Through => "0.00" + /// The percentage of the bill to adjust. + /// For example: + /// Mark down by 1% => "-1.00" + /// Mark up by 1% => "1.00" + /// Pass-Through => "0.00" #[prost(message, optional, tag="2")] pub percentage: ::core::option::Option, } -/// Specifies the different costs that the modified bill can be based on. +/// Specifies the different costs that the modified bill can be based on. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RebillingBasis { - /// Not used. + /// Not used. Unspecified = 0, - /// Use the list cost, also known as the MSRP. + /// Use the list cost, also known as the MSRP. CostAtList = 1, - /// Pass through all discounts except the Reseller Program Discount. If this is - /// the default cost base and no adjustments are specified, the output cost - /// will be exactly what the customer would see if they viewed the bill in the - /// Google Cloud Console. + /// Pass through all discounts except the Reseller Program Discount. If this is + /// the default cost base and no adjustments are specified, the output cost + /// will be exactly what the customer would see if they viewed the bill in the + /// Google Cloud Console. DirectCustomerCost = 2, } impl RebillingBasis { @@ -1259,1044 +1259,1044 @@ impl RebillingBasis { } } } -/// Request message for \[CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist\]. +/// Request message for \[CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckCloudIdentityAccountsExistRequest { - /// Required. The reseller account's resource name. - /// Parent uses the format: accounts/{account_id} + /// Required. The reseller account's resource name. + /// Parent uses the format: accounts/{account_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Domain to fetch for Cloud Identity account customer. + /// Required. Domain to fetch for Cloud Identity account customer. #[prost(string, tag="2")] pub domain: ::prost::alloc::string::String, } -/// Entity representing a Cloud Identity account that may be -/// associated with a Channel Services API partner. +/// Entity representing a Cloud Identity account that may be +/// associated with a Channel Services API partner. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudIdentityCustomerAccount { - /// Returns true if a Cloud Identity account exists for a specific domain. + /// Returns true if a Cloud Identity account exists for a specific domain. #[prost(bool, tag="1")] pub existing: bool, - /// Returns true if the Cloud Identity account is associated with a customer - /// of the Channel Services partner. + /// Returns true if the Cloud Identity account is associated with a customer + /// of the Channel Services partner. #[prost(bool, tag="2")] pub owned: bool, - /// If owned = true, the name of the customer that owns the Cloud Identity - /// account. - /// Customer_name uses the format: - /// accounts/{account_id}/customers/{customer_id} + /// If owned = true, the name of the customer that owns the Cloud Identity + /// account. + /// Customer_name uses the format: + /// accounts/{account_id}/customers/{customer_id} #[prost(string, tag="3")] pub customer_name: ::prost::alloc::string::String, - /// If existing = true, the Cloud Identity ID of the customer. + /// If existing = true, the Cloud Identity ID of the customer. #[prost(string, tag="4")] pub customer_cloud_identity_id: ::prost::alloc::string::String, } -/// Response message for -/// \[CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist\]. +/// Response message for +/// \[CloudChannelService.CheckCloudIdentityAccountsExist][google.cloud.channel.v1.CloudChannelService.CheckCloudIdentityAccountsExist\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CheckCloudIdentityAccountsExistResponse { - /// The Cloud Identity accounts associated with the domain. + /// The Cloud Identity accounts associated with the domain. #[prost(message, repeated, tag="1")] pub cloud_identity_accounts: ::prost::alloc::vec::Vec, } -/// Request message for \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\] +/// Request message for \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomersRequest { - /// Required. The resource name of the reseller account to list customers from. - /// Parent uses the format: accounts/{account_id}. + /// Required. The resource name of the reseller account to list customers from. + /// Parent uses the format: accounts/{account_id}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of customers to return. The service may return fewer - /// than this value. If unspecified, returns at most 10 customers. The - /// maximum value is 50. + /// Optional. The maximum number of customers to return. The service may return fewer + /// than this value. If unspecified, returns at most 10 customers. The + /// maximum value is 50. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results other than the first page. - /// Obtained through - /// \[ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\] call. + /// Optional. A token identifying a page of results other than the first page. + /// Obtained through + /// \[ListCustomersResponse.next_page_token][google.cloud.channel.v1.ListCustomersResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filters applied to the \[CloudChannelService.ListCustomers\] results. See - /// - /// for more information. + /// Optional. Filters applied to the \[CloudChannelService.ListCustomers\] results. See + /// + /// for more information. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\]. +/// Response message for \[CloudChannelService.ListCustomers][google.cloud.channel.v1.CloudChannelService.ListCustomers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomersResponse { - /// The customers belonging to a reseller or distributor. + /// The customers belonging to a reseller or distributor. #[prost(message, repeated, tag="1")] pub customers: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListCustomersRequest.page_token][google.cloud.channel.v1.ListCustomersRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer\]. +/// Request message for \[CloudChannelService.GetCustomer][google.cloud.channel.v1.CloudChannelService.GetCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerRequest { - /// Required. The resource name of the customer to retrieve. - /// Name uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the customer to retrieve. + /// Name uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer\] +/// Request message for \[CloudChannelService.CreateCustomer][google.cloud.channel.v1.CloudChannelService.CreateCustomer\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerRequest { - /// Required. The resource name of reseller account in which to create the customer. - /// Parent uses the format: accounts/{account_id} + /// Required. The resource name of reseller account in which to create the customer. + /// Parent uses the format: accounts/{account_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The customer to create. + /// Required. The customer to create. #[prost(message, optional, tag="2")] pub customer: ::core::option::Option, } -/// Request message for \[CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer\]. +/// Request message for \[CloudChannelService.UpdateCustomer][google.cloud.channel.v1.CloudChannelService.UpdateCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomerRequest { - /// Required. New contents of the customer. + /// Required. New contents of the customer. #[prost(message, optional, tag="2")] pub customer: ::core::option::Option, - /// The update mask that applies to the resource. - /// Optional. + /// The update mask that applies to the resource. + /// Optional. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer\]. +/// Request message for \[CloudChannelService.DeleteCustomer][google.cloud.channel.v1.CloudChannelService.DeleteCustomer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCustomerRequest { - /// Required. The resource name of the customer to delete. + /// Required. The resource name of the customer to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer\] +/// Request message for \[CloudChannelService.ImportCustomer][google.cloud.channel.v1.CloudChannelService.ImportCustomer\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportCustomerRequest { - /// Required. The resource name of the reseller's account. - /// Parent takes the format: accounts/{account_id} or - /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} + /// Required. The resource name of the reseller's account. + /// Parent takes the format: accounts/{account_id} or + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The super admin of the resold customer generates this token to - /// authorize a reseller to access their Cloud Identity and purchase - /// entitlements on their behalf. You can omit this token after authorization. - /// See for more details. + /// Optional. The super admin of the resold customer generates this token to + /// authorize a reseller to access their Cloud Identity and purchase + /// entitlements on their behalf. You can omit this token after authorization. + /// See for more details. #[prost(string, tag="4")] pub auth_token: ::prost::alloc::string::String, - /// Required. Choose to overwrite an existing customer if found. - /// This must be set to true if there is an existing customer with a - /// conflicting region code or domain. + /// Required. Choose to overwrite an existing customer if found. + /// This must be set to true if there is an existing customer with a + /// conflicting region code or domain. #[prost(bool, tag="5")] pub overwrite_if_exists: bool, - /// Optional. Cloud Identity ID of a channel partner who will be the direct reseller for - /// the customer's order. This field is required for 2-tier transfer scenarios - /// and can be provided via the request Parent binding as well. + /// Optional. Cloud Identity ID of a channel partner who will be the direct reseller for + /// the customer's order. This field is required for 2-tier transfer scenarios + /// and can be provided via the request Parent binding as well. #[prost(string, tag="6")] pub channel_partner_id: ::prost::alloc::string::String, - /// Optional. Specifies the customer that will receive imported Cloud Identity - /// information. - /// Format: accounts/{account_id}/customers/{customer_id} + /// Optional. Specifies the customer that will receive imported Cloud Identity + /// information. + /// Format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="7")] pub customer: ::prost::alloc::string::String, - /// Specifies the identity of the transfer customer. - /// A customer's cloud_identity_id or domain is required to look up the - /// customer's Cloud Identity. For Team customers, only the cloud_identity_id - /// option is valid. + /// Specifies the identity of the transfer customer. + /// A customer's cloud_identity_id or domain is required to look up the + /// customer's Cloud Identity. For Team customers, only the cloud_identity_id + /// option is valid. #[prost(oneof="import_customer_request::CustomerIdentity", tags="2, 3")] pub customer_identity: ::core::option::Option, } /// Nested message and enum types in `ImportCustomerRequest`. pub mod import_customer_request { - /// Specifies the identity of the transfer customer. - /// A customer's cloud_identity_id or domain is required to look up the - /// customer's Cloud Identity. For Team customers, only the cloud_identity_id - /// option is valid. + /// Specifies the identity of the transfer customer. + /// A customer's cloud_identity_id or domain is required to look up the + /// customer's Cloud Identity. For Team customers, only the cloud_identity_id + /// option is valid. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CustomerIdentity { - /// Required. Customer domain. + /// Required. Customer domain. #[prost(string, tag="2")] Domain(::prost::alloc::string::String), - /// Required. Customer's Cloud Identity ID + /// Required. Customer's Cloud Identity ID #[prost(string, tag="3")] CloudIdentityId(::prost::alloc::string::String), } } -/// Request message for \[CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity\] +/// Request message for \[CloudChannelService.ProvisionCloudIdentity][google.cloud.channel.v1.CloudChannelService.ProvisionCloudIdentity\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProvisionCloudIdentityRequest { - /// Required. Resource name of the customer. - /// Format: accounts/{account_id}/customers/{customer_id} + /// Required. Resource name of the customer. + /// Format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub customer: ::prost::alloc::string::String, - /// CloudIdentity-specific customer information. + /// CloudIdentity-specific customer information. #[prost(message, optional, tag="2")] pub cloud_identity_info: ::core::option::Option, - /// Admin user information. + /// Admin user information. #[prost(message, optional, tag="3")] pub user: ::core::option::Option, - /// Validate the request and preview the review, but do not post it. + /// Validate the request and preview the review, but do not post it. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Request message for \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\] +/// Request message for \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntitlementsRequest { - /// Required. The resource name of the reseller's customer account to list - /// entitlements for. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the reseller's customer account to list + /// entitlements for. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, return at most 50 entitlements. - /// The maximum value is 100; the server will coerce values above 100. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, return at most 50 entitlements. + /// The maximum value is 100; the server will coerce values above 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. - /// Obtained using - /// \[ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\] call. + /// Optional. A token for a page of results other than the first page. + /// Obtained using + /// \[ListEntitlementsResponse.next_page_token][google.cloud.channel.v1.ListEntitlementsResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\]. +/// Response message for \[CloudChannelService.ListEntitlements][google.cloud.channel.v1.CloudChannelService.ListEntitlements\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntitlementsResponse { - /// The reseller customer's entitlements. + /// The reseller customer's entitlements. #[prost(message, repeated, tag="1")] pub entitlements: ::prost::alloc::vec::Vec, - /// A token to list the next page of results. - /// Pass to \[ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token\] to obtain that page. + /// A token to list the next page of results. + /// Pass to \[ListEntitlementsRequest.page_token][google.cloud.channel.v1.ListEntitlementsRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\] +/// Request message for \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferableSkusRequest { - /// Required. The reseller account's resource name. - /// Parent uses the format: accounts/{account_id} + /// Required. The reseller account's resource name. + /// Parent uses the format: accounts/{account_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 SKUs. - /// The maximum value is 1000; the server will coerce values above 1000. - /// Optional. + /// The requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 SKUs. + /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. #[prost(int32, tag="2")] pub page_size: i32, - /// A token for a page of results other than the first page. - /// Obtained using - /// \[ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\] call. - /// Optional. + /// A token for a page of results other than the first page. + /// Obtained using + /// \[ListTransferableSkusResponse.next_page_token][google.cloud.channel.v1.ListTransferableSkusResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\] call. + /// Optional. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The super admin of the resold customer generates this token to - /// authorize a reseller to access their Cloud Identity and purchase - /// entitlements on their behalf. You can omit this token after authorization. - /// See for more details. + /// The super admin of the resold customer generates this token to + /// authorize a reseller to access their Cloud Identity and purchase + /// entitlements on their behalf. You can omit this token after authorization. + /// See for more details. #[prost(string, tag="5")] pub auth_token: ::prost::alloc::string::String, - /// The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". - /// Optional. + /// The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". + /// Optional. #[prost(string, tag="6")] pub language_code: ::prost::alloc::string::String, - /// Specifies the identity of transferred customer. - /// Either a cloud_identity_id of the customer or the customer name is - /// required to look up transferable SKUs. + /// Specifies the identity of transferred customer. + /// Either a cloud_identity_id of the customer or the customer name is + /// required to look up transferable SKUs. #[prost(oneof="list_transferable_skus_request::TransferredCustomerIdentity", tags="4, 7")] pub transferred_customer_identity: ::core::option::Option, } /// Nested message and enum types in `ListTransferableSkusRequest`. pub mod list_transferable_skus_request { - /// Specifies the identity of transferred customer. - /// Either a cloud_identity_id of the customer or the customer name is - /// required to look up transferable SKUs. + /// Specifies the identity of transferred customer. + /// Either a cloud_identity_id of the customer or the customer name is + /// required to look up transferable SKUs. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TransferredCustomerIdentity { - /// Customer's Cloud Identity ID + /// Customer's Cloud Identity ID #[prost(string, tag="4")] CloudIdentityId(::prost::alloc::string::String), - /// A reseller is required to create a customer and use the resource name of - /// the created customer here. - /// Customer_name uses the format: - /// accounts/{account_id}/customers/{customer_id} + /// A reseller is required to create a customer and use the resource name of + /// the created customer here. + /// Customer_name uses the format: + /// accounts/{account_id}/customers/{customer_id} #[prost(string, tag="7")] CustomerName(::prost::alloc::string::String), } } -/// Response message for \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\]. +/// Response message for \[CloudChannelService.ListTransferableSkus][google.cloud.channel.v1.CloudChannelService.ListTransferableSkus\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferableSkusResponse { - /// Information about existing SKUs for a customer that needs a transfer. + /// Information about existing SKUs for a customer that needs a transfer. #[prost(message, repeated, tag="1")] pub transferable_skus: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token\] to obtain - /// that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListTransferableSkusRequest.page_token][google.cloud.channel.v1.ListTransferableSkusRequest.page_token\] to obtain + /// that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\] +/// Request message for \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferableOffersRequest { - /// Required. The resource name of the reseller's account. + /// Required. The resource name of the reseller's account. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 offers. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 offers. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A token for a page of results other than the first page. - /// Obtained using - /// \[ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\] call. + /// A token for a page of results other than the first page. + /// Obtained using + /// \[ListTransferableOffersResponse.next_page_token][google.cloud.channel.v1.ListTransferableOffersResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Required. The SKU to look up Offers for. + /// Required. The SKU to look up Offers for. #[prost(string, tag="6")] pub sku: ::prost::alloc::string::String, - /// The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="7")] pub language_code: ::prost::alloc::string::String, - /// Specifies the identity of transferred customer. - /// Either a cloud_identity_id of the customer or the customer name is - /// required to look up transferrable Offers. + /// Specifies the identity of transferred customer. + /// Either a cloud_identity_id of the customer or the customer name is + /// required to look up transferrable Offers. #[prost(oneof="list_transferable_offers_request::TransferredCustomerIdentity", tags="4, 5")] pub transferred_customer_identity: ::core::option::Option, } /// Nested message and enum types in `ListTransferableOffersRequest`. pub mod list_transferable_offers_request { - /// Specifies the identity of transferred customer. - /// Either a cloud_identity_id of the customer or the customer name is - /// required to look up transferrable Offers. + /// Specifies the identity of transferred customer. + /// Either a cloud_identity_id of the customer or the customer name is + /// required to look up transferrable Offers. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TransferredCustomerIdentity { - /// Customer's Cloud Identity ID + /// Customer's Cloud Identity ID #[prost(string, tag="4")] CloudIdentityId(::prost::alloc::string::String), - /// A reseller should create a customer and use the resource name of - /// that customer here. + /// A reseller should create a customer and use the resource name of + /// that customer here. #[prost(string, tag="5")] CustomerName(::prost::alloc::string::String), } } -/// Response message for \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\]. +/// Response message for \[CloudChannelService.ListTransferableOffers][google.cloud.channel.v1.CloudChannelService.ListTransferableOffers\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransferableOffersResponse { - /// Information about Offers for a customer that can be used for - /// transfer. + /// Information about Offers for a customer that can be used for + /// transfer. #[prost(message, repeated, tag="1")] pub transferable_offers: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token\] to obtain - /// that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListTransferableOffersRequest.page_token][google.cloud.channel.v1.ListTransferableOffersRequest.page_token\] to obtain + /// that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// TransferableOffer represents an Offer that can be used in Transfer. -/// Read-only. +/// TransferableOffer represents an Offer that can be used in Transfer. +/// Read-only. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferableOffer { - /// Offer with parameter constraints updated to allow the Transfer. + /// Offer with parameter constraints updated to allow the Transfer. #[prost(message, optional, tag="1")] pub offer: ::core::option::Option, } -/// Request message for \[CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement\]. +/// Request message for \[CloudChannelService.GetEntitlement][google.cloud.channel.v1.CloudChannelService.GetEntitlement\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntitlementRequest { - /// Required. The resource name of the entitlement to retrieve. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to retrieve. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\] +/// Request message for \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChannelPartnerLinksRequest { - /// Required. The resource name of the reseller account for listing channel partner - /// links. - /// Parent uses the format: accounts/{account_id} + /// Required. The resource name of the reseller account for listing channel partner + /// links. + /// Parent uses the format: accounts/{account_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, server will pick a default size (25). - /// The maximum value is 200; the server will coerce values above 200. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, server will pick a default size (25). + /// The maximum value is 200; the server will coerce values above 200. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. - /// Obtained using - /// \[ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\] call. + /// Optional. A token for a page of results other than the first page. + /// Obtained using + /// \[ListChannelPartnerLinksResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerLinksResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. The level of granularity the ChannelPartnerLink will display. + /// Optional. The level of granularity the ChannelPartnerLink will display. #[prost(enumeration="ChannelPartnerLinkView", tag="4")] pub view: i32, } -/// Response message for \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\]. +/// Response message for \[CloudChannelService.ListChannelPartnerLinks][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerLinks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChannelPartnerLinksResponse { - /// The Channel partner links for a reseller. + /// The Channel partner links for a reseller. #[prost(message, repeated, tag="1")] pub channel_partner_links: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token\] to obtain that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListChannelPartnerLinksRequest.page_token][google.cloud.channel.v1.ListChannelPartnerLinksRequest.page_token\] to obtain that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink\]. +/// Request message for \[CloudChannelService.GetChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerLink\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetChannelPartnerLinkRequest { - /// Required. The resource name of the channel partner link to retrieve. - /// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} - /// where {id} is the Cloud Identity ID of the partner. + /// Required. The resource name of the channel partner link to retrieve. + /// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} + /// where {id} is the Cloud Identity ID of the partner. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The level of granularity the ChannelPartnerLink will display. + /// Optional. The level of granularity the ChannelPartnerLink will display. #[prost(enumeration="ChannelPartnerLinkView", tag="2")] pub view: i32, } -/// Request message for \[CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink\] +/// Request message for \[CloudChannelService.CreateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerLink\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateChannelPartnerLinkRequest { - /// Required. Create a channel partner link for the provided reseller account's - /// resource name. - /// Parent uses the format: accounts/{account_id} + /// Required. Create a channel partner link for the provided reseller account's + /// resource name. + /// Parent uses the format: accounts/{account_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The channel partner link to create. - /// Either channel_partner_link.reseller_cloud_identity_id or domain can be - /// used to create a link. + /// Required. The channel partner link to create. + /// Either channel_partner_link.reseller_cloud_identity_id or domain can be + /// used to create a link. #[prost(message, optional, tag="2")] pub channel_partner_link: ::core::option::Option, } -/// Request message for \[CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink\] +/// Request message for \[CloudChannelService.UpdateChannelPartnerLink][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerLink\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateChannelPartnerLinkRequest { - /// Required. The resource name of the channel partner link to cancel. - /// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} - /// where {id} is the Cloud Identity ID of the partner. + /// Required. The resource name of the channel partner link to cancel. + /// Name uses the format: accounts/{account_id}/channelPartnerLinks/{id} + /// where {id} is the Cloud Identity ID of the partner. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The channel partner link to update. Only channel_partner_link.link_state - /// is allowed for updates. + /// Required. The channel partner link to update. Only channel_partner_link.link_state + /// is allowed for updates. #[prost(message, optional, tag="2")] pub channel_partner_link: ::core::option::Option, - /// Required. The update mask that applies to the resource. - /// The only allowable value for an update mask is - /// channel_partner_link.link_state. + /// Required. The update mask that applies to the resource. + /// The only allowable value for an update mask is + /// channel_partner_link.link_state. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for \[CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig\]. +/// Request message for \[CloudChannelService.GetCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetCustomerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCustomerRepricingConfigRequest { - /// Required. The resource name of the CustomerRepricingConfig. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. + /// Required. The resource name of the CustomerRepricingConfig. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\]. +/// Request message for \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomerRepricingConfigsRequest { - /// Required. The resource name of the customer. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id}. - /// Supports accounts/{account_id}/customers/- to retrieve configs for all - /// customers. + /// Required. The resource name of the customer. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id}. + /// Supports accounts/{account_id}/customers/- to retrieve configs for all + /// customers. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of repricing configs to return. The service may return - /// fewer than this value. If unspecified, returns a maximum of 50 rules. The - /// maximum value is 100; values above 100 will be coerced to 100. + /// Optional. The maximum number of repricing configs to return. The service may return + /// fewer than this value. If unspecified, returns a maximum of 50 rules. The + /// maximum value is 100; values above 100 will be coerced to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results beyond the first page. - /// Obtained through - /// \[ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token\] of the previous - /// \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\] call. + /// Optional. A token identifying a page of results beyond the first page. + /// Obtained through + /// \[ListCustomerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsResponse.next_page_token\] of the previous + /// \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A filter for \[CloudChannelService.ListCustomerRepricingConfigs\] - /// results (customer only). You can use this filter when you support - /// a BatchGet-like query. - /// To use the filter, you must set `parent=accounts/{account_id}/customers/-`. + /// Optional. A filter for \[CloudChannelService.ListCustomerRepricingConfigs\] + /// results (customer only). You can use this filter when you support + /// a BatchGet-like query. + /// To use the filter, you must set `parent=accounts/{account_id}/customers/-`. /// - /// Example: customer = accounts/account_id/customers/c1 OR - /// customer = accounts/account_id/customers/c2. + /// Example: customer = accounts/account_id/customers/c1 OR + /// customer = accounts/account_id/customers/c2. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\]. +/// Response message for \[CloudChannelService.ListCustomerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListCustomerRepricingConfigs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCustomerRepricingConfigsResponse { - /// The repricing configs for this channel partner. + /// The repricing configs for this channel partner. #[prost(message, repeated, tag="1")] pub customer_repricing_configs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token\] to obtain that - /// page. + /// A token to retrieve the next page of results. + /// Pass to \[ListCustomerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListCustomerRepricingConfigsRequest.page_token\] to obtain that + /// page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig\]. +/// Request message for \[CloudChannelService.CreateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateCustomerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCustomerRepricingConfigRequest { - /// Required. The resource name of the customer that will receive this repricing config. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the customer that will receive this repricing config. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The CustomerRepricingConfig object to update. + /// Required. The CustomerRepricingConfig object to update. #[prost(message, optional, tag="2")] pub customer_repricing_config: ::core::option::Option, } -/// Request message for \[CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig\]. +/// Request message for \[CloudChannelService.UpdateCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateCustomerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateCustomerRepricingConfigRequest { - /// Required. The CustomerRepricingConfig object to update. + /// Required. The CustomerRepricingConfig object to update. #[prost(message, optional, tag="1")] pub customer_repricing_config: ::core::option::Option, } -/// Request message for \[CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig\]. +/// Request message for \[CloudChannelService.DeleteCustomerRepricingConfig][google.cloud.channel.v1.CloudChannelService.DeleteCustomerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteCustomerRepricingConfigRequest { - /// Required. The resource name of the customer repricing config rule to delete. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. + /// Required. The resource name of the customer repricing config rule to delete. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/customerRepricingConfigs/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig\] +/// Request message for \[CloudChannelService.GetChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.GetChannelPartnerRepricingConfig\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetChannelPartnerRepricingConfigRequest { - /// Required. The resource name of the ChannelPartnerRepricingConfig - /// Format: - /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. + /// Required. The resource name of the ChannelPartnerRepricingConfig + /// Format: + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}/channelPartnerRepricingConfigs/{id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\]. +/// Request message for +/// \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChannelPartnerRepricingConfigsRequest { - /// Required. The resource name of the account's \[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink\]. - /// Parent uses the format: - /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}. - /// Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs - /// for all channel partners. + /// Required. The resource name of the account's \[ChannelPartnerLink][google.cloud.channel.v1.ChannelPartnerLink\]. + /// Parent uses the format: + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id}. + /// Supports accounts/{account_id}/channelPartnerLinks/- to retrieve configs + /// for all channel partners. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of repricing configs to return. The service may return - /// fewer than this value. If unspecified, returns a maximum of 50 rules. The - /// maximum value is 100; values above 100 will be coerced to 100. + /// Optional. The maximum number of repricing configs to return. The service may return + /// fewer than this value. If unspecified, returns a maximum of 50 rules. The + /// maximum value is 100; values above 100 will be coerced to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results beyond the first page. - /// Obtained through - /// \[ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token\] of the - /// previous \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\] call. + /// Optional. A token identifying a page of results beyond the first page. + /// Obtained through + /// \[ListChannelPartnerRepricingConfigsResponse.next_page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsResponse.next_page_token\] of the + /// previous \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\] call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. A filter for \[CloudChannelService.ListChannelPartnerRepricingConfigs\] - /// results (channel_partner_link only). You can use this filter when you - /// support a BatchGet-like query. - /// To use the filter, you must set - /// `parent=accounts/{account_id}/channelPartnerLinks/-`. + /// Optional. A filter for \[CloudChannelService.ListChannelPartnerRepricingConfigs\] + /// results (channel_partner_link only). You can use this filter when you + /// support a BatchGet-like query. + /// To use the filter, you must set + /// `parent=accounts/{account_id}/channelPartnerLinks/-`. /// - /// Example: `channel_partner_link = - /// accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link = - /// accounts/account_id/channelPartnerLinks/c2`. + /// Example: `channel_partner_link = + /// accounts/account_id/channelPartnerLinks/c1` OR `channel_partner_link = + /// accounts/account_id/channelPartnerLinks/c2`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for -/// \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\]. +/// Response message for +/// \[CloudChannelService.ListChannelPartnerRepricingConfigs][google.cloud.channel.v1.CloudChannelService.ListChannelPartnerRepricingConfigs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChannelPartnerRepricingConfigsResponse { - /// The repricing configs for this channel partner. + /// The repricing configs for this channel partner. #[prost(message, repeated, tag="1")] pub channel_partner_repricing_configs: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. - /// Pass to \[ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token\] to obtain - /// that page. + /// A token to retrieve the next page of results. + /// Pass to \[ListChannelPartnerRepricingConfigsRequest.page_token][google.cloud.channel.v1.ListChannelPartnerRepricingConfigsRequest.page_token\] to obtain + /// that page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig\]. +/// Request message for +/// \[CloudChannelService.CreateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.CreateChannelPartnerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateChannelPartnerRepricingConfigRequest { - /// Required. The resource name of the ChannelPartner that will receive the repricing - /// config. Parent uses the format: - /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} + /// Required. The resource name of the ChannelPartner that will receive the repricing + /// config. Parent uses the format: + /// accounts/{account_id}/channelPartnerLinks/{channel_partner_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ChannelPartnerRepricingConfig object to update. + /// Required. The ChannelPartnerRepricingConfig object to update. #[prost(message, optional, tag="2")] pub channel_partner_repricing_config: ::core::option::Option, } -/// Request message for -/// \[CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig\]. +/// Request message for +/// \[CloudChannelService.UpdateChannelPartnerRepricingConfig][google.cloud.channel.v1.CloudChannelService.UpdateChannelPartnerRepricingConfig\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateChannelPartnerRepricingConfigRequest { - /// Required. The ChannelPartnerRepricingConfig object to update. + /// Required. The ChannelPartnerRepricingConfig object to update. #[prost(message, optional, tag="1")] pub channel_partner_repricing_config: ::core::option::Option, } -/// Request message for DeleteChannelPartnerRepricingConfig. +/// Request message for DeleteChannelPartnerRepricingConfig. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteChannelPartnerRepricingConfigRequest { - /// Required. The resource name of the channel partner repricing config rule to delete. + /// Required. The resource name of the channel partner repricing config rule to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement\] +/// Request message for \[CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntitlementRequest { - /// Required. The resource name of the reseller's customer account in which to create the - /// entitlement. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the reseller's customer account in which to create the + /// entitlement. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The entitlement to create. + /// Required. The entitlement to create. #[prost(message, optional, tag="2")] pub entitlement: ::core::option::Option, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements\]. +/// Request message for \[CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferEntitlementsRequest { - /// Required. The resource name of the reseller's customer account that will receive - /// transferred entitlements. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the reseller's customer account that will receive + /// transferred entitlements. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The new entitlements to create or transfer. + /// Required. The new entitlements to create or transfer. #[prost(message, repeated, tag="2")] pub entitlements: ::prost::alloc::vec::Vec, - /// The super admin of the resold customer generates this token to - /// authorize a reseller to access their Cloud Identity and purchase - /// entitlements on their behalf. You can omit this token after authorization. - /// See for more details. + /// The super admin of the resold customer generates this token to + /// authorize a reseller to access their Cloud Identity and purchase + /// entitlements on their behalf. You can omit this token after authorization. + /// See for more details. #[prost(string, tag="4")] pub auth_token: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="6")] pub request_id: ::prost::alloc::string::String, } -/// Response message for \[CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements\]. -/// This is put in the response field of google.longrunning.Operation. +/// Response message for \[CloudChannelService.TransferEntitlements][google.cloud.channel.v1.CloudChannelService.TransferEntitlements\]. +/// This is put in the response field of google.longrunning.Operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferEntitlementsResponse { - /// The transferred entitlements. + /// The transferred entitlements. #[prost(message, repeated, tag="1")] pub entitlements: ::prost::alloc::vec::Vec, } -/// Request message for \[CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle\]. +/// Request message for \[CloudChannelService.TransferEntitlementsToGoogle][google.cloud.channel.v1.CloudChannelService.TransferEntitlementsToGoogle\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransferEntitlementsToGoogleRequest { - /// Required. The resource name of the reseller's customer account where the entitlements - /// transfer from. - /// Parent uses the format: accounts/{account_id}/customers/{customer_id} + /// Required. The resource name of the reseller's customer account where the entitlements + /// transfer from. + /// Parent uses the format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The entitlements to transfer to Google. + /// Required. The entitlements to transfer to Google. #[prost(message, repeated, tag="2")] pub entitlements: ::prost::alloc::vec::Vec, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ChangeParametersRequest][\]. +/// Request message for \[CloudChannelService.ChangeParametersRequest][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeParametersRequest { - /// Required. The name of the entitlement to update. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The name of the entitlement to update. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Entitlement parameters to update. You can only change editable parameters. + /// Required. Entitlement parameters to update. You can only change editable parameters. /// - /// To view the available Parameters for a request, refer to the - /// \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\] from the desired offer. + /// To view the available Parameters for a request, refer to the + /// \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\] from the desired offer. #[prost(message, repeated, tag="2")] pub parameters: ::prost::alloc::vec::Vec, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. Purchase order ID provided by the reseller. + /// Optional. Purchase order ID provided by the reseller. #[prost(string, tag="5")] pub purchase_order_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings\]. +/// Request message for \[CloudChannelService.ChangeRenewalSettings][google.cloud.channel.v1.CloudChannelService.ChangeRenewalSettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeRenewalSettingsRequest { - /// Required. The name of the entitlement to update. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The name of the entitlement to update. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. New renewal settings. + /// Required. New renewal settings. #[prost(message, optional, tag="4")] pub renewal_settings: ::core::option::Option, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer\]. +/// Request message for \[CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeOfferRequest { - /// Required. The resource name of the entitlement to update. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to update. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. New Offer. - /// Format: accounts/{account_id}/offers/{offer_id}. + /// Required. New Offer. + /// Format: accounts/{account_id}/offers/{offer_id}. #[prost(string, tag="2")] pub offer: ::prost::alloc::string::String, - /// Optional. Parameters needed to purchase the Offer. To view the available Parameters - /// refer to the \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\] from the desired offer. + /// Optional. Parameters needed to purchase the Offer. To view the available Parameters + /// refer to the \[Offer.parameter_definitions][google.cloud.channel.v1.Offer.parameter_definitions\] from the desired offer. #[prost(message, repeated, tag="3")] pub parameters: ::prost::alloc::vec::Vec, - /// Optional. Purchase order id provided by the reseller. + /// Optional. Purchase order id provided by the reseller. #[prost(string, tag="5")] pub purchase_order_id: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="6")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService\]. +/// Request message for \[CloudChannelService.StartPaidService][google.cloud.channel.v1.CloudChannelService.StartPaidService\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartPaidServiceRequest { - /// Required. The name of the entitlement to start a paid service for. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The name of the entitlement to start a paid service for. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement\]. +/// Request message for \[CloudChannelService.CancelEntitlement][google.cloud.channel.v1.CloudChannelService.CancelEntitlement\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelEntitlementRequest { - /// Required. The resource name of the entitlement to cancel. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to cancel. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement\]. +/// Request message for \[CloudChannelService.SuspendEntitlement][google.cloud.channel.v1.CloudChannelService.SuspendEntitlement\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuspendEntitlementRequest { - /// Required. The resource name of the entitlement to suspend. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to suspend. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for \[CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement\]. +/// Request message for \[CloudChannelService.ActivateEntitlement][google.cloud.channel.v1.CloudChannelService.ActivateEntitlement\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActivateEntitlementRequest { - /// Required. The resource name of the entitlement to activate. - /// Name uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to activate. + /// Name uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. You can specify an optional unique request ID, and if you need to retry - /// your request, the server will know to ignore the request if it's complete. + /// Optional. You can specify an optional unique request ID, and if you need to retry + /// your request, the server will know to ignore the request if it's complete. /// - /// For example, you make an initial request and the request times out. If you - /// make the request again with the same request ID, the server can check if - /// it received the original operation with the same request ID. If it did, it - /// will ignore the second request. + /// For example, you make an initial request and the request times out. If you + /// make the request again with the same request ID, the server can check if + /// it received the original operation with the same request ID. If it did, it + /// will ignore the second request. /// - /// The request ID must be a valid \[UUID\]() - /// with the exception that zero UUID is not supported - /// (`00000000-0000-0000-0000-000000000000`). + /// The request ID must be a valid \[UUID\]() + /// with the exception that zero UUID is not supported + /// (`00000000-0000-0000-0000-000000000000`). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for LookupOffer. +/// Request message for LookupOffer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupOfferRequest { - /// Required. The resource name of the entitlement to retrieve the Offer. - /// Entitlement uses the format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. The resource name of the entitlement to retrieve the Offer. + /// Entitlement uses the format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub entitlement: ::prost::alloc::string::String, } -/// Request message for ListProducts. +/// Request message for ListProducts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProductsRequest { - /// Required. The resource name of the reseller account. - /// Format: accounts/{account_id}. + /// Required. The resource name of the reseller account. + /// Format: accounts/{account_id}. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 Products. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 Products. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. + /// Optional. A token for a page of results other than the first page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// Optional. The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, } -/// Response message for ListProducts. +/// Response message for ListProducts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProductsResponse { - /// List of Products requested. + /// List of Products requested. #[prost(message, repeated, tag="1")] pub products: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. + /// A token to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ListSkus. +/// Request message for ListSkus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSkusRequest { - /// Required. The resource name of the Product to list SKUs for. - /// Parent uses the format: products/{product_id}. - /// Supports products/- to retrieve SKUs for all products. + /// Required. The resource name of the Product to list SKUs for. + /// Parent uses the format: products/{product_id}. + /// Supports products/- to retrieve SKUs for all products. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Resource name of the reseller. - /// Format: accounts/{account_id}. + /// Required. Resource name of the reseller. + /// Format: accounts/{account_id}. #[prost(string, tag="2")] pub account: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 SKUs. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 SKUs. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. - /// Optional. + /// Optional. A token for a page of results other than the first page. + /// Optional. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// Optional. The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="5")] pub language_code: ::prost::alloc::string::String, } -/// Response message for ListSkus. +/// Response message for ListSkus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSkusResponse { - /// The list of SKUs requested. + /// The list of SKUs requested. #[prost(message, repeated, tag="1")] pub skus: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. + /// A token to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ListOffers. +/// Request message for ListOffers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOffersRequest { - /// Required. The resource name of the reseller account from which to list Offers. - /// Parent uses the format: accounts/{account_id}. + /// Required. The resource name of the reseller account from which to list Offers. + /// Parent uses the format: accounts/{account_id}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 500 Offers. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 500 Offers. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. + /// Optional. A token for a page of results other than the first page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. The expression to filter results by name (name of - /// the Offer), sku.name (name of the SKU), or sku.product.name (name of the - /// Product). - /// Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 - /// Example 2: name=accounts/a1/offers/o1 + /// Optional. The expression to filter results by name (name of + /// the Offer), sku.name (name of the SKU), or sku.product.name (name of the + /// Product). + /// Example 1: sku.product.name=products/p1 AND sku.name!=products/p1/skus/s1 + /// Example 2: name=accounts/a1/offers/o1 #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// Optional. The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="5")] pub language_code: ::prost::alloc::string::String, } -/// Response message for ListOffers. +/// Response message for ListOffers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOffersResponse { - /// The list of Offers requested. + /// The list of Offers requested. #[prost(message, repeated, tag="1")] pub offers: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. + /// A token to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ListPurchasableSkus. +/// Request message for ListPurchasableSkus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPurchasableSkusRequest { - /// Required. The resource name of the customer to list SKUs for. - /// Format: accounts/{account_id}/customers/{customer_id}. + /// Required. The resource name of the customer to list SKUs for. + /// Format: accounts/{account_id}/customers/{customer_id}. #[prost(string, tag="1")] pub customer: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 SKUs. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 SKUs. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="4")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. + /// Optional. A token for a page of results other than the first page. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// Optional. The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="6")] pub language_code: ::prost::alloc::string::String, - /// Defines the intended purchase. + /// Defines the intended purchase. #[prost(oneof="list_purchasable_skus_request::PurchaseOption", tags="2, 3")] pub purchase_option: ::core::option::Option, } /// Nested message and enum types in `ListPurchasableSkusRequest`. pub mod list_purchasable_skus_request { - /// List SKUs for a new entitlement. Make the purchase using - /// \[CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement\]. + /// List SKUs for a new entitlement. Make the purchase using + /// \[CloudChannelService.CreateEntitlement][google.cloud.channel.v1.CloudChannelService.CreateEntitlement\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntitlementPurchase { - /// Required. List SKUs belonging to this Product. - /// Format: products/{product_id}. - /// Supports products/- to retrieve SKUs for all products. + /// Required. List SKUs belonging to this Product. + /// Format: products/{product_id}. + /// Supports products/- to retrieve SKUs for all products. #[prost(string, tag="1")] pub product: ::prost::alloc::string::String, } - /// List SKUs for upgrading or downgrading an entitlement. Make the purchase - /// using \[CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer\]. + /// List SKUs for upgrading or downgrading an entitlement. Make the purchase + /// using \[CloudChannelService.ChangeOffer][google.cloud.channel.v1.CloudChannelService.ChangeOffer\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeOfferPurchase { - /// Required. Resource name of the entitlement. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. Resource name of the entitlement. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub entitlement: ::prost::alloc::string::String, - /// Required. Change Type for the entitlement. + /// Required. Change Type for the entitlement. #[prost(enumeration="change_offer_purchase::ChangeType", tag="2")] pub change_type: i32, } /// Nested message and enum types in `ChangeOfferPurchase`. pub mod change_offer_purchase { - /// Change Type enum. + /// Change Type enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ChangeType { - /// Not used. + /// Not used. Unspecified = 0, - /// SKU is an upgrade on the current entitlement. + /// SKU is an upgrade on the current entitlement. Upgrade = 1, - /// SKU is a downgrade on the current entitlement. + /// SKU is a downgrade on the current entitlement. Downgrade = 2, } impl ChangeType { @@ -2313,177 +2313,177 @@ pub mod list_purchasable_skus_request { } } } - /// Defines the intended purchase. + /// Defines the intended purchase. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PurchaseOption { - /// List SKUs for CreateEntitlement purchase. + /// List SKUs for CreateEntitlement purchase. #[prost(message, tag="2")] CreateEntitlementPurchase(CreateEntitlementPurchase), - /// List SKUs for ChangeOffer purchase with a new SKU. + /// List SKUs for ChangeOffer purchase with a new SKU. #[prost(message, tag="3")] ChangeOfferPurchase(ChangeOfferPurchase), } } -/// Response message for ListPurchasableSkus. +/// Response message for ListPurchasableSkus. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPurchasableSkusResponse { - /// The list of SKUs requested. + /// The list of SKUs requested. #[prost(message, repeated, tag="1")] pub purchasable_skus: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. + /// A token to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// SKU that you can purchase. This is used in ListPurchasableSku API -/// response. +/// SKU that you can purchase. This is used in ListPurchasableSku API +/// response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurchasableSku { - /// SKU + /// SKU #[prost(message, optional, tag="1")] pub sku: ::core::option::Option, } -/// Request message for ListPurchasableOffers. +/// Request message for ListPurchasableOffers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPurchasableOffersRequest { - /// Required. The resource name of the customer to list Offers for. - /// Format: accounts/{account_id}/customers/{customer_id}. + /// Required. The resource name of the customer to list Offers for. + /// Format: accounts/{account_id}/customers/{customer_id}. #[prost(string, tag="1")] pub customer: ::prost::alloc::string::String, - /// Optional. Requested page size. Server might return fewer results than requested. - /// If unspecified, returns at most 100 Offers. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. Requested page size. Server might return fewer results than requested. + /// If unspecified, returns at most 100 Offers. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="4")] pub page_size: i32, - /// Optional. A token for a page of results other than the first page. + /// Optional. A token for a page of results other than the first page. #[prost(string, tag="5")] pub page_token: ::prost::alloc::string::String, - /// Optional. The BCP-47 language code. For example, "en-US". The - /// response will localize in the corresponding language code, if specified. - /// The default value is "en-US". + /// Optional. The BCP-47 language code. For example, "en-US". The + /// response will localize in the corresponding language code, if specified. + /// The default value is "en-US". #[prost(string, tag="6")] pub language_code: ::prost::alloc::string::String, - /// Defines the intended purchase. + /// Defines the intended purchase. #[prost(oneof="list_purchasable_offers_request::PurchaseOption", tags="2, 3")] pub purchase_option: ::core::option::Option, } /// Nested message and enum types in `ListPurchasableOffersRequest`. pub mod list_purchasable_offers_request { - /// List Offers for CreateEntitlement purchase. + /// List Offers for CreateEntitlement purchase. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntitlementPurchase { - /// Required. SKU that the result should be restricted to. - /// Format: products/{product_id}/skus/{sku_id}. + /// Required. SKU that the result should be restricted to. + /// Format: products/{product_id}/skus/{sku_id}. #[prost(string, tag="1")] pub sku: ::prost::alloc::string::String, } - /// List Offers for ChangeOffer purchase. + /// List Offers for ChangeOffer purchase. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ChangeOfferPurchase { - /// Required. Resource name of the entitlement. - /// Format: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Required. Resource name of the entitlement. + /// Format: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub entitlement: ::prost::alloc::string::String, - /// Optional. Resource name of the new target SKU. Provide this SKU when - /// upgrading or downgrading an entitlement. Format: - /// products/{product_id}/skus/{sku_id} + /// Optional. Resource name of the new target SKU. Provide this SKU when + /// upgrading or downgrading an entitlement. Format: + /// products/{product_id}/skus/{sku_id} #[prost(string, tag="2")] pub new_sku: ::prost::alloc::string::String, } - /// Defines the intended purchase. + /// Defines the intended purchase. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum PurchaseOption { - /// List Offers for CreateEntitlement purchase. + /// List Offers for CreateEntitlement purchase. #[prost(message, tag="2")] CreateEntitlementPurchase(CreateEntitlementPurchase), - /// List Offers for ChangeOffer purchase. + /// List Offers for ChangeOffer purchase. #[prost(message, tag="3")] ChangeOfferPurchase(ChangeOfferPurchase), } } -/// Response message for ListPurchasableOffers. +/// Response message for ListPurchasableOffers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPurchasableOffersResponse { - /// The list of Offers requested. + /// The list of Offers requested. #[prost(message, repeated, tag="1")] pub purchasable_offers: ::prost::alloc::vec::Vec, - /// A token to retrieve the next page of results. + /// A token to retrieve the next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Offer that you can purchase for a customer. This is used in the -/// ListPurchasableOffer API response. +/// Offer that you can purchase for a customer. This is used in the +/// ListPurchasableOffer API response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PurchasableOffer { - /// Offer. + /// Offer. #[prost(message, optional, tag="1")] pub offer: ::core::option::Option, } -/// Request Message for RegisterSubscriber. +/// Request Message for RegisterSubscriber. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegisterSubscriberRequest { - /// Required. Resource name of the account. + /// Required. Resource name of the account. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Required. Service account that provides subscriber access to the registered topic. + /// Required. Service account that provides subscriber access to the registered topic. #[prost(string, tag="2")] pub service_account: ::prost::alloc::string::String, } -/// Response Message for RegisterSubscriber. +/// Response Message for RegisterSubscriber. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegisterSubscriberResponse { - /// Name of the topic the subscriber will listen to. + /// Name of the topic the subscriber will listen to. #[prost(string, tag="1")] pub topic: ::prost::alloc::string::String, } -/// Request Message for UnregisterSubscriber. +/// Request Message for UnregisterSubscriber. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnregisterSubscriberRequest { - /// Required. Resource name of the account. + /// Required. Resource name of the account. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Required. Service account to unregister from subscriber access to the topic. + /// Required. Service account to unregister from subscriber access to the topic. #[prost(string, tag="2")] pub service_account: ::prost::alloc::string::String, } -/// Response Message for UnregisterSubscriber. +/// Response Message for UnregisterSubscriber. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnregisterSubscriberResponse { - /// Name of the topic the service account subscriber access was removed from. + /// Name of the topic the service account subscriber access was removed from. #[prost(string, tag="1")] pub topic: ::prost::alloc::string::String, } -/// Request Message for ListSubscribers. +/// Request Message for ListSubscribers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSubscribersRequest { - /// Required. Resource name of the account. + /// Required. Resource name of the account. #[prost(string, tag="1")] pub account: ::prost::alloc::string::String, - /// Optional. The maximum number of service accounts to return. The service may return - /// fewer than this value. - /// If unspecified, returns at most 100 service accounts. - /// The maximum value is 1000; the server will coerce values above 1000. + /// Optional. The maximum number of service accounts to return. The service may return + /// fewer than this value. + /// If unspecified, returns at most 100 service accounts. + /// The maximum value is 1000; the server will coerce values above 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListSubscribers` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListSubscribers` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListSubscribers` must - /// match the call that provided the page token. + /// When paginating, all other parameters provided to `ListSubscribers` must + /// match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response Message for ListSubscribers. +/// Response Message for ListSubscribers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSubscribersResponse { - /// Name of the topic registered with the reseller. + /// Name of the topic registered with the reseller. #[prost(string, tag="1")] pub topic: ::prost::alloc::string::String, - /// List of service accounts which have subscriber access to the topic. + /// List of service accounts which have subscriber access to the topic. #[prost(string, repeated, tag="2")] pub service_accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } @@ -4327,28 +4327,28 @@ pub mod cloud_channel_service_client { } } } -/// Represents Pub/Sub message content describing customer update. +/// Represents Pub/Sub message content describing customer update. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerEvent { - /// Resource name of the customer. - /// Format: accounts/{account_id}/customers/{customer_id} + /// Resource name of the customer. + /// Format: accounts/{account_id}/customers/{customer_id} #[prost(string, tag="1")] pub customer: ::prost::alloc::string::String, - /// Type of event which happened on the customer. + /// Type of event which happened on the customer. #[prost(enumeration="customer_event::Type", tag="2")] pub event_type: i32, } /// Nested message and enum types in `CustomerEvent`. pub mod customer_event { - /// Type of customer event. + /// Type of customer event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Not used. + /// Not used. Unspecified = 0, - /// Primary domain for customer was changed. + /// Primary domain for customer was changed. PrimaryDomainChanged = 1, - /// Primary domain of the customer has been verified. + /// Primary domain of the customer has been verified. PrimaryDomainVerified = 2, } impl Type { @@ -4365,51 +4365,51 @@ pub mod customer_event { } } } -/// Represents Pub/Sub message content describing entitlement update. +/// Represents Pub/Sub message content describing entitlement update. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntitlementEvent { - /// Resource name of an entitlement of the form: - /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} + /// Resource name of an entitlement of the form: + /// accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id} #[prost(string, tag="1")] pub entitlement: ::prost::alloc::string::String, - /// Type of event which happened on the entitlement. + /// Type of event which happened on the entitlement. #[prost(enumeration="entitlement_event::Type", tag="2")] pub event_type: i32, } /// Nested message and enum types in `EntitlementEvent`. pub mod entitlement_event { - /// Type of entitlement event. + /// Type of entitlement event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Not used. + /// Not used. Unspecified = 0, - /// A new entitlement was created. + /// A new entitlement was created. Created = 1, - /// The offer type associated with an entitlement was changed. - /// This is not triggered if an entitlement converts from a commit offer to a - /// flexible offer as part of a renewal. + /// The offer type associated with an entitlement was changed. + /// This is not triggered if an entitlement converts from a commit offer to a + /// flexible offer as part of a renewal. PricePlanSwitched = 3, - /// Annual commitment for a commit plan was changed. + /// Annual commitment for a commit plan was changed. CommitmentChanged = 4, - /// An annual entitlement was renewed. + /// An annual entitlement was renewed. Renewed = 5, - /// Entitlement was suspended. + /// Entitlement was suspended. Suspended = 6, - /// Entitlement was unsuspended. + /// Entitlement was unsuspended. Activated = 7, - /// Entitlement was cancelled. + /// Entitlement was cancelled. Cancelled = 8, - /// Entitlement was upgraded or downgraded (e.g. from Google Workspace - /// Business Standard to Google Workspace Business Plus). + /// Entitlement was upgraded or downgraded (e.g. from Google Workspace + /// Business Standard to Google Workspace Business Plus). SkuChanged = 9, - /// The renewal settings of an entitlement has changed. + /// The renewal settings of an entitlement has changed. RenewalSettingChanged = 10, - /// Paid service has started on trial entitlement. + /// Paid service has started on trial entitlement. PaidServiceStarted = 11, - /// License was assigned to or revoked from a user. + /// License was assigned to or revoked from a user. LicenseAssignmentChanged = 12, - /// License cap was changed for the entitlement. + /// License cap was changed for the entitlement. LicenseCapChanged = 13, } impl Type { @@ -4436,25 +4436,25 @@ pub mod entitlement_event { } } } -/// Represents information which resellers will get as part of notification from -/// Pub/Sub. +/// Represents information which resellers will get as part of notification from +/// Pub/Sub. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubscriberEvent { - /// Specifies the Pub/Sub event provided to the partners. - /// This is a required field. + /// Specifies the Pub/Sub event provided to the partners. + /// This is a required field. #[prost(oneof="subscriber_event::Event", tags="1, 2")] pub event: ::core::option::Option, } /// Nested message and enum types in `SubscriberEvent`. pub mod subscriber_event { - /// Specifies the Pub/Sub event provided to the partners. - /// This is a required field. + /// Specifies the Pub/Sub event provided to the partners. + /// This is a required field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Event { - /// Customer event sent as part of Pub/Sub event to partners. + /// Customer event sent as part of Pub/Sub event to partners. #[prost(message, tag="1")] CustomerEvent(super::CustomerEvent), - /// Entitlement event sent as part of Pub/Sub event to partners. + /// Entitlement event sent as part of Pub/Sub event to partners. #[prost(message, tag="2")] EntitlementEvent(super::EntitlementEvent), } diff --git a/gcloud-sdk/genproto/google.cloud.clouddms.logging.v1.rs b/gcloud-sdk/genproto/google.cloud.clouddms.logging.v1.rs index dc00208fb..cde3fcdb8 100644 --- a/gcloud-sdk/genproto/google.cloud.clouddms.logging.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.clouddms.logging.v1.rs @@ -1,101 +1,101 @@ -/// A message defining the database engine and provider. +/// A message defining the database engine and provider. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseType { - /// The database provider. + /// The database provider. #[prost(enumeration="DatabaseProvider", tag="1")] pub provider: i32, - /// The database engine. + /// The database engine. #[prost(enumeration="DatabaseEngine", tag="2")] pub engine: i32, } -/// Migration job as stored in Cloud Logging logs. -/// NEXT_TAG = 36. +/// Migration job as stored in Cloud Logging logs. +/// NEXT_TAG = 36. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LoggedMigrationJob { - /// Required. The unique identifier for a migration job. + /// Required. The unique identifier for a migration job. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Labels. + /// Required. Labels. #[prost(map="string, string", tag="2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The display name. + /// Required. The display name. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Required. The current migration job state. + /// Required. The current migration job state. #[prost(enumeration="logged_migration_job::State", tag="4")] pub state: i32, - /// Required. The current migration job phase. + /// Required. The current migration job phase. #[prost(enumeration="logged_migration_job::Phase", tag="5")] pub phase: i32, - /// Required. The migration job type. + /// Required. The migration job type. #[prost(enumeration="logged_migration_job::Type", tag="6")] pub r#type: i32, - /// Optional. An optional dump path (gs://\[BUCKET_NAME]/[OBJECT_NAME\]). + /// Optional. An optional dump path (gs://\[BUCKET_NAME]/[OBJECT_NAME\]). #[prost(string, tag="7")] pub dump_path: ::prost::alloc::string::String, - /// Required. The migration job source connection profile name. + /// Required. The migration job source connection profile name. #[prost(string, tag="8")] pub source: ::prost::alloc::string::String, - /// Required. The migration job destination connection profile name. + /// Required. The migration job destination connection profile name. #[prost(string, tag="9")] pub destination: ::prost::alloc::string::String, - /// Required. the migration job duration in seconds. + /// Required. the migration job duration in seconds. #[prost(message, optional, tag="10")] pub duration: ::core::option::Option<::prost_types::Duration>, - /// Required. Type of connectivity to source database. + /// Required. Type of connectivity to source database. #[prost(enumeration="logged_migration_job::ConnectivityType", tag="11")] pub connectivity_type: i32, - /// Required. The error details in case of state FAILED. + /// Required. The error details in case of state FAILED. #[prost(message, optional, tag="12")] pub error: ::core::option::Option, - /// Required. The time when this migration job was completed. Should only be set when the - /// phase of the migration job is COMPLETED. + /// Required. The time when this migration job was completed. Should only be set when the + /// phase of the migration job is COMPLETED. #[prost(message, optional, tag="13")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The indicative source database. + /// Required. The indicative source database. #[prost(message, optional, tag="14")] pub source_database: ::core::option::Option, - /// Required. The indicative destination database. + /// Required. The indicative destination database. #[prost(message, optional, tag="15")] pub destination_database: ::core::option::Option, } /// Nested message and enum types in `LoggedMigrationJob`. pub mod logged_migration_job { - /// The migration job states enum. + /// The migration job states enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the migration job is unknown. + /// The state of the migration job is unknown. Unspecified = 0, - /// The migration job is down for maintenance. + /// The migration job is down for maintenance. Maintenance = 1, - /// The migration job is in draft mode and fully editable. + /// The migration job is in draft mode and fully editable. Draft = 2, - /// The migration job is being created. + /// The migration job is being created. Creating = 3, - /// The migration job is created and not started. + /// The migration job is created and not started. NotStarted = 4, - /// The migration job is running + /// The migration job is running Running = 5, - /// The migration job failed. + /// The migration job failed. Failed = 6, - /// The migration job has been completed. + /// The migration job has been completed. Completed = 7, - /// The migration job is being deleted. + /// The migration job is being deleted. Deleting = 8, - /// The migration job is being stopped. + /// The migration job is being stopped. Stopping = 9, - /// The migration job is currently stopped. + /// The migration job is currently stopped. Stopped = 10, - /// The migration job has been deleted. + /// The migration job has been deleted. Deleted = 11, - /// The migration job is being updated. + /// The migration job is being updated. Updating = 12, - /// The migration job is starting. + /// The migration job is starting. Starting = 13, - /// The migration job is restarting. + /// The migration job is restarting. Restarting = 14, - /// The migration job is resuming. + /// The migration job is resuming. Resuming = 15, } impl State { @@ -124,21 +124,21 @@ pub mod logged_migration_job { } } } - /// The migration job phases enum. + /// The migration job phases enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Phase { - /// The phase of the migration job is unknown. + /// The phase of the migration job is unknown. Unspecified = 0, - /// The migration job is in the full dump phase. + /// The migration job is in the full dump phase. FullDump = 1, - /// The migration job is CDC phase. + /// The migration job is CDC phase. Cdc = 2, - /// The migration job is running the promote phase. + /// The migration job is running the promote phase. PromoteInProgress = 3, - /// Only RDS flow - waiting for source writes to stop + /// Only RDS flow - waiting for source writes to stop WaitingForSourceWritesToStop = 4, - /// Only RDS flow - the sources writes stopped, waiting for dump to begin + /// Only RDS flow - the sources writes stopped, waiting for dump to begin PreparingTheDump = 5, } impl Phase { @@ -157,15 +157,15 @@ pub mod logged_migration_job { } } } - /// The migration job types. + /// The migration job types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The type of the migration job is unknown. + /// The type of the migration job is unknown. Unspecified = 0, - /// The migration job is a one time migration. + /// The migration job is a one time migration. OneTime = 1, - /// The migration job is a continuous migration. + /// The migration job is a continuous migration. Continuous = 2, } impl Type { @@ -181,17 +181,17 @@ pub mod logged_migration_job { } } } - /// Type of connectivity to source database. + /// Type of connectivity to source database. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectivityType { - /// No data defined. + /// No data defined. Unspecified = 0, - /// Connect using static IO + /// Connect using static IO StaticIp = 1, - /// Use reverse SSH connectivity. + /// Use reverse SSH connectivity. ReverseSsh = 2, - /// Use VPC Peering connectivity. + /// Use VPC Peering connectivity. VpcPeering = 3, } impl ConnectivityType { @@ -209,31 +209,31 @@ pub mod logged_migration_job { } } } -/// An MySQL database connection profile. +/// An MySQL database connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MySqlConnectionProfile { - /// The database version. + /// The database version. #[prost(enumeration="my_sql_connection_profile::Version", tag="1")] pub version: i32, - /// The Cloud SQL id for a Cloud SQL instance. + /// The Cloud SQL id for a Cloud SQL instance. #[prost(string, tag="2")] pub cloud_sql_id: ::prost::alloc::string::String, } /// Nested message and enum types in `MySqlConnectionProfile`. pub mod my_sql_connection_profile { - /// The MySQL database version. + /// The MySQL database version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Version { - /// Unspecified version. + /// Unspecified version. Unspecified = 0, - /// MySQL 5.5. + /// MySQL 5.5. V55 = 1, - /// MySQL 5.6. + /// MySQL 5.6. V56 = 2, - /// MySQL 5.7. + /// MySQL 5.7. V57 = 3, - /// MySQL 8.0. + /// MySQL 8.0. V80 = 4, } impl Version { @@ -252,33 +252,33 @@ pub mod my_sql_connection_profile { } } } -/// An PostgreSQL connection profile. +/// An PostgreSQL connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgreSqlConnectionProfile { - /// The database version. + /// The database version. #[prost(enumeration="postgre_sql_connection_profile::Version", tag="1")] pub version: i32, - /// The Cloud SQL id for a Cloud SQL instance. + /// The Cloud SQL id for a Cloud SQL instance. #[prost(string, tag="2")] pub cloud_sql_id: ::prost::alloc::string::String, } /// Nested message and enum types in `PostgreSqlConnectionProfile`. pub mod postgre_sql_connection_profile { - /// The PostgreSQL database version. + /// The PostgreSQL database version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Version { - /// Unspecified version. + /// Unspecified version. Unspecified = 0, - /// PostgreSQL 9.6. + /// PostgreSQL 9.6. V96 = 1, - /// PostgreSQL 11. + /// PostgreSQL 11. V11 = 2, - /// PostgreSQL 10. + /// PostgreSQL 10. V10 = 3, - /// PostgreSQL 12. + /// PostgreSQL 12. V12 = 4, - /// PostgreSQL 13. + /// PostgreSQL 13. V13 = 5, } impl Version { @@ -298,60 +298,60 @@ pub mod postgre_sql_connection_profile { } } } -/// A CloudSQL connection profile. +/// A CloudSQL connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlConnectionProfile { - /// The Cloud SQL id. + /// The Cloud SQL id. #[prost(string, tag="1")] pub cloud_sql_id: ::prost::alloc::string::String, } -/// An producer connection profile definition. -/// NEXT_TAG = 18. +/// An producer connection profile definition. +/// NEXT_TAG = 18. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LoggedConnectionProfile { - /// The unique identifier for a connection profile. + /// The unique identifier for a connection profile. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Labels. + /// Labels. #[prost(map="string, string", tag="2")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The current connection profile state. + /// The current connection profile state. #[prost(enumeration="logged_connection_profile::State", tag="3")] pub state: i32, - /// The display name. + /// The display name. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// The error details in case of state FAILED. + /// The error details in case of state FAILED. #[prost(message, optional, tag="5")] pub error: ::core::option::Option, - /// The database provider. + /// The database provider. #[prost(enumeration="DatabaseProvider", tag="6")] pub provider: i32, - /// The connection profile definition + /// The connection profile definition #[prost(oneof="logged_connection_profile::ConnectionProfile", tags="100, 101, 102")] pub connection_profile: ::core::option::Option, } /// Nested message and enum types in `LoggedConnectionProfile`. pub mod logged_connection_profile { - /// The connection profile states enum. + /// The connection profile states enum. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the connection profile is unknown. + /// The state of the connection profile is unknown. Unspecified = 0, - /// The connection profile is in draft mode and fully editable. + /// The connection profile is in draft mode and fully editable. Draft = 1, - /// The connection profile is being created. + /// The connection profile is being created. Creating = 2, - /// The connection profile is ready. + /// The connection profile is ready. Ready = 3, - /// The connection profile is being updated. + /// The connection profile is being updated. Updating = 4, - /// The connection profile is being deleted. + /// The connection profile is being deleted. Deleting = 5, - /// The connection profile has been deleted. + /// The connection profile has been deleted. Deleted = 6, - /// The last action on the connection profile failed. + /// The last action on the connection profile failed. Failed = 7, } impl State { @@ -372,95 +372,95 @@ pub mod logged_connection_profile { } } } - /// The connection profile definition + /// The connection profile definition #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConnectionProfile { - /// A MySQL database connection profile. + /// A MySQL database connection profile. #[prost(message, tag="100")] Mysql(super::MySqlConnectionProfile), - /// A PostgreSQL database connection profile. + /// A PostgreSQL database connection profile. #[prost(message, tag="101")] Postgresql(super::PostgreSqlConnectionProfile), - /// A CloudSQL database connection profile. + /// A CloudSQL database connection profile. #[prost(message, tag="102")] Cloudsql(super::CloudSqlConnectionProfile), } } -/// Log definition for Migration Job event +/// Log definition for Migration Job event #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationJobEventLog { - /// The migration job resource + /// The migration job resource #[prost(message, optional, tag="1")] pub migration_job: ::core::option::Option, - /// Timestamp of the event + /// Timestamp of the event #[prost(message, optional, tag="2")] pub occurrence_timestamp: ::core::option::Option<::prost_types::Timestamp>, - /// Event code + /// Event code #[prost(int32, tag="3")] pub code: i32, - /// Event message + /// Event message #[prost(string, tag="4")] pub text_message: ::prost::alloc::string::String, - /// Original event data + /// Original event data #[prost(oneof="migration_job_event_log::OriginalCause", tags="200, 201")] pub original_cause: ::core::option::Option, } /// Nested message and enum types in `MigrationJobEventLog`. pub mod migration_job_event_log { - /// Original event data + /// Original event data #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OriginalCause { - /// Original event code + /// Original event code #[prost(int32, tag="200")] OriginalCode(i32), - /// Original event message + /// Original event message #[prost(string, tag="201")] OriginalMessage(::prost::alloc::string::String), } } -/// Log definition for Connection Profile event +/// Log definition for Connection Profile event #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionProfileEventLog { - /// The connection profilr resource + /// The connection profilr resource #[prost(message, optional, tag="1")] pub connection_profile: ::core::option::Option, - /// Timestamp of the event + /// Timestamp of the event #[prost(message, optional, tag="2")] pub occurrence_timestamp: ::core::option::Option<::prost_types::Timestamp>, - /// Event code + /// Event code #[prost(int32, tag="3")] pub code: i32, - /// Event message + /// Event message #[prost(string, tag="4")] pub text_message: ::prost::alloc::string::String, - /// Original event data + /// Original event data #[prost(oneof="connection_profile_event_log::OriginalCause", tags="200, 201")] pub original_cause: ::core::option::Option, } /// Nested message and enum types in `ConnectionProfileEventLog`. pub mod connection_profile_event_log { - /// Original event data + /// Original event data #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OriginalCause { - /// Original event code + /// Original event code #[prost(int32, tag="200")] OriginalCode(i32), - /// Original event message + /// Original event message #[prost(string, tag="201")] OriginalMessage(::prost::alloc::string::String), } } -/// The database engines. +/// The database engines. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseEngine { - /// The source database engine of the migration job is unknown. + /// The source database engine of the migration job is unknown. Unspecified = 0, - /// The source engine is MySQL. + /// The source engine is MySQL. Mysql = 1, - /// The source engine is PostgreSQL. + /// The source engine is PostgreSQL. Postgresql = 2, - /// The source engine is SQL Server. + /// The source engine is SQL Server. Sqlserver = 3, } impl DatabaseEngine { @@ -477,15 +477,15 @@ impl DatabaseEngine { } } } -/// The database providers. +/// The database providers. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseProvider { - /// The database provider is unknown. + /// The database provider is unknown. Unspecified = 0, - /// CloudSQL runs the database. + /// CloudSQL runs the database. Cloudsql = 1, - /// RDS runs the database. + /// RDS runs the database. Rds = 2, } impl DatabaseProvider { diff --git a/gcloud-sdk/genproto/google.cloud.clouddms.v1.rs b/gcloud-sdk/genproto/google.cloud.clouddms.v1.rs index 0ee411d3a..4233203cd 100644 --- a/gcloud-sdk/genproto/google.cloud.clouddms.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.clouddms.v1.rs @@ -1,38 +1,38 @@ -/// SSL configuration information. +/// SSL configuration information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslConfig { - /// Output only. The ssl config type according to 'client_key', 'client_certificate' and - /// 'ca_certificate'. + /// Output only. The ssl config type according to 'client_key', 'client_certificate' and + /// 'ca_certificate'. #[prost(enumeration="ssl_config::SslType", tag="1")] pub r#type: i32, - /// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with - /// the Client Certificate. If this field is used then the 'client_certificate' - /// field is mandatory. + /// Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with + /// the Client Certificate. If this field is used then the 'client_certificate' + /// field is mandatory. #[prost(string, tag="2")] pub client_key: ::prost::alloc::string::String, - /// Input only. The x509 PEM-encoded certificate that will be used by the replica to - /// authenticate against the source database server.If this field is used then - /// the 'client_key' field is mandatory. + /// Input only. The x509 PEM-encoded certificate that will be used by the replica to + /// authenticate against the source database server.If this field is used then + /// the 'client_key' field is mandatory. #[prost(string, tag="3")] pub client_certificate: ::prost::alloc::string::String, - /// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database - /// server's certificate. The replica will use this certificate to verify - /// it's connecting to the right host. + /// Required. Input only. The x509 PEM-encoded certificate of the CA that signed the source database + /// server's certificate. The replica will use this certificate to verify + /// it's connecting to the right host. #[prost(string, tag="4")] pub ca_certificate: ::prost::alloc::string::String, } /// Nested message and enum types in `SslConfig`. pub mod ssl_config { - /// Specifies The kind of ssl configuration used. + /// Specifies The kind of ssl configuration used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SslType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Only 'ca_certificate' specified. + /// Only 'ca_certificate' specified. ServerOnly = 1, - /// Both server ('ca_certificate'), and client ('client_key', - /// 'client_certificate') specified. + /// Both server ('ca_certificate'), and client ('client_key', + /// 'client_certificate') specified. ServerClient = 2, } impl SslType { @@ -49,221 +49,221 @@ pub mod ssl_config { } } } -/// Specifies connection parameters required specifically for MySQL databases. +/// Specifies connection parameters required specifically for MySQL databases. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MySqlConnectionProfile { - /// Required. The IP or hostname of the source MySQL database. + /// Required. The IP or hostname of the source MySQL database. #[prost(string, tag="1")] pub host: ::prost::alloc::string::String, - /// Required. The network port of the source MySQL database. + /// Required. The network port of the source MySQL database. #[prost(int32, tag="2")] pub port: i32, - /// Required. The username that Database Migration Service will use to connect to the - /// database. The value is encrypted when stored in Database Migration Service. + /// Required. The username that Database Migration Service will use to connect to the + /// database. The value is encrypted when stored in Database Migration Service. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Input only. The password for the user that Database Migration Service will be using to - /// connect to the database. This field is not returned on request, and the - /// value is encrypted when stored in Database Migration Service. + /// Required. Input only. The password for the user that Database Migration Service will be using to + /// connect to the database. This field is not returned on request, and the + /// value is encrypted when stored in Database Migration Service. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// Output only. Indicates If this connection profile password is stored. + /// Output only. Indicates If this connection profile password is stored. #[prost(bool, tag="5")] pub password_set: bool, - /// SSL configuration for the destination to connect to the source database. + /// SSL configuration for the destination to connect to the source database. #[prost(message, optional, tag="6")] pub ssl: ::core::option::Option, - /// If the source is a Cloud SQL database, use this field to - /// provide the Cloud SQL instance ID of the source. + /// If the source is a Cloud SQL database, use this field to + /// provide the Cloud SQL instance ID of the source. #[prost(string, tag="7")] pub cloud_sql_id: ::prost::alloc::string::String, } -/// Specifies connection parameters required specifically for PostgreSQL -/// databases. +/// Specifies connection parameters required specifically for PostgreSQL +/// databases. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgreSqlConnectionProfile { - /// Required. The IP or hostname of the source PostgreSQL database. + /// Required. The IP or hostname of the source PostgreSQL database. #[prost(string, tag="1")] pub host: ::prost::alloc::string::String, - /// Required. The network port of the source PostgreSQL database. + /// Required. The network port of the source PostgreSQL database. #[prost(int32, tag="2")] pub port: i32, - /// Required. The username that Database Migration Service will use to connect to the - /// database. The value is encrypted when stored in Database Migration Service. + /// Required. The username that Database Migration Service will use to connect to the + /// database. The value is encrypted when stored in Database Migration Service. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Input only. The password for the user that Database Migration Service will be using to - /// connect to the database. This field is not returned on request, and the - /// value is encrypted when stored in Database Migration Service. + /// Required. Input only. The password for the user that Database Migration Service will be using to + /// connect to the database. This field is not returned on request, and the + /// value is encrypted when stored in Database Migration Service. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// Output only. Indicates If this connection profile password is stored. + /// Output only. Indicates If this connection profile password is stored. #[prost(bool, tag="5")] pub password_set: bool, - /// SSL configuration for the destination to connect to the source database. + /// SSL configuration for the destination to connect to the source database. #[prost(message, optional, tag="6")] pub ssl: ::core::option::Option, - /// If the source is a Cloud SQL database, use this field to - /// provide the Cloud SQL instance ID of the source. + /// If the source is a Cloud SQL database, use this field to + /// provide the Cloud SQL instance ID of the source. #[prost(string, tag="7")] pub cloud_sql_id: ::prost::alloc::string::String, } -/// Specifies required connection parameters, and, optionally, the parameters -/// required to create a Cloud SQL destination database instance. +/// Specifies required connection parameters, and, optionally, the parameters +/// required to create a Cloud SQL destination database instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlConnectionProfile { - /// Output only. The Cloud SQL instance ID that this connection profile is associated with. + /// Output only. The Cloud SQL instance ID that this connection profile is associated with. #[prost(string, tag="1")] pub cloud_sql_id: ::prost::alloc::string::String, - /// Immutable. Metadata used to create the destination Cloud SQL database. + /// Immutable. Metadata used to create the destination Cloud SQL database. #[prost(message, optional, tag="2")] pub settings: ::core::option::Option, - /// Output only. The Cloud SQL database instance's private IP. + /// Output only. The Cloud SQL database instance's private IP. #[prost(string, tag="3")] pub private_ip: ::prost::alloc::string::String, - /// Output only. The Cloud SQL database instance's public IP. + /// Output only. The Cloud SQL database instance's public IP. #[prost(string, tag="4")] pub public_ip: ::prost::alloc::string::String, } -/// An entry for an Access Control list. +/// An entry for an Access Control list. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlAclEntry { - /// The allowlisted value for the access control list. + /// The allowlisted value for the access control list. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, - /// A label to identify this entry. + /// A label to identify this entry. #[prost(string, tag="3")] pub label: ::prost::alloc::string::String, - /// The access control entry entry expiration. + /// The access control entry entry expiration. #[prost(oneof="sql_acl_entry::Expiration", tags="10, 11")] pub expiration: ::core::option::Option, } /// Nested message and enum types in `SqlAclEntry`. pub mod sql_acl_entry { - /// The access control entry entry expiration. + /// The access control entry entry expiration. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expiration { - /// The time when this access control entry expires in - /// [RFC 3339]() format, for example: - /// `2012-11-15T16:19:00.094Z`. + /// The time when this access control entry expires in + /// [RFC 3339]() format, for example: + /// `2012-11-15T16:19:00.094Z`. #[prost(message, tag="10")] ExpireTime(::prost_types::Timestamp), - /// Input only. The time-to-leave of this access control entry. + /// Input only. The time-to-leave of this access control entry. #[prost(message, tag="11")] Ttl(::prost_types::Duration), } } -/// IP Management configuration. +/// IP Management configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlIpConfig { - /// Whether the instance should be assigned an IPv4 address or not. + /// Whether the instance should be assigned an IPv4 address or not. #[prost(message, optional, tag="1")] pub enable_ipv4: ::core::option::Option, - /// The resource link for the VPC network from which the Cloud SQL instance is - /// accessible for private IP. For example, - /// `projects/myProject/global/networks/default`. This setting can - /// be updated, but it cannot be removed after it is set. + /// The resource link for the VPC network from which the Cloud SQL instance is + /// accessible for private IP. For example, + /// `projects/myProject/global/networks/default`. This setting can + /// be updated, but it cannot be removed after it is set. #[prost(string, tag="2")] pub private_network: ::prost::alloc::string::String, - /// Whether SSL connections over IP should be enforced or not. + /// Whether SSL connections over IP should be enforced or not. #[prost(message, optional, tag="3")] pub require_ssl: ::core::option::Option, - /// The list of external networks that are allowed to connect to the instance - /// using the IP. See - /// also known as - /// 'slash' notation (e.g. `192.168.100.0/24`). + /// The list of external networks that are allowed to connect to the instance + /// using the IP. See + /// also known as + /// 'slash' notation (e.g. `192.168.100.0/24`). #[prost(message, repeated, tag="4")] pub authorized_networks: ::prost::alloc::vec::Vec, } -/// Settings for creating a Cloud SQL database instance. +/// Settings for creating a Cloud SQL database instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlSettings { - /// The database engine type and version. + /// The database engine type and version. #[prost(enumeration="cloud_sql_settings::SqlDatabaseVersion", tag="1")] pub database_version: i32, - /// The resource labels for a Cloud SQL instance to use to annotate any related - /// underlying resources such as Compute Engine VMs. - /// An object containing a list of "key": "value" pairs. + /// The resource labels for a Cloud SQL instance to use to annotate any related + /// underlying resources such as Compute Engine VMs. + /// An object containing a list of "key": "value" pairs. /// - /// Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`. + /// Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`. #[prost(map="string, string", tag="2")] pub user_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The tier (or machine type) for this instance, for example: - /// `db-n1-standard-1` (MySQL instances) or - /// `db-custom-1-3840` (PostgreSQL instances). - /// For more information, see - /// [Cloud SQL Instance - /// Settings](). + /// The tier (or machine type) for this instance, for example: + /// `db-n1-standard-1` (MySQL instances) or + /// `db-custom-1-3840` (PostgreSQL instances). + /// For more information, see + /// [Cloud SQL Instance + /// Settings](). #[prost(string, tag="3")] pub tier: ::prost::alloc::string::String, - /// The maximum size to which storage capacity can be automatically increased. - /// The default value is 0, which specifies that there is no limit. + /// The maximum size to which storage capacity can be automatically increased. + /// The default value is 0, which specifies that there is no limit. #[prost(message, optional, tag="4")] pub storage_auto_resize_limit: ::core::option::Option, - /// The activation policy specifies when the instance is activated; it is - /// applicable only when the instance state is 'RUNNABLE'. Valid values: + /// The activation policy specifies when the instance is activated; it is + /// applicable only when the instance state is 'RUNNABLE'. Valid values: /// - /// 'ALWAYS': The instance is on, and remains so even in - /// the absence of connection requests. + /// 'ALWAYS': The instance is on, and remains so even in + /// the absence of connection requests. /// - /// `NEVER`: The instance is off; it is not activated, even if a - /// connection request arrives. + /// `NEVER`: The instance is off; it is not activated, even if a + /// connection request arrives. #[prost(enumeration="cloud_sql_settings::SqlActivationPolicy", tag="5")] pub activation_policy: i32, - /// The settings for IP Management. This allows to enable or disable the - /// instance IP and manage which external networks can connect to the instance. - /// The IPv4 address cannot be disabled. + /// The settings for IP Management. This allows to enable or disable the + /// instance IP and manage which external networks can connect to the instance. + /// The IPv4 address cannot be disabled. #[prost(message, optional, tag="6")] pub ip_config: ::core::option::Option, - /// [default: ON] If you enable this setting, Cloud SQL checks your available - /// storage every 30 seconds. If the available storage falls below a threshold - /// size, Cloud SQL automatically adds additional storage capacity. If the - /// available storage repeatedly falls below the threshold size, Cloud SQL - /// continues to add storage until it reaches the maximum of 30 TB. + /// [default: ON] If you enable this setting, Cloud SQL checks your available + /// storage every 30 seconds. If the available storage falls below a threshold + /// size, Cloud SQL automatically adds additional storage capacity. If the + /// available storage repeatedly falls below the threshold size, Cloud SQL + /// continues to add storage until it reaches the maximum of 30 TB. #[prost(message, optional, tag="7")] pub auto_storage_increase: ::core::option::Option, - /// The database flags passed to the Cloud SQL instance at startup. - /// An object containing a list of "key": value pairs. - /// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. + /// The database flags passed to the Cloud SQL instance at startup. + /// An object containing a list of "key": value pairs. + /// Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. #[prost(map="string, string", tag="8")] pub database_flags: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The type of storage: `PD_SSD` (default) or `PD_HDD`. + /// The type of storage: `PD_SSD` (default) or `PD_HDD`. #[prost(enumeration="cloud_sql_settings::SqlDataDiskType", tag="9")] pub data_disk_type: i32, - /// The storage capacity available to the database, in GB. - /// The minimum (and default) size is 10GB. + /// The storage capacity available to the database, in GB. + /// The minimum (and default) size is 10GB. #[prost(message, optional, tag="10")] pub data_disk_size_gb: ::core::option::Option, - /// The Google Cloud Platform zone where your Cloud SQL datdabse instance is - /// located. + /// The Google Cloud Platform zone where your Cloud SQL datdabse instance is + /// located. #[prost(string, tag="11")] pub zone: ::prost::alloc::string::String, - /// The Database Migration Service source connection profile ID, - /// in the format: - /// `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID` + /// The Database Migration Service source connection profile ID, + /// in the format: + /// `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID` #[prost(string, tag="12")] pub source_id: ::prost::alloc::string::String, - /// Input only. Initial root password. + /// Input only. Initial root password. #[prost(string, tag="13")] pub root_password: ::prost::alloc::string::String, - /// Output only. Indicates If this connection profile root password is stored. + /// Output only. Indicates If this connection profile root password is stored. #[prost(bool, tag="14")] pub root_password_set: bool, - /// The Cloud SQL default instance level collation. + /// The Cloud SQL default instance level collation. #[prost(string, tag="15")] pub collation: ::prost::alloc::string::String, } /// Nested message and enum types in `CloudSqlSettings`. pub mod cloud_sql_settings { - /// Specifies when the instance should be activated. + /// Specifies when the instance should be activated. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SqlActivationPolicy { - /// unspecified policy. + /// unspecified policy. Unspecified = 0, - /// The instance is always up and running. + /// The instance is always up and running. Always = 1, - /// The instance should never spin up. + /// The instance should never spin up. Never = 2, } impl SqlActivationPolicy { @@ -279,15 +279,15 @@ pub mod cloud_sql_settings { } } } - /// The storage options for Cloud SQL databases. + /// The storage options for Cloud SQL databases. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SqlDataDiskType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// SSD disk. + /// SSD disk. PdSsd = 1, - /// HDD disk. + /// HDD disk. PdHdd = 2, } impl SqlDataDiskType { @@ -303,27 +303,27 @@ pub mod cloud_sql_settings { } } } - /// The database engine type and version. + /// The database engine type and version. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SqlDatabaseVersion { - /// Unspecified version. + /// Unspecified version. Unspecified = 0, - /// MySQL 5.6. + /// MySQL 5.6. Mysql56 = 1, - /// MySQL 5.7. + /// MySQL 5.7. Mysql57 = 2, - /// PostgreSQL 9.6. + /// PostgreSQL 9.6. Postgres96 = 3, - /// PostgreSQL 11. + /// PostgreSQL 11. Postgres11 = 4, - /// PostgreSQL 10. + /// PostgreSQL 10. Postgres10 = 5, - /// MySQL 8.0. + /// MySQL 8.0. Mysql80 = 6, - /// PostgreSQL 12. + /// PostgreSQL 12. Postgres12 = 7, - /// PostgreSQL 13. + /// PostgreSQL 13. Postgres13 = 8, } impl SqlDatabaseVersion { @@ -346,159 +346,159 @@ pub mod cloud_sql_settings { } } } -/// The source database will allow incoming connections from the destination -/// database's public IP. You can retrieve the Cloud SQL instance's public IP -/// from the Cloud SQL console or using Cloud SQL APIs. No additional -/// configuration is required. +/// The source database will allow incoming connections from the destination +/// database's public IP. You can retrieve the Cloud SQL instance's public IP +/// from the Cloud SQL console or using Cloud SQL APIs. No additional +/// configuration is required. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticIpConnectivity { } -/// The details needed to configure a reverse SSH tunnel between the source and -/// destination databases. These details will be used when calling the -/// generateSshScript method (see -/// ) -/// to produce the script that will help set up the reverse SSH tunnel, and to -/// set up the VPC peering between the Cloud SQL private network and the VPC. +/// The details needed to configure a reverse SSH tunnel between the source and +/// destination databases. These details will be used when calling the +/// generateSshScript method (see +/// ) +/// to produce the script that will help set up the reverse SSH tunnel, and to +/// set up the VPC peering between the Cloud SQL private network and the VPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReverseSshConnectivity { - /// Required. The IP of the virtual machine (Compute Engine) used as the bastion server - /// for the SSH tunnel. + /// Required. The IP of the virtual machine (Compute Engine) used as the bastion server + /// for the SSH tunnel. #[prost(string, tag="1")] pub vm_ip: ::prost::alloc::string::String, - /// Required. The forwarding port of the virtual machine (Compute Engine) used as the - /// bastion server for the SSH tunnel. + /// Required. The forwarding port of the virtual machine (Compute Engine) used as the + /// bastion server for the SSH tunnel. #[prost(int32, tag="2")] pub vm_port: i32, - /// The name of the virtual machine (Compute Engine) used as the bastion server - /// for the SSH tunnel. + /// The name of the virtual machine (Compute Engine) used as the bastion server + /// for the SSH tunnel. #[prost(string, tag="3")] pub vm: ::prost::alloc::string::String, - /// The name of the VPC to peer with the Cloud SQL private network. + /// The name of the VPC to peer with the Cloud SQL private network. #[prost(string, tag="4")] pub vpc: ::prost::alloc::string::String, } -/// The details of the VPC where the source database is located in Google Cloud. -/// We will use this information to set up the VPC peering connection between -/// Cloud SQL and this VPC. +/// The details of the VPC where the source database is located in Google Cloud. +/// We will use this information to set up the VPC peering connection between +/// Cloud SQL and this VPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcPeeringConnectivity { - /// The name of the VPC network to peer with the Cloud SQL private network. + /// The name of the VPC network to peer with the Cloud SQL private network. #[prost(string, tag="1")] pub vpc: ::prost::alloc::string::String, } -/// A message defining the database engine and provider. +/// A message defining the database engine and provider. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseType { - /// The database provider. + /// The database provider. #[prost(enumeration="DatabaseProvider", tag="1")] pub provider: i32, - /// The database engine. + /// The database engine. #[prost(enumeration="DatabaseEngine", tag="2")] pub engine: i32, } -/// Represents a Database Migration Service migration job object. +/// Represents a Database Migration Service migration job object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationJob { - /// The name (URI) of this migration job resource, in the form of: - /// projects/{project}/locations/{location}/instances/{instance}. + /// The name (URI) of this migration job resource, in the form of: + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The timestamp when the migration job resource was created. - /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. - /// Example: "2014-10-02T15:01:23.045123456Z". + /// Output only. The timestamp when the migration job resource was created. + /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. + /// Example: "2014-10-02T15:01:23.045123456Z". #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The timestamp when the migration job resource was last updated. - /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. - /// Example: "2014-10-02T15:01:23.045123456Z". + /// Output only. The timestamp when the migration job resource was last updated. + /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. + /// Example: "2014-10-02T15:01:23.045123456Z". #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The resource labels for migration job to use to annotate any related - /// underlying resources such as Compute Engine VMs. An object containing a - /// list of "key": "value" pairs. + /// The resource labels for migration job to use to annotate any related + /// underlying resources such as Compute Engine VMs. An object containing a + /// list of "key": "value" pairs. /// - /// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. + /// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The migration job display name. + /// The migration job display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// The current migration job state. + /// The current migration job state. #[prost(enumeration="migration_job::State", tag="6")] pub state: i32, - /// Output only. The current migration job phase. + /// Output only. The current migration job phase. #[prost(enumeration="migration_job::Phase", tag="7")] pub phase: i32, - /// Required. The migration job type. + /// Required. The migration job type. #[prost(enumeration="migration_job::Type", tag="8")] pub r#type: i32, - /// The path to the dump file in Google Cloud Storage, - /// in the format: (gs://\[BUCKET_NAME]/[OBJECT_NAME\]). + /// The path to the dump file in Google Cloud Storage, + /// in the format: (gs://\[BUCKET_NAME]/[OBJECT_NAME\]). #[prost(string, tag="9")] pub dump_path: ::prost::alloc::string::String, - /// Required. The resource name (URI) of the source connection profile. + /// Required. The resource name (URI) of the source connection profile. #[prost(string, tag="10")] pub source: ::prost::alloc::string::String, - /// Required. The resource name (URI) of the destination connection profile. + /// Required. The resource name (URI) of the destination connection profile. #[prost(string, tag="11")] pub destination: ::prost::alloc::string::String, - /// Output only. The duration of the migration job (in seconds). A duration in seconds - /// with up to nine fractional digits, terminated by 's'. Example: "3.5s". + /// Output only. The duration of the migration job (in seconds). A duration in seconds + /// with up to nine fractional digits, terminated by 's'. Example: "3.5s". #[prost(message, optional, tag="12")] pub duration: ::core::option::Option<::prost_types::Duration>, - /// Output only. The error details in case of state FAILED. + /// Output only. The error details in case of state FAILED. #[prost(message, optional, tag="13")] pub error: ::core::option::Option, - /// The database engine type and provider of the source. + /// The database engine type and provider of the source. #[prost(message, optional, tag="14")] pub source_database: ::core::option::Option, - /// The database engine type and provider of the destination. + /// The database engine type and provider of the destination. #[prost(message, optional, tag="15")] pub destination_database: ::core::option::Option, - /// Output only. If the migration job is completed, the time when it was completed. + /// Output only. If the migration job is completed, the time when it was completed. #[prost(message, optional, tag="16")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The connectivity method. + /// The connectivity method. #[prost(oneof="migration_job::Connectivity", tags="101, 102, 103")] pub connectivity: ::core::option::Option, } /// Nested message and enum types in `MigrationJob`. pub mod migration_job { - /// The current migration job states. + /// The current migration job states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the migration job is unknown. + /// The state of the migration job is unknown. Unspecified = 0, - /// The migration job is down for maintenance. + /// The migration job is down for maintenance. Maintenance = 1, - /// The migration job is in draft mode and no resources are created. + /// The migration job is in draft mode and no resources are created. Draft = 2, - /// The migration job is being created. + /// The migration job is being created. Creating = 3, - /// The migration job is created and not started. + /// The migration job is created and not started. NotStarted = 4, - /// The migration job is running. + /// The migration job is running. Running = 5, - /// The migration job failed. + /// The migration job failed. Failed = 6, - /// The migration job has been completed. + /// The migration job has been completed. Completed = 7, - /// The migration job is being deleted. + /// The migration job is being deleted. Deleting = 8, - /// The migration job is being stopped. + /// The migration job is being stopped. Stopping = 9, - /// The migration job is currently stopped. + /// The migration job is currently stopped. Stopped = 10, - /// The migration job has been deleted. + /// The migration job has been deleted. Deleted = 11, - /// The migration job is being updated. + /// The migration job is being updated. Updating = 12, - /// The migration job is starting. + /// The migration job is starting. Starting = 13, - /// The migration job is restarting. + /// The migration job is restarting. Restarting = 14, - /// The migration job is resuming. + /// The migration job is resuming. Resuming = 15, } impl State { @@ -527,21 +527,21 @@ pub mod migration_job { } } } - /// The current migration job phase. + /// The current migration job phase. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Phase { - /// The phase of the migration job is unknown. + /// The phase of the migration job is unknown. Unspecified = 0, - /// The migration job is in the full dump phase. + /// The migration job is in the full dump phase. FullDump = 1, - /// The migration job is CDC phase. + /// The migration job is CDC phase. Cdc = 2, - /// The migration job is running the promote phase. + /// The migration job is running the promote phase. PromoteInProgress = 3, - /// Only RDS flow - waiting for source writes to stop + /// Only RDS flow - waiting for source writes to stop WaitingForSourceWritesToStop = 4, - /// Only RDS flow - the sources writes stopped, waiting for dump to begin + /// Only RDS flow - the sources writes stopped, waiting for dump to begin PreparingTheDump = 5, } impl Phase { @@ -560,15 +560,15 @@ pub mod migration_job { } } } - /// The type of migration job (one-time or continuous). + /// The type of migration job (one-time or continuous). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// The type of the migration job is unknown. + /// The type of the migration job is unknown. Unspecified = 0, - /// The migration job is a one time migration. + /// The migration job is a one time migration. OneTime = 1, - /// The migration job is a continuous migration. + /// The migration job is a continuous migration. Continuous = 2, } impl Type { @@ -584,82 +584,82 @@ pub mod migration_job { } } } - /// The connectivity method. + /// The connectivity method. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Connectivity { - /// The details needed to communicate to the source over Reverse SSH - /// tunnel connectivity. + /// The details needed to communicate to the source over Reverse SSH + /// tunnel connectivity. #[prost(message, tag="101")] ReverseSshConnectivity(super::ReverseSshConnectivity), - /// The details of the VPC network that the source database is located in. + /// The details of the VPC network that the source database is located in. #[prost(message, tag="102")] VpcPeeringConnectivity(super::VpcPeeringConnectivity), - /// static ip connectivity data (default, no additional details needed). + /// static ip connectivity data (default, no additional details needed). #[prost(message, tag="103")] StaticIpConnectivity(super::StaticIpConnectivity), } } -/// A connection profile definition. +/// A connection profile definition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionProfile { - /// The name of this connection profile resource in the form of - /// projects/{project}/locations/{location}/instances/{instance}. + /// The name of this connection profile resource in the form of + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The timestamp when the resource was created. - /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. - /// Example: "2014-10-02T15:01:23.045123456Z". + /// Output only. The timestamp when the resource was created. + /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. + /// Example: "2014-10-02T15:01:23.045123456Z". #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The timestamp when the resource was last updated. - /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. - /// Example: "2014-10-02T15:01:23.045123456Z". + /// Output only. The timestamp when the resource was last updated. + /// A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. + /// Example: "2014-10-02T15:01:23.045123456Z". #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The resource labels for connection profile to use to annotate any related - /// underlying resources such as Compute Engine VMs. An object containing a - /// list of "key": "value" pairs. + /// The resource labels for connection profile to use to annotate any related + /// underlying resources such as Compute Engine VMs. An object containing a + /// list of "key": "value" pairs. /// - /// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. + /// Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The current connection profile state (e.g. DRAFT, READY, or FAILED). + /// The current connection profile state (e.g. DRAFT, READY, or FAILED). #[prost(enumeration="connection_profile::State", tag="5")] pub state: i32, - /// The connection profile display name. + /// The connection profile display name. #[prost(string, tag="6")] pub display_name: ::prost::alloc::string::String, - /// Output only. The error details in case of state FAILED. + /// Output only. The error details in case of state FAILED. #[prost(message, optional, tag="7")] pub error: ::core::option::Option, - /// The database provider. + /// The database provider. #[prost(enumeration="DatabaseProvider", tag="8")] pub provider: i32, - /// The connection profile definition. + /// The connection profile definition. #[prost(oneof="connection_profile::ConnectionProfile", tags="100, 101, 102")] pub connection_profile: ::core::option::Option, } /// Nested message and enum types in `ConnectionProfile`. pub mod connection_profile { - /// The current connection profile state (e.g. DRAFT, READY, or FAILED). + /// The current connection profile state (e.g. DRAFT, READY, or FAILED). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The state of the connection profile is unknown. + /// The state of the connection profile is unknown. Unspecified = 0, - /// The connection profile is in draft mode and fully editable. + /// The connection profile is in draft mode and fully editable. Draft = 1, - /// The connection profile is being created. + /// The connection profile is being created. Creating = 2, - /// The connection profile is ready. + /// The connection profile is ready. Ready = 3, - /// The connection profile is being updated. + /// The connection profile is being updated. Updating = 4, - /// The connection profile is being deleted. + /// The connection profile is being deleted. Deleting = 5, - /// The connection profile has been deleted. + /// The connection profile has been deleted. Deleted = 6, - /// The last action on the connection profile failed. + /// The last action on the connection profile failed. Failed = 7, } impl State { @@ -680,81 +680,81 @@ pub mod connection_profile { } } } - /// The connection profile definition. + /// The connection profile definition. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConnectionProfile { - /// A MySQL database connection profile. + /// A MySQL database connection profile. #[prost(message, tag="100")] Mysql(super::MySqlConnectionProfile), - /// A PostgreSQL database connection profile. + /// A PostgreSQL database connection profile. #[prost(message, tag="101")] Postgresql(super::PostgreSqlConnectionProfile), - /// A CloudSQL database connection profile. + /// A CloudSQL database connection profile. #[prost(message, tag="102")] Cloudsql(super::CloudSqlConnectionProfile), } } -/// Error message of a verification Migration job. +/// Error message of a verification Migration job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MigrationJobVerificationError { - /// Output only. An instance of ErrorCode specifying the error that occurred. + /// Output only. An instance of ErrorCode specifying the error that occurred. #[prost(enumeration="migration_job_verification_error::ErrorCode", tag="1")] pub error_code: i32, - /// Output only. A formatted message with further details about the error and a CTA. + /// Output only. A formatted message with further details about the error and a CTA. #[prost(string, tag="2")] pub error_message: ::prost::alloc::string::String, - /// Output only. A specific detailed error message, if supplied by the engine. + /// Output only. A specific detailed error message, if supplied by the engine. #[prost(string, tag="3")] pub error_detail_message: ::prost::alloc::string::String, } /// Nested message and enum types in `MigrationJobVerificationError`. pub mod migration_job_verification_error { - /// A general error code describing the type of error that occurred. + /// A general error code describing the type of error that occurred. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ErrorCode { - /// An unknown error occurred + /// An unknown error occurred Unspecified = 0, - /// We failed to connect to one of the connection profile. + /// We failed to connect to one of the connection profile. ConnectionFailure = 1, - /// We failed to authenticate to one of the connection profile. + /// We failed to authenticate to one of the connection profile. AuthenticationFailure = 2, - /// One of the involved connection profiles has an invalid configuration. + /// One of the involved connection profiles has an invalid configuration. InvalidConnectionProfileConfig = 3, - /// The versions of the source and the destination are incompatible. + /// The versions of the source and the destination are incompatible. VersionIncompatibility = 4, - /// The types of the source and the destination are incompatible. + /// The types of the source and the destination are incompatible. ConnectionProfileTypesIncompatibility = 5, - /// No pglogical extension installed on databases, applicable for postgres. + /// No pglogical extension installed on databases, applicable for postgres. NoPglogicalInstalled = 7, - /// pglogical node already exists on databases, applicable for postgres. + /// pglogical node already exists on databases, applicable for postgres. PglogicalNodeAlreadyExists = 8, - /// The value of parameter wal_level is not set to logical. + /// The value of parameter wal_level is not set to logical. InvalidWalLevel = 9, - /// The value of parameter shared_preload_libraries does not include - /// pglogical. + /// The value of parameter shared_preload_libraries does not include + /// pglogical. InvalidSharedPreloadLibrary = 10, - /// The value of parameter max_replication_slots is not sufficient. + /// The value of parameter max_replication_slots is not sufficient. InsufficientMaxReplicationSlots = 11, - /// The value of parameter max_wal_senders is not sufficient. + /// The value of parameter max_wal_senders is not sufficient. InsufficientMaxWalSenders = 12, - /// The value of parameter max_worker_processes is not sufficient. + /// The value of parameter max_worker_processes is not sufficient. InsufficientMaxWorkerProcesses = 13, - /// Extensions installed are either not supported or having unsupported - /// versions. + /// Extensions installed are either not supported or having unsupported + /// versions. UnsupportedExtensions = 14, - /// Unsupported migration type. + /// Unsupported migration type. UnsupportedMigrationType = 15, - /// Invalid RDS logical replication. + /// Invalid RDS logical replication. InvalidRdsLogicalReplication = 16, - /// The gtid_mode is not supported, applicable for MySQL. + /// The gtid_mode is not supported, applicable for MySQL. UnsupportedGtidMode = 17, - /// The table definition is not support due to missing primary key or replica - /// identity. + /// The table definition is not support due to missing primary key or replica + /// identity. UnsupportedTableDefinition = 18, - /// The definer is not supported. + /// The definer is not supported. UnsupportedDefiner = 19, - /// Migration is already running at the time of restart request. + /// Migration is already running at the time of restart request. CantRestartRunningMigration = 21, } impl ErrorCode { @@ -788,15 +788,15 @@ pub mod migration_job_verification_error { } } } -/// The database engine types. +/// The database engine types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseEngine { - /// The source database engine of the migration job is unknown. + /// The source database engine of the migration job is unknown. Unspecified = 0, - /// The source engine is MySQL. + /// The source engine is MySQL. Mysql = 1, - /// The source engine is PostgreSQL. + /// The source engine is PostgreSQL. Postgresql = 2, } impl DatabaseEngine { @@ -812,15 +812,15 @@ impl DatabaseEngine { } } } -/// The database providers. +/// The database providers. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseProvider { - /// The database provider is unknown. + /// The database provider is unknown. Unspecified = 0, - /// CloudSQL runs the database. + /// CloudSQL runs the database. Cloudsql = 1, - /// RDS runs the database. + /// RDS runs the database. Rds = 2, } impl DatabaseProvider { @@ -836,368 +836,368 @@ impl DatabaseProvider { } } } -/// Retrieve a list of all migration jobs in a given project and location. +/// Retrieve a list of all migration jobs in a given project and location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationJobsRequest { - /// Required. The parent, which owns this collection of migrationJobs. + /// Required. The parent, which owns this collection of migrationJobs. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of migration jobs to return. The service may return - /// fewer than this value. If unspecified, at most 50 migration jobs will be - /// returned. The maximum value is 1000; values above 1000 will be coerced to - /// 1000. + /// The maximum number of migration jobs to return. The service may return + /// fewer than this value. If unspecified, at most 50 migration jobs will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The nextPageToken value received in the previous call to - /// migrationJobs.list, used in the subsequent request to retrieve the next - /// page of results. On first call this should be left blank. When paginating, - /// all other parameters provided to migrationJobs.list must match the call - /// that provided the page token. + /// The nextPageToken value received in the previous call to + /// migrationJobs.list, used in the subsequent request to retrieve the next + /// page of results. On first call this should be left blank. When paginating, + /// all other parameters provided to migrationJobs.list must match the call + /// that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter expression that filters migration jobs listed in the response. - /// The expression must specify the field name, a comparison operator, and the - /// value that you want to use for filtering. The value must be a string, - /// a number, or a boolean. The comparison operator must be - /// either =, !=, >, or <. For example, list migration jobs created this year - /// by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** - /// You can also filter nested fields. For example, you could specify - /// **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration - /// jobs connecting through the specific SSH tunnel bastion. + /// A filter expression that filters migration jobs listed in the response. + /// The expression must specify the field name, a comparison operator, and the + /// value that you want to use for filtering. The value must be a string, + /// a number, or a boolean. The comparison operator must be + /// either =, !=, >, or <. For example, list migration jobs created this year + /// by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** + /// You can also filter nested fields. For example, you could specify + /// **reverseSshConnectivity.vmIp = "1.2.3.4"** to select all migration + /// jobs connecting through the specific SSH tunnel bastion. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Sort the results based on the migration job name. - /// Valid values are: "name", "name asc", and "name desc". + /// Sort the results based on the migration job name. + /// Valid values are: "name", "name asc", and "name desc". #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for 'ListMigrationJobs' request. +/// Response message for 'ListMigrationJobs' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMigrationJobsResponse { - /// The list of migration jobs objects. + /// The list of migration jobs objects. #[prost(message, repeated, tag="1")] pub migration_jobs: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for 'GetMigrationJob' request. +/// Request message for 'GetMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMigrationJobRequest { - /// Required. Name of the migration job resource to get. + /// Required. Name of the migration job resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message to create a new Database Migration Service migration job -/// in the specified project and region. +/// Request message to create a new Database Migration Service migration job +/// in the specified project and region. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateMigrationJobRequest { - /// Required. The parent, which owns this collection of migration jobs. + /// Required. The parent, which owns this collection of migration jobs. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the instance to create. + /// Required. The ID of the instance to create. #[prost(string, tag="2")] pub migration_job_id: ::prost::alloc::string::String, - /// Required. Represents a [migration - /// job]() - /// object. + /// Required. Represents a [migration + /// job]() + /// object. #[prost(message, optional, tag="3")] pub migration_job: ::core::option::Option, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// Request message for 'UpdateMigrationJob' request. +/// Request message for 'UpdateMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateMigrationJobRequest { - /// Required. Field mask is used to specify the fields to be overwritten in the - /// migration job resource by the update. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// migration job resource by the update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The migration job parameters to update. + /// Required. The migration job parameters to update. #[prost(message, optional, tag="2")] pub migration_job: ::core::option::Option, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for 'DeleteMigrationJob' request. +/// Request message for 'DeleteMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMigrationJobRequest { - /// Required. Name of the migration job resource to delete. + /// Required. Name of the migration job resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// The destination CloudSQL connection profile is always deleted with the - /// migration job. In case of force delete, the destination CloudSQL replica - /// database is also deleted. + /// The destination CloudSQL connection profile is always deleted with the + /// migration job. In case of force delete, the destination CloudSQL replica + /// database is also deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Request message for 'StartMigrationJob' request. +/// Request message for 'StartMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartMigrationJobRequest { - /// Name of the migration job resource to start. + /// Name of the migration job resource to start. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'StopMigrationJob' request. +/// Request message for 'StopMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopMigrationJobRequest { - /// Name of the migration job resource to stop. + /// Name of the migration job resource to stop. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'ResumeMigrationJob' request. +/// Request message for 'ResumeMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResumeMigrationJobRequest { - /// Name of the migration job resource to resume. + /// Name of the migration job resource to resume. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'PromoteMigrationJob' request. +/// Request message for 'PromoteMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PromoteMigrationJobRequest { - /// Name of the migration job resource to promote. + /// Name of the migration job resource to promote. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'VerifyMigrationJob' request. +/// Request message for 'VerifyMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VerifyMigrationJobRequest { - /// Name of the migration job resource to verify. + /// Name of the migration job resource to verify. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'RestartMigrationJob' request. +/// Request message for 'RestartMigrationJob' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestartMigrationJobRequest { - /// Name of the migration job resource to restart. + /// Name of the migration job resource to restart. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'GenerateSshScript' request. +/// Request message for 'GenerateSshScript' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenerateSshScriptRequest { - /// Name of the migration job resource to generate the SSH script. + /// Name of the migration job resource to generate the SSH script. #[prost(string, tag="1")] pub migration_job: ::prost::alloc::string::String, - /// Required. Bastion VM Instance name to use or to create. + /// Required. Bastion VM Instance name to use or to create. #[prost(string, tag="2")] pub vm: ::prost::alloc::string::String, - /// The port that will be open on the bastion host + /// The port that will be open on the bastion host #[prost(int32, tag="3")] pub vm_port: i32, - /// The VM configuration + /// The VM configuration #[prost(oneof="generate_ssh_script_request::VmConfig", tags="100, 101")] pub vm_config: ::core::option::Option, } /// Nested message and enum types in `GenerateSshScriptRequest`. pub mod generate_ssh_script_request { - /// The VM configuration + /// The VM configuration #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum VmConfig { - /// The VM creation configuration + /// The VM creation configuration #[prost(message, tag="100")] VmCreationConfig(super::VmCreationConfig), - /// The VM selection configuration + /// The VM selection configuration #[prost(message, tag="101")] VmSelectionConfig(super::VmSelectionConfig), } } -/// VM creation configuration message +/// VM creation configuration message #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmCreationConfig { - /// Required. VM instance machine type to create. + /// Required. VM instance machine type to create. #[prost(string, tag="1")] pub vm_machine_type: ::prost::alloc::string::String, - /// The Google Cloud Platform zone to create the VM in. + /// The Google Cloud Platform zone to create the VM in. #[prost(string, tag="2")] pub vm_zone: ::prost::alloc::string::String, - /// The subnet name the vm needs to be created in. + /// The subnet name the vm needs to be created in. #[prost(string, tag="3")] pub subnet: ::prost::alloc::string::String, } -/// VM selection configuration message +/// VM selection configuration message #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmSelectionConfig { - /// Required. The Google Cloud Platform zone the VM is located. + /// Required. The Google Cloud Platform zone the VM is located. #[prost(string, tag="1")] pub vm_zone: ::prost::alloc::string::String, } -/// Response message for 'GenerateSshScript' request. +/// Response message for 'GenerateSshScript' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SshScript { - /// The ssh configuration script. + /// The ssh configuration script. #[prost(string, tag="1")] pub script: ::prost::alloc::string::String, } -/// Request message for 'ListConnectionProfiles' request. +/// Request message for 'ListConnectionProfiles' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesRequest { - /// Required. The parent, which owns this collection of connection profiles. + /// Required. The parent, which owns this collection of connection profiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of connection profiles to return. The service may return - /// fewer than this value. If unspecified, at most 50 connection profiles will - /// be returned. The maximum value is 1000; values above 1000 will be coerced - /// to 1000. + /// The maximum number of connection profiles to return. The service may return + /// fewer than this value. If unspecified, at most 50 connection profiles will + /// be returned. The maximum value is 1000; values above 1000 will be coerced + /// to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListConnectionProfiles` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListConnectionProfiles` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListConnectionProfiles` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListConnectionProfiles` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter expression that filters connection profiles listed in the - /// response. The expression must specify the field name, a comparison - /// operator, and the value that you want to use for filtering. The value must - /// be a string, a number, or a boolean. The comparison operator must be either - /// =, !=, >, or <. For example, list connection profiles created this year by - /// specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can - /// also filter nested fields. For example, you could specify **mySql.username - /// = %lt;my_username%gt;** to list all connection profiles configured to - /// connect with a specific username. + /// A filter expression that filters connection profiles listed in the + /// response. The expression must specify the field name, a comparison + /// operator, and the value that you want to use for filtering. The value must + /// be a string, a number, or a boolean. The comparison operator must be either + /// =, !=, >, or <. For example, list connection profiles created this year by + /// specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z**. You can + /// also filter nested fields. For example, you could specify **mySql.username + /// = %lt;my_username%gt;** to list all connection profiles configured to + /// connect with a specific username. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// the order by fields for the result. + /// the order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for 'ListConnectionProfiles' request. +/// Response message for 'ListConnectionProfiles' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesResponse { - /// The response list of connection profiles. + /// The response list of connection profiles. #[prost(message, repeated, tag="1")] pub connection_profiles: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for 'GetConnectionProfile' request. +/// Request message for 'GetConnectionProfile' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionProfileRequest { - /// Required. Name of the connection profile resource to get. + /// Required. Name of the connection profile resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for 'CreateConnectionProfile' request. +/// Request message for 'CreateConnectionProfile' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionProfileRequest { - /// Required. The parent, which owns this collection of connection profiles. + /// Required. The parent, which owns this collection of connection profiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The connection profile identifier. + /// Required. The connection profile identifier. #[prost(string, tag="2")] pub connection_profile_id: ::prost::alloc::string::String, - /// Required. The create request body including the connection profile data + /// Required. The create request body including the connection profile data #[prost(message, optional, tag="3")] pub connection_profile: ::core::option::Option, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// Request message for 'UpdateConnectionProfile' request. +/// Request message for 'UpdateConnectionProfile' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionProfileRequest { - /// Required. Field mask is used to specify the fields to be overwritten in the - /// connection profile resource by the update. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// connection profile resource by the update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The connection profile parameters to update. + /// Required. The connection profile parameters to update. #[prost(message, optional, tag="2")] pub connection_profile: ::core::option::Option, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// Request message for 'DeleteConnectionProfile' request. +/// Request message for 'DeleteConnectionProfile' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionProfileRequest { - /// Required. Name of the connection profile resource to delete. + /// Required. Name of the connection profile resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A unique id used to identify the request. If the server receives two - /// requests with the same id, then the second request will be ignored. + /// A unique id used to identify the request. If the server receives two + /// requests with the same id, then the second request will be ignored. /// - /// It is recommended to always set this value to a UUID. + /// It is recommended to always set this value to a UUID. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores - /// (_), and hyphens (-). The maximum length is 40 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), underscores + /// (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// In case of force delete, the CloudSQL replica database is also deleted - /// (only for CloudSQL connection profile). + /// In case of force delete, the CloudSQL replica database is also deleted + /// (only for CloudSQL connection profile). #[prost(bool, tag="3")] pub force: bool, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.cloudsetup.logging.v1.rs b/gcloud-sdk/genproto/google.cloud.cloudsetup.logging.v1.rs index 29add7e71..702aaded7 100644 --- a/gcloud-sdk/genproto/google.cloud.cloudsetup.logging.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.cloudsetup.logging.v1.rs @@ -1,20 +1,20 @@ -/// JSON payload for the Cloud Logging event: -/// `organizations/\[organizationId\]/logs/cloudsetup.googleapis.com%2Fcomplete_deployment`. -/// This event gets emitted upon completion of a config deployment as part of the -/// Cloud Setup Checklist. +/// JSON payload for the Cloud Logging event: +/// `organizations/\[organizationId\]/logs/cloudsetup.googleapis.com%2Fcomplete_deployment`. +/// This event gets emitted upon completion of a config deployment as part of the +/// Cloud Setup Checklist. /// -/// The deployment can fail even if it returns a -/// `config.googleapis.com/Deployment`. The state of that message will be -/// `FAILED`. Hence, if there is a `value` present, the `state` can still be, -/// `FAILED`. The message for the error or failure will be on the `error` or the -/// `value` if the Operation results in an error or if the `state` of the -/// Deployment is `FAILED`, respectively. +/// The deployment can fail even if it returns a +/// `config.googleapis.com/Deployment`. The state of that message will be +/// `FAILED`. Hence, if there is a `value` present, the `state` can still be, +/// `FAILED`. The message for the error or failure will be on the `error` or the +/// `value` if the Operation results in an error or if the `state` of the +/// Deployment is `FAILED`, respectively. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompleteDeploymentEvent { - /// The `state` of this deployment completion event. + /// The `state` of this deployment completion event. #[prost(enumeration="complete_deployment_event::State", tag="3")] pub state: i32, - /// Flag to indicate if deployment is preview only. + /// Flag to indicate if deployment is preview only. #[prost(bool, tag="4")] pub preview_only: bool, #[prost(oneof="complete_deployment_event::Result", tags="1, 2")] @@ -22,17 +22,17 @@ pub struct CompleteDeploymentEvent { } /// Nested message and enum types in `CompleteDeploymentEvent`. pub mod complete_deployment_event { - /// State of the completed deployment. + /// State of the completed deployment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The zero value. It is applied when `state` is unset. Do not use. + /// The zero value. It is applied when `state` is unset. Do not use. Unspecified = 0, - /// Indicates that a Deployment value was present when the config deployment - /// finished and the State was anything other than FAILED. + /// Indicates that a Deployment value was present when the config deployment + /// finished and the State was anything other than FAILED. Succeeded = 1, - /// Indicates that the Operation result was an error or the Deployment - /// `state` was FAILED. + /// Indicates that the Operation result was an error or the Deployment + /// `state` was FAILED. Failed = 2, } impl State { @@ -50,27 +50,27 @@ pub mod complete_deployment_event { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Result { - /// Result of the Deployment recorded upon completion. + /// Result of the Deployment recorded upon completion. #[prost(message, tag="1")] Value(super::CompleteDeploymentResult), - /// Result of the Deployment if the `Operation` results in an error. + /// Result of the Deployment if the `Operation` results in an error. #[prost(message, tag="2")] Error(super::super::super::super::super::rpc::Status), } } -/// This message is used when the CompleteDeploymentEvent has a value. +/// This message is used when the CompleteDeploymentEvent has a value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompleteDeploymentResult { - /// This is the Deployment that completed. - /// Format is projects/{project}/locations/{location}/deployments/{name}. + /// This is the Deployment that completed. + /// Format is projects/{project}/locations/{location}/deployments/{name}. #[prost(string, tag="1")] pub deployment: ::prost::alloc::string::String, - /// This is the Preview that completed. - /// Format is projects/{project}/locations/{location}/previews/{preview} + /// This is the Preview that completed. + /// Format is projects/{project}/locations/{location}/previews/{preview} #[prost(string, tag="3")] pub preview: ::prost::alloc::string::String, - /// The message that is returned when a deployment completes. This **can** be - /// an error message if the `Deployment` `state` is `FAILED`. + /// The message that is returned when a deployment completes. This **can** be + /// an error message if the `Deployment` `state` is `FAILED`. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.commerce.consumer.procurement.v1alpha1.rs b/gcloud-sdk/genproto/google.cloud.commerce.consumer.procurement.v1alpha1.rs index 3d89e5e63..ae29bd2af 100644 --- a/gcloud-sdk/genproto/google.cloud.commerce.consumer.procurement.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.cloud.commerce.consumer.procurement.v1alpha1.rs @@ -1,127 +1,127 @@ -/// Represents a purchase made by a customer on Cloud Marketplace. -/// Creating an order makes sure that both the Google backend systems -/// as well as external service provider's systems (if needed) allow use of -/// purchased products and ensures the appropriate billing events occur. +/// Represents a purchase made by a customer on Cloud Marketplace. +/// Creating an order makes sure that both the Google backend systems +/// as well as external service provider's systems (if needed) allow use of +/// purchased products and ensures the appropriate billing events occur. /// -/// An Order can be made against one Product with multiple add-ons (optional) or -/// one Quote which might reference multiple products. +/// An Order can be made against one Product with multiple add-ons (optional) or +/// one Quote which might reference multiple products. /// -/// Customers typically choose a price plan for each Product purchased when -/// they create an order and can change their plan later, if the product allows. +/// Customers typically choose a price plan for each Product purchased when +/// they create an order and can change their plan later, if the product allows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Order { - /// Output only. The resource name of the order. - /// Has the form - /// `billingAccounts/{billing_account}/orders/{order}`. + /// Output only. The resource name of the order. + /// Has the form + /// `billingAccounts/{billing_account}/orders/{order}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The user-specified name of the order. - /// Must be unique within a billing account. + /// Required. The user-specified name of the order. + /// Must be unique within a billing account. #[prost(string, tag="10")] pub display_name: ::prost::alloc::string::String, - /// Output only. The items being purchased. + /// Output only. The items being purchased. #[prost(message, repeated, tag="6")] pub line_items: ::prost::alloc::vec::Vec, - /// Output only. Line items that were cancelled. + /// Output only. Line items that were cancelled. #[prost(message, repeated, tag="7")] pub cancelled_line_items: ::prost::alloc::vec::Vec, - /// Output only. The creation timestamp. + /// Output only. The creation timestamp. #[prost(message, optional, tag="8")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update timestamp. + /// Output only. The last update timestamp. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The weak etag of the order. + /// The weak etag of the order. #[prost(string, tag="11")] pub etag: ::prost::alloc::string::String, } -/// A single item within an order. +/// A single item within an order. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LineItem { - /// Output only. Line item ID. + /// Output only. Line item ID. #[prost(string, tag="1")] pub line_item_id: ::prost::alloc::string::String, - /// Output only. Current state and information of this item. It tells what, - /// e.g. which offer, is currently effective. + /// Output only. Current state and information of this item. It tells what, + /// e.g. which offer, is currently effective. #[prost(message, optional, tag="2")] pub line_item_info: ::core::option::Option, - /// Output only. A change made on the item which is pending and not yet - /// effective. Absence of this field indicates the line item is not undergoing - /// a change. + /// Output only. A change made on the item which is pending and not yet + /// effective. Absence of this field indicates the line item is not undergoing + /// a change. #[prost(message, optional, tag="3")] pub pending_change: ::core::option::Option, - /// Output only. Changes made on the item that are not pending anymore which might be - /// because they already took effect, were reverted by the customer, or were - /// rejected by the partner. No more operations are allowed on these changes. + /// Output only. Changes made on the item that are not pending anymore which might be + /// because they already took effect, were reverted by the customer, or were + /// rejected by the partner. No more operations are allowed on these changes. #[prost(message, repeated, tag="4")] pub change_history: ::prost::alloc::vec::Vec, } -/// A change made on a line item. +/// A change made on a line item. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LineItemChange { - /// Output only. Change ID. - /// All changes made within one order update operation have the same change_id. + /// Output only. Change ID. + /// All changes made within one order update operation have the same change_id. #[prost(string, tag="1")] pub change_id: ::prost::alloc::string::String, - /// Required. Type of the change to make. + /// Required. Type of the change to make. #[prost(enumeration="LineItemChangeType", tag="2")] pub change_type: i32, - /// Output only. Line item info before the change. + /// Output only. Line item info before the change. #[prost(message, optional, tag="3")] pub old_line_item_info: ::core::option::Option, - /// Line item info after the change. + /// Line item info after the change. #[prost(message, optional, tag="4")] pub new_line_item_info: ::core::option::Option, - /// Output only. State of the change. + /// Output only. State of the change. #[prost(enumeration="LineItemChangeState", tag="5")] pub change_state: i32, - /// Output only. Provider-supplied message explaining the LineItemChange's - /// state. Mainly used to communicate progress and ETA for provisioning in the - /// case of `PENDING_APPROVAL`, and to explain why the change request was - /// denied or canceled in the case of `REJECTED` and `CANCELED` states. + /// Output only. Provider-supplied message explaining the LineItemChange's + /// state. Mainly used to communicate progress and ETA for provisioning in the + /// case of `PENDING_APPROVAL`, and to explain why the change request was + /// denied or canceled in the case of `REJECTED` and `CANCELED` states. #[prost(string, tag="6")] pub state_reason: ::prost::alloc::string::String, - /// Output only. Predefined enum types for why this line item change is in current state. - /// For example, a line item change's state could be - /// `LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration, - /// immediate cancellation initiated by the user, or system-initiated - /// cancellation. + /// Output only. Predefined enum types for why this line item change is in current state. + /// For example, a line item change's state could be + /// `LINE_ITEM_CHANGE_STATE_COMPLETED` because of end-of-term expiration, + /// immediate cancellation initiated by the user, or system-initiated + /// cancellation. #[prost(enumeration="LineItemChangeStateReasonType", tag="10")] pub change_state_reason_type: i32, - /// Output only. A time at which the change became or will become (in case of - /// pending change) effective. + /// Output only. A time at which the change became or will become (in case of + /// pending change) effective. #[prost(message, optional, tag="7")] pub change_effective_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when change was initiated. + /// Output only. The time when change was initiated. #[prost(message, optional, tag="8")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when change was updated, e.g. approved/rejected by - /// partners or cancelled by the user. + /// Output only. The time when change was updated, e.g. approved/rejected by + /// partners or cancelled by the user. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Line item information. +/// Line item information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LineItemInfo { - /// Optional. The name of the offer can have either of these formats: - /// 'billingAccounts/{billing_account}/offers/{offer}', - /// or 'services/{service}/standardOffers/{offer}'. + /// Optional. The name of the offer can have either of these formats: + /// 'billingAccounts/{billing_account}/offers/{offer}', + /// or 'services/{service}/standardOffers/{offer}'. #[prost(string, tag="13")] pub offer: ::prost::alloc::string::String, - /// Optional. User-provided parameters. + /// Optional. User-provided parameters. #[prost(message, repeated, tag="9")] pub parameters: ::prost::alloc::vec::Vec, - /// Output only. Information about the subscription created, if applicable. + /// Output only. Information about the subscription created, if applicable. #[prost(message, optional, tag="10")] pub subscription: ::core::option::Option, } -/// User-provided Parameters. +/// User-provided Parameters. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Name of the parameter. + /// Name of the parameter. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Value of parameter. + /// Value of parameter. #[prost(message, optional, tag="2")] pub value: ::core::option::Option, } @@ -129,55 +129,55 @@ pub struct Parameter { pub mod parameter { #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// The kind of value. + /// The kind of value. #[prost(oneof="value::Kind", tags="3, 4, 5")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// The kind of value. + /// The kind of value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Represents an int64 value. + /// Represents an int64 value. #[prost(int64, tag="3")] Int64Value(i64), - /// Represents a string value. + /// Represents a string value. #[prost(string, tag="4")] StringValue(::prost::alloc::string::String), - /// Represents a double value. + /// Represents a double value. #[prost(double, tag="5")] DoubleValue(f64), } } } -/// Subscription information. +/// Subscription information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Subscription { - /// The timestamp when the subscription begins, if applicable. + /// The timestamp when the subscription begins, if applicable. #[prost(message, optional, tag="3")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The timestamp when the subscription ends, if applicable. + /// The timestamp when the subscription ends, if applicable. #[prost(message, optional, tag="1")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Whether auto renewal is enabled by user choice on current subscription. - /// This field indicates order/subscription status after pending plan change is - /// cancelled or rejected. + /// Whether auto renewal is enabled by user choice on current subscription. + /// This field indicates order/subscription status after pending plan change is + /// cancelled or rejected. #[prost(bool, tag="2")] pub auto_renewal_enabled: bool, } -/// Type of a line item change. +/// Type of a line item change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LineItemChangeType { - /// Sentinel value. Do not use. + /// Sentinel value. Do not use. Unspecified = 0, - /// The change is to create a new line item. + /// The change is to create a new line item. Create = 1, - /// The change is to update an existing line item. + /// The change is to update an existing line item. Update = 2, - /// The change is to cancel an existing line item. + /// The change is to cancel an existing line item. Cancel = 3, - /// The change is to revert a cancellation. + /// The change is to revert a cancellation. RevertCancellation = 4, } impl LineItemChangeType { @@ -195,29 +195,29 @@ impl LineItemChangeType { } } } -/// State of a change. +/// State of a change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LineItemChangeState { - /// Sentinel value. Do not use. + /// Sentinel value. Do not use. Unspecified = 0, - /// Change is in this state when a change is initiated and waiting for - /// partner approval. + /// Change is in this state when a change is initiated and waiting for + /// partner approval. PendingApproval = 1, - /// Change is in this state after it's approved by the partner or auto-approved - /// but before it takes effect. The change can be overwritten - /// or cancelled depending on the new line item info property (pending Private - /// Offer change cannot be cancelled and can only be overwritten by another - /// Private Offer). + /// Change is in this state after it's approved by the partner or auto-approved + /// but before it takes effect. The change can be overwritten + /// or cancelled depending on the new line item info property (pending Private + /// Offer change cannot be cancelled and can only be overwritten by another + /// Private Offer). Approved = 2, - /// Change is in this state after it's been activated. + /// Change is in this state after it's been activated. Completed = 3, - /// Change is in this state if it was rejected by the partner. + /// Change is in this state if it was rejected by the partner. Rejected = 4, - /// Change is in this state if it was abandoned by the user. + /// Change is in this state if it was abandoned by the user. Abandoned = 5, - /// Change is in this state if it's currently being provisioned downstream. The - /// change can't be overwritten or cancelled when it's in this state. + /// Change is in this state if it's currently being provisioned downstream. The + /// change can't be overwritten or cancelled when it's in this state. Activating = 6, } impl LineItemChangeState { @@ -237,18 +237,18 @@ impl LineItemChangeState { } } } -/// Predefined types for line item change state reason. +/// Predefined types for line item change state reason. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LineItemChangeStateReasonType { - /// Default value, indicating there's no predefined type for change state - /// reason. + /// Default value, indicating there's no predefined type for change state + /// reason. Unspecified = 0, - /// Change is in current state due to term expiration. + /// Change is in current state due to term expiration. Expired = 1, - /// Change is in current state due to user-initiated cancellation. + /// Change is in current state due to user-initiated cancellation. UserCancelled = 2, - /// Change is in current state due to system-initiated cancellation. + /// Change is in current state due to system-initiated cancellation. SystemCancelled = 3, } impl LineItemChangeStateReasonType { @@ -265,81 +265,81 @@ impl LineItemChangeStateReasonType { } } } -/// Request message for \[ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder\]. +/// Request message for \[ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlaceOrderRequest { - /// Required. The resource name of the parent resource. - /// This field has the form `billingAccounts/{billing-account-id}`. + /// Required. The resource name of the parent resource. + /// This field has the form `billingAccounts/{billing-account-id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The user-specified name of the order being placed. - /// Must be unique within a billing account. + /// Required. The user-specified name of the order being placed. + /// Must be unique within a billing account. #[prost(string, tag="6")] pub display_name: ::prost::alloc::string::String, - /// Optional. Places order for offer. Required when an offer-based order is being placed. + /// Optional. Places order for offer. Required when an offer-based order is being placed. #[prost(message, repeated, tag="10")] pub line_item_info: ::prost::alloc::vec::Vec, - /// Optional. A unique identifier for this request. - /// The server will ignore subsequent requests that provide a duplicate request - /// ID for at least 120 minutes after the first request. + /// Optional. A unique identifier for this request. + /// The server will ignore subsequent requests that provide a duplicate request + /// ID for at least 120 minutes after the first request. /// - /// The request ID must be a valid - /// \[UUID\](). + /// The request ID must be a valid + /// \[UUID\](). #[prost(string, tag="7")] pub request_id: ::prost::alloc::string::String, } -/// Message stored in the metadata field of the Operation returned by -/// \[ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder\]. +/// Message stored in the metadata field of the Operation returned by +/// \[ConsumerProcurementService.PlaceOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.PlaceOrder\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlaceOrderMetadata { } -/// Request message for \[ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.GetOrder\] +/// Request message for \[ConsumerProcurementService.GetOrder][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.GetOrder\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetOrderRequest { - /// Required. The name of the order to retrieve. + /// Required. The name of the order to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for \[ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders\]. +/// Request message for \[ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrdersRequest { - /// Required. The parent resource to query for orders. - /// This field has the form `billingAccounts/{billing-account-id}`. + /// Required. The parent resource to query for orders. + /// This field has the form `billingAccounts/{billing-account-id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of entries requested. - /// The default page size is 25 and the maximum page size is 200. + /// The maximum number of entries requested. + /// The default page size is 25 and the maximum page size is 200. #[prost(int32, tag="2")] pub page_size: i32, - /// The token for fetching the next page. + /// The token for fetching the next page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter that you can use to limit the list request. + /// Filter that you can use to limit the list request. /// - /// A query string that can match a selected set of attributes - /// with string values. For example, `display_name=abc`. - /// Supported query attributes are + /// A query string that can match a selected set of attributes + /// with string values. For example, `display_name=abc`. + /// Supported query attributes are /// - /// * `display_name` + /// * `display_name` /// - /// If the query contains special characters other than letters, - /// underscore, or digits, the phrase must be quoted with double quotes. For - /// example, `display_name="foo:bar"`, where the display name needs to be - /// quoted because it contains special character colon. + /// If the query contains special characters other than letters, + /// underscore, or digits, the phrase must be quoted with double quotes. For + /// example, `display_name="foo:bar"`, where the display name needs to be + /// quoted because it contains special character colon. /// - /// Queries can be combined with `OR`, and `NOT` to form more complex queries. - /// You can also group them to force a desired evaluation order. - /// For example, `display_name=abc OR display_name=def`. + /// Queries can be combined with `OR`, and `NOT` to form more complex queries. + /// You can also group them to force a desired evaluation order. + /// For example, `display_name=abc OR display_name=def`. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for \[ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders\]. +/// Response message for \[ConsumerProcurementService.ListOrders][google.cloud.commerce.consumer.procurement.v1alpha1.ConsumerProcurementService.ListOrders\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListOrdersResponse { - /// The list of orders in this response. + /// The list of orders in this response. #[prost(message, repeated, tag="1")] pub orders: ::prost::alloc::vec::Vec, - /// The token for fetching the next page. + /// The token for fetching the next page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.common.rs b/gcloud-sdk/genproto/google.cloud.common.rs index 3bac94eca..97bb5f8a6 100644 --- a/gcloud-sdk/genproto/google.cloud.common.rs +++ b/gcloud-sdk/genproto/google.cloud.common.rs @@ -1,28 +1,28 @@ -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_detail: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub cancel_requested: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.compute.v1.rs b/gcloud-sdk/genproto/google.cloud.compute.v1.rs index b788cd959..f4b5b7110 100644 --- a/gcloud-sdk/genproto/google.cloud.compute.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.compute.v1.rs @@ -1,200 +1,200 @@ /// -/// Messages +/// Messages /// -/// A request message for InstanceGroupManagers.AbandonInstances. See the method description for details. +/// A request message for InstanceGroupManagers.AbandonInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AbandonInstancesInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="320929016")] pub instance_group_managers_abandon_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.AbandonInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.AbandonInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AbandonInstancesRegionInstanceGroupManagerRequest { - /// Name of the managed instance group. + /// Name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="488499491")] pub region_instance_group_managers_abandon_instances_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A specification of the type and number of accelerator cards attached to the instance. +/// A specification of the type and number of accelerator cards attached to the instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorConfig { - /// The number of the guest accelerator cards exposed to this instance. + /// The number of the guest accelerator cards exposed to this instance. #[prost(int32, optional, tag="504879675")] pub accelerator_count: ::core::option::Option, - /// Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types. + /// Full or partial URL of the accelerator type resource to attach to this instance. For example: projects/my-project/zones/us-central1-c/acceleratorTypes/nvidia-tesla-p100 If you are creating an instance template, specify only the accelerator name. See GPUs on Compute Engine for a full list of accelerator types. #[prost(string, optional, tag="138031246")] pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine. +/// Represents an Accelerator Type resource. Google Cloud Platform provides graphics processing units (accelerators) that you can add to VM instances to improve or accelerate performance when working with intensive workloads. For more information, read GPUs on Compute Engine. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorType { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The deprecation status associated with this accelerator type. + /// [Output Only] The deprecation status associated with this accelerator type. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] An optional textual description of the resource. + /// [Output Only] An optional textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. + /// [Output Only] The type of the resource. Always compute#acceleratorType for accelerator types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Maximum number of accelerator cards allowed per instance. + /// [Output Only] Maximum number of accelerator cards allowed per instance. #[prost(int32, optional, tag="263814482")] pub maximum_cards_per_instance: ::core::option::Option, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined, fully qualified URL for this resource. + /// [Output Only] Server-defined, fully qualified URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] The name of the zone where the accelerator type resides, such as us-central1-a. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorTypeAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of AcceleratorTypesScopedList resources. + /// A list of AcceleratorTypesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, AcceleratorTypesScopedList>, - /// [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types. + /// [Output Only] Type of resource. Always compute#acceleratorTypeAggregatedList for aggregated lists of accelerator types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of accelerator types. +/// Contains a list of accelerator types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorTypeList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of AcceleratorType resources. + /// A list of AcceleratorType resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types. + /// [Output Only] Type of resource. Always compute#acceleratorTypeList for lists of accelerator types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorTypesScopedList { - /// [Output Only] A list of accelerator types contained in this scope. + /// [Output Only] A list of accelerator types contained in this scope. #[prost(message, repeated, tag="520872357")] pub accelerator_types: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that appears when the accelerator types list is empty. + /// [Output Only] An informational warning that appears when the accelerator types list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Accelerators { - /// Number of accelerator cards exposed to the guest. + /// Number of accelerator cards exposed to the guest. #[prost(int32, optional, tag="479079316")] pub guest_accelerator_count: ::core::option::Option, - /// The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. + /// The accelerator type resource name, not a full URL, e.g. 'nvidia-tesla-k80'. #[prost(string, optional, tag="293064725")] pub guest_accelerator_type: ::core::option::Option<::prost::alloc::string::String>, } -/// An access configuration attached to an instance's network interface. Only one access config per instance is supported. +/// An access configuration attached to an instance's network interface. Only one access config per instance is supported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessConfig { - /// The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically. + /// The first IPv6 address of the external IPv6 range associated with this instance, prefix length is stored in externalIpv6PrefixLength in ipv6AccessConfig. The field is output only, an IPv6 address from a subnetwork associated with the instance will be allocated dynamically. #[prost(string, optional, tag="532703707")] pub external_ipv6: ::core::option::Option<::prost::alloc::string::String>, - /// The prefix length of the external IPv6 range. + /// The prefix length of the external IPv6 range. #[prost(int32, optional, tag="425672143")] pub external_ipv6_prefix_length: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#accessConfig for access configs. + /// [Output Only] Type of the resource. Always compute#accessConfig for access configs. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. + /// The name of this access configuration. The default and recommended name is External NAT, but you can use any arbitrary string, such as My external IP or Network Access. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance. + /// An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance. #[prost(string, optional, tag="117634556")] pub nat_i_p: ::core::option::Option<::prost::alloc::string::String>, - /// This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. - /// Check the NetworkTier enum for the list of possible values. + /// This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. + /// Check the NetworkTier enum for the list of possible values. #[prost(string, optional, tag="517397843")] pub network_tier: ::core::option::Option<::prost::alloc::string::String>, - /// The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range. + /// The DNS domain name for the public PTR record. You can set this field only if the `setPublicPtr` field is enabled in accessConfig. If this field is unspecified in ipv6AccessConfig, a default PTR record will be createc for first IP in associated external IPv6 range. #[prost(string, optional, tag="316599167")] pub public_ptr_domain_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated. + /// Specifies whether a public DNS 'PTR' record should be created to map the external IP address of the instance to a DNS domain name. This field is not used in ipv6AccessConfig. A default PTR record will be created if the VM has external IPv6 range associated. #[prost(bool, optional, tag="523870229")] pub set_public_ptr: ::core::option::Option, - /// The type of configuration. The default and only option is ONE_TO_ONE_NAT. - /// Check the Type enum for the list of possible values. + /// The type of configuration. The default and only option is ONE_TO_ONE_NAT. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AccessConfig`. pub mod access_config { - /// This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. + /// This signifies the networking tier used for configuring this access configuration and can only take the following values: PREMIUM, STANDARD. If an AccessConfig is specified without a valid external IP address, an ephemeral IP will be created with this networkTier. If an AccessConfig with a valid external IP address is specified, it must match that of the networkTier associated with the Address resource owning that IP. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkTier = 0, - /// Public internet quality with fixed bandwidth. + /// Public internet quality with fixed bandwidth. FixedStandard = 310464328, - /// High quality, Google-grade network tier, support for all networking products. + /// High quality, Google-grade network tier, support for all networking products. Premium = 399530551, - /// Public internet quality, only limited support for other networking products. + /// Public internet quality, only limited support for other networking products. Standard = 484642493, - /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. StandardOverridesFixedStandard = 465847234, } impl NetworkTier { @@ -212,11 +212,11 @@ pub mod access_config { } } } - /// The type of configuration. The default and only option is ONE_TO_ONE_NAT. + /// The type of configuration. The default and only option is ONE_TO_ONE_NAT. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, DirectIpv6 = 4397213, OneToOneNat = 84090205, @@ -235,413 +235,413 @@ pub mod access_config { } } } -/// A request message for Instances.AddAccessConfig. See the method description for details. +/// A request message for Instances.AddAccessConfig. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddAccessConfigInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="387825552")] pub access_config_resource: ::core::option::Option, - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The name of the network interface to add to this instance. + /// The name of the network interface to add to this instance. #[prost(string, tag="365387880")] pub network_interface: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for FirewallPolicies.AddAssociation. See the method description for details. +/// A request message for FirewallPolicies.AddAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddAssociationFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259546170")] pub firewall_policy_association_resource: ::core::option::Option, - /// Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists. + /// Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists. #[prost(bool, optional, tag="209541240")] pub replace_existing_association: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details. +/// A request message for NetworkFirewallPolicies.AddAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddAssociationNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259546170")] pub firewall_policy_association_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists. + /// Indicates whether or not to replace it if an association of the attachment already exists. This is false by default, in which case an error will be returned if an association already exists. #[prost(bool, optional, tag="209541240")] pub replace_existing_association: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.AddAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddAssociationRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259546170")] pub firewall_policy_association_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists. + /// Indicates whether or not to replace it if an association already exists. This is false by default, in which case an error will be returned if an association already exists. #[prost(bool, optional, tag="209541240")] pub replace_existing_association: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for TargetPools.AddHealthCheck. See the method description for details. +/// A request message for TargetPools.AddHealthCheck. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddHealthCheckTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the target pool to add a health check to. + /// Name of the target pool to add a health check to. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="269573412")] pub target_pools_add_health_check_request_resource: ::core::option::Option, } -/// A request message for TargetPools.AddInstance. See the method description for details. +/// A request message for TargetPools.AddInstance. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddInstanceTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetPool resource to add instances to. + /// Name of the TargetPool resource to add instances to. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="428796404")] pub target_pools_add_instance_request_resource: ::core::option::Option, } -/// A request message for InstanceGroups.AddInstances. See the method description for details. +/// A request message for InstanceGroups.AddInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddInstancesInstanceGroupRequest { - /// The name of the instance group where you are adding instances. + /// The name of the instance group where you are adding instances. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="453713246")] pub instance_groups_add_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeGroups.AddNodes. See the method description for details. +/// A request message for NodeGroups.AddNodes. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddNodesNodeGroupRequest { - /// Name of the NodeGroup resource. + /// Name of the NodeGroup resource. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="131263288")] pub node_groups_add_nodes_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Networks.AddPeering. See the method description for details. +/// A request message for Networks.AddPeering. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddPeeringNetworkRequest { - /// Name of the network resource to add peering to. + /// Name of the network resource to add peering to. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="388810421")] pub networks_add_peering_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.AddResourcePolicies. See the method description for details. +/// A request message for Disks.AddResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddResourcePoliciesDiskRequest { - /// The disk name for this request. + /// The disk name for this request. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="496483363")] pub disks_add_resource_policies_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.AddResourcePolicies. See the method description for details. +/// A request message for Instances.AddResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddResourcePoliciesInstanceRequest { - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="489351963")] pub instances_add_resource_policies_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionDisks.AddResourcePolicies. See the method description for details. +/// A request message for RegionDisks.AddResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddResourcePoliciesRegionDiskRequest { - /// The disk name for this request. + /// The disk name for this request. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="284196750")] pub region_disks_add_resource_policies_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.AddRule. See the method description for details. +/// A request message for FirewallPolicies.AddRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddRuleFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.AddRule. See the method description for details. +/// A request message for NetworkFirewallPolicies.AddRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddRuleNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. #[prost(int32, optional, tag="329635359")] pub max_priority: ::core::option::Option, - /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. #[prost(int32, optional, tag="267190513")] pub min_priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.AddRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddRuleRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. #[prost(int32, optional, tag="329635359")] pub max_priority: ::core::option::Option, - /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. + /// When rule.priority is not specified, auto choose a unused priority between minPriority and maxPriority>. This field is exclusive with rule.priority. #[prost(int32, optional, tag="267190513")] pub min_priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for SecurityPolicies.AddRule. See the method description for details. +/// A request message for SecurityPolicies.AddRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddRuleSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the security policy to update. + /// Name of the security policy to update. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="402693443")] pub security_policy_rule_resource: ::core::option::Option, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for BackendBuckets.AddSignedUrlKey. See the method description for details. +/// A request message for BackendBuckets.AddSignedUrlKey. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddSignedUrlKeyBackendBucketRequest { - /// Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035. + /// Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="457625985")] pub signed_url_key_resource: ::core::option::Option, } -/// A request message for BackendServices.AddSignedUrlKey. See the method description for details. +/// A request message for BackendServices.AddSignedUrlKey. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddSignedUrlKeyBackendServiceRequest { - /// Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. + /// Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="457625985")] pub signed_url_key_resource: ::core::option::Option, } -/// Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)]() * [Regional (external and internal)]() For more information, see Reserving a static external IP address. +/// Represents an IP Address resource. Google Compute Engine has two IP Address resources: * [Global (external and internal)]() * [Regional (external and internal)]() For more information, see Reserving a static external IP address. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Address { - /// The static IP address represented by this resource. + /// The static IP address represented by this resource. #[prost(string, optional, tag="462920692")] pub address: ::core::option::Option<::prost::alloc::string::String>, - /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. - /// Check the AddressType enum for the list of possible values. + /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. + /// Check the AddressType enum for the list of possible values. #[prost(string, optional, tag="264307877")] pub address_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this field when you create the resource. + /// An optional description of this resource. Provide this field when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. - /// Check the IpVersion enum for the list of possible values. + /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + /// Check the IpVersion enum for the list of possible values. #[prost(string, optional, tag="294959552")] pub ip_version: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#address for addresses. + /// [Output Only] Type of the resource. Always compute#address for addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose. + /// The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. - /// Check the NetworkTier enum for the list of possible values. + /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. + /// Check the NetworkTier enum for the list of possible values. #[prost(string, optional, tag="517397843")] pub network_tier: ::core::option::Option<::prost::alloc::string::String>, - /// The prefix length if the resource represents an IP range. + /// The prefix length if the resource represents an IP range. #[prost(int32, optional, tag="453565747")] pub prefix_length: ::core::option::Option, - /// The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. - /// Check the Purpose enum for the list of possible values. + /// The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. + /// Check the Purpose enum for the list of possible values. #[prost(string, optional, tag="316407070")] pub purpose: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.* + /// [Output Only] The URL of the region where a regional address resides. For regional addresses, you must specify the region as a path parameter in the HTTP request URL. *This field is not applicable to global addresses.* #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose. + /// The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URLs of the resources that are using this address. + /// [Output Only] The URLs of the resources that are using this address. #[prost(string, repeated, tag="111578632")] pub users: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Address`. pub mod address { - /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. + /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AddressType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAddressType = 0, - /// A publicly visible external IP address. + /// A publicly visible external IP address. External = 35607499, - /// A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule. + /// A private network IP address, for use with an Instance or Internal Load Balancer forwarding rule. Internal = 279295677, UnspecifiedType = 53933922, } @@ -659,11 +659,11 @@ pub mod address { } } } - /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IpVersion { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpVersion = 0, Ipv4 = 2254341, Ipv6 = 2254343, @@ -683,19 +683,19 @@ pub mod address { } } } - /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. + /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Internal IP addresses are always Premium Tier; global external IP addresses are always Premium Tier; regional external IP addresses can be either Standard or Premium Tier. If this field is not specified, it is assumed to be PREMIUM. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkTier = 0, - /// Public internet quality with fixed bandwidth. + /// Public internet quality with fixed bandwidth. FixedStandard = 310464328, - /// High quality, Google-grade network tier, support for all networking products. + /// High quality, Google-grade network tier, support for all networking products. Premium = 399530551, - /// Public internet quality, only limited support for other networking products. + /// Public internet quality, only limited support for other networking products. Standard = 484642493, - /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. StandardOverridesFixedStandard = 465847234, } impl NetworkTier { @@ -713,27 +713,27 @@ pub mod address { } } } - /// The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. + /// The purpose of this resource, which can be one of the following values: - GCE_ENDPOINT for addresses that are used by VM instances, alias IP ranges, load balancers, and similar resources. - DNS_RESOLVER for a DNS resolver address in a subnetwork for a Cloud DNS inbound forwarder IP addresses (regional internal IP address in a subnet of a VPC network) - VPC_PEERING for global internal IP addresses used for private services access allocated ranges. - NAT_AUTO for the regional external IP addresses used by Cloud NAT when allocating addresses using automatic NAT IP address allocation. - IPSEC_INTERCONNECT for addresses created from a private IP range that are reserved for a VLAN attachment in an *HA VPN over Cloud Interconnect* configuration. These addresses are regional resources. - `SHARED_LOADBALANCER_VIP` for an internal IP address that is assigned to multiple internal forwarding rules. - `PRIVATE_SERVICE_CONNECT` for a private network address that is used to configure Private Service Connect. Only global internal addresses can use this purpose. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Purpose { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPurpose = 0, - /// DNS resolver address in the subnetwork. + /// DNS resolver address in the subnetwork. DnsResolver = 476114556, - /// VM internal/alias IP, Internal LB service IP, etc. + /// VM internal/alias IP, Internal LB service IP, etc. GceEndpoint = 230515243, - /// A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range. + /// A regional internal IP address range reserved for the VLAN attachment that is used in HA VPN over Cloud Interconnect. This regional internal IP address range must not overlap with any IP address range of subnet/route in the VPC network and its peering networks. After the VLAN attachment is created with the reserved IP address range, when creating a new VPN gateway, its interface IP address is allocated from the associated VLAN attachment���s IP address range. IpsecInterconnect = 340437251, - /// External IP automatically reserved for Cloud NAT. + /// External IP automatically reserved for Cloud NAT. NatAuto = 163666477, - /// A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL + /// A private network IP address that can be used to configure Private Service Connect. This purpose can be specified only for GLOBAL addresses of Type INTERNAL PrivateServiceConnect = 48134724, - /// A regional internal IP address range reserved for Serverless. + /// A regional internal IP address range reserved for Serverless. Serverless = 270492508, - /// A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules. + /// A private network IP address that can be shared by multiple Internal Load Balancer forwarding rules. SharedLoadbalancerVip = 294447572, - /// IP range for peer networks. + /// IP range for peer networks. VpcPeering = 400800170, } impl Purpose { @@ -755,17 +755,17 @@ pub mod address { } } } - /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. + /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Address is being used by another resource and is not available. + /// Address is being used by another resource and is not available. InUse = 17393485, - /// Address is reserved and available to use. + /// Address is reserved and available to use. Reserved = 432241448, - /// Address is being reserved. + /// Address is being reserved. Reserving = 514587225, } impl Status { @@ -786,1054 +786,1054 @@ pub mod address { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of AddressesScopedList resources. + /// A list of AddressesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, AddressesScopedList>, - /// [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. + /// [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of addresses. +/// Contains a list of addresses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Address resources. + /// A list of Address resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec
, - /// [Output Only] Type of resource. Always compute#addressList for lists of addresses. + /// [Output Only] Type of resource. Always compute#addressList for lists of addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressesScopedList { - /// [Output Only] A list of addresses contained in this scope. + /// [Output Only] A list of addresses contained in this scope. #[prost(message, repeated, tag="337673122")] pub addresses: ::prost::alloc::vec::Vec
, - /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. + /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled). +/// Specifies options for controlling advanced machine features. Options that would traditionally be configured in a BIOS belong here. Features that require operating system support may have corresponding entries in the GuestOsFeatures of an Image (e.g., whether or not the OS in the Image supports nested virtualization being enabled or disabled). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvancedMachineFeatures { - /// Whether to enable nested virtualization or not (default is false). + /// Whether to enable nested virtualization or not (default is false). #[prost(bool, optional, tag="16639365")] pub enable_nested_virtualization: ::core::option::Option, - /// Whether to enable UEFI networking for instance creation. + /// Whether to enable UEFI networking for instance creation. #[prost(bool, optional, tag="334485668")] pub enable_uefi_networking: ::core::option::Option, - /// The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. + /// The number of threads per physical core. To disable simultaneous multithreading (SMT) set this to 1. If unset, the maximum number of threads supported per core by the underlying processor is assumed. #[prost(int32, optional, tag="352611671")] pub threads_per_core: ::core::option::Option, - /// The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. + /// The number of physical cores to expose to an instance. Multiply by the number of threads per core to compute the total number of virtual CPUs to expose to the instance. If unset, the number of cores is inferred from the instance's nominal CPU count and the underlying platform's SMT width. #[prost(int32, optional, tag="193198684")] pub visible_core_count: ::core::option::Option, } -/// A request message for AcceleratorTypes.AggregatedList. See the method description for details. +/// A request message for AcceleratorTypes.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListAcceleratorTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Addresses.AggregatedList. See the method description for details. +/// A request message for Addresses.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListAddressesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Autoscalers.AggregatedList. See the method description for details. +/// A request message for Autoscalers.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListAutoscalersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for BackendServices.AggregatedList. See the method description for details. +/// A request message for BackendServices.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListBackendServicesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for DiskTypes.AggregatedList. See the method description for details. +/// A request message for DiskTypes.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListDiskTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Disks.AggregatedList. See the method description for details. +/// A request message for Disks.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListDisksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ForwardingRules.AggregatedList. See the method description for details. +/// A request message for ForwardingRules.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListForwardingRulesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalOperations.AggregatedList. See the method description for details. +/// A request message for GlobalOperations.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListGlobalOperationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for HealthChecks.AggregatedList. See the method description for details. +/// A request message for HealthChecks.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListHealthChecksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InstanceGroupManagers.AggregatedList. See the method description for details. +/// A request message for InstanceGroupManagers.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InstanceGroups.AggregatedList. See the method description for details. +/// A request message for InstanceGroups.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListInstanceGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Instances.AggregatedList. See the method description for details. +/// A request message for Instances.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListInstancesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InterconnectAttachments.AggregatedList. See the method description for details. +/// A request message for InterconnectAttachments.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListInterconnectAttachmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for MachineTypes.AggregatedList. See the method description for details. +/// A request message for MachineTypes.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListMachineTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details. +/// A request message for NetworkEdgeSecurityServices.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListNetworkEdgeSecurityServicesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NetworkEndpointGroups.AggregatedList. See the method description for details. +/// A request message for NetworkEndpointGroups.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NodeGroups.AggregatedList. See the method description for details. +/// A request message for NodeGroups.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListNodeGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NodeTemplates.AggregatedList. See the method description for details. +/// A request message for NodeTemplates.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListNodeTemplatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NodeTypes.AggregatedList. See the method description for details. +/// A request message for NodeTypes.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListNodeTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for PacketMirrorings.AggregatedList. See the method description for details. +/// A request message for PacketMirrorings.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListPacketMirroringsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details. +/// A request message for PublicDelegatedPrefixes.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListPublicDelegatedPrefixesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionCommitments.AggregatedList. See the method description for details. +/// A request message for RegionCommitments.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListRegionCommitmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Reservations.AggregatedList. See the method description for details. +/// A request message for Reservations.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListReservationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ResourcePolicies.AggregatedList. See the method description for details. +/// A request message for ResourcePolicies.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListResourcePoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Routers.AggregatedList. See the method description for details. +/// A request message for Routers.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListRoutersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SecurityPolicies.AggregatedList. See the method description for details. +/// A request message for SecurityPolicies.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListSecurityPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ServiceAttachments.AggregatedList. See the method description for details. +/// A request message for ServiceAttachments.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListServiceAttachmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SslCertificates.AggregatedList. See the method description for details. +/// A request message for SslCertificates.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListSslCertificatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SslPolicies.AggregatedList. See the method description for details. +/// A request message for SslPolicies.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListSslPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Subnetworks.AggregatedList. See the method description for details. +/// A request message for Subnetworks.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListSubnetworksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetHttpProxies.AggregatedList. See the method description for details. +/// A request message for TargetHttpProxies.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListTargetHttpProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetHttpsProxies.AggregatedList. See the method description for details. +/// A request message for TargetHttpsProxies.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListTargetHttpsProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetInstances.AggregatedList. See the method description for details. +/// A request message for TargetInstances.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListTargetInstancesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetPools.AggregatedList. See the method description for details. +/// A request message for TargetPools.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListTargetPoolsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetVpnGateways.AggregatedList. See the method description for details. +/// A request message for TargetVpnGateways.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListTargetVpnGatewaysRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for UrlMaps.AggregatedList. See the method description for details. +/// A request message for UrlMaps.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListUrlMapsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the project scoping this request. + /// Name of the project scoping this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for VpnGateways.AggregatedList. See the method description for details. +/// A request message for VpnGateways.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListVpnGatewaysRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for VpnTunnels.AggregatedList. See the method description for details. +/// A request message for VpnTunnels.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListVpnTunnelsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// An alias IP range attached to an instance's network interface. +/// An alias IP range attached to an instance's network interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AliasIpRange { - /// The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). + /// The IP alias ranges to allocate for this interface. This IP CIDR range must belong to the specified subnetwork and cannot contain IP addresses reserved by system or used by other network interfaces. This range may be a single IP address (such as 10.2.3.4), a netmask (such as /24) or a CIDR-formatted string (such as 10.1.2.0/24). #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used. + /// The name of a subnetwork secondary IP range from which to allocate an IP alias range. If not specified, the primary range of the subnetwork is used. #[prost(string, optional, tag="387995966")] pub subnetwork_range_name: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocationSpecificSkuAllocationAllocatedInstancePropertiesReservedDisk { - /// Specifies the size of the disk in base-2 GB. + /// Specifies the size of the disk in base-2 GB. #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. - /// Check the Interface enum for the list of possible values. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. + /// Check the Interface enum for the list of possible values. #[prost(string, optional, tag="502623545")] pub interface: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk`. pub mod allocation_specific_sku_allocation_allocated_instance_properties_reserved_disk { - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Interface { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInterface = 0, Nvme = 2408800, Scsi = 2539686, @@ -1852,212 +1852,212 @@ pub mod allocation_specific_sku_allocation_allocated_instance_properties_reserve } } } -/// Properties of the SKU instances being reserved. Next ID: 9 +/// Properties of the SKU instances being reserved. Next ID: 9 #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocationSpecificSkuAllocationReservedInstanceProperties { - /// Specifies accelerator type and count. + /// Specifies accelerator type and count. #[prost(message, repeated, tag="463595119")] pub guest_accelerators: ::prost::alloc::vec::Vec, - /// Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. + /// Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd. #[prost(message, repeated, tag="229951299")] pub local_ssds: ::prost::alloc::vec::Vec, - /// An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API. + /// An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API. #[prost(string, optional, tag="350519505")] pub location_hint: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. + /// Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern. #[prost(string, optional, tag="227711026")] pub machine_type: ::core::option::Option<::prost::alloc::string::String>, - /// Minimum cpu platform the reservation. + /// Minimum cpu platform the reservation. #[prost(string, optional, tag="242912759")] pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>, } -/// This reservation type allows to pre allocate specific instance configuration. Next ID: 6 +/// This reservation type allows to pre allocate specific instance configuration. Next ID: 6 #[derive(Clone, PartialEq, ::prost::Message)] pub struct AllocationSpecificSkuReservation { - /// [Output Only] Indicates how many instances are actually usable currently. + /// [Output Only] Indicates how many instances are actually usable currently. #[prost(int64, optional, tag="281197645")] pub assured_count: ::core::option::Option, - /// Specifies the number of resources that are allocated. + /// Specifies the number of resources that are allocated. #[prost(int64, optional, tag="94851343")] pub count: ::core::option::Option, - /// [Output Only] Indicates how many instances are in use. + /// [Output Only] Indicates how many instances are in use. #[prost(int64, optional, tag="493458877")] pub in_use_count: ::core::option::Option, - /// The instance properties for the reservation. + /// The instance properties for the reservation. #[prost(message, optional, tag="215355165")] pub instance_properties: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Allowed { - /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. + /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. #[prost(string, optional, tag="488094525")] pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>, - /// An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. + /// An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. #[prost(string, repeated, tag="106854418")] pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details. +/// A request message for InstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyUpdatesToInstancesInstanceGroupManagerRequest { - /// The name of the managed instance group, should conform to RFC1035. + /// The name of the managed instance group, should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259242835")] pub instance_group_managers_apply_updates_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone where the managed instance group is located. Should conform to RFC1035. + /// The name of the zone where the managed instance group is located. Should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.ApplyUpdatesToInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApplyUpdatesToInstancesRegionInstanceGroupManagerRequest { - /// The name of the managed instance group, should conform to RFC1035. + /// The name of the managed instance group, should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request, should conform to RFC1035. + /// Name of the region scoping this request, should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="76248318")] pub region_instance_group_managers_apply_updates_request_resource: ::core::option::Option, } -/// A request message for Instances.AttachDisk. See the method description for details. +/// A request message for Instances.AttachDisk. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachDiskInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="90605845")] pub attached_disk_resource: ::core::option::Option, - /// Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. + /// Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. #[prost(bool, optional, tag="142758425")] pub force_attach: ::core::option::Option, - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for GlobalNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachNetworkEndpointsGlobalNetworkEndpointGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="30691563")] pub global_network_endpoint_groups_attach_endpoints_request_resource: ::core::option::Option, - /// The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. + /// The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details. +/// A request message for NetworkEndpointGroups.AttachNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachNetworkEndpointsNetworkEndpointGroupRequest { - /// The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. + /// The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="531079")] pub network_endpoint_groups_attach_endpoints_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// An instance-attached disk resource. +/// An instance-attached disk resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachedDisk { - /// [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64. - /// Check the Architecture enum for the list of possible values. + /// [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). + /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). #[prost(bool, optional, tag="464761403")] pub auto_delete: ::core::option::Option, - /// Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. + /// Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. #[prost(bool, optional, tag="3029746")] pub boot: ::core::option::Option, - /// Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. + /// Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks. #[prost(string, optional, tag="67541716")] pub device_name: ::core::option::Option<::prost::alloc::string::String>, - /// Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. + /// Encrypts or decrypts a disk using a customer-supplied encryption key. If you are creating a new disk, this field encrypts the new disk using an encryption key that you provide. If you are attaching an existing disk that is already encrypted, this field decrypts the disk using the customer-supplied encryption key. If you encrypt a disk using a customer-supplied key, you must provide the same key again when you attempt to use this resource at a later time. For example, you must provide the key when you create a snapshot or an image from the disk or when you attach the disk to a virtual machine instance. If you do not provide an encryption key, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the disk later. Instance templates do not store customer-supplied encryption keys, so you cannot use your own keys to encrypt disks in a managed instance group. #[prost(message, optional, tag="271660677")] pub disk_encryption_key: ::core::option::Option, - /// The size of the disk in GB. + /// The size of the disk in GB. #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. + /// [Input Only] Whether to force attach the regional disk even if it's currently attached to another instance. If you try to force attach a zonal disk to an instance, you will receive an error. #[prost(bool, optional, tag="142758425")] pub force_attach: ::core::option::Option, - /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. + /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. #[prost(message, repeated, tag="79294545")] pub guest_os_features: ::prost::alloc::vec::Vec, - /// [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number. + /// [Output Only] A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number. #[prost(int32, optional, tag="100346066")] pub index: ::core::option::Option, - /// [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. + /// [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. #[prost(message, optional, tag="17697045")] pub initialize_params: ::core::option::Option, - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. - /// Check the Interface enum for the list of possible values. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. + /// Check the Interface enum for the list of possible values. #[prost(string, optional, tag="502623545")] pub interface: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. + /// [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Any valid publicly visible licenses. + /// [Output Only] Any valid publicly visible licenses. #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. - /// Check the Mode enum for the list of possible values. + /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. + /// Check the Mode enum for the list of possible values. #[prost(string, optional, tag="3357091")] pub mode: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] shielded vm initial state stored on disk + /// [Output Only] shielded vm initial state stored on disk #[prost(message, optional, tag="192356867")] pub shielded_instance_initial_state: ::core::option::Option, - /// Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. + /// Specifies a valid partial or full URL to an existing Persistent Disk resource. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. If desired, you can also attach existing non-root persistent disks using this property. This field is only applicable for persistent disks. Note that for InstanceTemplate, specify the disk name for zonal disk, and the URL for regional disk. #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. - /// Check the Type enum for the list of possible values. + /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AttachedDisk`. pub mod attached_disk { - /// [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64. + /// [Output Only] The architecture of the attached disk. Valid values are ARM64 or X86_64. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -2074,11 +2074,11 @@ pub mod attached_disk { } } } - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. For most machine types, the default is SCSI. Local SSDs can use either NVME or SCSI. In certain configurations, persistent disks can use NVMe. For more information, see About persistent disks. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Interface { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInterface = 0, Nvme = 2408800, Scsi = 2539686, @@ -2096,15 +2096,15 @@ pub mod attached_disk { } } } - /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. + /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMode = 0, - /// Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. + /// Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. ReadOnly = 91950261, - /// *\[Default\]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. + /// *\[Default\]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. ReadWrite = 173607894, } impl Mode { @@ -2120,11 +2120,11 @@ pub mod attached_disk { } } } - /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. + /// Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Persistent = 460683927, Scratch = 496778970, @@ -2143,70 +2143,70 @@ pub mod attached_disk { } } } -/// [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. +/// [Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This field is persisted and returned for instanceTemplate and not returned in the context of instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AttachedDiskInitializeParams { - /// The architecture of the attached disk. Valid values are arm64 or x86_64. - /// Check the Architecture enum for the list of possible values. + /// The architecture of the attached disk. Valid values are arm64 or x86_64. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description. Provide this property when creating the disk. + /// An optional description. Provide this property when creating the disk. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created. + /// Specifies the disk name. If not specified, the default is to use the name of the instance. If a disk with the same name already exists in the given region, the existing disk is attached to the new instance and the new disk is not created. #[prost(string, optional, tag="92807149")] pub disk_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB. + /// Specifies the size of the disk in base-2 GB. The size must be at least 10 GB. If you specify a sourceImage, which is required for boot disks, the default size is the size of the sourceImage. If you do not specify a sourceImage, the default disk size is 500 GB. #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL. + /// Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example: /diskTypes/pd-standard For a full list of acceptable values, see Persistent disk types. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: - /diskTypes/diskType - projects/project/zones/zone/diskTypes/diskType - zones/zone/diskTypes/diskType Note that for InstanceTemplate, this is the name of the disk type, not URL. #[prost(string, optional, tag="93009052")] pub disk_type: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks. + /// Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A list of publicly visible licenses. Reserved for Google's use. + /// A list of publicly visible licenses. Reserved for Google's use. #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies which action to take on instance update with this disk. Default is to use the existing disk. - /// Check the OnUpdateAction enum for the list of possible values. + /// Specifies which action to take on instance update with this disk. Default is to use the existing disk. + /// Check the OnUpdateAction enum for the list of possible values. #[prost(string, optional, tag="202451980")] pub on_update_action: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. + /// Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. #[prost(int64, optional, tag="186769108")] pub provisioned_iops: ::core::option::Option, - /// Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. + /// Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. #[prost(map="string, string", tag="377671164")] pub resource_manager_tags: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name. + /// Resource policies applied to this disk for automatic snapshot creations. Specified using the full or partial URL. For instance template, specify only the resource policy name. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. + /// The source image to create this disk. When creating a new instance, one of initializeParams.sourceImage or initializeParams.sourceSnapshot or disks.source is required except for local SSD. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family If the source image is deleted later, this field will not be set. #[prost(string, optional, tag="50443319")] pub source_image: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. + /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. Instance templates do not store customer-supplied encryption keys, so you cannot create disks for instances in a managed instance group if the source images are encrypted with your own keys. #[prost(message, optional, tag="381503659")] pub source_image_encryption_key: ::core::option::Option, - /// The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. + /// The source snapshot to create this disk. When creating a new instance, one of initializeParams.sourceSnapshot or initializeParams.sourceImage or disks.source is required except for local SSD. To create a disk with a snapshot that you created, specify the snapshot name in the following format: global/snapshots/my-backup If the source snapshot is deleted later, this field will not be set. #[prost(string, optional, tag="126061928")] pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source snapshot. + /// The customer-supplied encryption key of the source snapshot. #[prost(message, optional, tag="303679322")] pub source_snapshot_encryption_key: ::core::option::Option, } /// Nested message and enum types in `AttachedDiskInitializeParams`. pub mod attached_disk_initialize_params { - /// The architecture of the attached disk. Valid values are arm64 or x86_64. + /// The architecture of the attached disk. Valid values are arm64 or x86_64. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -2223,17 +2223,17 @@ pub mod attached_disk_initialize_params { } } } - /// Specifies which action to take on instance update with this disk. Default is to use the existing disk. + /// Specifies which action to take on instance update with this disk. Default is to use the existing disk. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OnUpdateAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOnUpdateAction = 0, - /// Always recreate the disk. + /// Always recreate the disk. RecreateDisk = 494767853, - /// Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. + /// Recreate the disk if source (image, snapshot) of this disk is different from source of existing disk. RecreateDiskIfSourceChanged = 398099712, - /// Use the existing disk, this is the default behaviour. + /// Use the existing disk, this is the default behaviour. UseExistingDisk = 232682233, } impl OnUpdateAction { @@ -2251,48 +2251,48 @@ pub mod attached_disk_initialize_params { } } } -/// Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. +/// Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both `allServices` and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": [ "user:aliya@example.com" ] } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditConfig { - /// The configuration for logging of each type of permission. + /// The configuration for logging of each type of permission. #[prost(message, repeated, tag="488420626")] pub audit_log_configs: ::prost::alloc::vec::Vec, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, repeated, tag="232615576")] pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. + /// Specifies a service that will be enabled for audit logging. For example, `storage.googleapis.com`, `cloudsql.googleapis.com`. `allServices` is a special value that covers all services. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, } -/// Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. +/// Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": [ "user:jose@example.com" ] }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuditLogConfig { - /// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. + /// Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. #[prost(string, repeated, tag="232615576")] pub exempted_members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(bool, optional, tag="70141850")] pub ignore_child_exemptions: ::core::option::Option, - /// The log type that this config enables. - /// Check the LogType enum for the list of possible values. + /// The log type that this config enables. + /// Check the LogType enum for the list of possible values. #[prost(string, optional, tag="403115861")] pub log_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AuditLogConfig`. pub mod audit_log_config { - /// The log type that this config enables. + /// The log type that this config enables. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLogType = 0, - /// Admin reads. Example: CloudIAM getIamPolicy + /// Admin reads. Example: CloudIAM getIamPolicy AdminRead = 128951462, - /// Data reads. Example: CloudSQL Users list + /// Data reads. Example: CloudSQL Users list DataRead = 305224971, - /// Data writes. Example: CloudSQL Users create + /// Data writes. Example: CloudSQL Users create DataWrite = 340181738, - /// Default case. Should never be this. + /// Default case. Should never be this. Unspecified = 154527053, } impl LogType { @@ -2311,31 +2311,31 @@ pub mod audit_log_config { } } } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationLoggingOptions { - /// This is deprecated and has no effect. Do not use. - /// Check the PermissionType enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the PermissionType enum for the list of possible values. #[prost(string, optional, tag="525978538")] pub permission_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AuthorizationLoggingOptions`. pub mod authorization_logging_options { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PermissionType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPermissionType = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. AdminRead = 128951462, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. AdminWrite = 244412079, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. DataRead = 305224971, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. DataWrite = 340181738, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Unspecified = 440313346, } impl PermissionType { @@ -2355,68 +2355,68 @@ pub mod authorization_logging_options { } } } -/// Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * \[Zonal\](/compute/docs/reference/rest/v1/autoscalers) * \[Regional\](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource. +/// Represents an Autoscaler resource. Google Compute Engine has two Autoscaler resources: * \[Zonal\](/compute/docs/reference/rest/v1/autoscalers) * \[Regional\](/compute/docs/reference/rest/v1/regionAutoscalers) Use autoscalers to automatically add or delete instances from a managed instance group according to your defined autoscaling policy. For more information, read Autoscaling Groups of Instances. For zonal managed instance groups resource, use the autoscaler resource. For regional managed instance groups, use the regionAutoscalers resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Autoscaler { - /// The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. + /// The configuration parameters for the autoscaling algorithm. You can define one or more signals for an autoscaler: cpuUtilization, customMetricUtilizations, and loadBalancingUtilization. If none of these are specified, the default will be to autoscale based on cpuUtilization to 0.6 or 60%. #[prost(message, optional, tag="221950041")] pub autoscaling_policy: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. + /// [Output Only] Type of the resource. Always compute#autoscaler for autoscalers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction. + /// [Output Only] Target recommended MIG size (number of instances) computed by autoscaler. Autoscaler calculates the recommended MIG size even when the autoscaling policy mode is different from ON. This field is empty when autoscaler is not connected to an existing managed instance group or autoscaler did not generate its prediction. #[prost(int32, optional, tag="257915749")] pub recommended_size: ::core::option::Option, - /// [Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope). + /// [Output Only] URL of the region where the instance group resides (for autoscalers living in regional scope). #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Status information of existing scaling schedules. + /// [Output Only] Status information of existing scaling schedules. #[prost(map="string, message", tag="465950178")] pub scaling_schedule_status: ::std::collections::HashMap<::prost::alloc::string::String, ScalingScheduleStatus>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter. + /// [Output Only] Human-readable details about the current state of the autoscaler. Read the documentation for Commonly returned status messages for examples of status messages you might encounter. #[prost(message, repeated, tag="363353845")] pub status_details: ::prost::alloc::vec::Vec, - /// URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler. + /// URL of the managed instance group that this autoscaler will scale. This field is required when creating an autoscaler. #[prost(string, optional, tag="192835985")] pub target: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope). + /// [Output Only] URL of the zone where the instance group resides (for autoscalers living in zonal scope). #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Autoscaler`. pub mod autoscaler { - /// [Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. + /// [Output Only] The status of the autoscaler configuration. Current set of possible values: - PENDING: Autoscaler backend hasn't read new/updated configuration. - DELETING: Configuration is being deleted. - ACTIVE: Configuration is acknowledged to be effective. Some warnings might be present in the statusDetails field. - ERROR: Configuration has errors. Actionable for users. Details are present in the statusDetails field. New values might be added in the future. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Configuration is acknowledged to be effective + /// Configuration is acknowledged to be effective Active = 314733318, - /// Configuration is being deleted + /// Configuration is being deleted Deleting = 528602024, - /// Configuration has errors. Actionable for users. + /// Configuration has errors. Actionable for users. Error = 66247144, - /// Autoscaler backend hasn't read new/updated configuration + /// Autoscaler backend hasn't read new/updated configuration Pending = 35394935, } impl Status { @@ -2438,107 +2438,107 @@ pub mod autoscaler { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of AutoscalersScopedList resources. + /// A list of AutoscalersScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, AutoscalersScopedList>, - /// [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers. + /// [Output Only] Type of resource. Always compute#autoscalerAggregatedList for aggregated lists of autoscalers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder + /// [Output Only] Unreachable resources. end_interface: MixerListResponseWithEtagBuilder #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of Autoscaler resources. +/// Contains a list of Autoscaler resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Autoscaler resources. + /// A list of Autoscaler resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. + /// [Output Only] Type of resource. Always compute#autoscalerList for lists of autoscalers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerStatusDetails { - /// The status message. + /// The status message. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, - /// The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions. - /// Check the Type enum for the list of possible values. + /// The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AutoscalerStatusDetails`. pub mod autoscaler_status_details { - /// The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions. + /// The type of error, warning, or notice returned. Current set of possible values: - ALL_INSTANCES_UNHEALTHY (WARNING): All instances in the instance group are unhealthy (not in RUNNING state). - BACKEND_SERVICE_DOES_NOT_EXIST (ERROR): There is no backend service attached to the instance group. - CAPPED_AT_MAX_NUM_REPLICAS (WARNING): Autoscaler recommends a size greater than maxNumReplicas. - CUSTOM_METRIC_DATA_POINTS_TOO_SPARSE (WARNING): The custom metric samples are not exported often enough to be a credible base for autoscaling. - CUSTOM_METRIC_INVALID (ERROR): The custom metric that was specified does not exist or does not have the necessary labels. - MIN_EQUALS_MAX (WARNING): The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. - MISSING_CUSTOM_METRIC_DATA_POINTS (WARNING): The autoscaler did not receive any data from the custom metric configured for autoscaling. - MISSING_LOAD_BALANCING_DATA_POINTS (WARNING): The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. - MODE_OFF (WARNING): Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. - MODE_ONLY_UP (WARNING): Autoscaling is in the "Autoscale only out" mode. The autoscaler can add instances but not remove any. - MORE_THAN_ONE_BACKEND_SERVICE (ERROR): The instance group cannot be autoscaled because it has more than one backend service attached to it. - NOT_ENOUGH_QUOTA_AVAILABLE (ERROR): There is insufficient quota for the necessary resources, such as CPU or number of instances. - REGION_RESOURCE_STOCKOUT (ERROR): Shown only for regional autoscalers: there is a resource stockout in the chosen region. - SCALING_TARGET_DOES_NOT_EXIST (ERROR): The target to be scaled does not exist. - UNSUPPORTED_MAX_RATE_LOAD_BALANCING_CONFIGURATION (ERROR): Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. - ZONE_RESOURCE_STOCKOUT (ERROR): For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. New values might be added in the future. Some of the values might not be available in all API versions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// All instances in the instance group are unhealthy (not in RUNNING state). + /// All instances in the instance group are unhealthy (not in RUNNING state). AllInstancesUnhealthy = 404965477, - /// There is no backend service attached to the instance group. + /// There is no backend service attached to the instance group. BackendServiceDoesNotExist = 191417626, - /// Autoscaler recommends a size greater than maxNumReplicas. + /// Autoscaler recommends a size greater than maxNumReplicas. CappedAtMaxNumReplicas = 518617, - /// The custom metric samples are not exported often enough to be a credible base for autoscaling. + /// The custom metric samples are not exported often enough to be a credible base for autoscaling. CustomMetricDataPointsTooSparse = 328964659, - /// The custom metric that was specified does not exist or does not have the necessary labels. + /// The custom metric that was specified does not exist or does not have the necessary labels. CustomMetricInvalid = 204430550, - /// The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. + /// The minNumReplicas is equal to maxNumReplicas. This means the autoscaler cannot add or remove instances from the instance group. MinEqualsMax = 2821361, - /// The autoscaler did not receive any data from the custom metric configured for autoscaling. + /// The autoscaler did not receive any data from the custom metric configured for autoscaling. MissingCustomMetricDataPoints = 94885086, - /// The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. + /// The autoscaler is configured to scale based on a load balancing signal but the instance group has not received any requests from the load balancer. MissingLoadBalancingDataPoints = 509858898, - /// Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. + /// Autoscaling is turned off. The number of instances in the group won't change automatically. The autoscaling configuration is preserved. ModeOff = 164169907, - /// Autoscaling is in the "Autoscale only scale out" mode. Instances in the group will be only added. + /// Autoscaling is in the "Autoscale only scale out" mode. Instances in the group will be only added. ModeOnlyScaleOut = 3840994, - /// Autoscaling is in the "Autoscale only out" mode. Instances in the group will be only added. + /// Autoscaling is in the "Autoscale only out" mode. Instances in the group will be only added. ModeOnlyUp = 100969842, - /// The instance group cannot be autoscaled because it has more than one backend service attached to it. + /// The instance group cannot be autoscaled because it has more than one backend service attached to it. MoreThanOneBackendService = 151922141, - /// There is insufficient quota for the necessary resources, such as CPU or number of instances. + /// There is insufficient quota for the necessary resources, such as CPU or number of instances. NotEnoughQuotaAvailable = 403101631, - /// Showed only for regional autoscalers: there is a resource stockout in the chosen region. + /// Showed only for regional autoscalers: there is a resource stockout in the chosen region. RegionResourceStockout = 528622846, - /// The target to be scaled does not exist. + /// The target to be scaled does not exist. ScalingTargetDoesNotExist = 122636699, - /// For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances. + /// For some scaling schedules minRequiredReplicas is greater than maxNumReplicas. Autoscaler always recommends at most maxNumReplicas instances. ScheduledInstancesGreaterThanAutoscalerMax = 29275586, - /// For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances. + /// For some scaling schedules minRequiredReplicas is less than minNumReplicas. Autoscaler always recommends at least minNumReplicas instances. ScheduledInstancesLessThanAutoscalerMin = 398287669, Unknown = 433141802, - /// Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. + /// Autoscaling does not work with an HTTP/S load balancer that has been configured for maxRate. UnsupportedMaxRateLoadBalancingConfiguration = 330845009, - /// For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. + /// For zonal autoscalers: there is a resource stockout in the chosen zone. For regional autoscalers: in at least one of the zones you're using there is a resource stockout. ZoneResourceStockout = 210200502, } impl Type { @@ -2576,59 +2576,59 @@ pub mod autoscaler_status_details { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalersScopedList { - /// [Output Only] A list of autoscalers contained in this scope. + /// [Output Only] A list of autoscalers contained in this scope. #[prost(message, repeated, tag="465771644")] pub autoscalers: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of autoscalers when the list is empty. + /// [Output Only] Informational warning which replaces the list of autoscalers when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Cloud Autoscaler policy. +/// Cloud Autoscaler policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicy { - /// The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. + /// The number of seconds that the autoscaler waits before it starts collecting information from a new instance. This prevents the autoscaler from collecting information when the instance is initializing, during which the collected usage would not be reliable. The default time autoscaler waits is 60 seconds. Virtual machine initialization times might vary because of numerous factors. We recommend that you test how long an instance may take to initialize. To do this, create an instance and time the startup process. #[prost(int32, optional, tag="107692954")] pub cool_down_period_sec: ::core::option::Option, - /// Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group. + /// Defines the CPU utilization policy that allows the autoscaler to scale based on the average CPU utilization of a managed instance group. #[prost(message, optional, tag="381211147")] pub cpu_utilization: ::core::option::Option, - /// Configuration parameters of autoscaling based on a custom metric. + /// Configuration parameters of autoscaling based on a custom metric. #[prost(message, repeated, tag="131972850")] pub custom_metric_utilizations: ::prost::alloc::vec::Vec, - /// Configuration parameters of autoscaling based on load balancer. + /// Configuration parameters of autoscaling based on load balancer. #[prost(message, optional, tag="429746403")] pub load_balancing_utilization: ::core::option::Option, - /// The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas. + /// The maximum number of instances that the autoscaler can scale out to. This is required when creating or updating an autoscaler. The maximum number of replicas must not be lower than minimal number of replicas. #[prost(int32, optional, tag="62327375")] pub max_num_replicas: ::core::option::Option, - /// The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed. + /// The minimum number of replicas that the autoscaler can scale in to. This cannot be less than 0. If not provided, autoscaler chooses a default value depending on maximum number of instances allowed. #[prost(int32, optional, tag="535329825")] pub min_num_replicas: ::core::option::Option, - /// Defines operating mode for this policy. - /// Check the Mode enum for the list of possible values. + /// Defines operating mode for this policy. + /// Check the Mode enum for the list of possible values. #[prost(string, optional, tag="3357091")] pub mode: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="527670872")] pub scale_in_control: ::core::option::Option, - /// Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed. + /// Scaling schedules defined for an autoscaler. Multiple schedules can be set on an autoscaler, and they can overlap. During overlapping periods the greatest min_required_replicas of all scaling schedules is applied. Up to 128 scaling schedules are allowed. #[prost(map="string, message", tag="355416580")] pub scaling_schedules: ::std::collections::HashMap<::prost::alloc::string::String, AutoscalingPolicyScalingSchedule>, } /// Nested message and enum types in `AutoscalingPolicy`. pub mod autoscaling_policy { - /// Defines operating mode for this policy. + /// Defines operating mode for this policy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMode = 0, - /// Do not automatically scale the MIG in or out. The recommended_size field contains the size of MIG that would be set if the actuation mode was enabled. + /// Do not automatically scale the MIG in or out. The recommended_size field contains the size of MIG that would be set if the actuation mode was enabled. Off = 78159, - /// Automatically scale the MIG in and out according to the policy. + /// Automatically scale the MIG in and out according to the policy. On = 2527, - /// Automatically create VMs according to the policy, but do not scale the MIG in. + /// Automatically create VMs according to the policy, but do not scale the MIG in. OnlyScaleOut = 152713670, - /// Automatically create VMs according to the policy, but do not scale the MIG in. + /// Automatically create VMs according to the policy, but do not scale the MIG in. OnlyUp = 478095374, } impl Mode { @@ -2647,28 +2647,28 @@ pub mod autoscaling_policy { } } } -/// CPU utilization policy. +/// CPU utilization policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicyCpuUtilization { - /// Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. - /// Check the PredictiveMethod enum for the list of possible values. + /// Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. + /// Check the PredictiveMethod enum for the list of possible values. #[prost(string, optional, tag="390220737")] pub predictive_method: ::core::option::Option<::prost::alloc::string::String>, - /// The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization. + /// The target CPU utilization that the autoscaler maintains. Must be a float value in the range (0, 1]. If not specified, the default is 0.6. If the CPU level is below the target utilization, the autoscaler scales in the number of instances until it reaches the minimum number of instances you specified or until the average CPU of your instances reaches the target utilization. If the average CPU is above the target utilization, the autoscaler scales out until it reaches the maximum number of instances you specified or until the average utilization reaches the target utilization. #[prost(double, optional, tag="215905870")] pub utilization_target: ::core::option::Option, } /// Nested message and enum types in `AutoscalingPolicyCpuUtilization`. pub mod autoscaling_policy_cpu_utilization { - /// Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. + /// Indicates whether predictive autoscaling based on CPU metric is enabled. Valid values are: * NONE (default). No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics. * OPTIMIZE_AVAILABILITY. Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PredictiveMethod { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPredictiveMethod = 0, - /// No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics + /// No predictive method is used. The autoscaler scales the group to meet current demand based on real-time metrics None = 2402104, - /// Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. + /// Predictive autoscaling improves availability by monitoring daily and weekly load patterns and scaling out ahead of anticipated demand. OptimizeAvailability = 11629437, } impl PredictiveMethod { @@ -2685,39 +2685,39 @@ pub mod autoscaling_policy_cpu_utilization { } } } -/// Custom utilization metric policy. +/// Custom utilization metric policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicyCustomMetricUtilization { - /// A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. + /// A filter string, compatible with a Stackdriver Monitoring filter string for TimeSeries.list API call. This filter is used to select a specific TimeSeries for the purpose of autoscaling and to determine whether the metric is exporting per-instance or per-group data. For the filter to be valid for autoscaling purposes, the following rules apply: - You can only use the AND operator for joining selectors. - You can only use direct equality comparison operator (=) without any functions for each selector. - You can specify the metric in both the filter string and in the metric field. However, if specified in both places, the metric must be identical. - The monitored resource type determines what kind of values are expected for the metric. If it is a gce_instance, the autoscaler expects the metric to include a separate TimeSeries for each instance in a group. In such a case, you cannot filter on resource labels. If the resource type is any other value, the autoscaler expects this metric to contain values that apply to the entire autoscaled instance group and resource label filtering can be performed to point autoscaler at the correct TimeSeries to scale upon. This is called a *per-group metric* for the purpose of autoscaling. If not specified, the type defaults to gce_instance. Try to provide a filter that is selective enough to pick just one TimeSeries for the autoscaled group or for each of the instances (if you are using gce_instance resource type). If multiple TimeSeries are returned upon the query execution, the autoscaler will sum their respective values to obtain its scaling value. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE. + /// The identifier (type) of the Stackdriver Monitoring metric. The metric cannot have negative values. The metric must have a value type of INT64 or DOUBLE. #[prost(string, optional, tag="533067184")] pub metric: ::core::option::Option<::prost::alloc::string::String>, - /// If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead. + /// If scaling is based on a per-group metric value that represents the total amount of work to be done or resource usage, set this value to an amount assigned for a single instance of the scaled group. Autoscaler keeps the number of instances proportional to the value of this metric. The metric itself does not change value due to group resizing. A good metric to use with the target is for example pubsub.googleapis.com/subscription/num_undelivered_messages or a custom metric exporting the total number of requests coming to your instances. A bad example would be a metric exporting an average or median latency, since this value can't include a chunk assignable to a single instance, it could be better used with utilization_target instead. #[prost(double, optional, tag="504768064")] pub single_instance_assignment: ::core::option::Option, - /// The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is The autoscaler works to keep this value constant for each of the instances. + /// The target value of the metric that autoscaler maintains. This must be a positive value. A utilization metric scales number of virtual machines handling requests to increase or decrease proportionally to the metric. For example, a good metric to use as a utilization_target is The autoscaler works to keep this value constant for each of the instances. #[prost(double, optional, tag="215905870")] pub utilization_target: ::core::option::Option, - /// Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. - /// Check the UtilizationTargetType enum for the list of possible values. + /// Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + /// Check the UtilizationTargetType enum for the list of possible values. #[prost(string, optional, tag="340169355")] pub utilization_target_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `AutoscalingPolicyCustomMetricUtilization`. pub mod autoscaling_policy_custom_metric_utilization { - /// Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. + /// Defines how target utilization value is expressed for a Stackdriver Monitoring metric. Either GAUGE, DELTA_PER_SECOND, or DELTA_PER_MINUTE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UtilizationTargetType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedUtilizationTargetType = 0, - /// Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute. + /// Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per minute. DeltaPerMinute = 87432861, - /// Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second. + /// Sets the utilization target value for a cumulative or delta metric, expressed as the rate of growth per second. DeltaPerSecond = 255180029, - /// Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling. + /// Sets the utilization target value for a gauge metric. The autoscaler will collect the average utilization of the virtual machines from the last couple of minutes, and compare the value to the utilization target value to perform autoscaling. Gauge = 67590361, } impl UtilizationTargetType { @@ -2735,99 +2735,99 @@ pub mod autoscaling_policy_custom_metric_utilization { } } } -/// Configuration parameters of autoscaling based on load balancing. +/// Configuration parameters of autoscaling based on load balancing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicyLoadBalancingUtilization { - /// Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. + /// Fraction of backend capacity utilization (set in HTTP(S) load balancing configuration) that the autoscaler maintains. Must be a positive float value. If not defined, the default is 0.8. #[prost(double, optional, tag="215905870")] pub utilization_target: ::core::option::Option, } -/// Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. +/// Configuration that allows for slower scale in so that even if Autoscaler recommends an abrupt scale in of a MIG, it will be throttled as specified by the parameters below. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicyScaleInControl { - /// Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. + /// Maximum allowed number (or %) of VMs that can be deducted from the peak recommendation during the window autoscaler looks at when computing recommendations. Possibly all these VMs can be deleted at once so user service needs to be prepared to lose that many VMs in one step. #[prost(message, optional, tag="180710123")] pub max_scaled_in_replicas: ::core::option::Option, - /// How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above. + /// How far back autoscaling looks when computing recommendations to include directives regarding slower scale in, as described above. #[prost(int32, optional, tag="36405300")] pub time_window_sec: ::core::option::Option, } -/// Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out. +/// Scaling based on user-defined schedule. The message describes a single scaling schedule. A scaling schedule changes the minimum number of VM instances an autoscaler can recommend, which can trigger scaling out. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicyScalingSchedule { - /// A description of a scaling schedule. + /// A description of a scaling schedule. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default. + /// A boolean value that specifies whether a scaling schedule can influence autoscaler recommendations. If set to true, then a scaling schedule has no effect. This field is optional, and its value is false by default. #[prost(bool, optional, tag="270940796")] pub disabled: ::core::option::Option, - /// The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required. + /// The duration of time intervals, in seconds, for which this scaling schedule is to run. The minimum allowed value is 300. This field is required. #[prost(int32, optional, tag="212356902")] pub duration_sec: ::core::option::Option, - /// The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required. + /// The minimum number of VM instances that the autoscaler will recommend in time intervals starting according to schedule. This field is required. #[prost(int32, optional, tag="365514414")] pub min_required_replicas: ::core::option::Option, - /// The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving. + /// The start timestamps of time intervals when this scaling schedule is to provide a scaling signal. This field uses the extended cron format (with an optional year field). The expression can describe a single timestamp if the optional year is set, in which case the scaling schedule runs once. The schedule is interpreted with respect to time_zone. This field is required. Note: These timestamps only describe when autoscaler starts providing the scaling signal. The VMs need additional time to become serving. #[prost(string, optional, tag="375820951")] pub schedule: ::core::option::Option<::prost::alloc::string::String>, - /// The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: This field is assigned a default value of ���UTC��� if left empty. + /// The time zone to use when interpreting the schedule. The value of this field must be a time zone name from the tz database: This field is assigned a default value of ���UTC��� if left empty. #[prost(string, optional, tag="36848094")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, } -/// Message containing information of one individual backend. +/// Message containing information of one individual backend. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Backend { - /// Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. - /// Check the BalancingMode enum for the list of possible values. + /// Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. + /// Check the BalancingMode enum for the list of possible values. #[prost(string, optional, tag="430286217")] pub balancing_mode: ::core::option::Option<::prost::alloc::string::String>, - /// A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and \[0.1,1.0\]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. + /// A multiplier applied to the backend's target capacity of its balancing mode. The default value is 1, which means the group serves up to 100% of its configured capacity (depending on balancingMode). A setting of 0 means the group is completely drained, offering 0% of its available capacity. The valid ranges are 0.0 and \[0.1,1.0\]. You cannot configure a setting larger than 0 and smaller than 0.1. You cannot configure a setting of 0 when there is only one backend attached to the backend service. #[prost(float, optional, tag="315958157")] pub capacity_scaler: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService. + /// This field designates whether this is a failover backend. More than one failover backend can be configured for a given BackendService. #[prost(bool, optional, tag="138892530")] pub failover: ::core::option::Option, - /// The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](). You must use the *fully-qualified* URL (starting with ) to specify the instance group or NEG. Partial URLs are not supported. + /// The fully-qualified URL of an instance group or network endpoint group (NEG) resource. To determine what types of backends a load balancer supports, see the [Backend services overview](). You must use the *fully-qualified* URL (starting with ) to specify the instance group or NEG. Partial URLs are not supported. #[prost(string, optional, tag="98629247")] pub group: ::core::option::Option<::prost::alloc::string::String>, - /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. + /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. #[prost(int32, optional, tag="110652154")] pub max_connections: ::core::option::Option, - /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. + /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. #[prost(int32, optional, tag="216904604")] pub max_connections_per_endpoint: ::core::option::Option, - /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. + /// Defines a target maximum number of simultaneous connections. For usage guidelines, see Connection balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is RATE. #[prost(int32, optional, tag="104671900")] pub max_connections_per_instance: ::core::option::Option, - /// Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. + /// Defines a maximum number of HTTP requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. #[prost(int32, optional, tag="408035035")] pub max_rate: ::core::option::Option, - /// Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. + /// Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. #[prost(float, optional, tag="129832283")] pub max_rate_per_endpoint: ::core::option::Option, - /// Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. + /// Defines a maximum target for requests per second (RPS). For usage guidelines, see Rate balancing mode and Utilization balancing mode. Not available if the backend's balancingMode is CONNECTION. #[prost(float, optional, tag="17599579")] pub max_rate_per_instance: ::core::option::Option, - /// Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode. + /// Optional parameter to define a target capacity for the UTILIZATION balancing mode. The valid range is [0.0, 1.0]. For usage guidelines, see Utilization balancing mode. #[prost(float, optional, tag="148192199")] pub max_utilization: ::core::option::Option, } /// Nested message and enum types in `Backend`. pub mod backend { - /// Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. + /// Specifies how to determine whether the backend of a load balancer can handle additional traffic or is fully loaded. For usage guidelines, see Connection balancing mode. Backends must use compatible balancing modes. For more information, see Supported balancing modes and target capacity settings and Restrictions and guidance for instance groups. Note: Currently, if you use the API to configure incompatible balancing modes, the configuration might be accepted even though it has no impact and is ignored. Specifically, Backend.maxUtilization is ignored when Backend.balancingMode is RATE. In the future, this incompatible combination will be rejected. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BalancingMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedBalancingMode = 0, - /// Balance based on the number of simultaneous connections. + /// Balance based on the number of simultaneous connections. Connection = 246311646, - /// Balance based on requests per second (RPS). + /// Balance based on requests per second (RPS). Rate = 2508000, - /// Balance based on the backend utilization. + /// Balance based on the backend utilization. Utilization = 157008386, } impl BalancingMode { @@ -2845,58 +2845,58 @@ pub mod backend { } } } -/// Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets. +/// Represents a Cloud Storage Bucket resource. This Cloud Storage bucket resource is referenced by a URL map of a load balancer. For more information, read Backend Buckets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucket { - /// Cloud Storage bucket name. + /// Cloud Storage bucket name. #[prost(string, optional, tag="283610048")] pub bucket_name: ::core::option::Option<::prost::alloc::string::String>, - /// Cloud CDN configuration for this BackendBucket. + /// Cloud CDN configuration for this BackendBucket. #[prost(message, optional, tag="213976452")] pub cdn_policy: ::core::option::Option, - /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. - /// Check the CompressionMode enum for the list of possible values. + /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. + /// Check the CompressionMode enum for the list of possible values. #[prost(string, optional, tag="95520988")] pub compression_mode: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Headers that the HTTP/S load balancer should add to proxied responses. + /// Headers that the HTTP/S load balancer should add to proxied responses. #[prost(string, repeated, tag="387539094")] pub custom_response_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An optional textual description of the resource; provided by the client when the resource is created. + /// An optional textual description of the resource; provided by the client when the resource is created. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource URL for the edge security policy associated with this backend bucket. + /// [Output Only] The resource URL for the edge security policy associated with this backend bucket. #[prost(string, optional, tag="41036943")] pub edge_security_policy: ::core::option::Option<::prost::alloc::string::String>, - /// If true, enable Cloud CDN for this BackendBucket. + /// If true, enable Cloud CDN for this BackendBucket. #[prost(bool, optional, tag="282942321")] pub enable_cdn: ::core::option::Option, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// Type of the resource. + /// Type of the resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BackendBucket`. pub mod backend_bucket { - /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. + /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CompressionMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCompressionMode = 0, - /// Automatically uses the best compression based on the Accept-Encoding header sent by the client. + /// Automatically uses the best compression based on the Accept-Encoding header sent by the client. Automatic = 165298699, - /// Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. + /// Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. Disabled = 516696700, } impl CompressionMode { @@ -2913,61 +2913,61 @@ pub mod backend_bucket { } } } -/// Message containing Cloud CDN configuration for a backend bucket. +/// Message containing Cloud CDN configuration for a backend bucket. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucketCdnPolicy { - /// Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. + /// Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. #[prost(message, repeated, tag="486203082")] pub bypass_cache_on_request_headers: ::prost::alloc::vec::Vec, - /// The CacheKeyPolicy for this CdnPolicy. + /// The CacheKeyPolicy for this CdnPolicy. #[prost(message, optional, tag="159263727")] pub cache_key_policy: ::core::option::Option, - /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. - /// Check the CacheMode enum for the list of possible values. + /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Check the CacheMode enum for the list of possible values. #[prost(string, optional, tag="28877888")] pub cache_mode: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). + /// Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). #[prost(int32, optional, tag="29034360")] pub client_ttl: ::core::option::Option, - /// Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="100253422")] pub default_ttl: ::core::option::Option, - /// Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="307578001")] pub max_ttl: ::core::option::Option, - /// Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. + /// Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. #[prost(bool, optional, tag="336110005")] pub negative_caching: ::core::option::Option, - /// Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. + /// Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. #[prost(message, repeated, tag="155359996")] pub negative_caching_policy: ::prost::alloc::vec::Vec, - /// If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin. + /// If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin. #[prost(bool, optional, tag="532808276")] pub request_coalescing: ::core::option::Option, - /// Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale. + /// Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale. #[prost(int32, optional, tag="236682203")] pub serve_while_stale: ::core::option::Option, - /// Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=\[TTL\]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. + /// Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=\[TTL\]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. #[prost(int64, optional, tag="269374534")] pub signed_url_cache_max_age_sec: ::core::option::Option, - /// [Output Only] Names of the keys for signing request URLs. + /// [Output Only] Names of the keys for signing request URLs. #[prost(string, repeated, tag="371848885")] pub signed_url_key_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `BackendBucketCdnPolicy`. pub mod backend_bucket_cdn_policy { - /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CacheMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCacheMode = 0, - /// Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. CacheAllStatic = 355027945, - /// Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. + /// Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. ForceCacheAll = 486026928, InvalidCacheMode = 381295560, - /// Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. + /// Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. UseOriginHeaders = 55380261, } impl CacheMode { @@ -2986,189 +2986,189 @@ pub mod backend_bucket_cdn_policy { } } } -/// Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. +/// Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucketCdnPolicyBypassCacheOnRequestHeader { - /// The header field name to match on when bypassing cache. Values are case-insensitive. + /// The header field name to match on when bypassing cache. Values are case-insensitive. #[prost(string, optional, tag="110223613")] pub header_name: ::core::option::Option<::prost::alloc::string::String>, } -/// Message containing what to include in the cache key for a request for Cloud CDN. +/// Message containing what to include in the cache key for a request for Cloud CDN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucketCdnPolicyCacheKeyPolicy { - /// Allows HTTP request headers (by name) to be used in the cache key. + /// Allows HTTP request headers (by name) to be used in the cache key. #[prost(string, repeated, tag="2489606")] pub include_http_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters. + /// Names of query string parameters to include in cache keys. Default parameters are always included. '&' and '=' will be percent encoded and not treated as delimiters. #[prost(string, repeated, tag="52456496")] pub query_string_whitelist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Specify CDN TTLs for response error codes. +/// Specify CDN TTLs for response error codes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucketCdnPolicyNegativeCachingPolicy { - /// The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. + /// The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. #[prost(int32, optional, tag="3059181")] pub code: ::core::option::Option, - /// The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="115180")] pub ttl: ::core::option::Option, } -/// Contains a list of BackendBucket resources. +/// Contains a list of BackendBucket resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendBucketList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of BackendBucket resources. + /// A list of BackendBucket resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * \[Global\]() * \[Regional\]() For more information, see Backend Services. +/// Represents a Backend Service resource. A backend service defines how Google Cloud load balancers distribute traffic. The backend service configuration contains a set of values, such as the protocol used to connect to backends, various distribution and session settings, health checks, and timeouts. These settings provide fine-grained control over how your load balancer behaves. Most of the settings have default values that allow for easy configuration if you need to get started quickly. Backend services in Google Compute Engine can be either regionally or globally scoped. * \[Global\]() * \[Regional\]() For more information, see Backend Services. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendService { - /// Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// Lifetime of cookies in seconds. This setting is applicable to external and internal HTTP(S) load balancers and Traffic Director and requires GENERATED_COOKIE or HTTP_COOKIE session affinity. If set to 0, the cookie is non-persistent and lasts only until the end of the browser session (or equivalent). The maximum allowed value is two weeks (1,209,600). Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(int32, optional, tag="369996954")] pub affinity_cookie_ttl_sec: ::core::option::Option, - /// The list of backends that serve this BackendService. + /// The list of backends that serve this BackendService. #[prost(message, repeated, tag="510839903")] pub backends: ::prost::alloc::vec::Vec, - /// Cloud CDN configuration for this BackendService. Only available for specified load balancer types. + /// Cloud CDN configuration for this BackendService. Only available for specified load balancer types. #[prost(message, optional, tag="213976452")] pub cdn_policy: ::core::option::Option, #[prost(message, optional, tag="421340061")] pub circuit_breakers: ::core::option::Option, - /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. - /// Check the CompressionMode enum for the list of possible values. + /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. + /// Check the CompressionMode enum for the list of possible values. #[prost(string, optional, tag="95520988")] pub compression_mode: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="461096747")] pub connection_draining: ::core::option::Option, - /// Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. + /// Connection Tracking configuration for this BackendService. Connection tracking policy settings are only available for Network Load Balancing and Internal TCP/UDP Load Balancing. #[prost(message, optional, tag="143994969")] pub connection_tracking_policy: ::core::option::Option, - /// Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. + /// Consistent Hash-based load balancing can be used to provide soft session affinity based on HTTP headers, cookies or other properties. This load balancing policy is applicable only for HTTP connections. The affinity to a particular destination host will be lost when one or more hosts are added/removed from the destination service. This field specifies parameters that control consistent hashing. This field is only applicable when localityLbPolicy is set to MAGLEV or RING_HASH. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. #[prost(message, optional, tag="905883")] pub consistent_hash: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Headers that the load balancer adds to proxied requests. See [Creating custom headers](). + /// Headers that the load balancer adds to proxied requests. See [Creating custom headers](). #[prost(string, repeated, tag="27977992")] pub custom_request_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Headers that the load balancer adds to proxied responses. See [Creating custom headers](). + /// Headers that the load balancer adds to proxied responses. See [Creating custom headers](). #[prost(string, repeated, tag="387539094")] pub custom_response_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource URL for the edge security policy associated with this backend service. + /// [Output Only] The resource URL for the edge security policy associated with this backend service. #[prost(string, optional, tag="41036943")] pub edge_security_policy: ::core::option::Option<::prost::alloc::string::String>, - /// If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer. + /// If true, enables Cloud CDN for the backend service of an external HTTP(S) load balancer. #[prost(bool, optional, tag="250733499")] pub enable_c_d_n: ::core::option::Option, - /// Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). + /// Requires at least one backend instance group to be defined as a backup (failover) backend. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). #[prost(message, optional, tag="105658655")] pub failover_policy: ::core::option::Option, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a BackendService. An up-to-date fingerprint must be provided in order to update the BackendService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a BackendService. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. + /// The list of URLs to the healthChecks, httpHealthChecks (legacy), or httpsHealthChecks (legacy) resource for health checking this backend service. Not all backend services support legacy health checks. See Load balancer guide. Currently, at most one health check can be specified for each backend service. Backend services with instance group or zonal NEG backends must have a health check. Backend services with internet or serverless NEG backends must not have a health check. #[prost(string, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. + /// The configurations for Identity-Aware Proxy on this resource. Not available for Internal TCP/UDP Load Balancing and Network Load Balancing. #[prost(message, optional, tag="104024")] pub iap: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#backendService for backend services. + /// [Output Only] Type of resource. Always compute#backendService for backend services. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. - /// Check the LoadBalancingScheme enum for the list of possible values. + /// Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. + /// Check the LoadBalancingScheme enum for the list of possible values. #[prost(string, optional, tag="363890244")] pub load_balancing_scheme: ::core::option::Option<::prost::alloc::string::String>, - /// A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. + /// A list of locality load balancing policies to be used in order of preference. Either the policy or the customPolicy field should be set. Overrides any value set in the localityLbPolicy field. localityLbPolicies is only supported when the BackendService is referenced by a URL Map that is referenced by a target gRPC proxy that has the validateForProxyless field set to true. #[prost(message, repeated, tag="140982557")] pub locality_lb_policies: ::prost::alloc::vec::Vec, - /// The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. - /// Check the LocalityLbPolicy enum for the list of possible values. + /// The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// Check the LocalityLbPolicy enum for the list of possible values. #[prost(string, optional, tag="131431487")] pub locality_lb_policy: ::core::option::Option<::prost::alloc::string::String>, - /// This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. + /// This field denotes the logging options for the load balancer traffic served by this backend service. If logging is enabled, logs will be exported to Stackdriver. #[prost(message, optional, tag="351299741")] pub log_config: ::core::option::Option, - /// Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. + /// Specifies the default maximum duration (timeout) for streams to this service. Duration is computed from the beginning of the stream until the response has been completely processed, including all retries. A stream that does not complete in this duration is closed. If not specified, there will be no timeout limit, i.e. the maximum duration is infinite. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. This field is only allowed when the loadBalancingScheme of the backend service is INTERNAL_SELF_MANAGED. #[prost(message, optional, tag="61428376")] pub max_stream_duration: ::core::option::Option, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. + /// The URL of the network to which this backend service belongs. This field can only be specified when the load balancing scheme is set to INTERNAL. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. If not set, this feature is considered disabled. This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="354625086")] pub outlier_detection: ::core::option::Option, - /// Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. + /// Deprecated in favor of portName. The TCP port to connect on the backend. The default value is 80. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. + /// A named port on a backend instance group representing the port for communication to the backend VMs in that group. The named port must be [defined on each backend instance group](). This parameter has no meaning if the backends are NEGs. For Internal TCP/UDP Load Balancing and Network Load Balancing, omit port_name. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. - /// Check the Protocol enum for the list of possible values. + /// The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. + /// Check the Protocol enum for the list of possible values. #[prost(string, optional, tag="84577944")] pub protocol: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the regional backend service resides. This field is not applicable to global backend services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource URL for the security policy associated with this backend service. + /// [Output Only] The resource URL for the security policy associated with this backend service. #[prost(string, optional, tag="171082513")] pub security_policy: ::core::option::Option<::prost::alloc::string::String>, - /// This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. + /// This field specifies the security settings that apply to this backend service. This field is applicable to a global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. #[prost(message, optional, tag="478649922")] pub security_settings: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. + /// URLs of networkservices.ServiceBinding resources. Can only be set if load balancing scheme is INTERNAL_SELF_MANAGED. If set, lists of backends and health checks must be both empty. #[prost(string, repeated, tag="133581016")] pub service_bindings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](). - /// Check the SessionAffinity enum for the list of possible values. + /// Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](). + /// Check the SessionAffinity enum for the list of possible values. #[prost(string, optional, tag="463888561")] pub session_affinity: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="450283536")] pub subsetting: ::core::option::Option, - /// The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. + /// The backend service timeout has a different meaning depending on the type of load balancer. For more information see, Backend service settings. The default is 30 seconds. The full range of timeout values allowed goes from 1 through 2,147,483,647 seconds. This value can be overridden in the PathMatcher configuration of the UrlMap that references this backend service. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. Instead, use maxStreamDuration. #[prost(int32, optional, tag="79994995")] pub timeout_sec: ::core::option::Option, } /// Nested message and enum types in `BackendService`. pub mod backend_service { - /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. + /// Compress text responses using Brotli or gzip compression, based on the client's Accept-Encoding header. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CompressionMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCompressionMode = 0, - /// Automatically uses the best compression based on the Accept-Encoding header sent by the client. + /// Automatically uses the best compression based on the Accept-Encoding header sent by the client. Automatic = 165298699, - /// Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. + /// Disables compression. Existing compressed responses cached by Cloud CDN will not be served to clients. Disabled = 516696700, } impl CompressionMode { @@ -3184,21 +3184,21 @@ pub mod backend_service { } } } - /// Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. + /// Specifies the load balancer type. A backend service created for one type of load balancer cannot be used with another. For more information, refer to Choosing a load balancer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LoadBalancingScheme { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLoadBalancingScheme = 0, - /// Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing + /// Signifies that this will be used for external HTTP(S), SSL Proxy, TCP Proxy, or Network Load Balancing External = 35607499, - /// Signifies that this will be used for External Managed HTTP(S) Load Balancing. + /// Signifies that this will be used for External Managed HTTP(S) Load Balancing. ExternalManaged = 512006923, - /// Signifies that this will be used for Internal TCP/UDP Load Balancing. + /// Signifies that this will be used for Internal TCP/UDP Load Balancing. Internal = 279295677, - /// Signifies that this will be used for Internal HTTP(S) Load Balancing. + /// Signifies that this will be used for Internal HTTP(S) Load Balancing. InternalManaged = 37350397, - /// Signifies that this will be used by Traffic Director. + /// Signifies that this will be used by Traffic Director. InternalSelfManaged = 236211150, InvalidLoadBalancingScheme = 275352060, } @@ -3219,24 +3219,24 @@ pub mod backend_service { } } } - /// The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// The load balancing algorithm used within the scope of the locality. The possible values are: - ROUND_ROBIN: This is a simple policy in which each healthy backend is selected in round robin order. This is the default. - LEAST_REQUEST: An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. - RING_HASH: The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. - RANDOM: The load balancer selects a random healthy host. - ORIGINAL_DESTINATION: Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. - MAGLEV: used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see This field is applicable to either: - A regional backend service with the service_protocol set to HTTP, HTTPS, or HTTP2, and load_balancing_scheme set to INTERNAL_MANAGED. - A global backend service with the load_balancing_scheme set to INTERNAL_SELF_MANAGED. If sessionAffinity is not NONE, and this field is not set to MAGLEV or RING_HASH, session affinity settings will not take effect. Only ROUND_ROBIN and RING_HASH are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalityLbPolicy { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLocalityLbPolicy = 0, InvalidLbPolicy = 323318707, - /// An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. + /// An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. LeastRequest = 46604921, - /// This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see + /// This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see Maglev = 119180266, - /// Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. + /// Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. OriginalDestination = 166297216, - /// The load balancer selects a random healthy host. + /// The load balancer selects a random healthy host. Random = 262527171, - /// The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. + /// The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. RingHash = 432795069, - /// This is a simple policy in which each healthy backend is selected in round robin order. This is the default. + /// This is a simple policy in which each healthy backend is selected in round robin order. This is the default. RoundRobin = 153895801, } impl LocalityLbPolicy { @@ -3257,25 +3257,25 @@ pub mod backend_service { } } } - /// The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. + /// The protocol this BackendService uses to communicate with backends. Possible values are HTTP, HTTPS, HTTP2, TCP, SSL, UDP or GRPC. depending on the chosen load balancer or Traffic Director configuration. Refer to the documentation for the load balancers or for Traffic Director for more information. Must be set to GRPC when the backend service is referenced by a URL map that is bound to target gRPC proxy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Protocol { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProtocol = 0, - /// gRPC (available for Traffic Director). + /// gRPC (available for Traffic Director). Grpc = 2196510, Http = 2228360, - /// HTTP/2 with SSL. + /// HTTP/2 with SSL. Http2 = 69079210, Https = 69079243, - /// TCP proxying with SSL. + /// TCP proxying with SSL. Ssl = 82412, - /// TCP proxying or TCP pass-through. + /// TCP proxying or TCP pass-through. Tcp = 82881, - /// UDP. + /// UDP. Udp = 83873, - /// If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules. + /// If a Backend Service has UNSPECIFIED as its protocol, it can be used with any L3/L4 Forwarding Rules. Unspecified = 526786327, } impl Protocol { @@ -3297,27 +3297,27 @@ pub mod backend_service { } } } - /// Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](). + /// Type of session affinity to use. The default is NONE. Only NONE and HEADER_FIELD are supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. For more details, see: [Session Affinity](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SessionAffinity { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSessionAffinity = 0, - /// 2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. + /// 2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. ClientIp = 345665051, - /// 1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing. + /// 1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing. ClientIpNoDestination = 106122516, - /// 5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. + /// 5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. ClientIpPortProto = 221722926, - /// 3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. + /// 3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. ClientIpProto = 25322148, - /// Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing. + /// Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing. GeneratedCookie = 370321204, - /// The hash is based on a user specified header field. + /// The hash is based on a user specified header field. HeaderField = 200737960, - /// The hash is based on a user provided cookie. + /// The hash is based on a user provided cookie. HttpCookie = 494981627, - /// No session affinity. Connections from the same client IP may go to any instance in the pool. + /// No session affinity. Connections from the same client IP may go to any instance in the pool. None = 2402104, } impl SessionAffinity { @@ -3340,86 +3340,86 @@ pub mod backend_service { } } } -/// Contains a list of BackendServicesScopedList. +/// Contains a list of BackendServicesScopedList. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of BackendServicesScopedList resources. + /// A list of BackendServicesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, BackendServicesScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Message containing Cloud CDN configuration for a backend service. +/// Message containing Cloud CDN configuration for a backend service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceCdnPolicy { - /// Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. + /// Bypass the cache when the specified request headers are matched - e.g. Pragma or Authorization headers. Up to 5 headers can be specified. The cache is bypassed for all cdnPolicy.cacheMode settings. #[prost(message, repeated, tag="486203082")] pub bypass_cache_on_request_headers: ::prost::alloc::vec::Vec, - /// The CacheKeyPolicy for this CdnPolicy. + /// The CacheKeyPolicy for this CdnPolicy. #[prost(message, optional, tag="159263727")] pub cache_key_policy: ::core::option::Option, - /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. - /// Check the CacheMode enum for the list of possible values. + /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Check the CacheMode enum for the list of possible values. #[prost(string, optional, tag="28877888")] pub cache_mode: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). + /// Specifies a separate client (e.g. browser client) maximum TTL. This is used to clamp the max-age (or Expires) value sent to the client. With FORCE_CACHE_ALL, the lesser of client_ttl and default_ttl is used for the response max-age directive, along with a "public" directive. For cacheable content in CACHE_ALL_STATIC mode, client_ttl clamps the max-age from the origin (if specified), or else sets the response max-age directive to the lesser of the client_ttl and default_ttl, and also ensures a "public" cache-control directive is present. If a client TTL is not specified, a default value (1 hour) will be used. The maximum allowed value is 31,622,400s (1 year). #[prost(int32, optional, tag="29034360")] pub client_ttl: ::core::option::Option, - /// Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// Specifies the default TTL for cached content served by this origin for responses that do not have an existing valid TTL (max-age or s-max-age). Setting a TTL of "0" means "always revalidate". The value of defaultTTL cannot be set to a value greater than that of maxTTL, but can be equal. When the cacheMode is set to FORCE_CACHE_ALL, the defaultTTL will overwrite the TTL set in all responses. The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="100253422")] pub default_ttl: ::core::option::Option, - /// Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// Specifies the maximum allowed TTL for cached content served by this origin. Cache directives that attempt to set a max-age or s-maxage higher than this, or an Expires header more than maxTTL seconds in the future will be capped at the value of maxTTL, as if it were the value of an s-maxage Cache-Control directive. Headers sent to the client will not be modified. Setting a TTL of "0" means "always revalidate". The maximum allowed value is 31,622,400s (1 year), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="307578001")] pub max_ttl: ::core::option::Option, - /// Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. + /// Negative caching allows per-status code TTLs to be set, in order to apply fine-grained caching for common errors or redirects. This can reduce the load on your origin and improve end-user experience by reducing response latency. When the cache mode is set to CACHE_ALL_STATIC or USE_ORIGIN_HEADERS, negative caching applies to responses with the specified response code that lack any Cache-Control, Expires, or Pragma: no-cache directives. When the cache mode is set to FORCE_CACHE_ALL, negative caching applies to all responses with the specified response code, and override any caching headers. By default, Cloud CDN will apply the following default TTLs to these status codes: HTTP 300 (Multiple Choice), 301, 308 (Permanent Redirects): 10m HTTP 404 (Not Found), 410 (Gone), 451 (Unavailable For Legal Reasons): 120s HTTP 405 (Method Not Found), 421 (Misdirected Request), 501 (Not Implemented): 60s. These defaults can be overridden in negative_caching_policy. #[prost(bool, optional, tag="336110005")] pub negative_caching: ::core::option::Option, - /// Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. + /// Sets a cache TTL for the specified HTTP status code. negative_caching must be enabled to configure negative_caching_policy. Omitting the policy and leaving negative_caching enabled will use Cloud CDN's default cache TTLs. Note that when specifying an explicit negative_caching_policy, you should take care to specify a cache TTL for all response codes that you wish to cache. Cloud CDN will not apply any default negative caching when a policy exists. #[prost(message, repeated, tag="155359996")] pub negative_caching_policy: ::prost::alloc::vec::Vec, - /// If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin. + /// If true then Cloud CDN will combine multiple concurrent cache fill requests into a small number of requests to the origin. #[prost(bool, optional, tag="532808276")] pub request_coalescing: ::core::option::Option, - /// Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale. + /// Serve existing content from the cache (if available) when revalidating content with the origin, or when an error is encountered when refreshing the cache. This setting defines the default "max-stale" duration for any cached responses that do not specify a max-stale directive. Stale responses that exceed the TTL configured here will not be served. The default limit (max-stale) is 86400s (1 day), which will allow stale content to be served up to this limit beyond the max-age (or s-max-age) of a cached response. The maximum allowed value is 604800 (1 week). Set this to zero (0) to disable serve-while-stale. #[prost(int32, optional, tag="236682203")] pub serve_while_stale: ::core::option::Option, - /// Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=\[TTL\]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. + /// Maximum number of seconds the response to a signed URL request will be considered fresh. After this time period, the response will be revalidated before being served. Defaults to 1hr (3600s). When serving responses to signed URL requests, Cloud CDN will internally behave as though all responses from this backend had a "Cache-Control: public, max-age=\[TTL\]" header, regardless of any existing Cache-Control header. The actual headers served in responses will not be altered. #[prost(int64, optional, tag="269374534")] pub signed_url_cache_max_age_sec: ::core::option::Option, - /// [Output Only] Names of the keys for signing request URLs. + /// [Output Only] Names of the keys for signing request URLs. #[prost(string, repeated, tag="371848885")] pub signed_url_key_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `BackendServiceCdnPolicy`. pub mod backend_service_cdn_policy { - /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Specifies the cache setting for all responses from this backend. The possible values are: USE_ORIGIN_HEADERS Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. FORCE_CACHE_ALL Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. CACHE_ALL_STATIC Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CacheMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCacheMode = 0, - /// Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. + /// Automatically cache static content, including common image formats, media (video and audio), and web assets (JavaScript and CSS). Requests and responses that are marked as uncacheable, as well as dynamic content (including HTML), will not be cached. CacheAllStatic = 355027945, - /// Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. + /// Cache all content, ignoring any "private", "no-store" or "no-cache" directives in Cache-Control response headers. Warning: this may result in Cloud CDN caching private, per-user (user identifiable) content. ForceCacheAll = 486026928, InvalidCacheMode = 381295560, - /// Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. + /// Requires the origin to set valid caching headers to cache content. Responses without these headers will not be cached at Google's edge, and will require a full trip to the origin on every request, potentially impacting performance and increasing load on the origin server. UseOriginHeaders = 55380261, } impl CacheMode { @@ -3438,48 +3438,48 @@ pub mod backend_service_cdn_policy { } } } -/// Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. +/// Bypass the cache when the specified request headers are present, e.g. Pragma or Authorization headers. Values are case insensitive. The presence of such a header overrides the cache_mode setting. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceCdnPolicyBypassCacheOnRequestHeader { - /// The header field name to match on when bypassing cache. Values are case-insensitive. + /// The header field name to match on when bypassing cache. Values are case-insensitive. #[prost(string, optional, tag="110223613")] pub header_name: ::core::option::Option<::prost::alloc::string::String>, } -/// Specify CDN TTLs for response error codes. +/// Specify CDN TTLs for response error codes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceCdnPolicyNegativeCachingPolicy { - /// The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. + /// The HTTP status code to define a TTL against. Only HTTP status codes 300, 301, 302, 307, 308, 404, 405, 410, 421, 451 and 501 are can be specified as values, and you cannot specify a status code more than once. #[prost(int32, optional, tag="3059181")] pub code: ::core::option::Option, - /// The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. + /// The TTL (in seconds) for which to cache responses with the corresponding status code. The maximum allowed value is 1800s (30 minutes), noting that infrequently accessed objects may be evicted from the cache before the defined TTL. #[prost(int32, optional, tag="115180")] pub ttl: ::core::option::Option, } -/// Connection Tracking configuration for this BackendService. +/// Connection Tracking configuration for this BackendService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceConnectionTrackingPolicy { - /// Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing]() and [Connection Persistence for Internal TCP/UDP Load Balancing](). - /// Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values. + /// Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing]() and [Connection Persistence for Internal TCP/UDP Load Balancing](). + /// Check the ConnectionPersistenceOnUnhealthyBackends enum for the list of possible values. #[prost(string, optional, tag="152439033")] pub connection_persistence_on_unhealthy_backends: ::core::option::Option<::prost::alloc::string::String>, - /// Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly. + /// Enable Strong Session Affinity for Network Load Balancing. This option is not available publicly. #[prost(bool, optional, tag="24539924")] pub enable_strong_affinity: ::core::option::Option, - /// Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly. + /// Specifies how long to keep a Connection Tracking entry while there is no matching traffic (in seconds). For Internal TCP/UDP Load Balancing: - The minimum (default) is 10 minutes and the maximum is 16 hours. - It can be set only if Connection Tracking is less than 5-tuple (i.e. Session Affinity is CLIENT_IP_NO_DESTINATION, CLIENT_IP or CLIENT_IP_PROTO, and Tracking Mode is PER_SESSION). For Network Load Balancer the default is 60 seconds. This option is not available publicly. #[prost(int32, optional, tag="24977544")] pub idle_timeout_sec: ::core::option::Option, - /// Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing]() and [Tracking Mode for Internal TCP/UDP Load Balancing](). - /// Check the TrackingMode enum for the list of possible values. + /// Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing]() and [Tracking Mode for Internal TCP/UDP Load Balancing](). + /// Check the TrackingMode enum for the list of possible values. #[prost(string, optional, tag="127757867")] pub tracking_mode: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BackendServiceConnectionTrackingPolicy`. pub mod backend_service_connection_tracking_policy { - /// Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing]() and [Connection Persistence for Internal TCP/UDP Load Balancing](). + /// Specifies connection persistence when backends are unhealthy. The default value is DEFAULT_FOR_PROTOCOL. If set to DEFAULT_FOR_PROTOCOL, the existing connections persist on unhealthy backends only for connection-oriented protocols (TCP and SCTP) and only if the Tracking Mode is PER_CONNECTION (default tracking mode) or the Session Affinity is configured for 5-tuple. They do not persist for UDP. If set to NEVER_PERSIST, after a backend becomes unhealthy, the existing connections on the unhealthy backend are never persisted on the unhealthy backend. They are always diverted to newly selected healthy backends (unless all backends are unhealthy). If set to ALWAYS_PERSIST, existing connections always persist on unhealthy backends regardless of protocol and session affinity. It is generally not recommended to use this mode overriding the default. For more details, see [Connection Persistence for Network Load Balancing]() and [Connection Persistence for Internal TCP/UDP Load Balancing](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectionPersistenceOnUnhealthyBackends { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedConnectionPersistenceOnUnhealthyBackends = 0, AlwaysPersist = 38400900, DefaultForProtocol = 145265356, @@ -3499,11 +3499,11 @@ pub mod backend_service_connection_tracking_policy { } } } - /// Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing]() and [Tracking Mode for Internal TCP/UDP Load Balancing](). + /// Specifies the key used for connection tracking. There are two options: - PER_CONNECTION: This is the default mode. The Connection Tracking is performed as per the Connection Key (default Hash Method) for the specific protocol. - PER_SESSION: The Connection Tracking is performed as per the configured Session Affinity. It matches the configured Session Affinity. For more details, see [Tracking Mode for Network Load Balancing]() and [Tracking Mode for Internal TCP/UDP Load Balancing](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TrackingMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedTrackingMode = 0, InvalidTrackingMode = 49234371, PerConnection = 85162848, @@ -3524,71 +3524,71 @@ pub mod backend_service_connection_tracking_policy { } } } -/// For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). +/// For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). On failover or failback, this field indicates whether connection draining will be honored. Google Cloud has a fixed connection draining timeout of 10 minutes. A setting of true terminates existing TCP connections to the active pool during failover and failback, immediately draining traffic. A setting of false allows existing TCP connections to persist, even on VMs no longer in the active pool, for up to the duration of the connection draining timeout (10 minutes). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceFailoverPolicy { - /// This can be set to true only if the protocol is TCP. The default is false. + /// This can be set to true only if the protocol is TCP. The default is false. #[prost(bool, optional, tag="182150753")] pub disable_connection_drain_on_failover: ::core::option::Option, - /// If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). The default is false. + /// If set to true, connections to the load balancer are dropped when all primary and all backup backend VMs are unhealthy.If set to false, connections are distributed among all primary VMs when all primary and all backup backend VMs are unhealthy. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). The default is false. #[prost(bool, optional, tag="112289428")] pub drop_traffic_if_unhealthy: ::core::option::Option, - /// The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). + /// The value of the field must be in the range [0, 1]. If the value is 0, the load balancer performs a failover when the number of healthy primary VMs equals zero. For all other values, the load balancer performs a failover when the total number of healthy primary VMs is less than this ratio. For load balancers that have configurable failover: [Internal TCP/UDP Load Balancing]() and [external TCP/UDP Load Balancing](). #[prost(float, optional, tag="212667006")] pub failover_ratio: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceGroupHealth { - /// Metadata defined as annotations on the network endpoint group. + /// Metadata defined as annotations on the network endpoint group. #[prost(map="string, string", tag="112032548")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks. + /// Health state of the backend instances or endpoints in requested instance or network endpoint group, determined based on configured health checks. #[prost(message, repeated, tag="380545845")] pub health_status: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services. + /// [Output Only] Type of resource. Always compute#backendServiceGroupHealth for the health of backend services. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, } -/// Identity-Aware Proxy +/// Identity-Aware Proxy #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceIap { - /// Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. + /// Whether the serving infrastructure will authenticate and authorize all incoming requests. If true, the oauth2ClientId and oauth2ClientSecret fields must be non-empty. #[prost(bool, optional, tag="1018689")] pub enabled: ::core::option::Option, - /// OAuth2 client ID to use for the authentication flow. + /// OAuth2 client ID to use for the authentication flow. #[prost(string, optional, tag="314017611")] pub oauth2_client_id: ::core::option::Option<::prost::alloc::string::String>, - /// OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly + /// OAuth2 client secret to use for the authentication flow. For security reasons, this value cannot be retrieved via the API. Instead, the SHA-256 hash of the value is returned in the oauth2ClientSecretSha256 field. @InputOnly #[prost(string, optional, tag="50999520")] pub oauth2_client_secret: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] SHA256 hash value for the field oauth2_client_secret above. + /// [Output Only] SHA256 hash value for the field oauth2_client_secret above. #[prost(string, optional, tag="112903782")] pub oauth2_client_secret_sha256: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains a list of BackendService resources. +/// Contains a list of BackendService resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of BackendService resources. + /// A list of BackendService resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#backendServiceList for lists of backend services. + /// [Output Only] Type of resource. Always compute#backendServiceList for lists of backend services. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. +/// Container for either a built-in LB policy supported by gRPC or Envoy or a custom one implemented by the end user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceLocalityLoadBalancingPolicyConfig { #[prost(message, optional, tag="4818368")] @@ -3596,44 +3596,44 @@ pub struct BackendServiceLocalityLoadBalancingPolicyConfig { #[prost(message, optional, tag="91071794")] pub policy: ::core::option::Option, } -/// The configuration for a custom policy implemented by the user and deployed with the client. +/// The configuration for a custom policy implemented by the user and deployed with the client. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceLocalityLoadBalancingPolicyConfigCustomPolicy { - /// An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. + /// An optional, arbitrary JSON object with configuration data, understood by a locally installed custom policy implementation. #[prost(string, optional, tag="3076010")] pub data: ::core::option::Option<::prost::alloc::string::String>, - /// Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. + /// Identifies the custom policy. The value should match the type the custom implementation is registered with on the gRPC clients. It should follow protocol buffer message naming conventions and include the full path (e.g. myorg.CustomLbPolicy). The maximum length is 256 characters. Note that specifying the same custom policy more than once for a backend is not a valid configuration and will be rejected. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// The configuration for a built-in load balancing policy. +/// The configuration for a built-in load balancing policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceLocalityLoadBalancingPolicyConfigPolicy { - /// The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. - /// Check the Name enum for the list of possible values. + /// The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + /// Check the Name enum for the list of possible values. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `BackendServiceLocalityLoadBalancingPolicyConfigPolicy`. pub mod backend_service_locality_load_balancing_policy_config_policy { - /// The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. + /// The name of a locality load balancer policy to be used. The value should be one of the predefined ones as supported by localityLbPolicy, although at the moment only ROUND_ROBIN is supported. This field should only be populated when the customPolicy field is not used. Note that specifying the same policy more than once for a backend is not a valid configuration and will be rejected. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Name { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedName = 0, InvalidLbPolicy = 323318707, - /// An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. + /// An O(1) algorithm which selects two random healthy hosts and picks the host which has fewer active requests. LeastRequest = 46604921, - /// This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see + /// This algorithm implements consistent hashing to backends. Maglev can be used as a drop in replacement for the ring hash load balancer. Maglev is not as stable as ring hash but has faster table lookup build times and host selection times. For more information about Maglev, see Maglev = 119180266, - /// Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. + /// Backend host is selected based on the client connection metadata, i.e., connections are opened to the same address as the destination address of the incoming connection before the connection was redirected to the load balancer. OriginalDestination = 166297216, - /// The load balancer selects a random healthy host. + /// The load balancer selects a random healthy host. Random = 262527171, - /// The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. + /// The ring/modulo hash load balancer implements consistent hashing to backends. The algorithm has the property that the addition/removal of a host from a set of N hosts only affects 1/N of the requests. RingHash = 432795069, - /// This is a simple policy in which each healthy backend is selected in round robin order. This is the default. + /// This is a simple policy in which each healthy backend is selected in round robin order. This is the default. RoundRobin = 153895801, } impl Name { @@ -3655,13 +3655,13 @@ pub mod backend_service_locality_load_balancing_policy_config_policy { } } } -/// The available logging options for the load balancer traffic served by this backend service. +/// The available logging options for the load balancer traffic served by this backend service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServiceLogConfig { - /// Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. + /// Denotes whether to enable logging for the load balancer traffic served by this backend service. The default value is false. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, - /// This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0. + /// This field can only be specified if logging is enabled for this backend service. The value of the field must be in [0, 1]. This configures the sampling rate of requests to the load balancer where 1.0 means all logged requests are reported and 0.0 means no logged requests are reported. The default value is 1.0. #[prost(float, optional, tag="153193045")] pub sample_rate: ::core::option::Option, } @@ -3674,74 +3674,74 @@ pub struct BackendServiceReference { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackendServicesScopedList { - /// A list of BackendServices contained in this scope. + /// A list of BackendServices contained in this scope. #[prost(message, repeated, tag="388522409")] pub backend_services: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BfdPacket { - /// The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Authentication Present bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="105974260")] pub authentication_present: ::core::option::Option, - /// The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Control Plane Independent bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="62363573")] pub control_plane_independent: ::core::option::Option, - /// The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The demand bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="275180107")] pub demand: ::core::option::Option, - /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 - /// Check the Diagnostic enum for the list of possible values. + /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 + /// Check the Diagnostic enum for the list of possible values. #[prost(string, optional, tag="62708647")] pub diagnostic: ::core::option::Option<::prost::alloc::string::String>, - /// The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Final bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="97436022")] pub r#final: ::core::option::Option, - /// The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880 + /// The length of the BFD Control packet in bytes. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="504249062")] pub length: ::core::option::Option, - /// The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Required Min Echo RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="97286868")] pub min_echo_rx_interval_ms: ::core::option::Option, - /// The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Required Min RX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="463399028")] pub min_rx_interval_ms: ::core::option::Option, - /// The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Desired Min TX Interval value in the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="526023602")] pub min_tx_interval_ms: ::core::option::Option, - /// The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The detection time multiplier of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="191331777")] pub multiplier: ::core::option::Option, - /// The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The multipoint bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="191421431")] pub multipoint: ::core::option::Option, - /// The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 + /// The My Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="76663113")] pub my_discriminator: ::core::option::Option, - /// The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Poll bit of the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(bool, optional, tag="3446719")] pub poll: ::core::option::Option, - /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 - /// Check the State enum for the list of possible values. + /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// The version number of the BFD protocol, as specified in section 4.1 of RFC5880. + /// The version number of the BFD protocol, as specified in section 4.1 of RFC5880. #[prost(uint32, optional, tag="351608024")] pub version: ::core::option::Option, - /// The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 + /// The Your Discriminator value in the BFD packet. This is specified in section 4.1 of RFC5880 #[prost(uint32, optional, tag="515634064")] pub your_discriminator: ::core::option::Option, } /// Nested message and enum types in `BfdPacket`. pub mod bfd_packet { - /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 + /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Diagnostic { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDiagnostic = 0, AdministrativelyDown = 121685798, ConcatenatedPathDown = 26186892, @@ -3775,11 +3775,11 @@ pub mod bfd_packet { } } } - /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 + /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, AdminDown = 128544690, Down = 2104482, @@ -3804,50 +3804,50 @@ pub mod bfd_packet { } } } -/// Next free: 15 +/// Next free: 15 #[derive(Clone, PartialEq, ::prost::Message)] pub struct BfdStatus { - /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. - /// Check the BfdSessionInitializationMode enum for the list of possible values. + /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. + /// Check the BfdSessionInitializationMode enum for the list of possible values. #[prost(string, optional, tag="218156954")] pub bfd_session_initialization_mode: ::core::option::Option<::prost::alloc::string::String>, - /// Unix timestamp of the most recent config update. + /// Unix timestamp of the most recent config update. #[prost(int64, optional, tag="457195569")] pub config_update_timestamp_micros: ::core::option::Option, - /// Control packet counts for the current BFD session. + /// Control packet counts for the current BFD session. #[prost(message, optional, tag="132573561")] pub control_packet_counts: ::core::option::Option, - /// Inter-packet time interval statistics for control packets. + /// Inter-packet time interval statistics for control packets. #[prost(message, repeated, tag="500806649")] pub control_packet_intervals: ::prost::alloc::vec::Vec, - /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 - /// Check the LocalDiagnostic enum for the list of possible values. + /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 + /// Check the LocalDiagnostic enum for the list of possible values. #[prost(string, optional, tag="463737083")] pub local_diagnostic: ::core::option::Option<::prost::alloc::string::String>, - /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 - /// Check the LocalState enum for the list of possible values. + /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 + /// Check the LocalState enum for the list of possible values. #[prost(string, optional, tag="149195453")] pub local_state: ::core::option::Option<::prost::alloc::string::String>, - /// Negotiated transmit interval for control packets. + /// Negotiated transmit interval for control packets. #[prost(uint32, optional, tag="21768340")] pub negotiated_local_control_tx_interval_ms: ::core::option::Option, - /// The most recent Rx control packet for this BFD session. + /// The most recent Rx control packet for this BFD session. #[prost(message, optional, tag="505069729")] pub rx_packet: ::core::option::Option, - /// The most recent Tx control packet for this BFD session. + /// The most recent Tx control packet for this BFD session. #[prost(message, optional, tag="111386275")] pub tx_packet: ::core::option::Option, - /// Session uptime in milliseconds. Value will be 0 if session is not up. + /// Session uptime in milliseconds. Value will be 0 if session is not up. #[prost(int64, optional, tag="125398365")] pub uptime_ms: ::core::option::Option, } /// Nested message and enum types in `BfdStatus`. pub mod bfd_status { - /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. + /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BfdSessionInitializationMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedBfdSessionInitializationMode = 0, Active = 314733318, Disabled = 516696700, @@ -3867,11 +3867,11 @@ pub mod bfd_status { } } } - /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 + /// The diagnostic code specifies the local system's reason for the last change in session state. This allows remote systems to determine the reason that the previous session failed, for example. These diagnostic codes are specified in section 4.1 of RFC5880 #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalDiagnostic { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLocalDiagnostic = 0, AdministrativelyDown = 121685798, ConcatenatedPathDown = 26186892, @@ -3905,11 +3905,11 @@ pub mod bfd_status { } } } - /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 + /// The current BFD session state as seen by the transmitting system. These states are specified in section 4.1 of RFC5880 #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocalState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLocalState = 0, AdminDown = 128544690, Down = 2104482, @@ -3937,275 +3937,275 @@ pub mod bfd_status { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BfdStatusPacketCounts { - /// Number of packets received since the beginning of the current BFD session. + /// Number of packets received since the beginning of the current BFD session. #[prost(uint32, optional, tag="39375263")] pub num_rx: ::core::option::Option, - /// Number of packets received that were rejected because of errors since the beginning of the current BFD session. + /// Number of packets received that were rejected because of errors since the beginning of the current BFD session. #[prost(uint32, optional, tag="281007902")] pub num_rx_rejected: ::core::option::Option, - /// Number of packets received that were successfully processed since the beginning of the current BFD session. + /// Number of packets received that were successfully processed since the beginning of the current BFD session. #[prost(uint32, optional, tag="455361850")] pub num_rx_successful: ::core::option::Option, - /// Number of packets transmitted since the beginning of the current BFD session. + /// Number of packets transmitted since the beginning of the current BFD session. #[prost(uint32, optional, tag="39375325")] pub num_tx: ::core::option::Option, } -/// Associates `members`, or principals, with a `role`. +/// Associates `members`, or principals, with a `role`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Binding { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="441088277")] pub binding_id: ::core::option::Option<::prost::alloc::string::String>, - /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). + /// The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). #[prost(message, optional, tag="212430107")] pub condition: ::core::option::Option, - /// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog\[{namespace}/{kubernetes-sa}\]`: An identifier for a [Kubernetes service account](). For example, `my-project.svc.id.goog\[my-namespace/my-kubernetes-sa\]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. + /// Specifies the principals requesting access for a Google Cloud resource. `members` can have the following values: * `allUsers`: A special identifier that represents anyone who is on the internet; with or without a Google account. * `allAuthenticatedUsers`: A special identifier that represents anyone who is authenticated with a Google account or a service account. Does not include identities that come from external identity providers (IdPs) through identity federation. * `user:{emailid}`: An email address that represents a specific Google account. For example, `alice@example.com` . * `serviceAccount:{emailid}`: An email address that represents a Google service account. For example, `my-other-app@appspot.gserviceaccount.com`. * `serviceAccount:{projectid}.svc.id.goog\[{namespace}/{kubernetes-sa}\]`: An identifier for a [Kubernetes service account](). For example, `my-project.svc.id.goog\[my-namespace/my-kubernetes-sa\]`. * `group:{emailid}`: An email address that represents a Google group. For example, `admins@example.com`. * `deleted:user:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a user that has been recently deleted. For example, `alice@example.com?uid=123456789012345678901`. If the user is recovered, this value reverts to `user:{emailid}` and the recovered user retains the role in the binding. * `deleted:serviceAccount:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a service account that has been recently deleted. For example, `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`. If the service account is undeleted, this value reverts to `serviceAccount:{emailid}` and the undeleted service account retains the role in the binding. * `deleted:group:{emailid}?uid={uniqueid}`: An email address (plus unique identifier) representing a Google group that has been recently deleted. For example, `admins@example.com?uid=123456789012345678901`. If the group is recovered, this value reverts to `group:{emailid}` and the recovered group retains the role in the binding. * `domain:{domain}`: The G Suite domain (primary) that represents all the users of that domain. For example, `google.com` or `example.com`. #[prost(string, repeated, tag="412010777")] pub members: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. + /// Role that is assigned to the list of `members`, or principals. For example, `roles/viewer`, `roles/editor`, or `roles/owner`. #[prost(string, optional, tag="3506294")] pub role: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.BulkInsert. See the method description for details. +/// A request message for Instances.BulkInsert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BulkInsertInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="41427278")] pub bulk_insert_instance_resource_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests. +/// A transient resource used in compute.instances.bulkInsert and compute.regionInstances.bulkInsert . This resource is not persisted anywhere, it is used only for processing the requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BulkInsertInstanceResource { - /// The maximum number of instances to create. + /// The maximum number of instances to create. #[prost(int64, optional, tag="94851343")] pub count: ::core::option::Option, - /// The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided. + /// The instance properties defining the VM instances to be created. Required if sourceInstanceTemplate is not provided. #[prost(message, optional, tag="215355165")] pub instance_properties: ::core::option::Option, - /// Policy for chosing target zone. For more information, see Create VMs in bulk . + /// Policy for chosing target zone. For more information, see Create VMs in bulk . #[prost(message, optional, tag="465689852")] pub location_policy: ::core::option::Option, - /// The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted. + /// The minimum number of instances to create. If no min_count is specified then count is used as the default value. If min_count instances cannot be created, then no instances will be created and instances already created will be deleted. #[prost(int64, optional, tag="523228386")] pub min_count: ::core::option::Option, - /// The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such as inst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters. + /// The string pattern used for the names of the VMs. Either name_pattern or per_instance_properties must be set. The pattern must contain one continuous sequence of placeholder hash characters (#) with each character corresponding to one digit of the generated instance name. Example: a name_pattern of inst-#### generates instance names such as inst-0001 and inst-0002. If existing instances in the same project and zone have names that match the name pattern then the generated instance numbers start after the biggest existing number. For example, if there exists an instance with name inst-0050, then instance names generated using the pattern inst-#### begin with inst-0051. The name pattern placeholder #...# can contain up to 18 characters. #[prost(string, optional, tag="413815260")] pub name_pattern: ::core::option::Option<::prost::alloc::string::String>, - /// Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used. + /// Per-instance properties to be set on individual instances. Keys of this map specify requested instance names. Can be empty if name_pattern is used. #[prost(map="string, message", tag="108502267")] pub per_instance_properties: ::std::collections::HashMap<::prost::alloc::string::String, BulkInsertInstanceResourcePerInstanceProperties>, - /// Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional. + /// Specifies the instance template from which to create instances. You may combine sourceInstanceTemplate with instanceProperties to override specific values from an existing instance template. Bulk API follows the semantics of JSON Merge Patch described by RFC 7396. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate This field is optional. #[prost(string, optional, tag="332423616")] pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>, } -/// Per-instance properties to be set on individual instances. To be extended in the future. +/// Per-instance properties to be set on individual instances. To be extended in the future. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BulkInsertInstanceResourcePerInstanceProperties { - /// This field is only temporary. It will be removed. Do not use it. + /// This field is only temporary. It will be removed. Do not use it. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionInstances.BulkInsert. See the method description for details. +/// A request message for RegionInstances.BulkInsert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BulkInsertRegionInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="41427278")] pub bulk_insert_instance_resource_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CacheInvalidationRule { - /// If set, this invalidation rule will only apply to requests with a Host header matching host. + /// If set, this invalidation rule will only apply to requests with a Host header matching host. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="3433509")] pub path: ::core::option::Option<::prost::alloc::string::String>, } -/// Message containing what to include in the cache key for a request for Cloud CDN. +/// Message containing what to include in the cache key for a request for Cloud CDN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CacheKeyPolicy { - /// If true, requests to different hosts will be cached separately. + /// If true, requests to different hosts will be cached separately. #[prost(bool, optional, tag="486867679")] pub include_host: ::core::option::Option, - /// Allows HTTP request headers (by name) to be used in the cache key. + /// Allows HTTP request headers (by name) to be used in the cache key. #[prost(string, repeated, tag="2489606")] pub include_http_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates. + /// Allows HTTP cookies (by name) to be used in the cache key. The name=value pair will be used in the cache key Cloud CDN generates. #[prost(string, repeated, tag="87316530")] pub include_named_cookies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, http and https requests will be cached separately. + /// If true, http and https requests will be cached separately. #[prost(bool, optional, tag="303507535")] pub include_protocol: ::core::option::Option, - /// If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely. + /// If true, include query string parameters in the cache key according to query_string_whitelist and query_string_blacklist. If neither is set, the entire query string will be included. If false, the query string will be excluded from the cache key entirely. #[prost(bool, optional, tag="474036639")] pub include_query_string: ::core::option::Option, - /// Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. + /// Names of query string parameters to exclude in cache keys. All other parameters will be included. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. #[prost(string, repeated, tag="354964742")] pub query_string_blacklist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. + /// Names of query string parameters to include in cache keys. All other parameters will be excluded. Either specify query_string_whitelist or query_string_blacklist, not both. '&' and '=' will be percent encoded and not treated as delimiters. #[prost(string, repeated, tag="52456496")] pub query_string_whitelist: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Settings controlling the volume of requests, connections and retries to this backend service. +/// Settings controlling the volume of requests, connections and retries to this backend service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CircuitBreakers { - /// The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// The maximum number of connections to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(int32, optional, tag="110652154")] pub max_connections: ::core::option::Option, - /// The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// The maximum number of pending requests allowed to the backend service. If not specified, there is no limit. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(int32, optional, tag="375558887")] pub max_pending_requests: ::core::option::Option, - /// The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit. + /// The maximum number of parallel requests that allowed to the backend service. If not specified, there is no limit. #[prost(int32, optional, tag="28097599")] pub max_requests: ::core::option::Option, - /// Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// Maximum requests for a single connection to the backend service. This parameter is respected by both the HTTP/1.1 and HTTP/2 implementations. If not specified, there is no limit. Setting this parameter to 1 will effectively disable keep alive. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(int32, optional, tag="361630528")] pub max_requests_per_connection: ::core::option::Option, - /// The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// The maximum number of parallel retries allowed to the backend cluster. If not specified, the default is 1. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(int32, optional, tag="55546219")] pub max_retries: ::core::option::Option, } -/// A request message for FirewallPolicies.CloneRules. See the method description for details. +/// A request message for FirewallPolicies.CloneRules. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloneRulesFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The firewall policy from which to copy rules. + /// The firewall policy from which to copy rules. #[prost(string, optional, tag="25013549")] pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.CloneRules. See the method description for details. +/// A request message for NetworkFirewallPolicies.CloneRules. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloneRulesNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The firewall policy from which to copy rules. + /// The firewall policy from which to copy rules. #[prost(string, optional, tag="25013549")] pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.CloneRules. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloneRulesRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The firewall policy from which to copy rules. + /// The firewall policy from which to copy rules. #[prost(string, optional, tag="25013549")] pub source_firewall_policy: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts. +/// Represents a regional Commitment resource. Creating a commitment resource means that you are purchasing a committed use contract with an explicit start and end time. You can create commitments based on vCPUs and memory usage and receive discounted rates. For full details, read Signing Up for Committed Use Discounts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Commitment { - /// Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. + /// Specifies whether to enable automatic renewal for the commitment. The default value is false if not specified. The field can be updated until the day of the commitment expiration at 12:00am PST. If the field is set to true, the commitment will be automatically renewed for either one or three years according to the terms of the existing commitment. #[prost(bool, optional, tag="495520765")] pub auto_renew: ::core::option::Option, - /// The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. - /// Check the Category enum for the list of possible values. + /// The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. + /// Check the Category enum for the list of possible values. #[prost(string, optional, tag="50511102")] pub category: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Commitment end time in RFC3339 text format. + /// [Output Only] Commitment end time in RFC3339 text format. #[prost(string, optional, tag="468096690")] pub end_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#commitment for commitments. + /// [Output Only] Type of the resource. Always compute#commitment for commitments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The license specification required as part of a license commitment. + /// The license specification required as part of a license commitment. #[prost(message, optional, tag="437955148")] pub license_resource: ::core::option::Option, - /// List of source commitments to be merged into a new commitment. + /// List of source commitments to be merged into a new commitment. #[prost(string, repeated, tag="188093761")] pub merge_source_commitments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). - /// Check the Plan enum for the list of possible values. + /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + /// Check the Plan enum for the list of possible values. #[prost(string, optional, tag="3443497")] pub plan: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where this commitment may be used. + /// [Output Only] URL of the region where this commitment may be used. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// List of reservations in this commitment. + /// List of reservations in this commitment. #[prost(message, repeated, tag="399717927")] pub reservations: ::prost::alloc::vec::Vec, - /// A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. + /// A list of commitment amounts for particular resources. Note that VCPU and MEMORY resource commitments must occur together. #[prost(message, repeated, tag="164412965")] pub resources: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Source commitment to be splitted into a new commitment. + /// Source commitment to be splitted into a new commitment. #[prost(string, optional, tag="402611156")] pub split_source_commitment: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Commitment start time in RFC3339 text format. + /// [Output Only] Commitment start time in RFC3339 text format. #[prost(string, optional, tag="83645817")] pub start_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. - /// Check the Status enum for the list of possible values. + /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional, human-readable explanation of the status. + /// [Output Only] An optional, human-readable explanation of the status. #[prost(string, optional, tag="297428154")] pub status_message: ::core::option::Option<::prost::alloc::string::String>, - /// The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. - /// Check the Type enum for the list of possible values. + /// The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Commitment`. pub mod commitment { - /// The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. + /// The category of the commitment. Category MACHINE specifies commitments composed of machine resources such as VCPU or MEMORY, listed in resources. Category LICENSE specifies commitments composed of software licenses, listed in licenseResources. Note that only MACHINE commitments should have a Type specified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Category { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCategory = 0, Unspecified = 509189462, License = 347869217, @@ -4225,11 +4225,11 @@ pub mod commitment { } } } - /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). + /// The plan for this commitment, which determines duration and discount rate. The currently supported plans are TWELVE_MONTH (1 year), and THIRTY_SIX_MONTH (3 years). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Plan { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPlan = 0, Invalid = 530283991, ThirtySixMonth = 266295942, @@ -4249,11 +4249,11 @@ pub mod commitment { } } } - /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. + /// [Output Only] Status of the commitment with regards to eventual expiration (each commitment has an end date defined). One of the following values: NOT_YET_ACTIVE, ACTIVE, EXPIRED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Active = 314733318, Cancelled = 41957681, @@ -4277,11 +4277,11 @@ pub mod commitment { } } } - /// The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. + /// The type of commitment, which affects the discount rate and the eligible resources. Type MEMORY_OPTIMIZED specifies a commitment that will only apply to memory optimized machines. Type ACCELERATOR_OPTIMIZED specifies a commitment that will only apply to accelerator optimized machines. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, AcceleratorOptimized = 280848403, ComputeOptimized = 158349023, @@ -4321,105 +4321,105 @@ pub mod commitment { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitmentAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of CommitmentsScopedList resources. + /// A list of CommitmentsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, CommitmentsScopedList>, - /// [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments. + /// [Output Only] Type of resource. Always compute#commitmentAggregatedList for aggregated lists of commitments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of Commitment resources. +/// Contains a list of Commitment resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitmentList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Commitment resources. + /// A list of Commitment resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. + /// [Output Only] Type of resource. Always compute#commitmentList for lists of commitments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitmentsScopedList { - /// [Output Only] A list of commitments contained in this scope. + /// [Output Only] A list of commitments contained in this scope. #[prost(message, repeated, tag="450664446")] pub commitments: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of commitments when the list is empty. + /// [Output Only] Informational warning which replaces the list of commitments when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Condition { - /// This is deprecated and has no effect. Do not use. - /// Check the Iam enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the Iam enum for the list of possible values. #[prost(string, optional, tag="104021")] pub iam: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. - /// Check the Op enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the Op enum for the list of possible values. #[prost(string, optional, tag="3553")] pub op: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="114272")] pub svc: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. - /// Check the Sys enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the Sys enum for the list of possible values. #[prost(string, optional, tag="114381")] pub sys: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, repeated, tag="249928994")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Condition`. pub mod condition { - /// This is deprecated and has no effect. Do not use. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NO_ATTR + /// This is deprecated and has no effect. Do not use. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NO_ATTR #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Iam { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIam = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Approver = 357258949, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Attribution = 232465503, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Authority = 504108835, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. CredentialsType = 348222141, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. CredsAssertion = 332343272, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. JustificationType = 206147719, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. SecurityRealm = 526269616, } impl Iam { @@ -4440,23 +4440,23 @@ pub mod condition { } } } - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Op { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOp = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Discharged = 266338274, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Equals = 442201023, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. In = 2341, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. NotEquals = 19718859, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. NotIn = 161144369, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. NoOp = 74481951, } impl Op { @@ -4476,21 +4476,21 @@ pub mod condition { } } } - /// This is deprecated and has no effect. Do not use. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NO_ATTR + /// This is deprecated and has no effect. Do not use. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NO_ATTR #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Sys { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSys = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Ip = 2343, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Name = 2388619, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Region = 266017524, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Service = 17781397, } impl Sys { @@ -4509,1464 +4509,1464 @@ pub mod condition { } } } -/// A set of Confidential Instance options. +/// A set of Confidential Instance options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidentialInstanceConfig { - /// Defines whether the instance should have confidential compute enabled. + /// Defines whether the instance should have confidential compute enabled. #[prost(bool, optional, tag="102135228")] pub enable_confidential_compute: ::core::option::Option, } -/// Message containing connection draining configuration. +/// Message containing connection draining configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionDraining { - /// Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. + /// Configures a duration timeout for existing requests on a removed backend instance. For supported load balancers and protocols, as described in Enabling connection draining. #[prost(int32, optional, tag="225127070")] pub draining_timeout_sec: ::core::option::Option, } -/// This message defines settings for a consistent hash style load balancer. +/// This message defines settings for a consistent hash style load balancer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsistentHashLoadBalancerSettings { - /// Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. + /// Hash is based on HTTP Cookie. This field describes a HTTP cookie that will be used as the hash key for the consistent hash load balancer. If the cookie is not present, it will be generated. This field is applicable if the sessionAffinity is set to HTTP_COOKIE. Not supported when the backend service is referenced by a URL map that is bound to target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="6673915")] pub http_cookie: ::core::option::Option, - /// The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD. + /// The hash based on the value of the specified header field. This field is applicable if the sessionAffinity is set to HEADER_FIELD. #[prost(string, optional, tag="234798022")] pub http_header_name: ::core::option::Option<::prost::alloc::string::String>, - /// The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. + /// The minimum number of virtual nodes to use for the hash ring. Defaults to 1024. Larger ring sizes result in more granular load distributions. If the number of hosts in the load balancing pool is larger than the ring size, each host will be assigned a single virtual node. #[prost(int64, optional, tag="234380735")] pub minimum_ring_size: ::core::option::Option, } -/// The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash. +/// The information about the HTTP Cookie on which the hash function is based for load balancing policies that use a consistent hash. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConsistentHashLoadBalancerSettingsHttpCookie { - /// Name of the cookie. + /// Name of the cookie. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Path to set for the cookie. + /// Path to set for the cookie. #[prost(string, optional, tag="3433509")] pub path: ::core::option::Option<::prost::alloc::string::String>, - /// Lifetime of the cookie. + /// Lifetime of the cookie. #[prost(message, optional, tag="115180")] pub ttl: ::core::option::Option, } -/// The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. +/// The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CorsPolicy { - /// In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. + /// In response to a preflight request, setting this to true indicates that the actual request can include user credentials. This field translates to the Access-Control-Allow-Credentials header. Default is false. #[prost(bool, optional, tag="481263366")] pub allow_credentials: ::core::option::Option, - /// Specifies the content for the Access-Control-Allow-Headers header. + /// Specifies the content for the Access-Control-Allow-Headers header. #[prost(string, repeated, tag="45179024")] pub allow_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies the content for the Access-Control-Allow-Methods header. + /// Specifies the content for the Access-Control-Allow-Methods header. #[prost(string, repeated, tag="205405372")] pub allow_methods: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. + /// Specifies a regular expression that matches allowed origins. For more information about the regular expression syntax, see Syntax. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. #[prost(string, repeated, tag="215385810")] pub allow_origin_regexes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. + /// Specifies the list of origins that is allowed to do CORS requests. An origin is allowed if it matches either an item in allowOrigins or an item in allowOriginRegexes. #[prost(string, repeated, tag="194914071")] pub allow_origins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect. + /// If true, the setting specifies the CORS policy is disabled. The default value of false, which indicates that the CORS policy is in effect. #[prost(bool, optional, tag="270940796")] pub disabled: ::core::option::Option, - /// Specifies the content for the Access-Control-Expose-Headers header. + /// Specifies the content for the Access-Control-Expose-Headers header. #[prost(string, repeated, tag="247604747")] pub expose_headers: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header. + /// Specifies how long results of a preflight request can be cached in seconds. This field translates to the Access-Control-Max-Age header. #[prost(int32, optional, tag="307559332")] pub max_age: ::core::option::Option, } -/// A request message for InstanceGroupManagers.CreateInstances. See the method description for details. +/// A request message for InstanceGroupManagers.CreateInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstancesInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="24558867")] pub instance_group_managers_create_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.CreateInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.CreateInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstancesRegionInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region where the managed instance group is located. It should conform to RFC1035. + /// The name of the region where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="359014280")] pub region_instance_group_managers_create_instances_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.CreateSnapshot. See the method description for details. +/// A request message for Disks.CreateSnapshot. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSnapshotDiskRequest { - /// Name of the persistent disk to snapshot. + /// Name of the persistent disk to snapshot. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. + /// [Input Only] Whether to attempt an application consistent snapshot by informing the OS to prepare for the snapshot process. #[prost(bool, optional, tag="385550813")] pub guest_flush: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="481319977")] pub snapshot_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionDisks.CreateSnapshot. See the method description for details. +/// A request message for RegionDisks.CreateSnapshot. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSnapshotRegionDiskRequest { - /// Name of the regional persistent disk to snapshot. + /// Name of the regional persistent disk to snapshot. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="481319977")] pub snapshot_resource: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerEncryptionKey { - /// The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key + /// The name of the encryption key that is stored in Google Cloud KMS. For example: "kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key #[prost(string, optional, tag="484373913")] pub kms_key_name: ::core::option::Option<::prost::alloc::string::String>, - /// The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ + /// The service account being used for the encryption request for the given KMS key. If absent, the Compute Engine default service account is used. For example: "kmsKeyServiceAccount": "name@project_id.iam.gserviceaccount.com/ #[prost(string, optional, tag="209986261")] pub kms_key_service_account: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" + /// Specifies a 256-bit customer-supplied encryption key, encoded in RFC 4648 base64 to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rawKey": "SGVsbG8gZnJvbSBHb29nbGUgQ2xvdWQgUGxhdGZvcm0=" #[prost(string, optional, tag="449196488")] pub raw_key: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: + /// Specifies an RFC 4648 base64 encoded, RSA-wrapped 2048-bit customer-supplied encryption key to either encrypt or decrypt this resource. You can provide either the rawKey or the rsaEncryptedKey. For example: "rsaEncryptedKey": "ieCx/NcW06PcT7Ep1X6LUTc/hLvUDYyzSZPPVCVPTVEohpeHASqC8uw5TzyO9U+Fka9JFH z0mBibXUInrC/jEk014kCK/NPjYgEMOyssZ4ZINPKxlUh2zn1bV+MCaTICrdmuSBTWlUUiFoD D6PYznLwh8ZNdaheCeZ8ewEXgFQ8V+sDroLaN3Xs3MDTXQEMMoNUXMCZEIpg9Vtp9x2oe==" The key must meet the following requirements before you can provide it to Compute Engine: 1. The key is wrapped using a RSA public key certificate provided by Google. 2. After being wrapped, the key must be encoded in RFC 4648 base64 encoding. Gets the RSA public key certificate provided by Google at: #[prost(string, optional, tag="335487397")] pub rsa_encrypted_key: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource. + /// [Output only] The RFC 4648 base64 encoded SHA-256 hash of the customer-supplied encryption key that protects this resource. #[prost(string, optional, tag="170112551")] pub sha256: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct CustomerEncryptionKeyProtectedDisk { - /// Decrypts data associated with the disk with a customer-supplied encryption key. + /// Decrypts data associated with the disk with a customer-supplied encryption key. #[prost(message, optional, tag="271660677")] pub disk_encryption_key: ::core::option::Option, - /// Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: "source": "/compute/v1/projects/project_id/zones/zone/disks/ disk_name + /// Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks. For example: "source": "/compute/v1/projects/project_id/zones/zone/disks/ disk_name #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Data { - /// [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A warning data value corresponding to the key. + /// [Output Only] A warning data value corresponding to the key. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.DeleteAccessConfig. See the method description for details. +/// A request message for Instances.DeleteAccessConfig. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAccessConfigInstanceRequest { - /// The name of the access config to delete. + /// The name of the access config to delete. #[prost(string, tag="72856189")] pub access_config: ::prost::alloc::string::String, - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The name of the network interface. + /// The name of the network interface. #[prost(string, tag="365387880")] pub network_interface: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Addresses.Delete. See the method description for details. +/// A request message for Addresses.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAddressRequest { - /// Name of the address resource to delete. + /// Name of the address resource to delete. #[prost(string, tag="462920692")] pub address: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Autoscalers.Delete. See the method description for details. +/// A request message for Autoscalers.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAutoscalerRequest { - /// Name of the autoscaler to delete. + /// Name of the autoscaler to delete. #[prost(string, tag="517258967")] pub autoscaler: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.Delete. See the method description for details. +/// A request message for BackendBuckets.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBackendBucketRequest { - /// Name of the BackendBucket resource to delete. + /// Name of the BackendBucket resource to delete. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for BackendServices.Delete. See the method description for details. +/// A request message for BackendServices.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBackendServiceRequest { - /// Name of the BackendService resource to delete. + /// Name of the BackendService resource to delete. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.Delete. See the method description for details. +/// A request message for Disks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDiskRequest { - /// Name of the persistent disk to delete. + /// Name of the persistent disk to delete. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ExternalVpnGateways.Delete. See the method description for details. +/// A request message for ExternalVpnGateways.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteExternalVpnGatewayRequest { - /// Name of the externalVpnGateways to delete. + /// Name of the externalVpnGateways to delete. #[prost(string, tag="109898629")] pub external_vpn_gateway: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.Delete. See the method description for details. +/// A request message for FirewallPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFirewallPolicyRequest { - /// Name of the firewall policy to delete. + /// Name of the firewall policy to delete. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Firewalls.Delete. See the method description for details. +/// A request message for Firewalls.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFirewallRequest { - /// Name of the firewall rule to delete. + /// Name of the firewall rule to delete. #[prost(string, tag="511016192")] pub firewall: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for ForwardingRules.Delete. See the method description for details. +/// A request message for ForwardingRules.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteForwardingRuleRequest { - /// Name of the ForwardingRule resource to delete. + /// Name of the ForwardingRule resource to delete. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalAddresses.Delete. See the method description for details. +/// A request message for GlobalAddresses.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalAddressRequest { - /// Name of the address resource to delete. + /// Name of the address resource to delete. #[prost(string, tag="462920692")] pub address: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalForwardingRules.Delete. See the method description for details. +/// A request message for GlobalForwardingRules.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalForwardingRuleRequest { - /// Name of the ForwardingRule resource to delete. + /// Name of the ForwardingRule resource to delete. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalNetworkEndpointGroups.Delete. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalNetworkEndpointGroupRequest { - /// The name of the network endpoint group to delete. It should comply with RFC1035. + /// The name of the network endpoint group to delete. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalOperations.Delete. See the method description for details. +/// A request message for GlobalOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalOperationRequest { - /// Name of the Operations resource to delete. + /// Name of the Operations resource to delete. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A response message for GlobalOperations.Delete. See the method description for details. +/// A response message for GlobalOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalOperationResponse { } -/// A request message for GlobalOrganizationOperations.Delete. See the method description for details. +/// A request message for GlobalOrganizationOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalOrganizationOperationRequest { - /// Name of the Operations resource to delete. + /// Name of the Operations resource to delete. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Parent ID for this request. + /// Parent ID for this request. #[prost(string, optional, tag="459714768")] pub parent_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A response message for GlobalOrganizationOperations.Delete. See the method description for details. +/// A response message for GlobalOrganizationOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalOrganizationOperationResponse { } -/// A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details. +/// A request message for GlobalPublicDelegatedPrefixes.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteGlobalPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to delete. + /// Name of the PublicDelegatedPrefix resource to delete. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for HealthChecks.Delete. See the method description for details. +/// A request message for HealthChecks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteHealthCheckRequest { - /// Name of the HealthCheck resource to delete. + /// Name of the HealthCheck resource to delete. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Images.Delete. See the method description for details. +/// A request message for Images.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteImageRequest { - /// Name of the image resource to delete. + /// Name of the image resource to delete. #[prost(string, tag="100313435")] pub image: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.Delete. See the method description for details. +/// A request message for InstanceGroupManagers.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceGroupManagerRequest { - /// The name of the managed instance group to delete. + /// The name of the managed instance group to delete. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroups.Delete. See the method description for details. +/// A request message for InstanceGroups.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceGroupRequest { - /// The name of the instance group to delete. + /// The name of the instance group to delete. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.Delete. See the method description for details. +/// A request message for Instances.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Name of the instance resource to delete. + /// Name of the instance resource to delete. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.Delete. See the method description for details. +/// A request message for InstanceTemplates.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceTemplateRequest { - /// The name of the instance template to delete. + /// The name of the instance template to delete. #[prost(string, tag="309248228")] pub instance_template: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.DeleteInstances. See the method description for details. +/// A request message for InstanceGroupManagers.DeleteInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstancesInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="166421252")] pub instance_group_managers_delete_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.DeleteInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.DeleteInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstancesRegionInstanceGroupManagerRequest { - /// Name of the managed instance group. + /// Name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="500876665")] pub region_instance_group_managers_delete_instances_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InterconnectAttachments.Delete. See the method description for details. +/// A request message for InterconnectAttachments.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInterconnectAttachmentRequest { - /// Name of the interconnect attachment to delete. + /// Name of the interconnect attachment to delete. #[prost(string, tag="308135284")] pub interconnect_attachment: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Interconnects.Delete. See the method description for details. +/// A request message for Interconnects.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInterconnectRequest { - /// Name of the interconnect to delete. + /// Name of the interconnect to delete. #[prost(string, tag="224601230")] pub interconnect: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Licenses.Delete. See the method description for details. +/// A request message for Licenses.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteLicenseRequest { - /// Name of the license resource to delete. + /// Name of the license resource to delete. #[prost(string, tag="166757441")] pub license: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for MachineImages.Delete. See the method description for details. +/// A request message for MachineImages.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteMachineImageRequest { - /// The name of the machine image to delete. + /// The name of the machine image to delete. #[prost(string, tag="69189475")] pub machine_image: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEdgeSecurityServices.Delete. See the method description for details. +/// A request message for NetworkEdgeSecurityServices.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNetworkEdgeSecurityServiceRequest { - /// Name of the network edge security service to delete. + /// Name of the network edge security service to delete. #[prost(string, tag="157011879")] pub network_edge_security_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEndpointGroups.Delete. See the method description for details. +/// A request message for NetworkEndpointGroups.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNetworkEndpointGroupRequest { - /// The name of the network endpoint group to delete. It should comply with RFC1035. + /// The name of the network endpoint group to delete. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.Delete. See the method description for details. +/// A request message for NetworkFirewallPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNetworkFirewallPolicyRequest { - /// Name of the firewall policy to delete. + /// Name of the firewall policy to delete. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Networks.Delete. See the method description for details. +/// A request message for Networks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNetworkRequest { - /// Name of the network to delete. + /// Name of the network to delete. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NodeGroups.Delete. See the method description for details. +/// A request message for NodeGroups.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNodeGroupRequest { - /// Name of the NodeGroup resource to delete. + /// Name of the NodeGroup resource to delete. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.Delete. See the method description for details. +/// A request message for NodeTemplates.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNodeTemplateRequest { - /// Name of the NodeTemplate resource to delete. + /// Name of the NodeTemplate resource to delete. #[prost(string, tag="323154455")] pub node_template: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NodeGroups.DeleteNodes. See the method description for details. +/// A request message for NodeGroups.DeleteNodes. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteNodesNodeGroupRequest { - /// Name of the NodeGroup resource whose nodes will be deleted. + /// Name of the NodeGroup resource whose nodes will be deleted. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="183298962")] pub node_groups_delete_nodes_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for PacketMirrorings.Delete. See the method description for details. +/// A request message for PacketMirrorings.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePacketMirroringRequest { - /// Name of the PacketMirroring resource to delete. + /// Name of the PacketMirroring resource to delete. #[prost(string, tag="22305996")] pub packet_mirroring: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details. +/// A request message for InstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePerInstanceConfigsInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="362427680")] pub instance_group_managers_delete_per_instance_configs_req_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details. +/// A request message for RegionInstanceGroupManagers.DeletePerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePerInstanceConfigsRegionInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request, should conform to RFC1035. + /// Name of the region scoping this request, should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="740741")] pub region_instance_group_manager_delete_instance_config_req_resource: ::core::option::Option, } -/// A request message for PublicAdvertisedPrefixes.Delete. See the method description for details. +/// A request message for PublicAdvertisedPrefixes.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePublicAdvertisedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicAdvertisedPrefix resource to delete. + /// Name of the PublicAdvertisedPrefix resource to delete. #[prost(string, tag="101874590")] pub public_advertised_prefix: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PublicDelegatedPrefixes.Delete. See the method description for details. +/// A request message for PublicDelegatedPrefixes.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to delete. + /// Name of the PublicDelegatedPrefix resource to delete. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionAutoscalers.Delete. See the method description for details. +/// A request message for RegionAutoscalers.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionAutoscalerRequest { - /// Name of the autoscaler to delete. + /// Name of the autoscaler to delete. #[prost(string, tag="517258967")] pub autoscaler: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionBackendServices.Delete. See the method description for details. +/// A request message for RegionBackendServices.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionBackendServiceRequest { - /// Name of the BackendService resource to delete. + /// Name of the BackendService resource to delete. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionDisks.Delete. See the method description for details. +/// A request message for RegionDisks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionDiskRequest { - /// Name of the regional persistent disk to delete. + /// Name of the regional persistent disk to delete. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthChecks.Delete. See the method description for details. +/// A request message for RegionHealthChecks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionHealthCheckRequest { - /// Name of the HealthCheck resource to delete. + /// Name of the HealthCheck resource to delete. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthCheckServices.Delete. See the method description for details. +/// A request message for RegionHealthCheckServices.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionHealthCheckServiceRequest { - /// Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the HealthCheckService to delete. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="408374747")] pub health_check_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionInstanceGroupManagers.Delete. See the method description for details. +/// A request message for RegionInstanceGroupManagers.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionInstanceGroupManagerRequest { - /// Name of the managed instance group to delete. + /// Name of the managed instance group to delete. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkEndpointGroups.Delete. See the method description for details. +/// A request message for RegionNetworkEndpointGroups.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionNetworkEndpointGroupRequest { - /// The name of the network endpoint group to delete. It should comply with RFC1035. + /// The name of the network endpoint group to delete. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region where the network endpoint group is located. It should comply with RFC1035. + /// The name of the region where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to delete. + /// Name of the firewall policy to delete. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNotificationEndpoints.Delete. See the method description for details. +/// A request message for RegionNotificationEndpoints.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionNotificationEndpointRequest { - /// Name of the NotificationEndpoint resource to delete. + /// Name of the NotificationEndpoint resource to delete. #[prost(string, tag="376807017")] pub notification_endpoint: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionOperations.Delete. See the method description for details. +/// A request message for RegionOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionOperationRequest { - /// Name of the Operations resource to delete. + /// Name of the Operations resource to delete. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A response message for RegionOperations.Delete. See the method description for details. +/// A response message for RegionOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionOperationResponse { } -/// A request message for RegionSecurityPolicies.Delete. See the method description for details. +/// A request message for RegionSecurityPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the security policy to delete. + /// Name of the security policy to delete. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A request message for RegionSslCertificates.Delete. See the method description for details. +/// A request message for RegionSslCertificates.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SslCertificate resource to delete. + /// Name of the SslCertificate resource to delete. #[prost(string, tag="46443492")] pub ssl_certificate: ::prost::alloc::string::String, } -/// A request message for RegionSslPolicies.Delete. See the method description for details. +/// A request message for RegionSslPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, } -/// A request message for RegionTargetHttpProxies.Delete. See the method description for details. +/// A request message for RegionTargetHttpProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpProxy resource to delete. + /// Name of the TargetHttpProxy resource to delete. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, } -/// A request message for RegionTargetHttpsProxies.Delete. See the method description for details. +/// A request message for RegionTargetHttpsProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource to delete. + /// Name of the TargetHttpsProxy resource to delete. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for RegionTargetTcpProxies.Delete. See the method description for details. +/// A request message for RegionTargetTcpProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetTcpProxy resource to delete. + /// Name of the TargetTcpProxy resource to delete. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for RegionUrlMaps.Delete. See the method description for details. +/// A request message for RegionUrlMaps.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. + /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to delete. + /// Name of the UrlMap resource to delete. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// A request message for Reservations.Delete. See the method description for details. +/// A request message for Reservations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the reservation to delete. + /// Name of the reservation to delete. #[prost(string, tag="47530956")] pub reservation: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.Delete. See the method description for details. +/// A request message for ResourcePolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteResourcePolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource policy to delete. + /// Name of the resource policy to delete. #[prost(string, tag="159240835")] pub resource_policy: ::prost::alloc::string::String, } -/// A request message for Routes.Delete. See the method description for details. +/// A request message for Routes.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRouteRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Route resource to delete. + /// Name of the Route resource to delete. #[prost(string, tag="108704329")] pub route: ::prost::alloc::string::String, } -/// A request message for Routers.Delete. See the method description for details. +/// A request message for Routers.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Router resource to delete. + /// Name of the Router resource to delete. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, } -/// A request message for SecurityPolicies.Delete. See the method description for details. +/// A request message for SecurityPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the security policy to delete. + /// Name of the security policy to delete. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A request message for ServiceAttachments.Delete. See the method description for details. +/// A request message for ServiceAttachments.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the ServiceAttachment resource to delete. + /// Name of the ServiceAttachment resource to delete. #[prost(string, tag="338957549")] pub service_attachment: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.DeleteSignedUrlKey. See the method description for details. +/// A request message for BackendBuckets.DeleteSignedUrlKey. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSignedUrlKeyBackendBucketRequest { - /// Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035. + /// Name of the BackendBucket resource to which the Signed URL Key should be added. The name should conform to RFC1035. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// The name of the Signed URL Key to delete. + /// The name of the Signed URL Key to delete. #[prost(string, tag="500938859")] pub key_name: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for BackendServices.DeleteSignedUrlKey. See the method description for details. +/// A request message for BackendServices.DeleteSignedUrlKey. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSignedUrlKeyBackendServiceRequest { - /// Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. + /// Name of the BackendService resource to which the Signed URL Key should be added. The name should conform to RFC1035. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// The name of the Signed URL Key to delete. + /// The name of the Signed URL Key to delete. #[prost(string, tag="500938859")] pub key_name: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Snapshots.Delete. See the method description for details. +/// A request message for Snapshots.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSnapshotRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Snapshot resource to delete. + /// Name of the Snapshot resource to delete. #[prost(string, tag="284874180")] pub snapshot: ::prost::alloc::string::String, } -/// A request message for SslCertificates.Delete. See the method description for details. +/// A request message for SslCertificates.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SslCertificate resource to delete. + /// Name of the SslCertificate resource to delete. #[prost(string, tag="46443492")] pub ssl_certificate: ::prost::alloc::string::String, } -/// A request message for SslPolicies.Delete. See the method description for details. +/// A request message for SslPolicies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to delete. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, } -/// A request message for Subnetworks.Delete. See the method description for details. +/// A request message for Subnetworks.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Subnetwork resource to delete. + /// Name of the Subnetwork resource to delete. #[prost(string, tag="307827694")] pub subnetwork: ::prost::alloc::string::String, } -/// A request message for TargetGrpcProxies.Delete. See the method description for details. +/// A request message for TargetGrpcProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetGrpcProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetGrpcProxy resource to delete. + /// Name of the TargetGrpcProxy resource to delete. #[prost(string, tag="5020283")] pub target_grpc_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpProxies.Delete. See the method description for details. +/// A request message for TargetHttpProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpProxy resource to delete. + /// Name of the TargetHttpProxy resource to delete. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpsProxies.Delete. See the method description for details. +/// A request message for TargetHttpsProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource to delete. + /// Name of the TargetHttpsProxy resource to delete. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetInstances.Delete. See the method description for details. +/// A request message for TargetInstances.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetInstanceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetInstance resource to delete. + /// Name of the TargetInstance resource to delete. #[prost(string, tag="289769347")] pub target_instance: ::prost::alloc::string::String, - /// Name of the zone scoping this request. + /// Name of the zone scoping this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for TargetPools.Delete. See the method description for details. +/// A request message for TargetPools.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetPool resource to delete. + /// Name of the TargetPool resource to delete. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, } -/// A request message for TargetSslProxies.Delete. See the method description for details. +/// A request message for TargetSslProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetSslProxy resource to delete. + /// Name of the TargetSslProxy resource to delete. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for TargetTcpProxies.Delete. See the method description for details. +/// A request message for TargetTcpProxies.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetTcpProxy resource to delete. + /// Name of the TargetTcpProxy resource to delete. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for TargetVpnGateways.Delete. See the method description for details. +/// A request message for TargetVpnGateways.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the target VPN gateway to delete. + /// Name of the target VPN gateway to delete. #[prost(string, tag="532512843")] pub target_vpn_gateway: ::prost::alloc::string::String, } -/// A request message for UrlMaps.Delete. See the method description for details. +/// A request message for UrlMaps.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to delete. + /// Name of the UrlMap resource to delete. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// A request message for VpnGateways.Delete. See the method description for details. +/// A request message for VpnGateways.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the VPN gateway to delete. + /// Name of the VPN gateway to delete. #[prost(string, tag="406684153")] pub vpn_gateway: ::prost::alloc::string::String, } -/// A request message for VpnTunnels.Delete. See the method description for details. +/// A request message for VpnTunnels.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteVpnTunnelRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the VpnTunnel resource to delete. + /// Name of the VpnTunnel resource to delete. #[prost(string, tag="143821331")] pub vpn_tunnel: ::prost::alloc::string::String, } -/// A request message for ZoneOperations.Delete. See the method description for details. +/// A request message for ZoneOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteZoneOperationRequest { - /// Name of the Operations resource to delete. + /// Name of the Operations resource to delete. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A response message for ZoneOperations.Delete. See the method description for details. +/// A response message for ZoneOperations.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteZoneOperationResponse { } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Denied { - /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. + /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp) or the IP protocol number. #[prost(string, optional, tag="488094525")] pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>, - /// An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. + /// An optional list of ports to which this rule applies. This field is only applicable for the UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. #[prost(string, repeated, tag="106854418")] pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A request message for Images.Deprecate. See the method description for details. +/// A request message for Images.Deprecate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeprecateImageRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="333006064")] pub deprecation_status_resource: ::core::option::Option, - /// Image name. + /// Image name. #[prost(string, tag="100313435")] pub image: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Deprecation status for a public resource. +/// Deprecation status for a public resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeprecationStatus { - /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. + /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DELETED. This is only informational and the status will not change unless the client explicitly changes it. #[prost(string, optional, tag="476721177")] pub deleted: ::core::option::Option<::prost::alloc::string::String>, - /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it. + /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to DEPRECATED. This is only informational and the status will not change unless the client explicitly changes it. #[prost(string, optional, tag="515138995")] pub deprecated: ::core::option::Option<::prost::alloc::string::String>, - /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it. + /// An optional RFC3339 timestamp on or after which the state of this resource is intended to change to OBSOLETE. This is only informational and the status will not change unless the client explicitly changes it. #[prost(string, optional, tag="357647769")] pub obsolete: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. + /// The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource. #[prost(string, optional, tag="430919186")] pub replacement: ::core::option::Option<::prost::alloc::string::String>, - /// The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. - /// Check the State enum for the list of possible values. + /// The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `DeprecationStatus`. pub mod deprecation_status { - /// The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. + /// The deprecation state of this resource. This can be ACTIVE, DEPRECATED, OBSOLETE, or DELETED. Operations which communicate the end of life date for an image, can use ACTIVE. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, Active = 314733318, Deleted = 120962041, @@ -5989,216 +5989,216 @@ pub mod deprecation_status { } } } -/// A request message for Instances.DetachDisk. See the method description for details. +/// A request message for Instances.DetachDisk. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetachDiskInstanceRequest { - /// The device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names. + /// The device name of the disk to detach. Make a get() request on the instance to view currently attached disks and device names. #[prost(string, tag="67541716")] pub device_name: ::prost::alloc::string::String, - /// Instance name for this request. + /// Instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for GlobalNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetachNetworkEndpointsGlobalNetworkEndpointGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="8898269")] pub global_network_endpoint_groups_detach_endpoints_request_resource: ::core::option::Option, - /// The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. + /// The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details. +/// A request message for NetworkEndpointGroups.DetachNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetachNetworkEndpointsNetworkEndpointGroupRequest { - /// The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. + /// The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="515608697")] pub network_endpoint_groups_detach_endpoints_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Projects.DisableXpnHost. See the method description for details. +/// A request message for Projects.DisableXpnHost. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisableXpnHostProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Projects.DisableXpnResource. See the method description for details. +/// A request message for Projects.DisableXpnResource. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisableXpnResourceProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="209136170")] pub projects_disable_xpn_resource_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * \[Zonal\](/compute/docs/reference/rest/v1/disks) * \[Regional\](/compute/docs/reference/rest/v1/regionDisks) Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources. +/// Represents a Persistent Disk resource. Google Compute Engine has two Disk resources: * \[Zonal\](/compute/docs/reference/rest/v1/disks) * \[Regional\](/compute/docs/reference/rest/v1/regionDisks) Persistent disks are required for running your VM instances. Create both boot and non-boot (data) persistent disks. For more information, read Persistent Disks. For more storage options, read Storage options. The disks resource represents a zonal persistent disk. For more information, read Zonal persistent disks. The regionDisks resource represents a regional persistent disk. For more information, read Regional resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Disk { - /// The architecture of the disk. Valid values are ARM64 or X86_64. - /// Check the Architecture enum for the list of possible values. + /// The architecture of the disk. Valid values are ARM64 or X86_64. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. + /// Encrypts the disk using a customer-supplied encryption key or a customer-managed encryption key. Encryption keys do not protect access to metadata of the disk. After you encrypt a disk with a customer-supplied key, you must provide the same key if you use the disk later. For example, to create a disk snapshot, to create a disk image, to create a machine image, or to attach the disk to a virtual machine. After you encrypt a disk with a customer-managed key, the diskEncryptionKey.kmsKeyName is set to a key *version* name once the disk is created. The disk is encrypted with this version of the key. In the response, diskEncryptionKey.kmsKeyName appears in the following format: "diskEncryptionKey.kmsKeyName": "projects/kms_project_id/locations/region/keyRings/ key_region/cryptoKeys/key /cryptoKeysVersions/version If you do not provide an encryption key when creating the disk, then the disk is encrypted using an automatically generated key and you don't need to provide a key to use the disk later. #[prost(message, optional, tag="271660677")] pub disk_encryption_key: ::core::option::Option, - /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. + /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. #[prost(message, repeated, tag="79294545")] pub guest_os_features: ::prost::alloc::vec::Vec, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#disk for disks. + /// [Output Only] Type of the resource. Always compute#disk for disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk. + /// A fingerprint for the labels being applied to this disk, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a disk. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to this disk. These can be later modified by the setLabels method. + /// Labels to apply to this disk. These can be later modified by the setLabels method. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// [Output Only] Last attach timestamp in RFC3339 text format. + /// [Output Only] Last attach timestamp in RFC3339 text format. #[prost(string, optional, tag="42159653")] pub last_attach_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Last detach timestamp in RFC3339 text format. + /// [Output Only] Last detach timestamp in RFC3339 text format. #[prost(string, optional, tag="56471027")] pub last_detach_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Integer license codes indicating which licenses are attached to this disk. + /// Integer license codes indicating which licenses are attached to this disk. #[prost(int64, repeated, tag="45482664")] pub license_codes: ::prost::alloc::vec::Vec, - /// A list of publicly visible licenses. Reserved for Google's use. + /// A list of publicly visible licenses. Reserved for Google's use. #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API. + /// An opaque location hint used to place the disk close to other resources. This field is for use by internal tools that use the public API. #[prost(string, optional, tag="350519505")] pub location_hint: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Internal use only. + /// Internal use only. #[prost(string, optional, tag="361137822")] pub options: ::core::option::Option<::prost::alloc::string::String>, - /// Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. + /// Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. #[prost(message, optional, tag="78313862")] pub params: ::core::option::Option, - /// Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. + /// Physical block size of the persistent disk, in bytes. If not present in a request, a default value is used. The currently supported size is 4096, other sizes may be added in the future. If an unsupported value is requested, the error message will list the supported values for the caller's project. #[prost(int64, optional, tag="420007943")] pub physical_block_size_bytes: ::core::option::Option, - /// Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. + /// Indicates how many IOPS to provision for the disk. This sets the number of I/O operations per second that the disk can handle. Values must be between 10,000 and 120,000. For more details, see the Extreme persistent disk documentation. #[prost(int64, optional, tag="186769108")] pub provisioned_iops: ::core::option::Option, - /// [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the disk resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// URLs of the zones where the disk should be replicated to. Only applicable for regional resources. + /// URLs of the zones where the disk should be replicated to. Only applicable for regional resources. #[prost(string, repeated, tag="48438272")] pub replica_zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Resource policies applied to this disk for automatic snapshot creations. + /// Resource policies applied to this disk for automatic snapshot creations. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined fully-qualified URL for this resource. + /// [Output Only] Server-defined fully-qualified URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive. + /// Size, in GB, of the persistent disk. You can specify this field when creating a persistent disk using the sourceImage, sourceSnapshot, or sourceDisk parameter, or specify it alone to create an empty persistent disk. If you specify this field along with a source, the value of sizeGb must not be less than the size of the source. Acceptable values are 1 to 65536, inclusive. #[prost(int64, optional, tag="494929369")] pub size_gb: ::core::option::Option, - /// The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /disks/disk - /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk + /// The source disk used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /disks/disk - /disks/disk - projects/project/zones/zone/disks/disk - projects/project/regions/region/disks/disk - zones/zone/disks/disk - regions/region/disks/disk #[prost(string, optional, tag="451753793")] pub source_disk: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used. + /// [Output Only] The unique ID of the disk used to create this disk. This value identifies the exact disk that was used to create this persistent disk. For example, if you created the persistent disk from a disk that was later deleted and recreated under the same name, the source disk ID would identify the exact version of the disk that was used. #[prost(string, optional, tag="454190809")] pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>, - /// The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family + /// The source image used to create this disk. If the source image is deleted, this field will not be set. To create a disk with one of the public operating system images, specify the image by its family name. For example, specify family/debian-9 to use the latest Debian 9 image: projects/debian-cloud/global/images/family/debian-9 Alternatively, use a specific version of a public operating system image: projects/debian-cloud/global/images/debian-9-stretch-vYYYYMMDD To create a disk with a custom image that you created, specify the image name in the following format: global/images/my-custom-image You can also specify a custom image by its image family, which returns the latest version of the image in that family. Replace the image name with family/family-name: global/images/family/my-image-family #[prost(string, optional, tag="50443319")] pub source_image: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. #[prost(message, optional, tag="381503659")] pub source_image_encryption_key: ::core::option::Option, - /// [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. + /// [Output Only] The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used. #[prost(string, optional, tag="55328291")] pub source_image_id: ::core::option::Option<::prost::alloc::string::String>, - /// The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot + /// The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /global/snapshots/snapshot - projects/project/global/snapshots/snapshot - global/snapshots/snapshot #[prost(string, optional, tag="126061928")] pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. #[prost(message, optional, tag="303679322")] pub source_snapshot_encryption_key: ::core::option::Option, - /// [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. + /// [Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used. #[prost(string, optional, tag="98962258")] pub source_snapshot_id: ::core::option::Option<::prost::alloc::string::String>, - /// The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead. + /// The full Google Cloud Storage URI where the disk image is stored. This file must be a gzip-compressed tarball whose name ends in .tar.gz or virtual machine disk whose name ends in vmdk. Valid URIs may start with gs:// or This flag is not optimized for creating multiple disks from a source storage object. To create many disks from a source storage object, use gcloud compute images import instead. #[prost(string, optional, tag="233052711")] pub source_storage_object: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. + /// URL of the disk type resource describing which disk type to use to create the disk. Provide this when creating the disk. For example: projects/project /zones/zone/diskTypes/pd-ssd . See Persistent disk types. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance + /// [Output Only] Links to the users of the disk (attached instances) in form: projects/project/zones/zone/instances/instance #[prost(string, repeated, tag="111578632")] pub users: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the zone where the disk resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Disk`. pub mod disk { - /// The architecture of the disk. Valid values are ARM64 or X86_64. + /// The architecture of the disk. Valid values are ARM64 or X86_64. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -6215,21 +6215,21 @@ pub mod disk { } } } - /// [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. + /// [Output Only] The status of disk creation. - CREATING: Disk is provisioning. - RESTORING: Source data is being copied into the disk. - FAILED: Disk creation failed. - READY: Disk is ready for use. - DELETING: Disk is deleting. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Disk is provisioning + /// Disk is provisioning Creating = 455564985, - /// Disk is deleting. + /// Disk is deleting. Deleting = 528602024, - /// Disk creation failed. + /// Disk creation failed. Failed = 455706685, - /// Disk is ready for use. + /// Disk is ready for use. Ready = 77848963, - /// Source data is being copied into the disk. + /// Source data is being copied into the disk. Restoring = 404263851, } impl Status { @@ -6252,66 +6252,66 @@ pub mod disk { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of DisksScopedList resources. + /// A list of DisksScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, DisksScopedList>, - /// [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks. + /// [Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. +/// A specification of the desired way to instantiate a disk in the instance template when its created from a source instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskInstantiationConfig { - /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). + /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). #[prost(bool, optional, tag="464761403")] pub auto_delete: ::core::option::Option, - /// The custom source image to be used to restore this disk when instantiating this instance template. + /// The custom source image to be used to restore this disk when instantiating this instance template. #[prost(string, optional, tag="184123149")] pub custom_image: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the device name of the disk to which the configurations apply to. + /// Specifies the device name of the disk to which the configurations apply to. #[prost(string, optional, tag="67541716")] pub device_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. - /// Check the InstantiateFrom enum for the list of possible values. + /// Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. + /// Check the InstantiateFrom enum for the list of possible values. #[prost(string, optional, tag="393383903")] pub instantiate_from: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `DiskInstantiationConfig`. pub mod disk_instantiation_config { - /// Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. + /// Specifies whether to include the disk and what image to use. Possible values are: - source-image: to use the same image that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - source-image-family: to use the same image family that was used to create the source instance's corresponding disk. Applicable to the boot disk and additional read-write disks. - custom-image: to use a user-provided image url for disk creation. Applicable to the boot disk and additional read-write disks. - attach-read-only: to attach a read-only disk. Applicable to read-only disks. - do-not-include: to exclude a disk from the template. Applicable to additional read-write disks, local SSDs, and read-only disks. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstantiateFrom { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstantiateFrom = 0, - /// Attach the existing disk in read-only mode. The request will fail if the disk was attached in read-write mode on the source instance. Applicable to: read-only disks. + /// Attach the existing disk in read-only mode. The request will fail if the disk was attached in read-write mode on the source instance. Applicable to: read-only disks. AttachReadOnly = 513775419, - /// Create a blank disk. The disk will be created unformatted. Applicable to: additional read-write disks, local SSDs. + /// Create a blank disk. The disk will be created unformatted. Applicable to: additional read-write disks, local SSDs. Blank = 63281460, - /// Use the custom image specified in the custom_image field. Applicable to: boot disk, additional read-write disks. + /// Use the custom image specified in the custom_image field. Applicable to: boot disk, additional read-write disks. CustomImage = 196311789, - /// Use the default instantiation option for the corresponding type of disk. For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. + /// Use the default instantiation option for the corresponding type of disk. For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. Default = 115302945, - /// Do not include the disk in the instance template. Applicable to: additional read-write disks, local SSDs, read-only disks. + /// Do not include the disk in the instance template. Applicable to: additional read-write disks, local SSDs, read-only disks. DoNotInclude = 104218952, - /// Use the same source image used for creation of the source instance's corresponding disk. The request will fail if the source VM's disk was created from a snapshot. Applicable to: boot disk, additional read-write disks. + /// Use the same source image used for creation of the source instance's corresponding disk. The request will fail if the source VM's disk was created from a snapshot. Applicable to: boot disk, additional read-write disks. SourceImage = 62631959, - /// Use the same source image family used for creation of the source instance's corresponding disk. The request will fail if the source image of the source disk does not belong to any image family. Applicable to: boot disk, additional read-write disks. + /// Use the same source image family used for creation of the source instance's corresponding disk. The request will fail if the source image of the source disk does not belong to any image family. Applicable to: boot disk, additional read-write disks. SourceImageFamily = 76850316, } impl InstantiateFrom { @@ -6333,201 +6333,201 @@ pub mod disk_instantiation_config { } } } -/// A list of Disk resources. +/// A list of Disk resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Disk resources. + /// A list of Disk resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#diskList for lists of disks. + /// [Output Only] Type of resource. Always compute#diskList for lists of disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskMoveRequest { - /// The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - - projects/project/zones/zone - zones/zone + /// The URL of the destination zone to move the disk. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - - projects/project/zones/zone - zones/zone #[prost(string, optional, tag="131854653")] pub destination_zone: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk + /// The URL of the target disk to move. This can be a full or partial URL. For example, the following are all valid URLs to a disk: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk #[prost(string, optional, tag="62433163")] pub target_disk: ::core::option::Option<::prost::alloc::string::String>, } -/// Additional disk params. +/// Additional disk params. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskParams { - /// Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. + /// Resource manager tags to be bound to the disk. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. #[prost(map="string, string", tag="377671164")] pub resource_manager_tags: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * \[Regional\](/compute/docs/reference/rest/v1/regionDiskTypes) * \[Zonal\](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks. +/// Represents a Disk Type resource. Google Compute Engine has two Disk Type resources: * \[Regional\](/compute/docs/reference/rest/v1/regionDiskTypes) * \[Zonal\](/compute/docs/reference/rest/v1/diskTypes) You can choose from a variety of disk types based on your needs. For more information, read Storage options. The diskTypes resource represents disk types for a zonal persistent disk. For more information, read Zonal persistent disks. The regionDiskTypes resource represents disk types for a regional persistent disk. For more information, read Regional persistent disks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskType { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined default disk size in GB. + /// [Output Only] Server-defined default disk size in GB. #[prost(int64, optional, tag="270619253")] pub default_disk_size_gb: ::core::option::Option, - /// [Output Only] The deprecation status associated with this disk type. + /// [Output Only] The deprecation status associated with this disk type. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] An optional description of this resource. + /// [Output Only] An optional description of this resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#diskType for disk types. + /// [Output Only] Type of the resource. Always compute#diskType for disk types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the disk type resides. Only applicable for regional resources. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". + /// [Output Only] An optional textual description of the valid disk size, such as "10GB-10TB". #[prost(string, optional, tag="493962464")] pub valid_disk_size: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the zone where the disk type resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskTypeAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of DiskTypesScopedList resources. + /// A list of DiskTypesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, DiskTypesScopedList>, - /// [Output Only] Type of resource. Always compute#diskTypeAggregatedList. + /// [Output Only] Type of resource. Always compute#diskTypeAggregatedList. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of disk types. +/// Contains a list of disk types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskTypeList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of DiskType resources. + /// A list of DiskType resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#diskTypeList for disk types. + /// [Output Only] Type of resource. Always compute#diskTypeList for disk types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskTypesScopedList { - /// [Output Only] A list of disk types contained in this scope. + /// [Output Only] A list of disk types contained in this scope. #[prost(message, repeated, tag="198926167")] pub disk_types: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of disk types when the list is empty. + /// [Output Only] Informational warning which replaces the list of disk types when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisksAddResourcePoliciesRequest { - /// Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy. + /// Full or relative path to the resource policy to be added to this disk. You can only specify one resource policy. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisksRemoveResourcePoliciesRequest { - /// Resource policies to be removed from this disk. + /// Resource policies to be removed from this disk. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisksResizeRequest { - /// The new size of the persistent disk, which is specified in GB. + /// The new size of the persistent disk, which is specified in GB. #[prost(int64, optional, tag="494929369")] pub size_gb: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisksScopedList { - /// [Output Only] A list of disks contained in this scope. + /// [Output Only] A list of disks contained in this scope. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of disks when the list is empty. + /// [Output Only] Informational warning which replaces the list of disks when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A set of Display Device options +/// A set of Display Device options #[derive(Clone, PartialEq, ::prost::Message)] pub struct DisplayDevice { - /// Defines whether the instance has Display enabled. + /// Defines whether the instance has Display enabled. #[prost(bool, optional, tag="14266886")] pub enable_display: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistributionPolicy { - /// The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). - /// Check the TargetShape enum for the list of possible values. + /// The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). + /// Check the TargetShape enum for the list of possible values. #[prost(string, optional, tag="338621299")] pub target_shape: ::core::option::Option<::prost::alloc::string::String>, - /// Zones where the regional managed instance group will create and manage its instances. + /// Zones where the regional managed instance group will create and manage its instances. #[prost(message, repeated, tag="116085319")] pub zones: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `DistributionPolicy`. pub mod distribution_policy { - /// The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). + /// The distribution shape to which the group converges either proactively or on resize events (depending on the value set in updatePolicy.instanceRedistributionType). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetShape { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedTargetShape = 0, - /// The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. + /// The group picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. Any = 64972, - /// The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. + /// The group prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across selected zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. Balanced = 468409608, - /// The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. + /// The group schedules VM instance creation and deletion to achieve and maintain an even number of managed instances across the selected zones. The distribution is even when the number of managed instances does not differ by more than 1 between any two zones. Recommended for highly available serving workloads. Even = 2140442, } impl TargetShape { @@ -6548,47 +6548,47 @@ pub mod distribution_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct DistributionPolicyZoneConfiguration { - /// The URL of the zone. The zone must exist in the region where the managed instance group is located. + /// The URL of the zone. The zone must exist in the region where the managed instance group is located. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } -/// A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. +/// A Duration represents a fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond resolution. It is independent of any calendar and concepts like "day" or "month". Range is approximately 10,000 years. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Duration { - /// Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. + /// Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 `seconds` field and a positive `nanos` field. Must be from 0 to 999,999,999 inclusive. #[prost(int32, optional, tag="104586303")] pub nanos: ::core::option::Option, - /// Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years + /// Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years #[prost(int64, optional, tag="359484031")] pub seconds: ::core::option::Option, } -/// A request message for Projects.EnableXpnHost. See the method description for details. +/// A request message for Projects.EnableXpnHost. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableXpnHostProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Projects.EnableXpnResource. See the method description for details. +/// A request message for Projects.EnableXpnResource. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnableXpnResourceProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="421980207")] pub projects_enable_xpn_resource_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// [Output Only] If errors are generated during processing of the operation, this field will be populated. +/// [Output Only] If errors are generated during processing of the operation, this field will be populated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Error { - /// [Output Only] The array of errors encountered while processing this operation. + /// [Output Only] The array of errors encountered while processing this operation. #[prost(message, repeated, tag="315977579")] pub errors: ::prost::alloc::vec::Vec, } @@ -6602,68 +6602,68 @@ pub struct ErrorDetails { #[prost(message, optional, tag="404537155")] pub localized_message: ::core::option::Option, } -/// Describes the cause of the error with structured details. Example of an error when contacting the "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata": { "availableRegions": "us-central1,us-east2" } } +/// Describes the cause of the error with structured details. Example of an error when contacting the "pubsub.googleapis.com" API when it is not enabled: { "reason": "API_DISABLED" "domain": "googleapis.com" "metadata": { "resource": "projects/123", "service": "pubsub.googleapis.com" } } This response indicates that the pubsub.googleapis.com API is not enabled. Example of an error that is returned when attempting to create a Spanner instance in a region that is out of stock: { "reason": "STOCKOUT" "domain": "spanner.googleapis.com", "metadata": { "availableRegions": "us-central1,us-east2" } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ErrorInfo { - /// The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". + /// The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". #[prost(string, optional, tag="284415172")] pub domain: ::core::option::Option<::prost::alloc::string::String>, - /// Additional structured details about this error. Keys should match /\[a-zA-Z0-9-_\]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. + /// Additional structured details about this error. Keys should match /\[a-zA-Z0-9-_\]/ and be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than {"instanceLimit": "100/request"}, should be returned as, {"instanceLimitPerRequest": "100"}, if the client exceeds the number of instances that can be created in a single (batch) request. #[prost(map="string, string", tag="8514340")] pub metadatas: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match /\[A-Z0-9_\]+/. + /// The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match /\[A-Z0-9_\]+/. #[prost(string, optional, tag="138777156")] pub reason: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Errors { - /// [Output Only] The error type identifier for this error. + /// [Output Only] The error type identifier for this error. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. + /// [Output Only] An optional list of messages that contain the error details. There is a set of defined message types to use for providing details.The syntax depends on the error code. For example, QuotaExceededInfo will have details when the error code is QUOTA_EXCEEDED. #[prost(message, repeated, tag="274653963")] pub error_details: ::prost::alloc::vec::Vec, - /// [Output Only] Indicates the field in the request that caused the error. This property is optional. + /// [Output Only] Indicates the field in the request that caused the error. This property is optional. #[prost(string, optional, tag="290430901")] pub location: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional, human-readable error message. + /// [Output Only] An optional, human-readable error message. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExchangedPeeringRoute { - /// The destination range of the route. + /// The destination range of the route. #[prost(string, optional, tag="381327712")] pub dest_range: ::core::option::Option<::prost::alloc::string::String>, - /// True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict. + /// True if the peering route has been imported from a peer. The actual import happens if the field networkPeering.importCustomRoutes is true for this network, and networkPeering.exportCustomRoutes is true for the peer network, and the import does not result in a route conflict. #[prost(bool, optional, tag="114502404")] pub imported: ::core::option::Option, - /// The region of peering route next hop, only applies to dynamic routes. + /// The region of peering route next hop, only applies to dynamic routes. #[prost(string, optional, tag="122577014")] pub next_hop_region: ::core::option::Option<::prost::alloc::string::String>, - /// The priority of the peering route. + /// The priority of the peering route. #[prost(uint32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// The type of the peering route. - /// Check the Type enum for the list of possible values. + /// The type of the peering route. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ExchangedPeeringRoute`. pub mod exchanged_peering_route { - /// The type of the peering route. + /// The type of the peering route. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// For routes exported from local network. + /// For routes exported from local network. DynamicPeeringRoute = 469794858, - /// The peering route. + /// The peering route. StaticPeeringRoute = 473407545, - /// The peering route corresponding to subnetwork range. + /// The peering route corresponding to subnetwork range. SubnetPeeringRoute = 465782504, } impl Type { @@ -6684,108 +6684,108 @@ pub mod exchanged_peering_route { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExchangedPeeringRoutesList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ExchangedPeeringRoute resources. + /// A list of ExchangedPeeringRoute resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for exchanged peering routes lists. + /// [Output Only] Type of resource. Always compute#exchangedPeeringRoutesList for exchanged peering routes lists. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for Subnetworks.ExpandIpCidrRange. See the method description for details. +/// A request message for Subnetworks.ExpandIpCidrRange. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpandIpCidrRangeSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Subnetwork resource to update. + /// Name of the Subnetwork resource to update. #[prost(string, tag="307827694")] pub subnetwork: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="477014110")] pub subnetworks_expand_ip_cidr_range_request_resource: ::core::option::Option, } -/// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. +/// Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Expr { - /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. + /// Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Textual representation of an expression in Common Expression Language syntax. + /// Textual representation of an expression in Common Expression Language syntax. #[prost(string, optional, tag="352031384")] pub expression: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. + /// Optional. String indicating the location of the expression for error reporting, e.g. a file name and a position in the file. #[prost(string, optional, tag="290430901")] pub location: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. + /// Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. #[prost(string, optional, tag="110371416")] pub title: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN. +/// Represents an external VPN gateway. External VPN gateway is the on-premises VPN gateway(s) or another cloud provider's VPN gateway that connects to your Google Cloud VPN gateway. To create a highly available VPN from Google Cloud Platform to your VPN gateway or another cloud provider's VPN gateway, you must create a external VPN gateway resource with information about the other gateway. For more information about using external VPN gateways, see Creating an HA VPN gateway and tunnel pair to a peer VPN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalVpnGateway { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway. + /// A list of interfaces for this external VPN gateway. If your peer-side gateway is an on-premises gateway and non-AWS cloud providers' gateway, at most two interfaces can be provided for an external VPN gateway. If your peer side is an AWS virtual private gateway, four interfaces should be provided for an external VPN gateway. #[prost(message, repeated, tag="12073562")] pub interfaces: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways. + /// [Output Only] Type of the resource. Always compute#externalVpnGateway for externalVpnGateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway. + /// A fingerprint for the labels being applied to this ExternalVpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an ExternalVpnGateway. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the user-supplied redundancy type of this external VPN gateway. - /// Check the RedundancyType enum for the list of possible values. + /// Indicates the user-supplied redundancy type of this external VPN gateway. + /// Check the RedundancyType enum for the list of possible values. #[prost(string, optional, tag="271443740")] pub redundancy_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ExternalVpnGateway`. pub mod external_vpn_gateway { - /// Indicates the user-supplied redundancy type of this external VPN gateway. + /// Indicates the user-supplied redundancy type of this external VPN gateway. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RedundancyType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRedundancyType = 0, - /// The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway. When displaying highly available configuration status for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN gateway, Google will always detect whether interfaces 0 and 1 are connected on one interface of HA Cloud VPN gateway, and detect whether interfaces 2 and 3 are connected to another interface of the HA Cloud VPN gateway. + /// The external VPN gateway has four public IP addresses; at the time of writing this API, the AWS virtual private gateway is an example which has four public IP addresses for high availability connections; there should be two VPN connections in the AWS virtual private gateway , each AWS VPN connection has two public IP addresses; please make sure to put two public IP addresses from one AWS VPN connection into interfaces 0 and 1 of this external VPN gateway, and put the other two public IP addresses from another AWS VPN connection into interfaces 2 and 3 of this external VPN gateway. When displaying highly available configuration status for the VPN tunnels connected to FOUR_IPS_REDUNDANCY external VPN gateway, Google will always detect whether interfaces 0 and 1 are connected on one interface of HA Cloud VPN gateway, and detect whether interfaces 2 and 3 are connected to another interface of the HA Cloud VPN gateway. FourIpsRedundancy = 520087913, - /// The external VPN gateway has only one public IP address which internally provide redundancy or failover. + /// The external VPN gateway has only one public IP address which internally provide redundancy or failover. SingleIpInternallyRedundant = 133914873, - /// The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other. (2) A single on-premise gateway with two public IP addresses that are redundant with eatch other. + /// The external VPN gateway has two public IP addresses which are redundant with each other, the following two types of setup on your on-premises side would have this type of redundancy: (1) Two separate on-premises gateways, each with one public IP address, the two on-premises gateways are redundant with each other. (2) A single on-premise gateway with two public IP addresses that are redundant with eatch other. TwoIpsRedundancy = 367049635, } impl RedundancyType { @@ -6803,58 +6803,58 @@ pub mod external_vpn_gateway { } } } -/// The interface for the external VPN gateway. +/// The interface for the external VPN gateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalVpnGatewayInterface { - /// The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 + /// The numeric ID of this interface. The allowed input values for this id for different redundancy types of external VPN gateway: - SINGLE_IP_INTERNALLY_REDUNDANT - 0 - TWO_IPS_REDUNDANCY - 0, 1 - FOUR_IPS_REDUNDANCY - 0, 1, 2, 3 #[prost(uint32, optional, tag="3355")] pub id: ::core::option::Option, - /// IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. + /// IP address of the interface in the external VPN gateway. Only IPv4 is supported. This IP address can be either from your on-premise gateway or another Cloud provider's VPN gateway, it cannot be an IP address from Google Compute Engine. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, } -/// Response to the list request, and contains a list of externalVpnGateways. +/// Response to the list request, and contains a list of externalVpnGateways. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExternalVpnGatewayList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ExternalVpnGateway resources. + /// A list of ExternalVpnGateway resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways. + /// [Output Only] Type of resource. Always compute#externalVpnGatewayList for lists of externalVpnGateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileContentBuffer { - /// The raw content in the secure keys file. + /// The raw content in the secure keys file. #[prost(string, optional, tag="414659705")] pub content: ::core::option::Option<::prost::alloc::string::String>, - /// The file type of source file. - /// Check the FileType enum for the list of possible values. + /// The file type of source file. + /// Check the FileType enum for the list of possible values. #[prost(string, optional, tag="294346781")] pub file_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `FileContentBuffer`. pub mod file_content_buffer { - /// The file type of source file. + /// The file type of source file. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FileType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedFileType = 0, Bin = 65767, Undefined = 137851184, @@ -6875,79 +6875,79 @@ pub mod file_content_buffer { } } } -/// Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules. +/// Represents a Firewall Rule resource. Firewall rules allow or deny ingress traffic to, and egress traffic from your instances. For more information, read Firewall rules. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Firewall { - /// The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. + /// The list of ALLOW rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a permitted connection. #[prost(message, repeated, tag="162398632")] pub allowed: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a denied connection. + /// The list of DENY rules specified by this firewall. Each rule specifies a protocol and port-range tuple that describes a denied connection. #[prost(message, repeated, tag="275217307")] pub denied: ::prost::alloc::vec::Vec, - /// An optional description of this resource. Provide this field when you create the resource. + /// An optional description of this resource. Provide this field when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are supported. + /// If destination ranges are specified, the firewall rule applies only to traffic that has destination IP address in these ranges. These ranges must be expressed in CIDR format. Both IPv4 and IPv6 are supported. #[prost(string, repeated, tag="305699879")] pub destination_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. - /// Check the Direction enum for the list of possible values. + /// Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. + /// Check the Direction enum for the list of possible values. #[prost(string, optional, tag="111150975")] pub direction: ::core::option::Option<::prost::alloc::string::String>, - /// Denotes whether the firewall rule is disabled. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled. + /// Denotes whether the firewall rule is disabled. When set to true, the firewall rule is not enforced and the network behaves as if it did not exist. If this is unspecified, the firewall rule will be enabled. #[prost(bool, optional, tag="270940796")] pub disabled: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#firewall for firewall rules. + /// [Output Only] Type of the resource. Always compute#firewall for firewall rules. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging. + /// This field denotes the logging options for a particular firewall rule. If logging is enabled, logs will be exported to Cloud Logging. #[prost(message, optional, tag="351299741")] pub log_config: ::core::option::Option, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used: global/networks/default If you choose to specify this field, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - - projects/myproject/global/networks/my-network - global/networks/default + /// URL of the network resource for this firewall rule. If not specified when creating a firewall rule, the default network is used: global/networks/default If you choose to specify this field, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - - projects/myproject/global/networks/my-network - global/networks/default #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// Priority for this rule. This is an integer between `0` and `65535`, both inclusive. The default value is `1000`. Relative priorities determine which rule takes effect if multiple rules apply. Lower values indicate higher priority. For example, a rule with priority `0` has higher precedence than a rule with priority `1`. DENY rules take precedence over ALLOW rules if they have equal priority. Note that VPC networks have implied rules with a priority of `65535`. To avoid conflicts with the implied rules, use a priority number less than `65535`. + /// Priority for this rule. This is an integer between `0` and `65535`, both inclusive. The default value is `1000`. Relative priorities determine which rule takes effect if multiple rules apply. Lower values indicate higher priority. For example, a rule with priority `0` has higher precedence than a rule with priority `1`. DENY rules take precedence over ALLOW rules if they have equal priority. Note that VPC networks have implied rules with a priority of `65535`. To avoid conflicts with the implied rules, use a priority number less than `65535`. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Both IPv4 and IPv6 are supported. + /// If source ranges are specified, the firewall rule applies only to traffic that has a source IP address in these ranges. These ranges must be expressed in CIDR format. One or both of sourceRanges and sourceTags may be set. If both fields are set, the rule applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the rule to apply. Both IPv4 and IPv6 are supported. #[prost(string, repeated, tag="200097658")] pub source_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list. Source service accounts cannot be used to control traffic to an instance's external IP address because service accounts are associated with an instance, not an IP address. sourceRanges can be set at the same time as sourceServiceAccounts. If both are set, the firewall applies to traffic that has a source IP address within the sourceRanges OR a source IP that belongs to an instance with service account listed in sourceServiceAccount. The connection does not need to match both fields for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags. + /// If source service accounts are specified, the firewall rules apply only to traffic originating from an instance with a service account in this list. Source service accounts cannot be used to control traffic to an instance's external IP address because service accounts are associated with an instance, not an IP address. sourceRanges can be set at the same time as sourceServiceAccounts. If both are set, the firewall applies to traffic that has a source IP address within the sourceRanges OR a source IP that belongs to an instance with service account listed in sourceServiceAccount. The connection does not need to match both fields for the firewall to apply. sourceServiceAccounts cannot be used at the same time as sourceTags or targetTags. #[prost(string, repeated, tag="105100756")] pub source_service_accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be set. If both fields are set, the firewall applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the firewall to apply. + /// If source tags are specified, the firewall rule applies only to traffic with source IPs that match the primary network interfaces of VM instances that have the tag and are in the same VPC network. Source tags cannot be used to control traffic to an instance's external IP address, it only applies to traffic between instances in the same virtual network. Because tags are associated with instances, not IP addresses. One or both of sourceRanges and sourceTags may be set. If both fields are set, the firewall applies to traffic that has a source IP address within sourceRanges OR a source IP from a resource with a matching tag listed in the sourceTags field. The connection does not need to match both fields for the firewall to apply. #[prost(string, repeated, tag="452222397")] pub source_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network. + /// A list of service accounts indicating sets of instances located in the network that may make network connections as specified in allowed[]. targetServiceAccounts cannot be used at the same time as targetTags or sourceTags. If neither targetServiceAccounts nor targetTags are specified, the firewall rule applies to all instances on the specified network. #[prost(string, repeated, tag="457639710")] pub target_service_accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of tags that controls which instances the firewall rule applies to. If targetTags are specified, then the firewall rule applies only to instances in the VPC network that have one of those tags. If no targetTags are specified, the firewall rule applies to all instances on the specified network. + /// A list of tags that controls which instances the firewall rule applies to. If targetTags are specified, then the firewall rule applies only to instances in the VPC network that have one of those tags. If no targetTags are specified, the firewall rule applies to all instances on the specified network. #[prost(string, repeated, tag="62901767")] pub target_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Firewall`. pub mod firewall { - /// Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. + /// Direction of traffic to which this firewall applies, either `INGRESS` or `EGRESS`. The default is `INGRESS`. For `EGRESS` traffic, you cannot specify the sourceTags fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Direction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDirection = 0, - /// Indicates that firewall should apply to outgoing traffic. + /// Indicates that firewall should apply to outgoing traffic. Egress = 432880501, - /// Indicates that firewall should apply to incoming traffic. + /// Indicates that firewall should apply to incoming traffic. Ingress = 516931221, } impl Direction { @@ -6964,46 +6964,46 @@ pub mod firewall { } } } -/// Contains a list of firewalls. +/// Contains a list of firewalls. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Firewall resources. + /// A list of Firewall resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. + /// [Output Only] Type of resource. Always compute#firewallList for lists of firewalls. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// The available logging options for a firewall rule. +/// The available logging options for a firewall rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallLogConfig { - /// This field denotes whether to enable logging for a particular firewall rule. + /// This field denotes whether to enable logging for a particular firewall rule. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, - /// This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. - /// Check the Metadata enum for the list of possible values. + /// This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. + /// Check the Metadata enum for the list of possible values. #[prost(string, optional, tag="86866735")] pub metadata: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `FirewallLogConfig`. pub mod firewall_log_config { - /// This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. + /// This field can only be specified for a particular firewall rule if logging is enabled for that rule. This field denotes whether to include or exclude metadata for firewall logs. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Metadata { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMetadata = 0, ExcludeAllMetadata = 334519954, IncludeAllMetadata = 164619908, @@ -7025,151 +7025,151 @@ pub mod firewall_log_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPoliciesListAssociationsResponse { - /// A list of associations. + /// A list of associations. #[prost(message, repeated, tag="508736530")] pub associations: ::prost::alloc::vec::Vec, - /// [Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations. + /// [Output Only] Type of firewallPolicy associations. Always compute#FirewallPoliciesListAssociations for lists of firewallPolicy associations. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Firewall Policy resource. +/// Represents a Firewall Policy resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicy { - /// A list of associations that belong to this firewall policy. + /// A list of associations that belong to this firewall policy. #[prost(message, repeated, tag="508736530")] pub associations: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Deprecated, please use short name instead. User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="4473832")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy. + /// Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the firewall policy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies + /// [Output only] Type of the resource. Always compute#firewallPolicyfor firewall policies #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by GCP which uniquely identifies the Organization Firewall Policy. + /// Name of the resource. For Organization Firewall Policies it's a [Output Only] numeric ID allocated by GCP which uniquely identifies the Organization Firewall Policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. + /// [Output Only] The parent of the firewall policy. This field is not applicable to network firewall policies. #[prost(string, optional, tag="78317738")] pub parent: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the regional firewall policy resides. This field is not applicable to global firewall policies. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples. + /// [Output Only] Total count of all firewall policy rule tuples. A firewall policy can not exceed a set number of tuples. #[prost(int32, optional, tag="388342037")] pub rule_tuple_count: ::core::option::Option, - /// A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added. + /// A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a firewall policy, a default rule with action "allow" will be added. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource with the resource id. + /// [Output Only] Server-defined URL for this resource with the resource id. #[prost(string, optional, tag="44520962")] pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>, - /// User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// User-provided name of the Organization firewall policy. The name should be unique in the organization in which the firewall policy is created. This field is not applicable to network firewall policies. This name must be set on creation and cannot be changed. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="492051566")] pub short_name: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyAssociation { - /// The target that the firewall policy is attached to. + /// The target that the firewall policy is attached to. #[prost(string, optional, tag="175773741")] pub attachment_target: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association. + /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy of the association. #[prost(string, optional, tag="4473832")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The firewall policy ID of the association. + /// [Output Only] The firewall policy ID of the association. #[prost(string, optional, tag="357211849")] pub firewall_policy_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name for an association. + /// The name for an association. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The short name of the firewall policy of the association. + /// [Output Only] The short name of the firewall policy of the association. #[prost(string, optional, tag="492051566")] pub short_name: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of FirewallPolicy resources. + /// A list of FirewallPolicy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#firewallPolicyList for listsof FirewallPolicies + /// [Output Only] Type of resource. Always compute#firewallPolicyList for listsof FirewallPolicies #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). +/// Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyRule { - /// The Action to perform when the client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502. + /// The Action to perform when the client connection triggers the rule. Can currently be either "allow" or "deny()" where valid values for status are 403, 404, and 502. #[prost(string, optional, tag="187661878")] pub action: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description for this resource. + /// An optional description for this resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The direction in which this rule applies. - /// Check the Direction enum for the list of possible values. + /// The direction in which this rule applies. + /// Check the Direction enum for the list of possible values. #[prost(string, optional, tag="111150975")] pub direction: ::core::option::Option<::prost::alloc::string::String>, - /// Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled. + /// Denotes whether the firewall policy rule is disabled. When set to true, the firewall policy rule is not enforced and traffic behaves as if it did not exist. If this is unspecified, the firewall policy rule will be enabled. #[prost(bool, optional, tag="270940796")] pub disabled: ::core::option::Option, - /// Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. + /// Denotes whether to enable logging for a particular rule. If logging is enabled, logs will be exported to the configured export destination in Stackdriver. Logs may be exported to BigQuery or Pub/Sub. Note: you cannot enable logging on "goto_next" rules. #[prost(bool, optional, tag="295396515")] pub enable_logging: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules + /// [Output only] Type of the resource. Always compute#firewallPolicyRule for firewall policy rules #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. + /// A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. #[prost(message, optional, tag="103668165")] pub r#match: ::core::option::Option, - /// An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. + /// An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest prority. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// An optional name for the rule. This field is not a unique identifier and can be updated. + /// An optional name for the rule. This field is not a unique identifier and can be updated. #[prost(string, optional, tag="55286254")] pub rule_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Calculation of the complexity of a single firewall policy rule. + /// [Output Only] Calculation of the complexity of a single firewall policy rule. #[prost(int32, optional, tag="388342037")] pub rule_tuple_count: ::core::option::Option, - /// A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. + /// A list of network resource URLs to which this rule applies. This field allows you to control which network's VMs get this rule. If this field is left blank, all VMs within the organization will receive the rule. #[prost(string, repeated, tag="528230647")] pub target_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256. + /// A list of secure tags that controls which instances the firewall rule applies to. If targetSecureTag are specified, then the firewall rule applies only to instances in the VPC network that have one of those EFFECTIVE secure tags, if all the target_secure_tag are in INEFFECTIVE state, then this rule will be ignored. targetSecureTag may not be set at the same time as targetServiceAccounts. If neither targetServiceAccounts nor targetSecureTag are specified, the firewall rule applies to all instances on the specified network. Maximum number of target label tags allowed is 256. #[prost(message, repeated, tag="468132403")] pub target_secure_tags: ::prost::alloc::vec::Vec, - /// A list of service accounts indicating the sets of instances that are applied with this rule. + /// A list of service accounts indicating the sets of instances that are applied with this rule. #[prost(string, repeated, tag="457639710")] pub target_service_accounts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `FirewallPolicyRule`. pub mod firewall_policy_rule { - /// The direction in which this rule applies. + /// The direction in which this rule applies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Direction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDirection = 0, Egress = 432880501, Ingress = 516931221, @@ -7188,50 +7188,50 @@ pub mod firewall_policy_rule { } } } -/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. +/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyRuleMatcher { - /// CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. + /// CIDR IP address range. Maximum number of destination CIDR IP ranges allowed is 5000. #[prost(string, repeated, tag="337357713")] pub dest_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Pairs of IP protocols and ports that the rule should match. + /// Pairs of IP protocols and ports that the rule should match. #[prost(message, repeated, tag="373534261")] pub layer4_configs: ::prost::alloc::vec::Vec, - /// CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. + /// CIDR IP address range. Maximum number of source CIDR IP ranges allowed is 5000. #[prost(string, repeated, tag="432128083")] pub src_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. + /// List of secure tag values, which should be matched at the source of the traffic. For INGRESS rule, if all the srcSecureTag are INEFFECTIVE, and there is no srcIpRange, this rule will be ignored. Maximum number of source tag values allowed is 256. #[prost(message, repeated, tag="508791302")] pub src_secure_tags: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyRuleMatcherLayer4Config { - /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. + /// The IP protocol to which this rule applies. The protocol type is required when creating a firewall rule. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, ipip, sctp), or the IP protocol number. #[prost(string, optional, tag="475958960")] pub ip_protocol: ::core::option::Option<::prost::alloc::string::String>, - /// An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. + /// An optional list of ports to which this rule applies. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, this rule applies to connections through any port. Example inputs include: \["22"\], \["80","443"\], and \["12345-12349"\]. #[prost(string, repeated, tag="106854418")] pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct FirewallPolicyRuleSecureTag { - /// Name of the secure tag, created with TagManager's TagValue API. + /// Name of the secure tag, created with TagManager's TagValue API. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. - /// Check the State enum for the list of possible values. + /// [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `FirewallPolicyRuleSecureTag`. pub mod firewall_policy_rule_secure_tag { - /// [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. + /// [Output Only] State of the secure tag, either `EFFECTIVE` or `INEFFECTIVE`. A secure tag is `INEFFECTIVE` when it is deleted or its network is deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, Effective = 244201863, Ineffective = 304458242, @@ -7250,115 +7250,115 @@ pub mod firewall_policy_rule_secure_tag { } } } -/// Encapsulates numeric value that can be either absolute or relative. +/// Encapsulates numeric value that can be either absolute or relative. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FixedOrPercent { - /// [Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. + /// [Output Only] Absolute value of VM instances calculated based on the specific mode. - If the value is fixed, then the calculated value is equal to the fixed value. - If the value is a percent, then the calculated value is percent/100 * targetSize. For example, the calculated value of a 80% of a managed instance group with 150 instances would be (80/100 * 150) = 120 VM instances. If there is a remainder, the number is rounded. #[prost(int32, optional, tag="472082878")] pub calculated: ::core::option::Option, - /// Specifies a fixed number of VM instances. This must be a positive integer. + /// Specifies a fixed number of VM instances. This must be a positive integer. #[prost(int32, optional, tag="97445748")] pub fixed: ::core::option::Option, - /// Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. + /// Specifies a percentage of instances between 0 to 100%, inclusive. For example, specify 80 for 80%. #[prost(int32, optional, tag="394814533")] pub percent: ::core::option::Option, } -/// Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * \[Global\]() * \[Regional\]() A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding. +/// Represents a Forwarding Rule resource. Forwarding rule resources in Google Cloud can be either regional or global in scope: * \[Global\]() * \[Regional\]() A forwarding rule and its corresponding IP address represent the frontend configuration of a Google Cloud Platform load balancer. Forwarding rules can also reference target instances and Cloud VPN Classic gateways (targetVpnGateway). For more information, read Forwarding rule concepts and Using protocol forwarding. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardingRule { - /// IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full resource URL, as in /addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](). When reading an IPAddress, the API always returns the IP address number. + /// IP address for which this forwarding rule accepts traffic. When a client sends traffic to this IP address, the forwarding rule directs the traffic to the referenced target or backendService. While creating a forwarding rule, specifying an IPAddress is required under the following circumstances: - When the target is set to targetGrpcProxy and validateForProxyless is set to true, the IPAddress should be set to 0.0.0.0. - When the target is a Private Service Connect Google APIs bundle, you must specify an IPAddress. Otherwise, you can optionally specify an IP address that references an existing static (reserved) IP address resource. When omitted, Google Cloud assigns an ephemeral IP address. Use one of the following formats to specify an IP address while creating a forwarding rule: * IP address number, as in `100.1.2.3` * Full resource URL, as in /addresses/address-name * Partial URL or by name, as in: - projects/project_id/regions/region/addresses/address-name - regions/region/addresses/address-name - global/addresses/address-name - address-name The forwarding rule's target or backendService, and in most cases, also the loadBalancingScheme, determine the type of IP address that you can use. For detailed information, see [IP address specifications](). When reading an IPAddress, the API always returns the IP address number. #[prost(string, optional, tag="42976943")] pub i_p_address: ::core::option::Option<::prost::alloc::string::String>, - /// The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](). - /// Check the IPProtocolEnum enum for the list of possible values. + /// The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](). + /// Check the IPProtocolEnum enum for the list of possible values. #[prost(string, optional, tag="488094525")] pub i_p_protocol: ::core::option::Option<::prost::alloc::string::String>, - /// This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be forwarded to the target or backendService. + /// This field is used along with the backend_service field for Internal TCP/UDP Load Balancing or Network Load Balancing, or with the target field for internal and external TargetInstance. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. For TCP, UDP and SCTP traffic, packets addressed to any ports will be forwarded to the target or backendService. #[prost(bool, optional, tag="445175796")] pub all_ports: ::core::option::Option, - /// This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer. + /// This field is used along with the backend_service field for internal load balancing or with the target field for internal TargetInstance. If the field is set to TRUE, clients can access ILB from all regions. Otherwise only allows access from clients in the same region as the internal load balancer. #[prost(bool, optional, tag="499409674")] pub allow_global_access: ::core::option::Option, - /// Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types. + /// Identifies the backend service to which the forwarding rule sends traffic. Required for Internal TCP/UDP Load Balancing and Network Load Balancing; must be omitted for all other load balancer types. #[prost(string, optional, tag="306946058")] pub backend_service: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ForwardingRule. Include the fingerprint in patch request to ensure that you do not overwrite changes that were applied from another concurrent request. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. - /// Check the IpVersion enum for the list of possible values. + /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + /// Check the IpVersion enum for the list of possible values. #[prost(string, optional, tag="294959552")] pub ip_version: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL. + /// Indicates whether or not this load balancer can be used as a collector for packet mirroring. To prevent mirroring loops, instances behind this load balancer will not have their traffic mirrored even if a PacketMirroring rule applies to them. This can only be set to true for load balancers that have their loadBalancingScheme set to INTERNAL. #[prost(bool, optional, tag="119255164")] pub is_mirroring_collector: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources. + /// [Output Only] Type of the resource. Always compute#forwardingRule for Forwarding Rule resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. + /// A fingerprint for the labels being applied to this resource, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a ForwardingRule. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. - /// Check the LoadBalancingScheme enum for the list of possible values. + /// Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. + /// Check the LoadBalancingScheme enum for the list of possible values. #[prost(string, optional, tag="363890244")] pub load_balancing_scheme: ::core::option::Option<::prost::alloc::string::String>, - /// Opaque filter criteria used by load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to load balancer, xDS clients present node metadata. When there is a match, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. TargetHttpProxy, UrlMap) referenced by the ForwardingRule are not visible to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadataFilters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here will be applifed before those specified in the UrlMap that this ForwardingRule references. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. + /// Opaque filter criteria used by load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to load balancer, xDS clients present node metadata. When there is a match, the relevant configuration is made available to those proxies. Otherwise, all the resources (e.g. TargetHttpProxy, UrlMap) referenced by the ForwardingRule are not visible to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadataFilters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here will be applifed before those specified in the UrlMap that this ForwardingRule references. metadataFilters only applies to Loadbalancers that have their loadBalancingScheme set to INTERNAL_SELF_MANAGED. #[prost(message, repeated, tag="464725739")] pub metadata_filters: ::prost::alloc::vec::Vec, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. For Private Service Connect forwarding rules that forward traffic to Google APIs, the forwarding rule name must be a 1-20 characters string with lowercase letters and numbers and must start with a letter. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. + /// This field is not used for external load balancing. For Internal TCP/UDP Load Balancing, this field identifies the network that the load balanced IP should belong to for this Forwarding Rule. If this field is not specified, the default network will be used. For Private Service Connect forwarding rules that forward traffic to Google APIs, a network must be provided. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. - /// Check the NetworkTier enum for the list of possible values. + /// This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. + /// Check the NetworkTier enum for the list of possible values. #[prost(string, optional, tag="517397843")] pub network_tier: ::core::option::Option<::prost::alloc::string::String>, - /// This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. + /// This is used in PSC consumer ForwardingRule to control whether it should try to auto-generate a DNS zone or not. Non-PSC forwarding rules do not use this field. #[prost(bool, optional, tag="64546991")] pub no_automate_dns_zone: ::core::option::Option, - /// This field can be used only if: - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or SCTP. Packets addressed to ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding target have constraints on the acceptable ports. For more information, see [Port specifications](). @pattern: \\d+(?:-\\d+)? + /// This field can be used only if: - Load balancing scheme is one of EXTERNAL, INTERNAL_SELF_MANAGED or INTERNAL_MANAGED - IPProtocol is one of TCP, UDP, or SCTP. Packets addressed to ports in the specified range will be forwarded to target or backend_service. You can only use one of ports, port_range, or allPorts. The three are mutually exclusive. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. Some types of forwarding target have constraints on the acceptable ports. For more information, see [Port specifications](). @pattern: \\d+(?:-\\d+)? #[prost(string, optional, tag="217518079")] pub port_range: ::core::option::Option<::prost::alloc::string::String>, - /// The ports field is only supported when the forwarding rule references a backend_service directly. Only packets addressed to the [specified list of ports](()) are forwarded to backends. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. You can specify a list of up to five ports, which can be non-contiguous. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. @pattern: \\d+(?:-\\d+)? + /// The ports field is only supported when the forwarding rule references a backend_service directly. Only packets addressed to the [specified list of ports](()) are forwarded to backends. You can only use one of ports and port_range, or allPorts. The three are mutually exclusive. You can specify a list of up to five ports, which can be non-contiguous. Forwarding rules with the same [IPAddress, IPProtocol] pair must have disjoint ports. @pattern: \\d+(?:-\\d+)? #[prost(string, repeated, tag="106854418")] pub ports: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] The PSC connection id of the PSC Forwarding Rule. + /// [Output Only] The PSC connection id of the PSC Forwarding Rule. #[prost(uint64, optional, tag="292082397")] pub psc_connection_id: ::core::option::Option, - /// - /// Check the PscConnectionStatus enum for the list of possible values. + /// + /// Check the PscConnectionStatus enum for the list of possible values. #[prost(string, optional, tag="184149172")] pub psc_connection_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the regional forwarding rule resides. This field is not applicable to global forwarding rules. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource. + /// Service Directory resources to register this forwarding rule with. Currently, only supports a single Service Directory resource. #[prost(message, repeated, tag="223549694")] pub service_directory_registrations: ::prost::alloc::vec::Vec, - /// An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing. + /// An optional prefix to the service name for this Forwarding Rule. If specified, the prefix is the first label of the fully qualified service name. The label must be 1-63 characters long, and comply with RFC1035. Specifically, the label must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. This field is only used for internal load balancing. #[prost(string, optional, tag="417008874")] pub service_label: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing. + /// [Output Only] The internal fully qualified service name for this Forwarding Rule. This field is only used for internal load balancing. #[prost(string, optional, tag="359880149")] pub service_name: ::core::option::Option<::prost::alloc::string::String>, - /// This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6. + /// This field identifies the subnetwork that the load balanced IP should belong to for this Forwarding Rule, used in internal load balancing and network load balancing with IPv6. If the network specified is in auto subnet mode, this field is optional. However, a subnetwork must be specified if the network is in custom subnet mode or when creating external forwarding rule with IPv6. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="192835985")] @@ -7366,11 +7366,11 @@ pub struct ForwardingRule { } /// Nested message and enum types in `ForwardingRule`. pub mod forwarding_rule { - /// The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](). + /// The IP protocol to which this rule applies. For protocol forwarding, valid options are TCP, UDP, ESP, AH, SCTP, ICMP and L3_DEFAULT. The valid IP protocols are different for different load balancing products as described in [Load balancing features](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IpProtocolEnum { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIPProtocolEnum = 0, Ah = 2087, Esp = 68962, @@ -7398,11 +7398,11 @@ pub mod forwarding_rule { } } } - /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. + /// The IP Version that will be used by this forwarding rule. Valid options are IPV4 or IPV6. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IpVersion { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpVersion = 0, Ipv4 = 2254341, Ipv6 = 2254343, @@ -7422,11 +7422,11 @@ pub mod forwarding_rule { } } } - /// Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. + /// Specifies the forwarding rule type. For more information about forwarding rules, refer to Forwarding rule concepts. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LoadBalancingScheme { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLoadBalancingScheme = 0, External = 35607499, ExternalManaged = 512006923, @@ -7452,19 +7452,19 @@ pub mod forwarding_rule { } } } - /// This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. + /// This signifies the networking tier used for configuring this load balancer and can only take the following values: PREMIUM, STANDARD. For regional ForwardingRule, the valid values are PREMIUM and STANDARD. For GlobalForwardingRule, the valid value is PREMIUM. If this field is not specified, it is assumed to be PREMIUM. If IPAddress is specified, this value must be equal to the networkTier of the Address. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkTier = 0, - /// Public internet quality with fixed bandwidth. + /// Public internet quality with fixed bandwidth. FixedStandard = 310464328, - /// High quality, Google-grade network tier, support for all networking products. + /// High quality, Google-grade network tier, support for all networking products. Premium = 399530551, - /// Public internet quality, only limited support for other networking products. + /// Public internet quality, only limited support for other networking products. Standard = 484642493, - /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. StandardOverridesFixedStandard = 465847234, } impl NetworkTier { @@ -7486,17 +7486,17 @@ pub mod forwarding_rule { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PscConnectionStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPscConnectionStatus = 0, - /// The connection has been accepted by the producer. + /// The connection has been accepted by the producer. Accepted = 246714279, - /// The connection has been closed by the producer and will not serve traffic going forward. + /// The connection has been closed by the producer and will not serve traffic going forward. Closed = 380163436, - /// The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic. + /// The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic. NeedsAttention = 344491452, - /// The connection is pending acceptance by the producer. + /// The connection is pending acceptance by the producer. Pending = 35394935, - /// The connection has been rejected by the producer. + /// The connection has been rejected by the producer. Rejected = 174130302, StatusUnspecified = 42133066, } @@ -7521,47 +7521,47 @@ pub mod forwarding_rule { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardingRuleAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ForwardingRulesScopedList resources. + /// A list of ForwardingRulesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, ForwardingRulesScopedList>, - /// [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules. + /// [Output Only] Type of resource. Always compute#forwardingRuleAggregatedList for lists of forwarding rules. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of ForwardingRule resources. +/// Contains a list of ForwardingRule resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardingRuleList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ForwardingRule resources. + /// A list of ForwardingRule resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -7571,59 +7571,59 @@ pub struct ForwardingRuleReference { #[prost(string, optional, tag="269964030")] pub forwarding_rule: ::core::option::Option<::prost::alloc::string::String>, } -/// Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. +/// Describes the auto-registration of the Forwarding Rule to Service Directory. The region and project of the Service Directory resource generated from this registration will be the same as this Forwarding Rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardingRuleServiceDirectoryRegistration { - /// Service Directory namespace to register the forwarding rule under. + /// Service Directory namespace to register the forwarding rule under. #[prost(string, optional, tag="178476379")] pub namespace: ::core::option::Option<::prost::alloc::string::String>, - /// Service Directory service to register the forwarding rule under. + /// Service Directory service to register the forwarding rule under. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// \[Optional\] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. + /// \[Optional\] Service Directory region to register this global forwarding rule under. Default to "us-central1". Only used for PSC for Google APIs. All PSC for Google APIs Forwarding Rules on the same network should use the same Service Directory region. #[prost(string, optional, tag="74030416")] pub service_directory_region: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardingRulesScopedList { - /// A list of forwarding rules contained in this scope. + /// A list of forwarding rules contained in this scope. #[prost(message, repeated, tag="315821365")] pub forwarding_rules: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of forwarding rules when the list is empty. + /// Informational warning which replaces the list of forwarding rules when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GrpcHealthCheck { - /// The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. + /// The gRPC service name for the health check. This field is optional. The value of grpc_service_name has the following meanings by convention: - Empty service_name means the overall status of all services at the backend. - Non-empty service_name means the health of that gRPC service, as defined by the owner of the service. The grpc_service_name can only be ASCII. #[prost(string, optional, tag="136533078")] pub grpc_service_name: ::core::option::Option<::prost::alloc::string::String>, - /// The port number for the health check request. Must be specified if port_name and port_specification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535. + /// The port number for the health check request. Must be specified if port_name and port_specification are not set or if port_specification is USE_FIXED_PORT. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. The port_name should conform to RFC1035. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. The port_name should conform to RFC1035. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `GRPCHealthCheck`. pub mod grpc_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, gRPC health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -7641,1733 +7641,1733 @@ pub mod grpc_health_check { } } } -/// A request message for AcceleratorTypes.Get. See the method description for details. +/// A request message for AcceleratorTypes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAcceleratorTypeRequest { - /// Name of the accelerator type to return. + /// Name of the accelerator type to return. #[prost(string, tag="138031246")] pub accelerator_type: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Addresses.Get. See the method description for details. +/// A request message for Addresses.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAddressRequest { - /// Name of the address resource to return. + /// Name of the address resource to return. #[prost(string, tag="462920692")] pub address: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for FirewallPolicies.GetAssociation. See the method description for details. +/// A request message for FirewallPolicies.GetAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssociationFirewallPolicyRequest { - /// Name of the firewall policy to which the queried rule belongs. + /// Name of the firewall policy to which the queried rule belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The name of the association to get from the firewall policy. + /// The name of the association to get from the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details. +/// A request message for NetworkFirewallPolicies.GetAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssociationNetworkFirewallPolicyRequest { - /// Name of the firewall policy to which the queried association belongs. + /// Name of the firewall policy to which the queried association belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The name of the association to get from the firewall policy. + /// The name of the association to get from the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.GetAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssociationRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to which the queried association belongs. + /// Name of the firewall policy to which the queried association belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The name of the association to get from the firewall policy. + /// The name of the association to get from the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for Autoscalers.Get. See the method description for details. +/// A request message for Autoscalers.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAutoscalerRequest { - /// Name of the autoscaler to return. + /// Name of the autoscaler to return. #[prost(string, tag="517258967")] pub autoscaler: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.Get. See the method description for details. +/// A request message for BackendBuckets.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBackendBucketRequest { - /// Name of the BackendBucket resource to return. + /// Name of the BackendBucket resource to return. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for BackendServices.Get. See the method description for details. +/// A request message for BackendServices.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBackendServiceRequest { - /// Name of the BackendService resource to return. + /// Name of the BackendService resource to return. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Interconnects.GetDiagnostics. See the method description for details. +/// A request message for Interconnects.GetDiagnostics. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDiagnosticsInterconnectRequest { - /// Name of the interconnect resource to query. + /// Name of the interconnect resource to query. #[prost(string, tag="224601230")] pub interconnect: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Disks.Get. See the method description for details. +/// A request message for Disks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDiskRequest { - /// Name of the persistent disk to return. + /// Name of the persistent disk to return. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for DiskTypes.Get. See the method description for details. +/// A request message for DiskTypes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDiskTypeRequest { - /// Name of the disk type to return. + /// Name of the disk type to return. #[prost(string, tag="93009052")] pub disk_type: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.GetEffectiveFirewalls. See the method description for details. +/// A request message for Instances.GetEffectiveFirewalls. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEffectiveFirewallsInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The name of the network interface to get the effective firewalls. + /// The name of the network interface to get the effective firewalls. #[prost(string, tag="365387880")] pub network_interface: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Networks.GetEffectiveFirewalls. See the method description for details. +/// A request message for Networks.GetEffectiveFirewalls. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEffectiveFirewallsNetworkRequest { - /// Name of the network for this request. + /// Name of the network for this request. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.GetEffectiveFirewalls. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEffectiveFirewallsRegionNetworkFirewallPolicyRequest { - /// Network reference + /// Network reference #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for ExternalVpnGateways.Get. See the method description for details. +/// A request message for ExternalVpnGateways.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExternalVpnGatewayRequest { - /// Name of the externalVpnGateway to return. + /// Name of the externalVpnGateway to return. #[prost(string, tag="109898629")] pub external_vpn_gateway: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for FirewallPolicies.Get. See the method description for details. +/// A request message for FirewallPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFirewallPolicyRequest { - /// Name of the firewall policy to get. + /// Name of the firewall policy to get. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, } -/// A request message for Firewalls.Get. See the method description for details. +/// A request message for Firewalls.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFirewallRequest { - /// Name of the firewall rule to return. + /// Name of the firewall rule to return. #[prost(string, tag="511016192")] pub firewall: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for ForwardingRules.Get. See the method description for details. +/// A request message for ForwardingRules.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetForwardingRuleRequest { - /// Name of the ForwardingRule resource to return. + /// Name of the ForwardingRule resource to return. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for Images.GetFromFamily. See the method description for details. +/// A request message for Images.GetFromFamily. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFromFamilyImageRequest { - /// Name of the image family to search for. + /// Name of the image family to search for. #[prost(string, tag="328751972")] pub family: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for GlobalAddresses.Get. See the method description for details. +/// A request message for GlobalAddresses.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalAddressRequest { - /// Name of the address resource to return. + /// Name of the address resource to return. #[prost(string, tag="462920692")] pub address: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for GlobalForwardingRules.Get. See the method description for details. +/// A request message for GlobalForwardingRules.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalForwardingRuleRequest { - /// Name of the ForwardingRule resource to return. + /// Name of the ForwardingRule resource to return. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for GlobalNetworkEndpointGroups.Get. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalNetworkEndpointGroupRequest { - /// The name of the network endpoint group. It should comply with RFC1035. + /// The name of the network endpoint group. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for GlobalOperations.Get. See the method description for details. +/// A request message for GlobalOperations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for GlobalOrganizationOperations.Get. See the method description for details. +/// A request message for GlobalOrganizationOperations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalOrganizationOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Parent ID for this request. + /// Parent ID for this request. #[prost(string, optional, tag="459714768")] pub parent_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details. +/// A request message for GlobalPublicDelegatedPrefixes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGlobalPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to return. + /// Name of the PublicDelegatedPrefix resource to return. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, } -/// A request message for Instances.GetGuestAttributes. See the method description for details. +/// A request message for Instances.GetGuestAttributes. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetGuestAttributesInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Specifies the guest attributes path to be queried. + /// Specifies the guest attributes path to be queried. #[prost(string, optional, tag="368591164")] pub query_path: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the key for the guest attributes entry. + /// Specifies the key for the guest attributes entry. #[prost(string, optional, tag="164364828")] pub variable_key: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendServices.GetHealth. See the method description for details. +/// A request message for BackendServices.GetHealth. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHealthBackendServiceRequest { - /// Name of the BackendService resource to which the queried instance belongs. + /// Name of the BackendService resource to which the queried instance belongs. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="112951123")] pub resource_group_reference_resource: ::core::option::Option, } -/// A request message for HealthChecks.Get. See the method description for details. +/// A request message for HealthChecks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHealthCheckRequest { - /// Name of the HealthCheck resource to return. + /// Name of the HealthCheck resource to return. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for RegionBackendServices.GetHealth. See the method description for details. +/// A request message for RegionBackendServices.GetHealth. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHealthRegionBackendServiceRequest { - /// Name of the BackendService resource for which to get health. + /// Name of the BackendService resource for which to get health. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="112951123")] pub resource_group_reference_resource: ::core::option::Option, } -/// A request message for TargetPools.GetHealth. See the method description for details. +/// A request message for TargetPools.GetHealth. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetHealthTargetPoolRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="292926060")] pub instance_reference_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the TargetPool resource to which the queried instance belongs. + /// Name of the TargetPool resource to which the queried instance belongs. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, } -/// A request message for BackendServices.GetIamPolicy. See the method description for details. +/// A request message for BackendServices.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyBackendServiceRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Disks.GetIamPolicy. See the method description for details. +/// A request message for Disks.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyDiskRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for FirewallPolicies.GetIamPolicy. See the method description for details. +/// A request message for FirewallPolicies.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyFirewallPolicyRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Images.GetIamPolicy. See the method description for details. +/// A request message for Images.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyImageRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Instances.GetIamPolicy. See the method description for details. +/// A request message for Instances.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyInstanceRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.GetIamPolicy. See the method description for details. +/// A request message for InstanceTemplates.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyInstanceTemplateRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Licenses.GetIamPolicy. See the method description for details. +/// A request message for Licenses.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyLicenseRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for MachineImages.GetIamPolicy. See the method description for details. +/// A request message for MachineImages.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyMachineImageRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details. +/// A request message for NetworkFirewallPolicies.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyNetworkFirewallPolicyRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for NodeGroups.GetIamPolicy. See the method description for details. +/// A request message for NodeGroups.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyNodeGroupRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.GetIamPolicy. See the method description for details. +/// A request message for NodeTemplates.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyNodeTemplateRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionBackendServices.GetIamPolicy. See the method description for details. +/// A request message for RegionBackendServices.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyRegionBackendServiceRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionDisks.GetIamPolicy. See the method description for details. +/// A request message for RegionDisks.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyRegionDiskRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyRegionNetworkFirewallPolicyRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Reservations.GetIamPolicy. See the method description for details. +/// A request message for Reservations.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyReservationRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.GetIamPolicy. See the method description for details. +/// A request message for ResourcePolicies.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyResourcePolicyRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for ServiceAttachments.GetIamPolicy. See the method description for details. +/// A request message for ServiceAttachments.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicyServiceAttachmentRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Snapshots.GetIamPolicy. See the method description for details. +/// A request message for Snapshots.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicySnapshotRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Subnetworks.GetIamPolicy. See the method description for details. +/// A request message for Subnetworks.GetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIamPolicySubnetworkRequest { - /// Requested IAM Policy version. + /// Requested IAM Policy version. #[prost(int32, optional, tag="499220029")] pub options_requested_policy_version: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for ImageFamilyViews.Get. See the method description for details. +/// A request message for ImageFamilyViews.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetImageFamilyViewRequest { - /// Name of the image family to search for. + /// Name of the image family to search for. #[prost(string, tag="328751972")] pub family: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Images.Get. See the method description for details. +/// A request message for Images.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetImageRequest { - /// Name of the image resource to return. + /// Name of the image resource to return. #[prost(string, tag="100313435")] pub image: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for InstanceGroupManagers.Get. See the method description for details. +/// A request message for InstanceGroupManagers.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroups.Get. See the method description for details. +/// A request message for InstanceGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceGroupRequest { - /// The name of the instance group. + /// The name of the instance group. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.Get. See the method description for details. +/// A request message for Instances.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Name of the instance resource to return. + /// Name of the instance resource to return. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.Get. See the method description for details. +/// A request message for InstanceTemplates.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceTemplateRequest { - /// The name of the instance template. + /// The name of the instance template. #[prost(string, tag="309248228")] pub instance_template: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for InterconnectAttachments.Get. See the method description for details. +/// A request message for InterconnectAttachments.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInterconnectAttachmentRequest { - /// Name of the interconnect attachment to return. + /// Name of the interconnect attachment to return. #[prost(string, tag="308135284")] pub interconnect_attachment: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for InterconnectLocations.Get. See the method description for details. +/// A request message for InterconnectLocations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInterconnectLocationRequest { - /// Name of the interconnect location to return. + /// Name of the interconnect location to return. #[prost(string, tag="492235846")] pub interconnect_location: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Interconnects.Get. See the method description for details. +/// A request message for Interconnects.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInterconnectRequest { - /// Name of the interconnect to return. + /// Name of the interconnect to return. #[prost(string, tag="224601230")] pub interconnect: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for LicenseCodes.Get. See the method description for details. +/// A request message for LicenseCodes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLicenseCodeRequest { - /// Number corresponding to the License code resource to return. + /// Number corresponding to the License code resource to return. #[prost(string, tag="1467179")] pub license_code: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Licenses.Get. See the method description for details. +/// A request message for Licenses.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLicenseRequest { - /// Name of the License resource to return. + /// Name of the License resource to return. #[prost(string, tag="166757441")] pub license: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for MachineImages.Get. See the method description for details. +/// A request message for MachineImages.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMachineImageRequest { - /// The name of the machine image. + /// The name of the machine image. #[prost(string, tag="69189475")] pub machine_image: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for MachineTypes.Get. See the method description for details. +/// A request message for MachineTypes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetMachineTypeRequest { - /// Name of the machine type to return. + /// Name of the machine type to return. #[prost(string, tag="227711026")] pub machine_type: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Routers.GetNatMappingInfo. See the method description for details. +/// A request message for Routers.GetNatMappingInfo. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNatMappingInfoRoutersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// Name of the Router resource to query for Nat Mapping information of VM endpoints. + /// Name of the Router resource to query for Nat Mapping information of VM endpoints. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, } -/// A request message for NetworkEdgeSecurityServices.Get. See the method description for details. +/// A request message for NetworkEdgeSecurityServices.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNetworkEdgeSecurityServiceRequest { - /// Name of the network edge security service to get. + /// Name of the network edge security service to get. #[prost(string, tag="157011879")] pub network_edge_security_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for NetworkEndpointGroups.Get. See the method description for details. +/// A request message for NetworkEndpointGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNetworkEndpointGroupRequest { - /// The name of the network endpoint group. It should comply with RFC1035. + /// The name of the network endpoint group. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.Get. See the method description for details. +/// A request message for NetworkFirewallPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNetworkFirewallPolicyRequest { - /// Name of the firewall policy to get. + /// Name of the firewall policy to get. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Networks.Get. See the method description for details. +/// A request message for Networks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNetworkRequest { - /// Name of the network to return. + /// Name of the network to return. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for NodeGroups.Get. See the method description for details. +/// A request message for NodeGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNodeGroupRequest { - /// Name of the node group to return. + /// Name of the node group to return. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.Get. See the method description for details. +/// A request message for NodeTemplates.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNodeTemplateRequest { - /// Name of the node template to return. + /// Name of the node template to return. #[prost(string, tag="323154455")] pub node_template: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for NodeTypes.Get. See the method description for details. +/// A request message for NodeTypes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetNodeTypeRequest { - /// Name of the node type to return. + /// Name of the node type to return. #[prost(string, tag="465832791")] pub node_type: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for PacketMirrorings.Get. See the method description for details. +/// A request message for PacketMirrorings.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPacketMirroringRequest { - /// Name of the PacketMirroring resource to return. + /// Name of the PacketMirroring resource to return. #[prost(string, tag="22305996")] pub packet_mirroring: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for Projects.Get. See the method description for details. +/// A request message for Projects.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for PublicAdvertisedPrefixes.Get. See the method description for details. +/// A request message for PublicAdvertisedPrefixes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPublicAdvertisedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicAdvertisedPrefix resource to return. + /// Name of the PublicAdvertisedPrefix resource to return. #[prost(string, tag="101874590")] pub public_advertised_prefix: ::prost::alloc::string::String, } -/// A request message for PublicDelegatedPrefixes.Get. See the method description for details. +/// A request message for PublicDelegatedPrefixes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to return. + /// Name of the PublicDelegatedPrefix resource to return. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionAutoscalers.Get. See the method description for details. +/// A request message for RegionAutoscalers.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionAutoscalerRequest { - /// Name of the autoscaler to return. + /// Name of the autoscaler to return. #[prost(string, tag="517258967")] pub autoscaler: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionBackendServices.Get. See the method description for details. +/// A request message for RegionBackendServices.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionBackendServiceRequest { - /// Name of the BackendService resource to return. + /// Name of the BackendService resource to return. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionCommitments.Get. See the method description for details. +/// A request message for RegionCommitments.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionCommitmentRequest { - /// Name of the commitment to return. + /// Name of the commitment to return. #[prost(string, tag="482134805")] pub commitment: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionDisks.Get. See the method description for details. +/// A request message for RegionDisks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionDiskRequest { - /// Name of the regional persistent disk to return. + /// Name of the regional persistent disk to return. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionDiskTypes.Get. See the method description for details. +/// A request message for RegionDiskTypes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionDiskTypeRequest { - /// Name of the disk type to return. + /// Name of the disk type to return. #[prost(string, tag="93009052")] pub disk_type: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionHealthChecks.Get. See the method description for details. +/// A request message for RegionHealthChecks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionHealthCheckRequest { - /// Name of the HealthCheck resource to return. + /// Name of the HealthCheck resource to return. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionHealthCheckServices.Get. See the method description for details. +/// A request message for RegionHealthCheckServices.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionHealthCheckServiceRequest { - /// Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="408374747")] pub health_check_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.Get. See the method description for details. +/// A request message for RegionInstanceGroupManagers.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionInstanceGroupManagerRequest { - /// Name of the managed instance group to return. + /// Name of the managed instance group to return. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroups.Get. See the method description for details. +/// A request message for RegionInstanceGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionInstanceGroupRequest { - /// Name of the instance group resource to return. + /// Name of the instance group resource to return. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionNetworkEndpointGroups.Get. See the method description for details. +/// A request message for RegionNetworkEndpointGroups.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionNetworkEndpointGroupRequest { - /// The name of the network endpoint group. It should comply with RFC1035. + /// The name of the network endpoint group. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region where the network endpoint group is located. It should comply with RFC1035. + /// The name of the region where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.Get. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to get. + /// Name of the firewall policy to get. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionNotificationEndpoints.Get. See the method description for details. +/// A request message for RegionNotificationEndpoints.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionNotificationEndpointRequest { - /// Name of the NotificationEndpoint resource to return. + /// Name of the NotificationEndpoint resource to return. #[prost(string, tag="376807017")] pub notification_endpoint: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionOperations.Get. See the method description for details. +/// A request message for RegionOperations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for Regions.Get. See the method description for details. +/// A request message for Regions.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region resource to return. + /// Name of the region resource to return. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for RegionSecurityPolicies.Get. See the method description for details. +/// A request message for RegionSecurityPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the security policy to get. + /// Name of the security policy to get. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A request message for RegionSslCertificates.Get. See the method description for details. +/// A request message for RegionSslCertificates.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the SslCertificate resource to return. + /// Name of the SslCertificate resource to return. #[prost(string, tag="46443492")] pub ssl_certificate: ::prost::alloc::string::String, } -/// A request message for RegionSslPolicies.Get. See the method description for details. +/// A request message for RegionSslPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, } -/// A request message for RegionTargetHttpProxies.Get. See the method description for details. +/// A request message for RegionTargetHttpProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the TargetHttpProxy resource to return. + /// Name of the TargetHttpProxy resource to return. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, } -/// A request message for RegionTargetHttpsProxies.Get. See the method description for details. +/// A request message for RegionTargetHttpsProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the TargetHttpsProxy resource to return. + /// Name of the TargetHttpsProxy resource to return. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for RegionTargetTcpProxies.Get. See the method description for details. +/// A request message for RegionTargetTcpProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the TargetTcpProxy resource to return. + /// Name of the TargetTcpProxy resource to return. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for RegionUrlMaps.Get. See the method description for details. +/// A request message for RegionUrlMaps.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the UrlMap resource to return. + /// Name of the UrlMap resource to return. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// A request message for Reservations.Get. See the method description for details. +/// A request message for Reservations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the reservation to retrieve. + /// Name of the reservation to retrieve. #[prost(string, tag="47530956")] pub reservation: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.Get. See the method description for details. +/// A request message for ResourcePolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetResourcePolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the resource policy to retrieve. + /// Name of the resource policy to retrieve. #[prost(string, tag="159240835")] pub resource_policy: ::prost::alloc::string::String, } -/// A request message for Routes.Get. See the method description for details. +/// A request message for Routes.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRouteRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the Route resource to return. + /// Name of the Route resource to return. #[prost(string, tag="108704329")] pub route: ::prost::alloc::string::String, } -/// A request message for Routers.Get. See the method description for details. +/// A request message for Routers.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the Router resource to return. + /// Name of the Router resource to return. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, } -/// A request message for Routers.GetRouterStatus. See the method description for details. +/// A request message for Routers.GetRouterStatus. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRouterStatusRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the Router resource to query. + /// Name of the Router resource to query. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, } -/// A request message for FirewallPolicies.GetRule. See the method description for details. +/// A request message for FirewallPolicies.GetRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuleFirewallPolicyRequest { - /// Name of the firewall policy to which the queried rule belongs. + /// Name of the firewall policy to which the queried rule belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to get from the firewall policy. + /// The priority of the rule to get from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, } -/// A request message for NetworkFirewallPolicies.GetRule. See the method description for details. +/// A request message for NetworkFirewallPolicies.GetRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuleNetworkFirewallPolicyRequest { - /// Name of the firewall policy to which the queried rule belongs. + /// Name of the firewall policy to which the queried rule belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to get from the firewall policy. + /// The priority of the rule to get from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.GetRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuleRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to which the queried rule belongs. + /// Name of the firewall policy to which the queried rule belongs. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to get from the firewall policy. + /// The priority of the rule to get from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for SecurityPolicies.GetRule. See the method description for details. +/// A request message for SecurityPolicies.GetRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuleSecurityPolicyRequest { - /// The priority of the rule to get from the security policy. + /// The priority of the rule to get from the security policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the security policy to which the queried rule belongs. + /// Name of the security policy to which the queried rule belongs. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A request message for Instances.GetScreenshot. See the method description for details. +/// A request message for Instances.GetScreenshot. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetScreenshotInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for SecurityPolicies.Get. See the method description for details. +/// A request message for SecurityPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the security policy to get. + /// Name of the security policy to get. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A request message for Instances.GetSerialPortOutput. See the method description for details. +/// A request message for Instances.GetSerialPortOutput. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSerialPortOutputInstanceRequest { - /// Name of the instance for this request. + /// Name of the instance for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Specifies which COM or serial port to retrieve data from. + /// Specifies which COM or serial port to retrieve data from. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. + /// Specifies the starting byte position of the output to return. To start with the first byte of output to the specified port, omit this field or set it to `0`. If the output for that byte position is available, this field matches the `start` parameter sent with the request. If the amount of serial console output exceeds the size of the buffer (1 MB), the oldest output is discarded and is no longer available. If the requested start position refers to discarded output, the start position is adjusted to the oldest output still available, and the adjusted start position is returned as the `start` property value. You can also provide a negative start position, which translates to the most recent number of bytes written to the serial port. For example, -3 is interpreted as the most recent 3 bytes written to the serial console. #[prost(int64, optional, tag="109757538")] pub start: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ServiceAttachments.Get. See the method description for details. +/// A request message for ServiceAttachments.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the ServiceAttachment resource to return. + /// Name of the ServiceAttachment resource to return. #[prost(string, tag="338957549")] pub service_attachment: ::prost::alloc::string::String, } -/// A request message for Instances.GetShieldedInstanceIdentity. See the method description for details. +/// A request message for Instances.GetShieldedInstanceIdentity. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetShieldedInstanceIdentityInstanceRequest { - /// Name or id of the instance scoping this request. + /// Name or id of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Snapshots.Get. See the method description for details. +/// A request message for Snapshots.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSnapshotRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the Snapshot resource to return. + /// Name of the Snapshot resource to return. #[prost(string, tag="284874180")] pub snapshot: ::prost::alloc::string::String, } -/// A request message for SslCertificates.Get. See the method description for details. +/// A request message for SslCertificates.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the SslCertificate resource to return. + /// Name of the SslCertificate resource to return. #[prost(string, tag="46443492")] pub ssl_certificate: ::prost::alloc::string::String, } -/// A request message for SslPolicies.Get. See the method description for details. +/// A request message for SslPolicies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, } -/// A request message for VpnGateways.GetStatus. See the method description for details. +/// A request message for VpnGateways.GetStatus. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetStatusVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the VPN gateway to return. + /// Name of the VPN gateway to return. #[prost(string, tag="406684153")] pub vpn_gateway: ::prost::alloc::string::String, } -/// A request message for Subnetworks.Get. See the method description for details. +/// A request message for Subnetworks.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the Subnetwork resource to return. + /// Name of the Subnetwork resource to return. #[prost(string, tag="307827694")] pub subnetwork: ::prost::alloc::string::String, } -/// A request message for TargetGrpcProxies.Get. See the method description for details. +/// A request message for TargetGrpcProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetGrpcProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetGrpcProxy resource to return. + /// Name of the TargetGrpcProxy resource to return. #[prost(string, tag="5020283")] pub target_grpc_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpProxies.Get. See the method description for details. +/// A request message for TargetHttpProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetHttpProxy resource to return. + /// Name of the TargetHttpProxy resource to return. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpsProxies.Get. See the method description for details. +/// A request message for TargetHttpsProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetHttpsProxy resource to return. + /// Name of the TargetHttpsProxy resource to return. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetInstances.Get. See the method description for details. +/// A request message for TargetInstances.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetInstanceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetInstance resource to return. + /// Name of the TargetInstance resource to return. #[prost(string, tag="289769347")] pub target_instance: ::prost::alloc::string::String, - /// Name of the zone scoping this request. + /// Name of the zone scoping this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for TargetPools.Get. See the method description for details. +/// A request message for TargetPools.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the TargetPool resource to return. + /// Name of the TargetPool resource to return. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, } -/// A request message for TargetSslProxies.Get. See the method description for details. +/// A request message for TargetSslProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetSslProxy resource to return. + /// Name of the TargetSslProxy resource to return. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for TargetTcpProxies.Get. See the method description for details. +/// A request message for TargetTcpProxies.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the TargetTcpProxy resource to return. + /// Name of the TargetTcpProxy resource to return. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for TargetVpnGateways.Get. See the method description for details. +/// A request message for TargetVpnGateways.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the target VPN gateway to return. + /// Name of the target VPN gateway to return. #[prost(string, tag="532512843")] pub target_vpn_gateway: ::prost::alloc::string::String, } -/// A request message for UrlMaps.Get. See the method description for details. +/// A request message for UrlMaps.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the UrlMap resource to return. + /// Name of the UrlMap resource to return. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// A request message for VpnGateways.Get. See the method description for details. +/// A request message for VpnGateways.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the VPN gateway to return. + /// Name of the VPN gateway to return. #[prost(string, tag="406684153")] pub vpn_gateway: ::prost::alloc::string::String, } -/// A request message for VpnTunnels.Get. See the method description for details. +/// A request message for VpnTunnels.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetVpnTunnelRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the VpnTunnel resource to return. + /// Name of the VpnTunnel resource to return. #[prost(string, tag="143821331")] pub vpn_tunnel: ::prost::alloc::string::String, } -/// A request message for Projects.GetXpnHost. See the method description for details. +/// A request message for Projects.GetXpnHost. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetXpnHostProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for Projects.GetXpnResources. See the method description for details. +/// A request message for Projects.GetXpnResources. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetXpnResourcesProjectsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ZoneOperations.Get. See the method description for details. +/// A request message for ZoneOperations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetZoneOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Zones.Get. See the method description for details. +/// A request message for Zones.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetZoneRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the zone resource to return. + /// Name of the zone resource to return. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalNetworkEndpointGroupsAttachEndpointsRequest { - /// The list of network endpoints to be attached. + /// The list of network endpoints to be attached. #[prost(message, repeated, tag="149850285")] pub network_endpoints: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalNetworkEndpointGroupsDetachEndpointsRequest { - /// The list of network endpoints to be detached. + /// The list of network endpoints to be detached. #[prost(message, repeated, tag="149850285")] pub network_endpoints: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalOrganizationSetPolicyRequest { - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. #[prost(message, repeated, tag="403251854")] pub bindings: ::prost::alloc::vec::Vec, - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. + /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. #[prost(message, optional, tag="91071794")] pub policy: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalSetLabelsRequest { - /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint. + /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash when updating or changing labels, otherwise the request will fail with error 412 conditionNotMet. Make a get() request to the resource to get the latest fingerprint. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). + /// A list of labels to apply for this resource. Each label must comply with the requirements for labels. For example, "webserver-frontend": "images". A label value can also be empty (e.g. "my-label": ""). #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct GlobalSetPolicyRequest { - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify bindings. #[prost(message, repeated, tag="403251854")] pub bindings: ::prost::alloc::vec::Vec, - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. + /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. #[prost(message, optional, tag="91071794")] pub policy: ::core::option::Option, } -/// A guest attributes entry. +/// A guest attributes entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GuestAttributes { - /// [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. + /// [Output Only] Type of the resource. Always compute#guestAttributes for guest attributes entry. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\'). + /// The path to be queried. This can be the default namespace ('') or a nested namespace ('\/') or a specified key ('\/\'). #[prost(string, optional, tag="368591164")] pub query_path: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The value of the requested queried path. + /// [Output Only] The value of the requested queried path. #[prost(message, optional, tag="157570874")] pub query_value: ::core::option::Option, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The key to search for. + /// The key to search for. #[prost(string, optional, tag="164364828")] pub variable_key: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The value found for the requested key. + /// [Output Only] The value found for the requested key. #[prost(string, optional, tag="124582382")] pub variable_value: ::core::option::Option<::prost::alloc::string::String>, } -/// A guest attributes namespace/key/value entry. +/// A guest attributes namespace/key/value entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GuestAttributesEntry { - /// Key for the guest attribute entry. + /// Key for the guest attribute entry. #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// Namespace for the guest attribute entry. + /// Namespace for the guest attribute entry. #[prost(string, optional, tag="178476379")] pub namespace: ::core::option::Option<::prost::alloc::string::String>, - /// Value for the guest attribute entry. + /// Value for the guest attribute entry. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Array of guest attribute namespace/key/value tuples. +/// Array of guest attribute namespace/key/value tuples. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GuestAttributesValue { #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, } -/// Guest OS features. +/// Guest OS features. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GuestOsFeature { - /// The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. - /// Check the Type enum for the list of possible values. + /// The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `GuestOsFeature`. pub mod guest_os_feature { - /// The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. + /// The ID of a supported feature. To add multiple values, use commas to separate values. Set to one or more of the following values: - VIRTIO_SCSI_MULTIQUEUE - WINDOWS - MULTI_IP_SUBNET - UEFI_COMPATIBLE - GVNIC - SEV_CAPABLE - SUSPEND_RESUME_COMPATIBLE - SEV_SNP_CAPABLE For more information, see Enabling guest operating system features. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, FeatureTypeUnspecified = 531767259, Gvnic = 68209305, @@ -9401,43 +9401,43 @@ pub mod guest_os_feature { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Http2HealthCheck { - /// The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. + /// The value of the host header in the HTTP/2 health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, - /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. + /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// The request path of the HTTP/2 health check request. The default value is /. + /// The request path of the HTTP/2 health check request. The default value is /. #[prost(string, optional, tag="229403605")] pub request_path: ::core::option::Option<::prost::alloc::string::String>, - /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. + /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. #[prost(string, optional, tag="196547649")] pub response: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HTTP2HealthCheck`. pub mod http2_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP2 health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -9454,11 +9454,11 @@ pub mod http2_health_check { } } } - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -9480,43 +9480,43 @@ pub mod http2_health_check { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpHealthCheck { - /// The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. + /// The value of the host header in the HTTP health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, - /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. + /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// The request path of the HTTP health check request. The default value is /. + /// The request path of the HTTP health check request. The default value is /. #[prost(string, optional, tag="229403605")] pub request_path: ::core::option::Option<::prost::alloc::string::String>, - /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. + /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. #[prost(string, optional, tag="196547649")] pub response: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HTTPHealthCheck`. pub mod http_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTP health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -9533,11 +9533,11 @@ pub mod http_health_check { } } } - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -9559,43 +9559,43 @@ pub mod http_health_check { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpsHealthCheck { - /// The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. + /// The value of the host header in the HTTPS health check request. If left empty (default value), the IP on behalf of which this health check is performed will be used. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, - /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. + /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// The request path of the HTTPS health check request. The default value is /. + /// The request path of the HTTPS health check request. The default value is /. #[prost(string, optional, tag="229403605")] pub request_path: ::core::option::Option<::prost::alloc::string::String>, - /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. + /// The string to match anywhere in the first 1024 bytes of the response body. If left empty (the default value), the status code determines health. The response data can only be ASCII. #[prost(string, optional, tag="196547649")] pub response: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HTTPSHealthCheck`. pub mod https_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, HTTPS health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -9612,11 +9612,11 @@ pub mod https_health_check { } } } - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -9635,21 +9635,21 @@ pub mod https_health_check { } } } -/// Represents a Health Check resource. Google Compute Engine has two Health Check resources: * \[Global\](/compute/docs/reference/rest/v1/healthChecks) * \[Regional\](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview. +/// Represents a Health Check resource. Google Compute Engine has two Health Check resources: * \[Global\](/compute/docs/reference/rest/v1/healthChecks) * \[Regional\](/compute/docs/reference/rest/v1/regionHealthChecks) Internal HTTP(S) load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Traffic Director must use global health checks (`compute.v1.HealthChecks`). Internal TCP/UDP load balancers can use either regional or global health checks (`compute.v1.regionHealthChecks` or `compute.v1.HealthChecks`). External HTTP(S), TCP proxy, and SSL proxy load balancers as well as managed instance group auto-healing must use global health checks (`compute.v1.HealthChecks`). Backend service-based network load balancers must use regional health checks (`compute.v1.regionHealthChecks`). Target pool-based network load balancers must use legacy HTTP health checks (`compute.v1.httpHealthChecks`). For more information, see Health checks overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheck { - /// How often (in seconds) to send a health check. The default value is 5 seconds. + /// How often (in seconds) to send a health check. The default value is 5 seconds. #[prost(int32, optional, tag="345561006")] pub check_interval_sec: ::core::option::Option, - /// [Output Only] Creation timestamp in 3339 text format. + /// [Output Only] Creation timestamp in 3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="85529574")] pub grpc_health_check: ::core::option::Option, - /// A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. + /// A so-far unhealthy instance will be marked healthy after this many consecutive successes. The default value is 2. #[prost(int32, optional, tag="403212361")] pub healthy_threshold: ::core::option::Option, #[prost(message, optional, tag="11360986")] @@ -9658,46 +9658,46 @@ pub struct HealthCheck { pub http_health_check: ::core::option::Option, #[prost(message, optional, tag="436046905")] pub https_health_check: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// Type of the resource. + /// Type of the resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Configure logging on this health check. + /// Configure logging on this health check. #[prost(message, optional, tag="351299741")] pub log_config: ::core::option::Option, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. For example, a name that is 1-63 characters long, matches the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`, and otherwise complies with RFC1035. This regular expression describes a name where the first character is a lowercase letter, and all following characters are a dash, lowercase letter, or digit, except the last character, which isn't a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Region where the health check resides. Not applicable to global health checks. + /// [Output Only] Region where the health check resides. Not applicable to global health checks. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="280032440")] pub ssl_health_check: ::core::option::Option, #[prost(message, optional, tag="469980419")] pub tcp_health_check: ::core::option::Option, - /// How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. + /// How long (in seconds) to wait before claiming failure. The default value is 5 seconds. It is invalid for timeoutSec to have greater value than checkIntervalSec. #[prost(int32, optional, tag="79994995")] pub timeout_sec: ::core::option::Option, - /// Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. - /// Check the Type enum for the list of possible values. + /// Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, - /// A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. + /// A so-far healthy instance will be marked unhealthy after this many consecutive failures. The default value is 2. #[prost(int32, optional, tag="227958480")] pub unhealthy_threshold: ::core::option::Option, } /// Nested message and enum types in `HealthCheck`. pub mod health_check { - /// Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. + /// Specifies the type of the healthCheck, either TCP, SSL, HTTP, HTTPS, HTTP2 or GRPC. Exactly one of the protocol-specific health check fields must be specified, which must match type field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Grpc = 2196510, Http = 2228360, @@ -9726,93 +9726,93 @@ pub mod health_check { } } } -/// Contains a list of HealthCheck resources. +/// Contains a list of HealthCheck resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of HealthCheck resources. + /// A list of HealthCheck resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver. +/// Configuration of logging on a health check. If logging is enabled, logs will be exported to Stackdriver. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckLogConfig { - /// Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. + /// Indicates whether or not to export logs. This is false by default, which means no health check logging will be done. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, } -/// A full or valid partial URL to a health check. For example, the following are valid URLs: - - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check +/// A full or valid partial URL to a health check. For example, the following are valid URLs: - - projects/project-id/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckReference { #[prost(string, optional, tag="308876645")] pub health_check: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Health-Check as a Service resource. +/// Represents a Health-Check as a Service resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckService { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a HealthCheckService. An up-to-date fingerprint must be provided in order to patch/update the HealthCheckService; Otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the HealthCheckService. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NEGs. + /// A list of URLs to the HealthCheck resources. Must have at least one HealthCheck, and not more than 10. HealthCheck resources must have portSpecification=USE_SERVING_PORT or portSpecification=USE_FIXED_PORT. For regional HealthCheckService, the HealthCheck must be regional and in the same region. For global HealthCheckService, HealthCheck must be global. Mix of regional and global HealthChecks is not supported. Multiple regional HealthChecks must belong to the same region. Regional HealthChecks must belong to the same region as zones of NEGs. #[prost(string, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . - /// Check the HealthStatusAggregationPolicy enum for the list of possible values. + /// Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . + /// Check the HealthStatusAggregationPolicy enum for the list of possible values. #[prost(string, optional, tag="253163129")] pub health_status_aggregation_policy: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#healthCheckServicefor health check services. + /// [Output only] Type of the resource. Always compute#healthCheckServicefor health check services. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. + /// A list of URLs to the NetworkEndpointGroup resources. Must not have more than 100. For regional HealthCheckService, NEGs must be in zones in the region of the HealthCheckService. #[prost(string, repeated, tag="29346733")] pub network_endpoint_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global. + /// A list of URLs to the NotificationEndpoint resources. Must not have more than 10. A list of endpoints for receiving notifications of change in health status. For regional HealthCheckService, NotificationEndpoint must be regional and in the same region. For global HealthCheckService, NotificationEndpoint must be global. #[prost(string, repeated, tag="406728490")] pub notification_endpoints: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the health check service resides. This field is not applicable to global health check services. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HealthCheckService`. pub mod health_check_service { - /// Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . + /// Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HealthStatusAggregationPolicy { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedHealthStatusAggregationPolicy = 0, - /// If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. + /// If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY. And = 64951, - /// An EndpointHealth message is returned for each backend in the health check service. + /// An EndpointHealth message is returned for each backend in the health check service. NoAggregation = 426445124, } impl HealthStatusAggregationPolicy { @@ -9829,7 +9829,7 @@ pub mod health_check_service { } } } -/// A full or valid partial URL to a health check service. For example, the following are valid URLs: - - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service +/// A full or valid partial URL to a health check service. For example, the following are valid URLs: - - projects/project-id/regions/us-west1/healthCheckServices/health-check-service - regions/us-west1/healthCheckServices/health-check-service #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckServiceReference { #[prost(string, optional, tag="408374747")] @@ -9838,99 +9838,99 @@ pub struct HealthCheckServiceReference { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthCheckServicesList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of HealthCheckService resources. + /// A list of HealthCheckService resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices. + /// [Output Only] Type of the resource. Always compute#healthCheckServicesList for lists of HealthCheckServices. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthChecksAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of HealthChecksScopedList resources. + /// A list of HealthChecksScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, HealthChecksScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthChecksScopedList { - /// A list of HealthChecks contained in this scope. + /// A list of HealthChecks contained in this scope. #[prost(message, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthStatus { - /// Metadata defined as annotations for network endpoint. + /// Metadata defined as annotations for network endpoint. #[prost(map="string, string", tag="112032548")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// URL of the forwarding rule associated with the health status of the instance. + /// URL of the forwarding rule associated with the health status of the instance. #[prost(string, optional, tag="269964030")] pub forwarding_rule: ::core::option::Option<::prost::alloc::string::String>, - /// A forwarding rule IP address assigned to this instance. + /// A forwarding rule IP address assigned to this instance. #[prost(string, optional, tag="172250632")] pub forwarding_rule_ip: ::core::option::Option<::prost::alloc::string::String>, - /// Health state of the instance. - /// Check the HealthState enum for the list of possible values. + /// Health state of the instance. + /// Check the HealthState enum for the list of possible values. #[prost(string, optional, tag="324007150")] pub health_state: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the instance resource. + /// URL of the instance resource. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. + /// For target pool based Network Load Balancing, it indicates the forwarding rule's IP address assigned to this instance. For other types of load balancing, the field indicates VM internal ip. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// The named port of the instance group, not necessarily the port that is health-checked. + /// The named port of the instance group, not necessarily the port that is health-checked. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, #[prost(string, optional, tag="282149496")] pub weight: ::core::option::Option<::prost::alloc::string::String>, - /// - /// Check the WeightError enum for the list of possible values. + /// + /// Check the WeightError enum for the list of possible values. #[prost(string, optional, tag="522501505")] pub weight_error: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HealthStatus`. pub mod health_status { - /// Health state of the instance. + /// Health state of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HealthState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedHealthState = 0, Healthy = 439801213, Unhealthy = 462118084, @@ -9952,15 +9952,15 @@ pub mod health_status { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WeightError { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedWeightError = 0, - /// The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). + /// The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation). InvalidWeight = 383698400, - /// The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. + /// The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight. MissingWeight = 384027537, - /// This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. + /// This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN. For the latter, it should be typically because there has not been sufficient time to parse and report the weight for a new backend (which is with 0.0.0.0 ip address). However, it can be also due to an outage case for which the health status is explicitly reset to UNKNOWN. UnavailableWeight = 439464295, - /// This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. + /// This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight. WeightNone = 502428831, } impl WeightError { @@ -9982,30 +9982,30 @@ pub mod health_status { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HealthStatusForNetworkEndpoint { - /// URL of the backend service associated with the health state of the network endpoint. + /// URL of the backend service associated with the health state of the network endpoint. #[prost(message, optional, tag="306946058")] pub backend_service: ::core::option::Option, - /// URL of the forwarding rule associated with the health state of the network endpoint. + /// URL of the forwarding rule associated with the health state of the network endpoint. #[prost(message, optional, tag="269964030")] pub forwarding_rule: ::core::option::Option, - /// URL of the health check associated with the health state of the network endpoint. + /// URL of the health check associated with the health state of the network endpoint. #[prost(message, optional, tag="308876645")] pub health_check: ::core::option::Option, - /// URL of the health check service associated with the health state of the network endpoint. + /// URL of the health check service associated with the health state of the network endpoint. #[prost(message, optional, tag="408374747")] pub health_check_service: ::core::option::Option, - /// Health state of the network endpoint determined based on the health checks configured. - /// Check the HealthState enum for the list of possible values. + /// Health state of the network endpoint determined based on the health checks configured. + /// Check the HealthState enum for the list of possible values. #[prost(string, optional, tag="324007150")] pub health_state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `HealthStatusForNetworkEndpoint`. pub mod health_status_for_network_endpoint { - /// Health state of the network endpoint determined based on the health checks configured. + /// Health state of the network endpoint determined based on the health checks configured. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HealthState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedHealthState = 0, Draining = 480455402, Healthy = 439801213, @@ -10028,179 +10028,179 @@ pub mod health_status_for_network_endpoint { } } } -/// Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit. +/// Provides links to documentation or for performing an out of band action. For example, if a quota check failed with an error indicating the calling project hasn't enabled the accessed service, this can contain a URL pointing directly to the right place in the developer console to flip the bit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Help { - /// URL(s) pointing to additional information on handling the current error. + /// URL(s) pointing to additional information on handling the current error. #[prost(message, repeated, tag="102977465")] pub links: ::prost::alloc::vec::Vec, } -/// Describes a URL link. +/// Describes a URL link. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HelpLink { - /// Describes what the link offers. + /// Describes what the link offers. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the link. + /// The URL of the link. #[prost(string, optional, tag="116079")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. +/// UrlMaps A host-matching rule for a URL. If matched, will use the named PathMatcher to select the BackendService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HostRule { - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of (\[a-z0-9-.\]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// The list of host patterns to match. They must be valid hostnames with optional port numbers in the format host:port. * matches any string of (\[a-z0-9-.\]*). In that case, * must be the first character, and if followed by anything, the immediate following character must be either - or .. * based matching is not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(string, repeated, tag="99467211")] pub hosts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion. + /// The name of the PathMatcher to use to match the path portion of the URL if the hostRule matches the URL's host portion. #[prost(string, optional, tag="337813272")] pub path_matcher: ::core::option::Option<::prost::alloc::string::String>, } -/// Specification for how requests are aborted as part of fault injection. +/// Specification for how requests are aborted as part of fault injection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpFaultAbort { - /// The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. + /// The HTTP status code used to abort the request. The value must be from 200 to 599 inclusive. For gRPC protocol, the gRPC status code is mapped to HTTP status code according to this mapping table. HTTP status 200 is mapped to gRPC status UNKNOWN. Injecting an OK status is currently not supported by Traffic Director. #[prost(uint32, optional, tag="468949897")] pub http_status: ::core::option::Option, - /// The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. + /// The percentage of traffic for connections, operations, or requests that is aborted as part of fault injection. The value must be from 0.0 to 100.0 inclusive. #[prost(double, optional, tag="151909018")] pub percentage: ::core::option::Option, } -/// Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection. +/// Specifies the delay introduced by the load balancer before forwarding the request to the backend service as part of fault injection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpFaultDelay { - /// Specifies the value of the fixed delay interval. + /// Specifies the value of the fixed delay interval. #[prost(message, optional, tag="317037816")] pub fixed_delay: ::core::option::Option, - /// The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. + /// The percentage of traffic for connections, operations, or requests for which a delay is introduced as part of fault injection. The value must be from 0.0 to 100.0 inclusive. #[prost(double, optional, tag="151909018")] pub percentage: ::core::option::Option, } -/// The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. +/// The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by the load balancer on a percentage of requests before sending those request to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpFaultInjection { - /// The specification for how client requests are aborted as part of fault injection. + /// The specification for how client requests are aborted as part of fault injection. #[prost(message, optional, tag="92611376")] pub abort: ::core::option::Option, - /// The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. + /// The specification for how client requests are delayed as part of fault injection, before being sent to a backend service. #[prost(message, optional, tag="95467907")] pub delay: ::core::option::Option, } -/// The request and response header transformations that take effect before the request is passed along to the selected backendService. +/// The request and response header transformations that take effect before the request is passed along to the selected backendService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpHeaderAction { - /// Headers to add to a matching request before forwarding the request to the backendService. + /// Headers to add to a matching request before forwarding the request to the backendService. #[prost(message, repeated, tag="72111974")] pub request_headers_to_add: ::prost::alloc::vec::Vec, - /// A list of header names for headers that need to be removed from the request before forwarding the request to the backendService. + /// A list of header names for headers that need to be removed from the request before forwarding the request to the backendService. #[prost(string, repeated, tag="218425247")] pub request_headers_to_remove: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Headers to add the response before sending the response back to the client. + /// Headers to add the response before sending the response back to the client. #[prost(message, repeated, tag="32136052")] pub response_headers_to_add: ::prost::alloc::vec::Vec, - /// A list of header names for headers that need to be removed from the response before sending the response back to the client. + /// A list of header names for headers that need to be removed from the response before sending the response back to the client. #[prost(string, repeated, tag="75415761")] pub response_headers_to_remove: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// matchRule criteria for request header matches. +/// matchRule criteria for request header matches. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpHeaderMatch { - /// The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. + /// The value should exactly match contents of exactMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. #[prost(string, optional, tag="457641093")] pub exact_match: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`. + /// The name of the HTTP header to match. For matching against the HTTP request's authority, use a headerMatch with the header name ":authority". For matching a request's method, use the headerName ":method". When the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true, only non-binary user-specified custom metadata and the `content-type` header are supported. The following transport-level headers cannot be used in header matching rules: `:authority`, `:method`, `:path`, `:scheme`, `user-agent`, `accept-encoding`, `content-encoding`, `grpc-accept-encoding`, `grpc-encoding`, `grpc-previous-rpc-attempts`, `grpc-tags-bin`, `grpc-timeout` and `grpc-trace-bin`. #[prost(string, optional, tag="110223613")] pub header_name: ::core::option::Option<::prost::alloc::string::String>, - /// If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false. + /// If set to false, the headerMatch is considered a match if the preceding match criteria are met. If set to true, the headerMatch is considered a match if the preceding match criteria are NOT met. The default setting is false. #[prost(bool, optional, tag="501130268")] pub invert_match: ::core::option::Option, - /// The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. + /// The value of the header must start with the contents of prefixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. #[prost(string, optional, tag="257898968")] pub prefix_match: ::core::option::Option<::prost::alloc::string::String>, - /// A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. + /// A header with the contents of headerName must exist. The match takes place whether or not the request's header has a value. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. #[prost(bool, optional, tag="67435841")] pub present_match: ::core::option::Option, - /// The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL. + /// The header value must be an integer and its value must be in the range specified in rangeMatch. If the header does not contain an integer, number or is empty, the match fails. For example for a range [-5, 0] - -3 will match. - 0 will not match. - 0.25 will not match. - -3someString will not match. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. rangeMatch is not supported for load balancers that have loadBalancingScheme set to EXTERNAL. #[prost(message, optional, tag="97244227")] pub range_match: ::core::option::Option, - /// The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. + /// The value of the header must match the regular expression specified in regexMatch. For more information about regular expression syntax, see Syntax. For matching against a port specified in the HTTP request, use a headerMatch with headerName set to PORT and a regular expression that satisfies the RFC2616 Host header's port specifier. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. #[prost(string, optional, tag="107387853")] pub regex_match: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. + /// The value of the header must end with the contents of suffixMatch. Only one of exactMatch, prefixMatch, suffixMatch, regexMatch, presentMatch or rangeMatch must be set. #[prost(string, optional, tag="426488663")] pub suffix_match: ::core::option::Option<::prost::alloc::string::String>, } -/// Specification determining how headers are added to requests or responses. +/// Specification determining how headers are added to requests or responses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpHeaderOption { - /// The name of the header. + /// The name of the header. #[prost(string, optional, tag="110223613")] pub header_name: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the header to add. + /// The value of the header to add. #[prost(string, optional, tag="203094335")] pub header_value: ::core::option::Option<::prost::alloc::string::String>, - /// If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. + /// If false, headerValue is appended to any values that already exist for the header. If true, headerValue is set for the header, discarding any values that were set for that header. The default value is false. #[prost(bool, optional, tag="20755124")] pub replace: ::core::option::Option, } -/// HttpRouteRuleMatch criteria for a request's query parameter. +/// HttpRouteRuleMatch criteria for a request's query parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpQueryParameterMatch { - /// The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. + /// The queryParameterMatch matches if the value of the parameter exactly matches the contents of exactMatch. Only one of presentMatch, exactMatch, or regexMatch must be set. #[prost(string, optional, tag="457641093")] pub exact_match: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails. + /// The name of the query parameter to match. The query parameter must exist in the request, in the absence of which the request match fails. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set. + /// Specifies that the queryParameterMatch matches if the request contains the query parameter, irrespective of whether the parameter has a value or not. Only one of presentMatch, exactMatch, or regexMatch must be set. #[prost(bool, optional, tag="67435841")] pub present_match: ::core::option::Option, - /// The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. + /// The queryParameterMatch matches if the value of the parameter matches the regular expression specified by regexMatch. For more information about regular expression syntax, see Syntax. Only one of presentMatch, exactMatch, or regexMatch must be set. regexMatch only applies when the loadBalancingScheme is set to INTERNAL_SELF_MANAGED. #[prost(string, optional, tag="107387853")] pub regex_match: ::core::option::Option<::prost::alloc::string::String>, } -/// Specifies settings for an HTTP redirect. +/// Specifies settings for an HTTP redirect. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRedirectAction { - /// The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. + /// The host that is used in the redirect response instead of the one that was supplied in the request. The value must be from 1 to 255 characters. #[prost(string, optional, tag="107417747")] pub host_redirect: ::core::option::Option<::prost::alloc::string::String>, - /// If set to true, the URL scheme in the redirected request is set to HTTPS. If set to false, the URL scheme of the redirected request remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false. + /// If set to true, the URL scheme in the redirected request is set to HTTPS. If set to false, the URL scheme of the redirected request remains the same as that of the request. This must only be set for URL maps used in TargetHttpProxys. Setting this true for TargetHttpsProxy is not permitted. The default is set to false. #[prost(bool, optional, tag="170260656")] pub https_redirect: ::core::option::Option, - /// The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters. + /// The path that is used in the redirect response instead of the one that was supplied in the request. pathRedirect cannot be supplied together with prefixRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters. #[prost(string, optional, tag="272342710")] pub path_redirect: ::core::option::Option<::prost::alloc::string::String>, - /// The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters. + /// The prefix that replaces the prefixMatch specified in the HttpRouteRuleMatch, retaining the remaining portion of the URL before redirecting the request. prefixRedirect cannot be supplied together with pathRedirect. Supply one alone or neither. If neither is supplied, the path of the original request is used for the redirect. The value must be from 1 to 1024 characters. #[prost(string, optional, tag="446184169")] pub prefix_redirect: ::core::option::Option<::prost::alloc::string::String>, - /// The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. - /// Check the RedirectResponseCode enum for the list of possible values. + /// The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. + /// Check the RedirectResponseCode enum for the list of possible values. #[prost(string, optional, tag="436710408")] pub redirect_response_code: ::core::option::Option<::prost::alloc::string::String>, - /// If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false. + /// If set to true, any accompanying query portion of the original URL is removed before redirecting the request. If set to false, the query portion of the original URL is retained. The default is set to false. #[prost(bool, optional, tag="52284641")] pub strip_query: ::core::option::Option, } /// Nested message and enum types in `HttpRedirectAction`. pub mod http_redirect_action { - /// The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. + /// The HTTP Status code to use for this RedirectAction. Supported values are: - MOVED_PERMANENTLY_DEFAULT, which is the default value and corresponds to 301. - FOUND, which corresponds to 302. - SEE_OTHER which corresponds to 303. - TEMPORARY_REDIRECT, which corresponds to 307. In this case, the request method is retained. - PERMANENT_REDIRECT, which corresponds to 308. In this case, the request method is retained. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RedirectResponseCode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRedirectResponseCode = 0, - /// Http Status Code 302 - Found. + /// Http Status Code 302 - Found. Found = 67084130, - /// Http Status Code 301 - Moved Permanently. + /// Http Status Code 301 - Moved Permanently. MovedPermanentlyDefault = 386698449, - /// Http Status Code 308 - Permanent Redirect maintaining HTTP method. + /// Http Status Code 308 - Permanent Redirect maintaining HTTP method. PermanentRedirect = 382006381, - /// Http Status Code 303 - See Other. + /// Http Status Code 303 - See Other. SeeOther = 445380580, - /// Http Status Code 307 - Temporary Redirect maintaining HTTP method. + /// Http Status Code 307 - Temporary Redirect maintaining HTTP method. TemporaryRedirect = 489550378, } impl RedirectResponseCode { @@ -10220,213 +10220,213 @@ pub mod http_redirect_action { } } } -/// The retry policy associates with HttpRouteRule +/// The retry policy associates with HttpRouteRule #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRetryPolicy { - /// Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. + /// Specifies the allowed number retries. This number must be > 0. If not specified, defaults to 1. #[prost(uint32, optional, tag="251680141")] pub num_retries: ::core::option::Option, - /// Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// Specifies a non-zero timeout per retry attempt. If not specified, will use the timeout set in the HttpRouteAction field. If timeout in the HttpRouteAction field is not set, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(message, optional, tag="280041147")] pub per_try_timeout: ::core::option::Option, - /// Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable + /// Specifies one or more conditions when this retry policy applies. Valid values are: - 5xx: retry is attempted if the instance or endpoint responds with any 5xx response code, or if the instance or endpoint does not respond at all. For example, disconnects, reset, read timeout, connection failure, and refused streams. - gateway-error: Similar to 5xx, but only applies to response codes 502, 503 or 504. - connect-failure: a retry is attempted on failures connecting to the instance or endpoint. For example, connection timeouts. - retriable-4xx: a retry is attempted if the instance or endpoint responds with a 4xx response code. The only error that you can retry is error code 409. - refused-stream: a retry is attempted if the instance or endpoint resets the stream with a REFUSED_STREAM error code. This reset type indicates that it is safe to retry. - cancelled: a retry is attempted if the gRPC status code in the response header is set to cancelled. - deadline-exceeded: a retry is attempted if the gRPC status code in the response header is set to deadline-exceeded. - internal: a retry is attempted if the gRPC status code in the response header is set to internal. - resource-exhausted: a retry is attempted if the gRPC status code in the response header is set to resource-exhausted. - unavailable: a retry is attempted if the gRPC status code in the response header is set to unavailable. Only the following codes are supported when the URL map is bound to target gRPC proxy that has validateForProxyless field set to true. - cancelled - deadline-exceeded - internal - resource-exhausted - unavailable #[prost(string, repeated, tag="28815535")] pub retry_conditions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRouteAction { - /// The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. + /// The specification for allowing client-side cross-origin requests. For more information about the W3C recommendation for cross-origin resource sharing (CORS), see Fetch API Living Standard. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, optional, tag="398943748")] pub cors_policy: ::core::option::Option, - /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features. + /// The specification for fault injection introduced into traffic to test the resiliency of clients to backend service failure. As part of fault injection, when clients send requests to a backend service, delays can be introduced by a load balancer on a percentage of requests before sending those requests to the backend service. Similarly requests from clients can be aborted by the load balancer for a percentage of requests. timeout and retry_policy is ignored by clients that are configured with a fault_injection_policy if: 1. The traffic is generated by fault injection AND 2. The fault injection is not a delay fault injection. Fault injection is not supported with the global external HTTP(S) load balancer (classic). To see which load balancers support fault injection, see Load balancing: Routing and traffic management features. #[prost(message, optional, tag="412781079")] pub fault_injection_policy: ::core::option::Option, - /// Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED. + /// Specifies the maximum duration (timeout) for streams on the selected route. Unlike the timeout field where the timeout duration starts from the time the request has been fully processed (known as *end-of-stream*), the duration in this field is computed from the beginning of the stream until the response has been processed, including all retries. A stream that does not complete in this duration is closed. If not specified, this field uses the maximum maxStreamDuration value among all backend services associated with the route. This field is only allowed if the Url map is used with backend services with loadBalancingScheme set to INTERNAL_SELF_MANAGED. #[prost(message, optional, tag="61428376")] pub max_stream_duration: ::core::option::Option, - /// Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// Specifies the policy on how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer does not wait for responses from the shadow service. Before sending traffic to the shadow service, the host / authority header is suffixed with -shadow. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(message, optional, tag="220196866")] pub request_mirror_policy: ::core::option::Option, - /// Specifies the retry policy associated with this route. + /// Specifies the retry policy associated with this route. #[prost(message, optional, tag="56799913")] pub retry_policy: ::core::option::Option, - /// Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as *end-of-stream*) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Specifies the timeout for the selected route. Timeout is computed from the time the request has been fully processed (known as *end-of-stream*) up until the response has been processed. Timeout includes all retries. If not specified, this field uses the largest timeout among all backend services associated with the route. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="296701281")] pub timeout: ::core::option::Option, - /// The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// The spec to modify the URL of the request, before forwarding the request to the matched service. urlRewrite is the only action supported in UrlMaps for external HTTP(S) load balancers. Not supported when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(message, optional, tag="273333948")] pub url_rewrite: ::core::option::Option, - /// A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction. + /// A list of weighted backend services to send traffic to when a route match occurs. The weights determine the fraction of traffic that flows to their corresponding backend service. If all traffic needs to go to a single backend service, there must be one weightedBackendService with weight set to a non-zero number. After a backend service is identified and before forwarding the request to the backend service, advanced routing actions such as URL rewrites and header transformations are applied depending on additional settings specified in this HttpRouteAction. #[prost(message, repeated, tag="337028049")] pub weighted_backend_services: ::prost::alloc::vec::Vec, } -/// The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform. +/// The HttpRouteRule setting specifies how to match an HTTP request and the corresponding routing action that load balancing proxies perform. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRouteRule { - /// The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. + /// The short description conveying the intent of this routeRule. The description can have a maximum length of 1024 characters. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers\[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[\].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction value specified here is applied before the matching pathMatchers[].headerAction and after pathMatchers\[].routeRules[].routeAction.weightedBackendService.backendServiceWeightAction[\].headerAction HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="328077352")] pub header_action: ::core::option::Option, - /// The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule. + /// The list of criteria for matching attributes of a request to this routeRule. This list has OR semantics: the request matches this routeRule when any of the matchRules are satisfied. However predicates within a given matchRule have AND semantics. All predicates within a matchRule must match for the request to match the rule. #[prost(message, repeated, tag="376200701")] pub match_rules: ::prost::alloc::vec::Vec, - /// For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules. + /// For routeRules within a given pathMatcher, priority determines the order in which a load balancer interprets routeRules. RouteRules are evaluated in order of priority, from the lowest to highest number. The priority of a rule decreases as its number increases (1, 2, 3, N+1). The first rule that matches the request is applied. You cannot configure two or more routeRules with the same priority. Priority for each rule must be set to a number from 0 to 2147483647 inclusive. Priority numbers can have gaps, which enable you to add or remove rules in the future without affecting the rest of the rules. For example, 1, 2, 3, 4, 5, 9, 12, 16 is a valid series of priority numbers to which you could add rules numbered from 6 to 8, 10 to 11, and 13 to 15 in the future without any impact on existing rules. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction. + /// In response to a matching matchRule, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a route rule's routeAction. #[prost(message, optional, tag="424563948")] pub route_action: ::core::option::Option, - /// The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. + /// The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. + /// When this rule is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, optional, tag="405147820")] pub url_redirect: ::core::option::Option, } -/// HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur. +/// HttpRouteRuleMatch specifies a set of criteria for matching requests to an HttpRouteRule. All specified criteria must be satisfied for a match to occur. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HttpRouteRuleMatch { - /// For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + /// For satisfying the matchRule condition, the path of the request must exactly match the value specified in fullPathMatch after removing any query parameters and anchor that may be part of the original URL. fullPathMatch must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. #[prost(string, optional, tag="214598875")] pub full_path_match: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a list of header match criteria, all of which must match corresponding headers in the request. + /// Specifies a list of header match criteria, all of which must match corresponding headers in the request. #[prost(message, repeated, tag="361903489")] pub header_matches: ::prost::alloc::vec::Vec, - /// Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy. + /// Specifies that prefixMatch and fullPathMatch matches are case sensitive. The default value is false. ignoreCase must not be used with regexMatch. Not supported when the URL map is bound to a target gRPC proxy. #[prost(bool, optional, tag="464324989")] pub ignore_case: ::core::option::Option, - /// Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Opaque filter criteria used by the load balancer to restrict routing configuration to a limited set of xDS compliant clients. In their xDS requests to the load balancer, xDS clients present node metadata. When there is a match, the relevant routing configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. If multiple metadata filters are specified, all of them need to be satisfied in order to be considered a match. metadataFilters specified here is applied after those specified in ForwardingRule that refers to the UrlMap this HttpRouteRuleMatch belongs to. metadataFilters only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, repeated, tag="464725739")] pub metadata_filters: ::prost::alloc::vec::Vec, - /// For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. + /// For satisfying the matchRule condition, the request's path must begin with the specified prefixMatch. prefixMatch must begin with a /. The value must be from 1 to 1024 characters. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. #[prost(string, optional, tag="257898968")] pub prefix_match: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy. + /// Specifies a list of query parameter match criteria, all of which must match corresponding query parameters in the request. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, repeated, tag="286231270")] pub query_parameter_matches: ::prost::alloc::vec::Vec, - /// For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. + /// For satisfying the matchRule condition, the path of the request must satisfy the regular expression specified in regexMatch after removing any query parameters and anchor supplied with the original URL. For more information about regular expression syntax, see Syntax. Only one of prefixMatch, fullPathMatch or regexMatch must be specified. regexMatch only applies to load balancers that have loadBalancingScheme set to INTERNAL_SELF_MANAGED. #[prost(string, optional, tag="107387853")] pub regex_match: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images. +/// Represents an Image resource. You can use images to create boot disks for your VM instances. For more information, read Images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Image { - /// The architecture of the image. Valid values are ARM64 or X86_64. - /// Check the Architecture enum for the list of possible values. + /// The architecture of the image. Valid values are ARM64 or X86_64. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). + /// Size of the image tar.gz archive stored in Google Cloud Storage (in bytes). #[prost(int64, optional, tag="381093450")] pub archive_size_bytes: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// The deprecation status associated with this image. + /// The deprecation status associated with this image. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Size of the image when restored onto a persistent disk (in GB). + /// Size of the image when restored onto a persistent disk (in GB). #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. + /// The name of the image family to which this image belongs. You can create disks by specifying an image family instead of a specific image name. The image family always returns its latest image that is not deprecated. The name of the image family must comply with RFC1035. #[prost(string, optional, tag="328751972")] pub family: ::core::option::Option<::prost::alloc::string::String>, - /// A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. + /// A list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available options, see the guestOSfeatures[].type parameter. #[prost(message, repeated, tag="79294545")] pub guest_os_features: ::prost::alloc::vec::Vec, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later. + /// Encrypts the image using a customer-supplied encryption key. After you encrypt an image with a customer-supplied key, you must provide the same key if you use the image later (e.g. to create a disk from the image). Customer-supplied encryption keys do not protect access to metadata of the disk. If you do not provide an encryption key when creating the image, then the disk will be encrypted using an automatically generated key and you do not need to provide a key to use the image later. #[prost(message, optional, tag="379512583")] pub image_encryption_key: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#image for images. + /// [Output Only] Type of the resource. Always compute#image for images. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image. + /// A fingerprint for the labels being applied to this image, which is essentially a hash of the labels used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an image. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to this image. These can be later modified by the setLabels method. + /// Labels to apply to this image. These can be later modified by the setLabels method. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Integer license codes indicating which licenses are attached to this image. + /// Integer license codes indicating which licenses are attached to this image. #[prost(int64, repeated, tag="45482664")] pub license_codes: ::prost::alloc::vec::Vec, - /// Any applicable license URI. + /// Any applicable license URI. #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The parameters of the raw disk image. + /// The parameters of the raw disk image. #[prost(message, optional, tag="503113556")] pub raw_disk: ::core::option::Option, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Set the secure boot keys of shielded instance. + /// Set the secure boot keys of shielded instance. #[prost(message, optional, tag="192356867")] pub shielded_instance_initial_state: ::core::option::Option, - /// URL of the source disk used to create this image. For example, the following are valid values: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL + /// URL of the source disk used to create this image. For example, the following are valid values: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL #[prost(string, optional, tag="451753793")] pub source_disk: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. #[prost(message, optional, tag="531501153")] pub source_disk_encryption_key: ::core::option::Option, - /// [Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name. + /// [Output Only] The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name. #[prost(string, optional, tag="454190809")] pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the source image used to create this image. The following are valid formats for the URL: - images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL + /// URL of the source image used to create this image. The following are valid formats for the URL: - images/image_name - projects/project_id/global/images/image_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL #[prost(string, optional, tag="50443319")] pub source_image: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source image. Required if the source image is protected by a customer-supplied encryption key. #[prost(message, optional, tag="381503659")] pub source_image_encryption_key: ::core::option::Option, - /// [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name. + /// [Output Only] The ID value of the image used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given image name. #[prost(string, optional, tag="55328291")] pub source_image_id: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the source snapshot used to create this image. The following are valid formats for the URL: - snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL + /// URL of the source snapshot used to create this image. The following are valid formats for the URL: - snapshots/snapshot_name - projects/project_id/global/snapshots/snapshot_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL #[prost(string, optional, tag="126061928")] pub source_snapshot: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source snapshot. Required if the source snapshot is protected by a customer-supplied encryption key. #[prost(message, optional, tag="303679322")] pub source_snapshot_encryption_key: ::core::option::Option, - /// [Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name. + /// [Output Only] The ID value of the snapshot used to create this image. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given snapshot name. #[prost(string, optional, tag="98962258")] pub source_snapshot_id: ::core::option::Option<::prost::alloc::string::String>, - /// The type of the image used to create this disk. The default and only valid value is RAW. - /// Check the SourceType enum for the list of possible values. + /// The type of the image used to create this disk. The default and only valid value is RAW. + /// Check the SourceType enum for the list of possible values. #[prost(string, optional, tag="452245726")] pub source_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// Cloud Storage bucket storage location of the image (regional or multi-regional). + /// Cloud Storage bucket storage location of the image (regional or multi-regional). #[prost(string, repeated, tag="328005274")] pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Image`. pub mod image { - /// The architecture of the image. Valid values are ARM64 or X86_64. + /// The architecture of the image. Valid values are ARM64 or X86_64. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -10443,11 +10443,11 @@ pub mod image { } } } - /// The type of the image used to create this disk. The default and only valid value is RAW. + /// The type of the image used to create this disk. The default and only valid value is RAW. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SourceType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSourceType = 0, Raw = 80904, } @@ -10463,19 +10463,19 @@ pub mod image { } } } - /// [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. + /// [Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Image is deleting. + /// Image is deleting. Deleting = 528602024, - /// Image creation failed due to an error. + /// Image creation failed due to an error. Failed = 455706685, - /// Image hasn't been created as yet. + /// Image hasn't been created as yet. Pending = 35394935, - /// Image has been successfully created. + /// Image has been successfully created. Ready = 77848963, } impl Status { @@ -10497,1259 +10497,1259 @@ pub mod image { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageFamilyView { - /// The latest image that is part of the specified image family in the requested location, and that is not deprecated. + /// The latest image that is part of the specified image family in the requested location, and that is not deprecated. #[prost(message, optional, tag="100313435")] pub image: ::core::option::Option, } -/// Contains a list of images. +/// Contains a list of images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Image resources. + /// A list of Image resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Initial State for shielded instance, these are public keys which are safe to store in public +/// Initial State for shielded instance, these are public keys which are safe to store in public #[derive(Clone, PartialEq, ::prost::Message)] pub struct InitialStateConfig { - /// The Key Database (db). + /// The Key Database (db). #[prost(message, repeated, tag="99253")] pub dbs: ::prost::alloc::vec::Vec, - /// The forbidden key database (dbx). + /// The forbidden key database (dbx). #[prost(message, repeated, tag="3077113")] pub dbxs: ::prost::alloc::vec::Vec, - /// The Key Exchange Key (KEK). + /// The Key Exchange Key (KEK). #[prost(message, repeated, tag="3288130")] pub keks: ::prost::alloc::vec::Vec, - /// The Platform Key (PK). + /// The Platform Key (PK). #[prost(message, optional, tag="3579")] pub pk: ::core::option::Option, } -/// A request message for Addresses.Insert. See the method description for details. +/// A request message for Addresses.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertAddressRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="483888121")] pub address_resource: ::core::option::Option
, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Autoscalers.Insert. See the method description for details. +/// A request message for Autoscalers.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertAutoscalerRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.Insert. See the method description for details. +/// A request message for BackendBuckets.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertBackendBucketRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="380757784")] pub backend_bucket_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for BackendServices.Insert. See the method description for details. +/// A request message for BackendServices.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertBackendServiceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.Insert. See the method description for details. +/// A request message for Disks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertDiskRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="25880688")] pub disk_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Source image to restore onto a disk. This field is optional. + /// Source image to restore onto a disk. This field is optional. #[prost(string, optional, tag="50443319")] pub source_image: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ExternalVpnGateways.Insert. See the method description for details. +/// A request message for ExternalVpnGateways.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertExternalVpnGatewayRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="486813576")] pub external_vpn_gateway_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.Insert. See the method description for details. +/// A request message for FirewallPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertFirewallPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// Parent ID for this request. The ID can be either be "folders/\[FOLDER_ID\]" if the parent is a folder or "organizations/\[ORGANIZATION_ID\]" if the parent is an organization. + /// Parent ID for this request. The ID can be either be "folders/\[FOLDER_ID\]" if the parent is a folder or "organizations/\[ORGANIZATION_ID\]" if the parent is an organization. #[prost(string, tag="459714768")] pub parent_id: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Firewalls.Insert. See the method description for details. +/// A request message for Firewalls.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertFirewallRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="41425005")] pub firewall_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for ForwardingRules.Insert. See the method description for details. +/// A request message for ForwardingRules.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertForwardingRuleRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="301211695")] pub forwarding_rule_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalAddresses.Insert. See the method description for details. +/// A request message for GlobalAddresses.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertGlobalAddressRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="483888121")] pub address_resource: ::core::option::Option
, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalForwardingRules.Insert. See the method description for details. +/// A request message for GlobalForwardingRules.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertGlobalForwardingRuleRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="301211695")] pub forwarding_rule_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalNetworkEndpointGroups.Insert. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertGlobalNetworkEndpointGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="525788839")] pub network_endpoint_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalPublicDelegatedPrefixes.Insert. See the method description for details. +/// A request message for GlobalPublicDelegatedPrefixes.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertGlobalPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="47594501")] pub public_delegated_prefix_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for HealthChecks.Insert. See the method description for details. +/// A request message for HealthChecks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertHealthCheckRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Images.Insert. See the method description for details. +/// A request message for Images.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertImageRequest { - /// Force image creation if true. + /// Force image creation if true. #[prost(bool, optional, tag="197723344")] pub force_create: ::core::option::Option, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="371171954")] pub image_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.Insert. See the method description for details. +/// A request message for InstanceGroupManagers.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInstanceGroupManagerRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="261063946")] pub instance_group_manager_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where you want to create the managed instance group. + /// The name of the zone where you want to create the managed instance group. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroups.Insert. See the method description for details. +/// A request message for InstanceGroups.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInstanceGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="286612152")] pub instance_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where you want to create the instance group. + /// The name of the zone where you want to create the instance group. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.Insert. See the method description for details. +/// A request message for Instances.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="215988344")] pub instance_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies instance template to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate + /// Specifies instance template to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to an instance template: - /global/instanceTemplates/instanceTemplate - projects/project/global/instanceTemplates/instanceTemplate - global/instanceTemplates/instanceTemplate #[prost(string, optional, tag="332423616")] pub source_instance_template: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the machine image to use to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to a machine image: - /machineImages/machineImage - projects/project/global/global/machineImages/machineImage - global/machineImages/machineImage + /// Specifies the machine image to use to create the instance. This field is optional. It can be a full or partial URL. For example, the following are all valid URLs to a machine image: - /machineImages/machineImage - projects/project/global/global/machineImages/machineImage - global/machineImages/machineImage #[prost(string, optional, tag="21769791")] pub source_machine_image: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.Insert. See the method description for details. +/// A request message for InstanceTemplates.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInstanceTemplateRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="10679561")] pub instance_template_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InterconnectAttachments.Insert. See the method description for details. +/// A request message for InterconnectAttachments.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInterconnectAttachmentRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="212341369")] pub interconnect_attachment_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for Interconnects.Insert. See the method description for details. +/// A request message for Interconnects.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertInterconnectRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="397611167")] pub interconnect_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Licenses.Insert. See the method description for details. +/// A request message for Licenses.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertLicenseRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="437955148")] pub license_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for MachineImages.Insert. See the method description for details. +/// A request message for MachineImages.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertMachineImageRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="60740970")] pub machine_image_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Required. Source instance that is used to create the machine image from. + /// Required. Source instance that is used to create the machine image from. #[prost(string, optional, tag="396315705")] pub source_instance: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEdgeSecurityServices.Insert. See the method description for details. +/// A request message for NetworkEdgeSecurityServices.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNetworkEdgeSecurityServiceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="477548966")] pub network_edge_security_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for NetworkEndpointGroups.Insert. See the method description for details. +/// A request message for NetworkEndpointGroups.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNetworkEndpointGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="525788839")] pub network_endpoint_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where you want to create the network endpoint group. It should comply with RFC1035. + /// The name of the zone where you want to create the network endpoint group. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.Insert. See the method description for details. +/// A request message for NetworkFirewallPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNetworkFirewallPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Networks.Insert. See the method description for details. +/// A request message for Networks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNetworkRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="122105599")] pub network_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NodeGroups.Insert. See the method description for details. +/// A request message for NodeGroups.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNodeGroupRequest { - /// Initial count of nodes in the node group. + /// Initial count of nodes in the node group. #[prost(int32, tag="71951469")] pub initial_node_count: i32, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="505321899")] pub node_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.Insert. See the method description for details. +/// A request message for NodeTemplates.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertNodeTemplateRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="127364406")] pub node_template_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PacketMirrorings.Insert. See the method description for details. +/// A request message for PacketMirrorings.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertPacketMirroringRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="493501985")] pub packet_mirroring_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PublicAdvertisedPrefixes.Insert. See the method description for details. +/// A request message for PublicAdvertisedPrefixes.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertPublicAdvertisedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="233614223")] pub public_advertised_prefix_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PublicDelegatedPrefixes.Insert. See the method description for details. +/// A request message for PublicDelegatedPrefixes.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="47594501")] pub public_delegated_prefix_resource: ::core::option::Option, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionAutoscalers.Insert. See the method description for details. +/// A request message for RegionAutoscalers.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionAutoscalerRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionBackendServices.Insert. See the method description for details. +/// A request message for RegionBackendServices.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionBackendServiceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionCommitments.Insert. See the method description for details. +/// A request message for RegionCommitments.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionCommitmentRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="244240888")] pub commitment_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionDisks.Insert. See the method description for details. +/// A request message for RegionDisks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionDiskRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="25880688")] pub disk_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Source image to restore onto a disk. This field is optional. + /// Source image to restore onto a disk. This field is optional. #[prost(string, optional, tag="50443319")] pub source_image: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthChecks.Insert. See the method description for details. +/// A request message for RegionHealthChecks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionHealthCheckRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthCheckServices.Insert. See the method description for details. +/// A request message for RegionHealthCheckServices.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionHealthCheckServiceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="477367794")] pub health_check_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionInstanceGroupManagers.Insert. See the method description for details. +/// A request message for RegionInstanceGroupManagers.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionInstanceGroupManagerRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="261063946")] pub instance_group_manager_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkEndpointGroups.Insert. See the method description for details. +/// A request message for RegionNetworkEndpointGroups.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionNetworkEndpointGroupRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="525788839")] pub network_endpoint_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region where you want to create the network endpoint group. It should comply with RFC1035. + /// The name of the region where you want to create the network endpoint group. It should comply with RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionNetworkFirewallPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNotificationEndpoints.Insert. See the method description for details. +/// A request message for RegionNotificationEndpoints.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionNotificationEndpointRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="338459940")] pub notification_endpoint_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionSecurityPolicies.Insert. See the method description for details. +/// A request message for RegionSecurityPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="216159612")] pub security_policy_resource: ::core::option::Option, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for RegionSslCertificates.Insert. See the method description for details. +/// A request message for RegionSslCertificates.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="180709897")] pub ssl_certificate_resource: ::core::option::Option, } -/// A request message for RegionSslPolicies.Insert. See the method description for details. +/// A request message for RegionSslPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="274891848")] pub ssl_policy_resource: ::core::option::Option, } -/// A request message for RegionTargetHttpProxies.Insert. See the method description for details. +/// A request message for RegionTargetHttpProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="24696744")] pub target_http_proxy_resource: ::core::option::Option, } -/// A request message for RegionTargetHttpsProxies.Insert. See the method description for details. +/// A request message for RegionTargetHttpsProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="433657473")] pub target_https_proxy_resource: ::core::option::Option, } -/// A request message for RegionTargetTcpProxies.Insert. See the method description for details. +/// A request message for RegionTargetTcpProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="145913931")] pub target_tcp_proxy_resource: ::core::option::Option, } -/// A request message for RegionUrlMaps.Insert. See the method description for details. +/// A request message for RegionUrlMaps.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. + /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// A request message for Reservations.Insert. See the method description for details. +/// A request message for Reservations.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="285030177")] pub reservation_resource: ::core::option::Option, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.Insert. See the method description for details. +/// A request message for ResourcePolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertResourcePolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="76826186")] pub resource_policy_resource: ::core::option::Option, } -/// A request message for Routes.Insert. See the method description for details. +/// A request message for Routes.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRouteRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="225428804")] pub route_resource: ::core::option::Option, } -/// A request message for Routers.Insert. See the method description for details. +/// A request message for Routers.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="155222084")] pub router_resource: ::core::option::Option, } -/// A request message for SecurityPolicies.Insert. See the method description for details. +/// A request message for SecurityPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="216159612")] pub security_policy_resource: ::core::option::Option, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for ServiceAttachments.Insert. See the method description for details. +/// A request message for ServiceAttachments.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="472980256")] pub service_attachment_resource: ::core::option::Option, } -/// A request message for Snapshots.Insert. See the method description for details. +/// A request message for Snapshots.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertSnapshotRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="481319977")] pub snapshot_resource: ::core::option::Option, } -/// A request message for SslCertificates.Insert. See the method description for details. +/// A request message for SslCertificates.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertSslCertificateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="180709897")] pub ssl_certificate_resource: ::core::option::Option, } -/// A request message for SslPolicies.Insert. See the method description for details. +/// A request message for SslPolicies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="274891848")] pub ssl_policy_resource: ::core::option::Option, } -/// A request message for Subnetworks.Insert. See the method description for details. +/// A request message for Subnetworks.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="42233151")] pub subnetwork_resource: ::core::option::Option, } -/// A request message for TargetGrpcProxies.Insert. See the method description for details. +/// A request message for TargetGrpcProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetGrpcProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="328922450")] pub target_grpc_proxy_resource: ::core::option::Option, } -/// A request message for TargetHttpProxies.Insert. See the method description for details. +/// A request message for TargetHttpProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="24696744")] pub target_http_proxy_resource: ::core::option::Option, } -/// A request message for TargetHttpsProxies.Insert. See the method description for details. +/// A request message for TargetHttpsProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="433657473")] pub target_https_proxy_resource: ::core::option::Option, } -/// A request message for TargetInstances.Insert. See the method description for details. +/// A request message for TargetInstances.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetInstanceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="430453066")] pub target_instance_resource: ::core::option::Option, - /// Name of the zone scoping this request. + /// Name of the zone scoping this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for TargetPools.Insert. See the method description for details. +/// A request message for TargetPools.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="101281443")] pub target_pool_resource: ::core::option::Option, } -/// A request message for TargetSslProxies.Insert. See the method description for details. +/// A request message for TargetSslProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="142016192")] pub target_ssl_proxy_resource: ::core::option::Option, } -/// A request message for TargetTcpProxies.Insert. See the method description for details. +/// A request message for TargetTcpProxies.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="145913931")] pub target_tcp_proxy_resource: ::core::option::Option, } -/// A request message for TargetVpnGateways.Insert. See the method description for details. +/// A request message for TargetVpnGateways.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertTargetVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="498050")] pub target_vpn_gateway_resource: ::core::option::Option, } -/// A request message for UrlMaps.Insert. See the method description for details. +/// A request message for UrlMaps.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// A request message for VpnGateways.Insert. See the method description for details. +/// A request message for VpnGateways.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="182688660")] pub vpn_gateway_resource: ::core::option::Option, } -/// A request message for VpnTunnels.Insert. See the method description for details. +/// A request message for VpnTunnels.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertVpnTunnelRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="86839482")] pub vpn_tunnel_resource: ::core::option::Option, } -/// Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances. +/// Represents an Instance resource. An instance is a virtual machine that is hosted on Google Cloud Platform. For more information, read Virtual Machine Instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Controls for advanced machine-related behavior features. + /// Controls for advanced machine-related behavior features. #[prost(message, optional, tag="409646002")] pub advanced_machine_features: ::core::option::Option, - /// Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding . + /// Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding . #[prost(bool, optional, tag="467731324")] pub can_ip_forward: ::core::option::Option, #[prost(message, optional, tag="490637685")] pub confidential_instance_config: ::core::option::Option, - /// [Output Only] The CPU platform used by this instance. + /// [Output Only] The CPU platform used by this instance. #[prost(string, optional, tag="410285354")] pub cpu_platform: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Whether the resource should be protected against deletion. + /// Whether the resource should be protected against deletion. #[prost(bool, optional, tag="458014698")] pub deletion_protection: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Array of disks associated with this instance. Persistent disks must be created before you can assign them. + /// Array of disks associated with this instance. Persistent disks must be created before you can assign them. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// Enables display device for the instance. + /// Enables display device for the instance. #[prost(message, optional, tag="258933875")] pub display_device: ::core::option::Option, - /// Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. + /// Specifies a fingerprint for this resource, which is essentially a hash of the instance's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update the instance. You must always provide an up-to-date fingerprint hash in order to update the instance. To see the latest fingerprint, make get() request to the instance. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// A list of the type and count of accelerator cards attached to the instance. + /// A list of the type and count of accelerator cards attached to the instance. #[prost(message, repeated, tag="463595119")] pub guest_accelerators: ::prost::alloc::vec::Vec, - /// Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is \[INSTANCE_NAME].c.[PROJECT_ID\].internal when using the global DNS, and \[INSTANCE_NAME].[ZONE].c.[PROJECT_ID\].internal when using zonal DNS. + /// Specifies the hostname of the instance. The specified hostname must be RFC1035 compliant. If hostname is not specified, the default hostname is \[INSTANCE_NAME].c.[PROJECT_ID\].internal when using the global DNS, and \[INSTANCE_NAME].[ZONE].c.[PROJECT_ID\].internal when using zonal DNS. #[prost(string, optional, tag="237067315")] pub hostname: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. - /// Check the KeyRevocationActionType enum for the list of possible values. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// Check the KeyRevocationActionType enum for the list of possible values. #[prost(string, optional, tag="235941474")] pub key_revocation_action_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#instance for instances. + /// [Output Only] Type of the resource. Always compute#instance for instances. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. + /// A fingerprint for this request, which is essentially a hash of the label's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. To see the latest fingerprint, make get() request to the instance. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to this instance. These can be later modified by the setLabels method. + /// Labels to apply to this instance. These can be later modified by the setLabels method. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// [Output Only] Last start timestamp in RFC3339 text format. + /// [Output Only] Last start timestamp in RFC3339 text format. #[prost(string, optional, tag="443830736")] pub last_start_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Last stop timestamp in RFC3339 text format. + /// [Output Only] Last stop timestamp in RFC3339 text format. #[prost(string, optional, tag="412823010")] pub last_stop_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Last suspended timestamp in RFC3339 text format. + /// [Output Only] Last suspended timestamp in RFC3339 text format. #[prost(string, optional, tag="356275337")] pub last_suspended_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. + /// Full or partial URL of the machine type resource to use for this instance, in the format: zones/zone/machineTypes/machine-type. This is provided by the client when the instance is created. For example, the following is a valid partial url to a predefined machine type: zones/us-central1-f/machineTypes/n1-standard-1 To create a custom machine type, provide a URL to a machine type in the following format, where CPUS is 1 or an even number up to 32 (2, 4, 6, ... 24, etc), and MEMORY is the total memory for this instance. Memory must be a multiple of 256 MB and must be supplied in MB (e.g. 5 GB of memory is 5120 MB): zones/zone/machineTypes/custom-CPUS-MEMORY For example: zones/us-central1-f/machineTypes/custom-4-5120 For a full list of restrictions, read the Specifications for custom machine types. #[prost(string, optional, tag="227711026")] pub machine_type: ::core::option::Option<::prost::alloc::string::String>, - /// The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. + /// The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys. #[prost(message, optional, tag="86866735")] pub metadata: ::core::option::Option, - /// Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". + /// Specifies a minimum CPU platform for the VM instance. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". #[prost(string, optional, tag="242912759")] pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. + /// An array of network configurations for this instance. These specify how interfaces are configured to interact with other network services, such as connecting to the internet. Multiple interfaces are supported per instance. #[prost(message, repeated, tag="52735243")] pub network_interfaces: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="398330850")] pub network_performance_config: ::core::option::Option, - /// Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. + /// Input only. [Input Only] Additional params passed with the request, but not persisted as part of resource payload. #[prost(message, optional, tag="78313862")] pub params: ::core::option::Option, - /// The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. - /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. + /// The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. + /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. #[prost(string, optional, tag="48277006")] pub private_ipv6_google_access: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the reservations that this instance can consume from. + /// Specifies the reservations that this instance can consume from. #[prost(message, optional, tag="157850683")] pub reservation_affinity: ::core::option::Option, - /// Resource policies applied to this instance. + /// Resource policies applied to this instance. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// Sets the scheduling options for this instance. + /// Sets the scheduling options for this instance. #[prost(message, optional, tag="386688404")] pub scheduling: ::core::option::Option, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. + /// A list of service accounts, with their specified scopes, authorized for this instance. Only one service account per VM instance is supported. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Service Accounts for more information. #[prost(message, repeated, tag="277537328")] pub service_accounts: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="12862901")] pub shielded_instance_config: ::core::option::Option, #[prost(message, optional, tag="163696919")] pub shielded_instance_integrity_policy: ::core::option::Option, - /// Source machine image + /// Source machine image #[prost(string, optional, tag="21769791")] pub source_machine_image: ::core::option::Option<::prost::alloc::string::String>, - /// Source machine image encryption key when creating an instance from a machine image. + /// Source machine image encryption key when creating an instance from a machine image. #[prost(message, optional, tag="192839075")] pub source_machine_image_encryption_key: ::core::option::Option, - /// [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. + /// [Output Only] Whether a VM has been restricted for start because Compute Engine has detected suspicious activity. #[prost(bool, optional, tag="123693144")] pub start_restricted: ::core::option::Option, - /// [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional, human-readable explanation of the status. + /// [Output Only] An optional, human-readable explanation of the status. #[prost(string, optional, tag="297428154")] pub status_message: ::core::option::Option<::prost::alloc::string::String>, - /// Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. + /// Tags to apply to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035. Multiple tags can be specified via the 'tags.items' field. #[prost(message, optional, tag="3552281")] pub tags: ::core::option::Option, - /// [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the zone where the instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Instance`. pub mod instance { - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeyRevocationActionType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedKeyRevocationActionType = 0, - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 467110106, - /// Indicates user chose no operation. + /// Indicates user chose no operation. None = 2402104, - /// Indicates user chose to opt for VM shutdown on key revocation. + /// Indicates user chose to opt for VM shutdown on key revocation. Stop = 2555906, } impl KeyRevocationActionType { @@ -11766,17 +11766,17 @@ pub mod instance { } } } - /// The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. + /// The private IPv6 google access type for the VM. If not specified, use INHERIT_FROM_SUBNETWORK as default. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrivateIpv6GoogleAccess { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPrivateIpv6GoogleAccess = 0, - /// Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. + /// Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. EnableBidirectionalAccessToGoogle = 427975994, - /// Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. + /// Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. EnableOutboundVmAccessToGoogle = 288210263, - /// Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork. + /// Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork. InheritFromSubnetwork = 530256959, } impl PrivateIpv6GoogleAccess { @@ -11793,31 +11793,31 @@ pub mod instance { } } } - /// [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. + /// [Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, SUSPENDING, SUSPENDED, REPAIRING, and TERMINATED. For more information about the status of the instance, see Instance life cycle. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. Deprovisioning = 428935662, - /// Resources are being allocated for the instance. + /// Resources are being allocated for the instance. Provisioning = 290896621, - /// The instance is in repair. + /// The instance is in repair. Repairing = 413483285, - /// The instance is running. + /// The instance is running. Running = 121282975, - /// All required resources have been allocated and the instance is being started. + /// All required resources have been allocated and the instance is being started. Staging = 431072283, - /// The instance has stopped successfully. + /// The instance has stopped successfully. Stopped = 444276141, - /// The instance is currently stopping (either being deleted or killed). + /// The instance is currently stopping (either being deleted or killed). Stopping = 350791796, - /// The instance has suspended. + /// The instance has suspended. Suspended = 51223995, - /// The instance is suspending. + /// The instance is suspending. Suspending = 514206246, - /// The instance has stopped (either by explicit action or underlying failure). + /// The instance has stopped (either by explicit action or underlying failure). Terminated = 250018339, } impl Status { @@ -11845,394 +11845,394 @@ pub mod instance { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// An object that contains a list of instances scoped by zone. + /// An object that contains a list of instances scoped by zone. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, InstancesScopedList>, - /// [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources. + /// [Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceConsumptionData { - /// Resources consumed by the instance. + /// Resources consumed by the instance. #[prost(message, optional, tag="146354898")] pub consumption_info: ::core::option::Option, - /// Server-defined URL for the instance. + /// Server-defined URL for the instance. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceConsumptionInfo { - /// The number of virtual CPUs that are available to the instance. + /// The number of virtual CPUs that are available to the instance. #[prost(int32, optional, tag="393356754")] pub guest_cpus: ::core::option::Option, - /// The amount of local SSD storage available to the instance, defined in GiB. + /// The amount of local SSD storage available to the instance, defined in GiB. #[prost(int32, optional, tag="329237578")] pub local_ssd_gb: ::core::option::Option, - /// The amount of physical memory available to the instance, defined in MiB. + /// The amount of physical memory available to the instance, defined in MiB. #[prost(int32, optional, tag="116001171")] pub memory_mb: ::core::option::Option, - /// The minimal guaranteed number of virtual CPUs that are reserved. + /// The minimal guaranteed number of virtual CPUs that are reserved. #[prost(int32, optional, tag="317231675")] pub min_node_cpus: ::core::option::Option, } -/// Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups. +/// Represents an Instance Group resource. Instance Groups can be used to configure a target for load balancing. Instance groups can either be managed or unmanaged. To create managed instance groups, use the instanceGroupManager or regionInstanceGroupManager resource instead. Use zonal unmanaged instance groups if you need to apply load balancing to groups of heterogeneous instances or if you need to manage the instances yourself. You cannot create regional unmanaged instance groups. For more information, read Instance groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroup { - /// [Output Only] The creation timestamp for this instance group in RFC3339 text format. + /// [Output Only] The creation timestamp for this instance group in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently. + /// [Output Only] The fingerprint of the named ports. The system uses this fingerprint to detect conflicts when multiple users change the named ports concurrently. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A unique identifier for this instance group, generated by the server. + /// [Output Only] A unique identifier for this instance group, generated by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The resource type, which is always compute#instanceGroup for instance groups. + /// [Output Only] The resource type, which is always compute#instanceGroup for instance groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. + /// The name of the instance group. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, /// Assigns a name to a port number. For example: {name: "http", port: 80} This allows the system to reference ports by the assigned name instead of a port number. Named ports can also contain multiple ports. For example: [{name: "app1", port: 8080}, {name: "app1", port: 8081}, {name: "app2", port: 8082}] Named ports apply to all instances in this instance group. #[prost(message, repeated, tag="427598732")] pub named_ports: ::prost::alloc::vec::Vec, - /// [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). + /// [Output Only] The URL of the network to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the region where the instance group is located (for regional resources). + /// [Output Only] The URL of the region where the instance group is located (for regional resources). #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL for this instance group. The server generates this URL. + /// [Output Only] The URL for this instance group. The server generates this URL. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The total number of instances in the instance group. + /// [Output Only] The total number of instances in the instance group. #[prost(int32, optional, tag="3530753")] pub size: ::core::option::Option, - /// [Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). + /// [Output Only] The URL of the subnetwork to which all instances in the instance group belong. If your instance has multiple network interfaces, then the network and subnetwork fields only refer to the network and subnet used by your primary interface (nic0). #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the zone where the instance group is located (for zonal resources). + /// [Output Only] The URL of the zone where the instance group is located (for zonal resources). #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroupsScopedList resources. + /// A list of InstanceGroupsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, InstanceGroupsScopedList>, - /// [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups. + /// [Output Only] The resource type, which is always compute#instanceGroupAggregatedList for aggregated lists of instance groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A list of InstanceGroup resources. +/// A list of InstanceGroup resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroup resources. + /// A list of InstanceGroup resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#instanceGroupList for instance group lists. + /// [Output Only] The resource type, which is always compute#instanceGroupList for instance group lists. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource. +/// Represents a Managed Instance Group resource. An instance group is a collection of VM instances that you can manage as a single entity. For more information, read Instance groups. For zonal Managed Instance Group, use the instanceGroupManagers resource. For regional Managed Instance Group, use the regionInstanceGroupManagers resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManager { - /// The autohealing policy for this managed instance group. You can specify only one value. + /// The autohealing policy for this managed instance group. You can specify only one value. #[prost(message, repeated, tag="456799109")] pub auto_healing_policies: ::prost::alloc::vec::Vec, - /// The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. + /// The base instance name to use for instances in this group. The value must be 1-58 characters long. Instances are named by appending a hyphen and a random four-character string to the base instance name. The base instance name must comply with RFC1035. #[prost(string, optional, tag="389106439")] pub base_instance_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. + /// [Output Only] The creation timestamp for this managed instance group in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. + /// [Output Only] The list of instance actions and the number of instances in this managed instance group that are scheduled for each of those actions. #[prost(message, optional, tag="164045879")] pub current_actions: ::core::option::Option, - /// An optional description of this resource. + /// An optional description of this resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. + /// Policy specifying the intended distribution of managed instances across zones in a regional managed instance group. #[prost(message, optional, tag="534558541")] pub distribution_policy: ::core::option::Option, - /// Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. + /// Fingerprint of this resource. This field may be used in optimistic locking. It will be ignored when inserting an InstanceGroupManager. An up-to-date fingerprint must be provided in order to update the InstanceGroupManager, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an InstanceGroupManager. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A unique identifier for this resource type. The server generates this identifier. + /// [Output Only] A unique identifier for this resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The URL of the Instance Group resource. + /// [Output Only] The URL of the Instance Group resource. #[prost(string, optional, tag="81095253")] pub instance_group: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. + /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. #[prost(string, optional, tag="309248228")] pub instance_template: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. + /// [Output Only] The resource type, which is always compute#instanceGroupManager for managed instance groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. + /// The name of the managed instance group. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Named ports configured for the Instance Groups complementary to this Instance Group Manager. + /// Named ports configured for the Instance Groups complementary to this Instance Group Manager. #[prost(message, repeated, tag="427598732")] pub named_ports: ::prost::alloc::vec::Vec, - /// [Output Only] The URL of the region where the managed instance group resides (for regional resources). + /// [Output Only] The URL of the region where the managed instance group resides (for regional resources). #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL for this managed instance group. The server defines this URL. + /// [Output Only] The URL for this managed instance group. The server defines this URL. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Stateful configuration for this Instanced Group Manager + /// Stateful configuration for this Instanced Group Manager #[prost(message, optional, tag="47538565")] pub stateful_policy: ::core::option::Option, - /// [Output Only] The status of this managed instance group. + /// [Output Only] The status of this managed instance group. #[prost(message, optional, tag="181260274")] pub status: ::core::option::Option, - /// The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. + /// The URLs for all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. #[prost(string, repeated, tag="336072617")] pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. + /// The target number of running instances for this managed instance group. You can reduce this number by using the instanceGroupManager deleteInstances or abandonInstances methods. Resizing the group also changes this number. #[prost(int32, optional, tag="62880239")] pub target_size: ::core::option::Option, - /// The update policy for this managed instance group. + /// The update policy for this managed instance group. #[prost(message, optional, tag="175809896")] pub update_policy: ::core::option::Option, - /// Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. + /// Specifies the instance templates used by this managed instance group to create instances. Each version is defined by an instanceTemplate and a name. Every version can appear at most once per instance group. This field overrides the top-level instanceTemplate field. Read more about the relationships between these fields. Exactly one version must leave the targetSize field unset. That version will be applied to all remaining instances. For more information, read about canary updates. #[prost(message, repeated, tag="162430619")] pub versions: ::prost::alloc::vec::Vec, - /// [Output Only] The URL of a zone where the managed instance group is located (for zonal resources). + /// [Output Only] The URL of a zone where the managed instance group is located (for zonal resources). #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerActionsSummary { - /// [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it. + /// [Output Only] The total number of instances in the managed instance group that are scheduled to be abandoned. Abandoning an instance removes it from the managed instance group without deleting it. #[prost(int32, optional, tag="440023373")] pub abandoning: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be created or are currently being created. If the group fails to create any of these instances, it tries again until it creates the instance successfully. If you have disabled creation retries, this field will not be populated; instead, the creatingWithoutRetries field will be populated. #[prost(int32, optional, tag="209809081")] pub creating: ::core::option::Option, - /// [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly. + /// [Output Only] The number of instances that the managed instance group will attempt to create. The group attempts to create each instance only once. If the group fails to create any of these instances, it decreases the group's targetSize value accordingly. #[prost(int32, optional, tag="369916745")] pub creating_without_retries: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be deleted or are currently being deleted. #[prost(int32, optional, tag="282846120")] pub deleting: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions. + /// [Output Only] The number of instances in the managed instance group that are running and have no scheduled actions. #[prost(int32, optional, tag="3387192")] pub none: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be recreated or are currently being being recreated. Recreating an instance deletes the existing root persistent disk and creates a new disk from the image that is defined in the instance template. #[prost(int32, optional, tag="339057132")] pub recreating: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance. + /// [Output Only] The number of instances in the managed instance group that are being reconfigured with properties that do not require a restart or a recreate action. For example, setting or removing target pools for the instance. #[prost(int32, optional, tag="215044903")] pub refreshing: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be restarted or are currently being restarted. #[prost(int32, optional, tag="372312947")] pub restarting: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be resumed or are currently being resumed. #[prost(int32, optional, tag="201100714")] pub resuming: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be started or are currently being started. #[prost(int32, optional, tag="243064896")] pub starting: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be stopped or are currently being stopped. #[prost(int32, optional, tag="105035892")] pub stopping: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended. + /// [Output Only] The number of instances in the managed instance group that are scheduled to be suspended or are currently being suspended. #[prost(int32, optional, tag="29113894")] pub suspending: ::core::option::Option, - /// [Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation. + /// [Output Only] The number of instances in the managed instance group that are being verified. See the managedInstances[].currentAction property in the listManagedInstances method documentation. #[prost(int32, optional, tag="451612873")] pub verifying: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroupManagersScopedList resources. + /// A list of InstanceGroupManagersScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, InstanceGroupManagersScopedList>, - /// [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups. + /// [Output Only] The resource type, which is always compute#instanceGroupManagerAggregatedList for an aggregated list of managed instance groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerAutoHealingPolicy { - /// The URL for the health check that signals autohealing. + /// The URL for the health check that signals autohealing. #[prost(string, optional, tag="308876645")] pub health_check: ::core::option::Option<::prost::alloc::string::String>, - /// The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600]. + /// The number of seconds that the managed instance group waits before it applies autohealing policies to new instances or recently recreated instances. This initial delay allows instances to initialize and run their startup scripts before the instance group determines that they are UNHEALTHY. This prevents the managed instance group from recreating its instances prematurely. This value must be from range [0, 3600]. #[prost(int32, optional, tag="263207002")] pub initial_delay_sec: ::core::option::Option, } -/// [Output Only] A list of managed instance groups. +/// [Output Only] A list of managed instance groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroupManager resources. + /// A list of InstanceGroupManager resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups. + /// [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerStatus { - /// [Output Only] The URL of the Autoscaler that targets this instance group manager. + /// [Output Only] The URL of the Autoscaler that targets this instance group manager. #[prost(string, optional, tag="517258967")] pub autoscaler: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified. + /// [Output Only] A bit indicating whether the managed instance group is in a stable state. A stable state means that: none of the instances in the managed instance group is currently undergoing any type of change (for example, creation, restart, or deletion); no future changes are scheduled for instances in the managed instance group; and the managed instance group itself is not being modified. #[prost(bool, optional, tag="108410864")] pub is_stable: ::core::option::Option, - /// [Output Only] Stateful status of the given Instance Group Manager. + /// [Output Only] Stateful status of the given Instance Group Manager. #[prost(message, optional, tag="244462412")] pub stateful: ::core::option::Option, - /// [Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager. + /// [Output Only] A status of consistency of Instances' versions with their target version specified by version field on Instance Group Manager. #[prost(message, optional, tag="289386200")] pub version_target: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerStatusStateful { - /// [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. + /// [Output Only] A bit indicating whether the managed instance group has stateful configuration, that is, if you have configured any items in a stateful policy or in per-instance configs. The group might report that it has no stateful configuration even when there is still some preserved state on a managed instance, for example, if you have deleted all PICs but not yet applied those deletions. #[prost(bool, optional, tag="110474224")] pub has_stateful_config: ::core::option::Option, - /// [Output Only] Status of per-instance configurations on the instance. + /// [Output Only] Status of per-instance configurations on the instance. #[prost(message, optional, tag="526265001")] pub per_instance_configs: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerStatusStatefulPerInstanceConfigs { - /// A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs. + /// A bit indicating if all of the group's per-instance configurations (listed in the output of a listPerInstanceConfigs API call) have status EFFECTIVE or there are no per-instance-configs. #[prost(bool, optional, tag="516540553")] pub all_effective: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerStatusVersionTarget { - /// [Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. + /// [Output Only] A bit indicating whether version target has been reached in this managed instance group, i.e. all instances are in their target version. Instances' target version are specified by version field on Instance Group Manager. #[prost(bool, optional, tag="433209149")] pub is_reached: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerUpdatePolicy { - /// The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. - /// Check the InstanceRedistributionType enum for the list of possible values. + /// The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. + /// Check the InstanceRedistributionType enum for the list of possible values. #[prost(string, optional, tag="292630424")] pub instance_redistribution_type: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge. + /// The maximum number of instances that can be created above the specified targetSize during the update process. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxSurge is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxSurge. #[prost(message, optional, tag="302572691")] pub max_surge: ::core::option::Option, - /// The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable. + /// The maximum number of instances that can be unavailable during the update process. An instance is considered available if all of the following conditions are satisfied: - The instance's status is RUNNING. - If there is a health check on the instance group, the instance's health check status must be HEALTHY at least once. If there is no health check on the group, then the instance only needs to have a status of RUNNING to be considered available. This value can be either a fixed number or, if the group has 10 or more instances, a percentage. If you set a percentage, the number of instances is rounded if necessary. The default value for maxUnavailable is a fixed value equal to the number of zones in which the managed instance group operates. At least one of either maxSurge or maxUnavailable must be greater than 0. Learn more about maxUnavailable. #[prost(message, optional, tag="404940277")] pub max_unavailable: ::core::option::Option, - /// Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. - /// Check the MinimalAction enum for the list of possible values. + /// Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. + /// Check the MinimalAction enum for the list of possible values. #[prost(string, optional, tag="270567060")] pub minimal_action: ::core::option::Option<::prost::alloc::string::String>, - /// Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. - /// Check the MostDisruptiveAllowedAction enum for the list of possible values. + /// Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + /// Check the MostDisruptiveAllowedAction enum for the list of possible values. #[prost(string, optional, tag="66103053")] pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>, - /// What action should be used to replace instances. See minimal_action.REPLACE - /// Check the ReplacementMethod enum for the list of possible values. + /// What action should be used to replace instances. See minimal_action.REPLACE + /// Check the ReplacementMethod enum for the list of possible values. #[prost(string, optional, tag="505931694")] pub replacement_method: ::core::option::Option<::prost::alloc::string::String>, - /// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). - /// Check the Type enum for the list of possible values. + /// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InstanceGroupManagerUpdatePolicy`. pub mod instance_group_manager_update_policy { - /// The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// PROACTIVE + /// The instance redistribution policy for regional managed instance groups. Valid values are: - PROACTIVE (default): The group attempts to maintain an even distribution of VM instances across zones in the region. - NONE: For non-autoscaled groups, proactive redistribution is disabled. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// PROACTIVE #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstanceRedistributionType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstanceRedistributionType = 0, } impl InstanceRedistributionType { @@ -12246,16 +12246,16 @@ pub mod instance_group_manager_update_policy { } } } - /// Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// Minimal action to be taken on an instance. Use this option to minimize disruption as much as possible or to apply a more disruptive action than is necessary. - To limit disruption as much as possible, set the minimal action to REFRESH. If your update requires a more disruptive action, Compute Engine performs the necessary action to execute the update. - To apply a more disruptive action than is strictly necessary, set the minimal action to RESTART or REPLACE. For example, Compute Engine does not need to restart a VM to change its metadata. But if your application reads instance metadata only when a VM is restarted, you can set the minimal action to RESTART in order to pick up metadata changes. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinimalAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMinimalAction = 0, } impl MinimalAction { @@ -12269,16 +12269,16 @@ pub mod instance_group_manager_update_policy { } } } - /// Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// Most disruptive action that is allowed to be taken on an instance. You can specify either NONE to forbid any actions, REFRESH to allow actions that do not need instance restart, RESTART to allow actions that can be applied without instance replacing or REPLACE to allow all possible actions. If the Updater determines that the minimal update action needed is more disruptive than most disruptive allowed action you specify it will not perform the update at all. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MostDisruptiveAllowedAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMostDisruptiveAllowedAction = 0, } impl MostDisruptiveAllowedAction { @@ -12292,15 +12292,15 @@ pub mod instance_group_manager_update_policy { } } } - /// What action should be used to replace instances. See minimal_action.REPLACE + /// What action should be used to replace instances. See minimal_action.REPLACE #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ReplacementMethod { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedReplacementMethod = 0, - /// Instances will be recreated (with the same name) + /// Instances will be recreated (with the same name) Recreate = 522644719, - /// Default option: instances will be deleted and created (with a new name) + /// Default option: instances will be deleted and created (with a new name) Substitute = 280924314, } impl ReplacementMethod { @@ -12316,15 +12316,15 @@ pub mod instance_group_manager_update_policy { } } } - /// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// PROACTIVE + /// The type of update process. You can specify either PROACTIVE so that the instance group manager proactively executes actions in order to bring instances to their target versions or OPPORTUNISTIC so that no action is proactively executed but the update will be performed as part of other actions (for example, resizes or recreateInstances calls). + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// PROACTIVE #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field). + /// No action is being proactively performed in order to bring this IGM to its target version distribution (regardless of whether this distribution is expressed using instanceTemplate or versions field). Opportunistic = 429530089, } impl Type { @@ -12343,53 +12343,53 @@ pub mod instance_group_manager_update_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagerVersion { - /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. + /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create new instances in the managed instance group until the `targetSize` for this version is reached. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE; in those cases, existing instances are updated until the `targetSize` for this version is reached. #[prost(string, optional, tag="309248228")] pub instance_template: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the version. Unique among all versions in the scope of this managed instance group. + /// Name of the version. Unique among all versions in the scope of this managed instance group. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information. + /// Specifies the intended number of instances to be created from the instanceTemplate. The final number of instances created from the template will be equal to: - If expressed as a fixed number, the minimum of either targetSize.fixed or instanceGroupManager.targetSize is used. - if expressed as a percent, the targetSize would be (targetSize.percent/100 * InstanceGroupManager.targetSize) If there is a remainder, the number is rounded. If unset, this version will update any remaining instances not updated by another version. Read Starting a canary update for more information. #[prost(message, optional, tag="62880239")] pub target_size: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersAbandonInstancesRequest { - /// The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// InstanceGroupManagers.applyUpdatesToInstances +/// InstanceGroupManagers.applyUpdatesToInstances #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersApplyUpdatesRequest { - /// Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. + /// Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. #[prost(bool, optional, tag="403676512")] pub all_instances: ::core::option::Option, - /// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. - /// Check the MinimalAction enum for the list of possible values. + /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + /// Check the MinimalAction enum for the list of possible values. #[prost(string, optional, tag="270567060")] pub minimal_action: ::core::option::Option<::prost::alloc::string::String>, - /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. - /// Check the MostDisruptiveAllowedAction enum for the list of possible values. + /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + /// Check the MostDisruptiveAllowedAction enum for the list of possible values. #[prost(string, optional, tag="66103053")] pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InstanceGroupManagersApplyUpdatesRequest`. pub mod instance_group_managers_apply_updates_request { - /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinimalAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMinimalAction = 0, } impl MinimalAction { @@ -12403,16 +12403,16 @@ pub mod instance_group_managers_apply_updates_request { } } } - /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MostDisruptiveAllowedAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMostDisruptiveAllowedAction = 0, } impl MostDisruptiveAllowedAction { @@ -12427,159 +12427,159 @@ pub mod instance_group_managers_apply_updates_request { } } } -/// InstanceGroupManagers.createInstances +/// InstanceGroupManagers.createInstances #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersCreateInstancesRequest { - /// \[Required\] List of specifications of per-instance configs. + /// \[Required\] List of specifications of per-instance configs. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersDeleteInstancesRequest { - /// The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. + /// Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. #[prost(bool, optional, tag="40631073")] pub skip_instances_on_validation_error: ::core::option::Option, } -/// InstanceGroupManagers.deletePerInstanceConfigs +/// InstanceGroupManagers.deletePerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersDeletePerInstanceConfigsReq { - /// The list of instance names for which we want to delete per-instance configs on this managed instance group. + /// The list of instance names for which we want to delete per-instance configs on this managed instance group. #[prost(string, repeated, tag="104585032")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersListErrorsResponse { - /// [Output Only] The list of errors of the managed instance group. + /// [Output Only] The list of errors of the managed instance group. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersListManagedInstancesResponse { - /// [Output Only] The list of instances in the managed instance group. + /// [Output Only] The list of instances in the managed instance group. #[prost(message, repeated, tag="336219614")] pub managed_instances: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersListPerInstanceConfigsResp { - /// [Output Only] The list of PerInstanceConfig. + /// [Output Only] The list of PerInstanceConfig. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// InstanceGroupManagers.patchPerInstanceConfigs +/// InstanceGroupManagers.patchPerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersPatchPerInstanceConfigsReq { - /// The list of per-instance configurations to insert or patch on this managed instance group. + /// The list of per-instance configurations to insert or patch on this managed instance group. #[prost(message, repeated, tag="526265001")] pub per_instance_configs: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersRecreateInstancesRequest { - /// The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersScopedList { - /// [Output Only] The list of managed instance groups that are contained in the specified project and zone. + /// [Output Only] The list of managed instance groups that are contained in the specified project and zone. #[prost(message, repeated, tag="214072592")] pub instance_group_managers: ::prost::alloc::vec::Vec, - /// [Output Only] The warning that replaces the list of managed instance groups when the list is empty. + /// [Output Only] The warning that replaces the list of managed instance groups when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersSetInstanceTemplateRequest { - /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. + /// The URL of the instance template that is specified for this managed instance group. The group uses this template to create all new instances in the managed instance group. The templates for existing instances in the group do not change unless you run recreateInstances, run applyUpdatesToInstances, or set the group's updatePolicy.type to PROACTIVE. #[prost(string, optional, tag="309248228")] pub instance_template: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersSetTargetPoolsRequest { - /// The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. + /// The fingerprint of the target pools information. Use this optional property to prevent conflicts when multiple users change the target pools settings concurrently. Obtain the fingerprint with the instanceGroupManagers.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings. + /// The list of target pool URLs that instances in this managed instance group belong to. The managed instance group applies these target pools to all of the instances in the group. Existing instances and new instances in the group all receive these target pool settings. #[prost(string, repeated, tag="336072617")] pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// InstanceGroupManagers.updatePerInstanceConfigs +/// InstanceGroupManagers.updatePerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupManagersUpdatePerInstanceConfigsReq { - /// The list of per-instance configurations to insert or patch on this managed instance group. + /// The list of per-instance configurations to insert or patch on this managed instance group. #[prost(message, repeated, tag="526265001")] pub per_instance_configs: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsAddInstancesRequest { - /// The list of instances to add to the instance group. + /// The list of instances to add to the instance group. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsListInstances { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceWithNamedPorts resources. + /// A list of InstanceWithNamedPorts resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group. + /// [Output Only] The resource type, which is always compute#instanceGroupsListInstances for the list of instances in the specified instance group. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsListInstancesRequest { - /// A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state. - /// Check the InstanceState enum for the list of possible values. + /// A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state. + /// Check the InstanceState enum for the list of possible values. #[prost(string, optional, tag="92223591")] pub instance_state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InstanceGroupsListInstancesRequest`. pub mod instance_groups_list_instances_request { - /// A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state. + /// A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstanceState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstanceState = 0, - /// Includes all instances in the generated list regardless of their state. + /// Includes all instances in the generated list regardless of their state. All = 64897, - /// Includes instances in the generated list only if they have a RUNNING state. + /// Includes instances in the generated list only if they have a RUNNING state. Running = 121282975, } impl InstanceState { @@ -12599,134 +12599,134 @@ pub mod instance_groups_list_instances_request { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsRemoveInstancesRequest { - /// The list of instances to remove from the instance group. + /// The list of instances to remove from the instance group. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsScopedList { - /// [Output Only] The list of instance groups that are contained in this scope. + /// [Output Only] The list of instance groups that are contained in this scope. #[prost(message, repeated, tag="366469310")] pub instance_groups: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that replaces the list of instance groups when the list is empty. + /// [Output Only] An informational warning that replaces the list of instance groups when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupsSetNamedPortsRequest { - /// The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet. + /// The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. A request with an incorrect fingerprint will fail with error 412 conditionNotMet. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The list of named ports to set for this instance group. + /// The list of named ports to set for this instance group. #[prost(message, repeated, tag="427598732")] pub named_ports: ::prost::alloc::vec::Vec, } -/// Contains a list of instances. +/// Contains a list of instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Instance resources. + /// A list of Instance resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. + /// [Output Only] Type of resource. Always compute#instanceList for lists of Instance resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of instance referrers. +/// Contains a list of instance referrers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceListReferrers { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Reference resources. + /// A list of Reference resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance referrers. + /// [Output Only] Type of resource. Always compute#instanceListReferrers for lists of Instance referrers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceManagedByIgmError { - /// [Output Only] Contents of the error. + /// [Output Only] Contents of the error. #[prost(message, optional, tag="96784904")] pub error: ::core::option::Option, - /// [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional. + /// [Output Only] Details of the instance action that triggered this error. May be null, if the error was not caused by an action on an instance. This field is optional. #[prost(message, optional, tag="292224547")] pub instance_action_details: ::core::option::Option, - /// [Output Only] The time that this error occurred. This value is in RFC3339 text format. + /// [Output Only] The time that this error occurred. This value is in RFC3339 text format. #[prost(string, optional, tag="55126294")] pub timestamp: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceManagedByIgmErrorInstanceActionDetails { - /// [Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: - /// Check the Action enum for the list of possible values. + /// [Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: + /// Check the Action enum for the list of possible values. #[prost(string, optional, tag="187661878")] pub action: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created. + /// [Output Only] The URL of the instance. The URL can be set even if the instance has not yet been created. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created. + /// [Output Only] Version this instance was created from, or was being created from, but the creation failed. Corresponds to one of the versions that were set on the Instance Group Manager resource at the time this instance was being created. #[prost(message, optional, tag="351608024")] pub version: ::core::option::Option, } /// Nested message and enum types in `InstanceManagedByIgmErrorInstanceActionDetails`. pub mod instance_managed_by_igm_error_instance_action_details { - /// [Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: + /// [Output Only] Action that managed instance group was executing on the instance when the error occurred. Possible values: #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAction = 0, - /// The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. + /// The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. Abandoning = 388244813, - /// The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. + /// The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. Creating = 455564985, - /// The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased. + /// The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased. CreatingWithoutRetries = 428843785, - /// The managed instance group is permanently deleting this instance. + /// The managed instance group is permanently deleting this instance. Deleting = 528602024, - /// The managed instance group has not scheduled any actions for this instance. + /// The managed instance group has not scheduled any actions for this instance. None = 2402104, - /// The managed instance group is recreating this instance. + /// The managed instance group is recreating this instance. Recreating = 287278572, - /// The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. + /// The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. Refreshing = 163266343, - /// The managed instance group is restarting this instance. + /// The managed instance group is restarting this instance. Restarting = 320534387, - /// The managed instance group is resuming this instance. + /// The managed instance group is resuming this instance. Resuming = 446856618, - /// The managed instance group is starting this instance. + /// The managed instance group is starting this instance. Starting = 488820800, - /// The managed instance group is stopping this instance. + /// The managed instance group is stopping this instance. Stopping = 350791796, - /// The managed instance group is suspending this instance. + /// The managed instance group is suspending this instance. Suspending = 514206246, - /// The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions). + /// The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions). Verifying = 16982185, } impl Action { @@ -12757,112 +12757,112 @@ pub mod instance_managed_by_igm_error_instance_action_details { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceManagedByIgmErrorManagedInstanceError { - /// [Output Only] Error code. + /// [Output Only] Error code. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Error message. + /// [Output Only] Error message. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceMoveRequest { - /// The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - - projects/project/zones/zone - zones/zone + /// The URL of the destination zone to move the instance. This can be a full or partial URL. For example, the following are all valid URLs to a zone: - - projects/project/zones/zone - zones/zone #[prost(string, optional, tag="131854653")] pub destination_zone: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance + /// The URL of the target instance to move. This can be a full or partial URL. For example, the following are all valid URLs to an instance: - /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance #[prost(string, optional, tag="289769347")] pub target_instance: ::core::option::Option<::prost::alloc::string::String>, } -/// Additional instance params. +/// Additional instance params. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceParams { - /// Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. + /// Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. #[prost(map="string, string", tag="377671164")] pub resource_manager_tags: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceProperties { - /// Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. + /// Controls for advanced machine-related behavior features. Note that for MachineImage, this is not supported yet. #[prost(message, optional, tag="409646002")] pub advanced_machine_features: ::core::option::Option, - /// Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. + /// Enables instances created based on these properties to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. #[prost(bool, optional, tag="467731324")] pub can_ip_forward: ::core::option::Option, - /// Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet. + /// Specifies the Confidential Instance options. Note that for MachineImage, this is not supported yet. #[prost(message, optional, tag="490637685")] pub confidential_instance_config: ::core::option::Option, - /// An optional text description for the instances that are created from these properties. + /// An optional text description for the instances that are created from these properties. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// An array of disks that are associated with the instances that are created from these properties. + /// An array of disks that are associated with the instances that are created from these properties. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// A list of guest accelerator cards' type and count to use for instances created from these properties. + /// A list of guest accelerator cards' type and count to use for instances created from these properties. #[prost(message, repeated, tag="463595119")] pub guest_accelerators: ::prost::alloc::vec::Vec, - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. - /// Check the KeyRevocationActionType enum for the list of possible values. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// Check the KeyRevocationActionType enum for the list of possible values. #[prost(string, optional, tag="235941474")] pub key_revocation_action_type: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to instances that are created from these properties. + /// Labels to apply to instances that are created from these properties. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The machine type to use for instances that are created from these properties. + /// The machine type to use for instances that are created from these properties. #[prost(string, optional, tag="227711026")] pub machine_type: ::core::option::Option<::prost::alloc::string::String>, - /// The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. + /// The metadata key/value pairs to assign to instances that are created from these properties. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. #[prost(message, optional, tag="86866735")] pub metadata: ::core::option::Option, - /// Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. + /// Minimum cpu/platform to be used by instances. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. #[prost(string, optional, tag="242912759")] pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>, - /// An array of network access configurations for this interface. + /// An array of network access configurations for this interface. #[prost(message, repeated, tag="52735243")] pub network_interfaces: ::prost::alloc::vec::Vec, - /// Note that for MachineImage, this is not supported yet. + /// Note that for MachineImage, this is not supported yet. #[prost(message, optional, tag="398330850")] pub network_performance_config: ::core::option::Option, - /// The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. - /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. + /// The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. + /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. #[prost(string, optional, tag="48277006")] pub private_ipv6_google_access: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet. + /// Specifies the reservations that instances can consume from. Note that for MachineImage, this is not supported yet. #[prost(message, optional, tag="157850683")] pub reservation_affinity: ::core::option::Option, - /// Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. + /// Resource manager tags to be bound to the instance. Tag keys and values have the same definition as resource manager tags. Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`. The field is ignored (both PUT & PATCH) when empty. #[prost(map="string, string", tag="377671164")] pub resource_manager_tags: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. + /// Resource policies (names, not URLs) applied to instances created from these properties. Note that for MachineImage, this is not supported yet. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies the scheduling options for the instances that are created from these properties. + /// Specifies the scheduling options for the instances that are created from these properties. #[prost(message, optional, tag="386688404")] pub scheduling: ::core::option::Option, - /// A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. + /// A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from these properties. Use metadata queries to obtain the access tokens for these instances. #[prost(message, repeated, tag="277537328")] pub service_accounts: ::prost::alloc::vec::Vec, - /// Note that for MachineImage, this is not supported yet. + /// Note that for MachineImage, this is not supported yet. #[prost(message, optional, tag="12862901")] pub shielded_instance_config: ::core::option::Option, - /// A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. + /// A list of tags to apply to the instances that are created from these properties. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. #[prost(message, optional, tag="3552281")] pub tags: ::core::option::Option, } /// Nested message and enum types in `InstanceProperties`. pub mod instance_properties { - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeyRevocationActionType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedKeyRevocationActionType = 0, - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 467110106, - /// Indicates user chose no operation. + /// Indicates user chose no operation. None = 2402104, - /// Indicates user chose to opt for VM shutdown on key revocation. + /// Indicates user chose to opt for VM shutdown on key revocation. Stop = 2555906, } impl KeyRevocationActionType { @@ -12879,17 +12879,17 @@ pub mod instance_properties { } } } - /// The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. + /// The private IPv6 google access type for VMs. If not specified, use INHERIT_FROM_SUBNETWORK as default. Note that for MachineImage, this is not supported yet. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrivateIpv6GoogleAccess { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPrivateIpv6GoogleAccess = 0, - /// Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. + /// Bidirectional private IPv6 access to/from Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. EnableBidirectionalAccessToGoogle = 427975994, - /// Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. + /// Outbound private IPv6 access from VMs in this subnet to Google services. If specified, the subnetwork who is attached to the instance's default network interface will be assigned an internal IPv6 prefix if it doesn't have before. EnableOutboundVmAccessToGoogle = 288210263, - /// Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork. + /// Each network interface inherits PrivateIpv6GoogleAccess from its subnetwork. InheritFromSubnetwork = 530256959, } impl PrivateIpv6GoogleAccess { @@ -12910,104 +12910,104 @@ pub mod instance_properties { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceReference { - /// The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances + /// The URL for a specific instance. @required compute.instancegroups.addInstances/removeInstances #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates. +/// Represents an Instance Template resource. You can use instance templates to create VM instances and managed instance groups. For more information, read Instance Templates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceTemplate { - /// [Output Only] The creation timestamp for this instance template in RFC3339 text format. + /// [Output Only] The creation timestamp for this instance template in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A unique identifier for this instance template. The server defines this identifier. + /// [Output Only] A unique identifier for this instance template. The server defines this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The resource type, which is always compute#instanceTemplate for instance templates. + /// [Output Only] The resource type, which is always compute#instanceTemplate for instance templates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The instance properties for this instance template. + /// The instance properties for this instance template. #[prost(message, optional, tag="147688755")] pub properties: ::core::option::Option, - /// [Output Only] The URL for this instance template. The server defines this URL. + /// [Output Only] The URL for this instance template. The server defines this URL. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /instances/instance - projects/project/zones/zone/instances/instance + /// The source instance used to create the template. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /instances/instance - projects/project/zones/zone/instances/instance #[prost(string, optional, tag="396315705")] pub source_instance: ::core::option::Option<::prost::alloc::string::String>, - /// The source instance params to use to create this instance template. + /// The source instance params to use to create this instance template. #[prost(message, optional, tag="135342156")] pub source_instance_params: ::core::option::Option, } -/// A list of instance templates. +/// A list of instance templates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceTemplateList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceTemplate resources. + /// A list of InstanceTemplate resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists. + /// [Output Only] The resource type, which is always compute#instanceTemplatesListResponse for instance template lists. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceWithNamedPorts { - /// [Output Only] The URL of the instance. + /// [Output Only] The URL of the instance. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The named ports that belong to this instance group. + /// [Output Only] The named ports that belong to this instance group. #[prost(message, repeated, tag="427598732")] pub named_ports: ::prost::alloc::vec::Vec, - /// [Output Only] The status of the instance. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the instance. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InstanceWithNamedPorts`. pub mod instance_with_named_ports { - /// [Output Only] The status of the instance. + /// [Output Only] The status of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. Deprovisioning = 428935662, - /// Resources are being allocated for the instance. + /// Resources are being allocated for the instance. Provisioning = 290896621, - /// The instance is in repair. + /// The instance is in repair. Repairing = 413483285, - /// The instance is running. + /// The instance is running. Running = 121282975, - /// All required resources have been allocated and the instance is being started. + /// All required resources have been allocated and the instance is being started. Staging = 431072283, - /// The instance has stopped successfully. + /// The instance has stopped successfully. Stopped = 444276141, - /// The instance is currently stopping (either being deleted or killed). + /// The instance is currently stopping (either being deleted or killed). Stopping = 350791796, - /// The instance has suspended. + /// The instance has suspended. Suspended = 51223995, - /// The instance is suspending. + /// The instance is suspending. Suspending = 514206246, - /// The instance has stopped (either by explicit action or underlying failure). + /// The instance has stopped (either by explicit action or underlying failure). Terminated = 250018339, } impl Status { @@ -13035,47 +13035,47 @@ pub mod instance_with_named_ports { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesAddResourcePoliciesRequest { - /// Resource policies to be added to this instance. + /// Resource policies to be added to this instance. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesGetEffectiveFirewallsResponse { - /// Effective firewalls from firewall policies. + /// Effective firewalls from firewall policies. #[prost(message, repeated, tag="410985794")] pub firewall_policys: ::prost::alloc::vec::Vec, - /// Effective firewalls on the instance. + /// Effective firewalls on the instance. #[prost(message, repeated, tag="272245619")] pub firewalls: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. + /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. #[prost(string, optional, tag="4473832")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the firewall policy. + /// [Output Only] The name of the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The rules that apply to the network. + /// The rules that apply to the network. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// [Output Only] The short name of the firewall policy. + /// [Output Only] The short name of the firewall policy. #[prost(string, optional, tag="492051566")] pub short_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. - /// Check the Type enum for the list of possible values. + /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InstancesGetEffectiveFirewallsResponseEffectiveFirewallPolicy`. pub mod instances_get_effective_firewalls_response_effective_firewall_policy { - /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Hierarchy = 69902869, Network = 413984270, @@ -13101,24 +13101,24 @@ pub mod instances_get_effective_firewalls_response_effective_firewall_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesRemoveResourcePoliciesRequest { - /// Resource policies to be removed from this instance. + /// Resource policies to be removed from this instance. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesScopedList { - /// [Output Only] A list of instances contained in this scope. + /// [Output Only] A list of instances contained in this scope. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of instances when the list is empty. + /// [Output Only] Informational warning which replaces the list of instances when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesSetLabelsRequest { - /// Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels. + /// Fingerprint of the previous set of labels for this resource, used to prevent conflicts. Provide the latest fingerprint value when making a request to add or change labels. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, #[prost(map="string, string", tag="500195327")] @@ -13127,141 +13127,141 @@ pub struct InstancesSetLabelsRequest { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesSetMachineResourcesRequest { - /// A list of the type and count of accelerator cards attached to the instance. + /// A list of the type and count of accelerator cards attached to the instance. #[prost(message, repeated, tag="463595119")] pub guest_accelerators: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesSetMachineTypeRequest { - /// Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 + /// Full or partial URL of the machine type resource. See Machine Types for a full list of machine types. For example: zones/us-central1-f/machineTypes/n1-standard-1 #[prost(string, optional, tag="227711026")] pub machine_type: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesSetMinCpuPlatformRequest { - /// Minimum cpu/platform this instance should be started at. + /// Minimum cpu/platform this instance should be started at. #[prost(string, optional, tag="242912759")] pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesSetServiceAccountRequest { - /// Email address of the service account. + /// Email address of the service account. #[prost(string, optional, tag="96619420")] pub email: ::core::option::Option<::prost::alloc::string::String>, - /// The list of scopes to be made available for this service account. + /// The list of scopes to be made available for this service account. #[prost(string, repeated, tag="165973151")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstancesStartWithEncryptionKeyRequest { - /// Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified. + /// Array of disks associated with this instance that are protected with a customer-supplied encryption key. In order to start the instance, the disk url and its corresponding key must be provided. If the disk is not protected with a customer-supplied encryption key it should not be specified. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, } -/// HttpRouteRuleMatch criteria for field values that must stay within the specified integer range. +/// HttpRouteRuleMatch criteria for field values that must stay within the specified integer range. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Int64RangeMatch { - /// The end of the range (exclusive) in signed long integer format. + /// The end of the range (exclusive) in signed long integer format. #[prost(int64, optional, tag="322439897")] pub range_end: ::core::option::Option, - /// The start of the range (inclusive) in signed long integer format. + /// The start of the range (inclusive) in signed long integer format. #[prost(int64, optional, tag="103333600")] pub range_start: ::core::option::Option, } -/// Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview. +/// Represents an Interconnect resource. An Interconnect resource is a dedicated connection between the GCP network and your on-premises network. For more information, read the Dedicated Interconnect Overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Interconnect { - /// Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. + /// Administrative status of the interconnect. When this is set to true, the Interconnect is functional and can carry traffic. When set to false, no packets can be carried over the interconnect and no BGP routes are exchanged over it. By default, the status is set to true. #[prost(bool, optional, tag="445675089")] pub admin_enabled: ::core::option::Option, - /// [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. + /// [Output Only] A list of CircuitInfo objects, that describe the individual circuits in this LAG. #[prost(message, repeated, tag="164839855")] pub circuit_infos: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. + /// Customer name, to put in the Letter of Authorization as the party authorized to request a crossconnect. #[prost(string, optional, tag="3665484")] pub customer_name: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of outages expected for this Interconnect. + /// [Output Only] A list of outages expected for this Interconnect. #[prost(message, repeated, tag="264484123")] pub expected_outages: ::prost::alloc::vec::Vec, - /// [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests. + /// [Output Only] IP address configured on the Google side of the Interconnect link. This can be used only for ping tests. #[prost(string, optional, tag="443105954")] pub google_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. + /// [Output Only] Google reference ID to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. #[prost(string, optional, tag="534944469")] pub google_reference_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect. + /// [Output Only] A list of the URLs of all InterconnectAttachments configured to use this Interconnect. #[prost(string, repeated, tag="425388415")] pub interconnect_attachments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. - /// Check the InterconnectType enum for the list of possible values. + /// Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. + /// Check the InterconnectType enum for the list of possible values. #[prost(string, optional, tag="515165259")] pub interconnect_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#interconnect for interconnects. + /// [Output Only] Type of the resource. Always compute#interconnect for interconnects. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. - /// Check the LinkType enum for the list of possible values. + /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. + /// Check the LinkType enum for the list of possible values. #[prost(string, optional, tag="523207775")] pub link_type: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the InterconnectLocation object that represents where this connection is to be provisioned. + /// URL of the InterconnectLocation object that represents where this connection is to be provisioned. #[prost(string, optional, tag="290430901")] pub location: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications. + /// Email address to contact the customer NOC for operations and maintenance notifications regarding this Interconnect. If specified, this will be used for notifications in addition to all other forms described, such as Stackdriver logs alerting and Cloud Notifications. #[prost(string, optional, tag="14072832")] pub noc_contact_email: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. - /// Check the OperationalStatus enum for the list of possible values. + /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. + /// Check the OperationalStatus enum for the list of possible values. #[prost(string, optional, tag="201070847")] pub operational_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests. + /// [Output Only] IP address configured on the customer side of the Interconnect link. The customer should configure this IP address during turnup when prompted by Google NOC. This can be used only for ping tests. #[prost(string, optional, tag="207735769")] pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Number of links actually provisioned in this interconnect. + /// [Output Only] Number of links actually provisioned in this interconnect. #[prost(int32, optional, tag="410888565")] pub provisioned_link_count: ::core::option::Option, - /// Target number of physical links in the link bundle, as requested by the customer. + /// Target number of physical links in the link bundle, as requested by the customer. #[prost(int32, optional, tag="45051387")] pub requested_link_count: ::core::option::Option, - /// [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. + /// [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. - /// Check the State enum for the list of possible values. + /// [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Interconnect`. pub mod interconnect { - /// Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. + /// Type of interconnect, which can take one of the following values: - PARTNER: A partner-managed interconnection shared between customers though a partner. - DEDICATED: A dedicated physical interconnection with the customer. Note that a value IT_PRIVATE has been deprecated in favor of DEDICATED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InterconnectType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInterconnectType = 0, - /// A dedicated physical interconnection with the customer. + /// A dedicated physical interconnection with the customer. Dedicated = 258411983, - /// \[Deprecated\] A private, physical interconnection with the customer. + /// \[Deprecated\] A private, physical interconnection with the customer. ItPrivate = 335677007, - /// A partner-managed interconnection shared between customers via partner. + /// A partner-managed interconnection shared between customers via partner. Partner = 461924520, } impl InterconnectType { @@ -13278,15 +13278,15 @@ pub mod interconnect { } } } - /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. + /// Type of link requested, which can take one of the following values: - LINK_TYPE_ETHERNET_10G_LR: A 10G Ethernet with LR optics - LINK_TYPE_ETHERNET_100G_LR: A 100G Ethernet with LR optics. Note that this field indicates the speed of each of the links in the bundle, not the speed of the entire bundle. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LinkType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLinkType = 0, - /// 100G Ethernet, LR Optics. + /// 100G Ethernet, LR Optics. Ethernet100gLr = 337672551, - /// 10G Ethernet, LR Optics. [(rate_bps) = 10000000000]; + /// 10G Ethernet, LR Optics. [(rate_bps) = 10000000000]; Ethernet10gLr = 236739749, } impl LinkType { @@ -13302,15 +13302,15 @@ pub mod interconnect { } } } - /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. + /// [Output Only] The current status of this Interconnect's functionality, which can take one of the following values: - OS_ACTIVE: A valid Interconnect, which is turned up and is ready to use. Attachments may be provisioned on this Interconnect. - OS_UNPROVISIONED: An Interconnect that has not completed turnup. No attachments may be provisioned on this Interconnect. - OS_UNDER_MAINTENANCE: An Interconnect that is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationalStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOperationalStatus = 0, - /// The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect. + /// The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect. OsActive = 55721409, - /// The interconnect has not completed turnup. No attachments may be provisioned on this interconnect. + /// The interconnect has not completed turnup. No attachments may be provisioned on this interconnect. OsUnprovisioned = 239771840, } impl OperationalStatus { @@ -13326,15 +13326,15 @@ pub mod interconnect { } } } - /// [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. + /// [Output Only] The current state of Interconnect functionality, which can take one of the following values: - ACTIVE: The Interconnect is valid, turned up and ready to use. Attachments may be provisioned on this Interconnect. - UNPROVISIONED: The Interconnect has not completed turnup. No attachments may be provisioned on this Interconnect. - UNDER_MAINTENANCE: The Interconnect is undergoing internal maintenance. No attachments may be provisioned or updated on this Interconnect. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect. + /// The interconnect is valid, turned up, and ready to use. Attachments may be provisioned on this interconnect. Active = 314733318, - /// The interconnect has not completed turnup. No attachments may be provisioned on this interconnect. + /// The interconnect has not completed turnup. No attachments may be provisioned on this interconnect. Unprovisioned = 517333979, } impl State { @@ -13351,153 +13351,153 @@ pub mod interconnect { } } } -/// Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments. +/// Represents an Interconnect Attachment (VLAN) resource. You can use Interconnect attachments (VLANS) to connect your Virtual Private Cloud networks to your on-premises networks through an Interconnect. For more information, read Creating VLAN Attachments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachment { - /// Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. + /// Determines whether this Attachment will carry packets. Not present for PARTNER_PROVIDER. #[prost(bool, optional, tag="445675089")] pub admin_enabled: ::core::option::Option, - /// Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s - /// Check the Bandwidth enum for the list of possible values. + /// Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s + /// Check the Bandwidth enum for the list of possible values. #[prost(string, optional, tag="181715121")] pub bandwidth: ::core::option::Option<::prost::alloc::string::String>, - /// This field is not available. + /// This field is not available. #[prost(string, repeated, tag="70682522")] pub candidate_ipv6_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space. + /// Up to 16 candidate prefixes that can be used to restrict the allocation of cloudRouterIpAddress and customerRouterIpAddress for this attachment. All prefixes must be within link-local address space (169.254.0.0/16) and must be /29 or shorter (/28, /27, etc). Google will attempt to select an unused /29 from the supplied candidate prefix(es). The request will fail if all possible /29s are in use on Google's edge. If not supplied, Google will randomly select an unused /29 from all of link-local space. #[prost(string, repeated, tag="237842938")] pub candidate_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. + /// [Output Only] IPv4 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. #[prost(string, optional, tag="287392776")] pub cloud_router_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. + /// [Output Only] IPv6 address + prefix length to be configured on Cloud Router Interface for this interconnect attachment. #[prost(string, optional, tag="451922376")] pub cloud_router_ipv6_address: ::core::option::Option<::prost::alloc::string::String>, - /// This field is not available. + /// This field is not available. #[prost(string, optional, tag="521282701")] pub cloud_router_ipv6_interface_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. + /// [Output Only] IPv4 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. #[prost(string, optional, tag="332475761")] pub customer_router_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. + /// [Output Only] IPv6 address + prefix length to be configured on the customer router subinterface for this interconnect attachment. #[prost(string, optional, tag="290127089")] pub customer_router_ipv6_address: ::core::option::Option<::prost::alloc::string::String>, - /// This field is not available. + /// This field is not available. #[prost(string, optional, tag="380994308")] pub customer_router_ipv6_interface_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1. + /// [Output Only] Dataplane version for this InterconnectAttachment. This field is only present for Dataplane version 2 and higher. Absence of this field in the API output indicates that the Dataplane is version 1. #[prost(int32, optional, tag="34920075")] pub dataplane_version: ::core::option::Option, - /// An optional description of this resource. + /// An optional description of this resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. - /// Check the EdgeAvailabilityDomain enum for the list of possible values. + /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. + /// Check the EdgeAvailabilityDomain enum for the list of possible values. #[prost(string, optional, tag="71289510")] pub edge_availability_domain: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. - /// Check the Encryption enum for the list of possible values. + /// Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. + /// Check the Encryption enum for the list of possible values. #[prost(string, optional, tag="97980291")] pub encryption: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. \[Deprecated\] This field is not used. + /// [Output Only] Google reference ID, to be used when raising support tickets with Google or otherwise to debug backend connectivity issues. \[Deprecated\] This field is not used. #[prost(string, optional, tag="534944469")] pub google_reference_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// URL of the underlying Interconnect object that this attachment's traffic will traverse through. + /// URL of the underlying Interconnect object that this attachment's traffic will traverse through. #[prost(string, optional, tag="224601230")] pub interconnect: ::core::option::Option<::prost::alloc::string::String>, - /// A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool. Not currently available publicly. + /// A list of URLs of addresses that have been reserved for the VLAN attachment. Used only for the VLAN attachment that has the encryption option as IPSEC. The addresses must be regional internal IP address ranges. When creating an HA VPN gateway over the VLAN attachment, if the attachment is configured to use a regional internal IP address, then the VPN gateway's IP address is allocated from the IP address range specified here. For example, if the HA VPN gateway's interface 0 is paired to this VLAN attachment, then a regional internal IP address for the VPN gateway interface 0 will be allocated from the IP address specified for this VLAN attachment. If this field is not specified when creating the VLAN attachment, then later on when creating an HA VPN gateway on this VLAN attachment, the HA VPN gateway's IP address is allocated from the regional external IP address pool. Not currently available publicly. #[prost(string, repeated, tag="407648565")] pub ipsec_internal_addresses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments. + /// [Output Only] Type of the resource. Always compute#interconnectAttachment for interconnect attachments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. + /// Maximum Transmission Unit (MTU), in bytes, of packets passing through this interconnect attachment. Only 1440 and 1500 are allowed. If not specified, the value will default to 1440. #[prost(int32, optional, tag="108462")] pub mtu: ::core::option::Option, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - /// Check the OperationalStatus enum for the list of possible values. + /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. + /// Check the OperationalStatus enum for the list of possible values. #[prost(string, optional, tag="201070847")] pub operational_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain" + /// [Output only for type PARTNER. Input only for PARTNER_PROVIDER. Not present for DEDICATED]. The opaque identifier of an PARTNER attachment used to initiate provisioning with a selected partner. Of the form "XXXXX/region/domain" #[prost(string, optional, tag="439695464")] pub pairing_key: ::core::option::Option<::prost::alloc::string::String>, - /// Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED. + /// Optional BGP ASN for the router supplied by a Layer 3 Partner if they configured BGP on behalf of the customer. Output only for PARTNER type, input only for PARTNER_PROVIDER, not available for DEDICATED. #[prost(int64, optional, tag="438166149")] pub partner_asn: ::core::option::Option, - /// Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. + /// Informational metadata about Partner attachments from Partners to display to customers. Output only for for PARTNER type, mutable for PARTNER_PROVIDER, not available for DEDICATED. #[prost(message, optional, tag="65908934")] pub partner_metadata: ::core::option::Option, - /// [Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED. + /// [Output Only] Information specific to an InterconnectAttachment. This property is populated if the interconnect that this is attached to is of type DEDICATED. #[prost(message, optional, tag="237270531")] pub private_interconnect_info: ::core::option::Option, - /// [Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the regional interconnect attachment resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured. + /// URL of the Cloud Router to be used for dynamic routing. This router must be in the same region as this InterconnectAttachment. The InterconnectAttachment will automatically connect the Interconnect to the network & region within which the Cloud Router is configured. #[prost(string, optional, tag="148608841")] pub router: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. + /// [Output Only] Set to true if the resource satisfies the zone separation organization policy constraints and false otherwise. Defaults to false if the field is not present. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. - /// Check the StackType enum for the list of possible values. + /// The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. - /// Check the State enum for the list of possible values. + /// [Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. - /// Check the Type enum for the list of possible values. + /// The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, - /// The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time. + /// The IEEE 802.1Q VLAN tag for this attachment, in the range 2-4094. Only specified at creation time. #[prost(int32, optional, tag="119927836")] pub vlan_tag8021q: ::core::option::Option, } /// Nested message and enum types in `InterconnectAttachment`. pub mod interconnect_attachment { - /// Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s + /// Provisioned bandwidth capacity for the interconnect attachment. For attachments of type DEDICATED, the user can set the bandwidth. For attachments of type PARTNER, the Google Partner that is operating the interconnect must set the bandwidth. Output only for PARTNER type, mutable for PARTNER_PROVIDER and DEDICATED, and can take one of the following values: - BPS_50M: 50 Mbit/s - BPS_100M: 100 Mbit/s - BPS_200M: 200 Mbit/s - BPS_300M: 300 Mbit/s - BPS_400M: 400 Mbit/s - BPS_500M: 500 Mbit/s - BPS_1G: 1 Gbit/s - BPS_2G: 2 Gbit/s - BPS_5G: 5 Gbit/s - BPS_10G: 10 Gbit/s - BPS_20G: 20 Gbit/s - BPS_50G: 50 Gbit/s #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Bandwidth { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedBandwidth = 0, - /// 100 Mbit/s + /// 100 Mbit/s Bps100m = 49547958, - /// 10 Gbit/s + /// 10 Gbit/s Bps10g = 278693006, - /// 1 Gbit/s + /// 1 Gbit/s Bps1g = 355358448, - /// 200 Mbit/s + /// 200 Mbit/s Bps200m = 49577749, - /// 20 Gbit/s + /// 20 Gbit/s Bps20g = 278693967, - /// 2 Gbit/s + /// 2 Gbit/s Bps2g = 355358479, - /// 300 Mbit/s + /// 300 Mbit/s Bps300m = 49607540, - /// 400 Mbit/s + /// 400 Mbit/s Bps400m = 49637331, - /// 500 Mbit/s + /// 500 Mbit/s Bps500m = 49667122, - /// 50 Gbit/s + /// 50 Gbit/s Bps50g = 278696850, - /// 50 Mbit/s + /// 50 Mbit/s Bps50m = 278696856, - /// 5 Gbit/s + /// 5 Gbit/s Bps5g = 355358572, } impl Bandwidth { @@ -13523,11 +13523,11 @@ pub mod interconnect_attachment { } } } - /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. + /// Desired availability domain for the attachment. Only available for type PARTNER, at creation time, and can take one of the following values: - AVAILABILITY_DOMAIN_ANY - AVAILABILITY_DOMAIN_1 - AVAILABILITY_DOMAIN_2 For improved reliability, customers should configure a pair of attachments, one per availability domain. The selected availability domain will be provided to the Partner via the pairing key, so that the provisioned circuit will lie in the specified domain. If not specified, the value will default to AVAILABILITY_DOMAIN_ANY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EdgeAvailabilityDomain { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEdgeAvailabilityDomain = 0, AvailabilityDomain1 = 349552090, AvailabilityDomain2 = 349552091, @@ -13547,15 +13547,15 @@ pub mod interconnect_attachment { } } } - /// Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. + /// Indicates the user-supplied encryption option of this VLAN attachment (interconnectAttachment). Can only be specified at attachment creation for PARTNER or DEDICATED attachments. Possible values are: - NONE - This is the default value, which means that the VLAN attachment carries unencrypted traffic. VMs are able to send traffic to, or receive traffic from, such a VLAN attachment. - IPSEC - The VLAN attachment carries only encrypted traffic that is encrypted by an IPsec device, such as an HA VPN gateway or third-party IPsec VPN. VMs cannot directly send traffic to, or receive traffic from, such a VLAN attachment. To use *HA VPN over Cloud Interconnect*, the VLAN attachment must be created with this option. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Encryption { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEncryption = 0, - /// The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option. + /// The interconnect attachment will carry only encrypted traffic that is encrypted by an IPsec device such as HA VPN gateway; VMs cannot directly send traffic to or receive traffic from such an interconnect attachment. To use HA VPN over Cloud Interconnect, the interconnect attachment must be created with this option. Ipsec = 69882282, - /// This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment. + /// This is the default value, which means the Interconnect Attachment will carry unencrypted traffic. VMs will be able to send traffic to or receive traffic from such interconnect attachment. None = 2402104, } impl Encryption { @@ -13571,15 +13571,15 @@ pub mod interconnect_attachment { } } } - /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. + /// [Output Only] The current status of whether or not this interconnect attachment is functional, which can take one of the following values: - OS_ACTIVE: The attachment has been turned up and is ready to use. - OS_UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationalStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOperationalStatus = 0, - /// Indicates that attachment has been turned up and is ready to use. + /// Indicates that attachment has been turned up and is ready to use. OsActive = 55721409, - /// Indicates that attachment is not ready to use yet, because turnup is not complete. + /// Indicates that attachment is not ready to use yet, because turnup is not complete. OsUnprovisioned = 239771840, } impl OperationalStatus { @@ -13595,15 +13595,15 @@ pub mod interconnect_attachment { } } } - /// The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. + /// The stack type for this interconnect attachment to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at interconnect attachments creation and update interconnect attachment operations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// The interconnect attachment can have both IPv4 and IPv6 addresses. + /// The interconnect attachment can have both IPv4 and IPv6 addresses. Ipv4Ipv6 = 22197249, - /// The interconnect attachment will only be assigned IPv4 addresses. + /// The interconnect attachment will only be assigned IPv4 addresses. Ipv4Only = 22373798, } impl StackType { @@ -13619,24 +13619,24 @@ pub mod interconnect_attachment { } } } - /// [Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. + /// [Output Only] The current state of this attachment's functionality. Enum values ACTIVE and UNPROVISIONED are shared by DEDICATED/PRIVATE, PARTNER, and PARTNER_PROVIDER interconnect attachments, while enum values PENDING_PARTNER, PARTNER_REQUEST_RECEIVED, and PENDING_CUSTOMER are used for only PARTNER and PARTNER_PROVIDER interconnect attachments. This state can take one of the following values: - ACTIVE: The attachment has been turned up and is ready to use. - UNPROVISIONED: The attachment is not ready to use yet, because turnup is not complete. - PENDING_PARTNER: A newly-created PARTNER attachment that has not yet been configured on the Partner side. - PARTNER_REQUEST_RECEIVED: A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. - PENDING_CUSTOMER: A PARTNER or PARTNER_PROVIDER attachment that is waiting for a customer to activate it. - DEFUNCT: The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was removed, or because the other side of a Partner attachment was deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// Indicates that attachment has been turned up and is ready to use. + /// Indicates that attachment has been turned up and is ready to use. Active = 314733318, - /// The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was wiped out, or because the other side of a Partner attachment was deleted. + /// The attachment was deleted externally and is no longer functional. This could be because the associated Interconnect was wiped out, or because the other side of a Partner attachment was deleted. Defunct = 115891759, - /// A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. + /// A PARTNER attachment is in the process of provisioning after a PARTNER_PROVIDER attachment was created that references it. PartnerRequestReceived = 513587304, - /// PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate. + /// PARTNER or PARTNER_PROVIDER attachment that is waiting for the customer to activate. PendingCustomer = 167494054, - /// A newly created PARTNER attachment that has not yet been configured on the Partner side. + /// A newly created PARTNER attachment that has not yet been configured on the Partner side. PendingPartner = 387890656, Unspecified = 470755401, - /// Indicates that attachment is not ready to use yet, because turnup is not complete. + /// Indicates that attachment is not ready to use yet, because turnup is not complete. Unprovisioned = 517333979, } impl State { @@ -13657,17 +13657,17 @@ pub mod interconnect_attachment { } } } - /// The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. + /// The type of interconnect attachment this is, which can take one of the following values: - DEDICATED: an attachment to a Dedicated Interconnect. - PARTNER: an attachment to a Partner Interconnect, created by the customer. - PARTNER_PROVIDER: an attachment to a Partner Interconnect, created by the partner. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// Attachment to a dedicated interconnect. + /// Attachment to a dedicated interconnect. Dedicated = 258411983, - /// Attachment to a partner interconnect, created by the customer. + /// Attachment to a partner interconnect, created by the customer. Partner = 461924520, - /// Attachment to a partner interconnect, created by the partner. + /// Attachment to a partner interconnect, created by the partner. PartnerProvider = 483261352, } impl Type { @@ -13688,141 +13688,141 @@ pub mod interconnect_attachment { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachmentAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InterconnectAttachmentsScopedList resources. + /// A list of InterconnectAttachmentsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, InterconnectAttachmentsScopedList>, - /// [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for aggregated lists of interconnect attachments. + /// [Output Only] Type of resource. Always compute#interconnectAttachmentAggregatedList for aggregated lists of interconnect attachments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Response to the list request, and contains a list of interconnect attachments. +/// Response to the list request, and contains a list of interconnect attachments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachmentList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InterconnectAttachment resources. + /// A list of InterconnectAttachment resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of interconnect attachments. + /// [Output Only] Type of resource. Always compute#interconnectAttachmentList for lists of interconnect attachments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments. +/// Informational metadata about Partner attachments from Partners to display to customers. These fields are propagated from PARTNER_PROVIDER attachments to their corresponding PARTNER attachments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachmentPartnerMetadata { - /// Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. + /// Plain text name of the Interconnect this attachment is connected to, as displayed in the Partner's portal. For instance "Chicago 1". This value may be validated to match approved Partner values. #[prost(string, optional, tag="514963356")] pub interconnect_name: ::core::option::Option<::prost::alloc::string::String>, - /// Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values. + /// Plain text name of the Partner providing this attachment. This value may be validated to match approved Partner values. #[prost(string, optional, tag="161747874")] pub partner_name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values. + /// URL of the Partner's portal for this Attachment. Partners may customise this to be a deep link to the specific resource on the Partner portal. This value may be validated to match approved Partner values. #[prost(string, optional, tag="269182748")] pub portal_url: ::core::option::Option<::prost::alloc::string::String>, } -/// Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED. +/// Information for an interconnect attachment when this belongs to an interconnect of type DEDICATED. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachmentPrivateInfo { - /// [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region. + /// [Output Only] 802.1q encapsulation tag to be used for traffic between Google and the customer, going to and from this network and region. #[prost(uint32, optional, tag="271820992")] pub tag8021q: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectAttachmentsScopedList { - /// A list of interconnect attachments contained in this scope. + /// A list of interconnect attachments contained in this scope. #[prost(message, repeated, tag="425388415")] pub interconnect_attachments: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of addresses when the list is empty. + /// Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only. +/// Describes a single physical circuit between the Customer and Google. CircuitInfo objects are created by Google, so all fields are output only. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectCircuitInfo { - /// Customer-side demarc ID for this circuit. + /// Customer-side demarc ID for this circuit. #[prost(string, optional, tag="28771859")] pub customer_demarc_id: ::core::option::Option<::prost::alloc::string::String>, - /// Google-assigned unique ID for this circuit. Assigned at circuit turn-up. + /// Google-assigned unique ID for this circuit. Assigned at circuit turn-up. #[prost(string, optional, tag="262014711")] pub google_circuit_id: ::core::option::Option<::prost::alloc::string::String>, - /// Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA. + /// Google-side demarc ID for this circuit. Assigned at circuit turn-up and provided by Google to the customer in the LOA. #[prost(string, optional, tag="448196270")] pub google_demarc_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection. +/// Diagnostics information about interconnect, contains detailed and current technical information about Google's side of the connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectDiagnostics { - /// A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled. + /// A list of InterconnectDiagnostics.ARPEntry objects, describing individual neighbors currently seen by the Google router in the ARP cache for the Interconnect. This will be empty when the Interconnect is not bundled. #[prost(message, repeated, tag="414591761")] pub arp_caches: ::prost::alloc::vec::Vec, - /// A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect. + /// A list of InterconnectDiagnostics.LinkStatus objects, describing the status for each link on the Interconnect. #[prost(message, repeated, tag="102977465")] pub links: ::prost::alloc::vec::Vec, - /// The MAC address of the Interconnect's bundle interface. + /// The MAC address of the Interconnect's bundle interface. #[prost(string, optional, tag="332540164")] pub mac_address: ::core::option::Option<::prost::alloc::string::String>, } -/// Describing the ARP neighbor entries seen on this link +/// Describing the ARP neighbor entries seen on this link #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectDiagnosticsArpEntry { - /// The IP address of this ARP neighbor. + /// The IP address of this ARP neighbor. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// The MAC address of this ARP neighbor. + /// The MAC address of this ARP neighbor. #[prost(string, optional, tag="332540164")] pub mac_address: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectDiagnosticsLinkLacpStatus { - /// System ID of the port on Google's side of the LACP exchange. + /// System ID of the port on Google's side of the LACP exchange. #[prost(string, optional, tag="91210405")] pub google_system_id: ::core::option::Option<::prost::alloc::string::String>, - /// System ID of the port on the neighbor's side of the LACP exchange. + /// System ID of the port on the neighbor's side of the LACP exchange. #[prost(string, optional, tag="343821342")] pub neighbor_system_id: ::core::option::Option<::prost::alloc::string::String>, - /// The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. - /// Check the State enum for the list of possible values. + /// The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InterconnectDiagnosticsLinkLACPStatus`. pub mod interconnect_diagnostics_link_lacp_status { - /// The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. + /// The state of a LACP link, which can take one of the following values: - ACTIVE: The link is configured and active within the bundle. - DETACHED: The link is not configured within the bundle. This means that the rest of the object should be empty. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// The link is configured and active within the bundle. + /// The link is configured and active within the bundle. Active = 314733318, - /// The link is not configured within the bundle, this means the rest of the object should be empty. + /// The link is not configured within the bundle, this means the rest of the object should be empty. Detached = 216562546, } impl State { @@ -13842,31 +13842,31 @@ pub mod interconnect_diagnostics_link_lacp_status { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectDiagnosticsLinkOpticalPower { - /// The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. - /// Check the State enum for the list of possible values. + /// The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links. + /// Value of the current receiving or transmitting optical power, read in dBm. Take a known good optical value, give it a 10% margin and trigger warnings relative to that value. In general, a -7dBm warning and a -11dBm alarm are good optical value estimates for most links. #[prost(float, optional, tag="111972721")] pub value: ::core::option::Option, } /// Nested message and enum types in `InterconnectDiagnosticsLinkOpticalPower`. pub mod interconnect_diagnostics_link_optical_power { - /// The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. + /// The status of the current value when compared to the warning and alarm levels for the receiving or transmitting transceiver. Possible states include: - OK: The value has not crossed a warning threshold. - LOW_WARNING: The value has crossed below the low warning threshold. - HIGH_WARNING: The value has crossed above the high warning threshold. - LOW_ALARM: The value has crossed below the low alarm threshold. - HIGH_ALARM: The value has crossed above the high alarm threshold. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// The value has crossed above the high alarm threshold. + /// The value has crossed above the high alarm threshold. HighAlarm = 305363284, - /// The value of the current optical power has crossed above the high warning threshold. + /// The value of the current optical power has crossed above the high warning threshold. HighWarning = 220984799, - /// The value of the current optical power has crossed below the low alarm threshold. + /// The value of the current optical power has crossed below the low alarm threshold. LowAlarm = 316659046, - /// The value of the current optical power has crossed below the low warning threshold. + /// The value of the current optical power has crossed below the low warning threshold. LowWarning = 338793841, - /// The value of the current optical power has not crossed a warning threshold. + /// The value of the current optical power has not crossed a warning threshold. Ok = 2524, } impl State { @@ -13889,107 +13889,107 @@ pub mod interconnect_diagnostics_link_optical_power { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectDiagnosticsLinkStatus { - /// A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled + /// A list of InterconnectDiagnostics.ARPEntry objects, describing the ARP neighbor entries seen on this link. This will be empty if the link is bundled #[prost(message, repeated, tag="414591761")] pub arp_caches: ::prost::alloc::vec::Vec, - /// The unique ID for this link assigned during turn up by Google. + /// The unique ID for this link assigned during turn up by Google. #[prost(string, optional, tag="225180977")] pub circuit_id: ::core::option::Option<::prost::alloc::string::String>, - /// The Demarc address assigned by Google and provided in the LoA. + /// The Demarc address assigned by Google and provided in the LoA. #[prost(string, optional, tag="51084")] pub google_demarc: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="361210415")] pub lacp_status: ::core::option::Option, - /// An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level. + /// An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the received light level. #[prost(message, optional, tag="244717279")] pub receiving_optical_power: ::core::option::Option, - /// An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level. + /// An InterconnectDiagnostics.LinkOpticalPower object, describing the current value and status of the transmitted light level. #[prost(message, optional, tag="459431197")] pub transmitting_optical_power: ::core::option::Option, } -/// Response to the list request, and contains a list of interconnects. +/// Response to the list request, and contains a list of interconnects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Interconnect resources. + /// A list of Interconnect resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. + /// [Output Only] Type of resource. Always compute#interconnectList for lists of interconnects. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments. +/// Represents an Interconnect Attachment (VLAN) Location resource. You can use this resource to find location details about an Interconnect attachment (VLAN). For more information about interconnect attachments, read Creating VLAN Attachments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectLocation { - /// [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character. + /// [Output Only] The postal address of the Point of Presence, each line in the address is separated by a newline character. #[prost(string, optional, tag="462920692")] pub address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2". + /// [Output Only] Availability zone for this InterconnectLocation. Within a metropolitan area (metro), maintenance will not be simultaneously scheduled in more than one availability zone. Example: "zone1" or "zone2". #[prost(string, optional, tag="158459920")] pub availability_zone: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". + /// [Output Only] Metropolitan area designator that indicates which city an interconnect is located. For example: "Chicago, IL", "Amsterdam, Netherlands". #[prost(string, optional, tag="3053931")] pub city: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA - /// Check the Continent enum for the list of possible values. + /// [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA + /// Check the Continent enum for the list of possible values. #[prost(string, optional, tag="133442996")] pub continent: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional description of the resource. + /// [Output Only] An optional description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the provider for this facility (e.g., EQUINIX). + /// [Output Only] The name of the provider for this facility (e.g., EQUINIX). #[prost(string, optional, tag="533303309")] pub facility_provider: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). + /// [Output Only] A provider-assigned Identifier for this facility (e.g., Ashburn-DC1). #[prost(string, optional, tag="87269125")] pub facility_provider_facility_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations. + /// [Output Only] Type of the resource. Always compute#interconnectLocation for interconnect locations. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). + /// [Output Only] The peeringdb identifier for this facility (corresponding with a netfac type in peeringdb). #[prost(string, optional, tag="536567094")] pub peeringdb_facility_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions. + /// [Output Only] A list of InterconnectLocation.RegionInfo objects, that describe parameters pertaining to the relation between this InterconnectLocation and various Google Cloud regions. #[prost(message, repeated, tag="312194170")] pub region_infos: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present. + /// [Output Only] Set to true for locations that support physical zone separation. Defaults to false if the field is not present. #[prost(bool, optional, tag="83983214")] pub supports_pzs: ::core::option::Option, } /// Nested message and enum types in `InterconnectLocation`. pub mod interconnect_location { - /// [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA + /// [Output Only] Continent for this location, which can take one of the following values: - AFRICA - ASIA_PAC - EUROPE - NORTH_AMERICA - SOUTH_AMERICA #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Continent { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedContinent = 0, Africa = 317443706, AsiaPac = 119782269, @@ -14023,15 +14023,15 @@ pub mod interconnect_location { } } } - /// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. + /// [Output Only] The status of this InterconnectLocation, which can take one of the following values: - CLOSED: The InterconnectLocation is closed and is unavailable for provisioning new Interconnects. - AVAILABLE: The InterconnectLocation is available for provisioning new Interconnects. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The InterconnectLocation is available for provisioning new Interconnects. + /// The InterconnectLocation is available for provisioning new Interconnects. Available = 442079913, - /// The InterconnectLocation is closed for provisioning new Interconnects. + /// The InterconnectLocation is closed for provisioning new Interconnects. Closed = 380163436, } impl Status { @@ -14048,57 +14048,57 @@ pub mod interconnect_location { } } } -/// Response to the list request, and contains a list of interconnect locations. +/// Response to the list request, and contains a list of interconnect locations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectLocationList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InterconnectLocation resources. + /// A list of InterconnectLocation resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations. + /// [Output Only] Type of resource. Always compute#interconnectLocationList for lists of interconnect locations. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region. +/// Information about any potential InterconnectAttachments between an Interconnect at a specific InterconnectLocation, and a specific Cloud Region. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectLocationRegionInfo { - /// Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region. + /// Expected round-trip time in milliseconds, from this InterconnectLocation to a VM in this region. #[prost(int64, optional, tag="422543866")] pub expected_rtt_ms: ::core::option::Option, - /// Identifies the network presence of this location. - /// Check the LocationPresence enum for the list of possible values. + /// Identifies the network presence of this location. + /// Check the LocationPresence enum for the list of possible values. #[prost(string, optional, tag="101517893")] pub location_presence: ::core::option::Option<::prost::alloc::string::String>, - /// URL for the region of this location. + /// URL for the region of this location. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InterconnectLocationRegionInfo`. pub mod interconnect_location_region_info { - /// Identifies the network presence of this location. + /// Identifies the network presence of this location. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationPresence { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLocationPresence = 0, - /// This region is not in any common network presence with this InterconnectLocation. + /// This region is not in any common network presence with this InterconnectLocation. Global = 494663587, - /// This region shares the same regional network presence as this InterconnectLocation. + /// This region shares the same regional network presence as this InterconnectLocation. LocalRegion = 403535464, - /// \[Deprecated\] This region is not in any common network presence with this InterconnectLocation. + /// \[Deprecated\] This region is not in any common network presence with this InterconnectLocation. LpGlobal = 429584062, - /// \[Deprecated\] This region shares the same regional network presence as this InterconnectLocation. + /// \[Deprecated\] This region shares the same regional network presence as this InterconnectLocation. LpLocalRegion = 488598851, } impl LocationPresence { @@ -14117,52 +14117,52 @@ pub mod interconnect_location_region_info { } } } -/// Description of a planned outage on this Interconnect. +/// Description of a planned outage on this Interconnect. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectOutageNotification { - /// If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. + /// If issue_type is IT_PARTIAL_OUTAGE, a list of the Google-side circuit IDs that will be affected. #[prost(string, repeated, tag="177717013")] pub affected_circuits: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A description about the purpose of the outage. + /// A description about the purpose of the outage. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Scheduled end time for the outage (milliseconds since Unix epoch). + /// Scheduled end time for the outage (milliseconds since Unix epoch). #[prost(int64, optional, tag="114938801")] pub end_time: ::core::option::Option, - /// Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. - /// Check the IssueType enum for the list of possible values. + /// Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. + /// Check the IssueType enum for the list of possible values. #[prost(string, optional, tag="369639136")] pub issue_type: ::core::option::Option<::prost::alloc::string::String>, - /// Unique identifier for this outage notification. + /// Unique identifier for this outage notification. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. - /// Check the Source enum for the list of possible values. + /// The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. + /// Check the Source enum for the list of possible values. #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, - /// Scheduled start time for the outage (milliseconds since Unix epoch). + /// Scheduled start time for the outage (milliseconds since Unix epoch). #[prost(int64, optional, tag="37467274")] pub start_time: ::core::option::Option, - /// State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. - /// Check the State enum for the list of possible values. + /// State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `InterconnectOutageNotification`. pub mod interconnect_outage_notification { - /// Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. + /// Form this outage is expected to take, which can take one of the following values: - OUTAGE: The Interconnect may be completely out of service for some or all of the specified window. - PARTIAL_OUTAGE: Some circuits comprising the Interconnect as a whole should remain up, but with reduced bandwidth. Note that the versions of this enum prefixed with "IT_" have been deprecated in favor of the unprefixed values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IssueType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIssueType = 0, - /// \[Deprecated\] The Interconnect may be completely out of service for some or all of the specified window. + /// \[Deprecated\] The Interconnect may be completely out of service for some or all of the specified window. ItOutage = 175779973, - /// \[Deprecated\] Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth. + /// \[Deprecated\] Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth. ItPartialOutage = 92103971, - /// The Interconnect may be completely out of service for some or all of the specified window. + /// The Interconnect may be completely out of service for some or all of the specified window. Outage = 195285745, - /// Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth. + /// Some circuits comprising the Interconnect will be out of service during the expected window. The interconnect as a whole should remain up, albeit with reduced bandwidth. PartialOutage = 147053455, } impl IssueType { @@ -14180,15 +14180,15 @@ pub mod interconnect_outage_notification { } } } - /// The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. + /// The party that generated this notification, which can take the following value: - GOOGLE: this notification as generated by Google. Note that the value of NSRC_GOOGLE has been deprecated in favor of GOOGLE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Source { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSource = 0, - /// This notification was generated by Google. + /// This notification was generated by Google. Google = 497439289, - /// \[Deprecated\] This notification was generated by Google. + /// \[Deprecated\] This notification was generated by Google. NsrcGoogle = 510574562, } impl Source { @@ -14204,21 +14204,21 @@ pub mod interconnect_outage_notification { } } } - /// State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. + /// State of this notification, which can take one of the following values: - ACTIVE: This outage notification is active. The event could be in the past, present, or future. See start_time and end_time for scheduling. - CANCELLED: The outage associated with this notification was cancelled before the outage was due to start. - COMPLETED: The outage associated with this notification is complete. Note that the versions of this enum prefixed with "NS_" have been deprecated in favor of the unprefixed values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling. + /// This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling. Active = 314733318, - /// The outage associated with this notification was cancelled before the outage was due to start. + /// The outage associated with this notification was cancelled before the outage was due to start. Cancelled = 41957681, - /// The outage associated with this notification is complete. + /// The outage associated with this notification is complete. Completed = 309921323, - /// \[Deprecated\] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling. + /// \[Deprecated\] This outage notification is active. The event could be in the future, present, or past. See start_time and end_time for scheduling. NsActive = 252563136, - /// \[Deprecated\] The outage associated with this notification was canceled before the outage was due to start. + /// \[Deprecated\] The outage associated with this notification was canceled before the outage was due to start. NsCanceled = 506579411, } impl State { @@ -14238,119 +14238,119 @@ pub mod interconnect_outage_notification { } } } -/// Response for the InterconnectsGetDiagnosticsRequest. +/// Response for the InterconnectsGetDiagnosticsRequest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterconnectsGetDiagnosticsResponse { #[prost(message, optional, tag="139315229")] pub result: ::core::option::Option, } -/// A request message for UrlMaps.InvalidateCache. See the method description for details. +/// A request message for UrlMaps.InvalidateCache. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidateCacheUrlMapRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="312795565")] pub cache_invalidation_rule_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap scoping this request. + /// Name of the UrlMap scoping this request. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// Metadata +/// Metadata #[derive(Clone, PartialEq, ::prost::Message)] pub struct Items { - /// Key for the metadata entry. Keys must conform to the following regexp: \[a-zA-Z0-9-_\]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. + /// Key for the metadata entry. Keys must conform to the following regexp: \[a-zA-Z0-9-_\]+, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB). + /// Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB). #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. +/// Represents a License resource. A License represents billing and aggregate usage data for public and marketplace images. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct License { - /// [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. + /// [Output Only] Deprecated. This field no longer reflects whether a license charges a usage fee. #[prost(bool, optional, tag="372412622")] pub charges_use_fee: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional textual description of the resource; provided by the client when the resource is created. + /// An optional textual description of the resource; provided by the client when the resource is created. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#license for licenses. + /// [Output Only] Type of resource. Always compute#license for licenses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique code used to attach this license to images, snapshots, and disks. + /// [Output Only] The unique code used to attach this license to images, snapshots, and disks. #[prost(uint64, optional, tag="1467179")] pub license_code: ::core::option::Option, - /// Name of the resource. The name must be 1-63 characters long and comply with RFC1035. + /// Name of the resource. The name must be 1-63 characters long and comply with RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="214292769")] pub resource_requirements: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk. + /// If false, licenses will not be copied from the source resource when creating an image from a disk, disk from snapshot, or snapshot from disk. #[prost(bool, optional, tag="4349893")] pub transferable: ::core::option::Option, } -/// Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. +/// Represents a License Code resource. A License Code is a unique identifier used to represent a license resource. *Caution* This resource is intended for use only by third-party partners who are creating Cloud Marketplace images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseCode { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Description of this License Code. + /// [Output Only] Description of this License Code. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#licenseCode for licenses. + /// [Output Only] Type of resource. Always compute#licenseCode for licenses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL and description aliases of Licenses with the same License Code. + /// [Output Only] URL and description aliases of Licenses with the same License Code. #[prost(message, repeated, tag="43550930")] pub license_alias: ::prost::alloc::vec::Vec, - /// [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. + /// [Output Only] Name of the resource. The name is 1-20 characters long and must be a valid 64 bit integer. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Current state of this License Code. - /// Check the State enum for the list of possible values. + /// [Output Only] Current state of this License Code. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. + /// [Output Only] If true, the license will remain attached when creating images or snapshots from disks. Otherwise, the license is not transferred. #[prost(bool, optional, tag="4349893")] pub transferable: ::core::option::Option, } /// Nested message and enum types in `LicenseCode`. pub mod license_code { - /// [Output Only] Current state of this License Code. + /// [Output Only] Current state of this License Code. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected. + /// Machines are not allowed to attach boot disks with this License Code. Requests to create new resources with this license will be rejected. Disabled = 516696700, - /// Use is allowed for anyone with USE_READ_ONLY access to this License Code. + /// Use is allowed for anyone with USE_READ_ONLY access to this License Code. Enabled = 182130465, - /// Use of this license is limited to a project whitelist. + /// Use of this license is limited to a project whitelist. Restricted = 261551195, Unspecified = 470755401, - /// Reserved state. + /// Reserved state. Terminated = 250018339, } impl State { @@ -14373,1253 +14373,1253 @@ pub mod license_code { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseCodeLicenseAlias { - /// [Output Only] Description of this License Code. + /// [Output Only] Description of this License Code. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of license corresponding to this License Code. + /// [Output Only] URL of license corresponding to this License Code. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } -/// Commitment for a particular license resource. +/// Commitment for a particular license resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseResourceCommitment { - /// The number of licenses purchased. + /// The number of licenses purchased. #[prost(int64, optional, tag="196759640")] pub amount: ::core::option::Option, - /// Specifies the core range of the instance for which this license applies. + /// Specifies the core range of the instance for which this license applies. #[prost(string, optional, tag="32482324")] pub cores_per_license: ::core::option::Option<::prost::alloc::string::String>, - /// Any applicable license URI. + /// Any applicable license URI. #[prost(string, optional, tag="166757441")] pub license: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicenseResourceRequirements { - /// Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. + /// Minimum number of guest cpus required to use the Instance. Enforced at Instance creation and Instance start. #[prost(int32, optional, tag="477964836")] pub min_guest_cpu_count: ::core::option::Option, - /// Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. + /// Minimum memory required to use the Instance. Enforced at Instance creation and Instance start. #[prost(int32, optional, tag="504785894")] pub min_memory_mb: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LicensesListResponse { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of License resources. + /// A list of License resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for AcceleratorTypes.List. See the method description for details. +/// A request message for AcceleratorTypes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAcceleratorTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Addresses.List. See the method description for details. +/// A request message for Addresses.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAddressesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for FirewallPolicies.ListAssociations. See the method description for details. +/// A request message for FirewallPolicies.ListAssociations. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssociationsFirewallPolicyRequest { - /// The target resource to list associations. It is an organization, or a folder. + /// The target resource to list associations. It is an organization, or a folder. #[prost(string, optional, tag="467318524")] pub target_resource: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Autoscalers.List. See the method description for details. +/// A request message for Autoscalers.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAutoscalersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details. +/// A request message for RegionSslPolicies.ListAvailableFeatures. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableFeaturesRegionSslPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SslPolicies.ListAvailableFeatures. See the method description for details. +/// A request message for SslPolicies.ListAvailableFeatures. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableFeaturesSslPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for BackendBuckets.List. See the method description for details. +/// A request message for BackendBuckets.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackendBucketsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for BackendServices.List. See the method description for details. +/// A request message for BackendServices.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBackendServicesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for DiskTypes.List. See the method description for details. +/// A request message for DiskTypes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDiskTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Disks.List. See the method description for details. +/// A request message for Disks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDisksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroupManagers.ListErrors. See the method description for details. +/// A request message for InstanceGroupManagers.ListErrors. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListErrorsInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:\[a-z](?:[-a-z0-9]{0,61}[a-z0-9\])?)|1-9{0,19}. + /// The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:\[a-z](?:[-a-z0-9]{0,61}[a-z0-9\])?)|1-9{0,19}. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details. +/// A request message for RegionInstanceGroupManagers.ListErrors. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListErrorsRegionInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:\[a-z](?:[-a-z0-9]{0,61}[a-z0-9\])?)|1-9{0,19}. + /// The name of the managed instance group. It must be a string that meets the requirements in RFC1035, or an unsigned long integer: must match regexp pattern: (?:\[a-z](?:[-a-z0-9]{0,61}[a-z0-9\])?)|1-9{0,19}. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. This should conform to RFC1035. + /// Name of the region scoping this request. This should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ExternalVpnGateways.List. See the method description for details. +/// A request message for ExternalVpnGateways.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExternalVpnGatewaysRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for FirewallPolicies.List. See the method description for details. +/// A request message for FirewallPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirewallPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Parent ID for this request. + /// Parent ID for this request. #[prost(string, optional, tag="459714768")] pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Firewalls.List. See the method description for details. +/// A request message for Firewalls.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFirewallsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ForwardingRules.List. See the method description for details. +/// A request message for ForwardingRules.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListForwardingRulesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalAddresses.List. See the method description for details. +/// A request message for GlobalAddresses.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalAddressesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalForwardingRules.List. See the method description for details. +/// A request message for GlobalForwardingRules.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalForwardingRulesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalNetworkEndpointGroups.List. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalOperations.List. See the method description for details. +/// A request message for GlobalOperations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalOperationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalOrganizationOperations.List. See the method description for details. +/// A request message for GlobalOrganizationOperations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalOrganizationOperationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Parent ID for this request. + /// Parent ID for this request. #[prost(string, optional, tag="459714768")] pub parent_id: ::core::option::Option<::prost::alloc::string::String>, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details. +/// A request message for GlobalPublicDelegatedPrefixes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListGlobalPublicDelegatedPrefixesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for HealthChecks.List. See the method description for details. +/// A request message for HealthChecks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListHealthChecksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Images.List. See the method description for details. +/// A request message for Images.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListImagesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InstanceGroupManagers.List. See the method description for details. +/// A request message for InstanceGroupManagers.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroups.List. See the method description for details. +/// A request message for InstanceGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.List. See the method description for details. +/// A request message for InstanceTemplates.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstanceTemplatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InstanceGroups.ListInstances. See the method description for details. +/// A request message for InstanceGroups.ListInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesInstanceGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the instance group from which you want to generate a list of included instances. + /// The name of the instance group from which you want to generate a list of included instances. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="476255263")] pub instance_groups_list_instances_request_resource: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroups.ListInstances. See the method description for details. +/// A request message for RegionInstanceGroups.ListInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRegionInstanceGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the regional instance group for which we want to list the instances. + /// Name of the regional instance group for which we want to list the instances. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="48239828")] pub region_instance_groups_list_instances_request_resource: ::core::option::Option, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Instances.List. See the method description for details. +/// A request message for Instances.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InterconnectAttachments.List. See the method description for details. +/// A request message for InterconnectAttachments.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInterconnectAttachmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for InterconnectLocations.List. See the method description for details. +/// A request message for InterconnectLocations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInterconnectLocationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Interconnects.List. See the method description for details. +/// A request message for Interconnects.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInterconnectsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Licenses.List. See the method description for details. +/// A request message for Licenses.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLicensesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for MachineImages.List. See the method description for details. +/// A request message for MachineImages.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMachineImagesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for MachineTypes.List. See the method description for details. +/// A request message for MachineTypes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListMachineTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details. +/// A request message for InstanceGroupManagers.ListManagedInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListManagedInstancesInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListManagedInstancesRegionInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NetworkEndpointGroups.List. See the method description for details. +/// A request message for NetworkEndpointGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. +/// A request message for GlobalNetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkEndpointsGlobalNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. + /// The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. +/// A request message for NetworkEndpointGroups.ListNetworkEndpoints. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkEndpointsNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. + /// The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. #[prost(string, tag="433907078")] pub network_endpoint_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="59493390")] pub network_endpoint_groups_list_endpoints_request_resource: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. + /// The name of the zone where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.List. See the method description for details. +/// A request message for NetworkFirewallPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworkFirewallPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Networks.List. See the method description for details. +/// A request message for Networks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNetworksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NodeGroups.List. See the method description for details. +/// A request message for NodeGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNodeGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.List. See the method description for details. +/// A request message for NodeTemplates.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNodeTemplatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for NodeTypes.List. See the method description for details. +/// A request message for NodeTypes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNodeTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeGroups.ListNodes. See the method description for details. +/// A request message for NodeGroups.ListNodes. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNodesNodeGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Name of the NodeGroup resource whose nodes you want to list. + /// Name of the NodeGroup resource whose nodes you want to list. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for PacketMirrorings.List. See the method description for details. +/// A request message for PacketMirrorings.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPacketMirroringsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Networks.ListPeeringRoutes. See the method description for details. +/// A request message for Networks.ListPeeringRoutes. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPeeringRoutesNetworksRequest { - /// The direction of the exchanged routes. - /// Check the Direction enum for the list of possible values. + /// The direction of the exchanged routes. + /// Check the Direction enum for the list of possible values. #[prost(string, optional, tag="111150975")] pub direction: ::core::option::Option<::prost::alloc::string::String>, - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Name of the network for this request. + /// Name of the network for this request. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// The response will show routes exchanged over the given peering connection. + /// The response will show routes exchanged over the given peering connection. #[prost(string, optional, tag="249571370")] pub peering_name: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region. + /// The region of the request. The response will include all subnet routes, static routes and dynamic routes in the region. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } /// Nested message and enum types in `ListPeeringRoutesNetworksRequest`. pub mod list_peering_routes_networks_request { - /// The direction of the exchanged routes. + /// The direction of the exchanged routes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Direction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDirection = 0, - /// For routes exported from peer network. + /// For routes exported from peer network. Incoming = 338552870, - /// For routes exported from local network. + /// For routes exported from local network. Outgoing = 307438444, } impl Direction { @@ -15636,1314 +15636,1314 @@ pub mod list_peering_routes_networks_request { } } } -/// A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. +/// A request message for InstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPerInstanceConfigsInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. +/// A request message for RegionInstanceGroupManagers.ListPerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPerInstanceConfigsRegionInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request, should conform to RFC1035. + /// Name of the region scoping this request, should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details. +/// A request message for SecurityPolicies.ListPreconfiguredExpressionSets. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPreconfiguredExpressionSetsSecurityPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for PublicAdvertisedPrefixes.List. See the method description for details. +/// A request message for PublicAdvertisedPrefixes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPublicAdvertisedPrefixesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for PublicDelegatedPrefixes.List. See the method description for details. +/// A request message for PublicDelegatedPrefixes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPublicDelegatedPrefixesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Instances.ListReferrers. See the method description for details. +/// A request message for Instances.ListReferrers. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReferrersInstancesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the target instance scoping this request, or '-' if the request should span over all instances in the container. + /// Name of the target instance scoping this request, or '-' if the request should span over all instances in the container. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionAutoscalers.List. See the method description for details. +/// A request message for RegionAutoscalers.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionAutoscalersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionBackendServices.List. See the method description for details. +/// A request message for RegionBackendServices.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionBackendServicesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionCommitments.List. See the method description for details. +/// A request message for RegionCommitments.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionCommitmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionDiskTypes.List. See the method description for details. +/// A request message for RegionDiskTypes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionDiskTypesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionDisks.List. See the method description for details. +/// A request message for RegionDisks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionDisksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionHealthCheckServices.List. See the method description for details. +/// A request message for RegionHealthCheckServices.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionHealthCheckServicesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionHealthChecks.List. See the method description for details. +/// A request message for RegionHealthChecks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionHealthChecksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionInstanceGroupManagers.List. See the method description for details. +/// A request message for RegionInstanceGroupManagers.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionInstanceGroupManagersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionInstanceGroups.List. See the method description for details. +/// A request message for RegionInstanceGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionInstanceGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionNetworkEndpointGroups.List. See the method description for details. +/// A request message for RegionNetworkEndpointGroups.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionNetworkEndpointGroupsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region where the network endpoint group is located. It should comply with RFC1035. + /// The name of the region where the network endpoint group is located. It should comply with RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionNetworkFirewallPolicies.List. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionNetworkFirewallPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionNotificationEndpoints.List. See the method description for details. +/// A request message for RegionNotificationEndpoints.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionNotificationEndpointsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionOperations.List. See the method description for details. +/// A request message for RegionOperations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionOperationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionSecurityPolicies.List. See the method description for details. +/// A request message for RegionSecurityPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionSecurityPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionSslCertificates.List. See the method description for details. +/// A request message for RegionSslCertificates.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionSslCertificatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionSslPolicies.List. See the method description for details. +/// A request message for RegionSslPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionSslPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionTargetHttpProxies.List. See the method description for details. +/// A request message for RegionTargetHttpProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionTargetHttpProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionTargetHttpsProxies.List. See the method description for details. +/// A request message for RegionTargetHttpsProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionTargetHttpsProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionTargetTcpProxies.List. See the method description for details. +/// A request message for RegionTargetTcpProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionTargetTcpProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for RegionUrlMaps.List. See the method description for details. +/// A request message for RegionUrlMaps.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionUrlMapsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Regions.List. See the method description for details. +/// A request message for Regions.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRegionsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Reservations.List. See the method description for details. +/// A request message for Reservations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReservationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.List. See the method description for details. +/// A request message for ResourcePolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListResourcePoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Routers.List. See the method description for details. +/// A request message for Routers.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutersRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Routes.List. See the method description for details. +/// A request message for Routes.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SecurityPolicies.List. See the method description for details. +/// A request message for SecurityPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSecurityPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ServiceAttachments.List. See the method description for details. +/// A request message for ServiceAttachments.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListServiceAttachmentsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region of this request. + /// Name of the region of this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Snapshots.List. See the method description for details. +/// A request message for Snapshots.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSnapshotsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SslCertificates.List. See the method description for details. +/// A request message for SslCertificates.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSslCertificatesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for SslPolicies.List. See the method description for details. +/// A request message for SslPolicies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSslPoliciesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Subnetworks.List. See the method description for details. +/// A request message for Subnetworks.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSubnetworksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetGrpcProxies.List. See the method description for details. +/// A request message for TargetGrpcProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetGrpcProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetHttpProxies.List. See the method description for details. +/// A request message for TargetHttpProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetHttpProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetHttpsProxies.List. See the method description for details. +/// A request message for TargetHttpsProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetHttpsProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetInstances.List. See the method description for details. +/// A request message for TargetInstances.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetInstancesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// Name of the zone scoping this request. + /// Name of the zone scoping this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for TargetPools.List. See the method description for details. +/// A request message for TargetPools.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetPoolsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetSslProxies.List. See the method description for details. +/// A request message for TargetSslProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetSslProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetTcpProxies.List. See the method description for details. +/// A request message for TargetTcpProxies.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetTcpProxiesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for TargetVpnGateways.List. See the method description for details. +/// A request message for TargetVpnGateways.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetVpnGatewaysRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for UrlMaps.List. See the method description for details. +/// A request message for UrlMaps.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListUrlMapsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Subnetworks.ListUsable. See the method description for details. +/// A request message for Subnetworks.ListUsable. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListUsableSubnetworksRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for VpnGateways.List. See the method description for details. +/// A request message for VpnGateways.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVpnGatewaysRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for VpnTunnels.List. See the method description for details. +/// A request message for VpnTunnels.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListVpnTunnelsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for Projects.ListXpnHosts. See the method description for details. +/// A request message for Projects.ListXpnHosts. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListXpnHostsProjectsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="238266391")] pub projects_list_xpn_hosts_request_resource: ::core::option::Option, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } -/// A request message for ZoneOperations.List. See the method description for details. +/// A request message for ZoneOperations.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListZoneOperationsRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, - /// Name of the zone for request. + /// Name of the zone for request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Zones.List. See the method description for details. +/// A request message for Zones.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListZonesRequest { - /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. + /// A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. If you want to use AIP-160, your expression must specify the field name, an operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The operator must be either `=`, `!=`, `>`, `<`, `<=`, `>=` or `:`. For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. The `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. The `:*` comparison can be used to test whether a key has been defined. For example, to find all objects with `owner` label use: ``` labels.owner:* ``` You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` If you want to use a regular expression, use the `eq` (equal) or `ne` (not equal) operator against a single un-parenthesized expression with or without quotes or against multiple parenthesized expressions. Examples: `fieldname eq unquoted literal` `fieldname eq 'single quoted literal'` `fieldname eq "double quoted literal"` `(fieldname1 eq literal) (fieldname2 ne "literal")` The literal value is interpreted as a regular expression using Google RE2 library syntax. The literal value must match the entire field. For example, to filter for instances that do not end with name "instance", you would use `name ne .*instance`. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. + /// Opt-in for partial success behavior which provides partial results in case of failure. The default value is false. #[prost(bool, optional, tag="517198390")] pub return_partial_success: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalDisk { - /// Specifies the number of such disks. + /// Specifies the number of such disks. #[prost(int32, optional, tag="182933485")] pub disk_count: ::core::option::Option, - /// Specifies the size of the disk in base-2 GB. + /// Specifies the size of the disk in base-2 GB. #[prost(int32, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. + /// Specifies the desired disk type on the node. This disk type must be a local storage type (e.g.: local-ssd). Note that for nodeTemplates, this should be the name of the disk type and not its URL. #[prost(string, optional, tag="93009052")] pub disk_type: ::core::option::Option<::prost::alloc::string::String>, } -/// Provides a localized error message that is safe to return to the user which can be attached to an RPC error. +/// Provides a localized error message that is safe to return to the user which can be attached to an RPC error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocalizedMessage { - /// The locale used following the specification defined at Examples are: "en-US", "fr-CH", "es-MX" + /// The locale used following the specification defined at Examples are: "en-US", "fr-CH", "es-MX" #[prost(string, optional, tag="513150554")] pub locale: ::core::option::Option<::prost::alloc::string::String>, - /// The localized error message in the above locale. + /// The localized error message in the above locale. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } -/// Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). +/// Configuration for location policy among multiple possible locations (e.g. preferences for zone selection among zones in a single region). #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPolicy { - /// Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a. + /// Location configurations mapped by location name. Currently only zone names are supported and must be represented as valid internal URLs, such as zones/us-central1-a. #[prost(map="string, message", tag="413423454")] pub locations: ::std::collections::HashMap<::prost::alloc::string::String, LocationPolicyLocation>, - /// Strategy for distributing VMs across zones in a region. - /// Check the TargetShape enum for the list of possible values. + /// Strategy for distributing VMs across zones in a region. + /// Check the TargetShape enum for the list of possible values. #[prost(string, optional, tag="338621299")] pub target_shape: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `LocationPolicy`. pub mod location_policy { - /// Strategy for distributing VMs across zones in a region. + /// Strategy for distributing VMs across zones in a region. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetShape { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedTargetShape = 0, - /// GCE picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. + /// GCE picks zones for creating VM instances to fulfill the requested number of VMs within present resource constraints and to maximize utilization of unused zonal reservations. Recommended for batch workloads that do not require high availability. Any = 64972, - /// GCE always selects a single zone for all the VMs, optimizing for resource quotas, available reservations and general capacity. Recommended for batch workloads that cannot tollerate distribution over multiple zones. This the default shape in Bulk Insert and Capacity Advisor APIs. + /// GCE always selects a single zone for all the VMs, optimizing for resource quotas, available reservations and general capacity. Recommended for batch workloads that cannot tollerate distribution over multiple zones. This the default shape in Bulk Insert and Capacity Advisor APIs. AnySingleZone = 61100880, - /// GCE prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across allowed zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. + /// GCE prioritizes acquisition of resources, scheduling VMs in zones where resources are available while distributing VMs as evenly as possible across allowed zones to minimize the impact of zonal failure. Recommended for highly available serving workloads. Balanced = 468409608, } impl TargetShape { @@ -16964,27 +16964,27 @@ pub mod location_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPolicyLocation { - /// Constraints that the caller requires on the result distribution in this zone. + /// Constraints that the caller requires on the result distribution in this zone. #[prost(message, optional, tag="3909174")] pub constraints: ::core::option::Option, - /// Preference for a given location. Set to either ALLOW or DENY. - /// Check the Preference enum for the list of possible values. + /// Preference for a given location. Set to either ALLOW or DENY. + /// Check the Preference enum for the list of possible values. #[prost(string, optional, tag="150781147")] pub preference: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `LocationPolicyLocation`. pub mod location_policy_location { - /// Preference for a given location. Set to either ALLOW or DENY. + /// Preference for a given location. Set to either ALLOW or DENY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Preference { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPreference = 0, - /// Location is allowed for use. + /// Location is allowed for use. Allow = 62368553, - /// Location is prohibited. + /// Location is prohibited. Deny = 2094604, - /// Default value, unused. + /// Default value, unused. Unspecified = 496219571, } impl Preference { @@ -17002,50 +17002,50 @@ pub mod location_policy_location { } } } -/// Per-zone constraints on location policy for this zone. +/// Per-zone constraints on location policy for this zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LocationPolicyLocationConstraints { - /// Maximum number of items that are allowed to be placed in this zone. The value must be non-negative. + /// Maximum number of items that are allowed to be placed in this zone. The value must be non-negative. #[prost(int32, optional, tag="287620724")] pub max_count: ::core::option::Option, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogConfig { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, optional, tag="412852561")] pub cloud_audit: ::core::option::Option, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, optional, tag="420959740")] pub counter: ::core::option::Option, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, optional, tag="286633881")] pub data_access: ::core::option::Option, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogConfigCloudAuditOptions { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, optional, tag="217861624")] pub authorization_logging_options: ::core::option::Option, - /// This is deprecated and has no effect. Do not use. - /// Check the LogName enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the LogName enum for the list of possible values. #[prost(string, optional, tag="402913958")] pub log_name: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `LogConfigCloudAuditOptions`. pub mod log_config_cloud_audit_options { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogName { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLogName = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. AdminActivity = 427503135, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. DataAccess = 238070681, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. UnspecifiedLogName = 410515182, } impl LogName { @@ -17063,48 +17063,48 @@ pub mod log_config_cloud_audit_options { } } } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogConfigCounterOptions { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, repeated, tag="249651015")] pub custom_fields: ::prost::alloc::vec::Vec, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="97427706")] pub field: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="533067184")] pub metric: ::core::option::Option<::prost::alloc::string::String>, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogConfigCounterOptionsCustomField { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LogConfigDataAccessOptions { - /// This is deprecated and has no effect. Do not use. - /// Check the LogMode enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the LogMode enum for the list of possible values. #[prost(string, optional, tag="402897342")] pub log_mode: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `LogConfigDataAccessOptions`. pub mod log_config_data_access_options { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLogMode = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. LogFailClosed = 360469778, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Unspecified = 88160822, } impl LogMode { @@ -17121,69 +17121,69 @@ pub mod log_config_data_access_options { } } } -/// Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images. +/// Represents a machine image resource. A machine image is a Compute Engine resource that stores all the configuration, metadata, permissions, and data from one or more disks required to create a Virtual machine (VM) instance. For more information, see Machine images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineImage { - /// [Output Only] The creation timestamp for this machine image in RFC3339 text format. + /// [Output Only] The creation timestamp for this machine image in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. + /// [Input Only] Whether to attempt an application consistent machine image by informing the OS to prepare for the snapshot process. #[prost(bool, optional, tag="385550813")] pub guest_flush: ::core::option::Option, - /// [Output Only] A unique identifier for this machine image. The server defines this identifier. + /// [Output Only] A unique identifier for this machine image. The server defines this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Properties of source instance + /// [Output Only] Properties of source instance #[prost(message, optional, tag="215355165")] pub instance_properties: ::core::option::Option, - /// [Output Only] The resource type, which is always compute#machineImage for machine image. + /// [Output Only] The resource type, which is always compute#machineImage for machine image. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later. + /// Encrypts the machine image using a customer-supplied encryption key. After you encrypt a machine image using a customer-supplied key, you must provide the same key if you use the machine image later. For example, you must provide the encryption key when you create an instance from the encrypted machine image in a future request. Customer-supplied encryption keys do not protect access to metadata of the machine image. If you do not provide an encryption key when creating the machine image, then the machine image will be encrypted using an automatically generated key and you do not need to provide a key to use the machine image later. #[prost(message, optional, tag="528089087")] pub machine_image_encryption_key: ::core::option::Option, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// An array of Machine Image specific properties for disks attached to the source instance + /// An array of Machine Image specific properties for disks attached to the source instance #[prost(message, repeated, tag="397424318")] pub saved_disks: ::prost::alloc::vec::Vec, - /// [Output Only] The URL for this machine image. The server defines this URL. + /// [Output Only] The URL for this machine image. The server defines this URL. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key. + /// [Input Only] The customer-supplied encryption key of the disks attached to the source instance. Required if the source disk is protected by a customer-supplied encryption key. #[prost(message, repeated, tag="370408498")] pub source_disk_encryption_keys: ::prost::alloc::vec::Vec, - /// The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /instances/instance - projects/project/zones/zone/instances/instance + /// The source instance used to create the machine image. You can provide this as a partial or full URL to the resource. For example, the following are valid values: - /instances/instance - projects/project/zones/zone/instances/instance #[prost(string, optional, tag="396315705")] pub source_instance: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field. + /// [Output Only] DEPRECATED: Please use instance_properties instead for source instance related properties. New properties will not be added to this field. #[prost(message, optional, tag="475195641")] pub source_instance_properties: ::core::option::Option, - /// [Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// The regional or multi-regional Cloud Storage bucket location where the machine image is stored. + /// The regional or multi-regional Cloud Storage bucket location where the machine image is stored. #[prost(string, repeated, tag="328005274")] pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Total size of the storage used by the machine image. + /// [Output Only] Total size of the storage used by the machine image. #[prost(int64, optional, tag="81855468")] pub total_storage_bytes: ::core::option::Option, } /// Nested message and enum types in `MachineImage`. pub mod machine_image { - /// [Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. + /// [Output Only] The status of the machine image. One of the following values: INVALID, CREATING, READY, DELETING, and UPLOADING. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Creating = 455564985, Deleting = 528602024, @@ -17208,202 +17208,202 @@ pub mod machine_image { } } } -/// A list of machine images. +/// A list of machine images. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineImageList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of MachineImage resources. + /// A list of MachineImage resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#machineImagesListResponse for machine image lists. + /// [Output Only] The resource type, which is always compute#machineImagesListResponse for machine image lists. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types. +/// Represents a Machine Type resource. You can use specific machine types for your VM instances based on performance and pricing requirements. For more information, read Machine Types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineType { - /// [Output Only] A list of accelerator configurations assigned to this machine type. + /// [Output Only] A list of accelerator configurations assigned to this machine type. #[prost(message, repeated, tag="269577064")] pub accelerators: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable. + /// [Output Only] The deprecation status associated with this machine type. Only applicable if the machine type is unavailable. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] An optional textual description of the resource. + /// [Output Only] An optional textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The number of virtual CPUs that are available to the instance. + /// [Output Only] The number of virtual CPUs that are available to the instance. #[prost(int32, optional, tag="393356754")] pub guest_cpus: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// \[Deprecated\] This property is deprecated and will never be populated with any relevant values. + /// \[Deprecated\] This property is deprecated and will never be populated with any relevant values. #[prost(int32, optional, tag="75331864")] pub image_space_gb: ::core::option::Option, - /// [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information. + /// [Output Only] Whether this machine type has a shared CPU. See Shared-core machine types for more information. #[prost(bool, optional, tag="521399555")] pub is_shared_cpu: ::core::option::Option, - /// [Output Only] The type of the resource. Always compute#machineType for machine types. + /// [Output Only] The type of the resource. Always compute#machineType for machine types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Maximum persistent disks allowed. + /// [Output Only] Maximum persistent disks allowed. #[prost(int32, optional, tag="496220941")] pub maximum_persistent_disks: ::core::option::Option, - /// [Output Only] Maximum total persistent disks size (GB) allowed. + /// [Output Only] Maximum total persistent disks size (GB) allowed. #[prost(int64, optional, tag="154274471")] pub maximum_persistent_disks_size_gb: ::core::option::Option, - /// [Output Only] The amount of physical memory available to the instance, defined in MB. + /// [Output Only] The amount of physical memory available to the instance, defined in MB. #[prost(int32, optional, tag="116001171")] pub memory_mb: ::core::option::Option, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of extended scratch disks assigned to the instance. + /// [Output Only] A list of extended scratch disks assigned to the instance. #[prost(message, repeated, tag="480778481")] pub scratch_disks: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the zone where the machine type resides, such as us-central1-a. + /// [Output Only] The name of the zone where the machine type resides, such as us-central1-a. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineTypeAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of MachineTypesScopedList resources. + /// A list of MachineTypesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, MachineTypesScopedList>, - /// [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types. + /// [Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of machine types. +/// Contains a list of machine types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineTypeList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of MachineType resources. + /// A list of MachineType resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. + /// [Output Only] Type of resource. Always compute#machineTypeList for lists of machine types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct MachineTypesScopedList { - /// [Output Only] A list of machine types contained in this scope. + /// [Output Only] A list of machine types contained in this scope. #[prost(message, repeated, tag="79720065")] pub machine_types: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that appears when the machine types list is empty. + /// [Output Only] An informational warning that appears when the machine types list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A Managed Instance resource. +/// A Managed Instance resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedInstance { - /// [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. - /// Check the CurrentAction enum for the list of possible values. + /// [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. + /// Check the CurrentAction enum for the list of possible values. #[prost(string, optional, tag="178475964")] pub current_action: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] The unique identifier for this resource. This field is empty when instance does not exist. + /// [Output only] The unique identifier for this resource. This field is empty when instance does not exist. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. + /// [Output Only] The URL of the instance. The URL can exist even if the instance has not yet been created. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Health state of the instance per health-check. + /// [Output Only] Health state of the instance per health-check. #[prost(message, repeated, tag="382667078")] pub instance_health: ::prost::alloc::vec::Vec, - /// [Output Only] The status of the instance. This field is empty when the instance does not exist. - /// Check the InstanceStatus enum for the list of possible values. + /// [Output Only] The status of the instance. This field is empty when the instance does not exist. + /// Check the InstanceStatus enum for the list of possible values. #[prost(string, optional, tag="174577372")] pub instance_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Information about the last attempt to create or delete the instance. + /// [Output Only] Information about the last attempt to create or delete the instance. #[prost(message, optional, tag="434771492")] pub last_attempt: ::core::option::Option, - /// [Output Only] Preserved state applied from per-instance config for this instance. + /// [Output Only] Preserved state applied from per-instance config for this instance. #[prost(message, optional, tag="98661858")] pub preserved_state_from_config: ::core::option::Option, - /// [Output Only] Preserved state generated based on stateful policy for this instance. + /// [Output Only] Preserved state generated based on stateful policy for this instance. #[prost(message, optional, tag="470783954")] pub preserved_state_from_policy: ::core::option::Option, - /// [Output Only] Intended version of this instance. + /// [Output Only] Intended version of this instance. #[prost(message, optional, tag="351608024")] pub version: ::core::option::Option, } /// Nested message and enum types in `ManagedInstance`. pub mod managed_instance { - /// [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// STOPPING - /// SUSPENDING + /// [Output Only] The current action that the managed instance group has scheduled for the instance. Possible values: - NONE The instance is running, and the managed instance group does not have any scheduled actions for this instance. - CREATING The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. - CREATING_WITHOUT_RETRIES The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased instead. - RECREATING The managed instance group is recreating this instance. - DELETING The managed instance group is permanently deleting this instance. - ABANDONING The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. - RESTARTING The managed instance group is restarting the instance. - REFRESHING The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. - VERIFYING The managed instance group has created the instance and it is in the process of being verified. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// STOPPING + /// SUSPENDING #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CurrentAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCurrentAction = 0, - /// The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. + /// The managed instance group is abandoning this instance. The instance will be removed from the instance group and from any target pools that are associated with this group. Abandoning = 388244813, - /// The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. + /// The managed instance group is creating this instance. If the group fails to create this instance, it will try again until it is successful. Creating = 455564985, - /// The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased. + /// The managed instance group is attempting to create this instance only once. If the group fails to create this instance, it does not try again and the group's targetSize value is decreased. CreatingWithoutRetries = 428843785, - /// The managed instance group is permanently deleting this instance. + /// The managed instance group is permanently deleting this instance. Deleting = 528602024, - /// The managed instance group has not scheduled any actions for this instance. + /// The managed instance group has not scheduled any actions for this instance. None = 2402104, - /// The managed instance group is recreating this instance. + /// The managed instance group is recreating this instance. Recreating = 287278572, - /// The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. + /// The managed instance group is applying configuration changes to the instance without stopping it. For example, the group can update the target pool list for an instance without stopping that instance. Refreshing = 163266343, - /// The managed instance group is restarting this instance. + /// The managed instance group is restarting this instance. Restarting = 320534387, - /// The managed instance group is resuming this instance. + /// The managed instance group is resuming this instance. Resuming = 446856618, - /// The managed instance group is starting this instance. + /// The managed instance group is starting this instance. Starting = 488820800, - /// The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions). + /// The managed instance group is verifying this already created instance. Verification happens every time the instance is (re)created or restarted and consists of: 1. Waiting until health check specified as part of this managed instance group's autohealing policy reports HEALTHY. Note: Applies only if autohealing policy has a health check specified 2. Waiting for addition verification steps performed as post-instance creation (subject to future extensions). Verifying = 16982185, } impl CurrentAction { @@ -17428,32 +17428,32 @@ pub mod managed_instance { } } } - /// [Output Only] The status of the instance. This field is empty when the instance does not exist. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// STOPPING - /// SUSPENDING + /// [Output Only] The status of the instance. This field is empty when the instance does not exist. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// STOPPING + /// SUSPENDING #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstanceStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstanceStatus = 0, - /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. + /// The Nanny is halted and we are performing tear down tasks like network deprogramming, releasing quota, IP, tearing down disks etc. Deprovisioning = 428935662, - /// Resources are being allocated for the instance. + /// Resources are being allocated for the instance. Provisioning = 290896621, - /// The instance is in repair. + /// The instance is in repair. Repairing = 413483285, - /// The instance is running. + /// The instance is running. Running = 121282975, - /// All required resources have been allocated and the instance is being started. + /// All required resources have been allocated and the instance is being started. Staging = 431072283, - /// The instance has stopped successfully. + /// The instance has stopped successfully. Stopped = 444276141, Stopping = 350791796, - /// The instance has suspended. + /// The instance has suspended. Suspended = 51223995, Suspending = 514206246, - /// The instance has stopped (either by explicit action or underlying failure). + /// The instance has stopped (either by explicit action or underlying failure). Terminated = 250018339, } impl InstanceStatus { @@ -17481,31 +17481,31 @@ pub mod managed_instance { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedInstanceInstanceHealth { - /// [Output Only] The current detailed instance health state. - /// Check the DetailedHealthState enum for the list of possible values. + /// [Output Only] The current detailed instance health state. + /// Check the DetailedHealthState enum for the list of possible values. #[prost(string, optional, tag="510470173")] pub detailed_health_state: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL for the health check that verifies whether the instance is healthy. + /// [Output Only] The URL for the health check that verifies whether the instance is healthy. #[prost(string, optional, tag="308876645")] pub health_check: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ManagedInstanceInstanceHealth`. pub mod managed_instance_instance_health { - /// [Output Only] The current detailed instance health state. + /// [Output Only] The current detailed instance health state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DetailedHealthState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDetailedHealthState = 0, - /// The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused. + /// The instance is being drained. The existing connections to the instance have time to complete, but the new ones are being refused. Draining = 480455402, - /// The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check. + /// The instance is reachable i.e. a connection to the application health checking endpoint can be established, and conforms to the requirements defined by the health check. Healthy = 439801213, - /// The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout. + /// The instance is unreachable i.e. a connection to the application health checking endpoint cannot be established, or the server does not respond within the specified timeout. Timeout = 477813057, - /// The instance is reachable, but does not conform to the requirements defined by the health check. + /// The instance is reachable, but does not conform to the requirements defined by the health check. Unhealthy = 462118084, - /// The health checking system is aware of the instance but its health is not known at the moment. + /// The health checking system is aware of the instance but its health is not known at the moment. Unknown = 433141802, } impl DetailedHealthState { @@ -17528,57 +17528,57 @@ pub mod managed_instance_instance_health { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedInstanceLastAttempt { - /// [Output Only] Encountered errors during the last attempt to create or delete the instance. + /// [Output Only] Encountered errors during the last attempt to create or delete the instance. #[prost(message, optional, tag="315977579")] pub errors: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedInstanceVersion { - /// [Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }. + /// [Output Only] The intended template of the instance. This field is empty when current_action is one of { DELETING, ABANDONING }. #[prost(string, optional, tag="309248228")] pub instance_template: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the version. + /// [Output Only] Name of the version. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } -/// A metadata key/value entry. +/// A metadata key/value entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metadata { - /// Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. + /// Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Array of key/value pairs. The total size of all keys and values must be less than 512 KB. + /// Array of key/value pairs. The total size of all keys and values must be less than 512 KB. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#metadata for metadata. + /// [Output Only] Type of the resource. Always compute#metadata for metadata. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, } -/// Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers. +/// Opaque filter criteria used by load balancers to restrict routing configuration to a limited set of load balancing proxies. Proxies and sidecars involved in load balancing would typically present metadata to the load balancers that need to match criteria specified here. If a match takes place, the relevant configuration is made available to those proxies. For each metadataFilter in this list, if its filterMatchCriteria is set to MATCH_ANY, at least one of the filterLabels must match the corresponding label provided in the metadata. If its filterMatchCriteria is set to MATCH_ALL, then all of its filterLabels must match with corresponding labels provided in the metadata. An example for using metadataFilters would be: if load balancing involves Envoys, they receive routing configuration when values in metadataFilters match values supplied in of their XDS requests to loadbalancers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataFilter { - /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. + /// The list of label value pairs that must match labels in the provided metadata based on filterMatchCriteria This list must not be empty and can have at the most 64 entries. #[prost(message, repeated, tag="307903142")] pub filter_labels: ::prost::alloc::vec::Vec, - /// Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. - /// Check the FilterMatchCriteria enum for the list of possible values. + /// Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. + /// Check the FilterMatchCriteria enum for the list of possible values. #[prost(string, optional, tag="239970368")] pub filter_match_criteria: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `MetadataFilter`. pub mod metadata_filter { - /// Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. + /// Specifies how individual filter label matches within the list of filterLabels and contributes toward the overall metadataFilter match. Supported values are: - MATCH_ANY: at least one of the filterLabels must have a matching label in the provided metadata. - MATCH_ALL: all filterLabels must have matching labels in the provided metadata. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FilterMatchCriteria { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedFilterMatchCriteria = 0, - /// Specifies that all filterLabels must match for the metadataFilter to be considered a match. + /// Specifies that all filterLabels must match for the metadataFilter to be considered a match. MatchAll = 180663271, - /// Specifies that any filterLabel must match for the metadataFilter to be considered a match. + /// Specifies that any filterLabel must match for the metadataFilter to be considered a match. MatchAny = 180663346, - /// Indicates that the match criteria was not set. A metadataFilter must never be created with this value. + /// Indicates that the match criteria was not set. A metadataFilter must never be created with this value. NotSet = 163646646, } impl FilterMatchCriteria { @@ -17596,131 +17596,131 @@ pub mod metadata_filter { } } } -/// MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer. +/// MetadataFilter label name value pairs that are expected to match corresponding labels presented as metadata to the load balancer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetadataFilterLabelMatch { - /// Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. + /// Name of metadata label. The name can have a maximum length of 1024 characters and must be at least 1 character long. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The value of the label must match the specified value. value can have a maximum length of 1024 characters. + /// The value of the label must match the specified value. value can have a maximum length of 1024 characters. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Projects.MoveDisk. See the method description for details. +/// A request message for Projects.MoveDisk. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveDiskProjectRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="313008458")] pub disk_move_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.Move. See the method description for details. +/// A request message for FirewallPolicies.Move. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The new parent of the firewall policy. + /// The new parent of the firewall policy. #[prost(string, tag="459714768")] pub parent_id: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Projects.MoveInstance. See the method description for details. +/// A request message for Projects.MoveInstance. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveInstanceProjectRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="311664194")] pub instance_move_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// The named port. For example: <"http", 80>. +/// The named port. For example: <"http", 80>. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NamedPort { - /// The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. + /// The name for this named port. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The port number, which can be a value between 1 and 65535. + /// The port number, which can be a value between 1 and 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, } -/// Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. +/// Represents a VPC Network resource. Networks connect resources to each other and to the internet. For more information, read Virtual Private Cloud (VPC) Network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Network { - /// Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. + /// Deprecated in favor of subnet mode networks. The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created. #[prost(string, optional, tag="59234358")] pub i_pv4_range: ::core::option::Option<::prost::alloc::string::String>, - /// Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. + /// Must be set to create a VPC network. If not set, a legacy network is created. When set to true, the VPC network is created in auto mode. When set to false, the VPC network is created in custom mode. An auto mode VPC network starts with one subnet per region. Each subnet has a predetermined range as described in Auto mode VPC network IP ranges. For custom mode VPC networks, you can add subnets using the subnetworks insert method. #[prost(bool, optional, tag="256156690")] pub auto_create_subnetworks: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this field when you create the resource. + /// An optional description of this resource. Provide this field when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. . + /// Enable ULA internal ipv6 on this network. Enabling this feature will assign a /48 from google defined ULA prefix fd20::/20. . #[prost(bool, optional, tag="423757720")] pub enable_ula_internal_ipv6: ::core::option::Option, - /// [Output Only] URL of the firewall policy the network is associated with. + /// [Output Only] URL of the firewall policy the network is associated with. #[prost(string, optional, tag="498173265")] pub firewall_policy: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The gateway address for default routing out of the network, selected by GCP. + /// [Output Only] The gateway address for default routing out of the network, selected by GCP. #[prost(string, optional, tag="178678877")] pub gateway_i_pv4: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. . + /// When enabling ula internal ipv6, caller optionally can specify the /48 range they want from the google defined ULA prefix fd20::/20. The input must be a valid /48 ULA IPv6 address and must be within the fd20::/20. Operation will fail if the speficied /48 is already in used by another resource. If the field is not speficied, then a /48 range will be randomly allocated from fd20::/20 and returned via this field. . #[prost(string, optional, tag="277456807")] pub internal_ipv6_range: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#network for networks. + /// [Output Only] Type of the resource. Always compute#network for networks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460. + /// Maximum Transmission Unit in bytes. The minimum value for this field is 1300 and the maximum value is 8896. The suggested value is 1500, which is the default MTU used on the Internet, or 8896 if you want to use Jumbo frames. If unspecified, the value defaults to 1460. #[prost(int32, optional, tag="108462")] pub mtu: ::core::option::Option, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. - /// Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values. + /// The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. + /// Check the NetworkFirewallPolicyEnforcementOrder enum for the list of possible values. #[prost(string, optional, tag="6504784")] pub network_firewall_policy_enforcement_order: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of network peerings for the resource. + /// [Output Only] A list of network peerings for the resource. #[prost(message, repeated, tag="69883187")] pub peerings: ::prost::alloc::vec::Vec, - /// The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce. + /// The network-level routing configuration for this network. Used by Cloud Router to determine what type of network-wide routing behavior to enforce. #[prost(message, optional, tag="523556059")] pub routing_config: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource with the resource id. + /// [Output Only] Server-defined URL for this resource with the resource id. #[prost(string, optional, tag="44520962")] pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. + /// [Output Only] Server-defined fully-qualified URLs for all subnetworks in this VPC network. #[prost(string, repeated, tag="415853125")] pub subnetworks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Network`. pub mod network { - /// The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. + /// The network firewall policy enforcement order. Can be either AFTER_CLASSIC_FIREWALL or BEFORE_CLASSIC_FIREWALL. Defaults to AFTER_CLASSIC_FIREWALL if the field is not specified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkFirewallPolicyEnforcementOrder { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkFirewallPolicyEnforcementOrder = 0, AfterClassicFirewall = 154582608, BeforeClassicFirewall = 338458349, @@ -17739,37 +17739,37 @@ pub mod network { } } } -/// Represents a Google Cloud Armor network edge security service resource. +/// Represents a Google Cloud Armor network edge security service resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEdgeSecurityService { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a NetworkEdgeSecurityService. An up-to-date fingerprint must be provided in order to update the NetworkEdgeSecurityService, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a NetworkEdgeSecurityService. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices + /// [Output only] Type of the resource. Always compute#networkEdgeSecurityService for NetworkEdgeSecurityServices #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the resource resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// The resource URL for the network edge security service associated with this network edge security service. + /// The resource URL for the network edge security service associated with this network edge security service. #[prost(string, optional, tag="171082513")] pub security_policy: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource with the resource id. + /// [Output Only] Server-defined URL for this resource with the resource id. #[prost(string, optional, tag="44520962")] pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>, } @@ -17778,137 +17778,137 @@ pub struct NetworkEdgeSecurityService { pub struct NetworkEdgeSecurityServiceAggregatedList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NetworkEdgeSecurityServicesScopedList resources. + /// A list of NetworkEdgeSecurityServicesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, NetworkEdgeSecurityServicesScopedList>, - /// [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services. + /// [Output Only] Type of resource. Always compute#networkEdgeSecurityServiceAggregatedList for lists of Network Edge Security Services. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEdgeSecurityServicesScopedList { - /// A list of NetworkEdgeSecurityServices contained in this scope. + /// A list of NetworkEdgeSecurityServices contained in this scope. #[prost(message, repeated, tag="35530156")] pub network_edge_security_services: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of security policies when the list is empty. + /// Informational warning which replaces the list of security policies when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// The network endpoint. +/// The network endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpoint { - /// Metadata defined as annotations on the network endpoint. + /// Metadata defined as annotations on the network endpoint. #[prost(map="string, string", tag="112032548")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. + /// Optional fully qualified domain name of network endpoint. This can only be specified when NetworkEndpointGroup.network_endpoint_type is NON_GCP_FQDN_PORT. #[prost(string, optional, tag="3150485")] pub fqdn: ::core::option::Option<::prost::alloc::string::String>, - /// The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035. + /// The name for a specific VM instance that the IP address belongs to. This is required for network endpoints of type GCE_VM_IP_PORT. The instance must be in the same zone of network endpoint group. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. + /// Optional IPv4 address of network endpoint. The IP address must belong to a VM in Compute Engine (either the primary IP or as part of an aliased IP range). If the IP address is not specified, then the primary IP address for the VM instance in the network that the network endpoint group belongs to will be used. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. + /// Optional port number of network endpoint. If not specified, the defaultPort for the network endpoint group will be used. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, } -/// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. +/// Represents a collection of network endpoints. A network endpoint group (NEG) defines how a set of endpoints should be reached, whether they are reachable, and where they are located. For more information about using NEGs, see Setting up external HTTP(S) Load Balancing with internet NEGs, Setting up zonal NEGs, or Setting up external HTTP(S) Load Balancing with serverless NEGs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroup { - /// Metadata defined as annotations on the network endpoint group. + /// Metadata defined as annotations on the network endpoint group. #[prost(map="string, string", tag="112032548")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. #[prost(message, optional, tag="340788768")] pub app_engine: ::core::option::Option, - /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. #[prost(message, optional, tag="519893666")] pub cloud_function: ::core::option::Option, - /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. + /// Only valid when networkEndpointType is "SERVERLESS". Only one of cloudRun, appEngine or cloudFunction may be set. #[prost(message, optional, tag="111060353")] pub cloud_run: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// The default port used if the port number is not specified in the network endpoint. + /// The default port used if the port number is not specified in the network endpoint. #[prost(int32, optional, tag="423377855")] pub default_port: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group. + /// [Output Only] Type of the resource. Always compute#networkEndpointGroup for network endpoint group. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. + /// The URL of the network to which all network endpoints in the NEG belong. Uses "default" project network if unspecified. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. - /// Check the NetworkEndpointType enum for the list of possible values. + /// Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. + /// Check the NetworkEndpointType enum for the list of possible values. #[prost(string, optional, tag="118301523")] pub network_endpoint_type: ::core::option::Option<::prost::alloc::string::String>, - /// The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com" + /// The target service url used to set up private service connection to a Google API or a PSC Producer Service Attachment. An example value is: "asia-northeast3-cloudkms.googleapis.com" #[prost(string, optional, tag="269132134")] pub psc_target_service: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the region where the network endpoint group is located. + /// [Output Only] The URL of the region where the network endpoint group is located. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] Number of network endpoints in the network endpoint group. + /// [Output only] Number of network endpoints in the network endpoint group. #[prost(int32, optional, tag="3530753")] pub size: ::core::option::Option, - /// Optional URL of the subnetwork to which all network endpoints in the NEG belong. + /// Optional URL of the subnetwork to which all network endpoints in the NEG belong. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the zone where the network endpoint group is located. + /// [Output Only] The URL of the zone where the network endpoint group is located. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworkEndpointGroup`. pub mod network_endpoint_group { - /// Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. + /// Type of network endpoints in this network endpoint group. Can be one of GCE_VM_IP, GCE_VM_IP_PORT, NON_GCP_PRIVATE_IP_PORT, INTERNET_FQDN_PORT, INTERNET_IP_PORT, SERVERLESS, PRIVATE_SERVICE_CONNECT. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkEndpointType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkEndpointType = 0, - /// The network endpoint is represented by an IP address. + /// The network endpoint is represented by an IP address. GceVmIp = 401880793, - /// The network endpoint is represented by IP address and port pair. + /// The network endpoint is represented by IP address and port pair. GceVmIpPort = 501838375, - /// The network endpoint is represented by fully qualified domain name and port. + /// The network endpoint is represented by fully qualified domain name and port. InternetFqdnPort = 404154477, - /// The network endpoint is represented by an internet IP address and port. + /// The network endpoint is represented by an internet IP address and port. InternetIpPort = 477719963, - /// The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises. + /// The network endpoint is represented by an IP address and port. The endpoint belongs to a VM or pod running in a customer's on-premises. NonGcpPrivateIpPort = 336447968, - /// The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect + /// The network endpoint is either public Google APIs or services exposed by other GCP Project with a Service Attachment. The connection is set up by private service connect PrivateServiceConnect = 48134724, - /// The network endpoint is handled by specified serverless infrastructure. + /// The network endpoint is handled by specified serverless infrastructure. Serverless = 270492508, } impl NetworkEndpointType { @@ -17933,119 +17933,119 @@ pub mod network_endpoint_group { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NetworkEndpointGroupsScopedList resources. + /// A list of NetworkEndpointGroupsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, NetworkEndpointGroupsScopedList>, - /// [Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint groups. + /// [Output Only] The resource type, which is always compute#networkEndpointGroupAggregatedList for aggregated lists of network endpoint groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. +/// Configuration for an App Engine network endpoint group (NEG). The service is optional, may be provided explicitly or in the URL mask. The version is optional and can only be provided explicitly or in the URL mask when service is present. Note: App Engine service must be in the same project and located in the same region as the Serverless NEG. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupAppEngine { - /// Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". + /// Optional serving service. The service name is case-sensitive and must be 1-63 characters long. Example value: "default", "my-service". #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. + /// A template to parse service and version fields from a request URL. URL mask allows for routing to multiple App Engine services without having to create multiple Network Endpoint Groups and backend services. For example, the request URLs "foo1-dot-appname.appspot.com/v1" and "foo1-dot-appname.appspot.com/v2" can be backed by the same Serverless NEG with URL mask "-dot-appname.appspot.com/". The URL mask will parse them to { service = "foo1", version = "v1" } and { service = "foo1", version = "v2" } respectively. #[prost(string, optional, tag="103352252")] pub url_mask: ::core::option::Option<::prost::alloc::string::String>, - /// Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". + /// Optional serving version. The version name is case-sensitive and must be 1-100 characters long. Example value: "v1", "v2". #[prost(string, optional, tag="351608024")] pub version: ::core::option::Option<::prost::alloc::string::String>, } -/// Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. +/// Configuration for a Cloud Function network endpoint group (NEG). The function must be provided explicitly or in the URL mask. Note: Cloud Function must be in the same project and located in the same region as the Serverless NEG. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupCloudFunction { - /// A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". + /// A user-defined name of the Cloud Function. The function name is case-sensitive and must be 1-63 characters long. Example value: "func1". #[prost(string, optional, tag="307196888")] pub function: ::core::option::Option<::prost::alloc::string::String>, - /// A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. + /// A template to parse function field from a request URL. URL mask allows for routing to multiple Cloud Functions without having to create multiple Network Endpoint Groups and backend services. For example, request URLs " mydomain.com/function1" and "mydomain.com/function2" can be backed by the same Serverless NEG with URL mask "/". The URL mask will parse them to { function = "function1" } and { function = "function2" } respectively. #[prost(string, optional, tag="103352252")] pub url_mask: ::core::option::Option<::prost::alloc::string::String>, } -/// Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG. +/// Configuration for a Cloud Run network endpoint group (NEG). The service must be provided explicitly or in the URL mask. The tag is optional, may be provided explicitly or in the URL mask. Note: Cloud Run service must be in the same project and located in the same region as the Serverless NEG. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupCloudRun { - /// Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". + /// Cloud Run service is the main resource of Cloud Run. The service must be 1-63 characters long, and comply with RFC1035. Example value: "run-service". #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010". + /// Optional Cloud Run tag represents the "named-revision" to provide additional fine-grained traffic routing information. The tag must be 1-63 characters long, and comply with RFC1035. Example value: "revision-0010". #[prost(string, optional, tag="114586")] pub tag: ::core::option::Option<::prost::alloc::string::String>, - /// A template to parse and fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. + /// A template to parse and fields from a request URL. URL mask allows for routing to multiple Run services without having to create multiple network endpoint groups and backend services. For example, request URLs "foo1.domain.com/bar1" and "foo1.domain.com/bar2" can be backed by the same Serverless Network Endpoint Group (NEG) with URL mask ".domain.com/". The URL mask will parse them to { service="bar1", tag="foo1" } and { service="bar2", tag="foo2" } respectively. #[prost(string, optional, tag="103352252")] pub url_mask: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NetworkEndpointGroup resources. + /// A list of NetworkEndpointGroup resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists. + /// [Output Only] The resource type, which is always compute#networkEndpointGroupList for network endpoint group lists. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupsAttachEndpointsRequest { - /// The list of network endpoints to be attached. + /// The list of network endpoints to be attached. #[prost(message, repeated, tag="149850285")] pub network_endpoints: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupsDetachEndpointsRequest { - /// The list of network endpoints to be detached. + /// The list of network endpoints to be detached. #[prost(message, repeated, tag="149850285")] pub network_endpoints: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupsListEndpointsRequest { - /// Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided. - /// Check the HealthStatus enum for the list of possible values. + /// Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided. + /// Check the HealthStatus enum for the list of possible values. #[prost(string, optional, tag="380545845")] pub health_status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworkEndpointGroupsListEndpointsRequest`. pub mod network_endpoint_groups_list_endpoints_request { - /// Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided. + /// Optional query parameter for showing the health status of each network endpoint. Valid options are SKIP or SHOW. If you don't specify this parameter, the health status of network endpoints will not be provided. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HealthStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedHealthStatus = 0, - /// Show the health status for each network endpoint. Impacts latency of the call. + /// Show the health status for each network endpoint. Impacts latency of the call. Show = 2544381, - /// Health status for network endpoints will not be provided. + /// Health status for network endpoints will not be provided. Skip = 2547071, } impl HealthStatus { @@ -18065,105 +18065,105 @@ pub mod network_endpoint_groups_list_endpoints_request { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupsListNetworkEndpoints { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NetworkEndpointWithHealthStatus resources. + /// A list of NetworkEndpointWithHealthStatus resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group. + /// [Output Only] The resource type, which is always compute#networkEndpointGroupsListNetworkEndpoints for the list of network endpoints in the specified network endpoint group. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointGroupsScopedList { - /// [Output Only] The list of network endpoint groups that are contained in this scope. + /// [Output Only] The list of network endpoint groups that are contained in this scope. #[prost(message, repeated, tag="29346733")] pub network_endpoint_groups: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty. + /// [Output Only] An informational warning that replaces the list of network endpoint groups when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkEndpointWithHealthStatus { - /// [Output only] The health status of network endpoint; + /// [Output only] The health status of network endpoint; #[prost(message, repeated, tag="258689431")] pub healths: ::prost::alloc::vec::Vec, - /// [Output only] The network endpoint; + /// [Output only] The network endpoint; #[prost(message, optional, tag="56789126")] pub network_endpoint: ::core::option::Option, } -/// A network interface resource attached to an instance. +/// A network interface resource attached to an instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkInterface { - /// An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. + /// An array of configurations for this interface. Currently, only one access config, ONE_TO_ONE_NAT, is supported. If there are no accessConfigs specified, then this instance will have no external internet access. #[prost(message, repeated, tag="111058326")] pub access_configs: ::prost::alloc::vec::Vec, - /// An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks. + /// An array of alias IP ranges for this network interface. You can only specify this field for network interfaces in VPC networks. #[prost(message, repeated, tag="165085631")] pub alias_ip_ranges: ::prost::alloc::vec::Vec, - /// Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date. + /// Fingerprint hash of contents stored in this network interface. This field will be ignored when inserting an Instance or adding a NetworkInterface. An up-to-date fingerprint must be provided in order to update the NetworkInterface. The request will fail with error 400 Bad Request if the fingerprint is not provided, or 412 Precondition Failed if the fingerprint is out of date. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The prefix length of the primary internal IPv6 range. + /// The prefix length of the primary internal IPv6 range. #[prost(int32, optional, tag="203833757")] pub internal_ipv6_prefix_length: ::core::option::Option, - /// An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. + /// An array of IPv6 access configurations for this interface. Currently, only one IPv6 access config, DIRECT_IPV6, is supported. If there is no ipv6AccessConfig specified, then this instance will have no external IPv6 Internet access. #[prost(message, repeated, tag="483472110")] pub ipv6_access_configs: ::prost::alloc::vec::Vec, - /// [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. - /// Check the Ipv6AccessType enum for the list of possible values. + /// [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. + /// Check the Ipv6AccessType enum for the list of possible values. #[prost(string, optional, tag="504658653")] pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>, - /// An IPv6 internal network address for this network interface. + /// An IPv6 internal network address for this network interface. #[prost(string, optional, tag="341563804")] pub ipv6_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. + /// [Output Only] Type of the resource. Always compute#networkInterface for network interfaces. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0. + /// [Output Only] The name of the network interface, which is generated by the server. For a VM, the network interface uses the nicN naming format. Where N is a value between 0 and 7. The default interface value is nic0. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - network - projects/project/global/networks/network - global/networks/default + /// URL of the VPC network resource for this instance. When creating an instance, if neither the network nor the subnetwork is specified, the default network global/networks/default is used. If the selected project doesn't have the default network, you must specify a network or subnet. If the network is not specified but the subnetwork is specified, the network is inferred. If you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: - network - projects/project/global/networks/network - global/networks/default #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system. + /// An IPv4 internal IP address to assign to the instance for this network interface. If not specified by the user, an unused internal IP is assigned by the system. #[prost(string, optional, tag="207181961")] pub network_i_p: ::core::option::Option<::prost::alloc::string::String>, - /// The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. - /// Check the NicType enum for the list of possible values. + /// The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. + /// Check the NicType enum for the list of possible values. #[prost(string, optional, tag="59810577")] pub nic_type: ::core::option::Option<::prost::alloc::string::String>, - /// The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. + /// The networking queue count that's specified by users for the network interface. Both Rx and Tx queues will be set to this number. It'll be empty if not specified by the users. #[prost(int32, optional, tag="503708769")] pub queue_count: ::core::option::Option, - /// The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. - /// Check the StackType enum for the list of possible values. + /// The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - /subnetworks/subnetwork - regions/region/subnetworks/subnetwork + /// The URL of the Subnetwork resource for this instance. If the network resource is in legacy mode, do not specify this field. If the network is in auto subnet mode, specifying the subnetwork is optional. If the network is in custom subnet mode, specifying the subnetwork is required. If you specify this field, you can specify the subnetwork as a full or partial URL. For example, the following are all valid URLs: - /subnetworks/subnetwork - regions/region/subnetworks/subnetwork #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworkInterface`. pub mod network_interface { - /// [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. + /// [Output Only] One of EXTERNAL, INTERNAL to indicate whether the IP can be accessed from the Internet. This field is always inherited from its subnetwork. Valid only if stackType is IPV4_IPV6. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Ipv6AccessType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpv6AccessType = 0, - /// This network interface can have external IPv6. + /// This network interface can have external IPv6. External = 35607499, - /// This network interface can have internal IPv6. + /// This network interface can have internal IPv6. Internal = 279295677, UnspecifiedIpv6AccessType = 313080613, } @@ -18181,17 +18181,17 @@ pub mod network_interface { } } } - /// The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. + /// The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NicType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNicType = 0, - /// GVNIC + /// GVNIC Gvnic = 68209305, - /// No type specified. + /// No type specified. UnspecifiedNicType = 67411801, - /// VIRTIO + /// VIRTIO VirtioNet = 452123481, } impl NicType { @@ -18208,15 +18208,15 @@ pub mod network_interface { } } } - /// The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. + /// The stack type for this network interface to identify whether the IPv6 feature is enabled or not. If not specified, IPV4_ONLY will be used. This field can be both set at instance creation and update network interface operations. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// The network interface can have both IPv4 and IPv6 addresses. + /// The network interface can have both IPv4 and IPv6 addresses. Ipv4Ipv6 = 22197249, - /// The network interface will be assigned IPv4 address. + /// The network interface will be assigned IPv4 address. Ipv4Only = 22373798, UnspecifiedStackType = 298084569, } @@ -18235,81 +18235,81 @@ pub mod network_interface { } } } -/// Contains a list of networks. +/// Contains a list of networks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Network resources. + /// A list of Network resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#networkList for lists of networks. + /// [Output Only] Type of resource. Always compute#networkList for lists of networks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering. +/// A network peering attached to a network resource. The message includes the peering name, peer network, peering state, and a flag indicating whether Google Compute Engine should automatically create routes for the peering. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkPeering { - /// This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. + /// This field will be deprecated soon. Use the exchange_subnet_routes field instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. #[prost(bool, optional, tag="57454941")] pub auto_create_routes: ::core::option::Option, - /// Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. + /// Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. #[prost(bool, optional, tag="26322256")] pub exchange_subnet_routes: ::core::option::Option, - /// Whether to export the custom routes to peer network. The default value is false. + /// Whether to export the custom routes to peer network. The default value is false. #[prost(bool, optional, tag="60281485")] pub export_custom_routes: ::core::option::Option, - /// Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field. + /// Whether subnet routes with public IP range are exported. The default value is true, all subnet routes are exported. IPv4 special-use ranges are always exported to peers and are not controlled by this field. #[prost(bool, optional, tag="97940834")] pub export_subnet_routes_with_public_ip: ::core::option::Option, - /// Whether to import the custom routes from peer network. The default value is false. + /// Whether to import the custom routes from peer network. The default value is false. #[prost(bool, optional, tag="197982398")] pub import_custom_routes: ::core::option::Option, - /// Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field. + /// Whether subnet routes with public IP range are imported. The default value is false. IPv4 special-use ranges are always imported from peers and are not controlled by this field. #[prost(bool, optional, tag="14419729")] pub import_subnet_routes_with_public_ip: ::core::option::Option, - /// Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of this peering. Provided by the client when the peering is created. The name must comply with RFC1035. Specifically, the name must be 1-63 characters long and match regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all the following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. + /// The URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// Maximum Transmission Unit in bytes. + /// Maximum Transmission Unit in bytes. #[prost(int32, optional, tag="69584721")] pub peer_mtu: ::core::option::Option, - /// Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. - /// Check the StackType enum for the list of possible values. + /// Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. - /// Check the State enum for the list of possible values. + /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Details about the current state of the peering. + /// [Output Only] Details about the current state of the peering. #[prost(string, optional, tag="95566996")] pub state_details: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworkPeering`. pub mod network_peering { - /// Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. + /// Which IP version(s) of traffic and routes are allowed to be imported or exported between peer networks. The default value is IPV4_ONLY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well. + /// This Peering will allow IPv4 traffic and routes to be exchanged. Additionally if the matching peering is IPV4_IPV6, IPv6 traffic and routes will be exchanged as well. Ipv4Ipv6 = 22197249, - /// This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6. + /// This Peering will only allow IPv4 traffic and routes to be exchanged, even if the matching peering is IPV4_IPV6. Ipv4Only = 22373798, } impl StackType { @@ -18325,15 +18325,15 @@ pub mod network_peering { } } } - /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. + /// [Output Only] State for the peering, either `ACTIVE` or `INACTIVE`. The peering is `ACTIVE` when there's a matching configuration in the peer network. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// Matching configuration exists on the peer. + /// Matching configuration exists on the peer. Active = 314733318, - /// There is no matching configuration on the peer, including the case when peer does not exist. + /// There is no matching configuration on the peer, including the case when peer does not exist. Inactive = 270421099, } impl State { @@ -18353,8 +18353,8 @@ pub mod network_peering { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkPerformanceConfig { - /// - /// Check the TotalEgressBandwidthTier enum for the list of possible values. + /// + /// Check the TotalEgressBandwidthTier enum for the list of possible values. #[prost(string, optional, tag="130109439")] pub total_egress_bandwidth_tier: ::core::option::Option<::prost::alloc::string::String>, } @@ -18364,7 +18364,7 @@ pub mod network_performance_config { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TotalEgressBandwidthTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedTotalEgressBandwidthTier = 0, Default = 115302945, Tier1 = 326919444, @@ -18383,21 +18383,21 @@ pub mod network_performance_config { } } } -/// A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide. +/// A routing configuration attached to a network resource. The message includes the list of routers associated with the network, and a flag indicating the type of routing behavior to enforce network-wide. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkRoutingConfig { - /// The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. - /// Check the RoutingMode enum for the list of possible values. + /// The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. + /// Check the RoutingMode enum for the list of possible values. #[prost(string, optional, tag="475143548")] pub routing_mode: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworkRoutingConfig`. pub mod network_routing_config { - /// The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. + /// The network-wide routing mode to use. If set to REGIONAL, this network's Cloud Routers will only advertise routes with subnets of this network in the same region as the router. If set to GLOBAL, this network's Cloud Routers will advertise routes with all subnets of this network, across regions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RoutingMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRoutingMode = 0, Global = 494663587, Regional = 92288543, @@ -18419,56 +18419,56 @@ pub mod network_routing_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworksAddPeeringRequest { - /// This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. + /// This field will be deprecated soon. Use exchange_subnet_routes in network_peering instead. Indicates whether full mesh connectivity is created and managed automatically between peered networks. Currently this field should always be true since Google Compute Engine will automatically create and manage subnetwork routes between two networks when peering state is ACTIVE. #[prost(bool, optional, tag="57454941")] pub auto_create_routes: ::core::option::Option, - /// Name of the peering, which should conform to RFC1035. + /// Name of the peering, which should conform to RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon. + /// Network peering parameters. In order to specify route policies for peering using import and export custom routes, you must specify all peering related parameters (name, peer network, exchange_subnet_routes) in the network_peering field. The corresponding fields in NetworksAddPeeringRequest will be deprecated soon. #[prost(message, optional, tag="328926767")] pub network_peering: ::core::option::Option, - /// URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. + /// URL of the peer network. It can be either full URL or partial URL. The peer network may belong to a different project. If the partial URL does not contain project, it is assumed that the peer network is in the same project as the current network. #[prost(string, optional, tag="500625489")] pub peer_network: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworksGetEffectiveFirewallsResponse { - /// Effective firewalls from firewall policy. + /// Effective firewalls from firewall policy. #[prost(message, repeated, tag="410985794")] pub firewall_policys: ::prost::alloc::vec::Vec, - /// Effective firewalls on the network. + /// Effective firewalls on the network. #[prost(message, repeated, tag="272245619")] pub firewalls: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. + /// [Output Only] Deprecated, please use short name instead. The display name of the firewall policy. #[prost(string, optional, tag="4473832")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the firewall policy. + /// [Output Only] The name of the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The rules that apply to the network. + /// The rules that apply to the network. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// [Output Only] The short name of the firewall policy. + /// [Output Only] The short name of the firewall policy. #[prost(string, optional, tag="492051566")] pub short_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of the firewall policy. - /// Check the Type enum for the list of possible values. + /// [Output Only] The type of the firewall policy. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NetworksGetEffectiveFirewallsResponseEffectiveFirewallPolicy`. pub mod networks_get_effective_firewalls_response_effective_firewall_policy { - /// [Output Only] The type of the firewall policy. + /// [Output Only] The type of the firewall policy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Hierarchy = 69902869, Network = 413984270, @@ -18492,7 +18492,7 @@ pub mod networks_get_effective_firewalls_response_effective_firewall_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworksRemovePeeringRequest { - /// Name of the peering, which should conform to RFC1035. + /// Name of the peering, which should conform to RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, } @@ -18502,72 +18502,72 @@ pub struct NetworksUpdatePeeringRequest { #[prost(message, optional, tag="328926767")] pub network_peering: ::core::option::Option, } -/// Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes. +/// Represents a sole-tenant Node Group resource. A sole-tenant node is a physical server that is dedicated to hosting VM instances only for your specific project. Use sole-tenant nodes to keep your instances physically separated from instances in other projects, or to group your instances together on the same host hardware. For more information, read Sole-tenant nodes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroup { - /// Specifies how autoscaling should behave. + /// Specifies how autoscaling should behave. #[prost(message, optional, tag="221950041")] pub autoscaling_policy: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The type of the resource. Always compute#nodeGroup for node group. + /// [Output Only] The type of the resource. Always compute#nodeGroup for node group. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate. + /// An opaque location hint used to place the Node close to other resources. This field is for use by internal tools that use the public API. The location hint here on the NodeGroup overrides any location_hint present in the NodeTemplate. #[prost(string, optional, tag="350519505")] pub location_hint: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. - /// Check the MaintenancePolicy enum for the list of possible values. + /// Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. + /// Check the MaintenancePolicy enum for the list of possible values. #[prost(string, optional, tag="528327646")] pub maintenance_policy: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="186374812")] pub maintenance_window: ::core::option::Option, - /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the node template to create the node group from. + /// URL of the node template to create the node group from. #[prost(string, optional, tag="323154455")] pub node_template: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Share-settings for the node group + /// Share-settings for the node group #[prost(message, optional, tag="266668163")] pub share_settings: ::core::option::Option, - /// [Output Only] The total number of nodes in the node group. + /// [Output Only] The total number of nodes in the node group. #[prost(int32, optional, tag="3530753")] pub size: ::core::option::Option, - /// - /// Check the Status enum for the list of possible values. + /// + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the zone where the node group resides, such as us-central1-a. + /// [Output Only] The name of the zone where the node group resides, such as us-central1-a. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NodeGroup`. pub mod node_group { - /// Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. + /// Specifies how to handle instances when a node in the group undergoes maintenance. Set to one of: DEFAULT, RESTART_IN_PLACE, or MIGRATE_WITHIN_NODE_GROUP. The default value is DEFAULT. For more information, see Maintenance policies. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MaintenancePolicy { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMaintenancePolicy = 0, - /// Allow the node and corresponding instances to retain default maintenance behavior. + /// Allow the node and corresponding instances to retain default maintenance behavior. Default = 115302945, Unspecified = 72964182, - /// When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. + /// When maintenance must be done on a node, the instances on that node will be moved to other nodes in the group. Instances with onHostMaintenance = MIGRATE will live migrate to their destinations while instances with onHostMaintenance = TERMINATE will terminate and then restart on their destination nodes if automaticRestart = true. MigrateWithinNodeGroup = 153483394, - /// Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. + /// Instances in this group will restart on the same node when maintenance has completed. Instances must have onHostMaintenance = TERMINATE, and they will only restart if automaticRestart = true. RestartInPlace = 228647325, } impl MaintenancePolicy { @@ -18589,7 +18589,7 @@ pub mod node_group { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Creating = 455564985, Deleting = 528602024, @@ -18615,56 +18615,56 @@ pub mod node_group { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeGroupsScopedList resources. + /// A list of NodeGroupsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, NodeGroupsScopedList>, - /// [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of node groups. + /// [Output Only] Type of resource.Always compute#nodeGroupAggregatedList for aggregated lists of node groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupAutoscalingPolicy { - /// The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. + /// The maximum number of nodes that the group should have. Must be set if autoscaling is enabled. Maximum value allowed is 100. #[prost(int32, optional, tag="297762838")] pub max_nodes: ::core::option::Option, - /// The minimum number of nodes that the group should have. + /// The minimum number of nodes that the group should have. #[prost(int32, optional, tag="533370500")] pub min_nodes: ::core::option::Option, - /// The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. - /// Check the Mode enum for the list of possible values. + /// The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. + /// Check the Mode enum for the list of possible values. #[prost(string, optional, tag="3357091")] pub mode: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NodeGroupAutoscalingPolicy`. pub mod node_group_autoscaling_policy { - /// The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. + /// The autoscaling mode. Set to one of: ON, OFF, or ONLY_SCALE_OUT. For more information, see Autoscaler modes. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMode = 0, Unspecified = 371348091, - /// Autoscaling is disabled. + /// Autoscaling is disabled. Off = 78159, - /// Autocaling is fully enabled. + /// Autocaling is fully enabled. On = 2527, - /// Autoscaling will only scale out and will not remove nodes. + /// Autoscaling will only scale out and will not remove nodes. OnlyScaleOut = 152713670, } impl Mode { @@ -18683,90 +18683,90 @@ pub mod node_group_autoscaling_policy { } } } -/// Contains a list of nodeGroups. +/// Contains a list of nodeGroups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeGroup resources. + /// A list of NodeGroup resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. + /// [Output Only] Type of resource.Always compute#nodeGroupList for lists of node groups. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window. +/// Time window specified for daily maintenance operations. GCE's internal maintenance will be performed within this window. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupMaintenanceWindow { - /// [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. + /// [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. #[prost(message, optional, tag="525291840")] pub maintenance_duration: ::core::option::Option, - /// Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. + /// Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupNode { - /// Accelerators for this node. + /// Accelerators for this node. #[prost(message, repeated, tag="269577064")] pub accelerators: ::prost::alloc::vec::Vec, - /// Node resources that are reserved by all instances. + /// Node resources that are reserved by all instances. #[prost(message, optional, tag="334527118")] pub consumed_resources: ::core::option::Option, - /// CPU overcommit. - /// Check the CpuOvercommitType enum for the list of possible values. + /// CPU overcommit. + /// Check the CpuOvercommitType enum for the list of possible values. #[prost(string, optional, tag="247727959")] pub cpu_overcommit_type: ::core::option::Option<::prost::alloc::string::String>, - /// Local disk configurations. + /// Local disk configurations. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// Instance data that shows consumed resources on the node. + /// Instance data that shows consumed resources on the node. #[prost(message, repeated, tag="84715576")] pub instance_consumption_data: ::prost::alloc::vec::Vec, - /// Instances scheduled on this node. + /// Instances scheduled on this node. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The name of the node. + /// The name of the node. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The type of this node. + /// The type of this node. #[prost(string, optional, tag="465832791")] pub node_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// Binding properties for the physical server. + /// Binding properties for the physical server. #[prost(message, optional, tag="208179593")] pub server_binding: ::core::option::Option, - /// Server ID associated with this node. + /// Server ID associated with this node. #[prost(string, optional, tag="339433367")] pub server_id: ::core::option::Option<::prost::alloc::string::String>, - /// - /// Check the Status enum for the list of possible values. + /// + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// Total amount of available resources on the node. + /// Total amount of available resources on the node. #[prost(message, optional, tag="97406698")] pub total_resources: ::core::option::Option, } /// Nested message and enum types in `NodeGroupNode`. pub mod node_group_node { - /// CPU overcommit. + /// CPU overcommit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CpuOvercommitType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCpuOvercommitType = 0, Unspecified = 520665615, Enabled = 182130465, @@ -18790,7 +18790,7 @@ pub mod node_group_node { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Creating = 455564985, Deleting = 528602024, @@ -18818,115 +18818,115 @@ pub mod node_group_node { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupsAddNodesRequest { - /// Count of additional nodes to be added to the node group. + /// Count of additional nodes to be added to the node group. #[prost(int32, optional, tag="134997930")] pub additional_node_count: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupsDeleteNodesRequest { - /// Names of the nodes to delete. + /// Names of the nodes to delete. #[prost(string, repeated, tag="104993457")] pub nodes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupsListNodes { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Node resources. + /// A list of Node resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of nodes in the specified node group. + /// [Output Only] The resource type, which is always compute.nodeGroupsListNodes for the list of nodes in the specified node group. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupsScopedList { - /// [Output Only] A list of node groups contained in this scope. + /// [Output Only] A list of node groups contained in this scope. #[prost(message, repeated, tag="73188017")] pub node_groups: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that appears when the nodeGroup list is empty. + /// [Output Only] An informational warning that appears when the nodeGroup list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupsSetNodeTemplateRequest { - /// Full or partial URL of the node template resource to be updated for this node group. + /// Full or partial URL of the node template resource to be updated for this node group. #[prost(string, optional, tag="323154455")] pub node_template: ::core::option::Option<::prost::alloc::string::String>, } -/// Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. +/// Represent a sole-tenant Node Template resource. You can use a template to define properties for nodes in a node group. For more information, read Creating node groups and instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTemplate { #[prost(message, repeated, tag="269577064")] pub accelerators: ::prost::alloc::vec::Vec, - /// CPU overcommit. - /// Check the CpuOvercommitType enum for the list of possible values. + /// CPU overcommit. + /// Check the CpuOvercommitType enum for the list of possible values. #[prost(string, optional, tag="247727959")] pub cpu_overcommit_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. + /// [Output Only] The type of the resource. Always compute#nodeTemplate for node templates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to use for node affinity, which will be used in instance scheduling. + /// Labels to use for node affinity, which will be used in instance scheduling. #[prost(map="string, string", tag="339007161")] pub node_affinity_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The node type to use for nodes group that are created from this template. + /// The node type to use for nodes group that are created from this template. #[prost(string, optional, tag="465832791")] pub node_type: ::core::option::Option<::prost::alloc::string::String>, - /// The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both. + /// The flexible properties of the desired node type. Node groups that use this node template will create nodes of a type that matches these properties. This field is mutually exclusive with the node_type property; you can only define one or the other, but not both. #[prost(message, optional, tag="315257905")] pub node_type_flexibility: ::core::option::Option, - /// [Output Only] The name of the region where the node template resides, such as us-central1. + /// [Output Only] The name of the region where the node template resides, such as us-central1. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Sets the binding properties for the physical server. Valid values include: - *\[Default\]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information. + /// Sets the binding properties for the physical server. Valid values include: - *\[Default\]* RESTART_NODE_ON_ANY_SERVER: Restarts VMs on any available physical server - RESTART_NODE_ON_MINIMAL_SERVER: Restarts VMs on the same physical server whenever possible See Sole-tenant node options for more information. #[prost(message, optional, tag="208179593")] pub server_binding: ::core::option::Option, - /// [Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional, human-readable explanation of the status. + /// [Output Only] An optional, human-readable explanation of the status. #[prost(string, optional, tag="297428154")] pub status_message: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `NodeTemplate`. pub mod node_template { - /// CPU overcommit. + /// CPU overcommit. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CpuOvercommitType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCpuOvercommitType = 0, Unspecified = 520665615, Enabled = 182130465, @@ -18946,19 +18946,19 @@ pub mod node_template { } } } - /// [Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. + /// [Output Only] The status of the node template. One of the following values: CREATING, READY, and DELETING. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Resources are being allocated. + /// Resources are being allocated. Creating = 455564985, - /// The node template is currently being deleted. + /// The node template is currently being deleted. Deleting = 528602024, - /// Invalid status. + /// Invalid status. Invalid = 530283991, - /// The node template is ready. + /// The node template is ready. Ready = 77848963, } impl Status { @@ -18980,47 +18980,47 @@ pub mod node_template { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTemplateAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeTemplatesScopedList resources. + /// A list of NodeTemplatesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, NodeTemplatesScopedList>, - /// [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists of node templates. + /// [Output Only] Type of resource.Always compute#nodeTemplateAggregatedList for aggregated lists of node templates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of node templates. +/// Contains a list of node templates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTemplateList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeTemplate resources. + /// A list of NodeTemplate resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. + /// [Output Only] Type of resource.Always compute#nodeTemplateList for lists of node templates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -19037,262 +19037,262 @@ pub struct NodeTemplateNodeTypeFlexibility { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTemplatesScopedList { - /// [Output Only] A list of node templates contained in this scope. + /// [Output Only] A list of node templates contained in this scope. #[prost(message, repeated, tag="354111804")] pub node_templates: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that appears when the node templates list is empty. + /// [Output Only] An informational warning that appears when the node templates list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types. +/// Represent a sole-tenant Node Type resource. Each node within a node group must have a node type. A node type specifies the total amount of cores and memory for that node. Currently, the only available node type is n1-node-96-624 node type that has 96 vCPUs and 624 GB of memory, available in multiple zones. For more information read Node types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeType { - /// [Output Only] The CPU platform used by this node type. + /// [Output Only] The CPU platform used by this node type. #[prost(string, optional, tag="410285354")] pub cpu_platform: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The deprecation status associated with this node type. + /// [Output Only] The deprecation status associated with this node type. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] An optional textual description of the resource. + /// [Output Only] An optional textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The number of virtual CPUs that are available to the node type. + /// [Output Only] The number of virtual CPUs that are available to the node type. #[prost(int32, optional, tag="393356754")] pub guest_cpus: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The type of the resource. Always compute#nodeType for node types. + /// [Output Only] The type of the resource. Always compute#nodeType for node types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Local SSD available to the node type, defined in GB. + /// [Output Only] Local SSD available to the node type, defined in GB. #[prost(int32, optional, tag="329237578")] pub local_ssd_gb: ::core::option::Option, - /// [Output Only] The amount of physical memory available to the node type, defined in MB. + /// [Output Only] The amount of physical memory available to the node type, defined in MB. #[prost(int32, optional, tag="116001171")] pub memory_mb: ::core::option::Option, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the zone where the node type resides, such as us-central1-a. + /// [Output Only] The name of the zone where the node type resides, such as us-central1-a. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTypeAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeTypesScopedList resources. + /// A list of NodeTypesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, NodeTypesScopedList>, - /// [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of node types. + /// [Output Only] Type of resource.Always compute#nodeTypeAggregatedList for aggregated lists of node types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of node types. +/// Contains a list of node types. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTypeList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NodeType resources. + /// A list of NodeType resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. + /// [Output Only] Type of resource.Always compute#nodeTypeList for lists of node types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeTypesScopedList { - /// [Output Only] A list of node types contained in this scope. + /// [Output Only] A list of node types contained in this scope. #[prost(message, repeated, tag="482172924")] pub node_types: ::prost::alloc::vec::Vec, - /// [Output Only] An informational warning that appears when the node types list is empty. + /// [Output Only] An informational warning that appears when the node types list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview. +/// Represents a notification endpoint. A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service. For more information, see Health checks overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotificationEndpoint { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Settings of the gRPC notification endpoint including the endpoint URL and the retry duration. + /// Settings of the gRPC notification endpoint including the endpoint URL and the retry duration. #[prost(message, optional, tag="456139556")] pub grpc_settings: ::core::option::Option, - /// [Output Only] A unique identifier for this resource type. The server generates this identifier. + /// [Output Only] A unique identifier for this resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. + /// [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. +/// Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotificationEndpointGrpcSettings { - /// Optional. If specified, this field is used to set the authority header by the sender of notifications. See + /// Optional. If specified, this field is used to set the authority header by the sender of notifications. See #[prost(string, optional, tag="401868611")] pub authority: ::core::option::Option<::prost::alloc::string::String>, - /// Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name. + /// Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name. #[prost(string, optional, tag="130489749")] pub endpoint: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. If specified, this field is used to populate the "name" field in gRPC requests. + /// Optional. If specified, this field is used to populate the "name" field in gRPC requests. #[prost(string, optional, tag="300358300")] pub payload_name: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. + /// Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. #[prost(message, optional, tag="478288969")] pub resend_interval: ::core::option::Option, - /// How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number. + /// How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number. #[prost(uint32, optional, tag="115681117")] pub retry_duration_sec: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct NotificationEndpointList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NotificationEndpoint resources. + /// A list of NotificationEndpoint resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. + /// [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents an Operation resource. Google Compute Engine has three Operation resources: * \[Global\](/compute/docs/reference/rest/v1/globalOperations) * \[Regional\](/compute/docs/reference/rest/v1/regionOperations) * \[Zonal\](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources. +/// Represents an Operation resource. Google Compute Engine has three Operation resources: * \[Global\](/compute/docs/reference/rest/v1/globalOperations) * \[Regional\](/compute/docs/reference/rest/v1/regionOperations) * \[Zonal\](/compute/docs/reference/rest/v1/zoneOperations) You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. Operations can be global, regional or zonal. - For global operations, use the `globalOperations` resource. - For regional operations, use the `regionOperations` resource. - For zonal operations, use the `zonalOperations` resource. For more information, read Global, Regional, and Zonal Resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operation { - /// [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. + /// [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. #[prost(string, optional, tag="297240295")] pub client_operation_id: ::core::option::Option<::prost::alloc::string::String>, - /// \[Deprecated\] This field is deprecated. + /// \[Deprecated\] This field is deprecated. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A textual description of the operation, which is set when the operation is created. + /// [Output Only] A textual description of the operation, which is set when the operation is created. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The time that this operation was completed. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was completed. This value is in RFC3339 text format. #[prost(string, optional, tag="114938801")] pub end_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If errors are generated during processing of the operation, this field will be populated. + /// [Output Only] If errors are generated during processing of the operation, this field will be populated. #[prost(message, optional, tag="96784904")] pub error: ::core::option::Option, - /// [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`. + /// [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as `NOT FOUND`. #[prost(string, optional, tag="202521945")] pub http_error_message: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found. + /// [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a `404` means the resource was not found. #[prost(int32, optional, tag="312345196")] pub http_error_status_code: ::core::option::Option, - /// [Output Only] The unique identifier for the operation. This identifier is defined by the server. + /// [Output Only] The unique identifier for the operation. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The time that this operation was requested. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was requested. This value is in RFC3339 text format. #[prost(string, optional, tag="433722515")] pub insert_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always `compute#operation` for Operation resources. + /// [Output Only] Type of the resource. Always `compute#operation` for Operation resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the operation. + /// [Output Only] Name of the operation. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request. + /// [Output Only] An ID that represents a group of operations, such as when a group of operations results from a `bulkInsert` API request. #[prost(string, optional, tag="40171187")] pub operation_group_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on. + /// [Output Only] The type of operation, such as `insert`, `update`, or `delete`, and so on. #[prost(string, optional, tag="177650450")] pub operation_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses. + /// [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses. #[prost(int32, optional, tag="72663597")] pub progress: ::core::option::Option, - /// [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. + /// [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. + /// [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. #[prost(enumeration="operation::Status", optional, tag="181260274")] pub status: ::core::option::Option, - /// [Output Only] An optional textual description of the current status of the operation. + /// [Output Only] An optional textual description of the current status of the operation. #[prost(string, optional, tag="297428154")] pub status_message: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. + /// [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. #[prost(uint64, optional, tag="258165385")] pub target_id: ::core::option::Option, - /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. #[prost(string, optional, tag="62671336")] pub target_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] User who requested the operation, for example: `user@example.com`. + /// [Output Only] User who requested the operation, for example: `user@example.com`. #[prost(string, optional, tag="3599307")] pub user: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If warning messages are generated during processing of the operation, this field will be populated. + /// [Output Only] If warning messages are generated during processing of the operation, this field will be populated. #[prost(message, repeated, tag="498091095")] pub warnings: ::prost::alloc::vec::Vec, - /// [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. + /// [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Operation`. pub mod operation { - /// [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. + /// [Output Only] The status of the operation, which can be one of the following: `PENDING`, `RUNNING`, or `DONE`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Done = 2104194, Pending = 35394935, @@ -19316,132 +19316,132 @@ pub mod operation { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationAggregatedList { - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A map of scoped operation lists. + /// [Output Only] A map of scoped operation lists. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, OperationsScopedList>, - /// [Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists of operations. + /// [Output Only] Type of resource. Always `compute#operationAggregatedList` for aggregated lists of operations. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of Operation resources. +/// Contains a list of Operation resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationList { - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of Operation resources. + /// [Output Only] A list of Operation resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always `compute#operations` for Operations resource. + /// [Output Only] Type of resource. Always `compute#operations` for Operations resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than `maxResults`, use the `nextPageToken` as a value for the query parameter `pageToken` in the next list request. Subsequent list requests will have their own `nextPageToken` to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationsScopedList { - /// [Output Only] A list of operations contained in this scope. + /// [Output Only] A list of operations contained in this scope. #[prost(message, repeated, tag="4184044")] pub operations: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of operations when the list is empty. + /// [Output Only] Informational warning which replaces the list of operations when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. +/// Settings controlling the eviction of unhealthy hosts from the load balancing pool for the backend service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutlierDetection { - /// The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. + /// The base time that a host is ejected for. The real ejection time is equal to the base ejection time multiplied by the number of times the host has been ejected. Defaults to 30000ms or 30s. #[prost(message, optional, tag="80997255")] pub base_ejection_time: ::core::option::Option, - /// Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. + /// Number of errors before a host is ejected from the connection pool. When the backend host is accessed over HTTP, a 5xx return code qualifies as an error. Defaults to 5. #[prost(int32, optional, tag="387193248")] pub consecutive_errors: ::core::option::Option, - /// The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3. + /// The number of consecutive gateway failures (502, 503, 504 status or connection errors that are mapped to one of those status codes) before a consecutive gateway failure ejection occurs. Defaults to 3. #[prost(int32, optional, tag="417504250")] pub consecutive_gateway_failure: ::core::option::Option, - /// The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. + /// The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive 5xx. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 0. #[prost(int32, optional, tag="213133760")] pub enforcing_consecutive_errors: ::core::option::Option, - /// The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. + /// The percentage chance that a host will be actually ejected when an outlier status is detected through consecutive gateway failures. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. #[prost(int32, optional, tag="394440666")] pub enforcing_consecutive_gateway_failure: ::core::option::Option, - /// The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. + /// The percentage chance that a host will be actually ejected when an outlier status is detected through success rate statistics. This setting can be used to disable ejection or to ramp it up slowly. Defaults to 100. #[prost(int32, optional, tag="194508732")] pub enforcing_success_rate: ::core::option::Option, - /// Time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 1 second. + /// Time interval between ejection analysis sweeps. This can result in both new ejections as well as hosts being returned to service. Defaults to 1 second. #[prost(message, optional, tag="33547461")] pub interval: ::core::option::Option, - /// Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 50%. + /// Maximum percentage of hosts in the load balancing pool for the backend service that can be ejected. Defaults to 50%. #[prost(int32, optional, tag="18436888")] pub max_ejection_percent: ::core::option::Option, - /// The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5. + /// The number of hosts in a cluster that must have enough request volume to detect success rate outliers. If the number of hosts is less than this setting, outlier detection via success rate statistics is not performed for any host in the cluster. Defaults to 5. #[prost(int32, optional, tag="525766903")] pub success_rate_minimum_hosts: ::core::option::Option, - /// The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100. + /// The minimum number of total requests that must be collected in one interval (as defined by the interval duration above) to include this host in success rate based outlier detection. If the volume is lower than this setting, outlier detection via success rate statistics is not performed for that host. Defaults to 100. #[prost(int32, optional, tag="281425357")] pub success_rate_request_volume: ::core::option::Option, - /// This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900. + /// This factor is used to determine the ejection threshold for success rate outlier ejection. The ejection threshold is the difference between the mean success rate, and the product of this factor and the standard deviation of the mean success rate: mean - (stdev * success_rate_stdev_factor). This factor is divided by a thousand to get a double. That is, if the desired factor is 1.9, the runtime value should be 1900. Defaults to 1900. #[prost(int32, optional, tag="174735773")] pub success_rate_stdev_factor: ::core::option::Option, } -/// Next free: 7 +/// Next free: 7 #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketIntervals { - /// Average observed inter-packet interval in milliseconds. + /// Average observed inter-packet interval in milliseconds. #[prost(int64, optional, tag="204811827")] pub avg_ms: ::core::option::Option, - /// From how long ago in the past these intervals were observed. - /// Check the Duration enum for the list of possible values. + /// From how long ago in the past these intervals were observed. + /// Check the Duration enum for the list of possible values. #[prost(string, optional, tag="155471252")] pub duration: ::core::option::Option<::prost::alloc::string::String>, - /// Maximum observed inter-packet interval in milliseconds. + /// Maximum observed inter-packet interval in milliseconds. #[prost(int64, optional, tag="529474145")] pub max_ms: ::core::option::Option, - /// Minimum observed inter-packet interval in milliseconds. + /// Minimum observed inter-packet interval in milliseconds. #[prost(int64, optional, tag="536564403")] pub min_ms: ::core::option::Option, - /// Number of inter-packet intervals from which these statistics were derived. + /// Number of inter-packet intervals from which these statistics were derived. #[prost(int64, optional, tag="186329813")] pub num_intervals: ::core::option::Option, - /// The type of packets for which inter-packet intervals were computed. - /// Check the Type enum for the list of possible values. + /// The type of packets for which inter-packet intervals were computed. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PacketIntervals`. pub mod packet_intervals { - /// From how long ago in the past these intervals were observed. + /// From how long ago in the past these intervals were observed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Duration { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDuration = 0, Unspecified = 529071340, Hour = 2223588, - /// From BfdSession object creation time. + /// From BfdSession object creation time. Max = 76100, Minute = 126786068, } @@ -19460,17 +19460,17 @@ pub mod packet_intervals { } } } - /// The type of packets for which inter-packet intervals were computed. + /// The type of packets for which inter-packet intervals were computed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// Only applies to Echo packets. This shows the intervals between sending and receiving the same packet. + /// Only applies to Echo packets. This shows the intervals between sending and receiving the same packet. Loopback = 356174219, - /// Intervals between received packets. + /// Intervals between received packets. Receive = 189660867, - /// Intervals between transmitted packets. + /// Intervals between transmitted packets. Transmit = 452903600, Unspecified = 437714322, } @@ -19490,57 +19490,57 @@ pub mod packet_intervals { } } } -/// Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring. +/// Represents a Packet Mirroring resource. Packet Mirroring clones the traffic of specified instances in your Virtual Private Cloud (VPC) network and forwards it to a collector destination, such as an instance group of an internal TCP/UDP load balancer, for analysis or examination. For more information about setting up Packet Mirroring, see Using Packet Mirroring. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroring { - /// The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. + /// The Forwarding Rule resource of type loadBalancingScheme=INTERNAL that will be used as collector for mirrored traffic. The specified forwarding rule must have isMirroringCollector set to true. #[prost(message, optional, tag="426607853")] pub collector_ilb: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. - /// Check the Enable enum for the list of possible values. + /// Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. + /// Check the Enable enum for the list of possible values. #[prost(string, optional, tag="311764355")] pub enable: ::core::option::Option<::prost::alloc::string::String>, - /// Filter for mirrored traffic. If unspecified, all traffic is mirrored. + /// Filter for mirrored traffic. If unspecified, all traffic is mirrored. #[prost(message, optional, tag="336120696")] pub filter: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings. + /// [Output Only] Type of the resource. Always compute#packetMirroring for packet mirrorings. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored. + /// PacketMirroring mirroredResourceInfos. MirroredResourceInfo specifies a set of mirrored VM instances, subnetworks and/or tags for which traffic from/to all VM instances will be mirrored. #[prost(message, optional, tag="124817348")] pub mirrored_resources: ::core::option::Option, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network. + /// Specifies the mirrored VPC network. Only packets in this network will be mirrored. All mirrored VMs should have a NIC in the given network. All mirrored subnetworks should belong to the given network. #[prost(message, optional, tag="232872494")] pub network: ::core::option::Option, - /// The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535. + /// The priority of applying this configuration. Priority is used to break ties in cases where there is more than one matching rule. In the case of two rules that apply for a given Instance, the one with the lowest-numbered priority value wins. Default value is 1000. Valid range is 0 through 65535. #[prost(uint32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// [Output Only] URI of the region where the packetMirroring resides. + /// [Output Only] URI of the region where the packetMirroring resides. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PacketMirroring`. pub mod packet_mirroring { - /// Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. + /// Indicates whether or not this packet mirroring takes effect. If set to FALSE, this packet mirroring policy will not be enforced on the network. The default is TRUE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Enable { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEnable = 0, False = 66658563, True = 2583950, @@ -19559,58 +19559,58 @@ pub mod packet_mirroring { } } } -/// Contains a list of packetMirrorings. +/// Contains a list of packetMirrorings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of PacketMirroring resources. + /// A list of PacketMirroring resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, PacketMirroringsScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringFilter { - /// Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. + /// Protocols that apply as filter on mirrored traffic. If no protocols are specified, all traffic that matches the specified CIDR ranges is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. #[prost(string, repeated, tag="98544854")] pub i_p_protocols: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. + /// IP CIDR ranges that apply as filter on the source (ingress) or destination (egress) IP in the IP header. Only IPv4 is supported. If no ranges are specified, all traffic that matches the specified IPProtocols is mirrored. If neither cidrRanges nor IPProtocols is specified, all traffic is mirrored. #[prost(string, repeated, tag="487901697")] pub cidr_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. - /// Check the Direction enum for the list of possible values. + /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. + /// Check the Direction enum for the list of possible values. #[prost(string, optional, tag="111150975")] pub direction: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PacketMirroringFilter`. pub mod packet_mirroring_filter { - /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. + /// Direction of traffic to mirror, either INGRESS, EGRESS, or BOTH. The default is BOTH. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Direction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDirection = 0, - /// Default, both directions are mirrored. + /// Default, both directions are mirrored. Both = 2044801, - /// Only egress traffic is mirrored. + /// Only egress traffic is mirrored. Egress = 432880501, - /// Only ingress traffic is mirrored. + /// Only ingress traffic is mirrored. Ingress = 516931221, } impl Direction { @@ -19631,974 +19631,974 @@ pub mod packet_mirroring_filter { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringForwardingRuleInfo { - /// [Output Only] Unique identifier for the forwarding rule; defined by the server. + /// [Output Only] Unique identifier for the forwarding rule; defined by the server. #[prost(string, optional, tag="512294820")] pub canonical_url: ::core::option::Option<::prost::alloc::string::String>, - /// Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic. + /// Resource URL to the forwarding rule representing the ILB configured as destination of the mirrored traffic. #[prost(string, optional, tag="116079")] pub url: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains a list of PacketMirroring resources. +/// Contains a list of PacketMirroring resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of PacketMirroring resources. + /// A list of PacketMirroring resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#packetMirroring for packetMirrorings. + /// [Output Only] Type of resource. Always compute#packetMirroring for packetMirrorings. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringMirroredResourceInfo { - /// A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. + /// A set of virtual machine instances that are being mirrored. They must live in zones contained in the same region as this packetMirroring. Note that this config will apply only to those network interfaces of the Instances that belong to the network specified in this packetMirroring. You may specify a maximum of 50 Instances. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, - /// A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks. + /// A set of subnetworks for which traffic from/to all VM instances will be mirrored. They must live in the same region as this packetMirroring. You may specify a maximum of 5 subnetworks. #[prost(message, repeated, tag="415853125")] pub subnetworks: ::prost::alloc::vec::Vec, - /// A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored. + /// A set of mirrored tags. Traffic from/to all VM instances that have one or more of these tags will be mirrored. #[prost(string, repeated, tag="3552281")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringMirroredResourceInfoInstanceInfo { - /// [Output Only] Unique identifier for the instance; defined by the server. + /// [Output Only] Unique identifier for the instance; defined by the server. #[prost(string, optional, tag="512294820")] pub canonical_url: ::core::option::Option<::prost::alloc::string::String>, - /// Resource URL to the virtual machine instance which is being mirrored. + /// Resource URL to the virtual machine instance which is being mirrored. #[prost(string, optional, tag="116079")] pub url: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringMirroredResourceInfoSubnetInfo { - /// [Output Only] Unique identifier for the subnetwork; defined by the server. + /// [Output Only] Unique identifier for the subnetwork; defined by the server. #[prost(string, optional, tag="512294820")] pub canonical_url: ::core::option::Option<::prost::alloc::string::String>, - /// Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored. + /// Resource URL to the subnetwork for which traffic from/to all VM instances will be mirrored. #[prost(string, optional, tag="116079")] pub url: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringNetworkInfo { - /// [Output Only] Unique identifier for the network; defined by the server. + /// [Output Only] Unique identifier for the network; defined by the server. #[prost(string, optional, tag="512294820")] pub canonical_url: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the network resource. + /// URL of the network resource. #[prost(string, optional, tag="116079")] pub url: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PacketMirroringsScopedList { - /// A list of packetMirrorings contained in this scope. + /// A list of packetMirrorings contained in this scope. #[prost(message, repeated, tag="154615079")] pub packet_mirrorings: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of packetMirrorings when the list is empty. + /// Informational warning which replaces the list of packetMirrorings when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for Autoscalers.Patch. See the method description for details. +/// A request message for Autoscalers.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchAutoscalerRequest { - /// Name of the autoscaler to patch. + /// Name of the autoscaler to patch. #[prost(string, optional, tag="517258967")] pub autoscaler: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.Patch. See the method description for details. +/// A request message for BackendBuckets.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchBackendBucketRequest { - /// Name of the BackendBucket resource to patch. + /// Name of the BackendBucket resource to patch. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="380757784")] pub backend_bucket_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for BackendServices.Patch. See the method description for details. +/// A request message for BackendServices.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchBackendServiceRequest { - /// Name of the BackendService resource to patch. + /// Name of the BackendService resource to patch. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.Patch. See the method description for details. +/// A request message for FirewallPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Firewalls.Patch. See the method description for details. +/// A request message for Firewalls.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchFirewallRequest { - /// Name of the firewall rule to patch. + /// Name of the firewall rule to patch. #[prost(string, tag="511016192")] pub firewall: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="41425005")] pub firewall_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for ForwardingRules.Patch. See the method description for details. +/// A request message for ForwardingRules.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchForwardingRuleRequest { - /// Name of the ForwardingRule resource to patch. + /// Name of the ForwardingRule resource to patch. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="301211695")] pub forwarding_rule_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalForwardingRules.Patch. See the method description for details. +/// A request message for GlobalForwardingRules.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchGlobalForwardingRuleRequest { - /// Name of the ForwardingRule resource to patch. + /// Name of the ForwardingRule resource to patch. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="301211695")] pub forwarding_rule_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalPublicDelegatedPrefixes.Patch. See the method description for details. +/// A request message for GlobalPublicDelegatedPrefixes.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchGlobalPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to patch. + /// Name of the PublicDelegatedPrefix resource to patch. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="47594501")] pub public_delegated_prefix_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for HealthChecks.Patch. See the method description for details. +/// A request message for HealthChecks.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchHealthCheckRequest { - /// Name of the HealthCheck resource to patch. + /// Name of the HealthCheck resource to patch. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Images.Patch. See the method description for details. +/// A request message for Images.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchImageRequest { - /// Name of the image resource to patch. + /// Name of the image resource to patch. #[prost(string, tag="100313435")] pub image: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="371171954")] pub image_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.Patch. See the method description for details. +/// A request message for InstanceGroupManagers.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchInstanceGroupManagerRequest { - /// The name of the instance group manager. + /// The name of the instance group manager. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="261063946")] pub instance_group_manager_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where you want to create the managed instance group. + /// The name of the zone where you want to create the managed instance group. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InterconnectAttachments.Patch. See the method description for details. +/// A request message for InterconnectAttachments.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchInterconnectAttachmentRequest { - /// Name of the interconnect attachment to patch. + /// Name of the interconnect attachment to patch. #[prost(string, tag="308135284")] pub interconnect_attachment: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="212341369")] pub interconnect_attachment_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Interconnects.Patch. See the method description for details. +/// A request message for Interconnects.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchInterconnectRequest { - /// Name of the interconnect to update. + /// Name of the interconnect to update. #[prost(string, tag="224601230")] pub interconnect: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="397611167")] pub interconnect_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkEdgeSecurityServices.Patch. See the method description for details. +/// A request message for NetworkEdgeSecurityServices.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchNetworkEdgeSecurityServiceRequest { - /// Name of the network edge security service to update. + /// Name of the network edge security service to update. #[prost(string, tag="157011879")] pub network_edge_security_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="477548966")] pub network_edge_security_service_resource: ::core::option::Option, #[prost(string, optional, tag="106438894")] pub paths: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates fields to be updated as part of this request. + /// Indicates fields to be updated as part of this request. #[prost(string, optional, tag="500079778")] pub update_mask: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.Patch. See the method description for details. +/// A request message for NetworkFirewallPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Networks.Patch. See the method description for details. +/// A request message for Networks.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchNetworkRequest { - /// Name of the network to update. + /// Name of the network to update. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="122105599")] pub network_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NodeGroups.Patch. See the method description for details. +/// A request message for NodeGroups.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchNodeGroupRequest { - /// Name of the NodeGroup resource to update. + /// Name of the NodeGroup resource to update. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="505321899")] pub node_group_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for PacketMirrorings.Patch. See the method description for details. +/// A request message for PacketMirrorings.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchPacketMirroringRequest { - /// Name of the PacketMirroring resource to patch. + /// Name of the PacketMirroring resource to patch. #[prost(string, tag="22305996")] pub packet_mirroring: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="493501985")] pub packet_mirroring_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details. +/// A request message for InstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchPerInstanceConfigsInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="356650495")] pub instance_group_managers_patch_per_instance_configs_req_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details. +/// A request message for RegionInstanceGroupManagers.PatchPerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchPerInstanceConfigsRegionInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request, should conform to RFC1035. + /// Name of the region scoping this request, should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="197682890")] pub region_instance_group_manager_patch_instance_config_req_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PublicAdvertisedPrefixes.Patch. See the method description for details. +/// A request message for PublicAdvertisedPrefixes.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchPublicAdvertisedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicAdvertisedPrefix resource to patch. + /// Name of the PublicAdvertisedPrefix resource to patch. #[prost(string, tag="101874590")] pub public_advertised_prefix: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="233614223")] pub public_advertised_prefix_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for PublicDelegatedPrefixes.Patch. See the method description for details. +/// A request message for PublicDelegatedPrefixes.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchPublicDelegatedPrefixeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the PublicDelegatedPrefix resource to patch. + /// Name of the PublicDelegatedPrefix resource to patch. #[prost(string, tag="204238440")] pub public_delegated_prefix: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="47594501")] pub public_delegated_prefix_resource: ::core::option::Option, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionAutoscalers.Patch. See the method description for details. +/// A request message for RegionAutoscalers.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionAutoscalerRequest { - /// Name of the autoscaler to patch. + /// Name of the autoscaler to patch. #[prost(string, optional, tag="517258967")] pub autoscaler: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionBackendServices.Patch. See the method description for details. +/// A request message for RegionBackendServices.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionBackendServiceRequest { - /// Name of the BackendService resource to patch. + /// Name of the BackendService resource to patch. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthChecks.Patch. See the method description for details. +/// A request message for RegionHealthChecks.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionHealthCheckRequest { - /// Name of the HealthCheck resource to patch. + /// Name of the HealthCheck resource to patch. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthCheckServices.Patch. See the method description for details. +/// A request message for RegionHealthCheckServices.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionHealthCheckServiceRequest { - /// Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the HealthCheckService to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="408374747")] pub health_check_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="477367794")] pub health_check_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionInstanceGroupManagers.Patch. See the method description for details. +/// A request message for RegionInstanceGroupManagers.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionInstanceGroupManagerRequest { - /// The name of the instance group manager. + /// The name of the instance group manager. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="261063946")] pub instance_group_manager_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="495049532")] pub firewall_policy_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionSecurityPolicies.Patch. See the method description for details. +/// A request message for RegionSecurityPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the security policy to update. + /// Name of the security policy to update. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="216159612")] pub security_policy_resource: ::core::option::Option, } -/// A request message for RegionSslPolicies.Patch. See the method description for details. +/// A request message for RegionSslPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="274891848")] pub ssl_policy_resource: ::core::option::Option, } -/// A request message for RegionTargetHttpsProxies.Patch. See the method description for details. +/// A request message for RegionTargetHttpsProxies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource to patch. + /// Name of the TargetHttpsProxy resource to patch. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="433657473")] pub target_https_proxy_resource: ::core::option::Option, } -/// A request message for RegionUrlMaps.Patch. See the method description for details. +/// A request message for RegionUrlMaps.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. + /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to patch. + /// Name of the UrlMap resource to patch. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// A request message for Routers.Patch. See the method description for details. +/// A request message for Routers.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Router resource to patch. + /// Name of the Router resource to patch. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="155222084")] pub router_resource: ::core::option::Option, } -/// A request message for FirewallPolicies.PatchRule. See the method description for details. +/// A request message for FirewallPolicies.PatchRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRuleFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// The priority of the rule to patch. + /// The priority of the rule to patch. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.PatchRule. See the method description for details. +/// A request message for NetworkFirewallPolicies.PatchRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRuleNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// The priority of the rule to patch. + /// The priority of the rule to patch. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.PatchRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRuleRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="250523523")] pub firewall_policy_rule_resource: ::core::option::Option, - /// The priority of the rule to patch. + /// The priority of the rule to patch. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for SecurityPolicies.PatchRule. See the method description for details. +/// A request message for SecurityPolicies.PatchRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchRuleSecurityPolicyRequest { - /// The priority of the rule to patch. + /// The priority of the rule to patch. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the security policy to update. + /// Name of the security policy to update. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="402693443")] pub security_policy_rule_resource: ::core::option::Option, - /// If true, the request will not be committed. + /// If true, the request will not be committed. #[prost(bool, optional, tag="242744629")] pub validate_only: ::core::option::Option, } -/// A request message for SecurityPolicies.Patch. See the method description for details. +/// A request message for SecurityPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchSecurityPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the security policy to update. + /// Name of the security policy to update. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="216159612")] pub security_policy_resource: ::core::option::Option, } -/// A request message for ServiceAttachments.Patch. See the method description for details. +/// A request message for ServiceAttachments.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region scoping this request and should conform to RFC1035. + /// The region scoping this request and should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number. + /// The resource id of the ServiceAttachment to patch. It should conform to RFC1035 resource name or be a string form on an unsigned long number. #[prost(string, tag="338957549")] pub service_attachment: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="472980256")] pub service_attachment_resource: ::core::option::Option, } -/// A request message for SslPolicies.Patch. See the method description for details. +/// A request message for SslPolicies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchSslPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the SSL policy to update. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="295190213")] pub ssl_policy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="274891848")] pub ssl_policy_resource: ::core::option::Option, } -/// A request message for Subnetworks.Patch. See the method description for details. +/// A request message for Subnetworks.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchSubnetworkRequest { - /// The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork. The drain timeout is only applicable when the following conditions are true: - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP - the patch request is setting the role to ACTIVE. Note that after this patch operation the roles of the ACTIVE and BACKUP subnetworks will be swapped. + /// The drain timeout specifies the upper bound in seconds on the amount of time allowed to drain connections from the current ACTIVE subnetwork to the current BACKUP subnetwork. The drain timeout is only applicable when the following conditions are true: - the subnetwork being patched has purpose = INTERNAL_HTTPS_LOAD_BALANCER - the subnetwork being patched has role = BACKUP - the patch request is setting the role to ACTIVE. Note that after this patch operation the roles of the ACTIVE and BACKUP subnetworks will be swapped. #[prost(int32, optional, tag="357707098")] pub drain_timeout_seconds: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Subnetwork resource to patch. + /// Name of the Subnetwork resource to patch. #[prost(string, tag="307827694")] pub subnetwork: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="42233151")] pub subnetwork_resource: ::core::option::Option, } -/// A request message for TargetGrpcProxies.Patch. See the method description for details. +/// A request message for TargetGrpcProxies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchTargetGrpcProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetGrpcProxy resource to patch. + /// Name of the TargetGrpcProxy resource to patch. #[prost(string, tag="5020283")] pub target_grpc_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="328922450")] pub target_grpc_proxy_resource: ::core::option::Option, } -/// A request message for TargetHttpProxies.Patch. See the method description for details. +/// A request message for TargetHttpProxies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpProxy resource to patch. + /// Name of the TargetHttpProxy resource to patch. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="24696744")] pub target_http_proxy_resource: ::core::option::Option, } -/// A request message for TargetHttpsProxies.Patch. See the method description for details. +/// A request message for TargetHttpsProxies.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource to patch. + /// Name of the TargetHttpsProxy resource to patch. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="433657473")] pub target_https_proxy_resource: ::core::option::Option, } -/// A request message for UrlMaps.Patch. See the method description for details. +/// A request message for UrlMaps.Patch. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PatchUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to patch. + /// Name of the UrlMap resource to patch. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. +/// A matcher for the path portion of the URL. The BackendService from the longest-matched rule will serve the URL. If no rule was matched, the default service is used. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PathMatcher { - /// defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction. + /// defaultRouteAction takes effect when none of the pathRules or routeRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path matcher's defaultRouteAction. #[prost(message, optional, tag="378919466")] pub default_route_action: ::core::option::Option, - /// The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use + /// The full or partial URL to the BackendService resource. This URL is used if none of the pathRules or routeRules defined by this PathMatcher are matched. For example, the following are all valid URLs to a BackendService resource: - /global/backendServices/backendService - compute/v1/projects/project/global/backendServices/backendService - global/backendServices/backendService If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if defaultRouteAction specifies any weightedBackendServices, defaultService must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. Authorization requires one or more of the following Google IAM permissions on the specified resource default_service: - compute.backendBuckets.use - compute.backendServices.use #[prost(string, optional, tag="370242231")] pub default_service: ::core::option::Option<::prost::alloc::string::String>, - /// When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. + /// When none of the specified pathRules or routeRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, optional, tag="359503338")] pub default_url_redirect: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Specifies changes to request and response headers that need to take effect for the selected backend service. HeaderAction specified here are applied after the matching HttpRouteRule HeaderAction and before the HeaderAction in the UrlMap HeaderAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="328077352")] pub header_action: ::core::option::Option, - /// The name to which this PathMatcher is referred by the HostRule. + /// The name to which this PathMatcher is referred by the HostRule. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. + /// The list of path rules. Use this list instead of routeRules when routing based on simple path matching is all that's required. The order by which path rules are specified does not matter. Matches are always done on the longest-path-first basis. For example: a pathRule with a path /a/b/c/* will match before /a/b/* irrespective of the order in which those paths appear in this list. Within a given pathMatcher, only one of pathRules or routeRules must be set. #[prost(message, repeated, tag="104439901")] pub path_rules: ::prost::alloc::vec::Vec, - /// The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules. + /// The list of HTTP route rules. Use this list instead of pathRules when advanced route matching and routing actions are desired. routeRules are evaluated in order of priority, from the lowest to highest number. Within a given pathMatcher, you can set only one of pathRules or routeRules. #[prost(message, repeated, tag="376292225")] pub route_rules: ::prost::alloc::vec::Vec, } -/// A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL. +/// A path-matching rule for a URL. If matched, will use the specified BackendService to handle the traffic arriving at this URL. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PathRule { - /// The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. + /// The list of path patterns to match. Each must start with / and the only place a * is allowed is at the end following a /. The string fed to the path matcher does not include any text after the first ? or #, and those chars are not allowed here. #[prost(string, repeated, tag="106438894")] pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction. + /// In response to a matching path, the load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If routeAction specifies any weightedBackendServices, service must not be set. Conversely if service is set, routeAction cannot contain any weightedBackendServices. Only one of routeAction or urlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within a path rule's routeAction. #[prost(message, optional, tag="424563948")] pub route_action: ::core::option::Option, - /// The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. + /// The full or partial URL of the backend service resource to which traffic is directed if this rule is matched. If routeAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if service is specified, routeAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of urlRedirect, service or routeAction.weightedBackendService must be set. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. + /// When a path pattern is matched, the request is redirected to a URL specified by urlRedirect. If urlRedirect is specified, service or routeAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, optional, tag="405147820")] pub url_redirect: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PerInstanceConfig { - /// Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset. + /// Fingerprint of this per-instance config. This field can be used in optimistic locking. It is ignored when inserting a per-instance config. An up-to-date fingerprint must be provided in order to update an existing per-instance configuration or the field needs to be unset. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error. + /// The name of a per-instance configuration and its corresponding instance. Serves as a merge key during UpdatePerInstanceConfigs operations, that is, if a per-instance configuration with the same name exists then it will be updated, otherwise a new one will be created for the VM instance with the same name. An attempt to create a per-instance configconfiguration for a VM instance that either doesn't exist or is not part of the group will result in an error. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy. + /// The intended preserved state for the given instance. Does not contain preserved state generated from a stateful policy. #[prost(message, optional, tag="2634026")] pub preserved_state: ::core::option::Option, - /// The status of applying this per-instance configuration on the corresponding managed instance. - /// Check the Status enum for the list of possible values. + /// The status of applying this per-instance configuration on the corresponding managed instance. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PerInstanceConfig`. pub mod per_instance_config { - /// The status of applying this per-instance configuration on the corresponding managed instance. + /// The status of applying this per-instance configuration on the corresponding managed instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. + /// The per-instance configuration is being applied to the instance, but is not yet effective, possibly waiting for the instance to, for example, REFRESH. Applying = 352003508, - /// The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. + /// The per-instance configuration deletion is being applied on the instance, possibly waiting for the instance to, for example, REFRESH. Deleting = 528602024, - /// The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance. + /// The per-instance configuration is effective on the instance, meaning that all disks, ips and metadata specified in this configuration are attached or set on the instance. Effective = 244201863, - /// *\[Default\]* The default status, when no per-instance configuration exists. + /// *\[Default\]* The default status, when no per-instance configuration exists. None = 2402104, - /// The per-instance configuration is set on an instance but not been applied yet. + /// The per-instance configuration is set on an instance but not been applied yet. Unapplied = 483935140, - /// The per-instance configuration has been deleted, but the deletion is not yet applied. + /// The per-instance configuration has been deleted, but the deletion is not yet applied. UnappliedDeletion = 313956873, } impl Status { @@ -20619,66 +20619,66 @@ pub mod per_instance_config { } } } -/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](). +/// An Identity and Access Management (IAM) policy, which specifies access controls for Google Cloud resources. A `Policy` is a collection of `bindings`. A `binding` binds one or more `members`, or principals, to a single `role`. Principals can be user accounts, service accounts, Google groups, and domains (such as G Suite). A `role` is a named list of permissions; each `role` can be an IAM predefined role or a user-created custom role. For some types of Google Cloud resources, a `binding` can also specify a `condition`, which is a logical expression that allows access to a resource only if the expression evaluates to `true`. A condition can add constraints based on attributes of the request, the resource, or both. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). **JSON example:** { "bindings": [ { "role": "roles/resourcemanager.organizationAdmin", "members": [ "user:mike@example.com", "group:admins@example.com", "domain:google.com", "serviceAccount:my-project-id@appspot.gserviceaccount.com" ] }, { "role": "roles/resourcemanager.organizationViewer", "members": [ "user:eve@example.com" ], "condition": { "title": "expirable access", "description": "Does not grant access after Sep 2020", "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')", } } ], "etag": "BwWWja0YfJA=", "version": 3 } **YAML example:** bindings: - members: - user:mike@example.com - group:admins@example.com - domain:google.com - serviceAccount:my-project-id@appspot.gserviceaccount.com role: roles/resourcemanager.organizationAdmin - members: - user:eve@example.com role: roles/resourcemanager.organizationViewer condition: title: expirable access description: Does not grant access after Sep 2020 expression: request.time < timestamp('2020-10-01T00:00:00.000Z') etag: BwWWja0YfJA= version: 3 For a description of IAM and its features, see the [IAM documentation](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Policy { - /// Specifies cloud audit logging configuration for this policy. + /// Specifies cloud audit logging configuration for this policy. #[prost(message, repeated, tag="328080653")] pub audit_configs: ::prost::alloc::vec::Vec, - /// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. + /// Associates a list of `members`, or principals, with a `role`. Optionally, may specify a `condition` that determines how and when the `bindings` are applied. Each of the `bindings` must contain at least one principal. The `bindings` in a `Policy` can refer to up to 1,500 principals; up to 250 of these principals can be Google groups. Each occurrence of a principal counts towards these limits. For example, if the `bindings` grant 50 different roles to `user:alice@example.com`, and not to any other principal, then you can add another 1,450 principals to the `bindings` in the `Policy`. #[prost(message, repeated, tag="403251854")] pub bindings: ::prost::alloc::vec::Vec, - /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. + /// `etag` is used for optimistic concurrency control as a way to help prevent simultaneous updates of a policy from overwriting each other. It is strongly suggested that systems make use of the `etag` in the read-modify-write cycle to perform policy updates in order to avoid race conditions: An `etag` is returned in the response to `getIamPolicy`, and systems are expected to put that etag in the request to `setIamPolicy` to ensure that their change will be applied to the same version of the policy. **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, #[prost(bool, optional, tag="450566203")] pub iam_owned: ::core::option::Option, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). + /// Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](). #[prost(int32, optional, tag="351608024")] pub version: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreconfiguredWafSet { - /// List of entities that are currently supported for WAF rules. + /// List of entities that are currently supported for WAF rules. #[prost(message, repeated, tag="474011032")] pub expression_sets: ::prost::alloc::vec::Vec, } -/// Preserved state for a given instance. +/// Preserved state for a given instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreservedState { - /// Preserved disks defined for this instance. This map is keyed with the device names of the disks. + /// Preserved disks defined for this instance. This map is keyed with the device names of the disks. #[prost(map="string, message", tag="95594102")] pub disks: ::std::collections::HashMap<::prost::alloc::string::String, PreservedStatePreservedDisk>, - /// Preserved metadata defined for this instance. + /// Preserved metadata defined for this instance. #[prost(map="string, string", tag="86866735")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreservedStatePreservedDisk { - /// These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. - /// Check the AutoDelete enum for the list of possible values. + /// These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. + /// Check the AutoDelete enum for the list of possible values. #[prost(string, optional, tag="464761403")] pub auto_delete: ::core::option::Option<::prost::alloc::string::String>, - /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. - /// Check the Mode enum for the list of possible values. + /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. + /// Check the Mode enum for the list of possible values. #[prost(string, optional, tag="3357091")] pub mode: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the disk resource that is stateful and should be attached to the VM instance. + /// The URL of the disk resource that is stateful and should be attached to the VM instance. #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PreservedStatePreservedDisk`. pub mod preserved_state_preserved_disk { - /// These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. + /// These stateful disks will never be deleted during autohealing, update, instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole MIG is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AutoDelete { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAutoDelete = 0, Never = 74175084, OnPermanentInstanceDeletion = 95727719, @@ -20696,15 +20696,15 @@ pub mod preserved_state_preserved_disk { } } } - /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. + /// The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMode = 0, - /// Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time. + /// Attaches this disk in read-only mode. Multiple VM instances can use a disk in READ_ONLY mode at a time. ReadOnly = 91950261, - /// *\[Default\]* Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk in READ_WRITE mode. + /// *\[Default\]* Attaches this disk in READ_WRITE mode. Only one VM instance at a time can be attached to a disk in READ_WRITE mode. ReadWrite = 173607894, } impl Mode { @@ -20721,82 +20721,82 @@ pub mod preserved_state_preserved_disk { } } } -/// A request message for Routers.Preview. See the method description for details. +/// A request message for Routers.Preview. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PreviewRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name of the Router resource to query. + /// Name of the Router resource to query. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="155222084")] pub router_resource: ::core::option::Option, } -/// Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy. +/// Represents a Project resource. A project is used to organize resources in a Google Cloud Platform environment. For more information, read about the Resource Hierarchy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Project { - /// Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information. + /// Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information. #[prost(message, optional, tag="185794117")] pub common_instance_metadata: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. - /// Check the DefaultNetworkTier enum for the list of possible values. + /// This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. + /// Check the DefaultNetworkTier enum for the list of possible values. #[prost(string, optional, tag="471753361")] pub default_network_tier: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Default service account used by VMs running in this project. + /// [Output Only] Default service account used by VMs running in this project. #[prost(string, optional, tag="298712229")] pub default_service_account: ::core::option::Option<::prost::alloc::string::String>, - /// An optional textual description of the resource. + /// An optional textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Restricted features enabled for use on this project. + /// Restricted features enabled for use on this project. #[prost(string, repeated, tag="469017467")] pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. This is *not* the project ID, and is just a unique ID used by Compute Engine to identify resources. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#project for projects. + /// [Output Only] Type of the resource. Always compute#project for projects. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine. + /// The project ID. For example: my-example-project. Use the project ID to make requests to Compute Engine. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Quotas assigned to this project. + /// [Output Only] Quotas assigned to this project. #[prost(message, repeated, tag="125341947")] pub quotas: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. + /// The naming prefix for daily usage reports and the Google Cloud Storage bucket where they are stored. #[prost(message, optional, tag="347543874")] pub usage_export_location: ::core::option::Option, - /// [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. - /// Check the XpnProjectStatus enum for the list of possible values. + /// [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. + /// Check the XpnProjectStatus enum for the list of possible values. #[prost(string, optional, tag="228419265")] pub xpn_project_status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Project`. pub mod project { - /// This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. + /// This signifies the default network tier used for configuring resources of the project and can only take the following values: PREMIUM, STANDARD. Initially the default network tier is PREMIUM. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DefaultNetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDefaultNetworkTier = 0, - /// Public internet quality with fixed bandwidth. + /// Public internet quality with fixed bandwidth. FixedStandard = 310464328, - /// High quality, Google-grade network tier, support for all networking products. + /// High quality, Google-grade network tier, support for all networking products. Premium = 399530551, - /// Public internet quality, only limited support for other networking products. + /// Public internet quality, only limited support for other networking products. Standard = 484642493, - /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. StandardOverridesFixedStandard = 465847234, } impl DefaultNetworkTier { @@ -20814,11 +20814,11 @@ pub mod project { } } } - /// [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. + /// [Output Only] The role this project has in a shared VPC configuration. Currently, only projects with the host role, which is specified by the value HOST, are differentiated. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum XpnProjectStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedXpnProjectStatus = 0, Host = 2223528, UnspecifiedXpnProjectStatus = 340393257, @@ -20840,60 +20840,60 @@ pub mod project { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectsDisableXpnResourceRequest { - /// Service resource (a.k.a service project) ID. + /// Service resource (a.k.a service project) ID. #[prost(message, optional, tag="133384631")] pub xpn_resource: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectsEnableXpnResourceRequest { - /// Service resource (a.k.a service project) ID. + /// Service resource (a.k.a service project) ID. #[prost(message, optional, tag="133384631")] pub xpn_resource: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectsGetXpnResources { - /// [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects) + /// [Output Only] Type of resource. Always compute#projectsGetXpnResources for lists of service resources (a.k.a service projects) #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Service resources (a.k.a service projects) attached to this project as their shared VPC host. + /// Service resources (a.k.a service projects) attached to this project as their shared VPC host. #[prost(message, repeated, tag="164412965")] pub resources: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectsListXpnHostsRequest { - /// Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project. + /// Optional organization ID managed by Cloud Resource Manager, for which to list shared VPC host projects. If not specified, the organization will be inferred from the project. #[prost(string, optional, tag="105180467")] pub organization: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProjectsSetDefaultNetworkTierRequest { - /// Default network tier to be set. - /// Check the NetworkTier enum for the list of possible values. + /// Default network tier to be set. + /// Check the NetworkTier enum for the list of possible values. #[prost(string, optional, tag="517397843")] pub network_tier: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ProjectsSetDefaultNetworkTierRequest`. pub mod projects_set_default_network_tier_request { - /// Default network tier to be set. + /// Default network tier to be set. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkTier = 0, - /// Public internet quality with fixed bandwidth. + /// Public internet quality with fixed bandwidth. FixedStandard = 310464328, - /// High quality, Google-grade network tier, support for all networking products. + /// High quality, Google-grade network tier, support for all networking products. Premium = 399530551, - /// Public internet quality, only limited support for other networking products. + /// Public internet quality, only limited support for other networking products. Standard = 484642493, - /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. + /// (Output only) Temporary tier for FIXED_STANDARD when fixed standard tier is expired or not configured. StandardOverridesFixedStandard = 465847234, } impl NetworkTier { @@ -20912,68 +20912,68 @@ pub mod projects_set_default_network_tier_request { } } } -/// A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet. +/// A public advertised prefix represents an aggregated IP prefix or netblock which customers bring to cloud. The IP prefix is a single unit of route advertisement and is announced globally to the internet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicAdvertisedPrefix { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The IPv4 address to be used for reverse DNS verification. + /// The IPv4 address to be used for reverse DNS verification. #[prost(string, optional, tag="241011381")] pub dns_verification_ip: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicAdvertisedPrefix. An up-to-date fingerprint must be provided in order to update the PublicAdvertisedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicAdvertisedPrefix. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource type. The server generates this identifier. + /// [Output Only] The unique identifier for the resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// The IPv4 address range, in CIDR format, represented by this public advertised prefix. + /// The IPv4 address range, in CIDR format, represented by this public advertised prefix. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. + /// [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The list of public delegated prefixes that exist for this public advertised prefix. + /// [Output Only] The list of public delegated prefixes that exist for this public advertised prefix. #[prost(message, repeated, tag="425811723")] pub public_delegated_prefixs: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The shared secret to be used for reverse DNS verification. + /// [Output Only] The shared secret to be used for reverse DNS verification. #[prost(string, optional, tag="381932490")] pub shared_secret: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. - /// Check the Status enum for the list of possible values. + /// The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PublicAdvertisedPrefix`. pub mod public_advertised_prefix { - /// The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. + /// The status of the public advertised prefix. Possible values include: - `INITIAL`: RPKI validation is complete. - `PTR_CONFIGURED`: User has configured the PTR. - `VALIDATED`: Reverse DNS lookup is successful. - `REVERSE_DNS_LOOKUP_FAILED`: Reverse DNS lookup failed. - `PREFIX_CONFIGURATION_IN_PROGRESS`: The prefix is being configured. - `PREFIX_CONFIGURATION_COMPLETE`: The prefix is fully configured. - `PREFIX_REMOVAL_IN_PROGRESS`: The prefix is being removed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// RPKI validation is complete. + /// RPKI validation is complete. Initial = 518841124, - /// The prefix is fully configured. + /// The prefix is fully configured. PrefixConfigurationComplete = 480889551, - /// The prefix is being configured. + /// The prefix is being configured. PrefixConfigurationInProgress = 378550961, - /// The prefix is being removed. + /// The prefix is being removed. PrefixRemovalInProgress = 284375783, - /// User has configured the PTR. + /// User has configured the PTR. PtrConfigured = 513497167, - /// Reverse DNS lookup failed. + /// Reverse DNS lookup failed. ReverseDnsLookupFailed = 295755183, - /// Reverse DNS lookup is successful. + /// Reverse DNS lookup is successful. Validated = 66197998, } impl Status { @@ -20998,103 +20998,103 @@ pub mod public_advertised_prefix { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicAdvertisedPrefixList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of PublicAdvertisedPrefix resources. + /// A list of PublicAdvertisedPrefix resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. + /// [Output Only] Type of the resource. Always compute#publicAdvertisedPrefix for public advertised prefixes. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a CIDR range which can be used to assign addresses. +/// Represents a CIDR range which can be used to assign addresses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicAdvertisedPrefixPublicDelegatedPrefix { - /// The IP address range of the public delegated prefix + /// The IP address range of the public delegated prefix #[prost(string, optional, tag="145092645")] pub ip_range: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the public delegated prefix + /// The name of the public delegated prefix #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The project number of the public delegated prefix + /// The project number of the public delegated prefix #[prost(string, optional, tag="227560217")] pub project: ::core::option::Option<::prost::alloc::string::String>, - /// The region of the public delegated prefix if it is regional. If absent, the prefix is global. + /// The region of the public delegated prefix if it is regional. If absent, the prefix is global. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active. + /// The status of the public delegated prefix. Possible values are: INITIALIZING: The public delegated prefix is being initialized and addresses cannot be created yet. ANNOUNCED: The public delegated prefix is active. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } -/// A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block. +/// A PublicDelegatedPrefix resource represents an IP block within a PublicAdvertisedPrefix that is configured within a single cloud scope (global or region). IPs in the block can be allocated to resources within that scope. Public delegated prefixes may be further broken up into smaller IP blocks in the same scope as the parent block. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicDelegatedPrefix { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a new PublicDelegatedPrefix. An up-to-date fingerprint must be provided in order to update the PublicDelegatedPrefix, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a PublicDelegatedPrefix. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource type. The server generates this identifier. + /// [Output Only] The unique identifier for the resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// The IPv4 address range, in CIDR format, represented by this public delegated prefix. + /// The IPv4 address range, in CIDR format, represented by this public delegated prefix. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// If true, the prefix will be live migrated. + /// If true, the prefix will be live migrated. #[prost(bool, optional, tag="511823856")] pub is_live_migration: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. + /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefix for public delegated prefixes. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix. + /// The URL of parent prefix. Either PublicAdvertisedPrefix or PublicDelegatedPrefix. #[prost(string, optional, tag="15233991")] pub parent_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// The list of sub public delegated prefixes that exist for this public delegated prefix. + /// The list of sub public delegated prefixes that exist for this public delegated prefix. #[prost(message, repeated, tag="188940044")] pub public_delegated_sub_prefixs: ::prost::alloc::vec::Vec, - /// [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the public delegated prefix resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PublicDelegatedPrefix`. pub mod public_delegated_prefix { - /// [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. + /// [Output Only] The status of the public delegated prefix, which can be one of following values: - `INITIALIZING` The public delegated prefix is being initialized and addresses cannot be created yet. - `READY_TO_ANNOUNCE` The public delegated prefix is a live migration prefix and is active. - `ANNOUNCED` The public delegated prefix is active. - `DELETING` The public delegated prefix is being deprovsioned. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The public delegated prefix is active. + /// The public delegated prefix is active. Announced = 365103355, - /// The public delegated prefix is being deprovsioned. + /// The public delegated prefix is being deprovsioned. Deleting = 528602024, - /// The public delegated prefix is being initialized and addresses cannot be created yet. + /// The public delegated prefix is being initialized and addresses cannot be created yet. Initializing = 306588749, - /// The public delegated prefix is currently withdrawn but ready to be announced. + /// The public delegated prefix is currently withdrawn but ready to be announced. ReadyToAnnounce = 64641265, } impl Status { @@ -21116,83 +21116,83 @@ pub mod public_delegated_prefix { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicDelegatedPrefixAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of PublicDelegatedPrefixesScopedList resources. + /// A list of PublicDelegatedPrefixesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, PublicDelegatedPrefixesScopedList>, - /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes. + /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefixAggregatedList for aggregated lists of public delegated prefixes. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicDelegatedPrefixList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of PublicDelegatedPrefix resources. + /// A list of PublicDelegatedPrefix resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefixList for public delegated prefixes. + /// [Output Only] Type of the resource. Always compute#publicDelegatedPrefixList for public delegated prefixes. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a sub PublicDelegatedPrefix. +/// Represents a sub PublicDelegatedPrefix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicDelegatedPrefixPublicDelegatedSubPrefix { - /// Name of the project scoping this PublicDelegatedSubPrefix. + /// Name of the project scoping this PublicDelegatedSubPrefix. #[prost(string, optional, tag="414860634")] pub delegatee_project: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The IPv4 address range, in CIDR format, represented by this sub public delegated prefix. + /// The IPv4 address range, in CIDR format, represented by this sub public delegated prefix. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// Whether the sub prefix is delegated to create Address resources in the delegatee project. + /// Whether the sub prefix is delegated to create Address resources in the delegatee project. #[prost(bool, optional, tag="352617951")] pub is_address: ::core::option::Option, - /// The name of the sub public delegated prefix. + /// The name of the sub public delegated prefix. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global. + /// [Output Only] The region of the sub public delegated prefix if it is regional. If absent, the sub prefix is global. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the sub public delegated prefix. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the sub public delegated prefix. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `PublicDelegatedPrefixPublicDelegatedSubPrefix`. pub mod public_delegated_prefix_public_delegated_sub_prefix { - /// [Output Only] The status of the sub public delegated prefix. + /// [Output Only] The status of the sub public delegated prefix. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Active = 314733318, Inactive = 270421099, @@ -21214,37 +21214,37 @@ pub mod public_delegated_prefix_public_delegated_sub_prefix { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublicDelegatedPrefixesScopedList { - /// [Output Only] A list of PublicDelegatedPrefixes contained in this scope. + /// [Output Only] A list of PublicDelegatedPrefixes contained in this scope. #[prost(message, repeated, tag="315261206")] pub public_delegated_prefixes: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of public delegated prefixes when the list is empty. + /// [Output Only] Informational warning which replaces the list of public delegated prefixes when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A quotas entry. +/// A quotas entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Quota { - /// [Output Only] Quota limit for this metric. + /// [Output Only] Quota limit for this metric. #[prost(double, optional, tag="102976443")] pub limit: ::core::option::Option, - /// [Output Only] Name of the quota metric. - /// Check the Metric enum for the list of possible values. + /// [Output Only] Name of the quota metric. + /// Check the Metric enum for the list of possible values. #[prost(string, optional, tag="533067184")] pub metric: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Owning resource. This is the resource on which this quota is applied. + /// [Output Only] Owning resource. This is the resource on which this quota is applied. #[prost(string, optional, tag="106164915")] pub owner: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Current usage of this metric. + /// [Output Only] Current usage of this metric. #[prost(double, optional, tag="111574433")] pub usage: ::core::option::Option, } /// Nested message and enum types in `Quota`. pub mod quota { - /// [Output Only] Name of the quota metric. + /// [Output Only] Name of the quota metric. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Metric { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMetric = 0, A2Cpus = 153206585, AffinityGroups = 108303563, @@ -21277,7 +21277,7 @@ pub mod quota { CommittedNvidiaV100Gpus = 219562, CommittedT2aCpus = 296378986, CommittedT2dCpus = 382266439, - /// Guest CPUs + /// Guest CPUs Cpus = 2075595, CpusAllRegions = 470911149, DisksTotalGb = 353520543, @@ -21360,7 +21360,7 @@ pub mod quota { SecurityPolicyRules = 203549225, SecurityPolicyRulesPerRegion = 126510156, ServiceAttachments = 471521510, - /// The total number of snapshots allowed for a single project. + /// The total number of snapshots allowed for a single project. Snapshots = 343405327, SsdTotalGb = 161732561, SslCertificates = 378372399, @@ -21525,27 +21525,27 @@ pub mod quota { } } } -/// The parameters of the raw disk image. +/// The parameters of the raw disk image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RawDisk { - /// The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. - /// Check the ContainerType enum for the list of possible values. + /// The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. + /// Check the ContainerType enum for the list of possible values. #[prost(string, optional, tag="318809144")] pub container_type: ::core::option::Option<::prost::alloc::string::String>, - /// \[Deprecated\] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created. + /// \[Deprecated\] This field is deprecated. An optional SHA1 checksum of the disk image before unpackaging provided by the client when the disk image is created. #[prost(string, optional, tag="314444349")] pub sha1_checksum: ::core::option::Option<::prost::alloc::string::String>, - /// The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - - image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL + /// The full Google Cloud Storage URL where the raw disk image archive is stored. The following are valid formats for the URL: - - image_archive_name In order to create an image, you must provide the full or partial URL of one of the following: - The rawDisk.source URL - The sourceDisk URL - The sourceImage URL - The sourceSnapshot URL #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RawDisk`. pub mod raw_disk { - /// The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. + /// The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContainerType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedContainerType = 0, Tar = 82821, } @@ -21562,105 +21562,105 @@ pub mod raw_disk { } } } -/// A request message for InstanceGroupManagers.RecreateInstances. See the method description for details. +/// A request message for InstanceGroupManagers.RecreateInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecreateInstancesInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="21405952")] pub instance_group_managers_recreate_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.RecreateInstances. See the method description for details. +/// A request message for RegionInstanceGroupManagers.RecreateInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RecreateInstancesRegionInstanceGroupManagerRequest { - /// Name of the managed instance group. + /// Name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="170999316")] pub region_instance_group_managers_recreate_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a reference to a resource. +/// Represents a reference to a resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Reference { - /// [Output Only] Type of the resource. Always compute#reference for references. + /// [Output Only] Type of the resource. Always compute#reference for references. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF + /// A description of the reference type with no implied semantics. Possible values include: 1. MEMBER_OF #[prost(string, optional, tag="247521198")] pub reference_type: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the resource which refers to the target. + /// URL of the resource which refers to the target. #[prost(string, optional, tag="351173663")] pub referrer: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the resource to which this reference points. + /// URL of the resource to which this reference points. #[prost(string, optional, tag="192835985")] pub target: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones. +/// Represents a Region resource. A region is a geographical area where a resource is located. For more information, read Regions and Zones. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Region { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The deprecation status associated with this region. + /// [Output Only] The deprecation status associated with this region. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] Textual description of the resource. + /// [Output Only] Textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#region for regions. + /// [Output Only] Type of the resource. Always compute#region for regions. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Quotas assigned to this region. + /// [Output Only] Quotas assigned to this region. #[prost(message, repeated, tag="125341947")] pub quotas: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Status of the region, either UP or DOWN. - /// Check the Status enum for the list of possible values. + /// [Output Only] Status of the region, either UP or DOWN. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="83983214")] pub supports_pzs: ::core::option::Option, - /// [Output Only] A list of zones available in this region, in the form of resource URLs. + /// [Output Only] A list of zones available in this region, in the form of resource URLs. #[prost(string, repeated, tag="116085319")] pub zones: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Region`. pub mod region { - /// [Output Only] Status of the region, either UP or DOWN. + /// [Output Only] Status of the region, either UP or DOWN. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Down = 2104482, Up = 2715, @@ -21679,173 +21679,173 @@ pub mod region { } } } -/// Contains a list of autoscalers. +/// Contains a list of autoscalers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionAutoscalerList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Autoscaler resources. + /// A list of Autoscaler resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionDiskTypeList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of DiskType resources. + /// A list of DiskType resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. + /// [Output Only] Type of resource. Always compute#regionDiskTypeList for region disk types. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionDisksAddResourcePoliciesRequest { - /// Resource policies to be added to this disk. + /// Resource policies to be added to this disk. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionDisksRemoveResourcePoliciesRequest { - /// Resource policies to be removed from this disk. + /// Resource policies to be removed from this disk. #[prost(string, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionDisksResizeRequest { - /// The new size of the regional persistent disk, which is specified in GB. + /// The new size of the regional persistent disk, which is specified in GB. #[prost(int64, optional, tag="494929369")] pub size_gb: ::core::option::Option, } -/// Contains a list of InstanceGroup resources. +/// Contains a list of InstanceGroup resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroup resources. + /// A list of InstanceGroup resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// The resource type. + /// The resource type. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// RegionInstanceGroupManagers.deletePerInstanceConfigs +/// RegionInstanceGroupManagers.deletePerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagerDeleteInstanceConfigReq { - /// The list of instance names for which we want to delete per-instance configs on this managed instance group. + /// The list of instance names for which we want to delete per-instance configs on this managed instance group. #[prost(string, repeated, tag="104585032")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Contains a list of managed instance groups. +/// Contains a list of managed instance groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagerList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceGroupManager resources. + /// A list of InstanceGroupManager resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional scope. + /// [Output Only] The resource type, which is always compute#instanceGroupManagerList for a list of managed instance groups that exist in th regional scope. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// RegionInstanceGroupManagers.patchPerInstanceConfigs +/// RegionInstanceGroupManagers.patchPerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagerPatchInstanceConfigReq { - /// The list of per-instance configurations to insert or patch on this managed instance group. + /// The list of per-instance configurations to insert or patch on this managed instance group. #[prost(message, repeated, tag="526265001")] pub per_instance_configs: ::prost::alloc::vec::Vec, } -/// RegionInstanceGroupManagers.updatePerInstanceConfigs +/// RegionInstanceGroupManagers.updatePerInstanceConfigs #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagerUpdateInstanceConfigReq { - /// The list of per-instance configurations to insert or patch on this managed instance group. + /// The list of per-instance configurations to insert or patch on this managed instance group. #[prost(message, repeated, tag="526265001")] pub per_instance_configs: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersAbandonInstancesRequest { - /// The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to abandon. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// RegionInstanceGroupManagers.applyUpdatesToInstances +/// RegionInstanceGroupManagers.applyUpdatesToInstances #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersApplyUpdatesRequest { - /// Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. + /// Flag to update all instances instead of specified list of ���instances���. If the flag is set to true then the instances may not be specified in the request. #[prost(bool, optional, tag="403676512")] pub all_instances: ::core::option::Option, - /// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The list of URLs of one or more instances for which you want to apply updates. Each URL can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. - /// Check the MinimalAction enum for the list of possible values. + /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + /// Check the MinimalAction enum for the list of possible values. #[prost(string, optional, tag="270567060")] pub minimal_action: ::core::option::Option<::prost::alloc::string::String>, - /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. - /// Check the MostDisruptiveAllowedAction enum for the list of possible values. + /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + /// Check the MostDisruptiveAllowedAction enum for the list of possible values. #[prost(string, optional, tag="66103053")] pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RegionInstanceGroupManagersApplyUpdatesRequest`. pub mod region_instance_group_managers_apply_updates_request { - /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// The minimal action that you want to perform on each instance during the update: - REPLACE: At minimum, delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the minimum action is NONE. If your update requires a more disruptive action than you set with this flag, the necessary action is performed to execute the update. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinimalAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMinimalAction = 0, } impl MinimalAction { @@ -21859,16 +21859,16 @@ pub mod region_instance_group_managers_apply_updates_request { } } } - /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// NONE - /// REFRESH - /// REPLACE - /// RESTART + /// The most disruptive action that you want to perform on each instance during the update: - REPLACE: Delete the instance and create it again. - RESTART: Stop the instance and start it again. - REFRESH: Do not stop the instance. - NONE: Do not disrupt the instance at all. By default, the most disruptive allowed action is REPLACE. If your update requires a more disruptive action than you set with this flag, the update request will fail. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// NONE + /// REFRESH + /// REPLACE + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MostDisruptiveAllowedAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMostDisruptiveAllowedAction = 0, } impl MostDisruptiveAllowedAction { @@ -21883,124 +21883,124 @@ pub mod region_instance_group_managers_apply_updates_request { } } } -/// RegionInstanceGroupManagers.createInstances +/// RegionInstanceGroupManagers.createInstances #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersCreateInstancesRequest { - /// \[Required\] List of specifications of per-instance configs. + /// \[Required\] List of specifications of per-instance configs. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersDeleteInstancesRequest { - /// The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to delete. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. + /// Specifies whether the request should proceed despite the inclusion of instances that are not members of the group or that are already in the process of being deleted or abandoned. If this field is set to `false` and such an instance is specified in the request, the operation fails. The operation always fails if the request contains a malformed instance URL or a reference to an instance that exists in a zone or region other than the group's zone or region. #[prost(bool, optional, tag="40631073")] pub skip_instances_on_validation_error: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersListErrorsResponse { - /// [Output Only] The list of errors of the managed instance group. + /// [Output Only] The list of errors of the managed instance group. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersListInstanceConfigsResp { - /// [Output Only] The list of PerInstanceConfig. + /// [Output Only] The list of PerInstanceConfig. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersListInstancesResponse { - /// A list of managed instances. + /// A list of managed instances. #[prost(message, repeated, tag="336219614")] pub managed_instances: ::prost::alloc::vec::Vec, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersRecreateRequest { - /// The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. + /// The URLs of one or more instances to recreate. This can be a full URL or a partial URL, such as zones/\[ZONE]/instances/[INSTANCE_NAME\]. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersSetTargetPoolsRequest { - /// Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional. + /// Fingerprint of the target pools information, which is a hash of the contents. This field is used for optimistic locking when you update the target pool entries. This field is optional. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. + /// The URL of all TargetPool resources to which instances in the instanceGroup field are added. The target pools automatically apply to all of the instances in the managed instance group. #[prost(string, repeated, tag="336072617")] pub target_pools: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupManagersSetTemplateRequest { - /// URL of the InstanceTemplate resource from which all new instances will be created. + /// URL of the InstanceTemplate resource from which all new instances will be created. #[prost(string, optional, tag="309248228")] pub instance_template: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupsListInstances { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of InstanceWithNamedPorts resources. + /// A list of InstanceWithNamedPorts resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// The resource type. + /// The resource type. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupsListInstancesRequest { - /// Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. - /// Check the InstanceState enum for the list of possible values. + /// Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. + /// Check the InstanceState enum for the list of possible values. #[prost(string, optional, tag="92223591")] pub instance_state: ::core::option::Option<::prost::alloc::string::String>, - /// Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances. + /// Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RegionInstanceGroupsListInstancesRequest`. pub mod region_instance_groups_list_instances_request { - /// Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. + /// Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstanceState { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstanceState = 0, - /// Matches any status of the instances, running, non-running and others. + /// Matches any status of the instances, running, non-running and others. All = 64897, - /// Instance is in RUNNING state if it is running. + /// Instance is in RUNNING state if it is running. Running = 121282975, } impl InstanceState { @@ -22020,69 +22020,69 @@ pub mod region_instance_groups_list_instances_request { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionInstanceGroupsSetNamedPortsRequest { - /// The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. + /// The fingerprint of the named ports information for this instance group. Use this optional property to prevent conflicts when multiple users change the named ports settings concurrently. Obtain the fingerprint with the instanceGroups.get method. Then, include the fingerprint in your request to ensure that you do not overwrite changes that were applied from another concurrent request. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The list of named ports to set for this instance group. + /// The list of named ports to set for this instance group. #[prost(message, repeated, tag="427598732")] pub named_ports: ::prost::alloc::vec::Vec, } -/// Contains a list of region resources. +/// Contains a list of region resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Region resources. + /// A list of Region resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#regionList for lists of regions. + /// [Output Only] Type of resource. Always compute#regionList for lists of regions. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponse { - /// Effective firewalls from firewall policy. + /// Effective firewalls from firewall policy. #[prost(message, repeated, tag="410985794")] pub firewall_policys: ::prost::alloc::vec::Vec, - /// Effective firewalls on the network. + /// Effective firewalls on the network. #[prost(message, repeated, tag="272245619")] pub firewalls: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy { - /// [Output Only] The display name of the firewall policy. + /// [Output Only] The display name of the firewall policy. #[prost(string, optional, tag="4473832")] pub display_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The name of the firewall policy. + /// [Output Only] The name of the firewall policy. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The rules that apply to the network. + /// The rules that apply to the network. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. - /// Check the Type enum for the list of possible values. + /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RegionNetworkFirewallPoliciesGetEffectiveFirewallsResponseEffectiveFirewallPolicy`. pub mod region_network_firewall_policies_get_effective_firewalls_response_effective_firewall_policy { - /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. + /// [Output Only] The type of the firewall policy. Can be one of HIERARCHY, NETWORK, NETWORK_REGIONAL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Hierarchy = 69902869, Network = 413984270, @@ -22108,346 +22108,346 @@ pub mod region_network_firewall_policies_get_effective_firewalls_response_effect /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionSetLabelsRequest { - /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. + /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The labels to set for this resource. + /// The labels to set for this resource. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionSetPolicyRequest { - /// Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. + /// Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. #[prost(message, repeated, tag="403251854")] pub bindings: ::prost::alloc::vec::Vec, - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. + /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. #[prost(message, optional, tag="91071794")] pub policy: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionTargetHttpsProxiesSetSslCertificatesRequest { - /// New set of SslCertificate resources to associate with this TargetHttpsProxy resource. + /// New set of SslCertificate resources to associate with this TargetHttpsProxy resource. #[prost(string, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegionUrlMapsValidateRequest { - /// Content of the UrlMap to be validated. + /// Content of the UrlMap to be validated. #[prost(message, optional, tag="195806222")] pub resource: ::core::option::Option, } -/// A request message for FirewallPolicies.RemoveAssociation. See the method description for details. +/// A request message for FirewallPolicies.RemoveAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveAssociationFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Name for the attachment that will be removed. + /// Name for the attachment that will be removed. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details. +/// A request message for NetworkFirewallPolicies.RemoveAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveAssociationNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Name for the attachment that will be removed. + /// Name for the attachment that will be removed. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.RemoveAssociation. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveAssociationRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// Name for the association that will be removed. + /// Name for the association that will be removed. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for TargetPools.RemoveHealthCheck. See the method description for details. +/// A request message for TargetPools.RemoveHealthCheck. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveHealthCheckTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the target pool to remove health checks from. + /// Name of the target pool to remove health checks from. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="304985011")] pub target_pools_remove_health_check_request_resource: ::core::option::Option, } -/// A request message for TargetPools.RemoveInstance. See the method description for details. +/// A request message for TargetPools.RemoveInstance. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveInstanceTargetPoolRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetPool resource to remove instances from. + /// Name of the TargetPool resource to remove instances from. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="29548547")] pub target_pools_remove_instance_request_resource: ::core::option::Option, } -/// A request message for InstanceGroups.RemoveInstances. See the method description for details. +/// A request message for InstanceGroups.RemoveInstances. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveInstancesInstanceGroupRequest { - /// The name of the instance group where the specified instances will be removed. + /// The name of the instance group where the specified instances will be removed. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="390981817")] pub instance_groups_remove_instances_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Networks.RemovePeering. See the method description for details. +/// A request message for Networks.RemovePeering. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemovePeeringNetworkRequest { - /// Name of the network resource to remove peering from. + /// Name of the network resource to remove peering from. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="421162494")] pub networks_remove_peering_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.RemoveResourcePolicies. See the method description for details. +/// A request message for Disks.RemoveResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveResourcePoliciesDiskRequest { - /// The disk name for this request. + /// The disk name for this request. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="436756718")] pub disks_remove_resource_policies_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.RemoveResourcePolicies. See the method description for details. +/// A request message for Instances.RemoveResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveResourcePoliciesInstanceRequest { - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="49229558")] pub instances_remove_resource_policies_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionDisks.RemoveResourcePolicies. See the method description for details. +/// A request message for RegionDisks.RemoveResourcePolicies. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveResourcePoliciesRegionDiskRequest { - /// The disk name for this request. + /// The disk name for this request. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="8741283")] pub region_disks_remove_resource_policies_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for FirewallPolicies.RemoveRule. See the method description for details. +/// A request message for FirewallPolicies.RemoveRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveRuleFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to remove from the firewall policy. + /// The priority of the rule to remove from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details. +/// A request message for NetworkFirewallPolicies.RemoveRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveRuleNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to remove from the firewall policy. + /// The priority of the rule to remove from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.RemoveRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveRuleRegionNetworkFirewallPolicyRequest { - /// Name of the firewall policy to update. + /// Name of the firewall policy to update. #[prost(string, tag="498173265")] pub firewall_policy: ::prost::alloc::string::String, - /// The priority of the rule to remove from the firewall policy. + /// The priority of the rule to remove from the firewall policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for SecurityPolicies.RemoveRule. See the method description for details. +/// A request message for SecurityPolicies.RemoveRule. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveRuleSecurityPolicyRequest { - /// The priority of the rule to remove from the security policy. + /// The priority of the rule to remove from the security policy. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the security policy to update. + /// Name of the security policy to update. #[prost(string, tag="171082513")] pub security_policy: ::prost::alloc::string::String, } -/// A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow. +/// A policy that specifies how requests intended for the route's backends are shadowed to a separate mirrored backend service. The load balancer doesn't wait for responses from the shadow service. Before sending traffic to the shadow service, the host or authority header is suffixed with -shadow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestMirrorPolicy { - /// The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. + /// The full or partial URL to the BackendService resource being mirrored to. The backend service configured for a mirroring policy must reference backends that are of the same type as the original backend service matched in the URL map. Serverless NEG backends are not currently supported as a mirrored backend service. #[prost(string, optional, tag="306946058")] pub backend_service: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources. +/// Represents a reservation resource. A reservation ensures that capacity is held in a specific zone even if the reserved VMs are not running. For more information, read Reserving zonal resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Reservation { - /// [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. + /// [Output Only] Full or partial URL to a parent commitment. This field displays for reservations that are tied to a commitment. #[prost(string, optional, tag="482134805")] pub commitment: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#reservations for reservations. + /// [Output Only] Type of the resource. Always compute#reservations for reservations. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined fully-qualified URL for this resource. + /// [Output Only] Server-defined fully-qualified URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Share-settings for shared-reservation + /// Share-settings for shared-reservation #[prost(message, optional, tag="266668163")] pub share_settings: ::core::option::Option, - /// Reservation for instances with specific machine shapes. + /// Reservation for instances with specific machine shapes. #[prost(message, optional, tag="404901951")] pub specific_reservation: ::core::option::Option, - /// Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation. + /// Indicates whether the reservation can be consumed by VMs with affinity for "any" reservation. If the field is set, then only VMs that target the reservation by name can consume from this reservation. #[prost(bool, optional, tag="226550687")] pub specific_reservation_required: ::core::option::Option, - /// [Output Only] The status of the reservation. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the reservation. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. + /// Zone in which the reservation resides. A zone must be provided if the reservation is created within a commitment. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Reservation`. pub mod reservation { - /// [Output Only] The status of the reservation. + /// [Output Only] The status of the reservation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Resources are being allocated for the reservation. + /// Resources are being allocated for the reservation. Creating = 455564985, - /// Reservation is currently being deleted. + /// Reservation is currently being deleted. Deleting = 528602024, Invalid = 530283991, - /// Reservation has allocated all its resources. + /// Reservation has allocated all its resources. Ready = 77848963, - /// Reservation is currently being resized. + /// Reservation is currently being resized. Updating = 494614342, } impl Status { @@ -22467,33 +22467,33 @@ pub mod reservation { } } } -/// Specifies the reservations that this instance can consume from. +/// Specifies the reservations that this instance can consume from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationAffinity { - /// Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. - /// Check the ConsumeReservationType enum for the list of possible values. + /// Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. + /// Check the ConsumeReservationType enum for the list of possible values. #[prost(string, optional, tag="300736944")] pub consume_reservation_type: ::core::option::Option<::prost::alloc::string::String>, - /// Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the key and specify the name of your reservation as its value. + /// Corresponds to the label key of a reservation resource. To target a SPECIFIC_RESERVATION by name, specify googleapis.com/reservation-name as the key and specify the name of your reservation as its value. #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or "projects/different-project/reservations/some-reservation-name" to target a shared reservation in the same zone but in a different project. + /// Corresponds to the label values of a reservation resource. This can be either a name to a reservation in the same project or "projects/different-project/reservations/some-reservation-name" to target a shared reservation in the same zone but in a different project. #[prost(string, repeated, tag="249928994")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `ReservationAffinity`. pub mod reservation_affinity { - /// Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. + /// Specifies the type of reservation from which this instance can consume resources: ANY_RESERVATION (default), SPECIFIC_RESERVATION, or NO_RESERVATION. See Consuming reserved instances for examples. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConsumeReservationType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedConsumeReservationType = 0, - /// Consume any allocation available. + /// Consume any allocation available. AnyReservation = 200008121, - /// Do not consume from any allocated capacity. + /// Do not consume from any allocated capacity. NoReservation = 169322030, - /// Must consume from a specific reservation. Must specify key value fields for specifying the reservations. + /// Must consume from a specific reservation. Must specify key value fields for specifying the reservations. SpecificReservation = 229889055, Unspecified = 526786327, } @@ -22513,202 +22513,202 @@ pub mod reservation_affinity { } } } -/// Contains a list of reservations. +/// Contains a list of reservations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Allocation resources. + /// A list of Allocation resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, ReservationsScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationList { - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of Allocation resources. + /// [Output Only] A list of Allocation resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource.Always compute#reservationsList for listsof reservations + /// [Output Only] Type of resource.Always compute#reservationsList for listsof reservations #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationsResizeRequest { - /// Number of allocated resources can be resized with minimum = 1 and maximum = 1000. + /// Number of allocated resources can be resized with minimum = 1 and maximum = 1000. #[prost(int64, optional, tag="13890720")] pub specific_sku_count: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationsScopedList { - /// A list of reservations contained in this scope. + /// A list of reservations contained in this scope. #[prost(message, repeated, tag="399717927")] pub reservations: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of reservations when the list is empty. + /// Informational warning which replaces the list of reservations when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for Instances.Reset. See the method description for details. +/// A request message for Instances.Reset. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResetInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Disks.Resize. See the method description for details. +/// A request message for Disks.Resize. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeDiskRequest { - /// The name of the persistent disk. + /// The name of the persistent disk. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="78307616")] pub disks_resize_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroupManagers.Resize. See the method description for details. +/// A request message for InstanceGroupManagers.Resize. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter. + /// The number of running instances that the managed instance group should maintain at any given time. The group automatically adds or removes instances to maintain the number of instances specified by this parameter. #[prost(int32, tag="3530753")] pub size: i32, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionDisks.Resize. See the method description for details. +/// A request message for RegionDisks.Resize. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeRegionDiskRequest { - /// Name of the regional persistent disk. + /// Name of the regional persistent disk. #[prost(string, tag="3083677")] pub disk: ::prost::alloc::string::String, - /// The project ID for this request. + /// The project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="446633237")] pub region_disks_resize_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionInstanceGroupManagers.Resize. See the method description for details. +/// A request message for RegionInstanceGroupManagers.Resize. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeRegionInstanceGroupManagerRequest { - /// Name of the managed instance group. + /// Name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Number of instances that should exist in this instance group manager. + /// Number of instances that should exist in this instance group manager. #[prost(int32, tag="3530753")] pub size: i32, } -/// A request message for Reservations.Resize. See the method description for details. +/// A request message for Reservations.Resize. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResizeReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the reservation to update. + /// Name of the reservation to update. #[prost(string, tag="47530956")] pub reservation: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="389262801")] pub reservations_resize_request_resource: ::core::option::Option, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// Commitment for a particular resource (a Commitment is composed of one or more of these). +/// Commitment for a particular resource (a Commitment is composed of one or more of these). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceCommitment { - /// Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. + /// Name of the accelerator type resource. Applicable only when the type is ACCELERATOR. #[prost(string, optional, tag="138031246")] pub accelerator_type: ::core::option::Option<::prost::alloc::string::String>, - /// The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. + /// The amount of the resource purchased (in a type-dependent unit, such as bytes). For vCPUs, this can just be an integer. For memory, this must be provided in MB. Memory must be a multiple of 256 MB, with up to 6.5GB of memory per every vCPU. #[prost(int64, optional, tag="196759640")] pub amount: ::core::option::Option, - /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY - /// Check the Type enum for the list of possible values. + /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ResourceCommitment`. pub mod resource_commitment { - /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY + /// Type of resource for which this commitment applies. Possible values are VCPU and MEMORY #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Accelerator = 429815371, LocalSsd = 508934896, @@ -22736,75 +22736,75 @@ pub mod resource_commitment { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceGroupReference { - /// A URI referencing one of the instance groups or network endpoint groups listed in the backend service. + /// A URI referencing one of the instance groups or network endpoint groups listed in the backend service. #[prost(string, optional, tag="98629247")] pub group: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePoliciesScopedList { - /// A list of resourcePolicies contained in this scope. + /// A list of resourcePolicies contained in this scope. #[prost(message, repeated, tag="22220385")] pub resource_policies: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of resourcePolicies when the list is empty. + /// Informational warning which replaces the list of resourcePolicies when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots. +/// Represents a Resource Policy resource. You can use resource policies to schedule actions for some Compute Engine resources. For example, you can use them to schedule persistent disk snapshots. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicy { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Resource policy for instances for placement configuration. + /// Resource policy for instances for placement configuration. #[prost(message, optional, tag="10931596")] pub group_placement_policy: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// Resource policy for scheduling instance operations. + /// Resource policy for scheduling instance operations. #[prost(message, optional, tag="344877104")] pub instance_schedule_policy: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#resource_policies for resource policies. + /// [Output Only] Type of the resource. Always compute#resource_policies for resource policies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The resource name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The system status of the resource policy. + /// [Output Only] The system status of the resource policy. #[prost(message, optional, tag="249429315")] pub resource_status: ::core::option::Option, - /// [Output Only] Server-defined fully-qualified URL for this resource. + /// [Output Only] Server-defined fully-qualified URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Resource policy for persistent disks for creating snapshots. + /// Resource policy for persistent disks for creating snapshots. #[prost(message, optional, tag="218131295")] pub snapshot_schedule_policy: ::core::option::Option, - /// [Output Only] The status of resource policy creation. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of resource policy creation. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ResourcePolicy`. pub mod resource_policy { - /// [Output Only] The status of resource policy creation. + /// [Output Only] The status of resource policy creation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Resource policy is being created. + /// Resource policy is being created. Creating = 455564985, - /// Resource policy is being deleted. + /// Resource policy is being deleted. Deleting = 528602024, - /// Resource policy is expired and will not run again. + /// Resource policy is expired and will not run again. Expired = 482489093, Invalid = 530283991, - /// Resource policy is ready to be used. + /// Resource policy is ready to be used. Ready = 77848963, } impl Status { @@ -22824,67 +22824,67 @@ pub mod resource_policy { } } } -/// Contains a list of resourcePolicies. +/// Contains a list of resourcePolicies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyAggregatedList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ResourcePolicy resources. + /// A list of ResourcePolicy resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, ResourcePoliciesScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Time window specified for daily operations. +/// Time window specified for daily operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyDailyCycle { - /// Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. + /// Defines a schedule with units measured in days. The value determines how many days pass between the start of each cycle. #[prost(int32, optional, tag="369790004")] pub days_in_cycle: ::core::option::Option, - /// [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. + /// [Output only] A predetermined duration for the window, automatically chosen to be the smallest possible in the given scenario. #[prost(string, optional, tag="155471252")] pub duration: ::core::option::Option<::prost::alloc::string::String>, - /// Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. + /// Start time of the window. This must be in UTC format that resolves to one of 00:00, 04:00, 08:00, 12:00, 16:00, or 20:00. For example, both 13:00-5 and 08:00 are valid. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, } -/// A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality +/// A GroupPlacementPolicy specifies resource placement configuration. It specifies the failure bucket separation as well as network locality #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyGroupPlacementPolicy { - /// The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. + /// The number of availability domains to spread instances across. If two instances are in different availability domain, they are not in the same low latency network. #[prost(int32, optional, tag="12453432")] pub availability_domain_count: ::core::option::Option, - /// Specifies network collocation - /// Check the Collocation enum for the list of possible values. + /// Specifies network collocation + /// Check the Collocation enum for the list of possible values. #[prost(string, optional, tag="511156533")] pub collocation: ::core::option::Option<::prost::alloc::string::String>, - /// Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. + /// Number of VMs in this placement group. Google does not recommend that you use this field unless you use a compact policy and you want your policy to work only if it contains this exact number of VMs. #[prost(int32, optional, tag="261463431")] pub vm_count: ::core::option::Option, } /// Nested message and enum types in `ResourcePolicyGroupPlacementPolicy`. pub mod resource_policy_group_placement_policy { - /// Specifies network collocation + /// Specifies network collocation #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Collocation { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCollocation = 0, Collocated = 103257554, UnspecifiedCollocation = 464308205, @@ -22903,42 +22903,42 @@ pub mod resource_policy_group_placement_policy { } } } -/// Time window specified for hourly operations. +/// Time window specified for hourly operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyHourlyCycle { - /// [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. + /// [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. #[prost(string, optional, tag="155471252")] pub duration: ::core::option::Option<::prost::alloc::string::String>, - /// Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle. + /// Defines a schedule with units measured in hours. The value determines how many hours pass between the start of each cycle. #[prost(int32, optional, tag="526763132")] pub hours_in_cycle: ::core::option::Option, - /// Time within the window to start the operations. It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT. + /// Time within the window to start the operations. It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, } -/// An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. +/// An InstanceSchedulePolicy specifies when and how frequent certain operations are performed on the instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyInstanceSchedulePolicy { - /// The expiration time of the schedule. The timestamp is an RFC3339 string. + /// The expiration time of the schedule. The timestamp is an RFC3339 string. #[prost(string, optional, tag="230299229")] pub expiration_time: ::core::option::Option<::prost::alloc::string::String>, - /// The start time of the schedule. The timestamp is an RFC3339 string. + /// The start time of the schedule. The timestamp is an RFC3339 string. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: + /// Specifies the time zone to be used in interpreting Schedule.schedule. The value of this field must be a time zone name from the tz database: #[prost(string, optional, tag="36848094")] pub time_zone: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the schedule for starting instances. + /// Specifies the schedule for starting instances. #[prost(message, optional, tag="17762396")] pub vm_start_schedule: ::core::option::Option, - /// Specifies the schedule for stopping instances. + /// Specifies the schedule for stopping instances. #[prost(message, optional, tag="426242732")] pub vm_stop_schedule: ::core::option::Option, } -/// Schedule for an instance operation. +/// Schedule for an instance operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyInstanceSchedulePolicySchedule { - /// Specifies the frequency for the operation, using the unix-cron format. + /// Specifies the frequency for the operation, using the unix-cron format. #[prost(string, optional, tag="375820951")] pub schedule: ::core::option::Option<::prost::alloc::string::String>, } @@ -22947,73 +22947,73 @@ pub struct ResourcePolicyInstanceSchedulePolicySchedule { pub struct ResourcePolicyList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of ResourcePolicy resources. + /// [Output Only] A list of ResourcePolicy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof resourcePolicies + /// [Output Only] Type of resource.Always compute#resourcePoliciesList for listsof resourcePolicies #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification. +/// Contains output only fields. Use this sub-message for all output fields set on ResourcePolicy. The internal structure of this "status" field should mimic the structure of ResourcePolicy proto specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyResourceStatus { - /// [Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field. + /// [Output Only] Specifies a set of output values reffering to the instance_schedule_policy system status. This field should have the same name as corresponding policy field. #[prost(message, optional, tag="344877104")] pub instance_schedule_policy: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyResourceStatusInstanceSchedulePolicyStatus { - /// [Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string. + /// [Output Only] The last time the schedule successfully ran. The timestamp is an RFC3339 string. #[prost(string, optional, tag="303069063")] pub last_run_start_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string. + /// [Output Only] The next time the schedule is planned to run. The actual time might be slightly different. The timestamp is an RFC3339 string. #[prost(string, optional, tag="318642570")] pub next_run_start_time: ::core::option::Option<::prost::alloc::string::String>, } -/// A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained. +/// A snapshot schedule policy specifies when and how frequently snapshots are to be created for the target disk. Also specifies how many and how long these scheduled snapshots should be retained. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicySnapshotSchedulePolicy { - /// Retention policy applied to snapshots created by this resource policy. + /// Retention policy applied to snapshots created by this resource policy. #[prost(message, optional, tag="68625779")] pub retention_policy: ::core::option::Option, - /// A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy. + /// A Vm Maintenance Policy specifies what kind of infrastructure maintenance we are allowed to perform on this VM and when. Schedule that is applied to disks covered by this policy. #[prost(message, optional, tag="375820951")] pub schedule: ::core::option::Option, - /// Properties with which snapshots are created such as labels, encryption keys. + /// Properties with which snapshots are created such as labels, encryption keys. #[prost(message, optional, tag="185371278")] pub snapshot_properties: ::core::option::Option, } -/// Policy for retention of scheduled snapshots. +/// Policy for retention of scheduled snapshots. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicySnapshotSchedulePolicyRetentionPolicy { - /// Maximum age of the snapshot that is allowed to be kept. + /// Maximum age of the snapshot that is allowed to be kept. #[prost(int32, optional, tag="324296979")] pub max_retention_days: ::core::option::Option, - /// Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. - /// Check the OnSourceDiskDelete enum for the list of possible values. + /// Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. + /// Check the OnSourceDiskDelete enum for the list of possible values. #[prost(string, optional, tag="321955529")] pub on_source_disk_delete: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ResourcePolicySnapshotSchedulePolicyRetentionPolicy`. pub mod resource_policy_snapshot_schedule_policy_retention_policy { - /// Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. + /// Specifies the behavior to apply to scheduled snapshots when the source disk is deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OnSourceDiskDelete { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOnSourceDiskDelete = 0, ApplyRetentionPolicy = 535071332, KeepAutoSnapshots = 258925689, @@ -23034,7 +23034,7 @@ pub mod resource_policy_snapshot_schedule_policy_retention_policy { } } } -/// A schedule for disks where the schedueled operations are performed. +/// A schedule for disks where the schedueled operations are performed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicySnapshotSchedulePolicySchedule { #[prost(message, optional, tag="86159869")] @@ -23044,50 +23044,50 @@ pub struct ResourcePolicySnapshotSchedulePolicySchedule { #[prost(message, optional, tag="359548053")] pub weekly_schedule: ::core::option::Option, } -/// Specified snapshot properties for scheduled snapshots created by this policy. +/// Specified snapshot properties for scheduled snapshots created by this policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicySnapshotSchedulePolicySnapshotProperties { - /// Chain name that the snapshot is created in. + /// Chain name that the snapshot is created in. #[prost(string, optional, tag="68644169")] pub chain_name: ::core::option::Option<::prost::alloc::string::String>, - /// Indication to perform a 'guest aware' snapshot. + /// Indication to perform a 'guest aware' snapshot. #[prost(bool, optional, tag="385550813")] pub guest_flush: ::core::option::Option, - /// Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty. + /// Labels to apply to scheduled snapshots. These can be later modified by the setLabels method. Label values may be empty. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional). + /// Cloud Storage bucket storage location of the auto snapshot (regional or multi-regional). #[prost(string, repeated, tag="328005274")] pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Time window specified for weekly operations. +/// Time window specified for weekly operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyWeeklyCycle { - /// Up to 7 intervals/windows, one for each day of the week. + /// Up to 7 intervals/windows, one for each day of the week. #[prost(message, repeated, tag="257871834")] pub day_of_weeks: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourcePolicyWeeklyCycleDayOfWeek { - /// Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. - /// Check the Day enum for the list of possible values. + /// Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. + /// Check the Day enum for the list of possible values. #[prost(string, optional, tag="99228")] pub day: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. + /// [Output only] Duration of the time window, automatically chosen to be smallest possible in the given scenario. #[prost(string, optional, tag="155471252")] pub duration: ::core::option::Option<::prost::alloc::string::String>, - /// Time within the window to start the operations. It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT. + /// Time within the window to start the operations. It must be in format "HH:MM", where HH : \[00-23\] and MM : \[00-00\] GMT. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ResourcePolicyWeeklyCycleDayOfWeek`. pub mod resource_policy_weekly_cycle_day_of_week { - /// Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. + /// Defines a schedule that runs on specific days of the week. Specify one or more days. The following options are available: MONDAY, TUESDAY, WEDNESDAY, THURSDAY, FRIDAY, SATURDAY, SUNDAY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Day { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDay = 0, Friday = 471398751, Invalid = 530283991, @@ -23118,106 +23118,106 @@ pub mod resource_policy_weekly_cycle_day_of_week { } } } -/// A request message for Instances.Resume. See the method description for details. +/// A request message for Instances.Resume. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResumeInstanceRequest { - /// Name of the instance resource to resume. + /// Name of the instance resource to resume. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview. +/// Represents a Route resource. A route defines a path from VM instances in the VPC network to a specific destination. This destination can be inside or outside the VPC network. For more information, read the Routes overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Route { - /// [Output Only] AS path. + /// [Output Only] AS path. #[prost(message, repeated, tag="137568929")] pub as_paths: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this field when you create the resource. + /// An optional description of this resource. Provide this field when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. + /// The destination range of outgoing packets that this route applies to. Both IPv4 and IPv6 are supported. #[prost(string, optional, tag="381327712")] pub dest_range: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of this resource. Always compute#routes for Route resources. + /// [Output Only] Type of this resource. Always compute#routes for Route resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Fully-qualified URL of the network that this route applies to. + /// Fully-qualified URL of the network that this route applies to. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway + /// The URL to a gateway that should handle matching packets. You can only specify the internet gateway using a full or partial valid URL: projects/ project/global/gateways/default-internet-gateway #[prost(string, optional, tag="377175298")] pub next_hop_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule + /// The URL to a forwarding rule of type loadBalancingScheme=INTERNAL that should handle matching packets or the IP address of the forwarding Rule. For example, the following are all valid URLs: - 10.128.0.56 - /forwardingRules/forwardingRule - regions/region/forwardingRules/forwardingRule #[prost(string, optional, tag="198679901")] pub next_hop_ilb: ::core::option::Option<::prost::alloc::string::String>, - /// The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: + /// The URL to an instance that should handle matching packets. You can specify this as a full or partial URL. For example: #[prost(string, optional, tag="393508247")] pub next_hop_instance: ::core::option::Option<::prost::alloc::string::String>, - /// The network IP address of an instance that should handle matching packets. Only IPv4 is supported. + /// The network IP address of an instance that should handle matching packets. Only IPv4 is supported. #[prost(string, optional, tag="110319529")] pub next_hop_ip: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the local network if it should handle matching packets. + /// The URL of the local network if it should handle matching packets. #[prost(string, optional, tag="262295788")] pub next_hop_network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. + /// [Output Only] The network peering name that should handle matching packets, which should conform to RFC1035. #[prost(string, optional, tag="412682750")] pub next_hop_peering: ::core::option::Option<::prost::alloc::string::String>, - /// The URL to a VpnTunnel that should handle matching packets. + /// The URL to a VpnTunnel that should handle matching packets. #[prost(string, optional, tag="519844501")] pub next_hop_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>, - /// The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive. + /// The priority of this route. Priority is used to break ties in cases where there is more than one matching route of equal prefix length. In cases where multiple routes have equal prefix length, the one with the lowest-numbered priority value wins. The default value is `1000`. The priority value must be from `0` to `65535`, inclusive. #[prost(uint32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// [Output only] The status of the route. - /// Check the RouteStatus enum for the list of possible values. + /// [Output only] The status of the route. + /// Check the RouteStatus enum for the list of possible values. #[prost(string, optional, tag="418162344")] pub route_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route - /// Check the RouteType enum for the list of possible values. + /// [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route + /// Check the RouteType enum for the list of possible values. #[prost(string, optional, tag="375888752")] pub route_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined fully-qualified URL for this resource. + /// [Output Only] Server-defined fully-qualified URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// A list of instance tags to which this route applies. + /// A list of instance tags to which this route applies. #[prost(string, repeated, tag="3552281")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. + /// [Output Only] If potential misconfigurations are detected for this route, this field will be populated with warning messages. #[prost(message, repeated, tag="498091095")] pub warnings: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Route`. pub mod route { - /// [Output only] The status of the route. + /// [Output only] The status of the route. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RouteStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRouteStatus = 0, - /// This route is processed and active. + /// This route is processed and active. Active = 314733318, - /// The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example + /// The route is dropped due to the VPC exceeding the dynamic route limit. For dynamic route limit, please refer to the Learned route example Dropped = 496235424, - /// This route is processed but inactive due to failure from the backend. The backend may have rejected the route + /// This route is processed but inactive due to failure from the backend. The backend may have rejected the route Inactive = 270421099, - /// This route is being processed internally. The status will change once processed. + /// This route is being processed internally. The status will change once processed. Pending = 35394935, } impl RouteStatus { @@ -23235,11 +23235,11 @@ pub mod route { } } } - /// [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route + /// [Output Only] The type of this route, which can be one of the following values: - 'TRANSIT' for a transit route that this router learned from another Cloud Router and will readvertise to one of its BGP peers - 'SUBNET' for a route from a subnet of the VPC - 'BGP' for a route learned from a BGP peer of this router - 'STATIC' for a static route #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RouteType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRouteType = 0, Bgp = 65707, Static = 308331118, @@ -23265,21 +23265,21 @@ pub mod route { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouteAsPath { - /// [Output Only] The AS numbers of the AS Path. + /// [Output Only] The AS numbers of the AS Path. #[prost(uint32, repeated, tag="134112584")] pub as_lists: ::prost::alloc::vec::Vec, - /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed - /// Check the PathSegmentType enum for the list of possible values. + /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed + /// Check the PathSegmentType enum for the list of possible values. #[prost(string, optional, tag="513464992")] pub path_segment_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouteAsPath`. pub mod route_as_path { - /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed + /// [Output Only] The type of the AS Path, which can be one of the following values: - 'AS_SET': unordered set of autonomous systems that the route in has traversed - 'AS_SEQUENCE': ordered set of autonomous systems that the route has traversed - 'AS_CONFED_SEQUENCE': ordered set of Member Autonomous Systems in the local confederation that the route has traversed - 'AS_CONFED_SET': unordered set of Member Autonomous Systems in the local confederation that the route has traversed #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PathSegmentType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPathSegmentType = 0, AsConfedSequence = 222152624, AsConfedSet = 374040307, @@ -23302,134 +23302,134 @@ pub mod route_as_path { } } } -/// Contains a list of Route resources. +/// Contains a list of Route resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouteList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Route resources. + /// A list of Route resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview. +/// Represents a Cloud Router resource. For more information about Cloud Router, read the Cloud Router overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Router { - /// BGP information specific to this router. + /// BGP information specific to this router. #[prost(message, optional, tag="97483")] pub bgp: ::core::option::Option, - /// BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. + /// BGP information that must be configured into the routing stack to establish BGP peering. This information must specify the peer ASN and either the interface name, IP address, or peer IP address. Please refer to RFC4273. #[prost(message, repeated, tag="452695773")] pub bgp_peers: ::prost::alloc::vec::Vec, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). + /// Indicates if a router is dedicated for use with encrypted VLAN attachments (interconnectAttachments). #[prost(bool, optional, tag="297996575")] pub encrypted_interconnect_router: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. + /// Router interfaces. Each interface requires either one linked resource, (for example, linkedVpnTunnel), or IP address and IP address range (for example, ipRange), or both. #[prost(message, repeated, tag="12073562")] pub interfaces: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#router for routers. + /// [Output Only] Type of resource. Always compute#router for routers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A list of NAT services created in this router. + /// A list of NAT services created in this router. #[prost(message, repeated, tag="3373938")] pub nats: ::prost::alloc::vec::Vec, - /// URI of the network to which this router belongs. + /// URI of the network to which this router belongs. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URI of the region where the router resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, } -/// Description-tagged IP ranges for the router to advertise. +/// Description-tagged IP ranges for the router to advertise. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterAdvertisedIpRange { - /// User-specified description for the IP range. + /// User-specified description for the IP range. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The IP range to advertise. The value must be a CIDR-formatted string. + /// The IP range to advertise. The value must be a CIDR-formatted string. #[prost(string, optional, tag="108280125")] pub range: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains a list of routers. +/// Contains a list of routers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Router resources. + /// A list of Router resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, RoutersScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterBgp { - /// User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. - /// Check the AdvertiseMode enum for the list of possible values. + /// User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. + /// Check the AdvertiseMode enum for the list of possible values. #[prost(string, optional, tag="312134331")] pub advertise_mode: ::core::option::Option<::prost::alloc::string::String>, - /// User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. - /// Check the AdvertisedGroups enum for the list of possible values. + /// User-specified list of prefix groups to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These groups will be advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. + /// Check the AdvertisedGroups enum for the list of possible values. #[prost(string, repeated, tag="21065526")] pub advertised_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. + /// User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and is advertised to all peers of the router. These IP ranges will be advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. #[prost(message, repeated, tag="35449932")] pub advertised_ip_ranges: ::prost::alloc::vec::Vec, - /// Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN. + /// Local BGP Autonomous System Number (ASN). Must be an RFC6996 private ASN, either 16-bit or 32-bit. The value will be fixed for this router resource. All VPN tunnels that link to this router will have the same local ASN. #[prost(uint32, optional, tag="96892")] pub asn: ::core::option::Option, - /// The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20. + /// The interval in seconds between BGP keepalive messages that are sent to the peer. Hold time is three times the interval at which keepalive messages are sent, and the hold time is the maximum number of seconds allowed to elapse between successive keepalive messages that BGP receives from a peer. BGP will use the smaller of either the local hold time value or the peer's hold time value as the hold time for the BGP connection between the two peers. If set, this value must be between 20 and 60. The default is 20. #[prost(uint32, optional, tag="276771516")] pub keepalive_interval: ::core::option::Option, } /// Nested message and enum types in `RouterBgp`. pub mod router_bgp { - /// User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. + /// User-specified flag to indicate which mode to use for advertisement. The options are DEFAULT or CUSTOM. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertiseMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAdvertiseMode = 0, Custom = 388595569, Default = 115302945, @@ -23451,9 +23451,9 @@ pub mod router_bgp { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisedGroups { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAdvertisedGroups = 0, - /// Advertise all available subnets (including peer VPC subnets). + /// Advertise all available subnets (including peer VPC subnets). AllSubnets = 3622872, } impl AdvertisedGroups { @@ -23472,66 +23472,66 @@ pub mod router_bgp { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterBgpPeer { - /// User-specified flag to indicate which mode to use for advertisement. - /// Check the AdvertiseMode enum for the list of possible values. + /// User-specified flag to indicate which mode to use for advertisement. + /// Check the AdvertiseMode enum for the list of possible values. #[prost(string, optional, tag="312134331")] pub advertise_mode: ::core::option::Option<::prost::alloc::string::String>, - /// User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. - /// Check the AdvertisedGroups enum for the list of possible values. + /// User-specified list of prefix groups to advertise in custom mode, which can take one of the following options: - ALL_SUBNETS: Advertises all available subnets, including peer VPC subnets. - ALL_VPC_SUBNETS: Advertises the router's own VPC subnets. Note that this field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These groups are advertised in addition to any specified prefixes. Leave this field blank to advertise no custom groups. + /// Check the AdvertisedGroups enum for the list of possible values. #[prost(string, repeated, tag="21065526")] pub advertised_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. + /// User-specified list of individual IP ranges to advertise in custom mode. This field can only be populated if advertise_mode is CUSTOM and overrides the list defined for the router (in the "bgp" message). These IP ranges are advertised in addition to any specified groups. Leave this field blank to advertise no custom IP ranges. #[prost(message, repeated, tag="35449932")] pub advertised_ip_ranges: ::prost::alloc::vec::Vec, - /// The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win. + /// The priority of routes advertised to this BGP peer. Where there is more than one matching route of maximum length, the routes with the lowest priority value win. #[prost(uint32, optional, tag="186486332")] pub advertised_route_priority: ::core::option::Option, - /// BFD configuration for the BGP peering. + /// BFD configuration for the BGP peering. #[prost(message, optional, tag="97440")] pub bfd: ::core::option::Option, - /// The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. - /// Check the Enable enum for the list of possible values. + /// The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. + /// Check the Enable enum for the list of possible values. #[prost(string, optional, tag="311764355")] pub enable: ::core::option::Option<::prost::alloc::string::String>, - /// Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. + /// Enable IPv6 traffic over BGP Peer. If not specified, it is disabled by default. #[prost(bool, optional, tag="181467939")] pub enable_ipv6: ::core::option::Option, - /// Name of the interface the BGP peer is associated with. + /// Name of the interface the BGP peer is associated with. #[prost(string, optional, tag="437854673")] pub interface_name: ::core::option::Option<::prost::alloc::string::String>, - /// IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. + /// IP address of the interface inside Google Cloud Platform. Only IPv4 is supported. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// IPv6 address of the interface inside Google Cloud Platform. + /// IPv6 address of the interface inside Google Cloud Platform. #[prost(string, optional, tag="27968211")] pub ipv6_nexthop_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. - /// Check the ManagementType enum for the list of possible values. + /// [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. + /// Check the ManagementType enum for the list of possible values. #[prost(string, optional, tag="173703606")] pub management_type: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of this BGP peer. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. + /// Peer BGP Autonomous System Number (ASN). Each BGP interface may use a different value. #[prost(uint32, optional, tag="69573151")] pub peer_asn: ::core::option::Option, - /// IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. + /// IP address of the BGP interface outside Google Cloud Platform. Only IPv4 is supported. #[prost(string, optional, tag="207735769")] pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// IPv6 address of the BGP interface outside Google Cloud Platform. + /// IPv6 address of the BGP interface outside Google Cloud Platform. #[prost(string, optional, tag="491486608")] pub peer_ipv6_nexthop_address: ::core::option::Option<::prost::alloc::string::String>, - /// URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session. + /// URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance must be located in zones contained in the same region as this Cloud Router. The VM instance is the peer side of the BGP session. #[prost(string, optional, tag="468312989")] pub router_appliance_instance: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouterBgpPeer`. pub mod router_bgp_peer { - /// User-specified flag to indicate which mode to use for advertisement. + /// User-specified flag to indicate which mode to use for advertisement. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertiseMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAdvertiseMode = 0, Custom = 388595569, Default = 115302945, @@ -23553,9 +23553,9 @@ pub mod router_bgp_peer { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AdvertisedGroups { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAdvertisedGroups = 0, - /// Advertise all available subnets (including peer VPC subnets). + /// Advertise all available subnets (including peer VPC subnets). AllSubnets = 3622872, } impl AdvertisedGroups { @@ -23570,11 +23570,11 @@ pub mod router_bgp_peer { } } } - /// The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. + /// The status of the BGP peer connection. If set to FALSE, any active session with the peer is terminated and all associated routing information is removed. If set to TRUE, the peer connection can be established with routing information. The default is TRUE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Enable { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEnable = 0, False = 66658563, True = 2583950, @@ -23592,15 +23592,15 @@ pub mod router_bgp_peer { } } } - /// [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. + /// [Output Only] The resource that configures and manages this BGP peer. - MANAGED_BY_USER is the default value and can be managed by you or other users - MANAGED_BY_ATTACHMENT is a BGP peer that is configured and managed by Cloud Interconnect, specifically by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of BGP peer when the PARTNER InterconnectAttachment is created, updated, or deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagementType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedManagementType = 0, - /// The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress. + /// The BGP peer is automatically created for PARTNER type InterconnectAttachment; Google will automatically create/delete this BGP peer when the PARTNER InterconnectAttachment is created/deleted, and Google will update the ipAddress and peerIpAddress when the PARTNER InterconnectAttachment is provisioned. This type of BGP peer cannot be created or deleted, but can be modified for all fields except for name, ipAddress and peerIpAddress. ManagedByAttachment = 458926411, - /// Default value, the BGP peer is manually created and managed by user. + /// Default value, the BGP peer is manually created and managed by user. ManagedByUser = 317294067, } impl ManagementType { @@ -23620,27 +23620,27 @@ pub mod router_bgp_peer { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterBgpPeerBfd { - /// The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. + /// The minimum interval, in milliseconds, between BFD control packets received from the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the transmit interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. #[prost(uint32, optional, tag="186981614")] pub min_receive_interval: ::core::option::Option, - /// The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. + /// The minimum interval, in milliseconds, between BFD control packets transmitted to the peer router. The actual value is negotiated between the two routers and is equal to the greater of this value and the corresponding receive interval of the other router. If set, this value must be between 1000 and 30000. The default is 1000. #[prost(uint32, optional, tag="523282631")] pub min_transmit_interval: ::core::option::Option, - /// The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5. + /// The number of consecutive BFD packets that must be missed before BFD declares that a peer is unavailable. If set, the value must be a value between 5 and 16. The default is 5. #[prost(uint32, optional, tag="191331777")] pub multiplier: ::core::option::Option, - /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. - /// Check the SessionInitializationMode enum for the list of possible values. + /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. + /// Check the SessionInitializationMode enum for the list of possible values. #[prost(string, optional, tag="105957049")] pub session_initialization_mode: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouterBgpPeerBfd`. pub mod router_bgp_peer_bfd { - /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. + /// The BFD session initialization mode for this BGP peer. If set to ACTIVE, the Cloud Router will initiate the BFD session for this BGP peer. If set to PASSIVE, the Cloud Router will wait for the peer router to initiate the BFD session for this BGP peer. If set to DISABLED, BFD is disabled for this BGP peer. The default is DISABLED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SessionInitializationMode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSessionInitializationMode = 0, Active = 314733318, Disabled = 516696700, @@ -23664,43 +23664,43 @@ pub mod router_bgp_peer_bfd { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterInterface { - /// IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. + /// IP address and range of the interface. The IP range must be in the RFC3927 link-local IP address space. The value must be a CIDR-formatted string, for example: 169.254.0.1/30. NOTE: Do not truncate the address as it represents the IP address of the interface. #[prost(string, optional, tag="145092645")] pub ip_range: ::core::option::Option<::prost::alloc::string::String>, - /// URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + /// URI of the linked Interconnect attachment. It must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. #[prost(string, optional, tag="501085518")] pub linked_interconnect_attachment: ::core::option::Option<::prost::alloc::string::String>, - /// URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. + /// URI of the linked VPN tunnel, which must be in the same region as the router. Each interface can have one linked resource, which can be a VPN tunnel, an Interconnect attachment, or a virtual machine instance. #[prost(string, optional, tag="352296953")] pub linked_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. - /// Check the ManagementType enum for the list of possible values. + /// [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. + /// Check the ManagementType enum for the list of possible values. #[prost(string, optional, tag="173703606")] pub management_type: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this interface entry. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of this interface entry. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM. + /// The regional private internal IP address that is used to establish BGP sessions to a VM instance acting as a third-party Router Appliance, such as a Next Gen Firewall, a Virtual Router, or an SD-WAN VM. #[prost(string, optional, tag="100854040")] pub private_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the interface that will be redundant with the current interface you are creating. The redundantInterface must belong to the same Cloud Router as the interface here. To establish the BGP session to a Router Appliance VM, you must create two BGP peers. The two BGP peers must be attached to two separate interfaces that are redundant with each other. The redundant_interface must be 1-63 characters long, and comply with RFC1035. Specifically, the redundant_interface must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="523187303")] pub redundant_interface: ::core::option::Option<::prost::alloc::string::String>, - /// The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. + /// The URI of the subnetwork resource that this interface belongs to, which must be in the same region as the Cloud Router. When you establish a BGP session to a VM instance using this interface, the VM instance must belong to the same subnetwork as the subnetwork specified here. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouterInterface`. pub mod router_interface { - /// [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. + /// [Output Only] The resource that configures and manages this interface. - MANAGED_BY_USER is the default value and can be managed directly by users. - MANAGED_BY_ATTACHMENT is an interface that is configured and managed by Cloud Interconnect, specifically, by an InterconnectAttachment of type PARTNER. Google automatically creates, updates, and deletes this type of interface when the PARTNER InterconnectAttachment is created, updated, or deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ManagementType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedManagementType = 0, - /// The interface is automatically created for PARTNER type InterconnectAttachment, Google will automatically create/update/delete this interface when the PARTNER InterconnectAttachment is created/provisioned/deleted. This type of interface cannot be manually managed by user. + /// The interface is automatically created for PARTNER type InterconnectAttachment, Google will automatically create/update/delete this interface when the PARTNER InterconnectAttachment is created/provisioned/deleted. This type of interface cannot be manually managed by user. ManagedByAttachment = 458926411, - /// Default value, the interface is manually created and managed by user. + /// Default value, the interface is manually created and managed by user. ManagedByUser = 317294067, } impl ManagementType { @@ -23717,85 +23717,85 @@ pub mod router_interface { } } } -/// Contains a list of Router resources. +/// Contains a list of Router resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Router resources. + /// A list of Router resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#router for routers. + /// [Output Only] Type of resource. Always compute#router for routers. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. +/// Represents a Nat resource. It enables the VMs within the specified subnetworks to access Internet without external IP addresses. It specifies a list of subnetworks (and the ranges within) that want to use NAT. Customers can also provide the external IPs that would be used for NAT. GCP would auto-allocate ephemeral IPs if no external IPs are provided. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterNat { - /// A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. + /// A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT only. #[prost(string, repeated, tag="504078535")] pub drain_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. + /// Enable Dynamic Port Allocation. If not specified, it is disabled by default. If set to true, - Dynamic Port Allocation will be enabled on this NAT config. - enableEndpointIndependentMapping cannot be set to true. - If minPorts is set, minPortsPerVm must be set to a power of two greater than or equal to 32. If minPortsPerVm is not set, a minimum of 32 ports will be allocated to a VM from this NAT config. #[prost(bool, optional, tag="532106402")] pub enable_dynamic_port_allocation: ::core::option::Option, #[prost(bool, optional, tag="259441819")] pub enable_endpoint_independent_mapping: ::core::option::Option, - /// List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM - /// Check the EndpointTypes enum for the list of possible values. + /// List of NAT-ted endpoint types supported by the Nat Gateway. If the list is empty, then it will be equivalent to include ENDPOINT_TYPE_VM + /// Check the EndpointTypes enum for the list of possible values. #[prost(string, repeated, tag="502633807")] pub endpoint_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. + /// Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. #[prost(int32, optional, tag="3647562")] pub icmp_idle_timeout_sec: ::core::option::Option, - /// Configure logging on this NAT. + /// Configure logging on this NAT. #[prost(message, optional, tag="351299741")] pub log_config: ::core::option::Option, - /// Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. + /// Maximum number of ports allocated to a VM from this NAT config when Dynamic Port Allocation is enabled. If Dynamic Port Allocation is not enabled, this field has no effect. If Dynamic Port Allocation is enabled, and this field is set, it must be set to a power of two greater than minPortsPerVm, or 64 if minPortsPerVm is not set. If Dynamic Port Allocation is enabled and this field is not set, a maximum of 65536 ports will be allocated to a VM from this NAT config. #[prost(int32, optional, tag="250062049")] pub max_ports_per_vm: ::core::option::Option, - /// Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM. + /// Minimum number of ports allocated to a VM from this NAT config. If not set, a default number of ports is allocated to a VM. This is rounded up to the nearest power of 2. For example, if the value of this field is 50, at least 64 ports are allocated to a VM. #[prost(int32, optional, tag="186193587")] pub min_ports_per_vm: ::core::option::Option, - /// Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. + /// Unique name of this Nat service. The name must be 1-63 characters long and comply with RFC1035. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. - /// Check the NatIpAllocateOption enum for the list of possible values. + /// Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. + /// Check the NatIpAllocateOption enum for the list of possible values. #[prost(string, optional, tag="429726845")] pub nat_ip_allocate_option: ::core::option::Option<::prost::alloc::string::String>, - /// A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. + /// A list of URLs of the IP resources used for this Nat service. These IP addresses must be valid static external IP addresses assigned to the project. #[prost(string, repeated, tag="117635086")] pub nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of rules associated with this NAT. + /// A list of rules associated with this NAT. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. - /// Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. + /// Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. + /// Check the SourceSubnetworkIpRangesToNat enum for the list of possible values. #[prost(string, optional, tag="252213211")] pub source_subnetwork_ip_ranges_to_nat: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. + /// A list of Subnetwork resources whose traffic should be translated by NAT Gateway. It is used only when LIST_OF_SUBNETWORKS is selected for the SubnetworkIpRangeToNatOption above. #[prost(message, repeated, tag="415853125")] pub subnetworks: ::prost::alloc::vec::Vec, - /// Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. + /// Timeout (in seconds) for TCP established connections. Defaults to 1200s if not set. #[prost(int32, optional, tag="223098349")] pub tcp_established_idle_timeout_sec: ::core::option::Option, - /// Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set. + /// Timeout (in seconds) for TCP connections that are in TIME_WAIT state. Defaults to 120s if not set. #[prost(int32, optional, tag="513596925")] pub tcp_time_wait_timeout_sec: ::core::option::Option, - /// Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. + /// Timeout (in seconds) for TCP transitory connections. Defaults to 30s if not set. #[prost(int32, optional, tag="205028774")] pub tcp_transitory_idle_timeout_sec: ::core::option::Option, - /// Timeout (in seconds) for UDP connections. Defaults to 30s if not set. + /// Timeout (in seconds) for UDP connections. Defaults to 30s if not set. #[prost(int32, optional, tag="64919878")] pub udp_idle_timeout_sec: ::core::option::Option, } @@ -23805,11 +23805,11 @@ pub mod router_nat { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EndpointTypes { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEndpointTypes = 0, - /// This is used for Secure Web Gateway endpoints. + /// This is used for Secure Web Gateway endpoints. EndpointTypeSwg = 159344456, - /// This is the default. + /// This is the default. EndpointTypeVm = 57095474, } impl EndpointTypes { @@ -23825,15 +23825,15 @@ pub mod router_nat { } } } - /// Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. + /// Specify the NatIpAllocateOption, which can take one of the following values: - MANUAL_ONLY: Uses only Nat IP addresses provided by customers. When there are not enough specified Nat IPs, the Nat service fails for new VMs. - AUTO_ONLY: Nat IPs are allocated by Google Cloud Platform; customers can't specify any Nat IPs. When choosing AUTO_ONLY, then nat_ip should be empty. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NatIpAllocateOption { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNatIpAllocateOption = 0, - /// Nat IPs are allocated by GCP; customers can not specify any Nat IPs. + /// Nat IPs are allocated by GCP; customers can not specify any Nat IPs. AutoOnly = 182333500, - /// Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs. + /// Only use Nat IPs provided by customers. When specified Nat IPs are not enough then the Nat service fails for new VMs. ManualOnly = 261251205, } impl NatIpAllocateOption { @@ -23849,17 +23849,17 @@ pub mod router_nat { } } } - /// Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. + /// Specify the Nat option, which can take one of the following values: - ALL_SUBNETWORKS_ALL_IP_RANGES: All of the IP ranges in every Subnetwork are allowed to Nat. - ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES: All of the primary IP ranges in every Subnetwork are allowed to Nat. - LIST_OF_SUBNETWORKS: A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) The default is SUBNETWORK_IP_RANGE_TO_NAT_OPTION_UNSPECIFIED. Note that if this field contains ALL_SUBNETWORKS_ALL_IP_RANGES or ALL_SUBNETWORKS_ALL_PRIMARY_IP_RANGES, then there should not be any other Router.Nat section in any Router for this network in this region. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SourceSubnetworkIpRangesToNat { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSourceSubnetworkIpRangesToNat = 0, - /// All the IP ranges in every Subnetwork are allowed to Nat. + /// All the IP ranges in every Subnetwork are allowed to Nat. AllSubnetworksAllIpRanges = 179964376, - /// All the primary IP ranges in every Subnetwork are allowed to Nat. + /// All the primary IP ranges in every Subnetwork are allowed to Nat. AllSubnetworksAllPrimaryIpRanges = 185573819, - /// A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) + /// A list of Subnetworks are allowed to Nat (specified in the field subnetwork below) ListOfSubnetworks = 517542270, } impl SourceSubnetworkIpRangesToNat { @@ -23877,30 +23877,30 @@ pub mod router_nat { } } } -/// Configuration of logging on a NAT. +/// Configuration of logging on a NAT. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterNatLogConfig { - /// Indicates whether or not to export logs. This is false by default. + /// Indicates whether or not to export logs. This is false by default. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, - /// Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. - /// Check the Filter enum for the list of possible values. + /// Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. + /// Check the Filter enum for the list of possible values. #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouterNatLogConfig`. pub mod router_nat_log_config { - /// Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. + /// Specify the desired filtering of logs on this NAT. If unspecified, logs are exported for all connections handled by this NAT. This option can take one of the following values: - ERRORS_ONLY: Export logs only for connection failures. - TRANSLATIONS_ONLY: Export logs only for successful connections. - ALL: Export logs for all connections, successful and unsuccessful. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Filter { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedFilter = 0, - /// Export logs for all (successful and unsuccessful) connections. + /// Export logs for all (successful and unsuccessful) connections. All = 64897, - /// Export logs for connection failures only. + /// Export logs for connection failures only. ErrorsOnly = 307484672, - /// Export logs for successful connections only. + /// Export logs for successful connections only. TranslationsOnly = 357212649, } impl Filter { @@ -23921,40 +23921,40 @@ pub mod router_nat_log_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterNatRule { - /// The action to be enforced for traffic that matches this rule. + /// The action to be enforced for traffic that matches this rule. #[prost(message, optional, tag="187661878")] pub action: ::core::option::Option, - /// An optional description of this rule. + /// An optional description of this rule. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == ' + /// CEL expression that specifies the match condition that egress traffic from a VM is evaluated against. If it evaluates to true, the corresponding `action` is enforced. The following examples are valid match expressions for public NAT: "inIpRange(destination.ip, '1.1.0.0/16') || inIpRange(destination.ip, '2.2.0.0/16')" "destination.ip == '1.1.0.1' || destination.ip == '8.8.8.8'" The following example is a valid match expression for private NAT: "nexthop.hub == ' #[prost(string, optional, tag="103668165")] pub r#match: ::core::option::Option<::prost::alloc::string::String>, - /// An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT. + /// An integer uniquely identifying a rule in the list. The rule number must be a positive value between 0 and 65000, and must be unique among rules within a NAT. #[prost(uint32, optional, tag="535211500")] pub rule_number: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterNatRuleAction { - /// A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. + /// A list of URLs of the IP resources used for this NAT rule. These IP addresses must be valid static external IP addresses assigned to the project. This field is used for public NAT. #[prost(string, repeated, tag="210378229")] pub source_nat_active_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT. + /// A list of URLs of the IP resources to be drained. These IPs must be valid static external IPs that have been assigned to the NAT. These IPs should be used for updating/patching a NAT rule only. This field is used for public NAT. #[prost(string, repeated, tag="340812451")] pub source_nat_drain_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Defines the IP ranges that want to use NAT for a subnetwork. +/// Defines the IP ranges that want to use NAT for a subnetwork. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterNatSubnetworkToNat { - /// URL for the subnetwork resource that will use NAT. + /// URL for the subnetwork resource that will use NAT. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. + /// A list of the secondary ranges of the Subnetwork that are allowed to use NAT. This can be populated only if "LIST_OF_SECONDARY_IP_RANGES" is one of the values in source_ip_ranges_to_nat. #[prost(string, repeated, tag="264315097")] pub secondary_ip_range_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: \[ALL_IP_RANGES\] - /// Check the SourceIpRangesToNat enum for the list of possible values. + /// Specify the options for NAT ranges in the Subnetwork. All options of a single value are valid except NAT_IP_RANGE_OPTION_UNSPECIFIED. The only valid option with multiple values is: ["PRIMARY_IP_RANGE", "LIST_OF_SECONDARY_IP_RANGES"] Default: \[ALL_IP_RANGES\] + /// Check the SourceIpRangesToNat enum for the list of possible values. #[prost(string, repeated, tag="388310386")] pub source_ip_ranges_to_nat: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -23964,13 +23964,13 @@ pub mod router_nat_subnetwork_to_nat { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SourceIpRangesToNat { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSourceIpRangesToNat = 0, - /// The primary and all the secondary ranges are allowed to Nat. + /// The primary and all the secondary ranges are allowed to Nat. AllIpRanges = 35608496, - /// A list of secondary ranges are allowed to Nat. + /// A list of secondary ranges are allowed to Nat. ListOfSecondaryIpRanges = 192289308, - /// The primary range is allowed to Nat. + /// The primary range is allowed to Nat. PrimaryIpRange = 297109954, } impl SourceIpRangesToNat { @@ -23991,67 +23991,67 @@ pub mod router_nat_subnetwork_to_nat { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterStatus { - /// Best routes for this router's network. + /// Best routes for this router's network. #[prost(message, repeated, tag="395826693")] pub best_routes: ::prost::alloc::vec::Vec, - /// Best routes learned by this router. + /// Best routes learned by this router. #[prost(message, repeated, tag="119389689")] pub best_routes_for_router: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag="218459131")] pub bgp_peer_status: ::prost::alloc::vec::Vec, #[prost(message, repeated, tag="63098064")] pub nat_status: ::prost::alloc::vec::Vec, - /// URI of the network to which this router belongs. + /// URI of the network to which this router belongs. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterStatusBgpPeerStatus { - /// Routes that were advertised to the remote BGP peer + /// Routes that were advertised to the remote BGP peer #[prost(message, repeated, tag="333393068")] pub advertised_routes: ::prost::alloc::vec::Vec, #[prost(message, optional, tag="395631729")] pub bfd_status: ::core::option::Option, - /// IP address of the local BGP interface. + /// IP address of the local BGP interface. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the VPN tunnel that this BGP peer controls. + /// URL of the VPN tunnel that this BGP peer controls. #[prost(string, optional, tag="352296953")] pub linked_vpn_tunnel: ::core::option::Option<::prost::alloc::string::String>, - /// Name of this BGP peer. Unique within the Routers resource. + /// Name of this BGP peer. Unique within the Routers resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Number of routes learned from the remote BGP Peer. + /// Number of routes learned from the remote BGP Peer. #[prost(uint32, optional, tag="135457535")] pub num_learned_routes: ::core::option::Option, - /// IP address of the remote BGP interface. + /// IP address of the remote BGP interface. #[prost(string, optional, tag="207735769")] pub peer_ip_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session. + /// [Output only] URI of the VM instance that is used as third-party router appliances such as Next Gen Firewalls, Virtual Routers, or Router Appliances. The VM instance is the peer side of the BGP session. #[prost(string, optional, tag="468312989")] pub router_appliance_instance: ::core::option::Option<::prost::alloc::string::String>, - /// The state of the BGP session. For a list of possible values for this field, see BGP session states. + /// The state of the BGP session. For a list of possible values for this field, see BGP session states. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// Status of the BGP peer: {UP, DOWN} - /// Check the Status enum for the list of possible values. + /// Status of the BGP peer: {UP, DOWN} + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds + /// Time this session has been up. Format: 14 years, 51 weeks, 6 days, 23 hours, 59 minutes, 59 seconds #[prost(string, optional, tag="235379688")] pub uptime: ::core::option::Option<::prost::alloc::string::String>, - /// Time this session has been up, in seconds. Format: 145 + /// Time this session has been up, in seconds. Format: 145 #[prost(string, optional, tag="104736040")] pub uptime_seconds: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `RouterStatusBgpPeerStatus`. pub mod router_status_bgp_peer_status { - /// Status of the BGP peer: {UP, DOWN} + /// Status of the BGP peer: {UP, DOWN} #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Down = 2104482, Unknown = 433141802, @@ -24072,60 +24072,60 @@ pub mod router_status_bgp_peer_status { } } } -/// Status of a NAT contained in this router. +/// Status of a NAT contained in this router. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterStatusNatStatus { - /// A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] + /// A list of IPs auto-allocated for NAT. Example: ["1.1.1.1", "129.2.16.89"] #[prost(string, repeated, tag="510794246")] pub auto_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. + /// A list of IPs auto-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. #[prost(string, repeated, tag="309184557")] pub drain_auto_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. + /// A list of IPs user-allocated for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. #[prost(string, repeated, tag="305268553")] pub drain_user_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used. + /// The number of extra IPs to allocate. This will be greater than 0 only if user-specified IPs are NOT enough to allow all configured VMs to use NAT. This value is meaningful only when auto-allocation of NAT IPs is *not* used. #[prost(int32, optional, tag="365786338")] pub min_extra_nat_ips_needed: ::core::option::Option, - /// Unique name of this NAT. + /// Unique name of this NAT. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Number of VM endpoints (i.e., Nics) that can use NAT. + /// Number of VM endpoints (i.e., Nics) that can use NAT. #[prost(int32, optional, tag="512367468")] pub num_vm_endpoints_with_nat_mappings: ::core::option::Option, - /// Status of rules in this NAT. + /// Status of rules in this NAT. #[prost(message, repeated, tag="140223125")] pub rule_status: ::prost::alloc::vec::Vec, - /// A list of fully qualified URLs of reserved IP address resources. + /// A list of fully qualified URLs of reserved IP address resources. #[prost(string, repeated, tag="212776151")] pub user_allocated_nat_ip_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". + /// A list of IPs user-allocated for NAT. They will be raw IP strings like "179.12.26.133". #[prost(string, repeated, tag="506878242")] pub user_allocated_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Status of a NAT Rule contained in this NAT. +/// Status of a NAT Rule contained in this NAT. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterStatusNatStatusNatRuleStatus { - /// A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"]. + /// A list of active IPs for NAT. Example: ["1.1.1.1", "179.12.26.133"]. #[prost(string, repeated, tag="208517077")] pub active_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. + /// A list of IPs for NAT that are in drain mode. Example: ["1.1.1.1", "179.12.26.133"]. #[prost(string, repeated, tag="504078535")] pub drain_nat_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT. + /// The number of extra IPs to allocate. This will be greater than 0 only if the existing IPs in this NAT Rule are NOT enough to allow all configured VMs to use NAT. #[prost(int32, optional, tag="353002756")] pub min_extra_ips_needed: ::core::option::Option, - /// Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule. + /// Number of VM endpoints (i.e., NICs) that have NAT Mappings from this NAT Rule. #[prost(int32, optional, tag="512367468")] pub num_vm_endpoints_with_nat_mappings: ::core::option::Option, - /// Rule number of the rule. + /// Rule number of the rule. #[prost(int32, optional, tag="535211500")] pub rule_number: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RouterStatusResponse { - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="139315229")] @@ -24134,65 +24134,65 @@ pub struct RouterStatusResponse { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutersPreviewResponse { - /// Preview of given router. + /// Preview of given router. #[prost(message, optional, tag="195806222")] pub resource: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutersScopedList { - /// A list of routers contained in this scope. + /// A list of routers contained in this scope. #[prost(message, repeated, tag="311906890")] pub routers: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of routers when the list is empty. + /// Informational warning which replaces the list of routers when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// This is deprecated and has no effect. Do not use. +/// This is deprecated and has no effect. Do not use. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Rule { - /// This is deprecated and has no effect. Do not use. - /// Check the Action enum for the list of possible values. + /// This is deprecated and has no effect. Do not use. + /// Check the Action enum for the list of possible values. #[prost(string, optional, tag="187661878")] pub action: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, repeated, tag="142882488")] pub conditions: ::prost::alloc::vec::Vec, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, repeated, tag="104430")] pub ins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(message, repeated, tag="152873846")] pub log_configs: ::prost::alloc::vec::Vec, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, repeated, tag="518443138")] pub not_ins: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[prost(string, repeated, tag="59962500")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Rule`. pub mod rule { - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Action { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAction = 0, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Allow = 62368553, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. AllowWithLog = 76034177, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Deny = 2094604, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. DenyWithLog = 351433982, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. Log = 75556, - /// This is deprecated and has no effect. Do not use. + /// This is deprecated and has no effect. Do not use. NoAction = 260643444, } impl Action { @@ -24216,40 +24216,40 @@ pub mod rule { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslHealthCheck { - /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. + /// The TCP port number for the health check request. The default value is 443. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. + /// The application data to send once the SSL connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. #[prost(string, optional, tag="21951119")] pub request: ::core::option::Option<::prost::alloc::string::String>, - /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. + /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. #[prost(string, optional, tag="196547649")] pub response: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SSLHealthCheck`. pub mod ssl_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, SSL health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -24266,11 +24266,11 @@ pub mod ssl_health_check { } } } - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -24289,69 +24289,69 @@ pub mod ssl_health_check { } } } -/// DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource. +/// DEPRECATED: Please use compute#savedDisk instead. An instance-attached disk resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SavedAttachedDisk { - /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). + /// Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance). #[prost(bool, optional, tag="464761403")] pub auto_delete: ::core::option::Option, - /// Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. + /// Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem. #[prost(bool, optional, tag="3029746")] pub boot: ::core::option::Option, - /// Specifies the name of the disk attached to the source instance. + /// Specifies the name of the disk attached to the source instance. #[prost(string, optional, tag="67541716")] pub device_name: ::core::option::Option<::prost::alloc::string::String>, - /// The encryption key for the disk. + /// The encryption key for the disk. #[prost(message, optional, tag="271660677")] pub disk_encryption_key: ::core::option::Option, - /// The size of the disk in base-2 GB. + /// The size of the disk in base-2 GB. #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd + /// [Output Only] URL of the disk type resource. For example: projects/project /zones/zone/diskTypes/pd-standard or pd-ssd #[prost(string, optional, tag="93009052")] pub disk_type: ::core::option::Option<::prost::alloc::string::String>, - /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. + /// A list of features to enable on the guest operating system. Applicable only for bootable images. Read Enabling guest operating system features to see a list of available options. #[prost(message, repeated, tag="79294545")] pub guest_os_features: ::prost::alloc::vec::Vec, - /// Specifies zero-based index of the disk that is attached to the source instance. + /// Specifies zero-based index of the disk that is attached to the source instance. #[prost(int32, optional, tag="100346066")] pub index: ::core::option::Option, - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. - /// Check the Interface enum for the list of possible values. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + /// Check the Interface enum for the list of possible values. #[prost(string, optional, tag="502623545")] pub interface: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. + /// [Output Only] Type of the resource. Always compute#attachedDisk for attached disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Any valid publicly visible licenses. + /// [Output Only] Any valid publicly visible licenses. #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. - /// Check the Mode enum for the list of possible values. + /// The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. + /// Check the Mode enum for the list of possible values. #[prost(string, optional, tag="3357091")] pub mode: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a URL of the disk attached to the source instance. + /// Specifies a URL of the disk attached to the source instance. #[prost(string, optional, tag="177235995")] pub source: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A size of the storage used by the disk's snapshot by this machine image. + /// [Output Only] A size of the storage used by the disk's snapshot by this machine image. #[prost(int64, optional, tag="424631719")] pub storage_bytes: ::core::option::Option, - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. - /// Check the StorageBytesStatus enum for the list of possible values. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// Check the StorageBytesStatus enum for the list of possible values. #[prost(string, optional, tag="490739082")] pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of the attached disk, either SCRATCH or PERSISTENT. - /// Check the Type enum for the list of possible values. + /// Specifies the type of the attached disk, either SCRATCH or PERSISTENT. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SavedAttachedDisk`. pub mod saved_attached_disk { - /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. + /// Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Interface { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInterface = 0, Nvme = 2408800, Scsi = 2539686, @@ -24369,15 +24369,15 @@ pub mod saved_attached_disk { } } } - /// The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. + /// The mode in which this disk is attached to the source instance, either READ_WRITE or READ_ONLY. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMode = 0, - /// Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. + /// Attaches this disk in read-only mode. Multiple virtual machines can use a disk in read-only mode at a time. ReadOnly = 91950261, - /// *\[Default\]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. + /// *\[Default\]* Attaches this disk in read-write mode. Only one virtual machine at a time can be attached to a disk in read-write mode. ReadWrite = 173607894, } impl Mode { @@ -24393,11 +24393,11 @@ pub mod saved_attached_disk { } } } - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageBytesStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStorageBytesStatus = 0, Updating = 494614342, UpToDate = 101306702, @@ -24415,11 +24415,11 @@ pub mod saved_attached_disk { } } } - /// Specifies the type of the attached disk, either SCRATCH or PERSISTENT. + /// Specifies the type of the attached disk, either SCRATCH or PERSISTENT. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Persistent = 460683927, Scratch = 496778970, @@ -24438,40 +24438,40 @@ pub mod saved_attached_disk { } } } -/// An instance-attached disk resource. +/// An instance-attached disk resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SavedDisk { - /// [Output Only] The architecture of the attached disk. - /// Check the Architecture enum for the list of possible values. + /// [Output Only] The architecture of the attached disk. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#savedDisk for attached disks. + /// [Output Only] Type of the resource. Always compute#savedDisk for attached disks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a URL of the disk attached to the source instance. + /// Specifies a URL of the disk attached to the source instance. #[prost(string, optional, tag="451753793")] pub source_disk: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Size of the individual disk snapshot used by this machine image. + /// [Output Only] Size of the individual disk snapshot used by this machine image. #[prost(int64, optional, tag="424631719")] pub storage_bytes: ::core::option::Option, - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. - /// Check the StorageBytesStatus enum for the list of possible values. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// Check the StorageBytesStatus enum for the list of possible values. #[prost(string, optional, tag="490739082")] pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SavedDisk`. pub mod saved_disk { - /// [Output Only] The architecture of the attached disk. + /// [Output Only] The architecture of the attached disk. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -24488,11 +24488,11 @@ pub mod saved_disk { } } } - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageBytesStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStorageBytesStatus = 0, Updating = 494614342, UpToDate = 101306702, @@ -24514,32 +24514,32 @@ pub mod saved_disk { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScalingScheduleStatus { - /// [Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format. + /// [Output Only] The last time the scaling schedule became active. Note: this is a timestamp when a schedule actually became active, not when it was planned to do so. The timestamp is in RFC3339 text format. #[prost(string, optional, tag="34545107")] pub last_start_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format. + /// [Output Only] The next time the scaling schedule is to become active. Note: this is a timestamp when a schedule is planned to run, but the actual time might be slightly different. The timestamp is in RFC3339 text format. #[prost(string, optional, tag="97270102")] pub next_start_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The current state of a scaling schedule. - /// Check the State enum for the list of possible values. + /// [Output Only] The current state of a scaling schedule. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ScalingScheduleStatus`. pub mod scaling_schedule_status { - /// [Output Only] The current state of a scaling schedule. + /// [Output Only] The current state of a scaling schedule. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// The current autoscaling recommendation is influenced by this scaling schedule. + /// The current autoscaling recommendation is influenced by this scaling schedule. Active = 314733318, - /// This scaling schedule has been disabled by the user. + /// This scaling schedule has been disabled by the user. Disabled = 516696700, - /// This scaling schedule will never become active again. + /// This scaling schedule will never become active again. Obsolete = 66532761, - /// The current autoscaling recommendation is not influenced by this scaling schedule. + /// The current autoscaling recommendation is not influenced by this scaling schedule. Ready = 77848963, } impl State { @@ -24558,50 +24558,50 @@ pub mod scaling_schedule_status { } } } -/// Sets the scheduling options for an Instance. +/// Sets the scheduling options for an Instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scheduling { - /// Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. + /// Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user). You can only set the automatic restart option for standard instances. Preemptible instances cannot be automatically restarted. By default, this is set to true so an instance is automatically restarted if it is terminated by Compute Engine. #[prost(bool, optional, tag="350821371")] pub automatic_restart: ::core::option::Option, - /// Specifies the termination action for the instance. - /// Check the InstanceTerminationAction enum for the list of possible values. + /// Specifies the termination action for the instance. + /// Check the InstanceTerminationAction enum for the list of possible values. #[prost(string, optional, tag="107380667")] pub instance_termination_action: ::core::option::Option<::prost::alloc::string::String>, - /// An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API. + /// An opaque location hint used to place the instance close to other resources. This field is for use by internal tools that use the public API. #[prost(string, optional, tag="350519505")] pub location_hint: ::core::option::Option<::prost::alloc::string::String>, - /// The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. + /// The minimum number of virtual CPUs this instance will consume when running on a sole-tenant node. #[prost(int32, optional, tag="317231675")] pub min_node_cpus: ::core::option::Option, - /// A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity. + /// A set of node affinity and anti-affinity configurations. Refer to Configuring node affinity for more information. Overrides reservationAffinity. #[prost(message, repeated, tag="461799971")] pub node_affinities: ::prost::alloc::vec::Vec, - /// Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. - /// Check the OnHostMaintenance enum for the list of possible values. + /// Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. + /// Check the OnHostMaintenance enum for the list of possible values. #[prost(string, optional, tag="64616796")] pub on_host_maintenance: ::core::option::Option<::prost::alloc::string::String>, - /// Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. + /// Defines whether the instance is preemptible. This can only be set during instance creation or while the instance is stopped and therefore, in a `TERMINATED` state. See Instance Life Cycle for more information on the possible instance states. #[prost(bool, optional, tag="324203169")] pub preemptible: ::core::option::Option, - /// Specifies the provisioning model of the instance. - /// Check the ProvisioningModel enum for the list of possible values. + /// Specifies the provisioning model of the instance. + /// Check the ProvisioningModel enum for the list of possible values. #[prost(string, optional, tag="494423")] pub provisioning_model: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Scheduling`. pub mod scheduling { - /// Specifies the termination action for the instance. + /// Specifies the termination action for the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InstanceTerminationAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedInstanceTerminationAction = 0, - /// Delete the VM. + /// Delete the VM. Delete = 402225579, - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 92954803, - /// Stop the VM without storing in-memory content. default action. + /// Stop the VM without storing in-memory content. default action. Stop = 2555906, } impl InstanceTerminationAction { @@ -24618,15 +24618,15 @@ pub mod scheduling { } } } - /// Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. + /// Defines the maintenance behavior for this instance. For standard instances, the default behavior is MIGRATE. For preemptible instances, the default and only possible behavior is TERMINATE. For more information, see Set VM host maintenance policy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OnHostMaintenance { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOnHostMaintenance = 0, - /// *\[Default\]* Allows Compute Engine to automatically migrate instances out of the way of maintenance events. + /// *\[Default\]* Allows Compute Engine to automatically migrate instances out of the way of maintenance events. Migrate = 165699979, - /// Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. If you would like your instance to be restarted, set the automaticRestart flag to true. Your instance may be restarted more than once, and it may be restarted outside the window of maintenance events. + /// Tells Compute Engine to terminate and (optionally) restart the instance away from the maintenance activity. If you would like your instance to be restarted, set the automaticRestart flag to true. Your instance may be restarted more than once, and it may be restarted outside the window of maintenance events. Terminate = 527617601, } impl OnHostMaintenance { @@ -24642,15 +24642,15 @@ pub mod scheduling { } } } - /// Specifies the provisioning model of the instance. + /// Specifies the provisioning model of the instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProvisioningModel { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProvisioningModel = 0, - /// Heavily discounted, no guaranteed runtime. + /// Heavily discounted, no guaranteed runtime. Spot = 2552066, - /// Standard provisioning with user controlled runtime, no discounts. + /// Standard provisioning with user controlled runtime, no discounts. Standard = 484642493, } impl ProvisioningModel { @@ -24667,31 +24667,31 @@ pub mod scheduling { } } } -/// Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. +/// Node Affinity: the configuration of desired nodes onto which this Instance could be scheduled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SchedulingNodeAffinity { - /// Corresponds to the label key of Node resource. + /// Corresponds to the label key of Node resource. #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. - /// Check the Operator enum for the list of possible values. + /// Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. + /// Check the Operator enum for the list of possible values. #[prost(string, optional, tag="36317348")] pub operator: ::core::option::Option<::prost::alloc::string::String>, - /// Corresponds to the label values of Node resource. + /// Corresponds to the label values of Node resource. #[prost(string, repeated, tag="249928994")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `SchedulingNodeAffinity`. pub mod scheduling_node_affinity { - /// Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. + /// Defines the operation of node selection. Valid operators are IN for affinity and NOT_IN for anti-affinity. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Operator { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedOperator = 0, - /// Requires Compute Engine to seek for matched nodes. + /// Requires Compute Engine to seek for matched nodes. In = 2341, - /// Requires Compute Engine to avoid certain nodes. + /// Requires Compute Engine to avoid certain nodes. NotIn = 161144369, Unspecified = 128892924, } @@ -24713,17 +24713,17 @@ pub mod scheduling_node_affinity { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ScratchDisks { - /// Size of the scratch disk, defined in GB. + /// Size of the scratch disk, defined in GB. #[prost(int32, optional, tag="60990141")] pub disk_gb: ::core::option::Option, } -/// An instance's screenshot. +/// An instance's screenshot. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Screenshot { - /// [Output Only] The Base64-encoded screenshot data. + /// [Output Only] The Base64-encoded screenshot data. #[prost(string, optional, tag="506419994")] pub contents: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#screenshot for the screenshots. + /// [Output Only] Type of the resource. Always compute#screenshot for the screenshots. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, } @@ -24732,25 +24732,25 @@ pub struct Screenshot { pub struct SecurityPoliciesAggregatedList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SecurityPoliciesScopedList resources. + /// A list of SecurityPoliciesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, SecurityPoliciesScopedList>, - /// [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies. + /// [Output Only] Type of resource. Always compute#securityPolicyAggregatedList for lists of Security Policies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -24763,10 +24763,10 @@ pub struct SecurityPoliciesListPreconfiguredExpressionSetsResponse { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPoliciesScopedList { - /// A list of SecurityPolicies contained in this scope. + /// A list of SecurityPolicies contained in this scope. #[prost(message, repeated, tag="127783791")] pub security_policies: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of security policies when the list is empty. + /// Informational warning which replaces the list of security policies when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -24776,56 +24776,56 @@ pub struct SecurityPoliciesWafConfig { #[prost(message, optional, tag="74899924")] pub waf_rules: ::core::option::Option, } -/// Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview. +/// Represents a Google Cloud Armor security policy resource. Only external backend services that use load balancers can reference a security policy. For more information, see Google Cloud Armor security policy overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicy { #[prost(message, optional, tag="150240735")] pub adaptive_protection_config: ::core::option::Option, #[prost(message, optional, tag="449276352")] pub advanced_options_config: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="50315853")] pub ddos_protection_config: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy. + /// Specifies a fingerprint for this resource, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make get() request to the security policy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#securityPolicyfor security policies + /// [Output only] Type of the resource. Always compute#securityPolicyfor security policies #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, optional, tag="519006811")] pub recaptcha_options_config: ::core::option::Option, - /// [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. + /// [Output Only] URL of the region where the regional security policy resides. This field is not applicable to global security policies. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added. + /// A list of rules that belong to this policy. There must always be a default rule (rule with priority 2147483647 and match "*"). If no rules are provided when creating a security policy, a default rule with action "allow" will be added. #[prost(message, repeated, tag="108873975")] pub rules: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. - /// Check the Type enum for the list of possible values. + /// The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SecurityPolicy`. pub mod security_policy { - /// The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. + /// The type indicates the intended use of the security policy. - CLOUD_ARMOR: Cloud Armor backend security policies can be configured to filter incoming HTTP requests targeting backend services. They filter requests before they hit the origin servers. - CLOUD_ARMOR_EDGE: Cloud Armor edge security policies can be configured to filter incoming HTTP requests targeting backend services (including Cloud CDN-enabled) as well as backend buckets (Cloud Storage). They filter requests before the request is served from Google's cache. - CLOUD_ARMOR_INTERNAL_SERVICE: Cloud Armor internal service policies can be configured to filter HTTP requests targeting services managed by Traffic Director in a service mesh. They filter requests before the request is served from the application. This field can be set only at resource creation time. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, CloudArmor = 260640373, CloudArmorEdge = 250728775, @@ -24846,31 +24846,31 @@ pub mod security_policy { } } } -/// Configuration options for Cloud Armor Adaptive Protection (CAAP). +/// Configuration options for Cloud Armor Adaptive Protection (CAAP). #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyAdaptiveProtectionConfig { - /// If set to true, enables Cloud Armor Machine Learning. + /// If set to true, enables Cloud Armor Machine Learning. #[prost(message, optional, tag="437316771")] pub layer7_ddos_defense_config: ::core::option::Option, } -/// Configuration options for L7 DDoS detection. +/// Configuration options for L7 DDoS detection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig { - /// If set to true, enables CAAP for L7 DDoS detection. + /// If set to true, enables CAAP for L7 DDoS detection. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, - /// Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. - /// Check the RuleVisibility enum for the list of possible values. + /// Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. + /// Check the RuleVisibility enum for the list of possible values. #[prost(string, optional, tag="453258293")] pub rule_visibility: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SecurityPolicyAdaptiveProtectionConfigLayer7DdosDefenseConfig`. pub mod security_policy_adaptive_protection_config_layer7_ddos_defense_config { - /// Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. + /// Rule visibility can be one of the following: STANDARD - opaque rules. (default) PREMIUM - transparent rules. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RuleVisibility { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRuleVisibility = 0, Premium = 399530551, Standard = 484642493, @@ -24892,15 +24892,15 @@ pub mod security_policy_adaptive_protection_config_layer7_ddos_defense_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyAdvancedOptionsConfig { - /// Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. + /// Custom configuration to apply the JSON parsing. Only applicable when json_parsing is set to STANDARD. #[prost(message, optional, tag="111570105")] pub json_custom_config: ::core::option::Option, - /// - /// Check the JsonParsing enum for the list of possible values. + /// + /// Check the JsonParsing enum for the list of possible values. #[prost(string, optional, tag="282493529")] pub json_parsing: ::core::option::Option<::prost::alloc::string::String>, - /// - /// Check the LogLevel enum for the list of possible values. + /// + /// Check the LogLevel enum for the list of possible values. #[prost(string, optional, tag="140582601")] pub log_level: ::core::option::Option<::prost::alloc::string::String>, } @@ -24910,7 +24910,7 @@ pub mod security_policy_advanced_options_config { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JsonParsing { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedJsonParsing = 0, Disabled = 516696700, Standard = 484642493, @@ -24932,7 +24932,7 @@ pub mod security_policy_advanced_options_config { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LogLevel { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLogLevel = 0, Normal = 161067239, Verbose = 532219234, @@ -24954,15 +24954,15 @@ pub mod security_policy_advanced_options_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyAdvancedOptionsConfigJsonCustomConfig { - /// A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. + /// A list of custom Content-Type header values to apply the JSON parsing. As per RFC 1341, a Content-Type header value has the following format: Content-Type := type "/" subtype *[";" parameter] When configuring a custom Content-Type header value, only the type/subtype needs to be specified, and the parameters should be excluded. #[prost(string, repeated, tag="17428787")] pub content_types: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyDdosProtectionConfig { - /// - /// Check the DdosProtection enum for the list of possible values. + /// + /// Check the DdosProtection enum for the list of possible values. #[prost(string, optional, tag="275173268")] pub ddos_protection: ::core::option::Option<::prost::alloc::string::String>, } @@ -24972,7 +24972,7 @@ pub mod security_policy_ddos_protection_config { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DdosProtection { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedDdosProtection = 0, Advanced = 63789090, Standard = 484642493, @@ -24994,26 +24994,26 @@ pub mod security_policy_ddos_protection_config { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SecurityPolicy resources. + /// A list of SecurityPolicy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies + /// [Output Only] Type of resource. Always compute#securityPolicyList for listsof securityPolicies #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRecaptchaOptionsConfig { - /// An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. + /// An optional field to supply a reCAPTCHA site key to be used for all the rules using the redirect action with the type of GOOGLE_RECAPTCHA under the security policy. The specified site key needs to be created from the reCAPTCHA API. The user is responsible for the validity of the specified site key. If not specified, a Google-managed site key is used. #[prost(string, optional, tag="447677034")] pub redirect_site_key: ::core::option::Option<::prost::alloc::string::String>, } @@ -25023,77 +25023,77 @@ pub struct SecurityPolicyReference { #[prost(string, optional, tag="171082513")] pub security_policy: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). +/// Represents a rule that describes one or more match conditions along with the action to be taken when traffic matches this condition (allow or deny). #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRule { - /// The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. + /// The Action to perform when the rule is matched. The following are the valid actions: - allow: allow access to target. - deny(): deny access to target, returns the HTTP response code specified (valid values are 403, 404, and 502). - rate_based_ban: limit client traffic to the configured threshold and ban the client if the traffic exceeds the threshold. Configure parameters for this action in RateLimitOptions. Requires rate_limit_options to be set. - redirect: redirect to a different target. This can either be an internal reCAPTCHA redirect, or an external URL-based redirect via a 302 response. Parameters for this action can be configured via redirectOptions. - throttle: limit client traffic to the configured threshold. Configure parameters for this action in rateLimitOptions. Requires rate_limit_options to be set for this. #[prost(string, optional, tag="187661878")] pub action: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Optional, additional actions that are performed on headers. + /// Optional, additional actions that are performed on headers. #[prost(message, optional, tag="328077352")] pub header_action: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules + /// [Output only] Type of the resource. Always compute#securityPolicyRule for security policy rules #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. + /// A match condition that incoming traffic is evaluated against. If it evaluates to true, the corresponding 'action' is enforced. #[prost(message, optional, tag="103668165")] pub r#match: ::core::option::Option, - /// If set to true, the specified action is not enforced. + /// If set to true, the specified action is not enforced. #[prost(bool, optional, tag="218686408")] pub preview: ::core::option::Option, - /// An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. + /// An integer indicating the priority of a rule in the list. The priority must be a positive value between 0 and 2147483647. Rules are evaluated from highest to lowest priority where 0 is the highest priority and 2147483647 is the lowest priority. #[prost(int32, optional, tag="445151652")] pub priority: ::core::option::Option, - /// Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions. + /// Must be specified if the action is "rate_based_ban" or "throttle". Cannot be specified for any other actions. #[prost(message, optional, tag="67544315")] pub rate_limit_options: ::core::option::Option, - /// Parameters defining the redirect action. Cannot be specified for any other actions. + /// Parameters defining the redirect action. Cannot be specified for any other actions. #[prost(message, optional, tag="163285307")] pub redirect_options: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleHttpHeaderAction { - /// The list of request headers to add or overwrite if they're already present. + /// The list of request headers to add or overwrite if they're already present. #[prost(message, repeated, tag="87987661")] pub request_headers_to_adds: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleHttpHeaderActionHttpHeaderOption { - /// The name of the header to set. + /// The name of the header to set. #[prost(string, optional, tag="110223613")] pub header_name: ::core::option::Option<::prost::alloc::string::String>, - /// The value to set the named header to. + /// The value to set the named header to. #[prost(string, optional, tag="203094335")] pub header_value: ::core::option::Option<::prost::alloc::string::String>, } -/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. +/// Represents a match condition that incoming traffic is evaluated against. Exactly one field must be specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleMatcher { - /// The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. + /// The configuration options available when specifying versioned_expr. This field must be specified if versioned_expr is specified and cannot be specified if versioned_expr is not specified. #[prost(message, optional, tag="255820610")] pub config: ::core::option::Option, - /// User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. + /// User defined CEVAL expression. A CEVAL expression is used to specify match criteria such as origin.ip, source.region_code and contents in the request header. #[prost(message, optional, tag="3127797")] pub expr: ::core::option::Option, - /// Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. - /// Check the VersionedExpr enum for the list of possible values. + /// Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. + /// Check the VersionedExpr enum for the list of possible values. #[prost(string, optional, tag="322286013")] pub versioned_expr: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SecurityPolicyRuleMatcher`. pub mod security_policy_rule_matcher { - /// Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. + /// Preconfigured versioned expression. If this field is specified, config must also be specified. Available preconfigured expressions along with their requirements are: SRC_IPS_V1 - must specify the corresponding src_ip_range field in config. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VersionedExpr { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedVersionedExpr = 0, - /// Matches the source IP address of a request to the IP ranges supplied in config. + /// Matches the source IP address of a request to the IP ranges supplied in config. SrcIpsV1 = 70925961, } impl VersionedExpr { @@ -25112,46 +25112,46 @@ pub mod security_policy_rule_matcher { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleMatcherConfig { - /// CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. + /// CIDR IP address range. Maximum number of src_ip_ranges allowed is 10. #[prost(string, repeated, tag="432128083")] pub src_ip_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleRateLimitOptions { - /// Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. + /// Can only be specified if the action for the rule is "rate_based_ban". If specified, determines the time (in seconds) the traffic will continue to be banned by the rate limit after the rate falls below the threshold. #[prost(int32, optional, tag="42896726")] pub ban_duration_sec: ::core::option::Option, - /// Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'. + /// Can only be specified if the action for the rule is "rate_based_ban". If specified, the key will be banned for the configured 'ban_duration_sec' when the number of requests that exceed the 'rate_limit_threshold' also exceed this 'ban_threshold'. #[prost(message, optional, tag="501208123")] pub ban_threshold: ::core::option::Option, - /// Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. + /// Action to take for requests that are under the configured rate limit threshold. Valid option is "allow" only. #[prost(string, optional, tag="517612367")] pub conform_action: ::core::option::Option<::prost::alloc::string::String>, - /// Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. - /// Check the EnforceOnKey enum for the list of possible values. + /// Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. + /// Check the EnforceOnKey enum for the list of possible values. #[prost(string, optional, tag="416648956")] pub enforce_on_key: ::core::option::Option<::prost::alloc::string::String>, - /// Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. + /// Rate limit key name applicable only for the following key types: HTTP_HEADER -- Name of the HTTP header whose value is taken as the key value. HTTP_COOKIE -- Name of the HTTP cookie whose value is taken as the key value. #[prost(string, optional, tag="132555246")] pub enforce_on_key_name: ::core::option::Option<::prost::alloc::string::String>, - /// Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below. + /// Action to take for requests that are above the configured rate limit threshold, to either deny with a specified HTTP response code, or redirect to a different endpoint. Valid options are "deny(status)", where valid values for status are 403, 404, 429, and 502, and "redirect" where the redirect parameters come from exceedRedirectOptions below. #[prost(string, optional, tag="167159073")] pub exceed_action: ::core::option::Option<::prost::alloc::string::String>, - /// Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. + /// Parameters defining the redirect action that is used as the exceed action. Cannot be specified if the exceed action is not redirect. #[prost(message, optional, tag="473646694")] pub exceed_redirect_options: ::core::option::Option, - /// Threshold at which to begin ratelimiting. + /// Threshold at which to begin ratelimiting. #[prost(message, optional, tag="315875208")] pub rate_limit_threshold: ::core::option::Option, } /// Nested message and enum types in `SecurityPolicyRuleRateLimitOptions`. pub mod security_policy_rule_rate_limit_options { - /// Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. + /// Determines the key to enforce the rate_limit_threshold on. Possible values are: - ALL: A single rate limit threshold is applied to all the requests matching this rule. This is the default value if this field 'enforce_on_key' is not configured. - IP: The source IP address of the request is the key. Each IP has this limit enforced separately. - HTTP_HEADER: The value of the HTTP header whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the header value. If no such header is present in the request, the key type defaults to ALL. - XFF_IP: The first IP address (i.e. the originating client IP address) specified in the list of IPs under X-Forwarded-For HTTP header. If no such header is present or the value is not a valid IP, the key defaults to the source IP address of the request i.e. key type IP. - HTTP_COOKIE: The value of the HTTP cookie whose name is configured under "enforce_on_key_name". The key value is truncated to the first 128 bytes of the cookie value. If no such cookie is present in the request, the key type defaults to ALL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EnforceOnKey { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedEnforceOnKey = 0, All = 64897, HttpCookie = 494981627, @@ -25179,31 +25179,31 @@ pub mod security_policy_rule_rate_limit_options { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleRateLimitOptionsThreshold { - /// Number of HTTP(S) requests for calculating the threshold. + /// Number of HTTP(S) requests for calculating the threshold. #[prost(int32, optional, tag="94851343")] pub count: ::core::option::Option, - /// Interval over which the threshold is computed. + /// Interval over which the threshold is computed. #[prost(int32, optional, tag="41084375")] pub interval_sec: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityPolicyRuleRedirectOptions { - /// Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. + /// Target for the redirect action. This is required if the type is EXTERNAL_302 and cannot be specified for GOOGLE_RECAPTCHA. #[prost(string, optional, tag="192835985")] pub target: ::core::option::Option<::prost::alloc::string::String>, - /// Type of the redirect action. - /// Check the Type enum for the list of possible values. + /// Type of the redirect action. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SecurityPolicyRuleRedirectOptions`. pub mod security_policy_rule_redirect_options { - /// Type of the redirect action. + /// Type of the redirect action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, External302 = 395733761, GoogleRecaptcha = 518803009, @@ -25222,57 +25222,57 @@ pub mod security_policy_rule_redirect_options { } } } -/// The authentication and authorization settings for a BackendService. +/// The authentication and authorization settings for a BackendService. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecuritySettings { - /// Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. + /// Optional. A URL referring to a networksecurity.ClientTlsPolicy resource that describes how clients should authenticate with this service's backends. clientTlsPolicy only applies to a global BackendService with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. #[prost(string, optional, tag="462325226")] pub client_tls_policy: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact. + /// Optional. A list of Subject Alternative Names (SANs) that the client verifies during a mutual TLS handshake with an server/endpoint for this BackendService. When the server presents its X.509 certificate to the client, the client inspects the certificate's subjectAltName field. If the field contains one of the specified values, the communication continues. Otherwise, it fails. This additional check enables the client to verify that the server is authorized to run the requested service. Note that the contents of the server certificate's subjectAltName field are configured by the Public Key Infrastructure which provisions server identities. Only applies to a global BackendService with loadBalancingScheme set to INTERNAL_SELF_MANAGED. Only applies when BackendService has an attached clientTlsPolicy with clientCertificate (mTLS mode). Note: This field currently has no impact. #[prost(string, repeated, tag="330029535")] pub subject_alt_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A request message for Instances.SendDiagnosticInterrupt. See the method description for details. +/// A request message for Instances.SendDiagnosticInterrupt. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SendDiagnosticInterruptInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A response message for Instances.SendDiagnosticInterrupt. See the method description for details. +/// A response message for Instances.SendDiagnosticInterrupt. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SendDiagnosticInterruptInstanceResponse { } -/// An instance serial console output. +/// An instance serial console output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerialPortOutput { - /// [Output Only] The contents of the console output. + /// [Output Only] The contents of the console output. #[prost(string, optional, tag="506419994")] pub contents: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. + /// [Output Only] Type of the resource. Always compute#serialPortOutput for serial port output. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter. + /// [Output Only] The position of the next byte of content, regardless of whether the content exists, following the output returned in the `contents` property. Use this value in the next request as the start parameter. #[prost(int64, optional, tag="3377907")] pub next: ::core::option::Option, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request. + /// The starting byte position of the output that was returned. This should match the start parameter sent with the request. If the serial console output exceeds the size of the buffer (1 MB), older output is overwritten by newer content. The output start value will indicate the byte position of the output that was returned, which might be different than the `start` value that was specified in the request. #[prost(int64, optional, tag="109757538")] pub start: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServerBinding { - /// - /// Check the Type enum for the list of possible values. + /// + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } @@ -25282,11 +25282,11 @@ pub mod server_binding { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// Node may associate with any physical server over its lifetime. + /// Node may associate with any physical server over its lifetime. RestartNodeOnAnyServer = 502950985, - /// Node may associate with minimal physical servers over its lifetime. + /// Node may associate with minimal physical servers over its lifetime. RestartNodeOnMinimalServers = 204166495, ServerBindingTypeUnspecified = 180825512, } @@ -25305,82 +25305,82 @@ pub mod server_binding { } } } -/// A service account. +/// A service account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAccount { - /// Email address of the service account. + /// Email address of the service account. #[prost(string, optional, tag="96619420")] pub email: ::core::option::Option<::prost::alloc::string::String>, - /// The list of scopes to be made available for this service account. + /// The list of scopes to be made available for this service account. #[prost(string, repeated, tag="165973151")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 20 +/// Represents a ServiceAttachment resource. A service attachment represents a service that a producer has exposed. It encapsulates the load balancer which fronts the service runs and a list of NAT IP ranges that the producers uses to represent the consumers connecting to the service. next tag = 20 #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachment { - /// [Output Only] An array of connections for all the consumers connected to this service attachment. + /// [Output Only] An array of connections for all the consumers connected to this service attachment. #[prost(message, repeated, tag="72223688")] pub connected_endpoints: ::prost::alloc::vec::Vec, - /// The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. - /// Check the ConnectionPreference enum for the list of possible values. + /// The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. + /// Check the ConnectionPreference enum for the list of possible values. #[prost(string, optional, tag="285818076")] pub connection_preference: ::core::option::Option<::prost::alloc::string::String>, - /// Projects that are allowed to connect to this service attachment. + /// Projects that are allowed to connect to this service attachment. #[prost(message, repeated, tag="402725703")] pub consumer_accept_lists: ::prost::alloc::vec::Vec, - /// Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number. + /// Projects that are not allowed to connect to this service attachment. The project can be specified using its id or number. #[prost(string, repeated, tag="204033182")] pub consumer_reject_lists: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1. + /// If specified, the domain name will be used during the integration between the PSC connected endpoints and the Cloud DNS. For example, this is a valid domain name: "p.mycompany.com.". Current max number of domain names supported is 1. #[prost(string, repeated, tag="6450189")] pub domain_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers. + /// If true, enable the proxy protocol which is for supplying client TCP/IP address data in TCP connections that traverse proxies on their way to destination servers. #[prost(bool, optional, tag="363791237")] pub enable_proxy_protocol: ::core::option::Option, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a ServiceAttachment. An up-to-date fingerprint must be provided in order to patch/update the ServiceAttachment; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the ServiceAttachment. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource type. The server generates this identifier. + /// [Output Only] The unique identifier for the resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments. + /// [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment. + /// An array of URLs where each entry is the URL of a subnet provided by the service producer to use for NAT in this service attachment. #[prost(string, repeated, tag="374785944")] pub nat_subnets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment. + /// The URL of a forwarding rule with loadBalancingScheme INTERNAL* that is serving the endpoint identified by this service attachment. #[prost(string, optional, tag="247927889")] pub producer_forwarding_rule: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An 128-bit global unique ID of the PSC service attachment. + /// [Output Only] An 128-bit global unique ID of the PSC service attachment. #[prost(message, optional, tag="527695214")] pub psc_service_attachment_id: ::core::option::Option, - /// [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the service attachment resides. This field applies only to the region resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of a service serving the endpoint identified by this service attachment. + /// The URL of a service serving the endpoint identified by this service attachment. #[prost(string, optional, tag="1293831")] pub target_service: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ServiceAttachment`. pub mod service_attachment { - /// The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. + /// The connection preference of service attachment. The value can be set to ACCEPT_AUTOMATIC. An ACCEPT_AUTOMATIC service attachment is one that always accepts the connection from consumer forwarding rules. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectionPreference { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedConnectionPreference = 0, AcceptAutomatic = 75250580, AcceptManual = 373061341, @@ -25401,62 +25401,62 @@ pub mod service_attachment { } } } -/// Contains a list of ServiceAttachmentsScopedList. +/// Contains a list of ServiceAttachmentsScopedList. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachmentAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ServiceAttachmentsScopedList resources. + /// A list of ServiceAttachmentsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, ServiceAttachmentsScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// [Output Only] A connection connected to this service attachment. +/// [Output Only] A connection connected to this service attachment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachmentConnectedEndpoint { - /// The url of a connected endpoint. + /// The url of a connected endpoint. #[prost(string, optional, tag="130489749")] pub endpoint: ::core::option::Option<::prost::alloc::string::String>, - /// The PSC connection id of the connected endpoint. + /// The PSC connection id of the connected endpoint. #[prost(uint64, optional, tag="292082397")] pub psc_connection_id: ::core::option::Option, - /// The status of a connected endpoint to this service attachment. - /// Check the Status enum for the list of possible values. + /// The status of a connected endpoint to this service attachment. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ServiceAttachmentConnectedEndpoint`. pub mod service_attachment_connected_endpoint { - /// The status of a connected endpoint to this service attachment. + /// The status of a connected endpoint to this service attachment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The connection has been accepted by the producer. + /// The connection has been accepted by the producer. Accepted = 246714279, - /// The connection has been closed by the producer. + /// The connection has been closed by the producer. Closed = 380163436, - /// The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic. + /// The connection has been accepted by the producer, but the producer needs to take further action before the forwarding rule can serve traffic. NeedsAttention = 344491452, - /// The connection is pending acceptance by the producer. + /// The connection is pending acceptance by the producer. Pending = 35394935, - /// The consumer is still connected but not using the connection. + /// The consumer is still connected but not using the connection. Rejected = 174130302, Unspecified = 42133066, } @@ -25481,1364 +25481,1364 @@ pub mod service_attachment_connected_endpoint { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachmentConsumerProjectLimit { - /// The value of the limit to set. + /// The value of the limit to set. #[prost(uint32, optional, tag="131403546")] pub connection_limit: ::core::option::Option, - /// The project id or number for the project to set the limit for. + /// The project id or number for the project to set the limit for. #[prost(string, optional, tag="349783336")] pub project_id_or_num: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachmentList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of ServiceAttachment resources. + /// A list of ServiceAttachment resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments. + /// [Output Only] Type of the resource. Always compute#serviceAttachment for service attachments. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceAttachmentsScopedList { - /// A list of ServiceAttachments contained in this scope. + /// A list of ServiceAttachments contained in this scope. #[prost(message, repeated, tag="307136806")] pub service_attachments: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of service attachments when the list is empty. + /// Informational warning which replaces the list of service attachments when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for TargetSslProxies.SetBackendService. See the method description for details. +/// A request message for TargetSslProxies.SetBackendService. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetBackendServiceTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="139080868")] pub target_ssl_proxies_set_backend_service_request_resource: ::core::option::Option, - /// Name of the TargetSslProxy resource whose BackendService resource is to be set. + /// Name of the TargetSslProxy resource whose BackendService resource is to be set. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for TargetTcpProxies.SetBackendService. See the method description for details. +/// A request message for TargetTcpProxies.SetBackendService. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetBackendServiceTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="273721583")] pub target_tcp_proxies_set_backend_service_request_resource: ::core::option::Option, - /// Name of the TargetTcpProxy resource whose BackendService resource is to be set. + /// Name of the TargetTcpProxy resource whose BackendService resource is to be set. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for TargetPools.SetBackup. See the method description for details. +/// A request message for TargetPools.SetBackup. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetBackupTargetPoolRequest { - /// New failoverRatio value for the target pool. + /// New failoverRatio value for the target pool. #[prost(float, optional, tag="212667006")] pub failover_ratio: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetPool resource to set a backup pool for. + /// Name of the TargetPool resource to set a backup pool for. #[prost(string, tag="62796298")] pub target_pool: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="523721712")] pub target_reference_resource: ::core::option::Option, } -/// A request message for TargetHttpsProxies.SetCertificateMap. See the method description for details. +/// A request message for TargetHttpsProxies.SetCertificateMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetCertificateMapTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="467639099")] pub target_https_proxies_set_certificate_map_request_resource: ::core::option::Option, - /// Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the TargetHttpsProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetSslProxies.SetCertificateMap. See the method description for details. +/// A request message for TargetSslProxies.SetCertificateMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetCertificateMapTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="343984954")] pub target_ssl_proxies_set_certificate_map_request_resource: ::core::option::Option, - /// Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the TargetSslProxy resource whose CertificateMap is to be set. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for Projects.SetCommonInstanceMetadata. See the method description for details. +/// A request message for Projects.SetCommonInstanceMetadata. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetCommonInstanceMetadataProjectRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="291086110")] pub metadata_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Projects.SetDefaultNetworkTier. See the method description for details. +/// A request message for Projects.SetDefaultNetworkTier. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetDefaultNetworkTierProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="126410762")] pub projects_set_default_network_tier_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.SetDeletionProtection. See the method description for details. +/// A request message for Instances.SetDeletionProtection. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetDeletionProtectionInstanceRequest { - /// Whether the resource should be protected against deletion. + /// Whether the resource should be protected against deletion. #[prost(bool, optional, tag="458014698")] pub deletion_protection: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.SetDiskAutoDelete. See the method description for details. +/// A request message for Instances.SetDiskAutoDelete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetDiskAutoDeleteInstanceRequest { - /// Whether to auto-delete the disk when the instance is deleted. + /// Whether to auto-delete the disk when the instance is deleted. #[prost(bool, tag="464761403")] pub auto_delete: bool, - /// The device name of the disk to modify. Make a get() request on the instance to view currently attached disks and device names. + /// The device name of the disk to modify. Make a get() request on the instance to view currently attached disks and device names. #[prost(string, tag="67541716")] pub device_name: ::prost::alloc::string::String, - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details. +/// A request message for BackendBuckets.SetEdgeSecurityPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetEdgeSecurityPolicyBackendBucketRequest { - /// Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + /// Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="204135024")] pub security_policy_reference_resource: ::core::option::Option, } -/// A request message for BackendServices.SetEdgeSecurityPolicy. See the method description for details. +/// A request message for BackendServices.SetEdgeSecurityPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetEdgeSecurityPolicyBackendServiceRequest { - /// Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. + /// Name of the BackendService resource to which the edge security policy should be set. The name should conform to RFC1035. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="204135024")] pub security_policy_reference_resource: ::core::option::Option, } -/// A request message for BackendServices.SetIamPolicy. See the method description for details. +/// A request message for BackendServices.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyBackendServiceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Disks.SetIamPolicy. See the method description for details. +/// A request message for Disks.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="382082107")] pub zone_set_policy_request_resource: ::core::option::Option, } -/// A request message for FirewallPolicies.SetIamPolicy. See the method description for details. +/// A request message for FirewallPolicies.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyFirewallPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="177408606")] pub global_organization_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Images.SetIamPolicy. See the method description for details. +/// A request message for Images.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyImageRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Instances.SetIamPolicy. See the method description for details. +/// A request message for Instances.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyInstanceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="382082107")] pub zone_set_policy_request_resource: ::core::option::Option, } -/// A request message for InstanceTemplates.SetIamPolicy. See the method description for details. +/// A request message for InstanceTemplates.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyInstanceTemplateRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Licenses.SetIamPolicy. See the method description for details. +/// A request message for Licenses.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyLicenseRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for MachineImages.SetIamPolicy. See the method description for details. +/// A request message for MachineImages.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyMachineImageRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details. +/// A request message for NetworkFirewallPolicies.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyNetworkFirewallPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for NodeGroups.SetIamPolicy. See the method description for details. +/// A request message for NodeGroups.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyNodeGroupRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="382082107")] pub zone_set_policy_request_resource: ::core::option::Option, } -/// A request message for NodeTemplates.SetIamPolicy. See the method description for details. +/// A request message for NodeTemplates.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyNodeTemplateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionBackendServices.SetIamPolicy. See the method description for details. +/// A request message for RegionBackendServices.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyRegionBackendServiceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionDisks.SetIamPolicy. See the method description for details. +/// A request message for RegionDisks.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyRegionDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyRegionNetworkFirewallPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Reservations.SetIamPolicy. See the method description for details. +/// A request message for Reservations.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="382082107")] pub zone_set_policy_request_resource: ::core::option::Option, } -/// A request message for ResourcePolicies.SetIamPolicy. See the method description for details. +/// A request message for ResourcePolicies.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyResourcePolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for ServiceAttachments.SetIamPolicy. See the method description for details. +/// A request message for ServiceAttachments.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicyServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Snapshots.SetIamPolicy. See the method description for details. +/// A request message for Snapshots.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicySnapshotRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="337048498")] pub global_set_policy_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Subnetworks.SetIamPolicy. See the method description for details. +/// A request message for Subnetworks.SetIamPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetIamPolicySubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="276489091")] pub region_set_policy_request_resource: ::core::option::Option, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for InstanceGroupManagers.SetInstanceTemplate. See the method description for details. +/// A request message for InstanceGroupManagers.SetInstanceTemplate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetInstanceTemplateInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="9809093")] pub instance_group_managers_set_instance_template_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.SetInstanceTemplate. See the method description for details. +/// A request message for RegionInstanceGroupManagers.SetInstanceTemplate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetInstanceTemplateRegionInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="187310412")] pub region_instance_group_managers_set_template_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Addresses.SetLabels. See the method description for details. +/// A request message for Addresses.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsAddressRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Disks.SetLabels. See the method description for details. +/// A request message for Disks.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="364950798")] pub zone_set_labels_request_resource: ::core::option::Option, } -/// A request message for ExternalVpnGateways.SetLabels. See the method description for details. +/// A request message for ExternalVpnGateways.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsExternalVpnGatewayRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for ForwardingRules.SetLabels. See the method description for details. +/// A request message for ForwardingRules.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsForwardingRuleRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for GlobalAddresses.SetLabels. See the method description for details. +/// A request message for GlobalAddresses.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsGlobalAddressRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for GlobalForwardingRules.SetLabels. See the method description for details. +/// A request message for GlobalForwardingRules.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsGlobalForwardingRuleRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Images.SetLabels. See the method description for details. +/// A request message for Images.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsImageRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Instances.SetLabels. See the method description for details. +/// A request message for Instances.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207749344")] pub instances_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InterconnectAttachments.SetLabels. See the method description for details. +/// A request message for InterconnectAttachments.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsInterconnectAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Interconnects.SetLabels. See the method description for details. +/// A request message for Interconnects.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsInterconnectRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for RegionDisks.SetLabels. See the method description for details. +/// A request message for RegionDisks.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsRegionDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for SecurityPolicies.SetLabels. See the method description for details. +/// A request message for SecurityPolicies.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsSecurityPolicyRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Snapshots.SetLabels. See the method description for details. +/// A request message for Snapshots.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsSnapshotRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="319917189")] pub global_set_labels_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for TargetVpnGateways.SetLabels. See the method description for details. +/// A request message for TargetVpnGateways.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsTargetVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for VpnGateways.SetLabels. See the method description for details. +/// A request message for VpnGateways.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for VpnTunnels.SetLabels. See the method description for details. +/// A request message for VpnTunnels.SetLabels. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetLabelsVpnTunnelRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The region for this request. + /// The region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="259357782")] pub region_set_labels_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, } -/// A request message for Instances.SetMachineResources. See the method description for details. +/// A request message for Instances.SetMachineResources. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetMachineResourcesInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="196286318")] pub instances_set_machine_resources_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.SetMachineType. See the method description for details. +/// A request message for Instances.SetMachineType. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetMachineTypeInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="254157709")] pub instances_set_machine_type_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.SetMetadata. See the method description for details. +/// A request message for Instances.SetMetadata. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetMetadataInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="291086110")] pub metadata_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.SetMinCpuPlatform. See the method description for details. +/// A request message for Instances.SetMinCpuPlatform. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetMinCpuPlatformInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="148459368")] pub instances_set_min_cpu_platform_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceGroups.SetNamedPorts. See the method description for details. +/// A request message for InstanceGroups.SetNamedPorts. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetNamedPortsInstanceGroupRequest { - /// The name of the instance group where the named ports are updated. + /// The name of the instance group where the named ports are updated. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="385151535")] pub instance_groups_set_named_ports_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the instance group is located. + /// The name of the zone where the instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroups.SetNamedPorts. See the method description for details. +/// A request message for RegionInstanceGroups.SetNamedPorts. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetNamedPortsRegionInstanceGroupRequest { - /// The name of the regional instance group where the named ports are updated. + /// The name of the regional instance group where the named ports are updated. #[prost(string, tag="81095253")] pub instance_group: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="1574938")] pub region_instance_groups_set_named_ports_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for NodeGroups.SetNodeTemplate. See the method description for details. +/// A request message for NodeGroups.SetNodeTemplate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetNodeTemplateNodeGroupRequest { - /// Name of the NodeGroup resource to update. + /// Name of the NodeGroup resource to update. #[prost(string, tag="469958146")] pub node_group: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="117382321")] pub node_groups_set_node_template_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Subnetworks.SetPrivateIpGoogleAccess. See the method description for details. +/// A request message for Subnetworks.SetPrivateIpGoogleAccess. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetPrivateIpGoogleAccessSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Subnetwork resource. + /// Name of the Subnetwork resource. #[prost(string, tag="307827694")] pub subnetwork: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="268920696")] pub subnetworks_set_private_ip_google_access_request_resource: ::core::option::Option, } -/// A request message for TargetSslProxies.SetProxyHeader. See the method description for details. +/// A request message for TargetSslProxies.SetProxyHeader. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetProxyHeaderTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="205284526")] pub target_ssl_proxies_set_proxy_header_request_resource: ::core::option::Option, - /// Name of the TargetSslProxy resource whose ProxyHeader is to be set. + /// Name of the TargetSslProxy resource whose ProxyHeader is to be set. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for TargetTcpProxies.SetProxyHeader. See the method description for details. +/// A request message for TargetTcpProxies.SetProxyHeader. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetProxyHeaderTargetTcpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="219958339")] pub target_tcp_proxies_set_proxy_header_request_resource: ::core::option::Option, - /// Name of the TargetTcpProxy resource whose ProxyHeader is to be set. + /// Name of the TargetTcpProxy resource whose ProxyHeader is to be set. #[prost(string, tag="503065442")] pub target_tcp_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpsProxies.SetQuicOverride. See the method description for details. +/// A request message for TargetHttpsProxies.SetQuicOverride. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetQuicOverrideTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="72940258")] pub target_https_proxies_set_quic_override_request_resource: ::core::option::Option, - /// Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035. + /// Name of the TargetHttpsProxy resource to set the QUIC override policy for. The name should conform to RFC1035. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for Instances.SetScheduling. See the method description for details. +/// A request message for Instances.SetScheduling. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSchedulingInstanceRequest { - /// Instance name for this request. + /// Instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="463181401")] pub scheduling_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendServices.SetSecurityPolicy. See the method description for details. +/// A request message for BackendServices.SetSecurityPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSecurityPolicyBackendServiceRequest { - /// Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. + /// Name of the BackendService resource to which the security policy should be set. The name should conform to RFC1035. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="204135024")] pub security_policy_reference_resource: ::core::option::Option, } -/// A request message for Instances.SetServiceAccount. See the method description for details. +/// A request message for Instances.SetServiceAccount. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetServiceAccountInstanceRequest { - /// Name of the instance resource to start. + /// Name of the instance resource to start. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="275550008")] pub instances_set_service_account_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.SetShieldedInstanceIntegrityPolicy. See the method description for details. +/// A request message for Instances.SetShieldedInstanceIntegrityPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetShieldedInstanceIntegrityPolicyInstanceRequest { - /// Name or id of the instance scoping this request. + /// Name or id of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="409169462")] pub shielded_instance_integrity_policy_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionTargetHttpsProxies.SetSslCertificates. See the method description for details. +/// A request message for RegionTargetHttpsProxies.SetSslCertificates. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSslCertificatesRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="390693383")] pub region_target_https_proxies_set_ssl_certificates_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource to set an SslCertificates resource for. + /// Name of the TargetHttpsProxy resource to set an SslCertificates resource for. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpsProxies.SetSslCertificates. See the method description for details. +/// A request message for TargetHttpsProxies.SetSslCertificates. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSslCertificatesTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="223122908")] pub target_https_proxies_set_ssl_certificates_request_resource: ::core::option::Option, - /// Name of the TargetHttpsProxy resource to set an SslCertificates resource for. + /// Name of the TargetHttpsProxy resource to set an SslCertificates resource for. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetSslProxies.SetSslCertificates. See the method description for details. +/// A request message for TargetSslProxies.SetSslCertificates. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSslCertificatesTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="147940797")] pub target_ssl_proxies_set_ssl_certificates_request_resource: ::core::option::Option, - /// Name of the TargetSslProxy resource whose SslCertificate resource is to be set. + /// Name of the TargetSslProxy resource whose SslCertificate resource is to be set. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for TargetHttpsProxies.SetSslPolicy. See the method description for details. +/// A request message for TargetHttpsProxies.SetSslPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSslPolicyTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="235403836")] pub ssl_policy_reference_resource: ::core::option::Option, - /// Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the TargetHttpsProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, } -/// A request message for TargetSslProxies.SetSslPolicy. See the method description for details. +/// A request message for TargetSslProxies.SetSslPolicy. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetSslPolicyTargetSslProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="235403836")] pub ssl_policy_reference_resource: ::core::option::Option, - /// Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. + /// Name of the TargetSslProxy resource whose SSL policy is to be set. The name must be 1-63 characters long, and comply with RFC1035. #[prost(string, tag="338795853")] pub target_ssl_proxy: ::prost::alloc::string::String, } -/// A request message for Instances.SetTags. See the method description for details. +/// A request message for Instances.SetTags. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetTagsInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="331435380")] pub tags_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ForwardingRules.SetTarget. See the method description for details. +/// A request message for ForwardingRules.SetTarget. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetTargetForwardingRuleRequest { - /// Name of the ForwardingRule resource in which target is to be set. + /// Name of the ForwardingRule resource in which target is to be set. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="523721712")] pub target_reference_resource: ::core::option::Option, } -/// A request message for GlobalForwardingRules.SetTarget. See the method description for details. +/// A request message for GlobalForwardingRules.SetTarget. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetTargetGlobalForwardingRuleRequest { - /// Name of the ForwardingRule resource in which target is to be set. + /// Name of the ForwardingRule resource in which target is to be set. #[prost(string, tag="269964030")] pub forwarding_rule: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="523721712")] pub target_reference_resource: ::core::option::Option, } -/// A request message for InstanceGroupManagers.SetTargetPools. See the method description for details. +/// A request message for InstanceGroupManagers.SetTargetPools. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetTargetPoolsInstanceGroupManagerRequest { - /// The name of the managed instance group. + /// The name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="281150216")] pub instance_group_managers_set_target_pools_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. + /// The name of the zone where the managed instance group is located. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.SetTargetPools. See the method description for details. +/// A request message for RegionInstanceGroupManagers.SetTargetPools. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetTargetPoolsRegionInstanceGroupManagerRequest { - /// Name of the managed instance group. + /// Name of the managed instance group. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="78734717")] pub region_instance_group_managers_set_target_pools_request_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionTargetHttpProxies.SetUrlMap. See the method description for details. +/// A request message for RegionTargetHttpProxies.SetUrlMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetUrlMapRegionTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpProxy to set a URL map for. + /// Name of the TargetHttpProxy to set a URL map for. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="398701333")] pub url_map_reference_resource: ::core::option::Option, } -/// A request message for RegionTargetHttpsProxies.SetUrlMap. See the method description for details. +/// A request message for RegionTargetHttpsProxies.SetUrlMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetUrlMapRegionTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy to set a URL map for. + /// Name of the TargetHttpsProxy to set a URL map for. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="398701333")] pub url_map_reference_resource: ::core::option::Option, } -/// A request message for TargetHttpProxies.SetUrlMap. See the method description for details. +/// A request message for TargetHttpProxies.SetUrlMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetUrlMapTargetHttpProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpProxy to set a URL map for. + /// Name of the TargetHttpProxy to set a URL map for. #[prost(string, tag="206872421")] pub target_http_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="398701333")] pub url_map_reference_resource: ::core::option::Option, } -/// A request message for TargetHttpsProxies.SetUrlMap. See the method description for details. +/// A request message for TargetHttpsProxies.SetUrlMap. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetUrlMapTargetHttpsProxyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the TargetHttpsProxy resource whose URL map is to be set. + /// Name of the TargetHttpsProxy resource whose URL map is to be set. #[prost(string, tag="52336748")] pub target_https_proxy: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="398701333")] pub url_map_reference_resource: ::core::option::Option, } -/// A request message for Projects.SetUsageExportBucket. See the method description for details. +/// A request message for Projects.SetUsageExportBucket. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetUsageExportBucketProjectRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="20260459")] pub usage_export_location_resource: ::core::option::Option, } -/// The share setting for reservations and sole tenancy node groups. +/// The share setting for reservations and sole tenancy node groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShareSettings { - /// A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. + /// A map of project id and project config. This is only valid when share_type's value is SPECIFIC_PROJECTS. #[prost(map="string, message", tag="134212406")] pub project_map: ::std::collections::HashMap<::prost::alloc::string::String, ShareSettingsProjectConfig>, - /// Type of sharing for this shared-reservation - /// Check the ShareType enum for the list of possible values. + /// Type of sharing for this shared-reservation + /// Check the ShareType enum for the list of possible values. #[prost(string, optional, tag="359533466")] pub share_type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `ShareSettings`. pub mod share_settings { - /// Type of sharing for this shared-reservation + /// Type of sharing for this shared-reservation #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ShareType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedShareType = 0, - /// Default value. + /// Default value. Local = 72607563, - /// Shared-reservation is open to entire Organization + /// Shared-reservation is open to entire Organization Organization = 274978099, - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 494771730, - /// Shared-reservation is open to specific projects + /// Shared-reservation is open to specific projects SpecificProjects = 347838695, } impl ShareType { @@ -26857,187 +26857,187 @@ pub mod share_settings { } } } -/// Config for each project in the share settings. +/// Config for each project in the share settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShareSettingsProjectConfig { - /// The project ID, should be same as the key of this project config in the parent map. + /// The project ID, should be same as the key of this project config in the parent map. #[prost(string, optional, tag="177513473")] pub project_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A set of Shielded Instance options. +/// A set of Shielded Instance options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShieldedInstanceConfig { - /// Defines whether the instance has integrity monitoring enabled. Enabled by default. + /// Defines whether the instance has integrity monitoring enabled. Enabled by default. #[prost(bool, optional, tag="409071030")] pub enable_integrity_monitoring: ::core::option::Option, - /// Defines whether the instance has Secure Boot enabled. Disabled by default. + /// Defines whether the instance has Secure Boot enabled. Disabled by default. #[prost(bool, optional, tag="123568638")] pub enable_secure_boot: ::core::option::Option, - /// Defines whether the instance has the vTPM enabled. Enabled by default. + /// Defines whether the instance has the vTPM enabled. Enabled by default. #[prost(bool, optional, tag="181858935")] pub enable_vtpm: ::core::option::Option, } -/// A Shielded Instance Identity. +/// A Shielded Instance Identity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShieldedInstanceIdentity { - /// An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM. + /// An Endorsement Key (EK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM. #[prost(message, optional, tag="488268707")] pub encryption_key: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry. + /// [Output Only] Type of the resource. Always compute#shieldedInstanceIdentity for shielded Instance identity entry. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM. + /// An Attestation Key (AK) made by the RSA 2048 algorithm issued to the Shielded Instance's vTPM. #[prost(message, optional, tag="320948261")] pub signing_key: ::core::option::Option, } -/// A Shielded Instance Identity Entry. +/// A Shielded Instance Identity Entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShieldedInstanceIdentityEntry { - /// A PEM-encoded X.509 certificate. This field can be empty. + /// A PEM-encoded X.509 certificate. This field can be empty. #[prost(string, optional, tag="450178589")] pub ek_cert: ::core::option::Option<::prost::alloc::string::String>, - /// A PEM-encoded public key. + /// A PEM-encoded public key. #[prost(string, optional, tag="308947940")] pub ek_pub: ::core::option::Option<::prost::alloc::string::String>, } -/// The policy describes the baseline against which Instance boot integrity is measured. +/// The policy describes the baseline against which Instance boot integrity is measured. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShieldedInstanceIntegrityPolicy { - /// Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. + /// Updates the integrity policy baseline using the measurements from the VM instance's most recent boot. #[prost(bool, optional, tag="245490215")] pub update_auto_learn_policy: ::core::option::Option, } -/// Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs +/// Represents a customer-supplied Signing Key used by Cloud CDN Signed URLs #[derive(Clone, PartialEq, ::prost::Message)] pub struct SignedUrlKey { - /// Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the key. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="500938859")] pub key_name: ::core::option::Option<::prost::alloc::string::String>, - /// 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. + /// 128-bit key value used for signing the URL. The key value must be a valid RFC 4648 Section 5 base64url encoded string. #[prost(string, optional, tag="504106897")] pub key_value: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.SimulateMaintenanceEvent. See the method description for details. +/// A request message for Instances.SimulateMaintenanceEvent. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SimulateMaintenanceEventInstanceRequest { - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots. +/// Represents a Persistent Disk Snapshot resource. You can use snapshots to back up data on a regular interval. For more information, read Creating persistent disk snapshots. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Snapshot { - /// [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. - /// Check the Architecture enum for the list of possible values. + /// [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. + /// Check the Architecture enum for the list of possible values. #[prost(string, optional, tag="302803283")] pub architecture: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk. + /// [Output Only] Set to true if snapshots are automatically created by applying resource policy on the target disk. #[prost(bool, optional, tag="463922264")] pub auto_created: ::core::option::Option, - /// Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value. + /// Creates the new snapshot in the snapshot chain labeled with the specified name. The chain name must be 1-63 characters long and comply with RFC1035. This is an uncommon option only for advanced service owners who needs to create separate snapshot chains, for example, for chargeback tracking. When you describe your snapshot resource, this field is visible only if it has a non-empty value. #[prost(string, optional, tag="68644169")] pub chain_name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Size in bytes of the snapshot at creation time. + /// [Output Only] Size in bytes of the snapshot at creation time. #[prost(int64, optional, tag="125400077")] pub creation_size_bytes: ::core::option::Option, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Size of the source disk, specified in GB. + /// [Output Only] Size of the source disk, specified in GB. #[prost(int64, optional, tag="316263735")] pub disk_size_gb: ::core::option::Option, - /// [Output Only] Number of bytes downloaded to restore a snapshot to a disk. + /// [Output Only] Number of bytes downloaded to restore a snapshot to a disk. #[prost(int64, optional, tag="435054068")] pub download_bytes: ::core::option::Option, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. + /// [Output Only] Type of the resource. Always compute#snapshot for Snapshot resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot. + /// A fingerprint for the labels being applied to this snapshot, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a snapshot. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty. + /// Labels to apply to this snapshot. These can be later modified by the setLabels method. Label values may be empty. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// [Output Only] Integer license codes indicating which licenses are attached to this snapshot. + /// [Output Only] Integer license codes indicating which licenses are attached to this snapshot. #[prost(int64, repeated, tag="45482664")] pub license_codes: ::prost::alloc::vec::Vec, - /// [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image). + /// [Output Only] A list of public visible licenses that apply to this snapshot. This can be because the original image had licenses attached (such as a Windows image). #[prost(string, repeated, tag="337642578")] pub licenses: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API. + /// An opaque location hint used to place the snapshot close to other resources. This field is for use by internal tools that use the public API. #[prost(string, optional, tag="350519505")] pub location_hint: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="480964267")] pub satisfies_pzs: ::core::option::Option, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later. + /// Encrypts the snapshot using a customer-supplied encryption key. After you encrypt a snapshot using a customer-supplied key, you must provide the same key if you use the snapshot later. For example, you must provide the encryption key when you create a disk from the encrypted snapshot in a future request. Customer-supplied encryption keys do not protect access to metadata of the snapshot. If you do not provide an encryption key when creating the snapshot, then the snapshot will be encrypted using an automatically generated key and you do not need to provide a key to use the snapshot later. #[prost(message, optional, tag="43334526")] pub snapshot_encryption_key: ::core::option::Option, - /// Indicates the type of the snapshot. - /// Check the SnapshotType enum for the list of possible values. + /// Indicates the type of the snapshot. + /// Check the SnapshotType enum for the list of possible values. #[prost(string, optional, tag="124349653")] pub snapshot_type: ::core::option::Option<::prost::alloc::string::String>, - /// The source disk used to create this snapshot. + /// The source disk used to create this snapshot. #[prost(string, optional, tag="451753793")] pub source_disk: ::core::option::Option<::prost::alloc::string::String>, - /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. #[prost(message, optional, tag="531501153")] pub source_disk_encryption_key: ::core::option::Option, - /// [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name. + /// [Output Only] The ID value of the disk used to create this snapshot. This value may be used to determine whether the snapshot was taken from the current or a previous instance of a given disk name. #[prost(string, optional, tag="454190809")] pub source_disk_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the resource policy which created this scheduled snapshot. + /// [Output Only] URL of the resource policy which created this scheduled snapshot. #[prost(string, optional, tag="235756291")] pub source_snapshot_schedule_policy: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] ID of the resource policy which created this scheduled snapshot. + /// [Output Only] ID of the resource policy which created this scheduled snapshot. #[prost(string, optional, tag="70489047")] pub source_snapshot_schedule_policy_id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion. + /// [Output Only] A size of the storage used by the snapshot. As snapshots share storage, this number is expected to change with snapshot creation/deletion. #[prost(int64, optional, tag="424631719")] pub storage_bytes: ::core::option::Option, - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. - /// Check the StorageBytesStatus enum for the list of possible values. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// Check the StorageBytesStatus enum for the list of possible values. #[prost(string, optional, tag="490739082")] pub storage_bytes_status: ::core::option::Option<::prost::alloc::string::String>, - /// Cloud Storage bucket storage location of the snapshot (regional or multi-regional). + /// Cloud Storage bucket storage location of the snapshot (regional or multi-regional). #[prost(string, repeated, tag="328005274")] pub storage_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Snapshot`. pub mod snapshot { - /// [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. + /// [Output Only] The architecture of the snapshot. Valid values are ARM64 or X86_64. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Architecture { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedArchitecture = 0, - /// Default value indicating Architecture is not set. + /// Default value indicating Architecture is not set. Unspecified = 394750507, - /// Machines with architecture ARM64 + /// Machines with architecture ARM64 Arm64 = 62547450, - /// Machines with architecture X86_64 + /// Machines with architecture X86_64 X8664 = 425300551, } impl Architecture { @@ -27054,11 +27054,11 @@ pub mod snapshot { } } } - /// Indicates the type of the snapshot. + /// Indicates the type of the snapshot. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SnapshotType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSnapshotType = 0, Archive = 506752162, Standard = 484642493, @@ -27076,21 +27076,21 @@ pub mod snapshot { } } } - /// [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. + /// [Output Only] The status of the snapshot. This can be CREATING, DELETING, FAILED, READY, or UPLOADING. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Snapshot creation is in progress. + /// Snapshot creation is in progress. Creating = 455564985, - /// Snapshot is currently being deleted. + /// Snapshot is currently being deleted. Deleting = 528602024, - /// Snapshot creation failed. + /// Snapshot creation failed. Failed = 455706685, - /// Snapshot has been created successfully. + /// Snapshot has been created successfully. Ready = 77848963, - /// Snapshot is being uploaded. + /// Snapshot is being uploaded. Uploading = 267603489, } impl Status { @@ -27109,11 +27109,11 @@ pub mod snapshot { } } } - /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. + /// [Output Only] An indicator whether storageBytes is in a stable state or it is being adjusted as a result of shared storage reallocation. This status can either be UPDATING, meaning the size of the snapshot is being updated, or UP_TO_DATE, meaning the size of the snapshot is up-to-date. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageBytesStatus { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStorageBytesStatus = 0, Updating = 494614342, UpToDate = 101306702, @@ -27132,105 +27132,105 @@ pub mod snapshot { } } } -/// Contains a list of Snapshot resources. +/// Contains a list of Snapshot resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SnapshotList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Snapshot resources. + /// A list of Snapshot resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceDiskEncryptionKey { - /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. + /// The customer-supplied encryption key of the source disk. Required if the source disk is protected by a customer-supplied encryption key. #[prost(message, optional, tag="271660677")] pub disk_encryption_key: ::core::option::Option, - /// URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk + /// URL of the disk attached to the source instance. This can be a full or valid partial URL. For example, the following are valid values: - /disks/disk - projects/project/zones/zone/disks/disk - zones/zone/disks/disk #[prost(string, optional, tag="451753793")] pub source_disk: ::core::option::Option<::prost::alloc::string::String>, } -/// A specification of the parameters to use when creating the instance template from a source instance. +/// A specification of the parameters to use when creating the instance template from a source instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceInstanceParams { - /// Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. + /// Attached disks configuration. If not provided, defaults are applied: For boot disk and any other R/W disks, new custom images will be created from each disk. For read-only disks, they will be attached in read-only mode. Local SSD disks will be created as blank volumes. #[prost(message, repeated, tag="235580623")] pub disk_configs: ::prost::alloc::vec::Vec, } -/// DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field. +/// DEPRECATED: Please use compute#instanceProperties instead. New properties will not be added to this field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceInstanceProperties { - /// Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. + /// Enables instances created based on this machine image to send packets with source IP addresses other than their own and receive packets with destination IP addresses other than their own. If these instances will be used as an IP gateway or it will be set as the next-hop in a Route resource, specify true. If unsure, leave this set to false. See the Enable IP forwarding documentation for more information. #[prost(bool, optional, tag="467731324")] pub can_ip_forward: ::core::option::Option, - /// Whether the instance created from this machine image should be protected against deletion. + /// Whether the instance created from this machine image should be protected against deletion. #[prost(bool, optional, tag="458014698")] pub deletion_protection: ::core::option::Option, - /// An optional text description for the instances that are created from this machine image. + /// An optional text description for the instances that are created from this machine image. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// An array of disks that are associated with the instances that are created from this machine image. + /// An array of disks that are associated with the instances that are created from this machine image. #[prost(message, repeated, tag="95594102")] pub disks: ::prost::alloc::vec::Vec, - /// A list of guest accelerator cards' type and count to use for instances created from this machine image. + /// A list of guest accelerator cards' type and count to use for instances created from this machine image. #[prost(message, repeated, tag="463595119")] pub guest_accelerators: ::prost::alloc::vec::Vec, - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. - /// Check the KeyRevocationActionType enum for the list of possible values. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// Check the KeyRevocationActionType enum for the list of possible values. #[prost(string, optional, tag="235941474")] pub key_revocation_action_type: ::core::option::Option<::prost::alloc::string::String>, - /// Labels to apply to instances that are created from this machine image. + /// Labels to apply to instances that are created from this machine image. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The machine type to use for instances that are created from this machine image. + /// The machine type to use for instances that are created from this machine image. #[prost(string, optional, tag="227711026")] pub machine_type: ::core::option::Option<::prost::alloc::string::String>, - /// The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. + /// The metadata key/value pairs to assign to instances that are created from this machine image. These pairs can consist of custom metadata or predefined keys. See Project and instance metadata for more information. #[prost(message, optional, tag="86866735")] pub metadata: ::core::option::Option, - /// Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. + /// Minimum cpu/platform to be used by instances created from this machine image. The instance may be scheduled on the specified or newer cpu/platform. Applicable values are the friendly names of CPU platforms, such as minCpuPlatform: "Intel Haswell" or minCpuPlatform: "Intel Sandy Bridge". For more information, read Specifying a Minimum CPU Platform. #[prost(string, optional, tag="242912759")] pub min_cpu_platform: ::core::option::Option<::prost::alloc::string::String>, - /// An array of network access configurations for this interface. + /// An array of network access configurations for this interface. #[prost(message, repeated, tag="52735243")] pub network_interfaces: ::prost::alloc::vec::Vec, - /// Specifies the scheduling options for the instances that are created from this machine image. + /// Specifies the scheduling options for the instances that are created from this machine image. #[prost(message, optional, tag="386688404")] pub scheduling: ::core::option::Option, - /// A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances. + /// A list of service accounts with specified scopes. Access tokens for these service accounts are available to the instances that are created from this machine image. Use metadata queries to obtain the access tokens for these instances. #[prost(message, repeated, tag="277537328")] pub service_accounts: ::prost::alloc::vec::Vec, - /// A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. + /// A list of tags to apply to the instances that are created from this machine image. The tags identify valid sources or targets for network firewalls. The setTags method can modify this list of tags. Each tag within the list must comply with RFC1035. #[prost(message, optional, tag="3552281")] pub tags: ::core::option::Option, } /// Nested message and enum types in `SourceInstanceProperties`. pub mod source_instance_properties { - /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. + /// KeyRevocationActionType of the instance. Supported options are "STOP" and "NONE". The default value is "NONE" if it is not specified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KeyRevocationActionType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedKeyRevocationActionType = 0, - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 467110106, - /// Indicates user chose no operation. + /// Indicates user chose no operation. None = 2402104, - /// Indicates user chose to opt for VM shutdown on key revocation. + /// Indicates user chose to opt for VM shutdown on key revocation. Stop = 2555906, } impl KeyRevocationActionType { @@ -27248,64 +27248,64 @@ pub mod source_instance_properties { } } } -/// Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * \[Global\](/compute/docs/reference/rest/v1/sslCertificates) * \[Regional\](/compute/docs/reference/rest/v1/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. +/// Represents an SSL Certificate resource. Google Compute Engine has two SSL Certificate resources: * \[Global\](/compute/docs/reference/rest/v1/sslCertificates) * \[Regional\](/compute/docs/reference/rest/v1/regionSslCertificates) The sslCertificates are used by: - external HTTPS load balancers - SSL proxy load balancers The regionSslCertificates are used by internal HTTPS load balancers. Optionally, certificate file contents that you upload can contain a set of up to five PEM-encoded certificates. The API call creates an object (sslCertificate) that holds this data. You can use SSL keys and certificates to secure connections to a load balancer. For more information, read Creating and using SSL certificates, SSL certificates quotas and limits, and Troubleshooting SSL certificates. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificate { - /// A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. + /// A value read into memory from a certificate file. The certificate file must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. #[prost(string, optional, tag="341787031")] pub certificate: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Expire time of the certificate. RFC3339 + /// [Output Only] Expire time of the certificate. RFC3339 #[prost(string, optional, tag="440691181")] pub expire_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. + /// [Output Only] Type of the resource. Always compute#sslCertificate for SSL certificates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Configuration and status of a managed SSL certificate. + /// Configuration and status of a managed SSL certificate. #[prost(message, optional, tag="298389407")] pub managed: ::core::option::Option, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field. + /// A value read into memory from a write-only private key file. The private key file must be in PEM format. For security, only insert requests include this field. #[prost(string, optional, tag="361331107")] pub private_key: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate. + /// [Output Only] URL of the region where the regional SSL Certificate resides. This field is not applicable to global SSL Certificate. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output only] Server-defined URL for the resource. + /// [Output only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Configuration and status of a self-managed SSL certificate. + /// Configuration and status of a self-managed SSL certificate. #[prost(message, optional, tag="329284012")] pub self_managed: ::core::option::Option, - /// [Output Only] Domains associated with the certificate via Subject Alternative Name. + /// [Output Only] Domains associated with the certificate via Subject Alternative Name. #[prost(string, repeated, tag="528807907")] pub subject_alternative_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. - /// Check the Type enum for the list of possible values. + /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SslCertificate`. pub mod ssl_certificate { - /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. + /// (Optional) Specifies the type of SSL certificate, either "SELF_MANAGED" or "MANAGED". If not specified, the certificate is self-managed and the fields certificate and private_key are used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, - /// Google-managed SSLCertificate. + /// Google-managed SSLCertificate. Managed = 479501183, - /// Certificate uploaded by user. + /// Certificate uploaded by user. SelfManaged = 434437516, Unspecified = 437714322, } @@ -27327,82 +27327,82 @@ pub mod ssl_certificate { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificateAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SslCertificatesScopedList resources. + /// A list of SslCertificatesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, SslCertificatesScopedList>, - /// [Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates. + /// [Output Only] Type of resource. Always compute#sslCertificateAggregatedList for lists of SSL Certificates. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of SslCertificate resources. +/// Contains a list of SslCertificate resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificateList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SslCertificate resources. + /// A list of SslCertificate resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Configuration and status of a managed SSL certificate. +/// Configuration and status of a managed SSL certificate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificateManagedSslCertificate { - /// [Output only] Detailed statuses of the domains specified for managed certificate resource. + /// [Output only] Detailed statuses of the domains specified for managed certificate resource. #[prost(map="string, string", tag="360305613")] pub domain_status: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates). + /// The domains for which a managed SSL certificate will be generated. Each Google-managed SSL certificate supports up to the [maximum number of domains per Google-managed SSL certificate](/load-balancing/docs/quotas#ssl_certificates). #[prost(string, repeated, tag="226935855")] pub domains: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output only] Status of the managed certificate resource. - /// Check the Status enum for the list of possible values. + /// [Output only] Status of the managed certificate resource. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `SslCertificateManagedSslCertificate`. pub mod ssl_certificate_managed_ssl_certificate { - /// [Output only] Status of the managed certificate resource. + /// [Output only] Status of the managed certificate resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// The certificate management is working, and a certificate has been provisioned. + /// The certificate management is working, and a certificate has been provisioned. Active = 314733318, ManagedCertificateStatusUnspecified = 474800850, - /// The certificate management is working. GCP will attempt to provision the first certificate. + /// The certificate management is working. GCP will attempt to provision the first certificate. Provisioning = 290896621, - /// Certificate provisioning failed due to an issue with the DNS or load balancing configuration. For details of which domain failed, consult domain_status field. + /// Certificate provisioning failed due to an issue with the DNS or load balancing configuration. For details of which domain failed, consult domain_status field. ProvisioningFailed = 76813775, - /// Certificate provisioning failed due to an issue with the DNS or load balancing configuration. It won't be retried. To try again delete and create a new managed SslCertificate resource. For details of which domain failed, consult domain_status field. + /// Certificate provisioning failed due to an issue with the DNS or load balancing configuration. It won't be retried. To try again delete and create a new managed SslCertificate resource. For details of which domain failed, consult domain_status field. ProvisioningFailedPermanently = 275036203, - /// Renewal of the certificate has failed due to an issue with the DNS or load balancing configuration. The existing cert is still serving; however, it will expire shortly. To provision a renewed certificate, delete and create a new managed SslCertificate resource. For details on which domain failed, consult domain_status field. + /// Renewal of the certificate has failed due to an issue with the DNS or load balancing configuration. The existing cert is still serving; however, it will expire shortly. To provision a renewed certificate, delete and create a new managed SslCertificate resource. For details on which domain failed, consult domain_status field. RenewalFailed = 434659076, } impl Status { @@ -27423,23 +27423,23 @@ pub mod ssl_certificate_managed_ssl_certificate { } } } -/// Configuration and status of a self-managed SSL certificate. +/// Configuration and status of a self-managed SSL certificate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificateSelfManagedSslCertificate { - /// A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. + /// A local certificate file. The certificate must be in PEM format. The certificate chain must be no greater than 5 certs long. The chain must include at least one intermediate cert. #[prost(string, optional, tag="341787031")] pub certificate: ::core::option::Option<::prost::alloc::string::String>, - /// A write-only private key in PEM format. Only insert requests will include this field. + /// A write-only private key in PEM format. Only insert requests will include this field. #[prost(string, optional, tag="361331107")] pub private_key: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslCertificatesScopedList { - /// List of SslCertificates contained in this scope. + /// List of SslCertificates contained in this scope. #[prost(message, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -27448,47 +27448,47 @@ pub struct SslCertificatesScopedList { pub struct SslPoliciesAggregatedList { #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SslPoliciesScopedList resources. + /// A list of SslPoliciesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, SslPoliciesScopedList>, - /// [Output Only] Type of resource. Always compute#sslPolicyAggregatedList for lists of SSL Policies. + /// [Output Only] Type of resource. Always compute#sslPolicyAggregatedList for lists of SSL Policies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslPoliciesList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SslPolicy resources. + /// A list of SslPolicy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. + /// [Output Only] Type of the resource. Always compute#sslPoliciesList for lists of sslPolicies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -27501,71 +27501,71 @@ pub struct SslPoliciesListAvailableFeaturesResponse { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslPoliciesScopedList { - /// A list of SslPolicies contained in this scope. + /// A list of SslPolicies contained in this scope. #[prost(message, repeated, tag="209941027")] pub ssl_policies: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of SSL policies when the list is empty. + /// Informational warning which replaces the list of SSL policies when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts. +/// Represents an SSL Policy resource. Use SSL policies to control the SSL features, such as versions and cipher suites, offered by an HTTPS or SSL Proxy load balancer. For more information, read SSL Policy Concepts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslPolicy { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM. + /// A list of features enabled when the selected profile is CUSTOM. The method returns the set of features that can be specified in this list. This field must be empty if the profile is not CUSTOM. #[prost(string, repeated, tag="34789707")] pub custom_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The list of features enabled in the SSL policy. + /// [Output Only] The list of features enabled in the SSL policy. #[prost(string, repeated, tag="469017467")] pub enabled_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a SslPolicy. An up-to-date fingerprint must be provided in order to update the SslPolicy, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an SslPolicy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. + /// [Output only] Type of the resource. Always compute#sslPolicyfor SSL policies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. - /// Check the MinTlsVersion enum for the list of possible values. + /// The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + /// Check the MinTlsVersion enum for the list of possible values. #[prost(string, optional, tag="8155943")] pub min_tls_version: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. - /// Check the Profile enum for the list of possible values. + /// Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. + /// Check the Profile enum for the list of possible values. #[prost(string, optional, tag="227445161")] pub profile: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies. + /// [Output Only] URL of the region where the regional SSL policy resides. This field is not applicable to global SSL policies. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages. + /// [Output Only] If potential misconfigurations are detected for this SSL policy, this field will be populated with warning messages. #[prost(message, repeated, tag="498091095")] pub warnings: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SslPolicy`. pub mod ssl_policy { - /// The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. + /// The minimum version of SSL protocol that can be used by the clients to establish a connection with the load balancer. This can be one of TLS_1_0, TLS_1_1, TLS_1_2. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinTlsVersion { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMinTlsVersion = 0, - /// TLS 1.0 + /// TLS 1.0 Tls10 = 33116734, - /// TLS 1.1 + /// TLS 1.1 Tls11 = 33116735, - /// TLS 1.2 + /// TLS 1.2 Tls12 = 33116736, } impl MinTlsVersion { @@ -27582,19 +27582,19 @@ pub mod ssl_policy { } } } - /// Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. + /// Profile specifies the set of SSL features that can be used by the load balancer when negotiating SSL with clients. This can be one of COMPATIBLE, MODERN, RESTRICTED, or CUSTOM. If using CUSTOM, the set of SSL features to enable must be specified in the customFeatures field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Profile { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProfile = 0, - /// Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer. + /// Compatible profile. Allows the broadset set of clients, even those which support only out-of-date SSL features to negotiate with the load balancer. Compatible = 179357396, - /// Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field. + /// Custom profile. Allow only the set of allowed SSL features specified in the customFeatures field. Custom = 388595569, - /// Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer. + /// Modern profile. Supports a wide set of SSL features, allowing modern clients to negotiate SSL with the load balancer. Modern = 132013855, - /// Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements. + /// Restricted profile. Supports a reduced set of SSL features, intended to meet stricter compliance requirements. Restricted = 261551195, } impl Profile { @@ -27616,42 +27616,42 @@ pub mod ssl_policy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SslPolicyReference { - /// URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource. + /// URL of the SSL policy resource. Set this to empty string to clear any existing SSL policy associated with the target proxy resource. #[prost(string, optional, tag="295190213")] pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.Start. See the method description for details. +/// A request message for Instances.Start. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartInstanceRequest { - /// Name of the instance resource to start. + /// Name of the instance resource to start. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Instances.StartWithEncryptionKey. See the method description for details. +/// A request message for Instances.StartWithEncryptionKey. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartWithEncryptionKeyInstanceRequest { - /// Name of the instance resource to start. + /// Name of the instance resource to start. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="441712511")] pub instances_start_with_encryption_key_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } @@ -27661,28 +27661,28 @@ pub struct StatefulPolicy { #[prost(message, optional, tag="2634026")] pub preserved_state: ::core::option::Option, } -/// Configuration of preserved resources. +/// Configuration of preserved resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatefulPolicyPreservedState { - /// Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. + /// Disks created on the instances that will be preserved on instance delete, update, etc. This map is keyed with the device names of the disks. #[prost(map="string, message", tag="95594102")] pub disks: ::std::collections::HashMap<::prost::alloc::string::String, StatefulPolicyPreservedStateDiskDevice>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct StatefulPolicyPreservedStateDiskDevice { - /// These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. - /// Check the AutoDelete enum for the list of possible values. + /// These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. + /// Check the AutoDelete enum for the list of possible values. #[prost(string, optional, tag="464761403")] pub auto_delete: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `StatefulPolicyPreservedStateDiskDevice`. pub mod stateful_policy_preserved_state_disk_device { - /// These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. + /// These stateful disks will never be deleted during autohealing, update or VM instance recreate operations. This flag is used to configure if the disk should be deleted after it is no longer used by the group, e.g. when the given instance or the whole group is deleted. Note: disks attached in READ_ONLY mode cannot be auto-deleted. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AutoDelete { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAutoDelete = 0, Never = 74175084, OnPermanentInstanceDeletion = 95727719, @@ -27701,115 +27701,115 @@ pub mod stateful_policy_preserved_state_disk_device { } } } -/// A request message for Instances.Stop. See the method description for details. +/// A request message for Instances.Stop. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopInstanceRequest { - /// Name of the instance resource to stop. + /// Name of the instance resource to stop. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network. +/// Represents a Subnetwork resource. A subnetwork (also known as a subnet) is a logical partition of a Virtual Private Cloud network with one primary IP range and zero or more secondary IP ranges. For more information, read Virtual Private Cloud (VPC) Network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Subnetwork { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. + /// An optional description of this resource. Provide this property when you create the resource. This field can be set only at resource creation time. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + /// Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. This field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. #[prost(bool, optional, tag="151544420")] pub enable_flow_logs: ::core::option::Option, - /// [Output Only] The external IPv6 address range that is assigned to this subnetwork. + /// [Output Only] The external IPv6 address range that is assigned to this subnetwork. #[prost(string, optional, tag="139299190")] pub external_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a Subnetwork. An up-to-date fingerprint must be provided in order to update the Subnetwork, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a Subnetwork. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. + /// [Output Only] The gateway address for default routes to reach destination addresses outside this subnetwork. #[prost(string, optional, tag="459867385")] pub gateway_address: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + /// [Output Only] The internal IPv6 address range that is assigned to this subnetwork. #[prost(string, optional, tag="506270056")] pub internal_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. + /// The range of internal addresses that are owned by this subnetwork. Provide this property when you create the subnetwork. For example, 10.0.0.0/8 or 100.64.0.0/10. Ranges must be unique and non-overlapping within a network. Only IPv4 is supported. This field is set at resource creation time. The range can be any range listed in the Valid ranges list. The range can be expanded after creation using expandIpCidrRange. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. - /// Check the Ipv6AccessType enum for the list of possible values. + /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. + /// Check the Ipv6AccessType enum for the list of possible values. #[prost(string, optional, tag="504658653")] pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This field is for internal use. + /// [Output Only] This field is for internal use. #[prost(string, optional, tag="273141258")] pub ipv6_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. + /// [Output Only] Type of the resource. Always compute#subnetwork for Subnetwork resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. + /// This field denotes the VPC flow logging options for this subnetwork. If logging is enabled, logs are exported to Cloud Logging. #[prost(message, optional, tag="351299741")] pub log_config: ::core::option::Option, - /// The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// The name of the resource, provided by the client when initially creating the resource. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time. + /// The URL of the network to which this subnetwork belongs, provided by the client when initially creating the subnetwork. This field can be set only at resource creation time. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess. + /// Whether the VMs in this subnet can access Google services without assigned external IP addresses. This field can be both set at resource creation time and updated using setPrivateIpGoogleAccess. #[prost(bool, optional, tag="421491790")] pub private_ip_google_access: ::core::option::Option, - /// This field is for internal use. This field can be both set at resource creation time and updated using patch. - /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. + /// This field is for internal use. This field can be both set at resource creation time and updated using patch. + /// Check the PrivateIpv6GoogleAccess enum for the list of possible values. #[prost(string, optional, tag="48277006")] pub private_ipv6_google_access: ::core::option::Option<::prost::alloc::string::String>, - /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. - /// Check the Purpose enum for the list of possible values. + /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + /// Check the Purpose enum for the list of possible values. #[prost(string, optional, tag="316407070")] pub purpose: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the region where the Subnetwork resides. This field can be set only at resource creation time. + /// URL of the region where the Subnetwork resides. This field can be set only at resource creation time. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. - /// Check the Role enum for the list of possible values. + /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + /// Check the Role enum for the list of possible values. #[prost(string, optional, tag="3506294")] pub role: ::core::option::Option<::prost::alloc::string::String>, - /// An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. + /// An array of configurations for secondary IP ranges for VM instances contained in this subnetwork. The primary IP of such VM must belong to the primary ipCidrRange of the subnetwork. The alias IPs may belong to either primary or secondary ranges. This field can be updated with a patch request. #[prost(message, repeated, tag="136658915")] pub secondary_ip_ranges: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. - /// Check the StackType enum for the list of possible values. + /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY - /// Check the State enum for the list of possible values. + /// [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Subnetwork`. pub mod subnetwork { - /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. + /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Ipv6AccessType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpv6AccessType = 0, - /// VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network. + /// VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network. External = 35607499, - /// VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network. + /// VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network. Internal = 279295677, UnspecifiedIpv6AccessType = 313080613, } @@ -27827,17 +27827,17 @@ pub mod subnetwork { } } } - /// This field is for internal use. This field can be both set at resource creation time and updated using patch. + /// This field is for internal use. This field can be both set at resource creation time and updated using patch. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrivateIpv6GoogleAccess { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPrivateIpv6GoogleAccess = 0, - /// Disable private IPv6 access to/from Google services. + /// Disable private IPv6 access to/from Google services. DisableGoogleAccess = 450958579, - /// Bidirectional private IPv6 access to/from Google services. + /// Bidirectional private IPv6 access to/from Google services. EnableBidirectionalAccessToGoogle = 427975994, - /// Outbound private IPv6 access from VMs in this subnet to Google services. + /// Outbound private IPv6 access from VMs in this subnet to Google services. EnableOutboundVmAccessToGoogle = 288210263, } impl PrivateIpv6GoogleAccess { @@ -27854,21 +27854,21 @@ pub mod subnetwork { } } } - /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Purpose { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPurpose = 0, - /// Subnet reserved for Internal HTTP(S) Load Balancing. + /// Subnet reserved for Internal HTTP(S) Load Balancing. InternalHttpsLoadBalancer = 248748889, - /// Regular user created or automatically created subnet. + /// Regular user created or automatically created subnet. Private = 403485027, - /// Regular user created or automatically created subnet. + /// Regular user created or automatically created subnet. PrivateRfc1918 = 254902107, - /// Subnetworks created for Private Service Connect in the producer network. + /// Subnetworks created for Private Service Connect in the producer network. PrivateServiceConnect = 48134724, - /// Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. + /// Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. RegionalManagedProxy = 153049966, } impl Purpose { @@ -27887,15 +27887,15 @@ pub mod subnetwork { } } } - /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Role { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRole = 0, - /// The ACTIVE subnet that is currently used. + /// The ACTIVE subnet that is currently used. Active = 314733318, - /// The BACKUP subnet that could be promoted to ACTIVE. + /// The BACKUP subnet that could be promoted to ACTIVE. Backup = 341010882, } impl Role { @@ -27911,15 +27911,15 @@ pub mod subnetwork { } } } - /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. + /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// New VMs in this subnet can have both IPv4 and IPv6 addresses. + /// New VMs in this subnet can have both IPv4 and IPv6 addresses. Ipv4Ipv6 = 22197249, - /// New VMs in this subnet will only be assigned IPv4 addresses. + /// New VMs in this subnet will only be assigned IPv4 addresses. Ipv4Only = 22373798, UnspecifiedStackType = 298084569, } @@ -27937,15 +27937,15 @@ pub mod subnetwork { } } } - /// [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY + /// [Output Only] The state of the subnetwork, which can be one of the following values: READY: Subnetwork is created and ready to use DRAINING: only applicable to subnetworks that have the purpose set to INTERNAL_HTTPS_LOAD_BALANCER and indicates that connections to the load balancer are being drained. A subnetwork that is draining cannot be used or modified until it reaches a status of READY #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// Subnetwork is being drained. + /// Subnetwork is being drained. Draining = 480455402, - /// Subnetwork is ready for use. + /// Subnetwork is ready for use. Ready = 77848963, } impl State { @@ -27965,81 +27965,81 @@ pub mod subnetwork { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworkAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of SubnetworksScopedList resources. + /// A list of SubnetworksScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, SubnetworksScopedList>, - /// [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks. + /// [Output Only] Type of resource. Always compute#subnetworkAggregatedList for aggregated lists of subnetworks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of Subnetwork resources. +/// Contains a list of Subnetwork resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworkList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Subnetwork resources. + /// A list of Subnetwork resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. + /// [Output Only] Type of resource. Always compute#subnetworkList for lists of subnetworks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// The available logging options for this subnetwork. +/// The available logging options for this subnetwork. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworkLogConfig { - /// Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. - /// Check the AggregationInterval enum for the list of possible values. + /// Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. + /// Check the AggregationInterval enum for the list of possible values. #[prost(string, optional, tag="174919042")] pub aggregation_interval: ::core::option::Option<::prost::alloc::string::String>, - /// Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. + /// Whether to enable flow logging for this subnetwork. If this field is not explicitly set, it will not appear in get listings. If not set the default behavior is determined by the org policy, if there is no org policy specified, then it will default to disabled. #[prost(bool, optional, tag="311764355")] pub enable: ::core::option::Option, - /// Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging. + /// Can only be specified if VPC flow logs for this subnetwork is enabled. The filter expression is used to define which VPC flow logs should be exported to Cloud Logging. #[prost(string, optional, tag="183374428")] pub filter_expr: ::core::option::Option<::prost::alloc::string::String>, - /// Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported. + /// Can only be specified if VPC flow logging for this subnetwork is enabled. The value of the field must be in [0, 1]. Set the sampling rate of VPC flow logs within the subnetwork where 1.0 means all collected logs are reported and 0.0 means no logs are reported. Default is 0.5 unless otherwise specified by the org policy, which means half of all collected logs are reported. #[prost(float, optional, tag="530150360")] pub flow_sampling: ::core::option::Option, - /// Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. - /// Check the Metadata enum for the list of possible values. + /// Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. + /// Check the Metadata enum for the list of possible values. #[prost(string, optional, tag="86866735")] pub metadata: ::core::option::Option<::prost::alloc::string::String>, - /// Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA. + /// Can only be specified if VPC flow logs for this subnetwork is enabled and "metadata" was set to CUSTOM_METADATA. #[prost(string, repeated, tag="378461641")] pub metadata_fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `SubnetworkLogConfig`. pub mod subnetwork_log_config { - /// Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. + /// Can only be specified if VPC flow logging for this subnetwork is enabled. Toggles the aggregation interval for collecting flow logs. Increasing the interval time will reduce the amount of generated flow logs for long lasting connections. Default is an interval of 5 seconds per connection. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AggregationInterval { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAggregationInterval = 0, Interval10Min = 487155916, Interval15Min = 491773521, @@ -28065,11 +28065,11 @@ pub mod subnetwork_log_config { } } } - /// Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. + /// Can only be specified if VPC flow logs for this subnetwork is enabled. Configures whether all, none or a subset of metadata fields should be added to the reported VPC flow logs. Default is EXCLUDE_ALL_METADATA. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Metadata { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMetadata = 0, CustomMetadata = 62450749, ExcludeAllMetadata = 334519954, @@ -28090,30 +28090,30 @@ pub mod subnetwork_log_config { } } } -/// Represents a secondary IP range of a subnetwork. +/// Represents a secondary IP range of a subnetwork. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworkSecondaryRange { - /// The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. + /// The range of IP addresses belonging to this subnetwork secondary range. Provide this property when you create the subnetwork. Ranges must be unique and non-overlapping with all primary and secondary IP ranges within a network. Only IPv4 is supported. The range can be any range listed in the Valid ranges list. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. + /// The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. #[prost(string, optional, tag="332216397")] pub range_name: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworksExpandIpCidrRangeRequest { - /// The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update. + /// The IP (in CIDR format or netmask) of internal addresses that are legal on this Subnetwork. This range should be disjoint from other subnetworks within this network. This range can only be larger than (i.e. a superset of) the range previously defined before the update. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubnetworksScopedList { - /// A list of subnetworks contained in this scope. + /// A list of subnetworks contained in this scope. #[prost(message, repeated, tag="415853125")] pub subnetworks: ::prost::alloc::vec::Vec, - /// An informational warning that appears when the list of addresses is empty. + /// An informational warning that appears when the list of addresses is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -28123,11 +28123,11 @@ pub struct SubnetworksSetPrivateIpGoogleAccessRequest { #[prost(bool, optional, tag="421491790")] pub private_ip_google_access: ::core::option::Option, } -/// Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. +/// Subsetting configuration for this BackendService. Currently this is applicable only for Internal TCP/UDP load balancing, Internal HTTP(S) load balancing and Traffic Director. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Subsetting { - /// - /// Check the Policy enum for the list of possible values. + /// + /// Check the Policy enum for the list of possible values. #[prost(string, optional, tag="91071794")] pub policy: ::core::option::Option<::prost::alloc::string::String>, } @@ -28137,11 +28137,11 @@ pub mod subsetting { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Policy { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPolicy = 0, - /// Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled. + /// Subsetting based on consistent hashing. For Traffic Director, the number of backends per backend group (the subset size) is based on the `subset_size` parameter. For Internal HTTP(S) load balancing, the number of backends per backend group (the subset size) is dynamically adjusted in two cases: - As the number of proxy instances participating in Internal HTTP(S) load balancing increases, the subset size decreases. - When the total number of backends in a network exceeds the capacity of a single proxy instance, subset sizes are reduced automatically for each service that has backend subsetting enabled. ConsistentHashSubsetting = 108989492, - /// No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends. + /// No Subsetting. Clients may open connections and send traffic to all backends of this backend service. This can lead to performance issues if there is substantial imbalance in the count of clients and backends. None = 2402104, } impl Policy { @@ -28158,72 +28158,72 @@ pub mod subsetting { } } } -/// A request message for Instances.Suspend. See the method description for details. +/// A request message for Instances.Suspend. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuspendInstanceRequest { - /// Name of the instance resource to suspend. + /// Name of the instance resource to suspend. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Networks.SwitchToCustomMode. See the method description for details. +/// A request message for Networks.SwitchToCustomMode. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SwitchToCustomModeNetworkRequest { - /// Name of the network to be updated. + /// Name of the network to be updated. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TcpHealthCheck { - /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. + /// The TCP port number for the health check request. The default value is 80. Valid values are 1 through 65535. #[prost(int32, optional, tag="3446913")] pub port: ::core::option::Option, - /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. + /// Port name as defined in InstanceGroup#NamedPort#name. If both port and port_name are defined, port takes precedence. #[prost(string, optional, tag="41534345")] pub port_name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields. - /// Check the PortSpecification enum for the list of possible values. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields. + /// Check the PortSpecification enum for the list of possible values. #[prost(string, optional, tag="51590597")] pub port_specification: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. + /// The application data to send once the TCP connection has been established (default value is empty). If both request and response are empty, the connection establishment alone will indicate health. The request data can only be ASCII. #[prost(string, optional, tag="21951119")] pub request: ::core::option::Option<::prost::alloc::string::String>, - /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. + /// The bytes to match against the beginning of the response data. If left empty (the default value), any response will indicate health. The response data can only be ASCII. #[prost(string, optional, tag="196547649")] pub response: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TCPHealthCheck`. pub mod tcp_health_check { - /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields. + /// Specifies how port is selected for health checking, can be one of following values: USE_FIXED_PORT: The port number in port is used for health checking. USE_NAMED_PORT: The portName is used for health checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. If not specified, TCP health check follows behavior specified in port and portName fields. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PortSpecification { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPortSpecification = 0, - /// The port number in port is used for health checking. + /// The port number in port is used for health checking. UseFixedPort = 190235748, - /// The portName is used for health checking. + /// The portName is used for health checking. UseNamedPort = 349300671, - /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. + /// For NetworkEndpointGroup, the port specified for each network endpoint is used for health checking. For other backends, the port or named port specified in the Backend Service is used for health checking. UseServingPort = 362637516, } impl PortSpecification { @@ -28240,11 +28240,11 @@ pub mod tcp_health_check { } } } - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -28263,198 +28263,198 @@ pub mod tcp_health_check { } } } -/// A set of instance tags. +/// A set of instance tags. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Tags { - /// Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance. + /// Specifies a fingerprint for this request, which is essentially a hash of the tags' contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update tags. You must always provide an up-to-date fingerprint hash in order to update or change tags. To see the latest fingerprint, make get() request to the instance. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. + /// An array of tags. Each tag must be 1-63 characters long, and comply with RFC1035. #[prost(string, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services. +/// Represents a Target gRPC Proxy resource. A target gRPC proxy is a component of load balancers intended for load balancing gRPC traffic. Only global forwarding rules with load balancing scheme INTERNAL_SELF_MANAGED can reference a target gRPC proxy. The target gRPC Proxy references a URL map that specifies how traffic is routed to gRPC backend services. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetGrpcProxy { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetGrpcProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetGrpcProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetGrpcProxy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource type. The server generates this identifier. + /// [Output Only] The unique identifier for the resource type. The server generates this identifier. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies. + /// [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL with id for the resource. + /// [Output Only] Server-defined URL with id for the resource. #[prost(string, optional, tag="44520962")] pub self_link_with_id: ::core::option::Option<::prost::alloc::string::String>, - /// URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC. + /// URL to the UrlMap resource that defines the mapping from URL to the BackendService. The protocol field in the BackendService must be set to GRPC. #[prost(string, optional, tag="367020684")] pub url_map: ::core::option::Option<::prost::alloc::string::String>, - /// If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use "xds:///" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use "xds:///" scheme in the target URI of the service it is connecting to + /// If true, indicates that the BackendServices referenced by the urlMap may be accessed by gRPC applications without using a sidecar proxy. This will enable configuration checks on urlMap and its referenced BackendServices to not allow unsupported features. A gRPC application must use "xds:///" scheme in the target URI of the service it is connecting to. If false, indicates that the BackendServices referenced by the urlMap will be accessed by gRPC applications via a sidecar proxy. In this case, a gRPC application must not use "xds:///" scheme in the target URI of the service it is connecting to #[prost(bool, optional, tag="101822888")] pub validate_for_proxyless: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetGrpcProxyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetGrpcProxy resources. + /// A list of TargetGrpcProxy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies. + /// [Output Only] Type of the resource. Always compute#targetGrpcProxy for target grpc proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpProxiesScopedList { - /// A list of TargetHttpProxies contained in this scope. + /// A list of TargetHttpProxies contained in this scope. #[prost(message, repeated, tag="162147011")] pub target_http_proxies: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * \[Global\](/compute/docs/reference/rest/v1/targetHttpProxies) * \[Regional\](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. +/// Represents a Target HTTP Proxy resource. Google Compute Engine has two Target HTTP Proxy resources: * \[Global\](/compute/docs/reference/rest/v1/targetHttpProxies) * \[Regional\](/compute/docs/reference/rest/v1/regionTargetHttpProxies) A target HTTP proxy is a component of GCP HTTP load balancers. * targetHttpProxies are used by external HTTP load balancers and Traffic Director. * regionTargetHttpProxies are used by internal HTTP load balancers. Forwarding rules reference a target HTTP proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpProxy { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpProxy. An up-to-date fingerprint must be provided in order to patch/update the TargetHttpProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpProxy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. + /// [Output Only] Type of resource. Always compute#targetHttpProxy for target HTTP proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. + /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. #[prost(bool, optional, tag="286025582")] pub proxy_bind: ::core::option::Option, - /// [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. + /// [Output Only] URL of the region where the regional Target HTTP Proxy resides. This field is not applicable to global Target HTTP Proxies. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// URL to the UrlMap resource that defines the mapping from URL to the BackendService. + /// URL to the UrlMap resource that defines the mapping from URL to the BackendService. #[prost(string, optional, tag="367020684")] pub url_map: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpProxyAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetHttpProxiesScopedList resources. + /// A list of TargetHttpProxiesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, TargetHttpProxiesScopedList>, - /// [Output Only] Type of resource. Always compute#targetHttpProxyAggregatedList for lists of Target HTTP Proxies. + /// [Output Only] Type of resource. Always compute#targetHttpProxyAggregatedList for lists of Target HTTP Proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A list of TargetHttpProxy resources. +/// A list of TargetHttpProxy resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpProxyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetHttpProxy resources. + /// A list of TargetHttpProxy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. + /// Type of resource. Always compute#targetHttpProxyList for lists of target HTTP proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxiesScopedList { - /// A list of TargetHttpsProxies contained in this scope. + /// A list of TargetHttpsProxies contained in this scope. #[prost(message, repeated, tag="366607882")] pub target_https_proxies: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxiesSetCertificateMapRequest { - /// URL of the Certificate Map to associate with this TargetHttpsProxy. + /// URL of the Certificate Map to associate with this TargetHttpsProxy. #[prost(string, optional, tag="156463796")] pub certificate_map: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxiesSetQuicOverrideRequest { - /// QUIC policy for the TargetHttpsProxy resource. - /// Check the QuicOverride enum for the list of possible values. + /// QUIC policy for the TargetHttpsProxy resource. + /// Check the QuicOverride enum for the list of possible values. #[prost(string, optional, tag="456577197")] pub quic_override: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetHttpsProxiesSetQuicOverrideRequest`. pub mod target_https_proxies_set_quic_override_request { - /// QUIC policy for the TargetHttpsProxy resource. + /// QUIC policy for the TargetHttpsProxy resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuicOverride { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedQuicOverride = 0, - /// The load balancer will not attempt to negotiate QUIC with clients. + /// The load balancer will not attempt to negotiate QUIC with clients. Disable = 241807048, - /// The load balancer will attempt to negotiate QUIC with clients. + /// The load balancer will attempt to negotiate QUIC with clients. Enable = 438835587, - /// No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request. + /// No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request. None = 2402104, } impl QuicOverride { @@ -28475,76 +28475,76 @@ pub mod target_https_proxies_set_quic_override_request { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxiesSetSslCertificatesRequest { - /// New set of SslCertificate resources to associate with this TargetHttpsProxy resource. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. + /// New set of SslCertificate resources to associate with this TargetHttpsProxy resource. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. #[prost(string, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * \[Global\](/compute/docs/reference/rest/v1/targetHttpsProxies) * \[Regional\](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. +/// Represents a Target HTTPS Proxy resource. Google Compute Engine has two Target HTTPS Proxy resources: * \[Global\](/compute/docs/reference/rest/v1/targetHttpsProxies) * \[Regional\](/compute/docs/reference/rest/v1/regionTargetHttpsProxies) A target HTTPS proxy is a component of GCP HTTPS load balancers. * targetHttpsProxies are used by external HTTPS load balancers. * regionTargetHttpsProxies are used by internal HTTPS load balancers. Forwarding rules reference a target HTTPS proxy, and the target proxy then references a URL map. For more information, read Using Target Proxies and Forwarding rule concepts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxy { - /// Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. + /// Optional. A URL referring to a networksecurity.AuthorizationPolicy resource that describes how the proxy should authorize inbound traffic. If left blank, access will not be restricted by an authorization policy. Refer to the AuthorizationPolicy resource for additional details. authorizationPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. Note: This field currently has no impact. #[prost(string, optional, tag="33945528")] pub authorization_policy: ::core::option::Option<::prost::alloc::string::String>, - /// URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. + /// URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. #[prost(string, optional, tag="156463796")] pub certificate_map: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field will be ignored when inserting a TargetHttpsProxy. An up-to-date fingerprint must be provided in order to patch the TargetHttpsProxy; otherwise, the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the TargetHttpsProxy. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. + /// [Output Only] Type of resource. Always compute#targetHttpsProxy for target HTTPS proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. + /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. #[prost(bool, optional, tag="286025582")] pub proxy_bind: ::core::option::Option, - /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. - /// Check the QuicOverride enum for the list of possible values. + /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. + /// Check the QuicOverride enum for the list of possible values. #[prost(string, optional, tag="456577197")] pub quic_override: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies. + /// [Output Only] URL of the region where the regional TargetHttpsProxy resides. This field is not applicable to global TargetHttpsProxies. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. + /// Optional. A URL referring to a networksecurity.ServerTlsPolicy resource that describes how the proxy should authenticate inbound traffic. serverTlsPolicy only applies to a global TargetHttpsProxy attached to globalForwardingRules with the loadBalancingScheme set to INTERNAL_SELF_MANAGED. If left blank, communications are not encrypted. Note: This field currently has no impact. #[prost(string, optional, tag="295825266")] pub server_tls_policy: ::core::option::Option<::prost::alloc::string::String>, - /// URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + /// URLs to SslCertificate resources that are used to authenticate connections between users and the load balancer. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. #[prost(string, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured. + /// URL of SslPolicy resource that will be associated with the TargetHttpsProxy resource. If not set, the TargetHttpsProxy resource has no SSL policy configured. #[prost(string, optional, tag="295190213")] pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>, - /// A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map + /// A fully-qualified or valid partial URL to the UrlMap resource that defines the mapping from URL to the BackendService. For example, the following are all valid URLs for specifying a URL map: - url-map - projects/project/global/urlMaps/url-map - global/urlMaps/url-map #[prost(string, optional, tag="367020684")] pub url_map: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetHttpsProxy`. pub mod target_https_proxy { - /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. + /// Specifies the QUIC override policy for this TargetHttpsProxy resource. This setting determines whether the load balancer attempts to negotiate QUIC with clients. You can specify NONE, ENABLE, or DISABLE. - When quic-override is set to NONE, Google manages whether QUIC is used. - When quic-override is set to ENABLE, the load balancer uses QUIC when possible. - When quic-override is set to DISABLE, the load balancer doesn't use QUIC. - If the quic-override flag is not specified, NONE is implied. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QuicOverride { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedQuicOverride = 0, - /// The load balancer will not attempt to negotiate QUIC with clients. + /// The load balancer will not attempt to negotiate QUIC with clients. Disable = 241807048, - /// The load balancer will attempt to negotiate QUIC with clients. + /// The load balancer will attempt to negotiate QUIC with clients. Enable = 438835587, - /// No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request. + /// No overrides to the default QUIC policy. This option is implicit if no QUIC override has been specified in the request. None = 2402104, } impl QuicOverride { @@ -28565,94 +28565,94 @@ pub mod target_https_proxy { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxyAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetHttpsProxiesScopedList resources. + /// A list of TargetHttpsProxiesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, TargetHttpsProxiesScopedList>, - /// [Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList for lists of Target HTTP Proxies. + /// [Output Only] Type of resource. Always compute#targetHttpsProxyAggregatedList for lists of Target HTTP Proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of TargetHttpsProxy resources. +/// Contains a list of TargetHttpsProxy resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetHttpsProxyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetHttpsProxy resources. + /// A list of TargetHttpsProxy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. + /// Type of resource. Always compute#targetHttpsProxyList for lists of target HTTPS proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances. +/// Represents a Target Instance resource. You can use a target instance to handle traffic for one or more forwarding rules, which is ideal for forwarding protocol traffic that is managed by a single source. For example, ESP, AH, TCP, or UDP. For more information, read Target instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetInstance { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance + /// A URL to the virtual machine instance that handles traffic for this target instance. When creating a target instance, you can provide the fully-qualified URL or a valid partial URL to the desired virtual machine. For example, the following are all valid URLs: - /instances/instance - projects/project/zones/zone/instances/instance - zones/zone/instances/instance #[prost(string, optional, tag="18257045")] pub instance: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of the resource. Always compute#targetInstance for target instances. + /// [Output Only] The type of the resource. Always compute#targetInstance for target instances. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. - /// Check the NatPolicy enum for the list of possible values. + /// Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. + /// Check the NatPolicy enum for the list of possible values. #[prost(string, optional, tag="509780496")] pub nat_policy: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to. + /// The URL of the network this target instance uses to forward traffic. If not specified, the traffic will be forwarded to the network that the default network interface belongs to. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the zone where the target instance resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetInstance`. pub mod target_instance { - /// Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. + /// Must have a value of NO_NAT. Protocol forwarding delivers packets while preserving the destination IP address of the forwarding rule referencing the target instance. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NatPolicy { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNatPolicy = 0, - /// No NAT performed. + /// No NAT performed. NoNat = 161455491, } impl NatPolicy { @@ -28671,124 +28671,124 @@ pub mod target_instance { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetInstanceAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetInstance resources. + /// A list of TargetInstance resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, TargetInstancesScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of TargetInstance resources. +/// Contains a list of TargetInstance resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetInstanceList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetInstance resources. + /// A list of TargetInstance resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetInstancesScopedList { - /// A list of target instances contained in this scope. + /// A list of target instances contained in this scope. #[prost(message, repeated, tag="392915280")] pub target_instances: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of addresses when the list is empty. + /// Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools. +/// Represents a Target Pool resource. Target pools are used for network TCP/UDP load balancing. A target pool references member instances, an associated legacy HttpHealthCheck resource, and, optionally, a backup target pool. For more information, read Using target pools. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPool { - /// The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + /// The server-defined URL for the resource. This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool, and its failoverRatio field is properly set to a value between [0, 1]. backupPool and failoverRatio together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below failoverRatio, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio and backupPool are not set, or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. #[prost(string, optional, tag="45884537")] pub backup_pool: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. + /// This field is applicable only when the containing target pool is serving a forwarding rule as the primary pool (i.e., not as a backup pool to some other target pool). The value of the field must be in [0, 1]. If set, backupPool must also be set. They together define the fallback behavior of the primary target pool: if the ratio of the healthy instances in the primary pool is at or below this number, traffic arriving at the load-balanced IP will be directed to the backup pool. In case where failoverRatio is not set or all the instances in the backup pool are unhealthy, the traffic will be directed back to the primary pool in the "force" mode, where traffic will be spread to the healthy instances with the best effort, or to all instances when no instance is healthy. #[prost(float, optional, tag="212667006")] pub failover_ratio: ::core::option::Option, - /// The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified. + /// The URL of the HttpHealthCheck resource. A member instance in this pool is considered healthy if and only if the health checks pass. Only legacy HttpHealthChecks are supported. Only one health check may be specified. #[prost(string, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool. + /// A list of resource URLs to the virtual machine instances serving this pool. They must live in zones contained in the same region as this pool. #[prost(string, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#targetPool for target pools. + /// [Output Only] Type of the resource. Always compute#targetPool for target pools. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the target pool resides. + /// [Output Only] URL of the region where the target pool resides. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. - /// Check the SessionAffinity enum for the list of possible values. + /// Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + /// Check the SessionAffinity enum for the list of possible values. #[prost(string, optional, tag="463888561")] pub session_affinity: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetPool`. pub mod target_pool { - /// Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. + /// Session affinity option, must be one of the following values: NONE: Connections from the same client IP may go to any instance in the pool. CLIENT_IP: Connections from the same client IP will go to the same instance in the pool while that instance remains healthy. CLIENT_IP_PROTO: Connections from the same client IP with the same IP protocol will go to the same instance in the pool while that instance remains healthy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SessionAffinity { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedSessionAffinity = 0, - /// 2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. + /// 2-tuple hash on packet's source and destination IP addresses. Connections from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. ClientIp = 345665051, - /// 1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing. + /// 1-tuple hash only on packet's source IP address. Connections from the same source IP address will be served by the same backend VM while that VM remains healthy. This option can only be used for Internal TCP/UDP Load Balancing. ClientIpNoDestination = 106122516, - /// 5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. + /// 5-tuple hash on packet's source and destination IP addresses, IP protocol, and source and destination ports. Connections for the same IP protocol from the same source IP address and port to the same destination IP address and port will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. ClientIpPortProto = 221722926, - /// 3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. + /// 3-tuple hash on packet's source and destination IP addresses, and IP protocol. Connections for the same IP protocol from the same source IP address to the same destination IP address will be served by the same backend VM while that VM remains healthy. This option cannot be used for HTTP(S) load balancing. ClientIpProto = 25322148, - /// Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing. + /// Hash based on a cookie generated by the L7 loadbalancer. Only valid for HTTP(S) load balancing. GeneratedCookie = 370321204, - /// The hash is based on a user specified header field. + /// The hash is based on a user specified header field. HeaderField = 200737960, - /// The hash is based on a user provided cookie. + /// The hash is based on a user provided cookie. HttpCookie = 494981627, - /// No session affinity. Connections from the same client IP may go to any instance in the pool. + /// No session affinity. Connections from the same client IP may go to any instance in the pool. None = 2402104, } impl SessionAffinity { @@ -28814,25 +28814,25 @@ pub mod target_pool { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetPool resources. + /// A list of TargetPool resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, TargetPoolsScopedList>, - /// [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools. + /// [Output Only] Type of resource. Always compute#targetPoolAggregatedList for aggregated lists of target pools. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -28841,67 +28841,67 @@ pub struct TargetPoolAggregatedList { pub struct TargetPoolInstanceHealth { #[prost(message, repeated, tag="380545845")] pub health_status: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance. + /// [Output Only] Type of resource. Always compute#targetPoolInstanceHealth when checking the health of an instance. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains a list of TargetPool resources. +/// Contains a list of TargetPool resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetPool resources. + /// A list of TargetPool resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. + /// [Output Only] Type of resource. Always compute#targetPoolList for lists of target pools. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolsAddHealthCheckRequest { - /// The HttpHealthCheck to add to the target pool. + /// The HttpHealthCheck to add to the target pool. #[prost(message, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolsAddInstanceRequest { - /// A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name + /// A full or partial URL to an instance to add to this target pool. This can be a full or partial URL. For example, the following are valid URLs: - /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolsRemoveHealthCheckRequest { - /// Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check + /// Health check URL to be removed. This can be a full or valid partial URL. For example, the following are valid URLs: - /global/httpHealthChecks/health-check - projects/project/global/httpHealthChecks/health-check - global/httpHealthChecks/health-check #[prost(message, repeated, tag="448370606")] pub health_checks: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolsRemoveInstanceRequest { - /// URLs of the instances to be removed from target pool. + /// URLs of the instances to be removed from target pool. #[prost(message, repeated, tag="29097598")] pub instances: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetPoolsScopedList { - /// A list of target pools contained in this scope. + /// A list of target pools contained in this scope. #[prost(message, repeated, tag="336072617")] pub target_pools: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of addresses when the list is empty. + /// Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -28914,32 +28914,32 @@ pub struct TargetReference { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxiesSetBackendServiceRequest { - /// The URL of the new BackendService resource for the targetSslProxy. + /// The URL of the new BackendService resource for the targetSslProxy. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxiesSetCertificateMapRequest { - /// URL of the Certificate Map to associate with this TargetSslProxy. + /// URL of the Certificate Map to associate with this TargetSslProxy. #[prost(string, optional, tag="156463796")] pub certificate_map: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxiesSetProxyHeaderRequest { - /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. - /// Check the ProxyHeader enum for the list of possible values. + /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetSslProxiesSetProxyHeaderRequest`. pub mod target_ssl_proxies_set_proxy_header_request { - /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. + /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -28961,55 +28961,55 @@ pub mod target_ssl_proxies_set_proxy_header_request { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxiesSetSslCertificatesRequest { - /// New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. + /// New set of URLs to SslCertificate resources to associate with this TargetSslProxy. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. #[prost(string, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies. +/// Represents a Target SSL Proxy resource. A target SSL proxy is a component of a SSL Proxy load balancer. Global forwarding rules reference a target SSL proxy, and the target proxy then references an external backend service. For more information, read Using Target Proxies. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxy { - /// URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. + /// URL of a certificate map that identifies a certificate map associated with the given target proxy. This field can only be set for global target proxies. If set, sslCertificates will be ignored. #[prost(string, optional, tag="156463796")] pub certificate_map: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. + /// [Output Only] Type of the resource. Always compute#targetSslProxy for target SSL proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// URL to the BackendService resource. + /// URL to the BackendService resource. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, - /// URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. + /// URLs to SslCertificate resources that are used to authenticate connections to Backends. At least one SSL certificate must be specified. Currently, you may specify up to 15 SSL certificates. sslCertificates do not apply when the load balancing scheme is set to INTERNAL_SELF_MANAGED. #[prost(string, repeated, tag="366006543")] pub ssl_certificates: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured. + /// URL of SslPolicy resource that will be associated with the TargetSslProxy resource. If not set, the TargetSslProxy resource will not have any SSL policy configured. #[prost(string, optional, tag="295190213")] pub ssl_policy: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetSslProxy`. pub mod target_ssl_proxy { - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -29028,50 +29028,50 @@ pub mod target_ssl_proxy { } } } -/// Contains a list of TargetSslProxy resources. +/// Contains a list of TargetSslProxy resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetSslProxyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetSslProxy resources. + /// A list of TargetSslProxy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetTcpProxiesSetBackendServiceRequest { - /// The URL of the new BackendService resource for the targetTcpProxy. + /// The URL of the new BackendService resource for the targetTcpProxy. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetTcpProxiesSetProxyHeaderRequest { - /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. - /// Check the ProxyHeader enum for the list of possible values. + /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetTcpProxiesSetProxyHeaderRequest`. pub mod target_tcp_proxies_set_proxy_header_request { - /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. + /// The new type of proxy header to append before sending data to the backend. NONE or PROXY_V1 are allowed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -29090,48 +29090,48 @@ pub mod target_tcp_proxies_set_proxy_header_request { } } } -/// Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview. +/// Represents a Target TCP Proxy resource. A target TCP proxy is a component of a TCP Proxy load balancer. Global forwarding rules reference target TCP proxy, and the target proxy then references an external backend service. For more information, read TCP Proxy Load Balancing overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetTcpProxy { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. + /// [Output Only] Type of the resource. Always compute#targetTcpProxy for target TCP proxies. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. + /// This field only applies when the forwarding rule that references this target proxy has a loadBalancingScheme set to INTERNAL_SELF_MANAGED. When this field is set to true, Envoy proxies set up inbound traffic interception and bind to the IP address and port specified in the forwarding rule. This is generally useful when using Traffic Director to configure Envoy as a gateway or middle proxy (in other words, not a sidecar proxy). The Envoy proxy listens for inbound requests and handles requests when it receives them. The default is false. #[prost(bool, optional, tag="286025582")] pub proxy_bind: ::core::option::Option, - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. - /// Check the ProxyHeader enum for the list of possible values. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Check the ProxyHeader enum for the list of possible values. #[prost(string, optional, tag="160374142")] pub proxy_header: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy. + /// [Output Only] URL of the region where the regional TCP proxy resides. This field is not applicable to global TCP proxy. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// URL to the BackendService resource. + /// URL to the BackendService resource. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetTcpProxy`. pub mod target_tcp_proxy { - /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. + /// Specifies the type of proxy header to append before sending data to the backend, either NONE or PROXY_V1. The default is NONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ProxyHeader { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedProxyHeader = 0, None = 2402104, ProxyV1 = 334352940, @@ -29150,73 +29150,73 @@ pub mod target_tcp_proxy { } } } -/// Contains a list of TargetTcpProxy resources. +/// Contains a list of TargetTcpProxy resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetTcpProxyList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetTcpProxy resources. + /// A list of TargetTcpProxy resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview. +/// Represents a Target VPN Gateway resource. The target VPN gateway resource represents a Classic Cloud VPN gateway. For more information, read the the Cloud VPN Overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetVpnGateway { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway. + /// [Output Only] A list of URLs to the ForwardingRule resources. ForwardingRules are created using compute.forwardingRules.insert and associated with a VPN gateway. #[prost(string, repeated, tag="315821365")] pub forwarding_rules: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. + /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. + /// URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the target VPN gateway resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway. + /// [Output Only] A list of URLs to VpnTunnel resources. VpnTunnels are created using the compute.vpntunnels.insert method and associated with a VPN gateway. #[prost(string, repeated, tag="104561931")] pub tunnels: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `TargetVpnGateway`. pub mod target_vpn_gateway { - /// [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. + /// [Output Only] The status of the VPN gateway, which can be one of the following: CREATING, READY, FAILED, or DELETING. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Creating = 455564985, Deleting = 528602024, @@ -29242,424 +29242,424 @@ pub mod target_vpn_gateway { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetVpnGatewayAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetVpnGateway resources. + /// A list of TargetVpnGateway resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, TargetVpnGatewaysScopedList>, - /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. + /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of TargetVpnGateway resources. +/// Contains a list of TargetVpnGateway resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetVpnGatewayList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of TargetVpnGateway resources. + /// A list of TargetVpnGateway resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. + /// [Output Only] Type of resource. Always compute#targetVpnGateway for target VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetVpnGatewaysScopedList { - /// [Output Only] A list of target VPN gateways contained in this scope. + /// [Output Only] A list of target VPN gateways contained in this scope. #[prost(message, repeated, tag="401770888")] pub target_vpn_gateways: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. + /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestFailure { - /// The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters. + /// The actual output URL evaluated by a load balancer containing the scheme, host, path and query parameters. #[prost(string, optional, tag="287075458")] pub actual_output_url: ::core::option::Option<::prost::alloc::string::String>, - /// Actual HTTP status code for rule with `urlRedirect` calculated by load balancer + /// Actual HTTP status code for rule with `urlRedirect` calculated by load balancer #[prost(int32, optional, tag="42926553")] pub actual_redirect_response_code: ::core::option::Option, - /// BackendService or BackendBucket returned by load balancer. + /// BackendService or BackendBucket returned by load balancer. #[prost(string, optional, tag="440379652")] pub actual_service: ::core::option::Option<::prost::alloc::string::String>, - /// The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters. + /// The expected output URL evaluated by a load balancer containing the scheme, host, path and query parameters. #[prost(string, optional, tag="433967384")] pub expected_output_url: ::core::option::Option<::prost::alloc::string::String>, - /// Expected HTTP status code for rule with `urlRedirect` calculated by load balancer + /// Expected HTTP status code for rule with `urlRedirect` calculated by load balancer #[prost(int32, optional, tag="18888047")] pub expected_redirect_response_code: ::core::option::Option, - /// Expected BackendService or BackendBucket resource the given URL should be mapped to. + /// Expected BackendService or BackendBucket resource the given URL should be mapped to. #[prost(string, optional, tag="133987374")] pub expected_service: ::core::option::Option<::prost::alloc::string::String>, - /// HTTP headers of the request. + /// HTTP headers of the request. #[prost(message, repeated, tag="258436998")] pub headers: ::prost::alloc::vec::Vec, - /// Host portion of the URL. + /// Host portion of the URL. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, - /// Path portion including query parameters in the URL. + /// Path portion including query parameters in the URL. #[prost(string, optional, tag="3433509")] pub path: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Disks.TestIamPermissions. See the method description for details. +/// A request message for Disks.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ExternalVpnGateways.TestIamPermissions. See the method description for details. +/// A request message for ExternalVpnGateways.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsExternalVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for FirewallPolicies.TestIamPermissions. See the method description for details. +/// A request message for FirewallPolicies.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsFirewallPolicyRequest { - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Images.TestIamPermissions. See the method description for details. +/// A request message for Images.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsImageRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Instances.TestIamPermissions. See the method description for details. +/// A request message for Instances.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsInstanceRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for InstanceTemplates.TestIamPermissions. See the method description for details. +/// A request message for InstanceTemplates.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsInstanceTemplateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for LicenseCodes.TestIamPermissions. See the method description for details. +/// A request message for LicenseCodes.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsLicenseCodeRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Licenses.TestIamPermissions. See the method description for details. +/// A request message for Licenses.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsLicenseRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for MachineImages.TestIamPermissions. See the method description for details. +/// A request message for MachineImages.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsMachineImageRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details. +/// A request message for NetworkEndpointGroups.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsNetworkEndpointGroupRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details. +/// A request message for NetworkFirewallPolicies.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsNetworkFirewallPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for NodeGroups.TestIamPermissions. See the method description for details. +/// A request message for NodeGroups.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsNodeGroupRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for NodeTemplates.TestIamPermissions. See the method description for details. +/// A request message for NodeTemplates.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsNodeTemplateRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for PacketMirrorings.TestIamPermissions. See the method description for details. +/// A request message for PacketMirrorings.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsPacketMirroringRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for RegionDisks.TestIamPermissions. See the method description for details. +/// A request message for RegionDisks.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsRegionDiskRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details. +/// A request message for RegionNetworkFirewallPolicies.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsRegionNetworkFirewallPolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Reservations.TestIamPermissions. See the method description for details. +/// A request message for Reservations.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsReservationRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for ResourcePolicies.TestIamPermissions. See the method description for details. +/// A request message for ResourcePolicies.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsResourcePolicyRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for ServiceAttachments.TestIamPermissions. See the method description for details. +/// A request message for ServiceAttachments.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsServiceAttachmentRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Snapshots.TestIamPermissions. See the method description for details. +/// A request message for Snapshots.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsSnapshotRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for Subnetworks.TestIamPermissions. See the method description for details. +/// A request message for Subnetworks.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsSubnetworkRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } -/// A request message for VpnGateways.TestIamPermissions. See the method description for details. +/// A request message for VpnGateways.TestIamPermissions. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestIamPermissionsVpnGatewayRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// The name of the region for this request. + /// The name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// Name or id of the resource for this request. + /// Name or id of the resource for this request. #[prost(string, tag="195806222")] pub resource: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="439214758")] pub test_permissions_request_resource: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestPermissionsRequest { - /// The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. + /// The set of permissions to check for the 'resource'. Permissions with wildcards (such as '*' or 'storage.*') are not allowed. #[prost(string, repeated, tag="59962500")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestPermissionsResponse { - /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. + /// A subset of `TestPermissionsRequest.permissions` that the caller is allowed. #[prost(string, repeated, tag="59962500")] pub permissions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -29671,169 +29671,169 @@ pub struct Uint128 { #[prost(uint64, optional, tag="107348")] pub low: ::core::option::Option, } -/// A request message for Instances.UpdateAccessConfig. See the method description for details. +/// A request message for Instances.UpdateAccessConfig. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAccessConfigInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="387825552")] pub access_config_resource: ::core::option::Option, - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The name of the network interface where the access config is attached. + /// The name of the network interface where the access config is attached. #[prost(string, tag="365387880")] pub network_interface: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Autoscalers.Update. See the method description for details. +/// A request message for Autoscalers.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAutoscalerRequest { - /// Name of the autoscaler to update. + /// Name of the autoscaler to update. #[prost(string, optional, tag="517258967")] pub autoscaler: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for BackendBuckets.Update. See the method description for details. +/// A request message for BackendBuckets.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBackendBucketRequest { - /// Name of the BackendBucket resource to update. + /// Name of the BackendBucket resource to update. #[prost(string, tag="91714037")] pub backend_bucket: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="380757784")] pub backend_bucket_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for BackendServices.Update. See the method description for details. +/// A request message for BackendServices.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateBackendServiceRequest { - /// Name of the BackendService resource to update. + /// Name of the BackendService resource to update. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.UpdateDisplayDevice. See the method description for details. +/// A request message for Instances.UpdateDisplayDevice. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDisplayDeviceInstanceRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="289686106")] pub display_device_resource: ::core::option::Option, - /// Name of the instance scoping this request. + /// Name of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Firewalls.Update. See the method description for details. +/// A request message for Firewalls.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFirewallRequest { - /// Name of the firewall rule to update. + /// Name of the firewall rule to update. #[prost(string, tag="511016192")] pub firewall: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="41425005")] pub firewall_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for HealthChecks.Update. See the method description for details. +/// A request message for HealthChecks.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateHealthCheckRequest { - /// Name of the HealthCheck resource to update. + /// Name of the HealthCheck resource to update. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Instances.Update. See the method description for details. +/// A request message for Instances.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { - /// Name of the instance resource to update. + /// Name of the instance resource to update. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="215988344")] pub instance_resource: ::core::option::Option, - /// Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. - /// Check the MinimalAction enum for the list of possible values. + /// Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. + /// Check the MinimalAction enum for the list of possible values. #[prost(string, optional, tag="270567060")] pub minimal_action: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. - /// Check the MostDisruptiveAllowedAction enum for the list of possible values. + /// Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. + /// Check the MostDisruptiveAllowedAction enum for the list of possible values. #[prost(string, optional, tag="66103053")] pub most_disruptive_allowed_action: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } /// Nested message and enum types in `UpdateInstanceRequest`. pub mod update_instance_request { - /// Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// INVALID - /// NO_EFFECT - /// REFRESH - /// RESTART + /// Specifies the action to take when updating an instance even if the updated properties do not require it. If not specified, then Compute Engine acts based on the minimum action that the updated properties require. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// INVALID + /// NO_EFFECT + /// REFRESH + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MinimalAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMinimalAction = 0, } impl MinimalAction { @@ -29847,16 +29847,16 @@ pub mod update_instance_request { } } } - /// Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. - /// Additional supported values which may be not listed in the enum directly due to technical reasons: - /// INVALID - /// NO_EFFECT - /// REFRESH - /// RESTART + /// Specifies the most disruptive action that can be taken on the instance as part of the update. Compute Engine returns an error if the instance properties require a more disruptive action as part of the instance update. Valid options from lowest to highest are NO_EFFECT, REFRESH, and RESTART. + /// Additional supported values which may be not listed in the enum directly due to technical reasons: + /// INVALID + /// NO_EFFECT + /// REFRESH + /// RESTART #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MostDisruptiveAllowedAction { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedMostDisruptiveAllowedAction = 0, } impl MostDisruptiveAllowedAction { @@ -29871,328 +29871,328 @@ pub mod update_instance_request { } } } -/// A request message for Instances.UpdateNetworkInterface. See the method description for details. +/// A request message for Instances.UpdateNetworkInterface. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateNetworkInterfaceInstanceRequest { - /// The instance name for this request. + /// The instance name for this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// The name of the network interface to update. + /// The name of the network interface to update. #[prost(string, tag="365387880")] pub network_interface: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="325814789")] pub network_interface_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Networks.UpdatePeering. See the method description for details. +/// A request message for Networks.UpdatePeering. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePeeringNetworkRequest { - /// Name of the network resource which the updated peering is belonging to. + /// Name of the network resource which the updated peering is belonging to. #[prost(string, tag="232872494")] pub network: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="224433497")] pub networks_update_peering_request_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for InstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details. +/// A request message for InstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePerInstanceConfigsInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="141402302")] pub instance_group_managers_update_per_instance_configs_req_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The name of the zone where the managed instance group is located. It should conform to RFC1035. + /// The name of the zone where the managed instance group is located. It should conform to RFC1035. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for RegionInstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details. +/// A request message for RegionInstanceGroupManagers.UpdatePerInstanceConfigs. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePerInstanceConfigsRegionInstanceGroupManagerRequest { - /// The name of the managed instance group. It should conform to RFC1035. + /// The name of the managed instance group. It should conform to RFC1035. #[prost(string, tag="249363395")] pub instance_group_manager: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request, should conform to RFC1035. + /// Name of the region scoping this request, should conform to RFC1035. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="89036583")] pub region_instance_group_manager_update_instance_config_req_resource: ::core::option::Option, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionAutoscalers.Update. See the method description for details. +/// A request message for RegionAutoscalers.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRegionAutoscalerRequest { - /// Name of the autoscaler to update. + /// Name of the autoscaler to update. #[prost(string, optional, tag="517258967")] pub autoscaler: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="207616118")] pub autoscaler_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionBackendServices.Update. See the method description for details. +/// A request message for RegionBackendServices.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRegionBackendServiceRequest { - /// Name of the BackendService resource to update. + /// Name of the BackendService resource to update. #[prost(string, tag="306946058")] pub backend_service: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="347586723")] pub backend_service_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionCommitments.Update. See the method description for details. +/// A request message for RegionCommitments.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRegionCommitmentRequest { - /// Name of the commitment for which auto renew is being updated. + /// Name of the commitment for which auto renew is being updated. #[prost(string, tag="482134805")] pub commitment: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="244240888")] pub commitment_resource: ::core::option::Option, #[prost(string, optional, tag="106438894")] pub paths: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// update_mask indicates fields to be updated as part of this request. + /// update_mask indicates fields to be updated as part of this request. #[prost(string, optional, tag="500079778")] pub update_mask: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionHealthChecks.Update. See the method description for details. +/// A request message for RegionHealthChecks.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRegionHealthCheckRequest { - /// Name of the HealthCheck resource to update. + /// Name of the HealthCheck resource to update. #[prost(string, tag="308876645")] pub health_check: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="201925032")] pub health_check_resource: ::core::option::Option, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionUrlMaps.Update. See the method description for details. +/// A request message for RegionUrlMaps.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. + /// begin_interface: MixerMutationRequestBuilder Request ID to support idempotency. #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to update. + /// Name of the UrlMap resource to update. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// A request message for Reservations.Update. See the method description for details. +/// A request message for Reservations.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateReservationRequest { #[prost(string, optional, tag="106438894")] pub paths: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the reservation to update. + /// Name of the reservation to update. #[prost(string, tag="47530956")] pub reservation: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="285030177")] pub reservation_resource: ::core::option::Option, - /// Update_mask indicates fields to be updated as part of this request. + /// Update_mask indicates fields to be updated as part of this request. #[prost(string, optional, tag="500079778")] pub update_mask: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for Routers.Update. See the method description for details. +/// A request message for Routers.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRouterRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the Router resource to update. + /// Name of the Router resource to update. #[prost(string, tag="148608841")] pub router: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="155222084")] pub router_resource: ::core::option::Option, } -/// A request message for Instances.UpdateShieldedInstanceConfig. See the method description for details. +/// A request message for Instances.UpdateShieldedInstanceConfig. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateShieldedInstanceConfigInstanceRequest { - /// Name or id of the instance scoping this request. + /// Name or id of the instance scoping this request. #[prost(string, tag="18257045")] pub instance: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="272059224")] pub shielded_instance_config_resource: ::core::option::Option, - /// The name of the zone for this request. + /// The name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// A request message for UrlMaps.Update. See the method description for details. +/// A request message for UrlMaps.Update. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the UrlMap resource to update. + /// Name of the UrlMap resource to update. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="168675425")] pub url_map_resource: ::core::option::Option, } -/// Represents a URL Map resource. Compute Engine has two URL Map resources: * \[Global\](/compute/docs/reference/rest/v1/urlMaps) * \[Regional\](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. +/// Represents a URL Map resource. Compute Engine has two URL Map resources: * \[Global\](/compute/docs/reference/rest/v1/urlMaps) * \[Regional\](/compute/docs/reference/rest/v1/regionUrlMaps) A URL map resource is a component of certain types of cloud load balancers and Traffic Director: * urlMaps are used by external HTTP(S) load balancers and Traffic Director. * regionUrlMaps are used by internal HTTP(S) load balancers. For a list of supported URL map features by the load balancer type, see the Load balancing features: Routing and traffic management table. For a list of supported URL map features for Traffic Director, see the Traffic Director features: Routing and traffic management table. This resource defines mappings from hostnames and URL paths to either a backend service or a backend bucket. To use the global urlMaps resource, the backend service must have a loadBalancingScheme of either EXTERNAL or INTERNAL_SELF_MANAGED. To use the regionUrlMaps resource, the backend service must have a loadBalancingScheme of INTERNAL_MANAGED. For more information, read URL Map Concepts. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMap { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// defaultRouteAction takes effect when none of the hostRules match. The load balancer performs advanced routing actions, such as URL rewrites and header transformations, before forwarding the request to the selected backend. If defaultRouteAction specifies any weightedBackendServices, defaultService must not be set. Conversely if defaultService is set, defaultRouteAction cannot contain any weightedBackendServices. Only one of defaultRouteAction or defaultUrlRedirect must be set. URL maps for Classic external HTTP(S) load balancers only support the urlRewrite action within defaultRouteAction. defaultRouteAction has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(message, optional, tag="378919466")] pub default_route_action: ::core::option::Option, - /// The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. + /// The full or partial URL of the defaultService resource to which traffic is directed if none of the hostRules match. If defaultRouteAction is also specified, advanced routing actions, such as URL rewrites, take effect before sending the request to the backend. However, if defaultService is specified, defaultRouteAction cannot contain any weightedBackendServices. Conversely, if routeAction specifies any weightedBackendServices, service must not be specified. Only one of defaultService, defaultUrlRedirect , or defaultRouteAction.weightedBackendService must be set. defaultService has no effect when the URL map is bound to a target gRPC proxy that has the validateForProxyless field set to true. #[prost(string, optional, tag="370242231")] pub default_service: ::core::option::Option<::prost::alloc::string::String>, - /// When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. + /// When none of the specified hostRules match, the request is redirected to a URL specified by defaultUrlRedirect. If defaultUrlRedirect is specified, defaultService or defaultRouteAction must not be set. Not supported when the URL map is bound to a target gRPC proxy. #[prost(message, optional, tag="359503338")] pub default_url_redirect: ::core::option::Option, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap. + /// Fingerprint of this resource. A hash of the contents stored in this object. This field is used in optimistic locking. This field is ignored when inserting a UrlMap. An up-to-date fingerprint must be provided in order to update the UrlMap, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve a UrlMap. #[prost(string, optional, tag="234678500")] pub fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Specifies changes to request and response headers that need to take effect for the selected backendService. The headerAction specified here take effect after headerAction specified under pathMatcher. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="328077352")] pub header_action: ::core::option::Option, - /// The list of host rules to use against the URL. + /// The list of host rules to use against the URL. #[prost(message, repeated, tag="311804832")] pub host_rules: ::prost::alloc::vec::Vec, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#urlMaps for url maps. + /// [Output Only] Type of the resource. Always compute#urlMaps for url maps. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The list of named PathMatchers to use against the URL. + /// The list of named PathMatchers to use against the URL. #[prost(message, repeated, tag="271664219")] pub path_matchers: ::prost::alloc::vec::Vec, - /// [Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the regional URL map resides. This field is not applicable to global URL maps. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// The list of expected URL mapping tests. Request to update the UrlMap succeeds only if all test cases pass. You can specify a maximum of 100 tests per UrlMap. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, repeated, tag="110251553")] pub tests: ::prost::alloc::vec::Vec, } -/// Contains a list of UrlMap resources. +/// Contains a list of UrlMap resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of UrlMap resources. + /// A list of UrlMap resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } @@ -30202,98 +30202,98 @@ pub struct UrlMapReference { #[prost(string, optional, tag="367020684")] pub url_map: ::core::option::Option<::prost::alloc::string::String>, } -/// Message for the expected URL mappings. +/// Message for the expected URL mappings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapTest { - /// Description of this test case. + /// Description of this test case. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified. + /// The expected output URL evaluated by the load balancer containing the scheme, host, path and query parameters. For rules that forward requests to backends, the test passes only when expectedOutputUrl matches the request forwarded by the load balancer to backends. For rules with urlRewrite, the test verifies that the forwarded request matches hostRewrite and pathPrefixRewrite in the urlRewrite action. When service is specified, expectedOutputUrl`s scheme is ignored. For rules with urlRedirect, the test passes only if expectedOutputUrl matches the URL in the load balancer's redirect response. If urlRedirect specifies https_redirect, the test passes only if the scheme in expectedOutputUrl is also set to HTTPS. If urlRedirect specifies strip_query, the test passes only if expectedOutputUrl does not contain any query parameters. expectedOutputUrl is optional when service is specified. #[prost(string, optional, tag="433967384")] pub expected_output_url: ::core::option::Option<::prost::alloc::string::String>, - /// For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set. + /// For rules with urlRedirect, the test passes only if expectedRedirectResponseCode matches the HTTP status code in load balancer's redirect response. expectedRedirectResponseCode cannot be set when service is set. #[prost(int32, optional, tag="18888047")] pub expected_redirect_response_code: ::core::option::Option, - /// HTTP headers for this request. If headers contains a host header, then host must also match the header value. + /// HTTP headers for this request. If headers contains a host header, then host must also match the header value. #[prost(message, repeated, tag="258436998")] pub headers: ::prost::alloc::vec::Vec, - /// Host portion of the URL. If headers contains a host header, then host must also match the header value. + /// Host portion of the URL. If headers contains a host header, then host must also match the header value. #[prost(string, optional, tag="3208616")] pub host: ::core::option::Option<::prost::alloc::string::String>, - /// Path portion of the URL. + /// Path portion of the URL. #[prost(string, optional, tag="3433509")] pub path: ::core::option::Option<::prost::alloc::string::String>, - /// Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set. + /// Expected BackendService or BackendBucket resource the given URL should be mapped to. The service field cannot be set if expectedRedirectResponseCode is set. #[prost(string, optional, tag="373540533")] pub service: ::core::option::Option<::prost::alloc::string::String>, } -/// HTTP headers used in UrlMapTests. +/// HTTP headers used in UrlMapTests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapTestHeader { - /// Header name. + /// Header name. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// Header value. + /// Header value. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// Message representing the validation result for a UrlMap. +/// Message representing the validation result for a UrlMap. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapValidationResult { #[prost(string, repeated, tag="310147300")] pub load_errors: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons. + /// Whether the given UrlMap can be successfully loaded. If false, 'loadErrors' indicates the reasons. #[prost(bool, optional, tag="128326216")] pub load_succeeded: ::core::option::Option, #[prost(message, repeated, tag="505934134")] pub test_failures: ::prost::alloc::vec::Vec, - /// If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure. + /// If successfully loaded, this field indicates whether the test passed. If false, 'testFailures's indicate the reason of failure. #[prost(bool, optional, tag="192708797")] pub test_passed: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapsAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of UrlMapsScopedList resources. + /// A list of UrlMapsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, UrlMapsScopedList>, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapsScopedList { - /// A list of UrlMaps contained in this scope. + /// A list of UrlMaps contained in this scope. #[prost(message, repeated, tag="103352167")] pub url_maps: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of backend services when the list is empty. + /// Informational warning which replaces the list of backend services when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlMapsValidateRequest { - /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. - /// Check the LoadBalancingSchemes enum for the list of possible values. + /// Specifies the load balancer type(s) this validation request is for. Use EXTERNAL_MANAGED for HTTP/HTTPS External Global Load Balancer with Advanced Traffic Management. Use EXTERNAL for Classic HTTP/HTTPS External Global Load Balancer. Other load balancer types are not supported. For more information, refer to Choosing a load balancer. If unspecified, the load balancing scheme will be inferred from the backend service resources this URL map references. If that can not be inferred (for example, this URL map only references backend buckets, or this Url map is for rewrites and redirects only and doesn't reference any backends), EXTERNAL will be used as the default type. If specified, the scheme(s) must not conflict with the load balancing scheme of the backend service resources this Url map references. + /// Check the LoadBalancingSchemes enum for the list of possible values. #[prost(string, repeated, tag="6308527")] pub load_balancing_schemes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Content of the UrlMap to be validated. + /// Content of the UrlMap to be validated. #[prost(message, optional, tag="195806222")] pub resource: ::core::option::Option, } @@ -30303,13 +30303,13 @@ pub mod url_maps_validate_request { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LoadBalancingSchemes { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedLoadBalancingSchemes = 0, - /// Signifies that this will be used for Classic L7 External Load Balancing. + /// Signifies that this will be used for Classic L7 External Load Balancing. External = 35607499, - /// Signifies that this will be used for Envoy-based L7 External Load Balancing. + /// Signifies that this will be used for Envoy-based L7 External Load Balancing. ExternalManaged = 512006923, - /// If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type. + /// If unspecified, the validation will try to infer the scheme from the backend service resources this Url map references. If the inferrence is not possible, EXTERNAL will be used as the default type. LoadBalancingSchemeUnspecified = 526507452, } impl LoadBalancingSchemes { @@ -30333,65 +30333,65 @@ pub struct UrlMapsValidateResponse { #[prost(message, optional, tag="139315229")] pub result: ::core::option::Option, } -/// The spec for modifying the path before sending the request to the matched backend service. +/// The spec for modifying the path before sending the request to the matched backend service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UrlRewrite { - /// Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. + /// Before forwarding the request to the selected service, the request's host header is replaced with contents of hostRewrite. The value must be from 1 to 255 characters. #[prost(string, optional, tag="159819253")] pub host_rewrite: ::core::option::Option<::prost::alloc::string::String>, - /// Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. + /// Before forwarding the request to the selected backend service, the matching portion of the request's path is replaced by pathPrefixRewrite. The value must be from 1 to 1024 characters. #[prost(string, optional, tag="41186361")] pub path_prefix_rewrite: ::core::option::Option<::prost::alloc::string::String>, } -/// Subnetwork which the current user has compute.subnetworks.use permission on. +/// Subnetwork which the current user has compute.subnetworks.use permission on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsableSubnetwork { - /// [Output Only] The external IPv6 address range that is assigned to this subnetwork. + /// [Output Only] The external IPv6 address range that is assigned to this subnetwork. #[prost(string, optional, tag="139299190")] pub external_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The internal IPv6 address range that is assigned to this subnetwork. + /// [Output Only] The internal IPv6 address range that is assigned to this subnetwork. #[prost(string, optional, tag="506270056")] pub internal_ipv6_prefix: ::core::option::Option<::prost::alloc::string::String>, - /// The range of internal addresses that are owned by this subnetwork. + /// The range of internal addresses that are owned by this subnetwork. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. - /// Check the Ipv6AccessType enum for the list of possible values. + /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. + /// Check the Ipv6AccessType enum for the list of possible values. #[prost(string, optional, tag="504658653")] pub ipv6_access_type: ::core::option::Option<::prost::alloc::string::String>, - /// Network URL. + /// Network URL. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. - /// Check the Purpose enum for the list of possible values. + /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + /// Check the Purpose enum for the list of possible values. #[prost(string, optional, tag="316407070")] pub purpose: ::core::option::Option<::prost::alloc::string::String>, - /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. - /// Check the Role enum for the list of possible values. + /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + /// Check the Role enum for the list of possible values. #[prost(string, optional, tag="3506294")] pub role: ::core::option::Option<::prost::alloc::string::String>, - /// Secondary IP ranges. + /// Secondary IP ranges. #[prost(message, repeated, tag="136658915")] pub secondary_ip_ranges: ::prost::alloc::vec::Vec, - /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. - /// Check the StackType enum for the list of possible values. + /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// Subnetwork URL. + /// Subnetwork URL. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `UsableSubnetwork`. pub mod usable_subnetwork { - /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. + /// The access type of IPv6 address this subnet holds. It's immutable and can only be specified during creation or the first time the subnet is updated into IPV4_IPV6 dual stack. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Ipv6AccessType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpv6AccessType = 0, - /// VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network. + /// VMs on this subnet will be assigned IPv6 addresses that are accessible via the Internet, as well as the VPC network. External = 35607499, - /// VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network. + /// VMs on this subnet will be assigned IPv6 addresses that are only accessible over the VPC network. Internal = 279295677, } impl Ipv6AccessType { @@ -30407,21 +30407,21 @@ pub mod usable_subnetwork { } } } - /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. + /// The purpose of the resource. This field can be either PRIVATE_RFC_1918 or INTERNAL_HTTPS_LOAD_BALANCER. A subnetwork with purpose set to INTERNAL_HTTPS_LOAD_BALANCER is a user-created subnetwork that is reserved for Internal HTTP(S) Load Balancing. If unspecified, the purpose defaults to PRIVATE_RFC_1918. The enableFlowLogs field isn't supported with the purpose field set to INTERNAL_HTTPS_LOAD_BALANCER. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Purpose { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPurpose = 0, - /// Subnet reserved for Internal HTTP(S) Load Balancing. + /// Subnet reserved for Internal HTTP(S) Load Balancing. InternalHttpsLoadBalancer = 248748889, - /// Regular user created or automatically created subnet. + /// Regular user created or automatically created subnet. Private = 403485027, - /// Regular user created or automatically created subnet. + /// Regular user created or automatically created subnet. PrivateRfc1918 = 254902107, - /// Subnetworks created for Private Service Connect in the producer network. + /// Subnetworks created for Private Service Connect in the producer network. PrivateServiceConnect = 48134724, - /// Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. + /// Subnetwork used for Regional Internal/External HTTP(S) Load Balancing. RegionalManagedProxy = 153049966, } impl Purpose { @@ -30440,15 +30440,15 @@ pub mod usable_subnetwork { } } } - /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. + /// The role of subnetwork. Currently, this field is only used when purpose = INTERNAL_HTTPS_LOAD_BALANCER. The value can be set to ACTIVE or BACKUP. An ACTIVE subnetwork is one that is currently being used for Internal HTTP(S) Load Balancing. A BACKUP subnetwork is one that is ready to be promoted to ACTIVE or is currently draining. This field can be updated with a patch request. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Role { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedRole = 0, - /// The ACTIVE subnet that is currently used. + /// The ACTIVE subnet that is currently used. Active = 314733318, - /// The BACKUP subnet that could be promoted to ACTIVE. + /// The BACKUP subnet that could be promoted to ACTIVE. Backup = 341010882, } impl Role { @@ -30464,15 +30464,15 @@ pub mod usable_subnetwork { } } } - /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. + /// The stack type for the subnet. If set to IPV4_ONLY, new VMs in the subnet are assigned IPv4 addresses only. If set to IPV4_IPV6, new VMs in the subnet can be assigned both IPv4 and IPv6 addresses. If not specified, IPV4_ONLY is used. This field can be both set at resource creation time and updated using patch. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// New VMs in this subnet can have both IPv4 and IPv6 addresses. + /// New VMs in this subnet can have both IPv4 and IPv6 addresses. Ipv4Ipv6 = 22197249, - /// New VMs in this subnet will only be assigned IPv4 addresses. + /// New VMs in this subnet will only be assigned IPv4 addresses. Ipv4Only = 22373798, } impl StackType { @@ -30489,204 +30489,204 @@ pub mod usable_subnetwork { } } } -/// Secondary IP range of a usable subnetwork. +/// Secondary IP range of a usable subnetwork. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsableSubnetworkSecondaryRange { - /// The range of IP addresses belonging to this subnetwork secondary range. + /// The range of IP addresses belonging to this subnetwork secondary range. #[prost(string, optional, tag="98117322")] pub ip_cidr_range: ::core::option::Option<::prost::alloc::string::String>, - /// The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. + /// The name associated with this subnetwork secondary range, used when adding an alias IP range to a VM instance. The name must be 1-63 characters long, and comply with RFC1035. The name must be unique within the subnetwork. #[prost(string, optional, tag="332216397")] pub range_name: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsableSubnetworksAggregatedList { - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// \[Output\] A list of usable subnetwork URLs. + /// \[Output\] A list of usable subnetwork URLs. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable subnetworks. + /// [Output Only] Type of resource. Always compute#usableSubnetworksAggregatedList for aggregated lists of usable subnetworks. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. In special cases listUsable may return 0 subnetworks and nextPageToken which still should be used to get the next page of results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. +/// The location in Cloud Storage and naming method of the daily usage report. Contains bucket_name and report_name prefix. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsageExportLocation { - /// The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or in front of it, such as gs://example-bucket. + /// The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This can either be the bucket name by itself, such as example-bucket, or the bucket name with gs:// or in front of it, such as gs://example-bucket. #[prost(string, optional, tag="283610048")] pub bucket_name: ::core::option::Option<::prost::alloc::string::String>, - /// An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions. + /// An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage_gce. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions. #[prost(string, optional, tag="320198715")] pub report_name_prefix: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionUrlMaps.Validate. See the method description for details. +/// A request message for RegionUrlMaps.Validate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateRegionUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region scoping this request. + /// Name of the region scoping this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="56632858")] pub region_url_maps_validate_request_resource: ::core::option::Option, - /// Name of the UrlMap resource to be validated as. + /// Name of the UrlMap resource to be validated as. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, } -/// A request message for UrlMaps.Validate. See the method description for details. +/// A request message for UrlMaps.Validate. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateUrlMapRequest { - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the UrlMap resource to be validated as. + /// Name of the UrlMap resource to be validated as. #[prost(string, tag="367020684")] pub url_map: ::prost::alloc::string::String, - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="395913455")] pub url_maps_validate_request_resource: ::core::option::Option, } -/// Contain information of Nat mapping for a VM endpoint (i.e., NIC). +/// Contain information of Nat mapping for a VM endpoint (i.e., NIC). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmEndpointNatMappings { - /// Name of the VM instance which the endpoint belongs to + /// Name of the VM instance which the endpoint belongs to #[prost(string, optional, tag="227947509")] pub instance_name: ::core::option::Option<::prost::alloc::string::String>, #[prost(message, repeated, tag="256196617")] pub interface_nat_mappings: ::prost::alloc::vec::Vec, } -/// Contain information of Nat mapping for an interface of this endpoint. +/// Contain information of Nat mapping for an interface of this endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmEndpointNatMappingsInterfaceNatMappings { - /// List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + /// List of all drain IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. #[prost(string, repeated, tag="395440577")] pub drain_nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + /// A list of all IP:port-range mappings assigned to this interface. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. #[prost(string, repeated, tag="531830810")] pub nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges. + /// Total number of drain ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field drain_nat_ip_port_ranges. #[prost(int32, optional, tag="335532793")] pub num_total_drain_nat_ports: ::core::option::Option, - /// Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges. + /// Total number of ports across all NAT IPs allocated to this interface. It equals to the aggregated port number in the field nat_ip_port_ranges. #[prost(int32, optional, tag="299904384")] pub num_total_nat_ports: ::core::option::Option, - /// Information about mappings provided by rules in this NAT. + /// Information about mappings provided by rules in this NAT. #[prost(message, repeated, tag="486192968")] pub rule_mappings: ::prost::alloc::vec::Vec, - /// Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24". + /// Alias IP range for this interface endpoint. It will be a private (RFC 1918) IP range. Examples: "10.33.4.55/32", or "192.168.5.0/24". #[prost(string, optional, tag="440340952")] pub source_alias_ip_range: ::core::option::Option<::prost::alloc::string::String>, - /// Primary IP of the VM for this NIC. + /// Primary IP of the VM for this NIC. #[prost(string, optional, tag="149836159")] pub source_virtual_ip: ::core::option::Option<::prost::alloc::string::String>, } -/// Contains information of NAT Mappings provided by a NAT Rule. +/// Contains information of NAT Mappings provided by a NAT Rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmEndpointNatMappingsInterfaceNatMappingsNatRuleMappings { - /// List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + /// List of all drain IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. #[prost(string, repeated, tag="395440577")] pub drain_nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. + /// A list of all IP:port-range mappings assigned to this interface by this rule. These ranges are inclusive, that is, both the first and the last ports can be used for NAT. Example: ["2.2.2.2:12345-12355", "1.1.1.1:2234-2234"]. #[prost(string, repeated, tag="531830810")] pub nat_ip_port_ranges: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges. + /// Total number of drain ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field drain_nat_ip_port_ranges. #[prost(int32, optional, tag="335532793")] pub num_total_drain_nat_ports: ::core::option::Option, - /// Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges. + /// Total number of ports across all NAT IPs allocated to this interface by this rule. It equals the aggregated port number in the field nat_ip_port_ranges. #[prost(int32, optional, tag="299904384")] pub num_total_nat_ports: ::core::option::Option, - /// Rule number of the NAT Rule. + /// Rule number of the NAT Rule. #[prost(int32, optional, tag="535211500")] pub rule_number: ::core::option::Option, } -/// Contains a list of VmEndpointNatMappings. +/// Contains a list of VmEndpointNatMappings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VmEndpointNatMappingsList { - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat mappings of VM endpoints. + /// [Output Only] Type of resource. Always compute#vmEndpointNatMappingsList for lists of Nat mappings of VM endpoints. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of Nat mapping information of VM endpoints. + /// [Output Only] A list of Nat mapping information of VM endpoints. #[prost(message, repeated, tag="139315229")] pub result: ::prost::alloc::vec::Vec, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . +/// Represents a HA VPN gateway. HA VPN is a high-availability (HA) Cloud VPN solution that lets you securely connect your on-premises network to your Google Cloud Virtual Private Cloud network through an IPsec VPN connection in a single region. For more information about Cloud HA VPN solutions, see Cloud VPN topologies . #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGateway { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. + /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway. + /// A fingerprint for the labels being applied to this VpnGateway, which is essentially a hash of the labels set used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels, otherwise the request will fail with error 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve an VpnGateway. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. + /// Labels for this resource. These can only be added or modified by the setLabels method. Each label key/value pair must comply with RFC1035. Label values may be empty. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. + /// URL of the network to which this VPN gateway is attached. Provided by the client when the VPN gateway is created. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the VPN gateway resides. + /// [Output Only] URL of the region where the VPN gateway resides. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. - /// Check the StackType enum for the list of possible values. + /// The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. + /// Check the StackType enum for the list of possible values. #[prost(string, optional, tag="425908881")] pub stack_type: ::core::option::Option<::prost::alloc::string::String>, - /// The list of VPN interfaces associated with this VPN gateway. + /// The list of VPN interfaces associated with this VPN gateway. #[prost(message, repeated, tag="91842181")] pub vpn_interfaces: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `VpnGateway`. pub mod vpn_gateway { - /// The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. + /// The stack type for this VPN gateway to identify the IP protocols that are enabled. If not specified, IPV4_ONLY will be used. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StackType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStackType = 0, - /// Enable VPN gateway with both IPv4 and IPv6 protocols. + /// Enable VPN gateway with both IPv4 and IPv6 protocols. Ipv4Ipv6 = 22197249, - /// Enable VPN gateway with only IPv4 protocol. + /// Enable VPN gateway with only IPv4 protocol. Ipv4Only = 22373798, } impl StackType { @@ -30706,80 +30706,80 @@ pub mod vpn_gateway { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of VpnGateway resources. + /// A list of VpnGateway resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, VpnGatewaysScopedList>, - /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. + /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of VpnGateway resources. +/// Contains a list of VpnGateway resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of VpnGateway resources. + /// A list of VpnGateway resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. + /// [Output Only] Type of resource. Always compute#vpnGateway for VPN gateways. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayStatus { - /// List of VPN connection for this VpnGateway. + /// List of VPN connection for this VpnGateway. #[prost(message, repeated, tag="439334538")] pub vpn_connections: ::prost::alloc::vec::Vec, } -/// Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway. +/// Describes the high availability requirement state for the VPN connection between this Cloud VPN gateway and a peer gateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayStatusHighAvailabilityRequirementState { - /// Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. - /// Check the State enum for the list of possible values. + /// Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. + /// Check the State enum for the list of possible values. #[prost(string, optional, tag="109757585")] pub state: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. - /// Check the UnsatisfiedReason enum for the list of possible values. + /// Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. + /// Check the UnsatisfiedReason enum for the list of possible values. #[prost(string, optional, tag="55016330")] pub unsatisfied_reason: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `VpnGatewayStatusHighAvailabilityRequirementState`. pub mod vpn_gateway_status_high_availability_requirement_state { - /// Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. + /// Indicates the high availability requirement state for the VPN connection. Valid values are CONNECTION_REDUNDANCY_MET, CONNECTION_REDUNDANCY_NOT_MET. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedState = 0, - /// VPN tunnels are configured with adequate redundancy from Cloud VPN gateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP connections, the adequate redundancy is a pre-requirement for users to get 99.99% availability on GCP side; please note that for any connection, end-to-end 99.99% availability is subject to proper configuration on the peer VPN gateway. + /// VPN tunnels are configured with adequate redundancy from Cloud VPN gateway to the peer VPN gateway. For both GCP-to-non-GCP and GCP-to-GCP connections, the adequate redundancy is a pre-requirement for users to get 99.99% availability on GCP side; please note that for any connection, end-to-end 99.99% availability is subject to proper configuration on the peer VPN gateway. ConnectionRedundancyMet = 505242907, - /// VPN tunnels are not configured with adequate redundancy from the Cloud VPN gateway to the peer gateway + /// VPN tunnels are not configured with adequate redundancy from the Cloud VPN gateway to the peer gateway ConnectionRedundancyNotMet = 511863311, } impl State { @@ -30795,11 +30795,11 @@ pub mod vpn_gateway_status_high_availability_requirement_state { } } } - /// Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. + /// Indicates the reason why the VPN connection does not meet the high availability redundancy criteria/requirement. Valid values is INCOMPLETE_TUNNELS_COVERAGE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UnsatisfiedReason { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedUnsatisfiedReason = 0, IncompleteTunnelsCoverage = 55917437, } @@ -30816,45 +30816,45 @@ pub mod vpn_gateway_status_high_availability_requirement_state { } } } -/// Contains some information about a VPN tunnel. +/// Contains some information about a VPN tunnel. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayStatusTunnel { - /// The VPN gateway interface this VPN tunnel is associated with. + /// The VPN gateway interface this VPN tunnel is associated with. #[prost(uint32, optional, tag="158764330")] pub local_gateway_interface: ::core::option::Option, - /// The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway. + /// The peer gateway interface this VPN tunnel is connected to, the peer gateway could either be an external VPN gateway or GCP VPN gateway. #[prost(uint32, optional, tag="214380385")] pub peer_gateway_interface: ::core::option::Option, - /// URL reference to the VPN tunnel. + /// URL reference to the VPN tunnel. #[prost(string, optional, tag="78975256")] pub tunnel_url: ::core::option::Option<::prost::alloc::string::String>, } -/// A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway. +/// A VPN connection contains all VPN tunnels connected from this VpnGateway to the same peer gateway. The peer gateway could either be a external VPN gateway or GCP VPN gateway. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayStatusVpnConnection { - /// URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. + /// URL reference to the peer external VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. #[prost(string, optional, tag="384956173")] pub peer_external_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. + /// URL reference to the peer side VPN gateways to which the VPN tunnels in this VPN connection are connected. This field is mutually exclusive with peer_gcp_gateway. #[prost(string, optional, tag="281867452")] pub peer_gcp_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// HighAvailabilityRequirementState for the VPN connection. + /// HighAvailabilityRequirementState for the VPN connection. #[prost(message, optional, tag="109757585")] pub state: ::core::option::Option, - /// List of VPN tunnels that are in this VPN connection. + /// List of VPN tunnels that are in this VPN connection. #[prost(message, repeated, tag="104561931")] pub tunnels: ::prost::alloc::vec::Vec, } -/// A VPN gateway interface. +/// A VPN gateway interface. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewayVpnGatewayInterface { - /// [Output Only] Numeric identifier for this VPN interface associated with the VPN gateway. + /// [Output Only] Numeric identifier for this VPN interface associated with the VPN gateway. #[prost(uint32, optional, tag="3355")] pub id: ::core::option::Option, - /// URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. + /// URL of the VLAN attachment (interconnectAttachment) resource for this VPN gateway interface. When the value of this field is present, the VPN gateway is used for HA VPN over Cloud Interconnect; all egress or ingress traffic for this VPN gateway interface goes through the specified VLAN attachment resource. #[prost(string, optional, tag="308135284")] pub interconnect_attachment: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address. + /// [Output Only] IP address for this VPN interface associated with the VPN gateway. The IP address could be either a regional external IP address or a regional internal IP address. The two IP addresses for a VPN gateway must be all regional external or regional internal IP addresses. There cannot be a mix of regional external IP addresses and regional internal IP addresses. For HA VPN over Cloud Interconnect, the IP addresses for both interfaces could either be regional internal IP addresses or regional external IP addresses. For regular (non HA VPN over Cloud Interconnect) HA VPN tunnels, the IP address must be a regional external IP address. #[prost(string, optional, tag="406272220")] pub ip_address: ::core::option::Option<::prost::alloc::string::String>, } @@ -30867,117 +30867,117 @@ pub struct VpnGatewaysGetStatusResponse { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnGatewaysScopedList { - /// [Output Only] A list of VPN gateways contained in this scope. + /// [Output Only] A list of VPN gateways contained in this scope. #[prost(message, repeated, tag="259177882")] pub vpn_gateways: ::prost::alloc::vec::Vec, - /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. + /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview. +/// Represents a Cloud VPN Tunnel resource. For more information about VPN, read the the Cloud VPN Overview. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnTunnel { - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this property when you create the resource. + /// An optional description of this resource. Provide this property when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Detailed status message for the VPN tunnel. + /// [Output Only] Detailed status message for the VPN tunnel. #[prost(string, optional, tag="333501025")] pub detailed_status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2. + /// IKE protocol version to use when establishing the VPN tunnel with the peer VPN gateway. Acceptable IKE versions are 1 or 2. The default version is 2. #[prost(int32, optional, tag="218376220")] pub ike_version: ::core::option::Option, - /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. + /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. + /// Local traffic selector to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges must be disjoint. Only IPv4 is supported. #[prost(string, repeated, tag="317314613")] pub local_traffic_selector: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?` which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway. + /// URL of the peer side external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field is exclusive with the field peerGcpGateway. #[prost(string, optional, tag="384956173")] pub peer_external_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. + /// The interface ID of the external VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. #[prost(int32, optional, tag="452768391")] pub peer_external_gateway_interface: ::core::option::Option, - /// URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway. + /// URL of the peer side HA GCP VPN gateway to which this VPN tunnel is connected. Provided by the client when the VPN tunnel is created. This field can be used when creating highly available VPN from VPC network to VPC network, the field is exclusive with the field peerExternalGateway. If provided, the VPN tunnel will automatically use the same vpnGatewayInterface ID in the peer GCP VPN gateway. #[prost(string, optional, tag="281867452")] pub peer_gcp_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// IP address of the peer VPN gateway. Only IPv4 is supported. + /// IP address of the peer VPN gateway. Only IPv4 is supported. #[prost(string, optional, tag="383249700")] pub peer_ip: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. + /// [Output Only] URL of the region where the VPN tunnel resides. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. + /// Remote traffic selectors to use when establishing the VPN tunnel with the peer VPN gateway. The value should be a CIDR formatted string, for example: 192.168.0.0/16. The ranges should be disjoint. Only IPv4 is supported. #[prost(string, repeated, tag="358887098")] pub remote_traffic_selector: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// URL of the router resource to be used for dynamic routing. + /// URL of the router resource to be used for dynamic routing. #[prost(string, optional, tag="148608841")] pub router: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway. + /// Shared secret used to set the secure session between the Cloud VPN gateway and the peer VPN gateway. #[prost(string, optional, tag="381932490")] pub shared_secret: ::core::option::Option<::prost::alloc::string::String>, - /// Hash of the shared secret. + /// Hash of the shared secret. #[prost(string, optional, tag="398881891")] pub shared_secret_hash: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. + /// URL of the Target VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. #[prost(string, optional, tag="532512843")] pub target_vpn_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created. + /// URL of the VPN gateway with which this VPN tunnel is associated. Provided by the client when the VPN tunnel is created. This must be used (instead of target_vpn_gateway) if a High Availability VPN gateway resource is created. #[prost(string, optional, tag="406684153")] pub vpn_gateway: ::core::option::Option<::prost::alloc::string::String>, - /// The interface ID of the VPN gateway with which this VPN tunnel is associated. + /// The interface ID of the VPN gateway with which this VPN tunnel is associated. #[prost(int32, optional, tag="95979123")] pub vpn_gateway_interface: ::core::option::Option, } /// Nested message and enum types in `VpnTunnel`. pub mod vpn_tunnel { - /// [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. + /// [Output Only] The status of the VPN tunnel, which can be one of the following: - PROVISIONING: Resource is being allocated for the VPN tunnel. - WAITING_FOR_FULL_CONFIG: Waiting to receive all VPN-related configs from the user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule, and Route resources are needed to setup the VPN tunnel. - FIRST_HANDSHAKE: Successful first handshake with the peer VPN. - ESTABLISHED: Secure session is successfully established with the peer VPN. - NETWORK_ERROR: Deprecated, replaced by NO_INCOMING_PACKETS - AUTHORIZATION_ERROR: Auth error (for example, bad shared secret). - NEGOTIATION_FAILURE: Handshake failed. - DEPROVISIONING: Resources are being deallocated for the VPN tunnel. - FAILED: Tunnel creation has failed and the tunnel is not ready to be used. - NO_INCOMING_PACKETS: No incoming packets from peer. - REJECTED: Tunnel configuration was rejected, can be result of being denied access. - ALLOCATING_RESOURCES: Cloud VPN is in the process of allocating all required resources. - STOPPED: Tunnel is stopped due to its Forwarding Rules being deleted for Classic VPN tunnels or the project is in frozen state. - PEER_IDENTITY_MISMATCH: Peer identity does not match peer IP, probably behind NAT. - TS_NARROWING_NOT_ALLOWED: Traffic selector narrowing not allowed for an HA-VPN tunnel. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, - /// Cloud VPN is in the process of allocating all required resources (specifically, a borg task). + /// Cloud VPN is in the process of allocating all required resources (specifically, a borg task). AllocatingResources = 320922816, - /// Auth error (e.g. bad shared secret). + /// Auth error (e.g. bad shared secret). AuthorizationError = 23580290, - /// Resources is being deallocated for the VPN tunnel. + /// Resources is being deallocated for the VPN tunnel. Deprovisioning = 428935662, - /// Secure session is successfully established with peer VPN. + /// Secure session is successfully established with peer VPN. Established = 88852344, - /// Tunnel creation has failed and the tunnel is not ready to be used. + /// Tunnel creation has failed and the tunnel is not ready to be used. Failed = 455706685, - /// Successful first handshake with peer VPN. + /// Successful first handshake with peer VPN. FirstHandshake = 191393000, - /// Handshake failed. + /// Handshake failed. NegotiationFailure = 360325868, - /// Deprecated, replaced by NO_INCOMING_PACKETS + /// Deprecated, replaced by NO_INCOMING_PACKETS NetworkError = 193912951, - /// No incoming packets from peer + /// No incoming packets from peer NoIncomingPackets = 119983216, - /// Resource is being allocated for the VPN tunnel. + /// Resource is being allocated for the VPN tunnel. Provisioning = 290896621, - /// Tunnel configuration was rejected, can be result of being denylisted. + /// Tunnel configuration was rejected, can be result of being denylisted. Rejected = 174130302, - /// Tunnel is stopped due to its Forwarding Rules being deleted. + /// Tunnel is stopped due to its Forwarding Rules being deleted. Stopped = 444276141, - /// Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel. + /// Waiting to receive all VPN-related configs from user. Network, TargetVpnGateway, VpnTunnel, ForwardingRule and Route resources are needed to setup VPN tunnel. WaitingForFullConfig = 41640522, } impl Status { @@ -31008,191 +31008,191 @@ pub mod vpn_tunnel { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnTunnelAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of VpnTunnelsScopedList resources. + /// A list of VpnTunnelsScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, VpnTunnelsScopedList>, - /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. + /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Unreachable resources. + /// [Output Only] Unreachable resources. #[prost(string, repeated, tag="243372063")] pub unreachables: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of VpnTunnel resources. +/// Contains a list of VpnTunnel resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnTunnelList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of VpnTunnel resources. + /// A list of VpnTunnel resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. + /// [Output Only] Type of resource. Always compute#vpnTunnel for VPN tunnels. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpnTunnelsScopedList { - /// A list of VPN tunnels contained in this scope. + /// A list of VPN tunnels contained in this scope. #[prost(message, repeated, tag="163494080")] pub vpn_tunnels: ::prost::alloc::vec::Vec, - /// Informational warning which replaces the list of addresses when the list is empty. + /// Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WafExpressionSet { - /// A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set. + /// A list of alternate IDs. The format should be: - E.g. XSS-stable Generic suffix like "stable" is particularly useful if a policy likes to avail newer set of expressions without having to change the policy. A given alias name can't be used for more than one entity set. #[prost(string, repeated, tag="159207166")] pub aliases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// List of available expressions. + /// List of available expressions. #[prost(message, repeated, tag="175554779")] pub expressions: ::prost::alloc::vec::Vec, - /// Google specified expression set ID. The format should be: - E.g. XSS-20170329 required + /// Google specified expression set ID. The format should be: - E.g. XSS-20170329 required #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct WafExpressionSetExpression { - /// Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required + /// Expression ID should uniquely identify the origin of the expression. E.g. owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 rule id 973337. The ID could be used to determine the individual attack definition that has been detected. It could also be used to exclude it from the policy in case of false positive. required #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for GlobalOperations.Wait. See the method description for details. +/// A request message for GlobalOperations.Wait. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitGlobalOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } -/// A request message for RegionOperations.Wait. See the method description for details. +/// A request message for RegionOperations.Wait. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitRegionOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for ZoneOperations.Wait. See the method description for details. +/// A request message for ZoneOperations.Wait. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitZoneOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the zone for this request. + /// Name of the zone for this request. #[prost(string, tag="3744684")] pub zone: ::prost::alloc::string::String, } -/// [Output Only] Informational warning message. +/// [Output Only] Informational warning message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Warning { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - /// Check the Code enum for the list of possible values. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// Check the Code enum for the list of possible values. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } #[prost(message, repeated, tag="3076010")] pub data: ::prost::alloc::vec::Vec, - /// [Output Only] A human-readable description of the warning code. + /// [Output Only] A human-readable description of the warning code. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Warning`. pub mod warning { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCode = 0, - /// Warning about failed cleanup of transient changes made by a failed operation. + /// Warning about failed cleanup of transient changes made by a failed operation. CleanupFailed = 150308440, - /// A link to a deprecated resource was created. + /// A link to a deprecated resource was created. DeprecatedResourceUsed = 391835586, - /// When deploying and at least one of the resources has a type marked as deprecated + /// When deploying and at least one of the resources has a type marked as deprecated DeprecatedTypeUsed = 346526230, - /// The user created a boot disk that is larger than image size. + /// The user created a boot disk that is larger than image size. DiskSizeLargerThanImageSize = 369442967, - /// When deploying and at least one of the resources has a type marked as experimental + /// When deploying and at least one of the resources has a type marked as experimental ExperimentalTypeUsed = 451954443, - /// Warning that is present in an external api call + /// Warning that is present in an external api call ExternalApiWarning = 175546307, - /// Warning that value of a field has been overridden. Deprecated unused field. + /// Warning that value of a field has been overridden. Deprecated unused field. FieldValueOverriden = 329669423, - /// The operation involved use of an injected kernel, which is deprecated. + /// The operation involved use of an injected kernel, which is deprecated. InjectedKernelsDeprecated = 417377419, - /// A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2. + /// A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2. InvalidHealthCheckForDynamicWieghtedLb = 401542606, - /// When deploying a deployment with a exceedingly large number of resources + /// When deploying a deployment with a exceedingly large number of resources LargeDeploymentWarning = 481440678, - /// A resource depends on a missing type + /// A resource depends on a missing type MissingTypeDependency = 344505463, - /// The route's nextHopIp address is not assigned to an instance on the network. + /// The route's nextHopIp address is not assigned to an instance on the network. NextHopAddressNotAssigned = 324964999, - /// The route's next hop instance cannot ip forward. + /// The route's next hop instance cannot ip forward. NextHopCannotIpForward = 383382887, - /// The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route. + /// The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route. NextHopInstanceHasNoIpv6Interface = 146748434, - /// The route's nextHopInstance URL refers to an instance that does not exist. + /// The route's nextHopInstance URL refers to an instance that does not exist. NextHopInstanceNotFound = 464250446, - /// The route's nextHopInstance URL refers to an instance that is not on the same network as the route. + /// The route's nextHopInstance URL refers to an instance that is not on the same network as the route. NextHopInstanceNotOnNetwork = 243758146, - /// The route's next hop instance does not have a status of RUNNING. + /// The route's next hop instance does not have a status of RUNNING. NextHopNotRunning = 417081265, - /// Error which is not critical. We decided to continue the process despite the mentioned error. + /// Error which is not critical. We decided to continue the process despite the mentioned error. NotCriticalError = 105763924, - /// No results are present on a particular list page. + /// No results are present on a particular list page. NoResultsOnPage = 30036744, - /// Success is reported, but some results may be missing due to errors + /// Success is reported, but some results may be missing due to errors PartialSuccess = 39966469, - /// The user attempted to use a resource that requires a TOS they have not accepted. + /// The user attempted to use a resource that requires a TOS they have not accepted. RequiredTosAgreement = 3745539, - /// Warning that a resource is in use. + /// Warning that a resource is in use. ResourceInUseByOtherResourceWarning = 496728641, - /// One or more of the resources set to auto-delete could not be deleted because they were in use. + /// One or more of the resources set to auto-delete could not be deleted because they were in use. ResourceNotDeleted = 168598460, - /// When a resource schema validation is ignored. + /// When a resource schema validation is ignored. SchemaValidationIgnored = 275245642, - /// Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group. + /// Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group. SingleInstancePropertyTemplate = 268305617, - /// When undeclared properties in the schema are present + /// When undeclared properties in the schema are present UndeclaredProperties = 390513439, - /// A given scope cannot be reached. + /// A given scope cannot be reached. Unreachable = 13328052, } impl Code { @@ -31237,78 +31237,78 @@ pub mod warning { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Warnings { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - /// Check the Code enum for the list of possible values. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// Check the Code enum for the list of possible values. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } + /// [Output Only] Metadata about this warning in key: value format. For example: "data": [ { "key": "scope", "value": "zones/us-east1-d" } #[prost(message, repeated, tag="3076010")] pub data: ::prost::alloc::vec::Vec, - /// [Output Only] A human-readable description of the warning code. + /// [Output Only] A human-readable description of the warning code. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Warnings`. pub mod warnings { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCode = 0, - /// Warning about failed cleanup of transient changes made by a failed operation. + /// Warning about failed cleanup of transient changes made by a failed operation. CleanupFailed = 150308440, - /// A link to a deprecated resource was created. + /// A link to a deprecated resource was created. DeprecatedResourceUsed = 391835586, - /// When deploying and at least one of the resources has a type marked as deprecated + /// When deploying and at least one of the resources has a type marked as deprecated DeprecatedTypeUsed = 346526230, - /// The user created a boot disk that is larger than image size. + /// The user created a boot disk that is larger than image size. DiskSizeLargerThanImageSize = 369442967, - /// When deploying and at least one of the resources has a type marked as experimental + /// When deploying and at least one of the resources has a type marked as experimental ExperimentalTypeUsed = 451954443, - /// Warning that is present in an external api call + /// Warning that is present in an external api call ExternalApiWarning = 175546307, - /// Warning that value of a field has been overridden. Deprecated unused field. + /// Warning that value of a field has been overridden. Deprecated unused field. FieldValueOverriden = 329669423, - /// The operation involved use of an injected kernel, which is deprecated. + /// The operation involved use of an injected kernel, which is deprecated. InjectedKernelsDeprecated = 417377419, - /// A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2. + /// A WEIGHTED_MAGLEV backend service is associated with a health check that is not of type HTTP/HTTPS/HTTP2. InvalidHealthCheckForDynamicWieghtedLb = 401542606, - /// When deploying a deployment with a exceedingly large number of resources + /// When deploying a deployment with a exceedingly large number of resources LargeDeploymentWarning = 481440678, - /// A resource depends on a missing type + /// A resource depends on a missing type MissingTypeDependency = 344505463, - /// The route's nextHopIp address is not assigned to an instance on the network. + /// The route's nextHopIp address is not assigned to an instance on the network. NextHopAddressNotAssigned = 324964999, - /// The route's next hop instance cannot ip forward. + /// The route's next hop instance cannot ip forward. NextHopCannotIpForward = 383382887, - /// The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route. + /// The route's nextHopInstance URL refers to an instance that does not have an ipv6 interface on the same network as the route. NextHopInstanceHasNoIpv6Interface = 146748434, - /// The route's nextHopInstance URL refers to an instance that does not exist. + /// The route's nextHopInstance URL refers to an instance that does not exist. NextHopInstanceNotFound = 464250446, - /// The route's nextHopInstance URL refers to an instance that is not on the same network as the route. + /// The route's nextHopInstance URL refers to an instance that is not on the same network as the route. NextHopInstanceNotOnNetwork = 243758146, - /// The route's next hop instance does not have a status of RUNNING. + /// The route's next hop instance does not have a status of RUNNING. NextHopNotRunning = 417081265, - /// Error which is not critical. We decided to continue the process despite the mentioned error. + /// Error which is not critical. We decided to continue the process despite the mentioned error. NotCriticalError = 105763924, - /// No results are present on a particular list page. + /// No results are present on a particular list page. NoResultsOnPage = 30036744, - /// Success is reported, but some results may be missing due to errors + /// Success is reported, but some results may be missing due to errors PartialSuccess = 39966469, - /// The user attempted to use a resource that requires a TOS they have not accepted. + /// The user attempted to use a resource that requires a TOS they have not accepted. RequiredTosAgreement = 3745539, - /// Warning that a resource is in use. + /// Warning that a resource is in use. ResourceInUseByOtherResourceWarning = 496728641, - /// One or more of the resources set to auto-delete could not be deleted because they were in use. + /// One or more of the resources set to auto-delete could not be deleted because they were in use. ResourceNotDeleted = 168598460, - /// When a resource schema validation is ignored. + /// When a resource schema validation is ignored. SchemaValidationIgnored = 275245642, - /// Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group. + /// Instance template used in instance group manager is valid as such, but its application does not make a lot of sense, because it allows only single instance in instance group. SingleInstancePropertyTemplate = 268305617, - /// When undeclared properties in the schema are present + /// When undeclared properties in the schema are present UndeclaredProperties = 390513439, - /// A given scope cannot be reached. + /// A given scope cannot be reached. Unreachable = 13328052, } impl Code { @@ -31350,59 +31350,59 @@ pub mod warnings { } } } -/// In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService +/// In contrast to a single BackendService in HttpRouteAction to which all matching traffic is directed to, WeightedBackendService allows traffic to be split across multiple backend services. The volume of traffic for each backend service is proportional to the weight specified in each WeightedBackendService #[derive(Clone, PartialEq, ::prost::Message)] pub struct WeightedBackendService { - /// The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. + /// The full or partial URL to the default BackendService resource. Before forwarding the request to backendService, the load balancer applies any relevant headerActions specified as part of this backendServiceWeight. #[prost(string, optional, tag="306946058")] pub backend_service: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. + /// Specifies changes to request and response headers that need to take effect for the selected backendService. headerAction specified here take effect before headerAction in the enclosing HttpRouteRule, PathMatcher and UrlMap. headerAction is not supported for load balancers that have their loadBalancingScheme set to EXTERNAL. Not supported when the URL map is bound to a target gRPC proxy that has validateForProxyless field set to true. #[prost(message, optional, tag="328077352")] pub header_action: ::core::option::Option, - /// Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. + /// Specifies the fraction of traffic sent to a backend service, computed as weight / (sum of all weightedBackendService weights in routeAction) . The selection of a backend service is determined only for new traffic. Once a user's request has been directed to a backend service, subsequent requests are sent to the same backend service as determined by the backend service's session affinity policy. The value must be from 0 to 1000. #[prost(uint32, optional, tag="282149496")] pub weight: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct XpnHostList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A list of shared VPC host project URLs. + /// [Output Only] A list of shared VPC host project URLs. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. + /// [Output Only] Type of resource. Always compute#xpnHostList for lists of shared VPC hosts. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Service resource (a.k.a service project) ID. +/// Service resource (a.k.a service project) ID. #[derive(Clone, PartialEq, ::prost::Message)] pub struct XpnResourceId { - /// The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678). + /// The ID of the service resource. In the case of projects, this field supports project id (e.g., my-project-123) and project number (e.g. 12345678). #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// The type of the service resource. - /// Check the Type enum for the list of possible values. + /// The type of the service resource. + /// Check the Type enum for the list of possible values. #[prost(string, optional, tag="3575610")] pub r#type: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `XpnResourceId`. pub mod xpn_resource_id { - /// The type of the service resource. + /// The type of the service resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedType = 0, Project = 408671993, XpnResourceTypeUnspecified = 151607034, @@ -31421,51 +31421,51 @@ pub mod xpn_resource_id { } } } -/// Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones. +/// Represents a Zone resource. A zone is a deployment area. These deployment areas are subsets of a region. For example the zone us-east1-a is located in the us-east1 region. For more information, read Regions and Zones. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Zone { - /// [Output Only] Available cpu/platform selections for the zone. + /// [Output Only] Available cpu/platform selections for the zone. #[prost(string, repeated, tag="175536531")] pub available_cpu_platforms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The deprecation status associated with this zone. + /// [Output Only] The deprecation status associated with this zone. #[prost(message, optional, tag="515138995")] pub deprecated: ::core::option::Option, - /// [Output Only] Textual description of the resource. + /// [Output Only] Textual description of the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] Type of the resource. Always compute#zone for zones. + /// [Output Only] Type of the resource. Always compute#zone for zones. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the resource. + /// [Output Only] Name of the resource. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Full URL reference to the region which hosts the zone. + /// [Output Only] Full URL reference to the region which hosts the zone. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Status of the zone, either UP or DOWN. - /// Check the Status enum for the list of possible values. + /// [Output Only] Status of the zone, either UP or DOWN. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Reserved for future use. + /// [Output Only] Reserved for future use. #[prost(bool, optional, tag="83983214")] pub supports_pzs: ::core::option::Option, } /// Nested message and enum types in `Zone`. pub mod zone { - /// [Output Only] Status of the zone, either UP or DOWN. + /// [Output Only] Status of the zone, either UP or DOWN. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Down = 2104482, Up = 2715, @@ -31484,48 +31484,48 @@ pub mod zone { } } } -/// Contains a list of zone resources. +/// Contains a list of zone resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ZoneList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Zone resources. + /// A list of Zone resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec, - /// Type of resource. + /// Type of resource. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ZoneSetLabelsRequest { - /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. + /// The fingerprint of the previous set of labels for this resource, used to detect conflicts. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update labels. You must always provide an up-to-date fingerprint hash in order to update or change labels. Make a get() request to the resource to get the latest fingerprint. #[prost(string, optional, tag="178124825")] pub label_fingerprint: ::core::option::Option<::prost::alloc::string::String>, - /// The labels to set for this resource. + /// The labels to set for this resource. #[prost(map="string, string", tag="500195327")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct ZoneSetPolicyRequest { - /// Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. + /// Flatten Policy to create a backwacd compatible wire-format. Deprecated. Use 'policy' to specify bindings. #[prost(message, repeated, tag="403251854")] pub bindings: ::prost::alloc::vec::Vec, - /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. + /// Flatten Policy to create a backward compatible wire-format. Deprecated. Use 'policy' to specify the etag. #[prost(string, optional, tag="3123477")] pub etag: ::core::option::Option<::prost::alloc::string::String>, - /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. + /// REQUIRED: The complete policy to be applied to the 'resource'. The size of the policy is limited to a few 10s of KB. An empty policy is in general a valid policy but certain services (like Projects) might reject them. #[prost(message, optional, tag="91071794")] pub policy: ::core::option::Option, } diff --git a/gcloud-sdk/genproto/google.cloud.compute.v1small.rs b/gcloud-sdk/genproto/google.cloud.compute.v1small.rs index d83ecdc3c..fff95b71a 100644 --- a/gcloud-sdk/genproto/google.cloud.compute.v1small.rs +++ b/gcloud-sdk/genproto/google.cloud.compute.v1small.rs @@ -1,93 +1,93 @@ /// -/// Messages +/// Messages /// -/// Use global external addresses for GFE-based external HTTP(S) load balancers in Premium Tier. +/// Use global external addresses for GFE-based external HTTP(S) load balancers in Premium Tier. /// -/// Use global internal addresses for reserved peering network range. +/// Use global internal addresses for reserved peering network range. /// -/// Use regional external addresses for the following resources: +/// Use regional external addresses for the following resources: /// -/// - External IP addresses for VM instances - Regional external forwarding rules - Cloud NAT external IP addresses - GFE based LBs in Standard Tier - Network LBs in Premium or Standard Tier - Cloud VPN gateways (both Classic and HA) +/// - External IP addresses for VM instances - Regional external forwarding rules - Cloud NAT external IP addresses - GFE based LBs in Standard Tier - Network LBs in Premium or Standard Tier - Cloud VPN gateways (both Classic and HA) /// -/// Use regional internal IP addresses for subnet IP ranges (primary and secondary). This includes: +/// Use regional internal IP addresses for subnet IP ranges (primary and secondary). This includes: /// -/// - Internal IP addresses for VM instances - Alias IP ranges of VM instances (/32 only) - Regional internal forwarding rules - Internal TCP/UDP load balancer addresses - Internal HTTP(S) load balancer addresses - Cloud DNS inbound forwarding IP addresses +/// - Internal IP addresses for VM instances - Alias IP ranges of VM instances (/32 only) - Regional internal forwarding rules - Internal TCP/UDP load balancer addresses - Internal HTTP(S) load balancer addresses - Cloud DNS inbound forwarding IP addresses /// -/// For more information, read reserved IP address. +/// For more information, read reserved IP address. /// -/// (== resource_for {$api_version}.addresses ==) (== resource_for {$api_version}.globalAddresses ==) +/// (== resource_for {$api_version}.addresses ==) (== resource_for {$api_version}.globalAddresses ==) #[derive(Clone, PartialEq, ::prost::Message)] pub struct Address { - /// The static IP address represented by this resource. + /// The static IP address represented by this resource. #[prost(string, optional, tag="462920692")] pub address: ::core::option::Option<::prost::alloc::string::String>, - /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. - /// Check the AddressType enum for the list of possible values. + /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. + /// Check the AddressType enum for the list of possible values. #[prost(string, optional, tag="264307877")] pub address_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Creation timestamp in RFC3339 text format. + /// [Output Only] Creation timestamp in RFC3339 text format. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// An optional description of this resource. Provide this field when you create the resource. + /// An optional description of this resource. Provide this field when you create the resource. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. + /// [Output Only] The unique identifier for the resource. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. - /// Check the IpVersion enum for the list of possible values. + /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + /// Check the IpVersion enum for the list of possible values. #[prost(string, optional, tag="294959552")] pub ip_version: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#address for addresses. + /// [Output Only] Type of the resource. Always compute#address for addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. + /// Name of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression `\[a-z]([-a-z0-9]*[a-z0-9\])?`. The first character must be a lowercase letter, and all following characters (except for the last character) must be a dash, lowercase letter, or digit. The last character must be a lowercase letter or digit. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose. + /// The URL of the network in which to reserve the address. This field can only be used with INTERNAL type with the VPC_PEERING purpose. #[prost(string, optional, tag="232872494")] pub network: ::core::option::Option<::prost::alloc::string::String>, - /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a network load balancer. + /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a network load balancer. /// - /// If this field is not specified, it is assumed to be PREMIUM. - /// Check the NetworkTier enum for the list of possible values. + /// If this field is not specified, it is assumed to be PREMIUM. + /// Check the NetworkTier enum for the list of possible values. #[prost(string, optional, tag="517397843")] pub network_tier: ::core::option::Option<::prost::alloc::string::String>, - /// The prefix length if the resource reprensents an IP range. + /// The prefix length if the resource reprensents an IP range. #[prost(int32, optional, tag="453565747")] pub prefix_length: ::core::option::Option, - /// The purpose of this resource, which can be one of the following values: - /// - `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. - /// - `DNS_RESOLVER` for a DNS resolver address in a subnetwork - /// - `VPC_PEERING` for addresses that are reserved for VPC peer networks. - /// - `NAT_AUTO` for addresses that are external IP addresses automatically reserved for Cloud NAT. - /// Check the Purpose enum for the list of possible values. + /// The purpose of this resource, which can be one of the following values: + /// - `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. + /// - `DNS_RESOLVER` for a DNS resolver address in a subnetwork + /// - `VPC_PEERING` for addresses that are reserved for VPC peer networks. + /// - `NAT_AUTO` for addresses that are external IP addresses automatically reserved for Cloud NAT. + /// Check the Purpose enum for the list of possible values. #[prost(string, optional, tag="316407070")] pub purpose: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URL of the region where the regional address resides. This field is not applicable to global addresses. You must specify this field as part of the HTTP request URL. + /// [Output Only] The URL of the region where the regional address resides. This field is not applicable to global addresses. You must specify this field as part of the HTTP request URL. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. - /// Check the Status enum for the list of possible values. + /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. + /// Check the Status enum for the list of possible values. #[prost(string, optional, tag="181260274")] pub status: ::core::option::Option<::prost::alloc::string::String>, - /// The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose. + /// The URL of the subnetwork in which to reserve the address. If an IP address is specified, it must be within the subnetwork's IP range. This field can only be used with INTERNAL type with a GCE_ENDPOINT or DNS_RESOLVER purpose. #[prost(string, optional, tag="307827694")] pub subnetwork: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The URLs of the resources that are using this address. + /// [Output Only] The URLs of the resources that are using this address. #[prost(string, repeated, tag="111578632")] pub users: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `Address`. pub mod address { - /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. + /// The type of address to reserve, either INTERNAL or EXTERNAL. If unspecified, defaults to EXTERNAL. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AddressType { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedAddressType = 0, External = 35607499, Internal = 279295677, @@ -107,11 +107,11 @@ pub mod address { } } } - /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. + /// The IP version that will be used by this address. Valid options are IPV4 or IPV6. This can only be specified for a global address. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IpVersion { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedIpVersion = 0, Ipv4 = 2254341, Ipv6 = 2254343, @@ -131,13 +131,13 @@ pub mod address { } } } - /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a network load balancer. + /// This signifies the networking tier used for configuring this address and can only take the following values: PREMIUM or STANDARD. Global forwarding rules can only be Premium Tier. Regional forwarding rules can be either Premium or Standard Tier. Standard Tier addresses applied to regional forwarding rules can be used with any external load balancer. Regional forwarding rules in Premium Tier can only be used with a network load balancer. /// - /// If this field is not specified, it is assumed to be PREMIUM. + /// If this field is not specified, it is assumed to be PREMIUM. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NetworkTier { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedNetworkTier = 0, Premium = 399530551, Standard = 484642493, @@ -155,15 +155,15 @@ pub mod address { } } } - /// The purpose of this resource, which can be one of the following values: - /// - `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. - /// - `DNS_RESOLVER` for a DNS resolver address in a subnetwork - /// - `VPC_PEERING` for addresses that are reserved for VPC peer networks. - /// - `NAT_AUTO` for addresses that are external IP addresses automatically reserved for Cloud NAT. + /// The purpose of this resource, which can be one of the following values: + /// - `GCE_ENDPOINT` for addresses that are used by VM instances, alias IP ranges, internal load balancers, and similar resources. + /// - `DNS_RESOLVER` for a DNS resolver address in a subnetwork + /// - `VPC_PEERING` for addresses that are reserved for VPC peer networks. + /// - `NAT_AUTO` for addresses that are external IP addresses automatically reserved for Cloud NAT. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Purpose { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedPurpose = 0, DnsResolver = 476114556, GceEndpoint = 230515243, @@ -185,11 +185,11 @@ pub mod address { } } } - /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. + /// [Output Only] The status of the address, which can be one of RESERVING, RESERVED, or IN_USE. An address that is RESERVING is currently in the process of being reserved. A RESERVED address is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, InUse = 17393485, Reserved = 432241448, @@ -213,297 +213,297 @@ pub mod address { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressAggregatedList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of AddressesScopedList resources. + /// A list of AddressesScopedList resources. #[prost(map="string, message", tag="100526016")] pub items: ::std::collections::HashMap<::prost::alloc::string::String, AddressesScopedList>, - /// [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. + /// [Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// Contains a list of addresses. +/// Contains a list of addresses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressList { - /// [Output Only] Unique identifier for the resource; defined by the server. + /// [Output Only] Unique identifier for the resource; defined by the server. #[prost(string, optional, tag="3355")] pub id: ::core::option::Option<::prost::alloc::string::String>, - /// A list of Address resources. + /// A list of Address resources. #[prost(message, repeated, tag="100526016")] pub items: ::prost::alloc::vec::Vec
, - /// [Output Only] Type of resource. Always compute#addressList for lists of addresses. + /// [Output Only] Type of resource. Always compute#addressList for lists of addresses. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. + /// [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results. #[prost(string, optional, tag="79797525")] pub next_page_token: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for this resource. + /// [Output Only] Server-defined URL for this resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Informational warning message. + /// [Output Only] Informational warning message. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddressesScopedList { - /// [Output Only] A list of addresses contained in this scope. + /// [Output Only] A list of addresses contained in this scope. #[prost(message, repeated, tag="337673122")] pub addresses: ::prost::alloc::vec::Vec
, - /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. + /// [Output Only] Informational warning which replaces the list of addresses when the list is empty. #[prost(message, optional, tag="50704284")] pub warning: ::core::option::Option, } -/// A request message for Addresses.AggregatedList. See the method description for details. +/// A request message for Addresses.AggregatedList. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AggregatedListAddressesRequest { - /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. + /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either `=`, `!=`, `>`, or `<`. /// - /// For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. + /// For example, if you are filtering Compute Engine instances, you can exclude instances named `example-instance` by specifying `name != example-instance`. /// - /// You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. + /// You can also filter nested fields. For example, you could specify `scheduling.automaticRestart = false` to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. /// - /// To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` + /// To filter on multiple expressions, provide each separate expression within parentheses. For example: ``` (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake") ``` By default, each expression is an `AND` expression. However, you can include `AND` and `OR` expressions explicitly. For example: ``` (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true) ``` #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. + /// Indicates whether every visible scope for each scope type (zone, region, global) should be included in the response. For new resource types added after this field, the flag has no effect as new resource types will always include every visible scope for each scope type in response. For resource types which predate this field, if this flag is omitted or false, only scopes of the scope types where the resource type is expected to be found will be included. #[prost(bool, optional, tag="391327988")] pub include_all_scopes: ::core::option::Option, - /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) + /// The maximum number of results per page that should be returned. If the number of available results is larger than `maxResults`, Compute Engine returns a `nextPageToken` that can be used to get the next page of results in subsequent list requests. Acceptable values are `0` to `500`, inclusive. (Default: `500`) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. /// - /// You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. + /// You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. /// - /// Currently, only sorting by `name` or `creationTimestamp desc` is supported. + /// Currently, only sorting by `name` or `creationTimestamp desc` is supported. #[prost(string, optional, tag="160562920")] pub order_by: ::core::option::Option<::prost::alloc::string::String>, - /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Data { - /// [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). + /// [Output Only] A key that provides more detail on the warning being returned. For example, for warnings where there are no results in a list request for a particular zone, this key might be scope and the key value might be the zone name. Other examples might be a key indicating a deprecated resource and a suggested replacement, or a warning about invalid network settings (for example, if an instance attempts to perform IP forwarding but is not enabled for IP forwarding). #[prost(string, optional, tag="106079")] pub key: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A warning data value corresponding to the key. + /// [Output Only] A warning data value corresponding to the key. #[prost(string, optional, tag="111972721")] pub value: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Addresses.Delete. See the method description for details. +/// A request message for Addresses.Delete. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAddressRequest { - /// Name of the address resource to delete. + /// Name of the address resource to delete. #[prost(string, tag="462920692")] pub address: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. /// - /// For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// [Output Only] If errors are generated during processing of the operation, this field will be populated. +/// [Output Only] If errors are generated during processing of the operation, this field will be populated. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Error { - /// [Output Only] The array of errors encountered while processing this operation. + /// [Output Only] The array of errors encountered while processing this operation. #[prost(message, repeated, tag="315977579")] pub errors: ::prost::alloc::vec::Vec, } /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Errors { - /// [Output Only] The error type identifier for this error. + /// [Output Only] The error type identifier for this error. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Indicates the field in the request that caused the error. This property is optional. + /// [Output Only] Indicates the field in the request that caused the error. This property is optional. #[prost(string, optional, tag="290430901")] pub location: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional, human-readable error message. + /// [Output Only] An optional, human-readable error message. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for RegionOperations.Get. See the method description for details. +/// A request message for RegionOperations.Get. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRegionOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// A request message for Addresses.Insert. See the method description for details. +/// A request message for Addresses.Insert. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InsertAddressRequest { - /// The body resource for this request + /// The body resource for this request #[prost(message, optional, tag="483888121")] pub address_resource: ::core::option::Option
, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, - /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. + /// An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. /// - /// For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). #[prost(string, optional, tag="37109963")] pub request_id: ::core::option::Option<::prost::alloc::string::String>, } -/// A request message for Addresses.List. See the method description for details. +/// A request message for Addresses.List. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAddressesRequest { - /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. + /// A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. /// - /// For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. + /// For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. /// - /// You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. + /// You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. /// - /// To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). + /// To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). #[prost(string, optional, tag="336120696")] pub filter: ::core::option::Option<::prost::alloc::string::String>, - /// The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + /// The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) #[prost(uint32, optional, tag="54715419")] pub max_results: ::core::option::Option, - /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. + /// Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. /// - /// You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. + /// You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. /// - /// Currently, only sorting by name or creationTimestamp desc is supported. + /// Currently, only sorting by name or creationTimestamp desc is supported. #[prost(string, tag="160562920")] pub order_by: ::prost::alloc::string::String, - /// Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. + /// Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. #[prost(string, optional, tag="19994697")] pub page_token: ::core::option::Option<::prost::alloc::string::String>, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// Represents an Operation resource. +/// Represents an Operation resource. /// -/// Google Compute Engine has three Operation resources: +/// Google Compute Engine has three Operation resources: /// -/// * \[Global\](/compute/docs/reference/rest/{$api_version}/globalOperations) * \[Regional\](/compute/docs/reference/rest/{$api_version}/regionOperations) * \[Zonal\](/compute/docs/reference/rest/{$api_version}/zoneOperations) +/// * \[Global\](/compute/docs/reference/rest/{$api_version}/globalOperations) * \[Regional\](/compute/docs/reference/rest/{$api_version}/regionOperations) * \[Zonal\](/compute/docs/reference/rest/{$api_version}/zoneOperations) /// -/// You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. +/// You can use an operation resource to manage asynchronous API requests. For more information, read Handling API responses. /// -/// Operations can be global, regional or zonal. -/// - For global operations, use the globalOperations resource. -/// - For regional operations, use the regionOperations resource. -/// - For zonal operations, use the zoneOperations resource. +/// Operations can be global, regional or zonal. +/// - For global operations, use the globalOperations resource. +/// - For regional operations, use the regionOperations resource. +/// - For zonal operations, use the zoneOperations resource. /// -/// For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==) +/// For more information, read Global, Regional, and Zonal Resources. (== resource_for {$api_version}.globalOperations ==) (== resource_for {$api_version}.regionOperations ==) (== resource_for {$api_version}.zoneOperations ==) #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operation { - /// [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. + /// [Output Only] The value of `requestId` if you provided it in the request. Not present otherwise. #[prost(string, optional, tag="297240295")] pub client_operation_id: ::core::option::Option<::prost::alloc::string::String>, - /// \[Deprecated\] This field is deprecated. + /// \[Deprecated\] This field is deprecated. #[prost(string, optional, tag="30525366")] pub creation_timestamp: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] A textual description of the operation, which is set when the operation is created. + /// [Output Only] A textual description of the operation, which is set when the operation is created. #[prost(string, optional, tag="422937596")] pub description: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The time that this operation was completed. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was completed. This value is in RFC3339 text format. #[prost(string, optional, tag="114938801")] pub end_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If errors are generated during processing of the operation, this field will be populated. + /// [Output Only] If errors are generated during processing of the operation, this field will be populated. #[prost(message, optional, tag="96784904")] pub error: ::core::option::Option, - /// [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. + /// [Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND. #[prost(string, optional, tag="202521945")] pub http_error_message: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found. + /// [Output Only] If the operation fails, this field contains the HTTP error status code that was returned. For example, a 404 means the resource was not found. #[prost(int32, optional, tag="312345196")] pub http_error_status_code: ::core::option::Option, - /// [Output Only] The unique identifier for the operation. This identifier is defined by the server. + /// [Output Only] The unique identifier for the operation. This identifier is defined by the server. #[prost(uint64, optional, tag="3355")] pub id: ::core::option::Option, - /// [Output Only] The time that this operation was requested. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was requested. This value is in RFC3339 text format. #[prost(string, optional, tag="433722515")] pub insert_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Type of the resource. Always compute#operation for Operation resources. + /// [Output Only] Type of the resource. Always compute#operation for Operation resources. #[prost(string, optional, tag="3292052")] pub kind: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Name of the operation. + /// [Output Only] Name of the operation. #[prost(string, optional, tag="3373707")] pub name: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The type of operation, such as insert, update, or delete, and so on. + /// [Output Only] The type of operation, such as insert, update, or delete, and so on. #[prost(string, optional, tag="177650450")] pub operation_type: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses. + /// [Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess when the operation will be complete. This number should monotonically increase as the operation progresses. #[prost(int32, optional, tag="72663597")] pub progress: ::core::option::Option, - /// [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. + /// [Output Only] The URL of the region where the operation resides. Only applicable when performing regional operations. #[prost(string, optional, tag="138946292")] pub region: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Server-defined URL for the resource. + /// [Output Only] Server-defined URL for the resource. #[prost(string, optional, tag="456214797")] pub self_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. + /// [Output Only] The time that this operation was started by the server. This value is in RFC3339 text format. #[prost(string, optional, tag="37467274")] pub start_time: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. + /// [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. #[prost(enumeration="operation::Status", optional, tag="181260274")] pub status: ::core::option::Option, - /// [Output Only] An optional textual description of the current status of the operation. + /// [Output Only] An optional textual description of the current status of the operation. #[prost(string, optional, tag="297428154")] pub status_message: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. + /// [Output Only] The unique target ID, which identifies a specific incarnation of the target resource. #[prost(uint64, optional, tag="258165385")] pub target_id: ::core::option::Option, - /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. + /// [Output Only] The URL of the resource that the operation modifies. For operations related to creating a snapshot, this points to the persistent disk that the snapshot was created from. #[prost(string, optional, tag="62671336")] pub target_link: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] User who requested the operation, for example: user@example.com. + /// [Output Only] User who requested the operation, for example: user@example.com. #[prost(string, optional, tag="3599307")] pub user: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] If warning messages are generated during processing of the operation, this field will be populated. + /// [Output Only] If warning messages are generated during processing of the operation, this field will be populated. #[prost(message, repeated, tag="498091095")] pub warnings: ::prost::alloc::vec::Vec, - /// [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. + /// [Output Only] The URL of the zone where the operation resides. Only applicable when performing per-zone operations. #[prost(string, optional, tag="3744684")] pub zone: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Operation`. pub mod operation { - /// [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. + /// [Output Only] The status of the operation, which can be one of the following: PENDING, RUNNING, or DONE. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedStatus = 0, Done = 2104194, Pending = 35394935, @@ -524,41 +524,41 @@ pub mod operation { } } } -/// A request message for RegionOperations.Wait. See the method description for details. +/// A request message for RegionOperations.Wait. See the method description for details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WaitRegionOperationRequest { - /// Name of the Operations resource to return. + /// Name of the Operations resource to return. #[prost(string, tag="52090215")] pub operation: ::prost::alloc::string::String, - /// Project ID for this request. + /// Project ID for this request. #[prost(string, tag="227560217")] pub project: ::prost::alloc::string::String, - /// Name of the region for this request. + /// Name of the region for this request. #[prost(string, tag="138946292")] pub region: ::prost::alloc::string::String, } -/// [Output Only] Informational warning message. +/// [Output Only] Informational warning message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Warning { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - /// Check the Code enum for the list of possible values. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// Check the Code enum for the list of possible values. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Metadata about this warning in key: value format. For example: - /// "data": [ { "key": "scope", "value": "zones/us-east1-d" } + /// [Output Only] Metadata about this warning in key: value format. For example: + /// "data": [ { "key": "scope", "value": "zones/us-east1-d" } #[prost(message, repeated, tag="3076010")] pub data: ::prost::alloc::vec::Vec, - /// [Output Only] A human-readable description of the warning code. + /// [Output Only] A human-readable description of the warning code. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Warning`. pub mod warning { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCode = 0, CleanupFailed = 150308440, DeprecatedResourceUsed = 391835586, @@ -622,25 +622,25 @@ pub mod warning { /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct Warnings { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. - /// Check the Code enum for the list of possible values. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// Check the Code enum for the list of possible values. #[prost(string, optional, tag="3059181")] pub code: ::core::option::Option<::prost::alloc::string::String>, - /// [Output Only] Metadata about this warning in key: value format. For example: - /// "data": [ { "key": "scope", "value": "zones/us-east1-d" } + /// [Output Only] Metadata about this warning in key: value format. For example: + /// "data": [ { "key": "scope", "value": "zones/us-east1-d" } #[prost(message, repeated, tag="3076010")] pub data: ::prost::alloc::vec::Vec, - /// [Output Only] A human-readable description of the warning code. + /// [Output Only] A human-readable description of the warning code. #[prost(string, optional, tag="418054151")] pub message: ::core::option::Option<::prost::alloc::string::String>, } /// Nested message and enum types in `Warnings`. pub mod warnings { - /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. + /// [Output Only] A warning code, if applicable. For example, Compute Engine returns NO_RESULTS_ON_PAGE if there are no results in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Code { - /// A value indicating that the enum field is not set. + /// A value indicating that the enum field is not set. UndefinedCode = 0, CleanupFailed = 150308440, DeprecatedResourceUsed = 391835586, diff --git a/gcloud-sdk/genproto/google.cloud.connectors.v1.rs b/gcloud-sdk/genproto/google.cloud.connectors.v1.rs index 8736f0117..861abfc6c 100644 --- a/gcloud-sdk/genproto/google.cloud.connectors.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.connectors.v1.rs @@ -1,89 +1,89 @@ -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// ConfigVariableTemplate provides metadata about a `ConfigVariable` that is -/// used in a Connection. +/// ConfigVariableTemplate provides metadata about a `ConfigVariable` that is +/// used in a Connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigVariableTemplate { - /// Key of the config variable. + /// Key of the config variable. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// Type of the parameter: string, int, bool etc. - /// consider custom type for the benefit for the validation. + /// Type of the parameter: string, int, bool etc. + /// consider custom type for the benefit for the validation. #[prost(enumeration="config_variable_template::ValueType", tag="2")] pub value_type: i32, - /// Display name of the parameter. + /// Display name of the parameter. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Description. + /// Description. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Regular expression in RE2 syntax used for validating the `value` of a - /// `ConfigVariable`. + /// Regular expression in RE2 syntax used for validating the `value` of a + /// `ConfigVariable`. #[prost(string, tag="5")] pub validation_regex: ::prost::alloc::string::String, - /// Flag represents that this `ConfigVariable` must be provided for a - /// connection. + /// Flag represents that this `ConfigVariable` must be provided for a + /// connection. #[prost(bool, tag="6")] pub required: bool, - /// Role grant configuration for the config variable. + /// Role grant configuration for the config variable. #[prost(message, optional, tag="7")] pub role_grant: ::core::option::Option, - /// Enum options. To be populated if `ValueType` is `ENUM` + /// Enum options. To be populated if `ValueType` is `ENUM` #[prost(message, repeated, tag="8")] pub enum_options: ::prost::alloc::vec::Vec, - /// Authorization code link options. To be populated if `ValueType` is - /// `AUTHORIZATION_CODE` + /// Authorization code link options. To be populated if `ValueType` is + /// `AUTHORIZATION_CODE` #[prost(message, optional, tag="9")] pub authorization_code_link: ::core::option::Option, - /// State of the config variable. + /// State of the config variable. #[prost(enumeration="config_variable_template::State", tag="10")] pub state: i32, } /// Nested message and enum types in `ConfigVariableTemplate`. pub mod config_variable_template { - /// ValueType indicates the data type of the value. + /// ValueType indicates the data type of the value. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ValueType { - /// Value type is not specified. + /// Value type is not specified. Unspecified = 0, - /// Value type is string. + /// Value type is string. String = 1, - /// Value type is integer. + /// Value type is integer. Int = 2, - /// Value type is boolean. + /// Value type is boolean. Bool = 3, - /// Value type is secret. + /// Value type is secret. Secret = 4, - /// Value type is enum. + /// Value type is enum. Enum = 5, - /// Value type is authorization code. + /// Value type is authorization code. AuthorizationCode = 6, } impl ValueType { @@ -103,15 +103,15 @@ pub mod config_variable_template { } } } - /// Indicates the state of the config variable. + /// Indicates the state of the config variable. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Status is unspecified. + /// Status is unspecified. Unspecified = 0, - /// Config variable is active + /// Config variable is active Active = 1, - /// Config variable is deprecated. + /// Config variable is deprecated. Deprecated = 2, } impl State { @@ -128,103 +128,103 @@ pub mod config_variable_template { } } } -/// Secret provides a reference to entries in Secret Manager. +/// Secret provides a reference to entries in Secret Manager. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Secret { - /// The resource name of the secret version in the format, - /// format as: `projects/*/secrets/*/versions/*`. + /// The resource name of the secret version in the format, + /// format as: `projects/*/secrets/*/versions/*`. #[prost(string, tag="1")] pub secret_version: ::prost::alloc::string::String, } -/// EnumOption definition +/// EnumOption definition #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumOption { - /// Id of the option. + /// Id of the option. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Display name of the option. + /// Display name of the option. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, } -/// ConfigVariable represents a configuration variable present in a Connection. -/// or AuthConfig. +/// ConfigVariable represents a configuration variable present in a Connection. +/// or AuthConfig. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigVariable { - /// Key of the config variable. + /// Key of the config variable. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// Value type of the config variable. + /// Value type of the config variable. #[prost(oneof="config_variable::Value", tags="2, 3, 4, 5")] pub value: ::core::option::Option, } /// Nested message and enum types in `ConfigVariable`. pub mod config_variable { - /// Value type of the config variable. + /// Value type of the config variable. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Value is an integer + /// Value is an integer #[prost(int64, tag="2")] IntValue(i64), - /// Value is a bool. + /// Value is a bool. #[prost(bool, tag="3")] BoolValue(bool), - /// Value is a string. + /// Value is a string. #[prost(string, tag="4")] StringValue(::prost::alloc::string::String), - /// Value is a secret. + /// Value is a secret. #[prost(message, tag="5")] SecretValue(super::Secret), } } -/// This configuration defines all the Cloud IAM roles that needs to be granted -/// to a particular GCP resource for the selected prinicpal like service -/// account. These configurations will let UI display to customers what -/// IAM roles need to be granted by them. Or these configurations can be used -/// by the UI to render a 'grant' button to do the same on behalf of the user. +/// This configuration defines all the Cloud IAM roles that needs to be granted +/// to a particular GCP resource for the selected prinicpal like service +/// account. These configurations will let UI display to customers what +/// IAM roles need to be granted by them. Or these configurations can be used +/// by the UI to render a 'grant' button to do the same on behalf of the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoleGrant { - /// Prinicipal/Identity for whom the role need to assigned. + /// Prinicipal/Identity for whom the role need to assigned. #[prost(enumeration="role_grant::Principal", tag="1")] pub principal: i32, - /// List of roles that need to be granted. + /// List of roles that need to be granted. #[prost(string, repeated, tag="2")] pub roles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Resource on which the roles needs to be granted for the principal. + /// Resource on which the roles needs to be granted for the principal. #[prost(message, optional, tag="3")] pub resource: ::core::option::Option, - /// Template that UI can use to provide helper text to customers. + /// Template that UI can use to provide helper text to customers. #[prost(string, tag="4")] pub helper_text_template: ::prost::alloc::string::String, } /// Nested message and enum types in `RoleGrant`. pub mod role_grant { - /// Resource definition + /// Resource definition #[derive(Clone, PartialEq, ::prost::Message)] pub struct Resource { - /// Different types of resource supported. + /// Different types of resource supported. #[prost(enumeration="resource::Type", tag="1")] pub r#type: i32, - /// Template to uniquely represent a GCP resource in a format IAM expects - /// This is a template that can have references to other values provided in - /// the config variable template. + /// Template to uniquely represent a GCP resource in a format IAM expects + /// This is a template that can have references to other values provided in + /// the config variable template. #[prost(string, tag="3")] pub path_template: ::prost::alloc::string::String, } /// Nested message and enum types in `Resource`. pub mod resource { - /// Resource Type definition. + /// Resource Type definition. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Value type is not specified. + /// Value type is not specified. Unspecified = 0, - /// GCP Project Resource. + /// GCP Project Resource. GcpProject = 1, - /// Any GCP Resource which is identified uniquely by IAM. + /// Any GCP Resource which is identified uniquely by IAM. GcpResource = 2, - /// GCP Secret Resource. + /// GCP Secret Resource. GcpSecretmanagerSecret = 3, - /// GCP Secret Version Resource. + /// GCP Secret Version Resource. GcpSecretmanagerSecretVersion = 4, } impl Type { @@ -243,15 +243,15 @@ pub mod role_grant { } } } - /// Supported Principal values. + /// Supported Principal values. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Principal { - /// Value type is not specified. + /// Value type is not specified. Unspecified = 0, - /// Service Account used for Connector workload identity - /// This is either the default service account if unspecified or Service - /// Account provided by Customers through BYOSA. + /// Service Account used for Connector workload identity + /// This is either the default service account if unspecified or Service + /// Account provided by Customers through BYOSA. ConnectorSa = 1, } impl Principal { @@ -267,38 +267,38 @@ pub mod role_grant { } } } -/// This configuration captures the details required to render an authorization -/// link for the OAuth Authorization Code Flow. +/// This configuration captures the details required to render an authorization +/// link for the OAuth Authorization Code Flow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthorizationCodeLink { - /// The base URI the user must click to trigger the authorization code login - /// flow. + /// The base URI the user must click to trigger the authorization code login + /// flow. #[prost(string, tag="1")] pub uri: ::prost::alloc::string::String, - /// The scopes for which the user will authorize GCP Connectors on the - /// connector data source. + /// The scopes for which the user will authorize GCP Connectors on the + /// connector data source. #[prost(string, repeated, tag="2")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The client ID assigned to the GCP Connectors OAuth app for the connector - /// data source. + /// The client ID assigned to the GCP Connectors OAuth app for the connector + /// data source. #[prost(string, tag="3")] pub client_id: ::prost::alloc::string::String, - /// Whether to enable PKCE for the auth code flow. + /// Whether to enable PKCE for the auth code flow. #[prost(bool, tag="4")] pub enable_pkce: bool, } -/// LaunchStage is a enum to indicate launch stage: -/// PREVIEW, GA, DEPRECATED. +/// LaunchStage is a enum to indicate launch stage: +/// PREVIEW, GA, DEPRECATED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LaunchStage { - /// LAUNCH_STAGE_UNSPECIFIED. + /// LAUNCH_STAGE_UNSPECIFIED. Unspecified = 0, - /// PREVIEW. + /// PREVIEW. Preview = 1, - /// GA. + /// GA. Ga = 2, - /// DEPRECATED. + /// DEPRECATED. Deprecated = 3, } impl LaunchStage { @@ -315,134 +315,134 @@ impl LaunchStage { } } } -/// AuthConfig defines details of a authentication type. +/// AuthConfig defines details of a authentication type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthConfig { - /// The type of authentication configured. + /// The type of authentication configured. #[prost(enumeration="AuthType", tag="1")] pub auth_type: i32, - /// List containing additional auth configs. + /// List containing additional auth configs. #[prost(message, repeated, tag="5")] pub additional_variables: ::prost::alloc::vec::Vec, - /// Supported auth types. + /// Supported auth types. #[prost(oneof="auth_config::Type", tags="2, 3, 4, 6")] pub r#type: ::core::option::Option, } /// Nested message and enum types in `AuthConfig`. pub mod auth_config { - /// Parameters to support Username and Password Authentication. + /// Parameters to support Username and Password Authentication. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserPassword { - /// Username. + /// Username. #[prost(string, tag="1")] pub username: ::prost::alloc::string::String, - /// Secret version reference containing the password. + /// Secret version reference containing the password. #[prost(message, optional, tag="2")] pub password: ::core::option::Option, } - /// Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 - /// Authorization Grant based authentication. - /// See for more details. + /// Parameters to support JSON Web Token (JWT) Profile for Oauth 2.0 + /// Authorization Grant based authentication. + /// See for more details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Oauth2JwtBearer { - /// Secret version reference containing a PKCS#8 PEM-encoded private - /// key associated with the Client Certificate. This private key will be - /// used to sign JWTs used for the jwt-bearer authorization grant. - /// Specified in the form as: `projects/*/secrets/*/versions/*`. + /// Secret version reference containing a PKCS#8 PEM-encoded private + /// key associated with the Client Certificate. This private key will be + /// used to sign JWTs used for the jwt-bearer authorization grant. + /// Specified in the form as: `projects/*/secrets/*/versions/*`. #[prost(message, optional, tag="1")] pub client_key: ::core::option::Option, - /// JwtClaims providers fields to generate the token. + /// JwtClaims providers fields to generate the token. #[prost(message, optional, tag="2")] pub jwt_claims: ::core::option::Option, } /// Nested message and enum types in `Oauth2JwtBearer`. pub mod oauth2_jwt_bearer { - /// JWT claims used for the jwt-bearer authorization grant. + /// JWT claims used for the jwt-bearer authorization grant. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JwtClaims { - /// Value for the "iss" claim. + /// Value for the "iss" claim. #[prost(string, tag="1")] pub issuer: ::prost::alloc::string::String, - /// Value for the "sub" claim. + /// Value for the "sub" claim. #[prost(string, tag="2")] pub subject: ::prost::alloc::string::String, - /// Value for the "aud" claim. + /// Value for the "aud" claim. #[prost(string, tag="3")] pub audience: ::prost::alloc::string::String, } } - /// Parameters to support Oauth 2.0 Client Credentials Grant Authentication. - /// See for more details. + /// Parameters to support Oauth 2.0 Client Credentials Grant Authentication. + /// See for more details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Oauth2ClientCredentials { - /// The client identifier. + /// The client identifier. #[prost(string, tag="1")] pub client_id: ::prost::alloc::string::String, - /// Secret version reference containing the client secret. + /// Secret version reference containing the client secret. #[prost(message, optional, tag="2")] pub client_secret: ::core::option::Option, } - /// Parameters to support Ssh public key Authentication. + /// Parameters to support Ssh public key Authentication. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SshPublicKey { - /// The user account used to authenticate. + /// The user account used to authenticate. #[prost(string, tag="1")] pub username: ::prost::alloc::string::String, - /// This is an optional field used in case client has enabled multi-factor - /// authentication + /// This is an optional field used in case client has enabled multi-factor + /// authentication #[prost(message, optional, tag="2")] pub password: ::core::option::Option, - /// SSH Client Cert. It should contain both public and private key. + /// SSH Client Cert. It should contain both public and private key. #[prost(message, optional, tag="3")] pub ssh_client_cert: ::core::option::Option, - /// Format of SSH Client cert. + /// Format of SSH Client cert. #[prost(string, tag="4")] pub cert_type: ::prost::alloc::string::String, - /// Password (passphrase) for ssh client certificate if it has one. + /// Password (passphrase) for ssh client certificate if it has one. #[prost(message, optional, tag="5")] pub ssh_client_cert_pass: ::core::option::Option, } - /// Supported auth types. + /// Supported auth types. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Type { - /// UserPassword. + /// UserPassword. #[prost(message, tag="2")] UserPassword(UserPassword), - /// Oauth2JwtBearer. + /// Oauth2JwtBearer. #[prost(message, tag="3")] Oauth2JwtBearer(Oauth2JwtBearer), - /// Oauth2ClientCredentials. + /// Oauth2ClientCredentials. #[prost(message, tag="4")] Oauth2ClientCredentials(Oauth2ClientCredentials), - /// SSH Public Key. + /// SSH Public Key. #[prost(message, tag="6")] SshPublicKey(SshPublicKey), } } -/// AuthConfigTemplate defines required field over an authentication type. +/// AuthConfigTemplate defines required field over an authentication type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuthConfigTemplate { - /// The type of authentication configured. + /// The type of authentication configured. #[prost(enumeration="AuthType", tag="1")] pub auth_type: i32, - /// Config variables to describe an `AuthConfig` for a `Connection`. + /// Config variables to describe an `AuthConfig` for a `Connection`. #[prost(message, repeated, tag="2")] pub config_variable_templates: ::prost::alloc::vec::Vec, } -/// AuthType defines different authentication types. +/// AuthType defines different authentication types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AuthType { - /// Authentication type not specified. + /// Authentication type not specified. Unspecified = 0, - /// Username and Password Authentication. + /// Username and Password Authentication. UserPassword = 1, - /// JSON Web Token (JWT) Profile for Oauth 2.0 - /// Authorization Grant based authentication + /// JSON Web Token (JWT) Profile for Oauth 2.0 + /// Authorization Grant based authentication Oauth2JwtBearer = 2, - /// Oauth 2.0 Client Credentials Grant Authentication + /// Oauth 2.0 Client Credentials Grant Authentication Oauth2ClientCredentials = 3, - /// SSH Public Key Authentication + /// SSH Public Key Authentication SshPublicKey = 4, } impl AuthType { @@ -460,19 +460,19 @@ impl AuthType { } } } -/// Define the Connectors target endpoint. +/// Define the Connectors target endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationConfig { - /// The key is the destination identifier that is supported by the Connector. + /// The key is the destination identifier that is supported by the Connector. #[prost(string, tag="1")] pub key: ::prost::alloc::string::String, - /// The destinations for the key. + /// The destinations for the key. #[prost(message, repeated, tag="2")] pub destinations: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Destination { - /// The port is the target port number that is accepted by the destination. + /// The port is the target port number that is accepted by the destination. #[prost(int32, tag="3")] pub port: i32, #[prost(oneof="destination::Destination", tags="1, 2")] @@ -482,407 +482,407 @@ pub struct Destination { pub mod destination { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// PSC service attachments. - /// Format: projects/*/regions/*/serviceAttachments/* + /// PSC service attachments. + /// Format: projects/*/regions/*/serviceAttachments/* #[prost(string, tag="1")] ServiceAttachment(::prost::alloc::string::String), - /// For publicly routable host. + /// For publicly routable host. #[prost(string, tag="2")] Host(::prost::alloc::string::String), } } -/// Connection represents an instance of connector. +/// Connection represents an instance of connector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Connection { - /// Output only. Resource name of the Connection. - /// Format: projects/{project}/locations/{location}/connections/{connection} + /// Output only. Resource name of the Connection. + /// Format: projects/{project}/locations/{location}/connections/{connection} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Optional. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the resource. + /// Optional. Description of the resource. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Required. Connector version on which the connection is created. - /// The format is: - /// projects/*/locations/*/providers/*/connectors/*/versions/* - /// Only global location is supported for ConnectorVersion resource. + /// Required. Connector version on which the connection is created. + /// The format is: + /// projects/*/locations/*/providers/*/connectors/*/versions/* + /// Only global location is supported for ConnectorVersion resource. #[prost(string, tag="6")] pub connector_version: ::prost::alloc::string::String, - /// Output only. Current status of the connection. + /// Output only. Current status of the connection. #[prost(message, optional, tag="7")] pub status: ::core::option::Option, - /// Optional. Configuration for configuring the connection with an external system. + /// Optional. Configuration for configuring the connection with an external system. #[prost(message, repeated, tag="8")] pub config_variables: ::prost::alloc::vec::Vec, - /// Optional. Configuration for establishing the connection's authentication with an - /// external system. + /// Optional. Configuration for establishing the connection's authentication with an + /// external system. #[prost(message, optional, tag="9")] pub auth_config: ::core::option::Option, - /// Optional. Configuration that indicates whether or not the Connection can be edited. + /// Optional. Configuration that indicates whether or not the Connection can be edited. #[prost(message, optional, tag="10")] pub lock_config: ::core::option::Option, - /// Optional. Configuration of the Connector's destination. Only accepted for Connectors - /// that accepts user defined destination(s). + /// Optional. Configuration of the Connector's destination. Only accepted for Connectors + /// that accepts user defined destination(s). #[prost(message, repeated, tag="18")] pub destination_configs: ::prost::alloc::vec::Vec, - /// Output only. GCR location where the runtime image is stored. - /// formatted like: gcr.io/{bucketName}/{imageName} + /// Output only. GCR location where the runtime image is stored. + /// formatted like: gcr.io/{bucketName}/{imageName} #[prost(string, tag="11")] pub image_location: ::prost::alloc::string::String, - /// Optional. Service account needed for runtime plane to access GCP resources. + /// Optional. Service account needed for runtime plane to access GCP resources. #[prost(string, tag="12")] pub service_account: ::prost::alloc::string::String, - /// Output only. The name of the Service Directory service name. Used for - /// Private Harpoon to resolve the ILB address. - /// e.g. - /// "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors" + /// Output only. The name of the Service Directory service name. Used for + /// Private Harpoon to resolve the ILB address. + /// e.g. + /// "projects/cloud-connectors-e2e-testing/locations/us-central1/namespaces/istio-system/services/istio-ingressgateway-connectors" #[prost(string, tag="13")] pub service_directory: ::prost::alloc::string::String, - /// Output only. GCR location where the envoy image is stored. - /// formatted like: gcr.io/{bucketName}/{imageName} + /// Output only. GCR location where the envoy image is stored. + /// formatted like: gcr.io/{bucketName}/{imageName} #[prost(string, tag="15")] pub envoy_image_location: ::prost::alloc::string::String, - /// Optional. Suspended indicates if a user has suspended a connection or not. + /// Optional. Suspended indicates if a user has suspended a connection or not. #[prost(bool, tag="17")] pub suspended: bool, - /// Optional. Configuration for the connection. + /// Optional. Configuration for the connection. #[prost(message, optional, tag="19")] pub node_config: ::core::option::Option, } -/// Configuration for the connection. +/// Configuration for the connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeConfig { - /// Minimum number of nodes in the runtime nodes. + /// Minimum number of nodes in the runtime nodes. #[prost(int32, tag="1")] pub min_node_count: i32, - /// Maximum number of nodes in the runtime nodes. + /// Maximum number of nodes in the runtime nodes. #[prost(int32, tag="2")] pub max_node_count: i32, } -/// Metadata of connection schema. +/// Metadata of connection schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionSchemaMetadata { - /// Output only. List of entity names. + /// Output only. List of entity names. #[prost(string, repeated, tag="1")] pub entities: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. List of actions. + /// Output only. List of actions. #[prost(string, repeated, tag="2")] pub actions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Schema of a runtime entity. +/// Schema of a runtime entity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeEntitySchema { - /// Output only. Name of the entity. + /// Output only. Name of the entity. #[prost(string, tag="1")] pub entity: ::prost::alloc::string::String, - /// Output only. List of fields in the entity. + /// Output only. List of fields in the entity. #[prost(message, repeated, tag="2")] pub fields: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `RuntimeEntitySchema`. pub mod runtime_entity_schema { - /// Metadata of an entity field. + /// Metadata of an entity field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Field { - /// Name of the Field. + /// Name of the Field. #[prost(string, tag="1")] pub field: ::prost::alloc::string::String, - /// A brief description of the Field. + /// A brief description of the Field. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The data type of the Field. + /// The data type of the Field. #[prost(enumeration="super::DataType", tag="3")] pub data_type: i32, - /// The following boolean field specifies if the current Field acts - /// as a primary key or id if the parent is of type entity. + /// The following boolean field specifies if the current Field acts + /// as a primary key or id if the parent is of type entity. #[prost(bool, tag="4")] pub key: bool, - /// Specifies if the Field is readonly. + /// Specifies if the Field is readonly. #[prost(bool, tag="5")] pub readonly: bool, - /// Specifies whether a null value is allowed. + /// Specifies whether a null value is allowed. #[prost(bool, tag="6")] pub nullable: bool, - /// The following field specifies the default value of the Field provided - /// by the external system if a value is not provided. + /// The following field specifies the default value of the Field provided + /// by the external system if a value is not provided. #[prost(message, optional, tag="7")] pub default_value: ::core::option::Option<::prost_types::Value>, - /// The following map contains fields that are not explicitly mentioned - /// above,this give connectors the flexibility to add new metadata - /// fields. + /// The following map contains fields that are not explicitly mentioned + /// above,this give connectors the flexibility to add new metadata + /// fields. #[prost(message, optional, tag="8")] pub additional_details: ::core::option::Option<::prost_types::Struct>, } } -/// Schema of a runtime action. +/// Schema of a runtime action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeActionSchema { - /// Output only. Name of the action. + /// Output only. Name of the action. #[prost(string, tag="1")] pub action: ::prost::alloc::string::String, - /// Output only. List of input parameter metadata for the action. + /// Output only. List of input parameter metadata for the action. #[prost(message, repeated, tag="2")] pub input_parameters: ::prost::alloc::vec::Vec, - /// Output only. List of result field metadata. + /// Output only. List of result field metadata. #[prost(message, repeated, tag="3")] pub result_metadata: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `RuntimeActionSchema`. pub mod runtime_action_schema { - /// Metadata of an input parameter. + /// Metadata of an input parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputParameter { - /// Name of the Parameter. + /// Name of the Parameter. #[prost(string, tag="1")] pub parameter: ::prost::alloc::string::String, - /// A brief description of the Parameter. + /// A brief description of the Parameter. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The data type of the Parameter. + /// The data type of the Parameter. #[prost(enumeration="super::DataType", tag="3")] pub data_type: i32, - /// Specifies whether a null value is allowed. + /// Specifies whether a null value is allowed. #[prost(bool, tag="4")] pub nullable: bool, - /// The following field specifies the default value of the Parameter - /// provided by the external system if a value is not provided. + /// The following field specifies the default value of the Parameter + /// provided by the external system if a value is not provided. #[prost(message, optional, tag="5")] pub default_value: ::core::option::Option<::prost_types::Value>, } - /// Metadata of result field. + /// Metadata of result field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResultMetadata { - /// Name of the result field. + /// Name of the result field. #[prost(string, tag="1")] pub field: ::prost::alloc::string::String, - /// A brief description of the field. + /// A brief description of the field. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// The data type of the field. + /// The data type of the field. #[prost(enumeration="super::DataType", tag="3")] pub data_type: i32, } } -/// Determines whether or no a connection is locked. If locked, a reason must be -/// specified. +/// Determines whether or no a connection is locked. If locked, a reason must be +/// specified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LockConfig { - /// Indicates whether or not the connection is locked. + /// Indicates whether or not the connection is locked. #[prost(bool, tag="1")] pub locked: bool, - /// Describes why a connection is locked. + /// Describes why a connection is locked. #[prost(string, tag="2")] pub reason: ::prost::alloc::string::String, } -/// Request message for ConnectorsService.ListConnections +/// Request message for ConnectorsService.ListConnections #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsRequest { - /// Required. Parent resource of the Connection, of the form: - /// `projects/*/locations/*` + /// Required. Parent resource of the Connection, of the form: + /// `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter. + /// Filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by parameters. + /// Order by parameters. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, - /// Specifies which fields of the Connection are returned in the response. - /// Defaults to `BASIC` view. + /// Specifies which fields of the Connection are returned in the response. + /// Defaults to `BASIC` view. #[prost(enumeration="ConnectionView", tag="6")] pub view: i32, } -/// Response message for ConnectorsService.ListConnections +/// Response message for ConnectorsService.ListConnections #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionsResponse { - /// Connections. + /// Connections. #[prost(message, repeated, tag="1")] pub connections: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for ConnectorsService.GetConnection +/// Request message for ConnectorsService.GetConnection #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/connections/*` + /// Required. Resource name of the form: + /// `projects/*/locations/*/connections/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies which fields of the Connection are returned in the response. - /// Defaults to `BASIC` view. + /// Specifies which fields of the Connection are returned in the response. + /// Defaults to `BASIC` view. #[prost(enumeration="ConnectionView", tag="2")] pub view: i32, } -/// Request message for ConnectorsService.CreateConnection +/// Request message for ConnectorsService.CreateConnection #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionRequest { - /// Required. Parent resource of the Connection, of the form: - /// `projects/*/locations/*` + /// Required. Parent resource of the Connection, of the form: + /// `projects/*/locations/*` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Identifier to assign to the Connection. Must be unique within scope of - /// the parent resource. + /// Required. Identifier to assign to the Connection. Must be unique within scope of + /// the parent resource. #[prost(string, tag="2")] pub connection_id: ::prost::alloc::string::String, - /// Required. Connection resource. + /// Required. Connection resource. #[prost(message, optional, tag="3")] pub connection: ::core::option::Option, } -/// Request message for ConnectorsService.UpdateConnection +/// Request message for ConnectorsService.UpdateConnection #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionRequest { - /// Required. Connection resource. + /// Required. Connection resource. #[prost(message, optional, tag="1")] pub connection: ::core::option::Option, - /// Required. Field mask is used to specify the fields to be overwritten in the - /// Connection resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// Connection resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for ConnectorsService.DeleteConnection. +/// Request message for ConnectorsService.DeleteConnection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/connections/*` + /// Required. Resource name of the form: + /// `projects/*/locations/*/connections/*` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ConnectorsService.GetConnectionSchemaMetadata. +/// Request message for ConnectorsService.GetConnectionSchemaMetadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionSchemaMetadataRequest { - /// Required. Connection name - /// Format: - /// projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata + /// Required. Connection name + /// Format: + /// projects/{project}/locations/{location}/connections/{connection}/connectionSchemaMetadata #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ConnectorsService.ListRuntimeEntitySchemas. -/// For filter, only entity field is supported with literal equality operator. -/// Accepted filter example: entity="Order" -/// Wildcards are not supported in the filter currently. +/// Request message for ConnectorsService.ListRuntimeEntitySchemas. +/// For filter, only entity field is supported with literal equality operator. +/// Accepted filter example: entity="Order" +/// Wildcards are not supported in the filter currently. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuntimeEntitySchemasRequest { - /// Required. Parent resource of RuntimeEntitySchema - /// Format: - /// projects/{project}/locations/{location}/connections/{connection} + /// Required. Parent resource of RuntimeEntitySchema + /// Format: + /// projects/{project}/locations/{location}/connections/{connection} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Required. Filter - /// Format: - /// entity="{entityId}" - /// Only entity field is supported with literal equality operator. - /// Accepted filter example: entity="Order" - /// Wildcards are not supported in the filter currently. + /// Required. Filter + /// Format: + /// entity="{entityId}" + /// Only entity field is supported with literal equality operator. + /// Accepted filter example: entity="Order" + /// Wildcards are not supported in the filter currently. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ConnectorsService.ListRuntimeEntitySchemas. +/// Response message for ConnectorsService.ListRuntimeEntitySchemas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuntimeEntitySchemasResponse { - /// Runtime entity schemas. + /// Runtime entity schemas. #[prost(message, repeated, tag="1")] pub runtime_entity_schemas: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for ConnectorsService.ListRuntimeActionSchemas. -/// For filter, only action field is supported with literal equality operator. -/// Accepted filter example: action="approveOrder" -/// Wildcards are not supported in the filter currently. +/// Request message for ConnectorsService.ListRuntimeActionSchemas. +/// For filter, only action field is supported with literal equality operator. +/// Accepted filter example: action="approveOrder" +/// Wildcards are not supported in the filter currently. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuntimeActionSchemasRequest { - /// Required. Parent resource of RuntimeActionSchema - /// Format: - /// projects/{project}/locations/{location}/connections/{connection} + /// Required. Parent resource of RuntimeActionSchema + /// Format: + /// projects/{project}/locations/{location}/connections/{connection} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Required. Filter - /// Format: - /// action="{actionId}" - /// Only action field is supported with literal equality operator. - /// Accepted filter example: action="CancelOrder" - /// Wildcards are not supported in the filter currently. + /// Required. Filter + /// Format: + /// action="{actionId}" + /// Only action field is supported with literal equality operator. + /// Accepted filter example: action="CancelOrder" + /// Wildcards are not supported in the filter currently. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Response message for ConnectorsService.ListRuntimeActionSchemas. +/// Response message for ConnectorsService.ListRuntimeActionSchemas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuntimeActionSchemasResponse { - /// Runtime action schemas. + /// Runtime action schemas. #[prost(message, repeated, tag="1")] pub runtime_action_schemas: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// ConnectionStatus indicates the state of the connection. +/// ConnectionStatus indicates the state of the connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionStatus { - /// State. + /// State. #[prost(enumeration="connection_status::State", tag="1")] pub state: i32, - /// Description. + /// Description. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Status provides detailed information for the state. + /// Status provides detailed information for the state. #[prost(string, tag="3")] pub status: ::prost::alloc::string::String, } /// Nested message and enum types in `ConnectionStatus`. pub mod connection_status { - /// All the possible Connection State. + /// All the possible Connection State. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Connection does not have a state yet. + /// Connection does not have a state yet. Unspecified = 0, - /// Connection is being created. + /// Connection is being created. Creating = 1, - /// Connection is running and ready for requests. + /// Connection is running and ready for requests. Active = 2, - /// Connection is stopped. + /// Connection is stopped. Inactive = 3, - /// Connection is being deleted. + /// Connection is being deleted. Deleting = 4, - /// Connection is being updated. + /// Connection is being updated. Updating = 5, - /// Connection is not running due to an error. + /// Connection is not running due to an error. Error = 6, } impl State { @@ -903,99 +903,99 @@ pub mod connection_status { } } } -/// All possible data types of a entity or action field. +/// All possible data types of a entity or action field. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataType { - /// Data type is not specified. + /// Data type is not specified. Unspecified = 0, - /// DEPRECATED! Use DATA_TYPE_INTEGER. + /// DEPRECATED! Use DATA_TYPE_INTEGER. Int = 1, - /// Short integer(int16) data type. + /// Short integer(int16) data type. Smallint = 2, - /// Double data type. + /// Double data type. Double = 3, - /// Date data type. + /// Date data type. Date = 4, - /// DEPRECATED! Use DATA_TYPE_TIMESTAMP. + /// DEPRECATED! Use DATA_TYPE_TIMESTAMP. Datetime = 5, - /// Time data type. + /// Time data type. Time = 6, - /// DEPRECATED! Use DATA_TYPE_VARCHAR. + /// DEPRECATED! Use DATA_TYPE_VARCHAR. String = 7, - /// DEPRECATED! Use DATA_TYPE_BIGINT. + /// DEPRECATED! Use DATA_TYPE_BIGINT. Long = 8, - /// Boolean data type. + /// Boolean data type. Boolean = 9, - /// Decimal data type. + /// Decimal data type. Decimal = 10, - /// DEPRECATED! Use DATA_TYPE_VARCHAR. + /// DEPRECATED! Use DATA_TYPE_VARCHAR. Uuid = 11, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Blob = 12, - /// Bit data type. + /// Bit data type. Bit = 13, - /// Small integer(int8) data type. + /// Small integer(int8) data type. Tinyint = 14, - /// Integer(int32) data type. + /// Integer(int32) data type. Integer = 15, - /// Long integer(int64) data type. + /// Long integer(int64) data type. Bigint = 16, - /// Float data type. + /// Float data type. Float = 17, - /// Real data type. + /// Real data type. Real = 18, - /// Numeric data type. + /// Numeric data type. Numeric = 19, - /// Char data type. + /// Char data type. Char = 20, - /// Varchar data type. + /// Varchar data type. Varchar = 21, - /// Longvarchar data type. + /// Longvarchar data type. Longvarchar = 22, - /// Timestamp data type. + /// Timestamp data type. Timestamp = 23, - /// Nchar data type. + /// Nchar data type. Nchar = 24, - /// Nvarchar data type. + /// Nvarchar data type. Nvarchar = 25, - /// Longnvarchar data type. + /// Longnvarchar data type. Longnvarchar = 26, - /// Null data type. + /// Null data type. Null = 27, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Other = 28, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. JavaObject = 29, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Distinct = 30, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Struct = 31, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Array = 32, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Clob = 33, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Ref = 34, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Datalink = 35, - /// UNSUPPORTED! Row id data type. + /// UNSUPPORTED! Row id data type. Rowid = 36, - /// UNSUPPORTED! Binary data type. + /// UNSUPPORTED! Binary data type. Binary = 37, - /// UNSUPPORTED! Variable binary data type. + /// UNSUPPORTED! Variable binary data type. Varbinary = 38, - /// UNSUPPORTED! Long variable binary data type. + /// UNSUPPORTED! Long variable binary data type. Longvarbinary = 39, - /// UNSUPPORTED! NCLOB data type. + /// UNSUPPORTED! NCLOB data type. Nclob = 40, - /// UNSUPPORTED! SQL XML data type is not supported. + /// UNSUPPORTED! SQL XML data type is not supported. Sqlxml = 41, - /// UNSUPPORTED! Cursor reference type is not supported. + /// UNSUPPORTED! Cursor reference type is not supported. RefCursor = 42, - /// UNSUPPORTED! Use TIME or TIMESTAMP instead. + /// UNSUPPORTED! Use TIME or TIMESTAMP instead. TimeWithTimezone = 43, - /// UNSUPPORTED! Use TIMESTAMP instead. + /// UNSUPPORTED! Use TIMESTAMP instead. TimestampWithTimezone = 44, } impl DataType { @@ -1053,15 +1053,15 @@ impl DataType { } } } -/// Enum to control which fields should be included in the response. +/// Enum to control which fields should be included in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectionView { - /// CONNECTION_UNSPECIFIED. + /// CONNECTION_UNSPECIFIED. Unspecified = 0, - /// Do not include runtime required configs. + /// Do not include runtime required configs. Basic = 1, - /// Include runtime required configs. + /// Include runtime required configs. Full = 2, } impl ConnectionView { @@ -1077,197 +1077,197 @@ impl ConnectionView { } } } -/// Connectors indicates a specific connector type, e.x. Salesforce, SAP etc. +/// Connectors indicates a specific connector type, e.x. Salesforce, SAP etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Connector { - /// Output only. Resource name of the Connector. - /// Format: - /// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector} - /// Only global location is supported for Connector resource. + /// Output only. Resource name of the Connector. + /// Format: + /// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector} + /// Only global location is supported for Connector resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Output only. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Link to documentation page. + /// Output only. Link to documentation page. #[prost(string, tag="6")] pub documentation_uri: ::prost::alloc::string::String, - /// Output only. Link to external page. + /// Output only. Link to external page. #[prost(string, tag="7")] pub external_uri: ::prost::alloc::string::String, - /// Output only. Description of the resource. + /// Output only. Description of the resource. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// Output only. Cloud storage location of icons etc consumed by UI. + /// Output only. Cloud storage location of icons etc consumed by UI. #[prost(string, tag="9")] pub web_assets_location: ::prost::alloc::string::String, - /// Output only. Display name. + /// Output only. Display name. #[prost(string, tag="10")] pub display_name: ::prost::alloc::string::String, - /// Output only. Flag to mark the version indicating the launch stage. + /// Output only. Flag to mark the version indicating the launch stage. #[prost(enumeration="LaunchStage", tag="11")] pub launch_stage: i32, } -/// Request message for Connectors.GetConnector. +/// Request message for Connectors.GetConnector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectorRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/providers/*/connectors/*` - /// Only global location is supported for Connector resource. + /// Required. Resource name of the form: + /// `projects/*/locations/*/providers/*/connectors/*` + /// Only global location is supported for Connector resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for Connectors.ListConnectors. +/// Request message for Connectors.ListConnectors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectorsRequest { - /// Required. Parent resource of the connectors, of the form: - /// `projects/*/locations/*/providers/*` - /// Only global location is supported for Connector resource. + /// Required. Parent resource of the connectors, of the form: + /// `projects/*/locations/*/providers/*` + /// Only global location is supported for Connector resource. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for Connectors.ListConnectors. +/// Response message for Connectors.ListConnectors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectorsResponse { - /// A list of connectors. + /// A list of connectors. #[prost(message, repeated, tag="1")] pub connectors: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// ConnectorVersion indicates a specific version of a connector. +/// ConnectorVersion indicates a specific version of a connector. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectorVersion { - /// Output only. Resource name of the Version. - /// Format: - /// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version} - /// Only global location is supported for Connector resource. + /// Output only. Resource name of the Version. + /// Format: + /// projects/{project}/locations/{location}/providers/{provider}/connectors/{connector}/versions/{version} + /// Only global location is supported for Connector resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Output only. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Flag to mark the version indicating the launch stage. + /// Output only. Flag to mark the version indicating the launch stage. #[prost(enumeration="LaunchStage", tag="6")] pub launch_stage: i32, - /// Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha". + /// Output only. ReleaseVersion of the connector, for example: "1.0.1-alpha". #[prost(string, tag="7")] pub release_version: ::prost::alloc::string::String, - /// Output only. List of auth configs supported by the Connector Version. + /// Output only. List of auth configs supported by the Connector Version. #[prost(message, repeated, tag="8")] pub auth_config_templates: ::prost::alloc::vec::Vec, - /// Output only. List of config variables needed to create a connection. + /// Output only. List of config variables needed to create a connection. #[prost(message, repeated, tag="9")] pub config_variable_templates: ::prost::alloc::vec::Vec, - /// Output only. Information about the runtime features supported by the Connector. + /// Output only. Information about the runtime features supported by the Connector. #[prost(message, optional, tag="10")] pub supported_runtime_features: ::core::option::Option, - /// Output only. Display name. + /// Output only. Display name. #[prost(string, tag="11")] pub display_name: ::prost::alloc::string::String, - /// Output only. Configuration for Egress Control. + /// Output only. Configuration for Egress Control. #[prost(message, optional, tag="12")] pub egress_control_config: ::core::option::Option, - /// Output only. Role grant configurations for this connector version. + /// Output only. Role grant configurations for this connector version. #[prost(message, repeated, tag="14")] pub role_grants: ::prost::alloc::vec::Vec, - /// Output only. Role grant configuration for this config variable. It will be DEPRECATED - /// soon. + /// Output only. Role grant configuration for this config variable. It will be DEPRECATED + /// soon. #[prost(message, optional, tag="15")] pub role_grant: ::core::option::Option, } -/// Request message for Connectors.GetConnectorVersion. +/// Request message for Connectors.GetConnectorVersion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectorVersionRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/providers/*/connectors/*/versions/*` - /// Only global location is supported for ConnectorVersion resource. + /// Required. Resource name of the form: + /// `projects/*/locations/*/providers/*/connectors/*/versions/*` + /// Only global location is supported for ConnectorVersion resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies which fields of the ConnectorVersion are returned in the - /// response. Defaults to `CUSTOMER` view. + /// Specifies which fields of the ConnectorVersion are returned in the + /// response. Defaults to `CUSTOMER` view. #[prost(enumeration="ConnectorVersionView", tag="2")] pub view: i32, } -/// Request message for Connectors.ListConnectorVersions. +/// Request message for Connectors.ListConnectorVersions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectorVersionsRequest { - /// Required. Parent resource of the connectors, of the form: - /// `projects/*/locations/*/providers/*/connectors/*` - /// Only global location is supported for ConnectorVersion resource. + /// Required. Parent resource of the connectors, of the form: + /// `projects/*/locations/*/providers/*/connectors/*` + /// Only global location is supported for ConnectorVersion resource. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Specifies which fields of the ConnectorVersion are returned in the - /// response. Defaults to `BASIC` view. + /// Specifies which fields of the ConnectorVersion are returned in the + /// response. Defaults to `BASIC` view. #[prost(enumeration="ConnectorVersionView", tag="4")] pub view: i32, } -/// Response message for Connectors.ListConnectorVersions. +/// Response message for Connectors.ListConnectorVersions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectorVersionsResponse { - /// A list of connector versions. + /// A list of connector versions. #[prost(message, repeated, tag="1")] pub connector_versions: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Supported runtime features of a connector version. This is passed to the -/// management layer to add a new connector version by the connector developer. -/// Details about how this proto is passed to the management layer is covered in -/// this doc - go/runtime-manifest. +/// Supported runtime features of a connector version. This is passed to the +/// management layer to add a new connector version by the connector developer. +/// Details about how this proto is passed to the management layer is covered in +/// this doc - go/runtime-manifest. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SupportedRuntimeFeatures { - /// Specifies if the connector supports entity apis like 'createEntity'. + /// Specifies if the connector supports entity apis like 'createEntity'. #[prost(bool, tag="1")] pub entity_apis: bool, - /// Specifies if the connector supports action apis like 'executeAction'. + /// Specifies if the connector supports action apis like 'executeAction'. #[prost(bool, tag="2")] pub action_apis: bool, - /// Specifies if the connector supports 'ExecuteSqlQuery' operation. + /// Specifies if the connector supports 'ExecuteSqlQuery' operation. #[prost(bool, tag="3")] pub sql_query: bool, } -/// Egress control config for connector runtime. These configurations define the -/// rules to identify which outbound domains/hosts needs to be whitelisted. It -/// may be a static information for a particular connector version or it is -/// derived from the configurations provided by the customer in Connection -/// resource. +/// Egress control config for connector runtime. These configurations define the +/// rules to identify which outbound domains/hosts needs to be whitelisted. It +/// may be a static information for a particular connector version or it is +/// derived from the configurations provided by the customer in Connection +/// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EgressControlConfig { #[prost(oneof="egress_control_config::OneofBackends", tags="1, 2")] @@ -1277,55 +1277,55 @@ pub struct EgressControlConfig { pub mod egress_control_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum OneofBackends { - /// Static Comma separated backends which are common for all Connection - /// resources. Supported formats for each backend are host:port or just - /// host (host can be ip address or domain name). + /// Static Comma separated backends which are common for all Connection + /// resources. Supported formats for each backend are host:port or just + /// host (host can be ip address or domain name). #[prost(string, tag="1")] Backends(::prost::alloc::string::String), - /// Extractions Rules to extract the backends from customer provided - /// configuration. + /// Extractions Rules to extract the backends from customer provided + /// configuration. #[prost(message, tag="2")] ExtractionRules(super::ExtractionRules), } } -/// Extraction Rules to identity the backends from customer provided -/// configuration in Connection resource. +/// Extraction Rules to identity the backends from customer provided +/// configuration in Connection resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtractionRules { - /// Collection of Extraction Rule. + /// Collection of Extraction Rule. #[prost(message, repeated, tag="1")] pub extraction_rule: ::prost::alloc::vec::Vec, } -/// Extraction Rule. +/// Extraction Rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExtractionRule { - /// Source on which the rule is applied. + /// Source on which the rule is applied. #[prost(message, optional, tag="1")] pub source: ::core::option::Option, - /// Regex used to extract backend details from source. If empty, whole source - /// value will be used. + /// Regex used to extract backend details from source. If empty, whole source + /// value will be used. #[prost(string, tag="2")] pub extraction_regex: ::prost::alloc::string::String, } /// Nested message and enum types in `ExtractionRule`. pub mod extraction_rule { - /// Source to extract the backend from. + /// Source to extract the backend from. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Source { - /// Type of the source. + /// Type of the source. #[prost(enumeration="SourceType", tag="1")] pub source_type: i32, - /// Field identifier. For example config vaiable name. + /// Field identifier. For example config vaiable name. #[prost(string, tag="2")] pub field_id: ::prost::alloc::string::String, } - /// Supported Source types for extraction. + /// Supported Source types for extraction. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SourceType { - /// Default SOURCE. + /// Default SOURCE. Unspecified = 0, - /// Config Variable source type. + /// Config Variable source type. ConfigVariable = 1, } impl SourceType { @@ -1341,15 +1341,15 @@ pub mod extraction_rule { } } } -/// Enum to control which fields should be included in the response. +/// Enum to control which fields should be included in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectorVersionView { - /// CONNECTOR_VERSION_VIEW_UNSPECIFIED. + /// CONNECTOR_VERSION_VIEW_UNSPECIFIED. Unspecified = 0, - /// Do not include role grant configs. + /// Do not include role grant configs. Basic = 1, - /// Include role grant configs. + /// Include role grant configs. Full = 2, } impl ConnectorVersionView { @@ -1365,151 +1365,151 @@ impl ConnectorVersionView { } } } -/// Provider indicates the owner who provides the connectors. +/// Provider indicates the owner who provides the connectors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Provider { - /// Output only. Resource name of the Provider. - /// Format: projects/{project}/locations/{location}/providers/{provider} - /// Only global location is supported for Provider resource. + /// Output only. Resource name of the Provider. + /// Format: projects/{project}/locations/{location}/providers/{provider} + /// Only global location is supported for Provider resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Created time. + /// Output only. Created time. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Updated time. + /// Output only. Updated time. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Resource labels to represent user-provided metadata. - /// Refer to cloud documentation on labels for more details. - /// + /// Output only. Resource labels to represent user-provided metadata. + /// Refer to cloud documentation on labels for more details. + /// #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Link to documentation page. + /// Output only. Link to documentation page. #[prost(string, tag="6")] pub documentation_uri: ::prost::alloc::string::String, - /// Output only. Link to external page. + /// Output only. Link to external page. #[prost(string, tag="7")] pub external_uri: ::prost::alloc::string::String, - /// Output only. Description of the resource. + /// Output only. Description of the resource. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, - /// Output only. Cloud storage location of icons etc consumed by UI. + /// Output only. Cloud storage location of icons etc consumed by UI. #[prost(string, tag="9")] pub web_assets_location: ::prost::alloc::string::String, - /// Output only. Display name. + /// Output only. Display name. #[prost(string, tag="10")] pub display_name: ::prost::alloc::string::String, - /// Output only. Flag to mark the version indicating the launch stage. + /// Output only. Flag to mark the version indicating the launch stage. #[prost(enumeration="LaunchStage", tag="11")] pub launch_stage: i32, } -/// Request message for Connectors.GetProvider. +/// Request message for Connectors.GetProvider. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetProviderRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/providers/*` - /// Only global location is supported for Provider resource. + /// Required. Resource name of the form: + /// `projects/*/locations/*/providers/*` + /// Only global location is supported for Provider resource. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for Connectors.ListProviders. +/// Request message for Connectors.ListProviders. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProvidersRequest { - /// Required. Parent resource of the API, of the form: - /// `projects/*/locations/*` - /// Only global location is supported for Provider resource. + /// Required. Parent resource of the API, of the form: + /// `projects/*/locations/*` + /// Only global location is supported for Provider resource. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Page size. + /// Page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token. + /// Page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for Connectors.ListProviders. +/// Response message for Connectors.ListProviders. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListProvidersResponse { - /// A list of providers. + /// A list of providers. #[prost(message, repeated, tag="1")] pub providers: ::prost::alloc::vec::Vec, - /// Next page token. + /// Next page token. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for Connectors.GetRuntimeConfig. +/// Request message for Connectors.GetRuntimeConfig. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuntimeConfigRequest { - /// Required. Resource name of the form: - /// `projects/*/locations/*/runtimeConfig` + /// Required. Resource name of the form: + /// `projects/*/locations/*/runtimeConfig` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// RuntimeConfig is the singleton resource of each location. -/// It includes generic resource configs consumed by control plane and runtime -/// plane like: pub/sub topic/subscription resource name, Cloud Storage location -/// storing schema etc. +/// RuntimeConfig is the singleton resource of each location. +/// It includes generic resource configs consumed by control plane and runtime +/// plane like: pub/sub topic/subscription resource name, Cloud Storage location +/// storing schema etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeConfig { - /// Output only. location_id of the runtime location. E.g. "us-west1". + /// Output only. location_id of the runtime location. E.g. "us-west1". #[prost(string, tag="1")] pub location_id: ::prost::alloc::string::String, - /// Output only. Pub/Sub topic for connd to send message. - /// E.g. projects/{project-id}/topics/{topic-id} + /// Output only. Pub/Sub topic for connd to send message. + /// E.g. projects/{project-id}/topics/{topic-id} #[prost(string, tag="2")] pub connd_topic: ::prost::alloc::string::String, - /// Output only. Pub/Sub subscription for connd to receive message. - /// E.g. projects/{project-id}/subscriptions/{topic-id} + /// Output only. Pub/Sub subscription for connd to receive message. + /// E.g. projects/{project-id}/subscriptions/{topic-id} #[prost(string, tag="3")] pub connd_subscription: ::prost::alloc::string::String, - /// Output only. Pub/Sub topic for control plne to send message. - /// communication. - /// E.g. projects/{project-id}/topics/{topic-id} + /// Output only. Pub/Sub topic for control plne to send message. + /// communication. + /// E.g. projects/{project-id}/topics/{topic-id} #[prost(string, tag="4")] pub control_plane_topic: ::prost::alloc::string::String, - /// Output only. Pub/Sub subscription for control plane to receive message. - /// E.g. projects/{project-id}/subscriptions/{topic-id} + /// Output only. Pub/Sub subscription for control plane to receive message. + /// E.g. projects/{project-id}/subscriptions/{topic-id} #[prost(string, tag="5")] pub control_plane_subscription: ::prost::alloc::string::String, - /// Output only. The endpoint of the connectors runtime ingress. + /// Output only. The endpoint of the connectors runtime ingress. #[prost(string, tag="6")] pub runtime_endpoint: ::prost::alloc::string::String, - /// Output only. The state of the location. + /// Output only. The state of the location. #[prost(enumeration="runtime_config::State", tag="7")] pub state: i32, - /// Output only. The Cloud Storage bucket that stores connector's schema reports. + /// Output only. The Cloud Storage bucket that stores connector's schema reports. #[prost(string, tag="8")] pub schema_gcs_bucket: ::prost::alloc::string::String, - /// Output only. The name of the Service Directory service name. + /// Output only. The name of the Service Directory service name. #[prost(string, tag="9")] pub service_directory: ::prost::alloc::string::String, - /// Output only. Name of the runtimeConfig resource. - /// Format: projects/{project}/locations/{location}/runtimeConfig + /// Output only. Name of the runtimeConfig resource. + /// Format: projects/{project}/locations/{location}/runtimeConfig #[prost(string, tag="11")] pub name: ::prost::alloc::string::String, } /// Nested message and enum types in `RuntimeConfig`. pub mod runtime_config { - /// State of the location. + /// State of the location. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// STATE_UNSPECIFIED. + /// STATE_UNSPECIFIED. Unspecified = 0, - /// INACTIVE. + /// INACTIVE. Inactive = 1, - /// ACTIVATING. + /// ACTIVATING. Activating = 2, - /// ACTIVE. + /// ACTIVE. Active = 3, - /// CREATING. + /// CREATING. Creating = 4, - /// DELETING. + /// DELETING. Deleting = 5, - /// UPDATING. + /// UPDATING. Updating = 6, } impl State { diff --git a/gcloud-sdk/genproto/google.cloud.contactcenterinsights.v1.rs b/gcloud-sdk/genproto/google.cloud.contactcenterinsights.v1.rs index 85da11bc2..4c6b5444e 100644 --- a/gcloud-sdk/genproto/google.cloud.contactcenterinsights.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.contactcenterinsights.v1.rs @@ -1,169 +1,169 @@ -/// The conversation resource. +/// The conversation resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Conversation { - /// Immutable. The resource name of the conversation. - /// Format: - /// projects/{project}/locations/{location}/conversations/{conversation} + /// Immutable. The resource name of the conversation. + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The source of the audio and transcription for the conversation. + /// The source of the audio and transcription for the conversation. #[prost(message, optional, tag="2")] pub data_source: ::core::option::Option, - /// Output only. The time at which the conversation was created. + /// Output only. The time at which the conversation was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The most recent time at which the conversation was updated. + /// Output only. The most recent time at which the conversation was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time at which the conversation started. + /// The time at which the conversation started. #[prost(message, optional, tag="17")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// A user-specified language code for the conversation. + /// A user-specified language code for the conversation. #[prost(string, tag="14")] pub language_code: ::prost::alloc::string::String, - /// An opaque, user-specified string representing the human agent who handled - /// the conversation. + /// An opaque, user-specified string representing the human agent who handled + /// the conversation. #[prost(string, tag="5")] pub agent_id: ::prost::alloc::string::String, - /// A map for the user to specify any custom fields. A maximum of 20 labels per - /// conversation is allowed, with a maximum of 256 characters per entry. + /// A map for the user to specify any custom fields. A maximum of 20 labels per + /// conversation is allowed, with a maximum of 256 characters per entry. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. The conversation transcript. + /// Output only. The conversation transcript. #[prost(message, optional, tag="8")] pub transcript: ::core::option::Option, - /// Immutable. The conversation medium, if unspecified will default to PHONE_CALL. + /// Immutable. The conversation medium, if unspecified will default to PHONE_CALL. #[prost(enumeration="conversation::Medium", tag="9")] pub medium: i32, - /// Output only. The duration of the conversation. + /// Output only. The duration of the conversation. #[prost(message, optional, tag="10")] pub duration: ::core::option::Option<::prost_types::Duration>, - /// Output only. The number of turns in the conversation. + /// Output only. The number of turns in the conversation. #[prost(int32, tag="11")] pub turn_count: i32, - /// Output only. The conversation's latest analysis, if one exists. + /// Output only. The conversation's latest analysis, if one exists. #[prost(message, optional, tag="12")] pub latest_analysis: ::core::option::Option, - /// Output only. The annotations that were generated during the customer and agent - /// interaction. + /// Output only. The annotations that were generated during the customer and agent + /// interaction. #[prost(message, repeated, tag="13")] pub runtime_annotations: ::prost::alloc::vec::Vec, - /// Output only. All the matched Dialogflow intents in the call. The key corresponds to a - /// Dialogflow intent, format: - /// projects/{project}/agent/{agent}/intents/{intent} + /// Output only. All the matched Dialogflow intents in the call. The key corresponds to a + /// Dialogflow intent, format: + /// projects/{project}/agent/{agent}/intents/{intent} #[prost(map="string, message", tag="18")] pub dialogflow_intents: ::std::collections::HashMap<::prost::alloc::string::String, DialogflowIntent>, - /// Obfuscated user ID which the customer sent to us. + /// Obfuscated user ID which the customer sent to us. #[prost(string, tag="21")] pub obfuscated_user_id: ::prost::alloc::string::String, - /// Metadata that applies to the conversation. + /// Metadata that applies to the conversation. #[prost(oneof="conversation::Metadata", tags="7")] pub metadata: ::core::option::Option, - /// A time to live expiration setting, can be either a specified timestamp or a - /// duration from the time that the conversation creation request was received. - /// Conversations with an expiration set will be removed up to 24 hours after - /// the specified time. + /// A time to live expiration setting, can be either a specified timestamp or a + /// duration from the time that the conversation creation request was received. + /// Conversations with an expiration set will be removed up to 24 hours after + /// the specified time. #[prost(oneof="conversation::Expiration", tags="15, 16")] pub expiration: ::core::option::Option, } /// Nested message and enum types in `Conversation`. pub mod conversation { - /// Call-specific metadata. + /// Call-specific metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallMetadata { - /// The audio channel that contains the customer. + /// The audio channel that contains the customer. #[prost(int32, tag="1")] pub customer_channel: i32, - /// The audio channel that contains the agent. + /// The audio channel that contains the agent. #[prost(int32, tag="2")] pub agent_channel: i32, } - /// A message representing the transcript of a conversation. + /// A message representing the transcript of a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transcript { - /// A list of sequential transcript segments that comprise the conversation. + /// A list of sequential transcript segments that comprise the conversation. #[prost(message, repeated, tag="1")] pub transcript_segments: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Transcript`. pub mod transcript { - /// A segment of a full transcript. + /// A segment of a full transcript. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TranscriptSegment { - /// The time that the message occurred, if provided. + /// The time that the message occurred, if provided. #[prost(message, optional, tag="6")] pub message_time: ::core::option::Option<::prost_types::Timestamp>, - /// The text of this segment. + /// The text of this segment. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// A confidence estimate between 0.0 and 1.0 of the fidelity of this - /// segment. A default value of 0.0 indicates that the value is unset. + /// A confidence estimate between 0.0 and 1.0 of the fidelity of this + /// segment. A default value of 0.0 indicates that the value is unset. #[prost(float, tag="2")] pub confidence: f32, - /// A list of the word-specific information for each word in the segment. + /// A list of the word-specific information for each word in the segment. #[prost(message, repeated, tag="3")] pub words: ::prost::alloc::vec::Vec, - /// The language code of this segment as a - /// \[BCP-47\]() language tag. - /// Example: "en-US". + /// The language code of this segment as a + /// \[BCP-47\]() language tag. + /// Example: "en-US". #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// For conversations derived from multi-channel audio, this is the channel - /// number corresponding to the audio from that channel. For - /// audioChannelCount = N, its output values can range from '1' to 'N'. A - /// channel tag of 0 indicates that the audio is mono. + /// For conversations derived from multi-channel audio, this is the channel + /// number corresponding to the audio from that channel. For + /// audioChannelCount = N, its output values can range from '1' to 'N'. A + /// channel tag of 0 indicates that the audio is mono. #[prost(int32, tag="5")] pub channel_tag: i32, - /// The participant of this segment. + /// The participant of this segment. #[prost(message, optional, tag="9")] pub segment_participant: ::core::option::Option, - /// CCAI metadata relating to the current transcript segment. + /// CCAI metadata relating to the current transcript segment. #[prost(message, optional, tag="10")] pub dialogflow_segment_metadata: ::core::option::Option, - /// The sentiment for this transcript segment. + /// The sentiment for this transcript segment. #[prost(message, optional, tag="11")] pub sentiment: ::core::option::Option, } /// Nested message and enum types in `TranscriptSegment`. pub mod transcript_segment { - /// Word-level info for words in a transcript. + /// Word-level info for words in a transcript. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WordInfo { - /// Time offset of the start of this word relative to the beginning of - /// the total conversation. + /// Time offset of the start of this word relative to the beginning of + /// the total conversation. #[prost(message, optional, tag="1")] pub start_offset: ::core::option::Option<::prost_types::Duration>, - /// Time offset of the end of this word relative to the beginning of the - /// total conversation. + /// Time offset of the end of this word relative to the beginning of the + /// total conversation. #[prost(message, optional, tag="2")] pub end_offset: ::core::option::Option<::prost_types::Duration>, - /// The word itself. Includes punctuation marks that surround the word. + /// The word itself. Includes punctuation marks that surround the word. #[prost(string, tag="3")] pub word: ::prost::alloc::string::String, - /// A confidence estimate between 0.0 and 1.0 of the fidelity of this - /// word. A default value of 0.0 indicates that the value is unset. + /// A confidence estimate between 0.0 and 1.0 of the fidelity of this + /// word. A default value of 0.0 indicates that the value is unset. #[prost(float, tag="4")] pub confidence: f32, } - /// Metadata from Dialogflow relating to the current transcript segment. + /// Metadata from Dialogflow relating to the current transcript segment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogflowSegmentMetadata { - /// Whether the transcript segment was covered under the configured smart - /// reply allowlist in Agent Assist. + /// Whether the transcript segment was covered under the configured smart + /// reply allowlist in Agent Assist. #[prost(bool, tag="1")] pub smart_reply_allowlist_covered: bool, } } } - /// Possible media for the conversation. + /// Possible media for the conversation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Medium { - /// Default value, if unspecified will default to PHONE_CALL. + /// Default value, if unspecified will default to PHONE_CALL. Unspecified = 0, - /// The format for conversations that took place over the phone. + /// The format for conversations that took place over the phone. PhoneCall = 1, - /// The format for conversations that took place over chat. + /// The format for conversations that took place over chat. Chat = 2, } impl Medium { @@ -179,337 +179,337 @@ pub mod conversation { } } } - /// Metadata that applies to the conversation. + /// Metadata that applies to the conversation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Call-specific metadata. + /// Call-specific metadata. #[prost(message, tag="7")] CallMetadata(CallMetadata), } - /// A time to live expiration setting, can be either a specified timestamp or a - /// duration from the time that the conversation creation request was received. - /// Conversations with an expiration set will be removed up to 24 hours after - /// the specified time. + /// A time to live expiration setting, can be either a specified timestamp or a + /// duration from the time that the conversation creation request was received. + /// Conversations with an expiration set will be removed up to 24 hours after + /// the specified time. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expiration { - /// The time at which this conversation should expire. After this time, the - /// conversation data and any associated analyses will be deleted. + /// The time at which this conversation should expire. After this time, the + /// conversation data and any associated analyses will be deleted. #[prost(message, tag="15")] ExpireTime(::prost_types::Timestamp), - /// Input only. The TTL for this resource. If specified, then this TTL will - /// be used to calculate the expire time. + /// Input only. The TTL for this resource. If specified, then this TTL will + /// be used to calculate the expire time. #[prost(message, tag="16")] Ttl(::prost_types::Duration), } } -/// The analysis resource. +/// The analysis resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Analysis { - /// Immutable. The resource name of the analysis. - /// Format: - /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} + /// Immutable. The resource name of the analysis. + /// Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/analyses/{analysis} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The time at which the analysis was requested. + /// Output only. The time at which the analysis was requested. #[prost(message, optional, tag="2")] pub request_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time at which the analysis was created, which occurs when the - /// long-running operation completes. + /// Output only. The time at which the analysis was created, which occurs when the + /// long-running operation completes. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The result of the analysis, which is populated when the analysis - /// finishes. + /// Output only. The result of the analysis, which is populated when the analysis + /// finishes. #[prost(message, optional, tag="7")] pub analysis_result: ::core::option::Option, } -/// The conversation source, which is a combination of transcript and audio. +/// The conversation source, which is a combination of transcript and audio. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversationDataSource { - /// The source of the conversation. + /// The source of the conversation. #[prost(oneof="conversation_data_source::Source", tags="1, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `ConversationDataSource`. pub mod conversation_data_source { - /// The source of the conversation. + /// The source of the conversation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// A Cloud Storage location specification for the audio and transcript. + /// A Cloud Storage location specification for the audio and transcript. #[prost(message, tag="1")] GcsSource(super::GcsSource), - /// The source when the conversation comes from Dialogflow. + /// The source when the conversation comes from Dialogflow. #[prost(message, tag="3")] DialogflowSource(super::DialogflowSource), } } -/// A Cloud Storage source of conversation data. +/// A Cloud Storage source of conversation data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Cloud Storage URI that points to a file that contains the conversation - /// audio. + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. #[prost(string, tag="1")] pub audio_uri: ::prost::alloc::string::String, - /// Immutable. Cloud Storage URI that points to a file that contains the conversation - /// transcript. + /// Immutable. Cloud Storage URI that points to a file that contains the conversation + /// transcript. #[prost(string, tag="2")] pub transcript_uri: ::prost::alloc::string::String, } -/// A Dialogflow source of conversation data. +/// A Dialogflow source of conversation data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogflowSource { - /// Output only. The name of the Dialogflow conversation that this conversation - /// resource is derived from. Format: - /// projects/{project}/locations/{location}/conversations/{conversation} + /// Output only. The name of the Dialogflow conversation that this conversation + /// resource is derived from. Format: + /// projects/{project}/locations/{location}/conversations/{conversation} #[prost(string, tag="1")] pub dialogflow_conversation: ::prost::alloc::string::String, - /// Cloud Storage URI that points to a file that contains the conversation - /// audio. + /// Cloud Storage URI that points to a file that contains the conversation + /// audio. #[prost(string, tag="3")] pub audio_uri: ::prost::alloc::string::String, } -/// The result of an analysis. +/// The result of an analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalysisResult { - /// The time at which the analysis ended. + /// The time at which the analysis ended. #[prost(message, optional, tag="1")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Metadata discovered during analysis. + /// Metadata discovered during analysis. #[prost(oneof="analysis_result::Metadata", tags="2")] pub metadata: ::core::option::Option, } /// Nested message and enum types in `AnalysisResult`. pub mod analysis_result { - /// Call-specific metadata created during analysis. + /// Call-specific metadata created during analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAnalysisMetadata { - /// A list of call annotations that apply to this call. + /// A list of call annotations that apply to this call. #[prost(message, repeated, tag="2")] pub annotations: ::prost::alloc::vec::Vec, - /// All the entities in the call. + /// All the entities in the call. #[prost(map="string, message", tag="3")] pub entities: ::std::collections::HashMap<::prost::alloc::string::String, super::Entity>, - /// Overall conversation-level sentiment for each channel of the call. + /// Overall conversation-level sentiment for each channel of the call. #[prost(message, repeated, tag="4")] pub sentiments: ::prost::alloc::vec::Vec, - /// All the matched intents in the call. + /// All the matched intents in the call. #[prost(map="string, message", tag="6")] pub intents: ::std::collections::HashMap<::prost::alloc::string::String, super::Intent>, - /// All the matched phrase matchers in the call. + /// All the matched phrase matchers in the call. #[prost(map="string, message", tag="7")] pub phrase_matchers: ::std::collections::HashMap<::prost::alloc::string::String, super::PhraseMatchData>, - /// Overall conversation-level issue modeling result. + /// Overall conversation-level issue modeling result. #[prost(message, optional, tag="8")] pub issue_model_result: ::core::option::Option, } - /// Metadata discovered during analysis. + /// Metadata discovered during analysis. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metadata { - /// Call-specific metadata created by the analysis. + /// Call-specific metadata created by the analysis. #[prost(message, tag="2")] CallAnalysisMetadata(CallAnalysisMetadata), } } -/// Issue Modeling result on a conversation. +/// Issue Modeling result on a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueModelResult { - /// Issue model that generates the result. - /// Format: projects/{project}/locations/{location}/issueModels/{issue_model} + /// Issue model that generates the result. + /// Format: projects/{project}/locations/{location}/issueModels/{issue_model} #[prost(string, tag="1")] pub issue_model: ::prost::alloc::string::String, - /// All the matched issues. + /// All the matched issues. #[prost(message, repeated, tag="2")] pub issues: ::prost::alloc::vec::Vec, } -/// One channel of conversation-level sentiment data. +/// One channel of conversation-level sentiment data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversationLevelSentiment { - /// The channel of the audio that the data applies to. + /// The channel of the audio that the data applies to. #[prost(int32, tag="1")] pub channel_tag: i32, - /// Data specifying sentiment. + /// Data specifying sentiment. #[prost(message, optional, tag="2")] pub sentiment_data: ::core::option::Option, } -/// Information about the issue. +/// Information about the issue. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueAssignment { - /// Resource name of the assigned issue. + /// Resource name of the assigned issue. #[prost(string, tag="1")] pub issue: ::prost::alloc::string::String, - /// Score indicating the likelihood of the issue assignment. - /// currently bounded on \[0,1\]. + /// Score indicating the likelihood of the issue assignment. + /// currently bounded on \[0,1\]. #[prost(double, tag="2")] pub score: f64, - /// Immutable. Display name of the assigned issue. This field is set at time of analyis - /// and immutable since then. + /// Immutable. Display name of the assigned issue. This field is set at time of analyis + /// and immutable since then. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, } -/// A piece of metadata that applies to a window of a call. +/// A piece of metadata that applies to a window of a call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CallAnnotation { - /// The channel of the audio where the annotation occurs. For single-channel - /// audio, this field is not populated. + /// The channel of the audio where the annotation occurs. For single-channel + /// audio, this field is not populated. #[prost(int32, tag="1")] pub channel_tag: i32, - /// The boundary in the conversation where the annotation starts, inclusive. + /// The boundary in the conversation where the annotation starts, inclusive. #[prost(message, optional, tag="4")] pub annotation_start_boundary: ::core::option::Option, - /// The boundary in the conversation where the annotation ends, inclusive. + /// The boundary in the conversation where the annotation ends, inclusive. #[prost(message, optional, tag="5")] pub annotation_end_boundary: ::core::option::Option, - /// The data in the annotation. + /// The data in the annotation. #[prost(oneof="call_annotation::Data", tags="10, 11, 12, 13, 15, 16, 17")] pub data: ::core::option::Option, } /// Nested message and enum types in `CallAnnotation`. pub mod call_annotation { - /// The data in the annotation. + /// The data in the annotation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Data specifying an interruption. + /// Data specifying an interruption. #[prost(message, tag="10")] InterruptionData(super::InterruptionData), - /// Data specifying sentiment. + /// Data specifying sentiment. #[prost(message, tag="11")] SentimentData(super::SentimentData), - /// Data specifying silence. + /// Data specifying silence. #[prost(message, tag="12")] SilenceData(super::SilenceData), - /// Data specifying a hold. + /// Data specifying a hold. #[prost(message, tag="13")] HoldData(super::HoldData), - /// Data specifying an entity mention. + /// Data specifying an entity mention. #[prost(message, tag="15")] EntityMentionData(super::EntityMentionData), - /// Data specifying an intent match. + /// Data specifying an intent match. #[prost(message, tag="16")] IntentMatchData(super::IntentMatchData), - /// Data specifying a phrase match. + /// Data specifying a phrase match. #[prost(message, tag="17")] PhraseMatchData(super::PhraseMatchData), } } -/// A point in a conversation that marks the start or the end of an annotation. +/// A point in a conversation that marks the start or the end of an annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationBoundary { - /// The index in the sequence of transcribed pieces of the conversation where - /// the boundary is located. This index starts at zero. + /// The index in the sequence of transcribed pieces of the conversation where + /// the boundary is located. This index starts at zero. #[prost(int32, tag="1")] pub transcript_index: i32, - /// A detailed boundary, which describes a more specific point. + /// A detailed boundary, which describes a more specific point. #[prost(oneof="annotation_boundary::DetailedBoundary", tags="3")] pub detailed_boundary: ::core::option::Option, } /// Nested message and enum types in `AnnotationBoundary`. pub mod annotation_boundary { - /// A detailed boundary, which describes a more specific point. + /// A detailed boundary, which describes a more specific point. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DetailedBoundary { - /// The word index of this boundary with respect to the first word in the - /// transcript piece. This index starts at zero. + /// The word index of this boundary with respect to the first word in the + /// transcript piece. This index starts at zero. #[prost(int32, tag="3")] WordIndex(i32), } } -/// The data for an entity annotation. -/// Represents a phrase in the conversation that is a known entity, such -/// as a person, an organization, or location. +/// The data for an entity annotation. +/// Represents a phrase in the conversation that is a known entity, such +/// as a person, an organization, or location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// The representative name for the entity. + /// The representative name for the entity. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// The entity type. + /// The entity type. #[prost(enumeration="entity::Type", tag="2")] pub r#type: i32, - /// Metadata associated with the entity. + /// Metadata associated with the entity. /// - /// For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) - /// and Knowledge Graph MID (`mid`), if they are available. For the metadata - /// associated with other entity types, see the Type table below. + /// For most entity types, the metadata is a Wikipedia URL (`wikipedia_url`) + /// and Knowledge Graph MID (`mid`), if they are available. For the metadata + /// associated with other entity types, see the Type table below. #[prost(map="string, string", tag="3")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The salience score associated with the entity in the [0, 1.0] range. + /// The salience score associated with the entity in the [0, 1.0] range. /// - /// The salience score for an entity provides information about the - /// importance or centrality of that entity to the entire document text. - /// Scores closer to 0 are less salient, while scores closer to 1.0 are highly - /// salient. + /// The salience score for an entity provides information about the + /// importance or centrality of that entity to the entire document text. + /// Scores closer to 0 are less salient, while scores closer to 1.0 are highly + /// salient. #[prost(float, tag="4")] pub salience: f32, - /// The aggregate sentiment expressed for this entity in the conversation. + /// The aggregate sentiment expressed for this entity in the conversation. #[prost(message, optional, tag="5")] pub sentiment: ::core::option::Option, } /// Nested message and enum types in `Entity`. pub mod entity { - /// The type of the entity. For most entity types, the associated metadata is a - /// Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table - /// below lists the associated fields for entities that have different - /// metadata. + /// The type of the entity. For most entity types, the associated metadata is a + /// Wikipedia URL (`wikipedia_url`) and Knowledge Graph MID (`mid`). The table + /// below lists the associated fields for entities that have different + /// metadata. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Person. + /// Person. Person = 1, - /// Location. + /// Location. Location = 2, - /// Organization. + /// Organization. Organization = 3, - /// Event. + /// Event. Event = 4, - /// Artwork. + /// Artwork. WorkOfArt = 5, - /// Consumer product. + /// Consumer product. ConsumerGood = 6, - /// Other types of entities. + /// Other types of entities. Other = 7, - /// Phone number. + /// Phone number. /// - /// The metadata lists the phone number (formatted according to local - /// convention), plus whichever additional elements appear in the text: + /// The metadata lists the phone number (formatted according to local + /// convention), plus whichever additional elements appear in the text: /// - /// * `number` - The actual number, broken down into sections according to - /// local convention. - /// * `national_prefix` - Country code, if detected. - /// * `area_code` - Region or area code, if detected. - /// * `extension` - Phone extension (to be dialed after connection), if - /// detected. + /// * `number` - The actual number, broken down into sections according to + /// local convention. + /// * `national_prefix` - Country code, if detected. + /// * `area_code` - Region or area code, if detected. + /// * `extension` - Phone extension (to be dialed after connection), if + /// detected. PhoneNumber = 9, - /// Address. + /// Address. /// - /// The metadata identifies the street number and locality plus whichever - /// additional elements appear in the text: + /// The metadata identifies the street number and locality plus whichever + /// additional elements appear in the text: /// - /// * `street_number` - Street number. - /// * `locality` - City or town. - /// * `street_name` - Street/route name, if detected. - /// * `postal_code` - Postal code, if detected. - /// * `country` - Country, if detected. - /// * `broad_region` - Administrative area, such as the state, if detected. - /// * `narrow_region` - Smaller administrative area, such as county, if - /// detected. - /// * `sublocality` - Used in Asian addresses to demark a district within a - /// city, if detected. + /// * `street_number` - Street number. + /// * `locality` - City or town. + /// * `street_name` - Street/route name, if detected. + /// * `postal_code` - Postal code, if detected. + /// * `country` - Country, if detected. + /// * `broad_region` - Administrative area, such as the state, if detected. + /// * `narrow_region` - Smaller administrative area, such as county, if + /// detected. + /// * `sublocality` - Used in Asian addresses to demark a district within a + /// city, if detected. Address = 10, - /// Date. + /// Date. /// - /// The metadata identifies the components of the date: + /// The metadata identifies the components of the date: /// - /// * `year` - Four digit year, if detected. - /// * `month` - Two digit month number, if detected. - /// * `day` - Two digit day number, if detected. + /// * `year` - Four digit year, if detected. + /// * `month` - Two digit month number, if detected. + /// * `day` - Two digit day number, if detected. Date = 11, - /// Number. + /// Number. /// - /// The metadata is the number itself. + /// The metadata is the number itself. Number = 12, - /// Price. + /// Price. /// - /// The metadata identifies the `value` and `currency`. + /// The metadata identifies the `value` and `currency`. Price = 13, } impl Type { @@ -536,74 +536,74 @@ pub mod entity { } } } -/// The data for an intent. -/// Represents a detected intent in the conversation, for example MAKES_PROMISE. +/// The data for an intent. +/// Represents a detected intent in the conversation, for example MAKES_PROMISE. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intent { - /// The unique identifier of the intent. + /// The unique identifier of the intent. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The human-readable name of the intent. + /// The human-readable name of the intent. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, } -/// The data for a matched phrase matcher. -/// Represents information identifying a phrase matcher for a given match. +/// The data for a matched phrase matcher. +/// Represents information identifying a phrase matcher for a given match. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhraseMatchData { - /// The unique identifier (the resource name) of the phrase matcher. + /// The unique identifier (the resource name) of the phrase matcher. #[prost(string, tag="1")] pub phrase_matcher: ::prost::alloc::string::String, - /// The human-readable name of the phrase matcher. + /// The human-readable name of the phrase matcher. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, } -/// The data for a Dialogflow intent. -/// Represents a detected intent in the conversation, e.g. MAKES_PROMISE. +/// The data for a Dialogflow intent. +/// Represents a detected intent in the conversation, e.g. MAKES_PROMISE. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogflowIntent { - /// The human-readable name of the intent. + /// The human-readable name of the intent. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, } -/// The data for an interruption annotation. +/// The data for an interruption annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterruptionData { } -/// The data for a silence annotation. +/// The data for a silence annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SilenceData { } -/// The data for a hold annotation. +/// The data for a hold annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HoldData { } -/// The data for an entity mention annotation. -/// This represents a mention of an `Entity` in the conversation. +/// The data for an entity mention annotation. +/// This represents a mention of an `Entity` in the conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityMentionData { - /// The key of this entity in conversation entities. - /// Can be used to retrieve the exact `Entity` this mention is attached to. + /// The key of this entity in conversation entities. + /// Can be used to retrieve the exact `Entity` this mention is attached to. #[prost(string, tag="1")] pub entity_unique_id: ::prost::alloc::string::String, - /// The type of the entity mention. + /// The type of the entity mention. #[prost(enumeration="entity_mention_data::MentionType", tag="2")] pub r#type: i32, - /// Sentiment expressed for this mention of the entity. + /// Sentiment expressed for this mention of the entity. #[prost(message, optional, tag="3")] pub sentiment: ::core::option::Option, } /// Nested message and enum types in `EntityMentionData`. pub mod entity_mention_data { - /// The supported types of mentions. + /// The supported types of mentions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MentionType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Proper noun. + /// Proper noun. Proper = 1, - /// Common noun (or noun compound). + /// Common noun (or noun compound). Common = 2, } impl MentionType { @@ -620,90 +620,90 @@ pub mod entity_mention_data { } } } -/// The data for an intent match. -/// Represents an intent match for a text segment in the conversation. A text -/// segment can be part of a sentence, a complete sentence, or an utterance -/// with multiple sentences. +/// The data for an intent match. +/// Represents an intent match for a text segment in the conversation. A text +/// segment can be part of a sentence, a complete sentence, or an utterance +/// with multiple sentences. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentMatchData { - /// The id of the matched intent. - /// Can be used to retrieve the corresponding intent information. + /// The id of the matched intent. + /// Can be used to retrieve the corresponding intent information. #[prost(string, tag="1")] pub intent_unique_id: ::prost::alloc::string::String, } -/// The data for a sentiment annotation. +/// The data for a sentiment annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SentimentData { - /// A non-negative number from 0 to infinity which represents the abolute - /// magnitude of sentiment regardless of score. + /// A non-negative number from 0 to infinity which represents the abolute + /// magnitude of sentiment regardless of score. #[prost(float, tag="1")] pub magnitude: f32, - /// The sentiment score between -1.0 (negative) and 1.0 (positive). + /// The sentiment score between -1.0 (negative) and 1.0 (positive). #[prost(float, tag="2")] pub score: f32, } -/// The issue model resource. +/// The issue model resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueModel { - /// Immutable. The resource name of the issue model. - /// Format: - /// projects/{project}/locations/{location}/issueModels/{issue_model} + /// Immutable. The resource name of the issue model. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The representative name for the issue model. + /// The representative name for the issue model. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The time at which this issue model was created. + /// Output only. The time at which this issue model was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The most recent time at which the issue model was updated. + /// Output only. The most recent time at which the issue model was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. State of the model. + /// Output only. State of the model. #[prost(enumeration="issue_model::State", tag="5")] pub state: i32, - /// Configs for the input data that used to create the issue model. + /// Configs for the input data that used to create the issue model. #[prost(message, optional, tag="6")] pub input_data_config: ::core::option::Option, - /// Output only. Immutable. The issue model's label statistics on its training data. + /// Output only. Immutable. The issue model's label statistics on its training data. #[prost(message, optional, tag="7")] pub training_stats: ::core::option::Option, } /// Nested message and enum types in `IssueModel`. pub mod issue_model { - /// Configs for the input data used to create the issue model. + /// Configs for the input data used to create the issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputDataConfig { - /// Medium of conversations used in training data. This field is being - /// deprecated. To specify the medium to be used in training a new issue - /// model, set the `medium` field on `filter`. + /// Medium of conversations used in training data. This field is being + /// deprecated. To specify the medium to be used in training a new issue + /// model, set the `medium` field on `filter`. #[deprecated] #[prost(enumeration="super::conversation::Medium", tag="1")] pub medium: i32, - /// Output only. Number of conversations used in training. Output only. + /// Output only. Number of conversations used in training. Output only. #[prost(int64, tag="2")] pub training_conversations_count: i64, - /// A filter to reduce the conversations used for training the model to a - /// specific subset. + /// A filter to reduce the conversations used for training the model to a + /// specific subset. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, } - /// State of the model. + /// State of the model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Model is not deployed but is ready to deploy. + /// Model is not deployed but is ready to deploy. Undeployed = 1, - /// Model is being deployed. + /// Model is being deployed. Deploying = 2, - /// Model is deployed and is ready to be used. A model can only be used in - /// analysis if it's in this state. + /// Model is deployed and is ready to be used. A model can only be used in + /// analysis if it's in this state. Deployed = 3, - /// Model is being undeployed. + /// Model is being undeployed. Undeploying = 4, - /// Model is being deleted. + /// Model is being deleted. Deleting = 5, } impl State { @@ -723,114 +723,114 @@ pub mod issue_model { } } } -/// The issue resource. +/// The issue resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Issue { - /// Immutable. The resource name of the issue. - /// Format: - /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// Immutable. The resource name of the issue. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The representative name for the issue. + /// The representative name for the issue. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The time at which this issue was created. + /// Output only. The time at which this issue was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The most recent time that this issue was updated. + /// Output only. The most recent time that this issue was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Aggregated statistics about an issue model. +/// Aggregated statistics about an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueModelLabelStats { - /// Number of conversations the issue model has analyzed at this point in time. + /// Number of conversations the issue model has analyzed at this point in time. #[prost(int64, tag="1")] pub analyzed_conversations_count: i64, - /// Number of analyzed conversations for which no issue was applicable at this - /// point in time. + /// Number of analyzed conversations for which no issue was applicable at this + /// point in time. #[prost(int64, tag="2")] pub unclassified_conversations_count: i64, - /// Statistics on each issue. Key is the issue's resource name. + /// Statistics on each issue. Key is the issue's resource name. #[prost(map="string, message", tag="3")] pub issue_stats: ::std::collections::HashMap<::prost::alloc::string::String, issue_model_label_stats::IssueStats>, } /// Nested message and enum types in `IssueModelLabelStats`. pub mod issue_model_label_stats { - /// Aggregated statistics about an issue. + /// Aggregated statistics about an issue. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IssueStats { - /// Issue resource. - /// Format: - /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} + /// Issue resource. + /// Format: + /// projects/{project}/locations/{location}/issueModels/{issue_model}/issues/{issue} #[prost(string, tag="1")] pub issue: ::prost::alloc::string::String, - /// Number of conversations attached to the issue at this point in time. + /// Number of conversations attached to the issue at this point in time. #[prost(int64, tag="2")] pub labeled_conversations_count: i64, - /// Display name of the issue. + /// Display name of the issue. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, } } -/// The phrase matcher resource. +/// The phrase matcher resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhraseMatcher { - /// The resource name of the phrase matcher. - /// Format: - /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} + /// The resource name of the phrase matcher. + /// Format: + /// projects/{project}/locations/{location}/phraseMatchers/{phrase_matcher} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Immutable. The revision ID of the phrase matcher. - /// A new revision is committed whenever the matcher is changed, except when it - /// is activated or deactivated. A server generated random ID will be used. - /// Example: locations/global/phraseMatchers/my-first-matcher@1234567 + /// Output only. Immutable. The revision ID of the phrase matcher. + /// A new revision is committed whenever the matcher is changed, except when it + /// is activated or deactivated. A server generated random ID will be used. + /// Example: locations/global/phraseMatchers/my-first-matcher@1234567 #[prost(string, tag="2")] pub revision_id: ::prost::alloc::string::String, - /// The customized version tag to use for the phrase matcher. If not specified, - /// it will default to `revision_id`. + /// The customized version tag to use for the phrase matcher. If not specified, + /// it will default to `revision_id`. #[prost(string, tag="3")] pub version_tag: ::prost::alloc::string::String, - /// Output only. The timestamp of when the revision was created. It is also the create time - /// when a new matcher is added. + /// Output only. The timestamp of when the revision was created. It is also the create time + /// when a new matcher is added. #[prost(message, optional, tag="4")] pub revision_create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The human-readable name of the phrase matcher. + /// The human-readable name of the phrase matcher. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. The type of this phrase matcher. + /// Required. The type of this phrase matcher. #[prost(enumeration="phrase_matcher::PhraseMatcherType", tag="6")] pub r#type: i32, - /// Applies the phrase matcher only when it is active. + /// Applies the phrase matcher only when it is active. #[prost(bool, tag="7")] pub active: bool, - /// A list of phase match rule groups that are included in this matcher. + /// A list of phase match rule groups that are included in this matcher. #[prost(message, repeated, tag="8")] pub phrase_match_rule_groups: ::prost::alloc::vec::Vec, - /// Output only. The most recent time at which the activation status was updated. + /// Output only. The most recent time at which the activation status was updated. #[prost(message, optional, tag="9")] pub activation_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The role whose utterances the phrase matcher should be matched - /// against. If the role is ROLE_UNSPECIFIED it will be matched against any - /// utterances in the transcript. + /// The role whose utterances the phrase matcher should be matched + /// against. If the role is ROLE_UNSPECIFIED it will be matched against any + /// utterances in the transcript. #[prost(enumeration="conversation_participant::Role", tag="10")] pub role_match: i32, - /// Output only. The most recent time at which the phrase matcher was updated. + /// Output only. The most recent time at which the phrase matcher was updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `PhraseMatcher`. pub mod phrase_matcher { - /// Specifies how to combine each phrase match rule group to determine whether - /// there is a match. + /// Specifies how to combine each phrase match rule group to determine whether + /// there is a match. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PhraseMatcherType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Must meet all phrase match rule groups or there is no match. + /// Must meet all phrase match rule groups or there is no match. AllOf = 1, - /// If any of the phrase match rule groups are met, there is a match. + /// If any of the phrase match rule groups are met, there is a match. AnyOf = 2, } impl PhraseMatcherType { @@ -847,28 +847,28 @@ pub mod phrase_matcher { } } } -/// A message representing a rule in the phrase matcher. +/// A message representing a rule in the phrase matcher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhraseMatchRuleGroup { - /// Required. The type of this phrase match rule group. + /// Required. The type of this phrase match rule group. #[prost(enumeration="phrase_match_rule_group::PhraseMatchRuleGroupType", tag="1")] pub r#type: i32, - /// A list of phase match rules that are included in this group. + /// A list of phase match rules that are included in this group. #[prost(message, repeated, tag="2")] pub phrase_match_rules: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `PhraseMatchRuleGroup`. pub mod phrase_match_rule_group { - /// Specifies how to combine each phrase match rule for whether there is a - /// match. + /// Specifies how to combine each phrase match rule for whether there is a + /// match. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PhraseMatchRuleGroupType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Must meet all phrase match rules or there is no match. + /// Must meet all phrase match rules or there is no match. AllOf = 1, - /// If any of the phrase match rules are met, there is a match. + /// If any of the phrase match rules are met, there is a match. AnyOf = 2, } impl PhraseMatchRuleGroupType { @@ -885,176 +885,176 @@ pub mod phrase_match_rule_group { } } } -/// The data for a phrase match rule. +/// The data for a phrase match rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhraseMatchRule { - /// Required. The phrase to be matched. + /// Required. The phrase to be matched. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Specifies whether the phrase must be missing from the transcript segment or - /// present in the transcript segment. + /// Specifies whether the phrase must be missing from the transcript segment or + /// present in the transcript segment. #[prost(bool, tag="2")] pub negated: bool, - /// Provides additional information about the rule that specifies how to apply - /// the rule. + /// Provides additional information about the rule that specifies how to apply + /// the rule. #[prost(message, optional, tag="3")] pub config: ::core::option::Option, } -/// Configuration information of a phrase match rule. +/// Configuration information of a phrase match rule. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhraseMatchRuleConfig { - /// The configuration of the phrase match rule. + /// The configuration of the phrase match rule. #[prost(oneof="phrase_match_rule_config::Config", tags="1")] pub config: ::core::option::Option, } /// Nested message and enum types in `PhraseMatchRuleConfig`. pub mod phrase_match_rule_config { - /// The configuration of the phrase match rule. + /// The configuration of the phrase match rule. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// The configuration for the exact match rule. + /// The configuration for the exact match rule. #[prost(message, tag="1")] ExactMatchConfig(super::ExactMatchConfig), } } -/// Exact match configuration. +/// Exact match configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExactMatchConfig { - /// Whether to consider case sensitivity when performing an exact match. + /// Whether to consider case sensitivity when performing an exact match. #[prost(bool, tag="1")] pub case_sensitive: bool, } -/// The settings resource. +/// The settings resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Settings { - /// Immutable. The resource name of the settings resource. - /// Format: - /// projects/{project}/locations/{location}/settings + /// Immutable. The resource name of the settings resource. + /// Format: + /// projects/{project}/locations/{location}/settings #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The time at which the settings was created. + /// Output only. The time at which the settings was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time at which the settings were last updated. + /// Output only. The time at which the settings were last updated. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// A language code to be applied to each transcript segment unless the segment - /// already specifies a language code. Language code defaults to "en-US" if it - /// is neither specified on the segment nor here. + /// A language code to be applied to each transcript segment unless the segment + /// already specifies a language code. Language code defaults to "en-US" if it + /// is neither specified on the segment nor here. #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// The default TTL for newly-created conversations. If a conversation has a - /// specified expiration, that value will be used instead. Changing this - /// value will not change the expiration of existing conversations. - /// Conversations with no expire time persist until they are deleted. + /// The default TTL for newly-created conversations. If a conversation has a + /// specified expiration, that value will be used instead. Changing this + /// value will not change the expiration of existing conversations. + /// Conversations with no expire time persist until they are deleted. #[prost(message, optional, tag="5")] pub conversation_ttl: ::core::option::Option<::prost_types::Duration>, - /// A map that maps a notification trigger to a Pub/Sub topic. Each time a - /// specified trigger occurs, Insights will notify the corresponding Pub/Sub - /// topic. + /// A map that maps a notification trigger to a Pub/Sub topic. Each time a + /// specified trigger occurs, Insights will notify the corresponding Pub/Sub + /// topic. /// - /// Keys are notification triggers. Supported keys are: + /// Keys are notification triggers. Supported keys are: /// - /// * "all-triggers": Notify each time any of the supported triggers occurs. - /// * "create-analysis": Notify each time an analysis is created. - /// * "create-conversation": Notify each time a conversation is created. - /// * "export-insights-data": Notify each time an export is complete. - /// * "update-conversation": Notify each time a conversation is updated via - /// UpdateConversation. + /// * "all-triggers": Notify each time any of the supported triggers occurs. + /// * "create-analysis": Notify each time an analysis is created. + /// * "create-conversation": Notify each time a conversation is created. + /// * "export-insights-data": Notify each time an export is complete. + /// * "update-conversation": Notify each time a conversation is updated via + /// UpdateConversation. /// - /// Values are Pub/Sub topics. The format of each Pub/Sub topic is: - /// projects/{project}/topics/{topic} + /// Values are Pub/Sub topics. The format of each Pub/Sub topic is: + /// projects/{project}/topics/{topic} #[prost(map="string, string", tag="6")] pub pubsub_notification_settings: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Default analysis settings. + /// Default analysis settings. #[prost(message, optional, tag="7")] pub analysis_config: ::core::option::Option, } /// Nested message and enum types in `Settings`. pub mod settings { - /// Default configuration when creating Analyses in Insights. + /// Default configuration when creating Analyses in Insights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnalysisConfig { - /// Percentage of conversations created using Dialogflow runtime integration - /// to analyze automatically, between [0, 100]. + /// Percentage of conversations created using Dialogflow runtime integration + /// to analyze automatically, between [0, 100]. #[prost(double, tag="1")] pub runtime_integration_analysis_percentage: f64, } } -/// An annotation that was generated during the customer and agent interaction. +/// An annotation that was generated during the customer and agent interaction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeAnnotation { - /// The unique identifier of the annotation. - /// Format: - /// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} + /// The unique identifier of the annotation. + /// Format: + /// projects/{project}/locations/{location}/conversationDatasets/{dataset}/conversationDataItems/{data_item}/conversationAnnotations/{annotation} #[prost(string, tag="1")] pub annotation_id: ::prost::alloc::string::String, - /// The time at which this annotation was created. + /// The time at which this annotation was created. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The boundary in the conversation where the annotation starts, inclusive. + /// The boundary in the conversation where the annotation starts, inclusive. #[prost(message, optional, tag="3")] pub start_boundary: ::core::option::Option, - /// The boundary in the conversation where the annotation ends, inclusive. + /// The boundary in the conversation where the annotation ends, inclusive. #[prost(message, optional, tag="4")] pub end_boundary: ::core::option::Option, - /// The feedback that the customer has about the answer in `data`. + /// The feedback that the customer has about the answer in `data`. #[prost(message, optional, tag="5")] pub answer_feedback: ::core::option::Option, - /// The data in the annotation. + /// The data in the annotation. #[prost(oneof="runtime_annotation::Data", tags="6, 7, 8, 9, 10")] pub data: ::core::option::Option, } /// Nested message and enum types in `RuntimeAnnotation`. pub mod runtime_annotation { - /// The data in the annotation. + /// The data in the annotation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Agent Assist Article Suggestion data. + /// Agent Assist Article Suggestion data. #[prost(message, tag="6")] ArticleSuggestion(super::ArticleSuggestionData), - /// Agent Assist FAQ answer data. + /// Agent Assist FAQ answer data. #[prost(message, tag="7")] FaqAnswer(super::FaqAnswerData), - /// Agent Assist Smart Reply data. + /// Agent Assist Smart Reply data. #[prost(message, tag="8")] SmartReply(super::SmartReplyData), - /// Agent Assist Smart Compose suggestion data. + /// Agent Assist Smart Compose suggestion data. #[prost(message, tag="9")] SmartComposeSuggestion(super::SmartComposeSuggestionData), - /// Dialogflow interaction data. + /// Dialogflow interaction data. #[prost(message, tag="10")] DialogflowInteraction(super::DialogflowInteractionData), } } -/// The feedback that the customer has about a certain answer in the -/// conversation. +/// The feedback that the customer has about a certain answer in the +/// conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnswerFeedback { - /// The correctness level of an answer. + /// The correctness level of an answer. #[prost(enumeration="answer_feedback::CorrectnessLevel", tag="1")] pub correctness_level: i32, - /// Indicates whether an answer or item was clicked by the human agent. + /// Indicates whether an answer or item was clicked by the human agent. #[prost(bool, tag="2")] pub clicked: bool, - /// Indicates whether an answer or item was displayed to the human agent in the - /// agent desktop UI. + /// Indicates whether an answer or item was displayed to the human agent in the + /// agent desktop UI. #[prost(bool, tag="3")] pub displayed: bool, } /// Nested message and enum types in `AnswerFeedback`. pub mod answer_feedback { - /// The correctness level of an answer. + /// The correctness level of an answer. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CorrectnessLevel { - /// Correctness level unspecified. + /// Correctness level unspecified. Unspecified = 0, - /// Answer is totally wrong. + /// Answer is totally wrong. NotCorrect = 1, - /// Answer is partially correct. + /// Answer is partially correct. PartiallyCorrect = 2, - /// Answer is fully correct. + /// Answer is fully correct. FullyCorrect = 3, } impl CorrectnessLevel { @@ -1072,131 +1072,131 @@ pub mod answer_feedback { } } } -/// Agent Assist Article Suggestion data. +/// Agent Assist Article Suggestion data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ArticleSuggestionData { - /// Article title. + /// Article title. #[prost(string, tag="1")] pub title: ::prost::alloc::string::String, - /// Article URI. + /// Article URI. #[prost(string, tag="2")] pub uri: ::prost::alloc::string::String, - /// The system's confidence score that this article is a good match for this - /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely - /// certain). + /// The system's confidence score that this article is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). #[prost(float, tag="3")] pub confidence_score: f32, - /// Map that contains metadata about the Article Suggestion and the document - /// that it originates from. + /// Map that contains metadata about the Article Suggestion and the document + /// that it originates from. #[prost(map="string, string", tag="4")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the answer record. - /// Format: - /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} #[prost(string, tag="5")] pub query_record: ::prost::alloc::string::String, - /// The knowledge document that this answer was extracted from. - /// Format: - /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} + /// The knowledge document that this answer was extracted from. + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document} #[prost(string, tag="6")] pub source: ::prost::alloc::string::String, } -/// Agent Assist frequently-asked-question answer data. +/// Agent Assist frequently-asked-question answer data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FaqAnswerData { - /// The piece of text from the `source` knowledge base document. + /// The piece of text from the `source` knowledge base document. #[prost(string, tag="1")] pub answer: ::prost::alloc::string::String, - /// The system's confidence score that this answer is a good match for this - /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely - /// certain). + /// The system's confidence score that this answer is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). #[prost(float, tag="2")] pub confidence_score: f32, - /// The corresponding FAQ question. + /// The corresponding FAQ question. #[prost(string, tag="3")] pub question: ::prost::alloc::string::String, - /// Map that contains metadata about the FAQ answer and the document that - /// it originates from. + /// Map that contains metadata about the FAQ answer and the document that + /// it originates from. #[prost(map="string, string", tag="4")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the answer record. - /// Format: - /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} #[prost(string, tag="5")] pub query_record: ::prost::alloc::string::String, - /// The knowledge document that this answer was extracted from. - /// Format: - /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. + /// The knowledge document that this answer was extracted from. + /// Format: + /// projects/{project}/knowledgeBases/{knowledge_base}/documents/{document}. #[prost(string, tag="6")] pub source: ::prost::alloc::string::String, } -/// Agent Assist Smart Reply data. +/// Agent Assist Smart Reply data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartReplyData { - /// The content of the reply. + /// The content of the reply. #[prost(string, tag="1")] pub reply: ::prost::alloc::string::String, - /// The system's confidence score that this reply is a good match for this - /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely - /// certain). + /// The system's confidence score that this reply is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). #[prost(double, tag="2")] pub confidence_score: f64, - /// Map that contains metadata about the Smart Reply and the document from - /// which it originates. + /// Map that contains metadata about the Smart Reply and the document from + /// which it originates. #[prost(map="string, string", tag="3")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the answer record. - /// Format: - /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} #[prost(string, tag="4")] pub query_record: ::prost::alloc::string::String, } -/// Agent Assist Smart Compose suggestion data. +/// Agent Assist Smart Compose suggestion data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SmartComposeSuggestionData { - /// The content of the suggestion. + /// The content of the suggestion. #[prost(string, tag="1")] pub suggestion: ::prost::alloc::string::String, - /// The system's confidence score that this suggestion is a good match for this - /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely - /// certain). + /// The system's confidence score that this suggestion is a good match for this + /// conversation, ranging from 0.0 (completely uncertain) to 1.0 (completely + /// certain). #[prost(double, tag="2")] pub confidence_score: f64, - /// Map that contains metadata about the Smart Compose suggestion and the - /// document from which it originates. + /// Map that contains metadata about the Smart Compose suggestion and the + /// document from which it originates. #[prost(map="string, string", tag="3")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The name of the answer record. - /// Format: - /// projects/{project}/locations/{location}/answerRecords/{answer_record} + /// The name of the answer record. + /// Format: + /// projects/{project}/locations/{location}/answerRecords/{answer_record} #[prost(string, tag="4")] pub query_record: ::prost::alloc::string::String, } -/// Dialogflow interaction data. +/// Dialogflow interaction data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DialogflowInteractionData { - /// The Dialogflow intent resource path. Format: - /// projects/{project}/agent/{agent}/intents/{intent} + /// The Dialogflow intent resource path. Format: + /// projects/{project}/agent/{agent}/intents/{intent} #[prost(string, tag="1")] pub dialogflow_intent_id: ::prost::alloc::string::String, - /// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 - /// (completely certain). + /// The confidence of the match ranging from 0.0 (completely uncertain) to 1.0 + /// (completely certain). #[prost(float, tag="2")] pub confidence: f32, } -/// The call participant speaking for a given utterance. +/// The call participant speaking for a given utterance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversationParticipant { - /// Deprecated. Use `dialogflow_participant_name` instead. - /// The name of the Dialogflow participant. Format: - /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// Deprecated. Use `dialogflow_participant_name` instead. + /// The name of the Dialogflow participant. Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} #[deprecated] #[prost(string, tag="1")] pub dialogflow_participant: ::prost::alloc::string::String, - /// Obfuscated user ID from Dialogflow. + /// Obfuscated user ID from Dialogflow. #[prost(string, tag="3")] pub obfuscated_external_user_id: ::prost::alloc::string::String, - /// The role of the participant. + /// The role of the participant. #[prost(enumeration="conversation_participant::Role", tag="2")] pub role: i32, #[prost(oneof="conversation_participant::Participant", tags="5, 6")] @@ -1204,19 +1204,19 @@ pub struct ConversationParticipant { } /// Nested message and enum types in `ConversationParticipant`. pub mod conversation_participant { - /// The role of the participant. + /// The role of the participant. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Role { - /// Participant's role is not set. + /// Participant's role is not set. Unspecified = 0, - /// Participant is a human agent. + /// Participant is a human agent. HumanAgent = 1, - /// Participant is an automated agent. + /// Participant is an automated agent. AutomatedAgent = 2, - /// Participant is an end user who conversed with the contact center. + /// Participant is an end user who conversed with the contact center. EndUser = 3, - /// Participant is either a human or automated agent. + /// Participant is either a human or automated agent. AnyAgent = 4, } impl Role { @@ -1236,322 +1236,322 @@ pub mod conversation_participant { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Participant { - /// The name of the participant provided by Dialogflow. Format: - /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} + /// The name of the participant provided by Dialogflow. Format: + /// projects/{project}/locations/{location}/conversations/{conversation}/participants/{participant} #[prost(string, tag="5")] DialogflowParticipantName(::prost::alloc::string::String), - /// A user-specified ID representing the participant. + /// A user-specified ID representing the participant. #[prost(string, tag="6")] UserId(::prost::alloc::string::String), } } -/// The View resource. +/// The View resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct View { - /// Immutable. The resource name of the view. - /// Format: - /// projects/{project}/locations/{location}/views/{view} + /// Immutable. The resource name of the view. + /// Format: + /// projects/{project}/locations/{location}/views/{view} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The human-readable display name of the view. + /// The human-readable display name of the view. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The time at which this view was created. + /// Output only. The time at which this view was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The most recent time at which the view was updated. + /// Output only. The most recent time at which the view was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// String with specific view properties. + /// String with specific view properties. #[prost(string, tag="5")] pub value: ::prost::alloc::string::String, } -/// The request for calculating conversation statistics. +/// The request for calculating conversation statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateStatsRequest { - /// Required. The location of the conversations. + /// Required. The location of the conversations. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// A filter to reduce results to a specific subset. This field is useful for - /// getting statistics about conversations with specific properties. + /// A filter to reduce results to a specific subset. This field is useful for + /// getting statistics about conversations with specific properties. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, } -/// The response for calculating conversation statistics. +/// The response for calculating conversation statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateStatsResponse { - /// The average duration of all conversations. The average is calculated using - /// only conversations that have a time duration. + /// The average duration of all conversations. The average is calculated using + /// only conversations that have a time duration. #[prost(message, optional, tag="1")] pub average_duration: ::core::option::Option<::prost_types::Duration>, - /// The average number of turns per conversation. + /// The average number of turns per conversation. #[prost(int32, tag="2")] pub average_turn_count: i32, - /// The total number of conversations. + /// The total number of conversations. #[prost(int32, tag="3")] pub conversation_count: i32, - /// A map associating each smart highlighter display name with its respective - /// number of matches in the set of conversations. + /// A map associating each smart highlighter display name with its respective + /// number of matches in the set of conversations. #[prost(map="string, int32", tag="4")] pub smart_highlighter_matches: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// A map associating each custom highlighter resource name with its respective - /// number of matches in the set of conversations. + /// A map associating each custom highlighter resource name with its respective + /// number of matches in the set of conversations. #[prost(map="string, int32", tag="5")] pub custom_highlighter_matches: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// A map associating each issue resource name with its respective number of - /// matches in the set of conversations. Key has the format: - /// `projects//locations//issueModels//issues/` - /// Deprecated, use `issue_matches_stats` field instead. + /// A map associating each issue resource name with its respective number of + /// matches in the set of conversations. Key has the format: + /// `projects//locations//issueModels//issues/` + /// Deprecated, use `issue_matches_stats` field instead. #[prost(map="string, int32", tag="6")] pub issue_matches: ::std::collections::HashMap<::prost::alloc::string::String, i32>, - /// A map associating each issue resource name with its respective number of - /// matches in the set of conversations. Key has the format: - /// `projects//locations//issueModels//issues/` + /// A map associating each issue resource name with its respective number of + /// matches in the set of conversations. Key has the format: + /// `projects//locations//issueModels//issues/` #[prost(map="string, message", tag="8")] pub issue_matches_stats: ::std::collections::HashMap<::prost::alloc::string::String, issue_model_label_stats::IssueStats>, - /// A time series representing the count of conversations created over time - /// that match that requested filter criteria. + /// A time series representing the count of conversations created over time + /// that match that requested filter criteria. #[prost(message, optional, tag="7")] pub conversation_count_time_series: ::core::option::Option, } /// Nested message and enum types in `CalculateStatsResponse`. pub mod calculate_stats_response { - /// A time series representing conversations over time. + /// A time series representing conversations over time. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeSeries { - /// The duration of each interval. + /// The duration of each interval. #[prost(message, optional, tag="1")] pub interval_duration: ::core::option::Option<::prost_types::Duration>, - /// An ordered list of intervals from earliest to latest, where each interval - /// represents the number of conversations that transpired during the time - /// window. + /// An ordered list of intervals from earliest to latest, where each interval + /// represents the number of conversations that transpired during the time + /// window. #[prost(message, repeated, tag="2")] pub points: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `TimeSeries`. pub mod time_series { - /// A single interval in a time series. + /// A single interval in a time series. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Interval { - /// The start time of this interval. + /// The start time of this interval. #[prost(message, optional, tag="1")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The number of conversations created in this interval. + /// The number of conversations created in this interval. #[prost(int32, tag="2")] pub conversation_count: i32, } } } -/// Metadata for a create analysis operation. +/// Metadata for a create analysis operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAnalysisOperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The Conversation that this Analysis Operation belongs to. + /// Output only. The Conversation that this Analysis Operation belongs to. #[prost(string, tag="3")] pub conversation: ::prost::alloc::string::String, } -/// Request to create a conversation. +/// Request to create a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConversationRequest { - /// Required. The parent resource of the conversation. + /// Required. The parent resource of the conversation. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The conversation resource to create. + /// Required. The conversation resource to create. #[prost(message, optional, tag="2")] pub conversation: ::core::option::Option, - /// A unique ID for the new conversation. This ID will become the final - /// component of the conversation's resource name. If no ID is specified, a - /// server-generated ID will be used. + /// A unique ID for the new conversation. This ID will become the final + /// component of the conversation's resource name. If no ID is specified, a + /// server-generated ID will be used. /// - /// This value should be 4-64 characters and must match the regular - /// expression `^\[a-z0-9-\]{4,64}$`. Valid characters are `\[a-z][0-9\]-` + /// This value should be 4-64 characters and must match the regular + /// expression `^\[a-z0-9-\]{4,64}$`. Valid characters are `\[a-z][0-9\]-` #[prost(string, tag="3")] pub conversation_id: ::prost::alloc::string::String, } -/// Request to list conversations. +/// Request to list conversations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversationsRequest { - /// Required. The parent resource of the conversation. + /// Required. The parent resource of the conversation. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of conversations to return in the response. A valid page - /// size ranges from 0 to 1,000 inclusive. If the page size is zero or - /// unspecified, a default page size of 100 will be chosen. Note that a call - /// might return fewer results than the requested page size. + /// The maximum number of conversations to return in the response. A valid page + /// size ranges from 0 to 1,000 inclusive. If the page size is zero or + /// unspecified, a default page size of 100 will be chosen. Note that a call + /// might return fewer results than the requested page size. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListConversationsResponse`. This value - /// indicates that this is a continuation of a prior `ListConversations` call - /// and that the system should return the next page of data. + /// The value returned by the last `ListConversationsResponse`. This value + /// indicates that this is a continuation of a prior `ListConversations` call + /// and that the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter to reduce results to a specific subset. Useful for querying - /// conversations with specific properties. + /// A filter to reduce results to a specific subset. Useful for querying + /// conversations with specific properties. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// The level of details of the conversation. Default is `BASIC`. + /// The level of details of the conversation. Default is `BASIC`. #[prost(enumeration="ConversationView", tag="5")] pub view: i32, } -/// The response of listing conversations. +/// The response of listing conversations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConversationsResponse { - /// The conversations that match the request. + /// The conversations that match the request. #[prost(message, repeated, tag="1")] pub conversations: ::prost::alloc::vec::Vec, - /// A token which can be sent as `page_token` to retrieve the next page. If - /// this field is set, it means there is another page available. If it is not - /// set, it means no other pages are available. + /// A token which can be sent as `page_token` to retrieve the next page. If + /// this field is set, it means there is another page available. If it is not + /// set, it means no other pages are available. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request to get a conversation. +/// The request to get a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConversationRequest { - /// Required. The name of the conversation to get. + /// Required. The name of the conversation to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The level of details of the conversation. Default is `FULL`. + /// The level of details of the conversation. Default is `FULL`. #[prost(enumeration="ConversationView", tag="2")] pub view: i32, } -/// The request to update a conversation. +/// The request to update a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConversationRequest { - /// Required. The new values for the conversation. + /// Required. The new values for the conversation. #[prost(message, optional, tag="1")] pub conversation: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request to delete a conversation. +/// The request to delete a conversation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConversationRequest { - /// Required. The name of the conversation to delete. + /// Required. The name of the conversation to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, all of this conversation's analyses will also be deleted. - /// Otherwise, the request will only succeed if the conversation has no - /// analyses. + /// If set to true, all of this conversation's analyses will also be deleted. + /// Otherwise, the request will only succeed if the conversation has no + /// analyses. #[prost(bool, tag="2")] pub force: bool, } -/// The request to create an analysis. +/// The request to create an analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAnalysisRequest { - /// Required. The parent resource of the analysis. + /// Required. The parent resource of the analysis. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The analysis to create. + /// Required. The analysis to create. #[prost(message, optional, tag="2")] pub analysis: ::core::option::Option, } -/// The request to list analyses. +/// The request to list analyses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnalysesRequest { - /// Required. The parent resource of the analyses. + /// Required. The parent resource of the analyses. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of analyses to return in the response. If this - /// value is zero, the service will select a default size. A call might return - /// fewer objects than requested. A non-empty `next_page_token` in the response - /// indicates that more data is available. + /// The maximum number of analyses to return in the response. If this + /// value is zero, the service will select a default size. A call might return + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListAnalysesResponse`; indicates - /// that this is a continuation of a prior `ListAnalyses` call and - /// the system should return the next page of data. + /// The value returned by the last `ListAnalysesResponse`; indicates + /// that this is a continuation of a prior `ListAnalyses` call and + /// the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter to reduce results to a specific subset. Useful for querying - /// conversations with specific properties. + /// A filter to reduce results to a specific subset. Useful for querying + /// conversations with specific properties. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// The response to list analyses. +/// The response to list analyses. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnalysesResponse { - /// The analyses that match the request. + /// The analyses that match the request. #[prost(message, repeated, tag="1")] pub analyses: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request to get an analysis. +/// The request to get an analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnalysisRequest { - /// Required. The name of the analysis to get. + /// Required. The name of the analysis to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to delete an analysis. +/// The request to delete an analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAnalysisRequest { - /// Required. The name of the analysis to delete. + /// Required. The name of the analysis to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to export insights. +/// The request to export insights. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportInsightsDataRequest { - /// Required. The parent resource to export data from. + /// Required. The parent resource to export data from. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// A filter to reduce results to a specific subset. Useful for exporting - /// conversations with specific properties. + /// A filter to reduce results to a specific subset. Useful for exporting + /// conversations with specific properties. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// A fully qualified KMS key name for BigQuery tables protected by CMEK. - /// Format: - /// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} + /// A fully qualified KMS key name for BigQuery tables protected by CMEK. + /// Format: + /// projects/{project}/locations/{location}/keyRings/{keyring}/cryptoKeys/{key}/cryptoKeyVersions/{version} #[prost(string, tag="4")] pub kms_key: ::prost::alloc::string::String, - /// Options for what to do if the destination table already exists. + /// Options for what to do if the destination table already exists. #[prost(enumeration="export_insights_data_request::WriteDisposition", tag="5")] pub write_disposition: i32, - /// Exporter destination. + /// Exporter destination. #[prost(oneof="export_insights_data_request::Destination", tags="2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportInsightsDataRequest`. pub mod export_insights_data_request { - /// A BigQuery Table Reference. + /// A BigQuery Table Reference. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestination { - /// A project ID or number. If specified, then export will attempt to - /// write data to this project instead of the resource project. Otherwise, - /// the resource project will be used. + /// A project ID or number. If specified, then export will attempt to + /// write data to this project instead of the resource project. Otherwise, + /// the resource project will be used. #[prost(string, tag="3")] pub project_id: ::prost::alloc::string::String, - /// Required. The name of the BigQuery dataset that the snapshot result should be - /// exported to. If this dataset does not exist, the export call returns an - /// INVALID_ARGUMENT error. + /// Required. The name of the BigQuery dataset that the snapshot result should be + /// exported to. If this dataset does not exist, the export call returns an + /// INVALID_ARGUMENT error. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// The BigQuery table name to which the insights data should be written. - /// If this table does not exist, the export call returns an INVALID_ARGUMENT - /// error. + /// The BigQuery table name to which the insights data should be written. + /// If this table does not exist, the export call returns an INVALID_ARGUMENT + /// error. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, } - /// Specifies the action that occurs if the destination table already exists. + /// Specifies the action that occurs if the destination table already exists. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum WriteDisposition { - /// Write disposition is not specified. Defaults to WRITE_TRUNCATE. + /// Write disposition is not specified. Defaults to WRITE_TRUNCATE. Unspecified = 0, - /// If the table already exists, BigQuery will overwrite the table data and - /// use the schema from the load. + /// If the table already exists, BigQuery will overwrite the table data and + /// use the schema from the load. WriteTruncate = 1, - /// If the table already exists, BigQuery will append data to the table. + /// If the table already exists, BigQuery will append data to the table. WriteAppend = 2, } impl WriteDisposition { @@ -1567,368 +1567,368 @@ pub mod export_insights_data_request { } } } - /// Exporter destination. + /// Exporter destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Specified if sink is a BigQuery table. + /// Specified if sink is a BigQuery table. #[prost(message, tag="2")] BigQueryDestination(BigQueryDestination), } } -/// Metadata for an export insights operation. +/// Metadata for an export insights operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportInsightsDataMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for export. + /// The original request for export. #[prost(message, optional, tag="3")] pub request: ::core::option::Option, - /// Partial errors during export operation that might cause the operation - /// output to be incomplete. + /// Partial errors during export operation that might cause the operation + /// output to be incomplete. #[prost(message, repeated, tag="4")] pub partial_errors: ::prost::alloc::vec::Vec, } -/// Response for an export insights operation. +/// Response for an export insights operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportInsightsDataResponse { } -/// The request to create an issue model. +/// The request to create an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIssueModelRequest { - /// Required. The parent resource of the issue model. + /// Required. The parent resource of the issue model. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The issue model to create. + /// Required. The issue model to create. #[prost(message, optional, tag="2")] pub issue_model: ::core::option::Option, } -/// Metadata for creating an issue model. +/// Metadata for creating an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIssueModelMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for creation. + /// The original request for creation. #[prost(message, optional, tag="3")] pub request: ::core::option::Option, } -/// The request to update an issue model. +/// The request to update an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIssueModelRequest { - /// Required. The new values for the issue model. + /// Required. The new values for the issue model. #[prost(message, optional, tag="1")] pub issue_model: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request to list issue models. +/// Request to list issue models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIssueModelsRequest { - /// Required. The parent resource of the issue model. + /// Required. The parent resource of the issue model. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, } -/// The response of listing issue models. +/// The response of listing issue models. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIssueModelsResponse { - /// The issue models that match the request. + /// The issue models that match the request. #[prost(message, repeated, tag="1")] pub issue_models: ::prost::alloc::vec::Vec, } -/// The request to get an issue model. +/// The request to get an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIssueModelRequest { - /// Required. The name of the issue model to get. + /// Required. The name of the issue model to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to delete an issue model. +/// The request to delete an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIssueModelRequest { - /// Required. The name of the issue model to delete. + /// Required. The name of the issue model to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Metadata for deleting an issue model. +/// Metadata for deleting an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIssueModelMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for deletion. + /// The original request for deletion. #[prost(message, optional, tag="3")] pub request: ::core::option::Option, } -/// The request to deploy an issue model. +/// The request to deploy an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIssueModelRequest { - /// Required. The issue model to deploy. + /// Required. The issue model to deploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The response to deploy an issue model. +/// The response to deploy an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIssueModelResponse { } -/// Metadata for deploying an issue model. +/// Metadata for deploying an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployIssueModelMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for deployment. + /// The original request for deployment. #[prost(message, optional, tag="3")] pub request: ::core::option::Option, } -/// The request to undeploy an issue model. +/// The request to undeploy an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIssueModelRequest { - /// Required. The issue model to undeploy. + /// Required. The issue model to undeploy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The response to undeploy an issue model. +/// The response to undeploy an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIssueModelResponse { } -/// Metadata for undeploying an issue model. +/// Metadata for undeploying an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UndeployIssueModelMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The original request for undeployment. + /// The original request for undeployment. #[prost(message, optional, tag="3")] pub request: ::core::option::Option, } -/// The request to get an issue. +/// The request to get an issue. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIssueRequest { - /// Required. The name of the issue to get. + /// Required. The name of the issue to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to list issues. +/// Request to list issues. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIssuesRequest { - /// Required. The parent resource of the issue. + /// Required. The parent resource of the issue. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, } -/// The response of listing issues. +/// The response of listing issues. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIssuesResponse { - /// The issues that match the request. + /// The issues that match the request. #[prost(message, repeated, tag="1")] pub issues: ::prost::alloc::vec::Vec, } -/// The request to update an issue. +/// The request to update an issue. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIssueRequest { - /// Required. The new values for the issue. + /// Required. The new values for the issue. #[prost(message, optional, tag="1")] pub issue: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request to get statistics of an issue model. +/// Request to get statistics of an issue model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateIssueModelStatsRequest { - /// Required. The resource name of the issue model to query against. + /// Required. The resource name of the issue model to query against. #[prost(string, tag="1")] pub issue_model: ::prost::alloc::string::String, } -/// Response of querying an issue model's statistics. +/// Response of querying an issue model's statistics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateIssueModelStatsResponse { - /// The latest label statistics for the queried issue model. Includes results - /// on both training data and data labeled after deployment. + /// The latest label statistics for the queried issue model. Includes results + /// on both training data and data labeled after deployment. #[prost(message, optional, tag="4")] pub current_stats: ::core::option::Option, } -/// Request to create a phrase matcher. +/// Request to create a phrase matcher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePhraseMatcherRequest { - /// Required. The parent resource of the phrase matcher. Required. The location to create - /// a phrase matcher for. - /// Format: `projects//locations/` or - /// `projects//locations/` + /// Required. The parent resource of the phrase matcher. Required. The location to create + /// a phrase matcher for. + /// Format: `projects//locations/` or + /// `projects//locations/` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The phrase matcher resource to create. + /// Required. The phrase matcher resource to create. #[prost(message, optional, tag="2")] pub phrase_matcher: ::core::option::Option, } -/// Request to list phrase matchers. +/// Request to list phrase matchers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPhraseMatchersRequest { - /// Required. The parent resource of the phrase matcher. + /// Required. The parent resource of the phrase matcher. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of phrase matchers to return in the response. If this - /// value is zero, the service will select a default size. A call might return - /// fewer objects than requested. A non-empty `next_page_token` in the response - /// indicates that more data is available. + /// The maximum number of phrase matchers to return in the response. If this + /// value is zero, the service will select a default size. A call might return + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListPhraseMatchersResponse`. This value - /// indicates that this is a continuation of a prior `ListPhraseMatchers` call - /// and that the system should return the next page of data. + /// The value returned by the last `ListPhraseMatchersResponse`. This value + /// indicates that this is a continuation of a prior `ListPhraseMatchers` call + /// and that the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// A filter to reduce results to a specific subset. Useful for querying - /// phrase matchers with specific properties. + /// A filter to reduce results to a specific subset. Useful for querying + /// phrase matchers with specific properties. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// The response of listing phrase matchers. +/// The response of listing phrase matchers. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPhraseMatchersResponse { - /// The phrase matchers that match the request. + /// The phrase matchers that match the request. #[prost(message, repeated, tag="1")] pub phrase_matchers: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request to get a a phrase matcher. +/// The request to get a a phrase matcher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPhraseMatcherRequest { - /// Required. The name of the phrase matcher to get. + /// Required. The name of the phrase matcher to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to delete a phrase matcher. +/// The request to delete a phrase matcher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePhraseMatcherRequest { - /// Required. The name of the phrase matcher to delete. + /// Required. The name of the phrase matcher to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to update a phrase matcher. +/// The request to update a phrase matcher. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePhraseMatcherRequest { - /// Required. The new values for the phrase matcher. + /// Required. The new values for the phrase matcher. #[prost(message, optional, tag="1")] pub phrase_matcher: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request to get project-level settings. +/// The request to get project-level settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSettingsRequest { - /// Required. The name of the settings resource to get. + /// Required. The name of the settings resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to update project-level settings. +/// The request to update project-level settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSettingsRequest { - /// Required. The new settings values. + /// Required. The new settings values. #[prost(message, optional, tag="1")] pub settings: ::core::option::Option, - /// Required. The list of fields to be updated. + /// Required. The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request to create a view. +/// The request to create a view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateViewRequest { - /// Required. The parent resource of the view. Required. The location to create - /// a view for. - /// Format: `projects//locations/` or - /// `projects//locations/` + /// Required. The parent resource of the view. Required. The location to create + /// a view for. + /// Format: `projects//locations/` or + /// `projects//locations/` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The view resource to create. + /// Required. The view resource to create. #[prost(message, optional, tag="2")] pub view: ::core::option::Option, } -/// The request to get a view. +/// The request to get a view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetViewRequest { - /// Required. The name of the view to get. + /// Required. The name of the view to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request to list views. +/// The request to list views. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListViewsRequest { - /// Required. The parent resource of the views. + /// Required. The parent resource of the views. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of views to return in the response. If this - /// value is zero, the service will select a default size. A call may return - /// fewer objects than requested. A non-empty `next_page_token` in the response - /// indicates that more data is available. + /// The maximum number of views to return in the response. If this + /// value is zero, the service will select a default size. A call may return + /// fewer objects than requested. A non-empty `next_page_token` in the response + /// indicates that more data is available. #[prost(int32, tag="2")] pub page_size: i32, - /// The value returned by the last `ListViewsResponse`; indicates - /// that this is a continuation of a prior `ListViews` call and - /// the system should return the next page of data. + /// The value returned by the last `ListViewsResponse`; indicates + /// that this is a continuation of a prior `ListViews` call and + /// the system should return the next page of data. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response of listing views. +/// The response of listing views. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListViewsResponse { - /// The views that match the request. + /// The views that match the request. #[prost(message, repeated, tag="1")] pub views: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request to update a view. +/// The request to update a view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateViewRequest { - /// Required. The new view. + /// Required. The new view. #[prost(message, optional, tag="1")] pub view: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request to delete a view. +/// The request to delete a view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteViewRequest { - /// Required. The name of the view to delete. + /// Required. The name of the view to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the options for viewing a conversation. +/// Represents the options for viewing a conversation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConversationView { - /// The conversation view is not specified. + /// The conversation view is not specified. /// - /// * Defaults to `FULL` in `GetConversationRequest`. - /// * Defaults to `BASIC` in `ListConversationsRequest`. + /// * Defaults to `FULL` in `GetConversationRequest`. + /// * Defaults to `BASIC` in `ListConversationsRequest`. Unspecified = 0, - /// Populates all fields in the conversation. + /// Populates all fields in the conversation. Full = 2, - /// Populates all fields in the conversation except the transcript. + /// Populates all fields in the conversation except the transcript. Basic = 1, } impl ConversationView { diff --git a/gcloud-sdk/genproto/google.cloud.contentwarehouse.v1.rs b/gcloud-sdk/genproto/google.cloud.contentwarehouse.v1.rs index 9f6e96693..5fd55aefb 100644 --- a/gcloud-sdk/genproto/google.cloud.contentwarehouse.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.contentwarehouse.v1.rs @@ -1,94 +1,94 @@ -/// Metadata object for CreateDocument request (currently empty). +/// Metadata object for CreateDocument request (currently empty). #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDocumentMetadata { } -/// Metadata object for UpdateDocument request (currently empty). +/// Metadata object for UpdateDocument request (currently empty). #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDocumentMetadata { } -/// Meta information is used to improve the performance of the service. +/// Meta information is used to improve the performance of the service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RequestMetadata { - /// Provides user unique identification and groups information. + /// Provides user unique identification and groups information. #[prost(message, optional, tag="1")] pub user_info: ::core::option::Option, } -/// Additional information returned to client, such as debugging information. +/// Additional information returned to client, such as debugging information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseMetadata { - /// A unique id associated with this call. This id is logged for tracking - /// purpose. + /// A unique id associated with this call. This id is logged for tracking + /// purpose. #[prost(string, tag="1")] pub request_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInfo { - /// A unique user identification string, as determined by the client. - /// The maximum number of allowed characters is 255. - /// Allowed characters include numbers 0 to 9, uppercase and lowercase letters, - /// and restricted special symbols (:, @, +, -, _, ~) - /// The format is "user:xxxx@example.com"; + /// A unique user identification string, as determined by the client. + /// The maximum number of allowed characters is 255. + /// Allowed characters include numbers 0 to 9, uppercase and lowercase letters, + /// and restricted special symbols (:, @, +, -, _, ~) + /// The format is "user:xxxx@example.com"; #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// The unique group identifications which the user is belong to. - /// The format is "group:yyyy@example.com"; + /// The unique group identifications which the user is belong to. + /// The format is "group:yyyy@example.com"; #[prost(string, repeated, tag="2")] pub group_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Options for Update operations. +/// Options for Update operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateOptions { - /// Type for update. + /// Type for update. #[prost(enumeration="UpdateType", tag="1")] pub update_type: i32, - /// Field mask for merging Document fields. - /// For the `FieldMask` definition, - /// see - /// + /// Field mask for merging Document fields. + /// For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Options for merging. + /// Options for merging. #[prost(message, optional, tag="3")] pub merge_fields_options: ::core::option::Option, } -/// Options for merging updated fields. +/// Options for merging updated fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MergeFieldsOptions { - /// When merging message fields, the default behavior is to merge - /// the content of two message fields together. If you instead want to use - /// the field from the source message to replace the corresponding field in - /// the destination message, set this flag to true. When this flag is set, - /// specified submessage fields that are missing in source will be cleared in - /// destination. + /// When merging message fields, the default behavior is to merge + /// the content of two message fields together. If you instead want to use + /// the field from the source message to replace the corresponding field in + /// the destination message, set this flag to true. When this flag is set, + /// specified submessage fields that are missing in source will be cleared in + /// destination. #[prost(bool, optional, tag="1")] pub replace_message_fields: ::core::option::Option, - /// When merging repeated fields, the default behavior is to append - /// entries from the source repeated field to the destination repeated field. - /// If you instead want to keep only the entries from the source repeated - /// field, set this flag to true. + /// When merging repeated fields, the default behavior is to append + /// entries from the source repeated field to the destination repeated field. + /// If you instead want to keep only the entries from the source repeated + /// field, set this flag to true. /// - /// If you want to replace a repeated field within a message field on the - /// destination message, you must set both replace_repeated_fields and - /// replace_message_fields to true, otherwise the repeated fields will be - /// appended. + /// If you want to replace a repeated field within a message field on the + /// destination message, you must set both replace_repeated_fields and + /// replace_message_fields to true, otherwise the repeated fields will be + /// appended. #[prost(bool, optional, tag="2")] pub replace_repeated_fields: ::core::option::Option, } -/// Update type of the requests. +/// Update type of the requests. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UpdateType { - /// Defaults to full replace behavior, ie. FULL_REPLACE. + /// Defaults to full replace behavior, ie. FULL_REPLACE. Unspecified = 0, - /// Fully replace all the fields. Any field masks will be ignored. + /// Fully replace all the fields. Any field masks will be ignored. Replace = 1, - /// Merge the fields into the existing entities. + /// Merge the fields into the existing entities. Merge = 2, - /// Inserts the properties by names. + /// Inserts the properties by names. InsertPropertiesByNames = 3, - /// Replace the properties by names. + /// Replace the properties by names. ReplacePropertiesByNames = 4, - /// Delete the properties by names. + /// Delete the properties by names. DeletePropertiesByNames = 5, } impl UpdateType { @@ -107,15 +107,15 @@ impl UpdateType { } } } -/// Type of database used by the customer +/// Type of database used by the customer #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// This value is required by protobuf best practices + /// This value is required by protobuf best practices DbUnknown = 0, - /// Internal Spanner + /// Internal Spanner DbInfraSpanner = 1, - /// Cloud Sql with a Postgres Sql instance + /// Cloud Sql with a Postgres Sql instance DbCloudSqlPostgres = 2, } impl DatabaseType { @@ -131,17 +131,17 @@ impl DatabaseType { } } } -/// Access Control Mode. +/// Access Control Mode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AccessControlMode { - /// This value is required by protobuf best practices + /// This value is required by protobuf best practices AclModeUnknown = 0, - /// Universal Access: No document level access control. + /// Universal Access: No document level access control. AclModeUniversalAccess = 1, - /// Document level access control with customer own Identity Service. + /// Document level access control with customer own Identity Service. AclModeDocumentLevelAccessControlByoid = 2, - /// Document level access control using Google Cloud Identity. + /// Document level access control using Google Cloud Identity. AclModeDocumentLevelAccessControlGci = 3, } impl AccessControlMode { @@ -158,74 +158,74 @@ impl AccessControlMode { } } } -/// Defines the structure for content warehouse document proto. +/// Defines the structure for content warehouse document proto. /// -/// Next ID: 20 +/// Next ID: 20 #[derive(Clone, PartialEq, ::prost::Message)] pub struct Document { - /// The resource name of the document. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// The resource name of the document. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id}. /// - /// The name is ignored when creating a document. + /// The name is ignored when creating a document. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The reference ID set by customers. Must be unique per project and location. + /// The reference ID set by customers. Must be unique per project and location. #[prost(string, tag="11")] pub reference_id: ::prost::alloc::string::String, - /// Required. Display name of the document given by the user. This name will be displayed - /// in the UI. - /// Customer can populate this field with the name of the document. This - /// differs from the 'title' field as 'title' is optional and stores the top - /// heading in the document. + /// Required. Display name of the document given by the user. This name will be displayed + /// in the UI. + /// Customer can populate this field with the name of the document. This + /// differs from the 'title' field as 'title' is optional and stores the top + /// heading in the document. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Title that describes the document. - /// This is usually present in the top section of the document, and is a - /// mandatory field for the question-answering feature. + /// Title that describes the document. + /// This is usually present in the top section of the document, and is a + /// mandatory field for the question-answering feature. #[prost(string, tag="18")] pub title: ::prost::alloc::string::String, - /// Uri to display the document, for example, in the UI. + /// Uri to display the document, for example, in the UI. #[prost(string, tag="17")] pub display_uri: ::prost::alloc::string::String, - /// The Document schema name. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. + /// The Document schema name. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. #[prost(string, tag="3")] pub document_schema_name: ::prost::alloc::string::String, - /// A path linked to structured content file. + /// A path linked to structured content file. #[prost(string, tag="16")] pub structured_content_uri: ::prost::alloc::string::String, - /// List of values that are user supplied metadata. + /// List of values that are user supplied metadata. #[prost(message, repeated, tag="7")] pub properties: ::prost::alloc::vec::Vec, - /// Output only. The time when the document is last updated. + /// Output only. The time when the document is last updated. #[prost(message, optional, tag="8")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the document is created. + /// Output only. The time when the document is created. #[prost(message, optional, tag="9")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// This is used when DocAI was not used to load the document and parsing/ - /// extracting is needed for the inline_raw_document. For example, if - /// inline_raw_document is the byte representation of a PDF file, then - /// this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF. + /// This is used when DocAI was not used to load the document and parsing/ + /// extracting is needed for the inline_raw_document. For example, if + /// inline_raw_document is the byte representation of a PDF file, then + /// this should be set to: RAW_DOCUMENT_FILE_TYPE_PDF. #[prost(enumeration="RawDocumentFileType", tag="10")] pub raw_document_file_type: i32, - /// If true, makes the document visible to asynchronous policies and rules. + /// If true, makes the document visible to asynchronous policies and rules. #[prost(bool, tag="12")] pub async_enabled: bool, - /// If true, text extraction will not be performed. + /// If true, text extraction will not be performed. #[prost(bool, tag="19")] pub text_extraction_disabled: bool, - /// The user who creates the document. + /// The user who creates the document. #[prost(string, tag="13")] pub creator: ::prost::alloc::string::String, - /// The user who lastly updates the document. + /// The user who lastly updates the document. #[prost(string, tag="14")] pub updater: ::prost::alloc::string::String, #[prost(oneof="document::StructuredContent", tags="15, 4")] pub structured_content: ::core::option::Option, - /// Raw document file. + /// Raw document file. #[prost(oneof="document::RawDocument", tags="5, 6")] pub raw_document: ::core::option::Option, } @@ -233,159 +233,159 @@ pub struct Document { pub mod document { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum StructuredContent { - /// Other document format, such as PPTX, XLXS + /// Other document format, such as PPTX, XLXS #[prost(string, tag="15")] PlainText(::prost::alloc::string::String), - /// Document AI format to save the structured content, including OCR. + /// Document AI format to save the structured content, including OCR. #[prost(message, tag="4")] CloudAiDocument(super::super::super::documentai::v1::Document), } - /// Raw document file. + /// Raw document file. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RawDocument { - /// Raw document file in Cloud Storage path. + /// Raw document file in Cloud Storage path. #[prost(string, tag="5")] RawDocumentPath(::prost::alloc::string::String), - /// Raw document content. + /// Raw document content. #[prost(bytes, tag="6")] InlineRawDocument(::prost::alloc::vec::Vec), } } -/// References to the documents. +/// References to the documents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentReference { - /// Required. Name of the referenced document. + /// Required. Name of the referenced document. #[prost(string, tag="1")] pub document_name: ::prost::alloc::string::String, - /// display_name of the referenced document; this name does not need to be - /// consistent to the display_name in the Document proto, depending on the ACL - /// constraint. + /// display_name of the referenced document; this name does not need to be + /// consistent to the display_name in the Document proto, depending on the ACL + /// constraint. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Stores the subset of the referenced document's content. - /// This is useful to allow user peek the information of the referenced - /// document. + /// Stores the subset of the referenced document's content. + /// This is useful to allow user peek the information of the referenced + /// document. #[prost(string, tag="3")] pub snippet: ::prost::alloc::string::String, - /// The document type of the document being referenced. + /// The document type of the document being referenced. #[prost(bool, tag="4")] pub document_is_folder: bool, - /// Output only. The time when the document is last updated. + /// Output only. The time when the document is last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the document is created. + /// Output only. The time when the document is created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the document is deleted. + /// Output only. The time when the document is deleted. #[prost(message, optional, tag="7")] pub delete_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Property of a document. +/// Property of a document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Property { - /// Required. Must match the name of a PropertyDefinition in the DocumentSchema. + /// Required. Must match the name of a PropertyDefinition in the DocumentSchema. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Type of the property. - /// Must match the property_options type of the matching PropertyDefinition. - /// Value of the Property parsed into a specific data type. - /// Specific type value(s) obtained from Document AIs Property.mention_text - /// field. + /// Type of the property. + /// Must match the property_options type of the matching PropertyDefinition. + /// Value of the Property parsed into a specific data type. + /// Specific type value(s) obtained from Document AIs Property.mention_text + /// field. #[prost(oneof="property::Values", tags="2, 3, 4, 5, 6, 7, 8, 9, 10")] pub values: ::core::option::Option, } /// Nested message and enum types in `Property`. pub mod property { - /// Type of the property. - /// Must match the property_options type of the matching PropertyDefinition. - /// Value of the Property parsed into a specific data type. - /// Specific type value(s) obtained from Document AIs Property.mention_text - /// field. + /// Type of the property. + /// Must match the property_options type of the matching PropertyDefinition. + /// Value of the Property parsed into a specific data type. + /// Specific type value(s) obtained from Document AIs Property.mention_text + /// field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Values { - /// Integer property values. + /// Integer property values. #[prost(message, tag="2")] IntegerValues(super::IntegerArray), - /// Float property values. + /// Float property values. #[prost(message, tag="3")] FloatValues(super::FloatArray), - /// String/text property values. + /// String/text property values. #[prost(message, tag="4")] TextValues(super::TextArray), - /// Enum property values. + /// Enum property values. #[prost(message, tag="5")] EnumValues(super::EnumArray), - /// Nested structured data property values. + /// Nested structured data property values. #[prost(message, tag="6")] PropertyValues(super::PropertyArray), - /// Date time property values. - /// It is not supported by CMEK compliant deployment. + /// Date time property values. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="7")] DateTimeValues(super::DateTimeArray), - /// Map property values. + /// Map property values. #[prost(message, tag="8")] MapProperty(super::MapProperty), - /// Timestamp property values. - /// It is not supported by CMEK compliant deployment. + /// Timestamp property values. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="9")] TimestampValues(super::TimestampArray), - /// Boolean property values. - /// It is not supported by CMEK compliant deployment. + /// Boolean property values. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="10")] BooleanValues(super::BooleanArray), } } -/// Integer values. +/// Integer values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegerArray { - /// List of integer values. + /// List of integer values. #[prost(int32, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// Float values. +/// Float values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FloatArray { - /// List of float values. + /// List of float values. #[prost(float, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// String/text values. +/// String/text values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextArray { - /// List of text values. + /// List of text values. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Enum values. +/// Enum values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumArray { - /// List of enum values. + /// List of enum values. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// DateTime values. +/// DateTime values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateTimeArray { - /// List of datetime values. - /// Both OffsetDateTime and ZonedDateTime are supported. + /// List of datetime values. + /// Both OffsetDateTime and ZonedDateTime are supported. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// Timestamp values. +/// Timestamp values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampArray { - /// List of timestamp values. + /// List of timestamp values. #[prost(message, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// Boolean values. +/// Boolean values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BooleanArray { - /// List of bool values. + /// List of bool values. #[prost(bool, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec, } -/// Timestamp value type. +/// Timestamp value type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampValue { #[prost(oneof="timestamp_value::Value", tags="1, 2")] @@ -395,93 +395,93 @@ pub struct TimestampValue { pub mod timestamp_value { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Timestamp value + /// Timestamp value #[prost(message, tag="1")] TimestampValue(::prost_types::Timestamp), - /// The string must represent a valid instant in UTC and is parsed using - /// java.time.format.DateTimeFormatter.ISO_INSTANT. - /// e.g. "2013-09-29T18:46:19Z" + /// The string must represent a valid instant in UTC and is parsed using + /// java.time.format.DateTimeFormatter.ISO_INSTANT. + /// e.g. "2013-09-29T18:46:19Z" #[prost(string, tag="2")] TextValue(::prost::alloc::string::String), } } -/// Property values. +/// Property values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyArray { - /// List of property values. + /// List of property values. #[prost(message, repeated, tag="1")] pub properties: ::prost::alloc::vec::Vec, } -/// Map property value. -/// Represents a structured entries of key value pairs, consisting of field names -/// which map to dynamically typed values. +/// Map property value. +/// Represents a structured entries of key value pairs, consisting of field names +/// which map to dynamically typed values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MapProperty { - /// Unordered map of dynamically typed values. + /// Unordered map of dynamically typed values. #[prost(map="string, message", tag="1")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, Value>, } -/// `Value` represents a dynamically typed value which can be either be -/// a float, a integer, a string, or a datetime value. A producer of value is -/// expected to set one of these variants. Absence of any variant indicates an -/// error. +/// `Value` represents a dynamically typed value which can be either be +/// a float, a integer, a string, or a datetime value. A producer of value is +/// expected to set one of these variants. Absence of any variant indicates an +/// error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Value { - /// The kind of value. + /// The kind of value. #[prost(oneof="value::Kind", tags="1, 2, 3, 4, 5, 6, 7")] pub kind: ::core::option::Option, } /// Nested message and enum types in `Value`. pub mod value { - /// The kind of value. + /// The kind of value. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Represents a float value. + /// Represents a float value. #[prost(float, tag="1")] FloatValue(f32), - /// Represents a integer value. + /// Represents a integer value. #[prost(int32, tag="2")] IntValue(i32), - /// Represents a string value. + /// Represents a string value. #[prost(string, tag="3")] StringValue(::prost::alloc::string::String), - /// Represents an enum value. + /// Represents an enum value. #[prost(message, tag="4")] EnumValue(super::EnumValue), - /// Represents a datetime value. + /// Represents a datetime value. #[prost(message, tag="5")] DatetimeValue(super::super::super::super::r#type::DateTime), - /// Represents a timestamp value. + /// Represents a timestamp value. #[prost(message, tag="6")] TimestampValue(super::TimestampValue), - /// Represents a boolean value. + /// Represents a boolean value. #[prost(bool, tag="7")] BooleanValue(bool), } } -/// Represents the string value of the enum field. +/// Represents the string value of the enum field. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// String value of the enum field. This must match defined set of enums - /// in document schema using EnumTypeOptions. + /// String value of the enum field. This must match defined set of enums + /// in document schema using EnumTypeOptions. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, } -/// When a raw document is supplied, this indicates the file format +/// When a raw document is supplied, this indicates the file format #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RawDocumentFileType { - /// No raw document specified or it is non-parsable + /// No raw document specified or it is non-parsable Unspecified = 0, - /// Adobe PDF format + /// Adobe PDF format Pdf = 1, - /// Microsoft Word format + /// Microsoft Word format Docx = 2, - /// Microsoft Excel format + /// Microsoft Excel format Xlsx = 3, - /// Microsoft Powerpoint format + /// Microsoft Powerpoint format Pptx = 4, - /// UTF-8 encoded text format + /// UTF-8 encoded text format Text = 5, } impl RawDocumentFileType { @@ -500,110 +500,110 @@ impl RawDocumentFileType { } } } -/// Response message for DocumentLinkService.ListLinkedTargets. +/// Response message for DocumentLinkService.ListLinkedTargets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLinkedTargetsResponse { - /// Target document-links. + /// Target document-links. #[prost(message, repeated, tag="1")] pub document_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DocumentLinkService.ListLinkedTargets. +/// Request message for DocumentLinkService.ListLinkedTargets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLinkedTargetsRequest { - /// Required. The name of the document, for which all target links are returned. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{target_document_id}. + /// Required. The name of the document, for which all target links are returned. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{target_document_id}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The meta information collected about the document creator, used to enforce - /// access control for the service. + /// The meta information collected about the document creator, used to enforce + /// access control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, } -/// Response message for DocumentLinkService.ListLinkedSources. +/// Response message for DocumentLinkService.ListLinkedSources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLinkedSourcesResponse { - /// Source document-links. + /// Source document-links. #[prost(message, repeated, tag="1")] pub document_links: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Response message for DocumentLinkService.ListLinkedSources. +/// Response message for DocumentLinkService.ListLinkedSources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLinkedSourcesRequest { - /// Required. The name of the document, for which all source links are returned. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{source_document_id}. + /// Required. The name of the document, for which all source links are returned. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{source_document_id}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of document-links to return. The service may return - /// fewer than this value. + /// The maximum number of document-links to return. The service may return + /// fewer than this value. /// - /// If unspecified, at most 50 document-links will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// If unspecified, at most 50 document-links will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// A page token, received from a previous `ListLinkedSources` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListLinkedSources` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListLinkedSources` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListLinkedSources` + /// must match the call that provided the page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// The meta information collected about the document creator, used to enforce - /// access control for the service. + /// The meta information collected about the document creator, used to enforce + /// access control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, } -/// A document-link between source and target document. +/// A document-link between source and target document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentLink { - /// Name of this document-link. - /// It is required that the parent derived form the name to be consistent with - /// the source document reference. Otherwise an exception will be thrown. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}. + /// Name of this document-link. + /// It is required that the parent derived form the name to be consistent with + /// the source document reference. Otherwise an exception will be thrown. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Document references of the source document. + /// Document references of the source document. #[prost(message, optional, tag="2")] pub source_document_reference: ::core::option::Option, - /// Document references of the target document. + /// Document references of the target document. #[prost(message, optional, tag="3")] pub target_document_reference: ::core::option::Option, - /// Description of this document-link. + /// Description of this document-link. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Output only. The time when the documentLink is last updated. + /// Output only. The time when the documentLink is last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the documentLink is created. + /// Output only. The time when the documentLink is created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The state of the documentlink. If target node has been deleted, the - /// link is marked as invalid. Removing a source node will result in removal - /// of all associated links. + /// The state of the documentlink. If target node has been deleted, the + /// link is marked as invalid. Removing a source node will result in removal + /// of all associated links. #[prost(enumeration="document_link::State", tag="7")] pub state: i32, } /// Nested message and enum types in `DocumentLink`. pub mod document_link { - /// The state of a document-link. + /// The state of a document-link. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unknown state of documentlink. + /// Unknown state of documentlink. Unspecified = 0, - /// The documentlink has both source and target documents detected. + /// The documentlink has both source and target documents detected. Active = 1, - /// Target document is deleted, and mark the documentlink as soft-deleted. + /// Target document is deleted, and mark the documentlink as soft-deleted. SoftDeleted = 2, } impl State { @@ -620,33 +620,33 @@ pub mod document_link { } } } -/// Request message for DocumentLinkService.CreateDocumentLink. +/// Request message for DocumentLinkService.CreateDocumentLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDocumentLinkRequest { - /// Required. Parent of the document-link to be created. - /// parent of document-link should be a document. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{source_document_id}. + /// Required. Parent of the document-link to be created. + /// parent of document-link should be a document. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{source_document_id}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Document links associated with the source documents (source_document_id). + /// Required. Document links associated with the source documents (source_document_id). #[prost(message, optional, tag="2")] pub document_link: ::core::option::Option, - /// The meta information collected about the document creator, used to enforce - /// access control for the service. + /// The meta information collected about the document creator, used to enforce + /// access control for the service. #[prost(message, optional, tag="3")] pub request_metadata: ::core::option::Option, } -/// Request message for DocumentLinkService.DeleteDocumentLink. +/// Request message for DocumentLinkService.DeleteDocumentLink. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDocumentLinkRequest { - /// Required. The name of the document-link to be deleted. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}. + /// Required. The name of the document-link to be deleted. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{source_document_id}/documentLinks/{document_link_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The meta information collected about the document creator, used to enforce - /// access control for the service. + /// The meta information collected about the document creator, used to enforce + /// access control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, } @@ -803,216 +803,216 @@ pub mod document_link_service_client { } } } -/// A document schema used to define document structure. +/// A document schema used to define document structure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentSchema { - /// The resource name of the document schema. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. + /// The resource name of the document schema. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. /// - /// The name is ignored when creating a document schema. + /// The name is ignored when creating a document schema. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Name of the schema given by the user. Must be unique per customer. + /// Required. Name of the schema given by the user. Must be unique per customer. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Document details. + /// Document details. #[prost(message, repeated, tag="3")] pub property_definitions: ::prost::alloc::vec::Vec, - /// Document Type, true refers the document is a folder, otherwise it is - /// a typical document. + /// Document Type, true refers the document is a folder, otherwise it is + /// a typical document. #[prost(bool, tag="4")] pub document_is_folder: bool, - /// Output only. The time when the document schema is last updated. + /// Output only. The time when the document schema is last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the document schema is created. + /// Output only. The time when the document schema is created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Schema description. + /// Schema description. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, } -/// Defines the metadata for a schema property. +/// Defines the metadata for a schema property. /// -/// Next ID: 18 +/// Next ID: 18 #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyDefinition { - /// Required. The name of the metadata property. - /// Must be unique within a document schema and is case insensitive. - /// Names must be non-blank, start with a letter, and can contain alphanumeric - /// characters and: /, :, -, _, and . + /// Required. The name of the metadata property. + /// Must be unique within a document schema and is case insensitive. + /// Names must be non-blank, start with a letter, and can contain alphanumeric + /// characters and: /, :, -, _, and . #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display-name for the property, used for front-end. + /// The display-name for the property, used for front-end. #[prost(string, tag="12")] pub display_name: ::prost::alloc::string::String, - /// Whether the property can have multiple values. + /// Whether the property can have multiple values. #[prost(bool, tag="2")] pub is_repeatable: bool, - /// Whether the property can be filtered. If this is a sub-property, all the - /// parent properties must be marked filterable. + /// Whether the property can be filtered. If this is a sub-property, all the + /// parent properties must be marked filterable. #[prost(bool, tag="3")] pub is_filterable: bool, - /// Indicates that the property should be included in a global search. + /// Indicates that the property should be included in a global search. #[prost(bool, tag="4")] pub is_searchable: bool, - /// Whether the property is user supplied metadata. + /// Whether the property is user supplied metadata. #[prost(bool, tag="5")] pub is_metadata: bool, - /// Whether the property is mandatory. - /// Default is 'false', i.e. populating property value can be skipped. - /// If 'true' then user must populate the value for this property. + /// Whether the property is mandatory. + /// Default is 'false', i.e. populating property value can be skipped. + /// If 'true' then user must populate the value for this property. #[prost(bool, tag="14")] pub is_required: bool, - /// Type of the property. + /// Type of the property. #[prost(oneof="property_definition::ValueTypeOptions", tags="7, 8, 9, 10, 11, 13, 15, 16, 17")] pub value_type_options: ::core::option::Option, } /// Nested message and enum types in `PropertyDefinition`. pub mod property_definition { - /// Type of the property. + /// Type of the property. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ValueTypeOptions { - /// Integer property. + /// Integer property. #[prost(message, tag="7")] IntegerTypeOptions(super::IntegerTypeOptions), - /// Float property. + /// Float property. #[prost(message, tag="8")] FloatTypeOptions(super::FloatTypeOptions), - /// Text/string property. + /// Text/string property. #[prost(message, tag="9")] TextTypeOptions(super::TextTypeOptions), - /// Nested structured data property. + /// Nested structured data property. #[prost(message, tag="10")] PropertyTypeOptions(super::PropertyTypeOptions), - /// Enum/categorical property. + /// Enum/categorical property. #[prost(message, tag="11")] EnumTypeOptions(super::EnumTypeOptions), - /// Date time property. - /// It is not supported by CMEK compliant deployment. + /// Date time property. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="13")] DateTimeTypeOptions(super::DateTimeTypeOptions), - /// Map property. + /// Map property. #[prost(message, tag="15")] MapTypeOptions(super::MapTypeOptions), - /// Timestamp property. - /// It is not supported by CMEK compliant deployment. + /// Timestamp property. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="16")] TimestampTypeOptions(super::TimestampTypeOptions), - /// Boolean property. - /// It is not supported by CMEK compliant deployment. + /// Boolean property. + /// It is not supported by CMEK compliant deployment. #[prost(message, tag="17")] BooleanTypeOptions(super::BooleanTypeOptions), } } -/// Configurations for an integer property. +/// Configurations for an integer property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntegerTypeOptions { } -/// Configurations for a float property. +/// Configurations for a float property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FloatTypeOptions { } -/// Configurations for a text property. +/// Configurations for a text property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextTypeOptions { } -/// Configurations for a date time property. +/// Configurations for a date time property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DateTimeTypeOptions { } -/// Configurations for a Map property. +/// Configurations for a Map property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MapTypeOptions { } -/// Configurations for a timestamp property. +/// Configurations for a timestamp property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimestampTypeOptions { } -/// Configurations for a boolean property. +/// Configurations for a boolean property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BooleanTypeOptions { } -/// Configurations for a nested structured data property. +/// Configurations for a nested structured data property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyTypeOptions { - /// Required. List of property definitions. + /// Required. List of property definitions. #[prost(message, repeated, tag="1")] pub property_definitions: ::prost::alloc::vec::Vec, } -/// Configurations for an enum/categorical property. +/// Configurations for an enum/categorical property. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumTypeOptions { - /// Required. List of possible enum values. + /// Required. List of possible enum values. #[prost(string, repeated, tag="1")] pub possible_values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for DocumentSchemaService.CreateDocumentSchema. +/// Request message for DocumentSchemaService.CreateDocumentSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDocumentSchemaRequest { - /// Required. The parent name. + /// Required. The parent name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The document schema to create. + /// Required. The document schema to create. #[prost(message, optional, tag="2")] pub document_schema: ::core::option::Option, } -/// Request message for DocumentSchemaService.GetDocumentSchema. +/// Request message for DocumentSchemaService.GetDocumentSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDocumentSchemaRequest { - /// Required. The name of the document schema to retrieve. + /// Required. The name of the document schema to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for DocumentSchemaService.UpdateDocumentSchema. +/// Request message for DocumentSchemaService.UpdateDocumentSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDocumentSchemaRequest { - /// Required. The name of the document schema to update. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. + /// Required. The name of the document schema to update. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The document schema to update with. + /// Required. The document schema to update with. #[prost(message, optional, tag="2")] pub document_schema: ::core::option::Option, } -/// Request message for DocumentSchemaService.DeleteDocumentSchema. +/// Request message for DocumentSchemaService.DeleteDocumentSchema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDocumentSchemaRequest { - /// Required. The name of the document schema to delete. + /// Required. The name of the document schema to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for DocumentSchemaService.ListDocumentSchemas. +/// Request message for DocumentSchemaService.ListDocumentSchemas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDocumentSchemasRequest { - /// Required. The parent, which owns this collection of document schemas. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent, which owns this collection of document schemas. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of document schemas to return. The service may return - /// fewer than this value. - /// If unspecified, at most 50 document schemas will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of document schemas to return. The service may return + /// fewer than this value. + /// If unspecified, at most 50 document schemas will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDocumentSchemas` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDocumentSchemas` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListDocumentSchemas` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListDocumentSchemas` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for DocumentSchemaService.ListDocumentSchemas. +/// Response message for DocumentSchemaService.ListDocumentSchemas. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDocumentSchemasResponse { - /// The document schemas from the specified parent. + /// The document schemas from the specified parent. #[prost(message, repeated, tag="1")] pub document_schemas: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -1192,117 +1192,117 @@ pub mod document_schema_service_client { } } } -/// NEXT_ID: 13 +/// NEXT_ID: 13 #[derive(Clone, PartialEq, ::prost::Message)] pub struct DocumentQuery { - /// The query string that matches against the full text of the document and - /// the searchable properties. - /// The maximum number of allowed characters is 255. + /// The query string that matches against the full text of the document and + /// the searchable properties. + /// The maximum number of allowed characters is 255. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Experimental, do not use. - /// If the query is a natural language question. False by default. If true, - /// then the question-answering feature will be used instead of search, and - /// `result_count` in \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\] must be set. In addition, all - /// other input fields related to search (pagination, histograms, etc.) will be - /// ignored. + /// Experimental, do not use. + /// If the query is a natural language question. False by default. If true, + /// then the question-answering feature will be used instead of search, and + /// `result_count` in \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\] must be set. In addition, all + /// other input fields related to search (pagination, histograms, etc.) will be + /// ignored. #[prost(bool, tag="12")] pub is_nl_query: bool, - /// This filter specifies a structured syntax to match against the - /// \[PropertyDefinition].[is_filterable][\] marked as `true`. The syntax for - /// this expression is a subset of SQL syntax. + /// This filter specifies a structured syntax to match against the + /// \[PropertyDefinition].[is_filterable][\] marked as `true`. The syntax for + /// this expression is a subset of SQL syntax. /// - /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left - /// of the operator is a property name and the right of the operator is a - /// number or a quoted string. You must escape backslash (\\) and quote (\") - /// characters. Supported functions are `LOWER(\[property_name\])` to perform a - /// case insensitive match and `EMPTY(\[property_name\])` to filter on the - /// existence of a key. + /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left + /// of the operator is a property name and the right of the operator is a + /// number or a quoted string. You must escape backslash (\\) and quote (\") + /// characters. Supported functions are `LOWER(\[property_name\])` to perform a + /// case insensitive match and `EMPTY(\[property_name\])` to filter on the + /// existence of a key. /// - /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting - /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 - /// comparisons or functions are allowed in the expression. The expression must - /// be < 6000 bytes in length. + /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting + /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 + /// comparisons or functions are allowed in the expression. The expression must + /// be < 6000 bytes in length. /// - /// Sample Query: - /// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND - /// driving_years > 10` + /// Sample Query: + /// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND + /// driving_years > 10` #[deprecated] #[prost(string, tag="4")] pub custom_property_filter: ::prost::alloc::string::String, - /// Documents created/updated within a range specified by this filter are - /// searched against. + /// Documents created/updated within a range specified by this filter are + /// searched against. #[prost(message, repeated, tag="5")] pub time_filters: ::prost::alloc::vec::Vec, - /// This filter specifies the exact document schema - /// \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\] of the documents to search against. + /// This filter specifies the exact document schema + /// \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\] of the documents to search against. /// - /// If a value isn't specified, documents within the search results are - /// associated with any schema. If multiple values are specified, documents - /// within the search results may be associated with any of the specified - /// schemas. + /// If a value isn't specified, documents within the search results are + /// associated with any schema. If multiple values are specified, documents + /// within the search results may be associated with any of the specified + /// schemas. /// - /// At most 20 document schema names are allowed. + /// At most 20 document schema names are allowed. #[prost(string, repeated, tag="6")] pub document_schema_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// This filter specifies a structured syntax to match against the - /// \[PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable\] marked as `true`. The relationship - /// between the PropertyFilters is OR. + /// This filter specifies a structured syntax to match against the + /// \[PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable\] marked as `true`. The relationship + /// between the PropertyFilters is OR. #[prost(message, repeated, tag="7")] pub property_filter: ::prost::alloc::vec::Vec, - /// This filter specifies the types of files to return: ALL, FOLDER, or FILE. - /// If FOLDER or FILE is specified, then only either folders or files will be - /// returned, respectively. If ALL is specified, both folders and files will be - /// returned. + /// This filter specifies the types of files to return: ALL, FOLDER, or FILE. + /// If FOLDER or FILE is specified, then only either folders or files will be + /// returned, respectively. If ALL is specified, both folders and files will be + /// returned. /// - /// If no value is specified, ALL files will be returned. + /// If no value is specified, ALL files will be returned. #[prost(message, optional, tag="8")] pub file_type_filter: ::core::option::Option, - /// Search all the documents under this specified folder. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// Search all the documents under this specified folder. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id}. #[prost(string, tag="9")] pub folder_name_filter: ::prost::alloc::string::String, - /// For custom synonyms. - /// Customers provide the synonyms based on context. One customer can provide - /// multiple set of synonyms based on different context. The search query will - /// be expanded based on the custom synonyms of the query context set. - /// By default, no custom synonyms wll be applied if no query context is - /// provided. - /// It is not supported for CMEK compliant deployment. + /// For custom synonyms. + /// Customers provide the synonyms based on context. One customer can provide + /// multiple set of synonyms based on different context. The search query will + /// be expanded based on the custom synonyms of the query context set. + /// By default, no custom synonyms wll be applied if no query context is + /// provided. + /// It is not supported for CMEK compliant deployment. #[prost(string, repeated, tag="10")] pub query_context: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The exact creator(s) of the documents to search against. + /// The exact creator(s) of the documents to search against. /// - /// If a value isn't specified, documents within the search results are - /// associated with any creator. If multiple values are specified, documents - /// within the search results may be associated with any of the specified - /// creators. + /// If a value isn't specified, documents within the search results are + /// associated with any creator. If multiple values are specified, documents + /// within the search results may be associated with any of the specified + /// creators. #[prost(string, repeated, tag="11")] pub document_creator_filter: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Filter on create timestamp or update timestamp of documents. +/// Filter on create timestamp or update timestamp of documents. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeFilter { #[prost(message, optional, tag="1")] pub time_range: ::core::option::Option, - /// Specifies which time field to filter documents on. + /// Specifies which time field to filter documents on. /// - /// Defaults to \[TimeField.UPLOAD_TIME][\]. + /// Defaults to \[TimeField.UPLOAD_TIME][\]. #[prost(enumeration="time_filter::TimeField", tag="2")] pub time_field: i32, } /// Nested message and enum types in `TimeFilter`. pub mod time_filter { - /// Time field used in TimeFilter. + /// Time field used in TimeFilter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TimeField { - /// Default value. + /// Default value. Unspecified = 0, - /// Earliest document create time. + /// Earliest document create time. CreateTime = 1, - /// Latest document update time. + /// Latest document update time. UpdateTime = 2, } impl TimeField { @@ -1321,75 +1321,75 @@ pub mod time_filter { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct PropertyFilter { - /// The Document schema name \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\]. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. + /// The Document schema name \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\]. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. #[prost(string, tag="1")] pub document_schema_name: ::prost::alloc::string::String, - /// The filter condition. - /// The syntax for this expression is a subset of SQL syntax. + /// The filter condition. + /// The syntax for this expression is a subset of SQL syntax. /// - /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, `>=`, and `~~` where - /// the left of the operator is a property name and the right of the operator - /// is a number or a quoted string. You must escape backslash (\\) and quote - /// (\") characters. + /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, `>=`, and `~~` where + /// the left of the operator is a property name and the right of the operator + /// is a number or a quoted string. You must escape backslash (\\) and quote + /// (\") characters. /// - /// `~~` is the LIKE operator. The right of the operator must be a string. The - /// only supported property data type for LIKE is text_values. It provides - /// semantic search functionality by parsing, stemming and doing synonyms - /// expansion against the input query. It matches if the property contains - /// semantic similar content to the query. It is not regex matching or wildcard - /// matching. For example, "property.company ~~ \"google\"" will match records - /// whose property `property.compnay` have values like "Google Inc.", "Google - /// LLC" or "Google Company". + /// `~~` is the LIKE operator. The right of the operator must be a string. The + /// only supported property data type for LIKE is text_values. It provides + /// semantic search functionality by parsing, stemming and doing synonyms + /// expansion against the input query. It matches if the property contains + /// semantic similar content to the query. It is not regex matching or wildcard + /// matching. For example, "property.company ~~ \"google\"" will match records + /// whose property `property.compnay` have values like "Google Inc.", "Google + /// LLC" or "Google Company". /// - /// Supported functions are `LOWER(\[property_name\])` to perform a - /// case insensitive match and `EMPTY(\[property_name\])` to filter on the - /// existence of a key. + /// Supported functions are `LOWER(\[property_name\])` to perform a + /// case insensitive match and `EMPTY(\[property_name\])` to filter on the + /// existence of a key. /// - /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting - /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 - /// comparisons or functions are allowed in the expression. The expression must - /// be < 6000 bytes in length. + /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting + /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 + /// comparisons or functions are allowed in the expression. The expression must + /// be < 6000 bytes in length. /// - /// Only properties that are marked filterable are allowed - /// (\[PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable\]). Property names do not need to be - /// prefixed by the document schema id (as is the case with histograms), - /// however property names will need to be prefixed by its parent hierarchy, if - /// any. For example: top_property_name.sub_property_name. + /// Only properties that are marked filterable are allowed + /// (\[PropertyDefinition.is_filterable][google.cloud.contentwarehouse.v1.PropertyDefinition.is_filterable\]). Property names do not need to be + /// prefixed by the document schema id (as is the case with histograms), + /// however property names will need to be prefixed by its parent hierarchy, if + /// any. For example: top_property_name.sub_property_name. /// - /// Sample Query: - /// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND - /// driving_years > 10` + /// Sample Query: + /// `(LOWER(driving_license)="class \"a\"" OR EMPTY(driving_license)) AND + /// driving_years > 10` /// /// - /// CMEK compliant deployment only supports: + /// CMEK compliant deployment only supports: /// - /// * Operators: `=`, `<`, `<=`, `>`, and `>=`. - /// * Boolean expressions: AND and OR. + /// * Operators: `=`, `<`, `<=`, `>`, and `>=`. + /// * Boolean expressions: AND and OR. #[prost(string, tag="2")] pub condition: ::prost::alloc::string::String, } -/// Filter for the specific types of documents returned. +/// Filter for the specific types of documents returned. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FileTypeFilter { - /// The type of files to return. + /// The type of files to return. #[prost(enumeration="file_type_filter::FileType", tag="1")] pub file_type: i32, } /// Nested message and enum types in `FileTypeFilter`. pub mod file_type_filter { - /// Representation of the types of files. + /// Representation of the types of files. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FileType { - /// Default document type. If set, disables the filter. + /// Default document type. If set, disables the filter. Unspecified = 0, - /// Returns all document types, including folders. + /// Returns all document types, including folders. All = 1, - /// Returns only folders. + /// Returns only folders. Folder = 2, - /// Returns only non-folder documents. + /// Returns only non-folder documents. Document = 3, } impl FileType { @@ -1407,69 +1407,69 @@ pub mod file_type_filter { } } } -/// The histogram request. +/// The histogram request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistogramQuery { - /// An expression specifies a histogram request against matching documents for - /// searches. + /// An expression specifies a histogram request against matching documents for + /// searches. /// - /// See \[SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries\] for details about syntax. + /// See \[SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries\] for details about syntax. #[prost(string, tag="1")] pub histogram_query: ::prost::alloc::string::String, - /// Controls if the histogram query requires the return of a precise count. - /// Enable this flag may adversely impact performance. + /// Controls if the histogram query requires the return of a precise count. + /// Enable this flag may adversely impact performance. /// - /// Defaults to true. + /// Defaults to true. #[prost(bool, tag="2")] pub require_precise_result_size: bool, - /// Optional. Filter the result of histogram query by the property names. It only works - /// with histogram query count('FilterableProperties'). - /// It is an optional. It will perform histogram on all the property names for - /// all the document schemas. Setting this field will have a better - /// performance. + /// Optional. Filter the result of histogram query by the property names. It only works + /// with histogram query count('FilterableProperties'). + /// It is an optional. It will perform histogram on all the property names for + /// all the document schemas. Setting this field will have a better + /// performance. #[prost(message, optional, tag="3")] pub filters: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistogramQueryPropertyNameFilter { - /// This filter specifies the exact document schema(s) - /// \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\] to run histogram query against. - /// It is optional. It will perform histogram for property names for all the - /// document schemas if it is not set. + /// This filter specifies the exact document schema(s) + /// \[Document.document_schema_name][google.cloud.contentwarehouse.v1.Document.document_schema_name\] to run histogram query against. + /// It is optional. It will perform histogram for property names for all the + /// document schemas if it is not set. /// - /// At most 10 document schema names are allowed. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. + /// At most 10 document schema names are allowed. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_schema_id}. #[prost(string, repeated, tag="1")] pub document_schemas: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// It is optional. It will perform histogram for all the property names if it - /// is not set. - /// The properties need to be defined with the is_filterable flag set to - /// true and the name of the property should be in the format: - /// "schemaId.propertyName". The property needs to be defined in the schema. - /// Example: the schema id is abc. Then the name of property for property - /// MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE". + /// It is optional. It will perform histogram for all the property names if it + /// is not set. + /// The properties need to be defined with the is_filterable flag set to + /// true and the name of the property should be in the format: + /// "schemaId.propertyName". The property needs to be defined in the schema. + /// Example: the schema id is abc. Then the name of property for property + /// MORTGAGE_TYPE will be "abc.MORTGAGE_TYPE". #[prost(string, repeated, tag="2")] pub property_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not - /// set. + /// By default, the y_axis is HISTOGRAM_YAXIS_DOCUMENT if this field is not + /// set. #[prost(enumeration="histogram_query_property_name_filter::HistogramYAxis", tag="3")] pub y_axis: i32, } /// Nested message and enum types in `HistogramQueryPropertyNameFilter`. pub mod histogram_query_property_name_filter { - /// The result of the histogram query count('FilterableProperties') using - /// HISTOGRAM_YAXIS_DOCUMENT will be: - /// invoice_id: 2 - /// address: 1 - /// payment_method: 2 - /// line_item_description: 1 + /// The result of the histogram query count('FilterableProperties') using + /// HISTOGRAM_YAXIS_DOCUMENT will be: + /// invoice_id: 2 + /// address: 1 + /// payment_method: 2 + /// line_item_description: 1 #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum HistogramYAxis { - /// Count the documents per property name. + /// Count the documents per property name. HistogramYaxisDocument = 0, - /// Count the properties per property name. + /// Count the properties per property name. HistogramYaxisProperty = 1, } impl HistogramYAxis { @@ -1485,277 +1485,277 @@ pub mod histogram_query_property_name_filter { } } } -/// Histogram result that matches \[HistogramQuery][google.cloud.contentwarehouse.v1.HistogramQuery\] specified in searches. +/// Histogram result that matches \[HistogramQuery][google.cloud.contentwarehouse.v1.HistogramQuery\] specified in searches. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HistogramQueryResult { - /// Requested histogram expression. + /// Requested histogram expression. #[prost(string, tag="1")] pub histogram_query: ::prost::alloc::string::String, - /// A map from the values of the facet associated with distinct values to the - /// number of matching entries with corresponding value. + /// A map from the values of the facet associated with distinct values to the + /// number of matching entries with corresponding value. /// - /// The key format is: + /// The key format is: /// - /// * (for string histogram) string values stored in the field. + /// * (for string histogram) string values stored in the field. #[prost(map="string, int64", tag="2")] pub histogram: ::std::collections::HashMap<::prost::alloc::string::String, i64>, } -/// Request Option for processing Cloud AI Document in CW Document. +/// Request Option for processing Cloud AI Document in CW Document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudAiDocumentOption { - /// Whether to convert all the entities to properties. + /// Whether to convert all the entities to properties. #[prost(bool, tag="1")] pub enable_entities_conversions: bool, - /// If set, only selected entities will be converted to properties. + /// If set, only selected entities will be converted to properties. #[prost(map="string, string", tag="2")] pub customized_entities_properties_conversions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Request message for DocumentService.CreateDocument. +/// Request message for DocumentService.CreateDocument. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDocumentRequest { - /// Required. The parent name. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent name. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The document to create. + /// Required. The document to create. #[prost(message, optional, tag="2")] pub document: ::core::option::Option, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="3")] pub request_metadata: ::core::option::Option, - /// Default document policy during creation. Conditions defined in the policy - /// will be ignored. + /// Default document policy during creation. Conditions defined in the policy + /// will be ignored. #[prost(message, optional, tag="4")] pub policy: ::core::option::Option, - /// Request Option for processing Cloud AI Document in CW Document. + /// Request Option for processing Cloud AI Document in CW Document. #[prost(message, optional, tag="5")] pub cloud_ai_document_option: ::core::option::Option, - /// Field mask for creating Document fields. If mask path is empty, - /// it means all fields are masked. - /// For the `FieldMask` definition, - /// see - /// + /// Field mask for creating Document fields. If mask path is empty, + /// it means all fields are masked. + /// For the `FieldMask` definition, + /// see + /// #[prost(message, optional, tag="6")] pub create_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for DocumentService.GetDocument. +/// Request message for DocumentService.GetDocument. /// -/// Next ID: 4 +/// Next ID: 4 #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDocumentRequest { - /// Required. The name of the document to retrieve. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id} or - /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. + /// Required. The name of the document to retrieve. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id} or + /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, } -/// Request message for DocumentService.UpdateDocument. +/// Request message for DocumentService.UpdateDocument. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDocumentRequest { - /// Required. The name of the document to update. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id} - /// or - /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. + /// Required. The name of the document to update. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id} + /// or + /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The document to update. + /// Required. The document to update. #[prost(message, optional, tag="2")] pub document: ::core::option::Option, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="3")] pub request_metadata: ::core::option::Option, - /// Request Option for processing Cloud AI Document in CW Document. + /// Request Option for processing Cloud AI Document in CW Document. #[prost(message, optional, tag="5")] pub cloud_ai_document_option: ::core::option::Option, - /// Options for the update operation. + /// Options for the update operation. #[prost(message, optional, tag="6")] pub update_options: ::core::option::Option, } -/// Request message for DocumentService.DeleteDocument. +/// Request message for DocumentService.DeleteDocument. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDocumentRequest { - /// Required. The name of the document to delete. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id} - /// or - /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. + /// Required. The name of the document to delete. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id} + /// or + /// projects/{project_number}/locations/{location}/documents/referenceId/{reference_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchDocumentsRequest { - /// Required. The parent, which owns this collection of documents. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent, which owns this collection of documents. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The meta information collected about the end user, used to enforce access - /// control and improve the search quality of the service. + /// The meta information collected about the end user, used to enforce access + /// control and improve the search quality of the service. #[prost(message, optional, tag="3")] pub request_metadata: ::core::option::Option, - /// Query used to search against documents (keyword, filters, etc.). + /// Query used to search against documents (keyword, filters, etc.). #[prost(message, optional, tag="4")] pub document_query: ::core::option::Option, - /// An integer that specifies the current offset (that is, starting result - /// location, amongst the documents deemed by the API as relevant) in search - /// results. This field is only considered if \[page_token][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.page_token\] is unset. + /// An integer that specifies the current offset (that is, starting result + /// location, amongst the documents deemed by the API as relevant) in search + /// results. This field is only considered if \[page_token][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.page_token\] is unset. /// - /// The maximum allowed value is 5000. Otherwise an error is thrown. + /// The maximum allowed value is 5000. Otherwise an error is thrown. /// - /// For example, 0 means to return results starting from the first matching - /// document, and 10 means to return from the 11th document. This can be used - /// for pagination, (for example, pageSize = 10 and offset = 10 means to return - /// from the second page). + /// For example, 0 means to return results starting from the first matching + /// document, and 10 means to return from the 11th document. This can be used + /// for pagination, (for example, pageSize = 10 and offset = 10 means to return + /// from the second page). #[prost(int32, tag="5")] pub offset: i32, - /// A limit on the number of documents returned in the search results. - /// Increasing this value above the default value of 10 can increase search - /// response time. The value can be between 1 and 100. + /// A limit on the number of documents returned in the search results. + /// Increasing this value above the default value of 10 can increase search + /// response time. The value can be between 1 and 100. #[prost(int32, tag="6")] pub page_size: i32, - /// The token specifying the current offset within search results. - /// See \[SearchDocumentsResponse.next_page_token][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.next_page_token\] for an explanation of how - /// to obtain the next set of query results. + /// The token specifying the current offset within search results. + /// See \[SearchDocumentsResponse.next_page_token][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.next_page_token\] for an explanation of how + /// to obtain the next set of query results. #[prost(string, tag="7")] pub page_token: ::prost::alloc::string::String, - /// The criteria determining how search results are sorted. For non-empty - /// query, default is `"relevance desc"`. For empty query, default is - /// `"upload_date desc"`. + /// The criteria determining how search results are sorted. For non-empty + /// query, default is `"relevance desc"`. For empty query, default is + /// `"upload_date desc"`. /// - /// Supported options are: + /// Supported options are: /// - /// * `"relevance desc"`: By relevance descending, as determined by the API + /// * `"relevance desc"`: By relevance descending, as determined by the API /// algorithms. - /// * `"upload_date desc"`: By upload date descending. - /// * `"upload_date"`: By upload date ascending. - /// * `"update_date desc"`: By last updated date descending. - /// * `"update_date"`: By last updated date ascending. + /// * `"upload_date desc"`: By upload date descending. + /// * `"upload_date"`: By upload date ascending. + /// * `"update_date desc"`: By last updated date descending. + /// * `"update_date"`: By last updated date ascending. #[prost(string, tag="8")] pub order_by: ::prost::alloc::string::String, - /// An expression specifying a histogram request against matching - /// documents. Expression syntax is an aggregation function call with - /// histogram facets and other options. + /// An expression specifying a histogram request against matching + /// documents. Expression syntax is an aggregation function call with + /// histogram facets and other options. /// - /// The following aggregation functions are supported: + /// The following aggregation functions are supported: /// - /// * `count(string_histogram_facet)`: Count the number of matching entities - /// for each distinct attribute value. + /// * `count(string_histogram_facet)`: Count the number of matching entities + /// for each distinct attribute value. /// - /// Data types: + /// Data types: /// - /// * Histogram facet (aka filterable properties): Facet names with format - /// <schema id>.<facet>. Facets will have the - /// format of: \[a-zA-Z][a-zA-Z0-9_:/-.\]. If the facet is a child - /// facet, then the parent hierarchy needs to be specified separated by - /// dots in the prefix after the schema id. Thus, the format for a multi- - /// level facet is: <schema id>.<parent facet name>. - /// <child facet name>. Example: - /// schema123.root_parent_facet.middle_facet.child_facet - /// * DocumentSchemaId: (with no schema id prefix) to get - /// histograms for each document type (returns the schema id path, e.g. - /// projects/12345/locations/us-west/documentSchemas/abc123). + /// * Histogram facet (aka filterable properties): Facet names with format + /// <schema id>.<facet>. Facets will have the + /// format of: \[a-zA-Z][a-zA-Z0-9_:/-.\]. If the facet is a child + /// facet, then the parent hierarchy needs to be specified separated by + /// dots in the prefix after the schema id. Thus, the format for a multi- + /// level facet is: <schema id>.<parent facet name>. + /// <child facet name>. Example: + /// schema123.root_parent_facet.middle_facet.child_facet + /// * DocumentSchemaId: (with no schema id prefix) to get + /// histograms for each document type (returns the schema id path, e.g. + /// projects/12345/locations/us-west/documentSchemas/abc123). /// - /// Example expression: + /// Example expression: /// - /// * Document type counts: + /// * Document type counts: /// count('DocumentSchemaId') /// - /// * For schema id, abc123, get the counts for MORTGAGE_TYPE: + /// * For schema id, abc123, get the counts for MORTGAGE_TYPE: /// count('abc123.MORTGAGE_TYPE') #[prost(message, repeated, tag="9")] pub histogram_queries: ::prost::alloc::vec::Vec, - /// Optional. Controls if the search document request requires the return of a total size - /// of matched documents. See \[SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size\]. + /// Optional. Controls if the search document request requires the return of a total size + /// of matched documents. See \[SearchDocumentsResponse.total_size][google.cloud.contentwarehouse.v1.SearchDocumentsResponse.total_size\]. /// - /// Enabling this flag may adversely impact performance. + /// Enabling this flag may adversely impact performance. /// - /// Defaults to false. + /// Defaults to false. #[prost(bool, tag="10")] pub require_total_size: bool, - /// Experimental, do not use. - /// The limit on the number of documents returned for the question-answering - /// feature. To enable the question-answering feature, set - /// \[DocumentQuery].[is_nl_query][\] to true. + /// Experimental, do not use. + /// The limit on the number of documents returned for the question-answering + /// feature. To enable the question-answering feature, set + /// \[DocumentQuery].[is_nl_query][\] to true. #[prost(int32, tag="11")] pub qa_size_limit: i32, } -/// Request message for DocumentService.FetchAcl +/// Request message for DocumentService.FetchAcl #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchAclRequest { - /// Required. REQUIRED: The resource for which the policy is being requested. - /// Format for document: - /// projects/{project_number}/locations/{location}/documents/{document_id}. - /// Format for project: projects/{project_number}. + /// Required. REQUIRED: The resource for which the policy is being requested. + /// Format for document: + /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// Format for project: projects/{project_number}. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="2")] pub request_metadata: ::core::option::Option, - /// For Get Project ACL only. Authorization check for end user will be ignored - /// when project_owner=true. + /// For Get Project ACL only. Authorization check for end user will be ignored + /// when project_owner=true. #[prost(bool, tag="3")] pub project_owner: bool, } -/// Request message for DocumentService.SetAcl. +/// Request message for DocumentService.SetAcl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetAclRequest { - /// Required. REQUIRED: The resource for which the policy is being requested. - /// Format for document: - /// projects/{project_number}/locations/{location}/documents/{document_id}. - /// Format for project: projects/{project_number}. + /// Required. REQUIRED: The resource for which the policy is being requested. + /// Format for document: + /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// Format for project: projects/{project_number}. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, - /// Required. REQUIRED: The complete policy to be applied to the `resource`. The size of - /// the policy is limited to a few 10s of KB. + /// Required. REQUIRED: The complete policy to be applied to the `resource`. The size of + /// the policy is limited to a few 10s of KB. #[prost(message, optional, tag="2")] pub policy: ::core::option::Option, - /// The meta information collected about the end user, used to enforce access - /// control for the service. + /// The meta information collected about the end user, used to enforce access + /// control for the service. #[prost(message, optional, tag="3")] pub request_metadata: ::core::option::Option, - /// For Set Project ACL only. Authorization check for end user will be ignored - /// when project_owner=true. + /// For Set Project ACL only. Authorization check for end user will be ignored + /// when project_owner=true. #[prost(bool, tag="4")] pub project_owner: bool, } -/// Represents a set of rules from a single customer. -/// Next id: 9 +/// Represents a set of rules from a single customer. +/// Next id: 9 #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleSet { - /// The resource name of the rule set. Managed internally. - /// Format: - /// projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. + /// The resource name of the rule set. Managed internally. + /// Format: + /// projects/{project_number}/locations/{location}/ruleSet/{rule_set_id}. /// - /// The name is ignored when creating a rule set. + /// The name is ignored when creating a rule set. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// Short description of the rule-set. + /// Short description of the rule-set. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// Source of the rules i.e., customer name. + /// Source of the rules i.e., customer name. #[prost(string, tag="2")] pub source: ::prost::alloc::string::String, - /// List of rules given by the customer. + /// List of rules given by the customer. #[prost(message, repeated, tag="3")] pub rules: ::prost::alloc::vec::Vec, - /// Records the user defined time after which the rule-set will become active. + /// Records the user defined time after which the rule-set will become active. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The schedule with which the Ruleset is applied. + /// The schedule with which the Ruleset is applied. /// - /// The presence of this field means that the ruleset is asynchronous. + /// The presence of this field means that the ruleset is asynchronous. #[prost(enumeration="Schedule", tag="8")] pub schedule: i32, #[prost(oneof="rule_set::Expiration", tags="5, 7")] @@ -1765,48 +1765,48 @@ pub struct RuleSet { pub mod rule_set { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Expiration { - /// The timestamp after which RuleSet will not be executed by Policy Engine. + /// The timestamp after which RuleSet will not be executed by Policy Engine. #[prost(message, tag="5")] ExpireTime(::prost_types::Timestamp), - /// Input only. The TTL (time to live) of the RuleSet. + /// Input only. The TTL (time to live) of the RuleSet. /// - /// If it is set, \[expire_time][google.cloud.contentwarehouse.v1.RuleSet.expire_time\] is set as current timestamp plus \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\]. - /// The derived \[expire_time][google.cloud.contentwarehouse.v1.RuleSet.expire_time\] is returned in the output and \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\] is left - /// blank when retrieving the \[RuleSet][google.cloud.contentwarehouse.v1.RuleSet\]. + /// If it is set, \[expire_time][google.cloud.contentwarehouse.v1.RuleSet.expire_time\] is set as current timestamp plus \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\]. + /// The derived \[expire_time][google.cloud.contentwarehouse.v1.RuleSet.expire_time\] is returned in the output and \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\] is left + /// blank when retrieving the \[RuleSet][google.cloud.contentwarehouse.v1.RuleSet\]. /// - /// If it is set, the RuleSet is not available for execution after current - /// timestamp plus \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\]. However, the RuleSet can still be retrieved by - /// \[RuleSetService.GetRuleSet][google.cloud.contentwarehouse.v1.RuleSetService.GetRuleSet\] and \[RuleSetService.ListRuleSets][google.cloud.contentwarehouse.v1.RuleSetService.ListRuleSets\]. + /// If it is set, the RuleSet is not available for execution after current + /// timestamp plus \[ttl][google.cloud.contentwarehouse.v1.RuleSet.ttl\]. However, the RuleSet can still be retrieved by + /// \[RuleSetService.GetRuleSet][google.cloud.contentwarehouse.v1.RuleSetService.GetRuleSet\] and \[RuleSetService.ListRuleSets][google.cloud.contentwarehouse.v1.RuleSetService.ListRuleSets\]. #[prost(message, tag="7")] Ttl(::prost_types::Duration), } } -/// Represents the rule for a content warehouse trigger. +/// Represents the rule for a content warehouse trigger. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Rule { - /// Short description of the rule and its context. + /// Short description of the rule and its context. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// ID of the rule. It has to be unique across all the examples. - /// This is managed internally. + /// ID of the rule. It has to be unique across all the examples. + /// This is managed internally. #[prost(string, tag="2")] pub rule_id: ::prost::alloc::string::String, - /// Identifies the trigger type for running the policy. + /// Identifies the trigger type for running the policy. #[prost(enumeration="rule::TriggerType", tag="3")] pub trigger_type: i32, - /// Represents the conditional expression to be evaluated. - /// Expression should evaluate to a boolean result. - /// When the condition is true actions are executed. - /// Example: user_role = "hsbc_role_1" AND doc.salary > 20000 + /// Represents the conditional expression to be evaluated. + /// Expression should evaluate to a boolean result. + /// When the condition is true actions are executed. + /// Example: user_role = "hsbc_role_1" AND doc.salary > 20000 #[prost(string, tag="4")] pub condition: ::prost::alloc::string::String, - /// List of actions that are executed when the rule is satisfied. + /// List of actions that are executed when the rule is satisfied. #[prost(message, repeated, tag="5")] pub actions: ::prost::alloc::vec::Vec, - /// Priority of the rule for execution sequence preference. + /// Priority of the rule for execution sequence preference. #[prost(float, tag="6")] pub priority: f32, - /// Indicates if the policy is currently in use or not. + /// Indicates if the policy is currently in use or not. #[prost(bool, tag="7")] pub enabled: bool, } @@ -1816,17 +1816,17 @@ pub mod rule { #[repr(i32)] pub enum TriggerType { Unknown = 0, - /// Trigger for create document action. + /// Trigger for create document action. OnCreate = 1, - /// Trigger for read document action. + /// Trigger for read document action. OnRead = 2, - /// Trigger for search document action. + /// Trigger for search document action. OnSearch = 3, - /// Trigger for update document action. + /// Trigger for update document action. OnUpdate = 4, - /// Trigger for delete document action. + /// Trigger for delete document action. OnDelete = 5, - /// Trigger for asynchronous document actions. + /// Trigger for asynchronous document actions. Async = 6, } impl TriggerType { @@ -1847,10 +1847,10 @@ pub mod rule { } } } -/// Represents the action triggered by Rule Engine when the rule is true. +/// Represents the action triggered by Rule Engine when the rule is true. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Action { - /// ID of the action. Managed internally. + /// ID of the action. Managed internally. #[prost(string, tag="1")] pub action_id: ::prost::alloc::string::String, #[prost(oneof="action::Action", tags="2, 3, 4, 5, 6, 7, 8, 9, 10")] @@ -1860,60 +1860,60 @@ pub struct Action { pub mod action { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Action { - /// Action triggering access control operations. + /// Action triggering access control operations. #[prost(message, tag="2")] AccessControl(super::AccessControlAction), - /// Action triggering data validation operations. + /// Action triggering data validation operations. #[prost(message, tag="3")] DataValidation(super::DataValidationAction), - /// Action triggering data update operations. + /// Action triggering data update operations. #[prost(message, tag="4")] DataUpdate(super::DataUpdateAction), - /// Action triggering create document link operation. + /// Action triggering create document link operation. #[prost(message, tag="5")] AddToFolder(super::AddToFolderAction), - /// Action publish to Pub/Sub operation. + /// Action publish to Pub/Sub operation. #[prost(message, tag="6")] PublishToPubSub(super::PublishAction), - /// Action performing context evaluation operation. + /// Action performing context evaluation operation. #[prost(message, tag="7")] ContextEvaluationAction(super::ContextEvaluationAction), - /// Action process expired data. + /// Action process expired data. #[prost(message, tag="8")] ExpiredDataHandlingAction(super::ExpiredDataHandlingAction), - /// Action removing a document from a folder. + /// Action removing a document from a folder. #[prost(message, tag="9")] RemoveFromFolderAction(super::RemoveFromFolderAction), - /// Action deleting the document. + /// Action deleting the document. #[prost(message, tag="10")] DeleteDocumentAction(super::DeleteDocumentAction), } } -/// Represents the action responsible for access control list management -/// operations. +/// Represents the action responsible for access control list management +/// operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AccessControlAction { - /// Identifies the type of operation. + /// Identifies the type of operation. #[prost(enumeration="access_control_action::OperationType", tag="1")] pub operation_type: i32, - /// Represents the new policy from which bindings are added, removed or - /// replaced based on the type of the operation. the policy is limited to a few - /// 10s of KB. + /// Represents the new policy from which bindings are added, removed or + /// replaced based on the type of the operation. the policy is limited to a few + /// 10s of KB. #[prost(message, optional, tag="2")] pub policy: ::core::option::Option, } /// Nested message and enum types in `AccessControlAction`. pub mod access_control_action { - /// Type of ACL modification operation. + /// Type of ACL modification operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OperationType { Unknown = 0, - /// Adds newly given policy bindings in the existing bindings list. + /// Adds newly given policy bindings in the existing bindings list. AddPolicyBinding = 1, - /// Removes newly given policy bindings from the existing bindings list. + /// Removes newly given policy bindings from the existing bindings list. RemovePolicyBinding = 2, - /// Replaces existing policy bindings with the given policy binding list + /// Replaces existing policy bindings with the given policy binding list ReplacePolicyBinding = 3, } impl OperationType { @@ -1931,107 +1931,107 @@ pub mod access_control_action { } } } -/// Represents the action responsible for data validation operations. +/// Represents the action responsible for data validation operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataValidationAction { - /// Map of (K, V) -> (field, string condition to be evaluated on the field) - /// E.g., ("age", "age > 18 && age < 60") entry triggers validation of field - /// age with the given condition. Map entries will be ANDed during validation. + /// Map of (K, V) -> (field, string condition to be evaluated on the field) + /// E.g., ("age", "age > 18 && age < 60") entry triggers validation of field + /// age with the given condition. Map entries will be ANDed during validation. #[prost(map="string, string", tag="1")] pub conditions: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Represents the action responsible for properties update operations. +/// Represents the action responsible for properties update operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataUpdateAction { - /// Map of (K, V) -> (valid name of the field, new value of the field) - /// E.g., ("age", "60") entry triggers update of field age with a value of 60. - /// If the field is not present then new entry is added. - /// During update action execution, value strings will be casted to - /// appropriate types. + /// Map of (K, V) -> (valid name of the field, new value of the field) + /// E.g., ("age", "60") entry triggers update of field age with a value of 60. + /// If the field is not present then new entry is added. + /// During update action execution, value strings will be casted to + /// appropriate types. #[prost(map="string, string", tag="1")] pub entries: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Represents the folder schema and corresponding condition. +/// Represents the folder schema and corresponding condition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FolderSchemaCondition { - /// Name of the folder schema consisting of the properties to be evaluated. - /// Format: - /// projects/{project_number}/locations/{location}/documentSchemas/{document_id}. + /// Name of the folder schema consisting of the properties to be evaluated. + /// Format: + /// projects/{project_number}/locations/{location}/documentSchemas/{document_id}. #[prost(string, tag="1")] pub folder_schema: ::prost::alloc::string::String, - /// The filter condition. - /// The syntax for this expression is a subset of SQL syntax. + /// The filter condition. + /// The syntax for this expression is a subset of SQL syntax. /// - /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left - /// of the operator is a property name and the right of the operator is a - /// number or a quoted string. You must escape backslash (\\) and quote (\") - /// characters. Supported functions are `LOWER(\[property_name\])` to perform a - /// case insensitive match and `EMPTY(\[property_name\])` to filter on the - /// existence of a key. + /// Supported operators are: `=`, `!=`, `<`, `<=`, `>`, and `>=` where the left + /// of the operator is a property name and the right of the operator is a + /// number or a quoted string. You must escape backslash (\\) and quote (\") + /// characters. Supported functions are `LOWER(\[property_name\])` to perform a + /// case insensitive match and `EMPTY(\[property_name\])` to filter on the + /// existence of a key. /// - /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting - /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 - /// comparisons or functions are allowed in the expression. The expression must - /// be < 6000 bytes in length. - /// Example: "DOC.SSN = FOLDER.ssn" - /// In the above example, SSN property from the document under - /// process is evaluated against folders' ssn property. - /// The document under process will be added under the folder if the condition - /// is evaluated as true. - /// Note: FOLDER prefix is used to refer to target folder's properties. - /// DOC prefix is used to refer to properties in the under process document. + /// Boolean expressions (AND/OR/NOT) are supported up to 3 levels of nesting + /// (for example, "((A AND B AND C) OR NOT D) AND E"), a maximum of 100 + /// comparisons or functions are allowed in the expression. The expression must + /// be < 6000 bytes in length. + /// Example: "DOC.SSN = FOLDER.ssn" + /// In the above example, SSN property from the document under + /// process is evaluated against folders' ssn property. + /// The document under process will be added under the folder if the condition + /// is evaluated as true. + /// Note: FOLDER prefix is used to refer to target folder's properties. + /// DOC prefix is used to refer to properties in the under process document. #[prost(string, tag="2")] pub condition: ::prost::alloc::string::String, } -/// Represents the action responsible for adding document under a folder. +/// Represents the action responsible for adding document under a folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddToFolderAction { - /// Names of the folder under which new document is to be added. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// Names of the folder under which new document is to be added. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id}. #[prost(string, repeated, tag="1")] pub folders: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If the folders info is not available then populate FolderSchemaConditions - /// for finding matching folders dynamically. - /// Filter conditions used to derive specific folders dynamically. + /// If the folders info is not available then populate FolderSchemaConditions + /// for finding matching folders dynamically. + /// Filter conditions used to derive specific folders dynamically. #[prost(message, repeated, tag="2")] pub folder_schema_conditions: ::prost::alloc::vec::Vec, } -/// Represents the action responsible for remove a document from a specific -/// folder. +/// Represents the action responsible for remove a document from a specific +/// folder. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveFromFolderAction { - /// Condition of the action to be executed. + /// Condition of the action to be executed. #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// Name of the folder under which new document is to be added. - /// Format: - /// projects/{project_number}/locations/{location}/documents/{document_id}. + /// Name of the folder under which new document is to be added. + /// Format: + /// projects/{project_number}/locations/{location}/documents/{document_id}. #[prost(string, tag="2")] pub folder: ::prost::alloc::string::String, } -/// Represents the action responsible for publishing messages to a Pub/Sub topic. +/// Represents the action responsible for publishing messages to a Pub/Sub topic. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PublishAction { - /// The topic id in the Pub/Sub service for which messages will be published - /// to. + /// The topic id in the Pub/Sub service for which messages will be published + /// to. #[prost(string, tag="1")] pub topic_id: ::prost::alloc::string::String, - /// Messages to be published. + /// Messages to be published. #[prost(string, repeated, tag="2")] pub messages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents the action responsible for performing context evaluation. +/// Represents the action responsible for performing context evaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContextEvaluationAction { - /// Filter condition for the documents to be included in the evaluation. + /// Filter condition for the documents to be included in the evaluation. #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// Name of the variables input for the context evaluation. + /// Name of the variables input for the context evaluation. #[prost(string, repeated, tag="2")] pub variable_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. cloud Pub/Sub topic-id. If specified, information of the - /// updated documents will be published to this topic. + /// Optional. cloud Pub/Sub topic-id. If specified, information of the + /// updated documents will be published to this topic. #[prost(string, tag="5")] pub topic_id: ::prost::alloc::string::String, #[prost(oneof="context_evaluation_action::ContextEvaluationMethod", tags="4, 6, 7")] @@ -2039,146 +2039,146 @@ pub struct ContextEvaluationAction { } /// Nested message and enum types in `ContextEvaluationAction`. pub mod context_evaluation_action { - /// User Cloud Function for context evaluation. + /// User Cloud Function for context evaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudFunctionInfo { - /// Url of the Cloud Function. The Cloud Function needs to live inside - /// consumer project. + /// Url of the Cloud Function. The Cloud Function needs to live inside + /// consumer project. #[prost(string, tag="3")] pub cloud_function: ::prost::alloc::string::String, } - /// Settings of user's webhook. + /// Settings of user's webhook. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Webhook { - /// URL string for receiving a POST request every time webhook is triggered. + /// URL string for receiving a POST request every time webhook is triggered. #[prost(string, tag="8")] pub uri: ::prost::alloc::string::String, } - /// Settings of service directory for webhook under VPCSC. + /// Settings of service directory for webhook under VPCSC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookWithServiceDirectory { - /// The service directory service resource name. + /// The service directory service resource name. #[prost(string, tag="9")] pub service: ::prost::alloc::string::String, - /// Detailed webhook settings. + /// Detailed webhook settings. #[prost(message, optional, tag="10")] pub webhook: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ContextEvaluationMethod { - /// User Cloud Function for the context evaluation. + /// User Cloud Function for the context evaluation. #[prost(message, tag="4")] CloudFunctionInfo(CloudFunctionInfo), - /// User's webhook address for the context evaluation. + /// User's webhook address for the context evaluation. #[prost(message, tag="6")] Webhook(Webhook), - /// User's webhook address integrated with service-directory. + /// User's webhook address integrated with service-directory. #[prost(message, tag="7")] WebhookWithServiceDirectory(WebhookWithServiceDirectory), } } -/// Represents the action responsible for handling expired data. +/// Represents the action responsible for handling expired data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExpiredDataHandlingAction { - /// Filter condition for the documents to be included in the evaluation. + /// Filter condition for the documents to be included in the evaluation. #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// Expired data handling will publish errors to the Pub/Sub using topic-id - /// provided. + /// Expired data handling will publish errors to the Pub/Sub using topic-id + /// provided. #[prost(string, tag="2")] pub topic_id: ::prost::alloc::string::String, } -/// Represents the action responsible for deleting the document. +/// Represents the action responsible for deleting the document. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDocumentAction { - /// Boolean field to select between hard vs soft delete options. - /// Set 'true' for 'hard delete' and 'false' for 'soft delete'. + /// Boolean field to select between hard vs soft delete options. + /// Set 'true' for 'hard delete' and 'false' for 'soft delete'. #[prost(bool, tag="1")] pub enable_hard_delete: bool, } -/// Records the output of Rule Engine including rule evaluation and actions -/// result. +/// Records the output of Rule Engine including rule evaluation and actions +/// result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleEngineOutput { - /// Name of the document against which the rules and actions were evaluated. + /// Name of the document against which the rules and actions were evaluated. #[prost(string, tag="3")] pub document_name: ::prost::alloc::string::String, - /// Output from Rule Evaluator containing matched, unmatched and invalid rules. + /// Output from Rule Evaluator containing matched, unmatched and invalid rules. #[prost(message, optional, tag="1")] pub rule_evaluator_output: ::core::option::Option, - /// Output from Action Executor containing rule and corresponding actions - /// execution result. + /// Output from Action Executor containing rule and corresponding actions + /// execution result. #[prost(message, optional, tag="2")] pub action_executor_output: ::core::option::Option, } -/// Represents the output of the Rule Evaluator. +/// Represents the output of the Rule Evaluator. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleEvaluatorOutput { - /// List of rules fetched from database for the given request trigger type. + /// List of rules fetched from database for the given request trigger type. #[prost(message, repeated, tag="1")] pub triggered_rules: ::prost::alloc::vec::Vec, - /// A subset of triggered rules that are evaluated true for a given request. + /// A subset of triggered rules that are evaluated true for a given request. #[prost(message, repeated, tag="2")] pub matched_rules: ::prost::alloc::vec::Vec, - /// A subset of triggered rules that failed the validation check(s) after - /// parsing. + /// A subset of triggered rules that failed the validation check(s) after + /// parsing. #[prost(message, repeated, tag="3")] pub invalid_rules: ::prost::alloc::vec::Vec, } -/// A triggered rule that failed the validation check(s) after parsing. +/// A triggered rule that failed the validation check(s) after parsing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidRule { - /// Triggered rule. + /// Triggered rule. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, - /// Validation error on a parsed expression. + /// Validation error on a parsed expression. #[prost(string, tag="2")] pub error: ::prost::alloc::string::String, } -/// Represents the output of the Action Executor. +/// Represents the output of the Action Executor. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionExecutorOutput { - /// List of rule and corresponding actions result. + /// List of rule and corresponding actions result. #[prost(message, repeated, tag="1")] pub rule_actions_pairs: ::prost::alloc::vec::Vec, } -/// Represents a rule and outputs of associated actions. +/// Represents a rule and outputs of associated actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuleActionsPair { - /// Represents the rule. + /// Represents the rule. #[prost(message, optional, tag="1")] pub rule: ::core::option::Option, - /// Outputs of executing the actions associated with the above rule. + /// Outputs of executing the actions associated with the above rule. #[prost(message, repeated, tag="2")] pub action_outputs: ::prost::alloc::vec::Vec, } -/// Represents the result of executing an action. +/// Represents the result of executing an action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionOutput { - /// ID of the action. + /// ID of the action. #[prost(string, tag="1")] pub action_id: ::prost::alloc::string::String, - /// State of an action. + /// State of an action. #[prost(enumeration="action_output::State", tag="2")] pub action_state: i32, - /// Action execution output message. + /// Action execution output message. #[prost(string, tag="3")] pub output_message: ::prost::alloc::string::String, } /// Nested message and enum types in `ActionOutput`. pub mod action_output { - /// Represents execution state of the action. + /// Represents execution state of the action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { Unknown = 0, - /// State indicating action executed successfully. + /// State indicating action executed successfully. ActionSucceeded = 1, - /// State indicating action failed. + /// State indicating action failed. ActionFailed = 2, - /// State indicating action timed out. + /// State indicating action timed out. ActionTimedOut = 3, - /// State indicating action is pending. + /// State indicating action is pending. ActionPending = 4, } impl State { @@ -2197,17 +2197,17 @@ pub mod action_output { } } } -/// Represents the schedule with which asynchronous RuleSets are applied. +/// Represents the schedule with which asynchronous RuleSets are applied. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Schedule { - /// Unspecified schedule. + /// Unspecified schedule. Unspecified = 0, - /// Policy should be applied every calendar day at 00:00 PST. + /// Policy should be applied every calendar day at 00:00 PST. Daily = 1, - /// Policy should be applied every Sunday at 00:00 PST. + /// Policy should be applied every Sunday at 00:00 PST. Weekly = 2, - /// Policy should be applied the 1st of every calendar month at 00:00 PST. + /// Policy should be applied the 1st of every calendar month at 00:00 PST. Monthly = 3, } impl Schedule { @@ -2224,135 +2224,135 @@ impl Schedule { } } } -/// Response message for DocumentService.CreateDocument. +/// Response message for DocumentService.CreateDocument. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDocumentResponse { - /// Document created after executing create request. + /// Document created after executing create request. #[prost(message, optional, tag="1")] pub document: ::core::option::Option, - /// Output from Rule Engine recording the rule evaluator and action executor's - /// output. + /// Output from Rule Engine recording the rule evaluator and action executor's + /// output. /// - /// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto + /// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto #[prost(message, optional, tag="2")] pub rule_engine_output: ::core::option::Option, - /// Additional information for the API invocation, such as the request tracking - /// id. + /// Additional information for the API invocation, such as the request tracking + /// id. #[prost(message, optional, tag="3")] pub metadata: ::core::option::Option, } -/// Response message for DocumentService.UpdateDocument. +/// Response message for DocumentService.UpdateDocument. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDocumentResponse { - /// Updated document after executing update request. + /// Updated document after executing update request. #[prost(message, optional, tag="1")] pub document: ::core::option::Option, - /// Output from Rule Engine recording the rule evaluator and action executor's - /// output. + /// Output from Rule Engine recording the rule evaluator and action executor's + /// output. /// - /// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto + /// Refer format in: google/cloud/contentwarehouse/v1/rule_engine.proto #[prost(message, optional, tag="2")] pub rule_engine_output: ::core::option::Option, - /// Additional information for the API invocation, such as the request tracking - /// id. + /// Additional information for the API invocation, such as the request tracking + /// id. #[prost(message, optional, tag="3")] pub metadata: ::core::option::Option, } -/// Additional result info for the question-answering feature. +/// Additional result info for the question-answering feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QaResult { - /// Highlighted sections in the snippet. + /// Highlighted sections in the snippet. #[prost(message, repeated, tag="1")] pub highlights: ::prost::alloc::vec::Vec, - /// The calibrated confidence score for this document, in the range - /// [0., 1.]. This represents the confidence level for whether the returned - /// document and snippet answers the user's query. + /// The calibrated confidence score for this document, in the range + /// [0., 1.]. This represents the confidence level for whether the returned + /// document and snippet answers the user's query. #[prost(float, tag="2")] pub confidence_score: f32, } /// Nested message and enum types in `QAResult`. pub mod qa_result { - /// A text span in the search text snippet that represents a highlighted - /// section (answer context, highly relevant sentence, etc.). + /// A text span in the search text snippet that represents a highlighted + /// section (answer context, highly relevant sentence, etc.). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Highlight { - /// Start index of the highlight. + /// Start index of the highlight. #[prost(int32, tag="1")] pub start_index: i32, - /// End index of the highlight, exclusive. + /// End index of the highlight, exclusive. #[prost(int32, tag="2")] pub end_index: i32, } } -/// Response message for DocumentService.SearchDocuments. +/// Response message for DocumentService.SearchDocuments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchDocumentsResponse { - /// The document entities that match the specified \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\]. + /// The document entities that match the specified \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\]. #[prost(message, repeated, tag="1")] pub matching_documents: ::prost::alloc::vec::Vec, - /// The token that specifies the starting position of the next page of results. - /// This field is empty if there are no more results. + /// The token that specifies the starting position of the next page of results. + /// This field is empty if there are no more results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// The total number of matched documents which is available only if the client - /// set \[SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size\] to `true`. Otherwise, the - /// value will be `-1`. + /// The total number of matched documents which is available only if the client + /// set \[SearchDocumentsRequest.require_total_size][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.require_total_size\] to `true`. Otherwise, the + /// value will be `-1`. #[prost(int32, tag="3")] pub total_size: i32, - /// Additional information for the API invocation, such as the request tracking - /// id. + /// Additional information for the API invocation, such as the request tracking + /// id. #[prost(message, optional, tag="4")] pub metadata: ::core::option::Option, - /// The histogram results that match with the specified - /// \[SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries\]. + /// The histogram results that match with the specified + /// \[SearchDocumentsRequest.histogram_queries][google.cloud.contentwarehouse.v1.SearchDocumentsRequest.histogram_queries\]. #[prost(message, repeated, tag="6")] pub histogram_query_results: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SearchDocumentsResponse`. pub mod search_documents_response { - /// Document entry with metadata inside \[SearchDocumentsResponse][google.cloud.contentwarehouse.v1.SearchDocumentsResponse\] + /// Document entry with metadata inside \[SearchDocumentsResponse][google.cloud.contentwarehouse.v1.SearchDocumentsResponse\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchingDocument { - /// Document that matches the specified \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\]. - /// This document only contains indexed metadata information. + /// Document that matches the specified \[SearchDocumentsRequest][google.cloud.contentwarehouse.v1.SearchDocumentsRequest\]. + /// This document only contains indexed metadata information. #[prost(message, optional, tag="1")] pub document: ::core::option::Option, - /// Contains snippets of text from the document full raw text that most - /// closely match a search query's keywords, if available. All HTML tags in - /// the original fields are stripped when returned in this field, and - /// matching query keywords are enclosed in HTML bold tags. + /// Contains snippets of text from the document full raw text that most + /// closely match a search query's keywords, if available. All HTML tags in + /// the original fields are stripped when returned in this field, and + /// matching query keywords are enclosed in HTML bold tags. /// - /// If the question-answering feature is enabled, this field will instead - /// contain a snippet that answers the user's natural-language query. No HTML - /// bold tags will be present, and highlights in the answer snippet can be - /// found in \[QAResult.highlights][google.cloud.contentwarehouse.v1.QAResult.highlights\]. + /// If the question-answering feature is enabled, this field will instead + /// contain a snippet that answers the user's natural-language query. No HTML + /// bold tags will be present, and highlights in the answer snippet can be + /// found in \[QAResult.highlights][google.cloud.contentwarehouse.v1.QAResult.highlights\]. #[prost(string, tag="2")] pub search_text_snippet: ::prost::alloc::string::String, - /// Experimental. - /// Additional result info if the question-answering feature is enabled. + /// Experimental. + /// Additional result info if the question-answering feature is enabled. #[prost(message, optional, tag="3")] pub qa_result: ::core::option::Option, } } -/// Response message for DocumentService.FetchAcl. +/// Response message for DocumentService.FetchAcl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchAclResponse { - /// The IAM policy. + /// The IAM policy. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, - /// Additional information for the API invocation, such as the request tracking - /// id. + /// Additional information for the API invocation, such as the request tracking + /// id. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } -/// Response message for DocumentService.SetAcl. +/// Response message for DocumentService.SetAcl. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetAclResponse { - /// The policy will be attached to a resource (e.g. projecct, document). + /// The policy will be attached to a resource (e.g. projecct, document). #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, - /// Additional information for the API invocation, such as the request tracking - /// id. + /// Additional information for the API invocation, such as the request tracking + /// id. #[prost(message, optional, tag="2")] pub metadata: ::core::option::Option, } @@ -2573,104 +2573,104 @@ pub mod document_service_client { } } } -/// Request message for RuleSetService.CreateRuleSet. +/// Request message for RuleSetService.CreateRuleSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRuleSetRequest { - /// Required. The parent name. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent name. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The rule set to create. + /// Required. The rule set to create. #[prost(message, optional, tag="2")] pub rule_set: ::core::option::Option, } -/// Request message for RuleSetService.GetRuleSet. +/// Request message for RuleSetService.GetRuleSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRuleSetRequest { - /// Required. The name of the rule set to retrieve. - /// Format: - /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. + /// Required. The name of the rule set to retrieve. + /// Format: + /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for RuleSetService.UpdateRuleSet. +/// Request message for RuleSetService.UpdateRuleSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRuleSetRequest { - /// Required. The name of the rule set to update. - /// Format: - /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. + /// Required. The name of the rule set to update. + /// Format: + /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The rule set to update. + /// Required. The rule set to update. #[prost(message, optional, tag="2")] pub rule_set: ::core::option::Option, } -/// Request message for RuleSetService.DeleteRuleSet. +/// Request message for RuleSetService.DeleteRuleSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRuleSetRequest { - /// Required. The name of the rule set to delete. - /// Format: - /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. + /// Required. The name of the rule set to delete. + /// Format: + /// projects/{project_number}/locations/{location}/ruleSets/{rule_set_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for RuleSetService.ListRuleSets. +/// Request message for RuleSetService.ListRuleSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuleSetsRequest { - /// Required. The parent, which owns this collection of document. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent, which owns this collection of document. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of rule sets to return. The service may return - /// fewer than this value. - /// If unspecified, at most 50 rule sets will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of rule sets to return. The service may return + /// fewer than this value. + /// If unspecified, at most 50 rule sets will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListRuleSets` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListRuleSets` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListRuleSets` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListRuleSets` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for RuleSetService.ListRuleSets. +/// Response message for RuleSetService.ListRuleSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRuleSetsResponse { - /// The rule sets from the specified parent. + /// The rule sets from the specified parent. #[prost(message, repeated, tag="1")] pub rule_sets: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for RuleSetService.ProcessAsyncRuleSets. +/// Request message for RuleSetService.ProcessAsyncRuleSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProcessAsyncRuleSetsRequest { - /// Required. The Location under which all async rules are stored. + /// Required. The Location under which all async rules are stored. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// Required. The frequency category of async rules to process. + /// Required. The frequency category of async rules to process. #[prost(enumeration="Schedule", tag="2")] pub schedule: i32, - /// Optional. Timestamp to override inferred execution time. + /// Optional. Timestamp to override inferred execution time. #[prost(message, optional, tag="3")] pub execution_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Document name filter to process only a subset of Documents. + /// Optional. Document name filter to process only a subset of Documents. #[prost(string, repeated, tag="4")] pub document_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Response message for RuleSetService.ProcessAsyncRuleSets. +/// Response message for RuleSetService.ProcessAsyncRuleSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProcessAsyncRuleSetsResponse { - /// True if the processing of asynchronous policies was entirely - /// successful. + /// True if the processing of asynchronous policies was entirely + /// successful. #[prost(bool, tag="1")] pub success: bool, - /// Contains the errors encountered during the processing of asynchronous - /// policies. + /// Contains the errors encountered during the processing of asynchronous + /// policies. #[prost(message, repeated, tag="2")] pub errors: ::prost::alloc::vec::Vec, } @@ -2869,114 +2869,114 @@ pub mod rule_set_service_client { } } } -/// Represents a list of synonyms for a given context. -/// For example a context "sales" could contain: -/// Synonym 1: sale, invoice, bill, order -/// Synonym 2: money, credit, finance, payment -/// Synonym 3: shipping, freight, transport -/// Each SynonymSets should be disjoint +/// Represents a list of synonyms for a given context. +/// For example a context "sales" could contain: +/// Synonym 1: sale, invoice, bill, order +/// Synonym 2: money, credit, finance, payment +/// Synonym 3: shipping, freight, transport +/// Each SynonymSets should be disjoint #[derive(Clone, PartialEq, ::prost::Message)] pub struct SynonymSet { - /// The resource name of the SynonymSet - /// This is mandatory for google.api.resource. - /// Format: - /// projects/{project_number}/locations/{location}/synonymSets/{context}. + /// The resource name of the SynonymSet + /// This is mandatory for google.api.resource. + /// Format: + /// projects/{project_number}/locations/{location}/synonymSets/{context}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This is a freeform field. Example contexts can be "sales," "engineering," - /// "real estate," "accounting," etc. - /// The context can be supplied during search requests. + /// This is a freeform field. Example contexts can be "sales," "engineering," + /// "real estate," "accounting," etc. + /// The context can be supplied during search requests. #[prost(string, tag="2")] pub context: ::prost::alloc::string::String, - /// List of Synonyms for the context. + /// List of Synonyms for the context. #[prost(message, repeated, tag="3")] pub synonyms: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SynonymSet`. pub mod synonym_set { - /// Represents a list of words given by the customer - /// All these words are synonyms of each other. + /// Represents a list of words given by the customer + /// All these words are synonyms of each other. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Synonym { - /// For example: sale, invoice, bill, order + /// For example: sale, invoice, bill, order #[prost(string, repeated, tag="1")] pub words: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Request message for SynonymSetService.CreateSynonymSet. +/// Request message for SynonymSetService.CreateSynonymSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSynonymSetRequest { - /// Required. The parent name. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent name. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The synonymSet to be created for a context + /// Required. The synonymSet to be created for a context #[prost(message, optional, tag="2")] pub synonym_set: ::core::option::Option, } -/// Request message for SynonymSetService.GetSynonymSet. -/// Will return synonymSet for a certain context. +/// Request message for SynonymSetService.GetSynonymSet. +/// Will return synonymSet for a certain context. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSynonymSetRequest { - /// Required. The name of the synonymSet to retrieve - /// Format: - /// projects/{project_number}/locations/{location}/synonymSets/{context}. + /// Required. The name of the synonymSet to retrieve + /// Format: + /// projects/{project_number}/locations/{location}/synonymSets/{context}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for SynonymSetService.ListSynonymSets. -/// Will return all synonymSets belonging to the customer project. +/// Request message for SynonymSetService.ListSynonymSets. +/// Will return all synonymSets belonging to the customer project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSynonymSetsRequest { - /// Required. The parent name. - /// Format: projects/{project_number}/locations/{location}. + /// Required. The parent name. + /// Format: projects/{project_number}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of synonymSets to return. The service may return - /// fewer than this value. - /// If unspecified, at most 50 rule sets will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// The maximum number of synonymSets to return. The service may return + /// fewer than this value. + /// If unspecified, at most 50 rule sets will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListSynonymSets` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListSynonymSets` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListSynonymSets` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListSynonymSets` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for SynonymSetService.ListSynonymSets. +/// Response message for SynonymSetService.ListSynonymSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSynonymSetsResponse { - /// The synonymSets from the specified parent. + /// The synonymSets from the specified parent. #[prost(message, repeated, tag="1")] pub synonym_sets: ::prost::alloc::vec::Vec, - /// A page token, received from a previous `ListSynonymSets` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListSynonymSets` call. + /// Provide this to retrieve the subsequent page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for SynonymSetService.UpdateSynonymSet. -/// Removes the SynonymSet for the specified context and replaces -/// it with the SynonymSet in this request. +/// Request message for SynonymSetService.UpdateSynonymSet. +/// Removes the SynonymSet for the specified context and replaces +/// it with the SynonymSet in this request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSynonymSetRequest { - /// Required. The name of the synonymSet to update - /// Format: - /// projects/{project_number}/locations/{location}/synonymSets/{context}. + /// Required. The name of the synonymSet to update + /// Format: + /// projects/{project_number}/locations/{location}/synonymSets/{context}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The synonymSet to be updated for the customer + /// Required. The synonymSet to be updated for the customer #[prost(message, optional, tag="2")] pub synonym_set: ::core::option::Option, } -/// Request message for SynonymSetService.DeleteSynonymSet. +/// Request message for SynonymSetService.DeleteSynonymSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSynonymSetRequest { - /// Required. The name of the synonymSet to delete - /// Format: - /// projects/{project_number}/locations/{location}/synonymSets/{context}. + /// Required. The name of the synonymSet to delete + /// Format: + /// projects/{project_number}/locations/{location}/synonymSets/{context}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.datacatalog.v1.rs b/gcloud-sdk/genproto/google.cloud.datacatalog.v1.rs index 5190387ac..3ad571ad9 100644 --- a/gcloud-sdk/genproto/google.cloud.datacatalog.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.datacatalog.v1.rs @@ -1,11 +1,11 @@ -/// Specification for the BigQuery connection. +/// Specification for the BigQuery connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryConnectionSpec { - /// The type of the BigQuery connection. + /// The type of the BigQuery connection. #[prost(enumeration="big_query_connection_spec::ConnectionType", tag="1")] pub connection_type: i32, - /// True if there are credentials attached to the BigQuery connection; false - /// otherwise. + /// True if there are credentials attached to the BigQuery connection; false + /// otherwise. #[prost(bool, tag="3")] pub has_credential: bool, #[prost(oneof="big_query_connection_spec::ConnectionSpec", tags="2")] @@ -13,13 +13,13 @@ pub struct BigQueryConnectionSpec { } /// Nested message and enum types in `BigQueryConnectionSpec`. pub mod big_query_connection_spec { - /// The type of the BigQuery connection. + /// The type of the BigQuery connection. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ConnectionType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Cloud SQL connection. + /// Cloud SQL connection. CloudSql = 1, } impl ConnectionType { @@ -36,35 +36,35 @@ pub mod big_query_connection_spec { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ConnectionSpec { - /// Specification for the BigQuery connection to a Cloud SQL instance. + /// Specification for the BigQuery connection to a Cloud SQL instance. #[prost(message, tag="2")] CloudSql(super::CloudSqlBigQueryConnectionSpec), } } -/// Specification for the BigQuery connection to a Cloud SQL instance. +/// Specification for the BigQuery connection to a Cloud SQL instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CloudSqlBigQueryConnectionSpec { - /// Cloud SQL instance ID in the format of `project:location:instance`. + /// Cloud SQL instance ID in the format of `project:location:instance`. #[prost(string, tag="1")] pub instance_id: ::prost::alloc::string::String, - /// Database name. + /// Database name. #[prost(string, tag="2")] pub database: ::prost::alloc::string::String, - /// Type of the Cloud SQL database. + /// Type of the Cloud SQL database. #[prost(enumeration="cloud_sql_big_query_connection_spec::DatabaseType", tag="3")] pub r#type: i32, } /// Nested message and enum types in `CloudSqlBigQueryConnectionSpec`. pub mod cloud_sql_big_query_connection_spec { - /// Supported Cloud SQL database types. + /// Supported Cloud SQL database types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DatabaseType { - /// Unspecified database type. + /// Unspecified database type. Unspecified = 0, - /// Cloud SQL for PostgreSQL. + /// Cloud SQL for PostgreSQL. Postgres = 1, - /// Cloud SQL for MySQL. + /// Cloud SQL for MySQL. Mysql = 2, } impl DatabaseType { @@ -81,36 +81,36 @@ pub mod cloud_sql_big_query_connection_spec { } } } -/// Fields specific for BigQuery routines. +/// Fields specific for BigQuery routines. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryRoutineSpec { - /// Paths of the imported libraries. + /// Paths of the imported libraries. #[prost(string, repeated, tag="1")] pub imported_libraries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Entry metadata relevant only to the user and private to them. +/// Entry metadata relevant only to the user and private to them. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PersonalDetails { - /// True if the entry is starred by the user; false otherwise. + /// True if the entry is starred by the user; false otherwise. #[prost(bool, tag="1")] pub starred: bool, - /// Set if the entry is starred; unset otherwise. + /// Set if the entry is starred; unset otherwise. #[prost(message, optional, tag="2")] pub star_time: ::core::option::Option<::prost_types::Timestamp>, } -/// This enum lists all the systems that Data Catalog integrates with. +/// This enum lists all the systems that Data Catalog integrates with. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IntegratedSystem { - /// Default unknown system. + /// Default unknown system. Unspecified = 0, - /// BigQuery. + /// BigQuery. Bigquery = 1, - /// Cloud Pub/Sub. + /// Cloud Pub/Sub. CloudPubsub = 2, - /// Dataproc Metastore. + /// Dataproc Metastore. DataprocMetastore = 3, - /// Dataplex. + /// Dataplex. Dataplex = 4, } impl IntegratedSystem { @@ -128,18 +128,18 @@ impl IntegratedSystem { } } } -/// Physical location of an entry. +/// Physical location of an entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSource { - /// Service that physically stores the data. + /// Service that physically stores the data. #[prost(enumeration="data_source::Service", tag="1")] pub service: i32, - /// Full name of a resource as defined by the service. For example: + /// Full name of a resource as defined by the service. For example: /// - /// `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}` + /// `//bigquery.googleapis.com/projects/{PROJECT_ID}/locations/{LOCATION}/datasets/{DATASET_ID}/tables/{TABLE_ID}` #[prost(string, tag="2")] pub resource: ::prost::alloc::string::String, - /// Output only. Data Catalog entry name, if applicable. + /// Output only. Data Catalog entry name, if applicable. #[prost(string, tag="3")] pub source_entry: ::prost::alloc::string::String, #[prost(oneof="data_source::Properties", tags="4")] @@ -147,15 +147,15 @@ pub struct DataSource { } /// Nested message and enum types in `DataSource`. pub mod data_source { - /// Name of a service that stores the data. + /// Name of a service that stores the data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Service { - /// Default unknown service. + /// Default unknown service. Unspecified = 0, - /// Google Cloud Storage service. + /// Google Cloud Storage service. CloudStorage = 1, - /// BigQuery service. + /// BigQuery service. Bigquery = 2, } impl Service { @@ -173,17 +173,17 @@ pub mod data_source { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Properties { - /// Detailed properties of the underlying storage. + /// Detailed properties of the underlying storage. #[prost(message, tag="4")] StorageProperties(super::StorageProperties), } } -/// Details the properties of the underlying storage. +/// Details the properties of the underlying storage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StorageProperties { - /// Patterns to identify a set of files for this fileset. + /// Patterns to identify a set of files for this fileset. /// - /// Examples of a valid `file_pattern`: + /// Examples of a valid `file_pattern`: /// /// * `gs://bucket_name/dir/*`: matches all files in the `bucket_name/dir` /// directory @@ -203,12 +203,12 @@ pub struct StorageProperties { /// * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` #[prost(string, repeated, tag="1")] pub file_pattern: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// File type in MIME format, for example, `text/plain`. + /// File type in MIME format, for example, `text/plain`. #[prost(string, tag="2")] pub file_type: ::prost::alloc::string::String, } -/// Native schema used by a resource represented as an entry. Used by query -/// engines for deserializing and parsing source data. +/// Native schema used by a resource represented as an entry. Used by query +/// engines for deserializing and parsing source data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PhysicalSchema { #[prost(oneof="physical_schema::Schema", tags="1, 2, 3, 4, 5, 6")] @@ -216,158 +216,158 @@ pub struct PhysicalSchema { } /// Nested message and enum types in `PhysicalSchema`. pub mod physical_schema { - /// Schema in Avro JSON format. + /// Schema in Avro JSON format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroSchema { - /// JSON source of the Avro schema. + /// JSON source of the Avro schema. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } - /// Schema in Thrift format. + /// Schema in Thrift format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ThriftSchema { - /// Thrift IDL source of the schema. + /// Thrift IDL source of the schema. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } - /// Schema in protocol buffer format. + /// Schema in protocol buffer format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ProtobufSchema { - /// Protocol buffer source of the schema. + /// Protocol buffer source of the schema. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } - /// Marks a Parquet-encoded data source. + /// Marks a Parquet-encoded data source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParquetSchema { } - /// Marks an ORC-encoded data source. + /// Marks an ORC-encoded data source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OrcSchema { } - /// Marks a CSV-encoded data source. + /// Marks a CSV-encoded data source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvSchema { } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Schema { - /// Schema in Avro JSON format. + /// Schema in Avro JSON format. #[prost(message, tag="1")] Avro(AvroSchema), - /// Schema in Thrift format. + /// Schema in Thrift format. #[prost(message, tag="2")] Thrift(ThriftSchema), - /// Schema in protocol buffer format. + /// Schema in protocol buffer format. #[prost(message, tag="3")] Protobuf(ProtobufSchema), - /// Marks a Parquet-encoded data source. + /// Marks a Parquet-encoded data source. #[prost(message, tag="4")] Parquet(ParquetSchema), - /// Marks an ORC-encoded data source. + /// Marks an ORC-encoded data source. #[prost(message, tag="5")] Orc(OrcSchema), - /// Marks a CSV-encoded data source. + /// Marks a CSV-encoded data source. #[prost(message, tag="6")] Csv(CsvSchema), } } -/// Common Dataplex fields. +/// Common Dataplex fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataplexSpec { - /// Fully qualified resource name of an asset in Dataplex, to which the - /// underlying data source (Cloud Storage bucket or BigQuery dataset) of the - /// entity is attached. + /// Fully qualified resource name of an asset in Dataplex, to which the + /// underlying data source (Cloud Storage bucket or BigQuery dataset) of the + /// entity is attached. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, - /// Format of the data. + /// Format of the data. #[prost(message, optional, tag="2")] pub data_format: ::core::option::Option, - /// Compression format of the data, e.g., zip, gzip etc. + /// Compression format of the data, e.g., zip, gzip etc. #[prost(string, tag="3")] pub compression_format: ::prost::alloc::string::String, - /// Project ID of the underlying Cloud Storage or BigQuery data. Note that - /// this may not be the same project as the correspondingly Dataplex lake / - /// zone / asset. + /// Project ID of the underlying Cloud Storage or BigQuery data. Note that + /// this may not be the same project as the correspondingly Dataplex lake / + /// zone / asset. #[prost(string, tag="4")] pub project_id: ::prost::alloc::string::String, } -/// Entry specyfication for a Dataplex fileset. +/// Entry specyfication for a Dataplex fileset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataplexFilesetSpec { - /// Common Dataplex fields. + /// Common Dataplex fields. #[prost(message, optional, tag="1")] pub dataplex_spec: ::core::option::Option, } -/// Entry specification for a Dataplex table. +/// Entry specification for a Dataplex table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataplexTableSpec { - /// List of external tables registered by Dataplex in other systems based on - /// the same underlying data. + /// List of external tables registered by Dataplex in other systems based on + /// the same underlying data. /// - /// External tables allow to query this data in those systems. + /// External tables allow to query this data in those systems. #[prost(message, repeated, tag="1")] pub external_tables: ::prost::alloc::vec::Vec, - /// Common Dataplex fields. + /// Common Dataplex fields. #[prost(message, optional, tag="2")] pub dataplex_spec: ::core::option::Option, - /// Indicates if the table schema is managed by the user or not. + /// Indicates if the table schema is managed by the user or not. #[prost(bool, tag="3")] pub user_managed: bool, } -/// External table registered by Dataplex. -/// Dataplex publishes data discovered from an asset into multiple other systems -/// (BigQuery, DPMS) in form of tables. We call them "external tables". External -/// tables are also synced into the Data Catalog. -/// This message contains pointers to -/// those external tables (fully qualified name, resource name et cetera) within -/// the Data Catalog. +/// External table registered by Dataplex. +/// Dataplex publishes data discovered from an asset into multiple other systems +/// (BigQuery, DPMS) in form of tables. We call them "external tables". External +/// tables are also synced into the Data Catalog. +/// This message contains pointers to +/// those external tables (fully qualified name, resource name et cetera) within +/// the Data Catalog. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataplexExternalTable { - /// Service in which the external table is registered. + /// Service in which the external table is registered. #[prost(enumeration="IntegratedSystem", tag="1")] pub system: i32, - /// Fully qualified name (FQN) of the external table. + /// Fully qualified name (FQN) of the external table. #[prost(string, tag="28")] pub fully_qualified_name: ::prost::alloc::string::String, - /// Google Cloud resource name of the external table. + /// Google Cloud resource name of the external table. #[prost(string, tag="3")] pub google_cloud_resource: ::prost::alloc::string::String, - /// Name of the Data Catalog entry representing the external table. + /// Name of the Data Catalog entry representing the external table. #[prost(string, tag="4")] pub data_catalog_entry: ::prost::alloc::string::String, } -/// Timestamps associated with this resource in a particular system. +/// Timestamps associated with this resource in a particular system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemTimestamps { - /// Creation timestamp of the resource within the given system. + /// Creation timestamp of the resource within the given system. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Timestamp of the last modification of the resource or its metadata within - /// a given system. + /// Timestamp of the last modification of the resource or its metadata within + /// a given system. /// - /// Note: Depending on the source system, not every modification updates this - /// timestamp. - /// For example, BigQuery timestamps every metadata modification but not data - /// or permission changes. + /// Note: Depending on the source system, not every modification updates this + /// timestamp. + /// For example, BigQuery timestamps every metadata modification but not data + /// or permission changes. #[prost(message, optional, tag="2")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Expiration timestamp of the resource within the given system. + /// Output only. Expiration timestamp of the resource within the given system. /// - /// Currently only applicable to BigQuery resources. + /// Currently only applicable to BigQuery resources. #[prost(message, optional, tag="3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Describes a Cloud Storage fileset entry. +/// Describes a Cloud Storage fileset entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsFilesetSpec { - /// Required. Patterns to identify a set of files in Google Cloud Storage. + /// Required. Patterns to identify a set of files in Google Cloud Storage. /// - /// For more information, see [Wildcard Names] - /// (). + /// For more information, see [Wildcard Names] + /// (). /// - /// Note: Currently, bucket wildcards are not supported. + /// Note: Currently, bucket wildcards are not supported. /// - /// Examples of valid `file_patterns`: + /// Examples of valid `file_patterns`: /// /// * `gs://bucket_name/dir/*`: matches all files in `bucket_name/dir` /// directory @@ -386,166 +386,166 @@ pub struct GcsFilesetSpec { /// the `a/*/b` pattern, such as `a/c/b`, `a/d/b` /// * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` /// - /// You can combine wildcards to match complex sets of files, for example: + /// You can combine wildcards to match complex sets of files, for example: /// - /// `gs://bucket_name/\[a-m\]??.j*g` + /// `gs://bucket_name/\[a-m\]??.j*g` #[prost(string, repeated, tag="1")] pub file_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Sample files contained in this fileset, not all files - /// contained in this fileset are represented here. + /// Output only. Sample files contained in this fileset, not all files + /// contained in this fileset are represented here. #[prost(message, repeated, tag="2")] pub sample_gcs_file_specs: ::prost::alloc::vec::Vec, } -/// Specification of a single file in Cloud Storage. +/// Specification of a single file in Cloud Storage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsFileSpec { - /// Required. Full file path. Example: `gs://bucket_name/a/b.txt`. + /// Required. Full file path. Example: `gs://bucket_name/a/b.txt`. #[prost(string, tag="1")] pub file_path: ::prost::alloc::string::String, - /// Output only. Creation, modification, and expiration timestamps of a Cloud Storage file. + /// Output only. Creation, modification, and expiration timestamps of a Cloud Storage file. #[prost(message, optional, tag="2")] pub gcs_timestamps: ::core::option::Option, - /// Output only. File size in bytes. + /// Output only. File size in bytes. #[prost(int64, tag="4")] pub size_bytes: i64, } -/// Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema. +/// Represents a schema, for example, a BigQuery, GoogleSQL, or Avro schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Schema { - /// The unified GoogleSQL-like schema of columns. + /// The unified GoogleSQL-like schema of columns. /// - /// The overall maximum number of columns and nested columns is 10,000. - /// The maximum nested depth is 15 levels. + /// The overall maximum number of columns and nested columns is 10,000. + /// The maximum nested depth is 15 levels. #[prost(message, repeated, tag="2")] pub columns: ::prost::alloc::vec::Vec, } -/// A column within a schema. Columns can be nested inside -/// other columns. +/// A column within a schema. Columns can be nested inside +/// other columns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnSchema { - /// Required. Name of the column. + /// Required. Name of the column. /// - /// Must be a UTF-8 string without dots (.). - /// The maximum size is 64 bytes. + /// Must be a UTF-8 string without dots (.). + /// The maximum size is 64 bytes. #[prost(string, tag="6")] pub column: ::prost::alloc::string::String, - /// Required. Type of the column. + /// Required. Type of the column. /// - /// Must be a UTF-8 string with the maximum size of 128 bytes. + /// Must be a UTF-8 string with the maximum size of 128 bytes. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Optional. Description of the column. Default value is an empty string. + /// Optional. Description of the column. Default value is an empty string. /// - /// The description must be a UTF-8 string with the maximum size of 2000 - /// bytes. + /// The description must be a UTF-8 string with the maximum size of 2000 + /// bytes. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Optional. A column's mode indicates whether values in this column are required, - /// nullable, or repeated. + /// Optional. A column's mode indicates whether values in this column are required, + /// nullable, or repeated. /// - /// Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. - /// Default mode is `NULLABLE`. + /// Only `NULLABLE`, `REQUIRED`, and `REPEATED` values are supported. + /// Default mode is `NULLABLE`. #[prost(string, tag="3")] pub mode: ::prost::alloc::string::String, - /// Optional. Schema of sub-columns. A column can have zero or more sub-columns. + /// Optional. Schema of sub-columns. A column can have zero or more sub-columns. #[prost(message, repeated, tag="7")] pub subcolumns: ::prost::alloc::vec::Vec, } -/// Result in the response to a search request. +/// Result in the response to a search request. /// -/// Each result captures details of one entry that matches the search. +/// Each result captures details of one entry that matches the search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogResult { - /// Type of the search result. + /// Type of the search result. /// - /// You can use this field to determine which get method to call to fetch the - /// full resource. + /// You can use this field to determine which get method to call to fetch the + /// full resource. #[prost(enumeration="SearchResultType", tag="1")] pub search_result_type: i32, - /// Sub-type of the search result. + /// Sub-type of the search result. /// - /// A dot-delimited full type of the resource. The same type you - /// specify in the `type` search predicate. + /// A dot-delimited full type of the resource. The same type you + /// specify in the `type` search predicate. /// - /// Examples: `entry.table`, `entry.dataStream`, `tagTemplate`. + /// Examples: `entry.table`, `entry.dataStream`, `tagTemplate`. #[prost(string, tag="2")] pub search_result_subtype: ::prost::alloc::string::String, - /// The relative name of the resource in URL format. + /// The relative name of the resource in URL format. /// - /// Examples: + /// Examples: /// /// * `projects/{PROJECT_ID}/locations/{LOCATION_ID}/entryGroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}` /// * `projects/{PROJECT_ID}/tagTemplates/{TAG_TEMPLATE_ID}` #[prost(string, tag="3")] pub relative_resource_name: ::prost::alloc::string::String, - /// The full name of the Google Cloud resource the entry belongs to. + /// The full name of the Google Cloud resource the entry belongs to. /// - /// For more information, see [Full Resource Name] - /// (/apis/design/resource_names#full_resource_name). + /// For more information, see [Full Resource Name] + /// (/apis/design/resource_names#full_resource_name). /// - /// Example: + /// Example: /// - /// `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID` + /// `//bigquery.googleapis.com/projects/PROJECT_ID/datasets/DATASET_ID/tables/TABLE_ID` #[prost(string, tag="4")] pub linked_resource: ::prost::alloc::string::String, - /// The last modification timestamp of the entry in the source system. + /// The last modification timestamp of the entry in the source system. #[prost(message, optional, tag="7")] pub modify_time: ::core::option::Option<::prost_types::Timestamp>, - /// Fully qualified name (FQN) of the resource. + /// Fully qualified name (FQN) of the resource. /// - /// FQNs take two forms: + /// FQNs take two forms: /// - /// * For non-regionalized resources: + /// * For non-regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// * For regionalized resources: + /// * For regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// Example for a DPMS table: + /// Example for a DPMS table: /// - /// `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID` + /// `dataproc_metastore:PROJECT_ID.LOCATION_ID.INSTANCE_ID.DATABASE_ID.TABLE_ID` #[prost(string, tag="10")] pub fully_qualified_name: ::prost::alloc::string::String, - /// The display name of the result. + /// The display name of the result. #[prost(string, tag="12")] pub display_name: ::prost::alloc::string::String, - /// Entry description that can consist of several sentences or paragraphs that - /// describe entry contents. + /// Entry description that can consist of several sentences or paragraphs that + /// describe entry contents. #[prost(string, tag="13")] pub description: ::prost::alloc::string::String, - /// The source system of the entry. Applicable only when the - /// `search_result_type` is `ENTRY`. + /// The source system of the entry. Applicable only when the + /// `search_result_type` is `ENTRY`. #[prost(oneof="search_catalog_result::System", tags="8, 9")] pub system: ::core::option::Option, } /// Nested message and enum types in `SearchCatalogResult`. pub mod search_catalog_result { - /// The source system of the entry. Applicable only when the - /// `search_result_type` is `ENTRY`. + /// The source system of the entry. Applicable only when the + /// `search_result_type` is `ENTRY`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum System { - /// Output only. The source system that Data Catalog automatically integrates with, such - /// as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. + /// Output only. The source system that Data Catalog automatically integrates with, such + /// as BigQuery, Cloud Pub/Sub, or Dataproc Metastore. #[prost(enumeration="super::IntegratedSystem", tag="8")] IntegratedSystem(i32), - /// Custom source system that you can manually integrate Data Catalog with. + /// Custom source system that you can manually integrate Data Catalog with. #[prost(string, tag="9")] UserSpecifiedSystem(::prost::alloc::string::String), } } -/// The resource types that can be returned in search results. +/// The resource types that can be returned in search results. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchResultType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// An \[Entry][google.cloud.datacatalog.v1.Entry\]. + /// An \[Entry][google.cloud.datacatalog.v1.Entry\]. Entry = 1, - /// A \[TagTemplate][google.cloud.datacatalog.v1.TagTemplate\]. + /// A \[TagTemplate][google.cloud.datacatalog.v1.TagTemplate\]. TagTemplate = 2, - /// An \[EntryGroup][google.cloud.datacatalog.v1.EntryGroup\]. + /// An \[EntryGroup][google.cloud.datacatalog.v1.EntryGroup\]. EntryGroup = 3, } impl SearchResultType { @@ -562,89 +562,89 @@ impl SearchResultType { } } } -/// Describes a BigQuery table. +/// Describes a BigQuery table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryTableSpec { - /// Output only. The table source type. + /// Output only. The table source type. #[prost(enumeration="TableSourceType", tag="1")] pub table_source_type: i32, - /// Output only. + /// Output only. #[prost(oneof="big_query_table_spec::TypeSpec", tags="2, 3")] pub type_spec: ::core::option::Option, } /// Nested message and enum types in `BigQueryTableSpec`. pub mod big_query_table_spec { - /// Output only. + /// Output only. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeSpec { - /// Table view specification. Populated only if - /// the `table_source_type` is `BIGQUERY_VIEW`. + /// Table view specification. Populated only if + /// the `table_source_type` is `BIGQUERY_VIEW`. #[prost(message, tag="2")] ViewSpec(super::ViewSpec), - /// Specification of a BigQuery table. Populated only if - /// the `table_source_type` is `BIGQUERY_TABLE`. + /// Specification of a BigQuery table. Populated only if + /// the `table_source_type` is `BIGQUERY_TABLE`. #[prost(message, tag="3")] TableSpec(super::TableSpec), } } -/// Table view specification. +/// Table view specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ViewSpec { - /// Output only. The query that defines the table view. + /// Output only. The query that defines the table view. #[prost(string, tag="1")] pub view_query: ::prost::alloc::string::String, } -/// Normal BigQuery table specification. +/// Normal BigQuery table specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSpec { - /// Output only. If the table is date-sharded, that is, it matches the `\[prefix\]YYYYMMDD` - /// name pattern, this field is the Data Catalog resource name of the - /// date-sharded grouped entry. For example: + /// Output only. If the table is date-sharded, that is, it matches the `\[prefix\]YYYYMMDD` + /// name pattern, this field is the Data Catalog resource name of the + /// date-sharded grouped entry. For example: /// - /// `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. + /// `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. /// - /// Otherwise, `grouped_entry` is empty. + /// Otherwise, `grouped_entry` is empty. #[prost(string, tag="1")] pub grouped_entry: ::prost::alloc::string::String, } -/// Specification for a group of BigQuery tables with the `\[prefix\]YYYYMMDD` name -/// pattern. +/// Specification for a group of BigQuery tables with the `\[prefix\]YYYYMMDD` name +/// pattern. /// -/// For more information, see [Introduction to partitioned tables] -/// (). +/// For more information, see [Introduction to partitioned tables] +/// (). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDateShardedSpec { - /// Output only. The Data Catalog resource name of the dataset entry the current table - /// belongs to. For example: + /// Output only. The Data Catalog resource name of the dataset entry the current table + /// belongs to. For example: /// - /// `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. + /// `projects/{PROJECT_ID}/locations/{LOCATION}/entrygroups/{ENTRY_GROUP_ID}/entries/{ENTRY_ID}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. The table name prefix of the shards. + /// Output only. The table name prefix of the shards. /// - /// The name of any given shard is `\[table_prefix\]YYYYMMDD`. - /// For example, for the `MyTable20180101` shard, the - /// `table_prefix` is `MyTable`. + /// The name of any given shard is `\[table_prefix\]YYYYMMDD`. + /// For example, for the `MyTable20180101` shard, the + /// `table_prefix` is `MyTable`. #[prost(string, tag="2")] pub table_prefix: ::prost::alloc::string::String, - /// Output only. Total number of shards. + /// Output only. Total number of shards. #[prost(int64, tag="3")] pub shard_count: i64, - /// Output only. BigQuery resource name of the latest shard. + /// Output only. BigQuery resource name of the latest shard. #[prost(string, tag="4")] pub latest_shard_resource: ::prost::alloc::string::String, } -/// Table source type. +/// Table source type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TableSourceType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// Table view. + /// Table view. BigqueryView = 2, - /// BigQuery native table. + /// BigQuery native table. BigqueryTable = 5, - /// BigQuery materialized view. + /// BigQuery materialized view. BigqueryMaterializedView = 7, } impl TableSourceType { @@ -661,216 +661,216 @@ impl TableSourceType { } } } -/// Tags contain custom metadata and are attached to Data Catalog resources. Tags -/// conform with the specification of their tag template. +/// Tags contain custom metadata and are attached to Data Catalog resources. Tags +/// conform with the specification of their tag template. /// -/// See [Data Catalog -/// IAM]() for information -/// on the permissions needed to create or view tags. +/// See [Data Catalog +/// IAM]() for information +/// on the permissions needed to create or view tags. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Tag { - /// The resource name of the tag in URL format where tag ID is a - /// system-generated identifier. + /// The resource name of the tag in URL format where tag ID is a + /// system-generated identifier. /// - /// Note: The tag itself might not be stored in the location specified in its - /// name. + /// Note: The tag itself might not be stored in the location specified in its + /// name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The resource name of the tag template this tag uses. Example: + /// Required. The resource name of the tag template this tag uses. Example: /// - /// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` + /// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE_ID}` /// - /// This field cannot be modified after creation. + /// This field cannot be modified after creation. #[prost(string, tag="2")] pub template: ::prost::alloc::string::String, - /// Output only. The display name of the tag template. + /// Output only. The display name of the tag template. #[prost(string, tag="5")] pub template_display_name: ::prost::alloc::string::String, - /// Required. Maps the ID of a tag field to its value and additional information - /// about that field. + /// Required. Maps the ID of a tag field to its value and additional information + /// about that field. /// - /// Tag template defines valid field IDs. A tag - /// must have at least 1 field and at most 500 fields. + /// Tag template defines valid field IDs. A tag + /// must have at least 1 field and at most 500 fields. #[prost(map="string, message", tag="3")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, TagField>, - /// The scope within the parent resource that this tag is attached to. If not - /// provided, the tag is attached to the parent resource itself. + /// The scope within the parent resource that this tag is attached to. If not + /// provided, the tag is attached to the parent resource itself. /// - /// Deleting the scope from the parent resource deletes all tags attached - /// to that scope. + /// Deleting the scope from the parent resource deletes all tags attached + /// to that scope. /// - /// These fields cannot be updated after creation. + /// These fields cannot be updated after creation. #[prost(oneof="tag::Scope", tags="4")] pub scope: ::core::option::Option, } /// Nested message and enum types in `Tag`. pub mod tag { - /// The scope within the parent resource that this tag is attached to. If not - /// provided, the tag is attached to the parent resource itself. + /// The scope within the parent resource that this tag is attached to. If not + /// provided, the tag is attached to the parent resource itself. /// - /// Deleting the scope from the parent resource deletes all tags attached - /// to that scope. + /// Deleting the scope from the parent resource deletes all tags attached + /// to that scope. /// - /// These fields cannot be updated after creation. + /// These fields cannot be updated after creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scope { - /// Resources like entry can have schemas associated with them. This scope - /// allows you to attach tags to an individual column based on that schema. + /// Resources like entry can have schemas associated with them. This scope + /// allows you to attach tags to an individual column based on that schema. /// - /// To attach a tag to a nested column, separate column names with a dot - /// (`.`). Example: `column.nested_column`. + /// To attach a tag to a nested column, separate column names with a dot + /// (`.`). Example: `column.nested_column`. #[prost(string, tag="4")] Column(::prost::alloc::string::String), } } -/// Contains the value and additional information on a field within -/// a \[Tag][google.cloud.datacatalog.v1.Tag\]. +/// Contains the value and additional information on a field within +/// a \[Tag][google.cloud.datacatalog.v1.Tag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagField { - /// Output only. The display name of this field. + /// Output only. The display name of this field. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Output only. The order of this field with respect to other fields in this tag. Can be - /// set by \[Tag][google.cloud.datacatalog.v1.TagTemplateField.order\]. + /// Output only. The order of this field with respect to other fields in this tag. Can be + /// set by \[Tag][google.cloud.datacatalog.v1.TagTemplateField.order\]. /// - /// For example, a higher value can indicate a more important field. - /// The value can be negative. Multiple fields can have the same order, and - /// field orders within a tag don't have to be sequential. + /// For example, a higher value can indicate a more important field. + /// The value can be negative. Multiple fields can have the same order, and + /// field orders within a tag don't have to be sequential. #[prost(int32, tag="7")] pub order: i32, - /// Required. The value of this field. + /// Required. The value of this field. #[prost(oneof="tag_field::Kind", tags="2, 3, 4, 5, 6, 8")] pub kind: ::core::option::Option, } /// Nested message and enum types in `TagField`. pub mod tag_field { - /// An enum value. + /// An enum value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// The display name of the enum value. + /// The display name of the enum value. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, } - /// Required. The value of this field. + /// Required. The value of this field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// The value of a tag field with a double type. + /// The value of a tag field with a double type. #[prost(double, tag="2")] DoubleValue(f64), - /// The value of a tag field with a string type. + /// The value of a tag field with a string type. /// - /// The maximum length is 2000 UTF-8 characters. + /// The maximum length is 2000 UTF-8 characters. #[prost(string, tag="3")] StringValue(::prost::alloc::string::String), - /// The value of a tag field with a boolean type. + /// The value of a tag field with a boolean type. #[prost(bool, tag="4")] BoolValue(bool), - /// The value of a tag field with a timestamp type. + /// The value of a tag field with a timestamp type. #[prost(message, tag="5")] TimestampValue(::prost_types::Timestamp), - /// The value of a tag field with an enum type. + /// The value of a tag field with an enum type. /// - /// This value must be one of the allowed values listed in this enum. + /// This value must be one of the allowed values listed in this enum. #[prost(message, tag="6")] EnumValue(EnumValue), - /// The value of a tag field with a rich text type. + /// The value of a tag field with a rich text type. /// - /// The maximum length is 10 MiB as this value holds HTML descriptions - /// including encoded images. The maximum length of the text without images - /// is 100 KiB. + /// The maximum length is 10 MiB as this value holds HTML descriptions + /// including encoded images. The maximum length of the text without images + /// is 100 KiB. #[prost(string, tag="8")] RichtextValue(::prost::alloc::string::String), } } -/// A tag template defines a tag that can have one or more typed fields. +/// A tag template defines a tag that can have one or more typed fields. /// -/// The template is used to create tags that are attached to GCP resources. -/// [Tag template roles] -/// () -/// provide permissions to create, edit, and use the template. For example, -/// see the [TagTemplate User] -/// () role -/// that includes a permission to use the tag template to tag resources. +/// The template is used to create tags that are attached to GCP resources. +/// [Tag template roles] +/// () +/// provide permissions to create, edit, and use the template. For example, +/// see the [TagTemplate User] +/// () role +/// that includes a permission to use the tag template to tag resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagTemplate { - /// The resource name of the tag template in URL format. + /// The resource name of the tag template in URL format. /// - /// Note: The tag template itself and its child resources might not be - /// stored in the location specified in its name. + /// Note: The tag template itself and its child resources might not be + /// stored in the location specified in its name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Display name for this template. Defaults to an empty string. + /// Display name for this template. Defaults to an empty string. /// - /// The name must contain only Unicode letters, numbers (0-9), underscores (_), - /// dashes (-), spaces ( ), and can't start or end with spaces. - /// The maximum length is 200 characters. + /// The name must contain only Unicode letters, numbers (0-9), underscores (_), + /// dashes (-), spaces ( ), and can't start or end with spaces. + /// The maximum length is 200 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Indicates whether tags created with this template are public. Public tags - /// do not require tag template access to appear in - /// \[ListTags][google.cloud.datacatalog.v1.ListTags\] API response. + /// Indicates whether tags created with this template are public. Public tags + /// do not require tag template access to appear in + /// \[ListTags][google.cloud.datacatalog.v1.ListTags\] API response. /// - /// Additionally, you can search for a public tag by value with a - /// simple search query in addition to using a ``tag:`` predicate. + /// Additionally, you can search for a public tag by value with a + /// simple search query in addition to using a ``tag:`` predicate. #[prost(bool, tag="5")] pub is_publicly_readable: bool, - /// Required. Map of tag template field IDs to the settings for the field. - /// This map is an exhaustive list of the allowed fields. The map must contain - /// at least one field and at most 500 fields. + /// Required. Map of tag template field IDs to the settings for the field. + /// This map is an exhaustive list of the allowed fields. The map must contain + /// at least one field and at most 500 fields. /// - /// The keys to this map are tag template field IDs. The IDs have the - /// following limitations: + /// The keys to this map are tag template field IDs. The IDs have the + /// following limitations: /// - /// * Can contain uppercase and lowercase letters, numbers (0-9) and + /// * Can contain uppercase and lowercase letters, numbers (0-9) and /// underscores (_). - /// * Must be at least 1 character and at most 64 characters long. - /// * Must start with a letter or underscore. + /// * Must be at least 1 character and at most 64 characters long. + /// * Must start with a letter or underscore. #[prost(map="string, message", tag="3")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, TagTemplateField>, } -/// The template for an individual field within a tag template. +/// The template for an individual field within a tag template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagTemplateField { - /// Output only. The resource name of the tag template field in URL format. Example: + /// Output only. The resource name of the tag template field in URL format. Example: /// - /// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}` + /// `projects/{PROJECT_ID}/locations/{LOCATION}/tagTemplates/{TAG_TEMPLATE}/fields/{FIELD}` /// - /// Note: The tag template field itself might not be stored in the location - /// specified in its name. + /// Note: The tag template field itself might not be stored in the location + /// specified in its name. /// - /// The name must contain only letters (a-z, A-Z), numbers (0-9), - /// or underscores (_), and must start with a letter or underscore. - /// The maximum length is 64 characters. + /// The name must contain only letters (a-z, A-Z), numbers (0-9), + /// or underscores (_), and must start with a letter or underscore. + /// The maximum length is 64 characters. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// The display name for this field. Defaults to an empty string. + /// The display name for this field. Defaults to an empty string. /// - /// The name must contain only Unicode letters, numbers (0-9), underscores (_), - /// dashes (-), spaces ( ), and can't start or end with spaces. - /// The maximum length is 200 characters. + /// The name must contain only Unicode letters, numbers (0-9), underscores (_), + /// dashes (-), spaces ( ), and can't start or end with spaces. + /// The maximum length is 200 characters. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Required. The type of value this tag field can contain. + /// Required. The type of value this tag field can contain. #[prost(message, optional, tag="2")] pub r#type: ::core::option::Option, - /// If true, this field is required. Defaults to false. + /// If true, this field is required. Defaults to false. #[prost(bool, tag="3")] pub is_required: bool, - /// The description for this field. Defaults to an empty string. + /// The description for this field. Defaults to an empty string. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// The order of this field with respect to other fields in this tag - /// template. + /// The order of this field with respect to other fields in this tag + /// template. /// - /// For example, a higher value can indicate a more important field. - /// The value can be negative. Multiple fields can have the same order and - /// field orders within a tag don't have to be sequential. + /// For example, a higher value can indicate a more important field. + /// The value can be negative. Multiple fields can have the same order and + /// field orders within a tag don't have to be sequential. #[prost(int32, tag="5")] pub order: i32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldType { - /// Required. + /// Required. #[prost(oneof="field_type::TypeDecl", tags="1, 2")] pub type_decl: ::core::option::Option, } @@ -878,15 +878,15 @@ pub struct FieldType { pub mod field_type { #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumType { - /// The set of allowed values for this enum. + /// The set of allowed values for this enum. /// - /// This set must not be empty and can include up to 100 allowed values. - /// The display names of the values in this set must not be empty and must - /// be case-insensitively unique within this set. + /// This set must not be empty and can include up to 100 allowed values. + /// The display names of the values in this set must not be empty and must + /// be case-insensitively unique within this set. /// - /// The order of items in this set is preserved. This field can be used to - /// create, remove, and reorder enum values. To rename enum values, use the - /// `RenameTagTemplateFieldEnumValue` method. + /// The order of items in this set is preserved. This field can be used to + /// create, remove, and reorder enum values. To rename enum values, use the + /// `RenameTagTemplateFieldEnumValue` method. #[prost(message, repeated, tag="1")] pub allowed_values: ::prost::alloc::vec::Vec, } @@ -894,11 +894,11 @@ pub mod field_type { pub mod enum_type { #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// Required. The display name of the enum value. Must not be an empty string. + /// Required. The display name of the enum value. Must not be an empty string. /// - /// The name must contain only Unicode letters, numbers (0-9), underscores - /// (_), dashes (-), spaces ( ), and can't start or end with spaces. The - /// maximum length is 200 characters. + /// The name must contain only Unicode letters, numbers (0-9), underscores + /// (_), dashes (-), spaces ( ), and can't start or end with spaces. The + /// maximum length is 200 characters. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, } @@ -906,17 +906,17 @@ pub mod field_type { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrimitiveType { - /// The default invalid value for a type. + /// The default invalid value for a type. Unspecified = 0, - /// A double precision number. + /// A double precision number. Double = 1, - /// An UTF-8 string. + /// An UTF-8 string. String = 2, - /// A boolean value. + /// A boolean value. Bool = 3, - /// A timestamp. + /// A timestamp. Timestamp = 4, - /// A Richtext description. + /// A Richtext description. Richtext = 5, } impl PrimitiveType { @@ -935,645 +935,645 @@ pub mod field_type { } } } - /// Required. + /// Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeDecl { - /// Primitive types, such as string, boolean, etc. + /// Primitive types, such as string, boolean, etc. #[prost(enumeration="PrimitiveType", tag="1")] PrimitiveType(i32), - /// An enum type. + /// An enum type. #[prost(message, tag="2")] EnumType(EnumType), } } -/// Detailed statistics on the entry's usage. +/// Detailed statistics on the entry's usage. /// -/// Usage statistics have the following limitations: +/// Usage statistics have the following limitations: /// -/// - Only BigQuery tables have them. -/// - They only include BigQuery query jobs. -/// - They might be underestimated because wildcard table references +/// - Only BigQuery tables have them. +/// - They only include BigQuery query jobs. +/// - They might be underestimated because wildcard table references /// are not yet counted. For more information, see /// [Querying multiple tables using a wildcard table] /// () #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsageStats { - /// The number of successful uses of the underlying entry. + /// The number of successful uses of the underlying entry. #[prost(float, tag="1")] pub total_completions: f32, - /// The number of failed attempts to use the underlying entry. + /// The number of failed attempts to use the underlying entry. #[prost(float, tag="2")] pub total_failures: f32, - /// The number of cancelled attempts to use the underlying entry. + /// The number of cancelled attempts to use the underlying entry. #[prost(float, tag="3")] pub total_cancellations: f32, - /// Total time spent only on successful uses, in milliseconds. + /// Total time spent only on successful uses, in milliseconds. #[prost(float, tag="4")] pub total_execution_time_for_completions_millis: f32, } -/// The set of all usage signals that Data Catalog stores. +/// The set of all usage signals that Data Catalog stores. /// -/// Note: Usually, these signals are updated daily. In rare cases, an update may -/// fail but will be performed again on the next day. +/// Note: Usually, these signals are updated daily. In rare cases, an update may +/// fail but will be performed again on the next day. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UsageSignal { - /// The end timestamp of the duration of usage statistics. + /// The end timestamp of the duration of usage statistics. #[prost(message, optional, tag="1")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Usage statistics over each of the predefined time ranges. + /// Usage statistics over each of the predefined time ranges. /// - /// Supported time ranges are `{"24H", "7D", "30D"}`. + /// Supported time ranges are `{"24H", "7D", "30D"}`. #[prost(map="string, message", tag="2")] pub usage_within_time_range: ::std::collections::HashMap<::prost::alloc::string::String, UsageStats>, } -/// Request message for -/// \[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\]. +/// Request message for +/// \[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogRequest { - /// Required. The scope of this search request. + /// Required. The scope of this search request. /// - /// The `scope` is invalid if `include_org_ids`, `include_project_ids` are - /// empty AND `include_gcp_public_datasets` is set to `false`. In this case, - /// the request returns an error. + /// The `scope` is invalid if `include_org_ids`, `include_project_ids` are + /// empty AND `include_gcp_public_datasets` is set to `false`. In this case, + /// the request returns an error. #[prost(message, optional, tag="6")] pub scope: ::core::option::Option, - /// Optional. The query string with a minimum of 3 characters and specific syntax. - /// For more information, see - /// [Data Catalog search - /// syntax](). + /// Optional. The query string with a minimum of 3 characters and specific syntax. + /// For more information, see + /// [Data Catalog search + /// syntax](). /// - /// An empty query string returns all data assets (in the specified scope) - /// that you have access to. + /// An empty query string returns all data assets (in the specified scope) + /// that you have access to. /// - /// A query string can be a simple `xyz` or qualified by predicates: + /// A query string can be a simple `xyz` or qualified by predicates: /// - /// * `name:x` - /// * `column:y` - /// * `description:z` + /// * `name:x` + /// * `column:y` + /// * `description:z` #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Number of results to return in a single search page. + /// Number of results to return in a single search page. /// - /// Can't be negative or 0, defaults to 10 in this case. - /// The maximum number is 1000. If exceeded, throws an "invalid argument" - /// exception. + /// Can't be negative or 0, defaults to 10 in this case. + /// The maximum number is 1000. If exceeded, throws an "invalid argument" + /// exception. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Pagination token that, if specified, returns the next page of search - /// results. If empty, returns the first page. + /// Optional. Pagination token that, if specified, returns the next page of search + /// results. If empty, returns the first page. /// - /// This token is returned in the \[SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token\] - /// field of the response to a previous - /// \[SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\] - /// call. + /// This token is returned in the \[SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1.SearchCatalogResponse.next_page_token\] + /// field of the response to a previous + /// \[SearchCatalogRequest][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\] + /// call. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Specifies the order of results. + /// Specifies the order of results. /// - /// Currently supported case-sensitive values are: + /// Currently supported case-sensitive values are: /// - /// * `relevance` that can only be descending - /// * `last_modified_timestamp \[asc|desc\]` with descending (`desc`) as default - /// * `default` that can only be descending + /// * `relevance` that can only be descending + /// * `last_modified_timestamp \[asc|desc\]` with descending (`desc`) as default + /// * `default` that can only be descending /// - /// If this parameter is omitted, it defaults to the descending `relevance`. + /// If this parameter is omitted, it defaults to the descending `relevance`. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } /// Nested message and enum types in `SearchCatalogRequest`. pub mod search_catalog_request { - /// The criteria that select the subspace used for query matching. + /// The criteria that select the subspace used for query matching. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scope { - /// The list of organization IDs to search within. + /// The list of organization IDs to search within. /// - /// To find your organization ID, follow the steps from - /// [Creating and managing organizations] - /// (/resource-manager/docs/creating-managing-organization). + /// To find your organization ID, follow the steps from + /// [Creating and managing organizations] + /// (/resource-manager/docs/creating-managing-organization). #[prost(string, repeated, tag="2")] pub include_org_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of project IDs to search within. + /// The list of project IDs to search within. /// - /// For more information on the distinction between project names, IDs, and - /// numbers, see \[Projects\](/docs/overview/#projects). + /// For more information on the distinction between project names, IDs, and + /// numbers, see \[Projects\](/docs/overview/#projects). #[prost(string, repeated, tag="3")] pub include_project_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If `true`, include Google Cloud Platform (GCP) public datasets in - /// search results. By default, they are excluded. + /// If `true`, include Google Cloud Platform (GCP) public datasets in + /// search results. By default, they are excluded. /// - /// See [Google Cloud Public Datasets](/public-datasets) for more - /// information. + /// See [Google Cloud Public Datasets](/public-datasets) for more + /// information. #[prost(bool, tag="7")] pub include_gcp_public_datasets: bool, - /// Optional. The list of locations to search within. If empty, all locations are - /// searched. + /// Optional. The list of locations to search within. If empty, all locations are + /// searched. /// - /// Returns an error if any location in the list isn't one of the [Supported - /// regions](). + /// Returns an error if any location in the list isn't one of the [Supported + /// regions](). /// - /// If a location is unreachable, its name is returned in the - /// `SearchCatalogResponse.unreachable` field. To get additional information - /// on the error, repeat the search request and set the location name as the - /// value of this parameter. + /// If a location is unreachable, its name is returned in the + /// `SearchCatalogResponse.unreachable` field. To get additional information + /// on the error, repeat the search request and set the location name as the + /// value of this parameter. #[prost(string, repeated, tag="16")] pub restricted_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If `true`, search only among starred entries. + /// Optional. If `true`, search only among starred entries. /// - /// By default, all results are returned, starred or not. + /// By default, all results are returned, starred or not. #[prost(bool, tag="18")] pub starred_only: bool, - /// Optional. This field is deprecated. The search mechanism for public and private tag - /// templates is the same. + /// Optional. This field is deprecated. The search mechanism for public and private tag + /// templates is the same. #[deprecated] #[prost(bool, tag="19")] pub include_public_tag_templates: bool, } } -/// Response message for -/// \[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\]. +/// Response message for +/// \[SearchCatalog][google.cloud.datacatalog.v1.DataCatalog.SearchCatalog\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogResponse { - /// Search results. + /// Search results. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// Pagination token that can be used in subsequent calls to retrieve the next - /// page of results. + /// Pagination token that can be used in subsequent calls to retrieve the next + /// page of results. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, - /// Unreachable locations. Search results don't include data from those - /// locations. + /// Unreachable locations. Search results don't include data from those + /// locations. /// - /// To get additional information on an error, repeat the search request and - /// restrict it to specific locations by setting the - /// `SearchCatalogRequest.scope.restricted_locations` parameter. + /// To get additional information on an error, repeat the search request and + /// restrict it to specific locations by setting the + /// `SearchCatalogRequest.scope.restricted_locations` parameter. #[prost(string, repeated, tag="6")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for -/// \[CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup\]. +/// Request message for +/// \[CreateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.CreateEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntryGroupRequest { - /// Required. The names of the project and location that the new entry group belongs to. + /// Required. The names of the project and location that the new entry group belongs to. /// - /// Note: The entry group itself and its child resources might not be - /// stored in the location specified in its name. + /// Note: The entry group itself and its child resources might not be + /// stored in the location specified in its name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the entry group to create. + /// Required. The ID of the entry group to create. /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and must start with a letter or underscore. - /// The maximum size is 64 bytes when encoded in UTF-8. + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and must start with a letter or underscore. + /// The maximum size is 64 bytes when encoded in UTF-8. #[prost(string, tag="3")] pub entry_group_id: ::prost::alloc::string::String, - /// The entry group to create. Defaults to empty. + /// The entry group to create. Defaults to empty. #[prost(message, optional, tag="2")] pub entry_group: ::core::option::Option, } -/// Request message for -/// \[UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup\]. +/// Request message for +/// \[UpdateEntryGroup][google.cloud.datacatalog.v1.DataCatalog.UpdateEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntryGroupRequest { - /// Required. Updates for the entry group. The `name` field must be set. + /// Required. Updates for the entry group. The `name` field must be set. #[prost(message, optional, tag="1")] pub entry_group: ::core::option::Option, - /// Names of fields whose values to overwrite on an entry group. + /// Names of fields whose values to overwrite on an entry group. /// - /// If this parameter is absent or empty, all modifiable fields - /// are overwritten. If such fields are non-required and omitted in the - /// request body, their values are emptied. + /// If this parameter is absent or empty, all modifiable fields + /// are overwritten. If such fields are non-required and omitted in the + /// request body, their values are emptied. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup\]. +/// Request message for +/// \[GetEntryGroup][google.cloud.datacatalog.v1.DataCatalog.GetEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntryGroupRequest { - /// Required. The name of the entry group to get. + /// Required. The name of the entry group to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The fields to return. If empty or omitted, all fields are returned. + /// The fields to return. If empty or omitted, all fields are returned. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup\]. +/// Request message for +/// \[DeleteEntryGroup][google.cloud.datacatalog.v1.DataCatalog.DeleteEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntryGroupRequest { - /// Required. The name of the entry group to delete. + /// Required. The name of the entry group to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. If true, deletes all entries in the entry group. + /// Optional. If true, deletes all entries in the entry group. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups\]. +/// Request message for +/// \[ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntryGroupsRequest { - /// Required. The name of the location that contains the entry groups to list. + /// Required. The name of the location that contains the entry groups to list. /// - /// Can be provided as a URL. + /// Can be provided as a URL. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. + /// Optional. The maximum number of items to return. /// - /// Default is 10. Maximum limit is 1000. - /// Throws an invalid argument if `page_size` is greater than 1000. + /// Default is 10. Maximum limit is 1000. + /// Throws an invalid argument if `page_size` is greater than 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Pagination token that specifies the next page to return. - /// If empty, returns the first page. + /// Optional. Pagination token that specifies the next page to return. + /// If empty, returns the first page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups\]. +/// Response message for +/// \[ListEntryGroups][google.cloud.datacatalog.v1.DataCatalog.ListEntryGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntryGroupsResponse { - /// Entry group details. + /// Entry group details. #[prost(message, repeated, tag="1")] pub entry_groups: ::prost::alloc::vec::Vec, - /// Pagination token to specify in the next call to retrieve the next page of - /// results. Empty if there are no more items. + /// Pagination token to specify in the next call to retrieve the next page of + /// results. Empty if there are no more items. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry\]. +/// Request message for +/// \[CreateEntry][google.cloud.datacatalog.v1.DataCatalog.CreateEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntryRequest { - /// Required. The name of the entry group this entry belongs to. + /// Required. The name of the entry group this entry belongs to. /// - /// Note: The entry itself and its child resources might not be stored in - /// the location specified in its name. + /// Note: The entry itself and its child resources might not be stored in + /// the location specified in its name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the entry to create. + /// Required. The ID of the entry to create. /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// and underscores (_). - /// The maximum size is 64 bytes when encoded in UTF-8. + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// and underscores (_). + /// The maximum size is 64 bytes when encoded in UTF-8. #[prost(string, tag="3")] pub entry_id: ::prost::alloc::string::String, - /// Required. The entry to create. + /// Required. The entry to create. #[prost(message, optional, tag="2")] pub entry: ::core::option::Option, } -/// Request message for -/// \[UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry\]. +/// Request message for +/// \[UpdateEntry][google.cloud.datacatalog.v1.DataCatalog.UpdateEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntryRequest { - /// Required. Updates for the entry. The `name` field must be set. + /// Required. Updates for the entry. The `name` field must be set. #[prost(message, optional, tag="1")] pub entry: ::core::option::Option, - /// Names of fields whose values to overwrite on an entry. + /// Names of fields whose values to overwrite on an entry. /// - /// If this parameter is absent or empty, all modifiable fields - /// are overwritten. If such fields are non-required and omitted in the - /// request body, their values are emptied. + /// If this parameter is absent or empty, all modifiable fields + /// are overwritten. If such fields are non-required and omitted in the + /// request body, their values are emptied. /// - /// You can modify only the fields listed below. + /// You can modify only the fields listed below. /// - /// For entries with type `DATA_STREAM`: + /// For entries with type `DATA_STREAM`: /// - /// * `schema` + /// * `schema` /// - /// For entries with type `FILESET`: + /// For entries with type `FILESET`: /// - /// * `schema` - /// * `display_name` - /// * `description` - /// * `gcs_fileset_spec` - /// * `gcs_fileset_spec.file_patterns` + /// * `schema` + /// * `display_name` + /// * `description` + /// * `gcs_fileset_spec` + /// * `gcs_fileset_spec.file_patterns` /// - /// For entries with `user_specified_type`: + /// For entries with `user_specified_type`: /// - /// * `schema` - /// * `display_name` - /// * `description` - /// * `user_specified_type` - /// * `user_specified_system` - /// * `linked_resource` - /// * `source_system_timestamps` + /// * `schema` + /// * `display_name` + /// * `description` + /// * `user_specified_type` + /// * `user_specified_system` + /// * `linked_resource` + /// * `source_system_timestamps` #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry\]. +/// Request message for +/// \[DeleteEntry][google.cloud.datacatalog.v1.DataCatalog.DeleteEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntryRequest { - /// Required. The name of the entry to delete. + /// Required. The name of the entry to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry\]. +/// Request message for +/// \[GetEntry][google.cloud.datacatalog.v1.DataCatalog.GetEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntryRequest { - /// Required. The name of the entry to get. + /// Required. The name of the entry to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry\]. +/// Request message for +/// \[LookupEntry][google.cloud.datacatalog.v1.DataCatalog.LookupEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupEntryRequest { - /// Required. A full name, SQL name, or a fully qualified name of a - /// Google Cloud Platform resource. + /// Required. A full name, SQL name, or a fully qualified name of a + /// Google Cloud Platform resource. #[prost(oneof="lookup_entry_request::TargetName", tags="1, 3, 5")] pub target_name: ::core::option::Option, } /// Nested message and enum types in `LookupEntryRequest`. pub mod lookup_entry_request { - /// Required. A full name, SQL name, or a fully qualified name of a - /// Google Cloud Platform resource. + /// Required. A full name, SQL name, or a fully qualified name of a + /// Google Cloud Platform resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetName { - /// The full name of the Google Cloud Platform resource the Data Catalog - /// entry represents. For more information, see [Full Resource Name] - /// (). + /// The full name of the Google Cloud Platform resource the Data Catalog + /// entry represents. For more information, see [Full Resource Name] + /// (). /// - /// Full names are case-sensitive. For example: + /// Full names are case-sensitive. For example: /// /// * `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` /// * `//pubsub.googleapis.com/projects/{PROJECT_ID}/topics/{TOPIC_ID}` #[prost(string, tag="1")] LinkedResource(::prost::alloc::string::String), - /// The SQL name of the entry. SQL names are case-sensitive. + /// The SQL name of the entry. SQL names are case-sensitive. /// - /// Examples: + /// Examples: /// - /// * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` - /// * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\` - /// * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` - /// * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` - /// * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` + /// * `pubsub.topic.{PROJECT_ID}.{TOPIC_ID}` + /// * `pubsub.topic.{PROJECT_ID}.`\``{TOPIC.ID.SEPARATED.WITH.DOTS}`\` + /// * `bigquery.table.{PROJECT_ID}.{DATASET_ID}.{TABLE_ID}` + /// * `bigquery.dataset.{PROJECT_ID}.{DATASET_ID}` + /// * `datacatalog.entry.{PROJECT_ID}.{LOCATION_ID}.{ENTRY_GROUP_ID}.{ENTRY_ID}` /// - /// Identifiers (`*_ID`) should comply with the - /// [Lexical structure in Standard SQL] - /// (). + /// Identifiers (`*_ID`) should comply with the + /// [Lexical structure in Standard SQL] + /// (). #[prost(string, tag="3")] SqlResource(::prost::alloc::string::String), - /// Fully qualified name (FQN) of the resource. + /// Fully qualified name (FQN) of the resource. /// - /// FQNs take two forms: + /// FQNs take two forms: /// - /// * For non-regionalized resources: + /// * For non-regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// * For regionalized resources: + /// * For regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// Example for a DPMS table: + /// Example for a DPMS table: /// - /// `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` + /// `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` #[prost(string, tag="5")] FullyQualifiedName(::prost::alloc::string::String), } } -/// Entry metadata. -/// A Data Catalog entry represents another resource in Google -/// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or -/// outside of it. You can use the `linked_resource` field -/// in the entry resource to refer to the original resource ID of the source -/// system. +/// Entry metadata. +/// A Data Catalog entry represents another resource in Google +/// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic) or +/// outside of it. You can use the `linked_resource` field +/// in the entry resource to refer to the original resource ID of the source +/// system. /// -/// An entry resource contains resource details, for example, its schema. -/// Additionally, you can attach flexible metadata to an entry in the form of a -/// \[Tag][google.cloud.datacatalog.v1.Tag\]. +/// An entry resource contains resource details, for example, its schema. +/// Additionally, you can attach flexible metadata to an entry in the form of a +/// \[Tag][google.cloud.datacatalog.v1.Tag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// Output only. The resource name of an entry in URL format. + /// Output only. The resource name of an entry in URL format. /// - /// Note: The entry itself and its child resources might not be - /// stored in the location specified in its name. + /// Note: The entry itself and its child resources might not be + /// stored in the location specified in its name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource this metadata entry refers to. + /// The resource this metadata entry refers to. /// - /// For Google Cloud Platform resources, `linked_resource` is the - /// [Full Resource Name] - /// (). - /// For example, the `linked_resource` for a table resource from BigQuery is: + /// For Google Cloud Platform resources, `linked_resource` is the + /// [Full Resource Name] + /// (). + /// For example, the `linked_resource` for a table resource from BigQuery is: /// - /// `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` + /// `//bigquery.googleapis.com/projects/{PROJECT_ID}/datasets/{DATASET_ID}/tables/{TABLE_ID}` /// - /// Output only when the entry is one of the types in the `EntryType` enum. + /// Output only when the entry is one of the types in the `EntryType` enum. /// - /// For entries with a `user_specified_type`, this field is optional and - /// defaults to an empty string. + /// For entries with a `user_specified_type`, this field is optional and + /// defaults to an empty string. /// - /// The resource string must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), periods (.), colons (:), slashes (/), dashes (-), - /// and hashes (#). - /// The maximum size is 200 bytes when encoded in UTF-8. + /// The resource string must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), periods (.), colons (:), slashes (/), dashes (-), + /// and hashes (#). + /// The maximum size is 200 bytes when encoded in UTF-8. #[prost(string, tag="9")] pub linked_resource: ::prost::alloc::string::String, - /// Fully qualified name (FQN) of the resource. Set automatically for entries - /// representing resources from synced systems. Settable only during creation - /// and read-only afterwards. Can be used for search and lookup of the entries. + /// Fully qualified name (FQN) of the resource. Set automatically for entries + /// representing resources from synced systems. Settable only during creation + /// and read-only afterwards. Can be used for search and lookup of the entries. /// /// /// - /// FQNs take two forms: + /// FQNs take two forms: /// - /// * For non-regionalized resources: + /// * For non-regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// * For regionalized resources: + /// * For regionalized resources: /// /// `{SYSTEM}:{PROJECT}.{LOCATION_ID}.{PATH_TO_RESOURCE_SEPARATED_WITH_DOTS}` /// - /// Example for a DPMS table: + /// Example for a DPMS table: /// - /// `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` + /// `dataproc_metastore:{PROJECT_ID}.{LOCATION_ID}.{INSTANCE_ID}.{DATABASE_ID}.{TABLE_ID}` #[prost(string, tag="29")] pub fully_qualified_name: ::prost::alloc::string::String, - /// Display name of an entry. + /// Display name of an entry. /// - /// The name must contain only Unicode letters, numbers (0-9), underscores (_), - /// dashes (-), spaces ( ), and can't start or end with spaces. - /// The maximum size is 200 bytes when encoded in UTF-8. - /// Default value is an empty string. + /// The name must contain only Unicode letters, numbers (0-9), underscores (_), + /// dashes (-), spaces ( ), and can't start or end with spaces. + /// The maximum size is 200 bytes when encoded in UTF-8. + /// Default value is an empty string. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Entry description that can consist of several sentences or paragraphs - /// that describe entry contents. - /// - /// The description must not contain Unicode non-characters as well as C0 - /// and C1 control codes except tabs (HT), new lines (LF), carriage returns - /// (CR), and page breaks (FF). - /// The maximum size is 2000 bytes when encoded in UTF-8. - /// Default value is an empty string. + /// Entry description that can consist of several sentences or paragraphs + /// that describe entry contents. + /// + /// The description must not contain Unicode non-characters as well as C0 + /// and C1 control codes except tabs (HT), new lines (LF), carriage returns + /// (CR), and page breaks (FF). + /// The maximum size is 2000 bytes when encoded in UTF-8. + /// Default value is an empty string. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Business Context of the entry. Not supported for BigQuery datasets + /// Business Context of the entry. Not supported for BigQuery datasets #[prost(message, optional, tag="37")] pub business_context: ::core::option::Option, - /// Schema of the entry. An entry might not have any schema attached to it. + /// Schema of the entry. An entry might not have any schema attached to it. #[prost(message, optional, tag="5")] pub schema: ::core::option::Option, - /// Timestamps from the underlying resource, not from the Data Catalog - /// entry. + /// Timestamps from the underlying resource, not from the Data Catalog + /// entry. /// - /// Output only when the entry has a type listed in the `EntryType` enum. - /// For entries with `user_specified_type`, this field is optional and defaults - /// to an empty timestamp. + /// Output only when the entry has a type listed in the `EntryType` enum. + /// For entries with `user_specified_type`, this field is optional and defaults + /// to an empty timestamp. #[prost(message, optional, tag="7")] pub source_system_timestamps: ::core::option::Option, - /// Output only. Resource usage statistics. + /// Output only. Resource usage statistics. #[prost(message, optional, tag="13")] pub usage_signal: ::core::option::Option, - /// Cloud labels attached to the entry. + /// Cloud labels attached to the entry. /// - /// In Data Catalog, you can create and modify labels attached only to custom - /// entries. Synced entries have unmodifiable labels that come from the source - /// system. + /// In Data Catalog, you can create and modify labels attached only to custom + /// entries. Synced entries have unmodifiable labels that come from the source + /// system. #[prost(map="string, string", tag="14")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Physical location of the entry. + /// Output only. Physical location of the entry. #[prost(message, optional, tag="20")] pub data_source: ::core::option::Option, - /// Output only. Additional information related to the entry. Private to the current user. + /// Output only. Additional information related to the entry. Private to the current user. #[prost(message, optional, tag="26")] pub personal_details: ::core::option::Option, - /// Required. Entry type. + /// Required. Entry type. #[prost(oneof="entry::EntryType", tags="2, 16")] pub entry_type: ::core::option::Option, - /// The source system of the entry. + /// The source system of the entry. #[prost(oneof="entry::System", tags="17, 18")] pub system: ::core::option::Option, - /// Type specification. + /// Type specification. #[prost(oneof="entry::TypeSpec", tags="6, 12, 15")] pub type_spec: ::core::option::Option, - /// Type- and system-specific information. Specifications for types contain - /// fields common to all entries of a given type, and sub-specifications with - /// fields specific to a given source system. + /// Type- and system-specific information. Specifications for types contain + /// fields common to all entries of a given type, and sub-specifications with + /// fields specific to a given source system. /// - /// When extending the API with new types and systems, use this field instead - /// of the legacy `type_spec`. + /// When extending the API with new types and systems, use this field instead + /// of the legacy `type_spec`. #[prost(oneof="entry::Spec", tags="24, 27, 28, 33")] pub spec: ::core::option::Option, } /// Nested message and enum types in `Entry`. pub mod entry { - /// Required. Entry type. + /// Required. Entry type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EntryType { - /// The type of the entry. - /// Only used for entries with types listed in the `EntryType` enum. + /// The type of the entry. + /// Only used for entries with types listed in the `EntryType` enum. /// - /// Currently, only `FILESET` enum value is allowed. All other entries - /// created in Data Catalog must use the `user_specified_type`. + /// Currently, only `FILESET` enum value is allowed. All other entries + /// created in Data Catalog must use the `user_specified_type`. #[prost(enumeration="super::EntryType", tag="2")] Type(i32), - /// Custom entry type that doesn't match any of the values allowed for input - /// and listed in the `EntryType` enum. + /// Custom entry type that doesn't match any of the values allowed for input + /// and listed in the `EntryType` enum. /// - /// When creating an entry, first check the type values in the enum. - /// If there are no appropriate types for the new entry, - /// provide a custom value, for example, `my_special_type`. + /// When creating an entry, first check the type values in the enum. + /// If there are no appropriate types for the new entry, + /// provide a custom value, for example, `my_special_type`. /// - /// The `user_specified_type` string has the following limitations: + /// The `user_specified_type` string has the following limitations: /// - /// * Is case insensitive. - /// * Must begin with a letter or underscore. - /// * Can only contain letters, numbers, and underscores. - /// * Must be at least 1 character and at most 64 characters long. + /// * Is case insensitive. + /// * Must begin with a letter or underscore. + /// * Can only contain letters, numbers, and underscores. + /// * Must be at least 1 character and at most 64 characters long. #[prost(string, tag="16")] UserSpecifiedType(::prost::alloc::string::String), } - /// The source system of the entry. + /// The source system of the entry. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum System { - /// Output only. Indicates the entry's source system that Data Catalog - /// integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. + /// Output only. Indicates the entry's source system that Data Catalog + /// integrates with, such as BigQuery, Pub/Sub, or Dataproc Metastore. #[prost(enumeration="super::IntegratedSystem", tag="17")] IntegratedSystem(i32), - /// Indicates the entry's source system that Data Catalog doesn't - /// automatically integrate with. + /// Indicates the entry's source system that Data Catalog doesn't + /// automatically integrate with. /// - /// The `user_specified_system` string has the following limitations: + /// The `user_specified_system` string has the following limitations: /// - /// * Is case insensitive. - /// * Must begin with a letter or underscore. - /// * Can only contain letters, numbers, and underscores. - /// * Must be at least 1 character and at most 64 characters long. + /// * Is case insensitive. + /// * Must begin with a letter or underscore. + /// * Can only contain letters, numbers, and underscores. + /// * Must be at least 1 character and at most 64 characters long. #[prost(string, tag="18")] UserSpecifiedSystem(::prost::alloc::string::String), } - /// Type specification. + /// Type specification. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeSpec { - /// Specification that applies to a Cloud Storage fileset. Valid only - /// for entries with the `FILESET` type. + /// Specification that applies to a Cloud Storage fileset. Valid only + /// for entries with the `FILESET` type. #[prost(message, tag="6")] GcsFilesetSpec(super::GcsFilesetSpec), - /// Specification that applies to a BigQuery table. Valid only for - /// entries with the `TABLE` type. + /// Specification that applies to a BigQuery table. Valid only for + /// entries with the `TABLE` type. #[prost(message, tag="12")] BigqueryTableSpec(super::BigQueryTableSpec), - /// Specification for a group of BigQuery tables with the `\[prefix\]YYYYMMDD` - /// name pattern. + /// Specification for a group of BigQuery tables with the `\[prefix\]YYYYMMDD` + /// name pattern. /// - /// For more information, see [Introduction to partitioned tables] - /// (). + /// For more information, see [Introduction to partitioned tables] + /// (). #[prost(message, tag="15")] BigqueryDateShardedSpec(super::BigQueryDateShardedSpec), } - /// Type- and system-specific information. Specifications for types contain - /// fields common to all entries of a given type, and sub-specifications with - /// fields specific to a given source system. + /// Type- and system-specific information. Specifications for types contain + /// fields common to all entries of a given type, and sub-specifications with + /// fields specific to a given source system. /// - /// When extending the API with new types and systems, use this field instead - /// of the legacy `type_spec`. + /// When extending the API with new types and systems, use this field instead + /// of the legacy `type_spec`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Spec { - /// Specification that applies to a table resource. Valid only - /// for entries with the `TABLE` type. + /// Specification that applies to a table resource. Valid only + /// for entries with the `TABLE` type. #[prost(message, tag="24")] DatabaseTableSpec(super::DatabaseTableSpec), - /// Specification that applies to a data source connection. Valid only - /// for entries with the `DATA_SOURCE_CONNECTION` type. + /// Specification that applies to a data source connection. Valid only + /// for entries with the `DATA_SOURCE_CONNECTION` type. #[prost(message, tag="27")] DataSourceConnectionSpec(super::DataSourceConnectionSpec), - /// Specification that applies to a user-defined function or procedure. Valid - /// only for entries with the `ROUTINE` type. + /// Specification that applies to a user-defined function or procedure. Valid + /// only for entries with the `ROUTINE` type. #[prost(message, tag="28")] RoutineSpec(super::RoutineSpec), - /// Specification that applies to a fileset resource. Valid only - /// for entries with the `FILESET` type. + /// Specification that applies to a fileset resource. Valid only + /// for entries with the `FILESET` type. #[prost(message, tag="33")] FilesetSpec(super::FilesetSpec), } } -/// Specification that applies to a table resource. Valid only -/// for entries with the `TABLE` type. +/// Specification that applies to a table resource. Valid only +/// for entries with the `TABLE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatabaseTableSpec { - /// Type of this table. + /// Type of this table. #[prost(enumeration="database_table_spec::TableType", tag="1")] pub r#type: i32, - /// Fields specific to a Dataplex table and present only in the Dataplex table - /// entries. + /// Fields specific to a Dataplex table and present only in the Dataplex table + /// entries. #[prost(message, optional, tag="2")] pub dataplex_table: ::core::option::Option, } /// Nested message and enum types in `DatabaseTableSpec`. pub mod database_table_spec { - /// Type of the table. + /// Type of the table. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TableType { - /// Default unknown table type. + /// Default unknown table type. Unspecified = 0, - /// Native table. + /// Native table. Native = 1, - /// External table. + /// External table. External = 2, } impl TableType { @@ -1590,81 +1590,81 @@ pub mod database_table_spec { } } } -/// Specification that applies to a fileset. Valid only for entries with the -/// 'FILESET' type. +/// Specification that applies to a fileset. Valid only for entries with the +/// 'FILESET' type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FilesetSpec { - /// Fields specific to a Dataplex fileset and present only in the Dataplex - /// fileset entries. + /// Fields specific to a Dataplex fileset and present only in the Dataplex + /// fileset entries. #[prost(message, optional, tag="1")] pub dataplex_fileset: ::core::option::Option, } -/// Specification that applies to a data source connection. Valid only for -/// entries with the `DATA_SOURCE_CONNECTION` type. +/// Specification that applies to a data source connection. Valid only for +/// entries with the `DATA_SOURCE_CONNECTION` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataSourceConnectionSpec { - /// Fields specific to BigQuery connections. + /// Fields specific to BigQuery connections. #[prost(message, optional, tag="1")] pub bigquery_connection_spec: ::core::option::Option, } -/// Specification that applies to a routine. Valid only for -/// entries with the `ROUTINE` type. +/// Specification that applies to a routine. Valid only for +/// entries with the `ROUTINE` type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RoutineSpec { - /// The type of the routine. + /// The type of the routine. #[prost(enumeration="routine_spec::RoutineType", tag="1")] pub routine_type: i32, - /// The language the routine is written in. The exact value depends on the - /// source system. For BigQuery routines, possible values are: + /// The language the routine is written in. The exact value depends on the + /// source system. For BigQuery routines, possible values are: /// - /// * `SQL` - /// * `JAVASCRIPT` + /// * `SQL` + /// * `JAVASCRIPT` #[prost(string, tag="2")] pub language: ::prost::alloc::string::String, - /// Arguments of the routine. + /// Arguments of the routine. #[prost(message, repeated, tag="3")] pub routine_arguments: ::prost::alloc::vec::Vec, - /// Return type of the argument. The exact value depends on the source system - /// and the language. + /// Return type of the argument. The exact value depends on the source system + /// and the language. #[prost(string, tag="4")] pub return_type: ::prost::alloc::string::String, - /// The body of the routine. + /// The body of the routine. #[prost(string, tag="5")] pub definition_body: ::prost::alloc::string::String, - /// Contains fields specific to the source system. + /// Contains fields specific to the source system. #[prost(oneof="routine_spec::SystemSpec", tags="6")] pub system_spec: ::core::option::Option, } /// Nested message and enum types in `RoutineSpec`. pub mod routine_spec { - /// Input or output argument of a function or stored procedure. + /// Input or output argument of a function or stored procedure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Argument { - /// The name of the argument. A return argument of a function might not have - /// a name. + /// The name of the argument. A return argument of a function might not have + /// a name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Specifies whether the argument is input or output. + /// Specifies whether the argument is input or output. #[prost(enumeration="argument::Mode", tag="2")] pub mode: i32, - /// Type of the argument. The exact value depends on the source system and - /// the language. + /// Type of the argument. The exact value depends on the source system and + /// the language. #[prost(string, tag="3")] pub r#type: ::prost::alloc::string::String, } /// Nested message and enum types in `Argument`. pub mod argument { - /// The input or output mode of the argument. + /// The input or output mode of the argument. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// Unspecified mode. + /// Unspecified mode. Unspecified = 0, - /// The argument is input-only. + /// The argument is input-only. In = 1, - /// The argument is output-only. + /// The argument is output-only. Out = 2, - /// The argument is both an input and an output. + /// The argument is both an input and an output. Inout = 3, } impl Mode { @@ -1682,15 +1682,15 @@ pub mod routine_spec { } } } - /// The fine-grained type of the routine. + /// The fine-grained type of the routine. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RoutineType { - /// Unspecified type. + /// Unspecified type. Unspecified = 0, - /// Non-builtin permanent scalar function. + /// Non-builtin permanent scalar function. ScalarFunction = 1, - /// Stored procedure. + /// Stored procedure. Procedure = 2, } impl RoutineType { @@ -1706,421 +1706,421 @@ pub mod routine_spec { } } } - /// Contains fields specific to the source system. + /// Contains fields specific to the source system. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SystemSpec { - /// Fields specific for BigQuery routines. + /// Fields specific for BigQuery routines. #[prost(message, tag="6")] BigqueryRoutineSpec(super::BigQueryRoutineSpec), } } -/// Business Context of the entry. +/// Business Context of the entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BusinessContext { - /// Entry overview fields for rich text descriptions of entries. + /// Entry overview fields for rich text descriptions of entries. #[prost(message, optional, tag="1")] pub entry_overview: ::core::option::Option, - /// Contact people for the entry. + /// Contact people for the entry. #[prost(message, optional, tag="2")] pub contacts: ::core::option::Option, } -/// Entry overview fields for rich text descriptions of entries. +/// Entry overview fields for rich text descriptions of entries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntryOverview { - /// Entry overview with support for rich text. + /// Entry overview with support for rich text. /// - /// The overview must only contain Unicode characters, and should be - /// formatted using HTML. - /// The maximum length is 10 MiB as this value holds HTML descriptions - /// including encoded images. The maximum length of the text without images - /// is 100 KiB. + /// The overview must only contain Unicode characters, and should be + /// formatted using HTML. + /// The maximum length is 10 MiB as this value holds HTML descriptions + /// including encoded images. The maximum length of the text without images + /// is 100 KiB. #[prost(string, tag="1")] pub overview: ::prost::alloc::string::String, } -/// Contact people for the entry. +/// Contact people for the entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Contacts { - /// The list of contact people for the entry. + /// The list of contact people for the entry. #[prost(message, repeated, tag="1")] pub people: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Contacts`. pub mod contacts { - /// A contact person for the entry. + /// A contact person for the entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Person { - /// Designation of the person, for example, Data Steward. + /// Designation of the person, for example, Data Steward. #[prost(string, tag="1")] pub designation: ::prost::alloc::string::String, - /// Email of the person in the format of `john.doe@xyz`, - /// ``, or `John Doe`. + /// Email of the person in the format of `john.doe@xyz`, + /// ``, or `John Doe`. #[prost(string, tag="2")] pub email: ::prost::alloc::string::String, } } -/// Entry group metadata. +/// Entry group metadata. /// -/// An `EntryGroup` resource represents a logical grouping of zero or more -/// Data Catalog \[Entry][google.cloud.datacatalog.v1.Entry\] resources. +/// An `EntryGroup` resource represents a logical grouping of zero or more +/// Data Catalog \[Entry][google.cloud.datacatalog.v1.Entry\] resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntryGroup { - /// The resource name of the entry group in URL format. + /// The resource name of the entry group in URL format. /// - /// Note: The entry group itself and its child resources might not be - /// stored in the location specified in its name. + /// Note: The entry group itself and its child resources might not be + /// stored in the location specified in its name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A short name to identify the entry group, for example, - /// "analytics data - jan 2011". Default value is an empty string. + /// A short name to identify the entry group, for example, + /// "analytics data - jan 2011". Default value is an empty string. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Entry group description. Can consist of several sentences or - /// paragraphs that describe the entry group contents. - /// Default value is an empty string. + /// Entry group description. Can consist of several sentences or + /// paragraphs that describe the entry group contents. + /// Default value is an empty string. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Timestamps of the entry group. Default value is empty. + /// Output only. Timestamps of the entry group. Default value is empty. #[prost(message, optional, tag="4")] pub data_catalog_timestamps: ::core::option::Option, } -/// Request message for -/// \[CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate\]. +/// Request message for +/// \[CreateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagTemplateRequest { - /// Required. The name of the project and the template location - /// \[region\](). + /// Required. The name of the project and the template location + /// \[region\](). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the tag template to create. + /// Required. The ID of the tag template to create. /// - /// The ID must contain only lowercase letters (a-z), numbers (0-9), - /// or underscores (_), and must start with a letter or underscore. - /// The maximum size is 64 bytes when encoded in UTF-8. + /// The ID must contain only lowercase letters (a-z), numbers (0-9), + /// or underscores (_), and must start with a letter or underscore. + /// The maximum size is 64 bytes when encoded in UTF-8. #[prost(string, tag="3")] pub tag_template_id: ::prost::alloc::string::String, - /// Required. The tag template to create. + /// Required. The tag template to create. #[prost(message, optional, tag="2")] pub tag_template: ::core::option::Option, } -/// Request message for -/// \[GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate\]. +/// Request message for +/// \[GetTagTemplate][google.cloud.datacatalog.v1.DataCatalog.GetTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTagTemplateRequest { - /// Required. The name of the tag template to get. + /// Required. The name of the tag template to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate\]. +/// Request message for +/// \[UpdateTagTemplate][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagTemplateRequest { - /// Required. The template to update. The `name` field must be set. + /// Required. The template to update. The `name` field must be set. #[prost(message, optional, tag="1")] pub tag_template: ::core::option::Option, - /// Names of fields whose values to overwrite on a tag template. Currently, - /// only `display_name` and `is_publicly_readable` can be overwritten. + /// Names of fields whose values to overwrite on a tag template. Currently, + /// only `display_name` and `is_publicly_readable` can be overwritten. /// - /// If this parameter is absent or empty, all modifiable fields - /// are overwritten. If such fields are non-required and omitted in the - /// request body, their values are emptied. + /// If this parameter is absent or empty, all modifiable fields + /// are overwritten. If such fields are non-required and omitted in the + /// request body, their values are emptied. /// - /// Note: Updating the `is_publicly_readable` field may require up to 12 - /// hours to take effect in search results. + /// Note: Updating the `is_publicly_readable` field may require up to 12 + /// hours to take effect in search results. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate\]. +/// Request message for +/// \[DeleteTagTemplate][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagTemplateRequest { - /// Required. The name of the tag template to delete. + /// Required. The name of the tag template to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. If true, deletes all tags that use this template. + /// Required. If true, deletes all tags that use this template. /// - /// Currently, `true` is the only supported value. + /// Currently, `true` is the only supported value. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag\]. +/// Request message for +/// \[CreateTag][google.cloud.datacatalog.v1.DataCatalog.CreateTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagRequest { - /// Required. The name of the resource to attach this tag to. + /// Required. The name of the resource to attach this tag to. /// - /// Tags can be attached to entries or entry groups. An entry can have up to - /// 1000 attached tags. + /// Tags can be attached to entries or entry groups. An entry can have up to + /// 1000 attached tags. /// - /// Note: The tag and its child resources might not be stored in - /// the location specified in its name. + /// Note: The tag and its child resources might not be stored in + /// the location specified in its name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The tag to create. + /// Required. The tag to create. #[prost(message, optional, tag="2")] pub tag: ::core::option::Option, } -/// Request message for -/// \[UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag\]. +/// Request message for +/// \[UpdateTag][google.cloud.datacatalog.v1.DataCatalog.UpdateTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagRequest { - /// Required. The updated tag. The "name" field must be set. + /// Required. The updated tag. The "name" field must be set. #[prost(message, optional, tag="1")] pub tag: ::core::option::Option, - /// Names of fields whose values to overwrite on a tag. Currently, a tag has - /// the only modifiable field with the name `fields`. + /// Names of fields whose values to overwrite on a tag. Currently, a tag has + /// the only modifiable field with the name `fields`. /// - /// In general, if this parameter is absent or empty, all modifiable fields - /// are overwritten. If such fields are non-required and omitted in the - /// request body, their values are emptied. + /// In general, if this parameter is absent or empty, all modifiable fields + /// are overwritten. If such fields are non-required and omitted in the + /// request body, their values are emptied. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag\]. +/// Request message for +/// \[DeleteTag][google.cloud.datacatalog.v1.DataCatalog.DeleteTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagRequest { - /// Required. The name of the tag to delete. + /// Required. The name of the tag to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField\]. +/// Request message for +/// \[CreateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.CreateTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagTemplateFieldRequest { - /// Required. The name of the project and the template location - /// \[region\](). + /// Required. The name of the project and the template location + /// \[region\](). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the tag template field to create. + /// Required. The ID of the tag template field to create. /// - /// Note: Adding a required field to an existing template is *not* allowed. + /// Note: Adding a required field to an existing template is *not* allowed. /// - /// Field IDs can contain letters (both uppercase and lowercase), numbers - /// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 - /// character long and at most 128 characters long. Field IDs must also be - /// unique within their template. + /// Field IDs can contain letters (both uppercase and lowercase), numbers + /// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 + /// character long and at most 128 characters long. Field IDs must also be + /// unique within their template. #[prost(string, tag="2")] pub tag_template_field_id: ::prost::alloc::string::String, - /// Required. The tag template field to create. + /// Required. The tag template field to create. #[prost(message, optional, tag="3")] pub tag_template_field: ::core::option::Option, } -/// Request message for -/// \[UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField\]. +/// Request message for +/// \[UpdateTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.UpdateTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagTemplateFieldRequest { - /// Required. The name of the tag template field. + /// Required. The name of the tag template field. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The template to update. + /// Required. The template to update. #[prost(message, optional, tag="2")] pub tag_template_field: ::core::option::Option, - /// Optional. Names of fields whose values to overwrite on an individual field of a tag - /// template. The following fields are modifiable: - /// - /// * `display_name` - /// * `type.enum_type` - /// * `is_required` - /// - /// If this parameter is absent or empty, all modifiable fields - /// are overwritten. If such fields are non-required and omitted in the request - /// body, their values are emptied with one exception: when updating an enum - /// type, the provided values are merged with the existing values. Therefore, - /// enum values can only be added, existing enum values cannot be deleted or - /// renamed. - /// - /// Additionally, updating a template field from optional to required is - /// *not* allowed. + /// Optional. Names of fields whose values to overwrite on an individual field of a tag + /// template. The following fields are modifiable: + /// + /// * `display_name` + /// * `type.enum_type` + /// * `is_required` + /// + /// If this parameter is absent or empty, all modifiable fields + /// are overwritten. If such fields are non-required and omitted in the request + /// body, their values are emptied with one exception: when updating an enum + /// type, the provided values are merged with the existing values. Therefore, + /// enum values can only be added, existing enum values cannot be deleted or + /// renamed. + /// + /// Additionally, updating a template field from optional to required is + /// *not* allowed. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField\]. +/// Request message for +/// \[RenameTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RenameTagTemplateFieldRequest { - /// Required. The name of the tag template field. + /// Required. The name of the tag template field. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The new ID of this tag template field. For example, `my_new_field`. + /// Required. The new ID of this tag template field. For example, `my_new_field`. #[prost(string, tag="2")] pub new_tag_template_field_id: ::prost::alloc::string::String, } -/// Request message for -/// \[RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue\]. +/// Request message for +/// \[RenameTagTemplateFieldEnumValue][google.cloud.datacatalog.v1.DataCatalog.RenameTagTemplateFieldEnumValue\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RenameTagTemplateFieldEnumValueRequest { - /// Required. The name of the enum field value. + /// Required. The name of the enum field value. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The new display name of the enum value. For example, `my_new_enum_value`. + /// Required. The new display name of the enum value. For example, `my_new_enum_value`. #[prost(string, tag="2")] pub new_enum_value_display_name: ::prost::alloc::string::String, } -/// Request message for -/// \[DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField\]. +/// Request message for +/// \[DeleteTagTemplateField][google.cloud.datacatalog.v1.DataCatalog.DeleteTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagTemplateFieldRequest { - /// Required. The name of the tag template field to delete. + /// Required. The name of the tag template field to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. If true, deletes this field from any tags that use it. + /// Required. If true, deletes this field from any tags that use it. /// - /// Currently, `true` is the only supported value. + /// Currently, `true` is the only supported value. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags\]. +/// Request message for +/// \[ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTagsRequest { - /// Required. The name of the Data Catalog resource to list the tags of. + /// Required. The name of the Data Catalog resource to list the tags of. /// - /// The resource can be an \[Entry][google.cloud.datacatalog.v1.Entry\] - /// or an \[EntryGroup][google.cloud.datacatalog.v1.EntryGroup\] - /// (without `/entries/{entries}` at the end). + /// The resource can be an \[Entry][google.cloud.datacatalog.v1.Entry\] + /// or an \[EntryGroup][google.cloud.datacatalog.v1.EntryGroup\] + /// (without `/entries/{entries}` at the end). #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of tags to return. Default is 10. Maximum limit is 1000. + /// The maximum number of tags to return. Default is 10. Maximum limit is 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Pagination token that specifies the next page to return. If empty, the - /// first page is returned. + /// Pagination token that specifies the next page to return. If empty, the + /// first page is returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags\]. +/// Response message for +/// \[ListTags][google.cloud.datacatalog.v1.DataCatalog.ListTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTagsResponse { - /// \[Tag][google.cloud.datacatalog.v1.Tag\] details. + /// \[Tag][google.cloud.datacatalog.v1.Tag\] details. #[prost(message, repeated, tag="1")] pub tags: ::prost::alloc::vec::Vec, - /// Pagination token of the next results page. Empty if there are - /// no more items in results. + /// Pagination token of the next results page. Empty if there are + /// no more items in results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries\]. +/// Request message for +/// \[ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntriesRequest { - /// Required. The name of the entry group that contains the entries to list. + /// Required. The name of the entry group that contains the entries to list. /// - /// Can be provided in URL format. + /// Can be provided in URL format. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Default is 10. Maximum limit is - /// 1000. Throws an invalid argument if `page_size` is more than 1000. + /// The maximum number of items to return. Default is 10. Maximum limit is + /// 1000. Throws an invalid argument if `page_size` is more than 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Pagination token that specifies the next page to return. If empty, the - /// first page is returned. + /// Pagination token that specifies the next page to return. If empty, the + /// first page is returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The fields to return for each entry. If empty or omitted, all - /// fields are returned. + /// The fields to return for each entry. If empty or omitted, all + /// fields are returned. /// - /// For example, to return a list of entries with only the `name` field, - /// set `read_mask` to only one path with the `name` value. + /// For example, to return a list of entries with only the `name` field, + /// set `read_mask` to only one path with the `name` value. #[prost(message, optional, tag="4")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for -/// \[ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries\]. +/// Response message for +/// \[ListEntries][google.cloud.datacatalog.v1.DataCatalog.ListEntries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntriesResponse { - /// Entry details. + /// Entry details. #[prost(message, repeated, tag="1")] pub entries: ::prost::alloc::vec::Vec, - /// Pagination token of the next results page. Empty if there are no more items - /// in results. + /// Pagination token of the next results page. Empty if there are no more items + /// in results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry\]. +/// Request message for +/// \[StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StarEntryRequest { - /// Required. The name of the entry to mark as starred. + /// Required. The name of the entry to mark as starred. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for -/// \[StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry\]. -/// Empty for now +/// Response message for +/// \[StarEntry][google.cloud.datacatalog.v1.DataCatalog.StarEntry\]. +/// Empty for now #[derive(Clone, PartialEq, ::prost::Message)] pub struct StarEntryResponse { } -/// Request message for -/// \[UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry\]. +/// Request message for +/// \[UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnstarEntryRequest { - /// Required. The name of the entry to mark as **not** starred. + /// Required. The name of the entry to mark as **not** starred. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Response message for -/// \[UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry\]. -/// Empty for now +/// Response message for +/// \[UnstarEntry][google.cloud.datacatalog.v1.DataCatalog.UnstarEntry\]. +/// Empty for now #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnstarEntryResponse { } -/// Request message for -/// \[ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview\]. +/// Request message for +/// \[ModifyEntryOverview][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryOverview\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModifyEntryOverviewRequest { - /// Required. The full resource name of the entry. + /// Required. The full resource name of the entry. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The new value for the Entry Overview. + /// Required. The new value for the Entry Overview. #[prost(message, optional, tag="2")] pub entry_overview: ::core::option::Option, } -/// Request message for -/// \[ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts\]. +/// Request message for +/// \[ModifyEntryContacts][google.cloud.datacatalog.v1.DataCatalog.ModifyEntryContacts\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ModifyEntryContactsRequest { - /// Required. The full resource name of the entry. + /// Required. The full resource name of the entry. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The new value for the Contacts. + /// Required. The new value for the Contacts. #[prost(message, optional, tag="2")] pub contacts: ::core::option::Option, } -/// The enum field that lists all the types of entry resources in Data -/// Catalog. For example, a BigQuery table entry has the `TABLE` type. +/// The enum field that lists all the types of entry resources in Data +/// Catalog. For example, a BigQuery table entry has the `TABLE` type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntryType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// Output only. The entry type that has a GoogleSQL schema, including - /// logical views. + /// Output only. The entry type that has a GoogleSQL schema, including + /// logical views. Table = 2, - /// Output only. The type of models. + /// Output only. The type of models. /// - /// For more information, see [Supported models in BigQuery ML] - /// (). + /// For more information, see [Supported models in BigQuery ML] + /// (). Model = 5, - /// An entry type for streaming entries. For example, a Pub/Sub topic. + /// An entry type for streaming entries. For example, a Pub/Sub topic. DataStream = 3, - /// An entry type for a set of files or objects. For example, a - /// Cloud Storage fileset. + /// An entry type for a set of files or objects. For example, a + /// Cloud Storage fileset. Fileset = 4, - /// A group of servers that work together. For example, a Kafka cluster. + /// A group of servers that work together. For example, a Kafka cluster. Cluster = 6, - /// A database. + /// A database. Database = 7, - /// Output only. Connection to a data source. For example, a BigQuery - /// connection. + /// Output only. Connection to a data source. For example, a BigQuery + /// connection. DataSourceConnection = 8, - /// Output only. Routine, for example, a BigQuery routine. + /// Output only. Routine, for example, a BigQuery routine. Routine = 9, - /// A Dataplex lake. + /// A Dataplex lake. Lake = 10, - /// A Dataplex zone. + /// A Dataplex zone. Zone = 11, - /// A service, for example, a Dataproc Metastore service. + /// A service, for example, a Dataproc Metastore service. Service = 14, } impl EntryType { @@ -3068,74 +3068,74 @@ pub mod data_catalog_client { } } } -/// A taxonomy is a collection of hierarchical policy tags that classify data -/// along a common axis. +/// A taxonomy is a collection of hierarchical policy tags that classify data +/// along a common axis. /// -/// For example, a "data sensitivity" taxonomy might contain the following policy -/// tags: +/// For example, a "data sensitivity" taxonomy might contain the following policy +/// tags: /// -/// ``` -/// + PII +/// ``` +/// + PII /// + Account number /// + Age /// + SSN /// + Zipcode -/// + Financials +/// + Financials /// + Revenue -/// ``` +/// ``` /// -/// A "data origin" taxonomy might contain the following policy tags: +/// A "data origin" taxonomy might contain the following policy tags: /// -/// ``` -/// + User data -/// + Employee data -/// + Partner data -/// + Public data -/// ``` +/// ``` +/// + User data +/// + Employee data +/// + Partner data +/// + Public data +/// ``` #[derive(Clone, PartialEq, ::prost::Message)] pub struct Taxonomy { - /// Output only. Resource name of this taxonomy in URL format. + /// Output only. Resource name of this taxonomy in URL format. /// - /// Note: Policy tag manager generates unique taxonomy IDs. + /// Note: Policy tag manager generates unique taxonomy IDs. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. User-defined name of this taxonomy. + /// Required. User-defined name of this taxonomy. /// - /// The name can't start or end with spaces, must contain only Unicode letters, - /// numbers, underscores, dashes, and spaces, and be at most 200 bytes long - /// when encoded in UTF-8. + /// The name can't start or end with spaces, must contain only Unicode letters, + /// numbers, underscores, dashes, and spaces, and be at most 200 bytes long + /// when encoded in UTF-8. /// - /// The taxonomy display name must be unique within an organization. + /// The taxonomy display name must be unique within an organization. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description of this taxonomy. If not set, defaults to empty. + /// Optional. Description of this taxonomy. If not set, defaults to empty. /// - /// The description must contain only Unicode characters, tabs, newlines, - /// carriage returns, and page breaks, and be at most 2000 bytes long when - /// encoded in UTF-8. + /// The description must contain only Unicode characters, tabs, newlines, + /// carriage returns, and page breaks, and be at most 2000 bytes long when + /// encoded in UTF-8. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Number of policy tags in this taxonomy. + /// Output only. Number of policy tags in this taxonomy. #[prost(int32, tag="4")] pub policy_tag_count: i32, - /// Output only. Creation and modification timestamps of this taxonomy. + /// Output only. Creation and modification timestamps of this taxonomy. #[prost(message, optional, tag="5")] pub taxonomy_timestamps: ::core::option::Option, - /// Optional. A list of policy types that are activated for this taxonomy. If not set, - /// defaults to an empty list. + /// Optional. A list of policy types that are activated for this taxonomy. If not set, + /// defaults to an empty list. #[prost(enumeration="taxonomy::PolicyType", repeated, packed="false", tag="6")] pub activated_policy_types: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Taxonomy`. pub mod taxonomy { - /// Defines policy types where the policy tags can be used for. + /// Defines policy types where the policy tags can be used for. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyType { - /// Unspecified policy type. + /// Unspecified policy type. Unspecified = 0, - /// Fine-grained access control policy that enables access control on - /// tagged sub-resources. + /// Fine-grained access control policy that enables access control on + /// tagged sub-resources. FineGrainedAccessControl = 1, } impl PolicyType { @@ -3151,200 +3151,200 @@ pub mod taxonomy { } } } -/// Denotes one policy tag in a taxonomy, for example, SSN. +/// Denotes one policy tag in a taxonomy, for example, SSN. /// -/// Policy tags can be defined in a hierarchy. For example: +/// Policy tags can be defined in a hierarchy. For example: /// -/// ``` -/// + Geolocation +/// ``` +/// + Geolocation /// + LatLong /// + City /// + ZipCode -/// ``` +/// ``` /// -/// Where the "Geolocation" policy tag contains three children. +/// Where the "Geolocation" policy tag contains three children. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTag { - /// Output only. Resource name of this policy tag in the URL format. + /// Output only. Resource name of this policy tag in the URL format. /// - /// The policy tag manager generates unique taxonomy IDs and policy tag IDs. + /// The policy tag manager generates unique taxonomy IDs and policy tag IDs. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. User-defined name of this policy tag. + /// Required. User-defined name of this policy tag. /// - /// The name can't start or end with spaces and must be unique within the - /// parent taxonomy, contain only Unicode letters, numbers, underscores, dashes - /// and spaces, and be at most 200 bytes long when encoded in UTF-8. + /// The name can't start or end with spaces and must be unique within the + /// parent taxonomy, contain only Unicode letters, numbers, underscores, dashes + /// and spaces, and be at most 200 bytes long when encoded in UTF-8. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Description of this policy tag. If not set, defaults to empty. + /// Description of this policy tag. If not set, defaults to empty. /// - /// The description must contain only Unicode characters, - /// tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes - /// long when encoded in UTF-8. + /// The description must contain only Unicode characters, + /// tabs, newlines, carriage returns and page breaks, and be at most 2000 bytes + /// long when encoded in UTF-8. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Resource name of this policy tag's parent policy tag. If empty, this is a - /// top level tag. If not set, defaults to an empty string. + /// Resource name of this policy tag's parent policy tag. If empty, this is a + /// top level tag. If not set, defaults to an empty string. /// - /// For example, for the "LatLong" policy tag in the example above, this field - /// contains the resource name of the "Geolocation" policy tag, and, for - /// "Geolocation", this field is empty. + /// For example, for the "LatLong" policy tag in the example above, this field + /// contains the resource name of the "Geolocation" policy tag, and, for + /// "Geolocation", this field is empty. #[prost(string, tag="4")] pub parent_policy_tag: ::prost::alloc::string::String, - /// Output only. Resource names of child policy tags of this policy tag. + /// Output only. Resource names of child policy tags of this policy tag. #[prost(string, repeated, tag="5")] pub child_policy_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for -/// \[CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy\]. +/// Request message for +/// \[CreateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.CreateTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTaxonomyRequest { - /// Required. Resource name of the project that the taxonomy will belong to. + /// Required. Resource name of the project that the taxonomy will belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The taxonomy to create. + /// The taxonomy to create. #[prost(message, optional, tag="2")] pub taxonomy: ::core::option::Option, } -/// Request message for -/// \[DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy\]. +/// Request message for +/// \[DeleteTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.DeleteTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTaxonomyRequest { - /// Required. Resource name of the taxonomy to delete. + /// Required. Resource name of the taxonomy to delete. /// - /// Note: All policy tags in this taxonomy are also deleted. + /// Note: All policy tags in this taxonomy are also deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy\]. +/// Request message for +/// \[UpdateTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.UpdateTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTaxonomyRequest { - /// The taxonomy to update. You can update only its description, display name, - /// and activated policy types. + /// The taxonomy to update. You can update only its description, display name, + /// and activated policy types. #[prost(message, optional, tag="1")] pub taxonomy: ::core::option::Option, - /// Specifies fields to update. If not set, defaults to all fields you can - /// update. + /// Specifies fields to update. If not set, defaults to all fields you can + /// update. /// - /// For more information, see \[FieldMask\] - /// (). + /// For more information, see \[FieldMask\] + /// (). #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies\]. +/// Request message for +/// \[ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTaxonomiesRequest { - /// Required. Resource name of the project to list the taxonomies of. + /// Required. Resource name of the project to list the taxonomies of. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Must be a value between 1 and 1000 - /// inclusively. If not set, defaults to 50. + /// The maximum number of items to return. Must be a value between 1 and 1000 + /// inclusively. If not set, defaults to 50. #[prost(int32, tag="2")] pub page_size: i32, - /// The pagination token of the next results page. If not set, - /// the first page is returned. + /// The pagination token of the next results page. If not set, + /// the first page is returned. /// - /// The token is returned in the response to a previous list request. + /// The token is returned in the response to a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies\]. +/// Response message for +/// \[ListTaxonomies][google.cloud.datacatalog.v1.PolicyTagManager.ListTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTaxonomiesResponse { - /// Taxonomies that the project contains. + /// Taxonomies that the project contains. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, - /// Pagination token of the next results page. Empty if there are no - /// more results in the list. + /// Pagination token of the next results page. Empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy\]. +/// Request message for +/// \[GetTaxonomy][google.cloud.datacatalog.v1.PolicyTagManager.GetTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTaxonomyRequest { - /// Required. Resource name of the taxonomy to get. + /// Required. Resource name of the taxonomy to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag\]. +/// Request message for +/// \[CreatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.CreatePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePolicyTagRequest { - /// Required. Resource name of the taxonomy that the policy tag will belong to. + /// Required. Resource name of the taxonomy that the policy tag will belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The policy tag to create. + /// The policy tag to create. #[prost(message, optional, tag="2")] pub policy_tag: ::core::option::Option, } -/// Request message for -/// \[DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag\]. +/// Request message for +/// \[DeletePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.DeletePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePolicyTagRequest { - /// Required. Resource name of the policy tag to delete. + /// Required. Resource name of the policy tag to delete. /// - /// Note: All of its descendant policy tags are also deleted. + /// Note: All of its descendant policy tags are also deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag\]. +/// Request message for +/// \[UpdatePolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.UpdatePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePolicyTagRequest { - /// The policy tag to update. You can update only its description, display - /// name, and parent policy tag fields. + /// The policy tag to update. You can update only its description, display + /// name, and parent policy tag fields. #[prost(message, optional, tag="1")] pub policy_tag: ::core::option::Option, - /// Specifies the fields to update. + /// Specifies the fields to update. /// - /// You can update only display name, description, and parent policy tag. - /// If not set, defaults to all updatable fields. - /// For more information, see \[FieldMask\] - /// (). + /// You can update only display name, description, and parent policy tag. + /// If not set, defaults to all updatable fields. + /// For more information, see \[FieldMask\] + /// (). #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags\]. +/// Request message for +/// \[ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPolicyTagsRequest { - /// Required. Resource name of the taxonomy to list the policy tags of. + /// Required. Resource name of the taxonomy to list the policy tags of. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Must be a value between 1 and 1000 - /// inclusively. - /// If not set, defaults to 50. + /// The maximum number of items to return. Must be a value between 1 and 1000 + /// inclusively. + /// If not set, defaults to 50. #[prost(int32, tag="2")] pub page_size: i32, - /// The pagination token of the next results page. If not set, returns the - /// first page. + /// The pagination token of the next results page. If not set, returns the + /// first page. /// - /// The token is returned in the response to a previous list request. + /// The token is returned in the response to a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags\]. +/// Response message for +/// \[ListPolicyTags][google.cloud.datacatalog.v1.PolicyTagManager.ListPolicyTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPolicyTagsResponse { - /// The policy tags that belong to the taxonomy. + /// The policy tags that belong to the taxonomy. #[prost(message, repeated, tag="1")] pub policy_tags: ::prost::alloc::vec::Vec, - /// Pagination token of the next results page. Empty if there are no - /// more results in the list. + /// Pagination token of the next results page. Empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag\]. +/// Request message for +/// \[GetPolicyTag][google.cloud.datacatalog.v1.PolicyTagManager.GetPolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPolicyTagRequest { - /// Required. Resource name of the policy tag. + /// Required. Resource name of the policy tag. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -3715,135 +3715,135 @@ pub mod policy_tag_manager_client { } } } -/// A nested protocol buffer that represents a taxonomy and the hierarchy of its -/// policy tags. Used for taxonomy replacement, import, and -/// export. +/// A nested protocol buffer that represents a taxonomy and the hierarchy of its +/// policy tags. Used for taxonomy replacement, import, and +/// export. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerializedTaxonomy { - /// Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8. + /// Required. Display name of the taxonomy. At most 200 bytes when encoded in UTF-8. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Description of the serialized taxonomy. At most 2000 bytes when - /// encoded in UTF-8. If not set, defaults to an empty description. + /// Description of the serialized taxonomy. At most 2000 bytes when + /// encoded in UTF-8. If not set, defaults to an empty description. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Top level policy tags associated with the taxonomy, if any. + /// Top level policy tags associated with the taxonomy, if any. #[prost(message, repeated, tag="3")] pub policy_tags: ::prost::alloc::vec::Vec, - /// A list of policy types that are activated per taxonomy. + /// A list of policy types that are activated per taxonomy. #[prost(enumeration="taxonomy::PolicyType", repeated, tag="4")] pub activated_policy_types: ::prost::alloc::vec::Vec, } -/// A nested protocol buffer that represents a policy tag and all its -/// descendants. +/// A nested protocol buffer that represents a policy tag and all its +/// descendants. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerializedPolicyTag { - /// Resource name of the policy tag. + /// Resource name of the policy tag. /// - /// This field is ignored when calling `ImportTaxonomies`. + /// This field is ignored when calling `ImportTaxonomies`. #[prost(string, tag="1")] pub policy_tag: ::prost::alloc::string::String, - /// Required. Display name of the policy tag. At most 200 bytes when encoded - /// in UTF-8. + /// Required. Display name of the policy tag. At most 200 bytes when encoded + /// in UTF-8. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Description of the serialized policy tag. At most - /// 2000 bytes when encoded in UTF-8. If not set, defaults to an - /// empty description. + /// Description of the serialized policy tag. At most + /// 2000 bytes when encoded in UTF-8. If not set, defaults to an + /// empty description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Children of the policy tag, if any. + /// Children of the policy tag, if any. #[prost(message, repeated, tag="4")] pub child_policy_tags: ::prost::alloc::vec::Vec, } -/// Request message for -/// \[ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy\]. +/// Request message for +/// \[ReplaceTaxonomy][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ReplaceTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReplaceTaxonomyRequest { - /// Required. Resource name of the taxonomy to update. + /// Required. Resource name of the taxonomy to update. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Taxonomy to update along with its child policy tags. + /// Required. Taxonomy to update along with its child policy tags. #[prost(message, optional, tag="2")] pub serialized_taxonomy: ::core::option::Option, } -/// Request message for -/// \[ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies\]. +/// Request message for +/// \[ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTaxonomiesRequest { - /// Required. Resource name of project that the imported taxonomies will belong to. + /// Required. Resource name of project that the imported taxonomies will belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Source taxonomies to import. + /// Source taxonomies to import. #[prost(oneof="import_taxonomies_request::Source", tags="2, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportTaxonomiesRequest`. pub mod import_taxonomies_request { - /// Source taxonomies to import. + /// Source taxonomies to import. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Inline source taxonomy to import. + /// Inline source taxonomy to import. #[prost(message, tag="2")] InlineSource(super::InlineSource), - /// Cross-regional source taxonomy to import. + /// Cross-regional source taxonomy to import. #[prost(message, tag="3")] CrossRegionalSource(super::CrossRegionalSource), } } -/// Inline source containing taxonomies to import. +/// Inline source containing taxonomies to import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InlineSource { - /// Required. Taxonomies to import. + /// Required. Taxonomies to import. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } -/// Cross-regional source used to import an existing taxonomy into a different -/// region. +/// Cross-regional source used to import an existing taxonomy into a different +/// region. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CrossRegionalSource { - /// Required. The resource name of the source taxonomy to import. + /// Required. The resource name of the source taxonomy to import. #[prost(string, tag="1")] pub taxonomy: ::prost::alloc::string::String, } -/// Response message for -/// \[ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies\]. +/// Response message for +/// \[ImportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ImportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTaxonomiesResponse { - /// Imported taxonomies. + /// Imported taxonomies. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } -/// Request message for -/// \[ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies\]. +/// Request message for +/// \[ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTaxonomiesRequest { - /// Required. Resource name of the project that the exported taxonomies belong to. + /// Required. Resource name of the project that the exported taxonomies belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Resource names of the taxonomies to export. + /// Required. Resource names of the taxonomies to export. #[prost(string, repeated, tag="2")] pub taxonomies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Export destination for taxonomies. + /// Required. Export destination for taxonomies. #[prost(oneof="export_taxonomies_request::Destination", tags="3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportTaxonomiesRequest`. pub mod export_taxonomies_request { - /// Required. Export destination for taxonomies. + /// Required. Export destination for taxonomies. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Serialized export taxonomies that contain all the policy - /// tags as nested protocol buffers. + /// Serialized export taxonomies that contain all the policy + /// tags as nested protocol buffers. #[prost(bool, tag="3")] SerializedTaxonomies(bool), } } -/// Response message for -/// \[ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies\]. +/// Response message for +/// \[ExportTaxonomies][google.cloud.datacatalog.v1.PolicyTagManagerSerialization.ExportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTaxonomiesResponse { - /// List of taxonomies and policy tags as nested protocol buffers. + /// List of taxonomies and policy tags as nested protocol buffers. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.cloud.datacatalog.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.datacatalog.v1beta1.rs index 2151b018b..72e4a23d8 100644 --- a/gcloud-sdk/genproto/google.cloud.datacatalog.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.datacatalog.v1beta1.rs @@ -1,13 +1,13 @@ -/// This enum describes all the possible systems that Data Catalog integrates -/// with. +/// This enum describes all the possible systems that Data Catalog integrates +/// with. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IntegratedSystem { - /// Default unknown system. + /// Default unknown system. Unspecified = 0, - /// BigQuery. + /// BigQuery. Bigquery = 1, - /// Cloud Pub/Sub. + /// Cloud Pub/Sub. CloudPubsub = 2, } impl IntegratedSystem { @@ -23,30 +23,30 @@ impl IntegratedSystem { } } } -/// Timestamps about this resource according to a particular system. +/// Timestamps about this resource according to a particular system. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SystemTimestamps { - /// The creation time of the resource within the given system. + /// The creation time of the resource within the given system. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The last-modified time of the resource within the given system. + /// The last-modified time of the resource within the given system. #[prost(message, optional, tag="2")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The expiration time of the resource within the given system. - /// Currently only apllicable to BigQuery resources. + /// Output only. The expiration time of the resource within the given system. + /// Currently only apllicable to BigQuery resources. #[prost(message, optional, tag="3")] pub expire_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Describes a Cloud Storage fileset entry. +/// Describes a Cloud Storage fileset entry. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsFilesetSpec { - /// Required. Patterns to identify a set of files in Google Cloud Storage. - /// See [Cloud Storage - /// documentation]() - /// for more information. Note that bucket wildcards are currently not - /// supported. + /// Required. Patterns to identify a set of files in Google Cloud Storage. + /// See [Cloud Storage + /// documentation]() + /// for more information. Note that bucket wildcards are currently not + /// supported. /// - /// Examples of valid file_patterns: + /// Examples of valid file_patterns: /// /// * `gs://bucket_name/dir/*`: matches all files within `bucket_name/dir` /// directory. @@ -65,99 +65,99 @@ pub struct GcsFilesetSpec { /// `a/*/b` pattern, such as `a/c/b`, `a/d/b` /// * `gs://another_bucket/a.txt`: matches `gs://another_bucket/a.txt` /// - /// You can combine wildcards to provide more powerful matches, for example: + /// You can combine wildcards to provide more powerful matches, for example: /// /// * `gs://bucket_name/\[a-m\]??.j*g` #[prost(string, repeated, tag="1")] pub file_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Sample files contained in this fileset, not all files contained in this - /// fileset are represented here. + /// Output only. Sample files contained in this fileset, not all files contained in this + /// fileset are represented here. #[prost(message, repeated, tag="2")] pub sample_gcs_file_specs: ::prost::alloc::vec::Vec, } -/// Specifications of a single file in Cloud Storage. +/// Specifications of a single file in Cloud Storage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsFileSpec { - /// Required. The full file path. Example: `gs://bucket_name/a/b.txt`. + /// Required. The full file path. Example: `gs://bucket_name/a/b.txt`. #[prost(string, tag="1")] pub file_path: ::prost::alloc::string::String, - /// Output only. Timestamps about the Cloud Storage file. + /// Output only. Timestamps about the Cloud Storage file. #[prost(message, optional, tag="2")] pub gcs_timestamps: ::core::option::Option, - /// Output only. The size of the file, in bytes. + /// Output only. The size of the file, in bytes. #[prost(int64, tag="4")] pub size_bytes: i64, } -/// Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). +/// Represents a schema (e.g. BigQuery, GoogleSQL, Avro schema). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Schema { - /// Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be - /// specified. + /// Required. Schema of columns. A maximum of 10,000 columns and sub-columns can be + /// specified. #[prost(message, repeated, tag="2")] pub columns: ::prost::alloc::vec::Vec, } -/// Representation of a column within a schema. Columns could be nested inside -/// other columns. +/// Representation of a column within a schema. Columns could be nested inside +/// other columns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnSchema { - /// Required. Name of the column. + /// Required. Name of the column. #[prost(string, tag="6")] pub column: ::prost::alloc::string::String, - /// Required. Type of the column. + /// Required. Type of the column. #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, - /// Optional. Description of the column. Default value is an empty string. + /// Optional. Description of the column. Default value is an empty string. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Optional. A column's mode indicates whether the values in this column are required, - /// nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. - /// Default mode is `NULLABLE`. + /// Optional. A column's mode indicates whether the values in this column are required, + /// nullable, etc. Only `NULLABLE`, `REQUIRED` and `REPEATED` are supported. + /// Default mode is `NULLABLE`. #[prost(string, tag="3")] pub mode: ::prost::alloc::string::String, - /// Optional. Schema of sub-columns. A column can have zero or more sub-columns. + /// Optional. Schema of sub-columns. A column can have zero or more sub-columns. #[prost(message, repeated, tag="7")] pub subcolumns: ::prost::alloc::vec::Vec, } -/// A result that appears in the response of a search request. Each result -/// captures details of one entry that matches the search. +/// A result that appears in the response of a search request. Each result +/// captures details of one entry that matches the search. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogResult { - /// Type of the search result. This field can be used to determine which Get - /// method to call to fetch the full resource. + /// Type of the search result. This field can be used to determine which Get + /// method to call to fetch the full resource. #[prost(enumeration="SearchResultType", tag="1")] pub search_result_type: i32, - /// Sub-type of the search result. This is a dot-delimited description of the - /// resource's full type, and is the same as the value callers would provide in - /// the "type" search facet. Examples: `entry.table`, `entry.dataStream`, - /// `tagTemplate`. + /// Sub-type of the search result. This is a dot-delimited description of the + /// resource's full type, and is the same as the value callers would provide in + /// the "type" search facet. Examples: `entry.table`, `entry.dataStream`, + /// `tagTemplate`. #[prost(string, tag="2")] pub search_result_subtype: ::prost::alloc::string::String, - /// The relative resource name of the resource in URL format. - /// Examples: + /// The relative resource name of the resource in URL format. + /// Examples: /// /// * `projects/{project_id}/locations/{location_id}/entryGroups/{entry_group_id}/entries/{entry_id}` /// * `projects/{project_id}/tagTemplates/{tag_template_id}` #[prost(string, tag="3")] pub relative_resource_name: ::prost::alloc::string::String, - /// The full name of the cloud resource the entry belongs to. See: - /// - /// Example: + /// The full name of the cloud resource the entry belongs to. See: + /// + /// Example: /// /// * `//bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId` #[prost(string, tag="4")] pub linked_resource: ::prost::alloc::string::String, } -/// The different types of resources that can be returned in search. +/// The different types of resources that can be returned in search. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SearchResultType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// An \[Entry][google.cloud.datacatalog.v1beta1.Entry\]. + /// An \[Entry][google.cloud.datacatalog.v1beta1.Entry\]. Entry = 1, - /// A \[TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate\]. + /// A \[TagTemplate][google.cloud.datacatalog.v1beta1.TagTemplate\]. TagTemplate = 2, - /// An \[EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup\]. + /// An \[EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup\]. EntryGroup = 3, } impl SearchResultType { @@ -174,77 +174,77 @@ impl SearchResultType { } } } -/// Describes a BigQuery table. +/// Describes a BigQuery table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryTableSpec { - /// Output only. The table source type. + /// Output only. The table source type. #[prost(enumeration="TableSourceType", tag="1")] pub table_source_type: i32, - /// Output only. + /// Output only. #[prost(oneof="big_query_table_spec::TypeSpec", tags="2, 3")] pub type_spec: ::core::option::Option, } /// Nested message and enum types in `BigQueryTableSpec`. pub mod big_query_table_spec { - /// Output only. + /// Output only. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeSpec { - /// Table view specification. This field should only be populated if - /// `table_source_type` is `BIGQUERY_VIEW`. + /// Table view specification. This field should only be populated if + /// `table_source_type` is `BIGQUERY_VIEW`. #[prost(message, tag="2")] ViewSpec(super::ViewSpec), - /// Spec of a BigQuery table. This field should only be populated if - /// `table_source_type` is `BIGQUERY_TABLE`. + /// Spec of a BigQuery table. This field should only be populated if + /// `table_source_type` is `BIGQUERY_TABLE`. #[prost(message, tag="3")] TableSpec(super::TableSpec), } } -/// Table view specification. +/// Table view specification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ViewSpec { - /// Output only. The query that defines the table view. + /// Output only. The query that defines the table view. #[prost(string, tag="1")] pub view_query: ::prost::alloc::string::String, } -/// Normal BigQuery table spec. +/// Normal BigQuery table spec. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TableSpec { - /// Output only. If the table is a dated shard, i.e., with name pattern `\[prefix\]YYYYMMDD`, - /// `grouped_entry` is the Data Catalog resource name of the date sharded - /// grouped entry, for example, - /// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. - /// Otherwise, `grouped_entry` is empty. + /// Output only. If the table is a dated shard, i.e., with name pattern `\[prefix\]YYYYMMDD`, + /// `grouped_entry` is the Data Catalog resource name of the date sharded + /// grouped entry, for example, + /// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. + /// Otherwise, `grouped_entry` is empty. #[prost(string, tag="1")] pub grouped_entry: ::prost::alloc::string::String, } -/// Spec for a group of BigQuery tables with name pattern `\[prefix\]YYYYMMDD`. -/// Context: -/// +/// Spec for a group of BigQuery tables with name pattern `\[prefix\]YYYYMMDD`. +/// Context: +/// #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDateShardedSpec { - /// Output only. The Data Catalog resource name of the dataset entry the current table - /// belongs to, for example, - /// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. + /// Output only. The Data Catalog resource name of the dataset entry the current table + /// belongs to, for example, + /// `projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}`. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. The table name prefix of the shards. The name of any given shard is - /// `\[table_prefix\]YYYYMMDD`, for example, for shard `MyTable20180101`, the - /// `table_prefix` is `MyTable`. + /// Output only. The table name prefix of the shards. The name of any given shard is + /// `\[table_prefix\]YYYYMMDD`, for example, for shard `MyTable20180101`, the + /// `table_prefix` is `MyTable`. #[prost(string, tag="2")] pub table_prefix: ::prost::alloc::string::String, - /// Output only. Total number of shards. + /// Output only. Total number of shards. #[prost(int64, tag="3")] pub shard_count: i64, } -/// Table source type. +/// Table source type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TableSourceType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// Table view. + /// Table view. BigqueryView = 2, - /// BigQuery native table. + /// BigQuery native table. BigqueryTable = 5, } impl TableSourceType { @@ -260,173 +260,173 @@ impl TableSourceType { } } } -/// Tags are used to attach custom metadata to Data Catalog resources. Tags -/// conform to the specifications within their tag template. +/// Tags are used to attach custom metadata to Data Catalog resources. Tags +/// conform to the specifications within their tag template. /// -/// See [Data Catalog -/// IAM]() for information -/// on the permissions needed to create or view tags. +/// See [Data Catalog +/// IAM]() for information +/// on the permissions needed to create or view tags. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Tag { - /// The resource name of the tag in URL format. Example: + /// The resource name of the tag in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} + /// * projects/{project_id}/locations/{location}/entrygroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} /// - /// where `tag_id` is a system-generated identifier. - /// Note that this Tag may not actually be stored in the location in this name. + /// where `tag_id` is a system-generated identifier. + /// Note that this Tag may not actually be stored in the location in this name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The resource name of the tag template that this tag uses. Example: + /// Required. The resource name of the tag template that this tag uses. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} /// - /// This field cannot be modified after creation. + /// This field cannot be modified after creation. #[prost(string, tag="2")] pub template: ::prost::alloc::string::String, - /// Output only. The display name of the tag template. + /// Output only. The display name of the tag template. #[prost(string, tag="5")] pub template_display_name: ::prost::alloc::string::String, - /// Required. This maps the ID of a tag field to the value of and additional information - /// about that field. Valid field IDs are defined by the tag's template. A tag - /// must have at least 1 field and at most 500 fields. + /// Required. This maps the ID of a tag field to the value of and additional information + /// about that field. Valid field IDs are defined by the tag's template. A tag + /// must have at least 1 field and at most 500 fields. #[prost(map="string, message", tag="3")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, TagField>, - /// The scope within the parent resource that this tag is attached to. If not - /// provided, the tag is attached to the parent resource itself. - /// Deleting the scope from the parent resource will delete all tags attached - /// to that scope. These fields cannot be updated after creation. + /// The scope within the parent resource that this tag is attached to. If not + /// provided, the tag is attached to the parent resource itself. + /// Deleting the scope from the parent resource will delete all tags attached + /// to that scope. These fields cannot be updated after creation. #[prost(oneof="tag::Scope", tags="4")] pub scope: ::core::option::Option, } /// Nested message and enum types in `Tag`. pub mod tag { - /// The scope within the parent resource that this tag is attached to. If not - /// provided, the tag is attached to the parent resource itself. - /// Deleting the scope from the parent resource will delete all tags attached - /// to that scope. These fields cannot be updated after creation. + /// The scope within the parent resource that this tag is attached to. If not + /// provided, the tag is attached to the parent resource itself. + /// Deleting the scope from the parent resource will delete all tags attached + /// to that scope. These fields cannot be updated after creation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Scope { - /// Resources like Entry can have schemas associated with them. This scope - /// allows users to attach tags to an individual column based on that schema. + /// Resources like Entry can have schemas associated with them. This scope + /// allows users to attach tags to an individual column based on that schema. /// - /// For attaching a tag to a nested column, use `.` to separate the column - /// names. Example: + /// For attaching a tag to a nested column, use `.` to separate the column + /// names. Example: /// - /// * `outer_column.inner_column` + /// * `outer_column.inner_column` #[prost(string, tag="4")] Column(::prost::alloc::string::String), } } -/// Contains the value and supporting information for a field within -/// a \[Tag][google.cloud.datacatalog.v1beta1.Tag\]. +/// Contains the value and supporting information for a field within +/// a \[Tag][google.cloud.datacatalog.v1beta1.Tag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagField { - /// Output only. The display name of this field. + /// Output only. The display name of this field. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Output only. The order of this field with respect to other fields in this tag. It can be - /// set in \[Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order\]. For - /// example, a higher value can indicate a more important field. The value can - /// be negative. Multiple fields can have the same order, and field orders - /// within a tag do not have to be sequential. + /// Output only. The order of this field with respect to other fields in this tag. It can be + /// set in \[Tag][google.cloud.datacatalog.v1beta1.TagTemplateField.order\]. For + /// example, a higher value can indicate a more important field. The value can + /// be negative. Multiple fields can have the same order, and field orders + /// within a tag do not have to be sequential. #[prost(int32, tag="7")] pub order: i32, - /// Required. The value of this field. + /// Required. The value of this field. #[prost(oneof="tag_field::Kind", tags="2, 3, 4, 5, 6")] pub kind: ::core::option::Option, } /// Nested message and enum types in `TagField`. pub mod tag_field { - /// Holds an enum value. + /// Holds an enum value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// The display name of the enum value. + /// The display name of the enum value. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, } - /// Required. The value of this field. + /// Required. The value of this field. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Holds the value for a tag field with double type. + /// Holds the value for a tag field with double type. #[prost(double, tag="2")] DoubleValue(f64), - /// Holds the value for a tag field with string type. + /// Holds the value for a tag field with string type. #[prost(string, tag="3")] StringValue(::prost::alloc::string::String), - /// Holds the value for a tag field with boolean type. + /// Holds the value for a tag field with boolean type. #[prost(bool, tag="4")] BoolValue(bool), - /// Holds the value for a tag field with timestamp type. + /// Holds the value for a tag field with timestamp type. #[prost(message, tag="5")] TimestampValue(::prost_types::Timestamp), - /// Holds the value for a tag field with enum type. This value must be - /// one of the allowed values in the definition of this enum. + /// Holds the value for a tag field with enum type. This value must be + /// one of the allowed values in the definition of this enum. #[prost(message, tag="6")] EnumValue(EnumValue), } } -/// A tag template defines a tag, which can have one or more typed fields. -/// The template is used to create and attach the tag to GCP resources. -/// [Tag template -/// roles]() -/// provide permissions to create, edit, and use the template. See, for example, -/// the [TagTemplate -/// User]() role, -/// which includes permission to use the tag template to tag resources. +/// A tag template defines a tag, which can have one or more typed fields. +/// The template is used to create and attach the tag to GCP resources. +/// [Tag template +/// roles]() +/// provide permissions to create, edit, and use the template. See, for example, +/// the [TagTemplate +/// User]() role, +/// which includes permission to use the tag template to tag resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagTemplate { - /// The resource name of the tag template in URL format. Example: + /// The resource name of the tag template in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} /// - /// Note that this TagTemplate and its child resources may not actually be - /// stored in the location in this name. + /// Note that this TagTemplate and its child resources may not actually be + /// stored in the location in this name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The display name for this template. Defaults to an empty string. + /// The display name for this template. Defaults to an empty string. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Map of tag template field IDs to the settings for the field. - /// This map is an exhaustive list of the allowed fields. This map must contain - /// at least one field and at most 500 fields. + /// Required. Map of tag template field IDs to the settings for the field. + /// This map is an exhaustive list of the allowed fields. This map must contain + /// at least one field and at most 500 fields. /// - /// The keys to this map are tag template field IDs. Field IDs can contain - /// letters (both uppercase and lowercase), numbers (0-9) and underscores (_). - /// Field IDs must be at least 1 character long and at most - /// 64 characters long. Field IDs must start with a letter or underscore. + /// The keys to this map are tag template field IDs. Field IDs can contain + /// letters (both uppercase and lowercase), numbers (0-9) and underscores (_). + /// Field IDs must be at least 1 character long and at most + /// 64 characters long. Field IDs must start with a letter or underscore. #[prost(map="string, message", tag="3")] pub fields: ::std::collections::HashMap<::prost::alloc::string::String, TagTemplateField>, } -/// The template for an individual field within a tag template. +/// The template for an individual field within a tag template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TagTemplateField { - /// Output only. The resource name of the tag template field in URL format. Example: + /// Output only. The resource name of the tag template field in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template}/fields/{field} /// - /// Note that this TagTemplateField may not actually be stored in the location - /// in this name. + /// Note that this TagTemplateField may not actually be stored in the location + /// in this name. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// The display name for this field. Defaults to an empty string. + /// The display name for this field. Defaults to an empty string. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Required. The type of value this tag field can contain. + /// Required. The type of value this tag field can contain. #[prost(message, optional, tag="2")] pub r#type: ::core::option::Option, - /// Whether this is a required field. Defaults to false. + /// Whether this is a required field. Defaults to false. #[prost(bool, tag="3")] pub is_required: bool, - /// The order of this field with respect to other fields in this tag - /// template. A higher value indicates a more important field. The value can - /// be negative. Multiple fields can have the same order, and field orders - /// within a tag do not have to be sequential. + /// The order of this field with respect to other fields in this tag + /// template. A higher value indicates a more important field. The value can + /// be negative. Multiple fields can have the same order, and field orders + /// within a tag do not have to be sequential. #[prost(int32, tag="5")] pub order: i32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct FieldType { - /// Required. + /// Required. #[prost(oneof="field_type::TypeDecl", tags="1, 2")] pub type_decl: ::core::option::Option, } @@ -434,12 +434,12 @@ pub struct FieldType { pub mod field_type { #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumType { - /// Required on create; optional on update. The set of allowed values for - /// this enum. This set must not be empty, the display names of the values in - /// this set must not be empty and the display names of the values must be - /// case-insensitively unique within this set. Currently, enum values can - /// only be added to the list of allowed values. Deletion and renaming of - /// enum values are not supported. Can have up to 500 allowed values. + /// Required on create; optional on update. The set of allowed values for + /// this enum. This set must not be empty, the display names of the values in + /// this set must not be empty and the display names of the values must be + /// case-insensitively unique within this set. Currently, enum values can + /// only be added to the list of allowed values. Deletion and renaming of + /// enum values are not supported. Can have up to 500 allowed values. #[prost(message, repeated, tag="1")] pub allowed_values: ::prost::alloc::vec::Vec, } @@ -447,7 +447,7 @@ pub mod field_type { pub mod enum_type { #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnumValue { - /// Required. The display name of the enum value. Must not be an empty string. + /// Required. The display name of the enum value. Must not be an empty string. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, } @@ -455,15 +455,15 @@ pub mod field_type { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrimitiveType { - /// This is the default invalid value for a type. + /// This is the default invalid value for a type. Unspecified = 0, - /// A double precision number. + /// A double precision number. Double = 1, - /// An UTF-8 string. + /// An UTF-8 string. String = 2, - /// A boolean value. + /// A boolean value. Bool = 3, - /// A timestamp. + /// A timestamp. Timestamp = 4, } impl PrimitiveType { @@ -481,225 +481,225 @@ pub mod field_type { } } } - /// Required. + /// Required. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeDecl { - /// Represents primitive types - string, bool etc. + /// Represents primitive types - string, bool etc. #[prost(enumeration="PrimitiveType", tag="1")] PrimitiveType(i32), - /// Represents an enum type. + /// Represents an enum type. #[prost(message, tag="2")] EnumType(EnumType), } } -/// Request message for -/// \[SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\]. +/// Request message for +/// \[SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogRequest { - /// Required. The scope of this search request. A `scope` that has empty - /// `include_org_ids`, `include_project_ids` AND false - /// `include_gcp_public_datasets` is considered invalid. Data Catalog will - /// return an error in such a case. + /// Required. The scope of this search request. A `scope` that has empty + /// `include_org_ids`, `include_project_ids` AND false + /// `include_gcp_public_datasets` is considered invalid. Data Catalog will + /// return an error in such a case. #[prost(message, optional, tag="6")] pub scope: ::core::option::Option, - /// Required. The query string in search query syntax. The query must be non-empty. + /// Required. The query string in search query syntax. The query must be non-empty. /// - /// Query strings can be simple as "x" or more qualified as: + /// Query strings can be simple as "x" or more qualified as: /// - /// * name:x - /// * column:x - /// * description:y + /// * name:x + /// * column:x + /// * description:y /// - /// Note: Query tokens need to have a minimum of 3 characters for substring - /// matching to work correctly. See [Data Catalog Search - /// Syntax]() - /// for more information. + /// Note: Query tokens need to have a minimum of 3 characters for substring + /// matching to work correctly. See [Data Catalog Search + /// Syntax]() + /// for more information. #[prost(string, tag="1")] pub query: ::prost::alloc::string::String, - /// Number of results in the search page. If <=0 then defaults to 10. Max limit - /// for page_size is 1000. Throws an invalid argument for page_size > 1000. + /// Number of results in the search page. If <=0 then defaults to 10. Max limit + /// for page_size is 1000. Throws an invalid argument for page_size > 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Pagination token returned in an earlier - /// \[SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token\], which - /// indicates that this is a continuation of a prior - /// \[SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\] - /// call, and that the system should return the next page of data. If empty, - /// the first page is returned. + /// Optional. Pagination token returned in an earlier + /// \[SearchCatalogResponse.next_page_token][google.cloud.datacatalog.v1beta1.SearchCatalogResponse.next_page_token\], which + /// indicates that this is a continuation of a prior + /// \[SearchCatalogRequest][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\] + /// call, and that the system should return the next page of data. If empty, + /// the first page is returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Specifies the ordering of results, currently supported case-sensitive - /// choices are: + /// Specifies the ordering of results, currently supported case-sensitive + /// choices are: /// /// * `relevance`, only supports descending /// * `last_modified_timestamp \[asc|desc\]`, defaults to descending if not /// specified /// - /// If not specified, defaults to `relevance` descending. + /// If not specified, defaults to `relevance` descending. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } /// Nested message and enum types in `SearchCatalogRequest`. pub mod search_catalog_request { - /// The criteria that select the subspace used for query matching. + /// The criteria that select the subspace used for query matching. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Scope { - /// The list of organization IDs to search within. To find your organization - /// ID, follow instructions in - /// + /// The list of organization IDs to search within. To find your organization + /// ID, follow instructions in + /// #[prost(string, repeated, tag="2")] pub include_org_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The list of project IDs to search within. To learn more about the - /// distinction between project names/IDs/numbers, go to - /// + /// The list of project IDs to search within. To learn more about the + /// distinction between project names/IDs/numbers, go to + /// #[prost(string, repeated, tag="3")] pub include_project_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// If `true`, include Google Cloud Platform (GCP) public datasets in the - /// search results. Info on GCP public datasets is available at - /// By default, GCP public - /// datasets are excluded. + /// If `true`, include Google Cloud Platform (GCP) public datasets in the + /// search results. Info on GCP public datasets is available at + /// By default, GCP public + /// datasets are excluded. #[prost(bool, tag="7")] pub include_gcp_public_datasets: bool, } } -/// Response message for -/// \[SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\]. +/// Response message for +/// \[SearchCatalog][google.cloud.datacatalog.v1beta1.DataCatalog.SearchCatalog\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchCatalogResponse { - /// Search results. + /// Search results. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, - /// The token that can be used to retrieve the next page of results. + /// The token that can be used to retrieve the next page of results. #[prost(string, tag="3")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup\]. +/// Request message for +/// \[CreateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntryGroupRequest { - /// Required. The name of the project this entry group is in. Example: + /// Required. The name of the project this entry group is in. Example: /// - /// * projects/{project_id}/locations/{location} + /// * projects/{project_id}/locations/{location} /// - /// Note that this EntryGroup and its child resources may not actually be - /// stored in the location in this name. + /// Note that this EntryGroup and its child resources may not actually be + /// stored in the location in this name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The id of the entry group to create. - /// The id must begin with a letter or underscore, contain only English - /// letters, numbers and underscores, and be at most 64 characters. + /// Required. The id of the entry group to create. + /// The id must begin with a letter or underscore, contain only English + /// letters, numbers and underscores, and be at most 64 characters. #[prost(string, tag="3")] pub entry_group_id: ::prost::alloc::string::String, - /// The entry group to create. Defaults to an empty entry group. + /// The entry group to create. Defaults to an empty entry group. #[prost(message, optional, tag="2")] pub entry_group: ::core::option::Option, } -/// Request message for -/// \[UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup\]. +/// Request message for +/// \[UpdateEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntryGroupRequest { - /// Required. The updated entry group. "name" field must be set. + /// Required. The updated entry group. "name" field must be set. #[prost(message, optional, tag="1")] pub entry_group: ::core::option::Option, - /// The fields to update on the entry group. If absent or empty, all modifiable - /// fields are updated. + /// The fields to update on the entry group. If absent or empty, all modifiable + /// fields are updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup\]. +/// Request message for +/// \[GetEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntryGroupRequest { - /// Required. The name of the entry group. For example, - /// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + /// Required. The name of the entry group. For example, + /// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The fields to return. If not set or empty, all fields are returned. + /// The fields to return. If not set or empty, all fields are returned. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup\]. +/// Request message for +/// \[DeleteEntryGroup][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntryGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntryGroupRequest { - /// Required. The name of the entry group. For example, - /// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. + /// Required. The name of the entry group. For example, + /// `projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. If true, deletes all entries in the entry group. + /// Optional. If true, deletes all entries in the entry group. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups\]. +/// Request message for +/// \[ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntryGroupsRequest { - /// Required. The name of the location that contains the entry groups, which can be - /// provided in URL format. Example: + /// Required. The name of the location that contains the entry groups, which can be + /// provided in URL format. Example: /// - /// * projects/{project_id}/locations/{location} + /// * projects/{project_id}/locations/{location} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of items to return. Default is 10. Max limit is 1000. - /// Throws an invalid argument for `page_size > 1000`. + /// Optional. The maximum number of items to return. Default is 10. Max limit is 1000. + /// Throws an invalid argument for `page_size > 1000`. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Token that specifies which page is requested. If empty, the first page is - /// returned. + /// Optional. Token that specifies which page is requested. If empty, the first page is + /// returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups\]. +/// Response message for +/// \[ListEntryGroups][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntryGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntryGroupsResponse { - /// EntryGroup details. + /// EntryGroup details. #[prost(message, repeated, tag="1")] pub entry_groups: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results. It is set to empty if no items - /// remain in results. + /// Token to retrieve the next page of results. It is set to empty if no items + /// remain in results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry\]. +/// Request message for +/// \[CreateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.CreateEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntryRequest { - /// Required. The name of the entry group this entry is in. Example: + /// Required. The name of the entry group this entry is in. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} /// - /// Note that this Entry and its child resources may not actually be stored in - /// the location in this name. + /// Note that this Entry and its child resources may not actually be stored in + /// the location in this name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The id of the entry to create. + /// Required. The id of the entry to create. #[prost(string, tag="3")] pub entry_id: ::prost::alloc::string::String, - /// Required. The entry to create. + /// Required. The entry to create. #[prost(message, optional, tag="2")] pub entry: ::core::option::Option, } -/// Request message for -/// \[UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry\]. +/// Request message for +/// \[UpdateEntry][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntryRequest { - /// Required. The updated entry. The "name" field must be set. + /// Required. The updated entry. The "name" field must be set. #[prost(message, optional, tag="1")] pub entry: ::core::option::Option, - /// The fields to update on the entry. If absent or empty, all modifiable - /// fields are updated. + /// The fields to update on the entry. If absent or empty, all modifiable + /// fields are updated. /// - /// The following fields are modifiable: - /// * For entries with type `DATA_STREAM`: + /// The following fields are modifiable: + /// * For entries with type `DATA_STREAM`: /// * `schema` - /// * For entries with type `FILESET` + /// * For entries with type `FILESET` /// * `schema` /// * `display_name` /// * `description` /// * `gcs_fileset_spec` /// * `gcs_fileset_spec.file_patterns` - /// * For entries with `user_specified_type` + /// * For entries with `user_specified_type` /// * `schema` /// * `display_name` /// * `description` @@ -710,55 +710,55 @@ pub struct UpdateEntryRequest { #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry\]. +/// Request message for +/// \[DeleteEntry][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntryRequest { - /// Required. The name of the entry. Example: + /// Required. The name of the entry. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry\]. +/// Request message for +/// \[GetEntry][google.cloud.datacatalog.v1beta1.DataCatalog.GetEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntryRequest { - /// Required. The name of the entry. Example: + /// Required. The name of the entry. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry\]. +/// Request message for +/// \[LookupEntry][google.cloud.datacatalog.v1beta1.DataCatalog.LookupEntry\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupEntryRequest { - /// Required. Represents either the Google Cloud Platform resource or SQL name - /// for a Google Cloud Platform resource. + /// Required. Represents either the Google Cloud Platform resource or SQL name + /// for a Google Cloud Platform resource. #[prost(oneof="lookup_entry_request::TargetName", tags="1, 3")] pub target_name: ::core::option::Option, } /// Nested message and enum types in `LookupEntryRequest`. pub mod lookup_entry_request { - /// Required. Represents either the Google Cloud Platform resource or SQL name - /// for a Google Cloud Platform resource. + /// Required. Represents either the Google Cloud Platform resource or SQL name + /// for a Google Cloud Platform resource. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TargetName { - /// The full name of the Google Cloud Platform resource the Data Catalog - /// entry represents. See: - /// - /// Full names are case-sensitive. + /// The full name of the Google Cloud Platform resource the Data Catalog + /// entry represents. See: + /// + /// Full names are case-sensitive. /// - /// Examples: + /// Examples: /// /// * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId /// * //pubsub.googleapis.com/projects/projectId/topics/topicId #[prost(string, tag="1")] LinkedResource(::prost::alloc::string::String), - /// The SQL name of the entry. SQL names are case-sensitive. + /// The SQL name of the entry. SQL names are case-sensitive. /// - /// Examples: + /// Examples: /// /// * `pubsub.project_id.topic_id` /// * ``pubsub.project_id.`topic.id.with.dots` `` @@ -766,425 +766,425 @@ pub mod lookup_entry_request { /// * `bigquery.dataset.project_id.dataset_id` /// * `datacatalog.entry.project_id.location_id.entry_group_id.entry_id` /// - /// `*_id`s shoud satisfy the standard SQL rules for identifiers. - /// + /// `*_id`s shoud satisfy the standard SQL rules for identifiers. + /// #[prost(string, tag="3")] SqlResource(::prost::alloc::string::String), } } -/// Entry Metadata. -/// A Data Catalog Entry resource represents another resource in Google -/// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or -/// outside of Google Cloud Platform. Clients can use the `linked_resource` field -/// in the Entry resource to refer to the original resource ID of the source -/// system. +/// Entry Metadata. +/// A Data Catalog Entry resource represents another resource in Google +/// Cloud Platform (such as a BigQuery dataset or a Pub/Sub topic), or +/// outside of Google Cloud Platform. Clients can use the `linked_resource` field +/// in the Entry resource to refer to the original resource ID of the source +/// system. /// -/// An Entry resource contains resource details, such as its schema. An Entry can -/// also be used to attach flexible metadata, such as a -/// \[Tag][google.cloud.datacatalog.v1beta1.Tag\]. +/// An Entry resource contains resource details, such as its schema. An Entry can +/// also be used to attach flexible metadata, such as a +/// \[Tag][google.cloud.datacatalog.v1beta1.Tag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entry { - /// The Data Catalog resource name of the entry in URL format. Example: + /// The Data Catalog resource name of the entry in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} /// - /// Note that this Entry and its child resources may not actually be stored in - /// the location in this name. + /// Note that this Entry and its child resources may not actually be stored in + /// the location in this name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The resource this metadata entry refers to. + /// The resource this metadata entry refers to. /// - /// For Google Cloud Platform resources, `linked_resource` is the [full name of - /// the - /// resource](). - /// For example, the `linked_resource` for a table resource from BigQuery is: + /// For Google Cloud Platform resources, `linked_resource` is the [full name of + /// the + /// resource](). + /// For example, the `linked_resource` for a table resource from BigQuery is: /// - /// * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId + /// * //bigquery.googleapis.com/projects/projectId/datasets/datasetId/tables/tableId /// - /// Output only when Entry is of type in the EntryType enum. For entries with - /// user_specified_type, this field is optional and defaults to an empty - /// string. + /// Output only when Entry is of type in the EntryType enum. For entries with + /// user_specified_type, this field is optional and defaults to an empty + /// string. #[prost(string, tag="9")] pub linked_resource: ::prost::alloc::string::String, - /// Display information such as title and description. A short name to identify - /// the entry, for example, "Analytics Data - Jan 2011". Default value is an - /// empty string. + /// Display information such as title and description. A short name to identify + /// the entry, for example, "Analytics Data - Jan 2011". Default value is an + /// empty string. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Entry description, which can consist of several sentences or paragraphs - /// that describe entry contents. Default value is an empty string. + /// Entry description, which can consist of several sentences or paragraphs + /// that describe entry contents. Default value is an empty string. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Schema of the entry. An entry might not have any schema attached to it. + /// Schema of the entry. An entry might not have any schema attached to it. #[prost(message, optional, tag="5")] pub schema: ::core::option::Option, - /// Output only. Timestamps about the underlying resource, not about this Data Catalog - /// entry. Output only when Entry is of type in the EntryType enum. For entries - /// with user_specified_type, this field is optional and defaults to an empty - /// timestamp. + /// Output only. Timestamps about the underlying resource, not about this Data Catalog + /// entry. Output only when Entry is of type in the EntryType enum. For entries + /// with user_specified_type, this field is optional and defaults to an empty + /// timestamp. #[prost(message, optional, tag="7")] pub source_system_timestamps: ::core::option::Option, - /// Required. Entry type. + /// Required. Entry type. #[prost(oneof="entry::EntryType", tags="2, 16")] pub entry_type: ::core::option::Option, - /// The source system of the entry. + /// The source system of the entry. #[prost(oneof="entry::System", tags="17, 18")] pub system: ::core::option::Option, - /// Type specification information. + /// Type specification information. #[prost(oneof="entry::TypeSpec", tags="6, 12, 15")] pub type_spec: ::core::option::Option, } /// Nested message and enum types in `Entry`. pub mod entry { - /// Required. Entry type. + /// Required. Entry type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum EntryType { - /// The type of the entry. - /// Only used for Entries with types in the EntryType enum. + /// The type of the entry. + /// Only used for Entries with types in the EntryType enum. #[prost(enumeration="super::EntryType", tag="2")] Type(i32), - /// Entry type if it does not fit any of the input-allowed values listed in - /// `EntryType` enum above. When creating an entry, users should check the - /// enum values first, if nothing matches the entry to be created, then - /// provide a custom value, for example "my_special_type". - /// `user_specified_type` strings must begin with a letter or underscore and - /// can only contain letters, numbers, and underscores; are case insensitive; - /// must be at least 1 character and at most 64 characters long. + /// Entry type if it does not fit any of the input-allowed values listed in + /// `EntryType` enum above. When creating an entry, users should check the + /// enum values first, if nothing matches the entry to be created, then + /// provide a custom value, for example "my_special_type". + /// `user_specified_type` strings must begin with a letter or underscore and + /// can only contain letters, numbers, and underscores; are case insensitive; + /// must be at least 1 character and at most 64 characters long. /// - /// Currently, only FILESET enum value is allowed. All other entries created - /// through Data Catalog must use `user_specified_type`. + /// Currently, only FILESET enum value is allowed. All other entries created + /// through Data Catalog must use `user_specified_type`. #[prost(string, tag="16")] UserSpecifiedType(::prost::alloc::string::String), } - /// The source system of the entry. + /// The source system of the entry. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum System { - /// Output only. This field indicates the entry's source system that Data Catalog - /// integrates with, such as BigQuery or Pub/Sub. + /// Output only. This field indicates the entry's source system that Data Catalog + /// integrates with, such as BigQuery or Pub/Sub. #[prost(enumeration="super::IntegratedSystem", tag="17")] IntegratedSystem(i32), - /// This field indicates the entry's source system that Data Catalog does not - /// integrate with. `user_specified_system` strings must begin with a letter - /// or underscore and can only contain letters, numbers, and underscores; are - /// case insensitive; must be at least 1 character and at most 64 characters - /// long. + /// This field indicates the entry's source system that Data Catalog does not + /// integrate with. `user_specified_system` strings must begin with a letter + /// or underscore and can only contain letters, numbers, and underscores; are + /// case insensitive; must be at least 1 character and at most 64 characters + /// long. #[prost(string, tag="18")] UserSpecifiedSystem(::prost::alloc::string::String), } - /// Type specification information. + /// Type specification information. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeSpec { - /// Specification that applies to a Cloud Storage fileset. This is only valid - /// on entries of type FILESET. + /// Specification that applies to a Cloud Storage fileset. This is only valid + /// on entries of type FILESET. #[prost(message, tag="6")] GcsFilesetSpec(super::GcsFilesetSpec), - /// Specification that applies to a BigQuery table. This is only valid on - /// entries of type `TABLE`. + /// Specification that applies to a BigQuery table. This is only valid on + /// entries of type `TABLE`. #[prost(message, tag="12")] BigqueryTableSpec(super::BigQueryTableSpec), - /// Specification for a group of BigQuery tables with name pattern - /// `\[prefix\]YYYYMMDD`. Context: - /// + /// Specification for a group of BigQuery tables with name pattern + /// `\[prefix\]YYYYMMDD`. Context: + /// #[prost(message, tag="15")] BigqueryDateShardedSpec(super::BigQueryDateShardedSpec), } } -/// EntryGroup Metadata. -/// An EntryGroup resource represents a logical grouping of zero or more -/// Data Catalog \[Entry][google.cloud.datacatalog.v1beta1.Entry\] resources. +/// EntryGroup Metadata. +/// An EntryGroup resource represents a logical grouping of zero or more +/// Data Catalog \[Entry][google.cloud.datacatalog.v1beta1.Entry\] resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntryGroup { - /// The resource name of the entry group in URL format. Example: + /// The resource name of the entry group in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} /// - /// Note that this EntryGroup and its child resources may not actually be - /// stored in the location in this name. + /// Note that this EntryGroup and its child resources may not actually be + /// stored in the location in this name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A short name to identify the entry group, for example, - /// "analytics data - jan 2011". Default value is an empty string. + /// A short name to identify the entry group, for example, + /// "analytics data - jan 2011". Default value is an empty string. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Entry group description, which can consist of several sentences or - /// paragraphs that describe entry group contents. Default value is an empty - /// string. + /// Entry group description, which can consist of several sentences or + /// paragraphs that describe entry group contents. Default value is an empty + /// string. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Timestamps about this EntryGroup. Default value is empty timestamps. + /// Output only. Timestamps about this EntryGroup. Default value is empty timestamps. #[prost(message, optional, tag="4")] pub data_catalog_timestamps: ::core::option::Option, } -/// Request message for -/// \[CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate\]. +/// Request message for +/// \[CreateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagTemplateRequest { - /// Required. The name of the project and the template location - /// \[region\]( + /// Required. The name of the project and the template location + /// \[region\]( /// - /// Example: + /// Example: /// - /// * projects/{project_id}/locations/us-central1 + /// * projects/{project_id}/locations/us-central1 #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The id of the tag template to create. + /// Required. The id of the tag template to create. #[prost(string, tag="3")] pub tag_template_id: ::prost::alloc::string::String, - /// Required. The tag template to create. + /// Required. The tag template to create. #[prost(message, optional, tag="2")] pub tag_template: ::core::option::Option, } -/// Request message for -/// \[GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate\]. +/// Request message for +/// \[GetTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.GetTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTagTemplateRequest { - /// Required. The name of the tag template. Example: + /// Required. The name of the tag template. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate\]. +/// Request message for +/// \[UpdateTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagTemplateRequest { - /// Required. The template to update. The "name" field must be set. + /// Required. The template to update. The "name" field must be set. #[prost(message, optional, tag="1")] pub tag_template: ::core::option::Option, - /// The field mask specifies the parts of the template to overwrite. + /// The field mask specifies the parts of the template to overwrite. /// - /// Allowed fields: + /// Allowed fields: /// /// * `display_name` /// - /// If absent or empty, all of the allowed fields above will be updated. + /// If absent or empty, all of the allowed fields above will be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate\]. +/// Request message for +/// \[DeleteTagTemplate][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplate\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagTemplateRequest { - /// Required. The name of the tag template to delete. Example: + /// Required. The name of the tag template to delete. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Currently, this field must always be set to `true`. - /// This confirms the deletion of any possible tags using this template. - /// `force = false` will be supported in the future. + /// Required. Currently, this field must always be set to `true`. + /// This confirms the deletion of any possible tags using this template. + /// `force = false` will be supported in the future. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag\]. +/// Request message for +/// \[CreateTag][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagRequest { - /// Required. The name of the resource to attach this tag to. Tags can be attached to - /// Entries. Example: + /// Required. The name of the resource to attach this tag to. Tags can be attached to + /// Entries. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} /// - /// Note that this Tag and its child resources may not actually be stored in - /// the location in this name. + /// Note that this Tag and its child resources may not actually be stored in + /// the location in this name. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The tag to create. + /// Required. The tag to create. #[prost(message, optional, tag="2")] pub tag: ::core::option::Option, } -/// Request message for -/// \[UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag\]. +/// Request message for +/// \[UpdateTag][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagRequest { - /// Required. The updated tag. The "name" field must be set. + /// Required. The updated tag. The "name" field must be set. #[prost(message, optional, tag="1")] pub tag: ::core::option::Option, - /// The fields to update on the Tag. If absent or empty, all modifiable fields - /// are updated. Currently the only modifiable field is the field `fields`. + /// The fields to update on the Tag. If absent or empty, all modifiable fields + /// are updated. Currently the only modifiable field is the field `fields`. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag\]. +/// Request message for +/// \[DeleteTag][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagRequest { - /// Required. The name of the tag to delete. Example: + /// Required. The name of the tag to delete. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id}/tags/{tag_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField\]. +/// Request message for +/// \[CreateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.CreateTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTagTemplateFieldRequest { - /// Required. The name of the project and the template location - /// \[region\](). + /// Required. The name of the project and the template location + /// \[region\](). /// - /// Example: + /// Example: /// - /// * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id} + /// * projects/{project_id}/locations/us-central1/tagTemplates/{tag_template_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The ID of the tag template field to create. - /// Field ids can contain letters (both uppercase and lowercase), numbers - /// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 - /// character long and at most 128 characters long. Field IDs must also be - /// unique within their template. + /// Required. The ID of the tag template field to create. + /// Field ids can contain letters (both uppercase and lowercase), numbers + /// (0-9), underscores (_) and dashes (-). Field IDs must be at least 1 + /// character long and at most 128 characters long. Field IDs must also be + /// unique within their template. #[prost(string, tag="2")] pub tag_template_field_id: ::prost::alloc::string::String, - /// Required. The tag template field to create. + /// Required. The tag template field to create. #[prost(message, optional, tag="3")] pub tag_template_field: ::core::option::Option, } -/// Request message for -/// \[UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField\]. +/// Request message for +/// \[UpdateTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.UpdateTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTagTemplateFieldRequest { - /// Required. The name of the tag template field. Example: + /// Required. The name of the tag template field. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The template to update. + /// Required. The template to update. #[prost(message, optional, tag="2")] pub tag_template_field: ::core::option::Option, - /// Optional. The field mask specifies the parts of the template to be updated. - /// Allowed fields: + /// Optional. The field mask specifies the parts of the template to be updated. + /// Allowed fields: /// /// * `display_name` /// * `type.enum_type` /// * `is_required` /// - /// If `update_mask` is not set or empty, all of the allowed fields above will - /// be updated. + /// If `update_mask` is not set or empty, all of the allowed fields above will + /// be updated. /// - /// When updating an enum type, the provided values will be merged with the - /// existing values. Therefore, enum values can only be added, existing enum - /// values cannot be deleted nor renamed. Updating a template field from - /// optional to required is NOT allowed. + /// When updating an enum type, the provided values will be merged with the + /// existing values. Therefore, enum values can only be added, existing enum + /// values cannot be deleted nor renamed. Updating a template field from + /// optional to required is NOT allowed. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField\]. +/// Request message for +/// \[RenameTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.RenameTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RenameTagTemplateFieldRequest { - /// Required. The name of the tag template. Example: + /// Required. The name of the tag template. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The new ID of this tag template field. For example, `my_new_field`. + /// Required. The new ID of this tag template field. For example, `my_new_field`. #[prost(string, tag="2")] pub new_tag_template_field_id: ::prost::alloc::string::String, } -/// Request message for -/// \[DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField\]. +/// Request message for +/// \[DeleteTagTemplateField][google.cloud.datacatalog.v1beta1.DataCatalog.DeleteTagTemplateField\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTagTemplateFieldRequest { - /// Required. The name of the tag template field to delete. Example: + /// Required. The name of the tag template field to delete. Example: /// - /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} + /// * projects/{project_id}/locations/{location}/tagTemplates/{tag_template_id}/fields/{tag_template_field_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Currently, this field must always be set to `true`. - /// This confirms the deletion of this field from any tags using this field. - /// `force = false` will be supported in the future. + /// Required. Currently, this field must always be set to `true`. + /// This confirms the deletion of this field from any tags using this field. + /// `force = false` will be supported in the future. #[prost(bool, tag="2")] pub force: bool, } -/// Request message for -/// \[ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags\]. +/// Request message for +/// \[ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTagsRequest { - /// Required. The name of the Data Catalog resource to list the tags of. The resource - /// could be an \[Entry][google.cloud.datacatalog.v1beta1.Entry\] or an - /// \[EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup\]. + /// Required. The name of the Data Catalog resource to list the tags of. The resource + /// could be an \[Entry][google.cloud.datacatalog.v1beta1.Entry\] or an + /// \[EntryGroup][google.cloud.datacatalog.v1beta1.EntryGroup\]. /// - /// Examples: + /// Examples: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id}/entries/{entry_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of tags to return. Default is 10. Max limit is 1000. + /// The maximum number of tags to return. Default is 10. Max limit is 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Token that specifies which page is requested. If empty, the first page is - /// returned. + /// Token that specifies which page is requested. If empty, the first page is + /// returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags\]. +/// Response message for +/// \[ListTags][google.cloud.datacatalog.v1beta1.DataCatalog.ListTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTagsResponse { - /// \[Tag][google.cloud.datacatalog.v1beta1.Tag\] details. + /// \[Tag][google.cloud.datacatalog.v1beta1.Tag\] details. #[prost(message, repeated, tag="1")] pub tags: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results. It is set to empty if no items - /// remain in results. + /// Token to retrieve the next page of results. It is set to empty if no items + /// remain in results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries\]. +/// Request message for +/// \[ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntriesRequest { - /// Required. The name of the entry group that contains the entries, which can - /// be provided in URL format. Example: + /// Required. The name of the entry group that contains the entries, which can + /// be provided in URL format. Example: /// - /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} + /// * projects/{project_id}/locations/{location}/entryGroups/{entry_group_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Default is 10. Max limit is 1000. - /// Throws an invalid argument for `page_size > 1000`. + /// The maximum number of items to return. Default is 10. Max limit is 1000. + /// Throws an invalid argument for `page_size > 1000`. #[prost(int32, tag="2")] pub page_size: i32, - /// Token that specifies which page is requested. If empty, the first page is - /// returned. + /// Token that specifies which page is requested. If empty, the first page is + /// returned. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The fields to return for each Entry. If not set or empty, all - /// fields are returned. - /// For example, setting read_mask to contain only one path "name" will cause - /// ListEntries to return a list of Entries with only "name" field. + /// The fields to return for each Entry. If not set or empty, all + /// fields are returned. + /// For example, setting read_mask to contain only one path "name" will cause + /// ListEntries to return a list of Entries with only "name" field. #[prost(message, optional, tag="4")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Response message for -/// \[ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries\]. +/// Response message for +/// \[ListEntries][google.cloud.datacatalog.v1beta1.DataCatalog.ListEntries\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntriesResponse { - /// Entry details. + /// Entry details. #[prost(message, repeated, tag="1")] pub entries: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results. It is set to empty if no items - /// remain in results. + /// Token to retrieve the next page of results. It is set to empty if no items + /// remain in results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Entry resources in Data Catalog can be of different types e.g. a BigQuery -/// Table entry is of type `TABLE`. This enum describes all the possible types -/// Data Catalog contains. +/// Entry resources in Data Catalog can be of different types e.g. a BigQuery +/// Table entry is of type `TABLE`. This enum describes all the possible types +/// Data Catalog contains. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntryType { - /// Default unknown type. + /// Default unknown type. Unspecified = 0, - /// Output only. The type of entry that has a GoogleSQL schema, including - /// logical views. + /// Output only. The type of entry that has a GoogleSQL schema, including + /// logical views. Table = 2, - /// Output only. The type of models. - /// + /// Output only. The type of models. + /// Model = 5, - /// Output only. An entry type which is used for streaming entries. Example: - /// Pub/Sub topic. + /// Output only. An entry type which is used for streaming entries. Example: + /// Pub/Sub topic. DataStream = 3, - /// An entry type which is a set of files or objects. Example: - /// Cloud Storage fileset. + /// An entry type which is a set of files or objects. Example: + /// Cloud Storage fileset. Fileset = 4, } impl EntryType { @@ -1957,42 +1957,42 @@ pub mod data_catalog_client { } } } -/// A taxonomy is a collection of policy tags that classify data along a common -/// axis. For instance a data *sensitivity* taxonomy could contain policy tags -/// denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could -/// contain policy tags to distinguish user data, employee data, partner data, -/// public data. +/// A taxonomy is a collection of policy tags that classify data along a common +/// axis. For instance a data *sensitivity* taxonomy could contain policy tags +/// denoting PII such as age, zipcode, and SSN. A data *origin* taxonomy could +/// contain policy tags to distinguish user data, employee data, partner data, +/// public data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Taxonomy { - /// Output only. Resource name of this taxonomy, whose format is: - /// "projects/{project_number}/locations/{location_id}/taxonomies/{id}". + /// Output only. Resource name of this taxonomy, whose format is: + /// "projects/{project_number}/locations/{location_id}/taxonomies/{id}". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. User defined name of this taxonomy. It must: contain only unicode letters, - /// numbers, underscores, dashes and spaces; not start or end with spaces; and - /// be at most 200 bytes long when encoded in UTF-8. + /// Required. User defined name of this taxonomy. It must: contain only unicode letters, + /// numbers, underscores, dashes and spaces; not start or end with spaces; and + /// be at most 200 bytes long when encoded in UTF-8. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. Description of this taxonomy. It must: contain only unicode characters, - /// tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - /// long when encoded in UTF-8. If not set, defaults to an empty description. + /// Optional. Description of this taxonomy. It must: contain only unicode characters, + /// tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes + /// long when encoded in UTF-8. If not set, defaults to an empty description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. A list of policy types that are activated for this taxonomy. If not set, - /// defaults to an empty list. + /// Optional. A list of policy types that are activated for this taxonomy. If not set, + /// defaults to an empty list. #[prost(enumeration="taxonomy::PolicyType", repeated, packed="false", tag="6")] pub activated_policy_types: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Taxonomy`. pub mod taxonomy { - /// Defines policy types where policy tag can be used for. + /// Defines policy types where policy tag can be used for. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PolicyType { - /// Unspecified policy type. + /// Unspecified policy type. Unspecified = 0, - /// Fine grained access control policy, which enables access control on - /// tagged resources. + /// Fine grained access control policy, which enables access control on + /// tagged resources. FineGrainedAccessControl = 1, } impl PolicyType { @@ -2008,182 +2008,182 @@ pub mod taxonomy { } } } -/// Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined -/// in a hierarchy. For example, consider the following hierarchy: -/// Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" -/// contains three child policy tags: "LatLong", "City", and "ZipCode". +/// Denotes one policy tag in a taxonomy (e.g. ssn). Policy Tags can be defined +/// in a hierarchy. For example, consider the following hierarchy: +/// Geolocation -> (LatLong, City, ZipCode). PolicyTag "Geolocation" +/// contains three child policy tags: "LatLong", "City", and "ZipCode". #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolicyTag { - /// Output only. Resource name of this policy tag, whose format is: - /// "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". + /// Output only. Resource name of this policy tag, whose format is: + /// "projects/{project_number}/locations/{location_id}/taxonomies/{taxonomy_id}/policyTags/{id}". #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. User defined name of this policy tag. It must: be unique within the parent - /// taxonomy; contain only unicode letters, numbers, underscores, dashes and - /// spaces; not start or end with spaces; and be at most 200 bytes long when - /// encoded in UTF-8. + /// Required. User defined name of this policy tag. It must: be unique within the parent + /// taxonomy; contain only unicode letters, numbers, underscores, dashes and + /// spaces; not start or end with spaces; and be at most 200 bytes long when + /// encoded in UTF-8. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Description of this policy tag. It must: contain only unicode characters, - /// tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes - /// long when encoded in UTF-8. If not set, defaults to an empty description. - /// If not set, defaults to an empty description. + /// Description of this policy tag. It must: contain only unicode characters, + /// tabs, newlines, carriage returns and page breaks; and be at most 2000 bytes + /// long when encoded in UTF-8. If not set, defaults to an empty description. + /// If not set, defaults to an empty description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Resource name of this policy tag's parent policy tag (e.g. for the - /// "LatLong" policy tag in the example above, this field contains the - /// resource name of the "Geolocation" policy tag). If empty, it means this - /// policy tag is a top level policy tag (e.g. this field is empty for the - /// "Geolocation" policy tag in the example above). If not set, defaults to an - /// empty string. + /// Resource name of this policy tag's parent policy tag (e.g. for the + /// "LatLong" policy tag in the example above, this field contains the + /// resource name of the "Geolocation" policy tag). If empty, it means this + /// policy tag is a top level policy tag (e.g. this field is empty for the + /// "Geolocation" policy tag in the example above). If not set, defaults to an + /// empty string. #[prost(string, tag="4")] pub parent_policy_tag: ::prost::alloc::string::String, - /// Output only. Resource names of child policy tags of this policy tag. + /// Output only. Resource names of child policy tags of this policy tag. #[prost(string, repeated, tag="5")] pub child_policy_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for -/// \[CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy\]. +/// Request message for +/// \[CreateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreateTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTaxonomyRequest { - /// Required. Resource name of the project that the taxonomy will belong to. + /// Required. Resource name of the project that the taxonomy will belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The taxonomy to be created. + /// The taxonomy to be created. #[prost(message, optional, tag="2")] pub taxonomy: ::core::option::Option, } -/// Request message for -/// \[DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy\]. +/// Request message for +/// \[DeleteTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeleteTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTaxonomyRequest { - /// Required. Resource name of the taxonomy to be deleted. All policy tags in - /// this taxonomy will also be deleted. + /// Required. Resource name of the taxonomy to be deleted. All policy tags in + /// this taxonomy will also be deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy\]. +/// Request message for +/// \[UpdateTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdateTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTaxonomyRequest { - /// The taxonomy to update. Only description, display_name, and activated - /// policy types can be updated. + /// The taxonomy to update. Only description, display_name, and activated + /// policy types can be updated. #[prost(message, optional, tag="1")] pub taxonomy: ::core::option::Option, - /// The update mask applies to the resource. For the `FieldMask` definition, - /// see - /// - /// If not set, defaults to all of the fields that are allowed to update. + /// The update mask applies to the resource. For the `FieldMask` definition, + /// see + /// + /// If not set, defaults to all of the fields that are allowed to update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies\]. +/// Request message for +/// \[ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTaxonomiesRequest { - /// Required. Resource name of the project to list the taxonomies of. + /// Required. Resource name of the project to list the taxonomies of. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Must be a value between 1 and 1000. - /// If not set, defaults to 50. + /// The maximum number of items to return. Must be a value between 1 and 1000. + /// If not set, defaults to 50. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request, if any. If - /// not set, defaults to an empty string. + /// The next_page_token value returned from a previous list request, if any. If + /// not set, defaults to an empty string. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies\]. +/// Response message for +/// \[ListTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTaxonomiesResponse { - /// Taxonomies that the project contains. + /// Taxonomies that the project contains. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, - /// Token used to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token used to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy\]. +/// Request message for +/// \[GetTaxonomy][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetTaxonomy\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTaxonomyRequest { - /// Required. Resource name of the requested taxonomy. + /// Required. Resource name of the requested taxonomy. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag\]. +/// Request message for +/// \[CreatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.CreatePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePolicyTagRequest { - /// Required. Resource name of the taxonomy that the policy tag will belong to. + /// Required. Resource name of the taxonomy that the policy tag will belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The policy tag to be created. + /// The policy tag to be created. #[prost(message, optional, tag="2")] pub policy_tag: ::core::option::Option, } -/// Request message for -/// \[DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag\]. +/// Request message for +/// \[DeletePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.DeletePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePolicyTagRequest { - /// Required. Resource name of the policy tag to be deleted. All of its descendant - /// policy tags will also be deleted. + /// Required. Resource name of the policy tag to be deleted. All of its descendant + /// policy tags will also be deleted. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for -/// \[UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag\]. +/// Request message for +/// \[UpdatePolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.UpdatePolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePolicyTagRequest { - /// The policy tag to update. Only the description, display_name, and - /// parent_policy_tag fields can be updated. + /// The policy tag to update. Only the description, display_name, and + /// parent_policy_tag fields can be updated. #[prost(message, optional, tag="1")] pub policy_tag: ::core::option::Option, - /// The update mask applies to the resource. Only display_name, description and - /// parent_policy_tag can be updated and thus can be listed in the mask. If - /// update_mask is not provided, all allowed fields (i.e. display_name, - /// description and parent) will be updated. For more information including the - /// `FieldMask` definition, see - /// - /// If not set, defaults to all of the fields that are allowed to update. + /// The update mask applies to the resource. Only display_name, description and + /// parent_policy_tag can be updated and thus can be listed in the mask. If + /// update_mask is not provided, all allowed fields (i.e. display_name, + /// description and parent) will be updated. For more information including the + /// `FieldMask` definition, see + /// + /// If not set, defaults to all of the fields that are allowed to update. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for -/// \[ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags\]. +/// Request message for +/// \[ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPolicyTagsRequest { - /// Required. Resource name of the taxonomy to list the policy tags of. + /// Required. Resource name of the taxonomy to list the policy tags of. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. Must be a value between 1 and 1000. - /// If not set, defaults to 50. + /// The maximum number of items to return. Must be a value between 1 and 1000. + /// If not set, defaults to 50. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous List request, if any. If - /// not set, defaults to an empty string. + /// The next_page_token value returned from a previous List request, if any. If + /// not set, defaults to an empty string. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for -/// \[ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags\]. +/// Response message for +/// \[ListPolicyTags][google.cloud.datacatalog.v1beta1.PolicyTagManager.ListPolicyTags\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPolicyTagsResponse { - /// The policy tags that are in the requested taxonomy. + /// The policy tags that are in the requested taxonomy. #[prost(message, repeated, tag="1")] pub policy_tags: ::prost::alloc::vec::Vec, - /// Token used to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token used to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for -/// \[GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag\]. +/// Request message for +/// \[GetPolicyTag][google.cloud.datacatalog.v1beta1.PolicyTagManager.GetPolicyTag\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPolicyTagRequest { - /// Required. Resource name of the requested policy tag. + /// Required. Resource name of the requested policy tag. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -2540,104 +2540,104 @@ pub mod policy_tag_manager_client { } } } -/// Message capturing a taxonomy and its policy tag hierarchy as a nested proto. -/// Used for taxonomy import/export and mutation. +/// Message capturing a taxonomy and its policy tag hierarchy as a nested proto. +/// Used for taxonomy import/export and mutation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerializedTaxonomy { - /// Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. + /// Required. Display name of the taxonomy. Max 200 bytes when encoded in UTF-8. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Description of the serialized taxonomy. The length of the - /// description is limited to 2000 bytes when encoded in UTF-8. If not set, - /// defaults to an empty description. + /// Description of the serialized taxonomy. The length of the + /// description is limited to 2000 bytes when encoded in UTF-8. If not set, + /// defaults to an empty description. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Top level policy tags associated with the taxonomy if any. + /// Top level policy tags associated with the taxonomy if any. #[prost(message, repeated, tag="3")] pub policy_tags: ::prost::alloc::vec::Vec, } -/// Message representing one policy tag when exported as a nested proto. +/// Message representing one policy tag when exported as a nested proto. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerializedPolicyTag { - /// Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. + /// Required. Display name of the policy tag. Max 200 bytes when encoded in UTF-8. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Description of the serialized policy tag. The length of the - /// description is limited to 2000 bytes when encoded in UTF-8. If not set, - /// defaults to an empty description. + /// Description of the serialized policy tag. The length of the + /// description is limited to 2000 bytes when encoded in UTF-8. If not set, + /// defaults to an empty description. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Children of the policy tag if any. + /// Children of the policy tag if any. #[prost(message, repeated, tag="4")] pub child_policy_tags: ::prost::alloc::vec::Vec, } -/// Request message for -/// \[ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies\]. +/// Request message for +/// \[ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTaxonomiesRequest { - /// Required. Resource name of project that the newly created taxonomies will - /// belong to. + /// Required. Resource name of project that the newly created taxonomies will + /// belong to. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Source taxonomies to be imported in a tree structure. + /// Required. Source taxonomies to be imported in a tree structure. #[prost(oneof="import_taxonomies_request::Source", tags="2")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportTaxonomiesRequest`. pub mod import_taxonomies_request { - /// Required. Source taxonomies to be imported in a tree structure. + /// Required. Source taxonomies to be imported in a tree structure. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Inline source used for taxonomies import + /// Inline source used for taxonomies import #[prost(message, tag="2")] InlineSource(super::InlineSource), } } -/// Inline source used for taxonomies import. +/// Inline source used for taxonomies import. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InlineSource { - /// Required. Taxonomies to be imported. + /// Required. Taxonomies to be imported. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } -/// Response message for -/// \[ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies\]. +/// Response message for +/// \[ImportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ImportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTaxonomiesResponse { - /// Taxonomies that were imported. + /// Taxonomies that were imported. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } -/// Request message for -/// \[ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies\]. +/// Request message for +/// \[ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTaxonomiesRequest { - /// Required. Resource name of the project that taxonomies to be exported - /// will share. + /// Required. Resource name of the project that taxonomies to be exported + /// will share. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Resource names of the taxonomies to be exported. + /// Required. Resource names of the taxonomies to be exported. #[prost(string, repeated, tag="2")] pub taxonomies: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Taxonomies export destination. + /// Required. Taxonomies export destination. #[prost(oneof="export_taxonomies_request::Destination", tags="3")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportTaxonomiesRequest`. pub mod export_taxonomies_request { - /// Required. Taxonomies export destination. + /// Required. Taxonomies export destination. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Export taxonomies as serialized taxonomies. + /// Export taxonomies as serialized taxonomies. #[prost(bool, tag="3")] SerializedTaxonomies(bool), } } -/// Response message for -/// \[ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies\]. +/// Response message for +/// \[ExportTaxonomies][google.cloud.datacatalog.v1beta1.PolicyTagManagerSerialization.ExportTaxonomies\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTaxonomiesResponse { - /// List of taxonomies and policy tags in a tree structure. + /// List of taxonomies and policy tags in a tree structure. #[prost(message, repeated, tag="1")] pub taxonomies: ::prost::alloc::vec::Vec, } diff --git a/gcloud-sdk/genproto/google.cloud.dataform.v1alpha2.rs b/gcloud-sdk/genproto/google.cloud.dataform.v1alpha2.rs index c14f81368..a43a127a9 100644 --- a/gcloud-sdk/genproto/google.cloud.dataform.v1alpha2.rs +++ b/gcloud-sdk/genproto/google.cloud.dataform.v1alpha2.rs @@ -1,47 +1,47 @@ -/// Represents a Dataform Git repository. +/// Represents a Dataform Git repository. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Repository { - /// Output only. The repository's name. + /// Output only. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. If set, configures this repository to be linked to a Git remote. + /// Optional. If set, configures this repository to be linked to a Git remote. #[prost(message, optional, tag="2")] pub git_remote_settings: ::core::option::Option, } /// Nested message and enum types in `Repository`. pub mod repository { - /// Controls Git remote configuration for a repository. + /// Controls Git remote configuration for a repository. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GitRemoteSettings { - /// Required. The Git remote's URL. + /// Required. The Git remote's URL. #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Required. The Git remote's default branch name. + /// Required. The Git remote's default branch name. #[prost(string, tag="2")] pub default_branch: ::prost::alloc::string::String, - /// Required. The name of the Secret Manager secret version to use as an - /// authentication token for Git operations. Must be in the format - /// `projects/*/secrets/*/versions/*`. + /// Required. The name of the Secret Manager secret version to use as an + /// authentication token for Git operations. Must be in the format + /// `projects/*/secrets/*/versions/*`. #[prost(string, tag="3")] pub authentication_token_secret_version: ::prost::alloc::string::String, - /// Output only. Indicates the status of the Git access token. + /// Output only. Indicates the status of the Git access token. #[prost(enumeration="git_remote_settings::TokenStatus", tag="4")] pub token_status: i32, } /// Nested message and enum types in `GitRemoteSettings`. pub mod git_remote_settings { - /// Indicates the status of a Git authentication token. + /// Indicates the status of a Git authentication token. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TokenStatus { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The token could not be found in Secret Manager (or the Dataform - /// Service Account did not have permission to access it). + /// The token could not be found in Secret Manager (or the Dataform + /// Service Account did not have permission to access it). NotFound = 1, - /// The token could not be used to authenticate against the Git remote. + /// The token could not be used to authenticate against the Git remote. Invalid = 2, - /// The token was used successfully to authenticate against the Git remote. + /// The token was used successfully to authenticate against the Git remote. Valid = 3, } impl TokenStatus { @@ -60,263 +60,263 @@ pub mod repository { } } } -/// `ListRepositories` request message. +/// `ListRepositories` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRepositoriesRequest { - /// Required. The location in which to list repositories. Must be in the format - /// `projects/*/locations/*`. + /// Required. The location in which to list repositories. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of repositories to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of repositories to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListRepositories` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListRepositories` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListRepositories` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListRepositories` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. This field only supports ordering by `name`. If unspecified, the server - /// will choose the ordering. If specified, the default order is ascending for - /// the `name` field. + /// Optional. This field only supports ordering by `name`. If unspecified, the server + /// will choose the ordering. If specified, the default order is ascending for + /// the `name` field. #[prost(string, tag="4")] pub order_by: ::prost::alloc::string::String, - /// Optional. Filter for the returned list. + /// Optional. Filter for the returned list. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// `ListRepositories` response message. +/// `ListRepositories` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRepositoriesResponse { - /// List of repositories. + /// List of repositories. #[prost(message, repeated, tag="1")] pub repositories: ::prost::alloc::vec::Vec, - /// A token which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetRepository` request message. +/// `GetRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRepositoryRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateRepository` request message. +/// `CreateRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRepositoryRequest { - /// Required. The location in which to create the repository. Must be in the format - /// `projects/*/locations/*`. + /// Required. The location in which to create the repository. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The repository to create. + /// Required. The repository to create. #[prost(message, optional, tag="2")] pub repository: ::core::option::Option, - /// Required. The ID to use for the repository, which will become the final component of - /// the repository's resource name. + /// Required. The ID to use for the repository, which will become the final component of + /// the repository's resource name. #[prost(string, tag="3")] pub repository_id: ::prost::alloc::string::String, } -/// `UpdateRepository` request message. +/// `UpdateRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRepositoryRequest { - /// Optional. Specifies the fields to be updated in the repository. If left unset, - /// all fields will be updated. + /// Optional. Specifies the fields to be updated in the repository. If left unset, + /// all fields will be updated. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The repository to update. + /// Required. The repository to update. #[prost(message, optional, tag="2")] pub repository: ::core::option::Option, } -/// `DeleteRepository` request message. +/// `DeleteRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRepositoryRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources of this repository will also be - /// deleted. (Otherwise, the request will only succeed if the repository has no - /// child resources.) + /// If set to true, any child resources of this repository will also be + /// deleted. (Otherwise, the request will only succeed if the repository has no + /// child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// `FetchRemoteBranches` request message. +/// `FetchRemoteBranches` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchRemoteBranchesRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `FetchRemoteBranches` response message. +/// `FetchRemoteBranches` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchRemoteBranchesResponse { - /// The remote repository's branch names. + /// The remote repository's branch names. #[prost(string, repeated, tag="1")] pub branches: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Dataform Git workspace. +/// Represents a Dataform Git workspace. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Workspace { - /// Output only. The workspace's name. + /// Output only. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `ListWorkspaces` request message. +/// `ListWorkspaces` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesRequest { - /// Required. The repository in which to list workspaces. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to list workspaces. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of workspaces to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of workspaces to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListWorkspaces` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListWorkspaces` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListWorkspaces` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListWorkspaces` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. This field only supports ordering by `name`. If unspecified, the server - /// will choose the ordering. If specified, the default order is ascending for - /// the `name` field. + /// Optional. This field only supports ordering by `name`. If unspecified, the server + /// will choose the ordering. If specified, the default order is ascending for + /// the `name` field. #[prost(string, tag="4")] pub order_by: ::prost::alloc::string::String, - /// Optional. Filter for the returned list. + /// Optional. Filter for the returned list. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// `ListWorkspaces` response message. +/// `ListWorkspaces` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesResponse { - /// List of workspaces. + /// List of workspaces. #[prost(message, repeated, tag="1")] pub workspaces: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetWorkspace` request message. +/// `GetWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkspaceRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateWorkspace` request message. +/// `CreateWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkspaceRequest { - /// Required. The repository in which to create the workspace. Must be in the format - /// `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to create the workspace. Must be in the format + /// `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The workspace to create. + /// Required. The workspace to create. #[prost(message, optional, tag="2")] pub workspace: ::core::option::Option, - /// Required. The ID to use for the workspace, which will become the final component of - /// the workspace's resource name. + /// Required. The ID to use for the workspace, which will become the final component of + /// the workspace's resource name. #[prost(string, tag="3")] pub workspace_id: ::prost::alloc::string::String, } -/// `DeleteWorkspace` request message. +/// `DeleteWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkspaceRequest { - /// Required. The workspace resource's name. + /// Required. The workspace resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the author of a Git commit. +/// Represents the author of a Git commit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitAuthor { - /// Required. The commit author's name. + /// Required. The commit author's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The commit author's email address. + /// Required. The commit author's email address. #[prost(string, tag="2")] pub email_address: ::prost::alloc::string::String, } -/// `PullGitCommits` request message. +/// `PullGitCommits` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PullGitCommitsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote from which to pull commits. - /// If left unset, the repository's default branch name will be used. + /// Optional. The name of the branch in the Git remote from which to pull commits. + /// If left unset, the repository's default branch name will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, - /// Required. The author of any merge commit which may be created as a result of merging - /// fetched Git commits into this workspace. + /// Required. The author of any merge commit which may be created as a result of merging + /// fetched Git commits into this workspace. #[prost(message, optional, tag="3")] pub author: ::core::option::Option, } -/// `PushGitCommits` request message. +/// `PushGitCommits` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PushGitCommitsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote to which commits should be pushed. - /// If left unset, the repository's default branch name will be used. + /// Optional. The name of the branch in the Git remote to which commits should be pushed. + /// If left unset, the repository's default branch name will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, } -/// `FetchFileGitStatuses` request message. +/// `FetchFileGitStatuses` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileGitStatusesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `FetchFileGitStatuses` response message. +/// `FetchFileGitStatuses` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileGitStatusesResponse { - /// A list of all files which have uncommitted Git changes. There will only be - /// a single entry for any given file. + /// A list of all files which have uncommitted Git changes. There will only be + /// a single entry for any given file. #[prost(message, repeated, tag="1")] pub uncommitted_file_changes: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `FetchFileGitStatusesResponse`. pub mod fetch_file_git_statuses_response { - /// Represents the Git state of a file with uncommitted changes. + /// Represents the Git state of a file with uncommitted changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UncommittedFileChange { - /// The file's full path including filename, relative to the workspace root. + /// The file's full path including filename, relative to the workspace root. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Indicates the status of the file. + /// Indicates the status of the file. #[prost(enumeration="uncommitted_file_change::State", tag="2")] pub state: i32, } /// Nested message and enum types in `UncommittedFileChange`. pub mod uncommitted_file_change { - /// Indicates the status of an uncommitted file change. + /// Indicates the status of an uncommitted file change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The file has been newly added. + /// The file has been newly added. Added = 1, - /// The file has been deleted. + /// The file has been deleted. Deleted = 2, - /// The file has been modified. + /// The file has been modified. Modified = 3, - /// The file contains merge conflicts. + /// The file contains merge conflicts. HasConflicts = 4, } impl State { @@ -336,114 +336,114 @@ pub mod fetch_file_git_statuses_response { } } } -/// `FetchGitAheadBehind` request message. +/// `FetchGitAheadBehind` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchGitAheadBehindRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote against which this workspace - /// should be compared. If left unset, the repository's default branch name - /// will be used. + /// Optional. The name of the branch in the Git remote against which this workspace + /// should be compared. If left unset, the repository's default branch name + /// will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, } -/// `FetchGitAheadBehind` response message. +/// `FetchGitAheadBehind` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchGitAheadBehindResponse { - /// The number of commits in the remote branch that are not in the workspace. + /// The number of commits in the remote branch that are not in the workspace. #[prost(int32, tag="1")] pub commits_ahead: i32, - /// The number of commits in the workspace that are not in the remote branch. + /// The number of commits in the workspace that are not in the remote branch. #[prost(int32, tag="2")] pub commits_behind: i32, } -/// `CommitWorkspaceChanges` request message. +/// `CommitWorkspaceChanges` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitWorkspaceChangesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The commit's author. + /// Required. The commit's author. #[prost(message, optional, tag="4")] pub author: ::core::option::Option, - /// Optional. The commit's message. + /// Optional. The commit's message. #[prost(string, tag="2")] pub commit_message: ::prost::alloc::string::String, - /// Optional. Full file paths to commit including filename, rooted at workspace root. If - /// left empty, all files will be committed. + /// Optional. Full file paths to commit including filename, rooted at workspace root. If + /// left empty, all files will be committed. #[prost(string, repeated, tag="3")] pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `ResetWorkspaceChanges` request message. +/// `ResetWorkspaceChanges` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResetWorkspaceChangesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Full file paths to reset back to their committed state including filename, - /// rooted at workspace root. If left empty, all files will be reset. + /// Optional. Full file paths to reset back to their committed state including filename, + /// rooted at workspace root. If left empty, all files will be reset. #[prost(string, repeated, tag="2")] pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If set to true, untracked files will be deleted. + /// Optional. If set to true, untracked files will be deleted. #[prost(bool, tag="3")] pub clean: bool, } -/// `FetchFileDiff` request message. +/// `FetchFileDiff` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileDiffRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `FetchFileDiff` response message. +/// `FetchFileDiff` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileDiffResponse { - /// The raw formatted Git diff for the file. + /// The raw formatted Git diff for the file. #[prost(string, tag="1")] pub formatted_diff: ::prost::alloc::string::String, } -/// `QueryDirectoryContents` request message. +/// `QueryDirectoryContents` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDirectoryContentsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Optional. The directory's full path including directory name, relative to the - /// workspace root. If left unset, the workspace root is used. + /// Optional. The directory's full path including directory name, relative to the + /// workspace root. If left unset, the workspace root is used. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Optional. Maximum number of paths to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of paths to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryDirectoryContents` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryDirectoryContents` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryDirectoryContents` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryDirectoryContents` must match the call that provided the page + /// token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// `QueryDirectoryContents` response message. +/// `QueryDirectoryContents` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDirectoryContentsResponse { - /// List of entries in the directory. + /// List of entries in the directory. #[prost(message, repeated, tag="1")] pub directory_entries: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } /// Nested message and enum types in `QueryDirectoryContentsResponse`. pub mod query_directory_contents_response { - /// Represents a single entry in a workspace directory. + /// Represents a single entry in a workspace directory. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DirectoryEntry { #[prost(oneof="directory_entry::Entry", tags="1, 2")] @@ -453,146 +453,146 @@ pub mod query_directory_contents_response { pub mod directory_entry { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Entry { - /// A file in the directory. + /// A file in the directory. #[prost(string, tag="1")] File(::prost::alloc::string::String), - /// A child directory in the directory. + /// A child directory in the directory. #[prost(string, tag="2")] Directory(::prost::alloc::string::String), } } } -/// `MakeDirectory` request message. +/// `MakeDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MakeDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MakeDirectory` response message. +/// `MakeDirectory` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MakeDirectoryResponse { } -/// `RemoveDirectory` request message. +/// `RemoveDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MoveDirectory` request message. +/// `MoveDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The new path for the directory including directory name, rooted at - /// workspace root. + /// Required. The new path for the directory including directory name, rooted at + /// workspace root. #[prost(string, tag="3")] pub new_path: ::prost::alloc::string::String, } -/// `MoveDirectory` response message. +/// `MoveDirectory` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveDirectoryResponse { } -/// `ReadFile` request message. +/// `ReadFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `ReadFile` response message. +/// `ReadFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFileResponse { - /// The file's contents. + /// The file's contents. #[prost(bytes="vec", tag="1")] pub file_contents: ::prost::alloc::vec::Vec, } -/// `RemoveFile` request message. +/// `RemoveFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MoveFile` request message. +/// `MoveFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The file's new path including filename, relative to the workspace root. + /// Required. The file's new path including filename, relative to the workspace root. #[prost(string, tag="3")] pub new_path: ::prost::alloc::string::String, } -/// `MoveFile` response message. +/// `MoveFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveFileResponse { } -/// `WriteFile` request message. +/// `WriteFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file. + /// Required. The file. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The file's contents. + /// Required. The file's contents. #[prost(bytes="vec", tag="3")] pub contents: ::prost::alloc::vec::Vec, } -/// `WriteFile` response message. +/// `WriteFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFileResponse { } -/// `InstallNpmPackages` request message. +/// `InstallNpmPackages` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstallNpmPackagesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, } -/// `InstallNpmPackages` response message. +/// `InstallNpmPackages` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstallNpmPackagesResponse { } -/// Represents the result of compiling a Dataform project. +/// Represents the result of compiling a Dataform project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationResult { - /// Output only. The compilation result's name. + /// Output only. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. If set, fields of `code_compilation_overrides` override the default - /// compilation settings that are specified in dataform.json. + /// Immutable. If set, fields of `code_compilation_overrides` override the default + /// compilation settings that are specified in dataform.json. #[prost(message, optional, tag="4")] pub code_compilation_config: ::core::option::Option, - /// Output only. The version of `@dataform/core` that was used for compilation. + /// Output only. The version of `@dataform/core` that was used for compilation. #[prost(string, tag="5")] pub dataform_core_version: ::prost::alloc::string::String, - /// Output only. Errors encountered during project compilation. + /// Output only. Errors encountered during project compilation. #[prost(message, repeated, tag="6")] pub compilation_errors: ::prost::alloc::vec::Vec, #[prost(oneof="compilation_result::Source", tags="2, 3")] @@ -600,180 +600,180 @@ pub struct CompilationResult { } /// Nested message and enum types in `CompilationResult`. pub mod compilation_result { - /// Configures various aspects of Dataform code compilation. + /// Configures various aspects of Dataform code compilation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CodeCompilationConfig { - /// Optional. The default database (Google Cloud project ID). + /// Optional. The default database (Google Cloud project ID). #[prost(string, tag="1")] pub default_database: ::prost::alloc::string::String, - /// Optional. The default schema (BigQuery dataset ID). + /// Optional. The default schema (BigQuery dataset ID). #[prost(string, tag="2")] pub default_schema: ::prost::alloc::string::String, - /// Optional. The default BigQuery location to use. Defaults to "US". - /// See the BigQuery docs for a full list of locations: - /// + /// Optional. The default BigQuery location to use. Defaults to "US". + /// See the BigQuery docs for a full list of locations: + /// #[prost(string, tag="8")] pub default_location: ::prost::alloc::string::String, - /// Optional. The default schema (BigQuery dataset ID) for assertions. + /// Optional. The default schema (BigQuery dataset ID) for assertions. #[prost(string, tag="3")] pub assertion_schema: ::prost::alloc::string::String, - /// Optional. User-defined variables that are made available to project code during - /// compilation. + /// Optional. User-defined variables that are made available to project code during + /// compilation. #[prost(map="string, string", tag="4")] pub vars: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The suffix that should be appended to all database (Google Cloud project - /// ID) names. + /// Optional. The suffix that should be appended to all database (Google Cloud project + /// ID) names. #[prost(string, tag="5")] pub database_suffix: ::prost::alloc::string::String, - /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) - /// names. + /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) + /// names. #[prost(string, tag="6")] pub schema_suffix: ::prost::alloc::string::String, - /// Optional. The prefix that should be prepended to all table names. + /// Optional. The prefix that should be prepended to all table names. #[prost(string, tag="7")] pub table_prefix: ::prost::alloc::string::String, } - /// An error encountered when attempting to compile a Dataform project. + /// An error encountered when attempting to compile a Dataform project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationError { - /// Output only. The error's top level message. + /// Output only. The error's top level message. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// Output only. The error's full stack trace. + /// Output only. The error's full stack trace. #[prost(string, tag="2")] pub stack: ::prost::alloc::string::String, - /// Output only. The path of the file where this error occurred, if available, relative to - /// the project root. + /// Output only. The path of the file where this error occurred, if available, relative to + /// the project root. #[prost(string, tag="3")] pub path: ::prost::alloc::string::String, - /// Output only. The identifier of the action where this error occurred, if available. + /// Output only. The identifier of the action where this error occurred, if available. #[prost(message, optional, tag="4")] pub action_target: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Immutable. Git commit/tag/branch name at which the repository should be compiled. - /// Must exist in the remote repository. - /// Examples: - /// - a commit SHA: `12ade345` - /// - a tag: `tag1` - /// - a branch name: `branch1` + /// Immutable. Git commit/tag/branch name at which the repository should be compiled. + /// Must exist in the remote repository. + /// Examples: + /// - a commit SHA: `12ade345` + /// - a tag: `tag1` + /// - a branch name: `branch1` #[prost(string, tag="2")] GitCommitish(::prost::alloc::string::String), - /// Immutable. The name of the workspace to compile. Must be in the format - /// `projects/*/locations/*/repositories/*/workspaces/*`. + /// Immutable. The name of the workspace to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/workspaces/*`. #[prost(string, tag="3")] Workspace(::prost::alloc::string::String), } } -/// `ListCompilationResults` request message. +/// `ListCompilationResults` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCompilationResultsRequest { - /// Required. The repository in which to list compilation results. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to list compilation results. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of compilation results to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of compilation results to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListCompilationResults` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListCompilationResults` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCompilationResults` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCompilationResults` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `ListCompilationResults` response message. +/// `ListCompilationResults` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCompilationResultsResponse { - /// List of compilation results. + /// List of compilation results. #[prost(message, repeated, tag="1")] pub compilation_results: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetCompilationResult` request message. +/// `GetCompilationResult` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCompilationResultRequest { - /// Required. The compilation result's name. + /// Required. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateCompilationResult` request message. +/// `CreateCompilationResult` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCompilationResultRequest { - /// Required. The repository in which to create the compilation result. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to create the compilation result. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The compilation result to create. + /// Required. The compilation result to create. #[prost(message, optional, tag="2")] pub compilation_result: ::core::option::Option, } -/// Represents an action identifier. If the action writes output, the output -/// will be written to the referenced database object. +/// Represents an action identifier. If the action writes output, the output +/// will be written to the referenced database object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Target { - /// The action's database (Google Cloud project ID) . + /// The action's database (Google Cloud project ID) . #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// The action's schema (BigQuery dataset ID), within `database`. + /// The action's schema (BigQuery dataset ID), within `database`. #[prost(string, tag="2")] pub schema: ::prost::alloc::string::String, - /// The action's name, within `database` and `schema`. + /// The action's name, within `database` and `schema`. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, } -/// Describes a relation and its columns. +/// Describes a relation and its columns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelationDescriptor { - /// A text description of the relation. + /// A text description of the relation. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// A list of descriptions of columns within the relation. + /// A list of descriptions of columns within the relation. #[prost(message, repeated, tag="2")] pub columns: ::prost::alloc::vec::Vec, - /// A set of BigQuery labels that should be applied to the relation. + /// A set of BigQuery labels that should be applied to the relation. #[prost(map="string, string", tag="3")] pub bigquery_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `RelationDescriptor`. pub mod relation_descriptor { - /// Describes a column. + /// Describes a column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnDescriptor { - /// The identifier for the column. Each entry in `path` represents one level - /// of nesting. + /// The identifier for the column. Each entry in `path` represents one level + /// of nesting. #[prost(string, repeated, tag="1")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A textual description of the column. + /// A textual description of the column. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// A list of BigQuery policy tags that will be applied to the column. + /// A list of BigQuery policy tags that will be applied to the column. #[prost(string, repeated, tag="3")] pub bigquery_policy_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Represents a single Dataform action in a compilation result. +/// Represents a single Dataform action in a compilation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationResultAction { - /// This action's identifier. Unique within the compilation result. + /// This action's identifier. Unique within the compilation result. #[prost(message, optional, tag="1")] pub target: ::core::option::Option, - /// The action's identifier if the project had been compiled without any - /// overrides configured. Unique within the compilation result. + /// The action's identifier if the project had been compiled without any + /// overrides configured. Unique within the compilation result. #[prost(message, optional, tag="2")] pub canonical_target: ::core::option::Option, - /// The full path including filename in which this action is located, relative - /// to the workspace root. + /// The full path including filename in which this action is located, relative + /// to the workspace root. #[prost(string, tag="3")] pub file_path: ::prost::alloc::string::String, #[prost(oneof="compilation_result_action::CompiledObject", tags="4, 5, 6, 7")] @@ -781,102 +781,102 @@ pub struct CompilationResultAction { } /// Nested message and enum types in `CompilationResultAction`. pub mod compilation_result_action { - /// Represents a database relation. + /// Represents a database relation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Relation { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Descriptor for the relation and its columns. + /// Descriptor for the relation and its columns. #[prost(message, optional, tag="4")] pub relation_descriptor: ::core::option::Option, - /// The type of this relation. + /// The type of this relation. #[prost(enumeration="relation::RelationType", tag="5")] pub relation_type: i32, - /// The SELECT query which returns rows which this relation should contain. + /// The SELECT query which returns rows which this relation should contain. #[prost(string, tag="6")] pub select_query: ::prost::alloc::string::String, - /// SQL statements to be executed before creating the relation. + /// SQL statements to be executed before creating the relation. #[prost(string, repeated, tag="7")] pub pre_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL statements to be executed after creating the relation. + /// SQL statements to be executed after creating the relation. #[prost(string, repeated, tag="8")] pub post_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if - /// `relation_type` is `INCREMENTAL_TABLE`. + /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if + /// `relation_type` is `INCREMENTAL_TABLE`. #[prost(message, optional, tag="9")] pub incremental_table_config: ::core::option::Option, - /// The SQL expression used to partition the relation. + /// The SQL expression used to partition the relation. #[prost(string, tag="10")] pub partition_expression: ::prost::alloc::string::String, - /// A list of columns or SQL expressions used to cluster the table. + /// A list of columns or SQL expressions used to cluster the table. #[prost(string, repeated, tag="11")] pub cluster_expressions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Sets the partition expiration in days. + /// Sets the partition expiration in days. #[prost(int32, tag="12")] pub partition_expiration_days: i32, - /// Specifies whether queries on this table must include a predicate filter - /// that filters on the partitioning column. + /// Specifies whether queries on this table must include a predicate filter + /// that filters on the partitioning column. #[prost(bool, tag="13")] pub require_partition_filter: bool, - /// Additional options that will be provided as key/value pairs into the - /// options clause of a create table/view statement. See - /// - /// for more information on which options are supported. + /// Additional options that will be provided as key/value pairs into the + /// options clause of a create table/view statement. See + /// + /// for more information on which options are supported. #[prost(map="string, string", tag="14")] pub additional_options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Relation`. pub mod relation { - /// Contains settings for relations of type `INCREMENTAL_TABLE`. + /// Contains settings for relations of type `INCREMENTAL_TABLE`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncrementalTableConfig { - /// The SELECT query which returns rows which should be inserted into the - /// relation if it already exists and is not being refreshed. + /// The SELECT query which returns rows which should be inserted into the + /// relation if it already exists and is not being refreshed. #[prost(string, tag="1")] pub incremental_select_query: ::prost::alloc::string::String, - /// Whether this table should be protected from being refreshed. + /// Whether this table should be protected from being refreshed. #[prost(bool, tag="2")] pub refresh_disabled: bool, - /// A set of columns or SQL expressions used to define row uniqueness. - /// If any duplicates are discovered (as defined by `unique_key_parts`), - /// only the newly selected rows (as defined by `incremental_select_query`) - /// will be included in the relation. + /// A set of columns or SQL expressions used to define row uniqueness. + /// If any duplicates are discovered (as defined by `unique_key_parts`), + /// only the newly selected rows (as defined by `incremental_select_query`) + /// will be included in the relation. #[prost(string, repeated, tag="3")] pub unique_key_parts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A SQL expression conditional used to limit the set of existing rows - /// considered for a merge operation (see `unique_key_parts` for more - /// information). + /// A SQL expression conditional used to limit the set of existing rows + /// considered for a merge operation (see `unique_key_parts` for more + /// information). #[prost(string, tag="4")] pub update_partition_filter: ::prost::alloc::string::String, - /// SQL statements to be executed before inserting new rows into the - /// relation. + /// SQL statements to be executed before inserting new rows into the + /// relation. #[prost(string, repeated, tag="5")] pub incremental_pre_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL statements to be executed after inserting new rows into the - /// relation. + /// SQL statements to be executed after inserting new rows into the + /// relation. #[prost(string, repeated, tag="6")] pub incremental_post_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Indicates the type of this relation. + /// Indicates the type of this relation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RelationType { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The relation is a table. + /// The relation is a table. Table = 1, - /// The relation is a view. + /// The relation is a view. View = 2, - /// The relation is an incrementalized table. + /// The relation is an incrementalized table. IncrementalTable = 3, - /// The relation is a materialized view. + /// The relation is a materialized view. MaterializedView = 4, } impl RelationType { @@ -895,177 +895,177 @@ pub mod compilation_result_action { } } } - /// Represents a list of arbitrary database operations. + /// Represents a list of arbitrary database operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operations { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Descriptor for any output relation and its columns. Only set if - /// `has_output` is true. + /// Descriptor for any output relation and its columns. Only set if + /// `has_output` is true. #[prost(message, optional, tag="6")] pub relation_descriptor: ::core::option::Option, - /// A list of arbitrary SQL statements that will be executed without - /// alteration. + /// A list of arbitrary SQL statements that will be executed without + /// alteration. #[prost(string, repeated, tag="4")] pub queries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Whether these operations produce an output relation. + /// Whether these operations produce an output relation. #[prost(bool, tag="5")] pub has_output: bool, } - /// Represents an assertion upon a SQL query which is required return zero - /// rows. + /// Represents an assertion upon a SQL query which is required return zero + /// rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Assertion { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// The parent action of this assertion. Only set if this assertion was - /// automatically generated. + /// The parent action of this assertion. Only set if this assertion was + /// automatically generated. #[prost(message, optional, tag="5")] pub parent_action: ::core::option::Option, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The SELECT query which must return zero rows in order for this assertion - /// to succeed. + /// The SELECT query which must return zero rows in order for this assertion + /// to succeed. #[prost(string, tag="4")] pub select_query: ::prost::alloc::string::String, - /// Descriptor for the assertion's automatically-generated view and its - /// columns. + /// Descriptor for the assertion's automatically-generated view and its + /// columns. #[prost(message, optional, tag="6")] pub relation_descriptor: ::core::option::Option, } - /// Represents a relation which is not managed by Dataform but which may be - /// referenced by Dataform actions. + /// Represents a relation which is not managed by Dataform but which may be + /// referenced by Dataform actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Declaration { - /// Descriptor for the relation and its columns. Used as documentation only, - /// i.e. values here will result in no changes to the relation's metadata. + /// Descriptor for the relation and its columns. Used as documentation only, + /// i.e. values here will result in no changes to the relation's metadata. #[prost(message, optional, tag="1")] pub relation_descriptor: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CompiledObject { - /// The database relation created/updated by this action. + /// The database relation created/updated by this action. #[prost(message, tag="4")] Relation(Relation), - /// The database operations executed by this action. + /// The database operations executed by this action. #[prost(message, tag="5")] Operations(Operations), - /// The assertion executed by this action. + /// The assertion executed by this action. #[prost(message, tag="6")] Assertion(Assertion), - /// The declaration declared by this action. + /// The declaration declared by this action. #[prost(message, tag="7")] Declaration(Declaration), } } -/// `QueryCompilationResultActions` request message. +/// `QueryCompilationResultActions` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCompilationResultActionsRequest { - /// Required. The compilation result's name. + /// Required. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Maximum number of compilation results to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of compilation results to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryCompilationResultActions` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryCompilationResultActions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryCompilationResultActions` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryCompilationResultActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Optional filter for the returned list. Filtering is only currently - /// supported on the `file_path` field. + /// Optional. Optional filter for the returned list. Filtering is only currently + /// supported on the `file_path` field. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// `QueryCompilationResultActions` response message. +/// `QueryCompilationResultActions` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCompilationResultActionsResponse { - /// List of compilation result actions. + /// List of compilation result actions. #[prost(message, repeated, tag="1")] pub compilation_result_actions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Represents a single invocation of a compilation result. +/// Represents a single invocation of a compilation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowInvocation { - /// Output only. The workflow invocation's name. + /// Output only. The workflow invocation's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The name of the compilation result to compile. Must be in the format - /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// Immutable. The name of the compilation result to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. #[prost(string, tag="2")] pub compilation_result: ::prost::alloc::string::String, - /// Immutable. If left unset, a default InvocationConfig will be used. + /// Immutable. If left unset, a default InvocationConfig will be used. #[prost(message, optional, tag="3")] pub invocation_config: ::core::option::Option, - /// Output only. This workflow invocation's current state. + /// Output only. This workflow invocation's current state. #[prost(enumeration="workflow_invocation::State", tag="4")] pub state: i32, - /// Output only. This workflow invocation's timing details. + /// Output only. This workflow invocation's timing details. #[prost(message, optional, tag="5")] pub invocation_timing: ::core::option::Option, } /// Nested message and enum types in `WorkflowInvocation`. pub mod workflow_invocation { - /// Includes various configuration options for this workflow invocation. - /// If both `included_targets` and `included_tags` are unset, all actions - /// will be included. + /// Includes various configuration options for this workflow invocation. + /// If both `included_targets` and `included_tags` are unset, all actions + /// will be included. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvocationConfig { - /// Immutable. The set of action identifiers to include. + /// Immutable. The set of action identifiers to include. #[prost(message, repeated, tag="1")] pub included_targets: ::prost::alloc::vec::Vec, - /// Immutable. The set of tags to include. + /// Immutable. The set of tags to include. #[prost(string, repeated, tag="2")] pub included_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. When set to true, transitive dependencies of included actions will be - /// executed. + /// Immutable. When set to true, transitive dependencies of included actions will be + /// executed. #[prost(bool, tag="3")] pub transitive_dependencies_included: bool, - /// Immutable. When set to true, transitive dependents of included actions will be - /// executed. + /// Immutable. When set to true, transitive dependents of included actions will be + /// executed. #[prost(bool, tag="4")] pub transitive_dependents_included: bool, - /// Immutable. When set to true, any incremental tables will be fully refreshed. + /// Immutable. When set to true, any incremental tables will be fully refreshed. #[prost(bool, tag="5")] pub fully_refresh_incremental_tables_enabled: bool, } - /// Represents the current state of a workflow invocation. + /// Represents the current state of a workflow invocation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The workflow invocation is currently running. + /// The workflow invocation is currently running. Running = 1, - /// The workflow invocation succeeded. A terminal state. + /// The workflow invocation succeeded. A terminal state. Succeeded = 2, - /// The workflow invocation was cancelled. A terminal state. + /// The workflow invocation was cancelled. A terminal state. Cancelled = 3, - /// The workflow invocation failed. A terminal state. + /// The workflow invocation failed. A terminal state. Failed = 4, - /// The workflow invocation is being cancelled, but some actions are still - /// running. + /// The workflow invocation is being cancelled, but some actions are still + /// running. Canceling = 5, } impl State { @@ -1085,126 +1085,126 @@ pub mod workflow_invocation { } } } -/// `ListWorkflowInvocations` request message. +/// `ListWorkflowInvocations` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowInvocationsRequest { - /// Required. The parent resource of the WorkflowInvocation type. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The parent resource of the WorkflowInvocation type. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of workflow invocations to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of workflow invocations to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListWorkflowInvocations` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListWorkflowInvocations` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListWorkflowInvocations` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListWorkflowInvocations` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `ListWorkflowInvocations` response message. +/// `ListWorkflowInvocations` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowInvocationsResponse { - /// List of workflow invocations. + /// List of workflow invocations. #[prost(message, repeated, tag="1")] pub workflow_invocations: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetWorkflowInvocation` request message. +/// `GetWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateWorkflowInvocation` request message. +/// `CreateWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkflowInvocationRequest { - /// Required. The parent resource of the WorkflowInvocation type. + /// Required. The parent resource of the WorkflowInvocation type. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The workflow invocation resource to create. + /// Required. The workflow invocation resource to create. #[prost(message, optional, tag="2")] pub workflow_invocation: ::core::option::Option, } -/// `DeleteWorkflowInvocation` request message. +/// `DeleteWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CancelWorkflowInvocation` request message. +/// `CancelWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents a single action in a workflow invocation. +/// Represents a single action in a workflow invocation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowInvocationAction { - /// Output only. This action's identifier. Unique within the workflow invocation. + /// Output only. This action's identifier. Unique within the workflow invocation. #[prost(message, optional, tag="1")] pub target: ::core::option::Option, - /// Output only. The action's identifier if the project had been compiled without any - /// overrides configured. Unique within the compilation result. + /// Output only. The action's identifier if the project had been compiled without any + /// overrides configured. Unique within the compilation result. #[prost(message, optional, tag="2")] pub canonical_target: ::core::option::Option, - /// Output only. This action's current state. + /// Output only. This action's current state. #[prost(enumeration="workflow_invocation_action::State", tag="4")] pub state: i32, - /// Output only. If and only if action's state is FAILED a failure reason is set. + /// Output only. If and only if action's state is FAILED a failure reason is set. #[prost(string, tag="7")] pub failure_reason: ::prost::alloc::string::String, - /// Output only. This action's timing details. - /// `start_time` will be set if the action is in [RUNNING, SUCCEEDED, - /// CANCELLED, FAILED] state. - /// `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] - /// state. + /// Output only. This action's timing details. + /// `start_time` will be set if the action is in [RUNNING, SUCCEEDED, + /// CANCELLED, FAILED] state. + /// `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] + /// state. #[prost(message, optional, tag="5")] pub invocation_timing: ::core::option::Option, - /// Output only. The workflow action's bigquery action details. + /// Output only. The workflow action's bigquery action details. #[prost(message, optional, tag="6")] pub bigquery_action: ::core::option::Option, } /// Nested message and enum types in `WorkflowInvocationAction`. pub mod workflow_invocation_action { - /// Represents a workflow action that will run against BigQuery. + /// Represents a workflow action that will run against BigQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryAction { - /// Output only. The generated BigQuery SQL script that will be executed. + /// Output only. The generated BigQuery SQL script that will be executed. #[prost(string, tag="1")] pub sql_script: ::prost::alloc::string::String, } - /// Represents the current state of an workflow invocation action. + /// Represents the current state of an workflow invocation action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The action has not yet been considered for invocation. + /// The action has not yet been considered for invocation. Pending = 0, - /// The action is currently running. + /// The action is currently running. Running = 1, - /// Execution of the action was skipped because upstream dependencies did not - /// all complete successfully. A terminal state. + /// Execution of the action was skipped because upstream dependencies did not + /// all complete successfully. A terminal state. Skipped = 2, - /// Execution of the action was disabled as per the configuration of the - /// corresponding compilation result action. A terminal state. + /// Execution of the action was disabled as per the configuration of the + /// corresponding compilation result action. A terminal state. Disabled = 3, - /// The action succeeded. A terminal state. + /// The action succeeded. A terminal state. Succeeded = 4, - /// The action was cancelled. A terminal state. + /// The action was cancelled. A terminal state. Cancelled = 5, - /// The action failed. A terminal state. + /// The action failed. A terminal state. Failed = 6, } impl State { @@ -1225,34 +1225,34 @@ pub mod workflow_invocation_action { } } } -/// `QueryWorkflowInvocationActions` request message. +/// `QueryWorkflowInvocationActions` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWorkflowInvocationActionsRequest { - /// Required. The workflow invocation's name. + /// Required. The workflow invocation's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Maximum number of workflow invocations to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of workflow invocations to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryWorkflowInvocationActions` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryWorkflowInvocationActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `QueryWorkflowInvocationActions` response message. +/// `QueryWorkflowInvocationActions` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWorkflowInvocationActionsResponse { - /// List of workflow invocation actions. + /// List of workflow invocation actions. #[prost(message, repeated, tag="1")] pub workflow_invocation_actions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.dataform.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.dataform.v1beta1.rs index 9abdf9f93..5186a0e44 100644 --- a/gcloud-sdk/genproto/google.cloud.dataform.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.dataform.v1beta1.rs @@ -1,47 +1,47 @@ -/// Represents a Dataform Git repository. +/// Represents a Dataform Git repository. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Repository { - /// Output only. The repository's name. + /// Output only. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. If set, configures this repository to be linked to a Git remote. + /// Optional. If set, configures this repository to be linked to a Git remote. #[prost(message, optional, tag="2")] pub git_remote_settings: ::core::option::Option, } /// Nested message and enum types in `Repository`. pub mod repository { - /// Controls Git remote configuration for a repository. + /// Controls Git remote configuration for a repository. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GitRemoteSettings { - /// Required. The Git remote's URL. + /// Required. The Git remote's URL. #[prost(string, tag="1")] pub url: ::prost::alloc::string::String, - /// Required. The Git remote's default branch name. + /// Required. The Git remote's default branch name. #[prost(string, tag="2")] pub default_branch: ::prost::alloc::string::String, - /// Required. The name of the Secret Manager secret version to use as an - /// authentication token for Git operations. Must be in the format - /// `projects/*/secrets/*/versions/*`. + /// Required. The name of the Secret Manager secret version to use as an + /// authentication token for Git operations. Must be in the format + /// `projects/*/secrets/*/versions/*`. #[prost(string, tag="3")] pub authentication_token_secret_version: ::prost::alloc::string::String, - /// Output only. Indicates the status of the Git access token. + /// Output only. Indicates the status of the Git access token. #[prost(enumeration="git_remote_settings::TokenStatus", tag="4")] pub token_status: i32, } /// Nested message and enum types in `GitRemoteSettings`. pub mod git_remote_settings { - /// Indicates the status of a Git authentication token. + /// Indicates the status of a Git authentication token. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TokenStatus { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The token could not be found in Secret Manager (or the Dataform - /// Service Account did not have permission to access it). + /// The token could not be found in Secret Manager (or the Dataform + /// Service Account did not have permission to access it). NotFound = 1, - /// The token could not be used to authenticate against the Git remote. + /// The token could not be used to authenticate against the Git remote. Invalid = 2, - /// The token was used successfully to authenticate against the Git remote. + /// The token was used successfully to authenticate against the Git remote. Valid = 3, } impl TokenStatus { @@ -60,263 +60,263 @@ pub mod repository { } } } -/// `ListRepositories` request message. +/// `ListRepositories` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRepositoriesRequest { - /// Required. The location in which to list repositories. Must be in the format - /// `projects/*/locations/*`. + /// Required. The location in which to list repositories. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of repositories to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of repositories to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListRepositories` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListRepositories` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListRepositories` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListRepositories` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. This field only supports ordering by `name`. If unspecified, the server - /// will choose the ordering. If specified, the default order is ascending for - /// the `name` field. + /// Optional. This field only supports ordering by `name`. If unspecified, the server + /// will choose the ordering. If specified, the default order is ascending for + /// the `name` field. #[prost(string, tag="4")] pub order_by: ::prost::alloc::string::String, - /// Optional. Filter for the returned list. + /// Optional. Filter for the returned list. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// `ListRepositories` response message. +/// `ListRepositories` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRepositoriesResponse { - /// List of repositories. + /// List of repositories. #[prost(message, repeated, tag="1")] pub repositories: ::prost::alloc::vec::Vec, - /// A token which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetRepository` request message. +/// `GetRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRepositoryRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateRepository` request message. +/// `CreateRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRepositoryRequest { - /// Required. The location in which to create the repository. Must be in the format - /// `projects/*/locations/*`. + /// Required. The location in which to create the repository. Must be in the format + /// `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The repository to create. + /// Required. The repository to create. #[prost(message, optional, tag="2")] pub repository: ::core::option::Option, - /// Required. The ID to use for the repository, which will become the final component of - /// the repository's resource name. + /// Required. The ID to use for the repository, which will become the final component of + /// the repository's resource name. #[prost(string, tag="3")] pub repository_id: ::prost::alloc::string::String, } -/// `UpdateRepository` request message. +/// `UpdateRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateRepositoryRequest { - /// Optional. Specifies the fields to be updated in the repository. If left unset, - /// all fields will be updated. + /// Optional. Specifies the fields to be updated in the repository. If left unset, + /// all fields will be updated. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The repository to update. + /// Required. The repository to update. #[prost(message, optional, tag="2")] pub repository: ::core::option::Option, } -/// `DeleteRepository` request message. +/// `DeleteRepository` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRepositoryRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If set to true, any child resources of this repository will also be - /// deleted. (Otherwise, the request will only succeed if the repository has no - /// child resources.) + /// If set to true, any child resources of this repository will also be + /// deleted. (Otherwise, the request will only succeed if the repository has no + /// child resources.) #[prost(bool, tag="2")] pub force: bool, } -/// `FetchRemoteBranches` request message. +/// `FetchRemoteBranches` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchRemoteBranchesRequest { - /// Required. The repository's name. + /// Required. The repository's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `FetchRemoteBranches` response message. +/// `FetchRemoteBranches` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchRemoteBranchesResponse { - /// The remote repository's branch names. + /// The remote repository's branch names. #[prost(string, repeated, tag="1")] pub branches: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents a Dataform Git workspace. +/// Represents a Dataform Git workspace. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Workspace { - /// Output only. The workspace's name. + /// Output only. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `ListWorkspaces` request message. +/// `ListWorkspaces` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesRequest { - /// Required. The repository in which to list workspaces. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to list workspaces. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of workspaces to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of workspaces to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListWorkspaces` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListWorkspaces` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListWorkspaces` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListWorkspaces` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. This field only supports ordering by `name`. If unspecified, the server - /// will choose the ordering. If specified, the default order is ascending for - /// the `name` field. + /// Optional. This field only supports ordering by `name`. If unspecified, the server + /// will choose the ordering. If specified, the default order is ascending for + /// the `name` field. #[prost(string, tag="4")] pub order_by: ::prost::alloc::string::String, - /// Optional. Filter for the returned list. + /// Optional. Filter for the returned list. #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } -/// `ListWorkspaces` response message. +/// `ListWorkspaces` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkspacesResponse { - /// List of workspaces. + /// List of workspaces. #[prost(message, repeated, tag="1")] pub workspaces: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetWorkspace` request message. +/// `GetWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkspaceRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateWorkspace` request message. +/// `CreateWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkspaceRequest { - /// Required. The repository in which to create the workspace. Must be in the format - /// `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to create the workspace. Must be in the format + /// `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The workspace to create. + /// Required. The workspace to create. #[prost(message, optional, tag="2")] pub workspace: ::core::option::Option, - /// Required. The ID to use for the workspace, which will become the final component of - /// the workspace's resource name. + /// Required. The ID to use for the workspace, which will become the final component of + /// the workspace's resource name. #[prost(string, tag="3")] pub workspace_id: ::prost::alloc::string::String, } -/// `DeleteWorkspace` request message. +/// `DeleteWorkspace` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkspaceRequest { - /// Required. The workspace resource's name. + /// Required. The workspace resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the author of a Git commit. +/// Represents the author of a Git commit. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitAuthor { - /// Required. The commit author's name. + /// Required. The commit author's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The commit author's email address. + /// Required. The commit author's email address. #[prost(string, tag="2")] pub email_address: ::prost::alloc::string::String, } -/// `PullGitCommits` request message. +/// `PullGitCommits` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PullGitCommitsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote from which to pull commits. - /// If left unset, the repository's default branch name will be used. + /// Optional. The name of the branch in the Git remote from which to pull commits. + /// If left unset, the repository's default branch name will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, - /// Required. The author of any merge commit which may be created as a result of merging - /// fetched Git commits into this workspace. + /// Required. The author of any merge commit which may be created as a result of merging + /// fetched Git commits into this workspace. #[prost(message, optional, tag="3")] pub author: ::core::option::Option, } -/// `PushGitCommits` request message. +/// `PushGitCommits` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PushGitCommitsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote to which commits should be pushed. - /// If left unset, the repository's default branch name will be used. + /// Optional. The name of the branch in the Git remote to which commits should be pushed. + /// If left unset, the repository's default branch name will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, } -/// `FetchFileGitStatuses` request message. +/// `FetchFileGitStatuses` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileGitStatusesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `FetchFileGitStatuses` response message. +/// `FetchFileGitStatuses` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileGitStatusesResponse { - /// A list of all files which have uncommitted Git changes. There will only be - /// a single entry for any given file. + /// A list of all files which have uncommitted Git changes. There will only be + /// a single entry for any given file. #[prost(message, repeated, tag="1")] pub uncommitted_file_changes: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `FetchFileGitStatusesResponse`. pub mod fetch_file_git_statuses_response { - /// Represents the Git state of a file with uncommitted changes. + /// Represents the Git state of a file with uncommitted changes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UncommittedFileChange { - /// The file's full path including filename, relative to the workspace root. + /// The file's full path including filename, relative to the workspace root. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// Indicates the status of the file. + /// Indicates the status of the file. #[prost(enumeration="uncommitted_file_change::State", tag="2")] pub state: i32, } /// Nested message and enum types in `UncommittedFileChange`. pub mod uncommitted_file_change { - /// Indicates the status of an uncommitted file change. + /// Indicates the status of an uncommitted file change. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The file has been newly added. + /// The file has been newly added. Added = 1, - /// The file has been deleted. + /// The file has been deleted. Deleted = 2, - /// The file has been modified. + /// The file has been modified. Modified = 3, - /// The file contains merge conflicts. + /// The file contains merge conflicts. HasConflicts = 4, } impl State { @@ -336,114 +336,114 @@ pub mod fetch_file_git_statuses_response { } } } -/// `FetchGitAheadBehind` request message. +/// `FetchGitAheadBehind` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchGitAheadBehindRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The name of the branch in the Git remote against which this workspace - /// should be compared. If left unset, the repository's default branch name - /// will be used. + /// Optional. The name of the branch in the Git remote against which this workspace + /// should be compared. If left unset, the repository's default branch name + /// will be used. #[prost(string, tag="2")] pub remote_branch: ::prost::alloc::string::String, } -/// `FetchGitAheadBehind` response message. +/// `FetchGitAheadBehind` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchGitAheadBehindResponse { - /// The number of commits in the remote branch that are not in the workspace. + /// The number of commits in the remote branch that are not in the workspace. #[prost(int32, tag="1")] pub commits_ahead: i32, - /// The number of commits in the workspace that are not in the remote branch. + /// The number of commits in the workspace that are not in the remote branch. #[prost(int32, tag="2")] pub commits_behind: i32, } -/// `CommitWorkspaceChanges` request message. +/// `CommitWorkspaceChanges` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CommitWorkspaceChangesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The commit's author. + /// Required. The commit's author. #[prost(message, optional, tag="4")] pub author: ::core::option::Option, - /// Optional. The commit's message. + /// Optional. The commit's message. #[prost(string, tag="2")] pub commit_message: ::prost::alloc::string::String, - /// Optional. Full file paths to commit including filename, rooted at workspace root. If - /// left empty, all files will be committed. + /// Optional. Full file paths to commit including filename, rooted at workspace root. If + /// left empty, all files will be committed. #[prost(string, repeated, tag="3")] pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `ResetWorkspaceChanges` request message. +/// `ResetWorkspaceChanges` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResetWorkspaceChangesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Full file paths to reset back to their committed state including filename, - /// rooted at workspace root. If left empty, all files will be reset. + /// Optional. Full file paths to reset back to their committed state including filename, + /// rooted at workspace root. If left empty, all files will be reset. #[prost(string, repeated, tag="2")] pub paths: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. If set to true, untracked files will be deleted. + /// Optional. If set to true, untracked files will be deleted. #[prost(bool, tag="3")] pub clean: bool, } -/// `FetchFileDiff` request message. +/// `FetchFileDiff` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileDiffRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `FetchFileDiff` response message. +/// `FetchFileDiff` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchFileDiffResponse { - /// The raw formatted Git diff for the file. + /// The raw formatted Git diff for the file. #[prost(string, tag="1")] pub formatted_diff: ::prost::alloc::string::String, } -/// `QueryDirectoryContents` request message. +/// `QueryDirectoryContents` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDirectoryContentsRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Optional. The directory's full path including directory name, relative to the - /// workspace root. If left unset, the workspace root is used. + /// Optional. The directory's full path including directory name, relative to the + /// workspace root. If left unset, the workspace root is used. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Optional. Maximum number of paths to return. The server may return fewer - /// items than requested. If unspecified, the server will pick an appropriate - /// default. + /// Optional. Maximum number of paths to return. The server may return fewer + /// items than requested. If unspecified, the server will pick an appropriate + /// default. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryDirectoryContents` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryDirectoryContents` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryDirectoryContents` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryDirectoryContents` must match the call that provided the page + /// token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// `QueryDirectoryContents` response message. +/// `QueryDirectoryContents` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDirectoryContentsResponse { - /// List of entries in the directory. + /// List of entries in the directory. #[prost(message, repeated, tag="1")] pub directory_entries: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } /// Nested message and enum types in `QueryDirectoryContentsResponse`. pub mod query_directory_contents_response { - /// Represents a single entry in a workspace directory. + /// Represents a single entry in a workspace directory. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DirectoryEntry { #[prost(oneof="directory_entry::Entry", tags="1, 2")] @@ -453,146 +453,146 @@ pub mod query_directory_contents_response { pub mod directory_entry { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Entry { - /// A file in the directory. + /// A file in the directory. #[prost(string, tag="1")] File(::prost::alloc::string::String), - /// A child directory in the directory. + /// A child directory in the directory. #[prost(string, tag="2")] Directory(::prost::alloc::string::String), } } } -/// `MakeDirectory` request message. +/// `MakeDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MakeDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MakeDirectory` response message. +/// `MakeDirectory` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MakeDirectoryResponse { } -/// `RemoveDirectory` request message. +/// `RemoveDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MoveDirectory` request message. +/// `MoveDirectory` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveDirectoryRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The directory's full path including directory name, relative to the - /// workspace root. + /// Required. The directory's full path including directory name, relative to the + /// workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The new path for the directory including directory name, rooted at - /// workspace root. + /// Required. The new path for the directory including directory name, rooted at + /// workspace root. #[prost(string, tag="3")] pub new_path: ::prost::alloc::string::String, } -/// `MoveDirectory` response message. +/// `MoveDirectory` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveDirectoryResponse { } -/// `ReadFile` request message. +/// `ReadFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `ReadFile` response message. +/// `ReadFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReadFileResponse { - /// The file's contents. + /// The file's contents. #[prost(bytes="vec", tag="1")] pub file_contents: ::prost::alloc::vec::Vec, } -/// `RemoveFile` request message. +/// `RemoveFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, } -/// `MoveFile` request message. +/// `MoveFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file's full path including filename, relative to the workspace root. + /// Required. The file's full path including filename, relative to the workspace root. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The file's new path including filename, relative to the workspace root. + /// Required. The file's new path including filename, relative to the workspace root. #[prost(string, tag="3")] pub new_path: ::prost::alloc::string::String, } -/// `MoveFile` response message. +/// `MoveFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MoveFileResponse { } -/// `WriteFile` request message. +/// `WriteFile` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFileRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, - /// Required. The file. + /// Required. The file. #[prost(string, tag="2")] pub path: ::prost::alloc::string::String, - /// Required. The file's contents. + /// Required. The file's contents. #[prost(bytes="vec", tag="3")] pub contents: ::prost::alloc::vec::Vec, } -/// `WriteFile` response message. +/// `WriteFile` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WriteFileResponse { } -/// `InstallNpmPackages` request message. +/// `InstallNpmPackages` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstallNpmPackagesRequest { - /// Required. The workspace's name. + /// Required. The workspace's name. #[prost(string, tag="1")] pub workspace: ::prost::alloc::string::String, } -/// `InstallNpmPackages` response message. +/// `InstallNpmPackages` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstallNpmPackagesResponse { } -/// Represents the result of compiling a Dataform project. +/// Represents the result of compiling a Dataform project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationResult { - /// Output only. The compilation result's name. + /// Output only. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. If set, fields of `code_compilation_overrides` override the default - /// compilation settings that are specified in dataform.json. + /// Immutable. If set, fields of `code_compilation_overrides` override the default + /// compilation settings that are specified in dataform.json. #[prost(message, optional, tag="4")] pub code_compilation_config: ::core::option::Option, - /// Output only. The version of `@dataform/core` that was used for compilation. + /// Output only. The version of `@dataform/core` that was used for compilation. #[prost(string, tag="5")] pub dataform_core_version: ::prost::alloc::string::String, - /// Output only. Errors encountered during project compilation. + /// Output only. Errors encountered during project compilation. #[prost(message, repeated, tag="6")] pub compilation_errors: ::prost::alloc::vec::Vec, #[prost(oneof="compilation_result::Source", tags="2, 3")] @@ -600,180 +600,180 @@ pub struct CompilationResult { } /// Nested message and enum types in `CompilationResult`. pub mod compilation_result { - /// Configures various aspects of Dataform code compilation. + /// Configures various aspects of Dataform code compilation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CodeCompilationConfig { - /// Optional. The default database (Google Cloud project ID). + /// Optional. The default database (Google Cloud project ID). #[prost(string, tag="1")] pub default_database: ::prost::alloc::string::String, - /// Optional. The default schema (BigQuery dataset ID). + /// Optional. The default schema (BigQuery dataset ID). #[prost(string, tag="2")] pub default_schema: ::prost::alloc::string::String, - /// Optional. The default BigQuery location to use. Defaults to "US". - /// See the BigQuery docs for a full list of locations: - /// + /// Optional. The default BigQuery location to use. Defaults to "US". + /// See the BigQuery docs for a full list of locations: + /// #[prost(string, tag="8")] pub default_location: ::prost::alloc::string::String, - /// Optional. The default schema (BigQuery dataset ID) for assertions. + /// Optional. The default schema (BigQuery dataset ID) for assertions. #[prost(string, tag="3")] pub assertion_schema: ::prost::alloc::string::String, - /// Optional. User-defined variables that are made available to project code during - /// compilation. + /// Optional. User-defined variables that are made available to project code during + /// compilation. #[prost(map="string, string", tag="4")] pub vars: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The suffix that should be appended to all database (Google Cloud project - /// ID) names. + /// Optional. The suffix that should be appended to all database (Google Cloud project + /// ID) names. #[prost(string, tag="5")] pub database_suffix: ::prost::alloc::string::String, - /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) - /// names. + /// Optional. The suffix that should be appended to all schema (BigQuery dataset ID) + /// names. #[prost(string, tag="6")] pub schema_suffix: ::prost::alloc::string::String, - /// Optional. The prefix that should be prepended to all table names. + /// Optional. The prefix that should be prepended to all table names. #[prost(string, tag="7")] pub table_prefix: ::prost::alloc::string::String, } - /// An error encountered when attempting to compile a Dataform project. + /// An error encountered when attempting to compile a Dataform project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationError { - /// Output only. The error's top level message. + /// Output only. The error's top level message. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// Output only. The error's full stack trace. + /// Output only. The error's full stack trace. #[prost(string, tag="2")] pub stack: ::prost::alloc::string::String, - /// Output only. The path of the file where this error occurred, if available, relative to - /// the project root. + /// Output only. The path of the file where this error occurred, if available, relative to + /// the project root. #[prost(string, tag="3")] pub path: ::prost::alloc::string::String, - /// Output only. The identifier of the action where this error occurred, if available. + /// Output only. The identifier of the action where this error occurred, if available. #[prost(message, optional, tag="4")] pub action_target: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Immutable. Git commit/tag/branch name at which the repository should be compiled. - /// Must exist in the remote repository. - /// Examples: - /// - a commit SHA: `12ade345` - /// - a tag: `tag1` - /// - a branch name: `branch1` + /// Immutable. Git commit/tag/branch name at which the repository should be compiled. + /// Must exist in the remote repository. + /// Examples: + /// - a commit SHA: `12ade345` + /// - a tag: `tag1` + /// - a branch name: `branch1` #[prost(string, tag="2")] GitCommitish(::prost::alloc::string::String), - /// Immutable. The name of the workspace to compile. Must be in the format - /// `projects/*/locations/*/repositories/*/workspaces/*`. + /// Immutable. The name of the workspace to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/workspaces/*`. #[prost(string, tag="3")] Workspace(::prost::alloc::string::String), } } -/// `ListCompilationResults` request message. +/// `ListCompilationResults` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCompilationResultsRequest { - /// Required. The repository in which to list compilation results. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to list compilation results. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of compilation results to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of compilation results to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListCompilationResults` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListCompilationResults` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListCompilationResults` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListCompilationResults` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `ListCompilationResults` response message. +/// `ListCompilationResults` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListCompilationResultsResponse { - /// List of compilation results. + /// List of compilation results. #[prost(message, repeated, tag="1")] pub compilation_results: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetCompilationResult` request message. +/// `GetCompilationResult` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetCompilationResultRequest { - /// Required. The compilation result's name. + /// Required. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateCompilationResult` request message. +/// `CreateCompilationResult` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateCompilationResultRequest { - /// Required. The repository in which to create the compilation result. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to create the compilation result. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The compilation result to create. + /// Required. The compilation result to create. #[prost(message, optional, tag="2")] pub compilation_result: ::core::option::Option, } -/// Represents an action identifier. If the action writes output, the output -/// will be written to the referenced database object. +/// Represents an action identifier. If the action writes output, the output +/// will be written to the referenced database object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Target { - /// The action's database (Google Cloud project ID) . + /// The action's database (Google Cloud project ID) . #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// The action's schema (BigQuery dataset ID), within `database`. + /// The action's schema (BigQuery dataset ID), within `database`. #[prost(string, tag="2")] pub schema: ::prost::alloc::string::String, - /// The action's name, within `database` and `schema`. + /// The action's name, within `database` and `schema`. #[prost(string, tag="3")] pub name: ::prost::alloc::string::String, } -/// Describes a relation and its columns. +/// Describes a relation and its columns. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RelationDescriptor { - /// A text description of the relation. + /// A text description of the relation. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// A list of descriptions of columns within the relation. + /// A list of descriptions of columns within the relation. #[prost(message, repeated, tag="2")] pub columns: ::prost::alloc::vec::Vec, - /// A set of BigQuery labels that should be applied to the relation. + /// A set of BigQuery labels that should be applied to the relation. #[prost(map="string, string", tag="3")] pub bigquery_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `RelationDescriptor`. pub mod relation_descriptor { - /// Describes a column. + /// Describes a column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnDescriptor { - /// The identifier for the column. Each entry in `path` represents one level - /// of nesting. + /// The identifier for the column. Each entry in `path` represents one level + /// of nesting. #[prost(string, repeated, tag="1")] pub path: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A textual description of the column. + /// A textual description of the column. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// A list of BigQuery policy tags that will be applied to the column. + /// A list of BigQuery policy tags that will be applied to the column. #[prost(string, repeated, tag="3")] pub bigquery_policy_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } } -/// Represents a single Dataform action in a compilation result. +/// Represents a single Dataform action in a compilation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompilationResultAction { - /// This action's identifier. Unique within the compilation result. + /// This action's identifier. Unique within the compilation result. #[prost(message, optional, tag="1")] pub target: ::core::option::Option, - /// The action's identifier if the project had been compiled without any - /// overrides configured. Unique within the compilation result. + /// The action's identifier if the project had been compiled without any + /// overrides configured. Unique within the compilation result. #[prost(message, optional, tag="2")] pub canonical_target: ::core::option::Option, - /// The full path including filename in which this action is located, relative - /// to the workspace root. + /// The full path including filename in which this action is located, relative + /// to the workspace root. #[prost(string, tag="3")] pub file_path: ::prost::alloc::string::String, #[prost(oneof="compilation_result_action::CompiledObject", tags="4, 5, 6, 7")] @@ -781,102 +781,102 @@ pub struct CompilationResultAction { } /// Nested message and enum types in `CompilationResultAction`. pub mod compilation_result_action { - /// Represents a database relation. + /// Represents a database relation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Relation { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Descriptor for the relation and its columns. + /// Descriptor for the relation and its columns. #[prost(message, optional, tag="4")] pub relation_descriptor: ::core::option::Option, - /// The type of this relation. + /// The type of this relation. #[prost(enumeration="relation::RelationType", tag="5")] pub relation_type: i32, - /// The SELECT query which returns rows which this relation should contain. + /// The SELECT query which returns rows which this relation should contain. #[prost(string, tag="6")] pub select_query: ::prost::alloc::string::String, - /// SQL statements to be executed before creating the relation. + /// SQL statements to be executed before creating the relation. #[prost(string, repeated, tag="7")] pub pre_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL statements to be executed after creating the relation. + /// SQL statements to be executed after creating the relation. #[prost(string, repeated, tag="8")] pub post_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if - /// `relation_type` is `INCREMENTAL_TABLE`. + /// Configures `INCREMENTAL_TABLE` settings for this relation. Only set if + /// `relation_type` is `INCREMENTAL_TABLE`. #[prost(message, optional, tag="9")] pub incremental_table_config: ::core::option::Option, - /// The SQL expression used to partition the relation. + /// The SQL expression used to partition the relation. #[prost(string, tag="10")] pub partition_expression: ::prost::alloc::string::String, - /// A list of columns or SQL expressions used to cluster the table. + /// A list of columns or SQL expressions used to cluster the table. #[prost(string, repeated, tag="11")] pub cluster_expressions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Sets the partition expiration in days. + /// Sets the partition expiration in days. #[prost(int32, tag="12")] pub partition_expiration_days: i32, - /// Specifies whether queries on this table must include a predicate filter - /// that filters on the partitioning column. + /// Specifies whether queries on this table must include a predicate filter + /// that filters on the partitioning column. #[prost(bool, tag="13")] pub require_partition_filter: bool, - /// Additional options that will be provided as key/value pairs into the - /// options clause of a create table/view statement. See - /// - /// for more information on which options are supported. + /// Additional options that will be provided as key/value pairs into the + /// options clause of a create table/view statement. See + /// + /// for more information on which options are supported. #[prost(map="string, string", tag="14")] pub additional_options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } /// Nested message and enum types in `Relation`. pub mod relation { - /// Contains settings for relations of type `INCREMENTAL_TABLE`. + /// Contains settings for relations of type `INCREMENTAL_TABLE`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncrementalTableConfig { - /// The SELECT query which returns rows which should be inserted into the - /// relation if it already exists and is not being refreshed. + /// The SELECT query which returns rows which should be inserted into the + /// relation if it already exists and is not being refreshed. #[prost(string, tag="1")] pub incremental_select_query: ::prost::alloc::string::String, - /// Whether this table should be protected from being refreshed. + /// Whether this table should be protected from being refreshed. #[prost(bool, tag="2")] pub refresh_disabled: bool, - /// A set of columns or SQL expressions used to define row uniqueness. - /// If any duplicates are discovered (as defined by `unique_key_parts`), - /// only the newly selected rows (as defined by `incremental_select_query`) - /// will be included in the relation. + /// A set of columns or SQL expressions used to define row uniqueness. + /// If any duplicates are discovered (as defined by `unique_key_parts`), + /// only the newly selected rows (as defined by `incremental_select_query`) + /// will be included in the relation. #[prost(string, repeated, tag="3")] pub unique_key_parts: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A SQL expression conditional used to limit the set of existing rows - /// considered for a merge operation (see `unique_key_parts` for more - /// information). + /// A SQL expression conditional used to limit the set of existing rows + /// considered for a merge operation (see `unique_key_parts` for more + /// information). #[prost(string, tag="4")] pub update_partition_filter: ::prost::alloc::string::String, - /// SQL statements to be executed before inserting new rows into the - /// relation. + /// SQL statements to be executed before inserting new rows into the + /// relation. #[prost(string, repeated, tag="5")] pub incremental_pre_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// SQL statements to be executed after inserting new rows into the - /// relation. + /// SQL statements to be executed after inserting new rows into the + /// relation. #[prost(string, repeated, tag="6")] pub incremental_post_operations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Indicates the type of this relation. + /// Indicates the type of this relation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RelationType { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The relation is a table. + /// The relation is a table. Table = 1, - /// The relation is a view. + /// The relation is a view. View = 2, - /// The relation is an incrementalized table. + /// The relation is an incrementalized table. IncrementalTable = 3, - /// The relation is a materialized view. + /// The relation is a materialized view. MaterializedView = 4, } impl RelationType { @@ -895,177 +895,177 @@ pub mod compilation_result_action { } } } - /// Represents a list of arbitrary database operations. + /// Represents a list of arbitrary database operations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Operations { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Descriptor for any output relation and its columns. Only set if - /// `has_output` is true. + /// Descriptor for any output relation and its columns. Only set if + /// `has_output` is true. #[prost(message, optional, tag="6")] pub relation_descriptor: ::core::option::Option, - /// A list of arbitrary SQL statements that will be executed without - /// alteration. + /// A list of arbitrary SQL statements that will be executed without + /// alteration. #[prost(string, repeated, tag="4")] pub queries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Whether these operations produce an output relation. + /// Whether these operations produce an output relation. #[prost(bool, tag="5")] pub has_output: bool, } - /// Represents an assertion upon a SQL query which is required return zero - /// rows. + /// Represents an assertion upon a SQL query which is required return zero + /// rows. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Assertion { - /// A list of actions that this action depends on. + /// A list of actions that this action depends on. #[prost(message, repeated, tag="1")] pub dependency_targets: ::prost::alloc::vec::Vec, - /// The parent action of this assertion. Only set if this assertion was - /// automatically generated. + /// The parent action of this assertion. Only set if this assertion was + /// automatically generated. #[prost(message, optional, tag="5")] pub parent_action: ::core::option::Option, - /// Whether this action is disabled (i.e. should not be run). + /// Whether this action is disabled (i.e. should not be run). #[prost(bool, tag="2")] pub disabled: bool, - /// Arbitrary, user-defined tags on this action. + /// Arbitrary, user-defined tags on this action. #[prost(string, repeated, tag="3")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The SELECT query which must return zero rows in order for this assertion - /// to succeed. + /// The SELECT query which must return zero rows in order for this assertion + /// to succeed. #[prost(string, tag="4")] pub select_query: ::prost::alloc::string::String, - /// Descriptor for the assertion's automatically-generated view and its - /// columns. + /// Descriptor for the assertion's automatically-generated view and its + /// columns. #[prost(message, optional, tag="6")] pub relation_descriptor: ::core::option::Option, } - /// Represents a relation which is not managed by Dataform but which may be - /// referenced by Dataform actions. + /// Represents a relation which is not managed by Dataform but which may be + /// referenced by Dataform actions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Declaration { - /// Descriptor for the relation and its columns. Used as documentation only, - /// i.e. values here will result in no changes to the relation's metadata. + /// Descriptor for the relation and its columns. Used as documentation only, + /// i.e. values here will result in no changes to the relation's metadata. #[prost(message, optional, tag="1")] pub relation_descriptor: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CompiledObject { - /// The database relation created/updated by this action. + /// The database relation created/updated by this action. #[prost(message, tag="4")] Relation(Relation), - /// The database operations executed by this action. + /// The database operations executed by this action. #[prost(message, tag="5")] Operations(Operations), - /// The assertion executed by this action. + /// The assertion executed by this action. #[prost(message, tag="6")] Assertion(Assertion), - /// The declaration declared by this action. + /// The declaration declared by this action. #[prost(message, tag="7")] Declaration(Declaration), } } -/// `QueryCompilationResultActions` request message. +/// `QueryCompilationResultActions` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCompilationResultActionsRequest { - /// Required. The compilation result's name. + /// Required. The compilation result's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Maximum number of compilation results to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of compilation results to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryCompilationResultActions` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryCompilationResultActions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryCompilationResultActions` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryCompilationResultActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Optional filter for the returned list. Filtering is only currently - /// supported on the `file_path` field. + /// Optional. Optional filter for the returned list. Filtering is only currently + /// supported on the `file_path` field. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// `QueryCompilationResultActions` response message. +/// `QueryCompilationResultActions` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryCompilationResultActionsResponse { - /// List of compilation result actions. + /// List of compilation result actions. #[prost(message, repeated, tag="1")] pub compilation_result_actions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Represents a single invocation of a compilation result. +/// Represents a single invocation of a compilation result. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowInvocation { - /// Output only. The workflow invocation's name. + /// Output only. The workflow invocation's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Immutable. The name of the compilation result to compile. Must be in the format - /// `projects/*/locations/*/repositories/*/compilationResults/*`. + /// Immutable. The name of the compilation result to compile. Must be in the format + /// `projects/*/locations/*/repositories/*/compilationResults/*`. #[prost(string, tag="2")] pub compilation_result: ::prost::alloc::string::String, - /// Immutable. If left unset, a default InvocationConfig will be used. + /// Immutable. If left unset, a default InvocationConfig will be used. #[prost(message, optional, tag="3")] pub invocation_config: ::core::option::Option, - /// Output only. This workflow invocation's current state. + /// Output only. This workflow invocation's current state. #[prost(enumeration="workflow_invocation::State", tag="4")] pub state: i32, - /// Output only. This workflow invocation's timing details. + /// Output only. This workflow invocation's timing details. #[prost(message, optional, tag="5")] pub invocation_timing: ::core::option::Option, } /// Nested message and enum types in `WorkflowInvocation`. pub mod workflow_invocation { - /// Includes various configuration options for this workflow invocation. - /// If both `included_targets` and `included_tags` are unset, all actions - /// will be included. + /// Includes various configuration options for this workflow invocation. + /// If both `included_targets` and `included_tags` are unset, all actions + /// will be included. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvocationConfig { - /// Immutable. The set of action identifiers to include. + /// Immutable. The set of action identifiers to include. #[prost(message, repeated, tag="1")] pub included_targets: ::prost::alloc::vec::Vec, - /// Immutable. The set of tags to include. + /// Immutable. The set of tags to include. #[prost(string, repeated, tag="2")] pub included_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Immutable. When set to true, transitive dependencies of included actions will be - /// executed. + /// Immutable. When set to true, transitive dependencies of included actions will be + /// executed. #[prost(bool, tag="3")] pub transitive_dependencies_included: bool, - /// Immutable. When set to true, transitive dependents of included actions will be - /// executed. + /// Immutable. When set to true, transitive dependents of included actions will be + /// executed. #[prost(bool, tag="4")] pub transitive_dependents_included: bool, - /// Immutable. When set to true, any incremental tables will be fully refreshed. + /// Immutable. When set to true, any incremental tables will be fully refreshed. #[prost(bool, tag="5")] pub fully_refresh_incremental_tables_enabled: bool, } - /// Represents the current state of a workflow invocation. + /// Represents the current state of a workflow invocation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// The workflow invocation is currently running. + /// The workflow invocation is currently running. Running = 1, - /// The workflow invocation succeeded. A terminal state. + /// The workflow invocation succeeded. A terminal state. Succeeded = 2, - /// The workflow invocation was cancelled. A terminal state. + /// The workflow invocation was cancelled. A terminal state. Cancelled = 3, - /// The workflow invocation failed. A terminal state. + /// The workflow invocation failed. A terminal state. Failed = 4, - /// The workflow invocation is being cancelled, but some actions are still - /// running. + /// The workflow invocation is being cancelled, but some actions are still + /// running. Canceling = 5, } impl State { @@ -1085,127 +1085,127 @@ pub mod workflow_invocation { } } } -/// `ListWorkflowInvocations` request message. +/// `ListWorkflowInvocations` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowInvocationsRequest { - /// Required. The parent resource of the WorkflowInvocation type. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The parent resource of the WorkflowInvocation type. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of workflow invocations to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of workflow invocations to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListWorkflowInvocations` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `ListWorkflowInvocations` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListWorkflowInvocations` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListWorkflowInvocations` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `ListWorkflowInvocations` response message. +/// `ListWorkflowInvocations` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowInvocationsResponse { - /// List of workflow invocations. + /// List of workflow invocations. #[prost(message, repeated, tag="1")] pub workflow_invocations: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations which could not be reached. + /// Locations which could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// `GetWorkflowInvocation` request message. +/// `GetWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CreateWorkflowInvocation` request message. +/// `CreateWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkflowInvocationRequest { - /// Required. The repository in which to create the workflow invocation. Must be in the - /// format `projects/*/locations/*/repositories/*`. + /// Required. The repository in which to create the workflow invocation. Must be in the + /// format `projects/*/locations/*/repositories/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The workflow invocation resource to create. + /// Required. The workflow invocation resource to create. #[prost(message, optional, tag="2")] pub workflow_invocation: ::core::option::Option, } -/// `DeleteWorkflowInvocation` request message. +/// `DeleteWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// `CancelWorkflowInvocation` request message. +/// `CancelWorkflowInvocation` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelWorkflowInvocationRequest { - /// Required. The workflow invocation resource's name. + /// Required. The workflow invocation resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents a single action in a workflow invocation. +/// Represents a single action in a workflow invocation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowInvocationAction { - /// Output only. This action's identifier. Unique within the workflow invocation. + /// Output only. This action's identifier. Unique within the workflow invocation. #[prost(message, optional, tag="1")] pub target: ::core::option::Option, - /// Output only. The action's identifier if the project had been compiled without any - /// overrides configured. Unique within the compilation result. + /// Output only. The action's identifier if the project had been compiled without any + /// overrides configured. Unique within the compilation result. #[prost(message, optional, tag="2")] pub canonical_target: ::core::option::Option, - /// Output only. This action's current state. + /// Output only. This action's current state. #[prost(enumeration="workflow_invocation_action::State", tag="4")] pub state: i32, - /// Output only. If and only if action's state is FAILED a failure reason is set. + /// Output only. If and only if action's state is FAILED a failure reason is set. #[prost(string, tag="7")] pub failure_reason: ::prost::alloc::string::String, - /// Output only. This action's timing details. - /// `start_time` will be set if the action is in [RUNNING, SUCCEEDED, - /// CANCELLED, FAILED] state. - /// `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] - /// state. + /// Output only. This action's timing details. + /// `start_time` will be set if the action is in [RUNNING, SUCCEEDED, + /// CANCELLED, FAILED] state. + /// `end_time` will be set if the action is in [SUCCEEDED, CANCELLED, FAILED] + /// state. #[prost(message, optional, tag="5")] pub invocation_timing: ::core::option::Option, - /// Output only. The workflow action's bigquery action details. + /// Output only. The workflow action's bigquery action details. #[prost(message, optional, tag="6")] pub bigquery_action: ::core::option::Option, } /// Nested message and enum types in `WorkflowInvocationAction`. pub mod workflow_invocation_action { - /// Represents a workflow action that will run against BigQuery. + /// Represents a workflow action that will run against BigQuery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryAction { - /// Output only. The generated BigQuery SQL script that will be executed. + /// Output only. The generated BigQuery SQL script that will be executed. #[prost(string, tag="1")] pub sql_script: ::prost::alloc::string::String, } - /// Represents the current state of an workflow invocation action. + /// Represents the current state of an workflow invocation action. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The action has not yet been considered for invocation. + /// The action has not yet been considered for invocation. Pending = 0, - /// The action is currently running. + /// The action is currently running. Running = 1, - /// Execution of the action was skipped because upstream dependencies did not - /// all complete successfully. A terminal state. + /// Execution of the action was skipped because upstream dependencies did not + /// all complete successfully. A terminal state. Skipped = 2, - /// Execution of the action was disabled as per the configuration of the - /// corresponding compilation result action. A terminal state. + /// Execution of the action was disabled as per the configuration of the + /// corresponding compilation result action. A terminal state. Disabled = 3, - /// The action succeeded. A terminal state. + /// The action succeeded. A terminal state. Succeeded = 4, - /// The action was cancelled. A terminal state. + /// The action was cancelled. A terminal state. Cancelled = 5, - /// The action failed. A terminal state. + /// The action failed. A terminal state. Failed = 6, } impl State { @@ -1226,34 +1226,34 @@ pub mod workflow_invocation_action { } } } -/// `QueryWorkflowInvocationActions` request message. +/// `QueryWorkflowInvocationActions` request message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWorkflowInvocationActionsRequest { - /// Required. The workflow invocation's name. + /// Required. The workflow invocation's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Maximum number of workflow invocations to return. The server may return - /// fewer items than requested. If unspecified, the server will pick an - /// appropriate default. + /// Optional. Maximum number of workflow invocations to return. The server may return + /// fewer items than requested. If unspecified, the server will pick an + /// appropriate default. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. - /// Provide this to retrieve the subsequent page. + /// Optional. Page token received from a previous `QueryWorkflowInvocationActions` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `QueryWorkflowInvocationActions` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `QueryWorkflowInvocationActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// `QueryWorkflowInvocationActions` response message. +/// `QueryWorkflowInvocationActions` response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryWorkflowInvocationActionsResponse { - /// List of workflow invocation actions. + /// List of workflow invocation actions. #[prost(message, repeated, tag="1")] pub workflow_invocation_actions: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.datafusion.v1.rs b/gcloud-sdk/genproto/google.cloud.datafusion.v1.rs index 943691777..a732f9eb8 100644 --- a/gcloud-sdk/genproto/google.cloud.datafusion.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.datafusion.v1.rs @@ -1,51 +1,51 @@ -/// Network configuration for a Data Fusion instance. These configurations -/// are used for peering with the customer network. Configurations are optional -/// when a public Data Fusion instance is to be created. However, providing -/// these configurations allows several benefits, such as reduced network latency -/// while accessing the customer resources from managed Data Fusion instance -/// nodes, as well as access to the customer on-prem resources. +/// Network configuration for a Data Fusion instance. These configurations +/// are used for peering with the customer network. Configurations are optional +/// when a public Data Fusion instance is to be created. However, providing +/// these configurations allows several benefits, such as reduced network latency +/// while accessing the customer resources from managed Data Fusion instance +/// nodes, as well as access to the customer on-prem resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkConfig { - /// Name of the network in the customer project with which the Tenant Project - /// will be peered for executing pipelines. In case of shared VPC where the - /// network resides in another host project the network should specified in - /// the form of projects/{host-project-id}/global/networks/{network} + /// Name of the network in the customer project with which the Tenant Project + /// will be peered for executing pipelines. In case of shared VPC where the + /// network resides in another host project the network should specified in + /// the form of projects/{host-project-id}/global/networks/{network} #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// The IP range in CIDR notation to use for the managed Data Fusion instance - /// nodes. This range must not overlap with any other ranges used in the - /// customer network. + /// The IP range in CIDR notation to use for the managed Data Fusion instance + /// nodes. This range must not overlap with any other ranges used in the + /// customer network. #[prost(string, tag="2")] pub ip_allocation: ::prost::alloc::string::String, } -/// The Data Fusion version. This proto message stores information about certain -/// Data Fusion version, which is used for Data Fusion version upgrade. +/// The Data Fusion version. This proto message stores information about certain +/// Data Fusion version, which is used for Data Fusion version upgrade. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Version { - /// The version number of the Data Fusion instance, such as '6.0.1.0'. + /// The version number of the Data Fusion instance, such as '6.0.1.0'. #[prost(string, tag="1")] pub version_number: ::prost::alloc::string::String, - /// Whether this is currently the default version for Cloud Data Fusion + /// Whether this is currently the default version for Cloud Data Fusion #[prost(bool, tag="2")] pub default_version: bool, - /// Represents a list of available feature names for a given version. + /// Represents a list of available feature names for a given version. #[prost(string, repeated, tag="3")] pub available_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Type represents the release availability of the version + /// Type represents the release availability of the version #[prost(enumeration="version::Type", tag="4")] pub r#type: i32, } /// Nested message and enum types in `Version`. pub mod version { - /// Each type represents the release availability of a CDF version + /// Each type represents the release availability of a CDF version #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Version does not have availability yet + /// Version does not have availability yet Unspecified = 0, - /// Version is under development and not considered stable + /// Version is under development and not considered stable Preview = 1, - /// Version is available for public use + /// Version is available for public use GeneralAvailability = 2, } impl Type { @@ -62,33 +62,33 @@ pub mod version { } } } -/// Identifies Data Fusion accelerators for an instance. +/// Identifies Data Fusion accelerators for an instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Accelerator { - /// The type of an accelator for a CDF instance. + /// The type of an accelator for a CDF instance. #[prost(enumeration="accelerator::AcceleratorType", tag="1")] pub accelerator_type: i32, - /// The state of the accelerator + /// The state of the accelerator #[prost(enumeration="accelerator::State", tag="2")] pub state: i32, } /// Nested message and enum types in `Accelerator`. pub mod accelerator { - /// Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion - /// service. + /// Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion + /// service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AcceleratorType { - /// Default value, if unspecified. + /// Default value, if unspecified. Unspecified = 0, - /// Change Data Capture accelerator for CDF. + /// Change Data Capture accelerator for CDF. Cdc = 1, - /// Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud - /// Healthcare specific CDF plugins developed by Healthcare team. + /// Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud + /// Healthcare specific CDF plugins developed by Healthcare team. Healthcare = 2, - /// Contact Center AI Insights - /// This accelerator is used to enable import and export pipelines - /// custom built to streamline CCAI Insights processing. + /// Contact Center AI Insights + /// This accelerator is used to enable import and export pipelines + /// custom built to streamline CCAI Insights processing. CcaiInsights = 3, } impl AcceleratorType { @@ -105,18 +105,18 @@ pub mod accelerator { } } } - /// Different values possible for the state of an accelerator + /// Different values possible for the state of an accelerator #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value, do not use + /// Default value, do not use Unspecified = 0, - /// Indicates that the accelerator is enabled and available to use + /// Indicates that the accelerator is enabled and available to use Enabled = 1, - /// Indicates that the accelerator is disabled and not available to use + /// Indicates that the accelerator is disabled and not available to use Disabled = 2, - /// Indicates that accelerator state is currently unknown. - /// Requests for enable, disable could be retried while in this state + /// Indicates that accelerator state is currently unknown. + /// Requests for enable, disable could be retried while in this state Unknown = 3, } impl State { @@ -134,142 +134,142 @@ pub mod accelerator { } } } -/// The crypto key configuration. This field is used by the Customer-managed -/// encryption keys (CMEK) feature. +/// The crypto key configuration. This field is used by the Customer-managed +/// encryption keys (CMEK) feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CryptoKeyConfig { - /// The name of the key which is used to encrypt/decrypt customer data. For key - /// in Cloud KMS, the key should be in the format of - /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + /// The name of the key which is used to encrypt/decrypt customer data. For key + /// in Cloud KMS, the key should be in the format of + /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. #[prost(string, tag="1")] pub key_reference: ::prost::alloc::string::String, } -/// Represents a Data Fusion instance. +/// Represents a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Output only. The name of this instance is in the form of - /// projects/{project}/locations/{location}/instances/{instance}. + /// Output only. The name of this instance is in the form of + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A description of this instance. + /// A description of this instance. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. Instance type. + /// Required. Instance type. #[prost(enumeration="instance::Type", tag="3")] pub r#type: i32, - /// Option to enable Stackdriver Logging. + /// Option to enable Stackdriver Logging. #[prost(bool, tag="4")] pub enable_stackdriver_logging: bool, - /// Option to enable Stackdriver Monitoring. + /// Option to enable Stackdriver Monitoring. #[prost(bool, tag="5")] pub enable_stackdriver_monitoring: bool, - /// Specifies whether the Data Fusion instance should be private. If set to - /// true, all Data Fusion nodes will have private IP addresses and will not be - /// able to access the public internet. + /// Specifies whether the Data Fusion instance should be private. If set to + /// true, all Data Fusion nodes will have private IP addresses and will not be + /// able to access the public internet. #[prost(bool, tag="6")] pub private_instance: bool, - /// Network configuration options. These are required when a private Data - /// Fusion instance is to be created. + /// Network configuration options. These are required when a private Data + /// Fusion instance is to be created. #[prost(message, optional, tag="7")] pub network_config: ::core::option::Option, - /// The resource labels for instance to use to annotate any related underlying - /// resources such as Compute Engine VMs. The character '=' is not allowed to - /// be used within the labels. + /// The resource labels for instance to use to annotate any related underlying + /// resources such as Compute Engine VMs. The character '=' is not allowed to + /// be used within the labels. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Map of additional options used to configure the behavior of - /// Data Fusion instance. + /// Map of additional options used to configure the behavior of + /// Data Fusion instance. #[prost(map="string, string", tag="9")] pub options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. The time the instance was created. + /// Output only. The time the instance was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the instance was last updated. + /// Output only. The time the instance was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The current state of this Data Fusion instance. + /// Output only. The current state of this Data Fusion instance. #[prost(enumeration="instance::State", tag="12")] pub state: i32, - /// Output only. Additional information about the current state of this Data - /// Fusion instance if available. + /// Output only. Additional information about the current state of this Data + /// Fusion instance if available. #[prost(string, tag="13")] pub state_message: ::prost::alloc::string::String, - /// Output only. Endpoint on which the Data Fusion UI is accessible. + /// Output only. Endpoint on which the Data Fusion UI is accessible. #[prost(string, tag="14")] pub service_endpoint: ::prost::alloc::string::String, - /// Name of the zone in which the Data Fusion instance will be created. Only - /// DEVELOPER instances use this field. + /// Name of the zone in which the Data Fusion instance will be created. Only + /// DEVELOPER instances use this field. #[prost(string, tag="15")] pub zone: ::prost::alloc::string::String, - /// Current version of the Data Fusion. Only specifiable in Update. + /// Current version of the Data Fusion. Only specifiable in Update. #[prost(string, tag="16")] pub version: ::prost::alloc::string::String, - /// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. + /// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. #[deprecated] #[prost(string, tag="17")] pub service_account: ::prost::alloc::string::String, - /// Display name for an instance. + /// Display name for an instance. #[prost(string, tag="18")] pub display_name: ::prost::alloc::string::String, - /// Available versions that the instance can be upgraded to using - /// UpdateInstanceRequest. + /// Available versions that the instance can be upgraded to using + /// UpdateInstanceRequest. #[prost(message, repeated, tag="19")] pub available_version: ::prost::alloc::vec::Vec, - /// Output only. Endpoint on which the REST APIs is accessible. + /// Output only. Endpoint on which the REST APIs is accessible. #[prost(string, tag="20")] pub api_endpoint: ::prost::alloc::string::String, - /// Output only. Cloud Storage bucket generated by Data Fusion in the customer project. + /// Output only. Cloud Storage bucket generated by Data Fusion in the customer project. #[prost(string, tag="21")] pub gcs_bucket: ::prost::alloc::string::String, - /// List of accelerators enabled for this CDF instance. + /// List of accelerators enabled for this CDF instance. #[prost(message, repeated, tag="22")] pub accelerators: ::prost::alloc::vec::Vec, - /// Output only. P4 service account for the customer project. + /// Output only. P4 service account for the customer project. #[prost(string, tag="23")] pub p4_service_account: ::prost::alloc::string::String, - /// Output only. The name of the tenant project. + /// Output only. The name of the tenant project. #[prost(string, tag="24")] pub tenant_project_id: ::prost::alloc::string::String, - /// User-managed service account to set on Dataproc when Cloud Data Fusion - /// creates Dataproc to run data processing pipelines. + /// User-managed service account to set on Dataproc when Cloud Data Fusion + /// creates Dataproc to run data processing pipelines. /// - /// This allows users to have fine-grained access control on Dataproc's - /// accesses to cloud resources. + /// This allows users to have fine-grained access control on Dataproc's + /// accesses to cloud resources. #[prost(string, tag="25")] pub dataproc_service_account: ::prost::alloc::string::String, - /// Option to enable granular role-based access control. + /// Option to enable granular role-based access control. #[prost(bool, tag="27")] pub enable_rbac: bool, - /// The crypto key configuration. This field is used by the Customer-Managed - /// Encryption Keys (CMEK) feature. + /// The crypto key configuration. This field is used by the Customer-Managed + /// Encryption Keys (CMEK) feature. #[prost(message, optional, tag="28")] pub crypto_key_config: ::core::option::Option, - /// Output only. If the instance state is DISABLED, the reason for disabling the instance. + /// Output only. If the instance state is DISABLED, the reason for disabling the instance. #[prost(enumeration="instance::DisabledReason", repeated, packed="false", tag="29")] pub disabled_reason: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Represents the type of Data Fusion instance. Each type is configured with - /// the default settings for processing and memory. + /// Represents the type of Data Fusion instance. Each type is configured with + /// the default settings for processing and memory. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// No type specified. The instance creation will fail. + /// No type specified. The instance creation will fail. Unspecified = 0, - /// Basic Data Fusion instance. In Basic type, the user will be able to - /// create data pipelines using point and click UI. However, there are - /// certain limitations, such as fewer number of concurrent pipelines, no - /// support for streaming pipelines, etc. + /// Basic Data Fusion instance. In Basic type, the user will be able to + /// create data pipelines using point and click UI. However, there are + /// certain limitations, such as fewer number of concurrent pipelines, no + /// support for streaming pipelines, etc. Basic = 1, - /// Enterprise Data Fusion instance. In Enterprise type, the user will have - /// all features available, such as support for streaming pipelines, higher - /// number of concurrent pipelines, etc. + /// Enterprise Data Fusion instance. In Enterprise type, the user will have + /// all features available, such as support for streaming pipelines, higher + /// number of concurrent pipelines, etc. Enterprise = 2, - /// Developer Data Fusion instance. In Developer type, the user will have all - /// features available but with restrictive capabilities. This is to help - /// enterprises design and develop their data ingestion and integration - /// pipelines at low cost. + /// Developer Data Fusion instance. In Developer type, the user will have all + /// features available but with restrictive capabilities. This is to help + /// enterprises design and develop their data ingestion and integration + /// pipelines at low cost. Developer = 3, } impl Type { @@ -286,32 +286,32 @@ pub mod instance { } } } - /// Represents the state of a Data Fusion instance + /// Represents the state of a Data Fusion instance #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Instance does not have a state yet + /// Instance does not have a state yet Unspecified = 0, - /// Instance is being created + /// Instance is being created Creating = 1, - /// Instance is active and ready for requests. This corresponds to 'RUNNING' - /// in datafusion.v1beta1. + /// Instance is active and ready for requests. This corresponds to 'RUNNING' + /// in datafusion.v1beta1. Active = 2, - /// Instance creation failed + /// Instance creation failed Failed = 3, - /// Instance is being deleted + /// Instance is being deleted Deleting = 4, - /// Instance is being upgraded + /// Instance is being upgraded Upgrading = 5, - /// Instance is being restarted + /// Instance is being restarted Restarting = 6, - /// Instance is being updated on customer request + /// Instance is being updated on customer request Updating = 7, - /// Instance is being auto-updated + /// Instance is being auto-updated AutoUpdating = 8, - /// Instance is being auto-upgraded + /// Instance is being auto-upgraded AutoUpgrading = 9, - /// Instance is disabled + /// Instance is disabled Disabled = 10, } impl State { @@ -335,13 +335,13 @@ pub mod instance { } } } - /// The reason for disabling the instance if the state is DISABLED. + /// The reason for disabling the instance if the state is DISABLED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisabledReason { - /// This is an unknown reason for disabling. + /// This is an unknown reason for disabling. Unspecified = 0, - /// The KMS key used by the instance is either revoked or denied access to + /// The KMS key used by the instance is either revoked or denied access to KmsKeyIssue = 1, } impl DisabledReason { @@ -357,162 +357,162 @@ pub mod instance { } } } -/// Request message for listing Data Fusion instances. +/// Request message for listing Data Fusion instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Required. The project and location for which to retrieve instance information - /// in the format projects/{project}/locations/{location}. If the location is - /// specified as '-' (wildcard), then all regions available to the project - /// are queried, and the results are aggregated. + /// Required. The project and location for which to retrieve instance information + /// in the format projects/{project}/locations/{location}. If the location is + /// specified as '-' (wildcard), then all regions available to the project + /// are queried, and the results are aggregated. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Sort results. Supported values are "name", "name desc", or "" (unsorted). + /// Sort results. Supported values are "name", "name desc", or "" (unsorted). #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for the list instance request. +/// Response message for the list instance request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// Represents a list of Data Fusion instances. + /// Represents a list of Data Fusion instances. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for the list available versions request. +/// Request message for the list available versions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableVersionsRequest { - /// Required. The project and location for which to retrieve instance information - /// in the format projects/{project}/locations/{location}. + /// Required. The project and location for which to retrieve instance information + /// in the format projects/{project}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Whether or not to return the latest patch of every available minor version. - /// If true, only the latest patch will be returned. Ex. if allowed versions is - /// [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0] + /// Whether or not to return the latest patch of every available minor version. + /// If true, only the latest patch will be returned. Ex. if allowed versions is + /// [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0] #[prost(bool, tag="4")] pub latest_patch_only: bool, } -/// Response message for the list available versions request. +/// Response message for the list available versions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableVersionsResponse { - /// Represents a list of versions that are supported. + /// Represents a list of versions that are supported. #[prost(message, repeated, tag="1")] pub available_versions: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for getting details about a Data Fusion instance. +/// Request message for getting details about a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Required. The instance resource name in the format - /// projects/{project}/locations/{location}/instances/{instance}. + /// Required. The instance resource name in the format + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for creating a Data Fusion instance. +/// Request message for creating a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { - /// Required. The instance's project and location in the format - /// projects/{project}/locations/{location}. + /// Required. The instance's project and location in the format + /// projects/{project}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The name of the instance to create. + /// Required. The name of the instance to create. #[prost(string, tag="2")] pub instance_id: ::prost::alloc::string::String, - /// An instance resource. + /// An instance resource. #[prost(message, optional, tag="3")] pub instance: ::core::option::Option, } -/// Request message for deleting a Data Fusion instance. +/// Request message for deleting a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Required. The instance resource name in the format - /// projects/{project}/locations/{location}/instances/{instance} + /// Required. The instance resource name in the format + /// projects/{project}/locations/{location}/instances/{instance} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for updating a Data Fusion instance. -/// Data Fusion allows updating the labels, options, and stack driver settings. -/// This is also used for CDF version upgrade. +/// Request message for updating a Data Fusion instance. +/// Data Fusion allows updating the labels, options, and stack driver settings. +/// This is also used for CDF version upgrade. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { - /// Required. The instance resource that replaces the resource on the server. Currently, - /// Data Fusion only allows replacing labels, options, and stack driver - /// settings. All other fields will be ignored. + /// Required. The instance resource that replaces the resource on the server. Currently, + /// Data Fusion only allows replacing labels, options, and stack driver + /// settings. All other fields will be ignored. #[prost(message, optional, tag="1")] pub instance: ::core::option::Option, - /// Field mask is used to specify the fields that the update will overwrite - /// in an instance resource. The fields specified in the update_mask are - /// relative to the resource, not the full request. - /// A field will be overwritten if it is in the mask. - /// If the user does not provide a mask, all the supported fields (labels, - /// options, and version currently) will be overwritten. + /// Field mask is used to specify the fields that the update will overwrite + /// in an instance resource. The fields specified in the update_mask are + /// relative to the resource, not the full request. + /// A field will be overwritten if it is in the mask. + /// If the user does not provide a mask, all the supported fields (labels, + /// options, and version currently) will be overwritten. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for restarting a Data Fusion instance. +/// Request message for restarting a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestartInstanceRequest { - /// Required. Name of the Data Fusion instance which need to be restarted in the form of - /// projects/{project}/locations/{location}/instances/{instance} + /// Required. Name of the Data Fusion instance which need to be restarted in the form of + /// projects/{project}/locations/{location}/instances/{instance} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of a long-running operation. +/// Represents the metadata of a long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The time the operation was created. + /// The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the operation finished running. + /// The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Server-defined resource path for the target of the operation. + /// Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Name of the verb executed by the operation. + /// Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Human-readable status of the operation if any. + /// Human-readable status of the operation if any. #[prost(string, tag="5")] pub status_detail: ::prost::alloc::string::String, - /// Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// API version used to start the operation. + /// API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, - /// Map to hold any additional status info for the operation - /// If there is an accelerator being enabled/disabled/deleted, this will be - /// populated with accelerator name as key and status as - /// ENABLING, DISABLING or DELETING + /// Map to hold any additional status info for the operation + /// If there is an accelerator being enabled/disabled/deleted, this will be + /// populated with accelerator name as key and status as + /// ENABLING, DISABLING or DELETING #[prost(map="string, string", tag="8")] pub additional_status: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } diff --git a/gcloud-sdk/genproto/google.cloud.datafusion.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.datafusion.v1beta1.rs index 8e3667506..c89d89751 100644 --- a/gcloud-sdk/genproto/google.cloud.datafusion.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.datafusion.v1beta1.rs @@ -1,50 +1,50 @@ -/// Network configuration for a Data Fusion instance. These configurations -/// are used for peering with the customer network. Configurations are optional -/// when a public Data Fusion instance is to be created. However, providing -/// these configurations allows several benefits, such as reduced network latency -/// while accessing the customer resources from managed Data Fusion instance -/// nodes, as well as access to the customer on-prem resources. +/// Network configuration for a Data Fusion instance. These configurations +/// are used for peering with the customer network. Configurations are optional +/// when a public Data Fusion instance is to be created. However, providing +/// these configurations allows several benefits, such as reduced network latency +/// while accessing the customer resources from managed Data Fusion instance +/// nodes, as well as access to the customer on-prem resources. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NetworkConfig { - /// Name of the network in the customer project with which the Tenant Project - /// will be peered for executing pipelines. In case of shared VPC where the - /// network resides in another host project the network should specified in - /// the form of projects/{host-project-id}/global/networks/{network} + /// Name of the network in the customer project with which the Tenant Project + /// will be peered for executing pipelines. In case of shared VPC where the + /// network resides in another host project the network should specified in + /// the form of projects/{host-project-id}/global/networks/{network} #[prost(string, tag="1")] pub network: ::prost::alloc::string::String, - /// The IP range in CIDR notation to use for the managed Data Fusion instance - /// nodes. This range must not overlap with any other ranges used in the Data - /// Fusion instance network. + /// The IP range in CIDR notation to use for the managed Data Fusion instance + /// nodes. This range must not overlap with any other ranges used in the Data + /// Fusion instance network. #[prost(string, tag="2")] pub ip_allocation: ::prost::alloc::string::String, } -/// The Data Fusion version. +/// The Data Fusion version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Version { - /// The version number of the Data Fusion instance, such as '6.0.1.0'. + /// The version number of the Data Fusion instance, such as '6.0.1.0'. #[prost(string, tag="1")] pub version_number: ::prost::alloc::string::String, - /// Whether this is currently the default version for Cloud Data Fusion + /// Whether this is currently the default version for Cloud Data Fusion #[prost(bool, tag="2")] pub default_version: bool, - /// Represents a list of available feature names for a given version. + /// Represents a list of available feature names for a given version. #[prost(string, repeated, tag="3")] pub available_features: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Type represents the release availability of the version + /// Type represents the release availability of the version #[prost(enumeration="version::Type", tag="4")] pub r#type: i32, } /// Nested message and enum types in `Version`. pub mod version { - /// Each type represents the release availability of a CDF version + /// Each type represents the release availability of a CDF version #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Version does not have availability yet + /// Version does not have availability yet Unspecified = 0, - /// Version is under development and not considered stable + /// Version is under development and not considered stable Preview = 1, - /// Version is available for public use + /// Version is available for public use GeneralAvailability = 2, } impl Type { @@ -61,26 +61,26 @@ pub mod version { } } } -/// Identifies Data Fusion accelerators for an instance. +/// Identifies Data Fusion accelerators for an instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Accelerator { - /// The type of an accelator for a CDF instance. + /// The type of an accelator for a CDF instance. #[prost(enumeration="accelerator::AcceleratorType", tag="1")] pub accelerator_type: i32, } /// Nested message and enum types in `Accelerator`. pub mod accelerator { - /// Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion - /// service. + /// Each type represents an Accelerator (Add-On) supported by Cloud Data Fusion + /// service. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AcceleratorType { - /// Default value, if unspecified. + /// Default value, if unspecified. Unspecified = 0, - /// Change Data Capture accelerator for CDF. + /// Change Data Capture accelerator for CDF. Cdc = 1, - /// Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud - /// Healthcare specific CDF plugins developed by Healthcare team. + /// Cloud Healthcare accelerator for CDF. This accelerator is to enable Cloud + /// Healthcare specific CDF plugins developed by Healthcare team. Healthcare = 2, } impl AcceleratorType { @@ -97,142 +97,142 @@ pub mod accelerator { } } } -/// The crypto key configuration. This field is used by the Customer-managed -/// encryption keys (CMEK) feature. +/// The crypto key configuration. This field is used by the Customer-managed +/// encryption keys (CMEK) feature. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CryptoKeyConfig { - /// The name of the key which is used to encrypt/decrypt customer data. For key - /// in Cloud KMS, the key should be in the format of - /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. + /// The name of the key which is used to encrypt/decrypt customer data. For key + /// in Cloud KMS, the key should be in the format of + /// `projects/*/locations/*/keyRings/*/cryptoKeys/*`. #[prost(string, tag="1")] pub key_reference: ::prost::alloc::string::String, } -/// Represents a Data Fusion instance. +/// Represents a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instance { - /// Output only. The name of this instance is in the form of - /// projects/{project}/locations/{location}/instances/{instance}. + /// Output only. The name of this instance is in the form of + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// A description of this instance. + /// A description of this instance. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. Instance type. + /// Required. Instance type. #[prost(enumeration="instance::Type", tag="3")] pub r#type: i32, - /// Option to enable Stackdriver Logging. + /// Option to enable Stackdriver Logging. #[prost(bool, tag="4")] pub enable_stackdriver_logging: bool, - /// Option to enable Stackdriver Monitoring. + /// Option to enable Stackdriver Monitoring. #[prost(bool, tag="5")] pub enable_stackdriver_monitoring: bool, - /// Specifies whether the Data Fusion instance should be private. If set to - /// true, all Data Fusion nodes will have private IP addresses and will not be - /// able to access the public internet. + /// Specifies whether the Data Fusion instance should be private. If set to + /// true, all Data Fusion nodes will have private IP addresses and will not be + /// able to access the public internet. #[prost(bool, tag="6")] pub private_instance: bool, - /// Network configuration options. These are required when a private Data - /// Fusion instance is to be created. + /// Network configuration options. These are required when a private Data + /// Fusion instance is to be created. #[prost(message, optional, tag="7")] pub network_config: ::core::option::Option, - /// The resource labels for instance to use to annotate any related underlying - /// resources such as Compute Engine VMs. The character '=' is not allowed to - /// be used within the labels. + /// The resource labels for instance to use to annotate any related underlying + /// resources such as Compute Engine VMs. The character '=' is not allowed to + /// be used within the labels. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Map of additional options used to configure the behavior of - /// Data Fusion instance. + /// Map of additional options used to configure the behavior of + /// Data Fusion instance. #[prost(map="string, string", tag="9")] pub options: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. The time the instance was created. + /// Output only. The time the instance was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the instance was last updated. + /// Output only. The time the instance was last updated. #[prost(message, optional, tag="11")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The current state of this Data Fusion instance. + /// Output only. The current state of this Data Fusion instance. #[prost(enumeration="instance::State", tag="12")] pub state: i32, - /// Output only. Additional information about the current state of this Data - /// Fusion instance if available. + /// Output only. Additional information about the current state of this Data + /// Fusion instance if available. #[prost(string, tag="13")] pub state_message: ::prost::alloc::string::String, - /// Output only. Endpoint on which the Data Fusion UI is accessible. + /// Output only. Endpoint on which the Data Fusion UI is accessible. #[prost(string, tag="14")] pub service_endpoint: ::prost::alloc::string::String, - /// Name of the zone in which the Data Fusion instance will be created. Only - /// DEVELOPER instances use this field. + /// Name of the zone in which the Data Fusion instance will be created. Only + /// DEVELOPER instances use this field. #[prost(string, tag="15")] pub zone: ::prost::alloc::string::String, - /// Current version of Data Fusion. + /// Current version of Data Fusion. #[prost(string, tag="16")] pub version: ::prost::alloc::string::String, - /// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. + /// Output only. Deprecated. Use tenant_project_id instead to extract the tenant project ID. #[deprecated] #[prost(string, tag="17")] pub service_account: ::prost::alloc::string::String, - /// Display name for an instance. + /// Display name for an instance. #[prost(string, tag="18")] pub display_name: ::prost::alloc::string::String, - /// Available versions that the instance can be upgraded to using - /// UpdateInstanceRequest. + /// Available versions that the instance can be upgraded to using + /// UpdateInstanceRequest. #[prost(message, repeated, tag="19")] pub available_version: ::prost::alloc::vec::Vec, - /// Output only. Endpoint on which the REST APIs is accessible. + /// Output only. Endpoint on which the REST APIs is accessible. #[prost(string, tag="20")] pub api_endpoint: ::prost::alloc::string::String, - /// Output only. Cloud Storage bucket generated by Data Fusion in the customer project. + /// Output only. Cloud Storage bucket generated by Data Fusion in the customer project. #[prost(string, tag="21")] pub gcs_bucket: ::prost::alloc::string::String, - /// List of accelerators enabled for this CDF instance. + /// List of accelerators enabled for this CDF instance. #[prost(message, repeated, tag="22")] pub accelerators: ::prost::alloc::vec::Vec, - /// Output only. P4 service account for the customer project. + /// Output only. P4 service account for the customer project. #[prost(string, tag="23")] pub p4_service_account: ::prost::alloc::string::String, - /// Output only. The name of the tenant project. + /// Output only. The name of the tenant project. #[prost(string, tag="24")] pub tenant_project_id: ::prost::alloc::string::String, - /// User-managed service account to set on Dataproc when Cloud Data Fusion - /// creates Dataproc to run data processing pipelines. + /// User-managed service account to set on Dataproc when Cloud Data Fusion + /// creates Dataproc to run data processing pipelines. /// - /// This allows users to have fine-grained access control on Dataproc's - /// accesses to cloud resources. + /// This allows users to have fine-grained access control on Dataproc's + /// accesses to cloud resources. #[prost(string, tag="25")] pub dataproc_service_account: ::prost::alloc::string::String, - /// Option to enable granular role-based access control. + /// Option to enable granular role-based access control. #[prost(bool, tag="26")] pub enable_rbac: bool, - /// The crypto key configuration. This field is used by the Customer-Managed - /// Encryption Keys (CMEK) feature. + /// The crypto key configuration. This field is used by the Customer-Managed + /// Encryption Keys (CMEK) feature. #[prost(message, optional, tag="27")] pub crypto_key_config: ::core::option::Option, - /// Output only. If the instance state is DISABLED, the reason for disabling the instance. + /// Output only. If the instance state is DISABLED, the reason for disabling the instance. #[prost(enumeration="instance::DisabledReason", repeated, packed="false", tag="28")] pub disabled_reason: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Instance`. pub mod instance { - /// Represents the type of Data Fusion instance. Each type is configured with - /// the default settings for processing and memory. + /// Represents the type of Data Fusion instance. Each type is configured with + /// the default settings for processing and memory. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// No type specified. The instance creation will fail. + /// No type specified. The instance creation will fail. Unspecified = 0, - /// Basic Data Fusion instance. In Basic type, the user will be able to - /// create data pipelines using point and click UI. However, there are - /// certain limitations, such as fewer number of concurrent pipelines, no - /// support for streaming pipelines, etc. + /// Basic Data Fusion instance. In Basic type, the user will be able to + /// create data pipelines using point and click UI. However, there are + /// certain limitations, such as fewer number of concurrent pipelines, no + /// support for streaming pipelines, etc. Basic = 1, - /// Enterprise Data Fusion instance. In Enterprise type, the user will have - /// all features available, such as support for streaming pipelines, - /// unlimited number of concurrent pipelines, etc. + /// Enterprise Data Fusion instance. In Enterprise type, the user will have + /// all features available, such as support for streaming pipelines, + /// unlimited number of concurrent pipelines, etc. Enterprise = 2, - /// Developer Data Fusion instance. In Developer type, the user will have all - /// features available but with restrictive capabilities. This is to help - /// enterprises design and develop their data ingestion and integration - /// pipelines at low cost. + /// Developer Data Fusion instance. In Developer type, the user will have all + /// features available but with restrictive capabilities. This is to help + /// enterprises design and develop their data ingestion and integration + /// pipelines at low cost. Developer = 3, } impl Type { @@ -249,31 +249,31 @@ pub mod instance { } } } - /// Represents the state of a Data Fusion instance + /// Represents the state of a Data Fusion instance #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Instance does not have a state yet + /// Instance does not have a state yet Unspecified = 0, - /// Instance is being created + /// Instance is being created Creating = 1, - /// Instance is running and ready for requests + /// Instance is running and ready for requests Running = 2, - /// Instance creation failed + /// Instance creation failed Failed = 3, - /// Instance is being deleted + /// Instance is being deleted Deleting = 4, - /// Instance is being upgraded + /// Instance is being upgraded Upgrading = 5, - /// Instance is being restarted + /// Instance is being restarted Restarting = 6, - /// Instance is being updated on customer request + /// Instance is being updated on customer request Updating = 7, - /// Instance is being auto-updated + /// Instance is being auto-updated AutoUpdating = 8, - /// Instance is being auto-upgraded + /// Instance is being auto-upgraded AutoUpgrading = 9, - /// Instance is disabled + /// Instance is disabled Disabled = 10, } impl State { @@ -297,13 +297,13 @@ pub mod instance { } } } - /// The reason for disabling the instance if the state is DISABLED. + /// The reason for disabling the instance if the state is DISABLED. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DisabledReason { - /// This is an unknown reason for disabling. + /// This is an unknown reason for disabling. Unspecified = 0, - /// The KMS key used by the instance is either revoked or denied access to + /// The KMS key used by the instance is either revoked or denied access to KmsKeyIssue = 1, } impl DisabledReason { @@ -319,316 +319,316 @@ pub mod instance { } } } -/// Request message for listing Data Fusion instances. +/// Request message for listing Data Fusion instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesRequest { - /// Required. The project and location for which to retrieve instance information - /// in the format projects/{project}/locations/{location}. If the location is - /// specified as '-' (wildcard), then all regions available to the project - /// are queried, and the results are aggregated. + /// Required. The project and location for which to retrieve instance information + /// in the format projects/{project}/locations/{location}. If the location is + /// specified as '-' (wildcard), then all regions available to the project + /// are queried, and the results are aggregated. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// List filter. + /// List filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Sort results. Supported values are "name", "name desc", or "" (unsorted). + /// Sort results. Supported values are "name", "name desc", or "" (unsorted). #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for the list instance request. +/// Response message for the list instance request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstancesResponse { - /// Represents a list of Data Fusion instances. + /// Represents a list of Data Fusion instances. #[prost(message, repeated, tag="1")] pub instances: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for the list available versions request. +/// Request message for the list available versions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableVersionsRequest { - /// Required. The project and location for which to retrieve instance information - /// in the format projects/{project}/locations/{location}. + /// Required. The project and location for which to retrieve instance information + /// in the format projects/{project}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Whether or not to return the latest patch of every available minor version. - /// If true, only the latest patch will be returned. Ex. if allowed versions is - /// [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0] + /// Whether or not to return the latest patch of every available minor version. + /// If true, only the latest patch will be returned. Ex. if allowed versions is + /// [6.1.1, 6.1.2, 6.2.0] then response will be [6.1.2, 6.2.0] #[prost(bool, tag="4")] pub latest_patch_only: bool, } -/// Response message for the list available versions request. +/// Response message for the list available versions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAvailableVersionsResponse { - /// Represents a list of versions that are supported. + /// Represents a list of versions that are supported. #[prost(message, repeated, tag="1")] pub available_versions: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for getting details about a Data Fusion instance. +/// Request message for getting details about a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstanceRequest { - /// Required. The instance resource name in the format - /// projects/{project}/locations/{location}/instances/{instance}. + /// Required. The instance resource name in the format + /// projects/{project}/locations/{location}/instances/{instance}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for creating a Data Fusion instance. +/// Request message for creating a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstanceRequest { - /// Required. The instance's project and location in the format - /// projects/{project}/locations/{location}. + /// Required. The instance's project and location in the format + /// projects/{project}/locations/{location}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The name of the instance to create. + /// Required. The name of the instance to create. #[prost(string, tag="2")] pub instance_id: ::prost::alloc::string::String, - /// An instance resource. + /// An instance resource. #[prost(message, optional, tag="3")] pub instance: ::core::option::Option, } -/// Request message for deleting a Data Fusion instance. +/// Request message for deleting a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstanceRequest { - /// Required. The instance resource name in the format - /// projects/{project}/locations/{location}/instances/{instance} + /// Required. The instance resource name in the format + /// projects/{project}/locations/{location}/instances/{instance} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for updating a Data Fusion instance. -/// Data Fusion only allows updating the labels, options, and stack driver -/// settings. +/// Request message for updating a Data Fusion instance. +/// Data Fusion only allows updating the labels, options, and stack driver +/// settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateInstanceRequest { - /// Required. The instance resource that replaces the resource on the server. Currently, - /// Data Fusion only allows replacing labels, options, and stack driver - /// settings. All other fields will be ignored. + /// Required. The instance resource that replaces the resource on the server. Currently, + /// Data Fusion only allows replacing labels, options, and stack driver + /// settings. All other fields will be ignored. #[prost(message, optional, tag="1")] pub instance: ::core::option::Option, - /// Field mask is used to specify the fields that the update will overwrite - /// in an instance resource. The fields specified in the update_mask are - /// relative to the resource, not the full request. - /// A field will be overwritten if it is in the mask. - /// If the user does not provide a mask, all the supported fields (labels and - /// options currently) will be overwritten. + /// Field mask is used to specify the fields that the update will overwrite + /// in an instance resource. The fields specified in the update_mask are + /// relative to the resource, not the full request. + /// A field will be overwritten if it is in the mask. + /// If the user does not provide a mask, all the supported fields (labels and + /// options currently) will be overwritten. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for restarting a Data Fusion instance. +/// Request message for restarting a Data Fusion instance. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestartInstanceRequest { - /// Required. Name of the Data Fusion instance which need to be restarted in the form of - /// projects/{project}/locations/{location}/instances/{instance} + /// Required. Name of the Data Fusion instance which need to be restarted in the form of + /// projects/{project}/locations/{location}/instances/{instance} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for upgrading a Data Fusion instance. -/// To change the instance properties, instance update should be used. +/// Request message for upgrading a Data Fusion instance. +/// To change the instance properties, instance update should be used. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpgradeInstanceRequest { - /// Required. Name of the Data Fusion instance which need to be upgraded in the form of - /// projects/{project}/locations/{location}/instances/{instance} - /// Instance will be upgraded with the latest stable version of the Data - /// Fusion. + /// Required. Name of the Data Fusion instance which need to be upgraded in the form of + /// projects/{project}/locations/{location}/instances/{instance} + /// Instance will be upgraded with the latest stable version of the Data + /// Fusion. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of a long-running operation. +/// Represents the metadata of a long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// The time the operation was created. + /// The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time the operation finished running. + /// The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Server-defined resource path for the target of the operation. + /// Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Name of the verb executed by the operation. + /// Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Human-readable status of the operation if any. + /// Human-readable status of the operation if any. #[prost(string, tag="5")] pub status_detail: ::prost::alloc::string::String, - /// Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// API version used to start the operation. + /// API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// Request message for RemoveIamPolicy method. +/// Request message for RemoveIamPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveIamPolicyRequest { - /// Required. The resource on which IAM policy to be removed is attached to. + /// Required. The resource on which IAM policy to be removed is attached to. #[prost(string, tag="1")] pub resource: ::prost::alloc::string::String, } -/// Response message for RemoveIamPolicy method. +/// Response message for RemoveIamPolicy method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveIamPolicyResponse { } -/// List namespaces request. +/// List namespaces request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNamespacesRequest { - /// Required. The instance to list its namespaces. + /// Required. The instance to list its namespaces. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// By default, only basic information about a namespace is returned - /// (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional - /// information associated with a namespace gets returned - /// (e.g. IAM policy set on the namespace) + /// By default, only basic information about a namespace is returned + /// (e.g. name). When `NAMESPACE_VIEW_FULL` is specified, additional + /// information associated with a namespace gets returned + /// (e.g. IAM policy set on the namespace) #[prost(enumeration="NamespaceView", tag="4")] pub view: i32, } -/// IAMPolicy encapsulates the IAM policy name, definition and status of -/// policy fetching. +/// IAMPolicy encapsulates the IAM policy name, definition and status of +/// policy fetching. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IamPolicy { - /// Policy definition if IAM policy fetching is successful, - /// otherwise empty. + /// Policy definition if IAM policy fetching is successful, + /// otherwise empty. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, - /// Status of iam policy fetching. + /// Status of iam policy fetching. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } -/// Represents the information of a namespace +/// Represents the information of a namespace #[derive(Clone, PartialEq, ::prost::Message)] pub struct Namespace { - /// Name of the given namespace. + /// Name of the given namespace. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// IAM policy associated with this namespace. + /// IAM policy associated with this namespace. #[prost(message, optional, tag="2")] pub iam_policy: ::core::option::Option, } -/// List namespaces response. +/// List namespaces response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListNamespacesResponse { - /// List of namespaces + /// List of namespaces #[prost(message, repeated, tag="1")] pub namespaces: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// DNS peering configuration. These configurations are used to create -/// DNS peering with the customer Cloud DNS. +/// DNS peering configuration. These configurations are used to create +/// DNS peering with the customer Cloud DNS. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DnsPeering { - /// Required. Name of the zone. + /// Required. Name of the zone. #[prost(string, tag="1")] pub zone: ::prost::alloc::string::String, - /// Required. Name of the dns. + /// Required. Name of the dns. #[prost(string, tag="2")] pub domain: ::prost::alloc::string::String, - /// Optional. Optional description of the dns zone. + /// Optional. Optional description of the dns zone. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Optional target project to which dns peering should happen. + /// Optional. Optional target project to which dns peering should happen. #[prost(string, tag="4")] pub target_project: ::prost::alloc::string::String, - /// Optional. Optional target network to which dns peering should happen. + /// Optional. Optional target network to which dns peering should happen. #[prost(string, tag="5")] pub target_network: ::prost::alloc::string::String, } -/// Request message to create dns peering. +/// Request message to create dns peering. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddDnsPeeringRequest { - /// Required. The resource on which DNS peering will be created. + /// Required. The resource on which DNS peering will be created. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Dns peering config. + /// Dns peering config. #[prost(message, optional, tag="2")] pub dns_peering: ::core::option::Option, } -/// Response message for set dns peering method. +/// Response message for set dns peering method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AddDnsPeeringResponse { } -/// Request message to remove dns peering. +/// Request message to remove dns peering. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDnsPeeringRequest { - /// Required. The resource on which DNS peering will be removed. + /// Required. The resource on which DNS peering will be removed. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The zone to be removed. + /// Required. The zone to be removed. #[prost(string, tag="2")] pub zone: ::prost::alloc::string::String, } -/// Response message for set dns peering method. +/// Response message for set dns peering method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RemoveDnsPeeringResponse { } -/// List dns peering request. +/// List dns peering request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDnsPeeringsRequest { - /// Required. The resource on which dns peering will be listed. + /// Required. The resource on which dns peering will be listed. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return. + /// The maximum number of items to return. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value to use if there are additional - /// results to retrieve for this list request. + /// The next_page_token value to use if there are additional + /// results to retrieve for this list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// List dns peering response. +/// List dns peering response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDnsPeeringsResponse { - /// List of dns peering configs. + /// List of dns peering configs. #[prost(message, repeated, tag="1")] pub dns_peerings: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A view for Namespace +/// A view for Namespace #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NamespaceView { - /// Default/unset value, which will use BASIC view. + /// Default/unset value, which will use BASIC view. Unspecified = 0, - /// Show the most basic metadata of a namespace + /// Show the most basic metadata of a namespace Basic = 1, - /// Returns all metadata of a namespace + /// Returns all metadata of a namespace Full = 2, } impl NamespaceView { diff --git a/gcloud-sdk/genproto/google.cloud.datalabeling.v1beta1.rs b/gcloud-sdk/genproto/google.cloud.datalabeling.v1beta1.rs index 6d4859eda..12d54585b 100644 --- a/gcloud-sdk/genproto/google.cloud.datalabeling.v1beta1.rs +++ b/gcloud-sdk/genproto/google.cloud.datalabeling.v1beta1.rs @@ -1,70 +1,70 @@ -/// An AnnotationSpecSet is a collection of label definitions. For example, in -/// image classification tasks, you define a set of possible labels for images as -/// an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. +/// An AnnotationSpecSet is a collection of label definitions. For example, in +/// image classification tasks, you define a set of possible labels for images as +/// an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpecSet { - /// Output only. The AnnotationSpecSet resource name in the following format: + /// Output only. The AnnotationSpecSet resource name in the following format: /// - /// "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" + /// "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name for AnnotationSpecSet that you define when you - /// create it. Maximum of 64 characters. + /// Required. The display name for AnnotationSpecSet that you define when you + /// create it. Maximum of 64 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. User-provided description of the annotation specification set. - /// The description can be up to 10,000 characters long. + /// Optional. User-provided description of the annotation specification set. + /// The description can be up to 10,000 characters long. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Required. The array of AnnotationSpecs that you define when you create the - /// AnnotationSpecSet. These are the possible labels for the labeling task. + /// Required. The array of AnnotationSpecs that you define when you create the + /// AnnotationSpecSet. These are the possible labels for the labeling task. #[prost(message, repeated, tag="4")] pub annotation_specs: ::prost::alloc::vec::Vec, - /// Output only. The names of any related resources that are blocking changes - /// to the annotation spec set. + /// Output only. The names of any related resources that are blocking changes + /// to the annotation spec set. #[prost(string, repeated, tag="5")] pub blocking_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Container of information related to one possible annotation that can be used -/// in a labeling task. For example, an image classification task where images -/// are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and -/// an AnnotationSpec for `cat`. +/// Container of information related to one possible annotation that can be used +/// in a labeling task. For example, an image classification task where images +/// are labeled as `dog` or `cat` must reference an AnnotationSpec for `dog` and +/// an AnnotationSpec for `cat`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpec { - /// Required. The display name of the AnnotationSpec. Maximum of 64 characters. + /// Required. The display name of the AnnotationSpec. Maximum of 64 characters. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Optional. User-provided description of the annotation specification. - /// The description can be up to 10,000 characters long. + /// Optional. User-provided description of the annotation specification. + /// The description can be up to 10,000 characters long. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, } -/// Annotation for Example. Each example may have one or more annotations. For -/// example in image classification problem, each image might have one or more -/// labels. We call labels binded with this image an Annotation. +/// Annotation for Example. Each example may have one or more annotations. For +/// example in image classification problem, each image might have one or more +/// labels. We call labels binded with this image an Annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Annotation { - /// Output only. Unique name of this annotation, format is: + /// Output only. Unique name of this annotation, format is: /// - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/{annotated_dataset}/examples/{example_id}/annotations/{annotation_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The source of the annotation. + /// Output only. The source of the annotation. #[prost(enumeration="AnnotationSource", tag="2")] pub annotation_source: i32, - /// Output only. This is the actual annotation value, e.g classification, - /// bounding box values are stored here. + /// Output only. This is the actual annotation value, e.g classification, + /// bounding box values are stored here. #[prost(message, optional, tag="3")] pub annotation_value: ::core::option::Option, - /// Output only. Annotation metadata, including information like votes - /// for labels. + /// Output only. Annotation metadata, including information like votes + /// for labels. #[prost(message, optional, tag="4")] pub annotation_metadata: ::core::option::Option, - /// Output only. Sentiment for this annotation. + /// Output only. Sentiment for this annotation. #[prost(enumeration="AnnotationSentiment", tag="6")] pub annotation_sentiment: i32, } -/// Annotation value for an example. +/// Annotation value for an example. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationValue { #[prost(oneof="annotation_value::ValueType", tags="1, 2, 8, 9, 3, 10, 4, 5, 6")] @@ -74,99 +74,99 @@ pub struct AnnotationValue { pub mod annotation_value { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ValueType { - /// Annotation value for image classification case. + /// Annotation value for image classification case. #[prost(message, tag="1")] ImageClassificationAnnotation(super::ImageClassificationAnnotation), - /// Annotation value for image bounding box, oriented bounding box - /// and polygon cases. + /// Annotation value for image bounding box, oriented bounding box + /// and polygon cases. #[prost(message, tag="2")] ImageBoundingPolyAnnotation(super::ImageBoundingPolyAnnotation), - /// Annotation value for image polyline cases. - /// Polyline here is different from BoundingPoly. It is formed by - /// line segments connected to each other but not closed form(Bounding Poly). - /// The line segments can cross each other. + /// Annotation value for image polyline cases. + /// Polyline here is different from BoundingPoly. It is formed by + /// line segments connected to each other but not closed form(Bounding Poly). + /// The line segments can cross each other. #[prost(message, tag="8")] ImagePolylineAnnotation(super::ImagePolylineAnnotation), - /// Annotation value for image segmentation. + /// Annotation value for image segmentation. #[prost(message, tag="9")] ImageSegmentationAnnotation(super::ImageSegmentationAnnotation), - /// Annotation value for text classification case. + /// Annotation value for text classification case. #[prost(message, tag="3")] TextClassificationAnnotation(super::TextClassificationAnnotation), - /// Annotation value for text entity extraction case. + /// Annotation value for text entity extraction case. #[prost(message, tag="10")] TextEntityExtractionAnnotation(super::TextEntityExtractionAnnotation), - /// Annotation value for video classification case. + /// Annotation value for video classification case. #[prost(message, tag="4")] VideoClassificationAnnotation(super::VideoClassificationAnnotation), - /// Annotation value for video object detection and tracking case. + /// Annotation value for video object detection and tracking case. #[prost(message, tag="5")] VideoObjectTrackingAnnotation(super::VideoObjectTrackingAnnotation), - /// Annotation value for video event case. + /// Annotation value for video event case. #[prost(message, tag="6")] VideoEventAnnotation(super::VideoEventAnnotation), } } -/// Image classification annotation definition. +/// Image classification annotation definition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationAnnotation { - /// Label of image. + /// Label of image. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, } -/// A vertex represents a 2D point in the image. -/// NOTE: the vertex coordinates are in the same scale as the original image. +/// A vertex represents a 2D point in the image. +/// NOTE: the vertex coordinates are in the same scale as the original image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Vertex { - /// X coordinate. + /// X coordinate. #[prost(int32, tag="1")] pub x: i32, - /// Y coordinate. + /// Y coordinate. #[prost(int32, tag="2")] pub y: i32, } -/// A vertex represents a 2D point in the image. -/// NOTE: the normalized vertex coordinates are relative to the original image -/// and range from 0 to 1. +/// A vertex represents a 2D point in the image. +/// NOTE: the normalized vertex coordinates are relative to the original image +/// and range from 0 to 1. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NormalizedVertex { - /// X coordinate. + /// X coordinate. #[prost(float, tag="1")] pub x: f32, - /// Y coordinate. + /// Y coordinate. #[prost(float, tag="2")] pub y: f32, } -/// A bounding polygon in the image. +/// A bounding polygon in the image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingPoly { - /// The bounding polygon vertices. + /// The bounding polygon vertices. #[prost(message, repeated, tag="1")] pub vertices: ::prost::alloc::vec::Vec, } -/// Normalized bounding polygon. +/// Normalized bounding polygon. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NormalizedBoundingPoly { - /// The bounding polygon normalized vertices. + /// The bounding polygon normalized vertices. #[prost(message, repeated, tag="1")] pub normalized_vertices: ::prost::alloc::vec::Vec, } -/// Image bounding poly annotation. It represents a polygon including -/// bounding box in the image. +/// Image bounding poly annotation. It represents a polygon including +/// bounding box in the image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageBoundingPolyAnnotation { - /// Label of object in this bounding polygon. + /// Label of object in this bounding polygon. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// The region of the polygon. If it is a bounding box, it is guaranteed to be - /// four points. + /// The region of the polygon. If it is a bounding box, it is guaranteed to be + /// four points. #[prost(oneof="image_bounding_poly_annotation::BoundedArea", tags="2, 3")] pub bounded_area: ::core::option::Option, } /// Nested message and enum types in `ImageBoundingPolyAnnotation`. pub mod image_bounding_poly_annotation { - /// The region of the polygon. If it is a bounding box, it is guaranteed to be - /// four points. + /// The region of the polygon. If it is a bounding box, it is guaranteed to be + /// four points. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BoundedArea { #[prost(message, tag="2")] @@ -175,24 +175,24 @@ pub mod image_bounding_poly_annotation { NormalizedBoundingPoly(super::NormalizedBoundingPoly), } } -/// A line with multiple line segments. +/// A line with multiple line segments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Polyline { - /// The polyline vertices. + /// The polyline vertices. #[prost(message, repeated, tag="1")] pub vertices: ::prost::alloc::vec::Vec, } -/// Normalized polyline. +/// Normalized polyline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NormalizedPolyline { - /// The normalized polyline vertices. + /// The normalized polyline vertices. #[prost(message, repeated, tag="1")] pub normalized_vertices: ::prost::alloc::vec::Vec, } -/// A polyline for the image annotation. +/// A polyline for the image annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImagePolylineAnnotation { - /// Label of this polyline. + /// Label of this polyline. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, #[prost(oneof="image_polyline_annotation::Poly", tags="2, 3")] @@ -208,83 +208,83 @@ pub mod image_polyline_annotation { NormalizedPolyline(super::NormalizedPolyline), } } -/// Image segmentation annotation. +/// Image segmentation annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageSegmentationAnnotation { - /// The mapping between rgb color and annotation spec. The key is the rgb - /// color represented in format of rgb(0, 0, 0). The value is the - /// AnnotationSpec. + /// The mapping between rgb color and annotation spec. The key is the rgb + /// color represented in format of rgb(0, 0, 0). The value is the + /// AnnotationSpec. #[prost(map="string, message", tag="1")] pub annotation_colors: ::std::collections::HashMap<::prost::alloc::string::String, AnnotationSpec>, - /// Image format. + /// Image format. #[prost(string, tag="2")] pub mime_type: ::prost::alloc::string::String, - /// A byte string of a full image's color map. + /// A byte string of a full image's color map. #[prost(bytes="vec", tag="3")] pub image_bytes: ::prost::alloc::vec::Vec, } -/// Text classification annotation. +/// Text classification annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationAnnotation { - /// Label of the text. + /// Label of the text. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, } -/// Text entity extraction annotation. +/// Text entity extraction annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextEntityExtractionAnnotation { - /// Label of the text entities. + /// Label of the text entities. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// Position of the entity. + /// Position of the entity. #[prost(message, optional, tag="2")] pub sequential_segment: ::core::option::Option, } -/// Start and end position in a sequence (e.g. text segment). +/// Start and end position in a sequence (e.g. text segment). #[derive(Clone, PartialEq, ::prost::Message)] pub struct SequentialSegment { - /// Start position (inclusive). + /// Start position (inclusive). #[prost(int32, tag="1")] pub start: i32, - /// End position (exclusive). + /// End position (exclusive). #[prost(int32, tag="2")] pub end: i32, } -/// A time period inside of an example that has a time dimension (e.g. video). +/// A time period inside of an example that has a time dimension (e.g. video). #[derive(Clone, PartialEq, ::prost::Message)] pub struct TimeSegment { - /// Start of the time segment (inclusive), represented as the duration since - /// the example start. + /// Start of the time segment (inclusive), represented as the duration since + /// the example start. #[prost(message, optional, tag="1")] pub start_time_offset: ::core::option::Option<::prost_types::Duration>, - /// End of the time segment (exclusive), represented as the duration since the - /// example start. + /// End of the time segment (exclusive), represented as the duration since the + /// example start. #[prost(message, optional, tag="2")] pub end_time_offset: ::core::option::Option<::prost_types::Duration>, } -/// Video classification annotation. +/// Video classification annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoClassificationAnnotation { - /// The time segment of the video to which the annotation applies. + /// The time segment of the video to which the annotation applies. #[prost(message, optional, tag="1")] pub time_segment: ::core::option::Option, - /// Label of the segment specified by time_segment. + /// Label of the segment specified by time_segment. #[prost(message, optional, tag="2")] pub annotation_spec: ::core::option::Option, } -/// Video frame level annotation for object detection and tracking. +/// Video frame level annotation for object detection and tracking. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectTrackingFrame { - /// The time offset of this frame relative to the beginning of the video. + /// The time offset of this frame relative to the beginning of the video. #[prost(message, optional, tag="3")] pub time_offset: ::core::option::Option<::prost_types::Duration>, - /// The bounding box location of this object track for the frame. + /// The bounding box location of this object track for the frame. #[prost(oneof="object_tracking_frame::BoundedArea", tags="1, 2")] pub bounded_area: ::core::option::Option, } /// Nested message and enum types in `ObjectTrackingFrame`. pub mod object_tracking_frame { - /// The bounding box location of this object track for the frame. + /// The bounding box location of this object track for the frame. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BoundedArea { #[prost(message, tag="1")] @@ -293,61 +293,61 @@ pub mod object_tracking_frame { NormalizedBoundingPoly(super::NormalizedBoundingPoly), } } -/// Video object tracking annotation. +/// Video object tracking annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoObjectTrackingAnnotation { - /// Label of the object tracked in this annotation. + /// Label of the object tracked in this annotation. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// The time segment of the video to which object tracking applies. + /// The time segment of the video to which object tracking applies. #[prost(message, optional, tag="2")] pub time_segment: ::core::option::Option, - /// The list of frames where this object track appears. + /// The list of frames where this object track appears. #[prost(message, repeated, tag="3")] pub object_tracking_frames: ::prost::alloc::vec::Vec, } -/// Video event annotation. +/// Video event annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoEventAnnotation { - /// Label of the event in this annotation. + /// Label of the event in this annotation. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// The time segment of the video to which the annotation applies. + /// The time segment of the video to which the annotation applies. #[prost(message, optional, tag="2")] pub time_segment: ::core::option::Option, } -/// Additional information associated with the annotation. +/// Additional information associated with the annotation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationMetadata { - /// Metadata related to human labeling. + /// Metadata related to human labeling. #[prost(message, optional, tag="2")] pub operator_metadata: ::core::option::Option, } -/// General information useful for labels coming from contributors. +/// General information useful for labels coming from contributors. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperatorMetadata { - /// Confidence score corresponding to a label. For examle, if 3 contributors - /// have answered the question and 2 of them agree on the final label, the - /// confidence score will be 0.67 (2/3). + /// Confidence score corresponding to a label. For examle, if 3 contributors + /// have answered the question and 2 of them agree on the final label, the + /// confidence score will be 0.67 (2/3). #[prost(float, tag="1")] pub score: f32, - /// The total number of contributors that answer this question. + /// The total number of contributors that answer this question. #[prost(int32, tag="2")] pub total_votes: i32, - /// The total number of contributors that choose this label. + /// The total number of contributors that choose this label. #[prost(int32, tag="3")] pub label_votes: i32, - /// Comments from contributors. + /// Comments from contributors. #[prost(string, repeated, tag="4")] pub comments: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Specifies where the annotation comes from (whether it was provided by a -/// human labeler or a different source). +/// Specifies where the annotation comes from (whether it was provided by a +/// human labeler or a different source). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AnnotationSource { Unspecified = 0, - /// Answer is provided by a human contributor. + /// Answer is provided by a human contributor. Operator = 3, } impl AnnotationSource { @@ -366,9 +366,9 @@ impl AnnotationSource { #[repr(i32)] pub enum AnnotationSentiment { Unspecified = 0, - /// This annotation describes negatively about the data. + /// This annotation describes negatively about the data. Negative = 1, - /// This label describes positively about the data. + /// This label describes positively about the data. Positive = 2, } impl AnnotationSentiment { @@ -388,33 +388,33 @@ impl AnnotationSentiment { #[repr(i32)] pub enum AnnotationType { Unspecified = 0, - /// Classification annotations in an image. Allowed for continuous evaluation. + /// Classification annotations in an image. Allowed for continuous evaluation. ImageClassificationAnnotation = 1, - /// Bounding box annotations in an image. A form of image object detection. - /// Allowed for continuous evaluation. + /// Bounding box annotations in an image. A form of image object detection. + /// Allowed for continuous evaluation. ImageBoundingBoxAnnotation = 2, - /// Oriented bounding box. The box does not have to be parallel to horizontal - /// line. + /// Oriented bounding box. The box does not have to be parallel to horizontal + /// line. ImageOrientedBoundingBoxAnnotation = 13, - /// Bounding poly annotations in an image. + /// Bounding poly annotations in an image. ImageBoundingPolyAnnotation = 10, - /// Polyline annotations in an image. + /// Polyline annotations in an image. ImagePolylineAnnotation = 11, - /// Segmentation annotations in an image. + /// Segmentation annotations in an image. ImageSegmentationAnnotation = 12, - /// Classification annotations in video shots. + /// Classification annotations in video shots. VideoShotsClassificationAnnotation = 3, - /// Video object tracking annotation. + /// Video object tracking annotation. VideoObjectTrackingAnnotation = 4, - /// Video object detection annotation. + /// Video object detection annotation. VideoObjectDetectionAnnotation = 5, - /// Video event annotation. + /// Video event annotation. VideoEventAnnotation = 6, - /// Classification for text. Allowed for continuous evaluation. + /// Classification for text. Allowed for continuous evaluation. TextClassificationAnnotation = 8, - /// Entity extraction for text. + /// Entity extraction for text. TextEntityExtractionAnnotation = 9, - /// General classification. Allowed for continuous evaluation. + /// General classification. Allowed for continuous evaluation. GeneralClassificationAnnotation = 14, } impl AnnotationType { @@ -441,242 +441,242 @@ impl AnnotationType { } } } -/// Container of information about an image. +/// Container of information about an image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImagePayload { - /// Image format. + /// Image format. #[prost(string, tag="1")] pub mime_type: ::prost::alloc::string::String, - /// A byte string of a thumbnail image. + /// A byte string of a thumbnail image. #[prost(bytes="vec", tag="2")] pub image_thumbnail: ::prost::alloc::vec::Vec, - /// Image uri from the user bucket. + /// Image uri from the user bucket. #[prost(string, tag="3")] pub image_uri: ::prost::alloc::string::String, - /// Signed uri of the image file in the service bucket. + /// Signed uri of the image file in the service bucket. #[prost(string, tag="4")] pub signed_uri: ::prost::alloc::string::String, } -/// Container of information about a piece of text. +/// Container of information about a piece of text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextPayload { - /// Text content. + /// Text content. #[prost(string, tag="1")] pub text_content: ::prost::alloc::string::String, } -/// Container of information of a video thumbnail. +/// Container of information of a video thumbnail. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoThumbnail { - /// A byte string of the video frame. + /// A byte string of the video frame. #[prost(bytes="vec", tag="1")] pub thumbnail: ::prost::alloc::vec::Vec, - /// Time offset relative to the beginning of the video, corresponding to the - /// video frame where the thumbnail has been extracted from. + /// Time offset relative to the beginning of the video, corresponding to the + /// video frame where the thumbnail has been extracted from. #[prost(message, optional, tag="2")] pub time_offset: ::core::option::Option<::prost_types::Duration>, } -/// Container of information of a video. +/// Container of information of a video. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoPayload { - /// Video format. + /// Video format. #[prost(string, tag="1")] pub mime_type: ::prost::alloc::string::String, - /// Video uri from the user bucket. + /// Video uri from the user bucket. #[prost(string, tag="2")] pub video_uri: ::prost::alloc::string::String, - /// The list of video thumbnails. + /// The list of video thumbnails. #[prost(message, repeated, tag="3")] pub video_thumbnails: ::prost::alloc::vec::Vec, - /// FPS of the video. + /// FPS of the video. #[prost(float, tag="4")] pub frame_rate: f32, - /// Signed uri of the video file in the service bucket. + /// Signed uri of the video file in the service bucket. #[prost(string, tag="5")] pub signed_uri: ::prost::alloc::string::String, } -/// Configuration for how human labeling task should be done. +/// Configuration for how human labeling task should be done. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HumanAnnotationConfig { - /// Required. Instruction resource name. + /// Required. Instruction resource name. #[prost(string, tag="1")] pub instruction: ::prost::alloc::string::String, - /// Required. A human-readable name for AnnotatedDataset defined by - /// users. Maximum of 64 characters - /// . + /// Required. A human-readable name for AnnotatedDataset defined by + /// users. Maximum of 64 characters + /// . #[prost(string, tag="2")] pub annotated_dataset_display_name: ::prost::alloc::string::String, - /// Optional. A human-readable description for AnnotatedDataset. - /// The description can be up to 10000 characters long. + /// Optional. A human-readable description for AnnotatedDataset. + /// The description can be up to 10000 characters long. #[prost(string, tag="3")] pub annotated_dataset_description: ::prost::alloc::string::String, - /// Optional. A human-readable label used to logically group labeling tasks. - /// This string must match the regular expression `\[a-zA-Z\\d_-\]{0,128}`. + /// Optional. A human-readable label used to logically group labeling tasks. + /// This string must match the regular expression `\[a-zA-Z\\d_-\]{0,128}`. #[prost(string, tag="4")] pub label_group: ::prost::alloc::string::String, - /// Optional. The Language of this question, as a - /// \[BCP-47\](). - /// Default value is en-US. - /// Only need to set this when task is language related. For example, French - /// text classification. + /// Optional. The Language of this question, as a + /// \[BCP-47\](). + /// Default value is en-US. + /// Only need to set this when task is language related. For example, French + /// text classification. #[prost(string, tag="5")] pub language_code: ::prost::alloc::string::String, - /// Optional. Replication of questions. Each question will be sent to up to - /// this number of contributors to label. Aggregated answers will be returned. - /// Default is set to 1. - /// For image related labeling, valid values are 1, 3, 5. + /// Optional. Replication of questions. Each question will be sent to up to + /// this number of contributors to label. Aggregated answers will be returned. + /// Default is set to 1. + /// For image related labeling, valid values are 1, 3, 5. #[prost(int32, tag="6")] pub replica_count: i32, - /// Optional. Maximum duration for contributors to answer a question. Maximum - /// is 3600 seconds. Default is 3600 seconds. + /// Optional. Maximum duration for contributors to answer a question. Maximum + /// is 3600 seconds. Default is 3600 seconds. #[prost(message, optional, tag="7")] pub question_duration: ::core::option::Option<::prost_types::Duration>, - /// Optional. If you want your own labeling contributors to manage and work on - /// this labeling request, you can set these contributors here. We will give - /// them access to the question types in crowdcompute. Note that these - /// emails must be registered in crowdcompute worker UI: - /// + /// Optional. If you want your own labeling contributors to manage and work on + /// this labeling request, you can set these contributors here. We will give + /// them access to the question types in crowdcompute. Note that these + /// emails must be registered in crowdcompute worker UI: + /// #[prost(string, repeated, tag="9")] pub contributor_emails: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Email of the user who started the labeling task and should be notified by - /// email. If empty no notification will be sent. + /// Email of the user who started the labeling task and should be notified by + /// email. If empty no notification will be sent. #[prost(string, tag="10")] pub user_email_address: ::prost::alloc::string::String, } -/// Config for image classification human labeling task. +/// Config for image classification human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImageClassificationConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Optional. If allow_multi_label is true, contributors are able to choose - /// multiple labels for one image. + /// Optional. If allow_multi_label is true, contributors are able to choose + /// multiple labels for one image. #[prost(bool, tag="2")] pub allow_multi_label: bool, - /// Optional. The type of how to aggregate answers. + /// Optional. The type of how to aggregate answers. #[prost(enumeration="StringAggregationType", tag="3")] pub answer_aggregation_type: i32, } -/// Config for image bounding poly (and bounding box) human labeling task. +/// Config for image bounding poly (and bounding box) human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingPolyConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Optional. Instruction message showed on contributors UI. + /// Optional. Instruction message showed on contributors UI. #[prost(string, tag="2")] pub instruction_message: ::prost::alloc::string::String, } -/// Config for image polyline human labeling task. +/// Config for image polyline human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PolylineConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Optional. Instruction message showed on contributors UI. + /// Optional. Instruction message showed on contributors UI. #[prost(string, tag="2")] pub instruction_message: ::prost::alloc::string::String, } -/// Config for image segmentation +/// Config for image segmentation #[derive(Clone, PartialEq, ::prost::Message)] pub struct SegmentationConfig { - /// Required. Annotation spec set resource name. format: - /// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} + /// Required. Annotation spec set resource name. format: + /// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Instruction message showed on labelers UI. + /// Instruction message showed on labelers UI. #[prost(string, tag="2")] pub instruction_message: ::prost::alloc::string::String, } -/// Config for video classification human labeling task. -/// Currently two types of video classification are supported: -/// 1. Assign labels on the entire video. -/// 2. Split the video into multiple video clips based on camera shot, and -/// assign labels on each video clip. +/// Config for video classification human labeling task. +/// Currently two types of video classification are supported: +/// 1. Assign labels on the entire video. +/// 2. Split the video into multiple video clips based on camera shot, and +/// assign labels on each video clip. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VideoClassificationConfig { - /// Required. The list of annotation spec set configs. - /// Since watching a video clip takes much longer time than an image, we - /// support label with multiple AnnotationSpecSet at the same time. Labels - /// in each AnnotationSpecSet will be shown in a group to contributors. - /// Contributors can select one or more (depending on whether to allow multi - /// label) from each group. + /// Required. The list of annotation spec set configs. + /// Since watching a video clip takes much longer time than an image, we + /// support label with multiple AnnotationSpecSet at the same time. Labels + /// in each AnnotationSpecSet will be shown in a group to contributors. + /// Contributors can select one or more (depending on whether to allow multi + /// label) from each group. #[prost(message, repeated, tag="1")] pub annotation_spec_set_configs: ::prost::alloc::vec::Vec, - /// Optional. Option to apply shot detection on the video. + /// Optional. Option to apply shot detection on the video. #[prost(bool, tag="2")] pub apply_shot_detection: bool, } /// Nested message and enum types in `VideoClassificationConfig`. pub mod video_classification_config { - /// Annotation spec set with the setting of allowing multi labels or not. + /// Annotation spec set with the setting of allowing multi labels or not. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotationSpecSetConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Optional. If allow_multi_label is true, contributors are able to - /// choose multiple labels from one annotation spec set. + /// Optional. If allow_multi_label is true, contributors are able to + /// choose multiple labels from one annotation spec set. #[prost(bool, tag="2")] pub allow_multi_label: bool, } } -/// Config for video object detection human labeling task. -/// Object detection will be conducted on the images extracted from the video, -/// and those objects will be labeled with bounding boxes. -/// User need to specify the number of images to be extracted per second as the -/// extraction frame rate. +/// Config for video object detection human labeling task. +/// Object detection will be conducted on the images extracted from the video, +/// and those objects will be labeled with bounding boxes. +/// User need to specify the number of images to be extracted per second as the +/// extraction frame rate. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectDetectionConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Required. Number of frames per second to be extracted from the video. + /// Required. Number of frames per second to be extracted from the video. #[prost(double, tag="3")] pub extraction_frame_rate: f64, } -/// Config for video object tracking human labeling task. +/// Config for video object tracking human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectTrackingConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, } -/// Config for video event human labeling task. +/// Config for video event human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventConfig { - /// Required. The list of annotation spec set resource name. Similar to video - /// classification, we support selecting event from multiple AnnotationSpecSet - /// at the same time. + /// Required. The list of annotation spec set resource name. Similar to video + /// classification, we support selecting event from multiple AnnotationSpecSet + /// at the same time. #[prost(string, repeated, tag="1")] pub annotation_spec_sets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Config for text classification human labeling task. +/// Config for text classification human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextClassificationConfig { - /// Optional. If allow_multi_label is true, contributors are able to choose - /// multiple labels for one text segment. + /// Optional. If allow_multi_label is true, contributors are able to choose + /// multiple labels for one text segment. #[prost(bool, tag="1")] pub allow_multi_label: bool, - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="2")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Optional. Configs for sentiment selection. + /// Optional. Configs for sentiment selection. #[prost(message, optional, tag="3")] pub sentiment_config: ::core::option::Option, } -/// Config for setting up sentiments. +/// Config for setting up sentiments. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SentimentConfig { - /// If set to true, contributors will have the option to select sentiment of - /// the label they selected, to mark it as negative or positive label. Default - /// is false. + /// If set to true, contributors will have the option to select sentiment of + /// the label they selected, to mark it as negative or positive label. Default + /// is false. #[prost(bool, tag="1")] pub enable_label_sentiment_selection: bool, } -/// Config for text entity extraction human labeling task. +/// Config for text entity extraction human labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextEntityExtractionConfig { - /// Required. Annotation spec set resource name. + /// Required. Annotation spec set resource name. #[prost(string, tag="1")] pub annotation_spec_set: ::prost::alloc::string::String, } @@ -684,11 +684,11 @@ pub struct TextEntityExtractionConfig { #[repr(i32)] pub enum StringAggregationType { Unspecified = 0, - /// Majority vote to aggregate answers. + /// Majority vote to aggregate answers. MajorityVote = 1, - /// Unanimous answers will be adopted. + /// Unanimous answers will be adopted. UnanimousVote = 2, - /// Preserve all answers by crowd compute. + /// Preserve all answers by crowd compute. NoAggregation = 3, } impl StringAggregationType { @@ -705,335 +705,335 @@ impl StringAggregationType { } } } -/// Dataset is the resource to hold your data. You can request multiple labeling -/// tasks for a dataset while each one will generate an AnnotatedDataset. +/// Dataset is the resource to hold your data. You can request multiple labeling +/// tasks for a dataset while each one will generate an AnnotatedDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Dataset { - /// Output only. Dataset resource name, format is: - /// projects/{project_id}/datasets/{dataset_id} + /// Output only. Dataset resource name, format is: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the dataset. Maximum of 64 characters. + /// Required. The display name of the dataset. Maximum of 64 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. User-provided description of the annotation specification set. - /// The description can be up to 10000 characters long. + /// Optional. User-provided description of the annotation specification set. + /// The description can be up to 10000 characters long. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Time the dataset is created. + /// Output only. Time the dataset is created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. This is populated with the original input configs - /// where ImportData is called. It is available only after the clients - /// import data to this dataset. + /// Output only. This is populated with the original input configs + /// where ImportData is called. It is available only after the clients + /// import data to this dataset. #[prost(message, repeated, tag="5")] pub input_configs: ::prost::alloc::vec::Vec, - /// Output only. The names of any related resources that are blocking changes - /// to the dataset. + /// Output only. The names of any related resources that are blocking changes + /// to the dataset. #[prost(string, repeated, tag="6")] pub blocking_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The number of data items in the dataset. + /// Output only. The number of data items in the dataset. #[prost(int64, tag="7")] pub data_item_count: i64, } -/// The configuration of input data, including data type, location, etc. +/// The configuration of input data, including data type, location, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputConfig { - /// Required. Data type must be specifed when user tries to import data. + /// Required. Data type must be specifed when user tries to import data. #[prost(enumeration="DataType", tag="1")] pub data_type: i32, - /// Optional. The type of annotation to be performed on this data. You must - /// specify this field if you are using this InputConfig in an - /// \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. + /// Optional. The type of annotation to be performed on this data. You must + /// specify this field if you are using this InputConfig in an + /// \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. #[prost(enumeration="AnnotationType", tag="3")] pub annotation_type: i32, - /// Optional. Metadata about annotations for the input. You must specify this - /// field if you are using this InputConfig in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\] for a - /// model version that performs classification. + /// Optional. Metadata about annotations for the input. You must specify this + /// field if you are using this InputConfig in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\] for a + /// model version that performs classification. #[prost(message, optional, tag="4")] pub classification_metadata: ::core::option::Option, - /// Optional. The metadata associated with each data type. + /// Optional. The metadata associated with each data type. #[prost(oneof="input_config::DataTypeMetadata", tags="6")] pub data_type_metadata: ::core::option::Option, - /// Required. Where the data is from. + /// Required. Where the data is from. #[prost(oneof="input_config::Source", tags="2, 5")] pub source: ::core::option::Option, } /// Nested message and enum types in `InputConfig`. pub mod input_config { - /// Optional. The metadata associated with each data type. + /// Optional. The metadata associated with each data type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataTypeMetadata { - /// Required for text import, as language code must be specified. + /// Required for text import, as language code must be specified. #[prost(message, tag="6")] TextMetadata(super::TextMetadata), } - /// Required. Where the data is from. + /// Required. Where the data is from. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// Source located in Cloud Storage. + /// Source located in Cloud Storage. #[prost(message, tag="2")] GcsSource(super::GcsSource), - /// Source located in BigQuery. You must specify this field if you are using - /// this InputConfig in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. + /// Source located in BigQuery. You must specify this field if you are using + /// this InputConfig in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. #[prost(message, tag="5")] BigquerySource(super::BigQuerySource), } } -/// Metadata for the text. +/// Metadata for the text. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextMetadata { - /// The language of this text, as a - /// \[BCP-47\](). - /// Default value is en-US. + /// The language of this text, as a + /// \[BCP-47\](). + /// Default value is en-US. #[prost(string, tag="1")] pub language_code: ::prost::alloc::string::String, } -/// Metadata for classification annotations. +/// Metadata for classification annotations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationMetadata { - /// Whether the classification task is multi-label or not. + /// Whether the classification task is multi-label or not. #[prost(bool, tag="1")] pub is_multi_label: bool, } -/// Source of the Cloud Storage file to be imported. +/// Source of the Cloud Storage file to be imported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsSource { - /// Required. The input URI of source file. This must be a Cloud Storage path - /// (`gs://...`). + /// Required. The input URI of source file. This must be a Cloud Storage path + /// (`gs://...`). #[prost(string, tag="1")] pub input_uri: ::prost::alloc::string::String, - /// Required. The format of the source file. Only "text/csv" is supported. + /// Required. The format of the source file. Only "text/csv" is supported. #[prost(string, tag="2")] pub mime_type: ::prost::alloc::string::String, } -/// The BigQuery location for input data. If used in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\], this -/// is where the service saves the prediction input and output sampled from the -/// model version. +/// The BigQuery location for input data. If used in an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\], this +/// is where the service saves the prediction input and output sampled from the +/// model version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQuerySource { - /// Required. BigQuery URI to a table, up to 2,000 characters long. If you - /// specify the URI of a table that does not exist, Data Labeling Service - /// creates a table at the URI with the correct schema when you create your - /// \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. If you specify the URI of a table that already exists, - /// it must have the - /// [correct - /// schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). + /// Required. BigQuery URI to a table, up to 2,000 characters long. If you + /// specify the URI of a table that does not exist, Data Labeling Service + /// creates a table at the URI with the correct schema when you create your + /// \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\]. If you specify the URI of a table that already exists, + /// it must have the + /// [correct + /// schema](/ml-engine/docs/continuous-evaluation/create-job#table-schema). /// - /// Provide the table URI in the following format: + /// Provide the table URI in the following format: /// - /// "bq://{your_project_id}/{your_dataset_name}/{your_table_name}" + /// "bq://{your_project_id}/{your_dataset_name}/{your_table_name}" /// - /// [Learn - /// more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). + /// [Learn + /// more](/ml-engine/docs/continuous-evaluation/create-job#table-schema). #[prost(string, tag="1")] pub input_uri: ::prost::alloc::string::String, } -/// The configuration of output data. +/// The configuration of output data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputConfig { - /// Required. Location to output data to. + /// Required. Location to output data to. #[prost(oneof="output_config::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `OutputConfig`. pub mod output_config { - /// Required. Location to output data to. + /// Required. Location to output data to. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// Output to a file in Cloud Storage. Should be used for labeling output - /// other than image segmentation. + /// Output to a file in Cloud Storage. Should be used for labeling output + /// other than image segmentation. #[prost(message, tag="1")] GcsDestination(super::GcsDestination), - /// Output to a folder in Cloud Storage. Should be used for image - /// segmentation labeling output. + /// Output to a folder in Cloud Storage. Should be used for image + /// segmentation labeling output. #[prost(message, tag="2")] GcsFolderDestination(super::GcsFolderDestination), } } -/// Export destination of the data.Only gcs path is allowed in -/// output_uri. +/// Export destination of the data.Only gcs path is allowed in +/// output_uri. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestination { - /// Required. The output uri of destination file. + /// Required. The output uri of destination file. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, - /// Required. The format of the gcs destination. Only "text/csv" and - /// "application/json" - /// are supported. + /// Required. The format of the gcs destination. Only "text/csv" and + /// "application/json" + /// are supported. #[prost(string, tag="2")] pub mime_type: ::prost::alloc::string::String, } -/// Export folder destination of the data. +/// Export folder destination of the data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsFolderDestination { - /// Required. Cloud Storage directory to export data to. + /// Required. Cloud Storage directory to export data to. #[prost(string, tag="1")] pub output_folder_uri: ::prost::alloc::string::String, } -/// DataItem is a piece of data, without annotation. For example, an image. +/// DataItem is a piece of data, without annotation. For example, an image. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataItem { - /// Output only. Name of the data item, in format of: - /// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} + /// Output only. Name of the data item, in format of: + /// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. + /// Output only. #[prost(oneof="data_item::Payload", tags="2, 3, 4")] pub payload: ::core::option::Option, } /// Nested message and enum types in `DataItem`. pub mod data_item { - /// Output only. + /// Output only. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// The image payload, a container of the image bytes/uri. + /// The image payload, a container of the image bytes/uri. #[prost(message, tag="2")] ImagePayload(super::ImagePayload), - /// The text payload, a container of text content. + /// The text payload, a container of text content. #[prost(message, tag="3")] TextPayload(super::TextPayload), - /// The video payload, a container of the video uri. + /// The video payload, a container of the video uri. #[prost(message, tag="4")] VideoPayload(super::VideoPayload), } } -/// AnnotatedDataset is a set holding annotations for data in a Dataset. Each -/// labeling task will generate an AnnotatedDataset under the Dataset that the -/// task is requested for. +/// AnnotatedDataset is a set holding annotations for data in a Dataset. Each +/// labeling task will generate an AnnotatedDataset under the Dataset that the +/// task is requested for. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotatedDataset { - /// Output only. AnnotatedDataset resource name in format of: - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id} + /// Output only. AnnotatedDataset resource name in format of: + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The display name of the AnnotatedDataset. It is specified in - /// HumanAnnotationConfig when user starts a labeling task. Maximum of 64 - /// characters. + /// Output only. The display name of the AnnotatedDataset. It is specified in + /// HumanAnnotationConfig when user starts a labeling task. Maximum of 64 + /// characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. The description of the AnnotatedDataset. It is specified in - /// HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 - /// characters. + /// Output only. The description of the AnnotatedDataset. It is specified in + /// HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 + /// characters. #[prost(string, tag="9")] pub description: ::prost::alloc::string::String, - /// Output only. Source of the annotation. + /// Output only. Source of the annotation. #[prost(enumeration="AnnotationSource", tag="3")] pub annotation_source: i32, - /// Output only. Type of the annotation. It is specified when starting labeling - /// task. + /// Output only. Type of the annotation. It is specified when starting labeling + /// task. #[prost(enumeration="AnnotationType", tag="8")] pub annotation_type: i32, - /// Output only. Number of examples in the annotated dataset. + /// Output only. Number of examples in the annotated dataset. #[prost(int64, tag="4")] pub example_count: i64, - /// Output only. Number of examples that have annotation in the annotated - /// dataset. + /// Output only. Number of examples that have annotation in the annotated + /// dataset. #[prost(int64, tag="5")] pub completed_example_count: i64, - /// Output only. Per label statistics. + /// Output only. Per label statistics. #[prost(message, optional, tag="6")] pub label_stats: ::core::option::Option, - /// Output only. Time the AnnotatedDataset was created. + /// Output only. Time the AnnotatedDataset was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Additional information about AnnotatedDataset. + /// Output only. Additional information about AnnotatedDataset. #[prost(message, optional, tag="10")] pub metadata: ::core::option::Option, - /// Output only. The names of any related resources that are blocking changes - /// to the annotated dataset. + /// Output only. The names of any related resources that are blocking changes + /// to the annotated dataset. #[prost(string, repeated, tag="11")] pub blocking_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Statistics about annotation specs. +/// Statistics about annotation specs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelStats { - /// Map of each annotation spec's example count. Key is the annotation spec - /// name and value is the number of examples for that annotation spec. - /// If the annotated dataset does not have annotation spec, the map will return - /// a pair where the key is empty string and value is the total number of - /// annotations. + /// Map of each annotation spec's example count. Key is the annotation spec + /// name and value is the number of examples for that annotation spec. + /// If the annotated dataset does not have annotation spec, the map will return + /// a pair where the key is empty string and value is the total number of + /// annotations. #[prost(map="string, int64", tag="1")] pub example_count: ::std::collections::HashMap<::prost::alloc::string::String, i64>, } -/// Metadata on AnnotatedDataset. +/// Metadata on AnnotatedDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotatedDatasetMetadata { - /// HumanAnnotationConfig used when requesting the human labeling task for this - /// AnnotatedDataset. + /// HumanAnnotationConfig used when requesting the human labeling task for this + /// AnnotatedDataset. #[prost(message, optional, tag="1")] pub human_annotation_config: ::core::option::Option, - /// Specific request configuration used when requesting the labeling task. + /// Specific request configuration used when requesting the labeling task. #[prost(oneof="annotated_dataset_metadata::AnnotationRequestConfig", tags="2, 3, 4, 5, 6, 7, 8, 9, 10, 11")] pub annotation_request_config: ::core::option::Option, } /// Nested message and enum types in `AnnotatedDatasetMetadata`. pub mod annotated_dataset_metadata { - /// Specific request configuration used when requesting the labeling task. + /// Specific request configuration used when requesting the labeling task. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AnnotationRequestConfig { - /// Configuration for image classification task. + /// Configuration for image classification task. #[prost(message, tag="2")] ImageClassificationConfig(super::ImageClassificationConfig), - /// Configuration for image bounding box and bounding poly task. + /// Configuration for image bounding box and bounding poly task. #[prost(message, tag="3")] BoundingPolyConfig(super::BoundingPolyConfig), - /// Configuration for image polyline task. + /// Configuration for image polyline task. #[prost(message, tag="4")] PolylineConfig(super::PolylineConfig), - /// Configuration for image segmentation task. + /// Configuration for image segmentation task. #[prost(message, tag="5")] SegmentationConfig(super::SegmentationConfig), - /// Configuration for video classification task. + /// Configuration for video classification task. #[prost(message, tag="6")] VideoClassificationConfig(super::VideoClassificationConfig), - /// Configuration for video object detection task. + /// Configuration for video object detection task. #[prost(message, tag="7")] ObjectDetectionConfig(super::ObjectDetectionConfig), - /// Configuration for video object tracking task. + /// Configuration for video object tracking task. #[prost(message, tag="8")] ObjectTrackingConfig(super::ObjectTrackingConfig), - /// Configuration for video event labeling task. + /// Configuration for video event labeling task. #[prost(message, tag="9")] EventConfig(super::EventConfig), - /// Configuration for text classification task. + /// Configuration for text classification task. #[prost(message, tag="10")] TextClassificationConfig(super::TextClassificationConfig), - /// Configuration for text entity extraction task. + /// Configuration for text entity extraction task. #[prost(message, tag="11")] TextEntityExtractionConfig(super::TextEntityExtractionConfig), } } -/// An Example is a piece of data and its annotation. For example, an image with -/// label "house". +/// An Example is a piece of data and its annotation. For example, an image with +/// label "house". #[derive(Clone, PartialEq, ::prost::Message)] pub struct Example { - /// Output only. Name of the example, in format of: - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id}/examples/{example_id} + /// Output only. Name of the example, in format of: + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id}/examples/{example_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Annotations for the piece of data in Example. - /// One piece of data can have multiple annotations. + /// Output only. Annotations for the piece of data in Example. + /// One piece of data can have multiple annotations. #[prost(message, repeated, tag="5")] pub annotations: ::prost::alloc::vec::Vec, - /// Output only. The data part of Example. + /// Output only. The data part of Example. #[prost(oneof="example::Payload", tags="2, 6, 7")] pub payload: ::core::option::Option, } /// Nested message and enum types in `Example`. pub mod example { - /// Output only. The data part of Example. + /// Output only. The data part of Example. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Payload { - /// The image payload, a container of the image bytes/uri. + /// The image payload, a container of the image bytes/uri. #[prost(message, tag="2")] ImagePayload(super::ImagePayload), - /// The text payload, a container of the text content. + /// The text payload, a container of the text content. #[prost(message, tag="6")] TextPayload(super::TextPayload), - /// The video payload, a container of the video uri. + /// The video payload, a container of the video uri. #[prost(message, tag="7")] VideoPayload(super::VideoPayload), } @@ -1042,12 +1042,12 @@ pub mod example { #[repr(i32)] pub enum DataType { Unspecified = 0, - /// Allowed for continuous evaluation. + /// Allowed for continuous evaluation. Image = 1, Video = 2, - /// Allowed for continuous evaluation. + /// Allowed for continuous evaluation. Text = 4, - /// Allowed for continuous evaluation. + /// Allowed for continuous evaluation. GeneralData = 6, } impl DataType { @@ -1065,84 +1065,84 @@ impl DataType { } } } -/// Describes an evaluation between a machine learning model's predictions and -/// ground truth labels. Created when an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\] runs successfully. +/// Describes an evaluation between a machine learning model's predictions and +/// ground truth labels. Created when an \[EvaluationJob][google.cloud.datalabeling.v1beta1.EvaluationJob\] runs successfully. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Evaluation { - /// Output only. Resource name of an evaluation. The name has the following - /// format: + /// Output only. Resource name of an evaluation. The name has the following + /// format: /// - /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}' + /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}' #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Options used in the evaluation job that created this - /// evaluation. + /// Output only. Options used in the evaluation job that created this + /// evaluation. #[prost(message, optional, tag="2")] pub config: ::core::option::Option, - /// Output only. Timestamp for when the evaluation job that created this - /// evaluation ran. + /// Output only. Timestamp for when the evaluation job that created this + /// evaluation ran. #[prost(message, optional, tag="3")] pub evaluation_job_run_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Timestamp for when this evaluation was created. + /// Output only. Timestamp for when this evaluation was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Metrics comparing predictions to ground truth labels. + /// Output only. Metrics comparing predictions to ground truth labels. #[prost(message, optional, tag="5")] pub evaluation_metrics: ::core::option::Option, - /// Output only. Type of task that the model version being evaluated performs, - /// as defined in the + /// Output only. Type of task that the model version being evaluated performs, + /// as defined in the /// - /// \[evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\] - /// field of the evaluation job that created this evaluation. + /// \[evaluationJobConfig.inputConfig.annotationType][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\] + /// field of the evaluation job that created this evaluation. #[prost(enumeration="AnnotationType", tag="6")] pub annotation_type: i32, - /// Output only. The number of items in the ground truth dataset that were used - /// for this evaluation. Only populated when the evaulation is for certain - /// AnnotationTypes. + /// Output only. The number of items in the ground truth dataset that were used + /// for this evaluation. Only populated when the evaulation is for certain + /// AnnotationTypes. #[prost(int64, tag="7")] pub evaluated_item_count: i64, } -/// Configuration details used for calculating evaluation metrics and creating an -/// \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\]. +/// Configuration details used for calculating evaluation metrics and creating an +/// \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationConfig { - /// Vertical specific options for general metrics. + /// Vertical specific options for general metrics. #[prost(oneof="evaluation_config::VerticalOption", tags="1")] pub vertical_option: ::core::option::Option, } /// Nested message and enum types in `EvaluationConfig`. pub mod evaluation_config { - /// Vertical specific options for general metrics. + /// Vertical specific options for general metrics. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum VerticalOption { - /// Only specify this field if the related model performs image object - /// detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate - /// bounding boxes. + /// Only specify this field if the related model performs image object + /// detection (`IMAGE_BOUNDING_BOX_ANNOTATION`). Describes how to evaluate + /// bounding boxes. #[prost(message, tag="1")] BoundingBoxEvaluationOptions(super::BoundingBoxEvaluationOptions), } } -/// Options regarding evaluation between bounding boxes. +/// Options regarding evaluation between bounding boxes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BoundingBoxEvaluationOptions { - /// Minimum - /// [intersection-over-union + /// Minimum + /// [intersection-over-union /// - /// (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) - /// required for 2 bounding boxes to be considered a match. This must be a - /// number between 0 and 1. + /// (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) + /// required for 2 bounding boxes to be considered a match. This must be a + /// number between 0 and 1. #[prost(float, tag="1")] pub iou_threshold: f32, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationMetrics { - /// Common metrics covering most general cases. + /// Common metrics covering most general cases. #[prost(oneof="evaluation_metrics::Metrics", tags="1, 2")] pub metrics: ::core::option::Option, } /// Nested message and enum types in `EvaluationMetrics`. pub mod evaluation_metrics { - /// Common metrics covering most general cases. + /// Common metrics covering most general cases. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Metrics { #[prost(message, tag="1")] @@ -1151,40 +1151,40 @@ pub mod evaluation_metrics { ObjectDetectionMetrics(super::ObjectDetectionMetrics), } } -/// Metrics calculated for a classification model. +/// Metrics calculated for a classification model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClassificationMetrics { - /// Precision-recall curve based on ground truth labels, predicted labels, and - /// scores for the predicted labels. + /// Precision-recall curve based on ground truth labels, predicted labels, and + /// scores for the predicted labels. #[prost(message, optional, tag="1")] pub pr_curve: ::core::option::Option, - /// Confusion matrix of predicted labels vs. ground truth labels. + /// Confusion matrix of predicted labels vs. ground truth labels. #[prost(message, optional, tag="2")] pub confusion_matrix: ::core::option::Option, } -/// Metrics calculated for an image object detection (bounding box) model. +/// Metrics calculated for an image object detection (bounding box) model. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ObjectDetectionMetrics { - /// Precision-recall curve. + /// Precision-recall curve. #[prost(message, optional, tag="1")] pub pr_curve: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrCurve { - /// The annotation spec of the label for which the precision-recall curve - /// calculated. If this field is empty, that means the precision-recall curve - /// is an aggregate curve for all labels. + /// The annotation spec of the label for which the precision-recall curve + /// calculated. If this field is empty, that means the precision-recall curve + /// is an aggregate curve for all labels. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// Area under the precision-recall curve. Not to be confused with area under - /// a receiver operating characteristic (ROC) curve. + /// Area under the precision-recall curve. Not to be confused with area under + /// a receiver operating characteristic (ROC) curve. #[prost(float, tag="2")] pub area_under_curve: f32, - /// Entries that make up the precision-recall graph. Each entry is a "point" on - /// the graph drawn for a different `confidence_threshold`. + /// Entries that make up the precision-recall graph. Each entry is a "point" on + /// the graph drawn for a different `confidence_threshold`. #[prost(message, repeated, tag="3")] pub confidence_metrics_entries: ::prost::alloc::vec::Vec, - /// Mean average prcision of this curve. + /// Mean average prcision of this curve. #[prost(float, tag="4")] pub mean_average_precision: f32, } @@ -1192,52 +1192,52 @@ pub struct PrCurve { pub mod pr_curve { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceMetricsEntry { - /// Threshold used for this entry. + /// Threshold used for this entry. /// - /// For classification tasks, this is a classification threshold: a - /// predicted label is categorized as positive or negative (in the context of - /// this point on the PR curve) based on whether the label's score meets this - /// threshold. + /// For classification tasks, this is a classification threshold: a + /// predicted label is categorized as positive or negative (in the context of + /// this point on the PR curve) based on whether the label's score meets this + /// threshold. /// - /// For image object detection (bounding box) tasks, this is the - /// [intersection-over-union + /// For image object detection (bounding box) tasks, this is the + /// [intersection-over-union /// - /// (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) - /// threshold for the context of this point on the PR curve. + /// (IOU)](/vision/automl/object-detection/docs/evaluate#intersection-over-union) + /// threshold for the context of this point on the PR curve. #[prost(float, tag="1")] pub confidence_threshold: f32, - /// Recall value. + /// Recall value. #[prost(float, tag="2")] pub recall: f32, - /// Precision value. + /// Precision value. #[prost(float, tag="3")] pub precision: f32, - /// Harmonic mean of recall and precision. + /// Harmonic mean of recall and precision. #[prost(float, tag="4")] pub f1_score: f32, - /// Recall value for entries with label that has highest score. + /// Recall value for entries with label that has highest score. #[prost(float, tag="5")] pub recall_at1: f32, - /// Precision value for entries with label that has highest score. + /// Precision value for entries with label that has highest score. #[prost(float, tag="6")] pub precision_at1: f32, - /// The harmonic mean of \[recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1\]. + /// The harmonic mean of \[recall_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at1\] and \[precision_at1][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at1\]. #[prost(float, tag="7")] pub f1_score_at1: f32, - /// Recall value for entries with label that has highest 5 scores. + /// Recall value for entries with label that has highest 5 scores. #[prost(float, tag="8")] pub recall_at5: f32, - /// Precision value for entries with label that has highest 5 scores. + /// Precision value for entries with label that has highest 5 scores. #[prost(float, tag="9")] pub precision_at5: f32, - /// The harmonic mean of \[recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5\] and \[precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5\]. + /// The harmonic mean of \[recall_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.recall_at5\] and \[precision_at5][google.cloud.datalabeling.v1beta1.PrCurve.ConfidenceMetricsEntry.precision_at5\]. #[prost(float, tag="10")] pub f1_score_at5: f32, } } -/// Confusion matrix of the model running the classification. Only applicable -/// when the metrics entry aggregates multiple labels. Not applicable when the -/// entry is for a single label. +/// Confusion matrix of the model running the classification. Only applicable +/// when the metrics entry aggregates multiple labels. Not applicable when the +/// entry is for a single label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfusionMatrix { #[prost(message, repeated, tag="1")] @@ -1247,113 +1247,113 @@ pub struct ConfusionMatrix { pub mod confusion_matrix { #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfusionMatrixEntry { - /// The annotation spec of a predicted label. + /// The annotation spec of a predicted label. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// Number of items predicted to have this label. (The ground truth label for - /// these items is the `Row.annotationSpec` of this entry's parent.) + /// Number of items predicted to have this label. (The ground truth label for + /// these items is the `Row.annotationSpec` of this entry's parent.) #[prost(int32, tag="2")] pub item_count: i32, } - /// A row in the confusion matrix. Each entry in this row has the same - /// ground truth label. + /// A row in the confusion matrix. Each entry in this row has the same + /// ground truth label. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Row { - /// The annotation spec of the ground truth label for this row. + /// The annotation spec of the ground truth label for this row. #[prost(message, optional, tag="1")] pub annotation_spec: ::core::option::Option, - /// A list of the confusion matrix entries. One entry for each possible - /// predicted label. + /// A list of the confusion matrix entries. One entry for each possible + /// predicted label. #[prost(message, repeated, tag="2")] pub entries: ::prost::alloc::vec::Vec, } } -/// Defines an evaluation job that runs periodically to generate -/// \[Evaluations][google.cloud.datalabeling.v1beta1.Evaluation\]. [Creating an evaluation -/// job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point -/// for using continuous evaluation. +/// Defines an evaluation job that runs periodically to generate +/// \[Evaluations][google.cloud.datalabeling.v1beta1.Evaluation\]. [Creating an evaluation +/// job](/ml-engine/docs/continuous-evaluation/create-job) is the starting point +/// for using continuous evaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationJob { - /// Output only. After you create a job, Data Labeling Service assigns a name - /// to the job with the following format: + /// Output only. After you create a job, Data Labeling Service assigns a name + /// to the job with the following format: /// - /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" + /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Description of the job. The description can be up to 25,000 - /// characters long. + /// Required. Description of the job. The description can be up to 25,000 + /// characters long. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Output only. Describes the current state of the job. + /// Output only. Describes the current state of the job. #[prost(enumeration="evaluation_job::State", tag="3")] pub state: i32, - /// Required. Describes the interval at which the job runs. This interval must - /// be at least 1 day, and it is rounded to the nearest day. For example, if - /// you specify a 50-hour interval, the job runs every 2 days. + /// Required. Describes the interval at which the job runs. This interval must + /// be at least 1 day, and it is rounded to the nearest day. For example, if + /// you specify a 50-hour interval, the job runs every 2 days. /// - /// You can provide the schedule in - /// [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an - /// [English-like - /// format](/appengine/docs/standard/python/config/cronref#schedule_format). + /// You can provide the schedule in + /// [crontab format](/scheduler/docs/configuring/cron-job-schedules) or in an + /// [English-like + /// format](/appengine/docs/standard/python/config/cronref#schedule_format). /// - /// Regardless of what you specify, the job will run at 10:00 AM UTC. Only the - /// interval from this schedule is used, not the specific time of day. + /// Regardless of what you specify, the job will run at 10:00 AM UTC. Only the + /// interval from this schedule is used, not the specific time of day. #[prost(string, tag="4")] pub schedule: ::prost::alloc::string::String, - /// Required. The [AI Platform Prediction model - /// version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction - /// input and output is sampled from this model version. When creating an - /// evaluation job, specify the model version in the following format: + /// Required. The [AI Platform Prediction model + /// version](/ml-engine/docs/prediction-overview) to be evaluated. Prediction + /// input and output is sampled from this model version. When creating an + /// evaluation job, specify the model version in the following format: /// - /// "projects/{project_id}/models/{model_name}/versions/{version_name}" + /// "projects/{project_id}/models/{model_name}/versions/{version_name}" /// - /// There can only be one evaluation job per model version. + /// There can only be one evaluation job per model version. #[prost(string, tag="5")] pub model_version: ::prost::alloc::string::String, - /// Required. Configuration details for the evaluation job. + /// Required. Configuration details for the evaluation job. #[prost(message, optional, tag="6")] pub evaluation_job_config: ::core::option::Option, - /// Required. Name of the \[AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet\] describing all the - /// labels that your machine learning model outputs. You must create this - /// resource before you create an evaluation job and provide its name in the - /// following format: + /// Required. Name of the \[AnnotationSpecSet][google.cloud.datalabeling.v1beta1.AnnotationSpecSet\] describing all the + /// labels that your machine learning model outputs. You must create this + /// resource before you create an evaluation job and provide its name in the + /// following format: /// - /// "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" + /// "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}" #[prost(string, tag="7")] pub annotation_spec_set: ::prost::alloc::string::String, - /// Required. Whether you want Data Labeling Service to provide ground truth - /// labels for prediction input. If you want the service to assign human - /// labelers to annotate your data, set this to `true`. If you want to provide - /// your own ground truth labels in the evaluation job's BigQuery table, set - /// this to `false`. + /// Required. Whether you want Data Labeling Service to provide ground truth + /// labels for prediction input. If you want the service to assign human + /// labelers to annotate your data, set this to `true`. If you want to provide + /// your own ground truth labels in the evaluation job's BigQuery table, set + /// this to `false`. #[prost(bool, tag="8")] pub label_missing_ground_truth: bool, - /// Output only. Every time the evaluation job runs and an error occurs, the - /// failed attempt is appended to this array. + /// Output only. Every time the evaluation job runs and an error occurs, the + /// failed attempt is appended to this array. #[prost(message, repeated, tag="9")] pub attempts: ::prost::alloc::vec::Vec, - /// Output only. Timestamp of when this evaluation job was created. + /// Output only. Timestamp of when this evaluation job was created. #[prost(message, optional, tag="10")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `EvaluationJob`. pub mod evaluation_job { - /// State of the job. + /// State of the job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { Unspecified = 0, - /// The job is scheduled to run at the [configured interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. You - /// can \[pause][google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob\] or - /// \[delete][google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob\] the job. + /// The job is scheduled to run at the [configured interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. You + /// can \[pause][google.cloud.datalabeling.v1beta1.DataLabelingService.PauseEvaluationJob\] or + /// \[delete][google.cloud.datalabeling.v1beta1.DataLabelingService.DeleteEvaluationJob\] the job. /// - /// When the job is in this state, it samples prediction input and output - /// from your model version into your BigQuery table as predictions occur. + /// When the job is in this state, it samples prediction input and output + /// from your model version into your BigQuery table as predictions occur. Scheduled = 1, - /// The job is currently running. When the job runs, Data Labeling Service - /// does several things: + /// The job is currently running. When the job runs, Data Labeling Service + /// does several things: /// - /// 1. If you have configured your job to use Data Labeling Service for + /// 1. If you have configured your job to use Data Labeling Service for /// ground truth labeling, the service creates a /// \[Dataset][google.cloud.datalabeling.v1beta1.Dataset\] and a labeling task for all data sampled /// since the last time the job ran. Human labelers provide ground truth @@ -1370,18 +1370,18 @@ pub mod evaluation_job { /// labels to the BigQuery table by this time. The next step occurs /// immediately. /// - /// 2. Data Labeling Service creates an \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\] by comparing your + /// 2. Data Labeling Service creates an \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\] by comparing your /// model version's predictions with the ground truth labels. /// - /// If the job remains in this state for a long time, it continues to sample - /// prediction data into your BigQuery table and will run again at the next - /// interval, even if it causes the job to run multiple times in parallel. + /// If the job remains in this state for a long time, it continues to sample + /// prediction data into your BigQuery table and will run again at the next + /// interval, even if it causes the job to run multiple times in parallel. Running = 2, - /// The job is not sampling prediction input and output into your BigQuery - /// table and it will not run according to its schedule. You can - /// \[resume][google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob\] the job. + /// The job is not sampling prediction input and output into your BigQuery + /// table and it will not run according to its schedule. You can + /// \[resume][google.cloud.datalabeling.v1beta1.DataLabelingService.ResumeEvaluationJob\] the job. Paused = 3, - /// The job has this state right before it is deleted. + /// The job has this state right before it is deleted. Stopped = 4, } impl State { @@ -1400,424 +1400,424 @@ pub mod evaluation_job { } } } -/// Configures specific details of how a continuous evaluation job works. Provide -/// this configuration when you create an EvaluationJob. +/// Configures specific details of how a continuous evaluation job works. Provide +/// this configuration when you create an EvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationJobConfig { - /// Rquired. Details for the sampled prediction input. Within this - /// configuration, there are requirements for several fields: + /// Rquired. Details for the sampled prediction input. Within this + /// configuration, there are requirements for several fields: /// - /// * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`. - /// * `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, + /// * `dataType` must be one of `IMAGE`, `TEXT`, or `GENERAL_DATA`. + /// * `annotationType` must be one of `IMAGE_CLASSIFICATION_ANNOTATION`, /// `TEXT_CLASSIFICATION_ANNOTATION`, `GENERAL_CLASSIFICATION_ANNOTATION`, /// or `IMAGE_BOUNDING_BOX_ANNOTATION` (image object detection). - /// * If your machine learning model performs classification, you must specify + /// * If your machine learning model performs classification, you must specify /// `classificationMetadata.isMultiLabel`. - /// * You must specify `bigquerySource` (not `gcsSource`). + /// * You must specify `bigquerySource` (not `gcsSource`). #[prost(message, optional, tag="1")] pub input_config: ::core::option::Option, - /// Required. Details for calculating evaluation metrics and creating - /// \[Evaulations][google.cloud.datalabeling.v1beta1.Evaluation\]. If your model version performs image object - /// detection, you must specify the `boundingBoxEvaluationOptions` field within - /// this configuration. Otherwise, provide an empty object for this - /// configuration. + /// Required. Details for calculating evaluation metrics and creating + /// \[Evaulations][google.cloud.datalabeling.v1beta1.Evaluation\]. If your model version performs image object + /// detection, you must specify the `boundingBoxEvaluationOptions` field within + /// this configuration. Otherwise, provide an empty object for this + /// configuration. #[prost(message, optional, tag="2")] pub evaluation_config: ::core::option::Option, - /// Optional. Details for human annotation of your data. If you set - /// \[labelMissingGroundTruth][google.cloud.datalabeling.v1beta1.EvaluationJob.label_missing_ground_truth\] to - /// `true` for this evaluation job, then you must specify this field. If you - /// plan to provide your own ground truth labels, then omit this field. + /// Optional. Details for human annotation of your data. If you set + /// \[labelMissingGroundTruth][google.cloud.datalabeling.v1beta1.EvaluationJob.label_missing_ground_truth\] to + /// `true` for this evaluation job, then you must specify this field. If you + /// plan to provide your own ground truth labels, then omit this field. /// - /// Note that you must create an \[Instruction][google.cloud.datalabeling.v1beta1.Instruction\] resource before you can - /// specify this field. Provide the name of the instruction resource in the - /// `instruction` field within this configuration. + /// Note that you must create an \[Instruction][google.cloud.datalabeling.v1beta1.Instruction\] resource before you can + /// specify this field. Provide the name of the instruction resource in the + /// `instruction` field within this configuration. #[prost(message, optional, tag="3")] pub human_annotation_config: ::core::option::Option, - /// Required. Prediction keys that tell Data Labeling Service where to find the - /// data for evaluation in your BigQuery table. When the service samples - /// prediction input and output from your model version and saves it to - /// BigQuery, the data gets stored as JSON strings in the BigQuery table. These - /// keys tell Data Labeling Service how to parse the JSON. + /// Required. Prediction keys that tell Data Labeling Service where to find the + /// data for evaluation in your BigQuery table. When the service samples + /// prediction input and output from your model version and saves it to + /// BigQuery, the data gets stored as JSON strings in the BigQuery table. These + /// keys tell Data Labeling Service how to parse the JSON. /// - /// You can provide the following entries in this field: + /// You can provide the following entries in this field: /// - /// * `data_json_key`: the data key for prediction input. You must provide + /// * `data_json_key`: the data key for prediction input. You must provide /// either this key or `reference_json_key`. - /// * `reference_json_key`: the data reference key for prediction input. You + /// * `reference_json_key`: the data reference key for prediction input. You /// must provide either this key or `data_json_key`. - /// * `label_json_key`: the label key for prediction output. Required. - /// * `label_score_json_key`: the score key for prediction output. Required. - /// * `bounding_box_json_key`: the bounding box key for prediction output. + /// * `label_json_key`: the label key for prediction output. Required. + /// * `label_score_json_key`: the score key for prediction output. Required. + /// * `bounding_box_json_key`: the bounding box key for prediction output. /// Required if your model version perform image object detection. /// - /// Learn [how to configure prediction - /// keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys). + /// Learn [how to configure prediction + /// keys](/ml-engine/docs/continuous-evaluation/create-job#prediction-keys). #[prost(map="string, string", tag="9")] pub bigquery_import_keys: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. The maximum number of predictions to sample and save to BigQuery - /// during each [evaluation interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. This limit - /// overrides `example_sample_percentage`: even if the service has not sampled - /// enough predictions to fulfill `example_sample_perecentage` during an - /// interval, it stops sampling predictions when it meets this limit. + /// Required. The maximum number of predictions to sample and save to BigQuery + /// during each [evaluation interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. This limit + /// overrides `example_sample_percentage`: even if the service has not sampled + /// enough predictions to fulfill `example_sample_perecentage` during an + /// interval, it stops sampling predictions when it meets this limit. #[prost(int32, tag="10")] pub example_count: i32, - /// Required. Fraction of predictions to sample and save to BigQuery during - /// each [evaluation interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. For example, 0.1 means - /// 10% of predictions served by your model version get saved to BigQuery. + /// Required. Fraction of predictions to sample and save to BigQuery during + /// each [evaluation interval]\[google.cloud.datalabeling.v1beta1.EvaluationJob.schedule\]. For example, 0.1 means + /// 10% of predictions served by your model version get saved to BigQuery. #[prost(double, tag="11")] pub example_sample_percentage: f64, - /// Optional. Configuration details for evaluation job alerts. Specify this - /// field if you want to receive email alerts if the evaluation job finds that - /// your predictions have low mean average precision during a run. + /// Optional. Configuration details for evaluation job alerts. Specify this + /// field if you want to receive email alerts if the evaluation job finds that + /// your predictions have low mean average precision during a run. #[prost(message, optional, tag="13")] pub evaluation_job_alert_config: ::core::option::Option, - /// Required. Details for how you want human reviewers to provide ground truth - /// labels. + /// Required. Details for how you want human reviewers to provide ground truth + /// labels. #[prost(oneof="evaluation_job_config::HumanAnnotationRequestConfig", tags="4, 5, 8")] pub human_annotation_request_config: ::core::option::Option, } /// Nested message and enum types in `EvaluationJobConfig`. pub mod evaluation_job_config { - /// Required. Details for how you want human reviewers to provide ground truth - /// labels. + /// Required. Details for how you want human reviewers to provide ground truth + /// labels. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum HumanAnnotationRequestConfig { - /// Specify this field if your model version performs image classification or - /// general classification. + /// Specify this field if your model version performs image classification or + /// general classification. /// - /// `annotationSpecSet` in this configuration must match - /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. - /// `allowMultiLabel` in this configuration must match - /// `classificationMetadata.isMultiLabel` in \[input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\]. + /// `annotationSpecSet` in this configuration must match + /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. + /// `allowMultiLabel` in this configuration must match + /// `classificationMetadata.isMultiLabel` in \[input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\]. #[prost(message, tag="4")] ImageClassificationConfig(super::ImageClassificationConfig), - /// Specify this field if your model version performs image object detection - /// (bounding box detection). + /// Specify this field if your model version performs image object detection + /// (bounding box detection). /// - /// `annotationSpecSet` in this configuration must match - /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. + /// `annotationSpecSet` in this configuration must match + /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. #[prost(message, tag="5")] BoundingPolyConfig(super::BoundingPolyConfig), - /// Specify this field if your model version performs text classification. + /// Specify this field if your model version performs text classification. /// - /// `annotationSpecSet` in this configuration must match - /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. - /// `allowMultiLabel` in this configuration must match - /// `classificationMetadata.isMultiLabel` in \[input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\]. + /// `annotationSpecSet` in this configuration must match + /// \[EvaluationJob.annotationSpecSet][google.cloud.datalabeling.v1beta1.EvaluationJob.annotation_spec_set\]. + /// `allowMultiLabel` in this configuration must match + /// `classificationMetadata.isMultiLabel` in \[input_config][google.cloud.datalabeling.v1beta1.EvaluationJobConfig.input_config\]. #[prost(message, tag="8")] TextClassificationConfig(super::TextClassificationConfig), } } -/// Provides details for how an evaluation job sends email alerts based on the -/// results of a run. +/// Provides details for how an evaluation job sends email alerts based on the +/// results of a run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EvaluationJobAlertConfig { - /// Required. An email address to send alerts to. + /// Required. An email address to send alerts to. #[prost(string, tag="1")] pub email: ::prost::alloc::string::String, - /// Required. A number between 0 and 1 that describes a minimum mean average - /// precision threshold. When the evaluation job runs, if it calculates that - /// your model version's predictions from the recent interval have - /// \[meanAveragePrecision][google.cloud.datalabeling.v1beta1.PrCurve.mean_average_precision\] below this - /// threshold, then it sends an alert to your specified email. + /// Required. A number between 0 and 1 that describes a minimum mean average + /// precision threshold. When the evaluation job runs, if it calculates that + /// your model version's predictions from the recent interval have + /// \[meanAveragePrecision][google.cloud.datalabeling.v1beta1.PrCurve.mean_average_precision\] below this + /// threshold, then it sends an alert to your specified email. #[prost(double, tag="2")] pub min_acceptable_mean_average_precision: f64, } -/// Records a failed evaluation job run. +/// Records a failed evaluation job run. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Attempt { #[prost(message, optional, tag="1")] pub attempt_time: ::core::option::Option<::prost_types::Timestamp>, - /// Details of errors that occurred. + /// Details of errors that occurred. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, } -/// Instruction of how to perform the labeling task for human operators. -/// Currently only PDF instruction is supported. +/// Instruction of how to perform the labeling task for human operators. +/// Currently only PDF instruction is supported. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Instruction { - /// Output only. Instruction resource name, format: - /// projects/{project_id}/instructions/{instruction_id} + /// Output only. Instruction resource name, format: + /// projects/{project_id}/instructions/{instruction_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The display name of the instruction. Maximum of 64 characters. + /// Required. The display name of the instruction. Maximum of 64 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. User-provided description of the instruction. - /// The description can be up to 10000 characters long. + /// Optional. User-provided description of the instruction. + /// The description can be up to 10000 characters long. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. Creation time of instruction. + /// Output only. Creation time of instruction. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Last update time of instruction. + /// Output only. Last update time of instruction. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The data type of this instruction. + /// Required. The data type of this instruction. #[prost(enumeration="DataType", tag="6")] pub data_type: i32, - /// Deprecated: this instruction format is not supported any more. - /// Instruction from a CSV file, such as for classification task. - /// The CSV file should have exact two columns, in the following format: + /// Deprecated: this instruction format is not supported any more. + /// Instruction from a CSV file, such as for classification task. + /// The CSV file should have exact two columns, in the following format: /// - /// * The first column is labeled data, such as an image reference, text. - /// * The second column is comma separated labels associated with data. + /// * The first column is labeled data, such as an image reference, text. + /// * The second column is comma separated labels associated with data. #[deprecated] #[prost(message, optional, tag="7")] pub csv_instruction: ::core::option::Option, - /// Instruction from a PDF document. The PDF should be in a Cloud Storage - /// bucket. + /// Instruction from a PDF document. The PDF should be in a Cloud Storage + /// bucket. #[prost(message, optional, tag="9")] pub pdf_instruction: ::core::option::Option, - /// Output only. The names of any related resources that are blocking changes - /// to the instruction. + /// Output only. The names of any related resources that are blocking changes + /// to the instruction. #[prost(string, repeated, tag="10")] pub blocking_resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Deprecated: this instruction format is not supported any more. -/// Instruction from a CSV file. +/// Deprecated: this instruction format is not supported any more. +/// Instruction from a CSV file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvInstruction { - /// CSV file for the instruction. Only gcs path is allowed. + /// CSV file for the instruction. Only gcs path is allowed. #[prost(string, tag="1")] pub gcs_file_uri: ::prost::alloc::string::String, } -/// Instruction from a PDF file. +/// Instruction from a PDF file. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PdfInstruction { - /// PDF file for the instruction. Only gcs path is allowed. + /// PDF file for the instruction. Only gcs path is allowed. #[prost(string, tag="1")] pub gcs_file_uri: ::prost::alloc::string::String, } -/// Request message for CreateDataset. +/// Request message for CreateDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDatasetRequest { - /// Required. Dataset resource parent, format: - /// projects/{project_id} + /// Required. Dataset resource parent, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The dataset to be created. + /// Required. The dataset to be created. #[prost(message, optional, tag="2")] pub dataset: ::core::option::Option, } -/// Request message for GetDataSet. +/// Request message for GetDataSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDatasetRequest { - /// Required. Dataset resource name, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Dataset resource name, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListDataset. +/// Request message for ListDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsRequest { - /// Required. Dataset resource parent, format: - /// projects/{project_id} + /// Required. Dataset resource parent, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Filter on dataset is not supported at this moment. + /// Optional. Filter on dataset is not supported at this moment. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDatasetsResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListDatasets\] call. - /// Returns the first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDatasetsResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListDatasets\] call. + /// Returns the first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing datasets within a project. +/// Results of listing datasets within a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDatasetsResponse { - /// The list of datasets to return. + /// The list of datasets to return. #[prost(message, repeated, tag="1")] pub datasets: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DeleteDataset. +/// Request message for DeleteDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDatasetRequest { - /// Required. Dataset resource name, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Dataset resource name, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ImportData API. +/// Request message for ImportData API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataRequest { - /// Required. Dataset resource name, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Dataset resource name, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Specify the input source of the data. + /// Required. Specify the input source of the data. #[prost(message, optional, tag="2")] pub input_config: ::core::option::Option, - /// Email of the user who started the import task and should be notified by - /// email. If empty no notification will be sent. + /// Email of the user who started the import task and should be notified by + /// email. If empty no notification will be sent. #[prost(string, tag="3")] pub user_email_address: ::prost::alloc::string::String, } -/// Request message for ExportData API. +/// Request message for ExportData API. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataRequest { - /// Required. Dataset resource name, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Dataset resource name, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Annotated dataset resource name. DataItem in - /// Dataset and their annotations in specified annotated dataset will be - /// exported. It's in format of - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id} + /// Required. Annotated dataset resource name. DataItem in + /// Dataset and their annotations in specified annotated dataset will be + /// exported. It's in format of + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id} #[prost(string, tag="2")] pub annotated_dataset: ::prost::alloc::string::String, - /// Optional. Filter is not supported at this moment. + /// Optional. Filter is not supported at this moment. #[prost(string, tag="3")] pub filter: ::prost::alloc::string::String, - /// Required. Specify the output destination. + /// Required. Specify the output destination. #[prost(message, optional, tag="4")] pub output_config: ::core::option::Option, - /// Email of the user who started the export task and should be notified by - /// email. If empty no notification will be sent. + /// Email of the user who started the export task and should be notified by + /// email. If empty no notification will be sent. #[prost(string, tag="5")] pub user_email_address: ::prost::alloc::string::String, } -/// Request message for GetDataItem. +/// Request message for GetDataItem. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDataItemRequest { - /// Required. The name of the data item to get, format: - /// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} + /// Required. The name of the data item to get, format: + /// projects/{project_id}/datasets/{dataset_id}/dataItems/{data_item_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListDataItems. +/// Request message for ListDataItems. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsRequest { - /// Required. Name of the dataset to list data items, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Name of the dataset to list data items, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Filter is not supported at this moment. + /// Optional. Filter is not supported at this moment. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListDataItemsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDataItemsResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListDataItems\] call. - /// Return first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListDataItemsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListDataItemsResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListDataItems\] call. + /// Return first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing data items in a dataset. +/// Results of listing data items in a dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDataItemsResponse { - /// The list of data items to return. + /// The list of data items to return. #[prost(message, repeated, tag="1")] pub data_items: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetAnnotatedDataset. +/// Request message for GetAnnotatedDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotatedDatasetRequest { - /// Required. Name of the annotated dataset to get, format: - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id} + /// Required. Name of the annotated dataset to get, format: + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAnnotatedDatasets. +/// Request message for ListAnnotatedDatasets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotatedDatasetsRequest { - /// Required. Name of the dataset to list annotated datasets, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Name of the dataset to list annotated datasets, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Filter is not supported at this moment. + /// Optional. Filter is not supported at this moment. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListAnnotatedDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListAnnotatedDatasets\] call. - /// Return first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListAnnotatedDatasetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotatedDatasetsResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListAnnotatedDatasets\] call. + /// Return first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing annotated datasets for a dataset. +/// Results of listing annotated datasets for a dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotatedDatasetsResponse { - /// The list of annotated datasets to return. + /// The list of annotated datasets to return. #[prost(message, repeated, tag="1")] pub annotated_datasets: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DeleteAnnotatedDataset. +/// Request message for DeleteAnnotatedDataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAnnotatedDatasetRequest { - /// Required. Name of the annotated dataset to delete, format: - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id} + /// Required. Name of the annotated dataset to delete, format: + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for starting an image labeling task. +/// Request message for starting an image labeling task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageRequest { - /// Required. Name of the dataset to request labeling task, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Name of the dataset to request labeling task, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Basic human annotation config. + /// Required. Basic human annotation config. #[prost(message, optional, tag="2")] pub basic_config: ::core::option::Option, - /// Required. The type of image labeling task. + /// Required. The type of image labeling task. #[prost(enumeration="label_image_request::Feature", tag="3")] pub feature: i32, - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[prost(oneof="label_image_request::RequestConfig", tags="4, 5, 6, 7")] pub request_config: ::core::option::Option, } /// Nested message and enum types in `LabelImageRequest`. pub mod label_image_request { - /// Image labeling task feature. + /// Image labeling task feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Feature { Unspecified = 0, - /// Label whole image with one or more of labels. + /// Label whole image with one or more of labels. Classification = 1, - /// Label image with bounding boxes for labels. + /// Label image with bounding boxes for labels. BoundingBox = 2, - /// Label oriented bounding box. The box does not have to be parallel to - /// horizontal line. + /// Label oriented bounding box. The box does not have to be parallel to + /// horizontal line. OrientedBoundingBox = 6, - /// Label images with bounding poly. A bounding poly is a plane figure that - /// is bounded by a finite chain of straight line segments closing in a loop. + /// Label images with bounding poly. A bounding poly is a plane figure that + /// is bounded by a finite chain of straight line segments closing in a loop. BoundingPoly = 3, - /// Label images with polyline. Polyline is formed by connected line segments - /// which are not in closed form. + /// Label images with polyline. Polyline is formed by connected line segments + /// which are not in closed form. Polyline = 4, - /// Label images with segmentation. Segmentation is different from bounding - /// poly since it is more fine-grained, pixel level annotation. + /// Label images with segmentation. Segmentation is different from bounding + /// poly since it is more fine-grained, pixel level annotation. Segmentation = 5, } impl Feature { @@ -1837,64 +1837,64 @@ pub mod label_image_request { } } } - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RequestConfig { - /// Configuration for image classification task. - /// One of image_classification_config, bounding_poly_config, - /// polyline_config and segmentation_config are required. + /// Configuration for image classification task. + /// One of image_classification_config, bounding_poly_config, + /// polyline_config and segmentation_config are required. #[prost(message, tag="4")] ImageClassificationConfig(super::ImageClassificationConfig), - /// Configuration for bounding box and bounding poly task. - /// One of image_classification_config, bounding_poly_config, - /// polyline_config and segmentation_config are required. + /// Configuration for bounding box and bounding poly task. + /// One of image_classification_config, bounding_poly_config, + /// polyline_config and segmentation_config are required. #[prost(message, tag="5")] BoundingPolyConfig(super::BoundingPolyConfig), - /// Configuration for polyline task. - /// One of image_classification_config, bounding_poly_config, - /// polyline_config and segmentation_config are required. + /// Configuration for polyline task. + /// One of image_classification_config, bounding_poly_config, + /// polyline_config and segmentation_config are required. #[prost(message, tag="6")] PolylineConfig(super::PolylineConfig), - /// Configuration for segmentation task. - /// One of image_classification_config, bounding_poly_config, - /// polyline_config and segmentation_config are required. + /// Configuration for segmentation task. + /// One of image_classification_config, bounding_poly_config, + /// polyline_config and segmentation_config are required. #[prost(message, tag="7")] SegmentationConfig(super::SegmentationConfig), } } -/// Request message for LabelVideo. +/// Request message for LabelVideo. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelVideoRequest { - /// Required. Name of the dataset to request labeling task, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Name of the dataset to request labeling task, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Basic human annotation config. + /// Required. Basic human annotation config. #[prost(message, optional, tag="2")] pub basic_config: ::core::option::Option, - /// Required. The type of video labeling task. + /// Required. The type of video labeling task. #[prost(enumeration="label_video_request::Feature", tag="3")] pub feature: i32, - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[prost(oneof="label_video_request::RequestConfig", tags="4, 5, 6, 7")] pub request_config: ::core::option::Option, } /// Nested message and enum types in `LabelVideoRequest`. pub mod label_video_request { - /// Video labeling task feature. + /// Video labeling task feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Feature { Unspecified = 0, - /// Label whole video or video segment with one or more labels. + /// Label whole video or video segment with one or more labels. Classification = 1, - /// Label objects with bounding box on image frames extracted from the video. + /// Label objects with bounding box on image frames extracted from the video. ObjectDetection = 2, - /// Label and track objects in video. + /// Label and track objects in video. ObjectTracking = 3, - /// Label the range of video for the specified events. + /// Label the range of video for the specified events. Event = 4, } impl Feature { @@ -1912,60 +1912,60 @@ pub mod label_video_request { } } } - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RequestConfig { - /// Configuration for video classification task. - /// One of video_classification_config, object_detection_config, - /// object_tracking_config and event_config is required. + /// Configuration for video classification task. + /// One of video_classification_config, object_detection_config, + /// object_tracking_config and event_config is required. #[prost(message, tag="4")] VideoClassificationConfig(super::VideoClassificationConfig), - /// Configuration for video object detection task. - /// One of video_classification_config, object_detection_config, - /// object_tracking_config and event_config is required. + /// Configuration for video object detection task. + /// One of video_classification_config, object_detection_config, + /// object_tracking_config and event_config is required. #[prost(message, tag="5")] ObjectDetectionConfig(super::ObjectDetectionConfig), - /// Configuration for video object tracking task. - /// One of video_classification_config, object_detection_config, - /// object_tracking_config and event_config is required. + /// Configuration for video object tracking task. + /// One of video_classification_config, object_detection_config, + /// object_tracking_config and event_config is required. #[prost(message, tag="6")] ObjectTrackingConfig(super::ObjectTrackingConfig), - /// Configuration for video event task. - /// One of video_classification_config, object_detection_config, - /// object_tracking_config and event_config is required. + /// Configuration for video event task. + /// One of video_classification_config, object_detection_config, + /// object_tracking_config and event_config is required. #[prost(message, tag="7")] EventConfig(super::EventConfig), } } -/// Request message for LabelText. +/// Request message for LabelText. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelTextRequest { - /// Required. Name of the data set to request labeling task, format: - /// projects/{project_id}/datasets/{dataset_id} + /// Required. Name of the data set to request labeling task, format: + /// projects/{project_id}/datasets/{dataset_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Basic human annotation config. + /// Required. Basic human annotation config. #[prost(message, optional, tag="2")] pub basic_config: ::core::option::Option, - /// Required. The type of text labeling task. + /// Required. The type of text labeling task. #[prost(enumeration="label_text_request::Feature", tag="6")] pub feature: i32, - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[prost(oneof="label_text_request::RequestConfig", tags="4, 5")] pub request_config: ::core::option::Option, } /// Nested message and enum types in `LabelTextRequest`. pub mod label_text_request { - /// Text labeling task feature. + /// Text labeling task feature. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Feature { Unspecified = 0, - /// Label text content to one of more labels. + /// Label text content to one of more labels. TextClassification = 1, - /// Label entities and their span in text. + /// Label entities and their span in text. TextEntityExtraction = 2, } impl Feature { @@ -1981,411 +1981,411 @@ pub mod label_text_request { } } } - /// Required. Config for labeling tasks. The type of request config must - /// match the selected feature. + /// Required. Config for labeling tasks. The type of request config must + /// match the selected feature. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum RequestConfig { - /// Configuration for text classification task. - /// One of text_classification_config and text_entity_extraction_config - /// is required. + /// Configuration for text classification task. + /// One of text_classification_config and text_entity_extraction_config + /// is required. #[prost(message, tag="4")] TextClassificationConfig(super::TextClassificationConfig), - /// Configuration for entity extraction task. - /// One of text_classification_config and text_entity_extraction_config - /// is required. + /// Configuration for entity extraction task. + /// One of text_classification_config and text_entity_extraction_config + /// is required. #[prost(message, tag="5")] TextEntityExtractionConfig(super::TextEntityExtractionConfig), } } -/// Request message for GetExample +/// Request message for GetExample #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExampleRequest { - /// Required. Name of example, format: - /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ - /// {annotated_dataset_id}/examples/{example_id} + /// Required. Name of example, format: + /// projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ + /// {annotated_dataset_id}/examples/{example_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. An expression for filtering Examples. Filter by - /// annotation_spec.display_name is supported. Format - /// "annotation_spec.display_name = {display_name}" + /// Optional. An expression for filtering Examples. Filter by + /// annotation_spec.display_name is supported. Format + /// "annotation_spec.display_name = {display_name}" #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, } -/// Request message for ListExamples. +/// Request message for ListExamples. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExamplesRequest { - /// Required. Example resource parent. + /// Required. Example resource parent. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. An expression for filtering Examples. For annotated datasets that - /// have annotation spec set, filter by - /// annotation_spec.display_name is supported. Format - /// "annotation_spec.display_name = {display_name}" + /// Optional. An expression for filtering Examples. For annotated datasets that + /// have annotation spec set, filter by + /// annotation_spec.display_name is supported. Format + /// "annotation_spec.display_name = {display_name}" #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListExamplesResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListExamplesResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListExamples\] call. - /// Return first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListExamplesResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListExamplesResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListExamples\] call. + /// Return first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing Examples in and annotated dataset. +/// Results of listing Examples in and annotated dataset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExamplesResponse { - /// The list of examples to return. + /// The list of examples to return. #[prost(message, repeated, tag="1")] pub examples: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for CreateAnnotationSpecSet. +/// Request message for CreateAnnotationSpecSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAnnotationSpecSetRequest { - /// Required. AnnotationSpecSet resource parent, format: - /// projects/{project_id} + /// Required. AnnotationSpecSet resource parent, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Annotation spec set to create. Annotation specs must be included. - /// Only one annotation spec will be accepted for annotation specs with same - /// display_name. + /// Required. Annotation spec set to create. Annotation specs must be included. + /// Only one annotation spec will be accepted for annotation specs with same + /// display_name. #[prost(message, optional, tag="2")] pub annotation_spec_set: ::core::option::Option, } -/// Request message for GetAnnotationSpecSet. +/// Request message for GetAnnotationSpecSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAnnotationSpecSetRequest { - /// Required. AnnotationSpecSet resource name, format: - /// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} + /// Required. AnnotationSpecSet resource name, format: + /// projects/{project_id}/annotationSpecSets/{annotation_spec_set_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListAnnotationSpecSets. +/// Request message for ListAnnotationSpecSets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationSpecSetsRequest { - /// Required. Parent of AnnotationSpecSet resource, format: - /// projects/{project_id} + /// Required. Parent of AnnotationSpecSet resource, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Filter is not supported at this moment. + /// Optional. Filter is not supported at this moment. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListAnnotationSpecSetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListAnnotationSpecSets\] call. - /// Return first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListAnnotationSpecSetsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListAnnotationSpecSetsResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListAnnotationSpecSets\] call. + /// Return first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing annotation spec set under a project. +/// Results of listing annotation spec set under a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAnnotationSpecSetsResponse { - /// The list of annotation spec sets. + /// The list of annotation spec sets. #[prost(message, repeated, tag="1")] pub annotation_spec_sets: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for DeleteAnnotationSpecSet. +/// Request message for DeleteAnnotationSpecSet. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAnnotationSpecSetRequest { - /// Required. AnnotationSpec resource name, format: - /// `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`. + /// Required. AnnotationSpec resource name, format: + /// `projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for CreateInstruction. +/// Request message for CreateInstruction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstructionRequest { - /// Required. Instruction resource parent, format: - /// projects/{project_id} + /// Required. Instruction resource parent, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Instruction of how to perform the labeling task. + /// Required. Instruction of how to perform the labeling task. #[prost(message, optional, tag="2")] pub instruction: ::core::option::Option, } -/// Request message for GetInstruction. +/// Request message for GetInstruction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetInstructionRequest { - /// Required. Instruction resource name, format: - /// projects/{project_id}/instructions/{instruction_id} + /// Required. Instruction resource name, format: + /// projects/{project_id}/instructions/{instruction_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for DeleteInstruction. +/// Request message for DeleteInstruction. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteInstructionRequest { - /// Required. Instruction resource name, format: - /// projects/{project_id}/instructions/{instruction_id} + /// Required. Instruction resource name, format: + /// projects/{project_id}/instructions/{instruction_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListInstructions. +/// Request message for ListInstructions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstructionsRequest { - /// Required. Instruction resource parent, format: - /// projects/{project_id} + /// Required. Instruction resource parent, format: + /// projects/{project_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Filter is not supported at this moment. + /// Optional. Filter is not supported at this moment. #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by - /// \[ListInstructionsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListInstructionsResponse.next_page_token\] of the previous - /// \[DataLabelingService.ListInstructions\] call. - /// Return first page if empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by + /// \[ListInstructionsResponse.next_page_token][google.cloud.datalabeling.v1beta1.ListInstructionsResponse.next_page_token\] of the previous + /// \[DataLabelingService.ListInstructions\] call. + /// Return first page if empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of listing instructions under a project. +/// Results of listing instructions under a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListInstructionsResponse { - /// The list of Instructions to return. + /// The list of Instructions to return. #[prost(message, repeated, tag="1")] pub instructions: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for GetEvaluation. +/// Request message for GetEvaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEvaluationRequest { - /// Required. Name of the evaluation. Format: + /// Required. Name of the evaluation. Format: /// - /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}' + /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}' #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for SearchEvaluation. +/// Request message for SearchEvaluation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchEvaluationsRequest { - /// Required. Evaluation search parent (project ID). Format: - /// "projects/{project_id}" + /// Required. Evaluation search parent (project ID). Format: + /// "projects/{project_id}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. To search evaluations, you can filter by the following: + /// Optional. To search evaluations, you can filter by the following: /// - /// * evaluation_job.evaluation_job_id (the last part of + /// * evaluation_job.evaluation_job_id (the last part of /// \[EvaluationJob.name][google.cloud.datalabeling.v1beta1.EvaluationJob.name\]) - /// * evaluation_job.model_id (the {model_name} portion + /// * evaluation_job.model_id (the {model_name} portion /// of \[EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version\]) - /// * evaluation_job.evaluation_job_run_time_start (Minimum + /// * evaluation_job.evaluation_job_run_time_start (Minimum /// threshold for the /// \[evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time\] that created /// the evaluation) - /// * evaluation_job.evaluation_job_run_time_end (Maximum + /// * evaluation_job.evaluation_job_run_time_end (Maximum /// threshold for the /// \[evaluationJobRunTime][google.cloud.datalabeling.v1beta1.Evaluation.evaluation_job_run_time\] that created /// the evaluation) - /// * evaluation_job.job_state (\[EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state\]) - /// * annotation_spec.display_name (the Evaluation contains a + /// * evaluation_job.job_state (\[EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state\]) + /// * annotation_spec.display_name (the Evaluation contains a /// metric for the annotation spec with this /// \[displayName][google.cloud.datalabeling.v1beta1.AnnotationSpec.display_name\]) /// - /// To filter by multiple critiera, use the `AND` operator or the `OR` - /// operator. The following examples shows a string that filters by several - /// critiera: + /// To filter by multiple critiera, use the `AND` operator or the `OR` + /// operator. The following examples shows a string that filters by several + /// critiera: /// - /// "evaluation_job.evaluation_job_id = - /// {evaluation_job_id} AND evaluation_job.model_id = - /// {model_name} AND - /// evaluation_job.evaluation_job_run_time_start = - /// {timestamp_1} AND - /// evaluation_job.evaluation_job_run_time_end = - /// {timestamp_2} AND annotation_spec.display_name = - /// {display_name}" + /// "evaluation_job.evaluation_job_id = + /// {evaluation_job_id} AND evaluation_job.model_id = + /// {model_name} AND + /// evaluation_job.evaluation_job_run_time_start = + /// {timestamp_1} AND + /// evaluation_job.evaluation_job_run_time_end = + /// {timestamp_2} AND annotation_spec.display_name = + /// {display_name}" #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by the - /// \[nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token\] of the response - /// to a previous search request. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by the + /// \[nextPageToken][google.cloud.datalabeling.v1beta1.SearchEvaluationsResponse.next_page_token\] of the response + /// to a previous search request. /// - /// If you don't specify this field, the API call requests the first page of - /// the search. + /// If you don't specify this field, the API call requests the first page of + /// the search. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results of searching evaluations. +/// Results of searching evaluations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchEvaluationsResponse { - /// The list of evaluations matching the search. + /// The list of evaluations matching the search. #[prost(message, repeated, tag="1")] pub evaluations: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message of SearchExampleComparisons. +/// Request message of SearchExampleComparisons. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchExampleComparisonsRequest { - /// Required. Name of the \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\] resource to search for example - /// comparisons from. Format: + /// Required. Name of the \[Evaluation][google.cloud.datalabeling.v1beta1.Evaluation\] resource to search for example + /// comparisons from. Format: /// - /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}" + /// "projects/{project_id}/datasets/{dataset_id}/evaluations/{evaluation_id}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by the - /// \[nextPageToken][SearchExampleComparisons.next_page_token\] of the response - /// to a previous search rquest. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by the + /// \[nextPageToken][SearchExampleComparisons.next_page_token\] of the response + /// to a previous search rquest. /// - /// If you don't specify this field, the API call requests the first page of - /// the search. + /// If you don't specify this field, the API call requests the first page of + /// the search. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Results of searching example comparisons. +/// Results of searching example comparisons. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SearchExampleComparisonsResponse { - /// A list of example comparisons matching the search criteria. + /// A list of example comparisons matching the search criteria. #[prost(message, repeated, tag="1")] pub example_comparisons: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } /// Nested message and enum types in `SearchExampleComparisonsResponse`. pub mod search_example_comparisons_response { - /// Example comparisons comparing ground truth output and predictions for a - /// specific input. + /// Example comparisons comparing ground truth output and predictions for a + /// specific input. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExampleComparison { - /// The ground truth output for the input. + /// The ground truth output for the input. #[prost(message, optional, tag="1")] pub ground_truth_example: ::core::option::Option, - /// Predictions by the model for the input. + /// Predictions by the model for the input. #[prost(message, repeated, tag="2")] pub model_created_examples: ::prost::alloc::vec::Vec, } } -/// Request message for CreateEvaluationJob. +/// Request message for CreateEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEvaluationJobRequest { - /// Required. Evaluation job resource parent. Format: - /// "projects/{project_id}" + /// Required. Evaluation job resource parent. Format: + /// "projects/{project_id}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The evaluation job to create. + /// Required. The evaluation job to create. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, } -/// Request message for UpdateEvaluationJob. +/// Request message for UpdateEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEvaluationJobRequest { - /// Required. Evaluation job that is going to be updated. + /// Required. Evaluation job that is going to be updated. #[prost(message, optional, tag="1")] pub evaluation_job: ::core::option::Option, - /// Optional. Mask for which fields to update. You can only provide the - /// following fields: + /// Optional. Mask for which fields to update. You can only provide the + /// following fields: /// - /// * `evaluationJobConfig.humanAnnotationConfig.instruction` - /// * `evaluationJobConfig.exampleCount` - /// * `evaluationJobConfig.exampleSamplePercentage` + /// * `evaluationJobConfig.humanAnnotationConfig.instruction` + /// * `evaluationJobConfig.exampleCount` + /// * `evaluationJobConfig.exampleSamplePercentage` /// - /// You can provide more than one of these fields by separating them with - /// commas. + /// You can provide more than one of these fields by separating them with + /// commas. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request message for GetEvaluationJob. +/// Request message for GetEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEvaluationJobRequest { - /// Required. Name of the evaluation job. Format: + /// Required. Name of the evaluation job. Format: /// - /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" + /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for PauseEvaluationJob. +/// Request message for PauseEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PauseEvaluationJobRequest { - /// Required. Name of the evaluation job that is going to be paused. Format: + /// Required. Name of the evaluation job that is going to be paused. Format: /// - /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" + /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message ResumeEvaluationJob. +/// Request message ResumeEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResumeEvaluationJobRequest { - /// Required. Name of the evaluation job that is going to be resumed. Format: + /// Required. Name of the evaluation job that is going to be resumed. Format: /// - /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" + /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message DeleteEvaluationJob. +/// Request message DeleteEvaluationJob. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEvaluationJobRequest { - /// Required. Name of the evaluation job that is going to be deleted. Format: + /// Required. Name of the evaluation job that is going to be deleted. Format: /// - /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" + /// "projects/{project_id}/evaluationJobs/{evaluation_job_id}" #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for ListEvaluationJobs. +/// Request message for ListEvaluationJobs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEvaluationJobsRequest { - /// Required. Evaluation job resource parent. Format: - /// "projects/{project_id}" + /// Required. Evaluation job resource parent. Format: + /// "projects/{project_id}" #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. You can filter the jobs to list by model_id (also known as - /// model_name, as described in - /// \[EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version\]) or by - /// evaluation job state (as described in \[EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state\]). To filter - /// by both criteria, use the `AND` operator or the `OR` operator. For example, - /// you can use the following string for your filter: - /// "evaluation_job.model_id = {model_name} AND - /// evaluation_job.state = {evaluation_job_state}" + /// Optional. You can filter the jobs to list by model_id (also known as + /// model_name, as described in + /// \[EvaluationJob.modelVersion][google.cloud.datalabeling.v1beta1.EvaluationJob.model_version\]) or by + /// evaluation job state (as described in \[EvaluationJob.state][google.cloud.datalabeling.v1beta1.EvaluationJob.state\]). To filter + /// by both criteria, use the `AND` operator or the `OR` operator. For example, + /// you can use the following string for your filter: + /// "evaluation_job.model_id = {model_name} AND + /// evaluation_job.state = {evaluation_job_state}" #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// Optional. Requested page size. Server may return fewer results than - /// requested. Default value is 100. + /// Optional. Requested page size. Server may return fewer results than + /// requested. Default value is 100. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. A token identifying a page of results for the server to return. - /// Typically obtained by the - /// \[nextPageToken][google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse.next_page_token\] in the response - /// to the previous request. The request returns the first page if this is - /// empty. + /// Optional. A token identifying a page of results for the server to return. + /// Typically obtained by the + /// \[nextPageToken][google.cloud.datalabeling.v1beta1.ListEvaluationJobsResponse.next_page_token\] in the response + /// to the previous request. The request returns the first page if this is + /// empty. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// Results for listing evaluation jobs. +/// Results for listing evaluation jobs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEvaluationJobsResponse { - /// The list of evaluation jobs to return. + /// The list of evaluation jobs to return. #[prost(message, repeated, tag="1")] pub evaluation_jobs: ::prost::alloc::vec::Vec, - /// A token to retrieve next page of results. + /// A token to retrieve next page of results. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -3188,230 +3188,230 @@ pub mod data_labeling_service_client { } } } -/// Response used for ImportData longrunning operation. +/// Response used for ImportData longrunning operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationResponse { - /// Ouptut only. The name of imported dataset. + /// Ouptut only. The name of imported dataset. #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. Total number of examples requested to import + /// Output only. Total number of examples requested to import #[prost(int32, tag="2")] pub total_count: i32, - /// Output only. Number of examples imported successfully. + /// Output only. Number of examples imported successfully. #[prost(int32, tag="3")] pub import_count: i32, } -/// Response used for ExportDataset longrunning operation. +/// Response used for ExportDataset longrunning operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationResponse { - /// Ouptut only. The name of dataset. - /// "projects/*/datasets/*" + /// Ouptut only. The name of dataset. + /// "projects/*/datasets/*" #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. Total number of examples requested to export + /// Output only. Total number of examples requested to export #[prost(int32, tag="2")] pub total_count: i32, - /// Output only. Number of examples exported successfully. + /// Output only. Number of examples exported successfully. #[prost(int32, tag="3")] pub export_count: i32, - /// Output only. Statistic infos of labels in the exported dataset. + /// Output only. Statistic infos of labels in the exported dataset. #[prost(message, optional, tag="4")] pub label_stats: ::core::option::Option, - /// Output only. output_config in the ExportData request. + /// Output only. output_config in the ExportData request. #[prost(message, optional, tag="5")] pub output_config: ::core::option::Option, } -/// Metadata of an ImportData operation. +/// Metadata of an ImportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportDataOperationMetadata { - /// Output only. The name of imported dataset. - /// "projects/*/datasets/*" + /// Output only. The name of imported dataset. + /// "projects/*/datasets/*" #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Timestamp when import dataset request was created. + /// Output only. Timestamp when import dataset request was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Metadata of an ExportData operation. +/// Metadata of an ExportData operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportDataOperationMetadata { - /// Output only. The name of dataset to be exported. - /// "projects/*/datasets/*" + /// Output only. The name of dataset to be exported. + /// "projects/*/datasets/*" #[prost(string, tag="1")] pub dataset: ::prost::alloc::string::String, - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Timestamp when export dataset request was created. + /// Output only. Timestamp when export dataset request was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Metadata of a labeling operation, such as LabelImage or LabelVideo. -/// Next tag: 20 +/// Metadata of a labeling operation, such as LabelImage or LabelVideo. +/// Next tag: 20 #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelOperationMetadata { - /// Output only. Progress of label operation. Range: [0, 100]. + /// Output only. Progress of label operation. Range: [0, 100]. #[prost(int32, tag="1")] pub progress_percent: i32, - /// Output only. Partial failures encountered. - /// E.g. single files that couldn't be read. - /// Status details field will contain standard GCP error details. + /// Output only. Partial failures encountered. + /// E.g. single files that couldn't be read. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Output only. Timestamp when labeling request was created. + /// Output only. Timestamp when labeling request was created. #[prost(message, optional, tag="16")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Ouptut only. Details of specific label operation. + /// Ouptut only. Details of specific label operation. #[prost(oneof="label_operation_metadata::Details", tags="3, 4, 11, 14, 12, 15, 5, 6, 7, 8, 9, 13")] pub details: ::core::option::Option, } /// Nested message and enum types in `LabelOperationMetadata`. pub mod label_operation_metadata { - /// Ouptut only. Details of specific label operation. + /// Ouptut only. Details of specific label operation. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details of label image classification operation. + /// Details of label image classification operation. #[prost(message, tag="3")] ImageClassificationDetails(super::LabelImageClassificationOperationMetadata), - /// Details of label image bounding box operation. + /// Details of label image bounding box operation. #[prost(message, tag="4")] ImageBoundingBoxDetails(super::LabelImageBoundingBoxOperationMetadata), - /// Details of label image bounding poly operation. + /// Details of label image bounding poly operation. #[prost(message, tag="11")] ImageBoundingPolyDetails(super::LabelImageBoundingPolyOperationMetadata), - /// Details of label image oriented bounding box operation. + /// Details of label image oriented bounding box operation. #[prost(message, tag="14")] ImageOrientedBoundingBoxDetails(super::LabelImageOrientedBoundingBoxOperationMetadata), - /// Details of label image polyline operation. + /// Details of label image polyline operation. #[prost(message, tag="12")] ImagePolylineDetails(super::LabelImagePolylineOperationMetadata), - /// Details of label image segmentation operation. + /// Details of label image segmentation operation. #[prost(message, tag="15")] ImageSegmentationDetails(super::LabelImageSegmentationOperationMetadata), - /// Details of label video classification operation. + /// Details of label video classification operation. #[prost(message, tag="5")] VideoClassificationDetails(super::LabelVideoClassificationOperationMetadata), - /// Details of label video object detection operation. + /// Details of label video object detection operation. #[prost(message, tag="6")] VideoObjectDetectionDetails(super::LabelVideoObjectDetectionOperationMetadata), - /// Details of label video object tracking operation. + /// Details of label video object tracking operation. #[prost(message, tag="7")] VideoObjectTrackingDetails(super::LabelVideoObjectTrackingOperationMetadata), - /// Details of label video event operation. + /// Details of label video event operation. #[prost(message, tag="8")] VideoEventDetails(super::LabelVideoEventOperationMetadata), - /// Details of label text classification operation. + /// Details of label text classification operation. #[prost(message, tag="9")] TextClassificationDetails(super::LabelTextClassificationOperationMetadata), - /// Details of label text entity extraction operation. + /// Details of label text entity extraction operation. #[prost(message, tag="13")] TextEntityExtractionDetails(super::LabelTextEntityExtractionOperationMetadata), } } -/// Metadata of a LabelImageClassification operation. +/// Metadata of a LabelImageClassification operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageClassificationOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelImageBoundingBox operation metadata. +/// Details of a LabelImageBoundingBox operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageBoundingBoxOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelImageOrientedBoundingBox operation metadata. +/// Details of a LabelImageOrientedBoundingBox operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageOrientedBoundingBoxOperationMetadata { - /// Basic human annotation config. + /// Basic human annotation config. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of LabelImageBoundingPoly operation metadata. +/// Details of LabelImageBoundingPoly operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageBoundingPolyOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of LabelImagePolyline operation metadata. +/// Details of LabelImagePolyline operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImagePolylineOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelImageSegmentation operation metadata. +/// Details of a LabelImageSegmentation operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelImageSegmentationOperationMetadata { - /// Basic human annotation config. + /// Basic human annotation config. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelVideoClassification operation metadata. +/// Details of a LabelVideoClassification operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelVideoClassificationOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelVideoObjectDetection operation metadata. +/// Details of a LabelVideoObjectDetection operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelVideoObjectDetectionOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelVideoObjectTracking operation metadata. +/// Details of a LabelVideoObjectTracking operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelVideoObjectTrackingOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelVideoEvent operation metadata. +/// Details of a LabelVideoEvent operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelVideoEventOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelTextClassification operation metadata. +/// Details of a LabelTextClassification operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelTextClassificationOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Details of a LabelTextEntityExtraction operation metadata. +/// Details of a LabelTextEntityExtraction operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LabelTextEntityExtractionOperationMetadata { - /// Basic human annotation config used in labeling request. + /// Basic human annotation config used in labeling request. #[prost(message, optional, tag="1")] pub basic_config: ::core::option::Option, } -/// Metadata of a CreateInstruction operation. +/// Metadata of a CreateInstruction operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateInstructionMetadata { - /// The name of the created Instruction. - /// projects/{project_id}/instructions/{instruction_id} + /// The name of the created Instruction. + /// projects/{project_id}/instructions/{instruction_id} #[prost(string, tag="1")] pub instruction: ::prost::alloc::string::String, - /// Partial failures encountered. - /// E.g. single files that couldn't be read. - /// Status details field will contain standard GCP error details. + /// Partial failures encountered. + /// E.g. single files that couldn't be read. + /// Status details field will contain standard GCP error details. #[prost(message, repeated, tag="2")] pub partial_failures: ::prost::alloc::vec::Vec, - /// Timestamp when create instruction request was created. + /// Timestamp when create instruction request was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } diff --git a/gcloud-sdk/genproto/google.cloud.dataplex.v1.rs b/gcloud-sdk/genproto/google.cloud.dataplex.v1.rs index 3dcf7d1fb..c689bc3d7 100644 --- a/gcloud-sdk/genproto/google.cloud.dataplex.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.dataplex.v1.rs @@ -1,97 +1,97 @@ -/// A lake is a centralized repository for managing enterprise data across the -/// organization distributed across many cloud projects, and stored in a variety -/// of storage services such as Google Cloud Storage and BigQuery. The resources -/// attached to a lake are referred to as managed resources. Data within these -/// managed resources can be structured or unstructured. A lake provides data -/// admins with tools to organize, secure and manage their data at scale, and -/// provides data scientists and data engineers an integrated experience to -/// easily search, discover, analyze and transform data and associated metadata. +/// A lake is a centralized repository for managing enterprise data across the +/// organization distributed across many cloud projects, and stored in a variety +/// of storage services such as Google Cloud Storage and BigQuery. The resources +/// attached to a lake are referred to as managed resources. Data within these +/// managed resources can be structured or unstructured. A lake provides data +/// admins with tools to organize, secure and manage their data at scale, and +/// provides data scientists and data engineers an integrated experience to +/// easily search, discover, analyze and transform data and associated metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Lake { - /// Output only. The relative resource name of the lake, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Output only. The relative resource name of the lake, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. User friendly display name. + /// Optional. User friendly display name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the lake. This ID will be - /// different if the lake is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the lake. This ID will be + /// different if the lake is deleted and re-created with the same name. #[prost(string, tag="3")] pub uid: ::prost::alloc::string::String, - /// Output only. The time when the lake was created. + /// Output only. The time when the lake was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the lake was last updated. + /// Output only. The time when the lake was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User-defined labels for the lake. + /// Optional. User-defined labels for the lake. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the lake. + /// Optional. Description of the lake. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Output only. Current state of the lake. + /// Output only. Current state of the lake. #[prost(enumeration="State", tag="8")] pub state: i32, - /// Output only. Service account associated with this lake. This service account must be - /// authorized to access or operate on resources managed by the lake. + /// Output only. Service account associated with this lake. This service account must be + /// authorized to access or operate on resources managed by the lake. #[prost(string, tag="9")] pub service_account: ::prost::alloc::string::String, - /// Optional. Settings to manage lake and Dataproc Metastore service instance - /// association. + /// Optional. Settings to manage lake and Dataproc Metastore service instance + /// association. #[prost(message, optional, tag="102")] pub metastore: ::core::option::Option, - /// Output only. Aggregated status of the underlying assets of the lake. + /// Output only. Aggregated status of the underlying assets of the lake. #[prost(message, optional, tag="103")] pub asset_status: ::core::option::Option, - /// Output only. Metastore status of the lake. + /// Output only. Metastore status of the lake. #[prost(message, optional, tag="104")] pub metastore_status: ::core::option::Option, } /// Nested message and enum types in `Lake`. pub mod lake { - /// Settings to manage association of Dataproc Metastore with a lake. + /// Settings to manage association of Dataproc Metastore with a lake. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metastore { - /// Optional. A relative reference to the Dataproc Metastore - /// () service associated - /// with the lake: - /// `projects/{project_id}/locations/{location_id}/services/{service_id}` + /// Optional. A relative reference to the Dataproc Metastore + /// () service associated + /// with the lake: + /// `projects/{project_id}/locations/{location_id}/services/{service_id}` #[prost(string, tag="1")] pub service: ::prost::alloc::string::String, } - /// Status of Lake and Dataproc Metastore service instance association. + /// Status of Lake and Dataproc Metastore service instance association. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetastoreStatus { - /// Current state of association. + /// Current state of association. #[prost(enumeration="metastore_status::State", tag="1")] pub state: i32, - /// Additional information about the current status. + /// Additional information about the current status. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// Last update time of the metastore status of the lake. + /// Last update time of the metastore status of the lake. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The URI of the endpoint used to access the Metastore service. + /// The URI of the endpoint used to access the Metastore service. #[prost(string, tag="4")] pub endpoint: ::prost::alloc::string::String, } /// Nested message and enum types in `MetastoreStatus`. pub mod metastore_status { - /// Current state of association. + /// Current state of association. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// A Metastore service instance is not associated with the lake. + /// A Metastore service instance is not associated with the lake. None = 1, - /// A Metastore service instance is attached to the lake. + /// A Metastore service instance is attached to the lake. Ready = 2, - /// Attach/detach is in progress. + /// Attach/detach is in progress. Updating = 3, - /// Attach/detach could not be done due to errors. + /// Attach/detach could not be done due to errors. Error = 4, } impl State { @@ -111,87 +111,87 @@ pub mod lake { } } } -/// Aggregated status of the underlying assets of a lake or zone. +/// Aggregated status of the underlying assets of a lake or zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AssetStatus { - /// Last update time of the status. + /// Last update time of the status. #[prost(message, optional, tag="1")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Number of active assets. + /// Number of active assets. #[prost(int32, tag="2")] pub active_assets: i32, - /// Number of assets that are in process of updating the security policy on - /// attached resources. + /// Number of assets that are in process of updating the security policy on + /// attached resources. #[prost(int32, tag="3")] pub security_policy_applying_assets: i32, } -/// A zone represents a logical group of related assets within a lake. A zone can -/// be used to map to organizational structure or represent stages of data -/// readiness from raw to curated. It provides managing behavior that is shared -/// or inherited by all contained assets. +/// A zone represents a logical group of related assets within a lake. A zone can +/// be used to map to organizational structure or represent stages of data +/// readiness from raw to curated. It provides managing behavior that is shared +/// or inherited by all contained assets. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Zone { - /// Output only. The relative resource name of the zone, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Output only. The relative resource name of the zone, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. User friendly display name. + /// Optional. User friendly display name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the zone. This ID will be - /// different if the zone is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the zone. This ID will be + /// different if the zone is deleted and re-created with the same name. #[prost(string, tag="3")] pub uid: ::prost::alloc::string::String, - /// Output only. The time when the zone was created. + /// Output only. The time when the zone was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the zone was last updated. + /// Output only. The time when the zone was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User defined labels for the zone. + /// Optional. User defined labels for the zone. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the zone. + /// Optional. Description of the zone. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Output only. Current state of the zone. + /// Output only. Current state of the zone. #[prost(enumeration="State", tag="8")] pub state: i32, - /// Required. Immutable. The type of the zone. + /// Required. Immutable. The type of the zone. #[prost(enumeration="zone::Type", tag="9")] pub r#type: i32, - /// Optional. Specification of the discovery feature applied to data in this zone. + /// Optional. Specification of the discovery feature applied to data in this zone. #[prost(message, optional, tag="103")] pub discovery_spec: ::core::option::Option, - /// Required. Specification of the resources that are referenced by the assets within - /// this zone. + /// Required. Specification of the resources that are referenced by the assets within + /// this zone. #[prost(message, optional, tag="104")] pub resource_spec: ::core::option::Option, - /// Output only. Aggregated status of the underlying assets of the zone. + /// Output only. Aggregated status of the underlying assets of the zone. #[prost(message, optional, tag="105")] pub asset_status: ::core::option::Option, } /// Nested message and enum types in `Zone`. pub mod zone { - /// Settings for resources attached as assets within a zone. + /// Settings for resources attached as assets within a zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSpec { - /// Required. Immutable. The location type of the resources that are allowed to be attached to the - /// assets within this zone. + /// Required. Immutable. The location type of the resources that are allowed to be attached to the + /// assets within this zone. #[prost(enumeration="resource_spec::LocationType", tag="1")] pub location_type: i32, } /// Nested message and enum types in `ResourceSpec`. pub mod resource_spec { - /// Location type of the resources attached to a zone. + /// Location type of the resources attached to a zone. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum LocationType { - /// Unspecified location type. + /// Unspecified location type. Unspecified = 0, - /// Resources that are associated with a single region. + /// Resources that are associated with a single region. SingleRegion = 1, - /// Resources that are associated with a multi-region location. + /// Resources that are associated with a multi-region location. MultiRegion = 2, } impl LocationType { @@ -208,96 +208,96 @@ pub mod zone { } } } - /// Settings to manage the metadata discovery and publishing in a zone. + /// Settings to manage the metadata discovery and publishing in a zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverySpec { - /// Required. Whether discovery is enabled. + /// Required. Whether discovery is enabled. #[prost(bool, tag="1")] pub enabled: bool, - /// Optional. The list of patterns to apply for selecting data to include during - /// discovery if only a subset of the data should considered. For Cloud - /// Storage bucket assets, these are interpreted as glob patterns used to - /// match object names. For BigQuery dataset assets, these are - /// interpreted as patterns to match table names. + /// Optional. The list of patterns to apply for selecting data to include during + /// discovery if only a subset of the data should considered. For Cloud + /// Storage bucket assets, these are interpreted as glob patterns used to + /// match object names. For BigQuery dataset assets, these are + /// interpreted as patterns to match table names. #[prost(string, repeated, tag="2")] pub include_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The list of patterns to apply for selecting data to exclude during - /// discovery. For Cloud Storage bucket assets, these are interpreted as - /// glob patterns used to match object names. For BigQuery dataset assets, - /// these are interpreted as patterns to match table names. + /// Optional. The list of patterns to apply for selecting data to exclude during + /// discovery. For Cloud Storage bucket assets, these are interpreted as + /// glob patterns used to match object names. For BigQuery dataset assets, + /// these are interpreted as patterns to match table names. #[prost(string, repeated, tag="3")] pub exclude_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Configuration for CSV data. + /// Optional. Configuration for CSV data. #[prost(message, optional, tag="4")] pub csv_options: ::core::option::Option, - /// Optional. Configuration for Json data. + /// Optional. Configuration for Json data. #[prost(message, optional, tag="5")] pub json_options: ::core::option::Option, - /// Determines when discovery is triggered. + /// Determines when discovery is triggered. #[prost(oneof="discovery_spec::Trigger", tags="10")] pub trigger: ::core::option::Option, } /// Nested message and enum types in `DiscoverySpec`. pub mod discovery_spec { - /// Describe CSV and similar semi-structured data formats. + /// Describe CSV and similar semi-structured data formats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvOptions { - /// Optional. The number of rows to interpret as header rows that should be skipped - /// when reading data rows. + /// Optional. The number of rows to interpret as header rows that should be skipped + /// when reading data rows. #[prost(int32, tag="1")] pub header_rows: i32, - /// Optional. The delimiter being used to separate values. This defaults to ','. + /// Optional. The delimiter being used to separate values. This defaults to ','. #[prost(string, tag="2")] pub delimiter: ::prost::alloc::string::String, - /// Optional. The character encoding of the data. The default is UTF-8. + /// Optional. The character encoding of the data. The default is UTF-8. #[prost(string, tag="3")] pub encoding: ::prost::alloc::string::String, - /// Optional. Whether to disable the inference of data type for CSV data. - /// If true, all columns will be registered as strings. + /// Optional. Whether to disable the inference of data type for CSV data. + /// If true, all columns will be registered as strings. #[prost(bool, tag="4")] pub disable_type_inference: bool, } - /// Describe JSON data format. + /// Describe JSON data format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JsonOptions { - /// Optional. The character encoding of the data. The default is UTF-8. + /// Optional. The character encoding of the data. The default is UTF-8. #[prost(string, tag="1")] pub encoding: ::prost::alloc::string::String, - /// Optional. Whether to disable the inference of data type for Json data. - /// If true, all columns will be registered as their primitive types - /// (strings, number or boolean). + /// Optional. Whether to disable the inference of data type for Json data. + /// If true, all columns will be registered as their primitive types + /// (strings, number or boolean). #[prost(bool, tag="2")] pub disable_type_inference: bool, } - /// Determines when discovery is triggered. + /// Determines when discovery is triggered. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Trigger { - /// Optional. Cron schedule () for running - /// discovery periodically. Successive discovery runs must be scheduled at - /// least 60 minutes apart. - /// The default value is to run discovery every 60 minutes. - /// To explicitly set a timezone to the cron tab, apply a prefix in the - /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". - /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or - /// "TZ=America/New_York 1 * * * *". + /// Optional. Cron schedule () for running + /// discovery periodically. Successive discovery runs must be scheduled at + /// least 60 minutes apart. + /// The default value is to run discovery every 60 minutes. + /// To explicitly set a timezone to the cron tab, apply a prefix in the + /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". + /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone + /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or + /// "TZ=America/New_York 1 * * * *". #[prost(string, tag="10")] Schedule(::prost::alloc::string::String), } } - /// Type of zone. + /// Type of zone. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Zone type not specified. + /// Zone type not specified. Unspecified = 0, - /// A zone that contains data that needs further processing before it is - /// considered generally ready for consumption and analytics workloads. + /// A zone that contains data that needs further processing before it is + /// considered generally ready for consumption and analytics workloads. Raw = 1, - /// A zone that contains data that is considered to be ready for broader - /// consumption and analytics workloads. Curated structured data stored in - /// Cloud Storage must conform to certain file formats (parquet, avro and - /// orc) and organized in a hive-compatible directory layout. + /// A zone that contains data that is considered to be ready for broader + /// consumption and analytics workloads. Curated structured data stored in + /// Cloud Storage must conform to certain file formats (parquet, avro and + /// orc) and organized in a hive-compatible directory layout. Curated = 2, } impl Type { @@ -314,118 +314,118 @@ pub mod zone { } } } -/// Action represents an issue requiring administrator action for resolution. +/// Action represents an issue requiring administrator action for resolution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Action { - /// The category of issue associated with the action. + /// The category of issue associated with the action. #[prost(enumeration="action::Category", tag="1")] pub category: i32, - /// Detailed description of the issue requiring action. + /// Detailed description of the issue requiring action. #[prost(string, tag="2")] pub issue: ::prost::alloc::string::String, - /// The time that the issue was detected. + /// The time that the issue was detected. #[prost(message, optional, tag="4")] pub detect_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The relative resource name of the action, of the form: - /// `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}` - /// `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}` - /// `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`. + /// Output only. The relative resource name of the action, of the form: + /// `projects/{project}/locations/{location}/lakes/{lake}/actions/{action}` + /// `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/actions/{action}` + /// `projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/assets/{asset}/actions/{action}`. #[prost(string, tag="5")] pub name: ::prost::alloc::string::String, - /// Output only. The relative resource name of the lake, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Output only. The relative resource name of the lake, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="6")] pub lake: ::prost::alloc::string::String, - /// Output only. The relative resource name of the zone, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Output only. The relative resource name of the zone, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="7")] pub zone: ::prost::alloc::string::String, - /// Output only. The relative resource name of the asset, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. + /// Output only. The relative resource name of the asset, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. #[prost(string, tag="8")] pub asset: ::prost::alloc::string::String, - /// The list of data locations associated with this action. Cloud Storage - /// locations are represented as URI paths(E.g. - /// `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to - /// resource names(E.g. - /// `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`). + /// The list of data locations associated with this action. Cloud Storage + /// locations are represented as URI paths(E.g. + /// `gs://bucket/table1/year=2020/month=Jan/`). BigQuery locations refer to + /// resource names(E.g. + /// `bigquery.googleapis.com/projects/project-id/datasets/dataset-id`). #[prost(string, repeated, tag="9")] pub data_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Additional details about the action based on the action category. + /// Additional details about the action based on the action category. #[prost(oneof="action::Details", tags="10, 11, 12, 13, 14, 15, 21, 22")] pub details: ::core::option::Option, } /// Nested message and enum types in `Action`. pub mod action { - /// Action details for resource references in assets that cannot be located. + /// Action details for resource references in assets that cannot be located. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MissingResource { } - /// Action details for unauthorized resource issues raised to indicate that the - /// service account associated with the lake instance is not authorized to - /// access or manage the resource associated with an asset. + /// Action details for unauthorized resource issues raised to indicate that the + /// service account associated with the lake instance is not authorized to + /// access or manage the resource associated with an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UnauthorizedResource { } - /// Failed to apply security policy to the managed resource(s) under a - /// lake, zone or an asset. For a lake or zone resource, one or more underlying - /// assets has a failure applying security policy to the associated managed - /// resource. + /// Failed to apply security policy to the managed resource(s) under a + /// lake, zone or an asset. For a lake or zone resource, one or more underlying + /// assets has a failure applying security policy to the associated managed + /// resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FailedSecurityPolicyApply { - /// Resource name of one of the assets with failing security policy - /// application. Populated for a lake or zone resource only. + /// Resource name of one of the assets with failing security policy + /// application. Populated for a lake or zone resource only. #[prost(string, tag="1")] pub asset: ::prost::alloc::string::String, } - /// Action details for invalid or unsupported data files detected by discovery. + /// Action details for invalid or unsupported data files detected by discovery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidDataFormat { - /// The list of data locations sampled and used for format/schema - /// inference. + /// The list of data locations sampled and used for format/schema + /// inference. #[prost(string, repeated, tag="1")] pub sampled_data_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The expected data format of the entity. + /// The expected data format of the entity. #[prost(string, tag="2")] pub expected_format: ::prost::alloc::string::String, - /// The new unexpected data format within the entity. + /// The new unexpected data format within the entity. #[prost(string, tag="3")] pub new_format: ::prost::alloc::string::String, } - /// Action details for incompatible schemas detected by discovery. + /// Action details for incompatible schemas detected by discovery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IncompatibleDataSchema { - /// The name of the table containing invalid data. + /// The name of the table containing invalid data. #[prost(string, tag="1")] pub table: ::prost::alloc::string::String, - /// The existing and expected schema of the table. The schema is provided as - /// a JSON formatted structure listing columns and data types. + /// The existing and expected schema of the table. The schema is provided as + /// a JSON formatted structure listing columns and data types. #[prost(string, tag="2")] pub existing_schema: ::prost::alloc::string::String, - /// The new and incompatible schema within the table. The schema is provided - /// as a JSON formatted structured listing columns and data types. + /// The new and incompatible schema within the table. The schema is provided + /// as a JSON formatted structured listing columns and data types. #[prost(string, tag="3")] pub new_schema: ::prost::alloc::string::String, - /// The list of data locations sampled and used for format/schema - /// inference. + /// The list of data locations sampled and used for format/schema + /// inference. #[prost(string, repeated, tag="4")] pub sampled_data_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Whether the action relates to a schema that is incompatible or modified. + /// Whether the action relates to a schema that is incompatible or modified. #[prost(enumeration="incompatible_data_schema::SchemaChange", tag="5")] pub schema_change: i32, } /// Nested message and enum types in `IncompatibleDataSchema`. pub mod incompatible_data_schema { - /// Whether the action relates to a schema that is incompatible or modified. + /// Whether the action relates to a schema that is incompatible or modified. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SchemaChange { - /// Schema change unspecified. + /// Schema change unspecified. Unspecified = 0, - /// Newly discovered schema is incompatible with existing schema. + /// Newly discovered schema is incompatible with existing schema. Incompatible = 1, - /// Newly discovered schema has changed from existing schema for data in a - /// curated zone. + /// Newly discovered schema has changed from existing schema for data in a + /// curated zone. Modified = 2, } impl SchemaChange { @@ -442,24 +442,24 @@ pub mod action { } } } - /// Action details for invalid or unsupported partitions detected by discovery. + /// Action details for invalid or unsupported partitions detected by discovery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidDataPartition { - /// The issue type of InvalidDataPartition. + /// The issue type of InvalidDataPartition. #[prost(enumeration="invalid_data_partition::PartitionStructure", tag="1")] pub expected_structure: i32, } /// Nested message and enum types in `InvalidDataPartition`. pub mod invalid_data_partition { - /// The expected partition structure. + /// The expected partition structure. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartitionStructure { - /// PartitionStructure unspecified. + /// PartitionStructure unspecified. Unspecified = 0, - /// Consistent hive-style partition definition (both raw and curated zone). + /// Consistent hive-style partition definition (both raw and curated zone). ConsistentKeys = 1, - /// Hive style partition definition (curated zone only). + /// Hive style partition definition (curated zone only). HiveStyleKeys = 2, } impl PartitionStructure { @@ -476,25 +476,25 @@ pub mod action { } } } - /// Action details for absence of data detected by discovery. + /// Action details for absence of data detected by discovery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MissingData { } - /// Action details for invalid data arrangement. + /// Action details for invalid data arrangement. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InvalidDataOrganization { } - /// The category of issues. + /// The category of issues. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Category { - /// Unspecified category. + /// Unspecified category. Unspecified = 0, - /// Resource management related issues. + /// Resource management related issues. ResourceManagement = 1, - /// Security policy related issues. + /// Security policy related issues. SecurityPolicy = 2, - /// Data and discovery related issues. + /// Data and discovery related issues. DataDiscovery = 3, } impl Category { @@ -511,118 +511,118 @@ pub mod action { } } } - /// Additional details about the action based on the action category. + /// Additional details about the action based on the action category. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details for issues related to invalid or unsupported data formats. + /// Details for issues related to invalid or unsupported data formats. #[prost(message, tag="10")] InvalidDataFormat(InvalidDataFormat), - /// Details for issues related to incompatible schemas detected within data. + /// Details for issues related to incompatible schemas detected within data. #[prost(message, tag="11")] IncompatibleDataSchema(IncompatibleDataSchema), - /// Details for issues related to invalid or unsupported data partition - /// structure. + /// Details for issues related to invalid or unsupported data partition + /// structure. #[prost(message, tag="12")] InvalidDataPartition(InvalidDataPartition), - /// Details for issues related to absence of data within managed resources. + /// Details for issues related to absence of data within managed resources. #[prost(message, tag="13")] MissingData(MissingData), - /// Details for issues related to absence of a managed resource. + /// Details for issues related to absence of a managed resource. #[prost(message, tag="14")] MissingResource(MissingResource), - /// Details for issues related to lack of permissions to access data - /// resources. + /// Details for issues related to lack of permissions to access data + /// resources. #[prost(message, tag="15")] UnauthorizedResource(UnauthorizedResource), - /// Details for issues related to applying security policy. + /// Details for issues related to applying security policy. #[prost(message, tag="21")] FailedSecurityPolicyApply(FailedSecurityPolicyApply), - /// Details for issues related to invalid data arrangement. + /// Details for issues related to invalid data arrangement. #[prost(message, tag="22")] InvalidDataOrganization(InvalidDataOrganization), } } -/// An asset represents a cloud resource that is being managed within a lake as a -/// member of a zone. +/// An asset represents a cloud resource that is being managed within a lake as a +/// member of a zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Asset { - /// Output only. The relative resource name of the asset, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. + /// Output only. The relative resource name of the asset, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. User friendly display name. + /// Optional. User friendly display name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the asset. This ID will be - /// different if the asset is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the asset. This ID will be + /// different if the asset is deleted and re-created with the same name. #[prost(string, tag="3")] pub uid: ::prost::alloc::string::String, - /// Output only. The time when the asset was created. + /// Output only. The time when the asset was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the asset was last updated. + /// Output only. The time when the asset was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User defined labels for the asset. + /// Optional. User defined labels for the asset. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the asset. + /// Optional. Description of the asset. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Output only. Current state of the asset. + /// Output only. Current state of the asset. #[prost(enumeration="State", tag="8")] pub state: i32, - /// Required. Specification of the resource that is referenced by this asset. + /// Required. Specification of the resource that is referenced by this asset. #[prost(message, optional, tag="100")] pub resource_spec: ::core::option::Option, - /// Output only. Status of the resource referenced by this asset. + /// Output only. Status of the resource referenced by this asset. #[prost(message, optional, tag="101")] pub resource_status: ::core::option::Option, - /// Output only. Status of the security policy applied to resource referenced by this asset. + /// Output only. Status of the security policy applied to resource referenced by this asset. #[prost(message, optional, tag="103")] pub security_status: ::core::option::Option, - /// Optional. Specification of the discovery feature applied to data referenced by this - /// asset. - /// When this spec is left unset, the asset will use the spec set on the parent - /// zone. + /// Optional. Specification of the discovery feature applied to data referenced by this + /// asset. + /// When this spec is left unset, the asset will use the spec set on the parent + /// zone. #[prost(message, optional, tag="106")] pub discovery_spec: ::core::option::Option, - /// Output only. Status of the discovery feature applied to data referenced by this asset. + /// Output only. Status of the discovery feature applied to data referenced by this asset. #[prost(message, optional, tag="107")] pub discovery_status: ::core::option::Option, } /// Nested message and enum types in `Asset`. pub mod asset { - /// Security policy status of the asset. Data security policy, i.e., readers, - /// writers & owners, should be specified in the lake/zone/asset IAM policy. + /// Security policy status of the asset. Data security policy, i.e., readers, + /// writers & owners, should be specified in the lake/zone/asset IAM policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityStatus { - /// The current state of the security policy applied to the attached - /// resource. + /// The current state of the security policy applied to the attached + /// resource. #[prost(enumeration="security_status::State", tag="1")] pub state: i32, - /// Additional information about the current state. + /// Additional information about the current state. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// Last update time of the status. + /// Last update time of the status. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `SecurityStatus`. pub mod security_status { - /// The state of the security policy. + /// The state of the security policy. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State unspecified. + /// State unspecified. Unspecified = 0, - /// Security policy has been successfully applied to the attached resource. + /// Security policy has been successfully applied to the attached resource. Ready = 1, - /// Security policy is in the process of being applied to the attached - /// resource. + /// Security policy is in the process of being applied to the attached + /// resource. Applying = 2, - /// Security policy could not be applied to the attached resource due to - /// errors. + /// Security policy could not be applied to the attached resource due to + /// errors. Error = 3, } impl State { @@ -640,107 +640,107 @@ pub mod asset { } } } - /// Settings to manage the metadata discovery and publishing for an asset. + /// Settings to manage the metadata discovery and publishing for an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverySpec { - /// Optional. Whether discovery is enabled. + /// Optional. Whether discovery is enabled. #[prost(bool, tag="1")] pub enabled: bool, - /// Optional. The list of patterns to apply for selecting data to include during - /// discovery if only a subset of the data should considered. For Cloud - /// Storage bucket assets, these are interpreted as glob patterns used to - /// match object names. For BigQuery dataset assets, these are interpreted as - /// patterns to match table names. + /// Optional. The list of patterns to apply for selecting data to include during + /// discovery if only a subset of the data should considered. For Cloud + /// Storage bucket assets, these are interpreted as glob patterns used to + /// match object names. For BigQuery dataset assets, these are interpreted as + /// patterns to match table names. #[prost(string, repeated, tag="2")] pub include_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The list of patterns to apply for selecting data to exclude during - /// discovery. For Cloud Storage bucket assets, these are interpreted as - /// glob patterns used to match object names. For BigQuery dataset assets, - /// these are interpreted as patterns to match table names. + /// Optional. The list of patterns to apply for selecting data to exclude during + /// discovery. For Cloud Storage bucket assets, these are interpreted as + /// glob patterns used to match object names. For BigQuery dataset assets, + /// these are interpreted as patterns to match table names. #[prost(string, repeated, tag="3")] pub exclude_patterns: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Configuration for CSV data. + /// Optional. Configuration for CSV data. #[prost(message, optional, tag="4")] pub csv_options: ::core::option::Option, - /// Optional. Configuration for Json data. + /// Optional. Configuration for Json data. #[prost(message, optional, tag="5")] pub json_options: ::core::option::Option, - /// Determines when discovery is triggered. + /// Determines when discovery is triggered. #[prost(oneof="discovery_spec::Trigger", tags="10")] pub trigger: ::core::option::Option, } /// Nested message and enum types in `DiscoverySpec`. pub mod discovery_spec { - /// Describe CSV and similar semi-structured data formats. + /// Describe CSV and similar semi-structured data formats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvOptions { - /// Optional. The number of rows to interpret as header rows that should be skipped - /// when reading data rows. + /// Optional. The number of rows to interpret as header rows that should be skipped + /// when reading data rows. #[prost(int32, tag="1")] pub header_rows: i32, - /// Optional. The delimiter being used to separate values. This defaults to ','. + /// Optional. The delimiter being used to separate values. This defaults to ','. #[prost(string, tag="2")] pub delimiter: ::prost::alloc::string::String, - /// Optional. The character encoding of the data. The default is UTF-8. + /// Optional. The character encoding of the data. The default is UTF-8. #[prost(string, tag="3")] pub encoding: ::prost::alloc::string::String, - /// Optional. Whether to disable the inference of data type for CSV data. - /// If true, all columns will be registered as strings. + /// Optional. Whether to disable the inference of data type for CSV data. + /// If true, all columns will be registered as strings. #[prost(bool, tag="4")] pub disable_type_inference: bool, } - /// Describe JSON data format. + /// Describe JSON data format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JsonOptions { - /// Optional. The character encoding of the data. The default is UTF-8. + /// Optional. The character encoding of the data. The default is UTF-8. #[prost(string, tag="1")] pub encoding: ::prost::alloc::string::String, - /// Optional. Whether to disable the inference of data type for Json data. - /// If true, all columns will be registered as their primitive types - /// (strings, number or boolean). + /// Optional. Whether to disable the inference of data type for Json data. + /// If true, all columns will be registered as their primitive types + /// (strings, number or boolean). #[prost(bool, tag="2")] pub disable_type_inference: bool, } - /// Determines when discovery is triggered. + /// Determines when discovery is triggered. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Trigger { - /// Optional. Cron schedule () for running - /// discovery periodically. Successive discovery runs must be scheduled at - /// least 60 minutes apart. - /// The default value is to run discovery every 60 minutes. - /// To explicitly set a timezone to the cron tab, apply a prefix in the - /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". - /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or - /// "TZ=America/New_York 1 * * * *". + /// Optional. Cron schedule () for running + /// discovery periodically. Successive discovery runs must be scheduled at + /// least 60 minutes apart. + /// The default value is to run discovery every 60 minutes. + /// To explicitly set a timezone to the cron tab, apply a prefix in the + /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". + /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone + /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or + /// "TZ=America/New_York 1 * * * *". #[prost(string, tag="10")] Schedule(::prost::alloc::string::String), } } - /// Identifies the cloud resource that is referenced by this asset. + /// Identifies the cloud resource that is referenced by this asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceSpec { - /// Immutable. Relative name of the cloud resource that contains the data that is - /// being managed within a lake. For example: + /// Immutable. Relative name of the cloud resource that contains the data that is + /// being managed within a lake. For example: /// `projects/{project_number}/buckets/{bucket_id}` /// `projects/{project_number}/datasets/{dataset_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Type of resource. + /// Required. Immutable. Type of resource. #[prost(enumeration="resource_spec::Type", tag="2")] pub r#type: i32, } /// Nested message and enum types in `ResourceSpec`. pub mod resource_spec { - /// Type of resource. + /// Type of resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Type not specified. + /// Type not specified. Unspecified = 0, - /// Cloud Storage bucket. + /// Cloud Storage bucket. StorageBucket = 1, - /// BigQuery dataset. + /// BigQuery dataset. BigqueryDataset = 2, } impl Type { @@ -757,30 +757,30 @@ pub mod asset { } } } - /// Status of the resource referenced by an asset. + /// Status of the resource referenced by an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceStatus { - /// The current state of the managed resource. + /// The current state of the managed resource. #[prost(enumeration="resource_status::State", tag="1")] pub state: i32, - /// Additional information about the current state. + /// Additional information about the current state. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// Last update time of the status. + /// Last update time of the status. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `ResourceStatus`. pub mod resource_status { - /// The state of a resource. + /// The state of a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State unspecified. + /// State unspecified. Unspecified = 0, - /// Resource does not have any errors. + /// Resource does not have any errors. Ready = 1, - /// Resource has errors. + /// Resource has errors. Error = 2, } impl State { @@ -797,60 +797,60 @@ pub mod asset { } } } - /// Status of discovery for an asset. + /// Status of discovery for an asset. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryStatus { - /// The current status of the discovery feature. + /// The current status of the discovery feature. #[prost(enumeration="discovery_status::State", tag="1")] pub state: i32, - /// Additional information about the current state. + /// Additional information about the current state. #[prost(string, tag="2")] pub message: ::prost::alloc::string::String, - /// Last update time of the status. + /// Last update time of the status. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The start time of the last discovery run. + /// The start time of the last discovery run. #[prost(message, optional, tag="4")] pub last_run_time: ::core::option::Option<::prost_types::Timestamp>, - /// Data Stats of the asset reported by discovery. + /// Data Stats of the asset reported by discovery. #[prost(message, optional, tag="6")] pub stats: ::core::option::Option, - /// The duration of the last discovery run. + /// The duration of the last discovery run. #[prost(message, optional, tag="7")] pub last_run_duration: ::core::option::Option<::prost_types::Duration>, } /// Nested message and enum types in `DiscoveryStatus`. pub mod discovery_status { - /// The aggregated data statistics for the asset reported by discovery. + /// The aggregated data statistics for the asset reported by discovery. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Stats { - /// The count of data items within the referenced resource. + /// The count of data items within the referenced resource. #[prost(int64, tag="1")] pub data_items: i64, - /// The number of stored data bytes within the referenced resource. + /// The number of stored data bytes within the referenced resource. #[prost(int64, tag="2")] pub data_size: i64, - /// The count of table entities within the referenced resource. + /// The count of table entities within the referenced resource. #[prost(int64, tag="3")] pub tables: i64, - /// The count of fileset entities within the referenced resource. + /// The count of fileset entities within the referenced resource. #[prost(int64, tag="4")] pub filesets: i64, } - /// Current state of discovery. + /// Current state of discovery. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State is unspecified. + /// State is unspecified. Unspecified = 0, - /// Discovery for the asset is scheduled. + /// Discovery for the asset is scheduled. Scheduled = 1, - /// Discovery for the asset is running. + /// Discovery for the asset is running. InProgress = 2, - /// Discovery for the asset is currently paused (e.g. due to a lack - /// of available resources). It will be automatically resumed. + /// Discovery for the asset is currently paused (e.g. due to a lack + /// of available resources). It will be automatically resumed. Paused = 3, - /// Discovery for the asset is disabled. + /// Discovery for the asset is disabled. Disabled = 5, } impl State { @@ -870,19 +870,19 @@ pub mod asset { } } } -/// State of a resource. +/// State of a resource. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State is not specified. + /// State is not specified. Unspecified = 0, - /// Resource is active, i.e., ready to use. + /// Resource is active, i.e., ready to use. Active = 1, - /// Resource is under creation. + /// Resource is under creation. Creating = 2, - /// Resource is under deletion. + /// Resource is under deletion. Deleting = 3, - /// Resource is active but has unresolved actions. + /// Resource is active but has unresolved actions. ActionRequired = 4, } impl State { @@ -900,175 +900,175 @@ impl State { } } } -/// Environment represents a user-visible compute infrastructure for analytics -/// within a lake. +/// Environment represents a user-visible compute infrastructure for analytics +/// within a lake. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Environment { - /// Output only. The relative resource name of the environment, of the form: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} + /// Output only. The relative resource name of the environment, of the form: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. User friendly display name. + /// Optional. User friendly display name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the environment. This ID will be - /// different if the environment is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the environment. This ID will be + /// different if the environment is deleted and re-created with the same name. #[prost(string, tag="3")] pub uid: ::prost::alloc::string::String, - /// Output only. Environment creation time. + /// Output only. Environment creation time. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the environment was last updated. + /// Output only. The time when the environment was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User defined labels for the environment. + /// Optional. User defined labels for the environment. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the environment. + /// Optional. Description of the environment. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Output only. Current state of the environment. + /// Output only. Current state of the environment. #[prost(enumeration="State", tag="8")] pub state: i32, - /// Required. Infrastructure specification for the Environment. + /// Required. Infrastructure specification for the Environment. #[prost(message, optional, tag="100")] pub infrastructure_spec: ::core::option::Option, - /// Optional. Configuration for sessions created for this environment. + /// Optional. Configuration for sessions created for this environment. #[prost(message, optional, tag="101")] pub session_spec: ::core::option::Option, - /// Output only. Status of sessions created for this environment. + /// Output only. Status of sessions created for this environment. #[prost(message, optional, tag="102")] pub session_status: ::core::option::Option, - /// Output only. URI Endpoints to access sessions associated with the Environment. + /// Output only. URI Endpoints to access sessions associated with the Environment. #[prost(message, optional, tag="200")] pub endpoints: ::core::option::Option, } /// Nested message and enum types in `Environment`. pub mod environment { - /// Configuration for the underlying infrastructure used to run workloads. + /// Configuration for the underlying infrastructure used to run workloads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InfrastructureSpec { - /// Hardware config + /// Hardware config #[prost(oneof="infrastructure_spec::Resources", tags="50")] pub resources: ::core::option::Option, - /// Software config + /// Software config #[prost(oneof="infrastructure_spec::Runtime", tags="100")] pub runtime: ::core::option::Option, } /// Nested message and enum types in `InfrastructureSpec`. pub mod infrastructure_spec { - /// Compute resources associated with the analyze interactive workloads. + /// Compute resources associated with the analyze interactive workloads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ComputeResources { - /// Optional. Size in GB of the disk. Default is 100 GB. + /// Optional. Size in GB of the disk. Default is 100 GB. #[prost(int32, tag="1")] pub disk_size_gb: i32, - /// Optional. Total number of nodes in the sessions created for this environment. + /// Optional. Total number of nodes in the sessions created for this environment. #[prost(int32, tag="2")] pub node_count: i32, - /// Optional. Max configurable nodes. - /// If max_node_count > node_count, then auto-scaling is enabled. + /// Optional. Max configurable nodes. + /// If max_node_count > node_count, then auto-scaling is enabled. #[prost(int32, tag="3")] pub max_node_count: i32, } - /// Software Runtime Configuration to run Analyze. + /// Software Runtime Configuration to run Analyze. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OsImageRuntime { - /// Required. Dataplex Image version. + /// Required. Dataplex Image version. #[prost(string, tag="1")] pub image_version: ::prost::alloc::string::String, - /// Optional. List of Java jars to be included in the runtime environment. - /// Valid input includes Cloud Storage URIs to Jar binaries. - /// For example, gs://bucket-name/my/path/to/file.jar + /// Optional. List of Java jars to be included in the runtime environment. + /// Valid input includes Cloud Storage URIs to Jar binaries. + /// For example, gs://bucket-name/my/path/to/file.jar #[prost(string, repeated, tag="2")] pub java_libraries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A list of python packages to be installed. - /// Valid formats include Cloud Storage URI to a PIP installable library. - /// For example, gs://bucket-name/my/path/to/lib.tar.gz + /// Optional. A list of python packages to be installed. + /// Valid formats include Cloud Storage URI to a PIP installable library. + /// For example, gs://bucket-name/my/path/to/lib.tar.gz #[prost(string, repeated, tag="3")] pub python_packages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Spark properties to provide configuration for use in sessions created - /// for this environment. The properties to set on daemon config files. - /// Property keys are specified in `prefix:property` format. - /// The prefix must be "spark". + /// Optional. Spark properties to provide configuration for use in sessions created + /// for this environment. The properties to set on daemon config files. + /// Property keys are specified in `prefix:property` format. + /// The prefix must be "spark". #[prost(map="string, string", tag="4")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } - /// Hardware config + /// Hardware config #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resources { - /// Optional. Compute resources needed for analyze interactive workloads. + /// Optional. Compute resources needed for analyze interactive workloads. #[prost(message, tag="50")] Compute(ComputeResources), } - /// Software config + /// Software config #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Runtime { - /// Required. Software Runtime Configuration for analyze interactive workloads. + /// Required. Software Runtime Configuration for analyze interactive workloads. #[prost(message, tag="100")] OsImage(OsImageRuntime), } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionSpec { - /// Optional. The idle time configuration of the session. The session will be - /// auto-terminated at the end of this period. + /// Optional. The idle time configuration of the session. The session will be + /// auto-terminated at the end of this period. #[prost(message, optional, tag="1")] pub max_idle_duration: ::core::option::Option<::prost_types::Duration>, - /// Optional. If True, this causes sessions to be pre-created and available for faster - /// startup to enable interactive exploration use-cases. This defaults to - /// False to avoid additional billed charges. - /// These can only be set to True for the environment with name set to - /// "default", and with default configuration. + /// Optional. If True, this causes sessions to be pre-created and available for faster + /// startup to enable interactive exploration use-cases. This defaults to + /// False to avoid additional billed charges. + /// These can only be set to True for the environment with name set to + /// "default", and with default configuration. #[prost(bool, tag="2")] pub enable_fast_startup: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionStatus { - /// Output only. Queries over sessions to mark whether the environment is currently - /// active or not + /// Output only. Queries over sessions to mark whether the environment is currently + /// active or not #[prost(bool, tag="1")] pub active: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Endpoints { - /// Output only. URI to serve notebook APIs + /// Output only. URI to serve notebook APIs #[prost(string, tag="1")] pub notebooks: ::prost::alloc::string::String, - /// Output only. URI to serve SQL APIs + /// Output only. URI to serve SQL APIs #[prost(string, tag="2")] pub sql: ::prost::alloc::string::String, } } -/// Content represents a user-visible notebook or a sql script +/// Content represents a user-visible notebook or a sql script #[derive(Clone, PartialEq, ::prost::Message)] pub struct Content { - /// Output only. The relative resource name of the content, of the form: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} + /// Output only. The relative resource name of the content, of the form: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the content. This ID will be - /// different if the content is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the content. This ID will be + /// different if the content is deleted and re-created with the same name. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Required. The path for the Content file, represented as directory structure. - /// Unique within a lake. - /// Limited to alphanumerics, hyphens, underscores, dots and slashes. + /// Required. The path for the Content file, represented as directory structure. + /// Unique within a lake. + /// Limited to alphanumerics, hyphens, underscores, dots and slashes. #[prost(string, tag="3")] pub path: ::prost::alloc::string::String, - /// Output only. Content creation time. + /// Output only. Content creation time. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the content was last updated. + /// Output only. The time when the content was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. User defined labels for the content. + /// Optional. User defined labels for the content. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Description of the content. + /// Optional. Description of the content. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Only returned in `GetContent` requests and not in `ListContent` request. + /// Only returned in `GetContent` requests and not in `ListContent` request. #[prost(oneof="content::Data", tags="9")] pub data: ::core::option::Option, #[prost(oneof="content::Content", tags="100, 101")] @@ -1076,22 +1076,22 @@ pub struct Content { } /// Nested message and enum types in `Content`. pub mod content { - /// Configuration for the Sql Script content. + /// Configuration for the Sql Script content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SqlScript { - /// Required. Query Engine to be used for the Sql Query. + /// Required. Query Engine to be used for the Sql Query. #[prost(enumeration="sql_script::QueryEngine", tag="1")] pub engine: i32, } /// Nested message and enum types in `SqlScript`. pub mod sql_script { - /// Query Engine Type of the SQL Script. + /// Query Engine Type of the SQL Script. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum QueryEngine { - /// Value was unspecified. + /// Value was unspecified. Unspecified = 0, - /// Spark SQL Query. + /// Spark SQL Query. Spark = 2, } impl QueryEngine { @@ -1107,22 +1107,22 @@ pub mod content { } } } - /// Configuration for Notebook content. + /// Configuration for Notebook content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Notebook { - /// Required. Kernel Type of the notebook. + /// Required. Kernel Type of the notebook. #[prost(enumeration="notebook::KernelType", tag="1")] pub kernel_type: i32, } /// Nested message and enum types in `Notebook`. pub mod notebook { - /// Kernel Type of the Jupyter notebook. + /// Kernel Type of the Jupyter notebook. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum KernelType { - /// Kernel Type unspecified. + /// Kernel Type unspecified. Unspecified = 0, - /// Python 3 Kernel. + /// Python 3 Kernel. Python3 = 1, } impl KernelType { @@ -1138,142 +1138,142 @@ pub mod content { } } } - /// Only returned in `GetContent` requests and not in `ListContent` request. + /// Only returned in `GetContent` requests and not in `ListContent` request. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Data { - /// Required. Content data in string format. + /// Required. Content data in string format. #[prost(string, tag="9")] DataText(::prost::alloc::string::String), } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Content { - /// Sql Script related configurations. + /// Sql Script related configurations. #[prost(message, tag="100")] SqlScript(SqlScript), - /// Notebook related configurations. + /// Notebook related configurations. #[prost(message, tag="101")] Notebook(Notebook), } } -/// Represents an active analyze session running for a user. +/// Represents an active analyze session running for a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Session { - /// Output only. The relative resource name of the content, of the form: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id} + /// Output only. The relative resource name of the content, of the form: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}/sessions/{session_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Email of user running the session. + /// Output only. Email of user running the session. #[prost(string, tag="2")] pub user_id: ::prost::alloc::string::String, - /// Output only. Session start time. + /// Output only. Session start time. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, #[prost(enumeration="State", tag="4")] pub state: i32, } -/// Create content request. +/// Create content request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateContentRequest { - /// Required. The resource name of the parent lake: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id} + /// Required. The resource name of the parent lake: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Content resource. + /// Required. Content resource. #[prost(message, optional, tag="2")] pub content: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Update content request. +/// Update content request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateContentRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub content: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete content request. +/// Delete content request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteContentRequest { - /// Required. The resource name of the content: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} + /// Required. The resource name of the content: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List content request. Returns the BASIC Content view. +/// List content request. Returns the BASIC Content view. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContentRequest { - /// Required. The resource name of the parent lake: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id} + /// Required. The resource name of the parent lake: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id} #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of content to return. The service may return fewer than - /// this value. If unspecified, at most 10 content will be returned. The - /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of content to return. The service may return fewer than + /// this value. If unspecified, at most 10 content will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListContent` call. Provide this - /// to retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListContent` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListContent` call. Provide this + /// to retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListContent` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. Filters are case-sensitive. - /// The following formats are supported: + /// Optional. Filter request. Filters are case-sensitive. + /// The following formats are supported: /// - /// labels.key1 = "value1" - /// labels:key1 - /// type = "NOTEBOOK" - /// type = "SQL_SCRIPT" + /// labels.key1 = "value1" + /// labels:key1 + /// type = "NOTEBOOK" + /// type = "SQL_SCRIPT" /// - /// These restrictions can be coinjoined with AND, OR and NOT conjunctions. + /// These restrictions can be coinjoined with AND, OR and NOT conjunctions. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// List content response. +/// List content response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContentResponse { - /// Content under the given parent lake. + /// Content under the given parent lake. #[prost(message, repeated, tag="1")] pub content: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Get content request. +/// Get content request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetContentRequest { - /// Required. The resource name of the content: - /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} + /// Required. The resource name of the content: + /// projects/{project_id}/locations/{location_id}/lakes/{lake_id}/content/{content_id} #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Specify content view to make a partial request. + /// Optional. Specify content view to make a partial request. #[prost(enumeration="get_content_request::ContentView", tag="2")] pub view: i32, } /// Nested message and enum types in `GetContentRequest`. pub mod get_content_request { - /// Specifies whether the request should return the full or the partial - /// representation. + /// Specifies whether the request should return the full or the partial + /// representation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ContentView { - /// Content view not specified. Defaults to BASIC. - /// The API will default to the BASIC view. + /// Content view not specified. Defaults to BASIC. + /// The API will default to the BASIC view. Unspecified = 0, - /// Will not return the `data_text` field. + /// Will not return the `data_text` field. Basic = 1, - /// Returns the complete proto. + /// Returns the complete proto. Full = 2, } impl ContentView { @@ -1557,100 +1557,100 @@ pub mod content_service_client { } } } -/// The payload associated with Discovery data processing. +/// The payload associated with Discovery data processing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoveryEvent { - /// The log message. + /// The log message. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The id of the associated lake. + /// The id of the associated lake. #[prost(string, tag="2")] pub lake_id: ::prost::alloc::string::String, - /// The id of the associated zone. + /// The id of the associated zone. #[prost(string, tag="3")] pub zone_id: ::prost::alloc::string::String, - /// The id of the associated asset. + /// The id of the associated asset. #[prost(string, tag="4")] pub asset_id: ::prost::alloc::string::String, - /// The data location associated with the event. + /// The data location associated with the event. #[prost(string, tag="5")] pub data_location: ::prost::alloc::string::String, - /// The type of the event being logged. + /// The type of the event being logged. #[prost(enumeration="discovery_event::EventType", tag="10")] pub r#type: i32, - /// Additional details about the event. + /// Additional details about the event. #[prost(oneof="discovery_event::Details", tags="20, 21, 22, 23")] pub details: ::core::option::Option, } /// Nested message and enum types in `DiscoveryEvent`. pub mod discovery_event { - /// Details about configuration events. + /// Details about configuration events. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfigDetails { - /// A list of discovery configuration parameters in effect. - /// The keys are the field paths within DiscoverySpec. - /// Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, - /// etc. + /// A list of discovery configuration parameters in effect. + /// The keys are the field paths within DiscoverySpec. + /// Eg. includePatterns, excludePatterns, csvOptions.disableTypeInference, + /// etc. #[prost(map="string, string", tag="1")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } - /// Details about the entity. + /// Details about the entity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityDetails { - /// The name of the entity resource. - /// The name is the fully-qualified resource name. + /// The name of the entity resource. + /// The name is the fully-qualified resource name. #[prost(string, tag="1")] pub entity: ::prost::alloc::string::String, - /// The type of the entity resource. + /// The type of the entity resource. #[prost(enumeration="EntityType", tag="2")] pub r#type: i32, } - /// Details about the partition. + /// Details about the partition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionDetails { - /// The name to the partition resource. - /// The name is the fully-qualified resource name. + /// The name to the partition resource. + /// The name is the fully-qualified resource name. #[prost(string, tag="1")] pub partition: ::prost::alloc::string::String, - /// The name to the containing entity resource. - /// The name is the fully-qualified resource name. + /// The name to the containing entity resource. + /// The name is the fully-qualified resource name. #[prost(string, tag="2")] pub entity: ::prost::alloc::string::String, - /// The type of the containing entity resource. + /// The type of the containing entity resource. #[prost(enumeration="EntityType", tag="3")] pub r#type: i32, - /// The locations of the data items (e.g., a Cloud Storage objects) sampled - /// for metadata inference. + /// The locations of the data items (e.g., a Cloud Storage objects) sampled + /// for metadata inference. #[prost(string, repeated, tag="4")] pub sampled_data_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Details about the action. + /// Details about the action. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ActionDetails { - /// The type of action. - /// Eg. IncompatibleDataSchema, InvalidDataFormat + /// The type of action. + /// Eg. IncompatibleDataSchema, InvalidDataFormat #[prost(string, tag="1")] pub r#type: ::prost::alloc::string::String, } - /// The type of the event. + /// The type of the event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventType { - /// An unspecified event type. + /// An unspecified event type. Unspecified = 0, - /// An event representing discovery configuration in effect. + /// An event representing discovery configuration in effect. Config = 1, - /// An event representing a metadata entity being created. + /// An event representing a metadata entity being created. EntityCreated = 2, - /// An event representing a metadata entity being updated. + /// An event representing a metadata entity being updated. EntityUpdated = 3, - /// An event representing a metadata entity being deleted. + /// An event representing a metadata entity being deleted. EntityDeleted = 4, - /// An event representing a partition being created. + /// An event representing a partition being created. PartitionCreated = 5, - /// An event representing a partition being updated. + /// An event representing a partition being updated. PartitionUpdated = 6, - /// An event representing a partition being deleted. + /// An event representing a partition being deleted. PartitionDeleted = 7, } impl EventType { @@ -1671,15 +1671,15 @@ pub mod discovery_event { } } } - /// The type of the entity. + /// The type of the entity. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntityType { - /// An unspecified event type. + /// An unspecified event type. Unspecified = 0, - /// Entities representing structured data. + /// Entities representing structured data. Table = 1, - /// Entities representing unstructured data. + /// Entities representing unstructured data. Fileset = 2, } impl EntityType { @@ -1695,66 +1695,66 @@ pub mod discovery_event { } } } - /// Additional details about the event. + /// Additional details about the event. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Details { - /// Details about discovery configuration in effect. + /// Details about discovery configuration in effect. #[prost(message, tag="20")] Config(ConfigDetails), - /// Details about the entity associated with the event. + /// Details about the entity associated with the event. #[prost(message, tag="21")] Entity(EntityDetails), - /// Details about the partition associated with the event. + /// Details about the partition associated with the event. #[prost(message, tag="22")] Partition(PartitionDetails), - /// Details about the action associated with the event. + /// Details about the action associated with the event. #[prost(message, tag="23")] Action(ActionDetails), } } -/// The payload associated with Job logs that contains events describing jobs -/// that have run within a Lake. +/// The payload associated with Job logs that contains events describing jobs +/// that have run within a Lake. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobEvent { - /// The log message. + /// The log message. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The unique id identifying the job. + /// The unique id identifying the job. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, - /// The time when the job started running. + /// The time when the job started running. #[prost(message, optional, tag="3")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time when the job ended running. + /// The time when the job ended running. #[prost(message, optional, tag="4")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// The job state on completion. + /// The job state on completion. #[prost(enumeration="job_event::State", tag="5")] pub state: i32, - /// The number of retries. + /// The number of retries. #[prost(int32, tag="6")] pub retries: i32, - /// The type of the job. + /// The type of the job. #[prost(enumeration="job_event::Type", tag="7")] pub r#type: i32, - /// The service used to execute the job. + /// The service used to execute the job. #[prost(enumeration="job_event::Service", tag="8")] pub service: i32, - /// The reference to the job within the service. + /// The reference to the job within the service. #[prost(string, tag="9")] pub service_job: ::prost::alloc::string::String, } /// Nested message and enum types in `JobEvent`. pub mod job_event { - /// The type of the job. + /// The type of the job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified job type. + /// Unspecified job type. Unspecified = 0, - /// Spark jobs. + /// Spark jobs. Spark = 1, - /// Notebook jobs. + /// Notebook jobs. Notebook = 2, } impl Type { @@ -1770,19 +1770,19 @@ pub mod job_event { } } } - /// The completion status of the job. + /// The completion status of the job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified job state. + /// Unspecified job state. Unspecified = 0, - /// Job successfully completed. + /// Job successfully completed. Succeeded = 1, - /// Job was unsuccessful. + /// Job was unsuccessful. Failed = 2, - /// Job was cancelled by the user. + /// Job was cancelled by the user. Cancelled = 3, - /// Job was cancelled or aborted via the service executing the job. + /// Job was cancelled or aborted via the service executing the job. Aborted = 4, } impl State { @@ -1800,13 +1800,13 @@ pub mod job_event { } } } - /// The service used to execute the job. + /// The service used to execute the job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Service { - /// Unspecified service. + /// Unspecified service. Unspecified = 0, - /// Cloud Dataproc. + /// Cloud Dataproc. Dataproc = 1, } impl Service { @@ -1822,61 +1822,61 @@ pub mod job_event { } } } -/// These messages contain information about sessions within an environment. -/// The monitored resource is 'Environment'. +/// These messages contain information about sessions within an environment. +/// The monitored resource is 'Environment'. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionEvent { - /// The log message. + /// The log message. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The information about the user that created the session. + /// The information about the user that created the session. #[prost(string, tag="2")] pub user_id: ::prost::alloc::string::String, - /// Unique identifier for the session. + /// Unique identifier for the session. #[prost(string, tag="3")] pub session_id: ::prost::alloc::string::String, - /// The type of the event. + /// The type of the event. #[prost(enumeration="session_event::EventType", tag="4")] pub r#type: i32, - /// Additional information about the Query metadata. + /// Additional information about the Query metadata. #[prost(oneof="session_event::Detail", tags="5")] pub detail: ::core::option::Option, } /// Nested message and enum types in `SessionEvent`. pub mod session_event { - /// Execution details of the query. + /// Execution details of the query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryDetail { - /// The unique Query id identifying the query. + /// The unique Query id identifying the query. #[prost(string, tag="1")] pub query_id: ::prost::alloc::string::String, - /// The query text executed. + /// The query text executed. #[prost(string, tag="2")] pub query_text: ::prost::alloc::string::String, - /// Query Execution engine. + /// Query Execution engine. #[prost(enumeration="query_detail::Engine", tag="3")] pub engine: i32, - /// Time taken for execution of the query. + /// Time taken for execution of the query. #[prost(message, optional, tag="4")] pub duration: ::core::option::Option<::prost_types::Duration>, - /// The size of results the query produced. + /// The size of results the query produced. #[prost(int64, tag="5")] pub result_size_bytes: i64, - /// The data processed by the query. + /// The data processed by the query. #[prost(int64, tag="6")] pub data_processed_bytes: i64, } /// Nested message and enum types in `QueryDetail`. pub mod query_detail { - /// Query Execution engine. + /// Query Execution engine. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Engine { - /// An unspecified Engine type. + /// An unspecified Engine type. Unspecified = 0, - /// Spark-sql engine is specified in Query. + /// Spark-sql engine is specified in Query. SparkSql = 1, - /// BigQuery engine is specified in Query. + /// BigQuery engine is specified in Query. Bigquery = 2, } impl Engine { @@ -1893,17 +1893,17 @@ pub mod session_event { } } } - /// The type of the event. + /// The type of the event. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EventType { - /// An unspecified event type. + /// An unspecified event type. Unspecified = 0, - /// Event for start of a session. + /// Event for start of a session. Start = 1, - /// Event for stop of a session. + /// Event for stop of a session. Stop = 2, - /// Query events in the session. + /// Query events in the session. Query = 3, } impl EventType { @@ -1920,99 +1920,99 @@ pub mod session_event { } } } - /// Additional information about the Query metadata. + /// Additional information about the Query metadata. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Detail { - /// The execution details of the query. + /// The execution details of the query. #[prost(message, tag="5")] Query(QueryDetail), } } -/// Create a metadata entity request. +/// Create a metadata entity request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Entity resource. + /// Required. Entity resource. #[prost(message, optional, tag="3")] pub entity: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update a metadata entity request. -/// The exiting entity will be fully replaced by the entity in the request. -/// The entity ID is mutable. To modify the ID, use the current entity ID in the -/// request URL and specify the new ID in the request body. +/// Update a metadata entity request. +/// The exiting entity will be fully replaced by the entity in the request. +/// The entity ID is mutable. To modify the ID, use the current entity ID in the +/// request URL and specify the new ID in the request body. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntityRequest { - /// Required. Update description. + /// Required. Update description. #[prost(message, optional, tag="2")] pub entity: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete a metadata entity request. +/// Delete a metadata entity request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntityRequest { - /// Required. The resource name of the entity: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. + /// Required. The resource name of the entity: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The etag associated with the entity, which can be retrieved with a - /// \[GetEntity][\] request. + /// Required. The etag associated with the entity, which can be retrieved with a + /// \[GetEntity][\] request. #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// List metadata entities request. +/// List metadata entities request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntitiesRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Specify the entity view to make a partial list request. + /// Required. Specify the entity view to make a partial list request. #[prost(enumeration="list_entities_request::EntityView", tag="2")] pub view: i32, - /// Optional. Maximum number of entities to return. The service may return fewer than - /// this value. If unspecified, 100 entities will be returned by default. The - /// maximum value is 500; larger values will will be truncated to 500. + /// Optional. Maximum number of entities to return. The service may return fewer than + /// this value. If unspecified, 100 entities will be returned by default. The + /// maximum value is 500; larger values will will be truncated to 500. #[prost(int32, tag="3")] pub page_size: i32, - /// Optional. Page token received from a previous `ListEntities` call. Provide - /// this to retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListEntities` must match the call that provided the - /// page token. + /// Optional. Page token received from a previous `ListEntities` call. Provide + /// this to retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListEntities` must match the call that provided the + /// page token. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, - /// Optional. The following filter parameters can be added to the URL to limit the - /// entities returned by the API: + /// Optional. The following filter parameters can be added to the URL to limit the + /// entities returned by the API: /// - /// - Entity ID: ?filter="id=entityID" - /// - Asset ID: ?filter="asset=assetID" - /// - Data path ?filter="data_path=gs://my-bucket" - /// - Is HIVE compatible: ?filter="hive_compatible=true" - /// - Is BigQuery compatible: ?filter="bigquery_compatible=true" + /// - Entity ID: ?filter="id=entityID" + /// - Asset ID: ?filter="asset=assetID" + /// - Data path ?filter="data_path=gs://my-bucket" + /// - Is HIVE compatible: ?filter="hive_compatible=true" + /// - Is BigQuery compatible: ?filter="bigquery_compatible=true" #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, } /// Nested message and enum types in `ListEntitiesRequest`. pub mod list_entities_request { - /// Entity views. + /// Entity views. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntityView { - /// The default unset value. Return both table and fileset entities - /// if unspecified. + /// The default unset value. Return both table and fileset entities + /// if unspecified. Unspecified = 0, - /// Only list table entities. + /// Only list table entities. Tables = 1, - /// Only list fileset entities. + /// Only list fileset entities. Filesets = 2, } impl EntityView { @@ -2029,42 +2029,42 @@ pub mod list_entities_request { } } } -/// List metadata entities response. +/// List metadata entities response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntitiesResponse { - /// Entities in the specified parent zone. + /// Entities in the specified parent zone. #[prost(message, repeated, tag="1")] pub entities: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// remaining results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// remaining results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Get metadata entity request. +/// Get metadata entity request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntityRequest { - /// Required. The resource name of the entity: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.` + /// Required. The resource name of the entity: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}.` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Used to select the subset of entity information to return. - /// Defaults to `BASIC`. + /// Optional. Used to select the subset of entity information to return. + /// Defaults to `BASIC`. #[prost(enumeration="get_entity_request::EntityView", tag="2")] pub view: i32, } /// Nested message and enum types in `GetEntityRequest`. pub mod get_entity_request { - /// Entity views for get entity partial result. + /// Entity views for get entity partial result. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntityView { - /// The API will default to the `BASIC` view. + /// The API will default to the `BASIC` view. Unspecified = 0, - /// Minimal view that does not include the schema. + /// Minimal view that does not include the schema. Basic = 1, - /// Include basic information and schema. + /// Include basic information and schema. Schema = 2, - /// Include everything. Currently, this is the same as the SCHEMA view. + /// Include everything. Currently, this is the same as the SCHEMA view. Full = 4, } impl EntityView { @@ -2082,203 +2082,203 @@ pub mod get_entity_request { } } } -/// List metadata partitions request. +/// List metadata partitions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPartitionsRequest { - /// Required. The resource name of the parent entity: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. + /// Required. The resource name of the parent entity: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of partitions to return. The service may return fewer than - /// this value. If unspecified, 100 partitions will be returned by default. The - /// maximum page size is 500; larger values will will be truncated to 500. + /// Optional. Maximum number of partitions to return. The service may return fewer than + /// this value. If unspecified, 100 partitions will be returned by default. The + /// maximum page size is 500; larger values will will be truncated to 500. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListPartitions` call. Provide - /// this to retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListPartitions` must match the call that provided the - /// page token. + /// Optional. Page token received from a previous `ListPartitions` call. Provide + /// this to retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListPartitions` must match the call that provided the + /// page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter the partitions returned to the caller using a key value pair - /// expression. Supported operators and syntax: + /// Optional. Filter the partitions returned to the caller using a key value pair + /// expression. Supported operators and syntax: /// - /// - logic operators: AND, OR - /// - comparison operators: <, >, >=, <= ,=, != - /// - LIKE operators: + /// - logic operators: AND, OR + /// - comparison operators: <, >, >=, <= ,=, != + /// - LIKE operators: /// - The right hand of a LIKE operator supports "." and /// "*" for wildcard searches, for example "value1 LIKE ".*oo.*" - /// - parenthetical grouping: ( ) + /// - parenthetical grouping: ( ) /// - /// Sample filter expression: `?filter="key1 < value1 OR key2 > value2" + /// Sample filter expression: `?filter="key1 < value1 OR key2 > value2" /// - /// **Notes:** + /// **Notes:** /// - /// - Keys to the left of operators are case insensitive. - /// - Partition results are sorted first by creation time, then by + /// - Keys to the left of operators are case insensitive. + /// - Partition results are sorted first by creation time, then by /// lexicographic order. - /// - Up to 20 key value filter pairs are allowed, but due to performance + /// - Up to 20 key value filter pairs are allowed, but due to performance /// considerations, only the first 10 will be used as a filter. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// Create metadata partition request. +/// Create metadata partition request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePartitionRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Partition resource. + /// Required. Partition resource. #[prost(message, optional, tag="3")] pub partition: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Delete metadata partition request. +/// Delete metadata partition request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePartitionRequest { - /// Required. The resource name of the partition. - /// format: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`. - /// The {partition_value_path} segment consists of an ordered sequence of - /// partition values separated by "/". All values must be provided. + /// Required. The resource name of the partition. + /// format: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`. + /// The {partition_value_path} segment consists of an ordered sequence of + /// partition values separated by "/". All values must be provided. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The etag associated with the partition. + /// Optional. The etag associated with the partition. #[deprecated] #[prost(string, tag="2")] pub etag: ::prost::alloc::string::String, } -/// List metadata partitions response. +/// List metadata partitions response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPartitionsResponse { - /// Partitions under the specified parent entity. + /// Partitions under the specified parent entity. #[prost(message, repeated, tag="1")] pub partitions: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// remaining results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// remaining results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Get metadata partition request. +/// Get metadata partition request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPartitionRequest { - /// Required. The resource name of the partition: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`. - /// The {partition_value_path} segment consists of an ordered sequence of - /// partition values separated by "/". All values must be provided. + /// Required. The resource name of the partition: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{entity_id}/partitions/{partition_value_path}`. + /// The {partition_value_path} segment consists of an ordered sequence of + /// partition values separated by "/". All values must be provided. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents tables and fileset metadata contained within a zone. +/// Represents tables and fileset metadata contained within a zone. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// Output only. The resource name of the entity, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`. + /// Output only. The resource name of the entity, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/entities/{id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Display name must be shorter than or equal to 256 characters. + /// Optional. Display name must be shorter than or equal to 256 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Optional. User friendly longer description text. Must be shorter than or equal to - /// 1024 characters. + /// Optional. User friendly longer description text. Must be shorter than or equal to + /// 1024 characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Output only. The time when the entity was created. + /// Output only. The time when the entity was created. #[prost(message, optional, tag="5")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the entity was last updated. + /// Output only. The time when the entity was last updated. #[prost(message, optional, tag="6")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. A user-provided entity ID. It is mutable, and will be used as the - /// published table name. Specifying a new ID in an update entity - /// request will override the existing value. - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), and - /// underscores. Must begin with a letter and consist of 256 or fewer - /// characters. + /// Required. A user-provided entity ID. It is mutable, and will be used as the + /// published table name. Specifying a new ID in an update entity + /// request will override the existing value. + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), and + /// underscores. Must begin with a letter and consist of 256 or fewer + /// characters. #[prost(string, tag="7")] pub id: ::prost::alloc::string::String, - /// Optional. The etag associated with the entity, which can be retrieved with a - /// \[GetEntity][\] request. Required for update and delete requests. + /// Optional. The etag associated with the entity, which can be retrieved with a + /// \[GetEntity][\] request. Required for update and delete requests. #[prost(string, tag="8")] pub etag: ::prost::alloc::string::String, - /// Required. Immutable. The type of entity. + /// Required. Immutable. The type of entity. #[prost(enumeration="entity::Type", tag="10")] pub r#type: i32, - /// Required. Immutable. The ID of the asset associated with the storage location containing the - /// entity data. The entity must be with in the same zone with the asset. + /// Required. Immutable. The ID of the asset associated with the storage location containing the + /// entity data. The entity must be with in the same zone with the asset. #[prost(string, tag="11")] pub asset: ::prost::alloc::string::String, - /// Required. Immutable. The storage path of the entity data. - /// For Cloud Storage data, this is the fully-qualified path to the entity, - /// such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of - /// the table resource, such as - /// `projects/project_id/datasets/dataset_id/tables/table_id`. + /// Required. Immutable. The storage path of the entity data. + /// For Cloud Storage data, this is the fully-qualified path to the entity, + /// such as `gs://bucket/path/to/data`. For BigQuery data, this is the name of + /// the table resource, such as + /// `projects/project_id/datasets/dataset_id/tables/table_id`. #[prost(string, tag="12")] pub data_path: ::prost::alloc::string::String, - /// Optional. The set of items within the data path constituting the data in the entity, - /// represented as a glob path. - /// Example: `gs://bucket/path/to/data/**/*.csv`. + /// Optional. The set of items within the data path constituting the data in the entity, + /// represented as a glob path. + /// Example: `gs://bucket/path/to/data/**/*.csv`. #[prost(string, tag="13")] pub data_path_pattern: ::prost::alloc::string::String, - /// Output only. The name of the associated Data Catalog entry. + /// Output only. The name of the associated Data Catalog entry. #[prost(string, tag="14")] pub catalog_entry: ::prost::alloc::string::String, - /// Required. Immutable. Identifies the storage system of the entity data. + /// Required. Immutable. Identifies the storage system of the entity data. #[prost(enumeration="StorageSystem", tag="15")] pub system: i32, - /// Required. Identifies the storage format of the entity data. - /// It does not apply to entities with data stored in BigQuery. + /// Required. Identifies the storage format of the entity data. + /// It does not apply to entities with data stored in BigQuery. #[prost(message, optional, tag="16")] pub format: ::core::option::Option, - /// Output only. Metadata stores that the entity is compatible with. + /// Output only. Metadata stores that the entity is compatible with. #[prost(message, optional, tag="19")] pub compatibility: ::core::option::Option, - /// Required. The description of the data structure and layout. - /// The schema is not included in list responses. It is only included in - /// `SCHEMA` and `FULL` entity views of a `GetEntity` response. + /// Required. The description of the data structure and layout. + /// The schema is not included in list responses. It is only included in + /// `SCHEMA` and `FULL` entity views of a `GetEntity` response. #[prost(message, optional, tag="50")] pub schema: ::core::option::Option, } /// Nested message and enum types in `Entity`. pub mod entity { - /// Provides compatibility information for various metadata stores. + /// Provides compatibility information for various metadata stores. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CompatibilityStatus { - /// Output only. Whether this entity is compatible with Hive Metastore. + /// Output only. Whether this entity is compatible with Hive Metastore. #[prost(message, optional, tag="1")] pub hive_metastore: ::core::option::Option, - /// Output only. Whether this entity is compatible with BigQuery. + /// Output only. Whether this entity is compatible with BigQuery. #[prost(message, optional, tag="2")] pub bigquery: ::core::option::Option, } /// Nested message and enum types in `CompatibilityStatus`. pub mod compatibility_status { - /// Provides compatibility information for a specific metadata store. + /// Provides compatibility information for a specific metadata store. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Compatibility { - /// Output only. Whether the entity is compatible and can be represented in the metadata - /// store. + /// Output only. Whether the entity is compatible and can be represented in the metadata + /// store. #[prost(bool, tag="1")] pub compatible: bool, - /// Output only. Provides additional detail if the entity is incompatible with the - /// metadata store. + /// Output only. Provides additional detail if the entity is incompatible with the + /// metadata store. #[prost(string, tag="2")] pub reason: ::prost::alloc::string::String, } } - /// The type of entity. + /// The type of entity. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Type unspecified. + /// Type unspecified. Unspecified = 0, - /// Structured and semi-structured data. + /// Structured and semi-structured data. Table = 1, - /// Unstructured data. + /// Unstructured data. Fileset = 2, } impl Type { @@ -2295,135 +2295,135 @@ pub mod entity { } } } -/// Represents partition metadata contained within entity instances. +/// Represents partition metadata contained within entity instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Partition { - /// Output only. Partition values used in the HTTP URL must be - /// double encoded. For example, `url_encode(url_encode(value))` can be used - /// to encode "US:CA/CA#Sunnyvale so that the request URL ends - /// with "/partitions/US%253ACA/CA%2523Sunnyvale". - /// The name field in the response retains the encoded format. + /// Output only. Partition values used in the HTTP URL must be + /// double encoded. For example, `url_encode(url_encode(value))` can be used + /// to encode "US:CA/CA#Sunnyvale so that the request URL ends + /// with "/partitions/US%253ACA/CA%2523Sunnyvale". + /// The name field in the response retains the encoded format. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The set of values representing the partition, which correspond to the - /// partition schema defined in the parent entity. + /// Required. Immutable. The set of values representing the partition, which correspond to the + /// partition schema defined in the parent entity. #[prost(string, repeated, tag="2")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Immutable. The location of the entity data within the partition, for example, - /// `gs://bucket/path/to/entity/key1=value1/key2=value2`. - /// Or `projects//datasets//tables/` + /// Required. Immutable. The location of the entity data within the partition, for example, + /// `gs://bucket/path/to/entity/key1=value1/key2=value2`. + /// Or `projects//datasets//tables/` #[prost(string, tag="3")] pub location: ::prost::alloc::string::String, - /// Optional. The etag for this partition. + /// Optional. The etag for this partition. #[deprecated] #[prost(string, tag="4")] pub etag: ::prost::alloc::string::String, } -/// Schema information describing the structure and layout of the data. +/// Schema information describing the structure and layout of the data. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Schema { - /// Required. Set to `true` if user-managed or `false` if managed by Dataplex. The - /// default is `false` (managed by Dataplex). + /// Required. Set to `true` if user-managed or `false` if managed by Dataplex. The + /// default is `false` (managed by Dataplex). /// - /// - Set to `false`to enable Dataplex discovery to update the schema. + /// - Set to `false`to enable Dataplex discovery to update the schema. /// including new data discovery, schema inference, and schema evolution. /// Users retain the ability to input and edit the schema. Dataplex /// treats schema input by the user as though produced /// by a previous Dataplex discovery operation, and it will /// evolve the schema and take action based on that treatment. /// - /// - Set to `true` to fully manage the entity + /// - Set to `true` to fully manage the entity /// schema. This setting guarantees that Dataplex will not /// change schema fields. #[prost(bool, tag="1")] pub user_managed: bool, - /// Optional. The sequence of fields describing data in table entities. - /// **Note:** BigQuery SchemaFields are immutable. + /// Optional. The sequence of fields describing data in table entities. + /// **Note:** BigQuery SchemaFields are immutable. #[prost(message, repeated, tag="2")] pub fields: ::prost::alloc::vec::Vec, - /// Optional. The sequence of fields describing the partition structure in entities. - /// If this field is empty, there are no partitions within the data. + /// Optional. The sequence of fields describing the partition structure in entities. + /// If this field is empty, there are no partitions within the data. #[prost(message, repeated, tag="3")] pub partition_fields: ::prost::alloc::vec::Vec, - /// Optional. The structure of paths containing partition data within the entity. + /// Optional. The structure of paths containing partition data within the entity. #[prost(enumeration="schema::PartitionStyle", tag="4")] pub partition_style: i32, } /// Nested message and enum types in `Schema`. pub mod schema { - /// Represents a column field within a table schema. + /// Represents a column field within a table schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SchemaField { - /// Required. The name of the field. Must contain only letters, numbers and - /// underscores, with a maximum length of 767 characters, - /// and must begin with a letter or underscore. + /// Required. The name of the field. Must contain only letters, numbers and + /// underscores, with a maximum length of 767 characters, + /// and must begin with a letter or underscore. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. User friendly field description. Must be less than or equal to 1024 - /// characters. + /// Optional. User friendly field description. Must be less than or equal to 1024 + /// characters. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, - /// Required. The type of field. + /// Required. The type of field. #[prost(enumeration="Type", tag="3")] pub r#type: i32, - /// Required. Additional field semantics. + /// Required. Additional field semantics. #[prost(enumeration="Mode", tag="4")] pub mode: i32, - /// Optional. Any nested field for complex types. + /// Optional. Any nested field for complex types. #[prost(message, repeated, tag="10")] pub fields: ::prost::alloc::vec::Vec, } - /// Represents a key field within the entity's partition structure. You could - /// have up to 20 partition fields, but only the first 10 partitions have the - /// filtering ability due to performance consideration. **Note:** - /// Partition fields are immutable. + /// Represents a key field within the entity's partition structure. You could + /// have up to 20 partition fields, but only the first 10 partitions have the + /// filtering ability due to performance consideration. **Note:** + /// Partition fields are immutable. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PartitionField { - /// Required. Partition field name must consist of letters, numbers, and underscores - /// only, with a maximum of length of 256 characters, - /// and must begin with a letter or underscore.. + /// Required. Partition field name must consist of letters, numbers, and underscores + /// only, with a maximum of length of 256 characters, + /// and must begin with a letter or underscore.. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. The type of field. + /// Required. Immutable. The type of field. #[prost(enumeration="Type", tag="2")] pub r#type: i32, } - /// Type information for fields in schemas and partition schemas. + /// Type information for fields in schemas and partition schemas. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// SchemaType unspecified. + /// SchemaType unspecified. Unspecified = 0, - /// Boolean field. + /// Boolean field. Boolean = 1, - /// Single byte numeric field. + /// Single byte numeric field. Byte = 2, - /// 16-bit numeric field. + /// 16-bit numeric field. Int16 = 3, - /// 32-bit numeric field. + /// 32-bit numeric field. Int32 = 4, - /// 64-bit numeric field. + /// 64-bit numeric field. Int64 = 5, - /// Floating point numeric field. + /// Floating point numeric field. Float = 6, - /// Double precision numeric field. + /// Double precision numeric field. Double = 7, - /// Real value numeric field. + /// Real value numeric field. Decimal = 8, - /// Sequence of characters field. + /// Sequence of characters field. String = 9, - /// Sequence of bytes field. + /// Sequence of bytes field. Binary = 10, - /// Date and time field. + /// Date and time field. Timestamp = 11, - /// Date field. + /// Date field. Date = 12, - /// Time field. + /// Time field. Time = 13, - /// Structured field. Nested fields that define the structure of the map. - /// If all nested fields are nullable, this field represents a union. + /// Structured field. Nested fields that define the structure of the map. + /// If all nested fields are nullable, this field represents a union. Record = 14, - /// Null field that does not have values. + /// Null field that does not have values. Null = 100, } impl Type { @@ -2452,17 +2452,17 @@ pub mod schema { } } } - /// Additional qualifiers to define field semantics. + /// Additional qualifiers to define field semantics. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Mode { - /// Mode unspecified. + /// Mode unspecified. Unspecified = 0, - /// The field has required semantics. + /// The field has required semantics. Required = 1, - /// The field has optional semantics, and may be null. + /// The field has optional semantics, and may be null. Nullable = 2, - /// The field has repeated (0 or more) semantics, and is a list of values. + /// The field has repeated (0 or more) semantics, and is a list of values. Repeated = 3, } impl Mode { @@ -2479,15 +2479,15 @@ pub mod schema { } } } - /// The structure of paths within the entity, which represent partitions. + /// The structure of paths within the entity, which represent partitions. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PartitionStyle { - /// PartitionStyle unspecified + /// PartitionStyle unspecified Unspecified = 0, - /// Partitions are hive-compatible. - /// Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`, - /// `gs://bucket/path/to/table/dt=2019-10-31/lang=en/late`. + /// Partitions are hive-compatible. + /// Examples: `gs://bucket/path/to/table/dt=2019-10-31/lang=en`, + /// `gs://bucket/path/to/table/dt=2019-10-31/lang=en/late`. HiveCompatible = 1, } impl PartitionStyle { @@ -2503,96 +2503,96 @@ pub mod schema { } } } -/// Describes the format of the data within its storage location. +/// Describes the format of the data within its storage location. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StorageFormat { - /// Output only. The data format associated with the stored data, which represents - /// content type values. The value is inferred from mime type. + /// Output only. The data format associated with the stored data, which represents + /// content type values. The value is inferred from mime type. #[prost(enumeration="storage_format::Format", tag="1")] pub format: i32, - /// Optional. The compression type associated with the stored data. - /// If unspecified, the data is uncompressed. + /// Optional. The compression type associated with the stored data. + /// If unspecified, the data is uncompressed. #[prost(enumeration="storage_format::CompressionFormat", tag="2")] pub compression_format: i32, - /// Required. The mime type descriptor for the data. Must match the pattern - /// {type}/{subtype}. Supported values: + /// Required. The mime type descriptor for the data. Must match the pattern + /// {type}/{subtype}. Supported values: /// - /// - application/x-parquet - /// - application/x-avro - /// - application/x-orc - /// - application/x-tfrecord - /// - application/json - /// - application/{subtypes} - /// - text/csv - /// - text/ - /// - image/{image subtype} - /// - video/{video subtype} - /// - audio/{audio subtype} + /// - application/x-parquet + /// - application/x-avro + /// - application/x-orc + /// - application/x-tfrecord + /// - application/json + /// - application/{subtypes} + /// - text/csv + /// - text/ + /// - image/{image subtype} + /// - video/{video subtype} + /// - audio/{audio subtype} #[prost(string, tag="3")] pub mime_type: ::prost::alloc::string::String, - /// Additional format-specific options. + /// Additional format-specific options. #[prost(oneof="storage_format::Options", tags="10, 11")] pub options: ::core::option::Option, } /// Nested message and enum types in `StorageFormat`. pub mod storage_format { - /// Describes CSV and similar semi-structured data formats. + /// Describes CSV and similar semi-structured data formats. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CsvOptions { - /// Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and - /// "ISO-8859-1". Defaults to UTF-8 if unspecified. + /// Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8", and + /// "ISO-8859-1". Defaults to UTF-8 if unspecified. #[prost(string, tag="1")] pub encoding: ::prost::alloc::string::String, - /// Optional. The number of rows to interpret as header rows that should be skipped - /// when reading data rows. Defaults to 0. + /// Optional. The number of rows to interpret as header rows that should be skipped + /// when reading data rows. Defaults to 0. #[prost(int32, tag="2")] pub header_rows: i32, - /// Optional. The delimiter used to separate values. Defaults to ','. + /// Optional. The delimiter used to separate values. Defaults to ','. #[prost(string, tag="3")] pub delimiter: ::prost::alloc::string::String, - /// Optional. The character used to quote column values. Accepts '"' - /// (double quotation mark) or ''' (single quotation mark). Defaults to - /// '"' (double quotation mark) if unspecified. + /// Optional. The character used to quote column values. Accepts '"' + /// (double quotation mark) or ''' (single quotation mark). Defaults to + /// '"' (double quotation mark) if unspecified. #[prost(string, tag="4")] pub quote: ::prost::alloc::string::String, } - /// Describes JSON data format. + /// Describes JSON data format. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JsonOptions { - /// Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and - /// "ISO-8859-1". Defaults to UTF-8 if not specified. + /// Optional. The character encoding of the data. Accepts "US-ASCII", "UTF-8" and + /// "ISO-8859-1". Defaults to UTF-8 if not specified. #[prost(string, tag="1")] pub encoding: ::prost::alloc::string::String, } - /// The specific file format of the data. + /// The specific file format of the data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Format { - /// Format unspecified. + /// Format unspecified. Unspecified = 0, - /// Parquet-formatted structured data. + /// Parquet-formatted structured data. Parquet = 1, - /// Avro-formatted structured data. + /// Avro-formatted structured data. Avro = 2, - /// Orc-formatted structured data. + /// Orc-formatted structured data. Orc = 3, - /// Csv-formatted semi-structured data. + /// Csv-formatted semi-structured data. Csv = 100, - /// Json-formatted semi-structured data. + /// Json-formatted semi-structured data. Json = 101, - /// Image data formats (such as jpg and png). + /// Image data formats (such as jpg and png). Image = 200, - /// Audio data formats (such as mp3, and wav). + /// Audio data formats (such as mp3, and wav). Audio = 201, - /// Video data formats (such as mp4 and mpg). + /// Video data formats (such as mp4 and mpg). Video = 202, - /// Textual data formats (such as txt and xml). + /// Textual data formats (such as txt and xml). Text = 203, - /// TensorFlow record format. + /// TensorFlow record format. Tfrecord = 204, - /// Data that doesn't match a specific format. + /// Data that doesn't match a specific format. Other = 1000, - /// Data of an unknown format. + /// Data of an unknown format. Unknown = 1001, } impl Format { @@ -2618,15 +2618,15 @@ pub mod storage_format { } } } - /// The specific compressed file format of the data. + /// The specific compressed file format of the data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CompressionFormat { - /// CompressionFormat unspecified. Implies uncompressed data. + /// CompressionFormat unspecified. Implies uncompressed data. Unspecified = 0, - /// GZip compressed set of files. + /// GZip compressed set of files. Gzip = 2, - /// BZip2 compressed set of files. + /// BZip2 compressed set of files. Bzip2 = 3, } impl CompressionFormat { @@ -2642,26 +2642,26 @@ pub mod storage_format { } } } - /// Additional format-specific options. + /// Additional format-specific options. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Options { - /// Optional. Additional information about CSV formatted data. + /// Optional. Additional information about CSV formatted data. #[prost(message, tag="10")] Csv(CsvOptions), - /// Optional. Additional information about CSV formatted data. + /// Optional. Additional information about CSV formatted data. #[prost(message, tag="11")] Json(JsonOptions), } } -/// Identifies the cloud system that manages the data storage. +/// Identifies the cloud system that manages the data storage. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum StorageSystem { - /// Storage system unspecified. + /// Storage system unspecified. Unspecified = 0, - /// The entity data is contained within a Cloud Storage bucket. + /// The entity data is contained within a Cloud Storage bucket. CloudStorage = 1, - /// The entity data is contained within a BigQuery dataset. + /// The entity data is contained within a BigQuery dataset. Bigquery = 2, } impl StorageSystem { @@ -2930,186 +2930,186 @@ pub mod metadata_service_client { } } } -/// A task represents a user-visible job. +/// A task represents a user-visible job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Task { - /// Output only. The relative resource name of the task, of the form: - /// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ - /// tasks/{task_id}. + /// Output only. The relative resource name of the task, of the form: + /// projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ + /// tasks/{task_id}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the task. This ID will be - /// different if the task is deleted and re-created with the same name. + /// Output only. System generated globally unique ID for the task. This ID will be + /// different if the task is deleted and re-created with the same name. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Output only. The time when the task was created. + /// Output only. The time when the task was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the task was last updated. + /// Output only. The time when the task was last updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Description of the task. + /// Optional. Description of the task. #[prost(string, tag="5")] pub description: ::prost::alloc::string::String, - /// Optional. User friendly display name. + /// Optional. User friendly display name. #[prost(string, tag="6")] pub display_name: ::prost::alloc::string::String, - /// Output only. Current state of the task. + /// Output only. Current state of the task. #[prost(enumeration="State", tag="7")] pub state: i32, - /// Optional. User-defined labels for the task. + /// Optional. User-defined labels for the task. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Spec related to how often and when a task should be triggered. + /// Required. Spec related to how often and when a task should be triggered. #[prost(message, optional, tag="100")] pub trigger_spec: ::core::option::Option, - /// Required. Spec related to how a task is executed. + /// Required. Spec related to how a task is executed. #[prost(message, optional, tag="101")] pub execution_spec: ::core::option::Option, - /// Output only. Status of the latest task executions. + /// Output only. Status of the latest task executions. #[prost(message, optional, tag="201")] pub execution_status: ::core::option::Option, - /// Task template specific user-specified config. + /// Task template specific user-specified config. #[prost(oneof="task::Config", tags="300")] pub config: ::core::option::Option, } /// Nested message and enum types in `Task`. pub mod task { - /// Configuration for the underlying infrastructure used to run workloads. + /// Configuration for the underlying infrastructure used to run workloads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InfrastructureSpec { - /// Hardware config. + /// Hardware config. #[prost(oneof="infrastructure_spec::Resources", tags="52")] pub resources: ::core::option::Option, - /// Software config. + /// Software config. #[prost(oneof="infrastructure_spec::Runtime", tags="101")] pub runtime: ::core::option::Option, - /// Networking config. + /// Networking config. #[prost(oneof="infrastructure_spec::Network", tags="150")] pub network: ::core::option::Option, } /// Nested message and enum types in `InfrastructureSpec`. pub mod infrastructure_spec { - /// Batch compute resources associated with the task. + /// Batch compute resources associated with the task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchComputeResources { - /// Optional. Total number of job executors. - /// Executor Count should be between 2 and 100. \[Default=2\] + /// Optional. Total number of job executors. + /// Executor Count should be between 2 and 100. \[Default=2\] #[prost(int32, tag="1")] pub executors_count: i32, - /// Optional. Max configurable executors. - /// If max_executors_count > executors_count, then auto-scaling is enabled. - /// Max Executor Count should be between 2 and 1000. \[Default=1000\] + /// Optional. Max configurable executors. + /// If max_executors_count > executors_count, then auto-scaling is enabled. + /// Max Executor Count should be between 2 and 1000. \[Default=1000\] #[prost(int32, tag="2")] pub max_executors_count: i32, } - /// Container Image Runtime Configuration used with Batch execution. + /// Container Image Runtime Configuration used with Batch execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContainerImageRuntime { - /// Optional. Container image to use. + /// Optional. Container image to use. #[prost(string, tag="1")] pub image: ::prost::alloc::string::String, - /// Optional. A list of Java JARS to add to the classpath. - /// Valid input includes Cloud Storage URIs to Jar binaries. - /// For example, gs://bucket-name/my/path/to/file.jar + /// Optional. A list of Java JARS to add to the classpath. + /// Valid input includes Cloud Storage URIs to Jar binaries. + /// For example, gs://bucket-name/my/path/to/file.jar #[prost(string, repeated, tag="2")] pub java_jars: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A list of python packages to be installed. - /// Valid formats include Cloud Storage URI to a PIP installable library. - /// For example, gs://bucket-name/my/path/to/lib.tar.gz + /// Optional. A list of python packages to be installed. + /// Valid formats include Cloud Storage URI to a PIP installable library. + /// For example, gs://bucket-name/my/path/to/lib.tar.gz #[prost(string, repeated, tag="3")] pub python_packages: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Override to common configuration of open source components installed on - /// the Dataproc cluster. - /// The properties to set on daemon config files. - /// Property keys are specified in `prefix:property` format, for example - /// `core:hadoop.tmp.dir`. - /// For more information, see [Cluster - /// properties](). + /// Optional. Override to common configuration of open source components installed on + /// the Dataproc cluster. + /// The properties to set on daemon config files. + /// Property keys are specified in `prefix:property` format, for example + /// `core:hadoop.tmp.dir`. + /// For more information, see [Cluster + /// properties](). #[prost(map="string, string", tag="4")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } - /// Cloud VPC Network used to run the infrastructure. + /// Cloud VPC Network used to run the infrastructure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcNetwork { - /// Optional. List of network tags to apply to the job. + /// Optional. List of network tags to apply to the job. #[prost(string, repeated, tag="3")] pub network_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Cloud VPC network identifier. + /// The Cloud VPC network identifier. #[prost(oneof="vpc_network::NetworkName", tags="1, 2")] pub network_name: ::core::option::Option, } /// Nested message and enum types in `VpcNetwork`. pub mod vpc_network { - /// The Cloud VPC network identifier. + /// The Cloud VPC network identifier. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum NetworkName { - /// Optional. The Cloud VPC network in which the job is run. By default, the Cloud - /// VPC network named Default within the project is used. + /// Optional. The Cloud VPC network in which the job is run. By default, the Cloud + /// VPC network named Default within the project is used. #[prost(string, tag="1")] Network(::prost::alloc::string::String), - /// Optional. The Cloud VPC sub-network in which the job is run. + /// Optional. The Cloud VPC sub-network in which the job is run. #[prost(string, tag="2")] SubNetwork(::prost::alloc::string::String), } } - /// Hardware config. + /// Hardware config. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Resources { - /// Compute resources needed for a Task when using Dataproc Serverless. + /// Compute resources needed for a Task when using Dataproc Serverless. #[prost(message, tag="52")] Batch(BatchComputeResources), } - /// Software config. + /// Software config. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Runtime { - /// Container Image Runtime Configuration. + /// Container Image Runtime Configuration. #[prost(message, tag="101")] ContainerImage(ContainerImageRuntime), } - /// Networking config. + /// Networking config. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Network { - /// Vpc network. + /// Vpc network. #[prost(message, tag="150")] VpcNetwork(VpcNetwork), } } - /// Task scheduling and trigger settings. + /// Task scheduling and trigger settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TriggerSpec { - /// Required. Immutable. Trigger type of the user-specified Task. + /// Required. Immutable. Trigger type of the user-specified Task. #[prost(enumeration="trigger_spec::Type", tag="5")] pub r#type: i32, - /// Optional. The first run of the task will be after this time. - /// If not specified, the task will run shortly after being submitted if - /// ON_DEMAND and based on the schedule if RECURRING. + /// Optional. The first run of the task will be after this time. + /// If not specified, the task will run shortly after being submitted if + /// ON_DEMAND and based on the schedule if RECURRING. #[prost(message, optional, tag="6")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. Prevent the task from executing. - /// This does not cancel already running tasks. It is intended to temporarily - /// disable RECURRING tasks. + /// Optional. Prevent the task from executing. + /// This does not cancel already running tasks. It is intended to temporarily + /// disable RECURRING tasks. #[prost(bool, tag="4")] pub disabled: bool, - /// Optional. Number of retry attempts before aborting. - /// Set to zero to never attempt to retry a failed task. + /// Optional. Number of retry attempts before aborting. + /// Set to zero to never attempt to retry a failed task. #[prost(int32, tag="7")] pub max_retries: i32, - /// Trigger only applies for RECURRING tasks. + /// Trigger only applies for RECURRING tasks. #[prost(oneof="trigger_spec::Trigger", tags="100")] pub trigger: ::core::option::Option, } /// Nested message and enum types in `TriggerSpec`. pub mod trigger_spec { - /// Determines how often and when the job will run. + /// Determines how often and when the job will run. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Unspecified trigger type. + /// Unspecified trigger type. Unspecified = 0, - /// The task runs one-time shortly after Task Creation. + /// The task runs one-time shortly after Task Creation. OnDemand = 1, - /// The task is scheduled to run periodically. + /// The task is scheduled to run periodically. Recurring = 2, } impl Type { @@ -3125,162 +3125,162 @@ pub mod task { } } } - /// Trigger only applies for RECURRING tasks. + /// Trigger only applies for RECURRING tasks. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Trigger { - /// Optional. Cron schedule () for running - /// tasks periodically. - /// To explicitly set a timezone to the cron tab, apply a prefix in the - /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". - /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone - /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or - /// "TZ=America/New_York 1 * * * *". - /// This field is required for RECURRING tasks. + /// Optional. Cron schedule () for running + /// tasks periodically. + /// To explicitly set a timezone to the cron tab, apply a prefix in the + /// cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or "TZ=${IANA_TIME_ZONE}". + /// The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone + /// database. For example, "CRON_TZ=America/New_York 1 * * * *", or + /// "TZ=America/New_York 1 * * * *". + /// This field is required for RECURRING tasks. #[prost(string, tag="100")] Schedule(::prost::alloc::string::String), } } - /// Execution related settings, like retry and service_account. + /// Execution related settings, like retry and service_account. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionSpec { - /// Optional. The arguments to pass to the task. - /// The args can use placeholders of the format ${placeholder} as - /// part of key/value string. These will be interpolated before passing the - /// args to the driver. Currently supported placeholders: - /// - ${task_id} - /// - ${job_time} - /// To pass positional args, set the key as TASK_ARGS. The value should be a - /// comma-separated string of all the positional arguments. To use a - /// delimiter other than comma, refer to - /// In case of - /// other keys being present in the args, then TASK_ARGS will be passed as - /// the last argument. + /// Optional. The arguments to pass to the task. + /// The args can use placeholders of the format ${placeholder} as + /// part of key/value string. These will be interpolated before passing the + /// args to the driver. Currently supported placeholders: + /// - ${task_id} + /// - ${job_time} + /// To pass positional args, set the key as TASK_ARGS. The value should be a + /// comma-separated string of all the positional arguments. To use a + /// delimiter other than comma, refer to + /// In case of + /// other keys being present in the args, then TASK_ARGS will be passed as + /// the last argument. #[prost(map="string, string", tag="4")] pub args: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Service account to use to execute a task. - /// If not provided, the default Compute service account for the project is - /// used. + /// Required. Service account to use to execute a task. + /// If not provided, the default Compute service account for the project is + /// used. #[prost(string, tag="5")] pub service_account: ::prost::alloc::string::String, - /// Optional. The project in which jobs are run. By default, the project containing the - /// Lake is used. If a project is provided, the - /// \[ExecutionSpec.service_account][google.cloud.dataplex.v1.Task.ExecutionSpec.service_account\] must belong to this project. + /// Optional. The project in which jobs are run. By default, the project containing the + /// Lake is used. If a project is provided, the + /// \[ExecutionSpec.service_account][google.cloud.dataplex.v1.Task.ExecutionSpec.service_account\] must belong to this project. #[prost(string, tag="7")] pub project: ::prost::alloc::string::String, - /// Optional. The maximum duration after which the job execution is expired. + /// Optional. The maximum duration after which the job execution is expired. #[prost(message, optional, tag="8")] pub max_job_execution_lifetime: ::core::option::Option<::prost_types::Duration>, - /// Optional. The Cloud KMS key to use for encryption, of the form: - /// `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`. + /// Optional. The Cloud KMS key to use for encryption, of the form: + /// `projects/{project_number}/locations/{location_id}/keyRings/{key-ring-name}/cryptoKeys/{key-name}`. #[prost(string, tag="9")] pub kms_key: ::prost::alloc::string::String, } - /// User-specified config for running a Spark task. + /// User-specified config for running a Spark task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkTaskConfig { - /// Optional. Cloud Storage URIs of files to be placed in the working directory of each - /// executor. + /// Optional. Cloud Storage URIs of files to be placed in the working directory of each + /// executor. #[prost(string, repeated, tag="3")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Cloud Storage URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and - /// .zip. + /// Optional. Cloud Storage URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and + /// .zip. #[prost(string, repeated, tag="4")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Infrastructure specification for the execution. + /// Optional. Infrastructure specification for the execution. #[prost(message, optional, tag="6")] pub infrastructure_spec: ::core::option::Option, - /// Required. The specification of the main method to call to drive the - /// job. Specify either the jar file that contains the main class or the - /// main class name. + /// Required. The specification of the main method to call to drive the + /// job. Specify either the jar file that contains the main class or the + /// main class name. #[prost(oneof="spark_task_config::Driver", tags="100, 101, 102, 104, 105")] pub driver: ::core::option::Option, } /// Nested message and enum types in `SparkTaskConfig`. pub mod spark_task_config { - /// Required. The specification of the main method to call to drive the - /// job. Specify either the jar file that contains the main class or the - /// main class name. + /// Required. The specification of the main method to call to drive the + /// job. Specify either the jar file that contains the main class or the + /// main class name. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Driver { - /// The Cloud Storage URI of the jar file that contains the main class. - /// The execution args are passed in as a sequence of named process - /// arguments (`--key=value`). + /// The Cloud Storage URI of the jar file that contains the main class. + /// The execution args are passed in as a sequence of named process + /// arguments (`--key=value`). #[prost(string, tag="100")] MainJarFileUri(::prost::alloc::string::String), - /// The name of the driver's main class. The jar file that contains the - /// class must be in the default CLASSPATH or specified in - /// `jar_file_uris`. - /// The execution args are passed in as a sequence of named process - /// arguments (`--key=value`). + /// The name of the driver's main class. The jar file that contains the + /// class must be in the default CLASSPATH or specified in + /// `jar_file_uris`. + /// The execution args are passed in as a sequence of named process + /// arguments (`--key=value`). #[prost(string, tag="101")] MainClass(::prost::alloc::string::String), - /// The Gcloud Storage URI of the main Python file to use as the driver. - /// Must be a .py file. The execution args are passed in as a sequence of - /// named process arguments (`--key=value`). + /// The Gcloud Storage URI of the main Python file to use as the driver. + /// Must be a .py file. The execution args are passed in as a sequence of + /// named process arguments (`--key=value`). #[prost(string, tag="102")] PythonScriptFile(::prost::alloc::string::String), - /// A reference to a query file. This can be the Cloud Storage URI of the - /// query file or it can the path to a SqlScript Content. The execution - /// args are used to declare a set of script variables - /// (`set key="value";`). + /// A reference to a query file. This can be the Cloud Storage URI of the + /// query file or it can the path to a SqlScript Content. The execution + /// args are used to declare a set of script variables + /// (`set key="value";`). #[prost(string, tag="104")] SqlScriptFile(::prost::alloc::string::String), - /// The query text. - /// The execution args are used to declare a set of script variables - /// (`set key="value";`). + /// The query text. + /// The execution args are used to declare a set of script variables + /// (`set key="value";`). #[prost(string, tag="105")] SqlScript(::prost::alloc::string::String), } } - /// Status of the task execution (e.g. Jobs). + /// Status of the task execution (e.g. Jobs). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionStatus { - /// Output only. Last update time of the status. + /// Output only. Last update time of the status. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. latest job execution + /// Output only. latest job execution #[prost(message, optional, tag="9")] pub latest_job: ::core::option::Option, } - /// Task template specific user-specified config. + /// Task template specific user-specified config. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Config related to running custom Spark tasks. + /// Config related to running custom Spark tasks. #[prost(message, tag="300")] Spark(SparkTaskConfig), } } -/// A job represents an instance of a task. +/// A job represents an instance of a task. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Output only. The relative resource name of the job, of the form: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`. + /// Output only. The relative resource name of the job, of the form: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. System generated globally unique ID for the job. + /// Output only. System generated globally unique ID for the job. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Output only. The time when the job was started. + /// Output only. The time when the job was started. #[prost(message, optional, tag="3")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time when the job ended. + /// Output only. The time when the job ended. #[prost(message, optional, tag="4")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Execution state for the job. + /// Output only. Execution state for the job. #[prost(enumeration="job::State", tag="5")] pub state: i32, - /// Output only. The number of times the job has been retried (excluding the - /// initial attempt). + /// Output only. The number of times the job has been retried (excluding the + /// initial attempt). #[prost(uint32, tag="6")] pub retry_count: u32, - /// Output only. The underlying service running a job. + /// Output only. The underlying service running a job. #[prost(enumeration="job::Service", tag="7")] pub service: i32, - /// Output only. The full resource name for the job run under a particular service. + /// Output only. The full resource name for the job run under a particular service. #[prost(string, tag="8")] pub service_job: ::prost::alloc::string::String, - /// Output only. Additional information about the current state. + /// Output only. Additional information about the current state. #[prost(string, tag="9")] pub message: ::prost::alloc::string::String, } @@ -3289,9 +3289,9 @@ pub mod job { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Service { - /// Service used to run the job is unspecified. + /// Service used to run the job is unspecified. Unspecified = 0, - /// Dataproc service is used to run this job. + /// Dataproc service is used to run this job. Dataproc = 1, } impl Service { @@ -3309,19 +3309,19 @@ pub mod job { #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The job state is unknown. + /// The job state is unknown. Unspecified = 0, - /// The job is running. + /// The job is running. Running = 1, - /// The job is cancelling. + /// The job is cancelling. Cancelling = 2, - /// The job cancellation was successful. + /// The job cancellation was successful. Cancelled = 3, - /// The job completed successfully. + /// The job completed successfully. Succeeded = 4, - /// The job is no longer running due to an error. + /// The job is no longer running due to an error. Failed = 5, - /// The job was cancelled outside of Dataplex. + /// The job was cancelled outside of Dataplex. Aborted = 6, } impl State { @@ -3342,643 +3342,643 @@ pub mod job { } } } -/// Create lake request. +/// Create lake request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateLakeRequest { - /// Required. The resource name of the lake location, of the form: - /// projects/{project_number}/locations/{location_id} - /// where `location_id` refers to a GCP region. + /// Required. The resource name of the lake location, of the form: + /// projects/{project_number}/locations/{location_id} + /// where `location_id` refers to a GCP region. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Lake identifier. - /// This ID will be used to generate names such as database and dataset names - /// when publishing metadata to Hive Metastore and BigQuery. - /// * Must contain only lowercase letters, numbers and hyphens. - /// * Must start with a letter. - /// * Must end with a number or a letter. - /// * Must be between 1-63 characters. - /// * Must be unique within the customer project / location. + /// Required. Lake identifier. + /// This ID will be used to generate names such as database and dataset names + /// when publishing metadata to Hive Metastore and BigQuery. + /// * Must contain only lowercase letters, numbers and hyphens. + /// * Must start with a letter. + /// * Must end with a number or a letter. + /// * Must be between 1-63 characters. + /// * Must be unique within the customer project / location. #[prost(string, tag="2")] pub lake_id: ::prost::alloc::string::String, - /// Required. Lake resource + /// Required. Lake resource #[prost(message, optional, tag="3")] pub lake: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update lake request. +/// Update lake request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateLakeRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub lake: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete lake request. +/// Delete lake request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteLakeRequest { - /// Required. The resource name of the lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List lakes request. +/// List lakes request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLakesRequest { - /// Required. The resource name of the lake location, of the form: - /// `projects/{project_number}/locations/{location_id}` - /// where `location_id` refers to a GCP region. + /// Required. The resource name of the lake location, of the form: + /// `projects/{project_number}/locations/{location_id}` + /// where `location_id` refers to a GCP region. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of Lakes to return. The service may return fewer than this - /// value. If unspecified, at most 10 lakes will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of Lakes to return. The service may return fewer than this + /// value. If unspecified, at most 10 lakes will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListLakes` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListLakes` must match the call that provided the page token. + /// Optional. Page token received from a previous `ListLakes` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListLakes` must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. + /// Optional. Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Order by fields for the result. + /// Optional. Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// List lakes response. +/// List lakes response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLakesResponse { - /// Lakes under the given parent location. + /// Lakes under the given parent location. #[prost(message, repeated, tag="1")] pub lakes: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// List lake actions request. +/// List lake actions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListLakeActionsRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of actions to return. The service may return fewer than this - /// value. If unspecified, at most 10 actions will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of actions to return. The service may return fewer than this + /// value. If unspecified, at most 10 actions will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListLakeActions` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListLakeActions` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListLakeActions` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListLakeActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// List actions response. +/// List actions response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListActionsResponse { - /// Actions under the given parent lake/zone/asset. + /// Actions under the given parent lake/zone/asset. #[prost(message, repeated, tag="1")] pub actions: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Get lake request. +/// Get lake request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetLakeRequest { - /// Required. The resource name of the lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Create zone request. +/// Create zone request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateZoneRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Zone identifier. - /// This ID will be used to generate names such as database and dataset names - /// when publishing metadata to Hive Metastore and BigQuery. - /// * Must contain only lowercase letters, numbers and hyphens. - /// * Must start with a letter. - /// * Must end with a number or a letter. - /// * Must be between 1-63 characters. - /// * Must be unique across all lakes from all locations in a project. - /// * Must not be one of the reserved IDs (i.e. "default", "global-temp") + /// Required. Zone identifier. + /// This ID will be used to generate names such as database and dataset names + /// when publishing metadata to Hive Metastore and BigQuery. + /// * Must contain only lowercase letters, numbers and hyphens. + /// * Must start with a letter. + /// * Must end with a number or a letter. + /// * Must be between 1-63 characters. + /// * Must be unique across all lakes from all locations in a project. + /// * Must not be one of the reserved IDs (i.e. "default", "global-temp") #[prost(string, tag="2")] pub zone_id: ::prost::alloc::string::String, - /// Required. Zone resource. + /// Required. Zone resource. #[prost(message, optional, tag="3")] pub zone: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update zone request. +/// Update zone request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateZoneRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub zone: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete zone request. +/// Delete zone request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteZoneRequest { - /// Required. The resource name of the zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List zones request. +/// List zones request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListZonesRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of zones to return. The service may return fewer than this - /// value. If unspecified, at most 10 zones will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of zones to return. The service may return fewer than this + /// value. If unspecified, at most 10 zones will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListZones` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListZones` must match the call that provided the page token. + /// Optional. Page token received from a previous `ListZones` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListZones` must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. + /// Optional. Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Order by fields for the result. + /// Optional. Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// List zones response. +/// List zones response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListZonesResponse { - /// Zones under the given parent lake. + /// Zones under the given parent lake. #[prost(message, repeated, tag="1")] pub zones: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// List zone actions request. +/// List zone actions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListZoneActionsRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of actions to return. The service may return fewer than this - /// value. If unspecified, at most 10 actions will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of actions to return. The service may return fewer than this + /// value. If unspecified, at most 10 actions will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListZoneActions` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListZoneActions` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListZoneActions` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListZoneActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Get zone request. +/// Get zone request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetZoneRequest { - /// Required. The resource name of the zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Create asset request. +/// Create asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAssetRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Asset identifier. - /// This ID will be used to generate names such as table names when publishing - /// metadata to Hive Metastore and BigQuery. - /// * Must contain only lowercase letters, numbers and hyphens. - /// * Must start with a letter. - /// * Must end with a number or a letter. - /// * Must be between 1-63 characters. - /// * Must be unique within the zone. + /// Required. Asset identifier. + /// This ID will be used to generate names such as table names when publishing + /// metadata to Hive Metastore and BigQuery. + /// * Must contain only lowercase letters, numbers and hyphens. + /// * Must start with a letter. + /// * Must end with a number or a letter. + /// * Must be between 1-63 characters. + /// * Must be unique within the zone. #[prost(string, tag="2")] pub asset_id: ::prost::alloc::string::String, - /// Required. Asset resource. + /// Required. Asset resource. #[prost(message, optional, tag="3")] pub asset: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update asset request. +/// Update asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAssetRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub asset: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete asset request. +/// Delete asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAssetRequest { - /// Required. The resource name of the asset: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. + /// Required. The resource name of the asset: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List assets request. +/// List assets request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsRequest { - /// Required. The resource name of the parent zone: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. + /// Required. The resource name of the parent zone: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of asset to return. The service may return fewer than - /// this value. If unspecified, at most 10 assets will be returned. The - /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of asset to return. The service may return fewer than + /// this value. If unspecified, at most 10 assets will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListAssets` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListAssets` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListAssets` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListAssets` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. + /// Optional. Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Order by fields for the result. + /// Optional. Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// List assets response. +/// List assets response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetsResponse { - /// Asset under the given parent zone. + /// Asset under the given parent zone. #[prost(message, repeated, tag="1")] pub assets: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// List asset actions request. +/// List asset actions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAssetActionsRequest { - /// Required. The resource name of the parent asset: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. + /// Required. The resource name of the parent asset: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of actions to return. The service may return fewer than this - /// value. If unspecified, at most 10 actions will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of actions to return. The service may return fewer than this + /// value. If unspecified, at most 10 actions will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListAssetActions` call. Provide this - /// to retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListAssetActions` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListAssetActions` call. Provide this + /// to retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListAssetActions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Get asset request. +/// Get asset request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAssetRequest { - /// Required. The resource name of the asset: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. + /// Required. The resource name of the asset: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}/assets/{asset_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the metadata of a long-running operation. +/// Represents the metadata of a long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// Create task request. +/// Create task request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTaskRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Task identifier. + /// Required. Task identifier. #[prost(string, tag="2")] pub task_id: ::prost::alloc::string::String, - /// Required. Task resource. + /// Required. Task resource. #[prost(message, optional, tag="3")] pub task: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update task request. +/// Update task request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTaskRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub task: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete task request. +/// Delete task request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTaskRequest { - /// Required. The resource name of the task: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`. + /// Required. The resource name of the task: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List tasks request. +/// List tasks request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of tasks to return. The service may return fewer than this - /// value. If unspecified, at most 10 tasks will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of tasks to return. The service may return fewer than this + /// value. If unspecified, at most 10 tasks will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListZones` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListZones` must match the call that provided the page token. + /// Optional. Page token received from a previous `ListZones` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListZones` must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. + /// Optional. Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Order by fields for the result. + /// Optional. Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// List tasks response. +/// List tasks response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTasksResponse { - /// Tasks under the given parent lake. + /// Tasks under the given parent lake. #[prost(message, repeated, tag="1")] pub tasks: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable_locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Get task request. +/// Get task request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTaskRequest { - /// Required. The resource name of the task: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`. + /// Required. The resource name of the task: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{tasks_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Get job request. +/// Get job request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetJobRequest { - /// Required. The resource name of the job: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`. + /// Required. The resource name of the job: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}/jobs/{job_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List jobs request. +/// List jobs request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsRequest { - /// Required. The resource name of the parent environment: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`. + /// Required. The resource name of the parent environment: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/tasks/{task_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of jobs to return. The service may return fewer than - /// this value. If unspecified, at most 10 jobs will be returned. The - /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of jobs to return. The service may return fewer than + /// this value. If unspecified, at most 10 jobs will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListJobs` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListJobs` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListJobs` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListJobs` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// List jobs response. +/// List jobs response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsResponse { - /// Jobs under a given task. + /// Jobs under a given task. #[prost(message, repeated, tag="1")] pub jobs: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Cancel task jobs. +/// Cancel task jobs. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelJobRequest { - /// Required. The resource name of the job: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`. + /// Required. The resource name of the job: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/task/{task_id}/job/{job_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Create environment request. +/// Create environment request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEnvironmentRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Environment identifier. - /// * Must contain only lowercase letters, numbers and hyphens. - /// * Must start with a letter. - /// * Must be between 1-63 characters. - /// * Must end with a number or a letter. - /// * Must be unique within the lake. + /// Required. Environment identifier. + /// * Must contain only lowercase letters, numbers and hyphens. + /// * Must start with a letter. + /// * Must be between 1-63 characters. + /// * Must end with a number or a letter. + /// * Must be unique within the lake. #[prost(string, tag="2")] pub environment_id: ::prost::alloc::string::String, - /// Required. Environment resource. + /// Required. Environment resource. #[prost(message, optional, tag="3")] pub environment: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, } -/// Update environment request. +/// Update environment request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEnvironmentRequest { - /// Required. Mask of fields to update. + /// Required. Mask of fields to update. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. Update description. - /// Only fields specified in `update_mask` are updated. + /// Required. Update description. + /// Only fields specified in `update_mask` are updated. #[prost(message, optional, tag="2")] pub environment: ::core::option::Option, - /// Optional. Only validate the request, but do not perform mutations. - /// The default is false. + /// Optional. Only validate the request, but do not perform mutations. + /// The default is false. #[prost(bool, tag="3")] pub validate_only: bool, } -/// Delete environment request. +/// Delete environment request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEnvironmentRequest { - /// Required. The resource name of the environment: - /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. + /// Required. The resource name of the environment: + /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List environments request. +/// List environments request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEnvironmentsRequest { - /// Required. The resource name of the parent lake: - /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. + /// Required. The resource name of the parent lake: + /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of environments to return. The service may return fewer than - /// this value. If unspecified, at most 10 environments will be returned. The - /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of environments to return. The service may return fewer than + /// this value. If unspecified, at most 10 environments will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListEnvironments` call. Provide this - /// to retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListEnvironments` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListEnvironments` call. Provide this + /// to retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListEnvironments` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. + /// Optional. Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Order by fields for the result. + /// Optional. Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// List environments response. +/// List environments response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEnvironmentsResponse { - /// Environments under the given parent lake. + /// Environments under the given parent lake. #[prost(message, repeated, tag="1")] pub environments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Get environment request. +/// Get environment request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEnvironmentRequest { - /// Required. The resource name of the environment: - /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. + /// Required. The resource name of the environment: + /// `projects/{project_id}/locations/{location_id}/lakes/{lake_id}/environments/{environment_id}`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// List sessions request. +/// List sessions request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsRequest { - /// Required. The resource name of the parent environment: - /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`. + /// Required. The resource name of the parent environment: + /// `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/environment/{environment_id}`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. Maximum number of sessions to return. The service may return fewer than - /// this value. If unspecified, at most 10 sessions will be returned. The - /// maximum value is 1000; values above 1000 will be coerced to 1000. + /// Optional. Maximum number of sessions to return. The service may return fewer than + /// this value. If unspecified, at most 10 sessions will be returned. The + /// maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. Page token received from a previous `ListSessions` call. Provide this to - /// retrieve the subsequent page. When paginating, all other parameters - /// provided to `ListSessions` must match the call that provided the page - /// token. + /// Optional. Page token received from a previous `ListSessions` call. Provide this to + /// retrieve the subsequent page. When paginating, all other parameters + /// provided to `ListSessions` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter request. The following `mode` filter is supported to return only the - /// sessions belonging to the requester when the mode is USER and return - /// sessions of all the users when the mode is ADMIN. When no filter is sent - /// default to USER mode. - /// NOTE: When the mode is ADMIN, the requester should have - /// `dataplex.environments.listAllSessions` permission to list all sessions, - /// in absence of the permission, the request fails. + /// Optional. Filter request. The following `mode` filter is supported to return only the + /// sessions belonging to the requester when the mode is USER and return + /// sessions of all the users when the mode is ADMIN. When no filter is sent + /// default to USER mode. + /// NOTE: When the mode is ADMIN, the requester should have + /// `dataplex.environments.listAllSessions` permission to list all sessions, + /// in absence of the permission, the request fails. /// - /// mode = ADMIN | USER + /// mode = ADMIN | USER #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// List sessions response. +/// List sessions response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionsResponse { - /// Sessions under a given environment. + /// Sessions under a given environment. #[prost(message, repeated, tag="1")] pub sessions: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.dataproc.logging.rs b/gcloud-sdk/genproto/google.cloud.dataproc.logging.rs index 5ea7a6640..9642a1646 100644 --- a/gcloud-sdk/genproto/google.cloud.dataproc.logging.rs +++ b/gcloud-sdk/genproto/google.cloud.dataproc.logging.rs @@ -1,114 +1,114 @@ -/// The short version of cluster configuration for Cloud logging. +/// The short version of cluster configuration for Cloud logging. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterSize { - /// The number of primary workers in the cluster. + /// The number of primary workers in the cluster. #[prost(int32, tag="1")] pub primary_worker_count: i32, - /// The number of secondary workers in the cluster. + /// The number of secondary workers in the cluster. #[prost(int32, tag="2")] pub secondary_worker_count: i32, } -/// The main proto that will be converted to JSON format and then written to -/// Logging. +/// The main proto that will be converted to JSON format and then written to +/// Logging. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerLog { - /// The current Autoscaler status. + /// The current Autoscaler status. #[prost(message, optional, tag="1")] pub status: ::core::option::Option, - /// Optional. The autoscaling recommendation including its inputs, outputs, - /// scaling decision, and detailed explanation. + /// Optional. The autoscaling recommendation including its inputs, outputs, + /// scaling decision, and detailed explanation. #[prost(message, optional, tag="2")] pub recommendation: ::core::option::Option, } -/// The Autoscaler's status, including its state and other details. +/// The Autoscaler's status, including its state and other details. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerStatus { - /// The high-level Autoscaler state. + /// The high-level Autoscaler state. #[prost(enumeration="AutoscalerState", tag="1")] pub state: i32, - /// The detailed description of Autoscaler status. + /// The detailed description of Autoscaler status. #[prost(string, tag="2")] pub details: ::prost::alloc::string::String, - /// The cluster update operation ID. + /// The cluster update operation ID. #[prost(string, tag="3")] pub update_cluster_operation_id: ::prost::alloc::string::String, - /// Error message from an Autoscaler exception, if any. + /// Error message from an Autoscaler exception, if any. #[prost(string, tag="4")] pub error: ::prost::alloc::string::String, } -/// The inputs, outputs, and detailed explanation of the Autoscaling -/// recommendation. +/// The inputs, outputs, and detailed explanation of the Autoscaling +/// recommendation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalerRecommendation { - /// The autoscaling algorithm inputs. + /// The autoscaling algorithm inputs. #[prost(message, optional, tag="1")] pub inputs: ::core::option::Option, - /// The algorithm outputs for the recommended cluster size. + /// The algorithm outputs for the recommended cluster size. #[prost(message, optional, tag="2")] pub outputs: ::core::option::Option, } /// Nested message and enum types in `AutoscalerRecommendation`. pub mod autoscaler_recommendation { - /// The input values for the Autoscaling recommendation alogirthm. + /// The input values for the Autoscaling recommendation alogirthm. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Inputs { - /// The metrics collected by the Dataproc agent running on the cluster. - /// For example, {"avg-yarn-pending-memory": "1040 MB"} + /// The metrics collected by the Dataproc agent running on the cluster. + /// For example, {"avg-yarn-pending-memory": "1040 MB"} #[prost(map="string, string", tag="1")] pub cluster_metrics: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The cluster configuration before updating the cluster. + /// The cluster configuration before updating the cluster. #[prost(message, optional, tag="2")] pub current_cluster_size: ::core::option::Option, - /// The minimum worker counts for each instance group. + /// The minimum worker counts for each instance group. #[prost(message, optional, tag="3")] pub min_worker_counts: ::core::option::Option, - /// The maximum worker counts for each instance group. + /// The maximum worker counts for each instance group. #[prost(message, optional, tag="4")] pub max_worker_counts: ::core::option::Option, } - /// Autoscaler recommendations. + /// Autoscaler recommendations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Outputs { - /// The high-level autoscaling decision, such as SCALE_UP, SCALE_DOWN, - /// NO_OP. + /// The high-level autoscaling decision, such as SCALE_UP, SCALE_DOWN, + /// NO_OP. #[prost(enumeration="super::ScalingDecisionType", tag="1")] pub decision: i32, - /// The recommended cluster size. + /// The recommended cluster size. #[prost(message, optional, tag="2")] pub recommended_cluster_size: ::core::option::Option, - /// The graceful decommission timeout for downscaling operations. + /// The graceful decommission timeout for downscaling operations. #[prost(message, optional, tag="3")] pub graceful_decommission_timeout: ::core::option::Option<::prost_types::Duration>, - /// Reasons why the Autoscaler didn't add or remove more workers. + /// Reasons why the Autoscaler didn't add or remove more workers. #[prost(enumeration="super::ConstrainingFactor", repeated, tag="4")] pub constraints_reached: ::prost::alloc::vec::Vec, - /// Less significant recommendations that are not included in the - /// `AutoscalerStatus.details` message. + /// Less significant recommendations that are not included in the + /// `AutoscalerStatus.details` message. #[prost(string, repeated, tag="5")] pub additional_recommendation_details: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A unique id for this recommendation that should be included when opening - /// a support ticket. + /// A unique id for this recommendation that should be included when opening + /// a support ticket. #[prost(string, tag="6")] pub recommendation_id: ::prost::alloc::string::String, } } -/// The Autoscaler state. +/// The Autoscaler state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AutoscalerState { Unspecified = 0, - /// The Autoscaler is sleeping and waiting for the next update. + /// The Autoscaler is sleeping and waiting for the next update. Cooldown = 1, - /// The Autoscaler is in the process of calculating its recommendation on - /// whether to scale the cluster, and if so, how to autoscale. + /// The Autoscaler is in the process of calculating its recommendation on + /// whether to scale the cluster, and if so, how to autoscale. Recommending = 6, - /// The Autoscaler is scaling the cluster. + /// The Autoscaler is scaling the cluster. Scaling = 2, - /// The Autoscaler has stopped. + /// The Autoscaler has stopped. Stopped = 3, - /// The Autoscaler has failed. + /// The Autoscaler has failed. Failed = 4, - /// The Autoscaler is initializing. + /// The Autoscaler is initializing. Initializing = 5, } impl AutoscalerState { @@ -128,18 +128,18 @@ impl AutoscalerState { } } } -/// The Autoscaling decision type. +/// The Autoscaling decision type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ScalingDecisionType { Unspecified = 0, - /// Increase the number of primary and/or secondary workers. + /// Increase the number of primary and/or secondary workers. ScaleUp = 1, - /// Decrease the number of primary and/or secondary workers. + /// Decrease the number of primary and/or secondary workers. ScaleDown = 2, - /// Not changing the number of primary or secondary workers. + /// Not changing the number of primary or secondary workers. NoScale = 3, - /// Scale the primary and secondary worker groups in different directions. + /// Scale the primary and secondary worker groups in different directions. Mixed = 4, } impl ScalingDecisionType { @@ -161,16 +161,16 @@ impl ScalingDecisionType { #[repr(i32)] pub enum ConstrainingFactor { Unspecified = 0, - /// The project does not have sufficient regional, global, and or preemptible - /// quota to allocate a new VM. + /// The project does not have sufficient regional, global, and or preemptible + /// quota to allocate a new VM. ScalingCappedDueToLackOfQuota = 1, - /// All worker groups have reached maximum size. This message will not be - /// issued if one group reached maximum size, but workers were able to be - /// allocated to another group. + /// All worker groups have reached maximum size. This message will not be + /// issued if one group reached maximum size, but workers were able to be + /// allocated to another group. ReachedMaximumClusterSize = 2, - /// All worker groups have reached minimum size. This message will not be - /// issued if workers were able to be removed from another group that had not - /// reached minimum size. + /// All worker groups have reached minimum size. This message will not be + /// issued if workers were able to be removed from another group that had not + /// reached minimum size. ReachedMinimumClusterSize = 3, } impl ConstrainingFactor { diff --git a/gcloud-sdk/genproto/google.cloud.dataproc.v1.rs b/gcloud-sdk/genproto/google.cloud.dataproc.v1.rs index 1bee9e04d..d79e8cc3a 100644 --- a/gcloud-sdk/genproto/google.cloud.dataproc.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.dataproc.v1.rs @@ -1,61 +1,61 @@ -/// Describes an autoscaling policy for Dataproc cluster autoscaler. +/// Describes an autoscaling policy for Dataproc cluster autoscaler. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingPolicy { - /// Required. The policy id. + /// Required. The policy id. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). Cannot begin or end with underscore - /// or hyphen. Must consist of between 3 and 50 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). Cannot begin or end with underscore + /// or hyphen. Must consist of between 3 and 50 characters. /// #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Output only. The "resource name" of the autoscaling policy, as described - /// in + /// Output only. The "resource name" of the autoscaling policy, as described + /// in /// - /// * For `projects.regions.autoscalingPolicies`, the resource name of the + /// * For `projects.regions.autoscalingPolicies`, the resource name of the /// policy has the following format: /// `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` /// - /// * For `projects.locations.autoscalingPolicies`, the resource name of the + /// * For `projects.locations.autoscalingPolicies`, the resource name of the /// policy has the following format: /// `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` #[prost(string, tag="2")] pub name: ::prost::alloc::string::String, - /// Required. Describes how the autoscaler will operate for primary workers. + /// Required. Describes how the autoscaler will operate for primary workers. #[prost(message, optional, tag="4")] pub worker_config: ::core::option::Option, - /// Optional. Describes how the autoscaler will operate for secondary workers. + /// Optional. Describes how the autoscaler will operate for secondary workers. #[prost(message, optional, tag="5")] pub secondary_worker_config: ::core::option::Option, - /// Optional. The labels to associate with this autoscaling policy. - /// Label **keys** must contain 1 to 63 characters, and must conform to - /// [RFC 1035](). - /// Label **values** may be empty, but, if present, must contain 1 to 63 - /// characters, and must conform to [RFC - /// 1035](). No more than 32 labels can be - /// associated with an autoscaling policy. + /// Optional. The labels to associate with this autoscaling policy. + /// Label **keys** must contain 1 to 63 characters, and must conform to + /// [RFC 1035](). + /// Label **values** may be empty, but, if present, must contain 1 to 63 + /// characters, and must conform to [RFC + /// 1035](). No more than 32 labels can be + /// associated with an autoscaling policy. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Autoscaling algorithm for policy. + /// Autoscaling algorithm for policy. #[prost(oneof="autoscaling_policy::Algorithm", tags="3")] pub algorithm: ::core::option::Option, } /// Nested message and enum types in `AutoscalingPolicy`. pub mod autoscaling_policy { - /// Autoscaling algorithm for policy. + /// Autoscaling algorithm for policy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Algorithm { #[prost(message, tag="3")] BasicAlgorithm(super::BasicAutoscalingAlgorithm), } } -/// Basic algorithm for autoscaling. +/// Basic algorithm for autoscaling. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicAutoscalingAlgorithm { - /// Optional. Duration between scaling events. A scaling period starts after - /// the update operation from the previous event has completed. + /// Optional. Duration between scaling events. A scaling period starts after + /// the update operation from the previous event has completed. /// - /// Bounds: [2m, 1d]. Default: 2m. + /// Bounds: [2m, 1d]. Default: 2m. #[prost(message, optional, tag="2")] pub cooldown_period: ::core::option::Option<::prost_types::Duration>, #[prost(oneof="basic_autoscaling_algorithm::Config", tags="1")] @@ -65,196 +65,196 @@ pub struct BasicAutoscalingAlgorithm { pub mod basic_autoscaling_algorithm { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Required. YARN autoscaling configuration. + /// Required. YARN autoscaling configuration. #[prost(message, tag="1")] YarnConfig(super::BasicYarnAutoscalingConfig), } } -/// Basic autoscaling configurations for YARN. +/// Basic autoscaling configurations for YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BasicYarnAutoscalingConfig { - /// Required. Timeout for YARN graceful decommissioning of Node Managers. - /// Specifies the duration to wait for jobs to complete before forcefully - /// removing workers (and potentially interrupting jobs). Only applicable to - /// downscaling operations. + /// Required. Timeout for YARN graceful decommissioning of Node Managers. + /// Specifies the duration to wait for jobs to complete before forcefully + /// removing workers (and potentially interrupting jobs). Only applicable to + /// downscaling operations. /// - /// Bounds: [0s, 1d]. + /// Bounds: [0s, 1d]. #[prost(message, optional, tag="5")] pub graceful_decommission_timeout: ::core::option::Option<::prost_types::Duration>, - /// Required. Fraction of average YARN pending memory in the last cooldown period - /// for which to add workers. A scale-up factor of 1.0 will result in scaling - /// up so that there is no pending memory remaining after the update (more - /// aggressive scaling). A scale-up factor closer to 0 will result in a smaller - /// magnitude of scaling up (less aggressive scaling). - /// See [How autoscaling - /// works]() - /// for more information. - /// - /// Bounds: [0.0, 1.0]. + /// Required. Fraction of average YARN pending memory in the last cooldown period + /// for which to add workers. A scale-up factor of 1.0 will result in scaling + /// up so that there is no pending memory remaining after the update (more + /// aggressive scaling). A scale-up factor closer to 0 will result in a smaller + /// magnitude of scaling up (less aggressive scaling). + /// See [How autoscaling + /// works]() + /// for more information. + /// + /// Bounds: [0.0, 1.0]. #[prost(double, tag="1")] pub scale_up_factor: f64, - /// Required. Fraction of average YARN pending memory in the last cooldown period - /// for which to remove workers. A scale-down factor of 1 will result in - /// scaling down so that there is no available memory remaining after the - /// update (more aggressive scaling). A scale-down factor of 0 disables - /// removing workers, which can be beneficial for autoscaling a single job. - /// See [How autoscaling - /// works]() - /// for more information. - /// - /// Bounds: [0.0, 1.0]. + /// Required. Fraction of average YARN pending memory in the last cooldown period + /// for which to remove workers. A scale-down factor of 1 will result in + /// scaling down so that there is no available memory remaining after the + /// update (more aggressive scaling). A scale-down factor of 0 disables + /// removing workers, which can be beneficial for autoscaling a single job. + /// See [How autoscaling + /// works]() + /// for more information. + /// + /// Bounds: [0.0, 1.0]. #[prost(double, tag="2")] pub scale_down_factor: f64, - /// Optional. Minimum scale-up threshold as a fraction of total cluster size - /// before scaling occurs. For example, in a 20-worker cluster, a threshold of - /// 0.1 means the autoscaler must recommend at least a 2-worker scale-up for - /// the cluster to scale. A threshold of 0 means the autoscaler will scale up - /// on any recommended change. + /// Optional. Minimum scale-up threshold as a fraction of total cluster size + /// before scaling occurs. For example, in a 20-worker cluster, a threshold of + /// 0.1 means the autoscaler must recommend at least a 2-worker scale-up for + /// the cluster to scale. A threshold of 0 means the autoscaler will scale up + /// on any recommended change. /// - /// Bounds: [0.0, 1.0]. Default: 0.0. + /// Bounds: [0.0, 1.0]. Default: 0.0. #[prost(double, tag="3")] pub scale_up_min_worker_fraction: f64, - /// Optional. Minimum scale-down threshold as a fraction of total cluster size - /// before scaling occurs. For example, in a 20-worker cluster, a threshold of - /// 0.1 means the autoscaler must recommend at least a 2 worker scale-down for - /// the cluster to scale. A threshold of 0 means the autoscaler will scale down - /// on any recommended change. + /// Optional. Minimum scale-down threshold as a fraction of total cluster size + /// before scaling occurs. For example, in a 20-worker cluster, a threshold of + /// 0.1 means the autoscaler must recommend at least a 2 worker scale-down for + /// the cluster to scale. A threshold of 0 means the autoscaler will scale down + /// on any recommended change. /// - /// Bounds: [0.0, 1.0]. Default: 0.0. + /// Bounds: [0.0, 1.0]. Default: 0.0. #[prost(double, tag="4")] pub scale_down_min_worker_fraction: f64, } -/// Configuration for the size bounds of an instance group, including its -/// proportional size to other groups. +/// Configuration for the size bounds of an instance group, including its +/// proportional size to other groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupAutoscalingPolicyConfig { - /// Optional. Minimum number of instances for this group. + /// Optional. Minimum number of instances for this group. /// - /// Primary workers - Bounds: [2, max_instances]. Default: 2. - /// Secondary workers - Bounds: [0, max_instances]. Default: 0. + /// Primary workers - Bounds: [2, max_instances]. Default: 2. + /// Secondary workers - Bounds: [0, max_instances]. Default: 0. #[prost(int32, tag="1")] pub min_instances: i32, - /// Required. Maximum number of instances for this group. Required for primary - /// workers. Note that by default, clusters will not use secondary workers. - /// Required for secondary workers if the minimum secondary instances is set. + /// Required. Maximum number of instances for this group. Required for primary + /// workers. Note that by default, clusters will not use secondary workers. + /// Required for secondary workers if the minimum secondary instances is set. /// - /// Primary workers - Bounds: [min_instances, ). - /// Secondary workers - Bounds: [min_instances, ). Default: 0. + /// Primary workers - Bounds: [min_instances, ). + /// Secondary workers - Bounds: [min_instances, ). Default: 0. #[prost(int32, tag="2")] pub max_instances: i32, - /// Optional. Weight for the instance group, which is used to determine the - /// fraction of total workers in the cluster from this instance group. - /// For example, if primary workers have weight 2, and secondary workers have - /// weight 1, the cluster will have approximately 2 primary workers for each - /// secondary worker. - /// - /// The cluster may not reach the specified balance if constrained - /// by min/max bounds or other autoscaling settings. For example, if - /// `max_instances` for secondary workers is 0, then only primary workers will - /// be added. The cluster can also be out of balance when created. - /// - /// If weight is not set on any instance group, the cluster will default to - /// equal weight for all groups: the cluster will attempt to maintain an equal - /// number of workers in each group within the configured size bounds for each - /// group. If weight is set for one group only, the cluster will default to - /// zero weight on the unset group. For example if weight is set only on - /// primary workers, the cluster will use primary workers only and no - /// secondary workers. + /// Optional. Weight for the instance group, which is used to determine the + /// fraction of total workers in the cluster from this instance group. + /// For example, if primary workers have weight 2, and secondary workers have + /// weight 1, the cluster will have approximately 2 primary workers for each + /// secondary worker. + /// + /// The cluster may not reach the specified balance if constrained + /// by min/max bounds or other autoscaling settings. For example, if + /// `max_instances` for secondary workers is 0, then only primary workers will + /// be added. The cluster can also be out of balance when created. + /// + /// If weight is not set on any instance group, the cluster will default to + /// equal weight for all groups: the cluster will attempt to maintain an equal + /// number of workers in each group within the configured size bounds for each + /// group. If weight is set for one group only, the cluster will default to + /// zero weight on the unset group. For example if weight is set only on + /// primary workers, the cluster will use primary workers only and no + /// secondary workers. #[prost(int32, tag="3")] pub weight: i32, } -/// A request to create an autoscaling policy. +/// A request to create an autoscaling policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAutoscalingPolicyRequest { - /// Required. The "resource name" of the region or location, as described - /// in + /// Required. The "resource name" of the region or location, as described + /// in /// - /// * For `projects.regions.autoscalingPolicies.create`, the resource name + /// * For `projects.regions.autoscalingPolicies.create`, the resource name /// of the region has the following format: /// `projects/{project_id}/regions/{region}` /// - /// * For `projects.locations.autoscalingPolicies.create`, the resource name + /// * For `projects.locations.autoscalingPolicies.create`, the resource name /// of the location has the following format: /// `projects/{project_id}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The autoscaling policy to create. + /// Required. The autoscaling policy to create. #[prost(message, optional, tag="2")] pub policy: ::core::option::Option, } -/// A request to fetch an autoscaling policy. +/// A request to fetch an autoscaling policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAutoscalingPolicyRequest { - /// Required. The "resource name" of the autoscaling policy, as described - /// in + /// Required. The "resource name" of the autoscaling policy, as described + /// in /// - /// * For `projects.regions.autoscalingPolicies.get`, the resource name + /// * For `projects.regions.autoscalingPolicies.get`, the resource name /// of the policy has the following format: /// `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` /// - /// * For `projects.locations.autoscalingPolicies.get`, the resource name + /// * For `projects.locations.autoscalingPolicies.get`, the resource name /// of the policy has the following format: /// `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to update an autoscaling policy. +/// A request to update an autoscaling policy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAutoscalingPolicyRequest { - /// Required. The updated autoscaling policy. + /// Required. The updated autoscaling policy. #[prost(message, optional, tag="1")] pub policy: ::core::option::Option, } -/// A request to delete an autoscaling policy. +/// A request to delete an autoscaling policy. /// -/// Autoscaling policies in use by one or more clusters will not be deleted. +/// Autoscaling policies in use by one or more clusters will not be deleted. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAutoscalingPolicyRequest { - /// Required. The "resource name" of the autoscaling policy, as described - /// in + /// Required. The "resource name" of the autoscaling policy, as described + /// in /// - /// * For `projects.regions.autoscalingPolicies.delete`, the resource name + /// * For `projects.regions.autoscalingPolicies.delete`, the resource name /// of the policy has the following format: /// `projects/{project_id}/regions/{region}/autoscalingPolicies/{policy_id}` /// - /// * For `projects.locations.autoscalingPolicies.delete`, the resource name + /// * For `projects.locations.autoscalingPolicies.delete`, the resource name /// of the policy has the following format: /// `projects/{project_id}/locations/{location}/autoscalingPolicies/{policy_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to list autoscaling policies in a project. +/// A request to list autoscaling policies in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAutoscalingPoliciesRequest { - /// Required. The "resource name" of the region or location, as described - /// in + /// Required. The "resource name" of the region or location, as described + /// in /// - /// * For `projects.regions.autoscalingPolicies.list`, the resource name + /// * For `projects.regions.autoscalingPolicies.list`, the resource name /// of the region has the following format: /// `projects/{project_id}/regions/{region}` /// - /// * For `projects.locations.autoscalingPolicies.list`, the resource name + /// * For `projects.locations.autoscalingPolicies.list`, the resource name /// of the location has the following format: /// `projects/{project_id}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of results to return in each response. - /// Must be less than or equal to 1000. Defaults to 100. + /// Optional. The maximum number of results to return in each response. + /// Must be less than or equal to 1000. Defaults to 100. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The page token, returned by a previous call, to request the - /// next page of results. + /// Optional. The page token, returned by a previous call, to request the + /// next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// A response to a request to list autoscaling policies in a project. +/// A response to a request to list autoscaling policies in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAutoscalingPoliciesResponse { - /// Output only. Autoscaling policies list. + /// Output only. Autoscaling policies list. #[prost(message, repeated, tag="1")] pub policies: ::prost::alloc::vec::Vec, - /// Output only. This token is included in the response if there are more - /// results to fetch. + /// Output only. This token is included in the response if there are more + /// results to fetch. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } @@ -440,126 +440,126 @@ pub mod autoscaling_policy_service_client { } } } -/// Runtime configuration for a workload. +/// Runtime configuration for a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeConfig { - /// Optional. Version of the batch runtime. + /// Optional. Version of the batch runtime. #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// Optional. Optional custom container image for the job runtime environment. If - /// not specified, a default container image will be used. + /// Optional. Optional custom container image for the job runtime environment. If + /// not specified, a default container image will be used. #[prost(string, tag="2")] pub container_image: ::prost::alloc::string::String, - /// Optional. A mapping of property names to values, which are used to configure workload - /// execution. + /// Optional. A mapping of property names to values, which are used to configure workload + /// execution. #[prost(map="string, string", tag="3")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Environment configuration for a workload. +/// Environment configuration for a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EnvironmentConfig { - /// Optional. Execution configuration for a workload. + /// Optional. Execution configuration for a workload. #[prost(message, optional, tag="1")] pub execution_config: ::core::option::Option, - /// Optional. Peripherals configuration that workload has access to. + /// Optional. Peripherals configuration that workload has access to. #[prost(message, optional, tag="2")] pub peripherals_config: ::core::option::Option, } -/// Execution configuration for a workload. +/// Execution configuration for a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionConfig { - /// Optional. Service account that used to execute workload. + /// Optional. Service account that used to execute workload. #[prost(string, tag="2")] pub service_account: ::prost::alloc::string::String, - /// Optional. Tags used for network traffic control. + /// Optional. Tags used for network traffic control. #[prost(string, repeated, tag="6")] pub network_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The Cloud KMS key to use for encryption. + /// Optional. The Cloud KMS key to use for encryption. #[prost(string, tag="7")] pub kms_key: ::prost::alloc::string::String, - /// Network configuration for workload execution. + /// Network configuration for workload execution. #[prost(oneof="execution_config::Network", tags="4, 5")] pub network: ::core::option::Option, } /// Nested message and enum types in `ExecutionConfig`. pub mod execution_config { - /// Network configuration for workload execution. + /// Network configuration for workload execution. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Network { - /// Optional. Network URI to connect workload to. + /// Optional. Network URI to connect workload to. #[prost(string, tag="4")] NetworkUri(::prost::alloc::string::String), - /// Optional. Subnetwork URI to connect workload to. + /// Optional. Subnetwork URI to connect workload to. #[prost(string, tag="5")] SubnetworkUri(::prost::alloc::string::String), } } -/// Spark History Server configuration for the workload. +/// Spark History Server configuration for the workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkHistoryServerConfig { - /// Optional. Resource name of an existing Dataproc Cluster to act as a Spark History - /// Server for the workload. + /// Optional. Resource name of an existing Dataproc Cluster to act as a Spark History + /// Server for the workload. /// - /// Example: + /// Example: /// - /// * `projects/\[project_id]/regions/[region]/clusters/[cluster_name\]` + /// * `projects/\[project_id]/regions/[region]/clusters/[cluster_name\]` #[prost(string, tag="1")] pub dataproc_cluster: ::prost::alloc::string::String, } -/// Auxiliary services configuration for a workload. +/// Auxiliary services configuration for a workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PeripheralsConfig { - /// Optional. Resource name of an existing Dataproc Metastore service. + /// Optional. Resource name of an existing Dataproc Metastore service. /// - /// Example: + /// Example: /// - /// * `projects/\[project_id]/locations/[region]/services/[service_id\]` + /// * `projects/\[project_id]/locations/[region]/services/[service_id\]` #[prost(string, tag="1")] pub metastore_service: ::prost::alloc::string::String, - /// Optional. The Spark History Server configuration for the workload. + /// Optional. The Spark History Server configuration for the workload. #[prost(message, optional, tag="2")] pub spark_history_server_config: ::core::option::Option, } -/// Runtime information about workload execution. +/// Runtime information about workload execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RuntimeInfo { - /// Output only. Map of remote access endpoints (such as web interfaces and APIs) to their - /// URIs. + /// Output only. Map of remote access endpoints (such as web interfaces and APIs) to their + /// URIs. #[prost(map="string, string", tag="1")] pub endpoints: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. A URI pointing to the location of the stdout and stderr of the workload. + /// Output only. A URI pointing to the location of the stdout and stderr of the workload. #[prost(string, tag="2")] pub output_uri: ::prost::alloc::string::String, - /// Output only. A URI pointing to the location of the diagnostics tarball. + /// Output only. A URI pointing to the location of the diagnostics tarball. #[prost(string, tag="3")] pub diagnostic_output_uri: ::prost::alloc::string::String, } -/// The cluster's GKE config. +/// The cluster's GKE config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeClusterConfig { - /// Optional. A target GKE cluster to deploy to. It must be in the same project and - /// region as the Dataproc cluster (the GKE cluster can be zonal or regional). - /// Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}' + /// Optional. A target GKE cluster to deploy to. It must be in the same project and + /// region as the Dataproc cluster (the GKE cluster can be zonal or regional). + /// Format: 'projects/{project}/locations/{location}/clusters/{cluster_id}' #[prost(string, tag="2")] pub gke_cluster_target: ::prost::alloc::string::String, - /// Optional. GKE NodePools where workloads will be scheduled. At least one node pool - /// must be assigned the 'default' role. Each role can be given to only a - /// single NodePoolTarget. All NodePools must have the same location settings. - /// If a nodePoolTarget is not specified, Dataproc constructs a default - /// nodePoolTarget. + /// Optional. GKE NodePools where workloads will be scheduled. At least one node pool + /// must be assigned the 'default' role. Each role can be given to only a + /// single NodePoolTarget. All NodePools must have the same location settings. + /// If a nodePoolTarget is not specified, Dataproc constructs a default + /// nodePoolTarget. #[prost(message, repeated, tag="3")] pub node_pool_target: ::prost::alloc::vec::Vec, } -/// The configuration for running the Dataproc cluster on Kubernetes. +/// The configuration for running the Dataproc cluster on Kubernetes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KubernetesClusterConfig { - /// Optional. A namespace within the Kubernetes cluster to deploy into. If this namespace - /// does not exist, it is created. If it exists, Dataproc - /// verifies that another Dataproc VirtualCluster is not installed - /// into it. If not specified, the name of the Dataproc Cluster is used. + /// Optional. A namespace within the Kubernetes cluster to deploy into. If this namespace + /// does not exist, it is created. If it exists, Dataproc + /// verifies that another Dataproc VirtualCluster is not installed + /// into it. If not specified, the name of the Dataproc Cluster is used. #[prost(string, tag="1")] pub kubernetes_namespace: ::prost::alloc::string::String, - /// Optional. The software configuration for this Dataproc cluster running on Kubernetes. + /// Optional. The software configuration for this Dataproc cluster running on Kubernetes. #[prost(message, optional, tag="3")] pub kubernetes_software_config: ::core::option::Option, #[prost(oneof="kubernetes_cluster_config::Config", tags="2")] @@ -569,76 +569,76 @@ pub struct KubernetesClusterConfig { pub mod kubernetes_cluster_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Config { - /// Required. The configuration for running the Dataproc cluster on GKE. + /// Required. The configuration for running the Dataproc cluster on GKE. #[prost(message, tag="2")] GkeClusterConfig(super::GkeClusterConfig), } } -/// The software configuration for this Dataproc cluster running on Kubernetes. +/// The software configuration for this Dataproc cluster running on Kubernetes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KubernetesSoftwareConfig { - /// The components that should be installed in this Dataproc cluster. The key - /// must be a string from the KubernetesComponent enumeration. The value is - /// the version of the software to be installed. - /// At least one entry must be specified. + /// The components that should be installed in this Dataproc cluster. The key + /// must be a string from the KubernetesComponent enumeration. The value is + /// the version of the software to be installed. + /// At least one entry must be specified. #[prost(map="string, string", tag="1")] pub component_version: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// The properties to set on daemon config files. + /// The properties to set on daemon config files. /// - /// Property keys are specified in `prefix:property` format, for example - /// `spark:spark.kubernetes.container.image`. The following are supported - /// prefixes and their mappings: + /// Property keys are specified in `prefix:property` format, for example + /// `spark:spark.kubernetes.container.image`. The following are supported + /// prefixes and their mappings: /// - /// * spark: `spark-defaults.conf` + /// * spark: `spark-defaults.conf` /// - /// For more information, see [Cluster - /// properties](). + /// For more information, see [Cluster + /// properties](). #[prost(map="string, string", tag="2")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// GKE NodePools that Dataproc workloads run on. +/// GKE NodePools that Dataproc workloads run on. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeNodePoolTarget { - /// Required. The target GKE NodePool. - /// Format: - /// 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}' + /// Required. The target GKE NodePool. + /// Format: + /// 'projects/{project}/locations/{location}/clusters/{cluster}/nodePools/{node_pool}' #[prost(string, tag="1")] pub node_pool: ::prost::alloc::string::String, - /// Required. The types of role for a GKE NodePool + /// Required. The types of role for a GKE NodePool #[prost(enumeration="gke_node_pool_target::Role", repeated, packed="false", tag="2")] pub roles: ::prost::alloc::vec::Vec, - /// Optional. The configuration for the GKE NodePool. + /// Optional. The configuration for the GKE NodePool. /// - /// If specified, Dataproc attempts to create a NodePool with the - /// specified shape. If one with the same name already exists, it is - /// verified against all specified fields. If a field differs, the - /// virtual cluster creation will fail. + /// If specified, Dataproc attempts to create a NodePool with the + /// specified shape. If one with the same name already exists, it is + /// verified against all specified fields. If a field differs, the + /// virtual cluster creation will fail. /// - /// If omitted, any NodePool with the specified name is used. If a - /// NodePool with the specified name does not exist, Dataproc create a NodePool - /// with default values. + /// If omitted, any NodePool with the specified name is used. If a + /// NodePool with the specified name does not exist, Dataproc create a NodePool + /// with default values. #[prost(message, optional, tag="3")] pub node_pool_config: ::core::option::Option, } /// Nested message and enum types in `GkeNodePoolTarget`. pub mod gke_node_pool_target { - /// `Role` specifies whose tasks will run on the NodePool. The roles can be - /// specific to workloads. Exactly one GkeNodePoolTarget within the - /// VirtualCluster must have 'default' role, which is used to run all workloads - /// that are not associated with a NodePool. + /// `Role` specifies whose tasks will run on the NodePool. The roles can be + /// specific to workloads. Exactly one GkeNodePoolTarget within the + /// VirtualCluster must have 'default' role, which is used to run all workloads + /// that are not associated with a NodePool. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Role { - /// Role is unspecified. + /// Role is unspecified. Unspecified = 0, - /// Any roles that are not directly assigned to a NodePool run on the - /// `default` role's NodePool. + /// Any roles that are not directly assigned to a NodePool run on the + /// `default` role's NodePool. Default = 1, - /// Run controllers and webhooks. + /// Run controllers and webhooks. Controller = 2, - /// Run spark driver. + /// Run spark driver. SparkDriver = 3, - /// Run spark executors. + /// Run spark executors. SparkExecutor = 4, } impl Role { @@ -657,117 +657,117 @@ pub mod gke_node_pool_target { } } } -/// The configuration of a GKE NodePool used by a [Dataproc-on-GKE -/// cluster](). +/// The configuration of a GKE NodePool used by a [Dataproc-on-GKE +/// cluster](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeNodePoolConfig { - /// Optional. The node pool configuration. + /// Optional. The node pool configuration. #[prost(message, optional, tag="2")] pub config: ::core::option::Option, - /// Optional. The list of Compute Engine - /// \[zones\]() where - /// NodePool's nodes will be located. + /// Optional. The list of Compute Engine + /// \[zones\]() where + /// NodePool's nodes will be located. /// - /// **Note:** Currently, only one zone may be specified. + /// **Note:** Currently, only one zone may be specified. /// - /// If a location is not specified during NodePool creation, Dataproc will - /// choose a location. + /// If a location is not specified during NodePool creation, Dataproc will + /// choose a location. #[prost(string, repeated, tag="13")] pub locations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled - /// only when a valid configuration is present. + /// Optional. The autoscaler configuration for this NodePool. The autoscaler is enabled + /// only when a valid configuration is present. #[prost(message, optional, tag="4")] pub autoscaling: ::core::option::Option, } /// Nested message and enum types in `GkeNodePoolConfig`. pub mod gke_node_pool_config { - /// Parameters that describe cluster nodes. + /// Parameters that describe cluster nodes. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeNodeConfig { - /// Optional. The name of a Compute Engine [machine - /// type](). + /// Optional. The name of a Compute Engine [machine + /// type](). #[prost(string, tag="1")] pub machine_type: ::prost::alloc::string::String, - /// Optional. Whether the nodes are created as [preemptible VM - /// instances](). + /// Optional. Whether the nodes are created as [preemptible VM + /// instances](). #[prost(bool, tag="10")] pub preemptible: bool, - /// Optional. The number of local SSD disks to attach to the node, which is limited by - /// the maximum number of disks allowable per zone (see [Adding Local - /// SSDs]()). + /// Optional. The number of local SSD disks to attach to the node, which is limited by + /// the maximum number of disks allowable per zone (see [Adding Local + /// SSDs]()). #[prost(int32, tag="7")] pub local_ssd_count: i32, - /// Optional. A list of [hardware - /// accelerators]() to attach to - /// each node. + /// Optional. A list of [hardware + /// accelerators]() to attach to + /// each node. #[prost(message, repeated, tag="11")] pub accelerators: ::prost::alloc::vec::Vec, - /// Optional. [Minimum CPU - /// platform]() - /// to be used by this instance. The instance may be scheduled on the - /// specified or a newer CPU platform. Specify the friendly names of CPU - /// platforms, such as "Intel Haswell"` or Intel Sandy Bridge". + /// Optional. [Minimum CPU + /// platform]() + /// to be used by this instance. The instance may be scheduled on the + /// specified or a newer CPU platform. Specify the friendly names of CPU + /// platforms, such as "Intel Haswell"` or Intel Sandy Bridge". #[prost(string, tag="13")] pub min_cpu_platform: ::prost::alloc::string::String, } - /// A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request - /// for a NodePool. + /// A GkeNodeConfigAcceleratorConfig represents a Hardware Accelerator request + /// for a NodePool. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeNodePoolAcceleratorConfig { - /// The number of accelerator cards exposed to an instance. + /// The number of accelerator cards exposed to an instance. #[prost(int64, tag="1")] pub accelerator_count: i64, - /// The accelerator type resource namename (see GPUs on Compute Engine). + /// The accelerator type resource namename (see GPUs on Compute Engine). #[prost(string, tag="2")] pub accelerator_type: ::prost::alloc::string::String, } - /// GkeNodePoolAutoscaling contains information the cluster autoscaler needs to - /// adjust the size of the node pool to the current cluster usage. + /// GkeNodePoolAutoscaling contains information the cluster autoscaler needs to + /// adjust the size of the node pool to the current cluster usage. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeNodePoolAutoscalingConfig { - /// The minimum number of nodes in the NodePool. Must be >= 0 and <= - /// max_node_count. + /// The minimum number of nodes in the NodePool. Must be >= 0 and <= + /// max_node_count. #[prost(int32, tag="2")] pub min_node_count: i32, - /// The maximum number of nodes in the NodePool. Must be >= min_node_count. - /// **Note:** Quota must be sufficient to scale up the cluster. + /// The maximum number of nodes in the NodePool. Must be >= min_node_count. + /// **Note:** Quota must be sufficient to scale up the cluster. #[prost(int32, tag="3")] pub max_node_count: i32, } } -/// Cluster components that can be activated. +/// Cluster components that can be activated. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Component { - /// Unspecified component. Specifying this will cause Cluster creation to fail. + /// Unspecified component. Specifying this will cause Cluster creation to fail. Unspecified = 0, - /// The Anaconda python distribution. The Anaconda component is not supported - /// in the Dataproc - /// 2.0 - /// image. The 2.0 image is pre-installed with Miniconda. + /// The Anaconda python distribution. The Anaconda component is not supported + /// in the Dataproc + /// 2.0 + /// image. The 2.0 image is pre-installed with Miniconda. Anaconda = 5, - /// Docker + /// Docker Docker = 13, - /// The Druid query engine. (alpha) + /// The Druid query engine. (alpha) Druid = 9, - /// Flink + /// Flink Flink = 14, - /// HBase. (beta) + /// HBase. (beta) Hbase = 11, - /// The Hive Web HCatalog (the REST service for accessing HCatalog). + /// The Hive Web HCatalog (the REST service for accessing HCatalog). HiveWebhcat = 3, - /// The Jupyter Notebook. + /// The Jupyter Notebook. Jupyter = 1, - /// The Presto query engine. + /// The Presto query engine. Presto = 6, - /// The Ranger service. + /// The Ranger service. Ranger = 12, - /// The Solr service. + /// The Solr service. Solr = 10, - /// The Zeppelin notebook. + /// The Zeppelin notebook. Zeppelin = 4, - /// The Zookeeper service. + /// The Zookeeper service. Zookeeper = 8, } impl Component { @@ -793,16 +793,16 @@ impl Component { } } } -/// Actions in response to failure of a resource associated with a cluster. +/// Actions in response to failure of a resource associated with a cluster. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FailureAction { - /// When FailureAction is unspecified, failure action defaults to NO_ACTION. + /// When FailureAction is unspecified, failure action defaults to NO_ACTION. Unspecified = 0, - /// Take no action on failure to create a cluster resource. NO_ACTION is the - /// default. + /// Take no action on failure to create a cluster resource. NO_ACTION is the + /// default. NoAction = 1, - /// Delete the failed cluster resource. + /// Delete the failed cluster resource. Delete = 2, } impl FailureAction { @@ -818,163 +818,163 @@ impl FailureAction { } } } -/// A request to create a batch workload. +/// A request to create a batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateBatchRequest { - /// Required. The parent resource where this batch will be created. + /// Required. The parent resource where this batch will be created. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The batch to create. + /// Required. The batch to create. #[prost(message, optional, tag="2")] pub batch: ::core::option::Option, - /// Optional. The ID to use for the batch, which will become the final component of - /// the batch's resource name. + /// Optional. The ID to use for the batch, which will become the final component of + /// the batch's resource name. /// - /// This value must be 4-63 characters. Valid characters are `/\[a-z][0-9\]-/`. + /// This value must be 4-63 characters. Valid characters are `/\[a-z][0-9\]-/`. #[prost(string, tag="3")] pub batch_id: ::prost::alloc::string::String, - /// Optional. A unique ID used to identify the request. If the service - /// receives two - /// \[CreateBatchRequest\]()s - /// with the same request_id, the second request is ignored and the - /// Operation that corresponds to the first Batch created and stored - /// in the backend is returned. - /// - /// Recommendation: Set this value to a - /// \[UUID\](). - /// - /// The value must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique ID used to identify the request. If the service + /// receives two + /// \[CreateBatchRequest\]()s + /// with the same request_id, the second request is ignored and the + /// Operation that corresponds to the first Batch created and stored + /// in the backend is returned. + /// + /// Recommendation: Set this value to a + /// \[UUID\](). + /// + /// The value must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// A request to get the resource representation for a batch workload. +/// A request to get the resource representation for a batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetBatchRequest { - /// Required. The name of the batch to retrieve. + /// Required. The name of the batch to retrieve. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A request to list batch workloads in a project. +/// A request to list batch workloads in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchesRequest { - /// Required. The parent, which owns this collection of batches. + /// Required. The parent, which owns this collection of batches. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of batches to return in each response. - /// The service may return fewer than this value. - /// The default page size is 20; the maximum page size is 1000. + /// Optional. The maximum number of batches to return in each response. + /// The service may return fewer than this value. + /// The default page size is 20; the maximum page size is 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token received from a previous `ListBatches` call. - /// Provide this token to retrieve the subsequent page. + /// Optional. A page token received from a previous `ListBatches` call. + /// Provide this token to retrieve the subsequent page. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// A list of batch workloads. +/// A list of batch workloads. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListBatchesResponse { - /// The batches from the specified collection. + /// The batches from the specified collection. #[prost(message, repeated, tag="1")] pub batches: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to delete a batch workload. +/// A request to delete a batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteBatchRequest { - /// Required. The name of the batch resource to delete. + /// Required. The name of the batch resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// A representation of a batch workload in the service. +/// A representation of a batch workload in the service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Batch { - /// Output only. The resource name of the batch. + /// Output only. The resource name of the batch. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. A batch UUID (Unique Universal Identifier). The service - /// generates this value when it creates the batch. + /// Output only. A batch UUID (Unique Universal Identifier). The service + /// generates this value when it creates the batch. #[prost(string, tag="2")] pub uuid: ::prost::alloc::string::String, - /// Output only. The time when the batch was created. + /// Output only. The time when the batch was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Runtime information about batch execution. + /// Output only. Runtime information about batch execution. #[prost(message, optional, tag="8")] pub runtime_info: ::core::option::Option, - /// Output only. The state of the batch. + /// Output only. The state of the batch. #[prost(enumeration="batch::State", tag="9")] pub state: i32, - /// Output only. Batch state details, such as a failure - /// description if the state is `FAILED`. + /// Output only. Batch state details, such as a failure + /// description if the state is `FAILED`. #[prost(string, tag="10")] pub state_message: ::prost::alloc::string::String, - /// Output only. The time when the batch entered a current state. + /// Output only. The time when the batch entered a current state. #[prost(message, optional, tag="11")] pub state_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The email address of the user who created the batch. + /// Output only. The email address of the user who created the batch. #[prost(string, tag="12")] pub creator: ::prost::alloc::string::String, - /// Optional. The labels to associate with this batch. - /// Label **keys** must contain 1 to 63 characters, and must conform to - /// [RFC 1035](). - /// Label **values** may be empty, but, if present, must contain 1 to 63 - /// characters, and must conform to [RFC - /// 1035](). No more than 32 labels can be - /// associated with a batch. + /// Optional. The labels to associate with this batch. + /// Label **keys** must contain 1 to 63 characters, and must conform to + /// [RFC 1035](). + /// Label **values** may be empty, but, if present, must contain 1 to 63 + /// characters, and must conform to [RFC + /// 1035](). No more than 32 labels can be + /// associated with a batch. #[prost(map="string, string", tag="13")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Runtime configuration for the batch execution. + /// Optional. Runtime configuration for the batch execution. #[prost(message, optional, tag="14")] pub runtime_config: ::core::option::Option, - /// Optional. Environment configuration for the batch execution. + /// Optional. Environment configuration for the batch execution. #[prost(message, optional, tag="15")] pub environment_config: ::core::option::Option, - /// Output only. The resource name of the operation associated with this batch. + /// Output only. The resource name of the operation associated with this batch. #[prost(string, tag="16")] pub operation: ::prost::alloc::string::String, - /// Output only. Historical state information for the batch. + /// Output only. Historical state information for the batch. #[prost(message, repeated, tag="17")] pub state_history: ::prost::alloc::vec::Vec, - /// The application/framework-specific portion of the batch configuration. + /// The application/framework-specific portion of the batch configuration. #[prost(oneof="batch::BatchConfig", tags="4, 5, 6, 7")] pub batch_config: ::core::option::Option, } /// Nested message and enum types in `Batch`. pub mod batch { - /// Historical state information. + /// Historical state information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StateHistory { - /// Output only. The state of the batch at this point in history. + /// Output only. The state of the batch at this point in history. #[prost(enumeration="State", tag="1")] pub state: i32, - /// Output only. Details about the state at this point in history. + /// Output only. Details about the state at this point in history. #[prost(string, tag="2")] pub state_message: ::prost::alloc::string::String, - /// Output only. The time when the batch entered the historical state. + /// Output only. The time when the batch entered the historical state. #[prost(message, optional, tag="3")] pub state_start_time: ::core::option::Option<::prost_types::Timestamp>, } - /// The batch state. + /// The batch state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The batch state is unknown. + /// The batch state is unknown. Unspecified = 0, - /// The batch is created before running. + /// The batch is created before running. Pending = 1, - /// The batch is running. + /// The batch is running. Running = 2, - /// The batch is cancelling. + /// The batch is cancelling. Cancelling = 3, - /// The batch cancellation was successful. + /// The batch cancellation was successful. Cancelled = 4, - /// The batch completed successfully. + /// The batch completed successfully. Succeeded = 5, - /// The batch is no longer running due to an error. + /// The batch is no longer running due to an error. Failed = 6, } impl State { @@ -994,140 +994,140 @@ pub mod batch { } } } - /// The application/framework-specific portion of the batch configuration. + /// The application/framework-specific portion of the batch configuration. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BatchConfig { - /// Optional. PySpark batch config. + /// Optional. PySpark batch config. #[prost(message, tag="4")] PysparkBatch(super::PySparkBatch), - /// Optional. Spark batch config. + /// Optional. Spark batch config. #[prost(message, tag="5")] SparkBatch(super::SparkBatch), - /// Optional. SparkR batch config. + /// Optional. SparkR batch config. #[prost(message, tag="6")] SparkRBatch(super::SparkRBatch), - /// Optional. SparkSql batch config. + /// Optional. SparkSql batch config. #[prost(message, tag="7")] SparkSqlBatch(super::SparkSqlBatch), } } -/// A configuration for running an -/// [Apache -/// PySpark]() -/// batch workload. +/// A configuration for running an +/// [Apache +/// PySpark]() +/// batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PySparkBatch { - /// Required. The HCFS URI of the main Python file to use as the Spark driver. Must - /// be a .py file. + /// Required. The HCFS URI of the main Python file to use as the Spark driver. Must + /// be a .py file. #[prost(string, tag="1")] pub main_python_file_uri: ::prost::alloc::string::String, - /// Optional. The arguments to pass to the driver. Do not include arguments - /// that can be set as batch properties, such as `--conf`, since a collision - /// can occur that causes an incorrect batch submission. + /// Optional. The arguments to pass to the driver. Do not include arguments + /// that can be set as batch properties, such as `--conf`, since a collision + /// can occur that causes an incorrect batch submission. #[prost(string, repeated, tag="2")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS file URIs of Python files to pass to the PySpark - /// framework. Supported file types: `.py`, `.egg`, and `.zip`. + /// Optional. HCFS file URIs of Python files to pass to the PySpark + /// framework. Supported file types: `.py`, `.egg`, and `.zip`. #[prost(string, repeated, tag="3")] pub python_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the classpath of the - /// Spark driver and tasks. + /// Optional. HCFS URIs of jar files to add to the classpath of the + /// Spark driver and tasks. #[prost(string, repeated, tag="4")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. #[prost(string, repeated, tag="5")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. #[prost(string, repeated, tag="6")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A configuration for running an [Apache Spark]() -/// batch workload. +/// A configuration for running an [Apache Spark]() +/// batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkBatch { - /// Optional. The arguments to pass to the driver. Do not include arguments - /// that can be set as batch properties, such as `--conf`, since a collision - /// can occur that causes an incorrect batch submission. + /// Optional. The arguments to pass to the driver. Do not include arguments + /// that can be set as batch properties, such as `--conf`, since a collision + /// can occur that causes an incorrect batch submission. #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the classpath of the - /// Spark driver and tasks. + /// Optional. HCFS URIs of jar files to add to the classpath of the + /// Spark driver and tasks. #[prost(string, repeated, tag="4")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. #[prost(string, repeated, tag="5")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. #[prost(string, repeated, tag="6")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The specification of the main method to call to drive the Spark - /// workload. Specify either the jar file that contains the main class or the - /// main class name. To pass both a main jar and a main class in that jar, add - /// the jar to `jar_file_uris`, and then specify the main class - /// name in `main_class`. + /// The specification of the main method to call to drive the Spark + /// workload. Specify either the jar file that contains the main class or the + /// main class name. To pass both a main jar and a main class in that jar, add + /// the jar to `jar_file_uris`, and then specify the main class + /// name in `main_class`. #[prost(oneof="spark_batch::Driver", tags="1, 2")] pub driver: ::core::option::Option, } /// Nested message and enum types in `SparkBatch`. pub mod spark_batch { - /// The specification of the main method to call to drive the Spark - /// workload. Specify either the jar file that contains the main class or the - /// main class name. To pass both a main jar and a main class in that jar, add - /// the jar to `jar_file_uris`, and then specify the main class - /// name in `main_class`. + /// The specification of the main method to call to drive the Spark + /// workload. Specify either the jar file that contains the main class or the + /// main class name. To pass both a main jar and a main class in that jar, add + /// the jar to `jar_file_uris`, and then specify the main class + /// name in `main_class`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Driver { - /// Optional. The HCFS URI of the jar file that contains the main class. + /// Optional. The HCFS URI of the jar file that contains the main class. #[prost(string, tag="1")] MainJarFileUri(::prost::alloc::string::String), - /// Optional. The name of the driver main class. The jar file that contains the class - /// must be in the classpath or specified in `jar_file_uris`. + /// Optional. The name of the driver main class. The jar file that contains the class + /// must be in the classpath or specified in `jar_file_uris`. #[prost(string, tag="2")] MainClass(::prost::alloc::string::String), } } -/// A configuration for running an -/// [Apache SparkR]() -/// batch workload. +/// A configuration for running an +/// [Apache SparkR]() +/// batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkRBatch { - /// Required. The HCFS URI of the main R file to use as the driver. - /// Must be a `.R` or `.r` file. + /// Required. The HCFS URI of the main R file to use as the driver. + /// Must be a `.R` or `.r` file. #[prost(string, tag="1")] pub main_r_file_uri: ::prost::alloc::string::String, - /// Optional. The arguments to pass to the Spark driver. Do not include arguments - /// that can be set as batch properties, such as `--conf`, since a collision - /// can occur that causes an incorrect batch submission. + /// Optional. The arguments to pass to the Spark driver. Do not include arguments + /// that can be set as batch properties, such as `--conf`, since a collision + /// can occur that causes an incorrect batch submission. #[prost(string, repeated, tag="2")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. #[prost(string, repeated, tag="3")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// `.jar`, `.tar`, `.tar.gz`, `.tgz`, and `.zip`. #[prost(string, repeated, tag="4")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A configuration for running -/// [Apache Spark SQL]() queries as a batch workload. +/// A configuration for running +/// [Apache Spark SQL]() queries as a batch workload. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkSqlBatch { - /// Required. The HCFS URI of the script that contains Spark SQL queries to execute. + /// Required. The HCFS URI of the script that contains Spark SQL queries to execute. #[prost(string, tag="1")] pub query_file_uri: ::prost::alloc::string::String, - /// Optional. Mapping of query variable names to values (equivalent to the - /// Spark SQL command: `SET name="value";`). + /// Optional. Mapping of query variable names to values (equivalent to the + /// Spark SQL command: `SET name="value";`). #[prost(map="string, string", tag="2")] pub query_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. + /// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. #[prost(string, repeated, tag="3")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } @@ -1287,112 +1287,112 @@ pub mod batch_controller_client { } } } -/// Describes the identifying information, config, and status of -/// a Dataproc cluster +/// Describes the identifying information, config, and status of +/// a Dataproc cluster #[derive(Clone, PartialEq, ::prost::Message)] pub struct Cluster { - /// Required. The Google Cloud Platform project ID that the cluster belongs to. + /// Required. The Google Cloud Platform project ID that the cluster belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The cluster name. Cluster names within a project must be - /// unique. Names of deleted clusters can be reused. + /// Required. The cluster name. Cluster names within a project must be + /// unique. Names of deleted clusters can be reused. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, - /// Optional. The cluster config for a cluster of Compute Engine Instances. - /// Note that Dataproc may set default values, and values may change - /// when clusters are updated. + /// Optional. The cluster config for a cluster of Compute Engine Instances. + /// Note that Dataproc may set default values, and values may change + /// when clusters are updated. #[prost(message, optional, tag="3")] pub config: ::core::option::Option, - /// Optional. The virtual cluster config, used when creating a Dataproc cluster that - /// does not directly control the underlying compute resources, for example, - /// when creating a [Dataproc-on-GKE - /// cluster](). - /// Note that Dataproc may set default values, and values may change when - /// clusters are updated. Exactly one of config or virtualClusterConfig must be - /// specified. + /// Optional. The virtual cluster config, used when creating a Dataproc cluster that + /// does not directly control the underlying compute resources, for example, + /// when creating a [Dataproc-on-GKE + /// cluster](). + /// Note that Dataproc may set default values, and values may change when + /// clusters are updated. Exactly one of config or virtualClusterConfig must be + /// specified. #[prost(message, optional, tag="10")] pub virtual_cluster_config: ::core::option::Option, - /// Optional. The labels to associate with this cluster. - /// Label **keys** must contain 1 to 63 characters, and must conform to - /// [RFC 1035](). - /// Label **values** may be empty, but, if present, must contain 1 to 63 - /// characters, and must conform to [RFC - /// 1035](). No more than 32 labels can be - /// associated with a cluster. + /// Optional. The labels to associate with this cluster. + /// Label **keys** must contain 1 to 63 characters, and must conform to + /// [RFC 1035](). + /// Label **values** may be empty, but, if present, must contain 1 to 63 + /// characters, and must conform to [RFC + /// 1035](). No more than 32 labels can be + /// associated with a cluster. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Cluster status. + /// Output only. Cluster status. #[prost(message, optional, tag="4")] pub status: ::core::option::Option, - /// Output only. The previous cluster status. + /// Output only. The previous cluster status. #[prost(message, repeated, tag="7")] pub status_history: ::prost::alloc::vec::Vec, - /// Output only. A cluster UUID (Unique Universal Identifier). Dataproc - /// generates this value when it creates the cluster. + /// Output only. A cluster UUID (Unique Universal Identifier). Dataproc + /// generates this value when it creates the cluster. #[prost(string, tag="6")] pub cluster_uuid: ::prost::alloc::string::String, - /// Output only. Contains cluster daemon metrics such as HDFS and YARN stats. + /// Output only. Contains cluster daemon metrics such as HDFS and YARN stats. /// - /// **Beta Feature**: This report is available for testing purposes only. It - /// may be changed before final release. + /// **Beta Feature**: This report is available for testing purposes only. It + /// may be changed before final release. #[prost(message, optional, tag="9")] pub metrics: ::core::option::Option, } -/// The cluster config. +/// The cluster config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterConfig { - /// Optional. A Cloud Storage bucket used to stage job - /// dependencies, config files, and job driver console output. - /// If you do not specify a staging bucket, Cloud - /// Dataproc will determine a Cloud Storage location (US, - /// ASIA, or EU) for your cluster's staging bucket according to the - /// Compute Engine zone where your cluster is deployed, and then create - /// and manage this project-level, per-location bucket (see - /// [Dataproc staging and temp - /// buckets]()). - /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to - /// a Cloud Storage bucket.** + /// Optional. A Cloud Storage bucket used to stage job + /// dependencies, config files, and job driver console output. + /// If you do not specify a staging bucket, Cloud + /// Dataproc will determine a Cloud Storage location (US, + /// ASIA, or EU) for your cluster's staging bucket according to the + /// Compute Engine zone where your cluster is deployed, and then create + /// and manage this project-level, per-location bucket (see + /// [Dataproc staging and temp + /// buckets]()). + /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to + /// a Cloud Storage bucket.** #[prost(string, tag="1")] pub config_bucket: ::prost::alloc::string::String, - /// Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, - /// such as Spark and MapReduce history files. - /// If you do not specify a temp bucket, - /// Dataproc will determine a Cloud Storage location (US, - /// ASIA, or EU) for your cluster's temp bucket according to the - /// Compute Engine zone where your cluster is deployed, and then create - /// and manage this project-level, per-location bucket. The default bucket has - /// a TTL of 90 days, but you can use any TTL (or none) if you specify a - /// bucket (see - /// [Dataproc staging and temp - /// buckets]()). - /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to - /// a Cloud Storage bucket.** + /// Optional. A Cloud Storage bucket used to store ephemeral cluster and jobs data, + /// such as Spark and MapReduce history files. + /// If you do not specify a temp bucket, + /// Dataproc will determine a Cloud Storage location (US, + /// ASIA, or EU) for your cluster's temp bucket according to the + /// Compute Engine zone where your cluster is deployed, and then create + /// and manage this project-level, per-location bucket. The default bucket has + /// a TTL of 90 days, but you can use any TTL (or none) if you specify a + /// bucket (see + /// [Dataproc staging and temp + /// buckets]()). + /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to + /// a Cloud Storage bucket.** #[prost(string, tag="2")] pub temp_bucket: ::prost::alloc::string::String, - /// Optional. The shared Compute Engine config settings for - /// all instances in a cluster. + /// Optional. The shared Compute Engine config settings for + /// all instances in a cluster. #[prost(message, optional, tag="8")] pub gce_cluster_config: ::core::option::Option, - /// Optional. The Compute Engine config settings for - /// the cluster's master instance. + /// Optional. The Compute Engine config settings for + /// the cluster's master instance. #[prost(message, optional, tag="9")] pub master_config: ::core::option::Option, - /// Optional. The Compute Engine config settings for - /// the cluster's worker instances. + /// Optional. The Compute Engine config settings for + /// the cluster's worker instances. #[prost(message, optional, tag="10")] pub worker_config: ::core::option::Option, - /// Optional. The Compute Engine config settings for - /// a cluster's secondary worker instances + /// Optional. The Compute Engine config settings for + /// a cluster's secondary worker instances #[prost(message, optional, tag="12")] pub secondary_worker_config: ::core::option::Option, - /// Optional. The config settings for cluster software. + /// Optional. The config settings for cluster software. #[prost(message, optional, tag="13")] pub software_config: ::core::option::Option, - /// Optional. Commands to execute on each node after config is - /// completed. By default, executables are run on master and all worker nodes. - /// You can test a node's `role` metadata to run an executable on - /// a master or worker node, as shown below using `curl` (you can also use - /// `wget`): + /// Optional. Commands to execute on each node after config is + /// completed. By default, executables are run on master and all worker nodes. + /// You can test a node's `role` metadata to run an executable on + /// a master or worker node, as shown below using `curl` (you can also use + /// `wget`): /// /// ROLE=$(curl -H Metadata-Flavor:Google /// ) @@ -1403,45 +1403,45 @@ pub struct ClusterConfig { /// fi #[prost(message, repeated, tag="11")] pub initialization_actions: ::prost::alloc::vec::Vec, - /// Optional. Encryption settings for the cluster. + /// Optional. Encryption settings for the cluster. #[prost(message, optional, tag="15")] pub encryption_config: ::core::option::Option, - /// Optional. Autoscaling config for the policy associated with the cluster. - /// Cluster does not autoscale if this field is unset. + /// Optional. Autoscaling config for the policy associated with the cluster. + /// Cluster does not autoscale if this field is unset. #[prost(message, optional, tag="18")] pub autoscaling_config: ::core::option::Option, - /// Optional. Security settings for the cluster. + /// Optional. Security settings for the cluster. #[prost(message, optional, tag="16")] pub security_config: ::core::option::Option, - /// Optional. Lifecycle setting for the cluster. + /// Optional. Lifecycle setting for the cluster. #[prost(message, optional, tag="17")] pub lifecycle_config: ::core::option::Option, - /// Optional. Port/endpoint configuration for this cluster + /// Optional. Port/endpoint configuration for this cluster #[prost(message, optional, tag="19")] pub endpoint_config: ::core::option::Option, - /// Optional. Metastore configuration. + /// Optional. Metastore configuration. #[prost(message, optional, tag="20")] pub metastore_config: ::core::option::Option, } -/// Dataproc cluster config for a cluster that does not directly control the -/// underlying compute resources, such as a [Dataproc-on-GKE -/// cluster](). +/// Dataproc cluster config for a cluster that does not directly control the +/// underlying compute resources, such as a [Dataproc-on-GKE +/// cluster](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct VirtualClusterConfig { - /// Optional. A Storage bucket used to stage job - /// dependencies, config files, and job driver console output. - /// If you do not specify a staging bucket, Cloud - /// Dataproc will determine a Cloud Storage location (US, - /// ASIA, or EU) for your cluster's staging bucket according to the - /// Compute Engine zone where your cluster is deployed, and then create - /// and manage this project-level, per-location bucket (see - /// [Dataproc staging and temp - /// buckets]()). - /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to - /// a Cloud Storage bucket.** + /// Optional. A Storage bucket used to stage job + /// dependencies, config files, and job driver console output. + /// If you do not specify a staging bucket, Cloud + /// Dataproc will determine a Cloud Storage location (US, + /// ASIA, or EU) for your cluster's staging bucket according to the + /// Compute Engine zone where your cluster is deployed, and then create + /// and manage this project-level, per-location bucket (see + /// [Dataproc staging and temp + /// buckets]()). + /// **This field requires a Cloud Storage bucket name, not a `gs://...` URI to + /// a Cloud Storage bucket.** #[prost(string, tag="1")] pub staging_bucket: ::prost::alloc::string::String, - /// Optional. Configuration of auxiliary services used by this cluster. + /// Optional. Configuration of auxiliary services used by this cluster. #[prost(message, optional, tag="7")] pub auxiliary_services_config: ::core::option::Option, #[prost(oneof="virtual_cluster_config::InfrastructureConfig", tags="6")] @@ -1451,183 +1451,183 @@ pub struct VirtualClusterConfig { pub mod virtual_cluster_config { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum InfrastructureConfig { - /// Required. The configuration for running the Dataproc cluster on Kubernetes. + /// Required. The configuration for running the Dataproc cluster on Kubernetes. #[prost(message, tag="6")] KubernetesClusterConfig(super::KubernetesClusterConfig), } } -/// Auxiliary services configuration for a Cluster. +/// Auxiliary services configuration for a Cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AuxiliaryServicesConfig { - /// Optional. The Hive Metastore configuration for this workload. + /// Optional. The Hive Metastore configuration for this workload. #[prost(message, optional, tag="1")] pub metastore_config: ::core::option::Option, - /// Optional. The Spark History Server configuration for the workload. + /// Optional. The Spark History Server configuration for the workload. #[prost(message, optional, tag="2")] pub spark_history_server_config: ::core::option::Option, } -/// Endpoint config for this cluster +/// Endpoint config for this cluster #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndpointConfig { - /// Output only. The map of port descriptions to URLs. Will only be populated - /// if enable_http_port_access is true. + /// Output only. The map of port descriptions to URLs. Will only be populated + /// if enable_http_port_access is true. #[prost(map="string, string", tag="1")] pub http_ports: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. If true, enable http access to specific ports on the cluster - /// from external sources. Defaults to false. + /// Optional. If true, enable http access to specific ports on the cluster + /// from external sources. Defaults to false. #[prost(bool, tag="2")] pub enable_http_port_access: bool, } -/// Autoscaling Policy config associated with the cluster. +/// Autoscaling Policy config associated with the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AutoscalingConfig { - /// Optional. The autoscaling policy used by the cluster. + /// Optional. The autoscaling policy used by the cluster. /// - /// Only resource names including projectid and location (region) are valid. - /// Examples: + /// Only resource names including projectid and location (region) are valid. + /// Examples: /// - /// * ` - /// * `projects/\[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id\]` + /// * ` + /// * `projects/\[project_id]/locations/[dataproc_region]/autoscalingPolicies/[policy_id\]` /// - /// Note that the policy must be in the same project and Dataproc region. + /// Note that the policy must be in the same project and Dataproc region. #[prost(string, tag="1")] pub policy_uri: ::prost::alloc::string::String, } -/// Encryption settings for the cluster. +/// Encryption settings for the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EncryptionConfig { - /// Optional. The Cloud KMS key name to use for PD disk encryption for all - /// instances in the cluster. + /// Optional. The Cloud KMS key name to use for PD disk encryption for all + /// instances in the cluster. #[prost(string, tag="1")] pub gce_pd_kms_key_name: ::prost::alloc::string::String, } -/// Common config settings for resources of Compute Engine cluster -/// instances, applicable to all instances in the cluster. +/// Common config settings for resources of Compute Engine cluster +/// instances, applicable to all instances in the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GceClusterConfig { - /// Optional. The zone where the Compute Engine cluster will be located. - /// On a create request, it is required in the "global" region. If omitted - /// in a non-global Dataproc region, the service will pick a zone in the - /// corresponding Compute Engine region. On a get request, zone will - /// always be present. + /// Optional. The zone where the Compute Engine cluster will be located. + /// On a create request, it is required in the "global" region. If omitted + /// in a non-global Dataproc region, the service will pick a zone in the + /// corresponding Compute Engine region. On a get request, zone will + /// always be present. /// - /// A full URL, partial URI, or short name are valid. Examples: + /// A full URL, partial URI, or short name are valid. Examples: /// - /// * ` - /// * `projects/\[project_id]/zones/[zone\]` - /// * `us-central1-f` + /// * ` + /// * `projects/\[project_id]/zones/[zone\]` + /// * `us-central1-f` #[prost(string, tag="1")] pub zone_uri: ::prost::alloc::string::String, - /// Optional. The Compute Engine network to be used for machine - /// communications. Cannot be specified with subnetwork_uri. If neither - /// `network_uri` nor `subnetwork_uri` is specified, the "default" network of - /// the project is used, if it exists. Cannot be a "Custom Subnet Network" (see - /// [Using Subnetworks]() for - /// more information). - /// - /// A full URL, partial URI, or short name are valid. Examples: - /// - /// * ` - /// * `projects/\[project_id\]/regions/global/default` - /// * `default` + /// Optional. The Compute Engine network to be used for machine + /// communications. Cannot be specified with subnetwork_uri. If neither + /// `network_uri` nor `subnetwork_uri` is specified, the "default" network of + /// the project is used, if it exists. Cannot be a "Custom Subnet Network" (see + /// [Using Subnetworks]() for + /// more information). + /// + /// A full URL, partial URI, or short name are valid. Examples: + /// + /// * ` + /// * `projects/\[project_id\]/regions/global/default` + /// * `default` #[prost(string, tag="2")] pub network_uri: ::prost::alloc::string::String, - /// Optional. The Compute Engine subnetwork to be used for machine - /// communications. Cannot be specified with network_uri. + /// Optional. The Compute Engine subnetwork to be used for machine + /// communications. Cannot be specified with network_uri. /// - /// A full URL, partial URI, or short name are valid. Examples: + /// A full URL, partial URI, or short name are valid. Examples: /// - /// * ` - /// * `projects/\[project_id\]/regions/us-east1/subnetworks/sub0` - /// * `sub0` + /// * ` + /// * `projects/\[project_id\]/regions/us-east1/subnetworks/sub0` + /// * `sub0` #[prost(string, tag="6")] pub subnetwork_uri: ::prost::alloc::string::String, - /// Optional. If true, all instances in the cluster will only have internal IP - /// addresses. By default, clusters are not restricted to internal IP - /// addresses, and will have ephemeral external IP addresses assigned to each - /// instance. This `internal_ip_only` restriction can only be enabled for - /// subnetwork enabled networks, and all off-cluster dependencies must be - /// configured to be accessible without external IP addresses. + /// Optional. If true, all instances in the cluster will only have internal IP + /// addresses. By default, clusters are not restricted to internal IP + /// addresses, and will have ephemeral external IP addresses assigned to each + /// instance. This `internal_ip_only` restriction can only be enabled for + /// subnetwork enabled networks, and all off-cluster dependencies must be + /// configured to be accessible without external IP addresses. #[prost(bool, tag="7")] pub internal_ip_only: bool, - /// Optional. The type of IPv6 access for a cluster. + /// Optional. The type of IPv6 access for a cluster. #[prost(enumeration="gce_cluster_config::PrivateIpv6GoogleAccess", tag="12")] pub private_ipv6_google_access: i32, - /// Optional. The [Dataproc service - /// account]() - /// (also see [VM Data Plane - /// identity]()) - /// used by Dataproc cluster VM instances to access Google Cloud Platform - /// services. - /// - /// If not specified, the - /// [Compute Engine default service - /// account]() - /// is used. + /// Optional. The [Dataproc service + /// account]() + /// (also see [VM Data Plane + /// identity]()) + /// used by Dataproc cluster VM instances to access Google Cloud Platform + /// services. + /// + /// If not specified, the + /// [Compute Engine default service + /// account]() + /// is used. #[prost(string, tag="8")] pub service_account: ::prost::alloc::string::String, - /// Optional. The URIs of service account scopes to be included in - /// Compute Engine instances. The following base set of scopes is always - /// included: + /// Optional. The URIs of service account scopes to be included in + /// Compute Engine instances. The following base set of scopes is always + /// included: /// - /// * - /// * - /// * + /// * + /// * + /// * /// - /// If no scopes are specified, the following defaults are also provided: + /// If no scopes are specified, the following defaults are also provided: /// - /// * - /// * - /// * - /// * + /// * + /// * + /// * + /// * #[prost(string, repeated, tag="3")] pub service_account_scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Compute Engine tags to add to all instances (see [Tagging - /// instances]()). + /// The Compute Engine tags to add to all instances (see [Tagging + /// instances]()). #[prost(string, repeated, tag="4")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The Compute Engine metadata entries to add to all instances (see - /// [Project and instance - /// metadata]()). + /// The Compute Engine metadata entries to add to all instances (see + /// [Project and instance + /// metadata]()). #[prost(map="string, string", tag="5")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Reservation Affinity for consuming Zonal reservation. + /// Optional. Reservation Affinity for consuming Zonal reservation. #[prost(message, optional, tag="11")] pub reservation_affinity: ::core::option::Option, - /// Optional. Node Group Affinity for sole-tenant clusters. + /// Optional. Node Group Affinity for sole-tenant clusters. #[prost(message, optional, tag="13")] pub node_group_affinity: ::core::option::Option, - /// Optional. Shielded Instance Config for clusters using [Compute Engine Shielded - /// VMs](). + /// Optional. Shielded Instance Config for clusters using [Compute Engine Shielded + /// VMs](). #[prost(message, optional, tag="14")] pub shielded_instance_config: ::core::option::Option, - /// Optional. Confidential Instance Config for clusters using [Confidential - /// VMs](). + /// Optional. Confidential Instance Config for clusters using [Confidential + /// VMs](). #[prost(message, optional, tag="15")] pub confidential_instance_config: ::core::option::Option, } /// Nested message and enum types in `GceClusterConfig`. pub mod gce_cluster_config { - /// `PrivateIpv6GoogleAccess` controls whether and how Dataproc cluster nodes - /// can communicate with Google Services through gRPC over IPv6. - /// These values are directly mapped to corresponding values in the - /// [Compute Engine Instance - /// fields](). + /// `PrivateIpv6GoogleAccess` controls whether and how Dataproc cluster nodes + /// can communicate with Google Services through gRPC over IPv6. + /// These values are directly mapped to corresponding values in the + /// [Compute Engine Instance + /// fields](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum PrivateIpv6GoogleAccess { - /// If unspecified, Compute Engine default behavior will apply, which - /// is the same as \[INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK\]. + /// If unspecified, Compute Engine default behavior will apply, which + /// is the same as \[INHERIT_FROM_SUBNETWORK][google.cloud.dataproc.v1.GceClusterConfig.PrivateIpv6GoogleAccess.INHERIT_FROM_SUBNETWORK\]. Unspecified = 0, - /// Private access to and from Google Services configuration - /// inherited from the subnetwork configuration. This is the - /// default Compute Engine behavior. + /// Private access to and from Google Services configuration + /// inherited from the subnetwork configuration. This is the + /// default Compute Engine behavior. InheritFromSubnetwork = 1, - /// Enables outbound private IPv6 access to Google Services from the Dataproc - /// cluster. + /// Enables outbound private IPv6 access to Google Services from the Dataproc + /// cluster. Outbound = 2, - /// Enables bidirectional private IPv6 access between Google Services and the - /// Dataproc cluster. + /// Enables bidirectional private IPv6 access between Google Services and the + /// Dataproc cluster. Bidirectional = 3, } impl PrivateIpv6GoogleAccess { @@ -1645,146 +1645,146 @@ pub mod gce_cluster_config { } } } -/// Node Group Affinity for clusters using sole-tenant node groups. +/// Node Group Affinity for clusters using sole-tenant node groups. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeGroupAffinity { - /// Required. The URI of a - /// sole-tenant [node group - /// resource]() - /// that the cluster will be created on. + /// Required. The URI of a + /// sole-tenant [node group + /// resource]() + /// that the cluster will be created on. /// - /// A full URL, partial URI, or node group name are valid. Examples: + /// A full URL, partial URI, or node group name are valid. Examples: /// - /// * ` - /// * `projects/\[project_id\]/zones/us-central1-a/nodeGroups/node-group-1` - /// * `node-group-1` + /// * ` + /// * `projects/\[project_id\]/zones/us-central1-a/nodeGroups/node-group-1` + /// * `node-group-1` #[prost(string, tag="1")] pub node_group_uri: ::prost::alloc::string::String, } -/// Shielded Instance Config for clusters using [Compute Engine Shielded -/// VMs](). +/// Shielded Instance Config for clusters using [Compute Engine Shielded +/// VMs](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct ShieldedInstanceConfig { - /// Optional. Defines whether instances have Secure Boot enabled. + /// Optional. Defines whether instances have Secure Boot enabled. #[prost(bool, tag="1")] pub enable_secure_boot: bool, - /// Optional. Defines whether instances have the vTPM enabled. + /// Optional. Defines whether instances have the vTPM enabled. #[prost(bool, tag="2")] pub enable_vtpm: bool, - /// Optional. Defines whether instances have integrity monitoring enabled. + /// Optional. Defines whether instances have integrity monitoring enabled. #[prost(bool, tag="3")] pub enable_integrity_monitoring: bool, } -/// Confidential Instance Config for clusters using [Confidential -/// VMs]() +/// Confidential Instance Config for clusters using [Confidential +/// VMs]() #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidentialInstanceConfig { - /// Optional. Defines whether the instance should have confidential compute enabled. + /// Optional. Defines whether the instance should have confidential compute enabled. #[prost(bool, tag="1")] pub enable_confidential_compute: bool, } -/// The config settings for Compute Engine resources in -/// an instance group, such as a master or worker group. +/// The config settings for Compute Engine resources in +/// an instance group, such as a master or worker group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstanceGroupConfig { - /// Optional. The number of VM instances in the instance group. - /// For [HA - /// cluster](/dataproc/docs/concepts/configuring-clusters/high-availability) - /// \[master_config\](#FIELDS.master_config) groups, **must be set to 3**. - /// For standard cluster \[master_config\](#FIELDS.master_config) groups, - /// **must be set to 1**. + /// Optional. The number of VM instances in the instance group. + /// For [HA + /// cluster](/dataproc/docs/concepts/configuring-clusters/high-availability) + /// \[master_config\](#FIELDS.master_config) groups, **must be set to 3**. + /// For standard cluster \[master_config\](#FIELDS.master_config) groups, + /// **must be set to 1**. #[prost(int32, tag="1")] pub num_instances: i32, - /// Output only. The list of instance names. Dataproc derives the names - /// from `cluster_name`, `num_instances`, and the instance group. + /// Output only. The list of instance names. Dataproc derives the names + /// from `cluster_name`, `num_instances`, and the instance group. #[prost(string, repeated, tag="2")] pub instance_names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The Compute Engine image resource used for cluster instances. + /// Optional. The Compute Engine image resource used for cluster instances. /// - /// The URI can represent an image or image family. + /// The URI can represent an image or image family. /// - /// Image examples: + /// Image examples: /// - /// * ` - /// * `projects/\[project_id]/global/images/[image-id\]` - /// * `image-id` + /// * ` + /// * `projects/\[project_id]/global/images/[image-id\]` + /// * `image-id` /// - /// Image family examples. Dataproc will use the most recent - /// image from the family: + /// Image family examples. Dataproc will use the most recent + /// image from the family: /// - /// * ` - /// * `projects/\[project_id]/global/images/family/[custom-image-family-name\]` + /// * ` + /// * `projects/\[project_id]/global/images/family/[custom-image-family-name\]` /// - /// If the URI is unspecified, it will be inferred from - /// `SoftwareConfig.image_version` or the system default. + /// If the URI is unspecified, it will be inferred from + /// `SoftwareConfig.image_version` or the system default. #[prost(string, tag="3")] pub image_uri: ::prost::alloc::string::String, - /// Optional. The Compute Engine machine type used for cluster instances. + /// Optional. The Compute Engine machine type used for cluster instances. /// - /// A full URL, partial URI, or short name are valid. Examples: + /// A full URL, partial URI, or short name are valid. Examples: /// - /// * ` - /// * `projects/\[project_id\]/zones/us-east1-a/machineTypes/n1-standard-2` - /// * `n1-standard-2` + /// * ` + /// * `projects/\[project_id\]/zones/us-east1-a/machineTypes/n1-standard-2` + /// * `n1-standard-2` /// - /// **Auto Zone Exception**: If you are using the Dataproc - /// [Auto Zone - /// Placement]() - /// feature, you must use the short name of the machine type - /// resource, for example, `n1-standard-2`. + /// **Auto Zone Exception**: If you are using the Dataproc + /// [Auto Zone + /// Placement]() + /// feature, you must use the short name of the machine type + /// resource, for example, `n1-standard-2`. #[prost(string, tag="4")] pub machine_type_uri: ::prost::alloc::string::String, - /// Optional. Disk option config settings. + /// Optional. Disk option config settings. #[prost(message, optional, tag="5")] pub disk_config: ::core::option::Option, - /// Output only. Specifies that this instance group contains preemptible - /// instances. + /// Output only. Specifies that this instance group contains preemptible + /// instances. #[prost(bool, tag="6")] pub is_preemptible: bool, - /// Optional. Specifies the preemptibility of the instance group. + /// Optional. Specifies the preemptibility of the instance group. /// - /// The default value for master and worker groups is - /// `NON_PREEMPTIBLE`. This default cannot be changed. + /// The default value for master and worker groups is + /// `NON_PREEMPTIBLE`. This default cannot be changed. /// - /// The default value for secondary instances is - /// `PREEMPTIBLE`. + /// The default value for secondary instances is + /// `PREEMPTIBLE`. #[prost(enumeration="instance_group_config::Preemptibility", tag="10")] pub preemptibility: i32, - /// Output only. The config for Compute Engine Instance Group - /// Manager that manages this group. - /// This is only used for preemptible instance groups. + /// Output only. The config for Compute Engine Instance Group + /// Manager that manages this group. + /// This is only used for preemptible instance groups. #[prost(message, optional, tag="7")] pub managed_group_config: ::core::option::Option, - /// Optional. The Compute Engine accelerator configuration for these - /// instances. + /// Optional. The Compute Engine accelerator configuration for these + /// instances. #[prost(message, repeated, tag="8")] pub accelerators: ::prost::alloc::vec::Vec, - /// Optional. Specifies the minimum cpu platform for the Instance Group. - /// See [Dataproc -> Minimum CPU - /// Platform](). + /// Optional. Specifies the minimum cpu platform for the Instance Group. + /// See [Dataproc -> Minimum CPU + /// Platform](). #[prost(string, tag="9")] pub min_cpu_platform: ::prost::alloc::string::String, } /// Nested message and enum types in `InstanceGroupConfig`. pub mod instance_group_config { - /// Controls the use of - /// [preemptible instances] - /// () - /// within the group. + /// Controls the use of + /// [preemptible instances] + /// () + /// within the group. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Preemptibility { - /// Preemptibility is unspecified, the system will choose the - /// appropriate setting for each instance group. + /// Preemptibility is unspecified, the system will choose the + /// appropriate setting for each instance group. Unspecified = 0, - /// Instances are non-preemptible. + /// Instances are non-preemptible. /// - /// This option is allowed for all instance groups and is the only valid - /// value for Master and Worker instance groups. + /// This option is allowed for all instance groups and is the only valid + /// value for Master and Worker instance groups. NonPreemptible = 1, - /// Instances are preemptible. + /// Instances are preemptible. /// - /// This option is allowed only for secondary worker groups. + /// This option is allowed only for secondary worker groups. Preemptible = 2, } impl Preemptibility { @@ -1801,138 +1801,138 @@ pub mod instance_group_config { } } } -/// Specifies the resources used to actively manage an instance group. +/// Specifies the resources used to actively manage an instance group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedGroupConfig { - /// Output only. The name of the Instance Template used for the Managed - /// Instance Group. + /// Output only. The name of the Instance Template used for the Managed + /// Instance Group. #[prost(string, tag="1")] pub instance_template_name: ::prost::alloc::string::String, - /// Output only. The name of the Instance Group Manager for this group. + /// Output only. The name of the Instance Group Manager for this group. #[prost(string, tag="2")] pub instance_group_manager_name: ::prost::alloc::string::String, } -/// Specifies the type and number of accelerator cards attached to the instances -/// of an instance. See [GPUs on Compute -/// Engine](). +/// Specifies the type and number of accelerator cards attached to the instances +/// of an instance. See [GPUs on Compute +/// Engine](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct AcceleratorConfig { - /// Full URL, partial URI, or short name of the accelerator type resource to - /// expose to this instance. See - /// [Compute Engine - /// AcceleratorTypes](). - /// - /// Examples: - /// - /// * ` - /// * `projects/\[project_id\]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` - /// * `nvidia-tesla-k80` - /// - /// **Auto Zone Exception**: If you are using the Dataproc - /// [Auto Zone - /// Placement]() - /// feature, you must use the short name of the accelerator type - /// resource, for example, `nvidia-tesla-k80`. + /// Full URL, partial URI, or short name of the accelerator type resource to + /// expose to this instance. See + /// [Compute Engine + /// AcceleratorTypes](). + /// + /// Examples: + /// + /// * ` + /// * `projects/\[project_id\]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80` + /// * `nvidia-tesla-k80` + /// + /// **Auto Zone Exception**: If you are using the Dataproc + /// [Auto Zone + /// Placement]() + /// feature, you must use the short name of the accelerator type + /// resource, for example, `nvidia-tesla-k80`. #[prost(string, tag="1")] pub accelerator_type_uri: ::prost::alloc::string::String, - /// The number of the accelerator cards of this type exposed to this instance. + /// The number of the accelerator cards of this type exposed to this instance. #[prost(int32, tag="2")] pub accelerator_count: i32, } -/// Specifies the config of disk options for a group of VM instances. +/// Specifies the config of disk options for a group of VM instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiskConfig { - /// Optional. Type of the boot disk (default is "pd-standard"). - /// Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), - /// "pd-ssd" (Persistent Disk Solid State Drive), - /// or "pd-standard" (Persistent Disk Hard Disk Drive). - /// See [Disk types](). + /// Optional. Type of the boot disk (default is "pd-standard"). + /// Valid values: "pd-balanced" (Persistent Disk Balanced Solid State Drive), + /// "pd-ssd" (Persistent Disk Solid State Drive), + /// or "pd-standard" (Persistent Disk Hard Disk Drive). + /// See [Disk types](). #[prost(string, tag="3")] pub boot_disk_type: ::prost::alloc::string::String, - /// Optional. Size in GB of the boot disk (default is 500GB). + /// Optional. Size in GB of the boot disk (default is 500GB). #[prost(int32, tag="1")] pub boot_disk_size_gb: i32, - /// Optional. Number of attached SSDs, from 0 to 4 (default is 0). - /// If SSDs are not attached, the boot disk is used to store runtime logs and - /// \[HDFS\]() data. - /// If one or more SSDs are attached, this runtime bulk - /// data is spread across them, and the boot disk contains only basic - /// config and installed binaries. + /// Optional. Number of attached SSDs, from 0 to 4 (default is 0). + /// If SSDs are not attached, the boot disk is used to store runtime logs and + /// \[HDFS\]() data. + /// If one or more SSDs are attached, this runtime bulk + /// data is spread across them, and the boot disk contains only basic + /// config and installed binaries. #[prost(int32, tag="2")] pub num_local_ssds: i32, - /// Optional. Interface type of local SSDs (default is "scsi"). - /// Valid values: "scsi" (Small Computer System Interface), - /// "nvme" (Non-Volatile Memory Express). - /// See [local SSD - /// performance](). + /// Optional. Interface type of local SSDs (default is "scsi"). + /// Valid values: "scsi" (Small Computer System Interface), + /// "nvme" (Non-Volatile Memory Express). + /// See [local SSD + /// performance](). #[prost(string, tag="4")] pub local_ssd_interface: ::prost::alloc::string::String, } -/// Specifies an executable to run on a fully configured node and a -/// timeout period for executable completion. +/// Specifies an executable to run on a fully configured node and a +/// timeout period for executable completion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NodeInitializationAction { - /// Required. Cloud Storage URI of executable file. + /// Required. Cloud Storage URI of executable file. #[prost(string, tag="1")] pub executable_file: ::prost::alloc::string::String, - /// Optional. Amount of time executable has to complete. Default is - /// 10 minutes (see JSON representation of - /// \[Duration\]()). + /// Optional. Amount of time executable has to complete. Default is + /// 10 minutes (see JSON representation of + /// \[Duration\]()). /// - /// Cluster creation fails with an explanatory error message (the - /// name of the executable that caused the error and the exceeded timeout - /// period) if the executable is not completed at end of the timeout period. + /// Cluster creation fails with an explanatory error message (the + /// name of the executable that caused the error and the exceeded timeout + /// period) if the executable is not completed at end of the timeout period. #[prost(message, optional, tag="2")] pub execution_timeout: ::core::option::Option<::prost_types::Duration>, } -/// The status of a cluster and its instances. +/// The status of a cluster and its instances. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterStatus { - /// Output only. The cluster's state. + /// Output only. The cluster's state. #[prost(enumeration="cluster_status::State", tag="1")] pub state: i32, - /// Optional. Output only. Details of cluster's state. + /// Optional. Output only. Details of cluster's state. #[prost(string, tag="2")] pub detail: ::prost::alloc::string::String, - /// Output only. Time when this state was entered (see JSON representation of - /// \[Timestamp\]()). + /// Output only. Time when this state was entered (see JSON representation of + /// \[Timestamp\]()). #[prost(message, optional, tag="3")] pub state_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Additional state information that includes - /// status reported by the agent. + /// Output only. Additional state information that includes + /// status reported by the agent. #[prost(enumeration="cluster_status::Substate", tag="4")] pub substate: i32, } /// Nested message and enum types in `ClusterStatus`. pub mod cluster_status { - /// The cluster state. + /// The cluster state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The cluster state is unknown. + /// The cluster state is unknown. Unknown = 0, - /// The cluster is being created and set up. It is not ready for use. + /// The cluster is being created and set up. It is not ready for use. Creating = 1, - /// The cluster is currently running and healthy. It is ready for use. + /// The cluster is currently running and healthy. It is ready for use. /// - /// **Note:** The cluster state changes from "creating" to "running" status - /// after the master node(s), first two primary worker nodes (and the last - /// primary worker node if primary workers > 2) are running. + /// **Note:** The cluster state changes from "creating" to "running" status + /// after the master node(s), first two primary worker nodes (and the last + /// primary worker node if primary workers > 2) are running. Running = 2, - /// The cluster encountered an error. It is not ready for use. + /// The cluster encountered an error. It is not ready for use. Error = 3, - /// The cluster has encountered an error while being updated. Jobs can - /// be submitted to the cluster, but the cluster cannot be updated. + /// The cluster has encountered an error while being updated. Jobs can + /// be submitted to the cluster, but the cluster cannot be updated. ErrorDueToUpdate = 9, - /// The cluster is being deleted. It cannot be used. + /// The cluster is being deleted. It cannot be used. Deleting = 4, - /// The cluster is being updated. It continues to accept and process jobs. + /// The cluster is being updated. It continues to accept and process jobs. Updating = 5, - /// The cluster is being stopped. It cannot be used. + /// The cluster is being stopped. It cannot be used. Stopping = 6, - /// The cluster is currently stopped. It is not ready for use. + /// The cluster is currently stopped. It is not ready for use. Stopped = 7, - /// The cluster is being started. It is not ready for use. + /// The cluster is being started. It is not ready for use. Starting = 8, } impl State { @@ -1955,22 +1955,22 @@ pub mod cluster_status { } } } - /// The cluster substate. + /// The cluster substate. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Substate { - /// The cluster substate is unknown. + /// The cluster substate is unknown. Unspecified = 0, - /// The cluster is known to be in an unhealthy state - /// (for example, critical daemons are not running or HDFS capacity is - /// exhausted). + /// The cluster is known to be in an unhealthy state + /// (for example, critical daemons are not running or HDFS capacity is + /// exhausted). /// - /// Applies to RUNNING state. + /// Applies to RUNNING state. Unhealthy = 1, - /// The agent-reported status is out of date (may occur if - /// Dataproc loses communication with Agent). + /// The agent-reported status is out of date (may occur if + /// Dataproc loses communication with Agent). /// - /// Applies to RUNNING state. + /// Applies to RUNNING state. StaleStatus = 2, } impl Substate { @@ -1987,257 +1987,257 @@ pub mod cluster_status { } } } -/// Security related configuration, including encryption, Kerberos, etc. +/// Security related configuration, including encryption, Kerberos, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecurityConfig { - /// Optional. Kerberos related configuration. + /// Optional. Kerberos related configuration. #[prost(message, optional, tag="1")] pub kerberos_config: ::core::option::Option, - /// Optional. Identity related configuration, including service account based - /// secure multi-tenancy user mappings. + /// Optional. Identity related configuration, including service account based + /// secure multi-tenancy user mappings. #[prost(message, optional, tag="2")] pub identity_config: ::core::option::Option, } -/// Specifies Kerberos related configuration. +/// Specifies Kerberos related configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct KerberosConfig { - /// Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set - /// this field to true to enable Kerberos on a cluster. + /// Optional. Flag to indicate whether to Kerberize the cluster (default: false). Set + /// this field to true to enable Kerberos on a cluster. #[prost(bool, tag="1")] pub enable_kerberos: bool, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the root - /// principal password. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the root + /// principal password. #[prost(string, tag="2")] pub root_principal_password_uri: ::prost::alloc::string::String, - /// Optional. The uri of the KMS key used to encrypt various sensitive - /// files. + /// Optional. The uri of the KMS key used to encrypt various sensitive + /// files. #[prost(string, tag="3")] pub kms_key_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of the keystore file used for SSL - /// encryption. If not provided, Dataproc will provide a self-signed - /// certificate. + /// Optional. The Cloud Storage URI of the keystore file used for SSL + /// encryption. If not provided, Dataproc will provide a self-signed + /// certificate. #[prost(string, tag="4")] pub keystore_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of the truststore file used for SSL - /// encryption. If not provided, Dataproc will provide a self-signed - /// certificate. + /// Optional. The Cloud Storage URI of the truststore file used for SSL + /// encryption. If not provided, Dataproc will provide a self-signed + /// certificate. #[prost(string, tag="5")] pub truststore_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the - /// password to the user provided keystore. For the self-signed certificate, - /// this password is generated by Dataproc. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the + /// password to the user provided keystore. For the self-signed certificate, + /// this password is generated by Dataproc. #[prost(string, tag="6")] pub keystore_password_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the - /// password to the user provided key. For the self-signed certificate, this - /// password is generated by Dataproc. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the + /// password to the user provided key. For the self-signed certificate, this + /// password is generated by Dataproc. #[prost(string, tag="7")] pub key_password_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the - /// password to the user provided truststore. For the self-signed certificate, - /// this password is generated by Dataproc. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the + /// password to the user provided truststore. For the self-signed certificate, + /// this password is generated by Dataproc. #[prost(string, tag="8")] pub truststore_password_uri: ::prost::alloc::string::String, - /// Optional. The remote realm the Dataproc on-cluster KDC will trust, should - /// the user enable cross realm trust. + /// Optional. The remote realm the Dataproc on-cluster KDC will trust, should + /// the user enable cross realm trust. #[prost(string, tag="9")] pub cross_realm_trust_realm: ::prost::alloc::string::String, - /// Optional. The KDC (IP or hostname) for the remote trusted realm in a cross - /// realm trust relationship. + /// Optional. The KDC (IP or hostname) for the remote trusted realm in a cross + /// realm trust relationship. #[prost(string, tag="10")] pub cross_realm_trust_kdc: ::prost::alloc::string::String, - /// Optional. The admin server (IP or hostname) for the remote trusted realm in - /// a cross realm trust relationship. + /// Optional. The admin server (IP or hostname) for the remote trusted realm in + /// a cross realm trust relationship. #[prost(string, tag="11")] pub cross_realm_trust_admin_server: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the - /// shared password between the on-cluster Kerberos realm and the remote - /// trusted realm, in a cross realm trust relationship. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the + /// shared password between the on-cluster Kerberos realm and the remote + /// trusted realm, in a cross realm trust relationship. #[prost(string, tag="12")] pub cross_realm_trust_shared_password_uri: ::prost::alloc::string::String, - /// Optional. The Cloud Storage URI of a KMS encrypted file containing the - /// master key of the KDC database. + /// Optional. The Cloud Storage URI of a KMS encrypted file containing the + /// master key of the KDC database. #[prost(string, tag="13")] pub kdc_db_key_uri: ::prost::alloc::string::String, - /// Optional. The lifetime of the ticket granting ticket, in hours. - /// If not specified, or user specifies 0, then default value 10 - /// will be used. + /// Optional. The lifetime of the ticket granting ticket, in hours. + /// If not specified, or user specifies 0, then default value 10 + /// will be used. #[prost(int32, tag="14")] pub tgt_lifetime_hours: i32, - /// Optional. The name of the on-cluster Kerberos realm. - /// If not specified, the uppercased domain of hostnames will be the realm. + /// Optional. The name of the on-cluster Kerberos realm. + /// If not specified, the uppercased domain of hostnames will be the realm. #[prost(string, tag="15")] pub realm: ::prost::alloc::string::String, } -/// Identity related configuration, including service account based -/// secure multi-tenancy user mappings. +/// Identity related configuration, including service account based +/// secure multi-tenancy user mappings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IdentityConfig { - /// Required. Map of user to service account. + /// Required. Map of user to service account. #[prost(map="string, string", tag="1")] pub user_service_account_mapping: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Specifies the selection and config of software inside the cluster. +/// Specifies the selection and config of software inside the cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SoftwareConfig { - /// Optional. The version of software inside the cluster. It must be one of the - /// supported [Dataproc - /// Versions](), - /// such as "1.2" (including a subminor version, such as "1.2.29"), or the - /// ["preview" - /// version](). - /// If unspecified, it defaults to the latest Debian version. + /// Optional. The version of software inside the cluster. It must be one of the + /// supported [Dataproc + /// Versions](), + /// such as "1.2" (including a subminor version, such as "1.2.29"), or the + /// ["preview" + /// version](). + /// If unspecified, it defaults to the latest Debian version. #[prost(string, tag="1")] pub image_version: ::prost::alloc::string::String, - /// Optional. The properties to set on daemon config files. - /// - /// Property keys are specified in `prefix:property` format, for example - /// `core:hadoop.tmp.dir`. The following are supported prefixes - /// and their mappings: - /// - /// * capacity-scheduler: `capacity-scheduler.xml` - /// * core: `core-site.xml` - /// * distcp: `distcp-default.xml` - /// * hdfs: `hdfs-site.xml` - /// * hive: `hive-site.xml` - /// * mapred: `mapred-site.xml` - /// * pig: `pig.properties` - /// * spark: `spark-defaults.conf` - /// * yarn: `yarn-site.xml` - /// - /// For more information, see [Cluster - /// properties](). + /// Optional. The properties to set on daemon config files. + /// + /// Property keys are specified in `prefix:property` format, for example + /// `core:hadoop.tmp.dir`. The following are supported prefixes + /// and their mappings: + /// + /// * capacity-scheduler: `capacity-scheduler.xml` + /// * core: `core-site.xml` + /// * distcp: `distcp-default.xml` + /// * hdfs: `hdfs-site.xml` + /// * hive: `hive-site.xml` + /// * mapred: `mapred-site.xml` + /// * pig: `pig.properties` + /// * spark: `spark-defaults.conf` + /// * yarn: `yarn-site.xml` + /// + /// For more information, see [Cluster + /// properties](). #[prost(map="string, string", tag="2")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The set of components to activate on the cluster. + /// Optional. The set of components to activate on the cluster. #[prost(enumeration="Component", repeated, packed="false", tag="3")] pub optional_components: ::prost::alloc::vec::Vec, } -/// Specifies the cluster auto-delete schedule configuration. +/// Specifies the cluster auto-delete schedule configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LifecycleConfig { - /// Optional. The duration to keep the cluster alive while idling (when no jobs - /// are running). Passing this threshold will cause the cluster to be - /// deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON - /// representation of - /// \[Duration\]()). + /// Optional. The duration to keep the cluster alive while idling (when no jobs + /// are running). Passing this threshold will cause the cluster to be + /// deleted. Minimum value is 5 minutes; maximum value is 14 days (see JSON + /// representation of + /// \[Duration\]()). #[prost(message, optional, tag="1")] pub idle_delete_ttl: ::core::option::Option<::prost_types::Duration>, - /// Output only. The time when cluster became idle (most recent job finished) - /// and became eligible for deletion due to idleness (see JSON representation - /// of - /// \[Timestamp\]()). + /// Output only. The time when cluster became idle (most recent job finished) + /// and became eligible for deletion due to idleness (see JSON representation + /// of + /// \[Timestamp\]()). #[prost(message, optional, tag="4")] pub idle_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Either the exact time the cluster should be deleted at or - /// the cluster maximum age. + /// Either the exact time the cluster should be deleted at or + /// the cluster maximum age. #[prost(oneof="lifecycle_config::Ttl", tags="2, 3")] pub ttl: ::core::option::Option, } /// Nested message and enum types in `LifecycleConfig`. pub mod lifecycle_config { - /// Either the exact time the cluster should be deleted at or - /// the cluster maximum age. + /// Either the exact time the cluster should be deleted at or + /// the cluster maximum age. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Ttl { - /// Optional. The time when cluster will be auto-deleted (see JSON representation of - /// \[Timestamp\]()). + /// Optional. The time when cluster will be auto-deleted (see JSON representation of + /// \[Timestamp\]()). #[prost(message, tag="2")] AutoDeleteTime(::prost_types::Timestamp), - /// Optional. The lifetime duration of cluster. The cluster will be - /// auto-deleted at the end of this period. Minimum value is 10 minutes; - /// maximum value is 14 days (see JSON representation of - /// \[Duration\]()). + /// Optional. The lifetime duration of cluster. The cluster will be + /// auto-deleted at the end of this period. Minimum value is 10 minutes; + /// maximum value is 14 days (see JSON representation of + /// \[Duration\]()). #[prost(message, tag="3")] AutoDeleteTtl(::prost_types::Duration), } } -/// Specifies a Metastore configuration. +/// Specifies a Metastore configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MetastoreConfig { - /// Required. Resource name of an existing Dataproc Metastore service. + /// Required. Resource name of an existing Dataproc Metastore service. /// - /// Example: + /// Example: /// - /// * `projects/\[project_id]/locations/[dataproc_region]/services/[service-name\]` + /// * `projects/\[project_id]/locations/[dataproc_region]/services/[service-name\]` #[prost(string, tag="1")] pub dataproc_metastore_service: ::prost::alloc::string::String, } -/// Contains cluster daemon metrics, such as HDFS and YARN stats. +/// Contains cluster daemon metrics, such as HDFS and YARN stats. /// -/// **Beta Feature**: This report is available for testing purposes only. It may -/// be changed before final release. +/// **Beta Feature**: This report is available for testing purposes only. It may +/// be changed before final release. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterMetrics { - /// The HDFS metrics. + /// The HDFS metrics. #[prost(map="string, int64", tag="1")] pub hdfs_metrics: ::std::collections::HashMap<::prost::alloc::string::String, i64>, - /// The YARN metrics. + /// The YARN metrics. #[prost(map="string, int64", tag="2")] pub yarn_metrics: ::std::collections::HashMap<::prost::alloc::string::String, i64>, } -/// A request to create a cluster. +/// A request to create a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateClusterRequest { - /// Required. The ID of the Google Cloud Platform project that the cluster - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the cluster + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The cluster to create. + /// Required. The cluster to create. #[prost(message, optional, tag="2")] pub cluster: ::core::option::Option, - /// Optional. A unique ID used to identify the request. If the server receives two - /// \[CreateClusterRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the backend - /// is returned. + /// Optional. A unique ID used to identify the request. If the server receives two + /// \[CreateClusterRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the backend + /// is returned. /// - /// It is recommended to always set this value to a - /// \[UUID\](). + /// It is recommended to always set this value to a + /// \[UUID\](). /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. Failure action when primary worker creation fails. + /// Optional. Failure action when primary worker creation fails. #[prost(enumeration="FailureAction", tag="5")] pub action_on_failed_primary_workers: i32, } -/// A request to update a cluster. +/// A request to update a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateClusterRequest { - /// Required. The ID of the Google Cloud Platform project the - /// cluster belongs to. + /// Required. The ID of the Google Cloud Platform project the + /// cluster belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="5")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, - /// Required. The changes to the cluster. + /// Required. The changes to the cluster. #[prost(message, optional, tag="3")] pub cluster: ::core::option::Option, - /// Optional. Timeout for graceful YARN decomissioning. Graceful - /// decommissioning allows removing nodes from the cluster without - /// interrupting jobs in progress. Timeout specifies how long to wait for jobs - /// in progress to finish before forcefully removing nodes (and potentially - /// interrupting jobs). Default timeout is 0 (for forceful decommission), and - /// the maximum allowed timeout is 1 day. (see JSON representation of - /// \[Duration\]()). - /// - /// Only supported on Dataproc image versions 1.2 and higher. + /// Optional. Timeout for graceful YARN decomissioning. Graceful + /// decommissioning allows removing nodes from the cluster without + /// interrupting jobs in progress. Timeout specifies how long to wait for jobs + /// in progress to finish before forcefully removing nodes (and potentially + /// interrupting jobs). Default timeout is 0 (for forceful decommission), and + /// the maximum allowed timeout is 1 day. (see JSON representation of + /// \[Duration\]()). + /// + /// Only supported on Dataproc image versions 1.2 and higher. #[prost(message, optional, tag="6")] pub graceful_decommission_timeout: ::core::option::Option<::prost_types::Duration>, - /// Required. Specifies the path, relative to `Cluster`, of - /// the field to update. For example, to change the number of workers - /// in a cluster to 5, the `update_mask` parameter would be - /// specified as `config.worker_config.num_instances`, - /// and the `PATCH` request body would specify the new value, as follows: + /// Required. Specifies the path, relative to `Cluster`, of + /// the field to update. For example, to change the number of workers + /// in a cluster to 5, the `update_mask` parameter would be + /// specified as `config.worker_config.num_instances`, + /// and the `PATCH` request body would specify the new value, as follows: /// /// { /// "config":{ @@ -2246,10 +2246,10 @@ pub struct UpdateClusterRequest { /// } /// } /// } - /// Similarly, to change the number of preemptible workers in a cluster to 5, - /// the `update_mask` parameter would be - /// `config.secondary_worker_config.num_instances`, and the `PATCH` request - /// body would be set as follows: + /// Similarly, to change the number of preemptible workers in a cluster to 5, + /// the `update_mask` parameter would be + /// `config.secondary_worker_config.num_instances`, and the `PATCH` request + /// body would be set as follows: /// /// { /// "config":{ @@ -2258,7 +2258,7 @@ pub struct UpdateClusterRequest { /// } /// } /// } - /// Note: Currently, only the following fields can be updated: + /// Note: Currently, only the following fields can be updated: /// ///
/// @@ -2286,230 +2286,230 @@ pub struct UpdateClusterRequest { ///
#[prost(message, optional, tag="4")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Optional. A unique ID used to identify the request. If the server - /// receives two - /// \[UpdateClusterRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the - /// backend is returned. - /// - /// It is recommended to always set this value to a - /// \[UUID\](). - /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique ID used to identify the request. If the server + /// receives two + /// \[UpdateClusterRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the + /// backend is returned. + /// + /// It is recommended to always set this value to a + /// \[UUID\](). + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="7")] pub request_id: ::prost::alloc::string::String, } -/// A request to stop a cluster. +/// A request to stop a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopClusterRequest { - /// Required. The ID of the Google Cloud Platform project the - /// cluster belongs to. + /// Required. The ID of the Google Cloud Platform project the + /// cluster belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="2")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="3")] pub cluster_name: ::prost::alloc::string::String, - /// Optional. Specifying the `cluster_uuid` means the RPC will fail - /// (with error NOT_FOUND) if a cluster with the specified UUID does not exist. + /// Optional. Specifying the `cluster_uuid` means the RPC will fail + /// (with error NOT_FOUND) if a cluster with the specified UUID does not exist. #[prost(string, tag="4")] pub cluster_uuid: ::prost::alloc::string::String, - /// Optional. A unique ID used to identify the request. If the server - /// receives two - /// \[StopClusterRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the - /// backend is returned. - /// - /// Recommendation: Set this value to a - /// \[UUID\](). - /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique ID used to identify the request. If the server + /// receives two + /// \[StopClusterRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the + /// backend is returned. + /// + /// Recommendation: Set this value to a + /// \[UUID\](). + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, } -/// A request to start a cluster. +/// A request to start a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartClusterRequest { - /// Required. The ID of the Google Cloud Platform project the - /// cluster belongs to. + /// Required. The ID of the Google Cloud Platform project the + /// cluster belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="2")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="3")] pub cluster_name: ::prost::alloc::string::String, - /// Optional. Specifying the `cluster_uuid` means the RPC will fail - /// (with error NOT_FOUND) if a cluster with the specified UUID does not exist. + /// Optional. Specifying the `cluster_uuid` means the RPC will fail + /// (with error NOT_FOUND) if a cluster with the specified UUID does not exist. #[prost(string, tag="4")] pub cluster_uuid: ::prost::alloc::string::String, - /// Optional. A unique ID used to identify the request. If the server - /// receives two - /// \[StartClusterRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the - /// backend is returned. - /// - /// Recommendation: Set this value to a - /// \[UUID\](). - /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique ID used to identify the request. If the server + /// receives two + /// \[StartClusterRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the + /// backend is returned. + /// + /// Recommendation: Set this value to a + /// \[UUID\](). + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, } -/// A request to delete a cluster. +/// A request to delete a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteClusterRequest { - /// Required. The ID of the Google Cloud Platform project that the cluster - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the cluster + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, - /// Optional. Specifying the `cluster_uuid` means the RPC should fail - /// (with error NOT_FOUND) if cluster with specified UUID does not exist. + /// Optional. Specifying the `cluster_uuid` means the RPC should fail + /// (with error NOT_FOUND) if cluster with specified UUID does not exist. #[prost(string, tag="4")] pub cluster_uuid: ::prost::alloc::string::String, - /// Optional. A unique ID used to identify the request. If the server - /// receives two - /// \[DeleteClusterRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the - /// backend is returned. - /// - /// It is recommended to always set this value to a - /// \[UUID\](). - /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique ID used to identify the request. If the server + /// receives two + /// \[DeleteClusterRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[google.longrunning.Operation][google.longrunning.Operation\] created and stored in the + /// backend is returned. + /// + /// It is recommended to always set this value to a + /// \[UUID\](). + /// + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, } -/// Request to get the resource representation for a cluster in a project. +/// Request to get the resource representation for a cluster in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetClusterRequest { - /// Required. The ID of the Google Cloud Platform project that the cluster - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the cluster + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, } -/// A request to list the clusters in a project. +/// A request to list the clusters in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClustersRequest { - /// Required. The ID of the Google Cloud Platform project that the cluster - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the cluster + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="4")] pub region: ::prost::alloc::string::String, - /// Optional. A filter constraining the clusters to list. Filters are - /// case-sensitive and have the following syntax: + /// Optional. A filter constraining the clusters to list. Filters are + /// case-sensitive and have the following syntax: /// - /// field = value [AND [field = value]] ... + /// field = value [AND [field = value]] ... /// - /// where **field** is one of `status.state`, `clusterName`, or `labels.\[KEY\]`, - /// and `\[KEY\]` is a label key. **value** can be `*` to match all values. - /// `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, - /// `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` - /// contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` - /// contains the `DELETING` and `ERROR` states. - /// `clusterName` is the name of the cluster provided at creation time. - /// Only the logical `AND` operator is supported; space-separated items are - /// treated as having an implicit `AND` operator. + /// where **field** is one of `status.state`, `clusterName`, or `labels.\[KEY\]`, + /// and `\[KEY\]` is a label key. **value** can be `*` to match all values. + /// `status.state` can be one of the following: `ACTIVE`, `INACTIVE`, + /// `CREATING`, `RUNNING`, `ERROR`, `DELETING`, or `UPDATING`. `ACTIVE` + /// contains the `CREATING`, `UPDATING`, and `RUNNING` states. `INACTIVE` + /// contains the `DELETING` and `ERROR` states. + /// `clusterName` is the name of the cluster provided at creation time. + /// Only the logical `AND` operator is supported; space-separated items are + /// treated as having an implicit `AND` operator. /// - /// Example filter: + /// Example filter: /// - /// status.state = ACTIVE AND clusterName = mycluster - /// AND labels.env = staging AND labels.starred = * + /// status.state = ACTIVE AND clusterName = mycluster + /// AND labels.env = staging AND labels.starred = * #[prost(string, tag="5")] pub filter: ::prost::alloc::string::String, - /// Optional. The standard List page size. + /// Optional. The standard List page size. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The standard List page token. + /// Optional. The standard List page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The list of all clusters in a project. +/// The list of all clusters in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListClustersResponse { - /// Output only. The clusters in the project. + /// Output only. The clusters in the project. #[prost(message, repeated, tag="1")] pub clusters: ::prost::alloc::vec::Vec, - /// Output only. This token is included in the response if there are more - /// results to fetch. To fetch additional results, provide this value as the - /// `page_token` in a subsequent `ListClustersRequest`. + /// Output only. This token is included in the response if there are more + /// results to fetch. To fetch additional results, provide this value as the + /// `page_token` in a subsequent `ListClustersRequest`. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to collect cluster diagnostic information. +/// A request to collect cluster diagnostic information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiagnoseClusterRequest { - /// Required. The ID of the Google Cloud Platform project that the cluster - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the cluster + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The cluster name. + /// Required. The cluster name. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, } -/// The location of diagnostic output. +/// The location of diagnostic output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiagnoseClusterResults { - /// Output only. The Cloud Storage URI of the diagnostic output. - /// The output report is a plain text file with a summary of collected - /// diagnostics. + /// Output only. The Cloud Storage URI of the diagnostic output. + /// The output report is a plain text file with a summary of collected + /// diagnostics. #[prost(string, tag="1")] pub output_uri: ::prost::alloc::string::String, } -/// Reservation Affinity for consuming Zonal reservation. +/// Reservation Affinity for consuming Zonal reservation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReservationAffinity { - /// Optional. Type of reservation to consume + /// Optional. Type of reservation to consume #[prost(enumeration="reservation_affinity::Type", tag="1")] pub consume_reservation_type: i32, - /// Optional. Corresponds to the label key of reservation resource. + /// Optional. Corresponds to the label key of reservation resource. #[prost(string, tag="2")] pub key: ::prost::alloc::string::String, - /// Optional. Corresponds to the label values of reservation resource. + /// Optional. Corresponds to the label values of reservation resource. #[prost(string, repeated, tag="3")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `ReservationAffinity`. pub mod reservation_affinity { - /// Indicates whether to consume capacity from an reservation or not. + /// Indicates whether to consume capacity from an reservation or not. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { Unspecified = 0, - /// Do not consume from any allocated capacity. + /// Do not consume from any allocated capacity. NoReservation = 1, - /// Consume any reservation available. + /// Consume any reservation available. AnyReservation = 2, - /// Must consume from a specific reservation. Must specify key value fields - /// for specifying the reservations. + /// Must consume from a specific reservation. Must specify key value fields + /// for specifying the reservations. SpecificReservation = 3, } impl Type { @@ -2792,41 +2792,41 @@ pub mod cluster_controller_client { } } } -/// The runtime logging config of the job. +/// The runtime logging config of the job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LoggingConfig { - /// The per-package log levels for the driver. This may include - /// "root" package name to configure rootLogger. - /// Examples: + /// The per-package log levels for the driver. This may include + /// "root" package name to configure rootLogger. + /// Examples: /// 'com.google = FATAL', 'root = INFO', 'org.apache = DEBUG' #[prost(map="string, enumeration(logging_config::Level)", tag="2")] pub driver_log_levels: ::std::collections::HashMap<::prost::alloc::string::String, i32>, } /// Nested message and enum types in `LoggingConfig`. pub mod logging_config { - /// The Log4j level for job execution. When running an - /// [Apache Hive]() job, Cloud - /// Dataproc configures the Hive client to an equivalent verbosity level. + /// The Log4j level for job execution. When running an + /// [Apache Hive]() job, Cloud + /// Dataproc configures the Hive client to an equivalent verbosity level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Level { - /// Level is unspecified. Use default level for log4j. + /// Level is unspecified. Use default level for log4j. Unspecified = 0, - /// Use ALL level for log4j. + /// Use ALL level for log4j. All = 1, - /// Use TRACE level for log4j. + /// Use TRACE level for log4j. Trace = 2, - /// Use DEBUG level for log4j. + /// Use DEBUG level for log4j. Debug = 3, - /// Use INFO level for log4j. + /// Use INFO level for log4j. Info = 4, - /// Use WARN level for log4j. + /// Use WARN level for log4j. Warn = 5, - /// Use ERROR level for log4j. + /// Use ERROR level for log4j. Error = 6, - /// Use FATAL level for log4j. + /// Use FATAL level for log4j. Fatal = 7, - /// Turn off log4j. + /// Turn off log4j. Off = 8, } impl Level { @@ -2849,176 +2849,176 @@ pub mod logging_config { } } } -/// A Dataproc job for running -/// [Apache Hadoop -/// MapReduce]() -/// jobs on [Apache Hadoop -/// YARN](). +/// A Dataproc job for running +/// [Apache Hadoop +/// MapReduce]() +/// jobs on [Apache Hadoop +/// YARN](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct HadoopJob { - /// Optional. The arguments to pass to the driver. Do not - /// include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as - /// job properties, since a collision may occur that causes an incorrect job - /// submission. + /// Optional. The arguments to pass to the driver. Do not + /// include arguments, such as `-libjars` or `-Dfoo=bar`, that can be set as + /// job properties, since a collision may occur that causes an incorrect job + /// submission. #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Jar file URIs to add to the CLASSPATHs of the - /// Hadoop driver and tasks. + /// Optional. Jar file URIs to add to the CLASSPATHs of the + /// Hadoop driver and tasks. #[prost(string, repeated, tag="4")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied - /// to the working directory of Hadoop drivers and distributed tasks. Useful - /// for naively parallel tasks. + /// Optional. HCFS (Hadoop Compatible Filesystem) URIs of files to be copied + /// to the working directory of Hadoop drivers and distributed tasks. Useful + /// for naively parallel tasks. #[prost(string, repeated, tag="5")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted in the working directory of - /// Hadoop drivers and tasks. Supported file types: - /// .jar, .tar, .tar.gz, .tgz, or .zip. + /// Optional. HCFS URIs of archives to be extracted in the working directory of + /// Hadoop drivers and tasks. Supported file types: + /// .jar, .tar, .tar.gz, .tgz, or .zip. #[prost(string, repeated, tag="6")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure Hadoop. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in /etc/hadoop/conf/*-site and - /// classes in user code. + /// Optional. A mapping of property names to values, used to configure Hadoop. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in /etc/hadoop/conf/*-site and + /// classes in user code. #[prost(map="string, string", tag="7")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="8")] pub logging_config: ::core::option::Option, - /// Required. Indicates the location of the driver's main class. Specify - /// either the jar file that contains the main class or the main class name. - /// To specify both, add the jar file to `jar_file_uris`, and then specify - /// the main class name in this property. + /// Required. Indicates the location of the driver's main class. Specify + /// either the jar file that contains the main class or the main class name. + /// To specify both, add the jar file to `jar_file_uris`, and then specify + /// the main class name in this property. #[prost(oneof="hadoop_job::Driver", tags="1, 2")] pub driver: ::core::option::Option, } /// Nested message and enum types in `HadoopJob`. pub mod hadoop_job { - /// Required. Indicates the location of the driver's main class. Specify - /// either the jar file that contains the main class or the main class name. - /// To specify both, add the jar file to `jar_file_uris`, and then specify - /// the main class name in this property. + /// Required. Indicates the location of the driver's main class. Specify + /// either the jar file that contains the main class or the main class name. + /// To specify both, add the jar file to `jar_file_uris`, and then specify + /// the main class name in this property. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Driver { - /// The HCFS URI of the jar file containing the main class. - /// Examples: + /// The HCFS URI of the jar file containing the main class. + /// Examples: /// 'gs://foo-bucket/analytics-binaries/extract-useful-metrics-mr.jar' /// 'hdfs:/tmp/test-samples/custom-wordcount.jar' /// 'file:///home/usr/lib/hadoop-mapreduce/hadoop-mapreduce-examples.jar' #[prost(string, tag="1")] MainJarFileUri(::prost::alloc::string::String), - /// The name of the driver's main class. The jar file containing the class - /// must be in the default CLASSPATH or specified in `jar_file_uris`. + /// The name of the driver's main class. The jar file containing the class + /// must be in the default CLASSPATH or specified in `jar_file_uris`. #[prost(string, tag="2")] MainClass(::prost::alloc::string::String), } } -/// A Dataproc job for running [Apache Spark]() -/// applications on YARN. +/// A Dataproc job for running [Apache Spark]() +/// applications on YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkJob { - /// Optional. The arguments to pass to the driver. Do not include arguments, - /// such as `--conf`, that can be set as job properties, since a collision may - /// occur that causes an incorrect job submission. + /// Optional. The arguments to pass to the driver. Do not include arguments, + /// such as `--conf`, that can be set as job properties, since a collision may + /// occur that causes an incorrect job submission. #[prost(string, repeated, tag="3")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - /// Spark driver and tasks. + /// Optional. HCFS URIs of jar files to add to the CLASSPATHs of the + /// Spark driver and tasks. #[prost(string, repeated, tag="4")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. Useful for naively parallel tasks. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. Useful for naively parallel tasks. #[prost(string, repeated, tag="5")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// .jar, .tar, .tar.gz, .tgz, and .zip. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// .jar, .tar, .tar.gz, .tgz, and .zip. #[prost(string, repeated, tag="6")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure Spark. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in - /// /etc/spark/conf/spark-defaults.conf and classes in user code. + /// Optional. A mapping of property names to values, used to configure Spark. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in + /// /etc/spark/conf/spark-defaults.conf and classes in user code. #[prost(map="string, string", tag="7")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="8")] pub logging_config: ::core::option::Option, - /// Required. The specification of the main method to call to drive the job. - /// Specify either the jar file that contains the main class or the main class - /// name. To pass both a main jar and a main class in that jar, add the jar to - /// `CommonJob.jar_file_uris`, and then specify the main class name in - /// `main_class`. + /// Required. The specification of the main method to call to drive the job. + /// Specify either the jar file that contains the main class or the main class + /// name. To pass both a main jar and a main class in that jar, add the jar to + /// `CommonJob.jar_file_uris`, and then specify the main class name in + /// `main_class`. #[prost(oneof="spark_job::Driver", tags="1, 2")] pub driver: ::core::option::Option, } /// Nested message and enum types in `SparkJob`. pub mod spark_job { - /// Required. The specification of the main method to call to drive the job. - /// Specify either the jar file that contains the main class or the main class - /// name. To pass both a main jar and a main class in that jar, add the jar to - /// `CommonJob.jar_file_uris`, and then specify the main class name in - /// `main_class`. + /// Required. The specification of the main method to call to drive the job. + /// Specify either the jar file that contains the main class or the main class + /// name. To pass both a main jar and a main class in that jar, add the jar to + /// `CommonJob.jar_file_uris`, and then specify the main class name in + /// `main_class`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Driver { - /// The HCFS URI of the jar file that contains the main class. + /// The HCFS URI of the jar file that contains the main class. #[prost(string, tag="1")] MainJarFileUri(::prost::alloc::string::String), - /// The name of the driver's main class. The jar file that contains the class - /// must be in the default CLASSPATH or specified in `jar_file_uris`. + /// The name of the driver's main class. The jar file that contains the class + /// must be in the default CLASSPATH or specified in `jar_file_uris`. #[prost(string, tag="2")] MainClass(::prost::alloc::string::String), } } -/// A Dataproc job for running -/// [Apache -/// PySpark]() -/// applications on YARN. +/// A Dataproc job for running +/// [Apache +/// PySpark]() +/// applications on YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PySparkJob { - /// Required. The HCFS URI of the main Python file to use as the driver. Must - /// be a .py file. + /// Required. The HCFS URI of the main Python file to use as the driver. Must + /// be a .py file. #[prost(string, tag="1")] pub main_python_file_uri: ::prost::alloc::string::String, - /// Optional. The arguments to pass to the driver. Do not include arguments, - /// such as `--conf`, that can be set as job properties, since a collision may - /// occur that causes an incorrect job submission. + /// Optional. The arguments to pass to the driver. Do not include arguments, + /// such as `--conf`, that can be set as job properties, since a collision may + /// occur that causes an incorrect job submission. #[prost(string, repeated, tag="2")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS file URIs of Python files to pass to the PySpark - /// framework. Supported file types: .py, .egg, and .zip. + /// Optional. HCFS file URIs of Python files to pass to the PySpark + /// framework. Supported file types: .py, .egg, and .zip. #[prost(string, repeated, tag="3")] pub python_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the CLASSPATHs of the - /// Python driver and tasks. + /// Optional. HCFS URIs of jar files to add to the CLASSPATHs of the + /// Python driver and tasks. #[prost(string, repeated, tag="4")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. Useful for naively parallel tasks. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. Useful for naively parallel tasks. #[prost(string, repeated, tag="5")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// .jar, .tar, .tar.gz, .tgz, and .zip. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// .jar, .tar, .tar.gz, .tgz, and .zip. #[prost(string, repeated, tag="6")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure PySpark. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in - /// /etc/spark/conf/spark-defaults.conf and classes in user code. + /// Optional. A mapping of property names to values, used to configure PySpark. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in + /// /etc/spark/conf/spark-defaults.conf and classes in user code. #[prost(map="string, string", tag="7")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="8")] pub logging_config: ::core::option::Option, } -/// A list of queries to run on a cluster. +/// A list of queries to run on a cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryList { - /// Required. The queries to execute. You do not need to end a query expression - /// with a semicolon. Multiple queries can be specified in one - /// string by separating each with a semicolon. Here is an example of a - /// Dataproc API snippet that uses a QueryList to specify a HiveJob: + /// Required. The queries to execute. You do not need to end a query expression + /// with a semicolon. Multiple queries can be specified in one + /// string by separating each with a semicolon. Here is an example of a + /// Dataproc API snippet that uses a QueryList to specify a HiveJob: /// /// "hiveJob": { /// "queryList": { @@ -3032,273 +3032,273 @@ pub struct QueryList { #[prost(string, repeated, tag="1")] pub queries: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dataproc job for running [Apache Hive]() -/// queries on YARN. +/// A Dataproc job for running [Apache Hive]() +/// queries on YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HiveJob { - /// Optional. Whether to continue executing queries if a query fails. - /// The default value is `false`. Setting to `true` can be useful when - /// executing independent parallel queries. + /// Optional. Whether to continue executing queries if a query fails. + /// The default value is `false`. Setting to `true` can be useful when + /// executing independent parallel queries. #[prost(bool, tag="3")] pub continue_on_failure: bool, - /// Optional. Mapping of query variable names to values (equivalent to the - /// Hive command: `SET name="value";`). + /// Optional. Mapping of query variable names to values (equivalent to the + /// Hive command: `SET name="value";`). #[prost(map="string, string", tag="4")] pub script_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. A mapping of property names and values, used to configure Hive. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - /// /etc/hive/conf/hive-site.xml, and classes in user code. + /// Optional. A mapping of property names and values, used to configure Hive. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, + /// /etc/hive/conf/hive-site.xml, and classes in user code. #[prost(map="string, string", tag="5")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the CLASSPATH of the - /// Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes - /// and UDFs. + /// Optional. HCFS URIs of jar files to add to the CLASSPATH of the + /// Hive server and Hadoop MapReduce (MR) tasks. Can contain Hive SerDes + /// and UDFs. #[prost(string, repeated, tag="6")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The sequence of Hive queries to execute, specified as either - /// an HCFS file URI or a list of queries. + /// Required. The sequence of Hive queries to execute, specified as either + /// an HCFS file URI or a list of queries. #[prost(oneof="hive_job::Queries", tags="1, 2")] pub queries: ::core::option::Option, } /// Nested message and enum types in `HiveJob`. pub mod hive_job { - /// Required. The sequence of Hive queries to execute, specified as either - /// an HCFS file URI or a list of queries. + /// Required. The sequence of Hive queries to execute, specified as either + /// an HCFS file URI or a list of queries. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Queries { - /// The HCFS URI of the script that contains Hive queries. + /// The HCFS URI of the script that contains Hive queries. #[prost(string, tag="1")] QueryFileUri(::prost::alloc::string::String), - /// A list of queries. + /// A list of queries. #[prost(message, tag="2")] QueryList(super::QueryList), } } -/// A Dataproc job for running [Apache Spark -/// SQL]() queries. +/// A Dataproc job for running [Apache Spark +/// SQL]() queries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkSqlJob { - /// Optional. Mapping of query variable names to values (equivalent to the - /// Spark SQL command: SET `name="value";`). + /// Optional. Mapping of query variable names to values (equivalent to the + /// Spark SQL command: SET `name="value";`). #[prost(map="string, string", tag="3")] pub script_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure - /// Spark SQL's SparkConf. Properties that conflict with values set by the - /// Dataproc API may be overwritten. + /// Optional. A mapping of property names to values, used to configure + /// Spark SQL's SparkConf. Properties that conflict with values set by the + /// Dataproc API may be overwritten. #[prost(map="string, string", tag="4")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. + /// Optional. HCFS URIs of jar files to be added to the Spark CLASSPATH. #[prost(string, repeated, tag="56")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="6")] pub logging_config: ::core::option::Option, - /// Required. The sequence of Spark SQL queries to execute, specified as - /// either an HCFS file URI or as a list of queries. + /// Required. The sequence of Spark SQL queries to execute, specified as + /// either an HCFS file URI or as a list of queries. #[prost(oneof="spark_sql_job::Queries", tags="1, 2")] pub queries: ::core::option::Option, } /// Nested message and enum types in `SparkSqlJob`. pub mod spark_sql_job { - /// Required. The sequence of Spark SQL queries to execute, specified as - /// either an HCFS file URI or as a list of queries. + /// Required. The sequence of Spark SQL queries to execute, specified as + /// either an HCFS file URI or as a list of queries. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Queries { - /// The HCFS URI of the script that contains SQL queries. + /// The HCFS URI of the script that contains SQL queries. #[prost(string, tag="1")] QueryFileUri(::prost::alloc::string::String), - /// A list of queries. + /// A list of queries. #[prost(message, tag="2")] QueryList(super::QueryList), } } -/// A Dataproc job for running [Apache Pig]() -/// queries on YARN. +/// A Dataproc job for running [Apache Pig]() +/// queries on YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PigJob { - /// Optional. Whether to continue executing queries if a query fails. - /// The default value is `false`. Setting to `true` can be useful when - /// executing independent parallel queries. + /// Optional. Whether to continue executing queries if a query fails. + /// The default value is `false`. Setting to `true` can be useful when + /// executing independent parallel queries. #[prost(bool, tag="3")] pub continue_on_failure: bool, - /// Optional. Mapping of query variable names to values (equivalent to the Pig - /// command: `name=\[value\]`). + /// Optional. Mapping of query variable names to values (equivalent to the Pig + /// command: `name=\[value\]`). #[prost(map="string, string", tag="4")] pub script_variables: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure Pig. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, - /// /etc/pig/conf/pig.properties, and classes in user code. + /// Optional. A mapping of property names to values, used to configure Pig. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in /etc/hadoop/conf/*-site.xml, + /// /etc/pig/conf/pig.properties, and classes in user code. #[prost(map="string, string", tag="5")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. HCFS URIs of jar files to add to the CLASSPATH of - /// the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. + /// Optional. HCFS URIs of jar files to add to the CLASSPATH of + /// the Pig Client and Hadoop MapReduce (MR) tasks. Can contain Pig UDFs. #[prost(string, repeated, tag="6")] pub jar_file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="7")] pub logging_config: ::core::option::Option, - /// Required. The sequence of Pig queries to execute, specified as an HCFS - /// file URI or a list of queries. + /// Required. The sequence of Pig queries to execute, specified as an HCFS + /// file URI or a list of queries. #[prost(oneof="pig_job::Queries", tags="1, 2")] pub queries: ::core::option::Option, } /// Nested message and enum types in `PigJob`. pub mod pig_job { - /// Required. The sequence of Pig queries to execute, specified as an HCFS - /// file URI or a list of queries. + /// Required. The sequence of Pig queries to execute, specified as an HCFS + /// file URI or a list of queries. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Queries { - /// The HCFS URI of the script that contains the Pig queries. + /// The HCFS URI of the script that contains the Pig queries. #[prost(string, tag="1")] QueryFileUri(::prost::alloc::string::String), - /// A list of queries. + /// A list of queries. #[prost(message, tag="2")] QueryList(super::QueryList), } } -/// A Dataproc job for running -/// [Apache SparkR]() -/// applications on YARN. +/// A Dataproc job for running +/// [Apache SparkR]() +/// applications on YARN. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SparkRJob { - /// Required. The HCFS URI of the main R file to use as the driver. - /// Must be a .R file. + /// Required. The HCFS URI of the main R file to use as the driver. + /// Must be a .R file. #[prost(string, tag="1")] pub main_r_file_uri: ::prost::alloc::string::String, - /// Optional. The arguments to pass to the driver. Do not include arguments, - /// such as `--conf`, that can be set as job properties, since a collision may - /// occur that causes an incorrect job submission. + /// Optional. The arguments to pass to the driver. Do not include arguments, + /// such as `--conf`, that can be set as job properties, since a collision may + /// occur that causes an incorrect job submission. #[prost(string, repeated, tag="2")] pub args: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of files to be placed in the working directory of - /// each executor. Useful for naively parallel tasks. + /// Optional. HCFS URIs of files to be placed in the working directory of + /// each executor. Useful for naively parallel tasks. #[prost(string, repeated, tag="3")] pub file_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. HCFS URIs of archives to be extracted into the working directory - /// of each executor. Supported file types: - /// .jar, .tar, .tar.gz, .tgz, and .zip. + /// Optional. HCFS URIs of archives to be extracted into the working directory + /// of each executor. Supported file types: + /// .jar, .tar, .tar.gz, .tgz, and .zip. #[prost(string, repeated, tag="4")] pub archive_uris: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A mapping of property names to values, used to configure SparkR. - /// Properties that conflict with values set by the Dataproc API may be - /// overwritten. Can include properties set in - /// /etc/spark/conf/spark-defaults.conf and classes in user code. + /// Optional. A mapping of property names to values, used to configure SparkR. + /// Properties that conflict with values set by the Dataproc API may be + /// overwritten. Can include properties set in + /// /etc/spark/conf/spark-defaults.conf and classes in user code. #[prost(map="string, string", tag="5")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="6")] pub logging_config: ::core::option::Option, } -/// A Dataproc job for running \[Presto\]() queries. -/// **IMPORTANT**: The [Dataproc Presto Optional -/// Component]() -/// must be enabled when the cluster is created to submit a Presto job to the -/// cluster. +/// A Dataproc job for running \[Presto\]() queries. +/// **IMPORTANT**: The [Dataproc Presto Optional +/// Component]() +/// must be enabled when the cluster is created to submit a Presto job to the +/// cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrestoJob { - /// Optional. Whether to continue executing queries if a query fails. - /// The default value is `false`. Setting to `true` can be useful when - /// executing independent parallel queries. + /// Optional. Whether to continue executing queries if a query fails. + /// The default value is `false`. Setting to `true` can be useful when + /// executing independent parallel queries. #[prost(bool, tag="3")] pub continue_on_failure: bool, - /// Optional. The format in which query output will be displayed. See the - /// Presto documentation for supported output formats + /// Optional. The format in which query output will be displayed. See the + /// Presto documentation for supported output formats #[prost(string, tag="4")] pub output_format: ::prost::alloc::string::String, - /// Optional. Presto client tags to attach to this query + /// Optional. Presto client tags to attach to this query #[prost(string, repeated, tag="5")] pub client_tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. A mapping of property names to values. Used to set Presto - /// [session properties]() - /// Equivalent to using the --session flag in the Presto CLI + /// Optional. A mapping of property names to values. Used to set Presto + /// [session properties]() + /// Equivalent to using the --session flag in the Presto CLI #[prost(map="string, string", tag="6")] pub properties: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. The runtime log config for job execution. + /// Optional. The runtime log config for job execution. #[prost(message, optional, tag="7")] pub logging_config: ::core::option::Option, - /// Required. The sequence of Presto queries to execute, specified as - /// either an HCFS file URI or as a list of queries. + /// Required. The sequence of Presto queries to execute, specified as + /// either an HCFS file URI or as a list of queries. #[prost(oneof="presto_job::Queries", tags="1, 2")] pub queries: ::core::option::Option, } /// Nested message and enum types in `PrestoJob`. pub mod presto_job { - /// Required. The sequence of Presto queries to execute, specified as - /// either an HCFS file URI or as a list of queries. + /// Required. The sequence of Presto queries to execute, specified as + /// either an HCFS file URI or as a list of queries. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Queries { - /// The HCFS URI of the script that contains SQL queries. + /// The HCFS URI of the script that contains SQL queries. #[prost(string, tag="1")] QueryFileUri(::prost::alloc::string::String), - /// A list of queries. + /// A list of queries. #[prost(message, tag="2")] QueryList(super::QueryList), } } -/// Dataproc job config. +/// Dataproc job config. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobPlacement { - /// Required. The name of the cluster where the job will be submitted. + /// Required. The name of the cluster where the job will be submitted. #[prost(string, tag="1")] pub cluster_name: ::prost::alloc::string::String, - /// Output only. A cluster UUID generated by the Dataproc service when - /// the job is submitted. + /// Output only. A cluster UUID generated by the Dataproc service when + /// the job is submitted. #[prost(string, tag="2")] pub cluster_uuid: ::prost::alloc::string::String, - /// Optional. Cluster labels to identify a cluster where the job will be submitted. + /// Optional. Cluster labels to identify a cluster where the job will be submitted. #[prost(map="string, string", tag="3")] pub cluster_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Dataproc job status. +/// Dataproc job status. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobStatus { - /// Output only. A state message specifying the overall job state. + /// Output only. A state message specifying the overall job state. #[prost(enumeration="job_status::State", tag="1")] pub state: i32, - /// Optional. Output only. Job state details, such as an error - /// description if the state is ERROR. + /// Optional. Output only. Job state details, such as an error + /// description if the state is ERROR. #[prost(string, tag="2")] pub details: ::prost::alloc::string::String, - /// Output only. The time when this state was entered. + /// Output only. The time when this state was entered. #[prost(message, optional, tag="6")] pub state_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Additional state information, which includes - /// status reported by the agent. + /// Output only. Additional state information, which includes + /// status reported by the agent. #[prost(enumeration="job_status::Substate", tag="7")] pub substate: i32, } /// Nested message and enum types in `JobStatus`. pub mod job_status { - /// The job state. + /// The job state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The job state is unknown. + /// The job state is unknown. Unspecified = 0, - /// The job is pending; it has been submitted, but is not yet running. + /// The job is pending; it has been submitted, but is not yet running. Pending = 1, - /// Job has been received by the service and completed initial setup; - /// it will soon be submitted to the cluster. + /// Job has been received by the service and completed initial setup; + /// it will soon be submitted to the cluster. SetupDone = 8, - /// The job is running on the cluster. + /// The job is running on the cluster. Running = 2, - /// A CancelJob request has been received, but is pending. + /// A CancelJob request has been received, but is pending. CancelPending = 3, - /// Transient in-flight resources have been canceled, and the request to - /// cancel the running job has been issued to the cluster. + /// Transient in-flight resources have been canceled, and the request to + /// cancel the running job has been issued to the cluster. CancelStarted = 7, - /// The job cancellation was successful. + /// The job cancellation was successful. Cancelled = 4, - /// The job has completed successfully. + /// The job has completed successfully. Done = 5, - /// The job has completed, but encountered an error. + /// The job has completed, but encountered an error. Error = 6, - /// Job attempt has failed. The detail field contains failure details for - /// this attempt. + /// Job attempt has failed. The detail field contains failure details for + /// this attempt. /// - /// Applies to restartable jobs only. + /// Applies to restartable jobs only. AttemptFailure = 9, } impl State { @@ -3321,27 +3321,27 @@ pub mod job_status { } } } - /// The job substate. + /// The job substate. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Substate { - /// The job substate is unknown. + /// The job substate is unknown. Unspecified = 0, - /// The Job is submitted to the agent. + /// The Job is submitted to the agent. /// - /// Applies to RUNNING state. + /// Applies to RUNNING state. Submitted = 1, - /// The Job has been received and is awaiting execution (it may be waiting - /// for a condition to be met). See the "details" field for the reason for - /// the delay. + /// The Job has been received and is awaiting execution (it may be waiting + /// for a condition to be met). See the "details" field for the reason for + /// the delay. /// - /// Applies to RUNNING state. + /// Applies to RUNNING state. Queued = 2, - /// The agent-reported status is out of date, which may be caused by a - /// loss of communication between the agent and Dataproc. If the - /// agent does not send a timely update, the job will fail. + /// The agent-reported status is out of date, which may be caused by a + /// loss of communication between the agent and Dataproc. If the + /// agent does not send a timely update, the job will fail. /// - /// Applies to RUNNING state. + /// Applies to RUNNING state. StaleStatus = 3, } impl Substate { @@ -3359,69 +3359,69 @@ pub mod job_status { } } } -/// Encapsulates the full scoping used to reference a job. +/// Encapsulates the full scoping used to reference a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobReference { - /// Optional. The ID of the Google Cloud Platform project that the job belongs to. If - /// specified, must match the request project ID. + /// Optional. The ID of the Google Cloud Platform project that the job belongs to. If + /// specified, must match the request project ID. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Optional. The job ID, which must be unique within the project. + /// Optional. The job ID, which must be unique within the project. /// - /// The ID must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), or hyphens (-). The maximum length is 100 characters. + /// The ID must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), or hyphens (-). The maximum length is 100 characters. /// - /// If not specified by the caller, the job ID will be provided by the server. + /// If not specified by the caller, the job ID will be provided by the server. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, } -/// A YARN application created by a job. Application information is a subset of -/// org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. +/// A YARN application created by a job. Application information is a subset of +/// org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto. /// -/// **Beta Feature**: This report is available for testing purposes only. It may -/// be changed before final release. +/// **Beta Feature**: This report is available for testing purposes only. It may +/// be changed before final release. #[derive(Clone, PartialEq, ::prost::Message)] pub struct YarnApplication { - /// Required. The application name. + /// Required. The application name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The application state. + /// Required. The application state. #[prost(enumeration="yarn_application::State", tag="2")] pub state: i32, - /// Required. The numerical progress of the application, from 1 to 100. + /// Required. The numerical progress of the application, from 1 to 100. #[prost(float, tag="3")] pub progress: f32, - /// Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or - /// TimelineServer that provides application-specific information. The URL uses - /// the internal hostname, and requires a proxy server for resolution and, - /// possibly, access. + /// Optional. The HTTP URL of the ApplicationMaster, HistoryServer, or + /// TimelineServer that provides application-specific information. The URL uses + /// the internal hostname, and requires a proxy server for resolution and, + /// possibly, access. #[prost(string, tag="4")] pub tracking_url: ::prost::alloc::string::String, } /// Nested message and enum types in `YarnApplication`. pub mod yarn_application { - /// The application state, corresponding to - /// YarnProtos.YarnApplicationStateProto. + /// The application state, corresponding to + /// YarnProtos.YarnApplicationStateProto. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Status is unspecified. + /// Status is unspecified. Unspecified = 0, - /// Status is NEW. + /// Status is NEW. New = 1, - /// Status is NEW_SAVING. + /// Status is NEW_SAVING. NewSaving = 2, - /// Status is SUBMITTED. + /// Status is SUBMITTED. Submitted = 3, - /// Status is ACCEPTED. + /// Status is ACCEPTED. Accepted = 4, - /// Status is RUNNING. + /// Status is RUNNING. Running = 5, - /// Status is FINISHED. + /// Status is FINISHED. Finished = 6, - /// Status is FAILED. + /// Status is FAILED. Failed = 7, - /// Status is KILLED. + /// Status is KILLED. Killed = 8, } impl State { @@ -3444,245 +3444,245 @@ pub mod yarn_application { } } } -/// A Dataproc job resource. +/// A Dataproc job resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Job { - /// Optional. The fully qualified reference to the job, which can be used to - /// obtain the equivalent REST path of the job resource. If this property - /// is not specified when a job is created, the server generates a - /// job_id. + /// Optional. The fully qualified reference to the job, which can be used to + /// obtain the equivalent REST path of the job resource. If this property + /// is not specified when a job is created, the server generates a + /// job_id. #[prost(message, optional, tag="1")] pub reference: ::core::option::Option, - /// Required. Job information, including how, when, and where to - /// run the job. + /// Required. Job information, including how, when, and where to + /// run the job. #[prost(message, optional, tag="2")] pub placement: ::core::option::Option, - /// Output only. The job status. Additional application-specific - /// status information may be contained in the type_job - /// and yarn_applications fields. + /// Output only. The job status. Additional application-specific + /// status information may be contained in the type_job + /// and yarn_applications fields. #[prost(message, optional, tag="8")] pub status: ::core::option::Option, - /// Output only. The previous job status. + /// Output only. The previous job status. #[prost(message, repeated, tag="13")] pub status_history: ::prost::alloc::vec::Vec, - /// Output only. The collection of YARN applications spun up by this job. + /// Output only. The collection of YARN applications spun up by this job. /// - /// **Beta** Feature: This report is available for testing purposes only. It - /// may be changed before final release. + /// **Beta** Feature: This report is available for testing purposes only. It + /// may be changed before final release. #[prost(message, repeated, tag="9")] pub yarn_applications: ::prost::alloc::vec::Vec, - /// Output only. A URI pointing to the location of the stdout of the job's - /// driver program. + /// Output only. A URI pointing to the location of the stdout of the job's + /// driver program. #[prost(string, tag="17")] pub driver_output_resource_uri: ::prost::alloc::string::String, - /// Output only. If present, the location of miscellaneous control files - /// which may be used as part of job setup and handling. If not present, - /// control files may be placed in the same location as `driver_output_uri`. + /// Output only. If present, the location of miscellaneous control files + /// which may be used as part of job setup and handling. If not present, + /// control files may be placed in the same location as `driver_output_uri`. #[prost(string, tag="15")] pub driver_control_files_uri: ::prost::alloc::string::String, - /// Optional. The labels to associate with this job. - /// Label **keys** must contain 1 to 63 characters, and must conform to - /// [RFC 1035](). - /// Label **values** may be empty, but, if present, must contain 1 to 63 - /// characters, and must conform to [RFC - /// 1035](). No more than 32 labels can be - /// associated with a job. + /// Optional. The labels to associate with this job. + /// Label **keys** must contain 1 to 63 characters, and must conform to + /// [RFC 1035](). + /// Label **values** may be empty, but, if present, must contain 1 to 63 + /// characters, and must conform to [RFC + /// 1035](). No more than 32 labels can be + /// associated with a job. #[prost(map="string, string", tag="18")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Job scheduling configuration. + /// Optional. Job scheduling configuration. #[prost(message, optional, tag="20")] pub scheduling: ::core::option::Option, - /// Output only. A UUID that uniquely identifies a job within the project - /// over time. This is in contrast to a user-settable reference.job_id that - /// may be reused over time. + /// Output only. A UUID that uniquely identifies a job within the project + /// over time. This is in contrast to a user-settable reference.job_id that + /// may be reused over time. #[prost(string, tag="22")] pub job_uuid: ::prost::alloc::string::String, - /// Output only. Indicates whether the job is completed. If the value is `false`, - /// the job is still in progress. If `true`, the job is completed, and - /// `status.state` field will indicate if it was successful, failed, - /// or cancelled. + /// Output only. Indicates whether the job is completed. If the value is `false`, + /// the job is still in progress. If `true`, the job is completed, and + /// `status.state` field will indicate if it was successful, failed, + /// or cancelled. #[prost(bool, tag="24")] pub done: bool, - /// Required. The application/framework-specific portion of the job. + /// Required. The application/framework-specific portion of the job. #[prost(oneof="job::TypeJob", tags="3, 4, 5, 6, 7, 21, 12, 23")] pub type_job: ::core::option::Option, } /// Nested message and enum types in `Job`. pub mod job { - /// Required. The application/framework-specific portion of the job. + /// Required. The application/framework-specific portion of the job. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum TypeJob { - /// Optional. Job is a Hadoop job. + /// Optional. Job is a Hadoop job. #[prost(message, tag="3")] HadoopJob(super::HadoopJob), - /// Optional. Job is a Spark job. + /// Optional. Job is a Spark job. #[prost(message, tag="4")] SparkJob(super::SparkJob), - /// Optional. Job is a PySpark job. + /// Optional. Job is a PySpark job. #[prost(message, tag="5")] PysparkJob(super::PySparkJob), - /// Optional. Job is a Hive job. + /// Optional. Job is a Hive job. #[prost(message, tag="6")] HiveJob(super::HiveJob), - /// Optional. Job is a Pig job. + /// Optional. Job is a Pig job. #[prost(message, tag="7")] PigJob(super::PigJob), - /// Optional. Job is a SparkR job. + /// Optional. Job is a SparkR job. #[prost(message, tag="21")] SparkRJob(super::SparkRJob), - /// Optional. Job is a SparkSql job. + /// Optional. Job is a SparkSql job. #[prost(message, tag="12")] SparkSqlJob(super::SparkSqlJob), - /// Optional. Job is a Presto job. + /// Optional. Job is a Presto job. #[prost(message, tag="23")] PrestoJob(super::PrestoJob), } } -/// Job scheduling options. +/// Job scheduling options. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobScheduling { - /// Optional. Maximum number of times per hour a driver may be restarted as - /// a result of driver exiting with non-zero code before job is - /// reported failed. + /// Optional. Maximum number of times per hour a driver may be restarted as + /// a result of driver exiting with non-zero code before job is + /// reported failed. /// - /// A job may be reported as thrashing if driver exits with non-zero code - /// 4 times within 10 minute window. + /// A job may be reported as thrashing if driver exits with non-zero code + /// 4 times within 10 minute window. /// - /// Maximum value is 10. + /// Maximum value is 10. /// - /// **Note:** Currently, this restartable job option is - /// not supported in Dataproc - /// [workflow - /// template]() - /// jobs. + /// **Note:** Currently, this restartable job option is + /// not supported in Dataproc + /// [workflow + /// template]() + /// jobs. #[prost(int32, tag="1")] pub max_failures_per_hour: i32, - /// Optional. Maximum number of times in total a driver may be restarted as a result of - /// driver exiting with non-zero code before job is reported failed. - /// Maximum value is 240. - /// - /// **Note:** Currently, this restartable job option is - /// not supported in Dataproc - /// [workflow - /// template]() - /// jobs. + /// Optional. Maximum number of times in total a driver may be restarted as a result of + /// driver exiting with non-zero code before job is reported failed. + /// Maximum value is 240. + /// + /// **Note:** Currently, this restartable job option is + /// not supported in Dataproc + /// [workflow + /// template]() + /// jobs. #[prost(int32, tag="2")] pub max_failures_total: i32, } -/// A request to submit a job. +/// A request to submit a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SubmitJobRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The job resource. + /// Required. The job resource. #[prost(message, optional, tag="2")] pub job: ::core::option::Option, - /// Optional. A unique id used to identify the request. If the server - /// receives two - /// \[SubmitJobRequest\]()s - /// with the same id, then the second request will be ignored and the - /// first \[Job][google.cloud.dataproc.v1.Job\] created and stored in the backend - /// is returned. - /// - /// It is recommended to always set this value to a - /// \[UUID\](). - /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// Optional. A unique id used to identify the request. If the server + /// receives two + /// \[SubmitJobRequest\]()s + /// with the same id, then the second request will be ignored and the + /// first \[Job][google.cloud.dataproc.v1.Job\] created and stored in the backend + /// is returned. + /// + /// It is recommended to always set this value to a + /// \[UUID\](). + /// + /// The id must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// Job Operation metadata. +/// Job Operation metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JobMetadata { - /// Output only. The job id. + /// Output only. The job id. #[prost(string, tag="1")] pub job_id: ::prost::alloc::string::String, - /// Output only. Most recent job status. + /// Output only. Most recent job status. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, - /// Output only. Operation type. + /// Output only. Operation type. #[prost(string, tag="3")] pub operation_type: ::prost::alloc::string::String, - /// Output only. Job submission time. + /// Output only. Job submission time. #[prost(message, optional, tag="4")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, } -/// A request to get the resource representation for a job in a project. +/// A request to get the resource representation for a job in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetJobRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The job ID. + /// Required. The job ID. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, } -/// A request to list jobs in a project. +/// A request to list jobs in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="6")] pub region: ::prost::alloc::string::String, - /// Optional. The number of results to return in each response. + /// Optional. The number of results to return in each response. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The page token, returned by a previous call, to request the - /// next page of results. + /// Optional. The page token, returned by a previous call, to request the + /// next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. If set, the returned jobs list includes only jobs that were - /// submitted to the named cluster. + /// Optional. If set, the returned jobs list includes only jobs that were + /// submitted to the named cluster. #[prost(string, tag="4")] pub cluster_name: ::prost::alloc::string::String, - /// Optional. Specifies enumerated categories of jobs to list. - /// (default = match ALL jobs). + /// Optional. Specifies enumerated categories of jobs to list. + /// (default = match ALL jobs). /// - /// If `filter` is provided, `jobStateMatcher` will be ignored. + /// If `filter` is provided, `jobStateMatcher` will be ignored. #[prost(enumeration="list_jobs_request::JobStateMatcher", tag="5")] pub job_state_matcher: i32, - /// Optional. A filter constraining the jobs to list. Filters are - /// case-sensitive and have the following syntax: + /// Optional. A filter constraining the jobs to list. Filters are + /// case-sensitive and have the following syntax: /// - /// [field = value] AND [field [= value]] ... + /// [field = value] AND [field [= value]] ... /// - /// where **field** is `status.state` or `labels.\[KEY\]`, and `\[KEY\]` is a label - /// key. **value** can be `*` to match all values. - /// `status.state` can be either `ACTIVE` or `NON_ACTIVE`. - /// Only the logical `AND` operator is supported; space-separated items are - /// treated as having an implicit `AND` operator. + /// where **field** is `status.state` or `labels.\[KEY\]`, and `\[KEY\]` is a label + /// key. **value** can be `*` to match all values. + /// `status.state` can be either `ACTIVE` or `NON_ACTIVE`. + /// Only the logical `AND` operator is supported; space-separated items are + /// treated as having an implicit `AND` operator. /// - /// Example filter: + /// Example filter: /// - /// status.state = ACTIVE AND labels.env = staging AND labels.starred = * + /// status.state = ACTIVE AND labels.env = staging AND labels.starred = * #[prost(string, tag="7")] pub filter: ::prost::alloc::string::String, } /// Nested message and enum types in `ListJobsRequest`. pub mod list_jobs_request { - /// A matcher that specifies categories of job states. + /// A matcher that specifies categories of job states. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobStateMatcher { - /// Match all jobs, regardless of state. + /// Match all jobs, regardless of state. All = 0, - /// Only match jobs in non-terminal states: PENDING, RUNNING, or - /// CANCEL_PENDING. + /// Only match jobs in non-terminal states: PENDING, RUNNING, or + /// CANCEL_PENDING. Active = 1, - /// Only match jobs in terminal states: CANCELLED, DONE, or ERROR. + /// Only match jobs in terminal states: CANCELLED, DONE, or ERROR. NonActive = 2, } impl JobStateMatcher { @@ -3699,68 +3699,68 @@ pub mod list_jobs_request { } } } -/// A request to update a job. +/// A request to update a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateJobRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="2")] pub region: ::prost::alloc::string::String, - /// Required. The job ID. + /// Required. The job ID. #[prost(string, tag="3")] pub job_id: ::prost::alloc::string::String, - /// Required. The changes to the job. + /// Required. The changes to the job. #[prost(message, optional, tag="4")] pub job: ::core::option::Option, - /// Required. Specifies the path, relative to Job, of - /// the field to update. For example, to update the labels of a Job the - /// update_mask parameter would be specified as - /// labels, and the `PATCH` request body would specify the new - /// value. Note: Currently, labels is the only - /// field that can be updated. + /// Required. Specifies the path, relative to Job, of + /// the field to update. For example, to update the labels of a Job the + /// update_mask parameter would be specified as + /// labels, and the `PATCH` request body would specify the new + /// value. Note: Currently, labels is the only + /// field that can be updated. #[prost(message, optional, tag="5")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// A list of jobs in a project. +/// A list of jobs in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListJobsResponse { - /// Output only. Jobs list. + /// Output only. Jobs list. #[prost(message, repeated, tag="1")] pub jobs: ::prost::alloc::vec::Vec, - /// Optional. This token is included in the response if there are more results - /// to fetch. To fetch additional results, provide this value as the - /// `page_token` in a subsequent ListJobsRequest. + /// Optional. This token is included in the response if there are more results + /// to fetch. To fetch additional results, provide this value as the + /// `page_token` in a subsequent ListJobsRequest. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to cancel a job. +/// A request to cancel a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CancelJobRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The job ID. + /// Required. The job ID. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, } -/// A request to delete a job. +/// A request to delete a job. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteJobRequest { - /// Required. The ID of the Google Cloud Platform project that the job - /// belongs to. + /// Required. The ID of the Google Cloud Platform project that the job + /// belongs to. #[prost(string, tag="1")] pub project_id: ::prost::alloc::string::String, - /// Required. The Dataproc region in which to handle the request. + /// Required. The Dataproc region in which to handle the request. #[prost(string, tag="3")] pub region: ::prost::alloc::string::String, - /// Required. The job ID. + /// Required. The job ID. #[prost(string, tag="2")] pub job_id: ::prost::alloc::string::String, } @@ -3984,43 +3984,43 @@ pub mod job_controller_client { } } } -/// Metadata describing the Batch operation. +/// Metadata describing the Batch operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchOperationMetadata { - /// Name of the batch for the operation. + /// Name of the batch for the operation. #[prost(string, tag="1")] pub batch: ::prost::alloc::string::String, - /// Batch UUID for the operation. + /// Batch UUID for the operation. #[prost(string, tag="2")] pub batch_uuid: ::prost::alloc::string::String, - /// The time when the operation was created. + /// The time when the operation was created. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// The time when the operation finished. + /// The time when the operation finished. #[prost(message, optional, tag="4")] pub done_time: ::core::option::Option<::prost_types::Timestamp>, - /// The operation type. + /// The operation type. #[prost(enumeration="batch_operation_metadata::BatchOperationType", tag="6")] pub operation_type: i32, - /// Short description of the operation. + /// Short description of the operation. #[prost(string, tag="7")] pub description: ::prost::alloc::string::String, - /// Labels associated with the operation. + /// Labels associated with the operation. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Warnings encountered during operation execution. + /// Warnings encountered during operation execution. #[prost(string, repeated, tag="9")] pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } /// Nested message and enum types in `BatchOperationMetadata`. pub mod batch_operation_metadata { - /// Operation type for Batch resources + /// Operation type for Batch resources #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum BatchOperationType { - /// Batch operation type is unknown. + /// Batch operation type is unknown. Unspecified = 0, - /// Batch operation type. + /// Batch operation type. Batch = 1, } impl BatchOperationType { @@ -4036,35 +4036,35 @@ pub mod batch_operation_metadata { } } } -/// The status of the operation. +/// The status of the operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterOperationStatus { - /// Output only. A message containing the operation state. + /// Output only. A message containing the operation state. #[prost(enumeration="cluster_operation_status::State", tag="1")] pub state: i32, - /// Output only. A message containing the detailed operation state. + /// Output only. A message containing the detailed operation state. #[prost(string, tag="2")] pub inner_state: ::prost::alloc::string::String, - /// Output only. A message containing any operation metadata details. + /// Output only. A message containing any operation metadata details. #[prost(string, tag="3")] pub details: ::prost::alloc::string::String, - /// Output only. The time this state was entered. + /// Output only. The time this state was entered. #[prost(message, optional, tag="4")] pub state_start_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `ClusterOperationStatus`. pub mod cluster_operation_status { - /// The operation state. + /// The operation state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unused. + /// Unused. Unknown = 0, - /// The operation has been created. + /// The operation has been created. Pending = 1, - /// The operation is running. + /// The operation is running. Running = 2, - /// The operation is done; either cancelled or completed. + /// The operation is done; either cancelled or completed. Done = 3, } impl State { @@ -4082,284 +4082,284 @@ pub mod cluster_operation_status { } } } -/// Metadata describing the operation. +/// Metadata describing the operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterOperationMetadata { - /// Output only. Name of the cluster for the operation. + /// Output only. Name of the cluster for the operation. #[prost(string, tag="7")] pub cluster_name: ::prost::alloc::string::String, - /// Output only. Cluster UUID for the operation. + /// Output only. Cluster UUID for the operation. #[prost(string, tag="8")] pub cluster_uuid: ::prost::alloc::string::String, - /// Output only. Current operation status. + /// Output only. Current operation status. #[prost(message, optional, tag="9")] pub status: ::core::option::Option, - /// Output only. The previous operation status. + /// Output only. The previous operation status. #[prost(message, repeated, tag="10")] pub status_history: ::prost::alloc::vec::Vec, - /// Output only. The operation type. + /// Output only. The operation type. #[prost(string, tag="11")] pub operation_type: ::prost::alloc::string::String, - /// Output only. Short description of operation. + /// Output only. Short description of operation. #[prost(string, tag="12")] pub description: ::prost::alloc::string::String, - /// Output only. Labels associated with the operation + /// Output only. Labels associated with the operation #[prost(map="string, string", tag="13")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Errors encountered during operation execution. + /// Output only. Errors encountered during operation execution. #[prost(string, repeated, tag="14")] pub warnings: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dataproc workflow template resource. +/// A Dataproc workflow template resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowTemplate { #[prost(string, tag="2")] pub id: ::prost::alloc::string::String, - /// Output only. The resource name of the workflow template, as described - /// in + /// Output only. The resource name of the workflow template, as described + /// in /// - /// * For `projects.regions.workflowTemplates`, the resource name of the + /// * For `projects.regions.workflowTemplates`, the resource name of the /// template has the following format: /// `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` /// - /// * For `projects.locations.workflowTemplates`, the resource name of the + /// * For `projects.locations.workflowTemplates`, the resource name of the /// template has the following format: /// `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Used to perform a consistent read-modify-write. - /// - /// This field should be left blank for a `CreateWorkflowTemplate` request. It - /// is required for an `UpdateWorkflowTemplate` request, and must match the - /// current server version. A typical update template flow would fetch the - /// current template with a `GetWorkflowTemplate` request, which will return - /// the current template with the `version` field filled in with the - /// current server version. The user updates other fields in the template, - /// then returns it as part of the `UpdateWorkflowTemplate` request. + /// Optional. Used to perform a consistent read-modify-write. + /// + /// This field should be left blank for a `CreateWorkflowTemplate` request. It + /// is required for an `UpdateWorkflowTemplate` request, and must match the + /// current server version. A typical update template flow would fetch the + /// current template with a `GetWorkflowTemplate` request, which will return + /// the current template with the `version` field filled in with the + /// current server version. The user updates other fields in the template, + /// then returns it as part of the `UpdateWorkflowTemplate` request. #[prost(int32, tag="3")] pub version: i32, - /// Output only. The time template was created. + /// Output only. The time template was created. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time template was last updated. + /// Output only. The time template was last updated. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. The labels to associate with this template. These labels - /// will be propagated to all jobs and clusters created by the workflow - /// instance. + /// Optional. The labels to associate with this template. These labels + /// will be propagated to all jobs and clusters created by the workflow + /// instance. /// - /// Label **keys** must contain 1 to 63 characters, and must conform to - /// [RFC 1035](). + /// Label **keys** must contain 1 to 63 characters, and must conform to + /// [RFC 1035](). /// - /// Label **values** may be empty, but, if present, must contain 1 to 63 - /// characters, and must conform to - /// [RFC 1035](). + /// Label **values** may be empty, but, if present, must contain 1 to 63 + /// characters, and must conform to + /// [RFC 1035](). /// - /// No more than 32 labels can be associated with a template. + /// No more than 32 labels can be associated with a template. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. WorkflowTemplate scheduling information. + /// Required. WorkflowTemplate scheduling information. #[prost(message, optional, tag="7")] pub placement: ::core::option::Option, - /// Required. The Directed Acyclic Graph of Jobs to submit. + /// Required. The Directed Acyclic Graph of Jobs to submit. #[prost(message, repeated, tag="8")] pub jobs: ::prost::alloc::vec::Vec, - /// Optional. Template parameters whose values are substituted into the - /// template. Values for parameters must be provided when the template is - /// instantiated. + /// Optional. Template parameters whose values are substituted into the + /// template. Values for parameters must be provided when the template is + /// instantiated. #[prost(message, repeated, tag="9")] pub parameters: ::prost::alloc::vec::Vec, - /// Optional. Timeout duration for the DAG of jobs, expressed in seconds (see - /// [JSON representation of - /// duration]()). - /// The timeout duration must be from 10 minutes ("600s") to 24 hours - /// ("86400s"). The timer begins when the first job is submitted. If the - /// workflow is running at the end of the timeout period, any remaining jobs - /// are cancelled, the workflow is ended, and if the workflow was running on a - /// [managed - /// cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster), - /// the cluster is deleted. + /// Optional. Timeout duration for the DAG of jobs, expressed in seconds (see + /// [JSON representation of + /// duration]()). + /// The timeout duration must be from 10 minutes ("600s") to 24 hours + /// ("86400s"). The timer begins when the first job is submitted. If the + /// workflow is running at the end of the timeout period, any remaining jobs + /// are cancelled, the workflow is ended, and if the workflow was running on a + /// [managed + /// cluster](/dataproc/docs/concepts/workflows/using-workflows#configuring_or_selecting_a_cluster), + /// the cluster is deleted. #[prost(message, optional, tag="10")] pub dag_timeout: ::core::option::Option<::prost_types::Duration>, } -/// Specifies workflow execution target. +/// Specifies workflow execution target. /// -/// Either `managed_cluster` or `cluster_selector` is required. +/// Either `managed_cluster` or `cluster_selector` is required. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowTemplatePlacement { - /// Required. Specifies where workflow executes; either on a managed - /// cluster or an existing cluster chosen by labels. + /// Required. Specifies where workflow executes; either on a managed + /// cluster or an existing cluster chosen by labels. #[prost(oneof="workflow_template_placement::Placement", tags="1, 2")] pub placement: ::core::option::Option, } /// Nested message and enum types in `WorkflowTemplatePlacement`. pub mod workflow_template_placement { - /// Required. Specifies where workflow executes; either on a managed - /// cluster or an existing cluster chosen by labels. + /// Required. Specifies where workflow executes; either on a managed + /// cluster or an existing cluster chosen by labels. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Placement { - /// A cluster that is managed by the workflow. + /// A cluster that is managed by the workflow. #[prost(message, tag="1")] ManagedCluster(super::ManagedCluster), - /// Optional. A selector that chooses target cluster for jobs based - /// on metadata. + /// Optional. A selector that chooses target cluster for jobs based + /// on metadata. /// - /// The selector is evaluated at the time each job is submitted. + /// The selector is evaluated at the time each job is submitted. #[prost(message, tag="2")] ClusterSelector(super::ClusterSelector), } } -/// Cluster that is managed by the workflow. +/// Cluster that is managed by the workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ManagedCluster { - /// Required. The cluster name prefix. A unique cluster name will be formed by - /// appending a random suffix. + /// Required. The cluster name prefix. A unique cluster name will be formed by + /// appending a random suffix. /// - /// The name must contain only lower-case letters (a-z), numbers (0-9), - /// and hyphens (-). Must begin with a letter. Cannot begin or end with - /// hyphen. Must consist of between 2 and 35 characters. + /// The name must contain only lower-case letters (a-z), numbers (0-9), + /// and hyphens (-). Must begin with a letter. Cannot begin or end with + /// hyphen. Must consist of between 2 and 35 characters. #[prost(string, tag="2")] pub cluster_name: ::prost::alloc::string::String, - /// Required. The cluster configuration. + /// Required. The cluster configuration. #[prost(message, optional, tag="3")] pub config: ::core::option::Option, - /// Optional. The labels to associate with this cluster. + /// Optional. The labels to associate with this cluster. /// - /// Label keys must be between 1 and 63 characters long, and must conform to - /// the following PCRE regular expression: - /// \[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-\]{0,62} + /// Label keys must be between 1 and 63 characters long, and must conform to + /// the following PCRE regular expression: + /// \[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-\]{0,62} /// - /// Label values must be between 1 and 63 characters long, and must conform to - /// the following PCRE regular expression: \[\p{Ll}\p{Lo}\p{N}_-\]{0,63} + /// Label values must be between 1 and 63 characters long, and must conform to + /// the following PCRE regular expression: \[\p{Ll}\p{Lo}\p{N}_-\]{0,63} /// - /// No more than 32 labels can be associated with a given cluster. + /// No more than 32 labels can be associated with a given cluster. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// A selector that chooses target cluster for jobs based on metadata. +/// A selector that chooses target cluster for jobs based on metadata. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterSelector { - /// Optional. The zone where workflow process executes. This parameter does not - /// affect the selection of the cluster. + /// Optional. The zone where workflow process executes. This parameter does not + /// affect the selection of the cluster. /// - /// If unspecified, the zone of the first cluster matching the selector - /// is used. + /// If unspecified, the zone of the first cluster matching the selector + /// is used. #[prost(string, tag="1")] pub zone: ::prost::alloc::string::String, - /// Required. The cluster labels. Cluster must have all labels - /// to match. + /// Required. The cluster labels. Cluster must have all labels + /// to match. #[prost(map="string, string", tag="2")] pub cluster_labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// A job executed by the workflow. +/// A job executed by the workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OrderedJob { - /// Required. The step id. The id must be unique among all jobs - /// within the template. + /// Required. The step id. The id must be unique among all jobs + /// within the template. /// - /// The step id is used as prefix for job id, as job - /// `goog-dataproc-workflow-step-id` label, and in - /// \[prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids\] field from other - /// steps. + /// The step id is used as prefix for job id, as job + /// `goog-dataproc-workflow-step-id` label, and in + /// \[prerequisiteStepIds][google.cloud.dataproc.v1.OrderedJob.prerequisite_step_ids\] field from other + /// steps. /// - /// The id must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). Cannot begin or end with underscore - /// or hyphen. Must consist of between 3 and 50 characters. + /// The id must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). Cannot begin or end with underscore + /// or hyphen. Must consist of between 3 and 50 characters. #[prost(string, tag="1")] pub step_id: ::prost::alloc::string::String, - /// Optional. The labels to associate with this job. + /// Optional. The labels to associate with this job. /// - /// Label keys must be between 1 and 63 characters long, and must conform to - /// the following regular expression: - /// \[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-\]{0,62} + /// Label keys must be between 1 and 63 characters long, and must conform to + /// the following regular expression: + /// \[\p{Ll}\p{Lo}][\p{Ll}\p{Lo}\p{N}_-\]{0,62} /// - /// Label values must be between 1 and 63 characters long, and must conform to - /// the following regular expression: \[\p{Ll}\p{Lo}\p{N}_-\]{0,63} + /// Label values must be between 1 and 63 characters long, and must conform to + /// the following regular expression: \[\p{Ll}\p{Lo}\p{N}_-\]{0,63} /// - /// No more than 32 labels can be associated with a given job. + /// No more than 32 labels can be associated with a given job. #[prost(map="string, string", tag="8")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Job scheduling configuration. + /// Optional. Job scheduling configuration. #[prost(message, optional, tag="9")] pub scheduling: ::core::option::Option, - /// Optional. The optional list of prerequisite job step_ids. - /// If not specified, the job will start at the beginning of workflow. + /// Optional. The optional list of prerequisite job step_ids. + /// If not specified, the job will start at the beginning of workflow. #[prost(string, repeated, tag="10")] pub prerequisite_step_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The job definition. + /// Required. The job definition. #[prost(oneof="ordered_job::JobType", tags="2, 3, 4, 5, 6, 11, 7, 12")] pub job_type: ::core::option::Option, } /// Nested message and enum types in `OrderedJob`. pub mod ordered_job { - /// Required. The job definition. + /// Required. The job definition. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum JobType { - /// Optional. Job is a Hadoop job. + /// Optional. Job is a Hadoop job. #[prost(message, tag="2")] HadoopJob(super::HadoopJob), - /// Optional. Job is a Spark job. + /// Optional. Job is a Spark job. #[prost(message, tag="3")] SparkJob(super::SparkJob), - /// Optional. Job is a PySpark job. + /// Optional. Job is a PySpark job. #[prost(message, tag="4")] PysparkJob(super::PySparkJob), - /// Optional. Job is a Hive job. + /// Optional. Job is a Hive job. #[prost(message, tag="5")] HiveJob(super::HiveJob), - /// Optional. Job is a Pig job. + /// Optional. Job is a Pig job. #[prost(message, tag="6")] PigJob(super::PigJob), - /// Optional. Job is a SparkR job. + /// Optional. Job is a SparkR job. #[prost(message, tag="11")] SparkRJob(super::SparkRJob), - /// Optional. Job is a SparkSql job. + /// Optional. Job is a SparkSql job. #[prost(message, tag="7")] SparkSqlJob(super::SparkSqlJob), - /// Optional. Job is a Presto job. + /// Optional. Job is a Presto job. #[prost(message, tag="12")] PrestoJob(super::PrestoJob), } } -/// A configurable parameter that replaces one or more fields in the template. -/// Parameterizable fields: -/// - Labels -/// - File uris -/// - Job properties -/// - Job arguments -/// - Script variables -/// - Main class (in HadoopJob and SparkJob) -/// - Zone (in ClusterSelector) +/// A configurable parameter that replaces one or more fields in the template. +/// Parameterizable fields: +/// - Labels +/// - File uris +/// - Job properties +/// - Job arguments +/// - Script variables +/// - Main class (in HadoopJob and SparkJob) +/// - Zone (in ClusterSelector) #[derive(Clone, PartialEq, ::prost::Message)] pub struct TemplateParameter { - /// Required. Parameter name. - /// The parameter name is used as the key, and paired with the - /// parameter value, which are passed to the template when the template - /// is instantiated. - /// The name must contain only capital letters (A-Z), numbers (0-9), and - /// underscores (_), and must not start with a number. The maximum length is - /// 40 characters. + /// Required. Parameter name. + /// The parameter name is used as the key, and paired with the + /// parameter value, which are passed to the template when the template + /// is instantiated. + /// The name must contain only capital letters (A-Z), numbers (0-9), and + /// underscores (_), and must not start with a number. The maximum length is + /// 40 characters. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Paths to all fields that the parameter replaces. - /// A field is allowed to appear in at most one parameter's list of field - /// paths. + /// Required. Paths to all fields that the parameter replaces. + /// A field is allowed to appear in at most one parameter's list of field + /// paths. /// - /// A field path is similar in syntax to a \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. - /// For example, a field path that references the zone field of a workflow - /// template's cluster selector would be specified as - /// `placement.clusterSelector.zone`. + /// A field path is similar in syntax to a \[google.protobuf.FieldMask][google.protobuf.FieldMask\]. + /// For example, a field path that references the zone field of a workflow + /// template's cluster selector would be specified as + /// `placement.clusterSelector.zone`. /// - /// Also, field paths can reference fields using the following syntax: + /// Also, field paths can reference fields using the following syntax: /// - /// * Values in maps can be referenced by key: + /// * Values in maps can be referenced by key: /// * labels\['key'\] /// * placement.clusterSelector.clusterLabels\['key'\] /// * placement.managedCluster.labels\['key'\] /// * placement.clusterSelector.clusterLabels\['key'\] /// * jobs\['step-id'].labels['key'\] /// - /// * Jobs in the jobs list can be referenced by step-id: + /// * Jobs in the jobs list can be referenced by step-id: /// * jobs\['step-id'\].hadoopJob.mainJarFileUri /// * jobs\['step-id'\].hiveJob.queryFileUri /// * jobs\['step-id'\].pySparkJob.mainPythonFileUri @@ -4368,141 +4368,141 @@ pub struct TemplateParameter { /// * jobs\['step-id'].hadoopJob.fileUris[0\] /// * jobs\['step-id'].pySparkJob.pythonFileUris[0\] /// - /// * Items in repeated fields can be referenced by a zero-based index: + /// * Items in repeated fields can be referenced by a zero-based index: /// * jobs\['step-id'].sparkJob.args[0\] /// - /// * Other examples: + /// * Other examples: /// * jobs\['step-id'].hadoopJob.properties['key'\] /// * jobs\['step-id'].hadoopJob.args[0\] /// * jobs\['step-id'].hiveJob.scriptVariables['key'\] /// * jobs\['step-id'\].hadoopJob.mainJarFileUri /// * placement.clusterSelector.zone /// - /// It may not be possible to parameterize maps and repeated fields in their - /// entirety since only individual map values and individual items in repeated - /// fields can be referenced. For example, the following field paths are - /// invalid: + /// It may not be possible to parameterize maps and repeated fields in their + /// entirety since only individual map values and individual items in repeated + /// fields can be referenced. For example, the following field paths are + /// invalid: /// - /// - placement.clusterSelector.clusterLabels - /// - jobs\['step-id'\].sparkJob.args + /// - placement.clusterSelector.clusterLabels + /// - jobs\['step-id'\].sparkJob.args #[prost(string, repeated, tag="2")] pub fields: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Brief description of the parameter. - /// Must not exceed 1024 characters. + /// Optional. Brief description of the parameter. + /// Must not exceed 1024 characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Optional. Validation rules to be applied to this parameter's value. + /// Optional. Validation rules to be applied to this parameter's value. #[prost(message, optional, tag="4")] pub validation: ::core::option::Option, } -/// Configuration for parameter validation. +/// Configuration for parameter validation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParameterValidation { - /// Required. The type of validation to be performed. + /// Required. The type of validation to be performed. #[prost(oneof="parameter_validation::ValidationType", tags="1, 2")] pub validation_type: ::core::option::Option, } /// Nested message and enum types in `ParameterValidation`. pub mod parameter_validation { - /// Required. The type of validation to be performed. + /// Required. The type of validation to be performed. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ValidationType { - /// Validation based on regular expressions. + /// Validation based on regular expressions. #[prost(message, tag="1")] Regex(super::RegexValidation), - /// Validation based on a list of allowed values. + /// Validation based on a list of allowed values. #[prost(message, tag="2")] Values(super::ValueValidation), } } -/// Validation based on regular expressions. +/// Validation based on regular expressions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RegexValidation { - /// Required. RE2 regular expressions used to validate the parameter's value. - /// The value must match the regex in its entirety (substring - /// matches are not sufficient). + /// Required. RE2 regular expressions used to validate the parameter's value. + /// The value must match the regex in its entirety (substring + /// matches are not sufficient). #[prost(string, repeated, tag="1")] pub regexes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Validation based on a list of allowed values. +/// Validation based on a list of allowed values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValueValidation { - /// Required. List of allowed values for the parameter. + /// Required. List of allowed values for the parameter. #[prost(string, repeated, tag="1")] pub values: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// A Dataproc workflow template resource. +/// A Dataproc workflow template resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowMetadata { - /// Output only. The resource name of the workflow template as described - /// in + /// Output only. The resource name of the workflow template as described + /// in /// - /// * For `projects.regions.workflowTemplates`, the resource name of the + /// * For `projects.regions.workflowTemplates`, the resource name of the /// template has the following format: /// `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` /// - /// * For `projects.locations.workflowTemplates`, the resource name of the + /// * For `projects.locations.workflowTemplates`, the resource name of the /// template has the following format: /// `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` #[prost(string, tag="1")] pub template: ::prost::alloc::string::String, - /// Output only. The version of template at the time of - /// workflow instantiation. + /// Output only. The version of template at the time of + /// workflow instantiation. #[prost(int32, tag="2")] pub version: i32, - /// Output only. The create cluster operation metadata. + /// Output only. The create cluster operation metadata. #[prost(message, optional, tag="3")] pub create_cluster: ::core::option::Option, - /// Output only. The workflow graph. + /// Output only. The workflow graph. #[prost(message, optional, tag="4")] pub graph: ::core::option::Option, - /// Output only. The delete cluster operation metadata. + /// Output only. The delete cluster operation metadata. #[prost(message, optional, tag="5")] pub delete_cluster: ::core::option::Option, - /// Output only. The workflow state. + /// Output only. The workflow state. #[prost(enumeration="workflow_metadata::State", tag="6")] pub state: i32, - /// Output only. The name of the target cluster. + /// Output only. The name of the target cluster. #[prost(string, tag="7")] pub cluster_name: ::prost::alloc::string::String, - /// Map from parameter names to values that were used for those parameters. + /// Map from parameter names to values that were used for those parameters. #[prost(map="string, string", tag="8")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Workflow start time. + /// Output only. Workflow start time. #[prost(message, optional, tag="9")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Workflow end time. + /// Output only. Workflow end time. #[prost(message, optional, tag="10")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The UUID of target cluster. + /// Output only. The UUID of target cluster. #[prost(string, tag="11")] pub cluster_uuid: ::prost::alloc::string::String, - /// Output only. The timeout duration for the DAG of jobs, expressed in seconds (see - /// [JSON representation of - /// duration]()). + /// Output only. The timeout duration for the DAG of jobs, expressed in seconds (see + /// [JSON representation of + /// duration]()). #[prost(message, optional, tag="12")] pub dag_timeout: ::core::option::Option<::prost_types::Duration>, - /// Output only. DAG start time, only set for workflows with \[dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\] when DAG - /// begins. + /// Output only. DAG start time, only set for workflows with \[dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\] when DAG + /// begins. #[prost(message, optional, tag="13")] pub dag_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. DAG end time, only set for workflows with \[dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\] when DAG ends. + /// Output only. DAG end time, only set for workflows with \[dag_timeout][google.cloud.dataproc.v1.WorkflowMetadata.dag_timeout\] when DAG ends. #[prost(message, optional, tag="14")] pub dag_end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `WorkflowMetadata`. pub mod workflow_metadata { - /// The operation state. + /// The operation state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unused. + /// Unused. Unknown = 0, - /// The operation has been created. + /// The operation has been created. Pending = 1, - /// The operation is running. + /// The operation is running. Running = 2, - /// The operation is done; either cancelled or completed. + /// The operation is done; either cancelled or completed. Done = 3, } impl State { @@ -4520,63 +4520,63 @@ pub mod workflow_metadata { } } } -/// The cluster operation triggered by a workflow. +/// The cluster operation triggered by a workflow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ClusterOperation { - /// Output only. The id of the cluster operation. + /// Output only. The id of the cluster operation. #[prost(string, tag="1")] pub operation_id: ::prost::alloc::string::String, - /// Output only. Error, if operation failed. + /// Output only. Error, if operation failed. #[prost(string, tag="2")] pub error: ::prost::alloc::string::String, - /// Output only. Indicates the operation is done. + /// Output only. Indicates the operation is done. #[prost(bool, tag="3")] pub done: bool, } -/// The workflow graph. +/// The workflow graph. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowGraph { - /// Output only. The workflow nodes. + /// Output only. The workflow nodes. #[prost(message, repeated, tag="1")] pub nodes: ::prost::alloc::vec::Vec, } -/// The workflow node. +/// The workflow node. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WorkflowNode { - /// Output only. The name of the node. + /// Output only. The name of the node. #[prost(string, tag="1")] pub step_id: ::prost::alloc::string::String, - /// Output only. Node's prerequisite nodes. + /// Output only. Node's prerequisite nodes. #[prost(string, repeated, tag="2")] pub prerequisite_step_ids: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. The job id; populated after the node enters RUNNING state. + /// Output only. The job id; populated after the node enters RUNNING state. #[prost(string, tag="3")] pub job_id: ::prost::alloc::string::String, - /// Output only. The node state. + /// Output only. The node state. #[prost(enumeration="workflow_node::NodeState", tag="5")] pub state: i32, - /// Output only. The error detail. + /// Output only. The error detail. #[prost(string, tag="6")] pub error: ::prost::alloc::string::String, } /// Nested message and enum types in `WorkflowNode`. pub mod workflow_node { - /// The workflow node state. + /// The workflow node state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum NodeState { - /// State is unspecified. + /// State is unspecified. Unspecified = 0, - /// The node is awaiting prerequisite node to finish. + /// The node is awaiting prerequisite node to finish. Blocked = 1, - /// The node is runnable but not running. + /// The node is runnable but not running. Runnable = 2, - /// The node is running. + /// The node is running. Running = 3, - /// The node completed successfully. + /// The node completed successfully. Completed = 4, - /// The node failed. A node can be marked FAILED because - /// its ancestor or peer failed. + /// The node failed. A node can be marked FAILED because + /// its ancestor or peer failed. Failed = 5, } impl NodeState { @@ -4596,180 +4596,180 @@ pub mod workflow_node { } } } -/// A request to create a workflow template. +/// A request to create a workflow template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWorkflowTemplateRequest { - /// Required. The resource name of the region or location, as described - /// in + /// Required. The resource name of the region or location, as described + /// in /// - /// * For `projects.regions.workflowTemplates.create`, the resource name of the + /// * For `projects.regions.workflowTemplates.create`, the resource name of the /// region has the following format: /// `projects/{project_id}/regions/{region}` /// - /// * For `projects.locations.workflowTemplates.create`, the resource name of + /// * For `projects.locations.workflowTemplates.create`, the resource name of /// the location has the following format: /// `projects/{project_id}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Dataproc workflow template to create. + /// Required. The Dataproc workflow template to create. #[prost(message, optional, tag="2")] pub template: ::core::option::Option, } -/// A request to fetch a workflow template. +/// A request to fetch a workflow template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWorkflowTemplateRequest { - /// Required. The resource name of the workflow template, as described - /// in + /// Required. The resource name of the workflow template, as described + /// in /// - /// * For `projects.regions.workflowTemplates.get`, the resource name of the + /// * For `projects.regions.workflowTemplates.get`, the resource name of the /// template has the following format: /// `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` /// - /// * For `projects.locations.workflowTemplates.get`, the resource name of the + /// * For `projects.locations.workflowTemplates.get`, the resource name of the /// template has the following format: /// `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The version of workflow template to retrieve. Only previously - /// instantiated versions can be retrieved. + /// Optional. The version of workflow template to retrieve. Only previously + /// instantiated versions can be retrieved. /// - /// If unspecified, retrieves the current version. + /// If unspecified, retrieves the current version. #[prost(int32, tag="2")] pub version: i32, } -/// A request to instantiate a workflow template. +/// A request to instantiate a workflow template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstantiateWorkflowTemplateRequest { - /// Required. The resource name of the workflow template, as described - /// in + /// Required. The resource name of the workflow template, as described + /// in /// - /// * For `projects.regions.workflowTemplates.instantiate`, the resource name - /// of the template has the following format: + /// * For `projects.regions.workflowTemplates.instantiate`, the resource name + /// of the template has the following format: /// `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` /// - /// * For `projects.locations.workflowTemplates.instantiate`, the resource name + /// * For `projects.locations.workflowTemplates.instantiate`, the resource name /// of the template has the following format: /// `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The version of workflow template to instantiate. If specified, - /// the workflow will be instantiated only if the current version of - /// the workflow template has the supplied version. + /// Optional. The version of workflow template to instantiate. If specified, + /// the workflow will be instantiated only if the current version of + /// the workflow template has the supplied version. /// - /// This option cannot be used to instantiate a previous version of - /// workflow template. + /// This option cannot be used to instantiate a previous version of + /// workflow template. #[prost(int32, tag="2")] pub version: i32, - /// Optional. A tag that prevents multiple concurrent workflow - /// instances with the same tag from running. This mitigates risk of - /// concurrent instances started due to retries. + /// Optional. A tag that prevents multiple concurrent workflow + /// instances with the same tag from running. This mitigates risk of + /// concurrent instances started due to retries. /// - /// It is recommended to always set this value to a - /// \[UUID\](). + /// It is recommended to always set this value to a + /// \[UUID\](). /// - /// The tag must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// The tag must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="5")] pub request_id: ::prost::alloc::string::String, - /// Optional. Map from parameter names to values that should be used for those - /// parameters. Values may not exceed 1000 characters. + /// Optional. Map from parameter names to values that should be used for those + /// parameters. Values may not exceed 1000 characters. #[prost(map="string, string", tag="6")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// A request to instantiate an inline workflow template. +/// A request to instantiate an inline workflow template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InstantiateInlineWorkflowTemplateRequest { - /// Required. The resource name of the region or location, as described - /// in + /// Required. The resource name of the region or location, as described + /// in /// - /// * For `projects.regions.workflowTemplates,instantiateinline`, the resource + /// * For `projects.regions.workflowTemplates,instantiateinline`, the resource /// name of the region has the following format: /// `projects/{project_id}/regions/{region}` /// - /// * For `projects.locations.workflowTemplates.instantiateinline`, the + /// * For `projects.locations.workflowTemplates.instantiateinline`, the /// resource name of the location has the following format: /// `projects/{project_id}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The workflow template to instantiate. + /// Required. The workflow template to instantiate. #[prost(message, optional, tag="2")] pub template: ::core::option::Option, - /// Optional. A tag that prevents multiple concurrent workflow - /// instances with the same tag from running. This mitigates risk of - /// concurrent instances started due to retries. + /// Optional. A tag that prevents multiple concurrent workflow + /// instances with the same tag from running. This mitigates risk of + /// concurrent instances started due to retries. /// - /// It is recommended to always set this value to a - /// \[UUID\](). + /// It is recommended to always set this value to a + /// \[UUID\](). /// - /// The tag must contain only letters (a-z, A-Z), numbers (0-9), - /// underscores (_), and hyphens (-). The maximum length is 40 characters. + /// The tag must contain only letters (a-z, A-Z), numbers (0-9), + /// underscores (_), and hyphens (-). The maximum length is 40 characters. #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } -/// A request to update a workflow template. +/// A request to update a workflow template. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateWorkflowTemplateRequest { - /// Required. The updated workflow template. + /// Required. The updated workflow template. /// - /// The `template.version` field must match the current version. + /// The `template.version` field must match the current version. #[prost(message, optional, tag="1")] pub template: ::core::option::Option, } -/// A request to list workflow templates in a project. +/// A request to list workflow templates in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowTemplatesRequest { - /// Required. The resource name of the region or location, as described - /// in + /// Required. The resource name of the region or location, as described + /// in /// - /// * For `projects.regions.workflowTemplates,list`, the resource + /// * For `projects.regions.workflowTemplates,list`, the resource /// name of the region has the following format: /// `projects/{project_id}/regions/{region}` /// - /// * For `projects.locations.workflowTemplates.list`, the + /// * For `projects.locations.workflowTemplates.list`, the /// resource name of the location has the following format: /// `projects/{project_id}/locations/{location}` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of results to return in each response. + /// Optional. The maximum number of results to return in each response. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. The page token, returned by a previous call, to request the - /// next page of results. + /// Optional. The page token, returned by a previous call, to request the + /// next page of results. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// A response to a request to list workflow templates in a project. +/// A response to a request to list workflow templates in a project. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWorkflowTemplatesResponse { - /// Output only. WorkflowTemplates list. + /// Output only. WorkflowTemplates list. #[prost(message, repeated, tag="1")] pub templates: ::prost::alloc::vec::Vec, - /// Output only. This token is included in the response if there are more - /// results to fetch. To fetch additional results, provide this value as the - /// page_token in a subsequent ListWorkflowTemplatesRequest. + /// Output only. This token is included in the response if there are more + /// results to fetch. To fetch additional results, provide this value as the + /// page_token in a subsequent ListWorkflowTemplatesRequest. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// A request to delete a workflow template. +/// A request to delete a workflow template. /// -/// Currently started workflows will remain running. +/// Currently started workflows will remain running. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWorkflowTemplateRequest { - /// Required. The resource name of the workflow template, as described - /// in + /// Required. The resource name of the workflow template, as described + /// in /// - /// * For `projects.regions.workflowTemplates.delete`, the resource name - /// of the template has the following format: + /// * For `projects.regions.workflowTemplates.delete`, the resource name + /// of the template has the following format: /// `projects/{project_id}/regions/{region}/workflowTemplates/{template_id}` /// - /// * For `projects.locations.workflowTemplates.instantiate`, the resource name + /// * For `projects.locations.workflowTemplates.instantiate`, the resource name /// of the template has the following format: /// `projects/{project_id}/locations/{location}/workflowTemplates/{template_id}` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The version of workflow template to delete. If specified, - /// will only delete the template if the current server version matches - /// specified version. + /// Optional. The version of workflow template to delete. If specified, + /// will only delete the template if the current server version matches + /// specified version. #[prost(int32, tag="2")] pub version: i32, } diff --git a/gcloud-sdk/genproto/google.cloud.dataqna.v1alpha.rs b/gcloud-sdk/genproto/google.cloud.dataqna.v1alpha.rs index 577876ffe..bf948ce38 100644 --- a/gcloud-sdk/genproto/google.cloud.dataqna.v1alpha.rs +++ b/gcloud-sdk/genproto/google.cloud.dataqna.v1alpha.rs @@ -1,78 +1,78 @@ -/// Describes string annotation from both semantic and formatting perspectives. -/// Example: +/// Describes string annotation from both semantic and formatting perspectives. +/// Example: /// -/// User Query: +/// User Query: /// /// top countries by population in Africa /// /// 0 4 14 17 28 31 37 /// -/// Table Data: +/// Table Data: /// -/// + "country" - dimension -/// + "population" - metric -/// + "Africa" - value in the "continent" column +/// + "country" - dimension +/// + "population" - metric +/// + "Africa" - value in the "continent" column /// -/// text_formatted = `"top countries by population in Africa"` +/// text_formatted = `"top countries by population in Africa"` /// -/// html_formatted = +/// html_formatted = /// `"top countries by population in Africa"` /// -/// ``` -/// markups = [ +/// ``` +/// markups = [ /// {DIMENSION, 4, 12}, // 'countries' /// {METRIC, 17, 26}, // 'population' /// {FILTER, 31, 36} // 'Africa' -/// ] -/// ``` +/// ] +/// ``` /// -/// Note that html formattings for 'DIMENSION' and 'METRIC' are the same, while -/// semantic markups are different. +/// Note that html formattings for 'DIMENSION' and 'METRIC' are the same, while +/// semantic markups are different. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnnotatedString { - /// Text version of the string. + /// Text version of the string. #[prost(string, tag="1")] pub text_formatted: ::prost::alloc::string::String, - /// HTML version of the string annotation. + /// HTML version of the string annotation. #[prost(string, tag="2")] pub html_formatted: ::prost::alloc::string::String, - /// Semantic version of the string annotation. + /// Semantic version of the string annotation. #[prost(message, repeated, tag="3")] pub markups: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `AnnotatedString`. pub mod annotated_string { - /// Semantic markup denotes a substring (by index and length) with markup - /// information. + /// Semantic markup denotes a substring (by index and length) with markup + /// information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SemanticMarkup { - /// The semantic type of the markup substring. + /// The semantic type of the markup substring. #[prost(enumeration="SemanticMarkupType", tag="1")] pub r#type: i32, - /// Unicode character index of the query. + /// Unicode character index of the query. #[prost(int32, tag="2")] pub start_char_index: i32, - /// The length (number of unicode characters) of the markup substring. + /// The length (number of unicode characters) of the markup substring. #[prost(int32, tag="3")] pub length: i32, } - /// Semantic markup types. + /// Semantic markup types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SemanticMarkupType { - /// No markup type was specified. + /// No markup type was specified. MarkupTypeUnspecified = 0, - /// Markup for a substring denoting a metric. + /// Markup for a substring denoting a metric. Metric = 1, - /// Markup for a substring denoting a dimension. + /// Markup for a substring denoting a dimension. Dimension = 2, - /// Markup for a substring denoting a filter. + /// Markup for a substring denoting a filter. Filter = 3, - /// Markup for an unused substring. + /// Markup for an unused substring. Unused = 4, - /// Markup for a substring containing blocked phrases. + /// Markup for a substring containing blocked phrases. Blocked = 5, - /// Markup for a substring that contains terms for row. + /// Markup for a substring that contains terms for row. Row = 6, } impl SemanticMarkupType { @@ -93,110 +93,110 @@ pub mod annotated_string { } } } -/// Request for query suggestions. +/// Request for query suggestions. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestQueriesRequest { - /// Required. The parent of the suggestion query is the resource denoting the project and - /// location. + /// Required. The parent of the suggestion query is the resource denoting the project and + /// location. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The scopes to which this search is restricted. The only supported scope - /// pattern is - /// `//bigquery.googleapis.com/projects/{GCP-PROJECT-ID}/datasets/{DATASET-ID}/tables/{TABLE-ID}`. + /// The scopes to which this search is restricted. The only supported scope + /// pattern is + /// `//bigquery.googleapis.com/projects/{GCP-PROJECT-ID}/datasets/{DATASET-ID}/tables/{TABLE-ID}`. #[prost(string, repeated, tag="2")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// User query for which to generate suggestions. If the query is empty, zero - /// state suggestions are returned. This allows UIs to display suggestions - /// right away, helping the user to get a sense of what a query might look - /// like. + /// User query for which to generate suggestions. If the query is empty, zero + /// state suggestions are returned. This allows UIs to display suggestions + /// right away, helping the user to get a sense of what a query might look + /// like. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, - /// The requested suggestion type. Multiple suggestion types can be - /// requested, but there is no guarantee that the service will return - /// suggestions for each type. Suggestions for a requested type might rank - /// lower than suggestions for other types and the service may decide to cut - /// these suggestions off. + /// The requested suggestion type. Multiple suggestion types can be + /// requested, but there is no guarantee that the service will return + /// suggestions for each type. Suggestions for a requested type might rank + /// lower than suggestions for other types and the service may decide to cut + /// these suggestions off. #[prost(enumeration="SuggestionType", repeated, tag="4")] pub suggestion_types: ::prost::alloc::vec::Vec, } -/// A suggestion for a query with a ranking score. +/// A suggestion for a query with a ranking score. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Suggestion { - /// Detailed information about the suggestion. + /// Detailed information about the suggestion. #[prost(message, optional, tag="1")] pub suggestion_info: ::core::option::Option, - /// The score of the suggestion. This can be used to define ordering in UI. - /// The score represents confidence in the suggestion where higher is better. - /// All score values must be in the range [0, 1). + /// The score of the suggestion. This can be used to define ordering in UI. + /// The score represents confidence in the suggestion where higher is better. + /// All score values must be in the range [0, 1). #[prost(double, tag="2")] pub ranking_score: f64, - /// The type of the suggestion. + /// The type of the suggestion. #[prost(enumeration="SuggestionType", tag="3")] pub suggestion_type: i32, } -/// Detailed information about the suggestion. +/// Detailed information about the suggestion. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestionInfo { - /// Annotations for the suggestion. This provides information about which part - /// of the suggestion corresponds to what semantic meaning (e.g. a metric). + /// Annotations for the suggestion. This provides information about which part + /// of the suggestion corresponds to what semantic meaning (e.g. a metric). #[prost(message, optional, tag="1")] pub annotated_suggestion: ::core::option::Option, - /// Matches between user query and the annotated string. + /// Matches between user query and the annotated string. #[prost(message, repeated, tag="2")] pub query_matches: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SuggestionInfo`. pub mod suggestion_info { - /// MatchInfo describes which part of suggestion matched with data in user - /// typed query. This can be used to highlight matching parts in the UI. This - /// is different from the annotations provided in annotated_suggestion. The - /// annotated_suggestion provides information about the semantic meaning, while - /// this provides information about how it relates to the input. + /// MatchInfo describes which part of suggestion matched with data in user + /// typed query. This can be used to highlight matching parts in the UI. This + /// is different from the annotations provided in annotated_suggestion. The + /// annotated_suggestion provides information about the semantic meaning, while + /// this provides information about how it relates to the input. /// - /// Example: - /// user query: `top products` + /// Example: + /// user query: `top products` /// - /// ``` - /// annotated_suggestion { + /// ``` + /// annotated_suggestion { /// text_formatted = "top product_group" /// html_formatted = "top product_group" /// markups { /// {type: TEXT, start_char_index: 0, length: 3} /// {type: DIMENSION, start_char_index: 4, length: 13} /// } - /// } + /// } /// - /// query_matches { + /// query_matches { /// { start_char_index: 0, length: 3 } /// { start_char_index: 4, length: 7} - /// } - /// ``` + /// } + /// ``` #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchInfo { - /// Unicode character index of the string annotation. + /// Unicode character index of the string annotation. #[prost(int32, tag="1")] pub start_char_index: i32, - /// Count of unicode characters of this substring. + /// Count of unicode characters of this substring. #[prost(int32, tag="2")] pub length: i32, } } -/// Response to SuggestQueries. +/// Response to SuggestQueries. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SuggestQueriesResponse { - /// A list of suggestions. + /// A list of suggestions. #[prost(message, repeated, tag="1")] pub suggestions: ::prost::alloc::vec::Vec, } -/// The type of suggestion. +/// The type of suggestion. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SuggestionType { - /// No suggestiont type is specified. + /// No suggestiont type is specified. Unspecified = 0, - /// Entity suggestion type. Suggestions are for single entities. + /// Entity suggestion type. Suggestions are for single entities. Entity = 1, - /// Template suggestion type. Suggestions are for full sentences. + /// Template suggestion type. Suggestions are for full sentences. Template = 2, } impl SuggestionType { @@ -370,125 +370,125 @@ pub mod auto_suggestion_service_client { } } } -/// The question resource represents a natural language query, its settings, -/// understanding generated by the system, and answer retrieval status. -/// A question cannot be modified. +/// The question resource represents a natural language query, its settings, +/// understanding generated by the system, and answer retrieval status. +/// A question cannot be modified. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Question { - /// Output only. Immutable. The unique identifier for the Question. The ID is server-generated. - /// Example: `projects/foo/locations/bar/questions/123` + /// Output only. Immutable. The unique identifier for the Question. The ID is server-generated. + /// Example: `projects/foo/locations/bar/questions/123` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Immutable. Scopes to be used for the question. A scope defines the relevant data set - /// scope. It can be a reference to a specific data source or a collection of - /// data sources. Currently, support is limited to a single BigQuery table. - /// There must be exactly one `scopes` element. + /// Required. Immutable. Scopes to be used for the question. A scope defines the relevant data set + /// scope. It can be a reference to a specific data source or a collection of + /// data sources. Currently, support is limited to a single BigQuery table. + /// There must be exactly one `scopes` element. /// - /// Example: - /// `//bigquery.googleapis.com/projects/test-project/datasets/foo/tables/bar` + /// Example: + /// `//bigquery.googleapis.com/projects/test-project/datasets/foo/tables/bar` #[prost(string, repeated, tag="2")] pub scopes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. Immutable. The query in natural language. + /// Required. Immutable. The query in natural language. #[prost(string, tag="3")] pub query: ::prost::alloc::string::String, - /// A list of annotations to use instead of the default annotation of a data - /// source (set in the data source reference resource). There must not be - /// more than one annotation with the same data source reference. + /// A list of annotations to use instead of the default annotation of a data + /// source (set in the data source reference resource). There must not be + /// more than one annotation with the same data source reference. #[prost(string, repeated, tag="4")] pub data_source_annotations: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// An error field explaining why interpretation failed. This is only populated - /// if the interpretation failed. + /// An error field explaining why interpretation failed. This is only populated + /// if the interpretation failed. /// - /// Note: This is different from getting a status error on the request itself. - /// This is not a client or server error and the Question resource is still - /// persisted, but the service could not interpret the question. Clients should - /// present the error to the user so the user can rephrase the question. + /// Note: This is different from getting a status error on the request itself. + /// This is not a client or server error and the Question resource is still + /// persisted, but the service could not interpret the question. Clients should + /// present the error to the user so the user can rephrase the question. #[prost(message, optional, tag="5")] pub interpret_error: ::core::option::Option, - /// A list of interpretations for this question. + /// A list of interpretations for this question. #[prost(message, repeated, tag="6")] pub interpretations: ::prost::alloc::vec::Vec, - /// Time when the question was created. + /// Time when the question was created. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The e-mail address of the user that created this question. + /// Output only. The e-mail address of the user that created this question. #[prost(string, tag="8")] pub user_email: ::prost::alloc::string::String, - /// Input only. Immutable. Flags to request additional information for debugging purposes. + /// Input only. Immutable. Flags to request additional information for debugging purposes. #[prost(message, optional, tag="9")] pub debug_flags: ::core::option::Option, - /// Top level debug information. - /// This will be stored as the type DebugInformation. - /// Using Any so clients don't need to pull in anything - /// inside the debug message. + /// Top level debug information. + /// This will be stored as the type DebugInformation. + /// Using Any so clients don't need to pull in anything + /// inside the debug message. #[prost(message, optional, tag="10")] pub debug_info: ::core::option::Option<::prost_types::Any>, } -/// Details on the failure to interpret the question. +/// Details on the failure to interpret the question. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretError { - /// Error message explaining why this question could not be interpreted. + /// Error message explaining why this question could not be interpreted. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The code for the error category why the interpretation failed. + /// The code for the error category why the interpretation failed. #[prost(enumeration="interpret_error::InterpretErrorCode", tag="2")] pub code: i32, - /// Details on interpretation failure. + /// Details on interpretation failure. #[prost(message, optional, tag="3")] pub details: ::core::option::Option, } /// Nested message and enum types in `InterpretError`. pub mod interpret_error { - /// Details on interpretation failure. + /// Details on interpretation failure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretErrorDetails { - /// Populated if parts of the query are unsupported. + /// Populated if parts of the query are unsupported. #[prost(message, optional, tag="1")] pub unsupported_details: ::core::option::Option, - /// Populated if the query is incomplete. + /// Populated if the query is incomplete. #[prost(message, optional, tag="2")] pub incomplete_query_details: ::core::option::Option, - /// Populated if the query was too ambiguous. + /// Populated if the query was too ambiguous. #[prost(message, optional, tag="3")] pub ambiguity_details: ::core::option::Option, } - /// Details about unsupported parts in a query. + /// Details about unsupported parts in a query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretUnsupportedDetails { - /// Unsupported operators. For example: median. + /// Unsupported operators. For example: median. #[prost(string, repeated, tag="1")] pub operators: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Unsupported intents. + /// Unsupported intents. #[prost(string, repeated, tag="2")] pub intent: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// Details about an incomplete query. + /// Details about an incomplete query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretIncompleteQueryDetails { - /// List of missing interpret entities. + /// List of missing interpret entities. #[prost(enumeration="super::InterpretEntity", repeated, tag="1")] pub entities: ::prost::alloc::vec::Vec, } - /// Details about a query that was too ambiguous. Currently, the message - /// has no fields and its presence signals that there was ambiguity. + /// Details about a query that was too ambiguous. Currently, the message + /// has no fields and its presence signals that there was ambiguity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretAmbiguityDetails { } - /// The interpret error code provides an error category why the interpretation - /// failed. + /// The interpret error code provides an error category why the interpretation + /// failed. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InterpretErrorCode { - /// No interpret error code was specified. + /// No interpret error code was specified. Unspecified = 0, - /// The query is not valid. + /// The query is not valid. InvalidQuery = 1, - /// The interpreter failed to understand the question. For example, because - /// it was too ambiguous. + /// The interpreter failed to understand the question. For example, because + /// it was too ambiguous. FailedToUnderstand = 2, - /// The interpreter could understand the question, but was not able to arrive - /// at an answer. For example, because a requested operation is not - /// supported. + /// The interpreter could understand the question, but was not able to arrive + /// at an answer. For example, because a requested operation is not + /// supported. FailedToAnswer = 3, } impl InterpretErrorCode { @@ -506,39 +506,39 @@ pub mod interpret_error { } } } -/// Information about the backend status (such as BigQuery) of the execution. +/// Information about the backend status (such as BigQuery) of the execution. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionInfo { - /// Status returned by the backend when the job was created. + /// Status returned by the backend when the job was created. #[prost(message, optional, tag="1")] pub job_creation_status: ::core::option::Option, - /// Status of the job execution. + /// Status of the job execution. #[prost(enumeration="execution_info::JobExecutionState", tag="2")] pub job_execution_state: i32, - /// Time when the execution was triggered. + /// Time when the execution was triggered. #[prost(message, optional, tag="3")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// BigQuery job information. - /// Future versions will have different backends. Hence, clients must make sure - /// they can handle it when this field is not populated. + /// BigQuery job information. + /// Future versions will have different backends. Hence, clients must make sure + /// they can handle it when this field is not populated. #[prost(message, optional, tag="4")] pub bigquery_job: ::core::option::Option, } /// Nested message and enum types in `ExecutionInfo`. pub mod execution_info { - /// Enum of possible job execution statuses. + /// Enum of possible job execution statuses. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JobExecutionState { - /// No job execution was specified. + /// No job execution was specified. Unspecified = 0, - /// No job execution was requested, yet. + /// No job execution was requested, yet. NotExecuted = 1, - /// The job is running. + /// The job is running. Running = 2, - /// The job completed successfully. + /// The job completed successfully. Succeeded = 3, - /// The job completed unsuccessfully. + /// The job completed unsuccessfully. Failed = 4, } impl JobExecutionState { @@ -557,142 +557,142 @@ pub mod execution_info { } } } -/// BigQuery job information. This can be used to query the BigQuery API and -/// retrieve the current job's status (using -/// \[jobs.get\]()). +/// BigQuery job information. This can be used to query the BigQuery API and +/// retrieve the current job's status (using +/// \[jobs.get\]()). #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryJob { - /// The job ID. + /// The job ID. #[prost(string, tag="1")] pub job_id: ::prost::alloc::string::String, - /// The project ID of the job. + /// The project ID of the job. #[prost(string, tag="2")] pub project_id: ::prost::alloc::string::String, - /// The location where the job is running. + /// The location where the job is running. #[prost(string, tag="3")] pub location: ::prost::alloc::string::String, } -/// An interpretation of a natural language query. +/// An interpretation of a natural language query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Interpretation { - /// List of data sources used in the current understanding. + /// List of data sources used in the current understanding. #[prost(string, repeated, tag="1")] pub data_sources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The level of confidence that one of the interpretations is correct. This is - /// a value in the range [0, 1] where a value of 0.5 or below is to be - /// considered a low confidence. + /// The level of confidence that one of the interpretations is correct. This is + /// a value in the range [0, 1] where a value of 0.5 or below is to be + /// considered a low confidence. #[prost(double, tag="2")] pub confidence: f64, - /// A list of unused phrases. Clients should display a Did You Mean (DYM) + /// A list of unused phrases. Clients should display a Did You Mean (DYM) /// dialog if this is non-empty, even if this is the only interpretation. #[prost(string, repeated, tag="3")] pub unused_phrases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Human readable representation of the query. + /// Human readable representation of the query. #[prost(message, optional, tag="4")] pub human_readable: ::core::option::Option, - /// Information about the interpretation structure that helps to understand and - /// visualize the response. + /// Information about the interpretation structure that helps to understand and + /// visualize the response. #[prost(message, optional, tag="5")] pub interpretation_structure: ::core::option::Option, - /// Representation of the data query to be sent to the backend. + /// Representation of the data query to be sent to the backend. #[prost(message, optional, tag="6")] pub data_query: ::core::option::Option, - /// Information about the backend response. This is populated only if execution - /// of an interpretation was requested. + /// Information about the backend response. This is populated only if execution + /// of an interpretation was requested. #[prost(message, optional, tag="7")] pub execution_info: ::core::option::Option, } -/// Representation of the data query for the backend. -/// This is provided for informational purposes only. Clients should not use -/// it to send it to the backend directly, but rather use the `execute` RPC -/// to trigger the execution. Using the `execute` RPC is needed in order to -/// track the state of a question and report on it correctly to the data -/// administrators. +/// Representation of the data query for the backend. +/// This is provided for informational purposes only. Clients should not use +/// it to send it to the backend directly, but rather use the `execute` RPC +/// to trigger the execution. Using the `execute` RPC is needed in order to +/// track the state of a question and report on it correctly to the data +/// administrators. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DataQuery { - /// The generated SQL query to be sent to the backend. + /// The generated SQL query to be sent to the backend. #[prost(string, tag="1")] pub sql: ::prost::alloc::string::String, } -/// Human readable interpretation. +/// Human readable interpretation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct HumanReadable { - /// Generated query explaining the interpretation. + /// Generated query explaining the interpretation. #[prost(message, optional, tag="1")] pub generated_interpretation: ::core::option::Option, - /// Annotations on the original query. + /// Annotations on the original query. #[prost(message, optional, tag="2")] pub original_question: ::core::option::Option, } -/// Information about the interpretation structure that helps to understand and -/// visualize the response. +/// Information about the interpretation structure that helps to understand and +/// visualize the response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InterpretationStructure { - /// List of possible visualization types to apply for this interpretation. The - /// order has no relevance. + /// List of possible visualization types to apply for this interpretation. The + /// order has no relevance. #[prost(enumeration="interpretation_structure::VisualizationType", repeated, tag="1")] pub visualization_types: ::prost::alloc::vec::Vec, - /// Information about the output columns, that is, the columns that will be - /// returned by the backend. + /// Information about the output columns, that is, the columns that will be + /// returned by the backend. #[prost(message, repeated, tag="2")] pub column_info: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `InterpretationStructure`. pub mod interpretation_structure { - /// Information about a column. + /// Information about a column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ColumnInfo { - /// The alias of the output column as used by the backend. For example, the - /// field name in the schema provided in the query response in BigQuery. + /// The alias of the output column as used by the backend. For example, the + /// field name in the schema provided in the query response in BigQuery. #[prost(string, tag="1")] pub output_alias: ::prost::alloc::string::String, - /// Human readable name of the output column. + /// Human readable name of the output column. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, } - /// Enumeration of visualzation types to use for query response data. + /// Enumeration of visualzation types to use for query response data. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum VisualizationType { - /// No visualization type was specified. + /// No visualization type was specified. Unspecified = 0, - /// Show a table. + /// Show a table. Table = 1, - /// Show a [bar - /// chart](). + /// Show a [bar + /// chart](). BarChart = 2, - /// Show a [column - /// chart](). + /// Show a [column + /// chart](). ColumnChart = 3, - /// Show a - /// \[timeline\](). + /// Show a + /// \[timeline\](). Timeline = 4, - /// Show a [scatter - /// plot](). + /// Show a [scatter + /// plot](). ScatterPlot = 5, - /// Show a [pie - /// chart](). + /// Show a [pie + /// chart](). PieChart = 6, - /// Show a [line - /// chart](). + /// Show a [line + /// chart](). LineChart = 7, - /// Show an [area - /// chart](). + /// Show an [area + /// chart](). AreaChart = 8, - /// Show a [combo - /// chart](). + /// Show a [combo + /// chart](). ComboChart = 9, - /// Show a - /// \[histogram\](). + /// Show a + /// \[histogram\](). Histogram = 10, - /// This denotes queries when the user has not specified the particular type - /// of chart and has mentioned only a generic chart name such as "Chart", - /// "Plot", "Graph", etc. This will differentiate it from specific charting - /// terms such as "Bar chart", "Pie chart", etc. + /// This denotes queries when the user has not specified the particular type + /// of chart and has mentioned only a generic chart name such as "Chart", + /// "Plot", "Graph", etc. This will differentiate it from specific charting + /// terms such as "Bar chart", "Pie chart", etc. GenericChart = 11, - /// The user tried to specify a chart type, but the interpreter could not - /// understand the type. The client should display a generic chart and may - /// give a hint to the user that the requested type was not understood. + /// The user tried to specify a chart type, but the interpreter could not + /// understand the type. The client should display a generic chart and may + /// give a hint to the user that the requested type was not understood. ChartNotUnderstood = 12, } impl VisualizationType { @@ -719,63 +719,63 @@ pub mod interpretation_structure { } } } -/// Configuriation of debug flags. +/// Configuriation of debug flags. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DebugFlags { - /// Whether to include the original VAQuery. + /// Whether to include the original VAQuery. #[prost(bool, tag="1")] pub include_va_query: bool, - /// Whether to include the original nested VAQuery. + /// Whether to include the original nested VAQuery. #[prost(bool, tag="2")] pub include_nested_va_query: bool, - /// Whether to include the original human interpretation strings generated - /// by Analyza. + /// Whether to include the original human interpretation strings generated + /// by Analyza. #[prost(bool, tag="3")] pub include_human_interpretation: bool, - /// Whether to include the Aqua debug response. + /// Whether to include the Aqua debug response. #[prost(bool, tag="4")] pub include_aqua_debug_response: bool, - /// The time in milliseconds from Unix epoch to be used - /// to process the query. This is useful for testing - /// the queries at different time period. - /// If not set or time_override <= 0, then the current - /// time is used. + /// The time in milliseconds from Unix epoch to be used + /// to process the query. This is useful for testing + /// the queries at different time period. + /// If not set or time_override <= 0, then the current + /// time is used. #[prost(int64, tag="5")] pub time_override: i64, - /// Set to true if request is initiated by an internal Google user. + /// Set to true if request is initiated by an internal Google user. #[prost(bool, tag="6")] pub is_internal_google_user: bool, - /// Determines whether cache needs to be ignored. If set to - /// true, cache won't be queried and updated. + /// Determines whether cache needs to be ignored. If set to + /// true, cache won't be queried and updated. #[prost(bool, tag="7")] pub ignore_cache: bool, - /// Whether to include the request/response pair from the call to the - /// EntityIndex for SearchEntities. + /// Whether to include the request/response pair from the call to the + /// EntityIndex for SearchEntities. #[prost(bool, tag="8")] pub include_search_entities_rpc: bool, - /// Whether to include the request/response pair from the call to the - /// Annotations service for ListColumnAnnotations. + /// Whether to include the request/response pair from the call to the + /// Annotations service for ListColumnAnnotations. #[prost(bool, tag="9")] pub include_list_column_annotations_rpc: bool, - /// Whether to include the entity list passed to Analyza. + /// Whether to include the entity list passed to Analyza. #[prost(bool, tag="10")] pub include_virtual_analyst_entities: bool, - /// Whether to include the table list. + /// Whether to include the table list. #[prost(bool, tag="11")] pub include_table_list: bool, - /// Whether to include the domain list. + /// Whether to include the domain list. #[prost(bool, tag="12")] pub include_domain_list: bool, } -/// Query entities of an interpretation. +/// Query entities of an interpretation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum InterpretEntity { - /// No interpret entity was specified. + /// No interpret entity was specified. Unspecified = 0, - /// A dimenstion entity. + /// A dimenstion entity. Dimension = 1, - /// A metric entity. + /// A metric entity. Metric = 2, } impl InterpretEntity { @@ -791,32 +791,32 @@ impl InterpretEntity { } } } -/// Feedback provided by a user. +/// Feedback provided by a user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserFeedback { - /// Required. The unique identifier for the user feedback. - /// User feedback is a singleton resource on a Question. - /// Example: `projects/foo/locations/bar/questions/1234/userFeedback` + /// Required. The unique identifier for the user feedback. + /// User feedback is a singleton resource on a Question. + /// Example: `projects/foo/locations/bar/questions/1234/userFeedback` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Free form user feedback, such as a text box. + /// Free form user feedback, such as a text box. #[prost(string, tag="2")] pub free_form_feedback: ::prost::alloc::string::String, - /// The user feedback rating + /// The user feedback rating #[prost(enumeration="user_feedback::UserFeedbackRating", tag="3")] pub rating: i32, } /// Nested message and enum types in `UserFeedback`. pub mod user_feedback { - /// Enumeration of feedback ratings. + /// Enumeration of feedback ratings. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum UserFeedbackRating { - /// No rating was specified. + /// No rating was specified. Unspecified = 0, - /// The user provided positive feedback. + /// The user provided positive feedback. Positive = 1, - /// The user provided negative feedback. + /// The user provided negative feedback. Negative = 2, } impl UserFeedbackRating { @@ -833,58 +833,58 @@ pub mod user_feedback { } } } -/// A request to get a previously created question. +/// A request to get a previously created question. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetQuestionRequest { - /// Required. The unique identifier for the question. - /// Example: `projects/foo/locations/bar/questions/1234` + /// Required. The unique identifier for the question. + /// Example: `projects/foo/locations/bar/questions/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The list of fields to be retrieved. + /// The list of fields to be retrieved. #[prost(message, optional, tag="2")] pub read_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// Request to create a question resource. +/// Request to create a question resource. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateQuestionRequest { - /// Required. The name of the project this data source reference belongs to. - /// Example: `projects/foo/locations/bar` + /// Required. The name of the project this data source reference belongs to. + /// Example: `projects/foo/locations/bar` #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The question to create. + /// Required. The question to create. #[prost(message, optional, tag="2")] pub question: ::core::option::Option, } -/// Request to execute an interpretation. +/// Request to execute an interpretation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecuteQuestionRequest { - /// Required. The unique identifier for the question. - /// Example: `projects/foo/locations/bar/questions/1234` + /// Required. The unique identifier for the question. + /// Example: `projects/foo/locations/bar/questions/1234` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Index of the interpretation to execute. + /// Required. Index of the interpretation to execute. #[prost(int32, tag="2")] pub interpretation_index: i32, } -/// Request to get user feedback. +/// Request to get user feedback. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetUserFeedbackRequest { - /// Required. The unique identifier for the user feedback. - /// User feedback is a singleton resource on a Question. - /// Example: `projects/foo/locations/bar/questions/1234/userFeedback` + /// Required. The unique identifier for the user feedback. + /// User feedback is a singleton resource on a Question. + /// Example: `projects/foo/locations/bar/questions/1234/userFeedback` #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request to updates user feedback. +/// Request to updates user feedback. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateUserFeedbackRequest { - /// Required. The user feedback to update. This can be called even if there is no - /// user feedback so far. - /// The feedback's name field is used to identify the user feedback (and the - /// corresponding question) to update. + /// Required. The user feedback to update. This can be called even if there is no + /// user feedback so far. + /// The feedback's name field is used to identify the user feedback (and the + /// corresponding question) to update. #[prost(message, optional, tag="1")] pub user_feedback: ::core::option::Option, - /// The list of fields to be updated. + /// The list of fields to be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } diff --git a/gcloud-sdk/genproto/google.cloud.datastream.v1.rs b/gcloud-sdk/genproto/google.cloud.datastream.v1.rs index 8f5fe3a7b..5b6d6383d 100644 --- a/gcloud-sdk/genproto/google.cloud.datastream.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.datastream.v1.rs @@ -1,91 +1,91 @@ -/// Oracle database profile. +/// Oracle database profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleProfile { - /// Required. Hostname for the Oracle connection. + /// Required. Hostname for the Oracle connection. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Port for the Oracle connection, default value is 1521. + /// Port for the Oracle connection, default value is 1521. #[prost(int32, tag="2")] pub port: i32, - /// Required. Username for the Oracle connection. + /// Required. Username for the Oracle connection. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Password for the Oracle connection. + /// Required. Password for the Oracle connection. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// Required. Database for the Oracle connection. + /// Required. Database for the Oracle connection. #[prost(string, tag="5")] pub database_service: ::prost::alloc::string::String, - /// Connection string attributes + /// Connection string attributes #[prost(map="string, string", tag="6")] pub connection_attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// MySQL database profile. +/// MySQL database profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlProfile { - /// Required. Hostname for the MySQL connection. + /// Required. Hostname for the MySQL connection. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Port for the MySQL connection, default value is 3306. + /// Port for the MySQL connection, default value is 3306. #[prost(int32, tag="2")] pub port: i32, - /// Required. Username for the MySQL connection. + /// Required. Username for the MySQL connection. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Input only. Password for the MySQL connection. + /// Required. Input only. Password for the MySQL connection. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// SSL configuration for the MySQL connection. + /// SSL configuration for the MySQL connection. #[prost(message, optional, tag="5")] pub ssl_config: ::core::option::Option, } -/// PostgreSQL database profile. +/// PostgreSQL database profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlProfile { - /// Required. Hostname for the PostgreSQL connection. + /// Required. Hostname for the PostgreSQL connection. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Port for the PostgreSQL connection, default value is 5432. + /// Port for the PostgreSQL connection, default value is 5432. #[prost(int32, tag="2")] pub port: i32, - /// Required. Username for the PostgreSQL connection. + /// Required. Username for the PostgreSQL connection. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Password for the PostgreSQL connection. + /// Required. Password for the PostgreSQL connection. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// Required. Database for the PostgreSQL connection. + /// Required. Database for the PostgreSQL connection. #[prost(string, tag="5")] pub database: ::prost::alloc::string::String, } -/// Cloud Storage bucket profile. +/// Cloud Storage bucket profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsProfile { - /// Required. The Cloud Storage bucket name. + /// Required. The Cloud Storage bucket name. #[prost(string, tag="1")] pub bucket: ::prost::alloc::string::String, - /// The root path inside the Cloud Storage bucket. + /// The root path inside the Cloud Storage bucket. #[prost(string, tag="2")] pub root_path: ::prost::alloc::string::String, } -/// BigQuery warehouse profile. +/// BigQuery warehouse profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryProfile { } -/// Static IP address connectivity. +/// Static IP address connectivity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticServiceIpConnectivity { } -/// Forward SSH Tunnel connectivity. +/// Forward SSH Tunnel connectivity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardSshTunnelConnectivity { - /// Required. Hostname for the SSH tunnel. + /// Required. Hostname for the SSH tunnel. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Required. Username for the SSH tunnel. + /// Required. Username for the SSH tunnel. #[prost(string, tag="2")] pub username: ::prost::alloc::string::String, - /// Port for the SSH tunnel, default value is 22. + /// Port for the SSH tunnel, default value is 22. #[prost(int32, tag="3")] pub port: i32, #[prost(oneof="forward_ssh_tunnel_connectivity::AuthenticationMethod", tags="100, 101")] @@ -95,72 +95,72 @@ pub struct ForwardSshTunnelConnectivity { pub mod forward_ssh_tunnel_connectivity { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AuthenticationMethod { - /// Input only. SSH password. + /// Input only. SSH password. #[prost(string, tag="100")] Password(::prost::alloc::string::String), - /// Input only. SSH private key. + /// Input only. SSH private key. #[prost(string, tag="101")] PrivateKey(::prost::alloc::string::String), } } -/// The VPC Peering configuration is used to create VPC peering between -/// Datastream and the consumer's VPC. +/// The VPC Peering configuration is used to create VPC peering between +/// Datastream and the consumer's VPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcPeeringConfig { - /// Required. Fully qualified name of the VPC that Datastream will peer to. - /// Format: `projects/{project}/global/{networks}/{name}` + /// Required. Fully qualified name of the VPC that Datastream will peer to. + /// Format: `projects/{project}/global/{networks}/{name}` #[prost(string, tag="1")] pub vpc: ::prost::alloc::string::String, - /// Required. A free subnet for peering. (CIDR of /29) + /// Required. A free subnet for peering. (CIDR of /29) #[prost(string, tag="2")] pub subnet: ::prost::alloc::string::String, } -/// The PrivateConnection resource is used to establish private connectivity -/// between Datastream and a customer's network. +/// The PrivateConnection resource is used to establish private connectivity +/// between Datastream and a customer's network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateConnection { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. The state of the Private Connection. + /// Output only. The state of the Private Connection. #[prost(enumeration="private_connection::State", tag="6")] pub state: i32, - /// Output only. In case of error, the details of the error in a user-friendly format. + /// Output only. In case of error, the details of the error in a user-friendly format. #[prost(message, optional, tag="7")] pub error: ::core::option::Option, - /// VPC Peering Config. + /// VPC Peering Config. #[prost(message, optional, tag="100")] pub vpc_peering_config: ::core::option::Option, } /// Nested message and enum types in `PrivateConnection`. pub mod private_connection { - /// Private Connection state. + /// Private Connection state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified state. + /// Unspecified state. Unspecified = 0, - /// The private connection is in creation state - creating resources. + /// The private connection is in creation state - creating resources. Creating = 1, - /// The private connection has been created with all of its resources. + /// The private connection has been created with all of its resources. Created = 2, - /// The private connection creation has failed. + /// The private connection creation has failed. Failed = 3, - /// The private connection is being deleted. + /// The private connection is being deleted. Deleting = 4, - /// Delete request has failed, resource is in invalid state. + /// Delete request has failed, resource is in invalid state. FailedToDelete = 5, } impl State { @@ -180,422 +180,422 @@ pub mod private_connection { } } } -/// Private Connectivity +/// Private Connectivity #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateConnectivity { - /// Required. A reference to a private connection resource. - /// Format: `projects/{project}/locations/{location}/privateConnections/{name}` + /// Required. A reference to a private connection resource. + /// Format: `projects/{project}/locations/{location}/privateConnections/{name}` #[prost(string, tag="1")] pub private_connection: ::prost::alloc::string::String, } -/// The route resource is the child of the private connection resource, -/// used for defining a route for a private connection. +/// The route resource is the child of the private connection resource, +/// used for defining a route for a private connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Route { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. Destination address for connection + /// Required. Destination address for connection #[prost(string, tag="6")] pub destination_address: ::prost::alloc::string::String, - /// Destination port for connection + /// Destination port for connection #[prost(int32, tag="7")] pub destination_port: i32, } -/// MySQL SSL configuration information. +/// MySQL SSL configuration information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlSslConfig { - /// Input only. PEM-encoded private key associated with the Client Certificate. - /// If this field is used then the 'client_certificate' and the - /// 'ca_certificate' fields are mandatory. + /// Input only. PEM-encoded private key associated with the Client Certificate. + /// If this field is used then the 'client_certificate' and the + /// 'ca_certificate' fields are mandatory. #[prost(string, tag="1")] pub client_key: ::prost::alloc::string::String, - /// Output only. Indicates whether the client_key field is set. + /// Output only. Indicates whether the client_key field is set. #[prost(bool, tag="2")] pub client_key_set: bool, - /// Input only. PEM-encoded certificate that will be used by the replica to - /// authenticate against the source database server. If this field is used - /// then the 'client_key' and the 'ca_certificate' fields are mandatory. + /// Input only. PEM-encoded certificate that will be used by the replica to + /// authenticate against the source database server. If this field is used + /// then the 'client_key' and the 'ca_certificate' fields are mandatory. #[prost(string, tag="3")] pub client_certificate: ::prost::alloc::string::String, - /// Output only. Indicates whether the client_certificate field is set. + /// Output only. Indicates whether the client_certificate field is set. #[prost(bool, tag="4")] pub client_certificate_set: bool, - /// Input only. PEM-encoded certificate of the CA that signed the source database - /// server's certificate. + /// Input only. PEM-encoded certificate of the CA that signed the source database + /// server's certificate. #[prost(string, tag="5")] pub ca_certificate: ::prost::alloc::string::String, - /// Output only. Indicates whether the ca_certificate field is set. + /// Output only. Indicates whether the ca_certificate field is set. #[prost(bool, tag="6")] pub ca_certificate_set: bool, } -/// A set of reusable connection configurations to be used as a source or -/// destination for a stream. +/// A set of reusable connection configurations to be used as a source or +/// destination for a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionProfile { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Connection configuration for the ConnectionProfile. + /// Connection configuration for the ConnectionProfile. #[prost(oneof="connection_profile::Profile", tags="100, 101, 102, 103, 104")] pub profile: ::core::option::Option, - /// Connectivity options used to establish a connection to the profile. + /// Connectivity options used to establish a connection to the profile. #[prost(oneof="connection_profile::Connectivity", tags="200, 201, 202")] pub connectivity: ::core::option::Option, } /// Nested message and enum types in `ConnectionProfile`. pub mod connection_profile { - /// Connection configuration for the ConnectionProfile. + /// Connection configuration for the ConnectionProfile. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Profile { - /// Oracle ConnectionProfile configuration. + /// Oracle ConnectionProfile configuration. #[prost(message, tag="100")] OracleProfile(super::OracleProfile), - /// Cloud Storage ConnectionProfile configuration. + /// Cloud Storage ConnectionProfile configuration. #[prost(message, tag="101")] GcsProfile(super::GcsProfile), - /// MySQL ConnectionProfile configuration. + /// MySQL ConnectionProfile configuration. #[prost(message, tag="102")] MysqlProfile(super::MysqlProfile), - /// BigQuery Connection Profile configuration. + /// BigQuery Connection Profile configuration. #[prost(message, tag="103")] BigqueryProfile(super::BigQueryProfile), - /// PostgreSQL Connection Profile configuration. + /// PostgreSQL Connection Profile configuration. #[prost(message, tag="104")] PostgresqlProfile(super::PostgresqlProfile), } - /// Connectivity options used to establish a connection to the profile. + /// Connectivity options used to establish a connection to the profile. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Connectivity { - /// Static Service IP connectivity. + /// Static Service IP connectivity. #[prost(message, tag="200")] StaticServiceIpConnectivity(super::StaticServiceIpConnectivity), - /// Forward SSH tunnel connectivity. + /// Forward SSH tunnel connectivity. #[prost(message, tag="201")] ForwardSshConnectivity(super::ForwardSshTunnelConnectivity), - /// Private connectivity. + /// Private connectivity. #[prost(message, tag="202")] PrivateConnectivity(super::PrivateConnectivity), } } -/// Oracle Column. +/// Oracle Column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleColumn { - /// Column name. + /// Column name. #[prost(string, tag="1")] pub column: ::prost::alloc::string::String, - /// The Oracle data type. + /// The Oracle data type. #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Column length. + /// Column length. #[prost(int32, tag="3")] pub length: i32, - /// Column precision. + /// Column precision. #[prost(int32, tag="4")] pub precision: i32, - /// Column scale. + /// Column scale. #[prost(int32, tag="5")] pub scale: i32, - /// Column encoding. + /// Column encoding. #[prost(string, tag="6")] pub encoding: ::prost::alloc::string::String, - /// Whether or not the column represents a primary key. + /// Whether or not the column represents a primary key. #[prost(bool, tag="7")] pub primary_key: bool, - /// Whether or not the column can accept a null value. + /// Whether or not the column can accept a null value. #[prost(bool, tag="8")] pub nullable: bool, - /// The ordinal position of the column in the table. + /// The ordinal position of the column in the table. #[prost(int32, tag="9")] pub ordinal_position: i32, } -/// Oracle table. +/// Oracle table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleTable { - /// Table name. + /// Table name. #[prost(string, tag="1")] pub table: ::prost::alloc::string::String, - /// Oracle columns in the schema. - /// When unspecified as part of include/exclude objects, includes/excludes - /// everything. + /// Oracle columns in the schema. + /// When unspecified as part of include/exclude objects, includes/excludes + /// everything. #[prost(message, repeated, tag="2")] pub oracle_columns: ::prost::alloc::vec::Vec, } -/// Oracle schema. +/// Oracle schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleSchema { - /// Schema name. + /// Schema name. #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, - /// Tables in the schema. + /// Tables in the schema. #[prost(message, repeated, tag="2")] pub oracle_tables: ::prost::alloc::vec::Vec, } -/// Oracle database structure. +/// Oracle database structure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleRdbms { - /// Oracle schemas/databases in the database server. + /// Oracle schemas/databases in the database server. #[prost(message, repeated, tag="1")] pub oracle_schemas: ::prost::alloc::vec::Vec, } -/// Oracle data source configuration +/// Oracle data source configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleSourceConfig { - /// Oracle objects to include in the stream. + /// Oracle objects to include in the stream. #[prost(message, optional, tag="1")] pub include_objects: ::core::option::Option, - /// Oracle objects to exclude from the stream. + /// Oracle objects to exclude from the stream. #[prost(message, optional, tag="2")] pub exclude_objects: ::core::option::Option, - /// Maximum number of concurrent CDC tasks. The number should be non negative. - /// If not set (or set to 0), the system's default value will be used. + /// Maximum number of concurrent CDC tasks. The number should be non negative. + /// If not set (or set to 0), the system's default value will be used. #[prost(int32, tag="3")] pub max_concurrent_cdc_tasks: i32, - /// The configuration for handle Oracle large objects. + /// The configuration for handle Oracle large objects. #[prost(oneof="oracle_source_config::LargeObjectsHandling", tags="100, 102")] pub large_objects_handling: ::core::option::Option, } /// Nested message and enum types in `OracleSourceConfig`. pub mod oracle_source_config { - /// Configuration to drop large object values. + /// Configuration to drop large object values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DropLargeObjects { } - /// Configuration to stream large object values. + /// Configuration to stream large object values. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamLargeObjects { } - /// The configuration for handle Oracle large objects. + /// The configuration for handle Oracle large objects. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum LargeObjectsHandling { - /// Drop large object values. + /// Drop large object values. #[prost(message, tag="100")] DropLargeObjects(DropLargeObjects), - /// Stream large object values. + /// Stream large object values. #[prost(message, tag="102")] StreamLargeObjects(StreamLargeObjects), } } -/// PostgreSQL Column. +/// PostgreSQL Column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlColumn { - /// Column name. + /// Column name. #[prost(string, tag="1")] pub column: ::prost::alloc::string::String, - /// The PostgreSQL data type. + /// The PostgreSQL data type. #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Column length. + /// Column length. #[prost(int32, tag="3")] pub length: i32, - /// Column precision. + /// Column precision. #[prost(int32, tag="4")] pub precision: i32, - /// Column scale. + /// Column scale. #[prost(int32, tag="5")] pub scale: i32, - /// Whether or not the column represents a primary key. + /// Whether or not the column represents a primary key. #[prost(bool, tag="7")] pub primary_key: bool, - /// Whether or not the column can accept a null value. + /// Whether or not the column can accept a null value. #[prost(bool, tag="8")] pub nullable: bool, - /// The ordinal position of the column in the table. + /// The ordinal position of the column in the table. #[prost(int32, tag="9")] pub ordinal_position: i32, } -/// PostgreSQL table. +/// PostgreSQL table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlTable { - /// Table name. + /// Table name. #[prost(string, tag="1")] pub table: ::prost::alloc::string::String, - /// PostgreSQL columns in the schema. - /// When unspecified as part of include/exclude objects, - /// includes/excludes everything. + /// PostgreSQL columns in the schema. + /// When unspecified as part of include/exclude objects, + /// includes/excludes everything. #[prost(message, repeated, tag="2")] pub postgresql_columns: ::prost::alloc::vec::Vec, } -/// PostgreSQL schema. +/// PostgreSQL schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlSchema { - /// Schema name. + /// Schema name. #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, - /// Tables in the schema. + /// Tables in the schema. #[prost(message, repeated, tag="2")] pub postgresql_tables: ::prost::alloc::vec::Vec, } -/// PostgreSQL database structure. +/// PostgreSQL database structure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlRdbms { - /// PostgreSQL schemas in the database server. + /// PostgreSQL schemas in the database server. #[prost(message, repeated, tag="1")] pub postgresql_schemas: ::prost::alloc::vec::Vec, } -/// PostgreSQL data source configuration +/// PostgreSQL data source configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlSourceConfig { - /// PostgreSQL objects to include in the stream. + /// PostgreSQL objects to include in the stream. #[prost(message, optional, tag="1")] pub include_objects: ::core::option::Option, - /// PostgreSQL objects to exclude from the stream. + /// PostgreSQL objects to exclude from the stream. #[prost(message, optional, tag="2")] pub exclude_objects: ::core::option::Option, - /// Required. The name of the logical replication slot that's configured with the - /// pgoutput plugin. + /// Required. The name of the logical replication slot that's configured with the + /// pgoutput plugin. #[prost(string, tag="3")] pub replication_slot: ::prost::alloc::string::String, - /// Required. The name of the publication that includes the set of all tables that are - /// defined in the stream's include_objects. + /// Required. The name of the publication that includes the set of all tables that are + /// defined in the stream's include_objects. #[prost(string, tag="4")] pub publication: ::prost::alloc::string::String, } -/// MySQL Column. +/// MySQL Column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlColumn { - /// Column name. + /// Column name. #[prost(string, tag="1")] pub column: ::prost::alloc::string::String, - /// The MySQL data type. Full data types list can be found here: - /// + /// The MySQL data type. Full data types list can be found here: + /// #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Column length. + /// Column length. #[prost(int32, tag="3")] pub length: i32, - /// Column collation. + /// Column collation. #[prost(string, tag="4")] pub collation: ::prost::alloc::string::String, - /// Whether or not the column represents a primary key. + /// Whether or not the column represents a primary key. #[prost(bool, tag="5")] pub primary_key: bool, - /// Whether or not the column can accept a null value. + /// Whether or not the column can accept a null value. #[prost(bool, tag="6")] pub nullable: bool, - /// The ordinal position of the column in the table. + /// The ordinal position of the column in the table. #[prost(int32, tag="7")] pub ordinal_position: i32, } -/// MySQL table. +/// MySQL table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlTable { - /// Table name. + /// Table name. #[prost(string, tag="1")] pub table: ::prost::alloc::string::String, - /// MySQL columns in the database. - /// When unspecified as part of include/exclude objects, includes/excludes - /// everything. + /// MySQL columns in the database. + /// When unspecified as part of include/exclude objects, includes/excludes + /// everything. #[prost(message, repeated, tag="2")] pub mysql_columns: ::prost::alloc::vec::Vec, } -/// MySQL database. +/// MySQL database. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlDatabase { - /// Database name. + /// Database name. #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// Tables in the database. + /// Tables in the database. #[prost(message, repeated, tag="2")] pub mysql_tables: ::prost::alloc::vec::Vec, } -/// MySQL database structure +/// MySQL database structure #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlRdbms { - /// Mysql databases on the server + /// Mysql databases on the server #[prost(message, repeated, tag="1")] pub mysql_databases: ::prost::alloc::vec::Vec, } -/// MySQL source configuration +/// MySQL source configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlSourceConfig { - /// MySQL objects to retrieve from the source. + /// MySQL objects to retrieve from the source. #[prost(message, optional, tag="1")] pub include_objects: ::core::option::Option, - /// MySQL objects to exclude from the stream. + /// MySQL objects to exclude from the stream. #[prost(message, optional, tag="2")] pub exclude_objects: ::core::option::Option, - /// Maximum number of concurrent CDC tasks. The number should be non negative. - /// If not set (or set to 0), the system's default value will be used. + /// Maximum number of concurrent CDC tasks. The number should be non negative. + /// If not set (or set to 0), the system's default value will be used. #[prost(int32, tag="3")] pub max_concurrent_cdc_tasks: i32, } -/// The configuration of the stream source. +/// The configuration of the stream source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceConfig { - /// Required. Source connection profile resoource. - /// Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` + /// Required. Source connection profile resoource. + /// Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` #[prost(string, tag="1")] pub source_connection_profile: ::prost::alloc::string::String, - /// Stream configuration that is specific to the data source type. + /// Stream configuration that is specific to the data source type. #[prost(oneof="source_config::SourceStreamConfig", tags="100, 101, 102")] pub source_stream_config: ::core::option::Option, } /// Nested message and enum types in `SourceConfig`. pub mod source_config { - /// Stream configuration that is specific to the data source type. + /// Stream configuration that is specific to the data source type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceStreamConfig { - /// Oracle data source configuration. + /// Oracle data source configuration. #[prost(message, tag="100")] OracleSourceConfig(super::OracleSourceConfig), - /// MySQL data source configuration. + /// MySQL data source configuration. #[prost(message, tag="101")] MysqlSourceConfig(super::MysqlSourceConfig), - /// PostgreSQL data source configuration. + /// PostgreSQL data source configuration. #[prost(message, tag="102")] PostgresqlSourceConfig(super::PostgresqlSourceConfig), } } -/// AVRO file format configuration. +/// AVRO file format configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroFileFormat { } -/// JSON file format configuration. +/// JSON file format configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JsonFileFormat { - /// The schema file format along JSON data files. + /// The schema file format along JSON data files. #[prost(enumeration="json_file_format::SchemaFileFormat", tag="1")] pub schema_file_format: i32, - /// Compression of the loaded JSON file. + /// Compression of the loaded JSON file. #[prost(enumeration="json_file_format::JsonCompression", tag="2")] pub compression: i32, } /// Nested message and enum types in `JsonFileFormat`. pub mod json_file_format { - /// Schema file format. + /// Schema file format. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SchemaFileFormat { - /// Unspecified schema file format. + /// Unspecified schema file format. Unspecified = 0, - /// Do not attach schema file. + /// Do not attach schema file. NoSchemaFile = 1, - /// Avro schema format. + /// Avro schema format. AvroSchemaFile = 2, } impl SchemaFileFormat { @@ -611,15 +611,15 @@ pub mod json_file_format { } } } - /// Json file compression. + /// Json file compression. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JsonCompression { - /// Unspecified json file compression. + /// Unspecified json file compression. Unspecified = 0, - /// Do not compress JSON file. + /// Do not compress JSON file. NoCompression = 1, - /// Gzip compression. + /// Gzip compression. Gzip = 2, } impl JsonCompression { @@ -636,58 +636,58 @@ pub mod json_file_format { } } } -/// Google Cloud Storage destination configuration +/// Google Cloud Storage destination configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestinationConfig { - /// Path inside the Cloud Storage bucket to write data to. + /// Path inside the Cloud Storage bucket to write data to. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// The maximum file size to be saved in the bucket. + /// The maximum file size to be saved in the bucket. #[prost(int32, tag="2")] pub file_rotation_mb: i32, - /// The maximum duration for which new events are added before a file is - /// closed and a new file is created. + /// The maximum duration for which new events are added before a file is + /// closed and a new file is created. #[prost(message, optional, tag="3")] pub file_rotation_interval: ::core::option::Option<::prost_types::Duration>, - /// File Format that the data should be written in. + /// File Format that the data should be written in. #[prost(oneof="gcs_destination_config::FileFormat", tags="100, 101")] pub file_format: ::core::option::Option, } /// Nested message and enum types in `GcsDestinationConfig`. pub mod gcs_destination_config { - /// File Format that the data should be written in. + /// File Format that the data should be written in. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FileFormat { - /// AVRO file format configuration. + /// AVRO file format configuration. #[prost(message, tag="100")] AvroFileFormat(super::AvroFileFormat), - /// JSON file format configuration. + /// JSON file format configuration. #[prost(message, tag="101")] JsonFileFormat(super::JsonFileFormat), } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct BigQueryDestinationConfig { - /// The guaranteed data freshness (in seconds) when querying tables created by - /// the stream. Editing this field will only affect new tables created in the - /// future, but existing tables will not be impacted. Lower values mean that - /// queries will return fresher data, but may result in higher cost. + /// The guaranteed data freshness (in seconds) when querying tables created by + /// the stream. Editing this field will only affect new tables created in the + /// future, but existing tables will not be impacted. Lower values mean that + /// queries will return fresher data, but may result in higher cost. #[prost(message, optional, tag="300")] pub data_freshness: ::core::option::Option<::prost_types::Duration>, - /// Target dataset(s) configuration. + /// Target dataset(s) configuration. #[prost(oneof="big_query_destination_config::DatasetConfig", tags="201, 202")] pub dataset_config: ::core::option::Option, } /// Nested message and enum types in `BigQueryDestinationConfig`. pub mod big_query_destination_config { - /// A single target dataset to which all data will be streamed. + /// A single target dataset to which all data will be streamed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SingleTargetDataset { #[prost(string, tag="1")] pub dataset_id: ::prost::alloc::string::String, } - /// Destination datasets are created so that hierarchy of the destination data - /// objects matches the source hierarchy. + /// Destination datasets are created so that hierarchy of the destination data + /// objects matches the source hierarchy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceHierarchyDatasets { #[prost(message, optional, tag="2")] @@ -695,160 +695,160 @@ pub mod big_query_destination_config { } /// Nested message and enum types in `SourceHierarchyDatasets`. pub mod source_hierarchy_datasets { - /// Dataset template used for dynamic dataset creation. + /// Dataset template used for dynamic dataset creation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DatasetTemplate { - /// Required. The geographic location where the dataset should reside. See - /// for supported - /// locations. + /// Required. The geographic location where the dataset should reside. See + /// for supported + /// locations. #[prost(string, tag="1")] pub location: ::prost::alloc::string::String, - /// If supplied, every created dataset will have its name prefixed by the - /// provided value. The prefix and name will be separated by an underscore. - /// i.e. _. + /// If supplied, every created dataset will have its name prefixed by the + /// provided value. The prefix and name will be separated by an underscore. + /// i.e. _. #[prost(string, tag="2")] pub dataset_id_prefix: ::prost::alloc::string::String, - /// Describes the Cloud KMS encryption key that will be used to - /// protect destination BigQuery table. The BigQuery Service Account - /// associated with your project requires access to this encryption key. - /// i.e. - /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. - /// See - /// for more information. + /// Describes the Cloud KMS encryption key that will be used to + /// protect destination BigQuery table. The BigQuery Service Account + /// associated with your project requires access to this encryption key. + /// i.e. + /// projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}. + /// See + /// for more information. #[prost(string, tag="3")] pub kms_key_name: ::prost::alloc::string::String, } } - /// Target dataset(s) configuration. + /// Target dataset(s) configuration. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DatasetConfig { - /// Single destination dataset. + /// Single destination dataset. #[prost(message, tag="201")] SingleTargetDataset(SingleTargetDataset), - /// Source hierarchy datasets. + /// Source hierarchy datasets. #[prost(message, tag="202")] SourceHierarchyDatasets(SourceHierarchyDatasets), } } -/// The configuration of the stream destination. +/// The configuration of the stream destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationConfig { - /// Required. Destination connection profile resource. - /// Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` + /// Required. Destination connection profile resource. + /// Format: `projects/{project}/locations/{location}/connectionProfiles/{name}` #[prost(string, tag="1")] pub destination_connection_profile: ::prost::alloc::string::String, - /// Stream configuration that is specific to the data destination type. + /// Stream configuration that is specific to the data destination type. #[prost(oneof="destination_config::DestinationStreamConfig", tags="100, 101")] pub destination_stream_config: ::core::option::Option, } /// Nested message and enum types in `DestinationConfig`. pub mod destination_config { - /// Stream configuration that is specific to the data destination type. + /// Stream configuration that is specific to the data destination type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DestinationStreamConfig { - /// A configuration for how data should be loaded to Cloud Storage. + /// A configuration for how data should be loaded to Cloud Storage. #[prost(message, tag="100")] GcsDestinationConfig(super::GcsDestinationConfig), - /// BigQuery destination configuration. + /// BigQuery destination configuration. #[prost(message, tag="101")] BigqueryDestinationConfig(super::BigQueryDestinationConfig), } } -/// A resource representing streaming data from a source to a destination. +/// A resource representing streaming data from a source to a destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Stream { - /// Output only. The stream's name. + /// Output only. The stream's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The creation time of the stream. + /// Output only. The creation time of the stream. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update time of the stream. + /// Output only. The last update time of the stream. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. Source connection profile configuration. + /// Required. Source connection profile configuration. #[prost(message, optional, tag="6")] pub source_config: ::core::option::Option, - /// Required. Destination connection profile configuration. + /// Required. Destination connection profile configuration. #[prost(message, optional, tag="7")] pub destination_config: ::core::option::Option, - /// The state of the stream. + /// The state of the stream. #[prost(enumeration="stream::State", tag="8")] pub state: i32, - /// Output only. Errors on the Stream. + /// Output only. Errors on the Stream. #[prost(message, repeated, tag="9")] pub errors: ::prost::alloc::vec::Vec, - /// Immutable. A reference to a KMS encryption key. - /// If provided, it will be used to encrypt the data. - /// If left blank, data will be encrypted using an internal Stream-specific - /// encryption key provisioned through KMS. + /// Immutable. A reference to a KMS encryption key. + /// If provided, it will be used to encrypt the data. + /// If left blank, data will be encrypted using an internal Stream-specific + /// encryption key provisioned through KMS. #[prost(string, optional, tag="10")] pub customer_managed_encryption_key: ::core::option::Option<::prost::alloc::string::String>, - /// Stream backfill strategy. + /// Stream backfill strategy. #[prost(oneof="stream::BackfillStrategy", tags="101, 102")] pub backfill_strategy: ::core::option::Option, } /// Nested message and enum types in `Stream`. pub mod stream { - /// Backfill strategy to automatically backfill the Stream's objects. - /// Specific objects can be excluded. + /// Backfill strategy to automatically backfill the Stream's objects. + /// Specific objects can be excluded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackfillAllStrategy { - /// List of objects to exclude. + /// List of objects to exclude. #[prost(oneof="backfill_all_strategy::ExcludedObjects", tags="1, 2, 3")] pub excluded_objects: ::core::option::Option, } /// Nested message and enum types in `BackfillAllStrategy`. pub mod backfill_all_strategy { - /// List of objects to exclude. + /// List of objects to exclude. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ExcludedObjects { - /// Oracle data source objects to avoid backfilling. + /// Oracle data source objects to avoid backfilling. #[prost(message, tag="1")] OracleExcludedObjects(super::super::OracleRdbms), - /// MySQL data source objects to avoid backfilling. + /// MySQL data source objects to avoid backfilling. #[prost(message, tag="2")] MysqlExcludedObjects(super::super::MysqlRdbms), - /// PostgreSQL data source objects to avoid backfilling. + /// PostgreSQL data source objects to avoid backfilling. #[prost(message, tag="3")] PostgresqlExcludedObjects(super::super::PostgresqlRdbms), } } - /// Backfill strategy to disable automatic backfill for the Stream's objects. + /// Backfill strategy to disable automatic backfill for the Stream's objects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackfillNoneStrategy { } - /// Stream state. + /// Stream state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified stream state. + /// Unspecified stream state. Unspecified = 0, - /// The stream has been created but has not yet started streaming data. + /// The stream has been created but has not yet started streaming data. NotStarted = 1, - /// The stream is running. + /// The stream is running. Running = 2, - /// The stream is paused. + /// The stream is paused. Paused = 3, - /// The stream is in maintenance mode. + /// The stream is in maintenance mode. /// - /// Updates are rejected on the resource in this state. + /// Updates are rejected on the resource in this state. Maintenance = 4, - /// The stream is experiencing an error that is preventing data from being - /// streamed. + /// The stream is experiencing an error that is preventing data from being + /// streamed. Failed = 5, - /// The stream has experienced a terminal failure. + /// The stream has experienced a terminal failure. FailedPermanently = 6, - /// The stream is starting, but not yet running. + /// The stream is starting, but not yet running. Starting = 7, - /// The Stream is no longer reading new events, but still writing events in - /// the buffer. + /// The Stream is no longer reading new events, but still writing events in + /// the buffer. Draining = 8, } impl State { @@ -870,139 +870,139 @@ pub mod stream { } } } - /// Stream backfill strategy. + /// Stream backfill strategy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BackfillStrategy { - /// Automatically backfill objects included in the stream source - /// configuration. Specific objects can be excluded. + /// Automatically backfill objects included in the stream source + /// configuration. Specific objects can be excluded. #[prost(message, tag="101")] BackfillAll(BackfillAllStrategy), - /// Do not automatically backfill any objects. + /// Do not automatically backfill any objects. #[prost(message, tag="102")] BackfillNone(BackfillNoneStrategy), } } -/// A specific stream object (e.g a specific DB table). +/// A specific stream object (e.g a specific DB table). #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamObject { - /// Output only. The object resource's name. + /// Output only. The object resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The creation time of the object. + /// Output only. The creation time of the object. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update time of the object. + /// Output only. The last update time of the object. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. Active errors on the object. + /// Output only. Active errors on the object. #[prost(message, repeated, tag="6")] pub errors: ::prost::alloc::vec::Vec, - /// The latest backfill job that was initiated for the stream object. + /// The latest backfill job that was initiated for the stream object. #[prost(message, optional, tag="7")] pub backfill_job: ::core::option::Option, - /// The object identifier in the data source. + /// The object identifier in the data source. #[prost(message, optional, tag="8")] pub source_object: ::core::option::Option, } -/// Represents an identifier of an object in the data source. +/// Represents an identifier of an object in the data source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceObjectIdentifier { - /// The identifier for an object in the data source. + /// The identifier for an object in the data source. #[prost(oneof="source_object_identifier::SourceIdentifier", tags="1, 2, 3")] pub source_identifier: ::core::option::Option, } /// Nested message and enum types in `SourceObjectIdentifier`. pub mod source_object_identifier { - /// Oracle data source object identifier. + /// Oracle data source object identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleObjectIdentifier { - /// Required. The schema name. + /// Required. The schema name. #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, - /// Required. The table name. + /// Required. The table name. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, } - /// PostgreSQL data source object identifier. + /// PostgreSQL data source object identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PostgresqlObjectIdentifier { - /// Required. The schema name. + /// Required. The schema name. #[prost(string, tag="1")] pub schema: ::prost::alloc::string::String, - /// Required. The table name. + /// Required. The table name. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, } - /// Mysql data source object identifier. + /// Mysql data source object identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlObjectIdentifier { - /// Required. The database name. + /// Required. The database name. #[prost(string, tag="1")] pub database: ::prost::alloc::string::String, - /// Required. The table name. + /// Required. The table name. #[prost(string, tag="2")] pub table: ::prost::alloc::string::String, } - /// The identifier for an object in the data source. + /// The identifier for an object in the data source. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceIdentifier { - /// Oracle data source object identifier. + /// Oracle data source object identifier. #[prost(message, tag="1")] OracleIdentifier(OracleObjectIdentifier), - /// Mysql data source object identifier. + /// Mysql data source object identifier. #[prost(message, tag="2")] MysqlIdentifier(MysqlObjectIdentifier), - /// PostgreSQL data source object identifier. + /// PostgreSQL data source object identifier. #[prost(message, tag="3")] PostgresqlIdentifier(PostgresqlObjectIdentifier), } } -/// Represents a backfill job on a specific stream object. +/// Represents a backfill job on a specific stream object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackfillJob { - /// Backfill job state. + /// Backfill job state. #[prost(enumeration="backfill_job::State", tag="1")] pub state: i32, - /// Backfill job's triggering reason. + /// Backfill job's triggering reason. #[prost(enumeration="backfill_job::Trigger", tag="2")] pub trigger: i32, - /// Output only. Backfill job's start time. + /// Output only. Backfill job's start time. #[prost(message, optional, tag="3")] pub last_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Backfill job's end time. + /// Output only. Backfill job's end time. #[prost(message, optional, tag="4")] pub last_end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Errors which caused the backfill job to fail. + /// Output only. Errors which caused the backfill job to fail. #[prost(message, repeated, tag="5")] pub errors: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `BackfillJob`. pub mod backfill_job { - /// State of the stream object's backfill job. + /// State of the stream object's backfill job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Default value. + /// Default value. Unspecified = 0, - /// Backfill job was never started for the stream object (stream has backfill - /// strategy defined as manual or object was explicitly excluded from - /// automatic backfill). + /// Backfill job was never started for the stream object (stream has backfill + /// strategy defined as manual or object was explicitly excluded from + /// automatic backfill). NotStarted = 1, - /// Backfill job will start pending available resources. + /// Backfill job will start pending available resources. Pending = 2, - /// Backfill job is running. + /// Backfill job is running. Active = 3, - /// Backfill job stopped (next job run will start from beginning). + /// Backfill job stopped (next job run will start from beginning). Stopped = 4, - /// Backfill job failed (due to an error). + /// Backfill job failed (due to an error). Failed = 5, - /// Backfill completed successfully. + /// Backfill completed successfully. Completed = 6, - /// Backfill job failed since the table structure is currently unsupported - /// for backfill. + /// Backfill job failed since the table structure is currently unsupported + /// for backfill. Unsupported = 7, } impl State { @@ -1023,16 +1023,16 @@ pub mod backfill_job { } } } - /// Triggering reason for a backfill job. + /// Triggering reason for a backfill job. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Trigger { - /// Default value. + /// Default value. Unspecified = 0, - /// Object backfill job was triggered automatically according to the stream's - /// backfill strategy. + /// Object backfill job was triggered automatically according to the stream's + /// backfill strategy. Automatic = 1, - /// Object backfill job was triggered manually using the dedicated API. + /// Object backfill job was triggered manually using the dedicated API. Manual = 2, } impl Trigger { @@ -1049,63 +1049,63 @@ pub mod backfill_job { } } } -/// Represent a user-facing Error. +/// Represent a user-facing Error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Error { - /// A title that explains the reason for the error. + /// A title that explains the reason for the error. #[prost(string, tag="1")] pub reason: ::prost::alloc::string::String, - /// A unique identifier for this specific error, - /// allowing it to be traced throughout the system in logs and API responses. + /// A unique identifier for this specific error, + /// allowing it to be traced throughout the system in logs and API responses. #[prost(string, tag="2")] pub error_uuid: ::prost::alloc::string::String, - /// A message containing more information about the error that occurred. + /// A message containing more information about the error that occurred. #[prost(string, tag="3")] pub message: ::prost::alloc::string::String, - /// The time when the error occurred. + /// The time when the error occurred. #[prost(message, optional, tag="4")] pub error_time: ::core::option::Option<::prost_types::Timestamp>, - /// Additional information about the error. + /// Additional information about the error. #[prost(map="string, string", tag="5")] pub details: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Contains the current validation results. +/// Contains the current validation results. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationResult { - /// A list of validations (includes both executed as well as not executed - /// validations). + /// A list of validations (includes both executed as well as not executed + /// validations). #[prost(message, repeated, tag="1")] pub validations: ::prost::alloc::vec::Vec, } -/// A validation to perform on a stream. +/// A validation to perform on a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Validation { - /// A short description of the validation. + /// A short description of the validation. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// Validation execution status. + /// Validation execution status. #[prost(enumeration="validation::State", tag="2")] pub state: i32, - /// Messages reflecting the validation results. + /// Messages reflecting the validation results. #[prost(message, repeated, tag="3")] pub message: ::prost::alloc::vec::Vec, - /// A custom code identifying this validation. + /// A custom code identifying this validation. #[prost(string, tag="4")] pub code: ::prost::alloc::string::String, } /// Nested message and enum types in `Validation`. pub mod validation { - /// Validation execution state. + /// Validation execution state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified state. + /// Unspecified state. Unspecified = 0, - /// Validation did not execute. + /// Validation did not execute. NotExecuted = 1, - /// Validation failed. + /// Validation failed. Failed = 2, - /// Validation passed. + /// Validation passed. Passed = 3, } impl State { @@ -1123,33 +1123,33 @@ pub mod validation { } } } -/// Represent user-facing validation result message. +/// Represent user-facing validation result message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationMessage { - /// The result of the validation. + /// The result of the validation. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// Message severity level (warning or error). + /// Message severity level (warning or error). #[prost(enumeration="validation_message::Level", tag="2")] pub level: i32, - /// Additional metadata related to the result. + /// Additional metadata related to the result. #[prost(map="string, string", tag="3")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A custom code identifying this specific message. + /// A custom code identifying this specific message. #[prost(string, tag="4")] pub code: ::prost::alloc::string::String, } /// Nested message and enum types in `ValidationMessage`. pub mod validation_message { - /// Validation message level. + /// Validation message level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Level { - /// Unspecified level. + /// Unspecified level. Unspecified = 0, - /// Potentially cause issues with the Stream. + /// Potentially cause issues with the Stream. Warning = 1, - /// Definitely cause issues with the Stream. + /// Definitely cause issues with the Stream. Error = 2, } impl Level { @@ -1166,691 +1166,691 @@ pub mod validation_message { } } } -/// Request message for 'discover' ConnectionProfile request. +/// Request message for 'discover' ConnectionProfile request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverConnectionProfileRequest { - /// Required. The parent resource of the connection profile type. Must be in the - /// format `projects/*/locations/*`. + /// Required. The parent resource of the connection profile type. Must be in the + /// format `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The connection profile on which to run discover. + /// The connection profile on which to run discover. #[prost(oneof="discover_connection_profile_request::Target", tags="200, 201")] pub target: ::core::option::Option, - /// The depth of the retrieved hierarchy of data objects. + /// The depth of the retrieved hierarchy of data objects. #[prost(oneof="discover_connection_profile_request::Hierarchy", tags="3, 4")] pub hierarchy: ::core::option::Option, - /// The data object to populate with child data objects and metadata. + /// The data object to populate with child data objects and metadata. #[prost(oneof="discover_connection_profile_request::DataObject", tags="100, 101, 102")] pub data_object: ::core::option::Option, } /// Nested message and enum types in `DiscoverConnectionProfileRequest`. pub mod discover_connection_profile_request { - /// The connection profile on which to run discover. + /// The connection profile on which to run discover. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// An ad-hoc connection profile configuration. + /// An ad-hoc connection profile configuration. #[prost(message, tag="200")] ConnectionProfile(super::ConnectionProfile), - /// A reference to an existing connection profile. + /// A reference to an existing connection profile. #[prost(string, tag="201")] ConnectionProfileName(::prost::alloc::string::String), } - /// The depth of the retrieved hierarchy of data objects. + /// The depth of the retrieved hierarchy of data objects. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Hierarchy { - /// Whether to retrieve the full hierarchy of data objects (TRUE) or only the - /// current level (FALSE). + /// Whether to retrieve the full hierarchy of data objects (TRUE) or only the + /// current level (FALSE). #[prost(bool, tag="3")] FullHierarchy(bool), - /// The number of hierarchy levels below the current level to be retrieved. + /// The number of hierarchy levels below the current level to be retrieved. #[prost(int32, tag="4")] HierarchyDepth(i32), } - /// The data object to populate with child data objects and metadata. + /// The data object to populate with child data objects and metadata. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataObject { - /// Oracle RDBMS to enrich with child data objects and metadata. + /// Oracle RDBMS to enrich with child data objects and metadata. #[prost(message, tag="100")] OracleRdbms(super::OracleRdbms), - /// MySQL RDBMS to enrich with child data objects and metadata. + /// MySQL RDBMS to enrich with child data objects and metadata. #[prost(message, tag="101")] MysqlRdbms(super::MysqlRdbms), - /// PostgreSQL RDBMS to enrich with child data objects and metadata. + /// PostgreSQL RDBMS to enrich with child data objects and metadata. #[prost(message, tag="102")] PostgresqlRdbms(super::PostgresqlRdbms), } } -/// Response from a discover request. +/// Response from a discover request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverConnectionProfileResponse { - /// The data object that has been enriched by the discover API call. + /// The data object that has been enriched by the discover API call. #[prost(oneof="discover_connection_profile_response::DataObject", tags="100, 101, 102")] pub data_object: ::core::option::Option, } /// Nested message and enum types in `DiscoverConnectionProfileResponse`. pub mod discover_connection_profile_response { - /// The data object that has been enriched by the discover API call. + /// The data object that has been enriched by the discover API call. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataObject { - /// Enriched Oracle RDBMS object. + /// Enriched Oracle RDBMS object. #[prost(message, tag="100")] OracleRdbms(super::OracleRdbms), - /// Enriched MySQL RDBMS object. + /// Enriched MySQL RDBMS object. #[prost(message, tag="101")] MysqlRdbms(super::MysqlRdbms), - /// Enriched PostgreSQL RDBMS object. + /// Enriched PostgreSQL RDBMS object. #[prost(message, tag="102")] PostgresqlRdbms(super::PostgresqlRdbms), } } -/// Request message for 'FetchStaticIps' request. +/// Request message for 'FetchStaticIps' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchStaticIpsRequest { - /// Required. The resource name for the location for which static IPs should be returned. - /// Must be in the format `projects/*/locations/*`. + /// Required. The resource name for the location for which static IPs should be returned. + /// Must be in the format `projects/*/locations/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Maximum number of Ips to return, will likely not be specified. + /// Maximum number of Ips to return, will likely not be specified. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListStaticIps` call. - /// will likely not be specified. + /// A page token, received from a previous `ListStaticIps` call. + /// will likely not be specified. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for a 'FetchStaticIps' response. +/// Response message for a 'FetchStaticIps' response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchStaticIpsResponse { - /// list of static ips by account + /// list of static ips by account #[prost(string, repeated, tag="1")] pub static_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for listing connection profiles. +/// Request message for listing connection profiles. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesRequest { - /// Required. The parent that owns the collection of connection profiles. + /// Required. The parent that owns the collection of connection profiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of connection profiles to return. - /// If unspecified, at most 50 connection profiles will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of connection profiles to return. + /// If unspecified, at most 50 connection profiles will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListConnectionProfiles` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListConnectionProfiles` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListConnectionProfiles` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListConnectionProfiles` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for listing connection profiles. +/// Response message for listing connection profiles. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesResponse { - /// List of connection profiles. + /// List of connection profiles. #[prost(message, repeated, tag="1")] pub connection_profiles: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for getting a connection profile. +/// Request message for getting a connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionProfileRequest { - /// Required. The name of the connection profile resource to get. + /// Required. The name of the connection profile resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for creating a connection profile. +/// Request message for creating a connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionProfileRequest { - /// Required. The parent that owns the collection of ConnectionProfiles. + /// Required. The parent that owns the collection of ConnectionProfiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The connection profile identifier. + /// Required. The connection profile identifier. #[prost(string, tag="2")] pub connection_profile_id: ::prost::alloc::string::String, - /// Required. The connection profile resource to create. + /// Required. The connection profile resource to create. #[prost(message, optional, tag="3")] pub connection_profile: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the connection profile, but don't create any resources. - /// The default is false. + /// Optional. Only validate the connection profile, but don't create any resources. + /// The default is false. #[prost(bool, tag="5")] pub validate_only: bool, - /// Optional. Create the connection profile without validating it. + /// Optional. Create the connection profile without validating it. #[prost(bool, tag="6")] pub force: bool, } -/// Connection profile update message. +/// Connection profile update message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionProfileRequest { - /// Optional. Field mask is used to specify the fields to be overwritten in the - /// ConnectionProfile resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Optional. Field mask is used to specify the fields to be overwritten in the + /// ConnectionProfile resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The connection profile to update. + /// Required. The connection profile to update. #[prost(message, optional, tag="2")] pub connection_profile: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the connection profile, but don't update any resources. - /// The default is false. + /// Optional. Only validate the connection profile, but don't update any resources. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. Update the connection profile without validating it. + /// Optional. Update the connection profile without validating it. #[prost(bool, tag="5")] pub force: bool, } -/// Request message for deleting a connection profile. +/// Request message for deleting a connection profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionProfileRequest { - /// Required. The name of the connection profile resource to delete. + /// Required. The name of the connection profile resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// Request message for listing streams. +/// Request message for listing streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamsRequest { - /// Required. The parent that owns the collection of streams. + /// Required. The parent that owns the collection of streams. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of streams to return. - /// If unspecified, at most 50 streams will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of streams to return. + /// If unspecified, at most 50 streams will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListStreams` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListStreams` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListStreams` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListStreams` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response message for listing streams. +/// Response message for listing streams. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamsResponse { - /// List of streams + /// List of streams #[prost(message, repeated, tag="1")] pub streams: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request message for getting a stream. +/// Request message for getting a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetStreamRequest { - /// Required. The name of the stream resource to get. + /// Required. The name of the stream resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request message for creating a stream. +/// Request message for creating a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateStreamRequest { - /// Required. The parent that owns the collection of streams. + /// Required. The parent that owns the collection of streams. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The stream identifier. + /// Required. The stream identifier. #[prost(string, tag="2")] pub stream_id: ::prost::alloc::string::String, - /// Required. The stream resource to create. + /// Required. The stream resource to create. #[prost(message, optional, tag="3")] pub stream: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the stream, but don't create any resources. - /// The default is false. + /// Optional. Only validate the stream, but don't create any resources. + /// The default is false. #[prost(bool, tag="5")] pub validate_only: bool, - /// Optional. Create the stream without validating it. + /// Optional. Create the stream without validating it. #[prost(bool, tag="6")] pub force: bool, } -/// Request message for updating a stream. +/// Request message for updating a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateStreamRequest { - /// Optional. Field mask is used to specify the fields to be overwritten in the - /// stream resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Optional. Field mask is used to specify the fields to be overwritten in the + /// stream resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The stream resource to update. + /// Required. The stream resource to update. #[prost(message, optional, tag="2")] pub stream: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the stream with the changes, without actually updating it. - /// The default is false. + /// Optional. Only validate the stream with the changes, without actually updating it. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. Update the stream without validating it. + /// Optional. Update the stream without validating it. #[prost(bool, tag="5")] pub force: bool, } -/// Request message for deleting a stream. +/// Request message for deleting a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteStreamRequest { - /// Required. The name of the stream resource to delete. + /// Required. The name of the stream resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// Request for fetching a specific stream object. +/// Request for fetching a specific stream object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetStreamObjectRequest { - /// Required. The name of the stream object resource to get. + /// Required. The name of the stream object resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Request for looking up a specific stream object by its source object -/// identifier. +/// Request for looking up a specific stream object by its source object +/// identifier. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupStreamObjectRequest { - /// Required. The parent stream that owns the collection of objects. + /// Required. The parent stream that owns the collection of objects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The source object identifier which maps to the stream object. + /// Required. The source object identifier which maps to the stream object. #[prost(message, optional, tag="2")] pub source_object_identifier: ::core::option::Option, } -/// Request for manually initiating a backfill job for a specific stream object. +/// Request for manually initiating a backfill job for a specific stream object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartBackfillJobRequest { - /// Required. The name of the stream object resource to start a backfill job for. + /// Required. The name of the stream object resource to start a backfill job for. #[prost(string, tag="1")] pub object: ::prost::alloc::string::String, } -/// Response for manually initiating a backfill job for a specific stream object. +/// Response for manually initiating a backfill job for a specific stream object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartBackfillJobResponse { - /// The stream object resource a backfill job was started for. + /// The stream object resource a backfill job was started for. #[prost(message, optional, tag="1")] pub object: ::core::option::Option, } -/// Request for manually stopping a running backfill job for a specific stream -/// object. +/// Request for manually stopping a running backfill job for a specific stream +/// object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopBackfillJobRequest { - /// Required. The name of the stream object resource to stop the backfill job for. + /// Required. The name of the stream object resource to stop the backfill job for. #[prost(string, tag="1")] pub object: ::prost::alloc::string::String, } -/// Response for manually stop a backfill job for a specific stream object. +/// Response for manually stop a backfill job for a specific stream object. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopBackfillJobResponse { - /// The stream object resource the backfill job was stopped for. + /// The stream object resource the backfill job was stopped for. #[prost(message, optional, tag="1")] pub object: ::core::option::Option, } -/// Request for listing all objects for a specific stream. +/// Request for listing all objects for a specific stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamObjectsRequest { - /// Required. The parent stream that owns the collection of objects. + /// Required. The parent stream that owns the collection of objects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of objects to return. Default is 50. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of objects to return. Default is 50. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListStreamObjectsRequest` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListStreamObjectsRequest` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListStreamObjectsRequest` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListStreamObjectsRequest` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response containing the objects for a stream. +/// Response containing the objects for a stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamObjectsResponse { - /// List of stream objects. + /// List of stream objects. #[prost(message, repeated, tag="1")] pub stream_objects: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. + /// A token, which can be sent as `page_token` to retrieve the next page. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, - /// Output only. Results of executed validations if there are any. + /// Output only. Results of executed validations if there are any. #[prost(message, optional, tag="8")] pub validation_result: ::core::option::Option, } -/// Request for creating a private connection. +/// Request for creating a private connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePrivateConnectionRequest { - /// Required. The parent that owns the collection of PrivateConnections. + /// Required. The parent that owns the collection of PrivateConnections. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The private connectivity identifier. + /// Required. The private connectivity identifier. #[prost(string, tag="2")] pub private_connection_id: ::prost::alloc::string::String, - /// Required. The Private Connectivity resource to create. + /// Required. The Private Connectivity resource to create. #[prost(message, optional, tag="3")] pub private_connection: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// Request for listing private connections. +/// Request for listing private connections. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPrivateConnectionsRequest { - /// Required. The parent that owns the collection of private connectivity configurations. + /// Required. The parent that owns the collection of private connectivity configurations. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of private connectivity configurations to return. - /// If unspecified, at most 50 private connectivity configurations that will be - /// returned. The maximum value is 1000; values above 1000 will be coerced to - /// 1000. + /// Maximum number of private connectivity configurations to return. + /// If unspecified, at most 50 private connectivity configurations that will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListPrivateConnections` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListPrivateConnections` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListPrivateConnections` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListPrivateConnections` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Response containing a list of private connection configurations. +/// Response containing a list of private connection configurations. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPrivateConnectionsResponse { - /// List of private connectivity configurations. + /// List of private connectivity configurations. #[prost(message, repeated, tag="1")] pub private_connections: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Request to delete a private connection. +/// Request to delete a private connection. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePrivateConnectionRequest { - /// Required. The name of the private connectivity configuration to delete. + /// Required. The name of the private connectivity configuration to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, any child routes that belong to this PrivateConnection will - /// also be deleted. + /// Optional. If set to true, any child routes that belong to this PrivateConnection will + /// also be deleted. #[prost(bool, tag="3")] pub force: bool, } -/// Request to get a private connection configuration. +/// Request to get a private connection configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPrivateConnectionRequest { - /// Required. The name of the private connectivity configuration to get. + /// Required. The name of the private connectivity configuration to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Route creation request. +/// Route creation request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRouteRequest { - /// Required. The parent that owns the collection of Routes. + /// Required. The parent that owns the collection of Routes. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Route identifier. + /// Required. The Route identifier. #[prost(string, tag="2")] pub route_id: ::prost::alloc::string::String, - /// Required. The Route resource to create. + /// Required. The Route resource to create. #[prost(message, optional, tag="3")] pub route: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// Route list request. +/// Route list request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutesRequest { - /// Required. The parent that owns the collection of Routess. + /// Required. The parent that owns the collection of Routess. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of Routes to return. The service may return - /// fewer than this value. If unspecified, at most 50 Routes - /// will be returned. The maximum value is 1000; values above 1000 will be - /// coerced to 1000. + /// Maximum number of Routes to return. The service may return + /// fewer than this value. If unspecified, at most 50 Routes + /// will be returned. The maximum value is 1000; values above 1000 will be + /// coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListRoutes` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListRoutes` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListRoutes` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListRoutes` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// Route list response. +/// Route list response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutesResponse { - /// List of Routes. + /// List of Routes. #[prost(message, repeated, tag="1")] pub routes: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Route deletion request. +/// Route deletion request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRouteRequest { - /// Required. The name of the Route resource to delete. + /// Required. The name of the Route resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// Route get request. +/// Route get request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRouteRequest { - /// Required. The name of the Route resource to get. + /// Required. The name of the Route resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.datastream.v1alpha1.rs b/gcloud-sdk/genproto/google.cloud.datastream.v1alpha1.rs index 0cb313f19..c603a1341 100644 --- a/gcloud-sdk/genproto/google.cloud.datastream.v1alpha1.rs +++ b/gcloud-sdk/genproto/google.cloud.datastream.v1alpha1.rs @@ -1,73 +1,73 @@ -/// Oracle database profile. +/// Oracle database profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleProfile { - /// Required. Hostname for the Oracle connection. + /// Required. Hostname for the Oracle connection. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Port for the Oracle connection, default value is 1521. + /// Port for the Oracle connection, default value is 1521. #[prost(int32, tag="2")] pub port: i32, - /// Required. Username for the Oracle connection. + /// Required. Username for the Oracle connection. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Password for the Oracle connection. + /// Required. Password for the Oracle connection. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// Required. Database for the Oracle connection. + /// Required. Database for the Oracle connection. #[prost(string, tag="5")] pub database_service: ::prost::alloc::string::String, - /// Connection string attributes + /// Connection string attributes #[prost(map="string, string", tag="6")] pub connection_attributes: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// MySQL database profile. +/// MySQL database profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlProfile { - /// Required. Hostname for the MySQL connection. + /// Required. Hostname for the MySQL connection. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Port for the MySQL connection, default value is 3306. + /// Port for the MySQL connection, default value is 3306. #[prost(int32, tag="2")] pub port: i32, - /// Required. Username for the MySQL connection. + /// Required. Username for the MySQL connection. #[prost(string, tag="3")] pub username: ::prost::alloc::string::String, - /// Required. Input only. Password for the MySQL connection. + /// Required. Input only. Password for the MySQL connection. #[prost(string, tag="4")] pub password: ::prost::alloc::string::String, - /// SSL configuration for the MySQL connection. + /// SSL configuration for the MySQL connection. #[prost(message, optional, tag="5")] pub ssl_config: ::core::option::Option, } -/// Cloud Storage bucket profile. +/// Cloud Storage bucket profile. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsProfile { - /// Required. The full project and resource path for Cloud Storage bucket including the - /// name. + /// Required. The full project and resource path for Cloud Storage bucket including the + /// name. #[prost(string, tag="1")] pub bucket_name: ::prost::alloc::string::String, - /// The root path inside the Cloud Storage bucket. + /// The root path inside the Cloud Storage bucket. #[prost(string, tag="2")] pub root_path: ::prost::alloc::string::String, } -/// No connectivity settings. +/// No connectivity settings. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NoConnectivitySettings { } -/// Static IP address connectivity. +/// Static IP address connectivity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StaticServiceIpConnectivity { } -/// Forward SSH Tunnel connectivity. +/// Forward SSH Tunnel connectivity. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ForwardSshTunnelConnectivity { - /// Required. Hostname for the SSH tunnel. + /// Required. Hostname for the SSH tunnel. #[prost(string, tag="1")] pub hostname: ::prost::alloc::string::String, - /// Required. Username for the SSH tunnel. + /// Required. Username for the SSH tunnel. #[prost(string, tag="2")] pub username: ::prost::alloc::string::String, - /// Port for the SSH tunnel, default value is 22. + /// Port for the SSH tunnel, default value is 22. #[prost(int32, tag="3")] pub port: i32, #[prost(oneof="forward_ssh_tunnel_connectivity::AuthenticationMethod", tags="100, 101")] @@ -77,66 +77,66 @@ pub struct ForwardSshTunnelConnectivity { pub mod forward_ssh_tunnel_connectivity { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum AuthenticationMethod { - /// Input only. SSH password. + /// Input only. SSH password. #[prost(string, tag="100")] Password(::prost::alloc::string::String), - /// Input only. SSH private key. + /// Input only. SSH private key. #[prost(string, tag="101")] PrivateKey(::prost::alloc::string::String), } } -/// The VPC Peering configuration is used to create VPC peering between -/// Datastream and the consumer's VPC. +/// The VPC Peering configuration is used to create VPC peering between +/// Datastream and the consumer's VPC. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VpcPeeringConfig { - /// Required. fully qualified name of the VPC Datastream will peer to. + /// Required. fully qualified name of the VPC Datastream will peer to. #[prost(string, tag="1")] pub vpc_name: ::prost::alloc::string::String, - /// Required. A free subnet for peering. (CIDR of /29) + /// Required. A free subnet for peering. (CIDR of /29) #[prost(string, tag="2")] pub subnet: ::prost::alloc::string::String, } -/// The PrivateConnection resource is used to establish private connectivity -/// between Datastream and a customer's network. +/// The PrivateConnection resource is used to establish private connectivity +/// between Datastream and a customer's network. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateConnection { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Output only. The state of the Private Connection. + /// Output only. The state of the Private Connection. #[prost(enumeration="private_connection::State", tag="6")] pub state: i32, - /// Output only. In case of error, the details of the error in a user-friendly format. + /// Output only. In case of error, the details of the error in a user-friendly format. #[prost(message, optional, tag="7")] pub error: ::core::option::Option, - /// VPC Peering Config + /// VPC Peering Config #[prost(message, optional, tag="100")] pub vpc_peering_config: ::core::option::Option, } /// Nested message and enum types in `PrivateConnection`. pub mod private_connection { - /// Private Connection state. + /// Private Connection state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { Unspecified = 0, - /// The private connection is in creation state - creating resources. + /// The private connection is in creation state - creating resources. Creating = 1, - /// The private connection has been created with all of it's resources. + /// The private connection has been created with all of it's resources. Created = 2, - /// The private connection creation has failed. + /// The private connection creation has failed. Failed = 3, } impl State { @@ -154,304 +154,304 @@ pub mod private_connection { } } } -/// Private Connectivity +/// Private Connectivity #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivateConnectivity { #[prost(string, tag="1")] pub private_connection_name: ::prost::alloc::string::String, } -/// The Route resource is the child of the PrivateConnection resource. -/// It used to define a route for a PrivateConnection setup. +/// The Route resource is the child of the PrivateConnection resource. +/// It used to define a route for a PrivateConnection setup. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Route { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. Destination address for connection + /// Required. Destination address for connection #[prost(string, tag="6")] pub destination_address: ::prost::alloc::string::String, - /// Destination port for connection + /// Destination port for connection #[prost(int32, tag="7")] pub destination_port: i32, } -/// MySQL SSL configuration information. +/// MySQL SSL configuration information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlSslConfig { - /// Input only. PEM-encoded private key associated with the Client Certificate. - /// If this field is used then the 'client_certificate' and the - /// 'ca_certificate' fields are mandatory. + /// Input only. PEM-encoded private key associated with the Client Certificate. + /// If this field is used then the 'client_certificate' and the + /// 'ca_certificate' fields are mandatory. #[prost(string, tag="11")] pub client_key: ::prost::alloc::string::String, - /// Output only. Indicates whether the client_key field is set. + /// Output only. Indicates whether the client_key field is set. #[prost(bool, tag="12")] pub client_key_set: bool, - /// Input only. PEM-encoded certificate that will be used by the replica to - /// authenticate against the source database server. If this field is used - /// then the 'client_key' and the 'ca_certificate' fields are mandatory. + /// Input only. PEM-encoded certificate that will be used by the replica to + /// authenticate against the source database server. If this field is used + /// then the 'client_key' and the 'ca_certificate' fields are mandatory. #[prost(string, tag="13")] pub client_certificate: ::prost::alloc::string::String, - /// Output only. Indicates whether the client_certificate field is set. + /// Output only. Indicates whether the client_certificate field is set. #[prost(bool, tag="14")] pub client_certificate_set: bool, - /// Input only. PEM-encoded certificate of the CA that signed the source database - /// server's certificate. + /// Input only. PEM-encoded certificate of the CA that signed the source database + /// server's certificate. #[prost(string, tag="15")] pub ca_certificate: ::prost::alloc::string::String, - /// Output only. Indicates whether the ca_certificate field is set. + /// Output only. Indicates whether the ca_certificate field is set. #[prost(bool, tag="16")] pub ca_certificate_set: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConnectionProfile { - /// Output only. The resource's name. + /// Output only. The resource's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The create time of the resource. + /// Output only. The create time of the resource. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The update time of the resource. + /// Output only. The update time of the resource. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Connection configuration for the ConnectionProfile. + /// Connection configuration for the ConnectionProfile. #[prost(oneof="connection_profile::Profile", tags="100, 101, 102")] pub profile: ::core::option::Option, - /// Connectivity options used to establish a connection to the profile. + /// Connectivity options used to establish a connection to the profile. #[prost(oneof="connection_profile::Connectivity", tags="200, 201, 202, 203")] pub connectivity: ::core::option::Option, } /// Nested message and enum types in `ConnectionProfile`. pub mod connection_profile { - /// Connection configuration for the ConnectionProfile. + /// Connection configuration for the ConnectionProfile. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Profile { - /// Oracle ConnectionProfile configuration. + /// Oracle ConnectionProfile configuration. #[prost(message, tag="100")] OracleProfile(super::OracleProfile), - /// Cloud Storage ConnectionProfile configuration. + /// Cloud Storage ConnectionProfile configuration. #[prost(message, tag="101")] GcsProfile(super::GcsProfile), - /// MySQL ConnectionProfile configuration. + /// MySQL ConnectionProfile configuration. #[prost(message, tag="102")] MysqlProfile(super::MysqlProfile), } - /// Connectivity options used to establish a connection to the profile. + /// Connectivity options used to establish a connection to the profile. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Connectivity { - /// No connectivity option chosen. + /// No connectivity option chosen. #[prost(message, tag="200")] NoConnectivity(super::NoConnectivitySettings), - /// Static Service IP connectivity. + /// Static Service IP connectivity. #[prost(message, tag="201")] StaticServiceIpConnectivity(super::StaticServiceIpConnectivity), - /// Forward SSH tunnel connectivity. + /// Forward SSH tunnel connectivity. #[prost(message, tag="202")] ForwardSshConnectivity(super::ForwardSshTunnelConnectivity), - /// Private connectivity. + /// Private connectivity. #[prost(message, tag="203")] PrivateConnectivity(super::PrivateConnectivity), } } -/// Oracle Column. +/// Oracle Column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleColumn { - /// Column name. + /// Column name. #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// The Oracle data type. + /// The Oracle data type. #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Column length. + /// Column length. #[prost(int32, tag="3")] pub length: i32, - /// Column precision. + /// Column precision. #[prost(int32, tag="4")] pub precision: i32, - /// Column scale. + /// Column scale. #[prost(int32, tag="5")] pub scale: i32, - /// Column encoding. + /// Column encoding. #[prost(string, tag="6")] pub encoding: ::prost::alloc::string::String, - /// Whether or not the column represents a primary key. + /// Whether or not the column represents a primary key. #[prost(bool, tag="7")] pub primary_key: bool, - /// Whether or not the column can accept a null value. + /// Whether or not the column can accept a null value. #[prost(bool, tag="8")] pub nullable: bool, - /// The ordinal position of the column in the table. + /// The ordinal position of the column in the table. #[prost(int32, tag="9")] pub ordinal_position: i32, } -/// Oracle table. +/// Oracle table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleTable { - /// Table name. + /// Table name. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// Oracle columns in the schema. - /// When unspecified as part of inclue/exclude lists, includes/excludes - /// everything. + /// Oracle columns in the schema. + /// When unspecified as part of inclue/exclude lists, includes/excludes + /// everything. #[prost(message, repeated, tag="2")] pub oracle_columns: ::prost::alloc::vec::Vec, } -/// Oracle schema. +/// Oracle schema. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleSchema { - /// Schema name. + /// Schema name. #[prost(string, tag="1")] pub schema_name: ::prost::alloc::string::String, - /// Tables in the schema. + /// Tables in the schema. #[prost(message, repeated, tag="2")] pub oracle_tables: ::prost::alloc::vec::Vec, } -/// Oracle database structure. +/// Oracle database structure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleRdbms { - /// Oracle schemas/databases in the database server. + /// Oracle schemas/databases in the database server. #[prost(message, repeated, tag="1")] pub oracle_schemas: ::prost::alloc::vec::Vec, } -/// Oracle data source configuration +/// Oracle data source configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct OracleSourceConfig { - /// Oracle objects to include in the stream. + /// Oracle objects to include in the stream. #[prost(message, optional, tag="1")] pub allowlist: ::core::option::Option, - /// Oracle objects to exclude from the stream. + /// Oracle objects to exclude from the stream. #[prost(message, optional, tag="2")] pub rejectlist: ::core::option::Option, } -/// MySQL Column. +/// MySQL Column. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlColumn { - /// Column name. + /// Column name. #[prost(string, tag="1")] pub column_name: ::prost::alloc::string::String, - /// The MySQL data type. Full data types list can be found here: - /// + /// The MySQL data type. Full data types list can be found here: + /// #[prost(string, tag="2")] pub data_type: ::prost::alloc::string::String, - /// Column length. + /// Column length. #[prost(int32, tag="3")] pub length: i32, - /// Column collation. + /// Column collation. #[prost(string, tag="4")] pub collation: ::prost::alloc::string::String, - /// Whether or not the column represents a primary key. + /// Whether or not the column represents a primary key. #[prost(bool, tag="5")] pub primary_key: bool, - /// Whether or not the column can accept a null value. + /// Whether or not the column can accept a null value. #[prost(bool, tag="6")] pub nullable: bool, - /// The ordinal position of the column in the table. + /// The ordinal position of the column in the table. #[prost(int32, tag="7")] pub ordinal_position: i32, } -/// MySQL table. +/// MySQL table. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlTable { - /// Table name. + /// Table name. #[prost(string, tag="1")] pub table_name: ::prost::alloc::string::String, - /// MySQL columns in the database. - /// When unspecified as part of include/exclude lists, includes/excludes - /// everything. + /// MySQL columns in the database. + /// When unspecified as part of include/exclude lists, includes/excludes + /// everything. #[prost(message, repeated, tag="2")] pub mysql_columns: ::prost::alloc::vec::Vec, } -/// MySQL database. +/// MySQL database. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlDatabase { - /// Database name. + /// Database name. #[prost(string, tag="1")] pub database_name: ::prost::alloc::string::String, - /// Tables in the database. + /// Tables in the database. #[prost(message, repeated, tag="2")] pub mysql_tables: ::prost::alloc::vec::Vec, } -/// MySQL database structure +/// MySQL database structure #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlRdbms { - /// Mysql databases on the server + /// Mysql databases on the server #[prost(message, repeated, tag="1")] pub mysql_databases: ::prost::alloc::vec::Vec, } -/// MySQL source configuration +/// MySQL source configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct MysqlSourceConfig { - /// MySQL objects to retrieve from the source. + /// MySQL objects to retrieve from the source. #[prost(message, optional, tag="1")] pub allowlist: ::core::option::Option, - /// MySQL objects to exclude from the stream. + /// MySQL objects to exclude from the stream. #[prost(message, optional, tag="2")] pub rejectlist: ::core::option::Option, } -/// The configuration of the stream source. +/// The configuration of the stream source. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SourceConfig { - /// Required. Source connection profile identifier. + /// Required. Source connection profile identifier. #[prost(string, tag="1")] pub source_connection_profile_name: ::prost::alloc::string::String, - /// Stream configuration that is specific to the data source type. + /// Stream configuration that is specific to the data source type. #[prost(oneof="source_config::SourceStreamConfig", tags="100, 101")] pub source_stream_config: ::core::option::Option, } /// Nested message and enum types in `SourceConfig`. pub mod source_config { - /// Stream configuration that is specific to the data source type. + /// Stream configuration that is specific to the data source type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum SourceStreamConfig { - /// Oracle data source configuration + /// Oracle data source configuration #[prost(message, tag="100")] OracleSourceConfig(super::OracleSourceConfig), - /// MySQL data source configuration + /// MySQL data source configuration #[prost(message, tag="101")] MysqlSourceConfig(super::MysqlSourceConfig), } } -/// AVRO file format configuration. +/// AVRO file format configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AvroFileFormat { } -/// JSON file format configuration. +/// JSON file format configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct JsonFileFormat { - /// The schema file format along JSON data files. + /// The schema file format along JSON data files. #[prost(enumeration="SchemaFileFormat", tag="1")] pub schema_file_format: i32, - /// Compression of the loaded JSON file. + /// Compression of the loaded JSON file. #[prost(enumeration="json_file_format::JsonCompression", tag="2")] pub compression: i32, } /// Nested message and enum types in `JsonFileFormat`. pub mod json_file_format { - /// Json file compression. + /// Json file compression. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum JsonCompression { - /// Unspecified json file compression. + /// Unspecified json file compression. Unspecified = 0, - /// Do not compress JSON file. + /// Do not compress JSON file. NoCompression = 1, - /// Gzip compression. + /// Gzip compression. Gzip = 2, } impl JsonCompression { @@ -468,54 +468,54 @@ pub mod json_file_format { } } } -/// Google Cloud Storage destination configuration +/// Google Cloud Storage destination configuration #[derive(Clone, PartialEq, ::prost::Message)] pub struct GcsDestinationConfig { - /// Path inside the Cloud Storage bucket to write data to. + /// Path inside the Cloud Storage bucket to write data to. #[prost(string, tag="1")] pub path: ::prost::alloc::string::String, - /// File format that data should be written in. - /// Deprecated field - use file_format instead. + /// File format that data should be written in. + /// Deprecated field - use file_format instead. #[deprecated] #[prost(enumeration="GcsFileFormat", tag="2")] pub gcs_file_format: i32, - /// The maximum file size to be saved in the bucket. + /// The maximum file size to be saved in the bucket. #[prost(int32, tag="3")] pub file_rotation_mb: i32, - /// The maximum duration for which new events are added before a file is - /// closed and a new file is created. + /// The maximum duration for which new events are added before a file is + /// closed and a new file is created. #[prost(message, optional, tag="4")] pub file_rotation_interval: ::core::option::Option<::prost_types::Duration>, - /// File Format that the data should be written in. + /// File Format that the data should be written in. #[prost(oneof="gcs_destination_config::FileFormat", tags="100, 101")] pub file_format: ::core::option::Option, } /// Nested message and enum types in `GcsDestinationConfig`. pub mod gcs_destination_config { - /// File Format that the data should be written in. + /// File Format that the data should be written in. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum FileFormat { - /// AVRO file format configuration. + /// AVRO file format configuration. #[prost(message, tag="100")] AvroFileFormat(super::AvroFileFormat), - /// JSON file format configuration. + /// JSON file format configuration. #[prost(message, tag="101")] JsonFileFormat(super::JsonFileFormat), } } -/// The configuration of the stream destination. +/// The configuration of the stream destination. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DestinationConfig { - /// Required. Destination connection profile identifier. + /// Required. Destination connection profile identifier. #[prost(string, tag="1")] pub destination_connection_profile_name: ::prost::alloc::string::String, - /// Stream configuration that is specific to the data destination type. + /// Stream configuration that is specific to the data destination type. #[prost(oneof="destination_config::DestinationStreamConfig", tags="100")] pub destination_stream_config: ::core::option::Option, } /// Nested message and enum types in `DestinationConfig`. pub mod destination_config { - /// Stream configuration that is specific to the data destination type. + /// Stream configuration that is specific to the data destination type. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DestinationStreamConfig { #[prost(message, tag="100")] @@ -524,89 +524,89 @@ pub mod destination_config { } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Stream { - /// Output only. The stream's name. + /// Output only. The stream's name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. The creation time of the stream. + /// Output only. The creation time of the stream. #[prost(message, optional, tag="2")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The last update time of the stream. + /// Output only. The last update time of the stream. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Labels. + /// Labels. #[prost(map="string, string", tag="4")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Required. Display name. + /// Required. Display name. #[prost(string, tag="5")] pub display_name: ::prost::alloc::string::String, - /// Required. Source connection profile configuration. + /// Required. Source connection profile configuration. #[prost(message, optional, tag="6")] pub source_config: ::core::option::Option, - /// Required. Destination connection profile configuration. + /// Required. Destination connection profile configuration. #[prost(message, optional, tag="7")] pub destination_config: ::core::option::Option, - /// The state of the stream. + /// The state of the stream. #[prost(enumeration="stream::State", tag="8")] pub state: i32, - /// Output only. Errors on the Stream. + /// Output only. Errors on the Stream. #[prost(message, repeated, tag="9")] pub errors: ::prost::alloc::vec::Vec, - /// Stream backfill strategy. + /// Stream backfill strategy. #[prost(oneof="stream::BackfillStrategy", tags="101, 102")] pub backfill_strategy: ::core::option::Option, } /// Nested message and enum types in `Stream`. pub mod stream { - /// Backfill strategy to automatically backfill the Stream's objects. - /// Specific objects can be excluded. + /// Backfill strategy to automatically backfill the Stream's objects. + /// Specific objects can be excluded. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackfillAllStrategy { - /// List of objects to exclude. + /// List of objects to exclude. #[prost(oneof="backfill_all_strategy::ExcludedObjects", tags="1, 2")] pub excluded_objects: ::core::option::Option, } /// Nested message and enum types in `BackfillAllStrategy`. pub mod backfill_all_strategy { - /// List of objects to exclude. + /// List of objects to exclude. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ExcludedObjects { - /// Oracle data source objects to avoid backfilling. + /// Oracle data source objects to avoid backfilling. #[prost(message, tag="1")] OracleExcludedObjects(super::super::OracleRdbms), - /// MySQL data source objects to avoid backfilling. + /// MySQL data source objects to avoid backfilling. #[prost(message, tag="2")] MysqlExcludedObjects(super::super::MysqlRdbms), } } - /// Backfill strategy to disable automatic backfill for the Stream's objects. + /// Backfill strategy to disable automatic backfill for the Stream's objects. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BackfillNoneStrategy { } - /// Stream state. + /// Stream state. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// Unspecified stream state. + /// Unspecified stream state. Unspecified = 0, - /// The stream has been created. + /// The stream has been created. Created = 1, - /// The stream is running. + /// The stream is running. Running = 2, - /// The stream is paused. + /// The stream is paused. Paused = 3, - /// The stream is in maintenance mode. + /// The stream is in maintenance mode. /// - /// Updates are rejected on the resource in this state. + /// Updates are rejected on the resource in this state. Maintenance = 4, - /// The stream is experiencing an error that is preventing data from being - /// streamed. + /// The stream is experiencing an error that is preventing data from being + /// streamed. Failed = 5, - /// The stream has experienced a terminal failure. + /// The stream has experienced a terminal failure. FailedPermanently = 6, - /// The stream is starting, but not yet running. + /// The stream is starting, but not yet running. Starting = 7, - /// The Stream is no longer reading new events, but still writing events in - /// the buffer. + /// The Stream is no longer reading new events, but still writing events in + /// the buffer. Draining = 8, } impl State { @@ -628,74 +628,74 @@ pub mod stream { } } } - /// Stream backfill strategy. + /// Stream backfill strategy. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum BackfillStrategy { - /// Automatically backfill objects included in the stream source - /// configuration. Specific objects can be excluded. + /// Automatically backfill objects included in the stream source + /// configuration. Specific objects can be excluded. #[prost(message, tag="101")] BackfillAll(BackfillAllStrategy), - /// Do not automatically backfill any objects. + /// Do not automatically backfill any objects. #[prost(message, tag="102")] BackfillNone(BackfillNoneStrategy), } } -/// Represent a user-facing Error. +/// Represent a user-facing Error. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Error { - /// A title that explains the reason for the error. + /// A title that explains the reason for the error. #[prost(string, tag="1")] pub reason: ::prost::alloc::string::String, - /// A unique identifier for this specific error, - /// allowing it to be traced throughout the system in logs and API responses. + /// A unique identifier for this specific error, + /// allowing it to be traced throughout the system in logs and API responses. #[prost(string, tag="2")] pub error_uuid: ::prost::alloc::string::String, - /// A message containing more information about the error that occurred. + /// A message containing more information about the error that occurred. #[prost(string, tag="3")] pub message: ::prost::alloc::string::String, - /// The time when the error occurred. + /// The time when the error occurred. #[prost(message, optional, tag="4")] pub error_time: ::core::option::Option<::prost_types::Timestamp>, - /// Additional information about the error. + /// Additional information about the error. #[prost(map="string, string", tag="5")] pub details: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, } -/// Contains the current validation results. +/// Contains the current validation results. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationResult { - /// A list of validations (includes both executed as well as not executed - /// validations). + /// A list of validations (includes both executed as well as not executed + /// validations). #[prost(message, repeated, tag="1")] pub validations: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct Validation { - /// A short description of the validation. + /// A short description of the validation. #[prost(string, tag="1")] pub description: ::prost::alloc::string::String, - /// Validation execution status. + /// Validation execution status. #[prost(enumeration="validation::Status", tag="2")] pub status: i32, - /// Messages reflecting the validation results. + /// Messages reflecting the validation results. #[prost(message, repeated, tag="3")] pub message: ::prost::alloc::vec::Vec, - /// A custom code identifying this validation. + /// A custom code identifying this validation. #[prost(string, tag="4")] pub code: ::prost::alloc::string::String, } /// Nested message and enum types in `Validation`. pub mod validation { - /// Validation execution status. + /// Validation execution status. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Status { - /// Unspecified status. + /// Unspecified status. Unspecified = 0, - /// Validation did not execute. + /// Validation did not execute. NotExecuted = 1, - /// Validation failed. + /// Validation failed. Failed = 2, - /// Validation passed. + /// Validation passed. Passed = 3, } impl Status { @@ -713,33 +713,33 @@ pub mod validation { } } } -/// Represent user-facing validation result message. +/// Represent user-facing validation result message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationMessage { - /// The result of the validation. + /// The result of the validation. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// Message severity level (warning or error). + /// Message severity level (warning or error). #[prost(enumeration="validation_message::Level", tag="2")] pub level: i32, - /// Additional metadata related to the result. + /// Additional metadata related to the result. #[prost(map="string, string", tag="3")] pub metadata: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A custom code identifying this specific message. + /// A custom code identifying this specific message. #[prost(string, tag="4")] pub code: ::prost::alloc::string::String, } /// Nested message and enum types in `ValidationMessage`. pub mod validation_message { - /// Validation message level. + /// Validation message level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Level { - /// Unspecified level. + /// Unspecified level. Unspecified = 0, - /// Potentially cause issues with the Stream. + /// Potentially cause issues with the Stream. Warning = 1, - /// Definitely cause issues with the Stream. + /// Definitely cause issues with the Stream. Error = 2, } impl Level { @@ -756,13 +756,13 @@ pub mod validation_message { } } } -/// File format in Cloud Storage. +/// File format in Cloud Storage. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum GcsFileFormat { - /// Unspecified Cloud Storage file format. + /// Unspecified Cloud Storage file format. Unspecified = 0, - /// Avro file format + /// Avro file format Avro = 1, } impl GcsFileFormat { @@ -777,15 +777,15 @@ impl GcsFileFormat { } } } -/// Schema file format. +/// Schema file format. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SchemaFileFormat { - /// Unspecified schema file format. + /// Unspecified schema file format. Unspecified = 0, - /// Do not attach schema file. + /// Do not attach schema file. NoSchemaFile = 1, - /// Avro schema format. + /// Avro schema format. AvroSchemaFile = 2, } impl SchemaFileFormat { @@ -801,589 +801,589 @@ impl SchemaFileFormat { } } } -/// Request message for 'discover' ConnectionProfile request. +/// Request message for 'discover' ConnectionProfile request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverConnectionProfileRequest { - /// Required. The parent resource of the ConnectionProfile type. Must be in the - /// format `projects/*/locations/*`. + /// Required. The parent resource of the ConnectionProfile type. Must be in the + /// format `projects/*/locations/*`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The connection profile on which to run discover. + /// The connection profile on which to run discover. #[prost(oneof="discover_connection_profile_request::Target", tags="200, 201")] pub target: ::core::option::Option, #[prost(oneof="discover_connection_profile_request::Depth", tags="3, 4")] pub depth: ::core::option::Option, - /// The data object to enrich with child data objects and metadata. + /// The data object to enrich with child data objects and metadata. #[prost(oneof="discover_connection_profile_request::DataObject", tags="100, 101")] pub data_object: ::core::option::Option, } /// Nested message and enum types in `DiscoverConnectionProfileRequest`. pub mod discover_connection_profile_request { - /// The connection profile on which to run discover. + /// The connection profile on which to run discover. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// An ad-hoc ConnectionProfile configuration. + /// An ad-hoc ConnectionProfile configuration. #[prost(message, tag="200")] ConnectionProfile(super::ConnectionProfile), - /// A reference to an existing ConnectionProfile. + /// A reference to an existing ConnectionProfile. #[prost(string, tag="201")] ConnectionProfileName(::prost::alloc::string::String), } #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Depth { - /// Whether to retrieve the full hierarchy of data objects (TRUE) or only the - /// current level (FALSE). + /// Whether to retrieve the full hierarchy of data objects (TRUE) or only the + /// current level (FALSE). #[prost(bool, tag="3")] Recursive(bool), - /// The number of hierarchy levels below the current level to be retrieved. + /// The number of hierarchy levels below the current level to be retrieved. #[prost(int32, tag="4")] RecursionDepth(i32), } - /// The data object to enrich with child data objects and metadata. + /// The data object to enrich with child data objects and metadata. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataObject { - /// Oracle RDBMS to enrich with child data objects and metadata. + /// Oracle RDBMS to enrich with child data objects and metadata. #[prost(message, tag="100")] OracleRdbms(super::OracleRdbms), - /// MySQL RDBMS to enrich with child data objects and metadata. + /// MySQL RDBMS to enrich with child data objects and metadata. #[prost(message, tag="101")] MysqlRdbms(super::MysqlRdbms), } } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DiscoverConnectionProfileResponse { - /// The data object that has been enriched by the discover API call. + /// The data object that has been enriched by the discover API call. #[prost(oneof="discover_connection_profile_response::DataObject", tags="100, 101")] pub data_object: ::core::option::Option, } /// Nested message and enum types in `DiscoverConnectionProfileResponse`. pub mod discover_connection_profile_response { - /// The data object that has been enriched by the discover API call. + /// The data object that has been enriched by the discover API call. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DataObject { - /// Enriched Oracle RDBMS object. + /// Enriched Oracle RDBMS object. #[prost(message, tag="100")] OracleRdbms(super::OracleRdbms), - /// Enriched MySQL RDBMS object. + /// Enriched MySQL RDBMS object. #[prost(message, tag="101")] MysqlRdbms(super::MysqlRdbms), } } -/// Request message for 'FetchStaticIps' request. +/// Request message for 'FetchStaticIps' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchStaticIpsRequest { - /// Required. The name resource of the Response type. Must be in the - /// format `projects/*/locations/*`. + /// Required. The name resource of the Response type. Must be in the + /// format `projects/*/locations/*`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Maximum number of Ips to return, will likely not be specified. + /// Maximum number of Ips to return, will likely not be specified. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListStaticIps` call. - /// will likely not be specified. + /// A page token, received from a previous `ListStaticIps` call. + /// will likely not be specified. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// Response message for a 'FetchStaticIps' response. +/// Response message for a 'FetchStaticIps' response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchStaticIpsResponse { - /// list of static ips by account + /// list of static ips by account #[prost(string, repeated, tag="1")] pub static_ips: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A token that can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token that can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Request message for 'FetchErrors' request. +/// Request message for 'FetchErrors' request. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchErrorsRequest { - /// Name of the Stream resource for which to fetch any errors. + /// Name of the Stream resource for which to fetch any errors. #[prost(string, tag="1")] pub stream: ::prost::alloc::string::String, } -/// Response message for a 'FetchErrors' response. +/// Response message for a 'FetchErrors' response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FetchErrorsResponse { - /// The list of errors on the Stream. + /// The list of errors on the Stream. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesRequest { - /// Required. The parent that owns the collection of connection profiles. + /// Required. The parent that owns the collection of connection profiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of connection profiles to return. - /// If unspecified, at most 50 connection profiles will be returned. - /// The maximum value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of connection profiles to return. + /// If unspecified, at most 50 connection profiles will be returned. + /// The maximum value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListConnectionProfiles` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListConnectionProfiles` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListConnectionProfiles` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListConnectionProfiles` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListConnectionProfilesResponse { - /// List of connection profiles. + /// List of connection profiles. #[prost(message, repeated, tag="1")] pub connection_profiles: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConnectionProfileRequest { - /// Required. The name of the connection profile resource to get. + /// Required. The name of the connection profile resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateConnectionProfileRequest { - /// Required. The parent that owns the collection of ConnectionProfiles. + /// Required. The parent that owns the collection of ConnectionProfiles. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The connection profile identifier. + /// Required. The connection profile identifier. #[prost(string, tag="2")] pub connection_profile_id: ::prost::alloc::string::String, - /// Required. The connection profile resource to create. + /// Required. The connection profile resource to create. #[prost(message, optional, tag="3")] pub connection_profile: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateConnectionProfileRequest { - /// Optional. Field mask is used to specify the fields to be overwritten in the - /// ConnectionProfile resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Optional. Field mask is used to specify the fields to be overwritten in the + /// ConnectionProfile resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The ConnectionProfile to update. + /// Required. The ConnectionProfile to update. #[prost(message, optional, tag="2")] pub connection_profile: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteConnectionProfileRequest { - /// Required. The name of the connection profile resource to delete. + /// Required. The name of the connection profile resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamsRequest { - /// Required. The parent that owns the collection of streams. + /// Required. The parent that owns the collection of streams. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of streams to return. - /// If unspecified, at most 50 streams will be returned. The maximum - /// value is 1000; values above 1000 will be coerced to 1000. + /// Maximum number of streams to return. + /// If unspecified, at most 50 streams will be returned. The maximum + /// value is 1000; values above 1000 will be coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListStreams` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListStreams` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to `ListStreams` - /// must match the call that provided the page token. + /// When paginating, all other parameters provided to `ListStreams` + /// must match the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListStreamsResponse { - /// List of streams + /// List of streams #[prost(message, repeated, tag="1")] pub streams: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetStreamRequest { - /// Required. The name of the stream resource to get. + /// Required. The name of the stream resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateStreamRequest { - /// Required. The parent that owns the collection of streams. + /// Required. The parent that owns the collection of streams. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The stream identifier. + /// Required. The stream identifier. #[prost(string, tag="2")] pub stream_id: ::prost::alloc::string::String, - /// Required. The stream resource to create. + /// Required. The stream resource to create. #[prost(message, optional, tag="3")] pub stream: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the stream, but do not create any resources. - /// The default is false. + /// Optional. Only validate the stream, but do not create any resources. + /// The default is false. #[prost(bool, tag="5")] pub validate_only: bool, - /// Optional. Create the stream without validating it. + /// Optional. Create the stream without validating it. #[prost(bool, tag="6")] pub force: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateStreamRequest { - /// Optional. Field mask is used to specify the fields to be overwritten in the - /// stream resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Optional. Field mask is used to specify the fields to be overwritten in the + /// stream resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The stream resource to update. + /// Required. The stream resource to update. #[prost(message, optional, tag="2")] pub stream: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. Only validate the stream with the changes, without actually updating it. - /// The default is false. + /// Optional. Only validate the stream with the changes, without actually updating it. + /// The default is false. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. Execute the update without validating it. + /// Optional. Execute the update without validating it. #[prost(bool, tag="5")] pub force: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteStreamRequest { - /// Required. The name of the stream resource to delete. + /// Required. The name of the stream resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, - /// Output only. Results of executed validations if there are any. + /// Output only. Results of executed validations if there are any. #[prost(message, optional, tag="8")] pub validation_result: ::core::option::Option, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePrivateConnectionRequest { - /// Required. The parent that owns the collection of PrivateConnections. + /// Required. The parent that owns the collection of PrivateConnections. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The private connectivity identifier. + /// Required. The private connectivity identifier. #[prost(string, tag="2")] pub private_connection_id: ::prost::alloc::string::String, - /// Required. The Private Connectivity resource to create. + /// Required. The Private Connectivity resource to create. #[prost(message, optional, tag="3")] pub private_connection: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPrivateConnectionsRequest { - /// Required. The parent that owns the collection of private connectivity configurations. + /// Required. The parent that owns the collection of private connectivity configurations. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of private connectivity configurations to return. - /// If unspecified, at most 50 private connectivity configurations that will be - /// returned. The maximum value is 1000; values above 1000 will be coerced to - /// 1000. + /// Maximum number of private connectivity configurations to return. + /// If unspecified, at most 50 private connectivity configurations that will be + /// returned. The maximum value is 1000; values above 1000 will be coerced to + /// 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListPrivateConnections` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListPrivateConnections` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListPrivateConnections` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListPrivateConnections` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPrivateConnectionsResponse { - /// List of private connectivity configurations. + /// List of private connectivity configurations. #[prost(message, repeated, tag="1")] pub private_connections: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePrivateConnectionRequest { - /// Required. The name of the private connectivity configuration to delete. + /// Required. The name of the private connectivity configuration to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, any child routes that belong to this PrivateConnection will - /// also be deleted. + /// Optional. If set to true, any child routes that belong to this PrivateConnection will + /// also be deleted. #[prost(bool, tag="3")] pub force: bool, } #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPrivateConnectionRequest { - /// Required. The name of the private connectivity configuration to get. + /// Required. The name of the private connectivity configuration to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// route creation request +/// route creation request #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRouteRequest { - /// Required. The parent that owns the collection of Routes. + /// Required. The parent that owns the collection of Routes. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The Route identifier. + /// Required. The Route identifier. #[prost(string, tag="2")] pub route_id: ::prost::alloc::string::String, - /// Required. The Route resource to create. + /// Required. The Route resource to create. #[prost(message, optional, tag="3")] pub route: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, } -/// route list request +/// route list request #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutesRequest { - /// Required. The parent that owns the collection of Routess. + /// Required. The parent that owns the collection of Routess. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Maximum number of Routes to return. The service may return - /// fewer than this value. If unspecified, at most 50 Routes - /// will be returned. The maximum value is 1000; values above 1000 will be - /// coerced to 1000. + /// Maximum number of Routes to return. The service may return + /// fewer than this value. If unspecified, at most 50 Routes + /// will be returned. The maximum value is 1000; values above 1000 will be + /// coerced to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Page token received from a previous `ListRoutes` call. - /// Provide this to retrieve the subsequent page. + /// Page token received from a previous `ListRoutes` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other parameters provided to - /// `ListRoutes` must match the call that provided the page - /// token. + /// When paginating, all other parameters provided to + /// `ListRoutes` must match the call that provided the page + /// token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter request. + /// Filter request. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Order by fields for the result. + /// Order by fields for the result. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// route list response +/// route list response #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRoutesResponse { - /// List of Routes. + /// List of Routes. #[prost(message, repeated, tag="1")] pub routes: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// route deletion request +/// route deletion request #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteRouteRequest { - /// Required. The name of the Route resource to delete. + /// Required. The name of the Route resource to delete. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, } -/// route get request +/// route get request #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRouteRequest { - /// Required. The name of the Route resource to get. + /// Required. The name of the Route resource to get. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } diff --git a/gcloud-sdk/genproto/google.cloud.deploy.v1.rs b/gcloud-sdk/genproto/google.cloud.deploy.v1.rs index 8a8ec96a0..e14c33a80 100644 --- a/gcloud-sdk/genproto/google.cloud.deploy.v1.rs +++ b/gcloud-sdk/genproto/google.cloud.deploy.v1.rs @@ -1,411 +1,411 @@ -/// A `DeliveryPipeline` resource in the Google Cloud Deploy API. +/// A `DeliveryPipeline` resource in the Google Cloud Deploy API. /// -/// A `DeliveryPipeline` defines a pipeline through which a Skaffold -/// configuration can progress. +/// A `DeliveryPipeline` defines a pipeline through which a Skaffold +/// configuration can progress. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeliveryPipeline { - /// Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ - /// locations/{location}/deliveryPipelines/\[a-z][a-z0-9\-\]{0,62}. + /// Optional. Name of the `DeliveryPipeline`. Format is projects/{project}/ + /// locations/{location}/deliveryPipelines/\[a-z][a-z0-9\-\]{0,62}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Unique identifier of the `DeliveryPipeline`. + /// Output only. Unique identifier of the `DeliveryPipeline`. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Description of the `DeliveryPipeline`. Max length is 255 characters. + /// Description of the `DeliveryPipeline`. Max length is 255 characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// User annotations. These attributes can only be set and used by the - /// user, and not by Google Cloud Deploy. See - /// for more details such as format and - /// size limitations. + /// User annotations. These attributes can only be set and used by the + /// user, and not by Google Cloud Deploy. See + /// for more details such as format and + /// size limitations. #[prost(map="string, string", tag="4")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Labels are attributes that can be set and used by both the - /// user and by Google Cloud Deploy. Labels must meet the following - /// constraints: + /// Labels are attributes that can be set and used by both the + /// user and by Google Cloud Deploy. Labels must meet the following + /// constraints: /// - /// * Keys and values can contain only lowercase letters, numeric characters, - /// underscores, and dashes. - /// * All characters must use UTF-8 encoding, and international characters are - /// allowed. - /// * Keys must start with a lowercase letter or international character. - /// * Each resource is limited to a maximum of 64 labels. + /// * Keys and values can contain only lowercase letters, numeric characters, + /// underscores, and dashes. + /// * All characters must use UTF-8 encoding, and international characters are + /// allowed. + /// * Keys must start with a lowercase letter or international character. + /// * Each resource is limited to a maximum of 64 labels. /// - /// Both keys and values are additionally constrained to be <= 128 bytes. + /// Both keys and values are additionally constrained to be <= 128 bytes. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Time at which the pipeline was created. + /// Output only. Time at which the pipeline was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Most recent time at which the pipeline was updated. + /// Output only. Most recent time at which the pipeline was updated. #[prost(message, optional, tag="7")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Information around the state of the Delivery Pipeline. + /// Output only. Information around the state of the Delivery Pipeline. #[prost(message, optional, tag="11")] pub condition: ::core::option::Option, - /// This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="10")] pub etag: ::prost::alloc::string::String, - /// The ordering configuration of the `DeliveryPipeline`. + /// The ordering configuration of the `DeliveryPipeline`. #[prost(oneof="delivery_pipeline::Pipeline", tags="8")] pub pipeline: ::core::option::Option, } /// Nested message and enum types in `DeliveryPipeline`. pub mod delivery_pipeline { - /// The ordering configuration of the `DeliveryPipeline`. + /// The ordering configuration of the `DeliveryPipeline`. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Pipeline { - /// SerialPipeline defines a sequential set of stages for a - /// `DeliveryPipeline`. + /// SerialPipeline defines a sequential set of stages for a + /// `DeliveryPipeline`. #[prost(message, tag="8")] SerialPipeline(super::SerialPipeline), } } -/// SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`. +/// SerialPipeline defines a sequential set of stages for a `DeliveryPipeline`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SerialPipeline { - /// Each stage specifies configuration for a `Target`. The ordering - /// of this list defines the promotion flow. + /// Each stage specifies configuration for a `Target`. The ordering + /// of this list defines the promotion flow. #[prost(message, repeated, tag="1")] pub stages: ::prost::alloc::vec::Vec, } -/// Stage specifies a location to which to deploy. +/// Stage specifies a location to which to deploy. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Stage { - /// The target_id to which this stage points. This field refers exclusively to - /// the last segment of a target name. For example, this field would just be - /// `my-target` (rather than - /// `projects/project/locations/location/targets/my-target`). The location of - /// the `Target` is inferred to be the same as the location of the - /// `DeliveryPipeline` that contains this `Stage`. + /// The target_id to which this stage points. This field refers exclusively to + /// the last segment of a target name. For example, this field would just be + /// `my-target` (rather than + /// `projects/project/locations/location/targets/my-target`). The location of + /// the `Target` is inferred to be the same as the location of the + /// `DeliveryPipeline` that contains this `Stage`. #[prost(string, tag="1")] pub target_id: ::prost::alloc::string::String, - /// Skaffold profiles to use when rendering the manifest for this stage's - /// `Target`. + /// Skaffold profiles to use when rendering the manifest for this stage's + /// `Target`. #[prost(string, repeated, tag="2")] pub profiles: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// PipelineReadyCondition contains information around the status of the -/// Pipeline. +/// PipelineReadyCondition contains information around the status of the +/// Pipeline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineReadyCondition { - /// True if the Pipeline is in a valid state. Otherwise at least one condition - /// in `PipelineCondition` is in an invalid state. Iterate over those - /// conditions and see which condition(s) has status = false to find out what - /// is wrong with the Pipeline. + /// True if the Pipeline is in a valid state. Otherwise at least one condition + /// in `PipelineCondition` is in an invalid state. Iterate over those + /// conditions and see which condition(s) has status = false to find out what + /// is wrong with the Pipeline. #[prost(bool, tag="3")] pub status: bool, - /// Last time the condition was updated. + /// Last time the condition was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// TargetsPresentCondition contains information on any Targets defined in -/// the Delivery Pipeline that do not actually exist. +/// TargetsPresentCondition contains information on any Targets defined in +/// the Delivery Pipeline that do not actually exist. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetsPresentCondition { - /// True if there aren't any missing Targets. + /// True if there aren't any missing Targets. #[prost(bool, tag="1")] pub status: bool, - /// The list of Target names that are missing. For example, - /// projects/{project_id}/locations/{location_name}/targets/{target_name}. + /// The list of Target names that are missing. For example, + /// projects/{project_id}/locations/{location_name}/targets/{target_name}. #[prost(string, repeated, tag="2")] pub missing_targets: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Last time the condition was updated. + /// Last time the condition was updated. #[prost(message, optional, tag="4")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// PipelineCondition contains all conditions relevant to a Delivery Pipeline. +/// PipelineCondition contains all conditions relevant to a Delivery Pipeline. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PipelineCondition { - /// Details around the Pipeline's overall status. + /// Details around the Pipeline's overall status. #[prost(message, optional, tag="1")] pub pipeline_ready_condition: ::core::option::Option, - /// Detalis around targets enumerated in the pipeline. + /// Detalis around targets enumerated in the pipeline. #[prost(message, optional, tag="3")] pub targets_present_condition: ::core::option::Option, } -/// The request object for `ListDeliveryPipelines`. +/// The request object for `ListDeliveryPipelines`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeliveryPipelinesRequest { - /// Required. The parent, which owns this collection of pipelines. Format must be - /// projects/{project_id}/locations/{location_name}. + /// Required. The parent, which owns this collection of pipelines. Format must be + /// projects/{project_id}/locations/{location_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of pipelines to return. The service may return - /// fewer than this value. If unspecified, at most 50 pipelines will - /// be returned. The maximum value is 1000; values above 1000 will be set - /// to 1000. + /// The maximum number of pipelines to return. The service may return + /// fewer than this value. If unspecified, at most 50 pipelines will + /// be returned. The maximum value is 1000; values above 1000 will be set + /// to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// A page token, received from a previous `ListDeliveryPipelines` call. - /// Provide this to retrieve the subsequent page. + /// A page token, received from a previous `ListDeliveryPipelines` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters match - /// the call that provided the page token. + /// When paginating, all other provided parameters match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Filter pipelines to be returned. See for more - /// details. + /// Filter pipelines to be returned. See for more + /// details. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Field to sort by. See for more details. + /// Field to sort by. See for more details. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// The response object from `ListDeliveryPipelines`. +/// The response object from `ListDeliveryPipelines`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeliveryPipelinesResponse { - /// The `DeliveryPipeline` objects. + /// The `DeliveryPipeline` objects. #[prost(message, repeated, tag="1")] pub delivery_pipelines: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The request object for `GetDeliveryPipeline` +/// The request object for `GetDeliveryPipeline` #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDeliveryPipelineRequest { - /// Required. Name of the `DeliveryPipeline`. Format must be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + /// Required. Name of the `DeliveryPipeline`. Format must be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request object for `CreateDeliveryPipeline`. +/// The request object for `CreateDeliveryPipeline`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateDeliveryPipelineRequest { - /// Required. The parent collection in which the `DeliveryPipeline` should be created. - /// Format should be projects/{project_id}/locations/{location_name}. + /// Required. The parent collection in which the `DeliveryPipeline` should be created. + /// Format should be projects/{project_id}/locations/{location_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. ID of the `DeliveryPipeline`. + /// Required. ID of the `DeliveryPipeline`. #[prost(string, tag="2")] pub delivery_pipeline_id: ::prost::alloc::string::String, - /// Required. The `DeliveryPipeline` to create. + /// Required. The `DeliveryPipeline` to create. #[prost(message, optional, tag="3")] pub delivery_pipeline: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// The request object for `UpdateDeliveryPipeline`. +/// The request object for `UpdateDeliveryPipeline`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateDeliveryPipelineRequest { - /// Required. Field mask is used to specify the fields to be overwritten in the - /// `DeliveryPipeline` resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// `DeliveryPipeline` resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The `DeliveryPipeline` to update. + /// Required. The `DeliveryPipeline` to update. #[prost(message, optional, tag="2")] pub delivery_pipeline: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, updating a `DeliveryPipeline` that does not exist will - /// result in the creation of a new `DeliveryPipeline`. + /// Optional. If set to true, updating a `DeliveryPipeline` that does not exist will + /// result in the creation of a new `DeliveryPipeline`. #[prost(bool, tag="4")] pub allow_missing: bool, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// The request object for `DeleteDeliveryPipeline`. +/// The request object for `DeleteDeliveryPipeline`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteDeliveryPipelineRequest { - /// Required. The name of the `DeliveryPipeline` to delete. Format should be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + /// Required. The name of the `DeliveryPipeline` to delete. Format should be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, then deleting an already deleted or non-existing - /// `DeliveryPipeline` will succeed. + /// Optional. If set to true, then deleting an already deleted or non-existing + /// `DeliveryPipeline` will succeed. #[prost(bool, tag="3")] pub allow_missing: bool, - /// Optional. If set, validate the request and preview the review, but do not actually - /// post it. + /// Optional. If set, validate the request and preview the review, but do not actually + /// post it. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. If set to true, all child resources under this pipeline will also be - /// deleted. Otherwise, the request will only work if the pipeline has - /// no child resources. + /// Optional. If set to true, all child resources under this pipeline will also be + /// deleted. Otherwise, the request will only work if the pipeline has + /// no child resources. #[prost(bool, tag="6")] pub force: bool, - /// Optional. This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// Optional. This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, } -/// A `Target` resource in the Google Cloud Deploy API. +/// A `Target` resource in the Google Cloud Deploy API. /// -/// A `Target` defines a location to which a Skaffold configuration -/// can be deployed. +/// A `Target` defines a location to which a Skaffold configuration +/// can be deployed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Target { - /// Optional. Name of the `Target`. Format is - /// projects/{project}/locations/{location}/targets/\[a-z][a-z0-9\-\]{0,62}. + /// Optional. Name of the `Target`. Format is + /// projects/{project}/locations/{location}/targets/\[a-z][a-z0-9\-\]{0,62}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Resource id of the `Target`. + /// Output only. Resource id of the `Target`. #[prost(string, tag="2")] pub target_id: ::prost::alloc::string::String, - /// Output only. Unique identifier of the `Target`. + /// Output only. Unique identifier of the `Target`. #[prost(string, tag="3")] pub uid: ::prost::alloc::string::String, - /// Optional. Description of the `Target`. Max length is 255 characters. + /// Optional. Description of the `Target`. Max length is 255 characters. #[prost(string, tag="4")] pub description: ::prost::alloc::string::String, - /// Optional. User annotations. These attributes can only be set and used by the - /// user, and not by Google Cloud Deploy. See - /// for more details such as format and - /// size limitations. + /// Optional. User annotations. These attributes can only be set and used by the + /// user, and not by Google Cloud Deploy. See + /// for more details such as format and + /// size limitations. #[prost(map="string, string", tag="5")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Labels are attributes that can be set and used by both the - /// user and by Google Cloud Deploy. Labels must meet the following - /// constraints: + /// Optional. Labels are attributes that can be set and used by both the + /// user and by Google Cloud Deploy. Labels must meet the following + /// constraints: /// - /// * Keys and values can contain only lowercase letters, numeric characters, - /// underscores, and dashes. - /// * All characters must use UTF-8 encoding, and international characters are - /// allowed. - /// * Keys must start with a lowercase letter or international character. - /// * Each resource is limited to a maximum of 64 labels. + /// * Keys and values can contain only lowercase letters, numeric characters, + /// underscores, and dashes. + /// * All characters must use UTF-8 encoding, and international characters are + /// allowed. + /// * Keys must start with a lowercase letter or international character. + /// * Each resource is limited to a maximum of 64 labels. /// - /// Both keys and values are additionally constrained to be <= 128 bytes. + /// Both keys and values are additionally constrained to be <= 128 bytes. #[prost(map="string, string", tag="6")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Whether or not the `Target` requires approval. + /// Optional. Whether or not the `Target` requires approval. #[prost(bool, tag="13")] pub require_approval: bool, - /// Output only. Time at which the `Target` was created. + /// Output only. Time at which the `Target` was created. #[prost(message, optional, tag="8")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Most recent time at which the `Target` was updated. + /// Output only. Most recent time at which the `Target` was updated. #[prost(message, optional, tag="9")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Optional. This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// Optional. This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="12")] pub etag: ::prost::alloc::string::String, - /// Configurations for all execution that relates to this `Target`. - /// Each `ExecutionEnvironmentUsage` value may only be used in a single - /// configuration; using the same value multiple times is an error. - /// When one or more configurations are specified, they must include the - /// `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. - /// When no configurations are specified, execution will use the default - /// specified in `DefaultPool`. + /// Configurations for all execution that relates to this `Target`. + /// Each `ExecutionEnvironmentUsage` value may only be used in a single + /// configuration; using the same value multiple times is an error. + /// When one or more configurations are specified, they must include the + /// `RENDER` and `DEPLOY` `ExecutionEnvironmentUsage` values. + /// When no configurations are specified, execution will use the default + /// specified in `DefaultPool`. #[prost(message, repeated, tag="16")] pub execution_configs: ::prost::alloc::vec::Vec, - /// Destination to which the Skaffold configuration is applied during a - /// rollout. + /// Destination to which the Skaffold configuration is applied during a + /// rollout. #[prost(oneof="target::DeploymentTarget", tags="15, 17")] pub deployment_target: ::core::option::Option, } /// Nested message and enum types in `Target`. pub mod target { - /// Destination to which the Skaffold configuration is applied during a - /// rollout. + /// Destination to which the Skaffold configuration is applied during a + /// rollout. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum DeploymentTarget { - /// Information specifying a GKE Cluster. + /// Information specifying a GKE Cluster. #[prost(message, tag="15")] Gke(super::GkeCluster), - /// Information specifying an Anthos Cluster. + /// Information specifying an Anthos Cluster. #[prost(message, tag="17")] AnthosCluster(super::AnthosCluster), } } -/// Configuration of the environment to use when calling Skaffold. +/// Configuration of the environment to use when calling Skaffold. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExecutionConfig { - /// Required. Usages when this configuration should be applied. + /// Required. Usages when this configuration should be applied. #[prost(enumeration="execution_config::ExecutionEnvironmentUsage", repeated, packed="false", tag="1")] pub usages: ::prost::alloc::vec::Vec, - /// Optional. The resource name of the `WorkerPool`, with the format - /// `projects/{project}/locations/{location}/workerPools/{worker_pool}`. - /// If this optional field is unspecified, the default Cloud Build pool will be - /// used. + /// Optional. The resource name of the `WorkerPool`, with the format + /// `projects/{project}/locations/{location}/workerPools/{worker_pool}`. + /// If this optional field is unspecified, the default Cloud Build pool will be + /// used. #[prost(string, tag="4")] pub worker_pool: ::prost::alloc::string::String, - /// Optional. Google service account to use for execution. If unspecified, - /// the project execution service account - /// (-compute@developer.gserviceaccount.com) is used. + /// Optional. Google service account to use for execution. If unspecified, + /// the project execution service account + /// (-compute@developer.gserviceaccount.com) is used. #[prost(string, tag="5")] pub service_account: ::prost::alloc::string::String, - /// Optional. Cloud Storage location in which to store execution outputs. This can - /// either be a bucket ("gs://my-bucket") or a path within a bucket - /// ("gs://my-bucket/my-dir"). - /// If unspecified, a default bucket located in the same region will be used. + /// Optional. Cloud Storage location in which to store execution outputs. This can + /// either be a bucket ("gs://my-bucket") or a path within a bucket + /// ("gs://my-bucket/my-dir"). + /// If unspecified, a default bucket located in the same region will be used. #[prost(string, tag="6")] pub artifact_storage: ::prost::alloc::string::String, - /// Details of the environment. + /// Details of the environment. #[prost(oneof="execution_config::ExecutionEnvironment", tags="2, 3")] pub execution_environment: ::core::option::Option, } /// Nested message and enum types in `ExecutionConfig`. pub mod execution_config { - /// Possible usages of this configuration. + /// Possible usages of this configuration. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ExecutionEnvironmentUsage { - /// Default value. This value is unused. + /// Default value. This value is unused. Unspecified = 0, - /// Use for rendering. + /// Use for rendering. Render = 1, - /// Use for deploying and deployment hooks. + /// Use for deploying and deployment hooks. Deploy = 2, } impl ExecutionEnvironmentUsage { @@ -421,349 +421,349 @@ pub mod execution_config { } } } - /// Details of the environment. + /// Details of the environment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum ExecutionEnvironment { - /// Optional. Use default Cloud Build pool. + /// Optional. Use default Cloud Build pool. #[prost(message, tag="2")] DefaultPool(super::DefaultPool), - /// Optional. Use private Cloud Build pool. + /// Optional. Use private Cloud Build pool. #[prost(message, tag="3")] PrivatePool(super::PrivatePool), } } -/// Execution using the default Cloud Build pool. +/// Execution using the default Cloud Build pool. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DefaultPool { - /// Optional. Google service account to use for execution. If unspecified, - /// the project execution service account - /// (-compute@developer.gserviceaccount.com) will be used. + /// Optional. Google service account to use for execution. If unspecified, + /// the project execution service account + /// (-compute@developer.gserviceaccount.com) will be used. #[prost(string, tag="1")] pub service_account: ::prost::alloc::string::String, - /// Optional. Cloud Storage location where execution outputs should be stored. This can - /// either be a bucket ("gs://my-bucket") or a path within a bucket - /// ("gs://my-bucket/my-dir"). - /// If unspecified, a default bucket located in the same region will be used. + /// Optional. Cloud Storage location where execution outputs should be stored. This can + /// either be a bucket ("gs://my-bucket") or a path within a bucket + /// ("gs://my-bucket/my-dir"). + /// If unspecified, a default bucket located in the same region will be used. #[prost(string, tag="2")] pub artifact_storage: ::prost::alloc::string::String, } -/// Execution using a private Cloud Build pool. +/// Execution using a private Cloud Build pool. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PrivatePool { - /// Required. Resource name of the Cloud Build worker pool to use. The format is - /// `projects/{project}/locations/{location}/workerPools/{pool}`. + /// Required. Resource name of the Cloud Build worker pool to use. The format is + /// `projects/{project}/locations/{location}/workerPools/{pool}`. #[prost(string, tag="1")] pub worker_pool: ::prost::alloc::string::String, - /// Optional. Google service account to use for execution. If unspecified, - /// the project execution service account - /// (-compute@developer.gserviceaccount.com) will be used. + /// Optional. Google service account to use for execution. If unspecified, + /// the project execution service account + /// (-compute@developer.gserviceaccount.com) will be used. #[prost(string, tag="2")] pub service_account: ::prost::alloc::string::String, - /// Optional. Cloud Storage location where execution outputs should be stored. This can - /// either be a bucket ("gs://my-bucket") or a path within a bucket - /// ("gs://my-bucket/my-dir"). - /// If unspecified, a default bucket located in the same region will be used. + /// Optional. Cloud Storage location where execution outputs should be stored. This can + /// either be a bucket ("gs://my-bucket") or a path within a bucket + /// ("gs://my-bucket/my-dir"). + /// If unspecified, a default bucket located in the same region will be used. #[prost(string, tag="3")] pub artifact_storage: ::prost::alloc::string::String, } -/// Information specifying a GKE Cluster. +/// Information specifying a GKE Cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GkeCluster { - /// Information specifying a GKE Cluster. Format is - /// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. + /// Information specifying a GKE Cluster. Format is + /// `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}. #[prost(string, tag="1")] pub cluster: ::prost::alloc::string::String, - /// Optional. If true, `cluster` is accessed using the private IP address of the control - /// plane endpoint. Otherwise, the default IP address of the control plane - /// endpoint is used. The default IP address is the private IP address for - /// clusters with private control-plane endpoints and the public IP address - /// otherwise. + /// Optional. If true, `cluster` is accessed using the private IP address of the control + /// plane endpoint. Otherwise, the default IP address of the control plane + /// endpoint is used. The default IP address is the private IP address for + /// clusters with private control-plane endpoints and the public IP address + /// otherwise. /// - /// Only specify this option when `cluster` is a [private GKE - /// cluster](). + /// Only specify this option when `cluster` is a [private GKE + /// cluster](). #[prost(bool, tag="2")] pub internal_ip: bool, } -/// Information specifying an Anthos Cluster. +/// Information specifying an Anthos Cluster. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AnthosCluster { - /// Membership of the GKE Hub-registered cluster to which to apply the Skaffold - /// configuration. Format is - /// `projects/{project}/locations/{location}/memberships/{membership_name}`. + /// Membership of the GKE Hub-registered cluster to which to apply the Skaffold + /// configuration. Format is + /// `projects/{project}/locations/{location}/memberships/{membership_name}`. #[prost(string, tag="1")] pub membership: ::prost::alloc::string::String, } -/// The request object for `ListTargets`. +/// The request object for `ListTargets`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetsRequest { - /// Required. The parent, which owns this collection of targets. Format must be - /// projects/{project_id}/locations/{location_name}. + /// Required. The parent, which owns this collection of targets. Format must be + /// projects/{project_id}/locations/{location_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of `Target` objects to return. The service may return - /// fewer than this value. If unspecified, at most 50 `Target` objects will be - /// returned. The maximum value is 1000; values above 1000 will be set to 1000. + /// Optional. The maximum number of `Target` objects to return. The service may return + /// fewer than this value. If unspecified, at most 50 `Target` objects will be + /// returned. The maximum value is 1000; values above 1000 will be set to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListTargets` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListTargets` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters match - /// the call that provided the page token. + /// When paginating, all other provided parameters match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter targets to be returned. See for more - /// details. + /// Optional. Filter targets to be returned. See for more + /// details. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Field to sort by. See for more details. + /// Optional. Field to sort by. See for more details. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// The response object from `ListTargets`. +/// The response object from `ListTargets`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTargetsResponse { - /// The `Target` objects. + /// The `Target` objects. #[prost(message, repeated, tag="1")] pub targets: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The request object for `GetTarget`. +/// The request object for `GetTarget`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTargetRequest { - /// Required. Name of the `Target`. Format must be - /// projects/{project_id}/locations/{location_name}/targets/{target_name}. + /// Required. Name of the `Target`. Format must be + /// projects/{project_id}/locations/{location_name}/targets/{target_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request object for `CreateTarget`. +/// The request object for `CreateTarget`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTargetRequest { - /// Required. The parent collection in which the `Target` should be created. - /// Format should be - /// projects/{project_id}/locations/{location_name}. + /// Required. The parent collection in which the `Target` should be created. + /// Format should be + /// projects/{project_id}/locations/{location_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. ID of the `Target`. + /// Required. ID of the `Target`. #[prost(string, tag="2")] pub target_id: ::prost::alloc::string::String, - /// Required. The `Target` to create. + /// Required. The `Target` to create. #[prost(message, optional, tag="3")] pub target: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// The request object for `UpdateTarget`. +/// The request object for `UpdateTarget`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTargetRequest { - /// Required. Field mask is used to specify the fields to be overwritten in the - /// Target resource by the update. - /// The fields specified in the update_mask are relative to the resource, not - /// the full request. A field will be overwritten if it is in the mask. If the - /// user does not provide a mask then all fields will be overwritten. + /// Required. Field mask is used to specify the fields to be overwritten in the + /// Target resource by the update. + /// The fields specified in the update_mask are relative to the resource, not + /// the full request. A field will be overwritten if it is in the mask. If the + /// user does not provide a mask then all fields will be overwritten. #[prost(message, optional, tag="1")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// Required. The `Target` to update. + /// Required. The `Target` to update. #[prost(message, optional, tag="2")] pub target: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="3")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, updating a `Target` that does not exist will - /// result in the creation of a new `Target`. + /// Optional. If set to true, updating a `Target` that does not exist will + /// result in the creation of a new `Target`. #[prost(bool, tag="4")] pub allow_missing: bool, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// The request object for `DeleteTarget`. +/// The request object for `DeleteTarget`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTargetRequest { - /// Required. The name of the `Target` to delete. Format should be - /// projects/{project_id}/locations/{location_name}/targets/{target_name}. + /// Required. The name of the `Target` to delete. Format should be + /// projects/{project_id}/locations/{location_name}/targets/{target_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes after the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes after the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="2")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, then deleting an already deleted or non-existing - /// DeliveryPipeline will succeed. + /// Optional. If set to true, then deleting an already deleted or non-existing + /// DeliveryPipeline will succeed. #[prost(bool, tag="3")] pub allow_missing: bool, - /// Optional. If set, validate the request and preview the review, but do not actually - /// post it. + /// Optional. If set, validate the request and preview the review, but do not actually + /// post it. #[prost(bool, tag="4")] pub validate_only: bool, - /// Optional. This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// Optional. This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="5")] pub etag: ::prost::alloc::string::String, } -/// A `Release` resource in the Google Cloud Deploy API. +/// A `Release` resource in the Google Cloud Deploy API. /// -/// A `Release` defines a specific Skaffold configuration instance -/// that can be deployed. +/// A `Release` defines a specific Skaffold configuration instance +/// that can be deployed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Release { - /// Optional. Name of the `Release`. Format is projects/{project}/ - /// locations/{location}/deliveryPipelines/{deliveryPipeline}/ - /// releases/\[a-z][a-z0-9\-\]{0,62}. + /// Optional. Name of the `Release`. Format is projects/{project}/ + /// locations/{location}/deliveryPipelines/{deliveryPipeline}/ + /// releases/\[a-z][a-z0-9\-\]{0,62}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Unique identifier of the `Release`. + /// Output only. Unique identifier of the `Release`. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Description of the `Release`. Max length is 255 characters. + /// Description of the `Release`. Max length is 255 characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// User annotations. These attributes can only be set and used by the - /// user, and not by Google Cloud Deploy. See - /// for more details such as format and - /// size limitations. + /// User annotations. These attributes can only be set and used by the + /// user, and not by Google Cloud Deploy. See + /// for more details such as format and + /// size limitations. #[prost(map="string, string", tag="4")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Labels are attributes that can be set and used by both the - /// user and by Google Cloud Deploy. Labels must meet the following - /// constraints: + /// Labels are attributes that can be set and used by both the + /// user and by Google Cloud Deploy. Labels must meet the following + /// constraints: /// - /// * Keys and values can contain only lowercase letters, numeric characters, - /// underscores, and dashes. - /// * All characters must use UTF-8 encoding, and international characters are - /// allowed. - /// * Keys must start with a lowercase letter or international character. - /// * Each resource is limited to a maximum of 64 labels. + /// * Keys and values can contain only lowercase letters, numeric characters, + /// underscores, and dashes. + /// * All characters must use UTF-8 encoding, and international characters are + /// allowed. + /// * Keys must start with a lowercase letter or international character. + /// * Each resource is limited to a maximum of 64 labels. /// - /// Both keys and values are additionally constrained to be <= 128 bytes. + /// Both keys and values are additionally constrained to be <= 128 bytes. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Time at which the `Release` was created. + /// Output only. Time at which the `Release` was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the render began. + /// Output only. Time at which the render began. #[prost(message, optional, tag="7")] pub render_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the render completed. + /// Output only. Time at which the render completed. #[prost(message, optional, tag="8")] pub render_end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Cloud Storage URI of tar.gz archive containing Skaffold configuration. + /// Cloud Storage URI of tar.gz archive containing Skaffold configuration. #[prost(string, tag="17")] pub skaffold_config_uri: ::prost::alloc::string::String, - /// Filepath of the Skaffold config inside of the config URI. + /// Filepath of the Skaffold config inside of the config URI. #[prost(string, tag="9")] pub skaffold_config_path: ::prost::alloc::string::String, - /// List of artifacts to pass through to Skaffold command. + /// List of artifacts to pass through to Skaffold command. #[prost(message, repeated, tag="10")] pub build_artifacts: ::prost::alloc::vec::Vec, - /// Output only. Snapshot of the parent pipeline taken at release creation time. + /// Output only. Snapshot of the parent pipeline taken at release creation time. #[prost(message, optional, tag="11")] pub delivery_pipeline_snapshot: ::core::option::Option, - /// Output only. Snapshot of the targets taken at release creation time. + /// Output only. Snapshot of the targets taken at release creation time. #[prost(message, repeated, tag="12")] pub target_snapshots: ::prost::alloc::vec::Vec, - /// Output only. Current state of the render operation. + /// Output only. Current state of the render operation. #[prost(enumeration="release::RenderState", tag="13")] pub render_state: i32, - /// This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="16")] pub etag: ::prost::alloc::string::String, - /// The Skaffold version to use when operating on this release, such as - /// "1.20.0". Not all versions are valid; Google Cloud Deploy supports a - /// specific set of versions. + /// The Skaffold version to use when operating on this release, such as + /// "1.20.0". Not all versions are valid; Google Cloud Deploy supports a + /// specific set of versions. /// - /// If unset, the most recent supported Skaffold version will be used. + /// If unset, the most recent supported Skaffold version will be used. #[prost(string, tag="19")] pub skaffold_version: ::prost::alloc::string::String, - /// Output only. Map from target ID to the target artifacts created - /// during the render operation. + /// Output only. Map from target ID to the target artifacts created + /// during the render operation. #[prost(map="string, message", tag="20")] pub target_artifacts: ::std::collections::HashMap<::prost::alloc::string::String, TargetArtifact>, - /// Output only. Map from target ID to details of the render operation for that target. + /// Output only. Map from target ID to details of the render operation for that target. #[prost(map="string, message", tag="22")] pub target_renders: ::std::collections::HashMap<::prost::alloc::string::String, release::TargetRender>, } /// Nested message and enum types in `Release`. pub mod release { - /// Details of rendering for a single target. + /// Details of rendering for a single target. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetRender { - /// Output only. The resource name of the Cloud Build `Build` object that is used to - /// render the manifest for this target. Format is - /// `projects/{project}/locations/{location}/builds/{build}`. + /// Output only. The resource name of the Cloud Build `Build` object that is used to + /// render the manifest for this target. Format is + /// `projects/{project}/locations/{location}/builds/{build}`. #[prost(string, tag="1")] pub rendering_build: ::prost::alloc::string::String, - /// Output only. Current state of the render operation for this Target. + /// Output only. Current state of the render operation for this Target. #[prost(enumeration="target_render::TargetRenderState", tag="2")] pub rendering_state: i32, - /// Output only. Reason this render failed. This will always be unspecified while the - /// render in progress. + /// Output only. Reason this render failed. This will always be unspecified while the + /// render in progress. #[prost(enumeration="target_render::FailureCause", tag="4")] pub failure_cause: i32, } /// Nested message and enum types in `TargetRender`. pub mod target_render { - /// Valid states of the render operation. + /// Valid states of the render operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TargetRenderState { - /// The render operation state is unspecified. + /// The render operation state is unspecified. Unspecified = 0, - /// The render operation has completed successfully. + /// The render operation has completed successfully. Succeeded = 1, - /// The render operation has failed. + /// The render operation has failed. Failed = 2, - /// The render operation is in progress. + /// The render operation is in progress. InProgress = 3, } impl TargetRenderState { @@ -780,18 +780,18 @@ pub mod release { } } } - /// Well-known rendering failures. + /// Well-known rendering failures. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FailureCause { - /// No reason for failure is specified. + /// No reason for failure is specified. Unspecified = 0, - /// Cloud Build is not available, either because it is not enabled or - /// because Cloud Deploy has insufficient permissions. See [required - /// permission](/deploy/docs/cloud-deploy-service-account#required_permissions). + /// Cloud Build is not available, either because it is not enabled or + /// because Cloud Deploy has insufficient permissions. See [required + /// permission](/deploy/docs/cloud-deploy-service-account#required_permissions). CloudBuildUnavailable = 1, - /// The render operation did not complete successfully; check Cloud Build - /// logs. + /// The render operation did not complete successfully; check Cloud Build + /// logs. ExecutionFailed = 2, } impl FailureCause { @@ -808,17 +808,17 @@ pub mod release { } } } - /// Valid states of the render operation. + /// Valid states of the render operation. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RenderState { - /// The render state is unspecified. + /// The render state is unspecified. Unspecified = 0, - /// All rendering operations have completed successfully. + /// All rendering operations have completed successfully. Succeeded = 1, - /// All rendering operations have completed, and one or more have failed. + /// All rendering operations have completed, and one or more have failed. Failed = 2, - /// Rendering has started and is not complete. + /// Rendering has started and is not complete. InProgress = 3, } impl RenderState { @@ -836,25 +836,25 @@ pub mod release { } } } -/// Description of an a image to use during Skaffold rendering. +/// Description of an a image to use during Skaffold rendering. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BuildArtifact { - /// Image name in Skaffold configuration. + /// Image name in Skaffold configuration. #[prost(string, tag="3")] pub image: ::prost::alloc::string::String, - /// Image tag to use. This will generally be the full path to an image, such - /// as "gcr.io/my-project/busybox:1.2.3" or - /// "gcr.io/my-project/busybox@sha256:abc123". + /// Image tag to use. This will generally be the full path to an image, such + /// as "gcr.io/my-project/busybox:1.2.3" or + /// "gcr.io/my-project/busybox@sha256:abc123". #[prost(string, tag="2")] pub tag: ::prost::alloc::string::String, } -/// The artifacts produced by a target render operation. +/// The artifacts produced by a target render operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetArtifact { - /// Output only. File path of the resolved Skaffold configuration relative to the URI. + /// Output only. File path of the resolved Skaffold configuration relative to the URI. #[prost(string, tag="2")] pub skaffold_config_path: ::prost::alloc::string::String, - /// Output only. File path of the rendered manifest relative to the URI. + /// Output only. File path of the rendered manifest relative to the URI. #[prost(string, tag="3")] pub manifest_path: ::prost::alloc::string::String, #[prost(oneof="target_artifact::Uri", tags="4")] @@ -864,189 +864,189 @@ pub struct TargetArtifact { pub mod target_artifact { #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Uri { - /// Output only. URI of a directory containing the artifacts. This contains - /// deployment configuration used by Skaffold during a rollout, and all - /// paths are relative to this location. + /// Output only. URI of a directory containing the artifacts. This contains + /// deployment configuration used by Skaffold during a rollout, and all + /// paths are relative to this location. #[prost(string, tag="4")] ArtifactUri(::prost::alloc::string::String), } } -/// The request object for `ListReleases`. +/// The request object for `ListReleases`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReleasesRequest { - /// Required. The `DeliveryPipeline` which owns this collection of `Release` objects. + /// Required. The `DeliveryPipeline` which owns this collection of `Release` objects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of `Release` objects to return. The service may return - /// fewer than this value. If unspecified, at most 50 `Release` objects will be - /// returned. The maximum value is 1000; values above 1000 will be set to 1000. + /// Optional. The maximum number of `Release` objects to return. The service may return + /// fewer than this value. If unspecified, at most 50 `Release` objects will be + /// returned. The maximum value is 1000; values above 1000 will be set to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListReleases` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListReleases` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters match - /// the call that provided the page token. + /// When paginating, all other provided parameters match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter releases to be returned. See for more - /// details. + /// Optional. Filter releases to be returned. See for more + /// details. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Field to sort by. See for more details. + /// Optional. Field to sort by. See for more details. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// The response object from `ListReleases`. +/// The response object from `ListReleases`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListReleasesResponse { - /// The `Release` objects. + /// The `Release` objects. #[prost(message, repeated, tag="1")] pub releases: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The request object for `GetRelease`. +/// The request object for `GetRelease`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetReleaseRequest { - /// Required. Name of the `Release`. Format must be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + /// Required. Name of the `Release`. Format must be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request object for `CreateRelease`, +/// The request object for `CreateRelease`, #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateReleaseRequest { - /// Required. The parent collection in which the `Release` should be created. - /// Format should be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. + /// Required. The parent collection in which the `Release` should be created. + /// Format should be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. ID of the `Release`. + /// Required. ID of the `Release`. #[prost(string, tag="2")] pub release_id: ::prost::alloc::string::String, - /// Required. The `Release` to create. + /// Required. The `Release` to create. #[prost(message, optional, tag="3")] pub release: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// A `Rollout` resource in the Google Cloud Deploy API. +/// A `Rollout` resource in the Google Cloud Deploy API. /// -/// A `Rollout` contains information around a specific deployment to a `Target`. +/// A `Rollout` contains information around a specific deployment to a `Target`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Rollout { - /// Optional. Name of the `Rollout`. Format is projects/{project}/ - /// locations/{location}/deliveryPipelines/{deliveryPipeline}/ - /// releases/{release}/rollouts/\[a-z][a-z0-9\-\]{0,62}. + /// Optional. Name of the `Rollout`. Format is projects/{project}/ + /// locations/{location}/deliveryPipelines/{deliveryPipeline}/ + /// releases/{release}/rollouts/\[a-z][a-z0-9\-\]{0,62}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. Unique identifier of the `Rollout`. + /// Output only. Unique identifier of the `Rollout`. #[prost(string, tag="2")] pub uid: ::prost::alloc::string::String, - /// Description of the `Rollout` for user purposes. Max length is 255 - /// characters. + /// Description of the `Rollout` for user purposes. Max length is 255 + /// characters. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// User annotations. These attributes can only be set and used by the - /// user, and not by Google Cloud Deploy. See - /// for more details such as format and - /// size limitations. + /// User annotations. These attributes can only be set and used by the + /// user, and not by Google Cloud Deploy. See + /// for more details such as format and + /// size limitations. #[prost(map="string, string", tag="4")] pub annotations: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Labels are attributes that can be set and used by both the - /// user and by Google Cloud Deploy. Labels must meet the following - /// constraints: + /// Labels are attributes that can be set and used by both the + /// user and by Google Cloud Deploy. Labels must meet the following + /// constraints: /// - /// * Keys and values can contain only lowercase letters, numeric characters, - /// underscores, and dashes. - /// * All characters must use UTF-8 encoding, and international characters are - /// allowed. - /// * Keys must start with a lowercase letter or international character. - /// * Each resource is limited to a maximum of 64 labels. + /// * Keys and values can contain only lowercase letters, numeric characters, + /// underscores, and dashes. + /// * All characters must use UTF-8 encoding, and international characters are + /// allowed. + /// * Keys must start with a lowercase letter or international character. + /// * Each resource is limited to a maximum of 64 labels. /// - /// Both keys and values are additionally constrained to be <= 128 bytes. + /// Both keys and values are additionally constrained to be <= 128 bytes. #[prost(map="string, string", tag="5")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Output only. Time at which the `Rollout` was created. + /// Output only. Time at which the `Rollout` was created. #[prost(message, optional, tag="6")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the `Rollout` was approved. + /// Output only. Time at which the `Rollout` was approved. #[prost(message, optional, tag="7")] pub approve_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the `Rollout` was enqueued. + /// Output only. Time at which the `Rollout` was enqueued. #[prost(message, optional, tag="8")] pub enqueue_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the `Rollout` started deploying. + /// Output only. Time at which the `Rollout` started deploying. #[prost(message, optional, tag="9")] pub deploy_start_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Time at which the `Rollout` finished deploying. + /// Output only. Time at which the `Rollout` finished deploying. #[prost(message, optional, tag="10")] pub deploy_end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Required. The ID of Target to which this `Rollout` is deploying. + /// Required. The ID of Target to which this `Rollout` is deploying. #[prost(string, tag="18")] pub target_id: ::prost::alloc::string::String, - /// Output only. Approval state of the `Rollout`. + /// Output only. Approval state of the `Rollout`. #[prost(enumeration="rollout::ApprovalState", tag="12")] pub approval_state: i32, - /// Output only. Current state of the `Rollout`. + /// Output only. Current state of the `Rollout`. #[prost(enumeration="rollout::State", tag="13")] pub state: i32, - /// Output only. Reason the build failed. Empty if the build succeeded. + /// Output only. Reason the build failed. Empty if the build succeeded. #[prost(string, tag="14")] pub failure_reason: ::prost::alloc::string::String, - /// Output only. The resource name of the Cloud Build `Build` object that is used to deploy - /// the Rollout. Format is - /// `projects/{project}/locations/{location}/builds/{build}`. + /// Output only. The resource name of the Cloud Build `Build` object that is used to deploy + /// the Rollout. Format is + /// `projects/{project}/locations/{location}/builds/{build}`. #[prost(string, tag="17")] pub deploying_build: ::prost::alloc::string::String, - /// This checksum is computed by the server based on the value of other - /// fields, and may be sent on update and delete requests to ensure the - /// client has an up-to-date value before proceeding. + /// This checksum is computed by the server based on the value of other + /// fields, and may be sent on update and delete requests to ensure the + /// client has an up-to-date value before proceeding. #[prost(string, tag="16")] pub etag: ::prost::alloc::string::String, - /// Output only. The reason this deploy failed. This will always be unspecified while the - /// deploy in progress. + /// Output only. The reason this deploy failed. This will always be unspecified while the + /// deploy in progress. #[prost(enumeration="rollout::FailureCause", tag="19")] pub deploy_failure_cause: i32, } /// Nested message and enum types in `Rollout`. pub mod rollout { - /// Valid approval states of a `Rollout`. + /// Valid approval states of a `Rollout`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ApprovalState { - /// The `Rollout` has an unspecified approval state. + /// The `Rollout` has an unspecified approval state. Unspecified = 0, - /// The `Rollout` requires approval. + /// The `Rollout` requires approval. NeedsApproval = 1, - /// The `Rollout` does not require approval. + /// The `Rollout` does not require approval. DoesNotNeedApproval = 2, - /// The `Rollout` has been approved. + /// The `Rollout` has been approved. Approved = 3, - /// The `Rollout` has been rejected. + /// The `Rollout` has been rejected. Rejected = 4, } impl ApprovalState { @@ -1064,26 +1064,26 @@ pub mod rollout { } } } - /// Valid states of a `Rollout`. + /// Valid states of a `Rollout`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// The `Rollout` has an unspecified state. + /// The `Rollout` has an unspecified state. Unspecified = 0, - /// The `Rollout` has completed successfully. + /// The `Rollout` has completed successfully. Succeeded = 1, - /// The `Rollout` has failed. + /// The `Rollout` has failed. Failed = 2, - /// The `Rollout` is being deployed. + /// The `Rollout` is being deployed. InProgress = 3, - /// The `Rollout` needs approval. + /// The `Rollout` needs approval. PendingApproval = 4, - /// An approver rejected the `Rollout`. + /// An approver rejected the `Rollout`. ApprovalRejected = 5, - /// The `Rollout` is waiting for an earlier Rollout(s) to complete on this - /// `Target`. + /// The `Rollout` is waiting for an earlier Rollout(s) to complete on this + /// `Target`. Pending = 6, - /// The `Rollout` is waiting for the `Release` to be fully rendered. + /// The `Rollout` is waiting for the `Release` to be fully rendered. PendingRelease = 7, } impl State { @@ -1104,22 +1104,22 @@ pub mod rollout { } } } - /// Well-known deployment failures. + /// Well-known deployment failures. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum FailureCause { - /// No reason for failure is specified. + /// No reason for failure is specified. Unspecified = 0, - /// Cloud Build is not available, either because it is not enabled or because - /// Cloud Deploy has insufficient permissions. See [required - /// permission](/deploy/docs/cloud-deploy-service-account#required_permissions). + /// Cloud Build is not available, either because it is not enabled or because + /// Cloud Deploy has insufficient permissions. See [required + /// permission](/deploy/docs/cloud-deploy-service-account#required_permissions). CloudBuildUnavailable = 1, - /// The deploy operation did not complete successfully; check Cloud Build - /// logs. + /// The deploy operation did not complete successfully; check Cloud Build + /// logs. ExecutionFailed = 2, - /// Deployment did not complete within the alloted time. + /// Deployment did not complete within the alloted time. DeadlineExceeded = 3, - /// Release is in a failed state. + /// Release is in a failed state. ReleaseFailed = 4, } impl FailureCause { @@ -1138,160 +1138,160 @@ pub mod rollout { } } } -/// ListRolloutsRequest is the request object used by `ListRollouts`. +/// ListRolloutsRequest is the request object used by `ListRollouts`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRolloutsRequest { - /// Required. The `Release` which owns this collection of `Rollout` objects. + /// Required. The `Release` which owns this collection of `Rollout` objects. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. The maximum number of `Rollout` objects to return. The service may return - /// fewer than this value. If unspecified, at most 50 `Rollout` objects will be - /// returned. The maximum value is 1000; values above 1000 will be set to 1000. + /// Optional. The maximum number of `Rollout` objects to return. The service may return + /// fewer than this value. If unspecified, at most 50 `Rollout` objects will be + /// returned. The maximum value is 1000; values above 1000 will be set to 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// Optional. A page token, received from a previous `ListRollouts` call. - /// Provide this to retrieve the subsequent page. + /// Optional. A page token, received from a previous `ListRollouts` call. + /// Provide this to retrieve the subsequent page. /// - /// When paginating, all other provided parameters match - /// the call that provided the page token. + /// When paginating, all other provided parameters match + /// the call that provided the page token. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Optional. Filter rollouts to be returned. See for more - /// details. + /// Optional. Filter rollouts to be returned. See for more + /// details. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// Optional. Field to sort by. See for more details. + /// Optional. Field to sort by. See for more details. #[prost(string, tag="5")] pub order_by: ::prost::alloc::string::String, } -/// ListRolloutsResponse is the response object reutrned by `ListRollouts`. +/// ListRolloutsResponse is the response object reutrned by `ListRollouts`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListRolloutsResponse { - /// The `Rollout` objects. + /// The `Rollout` objects. #[prost(message, repeated, tag="1")] pub rollouts: ::prost::alloc::vec::Vec, - /// A token, which can be sent as `page_token` to retrieve the next page. - /// If this field is omitted, there are no subsequent pages. + /// A token, which can be sent as `page_token` to retrieve the next page. + /// If this field is omitted, there are no subsequent pages. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, - /// Locations that could not be reached. + /// Locations that could not be reached. #[prost(string, repeated, tag="3")] pub unreachable: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// GetRolloutRequest is the request object used by `GetRollout`. +/// GetRolloutRequest is the request object used by `GetRollout`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetRolloutRequest { - /// Required. Name of the `Rollout`. Format must be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}. + /// Required. Name of the `Rollout`. Format must be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}/rollouts/{rollout_name}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// CreateRolloutRequest is the request object used by `CreateRollout`. +/// CreateRolloutRequest is the request object used by `CreateRollout`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateRolloutRequest { - /// Required. The parent collection in which the `Rollout` should be created. - /// Format should be - /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. + /// Required. The parent collection in which the `Rollout` should be created. + /// Format should be + /// projects/{project_id}/locations/{location_name}/deliveryPipelines/{pipeline_name}/releases/{release_name}. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. ID of the `Rollout`. + /// Required. ID of the `Rollout`. #[prost(string, tag="2")] pub rollout_id: ::prost::alloc::string::String, - /// Required. The `Rollout` to create. + /// Required. The `Rollout` to create. #[prost(message, optional, tag="3")] pub rollout: ::core::option::Option, - /// Optional. A request ID to identify requests. Specify a unique request ID - /// so that if you must retry your request, the server will know to ignore - /// the request if it has already been completed. The server will guarantee - /// that for at least 60 minutes since the first request. + /// Optional. A request ID to identify requests. Specify a unique request ID + /// so that if you must retry your request, the server will know to ignore + /// the request if it has already been completed. The server will guarantee + /// that for at least 60 minutes since the first request. /// - /// For example, consider a situation where you make an initial request and the - /// request times out. If you make the request again with the same request ID, - /// the server can check if original operation with the same request ID was - /// received, and if so, will ignore the second request. This prevents clients - /// from accidentally creating duplicate commitments. + /// For example, consider a situation where you make an initial request and the + /// request times out. If you make the request again with the same request ID, + /// the server can check if original operation with the same request ID was + /// received, and if so, will ignore the second request. This prevents clients + /// from accidentally creating duplicate commitments. /// - /// The request ID must be a valid UUID with the exception that zero UUID is - /// not supported (00000000-0000-0000-0000-000000000000). + /// The request ID must be a valid UUID with the exception that zero UUID is + /// not supported (00000000-0000-0000-0000-000000000000). #[prost(string, tag="4")] pub request_id: ::prost::alloc::string::String, - /// Optional. If set to true, the request is validated and the user is provided with - /// an expected result, but no actual change is made. + /// Optional. If set to true, the request is validated and the user is provided with + /// an expected result, but no actual change is made. #[prost(bool, tag="5")] pub validate_only: bool, } -/// Represents the metadata of the long-running operation. +/// Represents the metadata of the long-running operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OperationMetadata { - /// Output only. The time the operation was created. + /// Output only. The time the operation was created. #[prost(message, optional, tag="1")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. The time the operation finished running. + /// Output only. The time the operation finished running. #[prost(message, optional, tag="2")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Output only. Server-defined resource path for the target of the operation. + /// Output only. Server-defined resource path for the target of the operation. #[prost(string, tag="3")] pub target: ::prost::alloc::string::String, - /// Output only. Name of the verb executed by the operation. + /// Output only. Name of the verb executed by the operation. #[prost(string, tag="4")] pub verb: ::prost::alloc::string::String, - /// Output only. Human-readable status of the operation, if any. + /// Output only. Human-readable status of the operation, if any. #[prost(string, tag="5")] pub status_message: ::prost::alloc::string::String, - /// Output only. Identifies whether the user has requested cancellation - /// of the operation. Operations that have successfully been cancelled - /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, - /// corresponding to `Code.CANCELLED`. + /// Output only. Identifies whether the user has requested cancellation + /// of the operation. Operations that have successfully been cancelled + /// have \[Operation.error][\] value with a \[google.rpc.Status.code][google.rpc.Status.code\] of 1, + /// corresponding to `Code.CANCELLED`. #[prost(bool, tag="6")] pub requested_cancellation: bool, - /// Output only. API version used to start the operation. + /// Output only. API version used to start the operation. #[prost(string, tag="7")] pub api_version: ::prost::alloc::string::String, } -/// The request object used by `ApproveRollout`. +/// The request object used by `ApproveRollout`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveRolloutRequest { - /// Required. Name of the Rollout. Format is - /// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ - /// releases/{release}/rollouts/{rollout}. + /// Required. Name of the Rollout. Format is + /// projects/{project}/locations/{location}/deliveryPipelines/{deliveryPipeline}/ + /// releases/{release}/rollouts/{rollout}. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. True = approve; false = reject + /// Required. True = approve; false = reject #[prost(bool, tag="2")] pub approved: bool, } -/// The response object from `ApproveRollout`. +/// The response object from `ApproveRollout`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ApproveRolloutResponse { } -/// Service-wide configuration. +/// Service-wide configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Config { - /// Name of the configuration. + /// Name of the configuration. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Output only. All supported versions of Skaffold. + /// Output only. All supported versions of Skaffold. #[prost(message, repeated, tag="2")] pub supported_versions: ::prost::alloc::vec::Vec, - /// Output only. Default Skaffold version that is assigned when a Release is created without - /// specifying a Skaffold version. + /// Output only. Default Skaffold version that is assigned when a Release is created without + /// specifying a Skaffold version. #[prost(string, tag="3")] pub default_skaffold_version: ::prost::alloc::string::String, } -/// Details of a supported Skaffold version. +/// Details of a supported Skaffold version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SkaffoldVersion { - /// Release version number. For example, "1.20.3". + /// Release version number. For example, "1.20.3". #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// Date when this version is expected to no longer be supported. + /// Date when this version is expected to no longer be supported. #[prost(message, optional, tag="2")] pub support_end_date: ::core::option::Option, } -/// Request to get a configuration. +/// Request to get a configuration. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetConfigRequest { - /// Required. Name of requested configuration. + /// Required. Name of requested configuration. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -1755,15 +1755,15 @@ pub mod cloud_deploy_client { } } } -/// Type indicates the type of the log entry and can be used as a filter. +/// Type indicates the type of the log entry and can be used as a filter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Type { - /// Type is unspecified. + /// Type is unspecified. Unspecified = 0, - /// A Pub/Sub notification failed to be sent. + /// A Pub/Sub notification failed to be sent. PubsubNotificationFailure = 1, - /// Release render status changed notification. + /// Release render status changed notification. RenderStatuesChange = 2, } impl Type { @@ -1779,84 +1779,84 @@ impl Type { } } } -/// Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" -/// Platform Log event that describes the failure to send delivery pipeline -/// status change Pub/Sub notification. +/// Payload proto for "clouddeploy.googleapis.com/deliverypipeline_notification" +/// Platform Log event that describes the failure to send delivery pipeline +/// status change Pub/Sub notification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeliveryPipelineNotificationEvent { - /// Debug message for when a notification fails to send. + /// Debug message for when a notification fails to send. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The name of the `Delivery Pipeline`. + /// The name of the `Delivery Pipeline`. #[prost(string, tag="2")] pub delivery_pipeline: ::prost::alloc::string::String, - /// Type of this notification, e.g. for a Pub/Sub failure. + /// Type of this notification, e.g. for a Pub/Sub failure. #[prost(enumeration="Type", tag="3")] pub r#type: i32, } -/// Payload proto for "clouddeploy.googleapis.com/release_notification" -/// Platform Log event that describes the failure to send release status change -/// Pub/Sub notification. +/// Payload proto for "clouddeploy.googleapis.com/release_notification" +/// Platform Log event that describes the failure to send release status change +/// Pub/Sub notification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReleaseNotificationEvent { - /// Debug message for when a notification fails to send. + /// Debug message for when a notification fails to send. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The name of the `Release`. + /// The name of the `Release`. #[prost(string, tag="2")] pub release: ::prost::alloc::string::String, - /// Type of this notification, e.g. for a Pub/Sub failure. + /// Type of this notification, e.g. for a Pub/Sub failure. #[prost(enumeration="Type", tag="3")] pub r#type: i32, } -/// Payload proto for "clouddeploy.googleapis.com/release_render" -/// Platform Log event that describes the render status change. +/// Payload proto for "clouddeploy.googleapis.com/release_render" +/// Platform Log event that describes the render status change. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ReleaseRenderEvent { - /// Debug message for when a render transition occurs. Provides further - /// details as rendering progresses through render states. + /// Debug message for when a render transition occurs. Provides further + /// details as rendering progresses through render states. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The name of the `Release`. + /// The name of the `Release`. #[prost(string, tag="2")] pub release: ::prost::alloc::string::String, } -/// Payload proto for "clouddeploy.googleapis.com/rollout_notification" -/// Platform Log event that describes the failure to send rollout status change -/// Pub/Sub notification. +/// Payload proto for "clouddeploy.googleapis.com/rollout_notification" +/// Platform Log event that describes the failure to send rollout status change +/// Pub/Sub notification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RolloutNotificationEvent { - /// Debug message for when a notification fails to send. + /// Debug message for when a notification fails to send. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// Unique identifier of the `DeliveryPipeline`. + /// Unique identifier of the `DeliveryPipeline`. #[prost(string, tag="2")] pub pipeline_uid: ::prost::alloc::string::String, - /// Unique identifier of the `Release`. + /// Unique identifier of the `Release`. #[prost(string, tag="3")] pub release_uid: ::prost::alloc::string::String, - /// The name of the `Rollout`. + /// The name of the `Rollout`. #[prost(string, tag="4")] pub rollout: ::prost::alloc::string::String, - /// Type of this notification, e.g. for a Pub/Sub failure. + /// Type of this notification, e.g. for a Pub/Sub failure. #[prost(enumeration="Type", tag="5")] pub r#type: i32, - /// ID of the `Target` that the rollout is deployed to. + /// ID of the `Target` that the rollout is deployed to. #[prost(string, tag="6")] pub target_id: ::prost::alloc::string::String, } -/// Payload proto for "clouddeploy.googleapis.com/target_notification" -/// Platform Log event that describes the failure to send target status change -/// Pub/Sub notification. +/// Payload proto for "clouddeploy.googleapis.com/target_notification" +/// Platform Log event that describes the failure to send target status change +/// Pub/Sub notification. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TargetNotificationEvent { - /// Debug message for when a notification fails to send. + /// Debug message for when a notification fails to send. #[prost(string, tag="1")] pub message: ::prost::alloc::string::String, - /// The name of the `Target`. + /// The name of the `Target`. #[prost(string, tag="2")] pub target: ::prost::alloc::string::String, - /// Type of this notification, e.g. for a Pub/Sub failure. + /// Type of this notification, e.g. for a Pub/Sub failure. #[prost(enumeration="Type", tag="3")] pub r#type: i32, } diff --git a/gcloud-sdk/genproto/google.cloud.dialogflow.cx.v3.rs b/gcloud-sdk/genproto/google.cloud.dialogflow.cx.v3.rs index 2744638e4..fcd9be921 100644 --- a/gcloud-sdk/genproto/google.cloud.dialogflow.cx.v3.rs +++ b/gcloud-sdk/genproto/google.cloud.dialogflow.cx.v3.rs @@ -1,371 +1,371 @@ -/// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. -/// Settings exposed at lower level overrides the settings exposed at higher -/// level. Overriding occurs at the sub-setting level. For example, the -/// playback_interruption_settings at fulfillment level only overrides the -/// playback_interruption_settings at the agent level, leaving other settings -/// at the agent level unchanged. +/// Hierarchical advanced settings for agent/flow/page/fulfillment/parameter. +/// Settings exposed at lower level overrides the settings exposed at higher +/// level. Overriding occurs at the sub-setting level. For example, the +/// playback_interruption_settings at fulfillment level only overrides the +/// playback_interruption_settings at the agent level, leaving other settings +/// at the agent level unchanged. /// -/// DTMF settings does not override each other. DTMF settings set at different -/// levels define DTMF detections running in parallel. +/// DTMF settings does not override each other. DTMF settings set at different +/// levels define DTMF detections running in parallel. /// -/// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. +/// Hierarchy: Agent->Flow->Page->Fulfillment/Parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AdvancedSettings { - /// Settings for logging. - /// Settings for Dialogflow History, Contact Center messages, StackDriver logs, - /// and speech logging. - /// Exposed at the following levels: - /// - Agent level. + /// Settings for logging. + /// Settings for Dialogflow History, Contact Center messages, StackDriver logs, + /// and speech logging. + /// Exposed at the following levels: + /// - Agent level. #[prost(message, optional, tag="6")] pub logging_settings: ::core::option::Option, } /// Nested message and enum types in `AdvancedSettings`. pub mod advanced_settings { - /// Define behaviors on logging. + /// Define behaviors on logging. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LoggingSettings { - /// If true, StackDriver logging is currently enabled. + /// If true, StackDriver logging is currently enabled. #[prost(bool, tag="2")] pub enable_stackdriver_logging: bool, - /// If true, DF Interaction logging is currently enabled. + /// If true, DF Interaction logging is currently enabled. #[prost(bool, tag="3")] pub enable_interaction_logging: bool, } } -/// Represents a response message that can be returned by a conversational agent. +/// Represents a response message that can be returned by a conversational agent. /// -/// Response messages are also used for output audio synthesis. The approach is -/// as follows: +/// Response messages are also used for output audio synthesis. The approach is +/// as follows: /// -/// * If at least one OutputAudioText response is present, then all +/// * If at least one OutputAudioText response is present, then all /// OutputAudioText responses are linearly concatenated, and the result is used /// for output audio synthesis. -/// * If the OutputAudioText responses are a mixture of text and SSML, then the +/// * If the OutputAudioText responses are a mixture of text and SSML, then the /// concatenated result is treated as SSML; otherwise, the result is treated as /// either text or SSML as appropriate. The agent designer should ideally use /// either text or SSML consistently throughout the bot design. -/// * Otherwise, all Text responses are linearly concatenated, and the result is +/// * Otherwise, all Text responses are linearly concatenated, and the result is /// used for output audio synthesis. /// -/// This approach allows for more sophisticated user experience scenarios, where -/// the text displayed to the user may differ from what is heard. +/// This approach allows for more sophisticated user experience scenarios, where +/// the text displayed to the user may differ from what is heard. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResponseMessage { - /// Required. The rich response message. + /// Required. The rich response message. #[prost(oneof="response_message::Message", tags="1, 2, 9, 8, 10, 11, 12, 13, 18")] pub message: ::core::option::Option, } /// Nested message and enum types in `ResponseMessage`. pub mod response_message { - /// The text response message. + /// The text response message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Text { - /// Required. A collection of text responses. + /// Required. A collection of text responses. #[prost(string, repeated, tag="1")] pub text: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Output only. Whether the playback of this message can be interrupted by the end - /// user's speech and the client can then starts the next Dialogflow - /// request. + /// Output only. Whether the playback of this message can be interrupted by the end + /// user's speech and the client can then starts the next Dialogflow + /// request. #[prost(bool, tag="2")] pub allow_playback_interruption: bool, } - /// Indicates that the conversation should be handed off to a live agent. + /// Indicates that the conversation should be handed off to a live agent. /// - /// Dialogflow only uses this to determine which conversations were handed off - /// to a human agent for measurement purposes. What else to do with this signal - /// is up to you and your handoff procedures. + /// Dialogflow only uses this to determine which conversations were handed off + /// to a human agent for measurement purposes. What else to do with this signal + /// is up to you and your handoff procedures. /// - /// You may set this, for example: - /// * In the \[entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment\] of a \[Page][google.cloud.dialogflow.cx.v3.Page\] if + /// You may set this, for example: + /// * In the \[entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment\] of a \[Page][google.cloud.dialogflow.cx.v3.Page\] if /// entering the page indicates something went extremely wrong in the /// conversation. - /// * In a webhook response when you determine that the customer issue can only + /// * In a webhook response when you determine that the customer issue can only /// be handled by a human. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LiveAgentHandoff { - /// Custom metadata for your handoff procedure. Dialogflow doesn't impose - /// any structure on this. + /// Custom metadata for your handoff procedure. Dialogflow doesn't impose + /// any structure on this. #[prost(message, optional, tag="1")] pub metadata: ::core::option::Option<::prost_types::Struct>, } - /// Indicates that the conversation succeeded, i.e., the bot handled the issue - /// that the customer talked to it about. + /// Indicates that the conversation succeeded, i.e., the bot handled the issue + /// that the customer talked to it about. /// - /// Dialogflow only uses this to determine which conversations should be - /// counted as successful and doesn't process the metadata in this message in - /// any way. Note that Dialogflow also considers conversations that get to the - /// conversation end page as successful even if they don't return - /// \[ConversationSuccess][google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess\]. + /// Dialogflow only uses this to determine which conversations should be + /// counted as successful and doesn't process the metadata in this message in + /// any way. Note that Dialogflow also considers conversations that get to the + /// conversation end page as successful even if they don't return + /// \[ConversationSuccess][google.cloud.dialogflow.cx.v3.ResponseMessage.ConversationSuccess\]. /// - /// You may set this, for example: - /// * In the \[entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment\] of a \[Page][google.cloud.dialogflow.cx.v3.Page\] if + /// You may set this, for example: + /// * In the \[entry_fulfillment][google.cloud.dialogflow.cx.v3.Page.entry_fulfillment\] of a \[Page][google.cloud.dialogflow.cx.v3.Page\] if /// entering the page indicates that the conversation succeeded. - /// * In a webhook response when you determine that you handled the customer + /// * In a webhook response when you determine that you handled the customer /// issue. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversationSuccess { - /// Custom metadata. Dialogflow doesn't impose any structure on this. + /// Custom metadata. Dialogflow doesn't impose any structure on this. #[prost(message, optional, tag="1")] pub metadata: ::core::option::Option<::prost_types::Struct>, } - /// A text or ssml response that is preferentially used for TTS output audio - /// synthesis, as described in the comment on the ResponseMessage message. + /// A text or ssml response that is preferentially used for TTS output audio + /// synthesis, as described in the comment on the ResponseMessage message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputAudioText { - /// Output only. Whether the playback of this message can be interrupted by the end - /// user's speech and the client can then starts the next Dialogflow - /// request. + /// Output only. Whether the playback of this message can be interrupted by the end + /// user's speech and the client can then starts the next Dialogflow + /// request. #[prost(bool, tag="3")] pub allow_playback_interruption: bool, - /// The source, which is either plain text or SSML. + /// The source, which is either plain text or SSML. #[prost(oneof="output_audio_text::Source", tags="1, 2")] pub source: ::core::option::Option, } /// Nested message and enum types in `OutputAudioText`. pub mod output_audio_text { - /// The source, which is either plain text or SSML. + /// The source, which is either plain text or SSML. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The raw text to be synthesized. + /// The raw text to be synthesized. #[prost(string, tag="1")] Text(::prost::alloc::string::String), - /// The SSML text to be synthesized. For more information, see - /// \[SSML\](/speech/text-to-speech/docs/ssml). + /// The SSML text to be synthesized. For more information, see + /// \[SSML\](/speech/text-to-speech/docs/ssml). #[prost(string, tag="2")] Ssml(::prost::alloc::string::String), } } - /// Indicates that interaction with the Dialogflow agent has ended. - /// This message is generated by Dialogflow only and not supposed to be - /// defined by the user. + /// Indicates that interaction with the Dialogflow agent has ended. + /// This message is generated by Dialogflow only and not supposed to be + /// defined by the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EndInteraction { } - /// Specifies an audio clip to be played by the client as part of the response. + /// Specifies an audio clip to be played by the client as part of the response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PlayAudio { - /// Required. URI of the audio clip. Dialogflow does not impose any validation on this - /// value. It is specific to the client that reads it. + /// Required. URI of the audio clip. Dialogflow does not impose any validation on this + /// value. It is specific to the client that reads it. #[prost(string, tag="1")] pub audio_uri: ::prost::alloc::string::String, - /// Output only. Whether the playback of this message can be interrupted by the end - /// user's speech and the client can then starts the next Dialogflow - /// request. + /// Output only. Whether the playback of this message can be interrupted by the end + /// user's speech and the client can then starts the next Dialogflow + /// request. #[prost(bool, tag="2")] pub allow_playback_interruption: bool, } - /// Represents an audio message that is composed of both segments - /// synthesized from the Dialogflow agent prompts and ones hosted externally - /// at the specified URIs. - /// The external URIs are specified via - /// \[play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio\]. - /// This message is generated by Dialogflow only and not supposed to be - /// defined by the user. + /// Represents an audio message that is composed of both segments + /// synthesized from the Dialogflow agent prompts and ones hosted externally + /// at the specified URIs. + /// The external URIs are specified via + /// \[play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio\]. + /// This message is generated by Dialogflow only and not supposed to be + /// defined by the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MixedAudio { - /// Segments this audio response is composed of. + /// Segments this audio response is composed of. #[prost(message, repeated, tag="1")] pub segments: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `MixedAudio`. pub mod mixed_audio { - /// Represents one segment of audio. + /// Represents one segment of audio. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Segment { - /// Output only. Whether the playback of this segment can be interrupted by the end - /// user's speech and the client should then start the next Dialogflow - /// request. + /// Output only. Whether the playback of this segment can be interrupted by the end + /// user's speech and the client should then start the next Dialogflow + /// request. #[prost(bool, tag="3")] pub allow_playback_interruption: bool, - /// Content of the segment. + /// Content of the segment. #[prost(oneof="segment::Content", tags="1, 2")] pub content: ::core::option::Option, } /// Nested message and enum types in `Segment`. pub mod segment { - /// Content of the segment. + /// Content of the segment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Content { - /// Raw audio synthesized from the Dialogflow agent's response using - /// the output config specified in the request. + /// Raw audio synthesized from the Dialogflow agent's response using + /// the output config specified in the request. #[prost(bytes, tag="1")] Audio(::prost::alloc::vec::Vec), - /// Client-specific URI that points to an audio clip accessible to the - /// client. Dialogflow does not impose any validation on it. + /// Client-specific URI that points to an audio clip accessible to the + /// client. Dialogflow does not impose any validation on it. #[prost(string, tag="2")] Uri(::prost::alloc::string::String), } } } - /// Represents the signal that telles the client to transfer the phone call - /// connected to the agent to a third-party endpoint. + /// Represents the signal that telles the client to transfer the phone call + /// connected to the agent to a third-party endpoint. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TelephonyTransferCall { - /// Endpoint to transfer the call to. + /// Endpoint to transfer the call to. #[prost(oneof="telephony_transfer_call::Endpoint", tags="1")] pub endpoint: ::core::option::Option, } /// Nested message and enum types in `TelephonyTransferCall`. pub mod telephony_transfer_call { - /// Endpoint to transfer the call to. + /// Endpoint to transfer the call to. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Endpoint { - /// Transfer the call to a phone number - /// in [E.164 format](). + /// Transfer the call to a phone number + /// in [E.164 format](). #[prost(string, tag="1")] PhoneNumber(::prost::alloc::string::String), } } - /// Required. The rich response message. + /// Required. The rich response message. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Message { - /// Returns a text response. + /// Returns a text response. #[prost(message, tag="1")] Text(Text), - /// Returns a response containing a custom, platform-specific payload. + /// Returns a response containing a custom, platform-specific payload. #[prost(message, tag="2")] Payload(::prost_types::Struct), - /// Indicates that the conversation succeeded. + /// Indicates that the conversation succeeded. #[prost(message, tag="9")] ConversationSuccess(ConversationSuccess), - /// A text or ssml response that is preferentially used for TTS output audio - /// synthesis, as described in the comment on the ResponseMessage message. + /// A text or ssml response that is preferentially used for TTS output audio + /// synthesis, as described in the comment on the ResponseMessage message. #[prost(message, tag="8")] OutputAudioText(OutputAudioText), - /// Hands off conversation to a human agent. + /// Hands off conversation to a human agent. #[prost(message, tag="10")] LiveAgentHandoff(LiveAgentHandoff), - /// Output only. A signal that indicates the interaction with the Dialogflow agent has - /// ended. - /// This message is generated by Dialogflow only when the conversation - /// reaches `END_SESSION` page. It is not supposed to be defined by the user. + /// Output only. A signal that indicates the interaction with the Dialogflow agent has + /// ended. + /// This message is generated by Dialogflow only when the conversation + /// reaches `END_SESSION` page. It is not supposed to be defined by the user. /// - /// It's guaranteed that there is at most one such message in each response. + /// It's guaranteed that there is at most one such message in each response. #[prost(message, tag="11")] EndInteraction(EndInteraction), - /// Signal that the client should play an audio clip hosted at a - /// client-specific URI. Dialogflow uses this to construct - /// \[mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio\]. However, Dialogflow itself - /// does not try to read or process the URI in any way. + /// Signal that the client should play an audio clip hosted at a + /// client-specific URI. Dialogflow uses this to construct + /// \[mixed_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.mixed_audio\]. However, Dialogflow itself + /// does not try to read or process the URI in any way. #[prost(message, tag="12")] PlayAudio(PlayAudio), - /// Output only. An audio response message composed of both the synthesized Dialogflow - /// agent responses and responses defined via - /// \[play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio\]. - /// This message is generated by Dialogflow only and not supposed to be - /// defined by the user. + /// Output only. An audio response message composed of both the synthesized Dialogflow + /// agent responses and responses defined via + /// \[play_audio][google.cloud.dialogflow.cx.v3.ResponseMessage.play_audio\]. + /// This message is generated by Dialogflow only and not supposed to be + /// defined by the user. #[prost(message, tag="13")] MixedAudio(MixedAudio), - /// A signal that the client should transfer the phone call connected to - /// this agent to a third-party endpoint. + /// A signal that the client should transfer the phone call connected to + /// this agent to a third-party endpoint. #[prost(message, tag="18")] TelephonyTransferCall(TelephonyTransferCall), } } -/// A fulfillment can do one or more of the following actions at the same time: +/// A fulfillment can do one or more of the following actions at the same time: /// /// * Generate rich message responses. /// * Set parameter values. /// * Call the webhook. /// -/// Fulfillments can be called at various stages in the \[Page][google.cloud.dialogflow.cx.v3.Page\] or -/// \[Form][google.cloud.dialogflow.cx.v3.Form\] lifecycle. For example, when a \[DetectIntentRequest][google.cloud.dialogflow.cx.v3.DetectIntentRequest\] drives a -/// session to enter a new page, the page's entry fulfillment can add a static -/// response to the \[QueryResult][google.cloud.dialogflow.cx.v3.QueryResult\] in the returning \[DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse\], -/// call the webhook (for example, to load user data from a database), or both. +/// Fulfillments can be called at various stages in the \[Page][google.cloud.dialogflow.cx.v3.Page\] or +/// \[Form][google.cloud.dialogflow.cx.v3.Form\] lifecycle. For example, when a \[DetectIntentRequest][google.cloud.dialogflow.cx.v3.DetectIntentRequest\] drives a +/// session to enter a new page, the page's entry fulfillment can add a static +/// response to the \[QueryResult][google.cloud.dialogflow.cx.v3.QueryResult\] in the returning \[DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse\], +/// call the webhook (for example, to load user data from a database), or both. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Fulfillment { - /// The list of rich message responses to present to the user. + /// The list of rich message responses to present to the user. #[prost(message, repeated, tag="1")] pub messages: ::prost::alloc::vec::Vec, - /// The webhook to call. - /// Format: `projects//locations//agents//webhooks/`. + /// The webhook to call. + /// Format: `projects//locations//agents//webhooks/`. #[prost(string, tag="2")] pub webhook: ::prost::alloc::string::String, - /// Whether Dialogflow should return currently queued fulfillment response - /// messages in streaming APIs. If a webhook is specified, it happens before - /// Dialogflow invokes webhook. - /// Warning: - /// 1) This flag only affects streaming API. Responses are still queued - /// and returned once in non-streaming API. - /// 2) The flag can be enabled in any fulfillment but only the first 3 partial - /// responses will be returned. You may only want to apply it to fulfillments - /// that have slow webhooks. + /// Whether Dialogflow should return currently queued fulfillment response + /// messages in streaming APIs. If a webhook is specified, it happens before + /// Dialogflow invokes webhook. + /// Warning: + /// 1) This flag only affects streaming API. Responses are still queued + /// and returned once in non-streaming API. + /// 2) The flag can be enabled in any fulfillment but only the first 3 partial + /// responses will be returned. You may only want to apply it to fulfillments + /// that have slow webhooks. #[prost(bool, tag="8")] pub return_partial_responses: bool, - /// The value of this field will be populated in the \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] - /// `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is - /// called. - /// The tag is typically used by the webhook service to identify which - /// fulfillment is being called, but it could be used for other purposes. - /// This field is required if `webhook` is specified. + /// The value of this field will be populated in the \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] + /// `fulfillmentInfo.tag` field by Dialogflow when the associated webhook is + /// called. + /// The tag is typically used by the webhook service to identify which + /// fulfillment is being called, but it could be used for other purposes. + /// This field is required if `webhook` is specified. #[prost(string, tag="3")] pub tag: ::prost::alloc::string::String, - /// Set parameter values before executing the webhook. + /// Set parameter values before executing the webhook. #[prost(message, repeated, tag="4")] pub set_parameter_actions: ::prost::alloc::vec::Vec, - /// Conditional cases for this fulfillment. + /// Conditional cases for this fulfillment. #[prost(message, repeated, tag="5")] pub conditional_cases: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Fulfillment`. pub mod fulfillment { - /// Setting a parameter value. + /// Setting a parameter value. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SetParameterAction { - /// Display name of the parameter. + /// Display name of the parameter. #[prost(string, tag="1")] pub parameter: ::prost::alloc::string::String, - /// The new value of the parameter. A null value clears the parameter. + /// The new value of the parameter. A null value clears the parameter. #[prost(message, optional, tag="2")] pub value: ::core::option::Option<::prost_types::Value>, } - /// A list of cascading if-else conditions. Cases are mutually exclusive. - /// The first one with a matching condition is selected, all the rest ignored. + /// A list of cascading if-else conditions. Cases are mutually exclusive. + /// The first one with a matching condition is selected, all the rest ignored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConditionalCases { - /// A list of cascading if-else conditions. + /// A list of cascading if-else conditions. #[prost(message, repeated, tag="1")] pub cases: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `ConditionalCases`. pub mod conditional_cases { - /// Each case has a Boolean condition. When it is evaluated to be True, the - /// corresponding messages will be selected and evaluated recursively. + /// Each case has a Boolean condition. When it is evaluated to be True, the + /// corresponding messages will be selected and evaluated recursively. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Case { - /// The condition to activate and select this case. Empty means the - /// condition is always true. The condition is evaluated against [form - /// parameters]\[Form.parameters\] or [session - /// parameters]\[SessionInfo.parameters\]. + /// The condition to activate and select this case. Empty means the + /// condition is always true. The condition is evaluated against [form + /// parameters]\[Form.parameters\] or [session + /// parameters]\[SessionInfo.parameters\]. /// - /// See the [conditions - /// reference](). + /// See the [conditions + /// reference](). #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// A list of case content. + /// A list of case content. #[prost(message, repeated, tag="2")] pub case_content: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Case`. pub mod case { - /// The list of messages or conditional cases to activate for this case. + /// The list of messages or conditional cases to activate for this case. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CaseContent { - /// Either a message is returned or additional cases to be evaluated. + /// Either a message is returned or additional cases to be evaluated. #[prost(oneof="case_content::CasesOrMessage", tags="1, 2")] pub cases_or_message: ::core::option::Option, } /// Nested message and enum types in `CaseContent`. pub mod case_content { - /// Either a message is returned or additional cases to be evaluated. + /// Either a message is returned or additional cases to be evaluated. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CasesOrMessage { - /// Returned message. + /// Returned message. #[prost(message, tag="1")] Message(super::super::super::super::ResponseMessage), - /// Additional cases to be evaluated. + /// Additional cases to be evaluated. #[prost(message, tag="2")] AdditionalCases(super::super::super::ConditionalCases), } @@ -373,455 +373,455 @@ pub mod fulfillment { } } } -/// A Dialogflow CX conversation (session) can be described and visualized as a -/// state machine. The states of a CX session are represented by pages. +/// A Dialogflow CX conversation (session) can be described and visualized as a +/// state machine. The states of a CX session are represented by pages. /// -/// For each flow, you define many pages, where your combined pages can handle a -/// complete conversation on the topics the flow is designed for. At any given -/// moment, exactly one page is the current page, the current page is considered -/// active, and the flow associated with that page is considered active. Every -/// flow has a special start page. When a flow initially becomes active, the -/// start page page becomes the current page. For each conversational turn, the -/// current page will either stay the same or transition to another page. +/// For each flow, you define many pages, where your combined pages can handle a +/// complete conversation on the topics the flow is designed for. At any given +/// moment, exactly one page is the current page, the current page is considered +/// active, and the flow associated with that page is considered active. Every +/// flow has a special start page. When a flow initially becomes active, the +/// start page page becomes the current page. For each conversational turn, the +/// current page will either stay the same or transition to another page. /// -/// You configure each page to collect information from the end-user that is -/// relevant for the conversational state represented by the page. +/// You configure each page to collect information from the end-user that is +/// relevant for the conversational state represented by the page. /// -/// For more information, see the -/// [Page guide](). +/// For more information, see the +/// [Page guide](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct Page { - /// The unique identifier of the page. - /// Required for the \[Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage\] method. \[Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage\] - /// populates the name automatically. - /// Format: `projects//locations//agents//flows//pages/`. + /// The unique identifier of the page. + /// Required for the \[Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage\] method. \[Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage\] + /// populates the name automatically. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the page, unique within the flow. + /// Required. The human-readable name of the page, unique within the flow. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The fulfillment to call when the session is entering the page. + /// The fulfillment to call when the session is entering the page. #[prost(message, optional, tag="7")] pub entry_fulfillment: ::core::option::Option, - /// The form associated with the page, used for collecting parameters - /// relevant to the page. + /// The form associated with the page, used for collecting parameters + /// relevant to the page. #[prost(message, optional, tag="4")] pub form: ::core::option::Option

, - /// Ordered list of \[`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] associated - /// with the page. Transition route groups must be unique within a page. + /// Ordered list of \[`TransitionRouteGroups`][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] associated + /// with the page. Transition route groups must be unique within a page. /// - /// * If multiple transition routes within a page scope refer to the same + /// * If multiple transition routes within a page scope refer to the same /// intent, then the precedence order is: page's transition route -> page's /// transition route group -> flow's transition routes. /// - /// * If multiple transition route groups within a page contain the same + /// * If multiple transition route groups within a page contain the same /// intent, then the first group in the ordered list takes precedence. /// - /// Format:`projects//locations//agents//flows//transitionRouteGroups/`. + /// Format:`projects//locations//agents//flows//transitionRouteGroups/`. #[prost(string, repeated, tag="11")] pub transition_route_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// A list of transitions for the transition rules of this page. - /// They route the conversation to another page in the same flow, or another - /// flow. + /// A list of transitions for the transition rules of this page. + /// They route the conversation to another page in the same flow, or another + /// flow. /// - /// When we are in a certain page, the TransitionRoutes are evalauted in the - /// following order: + /// When we are in a certain page, the TransitionRoutes are evalauted in the + /// following order: /// - /// * TransitionRoutes defined in the page with intent specified. - /// * TransitionRoutes defined in the + /// * TransitionRoutes defined in the page with intent specified. + /// * TransitionRoutes defined in the /// [transition route groups]\[google.cloud.dialogflow.cx.v3.Page.transition_route_groups\] with intent /// specified. - /// * TransitionRoutes defined in flow with intent specified. - /// * TransitionRoutes defined in the + /// * TransitionRoutes defined in flow with intent specified. + /// * TransitionRoutes defined in the /// [transition route groups]\[google.cloud.dialogflow.cx.v3.Flow.transition_route_groups\] with intent /// specified. - /// * TransitionRoutes defined in the page with only condition specified. - /// * TransitionRoutes defined in the + /// * TransitionRoutes defined in the page with only condition specified. + /// * TransitionRoutes defined in the /// [transition route groups]\[google.cloud.dialogflow.cx.v3.Page.transition_route_groups\] with only /// condition specified. #[prost(message, repeated, tag="9")] pub transition_routes: ::prost::alloc::vec::Vec, - /// Handlers associated with the page to handle events such as webhook errors, - /// no match or no input. + /// Handlers associated with the page to handle events such as webhook errors, + /// no match or no input. #[prost(message, repeated, tag="10")] pub event_handlers: ::prost::alloc::vec::Vec, } -/// A form is a data model that groups related parameters that can be collected -/// from the user. The process in which the agent prompts the user and collects -/// parameter values from the user is called form filling. A form can be added to -/// a \[page][google.cloud.dialogflow.cx.v3.Page\]. When form filling is done, the filled parameters will be -/// written to the \[session][google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. +/// A form is a data model that groups related parameters that can be collected +/// from the user. The process in which the agent prompts the user and collects +/// parameter values from the user is called form filling. A form can be added to +/// a \[page][google.cloud.dialogflow.cx.v3.Page\]. When form filling is done, the filled parameters will be +/// written to the \[session][google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Form { - /// Parameters to collect from the user. + /// Parameters to collect from the user. #[prost(message, repeated, tag="1")] pub parameters: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Form`. pub mod form { - /// Represents a form parameter. + /// Represents a form parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Required. The human-readable name of the parameter, unique within the - /// form. + /// Required. The human-readable name of the parameter, unique within the + /// form. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Indicates whether the parameter is required. Optional parameters will not - /// trigger prompts; however, they are filled if the user specifies them. - /// Required parameters must be filled before form filling concludes. + /// Indicates whether the parameter is required. Optional parameters will not + /// trigger prompts; however, they are filled if the user specifies them. + /// Required parameters must be filled before form filling concludes. #[prost(bool, tag="2")] pub required: bool, - /// Required. The entity type of the parameter. - /// Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, - /// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - /// `projects//locations//agents//entityTypes/` for developer entity types. + /// Required. The entity type of the parameter. + /// Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, + /// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + /// `projects//locations//agents//entityTypes/` for developer entity types. #[prost(string, tag="3")] pub entity_type: ::prost::alloc::string::String, - /// Indicates whether the parameter represents a list of values. + /// Indicates whether the parameter represents a list of values. #[prost(bool, tag="4")] pub is_list: bool, - /// Required. Defines fill behavior for the parameter. + /// Required. Defines fill behavior for the parameter. #[prost(message, optional, tag="7")] pub fill_behavior: ::core::option::Option, - /// The default value of an optional parameter. If the parameter is required, - /// the default value will be ignored. + /// The default value of an optional parameter. If the parameter is required, + /// the default value will be ignored. #[prost(message, optional, tag="9")] pub default_value: ::core::option::Option<::prost_types::Value>, - /// Indicates whether the parameter content should be redacted in log. If - /// redaction is enabled, the parameter content will be replaced by parameter - /// name during logging. - /// Note: the parameter content is subject to redaction if either parameter - /// level redaction or [entity type level redaction]\[google.cloud.dialogflow.cx.v3.EntityType.redact\] is - /// enabled. + /// Indicates whether the parameter content should be redacted in log. If + /// redaction is enabled, the parameter content will be replaced by parameter + /// name during logging. + /// Note: the parameter content is subject to redaction if either parameter + /// level redaction or [entity type level redaction]\[google.cloud.dialogflow.cx.v3.EntityType.redact\] is + /// enabled. #[prost(bool, tag="11")] pub redact: bool, } /// Nested message and enum types in `Parameter`. pub mod parameter { - /// Configuration for how the filling of a parameter should be handled. + /// Configuration for how the filling of a parameter should be handled. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FillBehavior { - /// Required. The fulfillment to provide the initial prompt that the agent - /// can present to the user in order to fill the parameter. + /// Required. The fulfillment to provide the initial prompt that the agent + /// can present to the user in order to fill the parameter. #[prost(message, optional, tag="3")] pub initial_prompt_fulfillment: ::core::option::Option, - /// The handlers for parameter-level events, used to provide reprompt for - /// the parameter or transition to a different page/flow. The supported - /// events are: - /// * `sys.no-match-`, where N can be from 1 to 6 - /// * `sys.no-match-default` - /// * `sys.no-input-`, where N can be from 1 to 6 - /// * `sys.no-input-default` - /// * `sys.invalid-parameter` + /// The handlers for parameter-level events, used to provide reprompt for + /// the parameter or transition to a different page/flow. The supported + /// events are: + /// * `sys.no-match-`, where N can be from 1 to 6 + /// * `sys.no-match-default` + /// * `sys.no-input-`, where N can be from 1 to 6 + /// * `sys.no-input-default` + /// * `sys.invalid-parameter` /// - /// `initial_prompt_fulfillment` provides the first prompt for the - /// parameter. + /// `initial_prompt_fulfillment` provides the first prompt for the + /// parameter. /// - /// If the user's response does not fill the parameter, a - /// no-match/no-input event will be triggered, and the fulfillment - /// associated with the `sys.no-match-1`/`sys.no-input-1` handler (if - /// defined) will be called to provide a prompt. The - /// `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to - /// the next no-match/no-input event, and so on. + /// If the user's response does not fill the parameter, a + /// no-match/no-input event will be triggered, and the fulfillment + /// associated with the `sys.no-match-1`/`sys.no-input-1` handler (if + /// defined) will be called to provide a prompt. The + /// `sys.no-match-2`/`sys.no-input-2` handler (if defined) will respond to + /// the next no-match/no-input event, and so on. /// - /// A `sys.no-match-default` or `sys.no-input-default` handler will be used - /// to handle all following no-match/no-input events after all numbered - /// no-match/no-input handlers for the parameter are consumed. + /// A `sys.no-match-default` or `sys.no-input-default` handler will be used + /// to handle all following no-match/no-input events after all numbered + /// no-match/no-input handlers for the parameter are consumed. /// - /// A `sys.invalid-parameter` handler can be defined to handle the case - /// where the parameter values have been `invalidated` by webhook. For - /// example, if the user's response fill the parameter, however the - /// parameter was invalidated by webhook, the fulfillment associated with - /// the `sys.invalid-parameter` handler (if defined) will be called to - /// provide a prompt. + /// A `sys.invalid-parameter` handler can be defined to handle the case + /// where the parameter values have been `invalidated` by webhook. For + /// example, if the user's response fill the parameter, however the + /// parameter was invalidated by webhook, the fulfillment associated with + /// the `sys.invalid-parameter` handler (if defined) will be called to + /// provide a prompt. /// - /// If the event handler for the corresponding event can't be found on the - /// parameter, `initial_prompt_fulfillment` will be re-prompted. + /// If the event handler for the corresponding event can't be found on the + /// parameter, `initial_prompt_fulfillment` will be re-prompted. #[prost(message, repeated, tag="5")] pub reprompt_event_handlers: ::prost::alloc::vec::Vec, } } } -/// An event handler specifies an \[event][google.cloud.dialogflow.cx.v3.EventHandler.event\] that can be handled -/// during a session. When the specified event happens, the following actions are -/// taken in order: +/// An event handler specifies an \[event][google.cloud.dialogflow.cx.v3.EventHandler.event\] that can be handled +/// during a session. When the specified event happens, the following actions are +/// taken in order: /// -/// * If there is a -/// \[`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.EventHandler.trigger_fulfillment\] associated with -/// the event, it will be called. -/// * If there is a \[`target_page`][google.cloud.dialogflow.cx.v3.EventHandler.target_page\] associated -/// with the event, the session will transition into the specified page. -/// * If there is a \[`target_flow`][google.cloud.dialogflow.cx.v3.EventHandler.target_flow\] associated -/// with the event, the session will transition into the specified flow. +/// * If there is a +/// \[`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.EventHandler.trigger_fulfillment\] associated with +/// the event, it will be called. +/// * If there is a \[`target_page`][google.cloud.dialogflow.cx.v3.EventHandler.target_page\] associated +/// with the event, the session will transition into the specified page. +/// * If there is a \[`target_flow`][google.cloud.dialogflow.cx.v3.EventHandler.target_flow\] associated +/// with the event, the session will transition into the specified flow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventHandler { - /// Output only. The unique identifier of this event handler. + /// Output only. The unique identifier of this event handler. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// Required. The name of the event to handle. + /// Required. The name of the event to handle. #[prost(string, tag="4")] pub event: ::prost::alloc::string::String, - /// The fulfillment to call when the event occurs. - /// Handling webhook errors with a fulfillment enabled with webhook could - /// cause infinite loop. It is invalid to specify such fulfillment for a - /// handler handling webhooks. + /// The fulfillment to call when the event occurs. + /// Handling webhook errors with a fulfillment enabled with webhook could + /// cause infinite loop. It is invalid to specify such fulfillment for a + /// handler handling webhooks. #[prost(message, optional, tag="5")] pub trigger_fulfillment: ::core::option::Option, - /// The target to transition to, either a page in the same host flow (the flow - /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. + /// The target to transition to, either a page in the same host flow (the flow + /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. #[prost(oneof="event_handler::Target", tags="2, 3")] pub target: ::core::option::Option, } /// Nested message and enum types in `EventHandler`. pub mod event_handler { - /// The target to transition to, either a page in the same host flow (the flow - /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. + /// The target to transition to, either a page in the same host flow (the flow + /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// The target page to transition to. - /// Format: `projects//locations//agents//flows//pages/`. + /// The target page to transition to. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="2")] TargetPage(::prost::alloc::string::String), - /// The target flow to transition to. - /// Format: `projects//locations//agents//flows/`. + /// The target flow to transition to. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="3")] TargetFlow(::prost::alloc::string::String), } } -/// A transition route specifies a \[intent][google.cloud.dialogflow.cx.v3.Intent\] that can be matched and/or a -/// data condition that can be evaluated during a session. When a specified -/// transition is matched, the following actions are taken in order: +/// A transition route specifies a \[intent][google.cloud.dialogflow.cx.v3.Intent\] that can be matched and/or a +/// data condition that can be evaluated during a session. When a specified +/// transition is matched, the following actions are taken in order: /// -/// * If there is a -/// \[`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.TransitionRoute.trigger_fulfillment\] associated with -/// the transition, it will be called. -/// * If there is a \[`target_page`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_page\] associated -/// with the transition, the session will transition into the specified page. -/// * If there is a \[`target_flow`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_flow\] associated -/// with the transition, the session will transition into the specified flow. +/// * If there is a +/// \[`trigger_fulfillment`][google.cloud.dialogflow.cx.v3.TransitionRoute.trigger_fulfillment\] associated with +/// the transition, it will be called. +/// * If there is a \[`target_page`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_page\] associated +/// with the transition, the session will transition into the specified page. +/// * If there is a \[`target_flow`][google.cloud.dialogflow.cx.v3.TransitionRoute.target_flow\] associated +/// with the transition, the session will transition into the specified flow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransitionRoute { - /// Output only. The unique identifier of this transition route. + /// Output only. The unique identifier of this transition route. #[prost(string, tag="6")] pub name: ::prost::alloc::string::String, - /// The unique identifier of an \[Intent][google.cloud.dialogflow.cx.v3.Intent\]. - /// Format: `projects//locations//agents//intents/`. - /// Indicates that the transition can only happen when the given intent is - /// matched. - /// At least one of `intent` or `condition` must be specified. When both - /// `intent` and `condition` are specified, the transition can only happen - /// when both are fulfilled. + /// The unique identifier of an \[Intent][google.cloud.dialogflow.cx.v3.Intent\]. + /// Format: `projects//locations//agents//intents/`. + /// Indicates that the transition can only happen when the given intent is + /// matched. + /// At least one of `intent` or `condition` must be specified. When both + /// `intent` and `condition` are specified, the transition can only happen + /// when both are fulfilled. #[prost(string, tag="1")] pub intent: ::prost::alloc::string::String, - /// The condition to evaluate against [form parameters]\[google.cloud.dialogflow.cx.v3.Form.parameters\] or - /// [session parameters]\[google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. + /// The condition to evaluate against [form parameters]\[google.cloud.dialogflow.cx.v3.Form.parameters\] or + /// [session parameters]\[google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. /// - /// See the [conditions - /// reference](). - /// At least one of `intent` or `condition` must be specified. When both - /// `intent` and `condition` are specified, the transition can only happen - /// when both are fulfilled. + /// See the [conditions + /// reference](). + /// At least one of `intent` or `condition` must be specified. When both + /// `intent` and `condition` are specified, the transition can only happen + /// when both are fulfilled. #[prost(string, tag="2")] pub condition: ::prost::alloc::string::String, - /// The fulfillment to call when the condition is satisfied. At least one of - /// `trigger_fulfillment` and `target` must be specified. When both are - /// defined, `trigger_fulfillment` is executed first. + /// The fulfillment to call when the condition is satisfied. At least one of + /// `trigger_fulfillment` and `target` must be specified. When both are + /// defined, `trigger_fulfillment` is executed first. #[prost(message, optional, tag="3")] pub trigger_fulfillment: ::core::option::Option, - /// The target to transition to, either a page in the same host flow (the flow - /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. + /// The target to transition to, either a page in the same host flow (the flow + /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. #[prost(oneof="transition_route::Target", tags="4, 5")] pub target: ::core::option::Option, } /// Nested message and enum types in `TransitionRoute`. pub mod transition_route { - /// The target to transition to, either a page in the same host flow (the flow - /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. + /// The target to transition to, either a page in the same host flow (the flow + /// that owns this \[TransitionRoute][google.cloud.dialogflow.cx.v3.TransitionRoute\]), or another flow in the same agent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Target { - /// The target page to transition to. - /// Format: `projects//locations//agents//flows//pages/`. + /// The target page to transition to. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="4")] TargetPage(::prost::alloc::string::String), - /// The target flow to transition to. - /// Format: `projects//locations//agents//flows/`. + /// The target flow to transition to. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="5")] TargetFlow(::prost::alloc::string::String), } } -/// The request message for \[Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages\]. +/// The request message for \[Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPagesRequest { - /// Required. The flow to list all pages for. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to list all pages for. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The language to list pages for. The following fields are language - /// dependent: + /// The language to list pages for. The following fields are language + /// dependent: /// - /// * `Page.entry_fulfillment.messages` - /// * `Page.entry_fulfillment.conditional_cases` - /// * `Page.event_handlers.trigger_fulfillment.messages` - /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` - /// * - /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - /// * - /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` - /// * `Page.transition_routes.trigger_fulfillment.messages` - /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Page.entry_fulfillment.messages` + /// * `Page.entry_fulfillment.conditional_cases` + /// * `Page.event_handlers.trigger_fulfillment.messages` + /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + /// * + /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` + /// * + /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + /// * `Page.transition_routes.trigger_fulfillment.messages` + /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages\]. +/// The response message for \[Pages.ListPages][google.cloud.dialogflow.cx.v3.Pages.ListPages\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListPagesResponse { - /// The list of pages. There will be a maximum number of items returned based - /// on the page_size field in the request. + /// The list of pages. There will be a maximum number of items returned based + /// on the page_size field in the request. #[prost(message, repeated, tag="1")] pub pages: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage\]. +/// The request message for \[Pages.GetPage][google.cloud.dialogflow.cx.v3.Pages.GetPage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetPageRequest { - /// Required. The name of the page. - /// Format: `projects//locations//agents//flows//pages/`. + /// Required. The name of the page. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The language to retrieve the page for. The following fields are language - /// dependent: + /// The language to retrieve the page for. The following fields are language + /// dependent: /// - /// * `Page.entry_fulfillment.messages` - /// * `Page.entry_fulfillment.conditional_cases` - /// * `Page.event_handlers.trigger_fulfillment.messages` - /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` - /// * - /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - /// * - /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` - /// * `Page.transition_routes.trigger_fulfillment.messages` - /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Page.entry_fulfillment.messages` + /// * `Page.entry_fulfillment.conditional_cases` + /// * `Page.event_handlers.trigger_fulfillment.messages` + /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + /// * + /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` + /// * + /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + /// * `Page.transition_routes.trigger_fulfillment.messages` + /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage\]. +/// The request message for \[Pages.CreatePage][google.cloud.dialogflow.cx.v3.Pages.CreatePage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreatePageRequest { - /// Required. The flow to create a page for. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to create a page for. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The page to create. + /// Required. The page to create. #[prost(message, optional, tag="2")] pub page: ::core::option::Option, - /// The language of the following fields in `page`: + /// The language of the following fields in `page`: /// - /// * `Page.entry_fulfillment.messages` - /// * `Page.entry_fulfillment.conditional_cases` - /// * `Page.event_handlers.trigger_fulfillment.messages` - /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` - /// * - /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - /// * - /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` - /// * `Page.transition_routes.trigger_fulfillment.messages` - /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Page.entry_fulfillment.messages` + /// * `Page.entry_fulfillment.conditional_cases` + /// * `Page.event_handlers.trigger_fulfillment.messages` + /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + /// * + /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` + /// * + /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + /// * `Page.transition_routes.trigger_fulfillment.messages` + /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage\]. +/// The request message for \[Pages.UpdatePage][google.cloud.dialogflow.cx.v3.Pages.UpdatePage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdatePageRequest { - /// Required. The page to update. + /// Required. The page to update. #[prost(message, optional, tag="1")] pub page: ::core::option::Option, - /// The language of the following fields in `page`: + /// The language of the following fields in `page`: /// - /// * `Page.entry_fulfillment.messages` - /// * `Page.entry_fulfillment.conditional_cases` - /// * `Page.event_handlers.trigger_fulfillment.messages` - /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` - /// * - /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` - /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` - /// * - /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` - /// * `Page.transition_routes.trigger_fulfillment.messages` - /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Page.entry_fulfillment.messages` + /// * `Page.entry_fulfillment.conditional_cases` + /// * `Page.event_handlers.trigger_fulfillment.messages` + /// * `Page.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.messages` + /// * + /// `Page.form.parameters.fill_behavior.initial_prompt_fulfillment.conditional_cases` + /// * `Page.form.parameters.fill_behavior.reprompt_event_handlers.messages` + /// * + /// `Page.form.parameters.fill_behavior.reprompt_event_handlers.conditional_cases` + /// * `Page.transition_routes.trigger_fulfillment.messages` + /// * `Page.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Pages.DeletePage][google.cloud.dialogflow.cx.v3.Pages.DeletePage\]. +/// The request message for \[Pages.DeletePage][google.cloud.dialogflow.cx.v3.Pages.DeletePage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeletePageRequest { - /// Required. The name of the page to delete. - /// Format: `projects//locations//agents//Flows//pages/`. + /// Required. The name of the page to delete. + /// Format: `projects//locations//agents//Flows//pages/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field has no effect for pages with no incoming transitions. - /// For pages with incoming transitions: + /// This field has no effect for pages with no incoming transitions. + /// For pages with incoming transitions: /// - /// * If `force` is set to false, an error will be returned with message + /// * If `force` is set to false, an error will be returned with message /// indicating the incoming transitions. - /// * If `force` is set to true, Dialogflow will remove the page, as well as + /// * If `force` is set to true, Dialogflow will remove the page, as well as /// any transitions to the page (i.e. [Target /// page]\[EventHandler.target_page\] in event handlers or [Target /// page]\[TransitionRoute.target_page\] in transition routes that point to @@ -1013,59 +1013,59 @@ pub mod pages_client { } } } -/// Agent/flow validation message. +/// Agent/flow validation message. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidationMessage { - /// The type of the resources where the message is found. + /// The type of the resources where the message is found. #[prost(enumeration="validation_message::ResourceType", tag="1")] pub resource_type: i32, - /// The names of the resources where the message is found. + /// The names of the resources where the message is found. #[deprecated] #[prost(string, repeated, tag="2")] pub resources: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The resource names of the resources where the message is found. + /// The resource names of the resources where the message is found. #[prost(message, repeated, tag="6")] pub resource_names: ::prost::alloc::vec::Vec, - /// Indicates the severity of the message. + /// Indicates the severity of the message. #[prost(enumeration="validation_message::Severity", tag="3")] pub severity: i32, - /// The message detail. + /// The message detail. #[prost(string, tag="4")] pub detail: ::prost::alloc::string::String, } /// Nested message and enum types in `ValidationMessage`. pub mod validation_message { - /// Resource types. + /// Resource types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResourceType { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// Agent. + /// Agent. Agent = 1, - /// Intent. + /// Intent. Intent = 2, - /// Intent training phrase. + /// Intent training phrase. IntentTrainingPhrase = 8, - /// Intent parameter. + /// Intent parameter. IntentParameter = 9, - /// Multiple intents. + /// Multiple intents. Intents = 10, - /// Multiple training phrases. + /// Multiple training phrases. IntentTrainingPhrases = 11, - /// Entity type. + /// Entity type. EntityType = 3, - /// Multiple entity types. + /// Multiple entity types. EntityTypes = 12, - /// Webhook. + /// Webhook. Webhook = 4, - /// Flow. + /// Flow. Flow = 5, - /// Page. + /// Page. Page = 6, - /// Multiple pages. + /// Multiple pages. Pages = 13, - /// Transition route group. + /// Transition route group. TransitionRouteGroup = 7, } impl ResourceType { @@ -1092,17 +1092,17 @@ pub mod validation_message { } } } - /// Severity level. + /// Severity level. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Severity { - /// Unspecified. + /// Unspecified. Unspecified = 0, - /// The agent doesn't follow Dialogflow best practices. + /// The agent doesn't follow Dialogflow best practices. Info = 1, - /// The agent may not behave as expected. + /// The agent may not behave as expected. Warning = 2, - /// The agent may experience failures. + /// The agent may experience failures. Error = 3, } impl Severity { @@ -1120,45 +1120,45 @@ pub mod validation_message { } } } -/// Resource name and display name. +/// Resource name and display name. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ResourceName { - /// Name. + /// Name. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Display name. + /// Display name. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, } -/// Settings related to NLU. +/// Settings related to NLU. #[derive(Clone, PartialEq, ::prost::Message)] pub struct NluSettings { - /// Indicates the type of NLU model. + /// Indicates the type of NLU model. #[prost(enumeration="nlu_settings::ModelType", tag="1")] pub model_type: i32, - /// To filter out false positive results and still get variety in matched - /// natural language inputs for your agent, you can tune the machine learning - /// classification threshold. If the returned score value is less than the - /// threshold value, then a no-match event will be triggered. The score values - /// range from 0.0 (completely uncertain) to 1.0 (completely certain). If set - /// to 0.0, the default of 0.3 is used. + /// To filter out false positive results and still get variety in matched + /// natural language inputs for your agent, you can tune the machine learning + /// classification threshold. If the returned score value is less than the + /// threshold value, then a no-match event will be triggered. The score values + /// range from 0.0 (completely uncertain) to 1.0 (completely certain). If set + /// to 0.0, the default of 0.3 is used. #[prost(float, tag="3")] pub classification_threshold: f32, - /// Indicates NLU model training mode. + /// Indicates NLU model training mode. #[prost(enumeration="nlu_settings::ModelTrainingMode", tag="4")] pub model_training_mode: i32, } /// Nested message and enum types in `NluSettings`. pub mod nlu_settings { - /// NLU model type. + /// NLU model type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelType { - /// Not specified. `MODEL_TYPE_STANDARD` will be used. + /// Not specified. `MODEL_TYPE_STANDARD` will be used. Unspecified = 0, - /// Use standard NLU model. + /// Use standard NLU model. Standard = 1, - /// Use advanced NLU model. + /// Use advanced NLU model. Advanced = 3, } impl ModelType { @@ -1174,17 +1174,17 @@ pub mod nlu_settings { } } } - /// NLU model training mode. + /// NLU model training mode. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ModelTrainingMode { - /// Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used. + /// Not specified. `MODEL_TRAINING_MODE_AUTOMATIC` will be used. Unspecified = 0, - /// NLU model training is automatically triggered when a flow gets modified. - /// User can also manually trigger model training in this mode. + /// NLU model training is automatically triggered when a flow gets modified. + /// User can also manually trigger model training in this mode. Automatic = 1, - /// User needs to manually trigger NLU model training. Best for large flows - /// whose models take long time to train. + /// User needs to manually trigger NLU model training. Best for large flows + /// whose models take long time to train. Manual = 2, } impl ModelTrainingMode { @@ -1201,121 +1201,121 @@ pub mod nlu_settings { } } } -/// Flows represents the conversation flows when you build your chatbot agent. +/// Flows represents the conversation flows when you build your chatbot agent. /// -/// A flow consists of many pages connected by the transition routes. -/// Conversations always start with the built-in Start Flow (with an all-0 ID). -/// Transition routes can direct the conversation session from the current flow -/// (parent flow) to another flow (sub flow). When the sub flow is finished, -/// Dialogflow will bring the session back to the parent flow, where the sub flow -/// is started. +/// A flow consists of many pages connected by the transition routes. +/// Conversations always start with the built-in Start Flow (with an all-0 ID). +/// Transition routes can direct the conversation session from the current flow +/// (parent flow) to another flow (sub flow). When the sub flow is finished, +/// Dialogflow will bring the session back to the parent flow, where the sub flow +/// is started. /// -/// Usually, when a transition route is followed by a matched intent, the intent -/// will be "consumed". This means the intent won't activate more transition -/// routes. However, when the followed transition route moves the conversation -/// session into a different flow, the matched intent can be carried over and to -/// be consumed in the target flow. +/// Usually, when a transition route is followed by a matched intent, the intent +/// will be "consumed". This means the intent won't activate more transition +/// routes. However, when the followed transition route moves the conversation +/// session into a different flow, the matched intent can be carried over and to +/// be consumed in the target flow. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Flow { - /// The unique identifier of the flow. - /// Format: `projects//locations//agents//flows/`. + /// The unique identifier of the flow. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the flow. + /// Required. The human-readable name of the flow. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The description of the flow. The maximum length is 500 characters. If - /// exceeded, the request is rejected. + /// The description of the flow. The maximum length is 500 characters. If + /// exceeded, the request is rejected. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// A flow's transition routes serve two purposes: + /// A flow's transition routes serve two purposes: /// - /// * They are responsible for matching the user's first utterances in the - /// flow. - /// * They are inherited by every page's [transition - /// routes]\[Page.transition_routes\] and can support use cases such as the user - /// saying "help" or "can I talk to a human?", which can be handled in a common - /// way regardless of the current page. Transition routes defined in the page - /// have higher priority than those defined in the flow. + /// * They are responsible for matching the user's first utterances in the + /// flow. + /// * They are inherited by every page's [transition + /// routes]\[Page.transition_routes\] and can support use cases such as the user + /// saying "help" or "can I talk to a human?", which can be handled in a common + /// way regardless of the current page. Transition routes defined in the page + /// have higher priority than those defined in the flow. /// - /// TransitionRoutes are evalauted in the following order: + /// TransitionRoutes are evalauted in the following order: /// - /// * TransitionRoutes with intent specified. - /// * TransitionRoutes with only condition specified. + /// * TransitionRoutes with intent specified. + /// * TransitionRoutes with only condition specified. /// - /// TransitionRoutes with intent specified are inherited by pages in the flow. + /// TransitionRoutes with intent specified are inherited by pages in the flow. #[prost(message, repeated, tag="4")] pub transition_routes: ::prost::alloc::vec::Vec, - /// A flow's event handlers serve two purposes: + /// A flow's event handlers serve two purposes: /// - /// * They are responsible for handling events (e.g. no match, - /// webhook errors) in the flow. - /// * They are inherited by every page's [event - /// handlers]\[Page.event_handlers\], which can be used to handle common events - /// regardless of the current page. Event handlers defined in the page - /// have higher priority than those defined in the flow. + /// * They are responsible for handling events (e.g. no match, + /// webhook errors) in the flow. + /// * They are inherited by every page's [event + /// handlers]\[Page.event_handlers\], which can be used to handle common events + /// regardless of the current page. Event handlers defined in the page + /// have higher priority than those defined in the flow. /// - /// Unlike \[transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes\], these handlers are - /// evaluated on a first-match basis. The first one that matches the event - /// get executed, with the rest being ignored. + /// Unlike \[transition_routes][google.cloud.dialogflow.cx.v3.Flow.transition_routes\], these handlers are + /// evaluated on a first-match basis. The first one that matches the event + /// get executed, with the rest being ignored. #[prost(message, repeated, tag="10")] pub event_handlers: ::prost::alloc::vec::Vec, - /// A flow's transition route group serve two purposes: + /// A flow's transition route group serve two purposes: /// - /// * They are responsible for matching the user's first utterances in the - /// flow. - /// * They are inherited by every page's [transition - /// route groups]\[Page.transition_route_groups\]. Transition route groups - /// defined in the page have higher priority than those defined in the flow. + /// * They are responsible for matching the user's first utterances in the + /// flow. + /// * They are inherited by every page's [transition + /// route groups]\[Page.transition_route_groups\]. Transition route groups + /// defined in the page have higher priority than those defined in the flow. /// - /// Format:`projects//locations//agents//flows//transitionRouteGroups/`. + /// Format:`projects//locations//agents//flows//transitionRouteGroups/`. #[prost(string, repeated, tag="15")] pub transition_route_groups: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// NLU related settings of the flow. + /// NLU related settings of the flow. #[prost(message, optional, tag="11")] pub nlu_settings: ::core::option::Option, } -/// The request message for \[Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow\]. +/// The request message for \[Flows.CreateFlow][google.cloud.dialogflow.cx.v3.Flows.CreateFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateFlowRequest { - /// Required. The agent to create a flow for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to create a flow for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The flow to create. + /// Required. The flow to create. #[prost(message, optional, tag="2")] pub flow: ::core::option::Option, - /// The language of the following fields in `flow`: + /// The language of the following fields in `flow`: /// - /// * `Flow.event_handlers.trigger_fulfillment.messages` - /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Flow.transition_routes.trigger_fulfillment.messages` - /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Flow.event_handlers.trigger_fulfillment.messages` + /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Flow.transition_routes.trigger_fulfillment.messages` + /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow\]. +/// The request message for \[Flows.DeleteFlow][google.cloud.dialogflow.cx.v3.Flows.DeleteFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteFlowRequest { - /// Required. The name of the flow to delete. - /// Format: `projects//locations//agents//flows/`. + /// Required. The name of the flow to delete. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field has no effect for flows with no incoming transitions. - /// For flows with incoming transitions: + /// This field has no effect for flows with no incoming transitions. + /// For flows with incoming transitions: /// - /// * If `force` is set to false, an error will be returned with message + /// * If `force` is set to false, an error will be returned with message /// indicating the incoming transitions. - /// * If `force` is set to true, Dialogflow will remove the flow, as well as + /// * If `force` is set to true, Dialogflow will remove the flow, as well as /// any transitions to the flow (i.e. [Target /// flow]\[EventHandler.target_flow\] in event handlers or [Target /// flow]\[TransitionRoute.target_flow\] in transition routes that point to @@ -1323,174 +1323,174 @@ pub struct DeleteFlowRequest { #[prost(bool, tag="2")] pub force: bool, } -/// The request message for \[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows\]. +/// The request message for \[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFlowsRequest { - /// Required. The agent containing the flows. - /// Format: `projects//locations//agents/`. + /// Required. The agent containing the flows. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The language to list flows for. The following fields are language - /// dependent: + /// The language to list flows for. The following fields are language + /// dependent: /// - /// * `Flow.event_handlers.trigger_fulfillment.messages` - /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Flow.transition_routes.trigger_fulfillment.messages` - /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Flow.event_handlers.trigger_fulfillment.messages` + /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Flow.transition_routes.trigger_fulfillment.messages` + /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, } -/// The response message for \[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows\]. +/// The response message for \[Flows.ListFlows][google.cloud.dialogflow.cx.v3.Flows.ListFlows\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListFlowsResponse { - /// The list of flows. There will be a maximum number of items returned based - /// on the page_size field in the request. + /// The list of flows. There will be a maximum number of items returned based + /// on the page_size field in the request. #[prost(message, repeated, tag="1")] pub flows: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The response message for \[Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow\]. +/// The response message for \[Flows.GetFlow][google.cloud.dialogflow.cx.v3.Flows.GetFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFlowRequest { - /// Required. The name of the flow to get. - /// Format: `projects//locations//agents//flows/`. + /// Required. The name of the flow to get. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The language to retrieve the flow for. The following fields are language - /// dependent: + /// The language to retrieve the flow for. The following fields are language + /// dependent: /// - /// * `Flow.event_handlers.trigger_fulfillment.messages` - /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Flow.transition_routes.trigger_fulfillment.messages` - /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Flow.event_handlers.trigger_fulfillment.messages` + /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Flow.transition_routes.trigger_fulfillment.messages` + /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow\]. +/// The request message for \[Flows.UpdateFlow][google.cloud.dialogflow.cx.v3.Flows.UpdateFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateFlowRequest { - /// Required. The flow to update. + /// Required. The flow to update. #[prost(message, optional, tag="1")] pub flow: ::core::option::Option, - /// The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The language of the following fields in `flow`: + /// The language of the following fields in `flow`: /// - /// * `Flow.event_handlers.trigger_fulfillment.messages` - /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` - /// * `Flow.transition_routes.trigger_fulfillment.messages` - /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` + /// * `Flow.event_handlers.trigger_fulfillment.messages` + /// * `Flow.event_handlers.trigger_fulfillment.conditional_cases` + /// * `Flow.transition_routes.trigger_fulfillment.messages` + /// * `Flow.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow\]. +/// The request message for \[Flows.TrainFlow][google.cloud.dialogflow.cx.v3.Flows.TrainFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainFlowRequest { - /// Required. The flow to train. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to train. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow\]. +/// The request message for \[Flows.ValidateFlow][google.cloud.dialogflow.cx.v3.Flows.ValidateFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateFlowRequest { - /// Required. The flow to validate. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to validate. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If not specified, the agent's default language is used. + /// If not specified, the agent's default language is used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult\]. +/// The request message for \[Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetFlowValidationResultRequest { - /// Required. The flow name. - /// Format: `projects//locations//agents//flows//validationResult`. + /// Required. The flow name. + /// Format: `projects//locations//agents//flows//validationResult`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If not specified, the agent's default language is used. + /// If not specified, the agent's default language is used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The response message for \[Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult\]. +/// The response message for \[Flows.GetFlowValidationResult][google.cloud.dialogflow.cx.v3.Flows.GetFlowValidationResult\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FlowValidationResult { - /// The unique identifier of the flow validation result. - /// Format: `projects//locations//agents//flows//validationResult`. + /// The unique identifier of the flow validation result. + /// Format: `projects//locations//agents//flows//validationResult`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Contains all validation messages. + /// Contains all validation messages. #[prost(message, repeated, tag="2")] pub validation_messages: ::prost::alloc::vec::Vec, - /// Last time the flow was validated. + /// Last time the flow was validated. #[prost(message, optional, tag="3")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request message for \[Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow\]. +/// The request message for \[Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFlowRequest { - /// Required. The agent to import the flow into. - /// Format: `projects//locations//agents/`. + /// Required. The agent to import the flow into. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Flow import mode. If not specified, `KEEP` is assumed. + /// Flow import mode. If not specified, `KEEP` is assumed. #[prost(enumeration="import_flow_request::ImportOption", tag="4")] pub import_option: i32, - /// Required. The flow to import. + /// Required. The flow to import. #[prost(oneof="import_flow_request::Flow", tags="2, 3")] pub flow: ::core::option::Option, } /// Nested message and enum types in `ImportFlowRequest`. pub mod import_flow_request { - /// Import option. + /// Import option. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ImportOption { - /// Unspecified. Treated as `KEEP`. + /// Unspecified. Treated as `KEEP`. Unspecified = 0, - /// Always respect settings in exported flow content. It may cause a - /// import failure if some settings (e.g. custom NLU) are not supported in - /// the agent to import into. + /// Always respect settings in exported flow content. It may cause a + /// import failure if some settings (e.g. custom NLU) are not supported in + /// the agent to import into. Keep = 1, - /// Fallback to default settings if some settings are not supported in the - /// agent to import into. E.g. Standard NLU will be used if custom NLU is - /// not available. + /// Fallback to default settings if some settings are not supported in the + /// agent to import into. E.g. Standard NLU will be used if custom NLU is + /// not available. Fallback = 2, } impl ImportOption { @@ -1506,75 +1506,75 @@ pub mod import_flow_request { } } } - /// Required. The flow to import. + /// Required. The flow to import. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Flow { - /// The [Google Cloud Storage]() URI - /// to import flow from. The format of this URI must be - /// `gs:///`. + /// The [Google Cloud Storage]() URI + /// to import flow from. The format of this URI must be + /// `gs:///`. /// - /// Dialogflow performs a read operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have read permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a read operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have read permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] FlowUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for flow. + /// Uncompressed raw byte content for flow. #[prost(bytes, tag="3")] FlowContent(::prost::alloc::vec::Vec), } } -/// The response message for \[Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow\]. +/// The response message for \[Flows.ImportFlow][google.cloud.dialogflow.cx.v3.Flows.ImportFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportFlowResponse { - /// The unique identifier of the new flow. - /// Format: `projects//locations//agents//flows/`. + /// The unique identifier of the new flow. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub flow: ::prost::alloc::string::String, } -/// The request message for \[Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow\]. +/// The request message for \[Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFlowRequest { - /// Required. The name of the flow to export. - /// Format: `projects//locations//agents//flows/`. + /// Required. The name of the flow to export. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The [Google Cloud Storage]() URI to - /// export the flow to. The format of this URI must be - /// `gs:///`. - /// If left unspecified, the serialized flow is returned inline. + /// Optional. The [Google Cloud Storage]() URI to + /// export the flow to. The format of this URI must be + /// `gs:///`. + /// If left unspecified, the serialized flow is returned inline. /// - /// Dialogflow performs a write operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have write permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a write operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have write permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] pub flow_uri: ::prost::alloc::string::String, - /// Optional. Whether to export flows referenced by the specified flow. + /// Optional. Whether to export flows referenced by the specified flow. #[prost(bool, tag="4")] pub include_referenced_flows: bool, } -/// The response message for \[Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow\]. +/// The response message for \[Flows.ExportFlow][google.cloud.dialogflow.cx.v3.Flows.ExportFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportFlowResponse { - /// The exported flow. + /// The exported flow. #[prost(oneof="export_flow_response::Flow", tags="1, 2")] pub flow: ::core::option::Option, } /// Nested message and enum types in `ExportFlowResponse`. pub mod export_flow_response { - /// The exported flow. + /// The exported flow. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Flow { - /// The URI to a file containing the exported flow. This field is populated - /// only if `flow_uri` is specified in \[ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest\]. + /// The URI to a file containing the exported flow. This field is populated + /// only if `flow_uri` is specified in \[ExportFlowRequest][google.cloud.dialogflow.cx.v3.ExportFlowRequest\]. #[prost(string, tag="1")] FlowUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for flow. + /// Uncompressed raw byte content for flow. #[prost(bytes, tag="2")] FlowContent(::prost::alloc::vec::Vec), } @@ -1908,194 +1908,194 @@ pub mod flows_client { } } } -/// Settings related to speech recognition. +/// Settings related to speech recognition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpeechToTextSettings { - /// Whether to use speech adaptation for speech recognition. + /// Whether to use speech adaptation for speech recognition. #[prost(bool, tag="1")] pub enable_speech_adaptation: bool, } -/// Agents are best described as Natural Language Understanding (NLU) modules -/// that transform user requests into actionable data. You can include agents -/// in your app, product, or service to determine user intent and respond to the -/// user in a natural way. +/// Agents are best described as Natural Language Understanding (NLU) modules +/// that transform user requests into actionable data. You can include agents +/// in your app, product, or service to determine user intent and respond to the +/// user in a natural way. /// -/// After you create an agent, you can add \[Intents][google.cloud.dialogflow.cx.v3.Intent\], -/// [Entity Types]\[google.cloud.dialogflow.cx.v3.EntityType\], \[Flows][google.cloud.dialogflow.cx.v3.Flow\], \[Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment\], -/// \[Webhooks][google.cloud.dialogflow.cx.v3.Webhook\], and so on to manage the conversation flows.. +/// After you create an agent, you can add \[Intents][google.cloud.dialogflow.cx.v3.Intent\], +/// [Entity Types]\[google.cloud.dialogflow.cx.v3.EntityType\], \[Flows][google.cloud.dialogflow.cx.v3.Flow\], \[Fulfillments][google.cloud.dialogflow.cx.v3.Fulfillment\], +/// \[Webhooks][google.cloud.dialogflow.cx.v3.Webhook\], and so on to manage the conversation flows.. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Agent { - /// The unique identifier of the agent. - /// Required for the \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\] method. \[Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent\] - /// populates the name automatically. - /// Format: `projects//locations//agents/`. + /// The unique identifier of the agent. + /// Required for the \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\] method. \[Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent\] + /// populates the name automatically. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the agent, unique within the location. + /// Required. The human-readable name of the agent, unique within the location. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Immutable. The default language of the agent as a language tag. - /// See [Language - /// Support]() - /// for a list of the currently supported language codes. - /// This field cannot be set by the \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\] method. + /// Required. Immutable. The default language of the agent as a language tag. + /// See [Language + /// Support]() + /// for a list of the currently supported language codes. + /// This field cannot be set by the \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\] method. #[prost(string, tag="3")] pub default_language_code: ::prost::alloc::string::String, - /// The list of all languages supported by the agent (except for the - /// `default_language_code`). + /// The list of all languages supported by the agent (except for the + /// `default_language_code`). #[prost(string, repeated, tag="4")] pub supported_language_codes: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The time zone of the agent from the [time zone - /// database](), e.g., America/New_York, - /// Europe/Paris. + /// Required. The time zone of the agent from the [time zone + /// database](), e.g., America/New_York, + /// Europe/Paris. #[prost(string, tag="5")] pub time_zone: ::prost::alloc::string::String, - /// The description of the agent. The maximum length is 500 characters. If - /// exceeded, the request is rejected. + /// The description of the agent. The maximum length is 500 characters. If + /// exceeded, the request is rejected. #[prost(string, tag="6")] pub description: ::prost::alloc::string::String, - /// The URI of the agent's avatar. Avatars are used throughout the Dialogflow - /// console and in the self-hosted [Web - /// Demo]() - /// integration. + /// The URI of the agent's avatar. Avatars are used throughout the Dialogflow + /// console and in the self-hosted [Web + /// Demo]() + /// integration. #[prost(string, tag="7")] pub avatar_uri: ::prost::alloc::string::String, - /// Speech recognition related settings. + /// Speech recognition related settings. #[prost(message, optional, tag="13")] pub speech_to_text_settings: ::core::option::Option, - /// Immutable. Name of the start flow in this agent. A start flow will be automatically - /// created when the agent is created, and can only be deleted by deleting the - /// agent. - /// Format: `projects//locations//agents//flows/`. + /// Immutable. Name of the start flow in this agent. A start flow will be automatically + /// created when the agent is created, and can only be deleted by deleting the + /// agent. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="16")] pub start_flow: ::prost::alloc::string::String, - /// Name of the \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] reference for the agent. - /// Format: `projects//locations//securitySettings/`. + /// Name of the \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] reference for the agent. + /// Format: `projects//locations//securitySettings/`. #[prost(string, tag="17")] pub security_settings: ::prost::alloc::string::String, - /// Indicates if stackdriver logging is enabled for the agent. - /// Please use \[agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings\] - /// instead. + /// Indicates if stackdriver logging is enabled for the agent. + /// Please use \[agent.advanced_settings][google.cloud.dialogflow.cx.v3.AdvancedSettings.LoggingSettings\] + /// instead. #[deprecated] #[prost(bool, tag="18")] pub enable_stackdriver_logging: bool, - /// Indicates if automatic spell correction is enabled in detect intent - /// requests. + /// Indicates if automatic spell correction is enabled in detect intent + /// requests. #[prost(bool, tag="20")] pub enable_spell_correction: bool, - /// Indicates whether the agent is locked for changes. If the agent is locked, - /// modifications to the agent will be rejected except for \[RestoreAgent][\]. + /// Indicates whether the agent is locked for changes. If the agent is locked, + /// modifications to the agent will be rejected except for \[RestoreAgent][\]. #[prost(bool, tag="27")] pub locked: bool, - /// Hierarchical advanced settings for this agent. The settings exposed at the - /// lower level overrides the settings exposed at the higher level. + /// Hierarchical advanced settings for this agent. The settings exposed at the + /// lower level overrides the settings exposed at the higher level. #[prost(message, optional, tag="22")] pub advanced_settings: ::core::option::Option, } -/// The request message for \[Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents\]. +/// The request message for \[Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAgentsRequest { - /// Required. The location to list all agents for. - /// Format: `projects//locations/`. + /// Required. The location to list all agents for. + /// Format: `projects//locations/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents\]. +/// The response message for \[Agents.ListAgents][google.cloud.dialogflow.cx.v3.Agents.ListAgents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListAgentsResponse { - /// The list of agents. There will be a maximum number of items returned based - /// on the page_size field in the request. + /// The list of agents. There will be a maximum number of items returned based + /// on the page_size field in the request. #[prost(message, repeated, tag="1")] pub agents: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent\]. +/// The request message for \[Agents.GetAgent][google.cloud.dialogflow.cx.v3.Agents.GetAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAgentRequest { - /// Required. The name of the agent. - /// Format: `projects//locations//agents/`. + /// Required. The name of the agent. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent\]. +/// The request message for \[Agents.CreateAgent][google.cloud.dialogflow.cx.v3.Agents.CreateAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateAgentRequest { - /// Required. The location to create a agent for. - /// Format: `projects//locations/`. + /// Required. The location to create a agent for. + /// Format: `projects//locations/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The agent to create. + /// Required. The agent to create. #[prost(message, optional, tag="2")] pub agent: ::core::option::Option, } -/// The request message for \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\]. +/// The request message for \[Agents.UpdateAgent][google.cloud.dialogflow.cx.v3.Agents.UpdateAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateAgentRequest { - /// Required. The agent to update. + /// Required. The agent to update. #[prost(message, optional, tag="1")] pub agent: ::core::option::Option, - /// The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent\]. +/// The request message for \[Agents.DeleteAgent][google.cloud.dialogflow.cx.v3.Agents.DeleteAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteAgentRequest { - /// Required. The name of the agent to delete. - /// Format: `projects//locations//agents/`. + /// Required. The name of the agent to delete. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent\]. +/// The request message for \[Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAgentRequest { - /// Required. The name of the agent to export. - /// Format: `projects//locations//agents/`. + /// Required. The name of the agent to export. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The [Google Cloud Storage]() URI to - /// export the agent to. The format of this URI must be - /// `gs:///`. - /// If left unspecified, the serialized agent is returned inline. + /// Optional. The [Google Cloud Storage]() URI to + /// export the agent to. The format of this URI must be + /// `gs:///`. + /// If left unspecified, the serialized agent is returned inline. /// - /// Dialogflow performs a write operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have write permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a write operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have write permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] pub agent_uri: ::prost::alloc::string::String, - /// Optional. The data format of the exported agent. If not specified, `BLOB` is assumed. + /// Optional. The data format of the exported agent. If not specified, `BLOB` is assumed. #[prost(enumeration="export_agent_request::DataFormat", tag="3")] pub data_format: i32, - /// Optional. Environment name. If not set, draft environment is assumed. - /// Format: `projects//locations//agents//environments/`. + /// Optional. Environment name. If not set, draft environment is assumed. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="5")] pub environment: ::prost::alloc::string::String, } /// Nested message and enum types in `ExportAgentRequest`. pub mod export_agent_request { - /// Data format of the exported agent. + /// Data format of the exported agent. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Unspecified format. + /// Unspecified format. Unspecified = 0, - /// Agent content will be exported as raw bytes. + /// Agent content will be exported as raw bytes. Blob = 1, } impl DataFormat { @@ -2111,55 +2111,55 @@ pub mod export_agent_request { } } } -/// The response message for \[Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent\]. +/// The response message for \[Agents.ExportAgent][google.cloud.dialogflow.cx.v3.Agents.ExportAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportAgentResponse { - /// The exported agent. + /// The exported agent. #[prost(oneof="export_agent_response::Agent", tags="1, 2")] pub agent: ::core::option::Option, } /// Nested message and enum types in `ExportAgentResponse`. pub mod export_agent_response { - /// The exported agent. + /// The exported agent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Agent { - /// The URI to a file containing the exported agent. This field is populated - /// only if `agent_uri` is specified in \[ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest\]. + /// The URI to a file containing the exported agent. This field is populated + /// only if `agent_uri` is specified in \[ExportAgentRequest][google.cloud.dialogflow.cx.v3.ExportAgentRequest\]. #[prost(string, tag="1")] AgentUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for agent. + /// Uncompressed raw byte content for agent. #[prost(bytes, tag="2")] AgentContent(::prost::alloc::vec::Vec), } } -/// The request message for \[Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent\]. +/// The request message for \[Agents.RestoreAgent][google.cloud.dialogflow.cx.v3.Agents.RestoreAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RestoreAgentRequest { - /// Required. The name of the agent to restore into. - /// Format: `projects//locations//agents/`. + /// Required. The name of the agent to restore into. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Agent restore mode. If not specified, `KEEP` is assumed. + /// Agent restore mode. If not specified, `KEEP` is assumed. #[prost(enumeration="restore_agent_request::RestoreOption", tag="5")] pub restore_option: i32, - /// Required. The agent to restore. + /// Required. The agent to restore. #[prost(oneof="restore_agent_request::Agent", tags="2, 3")] pub agent: ::core::option::Option, } /// Nested message and enum types in `RestoreAgentRequest`. pub mod restore_agent_request { - /// Restore option. + /// Restore option. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum RestoreOption { - /// Unspecified. Treated as KEEP. + /// Unspecified. Treated as KEEP. Unspecified = 0, - /// Always respect the settings from the exported agent file. It may cause - /// a restoration failure if some settings (e.g. model type) are not - /// supported in the target agent. + /// Always respect the settings from the exported agent file. It may cause + /// a restoration failure if some settings (e.g. model type) are not + /// supported in the target agent. Keep = 1, - /// Fallback to default settings if some settings are not supported in the - /// target agent. + /// Fallback to default settings if some settings are not supported in the + /// target agent. Fallback = 2, } impl RestoreOption { @@ -2175,57 +2175,57 @@ pub mod restore_agent_request { } } } - /// Required. The agent to restore. + /// Required. The agent to restore. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Agent { - /// The [Google Cloud Storage]() URI - /// to restore agent from. The format of this URI must be - /// `gs:///`. + /// The [Google Cloud Storage]() URI + /// to restore agent from. The format of this URI must be + /// `gs:///`. /// - /// Dialogflow performs a read operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have read permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a read operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have read permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] AgentUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for agent. + /// Uncompressed raw byte content for agent. #[prost(bytes, tag="3")] AgentContent(::prost::alloc::vec::Vec), } } -/// The request message for \[Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent\]. +/// The request message for \[Agents.ValidateAgent][google.cloud.dialogflow.cx.v3.Agents.ValidateAgent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ValidateAgentRequest { - /// Required. The agent to validate. - /// Format: `projects//locations//agents/`. + /// Required. The agent to validate. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If not specified, the agent's default language is used. + /// If not specified, the agent's default language is used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult\]. +/// The request message for \[Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetAgentValidationResultRequest { - /// Required. The agent name. - /// Format: `projects//locations//agents//validationResult`. + /// Required. The agent name. + /// Format: `projects//locations//agents//validationResult`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// If not specified, the agent's default language is used. + /// If not specified, the agent's default language is used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The response message for \[Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult\]. +/// The response message for \[Agents.GetAgentValidationResult][google.cloud.dialogflow.cx.v3.Agents.GetAgentValidationResult\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AgentValidationResult { - /// The unique identifier of the agent validation result. - /// Format: `projects//locations//agents//validationResult`. + /// The unique identifier of the agent validation result. + /// Format: `projects//locations//agents//validationResult`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Contains all flow validation results. + /// Contains all flow validation results. #[prost(message, repeated, tag="2")] pub flow_validation_results: ::prost::alloc::vec::Vec, } @@ -2522,197 +2522,197 @@ pub mod agents_client { } } } -/// Information for a word recognized by the speech recognizer. +/// Information for a word recognized by the speech recognizer. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SpeechWordInfo { - /// The word this info is for. + /// The word this info is for. #[prost(string, tag="3")] pub word: ::prost::alloc::string::String, - /// Time offset relative to the beginning of the audio that corresponds to the - /// start of the spoken word. This is an experimental feature and the accuracy - /// of the time offset can vary. + /// Time offset relative to the beginning of the audio that corresponds to the + /// start of the spoken word. This is an experimental feature and the accuracy + /// of the time offset can vary. #[prost(message, optional, tag="1")] pub start_offset: ::core::option::Option<::prost_types::Duration>, - /// Time offset relative to the beginning of the audio that corresponds to the - /// end of the spoken word. This is an experimental feature and the accuracy of - /// the time offset can vary. + /// Time offset relative to the beginning of the audio that corresponds to the + /// end of the spoken word. This is an experimental feature and the accuracy of + /// the time offset can vary. #[prost(message, optional, tag="2")] pub end_offset: ::core::option::Option<::prost_types::Duration>, - /// The Speech confidence between 0.0 and 1.0 for this word. A higher number - /// indicates an estimated greater likelihood that the recognized word is - /// correct. The default of 0.0 is a sentinel value indicating that confidence - /// was not set. + /// The Speech confidence between 0.0 and 1.0 for this word. A higher number + /// indicates an estimated greater likelihood that the recognized word is + /// correct. The default of 0.0 is a sentinel value indicating that confidence + /// was not set. /// - /// This field is not guaranteed to be fully stable over time for the same - /// audio input. Users should also not rely on it to always be provided. + /// This field is not guaranteed to be fully stable over time for the same + /// audio input. Users should also not rely on it to always be provided. #[prost(float, tag="4")] pub confidence: f32, } -/// Instructs the speech recognizer on how to process the audio content. +/// Instructs the speech recognizer on how to process the audio content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct InputAudioConfig { - /// Required. Audio encoding of the audio content to process. + /// Required. Audio encoding of the audio content to process. #[prost(enumeration="AudioEncoding", tag="1")] pub audio_encoding: i32, - /// Sample rate (in Hertz) of the audio content sent in the query. - /// Refer to - /// [Cloud Speech API - /// documentation]() for - /// more details. + /// Sample rate (in Hertz) of the audio content sent in the query. + /// Refer to + /// [Cloud Speech API + /// documentation]() for + /// more details. #[prost(int32, tag="2")] pub sample_rate_hertz: i32, - /// Optional. If `true`, Dialogflow returns \[SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo\] in - /// \[StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult\] with information about the recognized speech - /// words, e.g. start and end time offsets. If false or unspecified, Speech - /// doesn't return any word-level information. + /// Optional. If `true`, Dialogflow returns \[SpeechWordInfo][google.cloud.dialogflow.cx.v3.SpeechWordInfo\] in + /// \[StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult\] with information about the recognized speech + /// words, e.g. start and end time offsets. If false or unspecified, Speech + /// doesn't return any word-level information. #[prost(bool, tag="13")] pub enable_word_info: bool, - /// Optional. A list of strings containing words and phrases that the speech - /// recognizer should recognize with higher likelihood. + /// Optional. A list of strings containing words and phrases that the speech + /// recognizer should recognize with higher likelihood. /// - /// See [the Cloud Speech - /// documentation]() - /// for more details. + /// See [the Cloud Speech + /// documentation]() + /// for more details. #[prost(string, repeated, tag="4")] pub phrase_hints: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. Which Speech model to select for the given request. Select the - /// model best suited to your domain to get best results. If a model is not - /// explicitly specified, then we auto-select a model based on the parameters - /// in the InputAudioConfig. - /// If enhanced speech model is enabled for the agent and an enhanced - /// version of the specified model for the language does not exist, then the - /// speech is recognized using the standard version of the specified model. - /// Refer to - /// [Cloud Speech API - /// documentation]() - /// for more details. + /// Optional. Which Speech model to select for the given request. Select the + /// model best suited to your domain to get best results. If a model is not + /// explicitly specified, then we auto-select a model based on the parameters + /// in the InputAudioConfig. + /// If enhanced speech model is enabled for the agent and an enhanced + /// version of the specified model for the language does not exist, then the + /// speech is recognized using the standard version of the specified model. + /// Refer to + /// [Cloud Speech API + /// documentation]() + /// for more details. #[prost(string, tag="7")] pub model: ::prost::alloc::string::String, - /// Optional. Which variant of the [Speech model]\[google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] to use. + /// Optional. Which variant of the [Speech model]\[google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] to use. #[prost(enumeration="SpeechModelVariant", tag="10")] pub model_variant: i32, - /// Optional. If `false` (default), recognition does not cease until the - /// client closes the stream. - /// If `true`, the recognizer will detect a single spoken utterance in input - /// audio. Recognition ceases when it detects the audio's voice has - /// stopped or paused. In this case, once a detected intent is received, the - /// client should close the stream and start a new request with a new stream as - /// needed. - /// Note: This setting is relevant only for streaming methods. + /// Optional. If `false` (default), recognition does not cease until the + /// client closes the stream. + /// If `true`, the recognizer will detect a single spoken utterance in input + /// audio. Recognition ceases when it detects the audio's voice has + /// stopped or paused. In this case, once a detected intent is received, the + /// client should close the stream and start a new request with a new stream as + /// needed. + /// Note: This setting is relevant only for streaming methods. #[prost(bool, tag="8")] pub single_utterance: bool, } -/// Description of which voice to use for speech synthesis. +/// Description of which voice to use for speech synthesis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VoiceSelectionParams { - /// Optional. The name of the voice. If not set, the service will choose a - /// voice based on the other parameters such as language_code and - /// \[ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender\]. + /// Optional. The name of the voice. If not set, the service will choose a + /// voice based on the other parameters such as language_code and + /// \[ssml_gender][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.ssml_gender\]. /// - /// For the list of available voices, please refer to [Supported voices and - /// languages](). + /// For the list of available voices, please refer to [Supported voices and + /// languages](). #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. The preferred gender of the voice. If not set, the service will - /// choose a voice based on the other parameters such as language_code and - /// \[name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name\]. Note that this is only a preference, not requirement. If a - /// voice of the appropriate gender is not available, the synthesizer - /// substitutes a voice with a different gender rather than failing the - /// request. + /// Optional. The preferred gender of the voice. If not set, the service will + /// choose a voice based on the other parameters such as language_code and + /// \[name][google.cloud.dialogflow.cx.v3.VoiceSelectionParams.name\]. Note that this is only a preference, not requirement. If a + /// voice of the appropriate gender is not available, the synthesizer + /// substitutes a voice with a different gender rather than failing the + /// request. #[prost(enumeration="SsmlVoiceGender", tag="2")] pub ssml_gender: i32, } -/// Configuration of how speech should be synthesized. +/// Configuration of how speech should be synthesized. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SynthesizeSpeechConfig { - /// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal - /// native speed supported by the specific voice. 2.0 is twice as fast, and - /// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any - /// other values < 0.25 or > 4.0 will return an error. + /// Optional. Speaking rate/speed, in the range [0.25, 4.0]. 1.0 is the normal + /// native speed supported by the specific voice. 2.0 is twice as fast, and + /// 0.5 is half as fast. If unset(0.0), defaults to the native 1.0 speed. Any + /// other values < 0.25 or > 4.0 will return an error. #[prost(double, tag="1")] pub speaking_rate: f64, - /// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 - /// semitones from the original pitch. -20 means decrease 20 semitones from the - /// original pitch. + /// Optional. Speaking pitch, in the range [-20.0, 20.0]. 20 means increase 20 + /// semitones from the original pitch. -20 means decrease 20 semitones from the + /// original pitch. #[prost(double, tag="2")] pub pitch: f64, - /// Optional. Volume gain (in dB) of the normal native volume supported by the - /// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of - /// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) - /// will play at approximately half the amplitude of the normal native signal - /// amplitude. A value of +6.0 (dB) will play at approximately twice the - /// amplitude of the normal native signal amplitude. We strongly recommend not - /// to exceed +10 (dB) as there's usually no effective increase in loudness for - /// any value greater than that. + /// Optional. Volume gain (in dB) of the normal native volume supported by the + /// specific voice, in the range [-96.0, 16.0]. If unset, or set to a value of + /// 0.0 (dB), will play at normal native signal amplitude. A value of -6.0 (dB) + /// will play at approximately half the amplitude of the normal native signal + /// amplitude. A value of +6.0 (dB) will play at approximately twice the + /// amplitude of the normal native signal amplitude. We strongly recommend not + /// to exceed +10 (dB) as there's usually no effective increase in loudness for + /// any value greater than that. #[prost(double, tag="3")] pub volume_gain_db: f64, - /// Optional. An identifier which selects 'audio effects' profiles that are - /// applied on (post synthesized) text to speech. Effects are applied on top of - /// each other in the order they are given. + /// Optional. An identifier which selects 'audio effects' profiles that are + /// applied on (post synthesized) text to speech. Effects are applied on top of + /// each other in the order they are given. #[prost(string, repeated, tag="5")] pub effects_profile_id: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Optional. The desired voice of the synthesized audio. + /// Optional. The desired voice of the synthesized audio. #[prost(message, optional, tag="4")] pub voice: ::core::option::Option, } -/// Instructs the speech synthesizer how to generate the output audio content. +/// Instructs the speech synthesizer how to generate the output audio content. #[derive(Clone, PartialEq, ::prost::Message)] pub struct OutputAudioConfig { - /// Required. Audio encoding of the synthesized audio content. + /// Required. Audio encoding of the synthesized audio content. #[prost(enumeration="OutputAudioEncoding", tag="1")] pub audio_encoding: i32, - /// Optional. The synthesis sample rate (in hertz) for this audio. If not - /// provided, then the synthesizer will use the default sample rate based on - /// the audio encoding. If this is different from the voice's natural sample - /// rate, then the synthesizer will honor this request by converting to the - /// desired sample rate (which might result in worse audio quality). + /// Optional. The synthesis sample rate (in hertz) for this audio. If not + /// provided, then the synthesizer will use the default sample rate based on + /// the audio encoding. If this is different from the voice's natural sample + /// rate, then the synthesizer will honor this request by converting to the + /// desired sample rate (which might result in worse audio quality). #[prost(int32, tag="2")] pub sample_rate_hertz: i32, - /// Optional. Configuration of how speech should be synthesized. + /// Optional. Configuration of how speech should be synthesized. #[prost(message, optional, tag="3")] pub synthesize_speech_config: ::core::option::Option, } -/// Audio encoding of the audio content sent in the conversational query request. -/// Refer to the -/// [Cloud Speech API -/// documentation]() for more -/// details. +/// Audio encoding of the audio content sent in the conversational query request. +/// Refer to the +/// [Cloud Speech API +/// documentation]() for more +/// details. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AudioEncoding { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). Linear16 = 1, - /// \[`FLAC`\]() (Free Lossless Audio - /// Codec) is the recommended encoding because it is lossless (therefore - /// recognition is not compromised) and requires only about half the - /// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and - /// 24-bit samples, however, not all fields in `STREAMINFO` are supported. + /// \[`FLAC`\]() (Free Lossless Audio + /// Codec) is the recommended encoding because it is lossless (therefore + /// recognition is not compromised) and requires only about half the + /// bandwidth of `LINEAR16`. `FLAC` stream encoding supports 16-bit and + /// 24-bit samples, however, not all fields in `STREAMINFO` are supported. Flac = 2, - /// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + /// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Mulaw = 3, - /// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. + /// Adaptive Multi-Rate Narrowband codec. `sample_rate_hertz` must be 8000. Amr = 4, - /// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. + /// Adaptive Multi-Rate Wideband codec. `sample_rate_hertz` must be 16000. AmrWb = 5, - /// Opus encoded audio frames in Ogg container - /// (\[OggOpus\]()). - /// `sample_rate_hertz` must be 16000. + /// Opus encoded audio frames in Ogg container + /// (\[OggOpus\]()). + /// `sample_rate_hertz` must be 16000. OggOpus = 6, - /// Although the use of lossy encodings is not recommended, if a very low - /// bitrate encoding is required, `OGG_OPUS` is highly preferred over - /// Speex encoding. The \[Speex\]() encoding supported by - /// Dialogflow API has a header byte in each block, as in MIME type - /// `audio/x-speex-with-header-byte`. - /// It is a variant of the RTP Speex encoding defined in - /// [RFC 5574](). - /// The stream is a sequence of blocks, one block per RTP packet. Each block - /// starts with a byte containing the length of the block, in bytes, followed - /// by one or more frames of Speex data, padded to an integral number of - /// bytes (octets) as specified in RFC 5574. In other words, each RTP header - /// is replaced with a single byte containing the block length. Only Speex - /// wideband is supported. `sample_rate_hertz` must be 16000. + /// Although the use of lossy encodings is not recommended, if a very low + /// bitrate encoding is required, `OGG_OPUS` is highly preferred over + /// Speex encoding. The \[Speex\]() encoding supported by + /// Dialogflow API has a header byte in each block, as in MIME type + /// `audio/x-speex-with-header-byte`. + /// It is a variant of the RTP Speex encoding defined in + /// [RFC 5574](). + /// The stream is a sequence of blocks, one block per RTP packet. Each block + /// starts with a byte containing the length of the block, in bytes, followed + /// by one or more frames of Speex data, padded to an integral number of + /// bytes (octets) as specified in RFC 5574. In other words, each RTP header + /// is replaced with a single byte containing the block length. Only Speex + /// wideband is supported. `sample_rate_hertz` must be 16000. SpeexWithHeaderByte = 7, } impl AudioEncoding { @@ -2733,34 +2733,34 @@ impl AudioEncoding { } } } -/// Variant of the specified [Speech model]\[google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] to use. +/// Variant of the specified [Speech model]\[google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] to use. /// -/// See the [Cloud Speech -/// documentation]() -/// for which models have different variants. For example, the "phone_call" model -/// has both a standard and an enhanced variant. When you use an enhanced model, -/// you will generally receive higher quality results than for a standard model. +/// See the [Cloud Speech +/// documentation]() +/// for which models have different variants. For example, the "phone_call" model +/// has both a standard and an enhanced variant. When you use an enhanced model, +/// you will generally receive higher quality results than for a standard model. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SpeechModelVariant { - /// No model variant specified. In this case Dialogflow defaults to - /// USE_BEST_AVAILABLE. + /// No model variant specified. In this case Dialogflow defaults to + /// USE_BEST_AVAILABLE. Unspecified = 0, - /// Use the best available variant of the [Speech - /// model]\[InputAudioConfig.model\] that the caller is eligible for. + /// Use the best available variant of the [Speech + /// model]\[InputAudioConfig.model\] that the caller is eligible for. /// - /// Please see the [Dialogflow - /// docs]() for - /// how to make your project eligible for enhanced models. + /// Please see the [Dialogflow + /// docs]() for + /// how to make your project eligible for enhanced models. UseBestAvailable = 1, - /// Use standard model variant even if an enhanced model is available. See the - /// [Cloud Speech - /// documentation]() - /// for details about enhanced models. + /// Use standard model variant even if an enhanced model is available. See the + /// [Cloud Speech + /// documentation]() + /// for details about enhanced models. UseStandard = 2, - /// Use an enhanced model variant: + /// Use an enhanced model variant: /// - /// * If an enhanced variant does not exist for the given + /// * If an enhanced variant does not exist for the given /// \[model][google.cloud.dialogflow.cx.v3.InputAudioConfig.model\] and request language, Dialogflow falls /// back to the standard variant. /// @@ -2768,7 +2768,7 @@ pub enum SpeechModelVariant { /// documentation]() /// describes which models have enhanced variants. /// - /// * If the API caller isn't eligible for enhanced models, Dialogflow returns + /// * If the API caller isn't eligible for enhanced models, Dialogflow returns /// an error. Please see the [Dialogflow /// docs]() /// for how to make your project eligible. @@ -2788,19 +2788,19 @@ impl SpeechModelVariant { } } } -/// Gender of the voice as described in -/// [SSML voice element](). +/// Gender of the voice as described in +/// [SSML voice element](). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum SsmlVoiceGender { - /// An unspecified gender, which means that the client doesn't care which - /// gender the selected voice will have. + /// An unspecified gender, which means that the client doesn't care which + /// gender the selected voice will have. Unspecified = 0, - /// A male voice. + /// A male voice. Male = 1, - /// A female voice. + /// A female voice. Female = 2, - /// A gender-neutral voice. + /// A gender-neutral voice. Neutral = 3, } impl SsmlVoiceGender { @@ -2817,25 +2817,25 @@ impl SsmlVoiceGender { } } } -/// Audio encoding of the output audio format in Text-To-Speech. +/// Audio encoding of the output audio format in Text-To-Speech. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum OutputAudioEncoding { - /// Not specified. + /// Not specified. Unspecified = 0, - /// Uncompressed 16-bit signed little-endian samples (Linear PCM). - /// Audio content returned as LINEAR16 also contains a WAV header. + /// Uncompressed 16-bit signed little-endian samples (Linear PCM). + /// Audio content returned as LINEAR16 also contains a WAV header. Linear16 = 1, - /// MP3 audio at 32kbps. + /// MP3 audio at 32kbps. Mp3 = 2, - /// MP3 audio at 64kbps. + /// MP3 audio at 64kbps. Mp364Kbps = 4, - /// Opus encoded audio wrapped in an ogg container. The result will be a - /// file which can be played natively on Android, and in browsers (at least - /// Chrome and Firefox). The quality of the encoding is considerably higher - /// than MP3 while using approximately the same bitrate. + /// Opus encoded audio wrapped in an ogg container. The result will be a + /// file which can be played natively on Android, and in browsers (at least + /// Chrome and Firefox). The quality of the encoding is considerably higher + /// than MP3 while using approximately the same bitrate. OggOpus = 3, - /// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. + /// 8-bit samples that compand 14-bit audio samples using G.711 PCMU/mu-law. Mulaw = 5, } impl OutputAudioEncoding { @@ -2854,15 +2854,15 @@ impl OutputAudioEncoding { } } } -/// The request message for \[Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs\]. +/// The request message for \[Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChangelogsRequest { - /// Required. The agent containing the changelogs. - /// Format: `projects//locations//agents/`. + /// Required. The agent containing the changelogs. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The filter string. Supports filter by user_email, resource, type and - /// create_time. Some examples: + /// The filter string. Supports filter by user_email, resource, type and + /// create_time. Some examples: /// 1. By user email: /// user_email = "someone@google.com" /// 2. By resource name: @@ -2883,60 +2883,60 @@ pub struct ListChangelogsRequest { /// AND create_time <= 2017-01-15T01:30:15.01Z #[prost(string, tag="2")] pub filter: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs\]. +/// The response message for \[Changelogs.ListChangelogs][google.cloud.dialogflow.cx.v3.Changelogs.ListChangelogs\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListChangelogsResponse { - /// The list of changelogs. There will be a maximum number of items returned - /// based on the page_size field in the request. The changelogs will be ordered - /// by timestamp. + /// The list of changelogs. There will be a maximum number of items returned + /// based on the page_size field in the request. The changelogs will be ordered + /// by timestamp. #[prost(message, repeated, tag="1")] pub changelogs: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog\]. +/// The request message for \[Changelogs.GetChangelog][google.cloud.dialogflow.cx.v3.Changelogs.GetChangelog\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetChangelogRequest { - /// Required. The name of the changelog to get. - /// Format: `projects//locations//agents//changelogs/`. + /// Required. The name of the changelog to get. + /// Format: `projects//locations//agents//changelogs/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Changelogs represents a change made to a given agent. +/// Changelogs represents a change made to a given agent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Changelog { - /// The unique identifier of the changelog. - /// Format: `projects//locations//agents//changelogs/`. + /// The unique identifier of the changelog. + /// Format: `projects//locations//agents//changelogs/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Email address of the authenticated user. + /// Email address of the authenticated user. #[prost(string, tag="2")] pub user_email: ::prost::alloc::string::String, - /// The affected resource display name of the change. + /// The affected resource display name of the change. #[prost(string, tag="7")] pub display_name: ::prost::alloc::string::String, - /// The action of the change. + /// The action of the change. #[prost(string, tag="11")] pub action: ::prost::alloc::string::String, - /// The affected resource type. + /// The affected resource type. #[prost(string, tag="8")] pub r#type: ::prost::alloc::string::String, - /// The affected resource name of the change. + /// The affected resource name of the change. #[prost(string, tag="3")] pub resource: ::prost::alloc::string::String, - /// The timestamp of the change. + /// The timestamp of the change. #[prost(message, optional, tag="4")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, } @@ -3052,62 +3052,62 @@ pub mod changelogs_client { } } } -/// Represents an deployment in an environment. A deployment happens when a flow -/// version configured to be active in the environment. You can configure running -/// pre-deployment steps, e.g. running validation test cases, experiment -/// auto-rollout, etc. +/// Represents an deployment in an environment. A deployment happens when a flow +/// version configured to be active in the environment. You can configure running +/// pre-deployment steps, e.g. running validation test cases, experiment +/// auto-rollout, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Deployment { - /// The name of the deployment. - /// Format: projects//locations//agents//environments//deployments/. + /// The name of the deployment. + /// Format: projects//locations//agents//environments//deployments/. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The name of the flow version for this deployment. - /// Format: projects//locations//agents//flows//versions/. + /// The name of the flow version for this deployment. + /// Format: projects//locations//agents//flows//versions/. #[prost(string, tag="2")] pub flow_version: ::prost::alloc::string::String, - /// The current state of the deployment. + /// The current state of the deployment. #[prost(enumeration="deployment::State", tag="3")] pub state: i32, - /// Result of the deployment. + /// Result of the deployment. #[prost(message, optional, tag="4")] pub result: ::core::option::Option, - /// Start time of this deployment. + /// Start time of this deployment. #[prost(message, optional, tag="5")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of this deployment. + /// End time of this deployment. #[prost(message, optional, tag="6")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `Deployment`. pub mod deployment { - /// Result of the deployment. + /// Result of the deployment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - /// Results of test cases running before the deployment. - /// Format: `projects//locations//agents//testCases//results/`. + /// Results of test cases running before the deployment. + /// Format: `projects//locations//agents//testCases//results/`. #[prost(string, repeated, tag="1")] pub deployment_test_results: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// The name of the experiment triggered by this deployment. - /// Format: projects//locations//agents//environments//experiments/. + /// The name of the experiment triggered by this deployment. + /// Format: projects//locations//agents//environments//experiments/. #[prost(string, tag="2")] pub experiment: ::prost::alloc::string::String, } - /// The state of the deployment. + /// The state of the deployment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State unspecified. + /// State unspecified. Unspecified = 0, - /// The deployment is running. + /// The deployment is running. Running = 1, - /// The deployment succeeded. + /// The deployment succeeded. Succeeded = 2, - /// The deployment failed. + /// The deployment failed. Failed = 3, } impl State { @@ -3125,42 +3125,42 @@ pub mod deployment { } } } -/// The request message for \[Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments\]. +/// The request message for \[Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeploymentsRequest { - /// Required. The \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to list all environments for. - /// Format: `projects//locations//agents//environments/`. + /// Required. The \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to list all environments for. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 20 and - /// at most 100. + /// The maximum number of items to return in a single page. By default 20 and + /// at most 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments\]. +/// The response message for \[Deployments.ListDeployments][google.cloud.dialogflow.cx.v3.Deployments.ListDeployments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListDeploymentsResponse { - /// The list of deployments. There will be a maximum number of items - /// returned based on the page_size field in the request. The list may in some - /// cases be empty or contain fewer entries than page_size even if this isn't - /// the last page. + /// The list of deployments. There will be a maximum number of items + /// returned based on the page_size field in the request. The list may in some + /// cases be empty or contain fewer entries than page_size even if this isn't + /// the last page. #[prost(message, repeated, tag="1")] pub deployments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Deployments.GetDeployment][google.cloud.dialogflow.cx.v3.Deployments.GetDeployment\]. +/// The request message for \[Deployments.GetDeployment][google.cloud.dialogflow.cx.v3.Deployments.GetDeployment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetDeploymentRequest { - /// Required. The name of the \[Deployment][google.cloud.dialogflow.cx.v3.Deployment\]. - /// Format: `projects//locations//agents//environments//deployments/`. + /// Required. The name of the \[Deployment][google.cloud.dialogflow.cx.v3.Deployment\]. + /// Format: `projects//locations//agents//environments//deployments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -3276,120 +3276,120 @@ pub mod deployments_client { } } } -/// Entities are extracted from user input and represent parameters that are -/// meaningful to your application. For example, a date range, a proper name -/// such as a geographic location or landmark, and so on. Entities represent -/// actionable data for your application. +/// Entities are extracted from user input and represent parameters that are +/// meaningful to your application. For example, a date range, a proper name +/// such as a geographic location or landmark, and so on. Entities represent +/// actionable data for your application. /// -/// When you define an entity, you can also include synonyms that all map to -/// that entity. For example, "soft drink", "soda", "pop", and so on. +/// When you define an entity, you can also include synonyms that all map to +/// that entity. For example, "soft drink", "soda", "pop", and so on. /// -/// There are three types of entities: +/// There are three types of entities: /// -/// * **System** - entities that are defined by the Dialogflow API for common +/// * **System** - entities that are defined by the Dialogflow API for common /// data types such as date, time, currency, and so on. A system entity is /// represented by the `EntityType` type. /// -/// * **Custom** - entities that are defined by you that represent +/// * **Custom** - entities that are defined by you that represent /// actionable data that is meaningful to your application. For example, /// you could define a `pizza.sauce` entity for red or white pizza sauce, /// a `pizza.cheese` entity for the different types of cheese on a pizza, /// a `pizza.topping` entity for different toppings, and so on. A custom /// entity is represented by the `EntityType` type. /// -/// * **User** - entities that are built for an individual user such as +/// * **User** - entities that are built for an individual user such as /// favorites, preferences, playlists, and so on. A user entity is /// represented by the \[SessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityType\] type. /// -/// For more information about entity types, see the [Dialogflow -/// documentation](). +/// For more information about entity types, see the [Dialogflow +/// documentation](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct EntityType { - /// The unique identifier of the entity type. - /// Required for \[EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType\]. - /// Format: `projects//locations//agents//entityTypes/`. + /// The unique identifier of the entity type. + /// Required for \[EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType\]. + /// Format: `projects//locations//agents//entityTypes/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the entity type, unique within the agent. + /// Required. The human-readable name of the entity type, unique within the agent. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Required. Indicates the kind of entity type. + /// Required. Indicates the kind of entity type. #[prost(enumeration="entity_type::Kind", tag="3")] pub kind: i32, - /// Indicates whether the entity type can be automatically expanded. + /// Indicates whether the entity type can be automatically expanded. #[prost(enumeration="entity_type::AutoExpansionMode", tag="4")] pub auto_expansion_mode: i32, - /// The collection of entity entries associated with the entity type. + /// The collection of entity entries associated with the entity type. #[prost(message, repeated, tag="5")] pub entities: ::prost::alloc::vec::Vec, - /// Collection of exceptional words and phrases that shouldn't be matched. - /// For example, if you have a size entity type with entry `giant`(an - /// adjective), you might consider adding `giants`(a noun) as an exclusion. - /// If the kind of entity type is `KIND_MAP`, then the phrases specified by - /// entities and excluded phrases should be mutually exclusive. + /// Collection of exceptional words and phrases that shouldn't be matched. + /// For example, if you have a size entity type with entry `giant`(an + /// adjective), you might consider adding `giants`(a noun) as an exclusion. + /// If the kind of entity type is `KIND_MAP`, then the phrases specified by + /// entities and excluded phrases should be mutually exclusive. #[prost(message, repeated, tag="6")] pub excluded_phrases: ::prost::alloc::vec::Vec, - /// Enables fuzzy entity extraction during classification. + /// Enables fuzzy entity extraction during classification. #[prost(bool, tag="7")] pub enable_fuzzy_extraction: bool, - /// Indicates whether parameters of the entity type should be redacted in log. - /// If redaction is enabled, page parameters and intent parameters referring to - /// the entity type will be replaced by parameter name when logging. + /// Indicates whether parameters of the entity type should be redacted in log. + /// If redaction is enabled, page parameters and intent parameters referring to + /// the entity type will be replaced by parameter name when logging. #[prost(bool, tag="9")] pub redact: bool, } /// Nested message and enum types in `EntityType`. pub mod entity_type { - /// An **entity entry** for an associated entity type. + /// An **entity entry** for an associated entity type. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Entity { - /// Required. The primary value associated with this entity entry. - /// For example, if the entity type is *vegetable*, the value could be - /// *scallions*. + /// Required. The primary value associated with this entity entry. + /// For example, if the entity type is *vegetable*, the value could be + /// *scallions*. /// - /// For `KIND_MAP` entity types: + /// For `KIND_MAP` entity types: /// - /// * A canonical value to be used in place of synonyms. + /// * A canonical value to be used in place of synonyms. /// - /// For `KIND_LIST` entity types: + /// For `KIND_LIST` entity types: /// - /// * A string that can contain references to other entity types (with or + /// * A string that can contain references to other entity types (with or /// without aliases). #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, - /// Required. A collection of value synonyms. For example, if the entity type - /// is *vegetable*, and `value` is *scallions*, a synonym could be *green - /// onions*. + /// Required. A collection of value synonyms. For example, if the entity type + /// is *vegetable*, and `value` is *scallions*, a synonym could be *green + /// onions*. /// - /// For `KIND_LIST` entity types: + /// For `KIND_LIST` entity types: /// - /// * This collection must contain exactly one synonym equal to `value`. + /// * This collection must contain exactly one synonym equal to `value`. #[prost(string, repeated, tag="2")] pub synonyms: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } - /// An excluded entity phrase that should not be matched. + /// An excluded entity phrase that should not be matched. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExcludedPhrase { - /// Required. The word or phrase to be excluded. + /// Required. The word or phrase to be excluded. #[prost(string, tag="1")] pub value: ::prost::alloc::string::String, } - /// Represents kinds of entities. + /// Represents kinds of entities. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum Kind { - /// Not specified. This value should be never used. + /// Not specified. This value should be never used. Unspecified = 0, - /// Map entity types allow mapping of a group of synonyms to a canonical - /// value. + /// Map entity types allow mapping of a group of synonyms to a canonical + /// value. Map = 1, - /// List entity types contain a set of entries that do not map to canonical - /// values. However, list entity types can contain references to other entity - /// types (with or without aliases). + /// List entity types contain a set of entries that do not map to canonical + /// values. However, list entity types can contain references to other entity + /// types (with or without aliases). List = 2, - /// Regexp entity types allow to specify regular expressions in entries - /// values. + /// Regexp entity types allow to specify regular expressions in entries + /// values. Regexp = 3, } impl Kind { @@ -3406,16 +3406,16 @@ pub mod entity_type { } } } - /// Represents different entity type expansion modes. Automated expansion - /// allows an agent to recognize values that have not been explicitly listed in - /// the entity (for example, new kinds of shopping list items). + /// Represents different entity type expansion modes. Automated expansion + /// allows an agent to recognize values that have not been explicitly listed in + /// the entity (for example, new kinds of shopping list items). #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AutoExpansionMode { - /// Auto expansion disabled for the entity. + /// Auto expansion disabled for the entity. Unspecified = 0, - /// Allows an agent to recognize values that have not been explicitly - /// listed in the entity. + /// Allows an agent to recognize values that have not been explicitly + /// listed in the entity. Default = 1, } impl AutoExpansionMode { @@ -3431,131 +3431,131 @@ pub mod entity_type { } } } -/// The request message for \[EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes\]. +/// The request message for \[EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesRequest { - /// Required. The agent to list all entity types for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to list all entity types for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The language to list entity types for. The following fields are language - /// dependent: + /// The language to list entity types for. The following fields are language + /// dependent: /// - /// * `EntityType.entities.value` - /// * `EntityType.entities.synonyms` - /// * `EntityType.excluded_phrases.value` + /// * `EntityType.entities.value` + /// * `EntityType.entities.synonyms` + /// * `EntityType.excluded_phrases.value` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes\]. +/// The response message for \[EntityTypes.ListEntityTypes][google.cloud.dialogflow.cx.v3.EntityTypes.ListEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEntityTypesResponse { - /// The list of entity types. There will be a maximum number of items returned - /// based on the page_size field in the request. + /// The list of entity types. There will be a maximum number of items returned + /// based on the page_size field in the request. #[prost(message, repeated, tag="1")] pub entity_types: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType\]. +/// The request message for \[EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEntityTypeRequest { - /// Required. The name of the entity type. - /// Format: `projects//locations//agents//entityTypes/`. + /// Required. The name of the entity type. + /// Format: `projects//locations//agents//entityTypes/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The language to retrieve the entity type for. The following fields are - /// language dependent: + /// The language to retrieve the entity type for. The following fields are + /// language dependent: /// - /// * `EntityType.entities.value` - /// * `EntityType.entities.synonyms` - /// * `EntityType.excluded_phrases.value` + /// * `EntityType.entities.value` + /// * `EntityType.entities.synonyms` + /// * `EntityType.excluded_phrases.value` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType\]. +/// The request message for \[EntityTypes.CreateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.CreateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEntityTypeRequest { - /// Required. The agent to create a entity type for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to create a entity type for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The entity type to create. + /// Required. The entity type to create. #[prost(message, optional, tag="2")] pub entity_type: ::core::option::Option, - /// The language of the following fields in `entity_type`: + /// The language of the following fields in `entity_type`: /// - /// * `EntityType.entities.value` - /// * `EntityType.entities.synonyms` - /// * `EntityType.excluded_phrases.value` + /// * `EntityType.entities.value` + /// * `EntityType.entities.synonyms` + /// * `EntityType.excluded_phrases.value` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType\]. +/// The request message for \[EntityTypes.UpdateEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.UpdateEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEntityTypeRequest { - /// Required. The entity type to update. + /// Required. The entity type to update. #[prost(message, optional, tag="1")] pub entity_type: ::core::option::Option, - /// The language of the following fields in `entity_type`: + /// The language of the following fields in `entity_type`: /// - /// * `EntityType.entities.value` - /// * `EntityType.entities.synonyms` - /// * `EntityType.excluded_phrases.value` + /// * `EntityType.entities.value` + /// * `EntityType.entities.synonyms` + /// * `EntityType.excluded_phrases.value` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The mask to control which fields get updated. + /// The mask to control which fields get updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType\]. +/// The request message for \[EntityTypes.DeleteEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.DeleteEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEntityTypeRequest { - /// Required. The name of the entity type to delete. - /// Format: `projects//locations//agents//entityTypes/`. + /// Required. The name of the entity type to delete. + /// Format: `projects//locations//agents//entityTypes/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field has no effect for entity type not being used. - /// For entity types that are used by intents or pages: + /// This field has no effect for entity type not being used. + /// For entity types that are used by intents or pages: /// - /// * If `force` is set to false, an error will be returned with message + /// * If `force` is set to false, an error will be returned with message /// indicating the referencing resources. - /// * If `force` is set to true, Dialogflow will remove the entity type, as + /// * If `force` is set to true, Dialogflow will remove the entity type, as /// well as any references to the entity type (i.e. Page /// \[parameter][google.cloud.dialogflow.cx.v3.Form.Parameter\] of the entity type will be changed to /// '@sys.any' and intent \[parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter\] of the entity type @@ -3747,270 +3747,270 @@ pub mod entity_types_client { } } } -/// An intent represents a user's intent to interact with a conversational agent. +/// An intent represents a user's intent to interact with a conversational agent. /// -/// You can provide information for the Dialogflow API to use to match user input -/// to an intent by adding training phrases (i.e., examples of user input) to -/// your intent. +/// You can provide information for the Dialogflow API to use to match user input +/// to an intent by adding training phrases (i.e., examples of user input) to +/// your intent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intent { - /// The unique identifier of the intent. - /// Required for the \[Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent\] method. \[Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent\] - /// populates the name automatically. - /// Format: `projects//locations//agents//intents/`. + /// The unique identifier of the intent. + /// Required for the \[Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent\] method. \[Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent\] + /// populates the name automatically. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the intent, unique within the agent. + /// Required. The human-readable name of the intent, unique within the agent. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The collection of training phrases the agent is trained on to identify the - /// intent. + /// The collection of training phrases the agent is trained on to identify the + /// intent. #[prost(message, repeated, tag="3")] pub training_phrases: ::prost::alloc::vec::Vec, - /// The collection of parameters associated with the intent. + /// The collection of parameters associated with the intent. #[prost(message, repeated, tag="4")] pub parameters: ::prost::alloc::vec::Vec, - /// The priority of this intent. Higher numbers represent higher - /// priorities. + /// The priority of this intent. Higher numbers represent higher + /// priorities. /// - /// - If the supplied value is unspecified or 0, the service + /// - If the supplied value is unspecified or 0, the service /// translates the value to 500,000, which corresponds to the /// `Normal` priority in the console. - /// - If the supplied value is negative, the intent is ignored + /// - If the supplied value is negative, the intent is ignored /// in runtime detect intent requests. #[prost(int32, tag="5")] pub priority: i32, - /// Indicates whether this is a fallback intent. Currently only default - /// fallback intent is allowed in the agent, which is added upon agent - /// creation. - /// Adding training phrases to fallback intent is useful in the case of - /// requests that are mistakenly matched, since training phrases assigned to - /// fallback intents act as negative examples that triggers no-match event. + /// Indicates whether this is a fallback intent. Currently only default + /// fallback intent is allowed in the agent, which is added upon agent + /// creation. + /// Adding training phrases to fallback intent is useful in the case of + /// requests that are mistakenly matched, since training phrases assigned to + /// fallback intents act as negative examples that triggers no-match event. #[prost(bool, tag="6")] pub is_fallback: bool, - /// The key/value metadata to label an intent. Labels can contain - /// lowercase letters, digits and the symbols '-' and '_'. International - /// characters are allowed, including letters from unicase alphabets. Keys must - /// start with a letter. Keys and values can be no longer than 63 characters - /// and no more than 128 bytes. + /// The key/value metadata to label an intent. Labels can contain + /// lowercase letters, digits and the symbols '-' and '_'. International + /// characters are allowed, including letters from unicase alphabets. Keys must + /// start with a letter. Keys and values can be no longer than 63 characters + /// and no more than 128 bytes. /// - /// Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed - /// Dialogflow defined labels include: - /// * sys-head - /// * sys-contextual - /// The above labels do not require value. "sys-head" means the intent is a - /// head intent. "sys.contextual" means the intent is a contextual intent. + /// Prefix "sys-" is reserved for Dialogflow defined labels. Currently allowed + /// Dialogflow defined labels include: + /// * sys-head + /// * sys-contextual + /// The above labels do not require value. "sys-head" means the intent is a + /// head intent. "sys.contextual" means the intent is a contextual intent. #[prost(map="string, string", tag="7")] pub labels: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Human readable description for better understanding an intent like its - /// scope, content, result etc. Maximum character limit: 140 characters. + /// Human readable description for better understanding an intent like its + /// scope, content, result etc. Maximum character limit: 140 characters. #[prost(string, tag="8")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `Intent`. pub mod intent { - /// Represents an example that the agent is trained on to identify the intent. + /// Represents an example that the agent is trained on to identify the intent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TrainingPhrase { - /// Output only. The unique identifier of the training phrase. + /// Output only. The unique identifier of the training phrase. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The ordered list of training phrase parts. - /// The parts are concatenated in order to form the training phrase. + /// Required. The ordered list of training phrase parts. + /// The parts are concatenated in order to form the training phrase. /// - /// Note: The API does not automatically annotate training phrases like the - /// Dialogflow Console does. + /// Note: The API does not automatically annotate training phrases like the + /// Dialogflow Console does. /// - /// Note: Do not forget to include whitespace at part boundaries, so the - /// training phrase is well formatted when the parts are concatenated. + /// Note: Do not forget to include whitespace at part boundaries, so the + /// training phrase is well formatted when the parts are concatenated. /// - /// If the training phrase does not need to be annotated with parameters, - /// you just need a single part with only the \[Part.text][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part.text\] field set. + /// If the training phrase does not need to be annotated with parameters, + /// you just need a single part with only the \[Part.text][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part.text\] field set. /// - /// If you want to annotate the training phrase, you must create multiple - /// parts, where the fields of each part are populated in one of two ways: + /// If you want to annotate the training phrase, you must create multiple + /// parts, where the fields of each part are populated in one of two ways: /// - /// - `Part.text` is set to a part of the phrase that has no parameters. - /// - `Part.text` is set to a part of the phrase that you want to annotate, + /// - `Part.text` is set to a part of the phrase that has no parameters. + /// - `Part.text` is set to a part of the phrase that you want to annotate, /// and the `parameter_id` field is set. #[prost(message, repeated, tag="2")] pub parts: ::prost::alloc::vec::Vec, - /// Indicates how many times this example was added to the intent. + /// Indicates how many times this example was added to the intent. #[prost(int32, tag="3")] pub repeat_count: i32, } /// Nested message and enum types in `TrainingPhrase`. pub mod training_phrase { - /// Represents a part of a training phrase. + /// Represents a part of a training phrase. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Part { - /// Required. The text for this part. + /// Required. The text for this part. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, - /// The \[parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter\] used to annotate this part of the - /// training phrase. This field is required for annotated parts of the - /// training phrase. + /// The \[parameter][google.cloud.dialogflow.cx.v3.Intent.Parameter\] used to annotate this part of the + /// training phrase. This field is required for annotated parts of the + /// training phrase. #[prost(string, tag="2")] pub parameter_id: ::prost::alloc::string::String, } } - /// Represents an intent parameter. + /// Represents an intent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Parameter { - /// Required. The unique identifier of the parameter. This field - /// is used by [training phrases]\[google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase\] to annotate their - /// \[parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part\]. + /// Required. The unique identifier of the parameter. This field + /// is used by [training phrases]\[google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase\] to annotate their + /// \[parts][google.cloud.dialogflow.cx.v3.Intent.TrainingPhrase.Part\]. #[prost(string, tag="1")] pub id: ::prost::alloc::string::String, - /// Required. The entity type of the parameter. - /// Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, - /// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or - /// `projects//locations//agents//entityTypes/` for developer entity types. + /// Required. The entity type of the parameter. + /// Format: `projects/-/locations/-/agents/-/entityTypes/` for system entity types (for example, + /// `projects/-/locations/-/agents/-/entityTypes/sys.date`), or + /// `projects//locations//agents//entityTypes/` for developer entity types. #[prost(string, tag="2")] pub entity_type: ::prost::alloc::string::String, - /// Indicates whether the parameter represents a list of values. + /// Indicates whether the parameter represents a list of values. #[prost(bool, tag="3")] pub is_list: bool, - /// Indicates whether the parameter content should be redacted in log. If - /// redaction is enabled, the parameter content will be replaced by parameter - /// name during logging. - /// Note: the parameter content is subject to redaction if either parameter - /// level redaction or [entity type level redaction]\[google.cloud.dialogflow.cx.v3.EntityType.redact\] is - /// enabled. + /// Indicates whether the parameter content should be redacted in log. If + /// redaction is enabled, the parameter content will be replaced by parameter + /// name during logging. + /// Note: the parameter content is subject to redaction if either parameter + /// level redaction or [entity type level redaction]\[google.cloud.dialogflow.cx.v3.EntityType.redact\] is + /// enabled. #[prost(bool, tag="4")] pub redact: bool, } } -/// The request message for \[Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents\]. +/// The request message for \[Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIntentsRequest { - /// Required. The agent to list all intents for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to list all intents for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The language to list intents for. The following fields are language - /// dependent: + /// The language to list intents for. The following fields are language + /// dependent: /// - /// * `Intent.training_phrases.parts.text` + /// * `Intent.training_phrases.parts.text` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The resource view to apply to the returned intent. + /// The resource view to apply to the returned intent. #[prost(enumeration="IntentView", tag="5")] pub intent_view: i32, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="3")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="4")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents\]. +/// The response message for \[Intents.ListIntents][google.cloud.dialogflow.cx.v3.Intents.ListIntents\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListIntentsResponse { - /// The list of intents. There will be a maximum number of items returned based - /// on the page_size field in the request. + /// The list of intents. There will be a maximum number of items returned based + /// on the page_size field in the request. #[prost(message, repeated, tag="1")] pub intents: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Intents.GetIntent][google.cloud.dialogflow.cx.v3.Intents.GetIntent\]. +/// The request message for \[Intents.GetIntent][google.cloud.dialogflow.cx.v3.Intents.GetIntent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetIntentRequest { - /// Required. The name of the intent. - /// Format: `projects//locations//agents//intents/`. + /// Required. The name of the intent. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The language to retrieve the intent for. The following fields are language - /// dependent: + /// The language to retrieve the intent for. The following fields are language + /// dependent: /// - /// * `Intent.training_phrases.parts.text` + /// * `Intent.training_phrases.parts.text` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent\]. +/// The request message for \[Intents.CreateIntent][google.cloud.dialogflow.cx.v3.Intents.CreateIntent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateIntentRequest { - /// Required. The agent to create an intent for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to create an intent for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The intent to create. + /// Required. The intent to create. #[prost(message, optional, tag="2")] pub intent: ::core::option::Option, - /// The language of the following fields in `intent`: + /// The language of the following fields in `intent`: /// - /// * `Intent.training_phrases.parts.text` + /// * `Intent.training_phrases.parts.text` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent\]. +/// The request message for \[Intents.UpdateIntent][google.cloud.dialogflow.cx.v3.Intents.UpdateIntent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateIntentRequest { - /// Required. The intent to update. + /// Required. The intent to update. #[prost(message, optional, tag="1")] pub intent: ::core::option::Option, - /// The language of the following fields in `intent`: + /// The language of the following fields in `intent`: /// - /// * `Intent.training_phrases.parts.text` + /// * `Intent.training_phrases.parts.text` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="3")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Intents.DeleteIntent][google.cloud.dialogflow.cx.v3.Intents.DeleteIntent\]. +/// The request message for \[Intents.DeleteIntent][google.cloud.dialogflow.cx.v3.Intents.DeleteIntent\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteIntentRequest { - /// Required. The name of the intent to delete. - /// Format: `projects//locations//agents//intents/`. + /// Required. The name of the intent to delete. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the options for views of an intent. -/// An intent can be a sizable object. Therefore, we provide a resource view that -/// does not return training phrases in the response. +/// Represents the options for views of an intent. +/// An intent can be a sizable object. Therefore, we provide a resource view that +/// does not return training phrases in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum IntentView { - /// Not specified. Treated as INTENT_VIEW_FULL. + /// Not specified. Treated as INTENT_VIEW_FULL. Unspecified = 0, - /// Training phrases field is not populated in the response. + /// Training phrases field is not populated in the response. Partial = 1, - /// All fields are populated. + /// All fields are populated. Full = 2, } impl IntentView { @@ -4210,59 +4210,59 @@ pub mod intents_client { } } } -/// Session entity types are referred to as **User** entity types and are -/// entities that are built for an individual user such as favorites, -/// preferences, playlists, and so on. +/// Session entity types are referred to as **User** entity types and are +/// entities that are built for an individual user such as favorites, +/// preferences, playlists, and so on. /// -/// You can redefine a session entity type at the session level to extend or -/// replace a [custom entity type]\[google.cloud.dialogflow.cx.v3.EntityType\] at the user session level (we -/// refer to the entity types defined at the agent level as "custom entity -/// types"). +/// You can redefine a session entity type at the session level to extend or +/// replace a [custom entity type]\[google.cloud.dialogflow.cx.v3.EntityType\] at the user session level (we +/// refer to the entity types defined at the agent level as "custom entity +/// types"). /// -/// Note: session entity types apply to all queries, regardless of the language. +/// Note: session entity types apply to all queries, regardless of the language. /// -/// For more information about entity types, see the [Dialogflow -/// documentation](). +/// For more information about entity types, see the [Dialogflow +/// documentation](). #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionEntityType { - /// Required. The unique identifier of the session entity type. - /// Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The unique identifier of the session entity type. + /// Format: `projects//locations//agents//sessions//entityTypes/` or `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. Indicates whether the additional data should override or supplement the - /// custom entity type definition. + /// Required. Indicates whether the additional data should override or supplement the + /// custom entity type definition. #[prost(enumeration="session_entity_type::EntityOverrideMode", tag="3")] pub entity_override_mode: i32, - /// Required. The collection of entities to override or supplement the custom entity - /// type. + /// Required. The collection of entities to override or supplement the custom entity + /// type. #[prost(message, repeated, tag="4")] pub entities: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `SessionEntityType`. pub mod session_entity_type { - /// The types of modifications for the session entity type. + /// The types of modifications for the session entity type. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum EntityOverrideMode { - /// Not specified. This value should be never used. + /// Not specified. This value should be never used. Unspecified = 0, - /// The collection of session entities overrides the collection of entities - /// in the corresponding custom entity type. + /// The collection of session entities overrides the collection of entities + /// in the corresponding custom entity type. Override = 1, - /// The collection of session entities extends the collection of entities in - /// the corresponding custom entity type. + /// The collection of session entities extends the collection of entities in + /// the corresponding custom entity type. /// - /// Note: Even in this override mode calls to `ListSessionEntityTypes`, - /// `GetSessionEntityType`, `CreateSessionEntityType` and - /// `UpdateSessionEntityType` only return the additional entities added in - /// this session entity type. If you want to get the supplemented list, - /// please call \[EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType\] on the custom entity type - /// and merge. + /// Note: Even in this override mode calls to `ListSessionEntityTypes`, + /// `GetSessionEntityType`, `CreateSessionEntityType` and + /// `UpdateSessionEntityType` only return the additional entities added in + /// this session entity type. If you want to get the supplemented list, + /// please call \[EntityTypes.GetEntityType][google.cloud.dialogflow.cx.v3.EntityTypes.GetEntityType\] on the custom entity type + /// and merge. Supplement = 2, } impl EntityOverrideMode { @@ -4279,91 +4279,91 @@ pub mod session_entity_type { } } } -/// The request message for \[SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes\]. +/// The request message for \[SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionEntityTypesRequest { - /// Required. The session to list all session entity types from. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. - /// If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The session to list all session entity types from. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. + /// If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes\]. +/// The response message for \[SessionEntityTypes.ListSessionEntityTypes][google.cloud.dialogflow.cx.v3.SessionEntityTypes.ListSessionEntityTypes\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSessionEntityTypesResponse { - /// The list of session entity types. There will be a maximum number of items - /// returned based on the page_size field in the request. + /// The list of session entity types. There will be a maximum number of items + /// returned based on the page_size field in the request. #[prost(message, repeated, tag="1")] pub session_entity_types: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no - /// more results in the list. + /// Token to retrieve the next page of results, or empty if there are no + /// more results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType\]. +/// The request message for \[SessionEntityTypes.GetSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.GetSessionEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSessionEntityTypeRequest { - /// Required. The name of the session entity type. - /// Format: `projects//locations//agents//sessions//entityTypes/` or - /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The name of the session entity type. + /// Format: `projects//locations//agents//sessions//entityTypes/` or + /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType\]. +/// The request message for \[SessionEntityTypes.CreateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.CreateSessionEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSessionEntityTypeRequest { - /// Required. The session to create a session entity type for. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. - /// If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The session to create a session entity type for. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. + /// If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The session entity type to create. + /// Required. The session entity type to create. #[prost(message, optional, tag="2")] pub session_entity_type: ::core::option::Option, } -/// The request message for \[SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType\]. +/// The request message for \[SessionEntityTypes.UpdateSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.UpdateSessionEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSessionEntityTypeRequest { - /// Required. The session entity type to update. - /// Format: `projects//locations//agents//sessions//entityTypes/` or - /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The session entity type to update. + /// Format: `projects//locations//agents//sessions//entityTypes/` or + /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(message, optional, tag="1")] pub session_entity_type: ::core::option::Option, - /// The mask to control which fields get updated. + /// The mask to control which fields get updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType\]. +/// The request message for \[SessionEntityTypes.DeleteSessionEntityType][google.cloud.dialogflow.cx.v3.SessionEntityTypes.DeleteSessionEntityType\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSessionEntityTypeRequest { - /// Required. The name of the session entity type to delete. - /// Format: `projects//locations//agents//sessions//entityTypes/` or - /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' - /// environment. + /// Required. The name of the session entity type to delete. + /// Format: `projects//locations//agents//sessions//entityTypes/` or + /// `projects//locations//agents//environments//sessions//entityTypes/`. If `Environment ID` is not specified, we assume default 'draft' + /// environment. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -4542,85 +4542,85 @@ pub mod session_entity_types_client { } } } -/// The request to detect user's intent. +/// The request to detect user's intent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetectIntentRequest { - /// Required. The name of the session this query is sent to. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. - /// If `Environment ID` is not specified, we assume default 'draft' - /// environment. - /// It's up to the API caller to choose an appropriate `Session ID`. It can be - /// a random number or some type of session identifiers (preferably hashed). - /// The length of the `Session ID` must not exceed 36 characters. + /// Required. The name of the session this query is sent to. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. + /// If `Environment ID` is not specified, we assume default 'draft' + /// environment. + /// It's up to the API caller to choose an appropriate `Session ID`. It can be + /// a random number or some type of session identifiers (preferably hashed). + /// The length of the `Session ID` must not exceed 36 characters. /// - /// For more information, see the [sessions - /// guide](). + /// For more information, see the [sessions + /// guide](). /// - /// Note: Always use agent versions for production traffic. - /// See [Versions and - /// environments](). + /// Note: Always use agent versions for production traffic. + /// See [Versions and + /// environments](). #[prost(string, tag="1")] pub session: ::prost::alloc::string::String, - /// The parameters of this query. + /// The parameters of this query. #[prost(message, optional, tag="2")] pub query_params: ::core::option::Option, - /// Required. The input specification. + /// Required. The input specification. #[prost(message, optional, tag="3")] pub query_input: ::core::option::Option, - /// Instructs the speech synthesizer how to generate the output audio. + /// Instructs the speech synthesizer how to generate the output audio. #[prost(message, optional, tag="4")] pub output_audio_config: ::core::option::Option, } -/// The message returned from the DetectIntent method. +/// The message returned from the DetectIntent method. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DetectIntentResponse { - /// Output only. The unique identifier of the response. It can be used to - /// locate a response in the training example set or for reporting issues. + /// Output only. The unique identifier of the response. It can be used to + /// locate a response in the training example set or for reporting issues. #[prost(string, tag="1")] pub response_id: ::prost::alloc::string::String, - /// The result of the conversational query. + /// The result of the conversational query. #[prost(message, optional, tag="2")] pub query_result: ::core::option::Option, - /// The audio data bytes encoded as specified in the request. - /// Note: The output audio is generated based on the values of default platform - /// text responses found in the - /// \[`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages\] field. If - /// multiple default text responses exist, they will be concatenated when - /// generating audio. If no default platform text responses exist, the - /// generated audio content will be empty. + /// The audio data bytes encoded as specified in the request. + /// Note: The output audio is generated based on the values of default platform + /// text responses found in the + /// \[`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages\] field. If + /// multiple default text responses exist, they will be concatenated when + /// generating audio. If no default platform text responses exist, the + /// generated audio content will be empty. /// - /// In some scenarios, multiple output audio fields may be present in the - /// response structure. In these cases, only the top-most-level audio output - /// has content. + /// In some scenarios, multiple output audio fields may be present in the + /// response structure. In these cases, only the top-most-level audio output + /// has content. #[prost(bytes="vec", tag="4")] pub output_audio: ::prost::alloc::vec::Vec, - /// The config used by the speech synthesizer to generate the output audio. + /// The config used by the speech synthesizer to generate the output audio. #[prost(message, optional, tag="5")] pub output_audio_config: ::core::option::Option, - /// Response type. + /// Response type. #[prost(enumeration="detect_intent_response::ResponseType", tag="6")] pub response_type: i32, - /// Indicates whether the partial response can be cancelled when a later - /// response arrives. e.g. if the agent specified some music as partial - /// response, it can be cancelled. + /// Indicates whether the partial response can be cancelled when a later + /// response arrives. e.g. if the agent specified some music as partial + /// response, it can be cancelled. #[prost(bool, tag="7")] pub allow_cancellation: bool, } /// Nested message and enum types in `DetectIntentResponse`. pub mod detect_intent_response { - /// Represents different DetectIntentResponse types. + /// Represents different DetectIntentResponse types. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ResponseType { - /// Not specified. This should never happen. + /// Not specified. This should never happen. Unspecified = 0, - /// Partial response. e.g. Aggregated responses in a Fulfillment that enables - /// `return_partial_response` can be returned as partial response. - /// WARNING: partial response is not eligible for barge-in. + /// Partial response. e.g. Aggregated responses in a Fulfillment that enables + /// `return_partial_response` can be returned as partial response. + /// WARNING: partial response is not eligible for barge-in. Partial = 1, - /// Final response. + /// Final response. Final = 2, } impl ResponseType { @@ -4637,19 +4637,19 @@ pub mod detect_intent_response { } } } -/// The top-level message sent by the client to the -/// \[Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent\] method. +/// The top-level message sent by the client to the +/// \[Sessions.StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent\] method. /// -/// Multiple request messages should be sent in order: +/// Multiple request messages should be sent in order: /// -/// 1. The first message must contain +/// 1. The first message must contain /// \[session][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.session\], /// \[query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input\] plus optionally /// \[query_params][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_params\]. If the client /// wants to receive an audio response, it should also contain /// \[output_audio_config][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.output_audio_config\]. /// -/// 2. If \[query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input\] was set to +/// 2. If \[query_input][google.cloud.dialogflow.cx.v3.StreamingDetectIntentRequest.query_input\] was set to /// \[query_input.audio.config][google.cloud.dialogflow.cx.v3.AudioInput.config\], all subsequent messages /// must contain \[query_input.audio.audio][google.cloud.dialogflow.cx.v3.AudioInput.audio\] to continue with /// Speech recognition. @@ -4664,188 +4664,188 @@ pub mod detect_intent_response { /// input text. /// * Dialogflow will use the language code from the first message. /// -/// After you sent all input, you must half-close or abort the request stream. +/// After you sent all input, you must half-close or abort the request stream. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamingDetectIntentRequest { - /// The name of the session this query is sent to. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. - /// If `Environment ID` is not specified, we assume default 'draft' - /// environment. - /// It's up to the API caller to choose an appropriate `Session ID`. It can be - /// a random number or some type of session identifiers (preferably hashed). - /// The length of the `Session ID` must not exceed 36 characters. - /// Note: session must be set in the first request. + /// The name of the session this query is sent to. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. + /// If `Environment ID` is not specified, we assume default 'draft' + /// environment. + /// It's up to the API caller to choose an appropriate `Session ID`. It can be + /// a random number or some type of session identifiers (preferably hashed). + /// The length of the `Session ID` must not exceed 36 characters. + /// Note: session must be set in the first request. /// - /// For more information, see the [sessions - /// guide](). + /// For more information, see the [sessions + /// guide](). /// - /// Note: Always use agent versions for production traffic. - /// See [Versions and - /// environments](). + /// Note: Always use agent versions for production traffic. + /// See [Versions and + /// environments](). #[prost(string, tag="1")] pub session: ::prost::alloc::string::String, - /// The parameters of this query. + /// The parameters of this query. #[prost(message, optional, tag="2")] pub query_params: ::core::option::Option, - /// Required. The input specification. + /// Required. The input specification. #[prost(message, optional, tag="3")] pub query_input: ::core::option::Option, - /// Instructs the speech synthesizer how to generate the output audio. + /// Instructs the speech synthesizer how to generate the output audio. #[prost(message, optional, tag="4")] pub output_audio_config: ::core::option::Option, - /// Enable partial detect intent response. If this flag is not enabled, - /// response stream still contains only one final `DetectIntentResponse` even - /// if some `Fulfillment`s in the agent have been configured to return partial - /// responses. + /// Enable partial detect intent response. If this flag is not enabled, + /// response stream still contains only one final `DetectIntentResponse` even + /// if some `Fulfillment`s in the agent have been configured to return partial + /// responses. #[prost(bool, tag="5")] pub enable_partial_response: bool, } -/// The top-level message returned from the -/// \[StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent\] method. +/// The top-level message returned from the +/// \[StreamingDetectIntent][google.cloud.dialogflow.cx.v3.Sessions.StreamingDetectIntent\] method. /// -/// Multiple response messages (N) can be returned in order. +/// Multiple response messages (N) can be returned in order. /// -/// The first (N-1) responses set either the `recognition_result` or -/// `detect_intent_response` field, depending on the request: +/// The first (N-1) responses set either the `recognition_result` or +/// `detect_intent_response` field, depending on the request: /// -/// * If the `StreamingDetectIntentRequest.query_input.audio` field was +/// * If the `StreamingDetectIntentRequest.query_input.audio` field was /// set, and the `StreamingDetectIntentRequest.enable_partial_response` /// field was false, the `recognition_result` field is populated for each /// of the (N-1) responses. /// See the \[StreamingRecognitionResult][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult\] message for details /// about the result message sequence. /// -/// * If the `StreamingDetectIntentRequest.enable_partial_response` field was +/// * If the `StreamingDetectIntentRequest.enable_partial_response` field was /// true, the `detect_intent_response` field is populated for each /// of the (N-1) responses, where 1 <= N <= 4. /// These responses set the \[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type\] field /// to `PARTIAL`. /// -/// For the final Nth response message, the `detect_intent_response` is fully -/// populated, and \[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type\] is set to `FINAL`. +/// For the final Nth response message, the `detect_intent_response` is fully +/// populated, and \[DetectIntentResponse.response_type][google.cloud.dialogflow.cx.v3.DetectIntentResponse.response_type\] is set to `FINAL`. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamingDetectIntentResponse { - /// The output response. + /// The output response. #[prost(oneof="streaming_detect_intent_response::Response", tags="1, 2")] pub response: ::core::option::Option, } /// Nested message and enum types in `StreamingDetectIntentResponse`. pub mod streaming_detect_intent_response { - /// The output response. + /// The output response. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Response { - /// The result of speech recognition. + /// The result of speech recognition. #[prost(message, tag="1")] RecognitionResult(super::StreamingRecognitionResult), - /// The response from detect intent. + /// The response from detect intent. #[prost(message, tag="2")] DetectIntentResponse(super::DetectIntentResponse), } } -/// Contains a speech recognition result corresponding to a portion of the audio -/// that is currently being processed or an indication that this is the end -/// of the single requested utterance. +/// Contains a speech recognition result corresponding to a portion of the audio +/// that is currently being processed or an indication that this is the end +/// of the single requested utterance. /// -/// While end-user audio is being processed, Dialogflow sends a series of -/// results. Each result may contain a `transcript` value. A transcript -/// represents a portion of the utterance. While the recognizer is processing -/// audio, transcript values may be interim values or finalized values. -/// Once a transcript is finalized, the `is_final` value is set to true and -/// processing continues for the next transcript. +/// While end-user audio is being processed, Dialogflow sends a series of +/// results. Each result may contain a `transcript` value. A transcript +/// represents a portion of the utterance. While the recognizer is processing +/// audio, transcript values may be interim values or finalized values. +/// Once a transcript is finalized, the `is_final` value is set to true and +/// processing continues for the next transcript. /// -/// If `StreamingDetectIntentRequest.query_input.audio.config.single_utterance` -/// was true, and the recognizer has completed processing audio, -/// the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the -/// following (last) result contains the last finalized transcript. +/// If `StreamingDetectIntentRequest.query_input.audio.config.single_utterance` +/// was true, and the recognizer has completed processing audio, +/// the `message_type` value is set to `END_OF_SINGLE_UTTERANCE and the +/// following (last) result contains the last finalized transcript. /// -/// The complete end-user utterance is determined by concatenating the -/// finalized transcript values received for the series of results. +/// The complete end-user utterance is determined by concatenating the +/// finalized transcript values received for the series of results. /// -/// In the following example, single utterance is enabled. In the case where -/// single utterance is not enabled, result 7 would not occur. +/// In the following example, single utterance is enabled. In the case where +/// single utterance is not enabled, result 7 would not occur. /// -/// ``` -/// Num | transcript | message_type | is_final -/// --- | ----------------------- | ----------------------- | -------- -/// 1 | "tube" | TRANSCRIPT | false -/// 2 | "to be a" | TRANSCRIPT | false -/// 3 | "to be" | TRANSCRIPT | false -/// 4 | "to be or not to be" | TRANSCRIPT | true -/// 5 | "that's" | TRANSCRIPT | false -/// 6 | "that is | TRANSCRIPT | false -/// 7 | unset | END_OF_SINGLE_UTTERANCE | unset -/// 8 | " that is the question" | TRANSCRIPT | true -/// ``` +/// ``` +/// Num | transcript | message_type | is_final +/// --- | ----------------------- | ----------------------- | -------- +/// 1 | "tube" | TRANSCRIPT | false +/// 2 | "to be a" | TRANSCRIPT | false +/// 3 | "to be" | TRANSCRIPT | false +/// 4 | "to be or not to be" | TRANSCRIPT | true +/// 5 | "that's" | TRANSCRIPT | false +/// 6 | "that is | TRANSCRIPT | false +/// 7 | unset | END_OF_SINGLE_UTTERANCE | unset +/// 8 | " that is the question" | TRANSCRIPT | true +/// ``` /// -/// Concatenating the finalized transcripts with `is_final` set to true, -/// the complete utterance becomes "to be or not to be that is the question". +/// Concatenating the finalized transcripts with `is_final` set to true, +/// the complete utterance becomes "to be or not to be that is the question". #[derive(Clone, PartialEq, ::prost::Message)] pub struct StreamingRecognitionResult { - /// Type of the result message. + /// Type of the result message. #[prost(enumeration="streaming_recognition_result::MessageType", tag="1")] pub message_type: i32, - /// Transcript text representing the words that the user spoke. - /// Populated if and only if `message_type` = `TRANSCRIPT`. + /// Transcript text representing the words that the user spoke. + /// Populated if and only if `message_type` = `TRANSCRIPT`. #[prost(string, tag="2")] pub transcript: ::prost::alloc::string::String, - /// If `false`, the `StreamingRecognitionResult` represents an - /// interim result that may change. If `true`, the recognizer will not return - /// any further hypotheses about this piece of the audio. May only be populated - /// for `message_type` = `TRANSCRIPT`. + /// If `false`, the `StreamingRecognitionResult` represents an + /// interim result that may change. If `true`, the recognizer will not return + /// any further hypotheses about this piece of the audio. May only be populated + /// for `message_type` = `TRANSCRIPT`. #[prost(bool, tag="3")] pub is_final: bool, - /// The Speech confidence between 0.0 and 1.0 for the current portion of audio. - /// A higher number indicates an estimated greater likelihood that the - /// recognized words are correct. The default of 0.0 is a sentinel value - /// indicating that confidence was not set. + /// The Speech confidence between 0.0 and 1.0 for the current portion of audio. + /// A higher number indicates an estimated greater likelihood that the + /// recognized words are correct. The default of 0.0 is a sentinel value + /// indicating that confidence was not set. /// - /// This field is typically only provided if `is_final` is true and you should - /// not rely on it being accurate or even set. + /// This field is typically only provided if `is_final` is true and you should + /// not rely on it being accurate or even set. #[prost(float, tag="4")] pub confidence: f32, - /// An estimate of the likelihood that the speech recognizer will - /// not change its guess about this interim recognition result: - /// * If the value is unspecified or 0.0, Dialogflow didn't compute the + /// An estimate of the likelihood that the speech recognizer will + /// not change its guess about this interim recognition result: + /// * If the value is unspecified or 0.0, Dialogflow didn't compute the /// stability. In particular, Dialogflow will only provide stability for /// `TRANSCRIPT` results with `is_final = false`. - /// * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely + /// * Otherwise, the value is in (0.0, 1.0] where 0.0 means completely /// unstable and 1.0 means completely stable. #[prost(float, tag="6")] pub stability: f32, - /// Word-specific information for the words recognized by Speech in - /// \[transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript\]. Populated if and only if `message_type` = `TRANSCRIPT` and - /// \[InputAudioConfig.enable_word_info\] is set. + /// Word-specific information for the words recognized by Speech in + /// \[transcript][google.cloud.dialogflow.cx.v3.StreamingRecognitionResult.transcript\]. Populated if and only if `message_type` = `TRANSCRIPT` and + /// \[InputAudioConfig.enable_word_info\] is set. #[prost(message, repeated, tag="7")] pub speech_word_info: ::prost::alloc::vec::Vec, - /// Time offset of the end of this Speech recognition result relative to the - /// beginning of the audio. Only populated for `message_type` = - /// `TRANSCRIPT`. + /// Time offset of the end of this Speech recognition result relative to the + /// beginning of the audio. Only populated for `message_type` = + /// `TRANSCRIPT`. #[prost(message, optional, tag="8")] pub speech_end_offset: ::core::option::Option<::prost_types::Duration>, - /// Detected language code for the transcript. + /// Detected language code for the transcript. #[prost(string, tag="10")] pub language_code: ::prost::alloc::string::String, } /// Nested message and enum types in `StreamingRecognitionResult`. pub mod streaming_recognition_result { - /// Type of the response message. + /// Type of the response message. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MessageType { - /// Not specified. Should never be used. + /// Not specified. Should never be used. Unspecified = 0, - /// Message contains a (possibly partial) transcript. + /// Message contains a (possibly partial) transcript. Transcript = 1, - /// Event indicates that the server has detected the end of the user's speech - /// utterance and expects no additional speech. Therefore, the server will - /// not process additional audio (although it may subsequently return - /// additional results). The client should stop sending additional audio - /// data, half-close the gRPC connection, and wait for any additional results - /// until the server closes the gRPC connection. This message is only sent if - /// \[`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance\] was set to - /// `true`, and is not used otherwise. + /// Event indicates that the server has detected the end of the user's speech + /// utterance and expects no additional speech. Therefore, the server will + /// not process additional audio (although it may subsequently return + /// additional results). The client should stop sending additional audio + /// data, half-close the gRPC connection, and wait for any additional results + /// until the server closes the gRPC connection. This message is only sent if + /// \[`single_utterance`][google.cloud.dialogflow.cx.v3.InputAudioConfig.single_utterance\] was set to + /// `true`, and is not used otherwise. EndOfSingleUtterance = 2, } impl MessageType { @@ -4862,383 +4862,383 @@ pub mod streaming_recognition_result { } } } -/// Represents the parameters of a conversational query. +/// Represents the parameters of a conversational query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryParameters { - /// The time zone of this conversational query from the [time zone - /// database](), e.g., America/New_York, - /// Europe/Paris. If not provided, the time zone specified in the agent is - /// used. + /// The time zone of this conversational query from the [time zone + /// database](), e.g., America/New_York, + /// Europe/Paris. If not provided, the time zone specified in the agent is + /// used. #[prost(string, tag="1")] pub time_zone: ::prost::alloc::string::String, - /// The geo location of this conversational query. + /// The geo location of this conversational query. #[prost(message, optional, tag="2")] pub geo_location: ::core::option::Option, - /// Additional session entity types to replace or extend developer entity types - /// with. The entity synonyms apply to all languages and persist for the - /// session of this query. + /// Additional session entity types to replace or extend developer entity types + /// with. The entity synonyms apply to all languages and persist for the + /// session of this query. #[prost(message, repeated, tag="3")] pub session_entity_types: ::prost::alloc::vec::Vec, - /// This field can be used to pass custom data into the webhook associated with - /// the agent. Arbitrary JSON objects are supported. - /// Some integrations that query a Dialogflow agent may provide additional - /// information in the payload. - /// In particular, for the Dialogflow Phone Gateway integration, this field has - /// the form: - /// ``` - /// { + /// This field can be used to pass custom data into the webhook associated with + /// the agent. Arbitrary JSON objects are supported. + /// Some integrations that query a Dialogflow agent may provide additional + /// information in the payload. + /// In particular, for the Dialogflow Phone Gateway integration, this field has + /// the form: + /// ``` + /// { /// "telephony": { /// "caller_id": "+18558363987" /// } - /// } - /// ``` + /// } + /// ``` #[prost(message, optional, tag="4")] pub payload: ::core::option::Option<::prost_types::Struct>, - /// Additional parameters to be put into [session - /// parameters]\[SessionInfo.parameters\]. To remove a - /// parameter from the session, clients should explicitly set the parameter - /// value to null. + /// Additional parameters to be put into [session + /// parameters]\[SessionInfo.parameters\]. To remove a + /// parameter from the session, clients should explicitly set the parameter + /// value to null. /// - /// You can reference the session parameters in the agent with the following - /// format: $session.params.parameter-id. + /// You can reference the session parameters in the agent with the following + /// format: $session.params.parameter-id. /// - /// Depending on your protocol or client library language, this is a - /// map, associative array, symbol table, dictionary, or JSON object - /// composed of a collection of (MapKey, MapValue) pairs: + /// Depending on your protocol or client library language, this is a + /// map, associative array, symbol table, dictionary, or JSON object + /// composed of a collection of (MapKey, MapValue) pairs: /// - /// * MapKey type: string - /// * MapKey value: parameter name - /// * MapValue type: If parameter's entity type is a composite entity then use - /// map, otherwise, depending on the parameter value type, it could be one of - /// string, number, boolean, null, list or map. - /// * MapValue value: If parameter's entity type is a composite entity then use - /// map from composite entity property names to property values, otherwise, - /// use parameter value. + /// * MapKey type: string + /// * MapKey value: parameter name + /// * MapValue type: If parameter's entity type is a composite entity then use + /// map, otherwise, depending on the parameter value type, it could be one of + /// string, number, boolean, null, list or map. + /// * MapValue value: If parameter's entity type is a composite entity then use + /// map from composite entity property names to property values, otherwise, + /// use parameter value. #[prost(message, optional, tag="5")] pub parameters: ::core::option::Option<::prost_types::Struct>, - /// The unique identifier of the \[page][google.cloud.dialogflow.cx.v3.Page\] to override the [current - /// page]\[QueryResult.current_page\] in the session. - /// Format: `projects//locations//agents//flows//pages/`. + /// The unique identifier of the \[page][google.cloud.dialogflow.cx.v3.Page\] to override the [current + /// page]\[QueryResult.current_page\] in the session. + /// Format: `projects//locations//agents//flows//pages/`. /// - /// If `current_page` is specified, the previous state of the session will be - /// ignored by Dialogflow, including the [previous - /// page]\[QueryResult.current_page\] and the [previous session - /// parameters]\[QueryResult.parameters\]. - /// In most cases, \[current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page\] and - /// \[parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters\] should be configured together to - /// direct a session to a specific state. + /// If `current_page` is specified, the previous state of the session will be + /// ignored by Dialogflow, including the [previous + /// page]\[QueryResult.current_page\] and the [previous session + /// parameters]\[QueryResult.parameters\]. + /// In most cases, \[current_page][google.cloud.dialogflow.cx.v3.QueryParameters.current_page\] and + /// \[parameters][google.cloud.dialogflow.cx.v3.QueryParameters.parameters\] should be configured together to + /// direct a session to a specific state. #[prost(string, tag="6")] pub current_page: ::prost::alloc::string::String, - /// Whether to disable webhook calls for this request. + /// Whether to disable webhook calls for this request. #[prost(bool, tag="7")] pub disable_webhook: bool, - /// Configures whether sentiment analysis should be performed. If not - /// provided, sentiment analysis is not performed. + /// Configures whether sentiment analysis should be performed. If not + /// provided, sentiment analysis is not performed. #[prost(bool, tag="8")] pub analyze_query_text_sentiment: bool, - /// This field can be used to pass HTTP headers for a webhook - /// call. These headers will be sent to webhook along with the headers that - /// have been configured through Dialogflow web console. The headers defined - /// within this field will overwrite the headers configured through Dialogflow - /// console if there is a conflict. Header names are case-insensitive. - /// Google's specified headers are not allowed. Including: "Host", - /// "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", - /// "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc. + /// This field can be used to pass HTTP headers for a webhook + /// call. These headers will be sent to webhook along with the headers that + /// have been configured through Dialogflow web console. The headers defined + /// within this field will overwrite the headers configured through Dialogflow + /// console if there is a conflict. Header names are case-insensitive. + /// Google's specified headers are not allowed. Including: "Host", + /// "Content-Length", "Connection", "From", "User-Agent", "Accept-Encoding", + /// "If-Modified-Since", "If-None-Match", "X-Forwarded-For", etc. #[prost(map="string, string", tag="10")] pub webhook_headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// A list of flow versions to override for the request. - /// Format: `projects//locations//agents//flows//versions/`. + /// A list of flow versions to override for the request. + /// Format: `projects//locations//agents//flows//versions/`. /// - /// If version 1 of flow X is included in this list, the traffic of - /// flow X will go through version 1 regardless of the version configuration in - /// the environment. Each flow can have at most one version specified in this - /// list. + /// If version 1 of flow X is included in this list, the traffic of + /// flow X will go through version 1 regardless of the version configuration in + /// the environment. Each flow can have at most one version specified in this + /// list. #[prost(string, repeated, tag="14")] pub flow_versions: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Represents the query input. It can contain one of: +/// Represents the query input. It can contain one of: /// -/// 1. A conversational query in the form of text. +/// 1. A conversational query in the form of text. /// -/// 2. An intent query that specifies which intent to trigger. +/// 2. An intent query that specifies which intent to trigger. /// -/// 3. Natural language speech audio to be processed. +/// 3. Natural language speech audio to be processed. /// -/// 4. An event to be triggered. +/// 4. An event to be triggered. /// #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryInput { - /// Required. The language of the input. See [Language - /// Support]() - /// for a list of the currently supported language codes. Note that queries in - /// the same session do not necessarily need to specify the same language. + /// Required. The language of the input. See [Language + /// Support]() + /// for a list of the currently supported language codes. Note that queries in + /// the same session do not necessarily need to specify the same language. #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, - /// Required. The input specification. + /// Required. The input specification. #[prost(oneof="query_input::Input", tags="2, 3, 5, 6, 7")] pub input: ::core::option::Option, } /// Nested message and enum types in `QueryInput`. pub mod query_input { - /// Required. The input specification. + /// Required. The input specification. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Input { - /// The natural language text to be processed. + /// The natural language text to be processed. #[prost(message, tag="2")] Text(super::TextInput), - /// The intent to be triggered. + /// The intent to be triggered. #[prost(message, tag="3")] Intent(super::IntentInput), - /// The natural language speech audio to be processed. + /// The natural language speech audio to be processed. #[prost(message, tag="5")] Audio(super::AudioInput), - /// The event to be triggered. + /// The event to be triggered. #[prost(message, tag="6")] Event(super::EventInput), - /// The DTMF event to be handled. + /// The DTMF event to be handled. #[prost(message, tag="7")] Dtmf(super::DtmfInput), } } -/// Represents the result of a conversational query. +/// Represents the result of a conversational query. #[derive(Clone, PartialEq, ::prost::Message)] pub struct QueryResult { - /// The language that was triggered during intent detection. - /// See [Language - /// Support]() - /// for a list of the currently supported language codes. + /// The language that was triggered during intent detection. + /// See [Language + /// Support]() + /// for a list of the currently supported language codes. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, - /// The collected [session parameters]\[google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. + /// The collected [session parameters]\[google.cloud.dialogflow.cx.v3.SessionInfo.parameters\]. /// - /// Depending on your protocol or client library language, this is a - /// map, associative array, symbol table, dictionary, or JSON object - /// composed of a collection of (MapKey, MapValue) pairs: + /// Depending on your protocol or client library language, this is a + /// map, associative array, symbol table, dictionary, or JSON object + /// composed of a collection of (MapKey, MapValue) pairs: /// - /// * MapKey type: string - /// * MapKey value: parameter name - /// * MapValue type: If parameter's entity type is a composite entity then use - /// map, otherwise, depending on the parameter value type, it could be one of - /// string, number, boolean, null, list or map. - /// * MapValue value: If parameter's entity type is a composite entity then use - /// map from composite entity property names to property values, otherwise, - /// use parameter value. + /// * MapKey type: string + /// * MapKey value: parameter name + /// * MapValue type: If parameter's entity type is a composite entity then use + /// map, otherwise, depending on the parameter value type, it could be one of + /// string, number, boolean, null, list or map. + /// * MapValue value: If parameter's entity type is a composite entity then use + /// map from composite entity property names to property values, otherwise, + /// use parameter value. #[prost(message, optional, tag="3")] pub parameters: ::core::option::Option<::prost_types::Struct>, - /// The list of rich messages returned to the client. Responses vary from - /// simple text messages to more sophisticated, structured payloads used - /// to drive complex logic. + /// The list of rich messages returned to the client. Responses vary from + /// simple text messages to more sophisticated, structured payloads used + /// to drive complex logic. #[prost(message, repeated, tag="4")] pub response_messages: ::prost::alloc::vec::Vec, - /// The list of webhook call status in the order of call sequence. + /// The list of webhook call status in the order of call sequence. #[prost(message, repeated, tag="13")] pub webhook_statuses: ::prost::alloc::vec::Vec, - /// The list of webhook payload in \[WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload\], in - /// the order of call sequence. If some webhook call fails or doesn't return - /// any payload, an empty `Struct` would be used instead. + /// The list of webhook payload in \[WebhookResponse.payload][google.cloud.dialogflow.cx.v3.WebhookResponse.payload\], in + /// the order of call sequence. If some webhook call fails or doesn't return + /// any payload, an empty `Struct` would be used instead. #[prost(message, repeated, tag="6")] pub webhook_payloads: ::prost::alloc::vec::Vec<::prost_types::Struct>, - /// The current \[Page][google.cloud.dialogflow.cx.v3.Page\]. Some, not all fields are filled in this message, - /// including but not limited to `name` and `display_name`. + /// The current \[Page][google.cloud.dialogflow.cx.v3.Page\]. Some, not all fields are filled in this message, + /// including but not limited to `name` and `display_name`. #[prost(message, optional, tag="7")] pub current_page: ::core::option::Option, - /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that matched the conversational query. Some, not all fields - /// are filled in this message, including but not limited to: `name` and - /// `display_name`. - /// This field is deprecated, please use \[QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match\] instead. + /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that matched the conversational query. Some, not all fields + /// are filled in this message, including but not limited to: `name` and + /// `display_name`. + /// This field is deprecated, please use \[QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match\] instead. #[deprecated] #[prost(message, optional, tag="8")] pub intent: ::core::option::Option, - /// The intent detection confidence. Values range from 0.0 (completely - /// uncertain) to 1.0 (completely certain). - /// This value is for informational purpose only and is only used to - /// help match the best intent within the classification threshold. - /// This value may change for the same end-user expression at any time due to a - /// model retraining or change in implementation. - /// This field is deprecated, please use \[QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match\] instead. + /// The intent detection confidence. Values range from 0.0 (completely + /// uncertain) to 1.0 (completely certain). + /// This value is for informational purpose only and is only used to + /// help match the best intent within the classification threshold. + /// This value may change for the same end-user expression at any time due to a + /// model retraining or change in implementation. + /// This field is deprecated, please use \[QueryResult.match][google.cloud.dialogflow.cx.v3.QueryResult.match\] instead. #[deprecated] #[prost(float, tag="9")] pub intent_detection_confidence: f32, - /// Intent match result, could be an intent or an event. + /// Intent match result, could be an intent or an event. #[prost(message, optional, tag="15")] pub r#match: ::core::option::Option, - /// The free-form diagnostic info. For example, this field could contain - /// webhook call latency. The fields of this data can change without notice, - /// so you should not write code that depends on its structure. + /// The free-form diagnostic info. For example, this field could contain + /// webhook call latency. The fields of this data can change without notice, + /// so you should not write code that depends on its structure. /// - /// One of the fields is called "Alternative Matched Intents", which may - /// aid with debugging. The following describes these intent results: + /// One of the fields is called "Alternative Matched Intents", which may + /// aid with debugging. The following describes these intent results: /// - /// - The list is empty if no intent was matched to end-user input. - /// - Only intents that are referenced in the currently active flow are + /// - The list is empty if no intent was matched to end-user input. + /// - Only intents that are referenced in the currently active flow are /// included. - /// - The matched intent is included. - /// - Other intents that could have matched end-user input, but did not match + /// - The matched intent is included. + /// - Other intents that could have matched end-user input, but did not match /// because they are referenced by intent routes that are out of /// \[scope\](), /// are included. - /// - Other intents referenced by intent routes in scope that matched end-user + /// - Other intents referenced by intent routes in scope that matched end-user /// input, but had a lower confidence score. #[prost(message, optional, tag="10")] pub diagnostic_info: ::core::option::Option<::prost_types::Struct>, - /// The sentiment analyss result, which depends on - /// \[`analyze_query_text_sentiment`\] - /// \[google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment\], specified in the request. + /// The sentiment analyss result, which depends on + /// \[`analyze_query_text_sentiment`\] + /// \[google.cloud.dialogflow.cx.v3.QueryParameters.analyze_query_text_sentiment\], specified in the request. #[prost(message, optional, tag="17")] pub sentiment_analysis_result: ::core::option::Option, - /// The original conversational query. + /// The original conversational query. #[prost(oneof="query_result::Query", tags="1, 11, 12, 14, 23")] pub query: ::core::option::Option, } /// Nested message and enum types in `QueryResult`. pub mod query_result { - /// The original conversational query. + /// The original conversational query. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field - /// will contain a copy of the text. + /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field + /// will contain a copy of the text. #[prost(string, tag="1")] Text(::prost::alloc::string::String), - /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will - /// contain a copy of the intent identifier. - /// Format: `projects//locations//agents//intents/`. + /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will + /// contain a copy of the intent identifier. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="11")] TriggerIntent(::prost::alloc::string::String), - /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, - /// this field will contain the transcript for the audio. + /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, + /// this field will contain the transcript for the audio. #[prost(string, tag="12")] Transcript(::prost::alloc::string::String), - /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will contain - /// the name of the event. + /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will contain + /// the name of the event. #[prost(string, tag="14")] TriggerEvent(::prost::alloc::string::String), - /// If a \[DTMF][DTMFInput\] was provided as input, this field will contain - /// a copy of the \[DTMFInput][\]. + /// If a \[DTMF][DTMFInput\] was provided as input, this field will contain + /// a copy of the \[DTMFInput][\]. #[prost(message, tag="23")] Dtmf(super::DtmfInput), } } -/// Represents the natural language text to be processed. +/// Represents the natural language text to be processed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TextInput { - /// Required. The UTF-8 encoded natural language text to be processed. Text length must - /// not exceed 256 characters. + /// Required. The UTF-8 encoded natural language text to be processed. Text length must + /// not exceed 256 characters. #[prost(string, tag="1")] pub text: ::prost::alloc::string::String, } -/// Represents the intent to trigger programmatically rather than as a result of -/// natural language processing. +/// Represents the intent to trigger programmatically rather than as a result of +/// natural language processing. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentInput { - /// Required. The unique identifier of the intent. - /// Format: `projects//locations//agents//intents/`. + /// Required. The unique identifier of the intent. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="1")] pub intent: ::prost::alloc::string::String, } -/// Represents the natural speech audio to be processed. +/// Represents the natural speech audio to be processed. #[derive(Clone, PartialEq, ::prost::Message)] pub struct AudioInput { - /// Required. Instructs the speech recognizer how to process the speech audio. + /// Required. Instructs the speech recognizer how to process the speech audio. #[prost(message, optional, tag="1")] pub config: ::core::option::Option, - /// The natural language speech audio to be processed. - /// A single request can contain up to 1 minute of speech audio data. - /// The [transcribed text]\[google.cloud.dialogflow.cx.v3.QueryResult.transcript\] cannot contain more than 256 - /// bytes. + /// The natural language speech audio to be processed. + /// A single request can contain up to 1 minute of speech audio data. + /// The [transcribed text]\[google.cloud.dialogflow.cx.v3.QueryResult.transcript\] cannot contain more than 256 + /// bytes. /// - /// For non-streaming audio detect intent, both `config` and `audio` must be - /// provided. - /// For streaming audio detect intent, `config` must be provided in - /// the first request and `audio` must be provided in all following requests. + /// For non-streaming audio detect intent, both `config` and `audio` must be + /// provided. + /// For streaming audio detect intent, `config` must be provided in + /// the first request and `audio` must be provided in all following requests. #[prost(bytes="vec", tag="2")] pub audio: ::prost::alloc::vec::Vec, } -/// Represents the event to trigger. +/// Represents the event to trigger. #[derive(Clone, PartialEq, ::prost::Message)] pub struct EventInput { - /// Name of the event. + /// Name of the event. #[prost(string, tag="1")] pub event: ::prost::alloc::string::String, } -/// Represents the input for dtmf event. +/// Represents the input for dtmf event. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DtmfInput { - /// The dtmf digits. + /// The dtmf digits. #[prost(string, tag="1")] pub digits: ::prost::alloc::string::String, - /// The finish digit (if any). + /// The finish digit (if any). #[prost(string, tag="2")] pub finish_digit: ::prost::alloc::string::String, } -/// Represents one match result of \[MatchIntent][\]. +/// Represents one match result of \[MatchIntent][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Match { - /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that matched the query. Some, not all fields are filled in - /// this message, including but not limited to: `name` and `display_name`. Only - /// filled for \[`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType\] match type. + /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that matched the query. Some, not all fields are filled in + /// this message, including but not limited to: `name` and `display_name`. Only + /// filled for \[`INTENT`][google.cloud.dialogflow.cx.v3.Match.MatchType\] match type. #[prost(message, optional, tag="1")] pub intent: ::core::option::Option, - /// The event that matched the query. Filled for - /// \[`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType\], \[`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType\] and - /// \[`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType\] match types. + /// The event that matched the query. Filled for + /// \[`EVENT`][google.cloud.dialogflow.cx.v3.Match.MatchType\], \[`NO_MATCH`][google.cloud.dialogflow.cx.v3.Match.MatchType\] and + /// \[`NO_INPUT`][google.cloud.dialogflow.cx.v3.Match.MatchType\] match types. #[prost(string, tag="6")] pub event: ::prost::alloc::string::String, - /// The collection of parameters extracted from the query. + /// The collection of parameters extracted from the query. /// - /// Depending on your protocol or client library language, this is a - /// map, associative array, symbol table, dictionary, or JSON object - /// composed of a collection of (MapKey, MapValue) pairs: + /// Depending on your protocol or client library language, this is a + /// map, associative array, symbol table, dictionary, or JSON object + /// composed of a collection of (MapKey, MapValue) pairs: /// - /// * MapKey type: string - /// * MapKey value: parameter name - /// * MapValue type: If parameter's entity type is a composite entity then use - /// map, otherwise, depending on the parameter value type, it could be one of - /// string, number, boolean, null, list or map. - /// * MapValue value: If parameter's entity type is a composite entity then use - /// map from composite entity property names to property values, otherwise, - /// use parameter value. + /// * MapKey type: string + /// * MapKey value: parameter name + /// * MapValue type: If parameter's entity type is a composite entity then use + /// map, otherwise, depending on the parameter value type, it could be one of + /// string, number, boolean, null, list or map. + /// * MapValue value: If parameter's entity type is a composite entity then use + /// map from composite entity property names to property values, otherwise, + /// use parameter value. #[prost(message, optional, tag="2")] pub parameters: ::core::option::Option<::prost_types::Struct>, - /// Final text input which was matched during MatchIntent. This value can be - /// different from original input sent in request because of spelling - /// correction or other processing. + /// Final text input which was matched during MatchIntent. This value can be + /// different from original input sent in request because of spelling + /// correction or other processing. #[prost(string, tag="3")] pub resolved_input: ::prost::alloc::string::String, - /// Type of this \[Match][google.cloud.dialogflow.cx.v3.Match\]. + /// Type of this \[Match][google.cloud.dialogflow.cx.v3.Match\]. #[prost(enumeration="r#match::MatchType", tag="4")] pub match_type: i32, - /// The confidence of this match. Values range from 0.0 (completely uncertain) - /// to 1.0 (completely certain). - /// This value is for informational purpose only and is only used to help match - /// the best intent within the classification threshold. This value may change - /// for the same end-user expression at any time due to a model retraining or - /// change in implementation. + /// The confidence of this match. Values range from 0.0 (completely uncertain) + /// to 1.0 (completely certain). + /// This value is for informational purpose only and is only used to help match + /// the best intent within the classification threshold. This value may change + /// for the same end-user expression at any time due to a model retraining or + /// change in implementation. #[prost(float, tag="5")] pub confidence: f32, } /// Nested message and enum types in `Match`. pub mod r#match { - /// Type of a Match. + /// Type of a Match. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MatchType { - /// Not specified. Should never be used. + /// Not specified. Should never be used. Unspecified = 0, - /// The query was matched to an intent. + /// The query was matched to an intent. Intent = 1, - /// The query directly triggered an intent. + /// The query directly triggered an intent. DirectIntent = 2, - /// The query was used for parameter filling. + /// The query was used for parameter filling. ParameterFilling = 3, - /// No match was found for the query. + /// No match was found for the query. NoMatch = 4, - /// Indicates an empty query. + /// Indicates an empty query. NoInput = 5, - /// The query directly triggered an event. + /// The query directly triggered an event. Event = 6, } impl MatchType { @@ -5259,122 +5259,122 @@ pub mod r#match { } } } -/// Request of \[MatchIntent][\]. +/// Request of \[MatchIntent][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchIntentRequest { - /// Required. The name of the session this query is sent to. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. - /// If `Environment ID` is not specified, we assume default 'draft' - /// environment. - /// It's up to the API caller to choose an appropriate `Session ID`. It can be - /// a random number or some type of session identifiers (preferably hashed). - /// The length of the `Session ID` must not exceed 36 characters. + /// Required. The name of the session this query is sent to. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/`. + /// If `Environment ID` is not specified, we assume default 'draft' + /// environment. + /// It's up to the API caller to choose an appropriate `Session ID`. It can be + /// a random number or some type of session identifiers (preferably hashed). + /// The length of the `Session ID` must not exceed 36 characters. /// - /// For more information, see the [sessions - /// guide](). + /// For more information, see the [sessions + /// guide](). #[prost(string, tag="1")] pub session: ::prost::alloc::string::String, - /// The parameters of this query. + /// The parameters of this query. #[prost(message, optional, tag="2")] pub query_params: ::core::option::Option, - /// Required. The input specification. + /// Required. The input specification. #[prost(message, optional, tag="3")] pub query_input: ::core::option::Option, } -/// Response of \[MatchIntent][\]. +/// Response of \[MatchIntent][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct MatchIntentResponse { - /// Match results, if more than one, ordered descendingly by the confidence - /// we have that the particular intent matches the query. + /// Match results, if more than one, ordered descendingly by the confidence + /// we have that the particular intent matches the query. #[prost(message, repeated, tag="4")] pub matches: ::prost::alloc::vec::Vec, - /// The current \[Page][google.cloud.dialogflow.cx.v3.Page\]. Some, not all fields are filled in this message, - /// including but not limited to `name` and `display_name`. + /// The current \[Page][google.cloud.dialogflow.cx.v3.Page\]. Some, not all fields are filled in this message, + /// including but not limited to `name` and `display_name`. #[prost(message, optional, tag="5")] pub current_page: ::core::option::Option, - /// The original conversational query. + /// The original conversational query. #[prost(oneof="match_intent_response::Query", tags="1, 2, 3, 6")] pub query: ::core::option::Option, } /// Nested message and enum types in `MatchIntentResponse`. pub mod match_intent_response { - /// The original conversational query. + /// The original conversational query. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field - /// will contain a copy of the text. + /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field + /// will contain a copy of the text. #[prost(string, tag="1")] Text(::prost::alloc::string::String), - /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will - /// contain a copy of the intent identifier. - /// Format: `projects//locations//agents//intents/`. + /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will + /// contain a copy of the intent identifier. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="2")] TriggerIntent(::prost::alloc::string::String), - /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, - /// this field will contain the transcript for the audio. + /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, + /// this field will contain the transcript for the audio. #[prost(string, tag="3")] Transcript(::prost::alloc::string::String), - /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will - /// contain a copy of the event name. + /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will + /// contain a copy of the event name. #[prost(string, tag="6")] TriggerEvent(::prost::alloc::string::String), } } -/// Request of \[FulfillIntent][\] +/// Request of \[FulfillIntent][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct FulfillIntentRequest { - /// Must be same as the corresponding MatchIntent request, otherwise the - /// behavior is undefined. + /// Must be same as the corresponding MatchIntent request, otherwise the + /// behavior is undefined. #[prost(message, optional, tag="1")] pub match_intent_request: ::core::option::Option, - /// The matched intent/event to fulfill. + /// The matched intent/event to fulfill. #[prost(message, optional, tag="2")] pub r#match: ::core::option::Option, - /// Instructs the speech synthesizer how to generate output audio. + /// Instructs the speech synthesizer how to generate output audio. #[prost(message, optional, tag="3")] pub output_audio_config: ::core::option::Option, } -/// Response of \[FulfillIntent][\] +/// Response of \[FulfillIntent][\] #[derive(Clone, PartialEq, ::prost::Message)] pub struct FulfillIntentResponse { - /// Output only. The unique identifier of the response. It can be used to - /// locate a response in the training example set or for reporting issues. + /// Output only. The unique identifier of the response. It can be used to + /// locate a response in the training example set or for reporting issues. #[prost(string, tag="1")] pub response_id: ::prost::alloc::string::String, - /// The result of the conversational query. + /// The result of the conversational query. #[prost(message, optional, tag="2")] pub query_result: ::core::option::Option, - /// The audio data bytes encoded as specified in the request. - /// Note: The output audio is generated based on the values of default platform - /// text responses found in the - /// \[`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages\] field. If - /// multiple default text responses exist, they will be concatenated when - /// generating audio. If no default platform text responses exist, the - /// generated audio content will be empty. + /// The audio data bytes encoded as specified in the request. + /// Note: The output audio is generated based on the values of default platform + /// text responses found in the + /// \[`query_result.response_messages`][google.cloud.dialogflow.cx.v3.QueryResult.response_messages\] field. If + /// multiple default text responses exist, they will be concatenated when + /// generating audio. If no default platform text responses exist, the + /// generated audio content will be empty. /// - /// In some scenarios, multiple output audio fields may be present in the - /// response structure. In these cases, only the top-most-level audio output - /// has content. + /// In some scenarios, multiple output audio fields may be present in the + /// response structure. In these cases, only the top-most-level audio output + /// has content. #[prost(bytes="vec", tag="3")] pub output_audio: ::prost::alloc::vec::Vec, - /// The config used by the speech synthesizer to generate the output audio. + /// The config used by the speech synthesizer to generate the output audio. #[prost(message, optional, tag="4")] pub output_audio_config: ::core::option::Option, } -/// The result of sentiment analysis. Sentiment analysis inspects user input -/// and identifies the prevailing subjective opinion, especially to determine a -/// user's attitude as positive, negative, or neutral. +/// The result of sentiment analysis. Sentiment analysis inspects user input +/// and identifies the prevailing subjective opinion, especially to determine a +/// user's attitude as positive, negative, or neutral. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SentimentAnalysisResult { - /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive - /// sentiment). + /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive + /// sentiment). #[prost(float, tag="1")] pub score: f32, - /// A non-negative number in the [0, +inf) range, which represents the absolute - /// magnitude of sentiment, regardless of score (positive or negative). + /// A non-negative number in the [0, +inf) range, which represents the absolute + /// magnitude of sentiment, regardless of score (positive or negative). #[prost(float, tag="2")] pub magnitude: f32, } @@ -5555,155 +5555,155 @@ pub mod sessions_client { } } } -/// An TransitionRouteGroup represents a group of -/// \[`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute\] to be used by a \[Page][google.cloud.dialogflow.cx.v3.Page\]. +/// An TransitionRouteGroup represents a group of +/// \[`TransitionRoutes`][google.cloud.dialogflow.cx.v3.TransitionRoute\] to be used by a \[Page][google.cloud.dialogflow.cx.v3.Page\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransitionRouteGroup { - /// The unique identifier of the transition route group. - /// \[TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup\] populates the name - /// automatically. - /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. + /// The unique identifier of the transition route group. + /// \[TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup\] populates the name + /// automatically. + /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the transition route group, unique within - /// the flow. The display name can be no longer than 30 characters. + /// Required. The human-readable name of the transition route group, unique within + /// the flow. The display name can be no longer than 30 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Transition routes associated with the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\]. + /// Transition routes associated with the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\]. #[prost(message, repeated, tag="5")] pub transition_routes: ::prost::alloc::vec::Vec, } -/// The request message for \[TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups\]. +/// The request message for \[TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransitionRouteGroupsRequest { - /// Required. The flow to list all transition route groups for. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to list all transition route groups for. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The language to list transition route groups for. The following fields are - /// language dependent: + /// The language to list transition route groups for. The following fields are + /// language dependent: /// - /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` - /// * - /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` + /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` + /// * + /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` /// /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="4")] pub language_code: ::prost::alloc::string::String, } -/// The response message for \[TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups\]. +/// The response message for \[TransitionRouteGroups.ListTransitionRouteGroups][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.ListTransitionRouteGroups\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTransitionRouteGroupsResponse { - /// The list of transition route groups. There will be a maximum number of - /// items returned based on the page_size field in the request. The list may in - /// some cases be empty or contain fewer entries than page_size even if this - /// isn't the last page. + /// The list of transition route groups. There will be a maximum number of + /// items returned based on the page_size field in the request. The list may in + /// some cases be empty or contain fewer entries than page_size even if this + /// isn't the last page. #[prost(message, repeated, tag="1")] pub transition_route_groups: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup\]. +/// The request message for \[TransitionRouteGroups.GetTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.GetTransitionRouteGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTransitionRouteGroupRequest { - /// Required. The name of the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\]. - /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. + /// Required. The name of the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\]. + /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The language to retrieve the transition route group for. The following - /// fields are language dependent: + /// The language to retrieve the transition route group for. The following + /// fields are language dependent: /// - /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` - /// * - /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` + /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` + /// * + /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="2")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup\]. +/// The request message for \[TransitionRouteGroups.CreateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.CreateTransitionRouteGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTransitionRouteGroupRequest { - /// Required. The flow to create an \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] for. - /// Format: `projects//locations//agents//flows/`. + /// Required. The flow to create an \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] for. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The transition route group to create. + /// Required. The transition route group to create. #[prost(message, optional, tag="2")] pub transition_route_group: ::core::option::Option, - /// The language of the following fields in `TransitionRouteGroup`: + /// The language of the following fields in `TransitionRouteGroup`: /// - /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` - /// * - /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` + /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` + /// * + /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[TransitionRouteGroups.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup\]. +/// The request message for \[TransitionRouteGroups.UpdateTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.UpdateTransitionRouteGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTransitionRouteGroupRequest { - /// Required. The transition route group to update. + /// Required. The transition route group to update. #[prost(message, optional, tag="1")] pub transition_route_group: ::core::option::Option, - /// The mask to control which fields get updated. + /// The mask to control which fields get updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, - /// The language of the following fields in `TransitionRouteGroup`: + /// The language of the following fields in `TransitionRouteGroup`: /// - /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` - /// * - /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` + /// * `TransitionRouteGroup.transition_routes.trigger_fulfillment.messages` + /// * + /// `TransitionRouteGroup.transition_routes.trigger_fulfillment.conditional_cases` /// - /// If not specified, the agent's default language is used. - /// [Many - /// languages]() - /// are supported. - /// Note: languages must be enabled in the agent before they can be used. + /// If not specified, the agent's default language is used. + /// [Many + /// languages]() + /// are supported. + /// Note: languages must be enabled in the agent before they can be used. #[prost(string, tag="3")] pub language_code: ::prost::alloc::string::String, } -/// The request message for \[TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup\]. +/// The request message for \[TransitionRouteGroups.DeleteTransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroups.DeleteTransitionRouteGroup\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteTransitionRouteGroupRequest { - /// Required. The name of the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] to delete. - /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. + /// Required. The name of the \[TransitionRouteGroup][google.cloud.dialogflow.cx.v3.TransitionRouteGroup\] to delete. + /// Format: `projects//locations//agents//flows//transitionRouteGroups/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field has no effect for transition route group that no page is using. - /// If the transition route group is referenced by any page: + /// This field has no effect for transition route group that no page is using. + /// If the transition route group is referenced by any page: /// - /// * If `force` is set to false, an error will be returned with message + /// * If `force` is set to false, an error will be returned with message /// indicating pages that reference the transition route group. - /// * If `force` is set to true, Dialogflow will remove the transition route + /// * If `force` is set to true, Dialogflow will remove the transition route /// group, as well as any reference to it. #[prost(bool, tag="2")] pub force: bool, @@ -5895,183 +5895,183 @@ pub mod transition_route_groups_client { } } } -/// Represents a test case. +/// Represents a test case. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestCase { - /// The unique identifier of the test case. - /// \[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase\] will populate the name automatically. - /// Otherwise use format: `projects//locations//agents/ - /// /testCases/`. + /// The unique identifier of the test case. + /// \[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase\] will populate the name automatically. + /// Otherwise use format: `projects//locations//agents/ + /// /testCases/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Tags are short descriptions that users may apply to test cases for - /// organizational and filtering purposes. Each tag should start with "#" and - /// has a limit of 30 characters. + /// Tags are short descriptions that users may apply to test cases for + /// organizational and filtering purposes. Each tag should start with "#" and + /// has a limit of 30 characters. #[prost(string, repeated, tag="2")] pub tags: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Required. The human-readable name of the test case, unique within the agent. Limit of - /// 200 characters. + /// Required. The human-readable name of the test case, unique within the agent. Limit of + /// 200 characters. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Additional freeform notes about the test case. Limit of 400 characters. + /// Additional freeform notes about the test case. Limit of 400 characters. #[prost(string, tag="4")] pub notes: ::prost::alloc::string::String, - /// Config for the test case. + /// Config for the test case. #[prost(message, optional, tag="13")] pub test_config: ::core::option::Option, - /// The conversation turns uttered when the test case was created, in - /// chronological order. These include the canonical set of agent utterances - /// that should occur when the agent is working properly. + /// The conversation turns uttered when the test case was created, in + /// chronological order. These include the canonical set of agent utterances + /// that should occur when the agent is working properly. #[prost(message, repeated, tag="5")] pub test_case_conversation_turns: ::prost::alloc::vec::Vec, - /// Output only. When the test was created. + /// Output only. When the test was created. #[prost(message, optional, tag="10")] pub creation_time: ::core::option::Option<::prost_types::Timestamp>, - /// The latest test result. + /// The latest test result. #[prost(message, optional, tag="12")] pub last_test_result: ::core::option::Option, } -/// Represents a result from running a test case in an agent environment. +/// Represents a result from running a test case in an agent environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestCaseResult { - /// The resource name for the test case result. Format: - /// `projects//locations//agents//testCases/ - /// /results/`. + /// The resource name for the test case result. Format: + /// `projects//locations//agents//testCases/ + /// /results/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Environment where the test was run. If not set, it indicates the draft - /// environment. + /// Environment where the test was run. If not set, it indicates the draft + /// environment. #[prost(string, tag="2")] pub environment: ::prost::alloc::string::String, - /// The conversation turns uttered during the test case replay in chronological - /// order. + /// The conversation turns uttered during the test case replay in chronological + /// order. #[prost(message, repeated, tag="3")] pub conversation_turns: ::prost::alloc::vec::Vec, - /// Whether the test case passed in the agent environment. + /// Whether the test case passed in the agent environment. #[prost(enumeration="TestResult", tag="4")] pub test_result: i32, - /// The time that the test was run. + /// The time that the test was run. #[prost(message, optional, tag="5")] pub test_time: ::core::option::Option<::prost_types::Timestamp>, } -/// Represents configurations for a test case. +/// Represents configurations for a test case. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestConfig { - /// Session parameters to be compared when calculating differences. + /// Session parameters to be compared when calculating differences. #[prost(string, repeated, tag="1")] pub tracking_parameters: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Flow name to start the test case with. - /// Format: `projects//locations//agents//flows/`. + /// Flow name to start the test case with. + /// Format: `projects//locations//agents//flows/`. /// - /// Only one of `flow` and `page` should be set to indicate the starting point - /// of the test case. If both are set, `page` takes precedence over `flow`. If - /// neither is set, the test case will start with start page on the default - /// start flow. + /// Only one of `flow` and `page` should be set to indicate the starting point + /// of the test case. If both are set, `page` takes precedence over `flow`. If + /// neither is set, the test case will start with start page on the default + /// start flow. #[prost(string, tag="2")] pub flow: ::prost::alloc::string::String, - /// The \[page][google.cloud.dialogflow.cx.v3.Page\] to start the test case with. - /// Format: `projects//locations//agents//flows//pages/`. + /// The \[page][google.cloud.dialogflow.cx.v3.Page\] to start the test case with. + /// Format: `projects//locations//agents//flows//pages/`. /// - /// Only one of `flow` and `page` should be set to indicate the starting point - /// of the test case. If both are set, `page` takes precedence over `flow`. If - /// neither is set, the test case will start with start page on the default - /// start flow. + /// Only one of `flow` and `page` should be set to indicate the starting point + /// of the test case. If both are set, `page` takes precedence over `flow`. If + /// neither is set, the test case will start with start page on the default + /// start flow. #[prost(string, tag="3")] pub page: ::prost::alloc::string::String, } -/// One interaction between a human and virtual agent. The human provides some -/// input and the virtual agent provides a response. +/// One interaction between a human and virtual agent. The human provides some +/// input and the virtual agent provides a response. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConversationTurn { - /// The user input. + /// The user input. #[prost(message, optional, tag="1")] pub user_input: ::core::option::Option, - /// The virtual agent output. + /// The virtual agent output. #[prost(message, optional, tag="2")] pub virtual_agent_output: ::core::option::Option, } /// Nested message and enum types in `ConversationTurn`. pub mod conversation_turn { - /// The input from the human user. + /// The input from the human user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UserInput { - /// Supports [text input]\[google.cloud.dialogflow.cx.v3.QueryInput.text\], [event input]\[google.cloud.dialogflow.cx.v3.QueryInput.event\], - /// [dtmf input]\[google.cloud.dialogflow.cx.v3.QueryInput.dtmf\] in the test case. + /// Supports [text input]\[google.cloud.dialogflow.cx.v3.QueryInput.text\], [event input]\[google.cloud.dialogflow.cx.v3.QueryInput.event\], + /// [dtmf input]\[google.cloud.dialogflow.cx.v3.QueryInput.dtmf\] in the test case. #[prost(message, optional, tag="5")] pub input: ::core::option::Option, - /// Parameters that need to be injected into the conversation during intent - /// detection. + /// Parameters that need to be injected into the conversation during intent + /// detection. #[prost(message, optional, tag="2")] pub injected_parameters: ::core::option::Option<::prost_types::Struct>, - /// If webhooks should be allowed to trigger in response to the user - /// utterance. Often if parameters are injected, webhooks should not be - /// enabled. + /// If webhooks should be allowed to trigger in response to the user + /// utterance. Often if parameters are injected, webhooks should not be + /// enabled. #[prost(bool, tag="3")] pub is_webhook_enabled: bool, - /// Whether sentiment analysis is enabled. + /// Whether sentiment analysis is enabled. #[prost(bool, tag="7")] pub enable_sentiment_analysis: bool, } - /// The output from the virtual agent. + /// The output from the virtual agent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VirtualAgentOutput { - /// The session parameters available to the bot at this point. + /// The session parameters available to the bot at this point. #[prost(message, optional, tag="4")] pub session_parameters: ::core::option::Option<::prost_types::Struct>, - /// Output only. If this is part of a [result conversation - /// turn]\[TestCaseResult.conversation_turns\], the list of differences - /// between the original run and the replay for this output, if any. + /// Output only. If this is part of a [result conversation + /// turn]\[TestCaseResult.conversation_turns\], the list of differences + /// between the original run and the replay for this output, if any. #[prost(message, repeated, tag="5")] pub differences: ::prost::alloc::vec::Vec, - /// Required. Input only. The diagnostic - /// \[info][Session.DetectIntentResponse.QueryResult.diagnostic_info\] - /// output for the turn. Required to calculate the testing coverage. + /// Required. Input only. The diagnostic + /// \[info][Session.DetectIntentResponse.QueryResult.diagnostic_info\] + /// output for the turn. Required to calculate the testing coverage. #[prost(message, optional, tag="6")] pub diagnostic_info: ::core::option::Option<::prost_types::Struct>, - /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that triggered the response. Only name and displayName - /// will be set. + /// The \[Intent][google.cloud.dialogflow.cx.v3.Intent\] that triggered the response. Only name and displayName + /// will be set. #[prost(message, optional, tag="7")] pub triggered_intent: ::core::option::Option, - /// The \[Page][google.cloud.dialogflow.cx.v3.Page\] on which the utterance was spoken. Only name and displayName - /// will be set. + /// The \[Page][google.cloud.dialogflow.cx.v3.Page\] on which the utterance was spoken. Only name and displayName + /// will be set. #[prost(message, optional, tag="8")] pub current_page: ::core::option::Option, - /// The \[text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text\] responses from the agent for the turn. + /// The \[text][google.cloud.dialogflow.cx.v3.ResponseMessage.Text\] responses from the agent for the turn. #[prost(message, repeated, tag="9")] pub text_responses: ::prost::alloc::vec::Vec, - /// Response error from the agent in the test result. If set, other output - /// is empty. + /// Response error from the agent in the test result. If set, other output + /// is empty. #[prost(message, optional, tag="10")] pub status: ::core::option::Option, } } -/// The description of differences between original and replayed agent output. +/// The description of differences between original and replayed agent output. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestRunDifference { - /// The type of diff. + /// The type of diff. #[prost(enumeration="test_run_difference::DiffType", tag="1")] pub r#type: i32, - /// A description of the diff, showing the actual output vs expected output. + /// A description of the diff, showing the actual output vs expected output. #[prost(string, tag="2")] pub description: ::prost::alloc::string::String, } /// Nested message and enum types in `TestRunDifference`. pub mod test_run_difference { - /// What part of the message replay differs from the test case. + /// What part of the message replay differs from the test case. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DiffType { - /// Should never be used. + /// Should never be used. Unspecified = 0, - /// The intent. + /// The intent. Intent = 1, - /// The page. + /// The page. Page = 2, - /// The parameters. + /// The parameters. Parameters = 3, - /// The message utterance. + /// The message utterance. Utterance = 4, } impl DiffType { @@ -6090,169 +6090,169 @@ pub mod test_run_difference { } } } -/// Transition coverage represents the percentage of all possible page -/// transitions (page-level transition routes and event handlers, excluding -/// transition route groups) present within any of a parent's test cases. +/// Transition coverage represents the percentage of all possible page +/// transitions (page-level transition routes and event handlers, excluding +/// transition route groups) present within any of a parent's test cases. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransitionCoverage { - /// The list of Transitions present in the agent. + /// The list of Transitions present in the agent. #[prost(message, repeated, tag="1")] pub transitions: ::prost::alloc::vec::Vec, - /// The percent of transitions in the agent that are covered. + /// The percent of transitions in the agent that are covered. #[prost(float, tag="2")] pub coverage_score: f32, } /// Nested message and enum types in `TransitionCoverage`. pub mod transition_coverage { - /// The source or target of a transition. + /// The source or target of a transition. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransitionNode { - /// A TransitionNode can be either a page or a flow. + /// A TransitionNode can be either a page or a flow. #[prost(oneof="transition_node::Kind", tags="1, 2")] pub kind: ::core::option::Option, } /// Nested message and enum types in `TransitionNode`. pub mod transition_node { - /// A TransitionNode can be either a page or a flow. + /// A TransitionNode can be either a page or a flow. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Kind { - /// Indicates a transition to a \[Page][google.cloud.dialogflow.cx.v3.Page\]. Only some fields such as name and - /// displayname will be set. + /// Indicates a transition to a \[Page][google.cloud.dialogflow.cx.v3.Page\]. Only some fields such as name and + /// displayname will be set. #[prost(message, tag="1")] Page(super::super::Page), - /// Indicates a transition to a \[Flow][google.cloud.dialogflow.cx.v3.Flow\]. Only some fields such as name and - /// displayname will be set. + /// Indicates a transition to a \[Flow][google.cloud.dialogflow.cx.v3.Flow\]. Only some fields such as name and + /// displayname will be set. #[prost(message, tag="2")] Flow(super::super::Flow), } } - /// A transition in a page. + /// A transition in a page. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transition { - /// The start node of a transition. + /// The start node of a transition. #[prost(message, optional, tag="1")] pub source: ::core::option::Option, - /// The index of a transition in the transition list. Starting from 0. + /// The index of a transition in the transition list. Starting from 0. #[prost(int32, tag="4")] pub index: i32, - /// The end node of a transition. + /// The end node of a transition. #[prost(message, optional, tag="2")] pub target: ::core::option::Option, - /// Whether or not the transition is covered by at least one of the - /// agent's test cases. + /// Whether or not the transition is covered by at least one of the + /// agent's test cases. #[prost(bool, tag="3")] pub covered: bool, - /// The detailed transition. + /// The detailed transition. #[prost(oneof="transition::Detail", tags="5, 6")] pub detail: ::core::option::Option, } /// Nested message and enum types in `Transition`. pub mod transition { - /// The detailed transition. + /// The detailed transition. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Detail { - /// Intent route or condition route. + /// Intent route or condition route. #[prost(message, tag="5")] TransitionRoute(super::super::TransitionRoute), - /// Event handler. + /// Event handler. #[prost(message, tag="6")] EventHandler(super::super::EventHandler), } } } -/// Transition route group coverage represents the percentage of all possible -/// transition routes present within any of a parent's test cases. The results -/// are grouped by the transition route group. +/// Transition route group coverage represents the percentage of all possible +/// transition routes present within any of a parent's test cases. The results +/// are grouped by the transition route group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TransitionRouteGroupCoverage { - /// Transition route group coverages. + /// Transition route group coverages. #[prost(message, repeated, tag="1")] pub coverages: ::prost::alloc::vec::Vec, - /// The percent of transition routes in all the transition route groups that - /// are covered. + /// The percent of transition routes in all the transition route groups that + /// are covered. #[prost(float, tag="2")] pub coverage_score: f32, } /// Nested message and enum types in `TransitionRouteGroupCoverage`. pub mod transition_route_group_coverage { - /// Coverage result message for one transition route group. + /// Coverage result message for one transition route group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Coverage { - /// Transition route group metadata. Only name and displayName will be set. + /// Transition route group metadata. Only name and displayName will be set. #[prost(message, optional, tag="1")] pub route_group: ::core::option::Option, - /// The list of transition routes and coverage in the transition route group. + /// The list of transition routes and coverage in the transition route group. #[prost(message, repeated, tag="2")] pub transitions: ::prost::alloc::vec::Vec, - /// The percent of transition routes in the transition route group that are - /// covered. + /// The percent of transition routes in the transition route group that are + /// covered. #[prost(float, tag="3")] pub coverage_score: f32, } /// Nested message and enum types in `Coverage`. pub mod coverage { - /// A transition coverage in a transition route group. + /// A transition coverage in a transition route group. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Transition { - /// Intent route or condition route. + /// Intent route or condition route. #[prost(message, optional, tag="1")] pub transition_route: ::core::option::Option, - /// Whether or not the transition route is covered by at least one of the - /// agent's test cases. + /// Whether or not the transition route is covered by at least one of the + /// agent's test cases. #[prost(bool, tag="2")] pub covered: bool, } } } -/// Intent coverage represents the percentage of all possible intents in the -/// agent that are triggered in any of a parent's test cases. +/// Intent coverage represents the percentage of all possible intents in the +/// agent that are triggered in any of a parent's test cases. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentCoverage { - /// The list of Intents present in the agent + /// The list of Intents present in the agent #[prost(message, repeated, tag="1")] pub intents: ::prost::alloc::vec::Vec, - /// The percent of intents in the agent that are covered. + /// The percent of intents in the agent that are covered. #[prost(float, tag="2")] pub coverage_score: f32, } /// Nested message and enum types in `IntentCoverage`. pub mod intent_coverage { - /// The agent's intent. + /// The agent's intent. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Intent { - /// The intent full resource name + /// The intent full resource name #[prost(string, tag="1")] pub intent: ::prost::alloc::string::String, - /// Whether or not the intent is covered by at least one of the agent's - /// test cases. + /// Whether or not the intent is covered by at least one of the agent's + /// test cases. #[prost(bool, tag="2")] pub covered: bool, } } -/// The request message for \[TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage\]. +/// The request message for \[TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateCoverageRequest { - /// Required. The agent to calculate coverage for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to calculate coverage for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="3")] pub agent: ::prost::alloc::string::String, - /// Required. The type of coverage requested. + /// Required. The type of coverage requested. #[prost(enumeration="calculate_coverage_request::CoverageType", tag="2")] pub r#type: i32, } /// Nested message and enum types in `CalculateCoverageRequest`. pub mod calculate_coverage_request { - /// The type of coverage score requested. + /// The type of coverage score requested. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CoverageType { - /// Should never be used. + /// Should never be used. Unspecified = 0, - /// Intent coverage. + /// Intent coverage. Intent = 1, - /// Page transition coverage. + /// Page transition coverage. PageTransition = 2, - /// Transition route group coverage. + /// Transition route group coverage. TransitionRouteGroup = 3, } impl CoverageType { @@ -6270,65 +6270,65 @@ pub mod calculate_coverage_request { } } } -/// The response message for \[TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage\]. +/// The response message for \[TestCases.CalculateCoverage][google.cloud.dialogflow.cx.v3.TestCases.CalculateCoverage\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CalculateCoverageResponse { - /// The agent to calculate coverage for. - /// Format: `projects//locations//agents/`. + /// The agent to calculate coverage for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="5")] pub agent: ::prost::alloc::string::String, - /// The type of coverage requested. + /// The type of coverage requested. #[prost(oneof="calculate_coverage_response::CoverageType", tags="2, 4, 6")] pub coverage_type: ::core::option::Option, } /// Nested message and enum types in `CalculateCoverageResponse`. pub mod calculate_coverage_response { - /// The type of coverage requested. + /// The type of coverage requested. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum CoverageType { - /// Intent coverage. + /// Intent coverage. #[prost(message, tag="2")] IntentCoverage(super::IntentCoverage), - /// Transition (excluding transition route groups) coverage. + /// Transition (excluding transition route groups) coverage. #[prost(message, tag="4")] TransitionCoverage(super::TransitionCoverage), - /// Transition route group coverage. + /// Transition route group coverage. #[prost(message, tag="6")] RouteGroupCoverage(super::TransitionRouteGroupCoverage), } } -/// The request message for \[TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases\]. +/// The request message for \[TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTestCasesRequest { - /// Required. The agent to list all pages for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to list all pages for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 20. - /// Note that when TestCaseView = FULL, the maximum page size allowed is 20. - /// When TestCaseView = BASIC, the maximum page size allowed is 500. + /// The maximum number of items to return in a single page. By default 20. + /// Note that when TestCaseView = FULL, the maximum page size allowed is 20. + /// When TestCaseView = BASIC, the maximum page size allowed is 500. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// Specifies whether response should include all fields or just the metadata. + /// Specifies whether response should include all fields or just the metadata. #[prost(enumeration="list_test_cases_request::TestCaseView", tag="4")] pub view: i32, } /// Nested message and enum types in `ListTestCasesRequest`. pub mod list_test_cases_request { - /// Specifies how much test case information to include in the response. + /// Specifies how much test case information to include in the response. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TestCaseView { - /// The default / unset value. - /// The API will default to the BASIC view. + /// The default / unset value. + /// The API will default to the BASIC view. Unspecified = 0, - /// Include basic metadata about the test case, but not the conversation - /// turns. This is the default value. + /// Include basic metadata about the test case, but not the conversation + /// turns. This is the default value. Basic = 1, - /// Include everything. + /// Include everything. Full = 2, } impl TestCaseView { @@ -6345,231 +6345,231 @@ pub mod list_test_cases_request { } } } -/// The response message for \[TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases\]. +/// The response message for \[TestCases.ListTestCases][google.cloud.dialogflow.cx.v3.TestCases.ListTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTestCasesResponse { - /// The list of test cases. There will be a maximum number of items returned - /// based on the page_size field in the request. + /// The list of test cases. There will be a maximum number of items returned + /// based on the page_size field in the request. #[prost(message, repeated, tag="1")] pub test_cases: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[TestCases.BatchDeleteTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases\]. +/// The request message for \[TestCases.BatchDeleteTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchDeleteTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchDeleteTestCasesRequest { - /// Required. The agent to delete test cases from. - /// Format: `projects//locations//agents/`. + /// Required. The agent to delete test cases from. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. Format of test case names: `projects//locations/ - /// /agents//testCases/`. + /// Required. Format of test case names: `projects//locations/ + /// /agents//testCases/`. #[prost(string, repeated, tag="3")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The request message for \[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase\]. +/// The request message for \[TestCases.CreateTestCase][google.cloud.dialogflow.cx.v3.TestCases.CreateTestCase\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateTestCaseRequest { - /// Required. The agent to create the test case for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to create the test case for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The test case to create. + /// Required. The test case to create. #[prost(message, optional, tag="2")] pub test_case: ::core::option::Option, } -/// The request message for \[TestCases.UpdateTestCase][google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase\]. +/// The request message for \[TestCases.UpdateTestCase][google.cloud.dialogflow.cx.v3.TestCases.UpdateTestCase\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateTestCaseRequest { - /// Required. The test case to update. + /// Required. The test case to update. #[prost(message, optional, tag="1")] pub test_case: ::core::option::Option, - /// Required. The mask to specify which fields should be updated. The - /// \[`creationTime`][google.cloud.dialogflow.cx.v3.TestCase.creation_time\] and - /// \[`lastTestResult`][google.cloud.dialogflow.cx.v3.TestCase.last_test_result\] cannot be updated. + /// Required. The mask to specify which fields should be updated. The + /// \[`creationTime`][google.cloud.dialogflow.cx.v3.TestCase.creation_time\] and + /// \[`lastTestResult`][google.cloud.dialogflow.cx.v3.TestCase.last_test_result\] cannot be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[TestCases.GetTestCase][google.cloud.dialogflow.cx.v3.TestCases.GetTestCase\]. +/// The request message for \[TestCases.GetTestCase][google.cloud.dialogflow.cx.v3.TestCases.GetTestCase\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTestCaseRequest { - /// Required. The name of the testcase. - /// Format: `projects//locations//agents//testCases/`. + /// Required. The name of the testcase. + /// Format: `projects//locations//agents//testCases/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\]. +/// The request message for \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunTestCaseRequest { - /// Required. Format of test case name to run: `projects//locations/ - /// /agents//testCases/`. + /// Required. Format of test case name to run: `projects//locations/ + /// /agents//testCases/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Optional. Environment name. If not set, draft environment is assumed. - /// Format: `projects//locations//agents//environments/`. + /// Optional. Environment name. If not set, draft environment is assumed. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="2")] pub environment: ::prost::alloc::string::String, } -/// The response message for \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\]. +/// The response message for \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunTestCaseResponse { - /// The result. + /// The result. #[prost(message, optional, tag="2")] pub result: ::core::option::Option, } -/// Metadata returned for the \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\] long running operation. -/// This message currently has no fields. +/// Metadata returned for the \[TestCases.RunTestCase][google.cloud.dialogflow.cx.v3.TestCases.RunTestCase\] long running operation. +/// This message currently has no fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunTestCaseMetadata { } -/// The request message for \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\]. +/// The request message for \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunTestCasesRequest { - /// Required. Agent name. Format: `projects//locations//agents/ - /// `. + /// Required. Agent name. Format: `projects//locations//agents/ + /// `. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Optional. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`. + /// Optional. If not set, draft environment is assumed. Format: `projects//locations//agents//environments/`. #[prost(string, tag="2")] pub environment: ::prost::alloc::string::String, - /// Required. Format: `projects//locations//agents//testCases/`. + /// Required. Format: `projects//locations//agents//testCases/`. #[prost(string, repeated, tag="3")] pub test_cases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// The response message for \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\]. +/// The response message for \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunTestCasesResponse { - /// The test case results. The detailed - /// [conversation turns]\[google.cloud.dialogflow.cx.v3.TestCaseResult.conversation_turns\] are empty in this - /// response. + /// The test case results. The detailed + /// [conversation turns]\[google.cloud.dialogflow.cx.v3.TestCaseResult.conversation_turns\] are empty in this + /// response. #[prost(message, repeated, tag="1")] pub results: ::prost::alloc::vec::Vec, } -/// Metadata returned for the \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\] long running -/// operation. +/// Metadata returned for the \[TestCases.BatchRunTestCases][google.cloud.dialogflow.cx.v3.TestCases.BatchRunTestCases\] long running +/// operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct BatchRunTestCasesMetadata { - /// The test errors. + /// The test errors. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, } -/// Error info for running a test. +/// Error info for running a test. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestError { - /// The test case resource name. + /// The test case resource name. #[prost(string, tag="1")] pub test_case: ::prost::alloc::string::String, - /// The status associated with the test. + /// The status associated with the test. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, - /// The timestamp when the test was completed. + /// The timestamp when the test was completed. #[prost(message, optional, tag="3")] pub test_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request message for \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\]. +/// The request message for \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTestCasesRequest { - /// Required. The agent to import test cases to. - /// Format: `projects//locations//agents/`. + /// Required. The agent to import test cases to. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The source to import. + /// Required. The source to import. #[prost(oneof="import_test_cases_request::Source", tags="2, 3")] pub source: ::core::option::Option, } /// Nested message and enum types in `ImportTestCasesRequest`. pub mod import_test_cases_request { - /// Required. The source to import. + /// Required. The source to import. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Source { - /// The [Google Cloud Storage]() URI - /// to import test cases from. The format of this URI must be - /// `gs:///`. + /// The [Google Cloud Storage]() URI + /// to import test cases from. The format of this URI must be + /// `gs:///`. /// - /// Dialogflow performs a read operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have read permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a read operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have read permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] GcsUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for test cases. + /// Uncompressed raw byte content for test cases. #[prost(bytes, tag="3")] Content(::prost::alloc::vec::Vec), } } -/// The response message for \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\]. +/// The response message for \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTestCasesResponse { - /// The unique identifiers of the new test cases. - /// Format: `projects//locations//agents//testCases/`. + /// The unique identifiers of the new test cases. + /// Format: `projects//locations//agents//testCases/`. #[prost(string, repeated, tag="1")] pub names: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, } -/// Metadata returned for the \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\] long running -/// operation. +/// Metadata returned for the \[TestCases.ImportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ImportTestCases\] long running +/// operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ImportTestCasesMetadata { - /// Errors for failed test cases. + /// Errors for failed test cases. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, } -/// Error info for importing a test. +/// Error info for importing a test. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestCaseError { - /// The test case. + /// The test case. #[prost(message, optional, tag="1")] pub test_case: ::core::option::Option, - /// The status associated with the test case. + /// The status associated with the test case. #[prost(message, optional, tag="2")] pub status: ::core::option::Option, } -/// The request message for \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\]. +/// The request message for \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTestCasesRequest { - /// Required. The agent where to export test cases from. - /// Format: `projects//locations//agents/`. + /// Required. The agent where to export test cases from. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The data format of the exported test cases. If not specified, `BLOB` is - /// assumed. + /// The data format of the exported test cases. If not specified, `BLOB` is + /// assumed. #[prost(enumeration="export_test_cases_request::DataFormat", tag="3")] pub data_format: i32, - /// The filter expression used to filter exported test cases, see - /// [API Filtering](). The expression is case insensitive - /// and supports the following syntax: + /// The filter expression used to filter exported test cases, see + /// [API Filtering](). The expression is case insensitive + /// and supports the following syntax: /// /// name = [OR name = ] ... /// - /// For example: + /// For example: /// - /// * "name = t1 OR name = t2" matches the test case with the exact resource + /// * "name = t1 OR name = t2" matches the test case with the exact resource /// name "t1" or "t2". #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, - /// The destination to export. + /// The destination to export. #[prost(oneof="export_test_cases_request::Destination", tags="2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportTestCasesRequest`. pub mod export_test_cases_request { - /// Data format of the exported test cases. + /// Data format of the exported test cases. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum DataFormat { - /// Unspecified format. + /// Unspecified format. Unspecified = 0, - /// Raw bytes. + /// Raw bytes. Blob = 1, - /// JSON format. + /// JSON format. Json = 2, } impl DataFormat { @@ -6585,123 +6585,123 @@ pub mod export_test_cases_request { } } } - /// The destination to export. + /// The destination to export. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The [Google Cloud Storage]() URI to - /// export the test cases to. The format of this URI must be - /// `gs:///`. If unspecified, the serialized test - /// cases is returned inline. + /// The [Google Cloud Storage]() URI to + /// export the test cases to. The format of this URI must be + /// `gs:///`. If unspecified, the serialized test + /// cases is returned inline. /// - /// Dialogflow performs a write operation for the Cloud Storage object - /// on the caller's behalf, so your request authentication must - /// have write permissions for the object. For more information, see - /// [Dialogflow access - /// control](). + /// Dialogflow performs a write operation for the Cloud Storage object + /// on the caller's behalf, so your request authentication must + /// have write permissions for the object. For more information, see + /// [Dialogflow access + /// control](). #[prost(string, tag="2")] GcsUri(::prost::alloc::string::String), } } -/// The response message for \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\]. +/// The response message for \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTestCasesResponse { - /// The exported test cases. + /// The exported test cases. #[prost(oneof="export_test_cases_response::Destination", tags="1, 2")] pub destination: ::core::option::Option, } /// Nested message and enum types in `ExportTestCasesResponse`. pub mod export_test_cases_response { - /// The exported test cases. + /// The exported test cases. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Destination { - /// The URI to a file containing the exported test cases. This field is - /// populated only if `gcs_uri` is specified in - /// \[ExportTestCasesRequest][google.cloud.dialogflow.cx.v3.ExportTestCasesRequest\]. + /// The URI to a file containing the exported test cases. This field is + /// populated only if `gcs_uri` is specified in + /// \[ExportTestCasesRequest][google.cloud.dialogflow.cx.v3.ExportTestCasesRequest\]. #[prost(string, tag="1")] GcsUri(::prost::alloc::string::String), - /// Uncompressed raw byte content for test cases. + /// Uncompressed raw byte content for test cases. #[prost(bytes, tag="2")] Content(::prost::alloc::vec::Vec), } } -/// Metadata returned for the \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\] long running -/// operation. -/// This message currently has no fields. +/// Metadata returned for the \[TestCases.ExportTestCases][google.cloud.dialogflow.cx.v3.TestCases.ExportTestCases\] long running +/// operation. +/// This message currently has no fields. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ExportTestCasesMetadata { } -/// The request message for \[TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults\]. +/// The request message for \[TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTestCaseResultsRequest { - /// Required. The test case to list results for. - /// Format: `projects//locations//agents// - /// testCases/`. Specify a `-` as a wildcard for TestCase ID to - /// list results across multiple test cases. + /// Required. The test case to list results for. + /// Format: `projects//locations//agents// + /// testCases/`. Specify a `-` as a wildcard for TestCase ID to + /// list results across multiple test cases. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, - /// The filter expression used to filter test case results. See - /// [API Filtering](). + /// The filter expression used to filter test case results. See + /// [API Filtering](). /// - /// The expression is case insensitive. Only 'AND' is supported for logical - /// operators. The supported syntax is listed below in detail: + /// The expression is case insensitive. Only 'AND' is supported for logical + /// operators. The supported syntax is listed below in detail: /// /// [AND ] ... /// [AND latest] /// - /// The supported fields and operators are: - /// field operator - /// `environment` `=`, `IN` (Use value `draft` for draft environment) - /// `test_time` `>`, `<` + /// The supported fields and operators are: + /// field operator + /// `environment` `=`, `IN` (Use value `draft` for draft environment) + /// `test_time` `>`, `<` /// - /// `latest` only returns the latest test result in all results for each test - /// case. + /// `latest` only returns the latest test result in all results for each test + /// case. /// - /// Examples: - /// * "environment=draft AND latest" matches the latest test result for each + /// Examples: + /// * "environment=draft AND latest" matches the latest test result for each /// test case in the draft environment. - /// * "environment IN (e1,e2)" matches any test case results with an + /// * "environment IN (e1,e2)" matches any test case results with an /// environment resource name of either "e1" or "e2". - /// * "test_time > 1602540713" matches any test case results with test time + /// * "test_time > 1602540713" matches any test case results with test time /// later than a unix timestamp in seconds 1602540713. #[prost(string, tag="4")] pub filter: ::prost::alloc::string::String, } -/// The response message for \[TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults\]. +/// The response message for \[TestCases.ListTestCaseResults][google.cloud.dialogflow.cx.v3.TestCases.ListTestCaseResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListTestCaseResultsResponse { - /// The list of test case results. + /// The list of test case results. #[prost(message, repeated, tag="1")] pub test_case_results: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[TestCases.GetTestCaseResult][google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult\]. +/// The request message for \[TestCases.GetTestCaseResult][google.cloud.dialogflow.cx.v3.TestCases.GetTestCaseResult\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetTestCaseResultRequest { - /// Required. The name of the testcase. - /// Format: `projects//locations//agents//testCases//results/`. + /// Required. The name of the testcase. + /// Format: `projects//locations//agents//testCases//results/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The test result for a test case and an agent environment. +/// The test result for a test case and an agent environment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum TestResult { - /// Not specified. Should never be used. + /// Not specified. Should never be used. Unspecified = 0, - /// The test passed. + /// The test passed. Passed = 1, - /// The test did not pass. + /// The test did not pass. Failed = 2, } impl TestResult { @@ -7073,355 +7073,355 @@ pub mod test_cases_client { } } } -/// Webhooks host the developer's business logic. During a session, webhooks -/// allow the developer to use the data extracted by Dialogflow's natural -/// language processing to generate dynamic responses, validate collected data, -/// or trigger actions on the backend. +/// Webhooks host the developer's business logic. During a session, webhooks +/// allow the developer to use the data extracted by Dialogflow's natural +/// language processing to generate dynamic responses, validate collected data, +/// or trigger actions on the backend. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Webhook { - /// The unique identifier of the webhook. - /// Required for the \[Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook\] method. - /// \[Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook\] populates the name automatically. - /// Format: `projects//locations//agents//webhooks/`. + /// The unique identifier of the webhook. + /// Required for the \[Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook\] method. + /// \[Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook\] populates the name automatically. + /// Format: `projects//locations//agents//webhooks/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the webhook, unique within the agent. + /// Required. The human-readable name of the webhook, unique within the agent. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Webhook execution timeout. Execution is considered failed if Dialogflow - /// doesn't receive a response from webhook at the end of the timeout period. - /// Defaults to 5 seconds, maximum allowed timeout is 30 seconds. + /// Webhook execution timeout. Execution is considered failed if Dialogflow + /// doesn't receive a response from webhook at the end of the timeout period. + /// Defaults to 5 seconds, maximum allowed timeout is 30 seconds. #[prost(message, optional, tag="6")] pub timeout: ::core::option::Option<::prost_types::Duration>, - /// Indicates whether the webhook is disabled. + /// Indicates whether the webhook is disabled. #[prost(bool, tag="5")] pub disabled: bool, - /// Required. The webhook configuration. + /// Required. The webhook configuration. #[prost(oneof="webhook::Webhook", tags="4, 7")] pub webhook: ::core::option::Option, } /// Nested message and enum types in `Webhook`. pub mod webhook { - /// Represents configuration for a generic web service. + /// Represents configuration for a generic web service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GenericWebService { - /// Required. The webhook URI for receiving POST requests. It must use https protocol. + /// Required. The webhook URI for receiving POST requests. It must use https protocol. #[prost(string, tag="1")] pub uri: ::prost::alloc::string::String, - /// The user name for HTTP Basic authentication. + /// The user name for HTTP Basic authentication. #[deprecated] #[prost(string, tag="2")] pub username: ::prost::alloc::string::String, - /// The password for HTTP Basic authentication. + /// The password for HTTP Basic authentication. #[deprecated] #[prost(string, tag="3")] pub password: ::prost::alloc::string::String, - /// The HTTP request headers to send together with webhook - /// requests. + /// The HTTP request headers to send together with webhook + /// requests. #[prost(map="string, string", tag="4")] pub request_headers: ::std::collections::HashMap<::prost::alloc::string::String, ::prost::alloc::string::String>, - /// Optional. Specifies a list of allowed custom CA certificates (in DER format) for - /// HTTPS verification. This overrides the default SSL trust store. If this - /// is empty or unspecified, Dialogflow will use Google's default trust store - /// to verify certificates. - /// N.B. Make sure the HTTPS server certificates are signed with "subject alt - /// name". For instance a certificate can be self-signed using the following - /// command, - /// ``` + /// Optional. Specifies a list of allowed custom CA certificates (in DER format) for + /// HTTPS verification. This overrides the default SSL trust store. If this + /// is empty or unspecified, Dialogflow will use Google's default trust store + /// to verify certificates. + /// N.B. Make sure the HTTPS server certificates are signed with "subject alt + /// name". For instance a certificate can be self-signed using the following + /// command, + /// ``` /// openssl x509 -req -days 200 -in example.com.csr \ /// -signkey example.com.key \ /// -out example.com.crt \ /// -extfile <(printf "\nsubjectAltName='DNS:www.example.com'") - /// ``` + /// ``` #[prost(bytes="vec", repeated, tag="5")] pub allowed_ca_certs: ::prost::alloc::vec::Vec<::prost::alloc::vec::Vec>, } - /// Represents configuration for a [Service - /// Directory]() service. + /// Represents configuration for a [Service + /// Directory]() service. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ServiceDirectoryConfig { - /// Required. The name of [Service - /// Directory]() service. - /// Format: `projects//locations//namespaces//services/`. - /// `Location ID` of the service directory must be the same as the location - /// of the agent. + /// Required. The name of [Service + /// Directory]() service. + /// Format: `projects//locations//namespaces//services/`. + /// `Location ID` of the service directory must be the same as the location + /// of the agent. #[prost(string, tag="1")] pub service: ::prost::alloc::string::String, - /// Generic Service configuration of this webhook. + /// Generic Service configuration of this webhook. #[prost(message, optional, tag="2")] pub generic_web_service: ::core::option::Option, } - /// Required. The webhook configuration. + /// Required. The webhook configuration. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Webhook { - /// Configuration for a generic web service. + /// Configuration for a generic web service. #[prost(message, tag="4")] GenericWebService(GenericWebService), - /// Configuration for a [Service - /// Directory]() service. + /// Configuration for a [Service + /// Directory]() service. #[prost(message, tag="7")] ServiceDirectory(ServiceDirectoryConfig), } } -/// The request message for \[Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks\]. +/// The request message for \[Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWebhooksRequest { - /// Required. The agent to list all webhooks for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to list all webhooks for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks\]. +/// The response message for \[Webhooks.ListWebhooks][google.cloud.dialogflow.cx.v3.Webhooks.ListWebhooks\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListWebhooksResponse { - /// The list of webhooks. There will be a maximum number of items returned - /// based on the page_size field in the request. + /// The list of webhooks. There will be a maximum number of items returned + /// based on the page_size field in the request. #[prost(message, repeated, tag="1")] pub webhooks: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook\]. +/// The request message for \[Webhooks.GetWebhook][google.cloud.dialogflow.cx.v3.Webhooks.GetWebhook\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetWebhookRequest { - /// Required. The name of the webhook. - /// Format: `projects//locations//agents//webhooks/`. + /// Required. The name of the webhook. + /// Format: `projects//locations//agents//webhooks/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook\]. +/// The request message for \[Webhooks.CreateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.CreateWebhook\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateWebhookRequest { - /// Required. The agent to create a webhook for. - /// Format: `projects//locations//agents/`. + /// Required. The agent to create a webhook for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The webhook to create. + /// Required. The webhook to create. #[prost(message, optional, tag="2")] pub webhook: ::core::option::Option, } -/// The request message for \[Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook\]. +/// The request message for \[Webhooks.UpdateWebhook][google.cloud.dialogflow.cx.v3.Webhooks.UpdateWebhook\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateWebhookRequest { - /// Required. The webhook to update. + /// Required. The webhook to update. #[prost(message, optional, tag="1")] pub webhook: ::core::option::Option, - /// The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook\]. +/// The request message for \[Webhooks.DeleteWebhook][google.cloud.dialogflow.cx.v3.Webhooks.DeleteWebhook\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteWebhookRequest { - /// Required. The name of the webhook to delete. - /// Format: `projects//locations//agents//webhooks/`. + /// Required. The name of the webhook to delete. + /// Format: `projects//locations//agents//webhooks/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// This field has no effect for webhook not being used. - /// For webhooks that are used by pages/flows/transition route groups: + /// This field has no effect for webhook not being used. + /// For webhooks that are used by pages/flows/transition route groups: /// - /// * If `force` is set to false, an error will be returned with message + /// * If `force` is set to false, an error will be returned with message /// indicating the referenced resources. - /// * If `force` is set to true, Dialogflow will remove the webhook, as well + /// * If `force` is set to true, Dialogflow will remove the webhook, as well /// as any references to the webhook (i.e. \[Webhook][google.cloud.dialogflow.cx.v3.Fulfillment.webhook\] /// and \[tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag\]in fulfillments that point to this webhook /// will be removed). #[prost(bool, tag="2")] pub force: bool, } -/// The request message for a webhook call. The request is sent as a JSON object -/// and the field names will be presented in camel cases. +/// The request message for a webhook call. The request is sent as a JSON object +/// and the field names will be presented in camel cases. /// -/// You may see undocumented fields in an actual request. These fields are used -/// internally by Dialogflow and should be ignored. +/// You may see undocumented fields in an actual request. These fields are used +/// internally by Dialogflow and should be ignored. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookRequest { - /// Always present. The unique identifier of the \[DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse\] that - /// will be returned to the API caller. + /// Always present. The unique identifier of the \[DetectIntentResponse][google.cloud.dialogflow.cx.v3.DetectIntentResponse\] that + /// will be returned to the API caller. #[prost(string, tag="1")] pub detect_intent_response_id: ::prost::alloc::string::String, - /// The language code specified in the [original - /// request]\[QueryInput.language_code\]. + /// The language code specified in the [original + /// request]\[QueryInput.language_code\]. #[prost(string, tag="15")] pub language_code: ::prost::alloc::string::String, - /// Always present. Information about the fulfillment that triggered this - /// webhook call. + /// Always present. Information about the fulfillment that triggered this + /// webhook call. #[prost(message, optional, tag="6")] pub fulfillment_info: ::core::option::Option, - /// Information about the last matched intent. + /// Information about the last matched intent. #[prost(message, optional, tag="3")] pub intent_info: ::core::option::Option, - /// Information about page status. + /// Information about page status. #[prost(message, optional, tag="4")] pub page_info: ::core::option::Option, - /// Information about session status. + /// Information about session status. #[prost(message, optional, tag="5")] pub session_info: ::core::option::Option, - /// The list of rich message responses to present to the user. Webhook can - /// choose to append or replace this list in - /// \[WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response\]; + /// The list of rich message responses to present to the user. Webhook can + /// choose to append or replace this list in + /// \[WebhookResponse.fulfillment_response][google.cloud.dialogflow.cx.v3.WebhookResponse.fulfillment_response\]; #[prost(message, repeated, tag="7")] pub messages: ::prost::alloc::vec::Vec, - /// Custom data set in \[QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload\]. + /// Custom data set in \[QueryParameters.payload][google.cloud.dialogflow.cx.v3.QueryParameters.payload\]. #[prost(message, optional, tag="8")] pub payload: ::core::option::Option<::prost_types::Struct>, - /// The sentiment analysis result of the current user request. The field is - /// filled when sentiment analysis is configured to be enabled for the request. + /// The sentiment analysis result of the current user request. The field is + /// filled when sentiment analysis is configured to be enabled for the request. #[prost(message, optional, tag="9")] pub sentiment_analysis_result: ::core::option::Option, - /// The original conversational query. + /// The original conversational query. #[prost(oneof="webhook_request::Query", tags="10, 11, 12, 14")] pub query: ::core::option::Option, } /// Nested message and enum types in `WebhookRequest`. pub mod webhook_request { - /// Represents fulfillment information communicated to the webhook. + /// Represents fulfillment information communicated to the webhook. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FulfillmentInfo { - /// Always present. - /// The value of the \[Fulfillment.tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag\] field will be populated in this - /// field by Dialogflow when the associated webhook is called. - /// The tag is typically used by the webhook service to identify which - /// fulfillment is being called, but it could be used for other purposes. + /// Always present. + /// The value of the \[Fulfillment.tag][google.cloud.dialogflow.cx.v3.Fulfillment.tag\] field will be populated in this + /// field by Dialogflow when the associated webhook is called. + /// The tag is typically used by the webhook service to identify which + /// fulfillment is being called, but it could be used for other purposes. #[prost(string, tag="1")] pub tag: ::prost::alloc::string::String, } - /// Represents intent information communicated to the webhook. + /// Represents intent information communicated to the webhook. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentInfo { - /// Always present. The unique identifier of the last matched - /// \[intent][google.cloud.dialogflow.cx.v3.Intent\]. - /// Format: `projects//locations//agents//intents/`. + /// Always present. The unique identifier of the last matched + /// \[intent][google.cloud.dialogflow.cx.v3.Intent\]. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="1")] pub last_matched_intent: ::prost::alloc::string::String, - /// Always present. The display name of the last matched \[intent][google.cloud.dialogflow.cx.v3.Intent\]. + /// Always present. The display name of the last matched \[intent][google.cloud.dialogflow.cx.v3.Intent\]. #[prost(string, tag="3")] pub display_name: ::prost::alloc::string::String, - /// Parameters identified as a result of intent matching. This is a map of - /// the name of the identified parameter to the value of the parameter - /// identified from the user's utterance. All parameters defined in the - /// matched intent that are identified will be surfaced here. + /// Parameters identified as a result of intent matching. This is a map of + /// the name of the identified parameter to the value of the parameter + /// identified from the user's utterance. All parameters defined in the + /// matched intent that are identified will be surfaced here. #[prost(map="string, message", tag="2")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, intent_info::IntentParameterValue>, - /// The confidence of the matched intent. Values range from 0.0 (completely - /// uncertain) to 1.0 (completely certain). + /// The confidence of the matched intent. Values range from 0.0 (completely + /// uncertain) to 1.0 (completely certain). #[prost(float, tag="4")] pub confidence: f32, } /// Nested message and enum types in `IntentInfo`. pub mod intent_info { - /// Represents a value for an intent parameter. + /// Represents a value for an intent parameter. #[derive(Clone, PartialEq, ::prost::Message)] pub struct IntentParameterValue { - /// Always present. Original text value extracted from user utterance. + /// Always present. Original text value extracted from user utterance. #[prost(string, tag="1")] pub original_value: ::prost::alloc::string::String, - /// Always present. Structured value for the parameter extracted from user - /// utterance. + /// Always present. Structured value for the parameter extracted from user + /// utterance. #[prost(message, optional, tag="2")] pub resolved_value: ::core::option::Option<::prost_types::Value>, } } - /// Represents the result of sentiment analysis. + /// Represents the result of sentiment analysis. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SentimentAnalysisResult { - /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive - /// sentiment). + /// Sentiment score between -1.0 (negative sentiment) and 1.0 (positive + /// sentiment). #[prost(float, tag="1")] pub score: f32, - /// A non-negative number in the [0, +inf) range, which represents the - /// absolute magnitude of sentiment, regardless of score (positive or - /// negative). + /// A non-negative number in the [0, +inf) range, which represents the + /// absolute magnitude of sentiment, regardless of score (positive or + /// negative). #[prost(float, tag="2")] pub magnitude: f32, } - /// The original conversational query. + /// The original conversational query. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Query { - /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field - /// will contain a copy of the text. + /// If [natural language text]\[google.cloud.dialogflow.cx.v3.TextInput\] was provided as input, this field + /// will contain a copy of the text. #[prost(string, tag="10")] Text(::prost::alloc::string::String), - /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will - /// contain a copy of the intent identifier. - /// Format: `projects//locations//agents//intents/`. + /// If an \[intent][google.cloud.dialogflow.cx.v3.IntentInput\] was provided as input, this field will + /// contain a copy of the intent identifier. + /// Format: `projects//locations//agents//intents/`. #[prost(string, tag="11")] TriggerIntent(::prost::alloc::string::String), - /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, - /// this field will contain the transcript for the audio. + /// If [natural language speech audio]\[google.cloud.dialogflow.cx.v3.AudioInput\] was provided as input, + /// this field will contain the transcript for the audio. #[prost(string, tag="12")] Transcript(::prost::alloc::string::String), - /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will contain - /// the name of the event. + /// If an \[event][google.cloud.dialogflow.cx.v3.EventInput\] was provided as input, this field will contain + /// the name of the event. #[prost(string, tag="14")] TriggerEvent(::prost::alloc::string::String), } } -/// The response message for a webhook call. +/// The response message for a webhook call. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookResponse { - /// The fulfillment response to send to the user. This field can be omitted by - /// the webhook if it does not intend to send any response to the user. + /// The fulfillment response to send to the user. This field can be omitted by + /// the webhook if it does not intend to send any response to the user. #[prost(message, optional, tag="1")] pub fulfillment_response: ::core::option::Option, - /// Information about page status. This field can be omitted by the webhook if - /// it does not intend to modify page status. + /// Information about page status. This field can be omitted by the webhook if + /// it does not intend to modify page status. #[prost(message, optional, tag="2")] pub page_info: ::core::option::Option, - /// Information about session status. This field can be omitted by the webhook - /// if it does not intend to modify session status. + /// Information about session status. This field can be omitted by the webhook + /// if it does not intend to modify session status. #[prost(message, optional, tag="3")] pub session_info: ::core::option::Option, - /// Value to append directly to \[QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads\]. + /// Value to append directly to \[QueryResult.webhook_payloads][google.cloud.dialogflow.cx.v3.QueryResult.webhook_payloads\]. #[prost(message, optional, tag="4")] pub payload: ::core::option::Option<::prost_types::Struct>, - /// The target to transition to. This can be set optionally to indicate an - /// immediate transition to a different page in the same host flow, or a - /// different flow in the same agent. + /// The target to transition to. This can be set optionally to indicate an + /// immediate transition to a different page in the same host flow, or a + /// different flow in the same agent. #[prost(oneof="webhook_response::Transition", tags="5, 6")] pub transition: ::core::option::Option, } /// Nested message and enum types in `WebhookResponse`. pub mod webhook_response { - /// Represents a fulfillment response to the user. + /// Represents a fulfillment response to the user. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FulfillmentResponse { - /// The list of rich message responses to present to the user. + /// The list of rich message responses to present to the user. #[prost(message, repeated, tag="1")] pub messages: ::prost::alloc::vec::Vec, - /// Merge behavior for `messages`. + /// Merge behavior for `messages`. #[prost(enumeration="fulfillment_response::MergeBehavior", tag="2")] pub merge_behavior: i32, } /// Nested message and enum types in `FulfillmentResponse`. pub mod fulfillment_response { - /// Defines merge behavior for `messages`. + /// Defines merge behavior for `messages`. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MergeBehavior { - /// Not specified. `APPEND` will be used. + /// Not specified. `APPEND` will be used. Unspecified = 0, - /// `messages` will be appended to the list of messages waiting to be sent - /// to the user. + /// `messages` will be appended to the list of messages waiting to be sent + /// to the user. Append = 1, - /// `messages` will replace the list of messages waiting to be sent to the - /// user. + /// `messages` will replace the list of messages waiting to be sent to the + /// user. Replace = 2, } impl MergeBehavior { @@ -7438,102 +7438,102 @@ pub mod webhook_response { } } } - /// The target to transition to. This can be set optionally to indicate an - /// immediate transition to a different page in the same host flow, or a - /// different flow in the same agent. + /// The target to transition to. This can be set optionally to indicate an + /// immediate transition to a different page in the same host flow, or a + /// different flow in the same agent. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Transition { - /// The target page to transition to. - /// Format: `projects//locations//agents//flows//pages/`. + /// The target page to transition to. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="5")] TargetPage(::prost::alloc::string::String), - /// The target flow to transition to. - /// Format: `projects//locations//agents//flows/`. + /// The target flow to transition to. + /// Format: `projects//locations//agents//flows/`. #[prost(string, tag="6")] TargetFlow(::prost::alloc::string::String), } } -/// Represents page information communicated to and from the webhook. +/// Represents page information communicated to and from the webhook. #[derive(Clone, PartialEq, ::prost::Message)] pub struct PageInfo { - /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The unique identifier of the current page. - /// Format: `projects//locations//agents//flows//pages/`. + /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The unique identifier of the current page. + /// Format: `projects//locations//agents//flows//pages/`. #[prost(string, tag="1")] pub current_page: ::prost::alloc::string::String, - /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The display name of the current page. + /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The display name of the current page. #[prost(string, tag="4")] pub display_name: ::prost::alloc::string::String, - /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// Information about the form. + /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// Information about the form. #[prost(message, optional, tag="3")] pub form_info: ::core::option::Option, } /// Nested message and enum types in `PageInfo`. pub mod page_info { - /// Represents form information. + /// Represents form information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct FormInfo { - /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The parameters contained in the form. Note that the webhook cannot add - /// or remove any form parameter. + /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The parameters contained in the form. Note that the webhook cannot add + /// or remove any form parameter. #[prost(message, repeated, tag="2")] pub parameter_info: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `FormInfo`. pub mod form_info { - /// Represents parameter information. + /// Represents parameter information. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ParameterInfo { - /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Required for - /// \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The human-readable name of the parameter, unique within the form. This - /// field cannot be modified by the webhook. + /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Required for + /// \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The human-readable name of the parameter, unique within the form. This + /// field cannot be modified by the webhook. #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// Indicates whether the parameter is required. Optional parameters will - /// not trigger prompts; however, they are filled if the user specifies - /// them. Required parameters must be filled before form filling concludes. + /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// Indicates whether the parameter is required. Optional parameters will + /// not trigger prompts; however, they are filled if the user specifies + /// them. Required parameters must be filled before form filling concludes. #[prost(bool, tag="2")] pub required: bool, - /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Required for - /// \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. The state of the parameter. This field can be set - /// to \[INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID\] by - /// the webhook to invalidate the parameter; other values set by the - /// webhook will be ignored. + /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Required for + /// \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. The state of the parameter. This field can be set + /// to \[INVALID][google.cloud.dialogflow.cx.v3.PageInfo.FormInfo.ParameterInfo.ParameterState.INVALID\] by + /// the webhook to invalidate the parameter; other values set by the + /// webhook will be ignored. #[prost(enumeration="parameter_info::ParameterState", tag="3")] pub state: i32, - /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The value of the parameter. This field can be set by the webhook to - /// change the parameter value. + /// Optional for both \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\] and \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The value of the parameter. This field can be set by the webhook to + /// change the parameter value. #[prost(message, optional, tag="4")] pub value: ::core::option::Option<::prost_types::Value>, - /// Optional for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// Indicates if the parameter value was just collected on the last - /// conversation turn. + /// Optional for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// Indicates if the parameter value was just collected on the last + /// conversation turn. #[prost(bool, tag="5")] pub just_collected: bool, } /// Nested message and enum types in `ParameterInfo`. pub mod parameter_info { - /// Represents the state of a parameter. + /// Represents the state of a parameter. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum ParameterState { - /// Not specified. This value should be never used. + /// Not specified. This value should be never used. Unspecified = 0, - /// Indicates that the parameter does not have a value. + /// Indicates that the parameter does not have a value. Empty = 1, - /// Indicates that the parameter value is invalid. This field can be used - /// by the webhook to invalidate the parameter and ask the server to - /// collect it from the user again. + /// Indicates that the parameter value is invalid. This field can be used + /// by the webhook to invalidate the parameter and ask the server to + /// collect it from the user again. Invalid = 2, - /// Indicates that the parameter has a value. + /// Indicates that the parameter has a value. Filled = 3, } impl ParameterState { @@ -7553,24 +7553,24 @@ pub mod page_info { } } } -/// Represents session information communicated to and from the webhook. +/// Represents session information communicated to and from the webhook. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SessionInfo { - /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// The unique identifier of the \[session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session\]. This - /// field can be used by the webhook to identify a session. - /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/` - /// if environment is specified. + /// Always present for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Ignored for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// The unique identifier of the \[session][google.cloud.dialogflow.cx.v3.DetectIntentRequest.session\]. This + /// field can be used by the webhook to identify a session. + /// Format: `projects//locations//agents//sessions/` or `projects//locations//agents//environments//sessions/` + /// if environment is specified. #[prost(string, tag="1")] pub session: ::prost::alloc::string::String, - /// Optional for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Optional for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. - /// All parameters collected from forms and intents during the session. - /// Parameters can be created, updated, or removed by the webhook. To remove a - /// parameter from the session, the webhook should explicitly set the parameter - /// value to null in \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. The map is keyed by parameters' - /// display names. + /// Optional for \[WebhookRequest][google.cloud.dialogflow.cx.v3.WebhookRequest\]. Optional for \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. + /// All parameters collected from forms and intents during the session. + /// Parameters can be created, updated, or removed by the webhook. To remove a + /// parameter from the session, the webhook should explicitly set the parameter + /// value to null in \[WebhookResponse][google.cloud.dialogflow.cx.v3.WebhookResponse\]. The map is keyed by parameters' + /// display names. #[prost(map="string, message", tag="2")] pub parameters: ::std::collections::HashMap<::prost::alloc::string::String, ::prost_types::Value>, } @@ -7746,210 +7746,210 @@ pub mod webhooks_client { } } } -/// Represents an environment for an agent. You can create multiple versions -/// of your agent and publish them to separate environments. When you edit an -/// agent, you are editing the draft agent. At any point, you can save the draft -/// agent as an agent version, which is an immutable snapshot of your agent. When -/// you save the draft agent, it is published to the default environment. When -/// you create agent versions, you can publish them to custom environments. You -/// can create a variety of custom environments for testing, development, -/// production, etc. +/// Represents an environment for an agent. You can create multiple versions +/// of your agent and publish them to separate environments. When you edit an +/// agent, you are editing the draft agent. At any point, you can save the draft +/// agent as an agent version, which is an immutable snapshot of your agent. When +/// you save the draft agent, it is published to the default environment. When +/// you create agent versions, you can publish them to custom environments. You +/// can create a variety of custom environments for testing, development, +/// production, etc. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Environment { - /// The name of the environment. - /// Format: `projects//locations//agents//environments/`. + /// The name of the environment. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the environment (unique in an agent). Limit of - /// 64 characters. + /// Required. The human-readable name of the environment (unique in an agent). Limit of + /// 64 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The human-readable description of the environment. The maximum length is - /// 500 characters. If exceeded, the request is rejected. + /// The human-readable description of the environment. The maximum length is + /// 500 characters. If exceeded, the request is rejected. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// Required. A list of configurations for flow versions. You should include version - /// configs for all flows that are reachable from [`Start - /// Flow`]\[Agent.start_flow\] in the agent. Otherwise, an error will be - /// returned. + /// Required. A list of configurations for flow versions. You should include version + /// configs for all flows that are reachable from [`Start + /// Flow`]\[Agent.start_flow\] in the agent. Otherwise, an error will be + /// returned. #[prost(message, repeated, tag="6")] pub version_configs: ::prost::alloc::vec::Vec, - /// Output only. Update time of this environment. + /// Output only. Update time of this environment. #[prost(message, optional, tag="5")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The test cases config for continuous tests of this environment. + /// The test cases config for continuous tests of this environment. #[prost(message, optional, tag="7")] pub test_cases_config: ::core::option::Option, - /// The webhook configuration for this environment. + /// The webhook configuration for this environment. #[prost(message, optional, tag="10")] pub webhook_config: ::core::option::Option, } /// Nested message and enum types in `Environment`. pub mod environment { - /// Configuration for the version. + /// Configuration for the version. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VersionConfig { - /// Required. Format: projects//locations//agents//flows//versions/. + /// Required. Format: projects//locations//agents//flows//versions/. #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, } - /// The configuration for continuous tests. + /// The configuration for continuous tests. #[derive(Clone, PartialEq, ::prost::Message)] pub struct TestCasesConfig { - /// A list of test case names to run. They should be under the same agent. - /// Format of each test case name: `projects//locations/ - /// /agents//testCases/` + /// A list of test case names to run. They should be under the same agent. + /// Format of each test case name: `projects//locations/ + /// /agents//testCases/` #[prost(string, repeated, tag="1")] pub test_cases: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Whether to run test cases in \[TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases\] periodically. - /// Default false. If set to true, run once a day. + /// Whether to run test cases in \[TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases\] periodically. + /// Default false. If set to true, run once a day. #[prost(bool, tag="2")] pub enable_continuous_run: bool, - /// Whether to run test cases in \[TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases\] before - /// deploying a flow version to the environment. Default false. + /// Whether to run test cases in \[TestCasesConfig.test_cases][google.cloud.dialogflow.cx.v3.Environment.TestCasesConfig.test_cases\] before + /// deploying a flow version to the environment. Default false. #[prost(bool, tag="3")] pub enable_predeployment_run: bool, } - /// Configuration for webhooks. + /// Configuration for webhooks. #[derive(Clone, PartialEq, ::prost::Message)] pub struct WebhookConfig { - /// The list of webhooks to override for the agent environment. The webhook - /// must exist in the agent. You can override fields in - /// \[`generic_web_service`][google.cloud.dialogflow.cx.v3.Webhook.generic_web_service\] and - /// \[`service_directory`][google.cloud.dialogflow.cx.v3.Webhook.service_directory\]. + /// The list of webhooks to override for the agent environment. The webhook + /// must exist in the agent. You can override fields in + /// \[`generic_web_service`][google.cloud.dialogflow.cx.v3.Webhook.generic_web_service\] and + /// \[`service_directory`][google.cloud.dialogflow.cx.v3.Webhook.service_directory\]. #[prost(message, repeated, tag="1")] pub webhook_overrides: ::prost::alloc::vec::Vec, } } -/// The request message for \[Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments\]. +/// The request message for \[Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEnvironmentsRequest { - /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to list all environments for. - /// Format: `projects//locations//agents/`. + /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to list all environments for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 20 and - /// at most 100. + /// The maximum number of items to return in a single page. By default 20 and + /// at most 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments\]. +/// The response message for \[Environments.ListEnvironments][google.cloud.dialogflow.cx.v3.Environments.ListEnvironments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListEnvironmentsResponse { - /// The list of environments. There will be a maximum number of items - /// returned based on the page_size field in the request. The list may in some - /// cases be empty or contain fewer entries than page_size even if this isn't - /// the last page. + /// The list of environments. There will be a maximum number of items + /// returned based on the page_size field in the request. The list may in some + /// cases be empty or contain fewer entries than page_size even if this isn't + /// the last page. #[prost(message, repeated, tag="1")] pub environments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Environments.GetEnvironment][google.cloud.dialogflow.cx.v3.Environments.GetEnvironment\]. +/// The request message for \[Environments.GetEnvironment][google.cloud.dialogflow.cx.v3.Environments.GetEnvironment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetEnvironmentRequest { - /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\]. - /// Format: `projects//locations//agents//environments/`. + /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\]. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment\]. +/// The request message for \[Environments.CreateEnvironment][google.cloud.dialogflow.cx.v3.Environments.CreateEnvironment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateEnvironmentRequest { - /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to create an \[Environment][google.cloud.dialogflow.cx.v3.Environment\] for. - /// Format: `projects//locations//agents/`. + /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to create an \[Environment][google.cloud.dialogflow.cx.v3.Environment\] for. + /// Format: `projects//locations//agents/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The environment to create. + /// Required. The environment to create. #[prost(message, optional, tag="2")] pub environment: ::core::option::Option, } -/// The request message for \[Environments.UpdateEnvironment][google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment\]. +/// The request message for \[Environments.UpdateEnvironment][google.cloud.dialogflow.cx.v3.Environments.UpdateEnvironment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateEnvironmentRequest { - /// Required. The environment to update. + /// Required. The environment to update. #[prost(message, optional, tag="1")] pub environment: ::core::option::Option, - /// Required. The mask to control which fields get updated. + /// Required. The mask to control which fields get updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment\]. +/// The request message for \[Environments.DeleteEnvironment][google.cloud.dialogflow.cx.v3.Environments.DeleteEnvironment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteEnvironmentRequest { - /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to delete. - /// Format: `projects//locations//agents//environments/`. + /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to delete. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory\]. +/// The request message for \[Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupEnvironmentHistoryRequest { - /// Required. Resource name of the environment to look up the history for. - /// Format: `projects//locations//agents//environments/`. + /// Required. Resource name of the environment to look up the history for. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory\]. +/// The response message for \[Environments.LookupEnvironmentHistory][google.cloud.dialogflow.cx.v3.Environments.LookupEnvironmentHistory\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct LookupEnvironmentHistoryResponse { - /// Represents a list of snapshots for an environment. Time of the snapshots is - /// stored in \[`update_time`][google.cloud.dialogflow.cx.v3.Environment.update_time\]. + /// Represents a list of snapshots for an environment. Time of the snapshots is + /// stored in \[`update_time`][google.cloud.dialogflow.cx.v3.Environment.update_time\]. #[prost(message, repeated, tag="1")] pub environments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// Represents a result from running a test case in an agent environment. +/// Represents a result from running a test case in an agent environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ContinuousTestResult { - /// The resource name for the continuous test result. Format: - /// `projects//locations//agents//environments//continuousTestResults/`. + /// The resource name for the continuous test result. Format: + /// `projects//locations//agents//environments//continuousTestResults/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// The result of this continuous test run, i.e. whether all the tests in this - /// continuous test run pass or not. + /// The result of this continuous test run, i.e. whether all the tests in this + /// continuous test run pass or not. #[prost(enumeration="continuous_test_result::AggregatedTestResult", tag="2")] pub result: i32, - /// A list of individual test case results names in this continuous test run. + /// A list of individual test case results names in this continuous test run. #[prost(string, repeated, tag="3")] pub test_case_results: ::prost::alloc::vec::Vec<::prost::alloc::string::String>, - /// Time when the continuous testing run starts. + /// Time when the continuous testing run starts. #[prost(message, optional, tag="4")] pub run_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `ContinuousTestResult`. pub mod continuous_test_result { - /// The overall result for a continuous test run in an agent environment. + /// The overall result for a continuous test run in an agent environment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum AggregatedTestResult { - /// Not specified. Should never be used. + /// Not specified. Should never be used. Unspecified = 0, - /// All the tests passed. + /// All the tests passed. Passed = 1, - /// At least one test did not pass. + /// At least one test did not pass. Failed = 2, } impl AggregatedTestResult { @@ -7966,87 +7966,87 @@ pub mod continuous_test_result { } } } -/// The request message for \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\]. +/// The request message for \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunContinuousTestRequest { - /// Required. Format: `projects//locations//agents//environments/`. + /// Required. Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub environment: ::prost::alloc::string::String, } -/// The response message for \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\]. +/// The response message for \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunContinuousTestResponse { - /// The result for a continuous test run. + /// The result for a continuous test run. #[prost(message, optional, tag="1")] pub continuous_test_result: ::core::option::Option, } -/// Metadata returned for the \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\] long running -/// operation. +/// Metadata returned for the \[Environments.RunContinuousTest][google.cloud.dialogflow.cx.v3.Environments.RunContinuousTest\] long running +/// operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RunContinuousTestMetadata { - /// The test errors. + /// The test errors. #[prost(message, repeated, tag="1")] pub errors: ::prost::alloc::vec::Vec, } -/// The request message for \[Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults\]. +/// The request message for \[Environments.ListContinuousTestResults][google.cloud.dialogflow.cx.v3.Environments.ListContinuousTestResults\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContinuousTestResultsRequest { - /// Required. The environment to list results for. - /// Format: `projects//locations//agents// - /// environments/`. + /// Required. The environment to list results for. + /// Format: `projects//locations//agents// + /// environments/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 100 and - /// at most 1000. + /// The maximum number of items to return in a single page. By default 100 and + /// at most 1000. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Environments.ListTestCaseResults][\]. +/// The response message for \[Environments.ListTestCaseResults][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListContinuousTestResultsResponse { - /// The list of continuous test results. + /// The list of continuous test results. #[prost(message, repeated, tag="1")] pub continuous_test_results: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\]. +/// The request message for \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployFlowRequest { - /// Required. The environment to deploy the flow to. - /// Format: `projects//locations//agents// - /// environments/`. + /// Required. The environment to deploy the flow to. + /// Format: `projects//locations//agents// + /// environments/`. #[prost(string, tag="1")] pub environment: ::prost::alloc::string::String, - /// Required. The flow version to deploy. - /// Format: `projects//locations//agents// - /// flows//versions/`. + /// Required. The flow version to deploy. + /// Format: `projects//locations//agents// + /// flows//versions/`. #[prost(string, tag="2")] pub flow_version: ::prost::alloc::string::String, } -/// The response message for \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\]. +/// The response message for \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployFlowResponse { - /// The updated environment where the flow is deployed. + /// The updated environment where the flow is deployed. #[prost(message, optional, tag="1")] pub environment: ::core::option::Option, - /// The name of the flow version \[Deployment][google.cloud.dialogflow.cx.v3.Deployment\]. - /// Format: `projects//locations//agents// - /// environments//deployments/`. + /// The name of the flow version \[Deployment][google.cloud.dialogflow.cx.v3.Deployment\]. + /// Format: `projects//locations//agents// + /// environments//deployments/`. #[prost(string, tag="2")] pub deployment: ::prost::alloc::string::String, } -/// Metadata returned for the \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\] long running -/// operation. +/// Metadata returned for the \[Environments.DeployFlow][google.cloud.dialogflow.cx.v3.Environments.DeployFlow\] long running +/// operation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeployFlowMetadata { - /// Errors of running deployment tests. + /// Errors of running deployment tests. #[prost(message, repeated, tag="1")] pub test_errors: ::prost::alloc::vec::Vec, } @@ -8350,192 +8350,192 @@ pub mod environments_client { } } } -/// Represents an experiment in an environment. +/// Represents an experiment in an environment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Experiment { - /// The name of the experiment. - /// Format: projects//locations//agents//environments//experiments/.. + /// The name of the experiment. + /// Format: projects//locations//agents//environments//experiments/.. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the experiment (unique in an environment). Limit - /// of 64 characters. + /// Required. The human-readable name of the experiment (unique in an environment). Limit + /// of 64 characters. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// The human-readable description of the experiment. + /// The human-readable description of the experiment. #[prost(string, tag="3")] pub description: ::prost::alloc::string::String, - /// The current state of the experiment. - /// Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. - /// Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or - /// RUNNING->DONE. + /// The current state of the experiment. + /// Transition triggered by Experiments.StartExperiment: DRAFT->RUNNING. + /// Transition triggered by Experiments.CancelExperiment: DRAFT->DONE or + /// RUNNING->DONE. #[prost(enumeration="experiment::State", tag="4")] pub state: i32, - /// The definition of the experiment. + /// The definition of the experiment. #[prost(message, optional, tag="5")] pub definition: ::core::option::Option, - /// The configuration for auto rollout. If set, there should be exactly two - /// variants in the experiment (control variant being the default version of - /// the flow), the traffic allocation for the non-control variant will - /// gradually increase to 100% when conditions are met, and eventually - /// replace the control variant to become the default version of the flow. + /// The configuration for auto rollout. If set, there should be exactly two + /// variants in the experiment (control variant being the default version of + /// the flow), the traffic allocation for the non-control variant will + /// gradually increase to 100% when conditions are met, and eventually + /// replace the control variant to become the default version of the flow. #[prost(message, optional, tag="14")] pub rollout_config: ::core::option::Option, - /// State of the auto rollout process. + /// State of the auto rollout process. #[prost(message, optional, tag="15")] pub rollout_state: ::core::option::Option, - /// The reason why rollout has failed. Should only be set when state is - /// ROLLOUT_FAILED. + /// The reason why rollout has failed. Should only be set when state is + /// ROLLOUT_FAILED. #[prost(string, tag="16")] pub rollout_failure_reason: ::prost::alloc::string::String, - /// Inference result of the experiment. + /// Inference result of the experiment. #[prost(message, optional, tag="6")] pub result: ::core::option::Option, - /// Creation time of this experiment. + /// Creation time of this experiment. #[prost(message, optional, tag="7")] pub create_time: ::core::option::Option<::prost_types::Timestamp>, - /// Start time of this experiment. + /// Start time of this experiment. #[prost(message, optional, tag="8")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, - /// End time of this experiment. + /// End time of this experiment. #[prost(message, optional, tag="9")] pub end_time: ::core::option::Option<::prost_types::Timestamp>, - /// Last update time of this experiment. + /// Last update time of this experiment. #[prost(message, optional, tag="10")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, - /// Maximum number of days to run the experiment/rollout. If auto-rollout is - /// not enabled, default value and maximum will be 30 days. If auto-rollout is - /// enabled, default value and maximum will be 6 days. + /// Maximum number of days to run the experiment/rollout. If auto-rollout is + /// not enabled, default value and maximum will be 30 days. If auto-rollout is + /// enabled, default value and maximum will be 6 days. #[prost(message, optional, tag="11")] pub experiment_length: ::core::option::Option<::prost_types::Duration>, - /// The history of updates to the experiment variants. + /// The history of updates to the experiment variants. #[prost(message, repeated, tag="12")] pub variants_history: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `Experiment`. pub mod experiment { - /// Definition of the experiment. + /// Definition of the experiment. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Definition { - /// The condition defines which subset of sessions are selected for - /// this experiment. If not specified, all sessions are eligible. E.g. - /// "query_input.language_code=en" See the [conditions - /// reference](). + /// The condition defines which subset of sessions are selected for + /// this experiment. If not specified, all sessions are eligible. E.g. + /// "query_input.language_code=en" See the [conditions + /// reference](). #[prost(string, tag="1")] pub condition: ::prost::alloc::string::String, - /// The variants of the experiment. We currently only support single variant - /// experiment. + /// The variants of the experiment. We currently only support single variant + /// experiment. #[prost(oneof="definition::Variants", tags="2")] pub variants: ::core::option::Option, } /// Nested message and enum types in `Definition`. pub mod definition { - /// The variants of the experiment. We currently only support single variant - /// experiment. + /// The variants of the experiment. We currently only support single variant + /// experiment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Variants { - /// The flow versions as the variants of this experiment. + /// The flow versions as the variants of this experiment. #[prost(message, tag="2")] VersionVariants(super::super::VersionVariants), } } - /// The inference result which includes an objective metric to optimize and the - /// confidence interval. + /// The inference result which includes an objective metric to optimize and the + /// confidence interval. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Result { - /// Version variants and metrics. + /// Version variants and metrics. #[prost(message, repeated, tag="1")] pub version_metrics: ::prost::alloc::vec::Vec, - /// The last time the experiment's stats data was updated. Will have default - /// value if stats have never been computed for this experiment. + /// The last time the experiment's stats data was updated. Will have default + /// value if stats have never been computed for this experiment. #[prost(message, optional, tag="2")] pub last_update_time: ::core::option::Option<::prost_types::Timestamp>, } /// Nested message and enum types in `Result`. pub mod result { - /// A confidence interval is a range of possible values for the experiment - /// objective you are trying to measure. + /// A confidence interval is a range of possible values for the experiment + /// objective you are trying to measure. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ConfidenceInterval { - /// The confidence level used to construct the interval, i.e. there is X% - /// chance that the true value is within this interval. + /// The confidence level used to construct the interval, i.e. there is X% + /// chance that the true value is within this interval. #[prost(double, tag="1")] pub confidence_level: f64, - /// The percent change between an experiment metric's value and the value - /// for its control. + /// The percent change between an experiment metric's value and the value + /// for its control. #[prost(double, tag="2")] pub ratio: f64, - /// Lower bound of the interval. + /// Lower bound of the interval. #[prost(double, tag="3")] pub lower_bound: f64, - /// Upper bound of the interval. + /// Upper bound of the interval. #[prost(double, tag="4")] pub upper_bound: f64, } - /// Metric and corresponding confidence intervals. + /// Metric and corresponding confidence intervals. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Metric { - /// Ratio-based metric type. Only one of type or count_type is specified in - /// each Metric. + /// Ratio-based metric type. Only one of type or count_type is specified in + /// each Metric. #[prost(enumeration="MetricType", tag="1")] pub r#type: i32, - /// Count-based metric type. Only one of type or count_type is specified in - /// each Metric. + /// Count-based metric type. Only one of type or count_type is specified in + /// each Metric. #[prost(enumeration="CountType", tag="5")] pub count_type: i32, - /// The probability that the treatment is better than all other treatments - /// in the experiment + /// The probability that the treatment is better than all other treatments + /// in the experiment #[prost(message, optional, tag="3")] pub confidence_interval: ::core::option::Option, - /// The actual value of the metric. + /// The actual value of the metric. #[prost(oneof="metric::Value", tags="2, 4")] pub value: ::core::option::Option, } /// Nested message and enum types in `Metric`. pub mod metric { - /// The actual value of the metric. + /// The actual value of the metric. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Value { - /// Ratio value of a metric. + /// Ratio value of a metric. #[prost(double, tag="2")] Ratio(f64), - /// Count value of a metric. + /// Count value of a metric. #[prost(double, tag="4")] Count(f64), } } - /// Version variant and associated metrics. + /// Version variant and associated metrics. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VersionMetrics { - /// The name of the flow \[Version][google.cloud.dialogflow.cx.v3.Version\]. - /// Format: `projects//locations//agents//flows//versions/`. + /// The name of the flow \[Version][google.cloud.dialogflow.cx.v3.Version\]. + /// Format: `projects//locations//agents//flows//versions/`. #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// The metrics and corresponding confidence intervals in the inference - /// result. + /// The metrics and corresponding confidence intervals in the inference + /// result. #[prost(message, repeated, tag="2")] pub metrics: ::prost::alloc::vec::Vec, - /// Number of sessions that were allocated to this version. + /// Number of sessions that were allocated to this version. #[prost(int32, tag="3")] pub session_count: i32, } - /// Types of ratio-based metric for Dialogflow experiment. + /// Types of ratio-based metric for Dialogflow experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum MetricType { - /// Metric unspecified. + /// Metric unspecified. MetricUnspecified = 0, - /// Percentage of contained sessions without user calling back in 24 hours. + /// Percentage of contained sessions without user calling back in 24 hours. ContainedSessionNoCallbackRate = 1, - /// Percentage of sessions that were handed to a human agent. + /// Percentage of sessions that were handed to a human agent. LiveAgentHandoffRate = 2, - /// Percentage of sessions with the same user calling back. + /// Percentage of sessions with the same user calling back. CallbackSessionRate = 3, - /// Percentage of sessions where user hung up. + /// Percentage of sessions where user hung up. AbandonedSessionRate = 4, - /// Percentage of sessions reached Dialogflow 'END_PAGE' or - /// 'END_SESSION'. + /// Percentage of sessions reached Dialogflow 'END_PAGE' or + /// 'END_SESSION'. SessionEndRate = 5, } impl MetricType { @@ -8554,17 +8554,17 @@ pub mod experiment { } } } - /// Types of count-based metric for Dialogflow experiment. + /// Types of count-based metric for Dialogflow experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum CountType { - /// Count type unspecified. + /// Count type unspecified. Unspecified = 0, - /// Total number of occurrences of a 'NO_MATCH'. + /// Total number of occurrences of a 'NO_MATCH'. TotalNoMatchCount = 1, - /// Total number of turn counts. + /// Total number of turn counts. TotalTurnCount = 2, - /// Average turn count in a session. + /// Average turn count in a session. AverageTurnCount = 3, } impl CountType { @@ -8582,19 +8582,19 @@ pub mod experiment { } } } - /// The state of the experiment. + /// The state of the experiment. #[derive(Clone, Copy, Debug, PartialEq, Eq, Hash, PartialOrd, Ord, ::prost::Enumeration)] #[repr(i32)] pub enum State { - /// State unspecified. + /// State unspecified. Unspecified = 0, - /// The experiment is created but not started yet. + /// The experiment is created but not started yet. Draft = 1, - /// The experiment is running. + /// The experiment is running. Running = 2, - /// The experiment is done. + /// The experiment is done. Done = 3, - /// The experiment with auto-rollout enabled has failed. + /// The experiment with auto-rollout enabled has failed. RolloutFailed = 4, } impl State { @@ -8613,192 +8613,192 @@ pub mod experiment { } } } -/// A list of flow version variants. +/// A list of flow version variants. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VersionVariants { - /// A list of flow version variants. + /// A list of flow version variants. #[prost(message, repeated, tag="1")] pub variants: ::prost::alloc::vec::Vec, } /// Nested message and enum types in `VersionVariants`. pub mod version_variants { - /// A single flow version with specified traffic allocation. + /// A single flow version with specified traffic allocation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct Variant { - /// The name of the flow version. - /// Format: `projects//locations//agents//flows//versions/`. + /// The name of the flow version. + /// Format: `projects//locations//agents//flows//versions/`. #[prost(string, tag="1")] pub version: ::prost::alloc::string::String, - /// Percentage of the traffic which should be routed to this - /// version of flow. Traffic allocation for a single flow must sum up to 1.0. + /// Percentage of the traffic which should be routed to this + /// version of flow. Traffic allocation for a single flow must sum up to 1.0. #[prost(float, tag="2")] pub traffic_allocation: f32, - /// Whether the variant is for the control group. + /// Whether the variant is for the control group. #[prost(bool, tag="3")] pub is_control_group: bool, } } -/// The history of variants update. +/// The history of variants update. #[derive(Clone, PartialEq, ::prost::Message)] pub struct VariantsHistory { - /// Update time of the variants. + /// Update time of the variants. #[prost(message, optional, tag="2")] pub update_time: ::core::option::Option<::prost_types::Timestamp>, - /// The variants updated. We currently only support single variant - /// experiment. + /// The variants updated. We currently only support single variant + /// experiment. #[prost(oneof="variants_history::Variants", tags="1")] pub variants: ::core::option::Option, } /// Nested message and enum types in `VariantsHistory`. pub mod variants_history { - /// The variants updated. We currently only support single variant - /// experiment. + /// The variants updated. We currently only support single variant + /// experiment. #[derive(Clone, PartialEq, ::prost::Oneof)] pub enum Variants { - /// The flow versions as the variants. + /// The flow versions as the variants. #[prost(message, tag="1")] VersionVariants(super::VersionVariants), } } -/// The configuration for auto rollout. +/// The configuration for auto rollout. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RolloutConfig { - /// Steps to roll out a flow version. Steps should be sorted by percentage in - /// ascending order. + /// Steps to roll out a flow version. Steps should be sorted by percentage in + /// ascending order. #[prost(message, repeated, tag="1")] pub rollout_steps: ::prost::alloc::vec::Vec, - /// The conditions that are used to evaluate the success of a rollout - /// step. If not specified, all rollout steps will proceed to the next one - /// unless failure conditions are met. E.g. "containment_rate > 60% AND - /// callback_rate < 20%". See the [conditions - /// reference](). + /// The conditions that are used to evaluate the success of a rollout + /// step. If not specified, all rollout steps will proceed to the next one + /// unless failure conditions are met. E.g. "containment_rate > 60% AND + /// callback_rate < 20%". See the [conditions + /// reference](). #[prost(string, tag="2")] pub rollout_condition: ::prost::alloc::string::String, - /// The conditions that are used to evaluate the failure of a rollout - /// step. If not specified, no rollout steps will fail. E.g. "containment_rate - /// < 10% OR average_turn_count < 3". See the [conditions - /// reference](). + /// The conditions that are used to evaluate the failure of a rollout + /// step. If not specified, no rollout steps will fail. E.g. "containment_rate + /// < 10% OR average_turn_count < 3". See the [conditions + /// reference](). #[prost(string, tag="3")] pub failure_condition: ::prost::alloc::string::String, } /// Nested message and enum types in `RolloutConfig`. pub mod rollout_config { - /// A single rollout step with specified traffic allocation. + /// A single rollout step with specified traffic allocation. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RolloutStep { - /// The name of the rollout step; + /// The name of the rollout step; #[prost(string, tag="1")] pub display_name: ::prost::alloc::string::String, - /// The percentage of traffic allocated to the flow version of this rollout - /// step. (0%, 100%]. + /// The percentage of traffic allocated to the flow version of this rollout + /// step. (0%, 100%]. #[prost(int32, tag="2")] pub traffic_percent: i32, - /// The minimum time that this step should last. Should be longer than 1 - /// hour. If not set, the default minimum duration for each step will be 1 - /// hour. + /// The minimum time that this step should last. Should be longer than 1 + /// hour. If not set, the default minimum duration for each step will be 1 + /// hour. #[prost(message, optional, tag="3")] pub min_duration: ::core::option::Option<::prost_types::Duration>, } } -/// State of the auto-rollout process. +/// State of the auto-rollout process. #[derive(Clone, PartialEq, ::prost::Message)] pub struct RolloutState { - /// Display name of the current auto rollout step. + /// Display name of the current auto rollout step. #[prost(string, tag="1")] pub step: ::prost::alloc::string::String, - /// Index of the current step in the auto rollout steps list. + /// Index of the current step in the auto rollout steps list. #[prost(int32, tag="3")] pub step_index: i32, - /// Start time of the current step. + /// Start time of the current step. #[prost(message, optional, tag="2")] pub start_time: ::core::option::Option<::prost_types::Timestamp>, } -/// The request message for \[Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments\]. +/// The request message for \[Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentsRequest { - /// Required. The \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to list all environments for. - /// Format: `projects//locations//agents//environments/`. + /// Required. The \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to list all environments for. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 20 and - /// at most 100. + /// The maximum number of items to return in a single page. By default 20 and + /// at most 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments\]. +/// The response message for \[Experiments.ListExperiments][google.cloud.dialogflow.cx.v3.Experiments.ListExperiments\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListExperimentsResponse { - /// The list of experiments. There will be a maximum number of items - /// returned based on the page_size field in the request. The list may in some - /// cases be empty or contain fewer entries than page_size even if this isn't - /// the last page. + /// The list of experiments. There will be a maximum number of items + /// returned based on the page_size field in the request. The list may in some + /// cases be empty or contain fewer entries than page_size even if this isn't + /// the last page. #[prost(message, repeated, tag="1")] pub experiments: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[Experiments.GetExperiment][google.cloud.dialogflow.cx.v3.Experiments.GetExperiment\]. +/// The request message for \[Experiments.GetExperiment][google.cloud.dialogflow.cx.v3.Experiments.GetExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetExperimentRequest { - /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\]. - /// Format: `projects//locations//agents//environments//experiments/`. + /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\]. + /// Format: `projects//locations//agents//environments//experiments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment\]. +/// The request message for \[Experiments.CreateExperiment][google.cloud.dialogflow.cx.v3.Experiments.CreateExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateExperimentRequest { - /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to create an \[Environment][google.cloud.dialogflow.cx.v3.Environment\] for. - /// Format: `projects//locations//agents//environments/`. + /// Required. The \[Agent][google.cloud.dialogflow.cx.v3.Agent\] to create an \[Environment][google.cloud.dialogflow.cx.v3.Environment\] for. + /// Format: `projects//locations//agents//environments/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The experiment to create. + /// Required. The experiment to create. #[prost(message, optional, tag="2")] pub experiment: ::core::option::Option, } -/// The request message for \[Experiments.UpdateExperiment][google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment\]. +/// The request message for \[Experiments.UpdateExperiment][google.cloud.dialogflow.cx.v3.Experiments.UpdateExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateExperimentRequest { - /// Required. The experiment to update. + /// Required. The experiment to update. #[prost(message, optional, tag="1")] pub experiment: ::core::option::Option, - /// Required. The mask to control which fields get updated. + /// Required. The mask to control which fields get updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment\]. +/// The request message for \[Experiments.DeleteExperiment][google.cloud.dialogflow.cx.v3.Experiments.DeleteExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteExperimentRequest { - /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to delete. - /// Format: `projects//locations//agents//environments//experiments/`. + /// Required. The name of the \[Environment][google.cloud.dialogflow.cx.v3.Environment\] to delete. + /// Format: `projects//locations//agents//environments//experiments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Experiments.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment\]. +/// The request message for \[Experiments.StartExperiment][google.cloud.dialogflow.cx.v3.Experiments.StartExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StartExperimentRequest { - /// Required. Resource name of the experiment to start. - /// Format: `projects//locations//agents//environments//experiments/`. + /// Required. Resource name of the experiment to start. + /// Format: `projects//locations//agents//environments//experiments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[Experiments.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment\]. +/// The request message for \[Experiments.StopExperiment][google.cloud.dialogflow.cx.v3.Experiments.StopExperiment\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct StopExperimentRequest { - /// Required. Resource name of the experiment to stop. - /// Format: `projects//locations//agents//environments//experiments/`. + /// Required. Resource name of the experiment to stop. + /// Format: `projects//locations//agents//environments//experiments/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } @@ -9016,203 +9016,203 @@ pub mod experiments_client { } } } -/// The request message for \[SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings\]. +/// The request message for \[SecuritySettingsService.GetSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.GetSecuritySettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct GetSecuritySettingsRequest { - /// Required. Resource name of the settings. - /// Format: `projects//locations//securitySettings/`. + /// Required. Resource name of the settings. + /// Format: `projects//locations//securitySettings/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// The request message for \[SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings\]. +/// The request message for \[SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct UpdateSecuritySettingsRequest { - /// Required. \[SecuritySettings\] object that contains values for each of the - /// fields to update. + /// Required. \[SecuritySettings\] object that contains values for each of the + /// fields to update. #[prost(message, optional, tag="1")] pub security_settings: ::core::option::Option, - /// Required. The mask to control which fields get updated. If the mask is not present, - /// all fields will be updated. + /// Required. The mask to control which fields get updated. If the mask is not present, + /// all fields will be updated. #[prost(message, optional, tag="2")] pub update_mask: ::core::option::Option<::prost_types::FieldMask>, } -/// The request message for \[SecuritySettings.ListSecuritySettings][\]. +/// The request message for \[SecuritySettings.ListSecuritySettings][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSecuritySettingsRequest { - /// Required. The location to list all security settings for. - /// Format: `projects//locations/`. + /// Required. The location to list all security settings for. + /// Format: `projects//locations/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// The maximum number of items to return in a single page. By default 20 and - /// at most 100. + /// The maximum number of items to return in a single page. By default 20 and + /// at most 100. #[prost(int32, tag="2")] pub page_size: i32, - /// The next_page_token value returned from a previous list request. + /// The next_page_token value returned from a previous list request. #[prost(string, tag="3")] pub page_token: ::prost::alloc::string::String, } -/// The response message for \[SecuritySettings.ListSecuritySettings][\]. +/// The response message for \[SecuritySettings.ListSecuritySettings][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct ListSecuritySettingsResponse { - /// The list of security settings. + /// The list of security settings. #[prost(message, repeated, tag="1")] pub security_settings: ::prost::alloc::vec::Vec, - /// Token to retrieve the next page of results, or empty if there are no more - /// results in the list. + /// Token to retrieve the next page of results, or empty if there are no more + /// results in the list. #[prost(string, tag="2")] pub next_page_token: ::prost::alloc::string::String, } -/// The request message for \[SecuritySettings.CreateSecuritySettings][\]. +/// The request message for \[SecuritySettings.CreateSecuritySettings][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct CreateSecuritySettingsRequest { - /// Required. The location to create an \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] for. - /// Format: `projects//locations/`. + /// Required. The location to create an \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] for. + /// Format: `projects//locations/`. #[prost(string, tag="1")] pub parent: ::prost::alloc::string::String, - /// Required. The security settings to create. + /// Required. The security settings to create. #[prost(message, optional, tag="2")] pub security_settings: ::core::option::Option, } -/// The request message for \[SecuritySettings.DeleteSecuritySettings][\]. +/// The request message for \[SecuritySettings.DeleteSecuritySettings][\]. #[derive(Clone, PartialEq, ::prost::Message)] pub struct DeleteSecuritySettingsRequest { - /// Required. The name of the \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] to delete. - /// Format: `projects//locations//securitySettings/`. + /// Required. The name of the \[SecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettings\] to delete. + /// Format: `projects//locations//securitySettings/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, } -/// Represents the settings related to security issues, such as data redaction -/// and data retention. It may take hours for updates on the settings to -/// propagate to all the related components and take effect. +/// Represents the settings related to security issues, such as data redaction +/// and data retention. It may take hours for updates on the settings to +/// propagate to all the related components and take effect. #[derive(Clone, PartialEq, ::prost::Message)] pub struct SecuritySettings { - /// Resource name of the settings. - /// Required for the \[SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings\] method. - /// \[SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings\] populates the name - /// automatically. - /// Format: `projects//locations//securitySettings/`. + /// Resource name of the settings. + /// Required for the \[SecuritySettingsService.UpdateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.UpdateSecuritySettings\] method. + /// \[SecuritySettingsService.CreateSecuritySettings][google.cloud.dialogflow.cx.v3.SecuritySettingsService.CreateSecuritySettings\] populates the name + /// automatically. + /// Format: `projects//locations//securitySettings/`. #[prost(string, tag="1")] pub name: ::prost::alloc::string::String, - /// Required. The human-readable name of the security settings, unique within the - /// location. + /// Required. The human-readable name of the security settings, unique within the + /// location. #[prost(string, tag="2")] pub display_name: ::prost::alloc::string::String, - /// Strategy that defines how we do redaction. + /// Strategy that defines how we do redaction. #[prost(enumeration="security_settings::RedactionStrategy", tag="3")] pub redaction_strategy: i32, - /// Defines the data for which Dialogflow applies redaction. Dialogflow does - /// not redact data that it does not have access to – for example, Cloud - /// logging. + /// Defines the data for which Dialogflow applies redaction. Dialogflow does + /// not redact data that it does not have access to – for example, Cloud + /// logging. #[prost(enumeration="security_settings::RedactionScope", tag="4")] pub redaction_scope: i32, - /// \[DLP\]() inspect template name. Use this - /// template to define inspect base settings. + /// \[DLP\]() inspect template name. Use this + /// template to define inspect base settings. /// - /// The `DLP Inspect Templates Reader` role is needed on the Dialogflow - /// service identity service account (has the form - /// `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) - /// for your agent's project. + /// The `DLP Inspect Templates Reader` role is needed on the Dialogflow + /// service identity service account (has the form + /// `service-PROJECT_NUMBER@gcp-sa-dialogflow.iam.gserviceaccount.com`) + /// for your agent's project. /// - /// If empty, we use the default DLP inspect config. + /// If empty, we use the default DLP inspect config. /// - /// The template name will have one of the following formats: - /// `projects//locations//inspectTemplates/